/**
 * Minified by jsDelivr using Terser v5.37.0.
 * Original file: /npm/jquery-xml2json@0.0.8/src/xml2json.js
 *
 * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files
 */
!function(){var e={attrkey:"$",charkey:"_",normalize:!1};function t(e,t){return t.normalize?(e||"").trim():e}function n(e,r){var o,i,a,u,d={},l={};if(d[r.attrkey]=l,e.attributes&&e.attributes.length>0)for(o=0;o<e.attributes.length;o++){var s=e.attributes.item(o);l[s.nodeName]=s.value}for(0===e.childElementCount&&(d[r.charkey]=t(e.textContent,r)),o=0;o<e.childNodes.length;o++)if(1===(i=e.childNodes[o]).nodeType)if(a=0===i.attributes.length&&0===i.childElementCount?t(i.textContent,r):n(i,r),u=i.nodeName,d.hasOwnProperty(u)){var m=d[u];Array.isArray(m)||(m=[m],d[u]=m),m.push(a)}else d[u]=a;return d}function r(r,o){if(!r)return r;o=o||e,"string"==typeof r&&(r=function(e){var t;if(!e||"string"!=typeof e)return null;try{window.DOMParser?t=(new DOMParser).parseFromString(e,"text/xml"):((t=new ActiveXObject("Microsoft.XMLDOM")).async="false",t.loadXML(e))}catch(e){t=void 0}if(!t||!t.documentElement||t.getElementsByTagName("parsererror").length)throw new Error("Invalid XML: "+e);return t}(r).documentElement);var i={};return void 0===r.attributes?i[r.nodeName]=n(r,o):0===r.attributes.length&&0===r.childElementCount?i[r.nodeName]=t(r.textContent,o):i[r.nodeName]=n(r,o),i}"undefined"!=typeof jQuery?jQuery.extend({xml2json:r}):"undefined"!=typeof module?module.exports=r:"undefined"!=typeof window&&(window.xml2json=r)}();
//# sourceMappingURL=/sm/2b10ffc9f52ca067db5e1566965d169d1a11662daf2f1c53662d6e41186ab054.map