UNPKG

nfewizard-io

Version:

NFeWizard-io é uma biblioteca Node.js projetada para simplificar a interação com os webservices da SEFAZ, proporcionando uma solução robusta para automação de processos relacionados à Nota Fiscal Eletrônica (NF-e).

1 lines 4.49 MB
{"version":3,"file":"index.cjs","sources":["../../node_modules/xml2js/lib/defaults.js","../../node_modules/xmlbuilder/lib/Utility.js","../../node_modules/xmlbuilder/lib/XMLDOMImplementation.js","../../node_modules/xmlbuilder/lib/XMLDOMErrorHandler.js","../../node_modules/xmlbuilder/lib/XMLDOMStringList.js","../../node_modules/xmlbuilder/lib/XMLDOMConfiguration.js","../../node_modules/xmlbuilder/lib/NodeType.js","../../node_modules/xmlbuilder/lib/XMLAttribute.js","../../node_modules/xmlbuilder/lib/XMLNamedNodeMap.js","../../node_modules/xmlbuilder/lib/XMLElement.js","../../node_modules/xmlbuilder/lib/XMLCharacterData.js","../../node_modules/xmlbuilder/lib/XMLCData.js","../../node_modules/xmlbuilder/lib/XMLComment.js","../../node_modules/xmlbuilder/lib/XMLDeclaration.js","../../node_modules/xmlbuilder/lib/XMLDTDAttList.js","../../node_modules/xmlbuilder/lib/XMLDTDEntity.js","../../node_modules/xmlbuilder/lib/XMLDTDElement.js","../../node_modules/xmlbuilder/lib/XMLDTDNotation.js","../../node_modules/xmlbuilder/lib/XMLDocType.js","../../node_modules/xmlbuilder/lib/XMLRaw.js","../../node_modules/xmlbuilder/lib/XMLText.js","../../node_modules/xmlbuilder/lib/XMLProcessingInstruction.js","../../node_modules/xmlbuilder/lib/XMLDummy.js","../../node_modules/xmlbuilder/lib/XMLNodeList.js","../../node_modules/xmlbuilder/lib/DocumentPosition.js","../../node_modules/xmlbuilder/lib/XMLNode.js","../../node_modules/xmlbuilder/lib/XMLStringifier.js","../../node_modules/xmlbuilder/lib/WriterState.js","../../node_modules/xmlbuilder/lib/XMLWriterBase.js","../../node_modules/xmlbuilder/lib/XMLStringWriter.js","../../node_modules/xmlbuilder/lib/XMLDocument.js","../../node_modules/xmlbuilder/lib/XMLDocumentCB.js","../../node_modules/xmlbuilder/lib/XMLStreamWriter.js","../../node_modules/xml2js/lib/builder.js","../../node_modules/xmlbuilder/lib/index.js","../../node_modules/sax/lib/sax.js","../../node_modules/xml2js/lib/bom.js","../../node_modules/xml2js/lib/processors.js","../../node_modules/xml2js/lib/parser.js","../../node_modules/xml2js/lib/xml2js.js","../../node_modules/xpath/xpath.js","../../node_modules/@xmldom/xmldom/lib/conventions.js","../../node_modules/@xmldom/xmldom/lib/dom.js","../../node_modules/@xmldom/xmldom/lib/entities.js","../../node_modules/@xmldom/xmldom/lib/sax.js","../../node_modules/@xmldom/xmldom/lib/dom-parser.js","../../node_modules/@xmldom/is-dom-node/dist/index.js","../../node_modules/xml-crypto/lib/utils.js","../../node_modules/xml-crypto/lib/hash-algorithms.js","../../node_modules/xml-crypto/lib/types.js","../../node_modules/xml-crypto/lib/signature-algorithms.js","../../node_modules/xml-crypto/lib/signed-xml.js","../../node_modules/@xmldom/xmldom/lib/index.js","../../node_modules/xml-crypto/lib/c14n-canonicalization.js","../../node_modules/xml-crypto/lib/exclusive-canonicalization.js","../../node_modules/xml-crypto/lib/enveloped-signature.js","../../node_modules/xml-crypto/lib/index.js","../../src/adapters/XmlBuilder.ts","../../src/adapters/SchemaLoader.ts","../../node_modules/xml-js/lib/array-helper.js","../../node_modules/xml-js/lib/options-helper.js","../../node_modules/xml-js/lib/xml2js.js","../../node_modules/xml-js/lib/xml2json.js","../../node_modules/xml-js/lib/js2xml.js","../../node_modules/xml-js/lib/json2xml.js","../../node_modules/xml-js/lib/index.js","../../src/core/utils/XmlParser.ts","../../node_modules/xsd-assembler/dist/cjs/index.js","../../src/core/utils/Utility.ts","../../src/modules/dfe/base/GerarConsulta.ts","../../node_modules/@babel/runtime/helpers/esm/typeof.js","../../node_modules/date-fns/esm/_lib/toInteger/index.js","../../node_modules/date-fns/esm/_lib/requiredArgs/index.js","../../node_modules/date-fns/esm/toDate/index.js","../../node_modules/date-fns/esm/_lib/defaultOptions/index.js","../../node_modules/date-fns/esm/isValid/index.js","../../node_modules/date-fns/esm/isDate/index.js","../../node_modules/date-fns/esm/subMilliseconds/index.js","../../node_modules/date-fns/esm/addMilliseconds/index.js","../../node_modules/date-fns/esm/_lib/startOfUTCISOWeek/index.js","../../node_modules/date-fns/esm/_lib/getUTCISOWeekYear/index.js","../../node_modules/date-fns/esm/_lib/getUTCISOWeek/index.js","../../node_modules/date-fns/esm/_lib/startOfUTCISOWeekYear/index.js","../../node_modules/date-fns/esm/_lib/startOfUTCWeek/index.js","../../node_modules/date-fns/esm/_lib/getUTCWeekYear/index.js","../../node_modules/date-fns/esm/_lib/getUTCWeek/index.js","../../node_modules/date-fns/esm/_lib/startOfUTCWeekYear/index.js","../../node_modules/date-fns/esm/_lib/addLeadingZeros/index.js","../../node_modules/date-fns/esm/_lib/format/lightFormatters/index.js","../../node_modules/date-fns/esm/_lib/format/formatters/index.js","../../node_modules/date-fns/esm/_lib/getUTCDayOfYear/index.js","../../node_modules/date-fns/esm/_lib/format/longFormatters/index.js","../../node_modules/date-fns/esm/_lib/protectedTokens/index.js","../../node_modules/date-fns/esm/locale/en-US/_lib/formatDistance/index.js","../../node_modules/date-fns/esm/locale/_lib/buildFormatLongFn/index.js","../../node_modules/date-fns/esm/locale/en-US/_lib/formatLong/index.js","../../node_modules/date-fns/esm/locale/en-US/_lib/formatRelative/index.js","../../node_modules/date-fns/esm/locale/_lib/buildLocalizeFn/index.js","../../node_modules/date-fns/esm/locale/_lib/buildMatchFn/index.js","../../node_modules/date-fns/esm/locale/en-US/_lib/match/index.js","../../node_modules/date-fns/esm/locale/en-US/index.js","../../node_modules/date-fns/esm/locale/en-US/_lib/localize/index.js","../../node_modules/date-fns/esm/locale/_lib/buildMatchPatternFn/index.js","../../node_modules/date-fns/esm/format/index.js","../../node_modules/date-fns/esm/_lib/getTimezoneOffsetInMilliseconds/index.js","../../node_modules/date-fns/esm/parseISO/index.js","../../node_modules/date-fns/esm/constants/index.js","../../src/modules/dfe/base/SaveFiles.ts","../../node_modules/axios/lib/helpers/bind.js","../../node_modules/axios/lib/utils.js","../../node_modules/axios/lib/core/AxiosError.js","../../node_modules/combined-stream/lib/combined_stream.js","../../node_modules/delayed-stream/lib/delayed_stream.js","../../node_modules/mime-types/index.js","../../node_modules/mime-db/index.js","../../node_modules/asynckit/lib/async.js","../../node_modules/asynckit/lib/defer.js","../../node_modules/asynckit/lib/abort.js","../../node_modules/asynckit/lib/iterate.js","../../node_modules/asynckit/lib/state.js","../../node_modules/asynckit/lib/terminator.js","../../node_modules/asynckit/parallel.js","../../node_modules/asynckit/serialOrdered.js","../../node_modules/asynckit/serial.js","../../node_modules/asynckit/index.js","../../node_modules/axios/node_modules/form-data/lib/populate.js","../../node_modules/axios/node_modules/form-data/lib/form_data.js","../../node_modules/axios/lib/helpers/toFormData.js","../../node_modules/axios/lib/helpers/AxiosURLSearchParams.js","../../node_modules/axios/lib/helpers/buildURL.js","../../node_modules/axios/lib/core/InterceptorManager.js","../../node_modules/axios/lib/defaults/transitional.js","../../node_modules/axios/lib/platform/node/classes/URLSearchParams.js","../../node_modules/axios/lib/platform/node/index.js","../../node_modules/axios/lib/platform/common/utils.js","../../node_modules/axios/lib/platform/index.js","../../node_modules/axios/lib/helpers/formDataToJSON.js","../../node_modules/axios/lib/defaults/index.js","../../node_modules/axios/lib/helpers/toURLEncodedForm.js","../../node_modules/axios/lib/helpers/parseHeaders.js","../../node_modules/axios/lib/core/AxiosHeaders.js","../../node_modules/axios/lib/core/transformData.js","../../node_modules/axios/lib/cancel/isCancel.js","../../node_modules/axios/lib/cancel/CanceledError.js","../../node_modules/axios/lib/core/settle.js","../../node_modules/axios/lib/core/buildFullPath.js","../../node_modules/axios/lib/helpers/isAbsoluteURL.js","../../node_modules/axios/lib/helpers/combineURLs.js","../../node_modules/proxy-from-env/index.js","../../node_modules/ms/index.js","../../node_modules/debug/src/common.js","../../node_modules/has-flag/index.js","../../node_modules/debug/src/node.js","../../node_modules/supports-color/index.js","../../node_modules/debug/src/index.js","../../node_modules/debug/src/browser.js","../../node_modules/follow-redirects/index.js","../../node_modules/follow-redirects/debug.js","../../node_modules/axios/lib/helpers/parseProtocol.js","../../node_modules/axios/lib/helpers/fromDataURI.js","../../node_modules/axios/lib/helpers/AxiosTransformStream.js","../../node_modules/axios/lib/helpers/readBlob.js","../../node_modules/axios/lib/helpers/formDataToStream.js","../../node_modules/axios/lib/helpers/ZlibHeaderTransformStream.js","../../node_modules/axios/lib/helpers/callbackify.js","../../node_modules/axios/lib/helpers/progressEventReducer.js","../../node_modules/axios/lib/helpers/speedometer.js","../../node_modules/axios/lib/helpers/throttle.js","../../node_modules/axios/lib/adapters/http.js","../../node_modules/axios/lib/helpers/isURLSameOrigin.js","../../node_modules/axios/lib/helpers/cookies.js","../../node_modules/axios/lib/core/mergeConfig.js","../../node_modules/axios/lib/helpers/resolveConfig.js","../../node_modules/axios/lib/adapters/xhr.js","../../node_modules/axios/lib/helpers/composeSignals.js","../../node_modules/axios/lib/helpers/trackStream.js","../../node_modules/axios/lib/adapters/fetch.js","../../node_modules/axios/lib/adapters/adapters.js","../../node_modules/axios/lib/core/dispatchRequest.js","../../node_modules/axios/lib/helpers/validator.js","../../node_modules/axios/lib/core/Axios.js","../../node_modules/axios/lib/cancel/CancelToken.js","../../node_modules/axios/lib/helpers/HttpStatusCode.js","../../node_modules/axios/lib/axios.js","../../node_modules/axios/lib/env/data.js","../../node_modules/axios/lib/helpers/spread.js","../../node_modules/axios/lib/helpers/isAxiosError.js","../../src/modules/environment/AxiosHttpClient.ts","../../src/modules/environment/HttpClientBuilder.ts","../../src/modules/environment/ValidateEnvironment.ts","../../node_modules/node-forge/lib/forge.js","../../node_modules/node-forge/lib/baseN.js","../../node_modules/node-forge/lib/util.js","../../node_modules/node-forge/lib/cipher.js","../../node_modules/node-forge/lib/cipherModes.js","../../node_modules/node-forge/lib/aes.js","../../node_modules/node-forge/lib/oids.js","../../node_modules/node-forge/lib/asn1.js","../../node_modules/node-forge/lib/md.js","../../node_modules/node-forge/lib/hmac.js","../../node_modules/node-forge/lib/md5.js","../../node_modules/node-forge/lib/pem.js","../../node_modules/node-forge/lib/des.js","../../node_modules/node-forge/lib/pbkdf2.js","../../node_modules/node-forge/lib/sha256.js","../../node_modules/node-forge/lib/prng.js","../../node_modules/node-forge/lib/random.js","../../node_modules/node-forge/lib/rc2.js","../../node_modules/node-forge/lib/jsbn.js","../../node_modules/node-forge/lib/sha1.js","../../node_modules/node-forge/lib/pkcs1.js","../../node_modules/node-forge/lib/prime.js","../../node_modules/node-forge/lib/rsa.js","../../node_modules/node-forge/lib/pbe.js","../../node_modules/node-forge/lib/pkcs7asn1.js","../../node_modules/node-forge/lib/mgf1.js","../../node_modules/node-forge/lib/pss.js","../../node_modules/node-forge/lib/x509.js","../../node_modules/node-forge/lib/mgf.js","../../node_modules/node-forge/lib/pkcs12.js","../../node_modules/node-forge/lib/pki.js","../../node_modules/node-forge/lib/tls.js","../../node_modules/node-forge/lib/aesCipherSuites.js","../../node_modules/node-forge/lib/sha512.js","../../node_modules/node-forge/lib/asn1-validator.js","../../node_modules/node-forge/lib/ed25519.js","../../node_modules/node-forge/lib/pkcs7.js","../../node_modules/node-forge/lib/index.js","../../node_modules/node-forge/lib/kem.js","../../node_modules/node-forge/lib/log.js","../../node_modules/node-forge/lib/md.all.js","../../node_modules/node-forge/lib/ssh.js","../../src/modules/environment/LoadCertificate.ts","../../src/modules/environment/Environment.ts","../../src/core/utils/getCodIBGE.ts","../../src/modules/dfe/base/BaseNFe.ts","../../src/modules/dfe/nfe/services/NFEStatusServico/NFEStatusServicoService.ts","../../src/modules/dfe/nfe/operations/NFEConsultaProtocolo/NFEconsultaProtocolo.ts","../../src/modules/dfe/nfe/operations/NFERecepcaoEvento/NFEEpec.ts","../../src/modules/dfe/nfe/operations/NFERecepcaoEvento/NFECancelamento.ts","../../src/modules/dfe/nfe/operations/NFERecepcaoEvento/NFECienciaDaOperacao.ts","../../src/modules/dfe/nfe/operations/NFERecepcaoEvento/NFEConfirmacaoDaOperacao.ts","../../src/modules/dfe/nfe/operations/NFERecepcaoEvento/NFEOperacaoNaoRealizada.ts","../../node_modules/nodemailer/lib/fetch/index.js","../../node_modules/nodemailer/lib/fetch/cookies.js","../../node_modules/nodemailer/lib/shared/index.js","../../node_modules/nodemailer/lib/mime-funcs/mime-types.js","../../node_modules/nodemailer/lib/punycode/index.js","../../node_modules/nodemailer/lib/base64/index.js","../../node_modules/nodemailer/lib/qp/index.js","../../node_modules/nodemailer/lib/mime-funcs/index.js","../../node_modules/nodemailer/lib/addressparser/index.js","../../node_modules/nodemailer/lib/mime-node/le-windows.js","../../node_modules/nodemailer/lib/mime-node/index.js","../../node_modules/nodemailer/lib/mime-node/last-newline.js","../../node_modules/nodemailer/lib/mime-node/le-unix.js","../../node_modules/nodemailer/lib/dkim/sign.js","../../node_modules/nodemailer/lib/dkim/index.js","../../node_modules/nodemailer/lib/dkim/message-parser.js","../../node_modules/nodemailer/lib/dkim/relaxed-body.js","../../node_modules/nodemailer/lib/mailer/index.js","../../node_modules/nodemailer/lib/mail-composer/index.js","../../node_modules/nodemailer/lib/smtp-connection/http-proxy-client.js","../../node_modules/nodemailer/lib/mailer/mail-message.js","../../node_modules/nodemailer/lib/smtp-connection/index.js","../../node_modules/nodemailer/lib/smtp-connection/data-stream.js","../../node_modules/nodemailer/lib/xoauth2/index.js","../../node_modules/nodemailer/lib/well-known/index.js","../../node_modules/nodemailer/lib/smtp-pool/index.js","../../node_modules/nodemailer/lib/smtp-pool/pool-resource.js","../../node_modules/nodemailer/lib/ses-transport/index.js","../../node_modules/nodemailer/lib/nodemailer.js","../../node_modules/nodemailer/lib/smtp-transport/index.js","../../node_modules/nodemailer/lib/sendmail-transport/index.js","../../node_modules/nodemailer/lib/stream-transport/index.js","../../node_modules/nodemailer/lib/json-transport/index.js","../../src/adapters/MailAdapter.ts","../../node_modules/qrcode/lib/can-promise.js","../../node_modules/qrcode/lib/core/utils.js","../../node_modules/qrcode/lib/core/error-correction-level.js","../../node_modules/qrcode/lib/core/error-correction-code.js","../../node_modules/qrcode/lib/core/polynomial.js","../../node_modules/qrcode/lib/core/galois-field.js","../../node_modules/qrcode/lib/core/version-check.js","../../node_modules/qrcode/lib/core/regex.js","../../node_modules/qrcode/lib/core/mode.js","../../node_modules/qrcode/lib/core/version.js","../../node_modules/dijkstrajs/dijkstra.js","../../node_modules/qrcode/lib/core/segments.js","../../node_modules/qrcode/lib/core/numeric-data.js","../../node_modules/qrcode/lib/core/alphanumeric-data.js","../../node_modules/qrcode/lib/core/byte-data.js","../../node_modules/qrcode/lib/core/kanji-data.js","../../node_modules/qrcode/lib/core/qrcode.js","../../node_modules/qrcode/lib/core/bit-buffer.js","../../node_modules/qrcode/lib/core/bit-matrix.js","../../node_modules/qrcode/lib/core/alignment-pattern.js","../../node_modules/qrcode/lib/core/finder-pattern.js","../../node_modules/qrcode/lib/core/mask-pattern.js","../../node_modules/qrcode/lib/core/reed-solomon-encoder.js","../../node_modules/qrcode/lib/core/format-info.js","../../node_modules/pngjs/lib/chunkstream.js","../../node_modules/pngjs/lib/interlace.js","../../node_modules/pngjs/lib/paeth-predictor.js","../../node_modules/pngjs/lib/filter-parse.js","../../node_modules/pngjs/lib/constants.js","../../node_modules/pngjs/lib/crc.js","../../node_modules/pngjs/lib/parser.js","../../node_modules/pngjs/lib/bitmapper.js","../../node_modules/pngjs/lib/format-normaliser.js","../../node_modules/pngjs/lib/parser-async.js","../../node_modules/pngjs/lib/filter-parse-async.js","../../node_modules/pngjs/lib/packer.js","../../node_modules/pngjs/lib/bitpacker.js","../../node_modules/pngjs/lib/filter-pack.js","../../node_modules/pngjs/lib/sync-inflate.js","../../node_modules/pngjs/lib/sync-reader.js","../../node_modules/pngjs/lib/parser-sync.js","../../node_modules/pngjs/lib/filter-parse-sync.js","../../node_modules/pngjs/lib/png-sync.js","../../node_modules/pngjs/lib/packer-sync.js","../../node_modules/pngjs/lib/png.js","../../node_modules/pngjs/lib/packer-async.js","../../node_modules/qrcode/lib/renderer/utils.js","../../node_modules/qrcode/lib/renderer/terminal.js","../../node_modules/qrcode/lib/renderer/terminal/terminal.js","../../node_modules/qrcode/lib/renderer/terminal/terminal-small.js","../../node_modules/qrcode/lib/renderer/svg-tag.js","../../node_modules/qrcode/lib/renderer/canvas.js","../../node_modules/qrcode/lib/server.js","../../node_modules/qrcode/lib/renderer/png.js","../../node_modules/qrcode/lib/renderer/utf8.js","../../node_modules/qrcode/lib/renderer/svg.js","../../node_modules/qrcode/lib/browser.js","../../node_modules/qrcode/lib/index.js","../../src/core/utils/ValidaCPFCNPJ.ts","../../src/core/utils/getDesTipoPag.ts","../../src/modules/dfe/danfe/NFCEGerarDanfe/NFCEGerarDanfe.ts","../../src/modules/dfe/danfe/NFEGerarDanfe/NFEGerarDanfe.ts","../../src/modules/dfe/nfce/operations/NFCEAutorizacao/NFCEAutorizacao.ts","../../src/modules/dfe/nfe/operations/NFEDistribuicaoDFe/NFEDistribuicaoDFe.ts","../../src/modules/dfe/nfe/operations/NFEDistribuicaoDFe/NFEDistribuicaoDFePorChave.ts","../../src/modules/dfe/nfe/operations/NFEDistribuicaoDFe/NFEDistribuicaoDFePorNSU.ts","../../src/modules/dfe/nfe/operations/NFEDistribuicaoDFe/NFEDistribuicaoDFePorUltNSU.ts","../../src/modules/dfe/nfe/operations/NFEInutilizacao/NFEInutilizacao.ts","../../src/modules/dfe/nfe/operations/NFERecepcaoEvento/NFECartaDeCorrecao.ts","../../src/modules/dfe/nfe/operations/NFERecepcaoEvento/NFEDesconhecimentoDaOperacao.ts","../../src/modules/dfe/nfe/operations/NFERetornoAutorizacao/NFERetornoAutorizacao.ts","../../src/core/utils/NFEImposto.ts","../../src/modules/dfe/nfe/services/NFERetornoAutorizacao/NFERetornoAutorizacaoService.ts","../../src/modules/dfe/nfe/services/NFEAutorizacao/NFEAutorizacaoService.ts","../../src/modules/dfe/nfe/services/NFEConsultaProtocolo/NFEconsultaProtocoloService.ts","../../src/modules/dfe/nfe/operations/NFEStatusServico/NFEStatusServico.ts","../../src/modules/dfe/nfe/operations/NFERecepcaoEvento/NFERecepcaoEvento.ts","../../src/modules/dfe/nfe/services/NFERecepcaoEvento/NFERecepcaoEventoService.ts","../../src/modules/dfe/nfe/services/NFERecepcaoEvento/NFECancelamentoService.ts","../../src/modules/dfe/nfe/services/NFERecepcaoEvento/NFECartaDeCorrecaoService.ts","../../src/modules/dfe/nfe/services/NFERecepcaoEvento/NFECienciaDaOperacaoService.ts","../../src/modules/dfe/nfe/services/NFERecepcaoEvento/NFEDesconhecimentoDaOperacaoService.ts","../../src/modules/dfe/nfe/services/NFERecepcaoEvento/NFEEpecService.ts","../../src/modules/dfe/nfe/services/NFERecepcaoEvento/NFEOperacaoNaoRealizadaService.ts","../../src/modules/dfe/nfe/operations/NFEAutorizacao/NFEAutorizacao.ts","../../node_modules/pako/dist/pako.esm.mjs","../../src/modules/dfe/nfe/services/NFEDistribuicaoDFe/util/DistribuicaoHandler.ts","../../src/modules/dfe/nfe/services/NFEDistribuicaoDFe/NFEDistribuicaoDFeService.ts","../../src/modules/dfe/nfe/services/NFEDistribuicaoDFe/NFEDistribuicaoDFePorUltNSU.ts","../../src/modules/dfe/nfe/services/NFEDistribuicaoDFe/NFEDistribuicaoDFePorNSU.ts","../../src/modules/dfe/nfe/services/NFEDistribuicaoDFe/NFEDistribuicaoDFePorChave.ts","../../src/modules/dfe/nfe/services/NFEInutilizacao/NFEInutilizacaoService.ts","../../node_modules/crypt/crypt.js","../../node_modules/charenc/charenc.js","../../node_modules/sha1/sha1.js","../../src/modules/dfe/nfce/services/NFCEAutorizacao/util/NFCEQRCode.ts","../../src/modules/dfe/nfce/services/NFCERetornoAutorizacao/NFCERetornoAutorizacaoService.ts","../../src/modules/dfe/nfce/operations/NFCERetornoAutorizacao/NFCERetornoAutorizacao.ts","../../src/modules/dfe/nfce/services/NFCEAutorizacao/NFCEAutorizacaoService.ts","../../src/modules/dfe/nfe/services/NFeWizard/NFeWizardService.ts","../../src/adapters/NFeWizard.ts"],"sourcesContent":["// Generated by CoffeeScript 1.12.7\n(function() {\n exports.defaults = {\n \"0.1\": {\n explicitCharkey: false,\n trim: true,\n normalize: true,\n normalizeTags: false,\n attrkey: \"@\",\n charkey: \"#\",\n explicitArray: false,\n ignoreAttrs: false,\n mergeAttrs: false,\n explicitRoot: false,\n validator: null,\n xmlns: false,\n explicitChildren: false,\n childkey: '@@',\n charsAsChildren: false,\n includeWhiteChars: false,\n async: false,\n strict: true,\n attrNameProcessors: null,\n attrValueProcessors: null,\n tagNameProcessors: null,\n valueProcessors: null,\n emptyTag: ''\n },\n \"0.2\": {\n explicitCharkey: false,\n trim: false,\n normalize: false,\n normalizeTags: false,\n attrkey: \"$\",\n charkey: \"_\",\n explicitArray: true,\n ignoreAttrs: false,\n mergeAttrs: false,\n explicitRoot: true,\n validator: null,\n xmlns: false,\n explicitChildren: false,\n preserveChildrenOrder: false,\n childkey: '$$',\n charsAsChildren: false,\n includeWhiteChars: false,\n async: false,\n strict: true,\n attrNameProcessors: null,\n attrValueProcessors: null,\n tagNameProcessors: null,\n valueProcessors: null,\n rootName: 'root',\n xmldec: {\n 'version': '1.0',\n 'encoding': 'UTF-8',\n 'standalone': true\n },\n doctype: null,\n renderOpts: {\n 'pretty': true,\n 'indent': ' ',\n 'newline': '\\n'\n },\n headless: false,\n chunkSize: 10000,\n emptyTag: '',\n cdata: false\n }\n };\n\n}).call(this);\n","// Generated by CoffeeScript 1.12.7\n(function() {\n var assign, getValue, isArray, isEmpty, isFunction, isObject, isPlainObject,\n slice = [].slice,\n hasProp = {}.hasOwnProperty;\n\n assign = function() {\n var i, key, len, source, sources, target;\n target = arguments[0], sources = 2 <= arguments.length ? slice.call(arguments, 1) : [];\n if (isFunction(Object.assign)) {\n Object.assign.apply(null, arguments);\n } else {\n for (i = 0, len = sources.length; i < len; i++) {\n source = sources[i];\n if (source != null) {\n for (key in source) {\n if (!hasProp.call(source, key)) continue;\n target[key] = source[key];\n }\n }\n }\n }\n return target;\n };\n\n isFunction = function(val) {\n return !!val && Object.prototype.toString.call(val) === '[object Function]';\n };\n\n isObject = function(val) {\n var ref;\n return !!val && ((ref = typeof val) === 'function' || ref === 'object');\n };\n\n isArray = function(val) {\n if (isFunction(Array.isArray)) {\n return Array.isArray(val);\n } else {\n return Object.prototype.toString.call(val) === '[object Array]';\n }\n };\n\n isEmpty = function(val) {\n var key;\n if (isArray(val)) {\n return !val.length;\n } else {\n for (key in val) {\n if (!hasProp.call(val, key)) continue;\n return false;\n }\n return true;\n }\n };\n\n isPlainObject = function(val) {\n var ctor, proto;\n return isObject(val) && (proto = Object.getPrototypeOf(val)) && (ctor = proto.constructor) && (typeof ctor === 'function') && (ctor instanceof ctor) && (Function.prototype.toString.call(ctor) === Function.prototype.toString.call(Object));\n };\n\n getValue = function(obj) {\n if (isFunction(obj.valueOf)) {\n return obj.valueOf();\n } else {\n return obj;\n }\n };\n\n module.exports.assign = assign;\n\n module.exports.isFunction = isFunction;\n\n module.exports.isObject = isObject;\n\n module.exports.isArray = isArray;\n\n module.exports.isEmpty = isEmpty;\n\n module.exports.isPlainObject = isPlainObject;\n\n module.exports.getValue = getValue;\n\n}).call(this);\n","// Generated by CoffeeScript 1.12.7\n(function() {\n var XMLDOMImplementation;\n\n module.exports = XMLDOMImplementation = (function() {\n function XMLDOMImplementation() {}\n\n XMLDOMImplementation.prototype.hasFeature = function(feature, version) {\n return true;\n };\n\n XMLDOMImplementation.prototype.createDocumentType = function(qualifiedName, publicId, systemId) {\n throw new Error(\"This DOM method is not implemented.\");\n };\n\n XMLDOMImplementation.prototype.createDocument = function(namespaceURI, qualifiedName, doctype) {\n throw new Error(\"This DOM method is not implemented.\");\n };\n\n XMLDOMImplementation.prototype.createHTMLDocument = function(title) {\n throw new Error(\"This DOM method is not implemented.\");\n };\n\n XMLDOMImplementation.prototype.getFeature = function(feature, version) {\n throw new Error(\"This DOM method is not implemented.\");\n };\n\n return XMLDOMImplementation;\n\n })();\n\n}).call(this);\n","// Generated by CoffeeScript 1.12.7\n(function() {\n var XMLDOMErrorHandler;\n\n module.exports = XMLDOMErrorHandler = (function() {\n function XMLDOMErrorHandler() {}\n\n XMLDOMErrorHandler.prototype.handleError = function(error) {\n throw new Error(error);\n };\n\n return XMLDOMErrorHandler;\n\n })();\n\n}).call(this);\n","// Generated by CoffeeScript 1.12.7\n(function() {\n var XMLDOMStringList;\n\n module.exports = XMLDOMStringList = (function() {\n function XMLDOMStringList(arr) {\n this.arr = arr || [];\n }\n\n Object.defineProperty(XMLDOMStringList.prototype, 'length', {\n get: function() {\n return this.arr.length;\n }\n });\n\n XMLDOMStringList.prototype.item = function(index) {\n return this.arr[index] || null;\n };\n\n XMLDOMStringList.prototype.contains = function(str) {\n return this.arr.indexOf(str) !== -1;\n };\n\n return XMLDOMStringList;\n\n })();\n\n}).call(this);\n","// Generated by CoffeeScript 1.12.7\n(function() {\n var XMLDOMConfiguration, XMLDOMErrorHandler, XMLDOMStringList;\n\n XMLDOMErrorHandler = require('./XMLDOMErrorHandler');\n\n XMLDOMStringList = require('./XMLDOMStringList');\n\n module.exports = XMLDOMConfiguration = (function() {\n function XMLDOMConfiguration() {\n var clonedSelf;\n this.defaultParams = {\n \"canonical-form\": false,\n \"cdata-sections\": false,\n \"comments\": false,\n \"datatype-normalization\": false,\n \"element-content-whitespace\": true,\n \"entities\": true,\n \"error-handler\": new XMLDOMErrorHandler(),\n \"infoset\": true,\n \"validate-if-schema\": false,\n \"namespaces\": true,\n \"namespace-declarations\": true,\n \"normalize-characters\": false,\n \"schema-location\": '',\n \"schema-type\": '',\n \"split-cdata-sections\": true,\n \"validate\": false,\n \"well-formed\": true\n };\n this.params = clonedSelf = Object.create(this.defaultParams);\n }\n\n Object.defineProperty(XMLDOMConfiguration.prototype, 'parameterNames', {\n get: function() {\n return new XMLDOMStringList(Object.keys(this.defaultParams));\n }\n });\n\n XMLDOMConfiguration.prototype.getParameter = function(name) {\n if (this.params.hasOwnProperty(name)) {\n return this.params[name];\n } else {\n return null;\n }\n };\n\n XMLDOMConfiguration.prototype.canSetParameter = function(name, value) {\n return true;\n };\n\n XMLDOMConfiguration.prototype.setParameter = function(name, value) {\n if (value != null) {\n return this.params[name] = value;\n } else {\n return delete this.params[name];\n }\n };\n\n return XMLDOMConfiguration;\n\n })();\n\n}).call(this);\n","// Generated by CoffeeScript 1.12.7\n(function() {\n module.exports = {\n Element: 1,\n Attribute: 2,\n Text: 3,\n CData: 4,\n EntityReference: 5,\n EntityDeclaration: 6,\n ProcessingInstruction: 7,\n Comment: 8,\n Document: 9,\n DocType: 10,\n DocumentFragment: 11,\n NotationDeclaration: 12,\n Declaration: 201,\n Raw: 202,\n AttributeDeclaration: 203,\n ElementDeclaration: 204,\n Dummy: 205\n };\n\n}).call(this);\n","// Generated by CoffeeScript 1.12.7\n(function() {\n var NodeType, XMLAttribute, XMLNode;\n\n NodeType = require('./NodeType');\n\n XMLNode = require('./XMLNode');\n\n module.exports = XMLAttribute = (function() {\n function XMLAttribute(parent, name, value) {\n this.parent = parent;\n if (this.parent) {\n this.options = this.parent.options;\n this.stringify = this.parent.stringify;\n }\n if (name == null) {\n throw new Error(\"Missing attribute name. \" + this.debugInfo(name));\n }\n this.name = this.stringify.name(name);\n this.value = this.stringify.attValue(value);\n this.type = NodeType.Attribute;\n this.isId = false;\n this.schemaTypeInfo = null;\n }\n\n Object.defineProperty(XMLAttribute.prototype, 'nodeType', {\n get: function() {\n return this.type;\n }\n });\n\n Object.defineProperty(XMLAttribute.prototype, 'ownerElement', {\n get: function() {\n return this.parent;\n }\n });\n\n Object.defineProperty(XMLAttribute.prototype, 'textContent', {\n get: function() {\n return this.value;\n },\n set: function(value) {\n return this.value = value || '';\n }\n });\n\n Object.defineProperty(XMLAttribute.prototype, 'namespaceURI', {\n get: function() {\n return '';\n }\n });\n\n Object.defineProperty(XMLAttribute.prototype, 'prefix', {\n get: function() {\n return '';\n }\n });\n\n Object.defineProperty(XMLAttribute.prototype, 'localName', {\n get: function() {\n return this.name;\n }\n });\n\n Object.defineProperty(XMLAttribute.prototype, 'specified', {\n get: function() {\n return true;\n }\n });\n\n XMLAttribute.prototype.clone = function() {\n return Object.create(this);\n };\n\n XMLAttribute.prototype.toString = function(options) {\n return this.options.writer.attribute(this, this.options.writer.filterOptions(options));\n };\n\n XMLAttribute.prototype.debugInfo = function(name) {\n name = name || this.name;\n if (name == null) {\n return \"parent: <\" + this.parent.name + \">\";\n } else {\n return \"attribute: {\" + name + \"}, parent: <\" + this.parent.name + \">\";\n }\n };\n\n XMLAttribute.prototype.isEqualNode = function(node) {\n if (node.namespaceURI !== this.namespaceURI) {\n return false;\n }\n if (node.prefix !== this.prefix) {\n return false;\n }\n if (node.localName !== this.localName) {\n return false;\n }\n if (node.value !== this.value) {\n return false;\n }\n return true;\n };\n\n return XMLAttribute;\n\n })();\n\n}).call(this);\n","// Generated by CoffeeScript 1.12.7\n(function() {\n var XMLNamedNodeMap;\n\n module.exports = XMLNamedNodeMap = (function() {\n function XMLNamedNodeMap(nodes) {\n this.nodes = nodes;\n }\n\n Object.defineProperty(XMLNamedNodeMap.prototype, 'length', {\n get: function() {\n return Object.keys(this.nodes).length || 0;\n }\n });\n\n XMLNamedNodeMap.prototype.clone = function() {\n return this.nodes = null;\n };\n\n XMLNamedNodeMap.prototype.getNamedItem = function(name) {\n return this.nodes[name];\n };\n\n XMLNamedNodeMap.prototype.setNamedItem = function(node) {\n var oldNode;\n oldNode = this.nodes[node.nodeName];\n this.nodes[node.nodeName] = node;\n return oldNode || null;\n };\n\n XMLNamedNodeMap.prototype.removeNamedItem = function(name) {\n var oldNode;\n oldNode = this.nodes[name];\n delete this.nodes[name];\n return oldNode || null;\n };\n\n XMLNamedNodeMap.prototype.item = function(index) {\n return this.nodes[Object.keys(this.nodes)[index]] || null;\n };\n\n XMLNamedNodeMap.prototype.getNamedItemNS = function(namespaceURI, localName) {\n throw new Error(\"This DOM method is not implemented.\");\n };\n\n XMLNamedNodeMap.prototype.setNamedItemNS = function(node) {\n throw new Error(\"This DOM method is not implemented.\");\n };\n\n XMLNamedNodeMap.prototype.removeNamedItemNS = function(namespaceURI, localName) {\n throw new Error(\"This DOM method is not implemented.\");\n };\n\n return XMLNamedNodeMap;\n\n })();\n\n}).call(this);\n","// Generated by CoffeeScript 1.12.7\n(function() {\n var NodeType, XMLAttribute, XMLElement, XMLNamedNodeMap, XMLNode, getValue, isFunction, isObject, ref,\n extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; },\n hasProp = {}.hasOwnProperty;\n\n ref = require('./Utility'), isObject = ref.isObject, isFunction = ref.isFunction, getValue = ref.getValue;\n\n XMLNode = require('./XMLNode');\n\n NodeType = require('./NodeType');\n\n XMLAttribute = require('./XMLAttribute');\n\n XMLNamedNodeMap = require('./XMLNamedNodeMap');\n\n module.exports = XMLElement = (function(superClass) {\n extend(XMLElement, superClass);\n\n function XMLElement(parent, name, attributes) {\n var child, j, len, ref1;\n XMLElement.__super__.constructor.call(this, parent);\n if (name == null) {\n throw new Error(\"Missing element name. \" + this.debugInfo());\n }\n this.name = this.stringify.name(name);\n this.type = NodeType.Element;\n this.attribs = {};\n this.schemaTypeInfo = null;\n if (attributes != null) {\n this.attribute(attributes);\n }\n if (parent.type === NodeType.Document) {\n this.isRoot = true;\n this.documentObject = parent;\n parent.rootObject = this;\n if (parent.children) {\n ref1 = parent.children;\n for (j = 0, len = ref1.length; j < len; j++) {\n child = ref1[j];\n if (child.type === NodeType.DocType) {\n child.name = this.name;\n break;\n }\n }\n }\n }\n }\n\n Object.defineProperty(XMLElement.prototype, 'tagName', {\n get: function() {\n return this.name;\n }\n });\n\n Object.defineProperty(XMLElement.prototype, 'namespaceURI', {\n get: function() {\n return '';\n }\n });\n\n Object.defineProperty(XMLElement.prototype, 'prefix', {\n get: function() {\n return '';\n }\n });\n\n Object.defineProperty(XMLElement.prototype, 'localName', {\n get: function() {\n return this.name;\n }\n });\n\n Object.defineProperty(XMLElement.prototype, 'id', {\n get: function() {\n throw new Error(\"This DOM method is not implemented.\" + this.debugInfo());\n }\n });\n\n Object.defineProperty(XMLElement.prototype, 'className', {\n get: function() {\n throw new Error(\"This DOM method is not implemented.\" + this.debugInfo());\n }\n });\n\n Object.defineProperty(XMLElement.prototype, 'classList', {\n get: function() {\n throw new Error(\"This DOM method is not implemented.\" + this.debugInfo());\n }\n });\n\n Object.defineProperty(XMLElement.prototype, 'attributes', {\n get: function() {\n if (!this.attributeMap || !this.attributeMap.nodes) {\n this.attributeMap = new XMLNamedNodeMap(this.attribs);\n }\n return this.attributeMap;\n }\n });\n\n XMLElement.prototype.clone = function() {\n var att, attName, clonedSelf, ref1;\n clonedSelf = Object.create(this);\n if (clonedSelf.isRoot) {\n clonedSelf.documentObject = null;\n }\n clonedSelf.attribs = {};\n ref1 = this.attribs;\n for (attName in ref1) {\n if (!hasProp.call(ref1, attName)) continue;\n att = ref1[attName];\n clonedSelf.attribs[attName] = att.clone();\n }\n clonedSelf.children = [];\n this.children.forEach(function(child) {\n var clonedChild;\n clonedChild = child.clone();\n clonedChild.parent = clonedSelf;\n return clonedSelf.children.push(clonedChild);\n });\n return clonedSelf;\n };\n\n XMLElement.prototype.attribute = function(name, value) {\n var attName, attValue;\n if (name != null) {\n name = getValue(name);\n }\n if (isObject(name)) {\n for (attName in name) {\n if (!hasProp.call(name, attName)) continue;\n attValue = name[attName];\n this.attribute(attName, attValue);\n }\n } else {\n if (isFunction(value)) {\n value = value.apply();\n }\n if (this.options.keepNullAttributes && (value == null)) {\n this.attribs[name] = new XMLAttribute(this, name, \"\");\n } else if (value != null) {\n this.attribs[name] = new XMLAttribute(this, name, value);\n }\n }\n return this;\n };\n\n XMLElement.prototype.removeAttribute = function(name) {\n var attName, j, len;\n if (name == null) {\n throw new Error(\"Missing attribute name. \" + this.debugInfo());\n }\n name = getValue(name);\n if (Array.isArray(name)) {\n for (j = 0, len = name.length; j < len; j++) {\n attName = name[j];\n delete this.attribs[attName];\n }\n } else {\n delete this.attribs[name];\n }\n return this;\n };\n\n XMLElement.prototype.toString = function(options) {\n return this.options.writer.element(this, this.options.writer.filterOptions(options));\n };\n\n XMLElement.prototype.att = function(name, value) {\n return this.attribute(name, value);\n };\n\n XMLElement.prototype.a = function(name, value) {\n return this.attribute(name, value);\n };\n\n XMLElement.prototype.getAttribute = function(name) {\n if (this.attribs.hasOwnProperty(name)) {\n return this.attribs[name].value;\n } else {\n return null;\n }\n };\n\n XMLElement.prototype.setAttribute = function(name, value) {\n throw new Error(\"This DOM method is not implemented.\" + this.debugInfo());\n };\n\n XMLElement.prototype.getAttributeNode = function(name) {\n if (this.attribs.hasOwnProperty(name)) {\n return this.attribs[name];\n } else {\n return null;\n }\n };\n\n XMLElement.prototype.setAttributeNode = function(newAttr) {\n throw new Error(\"This DOM method is not implemented.\" + this.debugInfo());\n };\n\n XMLElement.prototype.removeAttributeNode = function(oldAttr) {\n throw new Error(\"This DOM method is not implemented.\" + this.debugInfo());\n };\n\n XMLElement.prototype.getElementsByTagName = function(name) {\n throw new Error(\"This DOM method is not implemented.\" + this.debugInfo());\n };\n\n XMLElement.prototype.getAttributeNS = function(namespaceURI, localName) {\n throw new Error(\"This DOM method is not implemented.\" + this.debugInfo());\n };\n\n XMLElement.prototype.setAttributeNS = function(namespaceURI, qualifiedName, value) {\n throw new Error(\"This DOM method is not implemented.\" + this.debugInfo());\n };\n\n XMLElement.prototype.removeAttributeNS = function(namespaceURI, localName) {\n throw new Error(\"This DOM method is not implemented.\" + this.debugInfo());\n };\n\n XMLElement.prototype.getAttributeNodeNS = function(namespaceURI, localName) {\n throw new Error(\"This DOM method is not implemented.\" + this.debugInfo());\n };\n\n XMLElement.prototype.setAttributeNodeNS = function(newAttr) {\n throw new Error(\"This DOM method is not implemented.\" + this.debugInfo());\n };\n\n XMLElement.prototype.getElementsByTagNameNS = function(namespaceURI, localName) {\n throw new Error(\"This DOM method is not implemented.\" + this.debugInfo());\n };\n\n XMLElement.prototype.hasAttribute = function(name) {\n return this.attribs.hasOwnProperty(name);\n };\n\n XMLElement.prototype.hasAttributeNS = function(namespaceURI, localName) {\n throw new Error(\"This DOM method is not implemented.\" + this.debugInfo());\n };\n\n XMLElement.prototype.setIdAttribute = function(name, isId) {\n if (this.attribs.hasOwnProperty(name)) {\n return this.attribs[name].isId;\n } else {\n return isId;\n }\n };\n\n XMLElement.prototype.setIdAttributeNS = function(namespaceURI, localName, isId) {\n throw new Error(\"This DOM method is not implemented.\" + this.debugInfo());\n };\n\n XMLElement.prototype.setIdAttributeNode = function(idAttr, isId) {\n throw new Error(\"This DOM method is not implemented.\" + this.debugInfo());\n };\n\n XMLElement.prototype.getElementsByTagName = function(tagname) {\n throw new Error(\"This DOM method is not implemented.\" + this.debugInfo());\n };\n\n XMLElement.prototype.getElementsByTagNameNS = function(namespaceURI, localName) {\n throw new Error(\"This DOM method is not implemented.\" + this.debugInfo());\n };\n\n XMLElement.prototype.getElementsByClassName = function(classNames) {\n throw new Error(\"This DOM method is not implemented.\" + this.debugInfo());\n };\n\n XMLElement.prototype.isEqualNode = function(node) {\n var i, j, ref1;\n if (!XMLElement.__super__.isEqualNode.apply(this, arguments).isEqualNode(node)) {\n return false;\n }\n if (node.namespaceURI !== this.namespaceURI) {\n return false;\n }\n if (node.prefix !== this.prefix) {\n return false;\n }\n if (node.localName !== this.localName) {\n return false;\n }\n if (node.attribs.length !== this.attribs.length) {\n return false;\n }\n for (i = j = 0, ref1 = this.attribs.length - 1; 0 <= ref1 ? j <= ref1 : j >= ref1; i = 0 <= ref1 ? ++j : --j) {\n if (!this.attribs[i].isEqualNode(node.attribs[i])) {\n return false;\n }\n }\n return true;\n };\n\n return XMLElement;\n\n })(XMLNode);\n\n}).call(this);\n","// Generated by CoffeeScript 1.12.7\n(function() {\n var XMLCharacterData, XMLNode,\n extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; },\n hasProp = {}.hasOwnProperty;\n\n XMLNode = require('./XMLNode');\n\n module.exports = XMLCharacterData = (function(superClass) {\n extend(XMLCharacterData, superClass);\n\n function XMLCharacterData(parent) {\n XMLCharacterData.__super__.constructor.call(this, parent);\n this.value = '';\n }\n\n Object.defineProperty(XMLCharacterData.prototype, 'data', {\n get: function() {\n return this.value;\n },\n set: function(value) {\n return this.value = value || '';\n }\n });\n\n Object.defineProperty(XMLCharacterData.prototype, 'length', {\n get: function() {\n return this.value.length;\n }\n });\n\n Object.defineProperty(XMLCharacterData.prototype, 'textContent', {\n get: function() {\n return this.value;\n },\n set: function(value) {\n return this.value = value || '';\n }\n });\n\n XMLCharacterData.prototype.clone = function() {\n return Object.create(this);\n };\n\n XMLCharacterData.prototype.substringData = function(offset, count) {\n throw new Error(\"This DOM method is not implemented.\" + this.debugInfo());\n };\n\n XMLCharacterData.prototype.appendData = function(arg) {\n throw new Error(\"This DOM method is not implemented.\" + this.debugInfo());\n };\n\n XMLCharacterData.prototype.insertData = function(offset, arg) {\n throw new Error(\"This DOM method is not implemented.\" + this.debugInfo());\n };\n\n XMLCharacterData.prototype.deleteData = function(offset, count) {\n throw new Error(\"This DOM method is not implemented.\" + this.debugInfo());\n };\n\n XMLCharacterData.prototype.replaceData = function(offset, count, arg) {\n throw new Error(\"This DOM method is not implemented.\" + this.debugInfo());\n };\n\n XMLCharacterData.prototype.isEqualNode = function(node) {\n if (!XMLCharacterData.__super__.isEqualNode.apply(this, arguments).isEqualNode(node)) {\n return false;\n }\n if (node.data !== this.data) {\n return false;\n }\n return true;\n };\n\n return XMLCharacterData;\n\n })(XMLNode);\n\n}).call(this);\n","// Generated by CoffeeScript 1.12.7\n(function() {\n var NodeType, XMLCData, XMLCharacterData,\n extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; },\n hasProp = {}.hasOwnProperty;\n\n NodeType = require('./NodeType');\n\n XMLCharacterData = require('./XMLCharacterData');\n\n module.exports = XMLCData = (function(superClass) {\n extend(XMLCData, superClass);\n\n function XMLCData(parent, text) {\n XMLCData.__super__.constructor.call(this, parent);\n if (text == null) {\n throw new Error(\"Missing CDATA text. \" + this.debugInfo());\n }\n this.name = \"#cdata-section\";\n this.type = NodeType.CData;\n this.value = this.stringify.cdata(text);\n }\n\n XMLCData.prototype.clone = function() {\n return Object.create(this);\n };\n\n XMLCData.prototype.toString = function(options) {\n return this.options.writer.cdata(this, this.options.writer.filterOptions(options));\n };\n\n return XMLCData;\n\n })(XMLCharacterData);\n\n}).call(this);\n","// Generated by CoffeeScript 1.12.7\n(function() {\n var NodeType, XMLCharacterData, XMLComment,\n extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; },\n hasProp = {}.hasOwnProperty;\n\n NodeType = require('./NodeType');\n\n XMLCharacterData = require('./XMLCharacterData');\n\n module.exports = XMLComment = (function(superClass) {\n extend(XMLComment, superClass);\n\n function XMLComment(parent, text) {\n XMLComment.__super__.constructor.call(this, parent);\n if (text == null) {\n throw new Error(\"Missing comment text. \" + this.debugInfo());\n }\n this.name = \"#comment\";\n this.type = NodeType.Comment;\n this.value = this.stringify.comment(text);\n }\n\n XMLComment.prototype.clone = function() {\n return Object.create(this);\n };\n\n XMLComment.prototype.toString = function(options) {\n return this.options.writer.comment(this, this.options.writer.filterOptions(options));\n };\n\n return XMLComment;\n\n })(XMLCharacterData);\n\n}).call(this);\n","// Generated by CoffeeScript 1.12.7\n(function() {\n var NodeType, XMLDeclaration, XMLNode, isObject,\n extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; },\n hasProp = {}.hasOwnProperty;\n\n isObject = require('./Utility').isObject;\n\n XMLNode = require('./XMLNode');\n\n NodeType = require('./NodeType');\n\n module.exports = XMLDeclaration = (function(superClass) {\n extend(XMLDeclaration, superClass);\n\n function XMLDeclaration(parent, version, encoding, standalone) {\n var ref;\n XMLDeclaration.__super__.constructor.call(this, parent);\n if (isObject(version)) {\n ref = version, version = ref.version, encoding = ref.encoding, standalone = ref.standalone;\n }\n if (!version) {\n version = '1.0';\n }\n this.type = NodeType.Declaration;\n this.version = this.stringify.xmlVersion(version);\n if (encoding != null) {\n this.encoding = this.stringify.xmlEncoding(encoding);\n }\n if (standalone != null) {\n this.standalone = this.stringify.xmlStandalone(standalone);\n }\n }\n\n XMLDeclaration.prototype.toString = function(options) {\n return this.options.writer.declaration(this, this.options.writer.filterOptions(options));\n };\n\n return XMLDeclaration;\n\n })(XMLNode);\n\n}).call(this);\n","// Generated by Coffe