nfets 0.0.94 → 0.0.96

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.cjs CHANGED
@@ -109,7 +109,7 @@ Minimum version required to store current data is: `+s+`.
109
109
  `}return u+=c+`
110
110
  `,typeof t=="function"&&t(null,u),u}});var roe=Q(toe=>{"use strict";var Q_e="\x1B[47m",$_e="\x1B[40m",y6="\x1B[37m",S6="\x1B[30m",cy="\x1B[0m",Z_e=Q_e+S6,e4e=$_e+y6,t4e=o(function(r,e,t){return{"00":cy+" "+r,"01":cy+e+"\u2584"+r,"02":cy+t+"\u2584"+r,10:cy+e+"\u2580"+r,11:" ",12:"\u2584",20:cy+t+"\u2580"+r,21:"\u2580",22:"\u2588"}},"createPalette"),Zae=o(function(r,e,t,n){let i=e+1;if(t>=i||n>=i||n<-1||t<-1)return"0";if(t>=e||n>=e||n<0||t<0)return"1";let s=n*e+t;return r[s]?"2":"1"},"mkCodePixel"),eoe=o(function(r,e,t,n){return Zae(r,e,t,n)+Zae(r,e,t,n+1)},"mkCode");toe.render=function(r,e,t){let n=r.modules.size,i=r.modules.data,s=!!(e&&e.inverse),a=e&&e.inverse?e4e:Z_e,l=t4e(a,s?S6:y6,s?y6:S6),p=cy+`
111
111
  `+a,h=a;for(let g=-1;g<n+1;g+=2){for(let y=-1;y<n;y++)h+=l[eoe(i,n,y,g)];h+=l[eoe(i,n,n,g)]+p}return h+=cy,typeof t=="function"&&t(null,h),h}});var ioe=Q(noe=>{"use strict";var r4e=$ae(),n4e=roe();noe.render=function(r,e,t){return e&&e.small?n4e.render(r,e,t):r4e.render(r,e,t)}});var x6=Q(aoe=>{"use strict";var i4e=AI();function soe(r,e){let t=r.a/255,n=e+'="'+r.hex+'"';return t<1?n+" "+e+'-opacity="'+t.toFixed(2).slice(1)+'"':n}o(soe,"getColorAttrib");function b6(r,e,t){let n=r+e;return typeof t<"u"&&(n+=" "+t),n}o(b6,"svgCmd");function s4e(r,e,t){let n="",i=0,s=!1,a=0;for(let u=0;u<r.length;u++){let c=Math.floor(u%e),l=Math.floor(u/e);!c&&!s&&(s=!0),r[u]?(a++,u>0&&c>0&&r[u-1]||(n+=s?b6("M",c+t,.5+l+t):b6("m",i,0),i=0,s=!1),c+1<e&&r[u+1]||(n+=b6("h",a),a=0)):i++}return n}o(s4e,"qrToPath");aoe.render=o(function(e,t,n){let i=i4e.getOptions(t),s=e.modules.size,a=e.modules.data,u=s+i.margin*2,c=i.color.light.a?"<path "+soe(i.color.light,"fill")+' d="M0 0h'+u+"v"+u+'H0z"/>':"",l="<path "+soe(i.color.dark,"stroke")+' d="'+s4e(a,s,i.margin)+'"/>',p='viewBox="0 0 '+u+" "+u+'"',g='<svg xmlns="http://www.w3.org/2000/svg" '+(i.width?'width="'+i.width+'" height="'+i.width+'" ':"")+p+' shape-rendering="crispEdges">'+c+l+`</svg>
112
- `;return typeof n=="function"&&n(null,g),g},"render")});var ooe=Q(a4=>{"use strict";var a4e=x6();a4.render=a4e.render;a4.renderToFile=o(function(e,t,n,i){typeof i>"u"&&(i=n,n=void 0);let s=require("fs"),u='<?xml version="1.0" encoding="utf-8"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">'+a4.render(t,n);s.writeFile(e,u,i)},"renderToFile")});var uoe=Q(o4=>{"use strict";var w6=AI();function o4e(r,e,t){r.clearRect(0,0,e.width,e.height),e.style||(e.style={}),e.height=t,e.width=t,e.style.height=t+"px",e.style.width=t+"px"}o(o4e,"clearCanvas");function u4e(){try{return document.createElement("canvas")}catch{throw new Error("You need to specify a canvas element")}}o(u4e,"getCanvasElement");o4.render=o(function(e,t,n){let i=n,s=t;typeof i>"u"&&(!t||!t.getContext)&&(i=t,t=void 0),t||(s=u4e()),i=w6.getOptions(i);let a=w6.getImageWidth(e.modules.size,i),u=s.getContext("2d"),c=u.createImageData(a,a);return w6.qrToImageData(c.data,e,i),o4e(u,s,a),u.putImageData(c,0,0),s},"render");o4.renderToDataURL=o(function(e,t,n){let i=n;typeof i>"u"&&(!t||!t.getContext)&&(i=t,t=void 0),i||(i={});let s=o4.render(e,t,i),a=i.type||"image/png",u=i.rendererOpts||{};return s.toDataURL(a,u.quality)},"renderToDataURL")});var loe=Q(NI=>{"use strict";var c4e=FU(),C6=t6(),coe=uoe(),l4e=x6();function E6(r,e,t,n,i){let s=[].slice.call(arguments,1),a=s.length,u=typeof s[a-1]=="function";if(!u&&!c4e())throw new Error("Callback required as last argument");if(u){if(a<2)throw new Error("Too few arguments provided");a===2?(i=t,t=e,e=n=void 0):a===3&&(e.getContext&&typeof i>"u"?(i=n,n=void 0):(i=n,n=t,t=e,e=void 0))}else{if(a<1)throw new Error("Too few arguments provided");return a===1?(t=e,e=n=void 0):a===2&&!e.getContext&&(n=t,t=e,e=void 0),new Promise(function(c,l){try{let p=C6.create(t,n);c(r(p,e,n))}catch(p){l(p)}})}try{let c=C6.create(t,n);i(null,r(c,e,n))}catch(c){i(c)}}o(E6,"renderCanvas");NI.create=C6.create;NI.toCanvas=E6.bind(null,coe.render);NI.toDataURL=E6.bind(null,coe.renderToDataURL);NI.toString=E6.bind(null,function(r,e,t){return l4e.render(r,t)})});var doe=Q(f0=>{"use strict";var foe=FU(),A6=t6(),f4e=Jae(),poe=Yae(),p4e=ioe(),hoe=ooe();function II(r,e,t){if(typeof r>"u")throw new Error("String required as first argument");if(typeof t>"u"&&(t=e,e={}),typeof t!="function")if(foe())e=t||{},t=null;else throw new Error("Callback required as last argument");return{opts:e,cb:t}}o(II,"checkParams");function h4e(r){return r.slice((r.lastIndexOf(".")-1>>>0)+2).toLowerCase()}o(h4e,"getTypeFromFilename");function u4(r){switch(r){case"svg":return hoe;case"txt":case"utf8":return poe;case"png":case"image/png":default:return f4e}}o(u4,"getRendererFromType");function d4e(r){switch(r){case"svg":return hoe;case"terminal":return p4e;case"utf8":default:return poe}}o(d4e,"getStringRendererFromType");function TI(r,e,t){if(!t.cb)return new Promise(function(n,i){try{let s=A6.create(e,t.opts);return r(s,t.opts,function(a,u){return a?i(a):n(u)})}catch(s){i(s)}});try{let n=A6.create(e,t.opts);return r(n,t.opts,t.cb)}catch(n){t.cb(n)}}o(TI,"render");f0.create=A6.create;f0.toCanvas=loe().toCanvas;f0.toString=o(function(e,t,n){let i=II(e,t,n),s=i.opts?i.opts.type:void 0,a=d4e(s);return TI(a.render,e,i)},"toString");f0.toDataURL=o(function(e,t,n){let i=II(e,t,n),s=u4(i.opts.type);return TI(s.renderToDataURL,e,i)},"toDataURL");f0.toBuffer=o(function(e,t,n){let i=II(e,t,n),s=u4(i.opts.type);return TI(s.renderToBuffer,e,i)},"toBuffer");f0.toFile=o(function(e,t,n,i){if(typeof e!="string"||!(typeof t=="string"||typeof t=="object"))throw new Error("Invalid argument");if(arguments.length<3&&!foe())throw new Error("Too few arguments provided");let s=II(t,n,i),a=s.opts.type||h4e(e),c=u4(a).renderToFile.bind(null,e);return TI(c,t,s)},"toFile");f0.toFileStream=o(function(e,t,n){if(arguments.length<2)throw new Error("Too few arguments provided");let i=II(t,n,e.emit.bind(e,"error")),a=u4("png").renderToFileStream.bind(null,e);TI(a,t,i)},"toFileStream")});var goe=Q((Wpt,moe)=>{"use strict";moe.exports=doe()});var g4e={};yT(g4e,{ASN1:()=>P0,AccessKeyBuilder:()=>R2,CanonicalizationMethod:()=>R3,Choice:()=>nn,DanfceDefaultPdfDocument:()=>I6,DanfceReducedPdfDocument:()=>T6,Decimal:()=>$r,DefaultDetBuilderAggregator:()=>D2,DefaultTotalBuilderAggregator:()=>O2,DigestAlgorithm:()=>xT,EntitySigner:()=>Ow,Environment:()=>qe,IsDecimal:()=>mM,MemoryCacheAdapter:()=>kw,NFCeDto:()=>Tf,NFeDto:()=>Ch,NFeTsError:()=>fr,NativeCertificateRepository:()=>tC,NfceAuthorizerPipeline:()=>eU,NfceCancelPipeline:()=>ZM,NfceConsultStatusPipeline:()=>rU,NfceQrcode:()=>Jo,NfceRemoteTransmitter:()=>yo,NfceVoidRangePipeline:()=>tU,NfceXmlBuilder:()=>gI,NfceXmlBuilderPipeline:()=>LU,NfeAuthorizationResponsePipeline:()=>YM,NfeAuthorizerPipeline:()=>k2,NfeCancelPipeline:()=>F2,NfeConsultStatusPipeline:()=>V2,NfeDetXmlBuilder:()=>Is,NfeRemoteTransmitter:()=>vo,NfeVoidRangePipeline:()=>px,NfeXmlBuilder:()=>Fn,NfeXmlBuilderPipeline:()=>mI,NullCacheAdapter:()=>Zw,PdfkitPdfBuilder:()=>Fw,SignatureAlgorithm:()=>ac,SignatureMethod:()=>bT,SignatureNamespace:()=>ST,Signer:()=>C0,SkipAllValidations:()=>Mde,SkipValidation:()=>jde,SkipValidationMetadata:()=>Ay,SoapRemoteTransmissionRepository:()=>uE,StateAcronyms:()=>D3,StateCodeAcValidator:()=>vM,StateCodeAlValidator:()=>yM,StateCodeAmValidator:()=>SM,StateCodeApValidator:()=>bM,StateCodeBaValidator:()=>xM,StateCodeCeValidator:()=>wM,StateCodeDfValidator:()=>CM,StateCodeEsValidator:()=>EM,StateCodeGoValidator:()=>AM,StateCodeMaValidator:()=>NM,StateCodeMgValidator:()=>IM,StateCodeMsValidator:()=>TM,StateCodeMtValidator:()=>RM,StateCodePaValidator:()=>DM,StateCodePbValidator:()=>OM,StateCodePeValidator:()=>BM,StateCodePiValidator:()=>PM,StateCodePrValidator:()=>_M,StateCodeRjValidator:()=>LM,StateCodeRnValidator:()=>FM,StateCodeRoValidator:()=>kM,StateCodeRrValidator:()=>VM,StateCodeRsValidator:()=>jM,StateCodeScValidator:()=>MM,StateCodeSeValidator:()=>UM,StateCodeSpValidator:()=>qM,StateCodeToValidator:()=>HM,StateCodes:()=>pe,TpEmis:()=>ha,TpEvent:()=>kp,TransformDateString:()=>Fp,TransformDecimal:()=>ne,ValidateErrorsMetadata:()=>Po,Validates:()=>Ht,ValidationError:()=>B3,Xml2JsToolkit:()=>Mv,XmlSigner:()=>Bw,clearEmptyValues:()=>Pw,mapConstraintsToErrors:()=>_3,plainToInstance:()=>_w,schemas:()=>T2});module.exports=Vde(g4e);var ST="http://www.w3.org/2000/09/xmldsig#",R3="http://www.w3.org/TR/2001/REC-xml-c14n-20010315",bT=(function(r){return r.RSA_SHA1="http://www.w3.org/2000/09/xmldsig#rsa-sha1",r.RSA_SHA256="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256",r})({}),ac=(function(r){return r.SHA1="sha1",r.SHA256="sha256",r})({}),xT=(function(r){return r.SHA1="http://www.w3.org/2000/09/xmldsig#sha1",r.SHA256="http://www.w3.org/2001/04/xmlenc#sha256",r})({});var pe={AC:"12",AL:"27",AM:"13",AP:"16",BA:"29",CE:"23",DF:"53",ES:"32",GO:"52",MA:"21",MG:"31",MS:"50",MT:"51",PA:"15",PB:"25",PE:"26",PI:"22",PR:"41",RJ:"33",RN:"24",RO:"11",RR:"14",RS:"43",SC:"42",SE:"28",SP:"35",TO:"17"},D3=Object.keys(pe);var qe={Production:"1",Homolog:"2"};var O3={[pe.AC]:"America/Rio_Branco",[pe.AL]:"America/Maceio",[pe.AM]:"America/Manaus",[pe.AP]:"America/Belem",[pe.BA]:"America/Bahia",[pe.CE]:"America/Fortaleza",[pe.DF]:"America/Sao_Paulo",[pe.ES]:"America/Sao_Paulo",[pe.GO]:"America/Sao_Paulo",[pe.MA]:"America/Fortaleza",[pe.MG]:"America/Sao_Paulo",[pe.MS]:"America/Campo_Grande",[pe.MT]:"America/Cuiaba",[pe.PA]:"America/Belem",[pe.PB]:"America/Fortaleza",[pe.PE]:"America/Recife",[pe.PI]:"America/Fortaleza",[pe.PR]:"America/Sao_Paulo",[pe.RJ]:"America/Sao_Paulo",[pe.RN]:"America/Fortaleza",[pe.RO]:"America/Porto_Velho",[pe.RR]:"America/Boa_Vista",[pe.RS]:"America/Sao_Paulo",[pe.SC]:"America/Sao_Paulo",[pe.SE]:"America/Maceio",[pe.SP]:"America/Sao_Paulo",[pe.TO]:"America/Araguaina"};var fr=class extends Error{static{o(this,"NFeTsError")}};var B3=class extends fr{static{o(this,"ValidationError")}};var Dw={includeComments:!1,exclusive:!0};var w0=o(r=>{throw new fr("Didn't expect to get here")},"unreachable");var C0=class{static{o(this,"Signer")}toolkit;certificateRepository;algorithm;canonical;constructor(e,t,n=ac.SHA1,i=Dw){this.toolkit=e,this.certificateRepository=t,this.algorithm=n,this.canonical=i}assemble(e,t,n){let i=this.certificateRepository.getStringCertificate(n);return{$:{xmlns:ST},SignedInfo:e,SignatureValue:t,KeyInfo:{X509Data:{X509Certificate:i}}}}signedInfo(e,t){return{CanonicalizationMethod:{$:{Algorithm:R3}},SignatureMethod:{$:{Algorithm:this.signatureMethod}},Reference:{$:{URI:`#${this.toolkit.getAttribute(e,t)}`},Transforms:this.transforms,DigestMethod:{$:{Algorithm:this.digestAlgorithm}},DigestValue:this.digest(e)}}}digest(e){return this.toolkit.digest(e,this.algorithm,this.canonical)}async signOrLeft(e,t){let n=this.toolkit.canonicalize(await this.toolkit.build({$:{xmlns:ST},...e},{rootName:"SignedInfo"}),this.canonical);return this.certificateRepository.sign(n,t,this.algorithm)}get transforms(){return{Transform:[{$:{Algorithm:"http://www.w3.org/2000/09/xmldsig#enveloped-signature"}},{$:{Algorithm:"http://www.w3.org/TR/2001/REC-xml-c14n-20010315"}}]}}get digestAlgorithm(){switch(this.algorithm){case ac.SHA256:return xT.SHA256;case ac.SHA1:return xT.SHA1;default:return w0(this.algorithm)}}get signatureMethod(){switch(this.algorithm){case ac.SHA256:return bT.RSA_SHA256;case ac.SHA1:return bT.RSA_SHA1;default:return w0(this.algorithm)}}};var P3=class{static{o(this,"Left")}value;constructor(e){this.value=e}isLeft(){return!0}isRight(){return!1}},wT=class{static{o(this,"Right")}value;constructor(e){this.value=e}isLeft(){return!1}isRight(){return!0}},Xr=o(r=>new P3(r),"left"),gr=o(r=>r===void 0?new wT(void 0):new wT(r),"right");var Ow=class extends C0{static{o(this,"EntitySigner")}async sign(e,t,n){let{tag:i,mark:s}=t,{certificate:a}=n;if(!e[i])return Xr(new fr(`Node ${String(i)} not found`));let u=await this.toolkit.build(this.ns(e,i),{headless:!0,rootName:String(i),renderOpts:{pretty:!1}}),c=this.signedInfo(u,s),l=await this.signOrLeft(c,n);if(l.isLeft())return l;let p=e;return p.Signature=this.assemble(c,l.value,a),gr(p)}ns(e,t){let n=e.$?.xmlns,{$:i,...s}=e[t],{xmlns:a,...u}=i??{};return{$:{xmlns:n,...u},...s}}};var Bw=class extends C0{static{o(this,"XmlSigner")}async sign(e,t,n){let{tag:i,mark:s}=t,{certificate:a}=n,u=this.toolkit.getNode(e,i);if(!u)return Xr(new fr(`Node ${i} not found`));let c=this.signedInfo(u,s),l=await this.signOrLeft(c,n);if(l.isLeft())return l;let p=await this.toolkit.build(this.assemble(c,l.value,a),{rootName:"Signature"});return gr(this.toolkit.appendNode(e,p))}};var m3e=require("reflect-metadata"),rH=require("class-validator");var l3e=require("reflect-metadata");var Ay="__SkipValidation__",jde=o(()=>(r,e)=>{Reflect.defineMetadata(Ay,!0,r,e.toString())},"SkipValidation"),Mde=o(()=>r=>{Reflect.defineMetadata(Ay,!0,r)},"SkipAllValidations");var tH=require("class-transformer");var Pw=o(r=>{for(let[e,t]of Object.entries(r))typeof t>"u"&&delete r[e],t===""&&delete r[e],t&&typeof t=="object"&&Pw(t)},"clearEmptyValues"),_w=o((r,e,t={})=>{let n=(0,tH.plainToInstance)(e,r);return t.clearEmptyValues&&Pw(n),n},"plainToInstance");var Po="__ValidateErrors__",_3=o((r,e)=>r.reduce((t,n)=>{if(n.children?.length)return t.concat(_3(n.children,e?`${e}.${n.property}`:n.property));let i=Object.values(n.constraints??{}).map(s=>e?`${e}.${s}`:s).join(", ");return i?t.concat(i):t},[]),"mapConstraintsToErrors"),Ht=o(r=>(e,t,n)=>{let i=n.value;n.value=function(...s){let a=Reflect.getMetadata(Ay,this.constructor);if(Reflect.getMetadata(Ay,this.constructor.prototype,t.toString())===!0||a===!0)return i?.apply(this,s);let[c,...l]=s,p=_w(c,r),h=(0,rH.validateSync)(p,{whitelist:!0});if(Pw(p),h.length){let g=Reflect.getMetadata(Po,this)??[];Reflect.defineMetadata(Po,g.concat(_3(h,i?.name)),this)}return i?.apply(this,[p,...l])}},"Validates");var sZe=require("reflect-metadata");var Ny=9e15,jh=1e9,L3="0123456789abcdef",AT="2.3025850929940456840179914546843642076011014886287729760333279009675726096773524802359972050895982983419677840422862486334095254650828067566662873690987816894829072083255546808437998948262331985283935053089653777326288461633662222876982198867465436674744042432743651550489343149393914796194044002221051017141748003688084012647080685567743216228355220114804663715659121373450747856947683463616792101806445070648000277502684916746550586856935673420670581136429224554405758925724208241314695689016758940256776311356919292033376587141660230105703089634572075440370847469940168269282808481184289314848524948644871927809676271275775397027668605952496716674183485704422507197965004714951050492214776567636938662976979522110718264549734772662425709429322582798502585509785265383207606726317164309505995087807523710333101197857547331541421808427543863591778117054309827482385045648019095610299291824318237525357709750539565187697510374970888692180205189339507238539205144634197265287286965110862571492198849978748873771345686209167058",NT="3.1415926535897932384626433832795028841971693993751058209749445923078164062862089986280348253421170679821480865132823066470938446095505822317253594081284811174502841027019385211055596446229489549303819644288109756659334461284756482337867831652712019091456485669234603486104543266482133936072602491412737245870066063155881748815209209628292540917153643678925903600113305305488204665213841469519415116094330572703657595919530921861173819326117931051185480744623799627495673518857527248912279381830119491298336733624406566430860213949463952247371907021798609437027705392171762931767523846748184676694051320005681271452635608277857713427577896091736371787214684409012249534301465495853710507922796892589235420199561121290219608640344181598136297747713099605187072113499999983729780499510597317328160963185950244594553469083026425223082533446850352619311881710100031378387528865875332083814206171776691473035982534904287554687311595628638823537875937519577818577805321712268066130019278766111959092164201989380952572010654858632789",F3={precision:20,rounding:4,modulo:1,toExpNeg:-7,toExpPos:21,minE:-Ny,maxE:Ny,crypto:!1},aH,Mf,Yt=!0,TT="[DecimalError] ",Vh=TT+"Invalid argument: ",oH=TT+"Precision limit exceeded",uH=TT+"crypto unavailable",cH="[object Decimal]",ia=Math.floor,Ji=Math.pow,Ude=/^0b([01]+(\.[01]*)?|\.[01]+)(p[+-]?\d+)?$/i,qde=/^0x([0-9a-f]+(\.[0-9a-f]*)?|\.[0-9a-f]+)(p[+-]?\d+)?$/i,Hde=/^0o([0-7]+(\.[0-7]*)?|\.[0-7]+)(p[+-]?\d+)?$/i,lH=/^(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i,oc=1e7,Lt=7,zde=9007199254740991,Kde=AT.length-1,k3=NT.length-1,ze={toStringTag:cH};ze.absoluteValue=ze.abs=function(){var r=new this.constructor(this);return r.s<0&&(r.s=1),It(r)};ze.ceil=function(){return It(new this.constructor(this),this.e+1,2)};ze.clampedTo=ze.clamp=function(r,e){var t,n=this,i=n.constructor;if(r=new i(r),e=new i(e),!r.s||!e.s)return new i(NaN);if(r.gt(e))throw Error(Vh+e);return t=n.cmp(r),t<0?r:n.cmp(e)>0?e:new i(n)};ze.comparedTo=ze.cmp=function(r){var e,t,n,i,s=this,a=s.d,u=(r=new s.constructor(r)).d,c=s.s,l=r.s;if(!a||!u)return!c||!l?NaN:c!==l?c:a===u?0:!a^c<0?1:-1;if(!a[0]||!u[0])return a[0]?c:u[0]?-l:0;if(c!==l)return c;if(s.e!==r.e)return s.e>r.e^c<0?1:-1;for(n=a.length,i=u.length,e=0,t=n<i?n:i;e<t;++e)if(a[e]!==u[e])return a[e]>u[e]^c<0?1:-1;return n===i?0:n>i^c<0?1:-1};ze.cosine=ze.cos=function(){var r,e,t=this,n=t.constructor;return t.d?t.d[0]?(r=n.precision,e=n.rounding,n.precision=r+Math.max(t.e,t.sd())+Lt,n.rounding=1,t=Gde(n,mH(n,t)),n.precision=r,n.rounding=e,It(Mf==2||Mf==3?t.neg():t,r,e,!0)):new n(1):new n(NaN)};ze.cubeRoot=ze.cbrt=function(){var r,e,t,n,i,s,a,u,c,l,p=this,h=p.constructor;if(!p.isFinite()||p.isZero())return new h(p);for(Yt=!1,s=p.s*Ji(p.s*p,1/3),!s||Math.abs(s)==1/0?(t=Bs(p.d),r=p.e,(s=(r-t.length+1)%3)&&(t+=s==1||s==-2?"0":"00"),s=Ji(t,1/3),r=ia((r+1)/3)-(r%3==(r<0?-1:2)),s==1/0?t="5e"+r:(t=s.toExponential(),t=t.slice(0,t.indexOf("e")+1)+r),n=new h(t),n.s=p.s):n=new h(s.toString()),a=(r=h.precision)+3;;)if(u=n,c=u.times(u).times(u),l=c.plus(p),n=Sn(l.plus(p).times(u),l.plus(c),a+2,1),Bs(u.d).slice(0,a)===(t=Bs(n.d)).slice(0,a))if(t=t.slice(a-3,a+1),t=="9999"||!i&&t=="4999"){if(!i&&(It(u,r+1,0),u.times(u).times(u).eq(p))){n=u;break}a+=4,i=1}else{(!+t||!+t.slice(1)&&t.charAt(0)=="5")&&(It(n,r+1,1),e=!n.times(n).times(n).eq(p));break}return Yt=!0,It(n,r,h.rounding,e)};ze.decimalPlaces=ze.dp=function(){var r,e=this.d,t=NaN;if(e){if(r=e.length-1,t=(r-ia(this.e/Lt))*Lt,r=e[r],r)for(;r%10==0;r/=10)t--;t<0&&(t=0)}return t};ze.dividedBy=ze.div=function(r){return Sn(this,new this.constructor(r))};ze.dividedToIntegerBy=ze.divToInt=function(r){var e=this,t=e.constructor;return It(Sn(e,new t(r),0,1,1),t.precision,t.rounding)};ze.equals=ze.eq=function(r){return this.cmp(r)===0};ze.floor=function(){return It(new this.constructor(this),this.e+1,3)};ze.greaterThan=ze.gt=function(r){return this.cmp(r)>0};ze.greaterThanOrEqualTo=ze.gte=function(r){var e=this.cmp(r);return e==1||e===0};ze.hyperbolicCosine=ze.cosh=function(){var r,e,t,n,i,s=this,a=s.constructor,u=new a(1);if(!s.isFinite())return new a(s.s?1/0:NaN);if(s.isZero())return u;t=a.precision,n=a.rounding,a.precision=t+Math.max(s.e,s.sd())+4,a.rounding=1,i=s.d.length,i<32?(r=Math.ceil(i/3),e=(1/DT(4,r)).toString()):(r=16,e="2.3283064365386962890625e-10"),s=Iy(a,1,s.times(e),new a(1),!0);for(var c,l=r,p=new a(8);l--;)c=s.times(s),s=u.minus(c.times(p.minus(c.times(p))));return It(s,a.precision=t,a.rounding=n,!0)};ze.hyperbolicSine=ze.sinh=function(){var r,e,t,n,i=this,s=i.constructor;if(!i.isFinite()||i.isZero())return new s(i);if(e=s.precision,t=s.rounding,s.precision=e+Math.max(i.e,i.sd())+4,s.rounding=1,n=i.d.length,n<3)i=Iy(s,2,i,i,!0);else{r=1.4*Math.sqrt(n),r=r>16?16:r|0,i=i.times(1/DT(5,r)),i=Iy(s,2,i,i,!0);for(var a,u=new s(5),c=new s(16),l=new s(20);r--;)a=i.times(i),i=i.times(u.plus(a.times(c.times(a).plus(l))))}return s.precision=e,s.rounding=t,It(i,e,t,!0)};ze.hyperbolicTangent=ze.tanh=function(){var r,e,t=this,n=t.constructor;return t.isFinite()?t.isZero()?new n(t):(r=n.precision,e=n.rounding,n.precision=r+7,n.rounding=1,Sn(t.sinh(),t.cosh(),n.precision=r,n.rounding=e)):new n(t.s)};ze.inverseCosine=ze.acos=function(){var r=this,e=r.constructor,t=r.abs().cmp(1),n=e.precision,i=e.rounding;return t!==-1?t===0?r.isNeg()?pl(e,n,i):new e(0):new e(NaN):r.isZero()?pl(e,n+4,i).times(.5):(e.precision=n+6,e.rounding=1,r=new e(1).minus(r).div(r.plus(1)).sqrt().atan(),e.precision=n,e.rounding=i,r.times(2))};ze.inverseHyperbolicCosine=ze.acosh=function(){var r,e,t=this,n=t.constructor;return t.lte(1)?new n(t.eq(1)?0:NaN):t.isFinite()?(r=n.precision,e=n.rounding,n.precision=r+Math.max(Math.abs(t.e),t.sd())+4,n.rounding=1,Yt=!1,t=t.times(t).minus(1).sqrt().plus(t),Yt=!0,n.precision=r,n.rounding=e,t.ln()):new n(t)};ze.inverseHyperbolicSine=ze.asinh=function(){var r,e,t=this,n=t.constructor;return!t.isFinite()||t.isZero()?new n(t):(r=n.precision,e=n.rounding,n.precision=r+2*Math.max(Math.abs(t.e),t.sd())+6,n.rounding=1,Yt=!1,t=t.times(t).plus(1).sqrt().plus(t),Yt=!0,n.precision=r,n.rounding=e,t.ln())};ze.inverseHyperbolicTangent=ze.atanh=function(){var r,e,t,n,i=this,s=i.constructor;return i.isFinite()?i.e>=0?new s(i.abs().eq(1)?i.s/0:i.isZero()?i:NaN):(r=s.precision,e=s.rounding,n=i.sd(),Math.max(n,r)<2*-i.e-1?It(new s(i),r,e,!0):(s.precision=t=n-i.e,i=Sn(i.plus(1),new s(1).minus(i),t+r,1),s.precision=r+4,s.rounding=1,i=i.ln(),s.precision=r,s.rounding=e,i.times(.5))):new s(NaN)};ze.inverseSine=ze.asin=function(){var r,e,t,n,i=this,s=i.constructor;return i.isZero()?new s(i):(e=i.abs().cmp(1),t=s.precision,n=s.rounding,e!==-1?e===0?(r=pl(s,t+4,n).times(.5),r.s=i.s,r):new s(NaN):(s.precision=t+6,s.rounding=1,i=i.div(new s(1).minus(i.times(i)).sqrt().plus(1)).atan(),s.precision=t,s.rounding=n,i.times(2)))};ze.inverseTangent=ze.atan=function(){var r,e,t,n,i,s,a,u,c,l=this,p=l.constructor,h=p.precision,g=p.rounding;if(l.isFinite()){if(l.isZero())return new p(l);if(l.abs().eq(1)&&h+4<=k3)return a=pl(p,h+4,g).times(.25),a.s=l.s,a}else{if(!l.s)return new p(NaN);if(h+4<=k3)return a=pl(p,h+4,g).times(.5),a.s=l.s,a}for(p.precision=u=h+10,p.rounding=1,t=Math.min(28,u/Lt+2|0),r=t;r;--r)l=l.div(l.times(l).plus(1).sqrt().plus(1));for(Yt=!1,e=Math.ceil(u/Lt),n=1,c=l.times(l),a=new p(l),i=l;r!==-1;)if(i=i.times(c),s=a.minus(i.div(n+=2)),i=i.times(c),a=s.plus(i.div(n+=2)),a.d[e]!==void 0)for(r=e;a.d[r]===s.d[r]&&r--;);return t&&(a=a.times(2<<t-1)),Yt=!0,It(a,p.precision=h,p.rounding=g,!0)};ze.isFinite=function(){return!!this.d};ze.isInteger=ze.isInt=function(){return!!this.d&&ia(this.e/Lt)>this.d.length-2};ze.isNaN=function(){return!this.s};ze.isNegative=ze.isNeg=function(){return this.s<0};ze.isPositive=ze.isPos=function(){return this.s>0};ze.isZero=function(){return!!this.d&&this.d[0]===0};ze.lessThan=ze.lt=function(r){return this.cmp(r)<0};ze.lessThanOrEqualTo=ze.lte=function(r){return this.cmp(r)<1};ze.logarithm=ze.log=function(r){var e,t,n,i,s,a,u,c,l=this,p=l.constructor,h=p.precision,g=p.rounding,y=5;if(r==null)r=new p(10),e=!0;else{if(r=new p(r),t=r.d,r.s<0||!t||!t[0]||r.eq(1))return new p(NaN);e=r.eq(10)}if(t=l.d,l.s<0||!t||!t[0]||l.eq(1))return new p(t&&!t[0]?-1/0:l.s!=1?NaN:t?0:1/0);if(e)if(t.length>1)s=!0;else{for(i=t[0];i%10===0;)i/=10;s=i!==1}if(Yt=!1,u=h+y,a=kh(l,u),n=e?IT(p,u+10):kh(r,u),c=Sn(a,n,u,1),Lw(c.d,i=h,g))do if(u+=10,a=kh(l,u),n=e?IT(p,u+10):kh(r,u),c=Sn(a,n,u,1),!s){+Bs(c.d).slice(i+1,i+15)+1==1e14&&(c=It(c,h+1,0));break}while(Lw(c.d,i+=10,g));return Yt=!0,It(c,h,g)};ze.minus=ze.sub=function(r){var e,t,n,i,s,a,u,c,l,p,h,g,y=this,v=y.constructor;if(r=new v(r),!y.d||!r.d)return!y.s||!r.s?r=new v(NaN):y.d?r.s=-r.s:r=new v(r.d||y.s!==r.s?y:NaN),r;if(y.s!=r.s)return r.s=-r.s,y.plus(r);if(l=y.d,g=r.d,u=v.precision,c=v.rounding,!l[0]||!g[0]){if(g[0])r.s=-r.s;else if(l[0])r=new v(y);else return new v(c===3?-0:0);return Yt?It(r,u,c):r}if(t=ia(r.e/Lt),p=ia(y.e/Lt),l=l.slice(),s=p-t,s){for(h=s<0,h?(e=l,s=-s,a=g.length):(e=g,t=p,a=l.length),n=Math.max(Math.ceil(u/Lt),a)+2,s>n&&(s=n,e.length=1),e.reverse(),n=s;n--;)e.push(0);e.reverse()}else{for(n=l.length,a=g.length,h=n<a,h&&(a=n),n=0;n<a;n++)if(l[n]!=g[n]){h=l[n]<g[n];break}s=0}for(h&&(e=l,l=g,g=e,r.s=-r.s),a=l.length,n=g.length-a;n>0;--n)l[a++]=0;for(n=g.length;n>s;){if(l[--n]<g[n]){for(i=n;i&&l[--i]===0;)l[i]=oc-1;--l[i],l[n]+=oc}l[n]-=g[n]}for(;l[--a]===0;)l.pop();for(;l[0]===0;l.shift())--t;return l[0]?(r.d=l,r.e=RT(l,t),Yt?It(r,u,c):r):new v(c===3?-0:0)};ze.modulo=ze.mod=function(r){var e,t=this,n=t.constructor;return r=new n(r),!t.d||!r.s||r.d&&!r.d[0]?new n(NaN):!r.d||t.d&&!t.d[0]?It(new n(t),n.precision,n.rounding):(Yt=!1,n.modulo==9?(e=Sn(t,r.abs(),0,3,1),e.s*=r.s):e=Sn(t,r,0,n.modulo,1),e=e.times(r),Yt=!0,t.minus(e))};ze.naturalExponential=ze.exp=function(){return V3(this)};ze.naturalLogarithm=ze.ln=function(){return kh(this)};ze.negated=ze.neg=function(){var r=new this.constructor(this);return r.s=-r.s,It(r)};ze.plus=ze.add=function(r){var e,t,n,i,s,a,u,c,l,p,h=this,g=h.constructor;if(r=new g(r),!h.d||!r.d)return!h.s||!r.s?r=new g(NaN):h.d||(r=new g(r.d||h.s===r.s?h:NaN)),r;if(h.s!=r.s)return r.s=-r.s,h.minus(r);if(l=h.d,p=r.d,u=g.precision,c=g.rounding,!l[0]||!p[0])return p[0]||(r=new g(h)),Yt?It(r,u,c):r;if(s=ia(h.e/Lt),n=ia(r.e/Lt),l=l.slice(),i=s-n,i){for(i<0?(t=l,i=-i,a=p.length):(t=p,n=s,a=l.length),s=Math.ceil(u/Lt),a=s>a?s+1:a+1,i>a&&(i=a,t.length=1),t.reverse();i--;)t.push(0);t.reverse()}for(a=l.length,i=p.length,a-i<0&&(i=a,t=p,p=l,l=t),e=0;i;)e=(l[--i]=l[i]+p[i]+e)/oc|0,l[i]%=oc;for(e&&(l.unshift(e),++n),a=l.length;l[--a]==0;)l.pop();return r.d=l,r.e=RT(l,n),Yt?It(r,u,c):r};ze.precision=ze.sd=function(r){var e,t=this;if(r!==void 0&&r!==!!r&&r!==1&&r!==0)throw Error(Vh+r);return t.d?(e=fH(t.d),r&&t.e+1>e&&(e=t.e+1)):e=NaN,e};ze.round=function(){var r=this,e=r.constructor;return It(new e(r),r.e+1,e.rounding)};ze.sine=ze.sin=function(){var r,e,t=this,n=t.constructor;return t.isFinite()?t.isZero()?new n(t):(r=n.precision,e=n.rounding,n.precision=r+Math.max(t.e,t.sd())+Lt,n.rounding=1,t=Wde(n,mH(n,t)),n.precision=r,n.rounding=e,It(Mf>2?t.neg():t,r,e,!0)):new n(NaN)};ze.squareRoot=ze.sqrt=function(){var r,e,t,n,i,s,a=this,u=a.d,c=a.e,l=a.s,p=a.constructor;if(l!==1||!u||!u[0])return new p(!l||l<0&&(!u||u[0])?NaN:u?a:1/0);for(Yt=!1,l=Math.sqrt(+a),l==0||l==1/0?(e=Bs(u),(e.length+c)%2==0&&(e+="0"),l=Math.sqrt(e),c=ia((c+1)/2)-(c<0||c%2),l==1/0?e="5e"+c:(e=l.toExponential(),e=e.slice(0,e.indexOf("e")+1)+c),n=new p(e)):n=new p(l.toString()),t=(c=p.precision)+3;;)if(s=n,n=s.plus(Sn(a,s,t+2,1)).times(.5),Bs(s.d).slice(0,t)===(e=Bs(n.d)).slice(0,t))if(e=e.slice(t-3,t+1),e=="9999"||!i&&e=="4999"){if(!i&&(It(s,c+1,0),s.times(s).eq(a))){n=s;break}t+=4,i=1}else{(!+e||!+e.slice(1)&&e.charAt(0)=="5")&&(It(n,c+1,1),r=!n.times(n).eq(a));break}return Yt=!0,It(n,c,p.rounding,r)};ze.tangent=ze.tan=function(){var r,e,t=this,n=t.constructor;return t.isFinite()?t.isZero()?new n(t):(r=n.precision,e=n.rounding,n.precision=r+10,n.rounding=1,t=t.sin(),t.s=1,t=Sn(t,new n(1).minus(t.times(t)).sqrt(),r+10,0),n.precision=r,n.rounding=e,It(Mf==2||Mf==4?t.neg():t,r,e,!0)):new n(NaN)};ze.times=ze.mul=function(r){var e,t,n,i,s,a,u,c,l,p=this,h=p.constructor,g=p.d,y=(r=new h(r)).d;if(r.s*=p.s,!g||!g[0]||!y||!y[0])return new h(!r.s||g&&!g[0]&&!y||y&&!y[0]&&!g?NaN:!g||!y?r.s/0:r.s*0);for(t=ia(p.e/Lt)+ia(r.e/Lt),c=g.length,l=y.length,c<l&&(s=g,g=y,y=s,a=c,c=l,l=a),s=[],a=c+l,n=a;n--;)s.push(0);for(n=l;--n>=0;){for(e=0,i=c+n;i>n;)u=s[i]+y[n]*g[i-n-1]+e,s[i--]=u%oc|0,e=u/oc|0;s[i]=(s[i]+e)%oc|0}for(;!s[--a];)s.pop();return e?++t:s.shift(),r.d=s,r.e=RT(s,t),Yt?It(r,h.precision,h.rounding):r};ze.toBinary=function(r,e){return j3(this,2,r,e)};ze.toDecimalPlaces=ze.toDP=function(r,e){var t=this,n=t.constructor;return t=new n(t),r===void 0?t:(Ja(r,0,jh),e===void 0?e=n.rounding:Ja(e,0,8),It(t,r+t.e+1,e))};ze.toExponential=function(r,e){var t,n=this,i=n.constructor;return r===void 0?t=hl(n,!0):(Ja(r,0,jh),e===void 0?e=i.rounding:Ja(e,0,8),n=It(new i(n),r+1,e),t=hl(n,!0,r+1)),n.isNeg()&&!n.isZero()?"-"+t:t};ze.toFixed=function(r,e){var t,n,i=this,s=i.constructor;return r===void 0?t=hl(i):(Ja(r,0,jh),e===void 0?e=s.rounding:Ja(e,0,8),n=It(new s(i),r+i.e+1,e),t=hl(n,!1,r+n.e+1)),i.isNeg()&&!i.isZero()?"-"+t:t};ze.toFraction=function(r){var e,t,n,i,s,a,u,c,l,p,h,g,y=this,v=y.d,b=y.constructor;if(!v)return new b(y);if(l=t=new b(1),n=c=new b(0),e=new b(n),s=e.e=fH(v)-y.e-1,a=s%Lt,e.d[0]=Ji(10,a<0?Lt+a:a),r==null)r=s>0?e:l;else{if(u=new b(r),!u.isInt()||u.lt(l))throw Error(Vh+u);r=u.gt(e)?s>0?e:l:u}for(Yt=!1,u=new b(Bs(v)),p=b.precision,b.precision=s=v.length*Lt*2;h=Sn(u,e,0,1,1),i=t.plus(h.times(n)),i.cmp(r)!=1;)t=n,n=i,i=l,l=c.plus(h.times(i)),c=i,i=e,e=u.minus(h.times(i)),u=i;return i=Sn(r.minus(t),n,0,1,1),c=c.plus(i.times(l)),t=t.plus(i.times(n)),c.s=l.s=y.s,g=Sn(l,n,s,1).minus(y).abs().cmp(Sn(c,t,s,1).minus(y).abs())<1?[l,n]:[c,t],b.precision=p,Yt=!0,g};ze.toHexadecimal=ze.toHex=function(r,e){return j3(this,16,r,e)};ze.toNearest=function(r,e){var t=this,n=t.constructor;if(t=new n(t),r==null){if(!t.d)return t;r=new n(1),e=n.rounding}else{if(r=new n(r),e===void 0?e=n.rounding:Ja(e,0,8),!t.d)return r.s?t:r;if(!r.d)return r.s&&(r.s=t.s),r}return r.d[0]?(Yt=!1,t=Sn(t,r,0,e,1).times(r),Yt=!0,It(t)):(r.s=t.s,t=r),t};ze.toNumber=function(){return+this};ze.toOctal=function(r,e){return j3(this,8,r,e)};ze.toPower=ze.pow=function(r){var e,t,n,i,s,a,u=this,c=u.constructor,l=+(r=new c(r));if(!u.d||!r.d||!u.d[0]||!r.d[0])return new c(Ji(+u,l));if(u=new c(u),u.eq(1))return u;if(n=c.precision,s=c.rounding,r.eq(1))return It(u,n,s);if(e=ia(r.e/Lt),e>=r.d.length-1&&(t=l<0?-l:l)<=zde)return i=pH(c,u,t,n),r.s<0?new c(1).div(i):It(i,n,s);if(a=u.s,a<0){if(e<r.d.length-1)return new c(NaN);if((r.d[e]&1)==0&&(a=1),u.e==0&&u.d[0]==1&&u.d.length==1)return u.s=a,u}return t=Ji(+u,l),e=t==0||!isFinite(t)?ia(l*(Math.log("0."+Bs(u.d))/Math.LN10+u.e+1)):new c(t+"").e,e>c.maxE+1||e<c.minE-1?new c(e>0?a/0:0):(Yt=!1,c.rounding=u.s=1,t=Math.min(12,(e+"").length),i=V3(r.times(kh(u,n+t)),n),i.d&&(i=It(i,n+5,1),Lw(i.d,n,s)&&(e=n+10,i=It(V3(r.times(kh(u,e+t)),e),e+5,1),+Bs(i.d).slice(n+1,n+15)+1==1e14&&(i=It(i,n+1,0)))),i.s=a,Yt=!0,c.rounding=s,It(i,n,s))};ze.toPrecision=function(r,e){var t,n=this,i=n.constructor;return r===void 0?t=hl(n,n.e<=i.toExpNeg||n.e>=i.toExpPos):(Ja(r,1,jh),e===void 0?e=i.rounding:Ja(e,0,8),n=It(new i(n),r,e),t=hl(n,r<=n.e||n.e<=i.toExpNeg,r)),n.isNeg()&&!n.isZero()?"-"+t:t};ze.toSignificantDigits=ze.toSD=function(r,e){var t=this,n=t.constructor;return r===void 0?(r=n.precision,e=n.rounding):(Ja(r,1,jh),e===void 0?e=n.rounding:Ja(e,0,8)),It(new n(t),r,e)};ze.toString=function(){var r=this,e=r.constructor,t=hl(r,r.e<=e.toExpNeg||r.e>=e.toExpPos);return r.isNeg()&&!r.isZero()?"-"+t:t};ze.truncated=ze.trunc=function(){return It(new this.constructor(this),this.e+1,1)};ze.valueOf=ze.toJSON=function(){var r=this,e=r.constructor,t=hl(r,r.e<=e.toExpNeg||r.e>=e.toExpPos);return r.isNeg()?"-"+t:t};function Bs(r){var e,t,n,i=r.length-1,s="",a=r[0];if(i>0){for(s+=a,e=1;e<i;e++)n=r[e]+"",t=Lt-n.length,t&&(s+=Fh(t)),s+=n;a=r[e],n=a+"",t=Lt-n.length,t&&(s+=Fh(t))}else if(a===0)return"0";for(;a%10===0;)a/=10;return s+a}o(Bs,"digitsToString");function Ja(r,e,t){if(r!==~~r||r<e||r>t)throw Error(Vh+r)}o(Ja,"checkInt32");function Lw(r,e,t,n){var i,s,a,u;for(s=r[0];s>=10;s/=10)--e;return--e<0?(e+=Lt,i=0):(i=Math.ceil((e+1)/Lt),e%=Lt),s=Ji(10,Lt-e),u=r[i]%s|0,n==null?e<3?(e==0?u=u/100|0:e==1&&(u=u/10|0),a=t<4&&u==99999||t>3&&u==49999||u==5e4||u==0):a=(t<4&&u+1==s||t>3&&u+1==s/2)&&(r[i+1]/s/100|0)==Ji(10,e-2)-1||(u==s/2||u==0)&&(r[i+1]/s/100|0)==0:e<4?(e==0?u=u/1e3|0:e==1?u=u/100|0:e==2&&(u=u/10|0),a=(n||t<4)&&u==9999||!n&&t>3&&u==4999):a=((n||t<4)&&u+1==s||!n&&t>3&&u+1==s/2)&&(r[i+1]/s/1e3|0)==Ji(10,e-3)-1,a}o(Lw,"checkRoundingDigits");function CT(r,e,t){for(var n,i=[0],s,a=0,u=r.length;a<u;){for(s=i.length;s--;)i[s]*=e;for(i[0]+=L3.indexOf(r.charAt(a++)),n=0;n<i.length;n++)i[n]>t-1&&(i[n+1]===void 0&&(i[n+1]=0),i[n+1]+=i[n]/t|0,i[n]%=t)}return i.reverse()}o(CT,"convertBase");function Gde(r,e){var t,n,i;if(e.isZero())return e;n=e.d.length,n<32?(t=Math.ceil(n/3),i=(1/DT(4,t)).toString()):(t=16,i="2.3283064365386962890625e-10"),r.precision+=t,e=Iy(r,1,e.times(i),new r(1));for(var s=t;s--;){var a=e.times(e);e=a.times(a).minus(a).times(8).plus(1)}return r.precision-=t,e}o(Gde,"cosine");var Sn=(function(){function r(n,i,s){var a,u=0,c=n.length;for(n=n.slice();c--;)a=n[c]*i+u,n[c]=a%s|0,u=a/s|0;return u&&n.unshift(u),n}o(r,"multiplyInteger");function e(n,i,s,a){var u,c;if(s!=a)c=s>a?1:-1;else for(u=c=0;u<s;u++)if(n[u]!=i[u]){c=n[u]>i[u]?1:-1;break}return c}o(e,"compare");function t(n,i,s,a){for(var u=0;s--;)n[s]-=u,u=n[s]<i[s]?1:0,n[s]=u*a+n[s]-i[s];for(;!n[0]&&n.length>1;)n.shift()}return o(t,"subtract"),function(n,i,s,a,u,c){var l,p,h,g,y,v,b,S,A,D,C,E,I,B,q,R,z,K,H,J,ge=n.constructor,ve=n.s==i.s?1:-1,le=n.d,Z=i.d;if(!le||!le[0]||!Z||!Z[0])return new ge(!n.s||!i.s||(le?Z&&le[0]==Z[0]:!Z)?NaN:le&&le[0]==0||!Z?ve*0:ve/0);for(c?(y=1,p=n.e-i.e):(c=oc,y=Lt,p=ia(n.e/y)-ia(i.e/y)),H=Z.length,z=le.length,A=new ge(ve),D=A.d=[],h=0;Z[h]==(le[h]||0);h++);if(Z[h]>(le[h]||0)&&p--,s==null?(B=s=ge.precision,a=ge.rounding):u?B=s+(n.e-i.e)+1:B=s,B<0)D.push(1),v=!0;else{if(B=B/y+2|0,h=0,H==1){for(g=0,Z=Z[0],B++;(h<z||g)&&B--;h++)q=g*c+(le[h]||0),D[h]=q/Z|0,g=q%Z|0;v=g||h<z}else{for(g=c/(Z[0]+1)|0,g>1&&(Z=r(Z,g,c),le=r(le,g,c),H=Z.length,z=le.length),R=H,C=le.slice(0,H),E=C.length;E<H;)C[E++]=0;J=Z.slice(),J.unshift(0),K=Z[0],Z[1]>=c/2&&++K;do g=0,l=e(Z,C,H,E),l<0?(I=C[0],H!=E&&(I=I*c+(C[1]||0)),g=I/K|0,g>1?(g>=c&&(g=c-1),b=r(Z,g,c),S=b.length,E=C.length,l=e(b,C,S,E),l==1&&(g--,t(b,H<S?J:Z,S,c))):(g==0&&(l=g=1),b=Z.slice()),S=b.length,S<E&&b.unshift(0),t(C,b,E,c),l==-1&&(E=C.length,l=e(Z,C,H,E),l<1&&(g++,t(C,H<E?J:Z,E,c))),E=C.length):l===0&&(g++,C=[0]),D[h++]=g,l&&C[0]?C[E++]=le[R]||0:(C=[le[R]],E=1);while((R++<z||C[0]!==void 0)&&B--);v=C[0]!==void 0}D[0]||D.shift()}if(y==1)A.e=p,aH=v;else{for(h=1,g=D[0];g>=10;g/=10)h++;A.e=h+p*y-1,It(A,u?s+A.e+1:s,a,v)}return A}})();function It(r,e,t,n){var i,s,a,u,c,l,p,h,g,y=r.constructor;e:if(e!=null){if(h=r.d,!h)return r;for(i=1,u=h[0];u>=10;u/=10)i++;if(s=e-i,s<0)s+=Lt,a=e,p=h[g=0],c=p/Ji(10,i-a-1)%10|0;else if(g=Math.ceil((s+1)/Lt),u=h.length,g>=u)if(n){for(;u++<=g;)h.push(0);p=c=0,i=1,s%=Lt,a=s-Lt+1}else break e;else{for(p=u=h[g],i=1;u>=10;u/=10)i++;s%=Lt,a=s-Lt+i,c=a<0?0:p/Ji(10,i-a-1)%10|0}if(n=n||e<0||h[g+1]!==void 0||(a<0?p:p%Ji(10,i-a-1)),l=t<4?(c||n)&&(t==0||t==(r.s<0?3:2)):c>5||c==5&&(t==4||n||t==6&&(s>0?a>0?p/Ji(10,i-a):0:h[g-1])%10&1||t==(r.s<0?8:7)),e<1||!h[0])return h.length=0,l?(e-=r.e+1,h[0]=Ji(10,(Lt-e%Lt)%Lt),r.e=-e||0):h[0]=r.e=0,r;if(s==0?(h.length=g,u=1,g--):(h.length=g+1,u=Ji(10,Lt-s),h[g]=a>0?(p/Ji(10,i-a)%Ji(10,a)|0)*u:0),l)for(;;)if(g==0){for(s=1,a=h[0];a>=10;a/=10)s++;for(a=h[0]+=u,u=1;a>=10;a/=10)u++;s!=u&&(r.e++,h[0]==oc&&(h[0]=1));break}else{if(h[g]+=u,h[g]!=oc)break;h[g--]=0,u=1}for(s=h.length;h[--s]===0;)h.pop()}return Yt&&(r.e>y.maxE?(r.d=null,r.e=NaN):r.e<y.minE&&(r.e=0,r.d=[0])),r}o(It,"finalise");function hl(r,e,t){if(!r.isFinite())return dH(r);var n,i=r.e,s=Bs(r.d),a=s.length;return e?(t&&(n=t-a)>0?s=s.charAt(0)+"."+s.slice(1)+Fh(n):a>1&&(s=s.charAt(0)+"."+s.slice(1)),s=s+(r.e<0?"e":"e+")+r.e):i<0?(s="0."+Fh(-i-1)+s,t&&(n=t-a)>0&&(s+=Fh(n))):i>=a?(s+=Fh(i+1-a),t&&(n=t-i-1)>0&&(s=s+"."+Fh(n))):((n=i+1)<a&&(s=s.slice(0,n)+"."+s.slice(n)),t&&(n=t-a)>0&&(i+1===a&&(s+="."),s+=Fh(n))),s}o(hl,"finiteToString");function RT(r,e){var t=r[0];for(e*=Lt;t>=10;t/=10)e++;return e}o(RT,"getBase10Exponent");function IT(r,e,t){if(e>Kde)throw Yt=!0,t&&(r.precision=t),Error(oH);return It(new r(AT),e,1,!0)}o(IT,"getLn10");function pl(r,e,t){if(e>k3)throw Error(oH);return It(new r(NT),e,t,!0)}o(pl,"getPi");function fH(r){var e=r.length-1,t=e*Lt+1;if(e=r[e],e){for(;e%10==0;e/=10)t--;for(e=r[0];e>=10;e/=10)t++}return t}o(fH,"getPrecision");function Fh(r){for(var e="";r--;)e+="0";return e}o(Fh,"getZeroString");function pH(r,e,t,n){var i,s=new r(1),a=Math.ceil(n/Lt+4);for(Yt=!1;;){if(t%2&&(s=s.times(e),iH(s.d,a)&&(i=!0)),t=ia(t/2),t===0){t=s.d.length-1,i&&s.d[t]===0&&++s.d[t];break}e=e.times(e),iH(e.d,a)}return Yt=!0,s}o(pH,"intPow");function nH(r){return r.d[r.d.length-1]&1}o(nH,"isOdd");function hH(r,e,t){for(var n,i,s=new r(e[0]),a=0;++a<e.length;){if(i=new r(e[a]),!i.s){s=i;break}n=s.cmp(i),(n===t||n===0&&s.s===t)&&(s=i)}return s}o(hH,"maxOrMin");function V3(r,e){var t,n,i,s,a,u,c,l=0,p=0,h=0,g=r.constructor,y=g.rounding,v=g.precision;if(!r.d||!r.d[0]||r.e>17)return new g(r.d?r.d[0]?r.s<0?0:1/0:1:r.s?r.s<0?0:r:NaN);for(e==null?(Yt=!1,c=v):c=e,u=new g(.03125);r.e>-2;)r=r.times(u),h+=5;for(n=Math.log(Ji(2,h))/Math.LN10*2+5|0,c+=n,t=s=a=new g(1),g.precision=c;;){if(s=It(s.times(r),c,1),t=t.times(++p),u=a.plus(Sn(s,t,c,1)),Bs(u.d).slice(0,c)===Bs(a.d).slice(0,c)){for(i=h;i--;)a=It(a.times(a),c,1);if(e==null)if(l<3&&Lw(a.d,c-n,y,l))g.precision=c+=10,t=s=u=new g(1),p=0,l++;else return It(a,g.precision=v,y,Yt=!0);else return g.precision=v,a}a=u}}o(V3,"naturalExponential");function kh(r,e){var t,n,i,s,a,u,c,l,p,h,g,y=1,v=10,b=r,S=b.d,A=b.constructor,D=A.rounding,C=A.precision;if(b.s<0||!S||!S[0]||!b.e&&S[0]==1&&S.length==1)return new A(S&&!S[0]?-1/0:b.s!=1?NaN:S?0:b);if(e==null?(Yt=!1,p=C):p=e,A.precision=p+=v,t=Bs(S),n=t.charAt(0),Math.abs(s=b.e)<15e14){for(;n<7&&n!=1||n==1&&t.charAt(1)>3;)b=b.times(r),t=Bs(b.d),n=t.charAt(0),y++;s=b.e,n>1?(b=new A("0."+t),s++):b=new A(n+"."+t.slice(1))}else return l=IT(A,p+2,C).times(s+""),b=kh(new A(n+"."+t.slice(1)),p-v).plus(l),A.precision=C,e==null?It(b,C,D,Yt=!0):b;for(h=b,c=a=b=Sn(b.minus(1),b.plus(1),p,1),g=It(b.times(b),p,1),i=3;;){if(a=It(a.times(g),p,1),l=c.plus(Sn(a,new A(i),p,1)),Bs(l.d).slice(0,p)===Bs(c.d).slice(0,p))if(c=c.times(2),s!==0&&(c=c.plus(IT(A,p+2,C).times(s+""))),c=Sn(c,new A(y),p,1),e==null)if(Lw(c.d,p-v,D,u))A.precision=p+=v,l=a=b=Sn(h.minus(1),h.plus(1),p,1),g=It(b.times(b),p,1),i=u=1;else return It(c,A.precision=C,D,Yt=!0);else return A.precision=C,c;c=l,i+=2}}o(kh,"naturalLogarithm");function dH(r){return String(r.s*r.s/0)}o(dH,"nonFiniteToString");function ET(r,e){var t,n,i;for((t=e.indexOf("."))>-1&&(e=e.replace(".","")),(n=e.search(/e/i))>0?(t<0&&(t=n),t+=+e.slice(n+1),e=e.substring(0,n)):t<0&&(t=e.length),n=0;e.charCodeAt(n)===48;n++);for(i=e.length;e.charCodeAt(i-1)===48;--i);if(e=e.slice(n,i),e){if(i-=n,r.e=t=t-n-1,r.d=[],n=(t+1)%Lt,t<0&&(n+=Lt),n<i){for(n&&r.d.push(+e.slice(0,n)),i-=Lt;n<i;)r.d.push(+e.slice(n,n+=Lt));e=e.slice(n),n=Lt-e.length}else n-=i;for(;n--;)e+="0";r.d.push(+e),Yt&&(r.e>r.constructor.maxE?(r.d=null,r.e=NaN):r.e<r.constructor.minE&&(r.e=0,r.d=[0]))}else r.e=0,r.d=[0];return r}o(ET,"parseDecimal");function Xde(r,e){var t,n,i,s,a,u,c,l,p;if(e.indexOf("_")>-1){if(e=e.replace(/(\d)_(?=\d)/g,"$1"),lH.test(e))return ET(r,e)}else if(e==="Infinity"||e==="NaN")return+e||(r.s=NaN),r.e=NaN,r.d=null,r;if(qde.test(e))t=16,e=e.toLowerCase();else if(Ude.test(e))t=2;else if(Hde.test(e))t=8;else throw Error(Vh+e);for(s=e.search(/p/i),s>0?(c=+e.slice(s+1),e=e.substring(2,s)):e=e.slice(2),s=e.indexOf("."),a=s>=0,n=r.constructor,a&&(e=e.replace(".",""),u=e.length,s=u-s,i=pH(n,new n(t),s,s*2)),l=CT(e,t,oc),p=l.length-1,s=p;l[s]===0;--s)l.pop();return s<0?new n(r.s*0):(r.e=RT(l,p),r.d=l,Yt=!1,a&&(r=Sn(r,i,u*4)),c&&(r=r.times(Math.abs(c)<54?Ji(2,c):Ty.pow(2,c))),Yt=!0,r)}o(Xde,"parseOther");function Wde(r,e){var t,n=e.d.length;if(n<3)return e.isZero()?e:Iy(r,2,e,e);t=1.4*Math.sqrt(n),t=t>16?16:t|0,e=e.times(1/DT(5,t)),e=Iy(r,2,e,e);for(var i,s=new r(5),a=new r(16),u=new r(20);t--;)i=e.times(e),e=e.times(s.plus(i.times(a.times(i).minus(u))));return e}o(Wde,"sine");function Iy(r,e,t,n,i){var s,a,u,c,l=1,p=r.precision,h=Math.ceil(p/Lt);for(Yt=!1,c=t.times(t),u=new r(n);;){if(a=Sn(u.times(c),new r(e++*e++),p,1),u=i?n.plus(a):n.minus(a),n=Sn(a.times(c),new r(e++*e++),p,1),a=u.plus(n),a.d[h]!==void 0){for(s=h;a.d[s]===u.d[s]&&s--;);if(s==-1)break}s=u,u=n,n=a,a=s,l++}return Yt=!0,a.d.length=h+1,a}o(Iy,"taylorSeries");function DT(r,e){for(var t=r;--e;)t*=r;return t}o(DT,"tinyPow");function mH(r,e){var t,n=e.s<0,i=pl(r,r.precision,1),s=i.times(.5);if(e=e.abs(),e.lte(s))return Mf=n?4:1,e;if(t=e.divToInt(i),t.isZero())Mf=n?3:2;else{if(e=e.minus(t.times(i)),e.lte(s))return Mf=nH(t)?n?2:3:n?4:1,e;Mf=nH(t)?n?1:4:n?3:2}return e.minus(i).abs()}o(mH,"toLessThanHalfPi");function j3(r,e,t,n){var i,s,a,u,c,l,p,h,g,y=r.constructor,v=t!==void 0;if(v?(Ja(t,1,jh),n===void 0?n=y.rounding:Ja(n,0,8)):(t=y.precision,n=y.rounding),!r.isFinite())p=dH(r);else{for(p=hl(r),a=p.indexOf("."),v?(i=2,e==16?t=t*4-3:e==8&&(t=t*3-2)):i=e,a>=0&&(p=p.replace(".",""),g=new y(1),g.e=p.length-a,g.d=CT(hl(g),10,i),g.e=g.d.length),h=CT(p,10,i),s=c=h.length;h[--c]==0;)h.pop();if(!h[0])p=v?"0p+0":"0";else{if(a<0?s--:(r=new y(r),r.d=h,r.e=s,r=Sn(r,g,t,n,0,i),h=r.d,s=r.e,l=aH),a=h[t],u=i/2,l=l||h[t+1]!==void 0,l=n<4?(a!==void 0||l)&&(n===0||n===(r.s<0?3:2)):a>u||a===u&&(n===4||l||n===6&&h[t-1]&1||n===(r.s<0?8:7)),h.length=t,l)for(;++h[--t]>i-1;)h[t]=0,t||(++s,h.unshift(1));for(c=h.length;!h[c-1];--c);for(a=0,p="";a<c;a++)p+=L3.charAt(h[a]);if(v){if(c>1)if(e==16||e==8){for(a=e==16?4:3,--c;c%a;c++)p+="0";for(h=CT(p,i,e),c=h.length;!h[c-1];--c);for(a=1,p="1.";a<c;a++)p+=L3.charAt(h[a])}else p=p.charAt(0)+"."+p.slice(1);p=p+(s<0?"p":"p+")+s}else if(s<0){for(;++s;)p="0"+p;p="0."+p}else if(++s>c)for(s-=c;s--;)p+="0";else s<c&&(p=p.slice(0,s)+"."+p.slice(s))}p=(e==16?"0x":e==2?"0b":e==8?"0o":"")+p}return r.s<0?"-"+p:p}o(j3,"toStringBinary");function iH(r,e){if(r.length>e)return r.length=e,!0}o(iH,"truncate");function Jde(r){return new this(r).abs()}o(Jde,"abs");function Yde(r){return new this(r).acos()}o(Yde,"acos");function Qde(r){return new this(r).acosh()}o(Qde,"acosh");function $de(r,e){return new this(r).plus(e)}o($de,"add");function Zde(r){return new this(r).asin()}o(Zde,"asin");function eme(r){return new this(r).asinh()}o(eme,"asinh");function tme(r){return new this(r).atan()}o(tme,"atan");function rme(r){return new this(r).atanh()}o(rme,"atanh");function nme(r,e){r=new this(r),e=new this(e);var t,n=this.precision,i=this.rounding,s=n+4;return!r.s||!e.s?t=new this(NaN):!r.d&&!e.d?(t=pl(this,s,1).times(e.s>0?.25:.75),t.s=r.s):!e.d||r.isZero()?(t=e.s<0?pl(this,n,i):new this(0),t.s=r.s):!r.d||e.isZero()?(t=pl(this,s,1).times(.5),t.s=r.s):e.s<0?(this.precision=s,this.rounding=1,t=this.atan(Sn(r,e,s,1)),e=pl(this,s,1),this.precision=n,this.rounding=i,t=r.s<0?t.minus(e):t.plus(e)):t=this.atan(Sn(r,e,s,1)),t}o(nme,"atan2");function ime(r){return new this(r).cbrt()}o(ime,"cbrt");function sme(r){return It(r=new this(r),r.e+1,2)}o(sme,"ceil");function ame(r,e,t){return new this(r).clamp(e,t)}o(ame,"clamp");function ome(r){if(!r||typeof r!="object")throw Error(TT+"Object expected");var e,t,n,i=r.defaults===!0,s=["precision",1,jh,"rounding",0,8,"toExpNeg",-Ny,0,"toExpPos",0,Ny,"maxE",0,Ny,"minE",-Ny,0,"modulo",0,9];for(e=0;e<s.length;e+=3)if(t=s[e],i&&(this[t]=F3[t]),(n=r[t])!==void 0)if(ia(n)===n&&n>=s[e+1]&&n<=s[e+2])this[t]=n;else throw Error(Vh+t+": "+n);if(t="crypto",i&&(this[t]=F3[t]),(n=r[t])!==void 0)if(n===!0||n===!1||n===0||n===1)if(n)if(typeof crypto<"u"&&crypto&&(crypto.getRandomValues||crypto.randomBytes))this[t]=!0;else throw Error(uH);else this[t]=!1;else throw Error(Vh+t+": "+n);return this}o(ome,"config");function ume(r){return new this(r).cos()}o(ume,"cos");function cme(r){return new this(r).cosh()}o(cme,"cosh");function gH(r){var e,t,n;function i(s){var a,u,c,l=this;if(!(l instanceof i))return new i(s);if(l.constructor=i,sH(s)){l.s=s.s,Yt?!s.d||s.e>i.maxE?(l.e=NaN,l.d=null):s.e<i.minE?(l.e=0,l.d=[0]):(l.e=s.e,l.d=s.d.slice()):(l.e=s.e,l.d=s.d?s.d.slice():s.d);return}if(c=typeof s,c==="number"){if(s===0){l.s=1/s<0?-1:1,l.e=0,l.d=[0];return}if(s<0?(s=-s,l.s=-1):l.s=1,s===~~s&&s<1e7){for(a=0,u=s;u>=10;u/=10)a++;Yt?a>i.maxE?(l.e=NaN,l.d=null):a<i.minE?(l.e=0,l.d=[0]):(l.e=a,l.d=[s]):(l.e=a,l.d=[s]);return}if(s*0!==0){s||(l.s=NaN),l.e=NaN,l.d=null;return}return ET(l,s.toString())}if(c==="string")return(u=s.charCodeAt(0))===45?(s=s.slice(1),l.s=-1):(u===43&&(s=s.slice(1)),l.s=1),lH.test(s)?ET(l,s):Xde(l,s);if(c==="bigint")return s<0?(s=-s,l.s=-1):l.s=1,ET(l,s.toString());throw Error(Vh+s)}if(o(i,"Decimal"),i.prototype=ze,i.ROUND_UP=0,i.ROUND_DOWN=1,i.ROUND_CEIL=2,i.ROUND_FLOOR=3,i.ROUND_HALF_UP=4,i.ROUND_HALF_DOWN=5,i.ROUND_HALF_EVEN=6,i.ROUND_HALF_CEIL=7,i.ROUND_HALF_FLOOR=8,i.EUCLID=9,i.config=i.set=ome,i.clone=gH,i.isDecimal=sH,i.abs=Jde,i.acos=Yde,i.acosh=Qde,i.add=$de,i.asin=Zde,i.asinh=eme,i.atan=tme,i.atanh=rme,i.atan2=nme,i.cbrt=ime,i.ceil=sme,i.clamp=ame,i.cos=ume,i.cosh=cme,i.div=lme,i.exp=fme,i.floor=pme,i.hypot=hme,i.ln=dme,i.log=mme,i.log10=vme,i.log2=gme,i.max=yme,i.min=Sme,i.mod=bme,i.mul=xme,i.pow=wme,i.random=Cme,i.round=Eme,i.sign=Ame,i.sin=Nme,i.sinh=Ime,i.sqrt=Tme,i.sub=Rme,i.sum=Dme,i.tan=Ome,i.tanh=Bme,i.trunc=Pme,r===void 0&&(r={}),r&&r.defaults!==!0)for(n=["precision","rounding","toExpNeg","toExpPos","maxE","minE","modulo","crypto"],e=0;e<n.length;)r.hasOwnProperty(t=n[e++])||(r[t]=this[t]);return i.config(r),i}o(gH,"clone");function lme(r,e){return new this(r).div(e)}o(lme,"div");function fme(r){return new this(r).exp()}o(fme,"exp");function pme(r){return It(r=new this(r),r.e+1,3)}o(pme,"floor");function hme(){var r,e,t=new this(0);for(Yt=!1,r=0;r<arguments.length;)if(e=new this(arguments[r++]),e.d)t.d&&(t=t.plus(e.times(e)));else{if(e.s)return Yt=!0,new this(1/0);t=e}return Yt=!0,t.sqrt()}o(hme,"hypot");function sH(r){return r instanceof Ty||r&&r.toStringTag===cH||!1}o(sH,"isDecimalInstance");function dme(r){return new this(r).ln()}o(dme,"ln");function mme(r,e){return new this(r).log(e)}o(mme,"log");function gme(r){return new this(r).log(2)}o(gme,"log2");function vme(r){return new this(r).log(10)}o(vme,"log10");function yme(){return hH(this,arguments,-1)}o(yme,"max");function Sme(){return hH(this,arguments,1)}o(Sme,"min");function bme(r,e){return new this(r).mod(e)}o(bme,"mod");function xme(r,e){return new this(r).mul(e)}o(xme,"mul");function wme(r,e){return new this(r).pow(e)}o(wme,"pow");function Cme(r){var e,t,n,i,s=0,a=new this(1),u=[];if(r===void 0?r=this.precision:Ja(r,1,jh),n=Math.ceil(r/Lt),this.crypto)if(crypto.getRandomValues)for(e=crypto.getRandomValues(new Uint32Array(n));s<n;)i=e[s],i>=429e7?e[s]=crypto.getRandomValues(new Uint32Array(1))[0]:u[s++]=i%1e7;else if(crypto.randomBytes){for(e=crypto.randomBytes(n*=4);s<n;)i=e[s]+(e[s+1]<<8)+(e[s+2]<<16)+((e[s+3]&127)<<24),i>=214e7?crypto.randomBytes(4).copy(e,s):(u.push(i%1e7),s+=4);s=n/4}else throw Error(uH);else for(;s<n;)u[s++]=Math.random()*1e7|0;for(n=u[--s],r%=Lt,n&&r&&(i=Ji(10,Lt-r),u[s]=(n/i|0)*i);u[s]===0;s--)u.pop();if(s<0)t=0,u=[0];else{for(t=-1;u[0]===0;t-=Lt)u.shift();for(n=1,i=u[0];i>=10;i/=10)n++;n<Lt&&(t-=Lt-n)}return a.e=t,a.d=u,a}o(Cme,"random");function Eme(r){return It(r=new this(r),r.e+1,this.rounding)}o(Eme,"round");function Ame(r){return r=new this(r),r.d?r.d[0]?r.s:0*r.s:r.s||NaN}o(Ame,"sign");function Nme(r){return new this(r).sin()}o(Nme,"sin");function Ime(r){return new this(r).sinh()}o(Ime,"sinh");function Tme(r){return new this(r).sqrt()}o(Tme,"sqrt");function Rme(r,e){return new this(r).sub(e)}o(Rme,"sub");function Dme(){var r=0,e=arguments,t=new this(e[r]);for(Yt=!1;t.s&&++r<e.length;)t=t.plus(e[r]);return Yt=!0,It(t,this.precision,this.rounding)}o(Dme,"sum");function Ome(r){return new this(r).tan()}o(Ome,"tan");function Bme(r){return new this(r).tanh()}o(Bme,"tanh");function Pme(r){return It(r=new this(r),r.e+1,1)}o(Pme,"trunc");ze[Symbol.for("nodejs.util.inspect.custom")]=ze.toString;ze[Symbol.toStringTag]="Decimal";var Ty=ze.constructor=gH(F3);AT=new Ty(AT);NT=new Ty(NT);var $r=class r extends Ty{static{o(this,"Decimal")}static from(e){return new r(e)}static newOrZero(e){return e===void 0?r.from(0):r.from(e)}static newOrUndefined(e){if(e!==void 0)return r.from(e)}};var vH=lr(require("pdfkit"),1);var Fw=class r{static{o(this,"PdfkitPdfBuilder")}defaults={autoFirstPage:!1};doc=new vH.default(this.defaults);constructor(e){e&&this.configure(e)}static new(e){return new r(e)}configure(e){return this.doc.options={...this.doc.options,...e},this}pipe(e){return this.doc.pipe(e),this}end(){return this.doc.end()}restore(){return this.doc.restore(),this}save(){return this.doc.save(),this}stroke(e){return this.doc.stroke(e),this}page(e){return this.doc.addPage(e),this}table(e){return this.doc.table(e),this}text(e,t){let{x:n,y:i,...s}=t??{};return n||i?(this.doc.text(e,n,i,s),this):(this.doc.text(e,t),this)}fontSize(e){return this.doc.fontSize(e),this}font(e,t,n){return typeof t=="string"?(this.doc.font(e,t,n),this):typeof t=="number"?(this.doc.font(e,t),this):(this.doc.font(e),this)}image(e,t,n,i){return typeof t=="number"&&typeof n=="number"?(this.doc.image(e,t,n,i),this):(this.doc.image(e,t),this)}rect(e,t,n,i){return this.doc.rect(e,t,n,i),this}path(e){return this.doc.path(e),this}translate(e,t){return this.doc.translate(e,t),this}scale(e,t){return this.doc.scale(e,t),this}fill(e,t){return this.doc.fill(e,t),this}pageWidth(){return this.doc.page.width}pageHeight(){return this.doc.page.height}heightOfString(e,t){return this.doc.heightOfString(e,t)}widthOfString(e,t){return this.doc.widthOfString(e,t)}pageMargins(){return this.doc.page.margins}currentLineHeight(e){return this.doc.currentLineHeight(e)}x(){return this.doc.x}y(){return this.doc.y}moveDown(e){return this.doc.moveDown(e),this}row(e,...t){let n,i;typeof e=="function"?(n={},i=[e,...t]):(n=e??{},i=t),n.columns??=1;let s=this.y(),a=n.right??0,u=n.left??0,c=n.gap??0,l=this.pageWidth(),p=l-u-a-c*(n.columns-1);n.size??=Array(n.columns).fill(12/n.columns);let h=[];for(let g=0;g<n.columns;g++){let y=n.size[g]/12;h[g]=p*y}for(let g=0,y=u;g<n.columns;g++){let v=g===n.columns-1,b=h[g];if(v&&n.columns>1){let D=l-a-y;D>0&&Math.abs(D-b)>.01&&(b=D)}let S={y:s,x:y,width:b};i[g](S),y+=b,c>0&&!v&&(y+=c)}return this}};var kw=class{static{o(this,"MemoryCacheAdapter")}cache=new Map;async get(e){return Promise.resolve(this.cache.get(e)??null)}has(e){return Promise.resolve(this.cache.has(e))}set(e,t){return this.cache.set(e,t),Promise.resolve(!0)}};var HL=lr(require("fs"),1),_7=lr(require("path"),1),eC=lr(require("crypto"),1),Qh=lr(P7(),1);var gye=o(r=>!!r&&typeof r=="object"&&"message"in r,"hasMessageInRecord"),Kf=o(r=>typeof r=="string"?Xr(new fr(r)):r instanceof Error?Xr(new fr(r.message,{cause:r.cause})):gye(r)?Xr(new fr(r.message)):Xr(new fr("unexpected error")),"leftFromError");var Zw=class{static{o(this,"NullCacheAdapter")}async get(e){return Promise.resolve(null)}has(e){return Promise.resolve(!1)}set(e,t){return Promise.resolve(!0)}};var tC=class{static{o(this,"NativeCertificateRepository")}httpClient;signer;cache;constructor(e,t,n=new Zw){this.httpClient=e,this.signer=t,this.cache=n}async read(e){try{let{password:t,pfxPathOrBase64:n}=e;if(!n)return Xr(new fr("Certificate path is required"));let i=await this.getPfxBuffer(e);if(i.isLeft())return i;let s=Qh.default.asn1.fromDer(i.value.toString("binary")),a=Qh.default.pkcs12.pkcs12FromAsn1(s,t),{certBag:u}=Qh.default.pki.oids,l=a.getBags({bagType:u})[u];if(!l?.length)return Xr(new fr("Cannot read certificate"));let[{cert:p},...h]=l;if(!p)return Xr(new fr("Issuer Certificate not found"));let g=h.reduce((v,{cert:b})=>(b&&v.push(new eC.default.X509Certificate(Qh.default.pki.certificateToPem(b))),v),[]),y=new eC.default.X509Certificate(Qh.default.pki.certificateToPem(p));return gr({ca:g,password:t,certificate:y,privateKey:this.getPrivateKey(a)})}catch(t){return Kf(t)}}getPrivateKey(e){let{pkcs8ShroudedKeyBag:t}=Qh.default.pki.oids,i=e.getBags({bagType:t})[t]?.[0]?.key;if(i)return eC.default.createPrivateKey(Qh.default.pki.privateKeyToPem(i))}async sign(e,t,n=ac.SHA1){return this.signer.sign(e,t,n)}getCertificateInfo(e){return new P0().extractCertificateInfo(e)}getStringCertificate(e){return e.raw.toString("base64")}getStringPrivateKey(e){try{return e.export({type:"pkcs8",format:"pem"})}catch{throw new fr("Cannot extract private key")}}async getPfxBuffer(e){let{pfxPathOrBase64:t,password:n}=e,i=this.getCacheKey(t,n),s=await this.cache.get(i);if(s)return gr(s);if(_7.default.isAbsolute(t)||HL.default.existsSync(t))return this.hitBufferOnCache(i,HL.default.readFileSync(t));if(this.isValidRemoteUrl(t))try{let a=await this.httpClient.get(t,{responseType:"arraybuffer"});return await this.hitBufferOnCache(i,Buffer.from(a.data))}catch(a){return Kf(a)}return this.hitBufferOnCache(i,Buffer.from(t,"base64"))}getCacheKey(e,t){return eC.default.createHash("sha256").update(`${e}.${t}`).digest("hex")}async hitBufferOnCache(e,t){return await this.cache.set(e,t),gr(t)}isValidRemoteUrl(e){try{return new URL(e),!0}catch{return!1}}};var ZZ=lr(require("os"),1),eee=require("crypto"),rO=require("https"),tee=lr(F$(),1);function YC(r,e){return o(function(){return r.apply(e,arguments)},"wrap")}o(YC,"bind");var{toString:W2e}=Object.prototype,{getPrototypeOf:$8}=Object,{iterator:jD,toStringTag:V$}=Symbol,MD=(r=>e=>{let t=W2e.call(e);return r[t]||(r[t]=t.slice(8,-1).toLowerCase())})(Object.create(null)),gc=o(r=>(r=r.toLowerCase(),e=>MD(e)===r),"kindOfTest"),UD=o(r=>e=>typeof e===r,"typeOfTest"),{isArray:N1}=Array,A1=UD("undefined");function QC(r){return r!==null&&!A1(r)&&r.constructor!==null&&!A1(r.constructor)&&oo(r.constructor.isBuffer)&&r.constructor.isBuffer(r)}o(QC,"isBuffer");var j$=gc("ArrayBuffer");function J2e(r){let e;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?e=ArrayBuffer.isView(r):e=r&&r.buffer&&j$(r.buffer),e}o(J2e,"isArrayBufferView");var Y2e=UD("string"),oo=UD("function"),M$=UD("number"),$C=o(r=>r!==null&&typeof r=="object","isObject"),Q2e=o(r=>r===!0||r===!1,"isBoolean"),VD=o(r=>{if(MD(r)!=="object")return!1;let e=$8(r);return(e===null||e===Object.prototype||Object.getPrototypeOf(e)===null)&&!(V$ in r)&&!(jD in r)},"isPlainObject"),$2e=o(r=>{if(!$C(r)||QC(r))return!1;try{return Object.keys(r).length===0&&Object.getPrototypeOf(r)===Object.prototype}catch{return!1}},"isEmptyObject"),Z2e=gc("Date"),eIe=gc("File"),tIe=gc("Blob"),rIe=gc("FileList"),nIe=o(r=>$C(r)&&oo(r.pipe),"isStream"),iIe=o(r=>{let e;return r&&(typeof FormData=="function"&&r instanceof FormData||oo(r.append)&&((e=MD(r))==="formdata"||e==="object"&&oo(r.toString)&&r.toString()==="[object FormData]"))},"isFormData"),sIe=gc("URLSearchParams"),[aIe,oIe,uIe,cIe]=["ReadableStream","Request","Response","Headers"].map(gc),lIe=o(r=>r.trim?r.trim():r.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),"trim");function ZC(r,e,{allOwnKeys:t=!1}={}){if(r===null||typeof r>"u")return;let n,i;if(typeof r!="object"&&(r=[r]),N1(r))for(n=0,i=r.length;n<i;n++)e.call(null,r[n],n,r);else{if(QC(r))return;let s=t?Object.getOwnPropertyNames(r):Object.keys(r),a=s.length,u;for(n=0;n<a;n++)u=s[n],e.call(null,r[u],u,r)}}o(ZC,"forEach");function U$(r,e){if(QC(r))return null;e=e.toLowerCase();let t=Object.keys(r),n=t.length,i;for(;n-- >0;)if(i=t[n],e===i.toLowerCase())return i;return null}o(U$,"findKey");var X0=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,q$=o(r=>!A1(r)&&r!==X0,"isContextDefined");function Q8(){let{caseless:r,skipUndefined:e}=q$(this)&&this||{},t={},n=o((i,s)=>{if(s==="__proto__"||s==="constructor"||s==="prototype")return;let a=r&&U$(t,s)||s;VD(t[a])&&VD(i)?t[a]=Q8(t[a],i):VD(i)?t[a]=Q8({},i):N1(i)?t[a]=i.slice():(!e||!A1(i))&&(t[a]=i)},"assignValue");for(let i=0,s=arguments.length;i<s;i++)arguments[i]&&ZC(arguments[i],n);return t}o(Q8,"merge");var fIe=o((r,e,t,{allOwnKeys:n}={})=>(ZC(e,(i,s)=>{t&&oo(i)?Object.defineProperty(r,s,{value:YC(i,t),writable:!0,enumerable:!0,configurable:!0}):Object.defineProperty(r,s,{value:i,writable:!0,enumerable:!0,configurable:!0})},{allOwnKeys:n}),r),"extend"),pIe=o(r=>(r.charCodeAt(0)===65279&&(r=r.slice(1)),r),"stripBOM"),hIe=o((r,e,t,n)=>{r.prototype=Object.create(e.prototype,n),Object.defineProperty(r.prototype,"constructor",{value:r,writable:!0,enumerable:!1,configurable:!0}),Object.defineProperty(r,"super",{value:e.prototype}),t&&Object.assign(r.prototype,t)},"inherits"),dIe=o((r,e,t,n)=>{let i,s,a,u={};if(e=e||{},r==null)return e;do{for(i=Object.getOwnPropertyNames(r),s=i.length;s-- >0;)a=i[s],(!n||n(a,r,e))&&!u[a]&&(e[a]=r[a],u[a]=!0);r=t!==!1&&$8(r)}while(r&&(!t||t(r,e))&&r!==Object.prototype);return e},"toFlatObject"),mIe=o((r,e,t)=>{r=String(r),(t===void 0||t>r.length)&&(t=r.length),t-=e.length;let n=r.indexOf(e,t);return n!==-1&&n===t},"endsWith"),gIe=o(r=>{if(!r)return null;if(N1(r))return r;let e=r.length;if(!M$(e))return null;let t=new Array(e);for(;e-- >0;)t[e]=r[e];return t},"toArray"),vIe=(r=>e=>r&&e instanceof r)(typeof Uint8Array<"u"&&$8(Uint8Array)),yIe=o((r,e)=>{let n=(r&&r[jD]).call(r),i;for(;(i=n.next())&&!i.done;){let s=i.value;e.call(r,s[0],s[1])}},"forEachEntry"),SIe=o((r,e)=>{let t,n=[];for(;(t=r.exec(e))!==null;)n.push(t);return n},"matchAll"),bIe=gc("HTMLFormElement"),xIe=o(r=>r.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,o(function(t,n,i){return n.toUpperCase()+i},"replacer")),"toCamelCase"),k$=(({hasOwnProperty:r})=>(e,t)=>r.call(e,t))(Object.prototype),wIe=gc("RegExp"),H$=o((r,e)=>{let t=Object.getOwnPropertyDescriptors(r),n={};ZC(t,(i,s)=>{let a;(a=e(i,s,r))!==!1&&(n[s]=a||i)}),Object.defineProperties(r,n)},"reduceDescriptors"),CIe=o(r=>{H$(r,(e,t)=>{if(oo(r)&&["arguments","caller","callee"].indexOf(t)!==-1)return!1;let n=r[t];if(oo(n)){if(e.enumerable=!1,"writable"in e){e.writable=!1;return}e.set||(e.set=()=>{throw Error("Can not rewrite read-only method '"+t+"'")})}})},"freezeMethods"),EIe=o((r,e)=>{let t={},n=o(i=>{i.forEach(s=>{t[s]=!0})},"define");return N1(r)?n(r):n(String(r).split(e)),t},"toObjectSet"),AIe=o(()=>{},"noop"),NIe=o((r,e)=>r!=null&&Number.isFinite(r=+r)?r:e,"toFiniteNumber");function IIe(r){return!!(r&&oo(r.append)&&r[V$]==="FormData"&&r[jD])}o(IIe,"isSpecCompliantForm");var TIe=o(r=>{let e=new Array(10),t=o((n,i)=>{if($C(n)){if(e.indexOf(n)>=0)return;if(QC(n))return n;if(!("toJSON"in n)){e[i]=n;let s=N1(n)?[]:{};return ZC(n,(a,u)=>{let c=t(a,i+1);!A1(c)&&(s[u]=c)}),e[i]=void 0,s}}return n},"visit");return t(r,0)},"toJSONObject"),RIe=gc("AsyncFunction"),DIe=o(r=>r&&($C(r)||oo(r))&&oo(r.then)&&oo(r.catch),"isThenable"),z$=((r,e)=>r?setImmediate:e?((t,n)=>(X0.addEventListener("message",({source:i,data:s})=>{i===X0&&s===t&&n.length&&n.shift()()},!1),i=>{n.push(i),X0.postMessage(t,"*")}))(`axios@${Math.random()}`,[]):t=>setTimeout(t))(typeof setImmediate=="function",oo(X0.postMessage)),OIe=typeof queueMicrotask<"u"?queueMicrotask.bind(X0):typeof process<"u"&&process.nextTick||z$,BIe=o(r=>r!=null&&oo(r[jD]),"isIterable"),oe={isArray:N1,isArrayBuffer:j$,isBuffer:QC,isFormData:iIe,isArrayBufferView:J2e,isString:Y2e,isNumber:M$,isBoolean:Q2e,isObject:$C,isPlainObject:VD,isEmptyObject:$2e,isReadableStream:aIe,isRequest:oIe,isResponse:uIe,isHeaders:cIe,isUndefined:A1,isDate:Z2e,isFile:eIe,isBlob:tIe,isRegExp:wIe,isFunction:oo,isStream:nIe,isURLSearchParams:sIe,isTypedArray:vIe,isFileList:rIe,forEach:ZC,merge:Q8,extend:fIe,trim:lIe,stripBOM:pIe,inherits:hIe,toFlatObject:dIe,kindOf:MD,kindOfTest:gc,endsWith:mIe,toArray:gIe,forEachEntry:yIe,matchAll:SIe,isHTMLForm:bIe,hasOwnProperty:k$,hasOwnProp:k$,reduceDescriptors:H$,freezeMethods:CIe,toObjectSet:EIe,toCamelCase:xIe,noop:AIe,toFiniteNumber:NIe,findKey:U$,global:X0,isContextDefined:q$,isSpecCompliantForm:IIe,toJSONObject:TIe,isAsyncFn:RIe,isThenable:DIe,setImmediate:z$,asap:OIe,isIterable:BIe};var Vo=class K$ extends Error{static{o(this,"AxiosError")}static from(e,t,n,i,s,a){let u=new K$(e.message,t||e.code,n,i,s);return u.cause=e,u.name=e.name,a&&Object.assign(u,a),u}constructor(e,t,n,i,s){super(e),this.name="AxiosError",this.isAxiosError=!0,t&&(this.code=t),n&&(this.config=n),i&&(this.request=i),s&&(this.response=s,this.status=s.status)}toJSON(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:oe.toJSONObject(this.config),code:this.code,status:this.status}}};Vo.ERR_BAD_OPTION_VALUE="ERR_BAD_OPTION_VALUE";Vo.ERR_BAD_OPTION="ERR_BAD_OPTION";Vo.ECONNABORTED="ECONNABORTED";Vo.ETIMEDOUT="ETIMEDOUT";Vo.ERR_NETWORK="ERR_NETWORK";Vo.ERR_FR_TOO_MANY_REDIRECTS="ERR_FR_TOO_MANY_REDIRECTS";Vo.ERR_DEPRECATED="ERR_DEPRECATED";Vo.ERR_BAD_RESPONSE="ERR_BAD_RESPONSE";Vo.ERR_BAD_REQUEST="ERR_BAD_REQUEST";Vo.ERR_CANCELED="ERR_CANCELED";Vo.ERR_NOT_SUPPORT="ERR_NOT_SUPPORT";Vo.ERR_INVALID_URL="ERR_INVALID_URL";var st=Vo;var Y$=lr(J$(),1),qD=Y$.default;function nV(r){return oe.isPlainObject(r)||oe.isArray(r)}o(nV,"isVisitable");function $$(r){return oe.endsWith(r,"[]")?r.slice(0,-2):r}o($$,"removeBrackets");function Q$(r,e,t){return r?r.concat(e).map(o(function(i,s){return i=$$(i),!t&&s?"["+i+"]":i},"each")).join(t?".":""):e}o(Q$,"renderKey");function qIe(r){return oe.isArray(r)&&!r.some(nV)}o(qIe,"isFlatArray");var HIe=oe.toFlatObject(oe,{},null,o(function(e){return/^is[A-Z]/.test(e)},"filter"));function zIe(r,e,t){if(!oe.isObject(r))throw new TypeError("target must be an object");e=e||new(qD||FormData),t=oe.toFlatObject(t,{metaTokens:!0,dots:!1,indexes:!1},!1,o(function(b,S){return!oe.isUndefined(S[b])},"defined"));let n=t.metaTokens,i=t.visitor||p,s=t.dots,a=t.indexes,c=(t.Blob||typeof Blob<"u"&&Blob)&&oe.isSpecCompliantForm(e);if(!oe.isFunction(i))throw new TypeError("visitor must be a function");function l(v){if(v===null)return"";if(oe.isDate(v))return v.toISOString();if(oe.isBoolean(v))return v.toString();if(!c&&oe.isBlob(v))throw new st("Blob is not supported. Use a Buffer instead.");return oe.isArrayBuffer(v)||oe.isTypedArray(v)?c&&typeof Blob=="function"?new Blob([v]):Buffer.from(v):v}o(l,"convertValue");function p(v,b,S){let A=v;if(v&&!S&&typeof v=="object"){if(oe.endsWith(b,"{}"))b=n?b:b.slice(0,-2),v=JSON.stringify(v);else if(oe.isArray(v)&&qIe(v)||(oe.isFileList(v)||oe.endsWith(b,"[]"))&&(A=oe.toArray(v)))return b=$$(b),A.forEach(o(function(C,E){!(oe.isUndefined(C)||C===null)&&e.append(a===!0?Q$([b],E,s):a===null?b:b+"[]",l(C))},"each")),!1}return nV(v)?!0:(e.append(Q$(S,b,s),l(v)),!1)}o(p,"defaultVisitor");let h=[],g=Object.assign(HIe,{defaultVisitor:p,convertValue:l,isVisitable:nV});function y(v,b){if(!oe.isUndefined(v)){if(h.indexOf(v)!==-1)throw Error("Circular reference detected in "+b.join("."));h.push(v),oe.forEach(v,o(function(A,D){(!(oe.isUndefined(A)||A===null)&&i.call(e,A,oe.isString(D)?D.trim():D,b,g))===!0&&y(A,b?b.concat(D):[D])},"each")),h.pop()}}if(o(y,"build"),!oe.isObject(r))throw new TypeError("data must be an object");return y(r),e}o(zIe,"toFormData");var Cd=zIe;function Z$(r){let e={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(r).replace(/[!'()~]|%20|%00/g,o(function(n){return e[n]},"replacer"))}o(Z$,"encode");function eZ(r,e){this._pairs=[],r&&Cd(r,this,e)}o(eZ,"AxiosURLSearchParams");var tZ=eZ.prototype;tZ.append=o(function(e,t){this._pairs.push([e,t])},"append");tZ.toString=o(function(e){let t=e?function(n){return e.call(this,n,Z$)}:Z$;return this._pairs.map(o(function(i){return t(i[0])+"="+t(i[1])},"each"),"").join("&")},"toString");var rZ=eZ;function KIe(r){return encodeURIComponent(r).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}o(KIe,"encode");function W0(r,e,t){if(!e)return r;let n=t&&t.encode||KIe,i=oe.isFunction(t)?{serialize:t}:t,s=i&&i.serialize,a;if(s?a=s(e,i):a=oe.isURLSearchParams(e)?e.toString():new rZ(e,i).toString(n),a){let u=r.indexOf("#");u!==-1&&(r=r.slice(0,u)),r+=(r.indexOf("?")===-1?"?":"&")+a}return r}o(W0,"buildURL");var GIe=class{static{o(this,"InterceptorManager")}constructor(){this.handlers=[]}use(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:n?n.synchronous:!1,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){oe.forEach(this.handlers,o(function(n){n!==null&&e(n)},"forEachHandler"))}},iV=GIe;var Ed={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1,legacyInterceptorReqResOrdering:!0};var aZ=lr(require("crypto"),1);var nZ=lr(require("url"),1),iZ=nZ.default.URLSearchParams;var sV="abcdefghijklmnopqrstuvwxyz",sZ="0123456789",oZ={DIGIT:sZ,ALPHA:sV,ALPHA_DIGIT:sV+sV.toUpperCase()+sZ},XIe=o((r=16,e=oZ.ALPHA_DIGIT)=>{let t="",{length:n}=e,i=new Uint32Array(r);aZ.default.randomFillSync(i);for(let s=0;s<r;s++)t+=e[i[s]%n];return t},"generateString"),uZ={isNode:!0,classes:{URLSearchParams:iZ,FormData:qD,Blob:typeof Blob<"u"&&Blob||null},ALPHABET:oZ,generateString:XIe,protocols:["http","https","file","data"]};var uV={};yT(uV,{hasBrowserEnv:()=>oV,hasStandardBrowserEnv:()=>WIe,hasStandardBrowserWebWorkerEnv:()=>JIe,navigator:()=>aV,origin:()=>YIe});var oV=typeof window<"u"&&typeof document<"u",aV=typeof navigator=="object"&&navigator||void 0,WIe=oV&&(!aV||["ReactNative","NativeScript","NS"].indexOf(aV.product)<0),JIe=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",YIe=oV&&window.location.href||"http://localhost";var Yr={...uV,...uZ};function cV(r,e){return Cd(r,new Yr.classes.URLSearchParams,{visitor:o(function(t,n,i,s){return Yr.isNode&&oe.isBuffer(t)?(this.append(n,t.toString("base64")),!1):s.defaultVisitor.apply(this,arguments)},"visitor"),...e})}o(cV,"toURLEncodedForm");function QIe(r){return oe.matchAll(/\w+|\[(\w*)]/g,r).map(e=>e[0]==="[]"?"":e[1]||e[0])}o(QIe,"parsePropPath");function $Ie(r){let e={},t=Object.keys(r),n,i=t.length,s;for(n=0;n<i;n++)s=t[n],e[s]=r[s];return e}o($Ie,"arrayToObject");function ZIe(r){function e(t,n,i,s){let a=t[s++];if(a==="__proto__")return!0;let u=Number.isFinite(+a),c=s>=t.length;return a=!a&&oe.isArray(i)?i.length:a,c?(oe.hasOwnProp(i,a)?i[a]=[i[a],n]:i[a]=n,!u):((!i[a]||!oe.isObject(i[a]))&&(i[a]=[]),e(t,n,i[a],s)&&oe.isArray(i[a])&&(i[a]=$Ie(i[a])),!u)}if(o(e,"buildPath"),oe.isFormData(r)&&oe.isFunction(r.entries)){let t={};return oe.forEachEntry(r,(n,i)=>{e(QIe(n),i,t,0)}),t}return null}o(ZIe,"formDataToJSON");var HD=ZIe;function eTe(r,e,t){if(oe.isString(r))try{return(e||JSON.parse)(r),oe.trim(r)}catch(n){if(n.name!=="SyntaxError")throw n}return(t||JSON.stringify)(r)}o(eTe,"stringifySafely");var lV={transitional:Ed,adapter:["xhr","http","fetch"],transformRequest:[o(function(e,t){let n=t.getContentType()||"",i=n.indexOf("application/json")>-1,s=oe.isObject(e);if(s&&oe.isHTMLForm(e)&&(e=new FormData(e)),oe.isFormData(e))return i?JSON.stringify(HD(e)):e;if(oe.isArrayBuffer(e)||oe.isBuffer(e)||oe.isStream(e)||oe.isFile(e)||oe.isBlob(e)||oe.isReadableStream(e))return e;if(oe.isArrayBufferView(e))return e.buffer;if(oe.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let u;if(s){if(n.indexOf("application/x-www-form-urlencoded")>-1)return cV(e,this.formSerializer).toString();if((u=oe.isFileList(e))||n.indexOf("multipart/form-data")>-1){let c=this.env&&this.env.FormData;return Cd(u?{"files[]":e}:e,c&&new c,this.formSerializer)}}return s||i?(t.setContentType("application/json",!1),eTe(e)):e},"transformRequest")],transformResponse:[o(function(e){let t=this.transitional||lV.transitional,n=t&&t.forcedJSONParsing,i=this.responseType==="json";if(oe.isResponse(e)||oe.isReadableStream(e))return e;if(e&&oe.isString(e)&&(n&&!this.responseType||i)){let a=!(t&&t.silentJSONParsing)&&i;try{return JSON.parse(e,this.parseReviver)}catch(u){if(a)throw u.name==="SyntaxError"?st.from(u,st.ERR_BAD_RESPONSE,this,null,this.response):u}}return e},"transformResponse")],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Yr.classes.FormData,Blob:Yr.classes.Blob},validateStatus:o(function(e){return e>=200&&e<300},"validateStatus"),headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};oe.forEach(["delete","get","head","post","put","patch"],r=>{lV.headers[r]={}});var I1=lV;var tTe=oe.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),cZ=o((r=>{let e={},t,n,i;return r&&r.split(`
112
+ `;return typeof n=="function"&&n(null,g),g},"render")});var ooe=Q(a4=>{"use strict";var a4e=x6();a4.render=a4e.render;a4.renderToFile=o(function(e,t,n,i){typeof i>"u"&&(i=n,n=void 0);let s=require("fs"),u='<?xml version="1.0" encoding="utf-8"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">'+a4.render(t,n);s.writeFile(e,u,i)},"renderToFile")});var uoe=Q(o4=>{"use strict";var w6=AI();function o4e(r,e,t){r.clearRect(0,0,e.width,e.height),e.style||(e.style={}),e.height=t,e.width=t,e.style.height=t+"px",e.style.width=t+"px"}o(o4e,"clearCanvas");function u4e(){try{return document.createElement("canvas")}catch{throw new Error("You need to specify a canvas element")}}o(u4e,"getCanvasElement");o4.render=o(function(e,t,n){let i=n,s=t;typeof i>"u"&&(!t||!t.getContext)&&(i=t,t=void 0),t||(s=u4e()),i=w6.getOptions(i);let a=w6.getImageWidth(e.modules.size,i),u=s.getContext("2d"),c=u.createImageData(a,a);return w6.qrToImageData(c.data,e,i),o4e(u,s,a),u.putImageData(c,0,0),s},"render");o4.renderToDataURL=o(function(e,t,n){let i=n;typeof i>"u"&&(!t||!t.getContext)&&(i=t,t=void 0),i||(i={});let s=o4.render(e,t,i),a=i.type||"image/png",u=i.rendererOpts||{};return s.toDataURL(a,u.quality)},"renderToDataURL")});var loe=Q(NI=>{"use strict";var c4e=FU(),C6=t6(),coe=uoe(),l4e=x6();function E6(r,e,t,n,i){let s=[].slice.call(arguments,1),a=s.length,u=typeof s[a-1]=="function";if(!u&&!c4e())throw new Error("Callback required as last argument");if(u){if(a<2)throw new Error("Too few arguments provided");a===2?(i=t,t=e,e=n=void 0):a===3&&(e.getContext&&typeof i>"u"?(i=n,n=void 0):(i=n,n=t,t=e,e=void 0))}else{if(a<1)throw new Error("Too few arguments provided");return a===1?(t=e,e=n=void 0):a===2&&!e.getContext&&(n=t,t=e,e=void 0),new Promise(function(c,l){try{let p=C6.create(t,n);c(r(p,e,n))}catch(p){l(p)}})}try{let c=C6.create(t,n);i(null,r(c,e,n))}catch(c){i(c)}}o(E6,"renderCanvas");NI.create=C6.create;NI.toCanvas=E6.bind(null,coe.render);NI.toDataURL=E6.bind(null,coe.renderToDataURL);NI.toString=E6.bind(null,function(r,e,t){return l4e.render(r,t)})});var doe=Q(f0=>{"use strict";var foe=FU(),A6=t6(),f4e=Jae(),poe=Yae(),p4e=ioe(),hoe=ooe();function II(r,e,t){if(typeof r>"u")throw new Error("String required as first argument");if(typeof t>"u"&&(t=e,e={}),typeof t!="function")if(foe())e=t||{},t=null;else throw new Error("Callback required as last argument");return{opts:e,cb:t}}o(II,"checkParams");function h4e(r){return r.slice((r.lastIndexOf(".")-1>>>0)+2).toLowerCase()}o(h4e,"getTypeFromFilename");function u4(r){switch(r){case"svg":return hoe;case"txt":case"utf8":return poe;case"png":case"image/png":default:return f4e}}o(u4,"getRendererFromType");function d4e(r){switch(r){case"svg":return hoe;case"terminal":return p4e;case"utf8":default:return poe}}o(d4e,"getStringRendererFromType");function TI(r,e,t){if(!t.cb)return new Promise(function(n,i){try{let s=A6.create(e,t.opts);return r(s,t.opts,function(a,u){return a?i(a):n(u)})}catch(s){i(s)}});try{let n=A6.create(e,t.opts);return r(n,t.opts,t.cb)}catch(n){t.cb(n)}}o(TI,"render");f0.create=A6.create;f0.toCanvas=loe().toCanvas;f0.toString=o(function(e,t,n){let i=II(e,t,n),s=i.opts?i.opts.type:void 0,a=d4e(s);return TI(a.render,e,i)},"toString");f0.toDataURL=o(function(e,t,n){let i=II(e,t,n),s=u4(i.opts.type);return TI(s.renderToDataURL,e,i)},"toDataURL");f0.toBuffer=o(function(e,t,n){let i=II(e,t,n),s=u4(i.opts.type);return TI(s.renderToBuffer,e,i)},"toBuffer");f0.toFile=o(function(e,t,n,i){if(typeof e!="string"||!(typeof t=="string"||typeof t=="object"))throw new Error("Invalid argument");if(arguments.length<3&&!foe())throw new Error("Too few arguments provided");let s=II(t,n,i),a=s.opts.type||h4e(e),c=u4(a).renderToFile.bind(null,e);return TI(c,t,s)},"toFile");f0.toFileStream=o(function(e,t,n){if(arguments.length<2)throw new Error("Too few arguments provided");let i=II(t,n,e.emit.bind(e,"error")),a=u4("png").renderToFileStream.bind(null,e);TI(a,t,i)},"toFileStream")});var goe=Q((Wpt,moe)=>{"use strict";moe.exports=doe()});var g4e={};yT(g4e,{ASN1:()=>P0,AccessKeyBuilder:()=>R2,CanonicalizationMethod:()=>R3,Choice:()=>nn,DanfceDefaultPdfDocument:()=>I6,DanfceReducedPdfDocument:()=>T6,Decimal:()=>$r,DefaultDetBuilderAggregator:()=>D2,DefaultTotalBuilderAggregator:()=>O2,DigestAlgorithm:()=>xT,EntitySigner:()=>Ow,Environment:()=>qe,IsDecimal:()=>mM,MemoryCacheAdapter:()=>kw,NFCeDto:()=>Tf,NFeDto:()=>Ch,NFeTsError:()=>fr,NativeCertificateRepository:()=>tC,NfceAuthorizerPipeline:()=>eU,NfceCancelPipeline:()=>ZM,NfceConsultStatusPipeline:()=>rU,NfceQrcode:()=>Jo,NfceRemoteTransmitter:()=>yo,NfceVoidRangePipeline:()=>tU,NfceXmlBuilder:()=>gI,NfceXmlBuilderPipeline:()=>LU,NfeAuthorizationResponsePipeline:()=>YM,NfeAuthorizerPipeline:()=>k2,NfeCancelPipeline:()=>F2,NfeConsultStatusPipeline:()=>V2,NfeDetXmlBuilder:()=>Is,NfeRemoteTransmitter:()=>vo,NfeVoidRangePipeline:()=>px,NfeXmlBuilder:()=>Fn,NfeXmlBuilderPipeline:()=>mI,NullCacheAdapter:()=>Zw,PdfkitPdfBuilder:()=>Fw,SignatureAlgorithm:()=>ac,SignatureMethod:()=>bT,SignatureNamespace:()=>ST,Signer:()=>C0,SkipAllValidations:()=>Mde,SkipValidation:()=>jde,SkipValidationMetadata:()=>Ay,SoapRemoteTransmissionRepository:()=>uE,StateAcronyms:()=>D3,StateCodeAcValidator:()=>vM,StateCodeAlValidator:()=>yM,StateCodeAmValidator:()=>SM,StateCodeApValidator:()=>bM,StateCodeBaValidator:()=>xM,StateCodeCeValidator:()=>wM,StateCodeDfValidator:()=>CM,StateCodeEsValidator:()=>EM,StateCodeGoValidator:()=>AM,StateCodeMaValidator:()=>NM,StateCodeMgValidator:()=>IM,StateCodeMsValidator:()=>TM,StateCodeMtValidator:()=>RM,StateCodePaValidator:()=>DM,StateCodePbValidator:()=>OM,StateCodePeValidator:()=>BM,StateCodePiValidator:()=>PM,StateCodePrValidator:()=>_M,StateCodeRjValidator:()=>LM,StateCodeRnValidator:()=>FM,StateCodeRoValidator:()=>kM,StateCodeRrValidator:()=>VM,StateCodeRsValidator:()=>jM,StateCodeScValidator:()=>MM,StateCodeSeValidator:()=>UM,StateCodeSpValidator:()=>qM,StateCodeToValidator:()=>HM,StateCodes:()=>pe,TpEmis:()=>ha,TpEvent:()=>kp,TransformDateString:()=>Fp,TransformDecimal:()=>ne,ValidateErrorsMetadata:()=>Po,Validates:()=>Ht,ValidationError:()=>B3,Xml2JsToolkit:()=>Mv,XmlSigner:()=>Bw,clearEmptyValues:()=>Pw,mapConstraintsToErrors:()=>_3,plainToInstance:()=>_w,schemas:()=>T2});module.exports=Vde(g4e);var ST="http://www.w3.org/2000/09/xmldsig#",R3="http://www.w3.org/TR/2001/REC-xml-c14n-20010315",bT=(function(r){return r.RSA_SHA1="http://www.w3.org/2000/09/xmldsig#rsa-sha1",r.RSA_SHA256="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256",r})({}),ac=(function(r){return r.SHA1="sha1",r.SHA256="sha256",r})({}),xT=(function(r){return r.SHA1="http://www.w3.org/2000/09/xmldsig#sha1",r.SHA256="http://www.w3.org/2001/04/xmlenc#sha256",r})({});var pe={AC:"12",AL:"27",AM:"13",AP:"16",BA:"29",CE:"23",DF:"53",ES:"32",GO:"52",MA:"21",MG:"31",MS:"50",MT:"51",PA:"15",PB:"25",PE:"26",PI:"22",PR:"41",RJ:"33",RN:"24",RO:"11",RR:"14",RS:"43",SC:"42",SE:"28",SP:"35",TO:"17"},D3=Object.keys(pe);var qe={Production:"1",Homolog:"2"};var O3={[pe.AC]:"America/Rio_Branco",[pe.AL]:"America/Maceio",[pe.AM]:"America/Manaus",[pe.AP]:"America/Belem",[pe.BA]:"America/Bahia",[pe.CE]:"America/Fortaleza",[pe.DF]:"America/Sao_Paulo",[pe.ES]:"America/Sao_Paulo",[pe.GO]:"America/Sao_Paulo",[pe.MA]:"America/Fortaleza",[pe.MG]:"America/Sao_Paulo",[pe.MS]:"America/Campo_Grande",[pe.MT]:"America/Cuiaba",[pe.PA]:"America/Belem",[pe.PB]:"America/Fortaleza",[pe.PE]:"America/Recife",[pe.PI]:"America/Fortaleza",[pe.PR]:"America/Sao_Paulo",[pe.RJ]:"America/Sao_Paulo",[pe.RN]:"America/Fortaleza",[pe.RO]:"America/Porto_Velho",[pe.RR]:"America/Boa_Vista",[pe.RS]:"America/Sao_Paulo",[pe.SC]:"America/Sao_Paulo",[pe.SE]:"America/Maceio",[pe.SP]:"America/Sao_Paulo",[pe.TO]:"America/Araguaina"};var fr=class extends Error{static{o(this,"NFeTsError")}};var B3=class extends fr{static{o(this,"ValidationError")}};var Dw={includeComments:!1,exclusive:!0};var w0=o(r=>{throw new fr("Didn't expect to get here")},"unreachable");var C0=class{static{o(this,"Signer")}toolkit;certificateRepository;algorithm;canonical;constructor(e,t,n=ac.SHA1,i=Dw){this.toolkit=e,this.certificateRepository=t,this.algorithm=n,this.canonical=i}assemble(e,t,n){let i=this.certificateRepository.getStringCertificate(n);return{$:{xmlns:ST},SignedInfo:e,SignatureValue:t,KeyInfo:{X509Data:{X509Certificate:i}}}}signedInfo(e,t){return{CanonicalizationMethod:{$:{Algorithm:R3}},SignatureMethod:{$:{Algorithm:this.signatureMethod}},Reference:{$:{URI:`#${this.toolkit.getAttribute(e,t)}`},Transforms:this.transforms,DigestMethod:{$:{Algorithm:this.digestAlgorithm}},DigestValue:this.digest(e)}}}digest(e){return this.toolkit.digest(e,this.algorithm,this.canonical)}async signOrLeft(e,t){let n=this.toolkit.canonicalize(await this.toolkit.build({$:{xmlns:ST},...e},{rootName:"SignedInfo"}),this.canonical);return this.certificateRepository.sign(n,t,this.algorithm)}get transforms(){return{Transform:[{$:{Algorithm:"http://www.w3.org/2000/09/xmldsig#enveloped-signature"}},{$:{Algorithm:"http://www.w3.org/TR/2001/REC-xml-c14n-20010315"}}]}}get digestAlgorithm(){switch(this.algorithm){case ac.SHA256:return xT.SHA256;case ac.SHA1:return xT.SHA1;default:return w0(this.algorithm)}}get signatureMethod(){switch(this.algorithm){case ac.SHA256:return bT.RSA_SHA256;case ac.SHA1:return bT.RSA_SHA1;default:return w0(this.algorithm)}}};var P3=class{static{o(this,"Left")}value;constructor(e){this.value=e}isLeft(){return!0}isRight(){return!1}},wT=class{static{o(this,"Right")}value;constructor(e){this.value=e}isLeft(){return!1}isRight(){return!0}},Xr=o(r=>new P3(r),"left"),gr=o(r=>r===void 0?new wT(void 0):new wT(r),"right");var Ow=class extends C0{static{o(this,"EntitySigner")}async sign(e,t,n){let{tag:i,mark:s}=t,{certificate:a}=n;if(!e[i])return Xr(new fr(`Node ${String(i)} not found`));let u=await this.toolkit.build(this.ns(e,i),{headless:!0,rootName:String(i),renderOpts:{pretty:!1}}),c=this.signedInfo(u,s),l=await this.signOrLeft(c,n);if(l.isLeft())return l;let p=e;return p.Signature=this.assemble(c,l.value,a),gr(p)}ns(e,t){let n=e.$?.xmlns,{$:i,...s}=e[t],{xmlns:a,...u}=i??{};return{$:{xmlns:n,...u},...s}}};var Bw=class extends C0{static{o(this,"XmlSigner")}async sign(e,t,n){let{tag:i,mark:s}=t,{certificate:a}=n,u=this.toolkit.getNode(e,i);if(!u)return Xr(new fr(`Node ${i} not found`));let c=this.signedInfo(u,s),l=await this.signOrLeft(c,n);if(l.isLeft())return l;let p=await this.toolkit.build(this.assemble(c,l.value,a),{rootName:"Signature"});return gr(this.toolkit.appendNode(e,p))}};var m3e=require("reflect-metadata"),rH=require("class-validator");var l3e=require("reflect-metadata");var Ay="__SkipValidation__",jde=o(()=>(r,e)=>{Reflect.defineMetadata(Ay,!0,r,e.toString())},"SkipValidation"),Mde=o(()=>r=>{Reflect.defineMetadata(Ay,!0,r)},"SkipAllValidations");var tH=require("class-transformer");var Pw=o(r=>{for(let[e,t]of Object.entries(r))typeof t>"u"&&delete r[e],t===""&&delete r[e],t&&typeof t=="object"&&Pw(t)},"clearEmptyValues"),_w=o((r,e,t={})=>{let n=(0,tH.plainToInstance)(e,r);return t.clearEmptyValues&&Pw(n),n},"plainToInstance");var Po="__ValidateErrors__",_3=o((r,e)=>r.reduce((t,n)=>{if(n.children?.length)return t.concat(_3(n.children,e?`${e}.${n.property}`:n.property));let i=Object.values(n.constraints??{}).map(s=>e?`${e}.${s}`:s).join(", ");return i?t.concat(i):t},[]),"mapConstraintsToErrors"),Ht=o(r=>(e,t,n)=>{let i=n.value;n.value=function(...s){let a=Reflect.getMetadata(Ay,this.constructor);if(Reflect.getMetadata(Ay,this.constructor.prototype,t.toString())===!0||a===!0)return i?.apply(this,s);let[c,...l]=s;if(!c)return i?.apply(this,s);let p=_w(c,r),h=(0,rH.validateSync)(p,{whitelist:!0});if(Pw(p),h.length){let g=Reflect.getMetadata(Po,this)??[];Reflect.defineMetadata(Po,g.concat(_3(h,i?.name)),this)}return i?.apply(this,[p,...l])}},"Validates");var sZe=require("reflect-metadata");var Ny=9e15,jh=1e9,L3="0123456789abcdef",AT="2.3025850929940456840179914546843642076011014886287729760333279009675726096773524802359972050895982983419677840422862486334095254650828067566662873690987816894829072083255546808437998948262331985283935053089653777326288461633662222876982198867465436674744042432743651550489343149393914796194044002221051017141748003688084012647080685567743216228355220114804663715659121373450747856947683463616792101806445070648000277502684916746550586856935673420670581136429224554405758925724208241314695689016758940256776311356919292033376587141660230105703089634572075440370847469940168269282808481184289314848524948644871927809676271275775397027668605952496716674183485704422507197965004714951050492214776567636938662976979522110718264549734772662425709429322582798502585509785265383207606726317164309505995087807523710333101197857547331541421808427543863591778117054309827482385045648019095610299291824318237525357709750539565187697510374970888692180205189339507238539205144634197265287286965110862571492198849978748873771345686209167058",NT="3.1415926535897932384626433832795028841971693993751058209749445923078164062862089986280348253421170679821480865132823066470938446095505822317253594081284811174502841027019385211055596446229489549303819644288109756659334461284756482337867831652712019091456485669234603486104543266482133936072602491412737245870066063155881748815209209628292540917153643678925903600113305305488204665213841469519415116094330572703657595919530921861173819326117931051185480744623799627495673518857527248912279381830119491298336733624406566430860213949463952247371907021798609437027705392171762931767523846748184676694051320005681271452635608277857713427577896091736371787214684409012249534301465495853710507922796892589235420199561121290219608640344181598136297747713099605187072113499999983729780499510597317328160963185950244594553469083026425223082533446850352619311881710100031378387528865875332083814206171776691473035982534904287554687311595628638823537875937519577818577805321712268066130019278766111959092164201989380952572010654858632789",F3={precision:20,rounding:4,modulo:1,toExpNeg:-7,toExpPos:21,minE:-Ny,maxE:Ny,crypto:!1},aH,Mf,Yt=!0,TT="[DecimalError] ",Vh=TT+"Invalid argument: ",oH=TT+"Precision limit exceeded",uH=TT+"crypto unavailable",cH="[object Decimal]",ia=Math.floor,Ji=Math.pow,Ude=/^0b([01]+(\.[01]*)?|\.[01]+)(p[+-]?\d+)?$/i,qde=/^0x([0-9a-f]+(\.[0-9a-f]*)?|\.[0-9a-f]+)(p[+-]?\d+)?$/i,Hde=/^0o([0-7]+(\.[0-7]*)?|\.[0-7]+)(p[+-]?\d+)?$/i,lH=/^(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i,oc=1e7,Lt=7,zde=9007199254740991,Kde=AT.length-1,k3=NT.length-1,ze={toStringTag:cH};ze.absoluteValue=ze.abs=function(){var r=new this.constructor(this);return r.s<0&&(r.s=1),It(r)};ze.ceil=function(){return It(new this.constructor(this),this.e+1,2)};ze.clampedTo=ze.clamp=function(r,e){var t,n=this,i=n.constructor;if(r=new i(r),e=new i(e),!r.s||!e.s)return new i(NaN);if(r.gt(e))throw Error(Vh+e);return t=n.cmp(r),t<0?r:n.cmp(e)>0?e:new i(n)};ze.comparedTo=ze.cmp=function(r){var e,t,n,i,s=this,a=s.d,u=(r=new s.constructor(r)).d,c=s.s,l=r.s;if(!a||!u)return!c||!l?NaN:c!==l?c:a===u?0:!a^c<0?1:-1;if(!a[0]||!u[0])return a[0]?c:u[0]?-l:0;if(c!==l)return c;if(s.e!==r.e)return s.e>r.e^c<0?1:-1;for(n=a.length,i=u.length,e=0,t=n<i?n:i;e<t;++e)if(a[e]!==u[e])return a[e]>u[e]^c<0?1:-1;return n===i?0:n>i^c<0?1:-1};ze.cosine=ze.cos=function(){var r,e,t=this,n=t.constructor;return t.d?t.d[0]?(r=n.precision,e=n.rounding,n.precision=r+Math.max(t.e,t.sd())+Lt,n.rounding=1,t=Gde(n,mH(n,t)),n.precision=r,n.rounding=e,It(Mf==2||Mf==3?t.neg():t,r,e,!0)):new n(1):new n(NaN)};ze.cubeRoot=ze.cbrt=function(){var r,e,t,n,i,s,a,u,c,l,p=this,h=p.constructor;if(!p.isFinite()||p.isZero())return new h(p);for(Yt=!1,s=p.s*Ji(p.s*p,1/3),!s||Math.abs(s)==1/0?(t=Bs(p.d),r=p.e,(s=(r-t.length+1)%3)&&(t+=s==1||s==-2?"0":"00"),s=Ji(t,1/3),r=ia((r+1)/3)-(r%3==(r<0?-1:2)),s==1/0?t="5e"+r:(t=s.toExponential(),t=t.slice(0,t.indexOf("e")+1)+r),n=new h(t),n.s=p.s):n=new h(s.toString()),a=(r=h.precision)+3;;)if(u=n,c=u.times(u).times(u),l=c.plus(p),n=Sn(l.plus(p).times(u),l.plus(c),a+2,1),Bs(u.d).slice(0,a)===(t=Bs(n.d)).slice(0,a))if(t=t.slice(a-3,a+1),t=="9999"||!i&&t=="4999"){if(!i&&(It(u,r+1,0),u.times(u).times(u).eq(p))){n=u;break}a+=4,i=1}else{(!+t||!+t.slice(1)&&t.charAt(0)=="5")&&(It(n,r+1,1),e=!n.times(n).times(n).eq(p));break}return Yt=!0,It(n,r,h.rounding,e)};ze.decimalPlaces=ze.dp=function(){var r,e=this.d,t=NaN;if(e){if(r=e.length-1,t=(r-ia(this.e/Lt))*Lt,r=e[r],r)for(;r%10==0;r/=10)t--;t<0&&(t=0)}return t};ze.dividedBy=ze.div=function(r){return Sn(this,new this.constructor(r))};ze.dividedToIntegerBy=ze.divToInt=function(r){var e=this,t=e.constructor;return It(Sn(e,new t(r),0,1,1),t.precision,t.rounding)};ze.equals=ze.eq=function(r){return this.cmp(r)===0};ze.floor=function(){return It(new this.constructor(this),this.e+1,3)};ze.greaterThan=ze.gt=function(r){return this.cmp(r)>0};ze.greaterThanOrEqualTo=ze.gte=function(r){var e=this.cmp(r);return e==1||e===0};ze.hyperbolicCosine=ze.cosh=function(){var r,e,t,n,i,s=this,a=s.constructor,u=new a(1);if(!s.isFinite())return new a(s.s?1/0:NaN);if(s.isZero())return u;t=a.precision,n=a.rounding,a.precision=t+Math.max(s.e,s.sd())+4,a.rounding=1,i=s.d.length,i<32?(r=Math.ceil(i/3),e=(1/DT(4,r)).toString()):(r=16,e="2.3283064365386962890625e-10"),s=Iy(a,1,s.times(e),new a(1),!0);for(var c,l=r,p=new a(8);l--;)c=s.times(s),s=u.minus(c.times(p.minus(c.times(p))));return It(s,a.precision=t,a.rounding=n,!0)};ze.hyperbolicSine=ze.sinh=function(){var r,e,t,n,i=this,s=i.constructor;if(!i.isFinite()||i.isZero())return new s(i);if(e=s.precision,t=s.rounding,s.precision=e+Math.max(i.e,i.sd())+4,s.rounding=1,n=i.d.length,n<3)i=Iy(s,2,i,i,!0);else{r=1.4*Math.sqrt(n),r=r>16?16:r|0,i=i.times(1/DT(5,r)),i=Iy(s,2,i,i,!0);for(var a,u=new s(5),c=new s(16),l=new s(20);r--;)a=i.times(i),i=i.times(u.plus(a.times(c.times(a).plus(l))))}return s.precision=e,s.rounding=t,It(i,e,t,!0)};ze.hyperbolicTangent=ze.tanh=function(){var r,e,t=this,n=t.constructor;return t.isFinite()?t.isZero()?new n(t):(r=n.precision,e=n.rounding,n.precision=r+7,n.rounding=1,Sn(t.sinh(),t.cosh(),n.precision=r,n.rounding=e)):new n(t.s)};ze.inverseCosine=ze.acos=function(){var r=this,e=r.constructor,t=r.abs().cmp(1),n=e.precision,i=e.rounding;return t!==-1?t===0?r.isNeg()?pl(e,n,i):new e(0):new e(NaN):r.isZero()?pl(e,n+4,i).times(.5):(e.precision=n+6,e.rounding=1,r=new e(1).minus(r).div(r.plus(1)).sqrt().atan(),e.precision=n,e.rounding=i,r.times(2))};ze.inverseHyperbolicCosine=ze.acosh=function(){var r,e,t=this,n=t.constructor;return t.lte(1)?new n(t.eq(1)?0:NaN):t.isFinite()?(r=n.precision,e=n.rounding,n.precision=r+Math.max(Math.abs(t.e),t.sd())+4,n.rounding=1,Yt=!1,t=t.times(t).minus(1).sqrt().plus(t),Yt=!0,n.precision=r,n.rounding=e,t.ln()):new n(t)};ze.inverseHyperbolicSine=ze.asinh=function(){var r,e,t=this,n=t.constructor;return!t.isFinite()||t.isZero()?new n(t):(r=n.precision,e=n.rounding,n.precision=r+2*Math.max(Math.abs(t.e),t.sd())+6,n.rounding=1,Yt=!1,t=t.times(t).plus(1).sqrt().plus(t),Yt=!0,n.precision=r,n.rounding=e,t.ln())};ze.inverseHyperbolicTangent=ze.atanh=function(){var r,e,t,n,i=this,s=i.constructor;return i.isFinite()?i.e>=0?new s(i.abs().eq(1)?i.s/0:i.isZero()?i:NaN):(r=s.precision,e=s.rounding,n=i.sd(),Math.max(n,r)<2*-i.e-1?It(new s(i),r,e,!0):(s.precision=t=n-i.e,i=Sn(i.plus(1),new s(1).minus(i),t+r,1),s.precision=r+4,s.rounding=1,i=i.ln(),s.precision=r,s.rounding=e,i.times(.5))):new s(NaN)};ze.inverseSine=ze.asin=function(){var r,e,t,n,i=this,s=i.constructor;return i.isZero()?new s(i):(e=i.abs().cmp(1),t=s.precision,n=s.rounding,e!==-1?e===0?(r=pl(s,t+4,n).times(.5),r.s=i.s,r):new s(NaN):(s.precision=t+6,s.rounding=1,i=i.div(new s(1).minus(i.times(i)).sqrt().plus(1)).atan(),s.precision=t,s.rounding=n,i.times(2)))};ze.inverseTangent=ze.atan=function(){var r,e,t,n,i,s,a,u,c,l=this,p=l.constructor,h=p.precision,g=p.rounding;if(l.isFinite()){if(l.isZero())return new p(l);if(l.abs().eq(1)&&h+4<=k3)return a=pl(p,h+4,g).times(.25),a.s=l.s,a}else{if(!l.s)return new p(NaN);if(h+4<=k3)return a=pl(p,h+4,g).times(.5),a.s=l.s,a}for(p.precision=u=h+10,p.rounding=1,t=Math.min(28,u/Lt+2|0),r=t;r;--r)l=l.div(l.times(l).plus(1).sqrt().plus(1));for(Yt=!1,e=Math.ceil(u/Lt),n=1,c=l.times(l),a=new p(l),i=l;r!==-1;)if(i=i.times(c),s=a.minus(i.div(n+=2)),i=i.times(c),a=s.plus(i.div(n+=2)),a.d[e]!==void 0)for(r=e;a.d[r]===s.d[r]&&r--;);return t&&(a=a.times(2<<t-1)),Yt=!0,It(a,p.precision=h,p.rounding=g,!0)};ze.isFinite=function(){return!!this.d};ze.isInteger=ze.isInt=function(){return!!this.d&&ia(this.e/Lt)>this.d.length-2};ze.isNaN=function(){return!this.s};ze.isNegative=ze.isNeg=function(){return this.s<0};ze.isPositive=ze.isPos=function(){return this.s>0};ze.isZero=function(){return!!this.d&&this.d[0]===0};ze.lessThan=ze.lt=function(r){return this.cmp(r)<0};ze.lessThanOrEqualTo=ze.lte=function(r){return this.cmp(r)<1};ze.logarithm=ze.log=function(r){var e,t,n,i,s,a,u,c,l=this,p=l.constructor,h=p.precision,g=p.rounding,y=5;if(r==null)r=new p(10),e=!0;else{if(r=new p(r),t=r.d,r.s<0||!t||!t[0]||r.eq(1))return new p(NaN);e=r.eq(10)}if(t=l.d,l.s<0||!t||!t[0]||l.eq(1))return new p(t&&!t[0]?-1/0:l.s!=1?NaN:t?0:1/0);if(e)if(t.length>1)s=!0;else{for(i=t[0];i%10===0;)i/=10;s=i!==1}if(Yt=!1,u=h+y,a=kh(l,u),n=e?IT(p,u+10):kh(r,u),c=Sn(a,n,u,1),Lw(c.d,i=h,g))do if(u+=10,a=kh(l,u),n=e?IT(p,u+10):kh(r,u),c=Sn(a,n,u,1),!s){+Bs(c.d).slice(i+1,i+15)+1==1e14&&(c=It(c,h+1,0));break}while(Lw(c.d,i+=10,g));return Yt=!0,It(c,h,g)};ze.minus=ze.sub=function(r){var e,t,n,i,s,a,u,c,l,p,h,g,y=this,v=y.constructor;if(r=new v(r),!y.d||!r.d)return!y.s||!r.s?r=new v(NaN):y.d?r.s=-r.s:r=new v(r.d||y.s!==r.s?y:NaN),r;if(y.s!=r.s)return r.s=-r.s,y.plus(r);if(l=y.d,g=r.d,u=v.precision,c=v.rounding,!l[0]||!g[0]){if(g[0])r.s=-r.s;else if(l[0])r=new v(y);else return new v(c===3?-0:0);return Yt?It(r,u,c):r}if(t=ia(r.e/Lt),p=ia(y.e/Lt),l=l.slice(),s=p-t,s){for(h=s<0,h?(e=l,s=-s,a=g.length):(e=g,t=p,a=l.length),n=Math.max(Math.ceil(u/Lt),a)+2,s>n&&(s=n,e.length=1),e.reverse(),n=s;n--;)e.push(0);e.reverse()}else{for(n=l.length,a=g.length,h=n<a,h&&(a=n),n=0;n<a;n++)if(l[n]!=g[n]){h=l[n]<g[n];break}s=0}for(h&&(e=l,l=g,g=e,r.s=-r.s),a=l.length,n=g.length-a;n>0;--n)l[a++]=0;for(n=g.length;n>s;){if(l[--n]<g[n]){for(i=n;i&&l[--i]===0;)l[i]=oc-1;--l[i],l[n]+=oc}l[n]-=g[n]}for(;l[--a]===0;)l.pop();for(;l[0]===0;l.shift())--t;return l[0]?(r.d=l,r.e=RT(l,t),Yt?It(r,u,c):r):new v(c===3?-0:0)};ze.modulo=ze.mod=function(r){var e,t=this,n=t.constructor;return r=new n(r),!t.d||!r.s||r.d&&!r.d[0]?new n(NaN):!r.d||t.d&&!t.d[0]?It(new n(t),n.precision,n.rounding):(Yt=!1,n.modulo==9?(e=Sn(t,r.abs(),0,3,1),e.s*=r.s):e=Sn(t,r,0,n.modulo,1),e=e.times(r),Yt=!0,t.minus(e))};ze.naturalExponential=ze.exp=function(){return V3(this)};ze.naturalLogarithm=ze.ln=function(){return kh(this)};ze.negated=ze.neg=function(){var r=new this.constructor(this);return r.s=-r.s,It(r)};ze.plus=ze.add=function(r){var e,t,n,i,s,a,u,c,l,p,h=this,g=h.constructor;if(r=new g(r),!h.d||!r.d)return!h.s||!r.s?r=new g(NaN):h.d||(r=new g(r.d||h.s===r.s?h:NaN)),r;if(h.s!=r.s)return r.s=-r.s,h.minus(r);if(l=h.d,p=r.d,u=g.precision,c=g.rounding,!l[0]||!p[0])return p[0]||(r=new g(h)),Yt?It(r,u,c):r;if(s=ia(h.e/Lt),n=ia(r.e/Lt),l=l.slice(),i=s-n,i){for(i<0?(t=l,i=-i,a=p.length):(t=p,n=s,a=l.length),s=Math.ceil(u/Lt),a=s>a?s+1:a+1,i>a&&(i=a,t.length=1),t.reverse();i--;)t.push(0);t.reverse()}for(a=l.length,i=p.length,a-i<0&&(i=a,t=p,p=l,l=t),e=0;i;)e=(l[--i]=l[i]+p[i]+e)/oc|0,l[i]%=oc;for(e&&(l.unshift(e),++n),a=l.length;l[--a]==0;)l.pop();return r.d=l,r.e=RT(l,n),Yt?It(r,u,c):r};ze.precision=ze.sd=function(r){var e,t=this;if(r!==void 0&&r!==!!r&&r!==1&&r!==0)throw Error(Vh+r);return t.d?(e=fH(t.d),r&&t.e+1>e&&(e=t.e+1)):e=NaN,e};ze.round=function(){var r=this,e=r.constructor;return It(new e(r),r.e+1,e.rounding)};ze.sine=ze.sin=function(){var r,e,t=this,n=t.constructor;return t.isFinite()?t.isZero()?new n(t):(r=n.precision,e=n.rounding,n.precision=r+Math.max(t.e,t.sd())+Lt,n.rounding=1,t=Wde(n,mH(n,t)),n.precision=r,n.rounding=e,It(Mf>2?t.neg():t,r,e,!0)):new n(NaN)};ze.squareRoot=ze.sqrt=function(){var r,e,t,n,i,s,a=this,u=a.d,c=a.e,l=a.s,p=a.constructor;if(l!==1||!u||!u[0])return new p(!l||l<0&&(!u||u[0])?NaN:u?a:1/0);for(Yt=!1,l=Math.sqrt(+a),l==0||l==1/0?(e=Bs(u),(e.length+c)%2==0&&(e+="0"),l=Math.sqrt(e),c=ia((c+1)/2)-(c<0||c%2),l==1/0?e="5e"+c:(e=l.toExponential(),e=e.slice(0,e.indexOf("e")+1)+c),n=new p(e)):n=new p(l.toString()),t=(c=p.precision)+3;;)if(s=n,n=s.plus(Sn(a,s,t+2,1)).times(.5),Bs(s.d).slice(0,t)===(e=Bs(n.d)).slice(0,t))if(e=e.slice(t-3,t+1),e=="9999"||!i&&e=="4999"){if(!i&&(It(s,c+1,0),s.times(s).eq(a))){n=s;break}t+=4,i=1}else{(!+e||!+e.slice(1)&&e.charAt(0)=="5")&&(It(n,c+1,1),r=!n.times(n).eq(a));break}return Yt=!0,It(n,c,p.rounding,r)};ze.tangent=ze.tan=function(){var r,e,t=this,n=t.constructor;return t.isFinite()?t.isZero()?new n(t):(r=n.precision,e=n.rounding,n.precision=r+10,n.rounding=1,t=t.sin(),t.s=1,t=Sn(t,new n(1).minus(t.times(t)).sqrt(),r+10,0),n.precision=r,n.rounding=e,It(Mf==2||Mf==4?t.neg():t,r,e,!0)):new n(NaN)};ze.times=ze.mul=function(r){var e,t,n,i,s,a,u,c,l,p=this,h=p.constructor,g=p.d,y=(r=new h(r)).d;if(r.s*=p.s,!g||!g[0]||!y||!y[0])return new h(!r.s||g&&!g[0]&&!y||y&&!y[0]&&!g?NaN:!g||!y?r.s/0:r.s*0);for(t=ia(p.e/Lt)+ia(r.e/Lt),c=g.length,l=y.length,c<l&&(s=g,g=y,y=s,a=c,c=l,l=a),s=[],a=c+l,n=a;n--;)s.push(0);for(n=l;--n>=0;){for(e=0,i=c+n;i>n;)u=s[i]+y[n]*g[i-n-1]+e,s[i--]=u%oc|0,e=u/oc|0;s[i]=(s[i]+e)%oc|0}for(;!s[--a];)s.pop();return e?++t:s.shift(),r.d=s,r.e=RT(s,t),Yt?It(r,h.precision,h.rounding):r};ze.toBinary=function(r,e){return j3(this,2,r,e)};ze.toDecimalPlaces=ze.toDP=function(r,e){var t=this,n=t.constructor;return t=new n(t),r===void 0?t:(Ja(r,0,jh),e===void 0?e=n.rounding:Ja(e,0,8),It(t,r+t.e+1,e))};ze.toExponential=function(r,e){var t,n=this,i=n.constructor;return r===void 0?t=hl(n,!0):(Ja(r,0,jh),e===void 0?e=i.rounding:Ja(e,0,8),n=It(new i(n),r+1,e),t=hl(n,!0,r+1)),n.isNeg()&&!n.isZero()?"-"+t:t};ze.toFixed=function(r,e){var t,n,i=this,s=i.constructor;return r===void 0?t=hl(i):(Ja(r,0,jh),e===void 0?e=s.rounding:Ja(e,0,8),n=It(new s(i),r+i.e+1,e),t=hl(n,!1,r+n.e+1)),i.isNeg()&&!i.isZero()?"-"+t:t};ze.toFraction=function(r){var e,t,n,i,s,a,u,c,l,p,h,g,y=this,v=y.d,b=y.constructor;if(!v)return new b(y);if(l=t=new b(1),n=c=new b(0),e=new b(n),s=e.e=fH(v)-y.e-1,a=s%Lt,e.d[0]=Ji(10,a<0?Lt+a:a),r==null)r=s>0?e:l;else{if(u=new b(r),!u.isInt()||u.lt(l))throw Error(Vh+u);r=u.gt(e)?s>0?e:l:u}for(Yt=!1,u=new b(Bs(v)),p=b.precision,b.precision=s=v.length*Lt*2;h=Sn(u,e,0,1,1),i=t.plus(h.times(n)),i.cmp(r)!=1;)t=n,n=i,i=l,l=c.plus(h.times(i)),c=i,i=e,e=u.minus(h.times(i)),u=i;return i=Sn(r.minus(t),n,0,1,1),c=c.plus(i.times(l)),t=t.plus(i.times(n)),c.s=l.s=y.s,g=Sn(l,n,s,1).minus(y).abs().cmp(Sn(c,t,s,1).minus(y).abs())<1?[l,n]:[c,t],b.precision=p,Yt=!0,g};ze.toHexadecimal=ze.toHex=function(r,e){return j3(this,16,r,e)};ze.toNearest=function(r,e){var t=this,n=t.constructor;if(t=new n(t),r==null){if(!t.d)return t;r=new n(1),e=n.rounding}else{if(r=new n(r),e===void 0?e=n.rounding:Ja(e,0,8),!t.d)return r.s?t:r;if(!r.d)return r.s&&(r.s=t.s),r}return r.d[0]?(Yt=!1,t=Sn(t,r,0,e,1).times(r),Yt=!0,It(t)):(r.s=t.s,t=r),t};ze.toNumber=function(){return+this};ze.toOctal=function(r,e){return j3(this,8,r,e)};ze.toPower=ze.pow=function(r){var e,t,n,i,s,a,u=this,c=u.constructor,l=+(r=new c(r));if(!u.d||!r.d||!u.d[0]||!r.d[0])return new c(Ji(+u,l));if(u=new c(u),u.eq(1))return u;if(n=c.precision,s=c.rounding,r.eq(1))return It(u,n,s);if(e=ia(r.e/Lt),e>=r.d.length-1&&(t=l<0?-l:l)<=zde)return i=pH(c,u,t,n),r.s<0?new c(1).div(i):It(i,n,s);if(a=u.s,a<0){if(e<r.d.length-1)return new c(NaN);if((r.d[e]&1)==0&&(a=1),u.e==0&&u.d[0]==1&&u.d.length==1)return u.s=a,u}return t=Ji(+u,l),e=t==0||!isFinite(t)?ia(l*(Math.log("0."+Bs(u.d))/Math.LN10+u.e+1)):new c(t+"").e,e>c.maxE+1||e<c.minE-1?new c(e>0?a/0:0):(Yt=!1,c.rounding=u.s=1,t=Math.min(12,(e+"").length),i=V3(r.times(kh(u,n+t)),n),i.d&&(i=It(i,n+5,1),Lw(i.d,n,s)&&(e=n+10,i=It(V3(r.times(kh(u,e+t)),e),e+5,1),+Bs(i.d).slice(n+1,n+15)+1==1e14&&(i=It(i,n+1,0)))),i.s=a,Yt=!0,c.rounding=s,It(i,n,s))};ze.toPrecision=function(r,e){var t,n=this,i=n.constructor;return r===void 0?t=hl(n,n.e<=i.toExpNeg||n.e>=i.toExpPos):(Ja(r,1,jh),e===void 0?e=i.rounding:Ja(e,0,8),n=It(new i(n),r,e),t=hl(n,r<=n.e||n.e<=i.toExpNeg,r)),n.isNeg()&&!n.isZero()?"-"+t:t};ze.toSignificantDigits=ze.toSD=function(r,e){var t=this,n=t.constructor;return r===void 0?(r=n.precision,e=n.rounding):(Ja(r,1,jh),e===void 0?e=n.rounding:Ja(e,0,8)),It(new n(t),r,e)};ze.toString=function(){var r=this,e=r.constructor,t=hl(r,r.e<=e.toExpNeg||r.e>=e.toExpPos);return r.isNeg()&&!r.isZero()?"-"+t:t};ze.truncated=ze.trunc=function(){return It(new this.constructor(this),this.e+1,1)};ze.valueOf=ze.toJSON=function(){var r=this,e=r.constructor,t=hl(r,r.e<=e.toExpNeg||r.e>=e.toExpPos);return r.isNeg()?"-"+t:t};function Bs(r){var e,t,n,i=r.length-1,s="",a=r[0];if(i>0){for(s+=a,e=1;e<i;e++)n=r[e]+"",t=Lt-n.length,t&&(s+=Fh(t)),s+=n;a=r[e],n=a+"",t=Lt-n.length,t&&(s+=Fh(t))}else if(a===0)return"0";for(;a%10===0;)a/=10;return s+a}o(Bs,"digitsToString");function Ja(r,e,t){if(r!==~~r||r<e||r>t)throw Error(Vh+r)}o(Ja,"checkInt32");function Lw(r,e,t,n){var i,s,a,u;for(s=r[0];s>=10;s/=10)--e;return--e<0?(e+=Lt,i=0):(i=Math.ceil((e+1)/Lt),e%=Lt),s=Ji(10,Lt-e),u=r[i]%s|0,n==null?e<3?(e==0?u=u/100|0:e==1&&(u=u/10|0),a=t<4&&u==99999||t>3&&u==49999||u==5e4||u==0):a=(t<4&&u+1==s||t>3&&u+1==s/2)&&(r[i+1]/s/100|0)==Ji(10,e-2)-1||(u==s/2||u==0)&&(r[i+1]/s/100|0)==0:e<4?(e==0?u=u/1e3|0:e==1?u=u/100|0:e==2&&(u=u/10|0),a=(n||t<4)&&u==9999||!n&&t>3&&u==4999):a=((n||t<4)&&u+1==s||!n&&t>3&&u+1==s/2)&&(r[i+1]/s/1e3|0)==Ji(10,e-3)-1,a}o(Lw,"checkRoundingDigits");function CT(r,e,t){for(var n,i=[0],s,a=0,u=r.length;a<u;){for(s=i.length;s--;)i[s]*=e;for(i[0]+=L3.indexOf(r.charAt(a++)),n=0;n<i.length;n++)i[n]>t-1&&(i[n+1]===void 0&&(i[n+1]=0),i[n+1]+=i[n]/t|0,i[n]%=t)}return i.reverse()}o(CT,"convertBase");function Gde(r,e){var t,n,i;if(e.isZero())return e;n=e.d.length,n<32?(t=Math.ceil(n/3),i=(1/DT(4,t)).toString()):(t=16,i="2.3283064365386962890625e-10"),r.precision+=t,e=Iy(r,1,e.times(i),new r(1));for(var s=t;s--;){var a=e.times(e);e=a.times(a).minus(a).times(8).plus(1)}return r.precision-=t,e}o(Gde,"cosine");var Sn=(function(){function r(n,i,s){var a,u=0,c=n.length;for(n=n.slice();c--;)a=n[c]*i+u,n[c]=a%s|0,u=a/s|0;return u&&n.unshift(u),n}o(r,"multiplyInteger");function e(n,i,s,a){var u,c;if(s!=a)c=s>a?1:-1;else for(u=c=0;u<s;u++)if(n[u]!=i[u]){c=n[u]>i[u]?1:-1;break}return c}o(e,"compare");function t(n,i,s,a){for(var u=0;s--;)n[s]-=u,u=n[s]<i[s]?1:0,n[s]=u*a+n[s]-i[s];for(;!n[0]&&n.length>1;)n.shift()}return o(t,"subtract"),function(n,i,s,a,u,c){var l,p,h,g,y,v,b,S,A,D,C,E,I,B,q,R,z,K,H,J,ge=n.constructor,ve=n.s==i.s?1:-1,le=n.d,Z=i.d;if(!le||!le[0]||!Z||!Z[0])return new ge(!n.s||!i.s||(le?Z&&le[0]==Z[0]:!Z)?NaN:le&&le[0]==0||!Z?ve*0:ve/0);for(c?(y=1,p=n.e-i.e):(c=oc,y=Lt,p=ia(n.e/y)-ia(i.e/y)),H=Z.length,z=le.length,A=new ge(ve),D=A.d=[],h=0;Z[h]==(le[h]||0);h++);if(Z[h]>(le[h]||0)&&p--,s==null?(B=s=ge.precision,a=ge.rounding):u?B=s+(n.e-i.e)+1:B=s,B<0)D.push(1),v=!0;else{if(B=B/y+2|0,h=0,H==1){for(g=0,Z=Z[0],B++;(h<z||g)&&B--;h++)q=g*c+(le[h]||0),D[h]=q/Z|0,g=q%Z|0;v=g||h<z}else{for(g=c/(Z[0]+1)|0,g>1&&(Z=r(Z,g,c),le=r(le,g,c),H=Z.length,z=le.length),R=H,C=le.slice(0,H),E=C.length;E<H;)C[E++]=0;J=Z.slice(),J.unshift(0),K=Z[0],Z[1]>=c/2&&++K;do g=0,l=e(Z,C,H,E),l<0?(I=C[0],H!=E&&(I=I*c+(C[1]||0)),g=I/K|0,g>1?(g>=c&&(g=c-1),b=r(Z,g,c),S=b.length,E=C.length,l=e(b,C,S,E),l==1&&(g--,t(b,H<S?J:Z,S,c))):(g==0&&(l=g=1),b=Z.slice()),S=b.length,S<E&&b.unshift(0),t(C,b,E,c),l==-1&&(E=C.length,l=e(Z,C,H,E),l<1&&(g++,t(C,H<E?J:Z,E,c))),E=C.length):l===0&&(g++,C=[0]),D[h++]=g,l&&C[0]?C[E++]=le[R]||0:(C=[le[R]],E=1);while((R++<z||C[0]!==void 0)&&B--);v=C[0]!==void 0}D[0]||D.shift()}if(y==1)A.e=p,aH=v;else{for(h=1,g=D[0];g>=10;g/=10)h++;A.e=h+p*y-1,It(A,u?s+A.e+1:s,a,v)}return A}})();function It(r,e,t,n){var i,s,a,u,c,l,p,h,g,y=r.constructor;e:if(e!=null){if(h=r.d,!h)return r;for(i=1,u=h[0];u>=10;u/=10)i++;if(s=e-i,s<0)s+=Lt,a=e,p=h[g=0],c=p/Ji(10,i-a-1)%10|0;else if(g=Math.ceil((s+1)/Lt),u=h.length,g>=u)if(n){for(;u++<=g;)h.push(0);p=c=0,i=1,s%=Lt,a=s-Lt+1}else break e;else{for(p=u=h[g],i=1;u>=10;u/=10)i++;s%=Lt,a=s-Lt+i,c=a<0?0:p/Ji(10,i-a-1)%10|0}if(n=n||e<0||h[g+1]!==void 0||(a<0?p:p%Ji(10,i-a-1)),l=t<4?(c||n)&&(t==0||t==(r.s<0?3:2)):c>5||c==5&&(t==4||n||t==6&&(s>0?a>0?p/Ji(10,i-a):0:h[g-1])%10&1||t==(r.s<0?8:7)),e<1||!h[0])return h.length=0,l?(e-=r.e+1,h[0]=Ji(10,(Lt-e%Lt)%Lt),r.e=-e||0):h[0]=r.e=0,r;if(s==0?(h.length=g,u=1,g--):(h.length=g+1,u=Ji(10,Lt-s),h[g]=a>0?(p/Ji(10,i-a)%Ji(10,a)|0)*u:0),l)for(;;)if(g==0){for(s=1,a=h[0];a>=10;a/=10)s++;for(a=h[0]+=u,u=1;a>=10;a/=10)u++;s!=u&&(r.e++,h[0]==oc&&(h[0]=1));break}else{if(h[g]+=u,h[g]!=oc)break;h[g--]=0,u=1}for(s=h.length;h[--s]===0;)h.pop()}return Yt&&(r.e>y.maxE?(r.d=null,r.e=NaN):r.e<y.minE&&(r.e=0,r.d=[0])),r}o(It,"finalise");function hl(r,e,t){if(!r.isFinite())return dH(r);var n,i=r.e,s=Bs(r.d),a=s.length;return e?(t&&(n=t-a)>0?s=s.charAt(0)+"."+s.slice(1)+Fh(n):a>1&&(s=s.charAt(0)+"."+s.slice(1)),s=s+(r.e<0?"e":"e+")+r.e):i<0?(s="0."+Fh(-i-1)+s,t&&(n=t-a)>0&&(s+=Fh(n))):i>=a?(s+=Fh(i+1-a),t&&(n=t-i-1)>0&&(s=s+"."+Fh(n))):((n=i+1)<a&&(s=s.slice(0,n)+"."+s.slice(n)),t&&(n=t-a)>0&&(i+1===a&&(s+="."),s+=Fh(n))),s}o(hl,"finiteToString");function RT(r,e){var t=r[0];for(e*=Lt;t>=10;t/=10)e++;return e}o(RT,"getBase10Exponent");function IT(r,e,t){if(e>Kde)throw Yt=!0,t&&(r.precision=t),Error(oH);return It(new r(AT),e,1,!0)}o(IT,"getLn10");function pl(r,e,t){if(e>k3)throw Error(oH);return It(new r(NT),e,t,!0)}o(pl,"getPi");function fH(r){var e=r.length-1,t=e*Lt+1;if(e=r[e],e){for(;e%10==0;e/=10)t--;for(e=r[0];e>=10;e/=10)t++}return t}o(fH,"getPrecision");function Fh(r){for(var e="";r--;)e+="0";return e}o(Fh,"getZeroString");function pH(r,e,t,n){var i,s=new r(1),a=Math.ceil(n/Lt+4);for(Yt=!1;;){if(t%2&&(s=s.times(e),iH(s.d,a)&&(i=!0)),t=ia(t/2),t===0){t=s.d.length-1,i&&s.d[t]===0&&++s.d[t];break}e=e.times(e),iH(e.d,a)}return Yt=!0,s}o(pH,"intPow");function nH(r){return r.d[r.d.length-1]&1}o(nH,"isOdd");function hH(r,e,t){for(var n,i,s=new r(e[0]),a=0;++a<e.length;){if(i=new r(e[a]),!i.s){s=i;break}n=s.cmp(i),(n===t||n===0&&s.s===t)&&(s=i)}return s}o(hH,"maxOrMin");function V3(r,e){var t,n,i,s,a,u,c,l=0,p=0,h=0,g=r.constructor,y=g.rounding,v=g.precision;if(!r.d||!r.d[0]||r.e>17)return new g(r.d?r.d[0]?r.s<0?0:1/0:1:r.s?r.s<0?0:r:NaN);for(e==null?(Yt=!1,c=v):c=e,u=new g(.03125);r.e>-2;)r=r.times(u),h+=5;for(n=Math.log(Ji(2,h))/Math.LN10*2+5|0,c+=n,t=s=a=new g(1),g.precision=c;;){if(s=It(s.times(r),c,1),t=t.times(++p),u=a.plus(Sn(s,t,c,1)),Bs(u.d).slice(0,c)===Bs(a.d).slice(0,c)){for(i=h;i--;)a=It(a.times(a),c,1);if(e==null)if(l<3&&Lw(a.d,c-n,y,l))g.precision=c+=10,t=s=u=new g(1),p=0,l++;else return It(a,g.precision=v,y,Yt=!0);else return g.precision=v,a}a=u}}o(V3,"naturalExponential");function kh(r,e){var t,n,i,s,a,u,c,l,p,h,g,y=1,v=10,b=r,S=b.d,A=b.constructor,D=A.rounding,C=A.precision;if(b.s<0||!S||!S[0]||!b.e&&S[0]==1&&S.length==1)return new A(S&&!S[0]?-1/0:b.s!=1?NaN:S?0:b);if(e==null?(Yt=!1,p=C):p=e,A.precision=p+=v,t=Bs(S),n=t.charAt(0),Math.abs(s=b.e)<15e14){for(;n<7&&n!=1||n==1&&t.charAt(1)>3;)b=b.times(r),t=Bs(b.d),n=t.charAt(0),y++;s=b.e,n>1?(b=new A("0."+t),s++):b=new A(n+"."+t.slice(1))}else return l=IT(A,p+2,C).times(s+""),b=kh(new A(n+"."+t.slice(1)),p-v).plus(l),A.precision=C,e==null?It(b,C,D,Yt=!0):b;for(h=b,c=a=b=Sn(b.minus(1),b.plus(1),p,1),g=It(b.times(b),p,1),i=3;;){if(a=It(a.times(g),p,1),l=c.plus(Sn(a,new A(i),p,1)),Bs(l.d).slice(0,p)===Bs(c.d).slice(0,p))if(c=c.times(2),s!==0&&(c=c.plus(IT(A,p+2,C).times(s+""))),c=Sn(c,new A(y),p,1),e==null)if(Lw(c.d,p-v,D,u))A.precision=p+=v,l=a=b=Sn(h.minus(1),h.plus(1),p,1),g=It(b.times(b),p,1),i=u=1;else return It(c,A.precision=C,D,Yt=!0);else return A.precision=C,c;c=l,i+=2}}o(kh,"naturalLogarithm");function dH(r){return String(r.s*r.s/0)}o(dH,"nonFiniteToString");function ET(r,e){var t,n,i;for((t=e.indexOf("."))>-1&&(e=e.replace(".","")),(n=e.search(/e/i))>0?(t<0&&(t=n),t+=+e.slice(n+1),e=e.substring(0,n)):t<0&&(t=e.length),n=0;e.charCodeAt(n)===48;n++);for(i=e.length;e.charCodeAt(i-1)===48;--i);if(e=e.slice(n,i),e){if(i-=n,r.e=t=t-n-1,r.d=[],n=(t+1)%Lt,t<0&&(n+=Lt),n<i){for(n&&r.d.push(+e.slice(0,n)),i-=Lt;n<i;)r.d.push(+e.slice(n,n+=Lt));e=e.slice(n),n=Lt-e.length}else n-=i;for(;n--;)e+="0";r.d.push(+e),Yt&&(r.e>r.constructor.maxE?(r.d=null,r.e=NaN):r.e<r.constructor.minE&&(r.e=0,r.d=[0]))}else r.e=0,r.d=[0];return r}o(ET,"parseDecimal");function Xde(r,e){var t,n,i,s,a,u,c,l,p;if(e.indexOf("_")>-1){if(e=e.replace(/(\d)_(?=\d)/g,"$1"),lH.test(e))return ET(r,e)}else if(e==="Infinity"||e==="NaN")return+e||(r.s=NaN),r.e=NaN,r.d=null,r;if(qde.test(e))t=16,e=e.toLowerCase();else if(Ude.test(e))t=2;else if(Hde.test(e))t=8;else throw Error(Vh+e);for(s=e.search(/p/i),s>0?(c=+e.slice(s+1),e=e.substring(2,s)):e=e.slice(2),s=e.indexOf("."),a=s>=0,n=r.constructor,a&&(e=e.replace(".",""),u=e.length,s=u-s,i=pH(n,new n(t),s,s*2)),l=CT(e,t,oc),p=l.length-1,s=p;l[s]===0;--s)l.pop();return s<0?new n(r.s*0):(r.e=RT(l,p),r.d=l,Yt=!1,a&&(r=Sn(r,i,u*4)),c&&(r=r.times(Math.abs(c)<54?Ji(2,c):Ty.pow(2,c))),Yt=!0,r)}o(Xde,"parseOther");function Wde(r,e){var t,n=e.d.length;if(n<3)return e.isZero()?e:Iy(r,2,e,e);t=1.4*Math.sqrt(n),t=t>16?16:t|0,e=e.times(1/DT(5,t)),e=Iy(r,2,e,e);for(var i,s=new r(5),a=new r(16),u=new r(20);t--;)i=e.times(e),e=e.times(s.plus(i.times(a.times(i).minus(u))));return e}o(Wde,"sine");function Iy(r,e,t,n,i){var s,a,u,c,l=1,p=r.precision,h=Math.ceil(p/Lt);for(Yt=!1,c=t.times(t),u=new r(n);;){if(a=Sn(u.times(c),new r(e++*e++),p,1),u=i?n.plus(a):n.minus(a),n=Sn(a.times(c),new r(e++*e++),p,1),a=u.plus(n),a.d[h]!==void 0){for(s=h;a.d[s]===u.d[s]&&s--;);if(s==-1)break}s=u,u=n,n=a,a=s,l++}return Yt=!0,a.d.length=h+1,a}o(Iy,"taylorSeries");function DT(r,e){for(var t=r;--e;)t*=r;return t}o(DT,"tinyPow");function mH(r,e){var t,n=e.s<0,i=pl(r,r.precision,1),s=i.times(.5);if(e=e.abs(),e.lte(s))return Mf=n?4:1,e;if(t=e.divToInt(i),t.isZero())Mf=n?3:2;else{if(e=e.minus(t.times(i)),e.lte(s))return Mf=nH(t)?n?2:3:n?4:1,e;Mf=nH(t)?n?1:4:n?3:2}return e.minus(i).abs()}o(mH,"toLessThanHalfPi");function j3(r,e,t,n){var i,s,a,u,c,l,p,h,g,y=r.constructor,v=t!==void 0;if(v?(Ja(t,1,jh),n===void 0?n=y.rounding:Ja(n,0,8)):(t=y.precision,n=y.rounding),!r.isFinite())p=dH(r);else{for(p=hl(r),a=p.indexOf("."),v?(i=2,e==16?t=t*4-3:e==8&&(t=t*3-2)):i=e,a>=0&&(p=p.replace(".",""),g=new y(1),g.e=p.length-a,g.d=CT(hl(g),10,i),g.e=g.d.length),h=CT(p,10,i),s=c=h.length;h[--c]==0;)h.pop();if(!h[0])p=v?"0p+0":"0";else{if(a<0?s--:(r=new y(r),r.d=h,r.e=s,r=Sn(r,g,t,n,0,i),h=r.d,s=r.e,l=aH),a=h[t],u=i/2,l=l||h[t+1]!==void 0,l=n<4?(a!==void 0||l)&&(n===0||n===(r.s<0?3:2)):a>u||a===u&&(n===4||l||n===6&&h[t-1]&1||n===(r.s<0?8:7)),h.length=t,l)for(;++h[--t]>i-1;)h[t]=0,t||(++s,h.unshift(1));for(c=h.length;!h[c-1];--c);for(a=0,p="";a<c;a++)p+=L3.charAt(h[a]);if(v){if(c>1)if(e==16||e==8){for(a=e==16?4:3,--c;c%a;c++)p+="0";for(h=CT(p,i,e),c=h.length;!h[c-1];--c);for(a=1,p="1.";a<c;a++)p+=L3.charAt(h[a])}else p=p.charAt(0)+"."+p.slice(1);p=p+(s<0?"p":"p+")+s}else if(s<0){for(;++s;)p="0"+p;p="0."+p}else if(++s>c)for(s-=c;s--;)p+="0";else s<c&&(p=p.slice(0,s)+"."+p.slice(s))}p=(e==16?"0x":e==2?"0b":e==8?"0o":"")+p}return r.s<0?"-"+p:p}o(j3,"toStringBinary");function iH(r,e){if(r.length>e)return r.length=e,!0}o(iH,"truncate");function Jde(r){return new this(r).abs()}o(Jde,"abs");function Yde(r){return new this(r).acos()}o(Yde,"acos");function Qde(r){return new this(r).acosh()}o(Qde,"acosh");function $de(r,e){return new this(r).plus(e)}o($de,"add");function Zde(r){return new this(r).asin()}o(Zde,"asin");function eme(r){return new this(r).asinh()}o(eme,"asinh");function tme(r){return new this(r).atan()}o(tme,"atan");function rme(r){return new this(r).atanh()}o(rme,"atanh");function nme(r,e){r=new this(r),e=new this(e);var t,n=this.precision,i=this.rounding,s=n+4;return!r.s||!e.s?t=new this(NaN):!r.d&&!e.d?(t=pl(this,s,1).times(e.s>0?.25:.75),t.s=r.s):!e.d||r.isZero()?(t=e.s<0?pl(this,n,i):new this(0),t.s=r.s):!r.d||e.isZero()?(t=pl(this,s,1).times(.5),t.s=r.s):e.s<0?(this.precision=s,this.rounding=1,t=this.atan(Sn(r,e,s,1)),e=pl(this,s,1),this.precision=n,this.rounding=i,t=r.s<0?t.minus(e):t.plus(e)):t=this.atan(Sn(r,e,s,1)),t}o(nme,"atan2");function ime(r){return new this(r).cbrt()}o(ime,"cbrt");function sme(r){return It(r=new this(r),r.e+1,2)}o(sme,"ceil");function ame(r,e,t){return new this(r).clamp(e,t)}o(ame,"clamp");function ome(r){if(!r||typeof r!="object")throw Error(TT+"Object expected");var e,t,n,i=r.defaults===!0,s=["precision",1,jh,"rounding",0,8,"toExpNeg",-Ny,0,"toExpPos",0,Ny,"maxE",0,Ny,"minE",-Ny,0,"modulo",0,9];for(e=0;e<s.length;e+=3)if(t=s[e],i&&(this[t]=F3[t]),(n=r[t])!==void 0)if(ia(n)===n&&n>=s[e+1]&&n<=s[e+2])this[t]=n;else throw Error(Vh+t+": "+n);if(t="crypto",i&&(this[t]=F3[t]),(n=r[t])!==void 0)if(n===!0||n===!1||n===0||n===1)if(n)if(typeof crypto<"u"&&crypto&&(crypto.getRandomValues||crypto.randomBytes))this[t]=!0;else throw Error(uH);else this[t]=!1;else throw Error(Vh+t+": "+n);return this}o(ome,"config");function ume(r){return new this(r).cos()}o(ume,"cos");function cme(r){return new this(r).cosh()}o(cme,"cosh");function gH(r){var e,t,n;function i(s){var a,u,c,l=this;if(!(l instanceof i))return new i(s);if(l.constructor=i,sH(s)){l.s=s.s,Yt?!s.d||s.e>i.maxE?(l.e=NaN,l.d=null):s.e<i.minE?(l.e=0,l.d=[0]):(l.e=s.e,l.d=s.d.slice()):(l.e=s.e,l.d=s.d?s.d.slice():s.d);return}if(c=typeof s,c==="number"){if(s===0){l.s=1/s<0?-1:1,l.e=0,l.d=[0];return}if(s<0?(s=-s,l.s=-1):l.s=1,s===~~s&&s<1e7){for(a=0,u=s;u>=10;u/=10)a++;Yt?a>i.maxE?(l.e=NaN,l.d=null):a<i.minE?(l.e=0,l.d=[0]):(l.e=a,l.d=[s]):(l.e=a,l.d=[s]);return}if(s*0!==0){s||(l.s=NaN),l.e=NaN,l.d=null;return}return ET(l,s.toString())}if(c==="string")return(u=s.charCodeAt(0))===45?(s=s.slice(1),l.s=-1):(u===43&&(s=s.slice(1)),l.s=1),lH.test(s)?ET(l,s):Xde(l,s);if(c==="bigint")return s<0?(s=-s,l.s=-1):l.s=1,ET(l,s.toString());throw Error(Vh+s)}if(o(i,"Decimal"),i.prototype=ze,i.ROUND_UP=0,i.ROUND_DOWN=1,i.ROUND_CEIL=2,i.ROUND_FLOOR=3,i.ROUND_HALF_UP=4,i.ROUND_HALF_DOWN=5,i.ROUND_HALF_EVEN=6,i.ROUND_HALF_CEIL=7,i.ROUND_HALF_FLOOR=8,i.EUCLID=9,i.config=i.set=ome,i.clone=gH,i.isDecimal=sH,i.abs=Jde,i.acos=Yde,i.acosh=Qde,i.add=$de,i.asin=Zde,i.asinh=eme,i.atan=tme,i.atanh=rme,i.atan2=nme,i.cbrt=ime,i.ceil=sme,i.clamp=ame,i.cos=ume,i.cosh=cme,i.div=lme,i.exp=fme,i.floor=pme,i.hypot=hme,i.ln=dme,i.log=mme,i.log10=vme,i.log2=gme,i.max=yme,i.min=Sme,i.mod=bme,i.mul=xme,i.pow=wme,i.random=Cme,i.round=Eme,i.sign=Ame,i.sin=Nme,i.sinh=Ime,i.sqrt=Tme,i.sub=Rme,i.sum=Dme,i.tan=Ome,i.tanh=Bme,i.trunc=Pme,r===void 0&&(r={}),r&&r.defaults!==!0)for(n=["precision","rounding","toExpNeg","toExpPos","maxE","minE","modulo","crypto"],e=0;e<n.length;)r.hasOwnProperty(t=n[e++])||(r[t]=this[t]);return i.config(r),i}o(gH,"clone");function lme(r,e){return new this(r).div(e)}o(lme,"div");function fme(r){return new this(r).exp()}o(fme,"exp");function pme(r){return It(r=new this(r),r.e+1,3)}o(pme,"floor");function hme(){var r,e,t=new this(0);for(Yt=!1,r=0;r<arguments.length;)if(e=new this(arguments[r++]),e.d)t.d&&(t=t.plus(e.times(e)));else{if(e.s)return Yt=!0,new this(1/0);t=e}return Yt=!0,t.sqrt()}o(hme,"hypot");function sH(r){return r instanceof Ty||r&&r.toStringTag===cH||!1}o(sH,"isDecimalInstance");function dme(r){return new this(r).ln()}o(dme,"ln");function mme(r,e){return new this(r).log(e)}o(mme,"log");function gme(r){return new this(r).log(2)}o(gme,"log2");function vme(r){return new this(r).log(10)}o(vme,"log10");function yme(){return hH(this,arguments,-1)}o(yme,"max");function Sme(){return hH(this,arguments,1)}o(Sme,"min");function bme(r,e){return new this(r).mod(e)}o(bme,"mod");function xme(r,e){return new this(r).mul(e)}o(xme,"mul");function wme(r,e){return new this(r).pow(e)}o(wme,"pow");function Cme(r){var e,t,n,i,s=0,a=new this(1),u=[];if(r===void 0?r=this.precision:Ja(r,1,jh),n=Math.ceil(r/Lt),this.crypto)if(crypto.getRandomValues)for(e=crypto.getRandomValues(new Uint32Array(n));s<n;)i=e[s],i>=429e7?e[s]=crypto.getRandomValues(new Uint32Array(1))[0]:u[s++]=i%1e7;else if(crypto.randomBytes){for(e=crypto.randomBytes(n*=4);s<n;)i=e[s]+(e[s+1]<<8)+(e[s+2]<<16)+((e[s+3]&127)<<24),i>=214e7?crypto.randomBytes(4).copy(e,s):(u.push(i%1e7),s+=4);s=n/4}else throw Error(uH);else for(;s<n;)u[s++]=Math.random()*1e7|0;for(n=u[--s],r%=Lt,n&&r&&(i=Ji(10,Lt-r),u[s]=(n/i|0)*i);u[s]===0;s--)u.pop();if(s<0)t=0,u=[0];else{for(t=-1;u[0]===0;t-=Lt)u.shift();for(n=1,i=u[0];i>=10;i/=10)n++;n<Lt&&(t-=Lt-n)}return a.e=t,a.d=u,a}o(Cme,"random");function Eme(r){return It(r=new this(r),r.e+1,this.rounding)}o(Eme,"round");function Ame(r){return r=new this(r),r.d?r.d[0]?r.s:0*r.s:r.s||NaN}o(Ame,"sign");function Nme(r){return new this(r).sin()}o(Nme,"sin");function Ime(r){return new this(r).sinh()}o(Ime,"sinh");function Tme(r){return new this(r).sqrt()}o(Tme,"sqrt");function Rme(r,e){return new this(r).sub(e)}o(Rme,"sub");function Dme(){var r=0,e=arguments,t=new this(e[r]);for(Yt=!1;t.s&&++r<e.length;)t=t.plus(e[r]);return Yt=!0,It(t,this.precision,this.rounding)}o(Dme,"sum");function Ome(r){return new this(r).tan()}o(Ome,"tan");function Bme(r){return new this(r).tanh()}o(Bme,"tanh");function Pme(r){return It(r=new this(r),r.e+1,1)}o(Pme,"trunc");ze[Symbol.for("nodejs.util.inspect.custom")]=ze.toString;ze[Symbol.toStringTag]="Decimal";var Ty=ze.constructor=gH(F3);AT=new Ty(AT);NT=new Ty(NT);var $r=class r extends Ty{static{o(this,"Decimal")}static from(e){return new r(e)}static newOrZero(e){return e===void 0?r.from(0):r.from(e)}static newOrUndefined(e){if(e!==void 0)return r.from(e)}};var vH=lr(require("pdfkit"),1);var Fw=class r{static{o(this,"PdfkitPdfBuilder")}defaults={autoFirstPage:!1};doc=new vH.default(this.defaults);constructor(e){e&&this.configure(e)}static new(e){return new r(e)}configure(e){return this.doc.options={...this.doc.options,...e},this}pipe(e){return this.doc.pipe(e),this}end(){return this.doc.end()}restore(){return this.doc.restore(),this}save(){return this.doc.save(),this}stroke(e){return this.doc.stroke(e),this}page(e){return this.doc.addPage(e),this}table(e){return this.doc.table(e),this}text(e,t){let{x:n,y:i,...s}=t??{};return n||i?(this.doc.text(e,n,i,s),this):(this.doc.text(e,t),this)}fontSize(e){return this.doc.fontSize(e),this}font(e,t,n){return typeof t=="string"?(this.doc.font(e,t,n),this):typeof t=="number"?(this.doc.font(e,t),this):(this.doc.font(e),this)}image(e,t,n,i){return typeof t=="number"&&typeof n=="number"?(this.doc.image(e,t,n,i),this):(this.doc.image(e,t),this)}rect(e,t,n,i){return this.doc.rect(e,t,n,i),this}path(e){return this.doc.path(e),this}translate(e,t){return this.doc.translate(e,t),this}scale(e,t){return this.doc.scale(e,t),this}fill(e,t){return this.doc.fill(e,t),this}pageWidth(){return this.doc.page.width}pageHeight(){return this.doc.page.height}heightOfString(e,t){return this.doc.heightOfString(e,t)}widthOfString(e,t){return this.doc.widthOfString(e,t)}pageMargins(){return this.doc.page.margins}currentLineHeight(e){return this.doc.currentLineHeight(e)}x(){return this.doc.x}y(){return this.doc.y}moveDown(e){return this.doc.moveDown(e),this}row(e,...t){let n,i;typeof e=="function"?(n={},i=[e,...t]):(n=e??{},i=t),n.columns??=1;let s=this.y(),a=n.right??0,u=n.left??0,c=n.gap??0,l=this.pageWidth(),p=l-u-a-c*(n.columns-1);n.size??=Array(n.columns).fill(12/n.columns);let h=[];for(let g=0;g<n.columns;g++){let y=n.size[g]/12;h[g]=p*y}for(let g=0,y=u;g<n.columns;g++){let v=g===n.columns-1,b=h[g];if(v&&n.columns>1){let D=l-a-y;D>0&&Math.abs(D-b)>.01&&(b=D)}let S={y:s,x:y,width:b};i[g](S),y+=b,c>0&&!v&&(y+=c)}return this}};var kw=class{static{o(this,"MemoryCacheAdapter")}cache=new Map;async get(e){return Promise.resolve(this.cache.get(e)??null)}has(e){return Promise.resolve(this.cache.has(e))}set(e,t){return this.cache.set(e,t),Promise.resolve(!0)}};var HL=lr(require("fs"),1),_7=lr(require("path"),1),eC=lr(require("crypto"),1),Qh=lr(P7(),1);var gye=o(r=>!!r&&typeof r=="object"&&"message"in r,"hasMessageInRecord"),Kf=o(r=>typeof r=="string"?Xr(new fr(r)):r instanceof Error?Xr(new fr(r.message,{cause:r.cause})):gye(r)?Xr(new fr(r.message)):Xr(new fr("unexpected error")),"leftFromError");var Zw=class{static{o(this,"NullCacheAdapter")}async get(e){return Promise.resolve(null)}has(e){return Promise.resolve(!1)}set(e,t){return Promise.resolve(!0)}};var tC=class{static{o(this,"NativeCertificateRepository")}httpClient;signer;cache;constructor(e,t,n=new Zw){this.httpClient=e,this.signer=t,this.cache=n}async read(e){try{let{password:t,pfxPathOrBase64:n}=e;if(!n)return Xr(new fr("Certificate path is required"));let i=await this.getPfxBuffer(e);if(i.isLeft())return i;let s=Qh.default.asn1.fromDer(i.value.toString("binary")),a=Qh.default.pkcs12.pkcs12FromAsn1(s,t),{certBag:u}=Qh.default.pki.oids,l=a.getBags({bagType:u})[u];if(!l?.length)return Xr(new fr("Cannot read certificate"));let[{cert:p},...h]=l;if(!p)return Xr(new fr("Issuer Certificate not found"));let g=h.reduce((v,{cert:b})=>(b&&v.push(new eC.default.X509Certificate(Qh.default.pki.certificateToPem(b))),v),[]),y=new eC.default.X509Certificate(Qh.default.pki.certificateToPem(p));return gr({ca:g,password:t,certificate:y,privateKey:this.getPrivateKey(a)})}catch(t){return Kf(t)}}getPrivateKey(e){let{pkcs8ShroudedKeyBag:t}=Qh.default.pki.oids,i=e.getBags({bagType:t})[t]?.[0]?.key;if(i)return eC.default.createPrivateKey(Qh.default.pki.privateKeyToPem(i))}async sign(e,t,n=ac.SHA1){return this.signer.sign(e,t,n)}getCertificateInfo(e){return new P0().extractCertificateInfo(e)}getStringCertificate(e){return e.raw.toString("base64")}getStringPrivateKey(e){try{return e.export({type:"pkcs8",format:"pem"})}catch{throw new fr("Cannot extract private key")}}async getPfxBuffer(e){let{pfxPathOrBase64:t,password:n}=e,i=this.getCacheKey(t,n),s=await this.cache.get(i);if(s)return gr(s);if(_7.default.isAbsolute(t)||HL.default.existsSync(t))return this.hitBufferOnCache(i,HL.default.readFileSync(t));if(this.isValidRemoteUrl(t))try{let a=await this.httpClient.get(t,{responseType:"arraybuffer"});return await this.hitBufferOnCache(i,Buffer.from(a.data))}catch(a){return Kf(a)}return this.hitBufferOnCache(i,Buffer.from(t,"base64"))}getCacheKey(e,t){return eC.default.createHash("sha256").update(`${e}.${t}`).digest("hex")}async hitBufferOnCache(e,t){return await this.cache.set(e,t),gr(t)}isValidRemoteUrl(e){try{return new URL(e),!0}catch{return!1}}};var ZZ=lr(require("os"),1),eee=require("crypto"),rO=require("https"),tee=lr(F$(),1);function YC(r,e){return o(function(){return r.apply(e,arguments)},"wrap")}o(YC,"bind");var{toString:W2e}=Object.prototype,{getPrototypeOf:$8}=Object,{iterator:jD,toStringTag:V$}=Symbol,MD=(r=>e=>{let t=W2e.call(e);return r[t]||(r[t]=t.slice(8,-1).toLowerCase())})(Object.create(null)),gc=o(r=>(r=r.toLowerCase(),e=>MD(e)===r),"kindOfTest"),UD=o(r=>e=>typeof e===r,"typeOfTest"),{isArray:N1}=Array,A1=UD("undefined");function QC(r){return r!==null&&!A1(r)&&r.constructor!==null&&!A1(r.constructor)&&oo(r.constructor.isBuffer)&&r.constructor.isBuffer(r)}o(QC,"isBuffer");var j$=gc("ArrayBuffer");function J2e(r){let e;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?e=ArrayBuffer.isView(r):e=r&&r.buffer&&j$(r.buffer),e}o(J2e,"isArrayBufferView");var Y2e=UD("string"),oo=UD("function"),M$=UD("number"),$C=o(r=>r!==null&&typeof r=="object","isObject"),Q2e=o(r=>r===!0||r===!1,"isBoolean"),VD=o(r=>{if(MD(r)!=="object")return!1;let e=$8(r);return(e===null||e===Object.prototype||Object.getPrototypeOf(e)===null)&&!(V$ in r)&&!(jD in r)},"isPlainObject"),$2e=o(r=>{if(!$C(r)||QC(r))return!1;try{return Object.keys(r).length===0&&Object.getPrototypeOf(r)===Object.prototype}catch{return!1}},"isEmptyObject"),Z2e=gc("Date"),eIe=gc("File"),tIe=gc("Blob"),rIe=gc("FileList"),nIe=o(r=>$C(r)&&oo(r.pipe),"isStream"),iIe=o(r=>{let e;return r&&(typeof FormData=="function"&&r instanceof FormData||oo(r.append)&&((e=MD(r))==="formdata"||e==="object"&&oo(r.toString)&&r.toString()==="[object FormData]"))},"isFormData"),sIe=gc("URLSearchParams"),[aIe,oIe,uIe,cIe]=["ReadableStream","Request","Response","Headers"].map(gc),lIe=o(r=>r.trim?r.trim():r.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),"trim");function ZC(r,e,{allOwnKeys:t=!1}={}){if(r===null||typeof r>"u")return;let n,i;if(typeof r!="object"&&(r=[r]),N1(r))for(n=0,i=r.length;n<i;n++)e.call(null,r[n],n,r);else{if(QC(r))return;let s=t?Object.getOwnPropertyNames(r):Object.keys(r),a=s.length,u;for(n=0;n<a;n++)u=s[n],e.call(null,r[u],u,r)}}o(ZC,"forEach");function U$(r,e){if(QC(r))return null;e=e.toLowerCase();let t=Object.keys(r),n=t.length,i;for(;n-- >0;)if(i=t[n],e===i.toLowerCase())return i;return null}o(U$,"findKey");var X0=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,q$=o(r=>!A1(r)&&r!==X0,"isContextDefined");function Q8(){let{caseless:r,skipUndefined:e}=q$(this)&&this||{},t={},n=o((i,s)=>{if(s==="__proto__"||s==="constructor"||s==="prototype")return;let a=r&&U$(t,s)||s;VD(t[a])&&VD(i)?t[a]=Q8(t[a],i):VD(i)?t[a]=Q8({},i):N1(i)?t[a]=i.slice():(!e||!A1(i))&&(t[a]=i)},"assignValue");for(let i=0,s=arguments.length;i<s;i++)arguments[i]&&ZC(arguments[i],n);return t}o(Q8,"merge");var fIe=o((r,e,t,{allOwnKeys:n}={})=>(ZC(e,(i,s)=>{t&&oo(i)?Object.defineProperty(r,s,{value:YC(i,t),writable:!0,enumerable:!0,configurable:!0}):Object.defineProperty(r,s,{value:i,writable:!0,enumerable:!0,configurable:!0})},{allOwnKeys:n}),r),"extend"),pIe=o(r=>(r.charCodeAt(0)===65279&&(r=r.slice(1)),r),"stripBOM"),hIe=o((r,e,t,n)=>{r.prototype=Object.create(e.prototype,n),Object.defineProperty(r.prototype,"constructor",{value:r,writable:!0,enumerable:!1,configurable:!0}),Object.defineProperty(r,"super",{value:e.prototype}),t&&Object.assign(r.prototype,t)},"inherits"),dIe=o((r,e,t,n)=>{let i,s,a,u={};if(e=e||{},r==null)return e;do{for(i=Object.getOwnPropertyNames(r),s=i.length;s-- >0;)a=i[s],(!n||n(a,r,e))&&!u[a]&&(e[a]=r[a],u[a]=!0);r=t!==!1&&$8(r)}while(r&&(!t||t(r,e))&&r!==Object.prototype);return e},"toFlatObject"),mIe=o((r,e,t)=>{r=String(r),(t===void 0||t>r.length)&&(t=r.length),t-=e.length;let n=r.indexOf(e,t);return n!==-1&&n===t},"endsWith"),gIe=o(r=>{if(!r)return null;if(N1(r))return r;let e=r.length;if(!M$(e))return null;let t=new Array(e);for(;e-- >0;)t[e]=r[e];return t},"toArray"),vIe=(r=>e=>r&&e instanceof r)(typeof Uint8Array<"u"&&$8(Uint8Array)),yIe=o((r,e)=>{let n=(r&&r[jD]).call(r),i;for(;(i=n.next())&&!i.done;){let s=i.value;e.call(r,s[0],s[1])}},"forEachEntry"),SIe=o((r,e)=>{let t,n=[];for(;(t=r.exec(e))!==null;)n.push(t);return n},"matchAll"),bIe=gc("HTMLFormElement"),xIe=o(r=>r.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,o(function(t,n,i){return n.toUpperCase()+i},"replacer")),"toCamelCase"),k$=(({hasOwnProperty:r})=>(e,t)=>r.call(e,t))(Object.prototype),wIe=gc("RegExp"),H$=o((r,e)=>{let t=Object.getOwnPropertyDescriptors(r),n={};ZC(t,(i,s)=>{let a;(a=e(i,s,r))!==!1&&(n[s]=a||i)}),Object.defineProperties(r,n)},"reduceDescriptors"),CIe=o(r=>{H$(r,(e,t)=>{if(oo(r)&&["arguments","caller","callee"].indexOf(t)!==-1)return!1;let n=r[t];if(oo(n)){if(e.enumerable=!1,"writable"in e){e.writable=!1;return}e.set||(e.set=()=>{throw Error("Can not rewrite read-only method '"+t+"'")})}})},"freezeMethods"),EIe=o((r,e)=>{let t={},n=o(i=>{i.forEach(s=>{t[s]=!0})},"define");return N1(r)?n(r):n(String(r).split(e)),t},"toObjectSet"),AIe=o(()=>{},"noop"),NIe=o((r,e)=>r!=null&&Number.isFinite(r=+r)?r:e,"toFiniteNumber");function IIe(r){return!!(r&&oo(r.append)&&r[V$]==="FormData"&&r[jD])}o(IIe,"isSpecCompliantForm");var TIe=o(r=>{let e=new Array(10),t=o((n,i)=>{if($C(n)){if(e.indexOf(n)>=0)return;if(QC(n))return n;if(!("toJSON"in n)){e[i]=n;let s=N1(n)?[]:{};return ZC(n,(a,u)=>{let c=t(a,i+1);!A1(c)&&(s[u]=c)}),e[i]=void 0,s}}return n},"visit");return t(r,0)},"toJSONObject"),RIe=gc("AsyncFunction"),DIe=o(r=>r&&($C(r)||oo(r))&&oo(r.then)&&oo(r.catch),"isThenable"),z$=((r,e)=>r?setImmediate:e?((t,n)=>(X0.addEventListener("message",({source:i,data:s})=>{i===X0&&s===t&&n.length&&n.shift()()},!1),i=>{n.push(i),X0.postMessage(t,"*")}))(`axios@${Math.random()}`,[]):t=>setTimeout(t))(typeof setImmediate=="function",oo(X0.postMessage)),OIe=typeof queueMicrotask<"u"?queueMicrotask.bind(X0):typeof process<"u"&&process.nextTick||z$,BIe=o(r=>r!=null&&oo(r[jD]),"isIterable"),oe={isArray:N1,isArrayBuffer:j$,isBuffer:QC,isFormData:iIe,isArrayBufferView:J2e,isString:Y2e,isNumber:M$,isBoolean:Q2e,isObject:$C,isPlainObject:VD,isEmptyObject:$2e,isReadableStream:aIe,isRequest:oIe,isResponse:uIe,isHeaders:cIe,isUndefined:A1,isDate:Z2e,isFile:eIe,isBlob:tIe,isRegExp:wIe,isFunction:oo,isStream:nIe,isURLSearchParams:sIe,isTypedArray:vIe,isFileList:rIe,forEach:ZC,merge:Q8,extend:fIe,trim:lIe,stripBOM:pIe,inherits:hIe,toFlatObject:dIe,kindOf:MD,kindOfTest:gc,endsWith:mIe,toArray:gIe,forEachEntry:yIe,matchAll:SIe,isHTMLForm:bIe,hasOwnProperty:k$,hasOwnProp:k$,reduceDescriptors:H$,freezeMethods:CIe,toObjectSet:EIe,toCamelCase:xIe,noop:AIe,toFiniteNumber:NIe,findKey:U$,global:X0,isContextDefined:q$,isSpecCompliantForm:IIe,toJSONObject:TIe,isAsyncFn:RIe,isThenable:DIe,setImmediate:z$,asap:OIe,isIterable:BIe};var Vo=class K$ extends Error{static{o(this,"AxiosError")}static from(e,t,n,i,s,a){let u=new K$(e.message,t||e.code,n,i,s);return u.cause=e,u.name=e.name,a&&Object.assign(u,a),u}constructor(e,t,n,i,s){super(e),this.name="AxiosError",this.isAxiosError=!0,t&&(this.code=t),n&&(this.config=n),i&&(this.request=i),s&&(this.response=s,this.status=s.status)}toJSON(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:oe.toJSONObject(this.config),code:this.code,status:this.status}}};Vo.ERR_BAD_OPTION_VALUE="ERR_BAD_OPTION_VALUE";Vo.ERR_BAD_OPTION="ERR_BAD_OPTION";Vo.ECONNABORTED="ECONNABORTED";Vo.ETIMEDOUT="ETIMEDOUT";Vo.ERR_NETWORK="ERR_NETWORK";Vo.ERR_FR_TOO_MANY_REDIRECTS="ERR_FR_TOO_MANY_REDIRECTS";Vo.ERR_DEPRECATED="ERR_DEPRECATED";Vo.ERR_BAD_RESPONSE="ERR_BAD_RESPONSE";Vo.ERR_BAD_REQUEST="ERR_BAD_REQUEST";Vo.ERR_CANCELED="ERR_CANCELED";Vo.ERR_NOT_SUPPORT="ERR_NOT_SUPPORT";Vo.ERR_INVALID_URL="ERR_INVALID_URL";var st=Vo;var Y$=lr(J$(),1),qD=Y$.default;function nV(r){return oe.isPlainObject(r)||oe.isArray(r)}o(nV,"isVisitable");function $$(r){return oe.endsWith(r,"[]")?r.slice(0,-2):r}o($$,"removeBrackets");function Q$(r,e,t){return r?r.concat(e).map(o(function(i,s){return i=$$(i),!t&&s?"["+i+"]":i},"each")).join(t?".":""):e}o(Q$,"renderKey");function qIe(r){return oe.isArray(r)&&!r.some(nV)}o(qIe,"isFlatArray");var HIe=oe.toFlatObject(oe,{},null,o(function(e){return/^is[A-Z]/.test(e)},"filter"));function zIe(r,e,t){if(!oe.isObject(r))throw new TypeError("target must be an object");e=e||new(qD||FormData),t=oe.toFlatObject(t,{metaTokens:!0,dots:!1,indexes:!1},!1,o(function(b,S){return!oe.isUndefined(S[b])},"defined"));let n=t.metaTokens,i=t.visitor||p,s=t.dots,a=t.indexes,c=(t.Blob||typeof Blob<"u"&&Blob)&&oe.isSpecCompliantForm(e);if(!oe.isFunction(i))throw new TypeError("visitor must be a function");function l(v){if(v===null)return"";if(oe.isDate(v))return v.toISOString();if(oe.isBoolean(v))return v.toString();if(!c&&oe.isBlob(v))throw new st("Blob is not supported. Use a Buffer instead.");return oe.isArrayBuffer(v)||oe.isTypedArray(v)?c&&typeof Blob=="function"?new Blob([v]):Buffer.from(v):v}o(l,"convertValue");function p(v,b,S){let A=v;if(v&&!S&&typeof v=="object"){if(oe.endsWith(b,"{}"))b=n?b:b.slice(0,-2),v=JSON.stringify(v);else if(oe.isArray(v)&&qIe(v)||(oe.isFileList(v)||oe.endsWith(b,"[]"))&&(A=oe.toArray(v)))return b=$$(b),A.forEach(o(function(C,E){!(oe.isUndefined(C)||C===null)&&e.append(a===!0?Q$([b],E,s):a===null?b:b+"[]",l(C))},"each")),!1}return nV(v)?!0:(e.append(Q$(S,b,s),l(v)),!1)}o(p,"defaultVisitor");let h=[],g=Object.assign(HIe,{defaultVisitor:p,convertValue:l,isVisitable:nV});function y(v,b){if(!oe.isUndefined(v)){if(h.indexOf(v)!==-1)throw Error("Circular reference detected in "+b.join("."));h.push(v),oe.forEach(v,o(function(A,D){(!(oe.isUndefined(A)||A===null)&&i.call(e,A,oe.isString(D)?D.trim():D,b,g))===!0&&y(A,b?b.concat(D):[D])},"each")),h.pop()}}if(o(y,"build"),!oe.isObject(r))throw new TypeError("data must be an object");return y(r),e}o(zIe,"toFormData");var Cd=zIe;function Z$(r){let e={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(r).replace(/[!'()~]|%20|%00/g,o(function(n){return e[n]},"replacer"))}o(Z$,"encode");function eZ(r,e){this._pairs=[],r&&Cd(r,this,e)}o(eZ,"AxiosURLSearchParams");var tZ=eZ.prototype;tZ.append=o(function(e,t){this._pairs.push([e,t])},"append");tZ.toString=o(function(e){let t=e?function(n){return e.call(this,n,Z$)}:Z$;return this._pairs.map(o(function(i){return t(i[0])+"="+t(i[1])},"each"),"").join("&")},"toString");var rZ=eZ;function KIe(r){return encodeURIComponent(r).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}o(KIe,"encode");function W0(r,e,t){if(!e)return r;let n=t&&t.encode||KIe,i=oe.isFunction(t)?{serialize:t}:t,s=i&&i.serialize,a;if(s?a=s(e,i):a=oe.isURLSearchParams(e)?e.toString():new rZ(e,i).toString(n),a){let u=r.indexOf("#");u!==-1&&(r=r.slice(0,u)),r+=(r.indexOf("?")===-1?"?":"&")+a}return r}o(W0,"buildURL");var GIe=class{static{o(this,"InterceptorManager")}constructor(){this.handlers=[]}use(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:n?n.synchronous:!1,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){oe.forEach(this.handlers,o(function(n){n!==null&&e(n)},"forEachHandler"))}},iV=GIe;var Ed={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1,legacyInterceptorReqResOrdering:!0};var aZ=lr(require("crypto"),1);var nZ=lr(require("url"),1),iZ=nZ.default.URLSearchParams;var sV="abcdefghijklmnopqrstuvwxyz",sZ="0123456789",oZ={DIGIT:sZ,ALPHA:sV,ALPHA_DIGIT:sV+sV.toUpperCase()+sZ},XIe=o((r=16,e=oZ.ALPHA_DIGIT)=>{let t="",{length:n}=e,i=new Uint32Array(r);aZ.default.randomFillSync(i);for(let s=0;s<r;s++)t+=e[i[s]%n];return t},"generateString"),uZ={isNode:!0,classes:{URLSearchParams:iZ,FormData:qD,Blob:typeof Blob<"u"&&Blob||null},ALPHABET:oZ,generateString:XIe,protocols:["http","https","file","data"]};var uV={};yT(uV,{hasBrowserEnv:()=>oV,hasStandardBrowserEnv:()=>WIe,hasStandardBrowserWebWorkerEnv:()=>JIe,navigator:()=>aV,origin:()=>YIe});var oV=typeof window<"u"&&typeof document<"u",aV=typeof navigator=="object"&&navigator||void 0,WIe=oV&&(!aV||["ReactNative","NativeScript","NS"].indexOf(aV.product)<0),JIe=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",YIe=oV&&window.location.href||"http://localhost";var Yr={...uV,...uZ};function cV(r,e){return Cd(r,new Yr.classes.URLSearchParams,{visitor:o(function(t,n,i,s){return Yr.isNode&&oe.isBuffer(t)?(this.append(n,t.toString("base64")),!1):s.defaultVisitor.apply(this,arguments)},"visitor"),...e})}o(cV,"toURLEncodedForm");function QIe(r){return oe.matchAll(/\w+|\[(\w*)]/g,r).map(e=>e[0]==="[]"?"":e[1]||e[0])}o(QIe,"parsePropPath");function $Ie(r){let e={},t=Object.keys(r),n,i=t.length,s;for(n=0;n<i;n++)s=t[n],e[s]=r[s];return e}o($Ie,"arrayToObject");function ZIe(r){function e(t,n,i,s){let a=t[s++];if(a==="__proto__")return!0;let u=Number.isFinite(+a),c=s>=t.length;return a=!a&&oe.isArray(i)?i.length:a,c?(oe.hasOwnProp(i,a)?i[a]=[i[a],n]:i[a]=n,!u):((!i[a]||!oe.isObject(i[a]))&&(i[a]=[]),e(t,n,i[a],s)&&oe.isArray(i[a])&&(i[a]=$Ie(i[a])),!u)}if(o(e,"buildPath"),oe.isFormData(r)&&oe.isFunction(r.entries)){let t={};return oe.forEachEntry(r,(n,i)=>{e(QIe(n),i,t,0)}),t}return null}o(ZIe,"formDataToJSON");var HD=ZIe;function eTe(r,e,t){if(oe.isString(r))try{return(e||JSON.parse)(r),oe.trim(r)}catch(n){if(n.name!=="SyntaxError")throw n}return(t||JSON.stringify)(r)}o(eTe,"stringifySafely");var lV={transitional:Ed,adapter:["xhr","http","fetch"],transformRequest:[o(function(e,t){let n=t.getContentType()||"",i=n.indexOf("application/json")>-1,s=oe.isObject(e);if(s&&oe.isHTMLForm(e)&&(e=new FormData(e)),oe.isFormData(e))return i?JSON.stringify(HD(e)):e;if(oe.isArrayBuffer(e)||oe.isBuffer(e)||oe.isStream(e)||oe.isFile(e)||oe.isBlob(e)||oe.isReadableStream(e))return e;if(oe.isArrayBufferView(e))return e.buffer;if(oe.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let u;if(s){if(n.indexOf("application/x-www-form-urlencoded")>-1)return cV(e,this.formSerializer).toString();if((u=oe.isFileList(e))||n.indexOf("multipart/form-data")>-1){let c=this.env&&this.env.FormData;return Cd(u?{"files[]":e}:e,c&&new c,this.formSerializer)}}return s||i?(t.setContentType("application/json",!1),eTe(e)):e},"transformRequest")],transformResponse:[o(function(e){let t=this.transitional||lV.transitional,n=t&&t.forcedJSONParsing,i=this.responseType==="json";if(oe.isResponse(e)||oe.isReadableStream(e))return e;if(e&&oe.isString(e)&&(n&&!this.responseType||i)){let a=!(t&&t.silentJSONParsing)&&i;try{return JSON.parse(e,this.parseReviver)}catch(u){if(a)throw u.name==="SyntaxError"?st.from(u,st.ERR_BAD_RESPONSE,this,null,this.response):u}}return e},"transformResponse")],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Yr.classes.FormData,Blob:Yr.classes.Blob},validateStatus:o(function(e){return e>=200&&e<300},"validateStatus"),headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};oe.forEach(["delete","get","head","post","put","patch"],r=>{lV.headers[r]={}});var I1=lV;var tTe=oe.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),cZ=o((r=>{let e={},t,n,i;return r&&r.split(`
113
113
  `).forEach(o(function(a){i=a.indexOf(":"),t=a.substring(0,i).trim().toLowerCase(),n=a.substring(i+1).trim(),!(!t||e[t]&&tTe[t])&&(t==="set-cookie"?e[t]?e[t].push(n):e[t]=[n]:e[t]=e[t]?e[t]+", "+n:n)},"parser")),e}),"default");var lZ=Symbol("internals");function eE(r){return r&&String(r).trim().toLowerCase()}o(eE,"normalizeHeader");function zD(r){return r===!1||r==null?r:oe.isArray(r)?r.map(zD):String(r)}o(zD,"normalizeValue");function rTe(r){let e=Object.create(null),t=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g,n;for(;n=t.exec(r);)e[n[1]]=n[2];return e}o(rTe,"parseTokens");var nTe=o(r=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(r.trim()),"isValidHeaderName");function fV(r,e,t,n,i){if(oe.isFunction(n))return n.call(this,e,t);if(i&&(e=t),!!oe.isString(e)){if(oe.isString(n))return e.indexOf(n)!==-1;if(oe.isRegExp(n))return n.test(e)}}o(fV,"matchHeaderValue");function iTe(r){return r.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,t,n)=>t.toUpperCase()+n)}o(iTe,"formatHeader");function sTe(r,e){let t=oe.toCamelCase(" "+e);["get","set","has"].forEach(n=>{Object.defineProperty(r,n+t,{value:o(function(i,s,a){return this[n].call(this,e,i,s,a)},"value"),configurable:!0})})}o(sTe,"buildAccessors");var KD=class{static{o(this,"AxiosHeaders")}constructor(e){e&&this.set(e)}set(e,t,n){let i=this;function s(u,c,l){let p=eE(c);if(!p)throw new Error("header name must be a non-empty string");let h=oe.findKey(i,p);(!h||i[h]===void 0||l===!0||l===void 0&&i[h]!==!1)&&(i[h||c]=zD(u))}o(s,"setHeader");let a=o((u,c)=>oe.forEach(u,(l,p)=>s(l,p,c)),"setHeaders");if(oe.isPlainObject(e)||e instanceof this.constructor)a(e,t);else if(oe.isString(e)&&(e=e.trim())&&!nTe(e))a(cZ(e),t);else if(oe.isObject(e)&&oe.isIterable(e)){let u={},c,l;for(let p of e){if(!oe.isArray(p))throw TypeError("Object iterator must return a key-value pair");u[l=p[0]]=(c=u[l])?oe.isArray(c)?[...c,p[1]]:[c,p[1]]:p[1]}a(u,t)}else e!=null&&s(t,e,n);return this}get(e,t){if(e=eE(e),e){let n=oe.findKey(this,e);if(n){let i=this[n];if(!t)return i;if(t===!0)return rTe(i);if(oe.isFunction(t))return t.call(this,i,n);if(oe.isRegExp(t))return t.exec(i);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,t){if(e=eE(e),e){let n=oe.findKey(this,e);return!!(n&&this[n]!==void 0&&(!t||fV(this,this[n],n,t)))}return!1}delete(e,t){let n=this,i=!1;function s(a){if(a=eE(a),a){let u=oe.findKey(n,a);u&&(!t||fV(n,n[u],u,t))&&(delete n[u],i=!0)}}return o(s,"deleteHeader"),oe.isArray(e)?e.forEach(s):s(e),i}clear(e){let t=Object.keys(this),n=t.length,i=!1;for(;n--;){let s=t[n];(!e||fV(this,this[s],s,e,!0))&&(delete this[s],i=!0)}return i}normalize(e){let t=this,n={};return oe.forEach(this,(i,s)=>{let a=oe.findKey(n,s);if(a){t[a]=zD(i),delete t[s];return}let u=e?iTe(s):String(s).trim();u!==s&&delete t[s],t[u]=zD(i),n[u]=!0}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){let t=Object.create(null);return oe.forEach(this,(n,i)=>{n!=null&&n!==!1&&(t[i]=e&&oe.isArray(n)?n.join(", "):n)}),t}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([e,t])=>e+": "+t).join(`
114
114
  `)}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...t){let n=new this(e);return t.forEach(i=>n.set(i)),n}static accessor(e){let n=(this[lZ]=this[lZ]={accessors:{}}).accessors,i=this.prototype;function s(a){let u=eE(a);n[u]||(sTe(i,a),n[u]=!0)}return o(s,"defineAccessor"),oe.isArray(e)?e.forEach(s):s(e),this}};KD.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);oe.reduceDescriptors(KD.prototype,({value:r},e)=>{let t=e[0].toUpperCase()+e.slice(1);return{get:o(()=>r,"get"),set(n){this[t]=n}}});oe.freezeMethods(KD);var oi=KD;function tE(r,e){let t=this||I1,n=e||t,i=oi.from(n.headers),s=n.data;return oe.forEach(r,o(function(u){s=u.call(t,s,i.normalize(),e?e.status:void 0)},"transform")),i.normalize(),s}o(tE,"transformData");function rE(r){return!!(r&&r.__CANCEL__)}o(rE,"isCancel");var aTe=class extends st{static{o(this,"CanceledError")}constructor(e,t,n){super(e??"canceled",st.ERR_CANCELED,t,n),this.name="CanceledError",this.__CANCEL__=!0}},jo=aTe;function jl(r,e,t){let n=t.config.validateStatus;!t.status||!n||n(t.status)?r(t):e(new st("Request failed with status code "+t.status,[st.ERR_BAD_REQUEST,st.ERR_BAD_RESPONSE][Math.floor(t.status/100)-4],t.config,t.request,t))}o(jl,"settle");function pV(r){return typeof r!="string"?!1:/^([a-z][a-z\d+\-.]*:)?\/\//i.test(r)}o(pV,"isAbsoluteURL");function hV(r,e){return e?r.replace(/\/?\/$/,"")+"/"+e.replace(/^\/+/,""):r}o(hV,"combineURLs");function J0(r,e,t){let n=!pV(e);return r&&(n||t==!1)?hV(r,e):e}o(J0,"buildFullPath");var NZ=lr(yF(),1),IZ=lr(require("http"),1),TZ=lr(require("https"),1),yV=lr(require("http2"),1),SV=lr(require("util"),1),RZ=lr(OF(),1),rp=lr(require("zlib"),1);var Y0="1.13.5";function nE(r){let e=/^([-+\w]{1,25})(:?\/\/|:)/.exec(r);return e&&e[1]||""}o(nE,"parseProtocol");var oTe=/^(?:([^;]+);)?(?:[^;]+;)?(base64|),([\s\S]*)$/;function dV(r,e,t){let n=t&&t.Blob||Yr.classes.Blob,i=nE(r);if(e===void 0&&n&&(e=!0),i==="data"){r=i.length?r.slice(i.length+1):r;let s=oTe.exec(r);if(!s)throw new st("Invalid URL",st.ERR_INVALID_URL);let a=s[1],u=s[2],c=s[3],l=Buffer.from(decodeURIComponent(c),u?"base64":"utf8");if(e){if(!n)throw new st("Blob is not supported",st.ERR_NOT_SUPPORT);return new n([l],{type:a})}return l}throw new st("Unsupported protocol "+i,st.ERR_NOT_SUPPORT)}o(dV,"fromDataURI");var tp=lr(require("stream"),1);var fZ=lr(require("stream"),1);var mV=Symbol("internals"),uTe=class extends fZ.default.Transform{static{o(this,"AxiosTransformStream")}constructor(e){e=oe.toFlatObject(e,{maxRate:0,chunkSize:64*1024,minChunkSize:100,timeWindow:500,ticksRate:2,samplesCount:15},null,(n,i)=>!oe.isUndefined(i[n])),super({readableHighWaterMark:e.chunkSize});let t=this[mV]={timeWindow:e.timeWindow,chunkSize:e.chunkSize,maxRate:e.maxRate,minChunkSize:e.minChunkSize,bytesSeen:0,isCaptured:!1,notifiedBytesLoaded:0,ts:Date.now(),bytes:0,onReadCallback:null};this.on("newListener",n=>{n==="progress"&&(t.isCaptured||(t.isCaptured=!0))})}_read(e){let t=this[mV];return t.onReadCallback&&t.onReadCallback(),super._read(e)}_transform(e,t,n){let i=this[mV],s=i.maxRate,a=this.readableHighWaterMark,u=i.timeWindow,c=1e3/u,l=s/c,p=i.minChunkSize!==!1?Math.max(i.minChunkSize,l*.01):0,h=o((y,v)=>{let b=Buffer.byteLength(y);i.bytesSeen+=b,i.bytes+=b,i.isCaptured&&this.emit("progress",i.bytesSeen),this.push(y)?process.nextTick(v):i.onReadCallback=()=>{i.onReadCallback=null,process.nextTick(v)}},"pushChunk"),g=o((y,v)=>{let b=Buffer.byteLength(y),S=null,A=a,D,C=0;if(s){let E=Date.now();(!i.ts||(C=E-i.ts)>=u)&&(i.ts=E,D=l-i.bytes,i.bytes=D<0?-D:0,C=0),D=l-i.bytes}if(s){if(D<=0)return setTimeout(()=>{v(null,y)},u-C);D<A&&(A=D)}A&&b>A&&b-A>p&&(S=y.subarray(A),y=y.subarray(0,A)),h(y,S?()=>{process.nextTick(v,null,S)}:v)},"transformChunk");g(e,o(function y(v,b){if(v)return n(v);b?g(b,y):n(null)},"transformNextChunk"))}},gV=uTe;var DZ=require("events");var hZ=lr(require("util"),1),dZ=require("stream");var{asyncIterator:pZ}=Symbol,cTe=o(async function*(r){r.stream?yield*r.stream():r.arrayBuffer?yield await r.arrayBuffer():r[pZ]?yield*r[pZ]():yield r},"readBlob"),GD=cTe;var lTe=Yr.ALPHABET.ALPHA_DIGIT+"-_",iE=typeof TextEncoder=="function"?new TextEncoder:new hZ.default.TextEncoder,Q0=`\r
115
115
  `,fTe=iE.encode(Q0),pTe=2,hTe=class{static{o(this,"FormDataPart")}constructor(e,t){let{escapeName:n}=this.constructor,i=oe.isString(t),s=`Content-Disposition: form-data; name="${n(e)}"${!i&&t.name?`; filename="${n(t.name)}"`:""}${Q0}`;i?t=iE.encode(String(t).replace(/\r?\n|\r\n?/g,Q0)):s+=`Content-Type: ${t.type||"application/octet-stream"}${Q0}`,this.headers=iE.encode(s+Q0),this.contentLength=i?t.byteLength:t.size,this.size=this.headers.byteLength+this.contentLength+pTe,this.name=e,this.value=t}async*encode(){yield this.headers;let{value:e}=this;oe.isTypedArray(e)?yield e:yield*GD(e),yield fTe}static escapeName(e){return String(e).replace(/[\r\n"]/g,t=>({"\r":"%0D","\n":"%0A",'"':"%22"})[t])}},dTe=o((r,e,t)=>{let{tag:n="form-data-boundary",size:i=25,boundary:s=n+"-"+Yr.generateString(i,lTe)}=t||{};if(!oe.isFormData(r))throw TypeError("FormData instance required");if(s.length<1||s.length>70)throw Error("boundary must be 10-70 characters long");let a=iE.encode("--"+s+Q0),u=iE.encode("--"+s+"--"+Q0),c=u.byteLength,l=Array.from(r.entries()).map(([h,g])=>{let y=new hTe(h,g);return c+=y.size,y});c+=a.byteLength*l.length,c=oe.toFiniteNumber(c);let p={"Content-Type":`multipart/form-data; boundary=${s}`};return Number.isFinite(c)&&(p["Content-Length"]=c),e&&e(p),dZ.Readable.from((async function*(){for(let h of l)yield a,yield*h.encode();yield u})())},"formDataToStream"),mZ=dTe;var gZ=lr(require("stream"),1);var mTe=class extends gZ.default.Transform{static{o(this,"ZlibHeaderTransformStream")}__transform(e,t,n){this.push(e),n()}_transform(e,t,n){if(e.length!==0&&(this._transform=this.__transform,e[0]!==120)){let i=Buffer.alloc(2);i[0]=120,i[1]=156,this.push(i,t)}this.__transform(e,t,n)}},vZ=mTe;var gTe=o((r,e)=>oe.isAsyncFn(r)?function(...t){let n=t.pop();r.apply(this,t).then(i=>{try{e?n(null,...e(i)):n(null,i)}catch(s){n(s)}},n)}:r,"callbackify"),yZ=gTe;function vTe(r,e){r=r||10;let t=new Array(r),n=new Array(r),i=0,s=0,a;return e=e!==void 0?e:1e3,o(function(c){let l=Date.now(),p=n[s];a||(a=l),t[i]=c,n[i]=l;let h=s,g=0;for(;h!==i;)g+=t[h++],h=h%r;if(i=(i+1)%r,i===s&&(s=(s+1)%r),l-a<e)return;let y=p&&l-p;return y?Math.round(g*1e3/y):void 0},"push")}o(vTe,"speedometer");var SZ=vTe;function yTe(r,e){let t=0,n=1e3/e,i,s,a=o((l,p=Date.now())=>{t=p,i=null,s&&(clearTimeout(s),s=null),r(...l)},"invoke");return[o((...l)=>{let p=Date.now(),h=p-t;h>=n?a(l,p):(i=l,s||(s=setTimeout(()=>{s=null,a(i)},n-h)))},"throttled"),o(()=>i&&a(i),"flush")]}o(yTe,"throttle");var bZ=yTe;var ep=o((r,e,t=3)=>{let n=0,i=SZ(50,250);return bZ(s=>{let a=s.loaded,u=s.lengthComputable?s.total:void 0,c=a-n,l=i(c),p=a<=u;n=a;let h={loaded:a,total:u,progress:u?a/u:void 0,bytes:c,rate:l||void 0,estimated:l&&u&&p?(u-a)/l:void 0,event:s,lengthComputable:u!=null,[e?"download":"upload"]:!0};r(h)},t)},"progressEventReducer"),T1=o((r,e)=>{let t=r!=null;return[n=>e[0]({lengthComputable:t,total:r,loaded:n}),e[1]]},"progressEventDecorator"),R1=o(r=>(...e)=>oe.asap(()=>r(...e)),"asyncDecorator");function vV(r){if(!r||typeof r!="string"||!r.startsWith("data:"))return 0;let e=r.indexOf(",");if(e<0)return 0;let t=r.slice(5,e),n=r.slice(e+1);if(/;base64/i.test(t)){let s=n.length,a=n.length;for(let g=0;g<a;g++)if(n.charCodeAt(g)===37&&g+2<a){let y=n.charCodeAt(g+1),v=n.charCodeAt(g+2);(y>=48&&y<=57||y>=65&&y<=70||y>=97&&y<=102)&&(v>=48&&v<=57||v>=65&&v<=70||v>=97&&v<=102)&&(s-=2,g+=2)}let u=0,c=a-1,l=o(g=>g>=2&&n.charCodeAt(g-2)===37&&n.charCodeAt(g-1)===51&&(n.charCodeAt(g)===68||n.charCodeAt(g)===100),"tailIsPct3D");c>=0&&(n.charCodeAt(c)===61?(u++,c--):l(c)&&(u++,c-=3)),u===1&&c>=0&&(n.charCodeAt(c)===61||l(c))&&u++;let h=Math.floor(s/4)*3-(u||0);return h>0?h:0}return Buffer.byteLength(n,"utf8")}o(vV,"estimateDataURLDecodedBytes");var xZ={flush:rp.default.constants.Z_SYNC_FLUSH,finishFlush:rp.default.constants.Z_SYNC_FLUSH},STe={flush:rp.default.constants.BROTLI_OPERATION_FLUSH,finishFlush:rp.default.constants.BROTLI_OPERATION_FLUSH},wZ=oe.isFunction(rp.default.createBrotliDecompress),{http:bTe,https:xTe}=RZ.default,wTe=/https:?/,CZ=Yr.protocols.map(r=>r+":"),EZ=o((r,[e,t])=>(r.on("end",t).on("error",t),e),"flushOnFinish"),CTe=class{static{o(this,"Http2Sessions")}constructor(){this.sessions=Object.create(null)}getSession(e,t){t=Object.assign({sessionTimeout:1e3},t);let n=this.sessions[e];if(n){let p=n.length;for(let h=0;h<p;h++){let[g,y]=n[h];if(!g.destroyed&&!g.closed&&SV.default.isDeepStrictEqual(y,t))return g}}let i=yV.default.connect(e,t),s,a=o(()=>{if(s)return;s=!0;let p=n,h=p.length,g=h;for(;g--;)if(p[g][0]===i){h===1?delete this.sessions[e]:p.splice(g,1);return}},"removeSession"),u=i.request,{sessionTimeout:c}=t;if(c!=null){let p,h=0;i.request=function(){let g=u.apply(this,arguments);return h++,p&&(clearTimeout(p),p=null),g.once("close",()=>{--h||(p=setTimeout(()=>{p=null,a()},c))}),g}}i.once("close",a);let l=[i,t];return n?n.push(l):n=this.sessions[e]=[l],i}},ETe=new CTe;function ATe(r,e){r.beforeRedirects.proxy&&r.beforeRedirects.proxy(r),r.beforeRedirects.config&&r.beforeRedirects.config(r,e)}o(ATe,"dispatchBeforeRedirect");function OZ(r,e,t){let n=e;if(!n&&n!==!1){let i=NZ.default.getProxyForUrl(t);i&&(n=new URL(i))}if(n){if(n.username&&(n.auth=(n.username||"")+":"+(n.password||"")),n.auth){if(!!(n.auth.username||n.auth.password))n.auth=(n.auth.username||"")+":"+(n.auth.password||"");else if(typeof n.auth=="object")throw new st("Invalid proxy authorization",st.ERR_BAD_OPTION,{proxy:n});let a=Buffer.from(n.auth,"utf8").toString("base64");r.headers["Proxy-Authorization"]="Basic "+a}r.headers.host=r.hostname+(r.port?":"+r.port:"");let i=n.hostname||n.host;r.hostname=i,r.host=i,r.port=n.port,r.path=t,n.protocol&&(r.protocol=n.protocol.includes(":")?n.protocol:`${n.protocol}:`)}r.beforeRedirects.proxy=o(function(s){OZ(s,e,s.href)},"beforeRedirect")}o(OZ,"setProxy");var NTe=typeof process<"u"&&oe.kindOf(process)==="process",ITe=o(r=>new Promise((e,t)=>{let n,i,s=o((c,l)=>{i||(i=!0,n&&n(c,l))},"done"),a=o(c=>{s(c),e(c)},"_resolve"),u=o(c=>{s(c,!0),t(c)},"_reject");r(a,u,c=>n=c).catch(u)}),"wrapAsync"),TTe=o(({address:r,family:e})=>{if(!oe.isString(r))throw TypeError("address must be a string");return{address:r,family:e||(r.indexOf(".")<0?6:4)}},"resolveFamily"),AZ=o((r,e)=>TTe(oe.isObject(r)?r:{address:r,family:e}),"buildAddressEntry"),RTe={request(r,e){let t=r.protocol+"//"+r.hostname+":"+(r.port||(r.protocol==="https:"?443:80)),{http2Options:n,headers:i}=r,s=ETe.getSession(t,n),{HTTP2_HEADER_SCHEME:a,HTTP2_HEADER_METHOD:u,HTTP2_HEADER_PATH:c,HTTP2_HEADER_STATUS:l}=yV.default.constants,p={[a]:r.protocol.replace(":",""),[u]:r.method,[c]:r.path};oe.forEach(i,(g,y)=>{y.charAt(0)!==":"&&(p[y]=g)});let h=s.request(p);return h.once("response",g=>{let y=h;g=Object.assign({},g);let v=g[l];delete g[l],y.headers=g,y.statusCode=+v,e(y)}),h}},BZ=NTe&&o(function(e){return ITe(o(async function(n,i,s){let{data:a,lookup:u,family:c,httpVersion:l=1,http2Options:p}=e,{responseType:h,responseEncoding:g}=e,y=e.method.toUpperCase(),v,b=!1,S;if(l=+l,Number.isNaN(l))throw TypeError(`Invalid protocol version: '${e.httpVersion}' is not a number`);if(l!==1&&l!==2)throw TypeError(`Unsupported protocol version '${l}'`);let A=l===2;if(u){let se=yZ(u,te=>oe.isArray(te)?te:[te]);u=o((te,Te,Ye)=>{se(te,Te,(He,ct,N)=>{if(He)return Ye(He);let w=oe.isArray(ct)?ct.map(X=>AZ(X)):[AZ(ct,N)];Te.all?Ye(He,w):Ye(He,w[0].address,w[0].family)})},"lookup")}let D=new DZ.EventEmitter;function C(se){try{D.emit("abort",!se||se.type?new jo(null,e,S):se)}catch(te){console.warn("emit error",te)}}o(C,"abort"),D.once("abort",i);let E=o(()=>{e.cancelToken&&e.cancelToken.unsubscribe(C),e.signal&&e.signal.removeEventListener("abort",C),D.removeAllListeners()},"onFinished");(e.cancelToken||e.signal)&&(e.cancelToken&&e.cancelToken.subscribe(C),e.signal&&(e.signal.aborted?C():e.signal.addEventListener("abort",C))),s((se,te)=>{if(v=!0,te){b=!0,E();return}let{data:Te}=se;if(Te instanceof tp.default.Readable||Te instanceof tp.default.Duplex){let Ye=tp.default.finished(Te,()=>{Ye(),E()})}else E()});let I=J0(e.baseURL,e.url,e.allowAbsoluteUrls),B=new URL(I,Yr.hasBrowserEnv?Yr.origin:void 0),q=B.protocol||CZ[0];if(q==="data:"){if(e.maxContentLength>-1){let te=String(e.url||I||"");if(vV(te)>e.maxContentLength)return i(new st("maxContentLength size of "+e.maxContentLength+" exceeded",st.ERR_BAD_RESPONSE,e))}let se;if(y!=="GET")return jl(n,i,{status:405,statusText:"method not allowed",headers:{},config:e});try{se=dV(e.url,h==="blob",{Blob:e.env&&e.env.Blob})}catch(te){throw st.from(te,st.ERR_BAD_REQUEST,e)}return h==="text"?(se=se.toString(g),(!g||g==="utf8")&&(se=oe.stripBOM(se))):h==="stream"&&(se=tp.default.Readable.from(se)),jl(n,i,{data:se,status:200,statusText:"OK",headers:new oi,config:e})}if(CZ.indexOf(q)===-1)return i(new st("Unsupported protocol "+q,st.ERR_BAD_REQUEST,e));let R=oi.from(e.headers).normalize();R.set("User-Agent","axios/"+Y0,!1);let{onUploadProgress:z,onDownloadProgress:K}=e,H=e.maxRate,J,ge;if(oe.isSpecCompliantForm(a)){let se=R.getContentType(/boundary=([-_\w\d]{10,70})/i);a=mZ(a,te=>{R.set(te)},{tag:`axios-${Y0}-boundary`,boundary:se&&se[1]||void 0})}else if(oe.isFormData(a)&&oe.isFunction(a.getHeaders)){if(R.set(a.getHeaders()),!R.hasContentLength())try{let se=await SV.default.promisify(a.getLength).call(a);Number.isFinite(se)&&se>=0&&R.setContentLength(se)}catch{}}else if(oe.isBlob(a)||oe.isFile(a))a.size&&R.setContentType(a.type||"application/octet-stream"),R.setContentLength(a.size||0),a=tp.default.Readable.from(GD(a));else if(a&&!oe.isStream(a)){if(!Buffer.isBuffer(a))if(oe.isArrayBuffer(a))a=Buffer.from(new Uint8Array(a));else if(oe.isString(a))a=Buffer.from(a,"utf-8");else return i(new st("Data after transformation must be a string, an ArrayBuffer, a Buffer, or a Stream",st.ERR_BAD_REQUEST,e));if(R.setContentLength(a.length,!1),e.maxBodyLength>-1&&a.length>e.maxBodyLength)return i(new st("Request body larger than maxBodyLength limit",st.ERR_BAD_REQUEST,e))}let ve=oe.toFiniteNumber(R.getContentLength());oe.isArray(H)?(J=H[0],ge=H[1]):J=ge=H,a&&(z||J)&&(oe.isStream(a)||(a=tp.default.Readable.from(a,{objectMode:!1})),a=tp.default.pipeline([a,new gV({maxRate:oe.toFiniteNumber(J)})],oe.noop),z&&a.on("progress",EZ(a,T1(ve,ep(R1(z),!1,3)))));let le;if(e.auth){let se=e.auth.username||"",te=e.auth.password||"";le=se+":"+te}if(!le&&B.username){let se=B.username,te=B.password;le=se+":"+te}le&&R.delete("authorization");let Z;try{Z=W0(B.pathname+B.search,e.params,e.paramsSerializer).replace(/^\?/,"")}catch(se){let te=new Error(se.message);return te.config=e,te.url=e.url,te.exists=!0,i(te)}R.set("Accept-Encoding","gzip, compress, deflate"+(wZ?", br":""),!1);let xe={path:Z,method:y,headers:R.toJSON(),agents:{http:e.httpAgent,https:e.httpsAgent},auth:le,protocol:q,family:c,beforeRedirect:ATe,beforeRedirects:{},http2Options:p};!oe.isUndefined(u)&&(xe.lookup=u),e.socketPath?xe.socketPath=e.socketPath:(xe.hostname=B.hostname.startsWith("[")?B.hostname.slice(1,-1):B.hostname,xe.port=B.port,OZ(xe,e.proxy,q+"//"+B.hostname+(B.port?":"+B.port:"")+xe.path));let je,rt=wTe.test(xe.protocol);if(xe.agent=rt?e.httpsAgent:e.httpAgent,A?je=RTe:e.transport?je=e.transport:e.maxRedirects===0?je=rt?TZ.default:IZ.default:(e.maxRedirects&&(xe.maxRedirects=e.maxRedirects),e.beforeRedirect&&(xe.beforeRedirects.config=e.beforeRedirect),je=rt?xTe:bTe),e.maxBodyLength>-1?xe.maxBodyLength=e.maxBodyLength:xe.maxBodyLength=1/0,e.insecureHTTPParser&&(xe.insecureHTTPParser=e.insecureHTTPParser),S=je.request(xe,o(function(te){if(S.destroyed)return;let Te=[te],Ye=oe.toFiniteNumber(te.headers["content-length"]);if(K||ge){let w=new gV({maxRate:oe.toFiniteNumber(ge)});K&&w.on("progress",EZ(w,T1(Ye,ep(R1(K),!0,3)))),Te.push(w)}let He=te,ct=te.req||S;if(e.decompress!==!1&&te.headers["content-encoding"])switch((y==="HEAD"||te.statusCode===204)&&delete te.headers["content-encoding"],(te.headers["content-encoding"]||"").toLowerCase()){case"gzip":case"x-gzip":case"compress":case"x-compress":Te.push(rp.default.createUnzip(xZ)),delete te.headers["content-encoding"];break;case"deflate":Te.push(new vZ),Te.push(rp.default.createUnzip(xZ)),delete te.headers["content-encoding"];break;case"br":wZ&&(Te.push(rp.default.createBrotliDecompress(STe)),delete te.headers["content-encoding"])}He=Te.length>1?tp.default.pipeline(Te,oe.noop):Te[0];let N={status:te.statusCode,statusText:te.statusMessage,headers:new oi(te.headers),config:e,request:ct};if(h==="stream")N.data=He,jl(n,i,N);else{let w=[],X=0;He.on("data",o(function(Ie){w.push(Ie),X+=Ie.length,e.maxContentLength>-1&&X>e.maxContentLength&&(b=!0,He.destroy(),C(new st("maxContentLength size of "+e.maxContentLength+" exceeded",st.ERR_BAD_RESPONSE,e,ct)))},"handleStreamData")),He.on("aborted",o(function(){if(b)return;let Ie=new st("stream has been aborted",st.ERR_BAD_RESPONSE,e,ct);He.destroy(Ie),i(Ie)},"handlerStreamAborted")),He.on("error",o(function(Ie){S.destroyed||i(st.from(Ie,null,e,ct))},"handleStreamError")),He.on("end",o(function(){try{let Ie=w.length===1?w[0]:Buffer.concat(w);h!=="arraybuffer"&&(Ie=Ie.toString(g),(!g||g==="utf8")&&(Ie=oe.stripBOM(Ie))),N.data=Ie}catch(Ie){return i(st.from(Ie,null,e,N.request,N))}jl(n,i,N)},"handleStreamEnd"))}D.once("abort",w=>{He.destroyed||(He.emit("error",w),He.destroy())})},"handleResponse")),D.once("abort",se=>{S.close?S.close():S.destroy(se)}),S.on("error",o(function(te){i(st.from(te,null,e,S))},"handleRequestError")),S.on("socket",o(function(te){te.setKeepAlive(!0,1e3*60)},"handleRequestSocket")),e.timeout){let se=parseInt(e.timeout,10);if(Number.isNaN(se)){C(new st("error trying to parse `config.timeout` to int",st.ERR_BAD_OPTION_VALUE,e,S));return}S.setTimeout(se,o(function(){if(v)return;let Te=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded",Ye=e.transitional||Ed;e.timeoutErrorMessage&&(Te=e.timeoutErrorMessage),C(new st(Te,Ye.clarifyTimeoutError?st.ETIMEDOUT:st.ECONNABORTED,e,S))},"handleRequestTimeout"))}else S.setTimeout(0);if(oe.isStream(a)){let se=!1,te=!1;a.on("end",()=>{se=!0}),a.once("error",Te=>{te=!0,S.destroy(Te)}),a.on("close",()=>{!se&&!te&&C(new jo("Request stream has been aborted",e,S))}),a.pipe(S)}else a&&S.write(a),S.end()},"dispatchHttpRequest"))},"httpAdapter");var PZ=Yr.hasStandardBrowserEnv?((r,e)=>t=>(t=new URL(t,Yr.origin),r.protocol===t.protocol&&r.host===t.host&&(e||r.port===t.port)))(new URL(Yr.origin),Yr.navigator&&/(msie|trident)/i.test(Yr.navigator.userAgent)):()=>!0;var _Z=Yr.hasStandardBrowserEnv?{write(r,e,t,n,i,s,a){if(typeof document>"u")return;let u=[`${r}=${encodeURIComponent(e)}`];oe.isNumber(t)&&u.push(`expires=${new Date(t).toUTCString()}`),oe.isString(n)&&u.push(`path=${n}`),oe.isString(i)&&u.push(`domain=${i}`),s===!0&&u.push("secure"),oe.isString(a)&&u.push(`SameSite=${a}`),document.cookie=u.join("; ")},read(r){if(typeof document>"u")return null;let e=document.cookie.match(new RegExp("(?:^|; )"+r+"=([^;]*)"));return e?decodeURIComponent(e[1]):null},remove(r){this.write(r,"",Date.now()-864e5,"/")}}:{write(){},read(){return null},remove(){}};var LZ=o(r=>r instanceof oi?{...r}:r,"headersToObject");function vc(r,e){e=e||{};let t={};function n(l,p,h,g){return oe.isPlainObject(l)&&oe.isPlainObject(p)?oe.merge.call({caseless:g},l,p):oe.isPlainObject(p)?oe.merge({},p):oe.isArray(p)?p.slice():p}o(n,"getMergedValue");function i(l,p,h,g){if(oe.isUndefined(p)){if(!oe.isUndefined(l))return n(void 0,l,h,g)}else return n(l,p,h,g)}o(i,"mergeDeepProperties");function s(l,p){if(!oe.isUndefined(p))return n(void 0,p)}o(s,"valueFromConfig2");function a(l,p){if(oe.isUndefined(p)){if(!oe.isUndefined(l))return n(void 0,l)}else return n(void 0,p)}o(a,"defaultToConfig2");function u(l,p,h){if(h in e)return n(l,p);if(h in r)return n(void 0,l)}o(u,"mergeDirectKeys");let c={url:s,method:s,data:s,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,withXSRFToken:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:u,headers:o((l,p,h)=>i(LZ(l),LZ(p),h,!0),"headers")};return oe.forEach(Object.keys({...r,...e}),o(function(p){if(p==="__proto__"||p==="constructor"||p==="prototype")return;let h=oe.hasOwnProp(c,p)?c[p]:i,g=h(r[p],e[p],p);oe.isUndefined(g)&&h!==u||(t[p]=g)},"computeConfigValue")),t}o(vc,"mergeConfig");var XD=o((r=>{let e=vc({},r),{data:t,withXSRFToken:n,xsrfHeaderName:i,xsrfCookieName:s,headers:a,auth:u}=e;if(e.headers=a=oi.from(a),e.url=W0(J0(e.baseURL,e.url,e.allowAbsoluteUrls),r.params,r.paramsSerializer),u&&a.set("Authorization","Basic "+btoa((u.username||"")+":"+(u.password?unescape(encodeURIComponent(u.password)):""))),oe.isFormData(t)){if(Yr.hasStandardBrowserEnv||Yr.hasStandardBrowserWebWorkerEnv)a.setContentType(void 0);else if(oe.isFunction(t.getHeaders)){let c=t.getHeaders(),l=["content-type","content-length"];Object.entries(c).forEach(([p,h])=>{l.includes(p.toLowerCase())&&a.set(p,h)})}}if(Yr.hasStandardBrowserEnv&&(n&&oe.isFunction(n)&&(n=n(e)),n||n!==!1&&PZ(e.url))){let c=i&&s&&_Z.read(s);c&&a.set(i,c)}return e}),"default");var DTe=typeof XMLHttpRequest<"u",FZ=DTe&&function(r){return new Promise(o(function(t,n){let i=XD(r),s=i.data,a=oi.from(i.headers).normalize(),{responseType:u,onUploadProgress:c,onDownloadProgress:l}=i,p,h,g,y,v;function b(){y&&y(),v&&v(),i.cancelToken&&i.cancelToken.unsubscribe(p),i.signal&&i.signal.removeEventListener("abort",p)}o(b,"done");let S=new XMLHttpRequest;S.open(i.method.toUpperCase(),i.url,!0),S.timeout=i.timeout;function A(){if(!S)return;let C=oi.from("getAllResponseHeaders"in S&&S.getAllResponseHeaders()),I={data:!u||u==="text"||u==="json"?S.responseText:S.response,status:S.status,statusText:S.statusText,headers:C,config:r,request:S};jl(o(function(q){t(q),b()},"_resolve"),o(function(q){n(q),b()},"_reject"),I),S=null}o(A,"onloadend"),"onloadend"in S?S.onloadend=A:S.onreadystatechange=o(function(){!S||S.readyState!==4||S.status===0&&!(S.responseURL&&S.responseURL.indexOf("file:")===0)||setTimeout(A)},"handleLoad"),S.onabort=o(function(){S&&(n(new st("Request aborted",st.ECONNABORTED,r,S)),S=null)},"handleAbort"),S.onerror=o(function(E){let I=E&&E.message?E.message:"Network Error",B=new st(I,st.ERR_NETWORK,r,S);B.event=E||null,n(B),S=null},"handleError"),S.ontimeout=o(function(){let E=i.timeout?"timeout of "+i.timeout+"ms exceeded":"timeout exceeded",I=i.transitional||Ed;i.timeoutErrorMessage&&(E=i.timeoutErrorMessage),n(new st(E,I.clarifyTimeoutError?st.ETIMEDOUT:st.ECONNABORTED,r,S)),S=null},"handleTimeout"),s===void 0&&a.setContentType(null),"setRequestHeader"in S&&oe.forEach(a.toJSON(),o(function(E,I){S.setRequestHeader(I,E)},"setRequestHeader")),oe.isUndefined(i.withCredentials)||(S.withCredentials=!!i.withCredentials),u&&u!=="json"&&(S.responseType=i.responseType),l&&([g,v]=ep(l,!0),S.addEventListener("progress",g)),c&&S.upload&&([h,y]=ep(c),S.upload.addEventListener("progress",h),S.upload.addEventListener("loadend",y)),(i.cancelToken||i.signal)&&(p=o(C=>{S&&(n(!C||C.type?new jo(null,r,S):C),S.abort(),S=null)},"onCanceled"),i.cancelToken&&i.cancelToken.subscribe(p),i.signal&&(i.signal.aborted?p():i.signal.addEventListener("abort",p)));let D=nE(i.url);if(D&&Yr.protocols.indexOf(D)===-1){n(new st("Unsupported protocol "+D+":",st.ERR_BAD_REQUEST,r));return}S.send(s||null)},"dispatchXhrRequest"))};var OTe=o((r,e)=>{let{length:t}=r=r?r.filter(Boolean):[];if(e||t){let n=new AbortController,i,s=o(function(l){if(!i){i=!0,u();let p=l instanceof Error?l:this.reason;n.abort(p instanceof st?p:new jo(p instanceof Error?p.message:p))}},"onabort"),a=e&&setTimeout(()=>{a=null,s(new st(`timeout of ${e}ms exceeded`,st.ETIMEDOUT))},e),u=o(()=>{r&&(a&&clearTimeout(a),a=null,r.forEach(l=>{l.unsubscribe?l.unsubscribe(s):l.removeEventListener("abort",s)}),r=null)},"unsubscribe");r.forEach(l=>l.addEventListener("abort",s));let{signal:c}=n;return c.unsubscribe=()=>oe.asap(u),c}},"composeSignals"),kZ=OTe;var BTe=o(function*(r,e){let t=r.byteLength;if(!e||t<e){yield r;return}let n=0,i;for(;n<t;)i=n+e,yield r.slice(n,i),n=i},"streamChunk"),PTe=o(async function*(r,e){for await(let t of _Te(r))yield*BTe(t,e)},"readBytes"),_Te=o(async function*(r){if(r[Symbol.asyncIterator]){yield*r;return}let e=r.getReader();try{for(;;){let{done:t,value:n}=await e.read();if(t)break;yield n}}finally{await e.cancel()}},"readStream"),bV=o((r,e,t,n)=>{let i=PTe(r,e),s=0,a,u=o(c=>{a||(a=!0,n&&n(c))},"_onFinish");return new ReadableStream({async pull(c){try{let{done:l,value:p}=await i.next();if(l){u(),c.close();return}let h=p.byteLength;if(t){let g=s+=h;t(g)}c.enqueue(new Uint8Array(p))}catch(l){throw u(l),l}},cancel(c){return u(c),i.return()}},{highWaterMark:2})},"trackStream");var VZ=64*1024,{isFunction:WD}=oe,LTe=(({Request:r,Response:e})=>({Request:r,Response:e}))(oe.global),{ReadableStream:jZ,TextEncoder:MZ}=oe.global,UZ=o((r,...e)=>{try{return!!r(...e)}catch{return!1}},"test"),FTe=o(r=>{r=oe.merge.call({skipUndefined:!0},LTe,r);let{fetch:e,Request:t,Response:n}=r,i=e?WD(e):typeof fetch=="function",s=WD(t),a=WD(n);if(!i)return!1;let u=i&&WD(jZ),c=i&&(typeof MZ=="function"?(v=>b=>v.encode(b))(new MZ):async v=>new Uint8Array(await new t(v).arrayBuffer())),l=s&&u&&UZ(()=>{let v=!1,b=new t(Yr.origin,{body:new jZ,method:"POST",get duplex(){return v=!0,"half"}}).headers.has("Content-Type");return v&&!b}),p=a&&u&&UZ(()=>oe.isReadableStream(new n("").body)),h={stream:p&&(v=>v.body)};i&&["text","arrayBuffer","blob","formData","stream"].forEach(v=>{!h[v]&&(h[v]=(b,S)=>{let A=b&&b[v];if(A)return A.call(b);throw new st(`Response type '${v}' is not supported`,st.ERR_NOT_SUPPORT,S)})});let g=o(async v=>{if(v==null)return 0;if(oe.isBlob(v))return v.size;if(oe.isSpecCompliantForm(v))return(await new t(Yr.origin,{method:"POST",body:v}).arrayBuffer()).byteLength;if(oe.isArrayBufferView(v)||oe.isArrayBuffer(v))return v.byteLength;if(oe.isURLSearchParams(v)&&(v=v+""),oe.isString(v))return(await c(v)).byteLength},"getBodyLength"),y=o(async(v,b)=>{let S=oe.toFiniteNumber(v.getContentLength());return S??g(b)},"resolveBodyLength");return async v=>{let{url:b,method:S,data:A,signal:D,cancelToken:C,timeout:E,onDownloadProgress:I,onUploadProgress:B,responseType:q,headers:R,withCredentials:z="same-origin",fetchOptions:K}=XD(v),H=e||fetch;q=q?(q+"").toLowerCase():"text";let J=kZ([D,C&&C.toAbortSignal()],E),ge=null,ve=J&&J.unsubscribe&&(()=>{J.unsubscribe()}),le;try{if(B&&l&&S!=="get"&&S!=="head"&&(le=await y(R,A))!==0){let te=new t(b,{method:"POST",body:A,duplex:"half"}),Te;if(oe.isFormData(A)&&(Te=te.headers.get("content-type"))&&R.setContentType(Te),te.body){let[Ye,He]=T1(le,ep(R1(B)));A=bV(te.body,VZ,Ye,He)}}oe.isString(z)||(z=z?"include":"omit");let Z=s&&"credentials"in t.prototype,xe={...K,signal:J,method:S.toUpperCase(),headers:R.normalize().toJSON(),body:A,duplex:"half",credentials:Z?z:void 0};ge=s&&new t(b,xe);let je=await(s?H(ge,K):H(b,xe)),rt=p&&(q==="stream"||q==="response");if(p&&(I||rt&&ve)){let te={};["status","statusText","headers"].forEach(ct=>{te[ct]=je[ct]});let Te=oe.toFiniteNumber(je.headers.get("content-length")),[Ye,He]=I&&T1(Te,ep(R1(I),!0))||[];je=new n(bV(je.body,VZ,Ye,()=>{He&&He(),ve&&ve()}),te)}q=q||"text";let se=await h[oe.findKey(h,q)||"text"](je,v);return!rt&&ve&&ve(),await new Promise((te,Te)=>{jl(te,Te,{data:se,headers:oi.from(je.headers),status:je.status,statusText:je.statusText,config:v,request:ge})})}catch(Z){throw ve&&ve(),Z&&Z.name==="TypeError"&&/Load failed|fetch/i.test(Z.message)?Object.assign(new st("Network Error",st.ERR_NETWORK,v,ge,Z&&Z.response),{cause:Z.cause||Z}):st.from(Z,Z&&Z.code,v,ge,Z&&Z.response)}}},"factory"),kTe=new Map,xV=o(r=>{let e=r&&r.env||{},{fetch:t,Request:n,Response:i}=e,s=[n,i,t],a=s.length,u=a,c,l,p=kTe;for(;u--;)c=s[u],l=p.get(c),l===void 0&&p.set(c,l=u?new Map:FTe(e)),p=l;return l},"getFetch"),mqe=xV();var wV={http:BZ,xhr:FZ,fetch:{get:xV}};oe.forEach(wV,(r,e)=>{if(r){try{Object.defineProperty(r,"name",{value:e})}catch{}Object.defineProperty(r,"adapterName",{value:e})}});var qZ=o(r=>`- ${r}`,"renderReason"),jTe=o(r=>oe.isFunction(r)||r===null||r===!1,"isResolvedHandle");function MTe(r,e){r=oe.isArray(r)?r:[r];let{length:t}=r,n,i,s={};for(let a=0;a<t;a++){n=r[a];let u;if(i=n,!jTe(n)&&(i=wV[(u=String(n)).toLowerCase()],i===void 0))throw new st(`Unknown adapter '${u}'`);if(i&&(oe.isFunction(i)||(i=i.get(e))))break;s[u||"#"+a]=i}if(!i){let a=Object.entries(s).map(([c,l])=>`adapter ${c} `+(l===!1?"is not supported by the environment":"is not available in the build")),u=t?a.length>1?`since :
@@ -129,7 +129,7 @@ ${e.join(`
129
129
  `):this.result.push("?>"))}WriteElementNode(e){let t=this.state;this.state===Xo.BeforeDocElement&&(this.state=Xo.InsideDocElement),this.result.push("<"),this.result.push(e.nodeName);let n=this.WriteNamespacesAxis(e);this.WriteAttributesAxis(e),this.result.push(">");for(let i=e.firstChild;i!=null;i=i.nextSibling)this.WriteNode(i);for(this.result.push("</"),this.result.push(e.nodeName),this.result.push(">"),t===Xo.BeforeDocElement&&(this.state=Xo.AfterDocElement);n--;)this.visibleNamespaces.Pop()}WriteNamespacesAxis(e){let t=[],n=0;for(let s=0;s<e.attributes.length;s++){let a=e.attributes[s];if(!dM(a)){if(a.prefix&&!this.IsNamespaceRendered(a.prefix,a.namespaceURI)){let p={prefix:a.prefix,namespace:a.namespaceURI};t.push(p),this.visibleNamespaces.Add(p),n++}continue}if(a.localName==="xmlns"&&!a.prefix&&!a.nodeValue){let p={prefix:a.prefix,namespace:a.nodeValue};t.push(p),this.visibleNamespaces.Add(p),n++}let u=null,c;(c=/xmlns:([\w.-]+)/.exec(a.nodeName))&&(u=c[1]);let l=!0;if(this.exclusive&&!this.IsNamespaceInclusive(e,u)){let p=uie(e,u);if(p>1)l=!1;else if(p===0)continue}if(!this.IsNamespaceRendered(u,a.nodeValue)&&l){let p={prefix:u,namespace:a.nodeValue};t.push(p),this.visibleNamespaces.Add(p),n++}}if(!this.IsNamespaceRendered(e.prefix,e.namespaceURI)&&e.namespaceURI!=="http://www.w3.org/2000/xmlns/"){let s={prefix:e.prefix,namespace:e.namespaceURI};t.push(s),this.visibleNamespaces.Add(s),n++}t.sort(_Be);let i=null;return t.forEach(s=>{s.prefix!==i&&(i=s.prefix,this.result.push(" xmlns"),s.prefix&&this.result.push(":"+s.prefix),this.result.push('="'),this.result.push(s.namespace||""),this.result.push('"'))}),n}WriteAttributesAxis(e){let t=[];for(let n=0;n<e.attributes.length;n++){let i=e.attributes[n];dM(i)||t.push(i)}t.sort(LBe),t.forEach(n=>{n!=null&&(this.result.push(" "),this.result.push(n.nodeName),this.result.push('="'),this.result.push(this.NormalizeString(n.nodeValue,ar.Attribute)),this.result.push('"'))})}NormalizeString(e,t){let n=[];if(e)for(let i=0;i<e.length;i++){let s=e[i];s==="<"&&(t===ar.Attribute||this.IsTextNode(t))?n.push("&lt;"):s===">"&&this.IsTextNode(t)?n.push("&gt;"):s==="&"&&(t===ar.Attribute||this.IsTextNode(t))?n.push("&amp;"):s==='"'&&t===ar.Attribute?n.push("&quot;"):s===" "&&t===ar.Attribute?n.push("&#x9;"):s===`
130
130
  `&&t===ar.Attribute?n.push("&#xA;"):s==="\r"?n.push("&#xD;"):n.push(s)}return n.join("")}IsTextNode(e){switch(e){case ar.Text:case ar.CDATA:case ar.SignificantWhitespace:case ar.Whitespace:return!0}return!1}IsNamespaceInclusive(e,t){let n=t||null;return e.prefix===n?!1:this.inclusiveNamespacesPrefixList.indexOf(n||"")!==-1}IsNamespaceRendered(e,t){if(e=e||"",t=t||"",!e&&!t||e==="xml"&&t==="http://www.w3.org/XML/1998/namespace")return!0;let n=this.visibleNamespaces.GetPrefix(e);return n?n.namespace===t:!1}};function _Be(r,e){return r==e?0:r?e?r.prefix?e.prefix?r.prefix<e.prefix?-1:r.prefix>e.prefix?1:0:1:-1:1:-1}o(_Be,"XmlDsigC14NTransformNamespacesComparer");function LBe(r,e){if(!r.namespaceURI&&e.namespaceURI)return-1;if(!e.namespaceURI&&r.namespaceURI)return 1;let t=(r.namespaceURI||"")+r.localName,n=(e.namespaceURI||"")+e.localName;return t===n?0:t<n?-1:1}o(LBe,"XmlDsigC14NTransformAttributesComparer");function uie(r,e,t=0){let n=e||null;if(r.prefix===n)return++t;if(r.attributes)for(let i=0;i<r.attributes.length;i++){let s=r.attributes[i];if(!dM(s)&&e&&r.attributes[i].prefix===e)return++t}for(let i=r.firstChild;i;i=i.nextSibling)if(i.nodeType===ar.Element){let a=uie(i,e,t);if(i.nodeType===ar.Element&&a)return++t+a}return t}o(uie,"IsNamespaceUsed");function dM(r){let e=/xmlns:/;return!!(r!==null&&r.nodeType===ar.Attribute&&(r.nodeName==="xmlns"||e.test(r.nodeName)))}o(dM,"IsNamespaceNode");var a_=class extends Vu{static{o(this,"SignatureMethodOther")}OnLoadXml(e){for(let t=0;t<e.childNodes.length;t++){let n=e.childNodes.item(t);if(n.nodeType!==ar.Element||n.nodeName===we.ElementNames.HMACOutputLength)continue;let i;switch(n.localName){case we.ElementNames.RSAPSSParams:i=Oc;break;default:break}if(i){let s=new i;s.LoadXml(n),this.Add(s)}}}};a_=et([or({localName:"Other"})],a_);var $l=class extends Wn{static{o(this,"SignatureMethod")}};et([Rn({localName:we.AttributeNames.Algorithm,required:!0,defaultValue:""}),wt("design:type",String)],$l.prototype,"Algorithm",void 0);et([yr({localName:we.ElementNames.HMACOutputLength,namespaceURI:we.NamespaceURI,prefix:we.DefaultPrefix,converter:hE}),wt("design:type",Number)],$l.prototype,"HMACOutputLength",void 0);et([yr({parser:a_,noRoot:!0,minOccurs:0}),wt("design:type",a_)],$l.prototype,"Any",void 0);$l=et([or({localName:we.ElementNames.SignatureMethod})],$l);var Wb=class extends Wn{static{o(this,"CanonicalizationMethod")}};et([Rn({localName:we.AttributeNames.Algorithm,required:!0,defaultValue:we.DefaultCanonMethod}),wt("design:type",String)],Wb.prototype,"Algorithm",void 0);Wb=et([or({localName:we.ElementNames.CanonicalizationMethod})],Wb);var Jb=class extends Wn{static{o(this,"DataObject")}};et([Rn({localName:we.AttributeNames.Id,defaultValue:""}),wt("design:type",String)],Jb.prototype,"Id",void 0);et([Rn({localName:we.AttributeNames.MimeType,defaultValue:""}),wt("design:type",String)],Jb.prototype,"MimeType",void 0);et([Rn({localName:we.AttributeNames.Encoding,defaultValue:""}),wt("design:type",String)],Jb.prototype,"Encoding",void 0);Jb=et([or({localName:we.ElementNames.Object})],Jb);var C2=class extends Vu{static{o(this,"DataObjects")}};C2=et([or({localName:"xmldsig_objects",parser:Jb})],C2);var pa=class extends Wn{static{o(this,"Transform")}constructor(){super(...arguments),this.innerXml=null}GetOutput(){throw new $e(Fe.METHOD_NOT_IMPLEMENTED)}LoadInnerXml(e){if(!e)throw new $e(Fe.PARAM_REQUIRED,"node");this.innerXml=e}GetInnerXml(){return this.innerXml}};et([Rn({localName:we.AttributeNames.Algorithm,defaultValue:""}),wt("design:type",String)],pa.prototype,"Algorithm",void 0);et([yr({localName:we.ElementNames.XPath,defaultValue:""}),wt("design:type",String)],pa.prototype,"XPath",void 0);pa=et([or({localName:we.ElementNames.Transform})],pa);var Bp=class extends pa{static{o(this,"XmlDsigBase64Transform")}constructor(){super(...arguments),this.Algorithm=we.AlgorithmNamespaces.XmlDsigBase64Transform}GetOutput(){if(!this.innerXml)throw new $e(Fe.PARAM_REQUIRED,"innerXml");return rn.FromString(this.innerXml.textContent||"","base64")}};var Zl=class extends pa{static{o(this,"XmlDsigC14NTransform")}constructor(){super(...arguments),this.Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315",this.xmlCanonicalizer=new Ql(!1,!1)}GetOutput(){if(!this.innerXml)throw new $e(Fe.PARAM_REQUIRED,"innerXml");return this.xmlCanonicalizer.Canonicalize(this.innerXml)}},ef=class extends Zl{static{o(this,"XmlDsigC14NWithCommentsTransform")}constructor(){super(...arguments),this.Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315#WithComments",this.xmlCanonicalizer=new Ql(!0,!1)}};var Pp=class extends pa{static{o(this,"XmlDsigEnvelopedSignatureTransform")}constructor(){super(...arguments),this.Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"}GetOutput(){if(!this.innerXml)throw new $e(Fe.PARAM_REQUIRED,"innerXml");let e=this.innerXml.firstChild,t=[];for(;e;)qo(e)&&e.localName===we.ElementNames.Signature&&e.namespaceURI===we.NamespaceURI&&t.push(e),e=e.nextSibling;for(let n of t)n.parentNode?.removeChild(n);return this.innerXml}};var tf=class extends pa{static{o(this,"XmlDsigExcC14NTransform")}constructor(){super(...arguments),this.Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#",this.xmlCanonicalizer=new Ql(!1,!0)}get InclusiveNamespacesPrefixList(){return this.xmlCanonicalizer.InclusiveNamespacesPrefixList}set InclusiveNamespacesPrefixList(e){this.xmlCanonicalizer.InclusiveNamespacesPrefixList=e}LoadXml(e){if(super.LoadXml(e),this.Element&&this.Element.childNodes)for(let t=0;t<this.Element.childNodes.length;t++){let n=this.Element.childNodes[t];if(n&&n.nodeType===1)switch(n.localName){case"InclusiveNamespaces":this.setInclusiveNamespacesElement(n);break}}}GetOutput(){if(!this.innerXml)throw new $e(Fe.PARAM_REQUIRED,"innerXml");return this.xmlCanonicalizer.Canonicalize(this.innerXml)}setInclusiveNamespacesElement(e){let t=e.getAttribute("PrefixList");t&&t.length>0&&(this.xmlCanonicalizer.InclusiveNamespacesPrefixList=t)}},rf=class extends tf{static{o(this,"XmlDsigExcC14NWithCommentsTransform")}constructor(){super(...arguments),this.Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#WithComments",this.xmlCanonicalizer=new Ql(!0,!0)}};function cie(r){return r.parentNode?cie(r.parentNode):r}o(cie,"lookupParentNode");var Yb=class extends pa{static{o(this,"XmlDsigXPathTransform")}constructor(){super(...arguments),this.Algorithm=we.AlgorithmNamespaces.XmlDsigXPathTransform}GetOutput(){if(!this.innerXml)throw new $e(Fe.PARAM_REQUIRED,"innerXml");this.Filter(cie(this.innerXml),this.XPath)}Filter(e,t){let n=e.childNodes,i=[];for(let s=0;n&&s<n.length;s++){let a=n.item(s);i.push(a)}i.forEach(s=>{this.Evaluate(s,t)?s.parentNode&&s.parentNode.removeChild(s):this.Filter(s,t)})}GetEvaluator(e){return typeof self<"u"?e.ownerDocument==null?e:e.ownerDocument:P1("xpath")}Evaluate(e,t){try{let n=this.GetEvaluator(e),i=this.GetXml();if(!i||!i.firstChild)throw new Error("XML element or firstChild is not defined");let s=i.firstChild,a=`boolean(${t})`,u=typeof self>"u"?P1("xpath"):self;return!n.evaluate(a,e,{lookupNamespaceURI:o(l=>s.lookupNamespaceURI(l),"lookupNamespaceURI")},u.XPathResult.ANY_TYPE,null).booleanValue}catch{return!1}}};et([yr({localName:we.ElementNames.XPath,namespaceURI:we.NamespaceURI,prefix:we.DefaultPrefix,required:!0}),wt("design:type",String)],Yb.prototype,"XPath",void 0);var Qb=class extends Vu{static{o(this,"Transforms")}OnLoadXml(e){super.OnLoadXml(e),this.items=this.GetIterator().map(t=>{switch(t.Algorithm){case we.AlgorithmNamespaces.XmlDsigEnvelopedSignatureTransform:return Lv(t,Pp);case we.AlgorithmNamespaces.XmlDsigC14NTransform:return Lv(t,Zl);case we.AlgorithmNamespaces.XmlDsigC14NWithCommentsTransform:return Lv(t,ef);case we.AlgorithmNamespaces.XmlDsigExcC14NTransform:return Lv(t,tf);case we.AlgorithmNamespaces.XmlDsigExcC14NWithCommentsTransform:return Lv(t,rf);case we.AlgorithmNamespaces.XmlDsigBase64Transform:return Lv(t,Bp);case we.AlgorithmNamespaces.XmlDsigXPathTransform:return Lv(t,Yb);default:try{let n=E2.CreateFromName(t.Algorithm);if(!t.Element)throw new Error("Transform element is not defined");return n.LoadXml(t.Element),n}catch{throw new $e(Fe.CRYPTOGRAPHIC_UNKNOWN_TRANSFORM,t.Algorithm)}}})}};Qb=et([or({localName:we.ElementNames.Transforms,parser:pa})],Qb);function Lv(r,e){let t=new e;if(!r.Element)throw new Error("Transform element is not defined");return t.LoadXml(r.Element),t}o(Lv,"ChangeTransform");var nf=class extends Wn{static{o(this,"Reference")}constructor(e){super(),this.DigestMethod=new ju,e&&(this.Uri=e)}};et([Rn({defaultValue:""}),wt("design:type",String)],nf.prototype,"Id",void 0);et([Rn({localName:we.AttributeNames.URI}),wt("design:type",String)],nf.prototype,"Uri",void 0);et([Rn({localName:we.AttributeNames.Type,defaultValue:""}),wt("design:type",String)],nf.prototype,"Type",void 0);et([yr({parser:Qb}),wt("design:type",Qb)],nf.prototype,"Transforms",void 0);et([yr({required:!0,parser:ju}),wt("design:type",ju)],nf.prototype,"DigestMethod",void 0);et([yr({required:!0,localName:we.ElementNames.DigestValue,namespaceURI:we.NamespaceURI,prefix:we.DefaultPrefix,converter:Du}),wt("design:type",Uint8Array)],nf.prototype,"DigestValue",void 0);nf=et([or({localName:we.ElementNames.Reference}),wt("design:paramtypes",[String])],nf);var $b=class extends Vu{static{o(this,"References")}};$b=et([or({localName:"References",parser:nf})],$b);var _p=class extends Wn{static{o(this,"SignedInfo")}};et([Rn({localName:we.AttributeNames.Id,defaultValue:""}),wt("design:type",String)],_p.prototype,"Id",void 0);et([yr({parser:Wb,required:!0}),wt("design:type",Wb)],_p.prototype,"CanonicalizationMethod",void 0);et([yr({parser:$l,required:!0}),wt("design:type",$l)],_p.prototype,"SignatureMethod",void 0);et([yr({parser:$b,minOccurs:1,noRoot:!0}),wt("design:type",$b)],_p.prototype,"References",void 0);_p=et([or({localName:we.ElementNames.SignedInfo})],_p);var rx="http://www.w3.org/2001/04/xmldsig-more#",nx="ecdsa",Fv=class extends co{static{o(this,"EcdsaPublicKey")}};et([yr({localName:we.ElementNames.X,namespaceURI:rx,prefix:nx,required:!0,converter:Du}),wt("design:type",Uint8Array)],Fv.prototype,"X",void 0);et([yr({localName:we.ElementNames.Y,namespaceURI:rx,prefix:nx,required:!0,converter:Du}),wt("design:type",Uint8Array)],Fv.prototype,"Y",void 0);Fv=et([or({localName:we.ElementNames.PublicKey,namespaceURI:rx,prefix:nx})],Fv);var Zb=class extends co{static{o(this,"NamedCurve")}};et([Rn({localName:we.AttributeNames.URI,required:!0}),wt("design:type",String)],Zb.prototype,"Uri",void 0);Zb=et([or({localName:we.ElementNames.NamedCurve,namespaceURI:rx,prefix:nx})],Zb);var ex=class extends co{static{o(this,"DomainParameters")}};et([yr({parser:Zb}),wt("design:type",Zb)],ex.prototype,"NamedCurve",void 0);ex=et([or({localName:we.ElementNames.DomainParameters,namespaceURI:rx,prefix:nx})],ex);var tx=class extends Go{static{o(this,"EcdsaKeyValue")}constructor(){super(...arguments),this.name=we.ElementNames.ECDSAKeyValue,this.key=null,this.jwk=null,this.keyUsage=null}static canImportCryptoKey(e){return e.algorithm.name.toUpperCase()===Dp.toUpperCase()}get NamedCurve(){return fie(this.DomainParameters.NamedCurve.Uri)}async importKey(e){if(!e.algorithm.name||e.algorithm.name.toUpperCase()!=="ECDSA")throw new $e(Fe.ALGORITHM_WRONG_NAME,e.algorithm.name);let t=await Mi.crypto.subtle.exportKey("jwk",e);return this.key=e,this.jwk=t,this.PublicKey=new Fv,this.PublicKey.X=rn.FromString(t.x||"","base64url"),this.PublicKey.Y=rn.FromString(t.y||"","base64url"),this.DomainParameters||(this.DomainParameters=new ex),this.DomainParameters.NamedCurve||(this.DomainParameters.NamedCurve=new Zb),this.DomainParameters.NamedCurve.Uri=fie(t.crv||""),this.keyUsage=e.usages,this}async exportKey(e){if(this.key)return this.key;let t=rn.ToBase64Url(this.PublicKey.X),n=rn.ToBase64Url(this.PublicKey.Y),i=FBe(this.DomainParameters.NamedCurve.Uri),s={kty:"EC",crv:i,x:t,y:n,ext:!0};this.keyUsage=["verify"];let a=await Mi.crypto.subtle.importKey("jwk",s,{name:"ECDSA",namedCurve:i},!0,this.keyUsage);return this.key=a,this.key}};et([yr({parser:ex}),wt("design:type",ex)],tx.prototype,"DomainParameters",void 0);et([yr({parser:Fv,required:!0}),wt("design:type",Fv)],tx.prototype,"PublicKey",void 0);tx=et([or({localName:we.ElementNames.ECDSAKeyValue,namespaceURI:rx,prefix:nx})],tx);function fie(r){switch(r){case"P-256":return"urn:oid:1.2.840.10045.3.1.7";case"P-384":return"urn:oid:1.3.132.0.34";case"P-521":return"urn:oid:1.3.132.0.35"}throw new $e(Fe.CRYPTOGRAPHIC,"Unknown NamedCurve")}o(fie,"GetNamedCurveOid");function FBe(r){switch(r){case"urn:oid:1.2.840.10045.3.1.7":return"P-256";case"urn:oid:1.3.132.0.34":return"P-384";case"urn:oid:1.3.132.0.35":return"P-521"}throw new $e(Fe.CRYPTOGRAPHIC,"Unknown NamedCurve OID")}o(FBe,"GetNamedCurveFromOid");var kBe=class extends Map{static{o(this,"KeyInfoClauseRegistry")}},Pm=new kBe;Pm.set(we.ElementNames.RSAKeyValue,Gb);Pm.set(we.ElementNames.ECDSAKeyValue,tx);var o_=class{static{o(this,"KeyInfoClauseFactory")}static create(e){let t=Pm.get(e);if(!t)throw new $e(Fe.KEY_INFO_CLAUSE_NOT_SUPPORTED,e);return new t}};var A2=class extends Go{static{o(this,"KeyValue")}set Value(e){this.element=null,this.value=e}get Value(){return this.value}constructor(e){super(),e&&(this.Value=e)}async importKey(e){for(let[,t]of Pm)if(t.canImportCryptoKey(e)){let n=new t;return await n.importKey(e),this.Value=n,this}throw new $e(Fe.ALGORITHM_NOT_SUPPORTED,e.algorithm.name)}async exportKey(e){if(!this.Value)throw new $e(Fe.NULL_REFERENCE);return this.Value.exportKey(e)}OnGetXml(e){if(!this.Value)throw new $e(Fe.CRYPTOGRAPHIC,"KeyValue has empty value");let t=this.Value.GetXml();t&&e.appendChild(t)}OnLoadXml(e){for(let t=0;t<e.childNodes.length;t++){let n=e.childNodes.item(t);if(qo(n))try{let i=n.localName,s=o_.create(i);s.LoadXml(n),this.value=s;return}catch{}}throw new $e(Fe.CRYPTOGRAPHIC,"Unsupported KeyValue in use")}};A2=et([or({localName:we.ElementNames.KeyValue}),wt("design:paramtypes",[Go])],A2);var VBe={"2.5.4.3":{short:"CN",long:"CommonName"},"2.5.4.6":{short:"C",long:"Country"},"2.5.4.5":{long:"DeviceSerialNumber"},"0.9.2342.19200300.100.1.25":{short:"DC",long:"DomainComponent"},"1.2.840.113549.1.9.1":{short:"E",long:"EMail"},"2.5.4.42":{short:"G",long:"GivenName"},"2.5.4.43":{short:"I",long:"Initials"},"2.5.4.7":{short:"L",long:"Locality"},"2.5.4.10":{short:"O",long:"Organization"},"2.5.4.11":{short:"OU",long:"OrganizationUnit"},"2.5.4.8":{short:"ST",long:"State"},"2.5.4.9":{short:"Street",long:"StreetAddress"},"2.5.4.4":{short:"SN",long:"SurName"},"2.5.4.12":{short:"T",long:"Title"},"1.2.840.113549.1.9.8":{long:"UnstructuredAddress"},"1.2.840.113549.1.9.2":{long:"UnstructuredName"}},ix=class{static{o(this,"X509Certificate")}constructor(e){if(this.publicKey=null,e){let t=new Uint8Array(e);this.LoadRaw(t),this.raw=t}}get SerialNumber(){return this.simpl.serialNumber.valueBlock.toString()}get Issuer(){return this.NameToString(this.simpl.issuer)}get Subject(){return this.NameToString(this.simpl.subject)}async Thumbprint(e="SHA-1"){return Mi.crypto.subtle.digest(e,this.raw)}get PublicKey(){return this.publicKey}GetRaw(){return this.raw}async exportKey(e){if(e){let t={algorithm:e,usages:["verify"]};if(t.algorithm.name.toUpperCase()===Dp){let i=this.simpl.subjectPublicKeyInfo.toJSON();if("crv"in i&&i.crv)t.algorithm.namedCurve=i.crv;else throw new Error("Cannot get Curved name from the ECDSA public key")}this.isHashedAlgorithm(t.algorithm)&&typeof t.algorithm.hash=="string"&&(t.algorithm.hash={name:t.algorithm.hash});let n=await this.simpl.getPublicKey({algorithm:t});return this.publicKey=n,n}return this.simpl.subjectPublicKeyInfo.algorithm.algorithmId==="1.2.840.113549.1.1.1"?this.publicKey=await this.simpl.getPublicKey({algorithm:{algorithm:{name:"RSASSA-PKCS1-v1_5",hash:{name:"SHA-256"}},usages:["verify"]}}):this.publicKey=await this.simpl.getPublicKey(),this.publicKey}NameToString(e,t=","){let n=[];return e.typesAndValues.forEach(i=>{let s=i.type,a=VBe[s.toString()],u=a?a.short:null;n.push(`${u||s}=${i.value.valueBlock.value}`)}),n.join(t+" ")}LoadRaw(e){this.raw=new Uint8Array(e);let t=ui(this.raw.buffer);this.simpl=new fa({schema:t.result})}isHashedAlgorithm(e){return!!e.hash}};var u_=class extends Wn{static{o(this,"X509IssuerSerial")}};et([yr({localName:we.ElementNames.X509IssuerName,namespaceURI:we.NamespaceURI,prefix:we.DefaultPrefix,required:!0}),wt("design:type",String)],u_.prototype,"X509IssuerName",void 0);et([yr({localName:we.ElementNames.X509SerialNumber,namespaceURI:we.NamespaceURI,prefix:we.DefaultPrefix,required:!0}),wt("design:type",String)],u_.prototype,"X509SerialNumber",void 0);u_=et([or({localName:we.ElementNames.X509IssuerSerial})],u_);var kv;(function(r){r[r.None=0]="None",r[r.EndCertOnly=1]="EndCertOnly",r[r.ExcludeRoot=2]="ExcludeRoot",r[r.WholeChain=3]="WholeChain"})(kv||(kv={}));var sx=class extends Go{static{o(this,"KeyInfoX509Data")}constructor(e,t=kv.None){if(super(),this.x509crl=null,this.SubjectKeyIdList=[],e){if(e instanceof Uint8Array)this.AddCertificate(new ix(e));else if(e instanceof ix)switch(t){case kv.None:case kv.EndCertOnly:this.AddCertificate(e);break;case kv.ExcludeRoot:this.AddCertificatesChainFrom(e,!1);break;case kv.WholeChain:this.AddCertificatesChainFrom(e,!0);break}}}async importKey(e){throw new $e(Fe.METHOD_NOT_SUPPORTED)}async exportKey(e){if(!this.Certificates.length)throw new $e(Fe.NULL_REFERENCE);return this.Key=await this.Certificates[0].exportKey(e),this.Key}get Certificates(){return this.X509CertificateList}get CRL(){return this.x509crl}set CRL(e){this.x509crl=e}get IssuerSerials(){return this.IssuerSerialList}get SubjectKeyIds(){return this.SubjectKeyIdList}get SubjectNames(){return this.SubjectNameList}AddCertificate(e){if(!e)throw new $e(Fe.PARAM_REQUIRED,"certificate");this.X509CertificateList||(this.X509CertificateList=[]),this.X509CertificateList.push(e)}AddIssuerSerial(e,t){if(e==null)throw new $e(Fe.PARAM_REQUIRED,"issuerName");this.IssuerSerialList==null&&(this.IssuerSerialList=[]);let n={issuerName:e,serialNumber:t};this.IssuerSerialList.push(n)}AddSubjectKeyId(e){if(this.SubjectKeyIdList&&(this.SubjectKeyIdList=[]),typeof e=="string"){if(e!=null){let t=rn.FromBase64(e);this.SubjectKeyIdList.push(t)}}else this.SubjectKeyIdList.push(e)}AddSubjectName(e){this.SubjectNameList==null&&(this.SubjectNameList=[]),this.SubjectNameList.push(e)}GetXml(){let e=this.CreateDocument(),t=this.CreateElement(e),n=this.GetPrefix();if(this.IssuerSerialList!=null&&this.IssuerSerialList.length>0&&this.IssuerSerialList.forEach(i=>{let s=e.createElementNS(we.NamespaceURI,n+we.ElementNames.X509IssuerSerial),a=e.createElementNS(we.NamespaceURI,n+we.ElementNames.X509IssuerName);a.textContent=i.issuerName,s.appendChild(a);let u=e.createElementNS(we.NamespaceURI,n+we.ElementNames.X509SerialNumber);u.textContent=i.serialNumber,s.appendChild(u),t.appendChild(s)}),this.SubjectKeyIdList!=null&&this.SubjectKeyIdList.length>0&&this.SubjectKeyIdList.forEach(i=>{let s=e.createElementNS(we.NamespaceURI,n+we.ElementNames.X509SKI);s.textContent=rn.ToBase64(i),t.appendChild(s)}),this.SubjectNameList!=null&&this.SubjectNameList.length>0&&this.SubjectNameList.forEach(i=>{let s=e.createElementNS(we.NamespaceURI,n+we.ElementNames.X509SubjectName);s.textContent=i,t.appendChild(s)}),this.X509CertificateList!=null&&this.X509CertificateList.length>0&&this.X509CertificateList.forEach(i=>{let s=e.createElementNS(we.NamespaceURI,n+we.ElementNames.X509Certificate);s.textContent=rn.ToBase64(i.GetRaw()),t.appendChild(s)}),this.x509crl!=null){let i=e.createElementNS(we.NamespaceURI,n+we.ElementNames.X509CRL);i.textContent=rn.ToBase64(this.x509crl),t.appendChild(i)}return t}LoadXml(e){super.LoadXml(e),this.IssuerSerialList&&(this.IssuerSerialList=[]),this.SubjectKeyIdList&&(this.SubjectKeyIdList=[]),this.SubjectNameList&&(this.SubjectNameList=[]),this.X509CertificateList&&(this.X509CertificateList=[]),this.x509crl=null;let t=this.GetChildren(we.ElementNames.X509IssuerSerial);t&&t.forEach(i=>{let s=Wn.GetChild(i,we.ElementNames.X509IssuerName,we.NamespaceURI,!0),a=Wn.GetChild(i,we.ElementNames.X509SerialNumber,we.NamespaceURI,!0);s&&s.textContent&&a&&a.textContent&&this.AddIssuerSerial(s.textContent,a.textContent)}),t=this.GetChildren(we.ElementNames.X509SKI),t&&t.forEach(i=>{if(i.textContent){let s=rn.FromBase64(i.textContent);this.AddSubjectKeyId(s)}}),t=this.GetChildren(we.ElementNames.X509SubjectName),t?.forEach(i=>{i.textContent&&this.AddSubjectName(i.textContent)}),t=this.GetChildren(we.ElementNames.X509Certificate),t&&t.forEach(i=>{if(i.textContent){let s=rn.FromBase64(i.textContent);this.AddCertificate(new ix(s))}});let n=this.GetChild(we.ElementNames.X509CRL,!1);n&&n.textContent&&(this.x509crl=rn.FromBase64(n.textContent))}AddCertificatesChainFrom(e,t){}};sx=et([or({localName:we.ElementNames.X509Data}),wt("design:paramtypes",[Object,Object])],sx);var N2=class extends Go{static{o(this,"SPKIData")}async importKey(e){let t=await Mi.crypto.subtle.exportKey("spki",e);return this.SPKIexp=new Uint8Array(t),this.Key=e,this}async exportKey(e){if(!this.SPKIexp)throw new Error("SPKI data is not defined");let t=await Mi.crypto.subtle.importKey("spki",this.SPKIexp,e,!0,["verify"]);return this.Key=t,t}};et([yr({localName:we.ElementNames.SPKIexp,namespaceURI:we.NamespaceURI,prefix:we.DefaultPrefix,required:!0,converter:Du}),wt("design:type",Object)],N2.prototype,"SPKIexp",void 0);N2=et([or({localName:we.ElementNames.SPKIData})],N2);var Vv=class extends Vu{static{o(this,"KeyInfo")}OnLoadXml(e){for(let t=0;t<e.childNodes.length;t++){let n=e.childNodes.item(t);if(n.nodeType!==ar.Element)continue;let i=null;switch(n.localName){case we.ElementNames.KeyValue:i=A2;break;case we.ElementNames.X509Data:i=sx;break;case we.ElementNames.SPKIData:i=N2;break;case we.ElementNames.KeyName:case we.ElementNames.RetrievalMethod:case we.ElementNames.PGPData:case we.ElementNames.MgmtData:}if(i){let s=new i;s.LoadXml(n),this.Add(s)}}}};et([Rn({localName:we.AttributeNames.Id,defaultValue:""}),wt("design:type",String)],Vv.prototype,"Id",void 0);Vv=et([or({localName:we.ElementNames.KeyInfo})],Vv);var _m=class extends Wn{static{o(this,"Signature")}};et([Rn({localName:we.AttributeNames.Id,defaultValue:""}),wt("design:type",String)],_m.prototype,"Id",void 0);et([yr({parser:_p,required:!0}),wt("design:type",_p)],_m.prototype,"SignedInfo",void 0);et([yr({localName:we.ElementNames.SignatureValue,namespaceURI:we.NamespaceURI,prefix:we.DefaultPrefix,required:!0,converter:Du,defaultValue:null}),wt("design:type",Object)],_m.prototype,"SignatureValue",void 0);et([yr({parser:Vv}),wt("design:type",Vv)],_m.prototype,"KeyInfo",void 0);et([yr({parser:C2,noRoot:!0}),wt("design:type",C2)],_m.prototype,"ObjectList",void 0);_m=et([or({localName:we.ElementNames.Signature})],_m);var MBe=class extends Map{static{o(this,"AlgorithmRegistry")}},Kr=new MBe;Kr.set(e_,{type:"signature",algorithm:qb});Kr.set(t_,{type:"signature",algorithm:Hb});Kr.set(r_,{type:"signature",algorithm:zb});Kr.set(n_,{type:"signature",algorithm:Kb});Kr.set(e_,{type:"signature",algorithm:qb});Kr.set(t_,{type:"signature",algorithm:Hb});Kr.set(r_,{type:"signature",algorithm:zb});Kr.set(n_,{type:"signature",algorithm:Kb});Kr.set(hM,{type:"signature",algorithm:s_});Kr.set(WP,{type:"signature",algorithm:kb});Kr.set(JP,{type:"signature",algorithm:Vb});Kr.set(YP,{type:"signature",algorithm:jb});Kr.set(QP,{type:"signature",algorithm:Mb});Kr.set(WP.toUpperCase(),{type:"signature",algorithm:kb});Kr.set(JP.toUpperCase(),{type:"signature",algorithm:Vb});Kr.set(YP.toUpperCase(),{type:"signature",algorithm:jb});Kr.set(QP.toUpperCase(),{type:"signature",algorithm:Mb});Kr.set(oM,{type:"signature",algorithm:S2});Kr.set(uM,{type:"signature",algorithm:b2});Kr.set(cM,{type:"signature",algorithm:x2});Kr.set(lM,{type:"signature",algorithm:w2});Kr.set(Pb,{type:"hash",algorithm:KP});Kr.set(_b,{type:"hash",algorithm:y2});Kr.set(Lb,{type:"hash",algorithm:GP});Kr.set(Fb,{type:"hash",algorithm:XP});var jv=class{static{o(this,"AlgorithmFactory")}static createHashAlgorithmFromNamespace(e){for(let[t,{type:n,algorithm:i}]of Kr)if(n==="hash"&&t===e)return new i;throw new $e(Fe.ALGORITHM_NOT_SUPPORTED,e)}static createSignatureAlgorithmFromMethod(e){for(let[t,{type:n,algorithm:i}]of Kr)if(n==="signature"&&e.Algorithm===t){let s=new i;return s.fromMethod&&s.fromMethod(e),s}throw new $e(Fe.ALGORITHM_NOT_SUPPORTED,e.Algorithm)}static createHashAlgorithmFromAlgorithm(e){for(let[,{type:t,algorithm:n}]of Kr)if(t==="hash"){let i=new n;if(i.algorithm.name.toUpperCase()===e.name.toUpperCase())return i}throw new $e(Fe.ALGORITHM_NOT_SUPPORTED,e.name)}static createSignatureAlgorithmFromAlgorithm(e){for(let[,{type:t,algorithm:n}]of Kr)if(t==="signature"){let i=n.fromAlgorithm(e);if(i)return i}throw new $e(Fe.ALGORITHM_NOT_SUPPORTED,e.name)}};var UBe=class extends Map{static{o(this,"TransformRegistry")}},Lp=new UBe;Lp.set(we.AlgorithmNamespaces.XmlDsigBase64Transform,Bp);Lp.set(we.AlgorithmNamespaces.XmlDsigC14NTransform,Zl);Lp.set(we.AlgorithmNamespaces.XmlDsigC14NWithCommentsTransform,ef);Lp.set(we.AlgorithmNamespaces.XmlDsigEnvelopedSignatureTransform,Pp);Lp.set(we.AlgorithmNamespaces.XmlDsigExcC14NTransform,tf);Lp.set(we.AlgorithmNamespaces.XmlDsigExcC14NWithCommentsTransform,rf);var E2=class{static{o(this,"CryptoConfig")}static CreateFromName(e){if(!e)throw new $e(Fe.PARAM_REQUIRED,"name");let t=Lp.get(e);if(t)return new t;let n;switch(e){case we.AlgorithmNamespaces.XmlDsigBase64Transform:n=new Bp;break;case we.AlgorithmNamespaces.XmlDsigC14NTransform:n=new Zl;break;case we.AlgorithmNamespaces.XmlDsigC14NWithCommentsTransform:n=new ef;break;case we.AlgorithmNamespaces.XmlDsigEnvelopedSignatureTransform:n=new Pp;break;case we.AlgorithmNamespaces.XmlDsigXPathTransform:throw new $e(Fe.ALGORITHM_NOT_SUPPORTED,e);case we.AlgorithmNamespaces.XmlDsigXsltTransform:throw new $e(Fe.ALGORITHM_NOT_SUPPORTED,e);case we.AlgorithmNamespaces.XmlDsigExcC14NTransform:n=new tf;break;case we.AlgorithmNamespaces.XmlDsigExcC14NWithCommentsTransform:n=new rf;break;case we.AlgorithmNamespaces.XmlDecryptionTransform:throw new $e(Fe.ALGORITHM_NOT_SUPPORTED,e);default:throw new $e(Fe.ALGORITHM_NOT_SUPPORTED,e)}return n}static CreateSignatureAlgorithm(e){return jv.createSignatureAlgorithmFromMethod(e)}static CreateHashAlgorithm(e){return jv.createHashAlgorithmFromNamespace(e)}static GetHashAlgorithm(e){let t=typeof e=="string"?{name:e}:e;return jv.createHashAlgorithmFromAlgorithm(t)}static GetSignatureAlgorithm(e){let t=typeof e=="string"?{name:e}:e;return"hash"in t&&typeof t.hash=="string"&&(t.hash={name:t.hash}),jv.createSignatureAlgorithmFromAlgorithm(t)}static CreateSignatureMethod(e){let t=new $l;return t.Algorithm=e.namespaceURI,e.toMethod&&e.toMethod(t),t}static RegisterSignatureAlgorithm(e,t){Kr.set(e,{type:"signature",algorithm:t})}static RegisterHashAlgorithm(e,t){Kr.set(e,{type:"hash",algorithm:t})}static RegisterKeyInfoClause(e,t){Pm.set(e,t)}static RegisterTransform(e,t){Lp.set(e,t)}};var c_=lr(N8(),1);var pie={xmldec:{version:"1.0",encoding:"UTF-8",standalone:void 0}};var hie={explicitArray:!1,explicitRoot:!1,preserveChildrenOrder:!0};var Mv=class{static{o(this,"Xml2JsToolkit")}xml2js;constructor(e=HBe){this.xml2js=e,Dte({XMLSerializer:c_.default.XMLSerializer,DOMParser:c_.default.DOMParser,DOMImplementation:c_.default.DOMImplementation})}async validate(e,t){if(!e||e.trim().length===0)return Xr(new fr("Please provide a valid xml content"));if(!t||t.trim().length===0)return Xr(new fr("Please provide a valid existing xsd path"));try{return await ree.validate(e,t),gr()}catch(n){return Kf(n)}}parse(e,t){return new Promise((n,i)=>new this.xml2js.Parser({...hie,...t}).parseString(e,(s,a)=>s?i(s):n(a)))}build(e,t){return Promise.resolve(new this.xml2js.Builder({...pie,...t}).buildObject(e))}digest(e,t,n=Dw){return this.hash(this.canonicalize(e,n),t)}canonicalize(e,t=Dw){let n=uo(this.clear(e));return new Ql(t.includeComments,t.exclusive).Canonicalize(n)}getNode(e,t){let i=uo(e).documentElement.getElementsByTagName(t).item(0);return i?this.clear(yc(i)):null}getFirstNode(e){let n=uo(e).documentElement.firstChild;return n?this.clear(yc(n)):null}getAttribute(e,t){return uo(e).documentElement.getAttribute(t)}appendNode(e,t){let n=uo(e),{documentElement:i}=uo(t);return n.documentElement.appendChild(i),this.clear(yc(n))}insertBefore(e,t,n){let i=uo(e),s=i.documentElement.getElementsByTagName(t).item(0);if(!s?.parentNode)throw new fr(`No element found with tag "${t}" to insert before`);let{documentElement:a}=uo(n);return s.parentNode.insertBefore(a,s),this.clear(yc(i))}hash(e,t){return die.default.createHash(t).update(e,"utf8").digest().toString("base64")}clear(e){return['xmlns:default="http://www.w3.org/2000/09/xmldsig#"',' standalone="no"',"default:",":default",`
131
131
  `,"\r"," "].reduce((n,i)=>n.replace(i,""),e.replace(/(>)\s*(<)/gm,"$1$2"))}};var mie=require("class-validator");var mM=o(r=>(e,t)=>{(0,mie.registerDecorator)({name:"isDecimal",target:e.constructor,propertyName:t,options:r,validator:{validate(n){return n instanceof $r?!0:typeof n=="string"||typeof n=="number"||typeof n=="bigint"},defaultMessage(n){return`${n.property} is not a valid Decimal value`}}})},"IsDecimal");var cZe=require("reflect-metadata"),gM=require("class-validator");var ax=Symbol("choice"),ox=o(r=>r==null||r==="","isEmpty"),nn=o(r=>e=>{let{properties:t,required:n=!1,...i}=r,s=Reflect.getMetadata(ax,e)??[],a={properties:t,required:n};s.push(a),Reflect.defineMetadata(ax,s,e);for(let u of t)(0,gM.registerDecorator)({name:"choice",target:e,propertyName:u,options:i,validator:{validate(c,l){let p=l.object,h=l.property,g=Reflect.getMetadata(ax,e);if(!g)return!0;let y=g.find(v=>v.properties.includes(h));if(!y||ox(c))return!0;for(let v of y.properties){if(v===h)continue;let b=p[v];if(!ox(b))return!1}for(let v of g)if(v!==y)for(let b of v.properties){let S=p[b];if(!ox(S))return!1}return!0},defaultMessage(c){let l=Reflect.getMetadata(ax,e);if(!l)return`${c.property} validation error`;let p=l.find(g=>g.properties.includes(c.property));if(!p)return`${c.property} validation error`;let h=c.object;for(let g of p.properties){let y=h[g];if(!ox(y)&&g!==c.property)return`${c.property} cannot be set because ${g} is already set. Only one property from this choice group is allowed.`}for(let g of l)if(g!==p)for(let y of g.properties){let v=h[y];if(!ox(v))return`${c.property} cannot be set because ${y} from a different choice group is already set.`}return`${c.property} validation error`}}});if(n)for(let u of t)(0,gM.registerDecorator)({name:"choiceGroupRequired",target:e,propertyName:u,options:{...i,always:!0},validator:{validate(c,l){let p=l.object,h=Reflect.getMetadata(ax,e);if(!h)return!0;let g=h.find(y=>y.properties.includes(l.property));if(!g?.required)return!0;for(let y of g.properties){let v=p[y];if(!ox(v))return!0}return l.property!==g.properties[0]},defaultMessage(c){let l=Reflect.getMetadata(ax,e);if(!l)return"At least one property from a choice group must be provided";let p=l.find(h=>h.properties.includes(c.property));return p?`You must provide a value for one of the following properties: ${p.properties.join(", ")}`:"At least one property from a choice group must be provided"}}})},"Choice");var pZe=require("reflect-metadata");var gie=require("class-transformer");var ne=o(({fixed:r,...e}={fixed:2})=>(t,n)=>{mM(e)(t,n),(0,gie.Transform)(({value:i})=>$r.newOrUndefined(i)?.toFixed(r))(t,n)},"TransformDecimal");var Sie=require("class-transformer"),bie=require("class-validator");var l_=lr(require("dayjs"),1),vie=lr(require("dayjs/plugin/utc"),1),yie=lr(require("dayjs/plugin/timezone"),1);l_.default.extend(vie.default);l_.default.extend(yie.default);var I2=l_.default;var Fp=o((r={})=>(e,t)=>{(0,Sie.Transform)(({value:n})=>{let i=n instanceof Date?n.toISOString():n;return i?I2(i).tz("America/Sao_Paulo").format(r.format):void 0})(e,t),(0,bie.IsDateString)()(e,t)},"TransformDateString");var vM=class{static{o(this,"StateCodeAcValidator")}execute(e){if(e=e.replace(/\D/g,""),!/^01\d{11}$/.test(e))return!1;let t=e.split("").map(Number),n=t.slice(0,11),i=t[11],s=t[12],a=[4,3,2,9,8,7,6,5,4,3,2],c=n.reduce((v,b,S)=>v+b*a[S],0)%11,l=c===0||c===1?0:11-c,p=[5,4,3,2,9,8,7,6,5,4,3,2],g=[...n,l].reduce((v,b,S)=>v+b*p[S],0)%11,y=g===0||g===1?0:11-g;return i===l&&s===y}};var yM=class{static{o(this,"StateCodeAlValidator")}execute(e){let t=e.replace(/\D/g,"");if(t.length!==9||!t.startsWith("24"))return!1;let n=[9,8,7,6,5,4,3,2],i=0;for(let c=0;c<8;c++)i+=parseInt(t[c],10)*n[c];let a=i*10%11;return(a===10?0:a)===parseInt(t[8],10)}};var SM=class{static{o(this,"StateCodeAmValidator")}execute(e){let t=e.replace(/\D/g,"");if(t.length!==9)return!1;let n=[9,8,7,6,5,4,3,2],i=0;for(let a=0;a<8;a++)i+=parseInt(t[a],10)*n[a];let s;if(i<11)s=11-i;else{let a=i%11;s=a<=1?0:11-a}return s===parseInt(t[8],10)}};var bM=class{static{o(this,"StateCodeApValidator")}execute(e){let t=e.replace(/\D/g,"");if(t.length!==9||!t.startsWith("03"))return!1;let n=t.substring(0,8),i=parseInt(n,10),s,a;i>=3017001&&i<=3019022?(s=9,a=1):i>=3000001&&i<=3017e3?(s=5,a=0):(s=0,a=0);let u=[9,8,7,6,5,4,3,2],c=s;for(let h=0;h<8;h++)c+=parseInt(t[h],10)*u[h];let p=11-c%11;return p===10?p=0:p===11&&(p=a),p===parseInt(t[8],10)}};var xM=class{static{o(this,"StateCodeBaValidator")}execute(e){let t=e.replace(/\D/g,"");if(t.length!==8&&t.length!==9)return!1;let n=t.split("").map(b=>parseInt(b,10)),i=(t.length===8?n[0]:n[1])<=5||n[0]===8?10:11,s=t.length===8?[7,6,5,4,3,2]:[8,7,6,5,4,3,2],a=0;for(let b=0;b<s.length;b++)a+=n[b]*s[b];let u=a%i,c=i-u;(i===11&&u<=1||i===10&&u===0)&&(c=0);let p=(t.slice(0,t.length-2)+c.toString()).split("").map(b=>parseInt(b,10)),h=t.length===8?[8,7,6,5,4,3,2]:[9,8,7,6,5,4,3,2],g=0;for(let b=0;b<h.length;b++)g+=p[b]*h[b];let y=g%i,v=i-y;return(i===11&&y<=1||i===10&&y===0)&&(v=0),v===n[t.length-2]&&c===n[t.length-1]}};var wM=class{static{o(this,"StateCodeCeValidator")}execute(e){let t=e.replace(/\D/g,"");if(t.length!==9)return!1;let n=[9,8,7,6,5,4,3,2],i=0;for(let u=0;u<8;u++)i+=parseInt(t[u],10)*n[u];let a=11-i%11;return(a===10||a===11)&&(a=0),a===parseInt(t[8],10)}};var CM=class{static{o(this,"StateCodeDfValidator")}execute(e){let t=e.replace(/\D/g,"");if(t.length!==13||!t.startsWith("07"))return!1;let n=t.slice(0,11).split("").map(Number),i=t.slice(11).split("").map(Number),s=[2,3,4,5,6,7,8,9],a=0;for(let h=10,g=0;h>=0;h--,g=(g+1)%s.length)a+=n[h]*s[g];let u=11-a%11;(u===10||u===11)&&(u=0);let c=n.concat([u]),l=0;for(let h=11,g=0;h>=0;h--,g=(g+1)%s.length)l+=c[h]*s[g];let p=11-l%11;return(p===10||p===11)&&(p=0),u===i[0]&&p===i[1]}};var EM=class{static{o(this,"StateCodeEsValidator")}execute(e){let t=e.replace(/\D/g,"");if(t.length!==9)return!1;let n=[9,8,7,6,5,4,3,2],i=0;for(let u=0;u<8;u++)i+=parseInt(t[u],10)*n[u];let s=i%11;return(s<2?0:11-s)===parseInt(t[8],10)}};var AM=class{static{o(this,"StateCodeGoValidator")}execute(e){let t=e.replace(/\D/g,"");if(t.length!==9)return!1;let n=parseInt(t.substring(0,2));if(!(n===10||n===11||n>=20&&n<=29))return!1;let i=[9,8,7,6,5,4,3,2],s=0;for(let c=0;c<8;c++)s+=parseInt(t[c],10)*i[c];let a=s%11;return(a===0||a===1?0:11-a)===parseInt(t[8],10)}};var NM=class{static{o(this,"StateCodeMaValidator")}execute(e){let t=e.replace(/\D/g,"");if(t.length!==9||!t.startsWith("12"))return!1;let n=[9,8,7,6,5,4,3,2],i=0;for(let u=0;u<8;u++)i+=parseInt(t[u],10)*n[u];let s=i%11;return(s===0||s===1?0:11-s)===parseInt(t[8],10)}};var IM=class{static{o(this,"StateCodeMgValidator")}execute(e){let t=e.replace(/\D/g,"");if(t.length!==13)return!1;let n=t.slice(0,11),i=n.slice(0,3)+"0"+n.slice(3),s=0;for(let y=0;y<12;y++){let v=y%2===0?1:2,b=(parseInt(i[y])*v).toString();s+=b.split("").reduce((S,A)=>S+parseInt(A),0)}let u=Math.ceil(s/10)*10-s,c=n+u.toString(),l=[3,2,11,10,9,8,7,6,5,4,3,2],p=0;for(let y=0;y<12;y++)p+=parseInt(c[y])*l[y];let h=p%11,g=h<2?0:11-h;return parseInt(t[11])===u&&parseInt(t[12])===g}};var TM=class{static{o(this,"StateCodeMsValidator")}execute(e){let t=e.replace(/\D/g,"");if(t.length!==9||!(t.startsWith("28")||t.startsWith("50")))return!1;let n=[9,8,7,6,5,4,3,2],i=0;for(let c=0;c<8;c++)i+=parseInt(t[c],10)*n[c];let s=i%11,a=11-s;return(s===0||a>9?0:a)===parseInt(t[8],10)}};var RM=class{static{o(this,"StateCodeMtValidator")}execute(e){let t=e.replace(/\D/g,"");if(t.length!==11)return!1;let n=[3,2,9,8,7,6,5,4,3,2],i=0;for(let u=0;u<10;u++)i+=parseInt(t[u],10)*n[u];let s=i%11;return(s===0||s===1?0:11-s)===parseInt(t[10],10)}};var DM=class{static{o(this,"StateCodePaValidator")}execute(e){let t=e.replace(/\D/g,"");if(t.length!==9)return!1;let n=[9,8,7,6,5,4,3,2],i=0;for(let u=0;u<8;u++)i+=parseInt(t[u])*n[u];let s=i%11;return(s===0||s===1?0:11-s)===parseInt(t[8])}};var OM=class{static{o(this,"StateCodePbValidator")}execute(e){let t=e.replace(/\D/g,"");if(t.length!==9)return!1;let n=[9,8,7,6,5,4,3,2],i=0;for(let u=0;u<8;u++)i+=parseInt(t[u])*n[u];let a=11-i%11;return(a===10||a===11)&&(a=0),a===parseInt(t[8])}};var BM=class{static{o(this,"StateCodePeValidator")}execute(e){let t=e.replace(/\D/g,"");if(t.length!==9)return!1;let n=t.slice(0,7).split("").map(Number),i=[8,7,6,5,4,3,2],s=0;for(let y=0;y<7;y++)s+=n[y]*i[y];let a=s%11,u=a===0||a===1?0:11-a,c=[...n,u],l=[9,8,7,6,5,4,3,2],p=0;for(let y=0;y<8;y++)p+=c[y]*l[y];let h=p%11,g=h===0||h===1?0:11-h;return u===parseInt(t[7])&&g===parseInt(t[8])}};var PM=class{static{o(this,"StateCodePiValidator")}execute(e){let t=e.replace(/\D/g,"");if(t.length!==9)return!1;let n=[9,8,7,6,5,4,3,2],i=0;for(let u=0;u<8;u++)i+=parseInt(t[u],10)*n[u];let a=11-i%11;return(a===10||a===11)&&(a=0),a===parseInt(t[8],10)}};var _M=class{static{o(this,"StateCodePrValidator")}execute(e){let t=e.replace(/\D/g,"");if(t.length!==10)return!1;let n=t.slice(0,8).split("").map(Number),i=[3,2,7,6,5,4,3,2],s=[4,3,2,7,6,5,4,3,2],a=0;for(let h=0;h<8;h++)a+=n[h]*i[h];let u=11-a%11;u>=10&&(u=0);let c=[...n,u],l=0;for(let h=0;h<9;h++)l+=c[h]*s[h];let p=11-l%11;return p>=10&&(p=0),u===parseInt(t[8])&&p===parseInt(t[9])}};var LM=class{static{o(this,"StateCodeRjValidator")}execute(e){let t=e.replace(/\D/g,"");if(t.length!==8)return!1;let n=[2,7,6,5,4,3,2],i=0;for(let u=0;u<7;u++)i+=parseInt(t[u],10)*n[u];let s=i%11;return(s<=1?0:11-s)===parseInt(t[7],10)}};var FM=class{static{o(this,"StateCodeRnValidator")}execute(e){let t=e.replace(/\D/g,"");if(!(t.length===9||t.length===10)||!t.startsWith("20"))return!1;let n=t.length===9?[9,8,7,6,5,4,3,2]:[10,9,8,7,6,5,4,3,2],i=t.slice(0,n.length).split("").map(Number),s=0;for(let l=0;l<n.length;l++)s+=i[l]*n[l];let u=s*10%11;return(u===10?0:u)===parseInt(t[t.length-1])}};var kM=class{static{o(this,"StateCodeRoValidator")}execute(e){let t=e.replace(/\D/g,""),n,i;if(t.length===9)n=t.slice(3,8).split("").map(Number),i=[6,5,4,3,2];else if(t.length===14)n=t.slice(0,13).split("").map(Number),i=[6,5,4,3,2,9,8,7,6,5,4,3,2];else return!1;let s=0;for(let c=0;c<i.length;c++)s+=n[c]*i[c];let u=11-s%11;return(u===10||u===11)&&(u-=10),u===parseInt(t[t.length-1])}};var VM=class{static{o(this,"StateCodeRrValidator")}execute(e){let t=e.replace(/\D/g,"");if(t.length!==9||!t.startsWith("24"))return!1;let n=0;for(let s=0;s<8;s++)n+=(s+1)*parseInt(t[s],10);return n%9===parseInt(t[8],10)}};var jM=class{static{o(this,"StateCodeRsValidator")}execute(e){let t=e.replace(/\D/g,"");if(t.length!==10)return!1;let n=[2,9,8,7,6,5,4,3,2],i=0;for(let a=0;a<9;a++)i+=parseInt(t[a],10)*n[a];let s=11-i%11;return(s===10||s===11)&&(s=0),s===parseInt(t[9],10)}};var MM=class{static{o(this,"StateCodeScValidator")}execute(e){let t=e.replace(/\D/g,"");if(t.length!==9)return!1;let n=[9,8,7,6,5,4,3,2],i=0;for(let u=0;u<8;u++)i+=parseInt(t[u],10)*n[u];let a=11-i%11;return(a===10||a===11)&&(a=0),a===parseInt(t[8],10)}};var UM=class{static{o(this,"StateCodeSeValidator")}execute(e){let t=e.replace(/\D/g,"");if(t.length!==9)return!1;let n=[9,8,7,6,5,4,3,2],i=0;for(let u=0;u<8;u++)i+=parseInt(t[u])*n[u];let a=11-i%11;return(a===10||a===11)&&(a=0),a===parseInt(t[8],10)}};var qM=class{static{o(this,"StateCodeSpValidator")}execute(e){let t=e;if(t.length!==12)return!1;let n=t.split("").map(Number),i=[1,3,4,5,6,7,8,10],s=0;for(let p=0;p<8;p++)s+=n[p]*i[p];let a=s%11%10,u=[3,2,10,9,8,7,6,5,4,3,2],c=0;for(let p=0;p<11;p++)c+=n[p]*u[p];let l=c%11%10;return a===n[8]&&l===n[11]}};var HM=class{static{o(this,"StateCodeToValidator")}execute(e){let t=e.replace(/\D/g,"");if(t.length!==11)return!1;let n=t.split(""),i=n.slice(0,2).concat(n.slice(4,10)).map(Number),s=[9,8,7,6,5,4,3,2],a=0;for(let l=0;l<s.length;l++)a+=i[l]*s[l];let u=a%11;return(u<2?0:11-u)===parseInt(t[10])}};var P0=class{static{o(this,"ASN1")}extractCertificateInfo(e){let n=e.subject.split(`
132
- `).reduce((s,a)=>{let[u,c]=a.split("=").map(l=>l.trim());return!u||!c?s:s.set(u,c)},new Map),i=this.oid("2.16.76.1.3.1",e.raw);return{CNPJ:this.oid("2.16.76.1.3.3",e.raw),CPF:i,CN:n.get("CN"),O:n.get("O"),OU:n.get("OU"),ST:n.get("ST"),L:n.get("L"),C:n.get("C")}}oid(e,t){let n=this.marker(e),i=t.indexOf(n);if(i===-1)return;let s=[t.subarray(0,i),t.subarray(i)];if(s.length<=1)return;let u=s[0].subarray(-4),c=u.subarray(-2);u[0]===48?c=u:u[1]===48&&(c=u.subarray(-3));let l=Buffer.concat([c,n,s[1]]),p=this.length(l),h=n.length,g=l.subarray(2+h,2+h+p),y=g.length-c.length-2;if(y<=0||y>g.length)return;let b=g.subarray(-y).toString("utf8");return b.substring(Buffer.from(b).findIndex((S,A)=>b.charCodeAt(A)>=32&&b.charCodeAt(A)<=126))}length(e){return e.length<2?0:e[1]<=127?e[1]:Buffer.from([e[1]&15]).reduce((t,n)=>t<<8|n,0)}marker(e){let t=e.split("."),n=t.slice(2).reduce((i,s)=>{let a=this.base128(i,Number.parseInt(s,10),!0);return i.length=0,i.push(...a),i},[]);return Buffer.from([6,n.length+1,40*Number.parseInt(t[0],10)+Number.parseInt(t[1],10),...n])}base128(e,t,n){let i=[...e];if(t>127){let a=this.base128(e,Math.floor(t/128),!1);a.length=0,i.push(...a)}let s=t%128;return n?i.push(s):i.push(128|s),i}};var ha=(function(r){return r.Normal="1",r.EPEC="4",r.SVCAN="6",r.SVCRS="7",r.OFFLINE="9",r})({});var kp=(function(r){return r.Cancelamento="110111",r})({});var zBe={PL_009_V4:"PL_009_V4",PL_010_V1:"PL_010_V1",PL_010_V1_21:"PL_010_V1.21",PL_010_V1_30:"PL_010_V1.30"},T2=o(()=>{if(process.env.NFETS_NFE_SCHEMAS_DIR)return process.env.NFETS_NFE_SCHEMAS_DIR;try{return B1("packages/nfe/schemas",{onFound:o(r=>r,"onFound"),onNotFound:o(()=>{throw new Error("Schemas not found on packages/nfe/schemas")},"onNotFound")})}catch{return B1("nfe/schemas",{onFound:o(r=>r,"onFound"),onNotFound:o(()=>{throw new Error("Schemas not found on nfe/schemas")},"onNotFound")})}},"schemas"),Vp=zBe;var R2=class{static{o(this,"AccessKeyBuilder")}compile(e){let t=e.cUF.toString().padStart(2,"0"),n=e.year.toString().padStart(2,"0"),i=e.month.toString().padStart(2,"0"),s=(e.identification??"").padStart(14,"0"),a=e.mod.toString().padStart(2,"0"),u=e.serie.toString().padStart(3,"0"),c=e.nNF.toString().padStart(9,"0"),l=e.tpEmis.toString().padStart(1,"0"),p=(e.cNF??this.code()).toString().padStart(8,"0"),h=`${t}${n}${i}${s}${a}${u}${c}${l}${p}`;return`${h}${this.verifyingDigit(h)}`}decompile(e){if(e.length!==44)return;let n=/^([0-9]{2})([0-9]{2})([0-9]{2})([0-9]{14})([0-9]{2})([0-9]{3})([0-9]{9})([0-9]{1})([0-9]{8})([0-9]{1})$/.exec(e);if(!n)return;let[i,s,a,u,c,l,p,h,g,y,v]=n;return{cUF:s,year:a,month:u,identification:c,mod:l,serie:p,nNF:h,tpEmis:g,cNF:y,vd:v}}code(){let e=Math.floor(Math.random()*1e8).toString().padStart(8,"0");return this.isCodeValid(e)?e:this.code()}isCodeValid(e){return!~["00000000","11111111","22222222","33333333","44444444","55555555","66666666","77777777","88888888","99999999","12345678","23456789","34567890","45678901","56789012","67890123","78901234","89012345","90123456","01234567"].indexOf(e)}verifyingDigit(e){let t=[2,3,4,5,6,7,8,9],n=42,i=0;for(;n>=0;)for(let a=0;a<8&&n>=0;a++){let u=parseInt(e[n]);i+=u*t[a],n--}let s=11-i%11;return s>9?0:s}};var D2=class{static{o(this,"DefaultDetBuilderAggregator")}builder;constructor(e){this.builder=e}prod(e){let t=$r.from(0);this.builder.increment(({ICMSTot:n})=>({ICMSTot:{vProd:$r.newOrZero(n?.vProd).add(e.vProd).toFixed(2),vFrete:$r.newOrZero(n?.vFrete).add(e.vFrete??t).toFixed(2),vSeg:$r.newOrZero(n?.vSeg).add(e.vSeg??t).toFixed(2),vDesc:$r.newOrZero(n?.vDesc).add(e.vDesc??t).toFixed(2),vOutro:$r.newOrZero(n?.vOutro).add(e.vOutro??t).toFixed(2)}}))}cofins(e){let t=$r.from(0);this.builder.increment(({ICMSTot:n})=>({ICMSTot:{vCOFINS:$r.newOrZero(n?.vCOFINS).add(e.COFINSAliq?.vCOFINS??e.COFINSOutr?.vCOFINS??e.COFINSQtde?.vCOFINS??t).toFixed(2)}}))}pis(e){let t=$r.from(0);this.builder.increment(({ICMSTot:n})=>({ICMSTot:{vPIS:$r.newOrZero(n?.vPIS).add(e.PISAliq?.vPIS??e.PISOutr?.vPIS??e.PISQtde?.vPIS??t).toFixed(2)}}))}icms(e){let t=$r.from(0),[n]=Object.keys(e),i=e[n];this.builder.increment(({ICMSTot:s})=>({ICMSTot:{vBC:$r.newOrZero(s?.vBC).add(i.vBC??t).toFixed(2),vICMS:$r.newOrZero(s?.vICMS).add(i.vICMS??t).toFixed(2),vICMSDeson:$r.newOrZero(s?.vICMSDeson).add(i.vICMSDeson??t).toFixed(2),vBCST:$r.newOrZero(s?.vBCST).add(i.vBCST??t).toFixed(2),vST:$r.newOrZero(s?.vST).add(i.vICMSST??t).toFixed(2)}}))}};var O2=class{static{o(this,"DefaultTotalBuilderAggregator")}builder;constructor(e){this.builder=e}aggregate(){let e=$r.from(0),t=this.builder.schema===Vp.PL_010_V1_30;this.builder.increment(({ICMSTot:n,ISSQNtot:i},s)=>({vNFTot:t?s.reduce((a,u)=>a.add(u?.vItem??"0.00"),e).toFixed(2):void 0,ICMSTot:{vNF:$r.newOrZero(n?.vProd).sub(n?.vDesc??e).sub(n?.vICMSDeson??e).add(n?.vST??e).add(n?.vFCPST??e).add(n?.vFrete??e).add(n?.vSeg??e).add(n?.vOutro??e).add(n?.vII??e).add(n?.vIPI??e).add(n?.vIPIDevol??e).add(i?.vServ??e).toFixed(2)}}))}};var xie={[kp.Cancelamento]:{method:"envEventoCancNFe",version:"1.00",descEvento:"Cancelamento"}};var zM=lr(require("crypto"),1);var f_=class{static{o(this,"CryptoSignerRepository")}async sign(e,t,n){try{if(!t.privateKey)return Xr(new fr("Certificate private key not found"));let s=zM.default.sign(n,Buffer.from(e),{key:t.privateKey,padding:zM.default.constants.RSA_PKCS1_PADDING}).toString("base64");return await Promise.resolve(gr(s))}catch(i){return Promise.resolve(Kf(i))}}};var ux=class{static{o(this,"Pipeline")}certificate;xmlns="http://www.portalfiscal.inf.br/nfe";http=D1.create();toolkit=new Mv;caching=new kw;signerRepository=new f_;certificates=new tC(this.http,this.signerRepository,this.caching);soap=new uE(this.toolkit,this.certificates);signer=new Ow(this.toolkit,this.certificates);xmlSigner=new Bw(this.toolkit,this.certificates);constructor(e){this.certificate=e}errors(){return Reflect.getMetadata(Po,this)}};var Tie=lr(require("path"),1);var wie=require("class-transformer"),Bc=require("class-validator");function p_(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(p_,"_ts_decorate");function GM(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(GM,"_ts_metadata");var Lm=class{static{o(this,"ConsultStatusPayload")}tpAmb;cUF;xServ="STATUS"};p_([(0,Bc.IsEnum)(qe),GM("design:type",typeof EnvironmentCode>"u"?Object:EnvironmentCode)],Lm.prototype,"tpAmb",void 0);p_([(0,Bc.IsEnum)(pe),GM("design:type",typeof StateCode>"u"?Object:StateCode)],Lm.prototype,"cUF",void 0);p_([(0,Bc.IsOptional)()],Lm.prototype,"xServ",void 0);var KM=class{static{o(this,"ConsultStatusRequest")}consStatServ};p_([(0,Bc.IsNotEmptyObject)(),(0,Bc.IsObject)(),(0,Bc.ValidateNested)(),(0,wie.Type)(()=>Lm),GM("design:type",typeof IConsultStatusPayload>"u"?Object:IConsultStatusPayload)],KM.prototype,"consStatServ",void 0);var d_=require("class-transformer"),ur=require("class-validator");function Zi(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(Zi,"_ts_decorate");function Ks(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(Ks,"_ts_metadata");var h_=class{static{o(this,"InfInutAttributes")}Id};Zi([(0,ur.IsString)(),Ks("design:type",String)],h_.prototype,"Id",void 0);var B2=class{static{o(this,"InutNFeAttributes")}xmlns;versao};Zi([(0,ur.IsString)(),Ks("design:type",String)],B2.prototype,"xmlns",void 0);Zi([(0,ur.IsString)(),(0,ur.IsOptional)(),Ks("design:type",String)],B2.prototype,"versao",void 0);var zs=class{static{o(this,"InfInut")}$;tpAmb;xServ="INUTILIZAR";cUF;ano;CNPJ;CPF;mod;serie;nNFIni;nNFFin;xJust};Zi([(0,ur.ValidateNested)(),(0,d_.Type)(()=>h_),Ks("design:type",typeof IInfInutAttributes>"u"?Object:IInfInutAttributes)],zs.prototype,"$",void 0);Zi([(0,ur.IsEnum)(qe),Ks("design:type",typeof EnvironmentCode>"u"?Object:EnvironmentCode)],zs.prototype,"tpAmb",void 0);Zi([(0,ur.IsOptional)()],zs.prototype,"xServ",void 0);Zi([(0,ur.IsEnum)(pe),Ks("design:type",typeof StateCode>"u"?Object:StateCode)],zs.prototype,"cUF",void 0);Zi([(0,ur.IsString)(),(0,ur.Length)(2,2),(0,ur.Matches)(/^[0-9]{2}$/),Ks("design:type",String)],zs.prototype,"ano",void 0);Zi([(0,ur.IsString)(),(0,ur.IsOptional)(),Ks("design:type",String)],zs.prototype,"CNPJ",void 0);Zi([(0,ur.IsString)(),(0,ur.IsOptional)(),Ks("design:type",String)],zs.prototype,"CPF",void 0);Zi([(0,ur.IsString)(),(0,ur.Length)(2,2),(0,ur.Matches)(/^(55|65)$/),Ks("design:type",String)],zs.prototype,"mod",void 0);Zi([(0,ur.IsString)(),(0,ur.Matches)(/^[0-9]{1,3}$/),Ks("design:type",String)],zs.prototype,"serie",void 0);Zi([(0,ur.IsString)(),(0,ur.Matches)(/^[0-9]{1,9}$/),Ks("design:type",String)],zs.prototype,"nNFIni",void 0);Zi([(0,ur.IsString)(),(0,ur.Matches)(/^[0-9]{1,9}$/),Ks("design:type",String)],zs.prototype,"nNFFin",void 0);Zi([(0,ur.IsString)(),(0,ur.MinLength)(15),(0,ur.MaxLength)(255),Ks("design:type",String)],zs.prototype,"xJust",void 0);zs=Zi([nn({properties:["CNPJ","CPF"],required:!0})],zs);var jp=class{static{o(this,"InutilizacaoPayload")}$;infInut;Signature};Zi([(0,ur.IsObject)(),(0,ur.ValidateNested)(),(0,d_.Type)(()=>B2),Ks("design:type",typeof IInutNFeAttributes>"u"?Object:IInutNFeAttributes)],jp.prototype,"$",void 0);Zi([(0,ur.IsObject)(),(0,ur.ValidateNested)(),(0,d_.Type)(()=>zs),Ks("design:type",typeof IInfInut>"u"?Object:IInfInut)],jp.prototype,"infInut",void 0);Zi([(0,ur.Allow)(),Ks("design:type",typeof Signature>"u"?Object:Signature)],jp.prototype,"Signature",void 0);var sf=require("class-validator");function XM(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(XM,"_ts_decorate");function Cie(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(Cie,"_ts_metadata");var Uv=class{static{o(this,"ConsultaProtocoloPayload")}tpAmb;xServ="CONSULTAR";chNFe};XM([(0,sf.IsEnum)(qe),Cie("design:type",typeof EnvironmentCode>"u"?Object:EnvironmentCode)],Uv.prototype,"tpAmb",void 0);XM([(0,sf.IsOptional)()],Uv.prototype,"xServ",void 0);XM([(0,sf.IsString)(),(0,sf.Length)(44,44),(0,sf.Matches)(/^[0-9]{44}$/),Cie("design:type",String)],Uv.prototype,"chNFe",void 0);var Wo=require("class-validator");function P2(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(P2,"_ts_decorate");function m_(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(m_,"_ts_metadata");var Mp=class{static{o(this,"NfeAutorizacaoPayload")}tpAmb;cUF;idLote;indSinc="1";NFe};P2([(0,Wo.IsEnum)(qe),(0,Wo.IsOptional)(),m_("design:type",typeof EnvironmentCode>"u"?Object:EnvironmentCode)],Mp.prototype,"tpAmb",void 0);P2([(0,Wo.IsEnum)(pe),(0,Wo.IsOptional)(),m_("design:type",typeof StateCode>"u"?Object:StateCode)],Mp.prototype,"cUF",void 0);P2([(0,Wo.IsString)(),(0,Wo.IsOptional)(),m_("design:type",String)],Mp.prototype,"idLote",void 0);P2([(0,Wo.IsOptional)(),(0,Wo.IsEnum)(["0","1"])],Mp.prototype,"indSinc",void 0);P2([(0,Wo.IsNotEmpty)(),m_("design:type",typeof T>"u"?Object:T)],Mp.prototype,"NFe",void 0);var g_=require("class-validator");function Eie(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(Eie,"_ts_decorate");function Aie(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(Aie,"_ts_metadata");var cx=class{static{o(this,"RetAutorizacaoPayload")}tpAmb;nRec};Eie([(0,g_.IsEnum)(qe),Aie("design:type",typeof EnvironmentCode>"u"?Object:EnvironmentCode)],cx.prototype,"tpAmb",void 0);Eie([(0,g_.IsString)(),Aie("design:type",String)],cx.prototype,"nRec",void 0);var Zr=require("class-validator"),_2=require("class-transformer");function es(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(es,"_ts_decorate");function bs(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(bs,"_ts_metadata");var v_=class{static{o(this,"InfEventoAttributes")}Id};es([(0,Zr.IsString)(),bs("design:type",String)],v_.prototype,"Id",void 0);var Ss=class{static{o(this,"InfEvento")}$;cOrgao;tpAmb;CNPJ;CPF;chNFe;dhEvento;tpEvento;nSeqEvento;verEvento;detEvento};es([(0,Zr.IsObject)(),(0,Zr.ValidateNested)(),(0,_2.Type)(()=>v_),bs("design:type",typeof IInfEventoAttributes>"u"?Object:IInfEventoAttributes)],Ss.prototype,"$",void 0);es([(0,Zr.IsString)(),bs("design:type",typeof StateCode>"u"?Object:StateCode)],Ss.prototype,"cOrgao",void 0);es([(0,Zr.IsString)(),bs("design:type",typeof EnvironmentCode>"u"?Object:EnvironmentCode)],Ss.prototype,"tpAmb",void 0);es([(0,Zr.IsString)(),(0,Zr.IsOptional)(),bs("design:type",String)],Ss.prototype,"CNPJ",void 0);es([(0,Zr.IsString)(),(0,Zr.IsOptional)(),bs("design:type",String)],Ss.prototype,"CPF",void 0);es([(0,Zr.IsString)(),bs("design:type",String)],Ss.prototype,"chNFe",void 0);es([Fp({format:"YYYY-MM-DD[T]HH:mm:ssZ"}),bs("design:type",String)],Ss.prototype,"dhEvento",void 0);es([(0,Zr.IsEnum)(kp),bs("design:type",typeof kp>"u"?Object:kp)],Ss.prototype,"tpEvento",void 0);es([(0,Zr.IsNumber)(),bs("design:type",Number)],Ss.prototype,"nSeqEvento",void 0);es([(0,Zr.IsString)(),bs("design:type",String)],Ss.prototype,"verEvento",void 0);es([(0,Zr.IsObject)(),bs("design:type",typeof T>"u"?Object:T)],Ss.prototype,"detEvento",void 0);Ss=es([nn({properties:["CNPJ","CPF"],required:!0})],Ss);var y_=class{static{o(this,"EventoItemAttributes")}xmlns};es([(0,Zr.IsString)(),bs("design:type",String)],y_.prototype,"xmlns",void 0);var af=class{static{o(this,"EventoItem")}$;infEvento;Signature};es([(0,Zr.IsObject)(),(0,Zr.ValidateNested)(),(0,_2.Type)(()=>y_),bs("design:type",typeof IEventoItemAttributes>"u"?Object:IEventoItemAttributes)],af.prototype,"$",void 0);es([(0,Zr.IsObject)(),(0,Zr.ValidateNested)(),(0,_2.Type)(()=>Ss),bs("design:type",typeof Ss>"u"?Object:Ss)],af.prototype,"infEvento",void 0);es([(0,Zr.Allow)(),bs("design:type",typeof Signature>"u"?Object:Signature)],af.prototype,"Signature",void 0);var lx=class{static{o(this,"EventoPayload")}idLote;evento};es([(0,Zr.IsString)(),bs("design:type",String)],lx.prototype,"idLote",void 0);es([(0,Zr.IsNotEmpty)(),(0,Zr.ValidateNested)(),(0,_2.Type)(()=>af),bs("design:type",typeof af>"u"?Object:af)],lx.prototype,"evento",void 0);var Mu=require("class-validator");function fx(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(fx,"_ts_decorate");function S_(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(S_,"_ts_metadata");var Pc=class{static{o(this,"ConsultaCadastroPayload")}xServ="CONS-CAD";UF;IE="";CNPJ="";CPF=""};fx([(0,Mu.IsOptional)()],Pc.prototype,"xServ",void 0);fx([(0,Mu.IsString)(),(0,Mu.IsIn)(Object.values(D3)),S_("design:type",typeof StateAcronym>"u"?Object:StateAcronym)],Pc.prototype,"UF",void 0);fx([(0,Mu.IsOptional)(),(0,Mu.IsString)(),S_("design:type",String)],Pc.prototype,"IE",void 0);fx([(0,Mu.IsOptional)(),(0,Mu.IsString)(),S_("design:type",String)],Pc.prototype,"CNPJ",void 0);fx([(0,Mu.IsOptional)(),(0,Mu.IsString)(),S_("design:type",String)],Pc.prototype,"CPF",void 0);Pc=fx([nn({properties:["IE","CNPJ","CPF"],required:!0})],Pc);var Nie={AM:{[qe.Homolog]:{NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://homnfe.sefaz.am.gov.br/services2/services/NfeStatusServico4"},NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://homnfe.sefaz.am.gov.br/services2/services/NfeAutorizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://homnfe.sefaz.am.gov.br/services2/services/NfeConsulta4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://homnfe.sefaz.am.gov.br/services2/services/NfeInutilizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://homnfe.sefaz.am.gov.br/services2/services/NfeRetAutorizacao4"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://homnfe.sefaz.am.gov.br/services2/services/RecepcaoEvento4"},NfeConsultaCadastro:{method:"consultaCadastro",operation:"CadConsultaCadastro4",version:"2.00"}},[qe.Production]:{NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfe.sefaz.am.gov.br/services2/services/NfeStatusServico4"},NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfe.sefaz.am.gov.br/services2/services/NfeAutorizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfe.sefaz.am.gov.br/services2/services/NfeConsulta4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfe.sefaz.am.gov.br/services2/services/NfeInutilizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfe.sefaz.am.gov.br/services2/services/NfeRetAutorizacao4"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://nfe.sefaz.am.gov.br/services2/services/RecepcaoEvento4"},NfeConsultaCadastro:{method:"consultaCadastro4",operation:"CadConsultaCadastro4",version:"2.00"}}},AN:{[qe.Homolog]:{RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://hom1.nfe.fazenda.gov.br/NFeRecepcaoEvento4/NFeRecepcaoEvento4.asmx"},NfeDistribuicaoDFe:{method:"nfeDistDFeInteresse",operation:"NFeDistribuicaoDFe",version:"1.01",url:"https://hom1.nfe.fazenda.gov.br/NFeDistribuicaoDFe/NFeDistribuicaoDFe.asmx"},NfeConsultaDest:{method:"nfeConsultaNFDest",operation:"NfeConsultaDest",version:"1.01",url:"https://hom.nfe.fazenda.gov.br/NFeConsultaDest/NFeConsultaDest.asmx"},NfeDownloadNF:{method:"nfeDownloadNF",operation:"NfeDownloadNF",version:"4.00",url:"https://hom.nfe.fazenda.gov.br/NfeDownloadNF/NfeDownloadNF.asmx"},RecepcaoEPEC:{method:"nfeRecepcaoEvento",operation:"RecepcaoEvento",version:"4.00",url:"https://hom.nfe.fazenda.gov.br/RecepcaoEvento/RecepcaoEvento.asmx"}},[qe.Production]:{RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://www.nfe.fazenda.gov.br/NFeRecepcaoEvento4/NFeRecepcaoEvento4.asmx"},NfeDistribuicaoDFe:{method:"nfeDistDFeInteresse",operation:"NFeDistribuicaoDFe",version:"1.01",url:"https://www1.nfe.fazenda.gov.br/NFeDistribuicaoDFe/NFeDistribuicaoDFe.asmx"},NfeConsultaDest:{method:"nfeConsultaNFDest",operation:"NfeConsultaDest",version:"1.01",url:"https://www.nfe.fazenda.gov.br/NFeConsultaDest/NFeConsultaDest.asmx"},NfeDownloadNF:{method:"nfeDownloadNF",operation:"NfeDownloadNF",version:"4.00",url:"https://www.nfe.fazenda.gov.br/NfeDownloadNF/NfeDownloadNF.asmx"},RecepcaoEPEC:{method:"nfeRecepcaoEvento",operation:"RecepcaoEvento",version:"4.00",url:"https://www.nfe.fazenda.gov.br/RecepcaoEvento/RecepcaoEvento.asmx"}}},BA:{[qe.Homolog]:{NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://hnfe.sefaz.ba.gov.br/webservices/NFeStatusServico4/NFeStatusServico4.asmx"},NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://hnfe.sefaz.ba.gov.br/webservices/NFeAutorizacao4/NFeAutorizacao4.asmx"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://hnfe.sefaz.ba.gov.br/webservices/NFeConsultaProtocolo4/NFeConsultaProtocolo4.asmx"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://hnfe.sefaz.ba.gov.br/webservices/NFeInutilizacao4/NFeInutilizacao4.asmx"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://hnfe.sefaz.ba.gov.br/webservices/NFeRetAutorizacao4/NFeRetAutorizacao4.asmx"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://hnfe.sefaz.ba.gov.br/webservices/NFeRecepcaoEvento4/NFeRecepcaoEvento4.asmx"},NfeConsultaCadastro:{method:"consultaCadastro",operation:"CadConsultaCadastro4",version:"2.00",url:"https://hnfe.sefaz.ba.gov.br/webservices/CadConsultaCadastro4/CadConsultaCadastro4.asmx"}},[qe.Production]:{NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfe.sefaz.ba.gov.br/webservices/NFeStatusServico4/NFeStatusServico4.asmx"},NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfe.sefaz.ba.gov.br/webservices/NFeAutorizacao4/NFeAutorizacao4.asmx"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfe.sefaz.ba.gov.br/webservices/NFeConsultaProtocolo4/NFeConsultaProtocolo4.asmx"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfe.sefaz.ba.gov.br/webservices/NFeInutilizacao4/NFeInutilizacao4.asmx"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfe.sefaz.ba.gov.br/webservices/NFeRetAutorizacao4/NFeRetAutorizacao4.asmx"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://nfe.sefaz.ba.gov.br/webservices/NFeRecepcaoEvento4/NFeRecepcaoEvento4.asmx"},NfeConsultaCadastro:{method:"consultaCadastro",operation:"CadConsultaCadastro4",version:"2.00",url:"https://nfe.sefaz.ba.gov.br/webservices/CadConsultaCadastro4/CadConsultaCadastro4.asmx"}}},GO:{[qe.Homolog]:{NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://homolog.sefaz.go.gov.br/nfe/services/NFeStatusServico4"},NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://homolog.sefaz.go.gov.br/nfe/services/NFeAutorizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://homolog.sefaz.go.gov.br/nfe/services/NFeConsultaProtocolo4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://homolog.sefaz.go.gov.br/nfe/services/NFeInutilizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://homolog.sefaz.go.gov.br/nfe/services/NFeRetAutorizacao4"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://homolog.sefaz.go.gov.br/nfe/services/NFeRecepcaoEvento4"},NfeConsultaCadastro:{method:"consultaCadastro",operation:"CadConsultaCadastro4",version:"2.00",url:"https://homolog.sefaz.go.gov.br/nfe/services/CadConsultaCadastro4"}},[qe.Production]:{NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfe.sefaz.go.gov.br/nfe/services/NFeStatusServico4"},NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfe.sefaz.go.gov.br/nfe/services/NFeAutorizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfe.sefaz.go.gov.br/nfe/services/NFeConsultaProtocolo4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfe.sefaz.go.gov.br/nfe/services/NFeInutilizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfe.sefaz.go.gov.br/nfe/services/NFeRetAutorizacao4"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://nfe.sefaz.go.gov.br/nfe/services/NFeRecepcaoEvento4"},NfeConsultaCadastro:{method:"consultaCadastro",operation:"CadConsultaCadastro4",version:"2.00",url:"https://nfe.sefaz.go.gov.br/nfe/services/CadConsultaCadastro4"}}},MG:{[qe.Homolog]:{NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://hnfe.fazenda.mg.gov.br/nfe2/services/NFeStatusServico4"},NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://hnfe.fazenda.mg.gov.br/nfe2/services/NFeAutorizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://hnfe.fazenda.mg.gov.br/nfe2/services/NFeConsultaProtocolo4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://hnfe.fazenda.mg.gov.br/nfe2/services/NFeInutilizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://hnfe.fazenda.mg.gov.br/nfe2/services/NFeRetAutorizacao4"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://hnfe.fazenda.mg.gov.br/nfe2/services/NFeRecepcaoEvento4"},NfeConsultaCadastro:{method:"consultaCadastro4",operation:"CadConsultaCadastro4",version:"2.00",url:"https://hnfe.fazenda.mg.gov.br/nfe2/services/CadConsultaCadastro4"}},[qe.Production]:{NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfe.fazenda.mg.gov.br/nfe2/services/NFeStatusServico4"},NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfe.fazenda.mg.gov.br/nfe2/services/NFeAutorizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfe.fazenda.mg.gov.br/nfe2/services/NFeConsultaProtocolo4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfe.fazenda.mg.gov.br/nfe2/services/NFeInutilizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfe.fazenda.mg.gov.br/nfe2/services/NFeRetAutorizacao4"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://nfe.fazenda.mg.gov.br/nfe2/services/NFeRecepcaoEvento4"},NfeConsultaCadastro:{method:"consultaCadastro4",operation:"CadConsultaCadastro4",version:"2.00",url:"https://nfe.fazenda.mg.gov.br/nfe2/services/CadConsultaCadastro4"}}},MS:{[qe.Homolog]:{NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://hom.nfe.sefaz.ms.gov.br/ws/NFeStatusServico4"},NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://hom.nfe.sefaz.ms.gov.br/ws/NFeAutorizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://hom.nfe.sefaz.ms.gov.br/ws/NFeConsultaProtocolo4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://hom.nfe.sefaz.ms.gov.br/ws/NFeInutilizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://hom.nfe.sefaz.ms.gov.br/ws/NFeRetAutorizacao4"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://hom.nfe.sefaz.ms.gov.br/ws/NFeRecepcaoEvento4"},NfeConsultaCadastro:{method:"consultaCadastro",operation:"CadConsultaCadastro4",version:"2.00",url:"https://hom.nfe.sefaz.ms.gov.br/ws/CadConsultaCadastro4"}},[qe.Production]:{NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfe.sefaz.ms.gov.br/ws/NFeStatusServico4"},NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfe.sefaz.ms.gov.br/ws/NFeAutorizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfe.sefaz.ms.gov.br/ws/NFeConsultaProtocolo4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfe.sefaz.ms.gov.br/ws/NFeInutilizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfe.sefaz.ms.gov.br/ws/NFeRetAutorizacao4"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://nfe.sefaz.ms.gov.br/ws/NFeRecepcaoEvento4"},NfeConsultaCadastro:{method:"consultaCadastro",operation:"CadConsultaCadastro4",version:"2.00",url:"https://nfe.sefaz.ms.gov.br/ws/CadConsultaCadastro4"}}},MT:{[qe.Homolog]:{NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://homologacao.sefaz.mt.gov.br/nfews/v2/services/NfeStatusServico4"},NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://homologacao.sefaz.mt.gov.br/nfews/v2/services/NfeAutorizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://homologacao.sefaz.mt.gov.br/nfews/v2/services/NfeConsulta4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://homologacao.sefaz.mt.gov.br/nfews/v2/services/NfeInutilizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://homologacao.sefaz.mt.gov.br/nfews/v2/services/NfeRetAutorizacao4"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://homologacao.sefaz.mt.gov.br/nfews/v2/services/RecepcaoEvento4"},NfeConsultaCadastro:{method:"consultaCadastro",operation:"CadConsultaCadastro4",version:"2.00",url:"https://homologacao.sefaz.mt.gov.br/nfews/v2/services/CadConsultaCadastro4"}},[qe.Production]:{NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfe.sefaz.mt.gov.br/nfews/v2/services/NfeStatusServico4"},NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfe.sefaz.mt.gov.br/nfews/v2/services/NfeAutorizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfe.sefaz.mt.gov.br/nfews/v2/services/NfeConsulta4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfe.sefaz.mt.gov.br/nfews/v2/services/NfeInutilizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfe.sefaz.mt.gov.br/nfews/v2/services/NfeRetAutorizacao4"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://nfe.sefaz.mt.gov.br/nfews/v2/services/RecepcaoEvento4"},NfeConsultaCadastro:{method:"consultaCadastro",operation:"CadConsultaCadastro4",version:"2.00",url:"https://nfe.sefaz.mt.gov.br/nfews/v2/services/CadConsultaCadastro4"}}},PE:{[qe.Homolog]:{NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfehomolog.sefaz.pe.gov.br/nfe-service/services/NFeStatusServico4"},NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfehomolog.sefaz.pe.gov.br/nfe-service/services/NFeAutorizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfehomolog.sefaz.pe.gov.br/nfe-service/services/NFeConsultaProtocolo4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfehomolog.sefaz.pe.gov.br/nfe-service/services/NFeInutilizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfehomolog.sefaz.pe.gov.br/nfe-service/services/NFeRetAutorizacao4"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://nfehomolog.sefaz.pe.gov.br/nfe-service/services/NFeRecepcaoEvento4"},NfeConsultaCadastro:{method:"consultaCadastro4",operation:"CadConsultaCadastro4",version:"2.00",url:"https://nfehomolog.sefaz.pe.gov.br/nfe-service/services/CadConsultaCadastro4"}},[qe.Production]:{NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfe.sefaz.pe.gov.br/nfe-service/services/NFeStatusServico4"},NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfe.sefaz.pe.gov.br/nfe-service/services/NFeAutorizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfe.sefaz.pe.gov.br/nfe-service/services/NFeConsultaProtocolo4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfe.sefaz.pe.gov.br/nfe-service/services/NFeInutilizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfe.sefaz.pe.gov.br/nfe-service/services/NFeRetAutorizacao4"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://nfe.sefaz.pe.gov.br/nfe-service/services/NFeRecepcaoEvento4"},NfeConsultaCadastro:{method:"consultaCadastro4",operation:"CadConsultaCadastro4",version:"2.00",url:"https://nfe.sefaz.pe.gov.br/nfe-service/services/CadConsultaCadastro4"}}},PR:{[qe.Homolog]:{NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://homologacao.nfe.sefa.pr.gov.br/nfe/NFeStatusServico4"},NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://homologacao.nfe.sefa.pr.gov.br/nfe/NFeAutorizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://homologacao.nfe.sefa.pr.gov.br/nfe/NFeConsultaProtocolo4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://homologacao.nfe.sefa.pr.gov.br/nfe/NFeInutilizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacao",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://homologacao.nfe.sefa.pr.gov.br/nfe/NFeRetAutorizacao4"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://homologacao.nfe.sefa.pr.gov.br/nfe/NFeRecepcaoEvento4"},NfeConsultaCadastro:{method:"consultaCadastro4",operation:"CadConsultaCadastro4",version:"2.00",url:"https://homologacao.nfe.sefa.pr.gov.br/nfe/CadConsultaCadastro4"}},[qe.Production]:{NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfe.sefa.pr.gov.br/nfe/NFeStatusServico4"},NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfe.sefa.pr.gov.br/nfe/NFeAutorizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfe.sefa.pr.gov.br/nfe/NFeConsultaProtocolo4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfe.sefa.pr.gov.br/nfe/NFeInutilizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacao",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfe.sefa.pr.gov.br/nfe/NFeRetAutorizacao4"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://nfe.sefa.pr.gov.br/nfe/NFeRecepcaoEvento4"},NfeConsultaCadastro:{method:"consultaCadastro4",operation:"CadConsultaCadastro4",version:"2.00",url:"https://nfe.sefa.pr.gov.br/nfe/CadConsultaCadastro4"}}},RS:{[qe.Homolog]:{NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfe-homologacao.sefazrs.rs.gov.br/ws/NfeStatusServico/NfeStatusServico4.asmx"},NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfe-homologacao.sefazrs.rs.gov.br/ws/NfeAutorizacao/NFeAutorizacao4.asmx"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfe-homologacao.sefazrs.rs.gov.br/ws/NfeConsulta/NfeConsulta4.asmx"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfe-homologacao.sefazrs.rs.gov.br/ws/nfeinutilizacao/nfeinutilizacao4.asmx"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfe-homologacao.sefazrs.rs.gov.br/ws/NfeRetAutorizacao/NFeRetAutorizacao4.asmx"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://nfe-homologacao.sefazrs.rs.gov.br/ws/recepcaoevento/recepcaoevento4.asmx"},NfeConsultaCadastro:{method:"consultaCadastro4",operation:"CadConsultaCadastro4",version:"2.00",url:"https://cad.svrs.rs.gov.br/ws/cadconsultacadastro/cadconsultacadastro4.asmx"}},[qe.Production]:{NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfe.sefazrs.rs.gov.br/ws/NfeStatusServico/NfeStatusServico4.asmx"},NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfe.sefazrs.rs.gov.br/ws/NfeAutorizacao/NFeAutorizacao4.asmx"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfe.sefazrs.rs.gov.br/ws/NfeConsulta/NfeConsulta4.asmx"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfe.sefazrs.rs.gov.br/ws/nfeinutilizacao/nfeinutilizacao4.asmx"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfe.sefazrs.rs.gov.br/ws/NfeRetAutorizacao/NFeRetAutorizacao4.asmx"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://nfe.sefazrs.rs.gov.br/ws/recepcaoevento/recepcaoevento4.asmx"},NfeConsultaCadastro:{method:"consultaCadastro4",operation:"CadConsultaCadastro4",version:"2.00",url:"https://cad.svrs.rs.gov.br/ws/cadconsultacadastro/cadconsultacadastro4.asmx"}}},SP:{[qe.Homolog]:{NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://homologacao.nfe.fazenda.sp.gov.br/ws/nfestatusservico4.asmx"},NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://homologacao.nfe.fazenda.sp.gov.br/ws/nfeautorizacao4.asmx"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://homologacao.nfe.fazenda.sp.gov.br/ws/nfeconsultaprotocolo4.asmx"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://homologacao.nfe.fazenda.sp.gov.br/ws/nfeinutilizacao4.asmx"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://homologacao.nfe.fazenda.sp.gov.br/ws/nferetautorizacao4.asmx"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://homologacao.nfe.fazenda.sp.gov.br/ws/nferecepcaoevento4.asmx"},NfeConsultaCadastro:{method:"consultaCadastro",operation:"CadConsultaCadastro4",version:"2.00",url:"https://homologacao.nfe.fazenda.sp.gov.br/ws/cadconsultacadastro4.asmx"}},[qe.Production]:{NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfe.fazenda.sp.gov.br/ws/nfestatusservico4.asmx"},NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfe.fazenda.sp.gov.br/ws/nfeautorizacao4.asmx"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfe.fazenda.sp.gov.br/ws/nfeconsultaprotocolo4.asmx"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfe.fazenda.sp.gov.br/ws/nfeinutilizacao4.asmx"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfe.fazenda.sp.gov.br/ws/nferetautorizacao4.asmx"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://nfe.fazenda.sp.gov.br/ws/nferecepcaoevento4.asmx"},NfeConsultaCadastro:{method:"consultaCadastro",operation:"CadConsultaCadastro4",version:"2.00",url:"https://nfe.fazenda.sp.gov.br/ws/cadconsultacadastro4.asmx"}}},SVAN:{[qe.Homolog]:{NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://hom.sefazvirtual.fazenda.gov.br/NFeStatusServico4/NFeStatusServico4.asmx"},NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://hom.sefazvirtual.fazenda.gov.br/NFeAutorizacao4/NFeAutorizacao4.asmx"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://hom.sefazvirtual.fazenda.gov.br/NFeConsultaProtocolo4/NFeConsultaProtocolo4.asmx"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://hom.sefazvirtual.fazenda.gov.br/NFeInutilizacao4/NFeInutilizacao4.asmx"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://hom.sefazvirtual.fazenda.gov.br/NFeRetAutorizacao4/NFeRetAutorizacao4.asmx"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://hom.sefazvirtual.fazenda.gov.br/NFeRecepcaoEvento4/NFeRecepcaoEvento4.asmx"},NfeConsultaCadastro:{method:"consultaCadastro4",operation:"CadConsultaCadastro4",version:"2.00"}},[qe.Production]:{NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://www.sefazvirtual.fazenda.gov.br/NFeStatusServico4/NFeStatusServico4.asmx"},NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://www.sefazvirtual.fazenda.gov.br/NFeAutorizacao4/NFeAutorizacao4.asmx"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://www.sefazvirtual.fazenda.gov.br/NFeConsultaProtocolo4/NFeConsultaProtocolo4.asmx"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://www.sefazvirtual.fazenda.gov.br/NFeInutilizacao4/NFeInutilizacao4.asmx"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://www.sefazvirtual.fazenda.gov.br/NFeRetAutorizacao4/NFeRetAutorizacao4.asmx"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://www.sefazvirtual.fazenda.gov.br/NFeRecepcaoEvento4/NFeRecepcaoEvento4.asmx"},NfeConsultaCadastro:{method:"consultaCadastro4",operation:"CadConsultaCadastro4",version:"2.00"}}},SVRS:{[qe.Homolog]:{NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfe-homologacao.svrs.rs.gov.br/ws/NfeStatusServico/NfeStatusServico4.asmx"},NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfe-homologacao.svrs.rs.gov.br/ws/NfeAutorizacao/NFeAutorizacao4.asmx"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfe-homologacao.svrs.rs.gov.br/ws/NfeConsulta/NfeConsulta4.asmx"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfe-homologacao.svrs.rs.gov.br/ws/nfeinutilizacao/nfeinutilizacao4.asmx"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfe-homologacao.svrs.rs.gov.br/ws/NfeRetAutorizacao/NFeRetAutorizacao4.asmx"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://nfe-homologacao.svrs.rs.gov.br/ws/recepcaoevento/recepcaoevento4.asmx"},NfeConsultaCadastro:{method:"consultaCadastro4",operation:"CadConsultaCadastro4",version:"2.00"}},[qe.Production]:{NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfe.svrs.rs.gov.br/ws/NfeStatusServico/NfeStatusServico4.asmx"},NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfe.svrs.rs.gov.br/ws/NfeAutorizacao/NFeAutorizacao4.asmx"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfe.svrs.rs.gov.br/ws/NfeConsulta/NfeConsulta4.asmx"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfe.svrs.rs.gov.br/ws/nfeinutilizacao/nfeinutilizacao4.asmx"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfe.svrs.rs.gov.br/ws/NfeRetAutorizacao/NFeRetAutorizacao4.asmx"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://nfe.svrs.rs.gov.br/ws/recepcaoevento/recepcaoevento4.asmx"},NfeConsultaCadastro:{method:"consultaCadastro4",operation:"CadConsultaCadastro4",version:"2.00",url:"https://cad.svrs.rs.gov.br/ws/cadconsultacadastro/cadconsultacadastro4.asmx"}}},SVCAN:{[qe.Homolog]:{NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://hom.sefazvirtual.fazenda.gov.br/NFeStatusServico4/NFeStatusServico4.asmx"},NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://hom.sefazvirtual.fazenda.gov.br/NFeAutorizacao4/NFeAutorizacao4.asmx"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://hom.sefazvirtual.fazenda.gov.br/NFeConsultaProtocolo4/NFeConsultaProtocolo4.asmx"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://hom.sefazvirtual.fazenda.gov.br/NFeInutilizacao4/NFeInutilizacao4.asmx"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://hom.sefazvirtual.fazenda.gov.br/NFeRetAutorizacao4/NFeRetAutorizacao4.asmx"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://hom.sefazvirtual.fazenda.gov.br/NFeRecepcaoEvento4/NFeRecepcaoEvento4.asmx"},NfeConsultaCadastro:{method:"consultaCadastro4",operation:"CadConsultaCadastro4",version:"2.00"}},[qe.Production]:{NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://www.sefazvirtual.fazenda.gov.br/NFeStatusServico4/NFeStatusServico4.asmx"},NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://www.sefazvirtual.fazenda.gov.br/NFeAutorizacao4/NFeAutorizacao4.asmx"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://www.sefazvirtual.fazenda.gov.br/NFeConsultaProtocolo4/NFeConsultaProtocolo4.asmx"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://www.sefazvirtual.fazenda.gov.br/NFeInutilizacao4/NFeInutilizacao4.asmx"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://www.sefazvirtual.fazenda.gov.br/NFeRetAutorizacao4/NFeRetAutorizacao4.asmx"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://www.sefazvirtual.fazenda.gov.br/NFeRecepcaoEvento4/NFeRecepcaoEvento4.asmx"},NfeConsultaCadastro:{method:"consultaCadastro4",operation:"CadConsultaCadastro4",version:"2.00"}}},SVCRS:{[qe.Homolog]:{NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfe-homologacao.svrs.rs.gov.br/ws/NfeStatusServico/NfeStatusServico4.asmx"},NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfe-homologacao.svrs.rs.gov.br/ws/NfeAutorizacao/NFeAutorizacao4.asmx"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfe-homologacao.svrs.rs.gov.br/ws/NfeConsulta/NfeConsulta4.asmx"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfe-homologacao.svrs.rs.gov.br/ws/nfeinutilizacao/nfeinutilizacao4.asmx"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfe-homologacao.svrs.rs.gov.br/ws/NfeRetAutorizacao/NFeRetAutorizacao4.asmx"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://nfe-homologacao.svrs.rs.gov.br/ws/recepcaoevento/recepcaoevento4.asmx"},NfeConsultaCadastro:{method:"consultaCadastro4",operation:"CadConsultaCadastro4",version:"2.00"}},[qe.Production]:{NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfe.svrs.rs.gov.br/ws/NfeStatusServico/NfeStatusServico4.asmx"},NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfe.svrs.rs.gov.br/ws/NfeAutorizacao/NFeAutorizacao4.asmx"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfe.svrs.rs.gov.br/ws/NfeConsulta/NfeConsulta4.asmx"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfe.svrs.rs.gov.br/ws/nfeinutilizacao/nfeinutilizacao4.asmx"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfe.svrs.rs.gov.br/ws/NfeRetAutorizacao/NFeRetAutorizacao4.asmx"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://nfe.svrs.rs.gov.br/ws/recepcaoevento/recepcaoevento4.asmx"},NfeConsultaCadastro:{method:"consultaCadastro4",operation:"CadConsultaCadastro4",version:"2.00",url:"https://cad.svrs.rs.gov.br/ws/cadconsultacadastro/cadconsultacadastro4.asmx"}}}};var KBe={[pe.AC]:"SVRS",[pe.AL]:"SVRS",[pe.AM]:"AM",[pe.AP]:"SVRS",[pe.BA]:"BA",[pe.CE]:"SVRS",[pe.DF]:"SVRS",[pe.ES]:"SVRS",[pe.GO]:"GO",[pe.MA]:"SVAN",[pe.MG]:"MG",[pe.MS]:"MS",[pe.MT]:"MT",[pe.PA]:"SVRS",[pe.PB]:"SVRS",[pe.PE]:"PE",[pe.PI]:"SVRS",[pe.PR]:"PR",[pe.RJ]:"SVRS",[pe.RN]:"SVRS",[pe.RO]:"SVRS",[pe.RR]:"SVRS",[pe.RS]:"RS",[pe.SC]:"SVRS",[pe.SE]:"SVRS",[pe.SP]:"SP",[pe.TO]:"SVRS",AN:"AN",SVAN:"SVAN",SVRS:"SVRS",SVCAN:"SVCAN",SVCRS:"SVCRS"},Iie=KBe;var b_={[pe.AC]:"SVCAN",[pe.AL]:"SVCAN",[pe.AM]:"SVCRS",[pe.AP]:"SVCAN",[pe.BA]:"SVCRS",[pe.CE]:"SVCAN",[pe.DF]:"SVCAN",[pe.ES]:"SVCAN",[pe.GO]:"SVCRS",[pe.MA]:"SVCRS",[pe.MG]:"SVCAN",[pe.MS]:"SVCRS",[pe.MT]:"SVCRS",[pe.PA]:"SVCAN",[pe.PB]:"SVCAN",[pe.PE]:"SVCRS",[pe.PI]:"SVCAN",[pe.PR]:"SVCRS",[pe.RJ]:"SVCAN",[pe.RN]:"SVCAN",[pe.RO]:"SVCAN",[pe.RR]:"SVCAN",[pe.RS]:"SVCAN",[pe.SC]:"SVCAN",[pe.SE]:"SVCAN",[pe.SP]:"SVCAN",[pe.TO]:"SVCAN"};function qv(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(qv,"_ts_decorate");function Oi(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(Oi,"_ts_metadata");var vo=class{static{o(this,"NfeRemoteTransmitter")}remoteTransmissionRepository;constructor(e){this.remoteTransmissionRepository=e}options={};xmlns="http://www.portalfiscal.inf.br/nfe";configure(e){this.options={...this.options,...e};let{certificate:t}=this.options;return t&&this.remoteTransmissionRepository.setCertificate(t),this.options.schema??=Vp.PL_009_V4,this}service(e){let t=e.cUF??this.options.cUF,n=e.tpAmb??this.options.tpAmb,i=this.options.contingency?b_[t]:Iie[t];return Nie[i][n][e.service]}errors(){return Reflect.getMetadata(Po,this)}validate(e){try{let t=this.errors();return t?Xr(new fr(t.join(", "))):("cUF"in e&&(e.cUF??=this.options.cUF),"tpAmb"in e&&(e.tpAmb??=this.options.tpAmb),gr(e))}finally{Reflect.deleteMetadata(Po,this)}}ns(e,t){let n=e.$??{};return n.xmlns=this.xmlns,n.versao=t,{...e,$:n}}xsd(e){return Tie.default.resolve(T2(),this.options.schema,e)}async consultStatus(e){let t=this.validate(e);if(t.isLeft())return t;let n=t.value,i=this.service({...n,service:"NfeStatusServico"});return this.remoteTransmissionRepository.send({root:"nfeDadosMsg",url:i.url,xsd:this.xsd("consStatServ_v4.00.xsd"),payload:{consStatServ:this.ns(n,i.version)},method:"nfeStatusServicoNF"})}async inutilizacao(e){let t=this.validate(e);if(t.isLeft())return t;let{cUF:n,tpAmb:i}=t.value.infInut,s=t.value,a=this.service({cUF:n,tpAmb:i,service:"NfeInutilizacao"});return this.remoteTransmissionRepository.send({root:"nfeDadosMsg",url:a.url,xsd:this.xsd("inutNFe_v4.00.xsd"),payload:{inutNFe:this.ns(s,a.version)},method:"nfeInutilizacaoNF"})}async consultaProtocolo(e){let t=this.validate(e);if(t.isLeft())return t;let n=t.value,i=this.service({cUF:n.chNFe.substring(0,2),tpAmb:n.tpAmb,service:"NfeConsultaProtocolo"});return this.remoteTransmissionRepository.send({root:"nfeDadosMsg",url:i.url,xsd:this.xsd("consSitNFe_v4.00.xsd"),payload:{consSitNFe:this.ns(n,i.version)},method:"nfeConsultaNF"})}async autorizacao(e){let t=this.validate(e);if(t.isLeft())return t;let n=t.value,i=this.service({...n,service:"NfeAutorizacao"});return this.remoteTransmissionRepository.send({root:"nfeDadosMsg",url:i.url,xsd:this.xsd("enviNFe_v4.00.xsd"),payload:{enviNFe:this.ns(n,i.version)},method:"nfeAutorizacaoLote"})}async retAutorizacao(e){let t=this.validate(e);if(t.isLeft())return t;let n=t.value,i=this.service({...n,service:"NfeRetAutorizacao"});return this.remoteTransmissionRepository.send({root:"nfeDadosMsg",url:i.url,xsd:this.xsd("consReciNFe_v4.00.xsd"),payload:{consReciNFe:this.ns(n,i.version)},method:"nfeRetAutorizacaoLote"})}async recepcaoEvento(e){let t=this.validate(e);if(t.isLeft())return t;let n=t.value,i=this.service({service:"RecepcaoEvento"});return n.evento=this.ns(n.evento,i.version),this.remoteTransmissionRepository.send({root:"nfeDadosMsg",url:i.url,xsd:this.xsd("envEvento_v1.00.xsd"),payload:{envEvento:this.ns(n,i.version)},method:"nfeRecepcaoEvento"})}async consultaCadastro(e){let t=this.validate(e);if(t.isLeft())return t;let n=t.value,i=this.service({cUF:pe[n.UF],service:"NfeConsultaCadastro"});return this.remoteTransmissionRepository.send({root:"nfeDadosMsg",url:i.url,xsd:this.xsd("ConsCad_v4.00.xsd"),payload:{ConsCad:this.ns(n,i.version)},method:"consultaCadastro"})}};qv([Ht(Lm),Oi("design:type",Function),Oi("design:paramtypes",[typeof IConsultStatusPayload>"u"?Object:IConsultStatusPayload]),Oi("design:returntype",Promise)],vo.prototype,"consultStatus",null);qv([Ht(jp),Oi("design:type",Function),Oi("design:paramtypes",[typeof IInutilizacaoPayload>"u"?Object:IInutilizacaoPayload]),Oi("design:returntype",Promise)],vo.prototype,"inutilizacao",null);qv([Ht(Uv),Oi("design:type",Function),Oi("design:paramtypes",[typeof IConsultaProtocoloPayload>"u"?Object:IConsultaProtocoloPayload]),Oi("design:returntype",Promise)],vo.prototype,"consultaProtocolo",null);qv([Ht(Mp),Oi("design:type",Function),Oi("design:paramtypes",[typeof IAutorizacaoPayload>"u"?Object:IAutorizacaoPayload]),Oi("design:returntype",Promise)],vo.prototype,"autorizacao",null);qv([Ht(cx),Oi("design:type",Function),Oi("design:paramtypes",[typeof IRetAutorizacaoPayload>"u"?Object:IRetAutorizacaoPayload]),Oi("design:returntype",Promise)],vo.prototype,"retAutorizacao",null);qv([Ht(lx),Oi("design:type",Function),Oi("design:paramtypes",[Object]),Oi("design:returntype",Promise)],vo.prototype,"recepcaoEvento",null);qv([Ht(Pc),Oi("design:type",Function),Oi("design:paramtypes",[typeof IConsultaCadastroPayload>"u"?Object:IConsultaCadastroPayload]),Oi("design:returntype",Promise)],vo.prototype,"consultaCadastro",null);var Uu=class extends ux{static{o(this,"TransmissionPipeline")}certificate;transmitter=new vo(this.soap);constructor(e){super(e),this.certificate=e}};function GBe(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(GBe,"_ts_decorate");function WM(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(WM,"_ts_metadata");var L2=class extends Uu{static{o(this,"EventPipeline")}async event(e,t,n){let i=await this.certificates.read(this.certificate);if(i.isLeft())return i;let s=t.chNFe.slice(0,2);this.transmitter.configure({cUF:s,...n,certificate:i.value});let a=xie[e],u=this.certificates.getCertificateInfo(i.value.certificate),{nSeqEvento:c,dhEvento:l,chNFe:p}=t,h=["ID",e,p,c.toString().padStart(2,"0")].join(""),g={$:{xmlns:this.xmlns},infEvento:{$:{Id:h},cOrgao:s,tpAmb:n.tpAmb,CNPJ:u.CNPJ,CPF:u.CPF,chNFe:p,dhEvento:l,tpEvento:e,nSeqEvento:c,verEvento:a.version,detEvento:{$:{versao:a.version},descEvento:a.descEvento,...t.detEvento}}},y=this.validated(g);return y.isLeft()?y:await this.signer.sign(y.value,{tag:"infEvento",mark:"Id"},i.value)}validated(e){let t=this.errors();return t?Xr(new fr(t.join(", "))):gr(e)}};GBe([Ht(af),WM("design:type",Function),WM("design:paramtypes",[typeof IEventoItem>"u"?Object:IEventoItem]),WM("design:returntype",void 0)],L2.prototype,"validated",null);var F2=class extends L2{static{o(this,"NfeCancelPipeline")}async execute(e,t){let n={chNFe:e.chNFe,dhEvento:e.dhEvento??new Date().toISOString(),detEvento:{nProt:e.nProt,xJust:e.xJust},nSeqEvento:1},i=await this.event(kp.Cancelamento,n,t);return i.isLeft()?i:await this.transmitter.recepcaoEvento({idLote:e.idLote??new Date().getTime().toString().slice(0,15),evento:i.value})}};var x_=class extends fr{static{o(this,"CouldNotReceiveResponseError")}constructor(e="Falha ao consultar protocolo de autoriza\xE7\xE3o ap\xF3s 3 tentativas, tente novamente mais tarde."){super(e)}};var Rie=(function(r){return r.Autorizada="100",r.AutorizadaForaDoPrazo="150",r.UsoDenegado="110",r.NfeDenegada="205",r.DenegadaIrregularidadeEmissor="301",r.DenegadaIrregularidadeDestinatario="302",r.DenegadaNaoHabilitadaNaUf="303",r})({});var k2=class extends Uu{static{o(this,"NfeAuthorizerPipeline")}async execute(e,t){let n=await this.certificates.read(this.certificate);if(n.isLeft())return n;let i=await this.handleNfeBatch(n.value,e.xml);if(i.isLeft())return i;let[s]=i.value;this.transmitter.configure({cUF:s.infNFe.ide.cUF,tpAmb:s.infNFe.ide.tpAmb,...t,contingency:this.contingency(s),certificate:n.value}),e.idLote??=new Date().getTime().toString().slice(0,15);let a=await this.transmitter.autorizacao({...e,NFe:i.value});if(a.isLeft())return a;let u=a.value;return this.isSyncResponse(u)?gr(await this.response(i.value,u)):await this.handleAsyncResponse(i.value,u)}async protocol(e,t){let{cStat:n}=t.infProt;if(!Object.values(Rie).includes(n))return await this.toolkit.build(e,{renderOpts:{pretty:!1},rootName:"NFe"});let i={NFe:e,protNFe:t,$:{xmlns:this.xmlns,versao:t.$.versao}};return await this.toolkit.build(i,{renderOpts:{pretty:!1},rootName:"nfeProc"})}async response(e,t){let n=Array.isArray(t.retEnviNFe.protNFe)?t.retEnviNFe.protNFe:[t.retEnviNFe.protNFe],i=await Promise.all(e.map((s,a)=>this.protocol(s,n[a])));return i.length>1?{xml:i,response:t}:{xml:i[0],response:t}}async signNfe(e,t){return this.signer.sign(t,{tag:"infNFe",mark:"Id"},e)}async handleNfeBatch(e,t){if(!Array.isArray(t)){let i=await this.toolkit.parse(t),s=await this.signNfe(e,i);return s.isLeft()?Xr(s.value):gr([s.value])}let n=await Promise.all(t.map(async i=>this.signNfe(e,await this.toolkit.parse(i))));return n.some(i=>i.isLeft())?Xr(new fr("Failed to sign a NFe in batch")):gr(n.filter(i=>i.isRight()).map(i=>i.value))}isSyncResponse(e){return"protNFe"in e.retEnviNFe&&!!e.retEnviNFe.protNFe}async handleAsyncResponse(e,t){let{tpAmb:n,infRec:{nRec:i}}=t.retEnviNFe,s=1;for(;s<=3;)try{await new Promise(c=>setTimeout(c,1e3));let a=await this.transmitter.retAutorizacao({nRec:i,tpAmb:n});if(a.isLeft())continue;let u=a.value.retConsReciNFe.protNFe;if(!u||Array.isArray(u)&&u.length===0)continue;return gr(await this.response(e,{retEnviNFe:{...a.value.retConsReciNFe,protNFe:u}}))}finally{s++}return Xr(new x_)}contingency(e){let{dhCont:t,xJust:n,tpEmis:i}=e.infNFe.ide;if(!(!t||!n||i===ha.Normal))return{dhCont:t,xJust:n}}};function XBe(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(XBe,"_ts_decorate");function JM(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(JM,"_ts_metadata");var px=class extends Uu{static{o(this,"NfeVoidRangePipeline")}async execute(e,t){let n=await this.certificates.read(this.certificate);if(n.isLeft())return n;let i=this.certificates.getCertificateInfo(n.value.certificate);this.transmitter.configure({...t,certificate:n.value});let s=e.ano??new Date().getFullYear().toString().slice(2),a=["ID",t.cUF,s,i.CNPJ?.padStart(14,"0")??"",e.mod,e.serie.padStart(3,"0"),e.nNFIni.padStart(9,"0"),e.nNFFin.padStart(9,"0")].join(""),u={$:{xmlns:this.xmlns},infInut:{$:{Id:a},tpAmb:e.tpAmb??t.tpAmb,cUF:t.cUF,ano:s,CNPJ:i.CNPJ,CPF:i.CPF,mod:e.mod,serie:e.serie,nNFIni:e.nNFIni,nNFFin:e.nNFFin,xJust:e.xJust}},c=this.validated(u);if(c.isLeft())return c;let l=await this.signer.sign(c.value,{tag:"infInut",mark:"Id"},n.value);return l.isLeft()?l:await this.transmitter.inutilizacao(l.value)}validated(e){let t=this.errors();return t?Xr(new fr(t.join(", "))):gr(e)}};XBe([Ht(jp),JM("design:type",Function),JM("design:paramtypes",[typeof IIInutilizacaoPayload>"u"?Object:IIInutilizacaoPayload]),JM("design:returntype",void 0)],px.prototype,"validated",null);var V2=class extends Uu{static{o(this,"NfeConsultStatusPipeline")}async execute(e){let t=await this.certificates.read(this.certificate);return t.isLeft()?t:(this.transmitter.configure({...e,certificate:t.value}),await this.transmitter.consultStatus(e))}};var YM=class extends Uu{static{o(this,"NfeAuthorizationResponsePipeline")}async execute(e){let t=await this.certificates.read(this.certificate);return t.isLeft()?t:(this.transmitter.configure({cUF:e.cUF,tpAmb:e.tpAmb,certificate:t.value}),this.transmitter.retAutorizacao(e))}};var Die=lr(require("crypto"),1);var Jo=class{static{o(this,"NfceQrcode")}certificateRepository;constructor(e){this.certificateRepository=e}async execute(e,t){let n=await this.content(e,t);return n.isLeft()?n:gr(this.assemble(n.value,t))}async content(e,t){return this.isVersion200(t)?await this.execute200(e,t):this.isVersion300(t)?await this.execute300(e,t):w0(t)}isVersion200(e){return e.version==="200"}isVersion300(e){return e.version==="300"}assemble(e,t){return{qrCode:e,urlChave:t.urlConsult}}getSequence(e,t){let{version:n,CSCId:i}=t,s=e.infNFe.ide.tpAmb,a=Number.parseInt(i),u=e.infNFe.$.Id?.substring(3),c=Number.parseInt(n??"")/100;if(e.infNFe.ide.tpEmis!==ha.OFFLINE)return`${u}|${c}|${s}|${a}`;let p=e.Signature.SignedInfo.Reference.DigestValue.split("").map(y=>y.charCodeAt(0).toString(16).padStart(2,"0")).join(""),h=new Date(e.infNFe.ide.dhEmi).getDate(),g=Number(e.infNFe.total.ICMSTot.vNF).toFixed(2);return`${u}|${c}|${s}|${h}|${g}|${p}|${a}`}async execute200(e,t){let{urlService:n,CSC:i}=t,s=this.getSequence(e,t),a=Die.default.createHash("sha1").update(`${s}${i}`).digest("hex").toUpperCase(),u=`${n}?p=`;return Promise.resolve(gr(`${u}${s}|${a}`))}getQrcodeV300OfflineIdentification(e){if(!e)return{tipo:"",documento:""};let{CPF:t,CNPJ:n,idEstrangeiro:i}=e,s=t?t.replace(/\D/g,""):n?n.replace(/\D/g,""):i?.replace(/\D/g,"");return s?s.length===11?{tipo:"1",documento:s}:s.length===14?{tipo:"2",documento:s}:i&&s.length>=3&&s.length<=14?{tipo:"3",documento:s}:{tipo:"",documento:""}:{tipo:"",documento:""}}emissionDayOfMonthFormatted(e){return String(new Date(e).getDate()).padStart(2,"0")}async execute300(e,t){let{urlService:n}=t,i=`${n}?p=`,s=e.infNFe.ide.tpAmb,a=e.infNFe.$.Id?.substring(3),u=Number.parseInt(t.version)/100;if(e.infNFe.ide.tpEmis!==ha.OFFLINE)return gr(`${i}${a}|${u}|${s}`);let c=this.emissionDayOfMonthFormatted(e.infNFe.ide.dhEmi),l=Number(e.infNFe.total.ICMSTot.vNF).toFixed(2),{tipo:p,documento:h}=this.getQrcodeV300OfflineIdentification(e.infNFe.dest),g=`${a}|${u}|${s}|${c}|${l}|${p}|${h}`,y=await this.certificateRepository.sign(g,t.certificate,ac.SHA1);return y.isLeft()?y:gr(`${i}${g}|${y.value}`)}};var QM={AC:{[qe.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://www.hml.sefaznet.ac.gov.br/nfce/qrcode"}},[qe.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"http://www.sefaznet.ac.gov.br/nfce/qrcode"}}},AL:{[qe.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://nfce.sefaz.al.gov.br/QRCode/consultarNFCe.jsp"}},[qe.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"http://nfce.sefaz.al.gov.br/QRCode/consultarNFCe.jsp"}}},AM:{[qe.Homolog]:{NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://homnfce.sefaz.am.gov.br/nfce-services/services/NfeAutorizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://homnfce.sefaz.am.gov.br/nfce-services/services/NfeRetAutorizacao4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://homnfce.sefaz.am.gov.br/nfce-services/services/NfeInutilizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://homnfce.sefaz.am.gov.br/nfce-services/services/NfeConsulta4"},NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://homnfce.sefaz.am.gov.br/nfce-services/services/NfeStatusServico4"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://homnfce.sefaz.am.gov.br/nfce-services/services/RecepcaoEvento4"},NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"https://sistemas.sefaz.am.gov.br/nfceweb-hom/consultarNFCe.jsp"},CscNFCe:{method:"admCscNFCe",operation:"CscNFCe",version:"1.00",url:"https://homnfce.sefaz.am.gov.br/nfce-services/services/CscNFCe"}},[qe.Production]:{NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfce.sefaz.am.gov.br/nfce-services/services/NfeAutorizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfce.sefaz.am.gov.br/nfce-services/services/NfeRetAutorizacao4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfce.sefaz.am.gov.br/nfce-services/services/NfeInutilizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfce.sefaz.am.gov.br/nfce-services/services/NfeConsulta4"},NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfce.sefaz.am.gov.br/nfce-services/services/NfeStatusServico4"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://nfce.sefaz.am.gov.br/nfce-services/services/RecepcaoEvento4"},NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"https://sistemas.sefaz.am.gov.br/nfceweb/consultarNFCe.jsp"},CscNFCe:{method:"admCscNFCe",operation:"CscNFCe",version:"1.00",url:"https://nfce.sefaz.am.gov.br/nfce-services/services/CscNFCe"}}},AP:{[qe.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"https://www.sefaz.ap.gov.br/nfcehml/nfce.php"}},[qe.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"https://www.sefaz.ap.gov.br/nfce/nfcep.php"}}},BA:{[qe.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://hnfe.sefaz.ba.gov.br/servicos/nfce/qrcode.aspx"}},[qe.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"http://nfe.sefaz.ba.gov.br/servicos/nfce/qrcode.aspx"}}},CE:{[qe.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://nfceh.sefaz.ce.gov.br/pages/ShowNFCe.html"}},[qe.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"http://nfce.sefaz.ce.gov.br/pages/ShowNFCe.html"}}},DF:{[qe.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://dec.fazenda.df.gov.br/ConsultarNFCe.aspx"}},[qe.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"http://www.fazenda.df.gov.br/nfce/qrcode"}}},ES:{[qe.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://homologacao.sefaz.es.gov.br/ConsultaNFCe/qrcode.aspx"}},[qe.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"http://app.sefaz.es.gov.br/ConsultaNFCe/qrcode.aspx"}}},GO:{[qe.Homolog]:{NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://homolog.sefaz.go.gov.br/nfe/services/NFeAutorizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://homolog.sefaz.go.gov.br/nfe/services/NFeRetAutorizacao4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://homolog.sefaz.go.gov.br/nfe/services/NFeInutilizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://homolog.sefaz.go.gov.br/nfe/services/NFeConsultaProtocolo4"},NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://homolog.sefaz.go.gov.br/nfe/services/NFeStatusServico4"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento",version:"1.00",url:"https://homolog.sefaz.go.gov.br/nfe/services/NFeRecepcaoEvento4"},CscNFCe:{method:"admCscNFCe",operation:"CscNFCe",version:"1.00",url:"https://homolog.sefaz.go.gov.br/nfe/services/v2/CscNFCe"},NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"https://nfewebhomolog.sefaz.go.gov.br/nfeweb/sites/nfce/danfeNFCe"}},[qe.Production]:{NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfe.sefaz.go.gov.br/nfe/services/NFeAutorizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfe.sefaz.go.gov.br/nfe/services/NFeRetAutorizacao4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfe.sefaz.go.gov.br/nfe/services/NFeInutilizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfe.sefaz.go.gov.br/nfe/services/NFeConsultaProtocolo4"},NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfe.sefaz.go.gov.br/nfe/services/NFeStatusServico4"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento",version:"1.00",url:"https://nfe.sefaz.go.gov.br/nfe/services/NFeRecepcaoEvento4"},CscNFCe:{method:"admCscNFCe",operation:"CscNFCe",version:"1.00",url:"https://nfe.sefaz.go.gov.br/nfe/services/v2/CscNFCe"},NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"https://nfeweb.sefaz.go.gov.br/nfeweb/sites/nfce/danfeNFCe"}}},MA:{[qe.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://www.hom.nfce.sefaz.ma.gov.br/portal/consultarNFCe.jsp"}},[qe.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"http://www.nfce.sefaz.ma.gov.br/portal/consultarNFCe.jsp"}}},MG:{[qe.Homolog]:{NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://hnfce.fazenda.mg.gov.br/nfce/services/NFeAutorizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://hnfce.fazenda.mg.gov.br/nfce/services/NFeRetAutorizacao4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://hnfce.fazenda.mg.gov.br/nfce/services/NFeInutilizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://hnfce.fazenda.mg.gov.br/nfce/services/NFeConsultaProtocolo4"},NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://hnfce.fazenda.mg.gov.br/nfce/services/NFeStatusServico4"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://hnfce.fazenda.mg.gov.br/nfce/services/NFeRecepcaoEvento4"},NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"https://portalsped.fazenda.mg.gov.br/portalnfce/sistema/qrcode.xhtml"}},[qe.Production]:{NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfce.fazenda.mg.gov.br/nfce/services/NFeAutorizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfce.fazenda.mg.gov.br/nfce/services/NFeRetAutorizacao4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfce.fazenda.mg.gov.br/nfce/services/NFeInutilizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfce.fazenda.mg.gov.br/nfce/services/NFeConsultaProtocolo4"},NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfce.fazenda.mg.gov.br/nfce/services/NFeStatusServico4"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://nfce.fazenda.mg.gov.br/nfce/services/NFeRecepcaoEvento4"},NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"https://portalsped.fazenda.mg.gov.br/portalnfce/sistema/qrcode.xhtml"}}},MT:{[qe.Homolog]:{NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://homologacao.sefaz.mt.gov.br/nfcews/services/NfeAutorizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://homologacao.sefaz.mt.gov.br/nfcews/services/NfeRetAutorizacao4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://homologacao.sefaz.mt.gov.br/nfcews/services/NfeInutilizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://homologacao.sefaz.mt.gov.br/nfcews/services/NfeConsulta4"},NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://homologacao.sefaz.mt.gov.br/nfcews/services/NfeStatusServico4"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://homologacao.sefaz.mt.gov.br/nfcews/services/RecepcaoEvento4"},NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://homologacao.sefaz.mt.gov.br/nfce/consultanfce"}},[qe.Production]:{NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfce.sefaz.mt.gov.br/nfcews/services/NfeAutorizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfce.sefaz.mt.gov.br/nfcews/services/NfeRetAutorizacao4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfce.sefaz.mt.gov.br/nfcews/services/NfeInutilizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfce.sefaz.mt.gov.br/nfcews/services/NfeConsulta4"},NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfce.sefaz.mt.gov.br/nfcews/services/NfeStatusServico4"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://nfce.sefaz.mt.gov.br/nfcews/services/RecepcaoEvento4"},NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"http://www.sefaz.mt.gov.br/nfce/consultanfce"}}},MS:{[qe.Homolog]:{NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://hom.nfce.sefaz.ms.gov.br/ws/NFeAutorizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://hom.nfce.sefaz.ms.gov.br/ws/NFeRetAutorizacao4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://hom.nfce.sefaz.ms.gov.br/ws/NFeInutilizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://hom.nfce.sefaz.ms.gov.br/ws/NFeConsultaProtocolo4"},NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://hom.nfce.sefaz.ms.gov.br/ws/NFeStatusServico4"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://hom.nfce.sefaz.ms.gov.br/ws/NFeRecepcaoEvento4"},NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://www.dfe.ms.gov.br/nfce/qrcode"}},[qe.Production]:{NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfce.sefaz.ms.gov.br/ws/NFeAutorizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfce.sefaz.ms.gov.br/ws/NFeRetAutorizacao4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfce.sefaz.ms.gov.br/ws/NFeInutilizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfce.sefaz.ms.gov.br/ws/NFeConsultaProtocolo4"},NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfce.sefaz.ms.gov.br/ws/NFeStatusServico4"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://nfce.sefaz.ms.gov.br/ws/NFeRecepcaoEvento4"},NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"http://www.dfe.ms.gov.br/nfce/qrcode"}}},PA:{[qe.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"https://appnfc.sefa.pa.gov.br/portal-homologacao/view/consultas/nfce/nfceForm.seam"}},[qe.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"https://appnfc.sefa.pa.gov.br/portal/view/consultas/nfce/nfceForm.seam"}}},PB:{[qe.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://www.sefaz.pb.gov.br/nfcehom"}},[qe.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"http://www.sefaz.pb.gov.br/nfce"}}},PE:{[qe.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://nfcehomolog.sefaz.pe.gov.br/nfce/consulta"}},[qe.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"http://nfce.sefaz.pe.gov.br/nfce/consulta"}}},PI:{[qe.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://www.sefaz.pi.gov.br/nfce/qrcode"}},[qe.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"http://www.sefaz.pi.gov.br/nfce/qrcode"}}},PR:{[qe.Homolog]:{NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://homologacao.nfce.sefa.pr.gov.br/nfce/NFeAutorizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://homologacao.nfce.sefa.pr.gov.br/nfce/NFeRetAutorizacao4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://homologacao.nfce.sefa.pr.gov.br/nfce/NFeInutilizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://homologacao.nfce.sefa.pr.gov.br/nfce/NFeConsultaProtocolo4"},NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://homologacao.nfce.sefa.pr.gov.br/nfce/NFeStatusServico4"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento",version:"1.00",url:"https://homologacao.nfce.sefa.pr.gov.br/nfce/NFeRecepcaoEvento4"},NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://www.fazenda.pr.gov.br/nfce/qrcode"}},[qe.Production]:{NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfce.sefa.pr.gov.br/nfce/NFeAutorizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacao",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfce.sefa.pr.gov.br/nfce/NFeRetAutorizacao4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfce.sefa.pr.gov.br/nfce/NFeInutilizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfce.sefa.pr.gov.br/nfce/NFeConsultaProtocolo4"},NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfce.sefa.pr.gov.br/nfce/NFeStatusServico4"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento",version:"1.00",url:"https://nfce.sefa.pr.gov.br/nfce/NFeRecepcaoEvento4"},NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"http://www.fazenda.pr.gov.br/nfce/qrcode"}}},RJ:{[qe.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://www4.fazenda.rj.gov.br/consultaNFCe/QRCode"}},[qe.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"https://consultadfe.fazenda.rj.gov.br/consultaNFCe/QRCode"}}},RN:{[qe.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://hom.nfce.set.rn.gov.br/consultarNFCe.aspx"}},[qe.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"http://nfce.set.rn.gov.br/consultarNFCe.aspx"}}},RO:{[qe.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://www.nfce.sefin.ro.gov.br/consultanfce/consulta.jsp"}},[qe.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"http://www.nfce.sefin.ro.gov.br/consultanfce/consulta.jsp"}}},RR:{[qe.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://200.174.88.103:8080/nfce/servlet/qrcode"}},[qe.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"https://www.sefaz.rr.gov.br/servlet/qrcode"}}},RS:{[qe.Homolog]:{NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfce-homologacao.sefazrs.rs.gov.br/ws/NfeAutorizacao/NFeAutorizacao4.asmx"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfce-homologacao.sefazrs.rs.gov.br/ws/NfeRetAutorizacao/NFeRetAutorizacao4.asmx"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfce-homologacao.sefazrs.rs.gov.br/ws/nfeinutilizacao/nfeinutilizacao4.asmx"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfce-homologacao.sefazrs.rs.gov.br/ws/NfeConsulta/NfeConsulta4.asmx"},NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfce-homologacao.sefazrs.rs.gov.br/ws/NfeStatusServico/NfeStatusServico4.asmx"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://nfce-homologacao.sefazrs.rs.gov.br/ws/recepcaoevento/recepcaoevento4.asmx"},NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"https://www.sefaz.rs.gov.br/NFCE/NFCE-COM.aspx"}},[qe.Production]:{NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfce.sefazrs.rs.gov.br/ws/NfeAutorizacao/NFeAutorizacao4.asmx"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfce.sefazrs.rs.gov.br/ws/NfeRetAutorizacao/NFeRetAutorizacao4.asmx"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfce.sefazrs.rs.gov.br/ws/nfeinutilizacao/nfeinutilizacao4.asmx"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfce.sefazrs.rs.gov.br/ws/NfeConsulta/NfeConsulta4.asmx"},NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfce.sefazrs.rs.gov.br/ws/NfeStatusServico/NfeStatusServico4.asmx"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://nfce.sefazrs.rs.gov.br/ws/recepcaoevento/recepcaoevento4.asmx"},NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"https://www.sefaz.rs.gov.br/NFCE/NFCE-COM.aspx"}}},SC:{[qe.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"https://hom.sat.sef.sc.gov.br/nfce/consulta"}},[qe.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"https://sat.sef.sc.gov.br/nfce/consulta"}}},SE:{[qe.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://www.hom.nfe.se.gov.br/nfce/qrcode"}},[qe.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"http://www.nfce.se.gov.br/nfce/qrcode"}}},SP:{[qe.Homolog]:{NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://homologacao.nfce.fazenda.sp.gov.br/ws/NFeAutorizacao4.asmx"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://homologacao.nfce.fazenda.sp.gov.br/ws/NFeRetAutorizacao4.asmx"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://homologacao.nfce.fazenda.sp.gov.br/ws/NFeInutilizacao4.asmx"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://homologacao.nfce.fazenda.sp.gov.br/ws/NFeConsultaProtocolo4.asmx"},NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://homologacao.nfce.fazenda.sp.gov.br/ws/NFeStatusServico4.asmx"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://homologacao.nfce.fazenda.sp.gov.br/ws/NFeRecepcaoEvento4.asmx"},RecepcaoEPEC:{method:"nfeRecepcaoEvento",operation:"RecepcaoEvento",version:"4.00",url:"https://homologacao.nfce.epec.fazenda.sp.gov.br/EPECws/RecepcaoEPEC.asmx"},EPECStatusServico:{method:"nfeStatusServicoNF2",operation:"NfeStatusServico2",version:"4.00",url:"https://homologacao.nfce.epec.fazenda.sp.gov.br/EPECws/EPECStatusServico.asmx"},NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"https://www.homologacao.nfce.fazenda.sp.gov.br/qrcode"}},[qe.Production]:{NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfce.fazenda.sp.gov.br/ws/NFeAutorizacao4.asmx"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfce.fazenda.sp.gov.br/ws/NFeRetAutorizacao4.asmx"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfce.fazenda.sp.gov.br/ws/NFeInutilizacao4.asmx"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfce.fazenda.sp.gov.br/ws/NFeConsultaProtocolo4.asmx"},NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfce.fazenda.sp.gov.br/ws/NFeStatusServico4.asmx"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://nfce.fazenda.sp.gov.br/ws/NFeRecepcaoEvento4.asmx"},RecepcaoEPEC:{method:"nfeRecepcaoEvento",operation:"RecepcaoEvento",version:"1.00",url:"https://nfce.epec.fazenda.sp.gov.br/EPECws/RecepcaoEPEC.asmx"},EPECStatusServico:{method:"nfeStatusServicoNF2",operation:"NfeStatusServico2",version:"4.00",url:"https://nfce.epec.fazenda.sp.gov.br/EPECws/EPECStatusServico.asmx"},NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"https://www.nfce.fazenda.sp.gov.br/qrcode"}}},TO:{[qe.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://homologacao.sefaz.to.gov.br/nfce/qrcode"}},[qe.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"http://www.sefaz.to.gov.br/nfce/qrcode"}}},SVRS:{[qe.Homolog]:{NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfce-homologacao.svrs.rs.gov.br/ws/NfeAutorizacao/NFeAutorizacao4.asmx"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfce-homologacao.svrs.rs.gov.br/ws/NfeRetAutorizacao/NFeRetAutorizacao4.asmx"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfce-homologacao.svrs.rs.gov.br/ws/nfeinutilizacao/nfeinutilizacao4.asmx"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfce-homologacao.svrs.rs.gov.br/ws/NfeConsulta/NfeConsulta4.asmx"},NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfce-homologacao.svrs.rs.gov.br/ws/NfeStatusServico/NfeStatusServico4.asmx"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://nfce-homologacao.svrs.rs.gov.br/ws/recepcaoevento/recepcaoevento4.asmx"}},[qe.Production]:{NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfce.svrs.rs.gov.br/ws/NfeAutorizacao/NFeAutorizacao4.asmx"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfce.svrs.rs.gov.br/ws/NfeRetAutorizacao/NFeRetAutorizacao4.asmx"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfce.svrs.rs.gov.br/ws/nfeinutilizacao/nfeinutilizacao4.asmx"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfce.svrs.rs.gov.br/ws/NfeConsulta/NfeConsulta4.asmx"},NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfce.svrs.rs.gov.br/ws/NfeStatusServico/NfeStatusServico4.asmx"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://nfce.svrs.rs.gov.br/ws/recepcaoevento/recepcaoevento4.asmx"}}},SVAN:{[qe.Homolog]:{},[qe.Production]:{}}};var Oie={[qe.Homolog]:{[pe.AC]:"www.sefaznet.ac.gov.br/nfce/consulta",[pe.AL]:"www.sefaz.al.gov.br/nfce/consulta",[pe.AP]:"www.sefaz.ap.gov.br/nfce/consulta",[pe.AM]:"www.sefaz.am.gov.br/nfce/consulta",[pe.BA]:"http://hinternet.sefaz.ba.gov.br/nfce/consulta",[pe.CE]:"www.sefaz.ce.gov.br/nfce/consulta",[pe.DF]:"www.fazenda.df.gov.br/nfce/consulta",[pe.ES]:"www.sefaz.es.gov.br/nfce/consulta",[pe.GO]:"www.nfce.go.gov.br/post/ver/214413/consulta-nfc-e-homologacao",[pe.MA]:"www.sefaz.ma.gov.br/nfce/consulta",[pe.MG]:"https://hportalsped.fazenda.mg.gov.br/portalnfce",[pe.MS]:"http://www.dfe.ms.gov.br/nfce/consulta",[pe.MT]:"http://homologacao.sefaz.mt.gov.br/nfce/consultanfce",[pe.PA]:"www.sefa.pa.gov.br/nfce/consulta",[pe.PB]:"www.sefaz.pb.gov.br/nfcehom",[pe.PE]:"nfce.sefaz.pe.gov.br/nfce/consulta",[pe.PR]:"http://www.fazenda.pr.gov.br/nfce/consulta",[pe.PI]:"www.sefaz.pi.gov.br/nfce/consulta",[pe.RJ]:"www.fazenda.rj.gov.br/nfce/consulta",[pe.RN]:"www.set.rn.gov.br/nfce/consulta",[pe.RO]:"www.sefin.ro.gov.br/nfce/consulta",[pe.RR]:"www.sefaz.rr.gov.br/nfce/consulta",[pe.RS]:"www.sefaz.rs.gov.br/nfce/consulta",[pe.SE]:"http://www.hom.nfe.se.gov.br/nfce/consulta",[pe.SC]:"https://hom.sat.sef.sc.gov.br/nfce/consulta",[pe.SP]:"https://www.homologacao.nfce.fazenda.sp.gov.br/NFCeConsultaPublica",[pe.TO]:"http://homologacao.sefaz.to.gov.br/nfce/consulta.jsf"},[qe.Production]:{[pe.AC]:"www.sefaznet.ac.gov.br/nfce/consulta",[pe.AL]:"www.sefaz.al.gov.br/nfce/consulta",[pe.AP]:"www.sefaz.ap.gov.br/nfce/consulta",[pe.AM]:"www.sefaz.am.gov.br/nfce/consulta",[pe.BA]:"http://www.sefaz.ba.gov.br/nfce/consulta",[pe.CE]:"www.sefaz.ce.gov.br/nfce/consulta",[pe.DF]:"www.fazenda.df.gov.br/nfce/consulta",[pe.ES]:"www.sefaz.es.gov.br/nfce/consulta",[pe.GO]:"www.sefaz.go.gov.br/nfce/consulta",[pe.MA]:"www.sefaz.ma.gov.br/nfce/consulta",[pe.MG]:"https://portalsped.fazenda.mg.gov.br/portalnfce",[pe.MS]:"http://www.dfe.ms.gov.br/nfce/consulta",[pe.MT]:"http://www.sefaz.mt.gov.br/nfce/consultanfce",[pe.PA]:"www.sefa.pa.gov.br/nfce/consulta",[pe.PE]:"nfce.sefaz.pe.gov.br/nfce/consulta",[pe.PR]:"http://www.fazenda.pr.gov.br/nfce/consulta",[pe.PI]:"www.sefaz.pi.gov.br/nfce/consulta",[pe.RJ]:"www.fazenda.rj.gov.br/nfce/consulta",[pe.RN]:"www.set.rn.gov.br/nfce/consulta",[pe.RO]:"www.sefin.ro.gov.br/nfce/consulta",[pe.RR]:"www.sefaz.rr.gov.br/nfce/consulta",[pe.RS]:"www.sefaz.rs.gov.br/nfce/consulta",[pe.SC]:"https://sat.sef.sc.gov.br/nfce/consulta",[pe.SE]:"http://www.nfce.se.gov.br/nfce/consulta",[pe.SP]:"https://www.nfce.fazenda.sp.gov.br/NFCeConsultaPublica",[pe.TO]:"www.sefaz.to.gov.br/nfce/consulta",[pe.PB]:"www.sefaz.pb.gov.br/nfce/consulta"}};var WBe={[pe.AC]:"SVRS",[pe.AL]:"SVRS",[pe.AM]:"AM",[pe.AP]:"SVRS",[pe.BA]:"SVRS",[pe.CE]:"SVRS",[pe.DF]:"SVRS",[pe.ES]:"SVRS",[pe.GO]:"GO",[pe.MA]:"SVRS",[pe.MG]:"MG",[pe.MS]:"MS",[pe.MT]:"MT",[pe.PA]:"SVRS",[pe.PB]:"SVRS",[pe.PE]:"SVRS",[pe.PI]:"SVRS",[pe.PR]:"PR",[pe.RJ]:"SVRS",[pe.RN]:"SVRS",[pe.RO]:"SVRS",[pe.RR]:"SVRS",[pe.RS]:"RS",[pe.SC]:"SVRS",[pe.SE]:"SVRS",[pe.SP]:"SP",[pe.TO]:"SVRS",SVRS:"SVRS"},Bie=WBe;var Yo=require("class-validator");function j2(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(j2,"_ts_decorate");function w_(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(w_,"_ts_metadata");var Up=class{static{o(this,"NfceAutorizacaoPayload")}tpAmb;cUF;idLote;indSinc="1";NFe};j2([(0,Yo.IsEnum)(qe),(0,Yo.IsOptional)(),w_("design:type",typeof EnvironmentCode>"u"?Object:EnvironmentCode)],Up.prototype,"tpAmb",void 0);j2([(0,Yo.IsEnum)(pe),(0,Yo.IsOptional)(),w_("design:type",typeof StateCode>"u"?Object:StateCode)],Up.prototype,"cUF",void 0);j2([(0,Yo.IsString)(),(0,Yo.IsOptional)(),w_("design:type",String)],Up.prototype,"idLote",void 0);j2([(0,Yo.IsOptional)(),(0,Yo.IsEnum)(["0","1"])],Up.prototype,"indSinc",void 0);j2([(0,Yo.IsNotEmpty)(),w_("design:type",typeof T>"u"?Object:T)],Up.prototype,"NFe",void 0);function JBe(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(JBe,"_ts_decorate");function $M(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o($M,"_ts_metadata");var yo=class extends vo{static{o(this,"NfceRemoteTransmitter")}remoteTransmissionRepository;qrCode;options={};constructor(e,t){super(e),this.remoteTransmissionRepository=e,this.qrCode=t}configure(e){return super.configure(e)}service(e){let t=e.cUF??this.options.cUF,n=e.tpAmb??this.options.tpAmb,i=Bie[t],u=QM[i][n][e.service];if(u)return u;let c=Object.keys(pe).find(l=>pe[l]===t);return QM[c][n][e.service]}getUrlConsult(e){let t=e.infNFe.ide.cUF,n=e.infNFe.ide.tpAmb;return Oie[n][t]}async autorizacao(e){return super.autorizacao(e)}};JBe([Ht(Up),$M("design:type",Function),$M("design:paramtypes",[typeof IAutorizacaoPayload>"u"?Object:IAutorizacaoPayload]),$M("design:returntype",Promise)],yo.prototype,"autorizacao",null);var ZM=class extends F2{static{o(this,"NfceCancelPipeline")}qrCode=new Jo(this.certificates);transmitter=new yo(this.soap,this.qrCode)};var eU=class extends k2{static{o(this,"NfceAuthorizerPipeline")}certificate;qrCode=new Jo(this.certificates);transmitter=new yo(this.soap,this.qrCode);constructor(e){super(e),this.certificate=e}};var tU=class extends px{static{o(this,"NfceVoidRangePipeline")}qrCode=new Jo(this.certificates);transmitter=new yo(this.soap,this.qrCode)};var rU=class extends V2{static{o(this,"NfceConsultStatusPipeline")}qrCode=new Jo(this.certificates);transmitter=new yo(this.soap,this.qrCode)};var nse=lr(require("path"),1);var qa=require("class-validator");var Pt=require("class-validator"),Li=require("class-transformer");var xt=require("class-validator"),M2=require("class-transformer");function Kt(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(Kt,"_ts_decorate");function Gt(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(Gt,"_ts_metadata");var qp=class{static{o(this,"RefNF")}cUF;AAMM;CNPJ;mod;serie;nNF};Kt([(0,xt.IsString)(),Gt("design:type",String)],qp.prototype,"cUF",void 0);Kt([(0,xt.IsString)(),Gt("design:type",String)],qp.prototype,"AAMM",void 0);Kt([(0,xt.IsString)(),Gt("design:type",String)],qp.prototype,"CNPJ",void 0);Kt([(0,xt.IsString)(),Gt("design:type",String)],qp.prototype,"mod",void 0);Kt([(0,xt.IsString)(),Gt("design:type",String)],qp.prototype,"serie",void 0);Kt([(0,xt.IsString)(),Gt("design:type",String)],qp.prototype,"nNF",void 0);var Qo=class{static{o(this,"RefNFP")}cUF;AAMM;CNPJ="";CPF="";IE;mod;serie;nNF};Kt([(0,xt.IsString)(),Gt("design:type",String)],Qo.prototype,"cUF",void 0);Kt([(0,xt.IsString)(),Gt("design:type",String)],Qo.prototype,"AAMM",void 0);Kt([(0,xt.IsOptional)(),(0,xt.IsString)(),Gt("design:type",String)],Qo.prototype,"CNPJ",void 0);Kt([(0,xt.IsOptional)(),(0,xt.IsString)(),Gt("design:type",String)],Qo.prototype,"CPF",void 0);Kt([(0,xt.IsString)(),Gt("design:type",String)],Qo.prototype,"IE",void 0);Kt([(0,xt.IsString)(),Gt("design:type",String)],Qo.prototype,"mod",void 0);Kt([(0,xt.IsString)(),Gt("design:type",String)],Qo.prototype,"serie",void 0);Kt([(0,xt.IsString)(),Gt("design:type",String)],Qo.prototype,"nNF",void 0);Qo=Kt([nn({properties:["CNPJ","CPF"],required:!0})],Qo);var hx=class{static{o(this,"RefECF")}mod;nECF;nCOO};Kt([(0,xt.IsString)(),Gt("design:type",String)],hx.prototype,"mod",void 0);Kt([(0,xt.IsString)(),Gt("design:type",String)],hx.prototype,"nECF",void 0);Kt([(0,xt.IsString)(),Gt("design:type",String)],hx.prototype,"nCOO",void 0);var Hp=class{static{o(this,"NFref")}refNFe;refNFeSig;refNF;refNFP;refCTe;refECF};Kt([(0,xt.IsOptional)(),(0,xt.IsString)(),Gt("design:type",String)],Hp.prototype,"refNFe",void 0);Kt([(0,xt.IsOptional)(),(0,xt.IsString)(),Gt("design:type",String)],Hp.prototype,"refNFeSig",void 0);Kt([(0,xt.IsOptional)(),(0,xt.ValidateNested)(),(0,M2.Type)(()=>qp),Gt("design:type",typeof IRefNF>"u"?Object:IRefNF)],Hp.prototype,"refNF",void 0);Kt([(0,xt.IsOptional)(),(0,xt.ValidateNested)(),(0,M2.Type)(()=>Qo),Gt("design:type",typeof IRefNFP>"u"?Object:IRefNFP)],Hp.prototype,"refNFP",void 0);Kt([(0,xt.IsOptional)(),(0,xt.IsString)(),Gt("design:type",String)],Hp.prototype,"refCTe",void 0);Kt([(0,xt.IsOptional)(),(0,xt.ValidateNested)(),(0,M2.Type)(()=>hx),Gt("design:type",typeof IRefECF>"u"?Object:IRefECF)],Hp.prototype,"refECF",void 0);var sn=class{static{o(this,"Ide")}cUF;cNF;natOp;mod;serie;nNF;dhEmi;dhSaiEnt;tpNF;idDest;cMunFG;tpImp;tpEmis;cDV="";tpAmb;finNFe;indFinal;indPres;indIntermed;procEmi;verProc;dhCont;xJust;NFref};Kt([(0,xt.IsEnum)(pe),Gt("design:type",typeof StateCode>"u"?Object:StateCode)],sn.prototype,"cUF",void 0);Kt([(0,xt.IsString)(),Gt("design:type",String)],sn.prototype,"cNF",void 0);Kt([(0,xt.IsString)(),Gt("design:type",String)],sn.prototype,"natOp",void 0);Kt([(0,xt.IsString)(),Gt("design:type",String)],sn.prototype,"mod",void 0);Kt([(0,xt.IsString)(),Gt("design:type",String)],sn.prototype,"serie",void 0);Kt([(0,xt.IsString)(),Gt("design:type",String)],sn.prototype,"nNF",void 0);Kt([Fp({format:"YYYY-MM-DD[T]HH:mm:ssZ"}),Gt("design:type",String)],sn.prototype,"dhEmi",void 0);Kt([(0,xt.IsOptional)(),Fp({format:"YYYY-MM-DD[T]HH:mm:ssZ"}),Gt("design:type",String)],sn.prototype,"dhSaiEnt",void 0);Kt([(0,xt.IsString)(),Gt("design:type",String)],sn.prototype,"tpNF",void 0);Kt([(0,xt.IsString)(),Gt("design:type",String)],sn.prototype,"idDest",void 0);Kt([(0,xt.IsString)(),Gt("design:type",String)],sn.prototype,"cMunFG",void 0);Kt([(0,xt.IsString)(),Gt("design:type",String)],sn.prototype,"tpImp",void 0);Kt([(0,xt.IsString)(),Gt("design:type",typeof TpEmis>"u"?Object:TpEmis)],sn.prototype,"tpEmis",void 0);Kt([(0,xt.IsString)(),(0,xt.IsOptional)(),Gt("design:type",String)],sn.prototype,"cDV",void 0);Kt([(0,xt.IsString)(),Gt("design:type",typeof EnvironmentCode>"u"?Object:EnvironmentCode)],sn.prototype,"tpAmb",void 0);Kt([(0,xt.IsString)(),Gt("design:type",String)],sn.prototype,"finNFe",void 0);Kt([(0,xt.IsString)(),Gt("design:type",String)],sn.prototype,"indFinal",void 0);Kt([(0,xt.IsString)(),Gt("design:type",String)],sn.prototype,"indPres",void 0);Kt([(0,xt.IsOptional)(),(0,xt.IsString)(),Gt("design:type",String)],sn.prototype,"indIntermed",void 0);Kt([(0,xt.IsString)(),Gt("design:type",String)],sn.prototype,"procEmi",void 0);Kt([(0,xt.IsString)(),Gt("design:type",String)],sn.prototype,"verProc",void 0);Kt([(0,xt.IsOptional)(),(0,xt.IsString)(),Fp({format:"YYYY-MM-DD[T]HH:mm:ssZ"}),Gt("design:type",String)],sn.prototype,"dhCont",void 0);Kt([(0,xt.IsOptional)(),(0,xt.IsString)(),Gt("design:type",String)],sn.prototype,"xJust",void 0);Kt([(0,xt.IsOptional)(),(0,xt.IsArray)(),(0,xt.ArrayMaxSize)(999),(0,xt.ValidateNested)({each:!0}),(0,M2.Type)(()=>Hp),Gt("design:type",Array)],sn.prototype,"NFref",void 0);var ts=require("class-validator");var Pie=require("class-transformer");var Xs=require("class-validator");function _c(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(_c,"_ts_decorate");function Lc(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(Lc,"_ts_metadata");var Gs=class{static{o(this,"EnderEmit")}xLgr;nro;xCpl;xBairro;cMun;xMun;UF;CEP;cPais;xPais;fone};_c([(0,Xs.IsString)(),Lc("design:type",String)],Gs.prototype,"xLgr",void 0);_c([(0,Xs.IsString)(),Lc("design:type",String)],Gs.prototype,"nro",void 0);_c([(0,Xs.IsOptional)(),(0,Xs.IsString)(),Lc("design:type",String)],Gs.prototype,"xCpl",void 0);_c([(0,Xs.IsString)(),Lc("design:type",String)],Gs.prototype,"xBairro",void 0);_c([(0,Xs.IsString)(),Lc("design:type",String)],Gs.prototype,"cMun",void 0);_c([(0,Xs.IsString)(),Lc("design:type",String)],Gs.prototype,"xMun",void 0);_c([(0,Xs.IsString)(),Lc("design:type",String)],Gs.prototype,"UF",void 0);_c([(0,Xs.IsString)(),Lc("design:type",String)],Gs.prototype,"CEP",void 0);_c([(0,Xs.IsOptional)(),(0,Xs.IsString)(),Lc("design:type",String)],Gs.prototype,"cPais",void 0);_c([(0,Xs.IsOptional)(),(0,Xs.IsString)(),Lc("design:type",String)],Gs.prototype,"xPais",void 0);_c([(0,Xs.IsOptional)(),(0,Xs.IsString)(),Lc("design:type",String)],Gs.prototype,"fone",void 0);function Fc(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(Fc,"_ts_decorate");function of(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(of,"_ts_metadata");var xs=class{static{o(this,"Emit")}CNPJ="";CPF="";xNome;xFant;enderEmit;IE;IEST;IM;CNAE;CRT};Fc([(0,ts.IsOptional)(),(0,ts.IsString)(),of("design:type",String)],xs.prototype,"CNPJ",void 0);Fc([(0,ts.IsOptional)(),(0,ts.IsString)(),of("design:type",String)],xs.prototype,"CPF",void 0);Fc([(0,ts.IsString)(),of("design:type",String)],xs.prototype,"xNome",void 0);Fc([(0,ts.IsOptional)(),(0,ts.IsString)(),of("design:type",String)],xs.prototype,"xFant",void 0);Fc([(0,ts.ValidateNested)(),(0,Pie.Type)(()=>Gs),of("design:type",typeof Gs>"u"?Object:Gs)],xs.prototype,"enderEmit",void 0);Fc([(0,ts.IsString)(),of("design:type",String)],xs.prototype,"IE",void 0);Fc([(0,ts.IsOptional)(),(0,ts.IsString)(),of("design:type",String)],xs.prototype,"IEST",void 0);Fc([(0,ts.IsOptional)(),(0,ts.IsString)(),of("design:type",String)],xs.prototype,"IM",void 0);Fc([(0,ts.IsOptional)(),(0,ts.IsString)(),of("design:type",String)],xs.prototype,"CNAE",void 0);Fc([(0,ts.IsString)(),of("design:type",String)],xs.prototype,"CRT",void 0);xs=Fc([nn({properties:["CNPJ","CPF"],required:!0})],xs);var wi=require("class-validator"),_ie=require("class-transformer");var Jn=require("class-validator");function kc(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(kc,"_ts_decorate");function Vc(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(Vc,"_ts_metadata");var Fa=class{static{o(this,"EnderDest")}xLgr;nro;xCpl;xBairro;cMun;xMun;UF;CEP;cPais;xPais;fone};kc([(0,Jn.IsOptional)(),(0,Jn.IsString)(),Vc("design:type",String)],Fa.prototype,"xLgr",void 0);kc([(0,Jn.IsOptional)(),(0,Jn.IsString)(),Vc("design:type",String)],Fa.prototype,"nro",void 0);kc([(0,Jn.IsOptional)(),(0,Jn.IsString)(),Vc("design:type",String)],Fa.prototype,"xCpl",void 0);kc([(0,Jn.IsOptional)(),(0,Jn.IsString)(),Vc("design:type",String)],Fa.prototype,"xBairro",void 0);kc([(0,Jn.IsOptional)(),(0,Jn.IsString)(),Vc("design:type",String)],Fa.prototype,"cMun",void 0);kc([(0,Jn.IsOptional)(),(0,Jn.IsString)(),Vc("design:type",String)],Fa.prototype,"xMun",void 0);kc([(0,Jn.IsOptional)(),(0,Jn.IsString)(),Vc("design:type",String)],Fa.prototype,"UF",void 0);kc([(0,Jn.IsOptional)(),(0,Jn.IsString)(),Vc("design:type",String)],Fa.prototype,"CEP",void 0);kc([(0,Jn.IsOptional)(),(0,Jn.IsString)(),Vc("design:type",String)],Fa.prototype,"cPais",void 0);kc([(0,Jn.IsOptional)(),(0,Jn.IsString)(),Vc("design:type",String)],Fa.prototype,"xPais",void 0);kc([(0,Jn.IsOptional)(),(0,Jn.IsString)(),Vc("design:type",String)],Fa.prototype,"fone",void 0);function jc(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(jc,"_ts_decorate");function uf(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(uf,"_ts_metadata");var ws=class{static{o(this,"Dest")}CNPJ="";CPF="";idEstrangeiro;xNome;enderDest;indIEDest;IE;ISUF;IM;email};jc([(0,wi.IsOptional)(),(0,wi.IsString)(),uf("design:type",String)],ws.prototype,"CNPJ",void 0);jc([(0,wi.IsOptional)(),(0,wi.IsString)(),uf("design:type",String)],ws.prototype,"CPF",void 0);jc([(0,wi.IsOptional)(),(0,wi.IsString)(),uf("design:type",String)],ws.prototype,"idEstrangeiro",void 0);jc([(0,wi.IsOptional)(),(0,wi.IsString)(),uf("design:type",String)],ws.prototype,"xNome",void 0);jc([(0,wi.IsOptional)(),(0,wi.ValidateNested)(),(0,_ie.Type)(()=>Fa),uf("design:type",typeof IEnderDest>"u"?Object:IEnderDest)],ws.prototype,"enderDest",void 0);jc([(0,wi.IsString)(),uf("design:type",String)],ws.prototype,"indIEDest",void 0);jc([(0,wi.IsOptional)(),(0,wi.IsString)(),uf("design:type",String)],ws.prototype,"IE",void 0);jc([(0,wi.IsOptional)(),(0,wi.IsString)(),uf("design:type",String)],ws.prototype,"ISUF",void 0);jc([(0,wi.IsOptional)(),(0,wi.IsString)(),uf("design:type",String)],ws.prototype,"IM",void 0);jc([(0,wi.IsOptional)(),(0,wi.IsString)(),uf("design:type",String)],ws.prototype,"email",void 0);ws=jc([nn({properties:["CNPJ","CPF"],required:!0})],ws);var mn=require("class-validator");function Ws(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(Ws,"_ts_decorate");function da(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(da,"_ts_metadata");var Pn=class{static{o(this,"Local")}CNPJ;CPF;xNome;xLgr;nro;xCpl;xBairro;cMun;xMun;UF;CEP;cPais;xPais;fone;email;IE};Ws([(0,mn.IsOptional)(),(0,mn.IsString)(),da("design:type",String)],Pn.prototype,"CNPJ",void 0);Ws([(0,mn.IsOptional)(),(0,mn.IsString)(),da("design:type",String)],Pn.prototype,"CPF",void 0);Ws([(0,mn.IsOptional)(),(0,mn.IsString)(),da("design:type",String)],Pn.prototype,"xNome",void 0);Ws([(0,mn.IsString)(),da("design:type",String)],Pn.prototype,"xLgr",void 0);Ws([(0,mn.IsString)(),da("design:type",String)],Pn.prototype,"nro",void 0);Ws([(0,mn.IsOptional)(),(0,mn.IsString)(),da("design:type",String)],Pn.prototype,"xCpl",void 0);Ws([(0,mn.IsString)(),da("design:type",String)],Pn.prototype,"xBairro",void 0);Ws([(0,mn.IsString)(),da("design:type",String)],Pn.prototype,"cMun",void 0);Ws([(0,mn.IsString)(),da("design:type",String)],Pn.prototype,"xMun",void 0);Ws([(0,mn.IsString)(),da("design:type",String)],Pn.prototype,"UF",void 0);Ws([(0,mn.IsOptional)(),(0,mn.IsString)(),da("design:type",String)],Pn.prototype,"CEP",void 0);Ws([(0,mn.IsOptional)(),(0,mn.IsString)(),da("design:type",String)],Pn.prototype,"cPais",void 0);Ws([(0,mn.IsOptional)(),(0,mn.IsString)(),da("design:type",String)],Pn.prototype,"xPais",void 0);Ws([(0,mn.IsOptional)(),(0,mn.IsString)(),da("design:type",String)],Pn.prototype,"fone",void 0);Ws([(0,mn.IsOptional)(),(0,mn.IsString)(),da("design:type",String)],Pn.prototype,"email",void 0);Ws([(0,mn.IsOptional)(),(0,mn.IsString)(),da("design:type",String)],Pn.prototype,"IE",void 0);Pn=Ws([nn({properties:["CNPJ","CPF"]})],Pn);var dx=require("class-validator");function nU(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(nU,"_ts_decorate");function Lie(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(Lie,"_ts_metadata");var cf=class{static{o(this,"AutXML")}CNPJ;CPF};nU([(0,dx.IsOptional)(),(0,dx.IsString)(),Lie("design:type",String)],cf.prototype,"CNPJ",void 0);nU([(0,dx.IsOptional)(),(0,dx.IsString)(),Lie("design:type",String)],cf.prototype,"CPF",void 0);cf=nU([nn({properties:["CNPJ","CPF"]})],cf);var U2=require("class-validator");function Fie(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(Fie,"_ts_decorate");function kie(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(kie,"_ts_metadata");var Fm=class{static{o(this,"InfIntermed")}CNPJ;idCadIntTran};Fie([(0,U2.IsString)(),kie("design:type",String)],Fm.prototype,"CNPJ",void 0);Fie([(0,U2.IsOptional)(),(0,U2.IsString)(),kie("design:type",String)],Fm.prototype,"idCadIntTran",void 0);var Hv=require("class-validator");function iU(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(iU,"_ts_decorate");function sU(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(sU,"_ts_metadata");var zp=class{static{o(this,"Exporta")}UFSaidaPais;xLocExporta;xLocDespacho};iU([(0,Hv.IsString)(),sU("design:type",String)],zp.prototype,"UFSaidaPais",void 0);iU([(0,Hv.IsOptional)(),(0,Hv.IsString)(),sU("design:type",String)],zp.prototype,"xLocExporta",void 0);iU([(0,Hv.IsOptional)(),(0,Hv.IsString)(),sU("design:type",String)],zp.prototype,"xLocDespacho",void 0);var km=require("class-validator");function aU(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(aU,"_ts_decorate");function oU(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(oU,"_ts_metadata");var Kp=class{static{o(this,"Compra")}xNEmp;xPed;xCont};aU([(0,km.IsOptional)(),(0,km.IsString)(),oU("design:type",String)],Kp.prototype,"xNEmp",void 0);aU([(0,km.IsOptional)(),(0,km.IsString)(),oU("design:type",String)],Kp.prototype,"xPed",void 0);aU([(0,km.IsOptional)(),(0,km.IsString)(),oU("design:type",String)],Kp.prototype,"xCont",void 0);var lf=require("class-validator");function mx(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(mx,"_ts_decorate");function gx(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(gx,"_ts_metadata");var qu=class{static{o(this,"InfRespTec")}CNPJ;xContato;email;fone;idCSRT;hashCSRT};mx([(0,lf.IsString)(),gx("design:type",String)],qu.prototype,"CNPJ",void 0);mx([(0,lf.IsString)(),gx("design:type",String)],qu.prototype,"xContato",void 0);mx([(0,lf.IsString)(),gx("design:type",String)],qu.prototype,"email",void 0);mx([(0,lf.IsString)(),gx("design:type",String)],qu.prototype,"fone",void 0);mx([(0,lf.IsOptional)(),(0,lf.IsString)(),gx("design:type",String)],qu.prototype,"idCSRT",void 0);mx([(0,lf.IsOptional)(),(0,lf.IsString)(),gx("design:type",String)],qu.prototype,"hashCSRT",void 0);var pf=require("class-validator"),W2=require("class-transformer");var Mc=require("class-validator");function cn(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(cn,"_ts_decorate");function ln(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(ln,"_ts_metadata");var Gr=class{static{o(this,"ICMSTot")}vBC="0.00";vICMS="0.00";vICMSDeson="0.00";vFCPUFDest;vICMSUFDest;vICMSUFRemet;vFCP="0.00";vBCST="0.00";vST="0.00";vFCPST="0.00";vFCPSTRet="0.00";qBCMono;vICMSMono;qBCMonoReten;vICMSMonoReten;qBCMonoRet;vICMSMonoRet;vProd="0.00";vFrete="0.00";vSeg="0.00";vDesc="0.00";vII="0.00";vIPI="0.00";vIPIDevol="0.00";vPIS="0.00";vCOFINS="0.00";vOutro="0.00";vNF="0.00";vTotTrib};cn([ne({fixed:2}),ln("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Gr.prototype,"vBC",void 0);cn([ne({fixed:2}),ln("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Gr.prototype,"vICMS",void 0);cn([ne({fixed:2}),ln("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Gr.prototype,"vICMSDeson",void 0);cn([(0,Mc.IsOptional)(),ne({fixed:2}),ln("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Gr.prototype,"vFCPUFDest",void 0);cn([(0,Mc.IsOptional)(),ne({fixed:2}),ln("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Gr.prototype,"vICMSUFDest",void 0);cn([(0,Mc.IsOptional)(),ne({fixed:2}),ln("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Gr.prototype,"vICMSUFRemet",void 0);cn([ne({fixed:2}),ln("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Gr.prototype,"vFCP",void 0);cn([ne({fixed:2}),ln("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Gr.prototype,"vBCST",void 0);cn([ne({fixed:2}),ln("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Gr.prototype,"vST",void 0);cn([ne({fixed:2}),ln("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Gr.prototype,"vFCPST",void 0);cn([ne({fixed:2}),ln("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Gr.prototype,"vFCPSTRet",void 0);cn([(0,Mc.IsOptional)(),ne({fixed:2}),ln("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Gr.prototype,"qBCMono",void 0);cn([(0,Mc.IsOptional)(),ne({fixed:2}),ln("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Gr.prototype,"vICMSMono",void 0);cn([(0,Mc.IsOptional)(),ne({fixed:2}),ln("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Gr.prototype,"qBCMonoReten",void 0);cn([(0,Mc.IsOptional)(),ne({fixed:2}),ln("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Gr.prototype,"vICMSMonoReten",void 0);cn([(0,Mc.IsOptional)(),ne({fixed:2}),ln("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Gr.prototype,"qBCMonoRet",void 0);cn([(0,Mc.IsOptional)(),ne({fixed:2}),ln("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Gr.prototype,"vICMSMonoRet",void 0);cn([ne({fixed:2}),ln("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Gr.prototype,"vProd",void 0);cn([ne({fixed:2}),ln("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Gr.prototype,"vFrete",void 0);cn([ne({fixed:2}),ln("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Gr.prototype,"vSeg",void 0);cn([ne({fixed:2}),ln("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Gr.prototype,"vDesc",void 0);cn([ne({fixed:2}),ln("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Gr.prototype,"vII",void 0);cn([ne({fixed:2}),ln("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Gr.prototype,"vIPI",void 0);cn([ne({fixed:2}),ln("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Gr.prototype,"vIPIDevol",void 0);cn([ne({fixed:2}),ln("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Gr.prototype,"vPIS",void 0);cn([ne({fixed:2}),ln("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Gr.prototype,"vCOFINS",void 0);cn([ne({fixed:2}),ln("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Gr.prototype,"vOutro",void 0);cn([ne({fixed:2}),ln("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Gr.prototype,"vNF",void 0);cn([(0,Mc.IsOptional)(),ne({fixed:2}),ln("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Gr.prototype,"vTotTrib",void 0);var qn=require("class-validator");function Hu(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(Hu,"_ts_decorate");function zu(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(zu,"_ts_metadata");var ma=class{static{o(this,"ISSQNTot")}vServ;vBC;vISS;vPIS;vCOFINS;dCompet;vDeducao;vOutro;vDescIncond;vDescCond;vISSRet;cRegTrib};Hu([(0,qn.IsOptional)(),(0,qn.IsString)(),zu("design:type",String)],ma.prototype,"vServ",void 0);Hu([(0,qn.IsOptional)(),(0,qn.IsString)(),zu("design:type",String)],ma.prototype,"vBC",void 0);Hu([(0,qn.IsOptional)(),(0,qn.IsString)(),zu("design:type",String)],ma.prototype,"vISS",void 0);Hu([(0,qn.IsOptional)(),(0,qn.IsString)(),zu("design:type",String)],ma.prototype,"vPIS",void 0);Hu([(0,qn.IsOptional)(),(0,qn.IsString)(),zu("design:type",String)],ma.prototype,"vCOFINS",void 0);Hu([(0,qn.IsString)(),zu("design:type",String)],ma.prototype,"dCompet",void 0);Hu([(0,qn.IsOptional)(),(0,qn.IsString)(),zu("design:type",String)],ma.prototype,"vDeducao",void 0);Hu([(0,qn.IsOptional)(),(0,qn.IsString)(),zu("design:type",String)],ma.prototype,"vOutro",void 0);Hu([(0,qn.IsOptional)(),(0,qn.IsString)(),zu("design:type",String)],ma.prototype,"vDescIncond",void 0);Hu([(0,qn.IsOptional)(),(0,qn.IsString)(),zu("design:type",String)],ma.prototype,"vDescCond",void 0);Hu([(0,qn.IsOptional)(),(0,qn.IsString)(),zu("design:type",String)],ma.prototype,"vISSRet",void 0);Hu([(0,qn.IsOptional)(),(0,qn.IsString)(),zu("design:type",String)],ma.prototype,"cRegTrib",void 0);var Vm=require("class-validator");function zv(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(zv,"_ts_decorate");function Kv(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(Kv,"_ts_metadata");var Uc=class{static{o(this,"RetTrib")}vRetPIS;vRetCOFINS;vRetCSLL;vBCIRRF;vIRRF;vBCRetPrev;vRetPrev};zv([(0,Vm.IsOptional)(),ne({fixed:2}),Kv("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Uc.prototype,"vRetPIS",void 0);zv([(0,Vm.IsOptional)(),ne({fixed:2}),Kv("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Uc.prototype,"vRetCOFINS",void 0);zv([(0,Vm.IsOptional)(),ne({fixed:2}),Kv("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Uc.prototype,"vRetCSLL",void 0);zv([(0,Vm.IsOptional)(),ne({fixed:2}),Kv("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Uc.prototype,"vBCIRRF",void 0);zv([(0,Vm.IsOptional)(),ne({fixed:2}),Kv("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Uc.prototype,"vIRRF",void 0);zv([(0,Vm.IsOptional)(),ne({fixed:2}),Kv("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Uc.prototype,"vBCRetPrev",void 0);zv([(0,Vm.IsOptional)(),ne({fixed:2}),Kv("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Uc.prototype,"vRetPrev",void 0);var Jp=require("class-validator");var Xp=require("class-validator");function uU(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(uU,"_ts_decorate");function cU(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(cU,"_ts_metadata");var Gv=class{static{o(this,"IBSMunTot")}vDif="0.00";vDevTrib="0.00";vIBSMun="0.00"};uU([ne({fixed:2}),cU("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Gv.prototype,"vDif",void 0);uU([ne({fixed:2}),cU("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Gv.prototype,"vDevTrib",void 0);uU([ne({fixed:2}),cU("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Gv.prototype,"vIBSMun",void 0);var pU=require("class-transformer");function lU(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(lU,"_ts_decorate");function fU(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(fU,"_ts_metadata");var Xv=class{static{o(this,"IBSUFTot")}vDif="0.00";vDevTrib="0.00";vIBSUF="0.00"};lU([ne({fixed:2}),fU("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Xv.prototype,"vDif",void 0);lU([ne({fixed:2}),fU("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Xv.prototype,"vDevTrib",void 0);lU([ne({fixed:2}),fU("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Xv.prototype,"vIBSUF",void 0);function q2(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(q2,"_ts_decorate");function H2(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(H2,"_ts_metadata");var Gp=class{static{o(this,"IBSTot")}gIBSUF;gIBSMun;vIBS="0.00";vCredPres="0.00";vCredPresCondSus="0.00"};q2([(0,Xp.IsOptional)(),(0,Xp.ValidateNested)(),(0,pU.Type)(()=>Xv),H2("design:type",typeof IIBSUFTot>"u"?Object:IIBSUFTot)],Gp.prototype,"gIBSUF",void 0);q2([(0,Xp.IsOptional)(),(0,Xp.ValidateNested)(),(0,pU.Type)(()=>Gv),H2("design:type",typeof IIBSMunTot>"u"?Object:IIBSMunTot)],Gp.prototype,"gIBSMun",void 0);q2([(0,Xp.IsOptional)(),ne({fixed:2}),H2("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Gp.prototype,"vIBS",void 0);q2([(0,Xp.IsOptional)(),ne({fixed:2}),H2("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Gp.prototype,"vCredPres",void 0);q2([(0,Xp.IsOptional)(),ne({fixed:2}),H2("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Gp.prototype,"vCredPresCondSus",void 0);var A_=require("class-transformer");var vx=require("class-validator");function z2(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(z2,"_ts_decorate");function K2(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(K2,"_ts_metadata");var Wp=class{static{o(this,"CBSTot")}vDif="0.00";vDevTrib="0.00";vCBS="0.00";vCredPres="0.00";vCredPresCondSus="0.00"};z2([(0,vx.IsOptional)(),ne({fixed:2}),K2("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Wp.prototype,"vDif",void 0);z2([(0,vx.IsOptional)(),ne({fixed:2}),K2("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Wp.prototype,"vDevTrib",void 0);z2([(0,vx.IsOptional)(),ne({fixed:2}),K2("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Wp.prototype,"vCBS",void 0);z2([(0,vx.IsOptional)(),ne({fixed:2}),K2("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Wp.prototype,"vCredPres",void 0);z2([(0,vx.IsOptional)(),ne({fixed:2}),K2("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Wp.prototype,"vCredPresCondSus",void 0);var Wv=require("class-validator");function yx(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(yx,"_ts_decorate");function Sx(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(Sx,"_ts_metadata");var ff=class{static{o(this,"IBSMonoTot")}vIBSMono="0.00";vCBSMono="0.00";vIBSMonoReten="0.00";vCBSMonoReten="0.00";vIBSMonoRet="0.00";vCBSMonoRet="0.00"};yx([(0,Wv.IsOptional)(),ne({fixed:2}),Sx("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ff.prototype,"vIBSMono",void 0);yx([(0,Wv.IsOptional)(),ne({fixed:2}),Sx("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ff.prototype,"vCBSMono",void 0);yx([(0,Wv.IsOptional)(),ne({fixed:2}),Sx("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ff.prototype,"vIBSMonoReten",void 0);yx([(0,Wv.IsOptional)(),ne({fixed:2}),Sx("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ff.prototype,"vCBSMonoReten",void 0);yx([(0,Wv.IsOptional)(),ne({fixed:2}),Sx("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ff.prototype,"vIBSMonoRet",void 0);yx([(0,Wv.IsOptional)(),ne({fixed:2}),Sx("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ff.prototype,"vCBSMonoRet",void 0);function C_(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(C_,"_ts_decorate");function E_(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(E_,"_ts_metadata");var jm=class{static{o(this,"IBSCBSTot")}vBCIBSCBS="0.00";gIBS;gCBS;gMono};C_([(0,Jp.IsOptional)(),ne({fixed:2}),E_("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],jm.prototype,"vBCIBSCBS",void 0);C_([(0,Jp.IsOptional)(),(0,Jp.ValidateNested)(),(0,A_.Type)(()=>Gp),E_("design:type",typeof IIBSTot>"u"?Object:IIBSTot)],jm.prototype,"gIBS",void 0);C_([(0,Jp.IsOptional)(),(0,Jp.ValidateNested)(),(0,A_.Type)(()=>Wp),E_("design:type",typeof ICBSTot>"u"?Object:ICBSTot)],jm.prototype,"gCBS",void 0);C_([(0,Jp.IsOptional)(),(0,Jp.ValidateNested)(),(0,A_.Type)(()=>ff),E_("design:type",typeof IIBSMonoTot>"u"?Object:IIBSMonoTot)],jm.prototype,"gMono",void 0);function G2(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(G2,"_ts_decorate");function X2(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(X2,"_ts_metadata");var qc=class{static{o(this,"Total")}ICMSTot;ISSQNtot;retTrib;IBSCBSTot;vNFTot};G2([(0,pf.ValidateNested)(),(0,W2.Type)(()=>Gr),X2("design:type",typeof IICMSTot>"u"?Object:IICMSTot)],qc.prototype,"ICMSTot",void 0);G2([(0,pf.IsOptional)(),(0,pf.ValidateNested)(),(0,W2.Type)(()=>ma),X2("design:type",typeof IISSQNTot>"u"?Object:IISSQNTot)],qc.prototype,"ISSQNtot",void 0);G2([(0,pf.IsOptional)(),(0,pf.ValidateNested)(),(0,W2.Type)(()=>Uc),X2("design:type",typeof IRetTrib>"u"?Object:IRetTrib)],qc.prototype,"retTrib",void 0);G2([(0,pf.IsOptional)(),(0,pf.ValidateNested)(),(0,W2.Type)(()=>jm),X2("design:type",typeof IIBSCBSTot>"u"?Object:IIBSCBSTot)],qc.prototype,"IBSCBSTot",void 0);G2([(0,pf.IsOptional)(),ne({fixed:2}),X2("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],qc.prototype,"vNFTot",void 0);var Bi=require("class-validator"),Nx=require("class-transformer");var va=require("class-validator");function Mm(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(Mm,"_ts_decorate");function Jv(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(Jv,"_ts_metadata");var ga=class{static{o(this,"Transporta")}CNPJ;CPF;xNome;IE;xEnder;xMun;UF};Mm([(0,va.IsOptional)(),(0,va.IsString)(),Jv("design:type",String)],ga.prototype,"CNPJ",void 0);Mm([(0,va.IsOptional)(),(0,va.IsString)(),Jv("design:type",String)],ga.prototype,"CPF",void 0);Mm([(0,va.IsOptional)(),(0,va.IsString)(),Jv("design:type",String)],ga.prototype,"xNome",void 0);Mm([(0,va.IsOptional)(),(0,va.IsString)(),Jv("design:type",String)],ga.prototype,"IE",void 0);Mm([(0,va.IsOptional)(),(0,va.IsString)(),Jv("design:type",String)],ga.prototype,"xEnder",void 0);Mm([(0,va.IsOptional)(),(0,va.IsString)(),Jv("design:type",String)],ga.prototype,"xMun",void 0);Mm([(0,va.IsOptional)(),(0,va.IsString)(),Jv("design:type",String)],ga.prototype,"UF",void 0);ga=Mm([nn({properties:["CNPJ","CPF"]})],ga);var hf=require("class-validator");function bx(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(bx,"_ts_decorate");function xx(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(xx,"_ts_metadata");var $o=class{static{o(this,"RetTransp")}vServ;vBCRet;pICMSRet;vICMSRet;CFOP;cMunFG};bx([(0,hf.IsOptional)(),ne({fixed:2}),xx("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],$o.prototype,"vServ",void 0);bx([(0,hf.IsOptional)(),ne({fixed:2}),xx("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],$o.prototype,"vBCRet",void 0);bx([(0,hf.IsOptional)(),ne({fixed:4}),xx("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],$o.prototype,"pICMSRet",void 0);bx([(0,hf.IsOptional)(),ne({fixed:2}),xx("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],$o.prototype,"vICMSRet",void 0);bx([(0,hf.IsOptional)(),(0,hf.IsString)(),xx("design:type",String)],$o.prototype,"CFOP",void 0);bx([(0,hf.IsOptional)(),(0,hf.IsString)(),xx("design:type",String)],$o.prototype,"cMunFG",void 0);var So=require("class-validator");function wx(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(wx,"_ts_decorate");function Cx(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(Cx,"_ts_metadata");var df=class{static{o(this,"VeicTransp")}placa;UF;RNTC};wx([(0,So.IsOptional)(),(0,So.IsString)(),Cx("design:type",String)],df.prototype,"placa",void 0);wx([(0,So.IsOptional)(),(0,So.IsString)(),Cx("design:type",String)],df.prototype,"UF",void 0);wx([(0,So.IsOptional)(),(0,So.IsString)(),Cx("design:type",String)],df.prototype,"RNTC",void 0);var Yv=class{static{o(this,"Reboque")}placa;UF;RNTC};wx([(0,So.IsOptional)(),(0,So.IsString)(),Cx("design:type",String)],Yv.prototype,"placa",void 0);wx([(0,So.IsOptional)(),(0,So.IsString)(),Cx("design:type",String)],Yv.prototype,"UF",void 0);wx([(0,So.IsOptional)(),(0,So.IsString)(),Cx("design:type",String)],Yv.prototype,"RNTC",void 0);var Ku=require("class-validator");function Ex(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(Ex,"_ts_decorate");function Ax(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(Ax,"_ts_metadata");var mf=class{static{o(this,"Vol")}qVol;esp;marca;nVol;pesoL;pesoB};Ex([(0,Ku.IsOptional)(),(0,Ku.IsString)(),Ax("design:type",String)],mf.prototype,"qVol",void 0);Ex([(0,Ku.IsOptional)(),(0,Ku.IsString)(),Ax("design:type",String)],mf.prototype,"esp",void 0);Ex([(0,Ku.IsOptional)(),(0,Ku.IsString)(),Ax("design:type",String)],mf.prototype,"marca",void 0);Ex([(0,Ku.IsOptional)(),(0,Ku.IsString)(),Ax("design:type",String)],mf.prototype,"nVol",void 0);Ex([(0,Ku.IsOptional)(),ne({fixed:3}),Ax("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],mf.prototype,"pesoL",void 0);Ex([(0,Ku.IsOptional)(),ne({fixed:3}),Ax("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],mf.prototype,"pesoB",void 0);function Yp(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(Yp,"_ts_decorate");function Um(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(Um,"_ts_metadata");var ya=class{static{o(this,"Transp")}modFrete;transporta;retTransp;veicTransp;reboque;vagao;balsa;vol};Yp([(0,Bi.IsString)(),Um("design:type",String)],ya.prototype,"modFrete",void 0);Yp([(0,Bi.IsOptional)(),(0,Bi.ValidateNested)(),(0,Nx.Type)(()=>ga),Um("design:type",typeof ga>"u"?Object:ga)],ya.prototype,"transporta",void 0);Yp([(0,Bi.IsOptional)(),(0,Bi.ValidateNested)(),(0,Nx.Type)(()=>$o),Um("design:type",typeof $o>"u"?Object:$o)],ya.prototype,"retTransp",void 0);Yp([(0,Bi.IsOptional)(),(0,Bi.ValidateNested)(),(0,Nx.Type)(()=>df),Um("design:type",typeof df>"u"?Object:df)],ya.prototype,"veicTransp",void 0);Yp([(0,Bi.IsOptional)(),(0,Bi.ValidateNested)({each:!0}),(0,Nx.Type)(()=>Yv),(0,Bi.ArrayMaxSize)(5),Um("design:type",Array)],ya.prototype,"reboque",void 0);Yp([(0,Bi.IsOptional)(),(0,Bi.IsString)(),Um("design:type",String)],ya.prototype,"vagao",void 0);Yp([(0,Bi.IsOptional)(),(0,Bi.IsString)(),Um("design:type",String)],ya.prototype,"balsa",void 0);Yp([(0,Bi.IsOptional)(),(0,Bi.ValidateNested)({each:!0}),(0,Nx.Type)(()=>mf),(0,Bi.ArrayMaxSize)(5e3),Um("design:type",Array)],ya.prototype,"vol",void 0);ya=Yp([nn({properties:["veicTransp","reboque"]}),nn({properties:["vagao","balsa"]})],ya);var rs=require("class-validator"),hU=require("class-transformer");function $p(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o($p,"_ts_decorate");function Zp(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(Zp,"_ts_metadata");var Qp=class{static{o(this,"Fat")}nFat;vOrig;vDesc;vLiq};$p([(0,rs.IsOptional)(),(0,rs.IsString)(),Zp("design:type",String)],Qp.prototype,"nFat",void 0);$p([(0,rs.IsOptional)(),ne({fixed:2}),Zp("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Qp.prototype,"vOrig",void 0);$p([(0,rs.IsOptional)(),ne({fixed:2}),Zp("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Qp.prototype,"vDesc",void 0);$p([(0,rs.IsOptional)(),ne({fixed:2}),Zp("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Qp.prototype,"vLiq",void 0);var Ix=class{static{o(this,"Dup")}nDup;dVenc;vDup};$p([(0,rs.IsOptional)(),(0,rs.IsString)(),Zp("design:type",String)],Ix.prototype,"nDup",void 0);$p([(0,rs.IsOptional)(),(0,rs.IsString)(),Zp("design:type",String)],Ix.prototype,"dVenc",void 0);$p([(0,rs.IsOptional)(),ne({fixed:2}),Zp("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ix.prototype,"vDup",void 0);var qm=class{static{o(this,"Cobr")}fat;dup};$p([(0,rs.IsOptional)(),(0,rs.ValidateNested)(),(0,hU.Type)(()=>Qp),Zp("design:type",typeof Qp>"u"?Object:Qp)],qm.prototype,"fat",void 0);$p([(0,rs.IsOptional)(),(0,rs.ValidateNested)({each:!0}),(0,rs.ArrayMaxSize)(120),(0,hU.Type)(()=>Ix),Zp("design:type",Array)],qm.prototype,"dup",void 0);var zm=require("class-validator"),Uie=require("class-transformer");var gf=require("class-validator"),Vie=require("class-transformer");var bo=require("class-validator");function Tx(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(Tx,"_ts_decorate");function Rx(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(Rx,"_ts_metadata");var Zo=class{static{o(this,"Card")}tpIntegra;CNPJ;tBand;cAut;CNPJReceb;idTermPag};Tx([(0,bo.IsOptional)(),(0,bo.IsString)(),Rx("design:type",String)],Zo.prototype,"tpIntegra",void 0);Tx([(0,bo.IsOptional)(),(0,bo.IsString)(),Rx("design:type",String)],Zo.prototype,"CNPJ",void 0);Tx([(0,bo.IsOptional)(),(0,bo.IsString)(),Rx("design:type",String)],Zo.prototype,"tBand",void 0);Tx([(0,bo.IsOptional)(),(0,bo.IsString)(),Rx("design:type",String)],Zo.prototype,"cAut",void 0);Tx([(0,bo.IsOptional)(),(0,bo.IsString)(),Rx("design:type",String)],Zo.prototype,"CNPJReceb",void 0);Tx([(0,bo.IsOptional)(),(0,bo.IsString)(),Rx("design:type",String)],Zo.prototype,"idTermPag",void 0);function J2(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(J2,"_ts_decorate");function Y2(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(Y2,"_ts_metadata");var eh=class{static{o(this,"DetPag")}indPag;tPag;vPag;card;xPag};J2([(0,gf.IsOptional)(),(0,gf.IsString)(),Y2("design:type",String)],eh.prototype,"indPag",void 0);J2([(0,gf.IsString)(),Y2("design:type",typeof TPag>"u"?Object:TPag)],eh.prototype,"tPag",void 0);J2([ne({fixed:2}),Y2("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],eh.prototype,"vPag",void 0);J2([(0,gf.IsOptional)(),(0,gf.ValidateNested)(),(0,Vie.Type)(()=>Zo),Y2("design:type",typeof Zo>"u"?Object:Zo)],eh.prototype,"card",void 0);J2([(0,gf.IsOptional)(),(0,gf.IsString)(),Y2("design:type",String)],eh.prototype,"xPag",void 0);function jie(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(jie,"_ts_decorate");function Mie(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(Mie,"_ts_metadata");var Hm=class{static{o(this,"Pag")}detPag;vTroco};jie([(0,zm.ValidateNested)({each:!0}),(0,zm.ArrayMinSize)(1),(0,zm.ArrayMaxSize)(100),(0,Uie.Type)(()=>eh),Mie("design:type",Array)],Hm.prototype,"detPag",void 0);jie([(0,zm.IsOptional)(),ne({fixed:2}),Mie("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Hm.prototype,"vTroco",void 0);var hi=require("class-validator"),N_=require("class-transformer");function th(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(th,"_ts_decorate");function rh(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(rh,"_ts_metadata");var Dx=class{static{o(this,"InfAdicObs")}xCampo;xTexto};th([(0,hi.IsString)(),rh("design:type",String)],Dx.prototype,"xCampo",void 0);th([(0,hi.IsString)(),rh("design:type",String)],Dx.prototype,"xTexto",void 0);var Q2=class{static{o(this,"ProcRef")}nProc;indProc};th([(0,hi.IsOptional)(),(0,hi.IsString)(),rh("design:type",String)],Q2.prototype,"nProc",void 0);th([(0,hi.IsOptional)(),(0,hi.IsString)(),rh("design:type",String)],Q2.prototype,"indProc",void 0);var Hc=class{static{o(this,"InfAdic")}infAdFisco;infCpl;obsCont;obsFisco;procRef};th([(0,hi.IsOptional)(),(0,hi.IsString)(),rh("design:type",String)],Hc.prototype,"infAdFisco",void 0);th([(0,hi.IsOptional)(),(0,hi.IsString)(),rh("design:type",String)],Hc.prototype,"infCpl",void 0);th([(0,hi.IsOptional)(),(0,hi.ValidateNested)({each:!0}),(0,N_.Type)(()=>Dx),(0,hi.ArrayMaxSize)(10),rh("design:type",Array)],Hc.prototype,"obsCont",void 0);th([(0,hi.IsOptional)(),(0,hi.ValidateNested)({each:!0}),(0,N_.Type)(()=>Dx),(0,hi.ArrayMaxSize)(10),rh("design:type",Array)],Hc.prototype,"obsFisco",void 0);th([(0,hi.IsOptional)(),(0,hi.ValidateNested)({each:!0}),(0,N_.Type)(()=>Q2),(0,hi.ArrayMaxSize)(100),rh("design:type",Array)],Hc.prototype,"procRef",void 0);var wn=require("class-validator"),T_=require("class-transformer");function ka(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(ka,"_ts_decorate");function Va(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(Va,"_ts_metadata");var I_=class{static{o(this,"ForDiaAttributes")}dia};ka([(0,wn.IsString)(),Va("design:type",String)],I_.prototype,"dia",void 0);var $2=class{static{o(this,"ForDia")}$;qtde};ka([(0,wn.IsObject)(),(0,wn.IsNotEmptyObject)(),(0,T_.Type)(()=>I_),Va("design:type",typeof IForDiaAttributes>"u"?Object:IForDiaAttributes)],$2.prototype,"$",void 0);ka([(0,wn.IsString)(),Va("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],$2.prototype,"qtde",void 0);var Z2=class{static{o(this,"Deduc")}xDed;vDed};ka([(0,wn.IsString)(),Va("design:type",String)],Z2.prototype,"xDed",void 0);ka([ne({fixed:2}),Va("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Z2.prototype,"vDed",void 0);var Sa=class{static{o(this,"Cana")}safra;ref;forDia;qTotMes;qTotAnt;qTotGer;deduc;vFor;vTotDed;vLiqFor};ka([(0,wn.IsString)(),Va("design:type",String)],Sa.prototype,"safra",void 0);ka([(0,wn.IsString)(),Va("design:type",String)],Sa.prototype,"ref",void 0);ka([(0,wn.ValidateNested)({each:!0}),(0,wn.ArrayMaxSize)(31),(0,T_.Type)(()=>$2),Va("design:type",Array)],Sa.prototype,"forDia",void 0);ka([(0,wn.IsOptional)(),(0,wn.IsString)(),Va("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Sa.prototype,"qTotMes",void 0);ka([(0,wn.IsOptional)(),(0,wn.IsString)(),Va("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Sa.prototype,"qTotAnt",void 0);ka([(0,wn.IsOptional)(),(0,wn.IsString)(),Va("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Sa.prototype,"qTotGer",void 0);ka([(0,wn.IsOptional)(),(0,wn.ValidateNested)({each:!0}),(0,wn.ArrayMaxSize)(10),(0,T_.Type)(()=>Z2),Va("design:type",Array)],Sa.prototype,"deduc",void 0);ka([(0,wn.IsOptional)(),ne({fixed:2}),Va("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Sa.prototype,"vFor",void 0);ka([(0,wn.IsOptional)(),ne({fixed:2}),Va("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Sa.prototype,"vTotDed",void 0);ka([(0,wn.IsOptional)(),ne({fixed:2}),Va("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Sa.prototype,"vLiqFor",void 0);var Qs=require("class-validator"),Xx=require("class-transformer");var ut=require("class-validator");var vf=require("class-transformer");var zc=require("class-validator");function eI(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(eI,"_ts_decorate");function tI(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(tI,"_ts_metadata");var nh=class{static{o(this,"Rastro")}nLote;qLote;dFab;dVal;cAgreg};eI([(0,zc.IsString)(),tI("design:type",String)],nh.prototype,"nLote",void 0);eI([(0,zc.IsOptional)(),(0,zc.IsString)(),tI("design:type",String)],nh.prototype,"qLote",void 0);eI([(0,zc.IsOptional)(),(0,zc.IsString)(),tI("design:type",String)],nh.prototype,"dFab",void 0);eI([(0,zc.IsOptional)(),(0,zc.IsString)(),tI("design:type",String)],nh.prototype,"dVal",void 0);eI([(0,zc.IsOptional)(),(0,zc.IsString)(),tI("design:type",String)],nh.prototype,"cAgreg",void 0);var pn=require("class-validator"),qie=require("class-transformer");function Es(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(Es,"_ts_decorate");function Js(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(Js,"_ts_metadata");var Km=class{static{o(this,"Adi")}nAdicao;nSeqAdic;cFabricante;vDescDI;nDraw};Es([(0,pn.IsString)(),Js("design:type",String)],Km.prototype,"nAdicao",void 0);Es([(0,pn.IsString)(),Js("design:type",String)],Km.prototype,"nSeqAdic",void 0);Es([(0,pn.IsString)(),Js("design:type",String)],Km.prototype,"cFabricante",void 0);Es([ne({fixed:2}),Js("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Km.prototype,"vDescDI",void 0);Es([(0,pn.IsOptional)(),(0,pn.IsString)(),Js("design:type",String)],Km.prototype,"nDraw",void 0);var Cs=class{static{o(this,"DI")}nDI;dDI;xLocDesemb;UFDesemb;dDesemb;tpViaTransp;vAFRMM;tpIntermedio;CNPJ="";CPF="";UFTerceiro;adi};Es([(0,pn.IsString)(),Js("design:type",String)],Cs.prototype,"nDI",void 0);Es([(0,pn.IsString)(),Js("design:type",String)],Cs.prototype,"dDI",void 0);Es([(0,pn.IsString)(),Js("design:type",String)],Cs.prototype,"xLocDesemb",void 0);Es([(0,pn.IsString)(),Js("design:type",String)],Cs.prototype,"UFDesemb",void 0);Es([(0,pn.IsString)(),Js("design:type",String)],Cs.prototype,"dDesemb",void 0);Es([(0,pn.IsString)(),Js("design:type",String)],Cs.prototype,"tpViaTransp",void 0);Es([(0,pn.IsOptional)(),ne({fixed:2}),Js("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Cs.prototype,"vAFRMM",void 0);Es([(0,pn.IsString)(),Js("design:type",String)],Cs.prototype,"tpIntermedio",void 0);Es([(0,pn.IsString)(),(0,pn.IsOptional)(),Js("design:type",String)],Cs.prototype,"CNPJ",void 0);Es([(0,pn.IsString)(),(0,pn.IsOptional)(),Js("design:type",String)],Cs.prototype,"CPF",void 0);Es([(0,pn.IsString)(),(0,pn.IsOptional)(),Js("design:type",String)],Cs.prototype,"UFTerceiro",void 0);Es([(0,pn.IsArray)(),(0,pn.ValidateNested)({each:!0}),(0,qie.Type)(()=>Km),(0,pn.ArrayMaxSize)(999),(0,pn.ArrayMinSize)(1),Js("design:type",Array)],Cs.prototype,"adi",void 0);Cs=Es([nn({properties:["CNPJ","CPF"],required:!0})],Cs);var Hie=require("class-transformer"),ih=require("class-validator");function rI(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(rI,"_ts_decorate");function nI(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(nI,"_ts_metadata");var Ox=class{static{o(this,"ExportInd")}nRE;chNFe;qExport};rI([(0,ih.IsString)(),nI("design:type",String)],Ox.prototype,"nRE",void 0);rI([(0,ih.IsString)(),nI("design:type",String)],Ox.prototype,"chNFe",void 0);rI([ne({fixed:4}),nI("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ox.prototype,"qExport",void 0);var Bx=class{static{o(this,"DetExport")}nDraw;exportInd};rI([(0,ih.IsOptional)(),(0,ih.IsString)(),nI("design:type",String)],Bx.prototype,"nDraw",void 0);rI([(0,ih.IsOptional)(),(0,ih.ValidateNested)(),(0,Hie.Type)(()=>Ox),nI("design:type",typeof IExportInd>"u"?Object:IExportInd)],Bx.prototype,"exportInd",void 0);var dU=require("class-validator");function zie(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(zie,"_ts_decorate");function Kie(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(Kie,"_ts_metadata");var Px=class{static{o(this,"InfProdNFF")}cProdFisco;cOperNFF};zie([(0,dU.IsString)(),Kie("design:type",String)],Px.prototype,"cProdFisco",void 0);zie([(0,dU.IsString)(),Kie("design:type",String)],Px.prototype,"cOperNFF",void 0);var vU=require("class-validator");function mU(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(mU,"_ts_decorate");function gU(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(gU,"_ts_metadata");var Qv=class{static{o(this,"InfProdEmb")}xEmb;qVolEmb;uEmb};mU([(0,vU.IsString)(),gU("design:type",String)],Qv.prototype,"xEmb",void 0);mU([ne({fixed:3}),gU("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Qv.prototype,"qVolEmb",void 0);mU([(0,vU.IsString)(),gU("design:type",String)],Qv.prototype,"uEmb",void 0);var Hn=require("class-validator");function Yn(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(Yn,"_ts_decorate");function Qn(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(Qn,"_ts_metadata");var gn=class{static{o(this,"VeicProd")}tpOp;chassi;cCor;xCor;pot;cilin;pesoL;pesoB;nSerie;tpComb;nMotor;CMT;dist;anoMod;anoFab;tpPint;tpVeic;espVeic;VIN;condVeic;cMod;cCorDENATRAN;lota;tpRest};Yn([(0,Hn.IsString)(),Qn("design:type",String)],gn.prototype,"tpOp",void 0);Yn([(0,Hn.IsString)(),Qn("design:type",String)],gn.prototype,"chassi",void 0);Yn([(0,Hn.IsString)(),Qn("design:type",String)],gn.prototype,"cCor",void 0);Yn([(0,Hn.IsString)(),Qn("design:type",String)],gn.prototype,"xCor",void 0);Yn([(0,Hn.IsString)(),Qn("design:type",String)],gn.prototype,"pot",void 0);Yn([(0,Hn.IsString)(),Qn("design:type",String)],gn.prototype,"cilin",void 0);Yn([(0,Hn.IsString)(),Qn("design:type",String)],gn.prototype,"pesoL",void 0);Yn([(0,Hn.IsString)(),Qn("design:type",String)],gn.prototype,"pesoB",void 0);Yn([(0,Hn.IsString)(),Qn("design:type",String)],gn.prototype,"nSerie",void 0);Yn([(0,Hn.IsString)(),Qn("design:type",String)],gn.prototype,"tpComb",void 0);Yn([(0,Hn.IsString)(),Qn("design:type",String)],gn.prototype,"nMotor",void 0);Yn([(0,Hn.IsString)(),Qn("design:type",String)],gn.prototype,"CMT",void 0);Yn([(0,Hn.IsString)(),Qn("design:type",String)],gn.prototype,"dist",void 0);Yn([(0,Hn.IsString)(),Qn("design:type",String)],gn.prototype,"anoMod",void 0);Yn([(0,Hn.IsString)(),Qn("design:type",String)],gn.prototype,"anoFab",void 0);Yn([(0,Hn.IsString)(),Qn("design:type",String)],gn.prototype,"tpPint",void 0);Yn([(0,Hn.IsString)(),Qn("design:type",String)],gn.prototype,"tpVeic",void 0);Yn([(0,Hn.IsString)(),Qn("design:type",String)],gn.prototype,"espVeic",void 0);Yn([(0,Hn.IsString)(),Qn("design:type",String)],gn.prototype,"VIN",void 0);Yn([(0,Hn.IsString)(),Qn("design:type",String)],gn.prototype,"condVeic",void 0);Yn([(0,Hn.IsString)(),Qn("design:type",String)],gn.prototype,"cMod",void 0);Yn([(0,Hn.IsString)(),Qn("design:type",String)],gn.prototype,"cCorDENATRAN",void 0);Yn([(0,Hn.IsString)(),Qn("design:type",String)],gn.prototype,"lota",void 0);Yn([(0,Hn.IsString)(),Qn("design:type",String)],gn.prototype,"tpRest",void 0);var bU=require("class-validator");function yU(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(yU,"_ts_decorate");function SU(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(SU,"_ts_metadata");var $v=class{static{o(this,"Med")}cProdANVISA;xMotivoIsencao;vPMC};yU([(0,bU.IsString)(),SU("design:type",String)],$v.prototype,"cProdANVISA",void 0);yU([(0,bU.IsString)(),SU("design:type",String)],$v.prototype,"xMotivoIsencao",void 0);yU([ne({fixed:2}),SU("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],$v.prototype,"vPMC",void 0);var iI=require("class-validator");function R_(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(R_,"_ts_decorate");function D_(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(D_,"_ts_metadata");var Gm=class{static{o(this,"Arma")}tpArma;nSerie;nCano;descr};R_([(0,iI.IsString)(),D_("design:type",String)],Gm.prototype,"tpArma",void 0);R_([(0,iI.IsString)(),D_("design:type",String)],Gm.prototype,"nSerie",void 0);R_([(0,iI.IsString)(),D_("design:type",String)],Gm.prototype,"nCano",void 0);R_([(0,iI.IsString)(),D_("design:type",String)],Gm.prototype,"descr",void 0);var jr=require("class-validator"),O_=require("class-transformer");function $n(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o($n,"_ts_decorate");function Zn(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(Zn,"_ts_metadata");var _x=class{static{o(this,"OrigComb")}indImport;cUFOrig;pOrig};$n([(0,jr.IsString)(),Zn("design:type",String)],_x.prototype,"indImport",void 0);$n([(0,jr.IsString)(),Zn("design:type",String)],_x.prototype,"cUFOrig",void 0);$n([ne({fixed:4}),(0,jr.Max)(100),Zn("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],_x.prototype,"pOrig",void 0);var Lx=class{static{o(this,"CIDE")}qBCProd;vAliqProd;vCIDE};$n([ne({fixed:4}),Zn("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Lx.prototype,"qBCProd",void 0);$n([ne({fixed:4}),Zn("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Lx.prototype,"vAliqProd",void 0);$n([ne({fixed:2}),Zn("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Lx.prototype,"vCIDE",void 0);var Xm=class{static{o(this,"Encerrante")}nBico;nBomba;nTanque;vEncIni;vEncFin};$n([(0,jr.IsString)(),Zn("design:type",String)],Xm.prototype,"nBico",void 0);$n([(0,jr.IsString)(),Zn("design:type",String)],Xm.prototype,"nBomba",void 0);$n([(0,jr.IsString)(),Zn("design:type",String)],Xm.prototype,"nTanque",void 0);$n([ne({fixed:3}),Zn("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Xm.prototype,"vEncIni",void 0);$n([ne({fixed:3}),Zn("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Xm.prototype,"vEncFin",void 0);var Ys=class{static{o(this,"Comb")}cProdANP;descANP;pGLP;pGNn;pGNi;vPart;CODIF;qTemp;UFCons;CIDE;encerrante;pBio;origComb};$n([(0,jr.IsString)(),Zn("design:type",String)],Ys.prototype,"cProdANP",void 0);$n([(0,jr.IsString)(),Zn("design:type",String)],Ys.prototype,"descANP",void 0);$n([(0,jr.IsOptional)(),(0,jr.Max)(100),ne({fixed:4}),Zn("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ys.prototype,"pGLP",void 0);$n([(0,jr.IsOptional)(),(0,jr.Max)(100),ne({fixed:4}),Zn("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ys.prototype,"pGNn",void 0);$n([(0,jr.IsOptional)(),(0,jr.Max)(100),ne({fixed:4}),Zn("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ys.prototype,"pGNi",void 0);$n([(0,jr.IsOptional)(),ne({fixed:2}),Zn("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ys.prototype,"vPart",void 0);$n([(0,jr.IsString)(),(0,jr.IsOptional)(),Zn("design:type",String)],Ys.prototype,"CODIF",void 0);$n([(0,jr.IsOptional)(),ne({fixed:4}),Zn("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ys.prototype,"qTemp",void 0);$n([(0,jr.IsString)(),Zn("design:type",String)],Ys.prototype,"UFCons",void 0);$n([(0,jr.IsObject)(),(0,jr.ValidateNested)(),(0,O_.Type)(()=>Lx),Zn("design:type",typeof ICIDE>"u"?Object:ICIDE)],Ys.prototype,"CIDE",void 0);$n([(0,jr.IsObject)(),(0,jr.ValidateNested)(),(0,O_.Type)(()=>Xm),Zn("design:type",typeof IEncerrante>"u"?Object:IEncerrante)],Ys.prototype,"encerrante",void 0);$n([(0,jr.IsOptional)(),ne({fixed:4}),Zn("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ys.prototype,"pBio",void 0);$n([(0,jr.IsObject)(),(0,jr.ValidateNested)({each:!0}),(0,O_.Type)(()=>_x),(0,jr.ArrayMaxSize)(30),(0,jr.IsOptional)(),Zn("design:type",Array)],Ys.prototype,"origComb",void 0);function Sr(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(Sr,"_ts_decorate");function xr(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(xr,"_ts_metadata");var Xt=class{static{o(this,"Prod")}cProd;cEAN;cBarra;xProd;NCM;NVE;CEST;indEscala;CNPJFab;cBenef;gCred;EXTIPI;CFOP;uCom;qCom;vUnCom;vProd;cEANTrib;uTrib;qTrib;vUnTrib;vFrete;vSeg;vDesc;vOutro;indTot;DI;detExport;xPed;nItemPed;nFCI;rastro;infProdNFF;infProdEmb;veicProd;med;arma;comb;nRECOPI};Sr([(0,ut.IsString)(),xr("design:type",String)],Xt.prototype,"cProd",void 0);Sr([(0,ut.IsString)(),xr("design:type",String)],Xt.prototype,"cEAN",void 0);Sr([(0,ut.IsOptional)(),(0,ut.IsString)(),xr("design:type",String)],Xt.prototype,"cBarra",void 0);Sr([(0,ut.IsString)(),xr("design:type",String)],Xt.prototype,"xProd",void 0);Sr([(0,ut.IsString)(),xr("design:type",String)],Xt.prototype,"NCM",void 0);Sr([(0,ut.IsOptional)(),(0,ut.IsArray)(),(0,ut.ArrayMaxSize)(8),(0,ut.IsString)({each:!0}),xr("design:type",Array)],Xt.prototype,"NVE",void 0);Sr([(0,ut.IsOptional)(),(0,ut.IsString)(),xr("design:type",String)],Xt.prototype,"CEST",void 0);Sr([(0,ut.IsOptional)(),(0,ut.IsString)(),xr("design:type",String)],Xt.prototype,"indEscala",void 0);Sr([(0,ut.IsOptional)(),(0,ut.IsString)(),xr("design:type",String)],Xt.prototype,"CNPJFab",void 0);Sr([(0,ut.IsOptional)(),(0,ut.IsString)(),xr("design:type",String)],Xt.prototype,"cBenef",void 0);Sr([(0,ut.IsOptional)(),(0,ut.IsObject)(),xr("design:type",Object)],Xt.prototype,"gCred",void 0);Sr([(0,ut.IsOptional)(),(0,ut.IsString)(),xr("design:type",String)],Xt.prototype,"EXTIPI",void 0);Sr([(0,ut.IsString)(),xr("design:type",String)],Xt.prototype,"CFOP",void 0);Sr([(0,ut.IsString)(),xr("design:type",String)],Xt.prototype,"uCom",void 0);Sr([ne({fixed:4}),xr("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Xt.prototype,"qCom",void 0);Sr([ne({fixed:10}),xr("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Xt.prototype,"vUnCom",void 0);Sr([ne({fixed:2}),xr("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Xt.prototype,"vProd",void 0);Sr([(0,ut.IsString)(),xr("design:type",String)],Xt.prototype,"cEANTrib",void 0);Sr([(0,ut.IsString)(),xr("design:type",String)],Xt.prototype,"uTrib",void 0);Sr([ne({fixed:4}),xr("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Xt.prototype,"qTrib",void 0);Sr([ne({fixed:10}),xr("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Xt.prototype,"vUnTrib",void 0);Sr([(0,ut.IsOptional)(),ne({fixed:2}),xr("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Xt.prototype,"vFrete",void 0);Sr([(0,ut.IsOptional)(),ne({fixed:2}),xr("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Xt.prototype,"vSeg",void 0);Sr([(0,ut.IsOptional)(),ne({fixed:2}),xr("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Xt.prototype,"vDesc",void 0);Sr([(0,ut.IsOptional)(),ne({fixed:2}),xr("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Xt.prototype,"vOutro",void 0);Sr([(0,ut.IsString)(),xr("design:type",String)],Xt.prototype,"indTot",void 0);Sr([(0,ut.IsOptional)(),(0,ut.IsArray)(),(0,ut.ValidateNested)({each:!0}),(0,ut.ArrayMaxSize)(100),(0,vf.Type)(()=>Cs),xr("design:type",Array)],Xt.prototype,"DI",void 0);Sr([(0,ut.IsOptional)(),(0,ut.IsArray)(),(0,ut.ValidateNested)({each:!0}),(0,ut.ArrayMaxSize)(500),(0,vf.Type)(()=>Bx),xr("design:type",Array)],Xt.prototype,"detExport",void 0);Sr([(0,ut.IsOptional)(),(0,ut.IsString)(),xr("design:type",String)],Xt.prototype,"xPed",void 0);Sr([(0,ut.IsOptional)(),(0,ut.IsString)(),xr("design:type",String)],Xt.prototype,"nItemPed",void 0);Sr([(0,ut.IsOptional)(),(0,ut.IsString)(),xr("design:type",String)],Xt.prototype,"nFCI",void 0);Sr([(0,ut.IsOptional)(),(0,ut.IsArray)(),(0,ut.ValidateNested)({each:!0}),(0,ut.ArrayMaxSize)(500),(0,vf.Type)(()=>nh),xr("design:type",Array)],Xt.prototype,"rastro",void 0);Sr([(0,ut.IsOptional)(),(0,ut.IsObject)(),(0,ut.ValidateNested)(),(0,vf.Type)(()=>Px),xr("design:type",typeof IInfProdNFF>"u"?Object:IInfProdNFF)],Xt.prototype,"infProdNFF",void 0);Sr([(0,ut.IsOptional)(),(0,ut.IsObject)(),(0,ut.ValidateNested)(),(0,vf.Type)(()=>Qv),xr("design:type",typeof IInfProdEmb>"u"?Object:IInfProdEmb)],Xt.prototype,"infProdEmb",void 0);Sr([(0,ut.IsOptional)(),(0,ut.IsObject)(),(0,ut.ValidateNested)(),(0,vf.Type)(()=>gn),xr("design:type",typeof IVeicProd>"u"?Object:IVeicProd)],Xt.prototype,"veicProd",void 0);Sr([(0,ut.IsOptional)(),(0,ut.IsObject)(),(0,ut.ValidateNested)(),(0,vf.Type)(()=>$v),xr("design:type",typeof IMed>"u"?Object:IMed)],Xt.prototype,"med",void 0);Sr([(0,ut.IsOptional)(),(0,ut.IsObject)(),(0,ut.ValidateNested)({each:!0}),(0,vf.Type)(()=>Gm),(0,ut.ArrayMaxSize)(500),xr("design:type",Array)],Xt.prototype,"arma",void 0);Sr([(0,ut.IsOptional)(),(0,ut.IsObject)(),(0,ut.ValidateNested)(),(0,vf.Type)(()=>Ys),xr("design:type",typeof IComb>"u"?Object:IComb)],Xt.prototype,"comb",void 0);Sr([(0,ut.IsOptional)(),(0,ut.IsString)(),xr("design:type",String)],Xt.prototype,"nRECOPI",void 0);Xt=Sr([nn({properties:["veicProd","med","arma","comb"]})],Xt);var $u=require("class-transformer"),En=require("class-validator");var fe=require("class-validator"),Ns=require("class-transformer");function Ee(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(Ee,"_ts_decorate");function Ne(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(Ne,"_ts_metadata");var sh=class{static{o(this,"ICMS00")}orig;CST;modBC;vBC;pICMS;vICMS};Ee([(0,fe.IsString)(),Ne("design:type",String)],sh.prototype,"orig",void 0);Ee([(0,fe.IsString)(),Ne("design:type",String)],sh.prototype,"CST",void 0);Ee([(0,fe.IsOptional)(),(0,fe.IsString)(),Ne("design:type",String)],sh.prototype,"modBC",void 0);Ee([(0,fe.IsOptional)(),ne({fixed:2}),Ne("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],sh.prototype,"vBC",void 0);Ee([(0,fe.IsOptional)(),ne({fixed:4}),Ne("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],sh.prototype,"pICMS",void 0);Ee([(0,fe.IsOptional)(),ne({fixed:2}),Ne("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],sh.prototype,"vICMS",void 0);var eu=class{static{o(this,"ICMS10")}orig;CST;modBC;vBC;pICMS;vICMS;modBCST;vBCST;pICMSST;vICMSST};Ee([(0,fe.IsString)(),Ne("design:type",String)],eu.prototype,"orig",void 0);Ee([(0,fe.IsString)(),Ne("design:type",String)],eu.prototype,"CST",void 0);Ee([(0,fe.IsOptional)(),(0,fe.IsString)(),Ne("design:type",String)],eu.prototype,"modBC",void 0);Ee([(0,fe.IsOptional)(),ne({fixed:2}),Ne("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],eu.prototype,"vBC",void 0);Ee([(0,fe.IsOptional)(),ne({fixed:4}),Ne("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],eu.prototype,"pICMS",void 0);Ee([(0,fe.IsOptional)(),ne({fixed:2}),Ne("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],eu.prototype,"vICMS",void 0);Ee([(0,fe.IsOptional)(),(0,fe.IsString)(),Ne("design:type",String)],eu.prototype,"modBCST",void 0);Ee([(0,fe.IsOptional)(),ne({fixed:2}),Ne("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],eu.prototype,"vBCST",void 0);Ee([(0,fe.IsOptional)(),ne({fixed:4}),Ne("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],eu.prototype,"pICMSST",void 0);Ee([(0,fe.IsOptional)(),ne({fixed:2}),Ne("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],eu.prototype,"vICMSST",void 0);var yf=class{static{o(this,"ICMS20")}orig;CST;modBC;pRedBC;vBC;pICMS;vICMS};Ee([(0,fe.IsString)(),Ne("design:type",String)],yf.prototype,"orig",void 0);Ee([(0,fe.IsString)(),Ne("design:type",String)],yf.prototype,"CST",void 0);Ee([(0,fe.IsOptional)(),(0,fe.IsString)(),Ne("design:type",String)],yf.prototype,"modBC",void 0);Ee([(0,fe.IsOptional)(),(0,fe.IsString)(),Ne("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],yf.prototype,"pRedBC",void 0);Ee([(0,fe.IsOptional)(),ne({fixed:2}),Ne("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],yf.prototype,"vBC",void 0);Ee([(0,fe.IsOptional)(),ne({fixed:4}),Ne("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],yf.prototype,"pICMS",void 0);Ee([(0,fe.IsOptional)(),ne({fixed:2}),Ne("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],yf.prototype,"vICMS",void 0);var ah=class{static{o(this,"ICMS30")}orig;CST;modBCST;vBCST;pICMSST;vICMSST};Ee([(0,fe.IsString)(),Ne("design:type",String)],ah.prototype,"orig",void 0);Ee([(0,fe.IsString)(),Ne("design:type",String)],ah.prototype,"CST",void 0);Ee([(0,fe.IsOptional)(),(0,fe.IsString)(),Ne("design:type",String)],ah.prototype,"modBCST",void 0);Ee([(0,fe.IsOptional)(),ne({fixed:2}),Ne("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ah.prototype,"vBCST",void 0);Ee([(0,fe.IsOptional)(),ne({fixed:4}),Ne("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ah.prototype,"pICMSST",void 0);Ee([(0,fe.IsOptional)(),ne({fixed:2}),Ne("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ah.prototype,"vICMSST",void 0);var Zv=class{static{o(this,"ICMS40")}orig;CST;vICMSDeson;motDesICMS};Ee([(0,fe.IsString)(),Ne("design:type",String)],Zv.prototype,"orig",void 0);Ee([(0,fe.IsString)(),Ne("design:type",String)],Zv.prototype,"CST",void 0);Ee([(0,fe.IsOptional)(),ne({fixed:2}),Ne("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Zv.prototype,"vICMSDeson",void 0);Ee([(0,fe.IsOptional)(),(0,fe.IsString)(),Ne("design:type",String)],Zv.prototype,"motDesICMS",void 0);var Gu=class{static{o(this,"ICMS51")}orig;CST;modBC;pRedBC;vBC;pICMS;vICMS;pDif;vICMSDif};Ee([(0,fe.IsString)(),Ne("design:type",String)],Gu.prototype,"orig",void 0);Ee([(0,fe.IsString)(),Ne("design:type",String)],Gu.prototype,"CST",void 0);Ee([(0,fe.IsOptional)(),(0,fe.IsString)(),Ne("design:type",String)],Gu.prototype,"modBC",void 0);Ee([(0,fe.IsOptional)(),ne({fixed:4}),Ne("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Gu.prototype,"pRedBC",void 0);Ee([(0,fe.IsOptional)(),ne({fixed:2}),Ne("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Gu.prototype,"vBC",void 0);Ee([(0,fe.IsOptional)(),ne({fixed:4}),Ne("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Gu.prototype,"pICMS",void 0);Ee([(0,fe.IsOptional)(),ne({fixed:2}),Ne("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Gu.prototype,"vICMS",void 0);Ee([(0,fe.IsOptional)(),ne({fixed:4}),(0,fe.Max)(100),Ne("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Gu.prototype,"pDif",void 0);Ee([(0,fe.IsOptional)(),ne({fixed:2}),Ne("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Gu.prototype,"vICMSDif",void 0);var oh=class{static{o(this,"ICMS60")}orig;CST;vBCSTRet;pST;vICMSSubstituto;vICMSSTRet};Ee([(0,fe.IsString)(),Ne("design:type",String)],oh.prototype,"orig",void 0);Ee([(0,fe.IsString)(),Ne("design:type",String)],oh.prototype,"CST",void 0);Ee([(0,fe.IsOptional)(),ne({fixed:2}),Ne("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],oh.prototype,"vBCSTRet",void 0);Ee([(0,fe.IsOptional)(),ne({fixed:4}),Ne("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],oh.prototype,"pST",void 0);Ee([(0,fe.IsOptional)(),ne({fixed:2}),Ne("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],oh.prototype,"vICMSSubstituto",void 0);Ee([(0,fe.IsOptional)(),ne({fixed:2}),Ne("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],oh.prototype,"vICMSSTRet",void 0);var xo=class{static{o(this,"ICMS70")}orig;CST;modBC;pRedBC;vBC;pICMS;vICMS;modBCST;vBCST;pICMSST;vICMSST};Ee([(0,fe.IsString)(),Ne("design:type",String)],xo.prototype,"orig",void 0);Ee([(0,fe.IsString)(),Ne("design:type",String)],xo.prototype,"CST",void 0);Ee([(0,fe.IsOptional)(),(0,fe.IsString)(),Ne("design:type",String)],xo.prototype,"modBC",void 0);Ee([(0,fe.IsOptional)(),ne({fixed:4}),Ne("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],xo.prototype,"pRedBC",void 0);Ee([(0,fe.IsOptional)(),ne({fixed:2}),Ne("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],xo.prototype,"vBC",void 0);Ee([(0,fe.IsOptional)(),ne({fixed:4}),Ne("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],xo.prototype,"pICMS",void 0);Ee([(0,fe.IsOptional)(),ne({fixed:2}),Ne("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],xo.prototype,"vICMS",void 0);Ee([(0,fe.IsOptional)(),(0,fe.IsString)(),Ne("design:type",String)],xo.prototype,"modBCST",void 0);Ee([(0,fe.IsOptional)(),ne({fixed:2}),Ne("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],xo.prototype,"vBCST",void 0);Ee([(0,fe.IsOptional)(),ne({fixed:4}),Ne("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],xo.prototype,"pICMSST",void 0);Ee([(0,fe.IsOptional)(),ne({fixed:2}),Ne("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],xo.prototype,"vICMSST",void 0);var wo=class{static{o(this,"ICMS90")}orig;CST;modBC;pRedBC;vBC;pICMS;vICMS;modBCST;vBCST;pICMSST;vICMSST};Ee([(0,fe.IsString)(),Ne("design:type",String)],wo.prototype,"orig",void 0);Ee([(0,fe.IsString)(),Ne("design:type",String)],wo.prototype,"CST",void 0);Ee([(0,fe.IsOptional)(),(0,fe.IsString)(),Ne("design:type",String)],wo.prototype,"modBC",void 0);Ee([(0,fe.IsOptional)(),ne({fixed:4}),Ne("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],wo.prototype,"pRedBC",void 0);Ee([(0,fe.IsOptional)(),ne({fixed:2}),Ne("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],wo.prototype,"vBC",void 0);Ee([(0,fe.IsOptional)(),ne({fixed:4}),Ne("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],wo.prototype,"pICMS",void 0);Ee([(0,fe.IsOptional)(),ne({fixed:2}),Ne("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],wo.prototype,"vICMS",void 0);Ee([(0,fe.IsOptional)(),(0,fe.IsString)(),Ne("design:type",String)],wo.prototype,"modBCST",void 0);Ee([(0,fe.IsOptional)(),ne({fixed:2}),Ne("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],wo.prototype,"vBCST",void 0);Ee([(0,fe.IsOptional)(),ne({fixed:4}),Ne("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],wo.prototype,"pICMSST",void 0);Ee([(0,fe.IsOptional)(),ne({fixed:2}),Ne("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],wo.prototype,"vICMSST",void 0);var As=class{static{o(this,"ICMSPart")}orig;CST;modBC;vBC;pRedBC;pICMS;vICMS;modBCST;pMVAST;pRedBCST;vBCST;pICMSST;vICMSST;pBCOp;UFST};Ee([(0,fe.IsString)(),Ne("design:type",String)],As.prototype,"orig",void 0);Ee([(0,fe.IsString)(),Ne("design:type",String)],As.prototype,"CST",void 0);Ee([(0,fe.IsOptional)(),(0,fe.IsString)(),Ne("design:type",String)],As.prototype,"modBC",void 0);Ee([(0,fe.IsOptional)(),ne({fixed:2}),Ne("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],As.prototype,"vBC",void 0);Ee([(0,fe.IsOptional)(),ne({fixed:4}),Ne("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],As.prototype,"pRedBC",void 0);Ee([(0,fe.IsOptional)(),ne({fixed:2}),Ne("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],As.prototype,"pICMS",void 0);Ee([(0,fe.IsOptional)(),ne({fixed:2}),Ne("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],As.prototype,"vICMS",void 0);Ee([(0,fe.IsOptional)(),(0,fe.IsString)(),Ne("design:type",String)],As.prototype,"modBCST",void 0);Ee([(0,fe.IsOptional)(),ne({fixed:4}),Ne("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],As.prototype,"pMVAST",void 0);Ee([(0,fe.IsOptional)(),ne({fixed:4}),Ne("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],As.prototype,"pRedBCST",void 0);Ee([(0,fe.IsOptional)(),ne({fixed:2}),Ne("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],As.prototype,"vBCST",void 0);Ee([(0,fe.IsOptional)(),ne({fixed:4}),Ne("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],As.prototype,"pICMSST",void 0);Ee([(0,fe.IsOptional)(),ne({fixed:2}),Ne("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],As.prototype,"vICMSST",void 0);Ee([(0,fe.IsOptional)(),ne({fixed:4}),Ne("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],As.prototype,"pBCOp",void 0);Ee([(0,fe.IsOptional)(),(0,fe.IsString)(),Ne("design:type",String)],As.prototype,"UFST",void 0);var uh=class{static{o(this,"ICMSST")}orig;CST;vBCSTRet;pST;vICMSSubstituto;vICMSSTRet};Ee([(0,fe.IsString)(),Ne("design:type",String)],uh.prototype,"orig",void 0);Ee([(0,fe.IsString)(),Ne("design:type",String)],uh.prototype,"CST",void 0);Ee([(0,fe.IsOptional)(),ne({fixed:2}),Ne("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],uh.prototype,"vBCSTRet",void 0);Ee([(0,fe.IsOptional)(),ne({fixed:4}),Ne("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],uh.prototype,"pST",void 0);Ee([(0,fe.IsOptional)(),ne({fixed:2}),Ne("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],uh.prototype,"vICMSSubstituto",void 0);Ee([(0,fe.IsOptional)(),ne({fixed:2}),Ne("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],uh.prototype,"vICMSSTRet",void 0);var ey=class{static{o(this,"ICMSSN101")}orig;CSOSN;pCredSN;vCredICMSSN};Ee([(0,fe.IsString)(),Ne("design:type",String)],ey.prototype,"orig",void 0);Ee([(0,fe.IsString)(),Ne("design:type",String)],ey.prototype,"CSOSN",void 0);Ee([(0,fe.IsOptional)(),ne({fixed:4}),Ne("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ey.prototype,"pCredSN",void 0);Ee([(0,fe.IsOptional)(),ne({fixed:2}),Ne("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ey.prototype,"vCredICMSSN",void 0);var sI=class{static{o(this,"ICMSSN102")}orig;CSOSN};Ee([(0,fe.IsString)(),Ne("design:type",String)],sI.prototype,"orig",void 0);Ee([(0,fe.IsString)(),Ne("design:type",String)],sI.prototype,"CSOSN",void 0);var Kc=class{static{o(this,"ICMSSN201")}orig;CSOSN;modBCST;vBCST;pICMSST;vICMSST;pCredSN;vCredICMSSN};Ee([(0,fe.IsString)(),Ne("design:type",String)],Kc.prototype,"orig",void 0);Ee([(0,fe.IsString)(),Ne("design:type",String)],Kc.prototype,"CSOSN",void 0);Ee([(0,fe.IsOptional)(),(0,fe.IsString)(),Ne("design:type",String)],Kc.prototype,"modBCST",void 0);Ee([(0,fe.IsOptional)(),ne({fixed:2}),Ne("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Kc.prototype,"vBCST",void 0);Ee([(0,fe.IsOptional)(),ne({fixed:4}),Ne("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Kc.prototype,"pICMSST",void 0);Ee([(0,fe.IsOptional)(),ne({fixed:2}),Ne("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Kc.prototype,"vICMSST",void 0);Ee([(0,fe.IsOptional)(),ne({fixed:4}),Ne("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Kc.prototype,"pCredSN",void 0);Ee([(0,fe.IsOptional)(),ne({fixed:2}),Ne("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Kc.prototype,"vCredICMSSN",void 0);var ch=class{static{o(this,"ICMSSN202")}orig;CSOSN;modBCST;vBCST;pICMSST;vICMSST};Ee([(0,fe.IsString)(),Ne("design:type",String)],ch.prototype,"orig",void 0);Ee([(0,fe.IsString)(),Ne("design:type",String)],ch.prototype,"CSOSN",void 0);Ee([(0,fe.IsOptional)(),(0,fe.IsString)(),Ne("design:type",String)],ch.prototype,"modBCST",void 0);Ee([(0,fe.IsOptional)(),ne({fixed:2}),Ne("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ch.prototype,"vBCST",void 0);Ee([(0,fe.IsOptional)(),ne({fixed:4}),Ne("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ch.prototype,"pICMSST",void 0);Ee([(0,fe.IsOptional)(),ne({fixed:2}),Ne("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ch.prototype,"vICMSST",void 0);var lh=class{static{o(this,"ICMSSN500")}orig;CSOSN;vBCSTRet;pST;vICMSSubstituto;vICMSSTRet};Ee([(0,fe.IsString)(),Ne("design:type",String)],lh.prototype,"orig",void 0);Ee([(0,fe.IsString)(),Ne("design:type",String)],lh.prototype,"CSOSN",void 0);Ee([(0,fe.IsOptional)(),ne({fixed:2}),Ne("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],lh.prototype,"vBCSTRet",void 0);Ee([(0,fe.IsOptional)(),ne({fixed:4}),Ne("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],lh.prototype,"pST",void 0);Ee([(0,fe.IsOptional)(),ne({fixed:2}),Ne("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],lh.prototype,"vICMSSubstituto",void 0);Ee([(0,fe.IsOptional)(),ne({fixed:2}),Ne("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],lh.prototype,"vICMSSTRet",void 0);var ba=class{static{o(this,"ICMSSN900")}orig;CSOSN;modBC;vBC;pRedBC;pICMS;vICMS;modBCST;vBCST;pICMSST;vICMSST;pCredSN;vCredICMSSN};Ee([(0,fe.IsString)(),Ne("design:type",String)],ba.prototype,"orig",void 0);Ee([(0,fe.IsString)(),Ne("design:type",String)],ba.prototype,"CSOSN",void 0);Ee([(0,fe.IsOptional)(),(0,fe.IsString)(),Ne("design:type",String)],ba.prototype,"modBC",void 0);Ee([(0,fe.IsOptional)(),ne({fixed:2}),Ne("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ba.prototype,"vBC",void 0);Ee([(0,fe.IsOptional)(),ne({fixed:4}),Ne("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ba.prototype,"pRedBC",void 0);Ee([(0,fe.IsOptional)(),ne({fixed:4}),Ne("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ba.prototype,"pICMS",void 0);Ee([(0,fe.IsOptional)(),ne({fixed:2}),Ne("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ba.prototype,"vICMS",void 0);Ee([(0,fe.IsOptional)(),(0,fe.IsString)(),Ne("design:type",String)],ba.prototype,"modBCST",void 0);Ee([(0,fe.IsOptional)(),ne({fixed:2}),Ne("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ba.prototype,"vBCST",void 0);Ee([(0,fe.IsOptional)(),ne({fixed:4}),Ne("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ba.prototype,"pICMSST",void 0);Ee([(0,fe.IsOptional)(),ne({fixed:2}),Ne("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ba.prototype,"vICMSST",void 0);Ee([(0,fe.IsOptional)(),ne({fixed:4}),Ne("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ba.prototype,"pCredSN",void 0);Ee([(0,fe.IsOptional)(),ne({fixed:2}),Ne("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ba.prototype,"vCredICMSSN",void 0);var zn=class{static{o(this,"ICMS")}ICMS00;ICMS10;ICMS20;ICMS30;ICMS40;ICMS51;ICMS60;ICMS70;ICMS90;ICMSPart;ICMSST;ICMSSN101;ICMSSN102;ICMSSN201;ICMSSN202;ICMSSN500;ICMSSN900};Ee([(0,fe.IsOptional)(),(0,fe.ValidateNested)(),(0,Ns.Type)(()=>sh),Ne("design:type",typeof IICMS00>"u"?Object:IICMS00)],zn.prototype,"ICMS00",void 0);Ee([(0,fe.IsOptional)(),(0,fe.ValidateNested)(),(0,Ns.Type)(()=>eu),Ne("design:type",typeof IICMS10>"u"?Object:IICMS10)],zn.prototype,"ICMS10",void 0);Ee([(0,fe.IsOptional)(),(0,fe.ValidateNested)(),(0,Ns.Type)(()=>yf),Ne("design:type",typeof IICMS20>"u"?Object:IICMS20)],zn.prototype,"ICMS20",void 0);Ee([(0,fe.IsOptional)(),(0,fe.ValidateNested)(),(0,Ns.Type)(()=>ah),Ne("design:type",typeof IICMS30>"u"?Object:IICMS30)],zn.prototype,"ICMS30",void 0);Ee([(0,fe.IsOptional)(),(0,fe.ValidateNested)(),(0,Ns.Type)(()=>Zv),Ne("design:type",typeof IICMS40>"u"?Object:IICMS40)],zn.prototype,"ICMS40",void 0);Ee([(0,fe.IsOptional)(),(0,fe.ValidateNested)(),(0,Ns.Type)(()=>Gu),Ne("design:type",typeof IICMS51>"u"?Object:IICMS51)],zn.prototype,"ICMS51",void 0);Ee([(0,fe.IsOptional)(),(0,fe.ValidateNested)(),(0,Ns.Type)(()=>oh),Ne("design:type",typeof IICMS60>"u"?Object:IICMS60)],zn.prototype,"ICMS60",void 0);Ee([(0,fe.IsOptional)(),(0,fe.ValidateNested)(),(0,Ns.Type)(()=>xo),Ne("design:type",typeof IICMS70>"u"?Object:IICMS70)],zn.prototype,"ICMS70",void 0);Ee([(0,fe.IsOptional)(),(0,fe.ValidateNested)(),(0,Ns.Type)(()=>wo),Ne("design:type",typeof IICMS90>"u"?Object:IICMS90)],zn.prototype,"ICMS90",void 0);Ee([(0,fe.IsOptional)(),(0,fe.ValidateNested)(),(0,Ns.Type)(()=>As),Ne("design:type",typeof IICMSPart>"u"?Object:IICMSPart)],zn.prototype,"ICMSPart",void 0);Ee([(0,fe.IsOptional)(),(0,fe.ValidateNested)(),(0,Ns.Type)(()=>uh),Ne("design:type",typeof IICMSST>"u"?Object:IICMSST)],zn.prototype,"ICMSST",void 0);Ee([(0,fe.IsOptional)(),(0,fe.ValidateNested)(),(0,Ns.Type)(()=>ey),Ne("design:type",typeof IICMSSN101>"u"?Object:IICMSSN101)],zn.prototype,"ICMSSN101",void 0);Ee([(0,fe.IsOptional)(),(0,fe.ValidateNested)(),(0,Ns.Type)(()=>sI),Ne("design:type",typeof IICMSSN102>"u"?Object:IICMSSN102)],zn.prototype,"ICMSSN102",void 0);Ee([(0,fe.IsOptional)(),(0,fe.ValidateNested)(),(0,Ns.Type)(()=>Kc),Ne("design:type",typeof IICMSSN201>"u"?Object:IICMSSN201)],zn.prototype,"ICMSSN201",void 0);Ee([(0,fe.IsOptional)(),(0,fe.ValidateNested)(),(0,Ns.Type)(()=>ch),Ne("design:type",typeof IICMSSN202>"u"?Object:IICMSSN202)],zn.prototype,"ICMSSN202",void 0);Ee([(0,fe.IsOptional)(),(0,fe.ValidateNested)(),(0,Ns.Type)(()=>lh),Ne("design:type",typeof IICMSSN500>"u"?Object:IICMSSN500)],zn.prototype,"ICMSSN500",void 0);Ee([(0,fe.IsOptional)(),(0,fe.ValidateNested)(),(0,Ns.Type)(()=>ba),Ne("design:type",typeof IICMSSN900>"u"?Object:IICMSSN900)],zn.prototype,"ICMSSN900",void 0);zn=Ee([nn({properties:["ICMS00","ICMS10","ICMS20","ICMS30","ICMS40","ICMS51","ICMS60","ICMS70","ICMS90","ICMSPart","ICMSST","ICMSSN101","ICMSSN102","ICMSSN201","ICMSSN202","ICMSSN500","ICMSSN900"]})],zn);var _n=require("class-validator"),xU=require("class-transformer");function tu(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(tu,"_ts_decorate");function ru(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(ru,"_ts_metadata");var fh=class{static{o(this,"IPITrib")}CST;vBC;pIPI;qUnid;vUnid;vIPI};tu([(0,_n.IsString)(),ru("design:type",String)],fh.prototype,"CST",void 0);tu([(0,_n.IsOptional)(),(0,_n.IsString)(),ru("design:type",String)],fh.prototype,"vBC",void 0);tu([(0,_n.IsOptional)(),(0,_n.IsString)(),ru("design:type",String)],fh.prototype,"pIPI",void 0);tu([(0,_n.IsOptional)(),(0,_n.IsString)(),ru("design:type",String)],fh.prototype,"qUnid",void 0);tu([(0,_n.IsOptional)(),(0,_n.IsString)(),ru("design:type",String)],fh.prototype,"vUnid",void 0);tu([(0,_n.IsOptional)(),(0,_n.IsString)(),ru("design:type",String)],fh.prototype,"vIPI",void 0);var B_=class{static{o(this,"IPINT")}CST};tu([(0,_n.IsString)(),ru("design:type",String)],B_.prototype,"CST",void 0);var Xu=class{static{o(this,"IPI")}CNPJProd;cSelo;qSelo;cEnq;IPITrib;IPINT};tu([(0,_n.IsOptional)(),(0,_n.IsString)(),ru("design:type",String)],Xu.prototype,"CNPJProd",void 0);tu([(0,_n.IsOptional)(),(0,_n.IsString)(),ru("design:type",String)],Xu.prototype,"cSelo",void 0);tu([(0,_n.IsOptional)(),(0,_n.IsString)(),ru("design:type",String)],Xu.prototype,"qSelo",void 0);tu([(0,_n.IsString)(),ru("design:type",String)],Xu.prototype,"cEnq",void 0);tu([(0,_n.IsOptional)(),(0,_n.ValidateNested)(),(0,xU.Type)(()=>fh),ru("design:type",typeof IIPITrib>"u"?Object:IIPITrib)],Xu.prototype,"IPITrib",void 0);tu([(0,_n.IsOptional)(),(0,_n.ValidateNested)(),(0,xU.Type)(()=>B_),ru("design:type",typeof IIPINT>"u"?Object:IIPINT)],Xu.prototype,"IPINT",void 0);var bf=require("class-validator");function P_(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(P_,"_ts_decorate");function __(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(__,"_ts_metadata");var Sf=class{static{o(this,"II")}vBC;vDespAdu;vII;vIOF};P_([(0,bf.IsOptional)(),(0,bf.IsString)(),__("design:type",String)],Sf.prototype,"vBC",void 0);P_([(0,bf.IsOptional)(),(0,bf.IsString)(),__("design:type",String)],Sf.prototype,"vDespAdu",void 0);P_([(0,bf.IsOptional)(),(0,bf.IsString)(),__("design:type",String)],Sf.prototype,"vII",void 0);P_([(0,bf.IsOptional)(),(0,bf.IsString)(),__("design:type",String)],Sf.prototype,"vIOF",void 0);var Wt=require("class-validator"),aI=require("class-transformer");function ei(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(ei,"_ts_decorate");function ti(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(ti,"_ts_metadata");var ph=class{static{o(this,"PISAliq")}CST;vBC;pPIS;vPIS};ei([(0,Wt.IsString)(),ti("design:type",String)],ph.prototype,"CST",void 0);ei([(0,Wt.IsOptional)(),(0,Wt.IsString)(),ne({fixed:2}),ti("design:type",String)],ph.prototype,"vBC",void 0);ei([(0,Wt.IsOptional)(),(0,Wt.IsString)(),ti("design:type",String)],ph.prototype,"pPIS",void 0);ei([(0,Wt.IsOptional)(),(0,Wt.IsString)(),ti("design:type",String)],ph.prototype,"vPIS",void 0);var hh=class{static{o(this,"PISQtde")}CST;qBCProd;vAliqProd;vPIS};ei([(0,Wt.IsString)(),ti("design:type",String)],hh.prototype,"CST",void 0);ei([(0,Wt.IsOptional)(),(0,Wt.IsString)(),ti("design:type",String)],hh.prototype,"qBCProd",void 0);ei([(0,Wt.IsOptional)(),(0,Wt.IsString)(),ti("design:type",String)],hh.prototype,"vAliqProd",void 0);ei([(0,Wt.IsOptional)(),(0,Wt.IsString)(),ti("design:type",String)],hh.prototype,"vPIS",void 0);var Fx=class{static{o(this,"PISNT")}CST};ei([(0,Wt.IsString)(),ti("design:type",String)],Fx.prototype,"CST",void 0);var Gc=class{static{o(this,"PISOutr")}CST;vBC;pPIS;qBCProd;vAliqProd;vPIS};ei([(0,Wt.IsString)(),ti("design:type",String)],Gc.prototype,"CST",void 0);ei([(0,Wt.IsOptional)(),(0,Wt.IsString)(),ne({fixed:2}),ti("design:type",String)],Gc.prototype,"vBC",void 0);ei([(0,Wt.IsOptional)(),(0,Wt.IsString)(),ti("design:type",String)],Gc.prototype,"pPIS",void 0);ei([(0,Wt.IsOptional)(),(0,Wt.IsString)(),ti("design:type",String)],Gc.prototype,"qBCProd",void 0);ei([(0,Wt.IsOptional)(),(0,Wt.IsString)(),ti("design:type",String)],Gc.prototype,"vAliqProd",void 0);ei([(0,Wt.IsOptional)(),(0,Wt.IsString)(),ti("design:type",String)],Gc.prototype,"vPIS",void 0);var xf=class{static{o(this,"PIS")}PISAliq;PISQtde;PISNT;PISOutr};ei([(0,Wt.IsOptional)(),(0,Wt.ValidateNested)(),(0,aI.Type)(()=>ph),ti("design:type",typeof ph>"u"?Object:ph)],xf.prototype,"PISAliq",void 0);ei([(0,Wt.IsOptional)(),(0,Wt.ValidateNested)(),(0,aI.Type)(()=>hh),ti("design:type",typeof hh>"u"?Object:hh)],xf.prototype,"PISQtde",void 0);ei([(0,Wt.IsOptional)(),(0,Wt.ValidateNested)(),(0,aI.Type)(()=>Fx),ti("design:type",typeof Fx>"u"?Object:Fx)],xf.prototype,"PISNT",void 0);ei([(0,Wt.IsOptional)(),(0,Wt.ValidateNested)(),(0,aI.Type)(()=>Gc),ti("design:type",typeof Gc>"u"?Object:Gc)],xf.prototype,"PISOutr",void 0);var Xc=class{static{o(this,"PISST")}vBC;pPIS;qBCProd;vAliqProd;vPIS};ei([(0,Wt.IsOptional)(),(0,Wt.IsString)(),ne({fixed:2}),ti("design:type",String)],Xc.prototype,"vBC",void 0);ei([(0,Wt.IsOptional)(),(0,Wt.IsString)(),ti("design:type",String)],Xc.prototype,"pPIS",void 0);ei([(0,Wt.IsOptional)(),(0,Wt.IsString)(),ti("design:type",String)],Xc.prototype,"qBCProd",void 0);ei([(0,Wt.IsOptional)(),(0,Wt.IsString)(),ti("design:type",String)],Xc.prototype,"vAliqProd",void 0);ei([(0,Wt.IsOptional)(),(0,Wt.IsString)(),ti("design:type",String)],Xc.prototype,"vPIS",void 0);var Jt=require("class-validator"),oI=require("class-transformer");function ri(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(ri,"_ts_decorate");function ni(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(ni,"_ts_metadata");var dh=class{static{o(this,"COFINSAliq")}CST;vBC;pCOFINS;vCOFINS};ri([(0,Jt.IsString)(),ni("design:type",String)],dh.prototype,"CST",void 0);ri([(0,Jt.IsOptional)(),(0,Jt.IsString)(),ne({fixed:2}),ni("design:type",String)],dh.prototype,"vBC",void 0);ri([(0,Jt.IsOptional)(),(0,Jt.IsString)(),ni("design:type",String)],dh.prototype,"pCOFINS",void 0);ri([(0,Jt.IsOptional)(),(0,Jt.IsString)(),ni("design:type",String)],dh.prototype,"vCOFINS",void 0);var mh=class{static{o(this,"COFINSQtde")}CST;qBCProd;vAliqProd;vCOFINS};ri([(0,Jt.IsString)(),ni("design:type",String)],mh.prototype,"CST",void 0);ri([(0,Jt.IsOptional)(),(0,Jt.IsString)(),ni("design:type",String)],mh.prototype,"qBCProd",void 0);ri([(0,Jt.IsOptional)(),(0,Jt.IsString)(),ni("design:type",String)],mh.prototype,"vAliqProd",void 0);ri([(0,Jt.IsOptional)(),(0,Jt.IsString)(),ni("design:type",String)],mh.prototype,"vCOFINS",void 0);var kx=class{static{o(this,"COFINSNT")}CST};ri([(0,Jt.IsString)(),ni("design:type",String)],kx.prototype,"CST",void 0);var Wc=class{static{o(this,"COFINSOutr")}CST;vBC;pCOFINS;qBCProd;vAliqProd;vCOFINS};ri([(0,Jt.IsString)(),ni("design:type",String)],Wc.prototype,"CST",void 0);ri([(0,Jt.IsOptional)(),(0,Jt.IsString)(),ne({fixed:2}),ni("design:type",String)],Wc.prototype,"vBC",void 0);ri([(0,Jt.IsOptional)(),(0,Jt.IsString)(),ni("design:type",String)],Wc.prototype,"pCOFINS",void 0);ri([(0,Jt.IsOptional)(),(0,Jt.IsString)(),ni("design:type",String)],Wc.prototype,"qBCProd",void 0);ri([(0,Jt.IsOptional)(),(0,Jt.IsString)(),ni("design:type",String)],Wc.prototype,"vAliqProd",void 0);ri([(0,Jt.IsOptional)(),(0,Jt.IsString)(),ni("design:type",String)],Wc.prototype,"vCOFINS",void 0);var wf=class{static{o(this,"COFINS")}COFINSAliq;COFINSQtde;COFINSNT;COFINSOutr};ri([(0,Jt.IsOptional)(),(0,Jt.ValidateNested)(),(0,oI.Type)(()=>dh),ni("design:type",typeof dh>"u"?Object:dh)],wf.prototype,"COFINSAliq",void 0);ri([(0,Jt.IsOptional)(),(0,Jt.ValidateNested)(),(0,oI.Type)(()=>mh),ni("design:type",typeof mh>"u"?Object:mh)],wf.prototype,"COFINSQtde",void 0);ri([(0,Jt.IsOptional)(),(0,Jt.ValidateNested)(),(0,oI.Type)(()=>kx),ni("design:type",typeof kx>"u"?Object:kx)],wf.prototype,"COFINSNT",void 0);ri([(0,Jt.IsOptional)(),(0,Jt.ValidateNested)(),(0,oI.Type)(()=>Wc),ni("design:type",typeof Wc>"u"?Object:Wc)],wf.prototype,"COFINSOutr",void 0);var Jc=class{static{o(this,"COFINSST")}vBC;pCOFINS;qBCProd;vAliqProd;vCOFINS};ri([(0,Jt.IsOptional)(),(0,Jt.IsString)(),ne({fixed:2}),ni("design:type",String)],Jc.prototype,"vBC",void 0);ri([(0,Jt.IsOptional)(),(0,Jt.IsString)(),ni("design:type",String)],Jc.prototype,"pCOFINS",void 0);ri([(0,Jt.IsOptional)(),(0,Jt.IsString)(),ni("design:type",String)],Jc.prototype,"qBCProd",void 0);ri([(0,Jt.IsOptional)(),(0,Jt.IsString)(),ni("design:type",String)],Jc.prototype,"vAliqProd",void 0);ri([(0,Jt.IsOptional)(),(0,Jt.IsString)(),ni("design:type",String)],Jc.prototype,"vCOFINS",void 0);var Co=require("class-validator");function Vx(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(Vx,"_ts_decorate");function jx(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(jx,"_ts_metadata");var Wu=class{static{o(this,"ISSQN")}vBC;vAliq;vISSQN;cMunFG;cListServ;cSitTrib};Vx([(0,Co.IsOptional)(),(0,Co.IsString)(),jx("design:type",String)],Wu.prototype,"vBC",void 0);Vx([(0,Co.IsOptional)(),(0,Co.IsString)(),jx("design:type",String)],Wu.prototype,"vAliq",void 0);Vx([(0,Co.IsOptional)(),(0,Co.IsString)(),jx("design:type",String)],Wu.prototype,"vISSQN",void 0);Vx([(0,Co.IsOptional)(),(0,Co.IsString)(),jx("design:type",String)],Wu.prototype,"cMunFG",void 0);Vx([(0,Co.IsOptional)(),(0,Co.IsString)(),jx("design:type",String)],Wu.prototype,"cListServ",void 0);Vx([(0,Co.IsOptional)(),(0,Co.IsString)(),jx("design:type",String)],Wu.prototype,"cSitTrib",void 0);var qi=require("class-validator");function gh(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(gh,"_ts_decorate");function vh(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(vh,"_ts_metadata");var ja=class{static{o(this,"ICMSUFDest")}vBCUFDest;vBCFCPUFDest;pFCPUFDest;pICMSUFDest;pICMSInter;pICMSInterPart;vFCPUFDest;vICMSUFDest;vICMSUFRemet};gh([(0,qi.IsOptional)(),(0,qi.IsString)(),vh("design:type",String)],ja.prototype,"vBCUFDest",void 0);gh([(0,qi.IsOptional)(),(0,qi.IsString)(),vh("design:type",String)],ja.prototype,"vBCFCPUFDest",void 0);gh([(0,qi.IsOptional)(),(0,qi.IsString)(),vh("design:type",String)],ja.prototype,"pFCPUFDest",void 0);gh([(0,qi.IsOptional)(),(0,qi.IsString)(),vh("design:type",String)],ja.prototype,"pICMSUFDest",void 0);gh([(0,qi.IsOptional)(),(0,qi.IsString)(),vh("design:type",String)],ja.prototype,"pICMSInter",void 0);gh([(0,qi.IsOptional)(),(0,qi.IsString)(),vh("design:type",String)],ja.prototype,"pICMSInterPart",void 0);gh([(0,qi.IsOptional)(),(0,qi.IsString)(),vh("design:type",String)],ja.prototype,"vFCPUFDest",void 0);gh([(0,qi.IsOptional)(),(0,qi.IsString)(),vh("design:type",String)],ja.prototype,"vICMSUFDest",void 0);gh([(0,qi.IsOptional)(),(0,qi.IsString)(),vh("design:type",String)],ja.prototype,"vICMSUFRemet",void 0);var di=require("class-validator");var Mx=require("class-validator");function Gie(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(Gie,"_ts_decorate");function Xie(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(Xie,"_ts_metadata");var Wm=class{static{o(this,"TransferenciaCredito")}vIBS;vCBS};Gie([(0,Mx.IsOptional)(),(0,Mx.IsString)(),Xie("design:type",String)],Wm.prototype,"vIBS",void 0);Gie([(0,Mx.IsOptional)(),(0,Mx.IsString)(),Xie("design:type",String)],Wm.prototype,"vCBS",void 0);var L_=require("class-validator");function wU(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(wU,"_ts_decorate");function CU(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(CU,"_ts_metadata");var yh=class{static{o(this,"CredPresIBSZFM")}tpCredPresIBSZFM;vCredPresIBSZFM;competApur};wU([(0,L_.IsString)(),CU("design:type",String)],yh.prototype,"tpCredPresIBSZFM",void 0);wU([(0,L_.IsString)(),CU("design:type",String)],yh.prototype,"vCredPresIBSZFM",void 0);wU([(0,L_.IsString)(),CU("design:type",String)],yh.prototype,"competApur",void 0);var Ma=require("class-validator"),EU=require("class-transformer");function Ef(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(Ef,"_ts_decorate");function Af(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(Af,"_ts_metadata");var Jm=class{static{o(this,"IBSCredPres")}vCredPresCondSus;pCredPres;vCredPres};Ef([(0,Ma.IsString)(),Af("design:type",String)],Jm.prototype,"vCredPresCondSus",void 0);Ef([(0,Ma.IsString)(),Af("design:type",String)],Jm.prototype,"pCredPres",void 0);Ef([(0,Ma.IsString)(),Af("design:type",String)],Jm.prototype,"vCredPres",void 0);var Ym=class{static{o(this,"CBSCredPres")}vCredPresCondSus;pCredPres;vCredPres};Ef([(0,Ma.IsString)(),Af("design:type",String)],Ym.prototype,"vCredPresCondSus",void 0);Ef([(0,Ma.IsString)(),Af("design:type",String)],Ym.prototype,"pCredPres",void 0);Ef([(0,Ma.IsString)(),Af("design:type",String)],Ym.prototype,"vCredPres",void 0);var Cf=class{static{o(this,"CredPresOper")}gIBSCredPres;gCBSCredPres;vBCCredPres;cCredPres};Ef([(0,Ma.IsOptional)(),(0,Ma.ValidateNested)(),(0,EU.Type)(()=>Jm),Af("design:type",typeof Jm>"u"?Object:Jm)],Cf.prototype,"gIBSCredPres",void 0);Ef([(0,Ma.IsOptional)(),(0,Ma.ValidateNested)(),(0,EU.Type)(()=>Ym),Af("design:type",typeof Ym>"u"?Object:Ym)],Cf.prototype,"gCBSCredPres",void 0);Ef([(0,Ma.IsString)(),Af("design:type",String)],Cf.prototype,"vBCCredPres",void 0);Ef([(0,Ma.IsString)(),Af("design:type",String)],Cf.prototype,"cCredPres",void 0);var AU=require("class-validator");function Wie(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(Wie,"_ts_decorate");function Jie(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(Jie,"_ts_metadata");var Qm=class{static{o(this,"EstornoCred")}vIBSEstCred;vCBSEstCred};Wie([(0,AU.IsString)(),Jie("design:type",String)],Qm.prototype,"vIBSEstCred",void 0);Wie([(0,AU.IsString)(),Jie("design:type",String)],Qm.prototype,"vCBSEstCred",void 0);var F_=require("class-validator");function NU(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(NU,"_ts_decorate");function IU(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(IU,"_ts_metadata");var Sh=class{static{o(this,"AjusteCompet")}competApur;vCBS;vIBS};NU([(0,F_.IsString)(),IU("design:type",String)],Sh.prototype,"competApur",void 0);NU([(0,F_.IsString)(),IU("design:type",String)],Sh.prototype,"vCBS",void 0);NU([(0,F_.IsString)(),IU("design:type",String)],Sh.prototype,"vIBS",void 0);var Rr=require("class-validator");function Pi(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(Pi,"_ts_decorate");function _i(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(_i,"_ts_metadata");var Cn=class{static{o(this,"IBSCBSMono")}vTotIBSMonoItem;vTotCBSMonoItem;adRemIBS;adRemCBS;vIBSMono;vCBSMono;qBCMono;adRemIBSReten;vIBSMonoReten;adRemCBSReten;vCBSMonoReten;qBCMonoReten;adRemIBSRet;vIBSMonoRet;adRemCBSRet;vCBSMonoRet;qBCMonoRet;vIBSMonoDif;vCBSMonoDif;pDifIBS;pDifCBS};Pi([(0,Rr.IsString)(),_i("design:type",String)],Cn.prototype,"vTotIBSMonoItem",void 0);Pi([(0,Rr.IsString)(),_i("design:type",String)],Cn.prototype,"vTotCBSMonoItem",void 0);Pi([(0,Rr.IsString)(),_i("design:type",String)],Cn.prototype,"adRemIBS",void 0);Pi([(0,Rr.IsString)(),_i("design:type",String)],Cn.prototype,"adRemCBS",void 0);Pi([(0,Rr.IsString)(),_i("design:type",String)],Cn.prototype,"vIBSMono",void 0);Pi([(0,Rr.IsString)(),_i("design:type",String)],Cn.prototype,"vCBSMono",void 0);Pi([(0,Rr.IsString)(),_i("design:type",String)],Cn.prototype,"qBCMono",void 0);Pi([(0,Rr.IsOptional)(),(0,Rr.IsString)(),_i("design:type",String)],Cn.prototype,"adRemIBSReten",void 0);Pi([(0,Rr.IsOptional)(),(0,Rr.IsString)(),_i("design:type",String)],Cn.prototype,"vIBSMonoReten",void 0);Pi([(0,Rr.IsOptional)(),(0,Rr.IsString)(),_i("design:type",String)],Cn.prototype,"adRemCBSReten",void 0);Pi([(0,Rr.IsOptional)(),(0,Rr.IsString)(),_i("design:type",String)],Cn.prototype,"vCBSMonoReten",void 0);Pi([(0,Rr.IsOptional)(),(0,Rr.IsString)(),_i("design:type",String)],Cn.prototype,"qBCMonoReten",void 0);Pi([(0,Rr.IsOptional)(),(0,Rr.IsString)(),_i("design:type",String)],Cn.prototype,"adRemIBSRet",void 0);Pi([(0,Rr.IsOptional)(),(0,Rr.IsString)(),_i("design:type",String)],Cn.prototype,"vIBSMonoRet",void 0);Pi([(0,Rr.IsOptional)(),(0,Rr.IsString)(),_i("design:type",String)],Cn.prototype,"adRemCBSRet",void 0);Pi([(0,Rr.IsOptional)(),(0,Rr.IsString)(),_i("design:type",String)],Cn.prototype,"vCBSMonoRet",void 0);Pi([(0,Rr.IsOptional)(),(0,Rr.IsString)(),_i("design:type",String)],Cn.prototype,"qBCMonoRet",void 0);Pi([(0,Rr.IsOptional)(),(0,Rr.IsString)(),_i("design:type",String)],Cn.prototype,"vIBSMonoDif",void 0);Pi([(0,Rr.IsOptional)(),(0,Rr.IsString)(),_i("design:type",String)],Cn.prototype,"vCBSMonoDif",void 0);Pi([(0,Rr.IsOptional)(),(0,Rr.IsString)(),_i("design:type",String)],Cn.prototype,"pDifIBS",void 0);Pi([(0,Rr.IsOptional)(),(0,Rr.IsString)(),_i("design:type",String)],Cn.prototype,"pDifCBS",void 0);var nu=require("class-validator");var bh=require("class-validator");function $m(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o($m,"_ts_decorate");function Zm(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(Zm,"_ts_metadata");var Eo=class{static{o(this,"TribRegular")}CSTReg;cClassTribReg;pAliqEfetRegIBSUF;vTribRegIBSUF;pAliqEfetRegIBSMun;vTribRegIBSMun;pAliqEfetRegCBS;vTribRegCBS};$m([(0,bh.IsString)(),Zm("design:type",String)],Eo.prototype,"CSTReg",void 0);$m([(0,bh.IsString)(),Zm("design:type",String)],Eo.prototype,"cClassTribReg",void 0);$m([(0,bh.IsString)(),Zm("design:type",String)],Eo.prototype,"pAliqEfetRegIBSUF",void 0);$m([(0,bh.IsString)(),Zm("design:type",String)],Eo.prototype,"vTribRegIBSUF",void 0);$m([(0,bh.IsString)(),Zm("design:type",String)],Eo.prototype,"pAliqEfetRegIBSMun",void 0);$m([(0,bh.IsString)(),Zm("design:type",String)],Eo.prototype,"vTribRegIBSMun",void 0);$m([(0,bh.IsString)(),Zm("design:type",String)],Eo.prototype,"pAliqEfetRegCBS",void 0);$m([(0,bh.IsString)(),Zm("design:type",String)],Eo.prototype,"vTribRegCBS",void 0);var dI=require("class-transformer");var Qc=require("class-validator"),k_=require("class-transformer");var Yie=require("class-validator");function YBe(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(YBe,"_ts_decorate");function QBe(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(QBe,"_ts_metadata");var Ua=class{static{o(this,"DevTrib")}vDevTrib};YBe([(0,Yie.IsString)(),QBe("design:type",String)],Ua.prototype,"vDevTrib",void 0);var TU=require("class-validator");function Qie(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(Qie,"_ts_decorate");function $ie(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o($ie,"_ts_metadata");var xa=class{static{o(this,"Dif")}pDif;vDif};Qie([(0,TU.IsString)(),$ie("design:type",String)],xa.prototype,"pDif",void 0);Qie([(0,TU.IsString)(),$ie("design:type",String)],xa.prototype,"vDif",void 0);var RU=require("class-validator");function Zie(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(Zie,"_ts_decorate");function ese(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(ese,"_ts_metadata");var wa=class{static{o(this,"Red")}pAliqEfet;pRedAliq};Zie([(0,RU.IsString)(),ese("design:type",String)],wa.prototype,"pAliqEfet",void 0);Zie([(0,RU.IsString)(),ese("design:type",String)],wa.prototype,"pRedAliq",void 0);function uI(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(uI,"_ts_decorate");function cI(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(cI,"_ts_metadata");var Yc=class{static{o(this,"IBSMun")}pIBSMun;vIBSMun;gDevTrib;gDif;gRed};uI([(0,Qc.IsString)(),cI("design:type",String)],Yc.prototype,"pIBSMun",void 0);uI([(0,Qc.IsString)(),cI("design:type",String)],Yc.prototype,"vIBSMun",void 0);uI([(0,Qc.IsOptional)(),(0,Qc.ValidateNested)(),(0,k_.Type)(()=>Ua),cI("design:type",typeof Ua>"u"?Object:Ua)],Yc.prototype,"gDevTrib",void 0);uI([(0,Qc.IsOptional)(),(0,Qc.ValidateNested)(),(0,k_.Type)(()=>xa),cI("design:type",typeof xa>"u"?Object:xa)],Yc.prototype,"gDif",void 0);uI([(0,Qc.IsOptional)(),(0,Qc.ValidateNested)(),(0,k_.Type)(()=>wa),cI("design:type",typeof wa>"u"?Object:wa)],Yc.prototype,"gRed",void 0);var Zc=require("class-validator"),V_=require("class-transformer");function lI(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(lI,"_ts_decorate");function fI(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(fI,"_ts_metadata");var $c=class{static{o(this,"IBSUF")}pIBSUF;vIBSUF;gDevTrib;gDif;gRed};lI([(0,Zc.IsString)(),fI("design:type",String)],$c.prototype,"pIBSUF",void 0);lI([(0,Zc.IsString)(),fI("design:type",String)],$c.prototype,"vIBSUF",void 0);lI([(0,Zc.IsOptional)(),(0,Zc.ValidateNested)(),(0,V_.Type)(()=>Ua),fI("design:type",typeof Ua>"u"?Object:Ua)],$c.prototype,"gDevTrib",void 0);lI([(0,Zc.IsOptional)(),(0,Zc.ValidateNested)(),(0,V_.Type)(()=>xa),fI("design:type",typeof xa>"u"?Object:xa)],$c.prototype,"gDif",void 0);lI([(0,Zc.IsOptional)(),(0,Zc.ValidateNested)(),(0,V_.Type)(()=>wa),fI("design:type",typeof wa>"u"?Object:wa)],$c.prototype,"gRed",void 0);var tl=require("class-validator"),j_=require("class-transformer");function pI(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(pI,"_ts_decorate");function hI(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(hI,"_ts_metadata");var el=class{static{o(this,"CBS")}pCBS;vCBS;gDevTrib;gDif;gRed};pI([(0,tl.IsString)(),hI("design:type",String)],el.prototype,"pCBS",void 0);pI([(0,tl.IsString)(),hI("design:type",String)],el.prototype,"vCBS",void 0);pI([(0,tl.IsOptional)(),(0,tl.ValidateNested)(),(0,j_.Type)(()=>Ua),hI("design:type",typeof Ua>"u"?Object:Ua)],el.prototype,"gDevTrib",void 0);pI([(0,tl.IsOptional)(),(0,tl.ValidateNested)(),(0,j_.Type)(()=>xa),hI("design:type",typeof xa>"u"?Object:xa)],el.prototype,"gDif",void 0);pI([(0,tl.IsOptional)(),(0,tl.ValidateNested)(),(0,j_.Type)(()=>wa),hI("design:type",typeof wa>"u"?Object:wa)],el.prototype,"gRed",void 0);function Ux(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(Ux,"_ts_decorate");function qx(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(qx,"_ts_metadata");var Ju=class{static{o(this,"GIBSCBS")}vBC;gIBSUF;gIBSMun;vIBS;gCBS;gTribRegular};Ux([(0,nu.IsString)(),qx("design:type",String)],Ju.prototype,"vBC",void 0);Ux([(0,nu.IsOptional)(),(0,nu.ValidateNested)(),(0,dI.Type)(()=>$c),qx("design:type",typeof $c>"u"?Object:$c)],Ju.prototype,"gIBSUF",void 0);Ux([(0,nu.IsOptional)(),(0,nu.ValidateNested)(),(0,dI.Type)(()=>Yc),qx("design:type",typeof Yc>"u"?Object:Yc)],Ju.prototype,"gIBSMun",void 0);Ux([(0,nu.IsString)(),qx("design:type",String)],Ju.prototype,"vIBS",void 0);Ux([(0,nu.IsOptional)(),(0,nu.ValidateNested)(),(0,dI.Type)(()=>el),qx("design:type",typeof el>"u"?Object:el)],Ju.prototype,"gCBS",void 0);Ux([(0,nu.IsOptional)(),(0,nu.ValidateNested)(),(0,dI.Type)(()=>Eo),qx("design:type",typeof Eo>"u"?Object:Eo)],Ju.prototype,"gTribRegular",void 0);var e0=require("class-transformer");function Nf(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(Nf,"_ts_decorate");function If(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(If,"_ts_metadata");var ns=class{static{o(this,"IBSCBS")}CST;cClassTrib;indDoacao;gTransfCred;gCredPresIBSZFM;gCredPresOper;gAjusteCompet;gEstornoCred;gIBSCBSMono;gIBSCBS};Nf([(0,di.IsOptional)(),(0,di.IsString)(),If("design:type",String)],ns.prototype,"CST",void 0);Nf([(0,di.IsOptional)(),(0,di.IsString)(),If("design:type",String)],ns.prototype,"cClassTrib",void 0);Nf([(0,di.IsOptional)(),(0,di.IsString)(),If("design:type",String)],ns.prototype,"indDoacao",void 0);Nf([(0,di.IsOptional)(),(0,di.ValidateNested)(),(0,e0.Type)(()=>Wm),If("design:type",typeof Wm>"u"?Object:Wm)],ns.prototype,"gTransfCred",void 0);Nf([(0,di.IsOptional)(),(0,di.ValidateNested)(),(0,e0.Type)(()=>yh),If("design:type",typeof yh>"u"?Object:yh)],ns.prototype,"gCredPresIBSZFM",void 0);Nf([(0,di.IsOptional)(),(0,di.ValidateNested)(),(0,e0.Type)(()=>Cf),If("design:type",typeof Cf>"u"?Object:Cf)],ns.prototype,"gCredPresOper",void 0);Nf([(0,di.IsOptional)(),(0,di.ValidateNested)(),(0,e0.Type)(()=>Sh),If("design:type",typeof Sh>"u"?Object:Sh)],ns.prototype,"gAjusteCompet",void 0);Nf([(0,di.IsOptional)(),(0,di.ValidateNested)(),(0,e0.Type)(()=>Qm),If("design:type",typeof Qm>"u"?Object:Qm)],ns.prototype,"gEstornoCred",void 0);Nf([(0,di.IsOptional)(),(0,di.ValidateNested)(),(0,e0.Type)(()=>Cn),If("design:type",typeof Cn>"u"?Object:Cn)],ns.prototype,"gIBSCBSMono",void 0);Nf([(0,di.IsOptional)(),(0,di.ValidateNested)(),(0,e0.Type)(()=>Ju),If("design:type",typeof Ju>"u"?Object:Ju)],ns.prototype,"gIBSCBS",void 0);var xh=require("class-validator");function t0(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(t0,"_ts_decorate");function r0(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(r0,"_ts_metadata");var Yu=class{static{o(this,"IS")}cClassTrib;CSTIS;pISEspec;vBCIS;uTrib;qTrib;pIS;vIS};t0([(0,xh.IsString)(),r0("design:type",String)],Yu.prototype,"cClassTrib",void 0);t0([(0,xh.IsString)(),r0("design:type",String)],Yu.prototype,"CSTIS",void 0);t0([(0,xh.IsString)(),r0("design:type",String)],Yu.prototype,"pISEspec",void 0);t0([(0,xh.IsString)(),r0("design:type",String)],Yu.prototype,"vBCIS",void 0);t0([(0,xh.IsString)(),r0("design:type",String)],Yu.prototype,"uTrib",void 0);t0([(0,xh.IsString)(),r0("design:type",String)],Yu.prototype,"qTrib",void 0);t0([(0,xh.IsString)(),r0("design:type",String)],Yu.prototype,"pIS",void 0);t0([(0,xh.IsString)(),r0("design:type",String)],Yu.prototype,"vIS",void 0);function iu(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(iu,"_ts_decorate");function Qu(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(Qu,"_ts_metadata");var Hi=class{static{o(this,"Imposto")}vTotTrib;ICMS;IPI;ISSQN;II;PIS;PISST;COFINS;COFINSST;ICMSUFDest;IBSCBS;IS};iu([(0,En.IsOptional)(),(0,En.IsNumber)(),Qu("design:type",Number)],Hi.prototype,"vTotTrib",void 0);iu([(0,En.IsOptional)(),(0,En.ValidateNested)(),(0,$u.Type)(()=>zn),Qu("design:type",typeof IICMS>"u"?Object:IICMS)],Hi.prototype,"ICMS",void 0);iu([(0,En.IsOptional)(),(0,En.ValidateNested)(),(0,$u.Type)(()=>Xu),Qu("design:type",typeof IIPI>"u"?Object:IIPI)],Hi.prototype,"IPI",void 0);iu([(0,En.IsOptional)(),(0,En.ValidateNested)(),(0,$u.Type)(()=>Wu),Qu("design:type",typeof IISSQN>"u"?Object:IISSQN)],Hi.prototype,"ISSQN",void 0);iu([(0,En.IsOptional)(),(0,En.ValidateNested)(),(0,$u.Type)(()=>Sf),Qu("design:type",typeof III>"u"?Object:III)],Hi.prototype,"II",void 0);iu([(0,En.IsOptional)(),(0,En.ValidateNested)(),(0,$u.Type)(()=>xf),Qu("design:type",typeof IPIS>"u"?Object:IPIS)],Hi.prototype,"PIS",void 0);iu([(0,En.IsOptional)(),(0,En.ValidateNested)(),(0,$u.Type)(()=>Xc),Qu("design:type",typeof IPISST>"u"?Object:IPISST)],Hi.prototype,"PISST",void 0);iu([(0,En.IsOptional)(),(0,En.ValidateNested)(),(0,$u.Type)(()=>wf),Qu("design:type",typeof ICOFINS>"u"?Object:ICOFINS)],Hi.prototype,"COFINS",void 0);iu([(0,En.IsOptional)(),(0,En.ValidateNested)(),(0,$u.Type)(()=>Jc),Qu("design:type",typeof ICOFINSST>"u"?Object:ICOFINSST)],Hi.prototype,"COFINSST",void 0);iu([(0,En.IsOptional)(),(0,En.ValidateNested)(),(0,$u.Type)(()=>ja),Qu("design:type",typeof IICMSUFDest>"u"?Object:IICMSUFDest)],Hi.prototype,"ICMSUFDest",void 0);iu([(0,En.IsOptional)(),(0,En.ValidateNested)(),(0,$u.Type)(()=>ns),Qu("design:type",typeof IIBSCBS>"u"?Object:IIBSCBS)],Hi.prototype,"IBSCBS",void 0);iu([(0,En.IsOptional)(),(0,En.ValidateNested)(),(0,$u.Type)(()=>Yu),Qu("design:type",typeof IIS>"u"?Object:IIS)],Hi.prototype,"IS",void 0);Hi=iu([nn({properties:["ICMS","ISSQN"]})],Hi);var ty=require("class-validator"),tse=require("class-transformer");function DU(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(DU,"_ts_decorate");function OU(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(OU,"_ts_metadata");var M_=class{static{o(this,"IpiDevol")}vIPIDevol};DU([(0,ty.IsString)(),OU("design:type",String)],M_.prototype,"vIPIDevol",void 0);var Hx=class{static{o(this,"Devol")}pDevol;IPI};DU([(0,ty.IsString)(),OU("design:type",String)],Hx.prototype,"pDevol",void 0);DU([(0,ty.IsOptional)(),(0,ty.ValidateNested)(),(0,tse.Type)(()=>M_),OU("design:type",typeof IIpiDevol>"u"?Object:IIpiDevol)],Hx.prototype,"IPI",void 0);var wh=require("class-validator"),BU=require("class-transformer");function U_(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(U_,"_ts_decorate");function q_(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(q_,"_ts_metadata");var zx=class{static{o(this,"Observation")}xCampo;xTexto};U_([(0,wh.IsString)(),q_("design:type",String)],zx.prototype,"xCampo",void 0);U_([(0,wh.IsString)(),q_("design:type",String)],zx.prototype,"xTexto",void 0);var Kx=class{static{o(this,"ObsItem")}obsCont;obsFisco};U_([(0,wh.IsOptional)(),(0,wh.ValidateNested)(),(0,BU.Type)(()=>zx),q_("design:type",typeof IObservation>"u"?Object:IObservation)],Kx.prototype,"obsCont",void 0);U_([(0,wh.IsOptional)(),(0,wh.ValidateNested)(),(0,BU.Type)(()=>zx),q_("design:type",typeof IObservation>"u"?Object:IObservation)],Kx.prototype,"obsFisco",void 0);function n0(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(n0,"_ts_decorate");function i0(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(i0,"_ts_metadata");var Gx=class{static{o(this,"DetAttributes")}nItem};n0([(0,Qs.IsString)(),i0("design:type",String)],Gx.prototype,"nItem",void 0);var rl=class{static{o(this,"Det")}prod;imposto;impostoDevol;infAdProd;obsItem;vItem};n0([(0,Qs.IsObject)(),(0,Qs.ValidateNested)(),(0,Xx.Type)(()=>Gx),i0("design:type",typeof IDetAttributes>"u"?Object:IDetAttributes)],rl.prototype,"$",void 0);n0([(0,Qs.ValidateNested)(),(0,Xx.Type)(()=>Xt),i0("design:type",typeof IProd>"u"?Object:IProd)],rl.prototype,"prod",void 0);n0([(0,Qs.IsOptional)(),(0,Qs.ValidateNested)(),(0,Xx.Type)(()=>Hi),i0("design:type",typeof IImposto>"u"?Object:IImposto)],rl.prototype,"imposto",void 0);n0([(0,Qs.IsOptional)(),(0,Qs.ValidateNested)(),(0,Xx.Type)(()=>Hx),i0("design:type",typeof IDevol>"u"?Object:IDevol)],rl.prototype,"impostoDevol",void 0);n0([(0,Qs.IsOptional)(),(0,Qs.IsString)(),i0("design:type",String)],rl.prototype,"infAdProd",void 0);n0([(0,Qs.IsOptional)(),(0,Qs.ValidateNested)(),(0,Xx.Type)(()=>Kx),i0("design:type",typeof IObsItem>"u"?Object:IObsItem)],rl.prototype,"obsItem",void 0);n0([(0,Qs.IsOptional)(),ne({fixed:2}),i0("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],rl.prototype,"vItem",void 0);var Zs=require("class-validator");function nl(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(nl,"_ts_decorate");function il(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(il,"_ts_metadata");var $s=class{static{o(this,"Avulsa")}CNPJ;xOrgao;matr;xAgente;fone;UF;nDAR;dEmi;vDAR;repEmi;dPag};nl([(0,Zs.IsString)(),il("design:type",String)],$s.prototype,"CNPJ",void 0);nl([(0,Zs.IsString)(),il("design:type",String)],$s.prototype,"xOrgao",void 0);nl([(0,Zs.IsString)(),il("design:type",String)],$s.prototype,"matr",void 0);nl([(0,Zs.IsString)(),il("design:type",String)],$s.prototype,"xAgente",void 0);nl([(0,Zs.IsOptional)(),(0,Zs.IsString)(),il("design:type",String)],$s.prototype,"fone",void 0);nl([(0,Zs.IsString)(),il("design:type",String)],$s.prototype,"UF",void 0);nl([(0,Zs.IsOptional)(),(0,Zs.IsString)(),il("design:type",String)],$s.prototype,"nDAR",void 0);nl([(0,Zs.IsOptional)(),Fp({format:"YYYY-MM-DD"}),il("design:type",typeof Date>"u"?Object:Date)],$s.prototype,"dEmi",void 0);nl([(0,Zs.IsOptional)(),ne({fixed:2}),il("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],$s.prototype,"vDAR",void 0);nl([(0,Zs.IsString)(),il("design:type",String)],$s.prototype,"repEmi",void 0);nl([(0,Zs.IsOptional)(),(0,Zs.IsDate)(),il("design:type",typeof Date>"u"?Object:Date)],$s.prototype,"dPag",void 0);var rse=require("class-validator");function $Be(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o($Be,"_ts_decorate");function ZBe(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(ZBe,"_ts_metadata");var ry=class{static{o(this,"InfSolicNFF")}xSolic};$Be([(0,rse.IsString)(),ZBe("design:type",String)],ry.prototype,"xSolic",void 0);function Ci(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(Ci,"_ts_decorate");function Ei(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(Ei,"_ts_metadata");var ny=class{static{o(this,"InfNFeAttributes")}Id;versao};Ci([(0,Pt.IsOptional)(),(0,Pt.IsString)(),Ei("design:type",String)],ny.prototype,"Id",void 0);Ci([(0,Pt.IsOptional)(),(0,Pt.IsString)(),Ei("design:type",String)],ny.prototype,"versao",void 0);var Ln=class{static{o(this,"InfNFe")}ide;emit;avulsa;dest;retirada;entrega;autXML;det;total;transp;cobr;pag;infIntermed;infAdic;exporta;compra;cana;infRespTec;infSolicNFF};Ci([(0,Pt.IsObject)(),(0,Pt.IsNotEmptyObject)(),(0,Li.Type)(()=>ny),(0,Pt.ValidateNested)(),Ei("design:type",typeof IInfNFeAttributes>"u"?Object:IInfNFeAttributes)],Ln.prototype,"$",void 0);Ci([(0,Pt.IsObject)(),(0,Pt.IsNotEmptyObject)(),(0,Pt.ValidateNested)(),(0,Li.Type)(()=>sn),Ei("design:type",typeof IIde>"u"?Object:IIde)],Ln.prototype,"ide",void 0);Ci([(0,Pt.IsObject)(),(0,Pt.IsNotEmptyObject)(),(0,Pt.ValidateNested)(),(0,Li.Type)(()=>xs),Ei("design:type",typeof IEmit>"u"?Object:IEmit)],Ln.prototype,"emit",void 0);Ci([(0,Pt.IsOptional)(),(0,Pt.ValidateNested)(),(0,Li.Type)(()=>$s),Ei("design:type",typeof IAvulsa>"u"?Object:IAvulsa)],Ln.prototype,"avulsa",void 0);Ci([(0,Pt.IsOptional)(),(0,Pt.ValidateNested)(),(0,Li.Type)(()=>ws),Ei("design:type",typeof IDest>"u"?Object:IDest)],Ln.prototype,"dest",void 0);Ci([(0,Pt.IsOptional)(),(0,Pt.ValidateNested)(),(0,Li.Type)(()=>Pn),Ei("design:type",typeof ILocal>"u"?Object:ILocal)],Ln.prototype,"retirada",void 0);Ci([(0,Pt.IsOptional)(),(0,Pt.ValidateNested)(),(0,Li.Type)(()=>Pn),Ei("design:type",typeof ILocal>"u"?Object:ILocal)],Ln.prototype,"entrega",void 0);Ci([(0,Pt.IsOptional)(),(0,Pt.ValidateNested)({each:!0}),(0,Pt.ArrayMaxSize)(10),(0,Li.Type)(()=>cf),Ei("design:type",Array)],Ln.prototype,"autXML",void 0);Ci([(0,Pt.ValidateNested)({each:!0}),(0,Pt.ArrayMaxSize)(990),(0,Pt.ArrayMinSize)(1),(0,Li.Type)(()=>rl),Ei("design:type",Array)],Ln.prototype,"det",void 0);Ci([(0,Pt.ValidateNested)(),(0,Li.Type)(()=>qc),Ei("design:type",typeof ITotal>"u"?Object:ITotal)],Ln.prototype,"total",void 0);Ci([(0,Pt.ValidateNested)(),(0,Li.Type)(()=>ya),Ei("design:type",typeof ITransp>"u"?Object:ITransp)],Ln.prototype,"transp",void 0);Ci([(0,Pt.IsOptional)(),(0,Pt.ValidateNested)(),(0,Li.Type)(()=>qm),Ei("design:type",typeof ICobr>"u"?Object:ICobr)],Ln.prototype,"cobr",void 0);Ci([(0,Pt.ValidateNested)(),(0,Li.Type)(()=>Hm),Ei("design:type",typeof IPag>"u"?Object:IPag)],Ln.prototype,"pag",void 0);Ci([(0,Pt.IsOptional)(),(0,Pt.ValidateNested)(),(0,Li.Type)(()=>Fm),Ei("design:type",typeof IInfIntermed>"u"?Object:IInfIntermed)],Ln.prototype,"infIntermed",void 0);Ci([(0,Pt.IsOptional)(),(0,Pt.ValidateNested)(),(0,Li.Type)(()=>Hc),Ei("design:type",typeof IInfAdic>"u"?Object:IInfAdic)],Ln.prototype,"infAdic",void 0);Ci([(0,Pt.IsOptional)(),(0,Pt.ValidateNested)(),(0,Li.Type)(()=>zp),Ei("design:type",typeof IExporta>"u"?Object:IExporta)],Ln.prototype,"exporta",void 0);Ci([(0,Pt.IsOptional)(),(0,Pt.ValidateNested)(),(0,Li.Type)(()=>Kp),Ei("design:type",typeof ICompra>"u"?Object:ICompra)],Ln.prototype,"compra",void 0);Ci([(0,Pt.IsOptional)(),(0,Pt.ValidateNested)(),(0,Li.Type)(()=>Sa),Ei("design:type",typeof ICana>"u"?Object:ICana)],Ln.prototype,"cana",void 0);Ci([(0,Pt.IsOptional)(),(0,Pt.ValidateNested)(),(0,Li.Type)(()=>qu),Ei("design:type",typeof IInfRespTec>"u"?Object:IInfRespTec)],Ln.prototype,"infRespTec",void 0);Ci([(0,Pt.IsOptional)(),(0,Pt.ValidateNested)(),(0,Li.Type)(()=>ry),Ei("design:type",typeof ISolicNFF>"u"?Object:ISolicNFF)],Ln.prototype,"infSolicNFF",void 0);var PU=require("class-transformer");function H_(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(H_,"_ts_decorate");function z_(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(z_,"_ts_metadata");var Wx=class{static{o(this,"NFeAttributes")}xmlns};H_([(0,qa.IsString)(),(0,qa.IsNotEmpty)(),z_("design:type",String)],Wx.prototype,"xmlns",void 0);var Ch=class{static{o(this,"NFe")}$;infNFe;Signature};H_([(0,qa.IsObject)(),(0,qa.IsNotEmptyObject)(),(0,PU.Type)(()=>Wx),(0,qa.ValidateNested)(),z_("design:type",typeof INFeAttributes>"u"?Object:INFeAttributes)],Ch.prototype,"$",void 0);H_([(0,qa.IsObject)(),(0,qa.IsNotEmptyObject)(),(0,PU.Type)(()=>Ln),(0,qa.ValidateNested)(),z_("design:type",typeof IInfNFe>"u"?Object:IInfNFe)],Ch.prototype,"infNFe",void 0);H_([(0,qa.Allow)(),z_("design:type",typeof Signature>"u"?Object:Signature)],Ch.prototype,"Signature",void 0);function su(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(su,"_ts_decorate");function wr(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(wr,"_ts_metadata");var Is=class{static{o(this,"NfeDetXmlBuilder")}listener;schema;data={};static create(e,t="PL_009_V4"){return new this(e,t)}constructor(e,t="PL_009_V4"){this.listener=e,this.schema=t}det(e){return this.data.$=e,this}prod(e){return this.data.prod=e,this.listener?.prod(e),this}imposto(e){return this.data.imposto=e,this}icms(e){return this.data.imposto??={},this.data.imposto.ICMS=e,this.listener?.icms(e),this}issqn(e){return this.data.imposto??={},this.data.imposto.ISSQN=e,this}ii(e){return this.data.imposto??={},this.data.imposto.II=e,this}ipi(e){return this.data.imposto??={},this.data.imposto.IPI=e,this}pis(e){return this.data.imposto??={},this.data.imposto.PIS=e,this.listener?.pis(e),this}pisst(e){return this.data.imposto??={},this.data.imposto.PISST=e,this}cofins(e){return this.data.imposto??={},this.data.imposto.COFINS=e,this.listener?.cofins(e),this}cofinsst(e){return this.data.imposto??={},this.data.imposto.COFINSST=e,this}icmsufdest(e){return this.data.imposto??={},this.data.imposto.ICMSUFDest=e,this}ibscbs(e){return this.schema===Vp.PL_009_V4?this:(this.data.imposto??={},this.data.imposto.IBSCBS=e,this)}vItem(e){return this.schema===Vp.PL_009_V4?this:(this.data.vItem=e.vItem,this)}assemble(){this.data.imposto&&this.imposto(this.data.imposto);let e={...this.data};return this.data={},e}};su([Ht(Gx),wr("design:type",Function),wr("design:paramtypes",[typeof IDetAttributes>"u"?Object:IDetAttributes]),wr("design:returntype",void 0)],Is.prototype,"det",null);su([Ht(Xt),wr("design:type",Function),wr("design:paramtypes",[typeof IProd>"u"?Object:IProd]),wr("design:returntype",void 0)],Is.prototype,"prod",null);su([Ht(Hi),wr("design:type",Function),wr("design:paramtypes",[typeof IImposto>"u"?Object:IImposto]),wr("design:returntype",void 0)],Is.prototype,"imposto",null);su([Ht(zn),wr("design:type",Function),wr("design:paramtypes",[typeof IICMS>"u"?Object:IICMS]),wr("design:returntype",void 0)],Is.prototype,"icms",null);su([Ht(Wu),wr("design:type",Function),wr("design:paramtypes",[typeof IISSQN>"u"?Object:IISSQN]),wr("design:returntype",void 0)],Is.prototype,"issqn",null);su([Ht(Sf),wr("design:type",Function),wr("design:paramtypes",[typeof III>"u"?Object:III]),wr("design:returntype",void 0)],Is.prototype,"ii",null);su([Ht(Xu),wr("design:type",Function),wr("design:paramtypes",[typeof IIPI>"u"?Object:IIPI]),wr("design:returntype",void 0)],Is.prototype,"ipi",null);su([Ht(xf),wr("design:type",Function),wr("design:paramtypes",[typeof IPIS>"u"?Object:IPIS]),wr("design:returntype",void 0)],Is.prototype,"pis",null);su([Ht(Xc),wr("design:type",Function),wr("design:paramtypes",[typeof IPISST>"u"?Object:IPISST]),wr("design:returntype",void 0)],Is.prototype,"pisst",null);su([Ht(wf),wr("design:type",Function),wr("design:paramtypes",[typeof ICOFINS>"u"?Object:ICOFINS]),wr("design:returntype",void 0)],Is.prototype,"cofins",null);su([Ht(Jc),wr("design:type",Function),wr("design:paramtypes",[typeof ICOFINSST>"u"?Object:ICOFINSST]),wr("design:returntype",void 0)],Is.prototype,"cofinsst",null);su([Ht(ja),wr("design:type",Function),wr("design:paramtypes",[typeof IICMSUFDest>"u"?Object:IICMSUFDest]),wr("design:returntype",void 0)],Is.prototype,"icmsufdest",null);su([Ht(ns),wr("design:type",Function),wr("design:paramtypes",[typeof ns>"u"?Object:ns]),wr("design:returntype",void 0)],Is.prototype,"ibscbs",null);function is(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(is,"_ts_decorate");function Nt(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(Nt,"_ts_metadata");var Fn=class{static{o(this,"NfeXmlBuilder")}builder;contingency;schema;data={$:{xmlns:"http://www.portalfiscal.inf.br/nfe"},infNFe:{total:{ICMSTot:{}}}};$data=void 0;get entity(){return Ch}root="NFe";$det=new D2(this);$total=new O2(this);nfeDetXmlBuilder;static create(e,t,n="PL_009_V4"){return new this(e,t,n)}constructor(e,t,n="PL_009_V4"){this.builder=e,this.contingency=t,this.schema=n,this.nfeDetXmlBuilder=Is.create(this.$det,this.schema)}infNFe(e){return this.data.infNFe.$=e,this}ide(e){return this.data.infNFe.ide=e,this}emit(e){return this.data.infNFe.emit=e,this}avulsa(e){return this.data.infNFe.avulsa=e,this}dest(e){return this.data.infNFe.dest=e,this}retirada(e){return this.data.infNFe.retirada=e,this}entrega(e){return this.data.infNFe.entrega=e,this}autXML(e){return this.data.infNFe.autXML??=[],this.data.infNFe.autXML.push(e),this}det(e,t){return this.data.infNFe.det=e.map((n,i)=>{let s=t(this.nfeDetXmlBuilder.det({nItem:(i+1).toString()}),n);return this.collect(s),s.assemble()}),this}total(e){return this.data.infNFe.total=e,this}increment(e){let t=e(this.data.infNFe.total,this.data.infNFe.det);return this.data.infNFe.total={...this.data.infNFe.total,ICMSTot:{...this.data.infNFe.total.ICMSTot,...t.ICMSTot},ISSQNtot:t.ISSQNtot?{...this.data.infNFe.total.ISSQNtot,...t.ISSQNtot}:void 0},this.schema!==Vp.PL_009_V4&&this.buildTotalForPL_010(t),this}buildTotalForPL_010(e){this.data.infNFe.total={...this.data.infNFe.total,IBSCBSTot:{...this.data.infNFe.total.IBSCBSTot,gCBS:{...this.data.infNFe.total.IBSCBSTot?.gCBS},gIBS:{...this.data.infNFe.total.IBSCBSTot?.gIBS,gIBSMun:{...this.data.infNFe.total.IBSCBSTot?.gIBS?.gIBSMun},gIBSUF:{...this.data.infNFe.total.IBSCBSTot?.gIBS?.gIBSUF}},gMono:{...this.data.infNFe.total.IBSCBSTot?.gMono}},vNFTot:e.vNFTot}}transp(e){return this.data.infNFe.transp=e,this}cobr(e){return this.data.infNFe.cobr=e,this}pag(e){return this.data.infNFe.pag=e,this}infIntermed(e){return this.data.infNFe.infIntermed=e,this}infAdic(e){return this.data.infNFe.infAdic=e,this}exporta(e){return this.data.infNFe.exporta=e,this}compra(e){return this.data.infNFe.compra=e,this}cana(e){return this.data.infNFe.cana=e,this}infRespTec(e){return this.data.infNFe.infRespTec=e,this}infSolicNFF(e){return this.data.infNFe.infSolicNFF=e,this}quiet(){return Reflect.deleteMetadata(Po,this),this}toObject(){if(this.$data!==void 0)return gr(this.$data);let e=this.errors();return e?Xr(new fr(e.join(", "))):(this.$total?.aggregate(),this.assertHomologValidations(),this.assertContingencyModes(),this.fillAccessKeyIfEmpty(),this.$data=_w(this.data,this.entity,{clearEmptyValues:!0}),gr(this.$data))}async assemble(){let e=this.toObject();return e.isLeft()?e:gr(await this.builder.build(e.value,{rootName:this.root}))}assertHomologValidations(){return this.data.infNFe.ide.tpAmb!==qe.Homolog?!1:(this.data.infNFe.dest&&(this.data.infNFe.dest.xNome="NF-E EMITIDA EM AMBIENTE DE HOMOLOGACAO - SEM VALOR FISCAL"),!0)}assertContingencyModes(){if(this.contingency===void 0)return this.automaticallyInferContingencyMode();this.data.infNFe.ide.dhCont??=this.contingency.dhCont,this.data.infNFe.ide.xJust??=this.contingency.xJust;let{cUF:e,tpEmis:t}=this.data.infNFe.ide;if(t!==ha.Normal)return;switch(b_[e]){case"SVCAN":return this.data.infNFe.ide.tpEmis=ha.SVCAN,void 0;case"SVCRS":return this.data.infNFe.ide.tpEmis=ha.SVCRS,void 0}}automaticallyInferContingencyMode(){let{xJust:e,dhCont:t,tpEmis:n}=this.data.infNFe.ide;if(!(!e&&!t&&n===ha.Normal))return this.contingency={xJust:e??"SEFAZ fora do Ar",dhCont:t??new Date().toISOString()},this.assertContingencyModes()}errors(){return Reflect.getMetadata(Po,this)}collect(e){let t=Reflect.getMetadata(Po,e);if(!t)return;let n=this.errors();Reflect.defineMetadata(Po,(n??[]).concat(t),this)}fillAccessKeyIfEmpty(){if(this.data.infNFe.$.Id)return;let e=new R2().compile({cUF:this.data.infNFe.ide.cUF,year:this.data.infNFe.ide.dhEmi.substring(2,4),month:this.data.infNFe.ide.dhEmi.substring(5,7),identification:this.data.infNFe.emit.CPF??this.data.infNFe.emit.CNPJ,mod:this.data.infNFe.ide.mod,serie:this.data.infNFe.ide.serie,nNF:this.data.infNFe.ide.nNF,tpEmis:this.data.infNFe.ide.tpEmis,cNF:this.data.infNFe.ide.cNF});this.data.infNFe.ide.cDV=e.slice(-1),this.data.infNFe.$={Id:`${this.root}${e}`,versao:this.data.infNFe.$.versao}}};is([Ht(ny),Nt("design:type",Function),Nt("design:paramtypes",[typeof IInfNFeAttributes>"u"?Object:IInfNFeAttributes]),Nt("design:returntype",void 0)],Fn.prototype,"infNFe",null);is([Ht(sn),Nt("design:type",Function),Nt("design:paramtypes",[typeof IIde>"u"?Object:IIde]),Nt("design:returntype",void 0)],Fn.prototype,"ide",null);is([Ht(xs),Nt("design:type",Function),Nt("design:paramtypes",[typeof IEmit>"u"?Object:IEmit]),Nt("design:returntype",void 0)],Fn.prototype,"emit",null);is([Ht($s),Nt("design:type",Function),Nt("design:paramtypes",[typeof IAvulsa>"u"?Object:IAvulsa]),Nt("design:returntype",void 0)],Fn.prototype,"avulsa",null);is([Ht(ws),Nt("design:type",Function),Nt("design:paramtypes",[typeof IDest>"u"?Object:IDest]),Nt("design:returntype",void 0)],Fn.prototype,"dest",null);is([Ht(Pn),Nt("design:type",Function),Nt("design:paramtypes",[typeof ILocal>"u"?Object:ILocal]),Nt("design:returntype",void 0)],Fn.prototype,"retirada",null);is([Ht(Pn),Nt("design:type",Function),Nt("design:paramtypes",[typeof ILocal>"u"?Object:ILocal]),Nt("design:returntype",void 0)],Fn.prototype,"entrega",null);is([Ht(cf),Nt("design:type",Function),Nt("design:paramtypes",[typeof IAutXML>"u"?Object:IAutXML]),Nt("design:returntype",void 0)],Fn.prototype,"autXML",null);is([Ht(qc),Nt("design:type",Function),Nt("design:paramtypes",[typeof ITotal>"u"?Object:ITotal]),Nt("design:returntype",void 0)],Fn.prototype,"total",null);is([Ht(ya),Nt("design:type",Function),Nt("design:paramtypes",[typeof ITransp>"u"?Object:ITransp]),Nt("design:returntype",void 0)],Fn.prototype,"transp",null);is([Ht(qm),Nt("design:type",Function),Nt("design:paramtypes",[typeof ICobr>"u"?Object:ICobr]),Nt("design:returntype",void 0)],Fn.prototype,"cobr",null);is([Ht(Hm),Nt("design:type",Function),Nt("design:paramtypes",[typeof IPag>"u"?Object:IPag]),Nt("design:returntype",void 0)],Fn.prototype,"pag",null);is([Ht(Fm),Nt("design:type",Function),Nt("design:paramtypes",[typeof IInfIntermed>"u"?Object:IInfIntermed]),Nt("design:returntype",void 0)],Fn.prototype,"infIntermed",null);is([Ht(Hc),Nt("design:type",Function),Nt("design:paramtypes",[typeof IInfAdic>"u"?Object:IInfAdic]),Nt("design:returntype",void 0)],Fn.prototype,"infAdic",null);is([Ht(zp),Nt("design:type",Function),Nt("design:paramtypes",[typeof IExporta>"u"?Object:IExporta]),Nt("design:returntype",void 0)],Fn.prototype,"exporta",null);is([Ht(Kp),Nt("design:type",Function),Nt("design:paramtypes",[typeof ICompra>"u"?Object:ICompra]),Nt("design:returntype",void 0)],Fn.prototype,"compra",null);is([Ht(Sa),Nt("design:type",Function),Nt("design:paramtypes",[typeof ICana>"u"?Object:ICana]),Nt("design:returntype",void 0)],Fn.prototype,"cana",null);is([Ht(qu),Nt("design:type",Function),Nt("design:paramtypes",[typeof IInfRespTec>"u"?Object:IInfRespTec]),Nt("design:returntype",void 0)],Fn.prototype,"infRespTec",null);is([Ht(ry),Nt("design:type",Function),Nt("design:paramtypes",[typeof ISolicNFF>"u"?Object:ISolicNFF]),Nt("design:returntype",void 0)],Fn.prototype,"infSolicNFF",null);var mI=class extends ux{static{o(this,"NfeXmlBuilderPipeline")}certificate;schema;builder=Fn.create(this.toolkit);constructor(e,t="PL_009_V4"){super(e),this.certificate=e,this.schema=t}build(e){return e(this.builder),this}async assemble(){let e=await this.builder.assemble();return e.isLeft()?e:this.assertXmlSignedAndValidated(e.value)}get nfeXsdSchema(){return nse.default.resolve(T2(),this.schema,"nfe_v4.00.xsd")}async assertXmlSignedAndValidated(e){if(!this.certificate)return gr(e);let t=await this.signXmlString(e);return t.isLeft()?t:this.validateXmlString(t.value)}async signXmlString(e){if(!this.certificate)return gr(e);let t=await this.certificates.read(this.certificate);return t.isLeft()?t:this.xmlSigner.sign(e,{tag:"infNFe",mark:"Id"},t.value)}async validateXmlString(e){let t=await this.toolkit.validate(e,this.nfeXsdSchema);return t.isLeft()?t:gr(e)}};var X_=require("class-transformer"),Ao=require("class-validator");var _U=require("class-validator");function ise(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(ise,"_ts_decorate");function sse(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(sse,"_ts_metadata");var Jx=class{static{o(this,"InfNFeSupl")}qrCode;urlChave};ise([(0,_U.IsString)(),sse("design:type",String)],Jx.prototype,"qrCode",void 0);ise([(0,_U.IsString)(),sse("design:type",String)],Jx.prototype,"urlChave",void 0);function K_(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(K_,"_ts_decorate");function G_(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(G_,"_ts_metadata");var Tf=class{static{o(this,"NFCe")}$;infNFe;infNFeSupl;Signature};K_([(0,Ao.IsObject)(),(0,Ao.IsNotEmptyObject)(),(0,X_.Type)(()=>Wx),(0,Ao.ValidateNested)(),G_("design:type",typeof INFeAttributes>"u"?Object:INFeAttributes)],Tf.prototype,"$",void 0);K_([(0,Ao.IsObject)(),(0,Ao.IsNotEmptyObject)(),(0,X_.Type)(()=>Ln),(0,Ao.ValidateNested)(),G_("design:type",typeof IInfNFe>"u"?Object:IInfNFe)],Tf.prototype,"infNFe",void 0);K_([(0,Ao.IsObject)(),(0,Ao.IsNotEmptyObject)(),(0,X_.Type)(()=>Jx),(0,Ao.ValidateNested)(),G_("design:type",typeof IInfNFeSupl>"u"?Object:IInfNFeSupl)],Tf.prototype,"infNFeSupl",void 0);K_([(0,Ao.Allow)(),G_("design:type",typeof Signature>"u"?Object:Signature)],Tf.prototype,"Signature",void 0);var gI=class extends Fn{static{o(this,"NfceXmlBuilder")}data={$:{xmlns:"http://www.portalfiscal.inf.br/nfe"},infNFe:{total:{ICMSTot:{}}}};get entity(){return Tf}static create(e,t,n="PL_009_V4"){return new this(e,t,n)}assertHomologValidations(){return super.assertHomologValidations()?(this.data.infNFe.det[0].prod.xProd="NOTA FISCAL EMITIDA EM AMBIENTE DE HOMOLOGACAO - SEM VALOR FISCAL",!0):!1}assertContingencyModes(){if(this.contingency===void 0)return this.automaticallyInferContingencyMode();this.data.infNFe.ide.dhCont??=this.contingency.dhCont,this.data.infNFe.ide.xJust??=this.contingency.xJust;let{tpEmis:e}=this.data.infNFe.ide;if(e===ha.Normal)return this.data.infNFe.ide.tpEmis=ha.OFFLINE,void 0}};var LU=class extends mI{static{o(this,"NfceXmlBuilderPipeline")}options;nfceQrcode=new Jo(this.certificates);transmitter=new yo(this.soap,this.nfceQrcode);constructor(e,t="PL_009_V4",n){super(e,t),this.options=n}builder=gI.create(this.toolkit,void 0,this.schema);async assertXmlSignedAndValidated(e){let t=await super.assertXmlSignedAndValidated(e);if(t.isLeft()||!this.options?.qrCode)return t;if(!this.certificate)return Xr(new fr("Certificate is required to assemble NFCe XML with QR Code"));let n=await this.toolkit.parse(t.value),i=await this.generateQrCode(n,this.options,this.certificate);if(i.isLeft())return i;let s=await this.toolkit.build(n,{rootName:"NFe"}),a=await this.toolkit.build(i.value,{rootName:"infNFeSupl"}),u=this.toolkit.insertBefore(s,"Signature",a);return gr(u)}async generateQrCode(e,t,n){let i=this.transmitter.service({cUF:e.infNFe.ide.cUF,tpAmb:e.infNFe.ide.tpAmb,service:"NfeConsultaQR"}),s={...t.qrCode};switch(s.version??=i.version,s.version){case"200":return await this.nfceQrcode.execute(e,{version:s.version,urlConsult:this.transmitter.getUrlConsult(e),urlService:i.url,CSC:s.CSC,CSCId:s.CSCId});case"300":{let a=await this.certificates.read(n);return a.isLeft()?a:await this.nfceQrcode.execute(e,{version:s.version,certificate:a.value,urlConsult:this.transmitter.getUrlConsult(e),urlService:i.url})}default:return w0(s.version)}}};var ase="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAg0AAAFXCAYAAAAh5X2YAAAgAElEQVR4nOy9e5xdZX3v//7sDENMY0zTNCcnJ+XQlEORw0TkRzkUYSCZaKkSBrwEa8XLD5tgBtA2M6HUenxZj1Umk1pJhpLUS71Uy2gp4WK9ZAJM1HootZpYDz9+/CylkQaIiCHEECbz/f2xnmettffc9mWtfZl53jDZa6/P2mt/n2evtZ7v831uIhCokN7d+9qRFgAL3d98jIWGLUJaLOOXEEsMu31r18qvNtjcQCAQCGSEGm1AoP5sGt7fJmw+aIGZzZc032C+YDGwEGMhspeBFgGLgIWGLRBaDCwyrF2oALQBBaBgUPAXk2EACB017O1bu1Z+uQHJDAQCgUDGBKehhekd3t8OzPMFPzCfqJBfDCzG7JeAhSYtBluEsRixEDQfrA2jHdEOtGG0ASCBK/Rj/NvqtMOS1g50dYxkkeZAIBAINI7gNDQZm3bvL4DNkzTfzOYDy4SWIZYB/wlYitlipKVEUYG5iLkY89zrxL+qOaEx2hNmtmrrmpWPTJf+QCAQCDQvwWloML3D+xaYcaGkc4D/DpwK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i8grgUtLuazI0Rluw/GM30FsBH7aaFLicp0JydSWkadhEDgDU5QGgInBJ1tPbswOeB+8DCYM6fv4ZTMSHV0vasXroYLTLxbt4xrIuumWoZ4VPCVcQ77oMSg0KCkQfAgUd2GQUmDiYx4IYt9KgcSGaLuaGgx375V4mLQlxRlbjwkM4w5hLQP+QnEnup7siDdJfwVwQGhYWAY+yCVvxGHKv2k7rhkqq0XFZ2Q+SdJQ7EbaFhRXohPAZ2xK6WMxIiiBXlQNfkbytfAUDIvRrX3jyoD6F3TvlXQDn4gmhMdAg8LhgTbiYMli/nsD4AbgF0yI+ARSQdsFww3Aa9F75GD0hA4aQlRPYETiu7+lZlp/PaD0zK/XXvhm1+Z0ZQZKedkiG31OOW+qJIlJynStSeSCL5jI3sZuPjchccju2Q9cUzBImCGYb+grmZEg3vmGBbFpw521paOHv+z+wAtxixCHgQNFPPZceeOmCpyhdJ024skTbfZK7GrtvJlrlCajjnfcrPQ1mI++9po7QUCJxtBaQickPz0lbefPeuU//gi6NKythBT8YFHP5VD6Vw5eRGh8rVTL9MQ+J3nLtw8ocJIgUAg8HoiuCcCJyQXn/XPLxv9AfhD0dE5V05M1JyySGRlV0X56GSSuOkYyPDtRkFhCAQCb2iCpSFwwjOwfeksSR+2uVFicdo9keBylsho558uglR2YUyNbMTwOcynliw6XtUyA4FA4NgQlIbA64YtO1pnAVfbvklwPlJLteOiQvJ6tStj0mWv2r4T8dCShZuDwhAIBN7wBKUh8LpjYEdrk+xzkN4PdNheDKpJmxxZI5L4yEmUHTC8LLvH8NiSRZtDkFwgEDhpCEpD4HXNwI6lGaGzsLNIFwMXAfNsWiQyaftA5SsNXquR2SNIh8AHQVsxLyB+CmwCdh6rSpiBQCBwIhGUhsAbii07WrGZI/lsw2JgIWa+pDnALOyoaFEcq2AzIrEPOIC9B9iN9H+AndjbLe1asjDEKgQCgQDA/wf59f5AwcXxcQAAAABJRU5ErkJggg==";var Yx=class r{static{o(this,"Header")}context;static _instance;static instance(e){return this._instance??=new r(e)}constructor(e){this.context=e}get builder(){return this.context.builder}emit(e){let{left:t,right:n}=this.builder.pageMargins(),i=e?.x??t,s=this.context.data.infNFe.emit,{enderEmit:a}=s,{xNome:u}=s,c=this.context.defaults.font,l=`${c}-Bold`,p="left";this.builder.row({left:i,right:n},h=>this.builder.text(this.identification(s),{...h,continued:!0,align:p}).font(l).text(` ${u}`,{...h,align:p}).font(c)).row({left:i,right:n},h=>this.builder.text(this.addressLine1(a),{...h,continued:!0,align:p}).text(this.addressLine2(a),{...h,continued:!0,align:p}).text(this.addressLine3(a),{...h,align:p})).row({left:i,right:n},h=>this.builder.text(this.addressLine4(a),{...h,align:p}))}identification(e){let t=this.cpfOrCnpj(e),n=e.IE.length?` IE: ${e.IE}`:"";return`${t}${n}`}cpfOrCnpj(e){let{CNPJ:t,CPF:n}=e;return t?.length===14?`CNPJ ${t.replace(/(\d{2})(\d{3})(\d{3})(\d{4})(\d{2})/,"$1.$2.$3/$4-$5")}`:n?.length===11?`CPF ${n.replace(/(\d{3})(\d{3})(\d{3})(\d{2})/,"$1.$2.$3-$4")}`:""}addressLine1(e){let{xLgr:t,nro:n}=e;return`${t}, ${n}`}addressLine2(e){let{xBairro:t}=e;return`, ${t}`}addressLine3(e){let{xMun:t,UF:n}=e;return`, ${t} - ${n}`}addressLine4(e){let{fone:t}=e;return t?`Fone: ${t.replace(/(\d{2})(\d{4,5})(\d{4})/,"($1) $2-$3")}`:""}staticTexts(){let{left:e,right:t}=this.builder.pageMargins();this.builder.moveDown(.5).fontSize(this.context.options.titleFontSize).row({left:e,right:t},n=>this.builder.text("Documento Auxiliar da Nota Fiscal de Consumidor Eletr\xF4nica",{...n,align:"center"})).row({left:e,right:t},n=>this.builder.text("N\xE3o permite aproveitamento de cr\xE9dito de ICMS",{...n,align:"center"}))}get logo(){let{logo:e,ignoreDefaultLogo:t}=this.context.options;if(e)return e;if(!t)return ase}setup(){this.builder.font(this.context.defaults.font,this.context.options.textFontSize)}build(){return this.setup(),this.emit(),this.staticTexts(),this.builder}end(){r._instance=void 0}};var Eh=class r{static{o(this,"FiscalMessages")}context;static _instance;constants={issuedInContingency:"EMITIDA EM CONTING\xCANCIA",pendingOfAuthorization:"Pendente de autoriza\xE7\xE3o",notProtocoledInNormalEmission:"PENDENTE DE AUTORIZA\xC7\xC3O - SEM VALOR FISCAL"};static instance(e){return this._instance??=new r(e)}constructor(e){this.context=e}get builder(){return this.context.builder}get contingencyBannerText(){return`${this.constants.issuedInContingency}
132
+ `).reduce((s,a)=>{let[u,c]=a.split("=").map(l=>l.trim());return!u||!c?s:s.set(u,c)},new Map),i=this.oid("2.16.76.1.3.1",e.raw);return{CNPJ:this.oid("2.16.76.1.3.3",e.raw),CPF:i,CN:n.get("CN"),O:n.get("O"),OU:n.get("OU"),ST:n.get("ST"),L:n.get("L"),C:n.get("C")}}oid(e,t){let n=this.marker(e),i=t.indexOf(n);if(i===-1)return;let s=[t.subarray(0,i),t.subarray(i)];if(s.length<=1)return;let u=s[0].subarray(-4),c=u.subarray(-2);u[0]===48?c=u:u[1]===48&&(c=u.subarray(-3));let l=Buffer.concat([c,n,s[1]]),p=this.length(l),h=n.length,g=l.subarray(2+h,2+h+p),y=g.length-c.length-2;if(y<=0||y>g.length)return;let b=g.subarray(-y).toString("utf8");return b.substring(Buffer.from(b).findIndex((S,A)=>b.charCodeAt(A)>=32&&b.charCodeAt(A)<=126))}length(e){return e.length<2?0:e[1]<=127?e[1]:Buffer.from([e[1]&15]).reduce((t,n)=>t<<8|n,0)}marker(e){let t=e.split("."),n=t.slice(2).reduce((i,s)=>{let a=this.base128(i,Number.parseInt(s,10),!0);return i.length=0,i.push(...a),i},[]);return Buffer.from([6,n.length+1,40*Number.parseInt(t[0],10)+Number.parseInt(t[1],10),...n])}base128(e,t,n){let i=[...e];if(t>127){let a=this.base128(e,Math.floor(t/128),!1);a.length=0,i.push(...a)}let s=t%128;return n?i.push(s):i.push(128|s),i}};var ha=(function(r){return r.Normal="1",r.EPEC="4",r.SVCAN="6",r.SVCRS="7",r.OFFLINE="9",r})({});var kp=(function(r){return r.Cancelamento="110111",r})({});var zBe={PL_009_V4:"PL_009_V4",PL_010_V1:"PL_010_V1",PL_010_V1_21:"PL_010_V1.21",PL_010_V1_30:"PL_010_V1.30"},T2=o(()=>{if(process.env.NFETS_NFE_SCHEMAS_DIR)return process.env.NFETS_NFE_SCHEMAS_DIR;try{return B1("packages/nfe/schemas",{onFound:o(r=>r,"onFound"),onNotFound:o(()=>{throw new Error("Schemas not found on packages/nfe/schemas")},"onNotFound")})}catch{return B1("nfe/schemas",{onFound:o(r=>r,"onFound"),onNotFound:o(()=>{throw new Error("Schemas not found on nfe/schemas")},"onNotFound")})}},"schemas"),Vp=zBe;var R2=class{static{o(this,"AccessKeyBuilder")}compile(e){let t=e.cUF.toString().padStart(2,"0"),n=e.year.toString().padStart(2,"0"),i=e.month.toString().padStart(2,"0"),s=(e.identification??"").padStart(14,"0"),a=e.mod.toString().padStart(2,"0"),u=e.serie.toString().padStart(3,"0"),c=e.nNF.toString().padStart(9,"0"),l=e.tpEmis.toString().padStart(1,"0"),p=(e.cNF??this.code()).toString().padStart(8,"0"),h=`${t}${n}${i}${s}${a}${u}${c}${l}${p}`;return`${h}${this.verifyingDigit(h)}`}decompile(e){if(e.length!==44)return;let n=/^([0-9]{2})([0-9]{2})([0-9]{2})([0-9]{14})([0-9]{2})([0-9]{3})([0-9]{9})([0-9]{1})([0-9]{8})([0-9]{1})$/.exec(e);if(!n)return;let[i,s,a,u,c,l,p,h,g,y,v]=n;return{cUF:s,year:a,month:u,identification:c,mod:l,serie:p,nNF:h,tpEmis:g,cNF:y,vd:v}}code(){let e=Math.floor(Math.random()*1e8).toString().padStart(8,"0");return this.isCodeValid(e)?e:this.code()}isCodeValid(e){return!~["00000000","11111111","22222222","33333333","44444444","55555555","66666666","77777777","88888888","99999999","12345678","23456789","34567890","45678901","56789012","67890123","78901234","89012345","90123456","01234567"].indexOf(e)}verifyingDigit(e){let t=[2,3,4,5,6,7,8,9],n=42,i=0;for(;n>=0;)for(let a=0;a<8&&n>=0;a++){let u=parseInt(e[n]);i+=u*t[a],n--}let s=11-i%11;return s>9?0:s}};var D2=class{static{o(this,"DefaultDetBuilderAggregator")}builder;constructor(e){this.builder=e}prod(e){let t=$r.from(0);this.builder.increment(({ICMSTot:n})=>({ICMSTot:{vProd:$r.newOrZero(n?.vProd).add(e.vProd).toFixed(2),vFrete:$r.newOrZero(n?.vFrete).add(e.vFrete??t).toFixed(2),vSeg:$r.newOrZero(n?.vSeg).add(e.vSeg??t).toFixed(2),vDesc:$r.newOrZero(n?.vDesc).add(e.vDesc??t).toFixed(2),vOutro:$r.newOrZero(n?.vOutro).add(e.vOutro??t).toFixed(2)}}))}cofins(e){let t=$r.from(0);this.builder.increment(({ICMSTot:n})=>({ICMSTot:{vCOFINS:$r.newOrZero(n?.vCOFINS).add(e.COFINSAliq?.vCOFINS??e.COFINSOutr?.vCOFINS??e.COFINSQtde?.vCOFINS??t).toFixed(2)}}))}pis(e){let t=$r.from(0);this.builder.increment(({ICMSTot:n})=>({ICMSTot:{vPIS:$r.newOrZero(n?.vPIS).add(e.PISAliq?.vPIS??e.PISOutr?.vPIS??e.PISQtde?.vPIS??t).toFixed(2)}}))}icms(e){let t=$r.from(0),[n]=Object.keys(e),i=e[n];this.builder.increment(({ICMSTot:s})=>({ICMSTot:{vBC:$r.newOrZero(s?.vBC).add(i.vBC??t).toFixed(2),vICMS:$r.newOrZero(s?.vICMS).add(i.vICMS??t).toFixed(2),vICMSDeson:$r.newOrZero(s?.vICMSDeson).add(i.vICMSDeson??t).toFixed(2),vBCST:$r.newOrZero(s?.vBCST).add(i.vBCST??t).toFixed(2),vST:$r.newOrZero(s?.vST).add(i.vICMSST??t).toFixed(2)}}))}};var O2=class{static{o(this,"DefaultTotalBuilderAggregator")}builder;constructor(e){this.builder=e}aggregate(){let e=$r.from(0),t=this.builder.schema===Vp.PL_010_V1_30;this.builder.increment(({ICMSTot:n,ISSQNtot:i},s)=>({vNFTot:t?s.reduce((a,u)=>a.add(u?.vItem??"0.00"),e).toFixed(2):void 0,ICMSTot:{vNF:$r.newOrZero(n?.vProd).sub(n?.vDesc??e).sub(n?.vICMSDeson??e).add(n?.vST??e).add(n?.vFCPST??e).add(n?.vFrete??e).add(n?.vSeg??e).add(n?.vOutro??e).add(n?.vII??e).add(n?.vIPI??e).add(n?.vIPIDevol??e).add(i?.vServ??e).toFixed(2)}}))}};var xie={[kp.Cancelamento]:{method:"envEventoCancNFe",version:"1.00",descEvento:"Cancelamento"}};var zM=lr(require("crypto"),1);var f_=class{static{o(this,"CryptoSignerRepository")}async sign(e,t,n){try{if(!t.privateKey)return Xr(new fr("Certificate private key not found"));let s=zM.default.sign(n,Buffer.from(e),{key:t.privateKey,padding:zM.default.constants.RSA_PKCS1_PADDING}).toString("base64");return await Promise.resolve(gr(s))}catch(i){return Promise.resolve(Kf(i))}}};var ux=class{static{o(this,"Pipeline")}certificate;xmlns="http://www.portalfiscal.inf.br/nfe";http=D1.create();toolkit=new Mv;caching=new kw;signerRepository=new f_;certificates=new tC(this.http,this.signerRepository,this.caching);soap=new uE(this.toolkit,this.certificates);signer=new Ow(this.toolkit,this.certificates);xmlSigner=new Bw(this.toolkit,this.certificates);constructor(e){this.certificate=e}errors(){return Reflect.getMetadata(Po,this)}};var Tie=lr(require("path"),1);var wie=require("class-transformer"),Bc=require("class-validator");function p_(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(p_,"_ts_decorate");function GM(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(GM,"_ts_metadata");var Lm=class{static{o(this,"ConsultStatusPayload")}tpAmb;cUF;xServ="STATUS"};p_([(0,Bc.IsEnum)(qe),GM("design:type",typeof EnvironmentCode>"u"?Object:EnvironmentCode)],Lm.prototype,"tpAmb",void 0);p_([(0,Bc.IsEnum)(pe),GM("design:type",typeof StateCode>"u"?Object:StateCode)],Lm.prototype,"cUF",void 0);p_([(0,Bc.IsOptional)()],Lm.prototype,"xServ",void 0);var KM=class{static{o(this,"ConsultStatusRequest")}consStatServ};p_([(0,Bc.IsNotEmptyObject)(),(0,Bc.IsObject)(),(0,Bc.ValidateNested)(),(0,wie.Type)(()=>Lm),GM("design:type",typeof IConsultStatusPayload>"u"?Object:IConsultStatusPayload)],KM.prototype,"consStatServ",void 0);var d_=require("class-transformer"),ur=require("class-validator");function Zi(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(Zi,"_ts_decorate");function Ks(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(Ks,"_ts_metadata");var h_=class{static{o(this,"InfInutAttributes")}Id};Zi([(0,ur.IsString)(),Ks("design:type",String)],h_.prototype,"Id",void 0);var B2=class{static{o(this,"InutNFeAttributes")}xmlns;versao};Zi([(0,ur.IsString)(),Ks("design:type",String)],B2.prototype,"xmlns",void 0);Zi([(0,ur.IsString)(),(0,ur.IsOptional)(),Ks("design:type",String)],B2.prototype,"versao",void 0);var zs=class{static{o(this,"InfInut")}$;tpAmb;xServ="INUTILIZAR";cUF;ano;CNPJ;CPF;mod;serie;nNFIni;nNFFin;xJust};Zi([(0,ur.ValidateNested)(),(0,d_.Type)(()=>h_),Ks("design:type",typeof IInfInutAttributes>"u"?Object:IInfInutAttributes)],zs.prototype,"$",void 0);Zi([(0,ur.IsEnum)(qe),Ks("design:type",typeof EnvironmentCode>"u"?Object:EnvironmentCode)],zs.prototype,"tpAmb",void 0);Zi([(0,ur.IsOptional)()],zs.prototype,"xServ",void 0);Zi([(0,ur.IsEnum)(pe),Ks("design:type",typeof StateCode>"u"?Object:StateCode)],zs.prototype,"cUF",void 0);Zi([(0,ur.IsString)(),(0,ur.Length)(2,2),(0,ur.Matches)(/^[0-9]{2}$/),Ks("design:type",String)],zs.prototype,"ano",void 0);Zi([(0,ur.IsString)(),(0,ur.IsOptional)(),Ks("design:type",String)],zs.prototype,"CNPJ",void 0);Zi([(0,ur.IsString)(),(0,ur.IsOptional)(),Ks("design:type",String)],zs.prototype,"CPF",void 0);Zi([(0,ur.IsString)(),(0,ur.Length)(2,2),(0,ur.Matches)(/^(55|65)$/),Ks("design:type",String)],zs.prototype,"mod",void 0);Zi([(0,ur.IsString)(),(0,ur.Matches)(/^[0-9]{1,3}$/),Ks("design:type",String)],zs.prototype,"serie",void 0);Zi([(0,ur.IsString)(),(0,ur.Matches)(/^[0-9]{1,9}$/),Ks("design:type",String)],zs.prototype,"nNFIni",void 0);Zi([(0,ur.IsString)(),(0,ur.Matches)(/^[0-9]{1,9}$/),Ks("design:type",String)],zs.prototype,"nNFFin",void 0);Zi([(0,ur.IsString)(),(0,ur.MinLength)(15),(0,ur.MaxLength)(255),Ks("design:type",String)],zs.prototype,"xJust",void 0);zs=Zi([nn({properties:["CNPJ","CPF"],required:!0})],zs);var jp=class{static{o(this,"InutilizacaoPayload")}$;infInut;Signature};Zi([(0,ur.IsObject)(),(0,ur.ValidateNested)(),(0,d_.Type)(()=>B2),Ks("design:type",typeof IInutNFeAttributes>"u"?Object:IInutNFeAttributes)],jp.prototype,"$",void 0);Zi([(0,ur.IsObject)(),(0,ur.ValidateNested)(),(0,d_.Type)(()=>zs),Ks("design:type",typeof IInfInut>"u"?Object:IInfInut)],jp.prototype,"infInut",void 0);Zi([(0,ur.Allow)(),Ks("design:type",typeof Signature>"u"?Object:Signature)],jp.prototype,"Signature",void 0);var sf=require("class-validator");function XM(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(XM,"_ts_decorate");function Cie(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(Cie,"_ts_metadata");var Uv=class{static{o(this,"ConsultaProtocoloPayload")}tpAmb;xServ="CONSULTAR";chNFe};XM([(0,sf.IsEnum)(qe),Cie("design:type",typeof EnvironmentCode>"u"?Object:EnvironmentCode)],Uv.prototype,"tpAmb",void 0);XM([(0,sf.IsOptional)()],Uv.prototype,"xServ",void 0);XM([(0,sf.IsString)(),(0,sf.Length)(44,44),(0,sf.Matches)(/^[0-9]{44}$/),Cie("design:type",String)],Uv.prototype,"chNFe",void 0);var Wo=require("class-validator");function P2(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(P2,"_ts_decorate");function m_(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(m_,"_ts_metadata");var Mp=class{static{o(this,"NfeAutorizacaoPayload")}tpAmb;cUF;idLote;indSinc="1";NFe};P2([(0,Wo.IsEnum)(qe),(0,Wo.IsOptional)(),m_("design:type",typeof EnvironmentCode>"u"?Object:EnvironmentCode)],Mp.prototype,"tpAmb",void 0);P2([(0,Wo.IsEnum)(pe),(0,Wo.IsOptional)(),m_("design:type",typeof StateCode>"u"?Object:StateCode)],Mp.prototype,"cUF",void 0);P2([(0,Wo.IsString)(),(0,Wo.IsOptional)(),m_("design:type",String)],Mp.prototype,"idLote",void 0);P2([(0,Wo.IsOptional)(),(0,Wo.IsEnum)(["0","1"])],Mp.prototype,"indSinc",void 0);P2([(0,Wo.IsNotEmpty)(),m_("design:type",typeof T>"u"?Object:T)],Mp.prototype,"NFe",void 0);var g_=require("class-validator");function Eie(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(Eie,"_ts_decorate");function Aie(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(Aie,"_ts_metadata");var cx=class{static{o(this,"RetAutorizacaoPayload")}tpAmb;nRec};Eie([(0,g_.IsEnum)(qe),Aie("design:type",typeof EnvironmentCode>"u"?Object:EnvironmentCode)],cx.prototype,"tpAmb",void 0);Eie([(0,g_.IsString)(),Aie("design:type",String)],cx.prototype,"nRec",void 0);var Zr=require("class-validator"),_2=require("class-transformer");function es(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(es,"_ts_decorate");function bs(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(bs,"_ts_metadata");var v_=class{static{o(this,"InfEventoAttributes")}Id};es([(0,Zr.IsString)(),bs("design:type",String)],v_.prototype,"Id",void 0);var Ss=class{static{o(this,"InfEvento")}$;cOrgao;tpAmb;CNPJ;CPF;chNFe;dhEvento;tpEvento;nSeqEvento;verEvento;detEvento};es([(0,Zr.IsObject)(),(0,Zr.ValidateNested)(),(0,_2.Type)(()=>v_),bs("design:type",typeof IInfEventoAttributes>"u"?Object:IInfEventoAttributes)],Ss.prototype,"$",void 0);es([(0,Zr.IsString)(),bs("design:type",typeof StateCode>"u"?Object:StateCode)],Ss.prototype,"cOrgao",void 0);es([(0,Zr.IsString)(),bs("design:type",typeof EnvironmentCode>"u"?Object:EnvironmentCode)],Ss.prototype,"tpAmb",void 0);es([(0,Zr.IsString)(),(0,Zr.IsOptional)(),bs("design:type",String)],Ss.prototype,"CNPJ",void 0);es([(0,Zr.IsString)(),(0,Zr.IsOptional)(),bs("design:type",String)],Ss.prototype,"CPF",void 0);es([(0,Zr.IsString)(),bs("design:type",String)],Ss.prototype,"chNFe",void 0);es([Fp({format:"YYYY-MM-DD[T]HH:mm:ssZ"}),bs("design:type",String)],Ss.prototype,"dhEvento",void 0);es([(0,Zr.IsEnum)(kp),bs("design:type",typeof kp>"u"?Object:kp)],Ss.prototype,"tpEvento",void 0);es([(0,Zr.IsNumber)(),bs("design:type",Number)],Ss.prototype,"nSeqEvento",void 0);es([(0,Zr.IsString)(),bs("design:type",String)],Ss.prototype,"verEvento",void 0);es([(0,Zr.IsObject)(),bs("design:type",typeof T>"u"?Object:T)],Ss.prototype,"detEvento",void 0);Ss=es([nn({properties:["CNPJ","CPF"],required:!0})],Ss);var y_=class{static{o(this,"EventoItemAttributes")}xmlns};es([(0,Zr.IsString)(),bs("design:type",String)],y_.prototype,"xmlns",void 0);var af=class{static{o(this,"EventoItem")}$;infEvento;Signature};es([(0,Zr.IsObject)(),(0,Zr.ValidateNested)(),(0,_2.Type)(()=>y_),bs("design:type",typeof IEventoItemAttributes>"u"?Object:IEventoItemAttributes)],af.prototype,"$",void 0);es([(0,Zr.IsObject)(),(0,Zr.ValidateNested)(),(0,_2.Type)(()=>Ss),bs("design:type",typeof Ss>"u"?Object:Ss)],af.prototype,"infEvento",void 0);es([(0,Zr.Allow)(),bs("design:type",typeof Signature>"u"?Object:Signature)],af.prototype,"Signature",void 0);var lx=class{static{o(this,"EventoPayload")}idLote;evento};es([(0,Zr.IsString)(),bs("design:type",String)],lx.prototype,"idLote",void 0);es([(0,Zr.IsNotEmpty)(),(0,Zr.ValidateNested)(),(0,_2.Type)(()=>af),bs("design:type",typeof af>"u"?Object:af)],lx.prototype,"evento",void 0);var Mu=require("class-validator");function fx(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(fx,"_ts_decorate");function S_(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(S_,"_ts_metadata");var Pc=class{static{o(this,"ConsultaCadastroPayload")}xServ="CONS-CAD";UF;IE="";CNPJ="";CPF=""};fx([(0,Mu.IsOptional)()],Pc.prototype,"xServ",void 0);fx([(0,Mu.IsString)(),(0,Mu.IsIn)(Object.values(D3)),S_("design:type",typeof StateAcronym>"u"?Object:StateAcronym)],Pc.prototype,"UF",void 0);fx([(0,Mu.IsOptional)(),(0,Mu.IsString)(),S_("design:type",String)],Pc.prototype,"IE",void 0);fx([(0,Mu.IsOptional)(),(0,Mu.IsString)(),S_("design:type",String)],Pc.prototype,"CNPJ",void 0);fx([(0,Mu.IsOptional)(),(0,Mu.IsString)(),S_("design:type",String)],Pc.prototype,"CPF",void 0);Pc=fx([nn({properties:["IE","CNPJ","CPF"],required:!0})],Pc);var Nie={AM:{[qe.Homolog]:{NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://homnfe.sefaz.am.gov.br/services2/services/NfeStatusServico4"},NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://homnfe.sefaz.am.gov.br/services2/services/NfeAutorizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://homnfe.sefaz.am.gov.br/services2/services/NfeConsulta4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://homnfe.sefaz.am.gov.br/services2/services/NfeInutilizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://homnfe.sefaz.am.gov.br/services2/services/NfeRetAutorizacao4"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://homnfe.sefaz.am.gov.br/services2/services/RecepcaoEvento4"},NfeConsultaCadastro:{method:"consultaCadastro",operation:"CadConsultaCadastro4",version:"2.00"}},[qe.Production]:{NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfe.sefaz.am.gov.br/services2/services/NfeStatusServico4"},NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfe.sefaz.am.gov.br/services2/services/NfeAutorizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfe.sefaz.am.gov.br/services2/services/NfeConsulta4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfe.sefaz.am.gov.br/services2/services/NfeInutilizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfe.sefaz.am.gov.br/services2/services/NfeRetAutorizacao4"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://nfe.sefaz.am.gov.br/services2/services/RecepcaoEvento4"},NfeConsultaCadastro:{method:"consultaCadastro4",operation:"CadConsultaCadastro4",version:"2.00"}}},AN:{[qe.Homolog]:{RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://hom1.nfe.fazenda.gov.br/NFeRecepcaoEvento4/NFeRecepcaoEvento4.asmx"},NfeDistribuicaoDFe:{method:"nfeDistDFeInteresse",operation:"NFeDistribuicaoDFe",version:"1.01",url:"https://hom1.nfe.fazenda.gov.br/NFeDistribuicaoDFe/NFeDistribuicaoDFe.asmx"},NfeConsultaDest:{method:"nfeConsultaNFDest",operation:"NfeConsultaDest",version:"1.01",url:"https://hom.nfe.fazenda.gov.br/NFeConsultaDest/NFeConsultaDest.asmx"},NfeDownloadNF:{method:"nfeDownloadNF",operation:"NfeDownloadNF",version:"4.00",url:"https://hom.nfe.fazenda.gov.br/NfeDownloadNF/NfeDownloadNF.asmx"},RecepcaoEPEC:{method:"nfeRecepcaoEvento",operation:"RecepcaoEvento",version:"4.00",url:"https://hom.nfe.fazenda.gov.br/RecepcaoEvento/RecepcaoEvento.asmx"}},[qe.Production]:{RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://www.nfe.fazenda.gov.br/NFeRecepcaoEvento4/NFeRecepcaoEvento4.asmx"},NfeDistribuicaoDFe:{method:"nfeDistDFeInteresse",operation:"NFeDistribuicaoDFe",version:"1.01",url:"https://www1.nfe.fazenda.gov.br/NFeDistribuicaoDFe/NFeDistribuicaoDFe.asmx"},NfeConsultaDest:{method:"nfeConsultaNFDest",operation:"NfeConsultaDest",version:"1.01",url:"https://www.nfe.fazenda.gov.br/NFeConsultaDest/NFeConsultaDest.asmx"},NfeDownloadNF:{method:"nfeDownloadNF",operation:"NfeDownloadNF",version:"4.00",url:"https://www.nfe.fazenda.gov.br/NfeDownloadNF/NfeDownloadNF.asmx"},RecepcaoEPEC:{method:"nfeRecepcaoEvento",operation:"RecepcaoEvento",version:"4.00",url:"https://www.nfe.fazenda.gov.br/RecepcaoEvento/RecepcaoEvento.asmx"}}},BA:{[qe.Homolog]:{NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://hnfe.sefaz.ba.gov.br/webservices/NFeStatusServico4/NFeStatusServico4.asmx"},NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://hnfe.sefaz.ba.gov.br/webservices/NFeAutorizacao4/NFeAutorizacao4.asmx"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://hnfe.sefaz.ba.gov.br/webservices/NFeConsultaProtocolo4/NFeConsultaProtocolo4.asmx"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://hnfe.sefaz.ba.gov.br/webservices/NFeInutilizacao4/NFeInutilizacao4.asmx"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://hnfe.sefaz.ba.gov.br/webservices/NFeRetAutorizacao4/NFeRetAutorizacao4.asmx"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://hnfe.sefaz.ba.gov.br/webservices/NFeRecepcaoEvento4/NFeRecepcaoEvento4.asmx"},NfeConsultaCadastro:{method:"consultaCadastro",operation:"CadConsultaCadastro4",version:"2.00",url:"https://hnfe.sefaz.ba.gov.br/webservices/CadConsultaCadastro4/CadConsultaCadastro4.asmx"}},[qe.Production]:{NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfe.sefaz.ba.gov.br/webservices/NFeStatusServico4/NFeStatusServico4.asmx"},NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfe.sefaz.ba.gov.br/webservices/NFeAutorizacao4/NFeAutorizacao4.asmx"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfe.sefaz.ba.gov.br/webservices/NFeConsultaProtocolo4/NFeConsultaProtocolo4.asmx"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfe.sefaz.ba.gov.br/webservices/NFeInutilizacao4/NFeInutilizacao4.asmx"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfe.sefaz.ba.gov.br/webservices/NFeRetAutorizacao4/NFeRetAutorizacao4.asmx"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://nfe.sefaz.ba.gov.br/webservices/NFeRecepcaoEvento4/NFeRecepcaoEvento4.asmx"},NfeConsultaCadastro:{method:"consultaCadastro",operation:"CadConsultaCadastro4",version:"2.00",url:"https://nfe.sefaz.ba.gov.br/webservices/CadConsultaCadastro4/CadConsultaCadastro4.asmx"}}},GO:{[qe.Homolog]:{NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://homolog.sefaz.go.gov.br/nfe/services/NFeStatusServico4"},NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://homolog.sefaz.go.gov.br/nfe/services/NFeAutorizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://homolog.sefaz.go.gov.br/nfe/services/NFeConsultaProtocolo4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://homolog.sefaz.go.gov.br/nfe/services/NFeInutilizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://homolog.sefaz.go.gov.br/nfe/services/NFeRetAutorizacao4"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://homolog.sefaz.go.gov.br/nfe/services/NFeRecepcaoEvento4"},NfeConsultaCadastro:{method:"consultaCadastro",operation:"CadConsultaCadastro4",version:"2.00",url:"https://homolog.sefaz.go.gov.br/nfe/services/CadConsultaCadastro4"}},[qe.Production]:{NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfe.sefaz.go.gov.br/nfe/services/NFeStatusServico4"},NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfe.sefaz.go.gov.br/nfe/services/NFeAutorizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfe.sefaz.go.gov.br/nfe/services/NFeConsultaProtocolo4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfe.sefaz.go.gov.br/nfe/services/NFeInutilizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfe.sefaz.go.gov.br/nfe/services/NFeRetAutorizacao4"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://nfe.sefaz.go.gov.br/nfe/services/NFeRecepcaoEvento4"},NfeConsultaCadastro:{method:"consultaCadastro",operation:"CadConsultaCadastro4",version:"2.00",url:"https://nfe.sefaz.go.gov.br/nfe/services/CadConsultaCadastro4"}}},MG:{[qe.Homolog]:{NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://hnfe.fazenda.mg.gov.br/nfe2/services/NFeStatusServico4"},NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://hnfe.fazenda.mg.gov.br/nfe2/services/NFeAutorizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://hnfe.fazenda.mg.gov.br/nfe2/services/NFeConsultaProtocolo4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://hnfe.fazenda.mg.gov.br/nfe2/services/NFeInutilizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://hnfe.fazenda.mg.gov.br/nfe2/services/NFeRetAutorizacao4"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://hnfe.fazenda.mg.gov.br/nfe2/services/NFeRecepcaoEvento4"},NfeConsultaCadastro:{method:"consultaCadastro4",operation:"CadConsultaCadastro4",version:"2.00",url:"https://hnfe.fazenda.mg.gov.br/nfe2/services/CadConsultaCadastro4"}},[qe.Production]:{NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfe.fazenda.mg.gov.br/nfe2/services/NFeStatusServico4"},NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfe.fazenda.mg.gov.br/nfe2/services/NFeAutorizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfe.fazenda.mg.gov.br/nfe2/services/NFeConsultaProtocolo4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfe.fazenda.mg.gov.br/nfe2/services/NFeInutilizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfe.fazenda.mg.gov.br/nfe2/services/NFeRetAutorizacao4"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://nfe.fazenda.mg.gov.br/nfe2/services/NFeRecepcaoEvento4"},NfeConsultaCadastro:{method:"consultaCadastro4",operation:"CadConsultaCadastro4",version:"2.00",url:"https://nfe.fazenda.mg.gov.br/nfe2/services/CadConsultaCadastro4"}}},MS:{[qe.Homolog]:{NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://hom.nfe.sefaz.ms.gov.br/ws/NFeStatusServico4"},NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://hom.nfe.sefaz.ms.gov.br/ws/NFeAutorizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://hom.nfe.sefaz.ms.gov.br/ws/NFeConsultaProtocolo4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://hom.nfe.sefaz.ms.gov.br/ws/NFeInutilizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://hom.nfe.sefaz.ms.gov.br/ws/NFeRetAutorizacao4"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://hom.nfe.sefaz.ms.gov.br/ws/NFeRecepcaoEvento4"},NfeConsultaCadastro:{method:"consultaCadastro",operation:"CadConsultaCadastro4",version:"2.00",url:"https://hom.nfe.sefaz.ms.gov.br/ws/CadConsultaCadastro4"}},[qe.Production]:{NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfe.sefaz.ms.gov.br/ws/NFeStatusServico4"},NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfe.sefaz.ms.gov.br/ws/NFeAutorizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfe.sefaz.ms.gov.br/ws/NFeConsultaProtocolo4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfe.sefaz.ms.gov.br/ws/NFeInutilizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfe.sefaz.ms.gov.br/ws/NFeRetAutorizacao4"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://nfe.sefaz.ms.gov.br/ws/NFeRecepcaoEvento4"},NfeConsultaCadastro:{method:"consultaCadastro",operation:"CadConsultaCadastro4",version:"2.00",url:"https://nfe.sefaz.ms.gov.br/ws/CadConsultaCadastro4"}}},MT:{[qe.Homolog]:{NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://homologacao.sefaz.mt.gov.br/nfews/v2/services/NfeStatusServico4"},NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://homologacao.sefaz.mt.gov.br/nfews/v2/services/NfeAutorizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://homologacao.sefaz.mt.gov.br/nfews/v2/services/NfeConsulta4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://homologacao.sefaz.mt.gov.br/nfews/v2/services/NfeInutilizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://homologacao.sefaz.mt.gov.br/nfews/v2/services/NfeRetAutorizacao4"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://homologacao.sefaz.mt.gov.br/nfews/v2/services/RecepcaoEvento4"},NfeConsultaCadastro:{method:"consultaCadastro",operation:"CadConsultaCadastro4",version:"2.00",url:"https://homologacao.sefaz.mt.gov.br/nfews/v2/services/CadConsultaCadastro4"}},[qe.Production]:{NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfe.sefaz.mt.gov.br/nfews/v2/services/NfeStatusServico4"},NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfe.sefaz.mt.gov.br/nfews/v2/services/NfeAutorizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfe.sefaz.mt.gov.br/nfews/v2/services/NfeConsulta4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfe.sefaz.mt.gov.br/nfews/v2/services/NfeInutilizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfe.sefaz.mt.gov.br/nfews/v2/services/NfeRetAutorizacao4"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://nfe.sefaz.mt.gov.br/nfews/v2/services/RecepcaoEvento4"},NfeConsultaCadastro:{method:"consultaCadastro",operation:"CadConsultaCadastro4",version:"2.00",url:"https://nfe.sefaz.mt.gov.br/nfews/v2/services/CadConsultaCadastro4"}}},PE:{[qe.Homolog]:{NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfehomolog.sefaz.pe.gov.br/nfe-service/services/NFeStatusServico4"},NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfehomolog.sefaz.pe.gov.br/nfe-service/services/NFeAutorizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfehomolog.sefaz.pe.gov.br/nfe-service/services/NFeConsultaProtocolo4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfehomolog.sefaz.pe.gov.br/nfe-service/services/NFeInutilizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfehomolog.sefaz.pe.gov.br/nfe-service/services/NFeRetAutorizacao4"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://nfehomolog.sefaz.pe.gov.br/nfe-service/services/NFeRecepcaoEvento4"},NfeConsultaCadastro:{method:"consultaCadastro4",operation:"CadConsultaCadastro4",version:"2.00",url:"https://nfehomolog.sefaz.pe.gov.br/nfe-service/services/CadConsultaCadastro4"}},[qe.Production]:{NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfe.sefaz.pe.gov.br/nfe-service/services/NFeStatusServico4"},NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfe.sefaz.pe.gov.br/nfe-service/services/NFeAutorizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfe.sefaz.pe.gov.br/nfe-service/services/NFeConsultaProtocolo4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfe.sefaz.pe.gov.br/nfe-service/services/NFeInutilizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfe.sefaz.pe.gov.br/nfe-service/services/NFeRetAutorizacao4"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://nfe.sefaz.pe.gov.br/nfe-service/services/NFeRecepcaoEvento4"},NfeConsultaCadastro:{method:"consultaCadastro4",operation:"CadConsultaCadastro4",version:"2.00",url:"https://nfe.sefaz.pe.gov.br/nfe-service/services/CadConsultaCadastro4"}}},PR:{[qe.Homolog]:{NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://homologacao.nfe.sefa.pr.gov.br/nfe/NFeStatusServico4"},NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://homologacao.nfe.sefa.pr.gov.br/nfe/NFeAutorizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://homologacao.nfe.sefa.pr.gov.br/nfe/NFeConsultaProtocolo4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://homologacao.nfe.sefa.pr.gov.br/nfe/NFeInutilizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacao",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://homologacao.nfe.sefa.pr.gov.br/nfe/NFeRetAutorizacao4"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://homologacao.nfe.sefa.pr.gov.br/nfe/NFeRecepcaoEvento4"},NfeConsultaCadastro:{method:"consultaCadastro4",operation:"CadConsultaCadastro4",version:"2.00",url:"https://homologacao.nfe.sefa.pr.gov.br/nfe/CadConsultaCadastro4"}},[qe.Production]:{NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfe.sefa.pr.gov.br/nfe/NFeStatusServico4"},NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfe.sefa.pr.gov.br/nfe/NFeAutorizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfe.sefa.pr.gov.br/nfe/NFeConsultaProtocolo4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfe.sefa.pr.gov.br/nfe/NFeInutilizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacao",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfe.sefa.pr.gov.br/nfe/NFeRetAutorizacao4"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://nfe.sefa.pr.gov.br/nfe/NFeRecepcaoEvento4"},NfeConsultaCadastro:{method:"consultaCadastro4",operation:"CadConsultaCadastro4",version:"2.00",url:"https://nfe.sefa.pr.gov.br/nfe/CadConsultaCadastro4"}}},RS:{[qe.Homolog]:{NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfe-homologacao.sefazrs.rs.gov.br/ws/NfeStatusServico/NfeStatusServico4.asmx"},NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfe-homologacao.sefazrs.rs.gov.br/ws/NfeAutorizacao/NFeAutorizacao4.asmx"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfe-homologacao.sefazrs.rs.gov.br/ws/NfeConsulta/NfeConsulta4.asmx"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfe-homologacao.sefazrs.rs.gov.br/ws/nfeinutilizacao/nfeinutilizacao4.asmx"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfe-homologacao.sefazrs.rs.gov.br/ws/NfeRetAutorizacao/NFeRetAutorizacao4.asmx"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://nfe-homologacao.sefazrs.rs.gov.br/ws/recepcaoevento/recepcaoevento4.asmx"},NfeConsultaCadastro:{method:"consultaCadastro4",operation:"CadConsultaCadastro4",version:"2.00",url:"https://cad.svrs.rs.gov.br/ws/cadconsultacadastro/cadconsultacadastro4.asmx"}},[qe.Production]:{NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfe.sefazrs.rs.gov.br/ws/NfeStatusServico/NfeStatusServico4.asmx"},NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfe.sefazrs.rs.gov.br/ws/NfeAutorizacao/NFeAutorizacao4.asmx"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfe.sefazrs.rs.gov.br/ws/NfeConsulta/NfeConsulta4.asmx"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfe.sefazrs.rs.gov.br/ws/nfeinutilizacao/nfeinutilizacao4.asmx"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfe.sefazrs.rs.gov.br/ws/NfeRetAutorizacao/NFeRetAutorizacao4.asmx"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://nfe.sefazrs.rs.gov.br/ws/recepcaoevento/recepcaoevento4.asmx"},NfeConsultaCadastro:{method:"consultaCadastro4",operation:"CadConsultaCadastro4",version:"2.00",url:"https://cad.svrs.rs.gov.br/ws/cadconsultacadastro/cadconsultacadastro4.asmx"}}},SP:{[qe.Homolog]:{NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://homologacao.nfe.fazenda.sp.gov.br/ws/nfestatusservico4.asmx"},NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://homologacao.nfe.fazenda.sp.gov.br/ws/nfeautorizacao4.asmx"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://homologacao.nfe.fazenda.sp.gov.br/ws/nfeconsultaprotocolo4.asmx"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://homologacao.nfe.fazenda.sp.gov.br/ws/nfeinutilizacao4.asmx"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://homologacao.nfe.fazenda.sp.gov.br/ws/nferetautorizacao4.asmx"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://homologacao.nfe.fazenda.sp.gov.br/ws/nferecepcaoevento4.asmx"},NfeConsultaCadastro:{method:"consultaCadastro",operation:"CadConsultaCadastro4",version:"2.00",url:"https://homologacao.nfe.fazenda.sp.gov.br/ws/cadconsultacadastro4.asmx"}},[qe.Production]:{NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfe.fazenda.sp.gov.br/ws/nfestatusservico4.asmx"},NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfe.fazenda.sp.gov.br/ws/nfeautorizacao4.asmx"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfe.fazenda.sp.gov.br/ws/nfeconsultaprotocolo4.asmx"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfe.fazenda.sp.gov.br/ws/nfeinutilizacao4.asmx"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfe.fazenda.sp.gov.br/ws/nferetautorizacao4.asmx"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://nfe.fazenda.sp.gov.br/ws/nferecepcaoevento4.asmx"},NfeConsultaCadastro:{method:"consultaCadastro",operation:"CadConsultaCadastro4",version:"2.00",url:"https://nfe.fazenda.sp.gov.br/ws/cadconsultacadastro4.asmx"}}},SVAN:{[qe.Homolog]:{NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://hom.sefazvirtual.fazenda.gov.br/NFeStatusServico4/NFeStatusServico4.asmx"},NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://hom.sefazvirtual.fazenda.gov.br/NFeAutorizacao4/NFeAutorizacao4.asmx"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://hom.sefazvirtual.fazenda.gov.br/NFeConsultaProtocolo4/NFeConsultaProtocolo4.asmx"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://hom.sefazvirtual.fazenda.gov.br/NFeInutilizacao4/NFeInutilizacao4.asmx"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://hom.sefazvirtual.fazenda.gov.br/NFeRetAutorizacao4/NFeRetAutorizacao4.asmx"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://hom.sefazvirtual.fazenda.gov.br/NFeRecepcaoEvento4/NFeRecepcaoEvento4.asmx"},NfeConsultaCadastro:{method:"consultaCadastro4",operation:"CadConsultaCadastro4",version:"2.00"}},[qe.Production]:{NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://www.sefazvirtual.fazenda.gov.br/NFeStatusServico4/NFeStatusServico4.asmx"},NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://www.sefazvirtual.fazenda.gov.br/NFeAutorizacao4/NFeAutorizacao4.asmx"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://www.sefazvirtual.fazenda.gov.br/NFeConsultaProtocolo4/NFeConsultaProtocolo4.asmx"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://www.sefazvirtual.fazenda.gov.br/NFeInutilizacao4/NFeInutilizacao4.asmx"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://www.sefazvirtual.fazenda.gov.br/NFeRetAutorizacao4/NFeRetAutorizacao4.asmx"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://www.sefazvirtual.fazenda.gov.br/NFeRecepcaoEvento4/NFeRecepcaoEvento4.asmx"},NfeConsultaCadastro:{method:"consultaCadastro4",operation:"CadConsultaCadastro4",version:"2.00"}}},SVRS:{[qe.Homolog]:{NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfe-homologacao.svrs.rs.gov.br/ws/NfeStatusServico/NfeStatusServico4.asmx"},NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfe-homologacao.svrs.rs.gov.br/ws/NfeAutorizacao/NFeAutorizacao4.asmx"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfe-homologacao.svrs.rs.gov.br/ws/NfeConsulta/NfeConsulta4.asmx"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfe-homologacao.svrs.rs.gov.br/ws/nfeinutilizacao/nfeinutilizacao4.asmx"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfe-homologacao.svrs.rs.gov.br/ws/NfeRetAutorizacao/NFeRetAutorizacao4.asmx"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://nfe-homologacao.svrs.rs.gov.br/ws/recepcaoevento/recepcaoevento4.asmx"},NfeConsultaCadastro:{method:"consultaCadastro4",operation:"CadConsultaCadastro4",version:"2.00"}},[qe.Production]:{NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfe.svrs.rs.gov.br/ws/NfeStatusServico/NfeStatusServico4.asmx"},NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfe.svrs.rs.gov.br/ws/NfeAutorizacao/NFeAutorizacao4.asmx"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfe.svrs.rs.gov.br/ws/NfeConsulta/NfeConsulta4.asmx"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfe.svrs.rs.gov.br/ws/nfeinutilizacao/nfeinutilizacao4.asmx"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfe.svrs.rs.gov.br/ws/NfeRetAutorizacao/NFeRetAutorizacao4.asmx"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://nfe.svrs.rs.gov.br/ws/recepcaoevento/recepcaoevento4.asmx"},NfeConsultaCadastro:{method:"consultaCadastro4",operation:"CadConsultaCadastro4",version:"2.00",url:"https://cad.svrs.rs.gov.br/ws/cadconsultacadastro/cadconsultacadastro4.asmx"}}},SVCAN:{[qe.Homolog]:{NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://hom.sefazvirtual.fazenda.gov.br/NFeStatusServico4/NFeStatusServico4.asmx"},NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://hom.sefazvirtual.fazenda.gov.br/NFeAutorizacao4/NFeAutorizacao4.asmx"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://hom.sefazvirtual.fazenda.gov.br/NFeConsultaProtocolo4/NFeConsultaProtocolo4.asmx"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://hom.sefazvirtual.fazenda.gov.br/NFeInutilizacao4/NFeInutilizacao4.asmx"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://hom.sefazvirtual.fazenda.gov.br/NFeRetAutorizacao4/NFeRetAutorizacao4.asmx"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://hom.sefazvirtual.fazenda.gov.br/NFeRecepcaoEvento4/NFeRecepcaoEvento4.asmx"},NfeConsultaCadastro:{method:"consultaCadastro4",operation:"CadConsultaCadastro4",version:"2.00"}},[qe.Production]:{NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://www.sefazvirtual.fazenda.gov.br/NFeStatusServico4/NFeStatusServico4.asmx"},NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://www.sefazvirtual.fazenda.gov.br/NFeAutorizacao4/NFeAutorizacao4.asmx"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://www.sefazvirtual.fazenda.gov.br/NFeConsultaProtocolo4/NFeConsultaProtocolo4.asmx"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://www.sefazvirtual.fazenda.gov.br/NFeInutilizacao4/NFeInutilizacao4.asmx"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://www.sefazvirtual.fazenda.gov.br/NFeRetAutorizacao4/NFeRetAutorizacao4.asmx"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://www.sefazvirtual.fazenda.gov.br/NFeRecepcaoEvento4/NFeRecepcaoEvento4.asmx"},NfeConsultaCadastro:{method:"consultaCadastro4",operation:"CadConsultaCadastro4",version:"2.00"}}},SVCRS:{[qe.Homolog]:{NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfe-homologacao.svrs.rs.gov.br/ws/NfeStatusServico/NfeStatusServico4.asmx"},NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfe-homologacao.svrs.rs.gov.br/ws/NfeAutorizacao/NFeAutorizacao4.asmx"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfe-homologacao.svrs.rs.gov.br/ws/NfeConsulta/NfeConsulta4.asmx"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfe-homologacao.svrs.rs.gov.br/ws/nfeinutilizacao/nfeinutilizacao4.asmx"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfe-homologacao.svrs.rs.gov.br/ws/NfeRetAutorizacao/NFeRetAutorizacao4.asmx"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://nfe-homologacao.svrs.rs.gov.br/ws/recepcaoevento/recepcaoevento4.asmx"},NfeConsultaCadastro:{method:"consultaCadastro4",operation:"CadConsultaCadastro4",version:"2.00"}},[qe.Production]:{NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfe.svrs.rs.gov.br/ws/NfeStatusServico/NfeStatusServico4.asmx"},NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfe.svrs.rs.gov.br/ws/NfeAutorizacao/NFeAutorizacao4.asmx"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfe.svrs.rs.gov.br/ws/NfeConsulta/NfeConsulta4.asmx"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfe.svrs.rs.gov.br/ws/nfeinutilizacao/nfeinutilizacao4.asmx"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfe.svrs.rs.gov.br/ws/NfeRetAutorizacao/NFeRetAutorizacao4.asmx"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://nfe.svrs.rs.gov.br/ws/recepcaoevento/recepcaoevento4.asmx"},NfeConsultaCadastro:{method:"consultaCadastro4",operation:"CadConsultaCadastro4",version:"2.00",url:"https://cad.svrs.rs.gov.br/ws/cadconsultacadastro/cadconsultacadastro4.asmx"}}}};var KBe={[pe.AC]:"SVRS",[pe.AL]:"SVRS",[pe.AM]:"AM",[pe.AP]:"SVRS",[pe.BA]:"BA",[pe.CE]:"SVRS",[pe.DF]:"SVRS",[pe.ES]:"SVRS",[pe.GO]:"GO",[pe.MA]:"SVAN",[pe.MG]:"MG",[pe.MS]:"MS",[pe.MT]:"MT",[pe.PA]:"SVRS",[pe.PB]:"SVRS",[pe.PE]:"PE",[pe.PI]:"SVRS",[pe.PR]:"PR",[pe.RJ]:"SVRS",[pe.RN]:"SVRS",[pe.RO]:"SVRS",[pe.RR]:"SVRS",[pe.RS]:"RS",[pe.SC]:"SVRS",[pe.SE]:"SVRS",[pe.SP]:"SP",[pe.TO]:"SVRS",AN:"AN",SVAN:"SVAN",SVRS:"SVRS",SVCAN:"SVCAN",SVCRS:"SVCRS"},Iie=KBe;var b_={[pe.AC]:"SVCAN",[pe.AL]:"SVCAN",[pe.AM]:"SVCRS",[pe.AP]:"SVCAN",[pe.BA]:"SVCRS",[pe.CE]:"SVCAN",[pe.DF]:"SVCAN",[pe.ES]:"SVCAN",[pe.GO]:"SVCRS",[pe.MA]:"SVCRS",[pe.MG]:"SVCAN",[pe.MS]:"SVCRS",[pe.MT]:"SVCRS",[pe.PA]:"SVCAN",[pe.PB]:"SVCAN",[pe.PE]:"SVCRS",[pe.PI]:"SVCAN",[pe.PR]:"SVCRS",[pe.RJ]:"SVCAN",[pe.RN]:"SVCAN",[pe.RO]:"SVCAN",[pe.RR]:"SVCAN",[pe.RS]:"SVCAN",[pe.SC]:"SVCAN",[pe.SE]:"SVCAN",[pe.SP]:"SVCAN",[pe.TO]:"SVCAN"};function qv(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(qv,"_ts_decorate");function Oi(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(Oi,"_ts_metadata");var vo=class{static{o(this,"NfeRemoteTransmitter")}remoteTransmissionRepository;constructor(e){this.remoteTransmissionRepository=e}options={};xmlns="http://www.portalfiscal.inf.br/nfe";configure(e){this.options={...this.options,...e};let{certificate:t}=this.options;return t&&this.remoteTransmissionRepository.setCertificate(t),this.options.schema??=Vp.PL_009_V4,this}service(e){let t=e.cUF??this.options.cUF,n=e.tpAmb??this.options.tpAmb,i=this.options.contingency?b_[t]:Iie[t];return Nie[i][n][e.service]}errors(){return Reflect.getMetadata(Po,this)}validate(e){try{let t=this.errors();return t?Xr(new fr(t.join(", "))):("cUF"in e&&(e.cUF??=this.options.cUF),"tpAmb"in e&&(e.tpAmb??=this.options.tpAmb),gr(e))}finally{Reflect.deleteMetadata(Po,this)}}ns(e,t){let n=e.$??{};return n.xmlns=this.xmlns,n.versao=t,{...e,$:n}}xsd(e){return Tie.default.resolve(T2(),this.options.schema,e)}async consultStatus(e){let t=this.validate(e);if(t.isLeft())return t;let n=t.value,i=this.service({...n,service:"NfeStatusServico"});return this.remoteTransmissionRepository.send({root:"nfeDadosMsg",url:i.url,xsd:this.xsd("consStatServ_v4.00.xsd"),payload:{consStatServ:this.ns(n,i.version)},method:"nfeStatusServicoNF"})}async inutilizacao(e){let t=this.validate(e);if(t.isLeft())return t;let{cUF:n,tpAmb:i}=t.value.infInut,s=t.value,a=this.service({cUF:n,tpAmb:i,service:"NfeInutilizacao"});return this.remoteTransmissionRepository.send({root:"nfeDadosMsg",url:a.url,xsd:this.xsd("inutNFe_v4.00.xsd"),payload:{inutNFe:this.ns(s,a.version)},method:"nfeInutilizacaoNF"})}async consultaProtocolo(e){let t=this.validate(e);if(t.isLeft())return t;let n=t.value,i=this.service({cUF:n.chNFe.substring(0,2),tpAmb:n.tpAmb,service:"NfeConsultaProtocolo"});return this.remoteTransmissionRepository.send({root:"nfeDadosMsg",url:i.url,xsd:this.xsd("consSitNFe_v4.00.xsd"),payload:{consSitNFe:this.ns(n,i.version)},method:"nfeConsultaNF"})}async autorizacao(e){let t=this.validate(e);if(t.isLeft())return t;let n=t.value,i=this.service({...n,service:"NfeAutorizacao"});return this.remoteTransmissionRepository.send({root:"nfeDadosMsg",url:i.url,xsd:this.xsd("enviNFe_v4.00.xsd"),payload:{enviNFe:this.ns(n,i.version)},method:"nfeAutorizacaoLote"})}async retAutorizacao(e){let t=this.validate(e);if(t.isLeft())return t;let n=t.value,i=this.service({...n,service:"NfeRetAutorizacao"});return this.remoteTransmissionRepository.send({root:"nfeDadosMsg",url:i.url,xsd:this.xsd("consReciNFe_v4.00.xsd"),payload:{consReciNFe:this.ns(n,i.version)},method:"nfeRetAutorizacaoLote"})}async recepcaoEvento(e){let t=this.validate(e);if(t.isLeft())return t;let n=t.value,i=this.service({service:"RecepcaoEvento"});return n.evento=this.ns(n.evento,i.version),this.remoteTransmissionRepository.send({root:"nfeDadosMsg",url:i.url,xsd:this.xsd("envEvento_v1.00.xsd"),payload:{envEvento:this.ns(n,i.version)},method:"nfeRecepcaoEvento"})}async consultaCadastro(e){let t=this.validate(e);if(t.isLeft())return t;let n=t.value,i=this.service({cUF:pe[n.UF],service:"NfeConsultaCadastro"});return this.remoteTransmissionRepository.send({root:"nfeDadosMsg",url:i.url,xsd:this.xsd("ConsCad_v4.00.xsd"),payload:{ConsCad:this.ns(n,i.version)},method:"consultaCadastro"})}};qv([Ht(Lm),Oi("design:type",Function),Oi("design:paramtypes",[typeof IConsultStatusPayload>"u"?Object:IConsultStatusPayload]),Oi("design:returntype",Promise)],vo.prototype,"consultStatus",null);qv([Ht(jp),Oi("design:type",Function),Oi("design:paramtypes",[typeof IInutilizacaoPayload>"u"?Object:IInutilizacaoPayload]),Oi("design:returntype",Promise)],vo.prototype,"inutilizacao",null);qv([Ht(Uv),Oi("design:type",Function),Oi("design:paramtypes",[typeof IConsultaProtocoloPayload>"u"?Object:IConsultaProtocoloPayload]),Oi("design:returntype",Promise)],vo.prototype,"consultaProtocolo",null);qv([Ht(Mp),Oi("design:type",Function),Oi("design:paramtypes",[typeof IAutorizacaoPayload>"u"?Object:IAutorizacaoPayload]),Oi("design:returntype",Promise)],vo.prototype,"autorizacao",null);qv([Ht(cx),Oi("design:type",Function),Oi("design:paramtypes",[typeof IRetAutorizacaoPayload>"u"?Object:IRetAutorizacaoPayload]),Oi("design:returntype",Promise)],vo.prototype,"retAutorizacao",null);qv([Ht(lx),Oi("design:type",Function),Oi("design:paramtypes",[Object]),Oi("design:returntype",Promise)],vo.prototype,"recepcaoEvento",null);qv([Ht(Pc),Oi("design:type",Function),Oi("design:paramtypes",[typeof IConsultaCadastroPayload>"u"?Object:IConsultaCadastroPayload]),Oi("design:returntype",Promise)],vo.prototype,"consultaCadastro",null);var Uu=class extends ux{static{o(this,"TransmissionPipeline")}certificate;transmitter=new vo(this.soap);constructor(e){super(e),this.certificate=e}};function GBe(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(GBe,"_ts_decorate");function WM(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(WM,"_ts_metadata");var L2=class extends Uu{static{o(this,"EventPipeline")}async event(e,t,n){let i=await this.certificates.read(this.certificate);if(i.isLeft())return i;let s=t.chNFe.slice(0,2);this.transmitter.configure({cUF:s,...n,certificate:i.value});let a=xie[e],u=this.certificates.getCertificateInfo(i.value.certificate),{nSeqEvento:c,dhEvento:l,chNFe:p}=t,h=["ID",e,p,c.toString().padStart(2,"0")].join(""),g={$:{xmlns:this.xmlns},infEvento:{$:{Id:h},cOrgao:s,tpAmb:n.tpAmb,CNPJ:u.CNPJ,CPF:u.CPF,chNFe:p,dhEvento:l,tpEvento:e,nSeqEvento:c,verEvento:a.version,detEvento:{$:{versao:a.version},descEvento:a.descEvento,...t.detEvento}}},y=this.validated(g);return y.isLeft()?y:await this.signer.sign(y.value,{tag:"infEvento",mark:"Id"},i.value)}validated(e){let t=this.errors();return t?Xr(new fr(t.join(", "))):gr(e)}};GBe([Ht(af),WM("design:type",Function),WM("design:paramtypes",[typeof IEventoItem>"u"?Object:IEventoItem]),WM("design:returntype",void 0)],L2.prototype,"validated",null);var F2=class extends L2{static{o(this,"NfeCancelPipeline")}async execute(e,t){let n={chNFe:e.chNFe,dhEvento:e.dhEvento??new Date().toISOString(),detEvento:{nProt:e.nProt,xJust:e.xJust},nSeqEvento:1},i=await this.event(kp.Cancelamento,n,t);return i.isLeft()?i:await this.transmitter.recepcaoEvento({idLote:e.idLote??new Date().getTime().toString().slice(0,15),evento:i.value})}};var x_=class extends fr{static{o(this,"CouldNotReceiveResponseError")}constructor(e="Falha ao consultar protocolo de autoriza\xE7\xE3o ap\xF3s 3 tentativas, tente novamente mais tarde."){super(e)}};var Rie=(function(r){return r.Autorizada="100",r.AutorizadaForaDoPrazo="150",r.UsoDenegado="110",r.NfeDenegada="205",r.DenegadaIrregularidadeEmissor="301",r.DenegadaIrregularidadeDestinatario="302",r.DenegadaNaoHabilitadaNaUf="303",r})({});var k2=class extends Uu{static{o(this,"NfeAuthorizerPipeline")}async execute(e,t){let n=await this.certificates.read(this.certificate);if(n.isLeft())return n;let i=await this.handleNfeBatch(n.value,e.xml);if(i.isLeft())return i;let[s]=i.value;this.transmitter.configure({cUF:s.infNFe.ide.cUF,tpAmb:s.infNFe.ide.tpAmb,...t,contingency:this.contingency(s),certificate:n.value}),e.idLote??=new Date().getTime().toString().slice(0,15);let a=await this.transmitter.autorizacao({...e,NFe:i.value});if(a.isLeft())return a;let u=a.value;return this.isSyncResponse(u)?gr(await this.response(i.value,u)):await this.handleAsyncResponse(i.value,u)}async protocol(e,t){let{cStat:n}=t.infProt;if(!Object.values(Rie).includes(n))return await this.toolkit.build(e,{renderOpts:{pretty:!1},rootName:"NFe"});let i={NFe:e,protNFe:t,$:{xmlns:this.xmlns,versao:t.$.versao}};return await this.toolkit.build(i,{renderOpts:{pretty:!1},rootName:"nfeProc"})}async response(e,t){let n=Array.isArray(t.retEnviNFe.protNFe)?t.retEnviNFe.protNFe:[t.retEnviNFe.protNFe],i=await Promise.all(e.map((s,a)=>this.protocol(s,n[a])));return i.length>1?{xml:i,response:t}:{xml:i[0],response:t}}async signNfe(e,t){return this.signer.sign(t,{tag:"infNFe",mark:"Id"},e)}async handleNfeBatch(e,t){if(!Array.isArray(t)){let i=await this.toolkit.parse(t),s=await this.signNfe(e,i);return s.isLeft()?Xr(s.value):gr([s.value])}let n=await Promise.all(t.map(async i=>this.signNfe(e,await this.toolkit.parse(i))));return n.some(i=>i.isLeft())?Xr(new fr("Failed to sign a NFe in batch")):gr(n.filter(i=>i.isRight()).map(i=>i.value))}isSyncResponse(e){return"protNFe"in e.retEnviNFe&&!!e.retEnviNFe.protNFe}async handleAsyncResponse(e,t){let{tpAmb:n,infRec:{nRec:i}}=t.retEnviNFe,s=1;for(;s<=3;)try{await new Promise(c=>setTimeout(c,1e3));let a=await this.transmitter.retAutorizacao({nRec:i,tpAmb:n});if(a.isLeft())continue;let u=a.value.retConsReciNFe.protNFe;if(!u||Array.isArray(u)&&u.length===0)continue;return gr(await this.response(e,{retEnviNFe:{...a.value.retConsReciNFe,protNFe:u}}))}finally{s++}return Xr(new x_)}contingency(e){let{dhCont:t,xJust:n,tpEmis:i}=e.infNFe.ide;if(!(!t||!n||i===ha.Normal))return{dhCont:t,xJust:n}}};function XBe(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(XBe,"_ts_decorate");function JM(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(JM,"_ts_metadata");var px=class extends Uu{static{o(this,"NfeVoidRangePipeline")}async execute(e,t){let n=await this.certificates.read(this.certificate);if(n.isLeft())return n;let i=this.certificates.getCertificateInfo(n.value.certificate);this.transmitter.configure({...t,certificate:n.value});let s=e.ano??new Date().getFullYear().toString().slice(2),a=["ID",t.cUF,s,i.CNPJ?.padStart(14,"0")??"",e.mod,e.serie.padStart(3,"0"),e.nNFIni.padStart(9,"0"),e.nNFFin.padStart(9,"0")].join(""),u={$:{xmlns:this.xmlns},infInut:{$:{Id:a},tpAmb:e.tpAmb??t.tpAmb,cUF:t.cUF,ano:s,CNPJ:i.CNPJ,CPF:i.CPF,mod:e.mod,serie:e.serie,nNFIni:e.nNFIni,nNFFin:e.nNFFin,xJust:e.xJust}},c=this.validated(u);if(c.isLeft())return c;let l=await this.signer.sign(c.value,{tag:"infInut",mark:"Id"},n.value);return l.isLeft()?l:await this.transmitter.inutilizacao(l.value)}validated(e){let t=this.errors();return t?Xr(new fr(t.join(", "))):gr(e)}};XBe([Ht(jp),JM("design:type",Function),JM("design:paramtypes",[typeof IIInutilizacaoPayload>"u"?Object:IIInutilizacaoPayload]),JM("design:returntype",void 0)],px.prototype,"validated",null);var V2=class extends Uu{static{o(this,"NfeConsultStatusPipeline")}async execute(e){let t=await this.certificates.read(this.certificate);return t.isLeft()?t:(this.transmitter.configure({...e,certificate:t.value}),await this.transmitter.consultStatus(e))}};var YM=class extends Uu{static{o(this,"NfeAuthorizationResponsePipeline")}async execute(e){let t=await this.certificates.read(this.certificate);return t.isLeft()?t:(this.transmitter.configure({cUF:e.cUF,tpAmb:e.tpAmb,certificate:t.value}),this.transmitter.retAutorizacao(e))}};var Die=lr(require("crypto"),1);var Jo=class{static{o(this,"NfceQrcode")}certificateRepository;constructor(e){this.certificateRepository=e}async execute(e,t){let n=await this.content(e,t);return n.isLeft()?n:gr(this.assemble(n.value,t))}async content(e,t){return this.isVersion200(t)?await this.execute200(e,t):this.isVersion300(t)?await this.execute300(e,t):w0(t)}isVersion200(e){return e.version==="200"}isVersion300(e){return e.version==="300"}assemble(e,t){return{qrCode:e,urlChave:t.urlConsult}}getSequence(e,t){let{version:n,CSCId:i}=t,s=e.infNFe.ide.tpAmb,a=Number.parseInt(i),u=e.infNFe.$.Id?.substring(3),c=Number.parseInt(n??"")/100;if(e.infNFe.ide.tpEmis!==ha.OFFLINE)return`${u}|${c}|${s}|${a}`;let p=e.Signature.SignedInfo.Reference.DigestValue.split("").map(y=>y.charCodeAt(0).toString(16).padStart(2,"0")).join(""),h=new Date(e.infNFe.ide.dhEmi).getDate(),g=Number(e.infNFe.total.ICMSTot.vNF).toFixed(2);return`${u}|${c}|${s}|${h}|${g}|${p}|${a}`}async execute200(e,t){let{urlService:n,CSC:i}=t,s=this.getSequence(e,t),a=Die.default.createHash("sha1").update(`${s}${i}`).digest("hex").toUpperCase(),u=`${n}?p=`;return Promise.resolve(gr(`${u}${s}|${a}`))}getQrcodeV300OfflineIdentification(e){if(!e)return{tipo:"",documento:""};let{CPF:t,CNPJ:n,idEstrangeiro:i}=e,s=t?t.replace(/\D/g,""):n?n.replace(/\D/g,""):i?.replace(/\D/g,"");return s?s.length===11?{tipo:"1",documento:s}:s.length===14?{tipo:"2",documento:s}:i&&s.length>=3&&s.length<=14?{tipo:"3",documento:s}:{tipo:"",documento:""}:{tipo:"",documento:""}}emissionDayOfMonthFormatted(e){return String(new Date(e).getDate()).padStart(2,"0")}async execute300(e,t){let{urlService:n}=t,i=`${n}?p=`,s=e.infNFe.ide.tpAmb,a=e.infNFe.$.Id?.substring(3),u=Number.parseInt(t.version)/100;if(e.infNFe.ide.tpEmis!==ha.OFFLINE)return gr(`${i}${a}|${u}|${s}`);let c=this.emissionDayOfMonthFormatted(e.infNFe.ide.dhEmi),l=Number(e.infNFe.total.ICMSTot.vNF).toFixed(2),{tipo:p,documento:h}=this.getQrcodeV300OfflineIdentification(e.infNFe.dest),g=`${a}|${u}|${s}|${c}|${l}|${p}|${h}`,y=await this.certificateRepository.sign(g,t.certificate,ac.SHA1);return y.isLeft()?y:gr(`${i}${g}|${y.value}`)}};var QM={AC:{[qe.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://www.hml.sefaznet.ac.gov.br/nfce/qrcode"}},[qe.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"http://www.sefaznet.ac.gov.br/nfce/qrcode"}}},AL:{[qe.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://nfce.sefaz.al.gov.br/QRCode/consultarNFCe.jsp"}},[qe.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"http://nfce.sefaz.al.gov.br/QRCode/consultarNFCe.jsp"}}},AM:{[qe.Homolog]:{NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://homnfce.sefaz.am.gov.br/nfce-services/services/NfeAutorizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://homnfce.sefaz.am.gov.br/nfce-services/services/NfeRetAutorizacao4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://homnfce.sefaz.am.gov.br/nfce-services/services/NfeInutilizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://homnfce.sefaz.am.gov.br/nfce-services/services/NfeConsulta4"},NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://homnfce.sefaz.am.gov.br/nfce-services/services/NfeStatusServico4"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://homnfce.sefaz.am.gov.br/nfce-services/services/RecepcaoEvento4"},NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"https://sistemas.sefaz.am.gov.br/nfceweb-hom/consultarNFCe.jsp"},CscNFCe:{method:"admCscNFCe",operation:"CscNFCe",version:"1.00",url:"https://homnfce.sefaz.am.gov.br/nfce-services/services/CscNFCe"}},[qe.Production]:{NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfce.sefaz.am.gov.br/nfce-services/services/NfeAutorizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfce.sefaz.am.gov.br/nfce-services/services/NfeRetAutorizacao4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfce.sefaz.am.gov.br/nfce-services/services/NfeInutilizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfce.sefaz.am.gov.br/nfce-services/services/NfeConsulta4"},NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfce.sefaz.am.gov.br/nfce-services/services/NfeStatusServico4"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://nfce.sefaz.am.gov.br/nfce-services/services/RecepcaoEvento4"},NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"https://sistemas.sefaz.am.gov.br/nfceweb/consultarNFCe.jsp"},CscNFCe:{method:"admCscNFCe",operation:"CscNFCe",version:"1.00",url:"https://nfce.sefaz.am.gov.br/nfce-services/services/CscNFCe"}}},AP:{[qe.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"https://www.sefaz.ap.gov.br/nfcehml/nfce.php"}},[qe.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"https://www.sefaz.ap.gov.br/nfce/nfcep.php"}}},BA:{[qe.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://hnfe.sefaz.ba.gov.br/servicos/nfce/qrcode.aspx"}},[qe.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"http://nfe.sefaz.ba.gov.br/servicos/nfce/qrcode.aspx"}}},CE:{[qe.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://nfceh.sefaz.ce.gov.br/pages/ShowNFCe.html"}},[qe.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"http://nfce.sefaz.ce.gov.br/pages/ShowNFCe.html"}}},DF:{[qe.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://dec.fazenda.df.gov.br/ConsultarNFCe.aspx"}},[qe.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"http://www.fazenda.df.gov.br/nfce/qrcode"}}},ES:{[qe.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://homologacao.sefaz.es.gov.br/ConsultaNFCe/qrcode.aspx"}},[qe.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"http://app.sefaz.es.gov.br/ConsultaNFCe/qrcode.aspx"}}},GO:{[qe.Homolog]:{NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://homolog.sefaz.go.gov.br/nfe/services/NFeAutorizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://homolog.sefaz.go.gov.br/nfe/services/NFeRetAutorizacao4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://homolog.sefaz.go.gov.br/nfe/services/NFeInutilizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://homolog.sefaz.go.gov.br/nfe/services/NFeConsultaProtocolo4"},NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://homolog.sefaz.go.gov.br/nfe/services/NFeStatusServico4"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento",version:"1.00",url:"https://homolog.sefaz.go.gov.br/nfe/services/NFeRecepcaoEvento4"},CscNFCe:{method:"admCscNFCe",operation:"CscNFCe",version:"1.00",url:"https://homolog.sefaz.go.gov.br/nfe/services/v2/CscNFCe"},NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"https://nfewebhomolog.sefaz.go.gov.br/nfeweb/sites/nfce/danfeNFCe"}},[qe.Production]:{NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfe.sefaz.go.gov.br/nfe/services/NFeAutorizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfe.sefaz.go.gov.br/nfe/services/NFeRetAutorizacao4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfe.sefaz.go.gov.br/nfe/services/NFeInutilizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfe.sefaz.go.gov.br/nfe/services/NFeConsultaProtocolo4"},NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfe.sefaz.go.gov.br/nfe/services/NFeStatusServico4"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento",version:"1.00",url:"https://nfe.sefaz.go.gov.br/nfe/services/NFeRecepcaoEvento4"},CscNFCe:{method:"admCscNFCe",operation:"CscNFCe",version:"1.00",url:"https://nfe.sefaz.go.gov.br/nfe/services/v2/CscNFCe"},NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"https://nfeweb.sefaz.go.gov.br/nfeweb/sites/nfce/danfeNFCe"}}},MA:{[qe.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://www.hom.nfce.sefaz.ma.gov.br/portal/consultarNFCe.jsp"}},[qe.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"http://www.nfce.sefaz.ma.gov.br/portal/consultarNFCe.jsp"}}},MG:{[qe.Homolog]:{NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://hnfce.fazenda.mg.gov.br/nfce/services/NFeAutorizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://hnfce.fazenda.mg.gov.br/nfce/services/NFeRetAutorizacao4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://hnfce.fazenda.mg.gov.br/nfce/services/NFeInutilizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://hnfce.fazenda.mg.gov.br/nfce/services/NFeConsultaProtocolo4"},NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://hnfce.fazenda.mg.gov.br/nfce/services/NFeStatusServico4"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://hnfce.fazenda.mg.gov.br/nfce/services/NFeRecepcaoEvento4"},NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"https://portalsped.fazenda.mg.gov.br/portalnfce/sistema/qrcode.xhtml"}},[qe.Production]:{NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfce.fazenda.mg.gov.br/nfce/services/NFeAutorizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfce.fazenda.mg.gov.br/nfce/services/NFeRetAutorizacao4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfce.fazenda.mg.gov.br/nfce/services/NFeInutilizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfce.fazenda.mg.gov.br/nfce/services/NFeConsultaProtocolo4"},NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfce.fazenda.mg.gov.br/nfce/services/NFeStatusServico4"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://nfce.fazenda.mg.gov.br/nfce/services/NFeRecepcaoEvento4"},NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"https://portalsped.fazenda.mg.gov.br/portalnfce/sistema/qrcode.xhtml"}}},MT:{[qe.Homolog]:{NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://homologacao.sefaz.mt.gov.br/nfcews/services/NfeAutorizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://homologacao.sefaz.mt.gov.br/nfcews/services/NfeRetAutorizacao4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://homologacao.sefaz.mt.gov.br/nfcews/services/NfeInutilizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://homologacao.sefaz.mt.gov.br/nfcews/services/NfeConsulta4"},NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://homologacao.sefaz.mt.gov.br/nfcews/services/NfeStatusServico4"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://homologacao.sefaz.mt.gov.br/nfcews/services/RecepcaoEvento4"},NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://homologacao.sefaz.mt.gov.br/nfce/consultanfce"}},[qe.Production]:{NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfce.sefaz.mt.gov.br/nfcews/services/NfeAutorizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfce.sefaz.mt.gov.br/nfcews/services/NfeRetAutorizacao4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfce.sefaz.mt.gov.br/nfcews/services/NfeInutilizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfce.sefaz.mt.gov.br/nfcews/services/NfeConsulta4"},NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfce.sefaz.mt.gov.br/nfcews/services/NfeStatusServico4"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://nfce.sefaz.mt.gov.br/nfcews/services/RecepcaoEvento4"},NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"http://www.sefaz.mt.gov.br/nfce/consultanfce"}}},MS:{[qe.Homolog]:{NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://hom.nfce.sefaz.ms.gov.br/ws/NFeAutorizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://hom.nfce.sefaz.ms.gov.br/ws/NFeRetAutorizacao4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://hom.nfce.sefaz.ms.gov.br/ws/NFeInutilizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://hom.nfce.sefaz.ms.gov.br/ws/NFeConsultaProtocolo4"},NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://hom.nfce.sefaz.ms.gov.br/ws/NFeStatusServico4"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://hom.nfce.sefaz.ms.gov.br/ws/NFeRecepcaoEvento4"},NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://www.dfe.ms.gov.br/nfce/qrcode"}},[qe.Production]:{NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfce.sefaz.ms.gov.br/ws/NFeAutorizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfce.sefaz.ms.gov.br/ws/NFeRetAutorizacao4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfce.sefaz.ms.gov.br/ws/NFeInutilizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfce.sefaz.ms.gov.br/ws/NFeConsultaProtocolo4"},NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfce.sefaz.ms.gov.br/ws/NFeStatusServico4"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://nfce.sefaz.ms.gov.br/ws/NFeRecepcaoEvento4"},NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"http://www.dfe.ms.gov.br/nfce/qrcode"}}},PA:{[qe.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"https://appnfc.sefa.pa.gov.br/portal-homologacao/view/consultas/nfce/nfceForm.seam"}},[qe.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"https://appnfc.sefa.pa.gov.br/portal/view/consultas/nfce/nfceForm.seam"}}},PB:{[qe.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://www.sefaz.pb.gov.br/nfcehom"}},[qe.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"http://www.sefaz.pb.gov.br/nfce"}}},PE:{[qe.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://nfcehomolog.sefaz.pe.gov.br/nfce/consulta"}},[qe.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"http://nfce.sefaz.pe.gov.br/nfce/consulta"}}},PI:{[qe.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://www.sefaz.pi.gov.br/nfce/qrcode"}},[qe.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"http://www.sefaz.pi.gov.br/nfce/qrcode"}}},PR:{[qe.Homolog]:{NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://homologacao.nfce.sefa.pr.gov.br/nfce/NFeAutorizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://homologacao.nfce.sefa.pr.gov.br/nfce/NFeRetAutorizacao4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://homologacao.nfce.sefa.pr.gov.br/nfce/NFeInutilizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://homologacao.nfce.sefa.pr.gov.br/nfce/NFeConsultaProtocolo4"},NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://homologacao.nfce.sefa.pr.gov.br/nfce/NFeStatusServico4"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento",version:"1.00",url:"https://homologacao.nfce.sefa.pr.gov.br/nfce/NFeRecepcaoEvento4"},NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://www.fazenda.pr.gov.br/nfce/qrcode"}},[qe.Production]:{NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfce.sefa.pr.gov.br/nfce/NFeAutorizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacao",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfce.sefa.pr.gov.br/nfce/NFeRetAutorizacao4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfce.sefa.pr.gov.br/nfce/NFeInutilizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfce.sefa.pr.gov.br/nfce/NFeConsultaProtocolo4"},NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfce.sefa.pr.gov.br/nfce/NFeStatusServico4"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento",version:"1.00",url:"https://nfce.sefa.pr.gov.br/nfce/NFeRecepcaoEvento4"},NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"http://www.fazenda.pr.gov.br/nfce/qrcode"}}},RJ:{[qe.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://www4.fazenda.rj.gov.br/consultaNFCe/QRCode"}},[qe.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"https://consultadfe.fazenda.rj.gov.br/consultaNFCe/QRCode"}}},RN:{[qe.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://hom.nfce.set.rn.gov.br/consultarNFCe.aspx"}},[qe.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"http://nfce.set.rn.gov.br/consultarNFCe.aspx"}}},RO:{[qe.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://www.nfce.sefin.ro.gov.br/consultanfce/consulta.jsp"}},[qe.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"http://www.nfce.sefin.ro.gov.br/consultanfce/consulta.jsp"}}},RR:{[qe.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://200.174.88.103:8080/nfce/servlet/qrcode"}},[qe.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"https://www.sefaz.rr.gov.br/servlet/qrcode"}}},RS:{[qe.Homolog]:{NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfce-homologacao.sefazrs.rs.gov.br/ws/NfeAutorizacao/NFeAutorizacao4.asmx"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfce-homologacao.sefazrs.rs.gov.br/ws/NfeRetAutorizacao/NFeRetAutorizacao4.asmx"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfce-homologacao.sefazrs.rs.gov.br/ws/nfeinutilizacao/nfeinutilizacao4.asmx"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfce-homologacao.sefazrs.rs.gov.br/ws/NfeConsulta/NfeConsulta4.asmx"},NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfce-homologacao.sefazrs.rs.gov.br/ws/NfeStatusServico/NfeStatusServico4.asmx"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://nfce-homologacao.sefazrs.rs.gov.br/ws/recepcaoevento/recepcaoevento4.asmx"},NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"https://www.sefaz.rs.gov.br/NFCE/NFCE-COM.aspx"}},[qe.Production]:{NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfce.sefazrs.rs.gov.br/ws/NfeAutorizacao/NFeAutorizacao4.asmx"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfce.sefazrs.rs.gov.br/ws/NfeRetAutorizacao/NFeRetAutorizacao4.asmx"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfce.sefazrs.rs.gov.br/ws/nfeinutilizacao/nfeinutilizacao4.asmx"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfce.sefazrs.rs.gov.br/ws/NfeConsulta/NfeConsulta4.asmx"},NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfce.sefazrs.rs.gov.br/ws/NfeStatusServico/NfeStatusServico4.asmx"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://nfce.sefazrs.rs.gov.br/ws/recepcaoevento/recepcaoevento4.asmx"},NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"https://www.sefaz.rs.gov.br/NFCE/NFCE-COM.aspx"}}},SC:{[qe.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"https://hom.sat.sef.sc.gov.br/nfce/consulta"}},[qe.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"https://sat.sef.sc.gov.br/nfce/consulta"}}},SE:{[qe.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://www.hom.nfe.se.gov.br/nfce/qrcode"}},[qe.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"http://www.nfce.se.gov.br/nfce/qrcode"}}},SP:{[qe.Homolog]:{NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://homologacao.nfce.fazenda.sp.gov.br/ws/NFeAutorizacao4.asmx"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://homologacao.nfce.fazenda.sp.gov.br/ws/NFeRetAutorizacao4.asmx"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://homologacao.nfce.fazenda.sp.gov.br/ws/NFeInutilizacao4.asmx"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://homologacao.nfce.fazenda.sp.gov.br/ws/NFeConsultaProtocolo4.asmx"},NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://homologacao.nfce.fazenda.sp.gov.br/ws/NFeStatusServico4.asmx"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://homologacao.nfce.fazenda.sp.gov.br/ws/NFeRecepcaoEvento4.asmx"},RecepcaoEPEC:{method:"nfeRecepcaoEvento",operation:"RecepcaoEvento",version:"4.00",url:"https://homologacao.nfce.epec.fazenda.sp.gov.br/EPECws/RecepcaoEPEC.asmx"},EPECStatusServico:{method:"nfeStatusServicoNF2",operation:"NfeStatusServico2",version:"4.00",url:"https://homologacao.nfce.epec.fazenda.sp.gov.br/EPECws/EPECStatusServico.asmx"},NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"https://www.homologacao.nfce.fazenda.sp.gov.br/qrcode"}},[qe.Production]:{NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfce.fazenda.sp.gov.br/ws/NFeAutorizacao4.asmx"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfce.fazenda.sp.gov.br/ws/NFeRetAutorizacao4.asmx"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfce.fazenda.sp.gov.br/ws/NFeInutilizacao4.asmx"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfce.fazenda.sp.gov.br/ws/NFeConsultaProtocolo4.asmx"},NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfce.fazenda.sp.gov.br/ws/NFeStatusServico4.asmx"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://nfce.fazenda.sp.gov.br/ws/NFeRecepcaoEvento4.asmx"},RecepcaoEPEC:{method:"nfeRecepcaoEvento",operation:"RecepcaoEvento",version:"1.00",url:"https://nfce.epec.fazenda.sp.gov.br/EPECws/RecepcaoEPEC.asmx"},EPECStatusServico:{method:"nfeStatusServicoNF2",operation:"NfeStatusServico2",version:"4.00",url:"https://nfce.epec.fazenda.sp.gov.br/EPECws/EPECStatusServico.asmx"},NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"https://www.nfce.fazenda.sp.gov.br/qrcode"}}},TO:{[qe.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://homologacao.sefaz.to.gov.br/nfce/qrcode"}},[qe.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"http://www.sefaz.to.gov.br/nfce/qrcode"}}},SVRS:{[qe.Homolog]:{NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfce-homologacao.svrs.rs.gov.br/ws/NfeAutorizacao/NFeAutorizacao4.asmx"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfce-homologacao.svrs.rs.gov.br/ws/NfeRetAutorizacao/NFeRetAutorizacao4.asmx"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfce-homologacao.svrs.rs.gov.br/ws/nfeinutilizacao/nfeinutilizacao4.asmx"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfce-homologacao.svrs.rs.gov.br/ws/NfeConsulta/NfeConsulta4.asmx"},NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfce-homologacao.svrs.rs.gov.br/ws/NfeStatusServico/NfeStatusServico4.asmx"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://nfce-homologacao.svrs.rs.gov.br/ws/recepcaoevento/recepcaoevento4.asmx"}},[qe.Production]:{NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfce.svrs.rs.gov.br/ws/NfeAutorizacao/NFeAutorizacao4.asmx"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfce.svrs.rs.gov.br/ws/NfeRetAutorizacao/NFeRetAutorizacao4.asmx"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfce.svrs.rs.gov.br/ws/nfeinutilizacao/nfeinutilizacao4.asmx"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfce.svrs.rs.gov.br/ws/NfeConsulta/NfeConsulta4.asmx"},NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfce.svrs.rs.gov.br/ws/NfeStatusServico/NfeStatusServico4.asmx"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://nfce.svrs.rs.gov.br/ws/recepcaoevento/recepcaoevento4.asmx"}}},SVAN:{[qe.Homolog]:{},[qe.Production]:{}}};var Oie={[qe.Homolog]:{[pe.AC]:"www.sefaznet.ac.gov.br/nfce/consulta",[pe.AL]:"www.sefaz.al.gov.br/nfce/consulta",[pe.AP]:"www.sefaz.ap.gov.br/nfce/consulta",[pe.AM]:"www.sefaz.am.gov.br/nfce/consulta",[pe.BA]:"http://hinternet.sefaz.ba.gov.br/nfce/consulta",[pe.CE]:"www.sefaz.ce.gov.br/nfce/consulta",[pe.DF]:"www.fazenda.df.gov.br/nfce/consulta",[pe.ES]:"www.sefaz.es.gov.br/nfce/consulta",[pe.GO]:"www.nfce.go.gov.br/post/ver/214413/consulta-nfc-e-homologacao",[pe.MA]:"www.sefaz.ma.gov.br/nfce/consulta",[pe.MG]:"https://hportalsped.fazenda.mg.gov.br/portalnfce",[pe.MS]:"http://www.dfe.ms.gov.br/nfce/consulta",[pe.MT]:"http://homologacao.sefaz.mt.gov.br/nfce/consultanfce",[pe.PA]:"www.sefa.pa.gov.br/nfce/consulta",[pe.PB]:"www.sefaz.pb.gov.br/nfcehom",[pe.PE]:"nfce.sefaz.pe.gov.br/nfce/consulta",[pe.PR]:"http://www.fazenda.pr.gov.br/nfce/consulta",[pe.PI]:"www.sefaz.pi.gov.br/nfce/consulta",[pe.RJ]:"www.fazenda.rj.gov.br/nfce/consulta",[pe.RN]:"www.set.rn.gov.br/nfce/consulta",[pe.RO]:"www.sefin.ro.gov.br/nfce/consulta",[pe.RR]:"www.sefaz.rr.gov.br/nfce/consulta",[pe.RS]:"www.sefaz.rs.gov.br/nfce/consulta",[pe.SE]:"http://www.hom.nfe.se.gov.br/nfce/consulta",[pe.SC]:"https://hom.sat.sef.sc.gov.br/nfce/consulta",[pe.SP]:"https://www.homologacao.nfce.fazenda.sp.gov.br/NFCeConsultaPublica",[pe.TO]:"http://homologacao.sefaz.to.gov.br/nfce/consulta.jsf"},[qe.Production]:{[pe.AC]:"www.sefaznet.ac.gov.br/nfce/consulta",[pe.AL]:"www.sefaz.al.gov.br/nfce/consulta",[pe.AP]:"www.sefaz.ap.gov.br/nfce/consulta",[pe.AM]:"www.sefaz.am.gov.br/nfce/consulta",[pe.BA]:"http://www.sefaz.ba.gov.br/nfce/consulta",[pe.CE]:"www.sefaz.ce.gov.br/nfce/consulta",[pe.DF]:"www.fazenda.df.gov.br/nfce/consulta",[pe.ES]:"www.sefaz.es.gov.br/nfce/consulta",[pe.GO]:"www.sefaz.go.gov.br/nfce/consulta",[pe.MA]:"www.sefaz.ma.gov.br/nfce/consulta",[pe.MG]:"https://portalsped.fazenda.mg.gov.br/portalnfce",[pe.MS]:"http://www.dfe.ms.gov.br/nfce/consulta",[pe.MT]:"http://www.sefaz.mt.gov.br/nfce/consultanfce",[pe.PA]:"www.sefa.pa.gov.br/nfce/consulta",[pe.PE]:"nfce.sefaz.pe.gov.br/nfce/consulta",[pe.PR]:"http://www.fazenda.pr.gov.br/nfce/consulta",[pe.PI]:"www.sefaz.pi.gov.br/nfce/consulta",[pe.RJ]:"www.fazenda.rj.gov.br/nfce/consulta",[pe.RN]:"www.set.rn.gov.br/nfce/consulta",[pe.RO]:"www.sefin.ro.gov.br/nfce/consulta",[pe.RR]:"www.sefaz.rr.gov.br/nfce/consulta",[pe.RS]:"www.sefaz.rs.gov.br/nfce/consulta",[pe.SC]:"https://sat.sef.sc.gov.br/nfce/consulta",[pe.SE]:"http://www.nfce.se.gov.br/nfce/consulta",[pe.SP]:"https://www.nfce.fazenda.sp.gov.br/NFCeConsultaPublica",[pe.TO]:"www.sefaz.to.gov.br/nfce/consulta",[pe.PB]:"www.sefaz.pb.gov.br/nfce/consulta"}};var WBe={[pe.AC]:"SVRS",[pe.AL]:"SVRS",[pe.AM]:"AM",[pe.AP]:"SVRS",[pe.BA]:"SVRS",[pe.CE]:"SVRS",[pe.DF]:"SVRS",[pe.ES]:"SVRS",[pe.GO]:"GO",[pe.MA]:"SVRS",[pe.MG]:"MG",[pe.MS]:"MS",[pe.MT]:"MT",[pe.PA]:"SVRS",[pe.PB]:"SVRS",[pe.PE]:"SVRS",[pe.PI]:"SVRS",[pe.PR]:"PR",[pe.RJ]:"SVRS",[pe.RN]:"SVRS",[pe.RO]:"SVRS",[pe.RR]:"SVRS",[pe.RS]:"RS",[pe.SC]:"SVRS",[pe.SE]:"SVRS",[pe.SP]:"SP",[pe.TO]:"SVRS",SVRS:"SVRS"},Bie=WBe;var Yo=require("class-validator");function j2(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(j2,"_ts_decorate");function w_(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(w_,"_ts_metadata");var Up=class{static{o(this,"NfceAutorizacaoPayload")}tpAmb;cUF;idLote;indSinc="1";NFe};j2([(0,Yo.IsEnum)(qe),(0,Yo.IsOptional)(),w_("design:type",typeof EnvironmentCode>"u"?Object:EnvironmentCode)],Up.prototype,"tpAmb",void 0);j2([(0,Yo.IsEnum)(pe),(0,Yo.IsOptional)(),w_("design:type",typeof StateCode>"u"?Object:StateCode)],Up.prototype,"cUF",void 0);j2([(0,Yo.IsString)(),(0,Yo.IsOptional)(),w_("design:type",String)],Up.prototype,"idLote",void 0);j2([(0,Yo.IsOptional)(),(0,Yo.IsEnum)(["0","1"])],Up.prototype,"indSinc",void 0);j2([(0,Yo.IsNotEmpty)(),w_("design:type",typeof T>"u"?Object:T)],Up.prototype,"NFe",void 0);function JBe(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(JBe,"_ts_decorate");function $M(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o($M,"_ts_metadata");var yo=class extends vo{static{o(this,"NfceRemoteTransmitter")}remoteTransmissionRepository;qrCode;options={};constructor(e,t){super(e),this.remoteTransmissionRepository=e,this.qrCode=t}configure(e){return super.configure(e)}service(e){let t=e.cUF??this.options.cUF,n=e.tpAmb??this.options.tpAmb,i=Bie[t],u=QM[i][n][e.service];if(u)return u;let c=Object.keys(pe).find(l=>pe[l]===t);return QM[c][n][e.service]}getUrlConsult(e){let t=e.infNFe.ide.cUF,n=e.infNFe.ide.tpAmb;return Oie[n][t]}async autorizacao(e){return super.autorizacao(e)}};JBe([Ht(Up),$M("design:type",Function),$M("design:paramtypes",[typeof IAutorizacaoPayload>"u"?Object:IAutorizacaoPayload]),$M("design:returntype",Promise)],yo.prototype,"autorizacao",null);var ZM=class extends F2{static{o(this,"NfceCancelPipeline")}qrCode=new Jo(this.certificates);transmitter=new yo(this.soap,this.qrCode)};var eU=class extends k2{static{o(this,"NfceAuthorizerPipeline")}certificate;qrCode=new Jo(this.certificates);transmitter=new yo(this.soap,this.qrCode);constructor(e){super(e),this.certificate=e}};var tU=class extends px{static{o(this,"NfceVoidRangePipeline")}qrCode=new Jo(this.certificates);transmitter=new yo(this.soap,this.qrCode)};var rU=class extends V2{static{o(this,"NfceConsultStatusPipeline")}qrCode=new Jo(this.certificates);transmitter=new yo(this.soap,this.qrCode)};var nse=lr(require("path"),1);var qa=require("class-validator");var Pt=require("class-validator"),Li=require("class-transformer");var xt=require("class-validator"),M2=require("class-transformer");function Kt(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(Kt,"_ts_decorate");function Gt(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(Gt,"_ts_metadata");var qp=class{static{o(this,"RefNF")}cUF;AAMM;CNPJ;mod;serie;nNF};Kt([(0,xt.IsString)(),Gt("design:type",String)],qp.prototype,"cUF",void 0);Kt([(0,xt.IsString)(),Gt("design:type",String)],qp.prototype,"AAMM",void 0);Kt([(0,xt.IsString)(),Gt("design:type",String)],qp.prototype,"CNPJ",void 0);Kt([(0,xt.IsString)(),Gt("design:type",String)],qp.prototype,"mod",void 0);Kt([(0,xt.IsString)(),Gt("design:type",String)],qp.prototype,"serie",void 0);Kt([(0,xt.IsString)(),Gt("design:type",String)],qp.prototype,"nNF",void 0);var Qo=class{static{o(this,"RefNFP")}cUF;AAMM;CNPJ="";CPF="";IE;mod;serie;nNF};Kt([(0,xt.IsString)(),Gt("design:type",String)],Qo.prototype,"cUF",void 0);Kt([(0,xt.IsString)(),Gt("design:type",String)],Qo.prototype,"AAMM",void 0);Kt([(0,xt.IsOptional)(),(0,xt.IsString)(),Gt("design:type",String)],Qo.prototype,"CNPJ",void 0);Kt([(0,xt.IsOptional)(),(0,xt.IsString)(),Gt("design:type",String)],Qo.prototype,"CPF",void 0);Kt([(0,xt.IsString)(),Gt("design:type",String)],Qo.prototype,"IE",void 0);Kt([(0,xt.IsString)(),Gt("design:type",String)],Qo.prototype,"mod",void 0);Kt([(0,xt.IsString)(),Gt("design:type",String)],Qo.prototype,"serie",void 0);Kt([(0,xt.IsString)(),Gt("design:type",String)],Qo.prototype,"nNF",void 0);Qo=Kt([nn({properties:["CNPJ","CPF"],required:!0})],Qo);var hx=class{static{o(this,"RefECF")}mod;nECF;nCOO};Kt([(0,xt.IsString)(),Gt("design:type",String)],hx.prototype,"mod",void 0);Kt([(0,xt.IsString)(),Gt("design:type",String)],hx.prototype,"nECF",void 0);Kt([(0,xt.IsString)(),Gt("design:type",String)],hx.prototype,"nCOO",void 0);var Hp=class{static{o(this,"NFref")}refNFe;refNFeSig;refNF;refNFP;refCTe;refECF};Kt([(0,xt.IsOptional)(),(0,xt.IsString)(),Gt("design:type",String)],Hp.prototype,"refNFe",void 0);Kt([(0,xt.IsOptional)(),(0,xt.IsString)(),Gt("design:type",String)],Hp.prototype,"refNFeSig",void 0);Kt([(0,xt.IsOptional)(),(0,xt.ValidateNested)(),(0,M2.Type)(()=>qp),Gt("design:type",typeof IRefNF>"u"?Object:IRefNF)],Hp.prototype,"refNF",void 0);Kt([(0,xt.IsOptional)(),(0,xt.ValidateNested)(),(0,M2.Type)(()=>Qo),Gt("design:type",typeof IRefNFP>"u"?Object:IRefNFP)],Hp.prototype,"refNFP",void 0);Kt([(0,xt.IsOptional)(),(0,xt.IsString)(),Gt("design:type",String)],Hp.prototype,"refCTe",void 0);Kt([(0,xt.IsOptional)(),(0,xt.ValidateNested)(),(0,M2.Type)(()=>hx),Gt("design:type",typeof IRefECF>"u"?Object:IRefECF)],Hp.prototype,"refECF",void 0);var sn=class{static{o(this,"Ide")}cUF;cNF;natOp;mod;serie;nNF;dhEmi;dhSaiEnt;tpNF;idDest;cMunFG;tpImp;tpEmis;cDV="";tpAmb;finNFe;indFinal;indPres;indIntermed;procEmi;verProc;dhCont;xJust;NFref};Kt([(0,xt.IsEnum)(pe),Gt("design:type",typeof StateCode>"u"?Object:StateCode)],sn.prototype,"cUF",void 0);Kt([(0,xt.IsString)(),Gt("design:type",String)],sn.prototype,"cNF",void 0);Kt([(0,xt.IsString)(),Gt("design:type",String)],sn.prototype,"natOp",void 0);Kt([(0,xt.IsString)(),Gt("design:type",String)],sn.prototype,"mod",void 0);Kt([(0,xt.IsString)(),Gt("design:type",String)],sn.prototype,"serie",void 0);Kt([(0,xt.IsString)(),Gt("design:type",String)],sn.prototype,"nNF",void 0);Kt([Fp({format:"YYYY-MM-DD[T]HH:mm:ssZ"}),Gt("design:type",String)],sn.prototype,"dhEmi",void 0);Kt([(0,xt.IsOptional)(),Fp({format:"YYYY-MM-DD[T]HH:mm:ssZ"}),Gt("design:type",String)],sn.prototype,"dhSaiEnt",void 0);Kt([(0,xt.IsString)(),Gt("design:type",String)],sn.prototype,"tpNF",void 0);Kt([(0,xt.IsString)(),Gt("design:type",String)],sn.prototype,"idDest",void 0);Kt([(0,xt.IsString)(),Gt("design:type",String)],sn.prototype,"cMunFG",void 0);Kt([(0,xt.IsString)(),Gt("design:type",String)],sn.prototype,"tpImp",void 0);Kt([(0,xt.IsString)(),Gt("design:type",typeof TpEmis>"u"?Object:TpEmis)],sn.prototype,"tpEmis",void 0);Kt([(0,xt.IsString)(),(0,xt.IsOptional)(),Gt("design:type",String)],sn.prototype,"cDV",void 0);Kt([(0,xt.IsString)(),Gt("design:type",typeof EnvironmentCode>"u"?Object:EnvironmentCode)],sn.prototype,"tpAmb",void 0);Kt([(0,xt.IsString)(),Gt("design:type",String)],sn.prototype,"finNFe",void 0);Kt([(0,xt.IsString)(),Gt("design:type",String)],sn.prototype,"indFinal",void 0);Kt([(0,xt.IsString)(),Gt("design:type",String)],sn.prototype,"indPres",void 0);Kt([(0,xt.IsOptional)(),(0,xt.IsString)(),Gt("design:type",String)],sn.prototype,"indIntermed",void 0);Kt([(0,xt.IsString)(),Gt("design:type",String)],sn.prototype,"procEmi",void 0);Kt([(0,xt.IsString)(),Gt("design:type",String)],sn.prototype,"verProc",void 0);Kt([(0,xt.IsOptional)(),(0,xt.IsString)(),Fp({format:"YYYY-MM-DD[T]HH:mm:ssZ"}),Gt("design:type",String)],sn.prototype,"dhCont",void 0);Kt([(0,xt.IsOptional)(),(0,xt.IsString)(),Gt("design:type",String)],sn.prototype,"xJust",void 0);Kt([(0,xt.IsOptional)(),(0,xt.IsArray)(),(0,xt.ArrayMaxSize)(999),(0,xt.ValidateNested)({each:!0}),(0,M2.Type)(()=>Hp),Gt("design:type",Array)],sn.prototype,"NFref",void 0);var ts=require("class-validator");var Pie=require("class-transformer");var Xs=require("class-validator");function _c(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(_c,"_ts_decorate");function Lc(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(Lc,"_ts_metadata");var Gs=class{static{o(this,"EnderEmit")}xLgr;nro;xCpl;xBairro;cMun;xMun;UF;CEP;cPais;xPais;fone};_c([(0,Xs.IsString)(),Lc("design:type",String)],Gs.prototype,"xLgr",void 0);_c([(0,Xs.IsString)(),Lc("design:type",String)],Gs.prototype,"nro",void 0);_c([(0,Xs.IsOptional)(),(0,Xs.IsString)(),Lc("design:type",String)],Gs.prototype,"xCpl",void 0);_c([(0,Xs.IsString)(),Lc("design:type",String)],Gs.prototype,"xBairro",void 0);_c([(0,Xs.IsString)(),Lc("design:type",String)],Gs.prototype,"cMun",void 0);_c([(0,Xs.IsString)(),Lc("design:type",String)],Gs.prototype,"xMun",void 0);_c([(0,Xs.IsString)(),Lc("design:type",String)],Gs.prototype,"UF",void 0);_c([(0,Xs.IsString)(),Lc("design:type",String)],Gs.prototype,"CEP",void 0);_c([(0,Xs.IsOptional)(),(0,Xs.IsString)(),Lc("design:type",String)],Gs.prototype,"cPais",void 0);_c([(0,Xs.IsOptional)(),(0,Xs.IsString)(),Lc("design:type",String)],Gs.prototype,"xPais",void 0);_c([(0,Xs.IsOptional)(),(0,Xs.IsString)(),Lc("design:type",String)],Gs.prototype,"fone",void 0);function Fc(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(Fc,"_ts_decorate");function of(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(of,"_ts_metadata");var xs=class{static{o(this,"Emit")}CNPJ="";CPF="";xNome;xFant;enderEmit;IE;IEST;IM;CNAE;CRT};Fc([(0,ts.IsOptional)(),(0,ts.IsString)(),of("design:type",String)],xs.prototype,"CNPJ",void 0);Fc([(0,ts.IsOptional)(),(0,ts.IsString)(),of("design:type",String)],xs.prototype,"CPF",void 0);Fc([(0,ts.IsString)(),of("design:type",String)],xs.prototype,"xNome",void 0);Fc([(0,ts.IsOptional)(),(0,ts.IsString)(),of("design:type",String)],xs.prototype,"xFant",void 0);Fc([(0,ts.ValidateNested)(),(0,Pie.Type)(()=>Gs),of("design:type",typeof Gs>"u"?Object:Gs)],xs.prototype,"enderEmit",void 0);Fc([(0,ts.IsString)(),of("design:type",String)],xs.prototype,"IE",void 0);Fc([(0,ts.IsOptional)(),(0,ts.IsString)(),of("design:type",String)],xs.prototype,"IEST",void 0);Fc([(0,ts.IsOptional)(),(0,ts.IsString)(),of("design:type",String)],xs.prototype,"IM",void 0);Fc([(0,ts.IsOptional)(),(0,ts.IsString)(),of("design:type",String)],xs.prototype,"CNAE",void 0);Fc([(0,ts.IsString)(),of("design:type",String)],xs.prototype,"CRT",void 0);xs=Fc([nn({properties:["CNPJ","CPF"],required:!0})],xs);var wi=require("class-validator"),_ie=require("class-transformer");var Jn=require("class-validator");function kc(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(kc,"_ts_decorate");function Vc(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(Vc,"_ts_metadata");var Fa=class{static{o(this,"EnderDest")}xLgr;nro;xCpl;xBairro;cMun;xMun;UF;CEP;cPais;xPais;fone};kc([(0,Jn.IsOptional)(),(0,Jn.IsString)(),Vc("design:type",String)],Fa.prototype,"xLgr",void 0);kc([(0,Jn.IsOptional)(),(0,Jn.IsString)(),Vc("design:type",String)],Fa.prototype,"nro",void 0);kc([(0,Jn.IsOptional)(),(0,Jn.IsString)(),Vc("design:type",String)],Fa.prototype,"xCpl",void 0);kc([(0,Jn.IsOptional)(),(0,Jn.IsString)(),Vc("design:type",String)],Fa.prototype,"xBairro",void 0);kc([(0,Jn.IsOptional)(),(0,Jn.IsString)(),Vc("design:type",String)],Fa.prototype,"cMun",void 0);kc([(0,Jn.IsOptional)(),(0,Jn.IsString)(),Vc("design:type",String)],Fa.prototype,"xMun",void 0);kc([(0,Jn.IsOptional)(),(0,Jn.IsString)(),Vc("design:type",String)],Fa.prototype,"UF",void 0);kc([(0,Jn.IsOptional)(),(0,Jn.IsString)(),Vc("design:type",String)],Fa.prototype,"CEP",void 0);kc([(0,Jn.IsOptional)(),(0,Jn.IsString)(),Vc("design:type",String)],Fa.prototype,"cPais",void 0);kc([(0,Jn.IsOptional)(),(0,Jn.IsString)(),Vc("design:type",String)],Fa.prototype,"xPais",void 0);kc([(0,Jn.IsOptional)(),(0,Jn.IsString)(),Vc("design:type",String)],Fa.prototype,"fone",void 0);function jc(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(jc,"_ts_decorate");function uf(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(uf,"_ts_metadata");var ws=class{static{o(this,"Dest")}CNPJ="";CPF="";idEstrangeiro;xNome;enderDest;indIEDest;IE;ISUF;IM;email};jc([(0,wi.IsOptional)(),(0,wi.IsString)(),uf("design:type",String)],ws.prototype,"CNPJ",void 0);jc([(0,wi.IsOptional)(),(0,wi.IsString)(),uf("design:type",String)],ws.prototype,"CPF",void 0);jc([(0,wi.IsOptional)(),(0,wi.IsString)(),uf("design:type",String)],ws.prototype,"idEstrangeiro",void 0);jc([(0,wi.IsOptional)(),(0,wi.IsString)(),uf("design:type",String)],ws.prototype,"xNome",void 0);jc([(0,wi.IsOptional)(),(0,wi.ValidateNested)(),(0,_ie.Type)(()=>Fa),uf("design:type",typeof IEnderDest>"u"?Object:IEnderDest)],ws.prototype,"enderDest",void 0);jc([(0,wi.IsString)(),uf("design:type",String)],ws.prototype,"indIEDest",void 0);jc([(0,wi.IsOptional)(),(0,wi.IsString)(),uf("design:type",String)],ws.prototype,"IE",void 0);jc([(0,wi.IsOptional)(),(0,wi.IsString)(),uf("design:type",String)],ws.prototype,"ISUF",void 0);jc([(0,wi.IsOptional)(),(0,wi.IsString)(),uf("design:type",String)],ws.prototype,"IM",void 0);jc([(0,wi.IsOptional)(),(0,wi.IsString)(),uf("design:type",String)],ws.prototype,"email",void 0);ws=jc([nn({properties:["CNPJ","CPF"],required:!0})],ws);var mn=require("class-validator");function Ws(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(Ws,"_ts_decorate");function da(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(da,"_ts_metadata");var Pn=class{static{o(this,"Local")}CNPJ;CPF;xNome;xLgr;nro;xCpl;xBairro;cMun;xMun;UF;CEP;cPais;xPais;fone;email;IE};Ws([(0,mn.IsOptional)(),(0,mn.IsString)(),da("design:type",String)],Pn.prototype,"CNPJ",void 0);Ws([(0,mn.IsOptional)(),(0,mn.IsString)(),da("design:type",String)],Pn.prototype,"CPF",void 0);Ws([(0,mn.IsOptional)(),(0,mn.IsString)(),da("design:type",String)],Pn.prototype,"xNome",void 0);Ws([(0,mn.IsString)(),da("design:type",String)],Pn.prototype,"xLgr",void 0);Ws([(0,mn.IsString)(),da("design:type",String)],Pn.prototype,"nro",void 0);Ws([(0,mn.IsOptional)(),(0,mn.IsString)(),da("design:type",String)],Pn.prototype,"xCpl",void 0);Ws([(0,mn.IsString)(),da("design:type",String)],Pn.prototype,"xBairro",void 0);Ws([(0,mn.IsString)(),da("design:type",String)],Pn.prototype,"cMun",void 0);Ws([(0,mn.IsString)(),da("design:type",String)],Pn.prototype,"xMun",void 0);Ws([(0,mn.IsString)(),da("design:type",String)],Pn.prototype,"UF",void 0);Ws([(0,mn.IsOptional)(),(0,mn.IsString)(),da("design:type",String)],Pn.prototype,"CEP",void 0);Ws([(0,mn.IsOptional)(),(0,mn.IsString)(),da("design:type",String)],Pn.prototype,"cPais",void 0);Ws([(0,mn.IsOptional)(),(0,mn.IsString)(),da("design:type",String)],Pn.prototype,"xPais",void 0);Ws([(0,mn.IsOptional)(),(0,mn.IsString)(),da("design:type",String)],Pn.prototype,"fone",void 0);Ws([(0,mn.IsOptional)(),(0,mn.IsString)(),da("design:type",String)],Pn.prototype,"email",void 0);Ws([(0,mn.IsOptional)(),(0,mn.IsString)(),da("design:type",String)],Pn.prototype,"IE",void 0);Pn=Ws([nn({properties:["CNPJ","CPF"]})],Pn);var dx=require("class-validator");function nU(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(nU,"_ts_decorate");function Lie(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(Lie,"_ts_metadata");var cf=class{static{o(this,"AutXML")}CNPJ;CPF};nU([(0,dx.IsOptional)(),(0,dx.IsString)(),Lie("design:type",String)],cf.prototype,"CNPJ",void 0);nU([(0,dx.IsOptional)(),(0,dx.IsString)(),Lie("design:type",String)],cf.prototype,"CPF",void 0);cf=nU([nn({properties:["CNPJ","CPF"]})],cf);var U2=require("class-validator");function Fie(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(Fie,"_ts_decorate");function kie(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(kie,"_ts_metadata");var Fm=class{static{o(this,"InfIntermed")}CNPJ;idCadIntTran};Fie([(0,U2.IsString)(),kie("design:type",String)],Fm.prototype,"CNPJ",void 0);Fie([(0,U2.IsOptional)(),(0,U2.IsString)(),kie("design:type",String)],Fm.prototype,"idCadIntTran",void 0);var Hv=require("class-validator");function iU(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(iU,"_ts_decorate");function sU(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(sU,"_ts_metadata");var zp=class{static{o(this,"Exporta")}UFSaidaPais;xLocExporta;xLocDespacho};iU([(0,Hv.IsString)(),sU("design:type",String)],zp.prototype,"UFSaidaPais",void 0);iU([(0,Hv.IsOptional)(),(0,Hv.IsString)(),sU("design:type",String)],zp.prototype,"xLocExporta",void 0);iU([(0,Hv.IsOptional)(),(0,Hv.IsString)(),sU("design:type",String)],zp.prototype,"xLocDespacho",void 0);var km=require("class-validator");function aU(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(aU,"_ts_decorate");function oU(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(oU,"_ts_metadata");var Kp=class{static{o(this,"Compra")}xNEmp;xPed;xCont};aU([(0,km.IsOptional)(),(0,km.IsString)(),oU("design:type",String)],Kp.prototype,"xNEmp",void 0);aU([(0,km.IsOptional)(),(0,km.IsString)(),oU("design:type",String)],Kp.prototype,"xPed",void 0);aU([(0,km.IsOptional)(),(0,km.IsString)(),oU("design:type",String)],Kp.prototype,"xCont",void 0);var lf=require("class-validator");function mx(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(mx,"_ts_decorate");function gx(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(gx,"_ts_metadata");var qu=class{static{o(this,"InfRespTec")}CNPJ;xContato;email;fone;idCSRT;hashCSRT};mx([(0,lf.IsString)(),gx("design:type",String)],qu.prototype,"CNPJ",void 0);mx([(0,lf.IsString)(),gx("design:type",String)],qu.prototype,"xContato",void 0);mx([(0,lf.IsString)(),gx("design:type",String)],qu.prototype,"email",void 0);mx([(0,lf.IsString)(),gx("design:type",String)],qu.prototype,"fone",void 0);mx([(0,lf.IsOptional)(),(0,lf.IsString)(),gx("design:type",String)],qu.prototype,"idCSRT",void 0);mx([(0,lf.IsOptional)(),(0,lf.IsString)(),gx("design:type",String)],qu.prototype,"hashCSRT",void 0);var pf=require("class-validator"),W2=require("class-transformer");var Mc=require("class-validator");function cn(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(cn,"_ts_decorate");function ln(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(ln,"_ts_metadata");var Gr=class{static{o(this,"ICMSTot")}vBC="0.00";vICMS="0.00";vICMSDeson="0.00";vFCPUFDest;vICMSUFDest;vICMSUFRemet;vFCP="0.00";vBCST="0.00";vST="0.00";vFCPST="0.00";vFCPSTRet="0.00";qBCMono;vICMSMono;qBCMonoReten;vICMSMonoReten;qBCMonoRet;vICMSMonoRet;vProd="0.00";vFrete="0.00";vSeg="0.00";vDesc="0.00";vII="0.00";vIPI="0.00";vIPIDevol="0.00";vPIS="0.00";vCOFINS="0.00";vOutro="0.00";vNF="0.00";vTotTrib};cn([ne({fixed:2}),ln("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Gr.prototype,"vBC",void 0);cn([ne({fixed:2}),ln("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Gr.prototype,"vICMS",void 0);cn([ne({fixed:2}),ln("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Gr.prototype,"vICMSDeson",void 0);cn([(0,Mc.IsOptional)(),ne({fixed:2}),ln("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Gr.prototype,"vFCPUFDest",void 0);cn([(0,Mc.IsOptional)(),ne({fixed:2}),ln("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Gr.prototype,"vICMSUFDest",void 0);cn([(0,Mc.IsOptional)(),ne({fixed:2}),ln("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Gr.prototype,"vICMSUFRemet",void 0);cn([ne({fixed:2}),ln("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Gr.prototype,"vFCP",void 0);cn([ne({fixed:2}),ln("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Gr.prototype,"vBCST",void 0);cn([ne({fixed:2}),ln("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Gr.prototype,"vST",void 0);cn([ne({fixed:2}),ln("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Gr.prototype,"vFCPST",void 0);cn([ne({fixed:2}),ln("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Gr.prototype,"vFCPSTRet",void 0);cn([(0,Mc.IsOptional)(),ne({fixed:2}),ln("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Gr.prototype,"qBCMono",void 0);cn([(0,Mc.IsOptional)(),ne({fixed:2}),ln("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Gr.prototype,"vICMSMono",void 0);cn([(0,Mc.IsOptional)(),ne({fixed:2}),ln("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Gr.prototype,"qBCMonoReten",void 0);cn([(0,Mc.IsOptional)(),ne({fixed:2}),ln("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Gr.prototype,"vICMSMonoReten",void 0);cn([(0,Mc.IsOptional)(),ne({fixed:2}),ln("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Gr.prototype,"qBCMonoRet",void 0);cn([(0,Mc.IsOptional)(),ne({fixed:2}),ln("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Gr.prototype,"vICMSMonoRet",void 0);cn([ne({fixed:2}),ln("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Gr.prototype,"vProd",void 0);cn([ne({fixed:2}),ln("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Gr.prototype,"vFrete",void 0);cn([ne({fixed:2}),ln("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Gr.prototype,"vSeg",void 0);cn([ne({fixed:2}),ln("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Gr.prototype,"vDesc",void 0);cn([ne({fixed:2}),ln("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Gr.prototype,"vII",void 0);cn([ne({fixed:2}),ln("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Gr.prototype,"vIPI",void 0);cn([ne({fixed:2}),ln("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Gr.prototype,"vIPIDevol",void 0);cn([ne({fixed:2}),ln("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Gr.prototype,"vPIS",void 0);cn([ne({fixed:2}),ln("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Gr.prototype,"vCOFINS",void 0);cn([ne({fixed:2}),ln("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Gr.prototype,"vOutro",void 0);cn([ne({fixed:2}),ln("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Gr.prototype,"vNF",void 0);cn([(0,Mc.IsOptional)(),ne({fixed:2}),ln("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Gr.prototype,"vTotTrib",void 0);var qn=require("class-validator");function Hu(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(Hu,"_ts_decorate");function zu(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(zu,"_ts_metadata");var ma=class{static{o(this,"ISSQNTot")}vServ;vBC;vISS;vPIS;vCOFINS;dCompet;vDeducao;vOutro;vDescIncond;vDescCond;vISSRet;cRegTrib};Hu([(0,qn.IsOptional)(),(0,qn.IsString)(),zu("design:type",String)],ma.prototype,"vServ",void 0);Hu([(0,qn.IsOptional)(),(0,qn.IsString)(),zu("design:type",String)],ma.prototype,"vBC",void 0);Hu([(0,qn.IsOptional)(),(0,qn.IsString)(),zu("design:type",String)],ma.prototype,"vISS",void 0);Hu([(0,qn.IsOptional)(),(0,qn.IsString)(),zu("design:type",String)],ma.prototype,"vPIS",void 0);Hu([(0,qn.IsOptional)(),(0,qn.IsString)(),zu("design:type",String)],ma.prototype,"vCOFINS",void 0);Hu([(0,qn.IsString)(),zu("design:type",String)],ma.prototype,"dCompet",void 0);Hu([(0,qn.IsOptional)(),(0,qn.IsString)(),zu("design:type",String)],ma.prototype,"vDeducao",void 0);Hu([(0,qn.IsOptional)(),(0,qn.IsString)(),zu("design:type",String)],ma.prototype,"vOutro",void 0);Hu([(0,qn.IsOptional)(),(0,qn.IsString)(),zu("design:type",String)],ma.prototype,"vDescIncond",void 0);Hu([(0,qn.IsOptional)(),(0,qn.IsString)(),zu("design:type",String)],ma.prototype,"vDescCond",void 0);Hu([(0,qn.IsOptional)(),(0,qn.IsString)(),zu("design:type",String)],ma.prototype,"vISSRet",void 0);Hu([(0,qn.IsOptional)(),(0,qn.IsString)(),zu("design:type",String)],ma.prototype,"cRegTrib",void 0);var Vm=require("class-validator");function zv(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(zv,"_ts_decorate");function Kv(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(Kv,"_ts_metadata");var Uc=class{static{o(this,"RetTrib")}vRetPIS;vRetCOFINS;vRetCSLL;vBCIRRF;vIRRF;vBCRetPrev;vRetPrev};zv([(0,Vm.IsOptional)(),ne({fixed:2}),Kv("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Uc.prototype,"vRetPIS",void 0);zv([(0,Vm.IsOptional)(),ne({fixed:2}),Kv("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Uc.prototype,"vRetCOFINS",void 0);zv([(0,Vm.IsOptional)(),ne({fixed:2}),Kv("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Uc.prototype,"vRetCSLL",void 0);zv([(0,Vm.IsOptional)(),ne({fixed:2}),Kv("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Uc.prototype,"vBCIRRF",void 0);zv([(0,Vm.IsOptional)(),ne({fixed:2}),Kv("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Uc.prototype,"vIRRF",void 0);zv([(0,Vm.IsOptional)(),ne({fixed:2}),Kv("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Uc.prototype,"vBCRetPrev",void 0);zv([(0,Vm.IsOptional)(),ne({fixed:2}),Kv("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Uc.prototype,"vRetPrev",void 0);var Jp=require("class-validator");var Xp=require("class-validator");function uU(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(uU,"_ts_decorate");function cU(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(cU,"_ts_metadata");var Gv=class{static{o(this,"IBSMunTot")}vDif="0.00";vDevTrib="0.00";vIBSMun="0.00"};uU([ne({fixed:2}),cU("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Gv.prototype,"vDif",void 0);uU([ne({fixed:2}),cU("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Gv.prototype,"vDevTrib",void 0);uU([ne({fixed:2}),cU("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Gv.prototype,"vIBSMun",void 0);var pU=require("class-transformer");function lU(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(lU,"_ts_decorate");function fU(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(fU,"_ts_metadata");var Xv=class{static{o(this,"IBSUFTot")}vDif="0.00";vDevTrib="0.00";vIBSUF="0.00"};lU([ne({fixed:2}),fU("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Xv.prototype,"vDif",void 0);lU([ne({fixed:2}),fU("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Xv.prototype,"vDevTrib",void 0);lU([ne({fixed:2}),fU("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Xv.prototype,"vIBSUF",void 0);function q2(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(q2,"_ts_decorate");function H2(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(H2,"_ts_metadata");var Gp=class{static{o(this,"IBSTot")}gIBSUF;gIBSMun;vIBS="0.00";vCredPres="0.00";vCredPresCondSus="0.00"};q2([(0,Xp.IsOptional)(),(0,Xp.ValidateNested)(),(0,pU.Type)(()=>Xv),H2("design:type",typeof IIBSUFTot>"u"?Object:IIBSUFTot)],Gp.prototype,"gIBSUF",void 0);q2([(0,Xp.IsOptional)(),(0,Xp.ValidateNested)(),(0,pU.Type)(()=>Gv),H2("design:type",typeof IIBSMunTot>"u"?Object:IIBSMunTot)],Gp.prototype,"gIBSMun",void 0);q2([(0,Xp.IsOptional)(),ne({fixed:2}),H2("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Gp.prototype,"vIBS",void 0);q2([(0,Xp.IsOptional)(),ne({fixed:2}),H2("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Gp.prototype,"vCredPres",void 0);q2([(0,Xp.IsOptional)(),ne({fixed:2}),H2("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Gp.prototype,"vCredPresCondSus",void 0);var A_=require("class-transformer");var vx=require("class-validator");function z2(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(z2,"_ts_decorate");function K2(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(K2,"_ts_metadata");var Wp=class{static{o(this,"CBSTot")}vDif="0.00";vDevTrib="0.00";vCBS="0.00";vCredPres="0.00";vCredPresCondSus="0.00"};z2([(0,vx.IsOptional)(),ne({fixed:2}),K2("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Wp.prototype,"vDif",void 0);z2([(0,vx.IsOptional)(),ne({fixed:2}),K2("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Wp.prototype,"vDevTrib",void 0);z2([(0,vx.IsOptional)(),ne({fixed:2}),K2("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Wp.prototype,"vCBS",void 0);z2([(0,vx.IsOptional)(),ne({fixed:2}),K2("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Wp.prototype,"vCredPres",void 0);z2([(0,vx.IsOptional)(),ne({fixed:2}),K2("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Wp.prototype,"vCredPresCondSus",void 0);var Wv=require("class-validator");function yx(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(yx,"_ts_decorate");function Sx(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(Sx,"_ts_metadata");var ff=class{static{o(this,"IBSMonoTot")}vIBSMono="0.00";vCBSMono="0.00";vIBSMonoReten="0.00";vCBSMonoReten="0.00";vIBSMonoRet="0.00";vCBSMonoRet="0.00"};yx([(0,Wv.IsOptional)(),ne({fixed:2}),Sx("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ff.prototype,"vIBSMono",void 0);yx([(0,Wv.IsOptional)(),ne({fixed:2}),Sx("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ff.prototype,"vCBSMono",void 0);yx([(0,Wv.IsOptional)(),ne({fixed:2}),Sx("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ff.prototype,"vIBSMonoReten",void 0);yx([(0,Wv.IsOptional)(),ne({fixed:2}),Sx("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ff.prototype,"vCBSMonoReten",void 0);yx([(0,Wv.IsOptional)(),ne({fixed:2}),Sx("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ff.prototype,"vIBSMonoRet",void 0);yx([(0,Wv.IsOptional)(),ne({fixed:2}),Sx("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ff.prototype,"vCBSMonoRet",void 0);function C_(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(C_,"_ts_decorate");function E_(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(E_,"_ts_metadata");var jm=class{static{o(this,"IBSCBSTot")}vBCIBSCBS="0.00";gIBS;gCBS;gMono};C_([(0,Jp.IsOptional)(),ne({fixed:2}),E_("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],jm.prototype,"vBCIBSCBS",void 0);C_([(0,Jp.IsOptional)(),(0,Jp.ValidateNested)(),(0,A_.Type)(()=>Gp),E_("design:type",typeof IIBSTot>"u"?Object:IIBSTot)],jm.prototype,"gIBS",void 0);C_([(0,Jp.IsOptional)(),(0,Jp.ValidateNested)(),(0,A_.Type)(()=>Wp),E_("design:type",typeof ICBSTot>"u"?Object:ICBSTot)],jm.prototype,"gCBS",void 0);C_([(0,Jp.IsOptional)(),(0,Jp.ValidateNested)(),(0,A_.Type)(()=>ff),E_("design:type",typeof IIBSMonoTot>"u"?Object:IIBSMonoTot)],jm.prototype,"gMono",void 0);function G2(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(G2,"_ts_decorate");function X2(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(X2,"_ts_metadata");var qc=class{static{o(this,"Total")}ICMSTot;ISSQNtot;retTrib;IBSCBSTot;vNFTot};G2([(0,pf.ValidateNested)(),(0,W2.Type)(()=>Gr),X2("design:type",typeof IICMSTot>"u"?Object:IICMSTot)],qc.prototype,"ICMSTot",void 0);G2([(0,pf.IsOptional)(),(0,pf.ValidateNested)(),(0,W2.Type)(()=>ma),X2("design:type",typeof IISSQNTot>"u"?Object:IISSQNTot)],qc.prototype,"ISSQNtot",void 0);G2([(0,pf.IsOptional)(),(0,pf.ValidateNested)(),(0,W2.Type)(()=>Uc),X2("design:type",typeof IRetTrib>"u"?Object:IRetTrib)],qc.prototype,"retTrib",void 0);G2([(0,pf.IsOptional)(),(0,pf.ValidateNested)(),(0,W2.Type)(()=>jm),X2("design:type",typeof IIBSCBSTot>"u"?Object:IIBSCBSTot)],qc.prototype,"IBSCBSTot",void 0);G2([(0,pf.IsOptional)(),ne({fixed:2}),X2("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],qc.prototype,"vNFTot",void 0);var Bi=require("class-validator"),Nx=require("class-transformer");var va=require("class-validator");function Mm(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(Mm,"_ts_decorate");function Jv(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(Jv,"_ts_metadata");var ga=class{static{o(this,"Transporta")}CNPJ;CPF;xNome;IE;xEnder;xMun;UF};Mm([(0,va.IsOptional)(),(0,va.IsString)(),Jv("design:type",String)],ga.prototype,"CNPJ",void 0);Mm([(0,va.IsOptional)(),(0,va.IsString)(),Jv("design:type",String)],ga.prototype,"CPF",void 0);Mm([(0,va.IsOptional)(),(0,va.IsString)(),Jv("design:type",String)],ga.prototype,"xNome",void 0);Mm([(0,va.IsOptional)(),(0,va.IsString)(),Jv("design:type",String)],ga.prototype,"IE",void 0);Mm([(0,va.IsOptional)(),(0,va.IsString)(),Jv("design:type",String)],ga.prototype,"xEnder",void 0);Mm([(0,va.IsOptional)(),(0,va.IsString)(),Jv("design:type",String)],ga.prototype,"xMun",void 0);Mm([(0,va.IsOptional)(),(0,va.IsString)(),Jv("design:type",String)],ga.prototype,"UF",void 0);ga=Mm([nn({properties:["CNPJ","CPF"]})],ga);var hf=require("class-validator");function bx(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(bx,"_ts_decorate");function xx(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(xx,"_ts_metadata");var $o=class{static{o(this,"RetTransp")}vServ;vBCRet;pICMSRet;vICMSRet;CFOP;cMunFG};bx([(0,hf.IsOptional)(),ne({fixed:2}),xx("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],$o.prototype,"vServ",void 0);bx([(0,hf.IsOptional)(),ne({fixed:2}),xx("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],$o.prototype,"vBCRet",void 0);bx([(0,hf.IsOptional)(),ne({fixed:4}),xx("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],$o.prototype,"pICMSRet",void 0);bx([(0,hf.IsOptional)(),ne({fixed:2}),xx("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],$o.prototype,"vICMSRet",void 0);bx([(0,hf.IsOptional)(),(0,hf.IsString)(),xx("design:type",String)],$o.prototype,"CFOP",void 0);bx([(0,hf.IsOptional)(),(0,hf.IsString)(),xx("design:type",String)],$o.prototype,"cMunFG",void 0);var So=require("class-validator");function wx(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(wx,"_ts_decorate");function Cx(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(Cx,"_ts_metadata");var df=class{static{o(this,"VeicTransp")}placa;UF;RNTC};wx([(0,So.IsOptional)(),(0,So.IsString)(),Cx("design:type",String)],df.prototype,"placa",void 0);wx([(0,So.IsOptional)(),(0,So.IsString)(),Cx("design:type",String)],df.prototype,"UF",void 0);wx([(0,So.IsOptional)(),(0,So.IsString)(),Cx("design:type",String)],df.prototype,"RNTC",void 0);var Yv=class{static{o(this,"Reboque")}placa;UF;RNTC};wx([(0,So.IsOptional)(),(0,So.IsString)(),Cx("design:type",String)],Yv.prototype,"placa",void 0);wx([(0,So.IsOptional)(),(0,So.IsString)(),Cx("design:type",String)],Yv.prototype,"UF",void 0);wx([(0,So.IsOptional)(),(0,So.IsString)(),Cx("design:type",String)],Yv.prototype,"RNTC",void 0);var Ku=require("class-validator");function Ex(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(Ex,"_ts_decorate");function Ax(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(Ax,"_ts_metadata");var mf=class{static{o(this,"Vol")}qVol;esp;marca;nVol;pesoL;pesoB};Ex([(0,Ku.IsOptional)(),(0,Ku.IsString)(),Ax("design:type",String)],mf.prototype,"qVol",void 0);Ex([(0,Ku.IsOptional)(),(0,Ku.IsString)(),Ax("design:type",String)],mf.prototype,"esp",void 0);Ex([(0,Ku.IsOptional)(),(0,Ku.IsString)(),Ax("design:type",String)],mf.prototype,"marca",void 0);Ex([(0,Ku.IsOptional)(),(0,Ku.IsString)(),Ax("design:type",String)],mf.prototype,"nVol",void 0);Ex([(0,Ku.IsOptional)(),ne({fixed:3}),Ax("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],mf.prototype,"pesoL",void 0);Ex([(0,Ku.IsOptional)(),ne({fixed:3}),Ax("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],mf.prototype,"pesoB",void 0);function Yp(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(Yp,"_ts_decorate");function Um(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(Um,"_ts_metadata");var ya=class{static{o(this,"Transp")}modFrete;transporta;retTransp;veicTransp;reboque;vagao;balsa;vol};Yp([(0,Bi.IsString)(),Um("design:type",String)],ya.prototype,"modFrete",void 0);Yp([(0,Bi.IsOptional)(),(0,Bi.ValidateNested)(),(0,Nx.Type)(()=>ga),Um("design:type",typeof ga>"u"?Object:ga)],ya.prototype,"transporta",void 0);Yp([(0,Bi.IsOptional)(),(0,Bi.ValidateNested)(),(0,Nx.Type)(()=>$o),Um("design:type",typeof $o>"u"?Object:$o)],ya.prototype,"retTransp",void 0);Yp([(0,Bi.IsOptional)(),(0,Bi.ValidateNested)(),(0,Nx.Type)(()=>df),Um("design:type",typeof df>"u"?Object:df)],ya.prototype,"veicTransp",void 0);Yp([(0,Bi.IsOptional)(),(0,Bi.ValidateNested)({each:!0}),(0,Nx.Type)(()=>Yv),(0,Bi.ArrayMaxSize)(5),Um("design:type",Array)],ya.prototype,"reboque",void 0);Yp([(0,Bi.IsOptional)(),(0,Bi.IsString)(),Um("design:type",String)],ya.prototype,"vagao",void 0);Yp([(0,Bi.IsOptional)(),(0,Bi.IsString)(),Um("design:type",String)],ya.prototype,"balsa",void 0);Yp([(0,Bi.IsOptional)(),(0,Bi.ValidateNested)({each:!0}),(0,Nx.Type)(()=>mf),(0,Bi.ArrayMaxSize)(5e3),Um("design:type",Array)],ya.prototype,"vol",void 0);ya=Yp([nn({properties:["veicTransp","reboque"]}),nn({properties:["vagao","balsa"]})],ya);var rs=require("class-validator"),hU=require("class-transformer");function $p(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o($p,"_ts_decorate");function Zp(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(Zp,"_ts_metadata");var Qp=class{static{o(this,"Fat")}nFat;vOrig;vDesc;vLiq};$p([(0,rs.IsOptional)(),(0,rs.IsString)(),Zp("design:type",String)],Qp.prototype,"nFat",void 0);$p([(0,rs.IsOptional)(),ne({fixed:2}),Zp("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Qp.prototype,"vOrig",void 0);$p([(0,rs.IsOptional)(),ne({fixed:2}),Zp("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Qp.prototype,"vDesc",void 0);$p([(0,rs.IsOptional)(),ne({fixed:2}),Zp("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Qp.prototype,"vLiq",void 0);var Ix=class{static{o(this,"Dup")}nDup;dVenc;vDup};$p([(0,rs.IsOptional)(),(0,rs.IsString)(),Zp("design:type",String)],Ix.prototype,"nDup",void 0);$p([(0,rs.IsOptional)(),(0,rs.IsString)(),Zp("design:type",String)],Ix.prototype,"dVenc",void 0);$p([(0,rs.IsOptional)(),ne({fixed:2}),Zp("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ix.prototype,"vDup",void 0);var qm=class{static{o(this,"Cobr")}fat;dup};$p([(0,rs.IsOptional)(),(0,rs.ValidateNested)(),(0,hU.Type)(()=>Qp),Zp("design:type",typeof Qp>"u"?Object:Qp)],qm.prototype,"fat",void 0);$p([(0,rs.IsOptional)(),(0,rs.ValidateNested)({each:!0}),(0,rs.ArrayMaxSize)(120),(0,hU.Type)(()=>Ix),Zp("design:type",Array)],qm.prototype,"dup",void 0);var zm=require("class-validator"),Uie=require("class-transformer");var gf=require("class-validator"),Vie=require("class-transformer");var bo=require("class-validator");function Tx(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(Tx,"_ts_decorate");function Rx(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(Rx,"_ts_metadata");var Zo=class{static{o(this,"Card")}tpIntegra;CNPJ;tBand;cAut;CNPJReceb;idTermPag};Tx([(0,bo.IsOptional)(),(0,bo.IsString)(),Rx("design:type",String)],Zo.prototype,"tpIntegra",void 0);Tx([(0,bo.IsOptional)(),(0,bo.IsString)(),Rx("design:type",String)],Zo.prototype,"CNPJ",void 0);Tx([(0,bo.IsOptional)(),(0,bo.IsString)(),Rx("design:type",String)],Zo.prototype,"tBand",void 0);Tx([(0,bo.IsOptional)(),(0,bo.IsString)(),Rx("design:type",String)],Zo.prototype,"cAut",void 0);Tx([(0,bo.IsOptional)(),(0,bo.IsString)(),Rx("design:type",String)],Zo.prototype,"CNPJReceb",void 0);Tx([(0,bo.IsOptional)(),(0,bo.IsString)(),Rx("design:type",String)],Zo.prototype,"idTermPag",void 0);function J2(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(J2,"_ts_decorate");function Y2(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(Y2,"_ts_metadata");var eh=class{static{o(this,"DetPag")}indPag;tPag;vPag;card;xPag};J2([(0,gf.IsOptional)(),(0,gf.IsString)(),Y2("design:type",String)],eh.prototype,"indPag",void 0);J2([(0,gf.IsString)(),Y2("design:type",typeof TPag>"u"?Object:TPag)],eh.prototype,"tPag",void 0);J2([ne({fixed:2}),Y2("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],eh.prototype,"vPag",void 0);J2([(0,gf.IsOptional)(),(0,gf.ValidateNested)(),(0,Vie.Type)(()=>Zo),Y2("design:type",typeof Zo>"u"?Object:Zo)],eh.prototype,"card",void 0);J2([(0,gf.IsOptional)(),(0,gf.IsString)(),Y2("design:type",String)],eh.prototype,"xPag",void 0);function jie(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(jie,"_ts_decorate");function Mie(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(Mie,"_ts_metadata");var Hm=class{static{o(this,"Pag")}detPag;vTroco};jie([(0,zm.ValidateNested)({each:!0}),(0,zm.ArrayMinSize)(1),(0,zm.ArrayMaxSize)(100),(0,Uie.Type)(()=>eh),Mie("design:type",Array)],Hm.prototype,"detPag",void 0);jie([(0,zm.IsOptional)(),ne({fixed:2}),Mie("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Hm.prototype,"vTroco",void 0);var hi=require("class-validator"),N_=require("class-transformer");function th(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(th,"_ts_decorate");function rh(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(rh,"_ts_metadata");var Dx=class{static{o(this,"InfAdicObs")}xCampo;xTexto};th([(0,hi.IsString)(),rh("design:type",String)],Dx.prototype,"xCampo",void 0);th([(0,hi.IsString)(),rh("design:type",String)],Dx.prototype,"xTexto",void 0);var Q2=class{static{o(this,"ProcRef")}nProc;indProc};th([(0,hi.IsOptional)(),(0,hi.IsString)(),rh("design:type",String)],Q2.prototype,"nProc",void 0);th([(0,hi.IsOptional)(),(0,hi.IsString)(),rh("design:type",String)],Q2.prototype,"indProc",void 0);var Hc=class{static{o(this,"InfAdic")}infAdFisco;infCpl;obsCont;obsFisco;procRef};th([(0,hi.IsOptional)(),(0,hi.IsString)(),rh("design:type",String)],Hc.prototype,"infAdFisco",void 0);th([(0,hi.IsOptional)(),(0,hi.IsString)(),rh("design:type",String)],Hc.prototype,"infCpl",void 0);th([(0,hi.IsOptional)(),(0,hi.ValidateNested)({each:!0}),(0,N_.Type)(()=>Dx),(0,hi.ArrayMaxSize)(10),rh("design:type",Array)],Hc.prototype,"obsCont",void 0);th([(0,hi.IsOptional)(),(0,hi.ValidateNested)({each:!0}),(0,N_.Type)(()=>Dx),(0,hi.ArrayMaxSize)(10),rh("design:type",Array)],Hc.prototype,"obsFisco",void 0);th([(0,hi.IsOptional)(),(0,hi.ValidateNested)({each:!0}),(0,N_.Type)(()=>Q2),(0,hi.ArrayMaxSize)(100),rh("design:type",Array)],Hc.prototype,"procRef",void 0);var wn=require("class-validator"),T_=require("class-transformer");function ka(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(ka,"_ts_decorate");function Va(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(Va,"_ts_metadata");var I_=class{static{o(this,"ForDiaAttributes")}dia};ka([(0,wn.IsString)(),Va("design:type",String)],I_.prototype,"dia",void 0);var $2=class{static{o(this,"ForDia")}$;qtde};ka([(0,wn.IsObject)(),(0,wn.IsNotEmptyObject)(),(0,T_.Type)(()=>I_),Va("design:type",typeof IForDiaAttributes>"u"?Object:IForDiaAttributes)],$2.prototype,"$",void 0);ka([(0,wn.IsString)(),Va("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],$2.prototype,"qtde",void 0);var Z2=class{static{o(this,"Deduc")}xDed;vDed};ka([(0,wn.IsString)(),Va("design:type",String)],Z2.prototype,"xDed",void 0);ka([ne({fixed:2}),Va("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Z2.prototype,"vDed",void 0);var Sa=class{static{o(this,"Cana")}safra;ref;forDia;qTotMes;qTotAnt;qTotGer;deduc;vFor;vTotDed;vLiqFor};ka([(0,wn.IsString)(),Va("design:type",String)],Sa.prototype,"safra",void 0);ka([(0,wn.IsString)(),Va("design:type",String)],Sa.prototype,"ref",void 0);ka([(0,wn.ValidateNested)({each:!0}),(0,wn.ArrayMaxSize)(31),(0,T_.Type)(()=>$2),Va("design:type",Array)],Sa.prototype,"forDia",void 0);ka([(0,wn.IsOptional)(),(0,wn.IsString)(),Va("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Sa.prototype,"qTotMes",void 0);ka([(0,wn.IsOptional)(),(0,wn.IsString)(),Va("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Sa.prototype,"qTotAnt",void 0);ka([(0,wn.IsOptional)(),(0,wn.IsString)(),Va("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Sa.prototype,"qTotGer",void 0);ka([(0,wn.IsOptional)(),(0,wn.ValidateNested)({each:!0}),(0,wn.ArrayMaxSize)(10),(0,T_.Type)(()=>Z2),Va("design:type",Array)],Sa.prototype,"deduc",void 0);ka([(0,wn.IsOptional)(),ne({fixed:2}),Va("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Sa.prototype,"vFor",void 0);ka([(0,wn.IsOptional)(),ne({fixed:2}),Va("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Sa.prototype,"vTotDed",void 0);ka([(0,wn.IsOptional)(),ne({fixed:2}),Va("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Sa.prototype,"vLiqFor",void 0);var Qs=require("class-validator"),Xx=require("class-transformer");var ut=require("class-validator");var vf=require("class-transformer");var zc=require("class-validator");function eI(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(eI,"_ts_decorate");function tI(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(tI,"_ts_metadata");var nh=class{static{o(this,"Rastro")}nLote;qLote;dFab;dVal;cAgreg};eI([(0,zc.IsString)(),tI("design:type",String)],nh.prototype,"nLote",void 0);eI([(0,zc.IsOptional)(),(0,zc.IsString)(),tI("design:type",String)],nh.prototype,"qLote",void 0);eI([(0,zc.IsOptional)(),(0,zc.IsString)(),tI("design:type",String)],nh.prototype,"dFab",void 0);eI([(0,zc.IsOptional)(),(0,zc.IsString)(),tI("design:type",String)],nh.prototype,"dVal",void 0);eI([(0,zc.IsOptional)(),(0,zc.IsString)(),tI("design:type",String)],nh.prototype,"cAgreg",void 0);var pn=require("class-validator"),qie=require("class-transformer");function Es(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(Es,"_ts_decorate");function Js(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(Js,"_ts_metadata");var Km=class{static{o(this,"Adi")}nAdicao;nSeqAdic;cFabricante;vDescDI;nDraw};Es([(0,pn.IsString)(),Js("design:type",String)],Km.prototype,"nAdicao",void 0);Es([(0,pn.IsString)(),Js("design:type",String)],Km.prototype,"nSeqAdic",void 0);Es([(0,pn.IsString)(),Js("design:type",String)],Km.prototype,"cFabricante",void 0);Es([ne({fixed:2}),Js("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Km.prototype,"vDescDI",void 0);Es([(0,pn.IsOptional)(),(0,pn.IsString)(),Js("design:type",String)],Km.prototype,"nDraw",void 0);var Cs=class{static{o(this,"DI")}nDI;dDI;xLocDesemb;UFDesemb;dDesemb;tpViaTransp;vAFRMM;tpIntermedio;CNPJ="";CPF="";UFTerceiro;adi};Es([(0,pn.IsString)(),Js("design:type",String)],Cs.prototype,"nDI",void 0);Es([(0,pn.IsString)(),Js("design:type",String)],Cs.prototype,"dDI",void 0);Es([(0,pn.IsString)(),Js("design:type",String)],Cs.prototype,"xLocDesemb",void 0);Es([(0,pn.IsString)(),Js("design:type",String)],Cs.prototype,"UFDesemb",void 0);Es([(0,pn.IsString)(),Js("design:type",String)],Cs.prototype,"dDesemb",void 0);Es([(0,pn.IsString)(),Js("design:type",String)],Cs.prototype,"tpViaTransp",void 0);Es([(0,pn.IsOptional)(),ne({fixed:2}),Js("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Cs.prototype,"vAFRMM",void 0);Es([(0,pn.IsString)(),Js("design:type",String)],Cs.prototype,"tpIntermedio",void 0);Es([(0,pn.IsString)(),(0,pn.IsOptional)(),Js("design:type",String)],Cs.prototype,"CNPJ",void 0);Es([(0,pn.IsString)(),(0,pn.IsOptional)(),Js("design:type",String)],Cs.prototype,"CPF",void 0);Es([(0,pn.IsString)(),(0,pn.IsOptional)(),Js("design:type",String)],Cs.prototype,"UFTerceiro",void 0);Es([(0,pn.IsArray)(),(0,pn.ValidateNested)({each:!0}),(0,qie.Type)(()=>Km),(0,pn.ArrayMaxSize)(999),(0,pn.ArrayMinSize)(1),Js("design:type",Array)],Cs.prototype,"adi",void 0);Cs=Es([nn({properties:["CNPJ","CPF"],required:!0})],Cs);var Hie=require("class-transformer"),ih=require("class-validator");function rI(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(rI,"_ts_decorate");function nI(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(nI,"_ts_metadata");var Ox=class{static{o(this,"ExportInd")}nRE;chNFe;qExport};rI([(0,ih.IsString)(),nI("design:type",String)],Ox.prototype,"nRE",void 0);rI([(0,ih.IsString)(),nI("design:type",String)],Ox.prototype,"chNFe",void 0);rI([ne({fixed:4}),nI("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ox.prototype,"qExport",void 0);var Bx=class{static{o(this,"DetExport")}nDraw;exportInd};rI([(0,ih.IsOptional)(),(0,ih.IsString)(),nI("design:type",String)],Bx.prototype,"nDraw",void 0);rI([(0,ih.IsOptional)(),(0,ih.ValidateNested)(),(0,Hie.Type)(()=>Ox),nI("design:type",typeof IExportInd>"u"?Object:IExportInd)],Bx.prototype,"exportInd",void 0);var dU=require("class-validator");function zie(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(zie,"_ts_decorate");function Kie(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(Kie,"_ts_metadata");var Px=class{static{o(this,"InfProdNFF")}cProdFisco;cOperNFF};zie([(0,dU.IsString)(),Kie("design:type",String)],Px.prototype,"cProdFisco",void 0);zie([(0,dU.IsString)(),Kie("design:type",String)],Px.prototype,"cOperNFF",void 0);var vU=require("class-validator");function mU(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(mU,"_ts_decorate");function gU(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(gU,"_ts_metadata");var Qv=class{static{o(this,"InfProdEmb")}xEmb;qVolEmb;uEmb};mU([(0,vU.IsString)(),gU("design:type",String)],Qv.prototype,"xEmb",void 0);mU([ne({fixed:3}),gU("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Qv.prototype,"qVolEmb",void 0);mU([(0,vU.IsString)(),gU("design:type",String)],Qv.prototype,"uEmb",void 0);var Hn=require("class-validator");function Yn(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(Yn,"_ts_decorate");function Qn(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(Qn,"_ts_metadata");var gn=class{static{o(this,"VeicProd")}tpOp;chassi;cCor;xCor;pot;cilin;pesoL;pesoB;nSerie;tpComb;nMotor;CMT;dist;anoMod;anoFab;tpPint;tpVeic;espVeic;VIN;condVeic;cMod;cCorDENATRAN;lota;tpRest};Yn([(0,Hn.IsString)(),Qn("design:type",String)],gn.prototype,"tpOp",void 0);Yn([(0,Hn.IsString)(),Qn("design:type",String)],gn.prototype,"chassi",void 0);Yn([(0,Hn.IsString)(),Qn("design:type",String)],gn.prototype,"cCor",void 0);Yn([(0,Hn.IsString)(),Qn("design:type",String)],gn.prototype,"xCor",void 0);Yn([(0,Hn.IsString)(),Qn("design:type",String)],gn.prototype,"pot",void 0);Yn([(0,Hn.IsString)(),Qn("design:type",String)],gn.prototype,"cilin",void 0);Yn([(0,Hn.IsString)(),Qn("design:type",String)],gn.prototype,"pesoL",void 0);Yn([(0,Hn.IsString)(),Qn("design:type",String)],gn.prototype,"pesoB",void 0);Yn([(0,Hn.IsString)(),Qn("design:type",String)],gn.prototype,"nSerie",void 0);Yn([(0,Hn.IsString)(),Qn("design:type",String)],gn.prototype,"tpComb",void 0);Yn([(0,Hn.IsString)(),Qn("design:type",String)],gn.prototype,"nMotor",void 0);Yn([(0,Hn.IsString)(),Qn("design:type",String)],gn.prototype,"CMT",void 0);Yn([(0,Hn.IsString)(),Qn("design:type",String)],gn.prototype,"dist",void 0);Yn([(0,Hn.IsString)(),Qn("design:type",String)],gn.prototype,"anoMod",void 0);Yn([(0,Hn.IsString)(),Qn("design:type",String)],gn.prototype,"anoFab",void 0);Yn([(0,Hn.IsString)(),Qn("design:type",String)],gn.prototype,"tpPint",void 0);Yn([(0,Hn.IsString)(),Qn("design:type",String)],gn.prototype,"tpVeic",void 0);Yn([(0,Hn.IsString)(),Qn("design:type",String)],gn.prototype,"espVeic",void 0);Yn([(0,Hn.IsString)(),Qn("design:type",String)],gn.prototype,"VIN",void 0);Yn([(0,Hn.IsString)(),Qn("design:type",String)],gn.prototype,"condVeic",void 0);Yn([(0,Hn.IsString)(),Qn("design:type",String)],gn.prototype,"cMod",void 0);Yn([(0,Hn.IsString)(),Qn("design:type",String)],gn.prototype,"cCorDENATRAN",void 0);Yn([(0,Hn.IsString)(),Qn("design:type",String)],gn.prototype,"lota",void 0);Yn([(0,Hn.IsString)(),Qn("design:type",String)],gn.prototype,"tpRest",void 0);var bU=require("class-validator");function yU(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(yU,"_ts_decorate");function SU(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(SU,"_ts_metadata");var $v=class{static{o(this,"Med")}cProdANVISA;xMotivoIsencao;vPMC};yU([(0,bU.IsString)(),SU("design:type",String)],$v.prototype,"cProdANVISA",void 0);yU([(0,bU.IsString)(),SU("design:type",String)],$v.prototype,"xMotivoIsencao",void 0);yU([ne({fixed:2}),SU("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],$v.prototype,"vPMC",void 0);var iI=require("class-validator");function R_(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(R_,"_ts_decorate");function D_(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(D_,"_ts_metadata");var Gm=class{static{o(this,"Arma")}tpArma;nSerie;nCano;descr};R_([(0,iI.IsString)(),D_("design:type",String)],Gm.prototype,"tpArma",void 0);R_([(0,iI.IsString)(),D_("design:type",String)],Gm.prototype,"nSerie",void 0);R_([(0,iI.IsString)(),D_("design:type",String)],Gm.prototype,"nCano",void 0);R_([(0,iI.IsString)(),D_("design:type",String)],Gm.prototype,"descr",void 0);var jr=require("class-validator"),O_=require("class-transformer");function $n(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o($n,"_ts_decorate");function Zn(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(Zn,"_ts_metadata");var _x=class{static{o(this,"OrigComb")}indImport;cUFOrig;pOrig};$n([(0,jr.IsString)(),Zn("design:type",String)],_x.prototype,"indImport",void 0);$n([(0,jr.IsString)(),Zn("design:type",String)],_x.prototype,"cUFOrig",void 0);$n([ne({fixed:4}),(0,jr.Max)(100),Zn("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],_x.prototype,"pOrig",void 0);var Lx=class{static{o(this,"CIDE")}qBCProd;vAliqProd;vCIDE};$n([ne({fixed:4}),Zn("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Lx.prototype,"qBCProd",void 0);$n([ne({fixed:4}),Zn("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Lx.prototype,"vAliqProd",void 0);$n([ne({fixed:2}),Zn("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Lx.prototype,"vCIDE",void 0);var Xm=class{static{o(this,"Encerrante")}nBico;nBomba;nTanque;vEncIni;vEncFin};$n([(0,jr.IsString)(),Zn("design:type",String)],Xm.prototype,"nBico",void 0);$n([(0,jr.IsString)(),Zn("design:type",String)],Xm.prototype,"nBomba",void 0);$n([(0,jr.IsString)(),Zn("design:type",String)],Xm.prototype,"nTanque",void 0);$n([ne({fixed:3}),Zn("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Xm.prototype,"vEncIni",void 0);$n([ne({fixed:3}),Zn("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Xm.prototype,"vEncFin",void 0);var Ys=class{static{o(this,"Comb")}cProdANP;descANP;pGLP;pGNn;pGNi;vPart;CODIF;qTemp;UFCons;CIDE;encerrante;pBio;origComb};$n([(0,jr.IsString)(),Zn("design:type",String)],Ys.prototype,"cProdANP",void 0);$n([(0,jr.IsString)(),Zn("design:type",String)],Ys.prototype,"descANP",void 0);$n([(0,jr.IsOptional)(),(0,jr.Max)(100),ne({fixed:4}),Zn("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ys.prototype,"pGLP",void 0);$n([(0,jr.IsOptional)(),(0,jr.Max)(100),ne({fixed:4}),Zn("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ys.prototype,"pGNn",void 0);$n([(0,jr.IsOptional)(),(0,jr.Max)(100),ne({fixed:4}),Zn("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ys.prototype,"pGNi",void 0);$n([(0,jr.IsOptional)(),ne({fixed:2}),Zn("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ys.prototype,"vPart",void 0);$n([(0,jr.IsString)(),(0,jr.IsOptional)(),Zn("design:type",String)],Ys.prototype,"CODIF",void 0);$n([(0,jr.IsOptional)(),ne({fixed:4}),Zn("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ys.prototype,"qTemp",void 0);$n([(0,jr.IsString)(),Zn("design:type",String)],Ys.prototype,"UFCons",void 0);$n([(0,jr.IsObject)(),(0,jr.ValidateNested)(),(0,O_.Type)(()=>Lx),Zn("design:type",typeof ICIDE>"u"?Object:ICIDE)],Ys.prototype,"CIDE",void 0);$n([(0,jr.IsObject)(),(0,jr.ValidateNested)(),(0,O_.Type)(()=>Xm),Zn("design:type",typeof IEncerrante>"u"?Object:IEncerrante)],Ys.prototype,"encerrante",void 0);$n([(0,jr.IsOptional)(),ne({fixed:4}),Zn("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ys.prototype,"pBio",void 0);$n([(0,jr.IsObject)(),(0,jr.ValidateNested)({each:!0}),(0,O_.Type)(()=>_x),(0,jr.ArrayMaxSize)(30),(0,jr.IsOptional)(),Zn("design:type",Array)],Ys.prototype,"origComb",void 0);function Sr(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(Sr,"_ts_decorate");function xr(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(xr,"_ts_metadata");var Xt=class{static{o(this,"Prod")}cProd;cEAN;cBarra;xProd;NCM;NVE;CEST;indEscala;CNPJFab;cBenef;gCred;EXTIPI;CFOP;uCom;qCom;vUnCom;vProd;cEANTrib;uTrib;qTrib;vUnTrib;vFrete;vSeg;vDesc;vOutro;indTot;DI;detExport;xPed;nItemPed;nFCI;rastro;infProdNFF;infProdEmb;veicProd;med;arma;comb;nRECOPI};Sr([(0,ut.IsString)(),xr("design:type",String)],Xt.prototype,"cProd",void 0);Sr([(0,ut.IsString)(),xr("design:type",String)],Xt.prototype,"cEAN",void 0);Sr([(0,ut.IsOptional)(),(0,ut.IsString)(),xr("design:type",String)],Xt.prototype,"cBarra",void 0);Sr([(0,ut.IsString)(),xr("design:type",String)],Xt.prototype,"xProd",void 0);Sr([(0,ut.IsString)(),xr("design:type",String)],Xt.prototype,"NCM",void 0);Sr([(0,ut.IsOptional)(),(0,ut.IsArray)(),(0,ut.ArrayMaxSize)(8),(0,ut.IsString)({each:!0}),xr("design:type",Array)],Xt.prototype,"NVE",void 0);Sr([(0,ut.IsOptional)(),(0,ut.IsString)(),xr("design:type",String)],Xt.prototype,"CEST",void 0);Sr([(0,ut.IsOptional)(),(0,ut.IsString)(),xr("design:type",String)],Xt.prototype,"indEscala",void 0);Sr([(0,ut.IsOptional)(),(0,ut.IsString)(),xr("design:type",String)],Xt.prototype,"CNPJFab",void 0);Sr([(0,ut.IsOptional)(),(0,ut.IsString)(),xr("design:type",String)],Xt.prototype,"cBenef",void 0);Sr([(0,ut.IsOptional)(),(0,ut.IsObject)(),xr("design:type",Object)],Xt.prototype,"gCred",void 0);Sr([(0,ut.IsOptional)(),(0,ut.IsString)(),xr("design:type",String)],Xt.prototype,"EXTIPI",void 0);Sr([(0,ut.IsString)(),xr("design:type",String)],Xt.prototype,"CFOP",void 0);Sr([(0,ut.IsString)(),xr("design:type",String)],Xt.prototype,"uCom",void 0);Sr([ne({fixed:4}),xr("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Xt.prototype,"qCom",void 0);Sr([ne({fixed:10}),xr("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Xt.prototype,"vUnCom",void 0);Sr([ne({fixed:2}),xr("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Xt.prototype,"vProd",void 0);Sr([(0,ut.IsString)(),xr("design:type",String)],Xt.prototype,"cEANTrib",void 0);Sr([(0,ut.IsString)(),xr("design:type",String)],Xt.prototype,"uTrib",void 0);Sr([ne({fixed:4}),xr("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Xt.prototype,"qTrib",void 0);Sr([ne({fixed:10}),xr("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Xt.prototype,"vUnTrib",void 0);Sr([(0,ut.IsOptional)(),ne({fixed:2}),xr("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Xt.prototype,"vFrete",void 0);Sr([(0,ut.IsOptional)(),ne({fixed:2}),xr("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Xt.prototype,"vSeg",void 0);Sr([(0,ut.IsOptional)(),ne({fixed:2}),xr("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Xt.prototype,"vDesc",void 0);Sr([(0,ut.IsOptional)(),ne({fixed:2}),xr("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Xt.prototype,"vOutro",void 0);Sr([(0,ut.IsString)(),xr("design:type",String)],Xt.prototype,"indTot",void 0);Sr([(0,ut.IsOptional)(),(0,ut.IsArray)(),(0,ut.ValidateNested)({each:!0}),(0,ut.ArrayMaxSize)(100),(0,vf.Type)(()=>Cs),xr("design:type",Array)],Xt.prototype,"DI",void 0);Sr([(0,ut.IsOptional)(),(0,ut.IsArray)(),(0,ut.ValidateNested)({each:!0}),(0,ut.ArrayMaxSize)(500),(0,vf.Type)(()=>Bx),xr("design:type",Array)],Xt.prototype,"detExport",void 0);Sr([(0,ut.IsOptional)(),(0,ut.IsString)(),xr("design:type",String)],Xt.prototype,"xPed",void 0);Sr([(0,ut.IsOptional)(),(0,ut.IsString)(),xr("design:type",String)],Xt.prototype,"nItemPed",void 0);Sr([(0,ut.IsOptional)(),(0,ut.IsString)(),xr("design:type",String)],Xt.prototype,"nFCI",void 0);Sr([(0,ut.IsOptional)(),(0,ut.IsArray)(),(0,ut.ValidateNested)({each:!0}),(0,ut.ArrayMaxSize)(500),(0,vf.Type)(()=>nh),xr("design:type",Array)],Xt.prototype,"rastro",void 0);Sr([(0,ut.IsOptional)(),(0,ut.IsObject)(),(0,ut.ValidateNested)(),(0,vf.Type)(()=>Px),xr("design:type",typeof IInfProdNFF>"u"?Object:IInfProdNFF)],Xt.prototype,"infProdNFF",void 0);Sr([(0,ut.IsOptional)(),(0,ut.IsObject)(),(0,ut.ValidateNested)(),(0,vf.Type)(()=>Qv),xr("design:type",typeof IInfProdEmb>"u"?Object:IInfProdEmb)],Xt.prototype,"infProdEmb",void 0);Sr([(0,ut.IsOptional)(),(0,ut.IsObject)(),(0,ut.ValidateNested)(),(0,vf.Type)(()=>gn),xr("design:type",typeof IVeicProd>"u"?Object:IVeicProd)],Xt.prototype,"veicProd",void 0);Sr([(0,ut.IsOptional)(),(0,ut.IsObject)(),(0,ut.ValidateNested)(),(0,vf.Type)(()=>$v),xr("design:type",typeof IMed>"u"?Object:IMed)],Xt.prototype,"med",void 0);Sr([(0,ut.IsOptional)(),(0,ut.IsObject)(),(0,ut.ValidateNested)({each:!0}),(0,vf.Type)(()=>Gm),(0,ut.ArrayMaxSize)(500),xr("design:type",Array)],Xt.prototype,"arma",void 0);Sr([(0,ut.IsOptional)(),(0,ut.IsObject)(),(0,ut.ValidateNested)(),(0,vf.Type)(()=>Ys),xr("design:type",typeof IComb>"u"?Object:IComb)],Xt.prototype,"comb",void 0);Sr([(0,ut.IsOptional)(),(0,ut.IsString)(),xr("design:type",String)],Xt.prototype,"nRECOPI",void 0);Xt=Sr([nn({properties:["veicProd","med","arma","comb"]})],Xt);var $u=require("class-transformer"),En=require("class-validator");var fe=require("class-validator"),Ns=require("class-transformer");function Ee(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(Ee,"_ts_decorate");function Ne(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(Ne,"_ts_metadata");var sh=class{static{o(this,"ICMS00")}orig;CST;modBC;vBC;pICMS;vICMS};Ee([(0,fe.IsString)(),Ne("design:type",String)],sh.prototype,"orig",void 0);Ee([(0,fe.IsString)(),Ne("design:type",String)],sh.prototype,"CST",void 0);Ee([(0,fe.IsOptional)(),(0,fe.IsString)(),Ne("design:type",String)],sh.prototype,"modBC",void 0);Ee([(0,fe.IsOptional)(),ne({fixed:2}),Ne("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],sh.prototype,"vBC",void 0);Ee([(0,fe.IsOptional)(),ne({fixed:4}),Ne("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],sh.prototype,"pICMS",void 0);Ee([(0,fe.IsOptional)(),ne({fixed:2}),Ne("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],sh.prototype,"vICMS",void 0);var eu=class{static{o(this,"ICMS10")}orig;CST;modBC;vBC;pICMS;vICMS;modBCST;vBCST;pICMSST;vICMSST};Ee([(0,fe.IsString)(),Ne("design:type",String)],eu.prototype,"orig",void 0);Ee([(0,fe.IsString)(),Ne("design:type",String)],eu.prototype,"CST",void 0);Ee([(0,fe.IsOptional)(),(0,fe.IsString)(),Ne("design:type",String)],eu.prototype,"modBC",void 0);Ee([(0,fe.IsOptional)(),ne({fixed:2}),Ne("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],eu.prototype,"vBC",void 0);Ee([(0,fe.IsOptional)(),ne({fixed:4}),Ne("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],eu.prototype,"pICMS",void 0);Ee([(0,fe.IsOptional)(),ne({fixed:2}),Ne("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],eu.prototype,"vICMS",void 0);Ee([(0,fe.IsOptional)(),(0,fe.IsString)(),Ne("design:type",String)],eu.prototype,"modBCST",void 0);Ee([(0,fe.IsOptional)(),ne({fixed:2}),Ne("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],eu.prototype,"vBCST",void 0);Ee([(0,fe.IsOptional)(),ne({fixed:4}),Ne("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],eu.prototype,"pICMSST",void 0);Ee([(0,fe.IsOptional)(),ne({fixed:2}),Ne("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],eu.prototype,"vICMSST",void 0);var yf=class{static{o(this,"ICMS20")}orig;CST;modBC;pRedBC;vBC;pICMS;vICMS};Ee([(0,fe.IsString)(),Ne("design:type",String)],yf.prototype,"orig",void 0);Ee([(0,fe.IsString)(),Ne("design:type",String)],yf.prototype,"CST",void 0);Ee([(0,fe.IsOptional)(),(0,fe.IsString)(),Ne("design:type",String)],yf.prototype,"modBC",void 0);Ee([(0,fe.IsOptional)(),(0,fe.IsString)(),Ne("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],yf.prototype,"pRedBC",void 0);Ee([(0,fe.IsOptional)(),ne({fixed:2}),Ne("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],yf.prototype,"vBC",void 0);Ee([(0,fe.IsOptional)(),ne({fixed:4}),Ne("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],yf.prototype,"pICMS",void 0);Ee([(0,fe.IsOptional)(),ne({fixed:2}),Ne("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],yf.prototype,"vICMS",void 0);var ah=class{static{o(this,"ICMS30")}orig;CST;modBCST;vBCST;pICMSST;vICMSST};Ee([(0,fe.IsString)(),Ne("design:type",String)],ah.prototype,"orig",void 0);Ee([(0,fe.IsString)(),Ne("design:type",String)],ah.prototype,"CST",void 0);Ee([(0,fe.IsOptional)(),(0,fe.IsString)(),Ne("design:type",String)],ah.prototype,"modBCST",void 0);Ee([(0,fe.IsOptional)(),ne({fixed:2}),Ne("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ah.prototype,"vBCST",void 0);Ee([(0,fe.IsOptional)(),ne({fixed:4}),Ne("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ah.prototype,"pICMSST",void 0);Ee([(0,fe.IsOptional)(),ne({fixed:2}),Ne("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ah.prototype,"vICMSST",void 0);var Zv=class{static{o(this,"ICMS40")}orig;CST;vICMSDeson;motDesICMS};Ee([(0,fe.IsString)(),Ne("design:type",String)],Zv.prototype,"orig",void 0);Ee([(0,fe.IsString)(),Ne("design:type",String)],Zv.prototype,"CST",void 0);Ee([(0,fe.IsOptional)(),ne({fixed:2}),Ne("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Zv.prototype,"vICMSDeson",void 0);Ee([(0,fe.IsOptional)(),(0,fe.IsString)(),Ne("design:type",String)],Zv.prototype,"motDesICMS",void 0);var Gu=class{static{o(this,"ICMS51")}orig;CST;modBC;pRedBC;vBC;pICMS;vICMS;pDif;vICMSDif};Ee([(0,fe.IsString)(),Ne("design:type",String)],Gu.prototype,"orig",void 0);Ee([(0,fe.IsString)(),Ne("design:type",String)],Gu.prototype,"CST",void 0);Ee([(0,fe.IsOptional)(),(0,fe.IsString)(),Ne("design:type",String)],Gu.prototype,"modBC",void 0);Ee([(0,fe.IsOptional)(),ne({fixed:4}),Ne("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Gu.prototype,"pRedBC",void 0);Ee([(0,fe.IsOptional)(),ne({fixed:2}),Ne("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Gu.prototype,"vBC",void 0);Ee([(0,fe.IsOptional)(),ne({fixed:4}),Ne("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Gu.prototype,"pICMS",void 0);Ee([(0,fe.IsOptional)(),ne({fixed:2}),Ne("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Gu.prototype,"vICMS",void 0);Ee([(0,fe.IsOptional)(),ne({fixed:4}),(0,fe.Max)(100),Ne("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Gu.prototype,"pDif",void 0);Ee([(0,fe.IsOptional)(),ne({fixed:2}),Ne("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Gu.prototype,"vICMSDif",void 0);var oh=class{static{o(this,"ICMS60")}orig;CST;vBCSTRet;pST;vICMSSubstituto;vICMSSTRet};Ee([(0,fe.IsString)(),Ne("design:type",String)],oh.prototype,"orig",void 0);Ee([(0,fe.IsString)(),Ne("design:type",String)],oh.prototype,"CST",void 0);Ee([(0,fe.IsOptional)(),ne({fixed:2}),Ne("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],oh.prototype,"vBCSTRet",void 0);Ee([(0,fe.IsOptional)(),ne({fixed:4}),Ne("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],oh.prototype,"pST",void 0);Ee([(0,fe.IsOptional)(),ne({fixed:2}),Ne("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],oh.prototype,"vICMSSubstituto",void 0);Ee([(0,fe.IsOptional)(),ne({fixed:2}),Ne("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],oh.prototype,"vICMSSTRet",void 0);var xo=class{static{o(this,"ICMS70")}orig;CST;modBC;pRedBC;vBC;pICMS;vICMS;modBCST;vBCST;pICMSST;vICMSST};Ee([(0,fe.IsString)(),Ne("design:type",String)],xo.prototype,"orig",void 0);Ee([(0,fe.IsString)(),Ne("design:type",String)],xo.prototype,"CST",void 0);Ee([(0,fe.IsOptional)(),(0,fe.IsString)(),Ne("design:type",String)],xo.prototype,"modBC",void 0);Ee([(0,fe.IsOptional)(),ne({fixed:4}),Ne("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],xo.prototype,"pRedBC",void 0);Ee([(0,fe.IsOptional)(),ne({fixed:2}),Ne("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],xo.prototype,"vBC",void 0);Ee([(0,fe.IsOptional)(),ne({fixed:4}),Ne("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],xo.prototype,"pICMS",void 0);Ee([(0,fe.IsOptional)(),ne({fixed:2}),Ne("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],xo.prototype,"vICMS",void 0);Ee([(0,fe.IsOptional)(),(0,fe.IsString)(),Ne("design:type",String)],xo.prototype,"modBCST",void 0);Ee([(0,fe.IsOptional)(),ne({fixed:2}),Ne("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],xo.prototype,"vBCST",void 0);Ee([(0,fe.IsOptional)(),ne({fixed:4}),Ne("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],xo.prototype,"pICMSST",void 0);Ee([(0,fe.IsOptional)(),ne({fixed:2}),Ne("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],xo.prototype,"vICMSST",void 0);var wo=class{static{o(this,"ICMS90")}orig;CST;modBC;pRedBC;vBC;pICMS;vICMS;modBCST;vBCST;pICMSST;vICMSST};Ee([(0,fe.IsString)(),Ne("design:type",String)],wo.prototype,"orig",void 0);Ee([(0,fe.IsString)(),Ne("design:type",String)],wo.prototype,"CST",void 0);Ee([(0,fe.IsOptional)(),(0,fe.IsString)(),Ne("design:type",String)],wo.prototype,"modBC",void 0);Ee([(0,fe.IsOptional)(),ne({fixed:4}),Ne("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],wo.prototype,"pRedBC",void 0);Ee([(0,fe.IsOptional)(),ne({fixed:2}),Ne("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],wo.prototype,"vBC",void 0);Ee([(0,fe.IsOptional)(),ne({fixed:4}),Ne("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],wo.prototype,"pICMS",void 0);Ee([(0,fe.IsOptional)(),ne({fixed:2}),Ne("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],wo.prototype,"vICMS",void 0);Ee([(0,fe.IsOptional)(),(0,fe.IsString)(),Ne("design:type",String)],wo.prototype,"modBCST",void 0);Ee([(0,fe.IsOptional)(),ne({fixed:2}),Ne("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],wo.prototype,"vBCST",void 0);Ee([(0,fe.IsOptional)(),ne({fixed:4}),Ne("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],wo.prototype,"pICMSST",void 0);Ee([(0,fe.IsOptional)(),ne({fixed:2}),Ne("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],wo.prototype,"vICMSST",void 0);var As=class{static{o(this,"ICMSPart")}orig;CST;modBC;vBC;pRedBC;pICMS;vICMS;modBCST;pMVAST;pRedBCST;vBCST;pICMSST;vICMSST;pBCOp;UFST};Ee([(0,fe.IsString)(),Ne("design:type",String)],As.prototype,"orig",void 0);Ee([(0,fe.IsString)(),Ne("design:type",String)],As.prototype,"CST",void 0);Ee([(0,fe.IsOptional)(),(0,fe.IsString)(),Ne("design:type",String)],As.prototype,"modBC",void 0);Ee([(0,fe.IsOptional)(),ne({fixed:2}),Ne("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],As.prototype,"vBC",void 0);Ee([(0,fe.IsOptional)(),ne({fixed:4}),Ne("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],As.prototype,"pRedBC",void 0);Ee([(0,fe.IsOptional)(),ne({fixed:2}),Ne("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],As.prototype,"pICMS",void 0);Ee([(0,fe.IsOptional)(),ne({fixed:2}),Ne("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],As.prototype,"vICMS",void 0);Ee([(0,fe.IsOptional)(),(0,fe.IsString)(),Ne("design:type",String)],As.prototype,"modBCST",void 0);Ee([(0,fe.IsOptional)(),ne({fixed:4}),Ne("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],As.prototype,"pMVAST",void 0);Ee([(0,fe.IsOptional)(),ne({fixed:4}),Ne("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],As.prototype,"pRedBCST",void 0);Ee([(0,fe.IsOptional)(),ne({fixed:2}),Ne("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],As.prototype,"vBCST",void 0);Ee([(0,fe.IsOptional)(),ne({fixed:4}),Ne("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],As.prototype,"pICMSST",void 0);Ee([(0,fe.IsOptional)(),ne({fixed:2}),Ne("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],As.prototype,"vICMSST",void 0);Ee([(0,fe.IsOptional)(),ne({fixed:4}),Ne("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],As.prototype,"pBCOp",void 0);Ee([(0,fe.IsOptional)(),(0,fe.IsString)(),Ne("design:type",String)],As.prototype,"UFST",void 0);var uh=class{static{o(this,"ICMSST")}orig;CST;vBCSTRet;pST;vICMSSubstituto;vICMSSTRet};Ee([(0,fe.IsString)(),Ne("design:type",String)],uh.prototype,"orig",void 0);Ee([(0,fe.IsString)(),Ne("design:type",String)],uh.prototype,"CST",void 0);Ee([(0,fe.IsOptional)(),ne({fixed:2}),Ne("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],uh.prototype,"vBCSTRet",void 0);Ee([(0,fe.IsOptional)(),ne({fixed:4}),Ne("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],uh.prototype,"pST",void 0);Ee([(0,fe.IsOptional)(),ne({fixed:2}),Ne("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],uh.prototype,"vICMSSubstituto",void 0);Ee([(0,fe.IsOptional)(),ne({fixed:2}),Ne("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],uh.prototype,"vICMSSTRet",void 0);var ey=class{static{o(this,"ICMSSN101")}orig;CSOSN;pCredSN;vCredICMSSN};Ee([(0,fe.IsString)(),Ne("design:type",String)],ey.prototype,"orig",void 0);Ee([(0,fe.IsString)(),Ne("design:type",String)],ey.prototype,"CSOSN",void 0);Ee([(0,fe.IsOptional)(),ne({fixed:4}),Ne("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ey.prototype,"pCredSN",void 0);Ee([(0,fe.IsOptional)(),ne({fixed:2}),Ne("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ey.prototype,"vCredICMSSN",void 0);var sI=class{static{o(this,"ICMSSN102")}orig;CSOSN};Ee([(0,fe.IsString)(),Ne("design:type",String)],sI.prototype,"orig",void 0);Ee([(0,fe.IsString)(),Ne("design:type",String)],sI.prototype,"CSOSN",void 0);var Kc=class{static{o(this,"ICMSSN201")}orig;CSOSN;modBCST;vBCST;pICMSST;vICMSST;pCredSN;vCredICMSSN};Ee([(0,fe.IsString)(),Ne("design:type",String)],Kc.prototype,"orig",void 0);Ee([(0,fe.IsString)(),Ne("design:type",String)],Kc.prototype,"CSOSN",void 0);Ee([(0,fe.IsOptional)(),(0,fe.IsString)(),Ne("design:type",String)],Kc.prototype,"modBCST",void 0);Ee([(0,fe.IsOptional)(),ne({fixed:2}),Ne("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Kc.prototype,"vBCST",void 0);Ee([(0,fe.IsOptional)(),ne({fixed:4}),Ne("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Kc.prototype,"pICMSST",void 0);Ee([(0,fe.IsOptional)(),ne({fixed:2}),Ne("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Kc.prototype,"vICMSST",void 0);Ee([(0,fe.IsOptional)(),ne({fixed:4}),Ne("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Kc.prototype,"pCredSN",void 0);Ee([(0,fe.IsOptional)(),ne({fixed:2}),Ne("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Kc.prototype,"vCredICMSSN",void 0);var ch=class{static{o(this,"ICMSSN202")}orig;CSOSN;modBCST;vBCST;pICMSST;vICMSST};Ee([(0,fe.IsString)(),Ne("design:type",String)],ch.prototype,"orig",void 0);Ee([(0,fe.IsString)(),Ne("design:type",String)],ch.prototype,"CSOSN",void 0);Ee([(0,fe.IsOptional)(),(0,fe.IsString)(),Ne("design:type",String)],ch.prototype,"modBCST",void 0);Ee([(0,fe.IsOptional)(),ne({fixed:2}),Ne("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ch.prototype,"vBCST",void 0);Ee([(0,fe.IsOptional)(),ne({fixed:4}),Ne("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ch.prototype,"pICMSST",void 0);Ee([(0,fe.IsOptional)(),ne({fixed:2}),Ne("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ch.prototype,"vICMSST",void 0);var lh=class{static{o(this,"ICMSSN500")}orig;CSOSN;vBCSTRet;pST;vICMSSubstituto;vICMSSTRet};Ee([(0,fe.IsString)(),Ne("design:type",String)],lh.prototype,"orig",void 0);Ee([(0,fe.IsString)(),Ne("design:type",String)],lh.prototype,"CSOSN",void 0);Ee([(0,fe.IsOptional)(),ne({fixed:2}),Ne("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],lh.prototype,"vBCSTRet",void 0);Ee([(0,fe.IsOptional)(),ne({fixed:4}),Ne("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],lh.prototype,"pST",void 0);Ee([(0,fe.IsOptional)(),ne({fixed:2}),Ne("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],lh.prototype,"vICMSSubstituto",void 0);Ee([(0,fe.IsOptional)(),ne({fixed:2}),Ne("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],lh.prototype,"vICMSSTRet",void 0);var ba=class{static{o(this,"ICMSSN900")}orig;CSOSN;modBC;vBC;pRedBC;pICMS;vICMS;modBCST;vBCST;pICMSST;vICMSST;pCredSN;vCredICMSSN};Ee([(0,fe.IsString)(),Ne("design:type",String)],ba.prototype,"orig",void 0);Ee([(0,fe.IsString)(),Ne("design:type",String)],ba.prototype,"CSOSN",void 0);Ee([(0,fe.IsOptional)(),(0,fe.IsString)(),Ne("design:type",String)],ba.prototype,"modBC",void 0);Ee([(0,fe.IsOptional)(),ne({fixed:2}),Ne("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ba.prototype,"vBC",void 0);Ee([(0,fe.IsOptional)(),ne({fixed:4}),Ne("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ba.prototype,"pRedBC",void 0);Ee([(0,fe.IsOptional)(),ne({fixed:4}),Ne("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ba.prototype,"pICMS",void 0);Ee([(0,fe.IsOptional)(),ne({fixed:2}),Ne("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ba.prototype,"vICMS",void 0);Ee([(0,fe.IsOptional)(),(0,fe.IsString)(),Ne("design:type",String)],ba.prototype,"modBCST",void 0);Ee([(0,fe.IsOptional)(),ne({fixed:2}),Ne("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ba.prototype,"vBCST",void 0);Ee([(0,fe.IsOptional)(),ne({fixed:4}),Ne("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ba.prototype,"pICMSST",void 0);Ee([(0,fe.IsOptional)(),ne({fixed:2}),Ne("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ba.prototype,"vICMSST",void 0);Ee([(0,fe.IsOptional)(),ne({fixed:4}),Ne("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ba.prototype,"pCredSN",void 0);Ee([(0,fe.IsOptional)(),ne({fixed:2}),Ne("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ba.prototype,"vCredICMSSN",void 0);var zn=class{static{o(this,"ICMS")}ICMS00;ICMS10;ICMS20;ICMS30;ICMS40;ICMS51;ICMS60;ICMS70;ICMS90;ICMSPart;ICMSST;ICMSSN101;ICMSSN102;ICMSSN201;ICMSSN202;ICMSSN500;ICMSSN900};Ee([(0,fe.IsOptional)(),(0,fe.ValidateNested)(),(0,Ns.Type)(()=>sh),Ne("design:type",typeof IICMS00>"u"?Object:IICMS00)],zn.prototype,"ICMS00",void 0);Ee([(0,fe.IsOptional)(),(0,fe.ValidateNested)(),(0,Ns.Type)(()=>eu),Ne("design:type",typeof IICMS10>"u"?Object:IICMS10)],zn.prototype,"ICMS10",void 0);Ee([(0,fe.IsOptional)(),(0,fe.ValidateNested)(),(0,Ns.Type)(()=>yf),Ne("design:type",typeof IICMS20>"u"?Object:IICMS20)],zn.prototype,"ICMS20",void 0);Ee([(0,fe.IsOptional)(),(0,fe.ValidateNested)(),(0,Ns.Type)(()=>ah),Ne("design:type",typeof IICMS30>"u"?Object:IICMS30)],zn.prototype,"ICMS30",void 0);Ee([(0,fe.IsOptional)(),(0,fe.ValidateNested)(),(0,Ns.Type)(()=>Zv),Ne("design:type",typeof IICMS40>"u"?Object:IICMS40)],zn.prototype,"ICMS40",void 0);Ee([(0,fe.IsOptional)(),(0,fe.ValidateNested)(),(0,Ns.Type)(()=>Gu),Ne("design:type",typeof IICMS51>"u"?Object:IICMS51)],zn.prototype,"ICMS51",void 0);Ee([(0,fe.IsOptional)(),(0,fe.ValidateNested)(),(0,Ns.Type)(()=>oh),Ne("design:type",typeof IICMS60>"u"?Object:IICMS60)],zn.prototype,"ICMS60",void 0);Ee([(0,fe.IsOptional)(),(0,fe.ValidateNested)(),(0,Ns.Type)(()=>xo),Ne("design:type",typeof IICMS70>"u"?Object:IICMS70)],zn.prototype,"ICMS70",void 0);Ee([(0,fe.IsOptional)(),(0,fe.ValidateNested)(),(0,Ns.Type)(()=>wo),Ne("design:type",typeof IICMS90>"u"?Object:IICMS90)],zn.prototype,"ICMS90",void 0);Ee([(0,fe.IsOptional)(),(0,fe.ValidateNested)(),(0,Ns.Type)(()=>As),Ne("design:type",typeof IICMSPart>"u"?Object:IICMSPart)],zn.prototype,"ICMSPart",void 0);Ee([(0,fe.IsOptional)(),(0,fe.ValidateNested)(),(0,Ns.Type)(()=>uh),Ne("design:type",typeof IICMSST>"u"?Object:IICMSST)],zn.prototype,"ICMSST",void 0);Ee([(0,fe.IsOptional)(),(0,fe.ValidateNested)(),(0,Ns.Type)(()=>ey),Ne("design:type",typeof IICMSSN101>"u"?Object:IICMSSN101)],zn.prototype,"ICMSSN101",void 0);Ee([(0,fe.IsOptional)(),(0,fe.ValidateNested)(),(0,Ns.Type)(()=>sI),Ne("design:type",typeof IICMSSN102>"u"?Object:IICMSSN102)],zn.prototype,"ICMSSN102",void 0);Ee([(0,fe.IsOptional)(),(0,fe.ValidateNested)(),(0,Ns.Type)(()=>Kc),Ne("design:type",typeof IICMSSN201>"u"?Object:IICMSSN201)],zn.prototype,"ICMSSN201",void 0);Ee([(0,fe.IsOptional)(),(0,fe.ValidateNested)(),(0,Ns.Type)(()=>ch),Ne("design:type",typeof IICMSSN202>"u"?Object:IICMSSN202)],zn.prototype,"ICMSSN202",void 0);Ee([(0,fe.IsOptional)(),(0,fe.ValidateNested)(),(0,Ns.Type)(()=>lh),Ne("design:type",typeof IICMSSN500>"u"?Object:IICMSSN500)],zn.prototype,"ICMSSN500",void 0);Ee([(0,fe.IsOptional)(),(0,fe.ValidateNested)(),(0,Ns.Type)(()=>ba),Ne("design:type",typeof IICMSSN900>"u"?Object:IICMSSN900)],zn.prototype,"ICMSSN900",void 0);zn=Ee([nn({properties:["ICMS00","ICMS10","ICMS20","ICMS30","ICMS40","ICMS51","ICMS60","ICMS70","ICMS90","ICMSPart","ICMSST","ICMSSN101","ICMSSN102","ICMSSN201","ICMSSN202","ICMSSN500","ICMSSN900"]})],zn);var _n=require("class-validator"),xU=require("class-transformer");function tu(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(tu,"_ts_decorate");function ru(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(ru,"_ts_metadata");var fh=class{static{o(this,"IPITrib")}CST;vBC;pIPI;qUnid;vUnid;vIPI};tu([(0,_n.IsString)(),ru("design:type",String)],fh.prototype,"CST",void 0);tu([(0,_n.IsOptional)(),(0,_n.IsString)(),ru("design:type",String)],fh.prototype,"vBC",void 0);tu([(0,_n.IsOptional)(),(0,_n.IsString)(),ru("design:type",String)],fh.prototype,"pIPI",void 0);tu([(0,_n.IsOptional)(),(0,_n.IsString)(),ru("design:type",String)],fh.prototype,"qUnid",void 0);tu([(0,_n.IsOptional)(),(0,_n.IsString)(),ru("design:type",String)],fh.prototype,"vUnid",void 0);tu([(0,_n.IsOptional)(),(0,_n.IsString)(),ru("design:type",String)],fh.prototype,"vIPI",void 0);var B_=class{static{o(this,"IPINT")}CST};tu([(0,_n.IsString)(),ru("design:type",String)],B_.prototype,"CST",void 0);var Xu=class{static{o(this,"IPI")}CNPJProd;cSelo;qSelo;cEnq;IPITrib;IPINT};tu([(0,_n.IsOptional)(),(0,_n.IsString)(),ru("design:type",String)],Xu.prototype,"CNPJProd",void 0);tu([(0,_n.IsOptional)(),(0,_n.IsString)(),ru("design:type",String)],Xu.prototype,"cSelo",void 0);tu([(0,_n.IsOptional)(),(0,_n.IsString)(),ru("design:type",String)],Xu.prototype,"qSelo",void 0);tu([(0,_n.IsString)(),ru("design:type",String)],Xu.prototype,"cEnq",void 0);tu([(0,_n.IsOptional)(),(0,_n.ValidateNested)(),(0,xU.Type)(()=>fh),ru("design:type",typeof IIPITrib>"u"?Object:IIPITrib)],Xu.prototype,"IPITrib",void 0);tu([(0,_n.IsOptional)(),(0,_n.ValidateNested)(),(0,xU.Type)(()=>B_),ru("design:type",typeof IIPINT>"u"?Object:IIPINT)],Xu.prototype,"IPINT",void 0);var bf=require("class-validator");function P_(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(P_,"_ts_decorate");function __(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(__,"_ts_metadata");var Sf=class{static{o(this,"II")}vBC;vDespAdu;vII;vIOF};P_([(0,bf.IsOptional)(),(0,bf.IsString)(),__("design:type",String)],Sf.prototype,"vBC",void 0);P_([(0,bf.IsOptional)(),(0,bf.IsString)(),__("design:type",String)],Sf.prototype,"vDespAdu",void 0);P_([(0,bf.IsOptional)(),(0,bf.IsString)(),__("design:type",String)],Sf.prototype,"vII",void 0);P_([(0,bf.IsOptional)(),(0,bf.IsString)(),__("design:type",String)],Sf.prototype,"vIOF",void 0);var Wt=require("class-validator"),aI=require("class-transformer");function ei(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(ei,"_ts_decorate");function ti(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(ti,"_ts_metadata");var ph=class{static{o(this,"PISAliq")}CST;vBC;pPIS;vPIS};ei([(0,Wt.IsString)(),ti("design:type",String)],ph.prototype,"CST",void 0);ei([(0,Wt.IsOptional)(),(0,Wt.IsString)(),ne({fixed:2}),ti("design:type",String)],ph.prototype,"vBC",void 0);ei([(0,Wt.IsOptional)(),(0,Wt.IsString)(),ti("design:type",String)],ph.prototype,"pPIS",void 0);ei([(0,Wt.IsOptional)(),(0,Wt.IsString)(),ti("design:type",String)],ph.prototype,"vPIS",void 0);var hh=class{static{o(this,"PISQtde")}CST;qBCProd;vAliqProd;vPIS};ei([(0,Wt.IsString)(),ti("design:type",String)],hh.prototype,"CST",void 0);ei([(0,Wt.IsOptional)(),(0,Wt.IsString)(),ti("design:type",String)],hh.prototype,"qBCProd",void 0);ei([(0,Wt.IsOptional)(),(0,Wt.IsString)(),ti("design:type",String)],hh.prototype,"vAliqProd",void 0);ei([(0,Wt.IsOptional)(),(0,Wt.IsString)(),ti("design:type",String)],hh.prototype,"vPIS",void 0);var Fx=class{static{o(this,"PISNT")}CST};ei([(0,Wt.IsString)(),ti("design:type",String)],Fx.prototype,"CST",void 0);var Gc=class{static{o(this,"PISOutr")}CST;vBC;pPIS;qBCProd;vAliqProd;vPIS};ei([(0,Wt.IsString)(),ti("design:type",String)],Gc.prototype,"CST",void 0);ei([(0,Wt.IsOptional)(),(0,Wt.IsString)(),ne({fixed:2}),ti("design:type",String)],Gc.prototype,"vBC",void 0);ei([(0,Wt.IsOptional)(),(0,Wt.IsString)(),ti("design:type",String)],Gc.prototype,"pPIS",void 0);ei([(0,Wt.IsOptional)(),(0,Wt.IsString)(),ti("design:type",String)],Gc.prototype,"qBCProd",void 0);ei([(0,Wt.IsOptional)(),(0,Wt.IsString)(),ti("design:type",String)],Gc.prototype,"vAliqProd",void 0);ei([(0,Wt.IsOptional)(),(0,Wt.IsString)(),ti("design:type",String)],Gc.prototype,"vPIS",void 0);var xf=class{static{o(this,"PIS")}PISAliq;PISQtde;PISNT;PISOutr};ei([(0,Wt.IsOptional)(),(0,Wt.ValidateNested)(),(0,aI.Type)(()=>ph),ti("design:type",typeof ph>"u"?Object:ph)],xf.prototype,"PISAliq",void 0);ei([(0,Wt.IsOptional)(),(0,Wt.ValidateNested)(),(0,aI.Type)(()=>hh),ti("design:type",typeof hh>"u"?Object:hh)],xf.prototype,"PISQtde",void 0);ei([(0,Wt.IsOptional)(),(0,Wt.ValidateNested)(),(0,aI.Type)(()=>Fx),ti("design:type",typeof Fx>"u"?Object:Fx)],xf.prototype,"PISNT",void 0);ei([(0,Wt.IsOptional)(),(0,Wt.ValidateNested)(),(0,aI.Type)(()=>Gc),ti("design:type",typeof Gc>"u"?Object:Gc)],xf.prototype,"PISOutr",void 0);var Xc=class{static{o(this,"PISST")}vBC;pPIS;qBCProd;vAliqProd;vPIS};ei([(0,Wt.IsOptional)(),(0,Wt.IsString)(),ne({fixed:2}),ti("design:type",String)],Xc.prototype,"vBC",void 0);ei([(0,Wt.IsOptional)(),(0,Wt.IsString)(),ti("design:type",String)],Xc.prototype,"pPIS",void 0);ei([(0,Wt.IsOptional)(),(0,Wt.IsString)(),ti("design:type",String)],Xc.prototype,"qBCProd",void 0);ei([(0,Wt.IsOptional)(),(0,Wt.IsString)(),ti("design:type",String)],Xc.prototype,"vAliqProd",void 0);ei([(0,Wt.IsOptional)(),(0,Wt.IsString)(),ti("design:type",String)],Xc.prototype,"vPIS",void 0);var Jt=require("class-validator"),oI=require("class-transformer");function ri(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(ri,"_ts_decorate");function ni(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(ni,"_ts_metadata");var dh=class{static{o(this,"COFINSAliq")}CST;vBC;pCOFINS;vCOFINS};ri([(0,Jt.IsString)(),ni("design:type",String)],dh.prototype,"CST",void 0);ri([(0,Jt.IsOptional)(),(0,Jt.IsString)(),ne({fixed:2}),ni("design:type",String)],dh.prototype,"vBC",void 0);ri([(0,Jt.IsOptional)(),(0,Jt.IsString)(),ni("design:type",String)],dh.prototype,"pCOFINS",void 0);ri([(0,Jt.IsOptional)(),(0,Jt.IsString)(),ni("design:type",String)],dh.prototype,"vCOFINS",void 0);var mh=class{static{o(this,"COFINSQtde")}CST;qBCProd;vAliqProd;vCOFINS};ri([(0,Jt.IsString)(),ni("design:type",String)],mh.prototype,"CST",void 0);ri([(0,Jt.IsOptional)(),(0,Jt.IsString)(),ni("design:type",String)],mh.prototype,"qBCProd",void 0);ri([(0,Jt.IsOptional)(),(0,Jt.IsString)(),ni("design:type",String)],mh.prototype,"vAliqProd",void 0);ri([(0,Jt.IsOptional)(),(0,Jt.IsString)(),ni("design:type",String)],mh.prototype,"vCOFINS",void 0);var kx=class{static{o(this,"COFINSNT")}CST};ri([(0,Jt.IsString)(),ni("design:type",String)],kx.prototype,"CST",void 0);var Wc=class{static{o(this,"COFINSOutr")}CST;vBC;pCOFINS;qBCProd;vAliqProd;vCOFINS};ri([(0,Jt.IsString)(),ni("design:type",String)],Wc.prototype,"CST",void 0);ri([(0,Jt.IsOptional)(),(0,Jt.IsString)(),ne({fixed:2}),ni("design:type",String)],Wc.prototype,"vBC",void 0);ri([(0,Jt.IsOptional)(),(0,Jt.IsString)(),ni("design:type",String)],Wc.prototype,"pCOFINS",void 0);ri([(0,Jt.IsOptional)(),(0,Jt.IsString)(),ni("design:type",String)],Wc.prototype,"qBCProd",void 0);ri([(0,Jt.IsOptional)(),(0,Jt.IsString)(),ni("design:type",String)],Wc.prototype,"vAliqProd",void 0);ri([(0,Jt.IsOptional)(),(0,Jt.IsString)(),ni("design:type",String)],Wc.prototype,"vCOFINS",void 0);var wf=class{static{o(this,"COFINS")}COFINSAliq;COFINSQtde;COFINSNT;COFINSOutr};ri([(0,Jt.IsOptional)(),(0,Jt.ValidateNested)(),(0,oI.Type)(()=>dh),ni("design:type",typeof dh>"u"?Object:dh)],wf.prototype,"COFINSAliq",void 0);ri([(0,Jt.IsOptional)(),(0,Jt.ValidateNested)(),(0,oI.Type)(()=>mh),ni("design:type",typeof mh>"u"?Object:mh)],wf.prototype,"COFINSQtde",void 0);ri([(0,Jt.IsOptional)(),(0,Jt.ValidateNested)(),(0,oI.Type)(()=>kx),ni("design:type",typeof kx>"u"?Object:kx)],wf.prototype,"COFINSNT",void 0);ri([(0,Jt.IsOptional)(),(0,Jt.ValidateNested)(),(0,oI.Type)(()=>Wc),ni("design:type",typeof Wc>"u"?Object:Wc)],wf.prototype,"COFINSOutr",void 0);var Jc=class{static{o(this,"COFINSST")}vBC;pCOFINS;qBCProd;vAliqProd;vCOFINS};ri([(0,Jt.IsOptional)(),(0,Jt.IsString)(),ne({fixed:2}),ni("design:type",String)],Jc.prototype,"vBC",void 0);ri([(0,Jt.IsOptional)(),(0,Jt.IsString)(),ni("design:type",String)],Jc.prototype,"pCOFINS",void 0);ri([(0,Jt.IsOptional)(),(0,Jt.IsString)(),ni("design:type",String)],Jc.prototype,"qBCProd",void 0);ri([(0,Jt.IsOptional)(),(0,Jt.IsString)(),ni("design:type",String)],Jc.prototype,"vAliqProd",void 0);ri([(0,Jt.IsOptional)(),(0,Jt.IsString)(),ni("design:type",String)],Jc.prototype,"vCOFINS",void 0);var Co=require("class-validator");function Vx(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(Vx,"_ts_decorate");function jx(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(jx,"_ts_metadata");var Wu=class{static{o(this,"ISSQN")}vBC;vAliq;vISSQN;cMunFG;cListServ;cSitTrib};Vx([(0,Co.IsOptional)(),(0,Co.IsString)(),jx("design:type",String)],Wu.prototype,"vBC",void 0);Vx([(0,Co.IsOptional)(),(0,Co.IsString)(),jx("design:type",String)],Wu.prototype,"vAliq",void 0);Vx([(0,Co.IsOptional)(),(0,Co.IsString)(),jx("design:type",String)],Wu.prototype,"vISSQN",void 0);Vx([(0,Co.IsOptional)(),(0,Co.IsString)(),jx("design:type",String)],Wu.prototype,"cMunFG",void 0);Vx([(0,Co.IsOptional)(),(0,Co.IsString)(),jx("design:type",String)],Wu.prototype,"cListServ",void 0);Vx([(0,Co.IsOptional)(),(0,Co.IsString)(),jx("design:type",String)],Wu.prototype,"cSitTrib",void 0);var qi=require("class-validator");function gh(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(gh,"_ts_decorate");function vh(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(vh,"_ts_metadata");var ja=class{static{o(this,"ICMSUFDest")}vBCUFDest;vBCFCPUFDest;pFCPUFDest;pICMSUFDest;pICMSInter;pICMSInterPart;vFCPUFDest;vICMSUFDest;vICMSUFRemet};gh([(0,qi.IsOptional)(),(0,qi.IsString)(),vh("design:type",String)],ja.prototype,"vBCUFDest",void 0);gh([(0,qi.IsOptional)(),(0,qi.IsString)(),vh("design:type",String)],ja.prototype,"vBCFCPUFDest",void 0);gh([(0,qi.IsOptional)(),(0,qi.IsString)(),vh("design:type",String)],ja.prototype,"pFCPUFDest",void 0);gh([(0,qi.IsOptional)(),(0,qi.IsString)(),vh("design:type",String)],ja.prototype,"pICMSUFDest",void 0);gh([(0,qi.IsOptional)(),(0,qi.IsString)(),vh("design:type",String)],ja.prototype,"pICMSInter",void 0);gh([(0,qi.IsOptional)(),(0,qi.IsString)(),vh("design:type",String)],ja.prototype,"pICMSInterPart",void 0);gh([(0,qi.IsOptional)(),(0,qi.IsString)(),vh("design:type",String)],ja.prototype,"vFCPUFDest",void 0);gh([(0,qi.IsOptional)(),(0,qi.IsString)(),vh("design:type",String)],ja.prototype,"vICMSUFDest",void 0);gh([(0,qi.IsOptional)(),(0,qi.IsString)(),vh("design:type",String)],ja.prototype,"vICMSUFRemet",void 0);var di=require("class-validator");var Mx=require("class-validator");function Gie(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(Gie,"_ts_decorate");function Xie(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(Xie,"_ts_metadata");var Wm=class{static{o(this,"TransferenciaCredito")}vIBS;vCBS};Gie([(0,Mx.IsOptional)(),(0,Mx.IsString)(),Xie("design:type",String)],Wm.prototype,"vIBS",void 0);Gie([(0,Mx.IsOptional)(),(0,Mx.IsString)(),Xie("design:type",String)],Wm.prototype,"vCBS",void 0);var L_=require("class-validator");function wU(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(wU,"_ts_decorate");function CU(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(CU,"_ts_metadata");var yh=class{static{o(this,"CredPresIBSZFM")}tpCredPresIBSZFM;vCredPresIBSZFM;competApur};wU([(0,L_.IsString)(),CU("design:type",String)],yh.prototype,"tpCredPresIBSZFM",void 0);wU([(0,L_.IsString)(),CU("design:type",String)],yh.prototype,"vCredPresIBSZFM",void 0);wU([(0,L_.IsString)(),CU("design:type",String)],yh.prototype,"competApur",void 0);var Ma=require("class-validator"),EU=require("class-transformer");function Ef(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(Ef,"_ts_decorate");function Af(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(Af,"_ts_metadata");var Jm=class{static{o(this,"IBSCredPres")}vCredPresCondSus;pCredPres;vCredPres};Ef([(0,Ma.IsString)(),Af("design:type",String)],Jm.prototype,"vCredPresCondSus",void 0);Ef([(0,Ma.IsString)(),Af("design:type",String)],Jm.prototype,"pCredPres",void 0);Ef([(0,Ma.IsString)(),Af("design:type",String)],Jm.prototype,"vCredPres",void 0);var Ym=class{static{o(this,"CBSCredPres")}vCredPresCondSus;pCredPres;vCredPres};Ef([(0,Ma.IsString)(),Af("design:type",String)],Ym.prototype,"vCredPresCondSus",void 0);Ef([(0,Ma.IsString)(),Af("design:type",String)],Ym.prototype,"pCredPres",void 0);Ef([(0,Ma.IsString)(),Af("design:type",String)],Ym.prototype,"vCredPres",void 0);var Cf=class{static{o(this,"CredPresOper")}gIBSCredPres;gCBSCredPres;vBCCredPres;cCredPres};Ef([(0,Ma.IsOptional)(),(0,Ma.ValidateNested)(),(0,EU.Type)(()=>Jm),Af("design:type",typeof Jm>"u"?Object:Jm)],Cf.prototype,"gIBSCredPres",void 0);Ef([(0,Ma.IsOptional)(),(0,Ma.ValidateNested)(),(0,EU.Type)(()=>Ym),Af("design:type",typeof Ym>"u"?Object:Ym)],Cf.prototype,"gCBSCredPres",void 0);Ef([(0,Ma.IsString)(),Af("design:type",String)],Cf.prototype,"vBCCredPres",void 0);Ef([(0,Ma.IsString)(),Af("design:type",String)],Cf.prototype,"cCredPres",void 0);var AU=require("class-validator");function Wie(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(Wie,"_ts_decorate");function Jie(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(Jie,"_ts_metadata");var Qm=class{static{o(this,"EstornoCred")}vIBSEstCred;vCBSEstCred};Wie([(0,AU.IsString)(),Jie("design:type",String)],Qm.prototype,"vIBSEstCred",void 0);Wie([(0,AU.IsString)(),Jie("design:type",String)],Qm.prototype,"vCBSEstCred",void 0);var F_=require("class-validator");function NU(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(NU,"_ts_decorate");function IU(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(IU,"_ts_metadata");var Sh=class{static{o(this,"AjusteCompet")}competApur;vCBS;vIBS};NU([(0,F_.IsString)(),IU("design:type",String)],Sh.prototype,"competApur",void 0);NU([(0,F_.IsString)(),IU("design:type",String)],Sh.prototype,"vCBS",void 0);NU([(0,F_.IsString)(),IU("design:type",String)],Sh.prototype,"vIBS",void 0);var Rr=require("class-validator");function Pi(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(Pi,"_ts_decorate");function _i(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(_i,"_ts_metadata");var Cn=class{static{o(this,"IBSCBSMono")}vTotIBSMonoItem;vTotCBSMonoItem;adRemIBS;adRemCBS;vIBSMono;vCBSMono;qBCMono;adRemIBSReten;vIBSMonoReten;adRemCBSReten;vCBSMonoReten;qBCMonoReten;adRemIBSRet;vIBSMonoRet;adRemCBSRet;vCBSMonoRet;qBCMonoRet;vIBSMonoDif;vCBSMonoDif;pDifIBS;pDifCBS};Pi([(0,Rr.IsString)(),_i("design:type",String)],Cn.prototype,"vTotIBSMonoItem",void 0);Pi([(0,Rr.IsString)(),_i("design:type",String)],Cn.prototype,"vTotCBSMonoItem",void 0);Pi([(0,Rr.IsString)(),_i("design:type",String)],Cn.prototype,"adRemIBS",void 0);Pi([(0,Rr.IsString)(),_i("design:type",String)],Cn.prototype,"adRemCBS",void 0);Pi([(0,Rr.IsString)(),_i("design:type",String)],Cn.prototype,"vIBSMono",void 0);Pi([(0,Rr.IsString)(),_i("design:type",String)],Cn.prototype,"vCBSMono",void 0);Pi([(0,Rr.IsString)(),_i("design:type",String)],Cn.prototype,"qBCMono",void 0);Pi([(0,Rr.IsOptional)(),(0,Rr.IsString)(),_i("design:type",String)],Cn.prototype,"adRemIBSReten",void 0);Pi([(0,Rr.IsOptional)(),(0,Rr.IsString)(),_i("design:type",String)],Cn.prototype,"vIBSMonoReten",void 0);Pi([(0,Rr.IsOptional)(),(0,Rr.IsString)(),_i("design:type",String)],Cn.prototype,"adRemCBSReten",void 0);Pi([(0,Rr.IsOptional)(),(0,Rr.IsString)(),_i("design:type",String)],Cn.prototype,"vCBSMonoReten",void 0);Pi([(0,Rr.IsOptional)(),(0,Rr.IsString)(),_i("design:type",String)],Cn.prototype,"qBCMonoReten",void 0);Pi([(0,Rr.IsOptional)(),(0,Rr.IsString)(),_i("design:type",String)],Cn.prototype,"adRemIBSRet",void 0);Pi([(0,Rr.IsOptional)(),(0,Rr.IsString)(),_i("design:type",String)],Cn.prototype,"vIBSMonoRet",void 0);Pi([(0,Rr.IsOptional)(),(0,Rr.IsString)(),_i("design:type",String)],Cn.prototype,"adRemCBSRet",void 0);Pi([(0,Rr.IsOptional)(),(0,Rr.IsString)(),_i("design:type",String)],Cn.prototype,"vCBSMonoRet",void 0);Pi([(0,Rr.IsOptional)(),(0,Rr.IsString)(),_i("design:type",String)],Cn.prototype,"qBCMonoRet",void 0);Pi([(0,Rr.IsOptional)(),(0,Rr.IsString)(),_i("design:type",String)],Cn.prototype,"vIBSMonoDif",void 0);Pi([(0,Rr.IsOptional)(),(0,Rr.IsString)(),_i("design:type",String)],Cn.prototype,"vCBSMonoDif",void 0);Pi([(0,Rr.IsOptional)(),(0,Rr.IsString)(),_i("design:type",String)],Cn.prototype,"pDifIBS",void 0);Pi([(0,Rr.IsOptional)(),(0,Rr.IsString)(),_i("design:type",String)],Cn.prototype,"pDifCBS",void 0);var nu=require("class-validator");var bh=require("class-validator");function $m(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o($m,"_ts_decorate");function Zm(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(Zm,"_ts_metadata");var Eo=class{static{o(this,"TribRegular")}CSTReg;cClassTribReg;pAliqEfetRegIBSUF;vTribRegIBSUF;pAliqEfetRegIBSMun;vTribRegIBSMun;pAliqEfetRegCBS;vTribRegCBS};$m([(0,bh.IsString)(),Zm("design:type",String)],Eo.prototype,"CSTReg",void 0);$m([(0,bh.IsString)(),Zm("design:type",String)],Eo.prototype,"cClassTribReg",void 0);$m([(0,bh.IsString)(),Zm("design:type",String)],Eo.prototype,"pAliqEfetRegIBSUF",void 0);$m([(0,bh.IsString)(),Zm("design:type",String)],Eo.prototype,"vTribRegIBSUF",void 0);$m([(0,bh.IsString)(),Zm("design:type",String)],Eo.prototype,"pAliqEfetRegIBSMun",void 0);$m([(0,bh.IsString)(),Zm("design:type",String)],Eo.prototype,"vTribRegIBSMun",void 0);$m([(0,bh.IsString)(),Zm("design:type",String)],Eo.prototype,"pAliqEfetRegCBS",void 0);$m([(0,bh.IsString)(),Zm("design:type",String)],Eo.prototype,"vTribRegCBS",void 0);var dI=require("class-transformer");var Qc=require("class-validator"),k_=require("class-transformer");var Yie=require("class-validator");function YBe(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(YBe,"_ts_decorate");function QBe(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(QBe,"_ts_metadata");var Ua=class{static{o(this,"DevTrib")}vDevTrib};YBe([(0,Yie.IsString)(),QBe("design:type",String)],Ua.prototype,"vDevTrib",void 0);var TU=require("class-validator");function Qie(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(Qie,"_ts_decorate");function $ie(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o($ie,"_ts_metadata");var xa=class{static{o(this,"Dif")}pDif;vDif};Qie([(0,TU.IsString)(),$ie("design:type",String)],xa.prototype,"pDif",void 0);Qie([(0,TU.IsString)(),$ie("design:type",String)],xa.prototype,"vDif",void 0);var RU=require("class-validator");function Zie(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(Zie,"_ts_decorate");function ese(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(ese,"_ts_metadata");var wa=class{static{o(this,"Red")}pAliqEfet;pRedAliq};Zie([(0,RU.IsString)(),ese("design:type",String)],wa.prototype,"pAliqEfet",void 0);Zie([(0,RU.IsString)(),ese("design:type",String)],wa.prototype,"pRedAliq",void 0);function uI(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(uI,"_ts_decorate");function cI(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(cI,"_ts_metadata");var Yc=class{static{o(this,"IBSMun")}pIBSMun;vIBSMun;gDevTrib;gDif;gRed};uI([(0,Qc.IsString)(),cI("design:type",String)],Yc.prototype,"pIBSMun",void 0);uI([(0,Qc.IsString)(),cI("design:type",String)],Yc.prototype,"vIBSMun",void 0);uI([(0,Qc.IsOptional)(),(0,Qc.ValidateNested)(),(0,k_.Type)(()=>Ua),cI("design:type",typeof Ua>"u"?Object:Ua)],Yc.prototype,"gDevTrib",void 0);uI([(0,Qc.IsOptional)(),(0,Qc.ValidateNested)(),(0,k_.Type)(()=>xa),cI("design:type",typeof xa>"u"?Object:xa)],Yc.prototype,"gDif",void 0);uI([(0,Qc.IsOptional)(),(0,Qc.ValidateNested)(),(0,k_.Type)(()=>wa),cI("design:type",typeof wa>"u"?Object:wa)],Yc.prototype,"gRed",void 0);var Zc=require("class-validator"),V_=require("class-transformer");function lI(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(lI,"_ts_decorate");function fI(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(fI,"_ts_metadata");var $c=class{static{o(this,"IBSUF")}pIBSUF;vIBSUF;gDevTrib;gDif;gRed};lI([(0,Zc.IsString)(),fI("design:type",String)],$c.prototype,"pIBSUF",void 0);lI([(0,Zc.IsString)(),fI("design:type",String)],$c.prototype,"vIBSUF",void 0);lI([(0,Zc.IsOptional)(),(0,Zc.ValidateNested)(),(0,V_.Type)(()=>Ua),fI("design:type",typeof Ua>"u"?Object:Ua)],$c.prototype,"gDevTrib",void 0);lI([(0,Zc.IsOptional)(),(0,Zc.ValidateNested)(),(0,V_.Type)(()=>xa),fI("design:type",typeof xa>"u"?Object:xa)],$c.prototype,"gDif",void 0);lI([(0,Zc.IsOptional)(),(0,Zc.ValidateNested)(),(0,V_.Type)(()=>wa),fI("design:type",typeof wa>"u"?Object:wa)],$c.prototype,"gRed",void 0);var tl=require("class-validator"),j_=require("class-transformer");function pI(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(pI,"_ts_decorate");function hI(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(hI,"_ts_metadata");var el=class{static{o(this,"CBS")}pCBS;vCBS;gDevTrib;gDif;gRed};pI([(0,tl.IsString)(),hI("design:type",String)],el.prototype,"pCBS",void 0);pI([(0,tl.IsString)(),hI("design:type",String)],el.prototype,"vCBS",void 0);pI([(0,tl.IsOptional)(),(0,tl.ValidateNested)(),(0,j_.Type)(()=>Ua),hI("design:type",typeof Ua>"u"?Object:Ua)],el.prototype,"gDevTrib",void 0);pI([(0,tl.IsOptional)(),(0,tl.ValidateNested)(),(0,j_.Type)(()=>xa),hI("design:type",typeof xa>"u"?Object:xa)],el.prototype,"gDif",void 0);pI([(0,tl.IsOptional)(),(0,tl.ValidateNested)(),(0,j_.Type)(()=>wa),hI("design:type",typeof wa>"u"?Object:wa)],el.prototype,"gRed",void 0);function Ux(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(Ux,"_ts_decorate");function qx(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(qx,"_ts_metadata");var Ju=class{static{o(this,"GIBSCBS")}vBC;gIBSUF;gIBSMun;vIBS;gCBS;gTribRegular};Ux([(0,nu.IsString)(),qx("design:type",String)],Ju.prototype,"vBC",void 0);Ux([(0,nu.IsOptional)(),(0,nu.ValidateNested)(),(0,dI.Type)(()=>$c),qx("design:type",typeof $c>"u"?Object:$c)],Ju.prototype,"gIBSUF",void 0);Ux([(0,nu.IsOptional)(),(0,nu.ValidateNested)(),(0,dI.Type)(()=>Yc),qx("design:type",typeof Yc>"u"?Object:Yc)],Ju.prototype,"gIBSMun",void 0);Ux([(0,nu.IsString)(),qx("design:type",String)],Ju.prototype,"vIBS",void 0);Ux([(0,nu.IsOptional)(),(0,nu.ValidateNested)(),(0,dI.Type)(()=>el),qx("design:type",typeof el>"u"?Object:el)],Ju.prototype,"gCBS",void 0);Ux([(0,nu.IsOptional)(),(0,nu.ValidateNested)(),(0,dI.Type)(()=>Eo),qx("design:type",typeof Eo>"u"?Object:Eo)],Ju.prototype,"gTribRegular",void 0);var e0=require("class-transformer");function Nf(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(Nf,"_ts_decorate");function If(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(If,"_ts_metadata");var ns=class{static{o(this,"IBSCBS")}CST;cClassTrib;indDoacao;gTransfCred;gCredPresIBSZFM;gCredPresOper;gAjusteCompet;gEstornoCred;gIBSCBSMono;gIBSCBS};Nf([(0,di.IsOptional)(),(0,di.IsString)(),If("design:type",String)],ns.prototype,"CST",void 0);Nf([(0,di.IsOptional)(),(0,di.IsString)(),If("design:type",String)],ns.prototype,"cClassTrib",void 0);Nf([(0,di.IsOptional)(),(0,di.IsString)(),If("design:type",String)],ns.prototype,"indDoacao",void 0);Nf([(0,di.IsOptional)(),(0,di.ValidateNested)(),(0,e0.Type)(()=>Wm),If("design:type",typeof Wm>"u"?Object:Wm)],ns.prototype,"gTransfCred",void 0);Nf([(0,di.IsOptional)(),(0,di.ValidateNested)(),(0,e0.Type)(()=>yh),If("design:type",typeof yh>"u"?Object:yh)],ns.prototype,"gCredPresIBSZFM",void 0);Nf([(0,di.IsOptional)(),(0,di.ValidateNested)(),(0,e0.Type)(()=>Cf),If("design:type",typeof Cf>"u"?Object:Cf)],ns.prototype,"gCredPresOper",void 0);Nf([(0,di.IsOptional)(),(0,di.ValidateNested)(),(0,e0.Type)(()=>Sh),If("design:type",typeof Sh>"u"?Object:Sh)],ns.prototype,"gAjusteCompet",void 0);Nf([(0,di.IsOptional)(),(0,di.ValidateNested)(),(0,e0.Type)(()=>Qm),If("design:type",typeof Qm>"u"?Object:Qm)],ns.prototype,"gEstornoCred",void 0);Nf([(0,di.IsOptional)(),(0,di.ValidateNested)(),(0,e0.Type)(()=>Cn),If("design:type",typeof Cn>"u"?Object:Cn)],ns.prototype,"gIBSCBSMono",void 0);Nf([(0,di.IsOptional)(),(0,di.ValidateNested)(),(0,e0.Type)(()=>Ju),If("design:type",typeof Ju>"u"?Object:Ju)],ns.prototype,"gIBSCBS",void 0);var xh=require("class-validator");function t0(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(t0,"_ts_decorate");function r0(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(r0,"_ts_metadata");var Yu=class{static{o(this,"IS")}cClassTrib;CSTIS;pISEspec;vBCIS;uTrib;qTrib;pIS;vIS};t0([(0,xh.IsString)(),r0("design:type",String)],Yu.prototype,"cClassTrib",void 0);t0([(0,xh.IsString)(),r0("design:type",String)],Yu.prototype,"CSTIS",void 0);t0([(0,xh.IsString)(),r0("design:type",String)],Yu.prototype,"pISEspec",void 0);t0([(0,xh.IsString)(),r0("design:type",String)],Yu.prototype,"vBCIS",void 0);t0([(0,xh.IsString)(),r0("design:type",String)],Yu.prototype,"uTrib",void 0);t0([(0,xh.IsString)(),r0("design:type",String)],Yu.prototype,"qTrib",void 0);t0([(0,xh.IsString)(),r0("design:type",String)],Yu.prototype,"pIS",void 0);t0([(0,xh.IsString)(),r0("design:type",String)],Yu.prototype,"vIS",void 0);function iu(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(iu,"_ts_decorate");function Qu(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(Qu,"_ts_metadata");var Hi=class{static{o(this,"Imposto")}vTotTrib;ICMS;IPI;ISSQN;II;PIS;PISST;COFINS;COFINSST;ICMSUFDest;IBSCBS;IS};iu([(0,En.IsOptional)(),(0,En.IsNumber)(),Qu("design:type",Number)],Hi.prototype,"vTotTrib",void 0);iu([(0,En.IsOptional)(),(0,En.ValidateNested)(),(0,$u.Type)(()=>zn),Qu("design:type",typeof IICMS>"u"?Object:IICMS)],Hi.prototype,"ICMS",void 0);iu([(0,En.IsOptional)(),(0,En.ValidateNested)(),(0,$u.Type)(()=>Xu),Qu("design:type",typeof IIPI>"u"?Object:IIPI)],Hi.prototype,"IPI",void 0);iu([(0,En.IsOptional)(),(0,En.ValidateNested)(),(0,$u.Type)(()=>Wu),Qu("design:type",typeof IISSQN>"u"?Object:IISSQN)],Hi.prototype,"ISSQN",void 0);iu([(0,En.IsOptional)(),(0,En.ValidateNested)(),(0,$u.Type)(()=>Sf),Qu("design:type",typeof III>"u"?Object:III)],Hi.prototype,"II",void 0);iu([(0,En.IsOptional)(),(0,En.ValidateNested)(),(0,$u.Type)(()=>xf),Qu("design:type",typeof IPIS>"u"?Object:IPIS)],Hi.prototype,"PIS",void 0);iu([(0,En.IsOptional)(),(0,En.ValidateNested)(),(0,$u.Type)(()=>Xc),Qu("design:type",typeof IPISST>"u"?Object:IPISST)],Hi.prototype,"PISST",void 0);iu([(0,En.IsOptional)(),(0,En.ValidateNested)(),(0,$u.Type)(()=>wf),Qu("design:type",typeof ICOFINS>"u"?Object:ICOFINS)],Hi.prototype,"COFINS",void 0);iu([(0,En.IsOptional)(),(0,En.ValidateNested)(),(0,$u.Type)(()=>Jc),Qu("design:type",typeof ICOFINSST>"u"?Object:ICOFINSST)],Hi.prototype,"COFINSST",void 0);iu([(0,En.IsOptional)(),(0,En.ValidateNested)(),(0,$u.Type)(()=>ja),Qu("design:type",typeof IICMSUFDest>"u"?Object:IICMSUFDest)],Hi.prototype,"ICMSUFDest",void 0);iu([(0,En.IsOptional)(),(0,En.ValidateNested)(),(0,$u.Type)(()=>ns),Qu("design:type",typeof IIBSCBS>"u"?Object:IIBSCBS)],Hi.prototype,"IBSCBS",void 0);iu([(0,En.IsOptional)(),(0,En.ValidateNested)(),(0,$u.Type)(()=>Yu),Qu("design:type",typeof IIS>"u"?Object:IIS)],Hi.prototype,"IS",void 0);Hi=iu([nn({properties:["ICMS","ISSQN"]})],Hi);var ty=require("class-validator"),tse=require("class-transformer");function DU(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(DU,"_ts_decorate");function OU(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(OU,"_ts_metadata");var M_=class{static{o(this,"IpiDevol")}vIPIDevol};DU([(0,ty.IsString)(),OU("design:type",String)],M_.prototype,"vIPIDevol",void 0);var Hx=class{static{o(this,"Devol")}pDevol;IPI};DU([(0,ty.IsString)(),OU("design:type",String)],Hx.prototype,"pDevol",void 0);DU([(0,ty.IsOptional)(),(0,ty.ValidateNested)(),(0,tse.Type)(()=>M_),OU("design:type",typeof IIpiDevol>"u"?Object:IIpiDevol)],Hx.prototype,"IPI",void 0);var wh=require("class-validator"),BU=require("class-transformer");function U_(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(U_,"_ts_decorate");function q_(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(q_,"_ts_metadata");var zx=class{static{o(this,"Observation")}xCampo;xTexto};U_([(0,wh.IsString)(),q_("design:type",String)],zx.prototype,"xCampo",void 0);U_([(0,wh.IsString)(),q_("design:type",String)],zx.prototype,"xTexto",void 0);var Kx=class{static{o(this,"ObsItem")}obsCont;obsFisco};U_([(0,wh.IsOptional)(),(0,wh.ValidateNested)(),(0,BU.Type)(()=>zx),q_("design:type",typeof IObservation>"u"?Object:IObservation)],Kx.prototype,"obsCont",void 0);U_([(0,wh.IsOptional)(),(0,wh.ValidateNested)(),(0,BU.Type)(()=>zx),q_("design:type",typeof IObservation>"u"?Object:IObservation)],Kx.prototype,"obsFisco",void 0);function n0(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(n0,"_ts_decorate");function i0(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(i0,"_ts_metadata");var Gx=class{static{o(this,"DetAttributes")}nItem};n0([(0,Qs.IsString)(),i0("design:type",String)],Gx.prototype,"nItem",void 0);var rl=class{static{o(this,"Det")}prod;imposto;impostoDevol;infAdProd;obsItem;vItem};n0([(0,Qs.IsObject)(),(0,Qs.ValidateNested)(),(0,Xx.Type)(()=>Gx),i0("design:type",typeof IDetAttributes>"u"?Object:IDetAttributes)],rl.prototype,"$",void 0);n0([(0,Qs.ValidateNested)(),(0,Xx.Type)(()=>Xt),i0("design:type",typeof IProd>"u"?Object:IProd)],rl.prototype,"prod",void 0);n0([(0,Qs.IsOptional)(),(0,Qs.ValidateNested)(),(0,Xx.Type)(()=>Hi),i0("design:type",typeof IImposto>"u"?Object:IImposto)],rl.prototype,"imposto",void 0);n0([(0,Qs.IsOptional)(),(0,Qs.ValidateNested)(),(0,Xx.Type)(()=>Hx),i0("design:type",typeof IDevol>"u"?Object:IDevol)],rl.prototype,"impostoDevol",void 0);n0([(0,Qs.IsOptional)(),(0,Qs.IsString)(),i0("design:type",String)],rl.prototype,"infAdProd",void 0);n0([(0,Qs.IsOptional)(),(0,Qs.ValidateNested)(),(0,Xx.Type)(()=>Kx),i0("design:type",typeof IObsItem>"u"?Object:IObsItem)],rl.prototype,"obsItem",void 0);n0([(0,Qs.IsOptional)(),ne({fixed:2}),i0("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],rl.prototype,"vItem",void 0);var Zs=require("class-validator");function nl(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(nl,"_ts_decorate");function il(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(il,"_ts_metadata");var $s=class{static{o(this,"Avulsa")}CNPJ;xOrgao;matr;xAgente;fone;UF;nDAR;dEmi;vDAR;repEmi;dPag};nl([(0,Zs.IsString)(),il("design:type",String)],$s.prototype,"CNPJ",void 0);nl([(0,Zs.IsString)(),il("design:type",String)],$s.prototype,"xOrgao",void 0);nl([(0,Zs.IsString)(),il("design:type",String)],$s.prototype,"matr",void 0);nl([(0,Zs.IsString)(),il("design:type",String)],$s.prototype,"xAgente",void 0);nl([(0,Zs.IsOptional)(),(0,Zs.IsString)(),il("design:type",String)],$s.prototype,"fone",void 0);nl([(0,Zs.IsString)(),il("design:type",String)],$s.prototype,"UF",void 0);nl([(0,Zs.IsOptional)(),(0,Zs.IsString)(),il("design:type",String)],$s.prototype,"nDAR",void 0);nl([(0,Zs.IsOptional)(),Fp({format:"YYYY-MM-DD"}),il("design:type",typeof Date>"u"?Object:Date)],$s.prototype,"dEmi",void 0);nl([(0,Zs.IsOptional)(),ne({fixed:2}),il("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],$s.prototype,"vDAR",void 0);nl([(0,Zs.IsString)(),il("design:type",String)],$s.prototype,"repEmi",void 0);nl([(0,Zs.IsOptional)(),(0,Zs.IsDate)(),il("design:type",typeof Date>"u"?Object:Date)],$s.prototype,"dPag",void 0);var rse=require("class-validator");function $Be(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o($Be,"_ts_decorate");function ZBe(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(ZBe,"_ts_metadata");var ry=class{static{o(this,"InfSolicNFF")}xSolic};$Be([(0,rse.IsString)(),ZBe("design:type",String)],ry.prototype,"xSolic",void 0);function Ci(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(Ci,"_ts_decorate");function Ei(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(Ei,"_ts_metadata");var ny=class{static{o(this,"InfNFeAttributes")}Id;versao};Ci([(0,Pt.IsOptional)(),(0,Pt.IsString)(),Ei("design:type",String)],ny.prototype,"Id",void 0);Ci([(0,Pt.IsOptional)(),(0,Pt.IsString)(),Ei("design:type",String)],ny.prototype,"versao",void 0);var Ln=class{static{o(this,"InfNFe")}ide;emit;avulsa;dest;retirada;entrega;autXML;det;total;transp;cobr;pag;infIntermed;infAdic;exporta;compra;cana;infRespTec;infSolicNFF};Ci([(0,Pt.IsObject)(),(0,Pt.IsNotEmptyObject)(),(0,Li.Type)(()=>ny),(0,Pt.ValidateNested)(),Ei("design:type",typeof IInfNFeAttributes>"u"?Object:IInfNFeAttributes)],Ln.prototype,"$",void 0);Ci([(0,Pt.IsObject)(),(0,Pt.IsNotEmptyObject)(),(0,Pt.ValidateNested)(),(0,Li.Type)(()=>sn),Ei("design:type",typeof IIde>"u"?Object:IIde)],Ln.prototype,"ide",void 0);Ci([(0,Pt.IsObject)(),(0,Pt.IsNotEmptyObject)(),(0,Pt.ValidateNested)(),(0,Li.Type)(()=>xs),Ei("design:type",typeof IEmit>"u"?Object:IEmit)],Ln.prototype,"emit",void 0);Ci([(0,Pt.IsOptional)(),(0,Pt.ValidateNested)(),(0,Li.Type)(()=>$s),Ei("design:type",typeof IAvulsa>"u"?Object:IAvulsa)],Ln.prototype,"avulsa",void 0);Ci([(0,Pt.IsOptional)(),(0,Pt.ValidateNested)(),(0,Li.Type)(()=>ws),Ei("design:type",typeof IDest>"u"?Object:IDest)],Ln.prototype,"dest",void 0);Ci([(0,Pt.IsOptional)(),(0,Pt.ValidateNested)(),(0,Li.Type)(()=>Pn),Ei("design:type",typeof ILocal>"u"?Object:ILocal)],Ln.prototype,"retirada",void 0);Ci([(0,Pt.IsOptional)(),(0,Pt.ValidateNested)(),(0,Li.Type)(()=>Pn),Ei("design:type",typeof ILocal>"u"?Object:ILocal)],Ln.prototype,"entrega",void 0);Ci([(0,Pt.IsOptional)(),(0,Pt.ValidateNested)({each:!0}),(0,Pt.ArrayMaxSize)(10),(0,Li.Type)(()=>cf),Ei("design:type",Array)],Ln.prototype,"autXML",void 0);Ci([(0,Pt.ValidateNested)({each:!0}),(0,Pt.ArrayMaxSize)(990),(0,Pt.ArrayMinSize)(1),(0,Li.Type)(()=>rl),Ei("design:type",Array)],Ln.prototype,"det",void 0);Ci([(0,Pt.ValidateNested)(),(0,Li.Type)(()=>qc),Ei("design:type",typeof ITotal>"u"?Object:ITotal)],Ln.prototype,"total",void 0);Ci([(0,Pt.ValidateNested)(),(0,Li.Type)(()=>ya),Ei("design:type",typeof ITransp>"u"?Object:ITransp)],Ln.prototype,"transp",void 0);Ci([(0,Pt.IsOptional)(),(0,Pt.ValidateNested)(),(0,Li.Type)(()=>qm),Ei("design:type",typeof ICobr>"u"?Object:ICobr)],Ln.prototype,"cobr",void 0);Ci([(0,Pt.ValidateNested)(),(0,Li.Type)(()=>Hm),Ei("design:type",typeof IPag>"u"?Object:IPag)],Ln.prototype,"pag",void 0);Ci([(0,Pt.IsOptional)(),(0,Pt.ValidateNested)(),(0,Li.Type)(()=>Fm),Ei("design:type",typeof IInfIntermed>"u"?Object:IInfIntermed)],Ln.prototype,"infIntermed",void 0);Ci([(0,Pt.IsOptional)(),(0,Pt.ValidateNested)(),(0,Li.Type)(()=>Hc),Ei("design:type",typeof IInfAdic>"u"?Object:IInfAdic)],Ln.prototype,"infAdic",void 0);Ci([(0,Pt.IsOptional)(),(0,Pt.ValidateNested)(),(0,Li.Type)(()=>zp),Ei("design:type",typeof IExporta>"u"?Object:IExporta)],Ln.prototype,"exporta",void 0);Ci([(0,Pt.IsOptional)(),(0,Pt.ValidateNested)(),(0,Li.Type)(()=>Kp),Ei("design:type",typeof ICompra>"u"?Object:ICompra)],Ln.prototype,"compra",void 0);Ci([(0,Pt.IsOptional)(),(0,Pt.ValidateNested)(),(0,Li.Type)(()=>Sa),Ei("design:type",typeof ICana>"u"?Object:ICana)],Ln.prototype,"cana",void 0);Ci([(0,Pt.IsOptional)(),(0,Pt.ValidateNested)(),(0,Li.Type)(()=>qu),Ei("design:type",typeof IInfRespTec>"u"?Object:IInfRespTec)],Ln.prototype,"infRespTec",void 0);Ci([(0,Pt.IsOptional)(),(0,Pt.ValidateNested)(),(0,Li.Type)(()=>ry),Ei("design:type",typeof ISolicNFF>"u"?Object:ISolicNFF)],Ln.prototype,"infSolicNFF",void 0);var PU=require("class-transformer");function H_(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(H_,"_ts_decorate");function z_(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(z_,"_ts_metadata");var Wx=class{static{o(this,"NFeAttributes")}xmlns};H_([(0,qa.IsString)(),(0,qa.IsNotEmpty)(),z_("design:type",String)],Wx.prototype,"xmlns",void 0);var Ch=class{static{o(this,"NFe")}$;infNFe;Signature};H_([(0,qa.IsObject)(),(0,qa.IsNotEmptyObject)(),(0,PU.Type)(()=>Wx),(0,qa.ValidateNested)(),z_("design:type",typeof INFeAttributes>"u"?Object:INFeAttributes)],Ch.prototype,"$",void 0);H_([(0,qa.IsObject)(),(0,qa.IsNotEmptyObject)(),(0,PU.Type)(()=>Ln),(0,qa.ValidateNested)(),z_("design:type",typeof IInfNFe>"u"?Object:IInfNFe)],Ch.prototype,"infNFe",void 0);H_([(0,qa.Allow)(),z_("design:type",typeof Signature>"u"?Object:Signature)],Ch.prototype,"Signature",void 0);function su(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(su,"_ts_decorate");function wr(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(wr,"_ts_metadata");var Is=class{static{o(this,"NfeDetXmlBuilder")}listener;schema;data={};static create(e,t="PL_009_V4"){return new this(e,t)}constructor(e,t="PL_009_V4"){this.listener=e,this.schema=t}det(e){return this.data.$=e,this}prod(e){return this.data.prod=e,this.listener?.prod(e),this}imposto(e){return this.data.imposto=e,this}icms(e){return this.data.imposto??={},this.data.imposto.ICMS=e,this.listener?.icms(e),this}issqn(e){return this.data.imposto??={},this.data.imposto.ISSQN=e,this}ii(e){return this.data.imposto??={},this.data.imposto.II=e,this}ipi(e){return this.data.imposto??={},this.data.imposto.IPI=e,this}pis(e){return this.data.imposto??={},this.data.imposto.PIS=e,this.listener?.pis(e),this}pisst(e){return this.data.imposto??={},this.data.imposto.PISST=e,this}cofins(e){return this.data.imposto??={},this.data.imposto.COFINS=e,this.listener?.cofins(e),this}cofinsst(e){return this.data.imposto??={},this.data.imposto.COFINSST=e,this}icmsufdest(e){return this.data.imposto??={},this.data.imposto.ICMSUFDest=e,this}ibscbs(e){return this.schema===Vp.PL_009_V4?this:(this.data.imposto??={},this.data.imposto.IBSCBS=e,this)}vItem(e){return this.schema===Vp.PL_009_V4?this:(this.data.vItem=e.vItem,this)}assemble(){this.data.imposto&&this.imposto(this.data.imposto);let e={...this.data};return this.data={},e}};su([Ht(Gx),wr("design:type",Function),wr("design:paramtypes",[typeof IDetAttributes>"u"?Object:IDetAttributes]),wr("design:returntype",void 0)],Is.prototype,"det",null);su([Ht(Xt),wr("design:type",Function),wr("design:paramtypes",[typeof IProd>"u"?Object:IProd]),wr("design:returntype",void 0)],Is.prototype,"prod",null);su([Ht(Hi),wr("design:type",Function),wr("design:paramtypes",[typeof IImposto>"u"?Object:IImposto]),wr("design:returntype",void 0)],Is.prototype,"imposto",null);su([Ht(zn),wr("design:type",Function),wr("design:paramtypes",[typeof IICMS>"u"?Object:IICMS]),wr("design:returntype",void 0)],Is.prototype,"icms",null);su([Ht(Wu),wr("design:type",Function),wr("design:paramtypes",[typeof IISSQN>"u"?Object:IISSQN]),wr("design:returntype",void 0)],Is.prototype,"issqn",null);su([Ht(Sf),wr("design:type",Function),wr("design:paramtypes",[typeof III>"u"?Object:III]),wr("design:returntype",void 0)],Is.prototype,"ii",null);su([Ht(Xu),wr("design:type",Function),wr("design:paramtypes",[typeof IIPI>"u"?Object:IIPI]),wr("design:returntype",void 0)],Is.prototype,"ipi",null);su([Ht(xf),wr("design:type",Function),wr("design:paramtypes",[typeof IPIS>"u"?Object:IPIS]),wr("design:returntype",void 0)],Is.prototype,"pis",null);su([Ht(Xc),wr("design:type",Function),wr("design:paramtypes",[typeof IPISST>"u"?Object:IPISST]),wr("design:returntype",void 0)],Is.prototype,"pisst",null);su([Ht(wf),wr("design:type",Function),wr("design:paramtypes",[typeof ICOFINS>"u"?Object:ICOFINS]),wr("design:returntype",void 0)],Is.prototype,"cofins",null);su([Ht(Jc),wr("design:type",Function),wr("design:paramtypes",[typeof ICOFINSST>"u"?Object:ICOFINSST]),wr("design:returntype",void 0)],Is.prototype,"cofinsst",null);su([Ht(ja),wr("design:type",Function),wr("design:paramtypes",[typeof IICMSUFDest>"u"?Object:IICMSUFDest]),wr("design:returntype",void 0)],Is.prototype,"icmsufdest",null);su([Ht(ns),wr("design:type",Function),wr("design:paramtypes",[typeof ns>"u"?Object:ns]),wr("design:returntype",void 0)],Is.prototype,"ibscbs",null);function is(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(is,"_ts_decorate");function Nt(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(Nt,"_ts_metadata");var Fn=class{static{o(this,"NfeXmlBuilder")}builder;contingency;schema;data={$:{xmlns:"http://www.portalfiscal.inf.br/nfe"},infNFe:{total:{ICMSTot:{}}}};$data=void 0;get entity(){return Ch}root="NFe";$det=new D2(this);$total=new O2(this);nfeDetXmlBuilder;static create(e,t,n="PL_009_V4"){return new this(e,t,n)}constructor(e,t,n="PL_009_V4"){this.builder=e,this.contingency=t,this.schema=n,this.nfeDetXmlBuilder=Is.create(this.$det,this.schema)}infNFe(e){return this.data.infNFe.$=e,this}ide(e){return this.data.infNFe.ide=e,this}emit(e){return this.data.infNFe.emit=e,this}avulsa(e){return this.data.infNFe.avulsa=e,this}dest(e){return this.data.infNFe.dest=e,this}retirada(e){return this.data.infNFe.retirada=e,this}entrega(e){return this.data.infNFe.entrega=e,this}autXML(e){return e==null?this:(this.data.infNFe.autXML??=[],this.data.infNFe.autXML.push(e),this)}det(e,t){return this.data.infNFe.det=e.map((n,i)=>{let s=t(this.nfeDetXmlBuilder.det({nItem:(i+1).toString()}),n);return this.collect(s),s.assemble()}),this}total(e){return this.data.infNFe.total=e,this}increment(e){let t=e(this.data.infNFe.total,this.data.infNFe.det);return this.data.infNFe.total={...this.data.infNFe.total,ICMSTot:{...this.data.infNFe.total.ICMSTot,...t.ICMSTot},ISSQNtot:t.ISSQNtot?{...this.data.infNFe.total.ISSQNtot,...t.ISSQNtot}:void 0},this.schema!==Vp.PL_009_V4&&this.buildTotalForPL_010(t),this}buildTotalForPL_010(e){this.data.infNFe.total={...this.data.infNFe.total,IBSCBSTot:{...this.data.infNFe.total.IBSCBSTot,gCBS:{...this.data.infNFe.total.IBSCBSTot?.gCBS},gIBS:{...this.data.infNFe.total.IBSCBSTot?.gIBS,gIBSMun:{...this.data.infNFe.total.IBSCBSTot?.gIBS?.gIBSMun},gIBSUF:{...this.data.infNFe.total.IBSCBSTot?.gIBS?.gIBSUF}},gMono:{...this.data.infNFe.total.IBSCBSTot?.gMono}},vNFTot:e.vNFTot}}transp(e){return this.data.infNFe.transp=e,this}cobr(e){return this.data.infNFe.cobr=e,this}pag(e){return this.data.infNFe.pag=e,this}infIntermed(e){return this.data.infNFe.infIntermed=e,this}infAdic(e){return this.data.infNFe.infAdic=e,this}exporta(e){return this.data.infNFe.exporta=e,this}compra(e){return this.data.infNFe.compra=e,this}cana(e){return this.data.infNFe.cana=e,this}infRespTec(e){return this.data.infNFe.infRespTec=e,this}infSolicNFF(e){return this.data.infNFe.infSolicNFF=e,this}quiet(){return Reflect.deleteMetadata(Po,this),this}toObject(){if(this.$data!==void 0)return gr(this.$data);let e=this.errors();return e?Xr(new fr(e.join(", "))):(this.$total?.aggregate(),this.assertHomologValidations(),this.assertContingencyModes(),this.fillAccessKeyIfEmpty(),this.$data=_w(this.data,this.entity,{clearEmptyValues:!0}),gr(this.$data))}async assemble(){let e=this.toObject();return e.isLeft()?e:gr(await this.builder.build(e.value,{rootName:this.root}))}assertHomologValidations(){return this.data.infNFe.ide.tpAmb!==qe.Homolog?!1:(this.data.infNFe.dest&&(this.data.infNFe.dest.xNome="NF-E EMITIDA EM AMBIENTE DE HOMOLOGACAO - SEM VALOR FISCAL"),!0)}assertContingencyModes(){if(this.contingency===void 0)return this.automaticallyInferContingencyMode();this.data.infNFe.ide.dhCont??=this.contingency.dhCont,this.data.infNFe.ide.xJust??=this.contingency.xJust;let{cUF:e,tpEmis:t}=this.data.infNFe.ide;if(t!==ha.Normal)return;switch(b_[e]){case"SVCAN":return this.data.infNFe.ide.tpEmis=ha.SVCAN,void 0;case"SVCRS":return this.data.infNFe.ide.tpEmis=ha.SVCRS,void 0}}automaticallyInferContingencyMode(){let{xJust:e,dhCont:t,tpEmis:n}=this.data.infNFe.ide;if(!(!e&&!t&&n===ha.Normal))return this.contingency={xJust:e??"SEFAZ fora do Ar",dhCont:t??new Date().toISOString()},this.assertContingencyModes()}errors(){return Reflect.getMetadata(Po,this)}collect(e){let t=Reflect.getMetadata(Po,e);if(!t)return;let n=this.errors();Reflect.defineMetadata(Po,(n??[]).concat(t),this)}fillAccessKeyIfEmpty(){if(this.data.infNFe.$.Id)return;let e=new R2().compile({cUF:this.data.infNFe.ide.cUF,year:this.data.infNFe.ide.dhEmi.substring(2,4),month:this.data.infNFe.ide.dhEmi.substring(5,7),identification:this.data.infNFe.emit.CPF??this.data.infNFe.emit.CNPJ,mod:this.data.infNFe.ide.mod,serie:this.data.infNFe.ide.serie,nNF:this.data.infNFe.ide.nNF,tpEmis:this.data.infNFe.ide.tpEmis,cNF:this.data.infNFe.ide.cNF});this.data.infNFe.ide.cDV=e.slice(-1),this.data.infNFe.$={Id:`${this.root}${e}`,versao:this.data.infNFe.$.versao}}};is([Ht(ny),Nt("design:type",Function),Nt("design:paramtypes",[typeof IInfNFeAttributes>"u"?Object:IInfNFeAttributes]),Nt("design:returntype",void 0)],Fn.prototype,"infNFe",null);is([Ht(sn),Nt("design:type",Function),Nt("design:paramtypes",[typeof IIde>"u"?Object:IIde]),Nt("design:returntype",void 0)],Fn.prototype,"ide",null);is([Ht(xs),Nt("design:type",Function),Nt("design:paramtypes",[typeof IEmit>"u"?Object:IEmit]),Nt("design:returntype",void 0)],Fn.prototype,"emit",null);is([Ht($s),Nt("design:type",Function),Nt("design:paramtypes",[typeof IAvulsa>"u"?Object:IAvulsa]),Nt("design:returntype",void 0)],Fn.prototype,"avulsa",null);is([Ht(ws),Nt("design:type",Function),Nt("design:paramtypes",[typeof IDest>"u"?Object:IDest]),Nt("design:returntype",void 0)],Fn.prototype,"dest",null);is([Ht(Pn),Nt("design:type",Function),Nt("design:paramtypes",[typeof ILocal>"u"?Object:ILocal]),Nt("design:returntype",void 0)],Fn.prototype,"retirada",null);is([Ht(Pn),Nt("design:type",Function),Nt("design:paramtypes",[typeof ILocal>"u"?Object:ILocal]),Nt("design:returntype",void 0)],Fn.prototype,"entrega",null);is([Ht(cf),Nt("design:type",Function),Nt("design:paramtypes",[typeof IAutXML>"u"?Object:IAutXML]),Nt("design:returntype",void 0)],Fn.prototype,"autXML",null);is([Ht(qc),Nt("design:type",Function),Nt("design:paramtypes",[typeof ITotal>"u"?Object:ITotal]),Nt("design:returntype",void 0)],Fn.prototype,"total",null);is([Ht(ya),Nt("design:type",Function),Nt("design:paramtypes",[typeof ITransp>"u"?Object:ITransp]),Nt("design:returntype",void 0)],Fn.prototype,"transp",null);is([Ht(qm),Nt("design:type",Function),Nt("design:paramtypes",[typeof ICobr>"u"?Object:ICobr]),Nt("design:returntype",void 0)],Fn.prototype,"cobr",null);is([Ht(Hm),Nt("design:type",Function),Nt("design:paramtypes",[typeof IPag>"u"?Object:IPag]),Nt("design:returntype",void 0)],Fn.prototype,"pag",null);is([Ht(Fm),Nt("design:type",Function),Nt("design:paramtypes",[typeof IInfIntermed>"u"?Object:IInfIntermed]),Nt("design:returntype",void 0)],Fn.prototype,"infIntermed",null);is([Ht(Hc),Nt("design:type",Function),Nt("design:paramtypes",[typeof IInfAdic>"u"?Object:IInfAdic]),Nt("design:returntype",void 0)],Fn.prototype,"infAdic",null);is([Ht(zp),Nt("design:type",Function),Nt("design:paramtypes",[typeof IExporta>"u"?Object:IExporta]),Nt("design:returntype",void 0)],Fn.prototype,"exporta",null);is([Ht(Kp),Nt("design:type",Function),Nt("design:paramtypes",[typeof ICompra>"u"?Object:ICompra]),Nt("design:returntype",void 0)],Fn.prototype,"compra",null);is([Ht(Sa),Nt("design:type",Function),Nt("design:paramtypes",[typeof ICana>"u"?Object:ICana]),Nt("design:returntype",void 0)],Fn.prototype,"cana",null);is([Ht(qu),Nt("design:type",Function),Nt("design:paramtypes",[typeof IInfRespTec>"u"?Object:IInfRespTec]),Nt("design:returntype",void 0)],Fn.prototype,"infRespTec",null);is([Ht(ry),Nt("design:type",Function),Nt("design:paramtypes",[typeof ISolicNFF>"u"?Object:ISolicNFF]),Nt("design:returntype",void 0)],Fn.prototype,"infSolicNFF",null);var mI=class extends ux{static{o(this,"NfeXmlBuilderPipeline")}certificate;schema;builder=Fn.create(this.toolkit);constructor(e,t="PL_009_V4"){super(e),this.certificate=e,this.schema=t}build(e){return e(this.builder),this}async assemble(){let e=await this.builder.assemble();return e.isLeft()?e:this.assertXmlSignedAndValidated(e.value)}get nfeXsdSchema(){return nse.default.resolve(T2(),this.schema,"nfe_v4.00.xsd")}async assertXmlSignedAndValidated(e){if(!this.certificate)return gr(e);let t=await this.signXmlString(e);return t.isLeft()?t:this.validateXmlString(t.value)}async signXmlString(e){if(!this.certificate)return gr(e);let t=await this.certificates.read(this.certificate);return t.isLeft()?t:this.xmlSigner.sign(e,{tag:"infNFe",mark:"Id"},t.value)}async validateXmlString(e){let t=await this.toolkit.validate(e,this.nfeXsdSchema);return t.isLeft()?t:gr(e)}};var X_=require("class-transformer"),Ao=require("class-validator");var _U=require("class-validator");function ise(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(ise,"_ts_decorate");function sse(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(sse,"_ts_metadata");var Jx=class{static{o(this,"InfNFeSupl")}qrCode;urlChave};ise([(0,_U.IsString)(),sse("design:type",String)],Jx.prototype,"qrCode",void 0);ise([(0,_U.IsString)(),sse("design:type",String)],Jx.prototype,"urlChave",void 0);function K_(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(K_,"_ts_decorate");function G_(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(G_,"_ts_metadata");var Tf=class{static{o(this,"NFCe")}$;infNFe;infNFeSupl;Signature};K_([(0,Ao.IsObject)(),(0,Ao.IsNotEmptyObject)(),(0,X_.Type)(()=>Wx),(0,Ao.ValidateNested)(),G_("design:type",typeof INFeAttributes>"u"?Object:INFeAttributes)],Tf.prototype,"$",void 0);K_([(0,Ao.IsObject)(),(0,Ao.IsNotEmptyObject)(),(0,X_.Type)(()=>Ln),(0,Ao.ValidateNested)(),G_("design:type",typeof IInfNFe>"u"?Object:IInfNFe)],Tf.prototype,"infNFe",void 0);K_([(0,Ao.IsObject)(),(0,Ao.IsNotEmptyObject)(),(0,X_.Type)(()=>Jx),(0,Ao.ValidateNested)(),G_("design:type",typeof IInfNFeSupl>"u"?Object:IInfNFeSupl)],Tf.prototype,"infNFeSupl",void 0);K_([(0,Ao.Allow)(),G_("design:type",typeof Signature>"u"?Object:Signature)],Tf.prototype,"Signature",void 0);var gI=class extends Fn{static{o(this,"NfceXmlBuilder")}data={$:{xmlns:"http://www.portalfiscal.inf.br/nfe"},infNFe:{total:{ICMSTot:{}}}};get entity(){return Tf}static create(e,t,n="PL_009_V4"){return new this(e,t,n)}assertHomologValidations(){return super.assertHomologValidations()?(this.data.infNFe.det[0].prod.xProd="NOTA FISCAL EMITIDA EM AMBIENTE DE HOMOLOGACAO - SEM VALOR FISCAL",!0):!1}assertContingencyModes(){if(this.contingency===void 0)return this.automaticallyInferContingencyMode();this.data.infNFe.ide.dhCont??=this.contingency.dhCont,this.data.infNFe.ide.xJust??=this.contingency.xJust;let{tpEmis:e}=this.data.infNFe.ide;if(e===ha.Normal)return this.data.infNFe.ide.tpEmis=ha.OFFLINE,void 0}};var LU=class extends mI{static{o(this,"NfceXmlBuilderPipeline")}options;nfceQrcode=new Jo(this.certificates);transmitter=new yo(this.soap,this.nfceQrcode);constructor(e,t="PL_009_V4",n){super(e,t),this.options=n}builder=gI.create(this.toolkit,void 0,this.schema);async assertXmlSignedAndValidated(e){let t=await super.assertXmlSignedAndValidated(e);if(t.isLeft()||!this.options?.qrCode)return t;if(!this.certificate)return Xr(new fr("Certificate is required to assemble NFCe XML with QR Code"));let n=t.value,i=await this.toolkit.parse(n),s=await this.generateQrCode(i,this.options,this.certificate);if(s.isLeft())return s;let a=await this.toolkit.build(s.value,{rootName:"infNFeSupl"}),u=this.toolkit.insertBefore(n,"Signature",a);return gr(u)}async generateQrCode(e,t,n){let i=this.transmitter.service({cUF:e.infNFe.ide.cUF,tpAmb:e.infNFe.ide.tpAmb,service:"NfeConsultaQR"}),s={...t.qrCode};switch(s.version??=i.version,s.version){case"200":return await this.nfceQrcode.execute(e,{version:s.version,urlConsult:this.transmitter.getUrlConsult(e),urlService:i.url,CSC:s.CSC,CSCId:s.CSCId});case"300":{let a=await this.certificates.read(n);return a.isLeft()?a:await this.nfceQrcode.execute(e,{version:s.version,certificate:a.value,urlConsult:this.transmitter.getUrlConsult(e),urlService:i.url})}default:return w0(s.version)}}};var ase="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAg0AAAFXCAYAAAAh5X2YAAAgAElEQVR4nOy9e5xdZX3v//7sDENMY0zTNCcnJ+XQlEORw0TkRzkUYSCZaKkSBrwEa8XLD5tgBtA2M6HUenxZj1Umk1pJhpLUS71Uy2gp4WK9ZAJM1HootZpYDz9+/CylkQaIiCHEECbz/f2xnmettffc9mWtfZl53jDZa6/P2mt/n2evtZ7v831uIhCokN7d+9qRFgAL3d98jIWGLUJaLOOXEEsMu31r18qvNtjcQCAQCGSEGm1AoP5sGt7fJmw+aIGZzZc032C+YDGwEGMhspeBFgGLgIWGLRBaDCwyrF2oALQBBaBgUPAXk2EACB017O1bu1Z+uQHJDAQCgUDGBKehhekd3t8OzPMFPzCfqJBfDCzG7JeAhSYtBluEsRixEDQfrA2jHdEOtGG0ASCBK/Rj/NvqtMOS1g50dYxkkeZAIBAINI7gNDQZm3bvL4DNkzTfzOYDy4SWIZYB/wlYitlipKVEUYG5iLkY89zrxL+qOaEx2hNmtmrrmpWPTJf+QCAQCDQvwWloML3D+xaYcaGkc4D/DpwKLImaCFhIFP6fCXzP4NVbuzoONdqQQCAQCFRHcBoaSO/w/vlm3Ad2rqS4LwAmkMXR/hmk3SV01UBXx7Hac681uGLPxwH5vh9twDyMRSjqKwLMI2pSwmChoN3l2didXTd8tDFWBwKBwMS0NdqAWc4bEefK+W7xv4peLRX5nyHa5WZ8uHd4f99AV8dYhXnV1Fyx55Z2jOWGrZB0CvBfDZabsUxiCbDYYLGweaSdK6K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JQ7EbaFhRXohPAZ2xK6WMxIiiBXlQNfkbytfAUDIvRrX3jyoD6F3TvlXQDn4gmhMdAg8LhgTbiYMli/nsD4AbgF0yI+ARSQdsFww3Aa9F75GD0hA4aQlRPYETiu7+lZlp/PaD0zK/XXvhm1+Z0ZQZKedkiG31OOW+qJIlJynStSeSCL5jI3sZuPjchccju2Q9cUzBImCGYb+grmZEg3vmGBbFpw521paOHv+z+wAtxixCHgQNFPPZceeOmCpyhdJ024skTbfZK7GrtvJlrlCajjnfcrPQ1mI++9po7QUCJxtBaQickPz0lbefPeuU//gi6NKythBT8YFHP5VD6Vw5eRGh8rVTL9MQ+J3nLtw8ocJIgUAg8HoiuCcCJyQXn/XPLxv9AfhD0dE5V05M1JyySGRlV0X56GSSuOkYyPDtRkFhCAQCb2iCpSFwwjOwfeksSR+2uVFicdo9keBylsho558uglR2YUyNbMTwOcynliw6XtUyA4FA4NgQlIbA64YtO1pnAVfbvklwPlJLteOiQvJ6tStj0mWv2r4T8dCShZuDwhAIBN7wBKUh8LpjYEdrk+xzkN4PdNheDKpJmxxZI5L4yEmUHTC8LLvH8NiSRZtDkFwgEDhpCEpD4HXNwI6lGaGzsLNIFwMXAfNsWiQyaftA5SsNXquR2SNIh8AHQVsxLyB+CmwCdh6rSpiBQCBwIhGUhsAbii07WrGZI/lsw2JgIWa+pDnALOyoaFEcq2AzIrEPOIC9B9iN9H+AndjbLe1asjDEKgQCgQDA/wf59f5AwcXxcQAAAABJRU5ErkJggg==";var Yx=class r{static{o(this,"Header")}context;static _instance;static instance(e){return this._instance??=new r(e)}constructor(e){this.context=e}get builder(){return this.context.builder}emit(e){let{left:t,right:n}=this.builder.pageMargins(),i=e?.x??t,s=this.context.data.infNFe.emit,{enderEmit:a}=s,{xNome:u}=s,c=this.context.defaults.font,l=`${c}-Bold`,p="left";this.builder.row({left:i,right:n},h=>this.builder.text(this.identification(s),{...h,continued:!0,align:p}).font(l).text(` ${u}`,{...h,align:p}).font(c)).row({left:i,right:n},h=>this.builder.text(this.addressLine1(a),{...h,continued:!0,align:p}).text(this.addressLine2(a),{...h,continued:!0,align:p}).text(this.addressLine3(a),{...h,align:p})).row({left:i,right:n},h=>this.builder.text(this.addressLine4(a),{...h,align:p}))}identification(e){let t=this.cpfOrCnpj(e),n=e.IE.length?` IE: ${e.IE}`:"";return`${t}${n}`}cpfOrCnpj(e){let{CNPJ:t,CPF:n}=e;return t?.length===14?`CNPJ ${t.replace(/(\d{2})(\d{3})(\d{3})(\d{4})(\d{2})/,"$1.$2.$3/$4-$5")}`:n?.length===11?`CPF ${n.replace(/(\d{3})(\d{3})(\d{3})(\d{2})/,"$1.$2.$3-$4")}`:""}addressLine1(e){let{xLgr:t,nro:n}=e;return`${t}, ${n}`}addressLine2(e){let{xBairro:t}=e;return`, ${t}`}addressLine3(e){let{xMun:t,UF:n}=e;return`, ${t} - ${n}`}addressLine4(e){let{fone:t}=e;return t?`Fone: ${t.replace(/(\d{2})(\d{4,5})(\d{4})/,"($1) $2-$3")}`:""}staticTexts(){let{left:e,right:t}=this.builder.pageMargins();this.builder.moveDown(.5).fontSize(this.context.options.titleFontSize).row({left:e,right:t},n=>this.builder.text("Documento Auxiliar da Nota Fiscal de Consumidor Eletr\xF4nica",{...n,align:"center"})).row({left:e,right:t},n=>this.builder.text("N\xE3o permite aproveitamento de cr\xE9dito de ICMS",{...n,align:"center"}))}get logo(){let{logo:e,ignoreDefaultLogo:t}=this.context.options;if(e)return e;if(!t)return ase}setup(){this.builder.font(this.context.defaults.font,this.context.options.textFontSize)}build(){return this.setup(),this.emit(),this.staticTexts(),this.builder}end(){r._instance=void 0}};var Eh=class r{static{o(this,"FiscalMessages")}context;static _instance;constants={issuedInContingency:"EMITIDA EM CONTING\xCANCIA",pendingOfAuthorization:"Pendente de autoriza\xE7\xE3o",notProtocoledInNormalEmission:"PENDENTE DE AUTORIZA\xC7\xC3O - SEM VALOR FISCAL"};static instance(e){return this._instance??=new r(e)}constructor(e){this.context=e}get builder(){return this.context.builder}get contingencyBannerText(){return`${this.constants.issuedInContingency}
133
133
  ${this.constants.pendingOfAuthorization}`}get hasContingency(){let{tpEmis:e}=this.context.data.infNFe.ide;return e!==ha.Normal}get hasNotProtocoledInNormalEmission(){return!this.hasContingency&&!this.context.protNFe}contingency(e){if(!this.hasContingency)return;let t=e?.x??0;this.builder.row({left:t},n=>this.builder.text(this.contingencyBannerText,{...n,align:"center"}))}notProtocoledInNormalEmission(e){if(!this.hasNotProtocoledInNormalEmission)return;let t=e?.x??0;this.builder.row({left:t},n=>this.builder.text(this.constants.notProtocoledInNormalEmission,{...n,align:"center"}))}build(e){return this.setup(),this.builder.moveDown(.5),this.contingency(e),this.notProtocoledInNormalEmission(e),this.builder}setup(){let e=this.context.defaults.font,t=`${e}-Bold`;this.builder.font(t,this.context.options.titleFontSize)}end(){r._instance=void 0}height(){this.setup();let e=[.5],{left:t,right:n}=this.builder.pageMargins(),i=this.builder.pageWidth()-t-n;return this.hasContingency&&e.push(this.builder.heightOfString(this.contingencyBannerText,{width:i,align:"center"})),this.hasNotProtocoledInNormalEmission&&e.push(this.builder.heightOfString(this.constants.notProtocoledInNormalEmission,{width:i,align:"center"})),e.reduce((s,a)=>s+a,0)}};var Qx=class r{static{o(this,"HomologMessage")}context;static _instance;constants={withoutFiscalValue:"EMITIDA EM AMBIENTE DE HOMOLOGA\xC7\xC3O \u2013 SEM VALOR FISCAL"};static instance(e){return this._instance??=new r(e)}constructor(e){this.context=e}get builder(){return this.context.builder}get hasHomologMessage(){let{tpAmb:e}=this.context.data.infNFe.ide;return e!==qe.Production}withHomologMessage(){if(!this.hasHomologMessage)return;let{left:e}=this.builder.pageMargins();this.builder.text(this.constants.withoutFiscalValue,{x:e,align:"center"})}build(){return this.setup(),this.builder.moveDown(.5),this.withHomologMessage(),this.builder.font(this.context.defaults.font),this.builder}setup(){let e=this.context.defaults.font,t=`${e}-Bold`;this.builder.font(t,this.context.options.titleFontSize)}end(){r._instance=void 0}height(){if(!this.hasHomologMessage)return 0;this.setup();let{left:e,right:t}=this.builder.pageMargins();return this.builder.heightOfString(this.constants.withoutFiscalValue,{width:this.builder.pageWidth()-e-t,align:"center"})}};var W_=class r{static{o(this,"Items")}context;static _instance;static instance(e){return this._instance??=new r(e)}constructor(e){this.context=e}get builder(){return this.context.builder}get columnStyles(){return[15,32,60,"*","*","*","*"]}get rowStyles(){return{border:!1}}get defaultStyle(){return{padding:{top:1,bottom:1,left:0,right:0}}}get headers(){let e={src:`${this.context.defaults.font}-Bold`};return[{font:e,text:"#"},{font:e,text:"cod."},{font:e,text:"descri\xE7\xE3o"},{font:e,align:{x:"right"},text:"qtde"},{font:e,align:{x:"right"},text:"unit."},{font:e,align:{x:"right"},text:"desc."},{font:e,align:{x:"right"},text:"total"}]}item(e){let{prod:t,$:{nItem:n}}=e,{cProd:i,xProd:s,qCom:a,uCom:u,vUnCom:c,vDesc:l,vProd:p}=t,h={size:this.context.options.textFontSize},g={font:h,text:n.padStart(3,"0")},y={font:h,text:i},v=[{font:h,align:{x:"right"},text:`${this.context.currency(a,4)} ${u}`},{font:h,align:{x:"right"},text:this.context.currency(c,10)},{font:h,align:{x:"right"},text:this.context.currency(l??0)},{font:h,align:{x:"right"},text:this.context.currency(p)}],b=this.builder.widthOfString(i),S=this.columnStyles[1];if(b>=S)return[[g,{colSpan:6,font:h,text:`${i} ${s}`}],[{colSpan:3},...v]];let A=this.builder.widthOfString(s),D=this.columnStyles[2];if(A>=D)return[[g,y,{colSpan:5,font:h,text:s}],[{colSpan:3},...v]];let C=this.getFirstLineWidth();return this.builder.widthOfString(`${i} ${s}`)<=C?[[g,y,{font:h,text:s},...v]]:[[g,y,{colSpan:5,font:h,text:s}],[{colSpan:3},...v]]}items(){let{det:e}=this.context.data.infNFe,t=Array.isArray(e)?e:[e],{left:n}=this.builder.pageMargins();this.builder.table({position:{x:n},defaultStyle:this.defaultStyle,columnStyles:this.columnStyles,rowStyles:this.rowStyles,data:[this.headers,...t.reduce((i,s)=>i.concat(this.item(s)),[])]})}setup(){this.builder.font(this.context.defaults.font,this.context.options.textFontSize)}build(){return this.setup(),this.builder.moveDown(.5),this.items(),this.builder}end(){r._instance=void 0}getFirstLineWidth(){return this.columnStyles.slice(1,3).reduce((t,n)=>t+n,0)}getProportionalWidth(){let{left:e,right:t}=this.builder.pageMargins(),n=this.builder.pageWidth()-e-t,i=this.columnStyles.reduce((a,u)=>typeof u=="number"?a+u:a,0),s=this.columnStyles.filter(a=>a==="*").length;return(n-i)/s}getAvailableWidth(e,t){if(e.colSpan){let s=t.indexOf(e),a=this.columnStyles.slice(0,s).reduce((c,l)=>typeof l=="number"?c+l:c,0),u=this.getProportionalWidth()*e.colSpan;return a+u}let n=t.indexOf(e),i=this.columnStyles[n];return typeof i=="number"?i:this.getProportionalWidth()}calculateRowHeight(e,t){let n=t;for(let i of e){if(!i.text)continue;let s=i.text,a=this.builder.widthOfString(s),u=this.getAvailableWidth(i,e),c=a<=u?t:this.builder.heightOfString(s,{width:u});n=Math.max(n,c)}return n}height(){this.setup();let{det:e}=this.context.data.infNFe,t=Array.isArray(e)?e:[e],n=this.builder.currentLineHeight(),i=n*1.2,s=n*.5,a=n*.5,u=t.reduce((l,p)=>{let h=this.item(p),[g]=h,y=this.calculateRowHeight(g,n),v=0;if(h.length>1){let C=this.calculateRowHeight(h[1],n);v=Math.max(n,C)}let{top:b,bottom:S}=this.defaultStyle.padding,A=b+S,D=h.length>1?n*.2:0;return l+y+v+h.length*A+D},0),c=n*2;return s+i+a+u+c}};var $x=class r{static{o(this,"Totals")}context;static _instance;static instance(e){return this._instance??=new r(e)}constructor(e){this.context=e}get builder(){return this.context.builder}count(){let{det:e}=this.context.data.infNFe,t=Array.isArray(e)?e:[e],{left:n,right:i}=this.builder.pageMargins();this.builder.row({columns:2,left:n,right:i},s=>this.builder.text("Qtde. Total de Itens",{...s}),s=>this.builder.text(`${t.length}`,{...s,align:"right"}))}totalizers(){let{vProd:e,vDesc:t,vFrete:n,vSeg:i,vOutro:s}=this.context.data.infNFe.total.ICMSTot,{vServ:a}=this.context.data.infNFe.total.ISSQNtot??{};this.conditionalRowValue("Valor Total R$",new $r(e).add(a??0).toNumber()),this.conditionalRowValue("Desconto total R$",t,"-"),this.conditionalRowValue("Frete total R$",n),this.conditionalRowValue("Seguro total R$",i),this.conditionalRowValue("Outras despesas total R$",s)}total(){let{vNF:e}=this.context.data.infNFe.total.ICMSTot,t=this.context.defaults.font,n=`${t}-Bold`,{left:i,right:s}=this.builder.pageMargins();this.builder.font(n).fontSize(this.context.options.titleFontSize).row({columns:2,left:i,right:s},a=>this.builder.text("Valor a Pagar R$",{...a,align:"left"}),a=>this.builder.text(this.context.currency(e),{...a,align:"right"})).font(t)}conditionalRowValue(e,t,n=""){if(!t||!Number.parseFloat(t.toString()))return;t=this.context.currency(t);let{left:i,right:s}=this.builder.pageMargins();this.builder.row({columns:2,left:i,right:s},a=>this.builder.text(e,{...a,align:"left"}),a=>this.builder.text(`${n}${t}`,{...a,align:"right"}))}setup(){this.builder.font(this.context.defaults.font,this.context.options.textFontSize)}build(){return this.setup(),this.builder.moveDown(.5),this.count(),this.totalizers(),this.total(),this.builder}end(){r._instance=void 0}};var zi={Dinheiro:"01",Cheque:"02",CartaoDeCredito:"03",CartaoDeDebito:"04",CartaoDaLoja:"05",ValeAlimentacao:"10",ValeRefeicao:"11",ValePresente:"12",ValeCombustivel:"13",BoletoBancario:"15",DepositoBancario:"16",PIXDinamico:"17",TransferenciaBancaria:"18",ProgramaFidelidade:"19",PIXEstatico:"20",CreditoEmLoja:"21",PagamentoNaoInformado:"22",SemPagamento:"90",PagamentoPosterior:"91",Outros:"99"},ose={[zi.Dinheiro]:"Dinheiro",[zi.Cheque]:"Cheque",[zi.CartaoDeCredito]:"Cart\xE3o de Cr\xE9dito",[zi.CartaoDeDebito]:"Cart\xE3o de D\xE9bito",[zi.CartaoDaLoja]:"Cart\xE3o da Loja/Outros Credi\xE1rios",[zi.ValeAlimentacao]:"Vale Alimenta\xE7\xE3o",[zi.ValeRefeicao]:"Vale Refei\xE7\xE3o",[zi.ValePresente]:"Vale Presente",[zi.ValeCombustivel]:"Vale Combust\xEDvel",[zi.BoletoBancario]:"Boleto Banc\xE1rio",[zi.DepositoBancario]:"Dep\xF3sito Banc\xE1rio",[zi.PIXDinamico]:"Pagamento Instant\xE2neo (PIX) - Din\xE2mico",[zi.TransferenciaBancaria]:"Transfer\xEAncia banc\xE1ria, Carteira Digital",[zi.ProgramaFidelidade]:"Programa fidelidade, Cashback, Cr\xE9d Virt",[zi.PIXEstatico]:"Pagamento Instant\xE2neo (PIX) - Est\xE1tico",[zi.CreditoEmLoja]:"Cr\xE9dito em Loja",[zi.PagamentoNaoInformado]:"Pagamento Eletr\xF4nico n\xE3o Informado - falha de hardware do sistema emissor",[zi.SemPagamento]:"Sem pagamento",[zi.PagamentoPosterior]:"Pagamento Posterior",[zi.Outros]:"Outros"};var Zx=class r{static{o(this,"Payments")}context;static _instance;static instance(e){return this._instance??=new r(e)}constructor(e){this.context=e}get builder(){return this.context.builder}payment(e){let{tPag:t,vPag:n}=e,{left:i,right:s}=this.builder.pageMargins();this.builder.row({columns:2,left:i,right:s},a=>this.builder.text(ose[t],{...a,align:"left"}),a=>this.builder.text(this.context.currency(n),{...a,align:"right"}))}payments(){let{pag:e}=this.context.data.infNFe,t=Array.isArray(e.detPag)?e.detPag:[e.detPag];if(t.length===0)return;let{left:n,right:i}=this.builder.pageMargins();this.builder.row({columns:2,left:n,right:i},s=>this.builder.text("Forma de Pagamento",{...s,align:"left"}),s=>this.builder.text("Valor pago R$",{...s,align:"right"})),t.forEach(s=>this.payment(s))}change(){let{vTroco:e}=this.context.data.infNFe.pag;if(!this.context.isValueNotEmpty(e))return;let{left:t,right:n}=this.builder.pageMargins();this.builder.moveDown(.5).row({columns:2,left:t,right:n},i=>this.builder.text("Troco R$",{...i,align:"left"}),i=>this.builder.text(this.context.currency(e),{...i,align:"right"}))}setup(){this.builder.font(this.context.defaults.font,this.context.options.textFontSize)}build(){return this.setup(),this.builder.moveDown(.5),this.payments(),this.change(),this.builder}end(){r._instance=void 0}height(){this.setup();let{pag:{vTroco:e,detPag:t}}=this.context.data.infNFe,n=Array.isArray(t)?t:[t],i=this.context.isValueNotEmpty(e)?this.builder.currentLineHeight()+.5:0;return this.builder.currentLineHeight()*n.length-1+i}};var ew=class r{static{o(this,"AccessKey")}context;static _instance;static instance(e){return this._instance??=new r(e)}constructor(e){this.context=e}get builder(){return this.context.builder}statics(){let{left:e,right:t}=this.builder.pageMargins(),n=this.context.defaults.font,i=`${n}-Bold`;this.builder.font(i).row({left:e,right:t},s=>this.builder.text("Consulte pela Chave de Acesso em",{...s,align:"center"})).font(n)}url(){let{urlChave:e}=this.context.data.infNFeSupl??{},{left:t,right:n}=this.builder.pageMargins();this.builder.row({left:t,right:n},i=>this.builder.text(e??"",{...i,link:e,align:"center"}))}accessKey(){let{Id:e}=this.context.data.infNFe.$;if(!e)return;this.builder.moveDown(.5);let t=e.substring(3).replace(/(.{4})/g,"$1 ").trim(),{left:n,right:i}=this.builder.pageMargins();this.builder.row({left:n,right:i},s=>this.builder.text(t,{...s,align:"center"}))}setup(){this.builder.font(this.context.defaults.font,this.context.options.titleFontSize)}build(){return this.builder.moveDown(.5),this.statics(),this.url(),this.accessKey(),this.builder}end(){r._instance=void 0}};var voe=lr(goe(),1);var c4=class r{static{o(this,"QRCode")}context;static _instance;defaults={qrSize:65};qrCodeSvg;static instance(e){return this._instance??=new r(e)}constructor(e){this.context=e}get builder(){return this.context.builder}async getQrSvgString(e){try{return await voe.toString(e,{margin:0,type:"svg",errorCorrectionLevel:"M",color:{dark:"#000000",light:"#FFFFFF"}})}catch(t){return console.error("Error generating QR code:",t),""}}drawQrCode(){if(!this.qrCodeSvg)return;let e=this.qrCodeSvg.$.viewBox,[,,t,n]=e.split(" ").map(Number),{qrSize:i}=this.defaults,s=i/t,a=i/n,u=Array.isArray(this.qrCodeSvg.path)?this.qrCodeSvg.path:[this.qrCodeSvg.path],{left:c}=this.builder.pageMargins();this.builder.save().translate(c,this.builder.y()).scale(s,a),u.forEach(l=>{this.builder.path(l.$.d),l.$.fill&&this.builder.fill(l.$.fill),l.$.stroke&&this.builder.stroke(l.$.stroke)}),this.builder.restore()}async make(){let{qrCode:e}=this.context.data.infNFeSupl??{};if(!e)return this.builder;let t=await this.getQrSvgString(e);this.qrCodeSvg=await this.context.toolkit.parse(t)}setup(){this.builder.font(this.context.defaults.font,this.context.options.textFontSize)}async build(){return await this.make(),this.setup(),this.builder.moveDown(.5),this.drawQrCode(),this.builder}end(){r._instance=void 0}height(){return this.setup(),this.defaults.qrSize+.5}};var l4=class r{static{o(this,"Recipient")}context;static _instance;static instance(e){return this._instance??=new r(e)}constructor(e){this.context=e}get builder(){return this.context.builder}unknown(e){let{left:t,right:n}=this.builder.pageMargins(),i=this.context.defaults.font,s=`${i}-Bold`;this.builder.row({left:e?.x??t,right:n},a=>this.builder.font(s).text("CONSUMIDOR N\xC3O IDENTIFICADO",{...a,align:"center"}).font(i))}identification(e){let{CNPJ:t,CPF:n,idEstrangeiro:i}=e;return t?.length===14?`CNPJ: ${t.replace(/(\d{2})(\d{3})(\d{3})(\d{4})(\d{2})/,"$1.$2.$3/$4-$5")}`:n?.length===11?`CPF: ${n.replace(/(\d{3})(\d{3})(\d{3})(\d{2})/,"$1.$2.$3-$4")}`:i?.length?`Id. Estrangeiro: ${i}`:""}dest(e){let{dest:t}=this.context.data.infNFe;if(!t)return this.unknown(e);let{left:n,right:i}=this.builder.pageMargins(),s=this.identification(t),{xNome:a,enderDest:u}=t,c=this.addressLine(u),l=this.context.defaults.font,p=`${l}-Bold`;this.builder.row({left:e?.x??n,right:i},h=>this.builder.font(p).text(`CONSUMIDOR - ${s}`,{...h,align:"center"}).font(l)).row({left:e?.x??n,right:i},h=>this.builder.text(`${a}${c}`,{...h,align:"center"}))}addressLine(e){if(!e)return"";let{xLgr:t,nro:n,xBairro:i,xCpl:s,xMun:a,UF:u,CEP:c}=e;if(!t||!c)return"";let l=s?`, ${s}`:"";return` - Rua ${t}, ${n}, ${i}${l}, ${a} - ${u}`}addressLine2(e){let{xBairro:t,xCpl:n}=e,i=n?` - ${n}`:"";return`${t}${i}`}setup(){this.builder.font(this.context.defaults.font,this.context.options.textFontSize)}build(e){return this.setup(),this.builder.moveDown(.5),this.dest(e),this.builder}end(){r._instance=void 0}height(){let{dest:e}=this.context.data.infNFe;if(!e)return 0;this.setup();let{xNome:t,enderDest:n}=e,i=this.addressLine(n),{left:s,right:a}=this.builder.pageMargins(),u=this.builder.pageWidth()-s-a;return this.builder.fontSize(this.context.options.textFontSize),this.builder.heightOfString(`${t}${i}`,{align:"center",width:u})}};var f4=class r{static{o(this,"Protocols")}context;static _instance;static instance(e){return this._instance??=new r(e)}constructor(e){this.context=e}get builder(){return this.context.builder}isProtocoled(e){return!!e}protocol(e){let t=this.context.protNFe;return this.isProtocoled(t)?this.protocoled(t.infProt,e):this.unprotocoled()}unprotocoled(){}metadata(e){let{nNF:t,serie:n,dhEmi:i}=this.context.data.infNFe.ide,s=t.padStart(9,"0"),a=n.padStart(3,"0"),{left:u,right:c}=this.builder.pageMargins(),{cUF:l}=this.context.data.infNFe.ide,p=O3[l],h=I2(i).tz(p).format("DD/MM/YYYY HH:mm:ss"),g=this.context.defaults.font,y=`${g}-Bold`;this.builder.row({left:e?.x??u,right:c},v=>this.builder.font(y).text(`NFC-e n\xBA ${s} - s\xE9rie ${a} emitida em: ${h}`,{...v,align:"center"}).font(g))}protocoled(e,t){let{dhRecbto:n,nProt:i}=e,{left:s,right:a}=this.builder.pageMargins(),{cUF:u}=this.context.data.infNFe.ide,c=O3[u],l=i.replace(/([0-9]{3})([0-9]{10})(.*)/g,"$1 $2 $3"),p=I2(n).tz(c).format("DD/MM/YYYY HH:mm:ss");this.builder.row({left:t?.x??s,right:a},h=>this.builder.text(`Protocolo de autoriza\xE7\xE3o: ${l}
134
134
  Data de autoriza\xE7\xE3o: ${p}`,{...h,align:"center"}))}assemble(e){let{cMsg:t,xMsg:n}=this.context.protNFe?.infProt??{},{left:i,right:s}=this.builder.pageMargins();return n&&this.builder.row({left:e?.x??i,right:s},a=>this.builder.text(`$(${t}) ${n}`,{...a,align:"left"})),this.protocol(e)}setup(){this.builder.font(this.context.defaults.font,this.context.options.textFontSize)}build(e){return this.setup(),this.builder.moveDown(.5),this.metadata(e),this.assemble(e),this.builder}end(){r._instance=void 0}};var p4=class r{static{o(this,"AggregateRecipientToProtocols")}context;static _instance;static instance(e){return this._instance??=new r(e)}constructor(e){this.context=e}get builders(){return[l4.instance(this.context),f4.instance(this.context),Eh.instance(this.context)]}get builder(){return this.context.builder}setup(){this.builder.font(this.context.defaults.font,this.context.options.textFontSize)}build(e){return this.setup(),this.builders.forEach(t=>t.build(e)),this.builder}end(){r._instance=void 0,this.builders.forEach(e=>e.end())}height(){return this.setup(),this.builders.reduce((e,t)=>t instanceof Eh?e:e+(t.height?.()??0),0)}};var cw=class r{static{o(this,"AggregateQrCodeToProtocols")}context;static _instance;static instance(e){return this._instance??=new r(e)}constructor(e){this.context=e}get builders(){return[c4.instance(this.context),p4.instance(this.context)]}setup(){this.builder.font(this.context.defaults.font,this.context.options.textFontSize)}get builder(){return this.context.builder}async build(){this.setup();let e=this.builders[0],t=this.builders[1],{left:n,right:i}=this.builder.pageMargins(),s=this.builder.y();await e.build();let a=this.builder.y();this.builder.row({columns:2,left:n,right:i,size:[4,8]},()=>this.builder,g=>t.build(g));let u=e.height(),c=s+u,l=t.height(),p=a+l,h=Math.max(c,p);this.builder.y()<h&&this.builder.text("",{y:h}),this.builder.moveDown(.5);for(let g of this.builders.slice(2))await g.build();return this.builder}end(){r._instance=void 0,this.builders.forEach(e=>e.end())}height(){return this.setup(),this.builders.reduce((e,t)=>e+t.height(),0)}};var m4e=.35277777777777775,N6=.75,yoe={"80mm":80/m4e},h4="gerado por github.com/nfets/nfets";var lw=class r{static{o(this,"Footer")}context;static _instance;constants={vTotTrib:"Tributos Totais Incidentes (Lei Federal 12.741/2012): R$"};static instance(e){return this._instance??=new r(e)}constructor(e){this.context=e}get builder(){return this.context.builder}vTotTrib(){let{vTotTrib:e}=this.context.data.infNFe.total.ICMSTot,{left:t,right:n}=this.builder.pageMargins(),i=!e||!Number.parseFloat(e.toString())?"-----":this.context.currency(e);this.builder.row({left:t,right:n},s=>this.builder.text(`${this.constants.vTotTrib} ${i}`,{...s,align:"center"}))}get infCplText(){return(this.context.data.infNFe.infAdic?.infCpl?.replace(/;/g,`
135
135
  `)??"").split(`