"use strict";var e=require("fs"),t=require("crypto"),r=require("string_decoder"),a=require("events"),o=require("timers"),n=require("path"),i=require("assert"),s=require("util"),c=require("os"),u=require("net"),p=require("url"),l=require("punycode"),d=require("buffer"),m=require("http"),h=require("https"),f=require("stream"),g=require("zlib"),y=require("querystring"),v=require("tls");function b(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var k,w=b(e),x=b(t),j=b(r),E=b(a),S=b(o),_=b(n),P=b(i),C=b(s),T=b(c),O=b(u),A=b(p),I=b(l),F=b(d),R=b(m),D=b(h),N=b(f),z=b(g),B=b(y),$=b(v),L="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},U={},M={};function H(){return k||(k=1,function(){M.defaults={.1:{explicitCharkey:!1,trim:!0,normalize:!0,normalizeTags:!1,attrkey:"@",charkey:"#",explicitArray:!1,ignoreAttrs:!1,mergeAttrs:!1,explicitRoot:!1,validator:null,xmlns:!1,explicitChildren:!1,childkey:"@@",charsAsChildren:!1,includeWhiteChars:!1,async:!1,strict:!0,attrNameProcessors:null,attrValueProcessors:null,tagNameProcessors:null,valueProcessors:null,emptyTag:""},.2:{explicitCharkey:!1,trim:!1,normalize:!1,normalizeTags:!1,attrkey:"$",charkey:"_",explicitArray:!0,ignoreAttrs:!1,mergeAttrs:!1,explicitRoot:!0,validator:null,xmlns:!1,explicitChildren:!1,preserveChildrenOrder:!1,childkey:"$$",charsAsChildren:!1,includeWhiteChars:!1,async:!1,strict:!0,attrNameProcessors:null,attrValueProcessors:null,tagNameProcessors:null,valueProcessors:null,rootName:"root",xmldec:{version:"1.0",encoding:"UTF-8",standalone:!0},doctype:null,renderOpts:{pretty:!0,indent:"  ",newline:"\n"},headless:!1,chunkSize:1e4,emptyTag:"",cdata:!1}}}.call(L)),M}var K,V={},G={},Q={};function X(){return K||(K=1,function(){var e,t,r,a,o,n,i,s=[].slice,c={}.hasOwnProperty;e=function(){var e,t,r,a,n,i;if(i=arguments[0],n=2<=arguments.length?s.call(arguments,1):[],o(Object.assign))Object.assign.apply(null,arguments);else for(e=0,r=n.length;e<r;e++)if(null!=(a=n[e]))for(t in a)c.call(a,t)&&(i[t]=a[t]);return i},o=function(e){return!!e&&"[object Function]"===Object.prototype.toString.call(e)},n=function(e){var t;return!!e&&("function"==(t=typeof e)||"object"===t)},r=function(e){return o(Array.isArray)?Array.isArray(e):"[object Array]"===Object.prototype.toString.call(e)},a=function(e){var t;if(r(e))return!e.length;for(t in e)if(c.call(e,t))return!1;return!0},i=function(e){var t,r;return n(e)&&(r=Object.getPrototypeOf(e))&&(t=r.constructor)&&"function"==typeof t&&t instanceof t&&Function.prototype.toString.call(t)===Function.prototype.toString.call(Object)},t=function(e){return o(e.valueOf)?e.valueOf():e},Q.assign=e,Q.isFunction=o,Q.isObject=n,Q.isArray=r,Q.isEmpty=a,Q.isPlainObject=i,Q.getValue=t}.call(L)),Q}var W,Y={exports:{}};function Z(){return W||(W=1,function(){Y.exports=function(){function e(){}return e.prototype.hasFeature=function(e,t){return!0},e.prototype.createDocumentType=function(e,t,r){throw new Error("This DOM method is not implemented.")},e.prototype.createDocument=function(e,t,r){throw new Error("This DOM method is not implemented.")},e.prototype.createHTMLDocument=function(e){throw new Error("This DOM method is not implemented.")},e.prototype.getFeature=function(e,t){throw new Error("This DOM method is not implemented.")},e}()}.call(L)),Y.exports}var J,ee={exports:{}},te={exports:{}},re={exports:{}};function ae(){return J||(J=1,function(){re.exports=function(){function e(){}return e.prototype.handleError=function(e){throw new Error(e)},e}()}.call(L)),re.exports}var oe,ne,ie={exports:{}};function se(){return oe||(oe=1,function(){ie.exports=function(){function e(e){this.arr=e||[]}return Object.defineProperty(e.prototype,"length",{get:function(){return this.arr.length}}),e.prototype.item=function(e){return this.arr[e]||null},e.prototype.contains=function(e){return-1!==this.arr.indexOf(e)},e}()}.call(L)),ie.exports}function ce(){return ne||(ne=1,function(){var e,t;e=ae(),t=se(),te.exports=function(){function r(){this.defaultParams={"canonical-form":!1,"cdata-sections":!1,comments:!1,"datatype-normalization":!1,"element-content-whitespace":!0,entities:!0,"error-handler":new e,infoset:!0,"validate-if-schema":!1,namespaces:!0,"namespace-declarations":!0,"normalize-characters":!1,"schema-location":"","schema-type":"","split-cdata-sections":!0,validate:!1,"well-formed":!0},this.params=Object.create(this.defaultParams)}return Object.defineProperty(r.prototype,"parameterNames",{get:function(){return new t(Object.keys(this.defaultParams))}}),r.prototype.getParameter=function(e){return this.params.hasOwnProperty(e)?this.params[e]:null},r.prototype.canSetParameter=function(e,t){return!0},r.prototype.setParameter=function(e,t){return null!=t?this.params[e]=t:delete this.params[e]},r}()}.call(L)),te.exports}var ue,pe={exports:{}},le={exports:{}},de={exports:{}};function me(){return ue||(ue=1,function(){de.exports={Element:1,Attribute:2,Text:3,CData:4,EntityReference:5,EntityDeclaration:6,ProcessingInstruction:7,Comment:8,Document:9,DocType:10,DocumentFragment:11,NotationDeclaration:12,Declaration:201,Raw:202,AttributeDeclaration:203,ElementDeclaration:204,Dummy:205}}.call(L)),de.exports}var he,fe={exports:{}};function ge(){return he||(he=1,function(){var e;e=me(),ht(),fe.exports=function(){function t(t,r,a){if(this.parent=t,this.parent&&(this.options=this.parent.options,this.stringify=this.parent.stringify),null==r)throw new Error("Missing attribute name. "+this.debugInfo(r));this.name=this.stringify.name(r),this.value=this.stringify.attValue(a),this.type=e.Attribute,this.isId=!1,this.schemaTypeInfo=null}return Object.defineProperty(t.prototype,"nodeType",{get:function(){return this.type}}),Object.defineProperty(t.prototype,"ownerElement",{get:function(){return this.parent}}),Object.defineProperty(t.prototype,"textContent",{get:function(){return this.value},set:function(e){return this.value=e||""}}),Object.defineProperty(t.prototype,"namespaceURI",{get:function(){return""}}),Object.defineProperty(t.prototype,"prefix",{get:function(){return""}}),Object.defineProperty(t.prototype,"localName",{get:function(){return this.name}}),Object.defineProperty(t.prototype,"specified",{get:function(){return!0}}),t.prototype.clone=function(){return Object.create(this)},t.prototype.toString=function(e){return this.options.writer.attribute(this,this.options.writer.filterOptions(e))},t.prototype.debugInfo=function(e){return null==(e=e||this.name)?"parent: <"+this.parent.name+">":"attribute: {"+e+"}, parent: <"+this.parent.name+">"},t.prototype.isEqualNode=function(e){return e.namespaceURI===this.namespaceURI&&(e.prefix===this.prefix&&(e.localName===this.localName&&e.value===this.value))},t}()}.call(L)),fe.exports}var ye,ve,be={exports:{}};function ke(){return ye||(ye=1,function(){be.exports=function(){function e(e){this.nodes=e}return Object.defineProperty(e.prototype,"length",{get:function(){return Object.keys(this.nodes).length||0}}),e.prototype.clone=function(){return this.nodes=null},e.prototype.getNamedItem=function(e){return this.nodes[e]},e.prototype.setNamedItem=function(e){var t;return t=this.nodes[e.nodeName],this.nodes[e.nodeName]=e,t||null},e.prototype.removeNamedItem=function(e){var t;return t=this.nodes[e],delete this.nodes[e],t||null},e.prototype.item=function(e){return this.nodes[Object.keys(this.nodes)[e]]||null},e.prototype.getNamedItemNS=function(e,t){throw new Error("This DOM method is not implemented.")},e.prototype.setNamedItemNS=function(e){throw new Error("This DOM method is not implemented.")},e.prototype.removeNamedItemNS=function(e,t){throw new Error("This DOM method is not implemented.")},e}()}.call(L)),be.exports}function we(){return ve||(ve=1,function(){var e,t,r,a,o,n,i,s,c={}.hasOwnProperty;s=X(),i=s.isObject,n=s.isFunction,o=s.getValue,a=ht(),e=me(),t=ge(),r=ke(),le.exports=function(a){function s(t,r,a){var o,n,i,c;if(s.__super__.constructor.call(this,t),null==r)throw new Error("Missing element name. "+this.debugInfo());if(this.name=this.stringify.name(r),this.type=e.Element,this.attribs={},this.schemaTypeInfo=null,null!=a&&this.attribute(a),t.type===e.Document&&(this.isRoot=!0,this.documentObject=t,t.rootObject=this,t.children))for(n=0,i=(c=t.children).length;n<i;n++)if((o=c[n]).type===e.DocType){o.name=this.name;break}}return function(e,t){for(var r in t)c.call(t,r)&&(e[r]=t[r]);function a(){this.constructor=e}a.prototype=t.prototype,e.prototype=new a,e.__super__=t.prototype}(s,a),Object.defineProperty(s.prototype,"tagName",{get:function(){return this.name}}),Object.defineProperty(s.prototype,"namespaceURI",{get:function(){return""}}),Object.defineProperty(s.prototype,"prefix",{get:function(){return""}}),Object.defineProperty(s.prototype,"localName",{get:function(){return this.name}}),Object.defineProperty(s.prototype,"id",{get:function(){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),Object.defineProperty(s.prototype,"className",{get:function(){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),Object.defineProperty(s.prototype,"classList",{get:function(){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),Object.defineProperty(s.prototype,"attributes",{get:function(){return this.attributeMap&&this.attributeMap.nodes||(this.attributeMap=new r(this.attribs)),this.attributeMap}}),s.prototype.clone=function(){var e,t,r,a;for(t in(r=Object.create(this)).isRoot&&(r.documentObject=null),r.attribs={},a=this.attribs)c.call(a,t)&&(e=a[t],r.attribs[t]=e.clone());return r.children=[],this.children.forEach((function(e){var t;return(t=e.clone()).parent=r,r.children.push(t)})),r},s.prototype.attribute=function(e,r){var a,s;if(null!=e&&(e=o(e)),i(e))for(a in e)c.call(e,a)&&(s=e[a],this.attribute(a,s));else n(r)&&(r=r.apply()),this.options.keepNullAttributes&&null==r?this.attribs[e]=new t(this,e,""):null!=r&&(this.attribs[e]=new t(this,e,r));return this},s.prototype.removeAttribute=function(e){var t,r,a;if(null==e)throw new Error("Missing attribute name. "+this.debugInfo());if(e=o(e),Array.isArray(e))for(r=0,a=e.length;r<a;r++)t=e[r],delete this.attribs[t];else delete this.attribs[e];return this},s.prototype.toString=function(e){return this.options.writer.element(this,this.options.writer.filterOptions(e))},s.prototype.att=function(e,t){return this.attribute(e,t)},s.prototype.a=function(e,t){return this.attribute(e,t)},s.prototype.getAttribute=function(e){return this.attribs.hasOwnProperty(e)?this.attribs[e].value:null},s.prototype.setAttribute=function(e,t){throw new Error("This DOM method is not implemented."+this.debugInfo())},s.prototype.getAttributeNode=function(e){return this.attribs.hasOwnProperty(e)?this.attribs[e]:null},s.prototype.setAttributeNode=function(e){throw new Error("This DOM method is not implemented."+this.debugInfo())},s.prototype.removeAttributeNode=function(e){throw new Error("This DOM method is not implemented."+this.debugInfo())},s.prototype.getElementsByTagName=function(e){throw new Error("This DOM method is not implemented."+this.debugInfo())},s.prototype.getAttributeNS=function(e,t){throw new Error("This DOM method is not implemented."+this.debugInfo())},s.prototype.setAttributeNS=function(e,t,r){throw new Error("This DOM method is not implemented."+this.debugInfo())},s.prototype.removeAttributeNS=function(e,t){throw new Error("This DOM method is not implemented."+this.debugInfo())},s.prototype.getAttributeNodeNS=function(e,t){throw new Error("This DOM method is not implemented."+this.debugInfo())},s.prototype.setAttributeNodeNS=function(e){throw new Error("This DOM method is not implemented."+this.debugInfo())},s.prototype.getElementsByTagNameNS=function(e,t){throw new Error("This DOM method is not implemented."+this.debugInfo())},s.prototype.hasAttribute=function(e){return this.attribs.hasOwnProperty(e)},s.prototype.hasAttributeNS=function(e,t){throw new Error("This DOM method is not implemented."+this.debugInfo())},s.prototype.setIdAttribute=function(e,t){return this.attribs.hasOwnProperty(e)?this.attribs[e].isId:t},s.prototype.setIdAttributeNS=function(e,t,r){throw new Error("This DOM method is not implemented."+this.debugInfo())},s.prototype.setIdAttributeNode=function(e,t){throw new Error("This DOM method is not implemented."+this.debugInfo())},s.prototype.getElementsByTagName=function(e){throw new Error("This DOM method is not implemented."+this.debugInfo())},s.prototype.getElementsByTagNameNS=function(e,t){throw new Error("This DOM method is not implemented."+this.debugInfo())},s.prototype.getElementsByClassName=function(e){throw new Error("This DOM method is not implemented."+this.debugInfo())},s.prototype.isEqualNode=function(e){var t,r,a;if(!s.__super__.isEqualNode.apply(this,arguments).isEqualNode(e))return!1;if(e.namespaceURI!==this.namespaceURI)return!1;if(e.prefix!==this.prefix)return!1;if(e.localName!==this.localName)return!1;if(e.attribs.length!==this.attribs.length)return!1;for(t=r=0,a=this.attribs.length-1;0<=a?r<=a:r>=a;t=0<=a?++r:--r)if(!this.attribs[t].isEqualNode(e.attribs[t]))return!1;return!0},s}(a)}.call(L)),le.exports}var xe,je,Ee={exports:{}},Se={exports:{}};function _e(){return xe||(xe=1,function(){var e,t={}.hasOwnProperty;e=ht(),Se.exports=function(e){function r(e){r.__super__.constructor.call(this,e),this.value=""}return function(e,r){for(var a in r)t.call(r,a)&&(e[a]=r[a]);function o(){this.constructor=e}o.prototype=r.prototype,e.prototype=new o,e.__super__=r.prototype}(r,e),Object.defineProperty(r.prototype,"data",{get:function(){return this.value},set:function(e){return this.value=e||""}}),Object.defineProperty(r.prototype,"length",{get:function(){return this.value.length}}),Object.defineProperty(r.prototype,"textContent",{get:function(){return this.value},set:function(e){return this.value=e||""}}),r.prototype.clone=function(){return Object.create(this)},r.prototype.substringData=function(e,t){throw new Error("This DOM method is not implemented."+this.debugInfo())},r.prototype.appendData=function(e){throw new Error("This DOM method is not implemented."+this.debugInfo())},r.prototype.insertData=function(e,t){throw new Error("This DOM method is not implemented."+this.debugInfo())},r.prototype.deleteData=function(e,t){throw new Error("This DOM method is not implemented."+this.debugInfo())},r.prototype.replaceData=function(e,t,r){throw new Error("This DOM method is not implemented."+this.debugInfo())},r.prototype.isEqualNode=function(e){return!!r.__super__.isEqualNode.apply(this,arguments).isEqualNode(e)&&e.data===this.data},r}(e)}.call(L)),Se.exports}function Pe(){return je||(je=1,function(){var e,t,r={}.hasOwnProperty;e=me(),t=_e(),Ee.exports=function(t){function a(t,r){if(a.__super__.constructor.call(this,t),null==r)throw new Error("Missing CDATA text. "+this.debugInfo());this.name="#cdata-section",this.type=e.CData,this.value=this.stringify.cdata(r)}return function(e,t){for(var a in t)r.call(t,a)&&(e[a]=t[a]);function o(){this.constructor=e}o.prototype=t.prototype,e.prototype=new o,e.__super__=t.prototype}(a,t),a.prototype.clone=function(){return Object.create(this)},a.prototype.toString=function(e){return this.options.writer.cdata(this,this.options.writer.filterOptions(e))},a}(t)}.call(L)),Ee.exports}var Ce,Te={exports:{}};function Oe(){return Ce||(Ce=1,function(){var e,t,r={}.hasOwnProperty;e=me(),t=_e(),Te.exports=function(t){function a(t,r){if(a.__super__.constructor.call(this,t),null==r)throw new Error("Missing comment text. "+this.debugInfo());this.name="#comment",this.type=e.Comment,this.value=this.stringify.comment(r)}return function(e,t){for(var a in t)r.call(t,a)&&(e[a]=t[a]);function o(){this.constructor=e}o.prototype=t.prototype,e.prototype=new o,e.__super__=t.prototype}(a,t),a.prototype.clone=function(){return Object.create(this)},a.prototype.toString=function(e){return this.options.writer.comment(this,this.options.writer.filterOptions(e))},a}(t)}.call(L)),Te.exports}var Ae,Ie={exports:{}};function Fe(){return Ae||(Ae=1,function(){var e,t,r,a={}.hasOwnProperty;r=X().isObject,t=ht(),e=me(),Ie.exports=function(t){function o(t,a,n,i){var s;o.__super__.constructor.call(this,t),r(a)&&(a=(s=a).version,n=s.encoding,i=s.standalone),a||(a="1.0"),this.type=e.Declaration,this.version=this.stringify.xmlVersion(a),null!=n&&(this.encoding=this.stringify.xmlEncoding(n)),null!=i&&(this.standalone=this.stringify.xmlStandalone(i))}return function(e,t){for(var r in t)a.call(t,r)&&(e[r]=t[r]);function o(){this.constructor=e}o.prototype=t.prototype,e.prototype=new o,e.__super__=t.prototype}(o,t),o.prototype.toString=function(e){return this.options.writer.declaration(this,this.options.writer.filterOptions(e))},o}(t)}.call(L)),Ie.exports}var Re,De={exports:{}},Ne={exports:{}};function ze(){return Re||(Re=1,function(){var e,t,r={}.hasOwnProperty;t=ht(),e=me(),Ne.exports=function(t){function a(t,r,o,n,i,s){if(a.__super__.constructor.call(this,t),null==r)throw new Error("Missing DTD element name. "+this.debugInfo());if(null==o)throw new Error("Missing DTD attribute name. "+this.debugInfo(r));if(!n)throw new Error("Missing DTD attribute type. "+this.debugInfo(r));if(!i)throw new Error("Missing DTD attribute default. "+this.debugInfo(r));if(0!==i.indexOf("#")&&(i="#"+i),!i.match(/^(#REQUIRED|#IMPLIED|#FIXED|#DEFAULT)$/))throw new Error("Invalid default value type; expected: #REQUIRED, #IMPLIED, #FIXED or #DEFAULT. "+this.debugInfo(r));if(s&&!i.match(/^(#FIXED|#DEFAULT)$/))throw new Error("Default value only applies to #FIXED or #DEFAULT. "+this.debugInfo(r));this.elementName=this.stringify.name(r),this.type=e.AttributeDeclaration,this.attributeName=this.stringify.name(o),this.attributeType=this.stringify.dtdAttType(n),s&&(this.defaultValue=this.stringify.dtdAttDefault(s)),this.defaultValueType=i}return function(e,t){for(var a in t)r.call(t,a)&&(e[a]=t[a]);function o(){this.constructor=e}o.prototype=t.prototype,e.prototype=new o,e.__super__=t.prototype}(a,t),a.prototype.toString=function(e){return this.options.writer.dtdAttList(this,this.options.writer.filterOptions(e))},a}(t)}.call(L)),Ne.exports}var Be,$e={exports:{}};function Le(){return Be||(Be=1,function(){var e,t,r,a={}.hasOwnProperty;r=X().isObject,t=ht(),e=me(),$e.exports=function(t){function o(t,a,n,i){if(o.__super__.constructor.call(this,t),null==n)throw new Error("Missing DTD entity name. "+this.debugInfo(n));if(null==i)throw new Error("Missing DTD entity value. "+this.debugInfo(n));if(this.pe=!!a,this.name=this.stringify.name(n),this.type=e.EntityDeclaration,r(i)){if(!i.pubID&&!i.sysID)throw new Error("Public and/or system identifiers are required for an external entity. "+this.debugInfo(n));if(i.pubID&&!i.sysID)throw new Error("System identifier is required for a public external entity. "+this.debugInfo(n));if(this.internal=!1,null!=i.pubID&&(this.pubID=this.stringify.dtdPubID(i.pubID)),null!=i.sysID&&(this.sysID=this.stringify.dtdSysID(i.sysID)),null!=i.nData&&(this.nData=this.stringify.dtdNData(i.nData)),this.pe&&this.nData)throw new Error("Notation declaration is not allowed in a parameter entity. "+this.debugInfo(n))}else this.value=this.stringify.dtdEntityValue(i),this.internal=!0}return function(e,t){for(var r in t)a.call(t,r)&&(e[r]=t[r]);function o(){this.constructor=e}o.prototype=t.prototype,e.prototype=new o,e.__super__=t.prototype}(o,t),Object.defineProperty(o.prototype,"publicId",{get:function(){return this.pubID}}),Object.defineProperty(o.prototype,"systemId",{get:function(){return this.sysID}}),Object.defineProperty(o.prototype,"notationName",{get:function(){return this.nData||null}}),Object.defineProperty(o.prototype,"inputEncoding",{get:function(){return null}}),Object.defineProperty(o.prototype,"xmlEncoding",{get:function(){return null}}),Object.defineProperty(o.prototype,"xmlVersion",{get:function(){return null}}),o.prototype.toString=function(e){return this.options.writer.dtdEntity(this,this.options.writer.filterOptions(e))},o}(t)}.call(L)),$e.exports}var qe,Ue={exports:{}};function Me(){return qe||(qe=1,function(){var e,t,r={}.hasOwnProperty;t=ht(),e=me(),Ue.exports=function(t){function a(t,r,o){if(a.__super__.constructor.call(this,t),null==r)throw new Error("Missing DTD element name. "+this.debugInfo());o||(o="(#PCDATA)"),Array.isArray(o)&&(o="("+o.join(",")+")"),this.name=this.stringify.name(r),this.type=e.ElementDeclaration,this.value=this.stringify.dtdElementValue(o)}return function(e,t){for(var a in t)r.call(t,a)&&(e[a]=t[a]);function o(){this.constructor=e}o.prototype=t.prototype,e.prototype=new o,e.__super__=t.prototype}(a,t),a.prototype.toString=function(e){return this.options.writer.dtdElement(this,this.options.writer.filterOptions(e))},a}(t)}.call(L)),Ue.exports}var He,Ke,Ve={exports:{}};function Ge(){return He||(He=1,function(){var e,t,r={}.hasOwnProperty;t=ht(),e=me(),Ve.exports=function(t){function a(t,r,o){if(a.__super__.constructor.call(this,t),null==r)throw new Error("Missing DTD notation name. "+this.debugInfo(r));if(!o.pubID&&!o.sysID)throw new Error("Public or system identifiers are required for an external entity. "+this.debugInfo(r));this.name=this.stringify.name(r),this.type=e.NotationDeclaration,null!=o.pubID&&(this.pubID=this.stringify.dtdPubID(o.pubID)),null!=o.sysID&&(this.sysID=this.stringify.dtdSysID(o.sysID))}return function(e,t){for(var a in t)r.call(t,a)&&(e[a]=t[a]);function o(){this.constructor=e}o.prototype=t.prototype,e.prototype=new o,e.__super__=t.prototype}(a,t),Object.defineProperty(a.prototype,"publicId",{get:function(){return this.pubID}}),Object.defineProperty(a.prototype,"systemId",{get:function(){return this.sysID}}),a.prototype.toString=function(e){return this.options.writer.dtdNotation(this,this.options.writer.filterOptions(e))},a}(t)}.call(L)),Ve.exports}function Qe(){return Ke||(Ke=1,function(){var e,t,r,a,o,n,i,s,c={}.hasOwnProperty;s=X().isObject,i=ht(),e=me(),t=ze(),a=Le(),r=Me(),o=Ge(),n=ke(),De.exports=function(i){function u(t,r,a){var o,n,i,c,p,l;if(u.__super__.constructor.call(this,t),this.type=e.DocType,t.children)for(n=0,i=(c=t.children).length;n<i;n++)if((o=c[n]).type===e.Element){this.name=o.name;break}this.documentObject=t,s(r)&&(r=(p=r).pubID,a=p.sysID),null==a&&(a=(l=[r,a])[0],r=l[1]),null!=r&&(this.pubID=this.stringify.dtdPubID(r)),null!=a&&(this.sysID=this.stringify.dtdSysID(a))}return function(e,t){for(var r in t)c.call(t,r)&&(e[r]=t[r]);function a(){this.constructor=e}a.prototype=t.prototype,e.prototype=new a,e.__super__=t.prototype}(u,i),Object.defineProperty(u.prototype,"entities",{get:function(){var t,r,a,o,i;for(o={},r=0,a=(i=this.children).length;r<a;r++)(t=i[r]).type!==e.EntityDeclaration||t.pe||(o[t.name]=t);return new n(o)}}),Object.defineProperty(u.prototype,"notations",{get:function(){var t,r,a,o,i;for(o={},r=0,a=(i=this.children).length;r<a;r++)(t=i[r]).type===e.NotationDeclaration&&(o[t.name]=t);return new n(o)}}),Object.defineProperty(u.prototype,"publicId",{get:function(){return this.pubID}}),Object.defineProperty(u.prototype,"systemId",{get:function(){return this.sysID}}),Object.defineProperty(u.prototype,"internalSubset",{get:function(){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),u.prototype.element=function(e,t){var a;return a=new r(this,e,t),this.children.push(a),this},u.prototype.attList=function(e,r,a,o,n){var i;return i=new t(this,e,r,a,o,n),this.children.push(i),this},u.prototype.entity=function(e,t){var r;return r=new a(this,!1,e,t),this.children.push(r),this},u.prototype.pEntity=function(e,t){var r;return r=new a(this,!0,e,t),this.children.push(r),this},u.prototype.notation=function(e,t){var r;return r=new o(this,e,t),this.children.push(r),this},u.prototype.toString=function(e){return this.options.writer.docType(this,this.options.writer.filterOptions(e))},u.prototype.ele=function(e,t){return this.element(e,t)},u.prototype.att=function(e,t,r,a,o){return this.attList(e,t,r,a,o)},u.prototype.ent=function(e,t){return this.entity(e,t)},u.prototype.pent=function(e,t){return this.pEntity(e,t)},u.prototype.not=function(e,t){return this.notation(e,t)},u.prototype.up=function(){return this.root()||this.documentObject},u.prototype.isEqualNode=function(e){return!!u.__super__.isEqualNode.apply(this,arguments).isEqualNode(e)&&(e.name===this.name&&(e.publicId===this.publicId&&e.systemId===this.systemId))},u}(i)}.call(L)),De.exports}var Xe,We={exports:{}};function Ye(){return Xe||(Xe=1,function(){var e,t,r={}.hasOwnProperty;e=me(),t=ht(),We.exports=function(t){function a(t,r){if(a.__super__.constructor.call(this,t),null==r)throw new Error("Missing raw text. "+this.debugInfo());this.type=e.Raw,this.value=this.stringify.raw(r)}return function(e,t){for(var a in t)r.call(t,a)&&(e[a]=t[a]);function o(){this.constructor=e}o.prototype=t.prototype,e.prototype=new o,e.__super__=t.prototype}(a,t),a.prototype.clone=function(){return Object.create(this)},a.prototype.toString=function(e){return this.options.writer.raw(this,this.options.writer.filterOptions(e))},a}(t)}.call(L)),We.exports}var Ze,Je={exports:{}};function et(){return Ze||(Ze=1,function(){var e,t,r={}.hasOwnProperty;e=me(),t=_e(),Je.exports=function(t){function a(t,r){if(a.__super__.constructor.call(this,t),null==r)throw new Error("Missing element text. "+this.debugInfo());this.name="#text",this.type=e.Text,this.value=this.stringify.text(r)}return function(e,t){for(var a in t)r.call(t,a)&&(e[a]=t[a]);function o(){this.constructor=e}o.prototype=t.prototype,e.prototype=new o,e.__super__=t.prototype}(a,t),Object.defineProperty(a.prototype,"isElementContentWhitespace",{get:function(){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),Object.defineProperty(a.prototype,"wholeText",{get:function(){var e,t,r;for(r="",t=this.previousSibling;t;)r=t.data+r,t=t.previousSibling;for(r+=this.data,e=this.nextSibling;e;)r+=e.data,e=e.nextSibling;return r}}),a.prototype.clone=function(){return Object.create(this)},a.prototype.toString=function(e){return this.options.writer.text(this,this.options.writer.filterOptions(e))},a.prototype.splitText=function(e){throw new Error("This DOM method is not implemented."+this.debugInfo())},a.prototype.replaceWholeText=function(e){throw new Error("This DOM method is not implemented."+this.debugInfo())},a}(t)}.call(L)),Je.exports}var tt,rt={exports:{}};function at(){return tt||(tt=1,function(){var e,t,r={}.hasOwnProperty;e=me(),t=_e(),rt.exports=function(t){function a(t,r,o){if(a.__super__.constructor.call(this,t),null==r)throw new Error("Missing instruction target. "+this.debugInfo());this.type=e.ProcessingInstruction,this.target=this.stringify.insTarget(r),this.name=this.target,o&&(this.value=this.stringify.insValue(o))}return function(e,t){for(var a in t)r.call(t,a)&&(e[a]=t[a]);function o(){this.constructor=e}o.prototype=t.prototype,e.prototype=new o,e.__super__=t.prototype}(a,t),a.prototype.clone=function(){return Object.create(this)},a.prototype.toString=function(e){return this.options.writer.processingInstruction(this,this.options.writer.filterOptions(e))},a.prototype.isEqualNode=function(e){return!!a.__super__.isEqualNode.apply(this,arguments).isEqualNode(e)&&e.target===this.target},a}(t)}.call(L)),rt.exports}var ot,nt={exports:{}};function it(){return ot||(ot=1,function(){var e,t,r={}.hasOwnProperty;t=ht(),e=me(),nt.exports=function(t){function a(t){a.__super__.constructor.call(this,t),this.type=e.Dummy}return function(e,t){for(var a in t)r.call(t,a)&&(e[a]=t[a]);function o(){this.constructor=e}o.prototype=t.prototype,e.prototype=new o,e.__super__=t.prototype}(a,t),a.prototype.clone=function(){return Object.create(this)},a.prototype.toString=function(e){return""},a}(t)}.call(L)),nt.exports}var st,ct={exports:{}};function ut(){return st||(st=1,function(){ct.exports=function(){function e(e){this.nodes=e}return Object.defineProperty(e.prototype,"length",{get:function(){return this.nodes.length||0}}),e.prototype.clone=function(){return this.nodes=null},e.prototype.item=function(e){return this.nodes[e]||null},e}()}.call(L)),ct.exports}var pt,lt,dt={exports:{}};function mt(){return pt||(pt=1,function(){dt.exports={Disconnected:1,Preceding:2,Following:4,Contains:8,ContainedBy:16,ImplementationSpecific:32}}.call(L)),dt.exports}function ht(){return lt||(lt=1,function(){var e,t,r,a,o,n,i,s,c,u,p,l,d,m,h,f,g,y={}.hasOwnProperty;g=X(),f=g.isObject,h=g.isFunction,m=g.isEmpty,d=g.getValue,s=null,r=null,a=null,o=null,n=null,p=null,l=null,u=null,i=null,t=null,c=null,e=null,pe.exports=function(){function g(d){this.parent=d,this.parent&&(this.options=this.parent.options,this.stringify=this.parent.stringify),this.value=null,this.children=[],this.baseURI=null,s||(s=we(),r=Pe(),a=Oe(),o=Fe(),n=Qe(),p=Ye(),l=et(),u=at(),i=it(),t=me(),c=ut(),ke(),e=mt())}return Object.defineProperty(g.prototype,"nodeName",{get:function(){return this.name}}),Object.defineProperty(g.prototype,"nodeType",{get:function(){return this.type}}),Object.defineProperty(g.prototype,"nodeValue",{get:function(){return this.value}}),Object.defineProperty(g.prototype,"parentNode",{get:function(){return this.parent}}),Object.defineProperty(g.prototype,"childNodes",{get:function(){return this.childNodeList&&this.childNodeList.nodes||(this.childNodeList=new c(this.children)),this.childNodeList}}),Object.defineProperty(g.prototype,"firstChild",{get:function(){return this.children[0]||null}}),Object.defineProperty(g.prototype,"lastChild",{get:function(){return this.children[this.children.length-1]||null}}),Object.defineProperty(g.prototype,"previousSibling",{get:function(){var e;return e=this.parent.children.indexOf(this),this.parent.children[e-1]||null}}),Object.defineProperty(g.prototype,"nextSibling",{get:function(){var e;return e=this.parent.children.indexOf(this),this.parent.children[e+1]||null}}),Object.defineProperty(g.prototype,"ownerDocument",{get:function(){return this.document()||null}}),Object.defineProperty(g.prototype,"textContent",{get:function(){var e,r,a,o,n;if(this.nodeType===t.Element||this.nodeType===t.DocumentFragment){for(n="",r=0,a=(o=this.children).length;r<a;r++)(e=o[r]).textContent&&(n+=e.textContent);return n}return null},set:function(e){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),g.prototype.setParent=function(e){var t,r,a,o,n;for(this.parent=e,e&&(this.options=e.options,this.stringify=e.stringify),n=[],r=0,a=(o=this.children).length;r<a;r++)t=o[r],n.push(t.setParent(this));return n},g.prototype.element=function(e,t,r){var a,o,n,i,s,c,u,p,l,g,v;if(c=null,null===t&&null==r&&(t=(l=[{},null])[0],r=l[1]),null==t&&(t={}),t=d(t),f(t)||(r=(g=[t,r])[0],t=g[1]),null!=e&&(e=d(e)),Array.isArray(e))for(n=0,u=e.length;n<u;n++)o=e[n],c=this.element(o);else if(h(e))c=this.element(e.apply());else if(f(e)){for(s in e)if(y.call(e,s))if(v=e[s],h(v)&&(v=v.apply()),!this.options.ignoreDecorators&&this.stringify.convertAttKey&&0===s.indexOf(this.stringify.convertAttKey))c=this.attribute(s.substr(this.stringify.convertAttKey.length),v);else if(!this.options.separateArrayItems&&Array.isArray(v)&&m(v))c=this.dummy();else if(f(v)&&m(v))c=this.element(s);else if(this.options.keepNullNodes||null!=v)if(!this.options.separateArrayItems&&Array.isArray(v))for(i=0,p=v.length;i<p;i++)o=v[i],(a={})[s]=o,c=this.element(a);else f(v)?!this.options.ignoreDecorators&&this.stringify.convertTextKey&&0===s.indexOf(this.stringify.convertTextKey)?c=this.element(v):(c=this.element(s)).element(v):c=this.element(s,v);else c=this.dummy()}else c=this.options.keepNullNodes||null!==r?!this.options.ignoreDecorators&&this.stringify.convertTextKey&&0===e.indexOf(this.stringify.convertTextKey)?this.text(r):!this.options.ignoreDecorators&&this.stringify.convertCDataKey&&0===e.indexOf(this.stringify.convertCDataKey)?this.cdata(r):!this.options.ignoreDecorators&&this.stringify.convertCommentKey&&0===e.indexOf(this.stringify.convertCommentKey)?this.comment(r):!this.options.ignoreDecorators&&this.stringify.convertRawKey&&0===e.indexOf(this.stringify.convertRawKey)?this.raw(r):!this.options.ignoreDecorators&&this.stringify.convertPIKey&&0===e.indexOf(this.stringify.convertPIKey)?this.instruction(e.substr(this.stringify.convertPIKey.length),r):this.node(e,t,r):this.dummy();if(null==c)throw new Error("Could not create any elements with: "+e+". "+this.debugInfo());return c},g.prototype.insertBefore=function(e,t,r){var a,o,n,i,s;if(null!=e?e.type:void 0)return i=t,(n=e).setParent(this),i?(o=children.indexOf(i),s=children.splice(o),children.push(n),Array.prototype.push.apply(children,s)):children.push(n),n;if(this.isRoot)throw new Error("Cannot insert elements at root level. "+this.debugInfo(e));return o=this.parent.children.indexOf(this),s=this.parent.children.splice(o),a=this.parent.element(e,t,r),Array.prototype.push.apply(this.parent.children,s),a},g.prototype.insertAfter=function(e,t,r){var a,o,n;if(this.isRoot)throw new Error("Cannot insert elements at root level. "+this.debugInfo(e));return o=this.parent.children.indexOf(this),n=this.parent.children.splice(o+1),a=this.parent.element(e,t,r),Array.prototype.push.apply(this.parent.children,n),a},g.prototype.remove=function(){var e;if(this.isRoot)throw new Error("Cannot remove the root element. "+this.debugInfo());return e=this.parent.children.indexOf(this),[].splice.apply(this.parent.children,[e,e-e+1].concat([])),this.parent},g.prototype.node=function(e,t,r){var a,o;return null!=e&&(e=d(e)),t||(t={}),t=d(t),f(t)||(r=(o=[t,r])[0],t=o[1]),a=new s(this,e,t),null!=r&&a.text(r),this.children.push(a),a},g.prototype.text=function(e){var t;return f(e)&&this.element(e),t=new l(this,e),this.children.push(t),this},g.prototype.cdata=function(e){var t;return t=new r(this,e),this.children.push(t),this},g.prototype.comment=function(e){var t;return t=new a(this,e),this.children.push(t),this},g.prototype.commentBefore=function(e){var t,r;return t=this.parent.children.indexOf(this),r=this.parent.children.splice(t),this.parent.comment(e),Array.prototype.push.apply(this.parent.children,r),this},g.prototype.commentAfter=function(e){var t,r;return t=this.parent.children.indexOf(this),r=this.parent.children.splice(t+1),this.parent.comment(e),Array.prototype.push.apply(this.parent.children,r),this},g.prototype.raw=function(e){var t;return t=new p(this,e),this.children.push(t),this},g.prototype.dummy=function(){return new i(this)},g.prototype.instruction=function(e,t){var r,a,o,n,i;if(null!=e&&(e=d(e)),null!=t&&(t=d(t)),Array.isArray(e))for(n=0,i=e.length;n<i;n++)r=e[n],this.instruction(r);else if(f(e))for(r in e)y.call(e,r)&&(a=e[r],this.instruction(r,a));else h(t)&&(t=t.apply()),o=new u(this,e,t),this.children.push(o);return this},g.prototype.instructionBefore=function(e,t){var r,a;return r=this.parent.children.indexOf(this),a=this.parent.children.splice(r),this.parent.instruction(e,t),Array.prototype.push.apply(this.parent.children,a),this},g.prototype.instructionAfter=function(e,t){var r,a;return r=this.parent.children.indexOf(this),a=this.parent.children.splice(r+1),this.parent.instruction(e,t),Array.prototype.push.apply(this.parent.children,a),this},g.prototype.declaration=function(e,r,a){var n,i;return n=this.document(),i=new o(n,e,r,a),0===n.children.length?n.children.unshift(i):n.children[0].type===t.Declaration?n.children[0]=i:n.children.unshift(i),n.root()||n},g.prototype.dtd=function(e,r){var a,o,i,s,c,u,p,l,d;for(a=this.document(),o=new n(a,e,r),i=s=0,u=(l=a.children).length;s<u;i=++s)if(l[i].type===t.DocType)return a.children[i]=o,o;for(i=c=0,p=(d=a.children).length;c<p;i=++c)if(d[i].isRoot)return a.children.splice(i,0,o),o;return a.children.push(o),o},g.prototype.up=function(){if(this.isRoot)throw new Error("The root node has no parent. Use doc() if you need to get the document object.");return this.parent},g.prototype.root=function(){var e;for(e=this;e;){if(e.type===t.Document)return e.rootObject;if(e.isRoot)return e;e=e.parent}},g.prototype.document=function(){var e;for(e=this;e;){if(e.type===t.Document)return e;e=e.parent}},g.prototype.end=function(e){return this.document().end(e)},g.prototype.prev=function(){var e;if((e=this.parent.children.indexOf(this))<1)throw new Error("Already at the first node. "+this.debugInfo());return this.parent.children[e-1]},g.prototype.next=function(){var e;if(-1===(e=this.parent.children.indexOf(this))||e===this.parent.children.length-1)throw new Error("Already at the last node. "+this.debugInfo());return this.parent.children[e+1]},g.prototype.importDocument=function(e){var t;return(t=e.root().clone()).parent=this,t.isRoot=!1,this.children.push(t),this},g.prototype.debugInfo=function(e){var t,r;return null!=(e=e||this.name)||(null!=(t=this.parent)?t.name:void 0)?null==e?"parent: <"+this.parent.name+">":(null!=(r=this.parent)?r.name:void 0)?"node: <"+e+">, parent: <"+this.parent.name+">":"node: <"+e+">":""},g.prototype.ele=function(e,t,r){return this.element(e,t,r)},g.prototype.nod=function(e,t,r){return this.node(e,t,r)},g.prototype.txt=function(e){return this.text(e)},g.prototype.dat=function(e){return this.cdata(e)},g.prototype.com=function(e){return this.comment(e)},g.prototype.ins=function(e,t){return this.instruction(e,t)},g.prototype.doc=function(){return this.document()},g.prototype.dec=function(e,t,r){return this.declaration(e,t,r)},g.prototype.e=function(e,t,r){return this.element(e,t,r)},g.prototype.n=function(e,t,r){return this.node(e,t,r)},g.prototype.t=function(e){return this.text(e)},g.prototype.d=function(e){return this.cdata(e)},g.prototype.c=function(e){return this.comment(e)},g.prototype.r=function(e){return this.raw(e)},g.prototype.i=function(e,t){return this.instruction(e,t)},g.prototype.u=function(){return this.up()},g.prototype.importXMLBuilder=function(e){return this.importDocument(e)},g.prototype.replaceChild=function(e,t){throw new Error("This DOM method is not implemented."+this.debugInfo())},g.prototype.removeChild=function(e){throw new Error("This DOM method is not implemented."+this.debugInfo())},g.prototype.appendChild=function(e){throw new Error("This DOM method is not implemented."+this.debugInfo())},g.prototype.hasChildNodes=function(){return 0!==this.children.length},g.prototype.cloneNode=function(e){throw new Error("This DOM method is not implemented."+this.debugInfo())},g.prototype.normalize=function(){throw new Error("This DOM method is not implemented."+this.debugInfo())},g.prototype.isSupported=function(e,t){return!0},g.prototype.hasAttributes=function(){return 0!==this.attribs.length},g.prototype.compareDocumentPosition=function(t){var r,a;return(r=this)===t?0:this.document()!==t.document()?(a=e.Disconnected|e.ImplementationSpecific,Math.random()<.5?a|=e.Preceding:a|=e.Following,a):r.isAncestor(t)?e.Contains|e.Preceding:r.isDescendant(t)?e.Contains|e.Following:r.isPreceding(t)?e.Preceding:e.Following},g.prototype.isSameNode=function(e){throw new Error("This DOM method is not implemented."+this.debugInfo())},g.prototype.lookupPrefix=function(e){throw new Error("This DOM method is not implemented."+this.debugInfo())},g.prototype.isDefaultNamespace=function(e){throw new Error("This DOM method is not implemented."+this.debugInfo())},g.prototype.lookupNamespaceURI=function(e){throw new Error("This DOM method is not implemented."+this.debugInfo())},g.prototype.isEqualNode=function(e){var t,r,a;if(e.nodeType!==this.nodeType)return!1;if(e.children.length!==this.children.length)return!1;for(t=r=0,a=this.children.length-1;0<=a?r<=a:r>=a;t=0<=a?++r:--r)if(!this.children[t].isEqualNode(e.children[t]))return!1;return!0},g.prototype.getFeature=function(e,t){throw new Error("This DOM method is not implemented."+this.debugInfo())},g.prototype.setUserData=function(e,t,r){throw new Error("This DOM method is not implemented."+this.debugInfo())},g.prototype.getUserData=function(e){throw new Error("This DOM method is not implemented."+this.debugInfo())},g.prototype.contains=function(e){return!!e&&(e===this||this.isDescendant(e))},g.prototype.isDescendant=function(e){var t,r,a,o;for(r=0,a=(o=this.children).length;r<a;r++){if(e===(t=o[r]))return!0;if(t.isDescendant(e))return!0}return!1},g.prototype.isAncestor=function(e){return e.isDescendant(this)},g.prototype.isPreceding=function(e){var t,r;return t=this.treePosition(e),r=this.treePosition(this),-1!==t&&-1!==r&&t<r},g.prototype.isFollowing=function(e){var t,r;return t=this.treePosition(e),r=this.treePosition(this),-1!==t&&-1!==r&&t>r},g.prototype.treePosition=function(e){var t,r;return r=0,t=!1,this.foreachTreeNode(this.document(),(function(a){if(r++,!t&&a===e)return t=!0})),t?r:-1},g.prototype.foreachTreeNode=function(e,t){var r,a,o,n,i;for(e||(e=this.document()),a=0,o=(n=e.children).length;a<o;a++){if(i=t(r=n[a]))return i;if(i=this.foreachTreeNode(r,t))return i}},g}()}.call(L)),pe.exports}var ft,gt={exports:{}};function yt(){return ft||(ft=1,function(){var e=function(e,t){return function(){return e.apply(t,arguments)}},t={}.hasOwnProperty;gt.exports=function(){function r(r){var a,o,n;for(a in this.assertLegalName=e(this.assertLegalName,this),this.assertLegalChar=e(this.assertLegalChar,this),r||(r={}),this.options=r,this.options.version||(this.options.version="1.0"),o=r.stringify||{})t.call(o,a)&&(n=o[a],this[a]=n)}return r.prototype.name=function(e){return this.options.noValidation?e:this.assertLegalName(""+e||"")},r.prototype.text=function(e){return this.options.noValidation?e:this.assertLegalChar(this.textEscape(""+e||""))},r.prototype.cdata=function(e){return this.options.noValidation?e:(e=(e=""+e||"").replace("]]>","]]]]><![CDATA[>"),this.assertLegalChar(e))},r.prototype.comment=function(e){if(this.options.noValidation)return e;if((e=""+e||"").match(/--/))throw new Error("Comment text cannot contain double-hypen: "+e);return this.assertLegalChar(e)},r.prototype.raw=function(e){return this.options.noValidation?e:""+e||""},r.prototype.attValue=function(e){return this.options.noValidation?e:this.assertLegalChar(this.attEscape(e=""+e||""))},r.prototype.insTarget=function(e){return this.options.noValidation?e:this.assertLegalChar(""+e||"")},r.prototype.insValue=function(e){if(this.options.noValidation)return e;if((e=""+e||"").match(/\?>/))throw new Error("Invalid processing instruction value: "+e);return this.assertLegalChar(e)},r.prototype.xmlVersion=function(e){if(this.options.noValidation)return e;if(!(e=""+e||"").match(/1\.[0-9]+/))throw new Error("Invalid version number: "+e);return e},r.prototype.xmlEncoding=function(e){if(this.options.noValidation)return e;if(!(e=""+e||"").match(/^[A-Za-z](?:[A-Za-z0-9._-])*$/))throw new Error("Invalid encoding: "+e);return this.assertLegalChar(e)},r.prototype.xmlStandalone=function(e){return this.options.noValidation?e:e?"yes":"no"},r.prototype.dtdPubID=function(e){return this.options.noValidation?e:this.assertLegalChar(""+e||"")},r.prototype.dtdSysID=function(e){return this.options.noValidation?e:this.assertLegalChar(""+e||"")},r.prototype.dtdElementValue=function(e){return this.options.noValidation?e:this.assertLegalChar(""+e||"")},r.prototype.dtdAttType=function(e){return this.options.noValidation?e:this.assertLegalChar(""+e||"")},r.prototype.dtdAttDefault=function(e){return this.options.noValidation?e:this.assertLegalChar(""+e||"")},r.prototype.dtdEntityValue=function(e){return this.options.noValidation?e:this.assertLegalChar(""+e||"")},r.prototype.dtdNData=function(e){return this.options.noValidation?e:this.assertLegalChar(""+e||"")},r.prototype.convertAttKey="@",r.prototype.convertPIKey="?",r.prototype.convertTextKey="#text",r.prototype.convertCDataKey="#cdata",r.prototype.convertCommentKey="#comment",r.prototype.convertRawKey="#raw",r.prototype.assertLegalChar=function(e){var t,r;if(this.options.noValidation)return e;if(t="","1.0"===this.options.version){if(t=/[\0-\x08\x0B\f\x0E-\x1F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,r=e.match(t))throw new Error("Invalid character in string: "+e+" at index "+r.index)}else if("1.1"===this.options.version&&(t=/[\0\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,r=e.match(t)))throw new Error("Invalid character in string: "+e+" at index "+r.index);return e},r.prototype.assertLegalName=function(e){var t;if(this.options.noValidation)return e;if(this.assertLegalChar(e),t=/^([:A-Z_a-z\xC0-\xD6\xD8-\xF6\xF8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]|[\uD800-\uDB7F][\uDC00-\uDFFF])([\x2D\.0-:A-Z_a-z\xB7\xC0-\xD6\xD8-\xF6\xF8-\u037D\u037F-\u1FFF\u200C\u200D\u203F\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]|[\uD800-\uDB7F][\uDC00-\uDFFF])*$/,!e.match(t))throw new Error("Invalid character in name");return e},r.prototype.textEscape=function(e){var t;return this.options.noValidation?e:(t=this.options.noDoubleEncoding?/(?!&\S+;)&/g:/&/g,e.replace(t,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/\r/g,"&#xD;"))},r.prototype.attEscape=function(e){var t;return this.options.noValidation?e:(t=this.options.noDoubleEncoding?/(?!&\S+;)&/g:/&/g,e.replace(t,"&amp;").replace(/</g,"&lt;").replace(/"/g,"&quot;").replace(/\t/g,"&#x9;").replace(/\n/g,"&#xA;").replace(/\r/g,"&#xD;"))},r}()}.call(L)),gt.exports}var vt,bt,kt,wt,xt={exports:{}},jt={exports:{}},Et={exports:{}};function St(){return vt||(vt=1,function(){Et.exports={None:0,OpenTag:1,InsideTag:2,CloseTag:3}}.call(L)),Et.exports}function _t(){return bt||(bt=1,function(){var e,t,r,a={}.hasOwnProperty;r=X().assign,e=me(),Fe(),Qe(),Pe(),Oe(),we(),Ye(),et(),at(),it(),ze(),Me(),Le(),Ge(),t=St(),jt.exports=function(){function o(e){var t,r,o;for(t in e||(e={}),this.options=e,r=e.writer||{})a.call(r,t)&&(o=r[t],this["_"+t]=this[t],this[t]=o)}return o.prototype.filterOptions=function(e){var a,o,n,i,s,c,u,p;return e||(e={}),e=r({},this.options,e),(a={writer:this}).pretty=e.pretty||!1,a.allowEmpty=e.allowEmpty||!1,a.indent=null!=(o=e.indent)?o:"  ",a.newline=null!=(n=e.newline)?n:"\n",a.offset=null!=(i=e.offset)?i:0,a.dontPrettyTextNodes=null!=(s=null!=(c=e.dontPrettyTextNodes)?c:e.dontprettytextnodes)?s:0,a.spaceBeforeSlash=null!=(u=null!=(p=e.spaceBeforeSlash)?p:e.spacebeforeslash)?u:"",!0===a.spaceBeforeSlash&&(a.spaceBeforeSlash=" "),a.suppressPrettyCount=0,a.user={},a.state=t.None,a},o.prototype.indent=function(e,t,r){var a;return!t.pretty||t.suppressPrettyCount?"":t.pretty&&(a=(r||0)+t.offset+1)>0?new Array(a).join(t.indent):""},o.prototype.endline=function(e,t,r){return!t.pretty||t.suppressPrettyCount?"":t.newline},o.prototype.attribute=function(e,t,r){var a;return this.openAttribute(e,t,r),a=" "+e.name+'="'+e.value+'"',this.closeAttribute(e,t,r),a},o.prototype.cdata=function(e,r,a){var o;return this.openNode(e,r,a),r.state=t.OpenTag,o=this.indent(e,r,a)+"<![CDATA[",r.state=t.InsideTag,o+=e.value,r.state=t.CloseTag,o+="]]>"+this.endline(e,r,a),r.state=t.None,this.closeNode(e,r,a),o},o.prototype.comment=function(e,r,a){var o;return this.openNode(e,r,a),r.state=t.OpenTag,o=this.indent(e,r,a)+"\x3c!-- ",r.state=t.InsideTag,o+=e.value,r.state=t.CloseTag,o+=" --\x3e"+this.endline(e,r,a),r.state=t.None,this.closeNode(e,r,a),o},o.prototype.declaration=function(e,r,a){var o;return this.openNode(e,r,a),r.state=t.OpenTag,o=this.indent(e,r,a)+"<?xml",r.state=t.InsideTag,o+=' version="'+e.version+'"',null!=e.encoding&&(o+=' encoding="'+e.encoding+'"'),null!=e.standalone&&(o+=' standalone="'+e.standalone+'"'),r.state=t.CloseTag,o+=r.spaceBeforeSlash+"?>",o+=this.endline(e,r,a),r.state=t.None,this.closeNode(e,r,a),o},o.prototype.docType=function(e,r,a){var o,n,i,s,c;if(a||(a=0),this.openNode(e,r,a),r.state=t.OpenTag,s=this.indent(e,r,a),s+="<!DOCTYPE "+e.root().name,e.pubID&&e.sysID?s+=' PUBLIC "'+e.pubID+'" "'+e.sysID+'"':e.sysID&&(s+=' SYSTEM "'+e.sysID+'"'),e.children.length>0){for(s+=" [",s+=this.endline(e,r,a),r.state=t.InsideTag,n=0,i=(c=e.children).length;n<i;n++)o=c[n],s+=this.writeChildNode(o,r,a+1);r.state=t.CloseTag,s+="]"}return r.state=t.CloseTag,s+=r.spaceBeforeSlash+">",s+=this.endline(e,r,a),r.state=t.None,this.closeNode(e,r,a),s},o.prototype.element=function(r,o,n){var i,s,c,u,p,l,d,m,h,f,g,y,v,b;for(h in n||(n=0),f=!1,g="",this.openNode(r,o,n),o.state=t.OpenTag,g+=this.indent(r,o,n)+"<"+r.name,y=r.attribs)a.call(y,h)&&(i=y[h],g+=this.attribute(i,o,n));if(u=0===(c=r.children.length)?null:r.children[0],0===c||r.children.every((function(t){return(t.type===e.Text||t.type===e.Raw)&&""===t.value})))o.allowEmpty?(g+=">",o.state=t.CloseTag,g+="</"+r.name+">"+this.endline(r,o,n)):(o.state=t.CloseTag,g+=o.spaceBeforeSlash+"/>"+this.endline(r,o,n));else if(!o.pretty||1!==c||u.type!==e.Text&&u.type!==e.Raw||null==u.value){if(o.dontPrettyTextNodes)for(p=0,d=(v=r.children).length;p<d;p++)if(((s=v[p]).type===e.Text||s.type===e.Raw)&&null!=s.value){o.suppressPrettyCount++,f=!0;break}for(g+=">"+this.endline(r,o,n),o.state=t.InsideTag,l=0,m=(b=r.children).length;l<m;l++)s=b[l],g+=this.writeChildNode(s,o,n+1);o.state=t.CloseTag,g+=this.indent(r,o,n)+"</"+r.name+">",f&&o.suppressPrettyCount--,g+=this.endline(r,o,n),o.state=t.None}else g+=">",o.state=t.InsideTag,o.suppressPrettyCount++,f=!0,g+=this.writeChildNode(u,o,n+1),o.suppressPrettyCount--,f=!1,o.state=t.CloseTag,g+="</"+r.name+">"+this.endline(r,o,n);return this.closeNode(r,o,n),g},o.prototype.writeChildNode=function(t,r,a){switch(t.type){case e.CData:return this.cdata(t,r,a);case e.Comment:return this.comment(t,r,a);case e.Element:return this.element(t,r,a);case e.Raw:return this.raw(t,r,a);case e.Text:return this.text(t,r,a);case e.ProcessingInstruction:return this.processingInstruction(t,r,a);case e.Dummy:return"";case e.Declaration:return this.declaration(t,r,a);case e.DocType:return this.docType(t,r,a);case e.AttributeDeclaration:return this.dtdAttList(t,r,a);case e.ElementDeclaration:return this.dtdElement(t,r,a);case e.EntityDeclaration:return this.dtdEntity(t,r,a);case e.NotationDeclaration:return this.dtdNotation(t,r,a);default:throw new Error("Unknown XML node type: "+t.constructor.name)}},o.prototype.processingInstruction=function(e,r,a){var o;return this.openNode(e,r,a),r.state=t.OpenTag,o=this.indent(e,r,a)+"<?",r.state=t.InsideTag,o+=e.target,e.value&&(o+=" "+e.value),r.state=t.CloseTag,o+=r.spaceBeforeSlash+"?>",o+=this.endline(e,r,a),r.state=t.None,this.closeNode(e,r,a),o},o.prototype.raw=function(e,r,a){var o;return this.openNode(e,r,a),r.state=t.OpenTag,o=this.indent(e,r,a),r.state=t.InsideTag,o+=e.value,r.state=t.CloseTag,o+=this.endline(e,r,a),r.state=t.None,this.closeNode(e,r,a),o},o.prototype.text=function(e,r,a){var o;return this.openNode(e,r,a),r.state=t.OpenTag,o=this.indent(e,r,a),r.state=t.InsideTag,o+=e.value,r.state=t.CloseTag,o+=this.endline(e,r,a),r.state=t.None,this.closeNode(e,r,a),o},o.prototype.dtdAttList=function(e,r,a){var o;return this.openNode(e,r,a),r.state=t.OpenTag,o=this.indent(e,r,a)+"<!ATTLIST",r.state=t.InsideTag,o+=" "+e.elementName+" "+e.attributeName+" "+e.attributeType,"#DEFAULT"!==e.defaultValueType&&(o+=" "+e.defaultValueType),e.defaultValue&&(o+=' "'+e.defaultValue+'"'),r.state=t.CloseTag,o+=r.spaceBeforeSlash+">"+this.endline(e,r,a),r.state=t.None,this.closeNode(e,r,a),o},o.prototype.dtdElement=function(e,r,a){var o;return this.openNode(e,r,a),r.state=t.OpenTag,o=this.indent(e,r,a)+"<!ELEMENT",r.state=t.InsideTag,o+=" "+e.name+" "+e.value,r.state=t.CloseTag,o+=r.spaceBeforeSlash+">"+this.endline(e,r,a),r.state=t.None,this.closeNode(e,r,a),o},o.prototype.dtdEntity=function(e,r,a){var o;return this.openNode(e,r,a),r.state=t.OpenTag,o=this.indent(e,r,a)+"<!ENTITY",r.state=t.InsideTag,e.pe&&(o+=" %"),o+=" "+e.name,e.value?o+=' "'+e.value+'"':(e.pubID&&e.sysID?o+=' PUBLIC "'+e.pubID+'" "'+e.sysID+'"':e.sysID&&(o+=' SYSTEM "'+e.sysID+'"'),e.nData&&(o+=" NDATA "+e.nData)),r.state=t.CloseTag,o+=r.spaceBeforeSlash+">"+this.endline(e,r,a),r.state=t.None,this.closeNode(e,r,a),o},o.prototype.dtdNotation=function(e,r,a){var o;return this.openNode(e,r,a),r.state=t.OpenTag,o=this.indent(e,r,a)+"<!NOTATION",r.state=t.InsideTag,o+=" "+e.name,e.pubID&&e.sysID?o+=' PUBLIC "'+e.pubID+'" "'+e.sysID+'"':e.pubID?o+=' PUBLIC "'+e.pubID+'"':e.sysID&&(o+=' SYSTEM "'+e.sysID+'"'),r.state=t.CloseTag,o+=r.spaceBeforeSlash+">"+this.endline(e,r,a),r.state=t.None,this.closeNode(e,r,a),o},o.prototype.openNode=function(e,t,r){},o.prototype.closeNode=function(e,t,r){},o.prototype.openAttribute=function(e,t,r){},o.prototype.closeAttribute=function(e,t,r){},o}()}.call(L)),jt.exports}function Pt(){return kt||(kt=1,function(){var e,t={}.hasOwnProperty;e=_t(),xt.exports=function(e){function r(e){r.__super__.constructor.call(this,e)}return function(e,r){for(var a in r)t.call(r,a)&&(e[a]=r[a]);function o(){this.constructor=e}o.prototype=r.prototype,e.prototype=new o,e.__super__=r.prototype}(r,e),r.prototype.document=function(e,t){var r,a,o,n,i;for(t=this.filterOptions(t),n="",a=0,o=(i=e.children).length;a<o;a++)r=i[a],n+=this.writeChildNode(r,t,0);return t.pretty&&n.slice(-t.newline.length)===t.newline&&(n=n.slice(0,-t.newline.length)),n},r}(e)}.call(L)),xt.exports}function Ct(){return wt||(wt=1,function(){var e,t,r,a,o,n,i,s={}.hasOwnProperty;i=X().isPlainObject,r=Z(),t=ce(),a=ht(),e=me(),n=yt(),o=Pt(),ee.exports=function(a){function c(r){c.__super__.constructor.call(this,null),this.name="#document",this.type=e.Document,this.documentURI=null,this.domConfig=new t,r||(r={}),r.writer||(r.writer=new o),this.options=r,this.stringify=new n(r)}return function(e,t){for(var r in t)s.call(t,r)&&(e[r]=t[r]);function a(){this.constructor=e}a.prototype=t.prototype,e.prototype=new a,e.__super__=t.prototype}(c,a),Object.defineProperty(c.prototype,"implementation",{value:new r}),Object.defineProperty(c.prototype,"doctype",{get:function(){var t,r,a,o;for(r=0,a=(o=this.children).length;r<a;r++)if((t=o[r]).type===e.DocType)return t;return null}}),Object.defineProperty(c.prototype,"documentElement",{get:function(){return this.rootObject||null}}),Object.defineProperty(c.prototype,"inputEncoding",{get:function(){return null}}),Object.defineProperty(c.prototype,"strictErrorChecking",{get:function(){return!1}}),Object.defineProperty(c.prototype,"xmlEncoding",{get:function(){return 0!==this.children.length&&this.children[0].type===e.Declaration?this.children[0].encoding:null}}),Object.defineProperty(c.prototype,"xmlStandalone",{get:function(){return 0!==this.children.length&&this.children[0].type===e.Declaration&&"yes"===this.children[0].standalone}}),Object.defineProperty(c.prototype,"xmlVersion",{get:function(){return 0!==this.children.length&&this.children[0].type===e.Declaration?this.children[0].version:"1.0"}}),Object.defineProperty(c.prototype,"URL",{get:function(){return this.documentURI}}),Object.defineProperty(c.prototype,"origin",{get:function(){return null}}),Object.defineProperty(c.prototype,"compatMode",{get:function(){return null}}),Object.defineProperty(c.prototype,"characterSet",{get:function(){return null}}),Object.defineProperty(c.prototype,"contentType",{get:function(){return null}}),c.prototype.end=function(e){var t;return t={},e?i(e)&&(t=e,e=this.options.writer):e=this.options.writer,e.document(this,e.filterOptions(t))},c.prototype.toString=function(e){return this.options.writer.document(this,this.options.writer.filterOptions(e))},c.prototype.createElement=function(e){throw new Error("This DOM method is not implemented."+this.debugInfo())},c.prototype.createDocumentFragment=function(){throw new Error("This DOM method is not implemented."+this.debugInfo())},c.prototype.createTextNode=function(e){throw new Error("This DOM method is not implemented."+this.debugInfo())},c.prototype.createComment=function(e){throw new Error("This DOM method is not implemented."+this.debugInfo())},c.prototype.createCDATASection=function(e){throw new Error("This DOM method is not implemented."+this.debugInfo())},c.prototype.createProcessingInstruction=function(e,t){throw new Error("This DOM method is not implemented."+this.debugInfo())},c.prototype.createAttribute=function(e){throw new Error("This DOM method is not implemented."+this.debugInfo())},c.prototype.createEntityReference=function(e){throw new Error("This DOM method is not implemented."+this.debugInfo())},c.prototype.getElementsByTagName=function(e){throw new Error("This DOM method is not implemented."+this.debugInfo())},c.prototype.importNode=function(e,t){throw new Error("This DOM method is not implemented."+this.debugInfo())},c.prototype.createElementNS=function(e,t){throw new Error("This DOM method is not implemented."+this.debugInfo())},c.prototype.createAttributeNS=function(e,t){throw new Error("This DOM method is not implemented."+this.debugInfo())},c.prototype.getElementsByTagNameNS=function(e,t){throw new Error("This DOM method is not implemented."+this.debugInfo())},c.prototype.getElementById=function(e){throw new Error("This DOM method is not implemented."+this.debugInfo())},c.prototype.adoptNode=function(e){throw new Error("This DOM method is not implemented."+this.debugInfo())},c.prototype.normalizeDocument=function(){throw new Error("This DOM method is not implemented."+this.debugInfo())},c.prototype.renameNode=function(e,t,r){throw new Error("This DOM method is not implemented."+this.debugInfo())},c.prototype.getElementsByClassName=function(e){throw new Error("This DOM method is not implemented."+this.debugInfo())},c.prototype.createEvent=function(e){throw new Error("This DOM method is not implemented."+this.debugInfo())},c.prototype.createRange=function(){throw new Error("This DOM method is not implemented."+this.debugInfo())},c.prototype.createNodeIterator=function(e,t,r){throw new Error("This DOM method is not implemented."+this.debugInfo())},c.prototype.createTreeWalker=function(e,t,r){throw new Error("This DOM method is not implemented."+this.debugInfo())},c}(a)}.call(L)),ee.exports}var Tt,Ot={exports:{}};function At(){return Tt||(Tt=1,function(){var e,t,r,a,o,n,i,s,c,u,p,l,d,m,h,f,g,y,v,b,k,w,x,j={}.hasOwnProperty;x=X(),k=x.isObject,b=x.isFunction,w=x.isPlainObject,v=x.getValue,e=me(),l=Ct(),d=we(),a=Pe(),o=Oe(),h=Ye(),y=et(),m=at(),u=Fe(),p=Qe(),n=ze(),s=Le(),i=Me(),c=Ge(),r=ge(),g=yt(),f=Pt(),t=St(),Ot.exports=function(){function x(t,r,a){var o;this.name="?xml",this.type=e.Document,t||(t={}),o={},t.writer?w(t.writer)&&(o=t.writer,t.writer=new f):t.writer=new f,this.options=t,this.writer=t.writer,this.writerOptions=this.writer.filterOptions(o),this.stringify=new g(t),this.onDataCallback=r||function(){},this.onEndCallback=a||function(){},this.currentNode=null,this.currentLevel=-1,this.openTags={},this.documentStarted=!1,this.documentCompleted=!1,this.root=null}return x.prototype.createChildNode=function(t){var r,a,o,n,i,s,c,u;switch(t.type){case e.CData:this.cdata(t.value);break;case e.Comment:this.comment(t.value);break;case e.Element:for(a in o={},c=t.attribs)j.call(c,a)&&(r=c[a],o[a]=r.value);this.node(t.name,o);break;case e.Dummy:this.dummy();break;case e.Raw:this.raw(t.value);break;case e.Text:this.text(t.value);break;case e.ProcessingInstruction:this.instruction(t.target,t.value);break;default:throw new Error("This XML node type is not supported in a JS object: "+t.constructor.name)}for(i=0,s=(u=t.children).length;i<s;i++)n=u[i],this.createChildNode(n),n.type===e.Element&&this.up();return this},x.prototype.dummy=function(){return this},x.prototype.node=function(e,t,r){var a;if(null==e)throw new Error("Missing node name.");if(this.root&&-1===this.currentLevel)throw new Error("Document can only have one root node. "+this.debugInfo(e));return this.openCurrent(),e=v(e),null==t&&(t={}),t=v(t),k(t)||(r=(a=[t,r])[0],t=a[1]),this.currentNode=new d(this,e,t),this.currentNode.children=!1,this.currentLevel++,this.openTags[this.currentLevel]=this.currentNode,null!=r&&this.text(r),this},x.prototype.element=function(t,r,a){var o,n,i,s,c,u;if(this.currentNode&&this.currentNode.type===e.DocType)this.dtdElement.apply(this,arguments);else if(Array.isArray(t)||k(t)||b(t))for(s=this.options.noValidation,this.options.noValidation=!0,(u=new l(this.options).element("TEMP_ROOT")).element(t),this.options.noValidation=s,n=0,i=(c=u.children).length;n<i;n++)o=c[n],this.createChildNode(o),o.type===e.Element&&this.up();else this.node(t,r,a);return this},x.prototype.attribute=function(e,t){var a,o;if(!this.currentNode||this.currentNode.children)throw new Error("att() can only be used immediately after an ele() call in callback mode. "+this.debugInfo(e));if(null!=e&&(e=v(e)),k(e))for(a in e)j.call(e,a)&&(o=e[a],this.attribute(a,o));else b(t)&&(t=t.apply()),this.options.keepNullAttributes&&null==t?this.currentNode.attribs[e]=new r(this,e,""):null!=t&&(this.currentNode.attribs[e]=new r(this,e,t));return this},x.prototype.text=function(e){var t;return this.openCurrent(),t=new y(this,e),this.onData(this.writer.text(t,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},x.prototype.cdata=function(e){var t;return this.openCurrent(),t=new a(this,e),this.onData(this.writer.cdata(t,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},x.prototype.comment=function(e){var t;return this.openCurrent(),t=new o(this,e),this.onData(this.writer.comment(t,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},x.prototype.raw=function(e){var t;return this.openCurrent(),t=new h(this,e),this.onData(this.writer.raw(t,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},x.prototype.instruction=function(e,t){var r,a,o,n,i;if(this.openCurrent(),null!=e&&(e=v(e)),null!=t&&(t=v(t)),Array.isArray(e))for(r=0,n=e.length;r<n;r++)a=e[r],this.instruction(a);else if(k(e))for(a in e)j.call(e,a)&&(o=e[a],this.instruction(a,o));else b(t)&&(t=t.apply()),i=new m(this,e,t),this.onData(this.writer.processingInstruction(i,this.writerOptions,this.currentLevel+1),this.currentLevel+1);return this},x.prototype.declaration=function(e,t,r){var a;if(this.openCurrent(),this.documentStarted)throw new Error("declaration() must be the first node.");return a=new u(this,e,t,r),this.onData(this.writer.declaration(a,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},x.prototype.doctype=function(e,t,r){if(this.openCurrent(),null==e)throw new Error("Missing root node name.");if(this.root)throw new Error("dtd() must come before the root node.");return this.currentNode=new p(this,t,r),this.currentNode.rootNodeName=e,this.currentNode.children=!1,this.currentLevel++,this.openTags[this.currentLevel]=this.currentNode,this},x.prototype.dtdElement=function(e,t){var r;return this.openCurrent(),r=new i(this,e,t),this.onData(this.writer.dtdElement(r,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},x.prototype.attList=function(e,t,r,a,o){var i;return this.openCurrent(),i=new n(this,e,t,r,a,o),this.onData(this.writer.dtdAttList(i,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},x.prototype.entity=function(e,t){var r;return this.openCurrent(),r=new s(this,!1,e,t),this.onData(this.writer.dtdEntity(r,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},x.prototype.pEntity=function(e,t){var r;return this.openCurrent(),r=new s(this,!0,e,t),this.onData(this.writer.dtdEntity(r,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},x.prototype.notation=function(e,t){var r;return this.openCurrent(),r=new c(this,e,t),this.onData(this.writer.dtdNotation(r,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},x.prototype.up=function(){if(this.currentLevel<0)throw new Error("The document node has no parent.");return this.currentNode?(this.currentNode.children?this.closeNode(this.currentNode):this.openNode(this.currentNode),this.currentNode=null):this.closeNode(this.openTags[this.currentLevel]),delete this.openTags[this.currentLevel],this.currentLevel--,this},x.prototype.end=function(){for(;this.currentLevel>=0;)this.up();return this.onEnd()},x.prototype.openCurrent=function(){if(this.currentNode)return this.currentNode.children=!0,this.openNode(this.currentNode)},x.prototype.openNode=function(r){var a,o,n,i;if(!r.isOpen){if(this.root||0!==this.currentLevel||r.type!==e.Element||(this.root=r),o="",r.type===e.Element){for(n in this.writerOptions.state=t.OpenTag,o=this.writer.indent(r,this.writerOptions,this.currentLevel)+"<"+r.name,i=r.attribs)j.call(i,n)&&(a=i[n],o+=this.writer.attribute(a,this.writerOptions,this.currentLevel));o+=(r.children?">":"/>")+this.writer.endline(r,this.writerOptions,this.currentLevel),this.writerOptions.state=t.InsideTag}else this.writerOptions.state=t.OpenTag,o=this.writer.indent(r,this.writerOptions,this.currentLevel)+"<!DOCTYPE "+r.rootNodeName,r.pubID&&r.sysID?o+=' PUBLIC "'+r.pubID+'" "'+r.sysID+'"':r.sysID&&(o+=' SYSTEM "'+r.sysID+'"'),r.children?(o+=" [",this.writerOptions.state=t.InsideTag):(this.writerOptions.state=t.CloseTag,o+=">"),o+=this.writer.endline(r,this.writerOptions,this.currentLevel);return this.onData(o,this.currentLevel),r.isOpen=!0}},x.prototype.closeNode=function(r){var a;if(!r.isClosed)return a="",this.writerOptions.state=t.CloseTag,a=r.type===e.Element?this.writer.indent(r,this.writerOptions,this.currentLevel)+"</"+r.name+">"+this.writer.endline(r,this.writerOptions,this.currentLevel):this.writer.indent(r,this.writerOptions,this.currentLevel)+"]>"+this.writer.endline(r,this.writerOptions,this.currentLevel),this.writerOptions.state=t.None,this.onData(a,this.currentLevel),r.isClosed=!0},x.prototype.onData=function(e,t){return this.documentStarted=!0,this.onDataCallback(e,t+1)},x.prototype.onEnd=function(){return this.documentCompleted=!0,this.onEndCallback()},x.prototype.debugInfo=function(e){return null==e?"":"node: <"+e+">"},x.prototype.ele=function(){return this.element.apply(this,arguments)},x.prototype.nod=function(e,t,r){return this.node(e,t,r)},x.prototype.txt=function(e){return this.text(e)},x.prototype.dat=function(e){return this.cdata(e)},x.prototype.com=function(e){return this.comment(e)},x.prototype.ins=function(e,t){return this.instruction(e,t)},x.prototype.dec=function(e,t,r){return this.declaration(e,t,r)},x.prototype.dtd=function(e,t,r){return this.doctype(e,t,r)},x.prototype.e=function(e,t,r){return this.element(e,t,r)},x.prototype.n=function(e,t,r){return this.node(e,t,r)},x.prototype.t=function(e){return this.text(e)},x.prototype.d=function(e){return this.cdata(e)},x.prototype.c=function(e){return this.comment(e)},x.prototype.r=function(e){return this.raw(e)},x.prototype.i=function(e,t){return this.instruction(e,t)},x.prototype.att=function(){return this.currentNode&&this.currentNode.type===e.DocType?this.attList.apply(this,arguments):this.attribute.apply(this,arguments)},x.prototype.a=function(){return this.currentNode&&this.currentNode.type===e.DocType?this.attList.apply(this,arguments):this.attribute.apply(this,arguments)},x.prototype.ent=function(e,t){return this.entity(e,t)},x.prototype.pent=function(e,t){return this.pEntity(e,t)},x.prototype.not=function(e,t){return this.notation(e,t)},x}()}.call(L)),Ot.exports}var It,Ft,Rt,Dt={exports:{}};function Nt(){return It||(It=1,function(){var e,t,r,a={}.hasOwnProperty;e=me(),r=_t(),t=St(),Dt.exports=function(r){function o(e,t){this.stream=e,o.__super__.constructor.call(this,t)}return function(e,t){for(var r in t)a.call(t,r)&&(e[r]=t[r]);function o(){this.constructor=e}o.prototype=t.prototype,e.prototype=new o,e.__super__=t.prototype}(o,r),o.prototype.endline=function(e,r,a){return e.isLastRootNode&&r.state===t.CloseTag?"":o.__super__.endline.call(this,e,r,a)},o.prototype.document=function(e,t){var r,a,o,n,i,s,c,u,p;for(a=o=0,i=(c=e.children).length;o<i;a=++o)(r=c[a]).isLastRootNode=a===e.children.length-1;for(t=this.filterOptions(t),p=[],n=0,s=(u=e.children).length;n<s;n++)r=u[n],p.push(this.writeChildNode(r,t,0));return p},o.prototype.attribute=function(e,t,r){return this.stream.write(o.__super__.attribute.call(this,e,t,r))},o.prototype.cdata=function(e,t,r){return this.stream.write(o.__super__.cdata.call(this,e,t,r))},o.prototype.comment=function(e,t,r){return this.stream.write(o.__super__.comment.call(this,e,t,r))},o.prototype.declaration=function(e,t,r){return this.stream.write(o.__super__.declaration.call(this,e,t,r))},o.prototype.docType=function(e,r,a){var o,n,i,s;if(a||(a=0),this.openNode(e,r,a),r.state=t.OpenTag,this.stream.write(this.indent(e,r,a)),this.stream.write("<!DOCTYPE "+e.root().name),e.pubID&&e.sysID?this.stream.write(' PUBLIC "'+e.pubID+'" "'+e.sysID+'"'):e.sysID&&this.stream.write(' SYSTEM "'+e.sysID+'"'),e.children.length>0){for(this.stream.write(" ["),this.stream.write(this.endline(e,r,a)),r.state=t.InsideTag,n=0,i=(s=e.children).length;n<i;n++)o=s[n],this.writeChildNode(o,r,a+1);r.state=t.CloseTag,this.stream.write("]")}return r.state=t.CloseTag,this.stream.write(r.spaceBeforeSlash+">"),this.stream.write(this.endline(e,r,a)),r.state=t.None,this.closeNode(e,r,a)},o.prototype.element=function(r,o,n){var i,s,c,u,p,l,d,m,h;for(d in n||(n=0),this.openNode(r,o,n),o.state=t.OpenTag,this.stream.write(this.indent(r,o,n)+"<"+r.name),m=r.attribs)a.call(m,d)&&(i=m[d],this.attribute(i,o,n));if(u=0===(c=r.children.length)?null:r.children[0],0===c||r.children.every((function(t){return(t.type===e.Text||t.type===e.Raw)&&""===t.value})))o.allowEmpty?(this.stream.write(">"),o.state=t.CloseTag,this.stream.write("</"+r.name+">")):(o.state=t.CloseTag,this.stream.write(o.spaceBeforeSlash+"/>"));else if(!o.pretty||1!==c||u.type!==e.Text&&u.type!==e.Raw||null==u.value){for(this.stream.write(">"+this.endline(r,o,n)),o.state=t.InsideTag,p=0,l=(h=r.children).length;p<l;p++)s=h[p],this.writeChildNode(s,o,n+1);o.state=t.CloseTag,this.stream.write(this.indent(r,o,n)+"</"+r.name+">")}else this.stream.write(">"),o.state=t.InsideTag,o.suppressPrettyCount++,this.writeChildNode(u,o,n+1),o.suppressPrettyCount--,o.state=t.CloseTag,this.stream.write("</"+r.name+">");return this.stream.write(this.endline(r,o,n)),o.state=t.None,this.closeNode(r,o,n)},o.prototype.processingInstruction=function(e,t,r){return this.stream.write(o.__super__.processingInstruction.call(this,e,t,r))},o.prototype.raw=function(e,t,r){return this.stream.write(o.__super__.raw.call(this,e,t,r))},o.prototype.text=function(e,t,r){return this.stream.write(o.__super__.text.call(this,e,t,r))},o.prototype.dtdAttList=function(e,t,r){return this.stream.write(o.__super__.dtdAttList.call(this,e,t,r))},o.prototype.dtdElement=function(e,t,r){return this.stream.write(o.__super__.dtdElement.call(this,e,t,r))},o.prototype.dtdEntity=function(e,t,r){return this.stream.write(o.__super__.dtdEntity.call(this,e,t,r))},o.prototype.dtdNotation=function(e,t,r){return this.stream.write(o.__super__.dtdNotation.call(this,e,t,r))},o}(r)}.call(L)),Dt.exports}function zt(){return Rt||(Rt=1,function(){var e,t,r,a,o,n={}.hasOwnProperty;Ft||(Ft=1,function(){var e,t,r,a,o,n,i,s,c,u;u=X(),s=u.assign,c=u.isFunction,r=Z(),a=Ct(),o=At(),i=Pt(),n=Nt(),e=me(),t=St(),G.create=function(e,t,r,o){var n,i;if(null==e)throw new Error("Root element needs a name.");return o=s({},t,r,o),i=(n=new a(o)).element(e),o.headless||(n.declaration(o),null==o.pubID&&null==o.sysID||n.dtd(o)),i},G.begin=function(e,t,r){var n;return c(e)&&(t=(n=[e,t])[0],r=n[1],e={}),t?new o(e,t,r):new a(e)},G.stringWriter=function(e){return new i(e)},G.streamWriter=function(e,t){return new n(e,t)},G.implementation=new r,G.nodeType=e,G.writerState=t}.call(L)),e=G,t=H().defaults,a=function(e){return"string"==typeof e&&(e.indexOf("&")>=0||e.indexOf(">")>=0||e.indexOf("<")>=0)},o=function(e){return"<![CDATA["+r(e)+"]]>"},r=function(e){return e.replace("]]>","]]]]><![CDATA[>")},V.Builder=function(){function r(e){var r,a,o;for(r in this.options={},a=t[.2])n.call(a,r)&&(o=a[r],this.options[r]=o);for(r in e)n.call(e,r)&&(o=e[r],this.options[r]=o)}return r.prototype.buildObject=function(r){var i,s,c,u,p,l;return i=this.options.attrkey,s=this.options.charkey,1===Object.keys(r).length&&this.options.rootName===t[.2].rootName?r=r[p=Object.keys(r)[0]]:p=this.options.rootName,l=this,c=function(e,t){var r,u,p,d,m,h;if("object"!=typeof t)l.options.cdata&&a(t)?e.raw(o(t)):e.txt(t);else if(Array.isArray(t)){for(d in t)if(n.call(t,d))for(m in u=t[d])p=u[m],e=c(e.ele(m),p).up()}else for(m in t)if(n.call(t,m))if(u=t[m],m===i){if("object"==typeof u)for(r in u)h=u[r],e=e.att(r,h)}else if(m===s)e=l.options.cdata&&a(u)?e.raw(o(u)):e.txt(u);else if(Array.isArray(u))for(d in u)n.call(u,d)&&(e="string"==typeof(p=u[d])?l.options.cdata&&a(p)?e.ele(m).raw(o(p)).up():e.ele(m,p).up():c(e.ele(m),p).up());else"object"==typeof u?e=c(e.ele(m),u).up():"string"==typeof u&&l.options.cdata&&a(u)?e=e.ele(m).raw(o(u)).up():(null==u&&(u=""),e=e.ele(m,u.toString()).up());return e},u=e.create(p,this.options.xmldec,this.options.doctype,{headless:this.options.headless,allowSurrogateChars:this.options.allowSurrogateChars}),c(u,r).end(this.options.renderOpts)},r}()}.call(L)),V}var Bt,$t={},Lt={};function qt(){return Bt||(Bt=1,function(e){e.parser=function(e,t){return new a(e,t)},e.SAXParser=a,e.SAXStream=n,e.createStream=function(e,t){return new n(e,t)},e.MAX_BUFFER_LENGTH=65536;var t,r=["comment","sgmlDecl","textNode","tagName","doctype","procInstName","procInstBody","entity","attribName","attribValue","cdata","script"];function a(t,o){if(!(this instanceof a))return new a(t,o);var n=this;!function(e){for(var t=0,a=r.length;t<a;t++)e[r[t]]=""}(n),n.q=n.c="",n.bufferCheckPosition=e.MAX_BUFFER_LENGTH,n.opt=o||{},n.opt.lowercase=n.opt.lowercase||n.opt.lowercasetags,n.looseCase=n.opt.lowercase?"toLowerCase":"toUpperCase",n.tags=[],n.closed=n.closedRoot=n.sawRoot=!1,n.tag=n.error=null,n.strict=!!t,n.noscript=!(!t&&!n.opt.noscript),n.state=w.BEGIN,n.strictEntities=n.opt.strictEntities,n.ENTITIES=n.strictEntities?Object.create(e.XML_ENTITIES):Object.create(e.ENTITIES),n.attribList=[],n.opt.xmlns&&(n.ns=Object.create(c)),n.trackPosition=!1!==n.opt.position,n.trackPosition&&(n.position=n.line=n.column=0),E(n,"onready")}e.EVENTS=["text","processinginstruction","sgmldeclaration","doctype","comment","opentagstart","attribute","opentag","closetag","opencdata","cdata","closecdata","error","end","ready","script","opennamespace","closenamespace"],Object.create||(Object.create=function(e){function t(){}return t.prototype=e,new t}),Object.keys||(Object.keys=function(e){var t=[];for(var r in e)e.hasOwnProperty(r)&&t.push(r);return t}),a.prototype={end:function(){T(this)},write:function(t){var a=this;if(this.error)throw this.error;if(a.closed)return C(a,"Cannot write after close. Assign an onready handler.");if(null===t)return T(a);"object"==typeof t&&(t=t.toString());for(var o=0,n="";n=B(t,o++),a.c=n,n;)switch(a.trackPosition&&(a.position++,"\n"===n?(a.line++,a.column=0):a.column++),a.state){case w.BEGIN:if(a.state=w.BEGIN_WHITESPACE,"\ufeff"===n)continue;z(a,n);continue;case w.BEGIN_WHITESPACE:z(a,n);continue;case w.TEXT:if(a.sawRoot&&!a.closedRoot){for(var i=o-1;n&&"<"!==n&&"&"!==n;)(n=B(t,o++))&&a.trackPosition&&(a.position++,"\n"===n?(a.line++,a.column=0):a.column++);a.textNode+=t.substring(i,o-1)}"<"!==n||a.sawRoot&&a.closedRoot&&!a.strict?(m(n)||a.sawRoot&&!a.closedRoot||O(a,"Text data outside of root node."),"&"===n?a.state=w.TEXT_ENTITY:a.textNode+=n):(a.state=w.OPEN_WAKA,a.startTagPosition=a.position);continue;case w.SCRIPT:"<"===n?a.state=w.SCRIPT_ENDING:a.script+=n;continue;case w.SCRIPT_ENDING:"/"===n?a.state=w.CLOSE_TAG:(a.script+="<"+n,a.state=w.SCRIPT);continue;case w.OPEN_WAKA:if("!"===n)a.state=w.SGML_DECL,a.sgmlDecl="";else if(m(n));else if(g(u,n))a.state=w.OPEN_TAG,a.tagName=n;else if("/"===n)a.state=w.CLOSE_TAG,a.tagName="";else if("?"===n)a.state=w.PROC_INST,a.procInstName=a.procInstBody="";else{if(O(a,"Unencoded <"),a.startTagPosition+1<a.position){var s=a.position-a.startTagPosition;n=new Array(s).join(" ")+n}a.textNode+="<"+n,a.state=w.TEXT}continue;case w.SGML_DECL:"[CDATA["===(a.sgmlDecl+n).toUpperCase()?(S(a,"onopencdata"),a.state=w.CDATA,a.sgmlDecl="",a.cdata=""):a.sgmlDecl+n==="--"?(a.state=w.COMMENT,a.comment="",a.sgmlDecl=""):"DOCTYPE"===(a.sgmlDecl+n).toUpperCase()?(a.state=w.DOCTYPE,(a.doctype||a.sawRoot)&&O(a,"Inappropriately located doctype declaration"),a.doctype="",a.sgmlDecl=""):">"===n?(S(a,"onsgmldeclaration",a.sgmlDecl),a.sgmlDecl="",a.state=w.TEXT):h(n)?(a.state=w.SGML_DECL_QUOTED,a.sgmlDecl+=n):a.sgmlDecl+=n;continue;case w.SGML_DECL_QUOTED:n===a.q&&(a.state=w.SGML_DECL,a.q=""),a.sgmlDecl+=n;continue;case w.DOCTYPE:">"===n?(a.state=w.TEXT,S(a,"ondoctype",a.doctype),a.doctype=!0):(a.doctype+=n,"["===n?a.state=w.DOCTYPE_DTD:h(n)&&(a.state=w.DOCTYPE_QUOTED,a.q=n));continue;case w.DOCTYPE_QUOTED:a.doctype+=n,n===a.q&&(a.q="",a.state=w.DOCTYPE);continue;case w.DOCTYPE_DTD:a.doctype+=n,"]"===n?a.state=w.DOCTYPE:h(n)&&(a.state=w.DOCTYPE_DTD_QUOTED,a.q=n);continue;case w.DOCTYPE_DTD_QUOTED:a.doctype+=n,n===a.q&&(a.state=w.DOCTYPE_DTD,a.q="");continue;case w.COMMENT:"-"===n?a.state=w.COMMENT_ENDING:a.comment+=n;continue;case w.COMMENT_ENDING:"-"===n?(a.state=w.COMMENT_ENDED,a.comment=P(a.opt,a.comment),a.comment&&S(a,"oncomment",a.comment),a.comment=""):(a.comment+="-"+n,a.state=w.COMMENT);continue;case w.COMMENT_ENDED:">"!==n?(O(a,"Malformed comment"),a.comment+="--"+n,a.state=w.COMMENT):a.state=w.TEXT;continue;case w.CDATA:"]"===n?a.state=w.CDATA_ENDING:a.cdata+=n;continue;case w.CDATA_ENDING:"]"===n?a.state=w.CDATA_ENDING_2:(a.cdata+="]"+n,a.state=w.CDATA);continue;case w.CDATA_ENDING_2:">"===n?(a.cdata&&S(a,"oncdata",a.cdata),S(a,"onclosecdata"),a.cdata="",a.state=w.TEXT):"]"===n?a.cdata+="]":(a.cdata+="]]"+n,a.state=w.CDATA);continue;case w.PROC_INST:"?"===n?a.state=w.PROC_INST_ENDING:m(n)?a.state=w.PROC_INST_BODY:a.procInstName+=n;continue;case w.PROC_INST_BODY:if(!a.procInstBody&&m(n))continue;"?"===n?a.state=w.PROC_INST_ENDING:a.procInstBody+=n;continue;case w.PROC_INST_ENDING:">"===n?(S(a,"onprocessinginstruction",{name:a.procInstName,body:a.procInstBody}),a.procInstName=a.procInstBody="",a.state=w.TEXT):(a.procInstBody+="?"+n,a.state=w.PROC_INST_BODY);continue;case w.OPEN_TAG:g(p,n)?a.tagName+=n:(A(a),">"===n?R(a):"/"===n?a.state=w.OPEN_TAG_SLASH:(m(n)||O(a,"Invalid character in tag name"),a.state=w.ATTRIB));continue;case w.OPEN_TAG_SLASH:">"===n?(R(a,!0),D(a)):(O(a,"Forward-slash in opening tag not followed by >"),a.state=w.ATTRIB);continue;case w.ATTRIB:if(m(n))continue;">"===n?R(a):"/"===n?a.state=w.OPEN_TAG_SLASH:g(u,n)?(a.attribName=n,a.attribValue="",a.state=w.ATTRIB_NAME):O(a,"Invalid attribute name");continue;case w.ATTRIB_NAME:"="===n?a.state=w.ATTRIB_VALUE:">"===n?(O(a,"Attribute without value"),a.attribValue=a.attribName,F(a),R(a)):m(n)?a.state=w.ATTRIB_NAME_SAW_WHITE:g(p,n)?a.attribName+=n:O(a,"Invalid attribute name");continue;case w.ATTRIB_NAME_SAW_WHITE:if("="===n)a.state=w.ATTRIB_VALUE;else{if(m(n))continue;O(a,"Attribute without value"),a.tag.attributes[a.attribName]="",a.attribValue="",S(a,"onattribute",{name:a.attribName,value:""}),a.attribName="",">"===n?R(a):g(u,n)?(a.attribName=n,a.state=w.ATTRIB_NAME):(O(a,"Invalid attribute name"),a.state=w.ATTRIB)}continue;case w.ATTRIB_VALUE:if(m(n))continue;h(n)?(a.q=n,a.state=w.ATTRIB_VALUE_QUOTED):(O(a,"Unquoted attribute value"),a.state=w.ATTRIB_VALUE_UNQUOTED,a.attribValue=n);continue;case w.ATTRIB_VALUE_QUOTED:if(n!==a.q){"&"===n?a.state=w.ATTRIB_VALUE_ENTITY_Q:a.attribValue+=n;continue}F(a),a.q="",a.state=w.ATTRIB_VALUE_CLOSED;continue;case w.ATTRIB_VALUE_CLOSED:m(n)?a.state=w.ATTRIB:">"===n?R(a):"/"===n?a.state=w.OPEN_TAG_SLASH:g(u,n)?(O(a,"No whitespace between attributes"),a.attribName=n,a.attribValue="",a.state=w.ATTRIB_NAME):O(a,"Invalid attribute name");continue;case w.ATTRIB_VALUE_UNQUOTED:if(!f(n)){"&"===n?a.state=w.ATTRIB_VALUE_ENTITY_U:a.attribValue+=n;continue}F(a),">"===n?R(a):a.state=w.ATTRIB;continue;case w.CLOSE_TAG:if(a.tagName)">"===n?D(a):g(p,n)?a.tagName+=n:a.script?(a.script+="</"+a.tagName,a.tagName="",a.state=w.SCRIPT):(m(n)||O(a,"Invalid tagname in closing tag"),a.state=w.CLOSE_TAG_SAW_WHITE);else{if(m(n))continue;y(u,n)?a.script?(a.script+="</"+n,a.state=w.SCRIPT):O(a,"Invalid tagname in closing tag."):a.tagName=n}continue;case w.CLOSE_TAG_SAW_WHITE:if(m(n))continue;">"===n?D(a):O(a,"Invalid characters in closing tag");continue;case w.TEXT_ENTITY:case w.ATTRIB_VALUE_ENTITY_Q:case w.ATTRIB_VALUE_ENTITY_U:var c,v;switch(a.state){case w.TEXT_ENTITY:c=w.TEXT,v="textNode";break;case w.ATTRIB_VALUE_ENTITY_Q:c=w.ATTRIB_VALUE_QUOTED,v="attribValue";break;case w.ATTRIB_VALUE_ENTITY_U:c=w.ATTRIB_VALUE_UNQUOTED,v="attribValue"}";"===n?(a[v]+=N(a),a.entity="",a.state=c):g(a.entity.length?d:l,n)?a.entity+=n:(O(a,"Invalid character in entity name"),a[v]+="&"+a.entity+n,a.entity="",a.state=c);continue;default:throw new Error(a,"Unknown state: "+a.state)}return a.position>=a.bufferCheckPosition&&function(t){for(var a=Math.max(e.MAX_BUFFER_LENGTH,10),o=0,n=0,i=r.length;n<i;n++){var s=t[r[n]].length;if(s>a)switch(r[n]){case"textNode":_(t);break;case"cdata":S(t,"oncdata",t.cdata),t.cdata="";break;case"script":S(t,"onscript",t.script),t.script="";break;default:C(t,"Max buffer length exceeded: "+r[n])}o=Math.max(o,s)}var c=e.MAX_BUFFER_LENGTH-o;t.bufferCheckPosition=c+t.position}(a),a}
/*! http://mths.be/fromcodepoint v0.1.0 by @mathias */,resume:function(){return this.error=null,this},close:function(){return this.write(null)},flush:function(){!function(e){_(e),""!==e.cdata&&(S(e,"oncdata",e.cdata),e.cdata=""),""!==e.script&&(S(e,"onscript",e.script),e.script="")}(this)}};try{t=require("stream").Stream}catch(e){t=function(){}}var o=e.EVENTS.filter((function(e){return"error"!==e&&"end"!==e}));function n(e,r){if(!(this instanceof n))return new n(e,r);t.apply(this),this._parser=new a(e,r),this.writable=!0,this.readable=!0;var i=this;this._parser.onend=function(){i.emit("end")},this._parser.onerror=function(e){i.emit("error",e),i._parser.error=null},this._decoder=null,o.forEach((function(e){Object.defineProperty(i,"on"+e,{get:function(){return i._parser["on"+e]},set:function(t){if(!t)return i.removeAllListeners(e),i._parser["on"+e]=t,t;i.on(e,t)},enumerable:!0,configurable:!1})}))}n.prototype=Object.create(t.prototype,{constructor:{value:n}}),n.prototype.write=function(e){if("function"==typeof Buffer&&"function"==typeof Buffer.isBuffer&&Buffer.isBuffer(e)){if(!this._decoder){var t=j.default.StringDecoder;this._decoder=new t("utf8")}e=this._decoder.write(e)}return this._parser.write(e.toString()),this.emit("data",e),!0},n.prototype.end=function(e){return e&&e.length&&this.write(e),this._parser.end(),!0},n.prototype.on=function(e,r){var a=this;return a._parser["on"+e]||-1===o.indexOf(e)||(a._parser["on"+e]=function(){var t=1===arguments.length?[arguments[0]]:Array.apply(null,arguments);t.splice(0,0,e),a.emit.apply(a,t)}),t.prototype.on.call(a,e,r)};var i="http://www.w3.org/XML/1998/namespace",s="http://www.w3.org/2000/xmlns/",c={xml:i,xmlns:s},u=/[:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,p=/[:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u00B7\u0300-\u036F\u203F-\u2040.\d-]/,l=/[#:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,d=/[#:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u00B7\u0300-\u036F\u203F-\u2040.\d-]/;function m(e){return" "===e||"\n"===e||"\r"===e||"\t"===e}function h(e){return'"'===e||"'"===e}function f(e){return">"===e||m(e)}function g(e,t){return e.test(t)}function y(e,t){return!g(e,t)}var v,b,k,w=0;for(var x in e.STATE={BEGIN:w++,BEGIN_WHITESPACE:w++,TEXT:w++,TEXT_ENTITY:w++,OPEN_WAKA:w++,SGML_DECL:w++,SGML_DECL_QUOTED:w++,DOCTYPE:w++,DOCTYPE_QUOTED:w++,DOCTYPE_DTD:w++,DOCTYPE_DTD_QUOTED:w++,COMMENT_STARTING:w++,COMMENT:w++,COMMENT_ENDING:w++,COMMENT_ENDED:w++,CDATA:w++,CDATA_ENDING:w++,CDATA_ENDING_2:w++,PROC_INST:w++,PROC_INST_BODY:w++,PROC_INST_ENDING:w++,OPEN_TAG:w++,OPEN_TAG_SLASH:w++,ATTRIB:w++,ATTRIB_NAME:w++,ATTRIB_NAME_SAW_WHITE:w++,ATTRIB_VALUE:w++,ATTRIB_VALUE_QUOTED:w++,ATTRIB_VALUE_CLOSED:w++,ATTRIB_VALUE_UNQUOTED:w++,ATTRIB_VALUE_ENTITY_Q:w++,ATTRIB_VALUE_ENTITY_U:w++,CLOSE_TAG:w++,CLOSE_TAG_SAW_WHITE:w++,SCRIPT:w++,SCRIPT_ENDING:w++},e.XML_ENTITIES={amp:"&",gt:">",lt:"<",quot:'"',apos:"'"},e.ENTITIES={amp:"&",gt:">",lt:"<",quot:'"',apos:"'",AElig:198,Aacute:193,Acirc:194,Agrave:192,Aring:197,Atilde:195,Auml:196,Ccedil:199,ETH:208,Eacute:201,Ecirc:202,Egrave:200,Euml:203,Iacute:205,Icirc:206,Igrave:204,Iuml:207,Ntilde:209,Oacute:211,Ocirc:212,Ograve:210,Oslash:216,Otilde:213,Ouml:214,THORN:222,Uacute:218,Ucirc:219,Ugrave:217,Uuml:220,Yacute:221,aacute:225,acirc:226,aelig:230,agrave:224,aring:229,atilde:227,auml:228,ccedil:231,eacute:233,ecirc:234,egrave:232,eth:240,euml:235,iacute:237,icirc:238,igrave:236,iuml:239,ntilde:241,oacute:243,ocirc:244,ograve:242,oslash:248,otilde:245,ouml:246,szlig:223,thorn:254,uacute:250,ucirc:251,ugrave:249,uuml:252,yacute:253,yuml:255,copy:169,reg:174,nbsp:160,iexcl:161,cent:162,pound:163,curren:164,yen:165,brvbar:166,sect:167,uml:168,ordf:170,laquo:171,not:172,shy:173,macr:175,deg:176,plusmn:177,sup1:185,sup2:178,sup3:179,acute:180,micro:181,para:182,middot:183,cedil:184,ordm:186,raquo:187,frac14:188,frac12:189,frac34:190,iquest:191,times:215,divide:247,OElig:338,oelig:339,Scaron:352,scaron:353,Yuml:376,fnof:402,circ:710,tilde:732,Alpha:913,Beta:914,Gamma:915,Delta:916,Epsilon:917,Zeta:918,Eta:919,Theta:920,Iota:921,Kappa:922,Lambda:923,Mu:924,Nu:925,Xi:926,Omicron:927,Pi:928,Rho:929,Sigma:931,Tau:932,Upsilon:933,Phi:934,Chi:935,Psi:936,Omega:937,alpha:945,beta:946,gamma:947,delta:948,epsilon:949,zeta:950,eta:951,theta:952,iota:953,kappa:954,lambda:955,mu:956,nu:957,xi:958,omicron:959,pi:960,rho:961,sigmaf:962,sigma:963,tau:964,upsilon:965,phi:966,chi:967,psi:968,omega:969,thetasym:977,upsih:978,piv:982,ensp:8194,emsp:8195,thinsp:8201,zwnj:8204,zwj:8205,lrm:8206,rlm:8207,ndash:8211,mdash:8212,lsquo:8216,rsquo:8217,sbquo:8218,ldquo:8220,rdquo:8221,bdquo:8222,dagger:8224,Dagger:8225,bull:8226,hellip:8230,permil:8240,prime:8242,Prime:8243,lsaquo:8249,rsaquo:8250,oline:8254,frasl:8260,euro:8364,image:8465,weierp:8472,real:8476,trade:8482,alefsym:8501,larr:8592,uarr:8593,rarr:8594,darr:8595,harr:8596,crarr:8629,lArr:8656,uArr:8657,rArr:8658,dArr:8659,hArr:8660,forall:8704,part:8706,exist:8707,empty:8709,nabla:8711,isin:8712,notin:8713,ni:8715,prod:8719,sum:8721,minus:8722,lowast:8727,radic:8730,prop:8733,infin:8734,ang:8736,and:8743,or:8744,cap:8745,cup:8746,int:8747,there4:8756,sim:8764,cong:8773,asymp:8776,ne:8800,equiv:8801,le:8804,ge:8805,sub:8834,sup:8835,nsub:8836,sube:8838,supe:8839,oplus:8853,otimes:8855,perp:8869,sdot:8901,lceil:8968,rceil:8969,lfloor:8970,rfloor:8971,lang:9001,rang:9002,loz:9674,spades:9824,clubs:9827,hearts:9829,diams:9830},Object.keys(e.ENTITIES).forEach((function(t){var r=e.ENTITIES[t],a="number"==typeof r?String.fromCharCode(r):r;e.ENTITIES[t]=a})),e.STATE)e.STATE[e.STATE[x]]=x;function E(e,t,r){e[t]&&e[t](r)}function S(e,t,r){e.textNode&&_(e),E(e,t,r)}function _(e){e.textNode=P(e.opt,e.textNode),e.textNode&&E(e,"ontext",e.textNode),e.textNode=""}function P(e,t){return e.trim&&(t=t.trim()),e.normalize&&(t=t.replace(/\s+/g," ")),t}function C(e,t){return _(e),e.trackPosition&&(t+="\nLine: "+e.line+"\nColumn: "+e.column+"\nChar: "+e.c),t=new Error(t),e.error=t,E(e,"onerror",t),e}function T(e){return e.sawRoot&&!e.closedRoot&&O(e,"Unclosed root tag"),e.state!==w.BEGIN&&e.state!==w.BEGIN_WHITESPACE&&e.state!==w.TEXT&&C(e,"Unexpected end"),_(e),e.c="",e.closed=!0,E(e,"onend"),a.call(e,e.strict,e.opt),e}function O(e,t){if("object"!=typeof e||!(e instanceof a))throw new Error("bad call to strictFail");e.strict&&C(e,t)}function A(e){e.strict||(e.tagName=e.tagName[e.looseCase]());var t=e.tags[e.tags.length-1]||e,r=e.tag={name:e.tagName,attributes:{}};e.opt.xmlns&&(r.ns=t.ns),e.attribList.length=0,S(e,"onopentagstart",r)}function I(e,t){var r=e.indexOf(":")<0?["",e]:e.split(":"),a=r[0],o=r[1];return t&&"xmlns"===e&&(a="xmlns",o=""),{prefix:a,local:o}}function F(e){if(e.strict||(e.attribName=e.attribName[e.looseCase]()),-1!==e.attribList.indexOf(e.attribName)||e.tag.attributes.hasOwnProperty(e.attribName))e.attribName=e.attribValue="";else{if(e.opt.xmlns){var t=I(e.attribName,!0),r=t.prefix,a=t.local;if("xmlns"===r)if("xml"===a&&e.attribValue!==i)O(e,"xml: prefix must be bound to "+i+"\nActual: "+e.attribValue);else if("xmlns"===a&&e.attribValue!==s)O(e,"xmlns: prefix must be bound to "+s+"\nActual: "+e.attribValue);else{var o=e.tag,n=e.tags[e.tags.length-1]||e;o.ns===n.ns&&(o.ns=Object.create(n.ns)),o.ns[a]=e.attribValue}e.attribList.push([e.attribName,e.attribValue])}else e.tag.attributes[e.attribName]=e.attribValue,S(e,"onattribute",{name:e.attribName,value:e.attribValue});e.attribName=e.attribValue=""}}function R(e,t){if(e.opt.xmlns){var r=e.tag,a=I(e.tagName);r.prefix=a.prefix,r.local=a.local,r.uri=r.ns[a.prefix]||"",r.prefix&&!r.uri&&(O(e,"Unbound namespace prefix: "+JSON.stringify(e.tagName)),r.uri=a.prefix);var o=e.tags[e.tags.length-1]||e;r.ns&&o.ns!==r.ns&&Object.keys(r.ns).forEach((function(t){S(e,"onopennamespace",{prefix:t,uri:r.ns[t]})}));for(var n=0,i=e.attribList.length;n<i;n++){var s=e.attribList[n],c=s[0],u=s[1],p=I(c,!0),l=p.prefix,d=p.local,m=""===l?"":r.ns[l]||"",h={name:c,value:u,prefix:l,local:d,uri:m};l&&"xmlns"!==l&&!m&&(O(e,"Unbound namespace prefix: "+JSON.stringify(l)),h.uri=l),e.tag.attributes[c]=h,S(e,"onattribute",h)}e.attribList.length=0}e.tag.isSelfClosing=!!t,e.sawRoot=!0,e.tags.push(e.tag),S(e,"onopentag",e.tag),t||(e.noscript||"script"!==e.tagName.toLowerCase()?e.state=w.TEXT:e.state=w.SCRIPT,e.tag=null,e.tagName=""),e.attribName=e.attribValue="",e.attribList.length=0}function D(e){if(!e.tagName)return O(e,"Weird empty close tag."),e.textNode+="</>",void(e.state=w.TEXT);if(e.script){if("script"!==e.tagName)return e.script+="</"+e.tagName+">",e.tagName="",void(e.state=w.SCRIPT);S(e,"onscript",e.script),e.script=""}var t=e.tags.length,r=e.tagName;e.strict||(r=r[e.looseCase]());for(var a=r;t--&&e.tags[t].name!==a;)O(e,"Unexpected close tag");if(t<0)return O(e,"Unmatched closing tag: "+e.tagName),e.textNode+="</"+e.tagName+">",void(e.state=w.TEXT);e.tagName=r;for(var o=e.tags.length;o-- >t;){var n=e.tag=e.tags.pop();e.tagName=e.tag.name,S(e,"onclosetag",e.tagName);var i={};for(var s in n.ns)i[s]=n.ns[s];var c=e.tags[e.tags.length-1]||e;e.opt.xmlns&&n.ns!==c.ns&&Object.keys(n.ns).forEach((function(t){var r=n.ns[t];S(e,"onclosenamespace",{prefix:t,uri:r})}))}0===t&&(e.closedRoot=!0),e.tagName=e.attribValue=e.attribName="",e.attribList.length=0,e.state=w.TEXT}function N(e){var t,r=e.entity,a=r.toLowerCase(),o="";return e.ENTITIES[r]?e.ENTITIES[r]:e.ENTITIES[a]?e.ENTITIES[a]:("#"===(r=a).charAt(0)&&("x"===r.charAt(1)?(r=r.slice(2),o=(t=parseInt(r,16)).toString(16)):(r=r.slice(1),o=(t=parseInt(r,10)).toString(10))),r=r.replace(/^0+/,""),isNaN(t)||o.toLowerCase()!==r?(O(e,"Invalid character entity"),"&"+e.entity+";"):String.fromCodePoint(t))}function z(e,t){"<"===t?(e.state=w.OPEN_WAKA,e.startTagPosition=e.position):m(t)||(O(e,"Non-whitespace before first tag."),e.textNode=t,e.state=w.TEXT)}function B(e,t){var r="";return t<e.length&&(r=e.charAt(t)),r}w=e.STATE,String.fromCodePoint||(v=String.fromCharCode,b=Math.floor,k=function(){var e,t,r=16384,a=[],o=-1,n=arguments.length;if(!n)return"";for(var i="";++o<n;){var s=Number(arguments[o]);if(!isFinite(s)||s<0||s>1114111||b(s)!==s)throw RangeError("Invalid code point: "+s);s<=65535?a.push(s):(e=55296+((s-=65536)>>10),t=s%1024+56320,a.push(e,t)),(o+1===n||a.length>r)&&(i+=v.apply(null,a),a.length=0)}return i},Object.defineProperty?Object.defineProperty(String,"fromCodePoint",{value:k,configurable:!0,writable:!0}):String.fromCodePoint=k)}(Lt)),Lt}var Ut,Mt={};function Ht(){return Ut||(Ut=1,function(){Mt.stripBOM=function(e){return"\ufeff"===e[0]?e.substring(1):e}}.call(L)),Mt}var Kt,Vt,Gt={};function Qt(){return Kt||(Kt=1,function(){var e;e=new RegExp(/(?!xmlns)^.*:/),Gt.normalize=function(e){return e.toLowerCase()},Gt.firstCharLowerCase=function(e){return e.charAt(0).toLowerCase()+e.slice(1)},Gt.stripPrefix=function(t){return t.replace(e,"")},Gt.parseNumbers=function(e){return isNaN(e)||(e=e%1==0?parseInt(e,10):parseFloat(e)),e},Gt.parseBooleans=function(e){return/^(?:true|false)$/i.test(e)&&(e="true"===e.toLowerCase()),e}}.call(L)),Gt}function Xt(){return Vt||(Vt=1,e=$t,function(){var t,r,a,o,n,i,s,c,u=function(e,t){return function(){return e.apply(t,arguments)}},p={}.hasOwnProperty;s=qt(),a=E.default,t=Ht(),i=Qt(),c=S.default.setImmediate,r=H().defaults,o=function(e){return"object"==typeof e&&null!=e&&0===Object.keys(e).length},n=function(e,t,r){var a,o;for(a=0,o=e.length;a<o;a++)t=(0,e[a])(t,r);return t},e.Parser=function(a){function l(t){var a,o,n;if(this.parseStringPromise=u(this.parseStringPromise,this),this.parseString=u(this.parseString,this),this.reset=u(this.reset,this),this.assignOrPush=u(this.assignOrPush,this),this.processAsync=u(this.processAsync,this),!(this instanceof e.Parser))return new e.Parser(t);for(a in this.options={},o=r[.2])p.call(o,a)&&(n=o[a],this.options[a]=n);for(a in t)p.call(t,a)&&(n=t[a],this.options[a]=n);this.options.xmlns&&(this.options.xmlnskey=this.options.attrkey+"ns"),this.options.normalizeTags&&(this.options.tagNameProcessors||(this.options.tagNameProcessors=[]),this.options.tagNameProcessors.unshift(i.normalize)),this.reset()}return function(e,t){for(var r in t)p.call(t,r)&&(e[r]=t[r]);function a(){this.constructor=e}a.prototype=t.prototype,e.prototype=new a,e.__super__=t.prototype}(l,a),l.prototype.processAsync=function(){var e,t;try{return this.remaining.length<=this.options.chunkSize?(e=this.remaining,this.remaining="",this.saxParser=this.saxParser.write(e),this.saxParser.close()):(e=this.remaining.substr(0,this.options.chunkSize),this.remaining=this.remaining.substr(this.options.chunkSize,this.remaining.length),this.saxParser=this.saxParser.write(e),c(this.processAsync))}catch(e){if(t=e,!this.saxParser.errThrown)return this.saxParser.errThrown=!0,this.emit(t)}},l.prototype.assignOrPush=function(e,t,r){return t in e?(e[t]instanceof Array||(e[t]=[e[t]]),e[t].push(r)):this.options.explicitArray?e[t]=[r]:e[t]=r},l.prototype.reset=function(){var e,t,r,a,i;return this.removeAllListeners(),this.saxParser=s.parser(this.options.strict,{trim:!1,normalize:!1,xmlns:this.options.xmlns}),this.saxParser.errThrown=!1,this.saxParser.onerror=(i=this,function(e){if(i.saxParser.resume(),!i.saxParser.errThrown)return i.saxParser.errThrown=!0,i.emit("error",e)}),this.saxParser.onend=function(e){return function(){if(!e.saxParser.ended)return e.saxParser.ended=!0,e.emit("end",e.resultObject)}}(this),this.saxParser.ended=!1,this.EXPLICIT_CHARKEY=this.options.explicitCharkey,this.resultObject=null,a=[],e=this.options.attrkey,t=this.options.charkey,this.saxParser.onopentag=function(r){return function(o){var i,s,c,u,l;if((c={})[t]="",!r.options.ignoreAttrs)for(i in l=o.attributes)p.call(l,i)&&(e in c||r.options.mergeAttrs||(c[e]={}),s=r.options.attrValueProcessors?n(r.options.attrValueProcessors,o.attributes[i],i):o.attributes[i],u=r.options.attrNameProcessors?n(r.options.attrNameProcessors,i):i,r.options.mergeAttrs?r.assignOrPush(c,u,s):c[e][u]=s);return c["#name"]=r.options.tagNameProcessors?n(r.options.tagNameProcessors,o.name):o.name,r.options.xmlns&&(c[r.options.xmlnskey]={uri:o.uri,local:o.local}),a.push(c)}}(this),this.saxParser.onclosetag=function(e){return function(){var r,i,s,c,u,l,d,m,h,f;if(l=a.pop(),u=l["#name"],e.options.explicitChildren&&e.options.preserveChildrenOrder||delete l["#name"],!0===l.cdata&&(r=l.cdata,delete l.cdata),h=a[a.length-1],l[t].match(/^\s*$/)&&!r?(i=l[t],delete l[t]):(e.options.trim&&(l[t]=l[t].trim()),e.options.normalize&&(l[t]=l[t].replace(/\s{2,}/g," ").trim()),l[t]=e.options.valueProcessors?n(e.options.valueProcessors,l[t],u):l[t],1===Object.keys(l).length&&t in l&&!e.EXPLICIT_CHARKEY&&(l=l[t])),o(l)&&(l=""!==e.options.emptyTag?e.options.emptyTag:i),null!=e.options.validator&&(f="/"+function(){var e,t,r;for(r=[],e=0,t=a.length;e<t;e++)c=a[e],r.push(c["#name"]);return r}().concat(u).join("/"),function(){var t;try{l=e.options.validator(f,h&&h[u],l)}catch(r){return t=r,e.emit("error",t)}}()),e.options.explicitChildren&&!e.options.mergeAttrs&&"object"==typeof l)if(e.options.preserveChildrenOrder){if(h){for(s in h[e.options.childkey]=h[e.options.childkey]||[],d={},l)p.call(l,s)&&(d[s]=l[s]);h[e.options.childkey].push(d),delete l["#name"],1===Object.keys(l).length&&t in l&&!e.EXPLICIT_CHARKEY&&(l=l[t])}}else c={},e.options.attrkey in l&&(c[e.options.attrkey]=l[e.options.attrkey],delete l[e.options.attrkey]),!e.options.charsAsChildren&&e.options.charkey in l&&(c[e.options.charkey]=l[e.options.charkey],delete l[e.options.charkey]),Object.getOwnPropertyNames(l).length>0&&(c[e.options.childkey]=l),l=c;return a.length>0?e.assignOrPush(h,u,l):(e.options.explicitRoot&&(m=l,(l={})[u]=m),e.resultObject=l,e.saxParser.ended=!0,e.emit("end",e.resultObject))}}(this),r=function(e){return function(r){var o,n;if(n=a[a.length-1])return n[t]+=r,e.options.explicitChildren&&e.options.preserveChildrenOrder&&e.options.charsAsChildren&&(e.options.includeWhiteChars||""!==r.replace(/\\n/g,"").trim())&&(n[e.options.childkey]=n[e.options.childkey]||[],(o={"#name":"__text__"})[t]=r,e.options.normalize&&(o[t]=o[t].replace(/\s{2,}/g," ").trim()),n[e.options.childkey].push(o)),n}}(this),this.saxParser.ontext=r,this.saxParser.oncdata=function(e){var t;if(t=r(e))return t.cdata=!0}},l.prototype.parseString=function(e,r){var a;null!=r&&"function"==typeof r&&(this.on("end",(function(e){return this.reset(),r(null,e)})),this.on("error",(function(e){return this.reset(),r(e)})));try{return""===(e=e.toString()).trim()?(this.emit("end",null),!0):(e=t.stripBOM(e),this.options.async?(this.remaining=e,c(this.processAsync),this.saxParser):this.saxParser.write(e).close())}catch(e){if(a=e,!this.saxParser.errThrown&&!this.saxParser.ended)return this.emit("error",a),this.saxParser.errThrown=!0;if(this.saxParser.ended)throw a}},l.prototype.parseStringPromise=function(e){return new Promise((t=this,function(r,a){return t.parseString(e,(function(e,t){return e?a(e):r(t)}))}));var t},l}(a),e.parseString=function(t,r,a){var o,n;return null!=a?("function"==typeof a&&(o=a),"object"==typeof r&&(n=r)):("function"==typeof r&&(o=r),n={}),new e.Parser(n).parseString(t,o)},e.parseStringPromise=function(t,r){var a;return"object"==typeof r&&(a=r),new e.Parser(a).parseStringPromise(t)}}.call(L)),$t;var e}(function(){var e,t,r,a,o={}.hasOwnProperty;t=H(),e=zt(),r=Xt(),a=Qt(),U.defaults=t.defaults,U.processors=a,U.ValidationError=function(e){function t(e){this.message=e}return function(e,t){for(var r in t)o.call(t,r)&&(e[r]=t[r]);function a(){this.constructor=e}a.prototype=t.prototype,e.prototype=new a,e.__super__=t.prototype}(t,Error),t}(),U.Builder=e.Builder,U.Parser=r.Parser,U.parseString=r.parseString,U.parseStringPromise=r.parseStringPromise}).call(L);var Wt=w.default,Yt=x.default,Zt=U,Jt=new Zt.Parser({explicitArray:!1,ignoreAttrs:!0}),er=new Zt.Builder;function tr(e){return encodeURIComponent(e).replace(/!/g,"%21").replace(/'/g,"%27").replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/\*/g,"%2A")}var rr=function(e,t){var r=[];for(var a in e)e.hasOwnProperty(a)&&r.push(t?tr(a).toLowerCase():a);return r.sort((function(e,t){return(e=e.toLowerCase())===(t=t.toLowerCase())?0:e>t?1:-1}))},ar=function(e,t){var r,a,o,n=[],i=rr(e);for(r=0;r<i.length;r++)o=void 0===e[a=i[r]]||null===e[a]?"":""+e[a],a=t?tr(a).toLowerCase():tr(a),o=tr(o)||"",n.push(a+"="+o);return n.join("&")},or=["content-disposition","content-encoding","content-length","content-md5","expect","expires","host","if-match","if-modified-since","if-none-match","if-unmodified-since","origin","range","response-cache-control","response-content-disposition","response-content-encoding","response-content-language","response-content-type","response-expires","transfer-encoding","versionid"],nr=function(){},ir=function(e){var t={};for(var r in e)e.hasOwnProperty(r)&&void 0!==e[r]&&null!==e[r]&&(t[r]=e[r]);return t};function sr(e){return lr(e,(function(e){return"object"==typeof e&&null!==e?sr(e):e}))}function cr(e,t){return pr(t,(function(r,a){e[a]=t[a]})),e}function ur(e){return e instanceof Array}function pr(e,t){for(var r in e)e.hasOwnProperty(r)&&t(e[r],r)}function lr(e,t){var r=ur(e)?[]:{};for(var a in e)e.hasOwnProperty(a)&&(r[a]=t(e[a],a));return r}var dr=function(e,t){if(t=cr({},t),"getAuth"!==e&&"getV4Auth"!==e&&"getObjectUrl"!==e){var r=t.Headers||{};if(t&&"object"==typeof t){!function(){for(var e in t)t.hasOwnProperty(e)&&e.indexOf("x-cos-")>-1&&(r[e]=t[e])}();hr.each({"x-cos-mfa":"MFA","Content-MD5":"ContentMD5","Content-Length":"ContentLength","Content-Type":"ContentType",Expect:"Expect",Expires:"Expires","Cache-Control":"CacheControl","Content-Disposition":"ContentDisposition","Content-Encoding":"ContentEncoding",Range:"Range","If-Modified-Since":"IfModifiedSince","If-Unmodified-Since":"IfUnmodifiedSince","If-Match":"IfMatch","If-None-Match":"IfNoneMatch","x-cos-copy-source":"CopySource","x-cos-copy-source-Range":"CopySourceRange","x-cos-metadata-directive":"MetadataDirective","x-cos-copy-source-If-Modified-Since":"CopySourceIfModifiedSince","x-cos-copy-source-If-Unmodified-Since":"CopySourceIfUnmodifiedSince","x-cos-copy-source-If-Match":"CopySourceIfMatch","x-cos-copy-source-If-None-Match":"CopySourceIfNoneMatch","x-cos-acl":"ACL","x-cos-grant-read":"GrantRead","x-cos-grant-write":"GrantWrite","x-cos-grant-full-control":"GrantFullControl","x-cos-grant-read-acp":"GrantReadAcp","x-cos-grant-write-acp":"GrantWriteAcp","x-cos-storage-class":"StorageClass","x-cos-traffic-limit":"TrafficLimit","x-cos-mime-limit":"MimeLimit","x-cos-server-side-encryption-customer-algorithm":"SSECustomerAlgorithm","x-cos-server-side-encryption-customer-key":"SSECustomerKey","x-cos-server-side-encryption-customer-key-MD5":"SSECustomerKeyMD5","x-cos-server-side-encryption":"ServerSideEncryption","x-cos-server-side-encryption-cos-kms-key-id":"SSEKMSKeyId","x-cos-server-side-encryption-context":"SSEContext"},(function(e,a){void 0!==t[e]&&(r[a]=t[e])})),t.Headers=ir(r)}}return t},mr=function(e){return Date.now()+(e||0)},hr={noop:nr,formatParams:dr,apiWrapper:function(e,t){return function(r,a){var o=this;"function"==typeof r&&(a=r,r={}),r=dr(e,r);var n=function(e){return e&&e.headers&&(e.headers["x-cos-request-id"]&&(e.RequestId=e.headers["x-cos-request-id"]),e.headers["x-ci-request-id"]&&(e.RequestId=e.headers["x-ci-request-id"]),e.headers["x-cos-version-id"]&&(e.VersionId=e.headers["x-cos-version-id"]),e.headers["x-cos-delete-marker"]&&(e.DeleteMarker=e.headers["x-cos-delete-marker"])),e},i=function(e,t){a&&a(n(e),n(t))},s=function(){if("getService"!==e&&"abortUploadTask"!==e){var t=function(e,t){var r=t.Bucket,a=t.Region,o=t.Key;if(e.indexOf("Bucket")>-1||"deleteMultipleObject"===e||"multipartList"===e||"listObjectVersions"===e){if(!r)return"Bucket";if(!a)return"Region"}else if(e.indexOf("Object")>-1||e.indexOf("multipart")>-1||"sliceUploadFile"===e||"abortUploadTask"===e){if(!r)return"Bucket";if(!a)return"Region";if(!o)return"Key"}return!1}(e,r);if(t)return"missing param "+t;if(r.Region){if(r.Region.indexOf("cos.")>-1)return'param Region should not be start with "cos."';if(!/^([a-z\d-]+)$/.test(r.Region))return"Region format error.";o.options.CompatibilityMode||-1!==r.Region.indexOf("-")||"yfb"===r.Region||"default"===r.Region||"accelerate"===r.Region||console.warn("warning: param Region format error, find help here: https://cloud.tencent.com/document/product/436/6224")}if(r.Bucket){if(!/^([a-z\d-]+)-(\d+)$/.test(r.Bucket))if(r.AppId)r.Bucket=r.Bucket+"-"+r.AppId;else{if(!o.options.AppId)return'Bucket should format as "test-1250000000".';r.Bucket=r.Bucket+"-"+o.options.AppId}r.AppId&&(console.warn('warning: AppId has been deprecated, Please put it at the end of parameter Bucket(E.g Bucket:"test-1250000000" ).'),delete r.AppId)}!o.options.UseRawKey&&r.Key&&"/"===r.Key.substr(0,1)&&(r.Key=r.Key.substr(1))}}(),c="getAuth"===e||"getV4Auth"===e||"getObjectUrl"===e||e.indexOf("Stream")>-1;if(Promise&&!c&&!a)return new Promise((function(e,n){if(a=function(t,r){t?n(t):e(r)},s)return i(hr.error(new Error(s)));t.call(o,r,i)}));if(s)return i(hr.error(new Error(s)));var u=t.call(o,r,i);return c?u:void 0}},xml2json:function(e){var t={};return Jt.parseString(e,(function(e,r){t=r})),t},json2xml:function(e){return er.buildObject(e)},md5:function(e,t){return Yt.createHash("md5").update(e).digest(t||"hex")},clearKey:ir,fileSlice:function(e,t,r,a){if(e)try{var o=Wt.createReadStream(e,{start:t,end:r-1});o.isSdkCreated=!0,a(o)}catch(e){}else a(null)},getBodyMd5:function(e,t,r){r=r||nr,e&&(t instanceof Buffer||"string"==typeof t)?r(hr.md5(t)):r()},getFileMd5:function(e,t){var r=Yt.createHash("md5");e.on("data",(function(e){r.update(e)})),e.on("error",(function(e){t(hr.error(e))})),e.on("end",(function(){var e=r.digest("hex");t(null,e)}))},binaryBase64:function(e){var t,r,a,o=[];for(t=0,r=e.length/2;t<r;t++)a=parseInt(e[2*t]+e[2*t+1],16),o.push(a);return Buffer.from(o).toString("base64")},extend:cr,isArray:ur,isInArray:function(e,t){for(var r=!1,a=0;a<e.length;a++)if(t===e[a]){r=!0;break}return r},makeArray:function(e){return ur(e)?e:[e]},each:pr,map:lr,filter:function(e,t){var r=ur(e),a=r?[]:{};for(var o in e)e.hasOwnProperty(o)&&t(e[o],o)&&(r?a.push(e[o]):a[o]=e[o]);return a},clone:sr,attr:function(e,t,r){return e&&t in e?e[t]:r},uuid:function(){var e=function(){return(65536*(1+Math.random())|0).toString(16).substring(1)};return e()+e()+"-"+e()+"-"+e()+"-"+e()+"-"+e()+e()+e()},camSafeUrlEncode:tr,throttleOnProgress:function(e,t){var r,a,o=this,n=0,i=0,s=Date.now();function c(){if(a=0,t&&"function"==typeof t){r=Date.now();var o,c=Math.max(0,Math.round((i-n)/((r-s)/1e3)*100)/100)||0;o=0===i&&0===e?1:Math.floor(i/e*100)/100||0,s=r,n=i;try{t({loaded:i,total:e,speed:c,percent:o})}catch(e){}}}return function(t,r){if(t&&(i=t.loaded,e=t.total),r)clearTimeout(a),c();else{if(a)return;a=setTimeout(c,o.options.ProgressInterval)}}},getFileSize:function(e,t,r){var a;if("sliceUploadFile"===e)return t.FilePath?void Wt.stat(t.FilePath,(function(e,o){if(e){if(void 0===t.ContentLength)return r(e);a=t.ContentLength}else t.FileStat=o,t.FileStat.FilePath=t.FilePath,a=o.isDirectory()?0:o.size;t.ContentLength=a=a||0,r(null,a)})):void r(hr.error(new Error("missing param FilePath")));if(void 0!==t.Body){if("string"==typeof t.Body&&(t.Body=L.Buffer.from(t.Body)),t.Body instanceof L.Buffer)a=t.Body.length;else{if("function"!=typeof t.Body.pipe)return void r(hr.error(new Error("params Body format error, Only allow Buffer|Stream|String.")));a=void 0===t.ContentLength?void 0:t.ContentLength}t.ContentLength=a,r(null,a)}else r(hr.error(new Error("missing param Body")))},getSkewTime:mr,error:function(e,t){var r=e;if(e.message=e.message||null,"string"==typeof t?(e.error=t,e.message=t):"object"==typeof t&&null!==t&&(cr(e,t),(t.code||t.name)&&(e.code=t.code||t.name),t.message&&(e.message=t.message),t.stack&&(e.stack=t.stack)),"function"==typeof Object.defineProperty&&(Object.defineProperty(e,"name",{writable:!0,enumerable:!1}),Object.defineProperty(e,"message",{enumerable:!0})),e.name=t&&t.name||e.name||e.code||"Error",e.code||(e.code=e.name),!e.error){var a=Object.prototype.toString.call(e);"[object Object]"===a?e.error=sr(r):"[object Error]"===a&&(e={code:e.code||e.name||"Error",name:e.name||e.code||"Error",message:e.reason||e.message||"Error"})}return e},getAuth:function(e){var t,r=(e=e||{}).SecretId,a=e.SecretKey,o=e.KeyTime,n=(e.method||e.Method||"get").toLowerCase(),i=sr(e.Query||e.params||{}),s=function(e){var t={};for(var r in e){var a=r.toLowerCase();(a.indexOf("x-cos-")>-1||or.indexOf(a)>-1)&&(t[r]=e[r])}return t}(sr(e.Headers||e.headers||{})),c=e.Key||"";e.UseRawKey?t=e.Pathname||e.pathname||"/"+c:0!==(t=e.Pathname||e.pathname||c).indexOf("/")&&(t="/"+t);var u=!1!==e.ForceSignHost;if(!s.Host&&!s.host&&e.Bucket&&e.Region&&u&&(s.Host=e.Bucket+".cos."+e.Region+".myqcloud.com"),!r)throw new Error("missing param SecretId");if(!a)throw new Error("missing param SecretKey");var p=Math.round(mr(e.SystemClockOffset)/1e3)-1,l=p,d=e.Expires||e.expires;l+=void 0===d?900:1*d||0;var m=r,h=o||p+";"+l,f=o||p+";"+l,g=rr(s,!0).join(";").toLowerCase(),y=rr(i,!0).join(";").toLowerCase(),v=Yt.createHmac("sha1",a).update(f).digest("hex"),b=[n,t,ar(i,!0),ar(s,!0),""].join("\n");b=Buffer.from(b,"utf8");var k=["sha1",h,Yt.createHash("sha1").update(b).digest("hex"),""].join("\n");return["q-sign-algorithm=sha1","q-ak="+m,"q-sign-time="+h,"q-key-time="+f,"q-header-list="+g,"q-url-param-list="+y,"q-signature="+Yt.createHmac("sha1",v).update(k).digest("hex")].join("&")},callbackAfterStreamFinish:function(e,t){if(!e)return t;var r,a,o=2,n=!1,i=function(e,i){n||((i&&!a||e||r)&&(a=i),e&&!r&&(r=e,a=null),(r||0==--o)&&(n=!0,t(r,a)))};return e.on("error",(function(e){i(e)})),e.on("finish",(function(){i()})),i},getV4Auth:function(e){if(!e.SecretId)return console.error("missing param SecretId");if(!e.SecretKey)return console.error("missing param SecretKey");if(!e.Bucket)return console.error("missing param Bucket");var t=e.Bucket,r=t.substr(0,t.lastIndexOf("-")),a=t.substr(t.lastIndexOf("-")+1),o=Math.round(Math.random()*Math.pow(2,32)),n=Math.round(Date.now()/1e3),i=n+(void 0===e.Expires?900:e.Expires),s="/"+a+"/"+r+"/"+encodeURIComponent((e.Key||"").replace(/(^\/*)/g,"")).replace(/%2F/g,"/"),c="a="+a+"&b="+r+"&k="+e.SecretId+"&t="+n+"&e="+i+"&r="+o+"&f="+s,u=Yt.createHmac("sha1",e.SecretKey).update(c).digest();return Buffer.concat([u,Buffer.from(c)]).toString("base64")},isBrowser:!1,obj2str:ar,isWeb:function(){return"object"==typeof window},isCIHost:function(e){return/^https?:\/\/([^/]+\.)?ci\.[^/]+/.test(e)}},fr=hr,gr={},yr=function(e){var t={},r=function(e){return!t[e]&&(t[e]=[]),t[e]};e.on=function(e,t){"task-list-update"===e&&console.warn('warning: Event "'+e+'" has been deprecated. Please use "list-update" instead.'),r(e).push(t)},e.off=function(e,t){for(var a=r(e),o=a.length-1;o>=0;o--)t===a[o]&&a.splice(o,1)},e.emit=function(e,t){for(var a=r(e).map((function(e){return e})),o=0;o<a.length;o++)a[o](t)}};gr.init=yr,gr.EventProxy=function(){yr(this)};var vr,br,kr,wr,xr={},jr={exports:{}};function Er(){return br||(br=1,vr=e=>{const t=typeof e;return null!==e&&("object"===t||"function"===t)}),vr}function Sr(){if(wr)return kr;wr=1;const e=Er(),t=new Set(["__proto__","prototype","constructor"]);function r(e){const r=e.split("."),a=[];for(let e=0;e<r.length;e++){let t=r[e];for(;"\\"===t[t.length-1]&&void 0!==r[e+1];)t=t.slice(0,-1)+".",t+=r[++e];a.push(t)}return a.some((e=>t.has(e)))?[]:a}return kr={get(t,a,o){if(!e(t)||"string"!=typeof a)return void 0===o?t:o;const n=r(a);if(0!==n.length){for(let e=0;e<n.length;e++)if(null==(t=t[n[e]])){if(e!==n.length-1)return o;break}return void 0===t?o:t}},set(t,a,o){if(!e(t)||"string"!=typeof a)return t;const n=t,i=r(a);for(let r=0;r<i.length;r++){const a=i[r];e(t[a])||(t[a]={}),r===i.length-1&&(t[a]=o),t=t[a]}return n},delete(t,a){if(!e(t)||"string"!=typeof a)return!1;const o=r(a);for(let r=0;r<o.length;r++){const a=o[r];if(r===o.length-1)return delete t[a],!0;if(t=t[a],!e(t))return!1}},has(t,a){if(!e(t)||"string"!=typeof a)return!1;const o=r(a);if(0===o.length)return!1;for(let r=0;r<o.length;r++){if(!e(t))return!1;if(!(o[r]in t))return!1;t=t[o[r]]}return!0}}}var _r,Pr,Cr={exports:{}},Tr={exports:{}};function Or(){return _r||(_r=1,function(e,t){var r;t=Tr.exports=l,r="object"==typeof process&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?function(){var e=Array.prototype.slice.call(arguments,0);e.unshift("SEMVER"),console.log.apply(console,e)}:function(){},t.SEMVER_SPEC_VERSION="2.0.0";var a=Number.MAX_SAFE_INTEGER||9007199254740991,o=t.re=[],n=t.src=[],i=t.tokens={},s=0;function c(e){i[e]=s++}c("NUMERICIDENTIFIER"),n[i.NUMERICIDENTIFIER]="0|[1-9]\\d*",c("NUMERICIDENTIFIERLOOSE"),n[i.NUMERICIDENTIFIERLOOSE]="[0-9]+",c("NONNUMERICIDENTIFIER"),n[i.NONNUMERICIDENTIFIER]="\\d*[a-zA-Z-][a-zA-Z0-9-]*",c("MAINVERSION"),n[i.MAINVERSION]="("+n[i.NUMERICIDENTIFIER]+")\\.("+n[i.NUMERICIDENTIFIER]+")\\.("+n[i.NUMERICIDENTIFIER]+")",c("MAINVERSIONLOOSE"),n[i.MAINVERSIONLOOSE]="("+n[i.NUMERICIDENTIFIERLOOSE]+")\\.("+n[i.NUMERICIDENTIFIERLOOSE]+")\\.("+n[i.NUMERICIDENTIFIERLOOSE]+")",c("PRERELEASEIDENTIFIER"),n[i.PRERELEASEIDENTIFIER]="(?:"+n[i.NUMERICIDENTIFIER]+"|"+n[i.NONNUMERICIDENTIFIER]+")",c("PRERELEASEIDENTIFIERLOOSE"),n[i.PRERELEASEIDENTIFIERLOOSE]="(?:"+n[i.NUMERICIDENTIFIERLOOSE]+"|"+n[i.NONNUMERICIDENTIFIER]+")",c("PRERELEASE"),n[i.PRERELEASE]="(?:-("+n[i.PRERELEASEIDENTIFIER]+"(?:\\."+n[i.PRERELEASEIDENTIFIER]+")*))",c("PRERELEASELOOSE"),n[i.PRERELEASELOOSE]="(?:-?("+n[i.PRERELEASEIDENTIFIERLOOSE]+"(?:\\."+n[i.PRERELEASEIDENTIFIERLOOSE]+")*))",c("BUILDIDENTIFIER"),n[i.BUILDIDENTIFIER]="[0-9A-Za-z-]+",c("BUILD"),n[i.BUILD]="(?:\\+("+n[i.BUILDIDENTIFIER]+"(?:\\."+n[i.BUILDIDENTIFIER]+")*))",c("FULL"),c("FULLPLAIN"),n[i.FULLPLAIN]="v?"+n[i.MAINVERSION]+n[i.PRERELEASE]+"?"+n[i.BUILD]+"?",n[i.FULL]="^"+n[i.FULLPLAIN]+"$",c("LOOSEPLAIN"),n[i.LOOSEPLAIN]="[v=\\s]*"+n[i.MAINVERSIONLOOSE]+n[i.PRERELEASELOOSE]+"?"+n[i.BUILD]+"?",c("LOOSE"),n[i.LOOSE]="^"+n[i.LOOSEPLAIN]+"$",c("GTLT"),n[i.GTLT]="((?:<|>)?=?)",c("XRANGEIDENTIFIERLOOSE"),n[i.XRANGEIDENTIFIERLOOSE]=n[i.NUMERICIDENTIFIERLOOSE]+"|x|X|\\*",c("XRANGEIDENTIFIER"),n[i.XRANGEIDENTIFIER]=n[i.NUMERICIDENTIFIER]+"|x|X|\\*",c("XRANGEPLAIN"),n[i.XRANGEPLAIN]="[v=\\s]*("+n[i.XRANGEIDENTIFIER]+")(?:\\.("+n[i.XRANGEIDENTIFIER]+")(?:\\.("+n[i.XRANGEIDENTIFIER]+")(?:"+n[i.PRERELEASE]+")?"+n[i.BUILD]+"?)?)?",c("XRANGEPLAINLOOSE"),n[i.XRANGEPLAINLOOSE]="[v=\\s]*("+n[i.XRANGEIDENTIFIERLOOSE]+")(?:\\.("+n[i.XRANGEIDENTIFIERLOOSE]+")(?:\\.("+n[i.XRANGEIDENTIFIERLOOSE]+")(?:"+n[i.PRERELEASELOOSE]+")?"+n[i.BUILD]+"?)?)?",c("XRANGE"),n[i.XRANGE]="^"+n[i.GTLT]+"\\s*"+n[i.XRANGEPLAIN]+"$",c("XRANGELOOSE"),n[i.XRANGELOOSE]="^"+n[i.GTLT]+"\\s*"+n[i.XRANGEPLAINLOOSE]+"$",c("COERCE"),n[i.COERCE]="(^|[^\\d])(\\d{1,16})(?:\\.(\\d{1,16}))?(?:\\.(\\d{1,16}))?(?:$|[^\\d])",c("COERCERTL"),o[i.COERCERTL]=new RegExp(n[i.COERCE],"g"),c("LONETILDE"),n[i.LONETILDE]="(?:~>?)",c("TILDETRIM"),n[i.TILDETRIM]="(\\s*)"+n[i.LONETILDE]+"\\s+",o[i.TILDETRIM]=new RegExp(n[i.TILDETRIM],"g");c("TILDE"),n[i.TILDE]="^"+n[i.LONETILDE]+n[i.XRANGEPLAIN]+"$",c("TILDELOOSE"),n[i.TILDELOOSE]="^"+n[i.LONETILDE]+n[i.XRANGEPLAINLOOSE]+"$",c("LONECARET"),n[i.LONECARET]="(?:\\^)",c("CARETTRIM"),n[i.CARETTRIM]="(\\s*)"+n[i.LONECARET]+"\\s+",o[i.CARETTRIM]=new RegExp(n[i.CARETTRIM],"g");c("CARET"),n[i.CARET]="^"+n[i.LONECARET]+n[i.XRANGEPLAIN]+"$",c("CARETLOOSE"),n[i.CARETLOOSE]="^"+n[i.LONECARET]+n[i.XRANGEPLAINLOOSE]+"$",c("COMPARATORLOOSE"),n[i.COMPARATORLOOSE]="^"+n[i.GTLT]+"\\s*("+n[i.LOOSEPLAIN]+")$|^$",c("COMPARATOR"),n[i.COMPARATOR]="^"+n[i.GTLT]+"\\s*("+n[i.FULLPLAIN]+")$|^$",c("COMPARATORTRIM"),n[i.COMPARATORTRIM]="(\\s*)"+n[i.GTLT]+"\\s*("+n[i.LOOSEPLAIN]+"|"+n[i.XRANGEPLAIN]+")",o[i.COMPARATORTRIM]=new RegExp(n[i.COMPARATORTRIM],"g");c("HYPHENRANGE"),n[i.HYPHENRANGE]="^\\s*("+n[i.XRANGEPLAIN]+")\\s+-\\s+("+n[i.XRANGEPLAIN]+")\\s*$",c("HYPHENRANGELOOSE"),n[i.HYPHENRANGELOOSE]="^\\s*("+n[i.XRANGEPLAINLOOSE]+")\\s+-\\s+("+n[i.XRANGEPLAINLOOSE]+")\\s*$",c("STAR"),n[i.STAR]="(<|>)?=?\\s*\\*";for(var u=0;u<s;u++)r(u,n[u]),o[u]||(o[u]=new RegExp(n[u]));function p(e,t){if(t&&"object"==typeof t||(t={loose:!!t,includePrerelease:!1}),e instanceof l)return e;if("string"!=typeof e)return null;if(e.length>256)return null;if(!(t.loose?o[i.LOOSE]:o[i.FULL]).test(e))return null;try{return new l(e,t)}catch(e){return null}}function l(e,t){if(t&&"object"==typeof t||(t={loose:!!t,includePrerelease:!1}),e instanceof l){if(e.loose===t.loose)return e;e=e.version}else if("string"!=typeof e)throw new TypeError("Invalid Version: "+e);if(e.length>256)throw new TypeError("version is longer than 256 characters");if(!(this instanceof l))return new l(e,t);r("SemVer",e,t),this.options=t,this.loose=!!t.loose;var n=e.trim().match(t.loose?o[i.LOOSE]:o[i.FULL]);if(!n)throw new TypeError("Invalid Version: "+e);if(this.raw=e,this.major=+n[1],this.minor=+n[2],this.patch=+n[3],this.major>a||this.major<0)throw new TypeError("Invalid major version");if(this.minor>a||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>a||this.patch<0)throw new TypeError("Invalid patch version");n[4]?this.prerelease=n[4].split(".").map((function(e){if(/^[0-9]+$/.test(e)){var t=+e;if(t>=0&&t<a)return t}return e})):this.prerelease=[],this.build=n[5]?n[5].split("."):[],this.format()}t.parse=p,t.valid=function(e,t){var r=p(e,t);return r?r.version:null},t.clean=function(e,t){var r=p(e.trim().replace(/^[=v]+/,""),t);return r?r.version:null},t.SemVer=l,l.prototype.format=function(){return this.version=this.major+"."+this.minor+"."+this.patch,this.prerelease.length&&(this.version+="-"+this.prerelease.join(".")),this.version},l.prototype.toString=function(){return this.version},l.prototype.compare=function(e){return r("SemVer.compare",this.version,this.options,e),e instanceof l||(e=new l(e,this.options)),this.compareMain(e)||this.comparePre(e)},l.prototype.compareMain=function(e){return e instanceof l||(e=new l(e,this.options)),m(this.major,e.major)||m(this.minor,e.minor)||m(this.patch,e.patch)},l.prototype.comparePre=function(e){if(e instanceof l||(e=new l(e,this.options)),this.prerelease.length&&!e.prerelease.length)return-1;if(!this.prerelease.length&&e.prerelease.length)return 1;if(!this.prerelease.length&&!e.prerelease.length)return 0;var t=0;do{var a=this.prerelease[t],o=e.prerelease[t];if(r("prerelease compare",t,a,o),void 0===a&&void 0===o)return 0;if(void 0===o)return 1;if(void 0===a)return-1;if(a!==o)return m(a,o)}while(++t)},l.prototype.compareBuild=function(e){e instanceof l||(e=new l(e,this.options));var t=0;do{var a=this.build[t],o=e.build[t];if(r("prerelease compare",t,a,o),void 0===a&&void 0===o)return 0;if(void 0===o)return 1;if(void 0===a)return-1;if(a!==o)return m(a,o)}while(++t)},l.prototype.inc=function(e,t){switch(e){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",t);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",t);break;case"prepatch":this.prerelease.length=0,this.inc("patch",t),this.inc("pre",t);break;case"prerelease":0===this.prerelease.length&&this.inc("patch",t),this.inc("pre",t);break;case"major":0===this.minor&&0===this.patch&&0!==this.prerelease.length||this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":0===this.patch&&0!==this.prerelease.length||this.minor++,this.patch=0,this.prerelease=[];break;case"patch":0===this.prerelease.length&&this.patch++,this.prerelease=[];break;case"pre":if(0===this.prerelease.length)this.prerelease=[0];else{for(var r=this.prerelease.length;--r>=0;)"number"==typeof this.prerelease[r]&&(this.prerelease[r]++,r=-2);-1===r&&this.prerelease.push(0)}t&&(this.prerelease[0]===t?isNaN(this.prerelease[1])&&(this.prerelease=[t,0]):this.prerelease=[t,0]);break;default:throw new Error("invalid increment argument: "+e)}return this.format(),this.raw=this.version,this},t.inc=function(e,t,r,a){"string"==typeof r&&(a=r,r=void 0);try{return new l(e,r).inc(t,a).version}catch(e){return null}},t.diff=function(e,t){if(y(e,t))return null;var r=p(e),a=p(t),o="";if(r.prerelease.length||a.prerelease.length){o="pre";var n="prerelease"}for(var i in r)if(("major"===i||"minor"===i||"patch"===i)&&r[i]!==a[i])return o+i;return n},t.compareIdentifiers=m;var d=/^[0-9]+$/;function m(e,t){var r=d.test(e),a=d.test(t);return r&&a&&(e=+e,t=+t),e===t?0:r&&!a?-1:a&&!r?1:e<t?-1:1}function h(e,t,r){return new l(e,r).compare(new l(t,r))}function f(e,t,r){return h(e,t,r)>0}function g(e,t,r){return h(e,t,r)<0}function y(e,t,r){return 0===h(e,t,r)}function v(e,t,r){return 0!==h(e,t,r)}function b(e,t,r){return h(e,t,r)>=0}function k(e,t,r){return h(e,t,r)<=0}function w(e,t,r,a){switch(t){case"===":return"object"==typeof e&&(e=e.version),"object"==typeof r&&(r=r.version),e===r;case"!==":return"object"==typeof e&&(e=e.version),"object"==typeof r&&(r=r.version),e!==r;case"":case"=":case"==":return y(e,r,a);case"!=":return v(e,r,a);case">":return f(e,r,a);case">=":return b(e,r,a);case"<":return g(e,r,a);case"<=":return k(e,r,a);default:throw new TypeError("Invalid operator: "+t)}}function x(e,t){if(t&&"object"==typeof t||(t={loose:!!t,includePrerelease:!1}),e instanceof x){if(e.loose===!!t.loose)return e;e=e.value}if(!(this instanceof x))return new x(e,t);r("comparator",e,t),this.options=t,this.loose=!!t.loose,this.parse(e),this.semver===j?this.value="":this.value=this.operator+this.semver.version,r("comp",this)}t.rcompareIdentifiers=function(e,t){return m(t,e)},t.major=function(e,t){return new l(e,t).major},t.minor=function(e,t){return new l(e,t).minor},t.patch=function(e,t){return new l(e,t).patch},t.compare=h,t.compareLoose=function(e,t){return h(e,t,!0)},t.compareBuild=function(e,t,r){var a=new l(e,r),o=new l(t,r);return a.compare(o)||a.compareBuild(o)},t.rcompare=function(e,t,r){return h(t,e,r)},t.sort=function(e,r){return e.sort((function(e,a){return t.compareBuild(e,a,r)}))},t.rsort=function(e,r){return e.sort((function(e,a){return t.compareBuild(a,e,r)}))},t.gt=f,t.lt=g,t.eq=y,t.neq=v,t.gte=b,t.lte=k,t.cmp=w,t.Comparator=x;var j={};function E(e,t){if(t&&"object"==typeof t||(t={loose:!!t,includePrerelease:!1}),e instanceof E)return e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease?e:new E(e.raw,t);if(e instanceof x)return new E(e.value,t);if(!(this instanceof E))return new E(e,t);if(this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease,this.raw=e,this.set=e.split(/\s*\|\|\s*/).map((function(e){return this.parseRange(e.trim())}),this).filter((function(e){return e.length})),!this.set.length)throw new TypeError("Invalid SemVer Range: "+e);this.format()}function S(e,t){for(var r=!0,a=e.slice(),o=a.pop();r&&a.length;)r=a.every((function(e){return o.intersects(e,t)})),o=a.pop();return r}function _(e){return!e||"x"===e.toLowerCase()||"*"===e}function P(e,t,r,a,o,n,i,s,c,u,p,l,d){return((t=_(r)?"":_(a)?">="+r+".0.0":_(o)?">="+r+"."+a+".0":">="+t)+" "+(s=_(c)?"":_(u)?"<"+(+c+1)+".0.0":_(p)?"<"+c+"."+(+u+1)+".0":l?"<="+c+"."+u+"."+p+"-"+l:"<="+s)).trim()}function C(e,t,a){for(var o=0;o<e.length;o++)if(!e[o].test(t))return!1;if(t.prerelease.length&&!a.includePrerelease){for(o=0;o<e.length;o++)if(r(e[o].semver),e[o].semver!==j&&e[o].semver.prerelease.length>0){var n=e[o].semver;if(n.major===t.major&&n.minor===t.minor&&n.patch===t.patch)return!0}return!1}return!0}function T(e,t,r){try{t=new E(t,r)}catch(e){return!1}return t.test(e)}function O(e,t,r,a){var o,n,i,s,c;switch(e=new l(e,a),t=new E(t,a),r){case">":o=f,n=k,i=g,s=">",c=">=";break;case"<":o=g,n=b,i=f,s="<",c="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(T(e,t,a))return!1;for(var u=0;u<t.set.length;++u){var p=t.set[u],d=null,m=null;if(p.forEach((function(e){e.semver===j&&(e=new x(">=0.0.0")),d=d||e,m=m||e,o(e.semver,d.semver,a)?d=e:i(e.semver,m.semver,a)&&(m=e)})),d.operator===s||d.operator===c)return!1;if((!m.operator||m.operator===s)&&n(e,m.semver))return!1;if(m.operator===c&&i(e,m.semver))return!1}return!0}x.prototype.parse=function(e){var t=this.options.loose?o[i.COMPARATORLOOSE]:o[i.COMPARATOR],r=e.match(t);if(!r)throw new TypeError("Invalid comparator: "+e);this.operator=void 0!==r[1]?r[1]:"","="===this.operator&&(this.operator=""),r[2]?this.semver=new l(r[2],this.options.loose):this.semver=j},x.prototype.toString=function(){return this.value},x.prototype.test=function(e){if(r("Comparator.test",e,this.options.loose),this.semver===j||e===j)return!0;if("string"==typeof e)try{e=new l(e,this.options)}catch(e){return!1}return w(e,this.operator,this.semver,this.options)},x.prototype.intersects=function(e,t){if(!(e instanceof x))throw new TypeError("a Comparator is required");var r;if(t&&"object"==typeof t||(t={loose:!!t,includePrerelease:!1}),""===this.operator)return""===this.value||(r=new E(e.value,t),T(this.value,r,t));if(""===e.operator)return""===e.value||(r=new E(this.value,t),T(e.semver,r,t));var a=!(">="!==this.operator&&">"!==this.operator||">="!==e.operator&&">"!==e.operator),o=!("<="!==this.operator&&"<"!==this.operator||"<="!==e.operator&&"<"!==e.operator),n=this.semver.version===e.semver.version,i=!(">="!==this.operator&&"<="!==this.operator||">="!==e.operator&&"<="!==e.operator),s=w(this.semver,"<",e.semver,t)&&(">="===this.operator||">"===this.operator)&&("<="===e.operator||"<"===e.operator),c=w(this.semver,">",e.semver,t)&&("<="===this.operator||"<"===this.operator)&&(">="===e.operator||">"===e.operator);return a||o||n&&i||s||c},t.Range=E,E.prototype.format=function(){return this.range=this.set.map((function(e){return e.join(" ").trim()})).join("||").trim(),this.range},E.prototype.toString=function(){return this.range},E.prototype.parseRange=function(e){var t=this.options.loose;e=e.trim();var a=t?o[i.HYPHENRANGELOOSE]:o[i.HYPHENRANGE];e=e.replace(a,P),r("hyphen replace",e),e=e.replace(o[i.COMPARATORTRIM],"$1$2$3"),r("comparator trim",e,o[i.COMPARATORTRIM]),e=(e=(e=e.replace(o[i.TILDETRIM],"$1~")).replace(o[i.CARETTRIM],"$1^")).split(/\s+/).join(" ");var n=t?o[i.COMPARATORLOOSE]:o[i.COMPARATOR],s=e.split(" ").map((function(e){return function(e,t){return r("comp",e,t),e=function(e,t){return e.trim().split(/\s+/).map((function(e){return function(e,t){r("caret",e,t);var a=t.loose?o[i.CARETLOOSE]:o[i.CARET];return e.replace(a,(function(t,a,o,n,i){var s;return r("caret",e,t,a,o,n,i),_(a)?s="":_(o)?s=">="+a+".0.0 <"+(+a+1)+".0.0":_(n)?s="0"===a?">="+a+"."+o+".0 <"+a+"."+(+o+1)+".0":">="+a+"."+o+".0 <"+(+a+1)+".0.0":i?(r("replaceCaret pr",i),s="0"===a?"0"===o?">="+a+"."+o+"."+n+"-"+i+" <"+a+"."+o+"."+(+n+1):">="+a+"."+o+"."+n+"-"+i+" <"+a+"."+(+o+1)+".0":">="+a+"."+o+"."+n+"-"+i+" <"+(+a+1)+".0.0"):(r("no pr"),s="0"===a?"0"===o?">="+a+"."+o+"."+n+" <"+a+"."+o+"."+(+n+1):">="+a+"."+o+"."+n+" <"+a+"."+(+o+1)+".0":">="+a+"."+o+"."+n+" <"+(+a+1)+".0.0"),r("caret return",s),s}))}(e,t)})).join(" ")}(e,t),r("caret",e),e=function(e,t){return e.trim().split(/\s+/).map((function(e){return function(e,t){var a=t.loose?o[i.TILDELOOSE]:o[i.TILDE];return e.replace(a,(function(t,a,o,n,i){var s;return r("tilde",e,t,a,o,n,i),_(a)?s="":_(o)?s=">="+a+".0.0 <"+(+a+1)+".0.0":_(n)?s=">="+a+"."+o+".0 <"+a+"."+(+o+1)+".0":i?(r("replaceTilde pr",i),s=">="+a+"."+o+"."+n+"-"+i+" <"+a+"."+(+o+1)+".0"):s=">="+a+"."+o+"."+n+" <"+a+"."+(+o+1)+".0",r("tilde return",s),s}))}(e,t)})).join(" ")}(e,t),r("tildes",e),e=function(e,t){return r("replaceXRanges",e,t),e.split(/\s+/).map((function(e){return function(e,t){e=e.trim();var a=t.loose?o[i.XRANGELOOSE]:o[i.XRANGE];return e.replace(a,(function(a,o,n,i,s,c){r("xRange",e,a,o,n,i,s,c);var u=_(n),p=u||_(i),l=p||_(s),d=l;return"="===o&&d&&(o=""),c=t.includePrerelease?"-0":"",u?a=">"===o||"<"===o?"<0.0.0-0":"*":o&&d?(p&&(i=0),s=0,">"===o?(o=">=",p?(n=+n+1,i=0,s=0):(i=+i+1,s=0)):"<="===o&&(o="<",p?n=+n+1:i=+i+1),a=o+n+"."+i+"."+s+c):p?a=">="+n+".0.0"+c+" <"+(+n+1)+".0.0"+c:l&&(a=">="+n+"."+i+".0"+c+" <"+n+"."+(+i+1)+".0"+c),r("xRange return",a),a}))}(e,t)})).join(" ")}(e,t),r("xrange",e),e=function(e,t){return r("replaceStars",e,t),e.trim().replace(o[i.STAR],"")}(e,t),r("stars",e),e}(e,this.options)}),this).join(" ").split(/\s+/);return this.options.loose&&(s=s.filter((function(e){return!!e.match(n)}))),s=s.map((function(e){return new x(e,this.options)}),this)},E.prototype.intersects=function(e,t){if(!(e instanceof E))throw new TypeError("a Range is required");return this.set.some((function(r){return S(r,t)&&e.set.some((function(e){return S(e,t)&&r.every((function(r){return e.every((function(e){return r.intersects(e,t)}))}))}))}))},t.toComparators=function(e,t){return new E(e,t).set.map((function(e){return e.map((function(e){return e.value})).join(" ").trim().split(" ")}))},E.prototype.test=function(e){if(!e)return!1;if("string"==typeof e)try{e=new l(e,this.options)}catch(e){return!1}for(var t=0;t<this.set.length;t++)if(C(this.set[t],e,this.options))return!0;return!1},t.satisfies=T,t.maxSatisfying=function(e,t,r){var a=null,o=null;try{var n=new E(t,r)}catch(e){return null}return e.forEach((function(e){n.test(e)&&(a&&-1!==o.compare(e)||(o=new l(a=e,r)))})),a},t.minSatisfying=function(e,t,r){var a=null,o=null;try{var n=new E(t,r)}catch(e){return null}return e.forEach((function(e){n.test(e)&&(a&&1!==o.compare(e)||(o=new l(a=e,r)))})),a},t.minVersion=function(e,t){e=new E(e,t);var r=new l("0.0.0");if(e.test(r))return r;if(r=new l("0.0.0-0"),e.test(r))return r;r=null;for(var a=0;a<e.set.length;++a){e.set[a].forEach((function(e){var t=new l(e.semver.version);switch(e.operator){case">":0===t.prerelease.length?t.patch++:t.prerelease.push(0),t.raw=t.format();case"":case">=":r&&!f(r,t)||(r=t);break;case"<":case"<=":break;default:throw new Error("Unexpected operation: "+e.operator)}}))}if(r&&e.test(r))return r;return null},t.validRange=function(e,t){try{return new E(e,t).range||"*"}catch(e){return null}},t.ltr=function(e,t,r){return O(e,t,"<",r)},t.gtr=function(e,t,r){return O(e,t,">",r)},t.outside=O,t.prerelease=function(e,t){var r=p(e,t);return r&&r.prerelease.length?r.prerelease:null},t.intersects=function(e,t,r){return e=new E(e,r),t=new E(t,r),e.intersects(t)},t.coerce=function(e,t){if(e instanceof l)return e;"number"==typeof e&&(e=String(e));if("string"!=typeof e)return null;var r=null;if((t=t||{}).rtl){for(var a;(a=o[i.COERCERTL].exec(e))&&(!r||r.index+r[0].length!==e.length);)r&&a.index+a[0].length===r.index+r[0].length||(r=a),o[i.COERCERTL].lastIndex=a.index+a[1].length+a[2].length;o[i.COERCERTL].lastIndex=-1}else r=e.match(o[i.COERCE]);if(null===r)return null;return p(r[2]+"."+(r[3]||"0")+"."+(r[4]||"0"),t)}}(0,Tr.exports)),Tr.exports}function Ar(){if(Pr)return Cr.exports;Pr=1;const e=w.default,t=_.default,{promisify:r}=C.default,a=Or().satisfies(process.version,">=10.12.0"),o=e=>{if("win32"===process.platform){if(/[<>:"|?*]/.test(e.replace(t.parse(e).root,""))){const t=new Error(`Path contains invalid characters: ${e}`);throw t.code="EINVAL",t}}},n=t=>({...{mode:511,fs:e},...t}),i=e=>{const t=new Error(`operation not permitted, mkdir '${e}'`);return t.code="EPERM",t.errno=-4048,t.path=e,t.syscall="mkdir",t};return Cr.exports=async(s,c)=>{o(s),c=n(c);const u=r(c.fs.mkdir),p=r(c.fs.stat);if(a&&c.fs.mkdir===e.mkdir){const e=t.resolve(s);return await u(e,{mode:c.mode,recursive:!0}),e}const l=async e=>{try{return await u(e,c.mode),e}catch(r){if("EPERM"===r.code)throw r;if("ENOENT"===r.code){if(t.dirname(e)===e)throw i(e);if(r.message.includes("null bytes"))throw r;return await l(t.dirname(e)),l(e)}try{if(!(await p(e)).isDirectory())throw new Error("The path is not a directory")}catch(e){throw r}return e}};return l(t.resolve(s))},Cr.exports.sync=(r,s)=>{if(o(r),s=n(s),a&&s.fs.mkdirSync===e.mkdirSync){const a=t.resolve(r);return e.mkdirSync(a,{mode:s.mode,recursive:!0}),a}const c=e=>{try{s.fs.mkdirSync(e,s.mode)}catch(r){if("EPERM"===r.code)throw r;if("ENOENT"===r.code){if(t.dirname(e)===e)throw i(e);if(r.message.includes("null bytes"))throw r;return c(t.dirname(e)),c(e)}try{if(!s.fs.statSync(e).isDirectory())throw new Error("The path is not a directory")}catch(e){throw r}}return e};return c(t.resolve(r))},Cr.exports}var Ir,Fr={exports:{}},Rr={exports:{}},Dr={exports:{}},Nr={exports:{}};function zr(){if(Ir)return Nr.exports;Ir=1;const e=w.default;return Nr.exports=t=>new Promise((r=>{e.access(t,(e=>{r(!e)}))})),Nr.exports.sync=t=>{try{return e.accessSync(t),!0}catch(e){return!1}},Nr.exports}var Br,$r,Lr,qr,Ur,Mr,Hr,Kr={exports:{}},Vr={exports:{}};function Gr(){if(Br)return Vr.exports;Br=1;const e=(e,...t)=>new Promise((r=>{r(e(...t))}));return Vr.exports=e,Vr.exports.default=e,Vr.exports}function Qr(){if($r)return Kr.exports;$r=1;const e=Gr(),t=t=>{if(!Number.isInteger(t)&&t!==1/0||!(t>0))return Promise.reject(new TypeError("Expected `concurrency` to be a number from 1 and up"));const r=[];let a=0;const o=()=>{a--,r.length>0&&r.shift()()},n=(t,r,...n)=>{a++;const i=e(t,...n);r(i),i.then(o,o)},i=(e,...o)=>new Promise((i=>((e,o,...i)=>{a<t?n(e,o,...i):r.push(n.bind(null,e,o,...i))})(e,i,...o)));return Object.defineProperties(i,{activeCount:{get:()=>a},pendingCount:{get:()=>r.length},clearQueue:{value:()=>{r.length=0}}}),i};return Kr.exports=t,Kr.exports.default=t,Kr.exports}function Xr(){if(qr)return Lr;qr=1;const e=Qr();class t extends Error{constructor(e){super(),this.value=e}}const r=(e,t)=>Promise.resolve(e).then(t),a=e=>Promise.all(e).then((e=>!0===e[1]&&Promise.reject(new t(e[0]))));return Lr=(o,n,i)=>{i=Object.assign({concurrency:1/0,preserveOrder:!0},i);const s=e(i.concurrency),c=[...o].map((e=>[e,s(r,e,n)])),u=e(i.preserveOrder?1:1/0);return Promise.all(c.map((e=>u(a,e)))).then((()=>{})).catch((e=>e instanceof t?e.value:Promise.reject(e)))},Lr}function Wr(){if(Ur)return Dr.exports;Ur=1;const e=_.default,t=zr(),r=Xr();return Dr.exports=(a,o)=>(o=Object.assign({cwd:process.cwd()},o),r(a,(r=>t(e.resolve(o.cwd,r))),o)),Dr.exports.sync=(r,a)=>{a=Object.assign({cwd:process.cwd()},a);for(const o of r)if(t.sync(e.resolve(a.cwd,o)))return o},Dr.exports}function Yr(){if(Mr)return Rr.exports;Mr=1;const e=_.default,t=Wr();return Rr.exports=(r,a={})=>{const o=e.resolve(a.cwd||""),{root:n}=e.parse(o),i=[].concat(r);return new Promise((r=>{!function a(o){t(i,{cwd:o}).then((t=>{t?r(e.join(o,t)):o===n?r(null):a(e.dirname(o))}))}(o)}))},Rr.exports.sync=(r,a={})=>{let o=e.resolve(a.cwd||"");const{root:n}=e.parse(o),i=[].concat(r);for(;;){const r=t.sync(i,{cwd:o});if(r)return e.join(o,r);if(o===n)return null;o=e.dirname(o)}},Rr.exports}function Zr(){if(Hr)return Fr.exports;Hr=1;const e=Yr();return Fr.exports=async({cwd:t}={})=>e("package.json",{cwd:t}),Fr.exports.sync=({cwd:t}={})=>e.sync("package.json",{cwd:t}),Fr.exports}var Jr,ea={exports:{}};function ta(){if(Jr)return ea.exports;Jr=1;const e=_.default,t=T.default,r=t.homedir(),a=t.tmpdir(),{env:o}=process,n=(t,n)=>{if("string"!=typeof t)throw new TypeError("Expected string, got "+typeof t);return(n=Object.assign({suffix:"nodejs"},n)).suffix&&(t+=`-${n.suffix}`),"darwin"===process.platform?(t=>{const o=e.join(r,"Library");return{data:e.join(o,"Application Support",t),config:e.join(o,"Preferences",t),cache:e.join(o,"Caches",t),log:e.join(o,"Logs",t),temp:e.join(a,t)}})(t):"win32"===process.platform?(t=>{const n=o.APPDATA||e.join(r,"AppData","Roaming"),i=o.LOCALAPPDATA||e.join(r,"AppData","Local");return{data:e.join(i,t,"Data"),config:e.join(n,t,"Config"),cache:e.join(i,t,"Cache"),log:e.join(i,t,"Log"),temp:e.join(a,t)}})(t):(t=>{const n=e.basename(r);return{data:e.join(o.XDG_DATA_HOME||e.join(r,".local","share"),t),config:e.join(o.XDG_CONFIG_HOME||e.join(r,".config"),t),cache:e.join(o.XDG_CACHE_HOME||e.join(r,".cache"),t),log:e.join(o.XDG_STATE_HOME||e.join(r,".local","state"),t),temp:e.join(a,n,t)}})(t)};return ea.exports=n,ea.exports.default=n,ea.exports}var ra,aa={},oa={};function na(){if(ra)return oa;ra=1,Object.defineProperty(oa,"__esModule",{value:!0}),oa.NOOP=oa.LIMIT_FILES_DESCRIPTORS=oa.LIMIT_BASENAME_LENGTH=oa.IS_USER_ROOT=oa.IS_POSIX=oa.DEFAULT_TIMEOUT_SYNC=oa.DEFAULT_TIMEOUT_ASYNC=oa.DEFAULT_WRITE_OPTIONS=oa.DEFAULT_READ_OPTIONS=oa.DEFAULT_FOLDER_MODE=oa.DEFAULT_FILE_MODE=oa.DEFAULT_ENCODING=void 0;oa.DEFAULT_ENCODING="utf8";oa.DEFAULT_FILE_MODE=438;oa.DEFAULT_FOLDER_MODE=511;oa.DEFAULT_READ_OPTIONS={};oa.DEFAULT_WRITE_OPTIONS={};oa.DEFAULT_TIMEOUT_ASYNC=5e3;oa.DEFAULT_TIMEOUT_SYNC=100;const e=!!process.getuid;oa.IS_POSIX=e;const t=!!process.getuid&&!process.getuid();oa.IS_USER_ROOT=t;oa.LIMIT_BASENAME_LENGTH=128;oa.LIMIT_FILES_DESCRIPTORS=1e4;return oa.NOOP=()=>{},oa}var ia,sa={},ca={};var ua,pa={};var la,da,ma,ha={},fa={};function ga(){if(da)return ha;da=1,Object.defineProperty(ha,"__esModule",{value:!0}),ha.retryifySync=ha.retryifyAsync=void 0;const e=function(){if(la)return fa;la=1,Object.defineProperty(fa,"__esModule",{value:!0});const e={interval:25,intervalId:void 0,limit:na().LIMIT_FILES_DESCRIPTORS,queueActive:new Set,queueWaiting:new Set,init:()=>{e.intervalId||(e.intervalId=setInterval(e.tick,e.interval))},reset:()=>{e.intervalId&&(clearInterval(e.intervalId),delete e.intervalId)},add:t=>{e.queueWaiting.add(t),e.queueActive.size<e.limit/2?e.tick():e.init()},remove:t=>{e.queueWaiting.delete(t),e.queueActive.delete(t)},schedule:()=>new Promise((t=>{const r=()=>e.remove(a),a=()=>t(r);e.add(a)})),tick:()=>{if(!(e.queueActive.size>=e.limit)){if(!e.queueWaiting.size)return e.reset();for(const t of e.queueWaiting){if(e.queueActive.size>=e.limit)break;e.queueWaiting.delete(t),e.queueActive.add(t),t()}}}};return fa.default=e,fa}();ha.retryifyAsync=(t,r)=>function(a){return function o(){return e.default.schedule().then((e=>t.apply(void 0,arguments).then((t=>(e(),t)),(t=>{if(e(),Date.now()>=a)throw t;if(r(t)){const e=Math.round(100+400*Math.random()),t=new Promise((t=>setTimeout(t,e)));return t.then((()=>o.apply(void 0,arguments)))}throw t}))))}};return ha.retryifySync=(e,t)=>function(r){return function a(){try{return e.apply(void 0,arguments)}catch(e){if(Date.now()>r)throw e;if(t(e))return a.apply(void 0,arguments);throw e}}},ha}function ya(){if(ma)return sa;ma=1,Object.defineProperty(sa,"__esModule",{value:!0});const e=w.default,t=C.default,r=function(){if(ia)return ca;ia=1,Object.defineProperty(ca,"__esModule",{value:!0}),ca.attemptifySync=ca.attemptifyAsync=void 0;const e=na();return ca.attemptifyAsync=(t,r=e.NOOP)=>function(){return t.apply(void 0,arguments).catch(r)},ca.attemptifySync=(t,r=e.NOOP)=>function(){try{return t.apply(void 0,arguments)}catch(e){return r(e)}},ca}(),a=function(){if(ua)return pa;ua=1,Object.defineProperty(pa,"__esModule",{value:!0});const e=na(),t={isChangeErrorOk:t=>{const{code:r}=t;return"ENOSYS"===r||!(e.IS_USER_ROOT||"EINVAL"!==r&&"EPERM"!==r)},isRetriableError:e=>{const{code:t}=e;return"EMFILE"===t||"ENFILE"===t||"EAGAIN"===t||"EBUSY"===t||"EACCESS"===t||"EACCS"===t||"EPERM"===t},onChangeError:e=>{if(!t.isChangeErrorOk(e))throw e}};return pa.default=t,pa}(),o=ga(),n={chmodAttempt:r.attemptifyAsync(t.promisify(e.chmod),a.default.onChangeError),chownAttempt:r.attemptifyAsync(t.promisify(e.chown),a.default.onChangeError),closeAttempt:r.attemptifyAsync(t.promisify(e.close)),fsyncAttempt:r.attemptifyAsync(t.promisify(e.fsync)),mkdirAttempt:r.attemptifyAsync(t.promisify(e.mkdir)),realpathAttempt:r.attemptifyAsync(t.promisify(e.realpath)),statAttempt:r.attemptifyAsync(t.promisify(e.stat)),unlinkAttempt:r.attemptifyAsync(t.promisify(e.unlink)),closeRetry:o.retryifyAsync(t.promisify(e.close),a.default.isRetriableError),fsyncRetry:o.retryifyAsync(t.promisify(e.fsync),a.default.isRetriableError),openRetry:o.retryifyAsync(t.promisify(e.open),a.default.isRetriableError),readFileRetry:o.retryifyAsync(t.promisify(e.readFile),a.default.isRetriableError),renameRetry:o.retryifyAsync(t.promisify(e.rename),a.default.isRetriableError),statRetry:o.retryifyAsync(t.promisify(e.stat),a.default.isRetriableError),writeRetry:o.retryifyAsync(t.promisify(e.write),a.default.isRetriableError),chmodSyncAttempt:r.attemptifySync(e.chmodSync,a.default.onChangeError),chownSyncAttempt:r.attemptifySync(e.chownSync,a.default.onChangeError),closeSyncAttempt:r.attemptifySync(e.closeSync),mkdirSyncAttempt:r.attemptifySync(e.mkdirSync),realpathSyncAttempt:r.attemptifySync(e.realpathSync),statSyncAttempt:r.attemptifySync(e.statSync),unlinkSyncAttempt:r.attemptifySync(e.unlinkSync),closeSyncRetry:o.retryifySync(e.closeSync,a.default.isRetriableError),fsyncSyncRetry:o.retryifySync(e.fsyncSync,a.default.isRetriableError),openSyncRetry:o.retryifySync(e.openSync,a.default.isRetriableError),readFileSyncRetry:o.retryifySync(e.readFileSync,a.default.isRetriableError),renameSyncRetry:o.retryifySync(e.renameSync,a.default.isRetriableError),statSyncRetry:o.retryifySync(e.statSync,a.default.isRetriableError),writeSyncRetry:o.retryifySync(e.writeSync,a.default.isRetriableError)};return sa.default=n,sa}var va,ba={};var ka,wa={};var xa,ja,Ea={};function Sa(){if(ja)return aa;ja=1,Object.defineProperty(aa,"__esModule",{value:!0}),aa.writeFileSync=aa.writeFile=aa.readFileSync=aa.readFile=void 0;const e=_.default,t=na(),r=ya(),a=(va||(va=1,Object.defineProperty(ba,"__esModule",{value:!0}),ba.default={isFunction:e=>"function"==typeof e,isString:e=>"string"==typeof e,isUndefined:e=>void 0===e}),ba),o=function(){if(ka)return wa;ka=1,Object.defineProperty(wa,"__esModule",{value:!0});const e={},t={next:r=>{const a=e[r];if(!a)return;a.shift();const o=a[0];o?o((()=>t.next(r))):delete e[r]},schedule:r=>new Promise((a=>{let o=e[r];o||(o=e[r]=[]),o.push(a),o.length>1||a((()=>t.next(r)))}))};return wa.default=t,wa}(),n=function(){if(xa)return Ea;xa=1,Object.defineProperty(Ea,"__esModule",{value:!0});const e=_.default,t=na(),r=ya(),a={store:{},create:e=>{const t=`000000${Math.floor(16777215*Math.random()).toString(16)}`.slice(-6);return`${e}.tmp-${Date.now().toString().slice(-10)}${t}`},get:(e,t,r=!0)=>{const o=a.truncate(t(e));return o in a.store?a.get(e,t,r):(a.store[o]=r,[o,()=>delete a.store[o]])},purge:e=>{a.store[e]&&(delete a.store[e],r.default.unlinkAttempt(e))},purgeSync:e=>{a.store[e]&&(delete a.store[e],r.default.unlinkSyncAttempt(e))},purgeSyncAll:()=>{for(const e in a.store)a.purgeSync(e)},truncate:r=>{const a=e.basename(r);if(a.length<=t.LIMIT_BASENAME_LENGTH)return r;const o=/^(\.?)(.*?)((?:\.[^.]+)?(?:\.tmp-\d{10}[a-f0-9]{6})?)$/.exec(a);if(!o)return r;const n=a.length-t.LIMIT_BASENAME_LENGTH;return`${r.slice(0,-a.length)}${o[1]}${o[2].slice(0,-n)}${o[3]}`}};return process.on("exit",a.purgeSyncAll),Ea.default=a,Ea}();aa.readFile=function e(o,n=t.DEFAULT_READ_OPTIONS){var i;if(a.default.isString(n))return e(o,{encoding:n});const s=Date.now()+(null!==(i=n.timeout)&&void 0!==i?i:t.DEFAULT_TIMEOUT_ASYNC);return r.default.readFileRetry(s)(o,n)},aa.readFileSync=function e(o,n=t.DEFAULT_READ_OPTIONS){var i;if(a.default.isString(n))return e(o,{encoding:n});const s=Date.now()+(null!==(i=n.timeout)&&void 0!==i?i:t.DEFAULT_TIMEOUT_SYNC);return r.default.readFileSyncRetry(s)(o,n)};const i=(e,r,o,n)=>{if(a.default.isFunction(o))return i(e,r,t.DEFAULT_WRITE_OPTIONS,o);const c=s(e,r,o);return n&&c.then(n,n),c};aa.writeFile=i;const s=async(i,c,u=t.DEFAULT_WRITE_OPTIONS)=>{var p;if(a.default.isString(u))return s(i,c,{encoding:u});const l=Date.now()+(null!==(p=u.timeout)&&void 0!==p?p:t.DEFAULT_TIMEOUT_ASYNC);let d=null,m=null,h=null,f=null,g=null;try{u.schedule&&(d=await u.schedule(i)),m=await o.default.schedule(i),i=await r.default.realpathAttempt(i)||i,[f,h]=n.default.get(i,u.tmpCreate||n.default.create,!(!1===u.tmpPurge));const s=t.IS_POSIX&&a.default.isUndefined(u.chown),p=a.default.isUndefined(u.mode);if(s||p){const e=await r.default.statAttempt(i);e&&(u={...u},s&&(u.chown={uid:e.uid,gid:e.gid}),p&&(u.mode=e.mode))}const y=e.dirname(i);await r.default.mkdirAttempt(y,{mode:t.DEFAULT_FOLDER_MODE,recursive:!0}),g=await r.default.openRetry(l)(f,"w",u.mode||t.DEFAULT_FILE_MODE),u.tmpCreated&&u.tmpCreated(f),a.default.isString(c)?await r.default.writeRetry(l)(g,c,0,u.encoding||t.DEFAULT_ENCODING):a.default.isUndefined(c)||await r.default.writeRetry(l)(g,c,0,c.length,0),!1!==u.fsync&&(!1!==u.fsyncWait?await r.default.fsyncRetry(l)(g):r.default.fsyncAttempt(g)),await r.default.closeRetry(l)(g),g=null,u.chown&&await r.default.chownAttempt(f,u.chown.uid,u.chown.gid),u.mode&&await r.default.chmodAttempt(f,u.mode);try{await r.default.renameRetry(l)(f,i)}catch(e){if("ENAMETOOLONG"!==e.code)throw e;await r.default.renameRetry(l)(f,n.default.truncate(i))}h(),f=null}finally{g&&await r.default.closeAttempt(g),f&&n.default.purge(f),d&&d(),m&&m()}},c=(o,i,s=t.DEFAULT_WRITE_OPTIONS)=>{var u;if(a.default.isString(s))return c(o,i,{encoding:s});const p=Date.now()+(null!==(u=s.timeout)&&void 0!==u?u:t.DEFAULT_TIMEOUT_SYNC);let l=null,d=null,m=null;try{o=r.default.realpathSyncAttempt(o)||o,[d,l]=n.default.get(o,s.tmpCreate||n.default.create,!(!1===s.tmpPurge));const c=t.IS_POSIX&&a.default.isUndefined(s.chown),u=a.default.isUndefined(s.mode);if(c||u){const e=r.default.statSyncAttempt(o);e&&(s={...s},c&&(s.chown={uid:e.uid,gid:e.gid}),u&&(s.mode=e.mode))}const h=e.dirname(o);r.default.mkdirSyncAttempt(h,{mode:t.DEFAULT_FOLDER_MODE,recursive:!0}),m=r.default.openSyncRetry(p)(d,"w",s.mode||t.DEFAULT_FILE_MODE),s.tmpCreated&&s.tmpCreated(d),a.default.isString(i)?r.default.writeSyncRetry(p)(m,i,0,s.encoding||t.DEFAULT_ENCODING):a.default.isUndefined(i)||r.default.writeSyncRetry(p)(m,i,0,i.length,0),!1!==s.fsync&&(!1!==s.fsyncWait?r.default.fsyncSyncRetry(p)(m):r.default.fsyncAttempt(m)),r.default.closeSyncRetry(p)(m),m=null,s.chown&&r.default.chownSyncAttempt(d,s.chown.uid,s.chown.gid),s.mode&&r.default.chmodSyncAttempt(d,s.mode);try{r.default.renameSyncRetry(p)(d,o)}catch(e){if("ENAMETOOLONG"!==e.code)throw e;r.default.renameSyncRetry(p)(d,n.default.truncate(o))}l(),d=null}finally{m&&r.default.closeSyncAttempt(m),d&&n.default.purge(d)}};return aa.writeFileSync=c,aa}var _a,Pa={},Ca={},Ta={},Oa={};function Aa(){if(_a)return Oa;_a=1,Object.defineProperty(Oa,"__esModule",{value:!0}),Oa.getRules=Oa.isJSONType=void 0;const e=new Set(["string","number","integer","boolean","null","object","array"]);return Oa.isJSONType=function(t){return"string"==typeof t&&e.has(t)},Oa.getRules=function(){const e={number:{type:"number",rules:[]},string:{type:"string",rules:[]},array:{type:"array",rules:[]},object:{type:"object",rules:[]}};return{types:{...e,integer:!0,boolean:!0,null:!0},rules:[{rules:[]},e.number,e.string,e.array,e.object],post:{rules:[]},all:{},keywords:{}}},Oa}var Ia,Fa={};function Ra(){if(Ia)return Fa;function e(e,r){return r.rules.some((r=>t(e,r)))}function t(e,t){var r;return void 0!==e[t.keyword]||(null===(r=t.definition.implements)||void 0===r?void 0:r.some((t=>void 0!==e[t])))}return Ia=1,Object.defineProperty(Fa,"__esModule",{value:!0}),Fa.shouldUseRule=Fa.shouldUseGroup=Fa.schemaHasRulesForType=void 0,Fa.schemaHasRulesForType=function({schema:t,self:r},a){const o=r.RULES.types[a];return o&&!0!==o&&e(t,o)},Fa.shouldUseGroup=e,Fa.shouldUseRule=t,Fa}var Da,Na={},za={},Ba={};function $a(){return Da||(Da=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.getProperty=e.safeStringify=e.stringify=e.strConcat=e.addCodeArg=e.str=e._=e.nil=e._Code=e.Name=e.IDENTIFIER=e._CodeOrName=void 0;class t{}e._CodeOrName=t,e.IDENTIFIER=/^[a-z$_][a-z$_0-9]*$/i;class r extends t{constructor(t){if(super(),!e.IDENTIFIER.test(t))throw new Error("CodeGen: name must be a valid identifier");this.str=t}toString(){return this.str}emptyStr(){return!1}get names(){return{[this.str]:1}}}e.Name=r;class a extends t{constructor(e){super(),this._items="string"==typeof e?[e]:e}toString(){return this.str}emptyStr(){if(this._items.length>1)return!1;const e=this._items[0];return""===e||'""'===e}get str(){var e;return null!==(e=this._str)&&void 0!==e?e:this._str=this._items.reduce(((e,t)=>`${e}${t}`),"")}get names(){var e;return null!==(e=this._names)&&void 0!==e?e:this._names=this._items.reduce(((e,t)=>(t instanceof r&&(e[t.str]=(e[t.str]||0)+1),e)),{})}}function o(e,...t){const r=[e[0]];let o=0;for(;o<t.length;)s(r,t[o]),r.push(e[++o]);return new a(r)}e._Code=a,e.nil=new a(""),e._=o;const n=new a("+");function i(e,...t){const r=[u(e[0])];let o=0;for(;o<t.length;)r.push(n),s(r,t[o]),r.push(n,u(e[++o]));return function(e){let t=1;for(;t<e.length-1;){if(e[t]===n){const r=c(e[t-1],e[t+1]);if(void 0!==r){e.splice(t-1,3,r);continue}e[t++]="+"}t++}}(r),new a(r)}function s(e,t){var o;t instanceof a?e.push(...t._items):t instanceof r?e.push(t):e.push("number"==typeof(o=t)||"boolean"==typeof o||null===o?o:u(Array.isArray(o)?o.join(","):o))}function c(e,t){if('""'===t)return e;if('""'===e)return t;if("string"==typeof e){if(t instanceof r||'"'!==e[e.length-1])return;return"string"!=typeof t?`${e.slice(0,-1)}${t}"`:'"'===t[0]?e.slice(0,-1)+t.slice(1):void 0}return"string"!=typeof t||'"'!==t[0]||e instanceof r?void 0:`"${e}${t.slice(1)}`}function u(e){return JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")}e.str=i,e.addCodeArg=s,e.strConcat=function(e,t){return t.emptyStr()?e:e.emptyStr()?t:i`${e}${t}`},e.stringify=function(e){return new a(u(e))},e.safeStringify=u,e.getProperty=function(t){return"string"==typeof t&&e.IDENTIFIER.test(t)?new a(`.${t}`):o`[${t}]`}}(Ba)),Ba}var La,qa,Ua={};function Ma(){return La||(La=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.ValueScope=e.ValueScopeName=e.Scope=e.varKinds=e.UsedValueState=void 0;const t=$a();class r extends Error{constructor(e){super(`CodeGen: "code" for ${e} not defined`),this.value=e.value}}var a;!function(e){e[e.Started=0]="Started",e[e.Completed=1]="Completed"}(a=e.UsedValueState||(e.UsedValueState={})),e.varKinds={const:new t.Name("const"),let:new t.Name("let"),var:new t.Name("var")};class o{constructor({prefixes:e,parent:t}={}){this._names={},this._prefixes=e,this._parent=t}toName(e){return e instanceof t.Name?e:this.name(e)}name(e){return new t.Name(this._newName(e))}_newName(e){return`${e}${(this._names[e]||this._nameGroup(e)).index++}`}_nameGroup(e){var t,r;if((null===(r=null===(t=this._parent)||void 0===t?void 0:t._prefixes)||void 0===r?void 0:r.has(e))||this._prefixes&&!this._prefixes.has(e))throw new Error(`CodeGen: prefix "${e}" is not allowed in this scope`);return this._names[e]={prefix:e,index:0}}}e.Scope=o;class n extends t.Name{constructor(e,t){super(t),this.prefix=e}setValue(e,{property:r,itemIndex:a}){this.value=e,this.scopePath=t._`.${new t.Name(r)}[${a}]`}}e.ValueScopeName=n;const i=t._`\n`;e.ValueScope=class extends o{constructor(e){super(e),this._values={},this._scope=e.scope,this.opts={...e,_n:e.lines?i:t.nil}}get(){return this._scope}name(e){return new n(e,this._newName(e))}value(e,t){var r;if(void 0===t.ref)throw new Error("CodeGen: ref must be passed in value");const a=this.toName(e),{prefix:o}=a,n=null!==(r=t.key)&&void 0!==r?r:t.ref;let i=this._values[o];if(i){const e=i.get(n);if(e)return e}else i=this._values[o]=new Map;i.set(n,a);const s=this._scope[o]||(this._scope[o]=[]),c=s.length;return s[c]=t.ref,a.setValue(t,{property:o,itemIndex:c}),a}getValue(e,t){const r=this._values[e];if(r)return r.get(t)}scopeRefs(e,r=this._values){return this._reduceValues(r,(r=>{if(void 0===r.scopePath)throw new Error(`CodeGen: name "${r}" has no value`);return t._`${e}${r.scopePath}`}))}scopeCode(e=this._values,t,r){return this._reduceValues(e,(e=>{if(void 0===e.value)throw new Error(`CodeGen: name "${e}" has no value`);return e.value.code}),t,r)}_reduceValues(o,n,i={},s){let c=t.nil;for(const u in o){const p=o[u];if(!p)continue;const l=i[u]=i[u]||new Map;p.forEach((o=>{if(l.has(o))return;l.set(o,a.Started);let i=n(o);if(i){const r=this.opts.es5?e.varKinds.var:e.varKinds.const;c=t._`${c}${r} ${o} = ${i};${this.opts._n}`}else{if(!(i=null==s?void 0:s(o)))throw new r(o);c=t._`${c}${i}${this.opts._n}`}l.set(o,a.Completed)}))}return c}}}(Ua)),Ua}function Ha(){return qa||(qa=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.or=e.and=e.not=e.CodeGen=e.operators=e.varKinds=e.ValueScopeName=e.ValueScope=e.Scope=e.Name=e.stringify=e.getProperty=e.nil=e.strConcat=e.str=e._=void 0;const t=$a(),r=Ma();var a=$a();Object.defineProperty(e,"_",{enumerable:!0,get:function(){return a._}}),Object.defineProperty(e,"str",{enumerable:!0,get:function(){return a.str}}),Object.defineProperty(e,"strConcat",{enumerable:!0,get:function(){return a.strConcat}}),Object.defineProperty(e,"nil",{enumerable:!0,get:function(){return a.nil}}),Object.defineProperty(e,"getProperty",{enumerable:!0,get:function(){return a.getProperty}}),Object.defineProperty(e,"stringify",{enumerable:!0,get:function(){return a.stringify}}),Object.defineProperty(e,"Name",{enumerable:!0,get:function(){return a.Name}});var o=Ma();Object.defineProperty(e,"Scope",{enumerable:!0,get:function(){return o.Scope}}),Object.defineProperty(e,"ValueScope",{enumerable:!0,get:function(){return o.ValueScope}}),Object.defineProperty(e,"ValueScopeName",{enumerable:!0,get:function(){return o.ValueScopeName}}),Object.defineProperty(e,"varKinds",{enumerable:!0,get:function(){return o.varKinds}}),e.operators={GT:new t._Code(">"),GTE:new t._Code(">="),LT:new t._Code("<"),LTE:new t._Code("<="),EQ:new t._Code("==="),NEQ:new t._Code("!=="),NOT:new t._Code("!"),OR:new t._Code("||"),AND:new t._Code("&&"),ADD:new t._Code("+")};class n{optimizeNodes(){return this}optimizeNames(e,t){return this}}class i extends n{constructor(e,t,r){super(),this.varKind=e,this.name=t,this.rhs=r}render({es5:e,_n:t}){const a=e?r.varKinds.var:this.varKind,o=void 0===this.rhs?"":` = ${this.rhs}`;return`${a} ${this.name}${o};`+t}optimizeNames(e,t){if(e[this.name.str])return this.rhs&&(this.rhs=T(this.rhs,e,t)),this}get names(){return this.rhs instanceof t._CodeOrName?this.rhs.names:{}}}class s extends n{constructor(e,t,r){super(),this.lhs=e,this.rhs=t,this.sideEffects=r}render({_n:e}){return`${this.lhs} = ${this.rhs};`+e}optimizeNames(e,r){if(!(this.lhs instanceof t.Name)||e[this.lhs.str]||this.sideEffects)return this.rhs=T(this.rhs,e,r),this}get names(){return C(this.lhs instanceof t.Name?{}:{...this.lhs.names},this.rhs)}}class c extends s{constructor(e,t,r,a){super(e,r,a),this.op=t}render({_n:e}){return`${this.lhs} ${this.op}= ${this.rhs};`+e}}class u extends n{constructor(e){super(),this.label=e,this.names={}}render({_n:e}){return`${this.label}:`+e}}class p extends n{constructor(e){super(),this.label=e,this.names={}}render({_n:e}){return`break${this.label?` ${this.label}`:""};`+e}}class l extends n{constructor(e){super(),this.error=e}render({_n:e}){return`throw ${this.error};`+e}get names(){return this.error.names}}class d extends n{constructor(e){super(),this.code=e}render({_n:e}){return`${this.code};`+e}optimizeNodes(){return`${this.code}`?this:void 0}optimizeNames(e,t){return this.code=T(this.code,e,t),this}get names(){return this.code instanceof t._CodeOrName?this.code.names:{}}}class m extends n{constructor(e=[]){super(),this.nodes=e}render(e){return this.nodes.reduce(((t,r)=>t+r.render(e)),"")}optimizeNodes(){const{nodes:e}=this;let t=e.length;for(;t--;){const r=e[t].optimizeNodes();Array.isArray(r)?e.splice(t,1,...r):r?e[t]=r:e.splice(t,1)}return e.length>0?this:void 0}optimizeNames(e,t){const{nodes:r}=this;let a=r.length;for(;a--;){const o=r[a];o.optimizeNames(e,t)||(O(e,o.names),r.splice(a,1))}return r.length>0?this:void 0}get names(){return this.nodes.reduce(((e,t)=>P(e,t.names)),{})}}class h extends m{render(e){return"{"+e._n+super.render(e)+"}"+e._n}}class f extends m{}class g extends h{}g.kind="else";class y extends h{constructor(e,t){super(t),this.condition=e}render(e){let t=`if(${this.condition})`+super.render(e);return this.else&&(t+="else "+this.else.render(e)),t}optimizeNodes(){super.optimizeNodes();const e=this.condition;if(!0===e)return this.nodes;let t=this.else;if(t){const e=t.optimizeNodes();t=this.else=Array.isArray(e)?new g(e):e}return t?!1===e?t instanceof y?t:t.nodes:this.nodes.length?this:new y(A(e),t instanceof y?[t]:t.nodes):!1!==e&&this.nodes.length?this:void 0}optimizeNames(e,t){var r;if(this.else=null===(r=this.else)||void 0===r?void 0:r.optimizeNames(e,t),super.optimizeNames(e,t)||this.else)return this.condition=T(this.condition,e,t),this}get names(){const e=super.names;return C(e,this.condition),this.else&&P(e,this.else.names),e}}y.kind="if";class v extends h{}v.kind="for";class b extends v{constructor(e){super(),this.iteration=e}render(e){return`for(${this.iteration})`+super.render(e)}optimizeNames(e,t){if(super.optimizeNames(e,t))return this.iteration=T(this.iteration,e,t),this}get names(){return P(super.names,this.iteration.names)}}class k extends v{constructor(e,t,r,a){super(),this.varKind=e,this.name=t,this.from=r,this.to=a}render(e){const t=e.es5?r.varKinds.var:this.varKind,{name:a,from:o,to:n}=this;return`for(${t} ${a}=${o}; ${a}<${n}; ${a}++)`+super.render(e)}get names(){const e=C(super.names,this.from);return C(e,this.to)}}class w extends v{constructor(e,t,r,a){super(),this.loop=e,this.varKind=t,this.name=r,this.iterable=a}render(e){return`for(${this.varKind} ${this.name} ${this.loop} ${this.iterable})`+super.render(e)}optimizeNames(e,t){if(super.optimizeNames(e,t))return this.iterable=T(this.iterable,e,t),this}get names(){return P(super.names,this.iterable.names)}}class x extends h{constructor(e,t,r){super(),this.name=e,this.args=t,this.async=r}render(e){return`${this.async?"async ":""}function ${this.name}(${this.args})`+super.render(e)}}x.kind="func";class j extends m{render(e){return"return "+super.render(e)}}j.kind="return";class E extends h{render(e){let t="try"+super.render(e);return this.catch&&(t+=this.catch.render(e)),this.finally&&(t+=this.finally.render(e)),t}optimizeNodes(){var e,t;return super.optimizeNodes(),null===(e=this.catch)||void 0===e||e.optimizeNodes(),null===(t=this.finally)||void 0===t||t.optimizeNodes(),this}optimizeNames(e,t){var r,a;return super.optimizeNames(e,t),null===(r=this.catch)||void 0===r||r.optimizeNames(e,t),null===(a=this.finally)||void 0===a||a.optimizeNames(e,t),this}get names(){const e=super.names;return this.catch&&P(e,this.catch.names),this.finally&&P(e,this.finally.names),e}}class S extends h{constructor(e){super(),this.error=e}render(e){return`catch(${this.error})`+super.render(e)}}S.kind="catch";class _ extends h{render(e){return"finally"+super.render(e)}}_.kind="finally";function P(e,t){for(const r in t)e[r]=(e[r]||0)+(t[r]||0);return e}function C(e,r){return r instanceof t._CodeOrName?P(e,r.names):e}function T(e,r,a){return e instanceof t.Name?n(e):(o=e)instanceof t._Code&&o._items.some((e=>e instanceof t.Name&&1===r[e.str]&&void 0!==a[e.str]))?new t._Code(e._items.reduce(((e,r)=>(r instanceof t.Name&&(r=n(r)),r instanceof t._Code?e.push(...r._items):e.push(r),e)),[])):e;var o;function n(e){const t=a[e.str];return void 0===t||1!==r[e.str]?e:(delete r[e.str],t)}}function O(e,t){for(const r in t)e[r]=(e[r]||0)-(t[r]||0)}function A(e){return"boolean"==typeof e||"number"==typeof e||null===e?!e:t._`!${D(e)}`}e.CodeGen=class{constructor(e,t={}){this._values={},this._blockStarts=[],this._constants={},this.opts={...t,_n:t.lines?"\n":""},this._extScope=e,this._scope=new r.Scope({parent:e}),this._nodes=[new f]}toString(){return this._root.render(this.opts)}name(e){return this._scope.name(e)}scopeName(e){return this._extScope.name(e)}scopeValue(e,t){const r=this._extScope.value(e,t);return(this._values[r.prefix]||(this._values[r.prefix]=new Set)).add(r),r}getScopeValue(e,t){return this._extScope.getValue(e,t)}scopeRefs(e){return this._extScope.scopeRefs(e,this._values)}scopeCode(){return this._extScope.scopeCode(this._values)}_def(e,t,r,a){const o=this._scope.toName(t);return void 0!==r&&a&&(this._constants[o.str]=r),this._leafNode(new i(e,o,r)),o}const(e,t,a){return this._def(r.varKinds.const,e,t,a)}let(e,t,a){return this._def(r.varKinds.let,e,t,a)}var(e,t,a){return this._def(r.varKinds.var,e,t,a)}assign(e,t,r){return this._leafNode(new s(e,t,r))}add(t,r){return this._leafNode(new c(t,e.operators.ADD,r))}code(e){return"function"==typeof e?e():e!==t.nil&&this._leafNode(new d(e)),this}object(...e){const r=["{"];for(const[a,o]of e)r.length>1&&r.push(","),r.push(a),(a!==o||this.opts.es5)&&(r.push(":"),t.addCodeArg(r,o));return r.push("}"),new t._Code(r)}if(e,t,r){if(this._blockNode(new y(e)),t&&r)this.code(t).else().code(r).endIf();else if(t)this.code(t).endIf();else if(r)throw new Error('CodeGen: "else" body without "then" body');return this}elseIf(e){return this._elseNode(new y(e))}else(){return this._elseNode(new g)}endIf(){return this._endBlockNode(y,g)}_for(e,t){return this._blockNode(e),t&&this.code(t).endFor(),this}for(e,t){return this._for(new b(e),t)}forRange(e,t,a,o,n=(this.opts.es5?r.varKinds.var:r.varKinds.let)){const i=this._scope.toName(e);return this._for(new k(n,i,t,a),(()=>o(i)))}forOf(e,a,o,n=r.varKinds.const){const i=this._scope.toName(e);if(this.opts.es5){const e=a instanceof t.Name?a:this.var("_arr",a);return this.forRange("_i",0,t._`${e}.length`,(r=>{this.var(i,t._`${e}[${r}]`),o(i)}))}return this._for(new w("of",n,i,a),(()=>o(i)))}forIn(e,a,o,n=(this.opts.es5?r.varKinds.var:r.varKinds.const)){if(this.opts.ownProperties)return this.forOf(e,t._`Object.keys(${a})`,o);const i=this._scope.toName(e);return this._for(new w("in",n,i,a),(()=>o(i)))}endFor(){return this._endBlockNode(v)}label(e){return this._leafNode(new u(e))}break(e){return this._leafNode(new p(e))}return(e){const t=new j;if(this._blockNode(t),this.code(e),1!==t.nodes.length)throw new Error('CodeGen: "return" should have one node');return this._endBlockNode(j)}try(e,t,r){if(!t&&!r)throw new Error('CodeGen: "try" without "catch" and "finally"');const a=new E;if(this._blockNode(a),this.code(e),t){const e=this.name("e");this._currNode=a.catch=new S(e),t(e)}return r&&(this._currNode=a.finally=new _,this.code(r)),this._endBlockNode(S,_)}throw(e){return this._leafNode(new l(e))}block(e,t){return this._blockStarts.push(this._nodes.length),e&&this.code(e).endBlock(t),this}endBlock(e){const t=this._blockStarts.pop();if(void 0===t)throw new Error("CodeGen: not in self-balancing block");const r=this._nodes.length-t;if(r<0||void 0!==e&&r!==e)throw new Error(`CodeGen: wrong number of nodes: ${r} vs ${e} expected`);return this._nodes.length=t,this}func(e,r=t.nil,a,o){return this._blockNode(new x(e,r,a)),o&&this.code(o).endFunc(),this}endFunc(){return this._endBlockNode(x)}optimize(e=1){for(;e-- >0;)this._root.optimizeNodes(),this._root.optimizeNames(this._root.names,this._constants)}_leafNode(e){return this._currNode.nodes.push(e),this}_blockNode(e){this._currNode.nodes.push(e),this._nodes.push(e)}_endBlockNode(e,t){const r=this._currNode;if(r instanceof e||t&&r instanceof t)return this._nodes.pop(),this;throw new Error(`CodeGen: not in block "${t?`${e.kind}/${t.kind}`:e.kind}"`)}_elseNode(e){const t=this._currNode;if(!(t instanceof y))throw new Error('CodeGen: "else" without "if"');return this._currNode=t.else=e,this}get _root(){return this._nodes[0]}get _currNode(){const e=this._nodes;return e[e.length-1]}set _currNode(e){const t=this._nodes;t[t.length-1]=e}},e.not=A;const I=R(e.operators.AND);e.and=function(...e){return e.reduce(I)};const F=R(e.operators.OR);function R(e){return(r,a)=>r===t.nil?a:a===t.nil?r:t._`${D(r)} ${e} ${D(a)}`}function D(e){return e instanceof t.Name?e:t._`(${e})`}e.or=function(...e){return e.reduce(F)}}(za)),za}var Ka,Va,Ga={};function Qa(){if(Ka)return Ga;Ka=1,Object.defineProperty(Ga,"__esModule",{value:!0});const e=Ha(),t={data:new e.Name("data"),valCxt:new e.Name("valCxt"),dataPath:new e.Name("dataPath"),parentData:new e.Name("parentData"),parentDataProperty:new e.Name("parentDataProperty"),rootData:new e.Name("rootData"),dynamicAnchors:new e.Name("dynamicAnchors"),vErrors:new e.Name("vErrors"),errors:new e.Name("errors"),this:new e.Name("this"),self:new e.Name("self"),scope:new e.Name("scope"),json:new e.Name("json"),jsonPos:new e.Name("jsonPos"),jsonLen:new e.Name("jsonLen"),jsonPart:new e.Name("jsonPart")};return Ga.default=t,Ga}function Xa(){return Va||(Va=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.extendErrors=e.resetErrorsCount=e.reportExtraError=e.reportError=e.keyword$DataError=e.keywordError=void 0;const t=Ha(),r=Qa();function a(e,a){const o=e.const("err",a);e.if(t._`${r.default.vErrors} === null`,(()=>e.assign(r.default.vErrors,t._`[${o}]`)),t._`${r.default.vErrors}.push(${o})`),e.code(t._`${r.default.errors}++`)}function o(e,r){const{gen:a,validateName:o,schemaEnv:n}=e;n.$async?a.throw(t._`new ${e.ValidationError}(${r})`):(a.assign(t._`${o}.errors`,r),a.return(!1))}e.keywordError={message:({keyword:e})=>t.str`should pass "${e}" keyword validation`},e.keyword$DataError={message:({keyword:e,schemaType:r})=>r?t.str`"${e}" keyword must be ${r} ($data)`:t.str`"${e}" keyword is invalid ($data)`},e.reportError=function(r,n=e.keywordError,s){const{it:c}=r,{gen:u,compositeRule:p,allErrors:l}=c,d=i(r,n);(null!=s?s:p||l)?a(u,d):o(c,t._`[${d}]`)},e.reportExtraError=function(t,n=e.keywordError){const{it:s}=t,{gen:c,compositeRule:u,allErrors:p}=s;a(c,i(t,n)),u||p||o(s,r.default.vErrors)},e.resetErrorsCount=function(e,a){e.assign(r.default.errors,a),e.if(t._`${r.default.vErrors} !== null`,(()=>e.if(a,(()=>e.assign(t._`${r.default.vErrors}.length`,a)),(()=>e.assign(r.default.vErrors,null)))))},e.extendErrors=function({gen:e,keyword:a,schemaValue:o,data:n,errsCount:i,it:s}){if(void 0===i)throw new Error("ajv implementation error");const c=e.name("err");e.forRange("i",i,r.default.errors,(i=>{e.const(c,t._`${r.default.vErrors}[${i}]`),e.if(t._`${c}.dataPath === undefined`,(()=>e.assign(t._`${c}.dataPath`,t.strConcat(r.default.dataPath,s.errorPath)))),e.assign(t._`${c}.schemaPath`,t.str`${s.errSchemaPath}/${a}`),s.opts.verbose&&(e.assign(t._`${c}.schema`,o),e.assign(t._`${c}.data`,n))}))};const n={keyword:new t.Name("keyword"),schemaPath:new t.Name("schemaPath"),params:new t.Name("params"),propertyName:new t.Name("propertyName"),message:new t.Name("message"),schema:new t.Name("schema"),parentSchema:new t.Name("parentSchema"),instancePath:new t.Name("instancePath")};function i(e,r){const{createErrors:a,opts:o}=e.it;return!1===a?t._`{}`:(o.jtd&&!o.ajvErrors?s:c)(e,r)}function s(e,{message:a}){const{gen:o,keyword:i,it:s}=e,{errorPath:c,errSchemaPath:u,opts:p}=s,l=[[n.instancePath,t.strConcat(r.default.dataPath,c)],[n.schemaPath,t.str`${u}/${i}`]];return p.messages&&l.push([n.message,"function"==typeof a?a(e):a]),o.object(...l)}function c(e,a){const{gen:o,keyword:i,data:s,schemaValue:c,it:u}=e,{topSchemaRef:p,schemaPath:l,errorPath:d,errSchemaPath:m,propertyName:h,opts:f}=u,{params:g,message:y}=a,v=[[n.keyword,i],[r.default.dataPath,t.strConcat(r.default.dataPath,d)],[n.schemaPath,t.str`${m}/${i}`],[n.params,"function"==typeof g?g(e):g||t._`{}`]];return h&&v.push([n.propertyName,h]),f.messages&&v.push([n.message,"function"==typeof y?y(e):y]),f.verbose&&v.push([n.schema,c],[n.parentSchema,t._`${p}${l}`],[r.default.data,s]),o.object(...v)}}(Na)),Na}var Wa,Ya={},Za={},Ja={};var eo,to={},ro={};var ao,oo,no,io,so={},co={},uo={};function po(){return ao||(ao=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.applySubschema=e.Type=void 0;const t=Ao(),r=Io(),a=Ha();var o;!function(e){e[e.Num=0]="Num",e[e.Str=1]="Str"}(o=e.Type||(e.Type={})),e.applySubschema=function(e,n,i){const s=function(e,{keyword:t,schemaProp:o,schema:n,schemaPath:i,errSchemaPath:s,topSchemaRef:c}){if(void 0!==t&&void 0!==n)throw new Error('both "keyword" and "schema" passed, only one allowed');if(void 0!==t){const n=e.schema[t];return void 0===o?{schema:n,schemaPath:a._`${e.schemaPath}${a.getProperty(t)}`,errSchemaPath:`${e.errSchemaPath}/${t}`}:{schema:n[o],schemaPath:a._`${e.schemaPath}${a.getProperty(t)}${a.getProperty(o)}`,errSchemaPath:`${e.errSchemaPath}/${t}/${r.escapeFragment(o)}`}}if(void 0!==n){if(void 0===i||void 0===s||void 0===c)throw new Error('"schemaPath", "errSchemaPath" and "topSchemaRef" are required with "schema"');return{schema:n,schemaPath:i,topSchemaRef:c,errSchemaPath:s}}throw new Error('either "keyword" or "schema" must be passed')}(e,n);!function(e,t,{dataProp:n,dataPropType:i,data:s,dataTypes:c,propertyName:u}){if(void 0!==s&&void 0!==n)throw new Error('both "data" and "dataProp" passed, only one allowed');const{gen:p}=t;if(void 0!==n){const{errorPath:s,dataPathArr:c,opts:u}=t;l(p.let("data",a._`${t.data}${a.getProperty(n)}`,!0)),e.errorPath=a.str`${s}${function(e,t,n){if(e instanceof a.Name){const r=t===o.Num;return n?r?a._`"[" + ${e} + "]"`:a._`"['" + ${e} + "']"`:r?a._`"/" + ${e}`:a._`"/" + ${e}.replace(/~/g, "~0").replace(/\\//g, "~1")`}return n?a.getProperty(e).toString():"/"+r.escapeJsonPointer(e)}(n,i,u.jsPropertySyntax)}`,e.parentDataProperty=a._`${n}`,e.dataPathArr=[...c,e.parentDataProperty]}if(void 0!==s){l(s instanceof a.Name?s:p.let("data",s,!0)),void 0!==u&&(e.propertyName=u)}c&&(e.dataTypes=c);function l(r){e.data=r,e.dataLevel=t.dataLevel+1,e.dataTypes=[],t.definedProperties=new Set,e.parentData=t.data,e.dataNames=[...t.dataNames,r]}}(s,e,n),function(e,{jtdDiscriminator:t,jtdMetadata:r,compositeRule:a,createErrors:o,allErrors:n}){void 0!==a&&(e.compositeRule=a);void 0!==o&&(e.createErrors=o);void 0!==n&&(e.allErrors=n);e.jtdDiscriminator=t,e.jtdMetadata=r}(s,n);const c={...e,...s,items:void 0,props:void 0};return t.subschemaCode(c,i),c}}(uo)),uo}function lo(){if(oo)return co;oo=1,Object.defineProperty(co,"__esModule",{value:!0}),co.validateUnion=co.validateArray=co.usePattern=co.callValidateCode=co.schemaProperties=co.allSchemaProperties=co.noPropertyInData=co.propertyInData=co.isOwnProperty=co.hasPropFunc=co.reportMissingProp=co.checkMissingProp=co.checkReportMissingProp=void 0;const e=Ha(),t=Io(),r=po(),a=Qa();function o(t){return t.scopeValue("func",{ref:Object.prototype.hasOwnProperty,code:e._`Object.prototype.hasOwnProperty`})}function n(t,r,a){return e._`${o(t)}.call(${r}, ${a})`}function i(t,r,a,o){const i=e._`${r}${e.getProperty(a)} === undefined`;return o?e.or(i,e.not(n(t,r,a))):i}function s(e){return e?Object.keys(e).filter((e=>"__proto__"!==e)):[]}return co.checkReportMissingProp=function(t,r){const{gen:a,data:o,it:n}=t;a.if(i(a,o,r,n.opts.ownProperties),(()=>{t.setParams({missingProperty:e._`${r}`},!0),t.error()}))},co.checkMissingProp=function({gen:t,data:r,it:{opts:a}},o,n){return e.or(...o.map((o=>e.and(i(t,r,o,a.ownProperties),e._`${n} = ${o}`))))},co.reportMissingProp=function(e,t){e.setParams({missingProperty:t},!0),e.error()},co.hasPropFunc=o,co.isOwnProperty=n,co.propertyInData=function(t,r,a,o){const i=e._`${r}${e.getProperty(a)} !== undefined`;return o?e._`${i} && ${n(t,r,a)}`:i},co.noPropertyInData=i,co.allSchemaProperties=s,co.schemaProperties=function(e,r){return s(r).filter((a=>!t.alwaysValidSchema(e,r[a])))},co.callValidateCode=function({schemaCode:t,data:r,it:{gen:o,topSchemaRef:n,schemaPath:i,errorPath:s},it:c},u,p,l){const d=l?e._`${t}, ${r}, ${n}${i}`:r,m=[[a.default.dataPath,e.strConcat(a.default.dataPath,s)],[a.default.parentData,c.parentData],[a.default.parentDataProperty,c.parentDataProperty],[a.default.rootData,a.default.rootData]];c.opts.dynamicRef&&m.push([a.default.dynamicAnchors,a.default.dynamicAnchors]);const h=e._`${d}, ${o.object(...m)}`;return p!==e.nil?e._`${u}.call(${p}, ${h})`:e._`${u}(${h})`},co.usePattern=function(t,r){return t.scopeValue("pattern",{key:r,ref:new RegExp(r,"u"),code:e._`new RegExp(${r}, "u")`})},co.validateArray=function(t){const{gen:a,data:o,keyword:n,it:i}=t,s=a.name("valid");if(i.allErrors){const e=a.let("valid",!0);return c((()=>a.assign(e,!1))),e}return a.var(s,!0),c((()=>a.break())),s;function c(i){const c=a.const("len",e._`${o}.length`);a.forRange("i",0,c,(o=>{t.subschema({keyword:n,dataProp:o,dataPropType:r.Type.Num},s),a.if(e.not(s),i)}))}},co.validateUnion=function(r){const{gen:a,schema:o,keyword:n,it:i}=r;if(!Array.isArray(o))throw new Error("ajv implementation error");if(o.some((e=>t.alwaysValidSchema(i,e)))&&!i.opts.unevaluated)return;const s=a.let("valid",!1),c=a.name("_valid");a.block((()=>o.forEach(((t,o)=>{const i=r.subschema({keyword:n,schemaProp:o,compositeRule:!0},c);a.assign(s,e._`${s} || ${c}`);r.mergeValidEvaluated(i,c)||a.if(e.not(s))})))),r.result(s,(()=>r.reset()),(()=>r.error(!0)))},co}function mo(){if(no)return so;no=1,Object.defineProperty(so,"__esModule",{value:!0}),so.keywordCode=void 0;const e=Ro(),t=Xa(),r=lo(),a=Ha(),o=Qa();function n(e,n){var c;const{gen:u,keyword:p,schema:l,parentSchema:d,$data:m,it:h}=e;!function({schemaEnv:e},t){if(t.async&&!e.$async)throw new Error("async keyword in sync schema")}(h,n);const f=!m&&n.compile?n.compile.call(h.self,l,d,h):n.validate,g=s(u,p,f),y=u.let("valid");function v(t=(n.async?a._`await `:a.nil)){const i=h.opts.passContext?o.default.this:o.default.self,s=!("compile"in n&&!m||!1===n.schema);u.assign(y,a._`${t}${r.callValidateCode(e,g,i,s)}`,n.modifying)}function b(e){var t;u.if(a.not(null!==(t=n.valid)&&void 0!==t?t:y),e)}e.block$data(y,(function(){if(!1===n.errors)v(),n.modifying&&i(e),b((()=>e.error()));else{const r=n.async?function(){const e=u.let("ruleErrs",null);return u.try((()=>v(a._`await `)),(t=>u.assign(y,!1).if(a._`${t} instanceof ${h.ValidationError}`,(()=>u.assign(e,a._`${t}.errors`)),(()=>u.throw(t))))),e}():function(){const e=a._`${g}.errors`;return u.assign(e,null),v(a.nil),e}();n.modifying&&i(e),b((()=>function(e,r){const{gen:n}=e;n.if(a._`Array.isArray(${r})`,(()=>{n.assign(o.default.vErrors,a._`${o.default.vErrors} === null ? ${r} : ${o.default.vErrors}.concat(${r})`).assign(o.default.errors,a._`${o.default.vErrors}.length`),t.extendErrors(e)}),(()=>e.error()))}(e,r)))}})),e.ok(null!==(c=n.valid)&&void 0!==c?c:y)}function i(e){const{gen:t,data:r,it:o}=e;t.if(o.parentData,(()=>t.assign(r,a._`${o.parentData}[${o.parentDataProperty}]`)))}function s(e,t,r){if(void 0===r)throw new Error(`keyword "${t}" failed to compile`);return e.scopeValue("keyword","function"==typeof r?{ref:r}:{ref:r,code:a.stringify(r)})}return so.keywordCode=function(t,r,o,i){const c=new e.default(t,o,r);"code"in o?o.code(c,i):c.$data&&o.validate?n(c,o):"macro"in o?function(e,t){const{gen:r,keyword:o,schema:n,parentSchema:i,it:c}=e,u=t.macro.call(c.self,n,i,c),p=s(r,o,u);!1!==c.opts.validateSchema&&c.self.validateSchema(u,!0);const l=r.name("valid");e.subschema({schema:u,schemaPath:a.nil,errSchemaPath:`${c.errSchemaPath}/${o}`,topSchemaRef:p,compositeRule:!0},l),e.pass(l,(()=>e.error(!0)))}(c,o):(o.compile||o.validate)&&n(c,o)},so}function ho(){if(io)return to;io=1,Object.defineProperty(to,"__esModule",{value:!0}),to.schemaKeywords=void 0;const e=Ra(),t=Fo(),r=function(){if(eo)return ro;eo=1,Object.defineProperty(ro,"__esModule",{value:!0}),ro.assignDefaults=void 0;const e=Ha(),t=Ao();function r(r,a,o){const{gen:n,compositeRule:i,data:s,opts:c}=r;if(void 0===o)return;const u=e._`${s}${e.getProperty(a)}`;if(i)return void t.checkStrictMode(r,`default is ignored for: ${u}`);let p=e._`${u} === undefined`;"empty"===c.useDefaults&&(p=e._`${p} || ${u} === null || ${u} === ""`),n.if(p,e._`${u} = ${e.stringify(o)}`)}return ro.assignDefaults=function(e,t){const{properties:a,items:o}=e.schema;if("object"===t&&a)for(const t in a)r(e,t,a[t].default);else"array"===t&&Array.isArray(o)&&o.forEach(((t,a)=>r(e,a,t.default)))},ro}(),a=mo(),o=Io(),n=Ao(),i=Ha(),s=Qa();function c(t,o){const{gen:n,schema:i,opts:{useDefaults:s}}=t;s&&r.assignDefaults(t,o.type),n.block((()=>{for(const r of o.rules)e.shouldUseRule(i,r)&&a.keywordCode(t,r.keyword,r.definition,o.type)}))}function u(e,t){return e.includes(t)||"number"===t&&e.includes("integer")}function p(e,t){return e.includes(t)||"integer"===t&&e.includes("number")}function l(e,t){t+=` at "${e.schemaEnv.baseId+e.errSchemaPath}" (strictTypes)`,n.checkStrictMode(e,t,e.opts.strictTypes)}return to.schemaKeywords=function(r,n,d,m){const{gen:h,schema:f,data:g,allErrors:y,opts:v,self:b}=r,{RULES:k}=b;function w(a){e.shouldUseGroup(f,a)&&(a.type?(h.if(t.checkDataType(a.type,g,v.strict)),c(r,a),1===n.length&&n[0]===a.type&&d&&(h.else(),t.reportTypeError(r)),h.endIf()):c(r,a),y||h.if(i._`${s.default.errors} === ${m||0}`))}!f.$ref||!v.ignoreKeywordsWithRef&&o.schemaHasRulesButRef(f,k)?(v.jtd||function(t,r){if(t.schemaEnv.meta||!t.opts.strictTypes)return;(function(e,t){if(!t.length)return;if(!e.dataTypes.length)return void(e.dataTypes=t);t.forEach((t=>{p(e.dataTypes,t)||l(e,`type "${t}" not allowed by context "${e.dataTypes.join(",")}"`)})),e.dataTypes=e.dataTypes.filter((e=>p(t,e)))})(t,r),t.opts.allowUnionTypes||function(e,t){t.length>1&&(2!==t.length||!t.includes("null"))&&l(e,"use allowUnionTypes to allow union type keyword")}(t,r);!function(t,r){const a=t.self.RULES.all;for(const o in a){const n=a[o];if("object"==typeof n&&e.shouldUseRule(t.schema,n)){const{type:e}=n.definition;e.length&&!e.some((e=>u(r,e)))&&l(t,`missing type "${e.join(",")}" for keyword "${o}"`)}}}(t,t.dataTypes)}(r,n),h.block((()=>{for(const e of k.rules)w(e);w(k.post)}))):h.block((()=>a.keywordCode(r,"$ref",k.all.$ref.definition)))},to}var fo,go,yo={};function vo(){return go||(go=1,fo=function e(t,r){if(t===r)return!0;if(t&&r&&"object"==typeof t&&"object"==typeof r){if(t.constructor!==r.constructor)return!1;var a,o,n;if(Array.isArray(t)){if((a=t.length)!=r.length)return!1;for(o=a;0!=o--;)if(!e(t[o],r[o]))return!1;return!0}if(t.constructor===RegExp)return t.source===r.source&&t.flags===r.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===r.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===r.toString();if((a=(n=Object.keys(t)).length)!==Object.keys(r).length)return!1;for(o=a;0!=o--;)if(!Object.prototype.hasOwnProperty.call(r,n[o]))return!1;for(o=a;0!=o--;){var i=n[o];if(!e(t[i],r[i]))return!1}return!0}return t!=t&&r!=r}),fo}var bo,ko={exports:{}};function wo(){if(bo)return ko.exports;bo=1;var e=ko.exports=function(e,r,a){"function"==typeof r&&(a=r,r={}),t(r,"function"==typeof(a=r.cb||a)?a:a.pre||function(){},a.post||function(){},e,"",e)};function t(r,a,o,n,i,s,c,u,p,l){if(n&&"object"==typeof n&&!Array.isArray(n)){for(var d in a(n,i,s,c,u,p,l),n){var m=n[d];if(Array.isArray(m)){if(d in e.arrayKeywords)for(var h=0;h<m.length;h++)t(r,a,o,m[h],i+"/"+d+"/"+h,s,i,d,n,h)}else if(d in e.propsKeywords){if(m&&"object"==typeof m)for(var f in m)t(r,a,o,m[f],i+"/"+d+"/"+f.replace(/~/g,"~0").replace(/\//g,"~1"),s,i,d,n,f)}else(d in e.keywords||r.allKeys&&!(d in e.skipKeywords))&&t(r,a,o,m,i+"/"+d,s,i,d,n)}o(n,i,s,c,u,p,l)}}return e.keywords={additionalItems:!0,items:!0,contains:!0,additionalProperties:!0,propertyNames:!0,not:!0,if:!0,then:!0,else:!0},e.arrayKeywords={items:!0,allOf:!0,anyOf:!0,oneOf:!0},e.propsKeywords={$defs:!0,definitions:!0,properties:!0,patternProperties:!0,dependencies:!0},e.skipKeywords={default:!0,enum:!0,const:!0,required:!0,maximum:!0,minimum:!0,exclusiveMaximum:!0,exclusiveMinimum:!0,multipleOf:!0,maxLength:!0,minLength:!0,pattern:!0,format:!0,maxItems:!0,minItems:!0,uniqueItems:!0,maxProperties:!0,minProperties:!0},ko.exports}var xo,jo,Eo,So,_o,Po,Co={exports:{}};
/** @license URI.js v4.4.1 (c) 2011 Gary Court. License: http://github.com/garycourt/uri-js */function To(){return xo||(xo=1,function(e){function t(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];if(t.length>1){t[0]=t[0].slice(0,-1);for(var a=t.length-1,o=1;o<a;++o)t[o]=t[o].slice(1,-1);return t[a]=t[a].slice(1),t.join("")}return t[0]}function r(e){return"(?:"+e+")"}function a(e){return void 0===e?"undefined":null===e?"null":Object.prototype.toString.call(e).split(" ").pop().split("]").shift().toLowerCase()}function o(e){return e.toUpperCase()}function n(e){return null!=e?e instanceof Array?e:"number"!=typeof e.length||e.split||e.setInterval||e.call?[e]:Array.prototype.slice.call(e):[]}function i(e,t){var r=e;if(t)for(var a in t)r[a]=t[a];return r}function s(e){var a="[A-Za-z]",o="[0-9]",n=t(o,"[A-Fa-f]"),i=r(r("%[EFef]"+n+"%"+n+n+"%"+n+n)+"|"+r("%[89A-Fa-f]"+n+"%"+n+n)+"|"+r("%"+n+n)),s="[\\!\\$\\&\\'\\(\\)\\*\\+\\,\\;\\=]",c=t("[\\:\\/\\?\\#\\[\\]\\@]",s),u=e?"[\\uE000-\\uF8FF]":"[]",p=t(a,o,"[\\-\\.\\_\\~]",e?"[\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF]":"[]");r(a+t(a,o,"[\\+\\-\\.]")+"*"),r(r(i+"|"+t(p,s,"[\\:]"))+"*");var l=r(r("25[0-5]")+"|"+r("2[0-4]"+o)+"|"+r("1"+o+o)+"|"+r("0?[1-9]"+o)+"|0?0?"+o),d=r(l+"\\."+l+"\\."+l+"\\."+l),m=r(n+"{1,4}"),h=r(r(m+"\\:"+m)+"|"+d),f=r(r(m+"\\:")+"{6}"+h),g=r("\\:\\:"+r(m+"\\:")+"{5}"+h),y=r(r(m)+"?\\:\\:"+r(m+"\\:")+"{4}"+h),v=r(r(r(m+"\\:")+"{0,1}"+m)+"?\\:\\:"+r(m+"\\:")+"{3}"+h),b=r(r(r(m+"\\:")+"{0,2}"+m)+"?\\:\\:"+r(m+"\\:")+"{2}"+h),k=r(r(r(m+"\\:")+"{0,3}"+m)+"?\\:\\:"+m+"\\:"+h),w=r(r(r(m+"\\:")+"{0,4}"+m)+"?\\:\\:"+h),x=r(r(r(m+"\\:")+"{0,5}"+m)+"?\\:\\:"+m),j=r(r(r(m+"\\:")+"{0,6}"+m)+"?\\:\\:"),E=r([f,g,y,v,b,k,w,x,j].join("|")),S=r(r(p+"|"+i)+"+");r("[vV]"+n+"+\\."+t(p,s,"[\\:]")+"+"),r(r(i+"|"+t(p,s))+"*");var _=r(i+"|"+t(p,s,"[\\:\\@]"));return r(r(i+"|"+t(p,s,"[\\@]"))+"+"),r(r(_+"|"+t("[\\/\\?]",u))+"*"),{NOT_SCHEME:new RegExp(t("[^]",a,o,"[\\+\\-\\.]"),"g"),NOT_USERINFO:new RegExp(t("[^\\%\\:]",p,s),"g"),NOT_HOST:new RegExp(t("[^\\%\\[\\]\\:]",p,s),"g"),NOT_PATH:new RegExp(t("[^\\%\\/\\:\\@]",p,s),"g"),NOT_PATH_NOSCHEME:new RegExp(t("[^\\%\\/\\@]",p,s),"g"),NOT_QUERY:new RegExp(t("[^\\%]",p,s,"[\\:\\@\\/\\?]",u),"g"),NOT_FRAGMENT:new RegExp(t("[^\\%]",p,s,"[\\:\\@\\/\\?]"),"g"),ESCAPE:new RegExp(t("[^]",p,s),"g"),UNRESERVED:new RegExp(p,"g"),OTHER_CHARS:new RegExp(t("[^\\%]",p,c),"g"),PCT_ENCODED:new RegExp(i,"g"),IPV4ADDRESS:new RegExp("^("+d+")$"),IPV6ADDRESS:new RegExp("^\\[?("+E+")"+r(r("\\%25|\\%(?!"+n+"{2})")+"("+S+")")+"?\\]?$")}}var c=s(!1),u=s(!0),p=function(){function e(e,t){var r=[],a=!0,o=!1,n=void 0;try{for(var i,s=e[Symbol.iterator]();!(a=(i=s.next()).done)&&(r.push(i.value),!t||r.length!==t);a=!0);}catch(e){o=!0,n=e}finally{try{!a&&s.return&&s.return()}finally{if(o)throw n}}return r}return function(t,r){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,r);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),l=function(e){if(Array.isArray(e)){for(var t=0,r=Array(e.length);t<e.length;t++)r[t]=e[t];return r}return Array.from(e)},d=2147483647,m=36,h=1,f=26,g=38,y=700,v=72,b=128,k="-",w=/^xn--/,x=/[^\0-\x7E]/,j=/[\x2E\u3002\uFF0E\uFF61]/g,E={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},S=m-h,_=Math.floor,P=String.fromCharCode;function C(e){throw new RangeError(E[e])}function T(e,t){for(var r=[],a=e.length;a--;)r[a]=t(e[a]);return r}function O(e,t){var r=e.split("@"),a="";return r.length>1&&(a=r[0]+"@",e=r[1]),a+T((e=e.replace(j,".")).split("."),t).join(".")}function A(e){for(var t=[],r=0,a=e.length;r<a;){var o=e.charCodeAt(r++);if(o>=55296&&o<=56319&&r<a){var n=e.charCodeAt(r++);56320==(64512&n)?t.push(((1023&o)<<10)+(1023&n)+65536):(t.push(o),r--)}else t.push(o)}return t}var I=function(e){return e-48<10?e-22:e-65<26?e-65:e-97<26?e-97:m},F=function(e,t){return e+22+75*(e<26)-((0!=t)<<5)},R=function(e,t,r){var a=0;for(e=r?_(e/y):e>>1,e+=_(e/t);e>S*f>>1;a+=m)e=_(e/S);return _(a+(S+1)*e/(e+g))},D=function(e){var t=[],r=e.length,a=0,o=b,n=v,i=e.lastIndexOf(k);i<0&&(i=0);for(var s=0;s<i;++s)e.charCodeAt(s)>=128&&C("not-basic"),t.push(e.charCodeAt(s));for(var c=i>0?i+1:0;c<r;){for(var u=a,p=1,l=m;;l+=m){c>=r&&C("invalid-input");var g=I(e.charCodeAt(c++));(g>=m||g>_((d-a)/p))&&C("overflow"),a+=g*p;var y=l<=n?h:l>=n+f?f:l-n;if(g<y)break;var w=m-y;p>_(d/w)&&C("overflow"),p*=w}var x=t.length+1;n=R(a-u,x,0==u),_(a/x)>d-o&&C("overflow"),o+=_(a/x),a%=x,t.splice(a++,0,o)}return String.fromCodePoint.apply(String,t)},N=function(e){var t=[],r=(e=A(e)).length,a=b,o=0,n=v,i=!0,s=!1,c=void 0;try{for(var u,p=e[Symbol.iterator]();!(i=(u=p.next()).done);i=!0){var l=u.value;l<128&&t.push(P(l))}}catch(e){s=!0,c=e}finally{try{!i&&p.return&&p.return()}finally{if(s)throw c}}var g=t.length,y=g;for(g&&t.push(k);y<r;){var w=d,x=!0,j=!1,E=void 0;try{for(var S,T=e[Symbol.iterator]();!(x=(S=T.next()).done);x=!0){var O=S.value;O>=a&&O<w&&(w=O)}}catch(e){j=!0,E=e}finally{try{!x&&T.return&&T.return()}finally{if(j)throw E}}var I=y+1;w-a>_((d-o)/I)&&C("overflow"),o+=(w-a)*I,a=w;var D=!0,N=!1,z=void 0;try{for(var B,$=e[Symbol.iterator]();!(D=(B=$.next()).done);D=!0){var L=B.value;if(L<a&&++o>d&&C("overflow"),L==a){for(var q=o,U=m;;U+=m){var M=U<=n?h:U>=n+f?f:U-n;if(q<M)break;var H=q-M,K=m-M;t.push(P(F(M+H%K,0))),q=_(H/K)}t.push(P(F(q,0))),n=R(o,I,y==g),o=0,++y}}}catch(e){N=!0,z=e}finally{try{!D&&$.return&&$.return()}finally{if(N)throw z}}++o,++a}return t.join("")},z=function(e){return O(e,(function(e){return w.test(e)?D(e.slice(4).toLowerCase()):e}))},B=function(e){return O(e,(function(e){return x.test(e)?"xn--"+N(e):e}))},$={version:"2.1.0",ucs2:{decode:A,encode:function(e){return String.fromCodePoint.apply(String,l(e))}},decode:D,encode:N,toASCII:B,toUnicode:z},L={};function q(e){var t=e.charCodeAt(0);return t<16?"%0"+t.toString(16).toUpperCase():t<128?"%"+t.toString(16).toUpperCase():t<2048?"%"+(t>>6|192).toString(16).toUpperCase()+"%"+(63&t|128).toString(16).toUpperCase():"%"+(t>>12|224).toString(16).toUpperCase()+"%"+(t>>6&63|128).toString(16).toUpperCase()+"%"+(63&t|128).toString(16).toUpperCase()}function U(e){for(var t="",r=0,a=e.length;r<a;){var o=parseInt(e.substr(r+1,2),16);if(o<128)t+=String.fromCharCode(o),r+=3;else if(o>=194&&o<224){if(a-r>=6){var n=parseInt(e.substr(r+4,2),16);t+=String.fromCharCode((31&o)<<6|63&n)}else t+=e.substr(r,6);r+=6}else if(o>=224){if(a-r>=9){var i=parseInt(e.substr(r+4,2),16),s=parseInt(e.substr(r+7,2),16);t+=String.fromCharCode((15&o)<<12|(63&i)<<6|63&s)}else t+=e.substr(r,9);r+=9}else t+=e.substr(r,3),r+=3}return t}function M(e,t){function r(e){var r=U(e);return r.match(t.UNRESERVED)?r:e}return e.scheme&&(e.scheme=String(e.scheme).replace(t.PCT_ENCODED,r).toLowerCase().replace(t.NOT_SCHEME,"")),void 0!==e.userinfo&&(e.userinfo=String(e.userinfo).replace(t.PCT_ENCODED,r).replace(t.NOT_USERINFO,q).replace(t.PCT_ENCODED,o)),void 0!==e.host&&(e.host=String(e.host).replace(t.PCT_ENCODED,r).toLowerCase().replace(t.NOT_HOST,q).replace(t.PCT_ENCODED,o)),void 0!==e.path&&(e.path=String(e.path).replace(t.PCT_ENCODED,r).replace(e.scheme?t.NOT_PATH:t.NOT_PATH_NOSCHEME,q).replace(t.PCT_ENCODED,o)),void 0!==e.query&&(e.query=String(e.query).replace(t.PCT_ENCODED,r).replace(t.NOT_QUERY,q).replace(t.PCT_ENCODED,o)),void 0!==e.fragment&&(e.fragment=String(e.fragment).replace(t.PCT_ENCODED,r).replace(t.NOT_FRAGMENT,q).replace(t.PCT_ENCODED,o)),e}function H(e){return e.replace(/^0*(.*)/,"$1")||"0"}function K(e,t){var r=e.match(t.IPV4ADDRESS)||[],a=p(r,2)[1];return a?a.split(".").map(H).join("."):e}function V(e,t){var r=e.match(t.IPV6ADDRESS)||[],a=p(r,3),o=a[1],n=a[2];if(o){for(var i=o.toLowerCase().split("::").reverse(),s=p(i,2),c=s[0],u=s[1],l=u?u.split(":").map(H):[],d=c.split(":").map(H),m=t.IPV4ADDRESS.test(d[d.length-1]),h=m?7:8,f=d.length-h,g=Array(h),y=0;y<h;++y)g[y]=l[y]||d[f+y]||"";m&&(g[h-1]=K(g[h-1],t));var v=g.reduce((function(e,t,r){if(!t||"0"===t){var a=e[e.length-1];a&&a.index+a.length===r?a.length++:e.push({index:r,length:1})}return e}),[]).sort((function(e,t){return t.length-e.length}))[0],b=void 0;if(v&&v.length>1){var k=g.slice(0,v.index),w=g.slice(v.index+v.length);b=k.join(":")+"::"+w.join(":")}else b=g.join(":");return n&&(b+="%"+n),b}return e}var G=/^(?:([^:\/?#]+):)?(?:\/\/((?:([^\/?#@]*)@)?(\[[^\/?#\]]+\]|[^\/?#:]*)(?:\:(\d*))?))?([^?#]*)(?:\?([^#]*))?(?:#((?:.|\n|\r)*))?/i,Q=void 0==="".match(/(){0}/)[1];function X(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r={},a=!1!==t.iri?u:c;"suffix"===t.reference&&(e=(t.scheme?t.scheme+":":"")+"//"+e);var o=e.match(G);if(o){Q?(r.scheme=o[1],r.userinfo=o[3],r.host=o[4],r.port=parseInt(o[5],10),r.path=o[6]||"",r.query=o[7],r.fragment=o[8],isNaN(r.port)&&(r.port=o[5])):(r.scheme=o[1]||void 0,r.userinfo=-1!==e.indexOf("@")?o[3]:void 0,r.host=-1!==e.indexOf("//")?o[4]:void 0,r.port=parseInt(o[5],10),r.path=o[6]||"",r.query=-1!==e.indexOf("?")?o[7]:void 0,r.fragment=-1!==e.indexOf("#")?o[8]:void 0,isNaN(r.port)&&(r.port=e.match(/\/\/(?:.|\n)*\:(?:\/|\?|\#|$)/)?o[4]:void 0)),r.host&&(r.host=V(K(r.host,a),a)),void 0!==r.scheme||void 0!==r.userinfo||void 0!==r.host||void 0!==r.port||r.path||void 0!==r.query?void 0===r.scheme?r.reference="relative":void 0===r.fragment?r.reference="absolute":r.reference="uri":r.reference="same-document",t.reference&&"suffix"!==t.reference&&t.reference!==r.reference&&(r.error=r.error||"URI is not a "+t.reference+" reference.");var n=L[(t.scheme||r.scheme||"").toLowerCase()];if(t.unicodeSupport||n&&n.unicodeSupport)M(r,a);else{if(r.host&&(t.domainHost||n&&n.domainHost))try{r.host=$.toASCII(r.host.replace(a.PCT_ENCODED,U).toLowerCase())}catch(e){r.error=r.error||"Host's domain name can not be converted to ASCII via punycode: "+e}M(r,c)}n&&n.parse&&n.parse(r,t)}else r.error=r.error||"URI can not be parsed.";return r}function W(e,t){var r=!1!==t.iri?u:c,a=[];return void 0!==e.userinfo&&(a.push(e.userinfo),a.push("@")),void 0!==e.host&&a.push(V(K(String(e.host),r),r).replace(r.IPV6ADDRESS,(function(e,t,r){return"["+t+(r?"%25"+r:"")+"]"}))),"number"!=typeof e.port&&"string"!=typeof e.port||(a.push(":"),a.push(String(e.port))),a.length?a.join(""):void 0}var Y=/^\.\.?\//,Z=/^\/\.(\/|$)/,J=/^\/\.\.(\/|$)/,ee=/^\/?(?:.|\n)*?(?=\/|$)/;function te(e){for(var t=[];e.length;)if(e.match(Y))e=e.replace(Y,"");else if(e.match(Z))e=e.replace(Z,"/");else if(e.match(J))e=e.replace(J,"/"),t.pop();else if("."===e||".."===e)e="";else{var r=e.match(ee);if(!r)throw new Error("Unexpected dot segment condition");var a=r[0];e=e.slice(a.length),t.push(a)}return t.join("")}function re(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.iri?u:c,a=[],o=L[(t.scheme||e.scheme||"").toLowerCase()];if(o&&o.serialize&&o.serialize(e,t),e.host)if(r.IPV6ADDRESS.test(e.host));else if(t.domainHost||o&&o.domainHost)try{e.host=t.iri?$.toUnicode(e.host):$.toASCII(e.host.replace(r.PCT_ENCODED,U).toLowerCase())}catch(r){e.error=e.error||"Host's domain name can not be converted to "+(t.iri?"Unicode":"ASCII")+" via punycode: "+r}M(e,r),"suffix"!==t.reference&&e.scheme&&(a.push(e.scheme),a.push(":"));var n=W(e,t);if(void 0!==n&&("suffix"!==t.reference&&a.push("//"),a.push(n),e.path&&"/"!==e.path.charAt(0)&&a.push("/")),void 0!==e.path){var i=e.path;t.absolutePath||o&&o.absolutePath||(i=te(i)),void 0===n&&(i=i.replace(/^\/\//,"/%2F")),a.push(i)}return void 0!==e.query&&(a.push("?"),a.push(e.query)),void 0!==e.fragment&&(a.push("#"),a.push(e.fragment)),a.join("")}function ae(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a={};return arguments[3]||(e=X(re(e,r),r),t=X(re(t,r),r)),!(r=r||{}).tolerant&&t.scheme?(a.scheme=t.scheme,a.userinfo=t.userinfo,a.host=t.host,a.port=t.port,a.path=te(t.path||""),a.query=t.query):(void 0!==t.userinfo||void 0!==t.host||void 0!==t.port?(a.userinfo=t.userinfo,a.host=t.host,a.port=t.port,a.path=te(t.path||""),a.query=t.query):(t.path?("/"===t.path.charAt(0)?a.path=te(t.path):(void 0===e.userinfo&&void 0===e.host&&void 0===e.port||e.path?e.path?a.path=e.path.slice(0,e.path.lastIndexOf("/")+1)+t.path:a.path=t.path:a.path="/"+t.path,a.path=te(a.path)),a.query=t.query):(a.path=e.path,void 0!==t.query?a.query=t.query:a.query=e.query),a.userinfo=e.userinfo,a.host=e.host,a.port=e.port),a.scheme=e.scheme),a.fragment=t.fragment,a}function oe(e,t,r){var a=i({scheme:"null"},r);return re(ae(X(e,a),X(t,a),a,!0),a)}function ne(e,t){return"string"==typeof e?e=re(X(e,t),t):"object"===a(e)&&(e=X(re(e,t),t)),e}function ie(e,t,r){return"string"==typeof e?e=re(X(e,r),r):"object"===a(e)&&(e=re(e,r)),"string"==typeof t?t=re(X(t,r),r):"object"===a(t)&&(t=re(t,r)),e===t}function se(e,t){return e&&e.toString().replace(t&&t.iri?u.ESCAPE:c.ESCAPE,q)}function ce(e,t){return e&&e.toString().replace(t&&t.iri?u.PCT_ENCODED:c.PCT_ENCODED,U)}var ue={scheme:"http",domainHost:!0,parse:function(e,t){return e.host||(e.error=e.error||"HTTP URIs must have a host."),e},serialize:function(e,t){var r="https"===String(e.scheme).toLowerCase();return e.port!==(r?443:80)&&""!==e.port||(e.port=void 0),e.path||(e.path="/"),e}},pe={scheme:"https",domainHost:ue.domainHost,parse:ue.parse,serialize:ue.serialize};function le(e){return"boolean"==typeof e.secure?e.secure:"wss"===String(e.scheme).toLowerCase()}var de={scheme:"ws",domainHost:!0,parse:function(e,t){var r=e;return r.secure=le(r),r.resourceName=(r.path||"/")+(r.query?"?"+r.query:""),r.path=void 0,r.query=void 0,r},serialize:function(e,t){if(e.port!==(le(e)?443:80)&&""!==e.port||(e.port=void 0),"boolean"==typeof e.secure&&(e.scheme=e.secure?"wss":"ws",e.secure=void 0),e.resourceName){var r=e.resourceName.split("?"),a=p(r,2),o=a[0],n=a[1];e.path=o&&"/"!==o?o:void 0,e.query=n,e.resourceName=void 0}return e.fragment=void 0,e}},me={scheme:"wss",domainHost:de.domainHost,parse:de.parse,serialize:de.serialize},he={},fe="[A-Za-z0-9\\-\\.\\_\\~\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF]",ge="[0-9A-Fa-f]",ye=r(r("%[EFef]"+ge+"%"+ge+ge+"%"+ge+ge)+"|"+r("%[89A-Fa-f]"+ge+"%"+ge+ge)+"|"+r("%"+ge+ge)),ve="[A-Za-z0-9\\!\\$\\%\\'\\*\\+\\-\\^\\_\\`\\{\\|\\}\\~]",be=t("[\\!\\$\\%\\'\\(\\)\\*\\+\\,\\-\\.0-9\\<\\>A-Z\\x5E-\\x7E]",'[\\"\\\\]'),ke="[\\!\\$\\'\\(\\)\\*\\+\\,\\;\\:\\@]",we=new RegExp(fe,"g"),xe=new RegExp(ye,"g"),je=new RegExp(t("[^]",ve,"[\\.]",'[\\"]',be),"g"),Ee=new RegExp(t("[^]",fe,ke),"g"),Se=Ee;function _e(e){var t=U(e);return t.match(we)?t:e}var Pe={scheme:"mailto",parse:function(e,t){var r=e,a=r.to=r.path?r.path.split(","):[];if(r.path=void 0,r.query){for(var o=!1,n={},i=r.query.split("&"),s=0,c=i.length;s<c;++s){var u=i[s].split("=");switch(u[0]){case"to":for(var p=u[1].split(","),l=0,d=p.length;l<d;++l)a.push(p[l]);break;case"subject":r.subject=ce(u[1],t);break;case"body":r.body=ce(u[1],t);break;default:o=!0,n[ce(u[0],t)]=ce(u[1],t)}}o&&(r.headers=n)}r.query=void 0;for(var m=0,h=a.length;m<h;++m){var f=a[m].split("@");if(f[0]=ce(f[0]),t.unicodeSupport)f[1]=ce(f[1],t).toLowerCase();else try{f[1]=$.toASCII(ce(f[1],t).toLowerCase())}catch(e){r.error=r.error||"Email address's domain name can not be converted to ASCII via punycode: "+e}a[m]=f.join("@")}return r},serialize:function(e,t){var r=e,a=n(e.to);if(a){for(var i=0,s=a.length;i<s;++i){var c=String(a[i]),u=c.lastIndexOf("@"),p=c.slice(0,u).replace(xe,_e).replace(xe,o).replace(je,q),l=c.slice(u+1);try{l=t.iri?$.toUnicode(l):$.toASCII(ce(l,t).toLowerCase())}catch(e){r.error=r.error||"Email address's domain name can not be converted to "+(t.iri?"Unicode":"ASCII")+" via punycode: "+e}a[i]=p+"@"+l}r.path=a.join(",")}var d=e.headers=e.headers||{};e.subject&&(d.subject=e.subject),e.body&&(d.body=e.body);var m=[];for(var h in d)d[h]!==he[h]&&m.push(h.replace(xe,_e).replace(xe,o).replace(Ee,q)+"="+d[h].replace(xe,_e).replace(xe,o).replace(Se,q));return m.length&&(r.query=m.join("&")),r}},Ce=/^([^\:]+)\:(.*)/,Te={scheme:"urn",parse:function(e,t){var r=e.path&&e.path.match(Ce),a=e;if(r){var o=t.scheme||a.scheme||"urn",n=r[1].toLowerCase(),i=r[2],s=o+":"+(t.nid||n),c=L[s];a.nid=n,a.nss=i,a.path=void 0,c&&(a=c.parse(a,t))}else a.error=a.error||"URN can not be parsed.";return a},serialize:function(e,t){var r=t.scheme||e.scheme||"urn",a=e.nid,o=r+":"+(t.nid||a),n=L[o];n&&(e=n.serialize(e,t));var i=e,s=e.nss;return i.path=(a||t.nid)+":"+s,i}},Oe=/^[0-9A-Fa-f]{8}(?:\-[0-9A-Fa-f]{4}){3}\-[0-9A-Fa-f]{12}$/,Ae={scheme:"urn:uuid",parse:function(e,t){var r=e;return r.uuid=r.nss,r.nss=void 0,t.tolerant||r.uuid&&r.uuid.match(Oe)||(r.error=r.error||"UUID is not valid."),r},serialize:function(e,t){var r=e;return r.nss=(e.uuid||"").toLowerCase(),r}};L[ue.scheme]=ue,L[pe.scheme]=pe,L[de.scheme]=de,L[me.scheme]=me,L[Pe.scheme]=Pe,L[Te.scheme]=Te,L[Ae.scheme]=Ae,e.SCHEMES=L,e.pctEncChar=q,e.pctDecChars=U,e.parse=X,e.removeDotSegments=te,e.serialize=re,e.resolveComponents=ae,e.resolve=oe,e.normalize=ne,e.equal=ie,e.escapeComponent=se,e.unescapeComponent=ce,Object.defineProperty(e,"__esModule",{value:!0})}(Co.exports)),Co.exports}function Oo(){if(jo)return yo;jo=1,Object.defineProperty(yo,"__esModule",{value:!0}),yo.getSchemaRefs=yo.resolveUrl=yo.normalizeId=yo._getFullPath=yo.getFullPath=yo.inlineRef=void 0;const e=Io(),t=vo(),r=wo(),a=To(),o=new Set(["type","format","pattern","maxLength","minLength","maxProperties","minProperties","maxItems","minItems","maximum","minimum","uniqueItems","multipleOf","required","enum","const"]);yo.inlineRef=function(e,t=!0){return"boolean"==typeof e||(!0===t?!i(e):!!t&&s(e)<=t)};const n=new Set(["$ref","$recursiveRef","$recursiveAnchor","$dynamicRef","$dynamicAnchor"]);function i(e){for(const t in e){if(n.has(t))return!0;const r=e[t];if(Array.isArray(r)&&r.some(i))return!0;if("object"==typeof r&&i(r))return!0}return!1}function s(t){let r=0;for(const a in t){if("$ref"===a)return 1/0;if(r++,!o.has(a)&&("object"==typeof t[a]&&e.eachItem(t[a],(e=>r+=s(e))),r===1/0))return 1/0}return r}function c(e="",t){!1!==t&&(e=l(e));return u(a.parse(e))}function u(e){return a.serialize(e).split("#")[0]+"#"}yo.getFullPath=c,yo._getFullPath=u;const p=/#\/?$/;function l(e){return e?e.replace(p,""):""}yo.normalizeId=l,yo.resolveUrl=function(e,t){return t=l(t),a.resolve(e,t)};const d=/^[a-z_][-a-z0-9._]*$/i;return yo.getSchemaRefs=function(e){if("boolean"==typeof e)return{};const o=l(e.$id),n={"":o},i=c(o,!1),s={},u=new Set;return r(e,{allKeys:!0},((e,t,r,o)=>{if(void 0===o)return;const c=i+t;let h=n[o];function f(t){if(t=l(h?a.resolve(h,t):t),u.has(t))throw m(t);u.add(t);let r=this.refs[t];return"string"==typeof r&&(r=this.refs[r]),"object"==typeof r?p(e,r.schema,t):t!==l(c)&&("#"===t[0]?(p(e,s[t],t),s[t]=e):this.refs[t]=c),t}function g(e){if("string"==typeof e){if(!d.test(e))throw new Error(`invalid anchor "${e}"`);f.call(this,`#${e}`)}}"string"==typeof e.$id&&(h=f.call(this,e.$id)),g.call(this,e.$anchor),g.call(this,e.$dynamicAnchor),n[t]=h})),s;function p(e,r,a){if(void 0!==r&&!t(e,r))throw m(a)}function m(e){return new Error(`reference "${e}" resolves to more than one schema`)}},yo}function Ao(){if(Eo)return Za;Eo=1,Object.defineProperty(Za,"__esModule",{value:!0}),Za.checkStrictMode=Za.schemaCxtHasRules=Za.subschemaCode=Za.validateFunctionCode=void 0;const e=function(){if(Wa)return Ja;Wa=1,Object.defineProperty(Ja,"__esModule",{value:!0}),Ja.boolOrEmptySchema=Ja.topBoolOrEmptySchema=void 0;const e=Xa(),t=Ha(),r=Qa(),a={message:"boolean schema is false"};function o(t,r){const{gen:o,data:n}=t,i={gen:o,keyword:"false schema",data:n,schema:!1,schemaCode:!1,schemaValue:!1,params:{},it:t};e.reportError(i,a,r)}return Ja.topBoolOrEmptySchema=function(e){const{gen:a,schema:n,validateName:i}=e;!1===n?o(e,!1):"object"==typeof n&&!0===n.$async?a.return(r.default.data):(a.assign(t._`${i}.errors`,null),a.return(!0))},Ja.boolOrEmptySchema=function(e,t){const{gen:r,schema:a}=e;!1===a?(r.var(t,!1),o(e)):r.var(t,!0)},Ja}(),t=Fo(),r=ho(),a=Ha(),o=Qa(),n=Oo(),i=Io();function s({gen:e,validateName:t,schema:r,schemaEnv:n,opts:i},s){i.code.es5?e.func(t,a._`${o.default.data}, ${o.default.valCxt}`,n.$async,(()=>{e.code(a._`"use strict"; ${c(r,i)}`),function(e,t){e.if(o.default.valCxt,(()=>{e.var(o.default.dataPath,a._`${o.default.valCxt}.${o.default.dataPath}`),e.var(o.default.parentData,a._`${o.default.valCxt}.${o.default.parentData}`),e.var(o.default.parentDataProperty,a._`${o.default.valCxt}.${o.default.parentDataProperty}`),e.var(o.default.rootData,a._`${o.default.valCxt}.${o.default.rootData}`),t.dynamicRef&&e.var(o.default.dynamicAnchors,a._`${o.default.valCxt}.${o.default.dynamicAnchors}`)}),(()=>{e.var(o.default.dataPath,a._`""`),e.var(o.default.parentData,a._`undefined`),e.var(o.default.parentDataProperty,a._`undefined`),e.var(o.default.rootData,o.default.data),t.dynamicRef&&e.var(o.default.dynamicAnchors,a._`{}`)}))}(e,i),e.code(s)})):e.func(t,a._`${o.default.data}, ${function(e){return a._`{${o.default.dataPath}="", ${o.default.parentData}, ${o.default.parentDataProperty}, ${o.default.rootData}=${o.default.data}${e.dynamicRef?a._`, ${o.default.dynamicAnchors}={}`:a.nil}}={}`}(i)}`,n.$async,(()=>e.code(c(r,i)).code(s)))}function c(e,t){return"object"==typeof e&&e.$id&&(t.code.source||t.code.process)?a._`/*# sourceURL=${e.$id} */`:a.nil}function u({schema:e,self:t}){if("boolean"==typeof e)return!e;for(const r in e)if(t.RULES.all[r])return!0;return!1}function p(e){return"boolean"!=typeof e.schema}function l(e){i.checkUnknownRules(e),function(e){const{schema:t,errSchemaPath:r,opts:a,self:o}=e;t.$ref&&a.ignoreKeywordsWithRef&&i.schemaHasRulesButRef(t,o.RULES)&&o.logger.warn(`$ref: keywords ignored in schema at path "${r}"`)}(e)}function d(e,a){if(e.opts.jtd)return r.schemaKeywords(e,[],!1,a);const o=t.getSchemaTypes(e.schema),n=t.coerceAndCheckDataType(e,o);r.schemaKeywords(e,o,!n,a)}function m({gen:e,schemaEnv:t,schema:r,errSchemaPath:n,opts:i}){const s=r.$comment;if(!0===i.$comment)e.code(a._`${o.default.self}.logger.log(${s})`);else if("function"==typeof i.$comment){const r=a.str`${n}/$comment`,i=e.scopeValue("root",{ref:t.root});e.code(a._`${o.default.self}.opts.$comment(${s}, ${r}, ${i}.schema)`)}}function h(e,t,r=e.opts.strict){if(r){if(t=`strict mode: ${t}`,!0===r)throw new Error(t);e.self.logger.warn(t)}}return Za.validateFunctionCode=function(t){p(t)&&(l(t),u(t))?function(e){const{schema:t,opts:r,gen:n}=e;s(e,(()=>{r.$comment&&t.$comment&&m(e),function(e){const{schema:t,opts:r}=e;void 0!==t.default&&r.useDefaults&&r.strict&&h(e,"default is ignored in the schema root")}(e),n.let(o.default.vErrors,null),n.let(o.default.errors,0),r.unevaluated&&function(e){const{gen:t,validateName:r}=e;e.evaluated=t.const("evaluated",a._`${r}.evaluated`),t.if(a._`${e.evaluated}.dynamicProps`,(()=>t.assign(a._`${e.evaluated}.props`,a._`undefined`))),t.if(a._`${e.evaluated}.dynamicItems`,(()=>t.assign(a._`${e.evaluated}.items`,a._`undefined`)))}(e),d(e),function(e){const{gen:t,schemaEnv:r,validateName:n,ValidationError:i,opts:s}=e;r.$async?t.if(a._`${o.default.errors} === 0`,(()=>t.return(o.default.data)),(()=>t.throw(a._`new ${i}(${o.default.vErrors})`))):(t.assign(a._`${n}.errors`,o.default.vErrors),s.unevaluated&&function({gen:e,evaluated:t,props:r,items:o}){r instanceof a.Name&&e.assign(a._`${t}.props`,r);o instanceof a.Name&&e.assign(a._`${t}.items`,o)}(e),t.return(a._`${o.default.errors} === 0`))}(e)}))}(t):s(t,(()=>e.topBoolOrEmptySchema(t)))},Za.subschemaCode=function(t,r){p(t)&&(l(t),u(t))?function(e,t){const{schema:r,gen:i,opts:s}=e;s.$comment&&r.$comment&&m(e);(function(e){e.schema.$id&&(e.baseId=n.resolveUrl(e.baseId,e.schema.$id))})(e),function(e){if(e.schema.$async&&!e.schemaEnv.$async)throw new Error("async schema in sync schema")}(e);const c=i.const("_errs",o.default.errors);d(e,c),i.var(t,a._`${c} === ${o.default.errors}`)}(t,r):e.boolOrEmptySchema(t,r)},Za.schemaCxtHasRules=u,Za.checkStrictMode=h,Za}function Io(){if(So)return Ya;So=1,Object.defineProperty(Ya,"__esModule",{value:!0}),Ya.func=Ya.setEvaluated=Ya.evaluatedPropsToName=Ya.mergeEvaluated=Ya.eachItem=Ya.unescapeJsonPointer=Ya.escapeJsonPointer=Ya.escapeFragment=Ya.unescapeFragment=Ya.schemaRefOrVal=Ya.schemaHasRulesButRef=Ya.schemaHasRules=Ya.checkUnknownRules=Ya.alwaysValidSchema=Ya.toHash=void 0;const e=Ha(),t=Ao();function r(e,r=e.schema){const{opts:a,self:o}=e;if(!a.strict)return;if("boolean"==typeof r)return;const n=o.RULES.keywords;for(const a in r)n[a]||t.checkStrictMode(e,`unknown keyword: "${a}"`)}function a(e,t){if("boolean"==typeof e)return!e;for(const r in e)if(t[r])return!0;return!1}function o(e){return"number"==typeof e?`${e}`:e.replace(/~/g,"~0").replace(/\//g,"~1")}function n(e){return e.replace(/~1/g,"/").replace(/~0/g,"~")}function i({mergeNames:t,mergeToName:r,mergeValues:a,resultToName:o}){return(n,i,s,c)=>{const u=void 0===s?i:s instanceof e.Name?(i instanceof e.Name?t(n,i,s):r(n,i,s),s):i instanceof e.Name?(r(n,s,i),i):a(i,s);return c!==e.Name||u instanceof e.Name?u:o(n,u)}}function s(t,r){if(!0===r)return t.var("props",!0);const a=t.var("props",e._`{}`);return void 0!==r&&c(t,a,r),a}function c(t,r,a){Object.keys(a).forEach((a=>t.assign(e._`${r}${e.getProperty(a)}`,!0)))}return Ya.toHash=function(e){const t={};for(const r of e)t[r]=!0;return t},Ya.alwaysValidSchema=function(e,t){return"boolean"==typeof t?t:0===Object.keys(t).length||(r(e,t),!a(t,e.self.RULES.all))},Ya.checkUnknownRules=r,Ya.schemaHasRules=a,Ya.schemaHasRulesButRef=function(e,t){if("boolean"==typeof e)return!e;for(const r in e)if("$ref"!==r&&t.all[r])return!0;return!1},Ya.schemaRefOrVal=function({topSchemaRef:t,schemaPath:r},a,o,n){if(!n){if("number"==typeof a||"boolean"==typeof a)return a;if("string"==typeof a)return e._`${a}`}return e._`${t}${r}${e.getProperty(o)}`},Ya.unescapeFragment=function(e){return n(decodeURIComponent(e))},Ya.escapeFragment=function(e){return encodeURIComponent(o(e))},Ya.escapeJsonPointer=o,Ya.unescapeJsonPointer=n,Ya.eachItem=function(e,t){if(Array.isArray(e))for(const r of e)t(r);else t(e)},Ya.mergeEvaluated={props:i({mergeNames:(t,r,a)=>t.if(e._`${a} !== true && ${r} !== undefined`,(()=>{t.if(e._`${r} === true`,(()=>t.assign(a,!0)),(()=>t.assign(a,e._`${a} || {}`).code(e._`Object.assign(${a}, ${r})`)))})),mergeToName:(t,r,a)=>t.if(e._`${a} !== true`,(()=>{!0===r?t.assign(a,!0):(t.assign(a,e._`${a} || {}`),c(t,a,r))})),mergeValues:(e,t)=>!0===e||{...e,...t},resultToName:s}),items:i({mergeNames:(t,r,a)=>t.if(e._`${a} !== true && ${r} !== undefined`,(()=>t.assign(a,e._`${r} === true ? true : ${a} > ${r} ? ${a} : ${r}`))),mergeToName:(t,r,a)=>t.if(e._`${a} !== true`,(()=>t.assign(a,!0===r||e._`${a} > ${r} ? ${a} : ${r}`))),mergeValues:(e,t)=>!0===e||Math.max(e,t),resultToName:(e,t)=>e.var("items",t)})},Ya.evaluatedPropsToName=s,Ya.setEvaluated=c,Ya.func=function(e,t){return e.scopeValue("func",{ref:t,code:t.code})},Ya}function Fo(){return _o||(_o=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.reportTypeError=e.checkDataTypes=e.checkDataType=e.coerceAndCheckDataType=e.getJSONTypes=e.getSchemaTypes=e.DataType=void 0;const t=Aa(),r=Ra(),a=Xa(),o=Ha(),n=Io();var i;function s(e){const r=Array.isArray(e)?e:e?[e]:[];if(r.every(t.isJSONType))return r;throw new Error("type must be JSONType or JSONType[]: "+r.join(","))}!function(e){e[e.Correct=0]="Correct",e[e.Wrong=1]="Wrong"}(i=e.DataType||(e.DataType={})),e.getSchemaTypes=function(e){const t=s(e.type);if(t.includes("null")){if(!1===e.nullable)throw new Error("type: null contradicts nullable: false")}else{if(!t.length&&void 0!==e.nullable)throw new Error('"nullable" cannot be used without "type"');!0===e.nullable&&t.push("null")}return t},e.getJSONTypes=s,e.coerceAndCheckDataType=function(e,t){const{gen:a,data:n,opts:s}=e,u=function(e,t){return t?e.filter((e=>c.has(e)||"array"===t&&"array"===e)):[]}(t,s.coerceTypes),l=t.length>0&&!(0===u.length&&1===t.length&&r.schemaHasRulesForType(e,t[0]));if(l){const r=p(t,n,s.strict,i.Wrong);a.if(r,(()=>{u.length?function(e,t,r){const{gen:a,data:n,opts:i}=e,s=a.let("dataType",o._`typeof ${n}`),u=a.let("coerced",o._`undefined`);"array"===i.coerceTypes&&a.if(o._`${s} == 'object' && Array.isArray(${n}) && ${n}.length == 1`,(()=>a.assign(n,o._`${n}[0]`).assign(s,o._`typeof ${n}`).if(p(t,n,i.strict),(()=>a.assign(u,n)))));a.if(o._`${u} !== undefined`);for(const e of r)(c.has(e)||"array"===e&&"array"===i.coerceTypes)&&l(e);function l(e){switch(e){case"string":return void a.elseIf(o._`${s} == "number" || ${s} == "boolean"`).assign(u,o._`"" + ${n}`).elseIf(o._`${n} === null`).assign(u,o._`""`);case"number":return void a.elseIf(o._`${s} == "boolean" || ${n} === null
              || (${s} == "string" && ${n} && ${n} == +${n})`).assign(u,o._`+${n}`);case"integer":return void a.elseIf(o._`${s} === "boolean" || ${n} === null
              || (${s} === "string" && ${n} && ${n} == +${n} && !(${n} % 1))`).assign(u,o._`+${n}`);case"boolean":return void a.elseIf(o._`${n} === "false" || ${n} === 0 || ${n} === null`).assign(u,!1).elseIf(o._`${n} === "true" || ${n} === 1`).assign(u,!0);case"null":return a.elseIf(o._`${n} === "" || ${n} === 0 || ${n} === false`),void a.assign(u,null);case"array":a.elseIf(o._`${s} === "string" || ${s} === "number"
              || ${s} === "boolean" || ${n} === null`).assign(u,o._`[${n}]`)}}a.else(),d(e),a.endIf(),a.if(o._`${u} !== undefined`,(()=>{a.assign(n,u),function({gen:e,parentData:t,parentDataProperty:r},a){e.if(o._`${t} !== undefined`,(()=>e.assign(o._`${t}[${r}]`,a)))}(e,u)}))}(e,t,u):d(e)}))}return l};const c=new Set(["string","number","integer","boolean","null"]);function u(e,t,r,a=i.Correct){const n=a===i.Correct?o.operators.EQ:o.operators.NEQ;let s;switch(e){case"null":return o._`${t} ${n} null`;case"array":s=o._`Array.isArray(${t})`;break;case"object":s=o._`${t} && typeof ${t} == "object" && !Array.isArray(${t})`;break;case"integer":s=c(o._`!(${t} % 1) && !isNaN(${t})`);break;case"number":s=c();break;default:return o._`typeof ${t} ${n} ${e}`}return a===i.Correct?s:o.not(s);function c(e=o.nil){return o.and(o._`typeof ${t} == "number"`,e,r?o._`isFinite(${t})`:o.nil)}}function p(e,t,r,a){if(1===e.length)return u(e[0],t,r,a);let i;const s=n.toHash(e);if(s.array&&s.object){const e=o._`typeof ${t} != "object"`;i=s.null?e:o._`!${t} || ${e}`,delete s.null,delete s.array,delete s.object}else i=o.nil;s.number&&delete s.integer;for(const e in s)i=o.and(i,u(e,t,r,a));return i}e.checkDataType=u,e.checkDataTypes=p;const l={message:({schema:e})=>o.str`should be ${e}`,params:({schema:e,schemaValue:t})=>"string"==typeof e?o._`{type: ${e}}`:o._`{type: ${t}}`};function d(e){const t=function(e){const{gen:t,data:r,schema:a}=e,o=n.schemaRefOrVal(e,a,"type");return{gen:t,keyword:"type",data:r,schema:a.type,schemaCode:o,schemaValue:o,parentSchema:a,params:{},it:e}}(e);a.reportError(t,l)}e.reportTypeError=d}(Ta)),Ta}function Ro(){if(Po)return Ca;Po=1,Object.defineProperty(Ca,"__esModule",{value:!0}),Ca.getData=void 0;const e=Fo(),t=Io(),r=Xa(),a=Ha(),o=Qa(),n=po();Ca.default=class{constructor(e,r,a){if(function({schema:e,opts:t,self:r},a,o){if(Array.isArray(a.keyword)?!a.keyword.includes(o):a.keyword!==o)throw new Error("ajv implementation error");const n=a.dependencies;if(null==n?void 0:n.some((t=>!Object.prototype.hasOwnProperty.call(e,t))))throw new Error(`parent schema must have dependencies of ${o}: ${n.join(",")}`);if(a.validateSchema){if(!a.validateSchema(e[o])){const e="keyword value is invalid: "+r.errorsText(a.validateSchema.errors);if("log"!==t.validateSchema)throw new Error(e);r.logger.error(e)}}}(e,r,a),this.gen=e.gen,this.allErrors=e.allErrors,this.keyword=a,this.data=e.data,this.schema=e.schema[a],this.$data=r.$data&&e.opts.$data&&this.schema&&this.schema.$data,this.schemaValue=t.schemaRefOrVal(e,this.schema,a,this.$data),this.schemaType=r.schemaType,this.parentSchema=e.schema,this.params={},this.it=e,this.def=r,this.$data)this.schemaCode=e.gen.const("vSchema",c(this.$data,e));else if(this.schemaCode=this.schemaValue,!function(e,t,r=!1){return!t.length||t.some((t=>"array"===t?Array.isArray(e):"object"===t?e&&"object"==typeof e&&!Array.isArray(e):typeof e==t||r&&void 0===e))}(this.schema,r.schemaType,r.allowUndefined))throw new Error(`${a} value must be ${JSON.stringify(r.schemaType)}`);("code"in r?r.trackErrors:!1!==r.errors)&&(this.errsCount=e.gen.const("_errs",o.default.errors))}result(e,t,r){this.gen.if(a.not(e)),r?r():this.error(),t?(this.gen.else(),t(),this.allErrors&&this.gen.endIf()):this.allErrors?this.gen.endIf():this.gen.else()}pass(e,t){this.result(e,void 0,t)}fail(e){if(void 0===e)return this.error(),void(this.allErrors||this.gen.if(!1));this.gen.if(e),this.error(),this.allErrors?this.gen.endIf():this.gen.else()}fail$data(e){if(!this.$data)return this.fail(e);const{schemaCode:t}=this;this.fail(a._`${t} !== undefined && (${a.or(this.invalid$data(),e)})`)}error(e){(e?r.reportExtraError:r.reportError)(this,this.def.error)}$dataError(){r.reportError(this,this.def.$dataError||r.keyword$DataError)}reset(){if(void 0===this.errsCount)throw new Error('add "trackErrors" to keyword definition');r.resetErrorsCount(this.gen,this.errsCount)}ok(e){this.allErrors||this.gen.if(e)}setParams(e,t){t?Object.assign(this.params,e):this.params=e}block$data(e,t,r=a.nil){this.gen.block((()=>{this.check$data(e,r),t()}))}check$data(e=a.nil,t=a.nil){if(!this.$data)return;const{gen:r,schemaCode:o,schemaType:n,def:i}=this;r.if(a.or(a._`${o} === undefined`,t)),e!==a.nil&&r.assign(e,!0),(n.length||i.validateSchema)&&(r.elseIf(this.invalid$data()),this.$dataError(),e!==a.nil&&r.assign(e,!1)),r.else()}invalid$data(){const{gen:t,schemaCode:r,schemaType:o,def:n,it:i}=this;return a.or(function(){if(o.length){if(!(r instanceof a.Name))throw new Error("ajv implementation error");const t=Array.isArray(o)?o:[o];return a._`${e.checkDataTypes(t,r,i.opts.strict,e.DataType.Wrong)}`}return a.nil}(),function(){if(n.validateSchema){const e=t.scopeValue("validate$data",{ref:n.validateSchema});return a._`!${e}(${r})`}return a.nil}())}subschema(e,t){return n.applySubschema(this.it,e,t)}mergeEvaluated(e,r){const{it:a,gen:o}=this;a.opts.unevaluated&&(!0!==a.props&&void 0!==e.props&&(a.props=t.mergeEvaluated.props(o,e.props,a.props,r)),!0!==a.items&&void 0!==e.items&&(a.items=t.mergeEvaluated.items(o,e.items,a.items,r)))}mergeValidEvaluated(e,t){const{it:r,gen:o}=this;if(r.opts.unevaluated&&(!0!==r.props||!0!==r.items))return o.if(t,(()=>this.mergeEvaluated(e,a.Name))),!0}};const i=/^\/(?:[^~]|~0|~1)*$/,s=/^([0-9]+)(#|\/(?:[^~]|~0|~1)*)?$/;function c(e,{dataLevel:r,dataNames:n,dataPathArr:c}){let u,p;if(""===e)return o.default.rootData;if("/"===e[0]){if(!i.test(e))throw new Error(`Invalid JSON-pointer: ${e}`);u=e,p=o.default.rootData}else{const t=s.exec(e);if(!t)throw new Error(`Invalid JSON-pointer: ${e}`);const a=+t[1];if(u=t[2],"#"===u){if(a>=r)throw new Error(m("property/index",a));return c[r-a]}if(a>r)throw new Error(m("data",a));if(p=n[r-a],!u)return p}let l=p;const d=u.split("/");for(const e of d)e&&(p=a._`${p}${a.getProperty(t.unescapeJsonPointer(e))}`,l=a._`${l} && ${p}`);return l;function m(e,t){return`Cannot access ${e} ${t} levels up, current level is ${r}`}}return Ca.getData=c,Ca}var Do,No={},zo={exports:{}};function Bo(){return Do||(Do=1,function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.MissingRefError=t.ValidationError=void 0;const r=Oo();class a extends Error{constructor(e){super("validation failed"),this.errors=e,this.ajv=this.validation=!0}}t.ValidationError=a;class o extends Error{constructor(e,t,a){super(a||`can't resolve reference ${t} from id ${e}`),this.missingRef=r.resolveUrl(e,t),this.missingSchema=r.normalizeId(r.getFullPath(this.missingRef))}}t.MissingRefError=o,e.exports={ValidationError:a,MissingRefError:o}}(zo,zo.exports)),zo.exports}var $o,Lo={};function qo(){if($o)return Lo;$o=1,Object.defineProperty(Lo,"__esModule",{value:!0}),Lo.resolveSchema=Lo.getCompilingSchema=Lo.resolveRef=Lo.compileSchema=Lo.SchemaEnv=void 0;const e=Ha(),t=Bo(),r=Qa(),a=Oo(),o=Io(),n=Ao(),i=To();class s{constructor(e){var t;let r;this.refs={},this.dynamicAnchors={},"object"==typeof e.schema&&(r=e.schema),this.schema=e.schema,this.root=e.root||this,this.baseId=null!==(t=e.baseId)&&void 0!==t?t:a.normalizeId(null==r?void 0:r.$id),this.localRefs=e.localRefs,this.meta=e.meta,this.$async=null==r?void 0:r.$async,this.refs={}}}function c(o){const i=p.call(this,o);if(i)return i;const s=a.getFullPath(o.root.baseId),{es5:c,lines:u}=this.opts.code,{ownProperties:l}=this.opts,d=new e.CodeGen(this.scope,{es5:c,lines:u,ownProperties:l});let m;o.$async&&(m=d.scopeValue("Error",{ref:t.ValidationError,code:e._`require("ajv/dist/compile/error_classes").ValidationError`}));const h=d.scopeName("validate");o.validateName=h;const f={gen:d,allErrors:this.opts.allErrors,data:r.default.data,parentData:r.default.parentData,parentDataProperty:r.default.parentDataProperty,dataNames:[r.default.data],dataPathArr:[e.nil],dataLevel:0,dataTypes:[],definedProperties:new Set,topSchemaRef:d.scopeValue("schema",!0===this.opts.code.source?{ref:o.schema,code:e.stringify(o.schema)}:{ref:o.schema}),validateName:h,ValidationError:m,schema:o.schema,schemaEnv:o,rootId:s,baseId:o.baseId||s,schemaPath:e.nil,errSchemaPath:this.opts.jtd?"":"#",errorPath:e._`""`,opts:this.opts,self:this};let g;try{this._compilations.add(o),n.validateFunctionCode(f),d.optimize(this.opts.code.optimize);const t=d.toString();g=`${d.scopeRefs(r.default.scope)}return ${t}`,this.opts.code.process&&(g=this.opts.code.process(g,o));const a=new Function(`${r.default.self}`,`${r.default.scope}`,g)(this,this.scope.get());if(this.scope.value(h,{ref:a}),a.errors=null,a.schema=o.schema,a.schemaEnv=o,o.$async&&(a.$async=!0),!0===this.opts.code.source&&(a.source={validateName:h,validateCode:t,scopeValues:d._values}),this.opts.unevaluated){const{props:t,items:r}=f;a.evaluated={props:t instanceof e.Name?void 0:t,items:r instanceof e.Name?void 0:r,dynamicProps:t instanceof e.Name,dynamicItems:r instanceof e.Name},a.source&&(a.source.evaluated=e.stringify(a.evaluated))}return o.validate=a,o}catch(e){throw delete o.validate,delete o.validateName,g&&this.logger.error("Error compiling schema, function code:",g),e}finally{this._compilations.delete(o)}}function u(e){return a.inlineRef(e.schema,this.opts.inlineRefs)?e.schema:e.validate?e:c.call(this,e)}function p(e){for(const a of this._compilations)if(r=e,(t=a).schema===r.schema&&t.root===r.root&&t.baseId===r.baseId)return a;var t,r}function l(e,t){let r;for(;"string"==typeof(r=this.refs[t]);)t=r;return r||this.schemas[t]||d.call(this,e,t)}function d(e,t){const r=i.parse(t),o=a._getFullPath(r);let n=a.getFullPath(e.baseId);if(Object.keys(e.schema).length>0&&o===n)return h.call(this,r,e);const u=a.normalizeId(o),p=this.refs[u]||this.schemas[u];if("string"==typeof p){const t=d.call(this,e,p);if("object"!=typeof(null==t?void 0:t.schema))return;return h.call(this,r,t)}if("object"==typeof(null==p?void 0:p.schema)){if(p.validate||c.call(this,p),u===a.normalizeId(t)){const{schema:t}=p;return t.$id&&(n=a.resolveUrl(n,t.$id)),new s({schema:t,root:e,baseId:n})}return h.call(this,r,p)}}Lo.SchemaEnv=s,Lo.compileSchema=c,Lo.resolveRef=function(e,t,r){var o;r=a.resolveUrl(t,r);const n=e.refs[r];if(n)return n;let i=l.call(this,e,r);if(void 0===i){const a=null===(o=e.localRefs)||void 0===o?void 0:o[r];a&&(i=new s({schema:a,root:e,baseId:t}))}return void 0!==i?e.refs[r]=u.call(this,i):void 0},Lo.getCompilingSchema=p,Lo.resolveSchema=d;const m=new Set(["properties","patternProperties","enum","dependencies","definitions"]);function h(e,{baseId:t,schema:r,root:n}){var i;if("/"!==(null===(i=e.fragment)||void 0===i?void 0:i[0]))return;for(const n of e.fragment.slice(1).split("/")){if("boolean"==typeof r)return;if(void 0===(r=r[o.unescapeFragment(n)]))return;!m.has(n)&&"object"==typeof r&&r.$id&&(t=a.resolveUrl(t,r.$id))}let c;if("boolean"!=typeof r&&r.$ref&&!o.schemaHasRulesButRef(r,this.RULES)){const e=a.resolveUrl(t,r.$ref);c=d.call(this,n,e)}return c=c||new s({schema:r,root:n,baseId:t}),c.schema!==c.root.schema?c:void 0}return Lo}var Uo,Mo={$id:"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#",description:"Meta-schema for $data reference (JSON AnySchema extension proposal)",type:"object",required:["$data"],properties:{$data:{type:"string",anyOf:[{format:"relative-json-pointer"},{format:"json-pointer"}]}},additionalProperties:!1};function Ho(){return Uo||(Uo=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.CodeGen=e.Name=e.nil=e.stringify=e.str=e._=e.KeywordCxt=void 0;const t=Ro();e.KeywordCxt=t.default;var r=Ha();Object.defineProperty(e,"_",{enumerable:!0,get:function(){return r._}}),Object.defineProperty(e,"str",{enumerable:!0,get:function(){return r.str}}),Object.defineProperty(e,"stringify",{enumerable:!0,get:function(){return r.stringify}}),Object.defineProperty(e,"nil",{enumerable:!0,get:function(){return r.nil}}),Object.defineProperty(e,"Name",{enumerable:!0,get:function(){return r.Name}}),Object.defineProperty(e,"CodeGen",{enumerable:!0,get:function(){return r.CodeGen}});const a=Bo(),o=Aa(),n=qo(),i=Ha(),s=Oo(),c=Fo(),u=Io(),p=Mo,l=["removeAdditional","useDefaults","coerceTypes"],d=new Set(["validate","serialize","parse","wrapper","root","schema","keyword","pattern","formats","validate$data","func","obj","Error"]),m={errorDataPath:"",format:"`validateFormats: false` can be used instead.",nullable:'"nullable" keyword is supported by default.',jsonPointers:"Deprecated jsPropertySyntax can be used instead.",extendRefs:"Deprecated ignoreKeywordsWithRef can be used instead.",missingRefs:"Pass empty schema with $id that should be ignored to ajv.addSchema.",processCode:"Use option `code: {process: (code, schemaEnv: object) => string}`",sourceCode:"Use option `code: {source: true}`",schemaId:"JSON Schema draft-04 is not supported in Ajv v7.",strictDefaults:"It is default now, see option `strict`.",strictKeywords:"It is default now, see option `strict`.",strictNumbers:"It is default now, see option `strict`.",uniqueItems:'"uniqueItems" keyword is always validated.',unknownFormats:"Disable strict mode or pass `true` to `ajv.addFormat` (or `formats` option).",cache:"Map is used as cache, schema object as key.",serialize:"Map is used as cache, schema object as key."},h={ignoreKeywordsWithRef:"",jsPropertySyntax:"",unicode:'"minLength"/"maxLength" account for unicode characters by default.'};function f(e){var t,r,a,o,n,i,s,c,u,p,l,d;const m=null===(t=e.strict)||void 0===t||t,h=!!m&&"log",f=null===(r=e.code)||void 0===r?void 0:r.optimize,g=!0===f||void 0===f?1:f||0;return{strict:m,strictTypes:null!==(a=e.strictTypes)&&void 0!==a?a:h,strictTuples:null!==(o=e.strictTuples)&&void 0!==o?o:h,code:e.code?{...e.code,optimize:g}:{optimize:g},loopRequired:null!==(n=e.loopRequired)&&void 0!==n?n:1/0,loopEnum:null!==(i=e.loopEnum)&&void 0!==i?i:1/0,meta:null===(s=e.meta)||void 0===s||s,messages:null===(c=e.messages)||void 0===c||c,inlineRefs:null===(u=e.inlineRefs)||void 0===u||u,addUsedSchema:null===(p=e.addUsedSchema)||void 0===p||p,validateSchema:null===(l=e.validateSchema)||void 0===l||l,validateFormats:null===(d=e.validateFormats)||void 0===d||d}}class g{constructor(e={}){this.schemas={},this.refs={},this.formats={},this._compilations=new Set,this._loading={},this._cache=new Map,e=this.opts={...e,...f(e)};const{es5:t,lines:r}=this.opts.code;this.scope=new i.ValueScope({scope:{},prefixes:d,es5:t,lines:r}),this.logger=function(e){if(!1===e)return j;if(void 0===e)return console;if(e.log&&e.warn&&e.error)return e;throw new Error("logger must implement log, warn and error methods")}(e.logger);const a=e.validateFormats;e.validateFormats=!1,this.RULES=o.getRules(),y.call(this,m,e,"NOT SUPPORTED"),y.call(this,h,e,"DEPRECATED","warn"),this._metaOpts=x.call(this),e.formats&&k.call(this),this._addVocabularies(),this._addDefaultMetaSchema(),e.keywords&&w.call(this,e.keywords),"object"==typeof e.meta&&this.addMetaSchema(e.meta),b.call(this),e.validateFormats=a}_addVocabularies(){this.addKeyword("$async")}_addDefaultMetaSchema(){const{$data:e,meta:t}=this.opts;t&&e&&this.addMetaSchema(p,p.$id,!1)}defaultMeta(){const{meta:e}=this.opts;return this.opts.defaultMeta="object"==typeof e?e.$id||e:void 0}validate(e,t){let r;if("string"==typeof e){if(r=this.getSchema(e),!r)throw new Error(`no schema with key or ref "${e}"`)}else r=this.compile(e);const a=r(t);return"$async"in r||(this.errors=r.errors),a}compile(e,t){const r=this._addSchema(e,t);return r.validate||this._compileSchemaEnv(r)}compileAsync(e,t){if("function"!=typeof this.opts.loadSchema)throw new Error("options.loadSchema should be a function");const{loadSchema:r}=this.opts;return o.call(this,e,t);async function o(e,t){await n.call(this,e.$schema);const r=this._addSchema(e,t);return r.validate||i.call(this,r)}async function n(e){e&&!this.getSchema(e)&&await o.call(this,{$ref:e},!0)}async function i(e){try{return this._compileSchemaEnv(e)}catch(t){if(!(t instanceof a.MissingRefError))throw t;return s.call(this,t),await c.call(this,t.missingSchema),i.call(this,e)}}function s({missingSchema:e,missingRef:t}){if(this.refs[e])throw new Error(`AnySchema ${e} is loaded but ${t} cannot be resolved`)}async function c(e){const r=await u.call(this,e);this.refs[e]||await n.call(this,r.$schema),this.refs[e]||this.addSchema(r,e,t)}async function u(e){const t=this._loading[e];if(t)return t;try{return await(this._loading[e]=r(e))}finally{delete this._loading[e]}}}addSchema(e,t,r,a=this.opts.validateSchema){if(Array.isArray(e)){for(const t of e)this.addSchema(t,void 0,r,a);return this}let o;if("object"==typeof e&&(o=e.$id,void 0!==o&&"string"!=typeof o))throw new Error("schema id must be string");return t=s.normalizeId(t||o),this._checkUnique(t),this.schemas[t]=this._addSchema(e,r,a,!0),this}addMetaSchema(e,t,r=this.opts.validateSchema){return this.addSchema(e,t,!0,r),this}validateSchema(e,t){if("boolean"==typeof e)return!0;let r;if(r=e.$schema,void 0!==r&&"string"!=typeof r)throw new Error("$schema must be a string");if(r=r||this.opts.defaultMeta||this.defaultMeta(),!r)return this.logger.warn("meta-schema not available"),this.errors=null,!0;const a=this.validate(r,e);if(!a&&t){const e="schema is invalid: "+this.errorsText();if("log"!==this.opts.validateSchema)throw new Error(e);this.logger.error(e)}return a}getSchema(e){let t;for(;"string"==typeof(t=v.call(this,e));)e=t;if(void 0===t){const r=new n.SchemaEnv({schema:{}});if(t=n.resolveSchema.call(this,r,e),!t)return;this.refs[e]=t}return t.validate||this._compileSchemaEnv(t)}removeSchema(e){if(e instanceof RegExp)return this._removeAllSchemas(this.schemas,e),this._removeAllSchemas(this.refs,e),this;switch(typeof e){case"undefined":return this._removeAllSchemas(this.schemas),this._removeAllSchemas(this.refs),this._cache.clear(),this;case"string":{const t=v.call(this,e);return"object"==typeof t&&this._cache.delete(t.schema),delete this.schemas[e],delete this.refs[e],this}case"object":{const t=e;this._cache.delete(t);let r=e.$id;return r&&(r=s.normalizeId(r),delete this.schemas[r],delete this.refs[r]),this}default:throw new Error("ajv.removeSchema: invalid parameter")}}addVocabulary(e){for(const t of e)this.addKeyword(t);return this}addKeyword(e,t){let r;if("string"==typeof e)r=e,"object"==typeof t&&(this.logger.warn("these parameters are deprecated, see docs for addKeyword"),t.keyword=r);else{if("object"!=typeof e||void 0!==t)throw new Error("invalid addKeywords parameters");if(r=(t=e).keyword,Array.isArray(r)&&!r.length)throw new Error("addKeywords: keyword must be string or non-empty array")}if(S.call(this,r,t),!t)return u.eachItem(r,(e=>_.call(this,e))),this;C.call(this,t);const a={...t,type:c.getJSONTypes(t.type),schemaType:c.getJSONTypes(t.schemaType)};return u.eachItem(r,0===a.type.length?e=>_.call(this,e,a):e=>a.type.forEach((t=>_.call(this,e,a,t)))),this}getKeyword(e){const t=this.RULES.all[e];return"object"==typeof t?t.definition:!!t}removeKeyword(e){const{RULES:t}=this;delete t.keywords[e],delete t.all[e];for(const r of t.rules){const t=r.rules.findIndex((t=>t.keyword===e));t>=0&&r.rules.splice(t,1)}return this}addFormat(e,t){return"string"==typeof t&&(t=new RegExp(t)),this.formats[e]=t,this}errorsText(e=this.errors,{separator:t=", ",dataVar:r="data"}={}){return e&&0!==e.length?e.map((e=>`${r}${e.dataPath} ${e.message}`)).reduce(((e,r)=>e+t+r)):"No errors"}$dataMetaSchema(e,t){const r=this.RULES.all;e=JSON.parse(JSON.stringify(e));for(const a of t){const t=a.split("/").slice(1);let o=e;for(const e of t)o=o[e];for(const e in r){const t=r[e];if("object"!=typeof t)continue;const{$data:a}=t.definition,n=o[e];a&&n&&(o[e]=O(n))}}return e}_removeAllSchemas(e,t){for(const r in e){const a=e[r];t&&!t.test(r)||("string"==typeof a?delete e[r]:a&&!a.meta&&(this._cache.delete(a.schema),delete e[r]))}}_addSchema(e,t,r=this.opts.validateSchema,a=this.opts.addUsedSchema){if("object"!=typeof e){if(this.opts.jtd)throw new Error("schema must be object");if("boolean"!=typeof e)throw new Error("schema must be object or boolean")}let o=this._cache.get(e);if(void 0!==o)return o;const i=s.getSchemaRefs.call(this,e);o=new n.SchemaEnv({schema:e,meta:t,localRefs:i}),this._cache.set(o.schema,o);const c=o.baseId;return a&&!c.startsWith("#")&&(c&&this._checkUnique(c),this.refs[c]=o),r&&this.validateSchema(e,!0),o}_checkUnique(e){if(this.schemas[e]||this.refs[e])throw new Error(`schema with key or id "${e}" already exists`)}_compileSchemaEnv(e){if(e.meta?this._compileMetaSchema(e):n.compileSchema.call(this,e),!e.validate)throw new Error("ajv implementation error");return e.validate}_compileMetaSchema(e){const t=this.opts;this.opts=this._metaOpts;try{n.compileSchema.call(this,e)}finally{this.opts=t}}}function y(e,t,r,a="error"){for(const o in e){const n=o;n in t&&this.logger[a](`${r}: option ${o}. ${e[n]}`)}}function v(e){return e=s.normalizeId(e),this.schemas[e]||this.refs[e]}function b(){const e=this.opts.schemas;if(e)if(Array.isArray(e))this.addSchema(e);else for(const t in e)this.addSchema(e[t],t)}function k(){for(const e in this.opts.formats){const t=this.opts.formats[e];t&&this.addFormat(e,t)}}function w(e){if(Array.isArray(e))this.addVocabulary(e);else{this.logger.warn("keywords option as map is deprecated, pass array");for(const t in e){const r=e[t];r.keyword||(r.keyword=t),this.addKeyword(r)}}}function x(){const e={...this.opts};for(const t of l)delete e[t];return e}e.default=g,g.ValidationError=a.ValidationError,g.MissingRefError=a.MissingRefError;const j={log(){},warn(){},error(){}};const E=/^[a-z_$][a-z0-9_$:-]*$/i;function S(e,t){const{RULES:r}=this;if(u.eachItem(e,(e=>{if(r.keywords[e])throw new Error(`Keyword ${e} is already defined`);if(!E.test(e))throw new Error(`Keyword ${e} has invalid name`)})),t&&t.$data&&!("code"in t)&&!("validate"in t))throw new Error('$data keyword must have "code" or "validate" function')}function _(e,t,r){var a;const o=null==t?void 0:t.post;if(r&&o)throw new Error('keyword with "post" flag cannot have "type"');const{RULES:n}=this;let i=o?n.post:n.rules.find((({type:e})=>e===r));if(i||(i={type:r,rules:[]},n.rules.push(i)),n.keywords[e]=!0,!t)return;const s={keyword:e,definition:{...t,type:c.getJSONTypes(t.type),schemaType:c.getJSONTypes(t.schemaType)}};t.before?P.call(this,i,s,t.before):i.rules.push(s),n.all[e]=s,null===(a=t.implements)||void 0===a||a.forEach((e=>this.addKeyword(e)))}function P(e,t,r){const a=e.rules.findIndex((e=>e.keyword===r));a>=0?e.rules.splice(a,0,t):(e.rules.push(t),this.logger.warn(`rule ${r} is not defined`))}function C(e){let{metaSchema:t}=e;void 0!==t&&(e.$data&&this.opts.$data&&(t=O(t)),e.validateSchema=this.compile(t,!0))}const T={$ref:"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#"};function O(e){return{anyOf:[e,T]}}}(No)),No}var Ko,Vo={},Go={},Qo={};var Xo,Wo,Yo={};function Zo(){if(Wo)return Go;Wo=1,Object.defineProperty(Go,"__esModule",{value:!0});const e=function(){if(Ko)return Qo;Ko=1,Object.defineProperty(Qo,"__esModule",{value:!0});const e={keyword:"id",code(){throw new Error('NOT SUPPORTED: keyword "id", use "$id" for schema ID')}};return Qo.default=e,Qo}(),t=function(){if(Xo)return Yo;Xo=1,Object.defineProperty(Yo,"__esModule",{value:!0}),Yo.callRef=Yo.getValidate=void 0;const e=Bo(),t=lo(),r=Ha(),a=Qa(),o=qo(),n=Io(),i={keyword:"$ref",schemaType:"string",code(t){const{gen:a,schema:n,it:i}=t,{baseId:u,schemaEnv:p,validateName:l,opts:d,self:m}=i;if("#"===n||"#/"===n)return function(){if(p===p.root)return c(t,l,p,p.$async);const e=a.scopeValue("root",{ref:p.root});return c(t,r._`${e}.validate`,p.root,p.root.$async)}();const h=o.resolveRef.call(m,p.root,u,n);if(void 0===h)throw new e.MissingRefError(u,n);return h instanceof o.SchemaEnv?function(e){const r=s(t,e);c(t,r,e,e.$async)}(h):function(e){const o=a.scopeValue("schema",!0===d.code.source?{ref:e,code:r.stringify(e)}:{ref:e}),i=a.name("valid"),s=t.subschema({schema:e,dataTypes:[],schemaPath:r.nil,topSchemaRef:o,errSchemaPath:n},i);t.mergeEvaluated(s),t.ok(i)}(h)}};function s(e,t){const{gen:a}=e;return t.validate?a.scopeValue("validate",{ref:t.validate}):r._`${a.scopeValue("wrapper",{ref:t})}.validate`}function c(e,o,i,s){const{gen:c,it:u}=e,{allErrors:p,schemaEnv:l,opts:d}=u,m=d.passContext?a.default.this:r.nil;function h(e){const t=r._`${e}.errors`;c.assign(a.default.vErrors,r._`${a.default.vErrors} === null ? ${t} : ${a.default.vErrors}.concat(${t})`),c.assign(a.default.errors,r._`${a.default.vErrors}.length`)}function f(e){var t;if(!u.opts.unevaluated)return;const a=null===(t=null==i?void 0:i.validate)||void 0===t?void 0:t.evaluated;if(!0!==u.props)if(a&&!a.dynamicProps)void 0!==a.props&&(u.props=n.mergeEvaluated.props(c,a.props,u.props));else{const t=c.var("props",r._`${e}.evaluated.props`);u.props=n.mergeEvaluated.props(c,t,u.props,r.Name)}if(!0!==u.items)if(a&&!a.dynamicItems)void 0!==a.items&&(u.items=n.mergeEvaluated.items(c,a.items,u.items));else{const t=c.var("items",r._`${e}.evaluated.items`);u.items=n.mergeEvaluated.items(c,t,u.items,r.Name)}}s?function(){if(!l.$async)throw new Error("async schema referenced by sync schema");const a=c.let("valid");c.try((()=>{c.code(r._`await ${t.callValidateCode(e,o,m)}`),f(o),p||c.assign(a,!0)}),(e=>{c.if(r._`!(${e} instanceof ${u.ValidationError})`,(()=>c.throw(e))),h(e),p||c.assign(a,!1)})),e.ok(a)}():e.result(t.callValidateCode(e,o,m),(()=>f(o)),(()=>h(o)))}return Yo.getValidate=s,Yo.callRef=c,Yo.default=i,Yo}(),r=["$schema","$id","$defs","$vocabulary",{keyword:"$comment"},"definitions",e.default,t.default];return Go.default=r,Go}var Jo,en={},tn={};var rn,an={};var on,nn,sn={},cn={};function un(){if(nn)return sn;nn=1,Object.defineProperty(sn,"__esModule",{value:!0});const e=Ha(),t=(on||(on=1,Object.defineProperty(cn,"__esModule",{value:!0}),cn.default=function(e){const t=e.length;let r,a=0,o=0;for(;o<t;)a++,r=e.charCodeAt(o++),r>=55296&&r<=56319&&o<t&&(r=e.charCodeAt(o),56320==(64512&r)&&o++);return a}),cn),r={message({keyword:t,schemaCode:r}){const a="maxLength"===t?"more":"fewer";return e.str`should NOT have ${a} than ${r} characters`},params:({schemaCode:t})=>e._`{limit: ${t}}`},a={keyword:["maxLength","minLength"],type:"string",schemaType:"number",$data:!0,error:r,code(r){const{keyword:a,data:o,schemaCode:n,it:i}=r,s="maxLength"===a?e.operators.GT:e.operators.LT;let c;if(!1===i.opts.unicode)c=e._`${o}.length`;else{const a=r.gen.scopeValue("func",{ref:t.default,code:e._`require("ajv/dist/compile/ucs2length").default`});c=e._`${a}(${o})`}r.fail$data(e._`${c} ${s} ${n}`)}};return sn.default=a,sn}var pn,ln={};var dn,mn={};var hn,fn={};function gn(){if(hn)return fn;hn=1,Object.defineProperty(fn,"__esModule",{value:!0});const e=lo(),t=Ha(),r=Ao(),a={keyword:"required",type:"object",schemaType:"array",$data:!0,error:{message:({params:{missingProperty:e}})=>t.str`should have required property '${e}'`,params:({params:{missingProperty:e}})=>t._`{missingProperty: ${e}}`},code(a){const{gen:o,schema:n,schemaCode:i,data:s,$data:c,it:u}=a,{opts:p}=u;if(!c&&0===n.length)return;const l=n.length>=p.loopRequired;if(u.allErrors?function(){if(l||c)a.block$data(t.nil,d);else for(const t of n)e.checkReportMissingProp(a,t)}():function(){const r=o.let("missing");if(l||c){const n=o.let("valid",!0);a.block$data(n,(()=>function(r,n){a.setParams({missingProperty:r}),o.forOf(r,i,(()=>{o.assign(n,e.propertyInData(o,s,r,p.ownProperties)),o.if(t.not(n),(()=>{a.error(),o.break()}))}),t.nil)}(r,n))),a.ok(n)}else o.if(e.checkMissingProp(a,n,r)),e.reportMissingProp(a,r),o.else()}(),p.strictRequired){const e=a.parentSchema.properties,{definedProperties:t}=a.it;for(const a of n)if(void 0===(null==e?void 0:e[a])&&!t.has(a)){const e=`required property "${a}" is not defined at "${u.schemaEnv.baseId+u.errSchemaPath}" (strictRequired)`;r.checkStrictMode(u,e,u.opts.strictRequired)}}function d(){o.forOf("prop",i,(t=>{a.setParams({missingProperty:t}),o.if(e.noPropertyInData(o,s,t,p.ownProperties),(()=>a.error()))}))}}};return fn.default=a,fn}var yn,vn={};var bn,kn={};function wn(){if(bn)return kn;bn=1,Object.defineProperty(kn,"__esModule",{value:!0});const e=Fo(),t=Ha(),r=vo(),a={keyword:"uniqueItems",type:"array",schemaType:"boolean",$data:!0,error:{message:({params:{i:e,j:r}})=>t.str`should NOT have duplicate items (items ## ${r} and ${e} are identical)`,params:({params:{i:e,j:r}})=>t._`{i: ${e}, j: ${r}}`},code(a){const{gen:o,data:n,$data:i,schema:s,parentSchema:c,schemaCode:u,it:p}=a;if(!i&&!s)return;const l=o.let("valid"),d=c.items?e.getSchemaTypes(c.items):[];function m(r,i){const s=o.name("item"),c=e.checkDataTypes(d,s,p.opts.strict,e.DataType.Wrong),u=o.const("indices",t._`{}`);o.for(t._`;${r}--;`,(()=>{o.let(s,t._`${n}[${r}]`),o.if(c,t._`continue`),d.length>1&&o.if(t._`typeof ${s} == "string"`,t._`${s} += "_"`),o.if(t._`typeof ${u}[${s}] == "number"`,(()=>{o.assign(i,t._`${u}[${s}]`),a.error(),o.assign(l,!1).break()})).code(t._`${u}[${s}] = ${r}`)}))}function h(e,i){const s=a.gen.scopeValue("func",{ref:r,code:t._`require("ajv/dist/compile/equal")`}),c=o.name("outer");o.label(c).for(t._`;${e}--;`,(()=>o.for(t._`${i} = ${e}; ${i}--;`,(()=>o.if(t._`${s}(${n}[${e}], ${n}[${i}])`,(()=>{a.error(),o.assign(l,!1).break(c)}))))))}a.block$data(l,(function(){const e=o.let("i",t._`${n}.length`),r=o.let("j");a.setParams({i:e,j:r}),o.assign(l,!0),o.if(t._`${e} > 1`,(()=>(d.length>0&&!d.some((e=>"object"===e||"array"===e))?m:h)(e,r)))}),t._`${u} === false`),a.ok(l)}};return kn.default=a,kn}var xn,jn={};var En,Sn,_n={};function Pn(){if(En)return _n;En=1,Object.defineProperty(_n,"__esModule",{value:!0});const e=Ha(),t=vo(),r={keyword:"enum",schemaType:"array",$data:!0,error:{message:"should be equal to one of the allowed values",params:({schemaCode:t})=>e._`{allowedValues: ${t}}`},code(r){const{gen:a,data:o,$data:n,schema:i,schemaCode:s,it:c}=r;if(!n&&0===i.length)throw new Error("enum must have non-empty array");const u=i.length>=c.opts.loopEnum,p=r.gen.scopeValue("func",{ref:t,code:e._`require("ajv/dist/compile/equal")`});let l;if(u||n)l=a.let("valid"),r.block$data(l,(function(){a.assign(l,!1),a.forOf("v",s,(t=>a.if(e._`${p}(${o}, ${t})`,(()=>a.assign(l,!0).break()))))}));else{if(!Array.isArray(i))throw new Error("ajv implementation error");const t=a.const("vSchema",s);l=e.or(...i.map(((r,a)=>function(t,r){const a=i[r];return a&&"object"==typeof a?e._`${p}(${o}, ${t}[${r}])`:e._`${o} === ${a}`}(t,a))))}r.pass(l)}};return _n.default=r,_n}function Cn(){if(Sn)return en;Sn=1,Object.defineProperty(en,"__esModule",{value:!0});const e=function(){if(Jo)return tn;Jo=1,Object.defineProperty(tn,"__esModule",{value:!0});const e=Ha(),t=e.operators,r={maximum:{okStr:"<=",ok:t.LTE,fail:t.GT},minimum:{okStr:">=",ok:t.GTE,fail:t.LT},exclusiveMaximum:{okStr:"<",ok:t.LT,fail:t.GTE},exclusiveMinimum:{okStr:">",ok:t.GT,fail:t.LTE}},a={message:({keyword:t,schemaCode:a})=>e.str`should be ${r[t].okStr} ${a}`,params:({keyword:t,schemaCode:a})=>e._`{comparison: ${r[t].okStr}, limit: ${a}}`},o={keyword:Object.keys(r),type:"number",schemaType:"number",$data:!0,error:a,code(t){const{keyword:a,data:o,schemaCode:n}=t;t.fail$data(e._`${o} ${r[a].fail} ${n} || isNaN(${o})`)}};return tn.default=o,tn}(),t=function(){if(rn)return an;rn=1,Object.defineProperty(an,"__esModule",{value:!0});const e=Ha(),t={keyword:"multipleOf",type:"number",schemaType:"number",$data:!0,error:{message:({schemaCode:t})=>e.str`should be multiple of ${t}`,params:({schemaCode:t})=>e._`{multipleOf: ${t}}`},code(t){const{gen:r,data:a,schemaCode:o,it:n}=t,i=n.opts.multipleOfPrecision,s=r.let("res"),c=i?e._`Math.abs(Math.round(${s}) - ${s}) > 1e-${i}`:e._`${s} !== parseInt(${s})`;t.fail$data(e._`(${o} === 0 || (${s} = ${a}/${o}, ${c}))`)}};return an.default=t,an}(),r=un(),a=function(){if(pn)return ln;pn=1,Object.defineProperty(ln,"__esModule",{value:!0});const e=lo(),t=Ha(),r={keyword:"pattern",type:"string",schemaType:"string",$data:!0,error:{message:({schemaCode:e})=>t.str`should match pattern "${e}"`,params:({schemaCode:e})=>t._`{pattern: ${e}}`},code(r){const{gen:a,data:o,$data:n,schema:i,schemaCode:s}=r,c=n?t._`(new RegExp(${s}, "u"))`:e.usePattern(a,i);r.fail$data(t._`!${c}.test(${o})`)}};return ln.default=r,ln}(),o=function(){if(dn)return mn;dn=1,Object.defineProperty(mn,"__esModule",{value:!0});const e=Ha(),t={message({keyword:t,schemaCode:r}){const a="maxProperties"===t?"more":"fewer";return e.str`should NOT have ${a} than ${r} items`},params:({schemaCode:t})=>e._`{limit: ${t}}`},r={keyword:["maxProperties","minProperties"],type:"object",schemaType:"number",$data:!0,error:t,code(t){const{keyword:r,data:a,schemaCode:o}=t,n="maxProperties"===r?e.operators.GT:e.operators.LT;t.fail$data(e._`Object.keys(${a}).length ${n} ${o}`)}};return mn.default=r,mn}(),n=gn(),i=function(){if(yn)return vn;yn=1,Object.defineProperty(vn,"__esModule",{value:!0});const e=Ha(),t={message({keyword:t,schemaCode:r}){const a="maxItems"===t?"more":"fewer";return e.str`should NOT have ${a} than ${r} items`},params:({schemaCode:t})=>e._`{limit: ${t}}`},r={keyword:["maxItems","minItems"],type:"array",schemaType:"number",$data:!0,error:t,code(t){const{keyword:r,data:a,schemaCode:o}=t,n="maxItems"===r?e.operators.GT:e.operators.LT;t.fail$data(e._`${a}.length ${n} ${o}`)}};return vn.default=r,vn}(),s=wn(),c=function(){if(xn)return jn;xn=1,Object.defineProperty(jn,"__esModule",{value:!0});const e=Ha(),t=vo(),r={keyword:"const",$data:!0,error:{message:"should be equal to constant",params:({schemaCode:t})=>e._`{allowedValue: ${t}}`},code(r){const a=r.gen.scopeValue("func",{ref:t,code:e._`require("ajv/dist/compile/equal")`});r.fail$data(e._`!${a}(${r.data}, ${r.schemaCode})`)}};return jn.default=r,jn}(),u=Pn(),p=[e.default,t.default,r.default,a.default,o.default,n.default,i.default,s.default,{keyword:"type",schemaType:["string","array"]},{keyword:"nullable",schemaType:"boolean"},c.default,u.default];return en.default=p,en}var Tn,On={},An={};function In(){if(Tn)return An;Tn=1,Object.defineProperty(An,"__esModule",{value:!0});const e=Ha(),t=po(),r=Io(),a=Ao(),o={keyword:"additionalItems",type:"array",schemaType:["boolean","object"],before:"uniqueItems",error:{message:({params:{len:t}})=>e.str`should NOT have more than ${t} items`,params:({params:{len:t}})=>e._`{limit: ${t}}`},code(o){const{gen:n,schema:i,parentSchema:s,data:c,it:u}=o,{items:p}=s;if(!Array.isArray(p))return void a.checkStrictMode(u,'"additionalItems" is ignored when "items" is not an array of schemas');u.items=!0;const l=n.const("len",e._`${c}.length`);if(!1===i)o.setParams({len:p.length}),o.pass(e._`${l} <= ${p.length}`);else if("object"==typeof i&&!r.alwaysValidSchema(u,i)){const r=n.var("valid",e._`${l} <= ${p.length}`);n.if(e.not(r),(()=>function(r){n.forRange("i",p.length,l,(a=>{o.subschema({keyword:"additionalItems",dataProp:a,dataPropType:t.Type.Num},r),u.allErrors||n.if(e.not(r),(()=>n.break()))}))}(r))),o.ok(r)}}};return An.default=o,An}var Fn,Rn={};var Dn,Nn={};function zn(){if(Dn)return Nn;Dn=1,Object.defineProperty(Nn,"__esModule",{value:!0});const e=Ha(),t=po(),r=Io(),a=Ao(),o={keyword:"contains",type:"array",schemaType:["object","boolean"],before:"uniqueItems",trackErrors:!0,error:{message:({params:{min:t,max:r}})=>void 0===r?e.str`should contain at least ${t} valid item(s)`:e.str`should contain at least ${t} and no more than ${r} valid item(s)`,params:({params:{min:t,max:r}})=>void 0===r?e._`{minContains: ${t}}`:e._`{minContains: ${t}, maxContains: ${r}}`},code(o){const{gen:n,schema:i,parentSchema:s,data:c,it:u}=o;let p,l;const{minContains:d,maxContains:m}=s;u.opts.next?(p=void 0===d?1:d,l=m):p=1;const h=n.const("len",e._`${c}.length`);if(o.setParams({min:p,max:l}),void 0===l&&0===p)return void a.checkStrictMode(u,'"minContains" == 0 without "maxContains": "contains" keyword ignored');if(void 0!==l&&p>l)return a.checkStrictMode(u,'"minContains" > "maxContains" is always invalid'),void o.fail();if(r.alwaysValidSchema(u,i)){let t=e._`${h} >= ${p}`;return void 0!==l&&(t=e._`${t} && ${h} <= ${l}`),void o.pass(t)}u.items=!0;const f=n.name("valid");if(void 0===l&&1===p)g(f,(()=>n.if(f,(()=>n.break()))));else{n.let(f,!1);const t=n.name("_valid"),r=n.let("count",0);g(t,(()=>n.if(t,(()=>function(t){n.code(e._`${t}++`),void 0===l?n.if(e._`${t} >= ${p}`,(()=>n.assign(f,!0).break())):(n.if(e._`${t} > ${l}`,(()=>n.assign(f,!1).break())),1===p?n.assign(f,!0):n.if(e._`${t} >= ${p}`,(()=>n.assign(f,!0))))}(r)))))}function g(e,r){n.forRange("i",0,h,(a=>{o.subschema({keyword:"contains",dataProp:a,dataPropType:t.Type.Num,compositeRule:!0},e),r()}))}o.result(f,(()=>o.reset()))}};return Nn.default=o,Nn}var Bn,$n={};function Ln(){return Bn||(Bn=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.validateSchemaDeps=e.validatePropertyDeps=e.error=void 0;const t=Ha(),r=Io(),a=lo();e.error={message:({params:{property:e,depsCount:r,deps:a}})=>{const o=1===r?"property":"properties";return t.str`should have ${o} ${a} when property ${e} is present`},params:({params:{property:e,depsCount:r,deps:a,missingProperty:o}})=>t._`{property: ${e},
    missingProperty: ${o},
    depsCount: ${r},
    deps: ${a}}`};const o={keyword:"dependencies",type:"object",schemaType:"object",error:e.error,code(e){const[t,r]=function({schema:e}){const t={},r={};for(const a in e){if("__proto__"===a)continue;(Array.isArray(e[a])?t:r)[a]=e[a]}return[t,r]}(e);n(e,t),i(e,r)}};function n(e,r=e.schema){const{gen:o,data:n,it:i}=e;if(0===Object.keys(r).length)return;const s=o.let("missing");for(const c in r){const u=r[c];if(0===u.length)continue;const p=a.propertyInData(o,n,c,i.opts.ownProperties);e.setParams({property:c,depsCount:u.length,deps:u.join(", ")}),i.allErrors?o.if(p,(()=>{for(const t of u)a.checkReportMissingProp(e,t)})):(o.if(t._`${p} && (${a.checkMissingProp(e,u,s)})`),a.reportMissingProp(e,s),o.else())}}function i(e,t=e.schema){const{gen:o,data:n,keyword:i,it:s}=e,c=o.name("valid");for(const u in t)r.alwaysValidSchema(s,t[u])||(o.if(a.propertyInData(o,n,u,s.opts.ownProperties),(()=>{const t=e.subschema({keyword:i,schemaProp:u},c);e.mergeValidEvaluated(t,c)}),(()=>o.var(c,!0))),e.ok(c))}e.validatePropertyDeps=n,e.validateSchemaDeps=i,e.default=o}($n)),$n}var qn,Un={};var Mn,Hn={};function Kn(){if(Mn)return Hn;Mn=1,Object.defineProperty(Hn,"__esModule",{value:!0});const e=lo(),t=Ha(),r=Qa(),a=po(),o=Io(),n={keyword:"additionalProperties",type:["object"],schemaType:["boolean","object"],allowUndefined:!0,trackErrors:!0,error:{message:"should NOT have additional properties",params:({params:e})=>t._`{additionalProperty: ${e.additionalProperty}}`},code(n){const{gen:i,schema:s,parentSchema:c,data:u,errsCount:p,it:l}=n;if(!p)throw new Error("ajv implementation error");const{allErrors:d,opts:m}=l;if(l.props=!0,"all"!==m.removeAdditional&&o.alwaysValidSchema(l,s))return;const h=e.allSchemaProperties(c.properties),f=e.allSchemaProperties(c.patternProperties);function g(e){i.code(t._`delete ${u}[${e}]`)}function y(e){if("all"===m.removeAdditional||m.removeAdditional&&!1===s)g(e);else{if(!1===s)return n.setParams({additionalProperty:e}),n.error(),void(d||i.break());if("object"==typeof s&&!o.alwaysValidSchema(l,s)){const r=i.name("valid");"failing"===m.removeAdditional?(v(e,r,!1),i.if(t.not(r),(()=>{n.reset(),g(e)}))):(v(e,r),d||i.if(t.not(r),(()=>i.break())))}}}function v(e,t,r){const o={keyword:"additionalProperties",dataProp:e,dataPropType:a.Type.Str};!1===r&&Object.assign(o,{compositeRule:!0,createErrors:!1,allErrors:!1}),n.subschema(o,t)}i.forIn("key",u,(r=>{h.length||f.length?i.if(function(r){let a;if(h.length>8){const t=o.schemaRefOrVal(l,c.properties,"properties");a=e.isOwnProperty(i,t,r)}else a=h.length?t.or(...h.map((e=>t._`${r} === ${e}`))):t.nil;return f.length&&(a=t.or(a,...f.map((a=>t._`${e.usePattern(i,a)}.test(${r})`)))),t.not(a)}(r),(()=>y(r))):y(r)})),n.ok(t._`${p} === ${r.default.errors}`)}};return Hn.default=n,Hn}var Vn,Gn={};var Qn,Xn={};var Wn,Yn={};var Zn,Jn={};var ei,ti={};var ri,ai={};var oi,ni={};var ii,si,ci={};function ui(){if(si)return On;si=1,Object.defineProperty(On,"__esModule",{value:!0});const e=In(),t=function(){if(Fn)return Rn;Fn=1,Object.defineProperty(Rn,"__esModule",{value:!0});const e=Ha(),t=Io(),r=Ao(),a=lo(),o={keyword:"items",type:"array",schemaType:["object","array","boolean"],before:"uniqueItems",code(o){const{gen:n,schema:i,it:s}=o;if(Array.isArray(i))s.opts.unevaluated&&i.length&&!0!==s.items&&(s.items=t.mergeEvaluated.items(n,i.length,s.items)),function(a){const{parentSchema:i,data:c}=o;if(s.opts.strictTuples&&!function(e,t){return e===t.minItems&&(e===t.maxItems||!1===t.additionalItems)}(a.length,i)){const e=`"items" is ${a.length}-tuple, but minItems or maxItems/additionalItems are not specified or different`;r.checkStrictMode(s,e,s.opts.strictTuples)}const u=n.name("valid"),p=n.const("len",e._`${c}.length`);a.forEach(((r,a)=>{t.alwaysValidSchema(s,r)||(n.if(e._`${p} > ${a}`,(()=>o.subschema({keyword:"items",schemaProp:a,dataProp:a},u))),o.ok(u))}))}(i);else{if(s.items=!0,t.alwaysValidSchema(s,i))return;o.ok(a.validateArray(o))}}};return Rn.default=o,Rn}(),r=zn(),a=Ln(),o=function(){if(qn)return Un;qn=1,Object.defineProperty(Un,"__esModule",{value:!0});const e=Ha(),t=Io(),r={keyword:"propertyNames",type:"object",schemaType:["object","boolean"],error:{message:({params:t})=>e.str`property name '${t.propertyName}' is invalid`,params:({params:t})=>e._`{propertyName: ${t.propertyName}}`},code(r){const{gen:a,schema:o,data:n,it:i}=r;if(t.alwaysValidSchema(i,o))return;const s=a.name("valid");a.forIn("key",n,(t=>{r.setParams({propertyName:t}),r.subschema({keyword:"propertyNames",data:t,dataTypes:["string"],propertyName:t,compositeRule:!0},s),a.if(e.not(s),(()=>{r.error(!0),i.allErrors||a.break()}))})),r.ok(s)}};return Un.default=r,Un}(),n=Kn(),i=function(){if(Vn)return Gn;Vn=1,Object.defineProperty(Gn,"__esModule",{value:!0});const e=Ro(),t=lo(),r=Io(),a=Kn(),o={keyword:"properties",type:"object",schemaType:"object",code(o){const{gen:n,schema:i,parentSchema:s,data:c,it:u}=o;"all"===u.opts.removeAdditional&&void 0===s.additionalProperties&&a.default.code(new e.default(u,a.default,"additionalProperties"));const p=t.allSchemaProperties(i);for(const e of p)u.definedProperties.add(e);u.opts.unevaluated&&p.length&&!0!==u.props&&(u.props=r.mergeEvaluated.props(n,r.toHash(p),u.props));const l=p.filter((e=>!r.alwaysValidSchema(u,i[e])));if(0===l.length)return;const d=n.name("valid");for(const e of l)m(e)?h(e):(n.if(t.propertyInData(n,c,e,u.opts.ownProperties)),h(e),u.allErrors||n.else().var(d,!0),n.endIf()),o.it.definedProperties.add(e),o.ok(d);function m(e){return u.opts.useDefaults&&!u.compositeRule&&void 0!==i[e].default}function h(e){o.subschema({keyword:"properties",schemaProp:e,dataProp:e},d)}}};return Gn.default=o,Gn}(),s=function(){if(Qn)return Xn;Qn=1,Object.defineProperty(Xn,"__esModule",{value:!0});const e=lo(),t=Ha(),r=po(),a=Ao(),o=Io(),n={keyword:"patternProperties",type:"object",schemaType:"object",code(n){const{gen:i,schema:s,data:c,parentSchema:u,it:p}=n,{opts:l}=p,d=e.schemaProperties(p,s);if(0===d.length)return;const m=l.strict&&!l.allowMatchingProperties&&u.properties,h=i.name("valid");!0===p.props||p.props instanceof t.Name||(p.props=o.evaluatedPropsToName(i,p.props));const{props:f}=p;function g(e){for(const t in m)new RegExp(e).test(t)&&a.checkStrictMode(p,`property ${t} matches pattern ${e} (use allowMatchingProperties)`)}function y(a){i.forIn("key",c,(o=>{i.if(t._`${e.usePattern(i,a)}.test(${o})`,(()=>{n.subschema({keyword:"patternProperties",schemaProp:a,dataProp:o,dataPropType:r.Type.Str},h),p.opts.unevaluated&&!0!==f?i.assign(t._`${f}[${o}]`,!0):p.allErrors||i.if(t.not(h),(()=>i.break()))}))}))}!function(){for(const e of d)m&&g(e),p.allErrors?y(e):(i.var(h,!0),y(e),i.if(h))}()}};return Xn.default=n,Xn}(),c=function(){if(Wn)return Yn;Wn=1,Object.defineProperty(Yn,"__esModule",{value:!0});const e=Io(),t={keyword:"not",schemaType:["object","boolean"],trackErrors:!0,code(t){const{gen:r,schema:a,it:o}=t;if(e.alwaysValidSchema(o,a))return void t.fail();const n=r.name("valid");t.subschema({keyword:"not",compositeRule:!0,createErrors:!1,allErrors:!1},n),t.result(n,(()=>t.error()),(()=>t.reset()))},error:{message:"should NOT be valid"}};return Yn.default=t,Yn}(),u=function(){if(Zn)return Jn;Zn=1,Object.defineProperty(Jn,"__esModule",{value:!0});const e={keyword:"anyOf",schemaType:"array",trackErrors:!0,code:lo().validateUnion,error:{message:"should match some schema in anyOf"}};return Jn.default=e,Jn}(),p=function(){if(ei)return ti;ei=1,Object.defineProperty(ti,"__esModule",{value:!0});const e=Ha(),t=Io(),r={keyword:"oneOf",schemaType:"array",trackErrors:!0,error:{message:"should match exactly one schema in oneOf",params:({params:t})=>e._`{passingSchemas: ${t.passing}}`},code(r){const{gen:a,schema:o,it:n}=r;if(!Array.isArray(o))throw new Error("ajv implementation error");const i=o,s=a.let("valid",!1),c=a.let("passing",null),u=a.name("_valid");r.setParams({passing:c}),a.block((function(){i.forEach(((o,i)=>{let p;t.alwaysValidSchema(n,o)?a.var(u,!0):p=r.subschema({keyword:"oneOf",schemaProp:i,compositeRule:!0},u),i>0&&a.if(e._`${u} && ${s}`).assign(s,!1).assign(c,e._`[${c}, ${i}]`).else(),a.if(u,(()=>{a.assign(s,!0),a.assign(c,i),p&&r.mergeEvaluated(p,e.Name)}))}))})),r.result(s,(()=>r.reset()),(()=>r.error(!0)))}};return ti.default=r,ti}(),l=function(){if(ri)return ai;ri=1,Object.defineProperty(ai,"__esModule",{value:!0});const e=Io(),t={keyword:"allOf",schemaType:"array",code(t){const{gen:r,schema:a,it:o}=t;if(!Array.isArray(a))throw new Error("ajv implementation error");const n=r.name("valid");a.forEach(((r,a)=>{if(e.alwaysValidSchema(o,r))return;const i=t.subschema({keyword:"allOf",schemaProp:a},n);t.ok(n),t.mergeEvaluated(i)}))}};return ai.default=t,ai}(),d=function(){if(oi)return ni;oi=1,Object.defineProperty(ni,"__esModule",{value:!0});const e=Ha(),t=Io(),r=Ao(),a={keyword:"if",schemaType:["object","boolean"],trackErrors:!0,error:{message:({params:t})=>e.str`should match "${t.ifClause}" schema`,params:({params:t})=>e._`{failingKeyword: ${t.ifClause}}`},code(t){const{gen:a,parentSchema:n,it:i}=t;void 0===n.then&&void 0===n.else&&r.checkStrictMode(i,'"if" without "then" and "else" is ignored');const s=o(i,"then"),c=o(i,"else");if(!s&&!c)return;const u=a.let("valid",!0),p=a.name("_valid");if(function(){const e=t.subschema({keyword:"if",compositeRule:!0,createErrors:!1,allErrors:!1},p);t.mergeEvaluated(e)}(),t.reset(),s&&c){const e=a.let("ifClause");t.setParams({ifClause:e}),a.if(p,l("then",e),l("else",e))}else s?a.if(p,l("then")):a.if(e.not(p),l("else"));function l(r,o){return()=>{const n=t.subschema({keyword:r},p);a.assign(u,p),t.mergeValidEvaluated(n,u),o?a.assign(o,e._`${r}`):t.setParams({ifClause:r})}}t.pass(u,(()=>t.error(!0)))}};function o(e,r){const a=e.schema[r];return void 0!==a&&!t.alwaysValidSchema(e,a)}return ni.default=a,ni}(),m=function(){if(ii)return ci;ii=1,Object.defineProperty(ci,"__esModule",{value:!0});const e=Ao(),t={keyword:["then","else"],schemaType:["object","boolean"],code({keyword:t,parentSchema:r,it:a}){void 0===r.if&&e.checkStrictMode(a,`"${t}" without "if" is ignored`)}};return ci.default=t,ci}(),h=[c.default,u.default,p.default,l.default,d.default,m.default,e.default,t.default,r.default,o.default,n.default,a.default,i.default,s.default];return On.default=h,On}var pi,li,di={},mi={};function hi(){if(li)return di;li=1,Object.defineProperty(di,"__esModule",{value:!0});const e=function(){if(pi)return mi;pi=1,Object.defineProperty(mi,"__esModule",{value:!0});const e=Ha(),t={keyword:"format",type:["number","string"],schemaType:"string",$data:!0,error:{message:({schemaCode:t})=>e.str`should match format "${t}"`,params:({schemaCode:t})=>e._`{format: ${t}}`},code(t,r){const{gen:a,data:o,$data:n,schema:i,schemaCode:s,it:c}=t,{opts:u,errSchemaPath:p,schemaEnv:l,self:d}=c;u.validateFormats&&(n?function(){const n=a.scopeValue("formats",{ref:d.formats,code:u.code.formats}),i=a.const("fDef",e._`${n}[${s}]`),c=a.let("fType"),p=a.let("format");a.if(e._`typeof ${i} == "object" && !(${i} instanceof RegExp)`,(()=>a.assign(c,e._`${i}.type || "string"`).assign(p,e._`${i}.validate`)),(()=>a.assign(c,e._`"string"`).assign(p,i))),t.fail$data(e.or(!1===u.strict?e.nil:e._`${s} && !${p}`,function(){const t=l.$async?e._`(${i}.async ? await ${p}(${o}) : ${p}(${o}))`:e._`${p}(${o})`,a=e._`(typeof ${p} == "function" ? ${t} : ${p}.test(${o}))`;return e._`${p} && ${p} !== true && ${c} === ${r} && !${a}`}()))}():function(){const n=d.formats[i];if(!n)return void function(){if(!1!==u.strict)throw new Error(e());function e(){return`unknown format "${i}" ignored in schema at path "${p}"`}d.logger.warn(e())}();if(!0===n)return;const[s,c,m]=function(t){const r=a.scopeValue("formats",{key:i,ref:t,code:u.code.formats?e._`${u.code.formats}${e.getProperty(i)}`:void 0});return"object"!=typeof t||t instanceof RegExp?["string",t,r]:[t.type||"string",t.validate,e._`${r}.validate`]}(n);s===r&&t.pass(function(){if("object"==typeof n&&!(n instanceof RegExp)&&n.async){if(!l.$async)throw new Error("async format in sync schema");return e._`await ${m}(${o})`}return"function"==typeof c?e._`${m}(${o})`:e._`${m}.test(${o})`}())}())}};return mi.default=t,mi}(),t=[e.default];return di.default=t,di}var fi,gi,yi={};function vi(){if(gi)return Vo;gi=1,Object.defineProperty(Vo,"__esModule",{value:!0});const e=Zo(),t=Cn(),r=ui(),a=hi(),o=(fi||(fi=1,Object.defineProperty(yi,"__esModule",{value:!0}),yi.contentVocabulary=yi.metadataVocabulary=void 0,yi.metadataVocabulary=["title","description","default","deprecated","readOnly","writeOnly","examples"],yi.contentVocabulary=["contentMediaType","contentEncoding","contentSchema"]),yi),n=[e.default,t.default,r.default,a.default,o.metadataVocabulary,o.contentVocabulary];return Vo.default=n,Vo}var bi,ki={$schema:"http://json-schema.org/draft-07/schema#",$id:"http://json-schema.org/draft-07/schema#",title:"Core schema meta-schema",definitions:{schemaArray:{type:"array",minItems:1,items:{$ref:"#"}},nonNegativeInteger:{type:"integer",minimum:0},nonNegativeIntegerDefault0:{allOf:[{$ref:"#/definitions/nonNegativeInteger"},{default:0}]},simpleTypes:{enum:["array","boolean","integer","null","number","object","string"]},stringArray:{type:"array",items:{type:"string"},uniqueItems:!0,default:[]}},type:["object","boolean"],properties:{$id:{type:"string",format:"uri-reference"},$schema:{type:"string",format:"uri"},$ref:{type:"string",format:"uri-reference"},$comment:{type:"string"},title:{type:"string"},description:{type:"string"},default:!0,readOnly:{type:"boolean",default:!1},examples:{type:"array",items:!0},multipleOf:{type:"number",exclusiveMinimum:0},maximum:{type:"number"},exclusiveMaximum:{type:"number"},minimum:{type:"number"},exclusiveMinimum:{type:"number"},maxLength:{$ref:"#/definitions/nonNegativeInteger"},minLength:{$ref:"#/definitions/nonNegativeIntegerDefault0"},pattern:{type:"string",format:"regex"},additionalItems:{$ref:"#"},items:{anyOf:[{$ref:"#"},{$ref:"#/definitions/schemaArray"}],default:!0},maxItems:{$ref:"#/definitions/nonNegativeInteger"},minItems:{$ref:"#/definitions/nonNegativeIntegerDefault0"},uniqueItems:{type:"boolean",default:!1},contains:{$ref:"#"},maxProperties:{$ref:"#/definitions/nonNegativeInteger"},minProperties:{$ref:"#/definitions/nonNegativeIntegerDefault0"},required:{$ref:"#/definitions/stringArray"},additionalProperties:{$ref:"#"},definitions:{type:"object",additionalProperties:{$ref:"#"},default:{}},properties:{type:"object",additionalProperties:{$ref:"#"},default:{}},patternProperties:{type:"object",additionalProperties:{$ref:"#"},propertyNames:{format:"regex"},default:{}},dependencies:{type:"object",additionalProperties:{anyOf:[{$ref:"#"},{$ref:"#/definitions/stringArray"}]}},propertyNames:{$ref:"#"},const:!0,enum:{type:"array",items:!0,minItems:1,uniqueItems:!0},type:{anyOf:[{$ref:"#/definitions/simpleTypes"},{type:"array",items:{$ref:"#/definitions/simpleTypes"},minItems:1,uniqueItems:!0}]},format:{type:"string"},contentMediaType:{type:"string"},contentEncoding:{type:"string"},if:{$ref:"#"},then:{$ref:"#"},else:{$ref:"#"},allOf:{$ref:"#/definitions/schemaArray"},anyOf:{$ref:"#/definitions/schemaArray"},oneOf:{$ref:"#/definitions/schemaArray"},not:{$ref:"#"}},default:!0};var wi,xi={exports:{}},ji={};var Ei,Si,_i,Pi,Ci,Ti,Oi={};function Ai(){return Si||(Si=1,function(e,t){Object.defineProperty(t,"__esModule",{value:!0});const r=(wi||(wi=1,function(e){function t(e,t){return{validate:e,compare:t}}Object.defineProperty(e,"__esModule",{value:!0}),e.formatNames=e.fastFormats=e.fullFormats=void 0,e.fullFormats={date:t(o,n),time:t(s,c),"date-time":t((function(e){const t=e.split(u);return 2===t.length&&o(t[0])&&s(t[1],!0)}),p),duration:/^P(?!$)((\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+S)?)?|(\d+W)?)$/,uri:function(e){return l.test(e)&&d.test(e)},"uri-reference":/^(?:[a-z][a-z0-9+\-.]*:)?(?:\/?\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:]|%[0-9a-f]{2})*@)?(?:\[(?:(?:(?:(?:[0-9a-f]{1,4}:){6}|::(?:[0-9a-f]{1,4}:){5}|(?:[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){4}|(?:(?:[0-9a-f]{1,4}:){0,1}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){3}|(?:(?:[0-9a-f]{1,4}:){0,2}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){2}|(?:(?:[0-9a-f]{1,4}:){0,3}[0-9a-f]{1,4})?::[0-9a-f]{1,4}:|(?:(?:[0-9a-f]{1,4}:){0,4}[0-9a-f]{1,4})?::)(?:[0-9a-f]{1,4}:[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?))|(?:(?:[0-9a-f]{1,4}:){0,5}[0-9a-f]{1,4})?::[0-9a-f]{1,4}|(?:(?:[0-9a-f]{1,4}:){0,6}[0-9a-f]{1,4})?::)|[Vv][0-9a-f]+\.[a-z0-9\-._~!$&'()*+,;=:]+)\]|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)|(?:[a-z0-9\-._~!$&'"()*+,;=]|%[0-9a-f]{2})*)(?::\d*)?(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*|\/(?:(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*)?|(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*)?(?:\?(?:[a-z0-9\-._~!$&'"()*+,;=:@/?]|%[0-9a-f]{2})*)?(?:#(?:[a-z0-9\-._~!$&'"()*+,;=:@/?]|%[0-9a-f]{2})*)?$/i,"uri-template":/^(?:(?:[^\x00-\x20"'<>%\\^`{|}]|%[0-9a-f]{2})|\{[+#./;?&=,!@|]?(?:[a-z0-9_]|%[0-9a-f]{2})+(?::[1-9][0-9]{0,3}|\*)?(?:,(?:[a-z0-9_]|%[0-9a-f]{2})+(?::[1-9][0-9]{0,3}|\*)?)*\})*$/i,url:/^(?:https?|ftp):\/\/(?:\S+(?::\S*)?@)?(?:(?!(?:10|127)(?:\.\d{1,3}){3})(?!(?:169\.254|192\.168)(?:\.\d{1,3}){2})(?!172\.(?:1[6-9]|2\d|3[0-1])(?:\.\d{1,3}){2})(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))|(?:(?:[a-z0-9\u{00a1}-\u{ffff}]+-)*[a-z0-9\u{00a1}-\u{ffff}]+)(?:\.(?:[a-z0-9\u{00a1}-\u{ffff}]+-)*[a-z0-9\u{00a1}-\u{ffff}]+)*(?:\.(?:[a-z\u{00a1}-\u{ffff}]{2,})))(?::\d{2,5})?(?:\/[^\s]*)?$/iu,email:/^[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$/i,hostname:/^(?=.{1,253}\.?$)[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\.[a-z0-9](?:[-0-9a-z]{0,61}[0-9a-z])?)*\.?$/i,ipv4:/^(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)$/,ipv6:/^((([0-9a-f]{1,4}:){7}([0-9a-f]{1,4}|:))|(([0-9a-f]{1,4}:){6}(:[0-9a-f]{1,4}|((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9a-f]{1,4}:){5}(((:[0-9a-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9a-f]{1,4}:){4}(((:[0-9a-f]{1,4}){1,3})|((:[0-9a-f]{1,4})?:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9a-f]{1,4}:){3}(((:[0-9a-f]{1,4}){1,4})|((:[0-9a-f]{1,4}){0,2}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9a-f]{1,4}:){2}(((:[0-9a-f]{1,4}){1,5})|((:[0-9a-f]{1,4}){0,3}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9a-f]{1,4}:){1}(((:[0-9a-f]{1,4}){1,6})|((:[0-9a-f]{1,4}){0,4}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(:(((:[0-9a-f]{1,4}){1,7})|((:[0-9a-f]{1,4}){0,5}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))$/i,regex:function(e){if(m.test(e))return!1;try{return new RegExp(e),!0}catch(e){return!1}},uuid:/^(?:urn:uuid:)?[0-9a-f]{8}-(?:[0-9a-f]{4}-){3}[0-9a-f]{12}$/i,"json-pointer":/^(?:\/(?:[^~/]|~0|~1)*)*$/,"json-pointer-uri-fragment":/^#(?:\/(?:[a-z0-9_\-.!$&'()*+,;:=@]|%[0-9a-f]{2}|~0|~1)*)*$/i,"relative-json-pointer":/^(?:0|[1-9][0-9]*)(?:#|(?:\/(?:[^~/]|~0|~1)*)*)$/},e.fastFormats={...e.fullFormats,date:t(/^\d\d\d\d-[0-1]\d-[0-3]\d$/,n),time:t(/^(?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)?$/i,c),"date-time":t(/^\d\d\d\d-[0-1]\d-[0-3]\d[t\s](?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)$/i,p),uri:/^(?:[a-z][a-z0-9+\-.]*:)(?:\/?\/)?[^\s]*$/i,"uri-reference":/^(?:(?:[a-z][a-z0-9+\-.]*:)?\/?\/)?(?:[^\\\s#][^\s#]*)?(?:#[^\\\s]*)?$/i,email:/^[a-z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\.[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?)*$/i},e.formatNames=Object.keys(e.fullFormats);const r=/^(\d\d\d\d)-(\d\d)-(\d\d)$/,a=[0,31,28,31,30,31,30,31,31,30,31,30,31];function o(e){const t=r.exec(e);if(!t)return!1;const o=+t[1],n=+t[2],i=+t[3];return n>=1&&n<=12&&i>=1&&i<=(2===n&&function(e){return e%4==0&&(e%100!=0||e%400==0)}(o)?29:a[n])}function n(e,t){if(e&&t)return e>t?1:e<t?-1:0}const i=/^(\d\d):(\d\d):(\d\d)(\.\d+)?(z|[+-]\d\d(?::?\d\d)?)?$/i;function s(e,t){const r=i.exec(e);if(!r)return!1;const a=+r[1],o=+r[2],n=+r[3],s=r[5];return(a<=23&&o<=59&&n<=59||23===a&&59===o&&60===n)&&(!t||""!==s)}function c(e,t){if(!e||!t)return;const r=i.exec(e),a=i.exec(t);return r&&a?(e=r[1]+r[2]+r[3]+(r[4]||""))>(t=a[1]+a[2]+a[3]+(a[4]||""))?1:e<t?-1:0:void 0}const u=/t|\s/i;function p(e,t){if(!e||!t)return;const[r,a]=e.split(u),[o,i]=t.split(u),s=n(r,o);return void 0!==s?s||c(a,i):void 0}const l=/\/|:/,d=/^(?:[a-z][a-z0-9+\-.]*:)(?:\/?\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:]|%[0-9a-f]{2})*@)?(?:\[(?:(?:(?:(?:[0-9a-f]{1,4}:){6}|::(?:[0-9a-f]{1,4}:){5}|(?:[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){4}|(?:(?:[0-9a-f]{1,4}:){0,1}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){3}|(?:(?:[0-9a-f]{1,4}:){0,2}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){2}|(?:(?:[0-9a-f]{1,4}:){0,3}[0-9a-f]{1,4})?::[0-9a-f]{1,4}:|(?:(?:[0-9a-f]{1,4}:){0,4}[0-9a-f]{1,4})?::)(?:[0-9a-f]{1,4}:[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?))|(?:(?:[0-9a-f]{1,4}:){0,5}[0-9a-f]{1,4})?::[0-9a-f]{1,4}|(?:(?:[0-9a-f]{1,4}:){0,6}[0-9a-f]{1,4})?::)|[Vv][0-9a-f]+\.[a-z0-9\-._~!$&'()*+,;=:]+)\]|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)|(?:[a-z0-9\-._~!$&'()*+,;=]|%[0-9a-f]{2})*)(?::\d*)?(?:\/(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*|\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*)?|(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*)(?:\?(?:[a-z0-9\-._~!$&'()*+,;=:@/?]|%[0-9a-f]{2})*)?(?:#(?:[a-z0-9\-._~!$&'()*+,;=:@/?]|%[0-9a-f]{2})*)?$/i,m=/[^\\]\\Z/}(ji)),ji),a=(Ei||(Ei=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.formatLimitDefinition=void 0;const t=Ro(),r=Ha(),a=r.operators,o={formatMaximum:{okStr:"<=",ok:a.LTE,fail:a.GT},formatMinimum:{okStr:">=",ok:a.GTE,fail:a.LT},formatExclusiveMaximum:{okStr:"<",ok:a.LT,fail:a.GTE},formatExclusiveMinimum:{okStr:">",ok:a.GT,fail:a.LTE}},n={message:({keyword:e,schemaCode:t})=>r.str`should be ${o[e].okStr} ${t}`,params:({keyword:e,schemaCode:t})=>r._`{comparison: ${o[e].okStr}, limit: ${t}}`};e.formatLimitDefinition={keyword:Object.keys(o),type:"string",schemaType:"string",$data:!0,error:n,code(e){const{gen:a,data:n,schemaCode:i,keyword:s,it:c}=e,{opts:u,self:p}=c;if(!u.validateFormats)return;const l=new t.default(c,p.RULES.all.format.definition,"format");function d(e){return r._`${e}.compare(${n}, ${i}) ${o[s].fail} 0`}l.$data?function(){const t=a.scopeValue("formats",{ref:p.formats,code:u.code.formats}),o=a.const("fmt",r._`${t}[${l.schemaCode}]`);e.fail$data(r.or(r._`typeof ${o} != "object"`,r._`${o} instanceof RegExp`,r._`typeof ${o}.compare != "function"`,d(o)))}():function(){const t=l.schema,o=p.formats[t];if(!o||!0===o)return;if("object"!=typeof o||o instanceof RegExp||"function"!=typeof o.compare)throw new Error(`"${s}": format "${t}" does not define "compare" function`);const n=a.scopeValue("formats",{key:t,ref:o,code:u.code.formats?r._`${u.code.formats}${r.getProperty(t)}`:void 0});e.fail$data(d(n))}()},dependencies:["format"]},e.default=t=>(t.addKeyword(e.formatLimitDefinition),t)}(Oi)),Oi),o=Ha(),n=new o.Name("fullFormats"),i=new o.Name("fastFormats"),s=(e,t={keywords:!0})=>{if(Array.isArray(t))return c(e,t,r.fullFormats,n),e;const[o,s]="fast"===t.mode?[r.fastFormats,i]:[r.fullFormats,n];return c(e,t.formats||r.formatNames,o,s),t.keywords&&a.default(e),e};function c(e,t,r,a){var n,i;null!==(n=(i=e.opts.code).formats)&&void 0!==n||(i.formats=o._`require("ajv-formats/dist/formats").${a}`);for(const a of t)e.addFormat(a,r[a])}s.get=(e,t="full")=>{const a=("fast"===t?r.fastFormats:r.fullFormats)[e];if(!a)throw new Error(`Unknown format "${e}"`);return a},t.default=s,e.exports=s,e.exports.default=s}(xi,xi.exports)),xi.exports}function Ii(){if(Pi)return _i;Pi=1;const e=(e,r,a,o)=>{if("length"===a||"prototype"===a)return;if("arguments"===a||"caller"===a)return;const n=Object.getOwnPropertyDescriptor(e,a),i=Object.getOwnPropertyDescriptor(r,a);!t(n,i)&&o||Object.defineProperty(e,a,i)},t=function(e,t){return void 0===e||e.configurable||e.writable===t.writable&&e.enumerable===t.enumerable&&e.configurable===t.configurable&&(e.writable||e.value===t.value)},r=(e,t)=>`/* Wrapped ${e}*/\n${t}`,a=Object.getOwnPropertyDescriptor(Function.prototype,"toString"),o=Object.getOwnPropertyDescriptor(Function.prototype.toString,"name");return _i=(t,n,{ignoreNonConfigurable:i=!1}={})=>{const{name:s}=t;for(const r of Reflect.ownKeys(n))e(t,n,r,i);return((e,t)=>{const r=Object.getPrototypeOf(t);r!==Object.getPrototypeOf(e)&&Object.setPrototypeOf(e,r)})(t,n),((e,t,n)=>{const i=""===n?"":`with ${n.trim()}() `,s=r.bind(null,i,t.toString());Object.defineProperty(s,"name",o),Object.defineProperty(e,"toString",{...a,value:s})})(t,n,s),t},_i}function Fi(){if(Ti)return Ci;Ti=1;const e=Ii();return Ci=(t,r={})=>{if("function"!=typeof t)throw new TypeError(`Expected the first argument to be a function, got \`${typeof t}\``);const{wait:a=0,before:o=!1,after:n=!0}=r;if(!o&&!n)throw new Error("Both `before` and `after` are false, function wouldn't be called.");let i,s;const c=function(...e){const r=this,c=o&&!i;return clearTimeout(i),i=setTimeout((()=>{i=void 0,n&&(s=t.apply(r,e))}),a),c&&(s=t.apply(r,e)),s};return e(c,t),c.cancel=()=>{i&&(clearTimeout(i),i=void 0)},c},Ci}var Ri,Di,Ni,zi,Bi,$i,Li,qi,Ui,Mi,Hi,Ki,Vi,Gi,Qi,Xi,Wi,Yi,Zi,Ji,es,ts,rs,as,os,ns,is,ss,cs,us,ps,ls,ds,ms,hs,fs,gs,ys,vs,bs,ks,ws,xs,js,Es,Ss,_s,Ps,Cs,Ts,Os,As,Is,Fs,Rs,Ds,Ns,zs,Bs,$s,Ls,qs,Us,Ms,Hs,Ks,Vs,Gs,Qs,Xs,Ws,Ys,Zs,Js,ec,tc,rc,ac,oc,nc,ic,sc,cc,uc,pc,lc,dc,mc,hc,fc,gc,yc,vc,bc={exports:{}};function kc(){if(Di)return Ri;Di=1;const e=Number.MAX_SAFE_INTEGER||9007199254740991;return Ri={SEMVER_SPEC_VERSION:"2.0.0",MAX_LENGTH:256,MAX_SAFE_INTEGER:e,MAX_SAFE_COMPONENT_LENGTH:16}}function wc(){if(zi)return Ni;zi=1;const e="object"==typeof process&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...e)=>console.error("SEMVER",...e):()=>{};return Ni=e}function xc(){return Bi||(Bi=1,function(e,t){const{MAX_SAFE_COMPONENT_LENGTH:r}=kc(),a=wc(),o=(t=e.exports={}).re=[],n=t.src=[],i=t.t={};let s=0;const c=(e,t,r)=>{const c=s++;a(e,c,t),i[e]=c,n[c]=t,o[c]=new RegExp(t,r?"g":void 0)};c("NUMERICIDENTIFIER","0|[1-9]\\d*"),c("NUMERICIDENTIFIERLOOSE","[0-9]+"),c("NONNUMERICIDENTIFIER","\\d*[a-zA-Z-][a-zA-Z0-9-]*"),c("MAINVERSION",`(${n[i.NUMERICIDENTIFIER]})\\.(${n[i.NUMERICIDENTIFIER]})\\.(${n[i.NUMERICIDENTIFIER]})`),c("MAINVERSIONLOOSE",`(${n[i.NUMERICIDENTIFIERLOOSE]})\\.(${n[i.NUMERICIDENTIFIERLOOSE]})\\.(${n[i.NUMERICIDENTIFIERLOOSE]})`),c("PRERELEASEIDENTIFIER",`(?:${n[i.NUMERICIDENTIFIER]}|${n[i.NONNUMERICIDENTIFIER]})`),c("PRERELEASEIDENTIFIERLOOSE",`(?:${n[i.NUMERICIDENTIFIERLOOSE]}|${n[i.NONNUMERICIDENTIFIER]})`),c("PRERELEASE",`(?:-(${n[i.PRERELEASEIDENTIFIER]}(?:\\.${n[i.PRERELEASEIDENTIFIER]})*))`),c("PRERELEASELOOSE",`(?:-?(${n[i.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${n[i.PRERELEASEIDENTIFIERLOOSE]})*))`),c("BUILDIDENTIFIER","[0-9A-Za-z-]+"),c("BUILD",`(?:\\+(${n[i.BUILDIDENTIFIER]}(?:\\.${n[i.BUILDIDENTIFIER]})*))`),c("FULLPLAIN",`v?${n[i.MAINVERSION]}${n[i.PRERELEASE]}?${n[i.BUILD]}?`),c("FULL",`^${n[i.FULLPLAIN]}$`),c("LOOSEPLAIN",`[v=\\s]*${n[i.MAINVERSIONLOOSE]}${n[i.PRERELEASELOOSE]}?${n[i.BUILD]}?`),c("LOOSE",`^${n[i.LOOSEPLAIN]}$`),c("GTLT","((?:<|>)?=?)"),c("XRANGEIDENTIFIERLOOSE",`${n[i.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),c("XRANGEIDENTIFIER",`${n[i.NUMERICIDENTIFIER]}|x|X|\\*`),c("XRANGEPLAIN",`[v=\\s]*(${n[i.XRANGEIDENTIFIER]})(?:\\.(${n[i.XRANGEIDENTIFIER]})(?:\\.(${n[i.XRANGEIDENTIFIER]})(?:${n[i.PRERELEASE]})?${n[i.BUILD]}?)?)?`),c("XRANGEPLAINLOOSE",`[v=\\s]*(${n[i.XRANGEIDENTIFIERLOOSE]})(?:\\.(${n[i.XRANGEIDENTIFIERLOOSE]})(?:\\.(${n[i.XRANGEIDENTIFIERLOOSE]})(?:${n[i.PRERELEASELOOSE]})?${n[i.BUILD]}?)?)?`),c("XRANGE",`^${n[i.GTLT]}\\s*${n[i.XRANGEPLAIN]}$`),c("XRANGELOOSE",`^${n[i.GTLT]}\\s*${n[i.XRANGEPLAINLOOSE]}$`),c("COERCE",`(^|[^\\d])(\\d{1,${r}})(?:\\.(\\d{1,${r}}))?(?:\\.(\\d{1,${r}}))?(?:$|[^\\d])`),c("COERCERTL",n[i.COERCE],!0),c("LONETILDE","(?:~>?)"),c("TILDETRIM",`(\\s*)${n[i.LONETILDE]}\\s+`,!0),t.tildeTrimReplace="$1~",c("TILDE",`^${n[i.LONETILDE]}${n[i.XRANGEPLAIN]}$`),c("TILDELOOSE",`^${n[i.LONETILDE]}${n[i.XRANGEPLAINLOOSE]}$`),c("LONECARET","(?:\\^)"),c("CARETTRIM",`(\\s*)${n[i.LONECARET]}\\s+`,!0),t.caretTrimReplace="$1^",c("CARET",`^${n[i.LONECARET]}${n[i.XRANGEPLAIN]}$`),c("CARETLOOSE",`^${n[i.LONECARET]}${n[i.XRANGEPLAINLOOSE]}$`),c("COMPARATORLOOSE",`^${n[i.GTLT]}\\s*(${n[i.LOOSEPLAIN]})$|^$`),c("COMPARATOR",`^${n[i.GTLT]}\\s*(${n[i.FULLPLAIN]})$|^$`),c("COMPARATORTRIM",`(\\s*)${n[i.GTLT]}\\s*(${n[i.LOOSEPLAIN]}|${n[i.XRANGEPLAIN]})`,!0),t.comparatorTrimReplace="$1$2$3",c("HYPHENRANGE",`^\\s*(${n[i.XRANGEPLAIN]})\\s+-\\s+(${n[i.XRANGEPLAIN]})\\s*$`),c("HYPHENRANGELOOSE",`^\\s*(${n[i.XRANGEPLAINLOOSE]})\\s+-\\s+(${n[i.XRANGEPLAINLOOSE]})\\s*$`),c("STAR","(<|>)?=?\\s*\\*"),c("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),c("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")}(bc,bc.exports)),bc.exports}function jc(){if(Li)return $i;Li=1;const e=["includePrerelease","loose","rtl"];return $i=t=>t?"object"!=typeof t?{loose:!0}:e.filter((e=>t[e])).reduce(((e,t)=>(e[t]=!0,e)),{}):{}}function Ec(){if(Ui)return qi;Ui=1;const e=/^[0-9]+$/,t=(t,r)=>{const a=e.test(t),o=e.test(r);return a&&o&&(t=+t,r=+r),t===r?0:a&&!o?-1:o&&!a?1:t<r?-1:1};return qi={compareIdentifiers:t,rcompareIdentifiers:(e,r)=>t(r,e)}}function Sc(){if(Hi)return Mi;Hi=1;const e=wc(),{MAX_LENGTH:t,MAX_SAFE_INTEGER:r}=kc(),{re:a,t:o}=xc(),n=jc(),{compareIdentifiers:i}=Ec();class s{constructor(i,c){if(c=n(c),i instanceof s){if(i.loose===!!c.loose&&i.includePrerelease===!!c.includePrerelease)return i;i=i.version}else if("string"!=typeof i)throw new TypeError(`Invalid Version: ${i}`);if(i.length>t)throw new TypeError(`version is longer than ${t} characters`);e("SemVer",i,c),this.options=c,this.loose=!!c.loose,this.includePrerelease=!!c.includePrerelease;const u=i.trim().match(c.loose?a[o.LOOSE]:a[o.FULL]);if(!u)throw new TypeError(`Invalid Version: ${i}`);if(this.raw=i,this.major=+u[1],this.minor=+u[2],this.patch=+u[3],this.major>r||this.major<0)throw new TypeError("Invalid major version");if(this.minor>r||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>r||this.patch<0)throw new TypeError("Invalid patch version");u[4]?this.prerelease=u[4].split(".").map((e=>{if(/^[0-9]+$/.test(e)){const t=+e;if(t>=0&&t<r)return t}return e})):this.prerelease=[],this.build=u[5]?u[5].split("."):[],this.format()}format(){return this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length&&(this.version+=`-${this.prerelease.join(".")}`),this.version}toString(){return this.version}compare(t){if(e("SemVer.compare",this.version,this.options,t),!(t instanceof s)){if("string"==typeof t&&t===this.version)return 0;t=new s(t,this.options)}return t.version===this.version?0:this.compareMain(t)||this.comparePre(t)}compareMain(e){return e instanceof s||(e=new s(e,this.options)),i(this.major,e.major)||i(this.minor,e.minor)||i(this.patch,e.patch)}comparePre(t){if(t instanceof s||(t=new s(t,this.options)),this.prerelease.length&&!t.prerelease.length)return-1;if(!this.prerelease.length&&t.prerelease.length)return 1;if(!this.prerelease.length&&!t.prerelease.length)return 0;let r=0;do{const a=this.prerelease[r],o=t.prerelease[r];if(e("prerelease compare",r,a,o),void 0===a&&void 0===o)return 0;if(void 0===o)return 1;if(void 0===a)return-1;if(a!==o)return i(a,o)}while(++r)}compareBuild(t){t instanceof s||(t=new s(t,this.options));let r=0;do{const a=this.build[r],o=t.build[r];if(e("prerelease compare",r,a,o),void 0===a&&void 0===o)return 0;if(void 0===o)return 1;if(void 0===a)return-1;if(a!==o)return i(a,o)}while(++r)}inc(e,t){switch(e){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",t);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",t);break;case"prepatch":this.prerelease.length=0,this.inc("patch",t),this.inc("pre",t);break;case"prerelease":0===this.prerelease.length&&this.inc("patch",t),this.inc("pre",t);break;case"major":0===this.minor&&0===this.patch&&0!==this.prerelease.length||this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":0===this.patch&&0!==this.prerelease.length||this.minor++,this.patch=0,this.prerelease=[];break;case"patch":0===this.prerelease.length&&this.patch++,this.prerelease=[];break;case"pre":if(0===this.prerelease.length)this.prerelease=[0];else{let e=this.prerelease.length;for(;--e>=0;)"number"==typeof this.prerelease[e]&&(this.prerelease[e]++,e=-2);-1===e&&this.prerelease.push(0)}t&&(0===i(this.prerelease[0],t)?isNaN(this.prerelease[1])&&(this.prerelease=[t,0]):this.prerelease=[t,0]);break;default:throw new Error(`invalid increment argument: ${e}`)}return this.format(),this.raw=this.version,this}}return Mi=s}function _c(){if(Vi)return Ki;Vi=1;const{MAX_LENGTH:e}=kc(),{re:t,t:r}=xc(),a=Sc(),o=jc();return Ki=(n,i)=>{if(i=o(i),n instanceof a)return n;if("string"!=typeof n)return null;if(n.length>e)return null;if(!(i.loose?t[r.LOOSE]:t[r.FULL]).test(n))return null;try{return new a(n,i)}catch(e){return null}},Ki}function Pc(){if(es)return Ji;es=1;const e=Sc();return Ji=(t,r,a)=>new e(t,a).compare(new e(r,a))}function Cc(){if(rs)return ts;rs=1;const e=Pc();return ts=(t,r,a)=>0===e(t,r,a)}function Tc(){if(vs)return ys;vs=1;const e=Sc();return ys=(t,r,a)=>{const o=new e(t,a),n=new e(r,a);return o.compare(n)||o.compareBuild(n)}}function Oc(){if(Es)return js;Es=1;const e=Pc();return js=(t,r,a)=>e(t,r,a)>0}function Ac(){if(_s)return Ss;_s=1;const e=Pc();return Ss=(t,r,a)=>e(t,r,a)<0}function Ic(){if(Cs)return Ps;Cs=1;const e=Pc();return Ps=(t,r,a)=>0!==e(t,r,a)}function Fc(){if(Os)return Ts;Os=1;const e=Pc();return Ts=(t,r,a)=>e(t,r,a)>=0}function Rc(){if(Is)return As;Is=1;const e=Pc();return As=(t,r,a)=>e(t,r,a)<=0}function Dc(){if(Rs)return Fs;Rs=1;const e=Cc(),t=Ic(),r=Oc(),a=Fc(),o=Ac(),n=Rc();return Fs=(i,s,c,u)=>{switch(s){case"===":return"object"==typeof i&&(i=i.version),"object"==typeof c&&(c=c.version),i===c;case"!==":return"object"==typeof i&&(i=i.version),"object"==typeof c&&(c=c.version),i!==c;case"":case"=":case"==":return e(i,c,u);case"!=":return t(i,c,u);case">":return r(i,c,u);case">=":return a(i,c,u);case"<":return o(i,c,u);case"<=":return n(i,c,u);default:throw new TypeError(`Invalid operator: ${s}`)}}}function Nc(){if(Ls)return $s;function e(t){var r=this;if(r instanceof e||(r=new e),r.tail=null,r.head=null,r.length=0,t&&"function"==typeof t.forEach)t.forEach((function(e){r.push(e)}));else if(arguments.length>0)for(var a=0,o=arguments.length;a<o;a++)r.push(arguments[a]);return r}function t(e,t,r){var a=t===e.head?new o(r,null,t,e):new o(r,t,t.next,e);return null===a.next&&(e.tail=a),null===a.prev&&(e.head=a),e.length++,a}function r(e,t){e.tail=new o(t,e.tail,null,e),e.head||(e.head=e.tail),e.length++}function a(e,t){e.head=new o(t,null,e.head,e),e.tail||(e.tail=e.head),e.length++}function o(e,t,r,a){if(!(this instanceof o))return new o(e,t,r,a);this.list=a,this.value=e,t?(t.next=this,this.prev=t):this.prev=null,r?(r.prev=this,this.next=r):this.next=null}Ls=1,$s=e,e.Node=o,e.create=e,e.prototype.removeNode=function(e){if(e.list!==this)throw new Error("removing node which does not belong to this list");var t=e.next,r=e.prev;return t&&(t.prev=r),r&&(r.next=t),e===this.head&&(this.head=t),e===this.tail&&(this.tail=r),e.list.length--,e.next=null,e.prev=null,e.list=null,t},e.prototype.unshiftNode=function(e){if(e!==this.head){e.list&&e.list.removeNode(e);var t=this.head;e.list=this,e.next=t,t&&(t.prev=e),this.head=e,this.tail||(this.tail=e),this.length++}},e.prototype.pushNode=function(e){if(e!==this.tail){e.list&&e.list.removeNode(e);var t=this.tail;e.list=this,e.prev=t,t&&(t.next=e),this.tail=e,this.head||(this.head=e),this.length++}},e.prototype.push=function(){for(var e=0,t=arguments.length;e<t;e++)r(this,arguments[e]);return this.length},e.prototype.unshift=function(){for(var e=0,t=arguments.length;e<t;e++)a(this,arguments[e]);return this.length},e.prototype.pop=function(){if(this.tail){var e=this.tail.value;return this.tail=this.tail.prev,this.tail?this.tail.next=null:this.head=null,this.length--,e}},e.prototype.shift=function(){if(this.head){var e=this.head.value;return this.head=this.head.next,this.head?this.head.prev=null:this.tail=null,this.length--,e}},e.prototype.forEach=function(e,t){t=t||this;for(var r=this.head,a=0;null!==r;a++)e.call(t,r.value,a,this),r=r.next},e.prototype.forEachReverse=function(e,t){t=t||this;for(var r=this.tail,a=this.length-1;null!==r;a--)e.call(t,r.value,a,this),r=r.prev},e.prototype.get=function(e){for(var t=0,r=this.head;null!==r&&t<e;t++)r=r.next;if(t===e&&null!==r)return r.value},e.prototype.getReverse=function(e){for(var t=0,r=this.tail;null!==r&&t<e;t++)r=r.prev;if(t===e&&null!==r)return r.value},e.prototype.map=function(t,r){r=r||this;for(var a=new e,o=this.head;null!==o;)a.push(t.call(r,o.value,this)),o=o.next;return a},e.prototype.mapReverse=function(t,r){r=r||this;for(var a=new e,o=this.tail;null!==o;)a.push(t.call(r,o.value,this)),o=o.prev;return a},e.prototype.reduce=function(e,t){var r,a=this.head;if(arguments.length>1)r=t;else{if(!this.head)throw new TypeError("Reduce of empty list with no initial value");a=this.head.next,r=this.head.value}for(var o=0;null!==a;o++)r=e(r,a.value,o),a=a.next;return r},e.prototype.reduceReverse=function(e,t){var r,a=this.tail;if(arguments.length>1)r=t;else{if(!this.tail)throw new TypeError("Reduce of empty list with no initial value");a=this.tail.prev,r=this.tail.value}for(var o=this.length-1;null!==a;o--)r=e(r,a.value,o),a=a.prev;return r},e.prototype.toArray=function(){for(var e=new Array(this.length),t=0,r=this.head;null!==r;t++)e[t]=r.value,r=r.next;return e},e.prototype.toArrayReverse=function(){for(var e=new Array(this.length),t=0,r=this.tail;null!==r;t++)e[t]=r.value,r=r.prev;return e},e.prototype.slice=function(t,r){(r=r||this.length)<0&&(r+=this.length),(t=t||0)<0&&(t+=this.length);var a=new e;if(r<t||r<0)return a;t<0&&(t=0),r>this.length&&(r=this.length);for(var o=0,n=this.head;null!==n&&o<t;o++)n=n.next;for(;null!==n&&o<r;o++,n=n.next)a.push(n.value);return a},e.prototype.sliceReverse=function(t,r){(r=r||this.length)<0&&(r+=this.length),(t=t||0)<0&&(t+=this.length);var a=new e;if(r<t||r<0)return a;t<0&&(t=0),r>this.length&&(r=this.length);for(var o=this.length,n=this.tail;null!==n&&o>r;o--)n=n.prev;for(;null!==n&&o>t;o--,n=n.prev)a.push(n.value);return a},e.prototype.splice=function(e,r,...a){e>this.length&&(e=this.length-1),e<0&&(e=this.length+e);for(var o=0,n=this.head;null!==n&&o<e;o++)n=n.next;var i=[];for(o=0;n&&o<r;o++)i.push(n.value),n=this.removeNode(n);null===n&&(n=this.tail),n!==this.head&&n!==this.tail&&(n=n.prev);for(o=0;o<a.length;o++)n=t(this,n,a[o]);return i},e.prototype.reverse=function(){for(var e=this.head,t=this.tail,r=e;null!==r;r=r.prev){var a=r.prev;r.prev=r.next,r.next=a}return this.head=t,this.tail=e,this};try{(Bs?zs:(Bs=1,zs=function(e){e.prototype[Symbol.iterator]=function*(){for(let e=this.head;e;e=e.next)yield e.value}}))(e)}catch(e){}return $s}function zc(){if(Hs)return Ms;Hs=1;class e{constructor(t,r){if(r=a(r),t instanceof e)return t.loose===!!r.loose&&t.includePrerelease===!!r.includePrerelease?t:new e(t.raw,r);if(t instanceof o)return this.raw=t.value,this.set=[[t]],this.format(),this;if(this.options=r,this.loose=!!r.loose,this.includePrerelease=!!r.includePrerelease,this.raw=t,this.set=t.split("||").map((e=>this.parseRange(e.trim()))).filter((e=>e.length)),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${t}`);if(this.set.length>1){const e=this.set[0];if(this.set=this.set.filter((e=>!d(e[0]))),0===this.set.length)this.set=[e];else if(this.set.length>1)for(const e of this.set)if(1===e.length&&m(e[0])){this.set=[e];break}}this.format()}format(){return this.range=this.set.map((e=>e.join(" ").trim())).join("||").trim(),this.range}toString(){return this.range}parseRange(e){e=e.trim();const t=`parseRange:${Object.keys(this.options).join(",")}:${e}`,a=r.get(t);if(a)return a;const i=this.options.loose,m=i?s[c.HYPHENRANGELOOSE]:s[c.HYPHENRANGE];e=e.replace(m,S(this.options.includePrerelease)),n("hyphen replace",e),e=e.replace(s[c.COMPARATORTRIM],u),n("comparator trim",e);let h=(e=(e=(e=e.replace(s[c.TILDETRIM],p)).replace(s[c.CARETTRIM],l)).split(/\s+/).join(" ")).split(" ").map((e=>f(e,this.options))).join(" ").split(/\s+/).map((e=>E(e,this.options)));i&&(h=h.filter((e=>(n("loose invalid filter",e,this.options),!!e.match(s[c.COMPARATORLOOSE]))))),n("range list",h);const g=new Map,y=h.map((e=>new o(e,this.options)));for(const e of y){if(d(e))return[e];g.set(e.value,e)}g.size>1&&g.has("")&&g.delete("");const v=[...g.values()];return r.set(t,v),v}intersects(t,r){if(!(t instanceof e))throw new TypeError("a Range is required");return this.set.some((e=>h(e,r)&&t.set.some((t=>h(t,r)&&e.every((e=>t.every((t=>e.intersects(t,r)))))))))}test(e){if(!e)return!1;if("string"==typeof e)try{e=new i(e,this.options)}catch(e){return!1}for(let t=0;t<this.set.length;t++)if(_(this.set[t],e,this.options))return!0;return!1}}Ms=e;const t=function(){if(Us)return qs;Us=1;const e=Nc(),t=Symbol("max"),r=Symbol("length"),a=Symbol("lengthCalculator"),o=Symbol("allowStale"),n=Symbol("maxAge"),i=Symbol("dispose"),s=Symbol("noDisposeOnSet"),c=Symbol("lruList"),u=Symbol("cache"),p=Symbol("updateAgeOnGet"),l=()=>1,d=(e,t,r)=>{const a=e[u].get(t);if(a){const t=a.value;if(m(e,t)){if(f(e,a),!e[o])return}else r&&(e[p]&&(a.value.now=Date.now()),e[c].unshiftNode(a));return t.value}},m=(e,t)=>{if(!t||!t.maxAge&&!e[n])return!1;const r=Date.now()-t.now;return t.maxAge?r>t.maxAge:e[n]&&r>e[n]},h=e=>{if(e[r]>e[t])for(let a=e[c].tail;e[r]>e[t]&&null!==a;){const t=a.prev;f(e,a),a=t}},f=(e,t)=>{if(t){const a=t.value;e[i]&&e[i](a.key,a.value),e[r]-=a.length,e[u].delete(a.key),e[c].removeNode(t)}};class g{constructor(e,t,r,a,o){this.key=e,this.value=t,this.length=r,this.now=a,this.maxAge=o||0}}const y=(e,t,r,a)=>{let n=r.value;m(e,n)&&(f(e,r),e[o]||(n=void 0)),n&&t.call(a,n.value,n.key,e)};return qs=class{constructor(e){if("number"==typeof e&&(e={max:e}),e||(e={}),e.max&&("number"!=typeof e.max||e.max<0))throw new TypeError("max must be a non-negative number");this[t]=e.max||1/0;const r=e.length||l;if(this[a]="function"!=typeof r?l:r,this[o]=e.stale||!1,e.maxAge&&"number"!=typeof e.maxAge)throw new TypeError("maxAge must be a number");this[n]=e.maxAge||0,this[i]=e.dispose,this[s]=e.noDisposeOnSet||!1,this[p]=e.updateAgeOnGet||!1,this.reset()}set max(e){if("number"!=typeof e||e<0)throw new TypeError("max must be a non-negative number");this[t]=e||1/0,h(this)}get max(){return this[t]}set allowStale(e){this[o]=!!e}get allowStale(){return this[o]}set maxAge(e){if("number"!=typeof e)throw new TypeError("maxAge must be a non-negative number");this[n]=e,h(this)}get maxAge(){return this[n]}set lengthCalculator(e){"function"!=typeof e&&(e=l),e!==this[a]&&(this[a]=e,this[r]=0,this[c].forEach((e=>{e.length=this[a](e.value,e.key),this[r]+=e.length}))),h(this)}get lengthCalculator(){return this[a]}get length(){return this[r]}get itemCount(){return this[c].length}rforEach(e,t){t=t||this;for(let r=this[c].tail;null!==r;){const a=r.prev;y(this,e,r,t),r=a}}forEach(e,t){t=t||this;for(let r=this[c].head;null!==r;){const a=r.next;y(this,e,r,t),r=a}}keys(){return this[c].toArray().map((e=>e.key))}values(){return this[c].toArray().map((e=>e.value))}reset(){this[i]&&this[c]&&this[c].length&&this[c].forEach((e=>this[i](e.key,e.value))),this[u]=new Map,this[c]=new e,this[r]=0}dump(){return this[c].map((e=>!m(this,e)&&{k:e.key,v:e.value,e:e.now+(e.maxAge||0)})).toArray().filter((e=>e))}dumpLru(){return this[c]}set(e,o,p){if((p=p||this[n])&&"number"!=typeof p)throw new TypeError("maxAge must be a number");const l=p?Date.now():0,d=this[a](o,e);if(this[u].has(e)){if(d>this[t])return f(this,this[u].get(e)),!1;const a=this[u].get(e).value;return this[i]&&(this[s]||this[i](e,a.value)),a.now=l,a.maxAge=p,a.value=o,this[r]+=d-a.length,a.length=d,this.get(e),h(this),!0}const m=new g(e,o,d,l,p);return m.length>this[t]?(this[i]&&this[i](e,o),!1):(this[r]+=m.length,this[c].unshift(m),this[u].set(e,this[c].head),h(this),!0)}has(e){if(!this[u].has(e))return!1;const t=this[u].get(e).value;return!m(this,t)}get(e){return d(this,e,!0)}peek(e){return d(this,e,!1)}pop(){const e=this[c].tail;return e?(f(this,e),e.value):null}del(e){f(this,this[u].get(e))}load(e){this.reset();const t=Date.now();for(let r=e.length-1;r>=0;r--){const a=e[r],o=a.e||0;if(0===o)this.set(a.k,a.v);else{const e=o-t;e>0&&this.set(a.k,a.v,e)}}}prune(){this[u].forEach(((e,t)=>d(this,t,!1)))}},qs}(),r=new t({max:1e3}),a=jc(),o=Bc(),n=wc(),i=Sc(),{re:s,t:c,comparatorTrimReplace:u,tildeTrimReplace:p,caretTrimReplace:l}=xc(),d=e=>"<0.0.0-0"===e.value,m=e=>""===e.value,h=(e,t)=>{let r=!0;const a=e.slice();let o=a.pop();for(;r&&a.length;)r=a.every((e=>o.intersects(e,t))),o=a.pop();return r},f=(e,t)=>(n("comp",e,t),e=b(e,t),n("caret",e),e=y(e,t),n("tildes",e),e=w(e,t),n("xrange",e),e=j(e,t),n("stars",e),e),g=e=>!e||"x"===e.toLowerCase()||"*"===e,y=(e,t)=>e.trim().split(/\s+/).map((e=>v(e,t))).join(" "),v=(e,t)=>{const r=t.loose?s[c.TILDELOOSE]:s[c.TILDE];return e.replace(r,((t,r,a,o,i)=>{let s;return n("tilde",e,t,r,a,o,i),g(r)?s="":g(a)?s=`>=${r}.0.0 <${+r+1}.0.0-0`:g(o)?s=`>=${r}.${a}.0 <${r}.${+a+1}.0-0`:i?(n("replaceTilde pr",i),s=`>=${r}.${a}.${o}-${i} <${r}.${+a+1}.0-0`):s=`>=${r}.${a}.${o} <${r}.${+a+1}.0-0`,n("tilde return",s),s}))},b=(e,t)=>e.trim().split(/\s+/).map((e=>k(e,t))).join(" "),k=(e,t)=>{n("caret",e,t);const r=t.loose?s[c.CARETLOOSE]:s[c.CARET],a=t.includePrerelease?"-0":"";return e.replace(r,((t,r,o,i,s)=>{let c;return n("caret",e,t,r,o,i,s),g(r)?c="":g(o)?c=`>=${r}.0.0${a} <${+r+1}.0.0-0`:g(i)?c="0"===r?`>=${r}.${o}.0${a} <${r}.${+o+1}.0-0`:`>=${r}.${o}.0${a} <${+r+1}.0.0-0`:s?(n("replaceCaret pr",s),c="0"===r?"0"===o?`>=${r}.${o}.${i}-${s} <${r}.${o}.${+i+1}-0`:`>=${r}.${o}.${i}-${s} <${r}.${+o+1}.0-0`:`>=${r}.${o}.${i}-${s} <${+r+1}.0.0-0`):(n("no pr"),c="0"===r?"0"===o?`>=${r}.${o}.${i}${a} <${r}.${o}.${+i+1}-0`:`>=${r}.${o}.${i}${a} <${r}.${+o+1}.0-0`:`>=${r}.${o}.${i} <${+r+1}.0.0-0`),n("caret return",c),c}))},w=(e,t)=>(n("replaceXRanges",e,t),e.split(/\s+/).map((e=>x(e,t))).join(" ")),x=(e,t)=>{e=e.trim();const r=t.loose?s[c.XRANGELOOSE]:s[c.XRANGE];return e.replace(r,((r,a,o,i,s,c)=>{n("xRange",e,r,a,o,i,s,c);const u=g(o),p=u||g(i),l=p||g(s),d=l;return"="===a&&d&&(a=""),c=t.includePrerelease?"-0":"",u?r=">"===a||"<"===a?"<0.0.0-0":"*":a&&d?(p&&(i=0),s=0,">"===a?(a=">=",p?(o=+o+1,i=0,s=0):(i=+i+1,s=0)):"<="===a&&(a="<",p?o=+o+1:i=+i+1),"<"===a&&(c="-0"),r=`${a+o}.${i}.${s}${c}`):p?r=`>=${o}.0.0${c} <${+o+1}.0.0-0`:l&&(r=`>=${o}.${i}.0${c} <${o}.${+i+1}.0-0`),n("xRange return",r),r}))},j=(e,t)=>(n("replaceStars",e,t),e.trim().replace(s[c.STAR],"")),E=(e,t)=>(n("replaceGTE0",e,t),e.trim().replace(s[t.includePrerelease?c.GTE0PRE:c.GTE0],"")),S=e=>(t,r,a,o,n,i,s,c,u,p,l,d,m)=>`${r=g(a)?"":g(o)?`>=${a}.0.0${e?"-0":""}`:g(n)?`>=${a}.${o}.0${e?"-0":""}`:i?`>=${r}`:`>=${r}${e?"-0":""}`} ${c=g(u)?"":g(p)?`<${+u+1}.0.0-0`:g(l)?`<${u}.${+p+1}.0-0`:d?`<=${u}.${p}.${l}-${d}`:e?`<${u}.${p}.${+l+1}-0`:`<=${c}`}`.trim(),_=(e,t,r)=>{for(let r=0;r<e.length;r++)if(!e[r].test(t))return!1;if(t.prerelease.length&&!r.includePrerelease){for(let r=0;r<e.length;r++)if(n(e[r].semver),e[r].semver!==o.ANY&&e[r].semver.prerelease.length>0){const a=e[r].semver;if(a.major===t.major&&a.minor===t.minor&&a.patch===t.patch)return!0}return!1}return!0};return Ms}function Bc(){if(Vs)return Ks;Vs=1;const e=Symbol("SemVer ANY");class t{static get ANY(){return e}constructor(a,o){if(o=r(o),a instanceof t){if(a.loose===!!o.loose)return a;a=a.value}i("comparator",a,o),this.options=o,this.loose=!!o.loose,this.parse(a),this.semver===e?this.value="":this.value=this.operator+this.semver.version,i("comp",this)}parse(t){const r=this.options.loose?a[o.COMPARATORLOOSE]:a[o.COMPARATOR],n=t.match(r);if(!n)throw new TypeError(`Invalid comparator: ${t}`);this.operator=void 0!==n[1]?n[1]:"","="===this.operator&&(this.operator=""),n[2]?this.semver=new s(n[2],this.options.loose):this.semver=e}toString(){return this.value}test(t){if(i("Comparator.test",t,this.options.loose),this.semver===e||t===e)return!0;if("string"==typeof t)try{t=new s(t,this.options)}catch(e){return!1}return n(t,this.operator,this.semver,this.options)}intersects(e,r){if(!(e instanceof t))throw new TypeError("a Comparator is required");if(r&&"object"==typeof r||(r={loose:!!r,includePrerelease:!1}),""===this.operator)return""===this.value||new c(e.value,r).test(this.value);if(""===e.operator)return""===e.value||new c(this.value,r).test(e.semver);const a=!(">="!==this.operator&&">"!==this.operator||">="!==e.operator&&">"!==e.operator),o=!("<="!==this.operator&&"<"!==this.operator||"<="!==e.operator&&"<"!==e.operator),i=this.semver.version===e.semver.version,s=!(">="!==this.operator&&"<="!==this.operator||">="!==e.operator&&"<="!==e.operator),u=n(this.semver,"<",e.semver,r)&&(">="===this.operator||">"===this.operator)&&("<="===e.operator||"<"===e.operator),p=n(this.semver,">",e.semver,r)&&("<="===this.operator||"<"===this.operator)&&(">="===e.operator||">"===e.operator);return a||o||i&&s||u||p}}Ks=t;const r=jc(),{re:a,t:o}=xc(),n=Dc(),i=wc(),s=Sc(),c=zc();return Ks}function $c(){if(Qs)return Gs;Qs=1;const e=zc();return Gs=(t,r,a)=>{try{r=new e(r,a)}catch(e){return!1}return r.test(t)},Gs}function Lc(){if(oc)return ac;oc=1;const e=zc();return ac=(t,r)=>{try{return new e(t,r).range||"*"}catch(e){return null}},ac}function qc(){if(ic)return nc;ic=1;const e=Sc(),t=Bc(),{ANY:r}=t,a=zc(),o=$c(),n=Oc(),i=Ac(),s=Rc(),c=Fc();return nc=(u,p,l,d)=>{let m,h,f,g,y;switch(u=new e(u,d),p=new a(p,d),l){case">":m=n,h=s,f=i,g=">",y=">=";break;case"<":m=i,h=c,f=n,g="<",y="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(o(u,p,d))return!1;for(let e=0;e<p.set.length;++e){const a=p.set[e];let o=null,n=null;if(a.forEach((e=>{e.semver===r&&(e=new t(">=0.0.0")),o=o||e,n=n||e,m(e.semver,o.semver,d)?o=e:f(e.semver,n.semver,d)&&(n=e)})),o.operator===g||o.operator===y)return!1;if((!n.operator||n.operator===g)&&h(u,n.semver))return!1;if(n.operator===y&&f(u,n.semver))return!1}return!0},nc}function Uc(){if(vc)return yc;vc=1;const e=xc(),t=kc(),r=Sc(),a=Ec(),o=_c(),n=function(){if(Qi)return Gi;Qi=1;const e=_c();return Gi=(t,r)=>{const a=e(t,r);return a?a.version:null},Gi}(),i=function(){if(Wi)return Xi;Wi=1;const e=_c();return Xi=(t,r)=>{const a=e(t.trim().replace(/^[=v]+/,""),r);return a?a.version:null},Xi}(),s=function(){if(Zi)return Yi;Zi=1;const e=Sc();return Yi=(t,r,a,o)=>{"string"==typeof a&&(o=a,a=void 0);try{return new e(t instanceof e?t.version:t,a).inc(r,o).version}catch(e){return null}},Yi}(),c=function(){if(os)return as;os=1;const e=_c(),t=Cc();return as=(r,a)=>{if(t(r,a))return null;{const t=e(r),o=e(a),n=t.prerelease.length||o.prerelease.length,i=n?"pre":"",s=n?"prerelease":"";for(const e in t)if(("major"===e||"minor"===e||"patch"===e)&&t[e]!==o[e])return i+e;return s}},as}(),u=function(){if(is)return ns;is=1;const e=Sc();return ns=(t,r)=>new e(t,r).major}(),p=function(){if(cs)return ss;cs=1;const e=Sc();return ss=(t,r)=>new e(t,r).minor}(),l=function(){if(ps)return us;ps=1;const e=Sc();return us=(t,r)=>new e(t,r).patch}(),d=function(){if(ds)return ls;ds=1;const e=_c();return ls=(t,r)=>{const a=e(t,r);return a&&a.prerelease.length?a.prerelease:null},ls}(),m=Pc(),h=function(){if(hs)return ms;hs=1;const e=Pc();return ms=(t,r,a)=>e(r,t,a)}(),f=function(){if(gs)return fs;gs=1;const e=Pc();return fs=(t,r)=>e(t,r,!0)}(),g=Tc(),y=function(){if(ks)return bs;ks=1;const e=Tc();return bs=(t,r)=>t.sort(((t,a)=>e(t,a,r)))}(),v=function(){if(xs)return ws;xs=1;const e=Tc();return ws=(t,r)=>t.sort(((t,a)=>e(a,t,r)))}(),b=Oc(),k=Ac(),w=Cc(),x=Ic(),j=Fc(),E=Rc(),S=Dc(),_=function(){if(Ns)return Ds;Ns=1;const e=Sc(),t=_c(),{re:r,t:a}=xc();return Ds=(o,n)=>{if(o instanceof e)return o;if("number"==typeof o&&(o=String(o)),"string"!=typeof o)return null;let i=null;if((n=n||{}).rtl){let e;for(;(e=r[a.COERCERTL].exec(o))&&(!i||i.index+i[0].length!==o.length);)i&&e.index+e[0].length===i.index+i[0].length||(i=e),r[a.COERCERTL].lastIndex=e.index+e[1].length+e[2].length;r[a.COERCERTL].lastIndex=-1}else i=o.match(r[a.COERCE]);return null===i?null:t(`${i[2]}.${i[3]||"0"}.${i[4]||"0"}`,n)},Ds}(),P=Bc(),C=zc(),T=$c(),O=function(){if(Ws)return Xs;Ws=1;const e=zc();return Xs=(t,r)=>new e(t,r).set.map((e=>e.map((e=>e.value)).join(" ").trim().split(" "))),Xs}(),A=function(){if(Zs)return Ys;Zs=1;const e=Sc(),t=zc();return Ys=(r,a,o)=>{let n=null,i=null,s=null;try{s=new t(a,o)}catch(e){return null}return r.forEach((t=>{s.test(t)&&(n&&-1!==i.compare(t)||(n=t,i=new e(n,o)))})),n},Ys}(),I=function(){if(ec)return Js;ec=1;const e=Sc(),t=zc();return Js=(r,a,o)=>{let n=null,i=null,s=null;try{s=new t(a,o)}catch(e){return null}return r.forEach((t=>{s.test(t)&&(n&&1!==i.compare(t)||(n=t,i=new e(n,o)))})),n},Js}(),F=function(){if(rc)return tc;rc=1;const e=Sc(),t=zc(),r=Oc();return tc=(a,o)=>{a=new t(a,o);let n=new e("0.0.0");if(a.test(n))return n;if(n=new e("0.0.0-0"),a.test(n))return n;n=null;for(let t=0;t<a.set.length;++t){const o=a.set[t];let i=null;o.forEach((t=>{const a=new e(t.semver.version);switch(t.operator){case">":0===a.prerelease.length?a.patch++:a.prerelease.push(0),a.raw=a.format();case"":case">=":i&&!r(a,i)||(i=a);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${t.operator}`)}})),!i||n&&!r(n,i)||(n=i)}return n&&a.test(n)?n:null},tc}(),R=Lc(),D=qc(),N=function(){if(cc)return sc;cc=1;const e=qc();return sc=(t,r,a)=>e(t,r,">",a),sc}(),z=function(){if(pc)return uc;pc=1;const e=qc();return uc=(t,r,a)=>e(t,r,"<",a),uc}(),B=function(){if(dc)return lc;dc=1;const e=zc();return lc=(t,r,a)=>(t=new e(t,a),r=new e(r,a),t.intersects(r))}(),$=function(){if(hc)return mc;hc=1;const e=$c(),t=Pc();return mc=(r,a,o)=>{const n=[];let i=null,s=null;const c=r.sort(((e,r)=>t(e,r,o)));for(const t of c)e(t,a,o)?(s=t,i||(i=t)):(s&&n.push([i,s]),s=null,i=null);i&&n.push([i,null]);const u=[];for(const[e,t]of n)e===t?u.push(e):t||e!==c[0]?t?e===c[0]?u.push(`<=${t}`):u.push(`${e} - ${t}`):u.push(`>=${e}`):u.push("*");const p=u.join(" || "),l="string"==typeof a.raw?a.raw:String(a);return p.length<l.length?p:a},mc}(),L=function(){if(gc)return fc;gc=1;const e=zc(),t=Bc(),{ANY:r}=t,a=$c(),o=Pc(),n=(e,n,c)=>{if(e===n)return!0;if(1===e.length&&e[0].semver===r){if(1===n.length&&n[0].semver===r)return!0;e=c.includePrerelease?[new t(">=0.0.0-0")]:[new t(">=0.0.0")]}if(1===n.length&&n[0].semver===r){if(c.includePrerelease)return!0;n=[new t(">=0.0.0")]}const u=new Set;let p,l,d,m,h,f,g;for(const t of e)">"===t.operator||">="===t.operator?p=i(p,t,c):"<"===t.operator||"<="===t.operator?l=s(l,t,c):u.add(t.semver);if(u.size>1)return null;if(p&&l){if(d=o(p.semver,l.semver,c),d>0)return null;if(0===d&&(">="!==p.operator||"<="!==l.operator))return null}for(const e of u){if(p&&!a(e,String(p),c))return null;if(l&&!a(e,String(l),c))return null;for(const t of n)if(!a(e,String(t),c))return!1;return!0}let y=!(!l||c.includePrerelease||!l.semver.prerelease.length)&&l.semver,v=!(!p||c.includePrerelease||!p.semver.prerelease.length)&&p.semver;y&&1===y.prerelease.length&&"<"===l.operator&&0===y.prerelease[0]&&(y=!1);for(const e of n){if(g=g||">"===e.operator||">="===e.operator,f=f||"<"===e.operator||"<="===e.operator,p)if(v&&e.semver.prerelease&&e.semver.prerelease.length&&e.semver.major===v.major&&e.semver.minor===v.minor&&e.semver.patch===v.patch&&(v=!1),">"===e.operator||">="===e.operator){if(m=i(p,e,c),m===e&&m!==p)return!1}else if(">="===p.operator&&!a(p.semver,String(e),c))return!1;if(l)if(y&&e.semver.prerelease&&e.semver.prerelease.length&&e.semver.major===y.major&&e.semver.minor===y.minor&&e.semver.patch===y.patch&&(y=!1),"<"===e.operator||"<="===e.operator){if(h=s(l,e,c),h===e&&h!==l)return!1}else if("<="===l.operator&&!a(l.semver,String(e),c))return!1;if(!e.operator&&(l||p)&&0!==d)return!1}return!(p&&f&&!l&&0!==d||l&&g&&!p&&0!==d||v||y)},i=(e,t,r)=>{if(!e)return t;const a=o(e.semver,t.semver,r);return a>0?e:a<0||">"===t.operator&&">="===e.operator?t:e},s=(e,t,r)=>{if(!e)return t;const a=o(e.semver,t.semver,r);return a<0?e:a>0||"<"===t.operator&&"<="===e.operator?t:e};return fc=(t,r,a={})=>{if(t===r)return!0;t=new e(t,a),r=new e(r,a);let o=!1;e:for(const e of t.set){for(const t of r.set){const r=n(e,t,a);if(o=o||null!==r,r)continue e}if(o)return!1}return!0}}();return yc={parse:o,valid:n,clean:i,inc:s,diff:c,major:u,minor:p,patch:l,prerelease:d,compare:m,rcompare:h,compareLoose:f,compareBuild:g,sort:y,rsort:v,gt:b,lt:k,eq:w,neq:x,gte:j,lte:E,cmp:S,coerce:_,Comparator:P,Range:C,satisfies:T,toComparators:O,maxSatisfying:A,minSatisfying:I,minVersion:F,validRange:R,outside:D,gtr:N,ltr:z,intersects:B,simplifyRange:$,subset:L,SemVer:r,re:e.re,src:e.src,tokens:e.t,SEMVER_SPEC_VERSION:t.SEMVER_SPEC_VERSION,compareIdentifiers:a.compareIdentifiers,rcompareIdentifiers:a.rcompareIdentifiers}}var Mc,Hc,Kc,Vc={exports:{}},Gc={exports:{}};function Qc(){if(Mc)return Gc.exports;Mc=1;const e=(e,t)=>{for(const r of Reflect.ownKeys(t))Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r));return e};return Gc.exports=e,Gc.exports.default=e,Gc.exports}function Xc(){if(Hc)return Vc.exports;Hc=1;const e=Qc(),t=new WeakMap,r=(r,a={})=>{if("function"!=typeof r)throw new TypeError("Expected a function");let o,n=0;const i=r.displayName||r.name||"<anonymous>",s=function(...e){if(t.set(s,++n),1===n)o=r.apply(this,e),r=null;else if(!0===a.throw)throw new Error(`Function \`${i}\` can only be called once`);return o};return e(s,r),t.set(s,n),s};return Vc.exports=r,Vc.exports.default=r,Vc.exports.callCount=e=>{if(!t.has(e))throw new Error(`The given function \`${e.name}\` is not wrapped by the \`onetime\` package`);return t.get(e)},Vc.exports}function Wc(){return Kc||(Kc=1,function(e,t){var r,a,o,n,i,s,c=L&&L.__classPrivateFieldSet||function(e,t,r){if(!t.has(e))throw new TypeError("attempted to set private field on non-instance");return t.set(e,r),r},u=L&&L.__classPrivateFieldGet||function(e,t){if(!t.has(e))throw new TypeError("attempted to get private field on non-instance");return t.get(e)};Object.defineProperty(t,"__esModule",{value:!0});const p=w.default,l=_.default,d=x.default,m=P.default,h=E.default,f=Sr(),g=Ar(),y=Zr(),v=ta(),b=Sa(),k=(bi||(bi=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.CodeGen=e.Name=e.nil=e.stringify=e.str=e._=e.KeywordCxt=void 0;const t=Ro();e.KeywordCxt=t.default;var r=Ha();Object.defineProperty(e,"_",{enumerable:!0,get:function(){return r._}}),Object.defineProperty(e,"str",{enumerable:!0,get:function(){return r.str}}),Object.defineProperty(e,"stringify",{enumerable:!0,get:function(){return r.stringify}}),Object.defineProperty(e,"nil",{enumerable:!0,get:function(){return r.nil}}),Object.defineProperty(e,"Name",{enumerable:!0,get:function(){return r.Name}}),Object.defineProperty(e,"CodeGen",{enumerable:!0,get:function(){return r.CodeGen}});const a=Ho(),o=vi(),n=ki,i=["/properties"],s="http://json-schema.org/draft-07/schema";class c extends a.default{_addVocabularies(){super._addVocabularies(),o.default.forEach((e=>this.addVocabulary(e)))}_addDefaultMetaSchema(){if(super._addDefaultMetaSchema(),!this.opts.meta)return;const e=this.opts.$data?this.$dataMetaSchema(n,i):n;this.addMetaSchema(e,s,!1),this.refs["http://json-schema.org/schema"]=s}defaultMeta(){return this.opts.defaultMeta=super.defaultMeta()||(this.getSchema(s)?s:void 0)}}e.default=c}(Pa)),Pa),j=Ai(),S=Fi(),C=Uc(),T=Xc(),O="aes-256-cbc",A=()=>Object.create(null),I=e=>null!=e;delete require.cache[__filename];const F=l.dirname(null!==(a=null===(r=e.parent)||void 0===r?void 0:r.filename)&&void 0!==a?a:"."),R="__internal__",D="__internal__.migrations.version";class N{constructor(e={}){var t;o.set(this,void 0),n.set(this,void 0),i.set(this,void 0),s.set(this,{}),this._deserialize=e=>JSON.parse(e),this._serialize=e=>JSON.stringify(e,null,"\t");const r={configName:"config",fileExtension:"json",projectSuffix:"nodejs",clearInvalidConfig:!1,accessPropertiesByDotNotation:!0,...e},a=T((()=>{const e=y.sync({cwd:F}),t=e&&JSON.parse(p.readFileSync(e,"utf8"));return null!=t?t:{}}));if(!r.cwd){if(r.projectName||(r.projectName=a().name),!r.projectName)throw new Error("Project name could not be inferred. Please specify the `projectName` option.");r.cwd=v(r.projectName,{suffix:r.projectSuffix}).config}if(c(this,i,r),r.schema){if("object"!=typeof r.schema)throw new TypeError("The `schema` option must be an object.");const e=new k.default({allErrors:!0,useDefaults:!0});j.default(e);const t={type:"object",properties:r.schema};c(this,o,e.compile(t));for(const[e,t]of Object.entries(r.schema))(null==t?void 0:t.default)&&(u(this,s)[e]=t.default)}r.defaults&&c(this,s,{...u(this,s),...r.defaults}),r.serialize&&(this._serialize=r.serialize),r.deserialize&&(this._deserialize=r.deserialize),this.events=new h.EventEmitter,c(this,n,r.encryptionKey);const d=r.fileExtension?`.${r.fileExtension}`:"";this.path=l.resolve(r.cwd,`${null!==(t=r.configName)&&void 0!==t?t:"config"}${d}`);const f=this.store,g=Object.assign(A(),r.defaults,f);this._validate(g);try{m.deepEqual(f,g)}catch(e){this.store=g}if(r.watch&&this._watch(),r.migrations){if(r.projectVersion||(r.projectVersion=a().version),!r.projectVersion)throw new Error("Project version could not be inferred. Please specify the `projectVersion` option.");this._migrate(r.migrations,r.projectVersion)}}get(e,t){return u(this,i).accessPropertiesByDotNotation?this._get(e,t):e in this.store?this.store[e]:t}set(e,t){if("string"!=typeof e&&"object"!=typeof e)throw new TypeError("Expected `key` to be of type `string` or `object`, got "+typeof e);if("object"!=typeof e&&void 0===t)throw new TypeError("Use `delete()` to clear values");if(this._containsReservedKey(e))throw new TypeError("Please don't use the __internal__ key, as it's used to manage this module internal operations.");const{store:r}=this,a=(e,t)=>{((e,t)=>{const r=typeof t;if(new Set(["undefined","symbol","function"]).has(r))throw new TypeError(`Setting a value of type \`${r}\` for key \`${e}\` is not allowed as it's not supported by JSON`)})(e,t),u(this,i).accessPropertiesByDotNotation?f.set(r,e,t):r[e]=t};if("object"==typeof e){const t=e;for(const[e,r]of Object.entries(t))a(e,r)}else a(e,t);this.store=r}has(e){return u(this,i).accessPropertiesByDotNotation?f.has(this.store,e):e in this.store}reset(...e){for(const t of e)I(u(this,s)[t])&&this.set(t,u(this,s)[t])}delete(e){const{store:t}=this;u(this,i).accessPropertiesByDotNotation?f.delete(t,e):delete t[e],this.store=t}clear(){this.store=A();for(const e of Object.keys(u(this,s)))this.reset(e)}onDidChange(e,t){if("string"!=typeof e)throw new TypeError("Expected `key` to be of type `string`, got "+typeof e);if("function"!=typeof t)throw new TypeError("Expected `callback` to be of type `function`, got "+typeof t);return this._handleChange((()=>this.get(e)),t)}onDidAnyChange(e){if("function"!=typeof e)throw new TypeError("Expected `callback` to be of type `function`, got "+typeof e);return this._handleChange((()=>this.store),e)}get size(){return Object.keys(this.store).length}get store(){try{const e=p.readFileSync(this.path,u(this,n)?null:"utf8"),t=this._encryptData(e),r=this._deserialize(t);return this._validate(r),Object.assign(A(),r)}catch(e){if("ENOENT"===e.code)return this._ensureDirectory(),A();if(u(this,i).clearInvalidConfig&&"SyntaxError"===e.name)return A();throw e}}set store(e){this._ensureDirectory(),this._validate(e),this._write(e),this.events.emit("change")}*[(o=new WeakMap,n=new WeakMap,i=new WeakMap,s=new WeakMap,Symbol.iterator)](){for(const[e,t]of Object.entries(this.store))yield[e,t]}_encryptData(e){if(!u(this,n))return e.toString();try{if(u(this,n))try{if(":"===e.slice(16,17).toString()){const t=e.slice(0,16),r=d.pbkdf2Sync(u(this,n),t.toString(),1e4,32,"sha512"),a=d.createDecipheriv(O,r,t);e=Buffer.concat([a.update(Buffer.from(e.slice(17))),a.final()]).toString("utf8")}else{const t=d.createDecipher(O,u(this,n));e=Buffer.concat([t.update(Buffer.from(e)),t.final()]).toString("utf8")}}catch(e){}}catch(e){}return e.toString()}_handleChange(e,t){let r=e();const a=()=>{const a=r,o=e();try{m.deepEqual(o,a)}catch(e){r=o,t.call(this,o,a)}};return this.events.on("change",a),()=>this.events.removeListener("change",a)}_validate(e){if(!u(this,o))return;if(u(this,o).call(this,e)||!u(this,o).errors)return;const t=u(this,o).errors.map((({dataPath:e,message:t=""})=>`\`${e.slice(1)}\` ${t}`));throw new Error("Config schema violation: "+t.join("; "))}_ensureDirectory(){g.sync(l.dirname(this.path))}_write(e){let t=this._serialize(e);if(u(this,n)){const e=d.randomBytes(16),r=d.pbkdf2Sync(u(this,n),e.toString(),1e4,32,"sha512"),a=d.createCipheriv(O,r,e);t=Buffer.concat([e,Buffer.from(":"),a.update(Buffer.from(t)),a.final()])}if(process.env.SNAP)p.writeFileSync(this.path,t);else try{b.writeFileSync(this.path,t)}catch(e){if("EXDEV"===e.code)return void p.writeFileSync(this.path,t);throw e}}_watch(){this._ensureDirectory(),p.existsSync(this.path)||this._write(A()),p.watch(this.path,{persistent:!1},S((()=>{this.events.emit("change")}),{wait:100}))}_migrate(e,t){let r=this._get(D,"0.0.0");const a=Object.keys(e).filter((e=>this._shouldPerformMigration(e,r,t)));let o={...this.store};for(const t of a)try{(0,e[t])(this),this._set(D,t),r=t,o={...this.store}}catch(e){throw this.store=o,new Error(`Something went wrong during the migration! Changes applied to the store until this failed migration will be restored. ${e}`)}!this._isVersionInRangeFormat(r)&&C.eq(r,t)||this._set(D,t)}_containsReservedKey(e){if("object"==typeof e){if(Object.keys(e)[0]===R)return!0}return"string"==typeof e&&(!!u(this,i).accessPropertiesByDotNotation&&!!e.startsWith("__internal__."))}_isVersionInRangeFormat(e){return null===C.clean(e)}_shouldPerformMigration(e,t,r){return this._isVersionInRangeFormat(e)?("0.0.0"===t||!C.satisfies(t,e))&&C.satisfies(r,e):!C.lte(e,t)&&!C.gt(e,r)}_get(e,t){return f.get(this.store,e,t)}_set(e,t){const{store:r}=this;f.set(r,e,t),this.store=r}}t.default=N,e.exports=N,e.exports.default=N}(jr,jr.exports)),jr.exports}var Yc,Zc,Jc,eu=fr,tu=function(){var e,t={configName:"cos-nodejs-sdk-v5-storage"};this.options.ConfCwd&&(t.cwd=this.options.ConfCwd);try{var r=Wc();e=(Yc=new r(t)).get("cos_sdk_upload_cache")}catch(e){}e&&e instanceof Array||(e=[]),Zc=e},ru=function(){try{Yc.set("cos_sdk_upload_cache",Zc)}catch(e){}},au=function(){if(!Zc){tu.call(this);for(var e=!1,t=Math.round(Date.now()/1e3),r=Zc.length-1;r>=0;r--){var a=Zc[r][2];(!a||a+2592e3<t)&&(Zc.splice(r,1),e=!0)}e&&ru()}},ou=function(){Jc||(Jc=setTimeout((function(){ru(),Jc=null}),400))},nu={using:{},setUsing:function(e){nu.using[e]=!0},removeUsing:function(e){delete nu.using[e]},getFileId:function(e,t,r,a){return e&&e.FilePath&&e.size&&e.ctime&&e.mtime&&t?eu.md5([e.FilePath].join("::"))+"-"+eu.md5([e.size,e.ctime,e.mtime,t,r,a].join("::")):null},getUploadIdList:function(e){if(!e)return null;au.call(this);for(var t=[],r=0;r<Zc.length;r++)Zc[r][0]===e&&t.push(Zc[r][1]);return t.length?t:null},saveUploadId:function(e,t,r){if(au.call(this),e){for(var a=e.substr(0,e.indexOf("-")+1),o=Zc.length-1;o>=0;o--){var n=Zc[o];(n[0]===e&&n[1]===t||e!==n[0]&&0===n[0].indexOf(a))&&Zc.splice(o,1)}Zc.unshift([e,t,Math.round(Date.now()/1e3)]),Zc.length>r&&Zc.splice(r),ou()}},removeUploadId:function(e){au.call(this),delete nu.using[e];for(var t=Zc.length-1;t>=0;t--)Zc[t][1]===e&&Zc.splice(t,1);ou()}},iu=nu,su=iu,cu=fr,uu={};xr.transferToTaskMethod=function(e,t){uu[t]=e[t],e[t]=function(e,r){e.SkipTask?uu[t].call(this,e,r):this._addTask(t,e,r)}},xr.init=function(e){var t=[],r={},a=0,o=0,n=function(e){var t={id:e.id,Bucket:e.Bucket,Region:e.Region,Key:e.Key,FilePath:e.FilePath,state:e.state,loaded:e.loaded,size:e.size,speed:e.speed,percent:e.percent,hashPercent:e.hashPercent,error:e.error};return e.FilePath&&(t.FilePath=e.FilePath),t},i=function(){var r,a=function(){r=0,e.emit("task-list-update",{list:cu.map(t,n)}),e.emit("list-update",{list:cu.map(t,n)})};return function(){r||(r=setTimeout(a))}}(),s=function(){if(!(t.length<=e.options.UploadQueueSize)){for(var a=0;a<o&&a<t.length&&t.length>e.options.UploadQueueSize;){var n="waiting"===t[a].state||"checking"===t[a].state||"uploading"===t[a].state;t[a]&&n?a++:(r[t[a].id]&&delete r[t[a].id],t.splice(a,1),o--)}i()}},c=function(){if(!(a>=e.options.FileParallelLimit)){for(;t[o]&&"waiting"!==t[o].state;)o++;if(!(o>=t.length)){var r=t[o];o++,a++,r.state="checking",r.params.onTaskStart&&r.params.onTaskStart(n(r)),!r.params.UploadData&&(r.params.UploadData={});var u=cu.formatParams(r.api,r.params);uu[r.api].call(e,u,(function(t,o){e._isRunningTask(r.id)&&("checking"!==r.state&&"uploading"!==r.state||(r.state=t?"error":"success",t&&(r.error=t),a--,i(),c(),r.callback&&r.callback(t,o),"success"===r.state&&(r.params&&(delete r.params.UploadData,delete r.params.Body,delete r.params),delete r.callback)),s())})),i(),setTimeout(c)}}},u=function(t,o){var n=r[t];if(n){var u=n&&"waiting"===n.state,p=n&&("checking"===n.state||"uploading"===n.state);if("canceled"===o&&"canceled"!==n.state||"paused"===o&&u||"paused"===o&&p){if("paused"===o&&n.params.Body&&"function"==typeof n.params.Body.pipe)return void console.error("stream not support pause");n.state=o,e.emit("inner-kill-task",{TaskId:t,toState:o});try{var l=n&&n.params&&n.params.UploadData.UploadId}catch(e){}"canceled"===o&&l&&su.removeUsing(l),i(),p&&(a--,c()),"canceled"===o&&(n.params&&(delete n.params.UploadData,delete n.params.Body,delete n.params),delete n.callback)}s()}};e._addTasks=function(t){cu.each(t,(function(t){e._addTask(t.api,t.params,t.callback,!0)})),i()};var p=!0;e._addTask=function(a,o,n,u){o=cu.formatParams(a,o);var l=cu.uuid();o.TaskId=l,o.onTaskReady&&o.onTaskReady(l),o.TaskReady&&(o.TaskReady(l),p&&console.warn('warning: Param "TaskReady" has been deprecated. Please use "onTaskReady" instead.'),p=!1);var d={params:o,callback:n,api:a,index:t.length,id:l,Bucket:o.Bucket,Region:o.Region,Key:o.Key,FilePath:o.FilePath||"",state:"waiting",loaded:0,size:0,speed:0,percent:0,hashPercent:0,error:null},m=o.onHashProgress;o.onHashProgress=function(t){e._isRunningTask(d.id)&&(d.hashPercent=t.percent,m&&m(t),i())};var h=o.onProgress;return o.onProgress=function(t){e._isRunningTask(d.id)&&("checking"===d.state&&(d.state="uploading"),d.loaded=t.loaded,d.speed=t.speed,d.percent=t.percent,h&&h(t),i())},cu.getFileSize(a,o,(function(e,a){if(e)return n(cu.error(e));r[l]=d,t.push(d),d.size=a,!u&&i(),c(),s()})),l},e._isRunningTask=function(e){var t=r[e];return!(!t||"checking"!==t.state&&"uploading"!==t.state)},e.getTaskList=function(){return cu.map(t,n)},e.cancelTask=function(e){u(e,"canceled")},e.pauseTask=function(e){u(e,"paused")},e.restartTask=function(e){var t=r[e];!t||"paused"!==t.state&&"error"!==t.state||(t.state="waiting",i(),o=Math.min(o,t.index),c())},e.isUploadRunning=function(){return a||o<t.length}};var pu,lu,du,mu={},hu={name:"cos-nodejs-sdk-v5",version:"2.11.12",description:"cos nodejs sdk v5",main:"dist/bundle.js",scripts:{demo:"node demo/demo.js","demo-sts":"node demo/demo-sts.js","demo-sts-scope":"node demo/demo-sts-scope.js",test:"mocha test/test.js",nyc:"nyc --reporter=clover --reporter=cobertura mocha --reporter xunit --reporter-options output=mocha.xml test/test.js",csp:"mocha test/csp.js",bundle:"rm -rf dist && mkdir dist && rollup --config rollup.config.js"},repository:{type:"git",url:"git+https://github.com/tencentyun/cos-nodejs-sdk-v5.git"},keywords:["tencent","tencent cloud","qcloud","cos","cos-sdk"],author:"carsonxu",license:"ISC",bugs:{url:"https://github.com/tencentyun/cos-nodejs-sdk-v5/issues"},homepage:"https://github.com/tencentyun/cos-nodejs-sdk-v5#readme",dependencies:{conf:"^9.0.0","mime-types":"^2.1.24",request:"^2.88.2",xml2js:"^0.4.19"},devDependencies:{"@rollup/plugin-commonjs":"^23.0.0","@rollup/plugin-json":"^5.0.0","@rollup/plugin-node-resolve":"^14.1.0","@types/node":"^14.14.20",batch:"^0.6.1","crc64-ecma182.js":"^1.0.0",mocha:"^4.0.1",nyc:"^15.1.0","qcloud-cos-sts":"^3.0.0",rollup:"^2.79.1","rollup-plugin-terser":"^7.0.2"},engines:{node:">= 6"}},fu=Object.prototype.hasOwnProperty,gu=Object.prototype.toString,yu=Object.defineProperty,vu=Object.getOwnPropertyDescriptor,bu=function(e){return"function"==typeof Array.isArray?Array.isArray(e):"[object Array]"===gu.call(e)},ku=function(e){if(!e||"[object Object]"!==gu.call(e))return!1;var t,r=fu.call(e,"constructor"),a=e.constructor&&e.constructor.prototype&&fu.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!r&&!a)return!1;for(t in e);return void 0===t||fu.call(e,t)},wu=function(e,t){yu&&"__proto__"===t.name?yu(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},xu=function(e,t){if("__proto__"===t){if(!fu.call(e,t))return;if(vu)return vu(e,t).value}return e[t]},ju=function e(){var t,r,a,o,n,i,s=arguments[0],c=1,u=arguments.length,p=!1;for("boolean"==typeof s&&(p=s,s=arguments[1]||{},c=2),(null==s||"object"!=typeof s&&"function"!=typeof s)&&(s={});c<u;++c)if(null!=(t=arguments[c]))for(r in t)a=xu(s,r),s!==(o=xu(t,r))&&(p&&o&&(ku(o)||(n=bu(o)))?(n?(n=!1,i=a&&bu(a)?a:[]):i=a&&ku(a)?a:{},wu(s,{name:r,newValue:e(p,i,o)})):void 0!==o&&wu(s,{name:r,newValue:o}));return s},Eu={},Su={},_u={},Pu={},Cu=["ac","com.ac","edu.ac","gov.ac","net.ac","mil.ac","org.ac","ad","nom.ad","ae","co.ae","net.ae","org.ae","sch.ae","ac.ae","gov.ae","mil.ae","aero","accident-investigation.aero","accident-prevention.aero","aerobatic.aero","aeroclub.aero","aerodrome.aero","agents.aero","aircraft.aero","airline.aero","airport.aero","air-surveillance.aero","airtraffic.aero","air-traffic-control.aero","ambulance.aero","amusement.aero","association.aero","author.aero","ballooning.aero","broker.aero","caa.aero","cargo.aero","catering.aero","certification.aero","championship.aero","charter.aero","civilaviation.aero","club.aero","conference.aero","consultant.aero","consulting.aero","control.aero","council.aero","crew.aero","design.aero","dgca.aero","educator.aero","emergency.aero","engine.aero","engineer.aero","entertainment.aero","equipment.aero","exchange.aero","express.aero","federation.aero","flight.aero","fuel.aero","gliding.aero","government.aero","groundhandling.aero","group.aero","hanggliding.aero","homebuilt.aero","insurance.aero","journal.aero","journalist.aero","leasing.aero","logistics.aero","magazine.aero","maintenance.aero","media.aero","microlight.aero","modelling.aero","navigation.aero","parachuting.aero","paragliding.aero","passenger-association.aero","pilot.aero","press.aero","production.aero","recreation.aero","repbody.aero","res.aero","research.aero","rotorcraft.aero","safety.aero","scientist.aero","services.aero","show.aero","skydiving.aero","software.aero","student.aero","trader.aero","trading.aero","trainer.aero","union.aero","workinggroup.aero","works.aero","af","gov.af","com.af","org.af","net.af","edu.af","ag","com.ag","org.ag","net.ag","co.ag","nom.ag","ai","off.ai","com.ai","net.ai","org.ai","al","com.al","edu.al","gov.al","mil.al","net.al","org.al","am","co.am","com.am","commune.am","net.am","org.am","ao","ed.ao","gv.ao","og.ao","co.ao","pb.ao","it.ao","aq","ar","bet.ar","com.ar","coop.ar","edu.ar","gob.ar","gov.ar","int.ar","mil.ar","musica.ar","mutual.ar","net.ar","org.ar","senasa.ar","tur.ar","arpa","e164.arpa","in-addr.arpa","ip6.arpa","iris.arpa","uri.arpa","urn.arpa","as","gov.as","asia","at","ac.at","co.at","gv.at","or.at","sth.ac.at","au","com.au","net.au","org.au","edu.au","gov.au","asn.au","id.au","info.au","conf.au","oz.au","act.au","nsw.au","nt.au","qld.au","sa.au","tas.au","vic.au","wa.au","act.edu.au","catholic.edu.au","nsw.edu.au","nt.edu.au","qld.edu.au","sa.edu.au","tas.edu.au","vic.edu.au","wa.edu.au","qld.gov.au","sa.gov.au","tas.gov.au","vic.gov.au","wa.gov.au","schools.nsw.edu.au","aw","com.aw","ax","az","com.az","net.az","int.az","gov.az","org.az","edu.az","info.az","pp.az","mil.az","name.az","pro.az","biz.az","ba","com.ba","edu.ba","gov.ba","mil.ba","net.ba","org.ba","bb","biz.bb","co.bb","com.bb","edu.bb","gov.bb","info.bb","net.bb","org.bb","store.bb","tv.bb","*.bd","be","ac.be","bf","gov.bf","bg","a.bg","b.bg","c.bg","d.bg","e.bg","f.bg","g.bg","h.bg","i.bg","j.bg","k.bg","l.bg","m.bg","n.bg","o.bg","p.bg","q.bg","r.bg","s.bg","t.bg","u.bg","v.bg","w.bg","x.bg","y.bg","z.bg","0.bg","1.bg","2.bg","3.bg","4.bg","5.bg","6.bg","7.bg","8.bg","9.bg","bh","com.bh","edu.bh","net.bh","org.bh","gov.bh","bi","co.bi","com.bi","edu.bi","or.bi","org.bi","biz","bj","asso.bj","barreau.bj","gouv.bj","bm","com.bm","edu.bm","gov.bm","net.bm","org.bm","bn","com.bn","edu.bn","gov.bn","net.bn","org.bn","bo","com.bo","edu.bo","gob.bo","int.bo","org.bo","net.bo","mil.bo","tv.bo","web.bo","academia.bo","agro.bo","arte.bo","blog.bo","bolivia.bo","ciencia.bo","cooperativa.bo","democracia.bo","deporte.bo","ecologia.bo","economia.bo","empresa.bo","indigena.bo","industria.bo","info.bo","medicina.bo","movimiento.bo","musica.bo","natural.bo","nombre.bo","noticias.bo","patria.bo","politica.bo","profesional.bo","plurinacional.bo","pueblo.bo","revista.bo","salud.bo","tecnologia.bo","tksat.bo","transporte.bo","wiki.bo","br","9guacu.br","abc.br","adm.br","adv.br","agr.br","aju.br","am.br","anani.br","aparecida.br","app.br","arq.br","art.br","ato.br","b.br","barueri.br","belem.br","bhz.br","bib.br","bio.br","blog.br","bmd.br","boavista.br","bsb.br","campinagrande.br","campinas.br","caxias.br","cim.br","cng.br","cnt.br","com.br","contagem.br","coop.br","coz.br","cri.br","cuiaba.br","curitiba.br","def.br","des.br","det.br","dev.br","ecn.br","eco.br","edu.br","emp.br","enf.br","eng.br","esp.br","etc.br","eti.br","far.br","feira.br","flog.br","floripa.br","fm.br","fnd.br","fortal.br","fot.br","foz.br","fst.br","g12.br","geo.br","ggf.br","goiania.br","gov.br","ac.gov.br","al.gov.br","am.gov.br","ap.gov.br","ba.gov.br","ce.gov.br","df.gov.br","es.gov.br","go.gov.br","ma.gov.br","mg.gov.br","ms.gov.br","mt.gov.br","pa.gov.br","pb.gov.br","pe.gov.br","pi.gov.br","pr.gov.br","rj.gov.br","rn.gov.br","ro.gov.br","rr.gov.br","rs.gov.br","sc.gov.br","se.gov.br","sp.gov.br","to.gov.br","gru.br","imb.br","ind.br","inf.br","jab.br","jampa.br","jdf.br","joinville.br","jor.br","jus.br","leg.br","lel.br","log.br","londrina.br","macapa.br","maceio.br","manaus.br","maringa.br","mat.br","med.br","mil.br","morena.br","mp.br","mus.br","natal.br","net.br","niteroi.br","*.nom.br","not.br","ntr.br","odo.br","ong.br","org.br","osasco.br","palmas.br","poa.br","ppg.br","pro.br","psc.br","psi.br","pvh.br","qsl.br","radio.br","rec.br","recife.br","rep.br","ribeirao.br","rio.br","riobranco.br","riopreto.br","salvador.br","sampa.br","santamaria.br","santoandre.br","saobernardo.br","saogonca.br","seg.br","sjc.br","slg.br","slz.br","sorocaba.br","srv.br","taxi.br","tc.br","tec.br","teo.br","the.br","tmp.br","trd.br","tur.br","tv.br","udi.br","vet.br","vix.br","vlog.br","wiki.br","zlg.br","bs","com.bs","net.bs","org.bs","edu.bs","gov.bs","bt","com.bt","edu.bt","gov.bt","net.bt","org.bt","bv","bw","co.bw","org.bw","by","gov.by","mil.by","com.by","of.by","bz","com.bz","net.bz","org.bz","edu.bz","gov.bz","ca","ab.ca","bc.ca","mb.ca","nb.ca","nf.ca","nl.ca","ns.ca","nt.ca","nu.ca","on.ca","pe.ca","qc.ca","sk.ca","yk.ca","gc.ca","cat","cc","cd","gov.cd","cf","cg","ch","ci","org.ci","or.ci","com.ci","co.ci","edu.ci","ed.ci","ac.ci","net.ci","go.ci","asso.ci","aéroport.ci","int.ci","presse.ci","md.ci","gouv.ci","*.ck","!www.ck","cl","co.cl","gob.cl","gov.cl","mil.cl","cm","co.cm","com.cm","gov.cm","net.cm","cn","ac.cn","com.cn","edu.cn","gov.cn","net.cn","org.cn","mil.cn","公司.cn","网络.cn","網絡.cn","ah.cn","bj.cn","cq.cn","fj.cn","gd.cn","gs.cn","gz.cn","gx.cn","ha.cn","hb.cn","he.cn","hi.cn","hl.cn","hn.cn","jl.cn","js.cn","jx.cn","ln.cn","nm.cn","nx.cn","qh.cn","sc.cn","sd.cn","sh.cn","sn.cn","sx.cn","tj.cn","xj.cn","xz.cn","yn.cn","zj.cn","hk.cn","mo.cn","tw.cn","co","arts.co","com.co","edu.co","firm.co","gov.co","info.co","int.co","mil.co","net.co","nom.co","org.co","rec.co","web.co","com","coop","cr","ac.cr","co.cr","ed.cr","fi.cr","go.cr","or.cr","sa.cr","cu","com.cu","edu.cu","org.cu","net.cu","gov.cu","inf.cu","cv","com.cv","edu.cv","int.cv","nome.cv","org.cv","cw","com.cw","edu.cw","net.cw","org.cw","cx","gov.cx","cy","ac.cy","biz.cy","com.cy","ekloges.cy","gov.cy","ltd.cy","mil.cy","net.cy","org.cy","press.cy","pro.cy","tm.cy","cz","de","dj","dk","dm","com.dm","net.dm","org.dm","edu.dm","gov.dm","do","art.do","com.do","edu.do","gob.do","gov.do","mil.do","net.do","org.do","sld.do","web.do","dz","art.dz","asso.dz","com.dz","edu.dz","gov.dz","org.dz","net.dz","pol.dz","soc.dz","tm.dz","ec","com.ec","info.ec","net.ec","fin.ec","k12.ec","med.ec","pro.ec","org.ec","edu.ec","gov.ec","gob.ec","mil.ec","edu","ee","edu.ee","gov.ee","riik.ee","lib.ee","med.ee","com.ee","pri.ee","aip.ee","org.ee","fie.ee","eg","com.eg","edu.eg","eun.eg","gov.eg","mil.eg","name.eg","net.eg","org.eg","sci.eg","*.er","es","com.es","nom.es","org.es","gob.es","edu.es","et","com.et","gov.et","org.et","edu.et","biz.et","name.et","info.et","net.et","eu","fi","aland.fi","fj","ac.fj","biz.fj","com.fj","gov.fj","info.fj","mil.fj","name.fj","net.fj","org.fj","pro.fj","*.fk","com.fm","edu.fm","net.fm","org.fm","fm","fo","fr","asso.fr","com.fr","gouv.fr","nom.fr","prd.fr","tm.fr","aeroport.fr","avocat.fr","avoues.fr","cci.fr","chambagri.fr","chirurgiens-dentistes.fr","experts-comptables.fr","geometre-expert.fr","greta.fr","huissier-justice.fr","medecin.fr","notaires.fr","pharmacien.fr","port.fr","veterinaire.fr","ga","gb","edu.gd","gov.gd","gd","ge","com.ge","edu.ge","gov.ge","org.ge","mil.ge","net.ge","pvt.ge","gf","gg","co.gg","net.gg","org.gg","gh","com.gh","edu.gh","gov.gh","org.gh","mil.gh","gi","com.gi","ltd.gi","gov.gi","mod.gi","edu.gi","org.gi","gl","co.gl","com.gl","edu.gl","net.gl","org.gl","gm","gn","ac.gn","com.gn","edu.gn","gov.gn","org.gn","net.gn","gov","gp","com.gp","net.gp","mobi.gp","edu.gp","org.gp","asso.gp","gq","gr","com.gr","edu.gr","net.gr","org.gr","gov.gr","gs","gt","com.gt","edu.gt","gob.gt","ind.gt","mil.gt","net.gt","org.gt","gu","com.gu","edu.gu","gov.gu","guam.gu","info.gu","net.gu","org.gu","web.gu","gw","gy","co.gy","com.gy","edu.gy","gov.gy","net.gy","org.gy","hk","com.hk","edu.hk","gov.hk","idv.hk","net.hk","org.hk","公司.hk","教育.hk","敎育.hk","政府.hk","個人.hk","个��.hk","箇人.hk","網络.hk","网络.hk","组織.hk","網絡.hk","网絡.hk","组织.hk","組織.hk","組织.hk","hm","hn","com.hn","edu.hn","org.hn","net.hn","mil.hn","gob.hn","hr","iz.hr","from.hr","name.hr","com.hr","ht","com.ht","shop.ht","firm.ht","info.ht","adult.ht","net.ht","pro.ht","org.ht","med.ht","art.ht","coop.ht","pol.ht","asso.ht","edu.ht","rel.ht","gouv.ht","perso.ht","hu","co.hu","info.hu","org.hu","priv.hu","sport.hu","tm.hu","2000.hu","agrar.hu","bolt.hu","casino.hu","city.hu","erotica.hu","erotika.hu","film.hu","forum.hu","games.hu","hotel.hu","ingatlan.hu","jogasz.hu","konyvelo.hu","lakas.hu","media.hu","news.hu","reklam.hu","sex.hu","shop.hu","suli.hu","szex.hu","tozsde.hu","utazas.hu","video.hu","id","ac.id","biz.id","co.id","desa.id","go.id","mil.id","my.id","net.id","or.id","ponpes.id","sch.id","web.id","ie","gov.ie","il","ac.il","co.il","gov.il","idf.il","k12.il","muni.il","net.il","org.il","im","ac.im","co.im","com.im","ltd.co.im","net.im","org.im","plc.co.im","tt.im","tv.im","in","co.in","firm.in","net.in","org.in","gen.in","ind.in","nic.in","ac.in","edu.in","res.in","gov.in","mil.in","info","int","eu.int","io","com.io","iq","gov.iq","edu.iq","mil.iq","com.iq","org.iq","net.iq","ir","ac.ir","co.ir","gov.ir","id.ir","net.ir","org.ir","sch.ir","ایران.ir","ايران.ir","is","net.is","com.is","edu.is","gov.is","org.is","int.is","it","gov.it","edu.it","abr.it","abruzzo.it","aosta-valley.it","aostavalley.it","bas.it","basilicata.it","cal.it","calabria.it","cam.it","campania.it","emilia-romagna.it","emiliaromagna.it","emr.it","friuli-v-giulia.it","friuli-ve-giulia.it","friuli-vegiulia.it","friuli-venezia-giulia.it","friuli-veneziagiulia.it","friuli-vgiulia.it","friuliv-giulia.it","friulive-giulia.it","friulivegiulia.it","friulivenezia-giulia.it","friuliveneziagiulia.it","friulivgiulia.it","fvg.it","laz.it","lazio.it","lig.it","liguria.it","lom.it","lombardia.it","lombardy.it","lucania.it","mar.it","marche.it","mol.it","molise.it","piedmont.it","piemonte.it","pmn.it","pug.it","puglia.it","sar.it","sardegna.it","sardinia.it","sic.it","sicilia.it","sicily.it","taa.it","tos.it","toscana.it","trentin-sud-tirol.it","trentin-süd-tirol.it","trentin-sudtirol.it","trentin-südtirol.it","trentin-sued-tirol.it","trentin-suedtirol.it","trentino-a-adige.it","trentino-aadige.it","trentino-alto-adige.it","trentino-altoadige.it","trentino-s-tirol.it","trentino-stirol.it","trentino-sud-tirol.it","trentino-süd-tirol.it","trentino-sudtirol.it","trentino-südtirol.it","trentino-sued-tirol.it","trentino-suedtirol.it","trentino.it","trentinoa-adige.it","trentinoaadige.it","trentinoalto-adige.it","trentinoaltoadige.it","trentinos-tirol.it","trentinostirol.it","trentinosud-tirol.it","trentinosüd-tirol.it","trentinosudtirol.it","trentinosüdtirol.it","trentinosued-tirol.it","trentinosuedtirol.it","trentinsud-tirol.it","trentinsüd-tirol.it","trentinsudtirol.it","trentinsüdtirol.it","trentinsued-tirol.it","trentinsuedtirol.it","tuscany.it","umb.it","umbria.it","val-d-aosta.it","val-daosta.it","vald-aosta.it","valdaosta.it","valle-aosta.it","valle-d-aosta.it","valle-daosta.it","valleaosta.it","valled-aosta.it","valledaosta.it","vallee-aoste.it","vallée-aoste.it","vallee-d-aoste.it","vallée-d-aoste.it","valleeaoste.it","valléeaoste.it","valleedaoste.it","valléedaoste.it","vao.it","vda.it","ven.it","veneto.it","ag.it","agrigento.it","al.it","alessandria.it","alto-adige.it","altoadige.it","an.it","ancona.it","andria-barletta-trani.it","andria-trani-barletta.it","andriabarlettatrani.it","andriatranibarletta.it","ao.it","aosta.it","aoste.it","ap.it","aq.it","aquila.it","ar.it","arezzo.it","ascoli-piceno.it","ascolipiceno.it","asti.it","at.it","av.it","avellino.it","ba.it","balsan-sudtirol.it","balsan-südtirol.it","balsan-suedtirol.it","balsan.it","bari.it","barletta-trani-andria.it","barlettatraniandria.it","belluno.it","benevento.it","bergamo.it","bg.it","bi.it","biella.it","bl.it","bn.it","bo.it","bologna.it","bolzano-altoadige.it","bolzano.it","bozen-sudtirol.it","bozen-südtirol.it","bozen-suedtirol.it","bozen.it","br.it","brescia.it","brindisi.it","bs.it","bt.it","bulsan-sudtirol.it","bulsan-südtirol.it","bulsan-suedtirol.it","bulsan.it","bz.it","ca.it","cagliari.it","caltanissetta.it","campidano-medio.it","campidanomedio.it","campobasso.it","carbonia-iglesias.it","carboniaiglesias.it","carrara-massa.it","carraramassa.it","caserta.it","catania.it","catanzaro.it","cb.it","ce.it","cesena-forli.it","cesena-forlì.it","cesenaforli.it","cesenaforlì.it","ch.it","chieti.it","ci.it","cl.it","cn.it","co.it","como.it","cosenza.it","cr.it","cremona.it","crotone.it","cs.it","ct.it","cuneo.it","cz.it","dell-ogliastra.it","dellogliastra.it","en.it","enna.it","fc.it","fe.it","fermo.it","ferrara.it","fg.it","fi.it","firenze.it","florence.it","fm.it","foggia.it","forli-cesena.it","forlì-cesena.it","forlicesena.it","forlìcesena.it","fr.it","frosinone.it","ge.it","genoa.it","genova.it","go.it","gorizia.it","gr.it","grosseto.it","iglesias-carbonia.it","iglesiascarbonia.it","im.it","imperia.it","is.it","isernia.it","kr.it","la-spezia.it","laquila.it","laspezia.it","latina.it","lc.it","le.it","lecce.it","lecco.it","li.it","livorno.it","lo.it","lodi.it","lt.it","lu.it","lucca.it","macerata.it","mantova.it","massa-carrara.it","massacarrara.it","matera.it","mb.it","mc.it","me.it","medio-campidano.it","mediocampidano.it","messina.it","mi.it","milan.it","milano.it","mn.it","mo.it","modena.it","monza-brianza.it","monza-e-della-brianza.it","monza.it","monzabrianza.it","monzaebrianza.it","monzaedellabrianza.it","ms.it","mt.it","na.it","naples.it","napoli.it","no.it","novara.it","nu.it","nuoro.it","og.it","ogliastra.it","olbia-tempio.it","olbiatempio.it","or.it","oristano.it","ot.it","pa.it","padova.it","padua.it","palermo.it","parma.it","pavia.it","pc.it","pd.it","pe.it","perugia.it","pesaro-urbino.it","pesarourbino.it","pescara.it","pg.it","pi.it","piacenza.it","pisa.it","pistoia.it","pn.it","po.it","pordenone.it","potenza.it","pr.it","prato.it","pt.it","pu.it","pv.it","pz.it","ra.it","ragusa.it","ravenna.it","rc.it","re.it","reggio-calabria.it","reggio-emilia.it","reggiocalabria.it","reggioemilia.it","rg.it","ri.it","rieti.it","rimini.it","rm.it","rn.it","ro.it","roma.it","rome.it","rovigo.it","sa.it","salerno.it","sassari.it","savona.it","si.it","siena.it","siracusa.it","so.it","sondrio.it","sp.it","sr.it","ss.it","suedtirol.it","südtirol.it","sv.it","ta.it","taranto.it","te.it","tempio-olbia.it","tempioolbia.it","teramo.it","terni.it","tn.it","to.it","torino.it","tp.it","tr.it","trani-andria-barletta.it","trani-barletta-andria.it","traniandriabarletta.it","tranibarlettaandria.it","trapani.it","trento.it","treviso.it","trieste.it","ts.it","turin.it","tv.it","ud.it","udine.it","urbino-pesaro.it","urbinopesaro.it","va.it","varese.it","vb.it","vc.it","ve.it","venezia.it","venice.it","verbania.it","vercelli.it","verona.it","vi.it","vibo-valentia.it","vibovalentia.it","vicenza.it","viterbo.it","vr.it","vs.it","vt.it","vv.it","je","co.je","net.je","org.je","*.jm","jo","com.jo","org.jo","net.jo","edu.jo","sch.jo","gov.jo","mil.jo","name.jo","jobs","jp","ac.jp","ad.jp","co.jp","ed.jp","go.jp","gr.jp","lg.jp","ne.jp","or.jp","aichi.jp","akita.jp","aomori.jp","chiba.jp","ehime.jp","fukui.jp","fukuoka.jp","fukushima.jp","gifu.jp","gunma.jp","hiroshima.jp","hokkaido.jp","hyogo.jp","ibaraki.jp","ishikawa.jp","iwate.jp","kagawa.jp","kagoshima.jp","kanagawa.jp","kochi.jp","kumamoto.jp","kyoto.jp","mie.jp","miyagi.jp","miyazaki.jp","nagano.jp","nagasaki.jp","nara.jp","niigata.jp","oita.jp","okayama.jp","okinawa.jp","osaka.jp","saga.jp","saitama.jp","shiga.jp","shimane.jp","shizuoka.jp","tochigi.jp","tokushima.jp","tokyo.jp","tottori.jp","toyama.jp","wakayama.jp","yamagata.jp","yamaguchi.jp","yamanashi.jp","栃木.jp","愛知.jp","愛媛.jp","兵庫.jp","熊本.jp","茨城.jp","北海道.jp","千葉.jp","和歌山.jp","長崎.jp","長野.jp","新潟.jp","青森.jp","静岡.jp","東京.jp","石川.jp","埼玉.jp","三重.jp","京都.jp","佐賀.jp","大分.jp","大阪.jp","奈良.jp","宮城.jp","宮崎.jp","富山.jp","山口.jp","山形.jp","山梨.jp","岩手.jp","岐阜.jp","岡山.jp","島根.jp","広島.jp","徳島.jp","沖縄.jp","滋賀.jp","神奈川.jp","福井.jp","福岡.jp","福島.jp","秋田.jp","群馬.jp","香川.jp","高知.jp","鳥取.jp","鹿児島.jp","*.kawasaki.jp","*.kitakyushu.jp","*.kobe.jp","*.nagoya.jp","*.sapporo.jp","*.sendai.jp","*.yokohama.jp","!city.kawasaki.jp","!city.kitakyushu.jp","!city.kobe.jp","!city.nagoya.jp","!city.sapporo.jp","!city.sendai.jp","!city.yokohama.jp","aisai.aichi.jp","ama.aichi.jp","anjo.aichi.jp","asuke.aichi.jp","chiryu.aichi.jp","chita.aichi.jp","fuso.aichi.jp","gamagori.aichi.jp","handa.aichi.jp","hazu.aichi.jp","hekinan.aichi.jp","higashiura.aichi.jp","ichinomiya.aichi.jp","inazawa.aichi.jp","inuyama.aichi.jp","isshiki.aichi.jp","iwakura.aichi.jp","kanie.aichi.jp","kariya.aichi.jp","kasugai.aichi.jp","kira.aichi.jp","kiyosu.aichi.jp","komaki.aichi.jp","konan.aichi.jp","kota.aichi.jp","mihama.aichi.jp","miyoshi.aichi.jp","nishio.aichi.jp","nisshin.aichi.jp","obu.aichi.jp","oguchi.aichi.jp","oharu.aichi.jp","okazaki.aichi.jp","owariasahi.aichi.jp","seto.aichi.jp","shikatsu.aichi.jp","shinshiro.aichi.jp","shitara.aichi.jp","tahara.aichi.jp","takahama.aichi.jp","tobishima.aichi.jp","toei.aichi.jp","togo.aichi.jp","tokai.aichi.jp","tokoname.aichi.jp","toyoake.aichi.jp","toyohashi.aichi.jp","toyokawa.aichi.jp","toyone.aichi.jp","toyota.aichi.jp","tsushima.aichi.jp","yatomi.aichi.jp","akita.akita.jp","daisen.akita.jp","fujisato.akita.jp","gojome.akita.jp","hachirogata.akita.jp","happou.akita.jp","higashinaruse.akita.jp","honjo.akita.jp","honjyo.akita.jp","ikawa.akita.jp","kamikoani.akita.jp","kamioka.akita.jp","katagami.akita.jp","kazuno.akita.jp","kitaakita.akita.jp","kosaka.akita.jp","kyowa.akita.jp","misato.akita.jp","mitane.akita.jp","moriyoshi.akita.jp","nikaho.akita.jp","noshiro.akita.jp","odate.akita.jp","oga.akita.jp","ogata.akita.jp","semboku.akita.jp","yokote.akita.jp","yurihonjo.akita.jp","aomori.aomori.jp","gonohe.aomori.jp","hachinohe.aomori.jp","hashikami.aomori.jp","hiranai.aomori.jp","hirosaki.aomori.jp","itayanagi.aomori.jp","kuroishi.aomori.jp","misawa.aomori.jp","mutsu.aomori.jp","nakadomari.aomori.jp","noheji.aomori.jp","oirase.aomori.jp","owani.aomori.jp","rokunohe.aomori.jp","sannohe.aomori.jp","shichinohe.aomori.jp","shingo.aomori.jp","takko.aomori.jp","towada.aomori.jp","tsugaru.aomori.jp","tsuruta.aomori.jp","abiko.chiba.jp","asahi.chiba.jp","chonan.chiba.jp","chosei.chiba.jp","choshi.chiba.jp","chuo.chiba.jp","funabashi.chiba.jp","futtsu.chiba.jp","hanamigawa.chiba.jp","ichihara.chiba.jp","ichikawa.chiba.jp","ichinomiya.chiba.jp","inzai.chiba.jp","isumi.chiba.jp","kamagaya.chiba.jp","kamogawa.chiba.jp","kashiwa.chiba.jp","katori.chiba.jp","katsuura.chiba.jp","kimitsu.chiba.jp","kisarazu.chiba.jp","kozaki.chiba.jp","kujukuri.chiba.jp","kyonan.chiba.jp","matsudo.chiba.jp","midori.chiba.jp","mihama.chiba.jp","minamiboso.chiba.jp","mobara.chiba.jp","mutsuzawa.chiba.jp","nagara.chiba.jp","nagareyama.chiba.jp","narashino.chiba.jp","narita.chiba.jp","noda.chiba.jp","oamishirasato.chiba.jp","omigawa.chiba.jp","onjuku.chiba.jp","otaki.chiba.jp","sakae.chiba.jp","sakura.chiba.jp","shimofusa.chiba.jp","shirako.chiba.jp","shiroi.chiba.jp","shisui.chiba.jp","sodegaura.chiba.jp","sosa.chiba.jp","tako.chiba.jp","tateyama.chiba.jp","togane.chiba.jp","tohnosho.chiba.jp","tomisato.chiba.jp","urayasu.chiba.jp","yachimata.chiba.jp","yachiyo.chiba.jp","yokaichiba.chiba.jp","yokoshibahikari.chiba.jp","yotsukaido.chiba.jp","ainan.ehime.jp","honai.ehime.jp","ikata.ehime.jp","imabari.ehime.jp","iyo.ehime.jp","kamijima.ehime.jp","kihoku.ehime.jp","kumakogen.ehime.jp","masaki.ehime.jp","matsuno.ehime.jp","matsuyama.ehime.jp","namikata.ehime.jp","niihama.ehime.jp","ozu.ehime.jp","saijo.ehime.jp","seiyo.ehime.jp","shikokuchuo.ehime.jp","tobe.ehime.jp","toon.ehime.jp","uchiko.ehime.jp","uwajima.ehime.jp","yawatahama.ehime.jp","echizen.fukui.jp","eiheiji.fukui.jp","fukui.fukui.jp","ikeda.fukui.jp","katsuyama.fukui.jp","mihama.fukui.jp","minamiechizen.fukui.jp","obama.fukui.jp","ohi.fukui.jp","ono.fukui.jp","sabae.fukui.jp","sakai.fukui.jp","takahama.fukui.jp","tsuruga.fukui.jp","wakasa.fukui.jp","ashiya.fukuoka.jp","buzen.fukuoka.jp","chikugo.fukuoka.jp","chikuho.fukuoka.jp","chikujo.fukuoka.jp","chikushino.fukuoka.jp","chikuzen.fukuoka.jp","chuo.fukuoka.jp","dazaifu.fukuoka.jp","fukuchi.fukuoka.jp","hakata.fukuoka.jp","higashi.fukuoka.jp","hirokawa.fukuoka.jp","hisayama.fukuoka.jp","iizuka.fukuoka.jp","inatsuki.fukuoka.jp","kaho.fukuoka.jp","kasuga.fukuoka.jp","kasuya.fukuoka.jp","kawara.fukuoka.jp","keisen.fukuoka.jp","koga.fukuoka.jp","kurate.fukuoka.jp","kurogi.fukuoka.jp","kurume.fukuoka.jp","minami.fukuoka.jp","miyako.fukuoka.jp","miyama.fukuoka.jp","miyawaka.fukuoka.jp","mizumaki.fukuoka.jp","munakata.fukuoka.jp","nakagawa.fukuoka.jp","nakama.fukuoka.jp","nishi.fukuoka.jp","nogata.fukuoka.jp","ogori.fukuoka.jp","okagaki.fukuoka.jp","okawa.fukuoka.jp","oki.fukuoka.jp","omuta.fukuoka.jp","onga.fukuoka.jp","onojo.fukuoka.jp","oto.fukuoka.jp","saigawa.fukuoka.jp","sasaguri.fukuoka.jp","shingu.fukuoka.jp","shinyoshitomi.fukuoka.jp","shonai.fukuoka.jp","soeda.fukuoka.jp","sue.fukuoka.jp","tachiarai.fukuoka.jp","tagawa.fukuoka.jp","takata.fukuoka.jp","toho.fukuoka.jp","toyotsu.fukuoka.jp","tsuiki.fukuoka.jp","ukiha.fukuoka.jp","umi.fukuoka.jp","usui.fukuoka.jp","yamada.fukuoka.jp","yame.fukuoka.jp","yanagawa.fukuoka.jp","yukuhashi.fukuoka.jp","aizubange.fukushima.jp","aizumisato.fukushima.jp","aizuwakamatsu.fukushima.jp","asakawa.fukushima.jp","bandai.fukushima.jp","date.fukushima.jp","fukushima.fukushima.jp","furudono.fukushima.jp","futaba.fukushima.jp","hanawa.fukushima.jp","higashi.fukushima.jp","hirata.fukushima.jp","hirono.fukushima.jp","iitate.fukushima.jp","inawashiro.fukushima.jp","ishikawa.fukushima.jp","iwaki.fukushima.jp","izumizaki.fukushima.jp","kagamiishi.fukushima.jp","kaneyama.fukushima.jp","kawamata.fukushima.jp","kitakata.fukushima.jp","kitashiobara.fukushima.jp","koori.fukushima.jp","koriyama.fukushima.jp","kunimi.fukushima.jp","miharu.fukushima.jp","mishima.fukushima.jp","namie.fukushima.jp","nango.fukushima.jp","nishiaizu.fukushima.jp","nishigo.fukushima.jp","okuma.fukushima.jp","omotego.fukushima.jp","ono.fukushima.jp","otama.fukushima.jp","samegawa.fukushima.jp","shimogo.fukushima.jp","shirakawa.fukushima.jp","showa.fukushima.jp","soma.fukushima.jp","sukagawa.fukushima.jp","taishin.fukushima.jp","tamakawa.fukushima.jp","tanagura.fukushima.jp","tenei.fukushima.jp","yabuki.fukushima.jp","yamato.fukushima.jp","yamatsuri.fukushima.jp","yanaizu.fukushima.jp","yugawa.fukushima.jp","anpachi.gifu.jp","ena.gifu.jp","gifu.gifu.jp","ginan.gifu.jp","godo.gifu.jp","gujo.gifu.jp","hashima.gifu.jp","hichiso.gifu.jp","hida.gifu.jp","higashishirakawa.gifu.jp","ibigawa.gifu.jp","ikeda.gifu.jp","kakamigahara.gifu.jp","kani.gifu.jp","kasahara.gifu.jp","kasamatsu.gifu.jp","kawaue.gifu.jp","kitagata.gifu.jp","mino.gifu.jp","minokamo.gifu.jp","mitake.gifu.jp","mizunami.gifu.jp","motosu.gifu.jp","nakatsugawa.gifu.jp","ogaki.gifu.jp","sakahogi.gifu.jp","seki.gifu.jp","sekigahara.gifu.jp","shirakawa.gifu.jp","tajimi.gifu.jp","takayama.gifu.jp","tarui.gifu.jp","toki.gifu.jp","tomika.gifu.jp","wanouchi.gifu.jp","yamagata.gifu.jp","yaotsu.gifu.jp","yoro.gifu.jp","annaka.gunma.jp","chiyoda.gunma.jp","fujioka.gunma.jp","higashiagatsuma.gunma.jp","isesaki.gunma.jp","itakura.gunma.jp","kanna.gunma.jp","kanra.gunma.jp","katashina.gunma.jp","kawaba.gunma.jp","kiryu.gunma.jp","kusatsu.gunma.jp","maebashi.gunma.jp","meiwa.gunma.jp","midori.gunma.jp","minakami.gunma.jp","naganohara.gunma.jp","nakanojo.gunma.jp","nanmoku.gunma.jp","numata.gunma.jp","oizumi.gunma.jp","ora.gunma.jp","ota.gunma.jp","shibukawa.gunma.jp","shimonita.gunma.jp","shinto.gunma.jp","showa.gunma.jp","takasaki.gunma.jp","takayama.gunma.jp","tamamura.gunma.jp","tatebayashi.gunma.jp","tomioka.gunma.jp","tsukiyono.gunma.jp","tsumagoi.gunma.jp","ueno.gunma.jp","yoshioka.gunma.jp","asaminami.hiroshima.jp","daiwa.hiroshima.jp","etajima.hiroshima.jp","fuchu.hiroshima.jp","fukuyama.hiroshima.jp","hatsukaichi.hiroshima.jp","higashihiroshima.hiroshima.jp","hongo.hiroshima.jp","jinsekikogen.hiroshima.jp","kaita.hiroshima.jp","kui.hiroshima.jp","kumano.hiroshima.jp","kure.hiroshima.jp","mihara.hiroshima.jp","miyoshi.hiroshima.jp","naka.hiroshima.jp","onomichi.hiroshima.jp","osakikamijima.hiroshima.jp","otake.hiroshima.jp","saka.hiroshima.jp","sera.hiroshima.jp","seranishi.hiroshima.jp","shinichi.hiroshima.jp","shobara.hiroshima.jp","takehara.hiroshima.jp","abashiri.hokkaido.jp","abira.hokkaido.jp","aibetsu.hokkaido.jp","akabira.hokkaido.jp","akkeshi.hokkaido.jp","asahikawa.hokkaido.jp","ashibetsu.hokkaido.jp","ashoro.hokkaido.jp","assabu.hokkaido.jp","atsuma.hokkaido.jp","bibai.hokkaido.jp","biei.hokkaido.jp","bifuka.hokkaido.jp","bihoro.hokkaido.jp","biratori.hokkaido.jp","chippubetsu.hokkaido.jp","chitose.hokkaido.jp","date.hokkaido.jp","ebetsu.hokkaido.jp","embetsu.hokkaido.jp","eniwa.hokkaido.jp","erimo.hokkaido.jp","esan.hokkaido.jp","esashi.hokkaido.jp","fukagawa.hokkaido.jp","fukushima.hokkaido.jp","furano.hokkaido.jp","furubira.hokkaido.jp","haboro.hokkaido.jp","hakodate.hokkaido.jp","hamatonbetsu.hokkaido.jp","hidaka.hokkaido.jp","higashikagura.hokkaido.jp","higashikawa.hokkaido.jp","hiroo.hokkaido.jp","hokuryu.hokkaido.jp","hokuto.hokkaido.jp","honbetsu.hokkaido.jp","horokanai.hokkaido.jp","horonobe.hokkaido.jp","ikeda.hokkaido.jp","imakane.hokkaido.jp","ishikari.hokkaido.jp","iwamizawa.hokkaido.jp","iwanai.hokkaido.jp","kamifurano.hokkaido.jp","kamikawa.hokkaido.jp","kamishihoro.hokkaido.jp","kamisunagawa.hokkaido.jp","kamoenai.hokkaido.jp","kayabe.hokkaido.jp","kembuchi.hokkaido.jp","kikonai.hokkaido.jp","kimobetsu.hokkaido.jp","kitahiroshima.hokkaido.jp","kitami.hokkaido.jp","kiyosato.hokkaido.jp","koshimizu.hokkaido.jp","kunneppu.hokkaido.jp","kuriyama.hokkaido.jp","kuromatsunai.hokkaido.jp","kushiro.hokkaido.jp","kutchan.hokkaido.jp","kyowa.hokkaido.jp","mashike.hokkaido.jp","matsumae.hokkaido.jp","mikasa.hokkaido.jp","minamifurano.hokkaido.jp","mombetsu.hokkaido.jp","moseushi.hokkaido.jp","mukawa.hokkaido.jp","muroran.hokkaido.jp","naie.hokkaido.jp","nakagawa.hokkaido.jp","nakasatsunai.hokkaido.jp","nakatombetsu.hokkaido.jp","nanae.hokkaido.jp","nanporo.hokkaido.jp","nayoro.hokkaido.jp","nemuro.hokkaido.jp","niikappu.hokkaido.jp","niki.hokkaido.jp","nishiokoppe.hokkaido.jp","noboribetsu.hokkaido.jp","numata.hokkaido.jp","obihiro.hokkaido.jp","obira.hokkaido.jp","oketo.hokkaido.jp","okoppe.hokkaido.jp","otaru.hokkaido.jp","otobe.hokkaido.jp","otofuke.hokkaido.jp","otoineppu.hokkaido.jp","oumu.hokkaido.jp","ozora.hokkaido.jp","pippu.hokkaido.jp","rankoshi.hokkaido.jp","rebun.hokkaido.jp","rikubetsu.hokkaido.jp","rishiri.hokkaido.jp","rishirifuji.hokkaido.jp","saroma.hokkaido.jp","sarufutsu.hokkaido.jp","shakotan.hokkaido.jp","shari.hokkaido.jp","shibecha.hokkaido.jp","shibetsu.hokkaido.jp","shikabe.hokkaido.jp","shikaoi.hokkaido.jp","shimamaki.hokkaido.jp","shimizu.hokkaido.jp","shimokawa.hokkaido.jp","shinshinotsu.hokkaido.jp","shintoku.hokkaido.jp","shiranuka.hokkaido.jp","shiraoi.hokkaido.jp","shiriuchi.hokkaido.jp","sobetsu.hokkaido.jp","sunagawa.hokkaido.jp","taiki.hokkaido.jp","takasu.hokkaido.jp","takikawa.hokkaido.jp","takinoue.hokkaido.jp","teshikaga.hokkaido.jp","tobetsu.hokkaido.jp","tohma.hokkaido.jp","tomakomai.hokkaido.jp","tomari.hokkaido.jp","toya.hokkaido.jp","toyako.hokkaido.jp","toyotomi.hokkaido.jp","toyoura.hokkaido.jp","tsubetsu.hokkaido.jp","tsukigata.hokkaido.jp","urakawa.hokkaido.jp","urausu.hokkaido.jp","uryu.hokkaido.jp","utashinai.hokkaido.jp","wakkanai.hokkaido.jp","wassamu.hokkaido.jp","yakumo.hokkaido.jp","yoichi.hokkaido.jp","aioi.hyogo.jp","akashi.hyogo.jp","ako.hyogo.jp","amagasaki.hyogo.jp","aogaki.hyogo.jp","asago.hyogo.jp","ashiya.hyogo.jp","awaji.hyogo.jp","fukusaki.hyogo.jp","goshiki.hyogo.jp","harima.hyogo.jp","himeji.hyogo.jp","ichikawa.hyogo.jp","inagawa.hyogo.jp","itami.hyogo.jp","kakogawa.hyogo.jp","kamigori.hyogo.jp","kamikawa.hyogo.jp","kasai.hyogo.jp","kasuga.hyogo.jp","kawanishi.hyogo.jp","miki.hyogo.jp","minamiawaji.hyogo.jp","nishinomiya.hyogo.jp","nishiwaki.hyogo.jp","ono.hyogo.jp","sanda.hyogo.jp","sannan.hyogo.jp","sasayama.hyogo.jp","sayo.hyogo.jp","shingu.hyogo.jp","shinonsen.hyogo.jp","shiso.hyogo.jp","sumoto.hyogo.jp","taishi.hyogo.jp","taka.hyogo.jp","takarazuka.hyogo.jp","takasago.hyogo.jp","takino.hyogo.jp","tamba.hyogo.jp","tatsuno.hyogo.jp","toyooka.hyogo.jp","yabu.hyogo.jp","yashiro.hyogo.jp","yoka.hyogo.jp","yokawa.hyogo.jp","ami.ibaraki.jp","asahi.ibaraki.jp","bando.ibaraki.jp","chikusei.ibaraki.jp","daigo.ibaraki.jp","fujishiro.ibaraki.jp","hitachi.ibaraki.jp","hitachinaka.ibaraki.jp","hitachiomiya.ibaraki.jp","hitachiota.ibaraki.jp","ibaraki.ibaraki.jp","ina.ibaraki.jp","inashiki.ibaraki.jp","itako.ibaraki.jp","iwama.ibaraki.jp","joso.ibaraki.jp","kamisu.ibaraki.jp","kasama.ibaraki.jp","kashima.ibaraki.jp","kasumigaura.ibaraki.jp","koga.ibaraki.jp","miho.ibaraki.jp","mito.ibaraki.jp","moriya.ibaraki.jp","naka.ibaraki.jp","namegata.ibaraki.jp","oarai.ibaraki.jp","ogawa.ibaraki.jp","omitama.ibaraki.jp","ryugasaki.ibaraki.jp","sakai.ibaraki.jp","sakuragawa.ibaraki.jp","shimodate.ibaraki.jp","shimotsuma.ibaraki.jp","shirosato.ibaraki.jp","sowa.ibaraki.jp","suifu.ibaraki.jp","takahagi.ibaraki.jp","tamatsukuri.ibaraki.jp","tokai.ibaraki.jp","tomobe.ibaraki.jp","tone.ibaraki.jp","toride.ibaraki.jp","tsuchiura.ibaraki.jp","tsukuba.ibaraki.jp","uchihara.ibaraki.jp","ushiku.ibaraki.jp","yachiyo.ibaraki.jp","yamagata.ibaraki.jp","yawara.ibaraki.jp","yuki.ibaraki.jp","anamizu.ishikawa.jp","hakui.ishikawa.jp","hakusan.ishikawa.jp","kaga.ishikawa.jp","kahoku.ishikawa.jp","kanazawa.ishikawa.jp","kawakita.ishikawa.jp","komatsu.ishikawa.jp","nakanoto.ishikawa.jp","nanao.ishikawa.jp","nomi.ishikawa.jp","nonoichi.ishikawa.jp","noto.ishikawa.jp","shika.ishikawa.jp","suzu.ishikawa.jp","tsubata.ishikawa.jp","tsurugi.ishikawa.jp","uchinada.ishikawa.jp","wajima.ishikawa.jp","fudai.iwate.jp","fujisawa.iwate.jp","hanamaki.iwate.jp","hiraizumi.iwate.jp","hirono.iwate.jp","ichinohe.iwate.jp","ichinoseki.iwate.jp","iwaizumi.iwate.jp","iwate.iwate.jp","joboji.iwate.jp","kamaishi.iwate.jp","kanegasaki.iwate.jp","karumai.iwate.jp","kawai.iwate.jp","kitakami.iwate.jp","kuji.iwate.jp","kunohe.iwate.jp","kuzumaki.iwate.jp","miyako.iwate.jp","mizusawa.iwate.jp","morioka.iwate.jp","ninohe.iwate.jp","noda.iwate.jp","ofunato.iwate.jp","oshu.iwate.jp","otsuchi.iwate.jp","rikuzentakata.iwate.jp","shiwa.iwate.jp","shizukuishi.iwate.jp","sumita.iwate.jp","tanohata.iwate.jp","tono.iwate.jp","yahaba.iwate.jp","yamada.iwate.jp","ayagawa.kagawa.jp","higashikagawa.kagawa.jp","kanonji.kagawa.jp","kotohira.kagawa.jp","manno.kagawa.jp","marugame.kagawa.jp","mitoyo.kagawa.jp","naoshima.kagawa.jp","sanuki.kagawa.jp","tadotsu.kagawa.jp","takamatsu.kagawa.jp","tonosho.kagawa.jp","uchinomi.kagawa.jp","utazu.kagawa.jp","zentsuji.kagawa.jp","akune.kagoshima.jp","amami.kagoshima.jp","hioki.kagoshima.jp","isa.kagoshima.jp","isen.kagoshima.jp","izumi.kagoshima.jp","kagoshima.kagoshima.jp","kanoya.kagoshima.jp","kawanabe.kagoshima.jp","kinko.kagoshima.jp","kouyama.kagoshima.jp","makurazaki.kagoshima.jp","matsumoto.kagoshima.jp","minamitane.kagoshima.jp","nakatane.kagoshima.jp","nishinoomote.kagoshima.jp","satsumasendai.kagoshima.jp","soo.kagoshima.jp","tarumizu.kagoshima.jp","yusui.kagoshima.jp","aikawa.kanagawa.jp","atsugi.kanagawa.jp","ayase.kanagawa.jp","chigasaki.kanagawa.jp","ebina.kanagawa.jp","fujisawa.kanagawa.jp","hadano.kanagawa.jp","hakone.kanagawa.jp","hiratsuka.kanagawa.jp","isehara.kanagawa.jp","kaisei.kanagawa.jp","kamakura.kanagawa.jp","kiyokawa.kanagawa.jp","matsuda.kanagawa.jp","minamiashigara.kanagawa.jp","miura.kanagawa.jp","nakai.kanagawa.jp","ninomiya.kanagawa.jp","odawara.kanagawa.jp","oi.kanagawa.jp","oiso.kanagawa.jp","sagamihara.kanagawa.jp","samukawa.kanagawa.jp","tsukui.kanagawa.jp","yamakita.kanagawa.jp","yamato.kanagawa.jp","yokosuka.kanagawa.jp","yugawara.kanagawa.jp","zama.kanagawa.jp","zushi.kanagawa.jp","aki.kochi.jp","geisei.kochi.jp","hidaka.kochi.jp","higashitsuno.kochi.jp","ino.kochi.jp","kagami.kochi.jp","kami.kochi.jp","kitagawa.kochi.jp","kochi.kochi.jp","mihara.kochi.jp","motoyama.kochi.jp","muroto.kochi.jp","nahari.kochi.jp","nakamura.kochi.jp","nankoku.kochi.jp","nishitosa.kochi.jp","niyodogawa.kochi.jp","ochi.kochi.jp","okawa.kochi.jp","otoyo.kochi.jp","otsuki.kochi.jp","sakawa.kochi.jp","sukumo.kochi.jp","susaki.kochi.jp","tosa.kochi.jp","tosashimizu.kochi.jp","toyo.kochi.jp","tsuno.kochi.jp","umaji.kochi.jp","yasuda.kochi.jp","yusuhara.kochi.jp","amakusa.kumamoto.jp","arao.kumamoto.jp","aso.kumamoto.jp","choyo.kumamoto.jp","gyokuto.kumamoto.jp","kamiamakusa.kumamoto.jp","kikuchi.kumamoto.jp","kumamoto.kumamoto.jp","mashiki.kumamoto.jp","mifune.kumamoto.jp","minamata.kumamoto.jp","minamioguni.kumamoto.jp","nagasu.kumamoto.jp","nishihara.kumamoto.jp","oguni.kumamoto.jp","ozu.kumamoto.jp","sumoto.kumamoto.jp","takamori.kumamoto.jp","uki.kumamoto.jp","uto.kumamoto.jp","yamaga.kumamoto.jp","yamato.kumamoto.jp","yatsushiro.kumamoto.jp","ayabe.kyoto.jp","fukuchiyama.kyoto.jp","higashiyama.kyoto.jp","ide.kyoto.jp","ine.kyoto.jp","joyo.kyoto.jp","kameoka.kyoto.jp","kamo.kyoto.jp","kita.kyoto.jp","kizu.kyoto.jp","kumiyama.kyoto.jp","kyotamba.kyoto.jp","kyotanabe.kyoto.jp","kyotango.kyoto.jp","maizuru.kyoto.jp","minami.kyoto.jp","minamiyamashiro.kyoto.jp","miyazu.kyoto.jp","muko.kyoto.jp","nagaokakyo.kyoto.jp","nakagyo.kyoto.jp","nantan.kyoto.jp","oyamazaki.kyoto.jp","sakyo.kyoto.jp","seika.kyoto.jp","tanabe.kyoto.jp","uji.kyoto.jp","ujitawara.kyoto.jp","wazuka.kyoto.jp","yamashina.kyoto.jp","yawata.kyoto.jp","asahi.mie.jp","inabe.mie.jp","ise.mie.jp","kameyama.mie.jp","kawagoe.mie.jp","kiho.mie.jp","kisosaki.mie.jp","kiwa.mie.jp","komono.mie.jp","kumano.mie.jp","kuwana.mie.jp","matsusaka.mie.jp","meiwa.mie.jp","mihama.mie.jp","minamiise.mie.jp","misugi.mie.jp","miyama.mie.jp","nabari.mie.jp","shima.mie.jp","suzuka.mie.jp","tado.mie.jp","taiki.mie.jp","taki.mie.jp","tamaki.mie.jp","toba.mie.jp","tsu.mie.jp","udono.mie.jp","ureshino.mie.jp","watarai.mie.jp","yokkaichi.mie.jp","furukawa.miyagi.jp","higashimatsushima.miyagi.jp","ishinomaki.miyagi.jp","iwanuma.miyagi.jp","kakuda.miyagi.jp","kami.miyagi.jp","kawasaki.miyagi.jp","marumori.miyagi.jp","matsushima.miyagi.jp","minamisanriku.miyagi.jp","misato.miyagi.jp","murata.miyagi.jp","natori.miyagi.jp","ogawara.miyagi.jp","ohira.miyagi.jp","onagawa.miyagi.jp","osaki.miyagi.jp","rifu.miyagi.jp","semine.miyagi.jp","shibata.miyagi.jp","shichikashuku.miyagi.jp","shikama.miyagi.jp","shiogama.miyagi.jp","shiroishi.miyagi.jp","tagajo.miyagi.jp","taiwa.miyagi.jp","tome.miyagi.jp","tomiya.miyagi.jp","wakuya.miyagi.jp","watari.miyagi.jp","yamamoto.miyagi.jp","zao.miyagi.jp","aya.miyazaki.jp","ebino.miyazaki.jp","gokase.miyazaki.jp","hyuga.miyazaki.jp","kadogawa.miyazaki.jp","kawaminami.miyazaki.jp","kijo.miyazaki.jp","kitagawa.miyazaki.jp","kitakata.miyazaki.jp","kitaura.miyazaki.jp","kobayashi.miyazaki.jp","kunitomi.miyazaki.jp","kushima.miyazaki.jp","mimata.miyazaki.jp","miyakonojo.miyazaki.jp","miyazaki.miyazaki.jp","morotsuka.miyazaki.jp","nichinan.miyazaki.jp","nishimera.miyazaki.jp","nobeoka.miyazaki.jp","saito.miyazaki.jp","shiiba.miyazaki.jp","shintomi.miyazaki.jp","takaharu.miyazaki.jp","takanabe.miyazaki.jp","takazaki.miyazaki.jp","tsuno.miyazaki.jp","achi.nagano.jp","agematsu.nagano.jp","anan.nagano.jp","aoki.nagano.jp","asahi.nagano.jp","azumino.nagano.jp","chikuhoku.nagano.jp","chikuma.nagano.jp","chino.nagano.jp","fujimi.nagano.jp","hakuba.nagano.jp","hara.nagano.jp","hiraya.nagano.jp","iida.nagano.jp","iijima.nagano.jp","iiyama.nagano.jp","iizuna.nagano.jp","ikeda.nagano.jp","ikusaka.nagano.jp","ina.nagano.jp","karuizawa.nagano.jp","kawakami.nagano.jp","kiso.nagano.jp","kisofukushima.nagano.jp","kitaaiki.nagano.jp","komagane.nagano.jp","komoro.nagano.jp","matsukawa.nagano.jp","matsumoto.nagano.jp","miasa.nagano.jp","minamiaiki.nagano.jp","minamimaki.nagano.jp","minamiminowa.nagano.jp","minowa.nagano.jp","miyada.nagano.jp","miyota.nagano.jp","mochizuki.nagano.jp","nagano.nagano.jp","nagawa.nagano.jp","nagiso.nagano.jp","nakagawa.nagano.jp","nakano.nagano.jp","nozawaonsen.nagano.jp","obuse.nagano.jp","ogawa.nagano.jp","okaya.nagano.jp","omachi.nagano.jp","omi.nagano.jp","ookuwa.nagano.jp","ooshika.nagano.jp","otaki.nagano.jp","otari.nagano.jp","sakae.nagano.jp","sakaki.nagano.jp","saku.nagano.jp","sakuho.nagano.jp","shimosuwa.nagano.jp","shinanomachi.nagano.jp","shiojiri.nagano.jp","suwa.nagano.jp","suzaka.nagano.jp","takagi.nagano.jp","takamori.nagano.jp","takayama.nagano.jp","tateshina.nagano.jp","tatsuno.nagano.jp","togakushi.nagano.jp","togura.nagano.jp","tomi.nagano.jp","ueda.nagano.jp","wada.nagano.jp","yamagata.nagano.jp","yamanouchi.nagano.jp","yasaka.nagano.jp","yasuoka.nagano.jp","chijiwa.nagasaki.jp","futsu.nagasaki.jp","goto.nagasaki.jp","hasami.nagasaki.jp","hirado.nagasaki.jp","iki.nagasaki.jp","isahaya.nagasaki.jp","kawatana.nagasaki.jp","kuchinotsu.nagasaki.jp","matsuura.nagasaki.jp","nagasaki.nagasaki.jp","obama.nagasaki.jp","omura.nagasaki.jp","oseto.nagasaki.jp","saikai.nagasaki.jp","sasebo.nagasaki.jp","seihi.nagasaki.jp","shimabara.nagasaki.jp","shinkamigoto.nagasaki.jp","togitsu.nagasaki.jp","tsushima.nagasaki.jp","unzen.nagasaki.jp","ando.nara.jp","gose.nara.jp","heguri.nara.jp","higashiyoshino.nara.jp","ikaruga.nara.jp","ikoma.nara.jp","kamikitayama.nara.jp","kanmaki.nara.jp","kashiba.nara.jp","kashihara.nara.jp","katsuragi.nara.jp","kawai.nara.jp","kawakami.nara.jp","kawanishi.nara.jp","koryo.nara.jp","kurotaki.nara.jp","mitsue.nara.jp","miyake.nara.jp","nara.nara.jp","nosegawa.nara.jp","oji.nara.jp","ouda.nara.jp","oyodo.nara.jp","sakurai.nara.jp","sango.nara.jp","shimoichi.nara.jp","shimokitayama.nara.jp","shinjo.nara.jp","soni.nara.jp","takatori.nara.jp","tawaramoto.nara.jp","tenkawa.nara.jp","tenri.nara.jp","uda.nara.jp","yamatokoriyama.nara.jp","yamatotakada.nara.jp","yamazoe.nara.jp","yoshino.nara.jp","aga.niigata.jp","agano.niigata.jp","gosen.niigata.jp","itoigawa.niigata.jp","izumozaki.niigata.jp","joetsu.niigata.jp","kamo.niigata.jp","kariwa.niigata.jp","kashiwazaki.niigata.jp","minamiuonuma.niigata.jp","mitsuke.niigata.jp","muika.niigata.jp","murakami.niigata.jp","myoko.niigata.jp","nagaoka.niigata.jp","niigata.niigata.jp","ojiya.niigata.jp","omi.niigata.jp","sado.niigata.jp","sanjo.niigata.jp","seiro.niigata.jp","seirou.niigata.jp","sekikawa.niigata.jp","shibata.niigata.jp","tagami.niigata.jp","tainai.niigata.jp","tochio.niigata.jp","tokamachi.niigata.jp","tsubame.niigata.jp","tsunan.niigata.jp","uonuma.niigata.jp","yahiko.niigata.jp","yoita.niigata.jp","yuzawa.niigata.jp","beppu.oita.jp","bungoono.oita.jp","bungotakada.oita.jp","hasama.oita.jp","hiji.oita.jp","himeshima.oita.jp","hita.oita.jp","kamitsue.oita.jp","kokonoe.oita.jp","kuju.oita.jp","kunisaki.oita.jp","kusu.oita.jp","oita.oita.jp","saiki.oita.jp","taketa.oita.jp","tsukumi.oita.jp","usa.oita.jp","usuki.oita.jp","yufu.oita.jp","akaiwa.okayama.jp","asakuchi.okayama.jp","bizen.okayama.jp","hayashima.okayama.jp","ibara.okayama.jp","kagamino.okayama.jp","kasaoka.okayama.jp","kibichuo.okayama.jp","kumenan.okayama.jp","kurashiki.okayama.jp","maniwa.okayama.jp","misaki.okayama.jp","nagi.okayama.jp","niimi.okayama.jp","nishiawakura.okayama.jp","okayama.okayama.jp","satosho.okayama.jp","setouchi.okayama.jp","shinjo.okayama.jp","shoo.okayama.jp","soja.okayama.jp","takahashi.okayama.jp","tamano.okayama.jp","tsuyama.okayama.jp","wake.okayama.jp","yakage.okayama.jp","aguni.okinawa.jp","ginowan.okinawa.jp","ginoza.okinawa.jp","gushikami.okinawa.jp","haebaru.okinawa.jp","higashi.okinawa.jp","hirara.okinawa.jp","iheya.okinawa.jp","ishigaki.okinawa.jp","ishikawa.okinawa.jp","itoman.okinawa.jp","izena.okinawa.jp","kadena.okinawa.jp","kin.okinawa.jp","kitadaito.okinawa.jp","kitanakagusuku.okinawa.jp","kumejima.okinawa.jp","kunigami.okinawa.jp","minamidaito.okinawa.jp","motobu.okinawa.jp","nago.okinawa.jp","naha.okinawa.jp","nakagusuku.okinawa.jp","nakijin.okinawa.jp","nanjo.okinawa.jp","nishihara.okinawa.jp","ogimi.okinawa.jp","okinawa.okinawa.jp","onna.okinawa.jp","shimoji.okinawa.jp","taketomi.okinawa.jp","tarama.okinawa.jp","tokashiki.okinawa.jp","tomigusuku.okinawa.jp","tonaki.okinawa.jp","urasoe.okinawa.jp","uruma.okinawa.jp","yaese.okinawa.jp","yomitan.okinawa.jp","yonabaru.okinawa.jp","yonaguni.okinawa.jp","zamami.okinawa.jp","abeno.osaka.jp","chihayaakasaka.osaka.jp","chuo.osaka.jp","daito.osaka.jp","fujiidera.osaka.jp","habikino.osaka.jp","hannan.osaka.jp","higashiosaka.osaka.jp","higashisumiyoshi.osaka.jp","higashiyodogawa.osaka.jp","hirakata.osaka.jp","ibaraki.osaka.jp","ikeda.osaka.jp","izumi.osaka.jp","izumiotsu.osaka.jp","izumisano.osaka.jp","kadoma.osaka.jp","kaizuka.osaka.jp","kanan.osaka.jp","kashiwara.osaka.jp","katano.osaka.jp","kawachinagano.osaka.jp","kishiwada.osaka.jp","kita.osaka.jp","kumatori.osaka.jp","matsubara.osaka.jp","minato.osaka.jp","minoh.osaka.jp","misaki.osaka.jp","moriguchi.osaka.jp","neyagawa.osaka.jp","nishi.osaka.jp","nose.osaka.jp","osakasayama.osaka.jp","sakai.osaka.jp","sayama.osaka.jp","sennan.osaka.jp","settsu.osaka.jp","shijonawate.osaka.jp","shimamoto.osaka.jp","suita.osaka.jp","tadaoka.osaka.jp","taishi.osaka.jp","tajiri.osaka.jp","takaishi.osaka.jp","takatsuki.osaka.jp","tondabayashi.osaka.jp","toyonaka.osaka.jp","toyono.osaka.jp","yao.osaka.jp","ariake.saga.jp","arita.saga.jp","fukudomi.saga.jp","genkai.saga.jp","hamatama.saga.jp","hizen.saga.jp","imari.saga.jp","kamimine.saga.jp","kanzaki.saga.jp","karatsu.saga.jp","kashima.saga.jp","kitagata.saga.jp","kitahata.saga.jp","kiyama.saga.jp","kouhoku.saga.jp","kyuragi.saga.jp","nishiarita.saga.jp","ogi.saga.jp","omachi.saga.jp","ouchi.saga.jp","saga.saga.jp","shiroishi.saga.jp","taku.saga.jp","tara.saga.jp","tosu.saga.jp","yoshinogari.saga.jp","arakawa.saitama.jp","asaka.saitama.jp","chichibu.saitama.jp","fujimi.saitama.jp","fujimino.saitama.jp","fukaya.saitama.jp","hanno.saitama.jp","hanyu.saitama.jp","hasuda.saitama.jp","hatogaya.saitama.jp","hatoyama.saitama.jp","hidaka.saitama.jp","higashichichibu.saitama.jp","higashimatsuyama.saitama.jp","honjo.saitama.jp","ina.saitama.jp","iruma.saitama.jp","iwatsuki.saitama.jp","kamiizumi.saitama.jp","kamikawa.saitama.jp","kamisato.saitama.jp","kasukabe.saitama.jp","kawagoe.saitama.jp","kawaguchi.saitama.jp","kawajima.saitama.jp","kazo.saitama.jp","kitamoto.saitama.jp","koshigaya.saitama.jp","kounosu.saitama.jp","kuki.saitama.jp","kumagaya.saitama.jp","matsubushi.saitama.jp","minano.saitama.jp","misato.saitama.jp","miyashiro.saitama.jp","miyoshi.saitama.jp","moroyama.saitama.jp","nagatoro.saitama.jp","namegawa.saitama.jp","niiza.saitama.jp","ogano.saitama.jp","ogawa.saitama.jp","ogose.saitama.jp","okegawa.saitama.jp","omiya.saitama.jp","otaki.saitama.jp","ranzan.saitama.jp","ryokami.saitama.jp","saitama.saitama.jp","sakado.saitama.jp","satte.saitama.jp","sayama.saitama.jp","shiki.saitama.jp","shiraoka.saitama.jp","soka.saitama.jp","sugito.saitama.jp","toda.saitama.jp","tokigawa.saitama.jp","tokorozawa.saitama.jp","tsurugashima.saitama.jp","urawa.saitama.jp","warabi.saitama.jp","yashio.saitama.jp","yokoze.saitama.jp","yono.saitama.jp","yorii.saitama.jp","yoshida.saitama.jp","yoshikawa.saitama.jp","yoshimi.saitama.jp","aisho.shiga.jp","gamo.shiga.jp","higashiomi.shiga.jp","hikone.shiga.jp","koka.shiga.jp","konan.shiga.jp","kosei.shiga.jp","koto.shiga.jp","kusatsu.shiga.jp","maibara.shiga.jp","moriyama.shiga.jp","nagahama.shiga.jp","nishiazai.shiga.jp","notogawa.shiga.jp","omihachiman.shiga.jp","otsu.shiga.jp","ritto.shiga.jp","ryuoh.shiga.jp","takashima.shiga.jp","takatsuki.shiga.jp","torahime.shiga.jp","toyosato.shiga.jp","yasu.shiga.jp","akagi.shimane.jp","ama.shimane.jp","gotsu.shimane.jp","hamada.shimane.jp","higashiizumo.shimane.jp","hikawa.shimane.jp","hikimi.shimane.jp","izumo.shimane.jp","kakinoki.shimane.jp","masuda.shimane.jp","matsue.shimane.jp","misato.shimane.jp","nishinoshima.shimane.jp","ohda.shimane.jp","okinoshima.shimane.jp","okuizumo.shimane.jp","shimane.shimane.jp","tamayu.shimane.jp","tsuwano.shimane.jp","unnan.shimane.jp","yakumo.shimane.jp","yasugi.shimane.jp","yatsuka.shimane.jp","arai.shizuoka.jp","atami.shizuoka.jp","fuji.shizuoka.jp","fujieda.shizuoka.jp","fujikawa.shizuoka.jp","fujinomiya.shizuoka.jp","fukuroi.shizuoka.jp","gotemba.shizuoka.jp","haibara.shizuoka.jp","hamamatsu.shizuoka.jp","higashiizu.shizuoka.jp","ito.shizuoka.jp","iwata.shizuoka.jp","izu.shizuoka.jp","izunokuni.shizuoka.jp","kakegawa.shizuoka.jp","kannami.shizuoka.jp","kawanehon.shizuoka.jp","kawazu.shizuoka.jp","kikugawa.shizuoka.jp","kosai.shizuoka.jp","makinohara.shizuoka.jp","matsuzaki.shizuoka.jp","minamiizu.shizuoka.jp","mishima.shizuoka.jp","morimachi.shizuoka.jp","nishiizu.shizuoka.jp","numazu.shizuoka.jp","omaezaki.shizuoka.jp","shimada.shizuoka.jp","shimizu.shizuoka.jp","shimoda.shizuoka.jp","shizuoka.shizuoka.jp","susono.shizuoka.jp","yaizu.shizuoka.jp","yoshida.shizuoka.jp","ashikaga.tochigi.jp","bato.tochigi.jp","haga.tochigi.jp","ichikai.tochigi.jp","iwafune.tochigi.jp","kaminokawa.tochigi.jp","kanuma.tochigi.jp","karasuyama.tochigi.jp","kuroiso.tochigi.jp","mashiko.tochigi.jp","mibu.tochigi.jp","moka.tochigi.jp","motegi.tochigi.jp","nasu.tochigi.jp","nasushiobara.tochigi.jp","nikko.tochigi.jp","nishikata.tochigi.jp","nogi.tochigi.jp","ohira.tochigi.jp","ohtawara.tochigi.jp","oyama.tochigi.jp","sakura.tochigi.jp","sano.tochigi.jp","shimotsuke.tochigi.jp","shioya.tochigi.jp","takanezawa.tochigi.jp","tochigi.tochigi.jp","tsuga.tochigi.jp","ujiie.tochigi.jp","utsunomiya.tochigi.jp","yaita.tochigi.jp","aizumi.tokushima.jp","anan.tokushima.jp","ichiba.tokushima.jp","itano.tokushima.jp","kainan.tokushima.jp","komatsushima.tokushima.jp","matsushige.tokushima.jp","mima.tokushima.jp","minami.tokushima.jp","miyoshi.tokushima.jp","mugi.tokushima.jp","nakagawa.tokushima.jp","naruto.tokushima.jp","sanagochi.tokushima.jp","shishikui.tokushima.jp","tokushima.tokushima.jp","wajiki.tokushima.jp","adachi.tokyo.jp","akiruno.tokyo.jp","akishima.tokyo.jp","aogashima.tokyo.jp","arakawa.tokyo.jp","bunkyo.tokyo.jp","chiyoda.tokyo.jp","chofu.tokyo.jp","chuo.tokyo.jp","edogawa.tokyo.jp","fuchu.tokyo.jp","fussa.tokyo.jp","hachijo.tokyo.jp","hachioji.tokyo.jp","hamura.tokyo.jp","higashikurume.tokyo.jp","higashimurayama.tokyo.jp","higashiyamato.tokyo.jp","hino.tokyo.jp","hinode.tokyo.jp","hinohara.tokyo.jp","inagi.tokyo.jp","itabashi.tokyo.jp","katsushika.tokyo.jp","kita.tokyo.jp","kiyose.tokyo.jp","kodaira.tokyo.jp","koganei.tokyo.jp","kokubunji.tokyo.jp","komae.tokyo.jp","koto.tokyo.jp","kouzushima.tokyo.jp","kunitachi.tokyo.jp","machida.tokyo.jp","meguro.tokyo.jp","minato.tokyo.jp","mitaka.tokyo.jp","mizuho.tokyo.jp","musashimurayama.tokyo.jp","musashino.tokyo.jp","nakano.tokyo.jp","nerima.tokyo.jp","ogasawara.tokyo.jp","okutama.tokyo.jp","ome.tokyo.jp","oshima.tokyo.jp","ota.tokyo.jp","setagaya.tokyo.jp","shibuya.tokyo.jp","shinagawa.tokyo.jp","shinjuku.tokyo.jp","suginami.tokyo.jp","sumida.tokyo.jp","tachikawa.tokyo.jp","taito.tokyo.jp","tama.tokyo.jp","toshima.tokyo.jp","chizu.tottori.jp","hino.tottori.jp","kawahara.tottori.jp","koge.tottori.jp","kotoura.tottori.jp","misasa.tottori.jp","nanbu.tottori.jp","nichinan.tottori.jp","sakaiminato.tottori.jp","tottori.tottori.jp","wakasa.tottori.jp","yazu.tottori.jp","yonago.tottori.jp","asahi.toyama.jp","fuchu.toyama.jp","fukumitsu.toyama.jp","funahashi.toyama.jp","himi.toyama.jp","imizu.toyama.jp","inami.toyama.jp","johana.toyama.jp","kamiichi.toyama.jp","kurobe.toyama.jp","nakaniikawa.toyama.jp","namerikawa.toyama.jp","nanto.toyama.jp","nyuzen.toyama.jp","oyabe.toyama.jp","taira.toyama.jp","takaoka.toyama.jp","tateyama.toyama.jp","toga.toyama.jp","tonami.toyama.jp","toyama.toyama.jp","unazuki.toyama.jp","uozu.toyama.jp","yamada.toyama.jp","arida.wakayama.jp","aridagawa.wakayama.jp","gobo.wakayama.jp","hashimoto.wakayama.jp","hidaka.wakayama.jp","hirogawa.wakayama.jp","inami.wakayama.jp","iwade.wakayama.jp","kainan.wakayama.jp","kamitonda.wakayama.jp","katsuragi.wakayama.jp","kimino.wakayama.jp","kinokawa.wakayama.jp","kitayama.wakayama.jp","koya.wakayama.jp","koza.wakayama.jp","kozagawa.wakayama.jp","kudoyama.wakayama.jp","kushimoto.wakayama.jp","mihama.wakayama.jp","misato.wakayama.jp","nachikatsuura.wakayama.jp","shingu.wakayama.jp","shirahama.wakayama.jp","taiji.wakayama.jp","tanabe.wakayama.jp","wakayama.wakayama.jp","yuasa.wakayama.jp","yura.wakayama.jp","asahi.yamagata.jp","funagata.yamagata.jp","higashine.yamagata.jp","iide.yamagata.jp","kahoku.yamagata.jp","kaminoyama.yamagata.jp","kaneyama.yamagata.jp","kawanishi.yamagata.jp","mamurogawa.yamagata.jp","mikawa.yamagata.jp","murayama.yamagata.jp","nagai.yamagata.jp","nakayama.yamagata.jp","nanyo.yamagata.jp","nishikawa.yamagata.jp","obanazawa.yamagata.jp","oe.yamagata.jp","oguni.yamagata.jp","ohkura.yamagata.jp","oishida.yamagata.jp","sagae.yamagata.jp","sakata.yamagata.jp","sakegawa.yamagata.jp","shinjo.yamagata.jp","shirataka.yamagata.jp","shonai.yamagata.jp","takahata.yamagata.jp","tendo.yamagata.jp","tozawa.yamagata.jp","tsuruoka.yamagata.jp","yamagata.yamagata.jp","yamanobe.yamagata.jp","yonezawa.yamagata.jp","yuza.yamagata.jp","abu.yamaguchi.jp","hagi.yamaguchi.jp","hikari.yamaguchi.jp","hofu.yamaguchi.jp","iwakuni.yamaguchi.jp","kudamatsu.yamaguchi.jp","mitou.yamaguchi.jp","nagato.yamaguchi.jp","oshima.yamaguchi.jp","shimonoseki.yamaguchi.jp","shunan.yamaguchi.jp","tabuse.yamaguchi.jp","tokuyama.yamaguchi.jp","toyota.yamaguchi.jp","ube.yamaguchi.jp","yuu.yamaguchi.jp","chuo.yamanashi.jp","doshi.yamanashi.jp","fuefuki.yamanashi.jp","fujikawa.yamanashi.jp","fujikawaguchiko.yamanashi.jp","fujiyoshida.yamanashi.jp","hayakawa.yamanashi.jp","hokuto.yamanashi.jp","ichikawamisato.yamanashi.jp","kai.yamanashi.jp","kofu.yamanashi.jp","koshu.yamanashi.jp","kosuge.yamanashi.jp","minami-alps.yamanashi.jp","minobu.yamanashi.jp","nakamichi.yamanashi.jp","nanbu.yamanashi.jp","narusawa.yamanashi.jp","nirasaki.yamanashi.jp","nishikatsura.yamanashi.jp","oshino.yamanashi.jp","otsuki.yamanashi.jp","showa.yamanashi.jp","tabayama.yamanashi.jp","tsuru.yamanashi.jp","uenohara.yamanashi.jp","yamanakako.yamanashi.jp","yamanashi.yamanashi.jp","ke","ac.ke","co.ke","go.ke","info.ke","me.ke","mobi.ke","ne.ke","or.ke","sc.ke","kg","org.kg","net.kg","com.kg","edu.kg","gov.kg","mil.kg","*.kh","ki","edu.ki","biz.ki","net.ki","org.ki","gov.ki","info.ki","com.ki","km","org.km","nom.km","gov.km","prd.km","tm.km","edu.km","mil.km","ass.km","com.km","coop.km","asso.km","presse.km","medecin.km","notaires.km","pharmaciens.km","veterinaire.km","gouv.km","kn","net.kn","org.kn","edu.kn","gov.kn","kp","com.kp","edu.kp","gov.kp","org.kp","rep.kp","tra.kp","kr","ac.kr","co.kr","es.kr","go.kr","hs.kr","kg.kr","mil.kr","ms.kr","ne.kr","or.kr","pe.kr","re.kr","sc.kr","busan.kr","chungbuk.kr","chungnam.kr","daegu.kr","daejeon.kr","gangwon.kr","gwangju.kr","gyeongbuk.kr","gyeonggi.kr","gyeongnam.kr","incheon.kr","jeju.kr","jeonbuk.kr","jeonnam.kr","seoul.kr","ulsan.kr","kw","com.kw","edu.kw","emb.kw","gov.kw","ind.kw","net.kw","org.kw","ky","com.ky","edu.ky","net.ky","org.ky","kz","org.kz","edu.kz","net.kz","gov.kz","mil.kz","com.kz","la","int.la","net.la","info.la","edu.la","gov.la","per.la","com.la","org.la","lb","com.lb","edu.lb","gov.lb","net.lb","org.lb","lc","com.lc","net.lc","co.lc","org.lc","edu.lc","gov.lc","li","lk","gov.lk","sch.lk","net.lk","int.lk","com.lk","org.lk","edu.lk","ngo.lk","soc.lk","web.lk","ltd.lk","assn.lk","grp.lk","hotel.lk","ac.lk","lr","com.lr","edu.lr","gov.lr","org.lr","net.lr","ls","ac.ls","biz.ls","co.ls","edu.ls","gov.ls","info.ls","net.ls","org.ls","sc.ls","lt","gov.lt","lu","lv","com.lv","edu.lv","gov.lv","org.lv","mil.lv","id.lv","net.lv","asn.lv","conf.lv","ly","com.ly","net.ly","gov.ly","plc.ly","edu.ly","sch.ly","med.ly","org.ly","id.ly","ma","co.ma","net.ma","gov.ma","org.ma","ac.ma","press.ma","mc","tm.mc","asso.mc","md","me","co.me","net.me","org.me","edu.me","ac.me","gov.me","its.me","priv.me","mg","org.mg","nom.mg","gov.mg","prd.mg","tm.mg","edu.mg","mil.mg","com.mg","co.mg","mh","mil","mk","com.mk","org.mk","net.mk","edu.mk","gov.mk","inf.mk","name.mk","ml","com.ml","edu.ml","gouv.ml","gov.ml","net.ml","org.ml","presse.ml","*.mm","mn","gov.mn","edu.mn","org.mn","mo","com.mo","net.mo","org.mo","edu.mo","gov.mo","mobi","mp","mq","mr","gov.mr","ms","com.ms","edu.ms","gov.ms","net.ms","org.ms","mt","com.mt","edu.mt","net.mt","org.mt","mu","com.mu","net.mu","org.mu","gov.mu","ac.mu","co.mu","or.mu","museum","academy.museum","agriculture.museum","air.museum","airguard.museum","alabama.museum","alaska.museum","amber.museum","ambulance.museum","american.museum","americana.museum","americanantiques.museum","americanart.museum","amsterdam.museum","and.museum","annefrank.museum","anthro.museum","anthropology.museum","antiques.museum","aquarium.museum","arboretum.museum","archaeological.museum","archaeology.museum","architecture.museum","art.museum","artanddesign.museum","artcenter.museum","artdeco.museum","arteducation.museum","artgallery.museum","arts.museum","artsandcrafts.museum","asmatart.museum","assassination.museum","assisi.museum","association.museum","astronomy.museum","atlanta.museum","austin.museum","australia.museum","automotive.museum","aviation.museum","axis.museum","badajoz.museum","baghdad.museum","bahn.museum","bale.museum","baltimore.museum","barcelona.museum","baseball.museum","basel.museum","baths.museum","bauern.museum","beauxarts.museum","beeldengeluid.museum","bellevue.museum","bergbau.museum","berkeley.museum","berlin.museum","bern.museum","bible.museum","bilbao.museum","bill.museum","birdart.museum","birthplace.museum","bonn.museum","boston.museum","botanical.museum","botanicalgarden.museum","botanicgarden.museum","botany.museum","brandywinevalley.museum","brasil.museum","bristol.museum","british.museum","britishcolumbia.museum","broadcast.museum","brunel.museum","brussel.museum","brussels.museum","bruxelles.museum","building.museum","burghof.museum","bus.museum","bushey.museum","cadaques.museum","california.museum","cambridge.museum","can.museum","canada.museum","capebreton.museum","carrier.museum","cartoonart.museum","casadelamoneda.museum","castle.museum","castres.museum","celtic.museum","center.museum","chattanooga.museum","cheltenham.museum","chesapeakebay.museum","chicago.museum","children.museum","childrens.museum","childrensgarden.museum","chiropractic.museum","chocolate.museum","christiansburg.museum","cincinnati.museum","cinema.museum","circus.museum","civilisation.museum","civilization.museum","civilwar.museum","clinton.museum","clock.museum","coal.museum","coastaldefence.museum","cody.museum","coldwar.museum","collection.museum","colonialwilliamsburg.museum","coloradoplateau.museum","columbia.museum","columbus.museum","communication.museum","communications.museum","community.museum","computer.museum","computerhistory.museum","comunicações.museum","contemporary.museum","contemporaryart.museum","convent.museum","copenhagen.museum","corporation.museum","correios-e-telecomunicações.museum","corvette.museum","costume.museum","countryestate.museum","county.museum","crafts.museum","cranbrook.museum","creation.museum","cultural.museum","culturalcenter.museum","culture.museum","cyber.museum","cymru.museum","dali.museum","dallas.museum","database.museum","ddr.museum","decorativearts.museum","delaware.museum","delmenhorst.museum","denmark.museum","depot.museum","design.museum","detroit.museum","dinosaur.museum","discovery.museum","dolls.museum","donostia.museum","durham.museum","eastafrica.museum","eastcoast.museum","education.museum","educational.museum","egyptian.museum","eisenbahn.museum","elburg.museum","elvendrell.museum","embroidery.museum","encyclopedic.museum","england.museum","entomology.museum","environment.museum","environmentalconservation.museum","epilepsy.museum","essex.museum","estate.museum","ethnology.museum","exeter.museum","exhibition.museum","family.museum","farm.museum","farmequipment.museum","farmers.museum","farmstead.museum","field.museum","figueres.museum","filatelia.museum","film.museum","fineart.museum","finearts.museum","finland.museum","flanders.museum","florida.museum","force.museum","fortmissoula.museum","fortworth.museum","foundation.museum","francaise.museum","frankfurt.museum","franziskaner.museum","freemasonry.museum","freiburg.museum","fribourg.museum","frog.museum","fundacio.museum","furniture.museum","gallery.museum","garden.museum","gateway.museum","geelvinck.museum","gemological.museum","geology.museum","georgia.museum","giessen.museum","glas.museum","glass.museum","gorge.museum","grandrapids.museum","graz.museum","guernsey.museum","halloffame.museum","hamburg.museum","handson.museum","harvestcelebration.museum","hawaii.museum","health.museum","heimatunduhren.museum","hellas.museum","helsinki.museum","hembygdsforbund.museum","heritage.museum","histoire.museum","historical.museum","historicalsociety.museum","historichouses.museum","historisch.museum","historisches.museum","history.museum","historyofscience.museum","horology.museum","house.museum","humanities.museum","illustration.museum","imageandsound.museum","indian.museum","indiana.museum","indianapolis.museum","indianmarket.museum","intelligence.museum","interactive.museum","iraq.museum","iron.museum","isleofman.museum","jamison.museum","jefferson.museum","jerusalem.museum","jewelry.museum","jewish.museum","jewishart.museum","jfk.museum","journalism.museum","judaica.museum","judygarland.museum","juedisches.museum","juif.museum","karate.museum","karikatur.museum","kids.museum","koebenhavn.museum","koeln.museum","kunst.museum","kunstsammlung.museum","kunstunddesign.museum","labor.museum","labour.museum","lajolla.museum","lancashire.museum","landes.museum","lans.museum","läns.museum","larsson.museum","lewismiller.museum","lincoln.museum","linz.museum","living.museum","livinghistory.museum","localhistory.museum","london.museum","losangeles.museum","louvre.museum","loyalist.museum","lucerne.museum","luxembourg.museum","luzern.museum","mad.museum","madrid.museum","mallorca.museum","manchester.museum","mansion.museum","mansions.museum","manx.museum","marburg.museum","maritime.museum","maritimo.museum","maryland.museum","marylhurst.museum","media.museum","medical.museum","medizinhistorisches.museum","meeres.museum","memorial.museum","mesaverde.museum","michigan.museum","midatlantic.museum","military.museum","mill.museum","miners.museum","mining.museum","minnesota.museum","missile.museum","missoula.museum","modern.museum","moma.museum","money.museum","monmouth.museum","monticello.museum","montreal.museum","moscow.museum","motorcycle.museum","muenchen.museum","muenster.museum","mulhouse.museum","muncie.museum","museet.museum","museumcenter.museum","museumvereniging.museum","music.museum","national.museum","nationalfirearms.museum","nationalheritage.museum","nativeamerican.museum","naturalhistory.museum","naturalhistorymuseum.museum","naturalsciences.museum","nature.museum","naturhistorisches.museum","natuurwetenschappen.museum","naumburg.museum","naval.museum","nebraska.museum","neues.museum","newhampshire.museum","newjersey.museum","newmexico.museum","newport.museum","newspaper.museum","newyork.museum","niepce.museum","norfolk.museum","north.museum","nrw.museum","nyc.museum","nyny.museum","oceanographic.museum","oceanographique.museum","omaha.museum","online.museum","ontario.museum","openair.museum","oregon.museum","oregontrail.museum","otago.museum","oxford.museum","pacific.museum","paderborn.museum","palace.museum","paleo.museum","palmsprings.museum","panama.museum","paris.museum","pasadena.museum","pharmacy.museum","philadelphia.museum","philadelphiaarea.museum","philately.museum","phoenix.museum","photography.museum","pilots.museum","pittsburgh.museum","planetarium.museum","plantation.museum","plants.museum","plaza.museum","portal.museum","portland.museum","portlligat.museum","posts-and-telecommunications.museum","preservation.museum","presidio.museum","press.museum","project.museum","public.museum","pubol.museum","quebec.museum","railroad.museum","railway.museum","research.museum","resistance.museum","riodejaneiro.museum","rochester.museum","rockart.museum","roma.museum","russia.museum","saintlouis.museum","salem.museum","salvadordali.museum","salzburg.museum","sandiego.museum","sanfrancisco.museum","santabarbara.museum","santacruz.museum","santafe.museum","saskatchewan.museum","satx.museum","savannahga.museum","schlesisches.museum","schoenbrunn.museum","schokoladen.museum","school.museum","schweiz.museum","science.museum","scienceandhistory.museum","scienceandindustry.museum","sciencecenter.museum","sciencecenters.museum","science-fiction.museum","sciencehistory.museum","sciences.museum","sciencesnaturelles.museum","scotland.museum","seaport.museum","settlement.museum","settlers.museum","shell.museum","sherbrooke.museum","sibenik.museum","silk.museum","ski.museum","skole.museum","society.museum","sologne.museum","soundandvision.museum","southcarolina.museum","southwest.museum","space.museum","spy.museum","square.museum","stadt.museum","stalbans.museum","starnberg.museum","state.museum","stateofdelaware.museum","station.museum","steam.museum","steiermark.museum","stjohn.museum","stockholm.museum","stpetersburg.museum","stuttgart.museum","suisse.museum","surgeonshall.museum","surrey.museum","svizzera.museum","sweden.museum","sydney.museum","tank.museum","tcm.museum","technology.museum","telekommunikation.museum","television.museum","texas.museum","textile.museum","theater.museum","time.museum","timekeeping.museum","topology.museum","torino.museum","touch.museum","town.museum","transport.museum","tree.museum","trolley.museum","trust.museum","trustee.museum","uhren.museum","ulm.museum","undersea.museum","university.museum","usa.museum","usantiques.museum","usarts.museum","uscountryestate.museum","usculture.museum","usdecorativearts.museum","usgarden.museum","ushistory.museum","ushuaia.museum","uslivinghistory.museum","utah.museum","uvic.museum","valley.museum","vantaa.museum","versailles.museum","viking.museum","village.museum","virginia.museum","virtual.museum","virtuel.museum","vlaanderen.museum","volkenkunde.museum","wales.museum","wallonie.museum","war.museum","washingtondc.museum","watchandclock.museum","watch-and-clock.museum","western.museum","westfalen.museum","whaling.museum","wildlife.museum","williamsburg.museum","windmill.museum","workshop.museum","york.museum","yorkshire.museum","yosemite.museum","youth.museum","zoological.museum","zoology.museum","ירושלים.museum","иком.museum","mv","aero.mv","biz.mv","com.mv","coop.mv","edu.mv","gov.mv","info.mv","int.mv","mil.mv","museum.mv","name.mv","net.mv","org.mv","pro.mv","mw","ac.mw","biz.mw","co.mw","com.mw","coop.mw","edu.mw","gov.mw","int.mw","museum.mw","net.mw","org.mw","mx","com.mx","org.mx","gob.mx","edu.mx","net.mx","my","biz.my","com.my","edu.my","gov.my","mil.my","name.my","net.my","org.my","mz","ac.mz","adv.mz","co.mz","edu.mz","gov.mz","mil.mz","net.mz","org.mz","na","info.na","pro.na","name.na","school.na","or.na","dr.na","us.na","mx.na","ca.na","in.na","cc.na","tv.na","ws.na","mobi.na","co.na","com.na","org.na","name","nc","asso.nc","nom.nc","ne","net","nf","com.nf","net.nf","per.nf","rec.nf","web.nf","arts.nf","firm.nf","info.nf","other.nf","store.nf","ng","com.ng","edu.ng","gov.ng","i.ng","mil.ng","mobi.ng","name.ng","net.ng","org.ng","sch.ng","ni","ac.ni","biz.ni","co.ni","com.ni","edu.ni","gob.ni","in.ni","info.ni","int.ni","mil.ni","net.ni","nom.ni","org.ni","web.ni","nl","no","fhs.no","vgs.no","fylkesbibl.no","folkebibl.no","museum.no","idrett.no","priv.no","mil.no","stat.no","dep.no","kommune.no","herad.no","aa.no","ah.no","bu.no","fm.no","hl.no","hm.no","jan-mayen.no","mr.no","nl.no","nt.no","of.no","ol.no","oslo.no","rl.no","sf.no","st.no","svalbard.no","tm.no","tr.no","va.no","vf.no","gs.aa.no","gs.ah.no","gs.bu.no","gs.fm.no","gs.hl.no","gs.hm.no","gs.jan-mayen.no","gs.mr.no","gs.nl.no","gs.nt.no","gs.of.no","gs.ol.no","gs.oslo.no","gs.rl.no","gs.sf.no","gs.st.no","gs.svalbard.no","gs.tm.no","gs.tr.no","gs.va.no","gs.vf.no","akrehamn.no","åkrehamn.no","algard.no","ålgård.no","arna.no","brumunddal.no","bryne.no","bronnoysund.no","brønnøysund.no","drobak.no","drøbak.no","egersund.no","fetsund.no","floro.no","florø.no","fredrikstad.no","hokksund.no","honefoss.no","hønefoss.no","jessheim.no","jorpeland.no","jørpeland.no","kirkenes.no","kopervik.no","krokstadelva.no","langevag.no","langevåg.no","leirvik.no","mjondalen.no","mjøndalen.no","mo-i-rana.no","mosjoen.no","mosjøen.no","nesoddtangen.no","orkanger.no","osoyro.no","osøyro.no","raholt.no","råholt.no","sandnessjoen.no","sandnessjøen.no","skedsmokorset.no","slattum.no","spjelkavik.no","stathelle.no","stavern.no","stjordalshalsen.no","stjørdalshalsen.no","tananger.no","tranby.no","vossevangen.no","afjord.no","åfjord.no","agdenes.no","al.no","ål.no","alesund.no","ålesund.no","alstahaug.no","alta.no","áltá.no","alaheadju.no","álaheadju.no","alvdal.no","amli.no","åmli.no","amot.no","åmot.no","andebu.no","andoy.no","andøy.no","andasuolo.no","ardal.no","årdal.no","aremark.no","arendal.no","ås.no","aseral.no","åseral.no","asker.no","askim.no","askvoll.no","askoy.no","askøy.no","asnes.no","åsnes.no","audnedaln.no","aukra.no","aure.no","aurland.no","aurskog-holand.no","aurskog-høland.no","austevoll.no","austrheim.no","averoy.no","averøy.no","balestrand.no","ballangen.no","balat.no","bálát.no","balsfjord.no","bahccavuotna.no","báhccavuotna.no","bamble.no","bardu.no","beardu.no","beiarn.no","bajddar.no","bájddar.no","baidar.no","báidár.no","berg.no","bergen.no","berlevag.no","berlevåg.no","bearalvahki.no","bearalváhki.no","bindal.no","birkenes.no","bjarkoy.no","bjarkøy.no","bjerkreim.no","bjugn.no","bodo.no","bodø.no","badaddja.no","bådåddjå.no","budejju.no","bokn.no","bremanger.no","bronnoy.no","brønnøy.no","bygland.no","bykle.no","barum.no","bærum.no","bo.telemark.no","bø.telemark.no","bo.nordland.no","bø.nordland.no","bievat.no","bievát.no","bomlo.no","bømlo.no","batsfjord.no","båtsfjord.no","bahcavuotna.no","báhcavuotna.no","dovre.no","drammen.no","drangedal.no","dyroy.no","dyrøy.no","donna.no","dønna.no","eid.no","eidfjord.no","eidsberg.no","eidskog.no","eidsvoll.no","eigersund.no","elverum.no","enebakk.no","engerdal.no","etne.no","etnedal.no","evenes.no","evenassi.no","evenášši.no","evje-og-hornnes.no","farsund.no","fauske.no","fuossko.no","fuoisku.no","fedje.no","fet.no","finnoy.no","finnøy.no","fitjar.no","fjaler.no","fjell.no","flakstad.no","flatanger.no","flekkefjord.no","flesberg.no","flora.no","fla.no","flå.no","folldal.no","forsand.no","fosnes.no","frei.no","frogn.no","froland.no","frosta.no","frana.no","fræna.no","froya.no","frøya.no","fusa.no","fyresdal.no","forde.no","førde.no","gamvik.no","gangaviika.no","gáŋgaviika.no","gaular.no","gausdal.no","gildeskal.no","gildeskål.no","giske.no","gjemnes.no","gjerdrum.no","gjerstad.no","gjesdal.no","gjovik.no","gjøvik.no","gloppen.no","gol.no","gran.no","grane.no","granvin.no","gratangen.no","grimstad.no","grong.no","kraanghke.no","kråanghke.no","grue.no","gulen.no","hadsel.no","halden.no","halsa.no","hamar.no","hamaroy.no","habmer.no","hábmer.no","hapmir.no","hápmir.no","hammerfest.no","hammarfeasta.no","hámmárfeasta.no","haram.no","hareid.no","harstad.no","hasvik.no","aknoluokta.no","ákŋoluokta.no","hattfjelldal.no","aarborte.no","haugesund.no","hemne.no","hemnes.no","hemsedal.no","heroy.more-og-romsdal.no","herøy.møre-og-romsdal.no","heroy.nordland.no","herøy.nordland.no","hitra.no","hjartdal.no","hjelmeland.no","hobol.no","hobøl.no","hof.no","hol.no","hole.no","holmestrand.no","holtalen.no","holtålen.no","hornindal.no","horten.no","hurdal.no","hurum.no","hvaler.no","hyllestad.no","hagebostad.no","hægebostad.no","hoyanger.no","høyanger.no","hoylandet.no","høylandet.no","ha.no","hå.no","ibestad.no","inderoy.no","inderøy.no","iveland.no","jevnaker.no","jondal.no","jolster.no","jølster.no","karasjok.no","karasjohka.no","kárášjohka.no","karlsoy.no","galsa.no","gálsá.no","karmoy.no","karmøy.no","kautokeino.no","guovdageaidnu.no","klepp.no","klabu.no","klæbu.no","kongsberg.no","kongsvinger.no","kragero.no","kragerø.no","kristiansand.no","kristiansund.no","krodsherad.no","krødsherad.no","kvalsund.no","rahkkeravju.no","ráhkkerávju.no","kvam.no","kvinesdal.no","kvinnherad.no","kviteseid.no","kvitsoy.no","kvitsøy.no","kvafjord.no","kvæfjord.no","giehtavuoatna.no","kvanangen.no","kvænangen.no","navuotna.no","návuotna.no","kafjord.no","kåfjord.no","gaivuotna.no","gáivuotna.no","larvik.no","lavangen.no","lavagis.no","loabat.no","loabát.no","lebesby.no","davvesiida.no","leikanger.no","leirfjord.no","leka.no","leksvik.no","lenvik.no","leangaviika.no","leaŋgaviika.no","lesja.no","levanger.no","lier.no","lierne.no","lillehammer.no","lillesand.no","lindesnes.no","lindas.no","lindås.no","lom.no","loppa.no","lahppi.no","láhppi.no","lund.no","lunner.no","luroy.no","lurøy.no","luster.no","lyngdal.no","lyngen.no","ivgu.no","lardal.no","lerdal.no","lærdal.no","lodingen.no","lødingen.no","lorenskog.no","lørenskog.no","loten.no","løten.no","malvik.no","masoy.no","måsøy.no","muosat.no","muosát.no","mandal.no","marker.no","marnardal.no","masfjorden.no","meland.no","meldal.no","melhus.no","meloy.no","meløy.no","meraker.no","meråker.no","moareke.no","moåreke.no","midsund.no","midtre-gauldal.no","modalen.no","modum.no","molde.no","moskenes.no","moss.no","mosvik.no","malselv.no","målselv.no","malatvuopmi.no","málatvuopmi.no","namdalseid.no","aejrie.no","namsos.no","namsskogan.no","naamesjevuemie.no","nååmesjevuemie.no","laakesvuemie.no","nannestad.no","narvik.no","narviika.no","naustdal.no","nedre-eiker.no","nes.akershus.no","nes.buskerud.no","nesna.no","nesodden.no","nesseby.no","unjarga.no","unjárga.no","nesset.no","nissedal.no","nittedal.no","nord-aurdal.no","nord-fron.no","nord-odal.no","norddal.no","nordkapp.no","davvenjarga.no","davvenjárga.no","nordre-land.no","nordreisa.no","raisa.no","ráisa.no","nore-og-uvdal.no","notodden.no","naroy.no","nærøy.no","notteroy.no","nøtterøy.no","odda.no","oksnes.no","øksnes.no","oppdal.no","oppegard.no","oppegård.no","orkdal.no","orland.no","ørland.no","orskog.no","ørskog.no","orsta.no","ørsta.no","os.hedmark.no","os.hordaland.no","osen.no","osteroy.no","osterøy.no","ostre-toten.no","østre-toten.no","overhalla.no","ovre-eiker.no","øvre-eiker.no","oyer.no","øyer.no","oygarden.no","øygarden.no","oystre-slidre.no","øystre-slidre.no","porsanger.no","porsangu.no","porsáŋgu.no","porsgrunn.no","radoy.no","radøy.no","rakkestad.no","rana.no","ruovat.no","randaberg.no","rauma.no","rendalen.no","rennebu.no","rennesoy.no","rennesøy.no","rindal.no","ringebu.no","ringerike.no","ringsaker.no","rissa.no","risor.no","risør.no","roan.no","rollag.no","rygge.no","ralingen.no","rælingen.no","rodoy.no","rødøy.no","romskog.no","rømskog.no","roros.no","røros.no","rost.no","røst.no","royken.no","røyken.no","royrvik.no","røyrvik.no","rade.no","råde.no","salangen.no","siellak.no","saltdal.no","salat.no","sálát.no","sálat.no","samnanger.no","sande.more-og-romsdal.no","sande.møre-og-romsdal.no","sande.vestfold.no","sandefjord.no","sandnes.no","sandoy.no","sandøy.no","sarpsborg.no","sauda.no","sauherad.no","sel.no","selbu.no","selje.no","seljord.no","sigdal.no","siljan.no","sirdal.no","skaun.no","skedsmo.no","ski.no","skien.no","skiptvet.no","skjervoy.no","skjervøy.no","skierva.no","skiervá.no","skjak.no","skjåk.no","skodje.no","skanland.no","skånland.no","skanit.no","skánit.no","smola.no","smøla.no","snillfjord.no","snasa.no","snåsa.no","snoasa.no","snaase.no","snåase.no","sogndal.no","sokndal.no","sola.no","solund.no","songdalen.no","sortland.no","spydeberg.no","stange.no","stavanger.no","steigen.no","steinkjer.no","stjordal.no","stjørdal.no","stokke.no","stor-elvdal.no","stord.no","stordal.no","storfjord.no","omasvuotna.no","strand.no","stranda.no","stryn.no","sula.no","suldal.no","sund.no","sunndal.no","surnadal.no","sveio.no","svelvik.no","sykkylven.no","sogne.no","søgne.no","somna.no","sømna.no","sondre-land.no","søndre-land.no","sor-aurdal.no","sør-aurdal.no","sor-fron.no","sør-fron.no","sor-odal.no","sør-odal.no","sor-varanger.no","sør-varanger.no","matta-varjjat.no","mátta-várjjat.no","sorfold.no","sørfold.no","sorreisa.no","sørreisa.no","sorum.no","sørum.no","tana.no","deatnu.no","time.no","tingvoll.no","tinn.no","tjeldsund.no","dielddanuorri.no","tjome.no","tjøme.no","tokke.no","tolga.no","torsken.no","tranoy.no","tranøy.no","tromso.no","tromsø.no","tromsa.no","romsa.no","trondheim.no","troandin.no","trysil.no","trana.no","træna.no","trogstad.no","trøgstad.no","tvedestrand.no","tydal.no","tynset.no","tysfjord.no","divtasvuodna.no","divttasvuotna.no","tysnes.no","tysvar.no","tysvær.no","tonsberg.no","tønsberg.no","ullensaker.no","ullensvang.no","ulvik.no","utsira.no","vadso.no","vadsø.no","cahcesuolo.no","čáhcesuolo.no","vaksdal.no","valle.no","vang.no","vanylven.no","vardo.no","vardø.no","varggat.no","várggát.no","vefsn.no","vaapste.no","vega.no","vegarshei.no","vegårshei.no","vennesla.no","verdal.no","verran.no","vestby.no","vestnes.no","vestre-slidre.no","vestre-toten.no","vestvagoy.no","vestvågøy.no","vevelstad.no","vik.no","vikna.no","vindafjord.no","volda.no","voss.no","varoy.no","værøy.no","vagan.no","vågan.no","voagat.no","vagsoy.no","vågsøy.no","vaga.no","vågå.no","valer.ostfold.no","våler.østfold.no","valer.hedmark.no","våler.hedmark.no","*.np","nr","biz.nr","info.nr","gov.nr","edu.nr","org.nr","net.nr","com.nr","nu","nz","ac.nz","co.nz","cri.nz","geek.nz","gen.nz","govt.nz","health.nz","iwi.nz","kiwi.nz","maori.nz","mil.nz","māori.nz","net.nz","org.nz","parliament.nz","school.nz","om","co.om","com.om","edu.om","gov.om","med.om","museum.om","net.om","org.om","pro.om","onion","org","pa","ac.pa","gob.pa","com.pa","org.pa","sld.pa","edu.pa","net.pa","ing.pa","abo.pa","med.pa","nom.pa","pe","edu.pe","gob.pe","nom.pe","mil.pe","org.pe","com.pe","net.pe","pf","com.pf","org.pf","edu.pf","*.pg","ph","com.ph","net.ph","org.ph","gov.ph","edu.ph","ngo.ph","mil.ph","i.ph","pk","com.pk","net.pk","edu.pk","org.pk","fam.pk","biz.pk","web.pk","gov.pk","gob.pk","gok.pk","gon.pk","gop.pk","gos.pk","info.pk","pl","com.pl","net.pl","org.pl","aid.pl","agro.pl","atm.pl","auto.pl","biz.pl","edu.pl","gmina.pl","gsm.pl","info.pl","mail.pl","miasta.pl","media.pl","mil.pl","nieruchomosci.pl","nom.pl","pc.pl","powiat.pl","priv.pl","realestate.pl","rel.pl","sex.pl","shop.pl","sklep.pl","sos.pl","szkola.pl","targi.pl","tm.pl","tourism.pl","travel.pl","turystyka.pl","gov.pl","ap.gov.pl","ic.gov.pl","is.gov.pl","us.gov.pl","kmpsp.gov.pl","kppsp.gov.pl","kwpsp.gov.pl","psp.gov.pl","wskr.gov.pl","kwp.gov.pl","mw.gov.pl","ug.gov.pl","um.gov.pl","umig.gov.pl","ugim.gov.pl","upow.gov.pl","uw.gov.pl","starostwo.gov.pl","pa.gov.pl","po.gov.pl","psse.gov.pl","pup.gov.pl","rzgw.gov.pl","sa.gov.pl","so.gov.pl","sr.gov.pl","wsa.gov.pl","sko.gov.pl","uzs.gov.pl","wiih.gov.pl","winb.gov.pl","pinb.gov.pl","wios.gov.pl","witd.gov.pl","wzmiuw.gov.pl","piw.gov.pl","wiw.gov.pl","griw.gov.pl","wif.gov.pl","oum.gov.pl","sdn.gov.pl","zp.gov.pl","uppo.gov.pl","mup.gov.pl","wuoz.gov.pl","konsulat.gov.pl","oirm.gov.pl","augustow.pl","babia-gora.pl","bedzin.pl","beskidy.pl","bialowieza.pl","bialystok.pl","bielawa.pl","bieszczady.pl","boleslawiec.pl","bydgoszcz.pl","bytom.pl","cieszyn.pl","czeladz.pl","czest.pl","dlugoleka.pl","elblag.pl","elk.pl","glogow.pl","gniezno.pl","gorlice.pl","grajewo.pl","ilawa.pl","jaworzno.pl","jelenia-gora.pl","jgora.pl","kalisz.pl","kazimierz-dolny.pl","karpacz.pl","kartuzy.pl","kaszuby.pl","katowice.pl","kepno.pl","ketrzyn.pl","klodzko.pl","kobierzyce.pl","kolobrzeg.pl","konin.pl","konskowola.pl","kutno.pl","lapy.pl","lebork.pl","legnica.pl","lezajsk.pl","limanowa.pl","lomza.pl","lowicz.pl","lubin.pl","lukow.pl","malbork.pl","malopolska.pl","mazowsze.pl","mazury.pl","mielec.pl","mielno.pl","mragowo.pl","naklo.pl","nowaruda.pl","nysa.pl","olawa.pl","olecko.pl","olkusz.pl","olsztyn.pl","opoczno.pl","opole.pl","ostroda.pl","ostroleka.pl","ostrowiec.pl","ostrowwlkp.pl","pila.pl","pisz.pl","podhale.pl","podlasie.pl","polkowice.pl","pomorze.pl","pomorskie.pl","prochowice.pl","pruszkow.pl","przeworsk.pl","pulawy.pl","radom.pl","rawa-maz.pl","rybnik.pl","rzeszow.pl","sanok.pl","sejny.pl","slask.pl","slupsk.pl","sosnowiec.pl","stalowa-wola.pl","skoczow.pl","starachowice.pl","stargard.pl","suwalki.pl","swidnica.pl","swiebodzin.pl","swinoujscie.pl","szczecin.pl","szczytno.pl","tarnobrzeg.pl","tgory.pl","turek.pl","tychy.pl","ustka.pl","walbrzych.pl","warmia.pl","warszawa.pl","waw.pl","wegrow.pl","wielun.pl","wlocl.pl","wloclawek.pl","wodzislaw.pl","wolomin.pl","wroclaw.pl","zachpomor.pl","zagan.pl","zarow.pl","zgora.pl","zgorzelec.pl","pm","pn","gov.pn","co.pn","org.pn","edu.pn","net.pn","post","pr","com.pr","net.pr","org.pr","gov.pr","edu.pr","isla.pr","pro.pr","biz.pr","info.pr","name.pr","est.pr","prof.pr","ac.pr","pro","aaa.pro","aca.pro","acct.pro","avocat.pro","bar.pro","cpa.pro","eng.pro","jur.pro","law.pro","med.pro","recht.pro","ps","edu.ps","gov.ps","sec.ps","plo.ps","com.ps","org.ps","net.ps","pt","net.pt","gov.pt","org.pt","edu.pt","int.pt","publ.pt","com.pt","nome.pt","pw","co.pw","ne.pw","or.pw","ed.pw","go.pw","belau.pw","py","com.py","coop.py","edu.py","gov.py","mil.py","net.py","org.py","qa","com.qa","edu.qa","gov.qa","mil.qa","name.qa","net.qa","org.qa","sch.qa","re","asso.re","com.re","nom.re","ro","arts.ro","com.ro","firm.ro","info.ro","nom.ro","nt.ro","org.ro","rec.ro","store.ro","tm.ro","www.ro","rs","ac.rs","co.rs","edu.rs","gov.rs","in.rs","org.rs","ru","rw","ac.rw","co.rw","coop.rw","gov.rw","mil.rw","net.rw","org.rw","sa","com.sa","net.sa","org.sa","gov.sa","med.sa","pub.sa","edu.sa","sch.sa","sb","com.sb","edu.sb","gov.sb","net.sb","org.sb","sc","com.sc","gov.sc","net.sc","org.sc","edu.sc","sd","com.sd","net.sd","org.sd","edu.sd","med.sd","tv.sd","gov.sd","info.sd","se","a.se","ac.se","b.se","bd.se","brand.se","c.se","d.se","e.se","f.se","fh.se","fhsk.se","fhv.se","g.se","h.se","i.se","k.se","komforb.se","kommunalforbund.se","komvux.se","l.se","lanbib.se","m.se","n.se","naturbruksgymn.se","o.se","org.se","p.se","parti.se","pp.se","press.se","r.se","s.se","t.se","tm.se","u.se","w.se","x.se","y.se","z.se","sg","com.sg","net.sg","org.sg","gov.sg","edu.sg","per.sg","sh","com.sh","net.sh","gov.sh","org.sh","mil.sh","si","sj","sk","sl","com.sl","net.sl","edu.sl","gov.sl","org.sl","sm","sn","art.sn","com.sn","edu.sn","gouv.sn","org.sn","perso.sn","univ.sn","so","com.so","edu.so","gov.so","me.so","net.so","org.so","sr","ss","biz.ss","com.ss","edu.ss","gov.ss","me.ss","net.ss","org.ss","sch.ss","st","co.st","com.st","consulado.st","edu.st","embaixada.st","mil.st","net.st","org.st","principe.st","saotome.st","store.st","su","sv","com.sv","edu.sv","gob.sv","org.sv","red.sv","sx","gov.sx","sy","edu.sy","gov.sy","net.sy","mil.sy","com.sy","org.sy","sz","co.sz","ac.sz","org.sz","tc","td","tel","tf","tg","th","ac.th","co.th","go.th","in.th","mi.th","net.th","or.th","tj","ac.tj","biz.tj","co.tj","com.tj","edu.tj","go.tj","gov.tj","int.tj","mil.tj","name.tj","net.tj","nic.tj","org.tj","test.tj","web.tj","tk","tl","gov.tl","tm","com.tm","co.tm","org.tm","net.tm","nom.tm","gov.tm","mil.tm","edu.tm","tn","com.tn","ens.tn","fin.tn","gov.tn","ind.tn","info.tn","intl.tn","mincom.tn","nat.tn","net.tn","org.tn","perso.tn","tourism.tn","to","com.to","gov.to","net.to","org.to","edu.to","mil.to","tr","av.tr","bbs.tr","bel.tr","biz.tr","com.tr","dr.tr","edu.tr","gen.tr","gov.tr","info.tr","mil.tr","k12.tr","kep.tr","name.tr","net.tr","org.tr","pol.tr","tel.tr","tsk.tr","tv.tr","web.tr","nc.tr","gov.nc.tr","tt","co.tt","com.tt","org.tt","net.tt","biz.tt","info.tt","pro.tt","int.tt","coop.tt","jobs.tt","mobi.tt","travel.tt","museum.tt","aero.tt","name.tt","gov.tt","edu.tt","tv","tw","edu.tw","gov.tw","mil.tw","com.tw","net.tw","org.tw","idv.tw","game.tw","ebiz.tw","club.tw","網路.tw","組織.tw","商業.tw","tz","ac.tz","co.tz","go.tz","hotel.tz","info.tz","me.tz","mil.tz","mobi.tz","ne.tz","or.tz","sc.tz","tv.tz","ua","com.ua","edu.ua","gov.ua","in.ua","net.ua","org.ua","cherkassy.ua","cherkasy.ua","chernigov.ua","chernihiv.ua","chernivtsi.ua","chernovtsy.ua","ck.ua","cn.ua","cr.ua","crimea.ua","cv.ua","dn.ua","dnepropetrovsk.ua","dnipropetrovsk.ua","donetsk.ua","dp.ua","if.ua","ivano-frankivsk.ua","kh.ua","kharkiv.ua","kharkov.ua","kherson.ua","khmelnitskiy.ua","khmelnytskyi.ua","kiev.ua","kirovograd.ua","km.ua","kr.ua","krym.ua","ks.ua","kv.ua","kyiv.ua","lg.ua","lt.ua","lugansk.ua","lutsk.ua","lv.ua","lviv.ua","mk.ua","mykolaiv.ua","nikolaev.ua","od.ua","odesa.ua","odessa.ua","pl.ua","poltava.ua","rivne.ua","rovno.ua","rv.ua","sb.ua","sebastopol.ua","sevastopol.ua","sm.ua","sumy.ua","te.ua","ternopil.ua","uz.ua","uzhgorod.ua","vinnica.ua","vinnytsia.ua","vn.ua","volyn.ua","yalta.ua","zaporizhzhe.ua","zaporizhzhia.ua","zhitomir.ua","zhytomyr.ua","zp.ua","zt.ua","ug","co.ug","or.ug","ac.ug","sc.ug","go.ug","ne.ug","com.ug","org.ug","uk","ac.uk","co.uk","gov.uk","ltd.uk","me.uk","net.uk","nhs.uk","org.uk","plc.uk","police.uk","*.sch.uk","us","dni.us","fed.us","isa.us","kids.us","nsn.us","ak.us","al.us","ar.us","as.us","az.us","ca.us","co.us","ct.us","dc.us","de.us","fl.us","ga.us","gu.us","hi.us","ia.us","id.us","il.us","in.us","ks.us","ky.us","la.us","ma.us","md.us","me.us","mi.us","mn.us","mo.us","ms.us","mt.us","nc.us","nd.us","ne.us","nh.us","nj.us","nm.us","nv.us","ny.us","oh.us","ok.us","or.us","pa.us","pr.us","ri.us","sc.us","sd.us","tn.us","tx.us","ut.us","vi.us","vt.us","va.us","wa.us","wi.us","wv.us","wy.us","k12.ak.us","k12.al.us","k12.ar.us","k12.as.us","k12.az.us","k12.ca.us","k12.co.us","k12.ct.us","k12.dc.us","k12.de.us","k12.fl.us","k12.ga.us","k12.gu.us","k12.ia.us","k12.id.us","k12.il.us","k12.in.us","k12.ks.us","k12.ky.us","k12.la.us","k12.ma.us","k12.md.us","k12.me.us","k12.mi.us","k12.mn.us","k12.mo.us","k12.ms.us","k12.mt.us","k12.nc.us","k12.ne.us","k12.nh.us","k12.nj.us","k12.nm.us","k12.nv.us","k12.ny.us","k12.oh.us","k12.ok.us","k12.or.us","k12.pa.us","k12.pr.us","k12.sc.us","k12.tn.us","k12.tx.us","k12.ut.us","k12.vi.us","k12.vt.us","k12.va.us","k12.wa.us","k12.wi.us","k12.wy.us","cc.ak.us","cc.al.us","cc.ar.us","cc.as.us","cc.az.us","cc.ca.us","cc.co.us","cc.ct.us","cc.dc.us","cc.de.us","cc.fl.us","cc.ga.us","cc.gu.us","cc.hi.us","cc.ia.us","cc.id.us","cc.il.us","cc.in.us","cc.ks.us","cc.ky.us","cc.la.us","cc.ma.us","cc.md.us","cc.me.us","cc.mi.us","cc.mn.us","cc.mo.us","cc.ms.us","cc.mt.us","cc.nc.us","cc.nd.us","cc.ne.us","cc.nh.us","cc.nj.us","cc.nm.us","cc.nv.us","cc.ny.us","cc.oh.us","cc.ok.us","cc.or.us","cc.pa.us","cc.pr.us","cc.ri.us","cc.sc.us","cc.sd.us","cc.tn.us","cc.tx.us","cc.ut.us","cc.vi.us","cc.vt.us","cc.va.us","cc.wa.us","cc.wi.us","cc.wv.us","cc.wy.us","lib.ak.us","lib.al.us","lib.ar.us","lib.as.us","lib.az.us","lib.ca.us","lib.co.us","lib.ct.us","lib.dc.us","lib.fl.us","lib.ga.us","lib.gu.us","lib.hi.us","lib.ia.us","lib.id.us","lib.il.us","lib.in.us","lib.ks.us","lib.ky.us","lib.la.us","lib.ma.us","lib.md.us","lib.me.us","lib.mi.us","lib.mn.us","lib.mo.us","lib.ms.us","lib.mt.us","lib.nc.us","lib.nd.us","lib.ne.us","lib.nh.us","lib.nj.us","lib.nm.us","lib.nv.us","lib.ny.us","lib.oh.us","lib.ok.us","lib.or.us","lib.pa.us","lib.pr.us","lib.ri.us","lib.sc.us","lib.sd.us","lib.tn.us","lib.tx.us","lib.ut.us","lib.vi.us","lib.vt.us","lib.va.us","lib.wa.us","lib.wi.us","lib.wy.us","pvt.k12.ma.us","chtr.k12.ma.us","paroch.k12.ma.us","ann-arbor.mi.us","cog.mi.us","dst.mi.us","eaton.mi.us","gen.mi.us","mus.mi.us","tec.mi.us","washtenaw.mi.us","uy","com.uy","edu.uy","gub.uy","mil.uy","net.uy","org.uy","uz","co.uz","com.uz","net.uz","org.uz","va","vc","com.vc","net.vc","org.vc","gov.vc","mil.vc","edu.vc","ve","arts.ve","bib.ve","co.ve","com.ve","e12.ve","edu.ve","firm.ve","gob.ve","gov.ve","info.ve","int.ve","mil.ve","net.ve","nom.ve","org.ve","rar.ve","rec.ve","store.ve","tec.ve","web.ve","vg","vi","co.vi","com.vi","k12.vi","net.vi","org.vi","vn","com.vn","net.vn","org.vn","edu.vn","gov.vn","int.vn","ac.vn","biz.vn","info.vn","name.vn","pro.vn","health.vn","vu","com.vu","edu.vu","net.vu","org.vu","wf","ws","com.ws","net.ws","org.ws","gov.ws","edu.ws","yt","امارات","հայ","বাংলা","бг","البحرين","бел","中国","中國","الجزائر","مصر","ею","ευ","موريتانيا","გე","ελ","香港","公司.香港","教育.香港","政府.香港","個人.香港","網絡.香港","組織.香港","ಭಾರತ","ଭାରତ","ভাৰত","भारतम्","भारोत","ڀارت","ഭാരതം","भारत","بارت","بھارت","భారత్","ભારત","ਭਾਰਤ","ভারত","இந்தியா","ایران","ايران","عراق","الاردن","한국","қаз","ລາວ","ලංකා","இலங்கை","المغرب","мкд","мон","澳門","澳门","مليسيا","عمان","پاکستان","پاكستان","فلسطين","срб","пр.срб","орг.срб","обр.срб","од.срб","упр.срб","ак.срб","рф","قطر","السعودية","السعودیة","السعودیۃ","السعوديه","سودان","新加坡","சிங்கப்பூர்","سورية","سوريا","ไทย","ศึกษา.ไทย","ธุรกิจ.ไทย","รัฐบาล.ไทย","ทหาร.ไทย","เน็ต.ไทย","องค์กร.ไทย","تونس","台灣","台湾","臺灣","укр","اليمن","xxx","ye","com.ye","edu.ye","gov.ye","net.ye","mil.ye","org.ye","ac.za","agric.za","alt.za","co.za","edu.za","gov.za","grondar.za","law.za","mil.za","net.za","ngo.za","nic.za","nis.za","nom.za","org.za","school.za","tm.za","web.za","zm","ac.zm","biz.zm","co.zm","com.zm","edu.zm","gov.zm","info.zm","mil.zm","net.zm","org.zm","sch.zm","zw","ac.zw","co.zw","gov.zw","mil.zw","org.zw","aaa","aarp","abarth","abb","abbott","abbvie","abc","able","abogado","abudhabi","academy","accenture","accountant","accountants","aco","actor","adac","ads","adult","aeg","aetna","afl","africa","agakhan","agency","aig","airbus","airforce","airtel","akdn","alfaromeo","alibaba","alipay","allfinanz","allstate","ally","alsace","alstom","amazon","americanexpress","americanfamily","amex","amfam","amica","amsterdam","analytics","android","anquan","anz","aol","apartments","app","apple","aquarelle","arab","aramco","archi","army","art","arte","asda","associates","athleta","attorney","auction","audi","audible","audio","auspost","author","auto","autos","avianca","aws","axa","azure","baby","baidu","banamex","bananarepublic","band","bank","bar","barcelona","barclaycard","barclays","barefoot","bargains","baseball","basketball","bauhaus","bayern","bbc","bbt","bbva","bcg","bcn","beats","beauty","beer","bentley","berlin","best","bestbuy","bet","bharti","bible","bid","bike","bing","bingo","bio","black","blackfriday","blockbuster","blog","bloomberg","blue","bms","bmw","bnpparibas","boats","boehringer","bofa","bom","bond","boo","book","booking","bosch","bostik","boston","bot","boutique","box","bradesco","bridgestone","broadway","broker","brother","brussels","bugatti","build","builders","business","buy","buzz","bzh","cab","cafe","cal","call","calvinklein","cam","camera","camp","cancerresearch","canon","capetown","capital","capitalone","car","caravan","cards","care","career","careers","cars","casa","case","cash","casino","catering","catholic","cba","cbn","cbre","cbs","center","ceo","cern","cfa","cfd","chanel","channel","charity","chase","chat","cheap","chintai","christmas","chrome","church","cipriani","circle","cisco","citadel","citi","citic","city","cityeats","claims","cleaning","click","clinic","clinique","clothing","cloud","club","clubmed","coach","codes","coffee","college","cologne","comcast","commbank","community","company","compare","computer","comsec","condos","construction","consulting","contact","contractors","cooking","cookingchannel","cool","corsica","country","coupon","coupons","courses","cpa","credit","creditcard","creditunion","cricket","crown","crs","cruise","cruises","cuisinella","cymru","cyou","dabur","dad","dance","data","date","dating","datsun","day","dclk","dds","deal","dealer","deals","degree","delivery","dell","deloitte","delta","democrat","dental","dentist","desi","design","dev","dhl","diamonds","diet","digital","direct","directory","discount","discover","dish","diy","dnp","docs","doctor","dog","domains","dot","download","drive","dtv","dubai","dunlop","dupont","durban","dvag","dvr","earth","eat","eco","edeka","education","email","emerck","energy","engineer","engineering","enterprises","epson","equipment","ericsson","erni","esq","estate","etisalat","eurovision","eus","events","exchange","expert","exposed","express","extraspace","fage","fail","fairwinds","faith","family","fan","fans","farm","farmers","fashion","fast","fedex","feedback","ferrari","ferrero","fiat","fidelity","fido","film","final","finance","financial","fire","firestone","firmdale","fish","fishing","fit","fitness","flickr","flights","flir","florist","flowers","fly","foo","food","foodnetwork","football","ford","forex","forsale","forum","foundation","fox","free","fresenius","frl","frogans","frontdoor","frontier","ftr","fujitsu","fun","fund","furniture","futbol","fyi","gal","gallery","gallo","gallup","game","games","gap","garden","gay","gbiz","gdn","gea","gent","genting","george","ggee","gift","gifts","gives","giving","glass","gle","global","globo","gmail","gmbh","gmo","gmx","godaddy","gold","goldpoint","golf","goo","goodyear","goog","google","gop","got","grainger","graphics","gratis","green","gripe","grocery","group","guardian","gucci","guge","guide","guitars","guru","hair","hamburg","hangout","haus","hbo","hdfc","hdfcbank","health","healthcare","help","helsinki","here","hermes","hgtv","hiphop","hisamitsu","hitachi","hiv","hkt","hockey","holdings","holiday","homedepot","homegoods","homes","homesense","honda","horse","hospital","host","hosting","hot","hoteles","hotels","hotmail","house","how","hsbc","hughes","hyatt","hyundai","ibm","icbc","ice","icu","ieee","ifm","ikano","imamat","imdb","immo","immobilien","inc","industries","infiniti","ing","ink","institute","insurance","insure","international","intuit","investments","ipiranga","irish","ismaili","ist","istanbul","itau","itv","jaguar","java","jcb","jeep","jetzt","jewelry","jio","jll","jmp","jnj","joburg","jot","joy","jpmorgan","jprs","juegos","juniper","kaufen","kddi","kerryhotels","kerrylogistics","kerryproperties","kfh","kia","kids","kim","kinder","kindle","kitchen","kiwi","koeln","komatsu","kosher","kpmg","kpn","krd","kred","kuokgroup","kyoto","lacaixa","lamborghini","lamer","lancaster","lancia","land","landrover","lanxess","lasalle","lat","latino","latrobe","law","lawyer","lds","lease","leclerc","lefrak","legal","lego","lexus","lgbt","lidl","life","lifeinsurance","lifestyle","lighting","like","lilly","limited","limo","lincoln","linde","link","lipsy","live","living","llc","llp","loan","loans","locker","locus","loft","lol","london","lotte","lotto","love","lpl","lplfinancial","ltd","ltda","lundbeck","luxe","luxury","macys","madrid","maif","maison","makeup","man","management","mango","map","market","marketing","markets","marriott","marshalls","maserati","mattel","mba","mckinsey","med","media","meet","melbourne","meme","memorial","men","menu","merckmsd","miami","microsoft","mini","mint","mit","mitsubishi","mlb","mls","mma","mobile","moda","moe","moi","mom","monash","money","monster","mormon","mortgage","moscow","moto","motorcycles","mov","movie","msd","mtn","mtr","music","mutual","nab","nagoya","natura","navy","nba","nec","netbank","netflix","network","neustar","new","news","next","nextdirect","nexus","nfl","ngo","nhk","nico","nike","nikon","ninja","nissan","nissay","nokia","northwesternmutual","norton","now","nowruz","nowtv","nra","nrw","ntt","nyc","obi","observer","office","okinawa","olayan","olayangroup","oldnavy","ollo","omega","one","ong","onl","online","ooo","open","oracle","orange","organic","origins","osaka","otsuka","ott","ovh","page","panasonic","paris","pars","partners","parts","party","passagens","pay","pccw","pet","pfizer","pharmacy","phd","philips","phone","photo","photography","photos","physio","pics","pictet","pictures","pid","pin","ping","pink","pioneer","pizza","place","play","playstation","plumbing","plus","pnc","pohl","poker","politie","porn","pramerica","praxi","press","prime","prod","productions","prof","progressive","promo","properties","property","protection","pru","prudential","pub","pwc","qpon","quebec","quest","racing","radio","read","realestate","realtor","realty","recipes","red","redstone","redumbrella","rehab","reise","reisen","reit","reliance","ren","rent","rentals","repair","report","republican","rest","restaurant","review","reviews","rexroth","rich","richardli","ricoh","ril","rio","rip","rocher","rocks","rodeo","rogers","room","rsvp","rugby","ruhr","run","rwe","ryukyu","saarland","safe","safety","sakura","sale","salon","samsclub","samsung","sandvik","sandvikcoromant","sanofi","sap","sarl","sas","save","saxo","sbi","sbs","sca","scb","schaeffler","schmidt","scholarships","school","schule","schwarz","science","scot","search","seat","secure","security","seek","select","sener","services","ses","seven","sew","sex","sexy","sfr","shangrila","sharp","shaw","shell","shia","shiksha","shoes","shop","shopping","shouji","show","showtime","silk","sina","singles","site","ski","skin","sky","skype","sling","smart","smile","sncf","soccer","social","softbank","software","sohu","solar","solutions","song","sony","soy","spa","space","sport","spot","srl","stada","staples","star","statebank","statefarm","stc","stcgroup","stockholm","storage","store","stream","studio","study","style","sucks","supplies","supply","support","surf","surgery","suzuki","swatch","swiss","sydney","systems","tab","taipei","talk","taobao","target","tatamotors","tatar","tattoo","tax","taxi","tci","tdk","team","tech","technology","temasek","tennis","teva","thd","theater","theatre","tiaa","tickets","tienda","tiffany","tips","tires","tirol","tjmaxx","tjx","tkmaxx","tmall","today","tokyo","tools","top","toray","toshiba","total","tours","town","toyota","toys","trade","trading","training","travel","travelchannel","travelers","travelersinsurance","trust","trv","tube","tui","tunes","tushu","tvs","ubank","ubs","unicom","university","uno","uol","ups","vacations","vana","vanguard","vegas","ventures","verisign","versicherung","vet","viajes","video","vig","viking","villas","vin","vip","virgin","visa","vision","viva","vivo","vlaanderen","vodka","volkswagen","volvo","vote","voting","voto","voyage","vuelos","wales","walmart","walter","wang","wanggou","watch","watches","weather","weatherchannel","webcam","weber","website","wedding","weibo","weir","whoswho","wien","wiki","williamhill","win","windows","wine","winners","wme","wolterskluwer","woodside","work","works","world","wow","wtc","wtf","xbox","xerox","xfinity","xihuan","xin","कॉम","セール","佛山","慈善","集团","在线","点看","คอม","八卦","موقع","公益","公司","香格里拉","网站","移动","我爱你","москва","католик","онлайн","сайт","联通","קום","时尚","微博","淡马锡","ファッション","орг","नेट","ストア","アマゾン","삼성","商标","商店","商城","дети","ポイント","新闻","家電","كوم","中文网","中信","娱乐","谷歌","電訊盈科","购物","クラウド","通販","网店","संगठन","餐厅","网络","ком","亚马逊","诺基亚","食品","飞利浦","手机","ارامكو","العليان","اتصالات","بازار","ابوظبي","كاثوليك","همراه","닷컴","政府","شبكة","بيتك","عرب","机构","组织机构","健康","招聘","рус","大拿","みんな","グーグル","世界","書籍","网址","닷넷","コム","天主教","游戏","vermögensberater","vermögensberatung","企业","信息","嘉里大酒店","嘉里","广东","政务","xyz","yachts","yahoo","yamaxun","yandex","yodobashi","yoga","yokohama","you","youtube","yun","zappos","zara","zero","zip","zone","zuerich","cc.ua","inf.ua","ltd.ua","611.to","graphox.us","*.devcdnaccesso.com","adobeaemcloud.com","*.dev.adobeaemcloud.com","hlx.live","adobeaemcloud.net","hlx.page","hlx3.page","beep.pl","airkitapps.com","airkitapps-au.com","airkitapps.eu","aivencloud.com","barsy.ca","*.compute.estate","*.alces.network","kasserver.com","altervista.org","alwaysdata.net","cloudfront.net","*.compute.amazonaws.com","*.compute-1.amazonaws.com","*.compute.amazonaws.com.cn","us-east-1.amazonaws.com","cn-north-1.eb.amazonaws.com.cn","cn-northwest-1.eb.amazonaws.com.cn","elasticbeanstalk.com","ap-northeast-1.elasticbeanstalk.com","ap-northeast-2.elasticbeanstalk.com","ap-northeast-3.elasticbeanstalk.com","ap-south-1.elasticbeanstalk.com","ap-southeast-1.elasticbeanstalk.com","ap-southeast-2.elasticbeanstalk.com","ca-central-1.elasticbeanstalk.com","eu-central-1.elasticbeanstalk.com","eu-west-1.elasticbeanstalk.com","eu-west-2.elasticbeanstalk.com","eu-west-3.elasticbeanstalk.com","sa-east-1.elasticbeanstalk.com","us-east-1.elasticbeanstalk.com","us-east-2.elasticbeanstalk.com","us-gov-west-1.elasticbeanstalk.com","us-west-1.elasticbeanstalk.com","us-west-2.elasticbeanstalk.com","*.elb.amazonaws.com","*.elb.amazonaws.com.cn","awsglobalaccelerator.com","s3.amazonaws.com","s3-ap-northeast-1.amazonaws.com","s3-ap-northeast-2.amazonaws.com","s3-ap-south-1.amazonaws.com","s3-ap-southeast-1.amazonaws.com","s3-ap-southeast-2.amazonaws.com","s3-ca-central-1.amazonaws.com","s3-eu-central-1.amazonaws.com","s3-eu-west-1.amazonaws.com","s3-eu-west-2.amazonaws.com","s3-eu-west-3.amazonaws.com","s3-external-1.amazonaws.com","s3-fips-us-gov-west-1.amazonaws.com","s3-sa-east-1.amazonaws.com","s3-us-gov-west-1.amazonaws.com","s3-us-east-2.amazonaws.com","s3-us-west-1.amazonaws.com","s3-us-west-2.amazonaws.com","s3.ap-northeast-2.amazonaws.com","s3.ap-south-1.amazonaws.com","s3.cn-north-1.amazonaws.com.cn","s3.ca-central-1.amazonaws.com","s3.eu-central-1.amazonaws.com","s3.eu-west-2.amazonaws.com","s3.eu-west-3.amazonaws.com","s3.us-east-2.amazonaws.com","s3.dualstack.ap-northeast-1.amazonaws.com","s3.dualstack.ap-northeast-2.amazonaws.com","s3.dualstack.ap-south-1.amazonaws.com","s3.dualstack.ap-southeast-1.amazonaws.com","s3.dualstack.ap-southeast-2.amazonaws.com","s3.dualstack.ca-central-1.amazonaws.com","s3.dualstack.eu-central-1.amazonaws.com","s3.dualstack.eu-west-1.amazonaws.com","s3.dualstack.eu-west-2.amazonaws.com","s3.dualstack.eu-west-3.amazonaws.com","s3.dualstack.sa-east-1.amazonaws.com","s3.dualstack.us-east-1.amazonaws.com","s3.dualstack.us-east-2.amazonaws.com","s3-website-us-east-1.amazonaws.com","s3-website-us-west-1.amazonaws.com","s3-website-us-west-2.amazonaws.com","s3-website-ap-northeast-1.amazonaws.com","s3-website-ap-southeast-1.amazonaws.com","s3-website-ap-southeast-2.amazonaws.com","s3-website-eu-west-1.amazonaws.com","s3-website-sa-east-1.amazonaws.com","s3-website.ap-northeast-2.amazonaws.com","s3-website.ap-south-1.amazonaws.com","s3-website.ca-central-1.amazonaws.com","s3-website.eu-central-1.amazonaws.com","s3-website.eu-west-2.amazonaws.com","s3-website.eu-west-3.amazonaws.com","s3-website.us-east-2.amazonaws.com","t3l3p0rt.net","tele.amune.org","apigee.io","siiites.com","appspacehosted.com","appspaceusercontent.com","appudo.net","on-aptible.com","user.aseinet.ne.jp","gv.vc","d.gv.vc","user.party.eus","pimienta.org","poivron.org","potager.org","sweetpepper.org","myasustor.com","cdn.prod.atlassian-dev.net","translated.page","myfritz.net","onavstack.net","*.awdev.ca","*.advisor.ws","ecommerce-shop.pl","b-data.io","backplaneapp.io","balena-devices.com","rs.ba","*.banzai.cloud","app.banzaicloud.io","*.backyards.banzaicloud.io","base.ec","official.ec","buyshop.jp","fashionstore.jp","handcrafted.jp","kawaiishop.jp","supersale.jp","theshop.jp","shopselect.net","base.shop","*.beget.app","betainabox.com","bnr.la","bitbucket.io","blackbaudcdn.net","of.je","bluebite.io","boomla.net","boutir.com","boxfuse.io","square7.ch","bplaced.com","bplaced.de","square7.de","bplaced.net","square7.net","shop.brendly.rs","browsersafetymark.io","uk0.bigv.io","dh.bytemark.co.uk","vm.bytemark.co.uk","cafjs.com","mycd.eu","drr.ac","uwu.ai","carrd.co","crd.co","ju.mp","ae.org","br.com","cn.com","com.de","com.se","de.com","eu.com","gb.net","hu.net","jp.net","jpn.com","mex.com","ru.com","sa.com","se.net","uk.com","uk.net","us.com","za.bz","za.com","ar.com","hu.com","kr.com","no.com","qc.com","uy.com","africa.com","gr.com","in.net","web.in","us.org","co.com","aus.basketball","nz.basketball","radio.am","radio.fm","c.la","certmgr.org","cx.ua","discourse.group","discourse.team","cleverapps.io","clerk.app","clerkstage.app","*.lcl.dev","*.lclstage.dev","*.stg.dev","*.stgstage.dev","clickrising.net","c66.me","cloud66.ws","cloud66.zone","jdevcloud.com","wpdevcloud.com","cloudaccess.host","freesite.host","cloudaccess.net","cloudcontrolled.com","cloudcontrolapp.com","*.cloudera.site","pages.dev","trycloudflare.com","workers.dev","wnext.app","co.ca","*.otap.co","co.cz","c.cdn77.org","cdn77-ssl.net","r.cdn77.net","rsc.cdn77.org","ssl.origin.cdn77-secure.org","cloudns.asia","cloudns.biz","cloudns.club","cloudns.cc","cloudns.eu","cloudns.in","cloudns.info","cloudns.org","cloudns.pro","cloudns.pw","cloudns.us","cnpy.gdn","codeberg.page","co.nl","co.no","webhosting.be","hosting-cluster.nl","ac.ru","edu.ru","gov.ru","int.ru","mil.ru","test.ru","dyn.cosidns.de","dynamisches-dns.de","dnsupdater.de","internet-dns.de","l-o-g-i-n.de","dynamic-dns.info","feste-ip.net","knx-server.net","static-access.net","realm.cz","*.cryptonomic.net","cupcake.is","curv.dev","*.customer-oci.com","*.oci.customer-oci.com","*.ocp.customer-oci.com","*.ocs.customer-oci.com","cyon.link","cyon.site","fnwk.site","folionetwork.site","platform0.app","daplie.me","localhost.daplie.me","dattolocal.com","dattorelay.com","dattoweb.com","mydatto.com","dattolocal.net","mydatto.net","biz.dk","co.dk","firm.dk","reg.dk","store.dk","dyndns.dappnode.io","*.dapps.earth","*.bzz.dapps.earth","builtwithdark.com","demo.datadetect.com","instance.datadetect.com","edgestack.me","ddns5.com","debian.net","deno.dev","deno-staging.dev","dedyn.io","deta.app","deta.dev","*.rss.my.id","*.diher.solutions","discordsays.com","discordsez.com","jozi.biz","dnshome.de","online.th","shop.th","drayddns.com","shoparena.pl","dreamhosters.com","mydrobo.com","drud.io","drud.us","duckdns.org","bip.sh","bitbridge.net","dy.fi","tunk.org","dyndns-at-home.com","dyndns-at-work.com","dyndns-blog.com","dyndns-free.com","dyndns-home.com","dyndns-ip.com","dyndns-mail.com","dyndns-office.com","dyndns-pics.com","dyndns-remote.com","dyndns-server.com","dyndns-web.com","dyndns-wiki.com","dyndns-work.com","dyndns.biz","dyndns.info","dyndns.org","dyndns.tv","at-band-camp.net","ath.cx","barrel-of-knowledge.info","barrell-of-knowledge.info","better-than.tv","blogdns.com","blogdns.net","blogdns.org","blogsite.org","boldlygoingnowhere.org","broke-it.net","buyshouses.net","cechire.com","dnsalias.com","dnsalias.net","dnsalias.org","dnsdojo.com","dnsdojo.net","dnsdojo.org","does-it.net","doesntexist.com","doesntexist.org","dontexist.com","dontexist.net","dontexist.org","doomdns.com","doomdns.org","dvrdns.org","dyn-o-saur.com","dynalias.com","dynalias.net","dynalias.org","dynathome.net","dyndns.ws","endofinternet.net","endofinternet.org","endoftheinternet.org","est-a-la-maison.com","est-a-la-masion.com","est-le-patron.com","est-mon-blogueur.com","for-better.biz","for-more.biz","for-our.info","for-some.biz","for-the.biz","forgot.her.name","forgot.his.name","from-ak.com","from-al.com","from-ar.com","from-az.net","from-ca.com","from-co.net","from-ct.com","from-dc.com","from-de.com","from-fl.com","from-ga.com","from-hi.com","from-ia.com","from-id.com","from-il.com","from-in.com","from-ks.com","from-ky.com","from-la.net","from-ma.com","from-md.com","from-me.org","from-mi.com","from-mn.com","from-mo.com","from-ms.com","from-mt.com","from-nc.com","from-nd.com","from-ne.com","from-nh.com","from-nj.com","from-nm.com","from-nv.com","from-ny.net","from-oh.com","from-ok.com","from-or.com","from-pa.com","from-pr.com","from-ri.com","from-sc.com","from-sd.com","from-tn.com","from-tx.com","from-ut.com","from-va.com","from-vt.com","from-wa.com","from-wi.com","from-wv.com","from-wy.com","ftpaccess.cc","fuettertdasnetz.de","game-host.org","game-server.cc","getmyip.com","gets-it.net","go.dyndns.org","gotdns.com","gotdns.org","groks-the.info","groks-this.info","ham-radio-op.net","here-for-more.info","hobby-site.com","hobby-site.org","home.dyndns.org","homedns.org","homeftp.net","homeftp.org","homeip.net","homelinux.com","homelinux.net","homelinux.org","homeunix.com","homeunix.net","homeunix.org","iamallama.com","in-the-band.net","is-a-anarchist.com","is-a-blogger.com","is-a-bookkeeper.com","is-a-bruinsfan.org","is-a-bulls-fan.com","is-a-candidate.org","is-a-caterer.com","is-a-celticsfan.org","is-a-chef.com","is-a-chef.net","is-a-chef.org","is-a-conservative.com","is-a-cpa.com","is-a-cubicle-slave.com","is-a-democrat.com","is-a-designer.com","is-a-doctor.com","is-a-financialadvisor.com","is-a-geek.com","is-a-geek.net","is-a-geek.org","is-a-green.com","is-a-guru.com","is-a-hard-worker.com","is-a-hunter.com","is-a-knight.org","is-a-landscaper.com","is-a-lawyer.com","is-a-liberal.com","is-a-libertarian.com","is-a-linux-user.org","is-a-llama.com","is-a-musician.com","is-a-nascarfan.com","is-a-nurse.com","is-a-painter.com","is-a-patsfan.org","is-a-personaltrainer.com","is-a-photographer.com","is-a-player.com","is-a-republican.com","is-a-rockstar.com","is-a-socialist.com","is-a-soxfan.org","is-a-student.com","is-a-teacher.com","is-a-techie.com","is-a-therapist.com","is-an-accountant.com","is-an-actor.com","is-an-actress.com","is-an-anarchist.com","is-an-artist.com","is-an-engineer.com","is-an-entertainer.com","is-by.us","is-certified.com","is-found.org","is-gone.com","is-into-anime.com","is-into-cars.com","is-into-cartoons.com","is-into-games.com","is-leet.com","is-lost.org","is-not-certified.com","is-saved.org","is-slick.com","is-uberleet.com","is-very-bad.org","is-very-evil.org","is-very-good.org","is-very-nice.org","is-very-sweet.org","is-with-theband.com","isa-geek.com","isa-geek.net","isa-geek.org","isa-hockeynut.com","issmarterthanyou.com","isteingeek.de","istmein.de","kicks-ass.net","kicks-ass.org","knowsitall.info","land-4-sale.us","lebtimnetz.de","leitungsen.de","likes-pie.com","likescandy.com","merseine.nu","mine.nu","misconfused.org","mypets.ws","myphotos.cc","neat-url.com","office-on-the.net","on-the-web.tv","podzone.net","podzone.org","readmyblog.org","saves-the-whales.com","scrapper-site.net","scrapping.cc","selfip.biz","selfip.com","selfip.info","selfip.net","selfip.org","sells-for-less.com","sells-for-u.com","sells-it.net","sellsyourhome.org","servebbs.com","servebbs.net","servebbs.org","serveftp.net","serveftp.org","servegame.org","shacknet.nu","simple-url.com","space-to-rent.com","stuff-4-sale.org","stuff-4-sale.us","teaches-yoga.com","thruhere.net","traeumtgerade.de","webhop.biz","webhop.info","webhop.net","webhop.org","worse-than.tv","writesthisblog.com","ddnss.de","dyn.ddnss.de","dyndns.ddnss.de","dyndns1.de","dyn-ip24.de","home-webserver.de","dyn.home-webserver.de","myhome-server.de","ddnss.org","definima.net","definima.io","ondigitalocean.app","*.digitaloceanspaces.com","bci.dnstrace.pro","ddnsfree.com","ddnsgeek.com","giize.com","gleeze.com","kozow.com","loseyourip.com","ooguy.com","theworkpc.com","casacam.net","dynu.net","accesscam.org","camdvr.org","freeddns.org","mywire.org","webredirect.org","myddns.rocks","blogsite.xyz","dynv6.net","e4.cz","eero.online","eero-stage.online","elementor.cloud","elementor.cool","en-root.fr","mytuleap.com","tuleap-partners.com","encr.app","encoreapi.com","onred.one","staging.onred.one","eu.encoway.cloud","eu.org","al.eu.org","asso.eu.org","at.eu.org","au.eu.org","be.eu.org","bg.eu.org","ca.eu.org","cd.eu.org","ch.eu.org","cn.eu.org","cy.eu.org","cz.eu.org","de.eu.org","dk.eu.org","edu.eu.org","ee.eu.org","es.eu.org","fi.eu.org","fr.eu.org","gr.eu.org","hr.eu.org","hu.eu.org","ie.eu.org","il.eu.org","in.eu.org","int.eu.org","is.eu.org","it.eu.org","jp.eu.org","kr.eu.org","lt.eu.org","lu.eu.org","lv.eu.org","mc.eu.org","me.eu.org","mk.eu.org","mt.eu.org","my.eu.org","net.eu.org","ng.eu.org","nl.eu.org","no.eu.org","nz.eu.org","paris.eu.org","pl.eu.org","pt.eu.org","q-a.eu.org","ro.eu.org","ru.eu.org","se.eu.org","si.eu.org","sk.eu.org","tr.eu.org","uk.eu.org","us.eu.org","eurodir.ru","eu-1.evennode.com","eu-2.evennode.com","eu-3.evennode.com","eu-4.evennode.com","us-1.evennode.com","us-2.evennode.com","us-3.evennode.com","us-4.evennode.com","twmail.cc","twmail.net","twmail.org","mymailer.com.tw","url.tw","onfabrica.com","apps.fbsbx.com","ru.net","adygeya.ru","bashkiria.ru","bir.ru","cbg.ru","com.ru","dagestan.ru","grozny.ru","kalmykia.ru","kustanai.ru","marine.ru","mordovia.ru","msk.ru","mytis.ru","nalchik.ru","nov.ru","pyatigorsk.ru","spb.ru","vladikavkaz.ru","vladimir.ru","abkhazia.su","adygeya.su","aktyubinsk.su","arkhangelsk.su","armenia.su","ashgabad.su","azerbaijan.su","balashov.su","bashkiria.su","bryansk.su","bukhara.su","chimkent.su","dagestan.su","east-kazakhstan.su","exnet.su","georgia.su","grozny.su","ivanovo.su","jambyl.su","kalmykia.su","kaluga.su","karacol.su","karaganda.su","karelia.su","khakassia.su","krasnodar.su","kurgan.su","kustanai.su","lenug.su","mangyshlak.su","mordovia.su","msk.su","murmansk.su","nalchik.su","navoi.su","north-kazakhstan.su","nov.su","obninsk.su","penza.su","pokrovsk.su","sochi.su","spb.su","tashkent.su","termez.su","togliatti.su","troitsk.su","tselinograd.su","tula.su","tuva.su","vladikavkaz.su","vladimir.su","vologda.su","channelsdvr.net","u.channelsdvr.net","edgecompute.app","fastly-terrarium.com","fastlylb.net","map.fastlylb.net","freetls.fastly.net","map.fastly.net","a.prod.fastly.net","global.prod.fastly.net","a.ssl.fastly.net","b.ssl.fastly.net","global.ssl.fastly.net","fastvps-server.com","fastvps.host","myfast.host","fastvps.site","myfast.space","fedorainfracloud.org","fedorapeople.org","cloud.fedoraproject.org","app.os.fedoraproject.org","app.os.stg.fedoraproject.org","conn.uk","copro.uk","hosp.uk","mydobiss.com","fh-muenster.io","filegear.me","filegear-au.me","filegear-de.me","filegear-gb.me","filegear-ie.me","filegear-jp.me","filegear-sg.me","firebaseapp.com","fireweb.app","flap.id","onflashdrive.app","fldrv.com","fly.dev","edgeapp.net","shw.io","flynnhosting.net","forgeblocks.com","id.forgerock.io","framer.app","framercanvas.com","*.frusky.de","ravpage.co.il","0e.vc","freebox-os.com","freeboxos.com","fbx-os.fr","fbxos.fr","freebox-os.fr","freeboxos.fr","freedesktop.org","freemyip.com","wien.funkfeuer.at","*.futurecms.at","*.ex.futurecms.at","*.in.futurecms.at","futurehosting.at","futuremailing.at","*.ex.ortsinfo.at","*.kunden.ortsinfo.at","*.statics.cloud","independent-commission.uk","independent-inquest.uk","independent-inquiry.uk","independent-panel.uk","independent-review.uk","public-inquiry.uk","royal-commission.uk","campaign.gov.uk","service.gov.uk","api.gov.uk","gehirn.ne.jp","usercontent.jp","gentapps.com","gentlentapis.com","lab.ms","cdn-edges.net","ghost.io","gsj.bz","githubusercontent.com","githubpreview.dev","github.io","gitlab.io","gitapp.si","gitpage.si","glitch.me","nog.community","co.ro","shop.ro","lolipop.io","angry.jp","babyblue.jp","babymilk.jp","backdrop.jp","bambina.jp","bitter.jp","blush.jp","boo.jp","boy.jp","boyfriend.jp","but.jp","candypop.jp","capoo.jp","catfood.jp","cheap.jp","chicappa.jp","chillout.jp","chips.jp","chowder.jp","chu.jp","ciao.jp","cocotte.jp","coolblog.jp","cranky.jp","cutegirl.jp","daa.jp","deca.jp","deci.jp","digick.jp","egoism.jp","fakefur.jp","fem.jp","flier.jp","floppy.jp","fool.jp","frenchkiss.jp","girlfriend.jp","girly.jp","gloomy.jp","gonna.jp","greater.jp","hacca.jp","heavy.jp","her.jp","hiho.jp","hippy.jp","holy.jp","hungry.jp","icurus.jp","itigo.jp","jellybean.jp","kikirara.jp","kill.jp","kilo.jp","kuron.jp","littlestar.jp","lolipopmc.jp","lolitapunk.jp","lomo.jp","lovepop.jp","lovesick.jp","main.jp","mods.jp","mond.jp","mongolian.jp","moo.jp","namaste.jp","nikita.jp","nobushi.jp","noor.jp","oops.jp","parallel.jp","parasite.jp","pecori.jp","peewee.jp","penne.jp","pepper.jp","perma.jp","pigboat.jp","pinoko.jp","punyu.jp","pupu.jp","pussycat.jp","pya.jp","raindrop.jp","readymade.jp","sadist.jp","schoolbus.jp","secret.jp","staba.jp","stripper.jp","sub.jp","sunnyday.jp","thick.jp","tonkotsu.jp","under.jp","upper.jp","velvet.jp","verse.jp","versus.jp","vivian.jp","watson.jp","weblike.jp","whitesnow.jp","zombie.jp","heteml.net","cloudapps.digital","london.cloudapps.digital","pymnt.uk","homeoffice.gov.uk","ro.im","goip.de","run.app","a.run.app","web.app","*.0emm.com","appspot.com","*.r.appspot.com","codespot.com","googleapis.com","googlecode.com","pagespeedmobilizer.com","publishproxy.com","withgoogle.com","withyoutube.com","*.gateway.dev","cloud.goog","translate.goog","*.usercontent.goog","cloudfunctions.net","blogspot.ae","blogspot.al","blogspot.am","blogspot.ba","blogspot.be","blogspot.bg","blogspot.bj","blogspot.ca","blogspot.cf","blogspot.ch","blogspot.cl","blogspot.co.at","blogspot.co.id","blogspot.co.il","blogspot.co.ke","blogspot.co.nz","blogspot.co.uk","blogspot.co.za","blogspot.com","blogspot.com.ar","blogspot.com.au","blogspot.com.br","blogspot.com.by","blogspot.com.co","blogspot.com.cy","blogspot.com.ee","blogspot.com.eg","blogspot.com.es","blogspot.com.mt","blogspot.com.ng","blogspot.com.tr","blogspot.com.uy","blogspot.cv","blogspot.cz","blogspot.de","blogspot.dk","blogspot.fi","blogspot.fr","blogspot.gr","blogspot.hk","blogspot.hr","blogspot.hu","blogspot.ie","blogspot.in","blogspot.is","blogspot.it","blogspot.jp","blogspot.kr","blogspot.li","blogspot.lt","blogspot.lu","blogspot.md","blogspot.mk","blogspot.mr","blogspot.mx","blogspot.my","blogspot.nl","blogspot.no","blogspot.pe","blogspot.pt","blogspot.qa","blogspot.re","blogspot.ro","blogspot.rs","blogspot.ru","blogspot.se","blogspot.sg","blogspot.si","blogspot.sk","blogspot.sn","blogspot.td","blogspot.tw","blogspot.ug","blogspot.vn","goupile.fr","gov.nl","awsmppl.com","günstigbestellen.de","günstigliefern.de","fin.ci","free.hr","caa.li","ua.rs","conf.se","hs.zone","hs.run","hashbang.sh","hasura.app","hasura-app.io","pages.it.hs-heilbronn.de","hepforge.org","herokuapp.com","herokussl.com","ravendb.cloud","myravendb.com","ravendb.community","ravendb.me","development.run","ravendb.run","homesklep.pl","secaas.hk","hoplix.shop","orx.biz","biz.gl","col.ng","firm.ng","gen.ng","ltd.ng","ngo.ng","edu.scot","sch.so","hostyhosting.io","häkkinen.fi","*.moonscale.io","moonscale.net","iki.fi","ibxos.it","iliadboxos.it","impertrixcdn.com","impertrix.com","smushcdn.com","wphostedmail.com","wpmucdn.com","tempurl.host","wpmudev.host","dyn-berlin.de","in-berlin.de","in-brb.de","in-butter.de","in-dsl.de","in-dsl.net","in-dsl.org","in-vpn.de","in-vpn.net","in-vpn.org","biz.at","info.at","info.cx","ac.leg.br","al.leg.br","am.leg.br","ap.leg.br","ba.leg.br","ce.leg.br","df.leg.br","es.leg.br","go.leg.br","ma.leg.br","mg.leg.br","ms.leg.br","mt.leg.br","pa.leg.br","pb.leg.br","pe.leg.br","pi.leg.br","pr.leg.br","rj.leg.br","rn.leg.br","ro.leg.br","rr.leg.br","rs.leg.br","sc.leg.br","se.leg.br","sp.leg.br","to.leg.br","pixolino.com","na4u.ru","iopsys.se","ipifony.net","iservschule.de","mein-iserv.de","schulplattform.de","schulserver.de","test-iserv.de","iserv.dev","iobb.net","mel.cloudlets.com.au","cloud.interhostsolutions.be","users.scale.virtualcloud.com.br","mycloud.by","alp1.ae.flow.ch","appengine.flow.ch","es-1.axarnet.cloud","diadem.cloud","vip.jelastic.cloud","jele.cloud","it1.eur.aruba.jenv-aruba.cloud","it1.jenv-aruba.cloud","keliweb.cloud","cs.keliweb.cloud","oxa.cloud","tn.oxa.cloud","uk.oxa.cloud","primetel.cloud","uk.primetel.cloud","ca.reclaim.cloud","uk.reclaim.cloud","us.reclaim.cloud","ch.trendhosting.cloud","de.trendhosting.cloud","jele.club","amscompute.com","clicketcloud.com","dopaas.com","hidora.com","paas.hosted-by-previder.com","rag-cloud.hosteur.com","rag-cloud-ch.hosteur.com","jcloud.ik-server.com","jcloud-ver-jpc.ik-server.com","demo.jelastic.com","kilatiron.com","paas.massivegrid.com","jed.wafaicloud.com","lon.wafaicloud.com","ryd.wafaicloud.com","j.scaleforce.com.cy","jelastic.dogado.eu","fi.cloudplatform.fi","demo.datacenter.fi","paas.datacenter.fi","jele.host","mircloud.host","paas.beebyte.io","sekd1.beebyteapp.io","jele.io","cloud-fr1.unispace.io","jc.neen.it","cloud.jelastic.open.tim.it","jcloud.kz","upaas.kazteleport.kz","cloudjiffy.net","fra1-de.cloudjiffy.net","west1-us.cloudjiffy.net","jls-sto1.elastx.net","jls-sto2.elastx.net","jls-sto3.elastx.net","faststacks.net","fr-1.paas.massivegrid.net","lon-1.paas.massivegrid.net","lon-2.paas.massivegrid.net","ny-1.paas.massivegrid.net","ny-2.paas.massivegrid.net","sg-1.paas.massivegrid.net","jelastic.saveincloud.net","nordeste-idc.saveincloud.net","j.scaleforce.net","jelastic.tsukaeru.net","sdscloud.pl","unicloud.pl","mircloud.ru","jelastic.regruhosting.ru","enscaled.sg","jele.site","jelastic.team","orangecloud.tn","j.layershift.co.uk","phx.enscaled.us","mircloud.us","myjino.ru","*.hosting.myjino.ru","*.landing.myjino.ru","*.spectrum.myjino.ru","*.vps.myjino.ru","jotelulu.cloud","*.triton.zone","*.cns.joyent.com","js.org","kaas.gg","khplay.nl","ktistory.com","kapsi.fi","keymachine.de","kinghost.net","uni5.net","knightpoint.systems","koobin.events","oya.to","kuleuven.cloud","ezproxy.kuleuven.be","co.krd","edu.krd","krellian.net","webthings.io","git-repos.de","lcube-server.de","svn-repos.de","leadpages.co","lpages.co","lpusercontent.com","lelux.site","co.business","co.education","co.events","co.financial","co.network","co.place","co.technology","app.lmpm.com","linkyard.cloud","linkyard-cloud.ch","members.linode.com","*.nodebalancer.linode.com","*.linodeobjects.com","ip.linodeusercontent.com","we.bs","*.user.localcert.dev","localzone.xyz","loginline.app","loginline.dev","loginline.io","loginline.services","loginline.site","servers.run","lohmus.me","krasnik.pl","leczna.pl","lubartow.pl","lublin.pl","poniatowa.pl","swidnik.pl","glug.org.uk","lug.org.uk","lugs.org.uk","barsy.bg","barsy.co.uk","barsyonline.co.uk","barsycenter.com","barsyonline.com","barsy.club","barsy.de","barsy.eu","barsy.in","barsy.info","barsy.io","barsy.me","barsy.menu","barsy.mobi","barsy.net","barsy.online","barsy.org","barsy.pro","barsy.pub","barsy.ro","barsy.shop","barsy.site","barsy.support","barsy.uk","*.magentosite.cloud","mayfirst.info","mayfirst.org","hb.cldmail.ru","cn.vu","mazeplay.com","mcpe.me","mcdir.me","mcdir.ru","mcpre.ru","vps.mcdir.ru","mediatech.by","mediatech.dev","hra.health","miniserver.com","memset.net","messerli.app","*.cloud.metacentrum.cz","custom.metacentrum.cz","flt.cloud.muni.cz","usr.cloud.muni.cz","meteorapp.com","eu.meteorapp.com","co.pl","*.azurecontainer.io","azurewebsites.net","azure-mobile.net","cloudapp.net","azurestaticapps.net","1.azurestaticapps.net","centralus.azurestaticapps.net","eastasia.azurestaticapps.net","eastus2.azurestaticapps.net","westeurope.azurestaticapps.net","westus2.azurestaticapps.net","csx.cc","mintere.site","forte.id","mozilla-iot.org","bmoattachments.org","net.ru","org.ru","pp.ru","hostedpi.com","customer.mythic-beasts.com","caracal.mythic-beasts.com","fentiger.mythic-beasts.com","lynx.mythic-beasts.com","ocelot.mythic-beasts.com","oncilla.mythic-beasts.com","onza.mythic-beasts.com","sphinx.mythic-beasts.com","vs.mythic-beasts.com","x.mythic-beasts.com","yali.mythic-beasts.com","cust.retrosnub.co.uk","ui.nabu.casa","pony.club","of.fashion","in.london","of.london","from.marketing","with.marketing","for.men","repair.men","and.mom","for.mom","for.one","under.one","for.sale","that.win","from.work","to.work","cloud.nospamproxy.com","netlify.app","4u.com","ngrok.io","nh-serv.co.uk","nfshost.com","*.developer.app","noop.app","*.northflank.app","*.build.run","*.code.run","*.database.run","*.migration.run","noticeable.news","dnsking.ch","mypi.co","n4t.co","001www.com","ddnslive.com","myiphost.com","forumz.info","16-b.it","32-b.it","64-b.it","soundcast.me","tcp4.me","dnsup.net","hicam.net","now-dns.net","ownip.net","vpndns.net","dynserv.org","now-dns.org","x443.pw","now-dns.top","ntdll.top","freeddns.us","crafting.xyz","zapto.xyz","nsupdate.info","nerdpol.ovh","blogsyte.com","brasilia.me","cable-modem.org","ciscofreak.com","collegefan.org","couchpotatofries.org","damnserver.com","ddns.me","ditchyourip.com","dnsfor.me","dnsiskinky.com","dvrcam.info","dynns.com","eating-organic.net","fantasyleague.cc","geekgalaxy.com","golffan.us","health-carereform.com","homesecuritymac.com","homesecuritypc.com","hopto.me","ilovecollege.info","loginto.me","mlbfan.org","mmafan.biz","myactivedirectory.com","mydissent.net","myeffect.net","mymediapc.net","mypsx.net","mysecuritycamera.com","mysecuritycamera.net","mysecuritycamera.org","net-freaks.com","nflfan.org","nhlfan.net","no-ip.ca","no-ip.co.uk","no-ip.net","noip.us","onthewifi.com","pgafan.net","point2this.com","pointto.us","privatizehealthinsurance.net","quicksytes.com","read-books.org","securitytactics.com","serveexchange.com","servehumour.com","servep2p.com","servesarcasm.com","stufftoread.com","ufcfan.org","unusualperson.com","workisboring.com","3utilities.com","bounceme.net","ddns.net","ddnsking.com","gotdns.ch","hopto.org","myftp.biz","myftp.org","myvnc.com","no-ip.biz","no-ip.info","no-ip.org","noip.me","redirectme.net","servebeer.com","serveblog.net","servecounterstrike.com","serveftp.com","servegame.com","servehalflife.com","servehttp.com","serveirc.com","serveminecraft.net","servemp3.com","servepics.com","servequake.com","sytes.net","webhop.me","zapto.org","stage.nodeart.io","pcloud.host","nyc.mn","static.observableusercontent.com","cya.gg","omg.lol","cloudycluster.net","omniwe.site","service.one","nid.io","opensocial.site","opencraft.hosting","orsites.com","operaunite.com","tech.orange","authgear-staging.com","authgearapps.com","skygearapp.com","outsystemscloud.com","*.webpaas.ovh.net","*.hosting.ovh.net","ownprovider.com","own.pm","*.owo.codes","ox.rs","oy.lc","pgfog.com","pagefrontapp.com","pagexl.com","*.paywhirl.com","bar0.net","bar1.net","bar2.net","rdv.to","art.pl","gliwice.pl","krakow.pl","poznan.pl","wroc.pl","zakopane.pl","pantheonsite.io","gotpantheon.com","mypep.link","perspecta.cloud","lk3.ru","on-web.fr","bc.platform.sh","ent.platform.sh","eu.platform.sh","us.platform.sh","*.platformsh.site","*.tst.site","platter-app.com","platter-app.dev","platterp.us","pdns.page","plesk.page","pleskns.com","dyn53.io","onporter.run","co.bn","postman-echo.com","pstmn.io","mock.pstmn.io","httpbin.org","prequalifyme.today","xen.prgmr.com","priv.at","prvcy.page","*.dweb.link","protonet.io","chirurgiens-dentistes-en-france.fr","byen.site","pubtls.org","pythonanywhere.com","eu.pythonanywhere.com","qoto.io","qualifioapp.com","qbuser.com","cloudsite.builders","instances.spawn.cc","instantcloud.cn","ras.ru","qa2.com","qcx.io","*.sys.qcx.io","dev-myqnapcloud.com","alpha-myqnapcloud.com","myqnapcloud.com","*.quipelements.com","vapor.cloud","vaporcloud.io","rackmaze.com","rackmaze.net","g.vbrplsbx.io","*.on-k3s.io","*.on-rancher.cloud","*.on-rio.io","readthedocs.io","rhcloud.com","app.render.com","onrender.com","repl.co","id.repl.co","repl.run","resindevice.io","devices.resinstaging.io","hzc.io","wellbeingzone.eu","wellbeingzone.co.uk","adimo.co.uk","itcouldbewor.se","git-pages.rit.edu","rocky.page","биз.рус","ком.рус","крым.рус","мир.рус","мск.рус","орг.рус","самара.рус","сочи.рус","спб.рус","я.рус","*.builder.code.com","*.dev-builder.code.com","*.stg-builder.code.com","sandcats.io","logoip.de","logoip.com","fr-par-1.baremetal.scw.cloud","fr-par-2.baremetal.scw.cloud","nl-ams-1.baremetal.scw.cloud","fnc.fr-par.scw.cloud","functions.fnc.fr-par.scw.cloud","k8s.fr-par.scw.cloud","nodes.k8s.fr-par.scw.cloud","s3.fr-par.scw.cloud","s3-website.fr-par.scw.cloud","whm.fr-par.scw.cloud","priv.instances.scw.cloud","pub.instances.scw.cloud","k8s.scw.cloud","k8s.nl-ams.scw.cloud","nodes.k8s.nl-ams.scw.cloud","s3.nl-ams.scw.cloud","s3-website.nl-ams.scw.cloud","whm.nl-ams.scw.cloud","k8s.pl-waw.scw.cloud","nodes.k8s.pl-waw.scw.cloud","s3.pl-waw.scw.cloud","s3-website.pl-waw.scw.cloud","scalebook.scw.cloud","smartlabeling.scw.cloud","dedibox.fr","schokokeks.net","gov.scot","service.gov.scot","scrysec.com","firewall-gateway.com","firewall-gateway.de","my-gateway.de","my-router.de","spdns.de","spdns.eu","firewall-gateway.net","my-firewall.org","myfirewall.org","spdns.org","seidat.net","sellfy.store","senseering.net","minisite.ms","magnet.page","biz.ua","co.ua","pp.ua","shiftcrypto.dev","shiftcrypto.io","shiftedit.io","myshopblocks.com","myshopify.com","shopitsite.com","shopware.store","mo-siemens.io","1kapp.com","appchizi.com","applinzi.com","sinaapp.com","vipsinaapp.com","siteleaf.net","bounty-full.com","alpha.bounty-full.com","beta.bounty-full.com","small-web.org","vp4.me","try-snowplow.com","srht.site","stackhero-network.com","musician.io","novecore.site","static.land","dev.static.land","sites.static.land","storebase.store","vps-host.net","atl.jelastic.vps-host.net","njs.jelastic.vps-host.net","ric.jelastic.vps-host.net","playstation-cloud.com","apps.lair.io","*.stolos.io","spacekit.io","customer.speedpartner.de","myspreadshop.at","myspreadshop.com.au","myspreadshop.be","myspreadshop.ca","myspreadshop.ch","myspreadshop.com","myspreadshop.de","myspreadshop.dk","myspreadshop.es","myspreadshop.fi","myspreadshop.fr","myspreadshop.ie","myspreadshop.it","myspreadshop.net","myspreadshop.nl","myspreadshop.no","myspreadshop.pl","myspreadshop.se","myspreadshop.co.uk","api.stdlib.com","storj.farm","utwente.io","soc.srcf.net","user.srcf.net","temp-dns.com","supabase.co","supabase.in","supabase.net","su.paba.se","*.s5y.io","*.sensiosite.cloud","syncloud.it","dscloud.biz","direct.quickconnect.cn","dsmynas.com","familyds.com","diskstation.me","dscloud.me","i234.me","myds.me","synology.me","dscloud.mobi","dsmynas.net","familyds.net","dsmynas.org","familyds.org","vpnplus.to","direct.quickconnect.to","tabitorder.co.il","taifun-dns.de","beta.tailscale.net","ts.net","gda.pl","gdansk.pl","gdynia.pl","med.pl","sopot.pl","site.tb-hosting.com","edugit.io","s3.teckids.org","telebit.app","telebit.io","*.telebit.xyz","gwiddle.co.uk","*.firenet.ch","*.svc.firenet.ch","reservd.com","thingdustdata.com","cust.dev.thingdust.io","cust.disrec.thingdust.io","cust.prod.thingdust.io","cust.testing.thingdust.io","reservd.dev.thingdust.io","reservd.disrec.thingdust.io","reservd.testing.thingdust.io","tickets.io","arvo.network","azimuth.network","tlon.network","torproject.net","pages.torproject.net","bloxcms.com","townnews-staging.com","tbits.me","12hp.at","2ix.at","4lima.at","lima-city.at","12hp.ch","2ix.ch","4lima.ch","lima-city.ch","trafficplex.cloud","de.cool","12hp.de","2ix.de","4lima.de","lima-city.de","1337.pictures","clan.rip","lima-city.rocks","webspace.rocks","lima.zone","*.transurl.be","*.transurl.eu","*.transurl.nl","site.transip.me","tuxfamily.org","dd-dns.de","diskstation.eu","diskstation.org","dray-dns.de","draydns.de","dyn-vpn.de","dynvpn.de","mein-vigor.de","my-vigor.de","my-wan.de","syno-ds.de","synology-diskstation.de","synology-ds.de","typedream.app","pro.typeform.com","uber.space","*.uberspace.de","hk.com","hk.org","ltd.hk","inc.hk","name.pm","sch.tf","biz.wf","sch.wf","org.yt","virtualuser.de","virtual-user.de","upli.io","urown.cloud","dnsupdate.info","lib.de.us","2038.io","vercel.app","vercel.dev","now.sh","router.management","v-info.info","voorloper.cloud","neko.am","nyaa.am","be.ax","cat.ax","es.ax","eu.ax","gg.ax","mc.ax","us.ax","xy.ax","nl.ci","xx.gl","app.gp","blog.gt","de.gt","to.gt","be.gy","cc.hn","blog.kg","io.kg","jp.kg","tv.kg","uk.kg","us.kg","de.ls","at.md","de.md","jp.md","to.md","indie.porn","vxl.sh","ch.tc","me.tc","we.tc","nyan.to","at.vg","blog.vu","dev.vu","me.vu","v.ua","*.vultrobjects.com","wafflecell.com","*.webhare.dev","reserve-online.net","reserve-online.com","bookonline.app","hotelwithflight.com","wedeploy.io","wedeploy.me","wedeploy.sh","remotewd.com","pages.wiardweb.com","wmflabs.org","toolforge.org","wmcloud.org","panel.gg","daemon.panel.gg","messwithdns.com","woltlab-demo.com","myforum.community","community-pro.de","diskussionsbereich.de","community-pro.net","meinforum.net","affinitylottery.org.uk","raffleentry.org.uk","weeklylottery.org.uk","wpenginepowered.com","js.wpenginepowered.com","wixsite.com","editorx.io","half.host","xnbay.com","u2.xnbay.com","u2-local.xnbay.com","cistron.nl","demon.nl","xs4all.space","yandexcloud.net","storage.yandexcloud.net","website.yandexcloud.net","official.academy","yolasite.com","ybo.faith","yombo.me","homelink.one","ybo.party","ybo.review","ybo.science","ybo.trade","ynh.fr","nohost.me","noho.st","za.net","za.org","bss.design","basicserver.io","virtualserver.io","enterprisecloud.nu"];pu=Pu,lu=I.default,(du={}).rules=Cu.map((function(e){return{rule:e,suffix:e.replace(/^(\*\.|\!)/,""),punySuffix:-1,wildcard:"*"===e.charAt(0),exception:"!"===e.charAt(0)}})),du.endsWith=function(e,t){return-1!==e.indexOf(t,e.length-t.length)},du.findRule=function(e){var t=lu.toASCII(e);return du.rules.reduce((function(e,r){return-1===r.punySuffix&&(r.punySuffix=lu.toASCII(r.suffix)),du.endsWith(t,"."+r.punySuffix)||t===r.punySuffix?r:e}),null)},pu.errorCodes={DOMAIN_TOO_SHORT:"Domain name too short.",DOMAIN_TOO_LONG:"Domain name too long. It should be no more than 255 chars.",LABEL_STARTS_WITH_DASH:"Domain name label can not start with a dash.",LABEL_ENDS_WITH_DASH:"Domain name label can not end with a dash.",LABEL_TOO_LONG:"Domain name label should be at most 63 chars long.",LABEL_TOO_SHORT:"Domain name label should be at least 1 character long.",LABEL_INVALID_CHARS:"Domain name label can only contain alphanumeric characters or dashes."},du.validate=function(e){var t=lu.toASCII(e);if(t.length<1)return"DOMAIN_TOO_SHORT";if(t.length>255)return"DOMAIN_TOO_LONG";for(var r,a=t.split("."),o=0;o<a.length;++o){if(!(r=a[o]).length)return"LABEL_TOO_SHORT";if(r.length>63)return"LABEL_TOO_LONG";if("-"===r.charAt(0))return"LABEL_STARTS_WITH_DASH";if("-"===r.charAt(r.length-1))return"LABEL_ENDS_WITH_DASH";if(!/^[a-z0-9\-]+$/.test(r))return"LABEL_INVALID_CHARS"}},pu.parse=function(e){if("string"!=typeof e)throw new TypeError("Domain name must be a string.");var t=e.slice(0).toLowerCase();"."===t.charAt(t.length-1)&&(t=t.slice(0,t.length-1));var r=du.validate(t);if(r)return{input:e,error:{message:pu.errorCodes[r],code:r}};var a={input:e,tld:null,sld:null,domain:null,subdomain:null,listed:!1},o=t.split(".");if("local"===o[o.length-1])return a;var n=function(){return/xn--/.test(t)?(a.domain&&(a.domain=lu.toASCII(a.domain)),a.subdomain&&(a.subdomain=lu.toASCII(a.subdomain)),a):a},i=du.findRule(t);if(!i)return o.length<2?a:(a.tld=o.pop(),a.sld=o.pop(),a.domain=[a.sld,a.tld].join("."),o.length&&(a.subdomain=o.pop()),n());a.listed=!0;var s=i.suffix.split("."),c=o.slice(0,o.length-s.length);return i.exception&&c.push(s.shift()),a.tld=s.join("."),c.length?(i.wildcard&&(s.unshift(c.pop()),a.tld=s.join(".")),c.length?(a.sld=c.pop(),a.domain=[a.sld,a.tld].join("."),c.length&&(a.subdomain=c.join(".")),n()):n()):n()},pu.get=function(e){return e&&pu.parse(e).domain||null},pu.isValid=function(e){var t=pu.parse(e);return Boolean(t.domain&&t.listed)};
/*!
 * Copyright (c) 2018, Salesforce.com, Inc.
 * All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions are met:
 *
 * 1. Redistributions of source code must retain the above copyright notice,
 * this list of conditions and the following disclaimer.
 *
 * 2. Redistributions in binary form must reproduce the above copyright notice,
 * this list of conditions and the following disclaimer in the documentation
 * and/or other materials provided with the distribution.
 *
 * 3. Neither the name of Salesforce.com nor the names of its contributors may
 * be used to endorse or promote products derived from this software without
 * specific prior written permission.
 *
 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
 * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
 * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 * POSSIBILITY OF SUCH DAMAGE.
 */
var Tu=Pu;_u.getPublicSuffix=function(e){return Tu.get(e)};var Ou={};
/*!
 * Copyright (c) 2015, Salesforce.com, Inc.
 * All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions are met:
 *
 * 1. Redistributions of source code must retain the above copyright notice,
 * this list of conditions and the following disclaimer.
 *
 * 2. Redistributions in binary form must reproduce the above copyright notice,
 * this list of conditions and the following disclaimer in the documentation
 * and/or other materials provided with the distribution.
 *
 * 3. Neither the name of Salesforce.com nor the names of its contributors may
 * be used to endorse or promote products derived from this software without
 * specific prior written permission.
 *
 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
 * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
 * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 * POSSIBILITY OF SUCH DAMAGE.
 */function Au(){}Ou.Store=Au,Au.prototype.synchronous=!1,Au.prototype.findCookie=function(e,t,r,a){throw new Error("findCookie is not implemented")},Au.prototype.findCookies=function(e,t,r){throw new Error("findCookies is not implemented")},Au.prototype.putCookie=function(e,t){throw new Error("putCookie is not implemented")},Au.prototype.updateCookie=function(e,t,r){throw new Error("updateCookie is not implemented")},Au.prototype.removeCookie=function(e,t,r,a){throw new Error("removeCookie is not implemented")},Au.prototype.removeCookies=function(e,t,r){throw new Error("removeCookies is not implemented")},Au.prototype.removeAllCookies=function(e){throw new Error("removeAllCookies is not implemented")},Au.prototype.getAllCookies=function(e){throw new Error("getAllCookies is not implemented (therefore jar cannot be serialized)")};var Iu,Fu={},Ru={};function Du(){if(Iu)return Ru;Iu=1;var e=_u;return Ru.permuteDomain=function(t){var r=e.getPublicSuffix(t);if(!r)return null;if(r==t)return[t];for(var a=t.slice(0,-(r.length+1)).split(".").reverse(),o=r,n=[o];a.length;)o=a.shift()+"."+o,n.push(o);return n},Ru}var Nu={};
/*!
 * Copyright (c) 2015, Salesforce.com, Inc.
 * All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions are met:
 *
 * 1. Redistributions of source code must retain the above copyright notice,
 * this list of conditions and the following disclaimer.
 *
 * 2. Redistributions in binary form must reproduce the above copyright notice,
 * this list of conditions and the following disclaimer in the documentation
 * and/or other materials provided with the distribution.
 *
 * 3. Neither the name of Salesforce.com nor the names of its contributors may
 * be used to endorse or promote products derived from this software without
 * specific prior written permission.
 *
 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
 * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
 * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 * POSSIBILITY OF SUCH DAMAGE.
 */Nu.pathMatch=function(e,t){if(t===e)return!0;if(0===e.indexOf(t)){if("/"===t.substr(-1))return!0;if("/"===e.substr(t.length,1))return!0}return!1};
/*!
 * Copyright (c) 2015, Salesforce.com, Inc.
 * All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions are met:
 *
 * 1. Redistributions of source code must retain the above copyright notice,
 * this list of conditions and the following disclaimer.
 *
 * 2. Redistributions in binary form must reproduce the above copyright notice,
 * this list of conditions and the following disclaimer in the documentation
 * and/or other materials provided with the distribution.
 *
 * 3. Neither the name of Salesforce.com nor the names of its contributors may
 * be used to endorse or promote products derived from this software without
 * specific prior written permission.
 *
 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
 * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
 * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 * POSSIBILITY OF SUCH DAMAGE.
 */
var zu=Ou.Store,Bu=Du().permuteDomain,$u=Nu.pathMatch,Lu=C.default;function qu(){zu.call(this),this.idx={}}Lu.inherits(qu,zu),Fu.MemoryCookieStore=qu,qu.prototype.idx=null,qu.prototype.synchronous=!0,qu.prototype.inspect=function(){return"{ idx: "+Lu.inspect(this.idx,!1,2)+" }"},Lu.inspect.custom&&(qu.prototype[Lu.inspect.custom]=qu.prototype.inspect),qu.prototype.findCookie=function(e,t,r,a){return this.idx[e]&&this.idx[e][t]?a(null,this.idx[e][t][r]||null):a(null,void 0)},qu.prototype.findCookies=function(e,t,r){var a,o=[];if(!e)return r(null,[]);a=t?function(e){Object.keys(e).forEach((function(r){if($u(t,r)){var a=e[r];for(var n in a)o.push(a[n])}}))}:function(e){for(var t in e){var r=e[t];for(var a in r)o.push(r[a])}};var n=Bu(e)||[e],i=this.idx;n.forEach((function(e){var t=i[e];t&&a(t)})),r(null,o)},qu.prototype.putCookie=function(e,t){this.idx[e.domain]||(this.idx[e.domain]={}),this.idx[e.domain][e.path]||(this.idx[e.domain][e.path]={}),this.idx[e.domain][e.path][e.key]=e,t(null)},qu.prototype.updateCookie=function(e,t,r){this.putCookie(t,r)},qu.prototype.removeCookie=function(e,t,r,a){this.idx[e]&&this.idx[e][t]&&this.idx[e][t][r]&&delete this.idx[e][t][r],a(null)},qu.prototype.removeCookies=function(e,t,r){return this.idx[e]&&(t?delete this.idx[e][t]:delete this.idx[e]),r(null)},qu.prototype.removeAllCookies=function(e){return this.idx={},e(null)},qu.prototype.getAllCookies=function(e){var t=[],r=this.idx;Object.keys(r).forEach((function(e){Object.keys(r[e]).forEach((function(a){Object.keys(r[e][a]).forEach((function(o){null!==o&&t.push(r[e][a][o])}))}))})),t.sort((function(e,t){return(e.creationIndex||0)-(t.creationIndex||0)})),e(null,t)};var Uu,Mu=O.default,Hu=A.default.parse,Ku=C.default,Vu=_u,Gu=Ou.Store,Qu=Fu.MemoryCookieStore,Xu=Nu.pathMatch;
/*!
 * Copyright (c) 2015, Salesforce.com, Inc.
 * All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions are met:
 *
 * 1. Redistributions of source code must retain the above copyright notice,
 * this list of conditions and the following disclaimer.
 *
 * 2. Redistributions in binary form must reproduce the above copyright notice,
 * this list of conditions and the following disclaimer in the documentation
 * and/or other materials provided with the distribution.
 *
 * 3. Neither the name of Salesforce.com nor the names of its contributors may
 * be used to endorse or promote products derived from this software without
 * specific prior written permission.
 *
 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
 * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
 * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 * POSSIBILITY OF SUCH DAMAGE.
 */try{Uu=require("punycode")}catch(e){console.warn("tough-cookie: can't load punycode; won't use punycode for domain normalization")}var Wu=/^[\x21\x23-\x2B\x2D-\x3A\x3C-\x5B\x5D-\x7E]+$/,Yu=/[\x00-\x1F]/,Zu=["\n","\r","\0"],Ju=/[\x20-\x3A\x3C-\x7E]+/,ep=/[\x09\x20-\x2F\x3B-\x40\x5B-\x60\x7B-\x7E]/,tp={jan:0,feb:1,mar:2,apr:3,may:4,jun:5,jul:6,aug:7,sep:8,oct:9,nov:10,dec:11},rp=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],ap=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"];function op(e,t,r,a){for(var o=0;o<e.length;){var n=e.charCodeAt(o);if(n<=47||n>=58)break;o++}return o<t||o>r?null:a||o==e.length?parseInt(e.substr(0,o),10):null}function np(e){var t=e.split(":"),r=[0,0,0];if(3!==t.length)return null;for(var a=0;a<3;a++){var o=2==a,n=op(t[a],1,2,o);if(null===n)return null;r[a]=n}return r}function ip(e){e=String(e).substr(0,3).toLowerCase();var t=tp[e];return t>=0?t:null}function sp(e){if(e){var t=e.split(ep);if(t){for(var r=null,a=null,o=null,n=null,i=null,s=null,c=0;c<t.length;c++){var u,p=t[c].trim();if(p.length)null===o&&(u=np(p))?(r=u[0],a=u[1],o=u[2]):null!==n||null===(u=op(p,1,2,!0))?null!==i||null===(u=ip(p))?null===s&&null!==(u=op(p,2,4,!0))&&((s=u)>=70&&s<=99?s+=1900:s>=0&&s<=69&&(s+=2e3)):i=u:n=u}if(!(null===n||null===i||null===s||null===o||n<1||n>31||s<1601||r>23||a>59||o>59))return new Date(Date.UTC(s,i,n,r,a,o))}}}function cp(e){var t=e.getUTCDate();t=t>=10?t:"0"+t;var r=e.getUTCHours();r=r>=10?r:"0"+r;var a=e.getUTCMinutes();a=a>=10?a:"0"+a;var o=e.getUTCSeconds();return o=o>=10?o:"0"+o,ap[e.getUTCDay()]+", "+t+" "+rp[e.getUTCMonth()]+" "+e.getUTCFullYear()+" "+r+":"+a+":"+o+" GMT"}function up(e){return null==e?null:(e=e.trim().replace(/^\./,""),Uu&&/[^\u0001-\u007f]/.test(e)&&(e=Uu.toASCII(e)),e.toLowerCase())}function pp(e,t,r){if(null==e||null==t)return null;if(!1!==r&&(e=up(e),t=up(t)),e==t)return!0;if(Mu.isIP(e))return!1;var a=e.indexOf(t);return!(a<=0)&&(e.length===t.length+a&&"."===e.substr(a-1,1))}function lp(e){if(!e||"/"!==e.substr(0,1))return"/";if("/"===e)return e;var t=e.lastIndexOf("/");return 0===t?"/":e.slice(0,t)}function dp(e,t){var r,a,o=(e=function(e){for(var t=0;t<Zu.length;t++){var r=e.indexOf(Zu[t]);-1!==r&&(e=e.substr(0,r))}return e}(e)).indexOf("=");if(t)0===o&&(o=(e=e.substr(1)).indexOf("="));else if(o<=0)return;if(o<=0?(r="",a=e.trim()):(r=e.substr(0,o).trim(),a=e.substr(o+1).trim()),!Yu.test(r)&&!Yu.test(a)){var n=new vp;return n.key=r,n.value=a,n}}function mp(e,t){t&&"object"==typeof t||(t={});var r=(e=e.trim()).indexOf(";"),a=dp(-1===r?e:e.substr(0,r),!!t.loose);if(a){if(-1===r)return a;var o=e.slice(r+1).trim();if(0===o.length)return a;for(var n=o.split(";");n.length;){var i=n.shift().trim();if(0!==i.length){var s,c,u=i.indexOf("=");switch(-1===u?(s=i,c=null):(s=i.substr(0,u),c=i.substr(u+1)),s=s.trim().toLowerCase(),c&&(c=c.trim()),s){case"expires":if(c){var p=sp(c);p&&(a.expires=p)}break;case"max-age":if(c&&/^-?[0-9]+$/.test(c)){var l=parseInt(c,10);a.setMaxAge(l)}break;case"domain":if(c){var d=c.trim().replace(/^\./,"");d&&(a.domain=d.toLowerCase())}break;case"path":a.path=c&&"/"===c[0]?c:null;break;case"secure":a.secure=!0;break;case"httponly":a.httpOnly=!0;break;default:a.extensions=a.extensions||[],a.extensions.push(i)}}}return a}}function hp(e){var t;try{t=JSON.parse(e)}catch(e){return e}return t}function fp(e){if(!e)return null;var t;if("string"==typeof e){if((t=hp(e))instanceof Error)return null}else t=e;for(var r=new vp,a=0;a<vp.serializableProperties.length;a++){var o=vp.serializableProperties[a];void 0!==t[o]&&t[o]!==vp.prototype[o]&&("expires"===o||"creation"===o||"lastAccessed"===o?null===t[o]?r[o]=null:r[o]="Infinity"==t[o]?"Infinity":new Date(t[o]):r[o]=t[o])}return r}function gp(e,t){var r=0,a=e.path?e.path.length:0;return 0!==(r=(t.path?t.path.length:0)-a)||0!==(r=(e.creation?e.creation.getTime():2147483647e3)-(t.creation?t.creation.getTime():2147483647e3))?r:r=e.creationIndex-t.creationIndex}function yp(e){if(e instanceof Object)return e;try{e=decodeURI(e)}catch(e){}return Hu(e)}function vp(e){e=e||{},Object.keys(e).forEach((function(t){vp.prototype.hasOwnProperty(t)&&vp.prototype[t]!==e[t]&&"_"!==t.substr(0,1)&&(this[t]=e[t])}),this),this.creation=this.creation||new Date,Object.defineProperty(this,"creationIndex",{configurable:!1,enumerable:!1,writable:!0,value:++vp.cookiesCreated})}function bp(e,t){"boolean"==typeof t?t={rejectPublicSuffixes:t}:null==t&&(t={}),null!=t.rejectPublicSuffixes&&(this.rejectPublicSuffixes=t.rejectPublicSuffixes),null!=t.looseMode&&(this.enableLooseMode=t.looseMode),e||(e=new Qu),this.store=e}vp.cookiesCreated=0,vp.parse=mp,vp.fromJSON=fp,vp.prototype.key="",vp.prototype.value="",vp.prototype.expires="Infinity",vp.prototype.maxAge=null,vp.prototype.domain=null,vp.prototype.path=null,vp.prototype.secure=!1,vp.prototype.httpOnly=!1,vp.prototype.extensions=null,vp.prototype.hostOnly=null,vp.prototype.pathIsDefault=null,vp.prototype.creation=null,vp.prototype.lastAccessed=null,Object.defineProperty(vp.prototype,"creationIndex",{configurable:!0,enumerable:!1,writable:!0,value:0}),vp.serializableProperties=Object.keys(vp.prototype).filter((function(e){return!(vp.prototype[e]instanceof Function||"creationIndex"===e||"_"===e.substr(0,1))})),vp.prototype.inspect=function(){var e=Date.now();return'Cookie="'+this.toString()+"; hostOnly="+(null!=this.hostOnly?this.hostOnly:"?")+"; aAge="+(this.lastAccessed?e-this.lastAccessed.getTime()+"ms":"?")+"; cAge="+(this.creation?e-this.creation.getTime()+"ms":"?")+'"'},Ku.inspect.custom&&(vp.prototype[Ku.inspect.custom]=vp.prototype.inspect),vp.prototype.toJSON=function(){for(var e={},t=vp.serializableProperties,r=0;r<t.length;r++){var a=t[r];this[a]!==vp.prototype[a]&&("expires"===a||"creation"===a||"lastAccessed"===a?null===this[a]?e[a]=null:e[a]="Infinity"==this[a]?"Infinity":this[a].toISOString():"maxAge"===a?null!==this[a]&&(e[a]=this[a]==1/0||this[a]==-1/0?this[a].toString():this[a]):this[a]!==vp.prototype[a]&&(e[a]=this[a]))}return e},vp.prototype.clone=function(){return fp(this.toJSON())},vp.prototype.validate=function(){if(!Wu.test(this.value))return!1;if(!(this.expires==1/0||this.expires instanceof Date||sp(this.expires)))return!1;if(null!=this.maxAge&&this.maxAge<=0)return!1;if(null!=this.path&&!Ju.test(this.path))return!1;var e=this.cdomain();if(e){if(e.match(/\.$/))return!1;if(null==Vu.getPublicSuffix(e))return!1}return!0},vp.prototype.setExpires=function(e){e instanceof Date?this.expires=e:this.expires=sp(e)||"Infinity"},vp.prototype.setMaxAge=function(e){this.maxAge=e===1/0||e===-1/0?e.toString():e},vp.prototype.cookieString=function(){var e=this.value;return null==e&&(e=""),""===this.key?e:this.key+"="+e},vp.prototype.toString=function(){var e=this.cookieString();return this.expires!=1/0&&(this.expires instanceof Date?e+="; Expires="+cp(this.expires):e+="; Expires="+this.expires),null!=this.maxAge&&this.maxAge!=1/0&&(e+="; Max-Age="+this.maxAge),this.domain&&!this.hostOnly&&(e+="; Domain="+this.domain),this.path&&(e+="; Path="+this.path),this.secure&&(e+="; Secure"),this.httpOnly&&(e+="; HttpOnly"),this.extensions&&this.extensions.forEach((function(t){e+="; "+t})),e},vp.prototype.TTL=function(e){if(null!=this.maxAge)return this.maxAge<=0?0:1e3*this.maxAge;var t=this.expires;return t!=1/0?(t instanceof Date||(t=sp(t)||1/0),t==1/0?1/0:t.getTime()-(e||Date.now())):1/0},vp.prototype.expiryTime=function(e){if(null!=this.maxAge){var t=e||this.creation||new Date,r=this.maxAge<=0?-1/0:1e3*this.maxAge;return t.getTime()+r}return this.expires==1/0?1/0:this.expires.getTime()},vp.prototype.expiryDate=function(e){var t=this.expiryTime(e);return t==1/0?new Date(2147483647e3):t==-1/0?new Date(0):new Date(t)},vp.prototype.isPersistent=function(){return null!=this.maxAge||this.expires!=1/0},vp.prototype.cdomain=vp.prototype.canonicalizedDomain=function(){return null==this.domain?null:up(this.domain)},bp.prototype.store=null,bp.prototype.rejectPublicSuffixes=!0,bp.prototype.enableLooseMode=!1;var kp=[];function wp(e){return function(){if(!this.store.synchronous)throw new Error("CookieJar store is not synchronous; use async API instead.");var t,r,a=Array.prototype.slice.call(arguments);if(a.push((function(e,a){t=e,r=a})),this[e].apply(this,a),t)throw t;return r}}kp.push("setCookie"),bp.prototype.setCookie=function(e,t,r,a){var o,n=yp(t);r instanceof Function&&(a=r,r={});var i=up(n.hostname),s=this.enableLooseMode;if(null!=r.loose&&(s=r.loose),e instanceof vp||(e=vp.parse(e,{loose:s})),!e)return o=new Error("Cookie failed to parse"),a(r.ignoreError?null:o);var c=r.now||new Date;if(this.rejectPublicSuffixes&&e.domain&&null==Vu.getPublicSuffix(e.cdomain()))return o=new Error("Cookie has domain set to a public suffix"),a(r.ignoreError?null:o);if(e.domain){if(!pp(i,e.cdomain(),!1))return o=new Error("Cookie not in this host's domain. Cookie:"+e.cdomain()+" Request:"+i),a(r.ignoreError?null:o);null==e.hostOnly&&(e.hostOnly=!1)}else e.hostOnly=!0,e.domain=i;if(e.path&&"/"===e.path[0]||(e.path=lp(n.pathname),e.pathIsDefault=!0),!1===r.http&&e.httpOnly)return o=new Error("Cookie is HttpOnly and this isn't an HTTP API"),a(r.ignoreError?null:o);var u=this.store;u.updateCookie||(u.updateCookie=function(e,t,r){this.putCookie(t,r)}),u.findCookie(e.domain,e.path,e.key,(function(t,o){if(t)return a(t);var n=function(t){if(t)return a(t);a(null,e)};if(o){if(!1===r.http&&o.httpOnly)return t=new Error("old Cookie is HttpOnly and this isn't an HTTP API"),a(r.ignoreError?null:t);e.creation=o.creation,e.creationIndex=o.creationIndex,e.lastAccessed=c,u.updateCookie(o,e,n)}else e.creation=e.lastAccessed=c,u.putCookie(e,n)}))},kp.push("getCookies"),bp.prototype.getCookies=function(e,t,r){var a=yp(e);t instanceof Function&&(r=t,t={});var o=up(a.hostname),n=a.pathname||"/",i=t.secure;null!=i||!a.protocol||"https:"!=a.protocol&&"wss:"!=a.protocol||(i=!0);var s=t.http;null==s&&(s=!0);var c=t.now||Date.now(),u=!1!==t.expire,p=!!t.allPaths,l=this.store;function d(e){if(e.hostOnly){if(e.domain!=o)return!1}else if(!pp(o,e.domain,!1))return!1;return!(!p&&!Xu(n,e.path))&&(!(e.secure&&!i)&&(!(e.httpOnly&&!s)&&(!(u&&e.expiryTime()<=c)||(l.removeCookie(e.domain,e.path,e.key,(function(){})),!1))))}l.findCookies(o,p?null:n,(function(e,a){if(e)return r(e);a=a.filter(d),!1!==t.sort&&(a=a.sort(gp));var o=new Date;a.forEach((function(e){e.lastAccessed=o})),r(null,a)}))},kp.push("getCookieString"),bp.prototype.getCookieString=function(){var e=Array.prototype.slice.call(arguments,0),t=e.pop(),r=function(e,r){e?t(e):t(null,r.sort(gp).map((function(e){return e.cookieString()})).join("; "))};e.push(r),this.getCookies.apply(this,e)},kp.push("getSetCookieStrings"),bp.prototype.getSetCookieStrings=function(){var e=Array.prototype.slice.call(arguments,0),t=e.pop(),r=function(e,r){e?t(e):t(null,r.map((function(e){return e.toString()})))};e.push(r),this.getCookies.apply(this,e)},kp.push("serialize"),bp.prototype.serialize=function(e){var t=this.store.constructor.name;"Object"===t&&(t=null);var r={version:"tough-cookie@2.5.0",storeType:t,rejectPublicSuffixes:!!this.rejectPublicSuffixes,cookies:[]};if(!this.store.getAllCookies||"function"!=typeof this.store.getAllCookies)return e(new Error("store does not support getAllCookies and cannot be serialized"));this.store.getAllCookies((function(t,a){return t?e(t):(r.cookies=a.map((function(e){return delete(e=e instanceof vp?e.toJSON():e).creationIndex,e})),e(null,r))}))},bp.prototype.toJSON=function(){return this.serializeSync()},kp.push("_importCookies"),bp.prototype._importCookies=function(e,t){var r=this,a=e.cookies;if(!a||!Array.isArray(a))return t(new Error("serialized jar has no cookies array"));a=a.slice(),function e(o){if(o)return t(o);if(!a.length)return t(o,r);var n;try{n=fp(a.shift())}catch(e){return t(e)}if(null===n)return e(null);r.store.putCookie(n,e)}()},bp.deserialize=function(e,t,r){var a;if(3!==arguments.length&&(r=t,t=null),"string"==typeof e){if((a=hp(e))instanceof Error)return r(a)}else a=e;var o=new bp(t,a.rejectPublicSuffixes);o._importCookies(a,(function(e){if(e)return r(e);r(null,o)}))},bp.deserializeSync=function(e,t){var r="string"==typeof e?JSON.parse(e):e,a=new bp(t,r.rejectPublicSuffixes);if(!a.store.synchronous)throw new Error("CookieJar store is not synchronous; use async API instead.");return a._importCookiesSync(r),a},bp.fromJSON=bp.deserializeSync,bp.prototype.clone=function(e,t){1===arguments.length&&(t=e,e=null),this.serialize((function(r,a){if(r)return t(r);bp.deserialize(a,e,t)}))},kp.push("removeAllCookies"),bp.prototype.removeAllCookies=function(e){var t=this.store;if(t.removeAllCookies instanceof Function&&t.removeAllCookies!==Gu.prototype.removeAllCookies)return t.removeAllCookies(e);t.getAllCookies((function(r,a){if(r)return e(r);if(0===a.length)return e(null);var o=0,n=[];function i(t){if(t&&n.push(t),++o===a.length)return e(n.length?n[0]:null)}a.forEach((function(e){t.removeCookie(e.domain,e.path,e.key,i)}))}))},bp.prototype._cloneSync=wp("clone"),bp.prototype.cloneSync=function(e){if(!e.synchronous)throw new Error("CookieJar clone destination store is not synchronous; use async API instead.");return this._cloneSync(e)},kp.forEach((function(e){bp.prototype[e+"Sync"]=wp(e)})),Su.version="2.5.0",Su.CookieJar=bp,Su.Cookie=vp,Su.Store=Gu,Su.MemoryCookieStore=Qu,Su.parseDate=sp,Su.formatDate=cp,Su.parse=mp,Su.fromJSON=fp,Su.domainMatch=pp,Su.defaultPath=lp,Su.pathMatch=Xu,Su.getPublicSuffix=Vu.getPublicSuffix,Su.cookieCompare=gp,Su.permuteDomain=Du().permuteDomain,Su.permutePath=function(e){if("/"===e)return["/"];e.lastIndexOf("/")===e.length-1&&(e=e.substr(0,e.length-1));for(var t=[e];e.length>1;){var r=e.lastIndexOf("/");if(0===r)break;e=e.substr(0,r),t.push(e)}return t.push("/"),t},Su.canonicalDomain=up;var xp=Su,jp=xp.Cookie,Ep=xp.CookieJar;function Sp(e){this._jar=new Ep(e,{looseMode:!0})}Eu.parse=function(e){if(e&&e.uri&&(e=e.uri),"string"!=typeof e)throw new Error("The cookie function only accepts STRING as param");return jp.parse(e,{loose:!0})},Sp.prototype.setCookie=function(e,t,r){return this._jar.setCookieSync(e,t,r||{})},Sp.prototype.getCookieString=function(e){return this._jar.getCookieStringSync(e)},Sp.prototype.getCookies=function(e){return this._jar.getCookiesSync(e)},Eu.jar=function(e){return new Sp(e)};var _p={},Pp={exports:{}};!function(e,t){function r(e,t){var r=[],a=[];return null==t&&(t=function(e,t){return r[0]===t?"[Circular ~]":"[Circular ~."+a.slice(0,r.indexOf(t)).join(".")+"]"}),function(o,n){if(r.length>0){var i=r.indexOf(this);~i?r.splice(i+1):r.push(this),~i?a.splice(i,1/0,o):a.push(o),~r.indexOf(n)&&(n=t.call(this,o,n))}else r.push(n);return null==e?n:e.call(this,o,n)}}(e.exports=function(e,t,a,o){return JSON.stringify(e,r(t,o),a)}).getSerialize=r}(Pp);var Cp={exports:{}};!function(e,t){var r=F.default,a=r.Buffer;function o(e,t){for(var r in e)t[r]=e[r]}function n(e,t,r){return a(e,t,r)}a.from&&a.alloc&&a.allocUnsafe&&a.allocUnsafeSlow?e.exports=r:(o(r,t),t.Buffer=n),o(a,n),n.from=function(e,t,r){if("number"==typeof e)throw new TypeError("Argument must not be a number");return a(e,t,r)},n.alloc=function(e,t,r){if("number"!=typeof e)throw new TypeError("Argument must be a number");var o=a(e);return void 0!==t?"string"==typeof r?o.fill(t,r):o.fill(t):o.fill(0),o},n.allocUnsafe=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return a(e)},n.allocUnsafeSlow=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return r.SlowBuffer(e)}}(Cp,Cp.exports);var Tp=Pp.exports,Op=x.default,Ap=Cp.exports.Buffer,Ip="undefined"==typeof setImmediate?process.nextTick:setImmediate;_p.paramsHaveRequestBody=function(e){return e.body||e.requestBodyStream||e.json&&"boolean"!=typeof e.json||e.multipart},_p.safeStringify=function(e,t){var r;try{r=JSON.stringify(e,t)}catch(a){r=Tp(e,t)}return r},_p.md5=function(e){return Op.createHash("md5").update(e).digest("hex")},_p.isReadStream=function(e){return e.readable&&e.path&&e.mode},_p.toBase64=function(e){return Ap.from(e||"","utf8").toString("base64")},_p.copy=function(e){var t={};return Object.keys(e).forEach((function(r){t[r]=e[r]})),t},_p.version=function(){var e=process.version.replace("v","").split(".");return{major:parseInt(e[0],10),minor:parseInt(e[1],10),patch:parseInt(e[2],10)}},_p.defer=Ip;var Fp,Rp={exports:{}};var Dp,Np,zp,Bp,$p,Lp,qp,Up,Mp,Hp,Kp,Vp={};function Gp(){if(Np)return Dp;function e(e){this.capacity=0|e,this.map=Object.create(null),this.list=new t}function t(){this.firstNode=null,this.lastNode=null}function r(e,t){this.key=e,this.val=t,this.prev=null,this.next=null}return Np=1,Dp=function(t){return new e(t)},e.prototype.get=function(e){var t=this.map[e];if(null!=t)return this.used(t),t.val},e.prototype.set=function(e,t){var a=this.map[e];if(null!=a)a.val=t;else{if(this.capacity||this.prune(),!this.capacity)return!1;a=new r(e,t),this.map[e]=a,this.capacity--}return this.used(a),!0},e.prototype.used=function(e){this.list.moveToFront(e)},e.prototype.prune=function(){var e=this.list.pop();null!=e&&(delete this.map[e.key],this.capacity++)},t.prototype.moveToFront=function(e){this.firstNode!=e&&(this.remove(e),null==this.firstNode?(this.firstNode=e,this.lastNode=e,e.prev=null,e.next=null):(e.prev=null,e.next=this.firstNode,e.next.prev=e,this.firstNode=e))},t.prototype.pop=function(){var e=this.lastNode;return null!=e&&this.remove(e),e},t.prototype.remove=function(e){this.firstNode==e?this.firstNode=e.next:null!=e.prev&&(e.prev.next=e.next),this.lastNode==e?this.lastNode=e.prev:null!=e.next&&(e.next.prev=e.prev)},Dp}function Qp(){return zp||(zp=1,function(e){var t=e,r=A.default,a=B.default,o=x.default,n=Gp()(1e3);function i(e,t,r){return o.createHmac("sha256",e).update(t,"utf8").digest(r)}function s(e,t){return o.createHash("sha256").update(e,"utf8").digest(t)}function c(e){return e.replace(/[!'()*]/g,(function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()}))}function u(e){return c(encodeURIComponent(e))}var p={authorization:!0,connection:!0,"x-amzn-trace-id":!0,"user-agent":!0,expect:!0,"presigned-expires":!0,range:!0};function l(e,t){"string"==typeof e&&(e=r.parse(e));var a=e.headers=e.headers||{},o=(!this.service||!this.region)&&this.matchHost(e.hostname||e.host||a.Host||a.host);this.request=e,this.credentials=t||this.defaultCredentials(),this.service=e.service||o[0]||"",this.region=e.region||o[1]||"us-east-1","email"===this.service&&(this.service="ses"),!e.method&&e.body&&(e.method="POST"),a.Host||a.host||(a.Host=e.hostname||e.host||this.createHost(),e.port&&(a.Host+=":"+e.port)),e.hostname||e.host||(e.hostname=a.Host||a.host),this.isCodeCommitGit="codecommit"===this.service&&"GIT"===e.method}l.prototype.matchHost=function(e){var t=((e||"").match(/([^\.]+)\.(?:([^\.]*)\.)?amazonaws\.com(\.cn)?$/)||[]).slice(1,3);if("es"===t[1]&&(t=t.reverse()),"s3"==t[1])t[0]="s3",t[1]="us-east-1";else for(var r=0;r<2;r++)if(/^s3-/.test(t[r])){t[1]=t[r].slice(3),t[0]="s3";break}return t},l.prototype.isSingleRegion=function(){return["s3","sdb"].indexOf(this.service)>=0&&"us-east-1"===this.region||["cloudfront","ls","route53","iam","importexport","sts"].indexOf(this.service)>=0},l.prototype.createHost=function(){var e=this.isSingleRegion()?"":"."+this.region;return("ses"===this.service?"email":this.service)+e+".amazonaws.com"},l.prototype.prepareRequest=function(){this.parsePath();var e,t=this.request,r=t.headers;t.signQuery?(this.parsedPath.query=e=this.parsedPath.query||{},this.credentials.sessionToken&&(e["X-Amz-Security-Token"]=this.credentials.sessionToken),"s3"!==this.service||e["X-Amz-Expires"]||(e["X-Amz-Expires"]=86400),e["X-Amz-Date"]?this.datetime=e["X-Amz-Date"]:e["X-Amz-Date"]=this.getDateTime(),e["X-Amz-Algorithm"]="AWS4-HMAC-SHA256",e["X-Amz-Credential"]=this.credentials.accessKeyId+"/"+this.credentialString(),e["X-Amz-SignedHeaders"]=this.signedHeaders()):(t.doNotModifyHeaders||this.isCodeCommitGit||(!t.body||r["Content-Type"]||r["content-type"]||(r["Content-Type"]="application/x-www-form-urlencoded; charset=utf-8"),!t.body||r["Content-Length"]||r["content-length"]||(r["Content-Length"]=Buffer.byteLength(t.body)),!this.credentials.sessionToken||r["X-Amz-Security-Token"]||r["x-amz-security-token"]||(r["X-Amz-Security-Token"]=this.credentials.sessionToken),"s3"!==this.service||r["X-Amz-Content-Sha256"]||r["x-amz-content-sha256"]||(r["X-Amz-Content-Sha256"]=s(this.request.body||"","hex")),r["X-Amz-Date"]||r["x-amz-date"]?this.datetime=r["X-Amz-Date"]||r["x-amz-date"]:r["X-Amz-Date"]=this.getDateTime()),delete r.Authorization,delete r.authorization)},l.prototype.sign=function(){return this.parsedPath||this.prepareRequest(),this.request.signQuery?this.parsedPath.query["X-Amz-Signature"]=this.signature():this.request.headers.Authorization=this.authHeader(),this.request.path=this.formatPath(),this.request},l.prototype.getDateTime=function(){if(!this.datetime){var e=this.request.headers,t=new Date(e.Date||e.date||new Date);this.datetime=t.toISOString().replace(/[:\-]|\.\d{3}/g,""),this.isCodeCommitGit&&(this.datetime=this.datetime.slice(0,-1))}return this.datetime},l.prototype.getDate=function(){return this.getDateTime().substr(0,8)},l.prototype.authHeader=function(){return["AWS4-HMAC-SHA256 Credential="+this.credentials.accessKeyId+"/"+this.credentialString(),"SignedHeaders="+this.signedHeaders(),"Signature="+this.signature()].join(", ")},l.prototype.signature=function(){var e,t,r,a=this.getDate(),o=[this.credentials.secretAccessKey,a,this.region,this.service].join(),s=n.get(o);return s||(e=i("AWS4"+this.credentials.secretAccessKey,a),t=i(e,this.region),r=i(t,this.service),s=i(r,"aws4_request"),n.set(o,s)),i(s,this.stringToSign(),"hex")},l.prototype.stringToSign=function(){return["AWS4-HMAC-SHA256",this.getDateTime(),this.credentialString(),s(this.canonicalString(),"hex")].join("\n")},l.prototype.canonicalString=function(){this.parsedPath||this.prepareRequest();var e,t=this.parsedPath.path,r=this.parsedPath.query,a=this.request.headers,o="",n="s3"!==this.service,i="s3"===this.service||this.request.doNotEncodePath,c="s3"===this.service,p="s3"===this.service;if(e="s3"===this.service&&this.request.signQuery?"UNSIGNED-PAYLOAD":this.isCodeCommitGit?"":a["X-Amz-Content-Sha256"]||a["x-amz-content-sha256"]||s(this.request.body||"","hex"),r){var l=Object.keys(r).reduce((function(e,t){return t?(e[u(t)]=Array.isArray(r[t])&&p?r[t][0]:r[t],e):e}),{}),d=[];Object.keys(l).sort().forEach((function(e){Array.isArray(l[e])?l[e].map(u).sort().forEach((function(t){d.push(e+"="+t)})):d.push(e+"="+u(l[e]))})),o=d.join("&")}return"/"!==t&&(n&&(t=t.replace(/\/{2,}/g,"/")),"/"!==(t=t.split("/").reduce((function(e,t){return n&&".."===t?e.pop():n&&"."===t||(i&&(t=decodeURIComponent(t.replace(/\+/g," "))),e.push(u(t))),e}),[]).join("/"))[0]&&(t="/"+t),c&&(t=t.replace(/%2F/g,"/"))),[this.request.method||"GET",t,o,this.canonicalHeaders()+"\n",this.signedHeaders(),e].join("\n")},l.prototype.canonicalHeaders=function(){var e=this.request.headers;return Object.keys(e).filter((function(e){return null==p[e.toLowerCase()]})).sort((function(e,t){return e.toLowerCase()<t.toLowerCase()?-1:1})).map((function(t){return t.toLowerCase()+":"+e[t].toString().trim().replace(/\s+/g," ")})).join("\n")},l.prototype.signedHeaders=function(){return Object.keys(this.request.headers).map((function(e){return e.toLowerCase()})).filter((function(e){return null==p[e]})).sort().join(";")},l.prototype.credentialString=function(){return[this.getDate(),this.region,this.service,"aws4_request"].join("/")},l.prototype.defaultCredentials=function(){var e=process.env;return{accessKeyId:e.AWS_ACCESS_KEY_ID||e.AWS_ACCESS_KEY,secretAccessKey:e.AWS_SECRET_ACCESS_KEY||e.AWS_SECRET_KEY,sessionToken:e.AWS_SESSION_TOKEN}},l.prototype.parsePath=function(){var e=this.request.path||"/";/[^0-9A-Za-z;,/?:@&=+$\-_.!~*'()#%]/.test(e)&&(e=encodeURI(decodeURI(e)));var t=e.indexOf("?"),r=null;t>=0&&(r=a.parse(e.slice(t+1)),e=e.slice(0,t)),this.parsedPath={path:e,query:r}},l.prototype.formatPath=function(){var e=this.parsedPath.path,t=this.parsedPath.query;return t?(null!=t[""]&&delete t[""],e+"?"+c(a.stringify(t))):e},t.RequestSigner=l,t.sign=function(e,t){return new l(e,t).sign()}}(Vp)),Vp}function Xp(){if($p)return Bp;$p=1;var e=P.default,t=N.default.Stream,r=C.default,a=/^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$/;function o(e){return e.charAt(0).toUpperCase()+e.slice(1)}function n(t,a,o,i,s){throw new e.AssertionError({message:r.format("%s (%s) is required",t,a),actual:void 0===s?typeof i:s(i),expected:a,operator:o||"===",stackStartFunction:n.caller})}function i(e){return Object.prototype.toString.call(e).slice(8,-1)}function s(){}var c={bool:{check:function(e){return"boolean"==typeof e}},func:{check:function(e){return"function"==typeof e}},string:{check:function(e){return"string"==typeof e}},object:{check:function(e){return"object"==typeof e&&null!==e}},number:{check:function(e){return"number"==typeof e&&!isNaN(e)}},finite:{check:function(e){return"number"==typeof e&&!isNaN(e)&&isFinite(e)}},buffer:{check:function(e){return Buffer.isBuffer(e)},operator:"Buffer.isBuffer"},array:{check:function(e){return Array.isArray(e)},operator:"Array.isArray"},stream:{check:function(e){return e instanceof t},operator:"instanceof",actual:i},date:{check:function(e){return e instanceof Date},operator:"instanceof",actual:i},regexp:{check:function(e){return e instanceof RegExp},operator:"instanceof",actual:i},uuid:{check:function(e){return"string"==typeof e&&a.test(e)},operator:"isUUID"}};return Bp=function t(r){var a,i=Object.keys(c);return a=process.env.NODE_NDEBUG?s:function(e,t){e||n(t,"true",e)},i.forEach((function(e){if(r)a[e]=s;else{var t=c[e];a[e]=function(r,a){t.check(r)||n(a,e,t.operator,r,t.actual)}}})),i.forEach((function(e){var t="optional"+o(e);if(r)a[t]=s;else{var i=c[e];a[t]=function(t,r){null!=t&&(i.check(t)||n(r,e,i.operator,t,i.actual))}}})),i.forEach((function(e){var t="arrayOf"+o(e);if(r)a[t]=s;else{var i=c[e],u="["+e+"]";a[t]=function(e,t){var r;for(Array.isArray(e)||n(t,u,i.operator,e,i.actual),r=0;r<e.length;r++)i.check(e[r])||n(t,u,i.operator,e,i.actual)}}})),i.forEach((function(e){var t="optionalArrayOf"+o(e);if(r)a[t]=s;else{var i=c[e],u="["+e+"]";a[t]=function(e,t){var r;if(null!=e)for(Array.isArray(e)||n(t,u,i.operator,e,i.actual),r=0;r<e.length;r++)i.check(e[r])||n(t,u,i.operator,e,i.actual)}}})),Object.keys(e).forEach((function(t){a[t]="AssertionError"!==t&&r?s:e[t]})),a._setExports=t,a}(process.env.NODE_NDEBUG),Bp}function Wp(){if(qp)return Lp;qp=1;var e,t=F.default,r=t.Buffer,a={};for(e in t)t.hasOwnProperty(e)&&"SlowBuffer"!==e&&"Buffer"!==e&&(a[e]=t[e]);var o=a.Buffer={};for(e in r)r.hasOwnProperty(e)&&"allocUnsafe"!==e&&"allocUnsafeSlow"!==e&&(o[e]=r[e]);if(a.Buffer.prototype=r.prototype,o.from&&o.from!==Uint8Array.from||(o.from=function(e,t,a){if("number"==typeof e)throw new TypeError('The "value" argument must not be of type number. Received type '+typeof e);if(e&&void 0===e.length)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);return r(e,t,a)}),o.alloc||(o.alloc=function(e,t,a){if("number"!=typeof e)throw new TypeError('The "size" argument must be of type number. Received type '+typeof e);if(e<0||e>=2*(1<<30))throw new RangeError('The value "'+e+'" is invalid for option "size"');var o=r(e);return t&&0!==t.length?"string"==typeof a?o.fill(t,a):o.fill(t):o.fill(0),o}),!a.kStringMaxLength)try{a.kStringMaxLength=process.binding("buffer").kStringMaxLength}catch(e){}return a.constants||(a.constants={MAX_LENGTH:a.kMaxLength},a.kStringMaxLength&&(a.constants.MAX_STRING_LENGTH=a.kStringMaxLength)),Lp=a}function Yp(){if(Mp)return Up;Mp=1;var e=Wp().Buffer,t={dsa:{parts:["p","q","g","y"],sizePart:"p"},rsa:{parts:["e","n"],sizePart:"n"},ecdsa:{parts:["curve","Q"],sizePart:"Q"},ed25519:{parts:["A"],sizePart:"A"}};t.curve25519=t.ed25519;var r={dsa:{parts:["p","q","g","y","x"]},rsa:{parts:["n","e","d","iqmp","p","q"]},ecdsa:{parts:["curve","Q","d"]},ed25519:{parts:["A","k"]}};r.curve25519=r.ed25519;var a={nistp256:{size:256,pkcs8oid:"1.2.840.10045.3.1.7",p:e.from("00ffffffff 00000001 00000000 0000000000000000 ffffffff ffffffff ffffffff".replace(/ /g,""),"hex"),a:e.from("00FFFFFFFF 00000001 00000000 0000000000000000 FFFFFFFF FFFFFFFF FFFFFFFC".replace(/ /g,""),"hex"),b:e.from("5ac635d8 aa3a93e7 b3ebbd55 769886bc651d06b0 cc53b0f6 3bce3c3e 27d2604b".replace(/ /g,""),"hex"),s:e.from("00c49d3608 86e70493 6a6678e1 139d26b7819f7e90".replace(/ /g,""),"hex"),n:e.from("00ffffffff 00000000 ffffffff ffffffffbce6faad a7179e84 f3b9cac2 fc632551".replace(/ /g,""),"hex"),G:e.from("046b17d1f2 e12c4247 f8bce6e5 63a440f277037d81 2deb33a0 f4a13945 d898c2964fe342e2 fe1a7f9b 8ee7eb4a 7c0f9e162bce3357 6b315ece cbb64068 37bf51f5".replace(/ /g,""),"hex")},nistp384:{size:384,pkcs8oid:"1.3.132.0.34",p:e.from("00ffffffff ffffffff ffffffff ffffffffffffffff ffffffff ffffffff fffffffeffffffff 00000000 00000000 ffffffff".replace(/ /g,""),"hex"),a:e.from("00FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFFFFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFEFFFFFFFF 00000000 00000000 FFFFFFFC".replace(/ /g,""),"hex"),b:e.from("b3312fa7 e23ee7e4 988e056b e3f82d19181d9c6e fe814112 0314088f 5013875ac656398d 8a2ed19d 2a85c8ed d3ec2aef".replace(/ /g,""),"hex"),s:e.from("00a335926a a319a27a 1d00896a 6773a4827acdac73".replace(/ /g,""),"hex"),n:e.from("00ffffffff ffffffff ffffffff ffffffffffffffff ffffffff c7634d81 f4372ddf581a0db2 48b0a77a ecec196a ccc52973".replace(/ /g,""),"hex"),G:e.from("04aa87ca22 be8b0537 8eb1c71e f320ad746e1d3b62 8ba79b98 59f741e0 82542a385502f25d bf55296c 3a545e38 72760ab73617de4a 96262c6f 5d9e98bf 9292dc29f8f41dbd 289a147c e9da3113 b5f0b8c00a60b1ce 1d7e819d 7a431d7c 90ea0e5f".replace(/ /g,""),"hex")},nistp521:{size:521,pkcs8oid:"1.3.132.0.35",p:e.from("01ffffff ffffffff ffffffff ffffffffffffffff ffffffff ffffffff ffffffffffffffff ffffffff ffffffff ffffffffffffffff ffffffff ffffffff ffffffffffff".replace(/ /g,""),"hex"),a:e.from("01FFFFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFFFFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFFFFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFFFFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFC".replace(/ /g,""),"hex"),b:e.from("51953eb961 8e1c9a1f 929a21a0 b68540eea2da725b 99b315f3 b8b48991 8ef109e156193951 ec7e937b 1652c0bd 3bb1bf073573df88 3d2c34f1 ef451fd4 6b503f00".replace(/ /g,""),"hex"),s:e.from("00d09e8800 291cb853 96cc6717 393284aaa0da64ba".replace(/ /g,""),"hex"),n:e.from("01ffffffffff ffffffff ffffffff ffffffffffffffff ffffffff ffffffff fffffffa51868783 bf2f966b 7fcc0148 f709a5d03bb5c9b8 899c47ae bb6fb71e 91386409".replace(/ /g,""),"hex"),G:e.from("0400c6 858e06b7 0404e9cd 9e3ecb66 2395b4429c648139 053fb521 f828af60 6b4d3dbaa14b5e77 efe75928 fe1dc127 a2ffa8de3348b3c1 856a429b f97e7e31 c2e5bd660118 39296a78 9a3bc004 5c8a5fb4 2c7d1bd998f54449 579b4468 17afbd17 273e662c97ee7299 5ef42640 c550b901 3fad0761353c7086 a272c240 88be9476 9fd16650".replace(/ /g,""),"hex")}};return Up={info:t,privInfo:r,hashAlgs:{md5:!0,sha1:!0,sha256:!0,sha384:!0,sha512:!0},curves:a}}function Zp(){if(Kp)return Hp;Kp=1,Xp();var e=C.default;function t(e,r){Error.captureStackTrace&&Error.captureStackTrace(this,t),this.name="FingerprintFormatError",this.fingerprint=e,this.format=r,this.message="Fingerprint format is not supported, or is invalid: ",void 0!==e&&(this.message+=" fingerprint = "+e),void 0!==r&&(this.message+=" format = "+r)}function r(e){Error.captureStackTrace&&Error.captureStackTrace(this,r),this.name="InvalidAlgorithmError",this.algorithm=e,this.message='Algorithm "'+e+'" is not supported'}function a(e,t,r){Error.captureStackTrace&&Error.captureStackTrace(this,a),this.name="KeyParseError",this.format=t,this.keyName=e,this.innerErr=r,this.message="Failed to parse "+e+" as a valid "+t+" format key: "+r.message}function o(e,t,r){Error.captureStackTrace&&Error.captureStackTrace(this,o),this.name="SignatureParseError",this.type=e,this.format=t,this.innerErr=r,this.message="Failed to parse the given data as a "+e+" signature in "+t+" format: "+r.message}function n(e,t,r){Error.captureStackTrace&&Error.captureStackTrace(this,n),this.name="CertificateParseError",this.format=t,this.certName=e,this.innerErr=r,this.message="Failed to parse "+e+" as a valid "+t+" format certificate: "+r.message}function i(e,t){Error.captureStackTrace&&Error.captureStackTrace(this,i),this.name="KeyEncryptedError",this.format=t,this.keyName=e,this.message="The "+t+" format key "+e+" is encrypted (password-protected), and no passphrase was provided in `options`"}return e.inherits(t,Error),e.inherits(r,Error),e.inherits(a,Error),e.inherits(o,Error),e.inherits(n,Error),e.inherits(i,Error),Hp={FingerprintFormatError:t,InvalidAlgorithmError:r,KeyParseError:a,SignatureParseError:o,KeyEncryptedError:i,CertificateParseError:n}}var Jp,el,tl,rl,al,ol,nl,il,sl,cl,ul,pl={exports:{}};function ll(){return el?Jp:(el=1,Jp={newInvalidAsn1Error:function(e){var t=new Error;return t.name="InvalidAsn1Error",t.message=e||"",t}})}function dl(){return rl?tl:(rl=1,tl={EOC:0,Boolean:1,Integer:2,BitString:3,OctetString:4,Null:5,OID:6,ObjectDescriptor:7,External:8,Real:9,Enumeration:10,PDV:11,Utf8String:12,RelativeOID:13,Sequence:16,Set:17,NumericString:18,PrintableString:19,T61String:20,VideotexString:21,IA5String:22,UTCTime:23,GeneralizedTime:24,GraphicString:25,VisibleString:26,GeneralString:28,UniversalString:29,CharacterString:30,BMPString:31,Constructor:32,Context:128})}function ml(){if(il)return nl;il=1;var e=P.default,t=Wp().Buffer,r=dl(),a=ll().newInvalidAsn1Error,o={size:1024,growthFactor:8};function n(r){var a,n;a=o,n=r||{},e.ok(a),e.equal(typeof a,"object"),e.ok(n),e.equal(typeof n,"object"),Object.getOwnPropertyNames(a).forEach((function(e){if(!n[e]){var t=Object.getOwnPropertyDescriptor(a,e);Object.defineProperty(n,e,t)}})),r=n,this._buf=t.alloc(r.size||1024),this._size=this._buf.length,this._offset=0,this._options=r,this._seq=[]}return Object.defineProperty(n.prototype,"buffer",{get:function(){if(this._seq.length)throw a(this._seq.length+" unended sequence(s)");return this._buf.slice(0,this._offset)}}),n.prototype.writeByte=function(e){if("number"!=typeof e)throw new TypeError("argument must be a Number");this._ensure(1),this._buf[this._offset++]=e},n.prototype.writeInt=function(e,t){if("number"!=typeof e)throw new TypeError("argument must be a Number");"number"!=typeof t&&(t=r.Integer);for(var o=4;(0==(4286578688&e)||-8388608==(4286578688&e))&&o>1;)o--,e<<=8;if(o>4)throw a("BER ints cannot be > 0xffffffff");for(this._ensure(2+o),this._buf[this._offset++]=t,this._buf[this._offset++]=o;o-- >0;)this._buf[this._offset++]=(4278190080&e)>>>24,e<<=8},n.prototype.writeNull=function(){this.writeByte(r.Null),this.writeByte(0)},n.prototype.writeEnumeration=function(e,t){if("number"!=typeof e)throw new TypeError("argument must be a Number");return"number"!=typeof t&&(t=r.Enumeration),this.writeInt(e,t)},n.prototype.writeBoolean=function(e,t){if("boolean"!=typeof e)throw new TypeError("argument must be a Boolean");"number"!=typeof t&&(t=r.Boolean),this._ensure(3),this._buf[this._offset++]=t,this._buf[this._offset++]=1,this._buf[this._offset++]=e?255:0},n.prototype.writeString=function(e,a){if("string"!=typeof e)throw new TypeError("argument must be a string (was: "+typeof e+")");"number"!=typeof a&&(a=r.OctetString);var o=t.byteLength(e);this.writeByte(a),this.writeLength(o),o&&(this._ensure(o),this._buf.write(e,this._offset),this._offset+=o)},n.prototype.writeBuffer=function(e,r){if("number"!=typeof r)throw new TypeError("tag must be a number");if(!t.isBuffer(e))throw new TypeError("argument must be a buffer");this.writeByte(r),this.writeLength(e.length),this._ensure(e.length),e.copy(this._buf,this._offset,0,e.length),this._offset+=e.length},n.prototype.writeStringArray=function(e){if(!e instanceof Array)throw new TypeError("argument must be an Array[String]");var t=this;e.forEach((function(e){t.writeString(e)}))},n.prototype.writeOID=function(e,t){if("string"!=typeof e)throw new TypeError("argument must be a string");if("number"!=typeof t&&(t=r.OID),!/^([0-9]+\.){3,}[0-9]+$/.test(e))throw new Error("argument is not a valid OID string");var a=e.split("."),o=[];o.push(40*parseInt(a[0],10)+parseInt(a[1],10)),a.slice(2).forEach((function(e){!function(e,t){t<128?e.push(t):t<16384?(e.push(t>>>7|128),e.push(127&t)):t<2097152?(e.push(t>>>14|128),e.push(255&(t>>>7|128)),e.push(127&t)):t<268435456?(e.push(t>>>21|128),e.push(255&(t>>>14|128)),e.push(255&(t>>>7|128)),e.push(127&t)):(e.push(255&(t>>>28|128)),e.push(255&(t>>>21|128)),e.push(255&(t>>>14|128)),e.push(255&(t>>>7|128)),e.push(127&t))}(o,parseInt(e,10))}));var n=this;this._ensure(2+o.length),this.writeByte(t),this.writeLength(o.length),o.forEach((function(e){n.writeByte(e)}))},n.prototype.writeLength=function(e){if("number"!=typeof e)throw new TypeError("argument must be a Number");if(this._ensure(4),e<=127)this._buf[this._offset++]=e;else if(e<=255)this._buf[this._offset++]=129,this._buf[this._offset++]=e;else if(e<=65535)this._buf[this._offset++]=130,this._buf[this._offset++]=e>>8,this._buf[this._offset++]=e;else{if(!(e<=16777215))throw a("Length too long (> 4 bytes)");this._buf[this._offset++]=131,this._buf[this._offset++]=e>>16,this._buf[this._offset++]=e>>8,this._buf[this._offset++]=e}},n.prototype.startSequence=function(e){"number"!=typeof e&&(e=r.Sequence|r.Constructor),this.writeByte(e),this._seq.push(this._offset),this._ensure(3),this._offset+=3},n.prototype.endSequence=function(){var e=this._seq.pop(),t=e+3,r=this._offset-t;if(r<=127)this._shift(t,r,-2),this._buf[e]=r;else if(r<=255)this._shift(t,r,-1),this._buf[e]=129,this._buf[e+1]=r;else if(r<=65535)this._buf[e]=130,this._buf[e+1]=r>>8,this._buf[e+2]=r;else{if(!(r<=16777215))throw a("Sequence too long");this._shift(t,r,1),this._buf[e]=131,this._buf[e+1]=r>>16,this._buf[e+2]=r>>8,this._buf[e+3]=r}},n.prototype._shift=function(t,r,a){e.ok(void 0!==t),e.ok(void 0!==r),e.ok(a),this._buf.copy(this._buf,t+a,t,t+r),this._offset+=a},n.prototype._ensure=function(r){if(e.ok(r),this._size-this._offset<r){var a=this._size*this._options.growthFactor;a-this._offset<r&&(a+=r);var o=t.alloc(a);this._buf.copy(o,0,0,this._offset),this._buf=o,this._size=a}},nl=n}function hl(){return sl||(sl=1,function(e){var t=ll(),r=dl(),a=function(){if(ol)return al;ol=1;var e=P.default,t=Wp().Buffer,r=dl(),a=ll().newInvalidAsn1Error;function o(e){if(!e||!t.isBuffer(e))throw new TypeError("data must be a node Buffer");this._buf=e,this._size=e.length,this._len=0,this._offset=0}return Object.defineProperty(o.prototype,"length",{enumerable:!0,get:function(){return this._len}}),Object.defineProperty(o.prototype,"offset",{enumerable:!0,get:function(){return this._offset}}),Object.defineProperty(o.prototype,"remain",{get:function(){return this._size-this._offset}}),Object.defineProperty(o.prototype,"buffer",{get:function(){return this._buf.slice(this._offset)}}),o.prototype.readByte=function(e){if(this._size-this._offset<1)return null;var t=255&this._buf[this._offset];return e||(this._offset+=1),t},o.prototype.peek=function(){return this.readByte(!0)},o.prototype.readLength=function(e){if(void 0===e&&(e=this._offset),e>=this._size)return null;var t=255&this._buf[e++];if(null===t)return null;if(128==(128&t)){if(0==(t&=127))throw a("Indefinite length not supported");if(t>4)throw a("encoding too long");if(this._size-e<t)return null;this._len=0;for(var r=0;r<t;r++)this._len=(this._len<<8)+(255&this._buf[e++])}else this._len=t;return e},o.prototype.readSequence=function(e){var t=this.peek();if(null===t)return null;if(void 0!==e&&e!==t)throw a("Expected 0x"+e.toString(16)+": got 0x"+t.toString(16));var r=this.readLength(this._offset+1);return null===r?null:(this._offset=r,t)},o.prototype.readInt=function(){return this._readTag(r.Integer)},o.prototype.readBoolean=function(){return 0!==this._readTag(r.Boolean)},o.prototype.readEnumeration=function(){return this._readTag(r.Enumeration)},o.prototype.readString=function(e,o){e||(e=r.OctetString);var n=this.peek();if(null===n)return null;if(n!==e)throw a("Expected 0x"+e.toString(16)+": got 0x"+n.toString(16));var i=this.readLength(this._offset+1);if(null===i)return null;if(this.length>this._size-i)return null;if(this._offset=i,0===this.length)return o?t.alloc(0):"";var s=this._buf.slice(this._offset,this._offset+this.length);return this._offset+=this.length,o?s:s.toString("utf8")},o.prototype.readOID=function(e){e||(e=r.OID);var t=this.readString(e,!0);if(null===t)return null;for(var a=[],o=0,n=0;n<t.length;n++){var i=255&t[n];o<<=7,o+=127&i,0==(128&i)&&(a.push(o),o=0)}return o=a.shift(),a.unshift(o%40),a.unshift(o/40>>0),a.join(".")},o.prototype._readTag=function(t){e.ok(void 0!==t);var r=this.peek();if(null===r)return null;if(r!==t)throw a("Expected 0x"+t.toString(16)+": got 0x"+r.toString(16));var o=this.readLength(this._offset+1);if(null===o)return null;if(this.length>4)throw a("Integer too long: "+this.length);if(this.length>this._size-o)return null;this._offset=o;for(var n=this._buf[this._offset],i=0,s=0;s<this.length;s++)i<<=8,i|=255&this._buf[this._offset++];return 128==(128&n)&&4!==s&&(i-=1<<8*s),i>>0},al=o}(),o=ml();for(var n in e.exports={Reader:a,Writer:o},r)r.hasOwnProperty(n)&&(e.exports[n]=r[n]);for(var i in t)t.hasOwnProperty(i)&&(e.exports[i]=t[i])}(pl)),pl.exports}function fl(){if(ul)return cl;ul=1;var e=hl();return cl={Ber:e,BerReader:e.Reader,BerWriter:e.Writer}}var gl,yl,vl,bl={exports:{}};function kl(){return gl||(gl=1,function(e,t){(function(){var t;function r(e,t,r){null!=e&&("number"==typeof e?this.fromNumber(e,t,r):null==t&&"string"!=typeof e?this.fromString(e,256):this.fromString(e,t))}function a(){return new r(null)}var o="undefined"!=typeof navigator;o&&"Microsoft Internet Explorer"==navigator.appName?(r.prototype.am=function(e,t,r,a,o,n){for(var i=32767&t,s=t>>15;--n>=0;){var c=32767&this[e],u=this[e++]>>15,p=s*c+u*i;o=((c=i*c+((32767&p)<<15)+r[a]+(1073741823&o))>>>30)+(p>>>15)+s*u+(o>>>30),r[a++]=1073741823&c}return o},t=30):o&&"Netscape"!=navigator.appName?(r.prototype.am=function(e,t,r,a,o,n){for(;--n>=0;){var i=t*this[e++]+r[a]+o;o=Math.floor(i/67108864),r[a++]=67108863&i}return o},t=26):(r.prototype.am=function(e,t,r,a,o,n){for(var i=16383&t,s=t>>14;--n>=0;){var c=16383&this[e],u=this[e++]>>14,p=s*c+u*i;o=((c=i*c+((16383&p)<<14)+r[a]+o)>>28)+(p>>14)+s*u,r[a++]=268435455&c}return o},t=28),r.prototype.DB=t,r.prototype.DM=(1<<t)-1,r.prototype.DV=1<<t;r.prototype.FV=Math.pow(2,52),r.prototype.F1=52-t,r.prototype.F2=2*t-52;var n,i,s=new Array;for(n="0".charCodeAt(0),i=0;i<=9;++i)s[n++]=i;for(n="a".charCodeAt(0),i=10;i<36;++i)s[n++]=i;for(n="A".charCodeAt(0),i=10;i<36;++i)s[n++]=i;function c(e){return"0123456789abcdefghijklmnopqrstuvwxyz".charAt(e)}function u(e,t){var r=s[e.charCodeAt(t)];return null==r?-1:r}function p(e){var t=a();return t.fromInt(e),t}function l(e){var t,r=1;return 0!=(t=e>>>16)&&(e=t,r+=16),0!=(t=e>>8)&&(e=t,r+=8),0!=(t=e>>4)&&(e=t,r+=4),0!=(t=e>>2)&&(e=t,r+=2),0!=(t=e>>1)&&(e=t,r+=1),r}function d(e){this.m=e}function m(e){this.m=e,this.mp=e.invDigit(),this.mpl=32767&this.mp,this.mph=this.mp>>15,this.um=(1<<e.DB-15)-1,this.mt2=2*e.t}function h(e,t){return e&t}function f(e,t){return e|t}function g(e,t){return e^t}function y(e,t){return e&~t}function v(e){if(0==e)return-1;var t=0;return 0==(65535&e)&&(e>>=16,t+=16),0==(255&e)&&(e>>=8,t+=8),0==(15&e)&&(e>>=4,t+=4),0==(3&e)&&(e>>=2,t+=2),0==(1&e)&&++t,t}function b(e){for(var t=0;0!=e;)e&=e-1,++t;return t}function k(){}function w(e){return e}function x(e){this.r2=a(),this.q3=a(),r.ONE.dlShiftTo(2*e.t,this.r2),this.mu=this.r2.divide(e),this.m=e}d.prototype.convert=function(e){return e.s<0||e.compareTo(this.m)>=0?e.mod(this.m):e},d.prototype.revert=function(e){return e},d.prototype.reduce=function(e){e.divRemTo(this.m,null,e)},d.prototype.mulTo=function(e,t,r){e.multiplyTo(t,r),this.reduce(r)},d.prototype.sqrTo=function(e,t){e.squareTo(t),this.reduce(t)},m.prototype.convert=function(e){var t=a();return e.abs().dlShiftTo(this.m.t,t),t.divRemTo(this.m,null,t),e.s<0&&t.compareTo(r.ZERO)>0&&this.m.subTo(t,t),t},m.prototype.revert=function(e){var t=a();return e.copyTo(t),this.reduce(t),t},m.prototype.reduce=function(e){for(;e.t<=this.mt2;)e[e.t++]=0;for(var t=0;t<this.m.t;++t){var r=32767&e[t],a=r*this.mpl+((r*this.mph+(e[t]>>15)*this.mpl&this.um)<<15)&e.DM;for(e[r=t+this.m.t]+=this.m.am(0,a,e,t,0,this.m.t);e[r]>=e.DV;)e[r]-=e.DV,e[++r]++}e.clamp(),e.drShiftTo(this.m.t,e),e.compareTo(this.m)>=0&&e.subTo(this.m,e)},m.prototype.mulTo=function(e,t,r){e.multiplyTo(t,r),this.reduce(r)},m.prototype.sqrTo=function(e,t){e.squareTo(t),this.reduce(t)},r.prototype.copyTo=function(e){for(var t=this.t-1;t>=0;--t)e[t]=this[t];e.t=this.t,e.s=this.s},r.prototype.fromInt=function(e){this.t=1,this.s=e<0?-1:0,e>0?this[0]=e:e<-1?this[0]=e+this.DV:this.t=0},r.prototype.fromString=function(e,t){var a;if(16==t)a=4;else if(8==t)a=3;else if(256==t)a=8;else if(2==t)a=1;else if(32==t)a=5;else{if(4!=t)return void this.fromRadix(e,t);a=2}this.t=0,this.s=0;for(var o=e.length,n=!1,i=0;--o>=0;){var s=8==a?255&e[o]:u(e,o);s<0?"-"==e.charAt(o)&&(n=!0):(n=!1,0==i?this[this.t++]=s:i+a>this.DB?(this[this.t-1]|=(s&(1<<this.DB-i)-1)<<i,this[this.t++]=s>>this.DB-i):this[this.t-1]|=s<<i,(i+=a)>=this.DB&&(i-=this.DB))}8==a&&0!=(128&e[0])&&(this.s=-1,i>0&&(this[this.t-1]|=(1<<this.DB-i)-1<<i)),this.clamp(),n&&r.ZERO.subTo(this,this)},r.prototype.clamp=function(){for(var e=this.s&this.DM;this.t>0&&this[this.t-1]==e;)--this.t},r.prototype.dlShiftTo=function(e,t){var r;for(r=this.t-1;r>=0;--r)t[r+e]=this[r];for(r=e-1;r>=0;--r)t[r]=0;t.t=this.t+e,t.s=this.s},r.prototype.drShiftTo=function(e,t){for(var r=e;r<this.t;++r)t[r-e]=this[r];t.t=Math.max(this.t-e,0),t.s=this.s},r.prototype.lShiftTo=function(e,t){var r,a=e%this.DB,o=this.DB-a,n=(1<<o)-1,i=Math.floor(e/this.DB),s=this.s<<a&this.DM;for(r=this.t-1;r>=0;--r)t[r+i+1]=this[r]>>o|s,s=(this[r]&n)<<a;for(r=i-1;r>=0;--r)t[r]=0;t[i]=s,t.t=this.t+i+1,t.s=this.s,t.clamp()},r.prototype.rShiftTo=function(e,t){t.s=this.s;var r=Math.floor(e/this.DB);if(r>=this.t)t.t=0;else{var a=e%this.DB,o=this.DB-a,n=(1<<a)-1;t[0]=this[r]>>a;for(var i=r+1;i<this.t;++i)t[i-r-1]|=(this[i]&n)<<o,t[i-r]=this[i]>>a;a>0&&(t[this.t-r-1]|=(this.s&n)<<o),t.t=this.t-r,t.clamp()}},r.prototype.subTo=function(e,t){for(var r=0,a=0,o=Math.min(e.t,this.t);r<o;)a+=this[r]-e[r],t[r++]=a&this.DM,a>>=this.DB;if(e.t<this.t){for(a-=e.s;r<this.t;)a+=this[r],t[r++]=a&this.DM,a>>=this.DB;a+=this.s}else{for(a+=this.s;r<e.t;)a-=e[r],t[r++]=a&this.DM,a>>=this.DB;a-=e.s}t.s=a<0?-1:0,a<-1?t[r++]=this.DV+a:a>0&&(t[r++]=a),t.t=r,t.clamp()},r.prototype.multiplyTo=function(e,t){var a=this.abs(),o=e.abs(),n=a.t;for(t.t=n+o.t;--n>=0;)t[n]=0;for(n=0;n<o.t;++n)t[n+a.t]=a.am(0,o[n],t,n,0,a.t);t.s=0,t.clamp(),this.s!=e.s&&r.ZERO.subTo(t,t)},r.prototype.squareTo=function(e){for(var t=this.abs(),r=e.t=2*t.t;--r>=0;)e[r]=0;for(r=0;r<t.t-1;++r){var a=t.am(r,t[r],e,2*r,0,1);(e[r+t.t]+=t.am(r+1,2*t[r],e,2*r+1,a,t.t-r-1))>=t.DV&&(e[r+t.t]-=t.DV,e[r+t.t+1]=1)}e.t>0&&(e[e.t-1]+=t.am(r,t[r],e,2*r,0,1)),e.s=0,e.clamp()},r.prototype.divRemTo=function(e,t,o){var n=e.abs();if(!(n.t<=0)){var i=this.abs();if(i.t<n.t)return null!=t&&t.fromInt(0),void(null!=o&&this.copyTo(o));null==o&&(o=a());var s=a(),c=this.s,u=e.s,p=this.DB-l(n[n.t-1]);p>0?(n.lShiftTo(p,s),i.lShiftTo(p,o)):(n.copyTo(s),i.copyTo(o));var d=s.t,m=s[d-1];if(0!=m){var h=m*(1<<this.F1)+(d>1?s[d-2]>>this.F2:0),f=this.FV/h,g=(1<<this.F1)/h,y=1<<this.F2,v=o.t,b=v-d,k=null==t?a():t;for(s.dlShiftTo(b,k),o.compareTo(k)>=0&&(o[o.t++]=1,o.subTo(k,o)),r.ONE.dlShiftTo(d,k),k.subTo(s,s);s.t<d;)s[s.t++]=0;for(;--b>=0;){var w=o[--v]==m?this.DM:Math.floor(o[v]*f+(o[v-1]+y)*g);if((o[v]+=s.am(0,w,o,b,0,d))<w)for(s.dlShiftTo(b,k),o.subTo(k,o);o[v]<--w;)o.subTo(k,o)}null!=t&&(o.drShiftTo(d,t),c!=u&&r.ZERO.subTo(t,t)),o.t=d,o.clamp(),p>0&&o.rShiftTo(p,o),c<0&&r.ZERO.subTo(o,o)}}},r.prototype.invDigit=function(){if(this.t<1)return 0;var e=this[0];if(0==(1&e))return 0;var t=3&e;return(t=(t=(t=(t=t*(2-(15&e)*t)&15)*(2-(255&e)*t)&255)*(2-((65535&e)*t&65535))&65535)*(2-e*t%this.DV)%this.DV)>0?this.DV-t:-t},r.prototype.isEven=function(){return 0==(this.t>0?1&this[0]:this.s)},r.prototype.exp=function(e,t){if(e>4294967295||e<1)return r.ONE;var o=a(),n=a(),i=t.convert(this),s=l(e)-1;for(i.copyTo(o);--s>=0;)if(t.sqrTo(o,n),(e&1<<s)>0)t.mulTo(n,i,o);else{var c=o;o=n,n=c}return t.revert(o)},r.prototype.toString=function(e){if(this.s<0)return"-"+this.negate().toString(e);var t;if(16==e)t=4;else if(8==e)t=3;else if(2==e)t=1;else if(32==e)t=5;else{if(4!=e)return this.toRadix(e);t=2}var r,a=(1<<t)-1,o=!1,n="",i=this.t,s=this.DB-i*this.DB%t;if(i-- >0)for(s<this.DB&&(r=this[i]>>s)>0&&(o=!0,n=c(r));i>=0;)s<t?(r=(this[i]&(1<<s)-1)<<t-s,r|=this[--i]>>(s+=this.DB-t)):(r=this[i]>>(s-=t)&a,s<=0&&(s+=this.DB,--i)),r>0&&(o=!0),o&&(n+=c(r));return o?n:"0"},r.prototype.negate=function(){var e=a();return r.ZERO.subTo(this,e),e},r.prototype.abs=function(){return this.s<0?this.negate():this},r.prototype.compareTo=function(e){var t=this.s-e.s;if(0!=t)return t;var r=this.t;if(0!=(t=r-e.t))return this.s<0?-t:t;for(;--r>=0;)if(0!=(t=this[r]-e[r]))return t;return 0},r.prototype.bitLength=function(){return this.t<=0?0:this.DB*(this.t-1)+l(this[this.t-1]^this.s&this.DM)},r.prototype.mod=function(e){var t=a();return this.abs().divRemTo(e,null,t),this.s<0&&t.compareTo(r.ZERO)>0&&e.subTo(t,t),t},r.prototype.modPowInt=function(e,t){var r;return r=e<256||t.isEven()?new d(t):new m(t),this.exp(e,r)},r.ZERO=p(0),r.ONE=p(1),k.prototype.convert=w,k.prototype.revert=w,k.prototype.mulTo=function(e,t,r){e.multiplyTo(t,r)},k.prototype.sqrTo=function(e,t){e.squareTo(t)},x.prototype.convert=function(e){if(e.s<0||e.t>2*this.m.t)return e.mod(this.m);if(e.compareTo(this.m)<0)return e;var t=a();return e.copyTo(t),this.reduce(t),t},x.prototype.revert=function(e){return e},x.prototype.reduce=function(e){for(e.drShiftTo(this.m.t-1,this.r2),e.t>this.m.t+1&&(e.t=this.m.t+1,e.clamp()),this.mu.multiplyUpperTo(this.r2,this.m.t+1,this.q3),this.m.multiplyLowerTo(this.q3,this.m.t+1,this.r2);e.compareTo(this.r2)<0;)e.dAddOffset(1,this.m.t+1);for(e.subTo(this.r2,e);e.compareTo(this.m)>=0;)e.subTo(this.m,e)},x.prototype.mulTo=function(e,t,r){e.multiplyTo(t,r),this.reduce(r)},x.prototype.sqrTo=function(e,t){e.squareTo(t),this.reduce(t)};var j,E,S,_=[2,3,5,7,11,13,17,19,23,29,31,37,41,43,47,53,59,61,67,71,73,79,83,89,97,101,103,107,109,113,127,131,137,139,149,151,157,163,167,173,179,181,191,193,197,199,211,223,227,229,233,239,241,251,257,263,269,271,277,281,283,293,307,311,313,317,331,337,347,349,353,359,367,373,379,383,389,397,401,409,419,421,431,433,439,443,449,457,461,463,467,479,487,491,499,503,509,521,523,541,547,557,563,569,571,577,587,593,599,601,607,613,617,619,631,641,643,647,653,659,661,673,677,683,691,701,709,719,727,733,739,743,751,757,761,769,773,787,797,809,811,821,823,827,829,839,853,857,859,863,877,881,883,887,907,911,919,929,937,941,947,953,967,971,977,983,991,997],P=(1<<26)/_[_.length-1];function C(){var e;e=(new Date).getTime(),E[S++]^=255&e,E[S++]^=e>>8&255,E[S++]^=e>>16&255,E[S++]^=e>>24&255,S>=D&&(S-=D)}if(r.prototype.chunkSize=function(e){return Math.floor(Math.LN2*this.DB/Math.log(e))},r.prototype.toRadix=function(e){if(null==e&&(e=10),0==this.signum()||e<2||e>36)return"0";var t=this.chunkSize(e),r=Math.pow(e,t),o=p(r),n=a(),i=a(),s="";for(this.divRemTo(o,n,i);n.signum()>0;)s=(r+i.intValue()).toString(e).substr(1)+s,n.divRemTo(o,n,i);return i.intValue().toString(e)+s},r.prototype.fromRadix=function(e,t){this.fromInt(0),null==t&&(t=10);for(var a=this.chunkSize(t),o=Math.pow(t,a),n=!1,i=0,s=0,c=0;c<e.length;++c){var p=u(e,c);p<0?"-"==e.charAt(c)&&0==this.signum()&&(n=!0):(s=t*s+p,++i>=a&&(this.dMultiply(o),this.dAddOffset(s,0),i=0,s=0))}i>0&&(this.dMultiply(Math.pow(t,i)),this.dAddOffset(s,0)),n&&r.ZERO.subTo(this,this)},r.prototype.fromNumber=function(e,t,a){if("number"==typeof t)if(e<2)this.fromInt(1);else for(this.fromNumber(e,a),this.testBit(e-1)||this.bitwiseTo(r.ONE.shiftLeft(e-1),f,this),this.isEven()&&this.dAddOffset(1,0);!this.isProbablePrime(t);)this.dAddOffset(2,0),this.bitLength()>e&&this.subTo(r.ONE.shiftLeft(e-1),this);else{var o=new Array,n=7&e;o.length=1+(e>>3),t.nextBytes(o),n>0?o[0]&=(1<<n)-1:o[0]=0,this.fromString(o,256)}},r.prototype.bitwiseTo=function(e,t,r){var a,o,n=Math.min(e.t,this.t);for(a=0;a<n;++a)r[a]=t(this[a],e[a]);if(e.t<this.t){for(o=e.s&this.DM,a=n;a<this.t;++a)r[a]=t(this[a],o);r.t=this.t}else{for(o=this.s&this.DM,a=n;a<e.t;++a)r[a]=t(o,e[a]);r.t=e.t}r.s=t(this.s,e.s),r.clamp()},r.prototype.changeBit=function(e,t){var a=r.ONE.shiftLeft(e);return this.bitwiseTo(a,t,a),a},r.prototype.addTo=function(e,t){for(var r=0,a=0,o=Math.min(e.t,this.t);r<o;)a+=this[r]+e[r],t[r++]=a&this.DM,a>>=this.DB;if(e.t<this.t){for(a+=e.s;r<this.t;)a+=this[r],t[r++]=a&this.DM,a>>=this.DB;a+=this.s}else{for(a+=this.s;r<e.t;)a+=e[r],t[r++]=a&this.DM,a>>=this.DB;a+=e.s}t.s=a<0?-1:0,a>0?t[r++]=a:a<-1&&(t[r++]=this.DV+a),t.t=r,t.clamp()},r.prototype.dMultiply=function(e){this[this.t]=this.am(0,e-1,this,0,0,this.t),++this.t,this.clamp()},r.prototype.dAddOffset=function(e,t){if(0!=e){for(;this.t<=t;)this[this.t++]=0;for(this[t]+=e;this[t]>=this.DV;)this[t]-=this.DV,++t>=this.t&&(this[this.t++]=0),++this[t]}},r.prototype.multiplyLowerTo=function(e,t,r){var a,o=Math.min(this.t+e.t,t);for(r.s=0,r.t=o;o>0;)r[--o]=0;for(a=r.t-this.t;o<a;++o)r[o+this.t]=this.am(0,e[o],r,o,0,this.t);for(a=Math.min(e.t,t);o<a;++o)this.am(0,e[o],r,o,0,t-o);r.clamp()},r.prototype.multiplyUpperTo=function(e,t,r){--t;var a=r.t=this.t+e.t-t;for(r.s=0;--a>=0;)r[a]=0;for(a=Math.max(t-this.t,0);a<e.t;++a)r[this.t+a-t]=this.am(t-a,e[a],r,0,0,this.t+a-t);r.clamp(),r.drShiftTo(1,r)},r.prototype.modInt=function(e){if(e<=0)return 0;var t=this.DV%e,r=this.s<0?e-1:0;if(this.t>0)if(0==t)r=this[0]%e;else for(var a=this.t-1;a>=0;--a)r=(t*r+this[a])%e;return r},r.prototype.millerRabin=function(e){var t=this.subtract(r.ONE),o=t.getLowestSetBit();if(o<=0)return!1;var n=t.shiftRight(o);(e=e+1>>1)>_.length&&(e=_.length);for(var i=a(),s=0;s<e;++s){i.fromInt(_[Math.floor(Math.random()*_.length)]);var c=i.modPow(n,this);if(0!=c.compareTo(r.ONE)&&0!=c.compareTo(t)){for(var u=1;u++<o&&0!=c.compareTo(t);)if(0==(c=c.modPowInt(2,this)).compareTo(r.ONE))return!1;if(0!=c.compareTo(t))return!1}}return!0},r.prototype.clone=function(){var e=a();return this.copyTo(e),e},r.prototype.intValue=function(){if(this.s<0){if(1==this.t)return this[0]-this.DV;if(0==this.t)return-1}else{if(1==this.t)return this[0];if(0==this.t)return 0}return(this[1]&(1<<32-this.DB)-1)<<this.DB|this[0]},r.prototype.byteValue=function(){return 0==this.t?this.s:this[0]<<24>>24},r.prototype.shortValue=function(){return 0==this.t?this.s:this[0]<<16>>16},r.prototype.signum=function(){return this.s<0?-1:this.t<=0||1==this.t&&this[0]<=0?0:1},r.prototype.toByteArray=function(){var e=this.t,t=new Array;t[0]=this.s;var r,a=this.DB-e*this.DB%8,o=0;if(e-- >0)for(a<this.DB&&(r=this[e]>>a)!=(this.s&this.DM)>>a&&(t[o++]=r|this.s<<this.DB-a);e>=0;)a<8?(r=(this[e]&(1<<a)-1)<<8-a,r|=this[--e]>>(a+=this.DB-8)):(r=this[e]>>(a-=8)&255,a<=0&&(a+=this.DB,--e)),0!=(128&r)&&(r|=-256),0==o&&(128&this.s)!=(128&r)&&++o,(o>0||r!=this.s)&&(t[o++]=r);return t},r.prototype.equals=function(e){return 0==this.compareTo(e)},r.prototype.min=function(e){return this.compareTo(e)<0?this:e},r.prototype.max=function(e){return this.compareTo(e)>0?this:e},r.prototype.and=function(e){var t=a();return this.bitwiseTo(e,h,t),t},r.prototype.or=function(e){var t=a();return this.bitwiseTo(e,f,t),t},r.prototype.xor=function(e){var t=a();return this.bitwiseTo(e,g,t),t},r.prototype.andNot=function(e){var t=a();return this.bitwiseTo(e,y,t),t},r.prototype.not=function(){for(var e=a(),t=0;t<this.t;++t)e[t]=this.DM&~this[t];return e.t=this.t,e.s=~this.s,e},r.prototype.shiftLeft=function(e){var t=a();return e<0?this.rShiftTo(-e,t):this.lShiftTo(e,t),t},r.prototype.shiftRight=function(e){var t=a();return e<0?this.lShiftTo(-e,t):this.rShiftTo(e,t),t},r.prototype.getLowestSetBit=function(){for(var e=0;e<this.t;++e)if(0!=this[e])return e*this.DB+v(this[e]);return this.s<0?this.t*this.DB:-1},r.prototype.bitCount=function(){for(var e=0,t=this.s&this.DM,r=0;r<this.t;++r)e+=b(this[r]^t);return e},r.prototype.testBit=function(e){var t=Math.floor(e/this.DB);return t>=this.t?0!=this.s:0!=(this[t]&1<<e%this.DB)},r.prototype.setBit=function(e){return this.changeBit(e,f)},r.prototype.clearBit=function(e){return this.changeBit(e,y)},r.prototype.flipBit=function(e){return this.changeBit(e,g)},r.prototype.add=function(e){var t=a();return this.addTo(e,t),t},r.prototype.subtract=function(e){var t=a();return this.subTo(e,t),t},r.prototype.multiply=function(e){var t=a();return this.multiplyTo(e,t),t},r.prototype.divide=function(e){var t=a();return this.divRemTo(e,t,null),t},r.prototype.remainder=function(e){var t=a();return this.divRemTo(e,null,t),t},r.prototype.divideAndRemainder=function(e){var t=a(),r=a();return this.divRemTo(e,t,r),new Array(t,r)},r.prototype.modPow=function(e,t){var r,o,n=e.bitLength(),i=p(1);if(n<=0)return i;r=n<18?1:n<48?3:n<144?4:n<768?5:6,o=n<8?new d(t):t.isEven()?new x(t):new m(t);var s=new Array,c=3,u=r-1,h=(1<<r)-1;if(s[1]=o.convert(this),r>1){var f=a();for(o.sqrTo(s[1],f);c<=h;)s[c]=a(),o.mulTo(f,s[c-2],s[c]),c+=2}var g,y,v=e.t-1,b=!0,k=a();for(n=l(e[v])-1;v>=0;){for(n>=u?g=e[v]>>n-u&h:(g=(e[v]&(1<<n+1)-1)<<u-n,v>0&&(g|=e[v-1]>>this.DB+n-u)),c=r;0==(1&g);)g>>=1,--c;if((n-=c)<0&&(n+=this.DB,--v),b)s[g].copyTo(i),b=!1;else{for(;c>1;)o.sqrTo(i,k),o.sqrTo(k,i),c-=2;c>0?o.sqrTo(i,k):(y=i,i=k,k=y),o.mulTo(k,s[g],i)}for(;v>=0&&0==(e[v]&1<<n);)o.sqrTo(i,k),y=i,i=k,k=y,--n<0&&(n=this.DB-1,--v)}return o.revert(i)},r.prototype.modInverse=function(e){var t=e.isEven();if(this.isEven()&&t||0==e.signum())return r.ZERO;for(var a=e.clone(),o=this.clone(),n=p(1),i=p(0),s=p(0),c=p(1);0!=a.signum();){for(;a.isEven();)a.rShiftTo(1,a),t?(n.isEven()&&i.isEven()||(n.addTo(this,n),i.subTo(e,i)),n.rShiftTo(1,n)):i.isEven()||i.subTo(e,i),i.rShiftTo(1,i);for(;o.isEven();)o.rShiftTo(1,o),t?(s.isEven()&&c.isEven()||(s.addTo(this,s),c.subTo(e,c)),s.rShiftTo(1,s)):c.isEven()||c.subTo(e,c),c.rShiftTo(1,c);a.compareTo(o)>=0?(a.subTo(o,a),t&&n.subTo(s,n),i.subTo(c,i)):(o.subTo(a,o),t&&s.subTo(n,s),c.subTo(i,c))}return 0!=o.compareTo(r.ONE)?r.ZERO:c.compareTo(e)>=0?c.subtract(e):c.signum()<0?(c.addTo(e,c),c.signum()<0?c.add(e):c):c},r.prototype.pow=function(e){return this.exp(e,new k)},r.prototype.gcd=function(e){var t=this.s<0?this.negate():this.clone(),r=e.s<0?e.negate():e.clone();if(t.compareTo(r)<0){var a=t;t=r,r=a}var o=t.getLowestSetBit(),n=r.getLowestSetBit();if(n<0)return t;for(o<n&&(n=o),n>0&&(t.rShiftTo(n,t),r.rShiftTo(n,r));t.signum()>0;)(o=t.getLowestSetBit())>0&&t.rShiftTo(o,t),(o=r.getLowestSetBit())>0&&r.rShiftTo(o,r),t.compareTo(r)>=0?(t.subTo(r,t),t.rShiftTo(1,t)):(r.subTo(t,r),r.rShiftTo(1,r));return n>0&&r.lShiftTo(n,r),r},r.prototype.isProbablePrime=function(e){var t,r=this.abs();if(1==r.t&&r[0]<=_[_.length-1]){for(t=0;t<_.length;++t)if(r[0]==_[t])return!0;return!1}if(r.isEven())return!1;for(t=1;t<_.length;){for(var a=_[t],o=t+1;o<_.length&&a<P;)a*=_[o++];for(a=r.modInt(a);t<o;)if(a%_[t++]==0)return!1}return r.millerRabin(e)},r.prototype.square=function(){var e=a();return this.squareTo(e),e},r.prototype.Barrett=x,null==E){var T;if(E=new Array,S=0,"undefined"!=typeof window&&window.crypto)if(window.crypto.getRandomValues){var O=new Uint8Array(32);for(window.crypto.getRandomValues(O),T=0;T<32;++T)E[S++]=O[T]}else if("Netscape"==navigator.appName&&navigator.appVersion<"5"){var A=window.crypto.random(32);for(T=0;T<A.length;++T)E[S++]=255&A.charCodeAt(T)}for(;S<D;)T=Math.floor(65536*Math.random()),E[S++]=T>>>8,E[S++]=255&T;S=0,C()}function I(){if(null==j){for(C(),(j=new R).init(E),S=0;S<E.length;++S)E[S]=0;S=0}return j.next()}function F(){}function R(){this.i=0,this.j=0,this.S=new Array}F.prototype.nextBytes=function(e){var t;for(t=0;t<e.length;++t)e[t]=I()},R.prototype.init=function(e){var t,r,a;for(t=0;t<256;++t)this.S[t]=t;for(r=0,t=0;t<256;++t)r=r+this.S[t]+e[t%e.length]&255,a=this.S[t],this.S[t]=this.S[r],this.S[r]=a;this.i=0,this.j=0},R.prototype.next=function(){var e;return this.i=this.i+1&255,this.j=this.j+this.S[this.i]&255,e=this.S[this.i],this.S[this.i]=this.S[this.j],this.S[this.j]=e,this.S[e+this.S[this.i]&255]};var D=256;r.SecureRandom=F,r.BigInteger=r,e.exports=r}).call(L)}(bl)),bl.exports}function wl(){if(vl)return yl;vl=1;var e=kl().BigInteger,t=e.prototype.Barrett;function r(e,t){this.x=t,this.q=e}function a(t,r,a,o){this.curve=t,this.x=r,this.y=a,this.z=null==o?e.ONE:o,this.zinv=null}function o(e,r,o){this.q=e,this.a=this.fromBigInteger(r),this.b=this.fromBigInteger(o),this.infinity=new a(this,null,null),this.reducer=new t(this.q)}return r.prototype.equals=function(e){return e==this||this.q.equals(e.q)&&this.x.equals(e.x)},r.prototype.toBigInteger=function(){return this.x},r.prototype.negate=function(){return new r(this.q,this.x.negate().mod(this.q))},r.prototype.add=function(e){return new r(this.q,this.x.add(e.toBigInteger()).mod(this.q))},r.prototype.subtract=function(e){return new r(this.q,this.x.subtract(e.toBigInteger()).mod(this.q))},r.prototype.multiply=function(e){return new r(this.q,this.x.multiply(e.toBigInteger()).mod(this.q))},r.prototype.square=function(){return new r(this.q,this.x.square().mod(this.q))},r.prototype.divide=function(e){return new r(this.q,this.x.multiply(e.toBigInteger().modInverse(this.q)).mod(this.q))},a.prototype.getX=function(){null==this.zinv&&(this.zinv=this.z.modInverse(this.curve.q));var e=this.x.toBigInteger().multiply(this.zinv);return this.curve.reduce(e),this.curve.fromBigInteger(e)},a.prototype.getY=function(){null==this.zinv&&(this.zinv=this.z.modInverse(this.curve.q));var e=this.y.toBigInteger().multiply(this.zinv);return this.curve.reduce(e),this.curve.fromBigInteger(e)},a.prototype.equals=function(t){return t==this||(this.isInfinity()?t.isInfinity():t.isInfinity()?this.isInfinity():!!t.y.toBigInteger().multiply(this.z).subtract(this.y.toBigInteger().multiply(t.z)).mod(this.curve.q).equals(e.ZERO)&&t.x.toBigInteger().multiply(this.z).subtract(this.x.toBigInteger().multiply(t.z)).mod(this.curve.q).equals(e.ZERO))},a.prototype.isInfinity=function(){return null==this.x&&null==this.y||this.z.equals(e.ZERO)&&!this.y.toBigInteger().equals(e.ZERO)},a.prototype.negate=function(){return new a(this.curve,this.x,this.y.negate(),this.z)},a.prototype.add=function(t){if(this.isInfinity())return t;if(t.isInfinity())return this;var r=t.y.toBigInteger().multiply(this.z).subtract(this.y.toBigInteger().multiply(t.z)).mod(this.curve.q),o=t.x.toBigInteger().multiply(this.z).subtract(this.x.toBigInteger().multiply(t.z)).mod(this.curve.q);if(e.ZERO.equals(o))return e.ZERO.equals(r)?this.twice():this.curve.getInfinity();var n=new e("3"),i=this.x.toBigInteger(),s=this.y.toBigInteger();t.x.toBigInteger(),t.y.toBigInteger();var c=o.square(),u=c.multiply(o),p=i.multiply(c),l=r.square().multiply(this.z),d=l.subtract(p.shiftLeft(1)).multiply(t.z).subtract(u).multiply(o).mod(this.curve.q),m=p.multiply(n).multiply(r).subtract(s.multiply(u)).subtract(l.multiply(r)).multiply(t.z).add(r.multiply(u)).mod(this.curve.q),h=u.multiply(this.z).multiply(t.z).mod(this.curve.q);return new a(this.curve,this.curve.fromBigInteger(d),this.curve.fromBigInteger(m),h)},a.prototype.twice=function(){if(this.isInfinity())return this;if(0==this.y.toBigInteger().signum())return this.curve.getInfinity();var t=new e("3"),r=this.x.toBigInteger(),o=this.y.toBigInteger(),n=o.multiply(this.z),i=n.multiply(o).mod(this.curve.q),s=this.curve.a.toBigInteger(),c=r.square().multiply(t);e.ZERO.equals(s)||(c=c.add(this.z.square().multiply(s)));var u=(c=c.mod(this.curve.q)).square().subtract(r.shiftLeft(3).multiply(i)).shiftLeft(1).multiply(n).mod(this.curve.q),p=c.multiply(t).multiply(r).subtract(i.shiftLeft(1)).shiftLeft(2).multiply(i).subtract(c.square().multiply(c)).mod(this.curve.q),l=n.square().multiply(n).shiftLeft(3).mod(this.curve.q);return new a(this.curve,this.curve.fromBigInteger(u),this.curve.fromBigInteger(p),l)},a.prototype.multiply=function(t){if(this.isInfinity())return this;if(0==t.signum())return this.curve.getInfinity();var r,a=t,o=a.multiply(new e("3")),n=this.negate(),i=this;for(r=o.bitLength()-2;r>0;--r){i=i.twice();var s=o.testBit(r);s!=a.testBit(r)&&(i=i.add(s?this:n))}return i},a.prototype.multiplyTwo=function(e,t,r){var a;a=e.bitLength()>r.bitLength()?e.bitLength()-1:r.bitLength()-1;for(var o=this.curve.getInfinity(),n=this.add(t);a>=0;)o=o.twice(),e.testBit(a)?o=r.testBit(a)?o.add(n):o.add(this):r.testBit(a)&&(o=o.add(t)),--a;return o},o.prototype.getQ=function(){return this.q},o.prototype.getA=function(){return this.a},o.prototype.getB=function(){return this.b},o.prototype.equals=function(e){return e==this||this.q.equals(e.q)&&this.a.equals(e.a)&&this.b.equals(e.b)},o.prototype.getInfinity=function(){return this.infinity},o.prototype.fromBigInteger=function(e){return new r(this.q,e)},o.prototype.reduce=function(e){this.reducer.reduce(e)},o.prototype.encodePointHex=function(e){if(e.isInfinity())return"00";var t=e.getX().toBigInteger().toString(16),r=e.getY().toBigInteger().toString(16),a=this.getQ().toString(16).length;for(a%2!=0&&a++;t.length<a;)t="0"+t;for(;r.length<a;)r="0"+r;return"04"+t+r},o.prototype.decodePointHex=function(t){var r;switch(parseInt(t.substr(0,2),16)){case 0:return this.infinity;case 2:r=!1;case 3:null==r&&(r=!0);var o=t.length-2,n=t.substr(2,o),i=this.fromBigInteger(new e(n,16)),s=i.multiply(i.square().add(this.getA())).add(this.getB()).sqrt();if(null==s)throw"Invalid point compression";var c=s.toBigInteger();return c.testBit(0)!=r&&(s=this.fromBigInteger(this.getQ().subtract(c))),new a(this,i,s);case 4:case 6:case 7:o=(t.length-2)/2,n=t.substr(2,o);var u=t.substr(o+2,o);return new a(this,this.fromBigInteger(new e(n,16)),this.fromBigInteger(new e(u,16)));default:return null}},o.prototype.encodeCompressedPointHex=function(e){if(e.isInfinity())return"00";var t=e.getX().toBigInteger().toString(16),r=this.getQ().toString(16).length;for(r%2!=0&&r++;t.length<r;)t="0"+t;return(e.getY().toBigInteger().isEven()?"02":"03")+t},r.prototype.getR=function(){if(null!=this.r)return this.r;this.r=null;var t=this.q.bitLength();t>128&&(-1==this.q.shiftRight(t-64).intValue()&&(this.r=e.ONE.shiftLeft(t).subtract(this.q)));return this.r},r.prototype.modMult=function(e,t){return this.modReduce(e.multiply(t))},r.prototype.modReduce=function(t){if(null!=this.getR()){for(var r=q.bitLength();t.bitLength()>r+1;){var a=t.shiftRight(r),o=t.subtract(a.shiftLeft(r));this.getR().equals(e.ONE)||(a=a.multiply(this.getR())),t=a.add(o)}for(;t.compareTo(q)>=0;)t=t.subtract(q)}else t=t.mod(q);return t},r.prototype.sqrt=function(){if(!this.q.testBit(0))throw"unsupported";if(this.q.testBit(1)){var t=new r(this.q,this.x.modPow(this.q.shiftRight(2).add(e.ONE),this.q));return t.square().equals(this)?t:null}var a=this.q.subtract(e.ONE),o=a.shiftRight(1);if(!this.x.modPow(o,this.q).equals(e.ONE))return null;var n,i,s=a.shiftRight(2).shiftLeft(1).add(e.ONE),c=this.x,u=modDouble(modDouble(c));do{var p;do{p=new e(this.q.bitLength(),new SecureRandom)}while(p.compareTo(this.q)>=0||!p.multiply(p).subtract(u).modPow(o,this.q).equals(a));var l=this.lucasSequence(p,c,s);if(n=l[0],i=l[1],this.modMult(i,i).equals(u))return i.testBit(0)&&(i=i.add(q)),i=i.shiftRight(1),new r(q,i)}while(n.equals(e.ONE)||n.equals(a));return null},r.prototype.lucasSequence=function(t,r,a){for(var o=a.bitLength(),n=a.getLowestSetBit(),i=e.ONE,s=e.TWO,c=t,u=e.ONE,p=e.ONE,l=o-1;l>=n+1;--l)u=this.modMult(u,p),a.testBit(l)?(p=this.modMult(u,r),i=this.modMult(i,c),s=this.modReduce(c.multiply(s).subtract(t.multiply(u))),c=this.modReduce(c.multiply(c).subtract(p.shiftLeft(1)))):(p=u,i=this.modReduce(i.multiply(s).subtract(u)),c=this.modReduce(c.multiply(s).subtract(t.multiply(u))),s=this.modReduce(s.multiply(s).subtract(u.shiftLeft(1))));u=this.modMult(u,p),p=this.modMult(u,r),i=this.modReduce(i.multiply(s).subtract(u)),s=this.modReduce(c.multiply(s).subtract(t.multiply(u))),u=this.modMult(u,p);for(l=1;l<=n;++l)i=this.modMult(i,s),s=this.modReduce(s.multiply(s).subtract(u.shiftLeft(1))),u=this.modMult(u,u);return[i,s]},yl={ECCurveFp:o,ECPointFp:a,ECFieldElementFp:r}}var xl,jl,El,Sl,_l,Pl,Cl,Tl={exports:{}};function Ol(){return xl||(xl=1,function(e){var t=function(e){var t,r=new Float64Array(16);if(e)for(t=0;t<e.length;t++)r[t]=e[t];return r},r=function(){throw new Error("no PRNG")},a=new Uint8Array(16),o=new Uint8Array(32);o[0]=9;var n=t(),i=t([1]),s=t([56129,1]),c=t([30883,4953,19914,30187,55467,16705,2637,112,59544,30585,16505,36039,65139,11119,27886,20995]),u=t([61785,9906,39828,60374,45398,33411,5274,224,53552,61171,33010,6542,64743,22239,55772,9222]),p=t([54554,36645,11616,51542,42930,38181,51040,26924,56412,64982,57905,49316,21502,52590,14035,8553]),l=t([26200,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214]),d=t([41136,18958,6951,50414,58488,44335,6150,12099,55207,15867,153,11085,57099,20417,9344,11139]);function m(e,t,r,a){e[t]=r>>24&255,e[t+1]=r>>16&255,e[t+2]=r>>8&255,e[t+3]=255&r,e[t+4]=a>>24&255,e[t+5]=a>>16&255,e[t+6]=a>>8&255,e[t+7]=255&a}function h(e,t,r,a,o){var n,i=0;for(n=0;n<o;n++)i|=e[t+n]^r[a+n];return(1&i-1>>>8)-1}function f(e,t,r,a){return h(e,t,r,a,16)}function g(e,t,r,a){return h(e,t,r,a,32)}function y(e,t,r,a){!function(e,t,r,a){for(var o,n=255&a[0]|(255&a[1])<<8|(255&a[2])<<16|(255&a[3])<<24,i=255&r[0]|(255&r[1])<<8|(255&r[2])<<16|(255&r[3])<<24,s=255&r[4]|(255&r[5])<<8|(255&r[6])<<16|(255&r[7])<<24,c=255&r[8]|(255&r[9])<<8|(255&r[10])<<16|(255&r[11])<<24,u=255&r[12]|(255&r[13])<<8|(255&r[14])<<16|(255&r[15])<<24,p=255&a[4]|(255&a[5])<<8|(255&a[6])<<16|(255&a[7])<<24,l=255&t[0]|(255&t[1])<<8|(255&t[2])<<16|(255&t[3])<<24,d=255&t[4]|(255&t[5])<<8|(255&t[6])<<16|(255&t[7])<<24,m=255&t[8]|(255&t[9])<<8|(255&t[10])<<16|(255&t[11])<<24,h=255&t[12]|(255&t[13])<<8|(255&t[14])<<16|(255&t[15])<<24,f=255&a[8]|(255&a[9])<<8|(255&a[10])<<16|(255&a[11])<<24,g=255&r[16]|(255&r[17])<<8|(255&r[18])<<16|(255&r[19])<<24,y=255&r[20]|(255&r[21])<<8|(255&r[22])<<16|(255&r[23])<<24,v=255&r[24]|(255&r[25])<<8|(255&r[26])<<16|(255&r[27])<<24,b=255&r[28]|(255&r[29])<<8|(255&r[30])<<16|(255&r[31])<<24,k=255&a[12]|(255&a[13])<<8|(255&a[14])<<16|(255&a[15])<<24,w=n,x=i,j=s,E=c,S=u,_=p,P=l,C=d,T=m,O=h,A=f,I=g,F=y,R=v,D=b,N=k,z=0;z<20;z+=2)w^=(o=(F^=(o=(T^=(o=(S^=(o=w+F|0)<<7|o>>>25)+w|0)<<9|o>>>23)+S|0)<<13|o>>>19)+T|0)<<18|o>>>14,_^=(o=(x^=(o=(R^=(o=(O^=(o=_+x|0)<<7|o>>>25)+_|0)<<9|o>>>23)+O|0)<<13|o>>>19)+R|0)<<18|o>>>14,A^=(o=(P^=(o=(j^=(o=(D^=(o=A+P|0)<<7|o>>>25)+A|0)<<9|o>>>23)+D|0)<<13|o>>>19)+j|0)<<18|o>>>14,N^=(o=(I^=(o=(C^=(o=(E^=(o=N+I|0)<<7|o>>>25)+N|0)<<9|o>>>23)+E|0)<<13|o>>>19)+C|0)<<18|o>>>14,w^=(o=(E^=(o=(j^=(o=(x^=(o=w+E|0)<<7|o>>>25)+w|0)<<9|o>>>23)+x|0)<<13|o>>>19)+j|0)<<18|o>>>14,_^=(o=(S^=(o=(C^=(o=(P^=(o=_+S|0)<<7|o>>>25)+_|0)<<9|o>>>23)+P|0)<<13|o>>>19)+C|0)<<18|o>>>14,A^=(o=(O^=(o=(T^=(o=(I^=(o=A+O|0)<<7|o>>>25)+A|0)<<9|o>>>23)+I|0)<<13|o>>>19)+T|0)<<18|o>>>14,N^=(o=(D^=(o=(R^=(o=(F^=(o=N+D|0)<<7|o>>>25)+N|0)<<9|o>>>23)+F|0)<<13|o>>>19)+R|0)<<18|o>>>14;w=w+n|0,x=x+i|0,j=j+s|0,E=E+c|0,S=S+u|0,_=_+p|0,P=P+l|0,C=C+d|0,T=T+m|0,O=O+h|0,A=A+f|0,I=I+g|0,F=F+y|0,R=R+v|0,D=D+b|0,N=N+k|0,e[0]=w>>>0&255,e[1]=w>>>8&255,e[2]=w>>>16&255,e[3]=w>>>24&255,e[4]=x>>>0&255,e[5]=x>>>8&255,e[6]=x>>>16&255,e[7]=x>>>24&255,e[8]=j>>>0&255,e[9]=j>>>8&255,e[10]=j>>>16&255,e[11]=j>>>24&255,e[12]=E>>>0&255,e[13]=E>>>8&255,e[14]=E>>>16&255,e[15]=E>>>24&255,e[16]=S>>>0&255,e[17]=S>>>8&255,e[18]=S>>>16&255,e[19]=S>>>24&255,e[20]=_>>>0&255,e[21]=_>>>8&255,e[22]=_>>>16&255,e[23]=_>>>24&255,e[24]=P>>>0&255,e[25]=P>>>8&255,e[26]=P>>>16&255,e[27]=P>>>24&255,e[28]=C>>>0&255,e[29]=C>>>8&255,e[30]=C>>>16&255,e[31]=C>>>24&255,e[32]=T>>>0&255,e[33]=T>>>8&255,e[34]=T>>>16&255,e[35]=T>>>24&255,e[36]=O>>>0&255,e[37]=O>>>8&255,e[38]=O>>>16&255,e[39]=O>>>24&255,e[40]=A>>>0&255,e[41]=A>>>8&255,e[42]=A>>>16&255,e[43]=A>>>24&255,e[44]=I>>>0&255,e[45]=I>>>8&255,e[46]=I>>>16&255,e[47]=I>>>24&255,e[48]=F>>>0&255,e[49]=F>>>8&255,e[50]=F>>>16&255,e[51]=F>>>24&255,e[52]=R>>>0&255,e[53]=R>>>8&255,e[54]=R>>>16&255,e[55]=R>>>24&255,e[56]=D>>>0&255,e[57]=D>>>8&255,e[58]=D>>>16&255,e[59]=D>>>24&255,e[60]=N>>>0&255,e[61]=N>>>8&255,e[62]=N>>>16&255,e[63]=N>>>24&255}(e,t,r,a)}function v(e,t,r,a){!function(e,t,r,a){for(var o,n=255&a[0]|(255&a[1])<<8|(255&a[2])<<16|(255&a[3])<<24,i=255&r[0]|(255&r[1])<<8|(255&r[2])<<16|(255&r[3])<<24,s=255&r[4]|(255&r[5])<<8|(255&r[6])<<16|(255&r[7])<<24,c=255&r[8]|(255&r[9])<<8|(255&r[10])<<16|(255&r[11])<<24,u=255&r[12]|(255&r[13])<<8|(255&r[14])<<16|(255&r[15])<<24,p=255&a[4]|(255&a[5])<<8|(255&a[6])<<16|(255&a[7])<<24,l=255&t[0]|(255&t[1])<<8|(255&t[2])<<16|(255&t[3])<<24,d=255&t[4]|(255&t[5])<<8|(255&t[6])<<16|(255&t[7])<<24,m=255&t[8]|(255&t[9])<<8|(255&t[10])<<16|(255&t[11])<<24,h=255&t[12]|(255&t[13])<<8|(255&t[14])<<16|(255&t[15])<<24,f=255&a[8]|(255&a[9])<<8|(255&a[10])<<16|(255&a[11])<<24,g=255&r[16]|(255&r[17])<<8|(255&r[18])<<16|(255&r[19])<<24,y=255&r[20]|(255&r[21])<<8|(255&r[22])<<16|(255&r[23])<<24,v=255&r[24]|(255&r[25])<<8|(255&r[26])<<16|(255&r[27])<<24,b=255&r[28]|(255&r[29])<<8|(255&r[30])<<16|(255&r[31])<<24,k=255&a[12]|(255&a[13])<<8|(255&a[14])<<16|(255&a[15])<<24,w=0;w<20;w+=2)n^=(o=(y^=(o=(m^=(o=(u^=(o=n+y|0)<<7|o>>>25)+n|0)<<9|o>>>23)+u|0)<<13|o>>>19)+m|0)<<18|o>>>14,p^=(o=(i^=(o=(v^=(o=(h^=(o=p+i|0)<<7|o>>>25)+p|0)<<9|o>>>23)+h|0)<<13|o>>>19)+v|0)<<18|o>>>14,f^=(o=(l^=(o=(s^=(o=(b^=(o=f+l|0)<<7|o>>>25)+f|0)<<9|o>>>23)+b|0)<<13|o>>>19)+s|0)<<18|o>>>14,k^=(o=(g^=(o=(d^=(o=(c^=(o=k+g|0)<<7|o>>>25)+k|0)<<9|o>>>23)+c|0)<<13|o>>>19)+d|0)<<18|o>>>14,n^=(o=(c^=(o=(s^=(o=(i^=(o=n+c|0)<<7|o>>>25)+n|0)<<9|o>>>23)+i|0)<<13|o>>>19)+s|0)<<18|o>>>14,p^=(o=(u^=(o=(d^=(o=(l^=(o=p+u|0)<<7|o>>>25)+p|0)<<9|o>>>23)+l|0)<<13|o>>>19)+d|0)<<18|o>>>14,f^=(o=(h^=(o=(m^=(o=(g^=(o=f+h|0)<<7|o>>>25)+f|0)<<9|o>>>23)+g|0)<<13|o>>>19)+m|0)<<18|o>>>14,k^=(o=(b^=(o=(v^=(o=(y^=(o=k+b|0)<<7|o>>>25)+k|0)<<9|o>>>23)+y|0)<<13|o>>>19)+v|0)<<18|o>>>14;e[0]=n>>>0&255,e[1]=n>>>8&255,e[2]=n>>>16&255,e[3]=n>>>24&255,e[4]=p>>>0&255,e[5]=p>>>8&255,e[6]=p>>>16&255,e[7]=p>>>24&255,e[8]=f>>>0&255,e[9]=f>>>8&255,e[10]=f>>>16&255,e[11]=f>>>24&255,e[12]=k>>>0&255,e[13]=k>>>8&255,e[14]=k>>>16&255,e[15]=k>>>24&255,e[16]=l>>>0&255,e[17]=l>>>8&255,e[18]=l>>>16&255,e[19]=l>>>24&255,e[20]=d>>>0&255,e[21]=d>>>8&255,e[22]=d>>>16&255,e[23]=d>>>24&255,e[24]=m>>>0&255,e[25]=m>>>8&255,e[26]=m>>>16&255,e[27]=m>>>24&255,e[28]=h>>>0&255,e[29]=h>>>8&255,e[30]=h>>>16&255,e[31]=h>>>24&255}(e,t,r,a)}var b=new Uint8Array([101,120,112,97,110,100,32,51,50,45,98,121,116,101,32,107]);function k(e,t,r,a,o,n,i){var s,c,u=new Uint8Array(16),p=new Uint8Array(64);for(c=0;c<16;c++)u[c]=0;for(c=0;c<8;c++)u[c]=n[c];for(;o>=64;){for(y(p,u,i,b),c=0;c<64;c++)e[t+c]=r[a+c]^p[c];for(s=1,c=8;c<16;c++)s=s+(255&u[c])|0,u[c]=255&s,s>>>=8;o-=64,t+=64,a+=64}if(o>0)for(y(p,u,i,b),c=0;c<o;c++)e[t+c]=r[a+c]^p[c];return 0}function w(e,t,r,a,o){var n,i,s=new Uint8Array(16),c=new Uint8Array(64);for(i=0;i<16;i++)s[i]=0;for(i=0;i<8;i++)s[i]=a[i];for(;r>=64;){for(y(c,s,o,b),i=0;i<64;i++)e[t+i]=c[i];for(n=1,i=8;i<16;i++)n=n+(255&s[i])|0,s[i]=255&n,n>>>=8;r-=64,t+=64}if(r>0)for(y(c,s,o,b),i=0;i<r;i++)e[t+i]=c[i];return 0}function j(e,t,r,a,o){var n=new Uint8Array(32);v(n,a,o,b);for(var i=new Uint8Array(8),s=0;s<8;s++)i[s]=a[s+16];return w(e,t,r,i,n)}function E(e,t,r,a,o,n,i){var s=new Uint8Array(32);v(s,n,i,b);for(var c=new Uint8Array(8),u=0;u<8;u++)c[u]=n[u+16];return k(e,t,r,a,o,c,s)}var S=function(e){var t,r,a,o,n,i,s,c;this.buffer=new Uint8Array(16),this.r=new Uint16Array(10),this.h=new Uint16Array(10),this.pad=new Uint16Array(8),this.leftover=0,this.fin=0,t=255&e[0]|(255&e[1])<<8,this.r[0]=8191&t,r=255&e[2]|(255&e[3])<<8,this.r[1]=8191&(t>>>13|r<<3),a=255&e[4]|(255&e[5])<<8,this.r[2]=7939&(r>>>10|a<<6),o=255&e[6]|(255&e[7])<<8,this.r[3]=8191&(a>>>7|o<<9),n=255&e[8]|(255&e[9])<<8,this.r[4]=255&(o>>>4|n<<12),this.r[5]=n>>>1&8190,i=255&e[10]|(255&e[11])<<8,this.r[6]=8191&(n>>>14|i<<2),s=255&e[12]|(255&e[13])<<8,this.r[7]=8065&(i>>>11|s<<5),c=255&e[14]|(255&e[15])<<8,this.r[8]=8191&(s>>>8|c<<8),this.r[9]=c>>>5&127,this.pad[0]=255&e[16]|(255&e[17])<<8,this.pad[1]=255&e[18]|(255&e[19])<<8,this.pad[2]=255&e[20]|(255&e[21])<<8,this.pad[3]=255&e[22]|(255&e[23])<<8,this.pad[4]=255&e[24]|(255&e[25])<<8,this.pad[5]=255&e[26]|(255&e[27])<<8,this.pad[6]=255&e[28]|(255&e[29])<<8,this.pad[7]=255&e[30]|(255&e[31])<<8};function _(e,t,r,a,o,n){var i=new S(n);return i.update(r,a,o),i.finish(e,t),0}function P(e,t,r,a,o,n){var i=new Uint8Array(16);return _(i,0,r,a,o,n),f(e,t,i,0)}function C(e,t,r,a,o){var n;if(r<32)return-1;for(E(e,0,t,0,r,a,o),_(e,16,e,32,r-32,e),n=0;n<16;n++)e[n]=0;return 0}function T(e,t,r,a,o){var n,i=new Uint8Array(32);if(r<32)return-1;if(j(i,0,32,a,o),0!==P(t,16,t,32,r-32,i))return-1;for(E(e,0,t,0,r,a,o),n=0;n<32;n++)e[n]=0;return 0}function O(e,t){var r;for(r=0;r<16;r++)e[r]=0|t[r]}function A(e){var t,r,a=1;for(t=0;t<16;t++)r=e[t]+a+65535,a=Math.floor(r/65536),e[t]=r-65536*a;e[0]+=a-1+37*(a-1)}function I(e,t,r){for(var a,o=~(r-1),n=0;n<16;n++)a=o&(e[n]^t[n]),e[n]^=a,t[n]^=a}function F(e,r){var a,o,n,i=t(),s=t();for(a=0;a<16;a++)s[a]=r[a];for(A(s),A(s),A(s),o=0;o<2;o++){for(i[0]=s[0]-65517,a=1;a<15;a++)i[a]=s[a]-65535-(i[a-1]>>16&1),i[a-1]&=65535;i[15]=s[15]-32767-(i[14]>>16&1),n=i[15]>>16&1,i[14]&=65535,I(s,i,1-n)}for(a=0;a<16;a++)e[2*a]=255&s[a],e[2*a+1]=s[a]>>8}function R(e,t){var r=new Uint8Array(32),a=new Uint8Array(32);return F(r,e),F(a,t),g(r,0,a,0)}function D(e){var t=new Uint8Array(32);return F(t,e),1&t[0]}function N(e,t){var r;for(r=0;r<16;r++)e[r]=t[2*r]+(t[2*r+1]<<8);e[15]&=32767}function z(e,t,r){for(var a=0;a<16;a++)e[a]=t[a]+r[a]}function B(e,t,r){for(var a=0;a<16;a++)e[a]=t[a]-r[a]}function $(e,t,r){var a,o,n=0,i=0,s=0,c=0,u=0,p=0,l=0,d=0,m=0,h=0,f=0,g=0,y=0,v=0,b=0,k=0,w=0,x=0,j=0,E=0,S=0,_=0,P=0,C=0,T=0,O=0,A=0,I=0,F=0,R=0,D=0,N=r[0],z=r[1],B=r[2],$=r[3],L=r[4],q=r[5],U=r[6],M=r[7],H=r[8],K=r[9],V=r[10],G=r[11],Q=r[12],X=r[13],W=r[14],Y=r[15];n+=(a=t[0])*N,i+=a*z,s+=a*B,c+=a*$,u+=a*L,p+=a*q,l+=a*U,d+=a*M,m+=a*H,h+=a*K,f+=a*V,g+=a*G,y+=a*Q,v+=a*X,b+=a*W,k+=a*Y,i+=(a=t[1])*N,s+=a*z,c+=a*B,u+=a*$,p+=a*L,l+=a*q,d+=a*U,m+=a*M,h+=a*H,f+=a*K,g+=a*V,y+=a*G,v+=a*Q,b+=a*X,k+=a*W,w+=a*Y,s+=(a=t[2])*N,c+=a*z,u+=a*B,p+=a*$,l+=a*L,d+=a*q,m+=a*U,h+=a*M,f+=a*H,g+=a*K,y+=a*V,v+=a*G,b+=a*Q,k+=a*X,w+=a*W,x+=a*Y,c+=(a=t[3])*N,u+=a*z,p+=a*B,l+=a*$,d+=a*L,m+=a*q,h+=a*U,f+=a*M,g+=a*H,y+=a*K,v+=a*V,b+=a*G,k+=a*Q,w+=a*X,x+=a*W,j+=a*Y,u+=(a=t[4])*N,p+=a*z,l+=a*B,d+=a*$,m+=a*L,h+=a*q,f+=a*U,g+=a*M,y+=a*H,v+=a*K,b+=a*V,k+=a*G,w+=a*Q,x+=a*X,j+=a*W,E+=a*Y,p+=(a=t[5])*N,l+=a*z,d+=a*B,m+=a*$,h+=a*L,f+=a*q,g+=a*U,y+=a*M,v+=a*H,b+=a*K,k+=a*V,w+=a*G,x+=a*Q,j+=a*X,E+=a*W,S+=a*Y,l+=(a=t[6])*N,d+=a*z,m+=a*B,h+=a*$,f+=a*L,g+=a*q,y+=a*U,v+=a*M,b+=a*H,k+=a*K,w+=a*V,x+=a*G,j+=a*Q,E+=a*X,S+=a*W,_+=a*Y,d+=(a=t[7])*N,m+=a*z,h+=a*B,f+=a*$,g+=a*L,y+=a*q,v+=a*U,b+=a*M,k+=a*H,w+=a*K,x+=a*V,j+=a*G,E+=a*Q,S+=a*X,_+=a*W,P+=a*Y,m+=(a=t[8])*N,h+=a*z,f+=a*B,g+=a*$,y+=a*L,v+=a*q,b+=a*U,k+=a*M,w+=a*H,x+=a*K,j+=a*V,E+=a*G,S+=a*Q,_+=a*X,P+=a*W,C+=a*Y,h+=(a=t[9])*N,f+=a*z,g+=a*B,y+=a*$,v+=a*L,b+=a*q,k+=a*U,w+=a*M,x+=a*H,j+=a*K,E+=a*V,S+=a*G,_+=a*Q,P+=a*X,C+=a*W,T+=a*Y,f+=(a=t[10])*N,g+=a*z,y+=a*B,v+=a*$,b+=a*L,k+=a*q,w+=a*U,x+=a*M,j+=a*H,E+=a*K,S+=a*V,_+=a*G,P+=a*Q,C+=a*X,T+=a*W,O+=a*Y,g+=(a=t[11])*N,y+=a*z,v+=a*B,b+=a*$,k+=a*L,w+=a*q,x+=a*U,j+=a*M,E+=a*H,S+=a*K,_+=a*V,P+=a*G,C+=a*Q,T+=a*X,O+=a*W,A+=a*Y,y+=(a=t[12])*N,v+=a*z,b+=a*B,k+=a*$,w+=a*L,x+=a*q,j+=a*U,E+=a*M,S+=a*H,_+=a*K,P+=a*V,C+=a*G,T+=a*Q,O+=a*X,A+=a*W,I+=a*Y,v+=(a=t[13])*N,b+=a*z,k+=a*B,w+=a*$,x+=a*L,j+=a*q,E+=a*U,S+=a*M,_+=a*H,P+=a*K,C+=a*V,T+=a*G,O+=a*Q,A+=a*X,I+=a*W,F+=a*Y,b+=(a=t[14])*N,k+=a*z,w+=a*B,x+=a*$,j+=a*L,E+=a*q,S+=a*U,_+=a*M,P+=a*H,C+=a*K,T+=a*V,O+=a*G,A+=a*Q,I+=a*X,F+=a*W,R+=a*Y,k+=(a=t[15])*N,i+=38*(x+=a*B),s+=38*(j+=a*$),c+=38*(E+=a*L),u+=38*(S+=a*q),p+=38*(_+=a*U),l+=38*(P+=a*M),d+=38*(C+=a*H),m+=38*(T+=a*K),h+=38*(O+=a*V),f+=38*(A+=a*G),g+=38*(I+=a*Q),y+=38*(F+=a*X),v+=38*(R+=a*W),b+=38*(D+=a*Y),n=(a=(n+=38*(w+=a*z))+(o=1)+65535)-65536*(o=Math.floor(a/65536)),i=(a=i+o+65535)-65536*(o=Math.floor(a/65536)),s=(a=s+o+65535)-65536*(o=Math.floor(a/65536)),c=(a=c+o+65535)-65536*(o=Math.floor(a/65536)),u=(a=u+o+65535)-65536*(o=Math.floor(a/65536)),p=(a=p+o+65535)-65536*(o=Math.floor(a/65536)),l=(a=l+o+65535)-65536*(o=Math.floor(a/65536)),d=(a=d+o+65535)-65536*(o=Math.floor(a/65536)),m=(a=m+o+65535)-65536*(o=Math.floor(a/65536)),h=(a=h+o+65535)-65536*(o=Math.floor(a/65536)),f=(a=f+o+65535)-65536*(o=Math.floor(a/65536)),g=(a=g+o+65535)-65536*(o=Math.floor(a/65536)),y=(a=y+o+65535)-65536*(o=Math.floor(a/65536)),v=(a=v+o+65535)-65536*(o=Math.floor(a/65536)),b=(a=b+o+65535)-65536*(o=Math.floor(a/65536)),k=(a=k+o+65535)-65536*(o=Math.floor(a/65536)),n=(a=(n+=o-1+37*(o-1))+(o=1)+65535)-65536*(o=Math.floor(a/65536)),i=(a=i+o+65535)-65536*(o=Math.floor(a/65536)),s=(a=s+o+65535)-65536*(o=Math.floor(a/65536)),c=(a=c+o+65535)-65536*(o=Math.floor(a/65536)),u=(a=u+o+65535)-65536*(o=Math.floor(a/65536)),p=(a=p+o+65535)-65536*(o=Math.floor(a/65536)),l=(a=l+o+65535)-65536*(o=Math.floor(a/65536)),d=(a=d+o+65535)-65536*(o=Math.floor(a/65536)),m=(a=m+o+65535)-65536*(o=Math.floor(a/65536)),h=(a=h+o+65535)-65536*(o=Math.floor(a/65536)),f=(a=f+o+65535)-65536*(o=Math.floor(a/65536)),g=(a=g+o+65535)-65536*(o=Math.floor(a/65536)),y=(a=y+o+65535)-65536*(o=Math.floor(a/65536)),v=(a=v+o+65535)-65536*(o=Math.floor(a/65536)),b=(a=b+o+65535)-65536*(o=Math.floor(a/65536)),k=(a=k+o+65535)-65536*(o=Math.floor(a/65536)),n+=o-1+37*(o-1),e[0]=n,e[1]=i,e[2]=s,e[3]=c,e[4]=u,e[5]=p,e[6]=l,e[7]=d,e[8]=m,e[9]=h,e[10]=f,e[11]=g,e[12]=y,e[13]=v,e[14]=b,e[15]=k}function L(e,t){$(e,t,t)}function q(e,r){var a,o=t();for(a=0;a<16;a++)o[a]=r[a];for(a=253;a>=0;a--)L(o,o),2!==a&&4!==a&&$(o,o,r);for(a=0;a<16;a++)e[a]=o[a]}function U(e,r,a){var o,n,i=new Uint8Array(32),c=new Float64Array(80),u=t(),p=t(),l=t(),d=t(),m=t(),h=t();for(n=0;n<31;n++)i[n]=r[n];for(i[31]=127&r[31]|64,i[0]&=248,N(c,a),n=0;n<16;n++)p[n]=c[n],d[n]=u[n]=l[n]=0;for(u[0]=d[0]=1,n=254;n>=0;--n)I(u,p,o=i[n>>>3]>>>(7&n)&1),I(l,d,o),z(m,u,l),B(u,u,l),z(l,p,d),B(p,p,d),L(d,m),L(h,u),$(u,l,u),$(l,p,m),z(m,u,l),B(u,u,l),L(p,u),B(l,d,h),$(u,l,s),z(u,u,d),$(l,l,u),$(u,d,h),$(d,p,c),L(p,m),I(u,p,o),I(l,d,o);for(n=0;n<16;n++)c[n+16]=u[n],c[n+32]=l[n],c[n+48]=p[n],c[n+64]=d[n];var f=c.subarray(32),g=c.subarray(16);return q(f,f),$(g,g,f),F(e,g),0}function M(e,t){return U(e,t,o)}function H(e,t){return r(t,32),M(e,t)}function K(e,t,r){var o=new Uint8Array(32);return U(o,r,t),v(e,a,o,b)}S.prototype.blocks=function(e,t,r){for(var a,o,n,i,s,c,u,p,l,d,m,h,f,g,y,v,b,k,w,x=this.fin?0:2048,j=this.h[0],E=this.h[1],S=this.h[2],_=this.h[3],P=this.h[4],C=this.h[5],T=this.h[6],O=this.h[7],A=this.h[8],I=this.h[9],F=this.r[0],R=this.r[1],D=this.r[2],N=this.r[3],z=this.r[4],B=this.r[5],$=this.r[6],L=this.r[7],q=this.r[8],U=this.r[9];r>=16;)d=l=0,d+=(j+=8191&(a=255&e[t+0]|(255&e[t+1])<<8))*F,d+=(E+=8191&(a>>>13|(o=255&e[t+2]|(255&e[t+3])<<8)<<3))*(5*U),d+=(S+=8191&(o>>>10|(n=255&e[t+4]|(255&e[t+5])<<8)<<6))*(5*q),d+=(_+=8191&(n>>>7|(i=255&e[t+6]|(255&e[t+7])<<8)<<9))*(5*L),l=(d+=(P+=8191&(i>>>4|(s=255&e[t+8]|(255&e[t+9])<<8)<<12))*(5*$))>>>13,d&=8191,d+=(C+=s>>>1&8191)*(5*B),d+=(T+=8191&(s>>>14|(c=255&e[t+10]|(255&e[t+11])<<8)<<2))*(5*z),d+=(O+=8191&(c>>>11|(u=255&e[t+12]|(255&e[t+13])<<8)<<5))*(5*N),d+=(A+=8191&(u>>>8|(p=255&e[t+14]|(255&e[t+15])<<8)<<8))*(5*D),m=l+=(d+=(I+=p>>>5|x)*(5*R))>>>13,m+=j*R,m+=E*F,m+=S*(5*U),m+=_*(5*q),l=(m+=P*(5*L))>>>13,m&=8191,m+=C*(5*$),m+=T*(5*B),m+=O*(5*z),m+=A*(5*N),l+=(m+=I*(5*D))>>>13,m&=8191,h=l,h+=j*D,h+=E*R,h+=S*F,h+=_*(5*U),l=(h+=P*(5*q))>>>13,h&=8191,h+=C*(5*L),h+=T*(5*$),h+=O*(5*B),h+=A*(5*z),f=l+=(h+=I*(5*N))>>>13,f+=j*N,f+=E*D,f+=S*R,f+=_*F,l=(f+=P*(5*U))>>>13,f&=8191,f+=C*(5*q),f+=T*(5*L),f+=O*(5*$),f+=A*(5*B),g=l+=(f+=I*(5*z))>>>13,g+=j*z,g+=E*N,g+=S*D,g+=_*R,l=(g+=P*F)>>>13,g&=8191,g+=C*(5*U),g+=T*(5*q),g+=O*(5*L),g+=A*(5*$),y=l+=(g+=I*(5*B))>>>13,y+=j*B,y+=E*z,y+=S*N,y+=_*D,l=(y+=P*R)>>>13,y&=8191,y+=C*F,y+=T*(5*U),y+=O*(5*q),y+=A*(5*L),v=l+=(y+=I*(5*$))>>>13,v+=j*$,v+=E*B,v+=S*z,v+=_*N,l=(v+=P*D)>>>13,v&=8191,v+=C*R,v+=T*F,v+=O*(5*U),v+=A*(5*q),b=l+=(v+=I*(5*L))>>>13,b+=j*L,b+=E*$,b+=S*B,b+=_*z,l=(b+=P*N)>>>13,b&=8191,b+=C*D,b+=T*R,b+=O*F,b+=A*(5*U),k=l+=(b+=I*(5*q))>>>13,k+=j*q,k+=E*L,k+=S*$,k+=_*B,l=(k+=P*z)>>>13,k&=8191,k+=C*N,k+=T*D,k+=O*R,k+=A*F,w=l+=(k+=I*(5*U))>>>13,w+=j*U,w+=E*q,w+=S*L,w+=_*$,l=(w+=P*B)>>>13,w&=8191,w+=C*z,w+=T*N,w+=O*D,w+=A*R,j=d=8191&(l=(l=((l+=(w+=I*F)>>>13)<<2)+l|0)+(d&=8191)|0),E=m+=l>>>=13,S=h&=8191,_=f&=8191,P=g&=8191,C=y&=8191,T=v&=8191,O=b&=8191,A=k&=8191,I=w&=8191,t+=16,r-=16;this.h[0]=j,this.h[1]=E,this.h[2]=S,this.h[3]=_,this.h[4]=P,this.h[5]=C,this.h[6]=T,this.h[7]=O,this.h[8]=A,this.h[9]=I},S.prototype.finish=function(e,t){var r,a,o,n,i=new Uint16Array(10);if(this.leftover){for(n=this.leftover,this.buffer[n++]=1;n<16;n++)this.buffer[n]=0;this.fin=1,this.blocks(this.buffer,0,16)}for(r=this.h[1]>>>13,this.h[1]&=8191,n=2;n<10;n++)this.h[n]+=r,r=this.h[n]>>>13,this.h[n]&=8191;for(this.h[0]+=5*r,r=this.h[0]>>>13,this.h[0]&=8191,this.h[1]+=r,r=this.h[1]>>>13,this.h[1]&=8191,this.h[2]+=r,i[0]=this.h[0]+5,r=i[0]>>>13,i[0]&=8191,n=1;n<10;n++)i[n]=this.h[n]+r,r=i[n]>>>13,i[n]&=8191;for(i[9]-=8192,a=(1^r)-1,n=0;n<10;n++)i[n]&=a;for(a=~a,n=0;n<10;n++)this.h[n]=this.h[n]&a|i[n];for(this.h[0]=65535&(this.h[0]|this.h[1]<<13),this.h[1]=65535&(this.h[1]>>>3|this.h[2]<<10),this.h[2]=65535&(this.h[2]>>>6|this.h[3]<<7),this.h[3]=65535&(this.h[3]>>>9|this.h[4]<<4),this.h[4]=65535&(this.h[4]>>>12|this.h[5]<<1|this.h[6]<<14),this.h[5]=65535&(this.h[6]>>>2|this.h[7]<<11),this.h[6]=65535&(this.h[7]>>>5|this.h[8]<<8),this.h[7]=65535&(this.h[8]>>>8|this.h[9]<<5),o=this.h[0]+this.pad[0],this.h[0]=65535&o,n=1;n<8;n++)o=(this.h[n]+this.pad[n]|0)+(o>>>16)|0,this.h[n]=65535&o;e[t+0]=this.h[0]>>>0&255,e[t+1]=this.h[0]>>>8&255,e[t+2]=this.h[1]>>>0&255,e[t+3]=this.h[1]>>>8&255,e[t+4]=this.h[2]>>>0&255,e[t+5]=this.h[2]>>>8&255,e[t+6]=this.h[3]>>>0&255,e[t+7]=this.h[3]>>>8&255,e[t+8]=this.h[4]>>>0&255,e[t+9]=this.h[4]>>>8&255,e[t+10]=this.h[5]>>>0&255,e[t+11]=this.h[5]>>>8&255,e[t+12]=this.h[6]>>>0&255,e[t+13]=this.h[6]>>>8&255,e[t+14]=this.h[7]>>>0&255,e[t+15]=this.h[7]>>>8&255},S.prototype.update=function(e,t,r){var a,o;if(this.leftover){for((o=16-this.leftover)>r&&(o=r),a=0;a<o;a++)this.buffer[this.leftover+a]=e[t+a];if(r-=o,t+=o,this.leftover+=o,this.leftover<16)return;this.blocks(this.buffer,0,16),this.leftover=0}if(r>=16&&(o=r-r%16,this.blocks(e,t,o),t+=o,r-=o),r){for(a=0;a<r;a++)this.buffer[this.leftover+a]=e[t+a];this.leftover+=r}};var V=C,G=T,Q=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591];function X(e,t,r,a){for(var o,n,i,s,c,u,p,l,d,m,h,f,g,y,v,b,k,w,x,j,E,S,_,P,C,T,O=new Int32Array(16),A=new Int32Array(16),I=e[0],F=e[1],R=e[2],D=e[3],N=e[4],z=e[5],B=e[6],$=e[7],L=t[0],q=t[1],U=t[2],M=t[3],H=t[4],K=t[5],V=t[6],G=t[7],X=0;a>=128;){for(x=0;x<16;x++)j=8*x+X,O[x]=r[j+0]<<24|r[j+1]<<16|r[j+2]<<8|r[j+3],A[x]=r[j+4]<<24|r[j+5]<<16|r[j+6]<<8|r[j+7];for(x=0;x<80;x++)if(o=I,n=F,i=R,s=D,c=N,u=z,p=B,d=L,m=q,h=U,f=M,g=H,y=K,v=V,_=65535&(S=G),P=S>>>16,C=65535&(E=$),T=E>>>16,_+=65535&(S=(H>>>14|N<<18)^(H>>>18|N<<14)^(N>>>9|H<<23)),P+=S>>>16,C+=65535&(E=(N>>>14|H<<18)^(N>>>18|H<<14)^(H>>>9|N<<23)),T+=E>>>16,_+=65535&(S=H&K^~H&V),P+=S>>>16,C+=65535&(E=N&z^~N&B),T+=E>>>16,_+=65535&(S=Q[2*x+1]),P+=S>>>16,C+=65535&(E=Q[2*x]),T+=E>>>16,E=O[x%16],P+=(S=A[x%16])>>>16,C+=65535&E,T+=E>>>16,C+=(P+=(_+=65535&S)>>>16)>>>16,_=65535&(S=w=65535&_|P<<16),P=S>>>16,C=65535&(E=k=65535&C|(T+=C>>>16)<<16),T=E>>>16,_+=65535&(S=(L>>>28|I<<4)^(I>>>2|L<<30)^(I>>>7|L<<25)),P+=S>>>16,C+=65535&(E=(I>>>28|L<<4)^(L>>>2|I<<30)^(L>>>7|I<<25)),T+=E>>>16,P+=(S=L&q^L&U^q&U)>>>16,C+=65535&(E=I&F^I&R^F&R),T+=E>>>16,l=65535&(C+=(P+=(_+=65535&S)>>>16)>>>16)|(T+=C>>>16)<<16,b=65535&_|P<<16,_=65535&(S=f),P=S>>>16,C=65535&(E=s),T=E>>>16,P+=(S=w)>>>16,C+=65535&(E=k),T+=E>>>16,F=o,R=n,D=i,N=s=65535&(C+=(P+=(_+=65535&S)>>>16)>>>16)|(T+=C>>>16)<<16,z=c,B=u,$=p,I=l,q=d,U=m,M=h,H=f=65535&_|P<<16,K=g,V=y,G=v,L=b,x%16==15)for(j=0;j<16;j++)E=O[j],_=65535&(S=A[j]),P=S>>>16,C=65535&E,T=E>>>16,E=O[(j+9)%16],_+=65535&(S=A[(j+9)%16]),P+=S>>>16,C+=65535&E,T+=E>>>16,k=O[(j+1)%16],_+=65535&(S=((w=A[(j+1)%16])>>>1|k<<31)^(w>>>8|k<<24)^(w>>>7|k<<25)),P+=S>>>16,C+=65535&(E=(k>>>1|w<<31)^(k>>>8|w<<24)^k>>>7),T+=E>>>16,k=O[(j+14)%16],P+=(S=((w=A[(j+14)%16])>>>19|k<<13)^(k>>>29|w<<3)^(w>>>6|k<<26))>>>16,C+=65535&(E=(k>>>19|w<<13)^(w>>>29|k<<3)^k>>>6),T+=E>>>16,T+=(C+=(P+=(_+=65535&S)>>>16)>>>16)>>>16,O[j]=65535&C|T<<16,A[j]=65535&_|P<<16;_=65535&(S=L),P=S>>>16,C=65535&(E=I),T=E>>>16,E=e[0],P+=(S=t[0])>>>16,C+=65535&E,T+=E>>>16,T+=(C+=(P+=(_+=65535&S)>>>16)>>>16)>>>16,e[0]=I=65535&C|T<<16,t[0]=L=65535&_|P<<16,_=65535&(S=q),P=S>>>16,C=65535&(E=F),T=E>>>16,E=e[1],P+=(S=t[1])>>>16,C+=65535&E,T+=E>>>16,T+=(C+=(P+=(_+=65535&S)>>>16)>>>16)>>>16,e[1]=F=65535&C|T<<16,t[1]=q=65535&_|P<<16,_=65535&(S=U),P=S>>>16,C=65535&(E=R),T=E>>>16,E=e[2],P+=(S=t[2])>>>16,C+=65535&E,T+=E>>>16,T+=(C+=(P+=(_+=65535&S)>>>16)>>>16)>>>16,e[2]=R=65535&C|T<<16,t[2]=U=65535&_|P<<16,_=65535&(S=M),P=S>>>16,C=65535&(E=D),T=E>>>16,E=e[3],P+=(S=t[3])>>>16,C+=65535&E,T+=E>>>16,T+=(C+=(P+=(_+=65535&S)>>>16)>>>16)>>>16,e[3]=D=65535&C|T<<16,t[3]=M=65535&_|P<<16,_=65535&(S=H),P=S>>>16,C=65535&(E=N),T=E>>>16,E=e[4],P+=(S=t[4])>>>16,C+=65535&E,T+=E>>>16,T+=(C+=(P+=(_+=65535&S)>>>16)>>>16)>>>16,e[4]=N=65535&C|T<<16,t[4]=H=65535&_|P<<16,_=65535&(S=K),P=S>>>16,C=65535&(E=z),T=E>>>16,E=e[5],P+=(S=t[5])>>>16,C+=65535&E,T+=E>>>16,T+=(C+=(P+=(_+=65535&S)>>>16)>>>16)>>>16,e[5]=z=65535&C|T<<16,t[5]=K=65535&_|P<<16,_=65535&(S=V),P=S>>>16,C=65535&(E=B),T=E>>>16,E=e[6],P+=(S=t[6])>>>16,C+=65535&E,T+=E>>>16,T+=(C+=(P+=(_+=65535&S)>>>16)>>>16)>>>16,e[6]=B=65535&C|T<<16,t[6]=V=65535&_|P<<16,_=65535&(S=G),P=S>>>16,C=65535&(E=$),T=E>>>16,E=e[7],P+=(S=t[7])>>>16,C+=65535&E,T+=E>>>16,T+=(C+=(P+=(_+=65535&S)>>>16)>>>16)>>>16,e[7]=$=65535&C|T<<16,t[7]=G=65535&_|P<<16,X+=128,a-=128}return a}function W(e,t,r){var a,o=new Int32Array(8),n=new Int32Array(8),i=new Uint8Array(256),s=r;for(o[0]=1779033703,o[1]=3144134277,o[2]=1013904242,o[3]=2773480762,o[4]=1359893119,o[5]=2600822924,o[6]=528734635,o[7]=1541459225,n[0]=4089235720,n[1]=2227873595,n[2]=4271175723,n[3]=1595750129,n[4]=2917565137,n[5]=725511199,n[6]=4215389547,n[7]=327033209,X(o,n,t,r),r%=128,a=0;a<r;a++)i[a]=t[s-r+a];for(i[r]=128,i[(r=256-128*(r<112?1:0))-9]=0,m(i,r-8,s/536870912|0,s<<3),X(o,n,i,r),a=0;a<8;a++)m(e,8*a,o[a],n[a]);return 0}function Y(e,r){var a=t(),o=t(),n=t(),i=t(),s=t(),c=t(),p=t(),l=t(),d=t();B(a,e[1],e[0]),B(d,r[1],r[0]),$(a,a,d),z(o,e[0],e[1]),z(d,r[0],r[1]),$(o,o,d),$(n,e[3],r[3]),$(n,n,u),$(i,e[2],r[2]),z(i,i,i),B(s,o,a),B(c,i,n),z(p,i,n),z(l,o,a),$(e[0],s,c),$(e[1],l,p),$(e[2],p,c),$(e[3],s,l)}function Z(e,t,r){var a;for(a=0;a<4;a++)I(e[a],t[a],r)}function J(e,r){var a=t(),o=t(),n=t();q(n,r[2]),$(a,r[0],n),$(o,r[1],n),F(e,o),e[31]^=D(a)<<7}function ee(e,t,r){var a,o;for(O(e[0],n),O(e[1],i),O(e[2],i),O(e[3],n),o=255;o>=0;--o)Z(e,t,a=r[o/8|0]>>(7&o)&1),Y(t,e),Y(e,e),Z(e,t,a)}function te(e,r){var a=[t(),t(),t(),t()];O(a[0],p),O(a[1],l),O(a[2],i),$(a[3],p,l),ee(e,a,r)}function re(e,a,o){var n,i=new Uint8Array(64),s=[t(),t(),t(),t()];for(o||r(a,32),W(i,a,32),i[0]&=248,i[31]&=127,i[31]|=64,te(s,i),J(e,s),n=0;n<32;n++)a[n+32]=e[n];return 0}var ae=new Float64Array([237,211,245,92,26,99,18,88,214,156,247,162,222,249,222,20,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,16]);function oe(e,t){var r,a,o,n;for(a=63;a>=32;--a){for(r=0,o=a-32,n=a-12;o<n;++o)t[o]+=r-16*t[a]*ae[o-(a-32)],r=t[o]+128>>8,t[o]-=256*r;t[o]+=r,t[a]=0}for(r=0,o=0;o<32;o++)t[o]+=r-(t[31]>>4)*ae[o],r=t[o]>>8,t[o]&=255;for(o=0;o<32;o++)t[o]-=r*ae[o];for(a=0;a<32;a++)t[a+1]+=t[a]>>8,e[a]=255&t[a]}function ne(e){var t,r=new Float64Array(64);for(t=0;t<64;t++)r[t]=e[t];for(t=0;t<64;t++)e[t]=0;oe(e,r)}function ie(e,r,a,o){var n,i,s=new Uint8Array(64),c=new Uint8Array(64),u=new Uint8Array(64),p=new Float64Array(64),l=[t(),t(),t(),t()];W(s,o,32),s[0]&=248,s[31]&=127,s[31]|=64;var d=a+64;for(n=0;n<a;n++)e[64+n]=r[n];for(n=0;n<32;n++)e[32+n]=s[32+n];for(W(u,e.subarray(32),a+32),ne(u),te(l,u),J(e,l),n=32;n<64;n++)e[n]=o[n];for(W(c,e,a+64),ne(c),n=0;n<64;n++)p[n]=0;for(n=0;n<32;n++)p[n]=u[n];for(n=0;n<32;n++)for(i=0;i<32;i++)p[n+i]+=c[n]*s[i];return oe(e.subarray(32),p),d}function se(e,r){var a=t(),o=t(),s=t(),u=t(),p=t(),l=t(),m=t();return O(e[2],i),N(e[1],r),L(s,e[1]),$(u,s,c),B(s,s,e[2]),z(u,e[2],u),L(p,u),L(l,p),$(m,l,p),$(a,m,s),$(a,a,u),function(e,r){var a,o=t();for(a=0;a<16;a++)o[a]=r[a];for(a=250;a>=0;a--)L(o,o),1!==a&&$(o,o,r);for(a=0;a<16;a++)e[a]=o[a]}(a,a),$(a,a,s),$(a,a,u),$(a,a,u),$(e[0],a,u),L(o,e[0]),$(o,o,u),R(o,s)&&$(e[0],e[0],d),L(o,e[0]),$(o,o,u),R(o,s)?-1:(D(e[0])===r[31]>>7&&B(e[0],n,e[0]),$(e[3],e[0],e[1]),0)}function ce(e,r,a,o){var n,i=new Uint8Array(32),s=new Uint8Array(64),c=[t(),t(),t(),t()],u=[t(),t(),t(),t()];if(a<64)return-1;if(se(u,o))return-1;for(n=0;n<a;n++)e[n]=r[n];for(n=0;n<32;n++)e[n+32]=o[n];if(W(s,e,a),ne(s),ee(c,u,s),te(u,r.subarray(32)),Y(c,u),J(i,c),a-=64,g(r,0,i,0)){for(n=0;n<a;n++)e[n]=0;return-1}for(n=0;n<a;n++)e[n]=r[n+64];return a}var ue=16,pe=64,le=32,de=64;function me(e,t){if(32!==e.length)throw new Error("bad key size");if(24!==t.length)throw new Error("bad nonce size")}function he(){var e,t;for(t=0;t<arguments.length;t++)if("[object Uint8Array]"!==(e=Object.prototype.toString.call(arguments[t])))throw new TypeError("unexpected type "+e+", use Uint8Array")}function fe(e){for(var t=0;t<e.length;t++)e[t]=0}e.lowlevel={crypto_core_hsalsa20:v,crypto_stream_xor:E,crypto_stream:j,crypto_stream_salsa20_xor:k,crypto_stream_salsa20:w,crypto_onetimeauth:_,crypto_onetimeauth_verify:P,crypto_verify_16:f,crypto_verify_32:g,crypto_secretbox:C,crypto_secretbox_open:T,crypto_scalarmult:U,crypto_scalarmult_base:M,crypto_box_beforenm:K,crypto_box_afternm:V,crypto_box:function(e,t,r,a,o,n){var i=new Uint8Array(32);return K(i,o,n),V(e,t,r,a,i)},crypto_box_open:function(e,t,r,a,o,n){var i=new Uint8Array(32);return K(i,o,n),G(e,t,r,a,i)},crypto_box_keypair:H,crypto_hash:W,crypto_sign:ie,crypto_sign_keypair:re,crypto_sign_open:ce,crypto_secretbox_KEYBYTES:32,crypto_secretbox_NONCEBYTES:24,crypto_secretbox_ZEROBYTES:32,crypto_secretbox_BOXZEROBYTES:ue,crypto_scalarmult_BYTES:32,crypto_scalarmult_SCALARBYTES:32,crypto_box_PUBLICKEYBYTES:32,crypto_box_SECRETKEYBYTES:32,crypto_box_BEFORENMBYTES:32,crypto_box_NONCEBYTES:24,crypto_box_ZEROBYTES:32,crypto_box_BOXZEROBYTES:16,crypto_sign_BYTES:pe,crypto_sign_PUBLICKEYBYTES:le,crypto_sign_SECRETKEYBYTES:de,crypto_sign_SEEDBYTES:32,crypto_hash_BYTES:64},e.util||(e.util={},e.util.decodeUTF8=e.util.encodeUTF8=e.util.encodeBase64=e.util.decodeBase64=function(){throw new Error("nacl.util moved into separate package: https://github.com/dchest/tweetnacl-util-js")}),e.randomBytes=function(e){var t=new Uint8Array(e);return r(t,e),t},e.secretbox=function(e,t,r){he(e,t,r),me(r,t);for(var a=new Uint8Array(32+e.length),o=new Uint8Array(a.length),n=0;n<e.length;n++)a[n+32]=e[n];return C(o,a,a.length,t,r),o.subarray(ue)},e.secretbox.open=function(e,t,r){he(e,t,r),me(r,t);for(var a=new Uint8Array(ue+e.length),o=new Uint8Array(a.length),n=0;n<e.length;n++)a[n+ue]=e[n];return!(a.length<32)&&0===T(o,a,a.length,t,r)&&o.subarray(32)},e.secretbox.keyLength=32,e.secretbox.nonceLength=24,e.secretbox.overheadLength=ue,e.scalarMult=function(e,t){if(he(e,t),32!==e.length)throw new Error("bad n size");if(32!==t.length)throw new Error("bad p size");var r=new Uint8Array(32);return U(r,e,t),r},e.scalarMult.base=function(e){if(he(e),32!==e.length)throw new Error("bad n size");var t=new Uint8Array(32);return M(t,e),t},e.scalarMult.scalarLength=32,e.scalarMult.groupElementLength=32,e.box=function(t,r,a,o){var n=e.box.before(a,o);return e.secretbox(t,r,n)},e.box.before=function(e,t){he(e,t),function(e,t){if(32!==e.length)throw new Error("bad public key size");if(32!==t.length)throw new Error("bad secret key size")}(e,t);var r=new Uint8Array(32);return K(r,e,t),r},e.box.after=e.secretbox,e.box.open=function(t,r,a,o){var n=e.box.before(a,o);return e.secretbox.open(t,r,n)},e.box.open.after=e.secretbox.open,e.box.keyPair=function(){var e=new Uint8Array(32),t=new Uint8Array(32);return H(e,t),{publicKey:e,secretKey:t}},e.box.keyPair.fromSecretKey=function(e){if(he(e),32!==e.length)throw new Error("bad secret key size");var t=new Uint8Array(32);return M(t,e),{publicKey:t,secretKey:new Uint8Array(e)}},e.box.publicKeyLength=32,e.box.secretKeyLength=32,e.box.sharedKeyLength=32,e.box.nonceLength=24,e.box.overheadLength=e.secretbox.overheadLength,e.sign=function(e,t){if(he(e,t),t.length!==de)throw new Error("bad secret key size");var r=new Uint8Array(pe+e.length);return ie(r,e,e.length,t),r},e.sign.open=function(e,t){if(2!==arguments.length)throw new Error("nacl.sign.open accepts 2 arguments; did you mean to use nacl.sign.detached.verify?");if(he(e,t),t.length!==le)throw new Error("bad public key size");var r=new Uint8Array(e.length),a=ce(r,e,e.length,t);if(a<0)return null;for(var o=new Uint8Array(a),n=0;n<o.length;n++)o[n]=r[n];return o},e.sign.detached=function(t,r){for(var a=e.sign(t,r),o=new Uint8Array(pe),n=0;n<o.length;n++)o[n]=a[n];return o},e.sign.detached.verify=function(e,t,r){if(he(e,t,r),t.length!==pe)throw new Error("bad signature size");if(r.length!==le)throw new Error("bad public key size");var a,o=new Uint8Array(pe+e.length),n=new Uint8Array(pe+e.length);for(a=0;a<pe;a++)o[a]=t[a];for(a=0;a<e.length;a++)o[a+pe]=e[a];return ce(n,o,o.length,r)>=0},e.sign.keyPair=function(){var e=new Uint8Array(le),t=new Uint8Array(de);return re(e,t),{publicKey:e,secretKey:t}},e.sign.keyPair.fromSecretKey=function(e){if(he(e),e.length!==de)throw new Error("bad secret key size");for(var t=new Uint8Array(le),r=0;r<t.length;r++)t[r]=e[32+r];return{publicKey:t,secretKey:new Uint8Array(e)}},e.sign.keyPair.fromSeed=function(e){if(he(e),32!==e.length)throw new Error("bad seed size");for(var t=new Uint8Array(le),r=new Uint8Array(de),a=0;a<32;a++)r[a]=e[a];return re(t,r,!0),{publicKey:t,secretKey:r}},e.sign.publicKeyLength=le,e.sign.secretKeyLength=de,e.sign.seedLength=32,e.sign.signatureLength=pe,e.hash=function(e){he(e);var t=new Uint8Array(64);return W(t,e,e.length),t},e.hash.hashLength=64,e.verify=function(e,t){return he(e,t),0!==e.length&&0!==t.length&&e.length===t.length&&0===h(e,0,t,0,e.length)},e.setPRNG=function(e){r=e},function(){var t="undefined"!=typeof self?self.crypto||self.msCrypto:null;t&&t.getRandomValues?e.setPRNG((function(e,r){var a,o=new Uint8Array(r);for(a=0;a<r;a+=65536)t.getRandomValues(o.subarray(a,a+Math.min(r-a,65536)));for(a=0;a<r;a++)e[a]=o[a];fe(o)})):(t=x.default)&&t.randomBytes&&e.setPRNG((function(e,r){var a,o=t.randomBytes(r);for(a=0;a<r;a++)e[a]=o[a];fe(o)}))}()}(Tl.exports?Tl.exports:self.nacl=self.nacl||{})),Tl.exports}function Al(){if(El)return jl;El=1,jl={bufferSplit:function(t,r){e.buffer(t),e.string(r);for(var a=[],o=0,n=0,i=0;i<t.length;++i)if(t[i]===r.charCodeAt(n)?++n:n=t[i]===r.charCodeAt(0)?1:0,n>=r.length){var s=i+1;a.push(t.slice(o,s-n)),o=s,n=0}o<=t.length&&a.push(t.slice(o,t.length));return a},addRSAMissing:function(t){e.object(t),p(t,r,[1,1]);var a,o=new c(t.part.d.data);if(!t.part.dmodp){var n=new c(t.part.p.data),i=o.mod(n.subtract(1));a=m(i),t.part.dmodp={name:"dmodp",data:a},t.parts.push(t.part.dmodp)}if(!t.part.dmodq){var s=new c(t.part.q.data),u=o.mod(s.subtract(1));a=m(u),t.part.dmodq={name:"dmodq",data:a},t.parts.push(t.part.dmodq)}},calculateDSAPublic:function(t,r,a){return e.buffer(t),e.buffer(r),e.buffer(a),t=new c(t),r=new c(r),a=new c(a),m(t.modPow(a,r))},calculateED25519Public:function(r){e.buffer(r);var a=u.sign.keyPair.fromSeed(new Uint8Array(r));return t.from(a.publicKey)},calculateX25519Public:function(r){e.buffer(r);var a=u.box.keyPair.fromSeed(new Uint8Array(r));return t.from(a.publicKey)},mpNormalize:d,mpDenormalize:function(t){e.buffer(t);for(;t.length>1&&0===t[0];)t=t.slice(1);return t},ecNormalize:function(r,a){if(e.buffer(r),0===r[0]&&4===r[1])return a?r:r.slice(1);if(4===r[0]){if(!a)return r}else{for(;0===r[0];)r=r.slice(1);if(2===r[0]||3===r[0])throw new Error("Compressed elliptic curve points are not supported");if(4!==r[0])throw new Error("Not a valid elliptic curve point");if(!a)return r}var o=t.alloc(r.length+1);return o[0]=0,r.copy(o,1),o},countZeros:function(e){var t=0,r=8;for(;t<e.length;){var a=1<<r;if((e[t]&a)===a)break;--r<0&&(t++,r=8)}return 8*t+(8-r)-1},assertCompatible:p,isCompatible:function(e,t,r){if(null===e||"object"!=typeof e)return!1;void 0===r&&(r=t.prototype._sshpkApiVersion);if(e instanceof t&&t.prototype._sshpkApiVersion[0]==r[0])return!0;var a=Object.getPrototypeOf(e),o=0;for(;a.constructor.name!==t.name;)if(!(a=Object.getPrototypeOf(a))||++o>3)return!1;if(a.constructor.name!==t.name)return!1;var n=a._sshpkApiVersion;void 0===n&&(n=t._oldVersionDetect(e));return!(n[0]!=r[0]||n[1]<r[1])},opensslKeyDeriv:function(r,a,n,i){e.buffer(a,"salt"),e.buffer(n,"passphrase"),e.number(i,"iteration count");var s,c,u,p=l[r];e.object(p,"supported cipher"),a=a.slice(0,8);var d=t.alloc(0);for(;d.length<p.key+p.iv;){u=[],c&&u.push(c),u.push(n),u.push(a),s=t.concat(u);for(var m=0;m<i;++m)s=o.createHash("md5").update(s).digest();d=t.concat([d,s]),c=s}return{key:d.slice(0,p.key),iv:d.slice(p.key,p.key+p.iv)}},opensshCipherInfo:function(e){var t={};switch(e){case"3des-cbc":t.keySize=24,t.blockSize=8,t.opensslName="des-ede3-cbc";break;case"blowfish-cbc":t.keySize=16,t.blockSize=8,t.opensslName="bf-cbc";break;case"aes128-cbc":case"aes128-ctr":case"aes128-gcm@openssh.com":t.keySize=16,t.blockSize=16,t.opensslName="aes-128-"+e.slice(7,10);break;case"aes192-cbc":case"aes192-ctr":case"aes192-gcm@openssh.com":t.keySize=24,t.blockSize=16,t.opensslName="aes-192-"+e.slice(7,10);break;case"aes256-cbc":case"aes256-ctr":case"aes256-gcm@openssh.com":t.keySize=32,t.blockSize=16,t.opensslName="aes-256-"+e.slice(7,10);break;default:throw new Error('Unsupported openssl cipher "'+e+'"')}return t},publicFromPrivateECDSA:function(r,o){e.string(r,"curveName"),e.buffer(o);var i=n.curves[r],u=new c(i.p),p=new c(i.a),l=new c(i.b),m=new s.ECCurveFp(u,p,l),h=m.decodePointHex(i.G.toString("hex")),f=new c(d(o)),g=h.multiply(f);g=t.from(m.encodePointHex(g),"hex");var y=[];return y.push({name:"curve",data:t.from(r)}),y.push({name:"Q",data:g}),new a({type:"ecdsa",curve:m,parts:y})},zeroPadToLength:function(r,a){e.buffer(r),e.number(a);for(;r.length>a;)e.equal(r[0],0),r=r.slice(1);for(;r.length<a;){var o=t.alloc(r.length+1);o[0]=0,r.copy(o,1),r=o}return r},writeBitString:function(e,r,a){void 0===a&&(a=i.Ber.BitString);var o=t.alloc(r.length+1);o[0]=0,r.copy(o,1),e.writeBuffer(o,a)},readBitString:function(t,r){void 0===r&&(r=i.Ber.BitString);var a=t.readString(r,!0);return e.strictEqual(a[0],0,"bit strings with unused bits are not supported (0x"+a[0].toString(16)+")"),a.slice(1)},pbkdf2:function(e,r,a,n,i){var s=t.alloc(r.length+4);r.copy(s);var c=0,u=[],p=1;for(;c<n;){var l=d(p++);c+=l.length,u.push(l)}return t.concat(u).slice(0,n);function d(t){s.writeUInt32BE(t,s.length-4);var r=o.createHmac(e,i);r.update(s);for(var n=r.digest(),c=n,u=1;u++<a;){(r=o.createHmac(e,i)).update(c),c=r.digest();for(var p=0;p<n.length;++p)n[p]^=c[p]}return n}}};var e=Xp(),t=Wp().Buffer,r=Md(),a=Xd(),o=x.default,n=Yp(),i=fl(),s=wl(),c=kl().BigInteger,u=Ol();function p(t,r,a,o){if(void 0===o&&(o="object"),e.ok(t,o+" must not be null"),e.object(t,o+" must be an object"),void 0===a&&(a=r.prototype._sshpkApiVersion),!(t instanceof r&&r.prototype._sshpkApiVersion[0]==a[0])){for(var n=Object.getPrototypeOf(t),i=0;n.constructor.name!==r.name;)n=Object.getPrototypeOf(n),e.ok(n&&++i<=3,o+" must be a "+r.name+" instance");e.strictEqual(n.constructor.name,r.name,o+" must be a "+r.name+" instance");var s=n._sshpkApiVersion;void 0===s&&(s=r._oldVersionDetect(t)),e.ok(s[0]==a[0]&&s[1]>=a[1],o+" must be compatible with "+r.name+" klass version "+a[0]+"."+a[1])}}var l={"des-ede3-cbc":{key:24,iv:8},"aes-128-cbc":{key:16,iv:16},"aes-256-cbc":{key:32,iv:16}};function d(r){for(e.buffer(r);r.length>1&&0===r[0]&&0==(128&r[1]);)r=r.slice(1);if(128==(128&r[0])){var a=t.alloc(r.length+1);a[0]=0,r.copy(a,1),r=a}return r}function m(e){var r=t.from(e.toByteArray());return r=d(r)}return jl}function Il(){if(_l)return Sl;_l=1,Sl=r;var e=Xp(),t=Wp().Buffer;function r(r){e.object(r,"options"),void 0!==r.buffer&&e.buffer(r.buffer,"options.buffer"),this._size=r.buffer?r.buffer.length:1024,this._buffer=r.buffer||t.alloc(this._size),this._offset=0}return r.prototype.toBuffer=function(){return this._buffer.slice(0,this._offset)},r.prototype.atEnd=function(){return this._offset>=this._buffer.length},r.prototype.remainder=function(){return this._buffer.slice(this._offset)},r.prototype.skip=function(e){this._offset+=e},r.prototype.expand=function(){this._size*=2;var e=t.alloc(this._size);this._buffer.copy(e,0),this._buffer=e},r.prototype.readPart=function(){return{data:this.readBuffer()}},r.prototype.readBuffer=function(){var t=this._buffer.readUInt32BE(this._offset);this._offset+=4,e.ok(this._offset+t<=this._buffer.length,"length out of bounds at +0x"+this._offset.toString(16)+" (data truncated?)");var r=this._buffer.slice(this._offset,this._offset+t);return this._offset+=t,r},r.prototype.readString=function(){return this.readBuffer().toString()},r.prototype.readCString=function(){for(var t=this._offset;t<this._buffer.length&&0!==this._buffer[t];)t++;e.ok(t<this._buffer.length,"c string does not terminate");var r=this._buffer.slice(this._offset,t).toString();return this._offset=t+1,r},r.prototype.readInt=function(){var e=this._buffer.readUInt32BE(this._offset);return this._offset+=4,e},r.prototype.readInt64=function(){e.ok(this._offset+8<this._buffer.length,"buffer not long enough to read Int64");var t=this._buffer.slice(this._offset,this._offset+8);return this._offset+=8,t},r.prototype.readChar=function(){return this._buffer[this._offset++]},r.prototype.writeBuffer=function(e){for(;this._offset+4+e.length>this._size;)this.expand();this._buffer.writeUInt32BE(e.length,this._offset),this._offset+=4,e.copy(this._buffer,this._offset),this._offset+=e.length},r.prototype.writeString=function(e){this.writeBuffer(t.from(e,"utf8"))},r.prototype.writeCString=function(e){for(;this._offset+1+e.length>this._size;)this.expand();this._buffer.write(e,this._offset),this._offset+=e.length,this._buffer[this._offset++]=0},r.prototype.writeInt=function(e){for(;this._offset+4>this._size;)this.expand();this._buffer.writeUInt32BE(e,this._offset),this._offset+=4},r.prototype.writeInt64=function(t){if(e.buffer(t,"value"),t.length>8){for(var r=t.slice(0,t.length-8),a=0;a<r.length;++a)e.strictEqual(r[a],0,"must fit in 64 bits of precision");t=t.slice(t.length-8,t.length)}for(;this._offset+8>this._size;)this.expand();t.copy(this._buffer,this._offset),this._offset+=8},r.prototype.writeChar=function(e){for(;this._offset+1>this._size;)this.expand();this._buffer[this._offset++]=e},r.prototype.writePart=function(e){this.writeBuffer(e.data)},r.prototype.write=function(e){for(;this._offset+e.length>this._size;)this.expand();e.copy(this._buffer,this._offset),this._offset+=e.length},Sl}function Fl(){if(Cl)return Pl;Cl=1,Pl=c;var e=Xp(),t=Wp().Buffer;Yp();var r=Zp(),a=Al(),o=fl(),n=Il(),i=r.InvalidAlgorithmError,s=r.SignatureParseError;function c(t){e.object(t,"options"),e.arrayOfObject(t.parts,"options.parts"),e.string(t.type,"options.type");for(var r={},a=0;a<t.parts.length;++a){var o=t.parts[a];r[o.name]=o}this.type=t.type,this.hashAlgorithm=t.hashAlgo,this.curve=t.curve,this.parts=t.parts,this.part=r}function u(t,r,a,o){if("ssh"===a){try{var i=new n({buffer:t}),s=i.readString()}catch(e){}if(void 0!==i){var u="SSH signature does not match expected type (expected "+r+", got "+s+")";switch(s){case"ssh-rsa":e.strictEqual(r,"rsa",u),o.hashAlgo="sha1";break;case"rsa-sha2-256":e.strictEqual(r,"rsa",u),o.hashAlgo="sha256";break;case"rsa-sha2-512":e.strictEqual(r,"rsa",u),o.hashAlgo="sha512";break;case"ssh-ed25519":e.strictEqual(r,"ed25519",u),o.hashAlgo="sha512";break;default:throw new Error("Unknown SSH signature type: "+s)}var p=i.readPart();return e.ok(i.atEnd(),"extra trailing bytes"),p.name="sig",o.parts.push(p),new c(o)}}return o.parts.push({name:"sig",data:t}),new c(o)}return c.prototype.toBuffer=function(r){var i;void 0===r&&(r="asn1"),e.string(r,"format");var s="ssh-"+this.type;switch(this.type){case"rsa":switch(this.hashAlgorithm){case"sha256":s="rsa-sha2-256";break;case"sha512":s="rsa-sha2-512";break;case"sha1":case void 0:break;default:throw new Error("SSH signature format does not support hash algorithm "+this.hashAlgorithm)}return"ssh"===r?((i=new n({})).writeString(s),i.writePart(this.part.sig),i.toBuffer()):this.part.sig.data;case"ed25519":return"ssh"===r?((i=new n({})).writeString(s),i.writePart(this.part.sig),i.toBuffer()):this.part.sig.data;case"dsa":case"ecdsa":var c,u;if("asn1"===r){var p=new o.BerWriter;return p.startSequence(),c=a.mpNormalize(this.part.r.data),u=a.mpNormalize(this.part.s.data),p.writeBuffer(c,o.Ber.Integer),p.writeBuffer(u,o.Ber.Integer),p.endSequence(),p.buffer}if("ssh"===r&&"dsa"===this.type){if((i=new n({})).writeString("ssh-dss"),(c=this.part.r.data).length>20&&0===c[0]&&(c=c.slice(1)),(u=this.part.s.data).length>20&&0===u[0]&&(u=u.slice(1)),this.hashAlgorithm&&"sha1"!==this.hashAlgorithm||c.length+u.length!==40)throw new Error("OpenSSH only supports DSA signatures with SHA1 hash");return i.writeBuffer(t.concat([c,u])),i.toBuffer()}if("ssh"===r&&"ecdsa"===this.type){var l,d=new n({});c=this.part.r.data,d.writeBuffer(c),d.writePart(this.part.s),i=new n({}),0===c[0]&&(c=c.slice(1));var m=8*c.length;return 256===m?l="nistp256":384===m?l="nistp384":528===m&&(l="nistp521"),i.writeString("ecdsa-sha2-"+l),i.writeBuffer(d.toBuffer()),i.toBuffer()}throw new Error("Invalid signature format");default:throw new Error("Invalid signature data")}},c.prototype.toString=function(t){return e.optionalString(t,"format"),this.toBuffer(t).toString("base64")},c.parse=function(r,p,l){"string"==typeof r&&(r=t.from(r,"base64")),e.buffer(r,"data"),e.string(l,"format"),e.string(p,"type");var d={};d.type=p.toLowerCase(),d.parts=[];try{switch(e.ok(r.length>0,"signature must not be empty"),d.type){case"rsa":case"ed25519":return u(r,p,l,d);case"dsa":case"ecdsa":return"asn1"===l?function(e,t,r,n){var i=new o.BerReader(e);i.readSequence();var s=i.readString(o.Ber.Integer,!0),u=i.readString(o.Ber.Integer,!0);return n.parts.push({name:"r",data:a.mpNormalize(s)}),n.parts.push({name:"s",data:a.mpNormalize(u)}),new c(n)}(r,0,0,d):"dsa"===d.type?function(t,r,a,o){if(40!=t.length){var i=new n({buffer:t}),s=i.readBuffer();"ssh-dss"===s.toString("ascii")&&(s=i.readBuffer()),e.ok(i.atEnd(),"extra trailing bytes"),e.strictEqual(s.length,40,"invalid inner length"),t=s}return o.parts.push({name:"r",data:t.slice(0,20)}),o.parts.push({name:"s",data:t.slice(20,40)}),new c(o)}(r,0,0,d):function(t,r,a,o){var i,s,u=new n({buffer:t}),p=u.readBuffer(),l=p.toString("ascii");if("ecdsa-"===l.slice(0,6)){var d=l.split("-");switch(e.strictEqual(d[0],"ecdsa"),e.strictEqual(d[1],"sha2"),o.curve=d[2],o.curve){case"nistp256":o.hashAlgo="sha256";break;case"nistp384":o.hashAlgo="sha384";break;case"nistp521":o.hashAlgo="sha512";break;default:throw new Error("Unsupported ECDSA curve: "+o.curve)}p=u.readBuffer(),e.ok(u.atEnd(),"extra trailing bytes on outer"),i=(u=new n({buffer:p})).readPart()}else i={data:p};return s=u.readPart(),e.ok(u.atEnd(),"extra trailing bytes"),i.name="r",s.name="s",o.parts.push(i),o.parts.push(s),new c(o)}(r,0,0,d);default:throw new i(p)}}catch(e){if(e instanceof i)throw e;throw new s(p,l,e)}},c.isSignature=function(e,t){return a.isCompatible(e,c,t)},c.prototype._sshpkApiVersion=[2,1],c._oldVersionDetect=function(t){return e.func(t.toBuffer),t.hasOwnProperty("hashAlgorithm")?[2,0]:[1,0]},Pl}var Rl,Dl,Nl,zl,Bl,$l,Ll,ql,Ul,Ml,Hl,Kl,Vl,Gl,Ql,Xl,Wl,Yl,Zl,Jl,ed,td,rd,ad,od,nd,id,sd,cd,ud,pd,ld,dd,md,hd,fd,gd,yd,vd,bd,kd,wd,xd,jd,Ed,Sd,_d,Pd,Cd,Td={};function Od(){if(Nl)return Td;Nl=1;var e=x.default,t=kl().BigInteger;wl().ECPointFp;var r=Wp().Buffer;function a(e,t){return e.length>=t?e:a("0"+e,t)}return Td.ECCurves=function(){if(Dl)return Rl;Dl=1;var e=kl().BigInteger,t=wl().ECCurveFp;function r(e,t,r,a){this.curve=e,this.g=t,this.n=r,this.h=a}function a(t){return new e(t,16)}return r.prototype.getCurve=function(){return this.curve},r.prototype.getG=function(){return this.g},r.prototype.getN=function(){return this.n},r.prototype.getH=function(){return this.h},Rl={secp128r1:function(){var o=a("FFFFFFFDFFFFFFFFFFFFFFFFFFFFFFFF"),n=a("FFFFFFFDFFFFFFFFFFFFFFFFFFFFFFFC"),i=a("E87579C11079F43DD824993C2CEE5ED3"),s=a("FFFFFFFE0000000075A30D1B9038A115"),c=e.ONE,u=new t(o,n,i),p=u.decodePointHex("04161FF7528B899B2D0C28607CA52C5B86CF5AC8395BAFEB13C02DA292DDED7A83");return new r(u,p,s,c)},secp160k1:function(){var o=a("FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFAC73"),n=e.ZERO,i=a("7"),s=a("0100000000000000000001B8FA16DFAB9ACA16B6B3"),c=e.ONE,u=new t(o,n,i),p=u.decodePointHex("043B4C382CE37AA192A4019E763036F4F5DD4D7EBB938CF935318FDCED6BC28286531733C3F03C4FEE");return new r(u,p,s,c)},secp160r1:function(){var o=a("FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF7FFFFFFF"),n=a("FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF7FFFFFFC"),i=a("1C97BEFC54BD7A8B65ACF89F81D4D4ADC565FA45"),s=a("0100000000000000000001F4C8F927AED3CA752257"),c=e.ONE,u=new t(o,n,i),p=u.decodePointHex("044A96B5688EF573284664698968C38BB913CBFC8223A628553168947D59DCC912042351377AC5FB32");return new r(u,p,s,c)},secp192k1:function(){var o=a("FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFEE37"),n=e.ZERO,i=a("3"),s=a("FFFFFFFFFFFFFFFFFFFFFFFE26F2FC170F69466A74DEFD8D"),c=e.ONE,u=new t(o,n,i),p=u.decodePointHex("04DB4FF10EC057E9AE26B07D0280B7F4341DA5D1B1EAE06C7D9B2F2F6D9C5628A7844163D015BE86344082AA88D95E2F9D");return new r(u,p,s,c)},secp192r1:function(){var o=a("FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFFFFFFFFFFFFF"),n=a("FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFFFFFFFFFFFFC"),i=a("64210519E59C80E70FA7E9AB72243049FEB8DEECC146B9B1"),s=a("FFFFFFFFFFFFFFFFFFFFFFFF99DEF836146BC9B1B4D22831"),c=e.ONE,u=new t(o,n,i),p=u.decodePointHex("04188DA80EB03090F67CBF20EB43A18800F4FF0AFD82FF101207192B95FFC8DA78631011ED6B24CDD573F977A11E794811");return new r(u,p,s,c)},secp224r1:function(){var o=a("FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF000000000000000000000001"),n=a("FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFFFFFFFFFFFFFFFFFFFFE"),i=a("B4050A850C04B3ABF54132565044B0B7D7BFD8BA270B39432355FFB4"),s=a("FFFFFFFFFFFFFFFFFFFFFFFFFFFF16A2E0B8F03E13DD29455C5C2A3D"),c=e.ONE,u=new t(o,n,i),p=u.decodePointHex("04B70E0CBD6BB4BF7F321390B94A03C1D356C21122343280D6115C1D21BD376388B5F723FB4C22DFE6CD4375A05A07476444D5819985007E34");return new r(u,p,s,c)},secp256r1:function(){var o=a("FFFFFFFF00000001000000000000000000000000FFFFFFFFFFFFFFFFFFFFFFFF"),n=a("FFFFFFFF00000001000000000000000000000000FFFFFFFFFFFFFFFFFFFFFFFC"),i=a("5AC635D8AA3A93E7B3EBBD55769886BC651D06B0CC53B0F63BCE3C3E27D2604B"),s=a("FFFFFFFF00000000FFFFFFFFFFFFFFFFBCE6FAADA7179E84F3B9CAC2FC632551"),c=e.ONE,u=new t(o,n,i),p=u.decodePointHex("046B17D1F2E12C4247F8BCE6E563A440F277037D812DEB33A0F4A13945D898C2964FE342E2FE1A7F9B8EE7EB4A7C0F9E162BCE33576B315ECECBB6406837BF51F5");return new r(u,p,s,c)}}}(),Td.ECKey=function(o,n,i){var s,c=o(),u=c.getN(),p=Math.floor(u.bitLength()/8);if(n)if(i){o=c.getCurve();this.P=o.decodePointHex(n.toString("hex"))}else{if(n.length!=p)return!1;s=new t(n.toString("hex"),16)}else{var l=u.subtract(t.ONE),d=new t(e.randomBytes(u.bitLength()));s=d.mod(l).add(t.ONE),this.P=c.getG().multiply(s)}this.P&&(this.PublicKey=r.from(c.getCurve().encodeCompressedPointHex(this.P),"hex")),s&&(this.PrivateKey=r.from(a(s.toString(16),2*p),"hex"),this.deriveSharedSecret=function(e){if(!e||!e.P)return!1;var t=e.P.multiply(s);return r.from(a(t.getX().toBigInteger().toString(16),2*p),"hex")})},Td}function Ad(){if(Bl)return zl;Bl=1,zl={DiffieHellman:l,generateECDSA:function(e){var a=[];if(c){var o={nistp256:"prime256v1",nistp384:"secp384r1",nistp521:"secp521r1"}[e],n=t.createECDH(o);return n.generateKeys(),a.push({name:"curve",data:r.from(e)}),a.push({name:"Q",data:n.getPublicKey()}),a.push({name:"d",data:n.getPrivateKey()}),new s({type:"ecdsa",curve:e,parts:a})}var i=new d(e),u=i.getN(),l=Math.ceil((u.bitLength()+64)/8),m=new p(t.randomBytes(l)),h=u.subtract(p.ONE),f=m.mod(h).add(p.ONE),g=i.getG().multiply(f);return f=r.from(f.toByteArray()),g=r.from(i.getCurve().encodePointHex(g),"hex"),a.push({name:"curve",data:r.from(e)}),a.push({name:"Q",data:g}),a.push({name:"d",data:f}),new s({type:"ecdsa",curve:e,parts:a})},generateED25519:function(){var t=n.sign.keyPair(),a=r.from(t.secretKey),o=r.from(t.publicKey);e.strictEqual(a.length,64),e.strictEqual(o.length,32);var i=[];return i.push({name:"A",data:o}),i.push({name:"k",data:a.slice(0,32)}),new s({type:"ed25519",parts:i})}};var e=Xp(),t=x.default,r=Wp().Buffer,a=Yp(),o=Al(),n=Ol(),i=Xd(),s=Md(),c=void 0!==t.createECDH;Od();var u=wl(),p=kl().BigInteger;function l(e){if(o.assertCompatible(e,i,[1,4],"key"),this._isPriv=s.isPrivateKey(e,[1,3]),this._algo=e.type,this._curve=e.curve,this._key=e,"dsa"===e.type){if(!c)throw new Error("Due to bugs in the node 0.10 crypto API, node 0.12.x or later is required to use DH");this._dh=t.createDiffieHellman(e.part.p.data,void 0,e.part.g.data,void 0),this._p=e.part.p,this._g=e.part.g,this._isPriv&&this._dh.setPrivateKey(e.part.x.data),this._dh.setPublicKey(e.part.y.data)}else if("ecdsa"===e.type){if(!c)return this._ecParams=new d(this._curve),void(this._isPriv&&(this._priv=new h(this._ecParams,e.part.d.data)));var r={nistp256:"prime256v1",nistp384:"secp384r1",nistp521:"secp521r1"}[e.curve];if(this._dh=t.createECDH(r),"object"!=typeof this._dh||"function"!=typeof this._dh.setPrivateKey)return c=!1,void l.call(this,e);this._isPriv&&this._dh.setPrivateKey(e.part.d.data),this._dh.setPublicKey(e.part.Q.data)}else{if("curve25519"!==e.type)throw new Error("DH not supported for "+e.type+" keys");this._isPriv&&(o.assertCompatible(e,s,[1,5],"key"),this._priv=e.part.k.data)}}function d(t){var r=a.curves[t];e.object(r);var o=new p(r.p),n=new p(r.a),i=new p(r.b),s=new p(r.n),c=p.ONE,l=new u.ECCurveFp(o,n,i),d=l.decodePointHex(r.G.toString("hex"));this.curve=l,this.g=d,this.n=s,this.h=c}function m(e,t){this._params=e,0===t[0]&&(t=t.slice(1)),this._pub=e.getCurve().decodePointHex(t.toString("hex"))}function h(e,t){this._params=e,this._priv=new p(o.mpNormalize(t))}return l.prototype.getPublicKey=function(){return this._isPriv?this._key.toPublic():this._key},l.prototype.getPrivateKey=function(){return this._isPriv?this._key:void 0},l.prototype.getKey=l.prototype.getPrivateKey,l.prototype._keyCheck=function(t,r){if(e.object(t,"key"),r||o.assertCompatible(t,s,[1,3],"key"),o.assertCompatible(t,i,[1,4],"key"),t.type!==this._algo)throw new Error("A "+t.type+" key cannot be used in "+this._algo+" Diffie-Hellman");if(t.curve!==this._curve)throw new Error("A key from the "+t.curve+" curve cannot be used with a "+this._curve+" Diffie-Hellman");"dsa"===t.type&&(e.deepEqual(t.part.p,this._p,"DSA key prime does not match"),e.deepEqual(t.part.g,this._g,"DSA key generator does not match"))},l.prototype.setKey=function(e){if(this._keyCheck(e),"dsa"===e.type)this._dh.setPrivateKey(e.part.x.data),this._dh.setPublicKey(e.part.y.data);else if("ecdsa"===e.type)c?(this._dh.setPrivateKey(e.part.d.data),this._dh.setPublicKey(e.part.Q.data)):this._priv=new h(this._ecParams,e.part.d.data);else if("curve25519"===e.type){var t=e.part.k;e.part.k||(t=e.part.r),this._priv=t.data,0===this._priv[0]&&(this._priv=this._priv.slice(1)),this._priv=this._priv.slice(0,32)}this._key=e,this._isPriv=!0},l.prototype.setPrivateKey=l.prototype.setKey,l.prototype.computeSecret=function(t){if(this._keyCheck(t,!0),!this._isPriv)throw new Error("DH exchange has not been initialized with a private key yet");var a;if("dsa"===this._algo)return this._dh.computeSecret(t.part.y.data);if("ecdsa"===this._algo)return c?this._dh.computeSecret(t.part.Q.data):(a=new m(this._ecParams,t.part.Q.data),this._priv.deriveSharedSecret(a));if("curve25519"===this._algo){for(a=t.part.A.data;0===a[0]&&a.length>32;)a=a.slice(1);var o=this._priv;e.strictEqual(a.length,32),e.strictEqual(o.length,32);var i=n.box.before(new Uint8Array(a),new Uint8Array(o));return r.from(i)}throw new Error("Invalid algorithm: "+this._algo)},l.prototype.generateKey=function(){var a,o,i=[];if("dsa"===this._algo)return this._dh.generateKeys(),i.push({name:"p",data:this._p.data}),i.push({name:"q",data:this._key.part.q.data}),i.push({name:"g",data:this._g.data}),i.push({name:"y",data:this._dh.getPublicKey()}),i.push({name:"x",data:this._dh.getPrivateKey()}),this._key=new s({type:"dsa",parts:i}),this._isPriv=!0,this._key;if("ecdsa"===this._algo){if(c)return this._dh.generateKeys(),i.push({name:"curve",data:r.from(this._curve)}),i.push({name:"Q",data:this._dh.getPublicKey()}),i.push({name:"d",data:this._dh.getPrivateKey()}),this._key=new s({type:"ecdsa",curve:this._curve,parts:i}),this._isPriv=!0,this._key;var u=this._ecParams.getN(),l=new p(t.randomBytes(u.bitLength())),d=u.subtract(p.ONE);return a=l.mod(d).add(p.ONE),o=this._ecParams.getG().multiply(a),a=r.from(a.toByteArray()),o=r.from(this._ecParams.getCurve().encodePointHex(o),"hex"),this._priv=new h(this._ecParams,a),i.push({name:"curve",data:r.from(this._curve)}),i.push({name:"Q",data:o}),i.push({name:"d",data:a}),this._key=new s({type:"ecdsa",curve:this._curve,parts:i}),this._isPriv=!0,this._key}if("curve25519"===this._algo){var m=n.box.keyPair();return a=r.from(m.secretKey),o=r.from(m.publicKey),a=r.concat([a,o]),e.strictEqual(a.length,64),e.strictEqual(o.length,32),i.push({name:"A",data:o}),i.push({name:"k",data:a}),this._key=new s({type:"curve25519",parts:i}),this._isPriv=!0,this._key}throw new Error("Invalid algorithm: "+this._algo)},l.prototype.generateKeys=l.prototype.generateKey,d.prototype.getCurve=function(){return this.curve},d.prototype.getG=function(){return this.g},d.prototype.getN=function(){return this.n},d.prototype.getH=function(){return this.h},h.prototype.deriveSharedSecret=function(t){e.ok(t instanceof m);var a=t._pub.multiply(this._priv);return r.from(a.getX().toBigInteger().toByteArray())},zl}function Id(){if(Ll)return $l;Ll=1,$l={Verifier:i,Signer:s};var e=Ol(),t=N.default,r=C.default,a=Xp(),o=Wp().Buffer,n=Fl();function i(e,r){if("sha512"!==r.toLowerCase())throw new Error("ED25519 only supports the use of SHA-512 hashes");this.key=e,this.chunks=[],t.Writable.call(this,{})}function s(e,r){if("sha512"!==r.toLowerCase())throw new Error("ED25519 only supports the use of SHA-512 hashes");this.key=e,this.chunks=[],t.Writable.call(this,{})}return r.inherits(i,t.Writable),i.prototype._write=function(e,t,r){this.chunks.push(e),r()},i.prototype.update=function(e){"string"==typeof e&&(e=o.from(e,"binary")),this.chunks.push(e)},i.prototype.verify=function(t,r){var i;if(n.isSignature(t,[2,0])){if("ed25519"!==t.type)return!1;i=t.toBuffer("raw")}else if("string"==typeof t)i=o.from(t,"base64");else if(n.isSignature(t,[1,0]))throw new Error("signature was created by too old a version of sshpk and cannot be verified");return a.buffer(i),e.sign.detached.verify(new Uint8Array(o.concat(this.chunks)),new Uint8Array(i),new Uint8Array(this.key.part.A.data))},r.inherits(s,t.Writable),s.prototype._write=function(e,t,r){this.chunks.push(e),r()},s.prototype.update=function(e){"string"==typeof e&&(e=o.from(e,"binary")),this.chunks.push(e)},s.prototype.sign=function(){var t=e.sign.detached(new Uint8Array(o.concat(this.chunks)),new Uint8Array(o.concat([this.key.part.k.data,this.key.part.A.data]))),r=o.from(t),a=n.parse(r,"ed25519","raw");return a.hashAlgorithm="sha512",a},$l}function Fd(){if(Ul)return ql;Ul=1,ql={read:function(e,t){return s.read(e,t,"pkcs8")},readPkcs8:function(a,s,p){p.peek()===t.Ber.Integer&&(e.strictEqual(s,"private","unexpected Integer at start of public key"),p.readString(t.Ber.Integer,!0));p.readSequence();var l=p.offset+p.length,d=p.readOID();switch(d){case"1.2.840.113549.1.1.1":return p._offset=l,"public"===s?function(e){e.readSequence(t.Ber.BitString),e.readByte(),e.readSequence();var r=c(e,"modulus"),a=c(e,"exponent"),o={type:"rsa",source:e.originalInput,parts:[{name:"e",data:a},{name:"n",data:r}]};return new n(o)}(p):function(r){r.readSequence(t.Ber.OctetString),r.readSequence();var a=c(r,"version");e.equal(a[0],0,"unknown RSA private key version");var o=c(r,"modulus"),n=c(r,"public exponent"),s=c(r,"private exponent"),u=c(r,"prime1"),p=c(r,"prime2"),l=c(r,"exponent1"),d=c(r,"exponent2"),m=c(r,"iqmp");return new i({type:"rsa",parts:[{name:"n",data:o},{name:"e",data:n},{name:"d",data:s},{name:"iqmp",data:m},{name:"p",data:u},{name:"q",data:p},{name:"dmodp",data:l},{name:"dmodq",data:d}]})}(p);case"1.2.840.10040.4.1":return"public"===s?function(e){e.readSequence();var r=c(e,"p"),a=c(e,"q"),o=c(e,"g");e.readSequence(t.Ber.BitString),e.readByte();var i=c(e,"y");return new n({type:"dsa",parts:[{name:"p",data:r},{name:"q",data:a},{name:"g",data:o},{name:"y",data:i}]})}(p):function(e){e.readSequence();var r=c(e,"p"),a=c(e,"q"),n=c(e,"g");e.readSequence(t.Ber.OctetString);var s=c(e,"x"),u=o.calculateDSAPublic(n,r,s);return new i({type:"dsa",parts:[{name:"p",data:r},{name:"q",data:a},{name:"g",data:n},{name:"y",data:u},{name:"x",data:s}]})}(p);case"1.2.840.10045.2.1":return"public"===s?function(a){var i=u(a);e.string(i,"a known elliptic curve");var s=a.readString(t.Ber.BitString,!0);s=o.ecNormalize(s);var c={type:"ecdsa",parts:[{name:"curve",data:r.from(i)},{name:"Q",data:s}]};return new n(c)}(p):function(a){var n=u(a);e.string(n,"a known elliptic curve"),a.readSequence(t.Ber.OctetString),a.readSequence();var s=c(a,"version");e.equal(s[0],1,"unknown version of ECDSA key");var p,l=a.readString(t.Ber.OctetString,!0);160==a.peek()&&(a.readSequence(160),a._offset+=a.length);161==a.peek()&&(a.readSequence(161),p=a.readString(t.Ber.BitString,!0),p=o.ecNormalize(p));if(void 0===p){p=o.publicFromPrivateECDSA(n,l).part.Q.data}var d={type:"ecdsa",parts:[{name:"curve",data:r.from(n)},{name:"Q",data:p},{name:"d",data:l}]};return new i(d)}(p);case"1.3.101.112":return"public"===s?function(e){0===e.peek()&&e.readByte();var t=o.readBitString(e),r={type:"ed25519",parts:[{name:"A",data:o.zeroPadToLength(t,32)}]};return new n(r)}(p):function(e){0===e.peek()&&e.readByte();e.readSequence(t.Ber.OctetString);var r,a=e.readString(t.Ber.OctetString,!0);a=o.zeroPadToLength(a,32),e.peek()===t.Ber.BitString?(r=o.readBitString(e),r=o.zeroPadToLength(r,32)):r=o.calculateED25519Public(a);var n={type:"ed25519",parts:[{name:"A",data:o.zeroPadToLength(r,32)},{name:"k",data:o.zeroPadToLength(a,32)}]};return new i(n)}(p);case"1.3.101.110":return"public"===s?function(e){var t=o.readBitString(e),r={type:"curve25519",parts:[{name:"A",data:o.zeroPadToLength(t,32)}]};return new n(r)}(p):function(e){0===e.peek()&&e.readByte();e.readSequence(t.Ber.OctetString);var r=e.readString(t.Ber.OctetString,!0);r=o.zeroPadToLength(r,32);var a=o.calculateX25519Public(r),n={type:"curve25519",parts:[{name:"A",data:o.zeroPadToLength(a,32)},{name:"k",data:o.zeroPadToLength(r,32)}]};return new i(n)}(p);default:throw new Error("Unknown key type OID "+d)}},write:function(e,t){return s.write(e,t,"pkcs8")},writePkcs8:p,pkcs8ToBuffer:function(e){var r=new t.BerWriter;return p(r,e),r.buffer},readECDSACurve:u,writeECDSACurve:l};var e=Xp(),t=fl(),r=Wp().Buffer,a=Yp(),o=Al(),n=Xd(),i=Md(),s=Bd();function c(r,a){return e.strictEqual(r.peek(),t.Ber.Integer,a+" is not an Integer"),o.mpNormalize(r.readString(t.Ber.Integer,!0))}function u(n){var i,s,c,u,p;if(n.peek()===t.Ber.OID){var l=n.readOID();for(s=Object.keys(a.curves),c=0;c<s.length;++c)if(u=s[c],(p=a.curves[u]).pkcs8oid===l){i=u;break}}else{n.readSequence();var d=n.readString(t.Ber.Integer,!0);e.strictEqual(d[0],1,"ECDSA key not version 1");var m={};n.readSequence();var h=n.readOID();e.strictEqual(h,"1.2.840.10045.1.1","ECDSA key is not from a prime-field");var f=m.p=o.mpNormalize(n.readString(t.Ber.Integer,!0));m.size=8*f.length-o.countZeros(f),n.readSequence(),m.a=o.mpNormalize(n.readString(t.Ber.OctetString,!0)),m.b=o.mpNormalize(n.readString(t.Ber.OctetString,!0)),n.peek()===t.Ber.BitString&&(m.s=n.readString(t.Ber.BitString,!0)),m.G=n.readString(t.Ber.OctetString,!0),e.strictEqual(m.G[0],4,"uncompressed G is required"),m.n=o.mpNormalize(n.readString(t.Ber.Integer,!0)),m.h=o.mpNormalize(n.readString(t.Ber.Integer,!0)),e.strictEqual(m.h[0],1,"a cofactor=1 curve is required"),s=Object.keys(a.curves);var g=Object.keys(m);for(c=0;c<s.length;++c){u=s[c],p=a.curves[u];for(var y=!0,v=0;v<g.length;++v){var b=g[v];if(void 0!==p[b])if("object"==typeof p[b]&&void 0!==p[b].equals){if(!p[b].equals(m[b])){y=!1;break}}else if(r.isBuffer(p[b])){if(p[b].toString("binary")!==m[b].toString("binary")){y=!1;break}}else if(p[b]!==m[b]){y=!1;break}}if(y){i=u;break}}}return i}function p(e,a){if(e.startSequence(),i.isPrivateKey(a)){var n=r.from([0]);e.writeBuffer(n,t.Ber.Integer)}switch(e.startSequence(),a.type){case"rsa":e.writeOID("1.2.840.113549.1.1.1"),i.isPrivateKey(a)?function(e,a){a.writeNull(),a.endSequence(),a.startSequence(t.Ber.OctetString),a.startSequence();var n=r.from([0]);a.writeBuffer(n,t.Ber.Integer),a.writeBuffer(e.part.n.data,t.Ber.Integer),a.writeBuffer(e.part.e.data,t.Ber.Integer),a.writeBuffer(e.part.d.data,t.Ber.Integer),a.writeBuffer(e.part.p.data,t.Ber.Integer),a.writeBuffer(e.part.q.data,t.Ber.Integer),e.part.dmodp&&e.part.dmodq||o.addRSAMissing(e);a.writeBuffer(e.part.dmodp.data,t.Ber.Integer),a.writeBuffer(e.part.dmodq.data,t.Ber.Integer),a.writeBuffer(e.part.iqmp.data,t.Ber.Integer),a.endSequence(),a.endSequence()}(a,e):function(e,r){r.writeNull(),r.endSequence(),r.startSequence(t.Ber.BitString),r.writeByte(0),r.startSequence(),r.writeBuffer(e.part.n.data,t.Ber.Integer),r.writeBuffer(e.part.e.data,t.Ber.Integer),r.endSequence(),r.endSequence()}(a,e);break;case"dsa":e.writeOID("1.2.840.10040.4.1"),i.isPrivateKey(a)?function(e,r){r.startSequence(),r.writeBuffer(e.part.p.data,t.Ber.Integer),r.writeBuffer(e.part.q.data,t.Ber.Integer),r.writeBuffer(e.part.g.data,t.Ber.Integer),r.endSequence(),r.endSequence(),r.startSequence(t.Ber.OctetString),r.writeBuffer(e.part.x.data,t.Ber.Integer),r.endSequence()}(a,e):function(e,r){r.startSequence(),r.writeBuffer(e.part.p.data,t.Ber.Integer),r.writeBuffer(e.part.q.data,t.Ber.Integer),r.writeBuffer(e.part.g.data,t.Ber.Integer),r.endSequence(),r.endSequence(),r.startSequence(t.Ber.BitString),r.writeByte(0),r.writeBuffer(e.part.y.data,t.Ber.Integer),r.endSequence()}(a,e);break;case"ecdsa":e.writeOID("1.2.840.10045.2.1"),i.isPrivateKey(a)?function(e,a){l(e,a),a.endSequence(),a.startSequence(t.Ber.OctetString),a.startSequence();var n=r.from([1]);a.writeBuffer(n,t.Ber.Integer),a.writeBuffer(e.part.d.data,t.Ber.OctetString),a.startSequence(161);var i=o.ecNormalize(e.part.Q.data,!0);a.writeBuffer(i,t.Ber.BitString),a.endSequence(),a.endSequence(),a.endSequence()}(a,e):function(e,r){l(e,r),r.endSequence();var a=o.ecNormalize(e.part.Q.data,!0);r.writeBuffer(a,t.Ber.BitString)}(a,e);break;case"ed25519":if(e.writeOID("1.3.101.112"),i.isPrivateKey(a))throw new Error("Ed25519 private keys in pkcs8 format are not supported");!function(e,t){t.endSequence(),o.writeBitString(t,e.part.A.data)}(a,e);break;default:throw new Error("Unsupported key type: "+a.type)}e.endSequence()}function l(e,o){var n=a.curves[e.curve];if(n.pkcs8oid)o.writeOID(n.pkcs8oid);else{o.startSequence();var i=r.from([1]);o.writeBuffer(i,t.Ber.Integer),o.startSequence(),o.writeOID("1.2.840.10045.1.1"),o.writeBuffer(n.p,t.Ber.Integer),o.endSequence(),o.startSequence();var s=n.p;0===s[0]&&(s=s.slice(1)),o.writeBuffer(s,t.Ber.OctetString),o.writeBuffer(n.b,t.Ber.OctetString),o.writeBuffer(n.s,t.Ber.BitString),o.endSequence(),o.writeBuffer(n.G,t.Ber.OctetString),o.writeBuffer(n.n,t.Ber.Integer);var c=n.h;c||(c=r.from([1])),o.writeBuffer(c,t.Ber.Integer),o.endSequence()}}return ql}function Rd(){if(Hl)return Ml;Hl=1,Ml={read:function(e,t){return s.read(e,t,"pkcs1")},readPkcs1:function(s,p,l){switch(s){case"RSA":if("public"===p)return function(e){var t=u(e,"modulus"),r=u(e,"exponent");return new n({type:"rsa",parts:[{name:"e",data:r},{name:"n",data:t}]})}(l);if("private"===p)return function(t){var r=u(t,"version");e.strictEqual(r[0],0);var a=u(t,"modulus"),o=u(t,"public exponent"),n=u(t,"private exponent"),s=u(t,"prime1"),c=u(t,"prime2"),p=u(t,"exponent1"),l=u(t,"exponent2"),d=u(t,"iqmp");return new i({type:"rsa",parts:[{name:"n",data:a},{name:"e",data:o},{name:"d",data:n},{name:"iqmp",data:d},{name:"p",data:s},{name:"q",data:c},{name:"dmodp",data:p},{name:"dmodq",data:l}]})}(l);throw new Error("Unknown key type: "+p);case"DSA":if("public"===p)return function(e){var t=u(e,"y"),r=u(e,"p"),a=u(e,"q"),o=u(e,"g");return new n({type:"dsa",parts:[{name:"y",data:t},{name:"p",data:r},{name:"q",data:a},{name:"g",data:o}]})}(l);if("private"===p)return function(t){var r=u(t,"version");e.strictEqual(r.readUInt8(0),0);var a=u(t,"p"),o=u(t,"q"),n=u(t,"g"),s=u(t,"y"),c=u(t,"x");return new i({type:"dsa",parts:[{name:"p",data:a},{name:"q",data:o},{name:"g",data:n},{name:"y",data:s},{name:"x",data:c}]})}(l);throw new Error("Unknown key type: "+p);case"EC":case"ECDSA":if("private"===p)return function(a){var n=u(a,"version");e.strictEqual(n.readUInt8(0),1);var s=a.readString(t.Ber.OctetString,!0);a.readSequence(160);var p=c(a);e.string(p,"a known elliptic curve"),a.readSequence(161);var l=a.readString(t.Ber.BitString,!0);l=o.ecNormalize(l);var d={type:"ecdsa",parts:[{name:"curve",data:r.from(p)},{name:"Q",data:l},{name:"d",data:s}]};return new i(d)}(l);if("public"===p)return function(i){i.readSequence();var s=i.readOID();e.strictEqual(s,"1.2.840.10045.2.1","must be ecPublicKey");for(var c,u=i.readOID(),p=Object.keys(a.curves),l=0;l<p.length;++l){var d=p[l];if(a.curves[d].pkcs8oid===u){c=d;break}}e.string(c,"a known ECDSA named curve");var m=i.readString(t.Ber.BitString,!0);m=o.ecNormalize(m);var h={type:"ecdsa",parts:[{name:"curve",data:r.from(c)},{name:"Q",data:m}]};return new n(h)}(l);throw new Error("Unknown key type: "+p);case"EDDSA":case"EdDSA":if("private"===p)return function(r){var a=u(r,"version");e.strictEqual(a.readUInt8(0),1);var n=r.readString(t.Ber.OctetString,!0);r.readSequence(160);var s=r.readOID();e.strictEqual(s,"1.3.101.112","the ed25519 curve identifier"),r.readSequence(161);var c=o.readBitString(r),p={type:"ed25519",parts:[{name:"A",data:o.zeroPadToLength(c,32)},{name:"k",data:n}]};return new i(p)}(l);throw new Error(p+" keys not supported with EdDSA");default:throw new Error("Unknown key algo: "+s)}},write:function(e,t){return s.write(e,t,"pkcs1")},writePkcs1:function(n,s){switch(n.startSequence(),s.type){case"rsa":i.isPrivateKey(s)?function(e,a){var n=r.from([0]);e.writeBuffer(n,t.Ber.Integer),e.writeBuffer(a.part.n.data,t.Ber.Integer),e.writeBuffer(a.part.e.data,t.Ber.Integer),e.writeBuffer(a.part.d.data,t.Ber.Integer),e.writeBuffer(a.part.p.data,t.Ber.Integer),e.writeBuffer(a.part.q.data,t.Ber.Integer),a.part.dmodp&&a.part.dmodq||o.addRSAMissing(a);e.writeBuffer(a.part.dmodp.data,t.Ber.Integer),e.writeBuffer(a.part.dmodq.data,t.Ber.Integer),e.writeBuffer(a.part.iqmp.data,t.Ber.Integer)}(n,s):function(e,r){e.writeBuffer(r.part.n.data,t.Ber.Integer),e.writeBuffer(r.part.e.data,t.Ber.Integer)}(n,s);break;case"dsa":i.isPrivateKey(s)?function(e,a){var o=r.from([0]);e.writeBuffer(o,t.Ber.Integer),e.writeBuffer(a.part.p.data,t.Ber.Integer),e.writeBuffer(a.part.q.data,t.Ber.Integer),e.writeBuffer(a.part.g.data,t.Ber.Integer),e.writeBuffer(a.part.y.data,t.Ber.Integer),e.writeBuffer(a.part.x.data,t.Ber.Integer)}(n,s):function(e,r){e.writeBuffer(r.part.y.data,t.Ber.Integer),e.writeBuffer(r.part.p.data,t.Ber.Integer),e.writeBuffer(r.part.q.data,t.Ber.Integer),e.writeBuffer(r.part.g.data,t.Ber.Integer)}(n,s);break;case"ecdsa":i.isPrivateKey(s)?function(n,i){var s=r.from([1]);n.writeBuffer(s,t.Ber.Integer),n.writeBuffer(i.part.d.data,t.Ber.OctetString),n.startSequence(160);var c=i.part.curve.data.toString(),u=a.curves[c].pkcs8oid;e.string(u,"a known ECDSA named curve"),n.writeOID(u),n.endSequence(),n.startSequence(161);var p=o.ecNormalize(i.part.Q.data,!0);n.writeBuffer(p,t.Ber.BitString),n.endSequence()}(n,s):function(r,n){r.startSequence(),r.writeOID("1.2.840.10045.2.1");var i=n.part.curve.data.toString(),s=a.curves[i].pkcs8oid;e.string(s,"a known ECDSA named curve"),r.writeOID(s),r.endSequence();var c=o.ecNormalize(n.part.Q.data,!0);r.writeBuffer(c,t.Ber.BitString)}(n,s);break;case"ed25519":i.isPrivateKey(s)?function(e,a){var n=r.from([1]);e.writeBuffer(n,t.Ber.Integer),e.writeBuffer(a.part.k.data,t.Ber.OctetString),e.startSequence(160),e.writeOID("1.3.101.112"),e.endSequence(),e.startSequence(161),o.writeBitString(e,a.part.A.data),e.endSequence()}(n,s):function(e,t){throw new Error("Public keys are not supported for EdDSA PKCS#1")}();break;default:throw new Error("Unknown key algo: "+s.type)}n.endSequence()}};var e=Xp(),t=fl(),r=Wp().Buffer,a=Yp(),o=Al(),n=Xd(),i=Md(),s=Bd(),c=Fd().readECDSACurve;function u(r,a){return e.strictEqual(r.peek(),t.Ber.Integer,a+" is not an Integer"),o.mpNormalize(r.readString(t.Ber.Integer,!0))}return Ml}function Dd(){if(Vl)return Kl;Vl=1,Kl={read:u.bind(void 0,!1,void 0),readType:u.bind(void 0,!1),write:function(o,s){e.object(o);var u,p=c(o),l=r.info[o.type];n.isPrivateKey(o)&&(l=r.privInfo[o.type]);var d=l.parts,m=new i({});for(m.writeString(p),u=0;u<d.length;++u){var h=o.part[d[u]].data;!1!==l.normalize&&(h="ed25519"===o.type?a.zeroPadToLength(h,32):a.mpNormalize(h)),"ed25519"===o.type&&"k"===d[u]&&(h=t.concat([h,o.part.A.data])),m.writeBuffer(h)}return m.toBuffer()},readPartial:u.bind(void 0,!0),readInternal:u,keyTypeToAlg:c,algToKeyType:s};var e=Xp(),t=Wp().Buffer,r=Yp(),a=Al(),o=Xd(),n=Md(),i=Il();function s(t){if(e.string(t),"ssh-dss"===t)return"dsa";if("ssh-rsa"===t)return"rsa";if("ssh-ed25519"===t)return"ed25519";if("ssh-curve25519"===t)return"curve25519";if(t.match(/^ecdsa-sha2-/))return"ecdsa";throw new Error("Unknown algorithm "+t)}function c(t){if(e.object(t),"dsa"===t.type)return"ssh-dss";if("rsa"===t.type)return"ssh-rsa";if("ed25519"===t.type)return"ssh-ed25519";if("curve25519"===t.type)return"ssh-curve25519";if("ecdsa"===t.type)return"ecdsa-sha2-"+t.part.curve.data.toString();throw new Error("Unknown key type "+t.type)}function u(c,u,p,l){"string"==typeof p&&(p=t.from(p)),e.buffer(p,"buf");var d={},m=d.parts=[],h=new i({buffer:p}),f=h.readString();e.ok(!h.atEnd(),"key must have at least one part"),d.type=s(f);var g=r.info[d.type].parts.length;for(u&&"private"===u&&(g=r.privInfo[d.type].parts.length);!h.atEnd()&&m.length<g;)m.push(h.readPart());for(;!c&&!h.atEnd();)m.push(h.readPart());e.ok(m.length>=1,"key must have at least one part"),e.ok(c||h.atEnd(),"leftover bytes at end of key");var y=o,v=r.info[d.type];if("private"!==u&&v.parts.length===m.length||(v=r.privInfo[d.type],y=n),e.strictEqual(v.parts.length,m.length),"ecdsa"===d.type){var b=/^ecdsa-sha2-(.+)$/.exec(f);e.ok(null!==b),e.strictEqual(b[1],m[0].data.toString())}for(var k=!0,w=0;w<v.parts.length;++w){var x,j=m[w];if(j.name=v.parts[w],"ed25519"===d.type&&"k"===j.name&&(j.data=j.data.slice(0,32)),"curve"!==j.name&&!1!==v.normalize)(x="ed25519"===d.type?a.zeroPadToLength(j.data,32):a.mpNormalize(j.data)).toString("binary")!==j.data.toString("binary")&&(j.data=x,k=!1)}return k&&(d._rfc4253Cache=h.toBuffer()),c&&"object"==typeof c&&(c.remainder=h.remainder(),c.consumed=h._offset),new y(d)}return Kl}function Nd(){if(Ql)return Gl;Ql=1;var e=Ol().lowlevel.crypto_hash,t=0,r=function(){this.S=[new Uint32Array([3509652390,2564797868,805139163,3491422135,3101798381,1780907670,3128725573,4046225305,614570311,3012652279,134345442,2240740374,1667834072,1901547113,2757295779,4103290238,227898511,1921955416,1904987480,2182433518,2069144605,3260701109,2620446009,720527379,3318853667,677414384,3393288472,3101374703,2390351024,1614419982,1822297739,2954791486,3608508353,3174124327,2024746970,1432378464,3864339955,2857741204,1464375394,1676153920,1439316330,715854006,3033291828,289532110,2706671279,2087905683,3018724369,1668267050,732546397,1947742710,3462151702,2609353502,2950085171,1814351708,2050118529,680887927,999245976,1800124847,3300911131,1713906067,1641548236,4213287313,1216130144,1575780402,4018429277,3917837745,3693486850,3949271944,596196993,3549867205,258830323,2213823033,772490370,2760122372,1774776394,2652871518,566650946,4142492826,1728879713,2882767088,1783734482,3629395816,2517608232,2874225571,1861159788,326777828,3124490320,2130389656,2716951837,967770486,1724537150,2185432712,2364442137,1164943284,2105845187,998989502,3765401048,2244026483,1075463327,1455516326,1322494562,910128902,469688178,1117454909,936433444,3490320968,3675253459,1240580251,122909385,2157517691,634681816,4142456567,3825094682,3061402683,2540495037,79693498,3249098678,1084186820,1583128258,426386531,1761308591,1047286709,322548459,995290223,1845252383,2603652396,3431023940,2942221577,3202600964,3727903485,1712269319,422464435,3234572375,1170764815,3523960633,3117677531,1434042557,442511882,3600875718,1076654713,1738483198,4213154764,2393238008,3677496056,1014306527,4251020053,793779912,2902807211,842905082,4246964064,1395751752,1040244610,2656851899,3396308128,445077038,3742853595,3577915638,679411651,2892444358,2354009459,1767581616,3150600392,3791627101,3102740896,284835224,4246832056,1258075500,768725851,2589189241,3069724005,3532540348,1274779536,3789419226,2764799539,1660621633,3471099624,4011903706,913787905,3497959166,737222580,2514213453,2928710040,3937242737,1804850592,3499020752,2949064160,2386320175,2390070455,2415321851,4061277028,2290661394,2416832540,1336762016,1754252060,3520065937,3014181293,791618072,3188594551,3933548030,2332172193,3852520463,3043980520,413987798,3465142937,3030929376,4245938359,2093235073,3534596313,375366246,2157278981,2479649556,555357303,3870105701,2008414854,3344188149,4221384143,3956125452,2067696032,3594591187,2921233993,2428461,544322398,577241275,1471733935,610547355,4027169054,1432588573,1507829418,2025931657,3646575487,545086370,48609733,2200306550,1653985193,298326376,1316178497,3007786442,2064951626,458293330,2589141269,3591329599,3164325604,727753846,2179363840,146436021,1461446943,4069977195,705550613,3059967265,3887724982,4281599278,3313849956,1404054877,2845806497,146425753,1854211946]),new Uint32Array([1266315497,3048417604,3681880366,3289982499,290971e4,1235738493,2632868024,2414719590,3970600049,1771706367,1449415276,3266420449,422970021,1963543593,2690192192,3826793022,1062508698,1531092325,1804592342,2583117782,2714934279,4024971509,1294809318,4028980673,1289560198,2221992742,1669523910,35572830,157838143,1052438473,1016535060,1802137761,1753167236,1386275462,3080475397,2857371447,1040679964,2145300060,2390574316,1461121720,2956646967,4031777805,4028374788,33600511,2920084762,1018524850,629373528,3691585981,3515945977,2091462646,2486323059,586499841,988145025,935516892,3367335476,2599673255,2839830854,265290510,3972581182,2759138881,3795373465,1005194799,847297441,406762289,1314163512,1332590856,1866599683,4127851711,750260880,613907577,1450815602,3165620655,3734664991,3650291728,3012275730,3704569646,1427272223,778793252,1343938022,2676280711,2052605720,1946737175,3164576444,3914038668,3967478842,3682934266,1661551462,3294938066,4011595847,840292616,3712170807,616741398,312560963,711312465,1351876610,322626781,1910503582,271666773,2175563734,1594956187,70604529,3617834859,1007753275,1495573769,4069517037,2549218298,2663038764,504708206,2263041392,3941167025,2249088522,1514023603,1998579484,1312622330,694541497,2582060303,2151582166,1382467621,776784248,2618340202,3323268794,2497899128,2784771155,503983604,4076293799,907881277,423175695,432175456,1378068232,4145222326,3954048622,3938656102,3820766613,2793130115,2977904593,26017576,3274890735,3194772133,1700274565,1756076034,4006520079,3677328699,720338349,1533947780,354530856,688349552,3973924725,1637815568,332179504,3949051286,53804574,2852348879,3044236432,1282449977,3583942155,3416972820,4006381244,1617046695,2628476075,3002303598,1686838959,431878346,2686675385,1700445008,1080580658,1009431731,832498133,3223435511,2605976345,2271191193,2516031870,1648197032,4164389018,2548247927,300782431,375919233,238389289,3353747414,2531188641,2019080857,1475708069,455242339,2609103871,448939670,3451063019,1395535956,2413381860,1841049896,1491858159,885456874,4264095073,4001119347,1565136089,3898914787,1108368660,540939232,1173283510,2745871338,3681308437,4207628240,3343053890,4016749493,1699691293,1103962373,3625875870,2256883143,3830138730,1031889488,3479347698,1535977030,4236805024,3251091107,2132092099,1774941330,1199868427,1452454533,157007616,2904115357,342012276,595725824,1480756522,206960106,497939518,591360097,863170706,2375253569,3596610801,1814182875,2094937945,3421402208,1082520231,3463918190,2785509508,435703966,3908032597,1641649973,2842273706,3305899714,1510255612,2148256476,2655287854,3276092548,4258621189,236887753,3681803219,274041037,1734335097,3815195456,3317970021,1899903192,1026095262,4050517792,356393447,2410691914,3873677099,3682840055]),new Uint32Array([3913112168,2491498743,4132185628,2489919796,1091903735,1979897079,3170134830,3567386728,3557303409,857797738,1136121015,1342202287,507115054,2535736646,337727348,3213592640,1301675037,2528481711,1895095763,1721773893,3216771564,62756741,2142006736,835421444,2531993523,1442658625,3659876326,2882144922,676362277,1392781812,170690266,3921047035,1759253602,3611846912,1745797284,664899054,1329594018,3901205900,3045908486,2062866102,2865634940,3543621612,3464012697,1080764994,553557557,3656615353,3996768171,991055499,499776247,1265440854,648242737,3940784050,980351604,3713745714,1749149687,3396870395,4211799374,3640570775,1161844396,3125318951,1431517754,545492359,4268468663,3499529547,1437099964,2702547544,3433638243,2581715763,2787789398,1060185593,1593081372,2418618748,4260947970,69676912,2159744348,86519011,2512459080,3838209314,1220612927,3339683548,133810670,1090789135,1078426020,1569222167,845107691,3583754449,4072456591,1091646820,628848692,1613405280,3757631651,526609435,236106946,48312990,2942717905,3402727701,1797494240,859738849,992217954,4005476642,2243076622,3870952857,3732016268,765654824,3490871365,2511836413,1685915746,3888969200,1414112111,2273134842,3281911079,4080962846,172450625,2569994100,980381355,4109958455,2819808352,2716589560,2568741196,3681446669,3329971472,1835478071,660984891,3704678404,4045999559,3422617507,3040415634,1762651403,1719377915,3470491036,2693910283,3642056355,3138596744,1364962596,2073328063,1983633131,926494387,3423689081,2150032023,4096667949,1749200295,3328846651,309677260,2016342300,1779581495,3079819751,111262694,1274766160,443224088,298511866,1025883608,3806446537,1145181785,168956806,3641502830,3584813610,1689216846,3666258015,3200248200,1692713982,2646376535,4042768518,1618508792,1610833997,3523052358,4130873264,2001055236,3610705100,2202168115,4028541809,2961195399,1006657119,2006996926,3186142756,1430667929,3210227297,1314452623,4074634658,4101304120,2273951170,1399257539,3367210612,3027628629,1190975929,2062231137,2333990788,2221543033,2438960610,1181637006,548689776,2362791313,3372408396,3104550113,3145860560,296247880,1970579870,3078560182,3769228297,1714227617,3291629107,3898220290,166772364,1251581989,493813264,448347421,195405023,2709975567,677966185,3703036547,1463355134,2715995803,1338867538,1343315457,2802222074,2684532164,233230375,2599980071,2000651841,3277868038,1638401717,4028070440,3237316320,6314154,819756386,300326615,590932579,1405279636,3267499572,3150704214,2428286686,3959192993,3461946742,1862657033,1266418056,963775037,2089974820,2263052895,1917689273,448879540,3550394620,3981727096,150775221,3627908307,1303187396,508620638,2975983352,2726630617,1817252668,1876281319,1457606340,908771278,3720792119,3617206836,2455994898,1729034894,1080033504]),new Uint32Array([976866871,3556439503,2881648439,1522871579,1555064734,1336096578,3548522304,2579274686,3574697629,3205460757,3593280638,3338716283,3079412587,564236357,2993598910,1781952180,1464380207,3163844217,3332601554,1699332808,1393555694,1183702653,3581086237,1288719814,691649499,2847557200,2895455976,3193889540,2717570544,1781354906,1676643554,2592534050,3230253752,1126444790,2770207658,2633158820,2210423226,2615765581,2414155088,3127139286,673620729,2805611233,1269405062,4015350505,3341807571,4149409754,1057255273,2012875353,2162469141,2276492801,2601117357,993977747,3918593370,2654263191,753973209,36408145,2530585658,25011837,3520020182,2088578344,530523599,2918365339,1524020338,1518925132,3760827505,3759777254,1202760957,3985898139,3906192525,674977740,4174734889,2031300136,2019492241,3983892565,4153806404,3822280332,352677332,2297720250,60907813,90501309,3286998549,1016092578,2535922412,2839152426,457141659,509813237,4120667899,652014361,1966332200,2975202805,55981186,2327461051,676427537,3255491064,2882294119,3433927263,1307055953,942726286,933058658,2468411793,3933900994,4215176142,1361170020,2001714738,2830558078,3274259782,1222529897,1679025792,2729314320,3714953764,1770335741,151462246,3013232138,1682292957,1483529935,471910574,1539241949,458788160,3436315007,1807016891,3718408830,978976581,1043663428,3165965781,1927990952,4200891579,2372276910,3208408903,3533431907,1412390302,2931980059,4132332400,1947078029,3881505623,4168226417,2941484381,1077988104,1320477388,886195818,18198404,3786409e3,2509781533,112762804,3463356488,1866414978,891333506,18488651,661792760,1628790961,3885187036,3141171499,876946877,2693282273,1372485963,791857591,2686433993,3759982718,3167212022,3472953795,2716379847,445679433,3561995674,3504004811,3574258232,54117162,3331405415,2381918588,3769707343,4154350007,1140177722,4074052095,668550556,3214352940,367459370,261225585,2610173221,4209349473,3468074219,3265815641,314222801,3066103646,3808782860,282218597,3406013506,3773591054,379116347,1285071038,846784868,2669647154,3771962079,3550491691,2305946142,453669953,1268987020,3317592352,3279303384,3744833421,2610507566,3859509063,266596637,3847019092,517658769,3462560207,3443424879,370717030,4247526661,2224018117,4143653529,4112773975,2788324899,2477274417,1456262402,2901442914,1517677493,1846949527,2295493580,3734397586,2176403920,1280348187,1908823572,3871786941,846861322,1172426758,3287448474,3383383037,1655181056,3139813346,901632758,1897031941,2986607138,3066810236,3447102507,1393639104,373351379,950779232,625454576,3124240540,4148612726,2007998917,544563296,2244738638,2330496472,2058025392,1291430526,424198748,50039436,29584100,3605783033,2429876329,2791104160,1057563949,3255363231,3075367218,3463963227,1469046755,985887462])],this.P=new Uint32Array([608135816,2242054355,320440878,57701188,2752067618,698298832,137296536,3964562569,1160258022,953160567,3193202383,887688300,3232508343,3380367581,1065670069,3041331479,2450970073,2306472731])};function a(e,t,r){return(e[0][t[r+3]]+e[1][t[r+2]]^e[2][t[r+1]])+e[3][t[r]]}function o(e,r){var a,o=0;for(a=0;a<4;a++,t++)t>=r&&(t=0),o=o<<8|e[t];return o}r.prototype.encipher=function(e,t){void 0===t&&(t=new Uint8Array(e.buffer),0!==e.byteOffset&&(t=t.subarray(e.byteOffset))),e[0]^=this.P[0];for(var r=1;r<16;r+=2)e[1]^=a(this.S,t,0)^this.P[r],e[0]^=a(this.S,t,4)^this.P[r+1];var o=e[0];e[0]=e[1]^this.P[17],e[1]=o},r.prototype.decipher=function(e){var t=new Uint8Array(e.buffer);0!==e.byteOffset&&(t=t.subarray(e.byteOffset)),e[0]^=this.P[17];for(var r=16;r>0;r-=2)e[1]^=a(this.S,t,0)^this.P[r],e[0]^=a(this.S,t,4)^this.P[r-1];var o=e[0];e[0]=e[1]^this.P[0],e[1]=o},r.prototype.expand0state=function(e,r){var a,n,i=new Uint32Array(2),s=new Uint8Array(i.buffer);for(a=0,t=0;a<18;a++)this.P[a]^=o(e,r);for(t=0,a=0;a<18;a+=2)this.encipher(i,s),this.P[a]=i[0],this.P[a+1]=i[1];for(a=0;a<4;a++)for(n=0;n<256;n+=2)this.encipher(i,s),this.S[a][n]=i[0],this.S[a][n+1]=i[1]},r.prototype.expandstate=function(e,r,a,n){var i,s,c=new Uint32Array(2);for(i=0,t=0;i<18;i++)this.P[i]^=o(a,n);for(i=0,t=0;i<18;i+=2)c[0]^=o(e,r),c[1]^=o(e,r),this.encipher(c),this.P[i]=c[0],this.P[i+1]=c[1];for(i=0;i<4;i++)for(s=0;s<256;s+=2)c[0]^=o(e,r),c[1]^=o(e,r),this.encipher(c),this.S[i][s]=c[0],this.S[i][s+1]=c[1];t=0},r.prototype.enc=function(e,t){for(var r=0;r<t;r++)this.encipher(e.subarray(2*r))},r.prototype.dec=function(e,t){for(var r=0;r<t;r++)this.decipher(e.subarray(2*r))};function n(e,t,a){var n,i=new r,s=new Uint32Array(8),c=new Uint8Array([79,120,121,99,104,114,111,109,97,116,105,99,66,108,111,119,102,105,115,104,83,119,97,116,68,121,110,97,109,105,116,101]);for(i.expandstate(t,64,e,64),n=0;n<64;n++)i.expand0state(t,64),i.expand0state(e,64);for(n=0;n<8;n++)s[n]=o(c,c.byteLength);for(n=0;n<64;n++)i.enc(s,s.byteLength/8);for(n=0;n<8;n++)a[4*n+3]=s[n]>>>24,a[4*n+2]=s[n]>>>16,a[4*n+1]=s[n]>>>8,a[4*n+0]=s[n]}return Gl={BLOCKS:8,HASHSIZE:32,hash:n,pbkdf:function(t,r,a,o,i,s,c){var u,p,l,d,m,h,f=new Uint8Array(64),g=new Uint8Array(64),y=new Uint8Array(32),v=new Uint8Array(32),b=new Uint8Array(o+4),k=s;if(c<1)return-1;if(0===r||0===o||0===s||s>y.byteLength*y.byteLength||o>1<<20)return-1;for(d=Math.floor((s+y.byteLength-1)/y.byteLength),l=Math.floor((s+d-1)/d),u=0;u<o;u++)b[u]=a[u];for(e(f,t,r),h=1;s>0;h++){for(b[o+0]=h>>>24,b[o+1]=h>>>16,b[o+2]=h>>>8,b[o+3]=h,e(g,b,o+4),n(f,g,v),u=y.byteLength;u--;)y[u]=v[u];for(u=1;u<c;u++)for(e(g,v,v.byteLength),n(f,g,v),p=0;p<y.byteLength;p++)y[p]^=v[p];for(l=Math.min(l,s),u=0;u<l&&!((m=u*d+(h-1))>=k);u++)i[m]=y[u];s-=u}return 0}},Gl}function zd(){if(Wl)return Xl;Wl=1,Xl={read:function(e,t){return i.read(e,t)},readSSHPrivate:function(n,i,l){var d=(i=new c({buffer:i})).readCString();e.strictEqual(d,p,"bad magic string");var m=i.readString(),h=i.readString(),f=i.readBuffer();if(1!==i.readInt())throw new Error("OpenSSH-format key file contains multiple keys: this is unsupported.");var g=i.readBuffer();if("public"===n)return e.ok(i.atEnd(),"excess bytes left after key"),s.read(g);var y=i.readBuffer();e.ok(i.atEnd(),"excess bytes left after key");var v=new c({buffer:f});switch(h){case"none":if("none"!==m)throw new Error('OpenSSH-format key uses KDF "none" but specifies a cipher other than "none"');break;case"bcrypt":var b=v.readBuffer(),k=v.readInt(),w=r.opensshCipherInfo(m);if(void 0===o&&(o=Nd()),"string"==typeof l.passphrase&&(l.passphrase=t.from(l.passphrase,"utf-8")),!t.isBuffer(l.passphrase))throw new u.KeyEncryptedError(l.filename,"OpenSSH");var x=new Uint8Array(l.passphrase),j=new Uint8Array(b),E=new Uint8Array(w.keySize+w.blockSize);if(0!==o.pbkdf(x,x.length,j,j.length,E,E.length,k))throw new Error("bcrypt_pbkdf function returned failure, parameters invalid");var S=(E=t.from(E)).slice(0,w.keySize),_=E.slice(w.keySize,w.keySize+w.blockSize),P=a.createDecipheriv(w.opensslName,S,_);P.setAutoPadding(!1);var C,T=[];for(P.once("error",(function(e){if(-1!==e.toString().indexOf("bad decrypt"))throw new Error("Incorrect passphrase supplied, could not decrypt key");throw e})),P.write(y),P.end();null!==(C=P.read());)T.push(C);y=t.concat(T);break;default:throw new Error('OpenSSH-format key uses unknown KDF "'+h+'"')}var O=(i=new c({buffer:y})).readInt(),A=i.readInt();if(O!==A)throw new Error("Incorrect passphrase supplied, could not decrypt key");var I={},F=s.readInternal(I,"private",i.remainder());i.skip(I.consumed);var R=i.readString();return F.comment=R,F},write:function(i,s){var u;u=n.isPrivateKey(i)?i.toPublic():i;var l,d,m="none",h="none",f=t.alloc(0),g={blockSize:8};void 0!==s&&("string"==typeof(l=s.passphrase)&&(l=t.from(l,"utf-8")),void 0!==l&&(e.buffer(l,"options.passphrase"),e.optionalString(s.cipher,"options.cipher"),void 0===(m=s.cipher)&&(m="aes128-ctr"),g=r.opensshCipherInfo(m),h="bcrypt"));if(n.isPrivateKey(i)){d=new c({});var y=a.randomBytes(4).readUInt32BE(0);d.writeInt(y),d.writeInt(y),d.write(i.toBuffer("rfc4253")),d.writeString(i.comment||"");for(var v=1;d._offset%g.blockSize!=0;)d.writeChar(v++);d=d.toBuffer()}switch(h){case"none":break;case"bcrypt":var b=a.randomBytes(16),k=new c({});k.writeBuffer(b),k.writeInt(16),f=k.toBuffer(),void 0===o&&(o=Nd());var w=new Uint8Array(l),x=new Uint8Array(b),j=new Uint8Array(g.keySize+g.blockSize);if(0!==o.pbkdf(w,w.length,x,x.length,j,j.length,16))throw new Error("bcrypt_pbkdf function returned failure, parameters invalid");var E=(j=t.from(j)).slice(0,g.keySize),S=j.slice(g.keySize,g.keySize+g.blockSize),_=a.createCipheriv(g.opensslName,E,S);_.setAutoPadding(!1);var P,C=[];for(_.once("error",(function(e){throw e})),_.write(d),_.end();null!==(P=_.read());)C.push(P);d=t.concat(C);break;default:throw new Error("Unsupported kdf "+h)}var T,O=new c({});O.writeCString(p),O.writeString(m),O.writeString(h),O.writeBuffer(f),O.writeInt(1),O.writeBuffer(u.toBuffer("rfc4253")),d&&O.writeBuffer(d);O=O.toBuffer(),T=n.isPrivateKey(i)?"OPENSSH PRIVATE KEY":"OPENSSH PUBLIC KEY";var A=O.toString("base64"),I=A.length+A.length/70+18+16+2*T.length+10;O=t.alloc(I);var F=0;F+=O.write("-----BEGIN "+T+"-----\n",F);for(var R=0;R<A.length;){var D=R+70;D>A.length&&(D=A.length),F+=O.write(A.slice(R,D),F),O[F++]=10,R=D}return F+=O.write("-----END "+T+"-----\n",F),O.slice(0,F)}};var e=Xp();fl();var t=Wp().Buffer;Yp();var r=Al(),a=x.default;Xd();var o,n=Md(),i=Bd(),s=Dd(),c=Il(),u=Zp();var p="openssh-key-v1";return Xl}function Bd(){if(Zl)return Yl;Zl=1,Yl={read:function(n,i,m){var f=n;"string"!=typeof n&&(e.buffer(n,"buf"),n=n.toString("ascii"));var g,y,v=n.trim().split(/[\r\n]+/g),b=-1;for(;!g&&b<v.length;)g=v[++b].match(/[-]+[ ]*BEGIN ([A-Z0-9][A-Za-z0-9]+ )?(PUBLIC|PRIVATE) KEY[ ]*[-]+/);e.ok(g,"invalid PEM header");var k=v.length;for(;!y&&k>0;)y=v[--k].match(/[-]+[ ]*END ([A-Z0-9][A-Za-z0-9]+ )?(PUBLIC|PRIVATE) KEY[ ]*[-]+/);e.ok(y,"invalid PEM footer"),e.equal(g[2],y[2]);var w,x=g[2].toLowerCase();g[1]&&(e.equal(g[1],y[1],"PEM header and footer mismatch"),w=g[1].trim());v=v.slice(b,k+1);var j,E,S,_={};for(;v=v.slice(1),g=v[0].match(/^([A-Za-z0-9-]+): (.+)$/);)_[g[1].toLowerCase()]=g[2];if(v=v.slice(0,-1).join(""),n=a.from(v,"base64"),_["proc-type"]){var P=_["proc-type"].split(",");if("4"===P[0]&&"ENCRYPTED"===P[1]){if("string"==typeof i.passphrase&&(i.passphrase=a.from(i.passphrase,"utf-8")),!a.isBuffer(i.passphrase))throw new l.KeyEncryptedError(i.filename,"PEM");P=_["dek-info"].split(","),e.ok(2===P.length),j=P[0].toLowerCase(),S=a.from(P[1],"hex"),E=o.opensslKeyDeriv(j,S,i.passphrase,1).key}}if(w&&"encrypted"===w.toLowerCase()){var C,T=new t.BerReader(n);T.readSequence(),T.readSequence(),C=T.offset+T.length;var O=T.readOID();if("1.2.840.113549.1.5.13"!==O)throw new Error("Unsupported PEM/PKCS8 encryption scheme: "+O);T.readSequence(),T.readSequence();var A=T.offset+T.length,I=T.readOID();if("1.2.840.113549.1.5.12"!==I)throw new Error("Unsupported PBES2 KDF: "+I);T.readSequence();var F=T.readString(t.Ber.OctetString,!0),R=T.readInt(),D="sha1";if(T.offset<A){T.readSequence();var N=T.readOID();if(void 0===(D=h[N]))throw new Error("Unsupported PBKDF2 hash: "+N)}T._offset=A,T.readSequence();var z=T.readOID();if(void 0===(j=d[z]))throw new Error("Unsupported PBES2 cipher: "+z);if(S=T.readString(t.Ber.OctetString,!0),T._offset=C,n=T.readString(t.Ber.OctetString,!0),"string"==typeof i.passphrase&&(i.passphrase=a.from(i.passphrase,"utf-8")),!a.isBuffer(i.passphrase))throw new l.KeyEncryptedError(i.filename,"PEM");var B=o.opensshCipherInfo(j);j=B.opensslName,E=o.pbkdf2(D,F,R,B.keySize,i.passphrase),w=void 0}if(j&&E&&S){var $,L=r.createDecipheriv(j,E,S),q=[];for(L.once("error",(function(e){if(-1!==e.toString().indexOf("bad decrypt"))throw new Error("Incorrect passphrase supplied, could not decrypt key");throw e})),L.write(n),L.end();null!==($=L.read());)q.push($);n=a.concat(q)}if(w&&"openssh"===w.toLowerCase())return u.readSSHPrivate(x,n,i);if(w&&"ssh2"===w.toLowerCase())return p.readType(x,n,i);var U=new t.BerReader(n);return U.originalInput=f,U.readSequence(),w?(m&&e.strictEqual(m,"pkcs1"),s.readPkcs1(w,x,U)):(m&&e.strictEqual(m,"pkcs8"),c.readPkcs8(w,x,U))},write:function(r,o,u){e.object(r);var p,l={ecdsa:"EC",rsa:"RSA",dsa:"DSA",ed25519:"EdDSA"}[r.type],d=new t.BerWriter;if(i.isPrivateKey(r))u&&"pkcs8"===u?(p="PRIVATE KEY",c.writePkcs8(d,r)):(u&&e.strictEqual(u,"pkcs1"),p=l+" PRIVATE KEY",s.writePkcs1(d,r));else{if(!n.isKey(r))throw new Error("key is not a Key or PrivateKey");u&&"pkcs1"===u?(p=l+" PUBLIC KEY",s.writePkcs1(d,r)):(u&&e.strictEqual(u,"pkcs8"),p="PUBLIC KEY",c.writePkcs8(d,r))}var m=d.buffer.toString("base64"),h=m.length+m.length/64+18+16+2*p.length+10,f=a.alloc(h),g=0;g+=f.write("-----BEGIN "+p+"-----\n",g);for(var y=0;y<m.length;){var v=y+64;v>m.length&&(v=m.length),g+=f.write(m.slice(y,v),g),f[g++]=10,y=v}return g+=f.write("-----END "+p+"-----\n",g),f.slice(0,g)}};var e=Xp(),t=fl(),r=x.default,a=Wp().Buffer;Yp();var o=Al(),n=Xd(),i=Md(),s=Rd(),c=Fd(),u=zd(),p=Dd(),l=Zp(),d={"1.2.840.113549.3.7":"3des-cbc","2.16.840.1.101.3.4.1.2":"aes128-cbc","2.16.840.1.101.3.4.1.42":"aes256-cbc"},m={};Object.keys(d).forEach((function(e){m[d[e]]=e}));var h={"1.2.840.113549.2.7":"sha1","1.2.840.113549.2.9":"sha256","1.2.840.113549.2.11":"sha512"},f={};return Object.keys(h).forEach((function(e){f[h[e]]=e})),Yl}function $d(){if(ed)return Jl;ed=1,Jl={read:function(a,i){"string"!=typeof a&&(e.buffer(a,"buf"),a=a.toString("ascii"));var s=a.trim().replace(/[\\\r]/g,""),c=s.match(o);c||(c=s.match(n));e.ok(c,"key must match regex");var u,p=r.algToKeyType(c[1]),l=t.from(c[2],"base64"),d={};if(c[4])try{u=r.read(l)}catch(a){c=s.match(n),e.ok(c,"key must match regex"),l=t.from(c[2],"base64"),u=r.readInternal(d,"public",l)}else u=r.readInternal(d,"public",l);if(e.strictEqual(p,u.type),c[4]&&c[4].length>0)u.comment=c[4];else if(d.consumed){var m=c[2]+(c[3]?c[3]:""),h=4*Math.ceil(d.consumed/3);for(m=m.slice(0,h-2).replace(/[^a-zA-Z0-9+\/=]/g,"")+m.slice(h-2),d.consumed%3>0&&"="!==m.slice(h-1,h)&&h--;"="===m.slice(h,h+1);)h++;var f=m.slice(h);(f=f.replace(/[\r\n]/g," ").replace(/^\s+/,"")).match(/^[a-zA-Z0-9]/)&&(u.comment=f)}return u},write:function(o,n){if(e.object(o),!a.isKey(o))throw new Error("Must be a public key");var i=[],s=r.keyTypeToAlg(o);i.push(s);var c=r.write(o);i.push(c.toString("base64")),o.comment&&i.push(o.comment);return t.from(i.join(" "))}};var e=Xp(),t=Wp().Buffer,r=Dd();Al();var a=Xd();Md(),zd();var o=/^([a-z0-9-]+)[ \t]+([a-zA-Z0-9+\/]+[=]*)([ \t]+([^ \t][^\n]*[\n]*)?)?$/,n=/^([a-z0-9-]+)[ \t\n]+([a-zA-Z0-9+\/][a-zA-Z0-9+\/ \t\n=]*)([^a-zA-Z0-9+\/ \t\n=].*)?$/;return Jl}function Ld(){if(rd)return td;rd=1,td={read:function(n,c){"string"!=typeof n&&(e.buffer(n,"buf"),n=n.toString("ascii"));var u=n.split("\n");if(u[0].match(/^Private-key-format\: v1/)){var p=u[1].split(" "),l=parseInt(p[1],10),d=p[2];if(!i[l])throw new Error("Unsupported algorithm: "+d);return function(e,r){if(i[e].match(/^RSA-/))return function(e){var t={};e.forEach((function(e){"Modulus:"===e.split(" ")[0]?t.n=s(e):"PublicExponent:"===e.split(" ")[0]?t.e=s(e):"PrivateExponent:"===e.split(" ")[0]?t.d=s(e):"Prime1:"===e.split(" ")[0]?t.p=s(e):"Prime2:"===e.split(" ")[0]?t.q=s(e):"Exponent1:"===e.split(" ")[0]?t.dmodp=s(e):"Exponent2:"===e.split(" ")[0]?t.dmodq=s(e):"Coefficient:"===e.split(" ")[0]&&(t.iqmp=s(e))}));var r={type:"rsa",parts:[{name:"e",data:o.mpNormalize(t.e)},{name:"n",data:o.mpNormalize(t.n)},{name:"d",data:o.mpNormalize(t.d)},{name:"p",data:o.mpNormalize(t.p)},{name:"q",data:o.mpNormalize(t.q)},{name:"dmodp",data:o.mpNormalize(t.dmodp)},{name:"dmodq",data:o.mpNormalize(t.dmodq)},{name:"iqmp",data:o.mpNormalize(t.iqmp)}]};return new a(r)}(r);if("ECDSA-P384-SHA384"===i[e]||"ECDSA-P256-SHA256"===i[e]){var n=t.from(r[0].split(" ")[1],"base64"),c="nistp384",u=384;"ECDSA-P256-SHA256"===i[e]&&(c="nistp256",u=256);var p=o.publicFromPrivateECDSA(c,n).part.Q.data,l={type:"ecdsa",curve:c,size:u,parts:[{name:"curve",data:t.from(c)},{name:"d",data:n},{name:"Q",data:p}]};return new a(l)}throw new Error("Unsupported algorithm: "+i[e])}(l,u.slice(2))}var m=0;for(;u[m].match(/^\;/);)m++;if((u[m].match(/\. IN KEY /)||u[m].match(/\. IN DNSKEY /))&&0===u[m+1].length)return function(e){var a=e.split(" "),n=parseInt(a[5],10);if(!i[n])throw new Error("Unsupported algorithm: "+n);var s=a.slice(6,a.length).join(),c=t.from(s,"base64");if(i[n].match(/^RSA-/)){var u=c.readUInt8(0);if(3!=u&&1!=u)throw new Error("Cannot parse dnssec key: unsupported exponent length");var p=c.slice(1,u+1);p=o.mpNormalize(p);var l=c.slice(1+u);l=o.mpNormalize(l);var d={type:"rsa",parts:[]};return d.parts.push({name:"e",data:p}),d.parts.push({name:"n",data:l}),new r(d)}if("ECDSA-P384-SHA384"===i[n]||"ECDSA-P256-SHA256"===i[n]){var m="nistp384",h=384;i[n].match(/^ECDSA-P256-SHA256/)&&(m="nistp256",h=256);var f={type:"ecdsa",curve:m,size:h,parts:[{name:"curve",data:t.from(m)},{name:"Q",data:o.ecNormalize(c)}]};return new r(f)}throw new Error("Unsupported algorithm: "+i[n])}(u[m]);throw new Error("Cannot parse dnssec key")},write:function(e,n){if(a.isPrivateKey(e)){if("rsa"===e.type)return function(e,r){e.part.dmodp&&e.part.dmodq||o.addRSAMissing(e);var a="";a+="Private-key-format: v1.3\n",a+="Algorithm: "+function(e){if(e&&e.hashAlgo&&"sha1"!==e.hashAlgo){if("sha256"===e.hashAlgo)return"8 (RSASHA256)";if("sha512"===e.hashAlgo)return"10 (RSASHA512)";throw new Error("Unknown or unsupported hash: "+e.hashAlgo)}return"5 (RSASHA1)"}(r)+"\n";var n=o.mpDenormalize(e.part.n.data);a+="Modulus: "+n.toString("base64")+"\n";var i=o.mpDenormalize(e.part.e.data);a+="PublicExponent: "+i.toString("base64")+"\n";var s=o.mpDenormalize(e.part.d.data);a+="PrivateExponent: "+s.toString("base64")+"\n";var u=o.mpDenormalize(e.part.p.data);a+="Prime1: "+u.toString("base64")+"\n";var p=o.mpDenormalize(e.part.q.data);a+="Prime2: "+p.toString("base64")+"\n";var l=o.mpDenormalize(e.part.dmodp.data);a+="Exponent1: "+l.toString("base64")+"\n";var d=o.mpDenormalize(e.part.dmodq.data);a+="Exponent2: "+d.toString("base64")+"\n";var m=o.mpDenormalize(e.part.iqmp.data);a+="Coefficient: "+m.toString("base64")+"\n";var h=new Date;return a+="Created: "+c(h)+"\n",a+="Publish: "+c(h)+"\n",a+="Activate: "+c(h)+"\n",t.from(a,"ascii")}(e,n);if("ecdsa"===e.type)return function(e,r){var a="";if(a+="Private-key-format: v1.3\n","nistp256"===e.curve)a+="Algorithm: 13 (ECDSAP256SHA256)\n";else{if("nistp384"!==e.curve)throw new Error("Unsupported curve");a+="Algorithm: 14 (ECDSAP384SHA384)\n"}var o=e.part.d.data.toString("base64");a+="PrivateKey: "+o+"\n";var n=new Date;return a+="Created: "+c(n)+"\n",a+="Publish: "+c(n)+"\n",a+="Activate: "+c(n)+"\n",t.from(a,"ascii")}(e);throw new Error("Unsupported algorithm: "+e.type)}throw r.isKey(e)?new Error('Format "dnssec" only supports writing private keys'):new Error("key is not a Key or PrivateKey")}};var e=Xp(),t=Wp().Buffer,r=Xd(),a=Md(),o=Al();Il(),Ad();var n={"rsa-sha1":5,"rsa-sha256":8,"rsa-sha512":10,"ecdsa-p256-sha256":13,"ecdsa-p384-sha384":14},i={};function s(e){return t.from(e.split(" ")[1],"base64")}function c(e){var t=e.getFullYear()+""+(e.getMonth()+1)+e.getUTCDate();return t+=""+e.getUTCHours()+e.getUTCMinutes(),t+=e.getUTCSeconds()}return Object.keys(n).forEach((function(e){i[n[e]]=e.toUpperCase()})),td}function qd(){if(od)return ad;od=1,ad={read:function(a,u){var p,l,d=a.toString("ascii").split(/[\r\n]+/),m=!1,h=0;for(;h<d.length;)if((p=c(d[h++]))&&(l={"putty-user-key-file-2":2,"putty-user-key-file-3":3}[p[0].toLowerCase()])){m=!0;break}if(!m)throw new Error("No PuTTY format first line found");var f=p[1];p=c(d[h++]),e.equal(p[0].toLowerCase(),"encryption");var g=p[1];p=c(d[h++]),e.equal(p[0].toLowerCase(),"comment");var y=p[1];p=c(d[h++]),e.equal(p[0].toLowerCase(),"public-lines");var v=parseInt(p[1],10);if(!isFinite(v)||v<0||v>d.length)throw new Error("Invalid public-lines count");var b=t.from(d.slice(h,h+v).join(""),"base64"),k=r.algToKeyType(f),w=r.read(b);if(w.type!==k)throw new Error("Outer key algorithm mismatch");if(d[h+=v]){p=c(d[h++]),e.equal(p[0].toLowerCase(),"private-lines");var x=parseInt(p[1],10);if(!isFinite(x)||x<0||x>d.length)throw new Error("Invalid private-lines count");var j=t.from(d.slice(h,h+x).join(""),"base64");if("none"!==g&&3===l)throw new Error("Encrypted keys arenot supported for PuTTY format version 3");if("aes256-cbc"===g){if(!u.passphrase)throw new s.KeyEncryptedError(u.filename,"PEM");var E=t.alloc(16,0),S=n.createDecipheriv("aes-256-cbc",(C=u.passphrase,T=n.createHash("sha1").update(t.concat([t.from([0,0,0,0]),t.from(C)])).digest(),O=n.createHash("sha1").update(t.concat([t.from([0,0,0,1]),t.from(C)])).digest(),t.concat([T,O]).slice(0,32)),E);S.setAutoPadding(!1),j=t.concat([S.update(j),S.final()])}if((w=new i(w)).type!==k)throw new Error("Outer key algorithm mismatch");var _,P=new o({buffer:j});if("ssh-dss"===f)_=[{name:"x",data:P.readBuffer()}];else if("ssh-rsa"===f)_=[{name:"d",data:P.readBuffer()},{name:"p",data:P.readBuffer()},{name:"q",data:P.readBuffer()},{name:"iqmp",data:P.readBuffer()}];else if(f.match(/^ecdsa-sha2-nistp/))_=[{name:"d",data:P.readBuffer()}];else{if("ssh-ed25519"!==f)throw new Error("Unsupported PPK key type: "+f);_=[{name:"k",data:P.readBuffer()}]}w=new i({type:w.type,parts:w.parts.concat(_)})}var C,T,O;return w.comment=y,w},write:function(o,n){if(e.object(o),!a.isKey(o))throw new Error("Must be a public key");var i=r.keyTypeToAlg(o),s=r.write(o),c=o.comment||"",u=function(e,t){var r=[],a=0;for(;a<e.length;)r.push(e.slice(a,a+64)),a+=64;return r}(s.toString("base64"));return u.unshift("Public-Lines: "+u.length),u.unshift("Comment: "+c),u.unshift("Encryption: none"),u.unshift("PuTTY-User-Key-File-2: "+i),t.from(u.join("\n")+"\n")}};var e=Xp(),t=Wp().Buffer,r=Dd(),a=Xd(),o=Il(),n=x.default,i=Md(),s=Zp();function c(e){var t=e.indexOf(":");if(-1===t)return null;var r=e.slice(0,t);for(++t;" "===e[t];)++t;return[r,e.slice(t)]}return ad}function Ud(){if(id)return nd;id=1,nd={read:function(s,u){if("string"==typeof s){if(s.trim().match(/^[-]+[ ]*BEGIN/))return r.read(s,u);if(s.match(/^\s*ssh-[a-z]/))return a.read(s,u);if(s.match(/^\s*ecdsa-/))return a.read(s,u);if(s.match(/^putty-user-key-file-2:/i))return i.read(s,u);if(c(s))return n.read(s,u);s=t.from(s,"binary")}else{if(e.buffer(s),function(e){var t=0;for(;t<e.length&&(32===e[t]||10===e[t]);)++t;if(45!==e[t])return!1;for(;t<e.length&&45===e[t];)++t;for(;t<e.length&&32===e[t];)++t;return!(t+5>e.length||"BEGIN"!==e.slice(t,t+5).toString("ascii"))}(s))return r.read(s,u);if(function(e){var t=0;for(;t<e.length&&(32===e[t]||10===e[t]||9===e[t]);)++t;return t+4<=e.length&&"ssh-"===e.slice(t,t+4).toString("ascii")||t+6<=e.length&&"ecdsa-"===e.slice(t,t+6).toString("ascii")}(s))return a.read(s,u);if(function(e){var t=0;for(;t<e.length&&(32===e[t]||10===e[t]||9===e[t]);)++t;return t+22<=e.length&&"putty-user-key-file-2:"===e.slice(t,t+22).toString("ascii").toLowerCase()}(s))return i.read(s,u);if(c(s))return n.read(s,u)}if(s.readUInt32BE(0)<s.length)return o.read(s,u);throw new Error("Failed to auto-detect format of key")},write:function(e,t){throw new Error('"auto" format cannot be used for writing')}};var e=Xp(),t=Wp().Buffer;Al(),Xd(),Md();var r=Bd(),a=$d(),o=Dd(),n=Ld(),i=qd(),s="Private-key-format: v1";function c(e){if(e.length<=s.length)return!1;if(e.slice(0,s.length).toString("ascii")===s)return!0;"string"!=typeof e&&(e=e.toString("ascii"));for(var t=e.split("\n"),r=0;t[r].match(/^\;/);)r++;return!!t[r].toString("ascii").match(/\. IN KEY /)||!!t[r].toString("ascii").match(/\. IN DNSKEY /)}return nd}function Md(){if(cd)return sd;cd=1,sd=g;var e=Xp(),t=Wp().Buffer,r=Yp(),a=x.default;Qd();var o=Fl(),n=Zp(),i=C.default,s=Al(),c=Ad(),u=c.generateECDSA,p=c.generateED25519,l=Id(),d=Ol(),m=Xd();n.InvalidAlgorithmError;var h=n.KeyParseError;n.KeyEncryptedError;var f={};function g(t){e.object(t,"options"),m.call(this,t),this._pubCache=void 0}return f.auto=Ud(),f.pem=Bd(),f.pkcs1=Rd(),f.pkcs8=Fd(),f.rfc4253=Dd(),f["ssh-private"]=zd(),f.openssh=f["ssh-private"],f.ssh=f["ssh-private"],f.dnssec=Ld(),f.putty=qd(),i.inherits(g,m),g.formats=f,g.prototype.toBuffer=function(t,r){return void 0===t&&(t="pkcs1"),e.string(t,"format"),e.object(f[t],"formats[format]"),e.optionalObject(r,"options"),f[t].write(this,r)},g.prototype.hash=function(e,t){return this.toPublic().hash(e,t)},g.prototype.fingerprint=function(e,t){return this.toPublic().fingerprint(e,t)},g.prototype.toPublic=function(){if(this._pubCache)return this._pubCache;for(var e=r.info[this.type],t=[],a=0;a<e.parts.length;++a){var o=e.parts[a];t.push(this.part[o])}return this._pubCache=new m({type:this.type,source:this,parts:t}),this.comment&&(this._pubCache.comment=this.comment),this._pubCache},g.prototype.derive=function(r){var a,o,n;if(e.string(r,"type"),"ed25519"===this.type&&"curve25519"===r)return 0===(a=this.part.k.data)[0]&&(a=a.slice(1)),n=d.box.keyPair.fromSecretKey(new Uint8Array(a)),o=t.from(n.publicKey),new g({type:"curve25519",parts:[{name:"A",data:s.mpNormalize(o)},{name:"k",data:s.mpNormalize(a)}]});if("curve25519"===this.type&&"ed25519"===r)return 0===(a=this.part.k.data)[0]&&(a=a.slice(1)),n=d.sign.keyPair.fromSeed(new Uint8Array(a)),o=t.from(n.publicKey),new g({type:"ed25519",parts:[{name:"A",data:s.mpNormalize(o)},{name:"k",data:s.mpNormalize(a)}]});throw new Error("Key derivation not supported from "+this.type+" to "+r)},g.prototype.createVerify=function(e){return this.toPublic().createVerify(e)},g.prototype.createSign=function(r){if(void 0===r&&(r=this.defaultHashAlgorithm()),e.string(r,"hash algorithm"),"ed25519"===this.type&&void 0!==l)return new l.Signer(this,r);if("curve25519"===this.type)throw new Error("Curve25519 keys are not suitable for signing or verification");var n,i,s;try{i=r.toUpperCase(),n=a.createSign(i)}catch(e){s=e}(void 0===n||s instanceof Error&&s.message.match(/Unknown message digest/))&&(i="RSA-",i+=r.toUpperCase(),n=a.createSign(i)),e.ok(n,"failed to create verifier");var c=n.sign.bind(n),u=this.toBuffer("pkcs1"),p=this.type,d=this.curve;return n.sign=function(){var e=c(u);return"string"==typeof e&&(e=t.from(e,"binary")),(e=o.parse(e,p,"asn1")).hashAlgorithm=r,e.curve=d,e},n},g.parse=function(t,r,a){"string"!=typeof t&&e.buffer(t,"data"),void 0===r&&(r="auto"),e.string(r,"format"),"string"==typeof a&&(a={filename:a}),e.optionalObject(a,"options"),void 0===a&&(a={}),e.optionalString(a.filename,"options.filename"),void 0===a.filename&&(a.filename="(unnamed)"),e.object(f[r],"formats[format]");try{var o=f[r].read(t,a);return e.ok(o instanceof g,"key is not a private key"),o.comment||(o.comment=a.filename),o}catch(e){if("KeyEncryptedError"===e.name)throw e;throw new h(a.filename,r,e)}},g.isPrivateKey=function(e,t){return s.isCompatible(e,g,t)},g.generate=function(t,r){switch(void 0===r&&(r={}),e.object(r,"options"),t){case"ecdsa":return void 0===r.curve&&(r.curve="nistp256"),e.string(r.curve,"options.curve"),u(r.curve);case"ed25519":return p();default:throw new Error('Key generation not supported with key type "'+t+'"')}},g.prototype._sshpkApiVersion=[1,6],g._oldVersionDetect=function(t){return e.func(t.toPublic),e.func(t.createSign),t.derive?[1,3]:t.defaultHashAlgorithm?[1,2]:t.formats.auto?[1,1]:[1,0]},sd}function Hd(){if(pd)return ud;pd=1,ud=s;var e=Xp();Yp(),Qd(),Fl(),Zp();var t=Al(),r=fl(),a=Wp().Buffer,o=/^([*]|[a-z0-9][a-z0-9\-]{0,62})(?:\.([*]|[a-z0-9][a-z0-9\-]{0,62}))*$/i,n={cn:"2.5.4.3",o:"2.5.4.10",ou:"2.5.4.11",l:"2.5.4.7",s:"2.5.4.8",c:"2.5.4.6",sn:"2.5.4.4",postalCode:"2.5.4.17",serialNumber:"2.5.4.5",street:"2.5.4.9",x500UniqueIdentifier:"2.5.4.45",role:"2.5.4.72",telephoneNumber:"2.5.4.20",description:"2.5.4.13",dc:"0.9.2342.19200300.100.1.25",uid:"0.9.2342.19200300.100.1.1",mail:"0.9.2342.19200300.100.1.3",title:"2.5.4.12",gn:"2.5.4.42",initials:"2.5.4.43",pseudonym:"2.5.4.65",emailAddress:"1.2.840.113549.1.9.1"},i={};function s(t){var r=this;if(e.object(t,"options"),e.arrayOfObject(t.components,"options.components"),this.components=t.components,this.componentLookup={},this.components.forEach((function(e){e.name&&!e.oid&&(e.oid=n[e.name]),e.oid&&!e.name&&(e.name=i[e.oid]),void 0===r.componentLookup[e.name]&&(r.componentLookup[e.name]=[]),r.componentLookup[e.name].push(e)})),this.componentLookup.cn&&this.componentLookup.cn.length>0&&(this.cn=this.componentLookup.cn[0].value),e.optionalString(t.type,"options.type"),void 0===t.type)1===this.components.length&&this.componentLookup.cn&&1===this.componentLookup.cn.length&&this.componentLookup.cn[0].value.match(o)?(this.type="host",this.hostname=this.componentLookup.cn[0].value):this.componentLookup.dc&&this.components.length===this.componentLookup.dc.length?(this.type="host",this.hostname=this.componentLookup.dc.map((function(e){return e.value})).join(".")):this.componentLookup.uid&&this.components.length===this.componentLookup.uid.length?(this.type="user",this.uid=this.componentLookup.uid[0].value):this.componentLookup.cn&&1===this.componentLookup.cn.length&&this.componentLookup.cn[0].value.match(o)?(this.type="host",this.hostname=this.componentLookup.cn[0].value):this.componentLookup.uid&&1===this.componentLookup.uid.length?(this.type="user",this.uid=this.componentLookup.uid[0].value):this.componentLookup.mail&&1===this.componentLookup.mail.length?(this.type="email",this.email=this.componentLookup.mail[0].value):this.componentLookup.cn&&1===this.componentLookup.cn.length?(this.type="user",this.uid=this.componentLookup.cn[0].value):this.type="unknown";else if(this.type=t.type,"host"===this.type)this.hostname=t.hostname;else if("user"===this.type)this.uid=t.uid;else{if("email"!==this.type)throw new Error("Unknown type "+this.type);this.email=t.email}}Object.keys(n).forEach((function(e){i[n[e]]=e})),s.prototype.toString=function(){return this.components.map((function(e){var t=e.name.toUpperCase();t=t.replace(/=/g,"\\=");var r=e.value;return t+"="+(r=r.replace(/,/g,"\\,"))})).join(", ")},s.prototype.get=function(t,r){e.string(t,"name");var a=this.componentLookup[t];if(void 0!==a&&0!==a.length){if(!r&&a.length>1)throw new Error("Multiple values for attribute "+t);return r?a.map((function(e){return e.value})):a[0].value}},s.prototype.toArray=function(e){return this.components.map((function(e){return{name:e.name,value:e.value}}))};var c=/[^a-zA-Z0-9 '(),+.\/:=?-]/,u=/[^\x00-\x7f]/;function p(e,t){if("**"===e||"**"===t)return!0;var r=e.split("."),a=t.split(".");if(r.length!==a.length)return!1;for(var o=0;o<r.length;++o)if("*"!==r[o]&&"*"!==a[o]&&r[o]!==a[o])return!1;return!0}return s.prototype.toAsn1=function(e,t){e.startSequence(t),this.components.forEach((function(t){if(e.startSequence(r.Ber.Constructor|r.Ber.Set),e.startSequence(),e.writeOID(t.oid),t.asn1type===r.Ber.Utf8String||t.value.match(u)){var o=a.from(t.value,"utf8");e.writeBuffer(o,r.Ber.Utf8String)}else if(t.asn1type===r.Ber.IA5String||t.value.match(c))e.writeString(t.value,r.Ber.IA5String);else{var n=r.Ber.PrintableString;void 0!==t.asn1type&&(n=t.asn1type),e.writeString(t.value,n)}e.endSequence(),e.endSequence()})),e.endSequence()},s.prototype.equals=function(e){if(!s.isIdentity(e,[1,0]))return!1;if(e.components.length!==this.components.length)return!1;for(var t=0;t<this.components.length;++t){if(this.components[t].oid!==e.components[t].oid)return!1;if(!p(this.components[t].value,e.components[t].value))return!1}return!0},s.forHost=function(t){return e.string(t,"hostname"),new s({type:"host",hostname:t,components:[{name:"cn",value:t}]})},s.forUser=function(t){return e.string(t,"uid"),new s({type:"user",uid:t,components:[{name:"uid",value:t}]})},s.forEmail=function(t){return e.string(t,"email"),new s({type:"email",email:t,components:[{name:"mail",value:t}]})},s.parseDN=function(t){e.string(t,"dn");for(var r=[""],a=0,o=t;o.length>0;){var n;if(null!==(n=/^,/.exec(o)))r[++a]="",o=o.slice(n[0].length);else if(null!==(n=/^\\,/.exec(o)))r[a]+=",",o=o.slice(n[0].length);else if(null!==(n=/^\\./.exec(o)))r[a]+=n[0],o=o.slice(n[0].length);else{if(null===(n=/^[^\\,]+/.exec(o)))throw new Error("Failed to parse DN");r[a]+=n[0],o=o.slice(n[0].length)}}return new s({components:r.map((function(e){for(var t=(e=e.trim()).indexOf("=");t>0&&"\\"===e.charAt(t-1);)t=e.indexOf("=",t+1);if(-1===t)throw new Error("Failed to parse DN");return{name:e.slice(0,t).toLowerCase().replace(/\\=/g,"="),value:e.slice(t+1)}}))})},s.fromArray=function(t){return e.arrayOfObject(t,"components"),t.forEach((function(t){if(e.object(t,"component"),e.string(t.name,"component.name"),!a.isBuffer(t.value)&&"string"!=typeof t.value)throw new Error("Invalid component value")})),new s({components:t})},s.parseAsn1=function(e,t){var a=[];e.readSequence(t);for(var o=e.offset+e.length;e.offset<o;){e.readSequence(r.Ber.Constructor|r.Ber.Set);var n=e.offset+e.length;e.readSequence();var i,c=e.readOID(),u=e.peek();switch(u){case r.Ber.PrintableString:case r.Ber.IA5String:case r.Ber.OctetString:case r.Ber.T61String:i=e.readString(u);break;case r.Ber.Utf8String:i=(i=e.readString(u,!0)).toString("utf8");break;case r.Ber.CharacterString:case r.Ber.BMPString:i=(i=e.readString(u,!0)).toString("utf16le");break;default:throw new Error("Unknown asn1 type "+u)}a.push({oid:c,asn1type:u,value:i}),e._offset=n}return e._offset=o,new s({components:a})},s.isIdentity=function(e,r){return t.isCompatible(e,s,r)},s.prototype._sshpkApiVersion=[1,0],s._oldVersionDetect=function(e){return[1,0]},ud}function Kd(){if(dd)return ld;dd=1,ld={read:function(e,t){a.isBuffer(e)&&(e=e.toString("ascii"));var r=e.trim().split(/[ \t\n]+/g);if(r.length<2||r.length>3)throw new Error("Not a valid SSH certificate line");var o=r[0],n=r[1];return m(n=a.from(n,"base64"),o)},verify:function(e,t){return!1},sign:function(e,t){void 0===e.signatures.openssh&&(e.signatures.openssh={});try{var r=g(e,!0)}catch(t){return delete e.signatures.openssh,!1}var a=e.signatures.openssh,o=void 0;"rsa"!==t.type&&"dsa"!==t.type||(o="sha1");var n=t.createSign(o);return n.write(r),a.signature=n.sign(),!0},signAsync:function(e,t,r){void 0===e.signatures.openssh&&(e.signatures.openssh={});try{var a=g(e,!0)}catch(t){return delete e.signatures.openssh,void r(t)}var o=e.signatures.openssh;t(a,(function(e,t){if(e)r(e);else{try{t.toBuffer("ssh")}catch(e){return void r(e)}o.signature=t,r()}}))},write:function(e,t){void 0===t&&(t={});var r=g(e),a=y(e.subjectKey)+" "+r.toString("base64");t.comment&&(a=a+" "+t.comment);return a},fromBuffer:m,toBuffer:g};var e=Xp(),t=Il(),r=x.default,a=Wp().Buffer,o=Yp(),n=Xd();Md();var i=Hd(),s=Dd(),c=Fl(),u=Al(),p=Gd();var l={user:1,host:2};Object.keys(l).forEach((function(e){l[l[e]]=e}));var d=/^ecdsa-sha2-([^@-]+)-cert-v01@openssh.com$/;function m(r,a,m){var f=new t({buffer:r}),g=f.readString();if(void 0!==a&&g!==a)throw new Error("SSH certificate algorithm mismatch");void 0===a&&(a=g);var y={signatures:{}};y.signatures.openssh={},y.signatures.openssh.nonce=f.readBuffer();var v={},b=v.parts=[];v.type=function(e){if("ssh-rsa-cert-v01@openssh.com"===e)return"rsa";if("ssh-dss-cert-v01@openssh.com"===e)return"dsa";if(e.match(d))return"ecdsa";if("ssh-ed25519-cert-v01@openssh.com"===e)return"ed25519";throw new Error("Unsupported cert type "+e)}(a);for(var k=o.info[v.type].parts.length;b.length<k;)b.push(f.readPart());e.ok(b.length>=1,"key must have at least one part");var w=o.info[v.type];if("ecdsa"===v.type){var x=d.exec(a);e.ok(null!==x),e.strictEqual(x[1],b[0].data.toString())}for(var j=0;j<w.parts.length;++j)if(b[j].name=w.parts[j],"curve"!==b[j].name&&!1!==w.normalize){var E=b[j];E.data=u.mpNormalize(E.data)}y.subjectKey=new n(v),y.serial=f.readInt64();var S=l[f.readInt()];e.string(S,"valid cert type"),y.signatures.openssh.keyId=f.readString();for(var _=[],P=f.readBuffer(),C=new t({buffer:P});!C.atEnd();)_.push(C.readString());0===_.length&&(_=["*"]),y.subjects=_.map((function(e){if("user"===S)return i.forUser(e);if("host"===S)return i.forHost(e);throw new Error("Unknown identity type "+S)})),y.validFrom=h(f.readInt64()),y.validUntil=h(f.readInt64());for(var T,O=[],A=new t({buffer:f.readBuffer()});!A.atEnd();)(T={critical:!0}).name=A.readString(),T.data=A.readBuffer(),O.push(T);for(A=new t({buffer:f.readBuffer()});!A.atEnd();)(T={critical:!1}).name=A.readString(),T.data=A.readBuffer(),O.push(T);y.signatures.openssh.exts=O,f.readBuffer();var I=f.readBuffer();y.issuerKey=s.read(I),y.issuer=i.forHost("**");var F=f.readBuffer();return y.signatures.openssh.signature=c.parse(F,y.issuerKey.type,"ssh"),void 0!==m&&(m.remainder=f.remainder(),m.consumed=f._offset),new p(y)}function h(e){var t=4294967296*e.readUInt32BE(0);t+=e.readUInt32BE(4);var r=new Date;return r.setTime(1e3*t),r.sourceInt64=e,r}function f(e){if(void 0!==e.sourceInt64)return e.sourceInt64;var t=Math.round(e.getTime()/1e3),r=Math.floor(t/4294967296),o=Math.floor(t%4294967296),n=a.alloc(8);return n.writeUInt32BE(r,0),n.writeUInt32BE(o,4),n}function g(n,i){e.object(n.signatures.openssh,"signature for openssh format");var c=n.signatures.openssh;void 0===c.nonce&&(c.nonce=r.randomBytes(16));var u=new t({});u.writeString(y(n.subjectKey)),u.writeBuffer(c.nonce);var p=n.subjectKey;o.info[p.type].parts.forEach((function(e){u.writePart(p.part[e])})),u.writeInt64(n.serial);var d=n.subjects[0].type;e.notStrictEqual(d,"unknown"),n.subjects.forEach((function(t){e.strictEqual(t.type,d)})),d=l[d],u.writeInt(d),void 0===c.keyId&&(c.keyId=n.subjects[0].type+"_"+(n.subjects[0].uid||n.subjects[0].hostname)),u.writeString(c.keyId);var m=new t({});n.subjects.forEach((function(e){d===l.host?m.writeString(e.hostname):d===l.user&&m.writeString(e.uid)})),u.writeBuffer(m.toBuffer()),u.writeInt64(f(n.validFrom)),u.writeInt64(f(n.validUntil));var h=c.exts;void 0===h&&(h=[]);var g=new t({});return h.forEach((function(e){!0===e.critical&&(g.writeString(e.name),g.writeBuffer(e.data))})),u.writeBuffer(g.toBuffer()),g=new t({}),h.forEach((function(e){!0!==e.critical&&(g.writeString(e.name),g.writeBuffer(e.data))})),u.writeBuffer(g.toBuffer()),u.writeBuffer(a.alloc(0)),m=s.write(n.issuerKey),u.writeBuffer(m),i||u.writeBuffer(c.signature.toBuffer("ssh")),u.toBuffer()}function y(e){if("rsa"===e.type)return"ssh-rsa-cert-v01@openssh.com";if("dsa"===e.type)return"ssh-dss-cert-v01@openssh.com";if("ecdsa"===e.type)return"ecdsa-sha2-"+e.curve+"-cert-v01@openssh.com";if("ed25519"===e.type)return"ssh-ed25519-cert-v01@openssh.com";throw new Error("Unsupported key type "+e.type)}return ld}function Vd(){if(hd)return md;hd=1,md={read:function(u,l){"string"==typeof u&&(u=r.from(u,"binary"));e.buffer(u,"buf");var d=new t.BerReader(u);if(d.readSequence(),Math.abs(d.length-d.remain)>1)throw new Error("DER sequence does not contain whole byte stream");var m=d.offset;d.readSequence();var h=d.offset+d.length,g=h;if(d.peek()===c(0)){d.readSequence(c(0));var y=d.readInt();e.ok(y<=3,"only x.509 versions up to v3 supported")}var v={signatures:{}},b=v.signatures.x509={};b.extras={},v.serial=function(r,o){return e.strictEqual(r.peek(),t.Ber.Integer,o+" is not an Integer"),a.mpNormalize(r.readString(t.Ber.Integer,!0))}(d,"serial"),d.readSequence();var k=d.offset+d.length,x=d.readOID();if(void 0===p[x])throw new Error("unknown signature algorithm "+x);d._offset=k,v.issuer=o.parseAsn1(d),d.readSequence(),v.validFrom=f(d),v.validUntil=f(d),v.subjects=[o.parseAsn1(d)],d.readSequence(),k=d.offset+d.length,v.subjectKey=s.readPkcs8(void 0,"public",d),d._offset=k,d.peek()===c(1)&&(d.readSequence(c(1)),b.extras.issuerUniqueID=u.slice(d.offset,d.offset+d.length),d._offset+=d.length);d.peek()===c(2)&&(d.readSequence(c(2)),b.extras.subjectUniqueID=u.slice(d.offset,d.offset+d.length),d._offset+=d.length);if(d.peek()===c(3)){d.readSequence(c(3));var j=d.offset+d.length;for(d.readSequence();d.offset<j;)w(v,u,d);e.strictEqual(d.offset,j)}e.strictEqual(d.offset,h),d.readSequence(),k=d.offset+d.length;var E=d.readOID(),S=p[E];if(void 0===S)throw new Error("unknown signature algorithm "+E);d._offset=k;var _=d.readString(t.Ber.BitString,!0);0===_[0]&&(_=_.slice(1));var P=S.split("-");return b.signature=n.parse(_,P[0],"asn1"),b.signature.hashAlgorithm=P[1],b.algo=S,b.cache=u.slice(m,g),new i(v)},verify:function(r,a){var o=r.signatures.x509;e.object(o,"x509 signature");var n=o.algo.split("-");if(n[0]!==a.type)return!1;var i=o.cache;if(void 0===i){var s=new t.BerWriter;S(r,s),i=s.buffer}var c=a.createVerify(n[1]);return c.write(i),c.verify(o.signature)},sign:function(e,r){void 0===e.signatures.x509&&(e.signatures.x509={});var a=e.signatures.x509;if(a.algo=r.type+"-"+r.defaultHashAlgorithm(),void 0===p[a.algo])return!1;var o=new t.BerWriter;S(e,o);var n=o.buffer;a.cache=n;var i=r.createSign();return i.write(n),e.signatures.x509.signature=i.sign(),!0},signAsync:function(e,r,a){void 0===e.signatures.x509&&(e.signatures.x509={});var o=e.signatures.x509,n=new t.BerWriter;S(e,n);var i=n.buffer;o.cache=i,r(i,(function(e,t){e?a(e):(o.algo=t.type+"-"+t.hashAlgorithm,void 0!==p[o.algo]?(o.signature=t,a()):a(new Error('Invalid signing algorithm "'+o.algo+'"')))}))},write:function(a,o){var n=a.signatures.x509;e.object(n,"x509 signature");var i=new t.BerWriter;i.startSequence(),n.cache?(i._ensure(n.cache.length),n.cache.copy(i._buf,i._offset),i._offset+=n.cache.length):S(a,i);i.startSequence(),i.writeOID(p[n.algo]),n.algo.match(/^rsa-/)&&i.writeNull();i.endSequence();var s=n.signature.toBuffer("asn1"),c=r.alloc(s.length+1);return c[0]=0,s.copy(c,1),i.writeBuffer(c,t.Ber.BitString),i.endSequence(),i.buffer}};var e=Xp(),t=fl(),r=Wp().Buffer;Yp();var a=Al();Xd(),Md(),Bd();var o=Hd(),n=Fl(),i=Gd(),s=Fd();function c(e){return t.Ber.Context|t.Ber.Constructor|e}function u(e){return t.Ber.Context|e}var p={"rsa-md5":"1.2.840.113549.1.1.4","rsa-sha1":"1.2.840.113549.1.1.5","rsa-sha256":"1.2.840.113549.1.1.11","rsa-sha384":"1.2.840.113549.1.1.12","rsa-sha512":"1.2.840.113549.1.1.13","dsa-sha1":"1.2.840.10040.4.3","dsa-sha256":"2.16.840.1.101.3.4.3.2","ecdsa-sha1":"1.2.840.10045.4.1","ecdsa-sha256":"1.2.840.10045.4.3.2","ecdsa-sha384":"1.2.840.10045.4.3.3","ecdsa-sha512":"1.2.840.10045.4.3.4","ed25519-sha512":"1.3.101.112"};Object.keys(p).forEach((function(e){p[p[e]]=e})),p["1.3.14.3.2.3"]="rsa-md5",p["1.3.14.3.2.29"]="rsa-sha1";var l="2.5.29.17",d="2.5.29.19",m="2.5.29.15",h="2.5.29.37";function f(r){if(r.peek()===t.Ber.UTCTime)return function(t){var r=t.match(x);e.ok(r,"timestamps must be in UTC");var a=new Date,o=a.getUTCFullYear(),n=100*Math.floor(o/100),i=parseInt(r[1],10);i+=o%100<50&&i>=60?n-1:n;a.setUTCFullYear(i,parseInt(r[2],10)-1,parseInt(r[3],10)),a.setUTCHours(parseInt(r[4],10),parseInt(r[5],10)),r[6]&&r[6].length>0&&a.setUTCSeconds(parseInt(r[6],10));return a}(r.readString(t.Ber.UTCTime));if(r.peek()===t.Ber.GeneralizedTime)return function(t){var r=t.match(j);e.ok(r);var a=new Date;a.setUTCFullYear(parseInt(r[1],10),parseInt(r[2],10)-1,parseInt(r[3],10)),a.setUTCHours(parseInt(r[4],10),parseInt(r[5],10)),r[6]&&r[6].length>0&&a.setUTCSeconds(parseInt(r[6],10));return a}(r.readString(t.Ber.GeneralizedTime));throw new Error("Unsupported date format")}function g(e,r){var a,o;r.getUTCFullYear()>=2050||r.getUTCFullYear()<1950?e.writeString((o="",o+=E((a=r).getUTCFullYear(),4),o+=E(a.getUTCMonth()+1),o+=E(a.getUTCDate()),o+=E(a.getUTCHours()),o+=E(a.getUTCMinutes()),o+=E(a.getUTCSeconds()),o+="Z"),t.Ber.GeneralizedTime):e.writeString(function(e){var t="";return t+=E(e.getUTCFullYear()%100),t+=E(e.getUTCMonth()+1),t+=E(e.getUTCDate()),t+=E(e.getUTCHours()),t+=E(e.getUTCMinutes()),t+=E(e.getUTCSeconds()),t+="Z"}(r),t.Ber.UTCTime)}var y={OtherName:c(0),RFC822Name:u(1),DNSName:u(2),X400Address:c(3),DirectoryName:c(4),EDIPartyName:c(5),URI:u(6),IPAddress:u(7),OID:u(8)},v={serverAuth:"1.3.6.1.5.5.7.3.1",clientAuth:"1.3.6.1.5.5.7.3.2",codeSigning:"1.3.6.1.5.5.7.3.3",joyentDocker:"1.3.6.1.4.1.38678.1.4.1",joyentCmon:"1.3.6.1.4.1.38678.1.4.2"},b={};Object.keys(v).forEach((function(e){b[v[e]]=e}));var k=["signature","identity","keyEncryption","encryption","keyAgreement","ca","crl"];function w(e,r,a){a.readSequence();var n,i,s=a.offset+a.length,c=a.readOID(),u=e.signatures.x509;switch(u.extras.exts||(u.extras.exts=[]),a.peek()===t.Ber.Boolean&&(i=a.readBoolean()),c){case d:a.readSequence(t.Ber.OctetString),a.readSequence();var p=a.offset+a.length,f=!1;a.peek()===t.Ber.Boolean&&(f=a.readBoolean()),void 0===e.purposes&&(e.purposes=[]),!0===f&&e.purposes.push("ca");var g={oid:c,critical:i};a.offset<p&&a.peek()===t.Ber.Integer&&(g.pathLen=a.readInt()),u.extras.exts.push(g);break;case h:a.readSequence(t.Ber.OctetString),a.readSequence(),void 0===e.purposes&&(e.purposes=[]);for(var v=a.offset+a.length;a.offset<v;){var w=a.readOID();e.purposes.push(b[w]||w)}-1!==e.purposes.indexOf("serverAuth")&&-1===e.purposes.indexOf("clientAuth")?e.subjects.forEach((function(e){"host"!==e.type&&(e.type="host",e.hostname=e.uid||e.email||e.components[0].value)})):-1!==e.purposes.indexOf("clientAuth")&&-1===e.purposes.indexOf("serverAuth")&&e.subjects.forEach((function(e){"user"!==e.type&&(e.type="user",e.uid=e.hostname||e.email||e.components[0].value)})),u.extras.exts.push({oid:c,critical:i});break;case m:a.readSequence(t.Ber.OctetString);var x=a.readString(t.Ber.BitString,!0),j=function(e,t){for(var r=8*(e.length-1)-e[0],a={},o=0;o<r;++o){var n=1<<7-o%8,i=0!=(e[1+Math.floor(o/8)]&n),s=t[o];i&&"string"==typeof s&&(a[s]=!0)}return Object.keys(a)}(x,k);j.forEach((function(t){void 0===e.purposes&&(e.purposes=[]),-1===e.purposes.indexOf(t)&&e.purposes.push(t)})),u.extras.exts.push({oid:c,critical:i,bits:x});break;case l:a.readSequence(t.Ber.OctetString),a.readSequence();for(var E=a.offset+a.length;a.offset<E;)switch(a.peek()){case y.OtherName:case y.EDIPartyName:a.readSequence(),a._offset+=a.length;break;case y.OID:a.readOID(y.OID);break;case y.RFC822Name:var S=a.readString(y.RFC822Name);n=o.forEmail(S),e.subjects[0].equals(n)||e.subjects.push(n);break;case y.DirectoryName:a.readSequence(y.DirectoryName),n=o.parseAsn1(a),e.subjects[0].equals(n)||e.subjects.push(n);break;case y.DNSName:var _=a.readString(y.DNSName);n=o.forHost(_),e.subjects[0].equals(n)||e.subjects.push(n);break;default:a.readString(a.peek())}u.extras.exts.push({oid:c,critical:i});break;default:u.extras.exts.push({oid:c,critical:i,data:a.readString(t.Ber.OctetString,!0)})}a._offset=s}var x=/^([0-9]{2})([0-9]{2})([0-9]{2})([0-9]{2})([0-9]{2})([0-9]{2})?Z$/;var j=/^([0-9]{4})([0-9]{2})([0-9]{2})([0-9]{2})([0-9]{2})([0-9]{2})?Z$/;function E(e,t){void 0===t&&(t=2);for(var r=""+e;r.length<t;)r="0"+r;return r}function S(r,o){var n=r.signatures.x509;e.object(n,"x509 signature"),o.startSequence(),o.startSequence(c(0)),o.writeInt(2),o.endSequence(),o.writeBuffer(a.mpNormalize(r.serial),t.Ber.Integer),o.startSequence(),o.writeOID(p[n.algo]),n.algo.match(/^rsa-/)&&o.writeNull(),o.endSequence(),r.issuer.toAsn1(o),o.startSequence(),g(o,r.validFrom),g(o,r.validUntil),o.endSequence();var i=r.subjects[0],f=r.subjects.slice(1);if(i.toAsn1(o),s.writePkcs8(o,r.subjectKey),n.extras&&n.extras.issuerUniqueID&&o.writeBuffer(n.extras.issuerUniqueID,c(1)),n.extras&&n.extras.subjectUniqueID&&o.writeBuffer(n.extras.subjectUniqueID,c(2)),f.length>0||"host"===i.type||void 0!==r.purposes&&r.purposes.length>0||n.extras&&n.extras.exts){o.startSequence(c(3)),o.startSequence();var b=[];void 0!==r.purposes&&r.purposes.length>0&&(b.push({oid:d,critical:!0}),b.push({oid:m,critical:!0}),b.push({oid:h,critical:!0})),b.push({oid:l}),n.extras&&n.extras.exts&&(b=n.extras.exts);for(var w=0;w<b.length;++w){if(o.startSequence(),o.writeOID(b[w].oid),void 0!==b[w].critical&&o.writeBoolean(b[w].critical),b[w].oid===l){o.startSequence(t.Ber.OctetString),o.startSequence(),"host"===i.type&&o.writeString(i.hostname,u(2));for(var x=0;x<f.length;++x)"host"===f[x].type?o.writeString(f[x].hostname,y.DNSName):"email"===f[x].type?o.writeString(f[x].email,y.RFC822Name):(o.startSequence(y.DirectoryName),f[x].toAsn1(o),o.endSequence());o.endSequence(),o.endSequence()}else if(b[w].oid===d){o.startSequence(t.Ber.OctetString),o.startSequence();var j=-1!==r.purposes.indexOf("ca"),E=b[w].pathLen;o.writeBoolean(j),void 0!==E&&o.writeInt(E),o.endSequence(),o.endSequence()}else if(b[w].oid===h)o.startSequence(t.Ber.OctetString),o.startSequence(),r.purposes.forEach((function(e){if("ca"!==e&&-1===k.indexOf(e)){var t=e;void 0!==v[e]&&(t=v[e]),o.writeOID(t)}})),o.endSequence(),o.endSequence();else if(b[w].oid===m){if(o.startSequence(t.Ber.OctetString),void 0!==b[w].bits)o.writeBuffer(b[w].bits,t.Ber.BitString);else{var S=_(r.purposes,k);o.writeBuffer(S,t.Ber.BitString)}o.endSequence()}else o.writeBuffer(b[w].data,t.Ber.OctetString);o.endSequence()}o.endSequence(),o.endSequence()}o.endSequence()}function _(e,t){var a=t.length,o=Math.ceil(a/8),n=8*o-a,i=r.alloc(1+o);i[0]=n;for(var s=0;s<a;++s){var c=1+Math.floor(s/8),u=1<<7-s%8,p=t[s];if(void 0!==p)-1!==e.indexOf(p)&&(i[c]|=u)}return i}return md}function Gd(){if(vd)return yd;vd=1,yd=m;var e=Xp(),t=Wp().Buffer,r=Yp(),a=x.default,o=Qd();Fl();var n=Zp(),i=Al(),s=Xd(),c=Md(),u=Hd(),p={};p.openssh=Kd(),p.x509=Vd(),p.pem=function(){if(gd)return fd;gd=1;var e=Vd();fd={read:function(a,o){"string"!=typeof a&&(t.buffer(a,"buf"),a=a.toString("ascii"));for(var n,i,s=a.trim().split(/[\r\n]+/g),c=-1;!n&&c<s.length;)n=s[++c].match(/[-]+[ ]*BEGIN CERTIFICATE[ ]*[-]+/);t.ok(n,"invalid PEM header");for(var u=s.length;!i&&u>0;)i=s[--u].match(/[-]+[ ]*END CERTIFICATE[ ]*[-]+/);t.ok(i,"invalid PEM footer"),s=s.slice(c,u+1);for(var p={};n=(s=s.slice(1))[0].match(/^([A-Za-z0-9-]+): (.+)$/);)p[n[1].toLowerCase()]=n[2];return s=s.slice(0,-1).join(""),a=r.from(s,"base64"),e.read(a,o)},verify:e.verify,sign:e.sign,write:function(t,a){var o="CERTIFICATE",n=e.write(t,a).toString("base64"),i=n.length+n.length/64+18+16+2*o.length+10,s=r.alloc(i),c=0;c+=s.write("-----BEGIN "+o+"-----\n",c);for(var u=0;u<n.length;){var p=u+64;p>n.length&&(p=n.length),c+=s.write(n.slice(u,p),c),s[c++]=10,u=p}return c+=s.write("-----END "+o+"-----\n",c),s.slice(0,c)}};var t=Xp();fl();var r=Wp().Buffer;return Yp(),Al(),Xd(),Md(),Bd(),Hd(),Fl(),Gd(),fd}();var l=n.CertificateParseError,d=n.InvalidAlgorithmError;function m(t){e.object(t,"options"),e.arrayOfObject(t.subjects,"options.subjects"),i.assertCompatible(t.subjects[0],u,[1,0],"options.subjects"),i.assertCompatible(t.subjectKey,s,[1,0],"options.subjectKey"),i.assertCompatible(t.issuer,u,[1,0],"options.issuer"),void 0!==t.issuerKey&&i.assertCompatible(t.issuerKey,s,[1,0],"options.issuerKey"),e.object(t.signatures,"options.signatures"),e.buffer(t.serial,"options.serial"),e.date(t.validFrom,"options.validFrom"),e.date(t.validUntil,"optons.validUntil"),e.optionalArrayOfString(t.purposes,"options.purposes"),this._hashCache={},this.subjects=t.subjects,this.issuer=t.issuer,this.subjectKey=t.subjectKey,this.issuerKey=t.issuerKey,this.signatures=t.signatures,this.serial=t.serial,this.validFrom=t.validFrom,this.validUntil=t.validUntil,this.purposes=t.purposes}return m.formats=p,m.prototype.toBuffer=function(t,r){return void 0===t&&(t="x509"),e.string(t,"format"),e.object(p[t],"formats[format]"),e.optionalObject(r,"options"),p[t].write(this,r)},m.prototype.toString=function(e,t){return void 0===e&&(e="pem"),this.toBuffer(e,t).toString()},m.prototype.fingerprint=function(t){void 0===t&&(t="sha256"),e.string(t,"algorithm");var r={type:"certificate",hash:this.hash(t),algorithm:t};return new o(r)},m.prototype.hash=function(t){if(e.string(t,"algorithm"),t=t.toLowerCase(),void 0===r.hashAlgs[t])throw new d(t);if(this._hashCache[t])return this._hashCache[t];var o=a.createHash(t).update(this.toBuffer("x509")).digest();return this._hashCache[t]=o,o},m.prototype.isExpired=function(e){return void 0===e&&(e=new Date),!(e.getTime()>=this.validFrom.getTime()&&e.getTime()<this.validUntil.getTime())},m.prototype.isSignedBy=function(e){return i.assertCompatible(e,m,[1,0],"issuer"),!!this.issuer.equals(e.subjects[0])&&(!(this.issuer.purposes&&this.issuer.purposes.length>0&&-1===this.issuer.purposes.indexOf("ca"))&&this.isSignedByKey(e.subjectKey))},m.prototype.getExtension=function(t){return e.string(t,"keyOrOid"),this.getExtensions().filter((function(e){return"x509"===e.format?e.oid===t:"openssh"===e.format&&e.name===t}))[0]},m.prototype.getExtensions=function(){var e=[],t=this.signatures.x509;t&&t.extras&&t.extras.exts&&t.extras.exts.forEach((function(t){t.format="x509",e.push(t)}));var r=this.signatures.openssh;return r&&r.exts&&r.exts.forEach((function(t){t.format="openssh",e.push(t)})),e},m.prototype.isSignedByKey=function(e){if(i.assertCompatible(e,s,[1,2],"issuerKey"),void 0!==this.issuerKey)return this.issuerKey.fingerprint("sha512").matches(e);var t=Object.keys(this.signatures)[0],r=p[t].verify(this,e);return r&&(this.issuerKey=e),r},m.prototype.signWith=function(e){i.assertCompatible(e,c,[1,2],"key");for(var t=Object.keys(p),r=!1,a=0;a<t.length;++a){if("pem"!==t[a])!0===p[t[a]].sign(this,e)&&(r=!0)}if(!r)throw new Error("Failed to sign the certificate for any available certificate formats")},m.createSelfSigned=function(r,a,o){var n;n=Array.isArray(r)?r:[r],e.arrayOfObject(n),n.forEach((function(e){i.assertCompatible(e,u,[1,0],"subject")})),i.assertCompatible(a,c,[1,2],"private key"),e.optionalObject(o,"options"),void 0===o&&(o={}),e.optionalObject(o.validFrom,"options.validFrom"),e.optionalObject(o.validUntil,"options.validUntil");var s=o.validFrom,p=o.validUntil;if(void 0===s&&(s=new Date),void 0===p){e.optionalNumber(o.lifetime,"options.lifetime");var l=o.lifetime;void 0===l&&(l=31536e4),(p=new Date).setTime(p.getTime()+1e3*l)}e.optionalBuffer(o.serial,"options.serial");var d=o.serial;void 0===d&&(d=t.from("0000000000000001","hex"));var h=o.purposes;if(void 0===h&&(h=[]),-1===h.indexOf("signature")&&h.push("signature"),-1===h.indexOf("ca")&&h.push("ca"),-1===h.indexOf("crl")&&h.push("crl"),h.length<=3){var f=n.filter((function(e){return"host"===e.type})),g=n.filter((function(e){return"user"===e.type}));f.length>0&&-1===h.indexOf("serverAuth")&&h.push("serverAuth"),g.length>0&&-1===h.indexOf("clientAuth")&&h.push("clientAuth"),(g.length>0||f.length>0)&&(-1===h.indexOf("keyAgreement")&&h.push("keyAgreement"),"rsa"===a.type&&-1===h.indexOf("encryption")&&h.push("encryption"))}var y=new m({subjects:n,issuer:n[0],subjectKey:a.toPublic(),issuerKey:a.toPublic(),signatures:{},serial:d,validFrom:s,validUntil:p,purposes:h});return y.signWith(a),y},m.create=function(r,a,o,n,p){var l;l=Array.isArray(r)?r:[r],e.arrayOfObject(l),l.forEach((function(e){i.assertCompatible(e,u,[1,0],"subject")})),i.assertCompatible(a,s,[1,0],"key"),c.isPrivateKey(a)&&(a=a.toPublic()),i.assertCompatible(o,u,[1,0],"issuer"),i.assertCompatible(n,c,[1,2],"issuer key"),e.optionalObject(p,"options"),void 0===p&&(p={}),e.optionalObject(p.validFrom,"options.validFrom"),e.optionalObject(p.validUntil,"options.validUntil");var d=p.validFrom,h=p.validUntil;if(void 0===d&&(d=new Date),void 0===h){e.optionalNumber(p.lifetime,"options.lifetime");var f=p.lifetime;void 0===f&&(f=31536e4),(h=new Date).setTime(h.getTime()+1e3*f)}e.optionalBuffer(p.serial,"options.serial");var g=p.serial;void 0===g&&(g=t.from("0000000000000001","hex"));var y=p.purposes;void 0===y&&(y=[]),-1===y.indexOf("signature")&&y.push("signature"),!0===p.ca&&(-1===y.indexOf("ca")&&y.push("ca"),-1===y.indexOf("crl")&&y.push("crl"));var v=l.filter((function(e){return"host"===e.type})),b=l.filter((function(e){return"user"===e.type}));v.length>0&&-1===y.indexOf("serverAuth")&&y.push("serverAuth"),b.length>0&&-1===y.indexOf("clientAuth")&&y.push("clientAuth"),(b.length>0||v.length>0)&&(-1===y.indexOf("keyAgreement")&&y.push("keyAgreement"),"rsa"===a.type&&-1===y.indexOf("encryption")&&y.push("encryption"));var k=new m({subjects:l,issuer:o,subjectKey:a,issuerKey:n.toPublic(),signatures:{},serial:g,validFrom:d,validUntil:h,purposes:y});return k.signWith(n),k},m.parse=function(t,r,a){"string"!=typeof t&&e.buffer(t,"data"),void 0===r&&(r="auto"),e.string(r,"format"),"string"==typeof a&&(a={filename:a}),e.optionalObject(a,"options"),void 0===a&&(a={}),e.optionalString(a.filename,"options.filename"),void 0===a.filename&&(a.filename="(unnamed)"),e.object(p[r],"formats[format]");try{return p[r].read(t,a)}catch(e){throw new l(a.filename,r,e)}},m.isCertificate=function(e,t){return i.isCompatible(e,m,t)},m.prototype._sshpkApiVersion=[1,1],m._oldVersionDetect=function(e){return[1,0]},yd}function Qd(){if(kd)return bd;kd=1,bd=l;var e=Xp(),t=Wp().Buffer,r=Yp(),a=x.default,o=Zp(),n=Xd(),i=Md(),s=Gd(),c=Al(),u=o.FingerprintFormatError,p=o.InvalidAlgorithmError;function l(t){if(e.object(t,"options"),e.string(t.type,"options.type"),e.buffer(t.hash,"options.hash"),e.string(t.algorithm,"options.algorithm"),this.algorithm=t.algorithm.toLowerCase(),!0!==r.hashAlgs[this.algorithm])throw new p(this.algorithm);this.hash=t.hash,this.type=t.type,this.hashType=t.hashType}l.prototype.toString=function(t){switch(void 0===t&&(t="md5"===this.algorithm||"spki"===this.hashType?"hex":"base64"),e.string(t),t){case"hex":return"spki"===this.hashType?this.hash.toString("hex"):this.hash.toString("hex").replace(/(.{2})(?=.)/g,"$1:");case"base64":return"spki"===this.hashType?this.hash.toString("base64"):(r=this.algorithm,a=this.hash.toString("base64"),r.toUpperCase()+":"+function(e){return e.replace(/=*$/,"")}(a));default:throw new u(void 0,t)}var r,a},l.prototype.matches=function(t){e.object(t,"key or certificate"),"key"===this.type&&"ssh"!==this.hashType?(c.assertCompatible(t,n,[1,7],"key with spki"),i.isPrivateKey(t)&&c.assertCompatible(t,i,[1,6],"privatekey with spki support")):"key"===this.type?c.assertCompatible(t,n,[1,0],"key"):c.assertCompatible(t,s,[1,0],"certificate");var r=t.hash(this.algorithm,this.hashType),o=a.createHash(this.algorithm).update(r).digest("base64");return void 0===this.hash2&&(this.hash2=a.createHash(this.algorithm).update(this.hash).digest("base64")),this.hash2===o};var d=/^[A-Za-z0-9+\/=]+$/,m=/^[a-fA-F0-9]+$/;return l.parse=function(a,o){var n,i,s;e.string(a,"fingerprint"),Array.isArray(o)&&(s=o,o={}),e.optionalObject(o,"options"),void 0===o&&(o={}),void 0!==o.enAlgs&&(s=o.enAlgs),void 0!==o.algorithms&&(s=o.algorithms),e.optionalArrayOfString(s,"algorithms");var c="ssh";void 0!==o.hashType&&(c=o.hashType),e.string(c,"options.hashType");var h=a.split(":");if(2==h.length){if(n=h[0].toLowerCase(),!d.test(h[1]))throw new u(a);try{i=t.from(h[1],"base64")}catch(e){throw new u(a)}}else if(h.length>2){if(n="md5","md5"===h[0].toLowerCase()&&(h=h.slice(1)),h=(h=h.map((function(e){for(;e.length<2;)e="0"+e;if(e.length>2)throw new u(a);return e}))).join(""),!m.test(h)||h.length%2!=0)throw new u(a);try{i=t.from(h,"hex")}catch(e){throw new u(a)}}else{if(m.test(a))i=t.from(a,"hex");else{if(!d.test(a))throw new u(a);i=t.from(a,"base64")}switch(i.length){case 32:n="sha256";break;case 16:n="md5";break;case 20:n="sha1";break;case 64:n="sha512";break;default:throw new u(a)}void 0===o.hashType&&(c="spki")}if(void 0===n)throw new u(a);if(void 0===r.hashAlgs[n])throw new p(n);if(void 0!==s&&-1===(s=s.map((function(e){return e.toLowerCase()}))).indexOf(n))throw new p(n);return new l({algorithm:n,hash:i,type:o.type||"key",hashType:c})},l.isFingerprint=function(e,t){return c.isCompatible(e,l,t)},l.prototype._sshpkApiVersion=[1,2],l._oldVersionDetect=function(t){return e.func(t.toString),e.func(t.matches),[1,0]},bd}function Xd(){if(xd)return wd;xd=1,wd=m;var e,t=Xp(),r=Yp(),a=x.default,o=Qd(),n=Fl(),i=Ad().DiffieHellman,s=Zp(),c=Al(),u=Md();try{e=Id()}catch(e){}var p=s.InvalidAlgorithmError,l=s.KeyParseError,d={};function m(e){t.object(e,"options"),t.arrayOfObject(e.parts,"options.parts"),t.string(e.type,"options.type"),t.optionalString(e.comment,"options.comment");var a=r.info[e.type];if("object"!=typeof a)throw new p(e.type);for(var o,n={},i=0;i<e.parts.length;++i){var s=e.parts[i];n[s.name]=s}if(this.type=e.type,this.parts=e.parts,this.part=n,this.comment=void 0,this.source=e.source,this._rfc4253Cache=e._rfc4253Cache,this._hashCache={},this.curve=void 0,"ecdsa"===this.type){var u=this.part.curve.data.toString();this.curve=u,o=r.curves[u].size}else if("ed25519"===this.type||"curve25519"===this.type)o=256,this.curve="curve25519";else{var l=this.part[a.sizePart];o=8*(o=l.data.length)-c.countZeros(l.data)}this.size=o}return d.auto=Ud(),d.pem=Bd(),d.pkcs1=Rd(),d.pkcs8=Fd(),d.rfc4253=Dd(),d.ssh=$d(),d["ssh-private"]=zd(),d.openssh=d["ssh-private"],d.dnssec=Ld(),d.putty=qd(),d.ppk=d.putty,m.formats=d,m.prototype.toBuffer=function(e,r){return void 0===e&&(e="ssh"),t.string(e,"format"),t.object(d[e],"formats[format]"),t.optionalObject(r,"options"),"rfc4253"===e?(void 0===this._rfc4253Cache&&(this._rfc4253Cache=d.rfc4253.write(this)),this._rfc4253Cache):d[e].write(this,r)},m.prototype.toString=function(e,t){return this.toBuffer(e,t).toString()},m.prototype.hash=function(e,o){if(t.string(e,"algorithm"),t.optionalString(o,"type"),void 0===o&&(o="ssh"),e=e.toLowerCase(),void 0===r.hashAlgs[e])throw new p(e);var n,i=e+"||"+o;if(this._hashCache[i])return this._hashCache[i];if("ssh"===o)n=this.toBuffer("rfc4253");else{if("spki"!==o)throw new Error("Hash type "+o+" not supported");n=d.pkcs8.pkcs8ToBuffer(this)}var s=a.createHash(e).update(n).digest();return this._hashCache[i]=s,s},m.prototype.fingerprint=function(e,r){void 0===e&&(e="sha256"),void 0===r&&(r="ssh"),t.string(e,"algorithm"),t.string(r,"type");var a={type:"key",hash:this.hash(e,r),algorithm:e,hashType:r};return new o(a)},m.prototype.defaultHashAlgorithm=function(){var e="sha1";return"rsa"===this.type&&(e="sha256"),"dsa"===this.type&&this.size>1024&&(e="sha256"),"ed25519"===this.type&&(e="sha512"),"ecdsa"===this.type&&(e=this.size<=256?"sha256":this.size<=384?"sha384":"sha512"),e},m.prototype.createVerify=function(r){if(void 0===r&&(r=this.defaultHashAlgorithm()),t.string(r,"hash algorithm"),"ed25519"===this.type&&void 0!==e)return new e.Verifier(this,r);if("curve25519"===this.type)throw new Error("Curve25519 keys are not suitable for signing or verification");var o,i,s;try{i=r.toUpperCase(),o=a.createVerify(i)}catch(e){s=e}(void 0===o||s instanceof Error&&s.message.match(/Unknown message digest/))&&(i="RSA-",i+=r.toUpperCase(),o=a.createVerify(i)),t.ok(o,"failed to create verifier");var c=o.verify.bind(o),u=this.toBuffer("pkcs8"),p=this.curve,l=this;return o.verify=function(e,t){if(n.isSignature(e,[2,0]))return e.type===l.type&&((!e.hashAlgorithm||e.hashAlgorithm===r)&&((!e.curve||"ecdsa"!==l.type||e.curve===p)&&c(u,e.toBuffer("asn1"))));if("string"==typeof e||Buffer.isBuffer(e))return c(u,e,t);throw n.isSignature(e,[1,0])?new Error("signature was created by too old a version of sshpk and cannot be verified"):new TypeError("signature must be a string, Buffer, or Signature object")},o},m.prototype.createDiffieHellman=function(){if("rsa"===this.type)throw new Error("RSA keys do not support Diffie-Hellman");return new i(this)},m.prototype.createDH=m.prototype.createDiffieHellman,m.parse=function(e,r,a){"string"!=typeof e&&t.buffer(e,"data"),void 0===r&&(r="auto"),t.string(r,"format"),"string"==typeof a&&(a={filename:a}),t.optionalObject(a,"options"),void 0===a&&(a={}),t.optionalString(a.filename,"options.filename"),void 0===a.filename&&(a.filename="(unnamed)"),t.object(d[r],"formats[format]");try{var o=d[r].read(e,a);return o instanceof u&&(o=o.toPublic()),o.comment||(o.comment=a.filename),o}catch(e){if("KeyEncryptedError"===e.name)throw e;throw new l(a.filename,r,e)}},m.isKey=function(e,t){return c.isCompatible(e,m,t)},m.prototype._sshpkApiVersion=[1,7],m._oldVersionDetect=function(e){return t.func(e.toBuffer),t.func(e.fingerprint),e.createDH?[1,4]:e.defaultHashAlgorithm?[1,3]:e.formats.auto?[1,2]:e.formats.pkcs1?[1,1]:[1,0]},wd}function Wd(){if(Ed)return jd;Ed=1;var e=Xd(),t=Qd(),r=Fl(),a=Md(),o=Gd(),n=Hd(),i=Zp();return jd={Key:e,parseKey:e.parse,Fingerprint:t,parseFingerprint:t.parse,Signature:r,parseSignature:r.parse,PrivateKey:a,parsePrivateKey:a.parse,generatePrivateKey:a.generate,Certificate:o,parseCertificate:o.parse,createSelfSignedCertificate:o.createSelfSigned,createCertificate:o.create,Identity:n,identityFromDN:n.parseDN,identityForHost:n.forHost,identityForUser:n.forUser,identityForEmail:n.forEmail,identityFromArray:n.fromArray,FingerprintFormatError:i.FingerprintFormatError,InvalidAlgorithmError:i.InvalidAlgorithmError,KeyParseError:i.KeyParseError,SignatureParseError:i.SignatureParseError,KeyEncryptedError:i.KeyEncryptedError,CertificateParseError:i.CertificateParseError}}function Yd(){if(_d)return Sd;_d=1;var e=Xp(),t=Wd(),r=C.default,a={sha1:!0,sha256:!0,sha512:!0},o={rsa:!0,dsa:!0,ecdsa:!0};function n(e,t){Error.captureStackTrace&&Error.captureStackTrace(this,t||n),this.message=e,this.name=t.name}function i(e){n.call(this,e,i)}return r.inherits(n,Error),r.inherits(i,n),Sd={HASH_ALGOS:a,PK_ALGOS:o,HttpSignatureError:n,InvalidAlgorithmError:i,validateAlgorithm:function(e){var t=e.toLowerCase().split("-");if(2!==t.length)throw new i(t[0].toUpperCase()+" is not a valid algorithm");if("hmac"!==t[0]&&!o[t[0]])throw new i(t[0].toUpperCase()+" type keys are not supported");if(!a[t[1]])throw new i(t[1].toUpperCase()+" is not a supported hash algorithm");return t},sshKeyToPEM:function(r){return e.string(r,"ssh_key"),t.parseKey(r,"ssh").toString("pem")},fingerprint:function(r){return e.string(r,"ssh_key"),t.parseKey(r,"ssh").fingerprint("md5").toString("hex")},pemToRsaSSHKey:function(r,a){e.equal("string",typeof r,"typeof pem");var o=t.parseKey(r,"pem");return o.comment=a,o.toString("ssh")}},Sd}function Zd(){if(Cd)return Pd;Cd=1;var e=Xp(),t=C.default,r=Yd();r.HASH_ALGOS,r.PK_ALGOS;var a=r.HttpSignatureError,o=r.InvalidAlgorithmError,n=r.validateAlgorithm,i=0,s=1,c=0,u=1,p=2,l=3;function d(e){a.call(this,e,d)}function m(e){a.call(this,e,m)}function h(e){a.call(this,e,h)}function f(e){a.call(this,e,f)}function g(e){a.call(this,e,g)}return t.inherits(d,a),t.inherits(m,a),t.inherits(h,a),t.inherits(f,a),t.inherits(g,a),Pd={parseRequest:function(t,r){e.object(t,"request"),e.object(t.headers,"request.headers"),void 0===r&&(r={}),void 0===r.headers&&(r.headers=[t.headers["x-date"]?"x-date":"date"]),e.object(r,"options"),e.arrayOfString(r.headers,"options.headers"),e.optionalFinite(r.clockSkew,"options.clockSkew");var a=r.authorizationHeaderName||"authorization";if(!t.headers[a])throw new f("no "+a+" header present in the request");r.clockSkew=r.clockSkew||300;var y,v=0,b=i,k=c,w="",x="",j={scheme:"",params:{},signingString:""},E=t.headers[a];for(v=0;v<E.length;v++){var S=E.charAt(v);switch(Number(b)){case i:" "!==S?j.scheme+=S:b=s;break;case s:switch(Number(k)){case c:var _=S.charCodeAt(0);if(_>=65&&_<=90||_>=97&&_<=122)w+=S;else{if("="!==S)throw new m("bad param format");if(0===w.length)throw new m("bad param format");k=u}break;case u:if('"'!==S)throw new m("bad param format");x="",k=p;break;case p:'"'===S?(j.params[w]=x,k=l):x+=S;break;case l:if(","!==S)throw new m("bad param format");w="",k=c;break;default:throw new Error("Invalid substate")}break;default:throw new Error("Invalid substate")}}if(j.params.headers&&""!==j.params.headers?j.params.headers=j.params.headers.split(" "):t.headers["x-date"]?j.params.headers=["x-date"]:j.params.headers=["date"],!j.scheme||"Signature"!==j.scheme)throw new m('scheme was not "Signature"');if(!j.params.keyId)throw new m("keyId was not specified");if(!j.params.algorithm)throw new m("algorithm was not specified");if(!j.params.signature)throw new m("signature was not specified");j.params.algorithm=j.params.algorithm.toLowerCase();try{n(j.params.algorithm)}catch(e){throw e instanceof o?new h(j.params.algorithm+" is not supported"):e}for(v=0;v<j.params.headers.length;v++){var P=j.params.headers[v].toLowerCase();if(j.params.headers[v]=P,"request-line"===P){if(r.strict)throw new g("request-line is not a valid header with strict parsing enabled.");j.signingString+=t.method+" "+t.url+" HTTP/"+t.httpVersion}else if("(request-target)"===P)j.signingString+="(request-target): "+t.method.toLowerCase()+" "+t.url;else{var C=t.headers[P];if(void 0===C)throw new f(P+" was not in the request");j.signingString+=P+": "+C}v+1<j.params.headers.length&&(j.signingString+="\n")}if(t.headers.date||t.headers["x-date"]){y=t.headers["x-date"]?new Date(t.headers["x-date"]):new Date(t.headers.date);var T=new Date,O=Math.abs(T.getTime()-y.getTime());if(O>1e3*r.clockSkew)throw new d("clock skew of "+O/1e3+"s was greater than "+r.clockSkew+"s")}if(r.headers.forEach((function(e){if(j.params.headers.indexOf(e.toLowerCase())<0)throw new f(e+" was not a signed header")})),r.algorithms&&-1===r.algorithms.indexOf(j.params.algorithm))throw new h(j.params.algorithm+" is not a supported algorithm");return j.algorithm=j.params.algorithm.toUpperCase(),j.keyId=j.params.keyId,j}},Pd}var Jd,em={},tm={};function rm(){if(Jd)return tm;Jd=1;var e=P.default,t=C.default;function r(r){var a,i,s,c,u,p,l,d,m,h=["([^%]*)","%","(['\\-+ #0]*?)","([1-9]\\d*)?","(\\.([1-9]\\d*))?","[lhjztL]*?","([diouxXfFeEgGaAcCsSp%jr])"].join(""),f=new RegExp(h),g=Array.prototype.slice.call(arguments,1),y="",v=1;for(e.equal("string",typeof r);null!==(m=f.exec(r));)if(y+=m[1],r=r.substring(m[0].length),a=m[2]||"",i=m[3]||0,s=m[4]||"",u=!1,l=!1,p=" ","%"!=(c=m[6])){if(0===g.length)throw new Error("too few args to sprintf");if(d=g.shift(),v++,a.match(/[\' #]/))throw new Error("unsupported flags: "+a);if(s.length>0)throw new Error("non-zero precision not supported");switch(a.match(/-/)&&(u=!0),a.match(/0/)&&(p="0"),a.match(/\+/)&&(l=!0),c){case"s":if(null==d)throw new Error("argument "+v+": attempted to print undefined or null as a string");y+=o(p,i,u,d.toString());break;case"d":d=Math.floor(d);case"f":y+=(l=l&&d>0?"+":"")+o(p,i,u,d.toString());break;case"x":y+=o(p,i,u,d.toString(16));break;case"j":0===i&&(i=10),y+=t.inspect(d,!1,i);break;case"r":y+=n(d);break;default:throw new Error("unsupported conversion: "+c)}}else y+="%";return y+=r}function a(e){var t=Array.prototype.slice.call(arguments,1);return e.write(r.apply(this,t))}function o(e,t,r,a){for(var o=a;o.length<t;)r?o+=e:o=e+o;return o}function n(e){var t;if(!(e instanceof Error))throw new Error(r("invalid type for %%r: %j",e));if(t="EXCEPTION: "+e.constructor.name+": "+e.stack,e.cause&&"function"==typeof e.cause){var a=e.cause();a&&(t+="\nCaused by: "+n(a))}return t}return tm.sprintf=r,tm.printf=function(){var e=Array.prototype.slice.call(arguments);e.unshift(process.stdout),a.apply(null,e)},tm.fprintf=a,tm}var am,om,nm,im={};function sm(){if(nm)return om;nm=1;var e=Xp(),t=C.default,r=rm(),a=function(){if(am)return im;function e(e){return Object.prototype.toString.call(e)}return am=1,im.isArray=function(t){return Array.isArray?Array.isArray(t):"[object Array]"===e(t)},im.isBoolean=function(e){return"boolean"==typeof e},im.isNull=function(e){return null===e},im.isNullOrUndefined=function(e){return null==e},im.isNumber=function(e){return"number"==typeof e},im.isString=function(e){return"string"==typeof e},im.isSymbol=function(e){return"symbol"==typeof e},im.isUndefined=function(e){return void 0===e},im.isRegExp=function(t){return"[object RegExp]"===e(t)},im.isObject=function(e){return"object"==typeof e&&null!==e},im.isDate=function(t){return"[object Date]"===e(t)},im.isError=function(t){return"[object Error]"===e(t)||t instanceof Error},im.isFunction=function(e){return"function"==typeof e},im.isPrimitive=function(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||void 0===e},im.isBuffer=Buffer.isBuffer,im}().isError,o=r.sprintf;function n(t){var r,n,i,s;if(e.object(t,"args"),e.bool(t.strict,"args.strict"),e.array(t.argv,"args.argv"),0===(r=t.argv).length)n={},i=[];else if(a(r[0]))n={cause:r[0]},i=r.slice(1);else if("object"==typeof r[0]){for(s in n={},r[0])n[s]=r[0][s];i=r.slice(1)}else e.string(r[0],"first argument to VError, SError, or WError constructor must be a string, object, or Error"),n={},i=r;return e.object(n),n.strict||t.strict||(i=i.map((function(e){return null===e?"null":void 0===e?"undefined":e}))),{options:n,shortmessage:0===i.length?"":o.apply(null,i)}}function i(){var t,r,o,s,c,u,p;if(t=Array.prototype.slice.call(arguments,0),!(this instanceof i))return r=Object.create(i.prototype),i.apply(r,arguments),r;if((o=n({argv:t,strict:!1})).options.name&&(e.string(o.options.name,'error\'s "name" must be a string'),this.name=o.options.name),this.jse_shortmsg=o.shortmessage,u=o.shortmessage,(s=o.options.cause)&&(e.ok(a(s),"cause is not an Error"),this.jse_cause=s,o.options.skipCauseMessage||(u+=": "+s.message)),this.jse_info={},o.options.info)for(p in o.options.info)this.jse_info[p]=o.options.info[p];return this.message=u,Error.call(this,u),Error.captureStackTrace&&(c=o.options.constructorOpt||this.constructor,Error.captureStackTrace(this,c)),this}function s(){var e,t,r,a;return e=Array.prototype.slice.call(arguments,0),this instanceof s?(a=(r=n({argv:e,strict:!0})).options,i.call(this,a,"%s",r.shortmessage),this):(t=Object.create(s.prototype),s.apply(t,arguments),t)}function c(t){e.array(t,"list of errors"),e.ok(t.length>0,"must be at least one error"),this.ase_errors=t,i.call(this,{cause:t[0]},"first of %d error%s",t.length,1==t.length?"":"s")}function u(){var e,t,r,a;return e=Array.prototype.slice.call(arguments,0),this instanceof u?((a=(r=n({argv:e,strict:!1})).options).skipCauseMessage=!0,i.call(this,a,"%s",r.shortmessage),this):(t=Object.create(u.prototype),u.apply(t,e),t)}return om=i,i.VError=i,i.SError=s,i.WError=u,i.MultiError=c,t.inherits(i,Error),i.prototype.name="VError",i.prototype.toString=function(){var e=this.hasOwnProperty("name")&&this.name||this.constructor.name||this.constructor.prototype.name;return this.message&&(e+=": "+this.message),e},i.prototype.cause=function(){var e=i.cause(this);return null===e?void 0:e},i.cause=function(t){return e.ok(a(t),"err must be an Error"),a(t.jse_cause)?t.jse_cause:null},i.info=function(t){var r,o,n;if(e.ok(a(t),"err must be an Error"),r=null!==(o=i.cause(t))?i.info(o):{},"object"==typeof t.jse_info&&null!==t.jse_info)for(n in t.jse_info)r[n]=t.jse_info[n];return r},i.findCauseByName=function(t,r){var o;for(e.ok(a(t),"err must be an Error"),e.string(r,"name"),e.ok(r.length>0,"name cannot be empty"),o=t;null!==o;o=i.cause(o))if(e.ok(a(o)),o.name==r)return o;return null},i.hasCauseWithName=function(e,t){return null!==i.findCauseByName(e,t)},i.fullStack=function(t){e.ok(a(t),"err must be an Error");var r=i.cause(t);return r?t.stack+"\ncaused by: "+i.fullStack(r):t.stack},i.errorFromList=function(t){return e.arrayOfObject(t,"errors"),0===t.length?null:(t.forEach((function(t){e.ok(a(t))})),1==t.length?t[0]:new c(t))},i.errorForEach=function(t,r){e.ok(a(t),"err must be an Error"),e.func(r,"func"),t instanceof c?t.errors().forEach((function(e){r(e)})):r(t)},t.inherits(s,i),t.inherits(c,i),c.prototype.name="MultiError",c.prototype.errors=function(){return this.ase_errors.slice(0)},t.inherits(u,i),u.prototype.name="WError",u.prototype.toString=function(){var e=this.hasOwnProperty("name")&&this.name||this.constructor.name||this.constructor.prototype.name;return this.message&&(e+=": "+this.message),this.jse_cause&&this.jse_cause.message&&(e+="; caused by "+this.jse_cause.toString()),e},u.prototype.cause=function(e){return a(e)&&(this.jse_cause=e),this.jse_cause},om}var cm,um,pm,lm,dm,mm,hm,fm,gm={exports:{}};function ym(){return cm||(cm=1,function(e){var t,r;t=L,r=function(){var e=r;e.Integer={type:"integer"};var t={String:String,Boolean:Boolean,Number:Number,Object:Object,Array:Array,Date:Date};function r(e,t){return r(e,t,{changing:!1})}e.validate=r,e.checkPropertyChange=function(e,t,a){return r(e,t,{changing:a||"property"})};var r=e._validate=function(e,r,a){a||(a={});var o=a.changing;function n(e){return e.type||t[e.name]==e&&e.name.toLowerCase()}var i=[];function s(e,t,r,c){var u;function p(e){i.push({property:r,message:e})}if(r+=r?"number"==typeof c?"["+c+"]":void 0===c?"":"."+c:c,("object"!=typeof t||t instanceof Array)&&(r||"function"!=typeof t)&&(!t||!n(t)))return"function"==typeof t?e instanceof t||p("is not an instance of the class/constructor "+t.name):t&&p("Invalid schema/property definition "+t),null;function l(e,t){if(e){if(!("string"!=typeof e||"any"==e||("null"==e?null===t:typeof t==e)||t instanceof Array&&"array"==e||t instanceof Date&&"date"==e||"integer"==e&&t%1==0))return[{property:r,message:t+" - "+typeof t+" value found, but a "+e+" is required"}];if(e instanceof Array){for(var a=[],o=0;o<e.length&&(a=l(e[o],t)).length;o++);if(a.length)return a}else if("object"==typeof e){var n=i;i=[],s(t,e,r);var c=i;return i=n,c}}return[]}if(o&&t.readonly&&p("is a readonly field, it can not be changed"),t.extends&&s(e,t.extends,r,c),void 0===e)t.required&&p("is missing and it is required");else if(i=i.concat(l(n(t),e)),t.disallow&&!l(t.disallow,e).length&&p(" disallowed value was matched"),null!==e){if(e instanceof Array){if(t.items){var d=t.items instanceof Array,m=t.items;for(c=0,u=e.length;c<u;c+=1)d&&(m=t.items[c]),a.coerce&&(e[c]=a.coerce(e[c],m)),i.concat(s(e[c],m,r,c))}t.minItems&&e.length<t.minItems&&p("There must be a minimum of "+t.minItems+" in the array"),t.maxItems&&e.length>t.maxItems&&p("There must be a maximum of "+t.maxItems+" in the array")}else(t.properties||t.additionalProperties)&&i.concat(function(e,t,r,n){if("object"==typeof t)for(var c in("object"!=typeof e||e instanceof Array)&&i.push({property:r,message:"an object is required"}),t)if(t.hasOwnProperty(c)&&"__proto__"!=c&&"constructor"!=c){var u=e.hasOwnProperty(c)?e[c]:void 0;if(void 0===u&&a.existingOnly)continue;var p=t[c];void 0===u&&p.default&&(u=e[c]=p.default),a.coerce&&c in e&&(u=e[c]=a.coerce(u,p)),s(u,p,r,c)}for(c in e){if(e.hasOwnProperty(c)&&("_"!=c.charAt(0)||"_"!=c.charAt(1))&&t&&!t[c]&&!1===n){if(a.filter){delete e[c];continue}i.push({property:r,message:"The property "+c+" is not defined in the schema and the schema does not allow additional properties"})}var l=t&&t[c]&&t[c].requires;l&&!(l in e)&&i.push({property:r,message:"the presence of the property "+c+" requires that "+l+" also be present"}),u=e[c],!n||t&&"object"==typeof t&&c in t||(a.coerce&&(u=e[c]=a.coerce(u,n)),s(u,n,r,c)),!o&&u&&u.$schema&&(i=i.concat(s(u,u.$schema,r,c)))}return i}(e,t.properties,r,t.additionalProperties));if(t.pattern&&"string"==typeof e&&!e.match(t.pattern)&&p("does not match the regex pattern "+t.pattern),t.maxLength&&"string"==typeof e&&e.length>t.maxLength&&p("may only be "+t.maxLength+" characters long"),t.minLength&&"string"==typeof e&&e.length<t.minLength&&p("must be at least "+t.minLength+" characters long"),void 0!==t.minimum&&typeof e==typeof t.minimum&&t.minimum>e&&p("must have a minimum value of "+t.minimum),void 0!==t.maximum&&typeof e==typeof t.maximum&&t.maximum<e&&p("must have a maximum value of "+t.maximum),t.enum){var h,f=t.enum;u=f.length;for(var g=0;g<u;g++)if(f[g]===e){h=1;break}h||p("does not have a value in the enumeration "+f.join(", "))}"number"==typeof t.maxDecimal&&e.toString().match(new RegExp("\\.[0-9]{"+(t.maxDecimal+1)+",}"))&&p("may only have "+t.maxDecimal+" digits of decimal places")}return null}return r&&s(e,r,"",o||""),!o&&e&&e.$schema&&s(e,e.$schema,"",""),{valid:!i.length,errors:i}};return e.mustBeValid=function(e){if(!e.valid)throw new TypeError(e.errors.map((function(e){return"for property "+e.property+": "+e.message})).join(", \n"))},e},e.exports?e.exports=r():t.jsonSchema=r()}(gm)),gm.exports}function vm(){if(um)return em;um=1;var e=Xp(),t=rm(),r=sm(),a=ym();function o(t,r){return e.equal(typeof r,"string"),Object.prototype.hasOwnProperty.call(t,r)}function n(e,t){if(null!==e&&"object"==typeof e){if(e.hasOwnProperty(t))return e[t];var r=t.indexOf(".");if(-1!=r){var a=t.substr(0,r);if(e.hasOwnProperty(a))return n(e[a],t.substr(r+1))}}}function i(t,r,a,o){var n,s;if(0===r)return(n=a.slice(0)).push(t),void o(n);for(s in e.ok(null!==t),e.equal(typeof t,"object"),e.equal(typeof r,"number"),e.ok(r>=0),t)(n=a.slice(0)).push(s),i(t[s],r-1,n,o)}em.deepCopy=function e(t){var r,a,o="__deepCopy";if(t&&t[o])throw new Error("attempted deep copy of cyclic object");if(t&&t.constructor==Object){for(a in r={},t[o]=!0,t)a!=o&&(r[a]=e(t[a]));return delete t[o],r}if(t&&t.constructor==Array){for(r=[],t[o]=!0,a=0;a<t.length;a++)r.push(e(t[a]));return delete t[o],r}return t},em.deepEqual=function e(t,r){if(typeof t!=typeof r)return!1;if(null===t||null===r||"object"!=typeof t)return t===r;if(t.constructor!=r.constructor)return!1;var a;for(a in t){if(!r.hasOwnProperty(a))return!1;if(!e(t[a],r[a]))return!1}for(a in r)if(!t.hasOwnProperty(a))return!1;return!0},em.isEmpty=function(e){var t;for(t in e)return!1;return!0},em.hasKey=o,em.forEachKey=function(e,t){for(var r in e)o(e,r)&&t(r,e[r])},em.pluck=function(t,r){return e.equal(typeof r,"string"),n(t,r)},em.flattenObject=function t(r,a){if(0===a)return[r];e.ok(null!==r),e.equal(typeof r,"object"),e.equal(typeof a,"number"),e.ok(a>=0);var o,n=[];for(o in r)t(r[o],a-1).forEach((function(e){n.push([o].concat(e))}));return n},em.flattenIter=function(e,t,r){i(e,t,[],r)},em.validateJsonObject=h,em.validateJsonObjectJS=h,em.randElt=function(t){return e.ok(Array.isArray(t)&&t.length>0,"randElt argument must be a non-empty array"),t[Math.floor(Math.random()*t.length)]},em.extraProperties=function(t,r){e.ok("object"==typeof t&&null!==t,"obj argument must be a non-null object"),e.ok(Array.isArray(r),"allowed argument must be an array of strings");for(var a=0;a<r.length;a++)e.ok("string"==typeof r[a],"allowed argument must be an array of strings");return Object.keys(t).filter((function(e){return-1===r.indexOf(e)}))},em.mergeObjects=v,em.startsWith=function(e,t){return e.substr(0,t.length)==t},em.endsWith=function(e,t){return e.substr(e.length-t.length,t.length)==t},em.parseInteger=function(t,r){e.string(t,"str"),e.optionalObject(r,"options");var a,n=!1,i=l;r&&(n=o(r,"base"),i=v(i,r),e.number(i.base,"options.base"),e.ok(i.base>=2,"options.base >= 2"),e.ok(i.base<=36,"options.base <= 36"),e.bool(i.allowSign,"options.allowSign"),e.bool(i.allowPrefix,"options.allowPrefix"),e.bool(i.allowTrailing,"options.allowTrailing"),e.bool(i.allowImprecise,"options.allowImprecise"),e.bool(i.trimWhitespace,"options.trimWhitespace"),e.bool(i.leadingZeroIsOctal,"options.leadingZeroIsOctal"),i.leadingZeroIsOctal&&e.ok(!n,'"base" and "leadingZeroIsOctal" are mutually exclusive'));var s,c=-1,h=i.base,f=1,g=0,y=0,b=t.length;if(i.trimWhitespace)for(;y<b&&m(t.charCodeAt(y));)++y;i.allowSign&&("-"===t[y]?(y+=1,f=-1):"+"===t[y]&&(y+=1));"0"===t[y]&&(i.allowPrefix&&(c=function(e){return 98===e||66===e?2:111===e||79===e?8:116===e||84===e?10:120===e||88===e?16:-1}(t.charCodeAt(y+1)),-1===c||n&&c!==h||(h=c,y+=2)),-1===c&&i.leadingZeroIsOctal&&(h=8));for(s=y;y<b&&(-1!==(a=d(t.charCodeAt(y)))&&a<h);++y)g*=h,g+=a;if(s===y)return new Error("invalid number: "+JSON.stringify(t));if(i.trimWhitespace)for(;y<b&&m(t.charCodeAt(y));)++y;if(y<b&&!i.allowTrailing)return new Error("trailing characters after number: "+JSON.stringify(t.slice(y)));if(0===g)return 0;var k=g*f;if(!i.allowImprecise&&(g>u||k<p))return new Error("number is outside of the supported range: "+JSON.stringify(t.slice(s,y)));return k},em.iso8601=function(r){"number"==typeof r&&(r=new Date(r));return e.ok(r.constructor===Date),t.sprintf("%4d-%02d-%02dT%02d:%02d:%02d.%03dZ",r.getUTCFullYear(),r.getUTCMonth()+1,r.getUTCDate(),r.getUTCHours(),r.getUTCMinutes(),r.getUTCSeconds(),r.getUTCMilliseconds())},em.rfc1123=function(e){return t.sprintf("%s, %02d %s %04d %02d:%02d:%02d GMT",c[e.getUTCDay()],e.getUTCDate(),s[e.getUTCMonth()],e.getUTCFullYear(),e.getUTCHours(),e.getUTCMinutes(),e.getUTCSeconds())},em.parseDateTime=function(e){var t=+e;return isNaN(t)?new Date(e):new Date(t)},em.hrtimediff=g,em.hrtimeDiff=g,em.hrtimeAccum=y,em.hrtimeAdd=function(e,t){return f(e),y([e[0],e[1]],t)},em.hrtimeNanosec=function(e){return f(e),Math.floor(1e9*e[0]+e[1])},em.hrtimeMicrosec=function(e){return f(e),Math.floor(1e6*e[0]+e[1]/1e3)},em.hrtimeMillisec=function(e){return f(e),Math.floor(1e3*e[0]+e[1]/1e6)};var s=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],c=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"];var u=Number.MAX_SAFE_INTEGER||9007199254740991,p=Number.MIN_SAFE_INTEGER||-9007199254740991,l={base:10,allowSign:!0,allowPrefix:!1,allowTrailing:!1,allowImprecise:!1,trimWhitespace:!1,leadingZeroIsOctal:!1};function d(e){return e>=48&&e<=57?e-48:e>=65&&e<=90?e-55:e>=97&&e<=122?e-87:-1}function m(e){return 32===e||e>=9&&e<=13||160===e||5760===e||6158===e||e>=8192&&e<=8202||8232===e||8233===e||8239===e||8287===e||12288===e||65279===e}function h(e,t){var o=a.validate(t,e);if(0===o.errors.length)return null;var n,i,s=o.errors[0],c=s.property,u=s.message.toLowerCase();-1!=(n=u.indexOf("the property "))&&-1!=(i=u.indexOf(" is not defined in the schema and the schema does not allow additional properties"))&&(n+="the property ".length,c=""===c?u.substr(n,i-n):c+"."+u.substr(n,i-n),u="unsupported property");var p=new r.VError('property "%s": %s',c,u);return p.jsv_details=s,p}function f(t){e.ok(t[0]>=0&&t[1]>=0,"negative numbers not allowed in hrtimes"),e.ok(t[1]<1e9,"nanoseconds column overflow")}function g(t,r){f(t),f(r),e.ok(t[0]>r[0]||t[0]==r[0]&&t[1]>=r[1],"negative differences not allowed");var a=[t[0]-r[0],0];return t[1]>=r[1]?a[1]=t[1]-r[1]:(a[0]--,a[1]=1e9-(r[1]-t[1])),a}function y(e,t){return f(e),f(t),e[1]+=t[1],e[1]>=1e9&&(e[0]++,e[1]-=1e9),e[0]+=t[0],e}function v(e,t,r){var a,o;if(a={},r)for(o in r)a[o]=r[o];if(e)for(o in e)a[o]=e[o];if(t)for(o in t)a[o]=t[o];return a}return em}function bm(){if(lm)return pm;lm=1;var e=Xp(),t=x.default,r=C.default,a=Wd(),o=vm(),n=Yd(),i=C.default.format,s=n.HASH_ALGOS,c=n.PK_ALGOS,u=n.InvalidAlgorithmError,p=n.HttpSignatureError,l=n.validateAlgorithm,d='Signature keyId="%s",algorithm="%s",headers="%s",signature="%s"';function m(e){p.call(this,e,m)}function h(e){p.call(this,e,h)}function f(r){e.object(r,"options");var o=[];if(void 0!==r.algorithm&&(e.string(r.algorithm,"options.algorithm"),o=l(r.algorithm)),this.rs_alg=o,void 0!==r.sign)e.func(r.sign,"options.sign"),this.rs_signFunc=r.sign;else if("hmac"===o[0]&&void 0!==r.key){if(e.string(r.keyId,"options.keyId"),this.rs_keyId=r.keyId,"string"!=typeof r.key&&!Buffer.isBuffer(r.key))throw new TypeError("options.key for HMAC must be a string or Buffer");this.rs_signer=t.createHmac(o[1].toUpperCase(),r.key),this.rs_signer.sign=function(){var e=this.digest("base64");return{hashAlgorithm:o[1],toString:function(){return e}}}}else{if(void 0===r.key)throw new TypeError("options.sign (func) or options.key is required");var n=r.key;if(("string"==typeof n||Buffer.isBuffer(n))&&(n=a.parsePrivateKey(n)),e.ok(a.PrivateKey.isPrivateKey(n,[1,2]),"options.key must be a sshpk.PrivateKey"),this.rs_key=n,e.string(r.keyId,"options.keyId"),this.rs_keyId=r.keyId,!c[n.type])throw new u(n.type.toUpperCase()+" type keys are not supported");if(void 0!==o[0]&&n.type!==o[0])throw new u("options.key must be a "+o[0].toUpperCase()+" key, was given a "+n.type.toUpperCase()+" key instead");this.rs_signer=n.createSign(o[1])}this.rs_headers=[],this.rs_lines=[]}return r.inherits(m,p),r.inherits(h,p),f.prototype.writeHeader=function(t,r){if(e.string(t,"header"),t=t.toLowerCase(),e.string(r,"value"),this.rs_headers.push(t),this.rs_signFunc)this.rs_lines.push(t+": "+r);else{var a=t+": "+r;this.rs_headers.length>0&&(a="\n"+a),this.rs_signer.update(a)}return r},f.prototype.writeDateHeader=function(){return this.writeHeader("date",o.rfc1123(new Date))},f.prototype.writeTarget=function(t,r){e.string(t,"method"),e.string(r,"path"),t=t.toLowerCase(),this.writeHeader("(request-target)",t+" "+r)},f.prototype.sign=function(t){if(e.func(t,"callback"),this.rs_headers.length<1)throw new Error("At least one header must be signed");var r,a;if(this.rs_signFunc){var o=this.rs_lines.join("\n"),n=this;this.rs_signFunc(o,(function(o,s){if(o)t(o);else{try{e.object(s,"signature"),e.string(s.keyId,"signature.keyId"),e.string(s.algorithm,"signature.algorithm"),e.string(s.signature,"signature.signature"),r=l(s.algorithm),a=i(d,s.keyId,s.algorithm,n.rs_headers.join(" "),s.signature)}catch(e){return void t(e)}t(null,a)}}))}else{try{var s=this.rs_signer.sign()}catch(e){return void t(e)}r=(this.rs_alg[0]||this.rs_key.type)+"-"+s.hashAlgorithm;var c=s.toString();a=i(d,this.rs_keyId,r,this.rs_headers.join(" "),c),t(null,a)}},pm={isSigner:function(e){return"object"==typeof e&&e instanceof f},createSigner:function(e){return new f(e)},signRequest:function(r,n){e.object(r,"request"),e.object(n,"options"),e.optionalString(n.algorithm,"options.algorithm"),e.string(n.keyId,"options.keyId"),e.optionalArrayOfString(n.headers,"options.headers"),e.optionalString(n.httpVersion,"options.httpVersion"),r.getHeader("Date")||r.setHeader("Date",o.rfc1123(new Date)),n.headers||(n.headers=["date"]),n.httpVersion||(n.httpVersion="1.1");var p,f=[];n.algorithm&&(n.algorithm=n.algorithm.toLowerCase(),f=l(n.algorithm));var g,y="";for(p=0;p<n.headers.length;p++){if("string"!=typeof n.headers[p])throw new TypeError("options.headers must be an array of Strings");var v=n.headers[p].toLowerCase();if("request-line"===v){if(n.strict)throw new h("request-line is not a valid header with strict parsing enabled.");y+=r.method+" "+r.path+" HTTP/"+n.httpVersion}else if("(request-target)"===v)y+="(request-target): "+r.method.toLowerCase()+" "+r.path;else{var b=r.getHeader(v);if(void 0===b||""===b)throw new m(v+" was not in the request");y+=v+": "+b}p+1<n.headers.length&&(y+="\n")}if(r.hasOwnProperty("_stringToSign")&&(r._stringToSign=y),"hmac"===f[0]){if("string"!=typeof n.key&&!Buffer.isBuffer(n.key))throw new TypeError("options.key must be a string or Buffer");var k=t.createHmac(f[1].toUpperCase(),n.key);k.update(y),g=k.digest("base64")}else{var w=n.key;if(("string"==typeof w||Buffer.isBuffer(w))&&(w=a.parsePrivateKey(n.key)),e.ok(a.PrivateKey.isPrivateKey(w,[1,2]),"options.key must be a sshpk.PrivateKey"),!c[w.type])throw new u(w.type.toUpperCase()+" type keys are not supported");if(void 0!==f[0]&&w.type!==f[0])throw new u("options.key must be a "+f[0].toUpperCase()+" key, was given a "+w.type.toUpperCase()+" key instead");var x=w.createSign(f[1]);x.update(y);var j=x.sign();if(!s[j.hashAlgorithm])throw new u(j.hashAlgorithm.toUpperCase()+" is not a supported hash algorithm");n.algorithm=w.type+"-"+j.hashAlgorithm,g=j.toString(),e.notStrictEqual(g,"","empty signature produced")}var E=n.authorizationHeaderName||"Authorization";return r.setHeader(E,i(d,n.keyId,n.algorithm,n.headers.join(" "),g)),!0}},pm}function km(){if(mm)return dm;mm=1;var e=Xp(),t=x.default,r=Wd(),a=Yd();a.HASH_ALGOS,a.PK_ALGOS,a.InvalidAlgorithmError,a.HttpSignatureError;var o=a.validateAlgorithm;return dm={verifySignature:function(t,a){e.object(t,"parsedSignature"),("string"==typeof a||Buffer.isBuffer(a))&&(a=r.parseKey(a)),e.ok(r.Key.isKey(a,[1,1]),"pubkey must be a sshpk.Key");var n=o(t.algorithm);if("hmac"===n[0]||n[0]!==a.type)return!1;var i=a.createVerify(n[1]);return i.update(t.signingString),i.verify(t.params.signature,"base64")},verifyHMAC:function(r,a){e.object(r,"parsedHMAC"),e.string(a,"secret");var n=o(r.algorithm);if("hmac"!==n[0])return!1;var i=n[1].toUpperCase(),s=t.createHmac(i,a);s.update(r.signingString);var c=t.createHmac(i,a);c.update(s.digest()),c=c.digest();var u=t.createHmac(i,a);return u.update(new Buffer(r.params.signature,"base64")),u=u.digest(),"string"==typeof c?c===u:Buffer.isBuffer(c)&&!c.equals?c.toString("binary")===u.toString("binary"):c.equals(u)}}}var wm={},xm={exports:{}};xm.exports={"application/1d-interleaved-parityfec":{source:"iana"},"application/3gpdash-qoe-report+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/3gpp-ims+xml":{source:"iana",compressible:!0},"application/3gpphal+json":{source:"iana",compressible:!0},"application/3gpphalforms+json":{source:"iana",compressible:!0},"application/a2l":{source:"iana"},"application/ace+cbor":{source:"iana"},"application/activemessage":{source:"iana"},"application/activity+json":{source:"iana",compressible:!0},"application/alto-costmap+json":{source:"iana",compressible:!0},"application/alto-costmapfilter+json":{source:"iana",compressible:!0},"application/alto-directory+json":{source:"iana",compressible:!0},"application/alto-endpointcost+json":{source:"iana",compressible:!0},"application/alto-endpointcostparams+json":{source:"iana",compressible:!0},"application/alto-endpointprop+json":{source:"iana",compressible:!0},"application/alto-endpointpropparams+json":{source:"iana",compressible:!0},"application/alto-error+json":{source:"iana",compressible:!0},"application/alto-networkmap+json":{source:"iana",compressible:!0},"application/alto-networkmapfilter+json":{source:"iana",compressible:!0},"application/alto-updatestreamcontrol+json":{source:"iana",compressible:!0},"application/alto-updatestreamparams+json":{source:"iana",compressible:!0},"application/aml":{source:"iana"},"application/andrew-inset":{source:"iana",extensions:["ez"]},"application/applefile":{source:"iana"},"application/applixware":{source:"apache",extensions:["aw"]},"application/at+jwt":{source:"iana"},"application/atf":{source:"iana"},"application/atfx":{source:"iana"},"application/atom+xml":{source:"iana",compressible:!0,extensions:["atom"]},"application/atomcat+xml":{source:"iana",compressible:!0,extensions:["atomcat"]},"application/atomdeleted+xml":{source:"iana",compressible:!0,extensions:["atomdeleted"]},"application/atomicmail":{source:"iana"},"application/atomsvc+xml":{source:"iana",compressible:!0,extensions:["atomsvc"]},"application/atsc-dwd+xml":{source:"iana",compressible:!0,extensions:["dwd"]},"application/atsc-dynamic-event-message":{source:"iana"},"application/atsc-held+xml":{source:"iana",compressible:!0,extensions:["held"]},"application/atsc-rdt+json":{source:"iana",compressible:!0},"application/atsc-rsat+xml":{source:"iana",compressible:!0,extensions:["rsat"]},"application/atxml":{source:"iana"},"application/auth-policy+xml":{source:"iana",compressible:!0},"application/bacnet-xdd+zip":{source:"iana",compressible:!1},"application/batch-smtp":{source:"iana"},"application/bdoc":{compressible:!1,extensions:["bdoc"]},"application/beep+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/calendar+json":{source:"iana",compressible:!0},"application/calendar+xml":{source:"iana",compressible:!0,extensions:["xcs"]},"application/call-completion":{source:"iana"},"application/cals-1840":{source:"iana"},"application/captive+json":{source:"iana",compressible:!0},"application/cbor":{source:"iana"},"application/cbor-seq":{source:"iana"},"application/cccex":{source:"iana"},"application/ccmp+xml":{source:"iana",compressible:!0},"application/ccxml+xml":{source:"iana",compressible:!0,extensions:["ccxml"]},"application/cdfx+xml":{source:"iana",compressible:!0,extensions:["cdfx"]},"application/cdmi-capability":{source:"iana",extensions:["cdmia"]},"application/cdmi-container":{source:"iana",extensions:["cdmic"]},"application/cdmi-domain":{source:"iana",extensions:["cdmid"]},"application/cdmi-object":{source:"iana",extensions:["cdmio"]},"application/cdmi-queue":{source:"iana",extensions:["cdmiq"]},"application/cdni":{source:"iana"},"application/cea":{source:"iana"},"application/cea-2018+xml":{source:"iana",compressible:!0},"application/cellml+xml":{source:"iana",compressible:!0},"application/cfw":{source:"iana"},"application/city+json":{source:"iana",compressible:!0},"application/clr":{source:"iana"},"application/clue+xml":{source:"iana",compressible:!0},"application/clue_info+xml":{source:"iana",compressible:!0},"application/cms":{source:"iana"},"application/cnrp+xml":{source:"iana",compressible:!0},"application/coap-group+json":{source:"iana",compressible:!0},"application/coap-payload":{source:"iana"},"application/commonground":{source:"iana"},"application/conference-info+xml":{source:"iana",compressible:!0},"application/cose":{source:"iana"},"application/cose-key":{source:"iana"},"application/cose-key-set":{source:"iana"},"application/cpl+xml":{source:"iana",compressible:!0,extensions:["cpl"]},"application/csrattrs":{source:"iana"},"application/csta+xml":{source:"iana",compressible:!0},"application/cstadata+xml":{source:"iana",compressible:!0},"application/csvm+json":{source:"iana",compressible:!0},"application/cu-seeme":{source:"apache",extensions:["cu"]},"application/cwt":{source:"iana"},"application/cybercash":{source:"iana"},"application/dart":{compressible:!0},"application/dash+xml":{source:"iana",compressible:!0,extensions:["mpd"]},"application/dash-patch+xml":{source:"iana",compressible:!0,extensions:["mpp"]},"application/dashdelta":{source:"iana"},"application/davmount+xml":{source:"iana",compressible:!0,extensions:["davmount"]},"application/dca-rft":{source:"iana"},"application/dcd":{source:"iana"},"application/dec-dx":{source:"iana"},"application/dialog-info+xml":{source:"iana",compressible:!0},"application/dicom":{source:"iana"},"application/dicom+json":{source:"iana",compressible:!0},"application/dicom+xml":{source:"iana",compressible:!0},"application/dii":{source:"iana"},"application/dit":{source:"iana"},"application/dns":{source:"iana"},"application/dns+json":{source:"iana",compressible:!0},"application/dns-message":{source:"iana"},"application/docbook+xml":{source:"apache",compressible:!0,extensions:["dbk"]},"application/dots+cbor":{source:"iana"},"application/dskpp+xml":{source:"iana",compressible:!0},"application/dssc+der":{source:"iana",extensions:["dssc"]},"application/dssc+xml":{source:"iana",compressible:!0,extensions:["xdssc"]},"application/dvcs":{source:"iana"},"application/ecmascript":{source:"iana",compressible:!0,extensions:["es","ecma"]},"application/edi-consent":{source:"iana"},"application/edi-x12":{source:"iana",compressible:!1},"application/edifact":{source:"iana",compressible:!1},"application/efi":{source:"iana"},"application/elm+json":{source:"iana",charset:"UTF-8",compressible:!0},"application/elm+xml":{source:"iana",compressible:!0},"application/emergencycalldata.cap+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/emergencycalldata.comment+xml":{source:"iana",compressible:!0},"application/emergencycalldata.control+xml":{source:"iana",compressible:!0},"application/emergencycalldata.deviceinfo+xml":{source:"iana",compressible:!0},"application/emergencycalldata.ecall.msd":{source:"iana"},"application/emergencycalldata.providerinfo+xml":{source:"iana",compressible:!0},"application/emergencycalldata.serviceinfo+xml":{source:"iana",compressible:!0},"application/emergencycalldata.subscriberinfo+xml":{source:"iana",compressible:!0},"application/emergencycalldata.veds+xml":{source:"iana",compressible:!0},"application/emma+xml":{source:"iana",compressible:!0,extensions:["emma"]},"application/emotionml+xml":{source:"iana",compressible:!0,extensions:["emotionml"]},"application/encaprtp":{source:"iana"},"application/epp+xml":{source:"iana",compressible:!0},"application/epub+zip":{source:"iana",compressible:!1,extensions:["epub"]},"application/eshop":{source:"iana"},"application/exi":{source:"iana",extensions:["exi"]},"application/expect-ct-report+json":{source:"iana",compressible:!0},"application/express":{source:"iana",extensions:["exp"]},"application/fastinfoset":{source:"iana"},"application/fastsoap":{source:"iana"},"application/fdt+xml":{source:"iana",compressible:!0,extensions:["fdt"]},"application/fhir+json":{source:"iana",charset:"UTF-8",compressible:!0},"application/fhir+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/fido.trusted-apps+json":{compressible:!0},"application/fits":{source:"iana"},"application/flexfec":{source:"iana"},"application/font-sfnt":{source:"iana"},"application/font-tdpfr":{source:"iana",extensions:["pfr"]},"application/font-woff":{source:"iana",compressible:!1},"application/framework-attributes+xml":{source:"iana",compressible:!0},"application/geo+json":{source:"iana",compressible:!0,extensions:["geojson"]},"application/geo+json-seq":{source:"iana"},"application/geopackage+sqlite3":{source:"iana"},"application/geoxacml+xml":{source:"iana",compressible:!0},"application/gltf-buffer":{source:"iana"},"application/gml+xml":{source:"iana",compressible:!0,extensions:["gml"]},"application/gpx+xml":{source:"apache",compressible:!0,extensions:["gpx"]},"application/gxf":{source:"apache",extensions:["gxf"]},"application/gzip":{source:"iana",compressible:!1,extensions:["gz"]},"application/h224":{source:"iana"},"application/held+xml":{source:"iana",compressible:!0},"application/hjson":{extensions:["hjson"]},"application/http":{source:"iana"},"application/hyperstudio":{source:"iana",extensions:["stk"]},"application/ibe-key-request+xml":{source:"iana",compressible:!0},"application/ibe-pkg-reply+xml":{source:"iana",compressible:!0},"application/ibe-pp-data":{source:"iana"},"application/iges":{source:"iana"},"application/im-iscomposing+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/index":{source:"iana"},"application/index.cmd":{source:"iana"},"application/index.obj":{source:"iana"},"application/index.response":{source:"iana"},"application/index.vnd":{source:"iana"},"application/inkml+xml":{source:"iana",compressible:!0,extensions:["ink","inkml"]},"application/iotp":{source:"iana"},"application/ipfix":{source:"iana",extensions:["ipfix"]},"application/ipp":{source:"iana"},"application/isup":{source:"iana"},"application/its+xml":{source:"iana",compressible:!0,extensions:["its"]},"application/java-archive":{source:"apache",compressible:!1,extensions:["jar","war","ear"]},"application/java-serialized-object":{source:"apache",compressible:!1,extensions:["ser"]},"application/java-vm":{source:"apache",compressible:!1,extensions:["class"]},"application/javascript":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["js","mjs"]},"application/jf2feed+json":{source:"iana",compressible:!0},"application/jose":{source:"iana"},"application/jose+json":{source:"iana",compressible:!0},"application/jrd+json":{source:"iana",compressible:!0},"application/jscalendar+json":{source:"iana",compressible:!0},"application/json":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["json","map"]},"application/json-patch+json":{source:"iana",compressible:!0},"application/json-seq":{source:"iana"},"application/json5":{extensions:["json5"]},"application/jsonml+json":{source:"apache",compressible:!0,extensions:["jsonml"]},"application/jwk+json":{source:"iana",compressible:!0},"application/jwk-set+json":{source:"iana",compressible:!0},"application/jwt":{source:"iana"},"application/kpml-request+xml":{source:"iana",compressible:!0},"application/kpml-response+xml":{source:"iana",compressible:!0},"application/ld+json":{source:"iana",compressible:!0,extensions:["jsonld"]},"application/lgr+xml":{source:"iana",compressible:!0,extensions:["lgr"]},"application/link-format":{source:"iana"},"application/load-control+xml":{source:"iana",compressible:!0},"application/lost+xml":{source:"iana",compressible:!0,extensions:["lostxml"]},"application/lostsync+xml":{source:"iana",compressible:!0},"application/lpf+zip":{source:"iana",compressible:!1},"application/lxf":{source:"iana"},"application/mac-binhex40":{source:"iana",extensions:["hqx"]},"application/mac-compactpro":{source:"apache",extensions:["cpt"]},"application/macwriteii":{source:"iana"},"application/mads+xml":{source:"iana",compressible:!0,extensions:["mads"]},"application/manifest+json":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["webmanifest"]},"application/marc":{source:"iana",extensions:["mrc"]},"application/marcxml+xml":{source:"iana",compressible:!0,extensions:["mrcx"]},"application/mathematica":{source:"iana",extensions:["ma","nb","mb"]},"application/mathml+xml":{source:"iana",compressible:!0,extensions:["mathml"]},"application/mathml-content+xml":{source:"iana",compressible:!0},"application/mathml-presentation+xml":{source:"iana",compressible:!0},"application/mbms-associated-procedure-description+xml":{source:"iana",compressible:!0},"application/mbms-deregister+xml":{source:"iana",compressible:!0},"application/mbms-envelope+xml":{source:"iana",compressible:!0},"application/mbms-msk+xml":{source:"iana",compressible:!0},"application/mbms-msk-response+xml":{source:"iana",compressible:!0},"application/mbms-protection-description+xml":{source:"iana",compressible:!0},"application/mbms-reception-report+xml":{source:"iana",compressible:!0},"application/mbms-register+xml":{source:"iana",compressible:!0},"application/mbms-register-response+xml":{source:"iana",compressible:!0},"application/mbms-schedule+xml":{source:"iana",compressible:!0},"application/mbms-user-service-description+xml":{source:"iana",compressible:!0},"application/mbox":{source:"iana",extensions:["mbox"]},"application/media-policy-dataset+xml":{source:"iana",compressible:!0,extensions:["mpf"]},"application/media_control+xml":{source:"iana",compressible:!0},"application/mediaservercontrol+xml":{source:"iana",compressible:!0,extensions:["mscml"]},"application/merge-patch+json":{source:"iana",compressible:!0},"application/metalink+xml":{source:"apache",compressible:!0,extensions:["metalink"]},"application/metalink4+xml":{source:"iana",compressible:!0,extensions:["meta4"]},"application/mets+xml":{source:"iana",compressible:!0,extensions:["mets"]},"application/mf4":{source:"iana"},"application/mikey":{source:"iana"},"application/mipc":{source:"iana"},"application/missing-blocks+cbor-seq":{source:"iana"},"application/mmt-aei+xml":{source:"iana",compressible:!0,extensions:["maei"]},"application/mmt-usd+xml":{source:"iana",compressible:!0,extensions:["musd"]},"application/mods+xml":{source:"iana",compressible:!0,extensions:["mods"]},"application/moss-keys":{source:"iana"},"application/moss-signature":{source:"iana"},"application/mosskey-data":{source:"iana"},"application/mosskey-request":{source:"iana"},"application/mp21":{source:"iana",extensions:["m21","mp21"]},"application/mp4":{source:"iana",extensions:["mp4s","m4p"]},"application/mpeg4-generic":{source:"iana"},"application/mpeg4-iod":{source:"iana"},"application/mpeg4-iod-xmt":{source:"iana"},"application/mrb-consumer+xml":{source:"iana",compressible:!0},"application/mrb-publish+xml":{source:"iana",compressible:!0},"application/msc-ivr+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/msc-mixer+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/msword":{source:"iana",compressible:!1,extensions:["doc","dot"]},"application/mud+json":{source:"iana",compressible:!0},"application/multipart-core":{source:"iana"},"application/mxf":{source:"iana",extensions:["mxf"]},"application/n-quads":{source:"iana",extensions:["nq"]},"application/n-triples":{source:"iana",extensions:["nt"]},"application/nasdata":{source:"iana"},"application/news-checkgroups":{source:"iana",charset:"US-ASCII"},"application/news-groupinfo":{source:"iana",charset:"US-ASCII"},"application/news-transmission":{source:"iana"},"application/nlsml+xml":{source:"iana",compressible:!0},"application/node":{source:"iana",extensions:["cjs"]},"application/nss":{source:"iana"},"application/oauth-authz-req+jwt":{source:"iana"},"application/oblivious-dns-message":{source:"iana"},"application/ocsp-request":{source:"iana"},"application/ocsp-response":{source:"iana"},"application/octet-stream":{source:"iana",compressible:!1,extensions:["bin","dms","lrf","mar","so","dist","distz","pkg","bpk","dump","elc","deploy","exe","dll","deb","dmg","iso","img","msi","msp","msm","buffer"]},"application/oda":{source:"iana",extensions:["oda"]},"application/odm+xml":{source:"iana",compressible:!0},"application/odx":{source:"iana"},"application/oebps-package+xml":{source:"iana",compressible:!0,extensions:["opf"]},"application/ogg":{source:"iana",compressible:!1,extensions:["ogx"]},"application/omdoc+xml":{source:"apache",compressible:!0,extensions:["omdoc"]},"application/onenote":{source:"apache",extensions:["onetoc","onetoc2","onetmp","onepkg"]},"application/opc-nodeset+xml":{source:"iana",compressible:!0},"application/oscore":{source:"iana"},"application/oxps":{source:"iana",extensions:["oxps"]},"application/p21":{source:"iana"},"application/p21+zip":{source:"iana",compressible:!1},"application/p2p-overlay+xml":{source:"iana",compressible:!0,extensions:["relo"]},"application/parityfec":{source:"iana"},"application/passport":{source:"iana"},"application/patch-ops-error+xml":{source:"iana",compressible:!0,extensions:["xer"]},"application/pdf":{source:"iana",compressible:!1,extensions:["pdf"]},"application/pdx":{source:"iana"},"application/pem-certificate-chain":{source:"iana"},"application/pgp-encrypted":{source:"iana",compressible:!1,extensions:["pgp"]},"application/pgp-keys":{source:"iana",extensions:["asc"]},"application/pgp-signature":{source:"iana",extensions:["asc","sig"]},"application/pics-rules":{source:"apache",extensions:["prf"]},"application/pidf+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/pidf-diff+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/pkcs10":{source:"iana",extensions:["p10"]},"application/pkcs12":{source:"iana"},"application/pkcs7-mime":{source:"iana",extensions:["p7m","p7c"]},"application/pkcs7-signature":{source:"iana",extensions:["p7s"]},"application/pkcs8":{source:"iana",extensions:["p8"]},"application/pkcs8-encrypted":{source:"iana"},"application/pkix-attr-cert":{source:"iana",extensions:["ac"]},"application/pkix-cert":{source:"iana",extensions:["cer"]},"application/pkix-crl":{source:"iana",extensions:["crl"]},"application/pkix-pkipath":{source:"iana",extensions:["pkipath"]},"application/pkixcmp":{source:"iana",extensions:["pki"]},"application/pls+xml":{source:"iana",compressible:!0,extensions:["pls"]},"application/poc-settings+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/postscript":{source:"iana",compressible:!0,extensions:["ai","eps","ps"]},"application/ppsp-tracker+json":{source:"iana",compressible:!0},"application/problem+json":{source:"iana",compressible:!0},"application/problem+xml":{source:"iana",compressible:!0},"application/provenance+xml":{source:"iana",compressible:!0,extensions:["provx"]},"application/prs.alvestrand.titrax-sheet":{source:"iana"},"application/prs.cww":{source:"iana",extensions:["cww"]},"application/prs.cyn":{source:"iana",charset:"7-BIT"},"application/prs.hpub+zip":{source:"iana",compressible:!1},"application/prs.nprend":{source:"iana"},"application/prs.plucker":{source:"iana"},"application/prs.rdf-xml-crypt":{source:"iana"},"application/prs.xsf+xml":{source:"iana",compressible:!0},"application/pskc+xml":{source:"iana",compressible:!0,extensions:["pskcxml"]},"application/pvd+json":{source:"iana",compressible:!0},"application/qsig":{source:"iana"},"application/raml+yaml":{compressible:!0,extensions:["raml"]},"application/raptorfec":{source:"iana"},"application/rdap+json":{source:"iana",compressible:!0},"application/rdf+xml":{source:"iana",compressible:!0,extensions:["rdf","owl"]},"application/reginfo+xml":{source:"iana",compressible:!0,extensions:["rif"]},"application/relax-ng-compact-syntax":{source:"iana",extensions:["rnc"]},"application/remote-printing":{source:"iana"},"application/reputon+json":{source:"iana",compressible:!0},"application/resource-lists+xml":{source:"iana",compressible:!0,extensions:["rl"]},"application/resource-lists-diff+xml":{source:"iana",compressible:!0,extensions:["rld"]},"application/rfc+xml":{source:"iana",compressible:!0},"application/riscos":{source:"iana"},"application/rlmi+xml":{source:"iana",compressible:!0},"application/rls-services+xml":{source:"iana",compressible:!0,extensions:["rs"]},"application/route-apd+xml":{source:"iana",compressible:!0,extensions:["rapd"]},"application/route-s-tsid+xml":{source:"iana",compressible:!0,extensions:["sls"]},"application/route-usd+xml":{source:"iana",compressible:!0,extensions:["rusd"]},"application/rpki-ghostbusters":{source:"iana",extensions:["gbr"]},"application/rpki-manifest":{source:"iana",extensions:["mft"]},"application/rpki-publication":{source:"iana"},"application/rpki-roa":{source:"iana",extensions:["roa"]},"application/rpki-updown":{source:"iana"},"application/rsd+xml":{source:"apache",compressible:!0,extensions:["rsd"]},"application/rss+xml":{source:"apache",compressible:!0,extensions:["rss"]},"application/rtf":{source:"iana",compressible:!0,extensions:["rtf"]},"application/rtploopback":{source:"iana"},"application/rtx":{source:"iana"},"application/samlassertion+xml":{source:"iana",compressible:!0},"application/samlmetadata+xml":{source:"iana",compressible:!0},"application/sarif+json":{source:"iana",compressible:!0},"application/sarif-external-properties+json":{source:"iana",compressible:!0},"application/sbe":{source:"iana"},"application/sbml+xml":{source:"iana",compressible:!0,extensions:["sbml"]},"application/scaip+xml":{source:"iana",compressible:!0},"application/scim+json":{source:"iana",compressible:!0},"application/scvp-cv-request":{source:"iana",extensions:["scq"]},"application/scvp-cv-response":{source:"iana",extensions:["scs"]},"application/scvp-vp-request":{source:"iana",extensions:["spq"]},"application/scvp-vp-response":{source:"iana",extensions:["spp"]},"application/sdp":{source:"iana",extensions:["sdp"]},"application/secevent+jwt":{source:"iana"},"application/senml+cbor":{source:"iana"},"application/senml+json":{source:"iana",compressible:!0},"application/senml+xml":{source:"iana",compressible:!0,extensions:["senmlx"]},"application/senml-etch+cbor":{source:"iana"},"application/senml-etch+json":{source:"iana",compressible:!0},"application/senml-exi":{source:"iana"},"application/sensml+cbor":{source:"iana"},"application/sensml+json":{source:"iana",compressible:!0},"application/sensml+xml":{source:"iana",compressible:!0,extensions:["sensmlx"]},"application/sensml-exi":{source:"iana"},"application/sep+xml":{source:"iana",compressible:!0},"application/sep-exi":{source:"iana"},"application/session-info":{source:"iana"},"application/set-payment":{source:"iana"},"application/set-payment-initiation":{source:"iana",extensions:["setpay"]},"application/set-registration":{source:"iana"},"application/set-registration-initiation":{source:"iana",extensions:["setreg"]},"application/sgml":{source:"iana"},"application/sgml-open-catalog":{source:"iana"},"application/shf+xml":{source:"iana",compressible:!0,extensions:["shf"]},"application/sieve":{source:"iana",extensions:["siv","sieve"]},"application/simple-filter+xml":{source:"iana",compressible:!0},"application/simple-message-summary":{source:"iana"},"application/simplesymbolcontainer":{source:"iana"},"application/sipc":{source:"iana"},"application/slate":{source:"iana"},"application/smil":{source:"iana"},"application/smil+xml":{source:"iana",compressible:!0,extensions:["smi","smil"]},"application/smpte336m":{source:"iana"},"application/soap+fastinfoset":{source:"iana"},"application/soap+xml":{source:"iana",compressible:!0},"application/sparql-query":{source:"iana",extensions:["rq"]},"application/sparql-results+xml":{source:"iana",compressible:!0,extensions:["srx"]},"application/spdx+json":{source:"iana",compressible:!0},"application/spirits-event+xml":{source:"iana",compressible:!0},"application/sql":{source:"iana"},"application/srgs":{source:"iana",extensions:["gram"]},"application/srgs+xml":{source:"iana",compressible:!0,extensions:["grxml"]},"application/sru+xml":{source:"iana",compressible:!0,extensions:["sru"]},"application/ssdl+xml":{source:"apache",compressible:!0,extensions:["ssdl"]},"application/ssml+xml":{source:"iana",compressible:!0,extensions:["ssml"]},"application/stix+json":{source:"iana",compressible:!0},"application/swid+xml":{source:"iana",compressible:!0,extensions:["swidtag"]},"application/tamp-apex-update":{source:"iana"},"application/tamp-apex-update-confirm":{source:"iana"},"application/tamp-community-update":{source:"iana"},"application/tamp-community-update-confirm":{source:"iana"},"application/tamp-error":{source:"iana"},"application/tamp-sequence-adjust":{source:"iana"},"application/tamp-sequence-adjust-confirm":{source:"iana"},"application/tamp-status-query":{source:"iana"},"application/tamp-status-response":{source:"iana"},"application/tamp-update":{source:"iana"},"application/tamp-update-confirm":{source:"iana"},"application/tar":{compressible:!0},"application/taxii+json":{source:"iana",compressible:!0},"application/td+json":{source:"iana",compressible:!0},"application/tei+xml":{source:"iana",compressible:!0,extensions:["tei","teicorpus"]},"application/tetra_isi":{source:"iana"},"application/thraud+xml":{source:"iana",compressible:!0,extensions:["tfi"]},"application/timestamp-query":{source:"iana"},"application/timestamp-reply":{source:"iana"},"application/timestamped-data":{source:"iana",extensions:["tsd"]},"application/tlsrpt+gzip":{source:"iana"},"application/tlsrpt+json":{source:"iana",compressible:!0},"application/tnauthlist":{source:"iana"},"application/token-introspection+jwt":{source:"iana"},"application/toml":{compressible:!0,extensions:["toml"]},"application/trickle-ice-sdpfrag":{source:"iana"},"application/trig":{source:"iana",extensions:["trig"]},"application/ttml+xml":{source:"iana",compressible:!0,extensions:["ttml"]},"application/tve-trigger":{source:"iana"},"application/tzif":{source:"iana"},"application/tzif-leap":{source:"iana"},"application/ubjson":{compressible:!1,extensions:["ubj"]},"application/ulpfec":{source:"iana"},"application/urc-grpsheet+xml":{source:"iana",compressible:!0},"application/urc-ressheet+xml":{source:"iana",compressible:!0,extensions:["rsheet"]},"application/urc-targetdesc+xml":{source:"iana",compressible:!0,extensions:["td"]},"application/urc-uisocketdesc+xml":{source:"iana",compressible:!0},"application/vcard+json":{source:"iana",compressible:!0},"application/vcard+xml":{source:"iana",compressible:!0},"application/vemmi":{source:"iana"},"application/vividence.scriptfile":{source:"apache"},"application/vnd.1000minds.decision-model+xml":{source:"iana",compressible:!0,extensions:["1km"]},"application/vnd.3gpp-prose+xml":{source:"iana",compressible:!0},"application/vnd.3gpp-prose-pc3ch+xml":{source:"iana",compressible:!0},"application/vnd.3gpp-v2x-local-service-information":{source:"iana"},"application/vnd.3gpp.5gnas":{source:"iana"},"application/vnd.3gpp.access-transfer-events+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.bsf+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.gmop+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.gtpc":{source:"iana"},"application/vnd.3gpp.interworking-data":{source:"iana"},"application/vnd.3gpp.lpp":{source:"iana"},"application/vnd.3gpp.mc-signalling-ear":{source:"iana"},"application/vnd.3gpp.mcdata-affiliation-command+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcdata-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcdata-payload":{source:"iana"},"application/vnd.3gpp.mcdata-service-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcdata-signalling":{source:"iana"},"application/vnd.3gpp.mcdata-ue-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcdata-user-profile+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-affiliation-command+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-floor-request+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-location-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-mbms-usage-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-service-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-signed+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-ue-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-ue-init-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-user-profile+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-affiliation-command+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-affiliation-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-location-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-mbms-usage-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-service-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-transmission-request+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-ue-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-user-profile+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mid-call+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.ngap":{source:"iana"},"application/vnd.3gpp.pfcp":{source:"iana"},"application/vnd.3gpp.pic-bw-large":{source:"iana",extensions:["plb"]},"application/vnd.3gpp.pic-bw-small":{source:"iana",extensions:["psb"]},"application/vnd.3gpp.pic-bw-var":{source:"iana",extensions:["pvb"]},"application/vnd.3gpp.s1ap":{source:"iana"},"application/vnd.3gpp.sms":{source:"iana"},"application/vnd.3gpp.sms+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.srvcc-ext+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.srvcc-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.state-and-event-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.ussd+xml":{source:"iana",compressible:!0},"application/vnd.3gpp2.bcmcsinfo+xml":{source:"iana",compressible:!0},"application/vnd.3gpp2.sms":{source:"iana"},"application/vnd.3gpp2.tcap":{source:"iana",extensions:["tcap"]},"application/vnd.3lightssoftware.imagescal":{source:"iana"},"application/vnd.3m.post-it-notes":{source:"iana",extensions:["pwn"]},"application/vnd.accpac.simply.aso":{source:"iana",extensions:["aso"]},"application/vnd.accpac.simply.imp":{source:"iana",extensions:["imp"]},"application/vnd.acucobol":{source:"iana",extensions:["acu"]},"application/vnd.acucorp":{source:"iana",extensions:["atc","acutc"]},"application/vnd.adobe.air-application-installer-package+zip":{source:"apache",compressible:!1,extensions:["air"]},"application/vnd.adobe.flash.movie":{source:"iana"},"application/vnd.adobe.formscentral.fcdt":{source:"iana",extensions:["fcdt"]},"application/vnd.adobe.fxp":{source:"iana",extensions:["fxp","fxpl"]},"application/vnd.adobe.partial-upload":{source:"iana"},"application/vnd.adobe.xdp+xml":{source:"iana",compressible:!0,extensions:["xdp"]},"application/vnd.adobe.xfdf":{source:"iana",extensions:["xfdf"]},"application/vnd.aether.imp":{source:"iana"},"application/vnd.afpc.afplinedata":{source:"iana"},"application/vnd.afpc.afplinedata-pagedef":{source:"iana"},"application/vnd.afpc.cmoca-cmresource":{source:"iana"},"application/vnd.afpc.foca-charset":{source:"iana"},"application/vnd.afpc.foca-codedfont":{source:"iana"},"application/vnd.afpc.foca-codepage":{source:"iana"},"application/vnd.afpc.modca":{source:"iana"},"application/vnd.afpc.modca-cmtable":{source:"iana"},"application/vnd.afpc.modca-formdef":{source:"iana"},"application/vnd.afpc.modca-mediummap":{source:"iana"},"application/vnd.afpc.modca-objectcontainer":{source:"iana"},"application/vnd.afpc.modca-overlay":{source:"iana"},"application/vnd.afpc.modca-pagesegment":{source:"iana"},"application/vnd.age":{source:"iana",extensions:["age"]},"application/vnd.ah-barcode":{source:"iana"},"application/vnd.ahead.space":{source:"iana",extensions:["ahead"]},"application/vnd.airzip.filesecure.azf":{source:"iana",extensions:["azf"]},"application/vnd.airzip.filesecure.azs":{source:"iana",extensions:["azs"]},"application/vnd.amadeus+json":{source:"iana",compressible:!0},"application/vnd.amazon.ebook":{source:"apache",extensions:["azw"]},"application/vnd.amazon.mobi8-ebook":{source:"iana"},"application/vnd.americandynamics.acc":{source:"iana",extensions:["acc"]},"application/vnd.amiga.ami":{source:"iana",extensions:["ami"]},"application/vnd.amundsen.maze+xml":{source:"iana",compressible:!0},"application/vnd.android.ota":{source:"iana"},"application/vnd.android.package-archive":{source:"apache",compressible:!1,extensions:["apk"]},"application/vnd.anki":{source:"iana"},"application/vnd.anser-web-certificate-issue-initiation":{source:"iana",extensions:["cii"]},"application/vnd.anser-web-funds-transfer-initiation":{source:"apache",extensions:["fti"]},"application/vnd.antix.game-component":{source:"iana",extensions:["atx"]},"application/vnd.apache.arrow.file":{source:"iana"},"application/vnd.apache.arrow.stream":{source:"iana"},"application/vnd.apache.thrift.binary":{source:"iana"},"application/vnd.apache.thrift.compact":{source:"iana"},"application/vnd.apache.thrift.json":{source:"iana"},"application/vnd.api+json":{source:"iana",compressible:!0},"application/vnd.aplextor.warrp+json":{source:"iana",compressible:!0},"application/vnd.apothekende.reservation+json":{source:"iana",compressible:!0},"application/vnd.apple.installer+xml":{source:"iana",compressible:!0,extensions:["mpkg"]},"application/vnd.apple.keynote":{source:"iana",extensions:["key"]},"application/vnd.apple.mpegurl":{source:"iana",extensions:["m3u8"]},"application/vnd.apple.numbers":{source:"iana",extensions:["numbers"]},"application/vnd.apple.pages":{source:"iana",extensions:["pages"]},"application/vnd.apple.pkpass":{compressible:!1,extensions:["pkpass"]},"application/vnd.arastra.swi":{source:"iana"},"application/vnd.aristanetworks.swi":{source:"iana",extensions:["swi"]},"application/vnd.artisan+json":{source:"iana",compressible:!0},"application/vnd.artsquare":{source:"iana"},"application/vnd.astraea-software.iota":{source:"iana",extensions:["iota"]},"application/vnd.audiograph":{source:"iana",extensions:["aep"]},"application/vnd.autopackage":{source:"iana"},"application/vnd.avalon+json":{source:"iana",compressible:!0},"application/vnd.avistar+xml":{source:"iana",compressible:!0},"application/vnd.balsamiq.bmml+xml":{source:"iana",compressible:!0,extensions:["bmml"]},"application/vnd.balsamiq.bmpr":{source:"iana"},"application/vnd.banana-accounting":{source:"iana"},"application/vnd.bbf.usp.error":{source:"iana"},"application/vnd.bbf.usp.msg":{source:"iana"},"application/vnd.bbf.usp.msg+json":{source:"iana",compressible:!0},"application/vnd.bekitzur-stech+json":{source:"iana",compressible:!0},"application/vnd.bint.med-content":{source:"iana"},"application/vnd.biopax.rdf+xml":{source:"iana",compressible:!0},"application/vnd.blink-idb-value-wrapper":{source:"iana"},"application/vnd.blueice.multipass":{source:"iana",extensions:["mpm"]},"application/vnd.bluetooth.ep.oob":{source:"iana"},"application/vnd.bluetooth.le.oob":{source:"iana"},"application/vnd.bmi":{source:"iana",extensions:["bmi"]},"application/vnd.bpf":{source:"iana"},"application/vnd.bpf3":{source:"iana"},"application/vnd.businessobjects":{source:"iana",extensions:["rep"]},"application/vnd.byu.uapi+json":{source:"iana",compressible:!0},"application/vnd.cab-jscript":{source:"iana"},"application/vnd.canon-cpdl":{source:"iana"},"application/vnd.canon-lips":{source:"iana"},"application/vnd.capasystems-pg+json":{source:"iana",compressible:!0},"application/vnd.cendio.thinlinc.clientconf":{source:"iana"},"application/vnd.century-systems.tcp_stream":{source:"iana"},"application/vnd.chemdraw+xml":{source:"iana",compressible:!0,extensions:["cdxml"]},"application/vnd.chess-pgn":{source:"iana"},"application/vnd.chipnuts.karaoke-mmd":{source:"iana",extensions:["mmd"]},"application/vnd.ciedi":{source:"iana"},"application/vnd.cinderella":{source:"iana",extensions:["cdy"]},"application/vnd.cirpack.isdn-ext":{source:"iana"},"application/vnd.citationstyles.style+xml":{source:"iana",compressible:!0,extensions:["csl"]},"application/vnd.claymore":{source:"iana",extensions:["cla"]},"application/vnd.cloanto.rp9":{source:"iana",extensions:["rp9"]},"application/vnd.clonk.c4group":{source:"iana",extensions:["c4g","c4d","c4f","c4p","c4u"]},"application/vnd.cluetrust.cartomobile-config":{source:"iana",extensions:["c11amc"]},"application/vnd.cluetrust.cartomobile-config-pkg":{source:"iana",extensions:["c11amz"]},"application/vnd.coffeescript":{source:"iana"},"application/vnd.collabio.xodocuments.document":{source:"iana"},"application/vnd.collabio.xodocuments.document-template":{source:"iana"},"application/vnd.collabio.xodocuments.presentation":{source:"iana"},"application/vnd.collabio.xodocuments.presentation-template":{source:"iana"},"application/vnd.collabio.xodocuments.spreadsheet":{source:"iana"},"application/vnd.collabio.xodocuments.spreadsheet-template":{source:"iana"},"application/vnd.collection+json":{source:"iana",compressible:!0},"application/vnd.collection.doc+json":{source:"iana",compressible:!0},"application/vnd.collection.next+json":{source:"iana",compressible:!0},"application/vnd.comicbook+zip":{source:"iana",compressible:!1},"application/vnd.comicbook-rar":{source:"iana"},"application/vnd.commerce-battelle":{source:"iana"},"application/vnd.commonspace":{source:"iana",extensions:["csp"]},"application/vnd.contact.cmsg":{source:"iana",extensions:["cdbcmsg"]},"application/vnd.coreos.ignition+json":{source:"iana",compressible:!0},"application/vnd.cosmocaller":{source:"iana",extensions:["cmc"]},"application/vnd.crick.clicker":{source:"iana",extensions:["clkx"]},"application/vnd.crick.clicker.keyboard":{source:"iana",extensions:["clkk"]},"application/vnd.crick.clicker.palette":{source:"iana",extensions:["clkp"]},"application/vnd.crick.clicker.template":{source:"iana",extensions:["clkt"]},"application/vnd.crick.clicker.wordbank":{source:"iana",extensions:["clkw"]},"application/vnd.criticaltools.wbs+xml":{source:"iana",compressible:!0,extensions:["wbs"]},"application/vnd.cryptii.pipe+json":{source:"iana",compressible:!0},"application/vnd.crypto-shade-file":{source:"iana"},"application/vnd.cryptomator.encrypted":{source:"iana"},"application/vnd.cryptomator.vault":{source:"iana"},"application/vnd.ctc-posml":{source:"iana",extensions:["pml"]},"application/vnd.ctct.ws+xml":{source:"iana",compressible:!0},"application/vnd.cups-pdf":{source:"iana"},"application/vnd.cups-postscript":{source:"iana"},"application/vnd.cups-ppd":{source:"iana",extensions:["ppd"]},"application/vnd.cups-raster":{source:"iana"},"application/vnd.cups-raw":{source:"iana"},"application/vnd.curl":{source:"iana"},"application/vnd.curl.car":{source:"apache",extensions:["car"]},"application/vnd.curl.pcurl":{source:"apache",extensions:["pcurl"]},"application/vnd.cyan.dean.root+xml":{source:"iana",compressible:!0},"application/vnd.cybank":{source:"iana"},"application/vnd.cyclonedx+json":{source:"iana",compressible:!0},"application/vnd.cyclonedx+xml":{source:"iana",compressible:!0},"application/vnd.d2l.coursepackage1p0+zip":{source:"iana",compressible:!1},"application/vnd.d3m-dataset":{source:"iana"},"application/vnd.d3m-problem":{source:"iana"},"application/vnd.dart":{source:"iana",compressible:!0,extensions:["dart"]},"application/vnd.data-vision.rdz":{source:"iana",extensions:["rdz"]},"application/vnd.datapackage+json":{source:"iana",compressible:!0},"application/vnd.dataresource+json":{source:"iana",compressible:!0},"application/vnd.dbf":{source:"iana",extensions:["dbf"]},"application/vnd.debian.binary-package":{source:"iana"},"application/vnd.dece.data":{source:"iana",extensions:["uvf","uvvf","uvd","uvvd"]},"application/vnd.dece.ttml+xml":{source:"iana",compressible:!0,extensions:["uvt","uvvt"]},"application/vnd.dece.unspecified":{source:"iana",extensions:["uvx","uvvx"]},"application/vnd.dece.zip":{source:"iana",extensions:["uvz","uvvz"]},"application/vnd.denovo.fcselayout-link":{source:"iana",extensions:["fe_launch"]},"application/vnd.desmume.movie":{source:"iana"},"application/vnd.dir-bi.plate-dl-nosuffix":{source:"iana"},"application/vnd.dm.delegation+xml":{source:"iana",compressible:!0},"application/vnd.dna":{source:"iana",extensions:["dna"]},"application/vnd.document+json":{source:"iana",compressible:!0},"application/vnd.dolby.mlp":{source:"apache",extensions:["mlp"]},"application/vnd.dolby.mobile.1":{source:"iana"},"application/vnd.dolby.mobile.2":{source:"iana"},"application/vnd.doremir.scorecloud-binary-document":{source:"iana"},"application/vnd.dpgraph":{source:"iana",extensions:["dpg"]},"application/vnd.dreamfactory":{source:"iana",extensions:["dfac"]},"application/vnd.drive+json":{source:"iana",compressible:!0},"application/vnd.ds-keypoint":{source:"apache",extensions:["kpxx"]},"application/vnd.dtg.local":{source:"iana"},"application/vnd.dtg.local.flash":{source:"iana"},"application/vnd.dtg.local.html":{source:"iana"},"application/vnd.dvb.ait":{source:"iana",extensions:["ait"]},"application/vnd.dvb.dvbisl+xml":{source:"iana",compressible:!0},"application/vnd.dvb.dvbj":{source:"iana"},"application/vnd.dvb.esgcontainer":{source:"iana"},"application/vnd.dvb.ipdcdftnotifaccess":{source:"iana"},"application/vnd.dvb.ipdcesgaccess":{source:"iana"},"application/vnd.dvb.ipdcesgaccess2":{source:"iana"},"application/vnd.dvb.ipdcesgpdd":{source:"iana"},"application/vnd.dvb.ipdcroaming":{source:"iana"},"application/vnd.dvb.iptv.alfec-base":{source:"iana"},"application/vnd.dvb.iptv.alfec-enhancement":{source:"iana"},"application/vnd.dvb.notif-aggregate-root+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-container+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-generic+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-ia-msglist+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-ia-registration-request+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-ia-registration-response+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-init+xml":{source:"iana",compressible:!0},"application/vnd.dvb.pfr":{source:"iana"},"application/vnd.dvb.service":{source:"iana",extensions:["svc"]},"application/vnd.dxr":{source:"iana"},"application/vnd.dynageo":{source:"iana",extensions:["geo"]},"application/vnd.dzr":{source:"iana"},"application/vnd.easykaraoke.cdgdownload":{source:"iana"},"application/vnd.ecdis-update":{source:"iana"},"application/vnd.ecip.rlp":{source:"iana"},"application/vnd.eclipse.ditto+json":{source:"iana",compressible:!0},"application/vnd.ecowin.chart":{source:"iana",extensions:["mag"]},"application/vnd.ecowin.filerequest":{source:"iana"},"application/vnd.ecowin.fileupdate":{source:"iana"},"application/vnd.ecowin.series":{source:"iana"},"application/vnd.ecowin.seriesrequest":{source:"iana"},"application/vnd.ecowin.seriesupdate":{source:"iana"},"application/vnd.efi.img":{source:"iana"},"application/vnd.efi.iso":{source:"iana"},"application/vnd.emclient.accessrequest+xml":{source:"iana",compressible:!0},"application/vnd.enliven":{source:"iana",extensions:["nml"]},"application/vnd.enphase.envoy":{source:"iana"},"application/vnd.eprints.data+xml":{source:"iana",compressible:!0},"application/vnd.epson.esf":{source:"iana",extensions:["esf"]},"application/vnd.epson.msf":{source:"iana",extensions:["msf"]},"application/vnd.epson.quickanime":{source:"iana",extensions:["qam"]},"application/vnd.epson.salt":{source:"iana",extensions:["slt"]},"application/vnd.epson.ssf":{source:"iana",extensions:["ssf"]},"application/vnd.ericsson.quickcall":{source:"iana"},"application/vnd.espass-espass+zip":{source:"iana",compressible:!1},"application/vnd.eszigno3+xml":{source:"iana",compressible:!0,extensions:["es3","et3"]},"application/vnd.etsi.aoc+xml":{source:"iana",compressible:!0},"application/vnd.etsi.asic-e+zip":{source:"iana",compressible:!1},"application/vnd.etsi.asic-s+zip":{source:"iana",compressible:!1},"application/vnd.etsi.cug+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvcommand+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvdiscovery+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvprofile+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvsad-bc+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvsad-cod+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvsad-npvr+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvservice+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvsync+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvueprofile+xml":{source:"iana",compressible:!0},"application/vnd.etsi.mcid+xml":{source:"iana",compressible:!0},"application/vnd.etsi.mheg5":{source:"iana"},"application/vnd.etsi.overload-control-policy-dataset+xml":{source:"iana",compressible:!0},"application/vnd.etsi.pstn+xml":{source:"iana",compressible:!0},"application/vnd.etsi.sci+xml":{source:"iana",compressible:!0},"application/vnd.etsi.simservs+xml":{source:"iana",compressible:!0},"application/vnd.etsi.timestamp-token":{source:"iana"},"application/vnd.etsi.tsl+xml":{source:"iana",compressible:!0},"application/vnd.etsi.tsl.der":{source:"iana"},"application/vnd.eu.kasparian.car+json":{source:"iana",compressible:!0},"application/vnd.eudora.data":{source:"iana"},"application/vnd.evolv.ecig.profile":{source:"iana"},"application/vnd.evolv.ecig.settings":{source:"iana"},"application/vnd.evolv.ecig.theme":{source:"iana"},"application/vnd.exstream-empower+zip":{source:"iana",compressible:!1},"application/vnd.exstream-package":{source:"iana"},"application/vnd.ezpix-album":{source:"iana",extensions:["ez2"]},"application/vnd.ezpix-package":{source:"iana",extensions:["ez3"]},"application/vnd.f-secure.mobile":{source:"iana"},"application/vnd.familysearch.gedcom+zip":{source:"iana",compressible:!1},"application/vnd.fastcopy-disk-image":{source:"iana"},"application/vnd.fdf":{source:"iana",extensions:["fdf"]},"application/vnd.fdsn.mseed":{source:"iana",extensions:["mseed"]},"application/vnd.fdsn.seed":{source:"iana",extensions:["seed","dataless"]},"application/vnd.ffsns":{source:"iana"},"application/vnd.ficlab.flb+zip":{source:"iana",compressible:!1},"application/vnd.filmit.zfc":{source:"iana"},"application/vnd.fints":{source:"iana"},"application/vnd.firemonkeys.cloudcell":{source:"iana"},"application/vnd.flographit":{source:"iana",extensions:["gph"]},"application/vnd.fluxtime.clip":{source:"iana",extensions:["ftc"]},"application/vnd.font-fontforge-sfd":{source:"iana"},"application/vnd.framemaker":{source:"iana",extensions:["fm","frame","maker","book"]},"application/vnd.frogans.fnc":{source:"iana",extensions:["fnc"]},"application/vnd.frogans.ltf":{source:"iana",extensions:["ltf"]},"application/vnd.fsc.weblaunch":{source:"iana",extensions:["fsc"]},"application/vnd.fujifilm.fb.docuworks":{source:"iana"},"application/vnd.fujifilm.fb.docuworks.binder":{source:"iana"},"application/vnd.fujifilm.fb.docuworks.container":{source:"iana"},"application/vnd.fujifilm.fb.jfi+xml":{source:"iana",compressible:!0},"application/vnd.fujitsu.oasys":{source:"iana",extensions:["oas"]},"application/vnd.fujitsu.oasys2":{source:"iana",extensions:["oa2"]},"application/vnd.fujitsu.oasys3":{source:"iana",extensions:["oa3"]},"application/vnd.fujitsu.oasysgp":{source:"iana",extensions:["fg5"]},"application/vnd.fujitsu.oasysprs":{source:"iana",extensions:["bh2"]},"application/vnd.fujixerox.art-ex":{source:"iana"},"application/vnd.fujixerox.art4":{source:"iana"},"application/vnd.fujixerox.ddd":{source:"iana",extensions:["ddd"]},"application/vnd.fujixerox.docuworks":{source:"iana",extensions:["xdw"]},"application/vnd.fujixerox.docuworks.binder":{source:"iana",extensions:["xbd"]},"application/vnd.fujixerox.docuworks.container":{source:"iana"},"application/vnd.fujixerox.hbpl":{source:"iana"},"application/vnd.fut-misnet":{source:"iana"},"application/vnd.futoin+cbor":{source:"iana"},"application/vnd.futoin+json":{source:"iana",compressible:!0},"application/vnd.fuzzysheet":{source:"iana",extensions:["fzs"]},"application/vnd.genomatix.tuxedo":{source:"iana",extensions:["txd"]},"application/vnd.gentics.grd+json":{source:"iana",compressible:!0},"application/vnd.geo+json":{source:"iana",compressible:!0},"application/vnd.geocube+xml":{source:"iana",compressible:!0},"application/vnd.geogebra.file":{source:"iana",extensions:["ggb"]},"application/vnd.geogebra.slides":{source:"iana"},"application/vnd.geogebra.tool":{source:"iana",extensions:["ggt"]},"application/vnd.geometry-explorer":{source:"iana",extensions:["gex","gre"]},"application/vnd.geonext":{source:"iana",extensions:["gxt"]},"application/vnd.geoplan":{source:"iana",extensions:["g2w"]},"application/vnd.geospace":{source:"iana",extensions:["g3w"]},"application/vnd.gerber":{source:"iana"},"application/vnd.globalplatform.card-content-mgt":{source:"iana"},"application/vnd.globalplatform.card-content-mgt-response":{source:"iana"},"application/vnd.gmx":{source:"iana",extensions:["gmx"]},"application/vnd.google-apps.document":{compressible:!1,extensions:["gdoc"]},"application/vnd.google-apps.presentation":{compressible:!1,extensions:["gslides"]},"application/vnd.google-apps.spreadsheet":{compressible:!1,extensions:["gsheet"]},"application/vnd.google-earth.kml+xml":{source:"iana",compressible:!0,extensions:["kml"]},"application/vnd.google-earth.kmz":{source:"iana",compressible:!1,extensions:["kmz"]},"application/vnd.gov.sk.e-form+xml":{source:"iana",compressible:!0},"application/vnd.gov.sk.e-form+zip":{source:"iana",compressible:!1},"application/vnd.gov.sk.xmldatacontainer+xml":{source:"iana",compressible:!0},"application/vnd.grafeq":{source:"iana",extensions:["gqf","gqs"]},"application/vnd.gridmp":{source:"iana"},"application/vnd.groove-account":{source:"iana",extensions:["gac"]},"application/vnd.groove-help":{source:"iana",extensions:["ghf"]},"application/vnd.groove-identity-message":{source:"iana",extensions:["gim"]},"application/vnd.groove-injector":{source:"iana",extensions:["grv"]},"application/vnd.groove-tool-message":{source:"iana",extensions:["gtm"]},"application/vnd.groove-tool-template":{source:"iana",extensions:["tpl"]},"application/vnd.groove-vcard":{source:"iana",extensions:["vcg"]},"application/vnd.hal+json":{source:"iana",compressible:!0},"application/vnd.hal+xml":{source:"iana",compressible:!0,extensions:["hal"]},"application/vnd.handheld-entertainment+xml":{source:"iana",compressible:!0,extensions:["zmm"]},"application/vnd.hbci":{source:"iana",extensions:["hbci"]},"application/vnd.hc+json":{source:"iana",compressible:!0},"application/vnd.hcl-bireports":{source:"iana"},"application/vnd.hdt":{source:"iana"},"application/vnd.heroku+json":{source:"iana",compressible:!0},"application/vnd.hhe.lesson-player":{source:"iana",extensions:["les"]},"application/vnd.hl7cda+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.hl7v2+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.hp-hpgl":{source:"iana",extensions:["hpgl"]},"application/vnd.hp-hpid":{source:"iana",extensions:["hpid"]},"application/vnd.hp-hps":{source:"iana",extensions:["hps"]},"application/vnd.hp-jlyt":{source:"iana",extensions:["jlt"]},"application/vnd.hp-pcl":{source:"iana",extensions:["pcl"]},"application/vnd.hp-pclxl":{source:"iana",extensions:["pclxl"]},"application/vnd.httphone":{source:"iana"},"application/vnd.hydrostatix.sof-data":{source:"iana",extensions:["sfd-hdstx"]},"application/vnd.hyper+json":{source:"iana",compressible:!0},"application/vnd.hyper-item+json":{source:"iana",compressible:!0},"application/vnd.hyperdrive+json":{source:"iana",compressible:!0},"application/vnd.hzn-3d-crossword":{source:"iana"},"application/vnd.ibm.afplinedata":{source:"iana"},"application/vnd.ibm.electronic-media":{source:"iana"},"application/vnd.ibm.minipay":{source:"iana",extensions:["mpy"]},"application/vnd.ibm.modcap":{source:"iana",extensions:["afp","listafp","list3820"]},"application/vnd.ibm.rights-management":{source:"iana",extensions:["irm"]},"application/vnd.ibm.secure-container":{source:"iana",extensions:["sc"]},"application/vnd.iccprofile":{source:"iana",extensions:["icc","icm"]},"application/vnd.ieee.1905":{source:"iana"},"application/vnd.igloader":{source:"iana",extensions:["igl"]},"application/vnd.imagemeter.folder+zip":{source:"iana",compressible:!1},"application/vnd.imagemeter.image+zip":{source:"iana",compressible:!1},"application/vnd.immervision-ivp":{source:"iana",extensions:["ivp"]},"application/vnd.immervision-ivu":{source:"iana",extensions:["ivu"]},"application/vnd.ims.imsccv1p1":{source:"iana"},"application/vnd.ims.imsccv1p2":{source:"iana"},"application/vnd.ims.imsccv1p3":{source:"iana"},"application/vnd.ims.lis.v2.result+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolconsumerprofile+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolproxy+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolproxy.id+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolsettings+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolsettings.simple+json":{source:"iana",compressible:!0},"application/vnd.informedcontrol.rms+xml":{source:"iana",compressible:!0},"application/vnd.informix-visionary":{source:"iana"},"application/vnd.infotech.project":{source:"iana"},"application/vnd.infotech.project+xml":{source:"iana",compressible:!0},"application/vnd.innopath.wamp.notification":{source:"iana"},"application/vnd.insors.igm":{source:"iana",extensions:["igm"]},"application/vnd.intercon.formnet":{source:"iana",extensions:["xpw","xpx"]},"application/vnd.intergeo":{source:"iana",extensions:["i2g"]},"application/vnd.intertrust.digibox":{source:"iana"},"application/vnd.intertrust.nncp":{source:"iana"},"application/vnd.intu.qbo":{source:"iana",extensions:["qbo"]},"application/vnd.intu.qfx":{source:"iana",extensions:["qfx"]},"application/vnd.iptc.g2.catalogitem+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.conceptitem+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.knowledgeitem+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.newsitem+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.newsmessage+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.packageitem+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.planningitem+xml":{source:"iana",compressible:!0},"application/vnd.ipunplugged.rcprofile":{source:"iana",extensions:["rcprofile"]},"application/vnd.irepository.package+xml":{source:"iana",compressible:!0,extensions:["irp"]},"application/vnd.is-xpr":{source:"iana",extensions:["xpr"]},"application/vnd.isac.fcs":{source:"iana",extensions:["fcs"]},"application/vnd.iso11783-10+zip":{source:"iana",compressible:!1},"application/vnd.jam":{source:"iana",extensions:["jam"]},"application/vnd.japannet-directory-service":{source:"iana"},"application/vnd.japannet-jpnstore-wakeup":{source:"iana"},"application/vnd.japannet-payment-wakeup":{source:"iana"},"application/vnd.japannet-registration":{source:"iana"},"application/vnd.japannet-registration-wakeup":{source:"iana"},"application/vnd.japannet-setstore-wakeup":{source:"iana"},"application/vnd.japannet-verification":{source:"iana"},"application/vnd.japannet-verification-wakeup":{source:"iana"},"application/vnd.jcp.javame.midlet-rms":{source:"iana",extensions:["rms"]},"application/vnd.jisp":{source:"iana",extensions:["jisp"]},"application/vnd.joost.joda-archive":{source:"iana",extensions:["joda"]},"application/vnd.jsk.isdn-ngn":{source:"iana"},"application/vnd.kahootz":{source:"iana",extensions:["ktz","ktr"]},"application/vnd.kde.karbon":{source:"iana",extensions:["karbon"]},"application/vnd.kde.kchart":{source:"iana",extensions:["chrt"]},"application/vnd.kde.kformula":{source:"iana",extensions:["kfo"]},"application/vnd.kde.kivio":{source:"iana",extensions:["flw"]},"application/vnd.kde.kontour":{source:"iana",extensions:["kon"]},"application/vnd.kde.kpresenter":{source:"iana",extensions:["kpr","kpt"]},"application/vnd.kde.kspread":{source:"iana",extensions:["ksp"]},"application/vnd.kde.kword":{source:"iana",extensions:["kwd","kwt"]},"application/vnd.kenameaapp":{source:"iana",extensions:["htke"]},"application/vnd.kidspiration":{source:"iana",extensions:["kia"]},"application/vnd.kinar":{source:"iana",extensions:["kne","knp"]},"application/vnd.koan":{source:"iana",extensions:["skp","skd","skt","skm"]},"application/vnd.kodak-descriptor":{source:"iana",extensions:["sse"]},"application/vnd.las":{source:"iana"},"application/vnd.las.las+json":{source:"iana",compressible:!0},"application/vnd.las.las+xml":{source:"iana",compressible:!0,extensions:["lasxml"]},"application/vnd.laszip":{source:"iana"},"application/vnd.leap+json":{source:"iana",compressible:!0},"application/vnd.liberty-request+xml":{source:"iana",compressible:!0},"application/vnd.llamagraphics.life-balance.desktop":{source:"iana",extensions:["lbd"]},"application/vnd.llamagraphics.life-balance.exchange+xml":{source:"iana",compressible:!0,extensions:["lbe"]},"application/vnd.logipipe.circuit+zip":{source:"iana",compressible:!1},"application/vnd.loom":{source:"iana"},"application/vnd.lotus-1-2-3":{source:"iana",extensions:["123"]},"application/vnd.lotus-approach":{source:"iana",extensions:["apr"]},"application/vnd.lotus-freelance":{source:"iana",extensions:["pre"]},"application/vnd.lotus-notes":{source:"iana",extensions:["nsf"]},"application/vnd.lotus-organizer":{source:"iana",extensions:["org"]},"application/vnd.lotus-screencam":{source:"iana",extensions:["scm"]},"application/vnd.lotus-wordpro":{source:"iana",extensions:["lwp"]},"application/vnd.macports.portpkg":{source:"iana",extensions:["portpkg"]},"application/vnd.mapbox-vector-tile":{source:"iana",extensions:["mvt"]},"application/vnd.marlin.drm.actiontoken+xml":{source:"iana",compressible:!0},"application/vnd.marlin.drm.conftoken+xml":{source:"iana",compressible:!0},"application/vnd.marlin.drm.license+xml":{source:"iana",compressible:!0},"application/vnd.marlin.drm.mdcf":{source:"iana"},"application/vnd.mason+json":{source:"iana",compressible:!0},"application/vnd.maxar.archive.3tz+zip":{source:"iana",compressible:!1},"application/vnd.maxmind.maxmind-db":{source:"iana"},"application/vnd.mcd":{source:"iana",extensions:["mcd"]},"application/vnd.medcalcdata":{source:"iana",extensions:["mc1"]},"application/vnd.mediastation.cdkey":{source:"iana",extensions:["cdkey"]},"application/vnd.meridian-slingshot":{source:"iana"},"application/vnd.mfer":{source:"iana",extensions:["mwf"]},"application/vnd.mfmp":{source:"iana",extensions:["mfm"]},"application/vnd.micro+json":{source:"iana",compressible:!0},"application/vnd.micrografx.flo":{source:"iana",extensions:["flo"]},"application/vnd.micrografx.igx":{source:"iana",extensions:["igx"]},"application/vnd.microsoft.portable-executable":{source:"iana"},"application/vnd.microsoft.windows.thumbnail-cache":{source:"iana"},"application/vnd.miele+json":{source:"iana",compressible:!0},"application/vnd.mif":{source:"iana",extensions:["mif"]},"application/vnd.minisoft-hp3000-save":{source:"iana"},"application/vnd.mitsubishi.misty-guard.trustweb":{source:"iana"},"application/vnd.mobius.daf":{source:"iana",extensions:["daf"]},"application/vnd.mobius.dis":{source:"iana",extensions:["dis"]},"application/vnd.mobius.mbk":{source:"iana",extensions:["mbk"]},"application/vnd.mobius.mqy":{source:"iana",extensions:["mqy"]},"application/vnd.mobius.msl":{source:"iana",extensions:["msl"]},"application/vnd.mobius.plc":{source:"iana",extensions:["plc"]},"application/vnd.mobius.txf":{source:"iana",extensions:["txf"]},"application/vnd.mophun.application":{source:"iana",extensions:["mpn"]},"application/vnd.mophun.certificate":{source:"iana",extensions:["mpc"]},"application/vnd.motorola.flexsuite":{source:"iana"},"application/vnd.motorola.flexsuite.adsi":{source:"iana"},"application/vnd.motorola.flexsuite.fis":{source:"iana"},"application/vnd.motorola.flexsuite.gotap":{source:"iana"},"application/vnd.motorola.flexsuite.kmr":{source:"iana"},"application/vnd.motorola.flexsuite.ttc":{source:"iana"},"application/vnd.motorola.flexsuite.wem":{source:"iana"},"application/vnd.motorola.iprm":{source:"iana"},"application/vnd.mozilla.xul+xml":{source:"iana",compressible:!0,extensions:["xul"]},"application/vnd.ms-3mfdocument":{source:"iana"},"application/vnd.ms-artgalry":{source:"iana",extensions:["cil"]},"application/vnd.ms-asf":{source:"iana"},"application/vnd.ms-cab-compressed":{source:"iana",extensions:["cab"]},"application/vnd.ms-color.iccprofile":{source:"apache"},"application/vnd.ms-excel":{source:"iana",compressible:!1,extensions:["xls","xlm","xla","xlc","xlt","xlw"]},"application/vnd.ms-excel.addin.macroenabled.12":{source:"iana",extensions:["xlam"]},"application/vnd.ms-excel.sheet.binary.macroenabled.12":{source:"iana",extensions:["xlsb"]},"application/vnd.ms-excel.sheet.macroenabled.12":{source:"iana",extensions:["xlsm"]},"application/vnd.ms-excel.template.macroenabled.12":{source:"iana",extensions:["xltm"]},"application/vnd.ms-fontobject":{source:"iana",compressible:!0,extensions:["eot"]},"application/vnd.ms-htmlhelp":{source:"iana",extensions:["chm"]},"application/vnd.ms-ims":{source:"iana",extensions:["ims"]},"application/vnd.ms-lrm":{source:"iana",extensions:["lrm"]},"application/vnd.ms-office.activex+xml":{source:"iana",compressible:!0},"application/vnd.ms-officetheme":{source:"iana",extensions:["thmx"]},"application/vnd.ms-opentype":{source:"apache",compressible:!0},"application/vnd.ms-outlook":{compressible:!1,extensions:["msg"]},"application/vnd.ms-package.obfuscated-opentype":{source:"apache"},"application/vnd.ms-pki.seccat":{source:"apache",extensions:["cat"]},"application/vnd.ms-pki.stl":{source:"apache",extensions:["stl"]},"application/vnd.ms-playready.initiator+xml":{source:"iana",compressible:!0},"application/vnd.ms-powerpoint":{source:"iana",compressible:!1,extensions:["ppt","pps","pot"]},"application/vnd.ms-powerpoint.addin.macroenabled.12":{source:"iana",extensions:["ppam"]},"application/vnd.ms-powerpoint.presentation.macroenabled.12":{source:"iana",extensions:["pptm"]},"application/vnd.ms-powerpoint.slide.macroenabled.12":{source:"iana",extensions:["sldm"]},"application/vnd.ms-powerpoint.slideshow.macroenabled.12":{source:"iana",extensions:["ppsm"]},"application/vnd.ms-powerpoint.template.macroenabled.12":{source:"iana",extensions:["potm"]},"application/vnd.ms-printdevicecapabilities+xml":{source:"iana",compressible:!0},"application/vnd.ms-printing.printticket+xml":{source:"apache",compressible:!0},"application/vnd.ms-printschematicket+xml":{source:"iana",compressible:!0},"application/vnd.ms-project":{source:"iana",extensions:["mpp","mpt"]},"application/vnd.ms-tnef":{source:"iana"},"application/vnd.ms-windows.devicepairing":{source:"iana"},"application/vnd.ms-windows.nwprinting.oob":{source:"iana"},"application/vnd.ms-windows.printerpairing":{source:"iana"},"application/vnd.ms-windows.wsd.oob":{source:"iana"},"application/vnd.ms-wmdrm.lic-chlg-req":{source:"iana"},"application/vnd.ms-wmdrm.lic-resp":{source:"iana"},"application/vnd.ms-wmdrm.meter-chlg-req":{source:"iana"},"application/vnd.ms-wmdrm.meter-resp":{source:"iana"},"application/vnd.ms-word.document.macroenabled.12":{source:"iana",extensions:["docm"]},"application/vnd.ms-word.template.macroenabled.12":{source:"iana",extensions:["dotm"]},"application/vnd.ms-works":{source:"iana",extensions:["wps","wks","wcm","wdb"]},"application/vnd.ms-wpl":{source:"iana",extensions:["wpl"]},"application/vnd.ms-xpsdocument":{source:"iana",compressible:!1,extensions:["xps"]},"application/vnd.msa-disk-image":{source:"iana"},"application/vnd.mseq":{source:"iana",extensions:["mseq"]},"application/vnd.msign":{source:"iana"},"application/vnd.multiad.creator":{source:"iana"},"application/vnd.multiad.creator.cif":{source:"iana"},"application/vnd.music-niff":{source:"iana"},"application/vnd.musician":{source:"iana",extensions:["mus"]},"application/vnd.muvee.style":{source:"iana",extensions:["msty"]},"application/vnd.mynfc":{source:"iana",extensions:["taglet"]},"application/vnd.nacamar.ybrid+json":{source:"iana",compressible:!0},"application/vnd.ncd.control":{source:"iana"},"application/vnd.ncd.reference":{source:"iana"},"application/vnd.nearst.inv+json":{source:"iana",compressible:!0},"application/vnd.nebumind.line":{source:"iana"},"application/vnd.nervana":{source:"iana"},"application/vnd.netfpx":{source:"iana"},"application/vnd.neurolanguage.nlu":{source:"iana",extensions:["nlu"]},"application/vnd.nimn":{source:"iana"},"application/vnd.nintendo.nitro.rom":{source:"iana"},"application/vnd.nintendo.snes.rom":{source:"iana"},"application/vnd.nitf":{source:"iana",extensions:["ntf","nitf"]},"application/vnd.noblenet-directory":{source:"iana",extensions:["nnd"]},"application/vnd.noblenet-sealer":{source:"iana",extensions:["nns"]},"application/vnd.noblenet-web":{source:"iana",extensions:["nnw"]},"application/vnd.nokia.catalogs":{source:"iana"},"application/vnd.nokia.conml+wbxml":{source:"iana"},"application/vnd.nokia.conml+xml":{source:"iana",compressible:!0},"application/vnd.nokia.iptv.config+xml":{source:"iana",compressible:!0},"application/vnd.nokia.isds-radio-presets":{source:"iana"},"application/vnd.nokia.landmark+wbxml":{source:"iana"},"application/vnd.nokia.landmark+xml":{source:"iana",compressible:!0},"application/vnd.nokia.landmarkcollection+xml":{source:"iana",compressible:!0},"application/vnd.nokia.n-gage.ac+xml":{source:"iana",compressible:!0,extensions:["ac"]},"application/vnd.nokia.n-gage.data":{source:"iana",extensions:["ngdat"]},"application/vnd.nokia.n-gage.symbian.install":{source:"iana",extensions:["n-gage"]},"application/vnd.nokia.ncd":{source:"iana"},"application/vnd.nokia.pcd+wbxml":{source:"iana"},"application/vnd.nokia.pcd+xml":{source:"iana",compressible:!0},"application/vnd.nokia.radio-preset":{source:"iana",extensions:["rpst"]},"application/vnd.nokia.radio-presets":{source:"iana",extensions:["rpss"]},"application/vnd.novadigm.edm":{source:"iana",extensions:["edm"]},"application/vnd.novadigm.edx":{source:"iana",extensions:["edx"]},"application/vnd.novadigm.ext":{source:"iana",extensions:["ext"]},"application/vnd.ntt-local.content-share":{source:"iana"},"application/vnd.ntt-local.file-transfer":{source:"iana"},"application/vnd.ntt-local.ogw_remote-access":{source:"iana"},"application/vnd.ntt-local.sip-ta_remote":{source:"iana"},"application/vnd.ntt-local.sip-ta_tcp_stream":{source:"iana"},"application/vnd.oasis.opendocument.chart":{source:"iana",extensions:["odc"]},"application/vnd.oasis.opendocument.chart-template":{source:"iana",extensions:["otc"]},"application/vnd.oasis.opendocument.database":{source:"iana",extensions:["odb"]},"application/vnd.oasis.opendocument.formula":{source:"iana",extensions:["odf"]},"application/vnd.oasis.opendocument.formula-template":{source:"iana",extensions:["odft"]},"application/vnd.oasis.opendocument.graphics":{source:"iana",compressible:!1,extensions:["odg"]},"application/vnd.oasis.opendocument.graphics-template":{source:"iana",extensions:["otg"]},"application/vnd.oasis.opendocument.image":{source:"iana",extensions:["odi"]},"application/vnd.oasis.opendocument.image-template":{source:"iana",extensions:["oti"]},"application/vnd.oasis.opendocument.presentation":{source:"iana",compressible:!1,extensions:["odp"]},"application/vnd.oasis.opendocument.presentation-template":{source:"iana",extensions:["otp"]},"application/vnd.oasis.opendocument.spreadsheet":{source:"iana",compressible:!1,extensions:["ods"]},"application/vnd.oasis.opendocument.spreadsheet-template":{source:"iana",extensions:["ots"]},"application/vnd.oasis.opendocument.text":{source:"iana",compressible:!1,extensions:["odt"]},"application/vnd.oasis.opendocument.text-master":{source:"iana",extensions:["odm"]},"application/vnd.oasis.opendocument.text-template":{source:"iana",extensions:["ott"]},"application/vnd.oasis.opendocument.text-web":{source:"iana",extensions:["oth"]},"application/vnd.obn":{source:"iana"},"application/vnd.ocf+cbor":{source:"iana"},"application/vnd.oci.image.manifest.v1+json":{source:"iana",compressible:!0},"application/vnd.oftn.l10n+json":{source:"iana",compressible:!0},"application/vnd.oipf.contentaccessdownload+xml":{source:"iana",compressible:!0},"application/vnd.oipf.contentaccessstreaming+xml":{source:"iana",compressible:!0},"application/vnd.oipf.cspg-hexbinary":{source:"iana"},"application/vnd.oipf.dae.svg+xml":{source:"iana",compressible:!0},"application/vnd.oipf.dae.xhtml+xml":{source:"iana",compressible:!0},"application/vnd.oipf.mippvcontrolmessage+xml":{source:"iana",compressible:!0},"application/vnd.oipf.pae.gem":{source:"iana"},"application/vnd.oipf.spdiscovery+xml":{source:"iana",compressible:!0},"application/vnd.oipf.spdlist+xml":{source:"iana",compressible:!0},"application/vnd.oipf.ueprofile+xml":{source:"iana",compressible:!0},"application/vnd.oipf.userprofile+xml":{source:"iana",compressible:!0},"application/vnd.olpc-sugar":{source:"iana",extensions:["xo"]},"application/vnd.oma-scws-config":{source:"iana"},"application/vnd.oma-scws-http-request":{source:"iana"},"application/vnd.oma-scws-http-response":{source:"iana"},"application/vnd.oma.bcast.associated-procedure-parameter+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.drm-trigger+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.imd+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.ltkm":{source:"iana"},"application/vnd.oma.bcast.notification+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.provisioningtrigger":{source:"iana"},"application/vnd.oma.bcast.sgboot":{source:"iana"},"application/vnd.oma.bcast.sgdd+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.sgdu":{source:"iana"},"application/vnd.oma.bcast.simple-symbol-container":{source:"iana"},"application/vnd.oma.bcast.smartcard-trigger+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.sprov+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.stkm":{source:"iana"},"application/vnd.oma.cab-address-book+xml":{source:"iana",compressible:!0},"application/vnd.oma.cab-feature-handler+xml":{source:"iana",compressible:!0},"application/vnd.oma.cab-pcc+xml":{source:"iana",compressible:!0},"application/vnd.oma.cab-subs-invite+xml":{source:"iana",compressible:!0},"application/vnd.oma.cab-user-prefs+xml":{source:"iana",compressible:!0},"application/vnd.oma.dcd":{source:"iana"},"application/vnd.oma.dcdc":{source:"iana"},"application/vnd.oma.dd2+xml":{source:"iana",compressible:!0,extensions:["dd2"]},"application/vnd.oma.drm.risd+xml":{source:"iana",compressible:!0},"application/vnd.oma.group-usage-list+xml":{source:"iana",compressible:!0},"application/vnd.oma.lwm2m+cbor":{source:"iana"},"application/vnd.oma.lwm2m+json":{source:"iana",compressible:!0},"application/vnd.oma.lwm2m+tlv":{source:"iana"},"application/vnd.oma.pal+xml":{source:"iana",compressible:!0},"application/vnd.oma.poc.detailed-progress-report+xml":{source:"iana",compressible:!0},"application/vnd.oma.poc.final-report+xml":{source:"iana",compressible:!0},"application/vnd.oma.poc.groups+xml":{source:"iana",compressible:!0},"application/vnd.oma.poc.invocation-descriptor+xml":{source:"iana",compressible:!0},"application/vnd.oma.poc.optimized-progress-report+xml":{source:"iana",compressible:!0},"application/vnd.oma.push":{source:"iana"},"application/vnd.oma.scidm.messages+xml":{source:"iana",compressible:!0},"application/vnd.oma.xcap-directory+xml":{source:"iana",compressible:!0},"application/vnd.omads-email+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.omads-file+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.omads-folder+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.omaloc-supl-init":{source:"iana"},"application/vnd.onepager":{source:"iana"},"application/vnd.onepagertamp":{source:"iana"},"application/vnd.onepagertamx":{source:"iana"},"application/vnd.onepagertat":{source:"iana"},"application/vnd.onepagertatp":{source:"iana"},"application/vnd.onepagertatx":{source:"iana"},"application/vnd.openblox.game+xml":{source:"iana",compressible:!0,extensions:["obgx"]},"application/vnd.openblox.game-binary":{source:"iana"},"application/vnd.openeye.oeb":{source:"iana"},"application/vnd.openofficeorg.extension":{source:"apache",extensions:["oxt"]},"application/vnd.openstreetmap.data+xml":{source:"iana",compressible:!0,extensions:["osm"]},"application/vnd.opentimestamps.ots":{source:"iana"},"application/vnd.openxmlformats-officedocument.custom-properties+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.customxmlproperties+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawing+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.chart+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.chartshapes+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.diagramcolors+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.diagramdata+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.diagramlayout+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.diagramstyle+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.extended-properties+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.commentauthors+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.comments+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.handoutmaster+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.notesmaster+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.notesslide+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.presentation":{source:"iana",compressible:!1,extensions:["pptx"]},"application/vnd.openxmlformats-officedocument.presentationml.presentation.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.presprops+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slide":{source:"iana",extensions:["sldx"]},"application/vnd.openxmlformats-officedocument.presentationml.slide+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slidelayout+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slidemaster+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slideshow":{source:"iana",extensions:["ppsx"]},"application/vnd.openxmlformats-officedocument.presentationml.slideshow.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slideupdateinfo+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.tablestyles+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.tags+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.template":{source:"iana",extensions:["potx"]},"application/vnd.openxmlformats-officedocument.presentationml.template.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.viewprops+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.calcchain+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.connections+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.externallink+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcachedefinition+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcacherecords+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivottable+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.querytable+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionheaders+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionlog+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.sharedstrings+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":{source:"iana",compressible:!1,extensions:["xlsx"]},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheetmetadata+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.tablesinglecells+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.template":{source:"iana",extensions:["xltx"]},"application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.usernames+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.volatiledependencies+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.theme+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.themeoverride+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.vmldrawing":{source:"iana"},"application/vnd.openxmlformats-officedocument.wordprocessingml.comments+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.document":{source:"iana",compressible:!1,extensions:["docx"]},"application/vnd.openxmlformats-officedocument.wordprocessingml.document.glossary+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.document.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.endnotes+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.fonttable+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.footer+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.footnotes+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.numbering+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.settings+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.styles+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.template":{source:"iana",extensions:["dotx"]},"application/vnd.openxmlformats-officedocument.wordprocessingml.template.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.websettings+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-package.core-properties+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-package.digital-signature-xmlsignature+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-package.relationships+xml":{source:"iana",compressible:!0},"application/vnd.oracle.resource+json":{source:"iana",compressible:!0},"application/vnd.orange.indata":{source:"iana"},"application/vnd.osa.netdeploy":{source:"iana"},"application/vnd.osgeo.mapguide.package":{source:"iana",extensions:["mgp"]},"application/vnd.osgi.bundle":{source:"iana"},"application/vnd.osgi.dp":{source:"iana",extensions:["dp"]},"application/vnd.osgi.subsystem":{source:"iana",extensions:["esa"]},"application/vnd.otps.ct-kip+xml":{source:"iana",compressible:!0},"application/vnd.oxli.countgraph":{source:"iana"},"application/vnd.pagerduty+json":{source:"iana",compressible:!0},"application/vnd.palm":{source:"iana",extensions:["pdb","pqa","oprc"]},"application/vnd.panoply":{source:"iana"},"application/vnd.paos.xml":{source:"iana"},"application/vnd.patentdive":{source:"iana"},"application/vnd.patientecommsdoc":{source:"iana"},"application/vnd.pawaafile":{source:"iana",extensions:["paw"]},"application/vnd.pcos":{source:"iana"},"application/vnd.pg.format":{source:"iana",extensions:["str"]},"application/vnd.pg.osasli":{source:"iana",extensions:["ei6"]},"application/vnd.piaccess.application-licence":{source:"iana"},"application/vnd.picsel":{source:"iana",extensions:["efif"]},"application/vnd.pmi.widget":{source:"iana",extensions:["wg"]},"application/vnd.poc.group-advertisement+xml":{source:"iana",compressible:!0},"application/vnd.pocketlearn":{source:"iana",extensions:["plf"]},"application/vnd.powerbuilder6":{source:"iana",extensions:["pbd"]},"application/vnd.powerbuilder6-s":{source:"iana"},"application/vnd.powerbuilder7":{source:"iana"},"application/vnd.powerbuilder7-s":{source:"iana"},"application/vnd.powerbuilder75":{source:"iana"},"application/vnd.powerbuilder75-s":{source:"iana"},"application/vnd.preminet":{source:"iana"},"application/vnd.previewsystems.box":{source:"iana",extensions:["box"]},"application/vnd.proteus.magazine":{source:"iana",extensions:["mgz"]},"application/vnd.psfs":{source:"iana"},"application/vnd.publishare-delta-tree":{source:"iana",extensions:["qps"]},"application/vnd.pvi.ptid1":{source:"iana",extensions:["ptid"]},"application/vnd.pwg-multiplexed":{source:"iana"},"application/vnd.pwg-xhtml-print+xml":{source:"iana",compressible:!0},"application/vnd.qualcomm.brew-app-res":{source:"iana"},"application/vnd.quarantainenet":{source:"iana"},"application/vnd.quark.quarkxpress":{source:"iana",extensions:["qxd","qxt","qwd","qwt","qxl","qxb"]},"application/vnd.quobject-quoxdocument":{source:"iana"},"application/vnd.radisys.moml+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-audit+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-audit-conf+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-audit-conn+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-audit-dialog+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-audit-stream+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-conf+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-base+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-fax-detect+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-fax-sendrecv+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-group+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-speech+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-transform+xml":{source:"iana",compressible:!0},"application/vnd.rainstor.data":{source:"iana"},"application/vnd.rapid":{source:"iana"},"application/vnd.rar":{source:"iana",extensions:["rar"]},"application/vnd.realvnc.bed":{source:"iana",extensions:["bed"]},"application/vnd.recordare.musicxml":{source:"iana",extensions:["mxl"]},"application/vnd.recordare.musicxml+xml":{source:"iana",compressible:!0,extensions:["musicxml"]},"application/vnd.renlearn.rlprint":{source:"iana"},"application/vnd.resilient.logic":{source:"iana"},"application/vnd.restful+json":{source:"iana",compressible:!0},"application/vnd.rig.cryptonote":{source:"iana",extensions:["cryptonote"]},"application/vnd.rim.cod":{source:"apache",extensions:["cod"]},"application/vnd.rn-realmedia":{source:"apache",extensions:["rm"]},"application/vnd.rn-realmedia-vbr":{source:"apache",extensions:["rmvb"]},"application/vnd.route66.link66+xml":{source:"iana",compressible:!0,extensions:["link66"]},"application/vnd.rs-274x":{source:"iana"},"application/vnd.ruckus.download":{source:"iana"},"application/vnd.s3sms":{source:"iana"},"application/vnd.sailingtracker.track":{source:"iana",extensions:["st"]},"application/vnd.sar":{source:"iana"},"application/vnd.sbm.cid":{source:"iana"},"application/vnd.sbm.mid2":{source:"iana"},"application/vnd.scribus":{source:"iana"},"application/vnd.sealed.3df":{source:"iana"},"application/vnd.sealed.csf":{source:"iana"},"application/vnd.sealed.doc":{source:"iana"},"application/vnd.sealed.eml":{source:"iana"},"application/vnd.sealed.mht":{source:"iana"},"application/vnd.sealed.net":{source:"iana"},"application/vnd.sealed.ppt":{source:"iana"},"application/vnd.sealed.tiff":{source:"iana"},"application/vnd.sealed.xls":{source:"iana"},"application/vnd.sealedmedia.softseal.html":{source:"iana"},"application/vnd.sealedmedia.softseal.pdf":{source:"iana"},"application/vnd.seemail":{source:"iana",extensions:["see"]},"application/vnd.seis+json":{source:"iana",compressible:!0},"application/vnd.sema":{source:"iana",extensions:["sema"]},"application/vnd.semd":{source:"iana",extensions:["semd"]},"application/vnd.semf":{source:"iana",extensions:["semf"]},"application/vnd.shade-save-file":{source:"iana"},"application/vnd.shana.informed.formdata":{source:"iana",extensions:["ifm"]},"application/vnd.shana.informed.formtemplate":{source:"iana",extensions:["itp"]},"application/vnd.shana.informed.interchange":{source:"iana",extensions:["iif"]},"application/vnd.shana.informed.package":{source:"iana",extensions:["ipk"]},"application/vnd.shootproof+json":{source:"iana",compressible:!0},"application/vnd.shopkick+json":{source:"iana",compressible:!0},"application/vnd.shp":{source:"iana"},"application/vnd.shx":{source:"iana"},"application/vnd.sigrok.session":{source:"iana"},"application/vnd.simtech-mindmapper":{source:"iana",extensions:["twd","twds"]},"application/vnd.siren+json":{source:"iana",compressible:!0},"application/vnd.smaf":{source:"iana",extensions:["mmf"]},"application/vnd.smart.notebook":{source:"iana"},"application/vnd.smart.teacher":{source:"iana",extensions:["teacher"]},"application/vnd.snesdev-page-table":{source:"iana"},"application/vnd.software602.filler.form+xml":{source:"iana",compressible:!0,extensions:["fo"]},"application/vnd.software602.filler.form-xml-zip":{source:"iana"},"application/vnd.solent.sdkm+xml":{source:"iana",compressible:!0,extensions:["sdkm","sdkd"]},"application/vnd.spotfire.dxp":{source:"iana",extensions:["dxp"]},"application/vnd.spotfire.sfs":{source:"iana",extensions:["sfs"]},"application/vnd.sqlite3":{source:"iana"},"application/vnd.sss-cod":{source:"iana"},"application/vnd.sss-dtf":{source:"iana"},"application/vnd.sss-ntf":{source:"iana"},"application/vnd.stardivision.calc":{source:"apache",extensions:["sdc"]},"application/vnd.stardivision.draw":{source:"apache",extensions:["sda"]},"application/vnd.stardivision.impress":{source:"apache",extensions:["sdd"]},"application/vnd.stardivision.math":{source:"apache",extensions:["smf"]},"application/vnd.stardivision.writer":{source:"apache",extensions:["sdw","vor"]},"application/vnd.stardivision.writer-global":{source:"apache",extensions:["sgl"]},"application/vnd.stepmania.package":{source:"iana",extensions:["smzip"]},"application/vnd.stepmania.stepchart":{source:"iana",extensions:["sm"]},"application/vnd.street-stream":{source:"iana"},"application/vnd.sun.wadl+xml":{source:"iana",compressible:!0,extensions:["wadl"]},"application/vnd.sun.xml.calc":{source:"apache",extensions:["sxc"]},"application/vnd.sun.xml.calc.template":{source:"apache",extensions:["stc"]},"application/vnd.sun.xml.draw":{source:"apache",extensions:["sxd"]},"application/vnd.sun.xml.draw.template":{source:"apache",extensions:["std"]},"application/vnd.sun.xml.impress":{source:"apache",extensions:["sxi"]},"application/vnd.sun.xml.impress.template":{source:"apache",extensions:["sti"]},"application/vnd.sun.xml.math":{source:"apache",extensions:["sxm"]},"application/vnd.sun.xml.writer":{source:"apache",extensions:["sxw"]},"application/vnd.sun.xml.writer.global":{source:"apache",extensions:["sxg"]},"application/vnd.sun.xml.writer.template":{source:"apache",extensions:["stw"]},"application/vnd.sus-calendar":{source:"iana",extensions:["sus","susp"]},"application/vnd.svd":{source:"iana",extensions:["svd"]},"application/vnd.swiftview-ics":{source:"iana"},"application/vnd.sycle+xml":{source:"iana",compressible:!0},"application/vnd.syft+json":{source:"iana",compressible:!0},"application/vnd.symbian.install":{source:"apache",extensions:["sis","sisx"]},"application/vnd.syncml+xml":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["xsm"]},"application/vnd.syncml.dm+wbxml":{source:"iana",charset:"UTF-8",extensions:["bdm"]},"application/vnd.syncml.dm+xml":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["xdm"]},"application/vnd.syncml.dm.notification":{source:"iana"},"application/vnd.syncml.dmddf+wbxml":{source:"iana"},"application/vnd.syncml.dmddf+xml":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["ddf"]},"application/vnd.syncml.dmtnds+wbxml":{source:"iana"},"application/vnd.syncml.dmtnds+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.syncml.ds.notification":{source:"iana"},"application/vnd.tableschema+json":{source:"iana",compressible:!0},"application/vnd.tao.intent-module-archive":{source:"iana",extensions:["tao"]},"application/vnd.tcpdump.pcap":{source:"iana",extensions:["pcap","cap","dmp"]},"application/vnd.think-cell.ppttc+json":{source:"iana",compressible:!0},"application/vnd.tmd.mediaflex.api+xml":{source:"iana",compressible:!0},"application/vnd.tml":{source:"iana"},"application/vnd.tmobile-livetv":{source:"iana",extensions:["tmo"]},"application/vnd.tri.onesource":{source:"iana"},"application/vnd.trid.tpt":{source:"iana",extensions:["tpt"]},"application/vnd.triscape.mxs":{source:"iana",extensions:["mxs"]},"application/vnd.trueapp":{source:"iana",extensions:["tra"]},"application/vnd.truedoc":{source:"iana"},"application/vnd.ubisoft.webplayer":{source:"iana"},"application/vnd.ufdl":{source:"iana",extensions:["ufd","ufdl"]},"application/vnd.uiq.theme":{source:"iana",extensions:["utz"]},"application/vnd.umajin":{source:"iana",extensions:["umj"]},"application/vnd.unity":{source:"iana",extensions:["unityweb"]},"application/vnd.uoml+xml":{source:"iana",compressible:!0,extensions:["uoml"]},"application/vnd.uplanet.alert":{source:"iana"},"application/vnd.uplanet.alert-wbxml":{source:"iana"},"application/vnd.uplanet.bearer-choice":{source:"iana"},"application/vnd.uplanet.bearer-choice-wbxml":{source:"iana"},"application/vnd.uplanet.cacheop":{source:"iana"},"application/vnd.uplanet.cacheop-wbxml":{source:"iana"},"application/vnd.uplanet.channel":{source:"iana"},"application/vnd.uplanet.channel-wbxml":{source:"iana"},"application/vnd.uplanet.list":{source:"iana"},"application/vnd.uplanet.list-wbxml":{source:"iana"},"application/vnd.uplanet.listcmd":{source:"iana"},"application/vnd.uplanet.listcmd-wbxml":{source:"iana"},"application/vnd.uplanet.signal":{source:"iana"},"application/vnd.uri-map":{source:"iana"},"application/vnd.valve.source.material":{source:"iana"},"application/vnd.vcx":{source:"iana",extensions:["vcx"]},"application/vnd.vd-study":{source:"iana"},"application/vnd.vectorworks":{source:"iana"},"application/vnd.vel+json":{source:"iana",compressible:!0},"application/vnd.verimatrix.vcas":{source:"iana"},"application/vnd.veritone.aion+json":{source:"iana",compressible:!0},"application/vnd.veryant.thin":{source:"iana"},"application/vnd.ves.encrypted":{source:"iana"},"application/vnd.vidsoft.vidconference":{source:"iana"},"application/vnd.visio":{source:"iana",extensions:["vsd","vst","vss","vsw"]},"application/vnd.visionary":{source:"iana",extensions:["vis"]},"application/vnd.vividence.scriptfile":{source:"iana"},"application/vnd.vsf":{source:"iana",extensions:["vsf"]},"application/vnd.wap.sic":{source:"iana"},"application/vnd.wap.slc":{source:"iana"},"application/vnd.wap.wbxml":{source:"iana",charset:"UTF-8",extensions:["wbxml"]},"application/vnd.wap.wmlc":{source:"iana",extensions:["wmlc"]},"application/vnd.wap.wmlscriptc":{source:"iana",extensions:["wmlsc"]},"application/vnd.webturbo":{source:"iana",extensions:["wtb"]},"application/vnd.wfa.dpp":{source:"iana"},"application/vnd.wfa.p2p":{source:"iana"},"application/vnd.wfa.wsc":{source:"iana"},"application/vnd.windows.devicepairing":{source:"iana"},"application/vnd.wmc":{source:"iana"},"application/vnd.wmf.bootstrap":{source:"iana"},"application/vnd.wolfram.mathematica":{source:"iana"},"application/vnd.wolfram.mathematica.package":{source:"iana"},"application/vnd.wolfram.player":{source:"iana",extensions:["nbp"]},"application/vnd.wordperfect":{source:"iana",extensions:["wpd"]},"application/vnd.wqd":{source:"iana",extensions:["wqd"]},"application/vnd.wrq-hp3000-labelled":{source:"iana"},"application/vnd.wt.stf":{source:"iana",extensions:["stf"]},"application/vnd.wv.csp+wbxml":{source:"iana"},"application/vnd.wv.csp+xml":{source:"iana",compressible:!0},"application/vnd.wv.ssp+xml":{source:"iana",compressible:!0},"application/vnd.xacml+json":{source:"iana",compressible:!0},"application/vnd.xara":{source:"iana",extensions:["xar"]},"application/vnd.xfdl":{source:"iana",extensions:["xfdl"]},"application/vnd.xfdl.webform":{source:"iana"},"application/vnd.xmi+xml":{source:"iana",compressible:!0},"application/vnd.xmpie.cpkg":{source:"iana"},"application/vnd.xmpie.dpkg":{source:"iana"},"application/vnd.xmpie.plan":{source:"iana"},"application/vnd.xmpie.ppkg":{source:"iana"},"application/vnd.xmpie.xlim":{source:"iana"},"application/vnd.yamaha.hv-dic":{source:"iana",extensions:["hvd"]},"application/vnd.yamaha.hv-script":{source:"iana",extensions:["hvs"]},"application/vnd.yamaha.hv-voice":{source:"iana",extensions:["hvp"]},"application/vnd.yamaha.openscoreformat":{source:"iana",extensions:["osf"]},"application/vnd.yamaha.openscoreformat.osfpvg+xml":{source:"iana",compressible:!0,extensions:["osfpvg"]},"application/vnd.yamaha.remote-setup":{source:"iana"},"application/vnd.yamaha.smaf-audio":{source:"iana",extensions:["saf"]},"application/vnd.yamaha.smaf-phrase":{source:"iana",extensions:["spf"]},"application/vnd.yamaha.through-ngn":{source:"iana"},"application/vnd.yamaha.tunnel-udpencap":{source:"iana"},"application/vnd.yaoweme":{source:"iana"},"application/vnd.yellowriver-custom-menu":{source:"iana",extensions:["cmp"]},"application/vnd.youtube.yt":{source:"iana"},"application/vnd.zul":{source:"iana",extensions:["zir","zirz"]},"application/vnd.zzazz.deck+xml":{source:"iana",compressible:!0,extensions:["zaz"]},"application/voicexml+xml":{source:"iana",compressible:!0,extensions:["vxml"]},"application/voucher-cms+json":{source:"iana",compressible:!0},"application/vq-rtcpxr":{source:"iana"},"application/wasm":{source:"iana",compressible:!0,extensions:["wasm"]},"application/watcherinfo+xml":{source:"iana",compressible:!0,extensions:["wif"]},"application/webpush-options+json":{source:"iana",compressible:!0},"application/whoispp-query":{source:"iana"},"application/whoispp-response":{source:"iana"},"application/widget":{source:"iana",extensions:["wgt"]},"application/winhlp":{source:"apache",extensions:["hlp"]},"application/wita":{source:"iana"},"application/wordperfect5.1":{source:"iana"},"application/wsdl+xml":{source:"iana",compressible:!0,extensions:["wsdl"]},"application/wspolicy+xml":{source:"iana",compressible:!0,extensions:["wspolicy"]},"application/x-7z-compressed":{source:"apache",compressible:!1,extensions:["7z"]},"application/x-abiword":{source:"apache",extensions:["abw"]},"application/x-ace-compressed":{source:"apache",extensions:["ace"]},"application/x-amf":{source:"apache"},"application/x-apple-diskimage":{source:"apache",extensions:["dmg"]},"application/x-arj":{compressible:!1,extensions:["arj"]},"application/x-authorware-bin":{source:"apache",extensions:["aab","x32","u32","vox"]},"application/x-authorware-map":{source:"apache",extensions:["aam"]},"application/x-authorware-seg":{source:"apache",extensions:["aas"]},"application/x-bcpio":{source:"apache",extensions:["bcpio"]},"application/x-bdoc":{compressible:!1,extensions:["bdoc"]},"application/x-bittorrent":{source:"apache",extensions:["torrent"]},"application/x-blorb":{source:"apache",extensions:["blb","blorb"]},"application/x-bzip":{source:"apache",compressible:!1,extensions:["bz"]},"application/x-bzip2":{source:"apache",compressible:!1,extensions:["bz2","boz"]},"application/x-cbr":{source:"apache",extensions:["cbr","cba","cbt","cbz","cb7"]},"application/x-cdlink":{source:"apache",extensions:["vcd"]},"application/x-cfs-compressed":{source:"apache",extensions:["cfs"]},"application/x-chat":{source:"apache",extensions:["chat"]},"application/x-chess-pgn":{source:"apache",extensions:["pgn"]},"application/x-chrome-extension":{extensions:["crx"]},"application/x-cocoa":{source:"nginx",extensions:["cco"]},"application/x-compress":{source:"apache"},"application/x-conference":{source:"apache",extensions:["nsc"]},"application/x-cpio":{source:"apache",extensions:["cpio"]},"application/x-csh":{source:"apache",extensions:["csh"]},"application/x-deb":{compressible:!1},"application/x-debian-package":{source:"apache",extensions:["deb","udeb"]},"application/x-dgc-compressed":{source:"apache",extensions:["dgc"]},"application/x-director":{source:"apache",extensions:["dir","dcr","dxr","cst","cct","cxt","w3d","fgd","swa"]},"application/x-doom":{source:"apache",extensions:["wad"]},"application/x-dtbncx+xml":{source:"apache",compressible:!0,extensions:["ncx"]},"application/x-dtbook+xml":{source:"apache",compressible:!0,extensions:["dtb"]},"application/x-dtbresource+xml":{source:"apache",compressible:!0,extensions:["res"]},"application/x-dvi":{source:"apache",compressible:!1,extensions:["dvi"]},"application/x-envoy":{source:"apache",extensions:["evy"]},"application/x-eva":{source:"apache",extensions:["eva"]},"application/x-font-bdf":{source:"apache",extensions:["bdf"]},"application/x-font-dos":{source:"apache"},"application/x-font-framemaker":{source:"apache"},"application/x-font-ghostscript":{source:"apache",extensions:["gsf"]},"application/x-font-libgrx":{source:"apache"},"application/x-font-linux-psf":{source:"apache",extensions:["psf"]},"application/x-font-pcf":{source:"apache",extensions:["pcf"]},"application/x-font-snf":{source:"apache",extensions:["snf"]},"application/x-font-speedo":{source:"apache"},"application/x-font-sunos-news":{source:"apache"},"application/x-font-type1":{source:"apache",extensions:["pfa","pfb","pfm","afm"]},"application/x-font-vfont":{source:"apache"},"application/x-freearc":{source:"apache",extensions:["arc"]},"application/x-futuresplash":{source:"apache",extensions:["spl"]},"application/x-gca-compressed":{source:"apache",extensions:["gca"]},"application/x-glulx":{source:"apache",extensions:["ulx"]},"application/x-gnumeric":{source:"apache",extensions:["gnumeric"]},"application/x-gramps-xml":{source:"apache",extensions:["gramps"]},"application/x-gtar":{source:"apache",extensions:["gtar"]},"application/x-gzip":{source:"apache"},"application/x-hdf":{source:"apache",extensions:["hdf"]},"application/x-httpd-php":{compressible:!0,extensions:["php"]},"application/x-install-instructions":{source:"apache",extensions:["install"]},"application/x-iso9660-image":{source:"apache",extensions:["iso"]},"application/x-iwork-keynote-sffkey":{extensions:["key"]},"application/x-iwork-numbers-sffnumbers":{extensions:["numbers"]},"application/x-iwork-pages-sffpages":{extensions:["pages"]},"application/x-java-archive-diff":{source:"nginx",extensions:["jardiff"]},"application/x-java-jnlp-file":{source:"apache",compressible:!1,extensions:["jnlp"]},"application/x-javascript":{compressible:!0},"application/x-keepass2":{extensions:["kdbx"]},"application/x-latex":{source:"apache",compressible:!1,extensions:["latex"]},"application/x-lua-bytecode":{extensions:["luac"]},"application/x-lzh-compressed":{source:"apache",extensions:["lzh","lha"]},"application/x-makeself":{source:"nginx",extensions:["run"]},"application/x-mie":{source:"apache",extensions:["mie"]},"application/x-mobipocket-ebook":{source:"apache",extensions:["prc","mobi"]},"application/x-mpegurl":{compressible:!1},"application/x-ms-application":{source:"apache",extensions:["application"]},"application/x-ms-shortcut":{source:"apache",extensions:["lnk"]},"application/x-ms-wmd":{source:"apache",extensions:["wmd"]},"application/x-ms-wmz":{source:"apache",extensions:["wmz"]},"application/x-ms-xbap":{source:"apache",extensions:["xbap"]},"application/x-msaccess":{source:"apache",extensions:["mdb"]},"application/x-msbinder":{source:"apache",extensions:["obd"]},"application/x-mscardfile":{source:"apache",extensions:["crd"]},"application/x-msclip":{source:"apache",extensions:["clp"]},"application/x-msdos-program":{extensions:["exe"]},"application/x-msdownload":{source:"apache",extensions:["exe","dll","com","bat","msi"]},"application/x-msmediaview":{source:"apache",extensions:["mvb","m13","m14"]},"application/x-msmetafile":{source:"apache",extensions:["wmf","wmz","emf","emz"]},"application/x-msmoney":{source:"apache",extensions:["mny"]},"application/x-mspublisher":{source:"apache",extensions:["pub"]},"application/x-msschedule":{source:"apache",extensions:["scd"]},"application/x-msterminal":{source:"apache",extensions:["trm"]},"application/x-mswrite":{source:"apache",extensions:["wri"]},"application/x-netcdf":{source:"apache",extensions:["nc","cdf"]},"application/x-ns-proxy-autoconfig":{compressible:!0,extensions:["pac"]},"application/x-nzb":{source:"apache",extensions:["nzb"]},"application/x-perl":{source:"nginx",extensions:["pl","pm"]},"application/x-pilot":{source:"nginx",extensions:["prc","pdb"]},"application/x-pkcs12":{source:"apache",compressible:!1,extensions:["p12","pfx"]},"application/x-pkcs7-certificates":{source:"apache",extensions:["p7b","spc"]},"application/x-pkcs7-certreqresp":{source:"apache",extensions:["p7r"]},"application/x-pki-message":{source:"iana"},"application/x-rar-compressed":{source:"apache",compressible:!1,extensions:["rar"]},"application/x-redhat-package-manager":{source:"nginx",extensions:["rpm"]},"application/x-research-info-systems":{source:"apache",extensions:["ris"]},"application/x-sea":{source:"nginx",extensions:["sea"]},"application/x-sh":{source:"apache",compressible:!0,extensions:["sh"]},"application/x-shar":{source:"apache",extensions:["shar"]},"application/x-shockwave-flash":{source:"apache",compressible:!1,extensions:["swf"]},"application/x-silverlight-app":{source:"apache",extensions:["xap"]},"application/x-sql":{source:"apache",extensions:["sql"]},"application/x-stuffit":{source:"apache",compressible:!1,extensions:["sit"]},"application/x-stuffitx":{source:"apache",extensions:["sitx"]},"application/x-subrip":{source:"apache",extensions:["srt"]},"application/x-sv4cpio":{source:"apache",extensions:["sv4cpio"]},"application/x-sv4crc":{source:"apache",extensions:["sv4crc"]},"application/x-t3vm-image":{source:"apache",extensions:["t3"]},"application/x-tads":{source:"apache",extensions:["gam"]},"application/x-tar":{source:"apache",compressible:!0,extensions:["tar"]},"application/x-tcl":{source:"apache",extensions:["tcl","tk"]},"application/x-tex":{source:"apache",extensions:["tex"]},"application/x-tex-tfm":{source:"apache",extensions:["tfm"]},"application/x-texinfo":{source:"apache",extensions:["texinfo","texi"]},"application/x-tgif":{source:"apache",extensions:["obj"]},"application/x-ustar":{source:"apache",extensions:["ustar"]},"application/x-virtualbox-hdd":{compressible:!0,extensions:["hdd"]},"application/x-virtualbox-ova":{compressible:!0,extensions:["ova"]},"application/x-virtualbox-ovf":{compressible:!0,extensions:["ovf"]},"application/x-virtualbox-vbox":{compressible:!0,extensions:["vbox"]},"application/x-virtualbox-vbox-extpack":{compressible:!1,extensions:["vbox-extpack"]},"application/x-virtualbox-vdi":{compressible:!0,extensions:["vdi"]},"application/x-virtualbox-vhd":{compressible:!0,extensions:["vhd"]},"application/x-virtualbox-vmdk":{compressible:!0,extensions:["vmdk"]},"application/x-wais-source":{source:"apache",extensions:["src"]},"application/x-web-app-manifest+json":{compressible:!0,extensions:["webapp"]},"application/x-www-form-urlencoded":{source:"iana",compressible:!0},"application/x-x509-ca-cert":{source:"iana",extensions:["der","crt","pem"]},"application/x-x509-ca-ra-cert":{source:"iana"},"application/x-x509-next-ca-cert":{source:"iana"},"application/x-xfig":{source:"apache",extensions:["fig"]},"application/x-xliff+xml":{source:"apache",compressible:!0,extensions:["xlf"]},"application/x-xpinstall":{source:"apache",compressible:!1,extensions:["xpi"]},"application/x-xz":{source:"apache",extensions:["xz"]},"application/x-zmachine":{source:"apache",extensions:["z1","z2","z3","z4","z5","z6","z7","z8"]},"application/x400-bp":{source:"iana"},"application/xacml+xml":{source:"iana",compressible:!0},"application/xaml+xml":{source:"apache",compressible:!0,extensions:["xaml"]},"application/xcap-att+xml":{source:"iana",compressible:!0,extensions:["xav"]},"application/xcap-caps+xml":{source:"iana",compressible:!0,extensions:["xca"]},"application/xcap-diff+xml":{source:"iana",compressible:!0,extensions:["xdf"]},"application/xcap-el+xml":{source:"iana",compressible:!0,extensions:["xel"]},"application/xcap-error+xml":{source:"iana",compressible:!0},"application/xcap-ns+xml":{source:"iana",compressible:!0,extensions:["xns"]},"application/xcon-conference-info+xml":{source:"iana",compressible:!0},"application/xcon-conference-info-diff+xml":{source:"iana",compressible:!0},"application/xenc+xml":{source:"iana",compressible:!0,extensions:["xenc"]},"application/xhtml+xml":{source:"iana",compressible:!0,extensions:["xhtml","xht"]},"application/xhtml-voice+xml":{source:"apache",compressible:!0},"application/xliff+xml":{source:"iana",compressible:!0,extensions:["xlf"]},"application/xml":{source:"iana",compressible:!0,extensions:["xml","xsl","xsd","rng"]},"application/xml-dtd":{source:"iana",compressible:!0,extensions:["dtd"]},"application/xml-external-parsed-entity":{source:"iana"},"application/xml-patch+xml":{source:"iana",compressible:!0},"application/xmpp+xml":{source:"iana",compressible:!0},"application/xop+xml":{source:"iana",compressible:!0,extensions:["xop"]},"application/xproc+xml":{source:"apache",compressible:!0,extensions:["xpl"]},"application/xslt+xml":{source:"iana",compressible:!0,extensions:["xsl","xslt"]},"application/xspf+xml":{source:"apache",compressible:!0,extensions:["xspf"]},"application/xv+xml":{source:"iana",compressible:!0,extensions:["mxml","xhvml","xvml","xvm"]},"application/yang":{source:"iana",extensions:["yang"]},"application/yang-data+json":{source:"iana",compressible:!0},"application/yang-data+xml":{source:"iana",compressible:!0},"application/yang-patch+json":{source:"iana",compressible:!0},"application/yang-patch+xml":{source:"iana",compressible:!0},"application/yin+xml":{source:"iana",compressible:!0,extensions:["yin"]},"application/zip":{source:"iana",compressible:!1,extensions:["zip"]},"application/zlib":{source:"iana"},"application/zstd":{source:"iana"},"audio/1d-interleaved-parityfec":{source:"iana"},"audio/32kadpcm":{source:"iana"},"audio/3gpp":{source:"iana",compressible:!1,extensions:["3gpp"]},"audio/3gpp2":{source:"iana"},"audio/aac":{source:"iana"},"audio/ac3":{source:"iana"},"audio/adpcm":{source:"apache",extensions:["adp"]},"audio/amr":{source:"iana",extensions:["amr"]},"audio/amr-wb":{source:"iana"},"audio/amr-wb+":{source:"iana"},"audio/aptx":{source:"iana"},"audio/asc":{source:"iana"},"audio/atrac-advanced-lossless":{source:"iana"},"audio/atrac-x":{source:"iana"},"audio/atrac3":{source:"iana"},"audio/basic":{source:"iana",compressible:!1,extensions:["au","snd"]},"audio/bv16":{source:"iana"},"audio/bv32":{source:"iana"},"audio/clearmode":{source:"iana"},"audio/cn":{source:"iana"},"audio/dat12":{source:"iana"},"audio/dls":{source:"iana"},"audio/dsr-es201108":{source:"iana"},"audio/dsr-es202050":{source:"iana"},"audio/dsr-es202211":{source:"iana"},"audio/dsr-es202212":{source:"iana"},"audio/dv":{source:"iana"},"audio/dvi4":{source:"iana"},"audio/eac3":{source:"iana"},"audio/encaprtp":{source:"iana"},"audio/evrc":{source:"iana"},"audio/evrc-qcp":{source:"iana"},"audio/evrc0":{source:"iana"},"audio/evrc1":{source:"iana"},"audio/evrcb":{source:"iana"},"audio/evrcb0":{source:"iana"},"audio/evrcb1":{source:"iana"},"audio/evrcnw":{source:"iana"},"audio/evrcnw0":{source:"iana"},"audio/evrcnw1":{source:"iana"},"audio/evrcwb":{source:"iana"},"audio/evrcwb0":{source:"iana"},"audio/evrcwb1":{source:"iana"},"audio/evs":{source:"iana"},"audio/flexfec":{source:"iana"},"audio/fwdred":{source:"iana"},"audio/g711-0":{source:"iana"},"audio/g719":{source:"iana"},"audio/g722":{source:"iana"},"audio/g7221":{source:"iana"},"audio/g723":{source:"iana"},"audio/g726-16":{source:"iana"},"audio/g726-24":{source:"iana"},"audio/g726-32":{source:"iana"},"audio/g726-40":{source:"iana"},"audio/g728":{source:"iana"},"audio/g729":{source:"iana"},"audio/g7291":{source:"iana"},"audio/g729d":{source:"iana"},"audio/g729e":{source:"iana"},"audio/gsm":{source:"iana"},"audio/gsm-efr":{source:"iana"},"audio/gsm-hr-08":{source:"iana"},"audio/ilbc":{source:"iana"},"audio/ip-mr_v2.5":{source:"iana"},"audio/isac":{source:"apache"},"audio/l16":{source:"iana"},"audio/l20":{source:"iana"},"audio/l24":{source:"iana",compressible:!1},"audio/l8":{source:"iana"},"audio/lpc":{source:"iana"},"audio/melp":{source:"iana"},"audio/melp1200":{source:"iana"},"audio/melp2400":{source:"iana"},"audio/melp600":{source:"iana"},"audio/mhas":{source:"iana"},"audio/midi":{source:"apache",extensions:["mid","midi","kar","rmi"]},"audio/mobile-xmf":{source:"iana",extensions:["mxmf"]},"audio/mp3":{compressible:!1,extensions:["mp3"]},"audio/mp4":{source:"iana",compressible:!1,extensions:["m4a","mp4a"]},"audio/mp4a-latm":{source:"iana"},"audio/mpa":{source:"iana"},"audio/mpa-robust":{source:"iana"},"audio/mpeg":{source:"iana",compressible:!1,extensions:["mpga","mp2","mp2a","mp3","m2a","m3a"]},"audio/mpeg4-generic":{source:"iana"},"audio/musepack":{source:"apache"},"audio/ogg":{source:"iana",compressible:!1,extensions:["oga","ogg","spx","opus"]},"audio/opus":{source:"iana"},"audio/parityfec":{source:"iana"},"audio/pcma":{source:"iana"},"audio/pcma-wb":{source:"iana"},"audio/pcmu":{source:"iana"},"audio/pcmu-wb":{source:"iana"},"audio/prs.sid":{source:"iana"},"audio/qcelp":{source:"iana"},"audio/raptorfec":{source:"iana"},"audio/red":{source:"iana"},"audio/rtp-enc-aescm128":{source:"iana"},"audio/rtp-midi":{source:"iana"},"audio/rtploopback":{source:"iana"},"audio/rtx":{source:"iana"},"audio/s3m":{source:"apache",extensions:["s3m"]},"audio/scip":{source:"iana"},"audio/silk":{source:"apache",extensions:["sil"]},"audio/smv":{source:"iana"},"audio/smv-qcp":{source:"iana"},"audio/smv0":{source:"iana"},"audio/sofa":{source:"iana"},"audio/sp-midi":{source:"iana"},"audio/speex":{source:"iana"},"audio/t140c":{source:"iana"},"audio/t38":{source:"iana"},"audio/telephone-event":{source:"iana"},"audio/tetra_acelp":{source:"iana"},"audio/tetra_acelp_bb":{source:"iana"},"audio/tone":{source:"iana"},"audio/tsvcis":{source:"iana"},"audio/uemclip":{source:"iana"},"audio/ulpfec":{source:"iana"},"audio/usac":{source:"iana"},"audio/vdvi":{source:"iana"},"audio/vmr-wb":{source:"iana"},"audio/vnd.3gpp.iufp":{source:"iana"},"audio/vnd.4sb":{source:"iana"},"audio/vnd.audiokoz":{source:"iana"},"audio/vnd.celp":{source:"iana"},"audio/vnd.cisco.nse":{source:"iana"},"audio/vnd.cmles.radio-events":{source:"iana"},"audio/vnd.cns.anp1":{source:"iana"},"audio/vnd.cns.inf1":{source:"iana"},"audio/vnd.dece.audio":{source:"iana",extensions:["uva","uvva"]},"audio/vnd.digital-winds":{source:"iana",extensions:["eol"]},"audio/vnd.dlna.adts":{source:"iana"},"audio/vnd.dolby.heaac.1":{source:"iana"},"audio/vnd.dolby.heaac.2":{source:"iana"},"audio/vnd.dolby.mlp":{source:"iana"},"audio/vnd.dolby.mps":{source:"iana"},"audio/vnd.dolby.pl2":{source:"iana"},"audio/vnd.dolby.pl2x":{source:"iana"},"audio/vnd.dolby.pl2z":{source:"iana"},"audio/vnd.dolby.pulse.1":{source:"iana"},"audio/vnd.dra":{source:"iana",extensions:["dra"]},"audio/vnd.dts":{source:"iana",extensions:["dts"]},"audio/vnd.dts.hd":{source:"iana",extensions:["dtshd"]},"audio/vnd.dts.uhd":{source:"iana"},"audio/vnd.dvb.file":{source:"iana"},"audio/vnd.everad.plj":{source:"iana"},"audio/vnd.hns.audio":{source:"iana"},"audio/vnd.lucent.voice":{source:"iana",extensions:["lvp"]},"audio/vnd.ms-playready.media.pya":{source:"iana",extensions:["pya"]},"audio/vnd.nokia.mobile-xmf":{source:"iana"},"audio/vnd.nortel.vbk":{source:"iana"},"audio/vnd.nuera.ecelp4800":{source:"iana",extensions:["ecelp4800"]},"audio/vnd.nuera.ecelp7470":{source:"iana",extensions:["ecelp7470"]},"audio/vnd.nuera.ecelp9600":{source:"iana",extensions:["ecelp9600"]},"audio/vnd.octel.sbc":{source:"iana"},"audio/vnd.presonus.multitrack":{source:"iana"},"audio/vnd.qcelp":{source:"iana"},"audio/vnd.rhetorex.32kadpcm":{source:"iana"},"audio/vnd.rip":{source:"iana",extensions:["rip"]},"audio/vnd.rn-realaudio":{compressible:!1},"audio/vnd.sealedmedia.softseal.mpeg":{source:"iana"},"audio/vnd.vmx.cvsd":{source:"iana"},"audio/vnd.wave":{compressible:!1},"audio/vorbis":{source:"iana",compressible:!1},"audio/vorbis-config":{source:"iana"},"audio/wav":{compressible:!1,extensions:["wav"]},"audio/wave":{compressible:!1,extensions:["wav"]},"audio/webm":{source:"apache",compressible:!1,extensions:["weba"]},"audio/x-aac":{source:"apache",compressible:!1,extensions:["aac"]},"audio/x-aiff":{source:"apache",extensions:["aif","aiff","aifc"]},"audio/x-caf":{source:"apache",compressible:!1,extensions:["caf"]},"audio/x-flac":{source:"apache",extensions:["flac"]},"audio/x-m4a":{source:"nginx",extensions:["m4a"]},"audio/x-matroska":{source:"apache",extensions:["mka"]},"audio/x-mpegurl":{source:"apache",extensions:["m3u"]},"audio/x-ms-wax":{source:"apache",extensions:["wax"]},"audio/x-ms-wma":{source:"apache",extensions:["wma"]},"audio/x-pn-realaudio":{source:"apache",extensions:["ram","ra"]},"audio/x-pn-realaudio-plugin":{source:"apache",extensions:["rmp"]},"audio/x-realaudio":{source:"nginx",extensions:["ra"]},"audio/x-tta":{source:"apache"},"audio/x-wav":{source:"apache",extensions:["wav"]},"audio/xm":{source:"apache",extensions:["xm"]},"chemical/x-cdx":{source:"apache",extensions:["cdx"]},"chemical/x-cif":{source:"apache",extensions:["cif"]},"chemical/x-cmdf":{source:"apache",extensions:["cmdf"]},"chemical/x-cml":{source:"apache",extensions:["cml"]},"chemical/x-csml":{source:"apache",extensions:["csml"]},"chemical/x-pdb":{source:"apache"},"chemical/x-xyz":{source:"apache",extensions:["xyz"]},"font/collection":{source:"iana",extensions:["ttc"]},"font/otf":{source:"iana",compressible:!0,extensions:["otf"]},"font/sfnt":{source:"iana"},"font/ttf":{source:"iana",compressible:!0,extensions:["ttf"]},"font/woff":{source:"iana",extensions:["woff"]},"font/woff2":{source:"iana",extensions:["woff2"]},"image/aces":{source:"iana",extensions:["exr"]},"image/apng":{compressible:!1,extensions:["apng"]},"image/avci":{source:"iana",extensions:["avci"]},"image/avcs":{source:"iana",extensions:["avcs"]},"image/avif":{source:"iana",compressible:!1,extensions:["avif"]},"image/bmp":{source:"iana",compressible:!0,extensions:["bmp"]},"image/cgm":{source:"iana",extensions:["cgm"]},"image/dicom-rle":{source:"iana",extensions:["drle"]},"image/emf":{source:"iana",extensions:["emf"]},"image/fits":{source:"iana",extensions:["fits"]},"image/g3fax":{source:"iana",extensions:["g3"]},"image/gif":{source:"iana",compressible:!1,extensions:["gif"]},"image/heic":{source:"iana",extensions:["heic"]},"image/heic-sequence":{source:"iana",extensions:["heics"]},"image/heif":{source:"iana",extensions:["heif"]},"image/heif-sequence":{source:"iana",extensions:["heifs"]},"image/hej2k":{source:"iana",extensions:["hej2"]},"image/hsj2":{source:"iana",extensions:["hsj2"]},"image/ief":{source:"iana",extensions:["ief"]},"image/jls":{source:"iana",extensions:["jls"]},"image/jp2":{source:"iana",compressible:!1,extensions:["jp2","jpg2"]},"image/jpeg":{source:"iana",compressible:!1,extensions:["jpeg","jpg","jpe"]},"image/jph":{source:"iana",extensions:["jph"]},"image/jphc":{source:"iana",extensions:["jhc"]},"image/jpm":{source:"iana",compressible:!1,extensions:["jpm"]},"image/jpx":{source:"iana",compressible:!1,extensions:["jpx","jpf"]},"image/jxr":{source:"iana",extensions:["jxr"]},"image/jxra":{source:"iana",extensions:["jxra"]},"image/jxrs":{source:"iana",extensions:["jxrs"]},"image/jxs":{source:"iana",extensions:["jxs"]},"image/jxsc":{source:"iana",extensions:["jxsc"]},"image/jxsi":{source:"iana",extensions:["jxsi"]},"image/jxss":{source:"iana",extensions:["jxss"]},"image/ktx":{source:"iana",extensions:["ktx"]},"image/ktx2":{source:"iana",extensions:["ktx2"]},"image/naplps":{source:"iana"},"image/pjpeg":{compressible:!1},"image/png":{source:"iana",compressible:!1,extensions:["png"]},"image/prs.btif":{source:"iana",extensions:["btif"]},"image/prs.pti":{source:"iana",extensions:["pti"]},"image/pwg-raster":{source:"iana"},"image/sgi":{source:"apache",extensions:["sgi"]},"image/svg+xml":{source:"iana",compressible:!0,extensions:["svg","svgz"]},"image/t38":{source:"iana",extensions:["t38"]},"image/tiff":{source:"iana",compressible:!1,extensions:["tif","tiff"]},"image/tiff-fx":{source:"iana",extensions:["tfx"]},"image/vnd.adobe.photoshop":{source:"iana",compressible:!0,extensions:["psd"]},"image/vnd.airzip.accelerator.azv":{source:"iana",extensions:["azv"]},"image/vnd.cns.inf2":{source:"iana"},"image/vnd.dece.graphic":{source:"iana",extensions:["uvi","uvvi","uvg","uvvg"]},"image/vnd.djvu":{source:"iana",extensions:["djvu","djv"]},"image/vnd.dvb.subtitle":{source:"iana",extensions:["sub"]},"image/vnd.dwg":{source:"iana",extensions:["dwg"]},"image/vnd.dxf":{source:"iana",extensions:["dxf"]},"image/vnd.fastbidsheet":{source:"iana",extensions:["fbs"]},"image/vnd.fpx":{source:"iana",extensions:["fpx"]},"image/vnd.fst":{source:"iana",extensions:["fst"]},"image/vnd.fujixerox.edmics-mmr":{source:"iana",extensions:["mmr"]},"image/vnd.fujixerox.edmics-rlc":{source:"iana",extensions:["rlc"]},"image/vnd.globalgraphics.pgb":{source:"iana"},"image/vnd.microsoft.icon":{source:"iana",compressible:!0,extensions:["ico"]},"image/vnd.mix":{source:"iana"},"image/vnd.mozilla.apng":{source:"iana"},"image/vnd.ms-dds":{compressible:!0,extensions:["dds"]},"image/vnd.ms-modi":{source:"iana",extensions:["mdi"]},"image/vnd.ms-photo":{source:"apache",extensions:["wdp"]},"image/vnd.net-fpx":{source:"iana",extensions:["npx"]},"image/vnd.pco.b16":{source:"iana",extensions:["b16"]},"image/vnd.radiance":{source:"iana"},"image/vnd.sealed.png":{source:"iana"},"image/vnd.sealedmedia.softseal.gif":{source:"iana"},"image/vnd.sealedmedia.softseal.jpg":{source:"iana"},"image/vnd.svf":{source:"iana"},"image/vnd.tencent.tap":{source:"iana",extensions:["tap"]},"image/vnd.valve.source.texture":{source:"iana",extensions:["vtf"]},"image/vnd.wap.wbmp":{source:"iana",extensions:["wbmp"]},"image/vnd.xiff":{source:"iana",extensions:["xif"]},"image/vnd.zbrush.pcx":{source:"iana",extensions:["pcx"]},"image/webp":{source:"apache",extensions:["webp"]},"image/wmf":{source:"iana",extensions:["wmf"]},"image/x-3ds":{source:"apache",extensions:["3ds"]},"image/x-cmu-raster":{source:"apache",extensions:["ras"]},"image/x-cmx":{source:"apache",extensions:["cmx"]},"image/x-freehand":{source:"apache",extensions:["fh","fhc","fh4","fh5","fh7"]},"image/x-icon":{source:"apache",compressible:!0,extensions:["ico"]},"image/x-jng":{source:"nginx",extensions:["jng"]},"image/x-mrsid-image":{source:"apache",extensions:["sid"]},"image/x-ms-bmp":{source:"nginx",compressible:!0,extensions:["bmp"]},"image/x-pcx":{source:"apache",extensions:["pcx"]},"image/x-pict":{source:"apache",extensions:["pic","pct"]},"image/x-portable-anymap":{source:"apache",extensions:["pnm"]},"image/x-portable-bitmap":{source:"apache",extensions:["pbm"]},"image/x-portable-graymap":{source:"apache",extensions:["pgm"]},"image/x-portable-pixmap":{source:"apache",extensions:["ppm"]},"image/x-rgb":{source:"apache",extensions:["rgb"]},"image/x-tga":{source:"apache",extensions:["tga"]},"image/x-xbitmap":{source:"apache",extensions:["xbm"]},"image/x-xcf":{compressible:!1},"image/x-xpixmap":{source:"apache",extensions:["xpm"]},"image/x-xwindowdump":{source:"apache",extensions:["xwd"]},"message/cpim":{source:"iana"},"message/delivery-status":{source:"iana"},"message/disposition-notification":{source:"iana",extensions:["disposition-notification"]},"message/external-body":{source:"iana"},"message/feedback-report":{source:"iana"},"message/global":{source:"iana",extensions:["u8msg"]},"message/global-delivery-status":{source:"iana",extensions:["u8dsn"]},"message/global-disposition-notification":{source:"iana",extensions:["u8mdn"]},"message/global-headers":{source:"iana",extensions:["u8hdr"]},"message/http":{source:"iana",compressible:!1},"message/imdn+xml":{source:"iana",compressible:!0},"message/news":{source:"iana"},"message/partial":{source:"iana",compressible:!1},"message/rfc822":{source:"iana",compressible:!0,extensions:["eml","mime"]},"message/s-http":{source:"iana"},"message/sip":{source:"iana"},"message/sipfrag":{source:"iana"},"message/tracking-status":{source:"iana"},"message/vnd.si.simp":{source:"iana"},"message/vnd.wfa.wsc":{source:"iana",extensions:["wsc"]},"model/3mf":{source:"iana",extensions:["3mf"]},"model/e57":{source:"iana"},"model/gltf+json":{source:"iana",compressible:!0,extensions:["gltf"]},"model/gltf-binary":{source:"iana",compressible:!0,extensions:["glb"]},"model/iges":{source:"iana",compressible:!1,extensions:["igs","iges"]},"model/mesh":{source:"iana",compressible:!1,extensions:["msh","mesh","silo"]},"model/mtl":{source:"iana",extensions:["mtl"]},"model/obj":{source:"iana",extensions:["obj"]},"model/step":{source:"iana"},"model/step+xml":{source:"iana",compressible:!0,extensions:["stpx"]},"model/step+zip":{source:"iana",compressible:!1,extensions:["stpz"]},"model/step-xml+zip":{source:"iana",compressible:!1,extensions:["stpxz"]},"model/stl":{source:"iana",extensions:["stl"]},"model/vnd.collada+xml":{source:"iana",compressible:!0,extensions:["dae"]},"model/vnd.dwf":{source:"iana",extensions:["dwf"]},"model/vnd.flatland.3dml":{source:"iana"},"model/vnd.gdl":{source:"iana",extensions:["gdl"]},"model/vnd.gs-gdl":{source:"apache"},"model/vnd.gs.gdl":{source:"iana"},"model/vnd.gtw":{source:"iana",extensions:["gtw"]},"model/vnd.moml+xml":{source:"iana",compressible:!0},"model/vnd.mts":{source:"iana",extensions:["mts"]},"model/vnd.opengex":{source:"iana",extensions:["ogex"]},"model/vnd.parasolid.transmit.binary":{source:"iana",extensions:["x_b"]},"model/vnd.parasolid.transmit.text":{source:"iana",extensions:["x_t"]},"model/vnd.pytha.pyox":{source:"iana"},"model/vnd.rosette.annotated-data-model":{source:"iana"},"model/vnd.sap.vds":{source:"iana",extensions:["vds"]},"model/vnd.usdz+zip":{source:"iana",compressible:!1,extensions:["usdz"]},"model/vnd.valve.source.compiled-map":{source:"iana",extensions:["bsp"]},"model/vnd.vtu":{source:"iana",extensions:["vtu"]},"model/vrml":{source:"iana",compressible:!1,extensions:["wrl","vrml"]},"model/x3d+binary":{source:"apache",compressible:!1,extensions:["x3db","x3dbz"]},"model/x3d+fastinfoset":{source:"iana",extensions:["x3db"]},"model/x3d+vrml":{source:"apache",compressible:!1,extensions:["x3dv","x3dvz"]},"model/x3d+xml":{source:"iana",compressible:!0,extensions:["x3d","x3dz"]},"model/x3d-vrml":{source:"iana",extensions:["x3dv"]},"multipart/alternative":{source:"iana",compressible:!1},"multipart/appledouble":{source:"iana"},"multipart/byteranges":{source:"iana"},"multipart/digest":{source:"iana"},"multipart/encrypted":{source:"iana",compressible:!1},"multipart/form-data":{source:"iana",compressible:!1},"multipart/header-set":{source:"iana"},"multipart/mixed":{source:"iana"},"multipart/multilingual":{source:"iana"},"multipart/parallel":{source:"iana"},"multipart/related":{source:"iana",compressible:!1},"multipart/report":{source:"iana"},"multipart/signed":{source:"iana",compressible:!1},"multipart/vnd.bint.med-plus":{source:"iana"},"multipart/voice-message":{source:"iana"},"multipart/x-mixed-replace":{source:"iana"},"text/1d-interleaved-parityfec":{source:"iana"},"text/cache-manifest":{source:"iana",compressible:!0,extensions:["appcache","manifest"]},"text/calendar":{source:"iana",extensions:["ics","ifb"]},"text/calender":{compressible:!0},"text/cmd":{compressible:!0},"text/coffeescript":{extensions:["coffee","litcoffee"]},"text/cql":{source:"iana"},"text/cql-expression":{source:"iana"},"text/cql-identifier":{source:"iana"},"text/css":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["css"]},"text/csv":{source:"iana",compressible:!0,extensions:["csv"]},"text/csv-schema":{source:"iana"},"text/directory":{source:"iana"},"text/dns":{source:"iana"},"text/ecmascript":{source:"iana"},"text/encaprtp":{source:"iana"},"text/enriched":{source:"iana"},"text/fhirpath":{source:"iana"},"text/flexfec":{source:"iana"},"text/fwdred":{source:"iana"},"text/gff3":{source:"iana"},"text/grammar-ref-list":{source:"iana"},"text/html":{source:"iana",compressible:!0,extensions:["html","htm","shtml"]},"text/jade":{extensions:["jade"]},"text/javascript":{source:"iana",compressible:!0},"text/jcr-cnd":{source:"iana"},"text/jsx":{compressible:!0,extensions:["jsx"]},"text/less":{compressible:!0,extensions:["less"]},"text/markdown":{source:"iana",compressible:!0,extensions:["markdown","md"]},"text/mathml":{source:"nginx",extensions:["mml"]},"text/mdx":{compressible:!0,extensions:["mdx"]},"text/mizar":{source:"iana"},"text/n3":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["n3"]},"text/parameters":{source:"iana",charset:"UTF-8"},"text/parityfec":{source:"iana"},"text/plain":{source:"iana",compressible:!0,extensions:["txt","text","conf","def","list","log","in","ini"]},"text/provenance-notation":{source:"iana",charset:"UTF-8"},"text/prs.fallenstein.rst":{source:"iana"},"text/prs.lines.tag":{source:"iana",extensions:["dsc"]},"text/prs.prop.logic":{source:"iana"},"text/raptorfec":{source:"iana"},"text/red":{source:"iana"},"text/rfc822-headers":{source:"iana"},"text/richtext":{source:"iana",compressible:!0,extensions:["rtx"]},"text/rtf":{source:"iana",compressible:!0,extensions:["rtf"]},"text/rtp-enc-aescm128":{source:"iana"},"text/rtploopback":{source:"iana"},"text/rtx":{source:"iana"},"text/sgml":{source:"iana",extensions:["sgml","sgm"]},"text/shaclc":{source:"iana"},"text/shex":{source:"iana",extensions:["shex"]},"text/slim":{extensions:["slim","slm"]},"text/spdx":{source:"iana",extensions:["spdx"]},"text/strings":{source:"iana"},"text/stylus":{extensions:["stylus","styl"]},"text/t140":{source:"iana"},"text/tab-separated-values":{source:"iana",compressible:!0,extensions:["tsv"]},"text/troff":{source:"iana",extensions:["t","tr","roff","man","me","ms"]},"text/turtle":{source:"iana",charset:"UTF-8",extensions:["ttl"]},"text/ulpfec":{source:"iana"},"text/uri-list":{source:"iana",compressible:!0,extensions:["uri","uris","urls"]},"text/vcard":{source:"iana",compressible:!0,extensions:["vcard"]},"text/vnd.a":{source:"iana"},"text/vnd.abc":{source:"iana"},"text/vnd.ascii-art":{source:"iana"},"text/vnd.curl":{source:"iana",extensions:["curl"]},"text/vnd.curl.dcurl":{source:"apache",extensions:["dcurl"]},"text/vnd.curl.mcurl":{source:"apache",extensions:["mcurl"]},"text/vnd.curl.scurl":{source:"apache",extensions:["scurl"]},"text/vnd.debian.copyright":{source:"iana",charset:"UTF-8"},"text/vnd.dmclientscript":{source:"iana"},"text/vnd.dvb.subtitle":{source:"iana",extensions:["sub"]},"text/vnd.esmertec.theme-descriptor":{source:"iana",charset:"UTF-8"},"text/vnd.familysearch.gedcom":{source:"iana",extensions:["ged"]},"text/vnd.ficlab.flt":{source:"iana"},"text/vnd.fly":{source:"iana",extensions:["fly"]},"text/vnd.fmi.flexstor":{source:"iana",extensions:["flx"]},"text/vnd.gml":{source:"iana"},"text/vnd.graphviz":{source:"iana",extensions:["gv"]},"text/vnd.hans":{source:"iana"},"text/vnd.hgl":{source:"iana"},"text/vnd.in3d.3dml":{source:"iana",extensions:["3dml"]},"text/vnd.in3d.spot":{source:"iana",extensions:["spot"]},"text/vnd.iptc.newsml":{source:"iana"},"text/vnd.iptc.nitf":{source:"iana"},"text/vnd.latex-z":{source:"iana"},"text/vnd.motorola.reflex":{source:"iana"},"text/vnd.ms-mediapackage":{source:"iana"},"text/vnd.net2phone.commcenter.command":{source:"iana"},"text/vnd.radisys.msml-basic-layout":{source:"iana"},"text/vnd.senx.warpscript":{source:"iana"},"text/vnd.si.uricatalogue":{source:"iana"},"text/vnd.sosi":{source:"iana"},"text/vnd.sun.j2me.app-descriptor":{source:"iana",charset:"UTF-8",extensions:["jad"]},"text/vnd.trolltech.linguist":{source:"iana",charset:"UTF-8"},"text/vnd.wap.si":{source:"iana"},"text/vnd.wap.sl":{source:"iana"},"text/vnd.wap.wml":{source:"iana",extensions:["wml"]},"text/vnd.wap.wmlscript":{source:"iana",extensions:["wmls"]},"text/vtt":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["vtt"]},"text/x-asm":{source:"apache",extensions:["s","asm"]},"text/x-c":{source:"apache",extensions:["c","cc","cxx","cpp","h","hh","dic"]},"text/x-component":{source:"nginx",extensions:["htc"]},"text/x-fortran":{source:"apache",extensions:["f","for","f77","f90"]},"text/x-gwt-rpc":{compressible:!0},"text/x-handlebars-template":{extensions:["hbs"]},"text/x-java-source":{source:"apache",extensions:["java"]},"text/x-jquery-tmpl":{compressible:!0},"text/x-lua":{extensions:["lua"]},"text/x-markdown":{compressible:!0,extensions:["mkd"]},"text/x-nfo":{source:"apache",extensions:["nfo"]},"text/x-opml":{source:"apache",extensions:["opml"]},"text/x-org":{compressible:!0,extensions:["org"]},"text/x-pascal":{source:"apache",extensions:["p","pas"]},"text/x-processing":{compressible:!0,extensions:["pde"]},"text/x-sass":{extensions:["sass"]},"text/x-scss":{extensions:["scss"]},"text/x-setext":{source:"apache",extensions:["etx"]},"text/x-sfv":{source:"apache",extensions:["sfv"]},"text/x-suse-ymp":{compressible:!0,extensions:["ymp"]},"text/x-uuencode":{source:"apache",extensions:["uu"]},"text/x-vcalendar":{source:"apache",extensions:["vcs"]},"text/x-vcard":{source:"apache",extensions:["vcf"]},"text/xml":{source:"iana",compressible:!0,extensions:["xml"]},"text/xml-external-parsed-entity":{source:"iana"},"text/yaml":{compressible:!0,extensions:["yaml","yml"]},"video/1d-interleaved-parityfec":{source:"iana"},"video/3gpp":{source:"iana",extensions:["3gp","3gpp"]},"video/3gpp-tt":{source:"iana"},"video/3gpp2":{source:"iana",extensions:["3g2"]},"video/av1":{source:"iana"},"video/bmpeg":{source:"iana"},"video/bt656":{source:"iana"},"video/celb":{source:"iana"},"video/dv":{source:"iana"},"video/encaprtp":{source:"iana"},"video/ffv1":{source:"iana"},"video/flexfec":{source:"iana"},"video/h261":{source:"iana",extensions:["h261"]},"video/h263":{source:"iana",extensions:["h263"]},"video/h263-1998":{source:"iana"},"video/h263-2000":{source:"iana"},"video/h264":{source:"iana",extensions:["h264"]},"video/h264-rcdo":{source:"iana"},"video/h264-svc":{source:"iana"},"video/h265":{source:"iana"},"video/iso.segment":{source:"iana",extensions:["m4s"]},"video/jpeg":{source:"iana",extensions:["jpgv"]},"video/jpeg2000":{source:"iana"},"video/jpm":{source:"apache",extensions:["jpm","jpgm"]},"video/jxsv":{source:"iana"},"video/mj2":{source:"iana",extensions:["mj2","mjp2"]},"video/mp1s":{source:"iana"},"video/mp2p":{source:"iana"},"video/mp2t":{source:"iana",extensions:["ts"]},"video/mp4":{source:"iana",compressible:!1,extensions:["mp4","mp4v","mpg4"]},"video/mp4v-es":{source:"iana"},"video/mpeg":{source:"iana",compressible:!1,extensions:["mpeg","mpg","mpe","m1v","m2v"]},"video/mpeg4-generic":{source:"iana"},"video/mpv":{source:"iana"},"video/nv":{source:"iana"},"video/ogg":{source:"iana",compressible:!1,extensions:["ogv"]},"video/parityfec":{source:"iana"},"video/pointer":{source:"iana"},"video/quicktime":{source:"iana",compressible:!1,extensions:["qt","mov"]},"video/raptorfec":{source:"iana"},"video/raw":{source:"iana"},"video/rtp-enc-aescm128":{source:"iana"},"video/rtploopback":{source:"iana"},"video/rtx":{source:"iana"},"video/scip":{source:"iana"},"video/smpte291":{source:"iana"},"video/smpte292m":{source:"iana"},"video/ulpfec":{source:"iana"},"video/vc1":{source:"iana"},"video/vc2":{source:"iana"},"video/vnd.cctv":{source:"iana"},"video/vnd.dece.hd":{source:"iana",extensions:["uvh","uvvh"]},"video/vnd.dece.mobile":{source:"iana",extensions:["uvm","uvvm"]},"video/vnd.dece.mp4":{source:"iana"},"video/vnd.dece.pd":{source:"iana",extensions:["uvp","uvvp"]},"video/vnd.dece.sd":{source:"iana",extensions:["uvs","uvvs"]},"video/vnd.dece.video":{source:"iana",extensions:["uvv","uvvv"]},"video/vnd.directv.mpeg":{source:"iana"},"video/vnd.directv.mpeg-tts":{source:"iana"},"video/vnd.dlna.mpeg-tts":{source:"iana"},"video/vnd.dvb.file":{source:"iana",extensions:["dvb"]},"video/vnd.fvt":{source:"iana",extensions:["fvt"]},"video/vnd.hns.video":{source:"iana"},"video/vnd.iptvforum.1dparityfec-1010":{source:"iana"},"video/vnd.iptvforum.1dparityfec-2005":{source:"iana"},"video/vnd.iptvforum.2dparityfec-1010":{source:"iana"},"video/vnd.iptvforum.2dparityfec-2005":{source:"iana"},"video/vnd.iptvforum.ttsavc":{source:"iana"},"video/vnd.iptvforum.ttsmpeg2":{source:"iana"},"video/vnd.motorola.video":{source:"iana"},"video/vnd.motorola.videop":{source:"iana"},"video/vnd.mpegurl":{source:"iana",extensions:["mxu","m4u"]},"video/vnd.ms-playready.media.pyv":{source:"iana",extensions:["pyv"]},"video/vnd.nokia.interleaved-multimedia":{source:"iana"},"video/vnd.nokia.mp4vr":{source:"iana"},"video/vnd.nokia.videovoip":{source:"iana"},"video/vnd.objectvideo":{source:"iana"},"video/vnd.radgamettools.bink":{source:"iana"},"video/vnd.radgamettools.smacker":{source:"iana"},"video/vnd.sealed.mpeg1":{source:"iana"},"video/vnd.sealed.mpeg4":{source:"iana"},"video/vnd.sealed.swf":{source:"iana"},"video/vnd.sealedmedia.softseal.mov":{source:"iana"},"video/vnd.uvvu.mp4":{source:"iana",extensions:["uvu","uvvu"]},"video/vnd.vivo":{source:"iana",extensions:["viv"]},"video/vnd.youtube.yt":{source:"iana"},"video/vp8":{source:"iana"},"video/vp9":{source:"iana"},"video/webm":{source:"apache",compressible:!1,extensions:["webm"]},"video/x-f4v":{source:"apache",extensions:["f4v"]},"video/x-fli":{source:"apache",extensions:["fli"]},"video/x-flv":{source:"apache",compressible:!1,extensions:["flv"]},"video/x-m4v":{source:"apache",extensions:["m4v"]},"video/x-matroska":{source:"apache",compressible:!1,extensions:["mkv","mk3d","mks"]},"video/x-mng":{source:"apache",extensions:["mng"]},"video/x-ms-asf":{source:"apache",extensions:["asf","asx"]},"video/x-ms-vob":{source:"apache",extensions:["vob"]},"video/x-ms-wm":{source:"apache",extensions:["wm"]},"video/x-ms-wmv":{source:"apache",compressible:!1,extensions:["wmv"]},"video/x-ms-wmx":{source:"apache",extensions:["wmx"]},"video/x-ms-wvx":{source:"apache",extensions:["wvx"]},"video/x-msvideo":{source:"apache",extensions:["avi"]},"video/x-sgi-movie":{source:"apache",extensions:["movie"]},"video/x-smv":{source:"apache",extensions:["smv"]},"x-conference/x-cooltalk":{source:"apache",extensions:["ice"]},"x-shader/x-fragment":{compressible:!0},"x-shader/x-vertex":{compressible:!0}},
/*!
 * mime-types
 * Copyright(c) 2014 Jonathan Ong
 * Copyright(c) 2015 Douglas Christopher Wilson
 * MIT Licensed
 */
function(e){var t=xm.exports,r=_.default.extname,a=/^\s*([^;\s]*)(?:;|\s|$)/,o=/^text\//i;function n(e){if(!e||"string"!=typeof e)return!1;var r=a.exec(e),n=r&&t[r[1].toLowerCase()];return n&&n.charset?n.charset:!(!r||!o.test(r[1]))&&"UTF-8"}e.charset=n,e.charsets={lookup:n},e.contentType=function(t){if(!t||"string"!=typeof t)return!1;var r=-1===t.indexOf("/")?e.lookup(t):t;if(!r)return!1;if(-1===r.indexOf("charset")){var a=e.charset(r);a&&(r+="; charset="+a.toLowerCase())}return r},e.extension=function(t){if(!t||"string"!=typeof t)return!1;var r=a.exec(t),o=r&&e.extensions[r[1].toLowerCase()];if(!o||!o.length)return!1;return o[0]},e.extensions=Object.create(null),e.lookup=function(t){if(!t||"string"!=typeof t)return!1;var a=r("x."+t).toLowerCase().substr(1);if(!a)return!1;return e.types[a]||!1},e.types=Object.create(null),function(e,r){var a=["nginx","apache",void 0,"iana"];Object.keys(t).forEach((function(o){var n=t[o],i=n.extensions;if(i&&i.length){e[o]=i;for(var s=0;s<i.length;s++){var c=i[s];if(r[c]){var u=a.indexOf(t[r[c]].source),p=a.indexOf(n.source);if("application/octet-stream"!==r[c]&&(u>p||u===p&&"application/"===r[c].substr(0,12)))continue}r[c]=o}}}))}(e.extensions,e.types)}(wm);var jm,Em,Sm,_m,Pm,Cm,Tm,Om,Am,Im,Fm,Rm,Dm,Nm,zm,Bm,$m,Lm,qm,Um,Mm,Hm={exports:{}};function Km(){if(jm)return Hm.exports;function e(e){this.dict=e||{}}return jm=1,e.prototype.set=function(e,t,r){if("object"!=typeof e){void 0===r&&(r=!0);var a=this.has(e);return!r&&a?this.dict[a]=this.dict[a]+","+t:this.dict[a||e]=t,a}for(var o in e)this.set(o,e[o],t)},e.prototype.has=function(e){for(var t=Object.keys(this.dict),r=(e=e.toLowerCase(),0);r<t.length;r++)if(t[r].toLowerCase()===e)return t[r];return!1},e.prototype.get=function(e){var t,r;e=e.toLowerCase();var a=this.dict;return Object.keys(a).forEach((function(o){r=o.toLowerCase(),e===r&&(t=a[o])})),t},e.prototype.swap=function(e){var t=this.has(e);if(t!==e){if(!t)throw new Error('There is no header than matches "'+e+'"');this.dict[e]=this.dict[t],delete this.dict[t]}},e.prototype.del=function(e){var t=this.has(e);return delete this.dict[t||e]},Hm.exports=function(t){return new e(t)},Hm.exports.httpify=function(t,r){var a=new e(r);return t.setHeader=function(e,t,r){if(void 0!==t)return a.set(e,t,r)},t.hasHeader=function(e){return a.has(e)},t.getHeader=function(e){return a.get(e)},t.removeHeader=function(e){return a.del(e)},t.headers=a.dict,a},Hm.exports}function Vm(){if(Tm)return Cm;Tm=1;var e=C.default,t=N.default.Stream,r=function(){if(Pm)return _m;Pm=1;var e=N.default.Stream,t=C.default;function r(){this.source=null,this.dataSize=0,this.maxDataSize=1048576,this.pauseStream=!0,this._maxDataSizeExceeded=!1,this._released=!1,this._bufferedEvents=[]}return _m=r,t.inherits(r,e),r.create=function(e,t){var r=new this;for(var a in t=t||{})r[a]=t[a];r.source=e;var o=e.emit;return e.emit=function(){return r._handleEmit(arguments),o.apply(e,arguments)},e.on("error",(function(){})),r.pauseStream&&e.pause(),r},Object.defineProperty(r.prototype,"readable",{configurable:!0,enumerable:!0,get:function(){return this.source.readable}}),r.prototype.setEncoding=function(){return this.source.setEncoding.apply(this.source,arguments)},r.prototype.resume=function(){this._released||this.release(),this.source.resume()},r.prototype.pause=function(){this.source.pause()},r.prototype.release=function(){this._released=!0,this._bufferedEvents.forEach(function(e){this.emit.apply(this,e)}.bind(this)),this._bufferedEvents=[]},r.prototype.pipe=function(){var t=e.prototype.pipe.apply(this,arguments);return this.resume(),t},r.prototype._handleEmit=function(e){this._released?this.emit.apply(this,e):("data"===e[0]&&(this.dataSize+=e[1].length,this._checkIfMaxDataSizeExceeded()),this._bufferedEvents.push(e))},r.prototype._checkIfMaxDataSizeExceeded=function(){if(!(this._maxDataSizeExceeded||this.dataSize<=this.maxDataSize)){this._maxDataSizeExceeded=!0;var e="DelayedStream#maxDataSize of "+this.maxDataSize+" bytes exceeded.";this.emit("error",new Error(e))}},_m}();function a(){this.writable=!1,this.readable=!0,this.dataSize=0,this.maxDataSize=2097152,this.pauseStreams=!0,this._released=!1,this._streams=[],this._currentStream=null,this._insideLoop=!1,this._pendingNext=!1}return Cm=a,e.inherits(a,t),a.create=function(e){var t=new this;for(var r in e=e||{})t[r]=e[r];return t},a.isStreamLike=function(e){return"function"!=typeof e&&"string"!=typeof e&&"boolean"!=typeof e&&"number"!=typeof e&&!Buffer.isBuffer(e)},a.prototype.append=function(e){if(a.isStreamLike(e)){if(!(e instanceof r)){var t=r.create(e,{maxDataSize:1/0,pauseStream:this.pauseStreams});e.on("data",this._checkDataSize.bind(this)),e=t}this._handleErrors(e),this.pauseStreams&&e.pause()}return this._streams.push(e),this},a.prototype.pipe=function(e,r){return t.prototype.pipe.call(this,e,r),this.resume(),e},a.prototype._getNext=function(){if(this._currentStream=null,this._insideLoop)this._pendingNext=!0;else{this._insideLoop=!0;try{do{this._pendingNext=!1,this._realGetNext()}while(this._pendingNext)}finally{this._insideLoop=!1}}},a.prototype._realGetNext=function(){var e=this._streams.shift();void 0!==e?"function"==typeof e?e(function(e){a.isStreamLike(e)&&(e.on("data",this._checkDataSize.bind(this)),this._handleErrors(e)),this._pipeNext(e)}.bind(this)):this._pipeNext(e):this.end()},a.prototype._pipeNext=function(e){if(this._currentStream=e,a.isStreamLike(e))return e.on("end",this._getNext.bind(this)),void e.pipe(this,{end:!1});var t=e;this.write(t),this._getNext()},a.prototype._handleErrors=function(e){var t=this;e.on("error",(function(e){t._emitError(e)}))},a.prototype.write=function(e){this.emit("data",e)},a.prototype.pause=function(){this.pauseStreams&&(this.pauseStreams&&this._currentStream&&"function"==typeof this._currentStream.pause&&this._currentStream.pause(),this.emit("pause"))},a.prototype.resume=function(){this._released||(this._released=!0,this.writable=!0,this._getNext()),this.pauseStreams&&this._currentStream&&"function"==typeof this._currentStream.resume&&this._currentStream.resume(),this.emit("resume")},a.prototype.end=function(){this._reset(),this.emit("end")},a.prototype.destroy=function(){this._reset(),this.emit("close")},a.prototype._reset=function(){this.writable=!1,this._streams=[],this._currentStream=null},a.prototype._checkDataSize=function(){if(this._updateDataSize(),!(this.dataSize<=this.maxDataSize)){var e="DelayedStream#maxDataSize of "+this.maxDataSize+" bytes exceeded.";this._emitError(new Error(e))}},a.prototype._updateDataSize=function(){this.dataSize=0;var e=this;this._streams.forEach((function(t){t.dataSize&&(e.dataSize+=t.dataSize)})),this._currentStream&&this._currentStream.dataSize&&(this.dataSize+=this._currentStream.dataSize)},a.prototype._emitError=function(e){this._reset(),this.emit("error",e)},Cm}function Gm(){if(Fm)return Im;Fm=1;var e=Am?Om:(Am=1,Om=function(e){var t="function"==typeof setImmediate?setImmediate:"object"==typeof process&&"function"==typeof process.nextTick?process.nextTick:null;t?t(e):setTimeout(e,0)});return Im=function(t){var r=!1;return e((function(){r=!0})),function(a,o){r?t(a,o):e((function(){t(a,o)}))}}}function Qm(){if(Dm)return Rm;function e(e){"function"==typeof this.jobs[e]&&this.jobs[e]()}return Dm=1,Rm=function(t){Object.keys(t.jobs).forEach(e.bind(t)),t.jobs={}}}function Xm(){if(zm)return Nm;zm=1;var e=Gm(),t=Qm();return Nm=function(r,a,o,n){var i=o.keyedList?o.keyedList[o.index]:o.index;o.jobs[i]=function(t,r,a,o){var n;n=2==t.length?t(a,e(o)):t(a,r,e(o));return n}(a,i,r[i],(function(e,r){i in o.jobs&&(delete o.jobs[i],e?t(o):o.results[i]=r,n(e,o.results))}))},Nm}function Wm(){if($m)return Bm;return $m=1,Bm=function(e,t){var r=!Array.isArray(e),a={index:0,keyedList:r||t?Object.keys(e):null,jobs:{},results:r?{}:[],size:r?Object.keys(e).length:e.length};t&&a.keyedList.sort(r?t:function(r,a){return t(e[r],e[a])});return a}}function Ym(){if(qm)return Lm;qm=1;var e=Qm(),t=Gm();return Lm=function(r){if(!Object.keys(this.jobs).length)return;this.index=this.size,e(this),t(r)(null,this.results)}}function Zm(){if(Mm)return Um;Mm=1;var e=Xm(),t=Wm(),r=Ym();return Um=function(a,o,n){var i=t(a);for(;i.index<(i.keyedList||a).length;)e(a,o,i,(function(e,t){e?n(e,t):0!==Object.keys(i.jobs).length||n(null,i.results)})),i.index++;return r.bind(i,n)},Um}var Jm,eh,th,rh,ah,oh,nh,ih,sh,ch={exports:{}};function uh(){if(Jm)return ch.exports;Jm=1;var e=Xm(),t=Wm(),r=Ym();function a(e,t){return e<t?-1:e>t?1:0}return ch.exports=function(a,o,n,i){var s=t(a,n);return e(a,o,s,(function t(r,n){r?i(r,n):(s.index++,s.index<(s.keyedList||a).length?e(a,o,s,t):i(null,s.results))})),r.bind(s,i)},ch.exports.ascending=a,ch.exports.descending=function(e,t){return-1*a(e,t)},ch.exports}function ph(){if(th)return eh;th=1;var e=uh();return eh=function(t,r,a){return e(t,r,null,a)},eh}function lh(){return ah?rh:(ah=1,rh={parallel:Zm(),serial:ph(),serialOrdered:uh()})}function dh(){return nh?oh:(nh=1,oh=function(e,t){return Object.keys(t).forEach((function(r){e[r]=e[r]||t[r]})),e})}function mh(){if(sh)return ih;sh=1;var e=Vm(),t=C.default,r=_.default,a=R.default,o=D.default,n=A.default.parse,i=w.default,s=wm,c=lh(),u=dh();function p(t){if(!(this instanceof p))return new p;for(var r in this._overheadLength=0,this._valueLength=0,this._valuesToMeasure=[],e.call(this),t=t||{})this[r]=t[r]}return ih=p,t.inherits(p,e),p.LINE_BREAK="\r\n",p.DEFAULT_CONTENT_TYPE="application/octet-stream",p.prototype.append=function(r,a,o){"string"==typeof(o=o||{})&&(o={filename:o});var n=e.prototype.append.bind(this);if("number"==typeof a&&(a=""+a),t.isArray(a))this._error(new Error("Arrays are not supported."));else{var i=this._multiPartHeader(r,a,o),s=this._multiPartFooter();n(i),n(a),n(s),this._trackLength(i,a,o)}},p.prototype._trackLength=function(e,t,r){var a=0;null!=r.knownLength?a+=+r.knownLength:Buffer.isBuffer(t)?a=t.length:"string"==typeof t&&(a=Buffer.byteLength(t)),this._valueLength+=a,this._overheadLength+=Buffer.byteLength(e)+p.LINE_BREAK.length,t&&(t.path||t.readable&&t.hasOwnProperty("httpVersion"))&&(r.knownLength||this._valuesToMeasure.push(t))},p.prototype._lengthRetriever=function(e,t){e.hasOwnProperty("fd")?null!=e.end&&e.end!=1/0&&null!=e.start?t(null,e.end+1-(e.start?e.start:0)):i.stat(e.path,(function(r,a){var o;r?t(r):(o=a.size-(e.start?e.start:0),t(null,o))})):e.hasOwnProperty("httpVersion")?t(null,+e.headers["content-length"]):e.hasOwnProperty("httpModule")?(e.on("response",(function(r){e.pause(),t(null,+r.headers["content-length"])})),e.resume()):t("Unknown stream")},p.prototype._multiPartHeader=function(e,t,r){if("string"==typeof r.header)return r.header;var a,o=this._getContentDisposition(t,r),n=this._getContentType(t,r),i="",s={"Content-Disposition":["form-data",'name="'+e+'"'].concat(o||[]),"Content-Type":[].concat(n||[])};for(var c in"object"==typeof r.header&&u(s,r.header),s)s.hasOwnProperty(c)&&null!=(a=s[c])&&(Array.isArray(a)||(a=[a]),a.length&&(i+=c+": "+a.join("; ")+p.LINE_BREAK));return"--"+this.getBoundary()+p.LINE_BREAK+i+p.LINE_BREAK},p.prototype._getContentDisposition=function(e,t){var a,o;return"string"==typeof t.filepath?a=r.normalize(t.filepath).replace(/\\/g,"/"):t.filename||e.name||e.path?a=r.basename(t.filename||e.name||e.path):e.readable&&e.hasOwnProperty("httpVersion")&&(a=r.basename(e.client._httpMessage.path)),a&&(o='filename="'+a+'"'),o},p.prototype._getContentType=function(e,t){var r=t.contentType;return!r&&e.name&&(r=s.lookup(e.name)),!r&&e.path&&(r=s.lookup(e.path)),!r&&e.readable&&e.hasOwnProperty("httpVersion")&&(r=e.headers["content-type"]),r||!t.filepath&&!t.filename||(r=s.lookup(t.filepath||t.filename)),r||"object"!=typeof e||(r=p.DEFAULT_CONTENT_TYPE),r},p.prototype._multiPartFooter=function(){return function(e){var t=p.LINE_BREAK;0===this._streams.length&&(t+=this._lastBoundary()),e(t)}.bind(this)},p.prototype._lastBoundary=function(){return"--"+this.getBoundary()+"--"+p.LINE_BREAK},p.prototype.getHeaders=function(e){var t,r={"content-type":"multipart/form-data; boundary="+this.getBoundary()};for(t in e)e.hasOwnProperty(t)&&(r[t.toLowerCase()]=e[t]);return r},p.prototype.getBoundary=function(){return this._boundary||this._generateBoundary(),this._boundary},p.prototype._generateBoundary=function(){for(var e="--------------------------",t=0;t<24;t++)e+=Math.floor(10*Math.random()).toString(16);this._boundary=e},p.prototype.getLengthSync=function(){var e=this._overheadLength+this._valueLength;return this._streams.length&&(e+=this._lastBoundary().length),this.hasKnownLength()||this._error(new Error("Cannot calculate proper length in synchronous way.")),e},p.prototype.hasKnownLength=function(){var e=!0;return this._valuesToMeasure.length&&(e=!1),e},p.prototype.getLength=function(e){var t=this._overheadLength+this._valueLength;this._streams.length&&(t+=this._lastBoundary().length),this._valuesToMeasure.length?c.parallel(this._valuesToMeasure,this._lengthRetriever,(function(r,a){r?e(r):(a.forEach((function(e){t+=e})),e(null,t))})):process.nextTick(e.bind(this,null,t))},p.prototype.submit=function(e,t){var r,i,s={method:"post"};return"string"==typeof e?(e=n(e),i=u({port:e.port,path:e.pathname,host:e.hostname,protocol:e.protocol},s)):(i=u(e,s)).port||(i.port="https:"==i.protocol?443:80),i.headers=this.getHeaders(e.headers),r="https:"==i.protocol?o.request(i):a.request(i),this.getLength(function(e,a){e?this._error(e):(r.setHeader("Content-Length",a),this.pipe(r),t&&(r.on("error",t),r.on("response",t.bind(this,null))))}.bind(this)),r},p.prototype._error=function(e){this.error||(this.error=e,this.pause(),this.emit("error",e))},p.prototype.toString=function(){return"[object FormData]"},ih}var hh,fh,gh,yh,vh,bh={exports:{}};function kh(){if(hh)return bh.exports;hh=1;var e=N.default;function t(t){return t instanceof e.Stream}function r(e){return t(e)&&"function"==typeof e._read&&"object"==typeof e._readableState}function a(e){return t(e)&&"function"==typeof e._write&&"object"==typeof e._writableState}return bh.exports=t,bh.exports.isReadable=r,bh.exports.isWritable=a,bh.exports.isDuplex=function(e){return r(e)&&a(e)},bh.exports}function wh(){if(vh)return yh;function e(e){return e.replace(/^\.*/,".").toLowerCase()}function t(t){var r=(t=t.trim().toLowerCase()).split(":",2);return{hostname:e(r[0]),port:r[1],hasPort:t.indexOf(":")>-1}}return vh=1,yh=function(r){var a=process.env.NO_PROXY||process.env.no_proxy||"";return"*"===a||""!==a&&function(r,a){var o=r.port||("https:"===r.protocol?"443":"80"),n=e(r.hostname);return a.split(",").map(t).some((function(e){var t=n.indexOf(e.hostname),r=t>-1&&t===n.length-e.hostname.length;return e.hasPort?o===e.port&&r:r}))}(r,a)?null:"http:"===r.protocol?process.env.HTTP_PROXY||process.env.http_proxy||null:"https:"===r.protocol&&(process.env.HTTPS_PROXY||process.env.https_proxy||process.env.HTTP_PROXY||process.env.http_proxy)||null}}var xh,jh,Eh,Sh,_h,Ph,Ch,Th,Oh,Ah,Ih,Fh={};function Rh(){if(jh)return xh;jh=1;var e=Object.prototype.hasOwnProperty,t=function(){for(var e=[],t=0;t<256;++t)e.push("%"+((t<16?"0":"")+t.toString(16)).toUpperCase());return e}(),r=function(e,t){for(var r=t&&t.plainObjects?Object.create(null):{},a=0;a<e.length;++a)void 0!==e[a]&&(r[a]=e[a]);return r};return xh={arrayToObject:r,assign:function(e,t){return Object.keys(t).reduce((function(e,r){return e[r]=t[r],e}),e)},compact:function(e){for(var t=[{obj:{o:e},prop:"o"}],r=[],a=0;a<t.length;++a)for(var o=t[a],n=o.obj[o.prop],i=Object.keys(n),s=0;s<i.length;++s){var c=i[s],u=n[c];"object"==typeof u&&null!==u&&-1===r.indexOf(u)&&(t.push({obj:n,prop:c}),r.push(u))}return function(e){for(var t;e.length;){var r=e.pop();if(t=r.obj[r.prop],Array.isArray(t)){for(var a=[],o=0;o<t.length;++o)void 0!==t[o]&&a.push(t[o]);r.obj[r.prop]=a}}return t}(t)},decode:function(e){try{return decodeURIComponent(e.replace(/\+/g," "))}catch(t){return e}},encode:function(e){if(0===e.length)return e;for(var r="string"==typeof e?e:String(e),a="",o=0;o<r.length;++o){var n=r.charCodeAt(o);45===n||46===n||95===n||126===n||n>=48&&n<=57||n>=65&&n<=90||n>=97&&n<=122?a+=r.charAt(o):n<128?a+=t[n]:n<2048?a+=t[192|n>>6]+t[128|63&n]:n<55296||n>=57344?a+=t[224|n>>12]+t[128|n>>6&63]+t[128|63&n]:(o+=1,n=65536+((1023&n)<<10|1023&r.charCodeAt(o)),a+=t[240|n>>18]+t[128|n>>12&63]+t[128|n>>6&63]+t[128|63&n])}return a},isBuffer:function(e){return null!=e&&!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))},isRegExp:function(e){return"[object RegExp]"===Object.prototype.toString.call(e)},merge:function t(a,o,n){if(!o)return a;if("object"!=typeof o){if(Array.isArray(a))a.push(o);else{if(!a||"object"!=typeof a)return[a,o];(n&&(n.plainObjects||n.allowPrototypes)||!e.call(Object.prototype,o))&&(a[o]=!0)}return a}if(!a||"object"!=typeof a)return[a].concat(o);var i=a;return Array.isArray(a)&&!Array.isArray(o)&&(i=r(a,n)),Array.isArray(a)&&Array.isArray(o)?(o.forEach((function(r,o){if(e.call(a,o)){var i=a[o];i&&"object"==typeof i&&r&&"object"==typeof r?a[o]=t(i,r,n):a.push(r)}else a[o]=r})),a):Object.keys(o).reduce((function(r,a){var i=o[a];return e.call(r,a)?r[a]=t(r[a],i,n):r[a]=i,r}),i)}},xh}function Dh(){if(Sh)return Eh;Sh=1;var e=String.prototype.replace,t=/%20/g;return Eh={default:"RFC3986",formatters:{RFC1738:function(r){return e.call(r,t,"+")},RFC3986:function(e){return String(e)}},RFC1738:"RFC1738",RFC3986:"RFC3986"}}function Nh(){if(Th)return Ch;Th=1;var e=Rh(),t=Object.prototype.hasOwnProperty,r={allowDots:!1,allowPrototypes:!1,arrayLimit:20,decoder:e.decode,delimiter:"&",depth:5,parameterLimit:1e3,plainObjects:!1,strictNullHandling:!1},a=function(e,r,a){if(e){var o=a.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e,n=/(\[[^[\]]*])/g,i=/(\[[^[\]]*])/.exec(o),s=i?o.slice(0,i.index):o,c=[];if(s){if(!a.plainObjects&&t.call(Object.prototype,s)&&!a.allowPrototypes)return;c.push(s)}for(var u=0;null!==(i=n.exec(o))&&u<a.depth;){if(u+=1,!a.plainObjects&&t.call(Object.prototype,i[1].slice(1,-1))&&!a.allowPrototypes)return;c.push(i[1])}return i&&c.push("["+o.slice(i.index)+"]"),function(e,t,r){for(var a=t,o=e.length-1;o>=0;--o){var n,i=e[o];if("[]"===i&&r.parseArrays)n=[].concat(a);else{n=r.plainObjects?Object.create(null):{};var s="["===i.charAt(0)&&"]"===i.charAt(i.length-1)?i.slice(1,-1):i,c=parseInt(s,10);r.parseArrays||""!==s?!isNaN(c)&&i!==s&&String(c)===s&&c>=0&&r.parseArrays&&c<=r.arrayLimit?(n=[])[c]=a:"__proto__"!==s&&(n[s]=a):n={0:a}}a=n}return a}(c,r,a)}};return Ch=function(o,n){var i=n?e.assign({},n):{};if(null!==i.decoder&&void 0!==i.decoder&&"function"!=typeof i.decoder)throw new TypeError("Decoder has to be a function.");if(i.ignoreQueryPrefix=!0===i.ignoreQueryPrefix,i.delimiter="string"==typeof i.delimiter||e.isRegExp(i.delimiter)?i.delimiter:r.delimiter,i.depth="number"==typeof i.depth?i.depth:r.depth,i.arrayLimit="number"==typeof i.arrayLimit?i.arrayLimit:r.arrayLimit,i.parseArrays=!1!==i.parseArrays,i.decoder="function"==typeof i.decoder?i.decoder:r.decoder,i.allowDots="boolean"==typeof i.allowDots?i.allowDots:r.allowDots,i.plainObjects="boolean"==typeof i.plainObjects?i.plainObjects:r.plainObjects,i.allowPrototypes="boolean"==typeof i.allowPrototypes?i.allowPrototypes:r.allowPrototypes,i.parameterLimit="number"==typeof i.parameterLimit?i.parameterLimit:r.parameterLimit,i.strictNullHandling="boolean"==typeof i.strictNullHandling?i.strictNullHandling:r.strictNullHandling,""===o||null==o)return i.plainObjects?Object.create(null):{};for(var s="string"==typeof o?function(e,a){for(var o={},n=a.ignoreQueryPrefix?e.replace(/^\?/,""):e,i=a.parameterLimit===1/0?void 0:a.parameterLimit,s=n.split(a.delimiter,i),c=0;c<s.length;++c){var u,p,l=s[c],d=l.indexOf("]="),m=-1===d?l.indexOf("="):d+1;-1===m?(u=a.decoder(l,r.decoder),p=a.strictNullHandling?null:""):(u=a.decoder(l.slice(0,m),r.decoder),p=a.decoder(l.slice(m+1),r.decoder)),t.call(o,u)?o[u]=[].concat(o[u]).concat(p):o[u]=p}return o}(o,i):o,c=i.plainObjects?Object.create(null):{},u=Object.keys(s),p=0;p<u.length;++p){var l=u[p],d=a(l,s[l],i);c=e.merge(c,d,i)}return e.compact(c)},Ch}function zh(){if(Ah)return Oh;Ah=1;var e=function(){if(Ph)return _h;Ph=1;var e=Rh(),t=Dh(),r={brackets:function(e){return e+"[]"},indices:function(e,t){return e+"["+t+"]"},repeat:function(e){return e}},a=Array.isArray,o=Array.prototype.push,n=function(e,t){o.apply(e,a(t)?t:[t])},i=Date.prototype.toISOString,s={delimiter:"&",encode:!0,encoder:e.encode,encodeValuesOnly:!1,serializeDate:function(e){return i.call(e)},skipNulls:!1,strictNullHandling:!1},c=function t(r,o,i,c,u,p,l,d,m,h,f,g){var y=r;if("function"==typeof l?y=l(o,y):y instanceof Date&&(y=h(y)),null===y){if(c)return p&&!g?p(o,s.encoder):o;y=""}if("string"==typeof y||"number"==typeof y||"boolean"==typeof y||e.isBuffer(y))return p?[f(g?o:p(o,s.encoder))+"="+f(p(y,s.encoder))]:[f(o)+"="+f(String(y))];var v,b=[];if(void 0===y)return b;if(a(l))v=l;else{var k=Object.keys(y);v=d?k.sort(d):k}for(var w=0;w<v.length;++w){var x=v[w];u&&null===y[x]||(a(y)?n(b,t(y[x],i(o,x),i,c,u,p,l,d,m,h,f,g)):n(b,t(y[x],o+(m?"."+x:"["+x+"]"),i,c,u,p,l,d,m,h,f,g)))}return b};return _h=function(o,i){var u=o,p=i?e.assign({},i):{};if(null!==p.encoder&&void 0!==p.encoder&&"function"!=typeof p.encoder)throw new TypeError("Encoder has to be a function.");var l=void 0===p.delimiter?s.delimiter:p.delimiter,d="boolean"==typeof p.strictNullHandling?p.strictNullHandling:s.strictNullHandling,m="boolean"==typeof p.skipNulls?p.skipNulls:s.skipNulls,h="boolean"==typeof p.encode?p.encode:s.encode,f="function"==typeof p.encoder?p.encoder:s.encoder,g="function"==typeof p.sort?p.sort:null,y=void 0!==p.allowDots&&p.allowDots,v="function"==typeof p.serializeDate?p.serializeDate:s.serializeDate,b="boolean"==typeof p.encodeValuesOnly?p.encodeValuesOnly:s.encodeValuesOnly;if(void 0===p.format)p.format=t.default;else if(!Object.prototype.hasOwnProperty.call(t.formatters,p.format))throw new TypeError("Unknown format option provided.");var k,w,x=t.formatters[p.format];"function"==typeof p.filter?u=(w=p.filter)("",u):a(p.filter)&&(k=w=p.filter);var j,E=[];if("object"!=typeof u||null===u)return"";j=p.arrayFormat in r?p.arrayFormat:"indices"in p?p.indices?"indices":"repeat":"indices";var S=r[j];k||(k=Object.keys(u)),g&&k.sort(g);for(var _=0;_<k.length;++_){var P=k[_];m&&null===u[P]||n(E,c(u[P],P,S,d,m,h?f:null,w,g,y,v,x,b))}var C=E.join(l),T=!0===p.addQueryPrefix?"?":"";return C.length>0?T+C:""},_h}(),t=Nh(),r=Dh();return Oh={formats:r,parse:t,stringify:e}}var Bh,$h,Lh,qh,Uh,Mh,Hh={},Kh={};function Vh(){if(qh)return Lh;function e(e,t,r,a){var o=a?" !== ":" === ",n=a?" || ":" && ",i=a?"!":"",s=a?"":"!";switch(e){case"null":return t+o+"null";case"array":return i+"Array.isArray("+t+")";case"object":return"("+i+t+n+"typeof "+t+o+'"object"'+n+s+"Array.isArray("+t+"))";case"integer":return"(typeof "+t+o+'"number"'+n+s+"("+t+" % 1)"+n+t+o+t+(r?n+i+"isFinite("+t+")":"")+")";case"number":return"(typeof "+t+o+'"'+e+'"'+(r?n+i+"isFinite("+t+")":"")+")";default:return"typeof "+t+o+'"'+e+'"'}}qh=1,Lh={copy:function(e,t){for(var r in t=t||{},e)t[r]=e[r];return t},checkDataType:e,checkDataTypes:function(t,a,o){if(1===t.length)return e(t[0],a,o,!0);var n="",i=r(t);for(var s in i.array&&i.object&&(n=i.null?"(":"(!"+a+" || ",n+="typeof "+a+' !== "object")',delete i.null,delete i.array,delete i.object),i.number&&delete i.integer,i)n+=(n?" && ":"")+e(s,a,o,!0);return n},coerceToTypes:function(e,r){if(Array.isArray(r)){for(var a=[],o=0;o<r.length;o++){var n=r[o];(t[n]||"array"===e&&"array"===n)&&(a[a.length]=n)}if(a.length)return a}else{if(t[r])return[r];if("array"===e&&"array"===r)return["array"]}},toHash:r,getProperty:n,escapeQuotes:i,equal:vo(),ucs2length:$h?Bh:($h=1,Bh=function(e){for(var t,r=0,a=e.length,o=0;o<a;)r++,(t=e.charCodeAt(o++))>=55296&&t<=56319&&o<a&&56320==(64512&(t=e.charCodeAt(o)))&&o++;return r}),varOccurences:function(e,t){t+="[^0-9]";var r=e.match(new RegExp(t,"g"));return r?r.length:0},varReplace:function(e,t,r){return t+="([^0-9])",r=r.replace(/\$/g,"$$$$"),e.replace(new RegExp(t,"g"),r+"$1")},schemaHasRules:function(e,t){if("boolean"==typeof e)return!e;for(var r in e)if(t[r])return!0},schemaHasRulesExcept:function(e,t,r){if("boolean"==typeof e)return!e&&"not"!=r;for(var a in e)if(a!=r&&t[a])return!0},schemaUnknownRules:function(e,t){if("boolean"==typeof e)return;for(var r in e)if(!t[r])return r},toQuotedString:s,getPathExpr:function(e,t,r,a){return p(e,r?"'/' + "+t+(a?"":".replace(/~/g, '~0').replace(/\\//g, '~1')"):a?"'[' + "+t+" + ']'":"'[\\'' + "+t+" + '\\']'")},getPath:function(e,t,r){var a=s(r?"/"+l(t):n(t));return p(e,a)},getData:function(e,t,r){var a,o,i,s;if(""===e)return"rootData";if("/"==e[0]){if(!c.test(e))throw new Error("Invalid JSON-pointer: "+e);o=e,i="rootData"}else{if(!(s=e.match(u)))throw new Error("Invalid JSON-pointer: "+e);if(a=+s[1],"#"==(o=s[2])){if(a>=t)throw new Error("Cannot access property/index "+a+" levels up, current level is "+t);return r[t-a]}if(a>t)throw new Error("Cannot access data "+a+" levels up, current level is "+t);if(i="data"+(t-a||""),!o)return i}for(var p=i,l=o.split("/"),m=0;m<l.length;m++){var h=l[m];h&&(i+=n(d(h)),p+=" && "+i)}return p},unescapeFragment:function(e){return d(decodeURIComponent(e))},unescapeJsonPointer:d,escapeFragment:function(e){return encodeURIComponent(l(e))},escapeJsonPointer:l};var t=r(["string","number","integer","boolean","null"]);function r(e){for(var t={},r=0;r<e.length;r++)t[e[r]]=!0;return t}var a=/^[a-z$_][a-z$_0-9]*$/i,o=/'|\\/g;function n(e){return"number"==typeof e?"["+e+"]":a.test(e)?"."+e:"['"+i(e)+"']"}function i(e){return e.replace(o,"\\$&").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\f/g,"\\f").replace(/\t/g,"\\t")}function s(e){return"'"+i(e)+"'"}var c=/^\/(?:[^~]|~0|~1)*$/,u=/^([0-9]+)(#|\/(?:[^~]|~0|~1)*)?$/;function p(e,t){return'""'==e?t:(e+" + "+t).replace(/([^\\])' \+ '/g,"$1")}function l(e){return e.replace(/~/g,"~0").replace(/\//g,"~1")}function d(e){return e.replace(/~1/g,"/").replace(/~0/g,"~")}return Lh}function Gh(){if(Mh)return Uh;Mh=1;var e=Vh();return Uh=function(t){e.copy(t,this)}}var Qh,Xh,Wh,Yh,Zh,Jh,ef,tf,rf,af,of,nf={exports:{}};function sf(){if(Qh)return nf.exports;Qh=1;var e=nf.exports=function(e,r,a){"function"==typeof r&&(a=r,r={}),t(r,"function"==typeof(a=r.cb||a)?a:a.pre||function(){},a.post||function(){},e,"",e)};function t(r,a,o,n,i,s,c,u,p,l){if(n&&"object"==typeof n&&!Array.isArray(n)){for(var d in a(n,i,s,c,u,p,l),n){var m=n[d];if(Array.isArray(m)){if(d in e.arrayKeywords)for(var h=0;h<m.length;h++)t(r,a,o,m[h],i+"/"+d+"/"+h,s,i,d,n,h)}else if(d in e.propsKeywords){if(m&&"object"==typeof m)for(var f in m)t(r,a,o,m[f],i+"/"+d+"/"+f.replace(/~/g,"~0").replace(/\//g,"~1"),s,i,d,n,f)}else(d in e.keywords||r.allKeys&&!(d in e.skipKeywords))&&t(r,a,o,m,i+"/"+d,s,i,d,n)}o(n,i,s,c,u,p,l)}}return e.keywords={additionalItems:!0,items:!0,contains:!0,additionalProperties:!0,propertyNames:!0,not:!0},e.arrayKeywords={items:!0,allOf:!0,anyOf:!0,oneOf:!0},e.propsKeywords={definitions:!0,properties:!0,patternProperties:!0,dependencies:!0},e.skipKeywords={default:!0,enum:!0,const:!0,required:!0,maximum:!0,minimum:!0,exclusiveMaximum:!0,exclusiveMinimum:!0,multipleOf:!0,maxLength:!0,minLength:!0,pattern:!0,format:!0,maxItems:!0,minItems:!0,uniqueItems:!0,maxProperties:!0,minProperties:!0},nf.exports}function cf(){if(Wh)return Xh;Wh=1;var e=To(),t=vo(),r=Vh(),a=Gh(),o=sf();function n(e,t,r){var o=this._refs[r];if("string"==typeof o){if(!this._refs[o])return n.call(this,e,t,o);o=this._refs[o]}if((o=o||this._schemas[r])instanceof a)return l(o.schema,this._opts.inlineRefs)?o.schema:o.validate||this._compile(o);var s,c,u,p=i.call(this,t,r);return p&&(s=p.schema,t=p.root,u=p.baseId),s instanceof a?c=s.validate||e.call(this,s.schema,t,void 0,u):void 0!==s&&(c=l(s,this._opts.inlineRefs)?s:e.call(this,s,t,void 0,u)),c}function i(t,r){var o=e.parse(r),n=f(o),i=h(this._getId(t.schema));if(0===Object.keys(t.schema).length||n!==i){var c=y(n),p=this._refs[c];if("string"==typeof p)return s.call(this,t,p,o);if(p instanceof a)p.validate||this._compile(p),t=p;else{if(!((p=this._schemas[c])instanceof a))return;if(p.validate||this._compile(p),c==y(r))return{schema:p,root:t,baseId:i};t=p}if(!t.schema)return;i=h(this._getId(t.schema))}return u.call(this,o,i,t.schema,t)}function s(e,t,r){var a=i.call(this,e,t);if(a){var o=a.schema,n=a.baseId;e=a.root;var s=this._getId(o);return s&&(n=v(n,s)),u.call(this,r,n,o,e)}}Xh=n,n.normalizeId=y,n.fullPath=h,n.url=v,n.ids=function(a){var n=y(this._getId(a)),i={"":n},s={"":h(n,!1)},c={},u=this;return o(a,{allKeys:!0},(function(a,o,n,p,l,d,m){if(""!==o){var h=u._getId(a),f=i[p],g=s[p]+"/"+l;if(void 0!==m&&(g+="/"+("number"==typeof m?m:r.escapeFragment(m))),"string"==typeof h){h=f=y(f?e.resolve(f,h):h);var v=u._refs[h];if("string"==typeof v&&(v=u._refs[v]),v&&v.schema){if(!t(a,v.schema))throw new Error('id "'+h+'" resolves to more than one schema')}else if(h!=y(g))if("#"==h[0]){if(c[h]&&!t(a,c[h]))throw new Error('id "'+h+'" resolves to more than one schema');c[h]=a}else u._refs[h]=g}i[o]=f,s[o]=g}})),c},n.inlineRef=l,n.schema=i;var c=r.toHash(["properties","patternProperties","enum","dependencies","definitions"]);function u(e,t,a,o){if(e.fragment=e.fragment||"","/"==e.fragment.slice(0,1)){for(var n=e.fragment.split("/"),s=1;s<n.length;s++){var u=n[s];if(u){if(void 0===(a=a[u=r.unescapeFragment(u)]))break;var p;if(!c[u]&&((p=this._getId(a))&&(t=v(t,p)),a.$ref)){var l=v(t,a.$ref),d=i.call(this,o,l);d&&(a=d.schema,o=d.root,t=d.baseId)}}}return void 0!==a&&a!==o.schema?{schema:a,root:o,baseId:t}:void 0}}var p=r.toHash(["type","format","pattern","maxLength","minLength","maxProperties","minProperties","maxItems","minItems","maximum","minimum","uniqueItems","multipleOf","required","enum"]);function l(e,t){return!1!==t&&(void 0===t||!0===t?d(e):t?m(e)<=t:void 0)}function d(e){var t;if(Array.isArray(e)){for(var r=0;r<e.length;r++)if("object"==typeof(t=e[r])&&!d(t))return!1}else for(var a in e){if("$ref"==a)return!1;if("object"==typeof(t=e[a])&&!d(t))return!1}return!0}function m(e){var t,r=0;if(Array.isArray(e)){for(var a=0;a<e.length;a++)if("object"==typeof(t=e[a])&&(r+=m(t)),r==1/0)return 1/0}else for(var o in e){if("$ref"==o)return 1/0;if(p[o])r++;else if("object"==typeof(t=e[o])&&(r+=m(t)+1),r==1/0)return 1/0}return r}function h(t,r){return!1!==r&&(t=y(t)),f(e.parse(t))}function f(t){return e.serialize(t).split("#")[0]+"#"}var g=/#\/?$/;function y(e){return e?e.replace(g,""):""}function v(t,r){return r=y(r),e.resolve(t,r)}return Xh}function uf(){if(Zh)return Yh;Zh=1;var e=cf();function t(r,a,o){this.message=o||t.message(r,a),this.missingRef=e.url(r,a),this.missingSchema=e.normalizeId(e.fullPath(this.missingRef))}function r(e){return e.prototype=Object.create(Error.prototype),e.prototype.constructor=e,e}return Yh={Validation:r((function(e){this.message="validation failed",this.errors=e,this.ajv=this.validation=!0})),MissingRef:r(t)},t.message=function(e,t){return"can't resolve reference "+t+" from id "+e},Yh}function pf(){return ef||(ef=1,Jh=function(e,t){t||(t={}),"function"==typeof t&&(t={cmp:t});var r,a="boolean"==typeof t.cycles&&t.cycles,o=t.cmp&&(r=t.cmp,function(e){return function(t,a){var o={key:t,value:e[t]},n={key:a,value:e[a]};return r(o,n)}}),n=[];return function e(t){if(t&&t.toJSON&&"function"==typeof t.toJSON&&(t=t.toJSON()),void 0!==t){if("number"==typeof t)return isFinite(t)?""+t:"null";if("object"!=typeof t)return JSON.stringify(t);var r,i;if(Array.isArray(t)){for(i="[",r=0;r<t.length;r++)r&&(i+=","),i+=e(t[r])||"null";return i+"]"}if(null===t)return"null";if(-1!==n.indexOf(t)){if(a)return JSON.stringify("__cycle__");throw new TypeError("Converting circular structure to JSON")}var s=n.push(t)-1,c=Object.keys(t).sort(o&&o(t));for(i="",r=0;r<c.length;r++){var u=c[r],p=e(t[u]);p&&(i&&(i+=","),i+=JSON.stringify(u)+":"+p)}return n.splice(s,1),"{"+i+"}"}}(e)}),Jh}function lf(){return rf||(rf=1,tf=function(e,t,r){var a="",o=!0===e.schema.$async,n=e.util.schemaHasRulesExcept(e.schema,e.RULES.all,"$ref"),i=e.self._getId(e.schema);if(e.opts.strictKeywords){var s=e.util.schemaUnknownRules(e.schema,e.RULES.keywords);if(s){var c="unknown keyword: "+s;if("log"!==e.opts.strictKeywords)throw new Error(c);e.logger.warn(c)}}if(e.isTop&&(a+=" var validate = ",o&&(e.async=!0,a+="async "),a+="function(data, dataPath, parentData, parentDataProperty, rootData) { 'use strict'; ",i&&(e.opts.sourceCode||e.opts.processCode)&&(a+=" /*# sourceURL="+i+" */ ")),"boolean"==typeof e.schema||!n&&!e.schema.$ref){t="false schema";var u=e.level,p=e.dataLevel,l=e.schema[t],d=e.schemaPath+e.util.getProperty(t),m=e.errSchemaPath+"/"+t,h=!e.opts.allErrors,f="data"+(p||""),g="valid"+u;if(!1===e.schema){e.isTop?h=!0:a+=" var "+g+" = false; ",(W=W||[]).push(a),a="",!1!==e.createErrors?(a+=" { keyword: 'false schema' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(m)+" , params: {} ",!1!==e.opts.messages&&(a+=" , message: 'boolean schema is false' "),e.opts.verbose&&(a+=" , schema: false , parentSchema: validate.schema"+e.schemaPath+" , data: "+f+" "),a+=" } "):a+=" {} ";var y=a;a=W.pop(),!e.compositeRule&&h?e.async?a+=" throw new ValidationError(["+y+"]); ":a+=" validate.errors = ["+y+"]; return false; ":a+=" var err = "+y+";  if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}else e.isTop?a+=o?" return data; ":" validate.errors = null; return true; ":a+=" var "+g+" = true; ";return e.isTop&&(a+=" }; return validate; "),a}if(e.isTop){var v=e.isTop;u=e.level=0,p=e.dataLevel=0,f="data";if(e.rootId=e.resolve.fullPath(e.self._getId(e.root.schema)),e.baseId=e.baseId||e.rootId,delete e.isTop,e.dataPathArr=[""],void 0!==e.schema.default&&e.opts.useDefaults&&e.opts.strictDefaults){var b="default is ignored in the schema root";if("log"!==e.opts.strictDefaults)throw new Error(b);e.logger.warn(b)}a+=" var vErrors = null; ",a+=" var errors = 0;     ",a+=" if (rootData === undefined) rootData = data; "}else{u=e.level,f="data"+((p=e.dataLevel)||"");if(i&&(e.baseId=e.resolve.url(e.baseId,i)),o&&!e.async)throw new Error("async schema in sync schema");a+=" var errs_"+u+" = errors;"}g="valid"+u,h=!e.opts.allErrors;var k="",w="",x=e.schema.type,j=Array.isArray(x);if(x&&e.opts.nullable&&!0===e.schema.nullable&&(j?-1==x.indexOf("null")&&(x=x.concat("null")):"null"!=x&&(x=[x,"null"],j=!0)),j&&1==x.length&&(x=x[0],j=!1),e.schema.$ref&&n){if("fail"==e.opts.extendRefs)throw new Error('$ref: validation keywords used in schema at path "'+e.errSchemaPath+'" (see option extendRefs)');!0!==e.opts.extendRefs&&(n=!1,e.logger.warn('$ref: keywords ignored in schema at path "'+e.errSchemaPath+'"'))}if(e.schema.$comment&&e.opts.$comment&&(a+=" "+e.RULES.all.$comment.code(e,"$comment")),x){if(e.opts.coerceTypes)var E=e.util.coerceToTypes(e.opts.coerceTypes,x);var S=e.RULES.types[x];if(E||j||!0===S||S&&!Y(S)){d=e.schemaPath+".type",m=e.errSchemaPath+"/type",d=e.schemaPath+".type",m=e.errSchemaPath+"/type";var _=j?"checkDataTypes":"checkDataType";if(a+=" if ("+e.util[_](x,f,e.opts.strictNumbers,!0)+") { ",E){var P="dataType"+u,C="coerced"+u;a+=" var "+P+" = typeof "+f+"; var "+C+" = undefined; ","array"==e.opts.coerceTypes&&(a+=" if ("+P+" == 'object' && Array.isArray("+f+") && "+f+".length == 1) { "+f+" = "+f+"[0]; "+P+" = typeof "+f+"; if ("+e.util.checkDataType(e.schema.type,f,e.opts.strictNumbers)+") "+C+" = "+f+"; } "),a+=" if ("+C+" !== undefined) ; ";var T=E;if(T)for(var O,A=-1,I=T.length-1;A<I;)"string"==(O=T[A+=1])?a+=" else if ("+P+" == 'number' || "+P+" == 'boolean') "+C+" = '' + "+f+"; else if ("+f+" === null) "+C+" = ''; ":"number"==O||"integer"==O?(a+=" else if ("+P+" == 'boolean' || "+f+" === null || ("+P+" == 'string' && "+f+" && "+f+" == +"+f+" ","integer"==O&&(a+=" && !("+f+" % 1)"),a+=")) "+C+" = +"+f+"; "):"boolean"==O?a+=" else if ("+f+" === 'false' || "+f+" === 0 || "+f+" === null) "+C+" = false; else if ("+f+" === 'true' || "+f+" === 1) "+C+" = true; ":"null"==O?a+=" else if ("+f+" === '' || "+f+" === 0 || "+f+" === false) "+C+" = null; ":"array"==e.opts.coerceTypes&&"array"==O&&(a+=" else if ("+P+" == 'string' || "+P+" == 'number' || "+P+" == 'boolean' || "+f+" == null) "+C+" = ["+f+"]; ");a+=" else {   ",(W=W||[]).push(a),a="",!1!==e.createErrors?(a+=" { keyword: 'type' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(m)+" , params: { type: '",a+=j?""+x.join(","):""+x,a+="' } ",!1!==e.opts.messages&&(a+=" , message: 'should be ",a+=j?""+x.join(","):""+x,a+="' "),e.opts.verbose&&(a+=" , schema: validate.schema"+d+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+f+" "),a+=" } "):a+=" {} ";y=a;a=W.pop(),!e.compositeRule&&h?e.async?a+=" throw new ValidationError(["+y+"]); ":a+=" validate.errors = ["+y+"]; return false; ":a+=" var err = "+y+";  if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",a+=" } if ("+C+" !== undefined) {  ";var F=p?"data"+(p-1||""):"parentData";a+=" "+f+" = "+C+"; ",p||(a+="if ("+F+" !== undefined)"),a+=" "+F+"["+(p?e.dataPathArr[p]:"parentDataProperty")+"] = "+C+"; } "}else{(W=W||[]).push(a),a="",!1!==e.createErrors?(a+=" { keyword: 'type' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(m)+" , params: { type: '",a+=j?""+x.join(","):""+x,a+="' } ",!1!==e.opts.messages&&(a+=" , message: 'should be ",a+=j?""+x.join(","):""+x,a+="' "),e.opts.verbose&&(a+=" , schema: validate.schema"+d+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+f+" "),a+=" } "):a+=" {} ";y=a;a=W.pop(),!e.compositeRule&&h?e.async?a+=" throw new ValidationError(["+y+"]); ":a+=" validate.errors = ["+y+"]; return false; ":a+=" var err = "+y+";  if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}a+=" } "}}if(e.schema.$ref&&!n)a+=" "+e.RULES.all.$ref.code(e,"$ref")+" ",h&&(a+=" } if (errors === ",a+=v?"0":"errs_"+u,a+=") { ",w+="}");else{var R=e.RULES;if(R)for(var D=-1,N=R.length-1;D<N;)if(Y(S=R[D+=1])){if(S.type&&(a+=" if ("+e.util.checkDataType(S.type,f,e.opts.strictNumbers)+") { "),e.opts.useDefaults)if("object"==S.type&&e.schema.properties){l=e.schema.properties;var z=Object.keys(l);if(z)for(var B,$=-1,L=z.length-1;$<L;){if(void 0!==(M=l[B=z[$+=1]]).default){var q=f+e.util.getProperty(B);if(e.compositeRule){if(e.opts.strictDefaults){b="default is ignored for: "+q;if("log"!==e.opts.strictDefaults)throw new Error(b);e.logger.warn(b)}}else a+=" if ("+q+" === undefined ","empty"==e.opts.useDefaults&&(a+=" || "+q+" === null || "+q+" === '' "),a+=" ) "+q+" = ","shared"==e.opts.useDefaults?a+=" "+e.useDefault(M.default)+" ":a+=" "+JSON.stringify(M.default)+" ",a+="; "}}}else if("array"==S.type&&Array.isArray(e.schema.items)){var U=e.schema.items;if(U){A=-1;for(var M,H=U.length-1;A<H;)if(void 0!==(M=U[A+=1]).default){q=f+"["+A+"]";if(e.compositeRule){if(e.opts.strictDefaults){b="default is ignored for: "+q;if("log"!==e.opts.strictDefaults)throw new Error(b);e.logger.warn(b)}}else a+=" if ("+q+" === undefined ","empty"==e.opts.useDefaults&&(a+=" || "+q+" === null || "+q+" === '' "),a+=" ) "+q+" = ","shared"==e.opts.useDefaults?a+=" "+e.useDefault(M.default)+" ":a+=" "+JSON.stringify(M.default)+" ",a+="; "}}}var K=S.rules;if(K)for(var V,G=-1,Q=K.length-1;G<Q;)if(Z(V=K[G+=1])){var X=V.code(e,V.keyword,S.type);X&&(a+=" "+X+" ",h&&(k+="}"))}if(h&&(a+=" "+k+" ",k=""),S.type&&(a+=" } ",x&&x===S.type&&!E)){a+=" else { ";var W;d=e.schemaPath+".type",m=e.errSchemaPath+"/type";(W=W||[]).push(a),a="",!1!==e.createErrors?(a+=" { keyword: 'type' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(m)+" , params: { type: '",a+=j?""+x.join(","):""+x,a+="' } ",!1!==e.opts.messages&&(a+=" , message: 'should be ",a+=j?""+x.join(","):""+x,a+="' "),e.opts.verbose&&(a+=" , schema: validate.schema"+d+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+f+" "),a+=" } "):a+=" {} ";y=a;a=W.pop(),!e.compositeRule&&h?e.async?a+=" throw new ValidationError(["+y+"]); ":a+=" validate.errors = ["+y+"]; return false; ":a+=" var err = "+y+";  if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",a+=" } "}h&&(a+=" if (errors === ",a+=v?"0":"errs_"+u,a+=") { ",w+="}")}}function Y(e){for(var t=e.rules,r=0;r<t.length;r++)if(Z(t[r]))return!0}function Z(t){return void 0!==e.schema[t.keyword]||t.implements&&function(t){for(var r=t.implements,a=0;a<r.length;a++)if(void 0!==e.schema[r[a]])return!0}(t)}return h&&(a+=" "+w+" "),v?(o?(a+=" if (errors === 0) return data;           ",a+=" else throw new ValidationError(vErrors); "):(a+=" validate.errors = vErrors; ",a+=" return errors === 0;       "),a+=" }; return validate;"):a+=" var "+g+" = errors === errs_"+u+";",a}),tf}function df(){if(of)return af;of=1;var e=cf(),t=Vh(),r=uf(),a=pf(),o=lf(),n=t.ucs2length,i=vo(),s=r.Validation;function c(e,t,r){var a=p.call(this,e,t,r);return a>=0?{index:a,compiling:!0}:(a=this._compilations.length,this._compilations[a]={schema:e,root:t,baseId:r},{index:a,compiling:!1})}function u(e,t,r){var a=p.call(this,e,t,r);a>=0&&this._compilations.splice(a,1)}function p(e,t,r){for(var a=0;a<this._compilations.length;a++){var o=this._compilations[a];if(o.schema==e&&o.root==t&&o.baseId==r)return a}return-1}function l(e,r){return"var pattern"+e+" = new RegExp("+t.toQuotedString(r[e])+");"}function d(e){return"var default"+e+" = defaults["+e+"];"}function m(e,t){return void 0===t[e]?"":"var refVal"+e+" = refVal["+e+"];"}function h(e){return"var customRule"+e+" = customRules["+e+"];"}function f(e,t){if(!e.length)return"";for(var r="",a=0;a<e.length;a++)r+=t(a,e);return r}return af=function p(g,y,v,b){var k=this,w=this._opts,x=[void 0],j={},E=[],S={},_=[],P={},C=[];y=y||{schema:g,refVal:x,refs:j};var T=c.call(this,g,y,b),O=this._compilations[T.index];if(T.compiling)return O.callValidate=function e(){var t=O.validate,r=t.apply(this,arguments);return e.errors=t.errors,r};var A=this._formats,I=this.RULES;try{var F=D(g,y,v,b);O.validate=F;var R=O.callValidate;return R&&(R.schema=F.schema,R.errors=null,R.refs=F.refs,R.refVal=F.refVal,R.root=F.root,R.$async=F.$async,w.sourceCode&&(R.source=F.source)),F}finally{u.call(this,g,y,b)}function D(a,c,u,g){var v=!c||c&&c.schema==a;if(c.schema!=y.schema)return p.call(k,a,c,u,g);var b,S=!0===a.$async,P=o({isTop:!0,schema:a,isRoot:v,baseId:g,root:c,schemaPath:"",errSchemaPath:"#",errorPath:'""',MissingRefError:r.MissingRef,RULES:I,validate:o,util:t,resolve:e,resolveRef:N,usePattern:$,useDefault:L,useCustomRule:q,opts:w,formats:A,logger:k.logger,self:k});P=f(x,m)+f(E,l)+f(_,d)+f(C,h)+P,w.processCode&&(P=w.processCode(P,a));try{b=new Function("self","RULES","formats","root","refVal","defaults","customRules","equal","ucs2length","ValidationError",P)(k,I,A,y,x,_,C,i,n,s),x[0]=b}catch(e){throw k.logger.error("Error compiling schema, function code:",P),e}return b.schema=a,b.errors=null,b.refs=j,b.refVal=x,b.root=v?b:c,S&&(b.$async=!0),!0===w.sourceCode&&(b.source={code:P,patterns:E,defaults:_}),b}function N(t,r,a){r=e.url(t,r);var o,n,i=j[r];if(void 0!==i)return B(o=x[i],n="refVal["+i+"]");if(!a&&y.refs){var s=y.refs[r];if(void 0!==s)return B(o=y.refVal[s],n=z(r,o))}n=z(r);var c=e.call(k,D,y,r);if(void 0===c){var u=v&&v[r];u&&(c=e.inlineRef(u,w.inlineRefs)?u:p.call(k,u,y,v,t))}if(void 0!==c)return function(e,t){var r=j[e];x[r]=t}(r,c),B(c,n);!function(e){delete j[e]}(r)}function z(e,t){var r=x.length;return x[r]=t,j[e]=r,"refVal"+r}function B(e,t){return"object"==typeof e||"boolean"==typeof e?{code:t,schema:e,inline:!0}:{code:t,$async:e&&!!e.$async}}function $(e){var t=S[e];return void 0===t&&(t=S[e]=E.length,E[t]=e),"pattern"+t}function L(e){switch(typeof e){case"boolean":case"number":return""+e;case"string":return t.toQuotedString(e);case"object":if(null===e)return"null";var r=a(e),o=P[r];return void 0===o&&(o=P[r]=_.length,_[o]=e),"default"+o}}function q(e,t,r,a){if(!1!==k._opts.validateSchema){var o=e.definition.dependencies;if(o&&!o.every((function(e){return Object.prototype.hasOwnProperty.call(r,e)})))throw new Error("parent schema must have all required keywords: "+o.join(","));var n=e.definition.validateSchema;if(n)if(!n(t)){var i="keyword schema is invalid: "+k.errorsText(n.errors);if("log"!=k._opts.validateSchema)throw new Error(i);k.logger.error(i)}}var s,c=e.definition.compile,u=e.definition.inline,p=e.definition.macro;if(c)s=c.call(k,t,r,a);else if(p)s=p.call(k,t,r,a),!1!==w.validateSchema&&k.validateSchema(s,!0);else if(u)s=u.call(k,a,e.keyword,t,r);else if(!(s=e.definition.validate))return;if(void 0===s)throw new Error('custom keyword "'+e.keyword+'"failed to compile');var l=C.length;return C[l]=s,{code:"customRule"+l,validate:s}}},af}var mf,hf,ff,gf,yf,vf,bf,kf,wf,xf,jf,Ef,Sf,_f,Pf,Cf,Tf,Of,Af,If,Ff,Rf,Df,Nf,zf,Bf,$f,Lf,qf,Uf,Mf,Hf,Kf,Vf,Gf,Qf,Xf,Wf,Yf,Zf,Jf,eg,tg,rg,ag,og,ng,ig,sg,cg,ug,pg,lg,dg,mg,hg,fg,gg,yg,vg={exports:{}};function bg(){return $f||($f=1,Bf=function(e,t,r){var a,o=" ",n=e.level,i=e.dataLevel,s=e.schema[t],c=e.schemaPath+e.util.getProperty(t),u=e.errSchemaPath+"/"+t,p=!e.opts.allErrors,l="data"+(i||""),d=e.opts.$data&&s&&s.$data;d?(o+=" var schema"+n+" = "+e.util.getData(s.$data,i,e.dataPathArr)+"; ",a="schema"+n):a=s;var m="maximum"==t,h=m?"exclusiveMaximum":"exclusiveMinimum",f=e.schema[h],g=e.opts.$data&&f&&f.$data,y=m?"<":">",v=m?">":"<",b=void 0;if(!d&&"number"!=typeof s&&void 0!==s)throw new Error(t+" must be number");if(!g&&void 0!==f&&"number"!=typeof f&&"boolean"!=typeof f)throw new Error(h+" must be number or boolean");if(g){var k=e.util.getData(f.$data,i,e.dataPathArr),w="exclusive"+n,x="exclType"+n,j="exclIsNumber"+n,E="' + "+(P="op"+n)+" + '";o+=" var schemaExcl"+n+" = "+k+"; ",o+=" var "+w+"; var "+x+" = typeof "+(k="schemaExcl"+n)+"; if ("+x+" != 'boolean' && "+x+" != 'undefined' && "+x+" != 'number') { ";var S;b=h;(S=S||[]).push(o),o="",!1!==e.createErrors?(o+=" { keyword: '"+(b||"_exclusiveLimit")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: {} ",!1!==e.opts.messages&&(o+=" , message: '"+h+" should be boolean' "),e.opts.verbose&&(o+=" , schema: validate.schema"+c+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+l+" "),o+=" } "):o+=" {} ";var _=o;o=S.pop(),!e.compositeRule&&p?e.async?o+=" throw new ValidationError(["+_+"]); ":o+=" validate.errors = ["+_+"]; return false; ":o+=" var err = "+_+";  if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",o+=" } else if ( ",d&&(o+=" ("+a+" !== undefined && typeof "+a+" != 'number') || "),o+=" "+x+" == 'number' ? ( ("+w+" = "+a+" === undefined || "+k+" "+y+"= "+a+") ? "+l+" "+v+"= "+k+" : "+l+" "+v+" "+a+" ) : ( ("+w+" = "+k+" === true) ? "+l+" "+v+"= "+a+" : "+l+" "+v+" "+a+" ) || "+l+" !== "+l+") { var op"+n+" = "+w+" ? '"+y+"' : '"+y+"='; ",void 0===s&&(b=h,u=e.errSchemaPath+"/"+h,a=k,d=g)}else{E=y;if((j="number"==typeof f)&&d){var P="'"+E+"'";o+=" if ( ",d&&(o+=" ("+a+" !== undefined && typeof "+a+" != 'number') || "),o+=" ( "+a+" === undefined || "+f+" "+y+"= "+a+" ? "+l+" "+v+"= "+f+" : "+l+" "+v+" "+a+" ) || "+l+" !== "+l+") { "}else{j&&void 0===s?(w=!0,b=h,u=e.errSchemaPath+"/"+h,a=f,v+="="):(j&&(a=Math[m?"min":"max"](f,s)),f===(!j||a)?(w=!0,b=h,u=e.errSchemaPath+"/"+h,v+="="):(w=!1,E+="="));P="'"+E+"'";o+=" if ( ",d&&(o+=" ("+a+" !== undefined && typeof "+a+" != 'number') || "),o+=" "+l+" "+v+" "+a+" || "+l+" !== "+l+") { "}}b=b||t,(S=S||[]).push(o),o="",!1!==e.createErrors?(o+=" { keyword: '"+(b||"_limit")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { comparison: "+P+", limit: "+a+", exclusive: "+w+" } ",!1!==e.opts.messages&&(o+=" , message: 'should be "+E+" ",o+=d?"' + "+a:a+"'"),e.opts.verbose&&(o+=" , schema:  ",o+=d?"validate.schema"+c:""+s,o+="         , parentSchema: validate.schema"+e.schemaPath+" , data: "+l+" "),o+=" } "):o+=" {} ";_=o;return o=S.pop(),!e.compositeRule&&p?e.async?o+=" throw new ValidationError(["+_+"]); ":o+=" validate.errors = ["+_+"]; return false; ":o+=" var err = "+_+";  if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",o+=" } ",p&&(o+=" else { "),o}),Bf}function kg(){return qf||(qf=1,Lf=function(e,t,r){var a,o=" ",n=e.level,i=e.dataLevel,s=e.schema[t],c=e.schemaPath+e.util.getProperty(t),u=e.errSchemaPath+"/"+t,p=!e.opts.allErrors,l="data"+(i||""),d=e.opts.$data&&s&&s.$data;if(d?(o+=" var schema"+n+" = "+e.util.getData(s.$data,i,e.dataPathArr)+"; ",a="schema"+n):a=s,!d&&"number"!=typeof s)throw new Error(t+" must be number");o+="if ( ",d&&(o+=" ("+a+" !== undefined && typeof "+a+" != 'number') || "),o+=" "+l+".length "+("maxItems"==t?">":"<")+" "+a+") { ";var m=t,h=h||[];h.push(o),o="",!1!==e.createErrors?(o+=" { keyword: '"+(m||"_limitItems")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { limit: "+a+" } ",!1!==e.opts.messages&&(o+=" , message: 'should NOT have ",o+="maxItems"==t?"more":"fewer",o+=" than ",o+=d?"' + "+a+" + '":""+s,o+=" items' "),e.opts.verbose&&(o+=" , schema:  ",o+=d?"validate.schema"+c:""+s,o+="         , parentSchema: validate.schema"+e.schemaPath+" , data: "+l+" "),o+=" } "):o+=" {} ";var f=o;return o=h.pop(),!e.compositeRule&&p?e.async?o+=" throw new ValidationError(["+f+"]); ":o+=" validate.errors = ["+f+"]; return false; ":o+=" var err = "+f+";  if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",o+="} ",p&&(o+=" else { "),o}),Lf}function wg(){return Mf||(Mf=1,Uf=function(e,t,r){var a,o=" ",n=e.level,i=e.dataLevel,s=e.schema[t],c=e.schemaPath+e.util.getProperty(t),u=e.errSchemaPath+"/"+t,p=!e.opts.allErrors,l="data"+(i||""),d=e.opts.$data&&s&&s.$data;if(d?(o+=" var schema"+n+" = "+e.util.getData(s.$data,i,e.dataPathArr)+"; ",a="schema"+n):a=s,!d&&"number"!=typeof s)throw new Error(t+" must be number");var m="maxLength"==t?">":"<";o+="if ( ",d&&(o+=" ("+a+" !== undefined && typeof "+a+" != 'number') || "),!1===e.opts.unicode?o+=" "+l+".length ":o+=" ucs2length("+l+") ",o+=" "+m+" "+a+") { ";var h=t,f=f||[];f.push(o),o="",!1!==e.createErrors?(o+=" { keyword: '"+(h||"_limitLength")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { limit: "+a+" } ",!1!==e.opts.messages&&(o+=" , message: 'should NOT be ",o+="maxLength"==t?"longer":"shorter",o+=" than ",o+=d?"' + "+a+" + '":""+s,o+=" characters' "),e.opts.verbose&&(o+=" , schema:  ",o+=d?"validate.schema"+c:""+s,o+="         , parentSchema: validate.schema"+e.schemaPath+" , data: "+l+" "),o+=" } "):o+=" {} ";var g=o;return o=f.pop(),!e.compositeRule&&p?e.async?o+=" throw new ValidationError(["+g+"]); ":o+=" validate.errors = ["+g+"]; return false; ":o+=" var err = "+g+";  if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",o+="} ",p&&(o+=" else { "),o}),Uf}function xg(){return Kf||(Kf=1,Hf=function(e,t,r){var a,o=" ",n=e.level,i=e.dataLevel,s=e.schema[t],c=e.schemaPath+e.util.getProperty(t),u=e.errSchemaPath+"/"+t,p=!e.opts.allErrors,l="data"+(i||""),d=e.opts.$data&&s&&s.$data;if(d?(o+=" var schema"+n+" = "+e.util.getData(s.$data,i,e.dataPathArr)+"; ",a="schema"+n):a=s,!d&&"number"!=typeof s)throw new Error(t+" must be number");o+="if ( ",d&&(o+=" ("+a+" !== undefined && typeof "+a+" != 'number') || "),o+=" Object.keys("+l+").length "+("maxProperties"==t?">":"<")+" "+a+") { ";var m=t,h=h||[];h.push(o),o="",!1!==e.createErrors?(o+=" { keyword: '"+(m||"_limitProperties")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { limit: "+a+" } ",!1!==e.opts.messages&&(o+=" , message: 'should NOT have ",o+="maxProperties"==t?"more":"fewer",o+=" than ",o+=d?"' + "+a+" + '":""+s,o+=" properties' "),e.opts.verbose&&(o+=" , schema:  ",o+=d?"validate.schema"+c:""+s,o+="         , parentSchema: validate.schema"+e.schemaPath+" , data: "+l+" "),o+=" } "):o+=" {} ";var f=o;return o=h.pop(),!e.compositeRule&&p?e.async?o+=" throw new ValidationError(["+f+"]); ":o+=" validate.errors = ["+f+"]; return false; ":o+=" var err = "+f+";  if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",o+="} ",p&&(o+=" else { "),o}),Hf}function jg(){if(lg)return pg;lg=1;var e=(ug||(ug=1,cg={$ref:(yf||(yf=1,gf=function(e,t,r){var a,o,n=" ",i=e.level,s=e.dataLevel,c=e.schema[t],u=e.errSchemaPath+"/"+t,p=!e.opts.allErrors,l="data"+(s||""),d="valid"+i;if("#"==c||"#/"==c)e.isRoot?(a=e.async,o="validate"):(a=!0===e.root.schema.$async,o="root.refVal[0]");else{var m=e.resolveRef(e.baseId,c,e.isRoot);if(void 0===m){var h=e.MissingRefError.message(e.baseId,c);if("fail"==e.opts.missingRefs){e.logger.error(h),(v=v||[]).push(n),n="",!1!==e.createErrors?(n+=" { keyword: '$ref' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { ref: '"+e.util.escapeQuotes(c)+"' } ",!1!==e.opts.messages&&(n+=" , message: 'can\\'t resolve reference "+e.util.escapeQuotes(c)+"' "),e.opts.verbose&&(n+=" , schema: "+e.util.toQuotedString(c)+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+l+" "),n+=" } "):n+=" {} ";var f=n;n=v.pop(),!e.compositeRule&&p?e.async?n+=" throw new ValidationError(["+f+"]); ":n+=" validate.errors = ["+f+"]; return false; ":n+=" var err = "+f+";  if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",p&&(n+=" if (false) { ")}else{if("ignore"!=e.opts.missingRefs)throw new e.MissingRefError(e.baseId,c,h);e.logger.warn(h),p&&(n+=" if (true) { ")}}else if(m.inline){var g=e.util.copy(e);g.level++;var y="valid"+g.level;g.schema=m.schema,g.schemaPath="",g.errSchemaPath=c,n+=" "+e.validate(g).replace(/validate\.schema/g,m.code)+" ",p&&(n+=" if ("+y+") { ")}else a=!0===m.$async||e.async&&!1!==m.$async,o=m.code}if(o){var v;(v=v||[]).push(n),n="",e.opts.passContext?n+=" "+o+".call(this, ":n+=" "+o+"( ",n+=" "+l+", (dataPath || '')",'""'!=e.errorPath&&(n+=" + "+e.errorPath);var b=n+=" , "+(s?"data"+(s-1||""):"parentData")+" , "+(s?e.dataPathArr[s]:"parentDataProperty")+", rootData)  ";if(n=v.pop(),a){if(!e.async)throw new Error("async schema referenced by sync schema");p&&(n+=" var "+d+"; "),n+=" try { await "+b+"; ",p&&(n+=" "+d+" = true; "),n+=" } catch (e) { if (!(e instanceof ValidationError)) throw e; if (vErrors === null) vErrors = e.errors; else vErrors = vErrors.concat(e.errors); errors = vErrors.length; ",p&&(n+=" "+d+" = false; "),n+=" } ",p&&(n+=" if ("+d+") { ")}else n+=" if (!"+b+") { if (vErrors === null) vErrors = "+o+".errors; else vErrors = vErrors.concat("+o+".errors); errors = vErrors.length; } ",p&&(n+=" else { ")}return n}),gf),allOf:(bf||(bf=1,vf=function(e,t,r){var a=" ",o=e.schema[t],n=e.schemaPath+e.util.getProperty(t),i=e.errSchemaPath+"/"+t,s=!e.opts.allErrors,c=e.util.copy(e),u="";c.level++;var p="valid"+c.level,l=c.baseId,d=!0,m=o;if(m)for(var h,f=-1,g=m.length-1;f<g;)h=m[f+=1],(e.opts.strictKeywords?"object"==typeof h&&Object.keys(h).length>0||!1===h:e.util.schemaHasRules(h,e.RULES.all))&&(d=!1,c.schema=h,c.schemaPath=n+"["+f+"]",c.errSchemaPath=i+"/"+f,a+="  "+e.validate(c)+" ",c.baseId=l,s&&(a+=" if ("+p+") { ",u+="}"));return s&&(a+=d?" if (true) { ":" "+u.slice(0,-1)+" "),a}),vf),anyOf:(wf||(wf=1,kf=function(e,t,r){var a=" ",o=e.level,n=e.dataLevel,i=e.schema[t],s=e.schemaPath+e.util.getProperty(t),c=e.errSchemaPath+"/"+t,u=!e.opts.allErrors,p="data"+(n||""),l="valid"+o,d="errs__"+o,m=e.util.copy(e),h="";m.level++;var f="valid"+m.level,g=i.every((function(t){return e.opts.strictKeywords?"object"==typeof t&&Object.keys(t).length>0||!1===t:e.util.schemaHasRules(t,e.RULES.all)}));if(g){var y=m.baseId;a+=" var "+d+" = errors; var "+l+" = false;  ";var v=e.compositeRule;e.compositeRule=m.compositeRule=!0;var b=i;if(b)for(var k,w=-1,x=b.length-1;w<x;)k=b[w+=1],m.schema=k,m.schemaPath=s+"["+w+"]",m.errSchemaPath=c+"/"+w,a+="  "+e.validate(m)+" ",m.baseId=y,a+=" "+l+" = "+l+" || "+f+"; if (!"+l+") { ",h+="}";e.compositeRule=m.compositeRule=v,a+=" "+h+" if (!"+l+") {   var err =   ",!1!==e.createErrors?(a+=" { keyword: 'anyOf' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: {} ",!1!==e.opts.messages&&(a+=" , message: 'should match some schema in anyOf' "),e.opts.verbose&&(a+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+p+" "),a+=" } "):a+=" {} ",a+=";  if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",!e.compositeRule&&u&&(e.async?a+=" throw new ValidationError(vErrors); ":a+=" validate.errors = vErrors; return false; "),a+=" } else {  errors = "+d+"; if (vErrors !== null) { if ("+d+") vErrors.length = "+d+"; else vErrors = null; } ",e.opts.allErrors&&(a+=" } ")}else u&&(a+=" if (true) { ");return a}),kf),$comment:(jf||(jf=1,xf=function(e,t,r){var a=" ",o=e.schema[t],n=e.errSchemaPath+"/"+t;e.opts.allErrors;var i=e.util.toQuotedString(o);return!0===e.opts.$comment?a+=" console.log("+i+");":"function"==typeof e.opts.$comment&&(a+=" self._opts.$comment("+i+", "+e.util.toQuotedString(n)+", validate.root.schema);"),a}),xf),const:(Sf||(Sf=1,Ef=function(e,t,r){var a=" ",o=e.level,n=e.dataLevel,i=e.schema[t],s=e.schemaPath+e.util.getProperty(t),c=e.errSchemaPath+"/"+t,u=!e.opts.allErrors,p="data"+(n||""),l="valid"+o,d=e.opts.$data&&i&&i.$data;d&&(a+=" var schema"+o+" = "+e.util.getData(i.$data,n,e.dataPathArr)+"; "),d||(a+=" var schema"+o+" = validate.schema"+s+";"),a+="var "+l+" = equal("+p+", schema"+o+"); if (!"+l+") {   ";var m=m||[];m.push(a),a="",!1!==e.createErrors?(a+=" { keyword: 'const' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: { allowedValue: schema"+o+" } ",!1!==e.opts.messages&&(a+=" , message: 'should be equal to constant' "),e.opts.verbose&&(a+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+p+" "),a+=" } "):a+=" {} ";var h=a;return a=m.pop(),!e.compositeRule&&u?e.async?a+=" throw new ValidationError(["+h+"]); ":a+=" validate.errors = ["+h+"]; return false; ":a+=" var err = "+h+";  if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",a+=" }",u&&(a+=" else { "),a}),Ef),contains:(Pf||(Pf=1,_f=function(e,t,r){var a=" ",o=e.level,n=e.dataLevel,i=e.schema[t],s=e.schemaPath+e.util.getProperty(t),c=e.errSchemaPath+"/"+t,u=!e.opts.allErrors,p="data"+(n||""),l="valid"+o,d="errs__"+o,m=e.util.copy(e);m.level++;var h="valid"+m.level,f="i"+o,g=m.dataLevel=e.dataLevel+1,y="data"+g,v=e.baseId,b=e.opts.strictKeywords?"object"==typeof i&&Object.keys(i).length>0||!1===i:e.util.schemaHasRules(i,e.RULES.all);if(a+="var "+d+" = errors;var "+l+";",b){var k=e.compositeRule;e.compositeRule=m.compositeRule=!0,m.schema=i,m.schemaPath=s,m.errSchemaPath=c,a+=" var "+h+" = false; for (var "+f+" = 0; "+f+" < "+p+".length; "+f+"++) { ",m.errorPath=e.util.getPathExpr(e.errorPath,f,e.opts.jsonPointers,!0);var w=p+"["+f+"]";m.dataPathArr[g]=f;var x=e.validate(m);m.baseId=v,e.util.varOccurences(x,y)<2?a+=" "+e.util.varReplace(x,y,w)+" ":a+=" var "+y+" = "+w+"; "+x+" ",a+=" if ("+h+") break; }  ",e.compositeRule=m.compositeRule=k,a+="  if (!"+h+") {"}else a+=" if ("+p+".length == 0) {";var j=j||[];j.push(a),a="",!1!==e.createErrors?(a+=" { keyword: 'contains' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: {} ",!1!==e.opts.messages&&(a+=" , message: 'should contain a valid item' "),e.opts.verbose&&(a+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+p+" "),a+=" } "):a+=" {} ";var E=a;return a=j.pop(),!e.compositeRule&&u?e.async?a+=" throw new ValidationError(["+E+"]); ":a+=" validate.errors = ["+E+"]; return false; ":a+=" var err = "+E+";  if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",a+=" } else { ",b&&(a+="  errors = "+d+"; if (vErrors !== null) { if ("+d+") vErrors.length = "+d+"; else vErrors = null; } "),e.opts.allErrors&&(a+=" } "),a}),_f),dependencies:(Tf||(Tf=1,Cf=function(e,t,r){var a=" ",o=e.level,n=e.dataLevel,i=e.schema[t],s=e.schemaPath+e.util.getProperty(t),c=e.errSchemaPath+"/"+t,u=!e.opts.allErrors,p="data"+(n||""),l="errs__"+o,d=e.util.copy(e),m="";d.level++;var h="valid"+d.level,f={},g={},y=e.opts.ownProperties;for(w in i)if("__proto__"!=w){var v=i[w],b=Array.isArray(v)?g:f;b[w]=v}a+="var "+l+" = errors;";var k=e.errorPath;for(var w in a+="var missing"+o+";",g)if((b=g[w]).length){if(a+=" if ( "+p+e.util.getProperty(w)+" !== undefined ",y&&(a+=" && Object.prototype.hasOwnProperty.call("+p+", '"+e.util.escapeQuotes(w)+"') "),u){a+=" && ( ";var x=b;if(x)for(var j=-1,E=x.length-1;j<E;)O=x[j+=1],j&&(a+=" || "),a+=" ( ( "+(R=p+(F=e.util.getProperty(O)))+" === undefined ",y&&(a+=" || ! Object.prototype.hasOwnProperty.call("+p+", '"+e.util.escapeQuotes(O)+"') "),a+=") && (missing"+o+" = "+e.util.toQuotedString(e.opts.jsonPointers?O:F)+") ) ";a+=")) {  ";var S="missing"+o,_="' + "+S+" + '";e.opts._errorDataPathProperty&&(e.errorPath=e.opts.jsonPointers?e.util.getPathExpr(k,S,!0):k+" + "+S);var P=P||[];P.push(a),a="",!1!==e.createErrors?(a+=" { keyword: 'dependencies' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: { property: '"+e.util.escapeQuotes(w)+"', missingProperty: '"+_+"', depsCount: "+b.length+", deps: '"+e.util.escapeQuotes(1==b.length?b[0]:b.join(", "))+"' } ",!1!==e.opts.messages&&(a+=" , message: 'should have ",1==b.length?a+="property "+e.util.escapeQuotes(b[0]):a+="properties "+e.util.escapeQuotes(b.join(", ")),a+=" when property "+e.util.escapeQuotes(w)+" is present' "),e.opts.verbose&&(a+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+p+" "),a+=" } "):a+=" {} ";var C=a;a=P.pop(),!e.compositeRule&&u?e.async?a+=" throw new ValidationError(["+C+"]); ":a+=" validate.errors = ["+C+"]; return false; ":a+=" var err = "+C+";  if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}else{a+=" ) { ";var T=b;if(T)for(var O,A=-1,I=T.length-1;A<I;){O=T[A+=1];var F=e.util.getProperty(O),R=(_=e.util.escapeQuotes(O),p+F);e.opts._errorDataPathProperty&&(e.errorPath=e.util.getPath(k,O,e.opts.jsonPointers)),a+=" if ( "+R+" === undefined ",y&&(a+=" || ! Object.prototype.hasOwnProperty.call("+p+", '"+e.util.escapeQuotes(O)+"') "),a+=") {  var err =   ",!1!==e.createErrors?(a+=" { keyword: 'dependencies' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: { property: '"+e.util.escapeQuotes(w)+"', missingProperty: '"+_+"', depsCount: "+b.length+", deps: '"+e.util.escapeQuotes(1==b.length?b[0]:b.join(", "))+"' } ",!1!==e.opts.messages&&(a+=" , message: 'should have ",1==b.length?a+="property "+e.util.escapeQuotes(b[0]):a+="properties "+e.util.escapeQuotes(b.join(", ")),a+=" when property "+e.util.escapeQuotes(w)+" is present' "),e.opts.verbose&&(a+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+p+" "),a+=" } "):a+=" {} ",a+=";  if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; } "}}a+=" }   ",u&&(m+="}",a+=" else { ")}e.errorPath=k;var D=d.baseId;for(var w in f)v=f[w],(e.opts.strictKeywords?"object"==typeof v&&Object.keys(v).length>0||!1===v:e.util.schemaHasRules(v,e.RULES.all))&&(a+=" "+h+" = true; if ( "+p+e.util.getProperty(w)+" !== undefined ",y&&(a+=" && Object.prototype.hasOwnProperty.call("+p+", '"+e.util.escapeQuotes(w)+"') "),a+=") { ",d.schema=v,d.schemaPath=s+e.util.getProperty(w),d.errSchemaPath=c+"/"+e.util.escapeFragment(w),a+="  "+e.validate(d)+" ",d.baseId=D,a+=" }  ",u&&(a+=" if ("+h+") { ",m+="}"));return u&&(a+="   "+m+" if ("+l+" == errors) {"),a}),Cf),enum:(Af||(Af=1,Of=function(e,t,r){var a=" ",o=e.level,n=e.dataLevel,i=e.schema[t],s=e.schemaPath+e.util.getProperty(t),c=e.errSchemaPath+"/"+t,u=!e.opts.allErrors,p="data"+(n||""),l="valid"+o,d=e.opts.$data&&i&&i.$data;d&&(a+=" var schema"+o+" = "+e.util.getData(i.$data,n,e.dataPathArr)+"; ");var m="i"+o,h="schema"+o;d||(a+=" var "+h+" = validate.schema"+s+";"),a+="var "+l+";",d&&(a+=" if (schema"+o+" === undefined) "+l+" = true; else if (!Array.isArray(schema"+o+")) "+l+" = false; else {"),a+=l+" = false;for (var "+m+"=0; "+m+"<"+h+".length; "+m+"++) if (equal("+p+", "+h+"["+m+"])) { "+l+" = true; break; }",d&&(a+="  }  "),a+=" if (!"+l+") {   ";var f=f||[];f.push(a),a="",!1!==e.createErrors?(a+=" { keyword: 'enum' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: { allowedValues: schema"+o+" } ",!1!==e.opts.messages&&(a+=" , message: 'should be equal to one of the allowed values' "),e.opts.verbose&&(a+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+p+" "),a+=" } "):a+=" {} ";var g=a;return a=f.pop(),!e.compositeRule&&u?e.async?a+=" throw new ValidationError(["+g+"]); ":a+=" validate.errors = ["+g+"]; return false; ":a+=" var err = "+g+";  if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",a+=" }",u&&(a+=" else { "),a}),Of),format:(Ff||(Ff=1,If=function(e,t,r){var a=" ",o=e.level,n=e.dataLevel,i=e.schema[t],s=e.schemaPath+e.util.getProperty(t),c=e.errSchemaPath+"/"+t,u=!e.opts.allErrors,p="data"+(n||"");if(!1===e.opts.format)return u&&(a+=" if (true) { "),a;var l,d=e.opts.$data&&i&&i.$data;d?(a+=" var schema"+o+" = "+e.util.getData(i.$data,n,e.dataPathArr)+"; ",l="schema"+o):l=i;var m=e.opts.unknownFormats,h=Array.isArray(m);if(d)a+=" var "+(f="format"+o)+" = formats["+l+"]; var "+(g="isObject"+o)+" = typeof "+f+" == 'object' && !("+f+" instanceof RegExp) && "+f+".validate; var "+(y="formatType"+o)+" = "+g+" && "+f+".type || 'string'; if ("+g+") { ",e.async&&(a+=" var async"+o+" = "+f+".async; "),a+=" "+f+" = "+f+".validate; } if (  ",d&&(a+=" ("+l+" !== undefined && typeof "+l+" != 'string') || "),a+=" (","ignore"!=m&&(a+=" ("+l+" && !"+f+" ",h&&(a+=" && self._opts.unknownFormats.indexOf("+l+") == -1 "),a+=") || "),a+=" ("+f+" && "+y+" == '"+r+"' && !(typeof "+f+" == 'function' ? ",e.async?a+=" (async"+o+" ? await "+f+"("+p+") : "+f+"("+p+")) ":a+=" "+f+"("+p+") ",a+=" : "+f+".test("+p+"))))) {";else{var f;if(!(f=e.formats[i])){if("ignore"==m)return e.logger.warn('unknown format "'+i+'" ignored in schema at path "'+e.errSchemaPath+'"'),u&&(a+=" if (true) { "),a;if(h&&m.indexOf(i)>=0)return u&&(a+=" if (true) { "),a;throw new Error('unknown format "'+i+'" is used in schema at path "'+e.errSchemaPath+'"')}var g,y=(g="object"==typeof f&&!(f instanceof RegExp)&&f.validate)&&f.type||"string";if(g){var v=!0===f.async;f=f.validate}if(y!=r)return u&&(a+=" if (true) { "),a;if(v){if(!e.async)throw new Error("async format in sync schema");a+=" if (!(await "+(b="formats"+e.util.getProperty(i)+".validate")+"("+p+"))) { "}else{a+=" if (! ";var b="formats"+e.util.getProperty(i);g&&(b+=".validate"),a+="function"==typeof f?" "+b+"("+p+") ":" "+b+".test("+p+") ",a+=") { "}}var k=k||[];k.push(a),a="",!1!==e.createErrors?(a+=" { keyword: 'format' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: { format:  ",a+=d?""+l:""+e.util.toQuotedString(i),a+="  } ",!1!==e.opts.messages&&(a+=" , message: 'should match format \"",a+=d?"' + "+l+" + '":""+e.util.escapeQuotes(i),a+="\"' "),e.opts.verbose&&(a+=" , schema:  ",a+=d?"validate.schema"+s:""+e.util.toQuotedString(i),a+="         , parentSchema: validate.schema"+e.schemaPath+" , data: "+p+" "),a+=" } "):a+=" {} ";var w=a;return a=k.pop(),!e.compositeRule&&u?e.async?a+=" throw new ValidationError(["+w+"]); ":a+=" validate.errors = ["+w+"]; return false; ":a+=" var err = "+w+";  if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",a+=" } ",u&&(a+=" else { "),a}),If),if:(Df||(Df=1,Rf=function(e,t,r){var a=" ",o=e.level,n=e.dataLevel,i=e.schema[t],s=e.schemaPath+e.util.getProperty(t),c=e.errSchemaPath+"/"+t,u=!e.opts.allErrors,p="data"+(n||""),l="valid"+o,d="errs__"+o,m=e.util.copy(e);m.level++;var h="valid"+m.level,f=e.schema.then,g=e.schema.else,y=void 0!==f&&(e.opts.strictKeywords?"object"==typeof f&&Object.keys(f).length>0||!1===f:e.util.schemaHasRules(f,e.RULES.all)),v=void 0!==g&&(e.opts.strictKeywords?"object"==typeof g&&Object.keys(g).length>0||!1===g:e.util.schemaHasRules(g,e.RULES.all)),b=m.baseId;if(y||v){var k;m.createErrors=!1,m.schema=i,m.schemaPath=s,m.errSchemaPath=c,a+=" var "+d+" = errors; var "+l+" = true;  ";var w=e.compositeRule;e.compositeRule=m.compositeRule=!0,a+="  "+e.validate(m)+" ",m.baseId=b,m.createErrors=!0,a+="  errors = "+d+"; if (vErrors !== null) { if ("+d+") vErrors.length = "+d+"; else vErrors = null; }  ",e.compositeRule=m.compositeRule=w,y?(a+=" if ("+h+") {  ",m.schema=e.schema.then,m.schemaPath=e.schemaPath+".then",m.errSchemaPath=e.errSchemaPath+"/then",a+="  "+e.validate(m)+" ",m.baseId=b,a+=" "+l+" = "+h+"; ",y&&v?a+=" var "+(k="ifClause"+o)+" = 'then'; ":k="'then'",a+=" } ",v&&(a+=" else { ")):a+=" if (!"+h+") { ",v&&(m.schema=e.schema.else,m.schemaPath=e.schemaPath+".else",m.errSchemaPath=e.errSchemaPath+"/else",a+="  "+e.validate(m)+" ",m.baseId=b,a+=" "+l+" = "+h+"; ",y&&v?a+=" var "+(k="ifClause"+o)+" = 'else'; ":k="'else'",a+=" } "),a+=" if (!"+l+") {   var err =   ",!1!==e.createErrors?(a+=" { keyword: 'if' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: { failingKeyword: "+k+" } ",!1!==e.opts.messages&&(a+=" , message: 'should match \"' + "+k+" + '\" schema' "),e.opts.verbose&&(a+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+p+" "),a+=" } "):a+=" {} ",a+=";  if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",!e.compositeRule&&u&&(e.async?a+=" throw new ValidationError(vErrors); ":a+=" validate.errors = vErrors; return false; "),a+=" }   ",u&&(a+=" else { ")}else u&&(a+=" if (true) { ");return a}),Rf),items:(zf||(zf=1,Nf=function(e,t,r){var a=" ",o=e.level,n=e.dataLevel,i=e.schema[t],s=e.schemaPath+e.util.getProperty(t),c=e.errSchemaPath+"/"+t,u=!e.opts.allErrors,p="data"+(n||""),l="valid"+o,d="errs__"+o,m=e.util.copy(e),h="";m.level++;var f="valid"+m.level,g="i"+o,y=m.dataLevel=e.dataLevel+1,v="data"+y,b=e.baseId;if(a+="var "+d+" = errors;var "+l+";",Array.isArray(i)){var k=e.schema.additionalItems;if(!1===k){a+=" "+l+" = "+p+".length <= "+i.length+"; ";var w=c;c=e.errSchemaPath+"/additionalItems",a+="  if (!"+l+") {   ";var x=x||[];x.push(a),a="",!1!==e.createErrors?(a+=" { keyword: 'additionalItems' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: { limit: "+i.length+" } ",!1!==e.opts.messages&&(a+=" , message: 'should NOT have more than "+i.length+" items' "),e.opts.verbose&&(a+=" , schema: false , parentSchema: validate.schema"+e.schemaPath+" , data: "+p+" "),a+=" } "):a+=" {} ";var j=a;a=x.pop(),!e.compositeRule&&u?e.async?a+=" throw new ValidationError(["+j+"]); ":a+=" validate.errors = ["+j+"]; return false; ":a+=" var err = "+j+";  if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",a+=" } ",c=w,u&&(h+="}",a+=" else { ")}var E=i;if(E)for(var S,_=-1,P=E.length-1;_<P;)if(S=E[_+=1],e.opts.strictKeywords?"object"==typeof S&&Object.keys(S).length>0||!1===S:e.util.schemaHasRules(S,e.RULES.all)){a+=" "+f+" = true; if ("+p+".length > "+_+") { ";var C=p+"["+_+"]";m.schema=S,m.schemaPath=s+"["+_+"]",m.errSchemaPath=c+"/"+_,m.errorPath=e.util.getPathExpr(e.errorPath,_,e.opts.jsonPointers,!0),m.dataPathArr[y]=_;var T=e.validate(m);m.baseId=b,e.util.varOccurences(T,v)<2?a+=" "+e.util.varReplace(T,v,C)+" ":a+=" var "+v+" = "+C+"; "+T+" ",a+=" }  ",u&&(a+=" if ("+f+") { ",h+="}")}"object"==typeof k&&(e.opts.strictKeywords?"object"==typeof k&&Object.keys(k).length>0||!1===k:e.util.schemaHasRules(k,e.RULES.all))&&(m.schema=k,m.schemaPath=e.schemaPath+".additionalItems",m.errSchemaPath=e.errSchemaPath+"/additionalItems",a+=" "+f+" = true; if ("+p+".length > "+i.length+") {  for (var "+g+" = "+i.length+"; "+g+" < "+p+".length; "+g+"++) { ",m.errorPath=e.util.getPathExpr(e.errorPath,g,e.opts.jsonPointers,!0),C=p+"["+g+"]",m.dataPathArr[y]=g,T=e.validate(m),m.baseId=b,e.util.varOccurences(T,v)<2?a+=" "+e.util.varReplace(T,v,C)+" ":a+=" var "+v+" = "+C+"; "+T+" ",u&&(a+=" if (!"+f+") break; "),a+=" } }  ",u&&(a+=" if ("+f+") { ",h+="}"))}else(e.opts.strictKeywords?"object"==typeof i&&Object.keys(i).length>0||!1===i:e.util.schemaHasRules(i,e.RULES.all))&&(m.schema=i,m.schemaPath=s,m.errSchemaPath=c,a+="  for (var "+g+" = 0; "+g+" < "+p+".length; "+g+"++) { ",m.errorPath=e.util.getPathExpr(e.errorPath,g,e.opts.jsonPointers,!0),C=p+"["+g+"]",m.dataPathArr[y]=g,T=e.validate(m),m.baseId=b,e.util.varOccurences(T,v)<2?a+=" "+e.util.varReplace(T,v,C)+" ":a+=" var "+v+" = "+C+"; "+T+" ",u&&(a+=" if (!"+f+") break; "),a+=" }");return u&&(a+=" "+h+" if ("+d+" == errors) {"),a}),Nf),maximum:bg(),minimum:bg(),maxItems:kg(),minItems:kg(),maxLength:wg(),minLength:wg(),maxProperties:xg(),minProperties:xg(),multipleOf:(Gf||(Gf=1,Vf=function(e,t,r){var a,o=" ",n=e.level,i=e.dataLevel,s=e.schema[t],c=e.schemaPath+e.util.getProperty(t),u=e.errSchemaPath+"/"+t,p=!e.opts.allErrors,l="data"+(i||""),d=e.opts.$data&&s&&s.$data;if(d?(o+=" var schema"+n+" = "+e.util.getData(s.$data,i,e.dataPathArr)+"; ",a="schema"+n):a=s,!d&&"number"!=typeof s)throw new Error(t+" must be number");o+="var division"+n+";if (",d&&(o+=" "+a+" !== undefined && ( typeof "+a+" != 'number' || "),o+=" (division"+n+" = "+l+" / "+a+", ",e.opts.multipleOfPrecision?o+=" Math.abs(Math.round(division"+n+") - division"+n+") > 1e-"+e.opts.multipleOfPrecision+" ":o+=" division"+n+" !== parseInt(division"+n+") ",o+=" ) ",d&&(o+="  )  "),o+=" ) {   ";var m=m||[];m.push(o),o="",!1!==e.createErrors?(o+=" { keyword: 'multipleOf' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { multipleOf: "+a+" } ",!1!==e.opts.messages&&(o+=" , message: 'should be multiple of ",o+=d?"' + "+a:a+"'"),e.opts.verbose&&(o+=" , schema:  ",o+=d?"validate.schema"+c:""+s,o+="         , parentSchema: validate.schema"+e.schemaPath+" , data: "+l+" "),o+=" } "):o+=" {} ";var h=o;return o=m.pop(),!e.compositeRule&&p?e.async?o+=" throw new ValidationError(["+h+"]); ":o+=" validate.errors = ["+h+"]; return false; ":o+=" var err = "+h+";  if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",o+="} ",p&&(o+=" else { "),o}),Vf),not:(Xf||(Xf=1,Qf=function(e,t,r){var a=" ",o=e.level,n=e.dataLevel,i=e.schema[t],s=e.schemaPath+e.util.getProperty(t),c=e.errSchemaPath+"/"+t,u=!e.opts.allErrors,p="data"+(n||""),l="errs__"+o,d=e.util.copy(e);d.level++;var m="valid"+d.level;if(e.opts.strictKeywords?"object"==typeof i&&Object.keys(i).length>0||!1===i:e.util.schemaHasRules(i,e.RULES.all)){d.schema=i,d.schemaPath=s,d.errSchemaPath=c,a+=" var "+l+" = errors;  ";var h,f=e.compositeRule;e.compositeRule=d.compositeRule=!0,d.createErrors=!1,d.opts.allErrors&&(h=d.opts.allErrors,d.opts.allErrors=!1),a+=" "+e.validate(d)+" ",d.createErrors=!0,h&&(d.opts.allErrors=h),e.compositeRule=d.compositeRule=f,a+=" if ("+m+") {   ";var g=g||[];g.push(a),a="",!1!==e.createErrors?(a+=" { keyword: 'not' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: {} ",!1!==e.opts.messages&&(a+=" , message: 'should NOT be valid' "),e.opts.verbose&&(a+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+p+" "),a+=" } "):a+=" {} ";var y=a;a=g.pop(),!e.compositeRule&&u?e.async?a+=" throw new ValidationError(["+y+"]); ":a+=" validate.errors = ["+y+"]; return false; ":a+=" var err = "+y+";  if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",a+=" } else {  errors = "+l+"; if (vErrors !== null) { if ("+l+") vErrors.length = "+l+"; else vErrors = null; } ",e.opts.allErrors&&(a+=" } ")}else a+="  var err =   ",!1!==e.createErrors?(a+=" { keyword: 'not' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: {} ",!1!==e.opts.messages&&(a+=" , message: 'should NOT be valid' "),e.opts.verbose&&(a+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+p+" "),a+=" } "):a+=" {} ",a+=";  if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",u&&(a+=" if (false) { ");return a}),Qf),oneOf:(Yf||(Yf=1,Wf=function(e,t,r){var a=" ",o=e.level,n=e.dataLevel,i=e.schema[t],s=e.schemaPath+e.util.getProperty(t),c=e.errSchemaPath+"/"+t,u=!e.opts.allErrors,p="data"+(n||""),l="valid"+o,d="errs__"+o,m=e.util.copy(e),h="";m.level++;var f="valid"+m.level,g=m.baseId,y="prevValid"+o,v="passingSchemas"+o;a+="var "+d+" = errors , "+y+" = false , "+l+" = false , "+v+" = null; ";var b=e.compositeRule;e.compositeRule=m.compositeRule=!0;var k=i;if(k)for(var w,x=-1,j=k.length-1;x<j;)w=k[x+=1],(e.opts.strictKeywords?"object"==typeof w&&Object.keys(w).length>0||!1===w:e.util.schemaHasRules(w,e.RULES.all))?(m.schema=w,m.schemaPath=s+"["+x+"]",m.errSchemaPath=c+"/"+x,a+="  "+e.validate(m)+" ",m.baseId=g):a+=" var "+f+" = true; ",x&&(a+=" if ("+f+" && "+y+") { "+l+" = false; "+v+" = ["+v+", "+x+"]; } else { ",h+="}"),a+=" if ("+f+") { "+l+" = "+y+" = true; "+v+" = "+x+"; }";return e.compositeRule=m.compositeRule=b,a+=h+"if (!"+l+") {   var err =   ",!1!==e.createErrors?(a+=" { keyword: 'oneOf' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: { passingSchemas: "+v+" } ",!1!==e.opts.messages&&(a+=" , message: 'should match exactly one schema in oneOf' "),e.opts.verbose&&(a+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+p+" "),a+=" } "):a+=" {} ",a+=";  if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",!e.compositeRule&&u&&(e.async?a+=" throw new ValidationError(vErrors); ":a+=" validate.errors = vErrors; return false; "),a+="} else {  errors = "+d+"; if (vErrors !== null) { if ("+d+") vErrors.length = "+d+"; else vErrors = null; }",e.opts.allErrors&&(a+=" } "),a}),Wf),pattern:(Jf||(Jf=1,Zf=function(e,t,r){var a,o=" ",n=e.level,i=e.dataLevel,s=e.schema[t],c=e.schemaPath+e.util.getProperty(t),u=e.errSchemaPath+"/"+t,p=!e.opts.allErrors,l="data"+(i||""),d=e.opts.$data&&s&&s.$data;d?(o+=" var schema"+n+" = "+e.util.getData(s.$data,i,e.dataPathArr)+"; ",a="schema"+n):a=s,o+="if ( ",d&&(o+=" ("+a+" !== undefined && typeof "+a+" != 'string') || "),o+=" !"+(d?"(new RegExp("+a+"))":e.usePattern(s))+".test("+l+") ) {   ";var m=m||[];m.push(o),o="",!1!==e.createErrors?(o+=" { keyword: 'pattern' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { pattern:  ",o+=d?""+a:""+e.util.toQuotedString(s),o+="  } ",!1!==e.opts.messages&&(o+=" , message: 'should match pattern \"",o+=d?"' + "+a+" + '":""+e.util.escapeQuotes(s),o+="\"' "),e.opts.verbose&&(o+=" , schema:  ",o+=d?"validate.schema"+c:""+e.util.toQuotedString(s),o+="         , parentSchema: validate.schema"+e.schemaPath+" , data: "+l+" "),o+=" } "):o+=" {} ";var h=o;return o=m.pop(),!e.compositeRule&&p?e.async?o+=" throw new ValidationError(["+h+"]); ":o+=" validate.errors = ["+h+"]; return false; ":o+=" var err = "+h+";  if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",o+="} ",p&&(o+=" else { "),o}),Zf),properties:(tg||(tg=1,eg=function(e,t,r){var a=" ",o=e.level,n=e.dataLevel,i=e.schema[t],s=e.schemaPath+e.util.getProperty(t),c=e.errSchemaPath+"/"+t,u=!e.opts.allErrors,p="data"+(n||""),l="errs__"+o,d=e.util.copy(e),m="";d.level++;var h="valid"+d.level,f="key"+o,g="idx"+o,y=d.dataLevel=e.dataLevel+1,v="data"+y,b="dataProperties"+o,k=Object.keys(i||{}).filter(F),w=e.schema.patternProperties||{},x=Object.keys(w).filter(F),j=e.schema.additionalProperties,E=k.length||x.length,S=!1===j,_="object"==typeof j&&Object.keys(j).length,P=e.opts.removeAdditional,C=S||_||P,T=e.opts.ownProperties,O=e.baseId,A=e.schema.required;if(A&&(!e.opts.$data||!A.$data)&&A.length<e.opts.loopRequired)var I=e.util.toHash(A);function F(e){return"__proto__"!==e}if(a+="var "+l+" = errors;var "+h+" = true;",T&&(a+=" var "+b+" = undefined;"),C){if(a+=T?" "+b+" = "+b+" || Object.keys("+p+"); for (var "+g+"=0; "+g+"<"+b+".length; "+g+"++) { var "+f+" = "+b+"["+g+"]; ":" for (var "+f+" in "+p+") { ",E){if(a+=" var isAdditional"+o+" = !(false ",k.length)if(k.length>8)a+=" || validate.schema"+s+".hasOwnProperty("+f+") ";else{var R=k;if(R)for(var D=-1,N=R.length-1;D<N;)X=R[D+=1],a+=" || "+f+" == "+e.util.toQuotedString(X)+" "}if(x.length){var z=x;if(z)for(var B=-1,$=z.length-1;B<$;)ne=z[B+=1],a+=" || "+e.usePattern(ne)+".test("+f+") "}a+=" ); if (isAdditional"+o+") { "}if("all"==P)a+=" delete "+p+"["+f+"]; ";else{var L=e.errorPath,q="' + "+f+" + '";if(e.opts._errorDataPathProperty&&(e.errorPath=e.util.getPathExpr(e.errorPath,f,e.opts.jsonPointers)),S)if(P)a+=" delete "+p+"["+f+"]; ";else{a+=" "+h+" = false; ";var U=c;c=e.errSchemaPath+"/additionalProperties",(re=re||[]).push(a),a="",!1!==e.createErrors?(a+=" { keyword: 'additionalProperties' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: { additionalProperty: '"+q+"' } ",!1!==e.opts.messages&&(a+=" , message: '",e.opts._errorDataPathProperty?a+="is an invalid additional property":a+="should NOT have additional properties",a+="' "),e.opts.verbose&&(a+=" , schema: false , parentSchema: validate.schema"+e.schemaPath+" , data: "+p+" "),a+=" } "):a+=" {} ";var M=a;a=re.pop(),!e.compositeRule&&u?e.async?a+=" throw new ValidationError(["+M+"]); ":a+=" validate.errors = ["+M+"]; return false; ":a+=" var err = "+M+";  if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",c=U,u&&(a+=" break; ")}else if(_)if("failing"==P){a+=" var "+l+" = errors;  ";var H=e.compositeRule;e.compositeRule=d.compositeRule=!0,d.schema=j,d.schemaPath=e.schemaPath+".additionalProperties",d.errSchemaPath=e.errSchemaPath+"/additionalProperties",d.errorPath=e.opts._errorDataPathProperty?e.errorPath:e.util.getPathExpr(e.errorPath,f,e.opts.jsonPointers);var K=p+"["+f+"]";d.dataPathArr[y]=f;var V=e.validate(d);d.baseId=O,e.util.varOccurences(V,v)<2?a+=" "+e.util.varReplace(V,v,K)+" ":a+=" var "+v+" = "+K+"; "+V+" ",a+=" if (!"+h+") { errors = "+l+"; if (validate.errors !== null) { if (errors) validate.errors.length = errors; else validate.errors = null; } delete "+p+"["+f+"]; }  ",e.compositeRule=d.compositeRule=H}else d.schema=j,d.schemaPath=e.schemaPath+".additionalProperties",d.errSchemaPath=e.errSchemaPath+"/additionalProperties",d.errorPath=e.opts._errorDataPathProperty?e.errorPath:e.util.getPathExpr(e.errorPath,f,e.opts.jsonPointers),K=p+"["+f+"]",d.dataPathArr[y]=f,V=e.validate(d),d.baseId=O,e.util.varOccurences(V,v)<2?a+=" "+e.util.varReplace(V,v,K)+" ":a+=" var "+v+" = "+K+"; "+V+" ",u&&(a+=" if (!"+h+") break; ");e.errorPath=L}E&&(a+=" } "),a+=" }  ",u&&(a+=" if ("+h+") { ",m+="}")}var G=e.opts.useDefaults&&!e.compositeRule;if(k.length){var Q=k;if(Q)for(var X,W=-1,Y=Q.length-1;W<Y;){var Z=i[X=Q[W+=1]];if(e.opts.strictKeywords?"object"==typeof Z&&Object.keys(Z).length>0||!1===Z:e.util.schemaHasRules(Z,e.RULES.all)){var J=e.util.getProperty(X),ee=(K=p+J,G&&void 0!==Z.default);if(d.schema=Z,d.schemaPath=s+J,d.errSchemaPath=c+"/"+e.util.escapeFragment(X),d.errorPath=e.util.getPath(e.errorPath,X,e.opts.jsonPointers),d.dataPathArr[y]=e.util.toQuotedString(X),V=e.validate(d),d.baseId=O,e.util.varOccurences(V,v)<2){V=e.util.varReplace(V,v,K);var te=K}else te=v,a+=" var "+v+" = "+K+"; ";if(ee)a+=" "+V+" ";else{if(I&&I[X]){a+=" if ( "+te+" === undefined ",T&&(a+=" || ! Object.prototype.hasOwnProperty.call("+p+", '"+e.util.escapeQuotes(X)+"') "),a+=") { "+h+" = false; ",L=e.errorPath,U=c;var re,ae=e.util.escapeQuotes(X);e.opts._errorDataPathProperty&&(e.errorPath=e.util.getPath(L,X,e.opts.jsonPointers)),c=e.errSchemaPath+"/required",(re=re||[]).push(a),a="",!1!==e.createErrors?(a+=" { keyword: 'required' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: { missingProperty: '"+ae+"' } ",!1!==e.opts.messages&&(a+=" , message: '",e.opts._errorDataPathProperty?a+="is a required property":a+="should have required property \\'"+ae+"\\'",a+="' "),e.opts.verbose&&(a+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+p+" "),a+=" } "):a+=" {} ",M=a,a=re.pop(),!e.compositeRule&&u?e.async?a+=" throw new ValidationError(["+M+"]); ":a+=" validate.errors = ["+M+"]; return false; ":a+=" var err = "+M+";  if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",c=U,e.errorPath=L,a+=" } else { "}else u?(a+=" if ( "+te+" === undefined ",T&&(a+=" || ! Object.prototype.hasOwnProperty.call("+p+", '"+e.util.escapeQuotes(X)+"') "),a+=") { "+h+" = true; } else { "):(a+=" if ("+te+" !== undefined ",T&&(a+=" &&   Object.prototype.hasOwnProperty.call("+p+", '"+e.util.escapeQuotes(X)+"') "),a+=" ) { ");a+=" "+V+" } "}}u&&(a+=" if ("+h+") { ",m+="}")}}if(x.length){var oe=x;if(oe)for(var ne,ie=-1,se=oe.length-1;ie<se;)Z=w[ne=oe[ie+=1]],(e.opts.strictKeywords?"object"==typeof Z&&Object.keys(Z).length>0||!1===Z:e.util.schemaHasRules(Z,e.RULES.all))&&(d.schema=Z,d.schemaPath=e.schemaPath+".patternProperties"+e.util.getProperty(ne),d.errSchemaPath=e.errSchemaPath+"/patternProperties/"+e.util.escapeFragment(ne),a+=T?" "+b+" = "+b+" || Object.keys("+p+"); for (var "+g+"=0; "+g+"<"+b+".length; "+g+"++) { var "+f+" = "+b+"["+g+"]; ":" for (var "+f+" in "+p+") { ",a+=" if ("+e.usePattern(ne)+".test("+f+")) { ",d.errorPath=e.util.getPathExpr(e.errorPath,f,e.opts.jsonPointers),K=p+"["+f+"]",d.dataPathArr[y]=f,V=e.validate(d),d.baseId=O,e.util.varOccurences(V,v)<2?a+=" "+e.util.varReplace(V,v,K)+" ":a+=" var "+v+" = "+K+"; "+V+" ",u&&(a+=" if (!"+h+") break; "),a+=" } ",u&&(a+=" else "+h+" = true; "),a+=" }  ",u&&(a+=" if ("+h+") { ",m+="}"))}return u&&(a+=" "+m+" if ("+l+" == errors) {"),a}),eg),propertyNames:(ag||(ag=1,rg=function(e,t,r){var a=" ",o=e.level,n=e.dataLevel,i=e.schema[t],s=e.schemaPath+e.util.getProperty(t),c=e.errSchemaPath+"/"+t,u=!e.opts.allErrors,p="data"+(n||""),l="errs__"+o,d=e.util.copy(e);d.level++;var m="valid"+d.level;if(a+="var "+l+" = errors;",e.opts.strictKeywords?"object"==typeof i&&Object.keys(i).length>0||!1===i:e.util.schemaHasRules(i,e.RULES.all)){d.schema=i,d.schemaPath=s,d.errSchemaPath=c;var h="key"+o,f="idx"+o,g="i"+o,y="' + "+h+" + '",v="data"+(d.dataLevel=e.dataLevel+1),b="dataProperties"+o,k=e.opts.ownProperties,w=e.baseId;k&&(a+=" var "+b+" = undefined; "),a+=k?" "+b+" = "+b+" || Object.keys("+p+"); for (var "+f+"=0; "+f+"<"+b+".length; "+f+"++) { var "+h+" = "+b+"["+f+"]; ":" for (var "+h+" in "+p+") { ",a+=" var startErrs"+o+" = errors; ";var x=h,j=e.compositeRule;e.compositeRule=d.compositeRule=!0;var E=e.validate(d);d.baseId=w,e.util.varOccurences(E,v)<2?a+=" "+e.util.varReplace(E,v,x)+" ":a+=" var "+v+" = "+x+"; "+E+" ",e.compositeRule=d.compositeRule=j,a+=" if (!"+m+") { for (var "+g+"=startErrs"+o+"; "+g+"<errors; "+g+"++) { vErrors["+g+"].propertyName = "+h+"; }   var err =   ",!1!==e.createErrors?(a+=" { keyword: 'propertyNames' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: { propertyName: '"+y+"' } ",!1!==e.opts.messages&&(a+=" , message: 'property name \\'"+y+"\\' is invalid' "),e.opts.verbose&&(a+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+p+" "),a+=" } "):a+=" {} ",a+=";  if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",!e.compositeRule&&u&&(e.async?a+=" throw new ValidationError(vErrors); ":a+=" validate.errors = vErrors; return false; "),u&&(a+=" break; "),a+=" } }"}return u&&(a+="  if ("+l+" == errors) {"),a}),rg),required:(ng||(ng=1,og=function(e,t,r){var a=" ",o=e.level,n=e.dataLevel,i=e.schema[t],s=e.schemaPath+e.util.getProperty(t),c=e.errSchemaPath+"/"+t,u=!e.opts.allErrors,p="data"+(n||""),l="valid"+o,d=e.opts.$data&&i&&i.$data;d&&(a+=" var schema"+o+" = "+e.util.getData(i.$data,n,e.dataPathArr)+"; ");var m="schema"+o;if(!d)if(i.length<e.opts.loopRequired&&e.schema.properties&&Object.keys(e.schema.properties).length){var h=[],f=i;if(f)for(var g,y=-1,v=f.length-1;y<v;){g=f[y+=1];var b=e.schema.properties[g];b&&(e.opts.strictKeywords?"object"==typeof b&&Object.keys(b).length>0||!1===b:e.util.schemaHasRules(b,e.RULES.all))||(h[h.length]=g)}}else h=i;if(d||h.length){var k=e.errorPath,w=d||h.length>=e.opts.loopRequired,x=e.opts.ownProperties;if(u)if(a+=" var missing"+o+"; ",w){d||(a+=" var "+m+" = validate.schema"+s+"; ");var j="' + "+(T="schema"+o+"["+(P="i"+o)+"]")+" + '";e.opts._errorDataPathProperty&&(e.errorPath=e.util.getPathExpr(k,T,e.opts.jsonPointers)),a+=" var "+l+" = true; ",d&&(a+=" if (schema"+o+" === undefined) "+l+" = true; else if (!Array.isArray(schema"+o+")) "+l+" = false; else {"),a+=" for (var "+P+" = 0; "+P+" < "+m+".length; "+P+"++) { "+l+" = "+p+"["+m+"["+P+"]] !== undefined ",x&&(a+=" &&   Object.prototype.hasOwnProperty.call("+p+", "+m+"["+P+"]) "),a+="; if (!"+l+") break; } ",d&&(a+="  }  "),a+="  if (!"+l+") {   ",(S=S||[]).push(a),a="",!1!==e.createErrors?(a+=" { keyword: 'required' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: { missingProperty: '"+j+"' } ",!1!==e.opts.messages&&(a+=" , message: '",e.opts._errorDataPathProperty?a+="is a required property":a+="should have required property \\'"+j+"\\'",a+="' "),e.opts.verbose&&(a+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+p+" "),a+=" } "):a+=" {} ";var E=a;a=S.pop(),!e.compositeRule&&u?e.async?a+=" throw new ValidationError(["+E+"]); ":a+=" validate.errors = ["+E+"]; return false; ":a+=" var err = "+E+";  if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",a+=" } else { "}else{a+=" if ( ";var S,_=h;if(_)for(var P=-1,C=_.length-1;P<C;)A=_[P+=1],P&&(a+=" || "),a+=" ( ( "+(D=p+(R=e.util.getProperty(A)))+" === undefined ",x&&(a+=" || ! Object.prototype.hasOwnProperty.call("+p+", '"+e.util.escapeQuotes(A)+"') "),a+=") && (missing"+o+" = "+e.util.toQuotedString(e.opts.jsonPointers?A:R)+") ) ";a+=") {  ",j="' + "+(T="missing"+o)+" + '",e.opts._errorDataPathProperty&&(e.errorPath=e.opts.jsonPointers?e.util.getPathExpr(k,T,!0):k+" + "+T),(S=S||[]).push(a),a="",!1!==e.createErrors?(a+=" { keyword: 'required' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: { missingProperty: '"+j+"' } ",!1!==e.opts.messages&&(a+=" , message: '",e.opts._errorDataPathProperty?a+="is a required property":a+="should have required property \\'"+j+"\\'",a+="' "),e.opts.verbose&&(a+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+p+" "),a+=" } "):a+=" {} ",E=a,a=S.pop(),!e.compositeRule&&u?e.async?a+=" throw new ValidationError(["+E+"]); ":a+=" validate.errors = ["+E+"]; return false; ":a+=" var err = "+E+";  if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",a+=" } else { "}else if(w){var T;d||(a+=" var "+m+" = validate.schema"+s+"; "),j="' + "+(T="schema"+o+"["+(P="i"+o)+"]")+" + '",e.opts._errorDataPathProperty&&(e.errorPath=e.util.getPathExpr(k,T,e.opts.jsonPointers)),d&&(a+=" if ("+m+" && !Array.isArray("+m+")) {  var err =   ",!1!==e.createErrors?(a+=" { keyword: 'required' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: { missingProperty: '"+j+"' } ",!1!==e.opts.messages&&(a+=" , message: '",e.opts._errorDataPathProperty?a+="is a required property":a+="should have required property \\'"+j+"\\'",a+="' "),e.opts.verbose&&(a+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+p+" "),a+=" } "):a+=" {} ",a+=";  if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; } else if ("+m+" !== undefined) { "),a+=" for (var "+P+" = 0; "+P+" < "+m+".length; "+P+"++) { if ("+p+"["+m+"["+P+"]] === undefined ",x&&(a+=" || ! Object.prototype.hasOwnProperty.call("+p+", "+m+"["+P+"]) "),a+=") {  var err =   ",!1!==e.createErrors?(a+=" { keyword: 'required' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: { missingProperty: '"+j+"' } ",!1!==e.opts.messages&&(a+=" , message: '",e.opts._errorDataPathProperty?a+="is a required property":a+="should have required property \\'"+j+"\\'",a+="' "),e.opts.verbose&&(a+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+p+" "),a+=" } "):a+=" {} ",a+=";  if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; } } ",d&&(a+="  }  ")}else{var O=h;if(O)for(var A,I=-1,F=O.length-1;I<F;){A=O[I+=1];var R=e.util.getProperty(A),D=(j=e.util.escapeQuotes(A),p+R);e.opts._errorDataPathProperty&&(e.errorPath=e.util.getPath(k,A,e.opts.jsonPointers)),a+=" if ( "+D+" === undefined ",x&&(a+=" || ! Object.prototype.hasOwnProperty.call("+p+", '"+e.util.escapeQuotes(A)+"') "),a+=") {  var err =   ",!1!==e.createErrors?(a+=" { keyword: 'required' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: { missingProperty: '"+j+"' } ",!1!==e.opts.messages&&(a+=" , message: '",e.opts._errorDataPathProperty?a+="is a required property":a+="should have required property \\'"+j+"\\'",a+="' "),e.opts.verbose&&(a+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+p+" "),a+=" } "):a+=" {} ",a+=";  if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; } "}}e.errorPath=k}else u&&(a+=" if (true) {");return a}),og),uniqueItems:(sg||(sg=1,ig=function(e,t,r){var a,o=" ",n=e.level,i=e.dataLevel,s=e.schema[t],c=e.schemaPath+e.util.getProperty(t),u=e.errSchemaPath+"/"+t,p=!e.opts.allErrors,l="data"+(i||""),d="valid"+n,m=e.opts.$data&&s&&s.$data;if(m?(o+=" var schema"+n+" = "+e.util.getData(s.$data,i,e.dataPathArr)+"; ",a="schema"+n):a=s,(s||m)&&!1!==e.opts.uniqueItems){m&&(o+=" var "+d+"; if ("+a+" === false || "+a+" === undefined) "+d+" = true; else if (typeof "+a+" != 'boolean') "+d+" = false; else { "),o+=" var i = "+l+".length , "+d+" = true , j; if (i > 1) { ";var h=e.schema.items&&e.schema.items.type,f=Array.isArray(h);if(!h||"object"==h||"array"==h||f&&(h.indexOf("object")>=0||h.indexOf("array")>=0))o+=" outer: for (;i--;) { for (j = i; j--;) { if (equal("+l+"[i], "+l+"[j])) { "+d+" = false; break outer; } } } ";else{o+=" var itemIndices = {}, item; for (;i--;) { var item = "+l+"[i]; ";var g="checkDataType"+(f?"s":"");o+=" if ("+e.util[g](h,"item",e.opts.strictNumbers,!0)+") continue; ",f&&(o+=" if (typeof item == 'string') item = '\"' + item; "),o+=" if (typeof itemIndices[item] == 'number') { "+d+" = false; j = itemIndices[item]; break; } itemIndices[item] = i; } "}o+=" } ",m&&(o+="  }  "),o+=" if (!"+d+") {   ";var y=y||[];y.push(o),o="",!1!==e.createErrors?(o+=" { keyword: 'uniqueItems' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { i: i, j: j } ",!1!==e.opts.messages&&(o+=" , message: 'should NOT have duplicate items (items ## ' + j + ' and ' + i + ' are identical)' "),e.opts.verbose&&(o+=" , schema:  ",o+=m?"validate.schema"+c:""+s,o+="         , parentSchema: validate.schema"+e.schemaPath+" , data: "+l+" "),o+=" } "):o+=" {} ";var v=o;o=y.pop(),!e.compositeRule&&p?e.async?o+=" throw new ValidationError(["+v+"]); ":o+=" validate.errors = ["+v+"]; return false; ":o+=" var err = "+v+";  if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",o+=" } ",p&&(o+=" else { ")}else p&&(o+=" if (true) { ");return o}),ig),validate:lf()}),cg),t=Vh().toHash;return pg=function(){var r=[{type:"number",rules:[{maximum:["exclusiveMaximum"]},{minimum:["exclusiveMinimum"]},"multipleOf","format"]},{type:"string",rules:["maxLength","minLength","pattern","format"]},{type:"array",rules:["maxItems","minItems","items","contains","uniqueItems"]},{type:"object",rules:["maxProperties","minProperties","required","dependencies","propertyNames",{properties:["additionalProperties","patternProperties"]}]},{rules:["$ref","const","enum","not","anyOf","oneOf","allOf","if"]}],a=["type","$comment"];return r.all=t(a),r.types=t(["number","integer","string","array","object","boolean","null"]),r.forEach((function(t){t.rules=t.rules.map((function(t){var o;if("object"==typeof t){var n=Object.keys(t)[0];o=t[n],t=n,o.forEach((function(e){a.push(e),r.all[e]=!0}))}return a.push(t),r.all[t]={keyword:t,code:e[t],implements:o}})),r.all.$comment={keyword:"$comment",code:e.$comment},t.type&&(r.types[t.type]=t)})),r.keywords=t(a.concat(["$schema","$id","id","$data","$async","title","description","default","definitions","examples","readOnly","writeOnly","contentMediaType","contentEncoding","additionalItems","then","else"])),r.custom={},r},pg}function Eg(){if(fg)return hg;fg=1;var e=uf().MissingRef;return hg=function t(r,a,o){var n=this;if("function"!=typeof this._opts.loadSchema)throw new Error("options.loadSchema should be a function");"function"==typeof a&&(o=a,a=void 0);var i=s(r).then((function(){var e=n._addSchema(r,void 0,a);return e.validate||c(e)}));o&&i.then((function(e){o(null,e)}),o);return i;function s(e){var r=e.$schema;return r&&!n.getSchema(r)?t.call(n,{$ref:r},!0):Promise.resolve()}function c(t){try{return n._compile(t)}catch(r){if(r instanceof e)return function(e){var r=e.missingSchema;if(u(r))throw new Error("Schema "+r+" is loaded but "+e.missingRef+" cannot be resolved");var o=n._loadingSchemas[r];o||(o=n._loadingSchemas[r]=n._opts.loadSchema(r)).then(i,i);return o.then((function(e){if(!u(r))return s(e).then((function(){u(r)||n.addSchema(e,r,void 0,a)}))})).then((function(){return c(t)}));function i(){delete n._loadingSchemas[r]}function u(e){return n._refs[e]||n._schemas[e]}}(r);throw r}}},hg}var Sg,_g,Pg,Cg,Tg={$schema:"http://json-schema.org/draft-07/schema#",$id:"http://json-schema.org/draft-07/schema#",title:"Core schema meta-schema",definitions:{schemaArray:{type:"array",minItems:1,items:{$ref:"#"}},nonNegativeInteger:{type:"integer",minimum:0},nonNegativeIntegerDefault0:{allOf:[{$ref:"#/definitions/nonNegativeInteger"},{default:0}]},simpleTypes:{enum:["array","boolean","integer","null","number","object","string"]},stringArray:{type:"array",items:{type:"string"},uniqueItems:!0,default:[]}},type:["object","boolean"],properties:{$id:{type:"string",format:"uri-reference"},$schema:{type:"string",format:"uri"},$ref:{type:"string",format:"uri-reference"},$comment:{type:"string"},title:{type:"string"},description:{type:"string"},default:!0,readOnly:{type:"boolean",default:!1},examples:{type:"array",items:!0},multipleOf:{type:"number",exclusiveMinimum:0},maximum:{type:"number"},exclusiveMaximum:{type:"number"},minimum:{type:"number"},exclusiveMinimum:{type:"number"},maxLength:{$ref:"#/definitions/nonNegativeInteger"},minLength:{$ref:"#/definitions/nonNegativeIntegerDefault0"},pattern:{type:"string",format:"regex"},additionalItems:{$ref:"#"},items:{anyOf:[{$ref:"#"},{$ref:"#/definitions/schemaArray"}],default:!0},maxItems:{$ref:"#/definitions/nonNegativeInteger"},minItems:{$ref:"#/definitions/nonNegativeIntegerDefault0"},uniqueItems:{type:"boolean",default:!1},contains:{$ref:"#"},maxProperties:{$ref:"#/definitions/nonNegativeInteger"},minProperties:{$ref:"#/definitions/nonNegativeIntegerDefault0"},required:{$ref:"#/definitions/stringArray"},additionalProperties:{$ref:"#"},definitions:{type:"object",additionalProperties:{$ref:"#"},default:{}},properties:{type:"object",additionalProperties:{$ref:"#"},default:{}},patternProperties:{type:"object",additionalProperties:{$ref:"#"},propertyNames:{format:"regex"},default:{}},dependencies:{type:"object",additionalProperties:{anyOf:[{$ref:"#"},{$ref:"#/definitions/stringArray"}]}},propertyNames:{$ref:"#"},const:!0,enum:{type:"array",items:!0,minItems:1,uniqueItems:!0},type:{anyOf:[{$ref:"#/definitions/simpleTypes"},{type:"array",items:{$ref:"#/definitions/simpleTypes"},minItems:1,uniqueItems:!0}]},format:{type:"string"},contentMediaType:{type:"string"},contentEncoding:{type:"string"},if:{$ref:"#"},then:{$ref:"#"},else:{$ref:"#"},allOf:{$ref:"#/definitions/schemaArray"},anyOf:{$ref:"#/definitions/schemaArray"},oneOf:{$ref:"#/definitions/schemaArray"},not:{$ref:"#"}},default:!0};function Og(){if(Cg)return Pg;Cg=1;var e=/^[a-z_$][a-z0-9_$-]*$/i,t=(yg||(yg=1,gg=function(e,t,r){var a,o,n=" ",i=e.level,s=e.dataLevel,c=e.schema[t],u=e.schemaPath+e.util.getProperty(t),p=e.errSchemaPath+"/"+t,l=!e.opts.allErrors,d="data"+(s||""),m="valid"+i,h="errs__"+i,f=e.opts.$data&&c&&c.$data;f?(n+=" var schema"+i+" = "+e.util.getData(c.$data,s,e.dataPathArr)+"; ",o="schema"+i):o=c;var g,y,v,b,k,w=this,x="definition"+i,j=w.definition,E="";if(f&&j.$data){k="keywordValidate"+i;var S=j.validateSchema;n+=" var "+x+" = RULES.custom['"+t+"'].definition; var "+k+" = "+x+".validate;"}else{if(!(b=e.useCustomRule(w,c,e.schema,e)))return;o="validate.schema"+u,k=b.code,g=j.compile,y=j.inline,v=j.macro}var _=k+".errors",P="i"+i,C="ruleErr"+i,T=j.async;if(T&&!e.async)throw new Error("async keyword in sync schema");if(y||v||(n+=_+" = null;"),n+="var "+h+" = errors;var "+m+";",f&&j.$data&&(E+="}",n+=" if ("+o+" === undefined) { "+m+" = true; } else { ",S&&(E+="}",n+=" "+m+" = "+x+".validateSchema("+o+"); if ("+m+") { ")),y)j.statements?n+=" "+b.validate+" ":n+=" "+m+" = "+b.validate+"; ";else if(v){var O=e.util.copy(e);E="",O.level++;var A="valid"+O.level;O.schema=b.validate,O.schemaPath="";var I=e.compositeRule;e.compositeRule=O.compositeRule=!0;var F=e.validate(O).replace(/validate\.schema/g,k);e.compositeRule=O.compositeRule=I,n+=" "+F}else{(z=z||[]).push(n),n="",n+="  "+k+".call( ",e.opts.passContext?n+="this":n+="self",g||!1===j.schema?n+=" , "+d+" ":n+=" , "+o+" , "+d+" , validate.schema"+e.schemaPath+" ",n+=" , (dataPath || '')",'""'!=e.errorPath&&(n+=" + "+e.errorPath);var R=s?"data"+(s-1||""):"parentData",D=s?e.dataPathArr[s]:"parentDataProperty",N=n+=" , "+R+" , "+D+" , rootData )  ";n=z.pop(),!1===j.errors?(n+=" "+m+" = ",T&&(n+="await "),n+=N+"; "):n+=T?" var "+(_="customErrors"+i)+" = null; try { "+m+" = await "+N+"; } catch (e) { "+m+" = false; if (e instanceof ValidationError) "+_+" = e.errors; else throw e; } ":" "+_+" = null; "+m+" = "+N+"; "}if(j.modifying&&(n+=" if ("+R+") "+d+" = "+R+"["+D+"];"),n+=""+E,j.valid)l&&(n+=" if (true) { ");else{var z;n+=" if ( ",void 0===j.valid?(n+=" !",n+=v?""+A:""+m):n+=" "+!j.valid+" ",n+=") { ",a=w.keyword,(z=z||[]).push(n),n="",(z=z||[]).push(n),n="",!1!==e.createErrors?(n+=" { keyword: '"+(a||"custom")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(p)+" , params: { keyword: '"+w.keyword+"' } ",!1!==e.opts.messages&&(n+=" , message: 'should pass \""+w.keyword+"\" keyword validation' "),e.opts.verbose&&(n+=" , schema: validate.schema"+u+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+d+" "),n+=" } "):n+=" {} ";var B=n;n=z.pop(),!e.compositeRule&&l?e.async?n+=" throw new ValidationError(["+B+"]); ":n+=" validate.errors = ["+B+"]; return false; ":n+=" var err = "+B+";  if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ";var $=n;n=z.pop(),y?j.errors?"full"!=j.errors&&(n+="  for (var "+P+"="+h+"; "+P+"<errors; "+P+"++) { var "+C+" = vErrors["+P+"]; if ("+C+".dataPath === undefined) "+C+".dataPath = (dataPath || '') + "+e.errorPath+"; if ("+C+".schemaPath === undefined) { "+C+'.schemaPath = "'+p+'"; } ',e.opts.verbose&&(n+=" "+C+".schema = "+o+"; "+C+".data = "+d+"; "),n+=" } "):!1===j.errors?n+=" "+$+" ":(n+=" if ("+h+" == errors) { "+$+" } else {  for (var "+P+"="+h+"; "+P+"<errors; "+P+"++) { var "+C+" = vErrors["+P+"]; if ("+C+".dataPath === undefined) "+C+".dataPath = (dataPath || '') + "+e.errorPath+"; if ("+C+".schemaPath === undefined) { "+C+'.schemaPath = "'+p+'"; } ',e.opts.verbose&&(n+=" "+C+".schema = "+o+"; "+C+".data = "+d+"; "),n+=" } } "):v?(n+="   var err =   ",!1!==e.createErrors?(n+=" { keyword: '"+(a||"custom")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(p)+" , params: { keyword: '"+w.keyword+"' } ",!1!==e.opts.messages&&(n+=" , message: 'should pass \""+w.keyword+"\" keyword validation' "),e.opts.verbose&&(n+=" , schema: validate.schema"+u+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+d+" "),n+=" } "):n+=" {} ",n+=";  if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",!e.compositeRule&&l&&(e.async?n+=" throw new ValidationError(vErrors); ":n+=" validate.errors = vErrors; return false; ")):!1===j.errors?n+=" "+$+" ":(n+=" if (Array.isArray("+_+")) { if (vErrors === null) vErrors = "+_+"; else vErrors = vErrors.concat("+_+"); errors = vErrors.length;  for (var "+P+"="+h+"; "+P+"<errors; "+P+"++) { var "+C+" = vErrors["+P+"]; if ("+C+".dataPath === undefined) "+C+".dataPath = (dataPath || '') + "+e.errorPath+";  "+C+'.schemaPath = "'+p+'";  ',e.opts.verbose&&(n+=" "+C+".schema = "+o+"; "+C+".data = "+d+"; "),n+=" } } else { "+$+" } "),n+=" } ",l&&(n+=" else { ")}return n}),gg),r=function(){if(_g)return Sg;_g=1;var e=Tg;return Sg={$id:"https://github.com/ajv-validator/ajv/blob/master/lib/definition_schema.js",definitions:{simpleTypes:e.definitions.simpleTypes},type:"object",dependencies:{schema:["validate"],$data:["validate"],statements:["inline"],valid:{not:{required:["macro"]}}},properties:{type:e.properties.type,schema:{type:"boolean"},statements:{type:"boolean"},dependencies:{type:"array",items:{type:"string"}},metaSchema:{type:"object"},modifying:{type:"boolean"},valid:{type:"boolean"},$data:{type:"boolean"},async:{type:"boolean"},errors:{anyOf:[{type:"boolean"},{const:"full"}]}}}}();return Pg={add:function(r,a){var o=this.RULES;if(o.keywords[r])throw new Error("Keyword "+r+" is already defined");if(!e.test(r))throw new Error("Keyword "+r+" is not a valid identifier");if(a){this.validateKeyword(a,!0);var n=a.type;if(Array.isArray(n))for(var i=0;i<n.length;i++)c(r,n[i],a);else c(r,n,a);var s=a.metaSchema;s&&(a.$data&&this._opts.$data&&(s={anyOf:[s,{$ref:"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#"}]}),a.validateSchema=this.compile(s,!0))}function c(e,r,a){for(var n,i=0;i<o.length;i++){var s=o[i];if(s.type==r){n=s;break}}n||(n={type:r,rules:[]},o.push(n));var c={keyword:e,definition:a,custom:!0,code:t,implements:a.implements};n.rules.push(c),o.custom[e]=c}return o.keywords[r]=o.all[r]=!0,this},get:function(e){var t=this.RULES.custom[e];return t?t.definition:this.RULES.keywords[e]||!1},remove:function(e){var t=this.RULES;delete t.keywords[e],delete t.all[e],delete t.custom[e];for(var r=0;r<t.length;r++)for(var a=t[r].rules,o=0;o<a.length;o++)if(a[o].keyword==e){a.splice(o,1);break}return this},validate:function e(t,a){e.errors=null;var o=this._validateKeyword=this._validateKeyword||this.compile(r,!0);if(o(t))return!0;if(e.errors=o.errors,a)throw new Error("custom keyword definition is invalid: "+this.errorsText(o.errors));return!1}},Pg}var Ag,Ig,Fg,Rg,Dg={$schema:"http://json-schema.org/draft-07/schema#",$id:"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#",description:"Meta-schema for $data reference (JSON Schema extension proposal)",type:"object",required:["$data"],properties:{$data:{type:"string",anyOf:[{format:"relative-json-pointer"},{format:"json-pointer"}]}},additionalProperties:!1};function Ng(){if(Ig)return Ag;Ig=1;var e=df(),t=cf(),r=function(){if(mf)return vg.exports;mf=1;var e=vg.exports=function(){this._cache={}};return e.prototype.put=function(e,t){this._cache[e]=t},e.prototype.get=function(e){return this._cache[e]},e.prototype.del=function(e){delete this._cache[e]},e.prototype.clear=function(){this._cache={}},vg.exports}(),a=Gh(),o=pf(),n=function(){if(ff)return hf;ff=1;var e=Vh(),t=/^(\d\d\d\d)-(\d\d)-(\d\d)$/,r=[0,31,28,31,30,31,30,31,31,30,31,30,31],a=/^(\d\d):(\d\d):(\d\d)(\.\d+)?(z|[+-]\d\d(?::?\d\d)?)?$/i,o=/^(?=.{1,253}\.?$)[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\.[a-z0-9](?:[-0-9a-z]{0,61}[0-9a-z])?)*\.?$/i,n=/^(?:[a-z][a-z0-9+\-.]*:)(?:\/?\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:]|%[0-9a-f]{2})*@)?(?:\[(?:(?:(?:(?:[0-9a-f]{1,4}:){6}|::(?:[0-9a-f]{1,4}:){5}|(?:[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){4}|(?:(?:[0-9a-f]{1,4}:){0,1}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){3}|(?:(?:[0-9a-f]{1,4}:){0,2}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){2}|(?:(?:[0-9a-f]{1,4}:){0,3}[0-9a-f]{1,4})?::[0-9a-f]{1,4}:|(?:(?:[0-9a-f]{1,4}:){0,4}[0-9a-f]{1,4})?::)(?:[0-9a-f]{1,4}:[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?))|(?:(?:[0-9a-f]{1,4}:){0,5}[0-9a-f]{1,4})?::[0-9a-f]{1,4}|(?:(?:[0-9a-f]{1,4}:){0,6}[0-9a-f]{1,4})?::)|[Vv][0-9a-f]+\.[a-z0-9\-._~!$&'()*+,;=:]+)\]|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)|(?:[a-z0-9\-._~!$&'()*+,;=]|%[0-9a-f]{2})*)(?::\d*)?(?:\/(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*|\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*)?|(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*)(?:\?(?:[a-z0-9\-._~!$&'()*+,;=:@/?]|%[0-9a-f]{2})*)?(?:#(?:[a-z0-9\-._~!$&'()*+,;=:@/?]|%[0-9a-f]{2})*)?$/i,i=/^(?:(?:[^\x00-\x20"'<>%\\^`{|}]|%[0-9a-f]{2})|\{[+#./;?&=,!@|]?(?:[a-z0-9_]|%[0-9a-f]{2})+(?::[1-9][0-9]{0,3}|\*)?(?:,(?:[a-z0-9_]|%[0-9a-f]{2})+(?::[1-9][0-9]{0,3}|\*)?)*\})*$/i,s=/^(?:(?:http[s\u017F]?|ftp):\/\/)(?:(?:[\0-\x08\x0E-\x1F!-\x9F\xA1-\u167F\u1681-\u1FFF\u200B-\u2027\u202A-\u202E\u2030-\u205E\u2060-\u2FFF\u3001-\uD7FF\uE000-\uFEFE\uFF00-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+(?::(?:[\0-\x08\x0E-\x1F!-\x9F\xA1-\u167F\u1681-\u1FFF\u200B-\u2027\u202A-\u202E\u2030-\u205E\u2060-\u2FFF\u3001-\uD7FF\uE000-\uFEFE\uFF00-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])*)?@)?(?:(?!10(?:\.[0-9]{1,3}){3})(?!127(?:\.[0-9]{1,3}){3})(?!169\.254(?:\.[0-9]{1,3}){2})(?!192\.168(?:\.[0-9]{1,3}){2})(?!172\.(?:1[6-9]|2[0-9]|3[01])(?:\.[0-9]{1,3}){2})(?:[1-9][0-9]?|1[0-9][0-9]|2[01][0-9]|22[0-3])(?:\.(?:1?[0-9]{1,2}|2[0-4][0-9]|25[0-5])){2}(?:\.(?:[1-9][0-9]?|1[0-9][0-9]|2[0-4][0-9]|25[0-4]))|(?:(?:(?:[0-9a-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+-)*(?:[0-9a-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+)(?:\.(?:(?:[0-9a-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+-)*(?:[0-9a-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+)*(?:\.(?:(?:[a-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]){2,})))(?::[0-9]{2,5})?(?:\/(?:[\0-\x08\x0E-\x1F!-\x9F\xA1-\u167F\u1681-\u1FFF\u200B-\u2027\u202A-\u202E\u2030-\u205E\u2060-\u2FFF\u3001-\uD7FF\uE000-\uFEFE\uFF00-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])*)?$/i,c=/^(?:urn:uuid:)?[0-9a-f]{8}-(?:[0-9a-f]{4}-){3}[0-9a-f]{12}$/i,u=/^(?:\/(?:[^~/]|~0|~1)*)*$/,p=/^#(?:\/(?:[a-z0-9_\-.!$&'()*+,;:=@]|%[0-9a-f]{2}|~0|~1)*)*$/i,l=/^(?:0|[1-9][0-9]*)(?:#|(?:\/(?:[^~/]|~0|~1)*)*)$/;function d(t){return t="full"==t?"full":"fast",e.copy(d[t])}function m(e){var a=e.match(t);if(!a)return!1;var o=+a[1],n=+a[2],i=+a[3];return n>=1&&n<=12&&i>=1&&i<=(2==n&&function(e){return e%4==0&&(e%100!=0||e%400==0)}(o)?29:r[n])}function h(e,t){var r=e.match(a);if(!r)return!1;var o=r[1],n=r[2],i=r[3],s=r[5];return(o<=23&&n<=59&&i<=59||23==o&&59==n&&60==i)&&(!t||s)}hf=d,d.fast={date:/^\d\d\d\d-[0-1]\d-[0-3]\d$/,time:/^(?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)?$/i,"date-time":/^\d\d\d\d-[0-1]\d-[0-3]\d[t\s](?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)$/i,uri:/^(?:[a-z][a-z0-9+\-.]*:)(?:\/?\/)?[^\s]*$/i,"uri-reference":/^(?:(?:[a-z][a-z0-9+\-.]*:)?\/?\/)?(?:[^\\\s#][^\s#]*)?(?:#[^\\\s]*)?$/i,"uri-template":i,url:s,email:/^[a-z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\.[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?)*$/i,hostname:o,ipv4:/^(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)$/,ipv6:/^\s*(?:(?:(?:[0-9a-f]{1,4}:){7}(?:[0-9a-f]{1,4}|:))|(?:(?:[0-9a-f]{1,4}:){6}(?::[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(?:(?:[0-9a-f]{1,4}:){5}(?:(?:(?::[0-9a-f]{1,4}){1,2})|:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(?:(?:[0-9a-f]{1,4}:){4}(?:(?:(?::[0-9a-f]{1,4}){1,3})|(?:(?::[0-9a-f]{1,4})?:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){3}(?:(?:(?::[0-9a-f]{1,4}){1,4})|(?:(?::[0-9a-f]{1,4}){0,2}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){2}(?:(?:(?::[0-9a-f]{1,4}){1,5})|(?:(?::[0-9a-f]{1,4}){0,3}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){1}(?:(?:(?::[0-9a-f]{1,4}){1,6})|(?:(?::[0-9a-f]{1,4}){0,4}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?::(?:(?:(?::[0-9a-f]{1,4}){1,7})|(?:(?::[0-9a-f]{1,4}){0,5}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))(?:%.+)?\s*$/i,regex:v,uuid:c,"json-pointer":u,"json-pointer-uri-fragment":p,"relative-json-pointer":l},d.full={date:m,time:h,"date-time":function(e){var t=e.split(f);return 2==t.length&&m(t[0])&&h(t[1],!0)},uri:function(e){return g.test(e)&&n.test(e)},"uri-reference":/^(?:[a-z][a-z0-9+\-.]*:)?(?:\/?\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:]|%[0-9a-f]{2})*@)?(?:\[(?:(?:(?:(?:[0-9a-f]{1,4}:){6}|::(?:[0-9a-f]{1,4}:){5}|(?:[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){4}|(?:(?:[0-9a-f]{1,4}:){0,1}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){3}|(?:(?:[0-9a-f]{1,4}:){0,2}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){2}|(?:(?:[0-9a-f]{1,4}:){0,3}[0-9a-f]{1,4})?::[0-9a-f]{1,4}:|(?:(?:[0-9a-f]{1,4}:){0,4}[0-9a-f]{1,4})?::)(?:[0-9a-f]{1,4}:[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?))|(?:(?:[0-9a-f]{1,4}:){0,5}[0-9a-f]{1,4})?::[0-9a-f]{1,4}|(?:(?:[0-9a-f]{1,4}:){0,6}[0-9a-f]{1,4})?::)|[Vv][0-9a-f]+\.[a-z0-9\-._~!$&'()*+,;=:]+)\]|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)|(?:[a-z0-9\-._~!$&'"()*+,;=]|%[0-9a-f]{2})*)(?::\d*)?(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*|\/(?:(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*)?|(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*)?(?:\?(?:[a-z0-9\-._~!$&'"()*+,;=:@/?]|%[0-9a-f]{2})*)?(?:#(?:[a-z0-9\-._~!$&'"()*+,;=:@/?]|%[0-9a-f]{2})*)?$/i,"uri-template":i,url:s,email:/^[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$/i,hostname:o,ipv4:/^(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)$/,ipv6:/^\s*(?:(?:(?:[0-9a-f]{1,4}:){7}(?:[0-9a-f]{1,4}|:))|(?:(?:[0-9a-f]{1,4}:){6}(?::[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(?:(?:[0-9a-f]{1,4}:){5}(?:(?:(?::[0-9a-f]{1,4}){1,2})|:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(?:(?:[0-9a-f]{1,4}:){4}(?:(?:(?::[0-9a-f]{1,4}){1,3})|(?:(?::[0-9a-f]{1,4})?:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){3}(?:(?:(?::[0-9a-f]{1,4}){1,4})|(?:(?::[0-9a-f]{1,4}){0,2}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){2}(?:(?:(?::[0-9a-f]{1,4}){1,5})|(?:(?::[0-9a-f]{1,4}){0,3}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){1}(?:(?:(?::[0-9a-f]{1,4}){1,6})|(?:(?::[0-9a-f]{1,4}){0,4}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?::(?:(?:(?::[0-9a-f]{1,4}){1,7})|(?:(?::[0-9a-f]{1,4}){0,5}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))(?:%.+)?\s*$/i,regex:v,uuid:c,"json-pointer":u,"json-pointer-uri-fragment":p,"relative-json-pointer":l};var f=/t|\s/i,g=/\/|:/,y=/[^\\]\\Z/;function v(e){if(y.test(e))return!1;try{return new RegExp(e),!0}catch(e){return!1}}return hf}(),i=jg(),s=function(){if(mg)return dg;mg=1;var e=["multipleOf","maximum","exclusiveMaximum","minimum","exclusiveMinimum","maxLength","minLength","pattern","additionalItems","maxItems","minItems","uniqueItems","maxProperties","minProperties","required","additionalProperties","enum","format","const"];return dg=function(t,r){for(var a=0;a<r.length;a++){t=JSON.parse(JSON.stringify(t));var o,n=r[a].split("/"),i=t;for(o=1;o<n.length;o++)i=i[n[o]];for(o=0;o<e.length;o++){var s=e[o],c=i[s];c&&(i[s]={anyOf:[c,{$ref:"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#"}]})}}return t},dg}(),c=Vh();Ag=h,h.prototype.validate=function(e,t){var r;if("string"==typeof e){if(!(r=this.getSchema(e)))throw new Error('no schema with key or ref "'+e+'"')}else{var a=this._addSchema(e);r=a.validate||this._compile(a)}var o=r(t);!0!==r.$async&&(this.errors=r.errors);return o},h.prototype.compile=function(e,t){var r=this._addSchema(e,void 0,t);return r.validate||this._compile(r)},h.prototype.addSchema=function(e,r,a,o){if(Array.isArray(e)){for(var n=0;n<e.length;n++)this.addSchema(e[n],void 0,a,o);return this}var i=this._getId(e);if(void 0!==i&&"string"!=typeof i)throw new Error("schema id must be string");return k(this,r=t.normalizeId(r||i)),this._schemas[r]=this._addSchema(e,a,o,!0),this},h.prototype.addMetaSchema=function(e,t,r){return this.addSchema(e,t,r,!0),this},h.prototype.validateSchema=function(e,t){var r=e.$schema;if(void 0!==r&&"string"!=typeof r)throw new Error("$schema must be a string");if(!(r=r||this._opts.defaultMeta||function(e){var t=e._opts.meta;return e._opts.defaultMeta="object"==typeof t?e._getId(t)||t:e.getSchema(l)?l:void 0,e._opts.defaultMeta}(this)))return this.logger.warn("meta-schema not available"),this.errors=null,!0;var a=this.validate(r,e);if(!a&&t){var o="schema is invalid: "+this.errorsText();if("log"!=this._opts.validateSchema)throw new Error(o);this.logger.error(o)}return a},h.prototype.getSchema=function(r){var o=f(this,r);switch(typeof o){case"object":return o.validate||this._compile(o);case"string":return this.getSchema(o);case"undefined":return function(r,o){var n=t.schema.call(r,{schema:{}},o);if(n){var i=n.schema,s=n.root,c=n.baseId,u=e.call(r,i,s,void 0,c);return r._fragments[o]=new a({ref:o,fragment:!0,schema:i,root:s,baseId:c,validate:u}),u}}(this,r)}},h.prototype.removeSchema=function(e){if(e instanceof RegExp)return g(this,this._schemas,e),g(this,this._refs,e),this;switch(typeof e){case"undefined":return g(this,this._schemas),g(this,this._refs),this._cache.clear(),this;case"string":var r=f(this,e);return r&&this._cache.del(r.cacheKey),delete this._schemas[e],delete this._refs[e],this;case"object":var a=this._opts.serialize,o=a?a(e):e;this._cache.del(o);var n=this._getId(e);n&&(n=t.normalizeId(n),delete this._schemas[n],delete this._refs[n])}return this},h.prototype.addFormat=function(e,t){"string"==typeof t&&(t=new RegExp(t));return this._formats[e]=t,this},h.prototype.errorsText=function(e,t){if(!(e=e||this.errors))return"No errors";for(var r=void 0===(t=t||{}).separator?", ":t.separator,a=void 0===t.dataVar?"data":t.dataVar,o="",n=0;n<e.length;n++){var i=e[n];i&&(o+=a+i.dataPath+" "+i.message+r)}return o.slice(0,-r.length)},h.prototype._addSchema=function(e,r,o,n){if("object"!=typeof e&&"boolean"!=typeof e)throw new Error("schema should be object or boolean");var i=this._opts.serialize,s=i?i(e):e,c=this._cache.get(s);if(c)return c;n=n||!1!==this._opts.addUsedSchema;var u=t.normalizeId(this._getId(e));u&&n&&k(this,u);var p,l=!1!==this._opts.validateSchema&&!r;l&&!(p=u&&u==t.normalizeId(e.$schema))&&this.validateSchema(e,!0);var d=t.ids.call(this,e),m=new a({id:u,schema:e,localRefs:d,cacheKey:s,meta:o});"#"!=u[0]&&n&&(this._refs[u]=m);this._cache.put(s,m),l&&p&&this.validateSchema(e,!0);return m},h.prototype._compile=function(t,r){if(t.compiling)return t.validate=n,n.schema=t.schema,n.errors=null,n.root=r||n,!0===t.schema.$async&&(n.$async=!0),n;var a,o;t.compiling=!0,t.meta&&(a=this._opts,this._opts=this._metaOpts);try{o=e.call(this,t.schema,r,t.localRefs)}catch(e){throw delete t.validate,e}finally{t.compiling=!1,t.meta&&(this._opts=a)}return t.validate=o,t.refs=o.refs,t.refVal=o.refVal,t.root=o.root,o;function n(){var e=t.validate,r=e.apply(this,arguments);return n.errors=e.errors,r}},h.prototype.compileAsync=Eg();var u=Og();h.prototype.addKeyword=u.add,h.prototype.getKeyword=u.get,h.prototype.removeKeyword=u.remove,h.prototype.validateKeyword=u.validate;var p=uf();h.ValidationError=p.Validation,h.MissingRefError=p.MissingRef,h.$dataMetaSchema=s;var l="http://json-schema.org/draft-07/schema",d=["removeAdditional","useDefaults","coerceTypes","strictDefaults"],m=["/properties"];function h(e){if(!(this instanceof h))return new h(e);e=this._opts=c.copy(e)||{},function(e){var t=e._opts.logger;if(!1===t)e.logger={log:w,warn:w,error:w};else{if(void 0===t&&(t=console),!("object"==typeof t&&t.log&&t.warn&&t.error))throw new Error("logger must implement log, warn and error methods");e.logger=t}}(this),this._schemas={},this._refs={},this._fragments={},this._formats=n(e.format),this._cache=e.cache||new r,this._loadingSchemas={},this._compilations=[],this.RULES=i(),this._getId=function(e){switch(e.schemaId){case"auto":return b;case"id":return y;default:return v}}(e),e.loopRequired=e.loopRequired||1/0,"property"==e.errorDataPath&&(e._errorDataPathProperty=!0),void 0===e.serialize&&(e.serialize=o),this._metaOpts=function(e){for(var t=c.copy(e._opts),r=0;r<d.length;r++)delete t[d[r]];return t}(this),e.formats&&function(e){for(var t in e._opts.formats){var r=e._opts.formats[t];e.addFormat(t,r)}}(this),e.keywords&&function(e){for(var t in e._opts.keywords){var r=e._opts.keywords[t];e.addKeyword(t,r)}}(this),function(e){var t;e._opts.$data&&(t=Dg,e.addMetaSchema(t,t.$id,!0));if(!1===e._opts.meta)return;var r=Tg;e._opts.$data&&(r=s(r,m));e.addMetaSchema(r,l,!0),e._refs["http://json-schema.org/schema"]=l}(this),"object"==typeof e.meta&&this.addMetaSchema(e.meta),e.nullable&&this.addKeyword("nullable",{metaSchema:{type:"boolean"}}),function(e){var t=e._opts.schemas;if(!t)return;if(Array.isArray(t))e.addSchema(t);else for(var r in t)e.addSchema(t[r],r)}(this)}function f(e,r){return r=t.normalizeId(r),e._schemas[r]||e._refs[r]||e._fragments[r]}function g(e,t,r){for(var a in t){var o=t[a];o.meta||r&&!r.test(a)||(e._cache.del(o.cacheKey),delete t[a])}}function y(e){return e.$id&&this.logger.warn("schema $id ignored",e.$id),e.id}function v(e){return e.id&&this.logger.warn("schema id ignored",e.id),e.$id}function b(e){if(e.$id&&e.id&&e.$id!=e.id)throw new Error("schema $id is different from id");return e.$id||e.id}function k(e,t){if(e._schemas[t]||e._refs[t])throw new Error('schema with key or id "'+t+'" already exists')}function w(){}return Ag}var zg,Bg,$g={$id:"afterRequest.json#",$schema:"http://json-schema.org/draft-06/schema#",type:"object",optional:!0,required:["lastAccess","eTag","hitCount"],properties:{expires:{type:"string",pattern:"^(\\d{4})(-)?(\\d\\d)(-)?(\\d\\d)(T)?(\\d\\d)(:)?(\\d\\d)(:)?(\\d\\d)(\\.\\d+)?(Z|([+-])(\\d\\d)(:)?(\\d\\d))?"},lastAccess:{type:"string",pattern:"^(\\d{4})(-)?(\\d\\d)(-)?(\\d\\d)(T)?(\\d\\d)(:)?(\\d\\d)(:)?(\\d\\d)(\\.\\d+)?(Z|([+-])(\\d\\d)(:)?(\\d\\d))?"},eTag:{type:"string"},hitCount:{type:"integer"},comment:{type:"string"}}},Lg={$id:"beforeRequest.json#",$schema:"http://json-schema.org/draft-06/schema#",type:"object",optional:!0,required:["lastAccess","eTag","hitCount"],properties:{expires:{type:"string",pattern:"^(\\d{4})(-)?(\\d\\d)(-)?(\\d\\d)(T)?(\\d\\d)(:)?(\\d\\d)(:)?(\\d\\d)(\\.\\d+)?(Z|([+-])(\\d\\d)(:)?(\\d\\d))?"},lastAccess:{type:"string",pattern:"^(\\d{4})(-)?(\\d\\d)(-)?(\\d\\d)(T)?(\\d\\d)(:)?(\\d\\d)(:)?(\\d\\d)(\\.\\d+)?(Z|([+-])(\\d\\d)(:)?(\\d\\d))?"},eTag:{type:"string"},hitCount:{type:"integer"},comment:{type:"string"}}},qg={$id:"browser.json#",$schema:"http://json-schema.org/draft-06/schema#",type:"object",required:["name","version"],properties:{name:{type:"string"},version:{type:"string"},comment:{type:"string"}}},Ug={$id:"cache.json#",$schema:"http://json-schema.org/draft-06/schema#",properties:{beforeRequest:{oneOf:[{type:"null"},{$ref:"beforeRequest.json#"}]},afterRequest:{oneOf:[{type:"null"},{$ref:"afterRequest.json#"}]},comment:{type:"string"}}},Mg={$id:"content.json#",$schema:"http://json-schema.org/draft-06/schema#",type:"object",required:["size","mimeType"],properties:{size:{type:"integer"},compression:{type:"integer"},mimeType:{type:"string"},text:{type:"string"},encoding:{type:"string"},comment:{type:"string"}}},Hg={$id:"cookie.json#",$schema:"http://json-schema.org/draft-06/schema#",type:"object",required:["name","value"],properties:{name:{type:"string"},value:{type:"string"},path:{type:"string"},domain:{type:"string"},expires:{type:["string","null"],format:"date-time"},httpOnly:{type:"boolean"},secure:{type:"boolean"},comment:{type:"string"}}},Kg={$id:"creator.json#",$schema:"http://json-schema.org/draft-06/schema#",type:"object",required:["name","version"],properties:{name:{type:"string"},version:{type:"string"},comment:{type:"string"}}},Vg={$id:"entry.json#",$schema:"http://json-schema.org/draft-06/schema#",type:"object",optional:!0,required:["startedDateTime","time","request","response","cache","timings"],properties:{pageref:{type:"string"},startedDateTime:{type:"string",format:"date-time",pattern:"^(\\d{4})(-)?(\\d\\d)(-)?(\\d\\d)(T)?(\\d\\d)(:)?(\\d\\d)(:)?(\\d\\d)(\\.\\d+)?(Z|([+-])(\\d\\d)(:)?(\\d\\d))"},time:{type:"number",min:0},request:{$ref:"request.json#"},response:{$ref:"response.json#"},cache:{$ref:"cache.json#"},timings:{$ref:"timings.json#"},serverIPAddress:{type:"string",oneOf:[{format:"ipv4"},{format:"ipv6"}]},connection:{type:"string"},comment:{type:"string"}}},Gg={$id:"har.json#",$schema:"http://json-schema.org/draft-06/schema#",type:"object",required:["log"],properties:{log:{$ref:"log.json#"}}},Qg={$id:"header.json#",$schema:"http://json-schema.org/draft-06/schema#",type:"object",required:["name","value"],properties:{name:{type:"string"},value:{type:"string"},comment:{type:"string"}}},Xg={$id:"log.json#",$schema:"http://json-schema.org/draft-06/schema#",type:"object",required:["version","creator","entries"],properties:{version:{type:"string"},creator:{$ref:"creator.json#"},browser:{$ref:"browser.json#"},pages:{type:"array",items:{$ref:"page.json#"}},entries:{type:"array",items:{$ref:"entry.json#"}},comment:{type:"string"}}},Wg={$id:"page.json#",$schema:"http://json-schema.org/draft-06/schema#",type:"object",optional:!0,required:["startedDateTime","id","title","pageTimings"],properties:{startedDateTime:{type:"string",format:"date-time",pattern:"^(\\d{4})(-)?(\\d\\d)(-)?(\\d\\d)(T)?(\\d\\d)(:)?(\\d\\d)(:)?(\\d\\d)(\\.\\d+)?(Z|([+-])(\\d\\d)(:)?(\\d\\d))"},id:{type:"string",unique:!0},title:{type:"string"},pageTimings:{$ref:"pageTimings.json#"},comment:{type:"string"}}},Yg={$id:"pageTimings.json#",$schema:"http://json-schema.org/draft-06/schema#",type:"object",properties:{onContentLoad:{type:"number",min:-1},onLoad:{type:"number",min:-1},comment:{type:"string"}}},Zg={$id:"postData.json#",$schema:"http://json-schema.org/draft-06/schema#",type:"object",optional:!0,required:["mimeType"],properties:{mimeType:{type:"string"},text:{type:"string"},params:{type:"array",required:["name"],properties:{name:{type:"string"},value:{type:"string"},fileName:{type:"string"},contentType:{type:"string"},comment:{type:"string"}}},comment:{type:"string"}}},Jg={$id:"query.json#",$schema:"http://json-schema.org/draft-06/schema#",type:"object",required:["name","value"],properties:{name:{type:"string"},value:{type:"string"},comment:{type:"string"}}},ey={$id:"request.json#",$schema:"http://json-schema.org/draft-06/schema#",type:"object",required:["method","url","httpVersion","cookies","headers","queryString","headersSize","bodySize"],properties:{method:{type:"string"},url:{type:"string",format:"uri"},httpVersion:{type:"string"},cookies:{type:"array",items:{$ref:"cookie.json#"}},headers:{type:"array",items:{$ref:"header.json#"}},queryString:{type:"array",items:{$ref:"query.json#"}},postData:{$ref:"postData.json#"},headersSize:{type:"integer"},bodySize:{type:"integer"},comment:{type:"string"}}},ty={$id:"response.json#",$schema:"http://json-schema.org/draft-06/schema#",type:"object",required:["status","statusText","httpVersion","cookies","headers","content","redirectURL","headersSize","bodySize"],properties:{status:{type:"integer"},statusText:{type:"string"},httpVersion:{type:"string"},cookies:{type:"array",items:{$ref:"cookie.json#"}},headers:{type:"array",items:{$ref:"header.json#"}},content:{$ref:"content.json#"},redirectURL:{type:"string"},headersSize:{type:"integer"},bodySize:{type:"integer"},comment:{type:"string"}}},ry={$id:"timings.json#",$schema:"http://json-schema.org/draft-06/schema#",required:["send","wait","receive"],properties:{dns:{type:"number",min:-1},connect:{type:"number",min:-1},blocked:{type:"number",min:-1},send:{type:"number",min:-1},wait:{type:"number",min:-1},receive:{type:"number",min:-1},ssl:{type:"number",min:-1},comment:{type:"string"}}};var ay,oy,ny={$schema:"http://json-schema.org/draft-06/schema#",$id:"http://json-schema.org/draft-06/schema#",title:"Core schema meta-schema",definitions:{schemaArray:{type:"array",minItems:1,items:{$ref:"#"}},nonNegativeInteger:{type:"integer",minimum:0},nonNegativeIntegerDefault0:{allOf:[{$ref:"#/definitions/nonNegativeInteger"},{default:0}]},simpleTypes:{enum:["array","boolean","integer","null","number","object","string"]},stringArray:{type:"array",items:{type:"string"},uniqueItems:!0,default:[]}},type:["object","boolean"],properties:{$id:{type:"string",format:"uri-reference"},$schema:{type:"string",format:"uri"},$ref:{type:"string",format:"uri-reference"},title:{type:"string"},description:{type:"string"},default:{},examples:{type:"array",items:{}},multipleOf:{type:"number",exclusiveMinimum:0},maximum:{type:"number"},exclusiveMaximum:{type:"number"},minimum:{type:"number"},exclusiveMinimum:{type:"number"},maxLength:{$ref:"#/definitions/nonNegativeInteger"},minLength:{$ref:"#/definitions/nonNegativeIntegerDefault0"},pattern:{type:"string",format:"regex"},additionalItems:{$ref:"#"},items:{anyOf:[{$ref:"#"},{$ref:"#/definitions/schemaArray"}],default:{}},maxItems:{$ref:"#/definitions/nonNegativeInteger"},minItems:{$ref:"#/definitions/nonNegativeIntegerDefault0"},uniqueItems:{type:"boolean",default:!1},contains:{$ref:"#"},maxProperties:{$ref:"#/definitions/nonNegativeInteger"},minProperties:{$ref:"#/definitions/nonNegativeIntegerDefault0"},required:{$ref:"#/definitions/stringArray"},additionalProperties:{$ref:"#"},definitions:{type:"object",additionalProperties:{$ref:"#"},default:{}},properties:{type:"object",additionalProperties:{$ref:"#"},default:{}},patternProperties:{type:"object",additionalProperties:{$ref:"#"},default:{}},dependencies:{type:"object",additionalProperties:{anyOf:[{$ref:"#"},{$ref:"#/definitions/stringArray"}]}},propertyNames:{$ref:"#"},const:{},enum:{type:"array",minItems:1,uniqueItems:!0},type:{anyOf:[{$ref:"#/definitions/simpleTypes"},{type:"array",items:{$ref:"#/definitions/simpleTypes"},minItems:1,uniqueItems:!0}]},format:{type:"string"},allOf:{$ref:"#/definitions/schemaArray"},anyOf:{$ref:"#/definitions/schemaArray"},oneOf:{$ref:"#/definitions/schemaArray"},not:{$ref:"#"}},default:{}};function iy(){if(ay)return Kh;ay=1;var e,t=Ng(),r=function(){if(Rg)return Fg;function e(e){var t="validation failed";this.name="HARError",this.message=t,this.errors=e,"function"==typeof Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error(t).stack}return Rg=1,e.prototype=Error.prototype,Fg=e}(),a=Bg?zg:(Bg=1,zg={afterRequest:$g,beforeRequest:Lg,browser:qg,cache:Ug,content:Mg,cookie:Hg,creator:Kg,entry:Vg,har:Gg,header:Qg,log:Xg,page:Wg,pageTimings:Yg,postData:Zg,query:Jg,request:ey,response:ty,timings:ry});function o(o,n){n=n||{};var i=(e=e||function(){var e=new t({allErrors:!0});return e.addMetaSchema(ny),e.addSchema(a),e}()).getSchema(o+".json");return new Promise((function(e,t){i(n)?e(n):t(new r(i.errors))}))}return Kh.afterRequest=function(e){return o("afterRequest",e)},Kh.beforeRequest=function(e){return o("beforeRequest",e)},Kh.browser=function(e){return o("browser",e)},Kh.cache=function(e){return o("cache",e)},Kh.content=function(e){return o("content",e)},Kh.cookie=function(e){return o("cookie",e)},Kh.creator=function(e){return o("creator",e)},Kh.entry=function(e){return o("entry",e)},Kh.har=function(e){return o("har",e)},Kh.header=function(e){return o("header",e)},Kh.log=function(e){return o("log",e)},Kh.page=function(e){return o("page",e)},Kh.pageTimings=function(e){return o("pageTimings",e)},Kh.postData=function(e){return o("postData",e)},Kh.query=function(e){return o("query",e)},Kh.request=function(e){return o("request",e)},Kh.response=function(e){return o("response",e)},Kh.timings=function(e){return o("timings",e)},Kh}var sy,cy,uy,py,ly,dy,my,hy={};function fy(){if(cy)return sy;cy=1;var e=x.default;return sy=function(){return e.randomBytes(16)}}function gy(){if(dy)return ly;dy=1;var e=fy(),t=function(){if(py)return uy;py=1;for(var e=[],t=0;t<256;++t)e[t]=(t+256).toString(16).substr(1);return uy=function(t,r){var a=r||0,o=e;return[o[t[a++]],o[t[a++]],o[t[a++]],o[t[a++]],"-",o[t[a++]],o[t[a++]],"-",o[t[a++]],o[t[a++]],"-",o[t[a++]],o[t[a++]],"-",o[t[a++]],o[t[a++]],o[t[a++]],o[t[a++]],o[t[a++]],o[t[a++]]].join("")},uy}();return ly=function(r,a,o){var n=a&&o||0;"string"==typeof r&&(a="binary"===r?new Array(16):null,r=null);var i=(r=r||{}).random||(r.rng||e)();if(i[6]=15&i[6]|64,i[8]=63&i[8]|128,a)for(var s=0;s<16;++s)a[n+s]=i[s];return a||t(i)}}var yy,vy,by={},ky={};function wy(){if(yy)return ky;yy=1;var e=x.default;function t(t,r,a){return e.createHmac(a,t).update(r).digest("base64")}function r(e){return encodeURIComponent(e).replace(/!/g,"%21").replace(/\*/g,"%2A").replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/'/g,"%27")}function a(e,t){return e>t?1:e<t?-1:0}function o(e,t,o){var n=function(e){var t,r,a=[];for(t in e)if(r=e[t],Array.isArray(r))for(var o=0;o<r.length;o++)a.push([t,r[o]]);else if("object"==typeof r)for(var n in r)a.push([t+"["+n+"]",r[n]]);else a.push([t,r]);return a}(o).map((function(e){return[r(e[0]),r(e[1]||"")]})).sort((function(e,t){return a(e[0],t[0])||a(e[1],t[1])})).map((function(e){return e.join("=")})).join("&");return[r(e?e.toUpperCase():"GET"),r(t),r(n)].join("&")}function n(e,a,n,i,s){var c=o(e,a,n);return t([i||"",s||""].map(r).join("&"),c,"sha1")}function i(e,a,n,i,s){var c=o(e,a,n);return t([i||"",s||""].map(r).join("&"),c,"sha256")}function s(t,r,a,n,i){return function(t,r){return e.createSign("RSA-SHA1").update(r).sign(t,"base64")}(n||"",o(t,r,a))}function c(e,t){return[e||"",t||""].map(r).join("&")}return ky.hmacsign=n,ky.hmacsign256=i,ky.rsasign=s,ky.plaintext=c,ky.sign=function(e,t,r,a,o,u){var p,l=1;switch(e){case"RSA-SHA1":p=s;break;case"HMAC-SHA1":p=n;break;case"HMAC-SHA256":p=i;break;case"PLAINTEXT":p=c,l=4;break;default:throw new Error("Signature method not supported: "+e)}return p.apply(null,[].slice.call(arguments,l))},ky.rfc3986=r,ky.generateBase=o,ky}var xy,jy={};function Ey(){return xy||(xy=1,function(e){var t=x.default;e.calculateMac=function(e,r){var a="hawk.1.header\n"+r.ts+"\n"+r.nonce+"\n"+(r.method||"").toUpperCase()+"\n"+r.resource+"\n"+r.host.toLowerCase()+"\n"+r.port+"\n"+(r.hash||"")+"\n";return r.ext&&(a+=r.ext.replace("\\","\\\\").replace("\n","\\n")),a+="\n",r.app&&(a=a+r.app+"\n"+(r.dlg||"")+"\n"),t.createHmac(e.algorithm,e.key).update(a).digest("base64")},e.header=function(r,a,o){var n=o.timestamp||Math.floor((Date.now()+(o.localtimeOffsetMsec||0))/1e3),i=o.credentials;if(!(i&&i.id&&i.key&&i.algorithm))return"";if(-1===["sha1","sha256"].indexOf(i.algorithm))return"";var s,c,u,p,l,d,m={ts:n,nonce:o.nonce||(s=6,c=6*(s+1),t.randomBytes(Math.ceil(c/8)).toString("base64").replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,"").slice(0,s)),method:a,resource:r.pathname+(r.search||""),host:r.hostname,port:r.port||("http:"===r.protocol?80:443),hash:o.hash,ext:o.ext,app:o.app,dlg:o.dlg};m.hash||!o.payload&&""!==o.payload||(m.hash=(u=o.payload,p=i.algorithm,l=o.contentType,(d=t.createHash(p)).update("hawk.1.payload\n"),d.update((l?l.split(";")[0].trim().toLowerCase():"")+"\n"),d.update(u||""),d.update("\n"),d.digest("base64")));var h=e.calculateMac(i,m),f=null!==m.ext&&void 0!==m.ext&&""!==m.ext,g='Hawk id="'+i.id+'", ts="'+m.ts+'", nonce="'+m.nonce+(m.hash?'", hash="'+m.hash:"")+(f?'", ext="'+m.ext.replace(/\\/g,"\\\\").replace(/"/g,'\\"'):"")+'", mac="'+h+'"';return m.app&&(g=g+', app="'+m.app+(m.dlg?'", dlg="'+m.dlg:"")+'"'),g}}(jy)),jy}var Sy,_y={};var Py,Cy={};var Ty,Oy,Ay={},Iy={};function Fy(){if(Oy)return Ay;Oy=1;var e=A.default,t=function(){if(Ty)return Iy;Ty=1;var e,t=$.default,r=R.default,a=D.default,o=E.default,n=P.default,i=C.default,s=Cp.exports.Buffer;function c(e){var t=this;t.options=e||{},t.proxyOptions=t.options.proxy||{},t.maxSockets=t.options.maxSockets||r.Agent.defaultMaxSockets,t.requests=[],t.sockets=[],t.on("free",(function(e,r,a){for(var o=0,n=t.requests.length;o<n;++o){var i=t.requests[o];if(i.host===r&&i.port===a)return t.requests.splice(o,1),void i.request.onSocket(e)}e.destroy(),t.removeSocket(e)}))}function u(e,r){var a=this;c.prototype.createSocket.call(a,e,(function(o){var n=t.connect(0,p({},a.options,{servername:e.host,socket:o}));a.sockets[a.sockets.indexOf(o)]=n,r(n)}))}function p(e){for(var t=1,r=arguments.length;t<r;++t){var a=arguments[t];if("object"==typeof a)for(var o=Object.keys(a),n=0,i=o.length;n<i;++n){var s=o[n];void 0!==a[s]&&(e[s]=a[s])}}return e}return Iy.httpOverHttp=function(e){var t=new c(e);return t.request=r.request,t},Iy.httpsOverHttp=function(e){var t=new c(e);return t.request=r.request,t.createSocket=u,t.defaultPort=443,t},Iy.httpOverHttps=function(e){var t=new c(e);return t.request=a.request,t},Iy.httpsOverHttps=function(e){var t=new c(e);return t.request=a.request,t.createSocket=u,t.defaultPort=443,t},i.inherits(c,o.EventEmitter),c.prototype.addRequest=function(e,t){var r=this;"string"==typeof t&&(t={host:t,port:arguments[2],path:arguments[3]}),r.sockets.length>=this.maxSockets?r.requests.push({host:t.host,port:t.port,request:e}):r.createConnection({host:t.host,port:t.port,request:e})},c.prototype.createConnection=function(e){var t=this;t.createSocket(e,(function(r){function a(){t.emit("free",r,e.host,e.port)}function o(e){t.removeSocket(r),r.removeListener("free",a),r.removeListener("close",o),r.removeListener("agentRemove",o)}r.on("free",a),r.on("close",o),r.on("agentRemove",o),e.request.onSocket(r)}))},c.prototype.createSocket=function(t,r){var a=this,o={};a.sockets.push(o);var i=p({},a.proxyOptions,{method:"CONNECT",path:t.host+":"+t.port,agent:!1});i.proxyAuth&&(i.headers=i.headers||{},i.headers["Proxy-Authorization"]="Basic "+s.from(i.proxyAuth).toString("base64")),e("making CONNECT request");var c=a.request(i);function u(i,s,u){if(c.removeAllListeners(),s.removeAllListeners(),200===i.statusCode)n.equal(u.length,0),e("tunneling connection has established"),a.sockets[a.sockets.indexOf(o)]=s,r(s);else{e("tunneling socket could not be established, statusCode=%d",i.statusCode);var p=new Error("tunneling socket could not be established, statusCode="+i.statusCode);p.code="ECONNRESET",t.request.emit("error",p),a.removeSocket(o)}}c.useChunkedEncodingByDefault=!1,c.once("response",(function(e){e.upgrade=!0})),c.once("upgrade",(function(e,t,r){process.nextTick((function(){u(e,t,r)}))})),c.once("connect",u),c.once("error",(function(r){c.removeAllListeners(),e("tunneling socket could not be established, cause=%s\n",r.message,r.stack);var n=new Error("tunneling socket could not be established, cause="+r.message);n.code="ECONNRESET",t.request.emit("error",n),a.removeSocket(o)})),c.end()},c.prototype.removeSocket=function(e){var t=this.sockets.indexOf(e);if(-1!==t){this.sockets.splice(t,1);var r=this.requests.shift();r&&this.createConnection(r)}},e=process.env.NODE_DEBUG&&/\btunnel\b/.test(process.env.NODE_DEBUG)?function(){var e=Array.prototype.slice.call(arguments);"string"==typeof e[0]?e[0]="TUNNEL: "+e[0]:e.unshift("TUNNEL:"),console.error.apply(console,e)}:function(){},Iy.debug=e,Iy}(),r=["accept","accept-charset","accept-encoding","accept-language","accept-ranges","cache-control","content-encoding","content-language","content-location","content-md5","content-range","content-type","connection","date","expect","max-forwards","pragma","referer","te","user-agent","via"],a=["proxy-authorization"];function o(e){this.request=e,this.proxyHeaderWhiteList=r,this.proxyHeaderExclusiveList=[],void 0!==e.tunnel&&(this.tunnelOverride=e.tunnel)}return o.prototype.isEnabled=function(){var e=this,t=e.request;return void 0!==e.tunnelOverride?e.tunnelOverride:"https:"===t.uri.protocol},o.prototype.setup=function(r){var o=this,n=o.request;if(r=r||{},"string"==typeof n.proxy&&(n.proxy=e.parse(n.proxy)),!n.proxy||!n.tunnel)return!1;r.proxyHeaderWhiteList&&(o.proxyHeaderWhiteList=r.proxyHeaderWhiteList),r.proxyHeaderExclusiveList&&(o.proxyHeaderExclusiveList=r.proxyHeaderExclusiveList);var i,s,c,u=o.proxyHeaderExclusiveList.concat(a),p=o.proxyHeaderWhiteList.concat(u),l=function(e,t){var r=t.reduce((function(e,t){return e[t.toLowerCase()]=!0,e}),{});return Object.keys(e).filter((function(e){return r[e.toLowerCase()]})).reduce((function(t,r){return t[r]=e[r],t}),{})}(n.headers,p);l.host=(i=n.uri,s=i.port,c=i.protocol,i.hostname+":"+(s||("https:"===c?"443":"80"))),u.forEach(n.removeHeader,n);var d=function(e){var r=(a=e.uri,o=e.proxy,["https:"===a.protocol?"https":"http","https:"===o.protocol?"Https":"Http"].join("Over"));var a,o;return t[r]}(n),m=function(e,t){var r=e.proxy;return{proxy:{host:r.hostname,port:+r.port,proxyAuth:r.auth,headers:t},headers:e.headers,ca:e.ca,cert:e.cert,key:e.key,passphrase:e.passphrase,pfx:e.pfx,ciphers:e.ciphers,rejectUnauthorized:e.rejectUnauthorized,secureOptions:e.secureOptions,secureProtocol:e.secureProtocol}}(n,l);return n.agent=d(m),!0},o.defaultProxyHeaderWhiteList=r,o.defaultProxyHeaderExclusiveList=a,Ay.Tunnel=o,Ay}var Ry,Dy,Ny,zy={exports:{}};var By=ju,$y=Eu,Ly=_p.paramsHaveRequestBody;function qy(e,t,r){"function"==typeof t&&(r=t);var a={};return null!==t&&"object"==typeof t?By(a,t,{uri:e}):By(a,"string"==typeof e?{uri:e}:e),a.callback=r||a.callback,a}function Uy(e,t,r){if(void 0===e)throw new Error("undefined is not a valid uri or options object.");var a=qy(e,t,r);if("HEAD"===a.method&&Ly(a))throw new Error("HTTP HEAD requests MUST NOT include a request body.");return new Uy.Request(a)}function My(e){var t=e.toUpperCase();return function(e,r,a){var o=qy(e,r,a);return o.method=t,Uy(o,o.callback)}}function Hy(e,t,r,a){return function(o,n,i){var s=qy(o,n,i),c={};return By(!0,c,t,s),c.pool=s.pool||t.pool,a&&(c.method=a.toUpperCase()),"function"==typeof r&&(e=r),e(c,c.callback)}}Uy.get=My("get"),Uy.head=My("head"),Uy.options=My("options"),Uy.post=My("post"),Uy.put=My("put"),Uy.patch=My("patch"),Uy.del=My("delete"),Uy.delete=My("delete"),Uy.jar=function(e){return $y.jar(e)},Uy.cookie=function(e){return $y.parse(e)},Uy.defaults=function(e,t){var r=this;"function"==typeof(e=e||{})&&(t=e,e={});var a=Hy(r,e,t);return["get","head","post","put","patch","del","delete"].forEach((function(o){a[o]=Hy(r[o],e,t,o)})),a.cookie=Hy(r.cookie,e,t),a.jar=r.jar,a.defaults=r.defaults,a},Uy.forever=function(e,t){var r={};return t&&By(r,t),e&&(r.agentOptions=e),r.forever=!0,Uy.defaults(r)};var Ky,Vy,Gy=Uy;Uy.Request=function(){if(Ny)return Dy;Ny=1;var e=R.default,t=D.default,r=A.default,a=C.default,o=N.default,n=z.default,i=function(){if(Fp)return Rp.exports;Fp=1;
/*!
	 *  Copyright 2010 LearnBoost <dev@learnboost.com>
	 *
	 * Licensed under the Apache License, Version 2.0 (the "License");
	 * you may not use this file except in compliance with the License.
	 * You may obtain a copy of the License at
	 *
	 *     http://www.apache.org/licenses/LICENSE-2.0
	 *
	 * Unless required by applicable law or agreed to in writing, software
	 * distributed under the License is distributed on an "AS IS" BASIS,
	 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
	 * See the License for the specific language governing permissions and
	 * limitations under the License.
	 */
var e=x.default,t=A.default.parse,r=["acl","location","logging","notification","partNumber","policy","requestPayment","torrent","uploadId","uploads","versionId","versioning","versions","website"];function a(e){return"AWS "+e.key+":"+n(e)}function o(t){return e.createHmac("sha1",t.secret).update(t.message).digest("base64")}function n(e){return e.message=i(e),o(e)}function i(e){var t=e.amazonHeaders||"";return t&&(t+="\n"),[e.verb,e.md5,e.contentType,e.date?e.date.toUTCString():"",t+e.resource].join("\n")}function s(e){return"GET\n\n\n"+e.date+"\n"+e.resource}return Rp.exports=a,Rp.exports.authorization=a,Rp.exports.hmacSha1=o,Rp.exports.sign=n,Rp.exports.signQuery=function(e){return e.message=s(e),o(e)},Rp.exports.stringToSign=i,Rp.exports.queryStringToSign=s,Rp.exports.canonicalizeHeaders=function(e){for(var t=[],r=Object.keys(e),a=0,o=r.length;a<o;++a){var n,i=e[n=r[a]];0===(n=n.toLowerCase()).indexOf("x-amz")&&t.push(n+":"+i)}return t.sort().join("\n")},Rp.exports.canonicalizeResource=function(e){var a=t(e,!0),o=a.pathname,n=[];return Object.keys(a.query).forEach((function(e){if(~r.indexOf(e)){var t=""==a.query[e]?"":"="+encodeURIComponent(a.query[e]);n.push(e+t)}})),o+(n.length?"?"+n.sort().join("&"):"")},Rp.exports}(),s=Qp(),c=function(){if(fm)return hm;fm=1;var e=Zd(),t=bm(),r=km(),a=Yd();return hm={parse:e.parseRequest,parseRequest:e.parseRequest,sign:t.signRequest,signRequest:t.signRequest,createSigner:t.createSigner,isSigner:t.isSigner,sshKeyToPEM:a.sshKeyToPEM,sshKeyFingerprint:a.fingerprint,pemToRsaSSHKey:a.pemToRsaSSHKey,verify:r.verifySignature,verifySignature:r.verifySignature,verifyHMAC:r.verifyHMAC}}(),u=wm,p=Km(),l=function(){if(Sm)return Em;Sm=1,Em=i,i.SSL=s;var e=C.default,t=R.default.Agent,r=O.default,a=$.default,o=D.default.Agent;function n(e,t){return"string"==typeof e?e+":"+t:e.host+":"+e.port+":"+(e.localAddress?e.localAddress+":":":")}function i(e){var r=this;r.options=e||{},r.requests={},r.sockets={},r.freeSockets={},r.maxSockets=r.options.maxSockets||t.defaultMaxSockets,r.minSockets=r.options.minSockets||i.defaultMinSockets,r.on("free",(function(e,t,a){var o=n(t,a);if(r.requests[o]&&r.requests[o].length)r.requests[o].shift().onSocket(e);else if(r.sockets[o].length<r.minSockets){r.freeSockets[o]||(r.freeSockets[o]=[]),r.freeSockets[o].push(e);var i=function(){e.destroy()};e._onIdleError=i,e.on("error",i)}else e.destroy()}))}function s(e){i.call(this,e)}return e.inherits(i,t),i.defaultMinSockets=5,i.prototype.createConnection=r.createConnection,i.prototype.addRequestNoreuse=t.prototype.addRequest,i.prototype.addRequest=function(e,t,r){var a=n(t,r);if("string"!=typeof t){var o=t;r=o.port,t=o.host}if(this.freeSockets[a]&&this.freeSockets[a].length>0&&!e.useChunkedEncodingByDefault){var i=this.freeSockets[a].pop();i.removeListener("error",i._onIdleError),delete i._onIdleError,e._reusedSocket=!0,e.onSocket(i)}else this.addRequestNoreuse(e,t,r)},i.prototype.removeSocket=function(e,t,r,a){var o;this.sockets[t]?-1!==(o=this.sockets[t].indexOf(e))&&this.sockets[t].splice(o,1):this.sockets[t]&&0===this.sockets[t].length&&(delete this.sockets[t],delete this.requests[t]),this.freeSockets[t]&&-1!==(o=this.freeSockets[t].indexOf(e))&&(this.freeSockets[t].splice(o,1),0===this.freeSockets[t].length&&delete this.freeSockets[t]),this.requests[t]&&this.requests[t].length&&this.createSocket(t,r,a).emit("free")},e.inherits(s,i),s.prototype.createConnection=function(e,t,r){return"object"==typeof e?r=e:"object"==typeof t?r=t:"object"==typeof r||(r={}),"number"==typeof e&&(r.port=e),"string"==typeof t&&(r.host=t),a.connect(r)},s.prototype.addRequestNoreuse=o.prototype.addRequest,Em}(),d=mh(),m=ju,h=kh(),f=function(){if(gh)return fh;gh=1,fh=r,r.strict=a,r.loose=o;var e=Object.prototype.toString,t={"[object Int8Array]":!0,"[object Int16Array]":!0,"[object Int32Array]":!0,"[object Uint8Array]":!0,"[object Uint8ClampedArray]":!0,"[object Uint16Array]":!0,"[object Uint32Array]":!0,"[object Float32Array]":!0,"[object Float64Array]":!0};function r(e){return a(e)||o(e)}function a(e){return e instanceof Int8Array||e instanceof Int16Array||e instanceof Int32Array||e instanceof Uint8Array||e instanceof Uint8ClampedArray||e instanceof Uint16Array||e instanceof Uint32Array||e instanceof Float32Array||e instanceof Float64Array}function o(r){return t[e.call(r)]}return fh}().strict,g=_p,y=Eu,v=wh(),b=function(){if(Ih)return Fh;Ih=1;var e=zh(),t=B.default;function r(e){this.request=e,this.lib=null,this.useQuerystring=null,this.parseOptions=null,this.stringifyOptions=null}return r.prototype.init=function(r){this.lib||(this.useQuerystring=r.useQuerystring,this.lib=this.useQuerystring?t:e,this.parseOptions=r.qsParseOptions||{},this.stringifyOptions=r.qsStringifyOptions||{})},r.prototype.stringify=function(e){return this.useQuerystring?this.rfc3986(this.lib.stringify(e,this.stringifyOptions.sep||null,this.stringifyOptions.eq||null,this.stringifyOptions)):this.lib.stringify(e,this.stringifyOptions)},r.prototype.parse=function(e){return this.useQuerystring?this.lib.parse(e,this.parseOptions.sep||null,this.parseOptions.eq||null,this.parseOptions):this.lib.parse(e,this.parseOptions)},r.prototype.rfc3986=function(e){return e.replace(/[!'()*]/g,(function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()}))},r.prototype.unescape=t.unescape,Fh.Querystring=r,Fh}().Querystring,k=function(){if(oy)return Hh;oy=1;var e=w.default,t=B.default,r=iy(),a=ju;function o(e){this.request=e}return o.prototype.reducer=function(e,t){if(void 0===e[t.name])return e[t.name]=t.value,e;var r=[e[t.name],t.value];return e[t.name]=r,e},o.prototype.prep=function(e){if(e.queryObj={},e.headersObj={},e.postData.jsonObj=!1,e.postData.paramsObj=!1,e.queryString&&e.queryString.length&&(e.queryObj=e.queryString.reduce(this.reducer,{})),e.headers&&e.headers.length&&(e.headersObj=e.headers.reduceRight((function(e,t){return e[t.name]=t.value,e}),{})),e.cookies&&e.cookies.length){var r=e.cookies.map((function(e){return e.name+"="+e.value}));r.length&&(e.headersObj.cookie=r.join("; "))}function a(t){return t.some((function(t){return 0===e.postData.mimeType.indexOf(t)}))}if(a(["multipart/mixed","multipart/related","multipart/form-data","multipart/alternative"]))e.postData.mimeType="multipart/form-data";else if(a(["application/x-www-form-urlencoded"]))e.postData.params?(e.postData.paramsObj=e.postData.params.reduce(this.reducer,{}),e.postData.text=t.stringify(e.postData.paramsObj)):e.postData.text="";else if(a(["text/json","text/x-json","application/json","application/x-json"])&&(e.postData.mimeType="application/json",e.postData.text))try{e.postData.jsonObj=JSON.parse(e.postData.text)}catch(t){this.request.debug(t),e.postData.mimeType="text/plain"}return e},o.prototype.options=function(t){if(!t.har)return t;var o={};if(a(o,t.har),o.log&&o.log.entries&&(o=o.log.entries[0]),o.url=o.url||t.url||t.uri||t.baseUrl||"/",o.httpVersion=o.httpVersion||"HTTP/1.1",o.queryString=o.queryString||[],o.headers=o.headers||[],o.cookies=o.cookies||[],o.postData=o.postData||{},o.postData.mimeType=o.postData.mimeType||"application/octet-stream",o.bodySize=0,o.headersSize=0,o.postData.size=0,!r.request(o))return t;var n=this.prep(o);function i(e){return 0===n.postData.mimeType.indexOf(e)}return n.url&&(t.url=n.url),n.method&&(t.method=n.method),Object.keys(n.queryObj).length&&(t.qs=n.queryObj),Object.keys(n.headersObj).length&&(t.headers=n.headersObj),i("application/x-www-form-urlencoded")?t.form=n.postData.paramsObj:i("application/json")?n.postData.jsonObj&&(t.body=n.postData.jsonObj,t.json=!0):i("multipart/form-data")?(t.formData={},n.postData.params.forEach((function(r){var a={};r.fileName||r.contentType?(r.fileName&&!r.value?a.value=e.createReadStream(r.fileName):r.value&&(a.value=r.value),r.fileName&&(a.options={filename:r.fileName,contentType:r.contentType?r.contentType:null}),t.formData[r.name]=a):t.formData[r.name]=r.value}))):n.postData.text&&(t.body=n.postData.text),t},Hh.Har=o,Hh}().Har,j=function(){if(my)return hy;my=1;var e=Km(),t=gy(),r=_p,a=r.md5,o=r.toBase64;function n(e){this.request=e,this.hasAuth=!1,this.sentAuth=!1,this.bearerToken=null,this.user=null,this.pass=null}return n.prototype.basic=function(e,t,r){var a=this;if(("string"!=typeof e||void 0!==t&&"string"!=typeof t)&&a.request.emit("error",new Error("auth() received invalid user or password")),a.user=e,a.pass=t,a.hasAuth=!0,r||void 0===r){var n="Basic "+o(e+":"+(t||""));return a.sentAuth=!0,n}},n.prototype.bearer=function(e,t){var r=this;if(r.bearerToken=e,r.hasAuth=!0,t||void 0===t){"function"==typeof e&&(e=e());var a="Bearer "+(e||"");return r.sentAuth=!0,a}},n.prototype.digest=function(e,r,o){for(var n=this,i={},s=/([a-z0-9_-]+)=(?:"([^"]+)"|([a-z0-9_-]+))/gi;;){var c=s.exec(o);if(!c)break;i[c[1]]=c[2]||c[3]}var u=/(^|,)\s*auth\s*($|,)/.test(i.qop)&&"auth",p=u&&"00000001",l=u&&t().replace(/-/g,""),d=function(e,t,r,o,n,i){var s=a(t+":"+r+":"+o);return e&&"md5-sess"===e.toLowerCase()?a(s+":"+n+":"+i):s}(i.algorithm,n.user,i.realm,n.pass,i.nonce,l),m=a(e+":"+r),h=a(u?d+":"+i.nonce+":"+p+":"+l+":"+u+":"+m:d+":"+i.nonce+":"+m),f={username:n.user,realm:i.realm,nonce:i.nonce,uri:r,qop:u,response:h,nc:p,cnonce:l,algorithm:i.algorithm,opaque:i.opaque};for(var g in o=[],f)f[g]&&("qop"===g||"nc"===g||"algorithm"===g?o.push(g+"="+f[g]):o.push(g+'="'+f[g]+'"'));return o="Digest "+o.join(", "),n.sentAuth=!0,o},n.prototype.onRequest=function(e,t,r,a){var o,n=this,i=n.request;void 0===a&&void 0===e?n.request.emit("error",new Error("no auth mechanism defined")):o=void 0!==a?n.bearer(a,r):n.basic(e,t,r),o&&i.setHeader("authorization",o)},n.prototype.onResponse=function(t){var r=this,a=r.request;if(!r.hasAuth||r.sentAuth)return null;var o=e(t.headers).get("www-authenticate"),n=o&&o.split(" ")[0].toLowerCase();switch(a.debug("reauth",n),n){case"basic":return r.basic(r.user,r.pass,!0);case"bearer":return r.bearer(r.bearerToken,!0);case"digest":return r.digest(a.method,a.path,o)}},hy.Auth=n,hy}().Auth,E=function(){if(vy)return by;vy=1;var e=A.default,t=zh(),r=Km(),a=gy(),o=wy(),n=x.default,i=Cp.exports.Buffer;function s(e){this.request=e,this.params=null}return s.prototype.buildParams=function(e,t,r,n,i,s){var c={};for(var u in e)c["oauth_"+u]=e[u];c.oauth_version||(c.oauth_version="1.0"),c.oauth_timestamp||(c.oauth_timestamp=Math.floor(Date.now()/1e3).toString()),c.oauth_nonce||(c.oauth_nonce=a().replace(/-/g,"")),c.oauth_signature_method||(c.oauth_signature_method="HMAC-SHA1");var p=c.oauth_consumer_secret||c.oauth_private_key;delete c.oauth_consumer_secret,delete c.oauth_private_key;var l=c.oauth_token_secret;delete c.oauth_token_secret;var d=c.oauth_realm;delete c.oauth_realm,delete c.oauth_transport_method;var m=t.protocol+"//"+t.host+t.pathname,h=s.parse([].concat(n,i,s.stringify(c)).join("&"));return c.oauth_signature=o.sign(c.oauth_signature_method,r,m,h,p,l),d&&(c.realm=d),c},s.prototype.buildBodyHash=function(e,t){["HMAC-SHA1","RSA-SHA1"].indexOf(e.signature_method||"HMAC-SHA1")<0&&this.request.emit("error",new Error("oauth: "+e.signature_method+" signature_method not supported with body_hash signing."));var r=n.createHash("sha1");r.update(t||"");var a=r.digest("hex");return i.from(a,"hex").toString("base64")},s.prototype.concatParams=function(e,t,r){r=r||"";var a=Object.keys(e).filter((function(e){return"realm"!==e&&"oauth_signature"!==e})).sort();return e.realm&&a.splice(0,0,"realm"),a.push("oauth_signature"),a.map((function(t){return t+"="+r+o.rfc3986(e[t])+r})).join(t)},s.prototype.onRequest=function(a){var o=this;o.params=a;var n,i,s=o.request.uri||{},c=o.request.method||"",u=r(o.request.headers),p=o.request.body||"",l=o.request.qsLib||t,d=u.get("content-type")||"",m="application/x-www-form-urlencoded",h=a.transport_method||"header";d.slice(0,m.length)===m&&(d=m,n=p),s.query&&(i=s.query),"body"!==h||"POST"===c&&d===m||o.request.emit("error",new Error("oauth: transport_method of body requires POST and content-type "+m)),n||"boolean"!=typeof a.body_hash||(a.body_hash=o.buildBodyHash(a,o.request.body.toString()));var f=o.buildParams(a,s,c,i,n,l);switch(h){case"header":o.request.setHeader("Authorization","OAuth "+o.concatParams(f,",",'"'));break;case"query":var g=o.request.uri.href+=(i?"&":"?")+o.concatParams(f,"&");o.request.uri=e.parse(g),o.request.path=o.request.uri.path;break;case"body":o.request.body=(n?n+"&":"")+o.concatParams(f,"&");break;default:o.request.emit("error",new Error("oauth: transport_method invalid"))}},by.OAuth=s,by}().OAuth,S=Ey(),_=function(){if(Sy)return _y;Sy=1;var e=gy(),t=Vm(),r=kh(),a=Cp.exports.Buffer;function o(t){this.request=t,this.boundary=e(),this.chunked=!1,this.body=null}return o.prototype.isChunked=function(e){var t=this,a=!1,o=e.data||e;return o.forEach||t.request.emit("error",new Error("Argument error, options.multipart.")),void 0!==e.chunked&&(a=e.chunked),"chunked"===t.request.getHeader("transfer-encoding")&&(a=!0),a||o.forEach((function(e){void 0===e.body&&t.request.emit("error",new Error("Body attribute missing in multipart.")),r(e.body)&&(a=!0)})),a},o.prototype.setHeaders=function(e){var t=this;e&&!t.request.hasHeader("transfer-encoding")&&t.request.setHeader("transfer-encoding","chunked");var r=t.request.getHeader("content-type");r&&-1!==r.indexOf("multipart")?-1!==r.indexOf("boundary")?t.boundary=r.replace(/.*boundary=([^\s;]+).*/,"$1"):t.request.setHeader("content-type",r+"; boundary="+t.boundary):t.request.setHeader("content-type","multipart/related; boundary="+t.boundary)},o.prototype.build=function(e,r){var o=this,n=r?new t:[];function i(e){return"number"==typeof e&&(e=e.toString()),r?n.append(e):n.push(a.from(e))}return o.request.preambleCRLF&&i("\r\n"),e.forEach((function(e){var t="--"+o.boundary+"\r\n";Object.keys(e).forEach((function(r){"body"!==r&&(t+=r+": "+e[r]+"\r\n")})),i(t+="\r\n"),i(e.body),i("\r\n")})),i("--"+o.boundary+"--"),o.request.postambleCRLF&&i("\r\n"),n},o.prototype.onRequest=function(e){var t=this,r=t.isChunked(e),a=e.data||e;t.setHeaders(r),t.chunked=r,t.body=t.build(a,r)},_y.Multipart=o,_y}().Multipart,P=function(){if(Py)return Cy;Py=1;var e=A.default,t=/^https?:/;function r(e){this.request=e,this.followRedirect=!0,this.followRedirects=!0,this.followAllRedirects=!1,this.followOriginalHttpMethod=!1,this.allowRedirect=function(){return!0},this.maxRedirects=10,this.redirects=[],this.redirectsFollowed=0,this.removeRefererHeader=!1}return r.prototype.onRequest=function(e){var t=this;void 0!==e.maxRedirects&&(t.maxRedirects=e.maxRedirects),"function"==typeof e.followRedirect&&(t.allowRedirect=e.followRedirect),void 0!==e.followRedirect&&(t.followRedirects=!!e.followRedirect),void 0!==e.followAllRedirects&&(t.followAllRedirects=e.followAllRedirects),(t.followRedirects||t.followAllRedirects)&&(t.redirects=t.redirects||[]),void 0!==e.removeRefererHeader&&(t.removeRefererHeader=e.removeRefererHeader),void 0!==e.followOriginalHttpMethod&&(t.followOriginalHttpMethod=e.followOriginalHttpMethod)},r.prototype.redirectTo=function(e){var t=this,r=t.request,a=null;if(e.statusCode>=300&&e.statusCode<400&&e.caseless.has("location")){var o=e.caseless.get("location");if(r.debug("redirect",o),t.followAllRedirects)a=o;else if(t.followRedirects)switch(r.method){case"PATCH":case"PUT":case"POST":case"DELETE":break;default:a=o}}else if(401===e.statusCode){var n=r._auth.onResponse(e);n&&(r.setHeader("authorization",n),a=r.uri)}return a},r.prototype.onResponse=function(r){var a=this,o=a.request,n=a.redirectTo(r);if(!n||!a.allowRedirect.call(o,r))return!1;if(o.debug("redirect to",n),r.resume&&r.resume(),a.redirectsFollowed>=a.maxRedirects)return o.emit("error",new Error("Exceeded maxRedirects. Probably stuck in a redirect loop "+o.uri.href)),!1;a.redirectsFollowed+=1,t.test(n)||(n=e.resolve(o.uri.href,n));var i=o.uri;return o.uri=e.parse(n),o.uri.protocol!==i.protocol&&delete o.agent,a.redirects.push({statusCode:r.statusCode,redirectUri:n}),a.followAllRedirects&&"HEAD"!==o.method&&401!==r.statusCode&&307!==r.statusCode&&(o.method=a.followOriginalHttpMethod?o.method:"GET"),delete o.src,delete o.req,delete o._started,401!==r.statusCode&&307!==r.statusCode&&(delete o.body,delete o._form,o.headers&&(o.removeHeader("host"),o.removeHeader("content-type"),o.removeHeader("content-length"),o.uri.hostname!==o.originalHost.split(":")[0]&&o.removeHeader("authorization"))),a.removeRefererHeader||o.setHeader("referer",i.href),o.emit("redirect"),o.init(),!0},Cy.Redirect=r,Cy}().Redirect,T=Fy().Tunnel,I=(Ry||(Ry=1,function(){var e,t,r,a,o,n;"undefined"!=typeof performance&&null!==performance&&performance.now?zy.exports=function(){return performance.now()}:"undefined"!=typeof process&&null!==process&&process.hrtime?(zy.exports=function(){return(e()-o)/1e6},t=process.hrtime,a=(e=function(){var e;return 1e9*(e=t())[0]+e[1]})(),n=1e9*process.uptime(),o=a-n):Date.now?(zy.exports=function(){return Date.now()-r},r=Date.now()):(zy.exports=function(){return(new Date).getTime()-r},r=(new Date).getTime())}.call(L)),zy.exports),F=Cp.exports.Buffer,q=g.safeStringify,U=g.isReadStream,M=g.toBase64,H=g.defer,K=g.copy,V=g.version,G=y.jar(),Q={};function X(){var e=this;return{uri:e.uri,method:e.method,headers:e.headers}}function W(){var e=this;return{statusCode:e.statusCode,body:e.body,headers:e.headers,request:X.call(e.request)}}function Y(e){var t=this;e.har&&(t._har=new k(t),e=t._har.options(e)),o.Stream.call(t);var r=Object.keys(Y.prototype),a=function(e,t){var r={};for(var a in t)-1===e.indexOf(a)&&(r[a]=t[a]);return r}(r,e);m(t,a),e=function(e,t){var r={};for(var a in t){var o=!(-1===e.indexOf(a)),n="function"==typeof t[a];o&&n||(r[a]=t[a])}return r}(r,e),t.readable=!0,t.writable=!0,e.method&&(t.explicitMethod=!0),t._qs=new b(t),t._auth=new j(t),t._oauth=new E(t),t._multipart=new _(t),t._redirect=new P(t),t._tunnel=new T(t),t.init(e)}function Z(){Y.debug&&console.error("REQUEST %s",a.format.apply(a,arguments))}return a.inherits(Y,o.Stream),Y.debug=process.env.NODE_DEBUG&&/\brequest\b/.test(process.env.NODE_DEBUG),Y.prototype.debug=Z,Y.prototype.init=function(a){var o=this;for(var n in a||(a={}),o.headers=o.headers?K(o.headers):{},o.headers)void 0===o.headers[n]&&delete o.headers[n];if(p.httpify(o,o.headers),o.method||(o.method=a.method||"GET"),o.localAddress||(o.localAddress=a.localAddress),o._qs.init(a),Z(a),o.pool||!1===o.pool||(o.pool=Q),o.dests=o.dests||[],o.__isRequestRequest=!0,!o._callback&&o.callback&&(o._callback=o.callback,o.callback=function(){o._callbackCalled||(o._callbackCalled=!0,o._callback.apply(o,arguments))},o.on("error",o.callback.bind()),o.on("complete",o.callback.bind(o,null))),!o.uri&&o.url&&(o.uri=o.url,delete o.url),o.baseUrl){if("string"!=typeof o.baseUrl)return o.emit("error",new Error("options.baseUrl must be a string"));if("string"!=typeof o.uri)return o.emit("error",new Error("options.uri must be a string when using options.baseUrl"));if(0===o.uri.indexOf("//")||-1!==o.uri.indexOf("://"))return o.emit("error",new Error("options.uri must be a path when using options.baseUrl"));var i=o.baseUrl.lastIndexOf("/")===o.baseUrl.length-1,s=0===o.uri.indexOf("/");i&&s?o.uri=o.baseUrl+o.uri.slice(1):i||s?o.uri=o.baseUrl+o.uri:""===o.uri?o.uri=o.baseUrl:o.uri=o.baseUrl+"/"+o.uri,delete o.baseUrl}if(!o.uri)return o.emit("error",new Error("options.uri is a required argument"));if("string"==typeof o.uri&&(o.uri=r.parse(o.uri)),o.uri.href||(o.uri.href=r.format(o.uri)),"unix:"===o.uri.protocol)return o.emit("error",new Error("`unix://` URL scheme is no longer supported. Please use the format `http://unix:SOCKET:PATH`"));if("unix"===o.uri.host&&o.enableUnixSocket(),!1===o.strictSSL&&(o.rejectUnauthorized=!1),o.uri.pathname||(o.uri.pathname="/"),!(o.uri.host||o.uri.hostname&&o.uri.port||o.uri.isUnix)){var c='Invalid URI "'+r.format(o.uri)+'"';return 0===Object.keys(a).length&&(c+=". This can be caused by a crappy redirection."),o.abort(),o.emit("error",new Error(c))}if(o.hasOwnProperty("proxy")||(o.proxy=v(o.uri)),o.tunnel=o._tunnel.isEnabled(),o.proxy&&o._tunnel.setup(a),o._redirect.onRequest(a),o.setHost=!1,!o.hasHeader("host")){var d=o.originalHostHeaderName||"host";o.setHeader(d,o.uri.host),o.uri.port&&("80"===o.uri.port&&"http:"===o.uri.protocol||"443"===o.uri.port&&"https:"===o.uri.protocol)&&o.setHeader(d,o.uri.hostname),o.setHost=!0}if(o.jar(o._jar||a.jar),o.uri.port||("http:"===o.uri.protocol?o.uri.port=80:"https:"===o.uri.protocol&&(o.uri.port=443)),o.proxy&&!o.tunnel?(o.port=o.proxy.port,o.host=o.proxy.hostname):(o.port=o.uri.port,o.host=o.uri.hostname),a.form&&o.form(a.form),a.formData){var m=a.formData,g=o.form(),y=function(e,t){t&&t.hasOwnProperty("value")&&t.hasOwnProperty("options")?g.append(e,t.value,t.options):g.append(e,t)};for(var b in m)if(m.hasOwnProperty(b)){var k=m[b];if(k instanceof Array)for(var w=0;w<k.length;w++)y(b,k[w]);else y(b,k)}}if(a.qs&&o.qs(a.qs),o.uri.path?o.path=o.uri.path:o.path=o.uri.pathname+(o.uri.search||""),0===o.path.length&&(o.path="/"),a.aws&&o.aws(a.aws),a.hawk&&o.hawk(a.hawk),a.httpSignature&&o.httpSignature(a.httpSignature),a.auth&&(Object.prototype.hasOwnProperty.call(a.auth,"username")&&(a.auth.user=a.auth.username),Object.prototype.hasOwnProperty.call(a.auth,"password")&&(a.auth.pass=a.auth.password),o.auth(a.auth.user,a.auth.pass,a.auth.sendImmediately,a.auth.bearer)),o.gzip&&!o.hasHeader("accept-encoding")&&o.setHeader("accept-encoding","gzip, deflate"),o.uri.auth&&!o.hasHeader("authorization")){var x=o.uri.auth.split(":").map((function(e){return o._qs.unescape(e)}));o.auth(x[0],x.slice(1).join(":"),!0)}if(!o.tunnel&&o.proxy&&o.proxy.auth&&!o.hasHeader("proxy-authorization")){var j=o.proxy.auth.split(":").map((function(e){return o._qs.unescape(e)})),E="Basic "+M(j.join(":"));o.setHeader("proxy-authorization",E)}function S(){var e;(f(o.body)&&(o.body=F.from(o.body)),o.hasHeader("content-length"))||((e="string"==typeof o.body?F.byteLength(o.body):Array.isArray(o.body)?o.body.reduce((function(e,t){return e+t.length}),0):o.body.length)?o.setHeader("content-length",e):o.emit("error",new Error("Argument error, options.body.")))}o.proxy&&!o.tunnel&&(o.path=o.uri.protocol+"//"+o.uri.host+o.path),a.json&&o.json(a.json),a.multipart&&o.multipart(a.multipart),a.time&&(o.timing=!0,o.elapsedTime=o.elapsedTime||0),o.body&&!h(o.body)&&S(),a.oauth?o.oauth(a.oauth):o._oauth.params&&o.hasHeader("authorization")&&o.oauth(o._oauth.params);var _=o.proxy&&!o.tunnel?o.proxy.protocol:o.uri.protocol,P={"http:":e,"https:":t},C=o.httpModules||{};if(o.httpModule=C[_]||P[_],!o.httpModule)return o.emit("error",new Error("Invalid protocol: "+_));if(a.ca&&(o.ca=a.ca),!o.agent)if(a.agentOptions&&(o.agentOptions=a.agentOptions),a.agentClass)o.agentClass=a.agentClass;else if(a.forever){var T=V();0===T.major&&T.minor<=10?o.agentClass="http:"===_?l:l.SSL:(o.agentClass=o.httpModule.Agent,o.agentOptions=o.agentOptions||{},o.agentOptions.keepAlive=!0)}else o.agentClass=o.httpModule.Agent;!1===o.pool?o.agent=!1:o.agent=o.agent||o.getNewAgent(),o.on("pipe",(function(e){if(o.ntick&&o._started&&o.emit("error",new Error("You cannot pipe to this stream after the outbound request has started.")),o.src=e,U(e))o.hasHeader("content-type")||o.setHeader("content-type",u.lookup(e.path));else{if(e.headers)for(var t in e.headers)o.hasHeader(t)||o.setHeader(t,e.headers[t]);o._json&&!o.hasHeader("content-type")&&o.setHeader("content-type","application/json"),e.method&&!o.explicitMethod&&(o.method=e.method)}})),H((function(){if(!o._aborted){var e=function(){if(o._form&&(o._auth.hasAuth?o._auth.hasAuth&&o._auth.sentAuth&&o._form.pipe(o):o._form.pipe(o)),o._multipart&&o._multipart.chunked&&o._multipart.body.pipe(o),o.body)h(o.body)?o.body.pipe(o):(S(),Array.isArray(o.body)?o.body.forEach((function(e){o.write(e)})):o.write(o.body),o.end());else if(o.requestBodyStream)console.warn("options.requestBodyStream is deprecated, please pass the request object to stream.pipe."),o.requestBodyStream.pipe(o);else if(!o.src){if(o._auth.hasAuth&&!o._auth.sentAuth)return void o.end();"GET"!==o.method&&void 0!==o.method&&o.setHeader("content-length",0),o.end()}};o._form&&!o.hasHeader("content-length")?(o.setHeader(o._form.getHeaders(),!0),o._form.getLength((function(t,r){t||isNaN(r)||o.setHeader("content-length",r),e()}))):e(),o.ntick=!0}}))},Y.prototype.getNewAgent=function(){var e=this,t=e.agentClass,a={};if(e.agentOptions)for(var o in e.agentOptions)a[o]=e.agentOptions[o];e.ca&&(a.ca=e.ca),e.ciphers&&(a.ciphers=e.ciphers),e.secureProtocol&&(a.secureProtocol=e.secureProtocol),e.secureOptions&&(a.secureOptions=e.secureOptions),void 0!==e.rejectUnauthorized&&(a.rejectUnauthorized=e.rejectUnauthorized),e.cert&&e.key&&(a.key=e.key,a.cert=e.cert),e.pfx&&(a.pfx=e.pfx),e.passphrase&&(a.passphrase=e.passphrase);var n="";t!==e.httpModule.Agent&&(n+=t.name);var i=e.proxy;return"string"==typeof i&&(i=r.parse(i)),(i&&"https:"===i.protocol||"https:"===this.uri.protocol)&&(a.ca&&(n&&(n+=":"),n+=a.ca),void 0!==a.rejectUnauthorized&&(n&&(n+=":"),n+=a.rejectUnauthorized),a.cert&&(n&&(n+=":"),n+=a.cert.toString("ascii")+a.key.toString("ascii")),a.pfx&&(n&&(n+=":"),n+=a.pfx.toString("ascii")),a.ciphers&&(n&&(n+=":"),n+=a.ciphers),a.secureProtocol&&(n&&(n+=":"),n+=a.secureProtocol),a.secureOptions&&(n&&(n+=":"),n+=a.secureOptions)),e.pool===Q&&!n&&0===Object.keys(a).length&&e.httpModule.globalAgent?e.httpModule.globalAgent:(n=e.uri.protocol+n,e.pool[n]||(e.pool[n]=new t(a),e.pool.maxSockets&&(e.pool[n].maxSockets=e.pool.maxSockets)),e.pool[n])},Y.prototype.start=function(){var e=this;if(e.timing)var t=(new Date).getTime(),r=I();if(!e._aborted){e._started=!0,e.method=e.method||"GET",e.href=e.uri.href,e.src&&e.src.stat&&e.src.stat.size&&!e.hasHeader("content-length")&&e.setHeader("content-length",e.src.stat.size),e._aws&&e.aws(e._aws,!0);var a,o=K(e);delete o.auth,Z("make request",e.uri.href),delete o.timeout;try{e.req=e.httpModule.request(o)}catch(t){return void e.emit("error",t)}e.timing&&(e.startTime=t,e.startTimeNow=r,e.timings={}),e.timeout&&!e.timeoutTimer&&(e.timeout<0?a=0:"number"==typeof e.timeout&&isFinite(e.timeout)&&(a=e.timeout)),e.req.on("response",e.onRequestResponse.bind(e)),e.req.on("error",e.onRequestError.bind(e)),e.req.on("drain",(function(){e.emit("drain")})),e.req.on("socket",(function(t){var r=t._connecting||t.connecting;if(e.timing&&(e.timings.socket=I()-e.startTimeNow,r)){var o=function(){e.timings.lookup=I()-e.startTimeNow},n=function(){e.timings.connect=I()-e.startTimeNow};t.once("lookup",o),t.once("connect",n),e.req.once("error",(function(){t.removeListener("lookup",o),t.removeListener("connect",n)}))}var i=function(){e.req.setTimeout(a,(function(){if(e.req){e.abort();var t=new Error("ESOCKETTIMEDOUT");t.code="ESOCKETTIMEDOUT",t.connect=!1,e.emit("error",t)}}))};if(void 0!==a)if(r){var s=function(){t.removeListener("connect",s),e.clearTimeout(),i()};t.on("connect",s),e.req.on("error",(function(e){t.removeListener("connect",s)})),e.timeoutTimer=setTimeout((function(){t.removeListener("connect",s),e.abort();var r=new Error("ETIMEDOUT");r.code="ETIMEDOUT",r.connect=!0,e.emit("error",r)}),a)}else i();e.emit("socket",t)})),e.emit("request",e.req)}},Y.prototype.onRequestError=function(e){var t=this;if(!t._aborted){if(t.req&&t.req._reusedSocket&&"ECONNRESET"===e.code&&t.agent.addRequestNoreuse)return t.agent={addRequest:t.agent.addRequestNoreuse.bind(t.agent)},t.start(),void t.req.end();t.clearTimeout(),t.emit("error",e)}},Y.prototype.onRequestResponse=function(e){var r=this;if(r.timing&&(r.timings.response=I()-r.startTimeNow),Z("onRequestResponse",r.uri.href,e.statusCode,e.headers),e.on("end",(function(){r.timing&&(r.timings.end=I()-r.startTimeNow,e.timingStart=r.startTime,r.timings.socket||(r.timings.socket=0),r.timings.lookup||(r.timings.lookup=r.timings.socket),r.timings.connect||(r.timings.connect=r.timings.lookup),r.timings.response||(r.timings.response=r.timings.connect),Z("elapsed time",r.timings.end),r.elapsedTime+=Math.round(r.timings.end),e.elapsedTime=r.elapsedTime,e.timings=r.timings,e.timingPhases={wait:r.timings.socket,dns:r.timings.lookup-r.timings.socket,tcp:r.timings.connect-r.timings.lookup,firstByte:r.timings.response-r.timings.connect,download:r.timings.end-r.timings.response,total:r.timings.end}),Z("response end",r.uri.href,e.statusCode,e.headers)})),r._aborted)return Z("aborted",r.uri.href),void e.resume();if(r.response=e,e.request=r,e.toJSON=W,r.httpModule!==t||!r.strictSSL||e.hasOwnProperty("socket")&&e.socket.authorized){r.originalHost=r.getHeader("host"),r.originalHostHeaderName||(r.originalHostHeaderName=r.hasHeader("host")),r.setHost&&r.removeHeader("host"),r.clearTimeout();var a=r._jar&&r._jar.setCookie?r._jar:G,o=function(e){try{a.setCookie(e,r.uri.href,{ignoreError:!0})}catch(e){r.emit("error",e)}};if(e.caseless=p(e.headers),e.caseless.has("set-cookie")&&!r._disableCookies){var i=e.caseless.has("set-cookie");Array.isArray(e.headers[i])?e.headers[i].forEach(o):o(e.headers[i])}if(!r._redirect.onResponse(e)){e.on("close",(function(){r._ended||r.response.emit("end")})),e.once("end",(function(){r._ended=!0}));var s;if(r.gzip&&!function(e){return"HEAD"===r.method||e>=100&&e<200||204===e||304===e}(e.statusCode)){var c=e.headers["content-encoding"]||"identity";c=c.trim().toLowerCase();var u={flush:n.Z_SYNC_FLUSH,finishFlush:n.Z_SYNC_FLUSH};"gzip"===c?(s=n.createGunzip(u),e.pipe(s)):"deflate"===c?(s=n.createInflate(u),e.pipe(s)):("identity"!==c&&Z("ignoring unrecognized Content-Encoding "+c),s=e)}else s=e;r.encoding&&(0!==r.dests.length?console.error("Ignoring encoding parameter as this stream is being piped to another stream which makes the encoding option invalid."):s.setEncoding(r.encoding)),r._paused&&s.pause(),r.responseContent=s,r.emit("response",e),r.dests.forEach((function(e){r.pipeDest(e)})),s.on("data",(function(t){r.timing&&!r.responseStarted&&(r.responseStartTime=(new Date).getTime(),e.responseStartTime=r.responseStartTime),r._destdata=!0,r.emit("data",t)})),s.once("end",(function(e){r.emit("end",e)})),s.on("error",(function(e){r.emit("error",e)})),s.on("close",(function(){r.emit("close")})),r.callback?r.readResponseBody(e):r.on("end",(function(){r._aborted?Z("aborted",r.uri.href):r.emit("complete",e)})),Z("finish init function",r.uri.href)}}else{Z("strict ssl error",r.uri.href);var l=e.hasOwnProperty("socket")?e.socket.authorizationError:r.uri.href+" does not support SSL";r.emit("error",new Error("SSL Error: "+l))}},Y.prototype.readResponseBody=function(e){var t=this;Z("reading response's body");var r=[],a=0,o=[];t.on("data",(function(e){F.isBuffer(e)?e.length&&(a+=e.length,r.push(e)):o.push(e)})),t.on("end",(function(){if(Z("end event",t.uri.href),t._aborted)return Z("aborted",t.uri.href),r=[],void(a=0);if(a?(Z("has body",t.uri.href,a),e.body=F.concat(r,a),null!==t.encoding&&(e.body=e.body.toString(t.encoding)),r=[],a=0):o.length&&("utf8"===t.encoding&&o[0].length>0&&"\ufeff"===o[0][0]&&(o[0]=o[0].substring(1)),e.body=o.join("")),t._json)try{e.body=JSON.parse(e.body,t._jsonReviver)}catch(e){Z("invalid JSON received",t.uri.href)}Z("emitting complete",t.uri.href),void 0!==e.body||t._json||(e.body=null===t.encoding?F.alloc(0):""),t.emit("complete",e,e.body)}))},Y.prototype.abort=function(){var e=this;e._aborted=!0,e.req?e.req.abort():e.response&&e.response.destroy(),e.clearTimeout(),e.emit("abort")},Y.prototype.pipeDest=function(e){var t=this,r=t.response;if(e.headers&&!e.headersSent){if(r.caseless.has("content-type")){var a=r.caseless.has("content-type");e.setHeader?e.setHeader(a,r.headers[a]):e.headers[a]=r.headers[a]}if(r.caseless.has("content-length")){var o=r.caseless.has("content-length");e.setHeader?e.setHeader(o,r.headers[o]):e.headers[o]=r.headers[o]}}if(e.setHeader&&!e.headersSent){for(var n in r.headers)t.gzip&&"content-encoding"===n||e.setHeader(n,r.headers[n]);e.statusCode=r.statusCode}t.pipefilter&&t.pipefilter(r,e)},Y.prototype.qs=function(e,t){var a,o=this;for(var n in a=!t&&o.uri.query?o._qs.parse(o.uri.query):{},e)a[n]=e[n];var i=o._qs.stringify(a);return""===i||(o.uri=r.parse(o.uri.href.split("?")[0]+"?"+i),o.url=o.uri,o.path=o.uri.path,"unix"===o.uri.host&&o.enableUnixSocket()),o},Y.prototype.form=function(e){var t=this;return e?(/^application\/x-www-form-urlencoded\b/.test(t.getHeader("content-type"))||t.setHeader("content-type","application/x-www-form-urlencoded"),t.body="string"==typeof e?t._qs.rfc3986(e.toString("utf8")):t._qs.stringify(e).toString("utf8"),t):(t._form=new d,t._form.on("error",(function(e){e.message="form-data: "+e.message,t.emit("error",e),t.abort()})),t._form)},Y.prototype.multipart=function(e){var t=this;return t._multipart.onRequest(e),t._multipart.chunked||(t.body=t._multipart.body),t},Y.prototype.json=function(e){var t=this;return t.hasHeader("accept")||t.setHeader("accept","application/json"),"function"==typeof t.jsonReplacer&&(t._jsonReplacer=t.jsonReplacer),t._json=!0,"boolean"==typeof e?void 0!==t.body&&(/^application\/x-www-form-urlencoded\b/.test(t.getHeader("content-type"))?t.body=t._qs.rfc3986(t.body):t.body=q(t.body,t._jsonReplacer),t.hasHeader("content-type")||t.setHeader("content-type","application/json")):(t.body=q(e,t._jsonReplacer),t.hasHeader("content-type")||t.setHeader("content-type","application/json")),"function"==typeof t.jsonReviver&&(t._jsonReviver=t.jsonReviver),t},Y.prototype.getHeader=function(e,t){var r,a;return t||(t=this.headers),Object.keys(t).forEach((function(o){o.length===e.length&&(a=new RegExp(e,"i"),o.match(a)&&(r=t[o]))})),r},Y.prototype.enableUnixSocket=function(){var e=this.uri.path.split(":"),t=e[0],r=e[1];this.socketPath=t,this.uri.pathname=r,this.uri.path=r,this.uri.host=t,this.uri.hostname=t,this.uri.isUnix=!0},Y.prototype.auth=function(e,t,r,a){return this._auth.onRequest(e,t,r,a),this},Y.prototype.aws=function(e,t){var r=this;if(!t)return r._aws=e,r;if(4===e.sign_version||"4"===e.sign_version){var a={host:r.uri.host,path:r.uri.path,method:r.method,headers:r.headers,body:r.body};e.service&&(a.service=e.service);var o=s.sign(a,{accessKeyId:e.key,secretAccessKey:e.secret,sessionToken:e.session});r.setHeader("authorization",o.headers.Authorization),r.setHeader("x-amz-date",o.headers["X-Amz-Date"]),o.headers["X-Amz-Security-Token"]&&r.setHeader("x-amz-security-token",o.headers["X-Amz-Security-Token"])}else{var n=new Date;r.setHeader("date",n.toUTCString());var c={key:e.key,secret:e.secret,verb:r.method.toUpperCase(),date:n,contentType:r.getHeader("content-type")||"",md5:r.getHeader("content-md5")||"",amazonHeaders:i.canonicalizeHeaders(r.headers)},u=r.uri.path;e.bucket&&u?c.resource="/"+e.bucket+u:e.bucket&&!u?c.resource="/"+e.bucket:!e.bucket&&u?c.resource=u:e.bucket||u||(c.resource="/"),c.resource=i.canonicalizeResource(c.resource),r.setHeader("authorization",i.authorization(c))}return r},Y.prototype.httpSignature=function(e){var t=this;return c.signRequest({getHeader:function(e){return t.getHeader(e,t.headers)},setHeader:function(e,r){t.setHeader(e,r)},method:t.method,path:t.path},e),Z("httpSignature authorization",t.getHeader("authorization")),t},Y.prototype.hawk=function(e){var t=this;t.setHeader("Authorization",S.header(t.uri,t.method,e))},Y.prototype.oauth=function(e){return this._oauth.onRequest(e),this},Y.prototype.jar=function(e){var t,r=this;if(0===r._redirect.redirectsFollowed&&(r.originalCookieHeader=r.getHeader("cookie")),e){var a=e.getCookieString?e:G,o=r.uri.href;a&&(t=a.getCookieString(o))}else t=!1,r._disableCookies=!0;return t&&t.length&&(r.originalCookieHeader?r.setHeader("cookie",r.originalCookieHeader+"; "+t):r.setHeader("cookie",t)),r._jar=e,r},Y.prototype.pipe=function(e,t){var r=this;if(!r.response)return r.dests.push(e),o.Stream.prototype.pipe.call(r,e,t),e;if(r._destdata)r.emit("error",new Error("You cannot pipe after data has been emitted from the response."));else{if(!r._ended)return o.Stream.prototype.pipe.call(r,e,t),r.pipeDest(e),e;r.emit("error",new Error("You cannot pipe after the response has been ended."))}},Y.prototype.write=function(){var e=this;if(!e._aborted)return e._started||e.start(),e.req?e.req.write.apply(e.req,arguments):void 0},Y.prototype.end=function(e){var t=this;t._aborted||(e&&t.write(e),t._started||t.start(),t.req&&t.req.end())},Y.prototype.pause=function(){var e=this;e.responseContent?e.responseContent.pause.apply(e.responseContent,arguments):e._paused=!0},Y.prototype.resume=function(){var e=this;e.responseContent?e.responseContent.resume.apply(e.responseContent,arguments):e._paused=!1},Y.prototype.destroy=function(){var e=this;this.clearTimeout(),e._ended?e.response&&e.response.destroy():e.end()},Y.prototype.clearTimeout=function(){this.timeoutTimer&&(clearTimeout(this.timeoutTimer),this.timeoutTimer=null)},Y.defaultProxyHeaderWhiteList=T.defaultProxyHeaderWhiteList.slice(),Y.defaultProxyHeaderExclusiveList=T.defaultProxyHeaderExclusiveList.slice(),Y.prototype.toJSON=X,Dy=Y}(),Uy.initParams=qy,Object.defineProperty(Uy,"debug",{enumerable:!0,get:function(){return Uy.Request.debug},set:function(e){Uy.Request.debug=e}});var Qy=hu,Xy=Gy,Wy=wm,Yy=N.default,Zy=fr,Jy=w.default;function ev(e,t){var r,a=e.Query||{},o=e.QueryString||"";a["response-content-type"]=e.ResponseContentType,a["response-content-language"]=e.ResponseContentLanguage,a["response-expires"]=e.ResponseExpires,a["response-cache-control"]=e.ResponseCacheControl,a["response-content-disposition"]=e.ResponseContentDisposition,a["response-content-encoding"]=e.ResponseContentEncoding;var n=this,i=e.Output;e.ReturnStream?(i=new Yy.PassThrough,r="stream"):i&&"string"==typeof i?(i=Jy.createWriteStream(i),r="stream"):r=i&&"function"==typeof i.pipe?"stream":"buffer";var s,c,u,p,l,d,m=e.onProgress,h=(c=Date.now(),u=0,p=0,l=0,d=function(){if(s=0,m&&"function"==typeof m){var e=Date.now(),t=parseInt((p-u)/((e-c)/1e3)*100)/100||0,r=parseInt(p/l*100)/100||0;c=e,u=p;try{m({loaded:p,total:l,speed:t,percent:r})}catch(e){}}},function(e,t){if(e&&e.loaded&&(p=e.loaded,l=e.total),t)clearTimeout(s),d();else{if(s)return;s=setTimeout(d,n.options.ProgressInterval||1e3)}});if(cv.call(this,{Action:"name/cos:GetObject",method:"GET",Bucket:e.Bucket,Region:e.Region,Key:e.Key,VersionId:e.VersionId,headers:e.Headers,qs:a,qsStr:o,rawBody:!0,outputStream:i,onDownloadProgress:h},(function(a,o){if(h(null,!0),a){var n=a.statusCode;return e.Headers["If-Modified-Since"]&&n&&304===n?t(null,{NotModified:!0}):(i&&i.emit("error",a),t(a))}var s={};o.body&&("buffer"===r?s.Body=Buffer.from(o.body):"string"===r&&(s.Body=o.body)),Zy.extend(s,{ETag:Zy.attr(o.headers,"etag",""),statusCode:o.statusCode,headers:o.headers}),t(null,s)})),e.ReturnStream)return i}function tv(e,t){if(!e.SelectType)return t(Zy.error(new Error("missing param SelectType")));var r,a=e.SelectRequest||{},o=Zy.json2xml({SelectRequest:a}),n=e.Headers;n["Content-Type"]="application/xml",n["Content-MD5"]=Zy.binaryBase64(Zy.md5(o));var i={},s=function(){if(Vy)return Ky;Vy=1;var{Transform:e}=N.default,t=C.default,r=fr;function a(t){if(!(this instanceof a))return new a(t);e.call(this,t),Object.assign(this,{totalLength:0,headerLength:0,payloadRestLength:0,header:null,chunk:Buffer.alloc(0),callback:null})}return a.prototype={processChunk(e,t,r){Object.assign(this,{chunk:Buffer.concat([this.chunk,e],this.chunk.length+e.length),encoding:t,callback:r}),this.parseLength(),this.parseHeader(),this.parsePayload()},parseLength(){this.callback&&(this.totalLength&&this.headerLength||(this.chunk.length>=12?(this.totalLength=this.chunk.readInt32BE(0),this.headerLength=this.chunk.readInt32BE(4),this.payloadRestLength=this.totalLength-this.headerLength-16,this.chunk=this.chunk.slice(12)):(this.callback(),this.callback=null)))},parseHeader(){if(this.callback&&this.headerLength&&!this.header)if(this.chunk.length>=this.headerLength){for(var e={},t=0;t<this.headerLength;){var r=1*this.chunk[t],a=this.chunk.toString("ascii",t+1,t+1+r),o=this.chunk.readInt16BE(t+r+2),n=this.chunk.toString("ascii",t+r+4,t+r+4+o);e[a]=n,t+=r+4+o}this.header=e,this.chunk=this.chunk.slice(this.headerLength),this.checkErrorHeader()}else this.callback(),this.callback=null},parsePayload(){var e=this;this.callback&&(this.chunk.length<=this.payloadRestLength?(this.payloadRestLength-=this.chunk.length,this.pushData(this.chunk),this.chunk=Buffer.alloc(0)):this.chunk.length<this.payloadRestLength+4?(this.pushData(this.chunk.slice(0,this.payloadRestLength)),this.chunk=this.chunk.slice(this.payloadRestLength),this.payloadRestLength=0):(this.pushData(this.chunk.slice(0,this.payloadRestLength)),this.chunk=this.chunk.slice(this.payloadRestLength+4),this.totalLength=0,this.headerLength=0,this.payloadRestLength=0,this.header=null),!this.chunk.length||0===this.payloadRestLength&&this.chunk.length<4?(this.callback(),this.callback=null):process.nextTick((function(){e.processChunk(Buffer.alloc(0),e.encoding,e.callback)})))},pushData(e){if("Records"===this.header[":event-type"])this.push(e),this.emit("message:records",e);else if("Progress"===this.header[":event-type"]){var t=r.xml2json(e.toString()).Progress;this.emit("message:progress",t)}else if("Stats"===this.header[":event-type"]){var a=r.xml2json(e.toString()).Stats;this.emit("message:stats",a)}else if("error"===this.header[":event-type"]){var o=this.header[":error-code"],n=this.header[":error-message"],i=new Error(n);i.message=n,i.name=i.code=o,this.emit("message:error",i)}else this.emit("message:"+this.header[":event-type"].toLowerCase())},checkErrorHeader(){"error"===this.header[":message-type"]&&(this.callback(this.header),this.callback=null)},_transform(e,t,r){this.processChunk(e,t,r)},_flush(e){this.processChunk(Buffer.alloc(0),this.encoding,e)}},t.inherits(a,e),Ky=a}();return e.ReturnStream&&"raw"===e.DataType?r=new Yy.PassThrough:((r=new s).on("message:progress",(function(t){"function"==typeof e.onProgress&&e.onProgress(t)})),r.on("message:stats",(function(e){i.stats=e})),r.on("message:error",(function(e){i.error=e}))),cv.call(this,{Action:"name/cos:GetObject",method:"POST",Bucket:e.Bucket,Region:e.Region,Key:e.Key,headers:e.Headers,action:"select",qs:{"select-type":e.SelectType},VersionId:e.VersionId,body:o,rawBody:!0,outputStream:r},(function(e,a){if(e&&204===e.statusCode)return t(null,{statusCode:e.statusCode});if(e)return r&&r.emit("error",e),t(e);if(i.error)return t(Zy.extend(i.error,{statusCode:a.statusCode,headers:a.headers}));var o={statusCode:a.statusCode,headers:a.headers};i.stats&&(o.Stats=i.stats),i.records&&(o.Payload=Buffer.concat(i.records)),t(null,o)})),e.ReturnStream||"raw"===e.DataType||(i.records=[],r.pipe(new Yy.Writable({write:function(e,t,r){i.records.push(e),r()},writev:function(e,t,r){e.forEach((function(t){i.records.push(e)})),r()}})),r.pipe(r)),e.ReturnStream?r:void 0}function rv(e){var t={GrantFullControl:[],GrantWrite:[],GrantRead:[],GrantReadAcp:[],GrantWriteAcp:[],ACL:""},r={FULL_CONTROL:"GrantFullControl",WRITE:"GrantWrite",READ:"GrantRead",READ_ACP:"GrantReadAcp",WRITE_ACP:"GrantWriteAcp"},a=(e&&e.AccessControlList||{}).Grant;a&&(a=Zy.isArray(a)?a:[a]);var o={READ:0,WRITE:0,FULL_CONTROL:0};return a&&a.length&&Zy.each(a,(function(a){"qcs::cam::anyone:anyone"===a.Grantee.ID||"http://cam.qcloud.com/groups/global/AllUsers"===a.Grantee.URI?o[a.Permission]=1:a.Grantee.ID!==e.Owner.ID&&t[r[a.Permission]].push('id="'+a.Grantee.ID+'"')})),o.FULL_CONTROL||o.WRITE&&o.READ?t.ACL="public-read-write":o.READ?t.ACL="public-read":t.ACL="private",Zy.each(r,(function(e){t[e]=av(t[e].join(","))})),t}function av(e){var t,r,a=e.split(","),o={};for(t=0;t<a.length;)o[r=a[t].trim()]?a.splice(t,1):(o[r]=!0,a[t]=r,t++);return a.join(",")}function ov(e){var t=e.bucket,r=t.substr(0,t.lastIndexOf("-")),a=t.substr(t.lastIndexOf("-")+1),o=e.domain,n=e.region,i=e.object,s=e.protocol||"https:";o||(o=["cn-south","cn-south-2","cn-north","cn-east","cn-southwest","sg"].indexOf(n)>-1?"{Region}.myqcloud.com":"cos.{Region}.myqcloud.com",e.ForcePathStyle||(o="{Bucket}."+o)),o=(o=o.replace(/\{\{AppId\}\}/gi,a).replace(/\{\{Bucket\}\}/gi,r).replace(/\{\{Region\}\}/gi,n).replace(/\{\{.*?\}\}/gi,"")).replace(/\{AppId\}/gi,a).replace(/\{BucketName\}/gi,r).replace(/\{Bucket\}/gi,t).replace(/\{Region\}/gi,n).replace(/\{.*?\}/gi,""),/^[a-zA-Z]+:\/\//.test(o)||(o=s+"//"+o),"/"===o.slice(-1)&&(o=o.slice(0,-1));var c=o;return e.ForcePathStyle&&(c+="/"+t),c+="/",i&&(c+=Zy.camSafeUrlEncode(i).replace(/%2F/g,"/")),e.isLocation&&(c=c.replace(/^https?:\/\//,"")),c}var nv=function(e){if(!e.Bucket||!e.Region)return"";var t=void 0===e.UseAccelerate?this.options.UseAccelerate:e.UseAccelerate,r=(e.Url||ov({ForcePathStyle:this.options.ForcePathStyle,protocol:this.options.Protocol,domain:this.options.Domain,bucket:e.Bucket,region:t?"accelerate":e.Region})).replace(/^https?:\/\/([^/]+)(\/.*)?$/,"$1");return new RegExp("^([a-z\\d-]+-\\d+\\.)?(cos|cosv6|ci|pic)\\.([a-z\\d-]+)\\.myqcloud\\.com$").test(r)?r:""};function iv(e,t){var r=Zy.clone(e.Headers),a="";Zy.each(r,(function(e,t){(""===e||["content-type","cache-control"].indexOf(t.toLowerCase())>-1)&&delete r[t],"host"===t.toLowerCase()&&(a=e)}));var o=!1!==e.ForceSignHost;!a&&e.SignHost&&o&&(r.Host=e.SignHost);var n=!1,i=function(e,r){n||(n=!0,r&&r.XCosSecurityToken&&!r.SecurityToken&&((r=Zy.clone(r)).SecurityToken=r.XCosSecurityToken,delete r.XCosSecurityToken),t&&t(e,r))},s=this,c=e.Bucket||"",u=e.Region||"",p=e.Key||"";s.options.ForcePathStyle&&c&&(p=c+"/"+p);var l="/"+p,d={},m=e.Scope;if(!m){var h=e.Action||"",f=e.ResourceKey||e.Key||"";m=e.Scope||[{action:h,bucket:c,region:u,prefix:f}]}var g=Zy.md5(JSON.stringify(m));s._StsCache=s._StsCache||[],function(){var e,t;for(e=s._StsCache.length-1;e>=0;e--){t=s._StsCache[e];var r=Math.round(Zy.getSkewTime(s.options.SystemClockOffset)/1e3)+30;if(t.StartTime&&r<t.StartTime||r>=t.ExpiredTime)s._StsCache.splice(e,1);else if(!t.ScopeLimit||t.ScopeLimit&&t.ScopeKey===g){d=t;break}}}();var y,v=function(){var t="";d.StartTime&&e.Expires?t=d.StartTime+";"+(d.StartTime+1*e.Expires):d.StartTime&&d.ExpiredTime&&(t=d.StartTime+";"+d.ExpiredTime);var a={Authorization:Zy.getAuth({SecretId:d.TmpSecretId,SecretKey:d.TmpSecretKey,Method:e.Method,Pathname:l,Query:e.Query,Headers:r,Expires:e.Expires,UseRawKey:s.options.UseRawKey,SystemClockOffset:s.options.SystemClockOffset,KeyTime:t,ForceSignHost:o}),SecurityToken:d.SecurityToken||d.XCosSecurityToken||"",Token:d.Token||"",ClientIP:d.ClientIP||"",ClientUA:d.ClientUA||""};i(null,a)},b=function(e){if(e.Authorization){var t=!1,r=e.Authorization;if(r)if(r.indexOf(" ")>-1)t=!1;else if(r.indexOf("q-sign-algorithm=")>-1&&r.indexOf("q-ak=")>-1&&r.indexOf("q-sign-time=")>-1&&r.indexOf("q-key-time=")>-1&&r.indexOf("q-url-param-list=")>-1)t=!0;else try{(r=Buffer.from(r,"base64").toString()).indexOf("a=")>-1&&r.indexOf("k=")>-1&&r.indexOf("t=")>-1&&r.indexOf("r=")>-1&&r.indexOf("b=")>-1&&(t=!0)}catch(e){}if(!t)return Zy.error(new Error("getAuthorization callback params format error"))}else{if(!e.TmpSecretId)return Zy.error(new Error('getAuthorization callback params missing "TmpSecretId"'));if(!e.TmpSecretKey)return Zy.error(new Error('getAuthorization callback params missing "TmpSecretKey"'));if(!e.SecurityToken&&!e.XCosSecurityToken)return Zy.error(new Error('getAuthorization callback params missing "SecurityToken"'));if(!e.ExpiredTime)return Zy.error(new Error('getAuthorization callback params missing "ExpiredTime"'));if(e.ExpiredTime&&10!==e.ExpiredTime.toString().length)return Zy.error(new Error('getAuthorization callback params "ExpiredTime" should be 10 digits'));if(e.StartTime&&10!==e.StartTime.toString().length)return Zy.error(new Error('getAuthorization callback params "StartTime" should be 10 StartTime'))}return!1};if(d.ExpiredTime&&d.ExpiredTime-Zy.getSkewTime(s.options.SystemClockOffset)/1e3>60)v();else if(s.options.getAuthorization)s.options.getAuthorization.call(s,{Bucket:c,Region:u,Method:e.Method,Key:p,Pathname:l,Query:e.Query,Headers:r,Scope:m,SystemClockOffset:s.options.SystemClockOffset,ForceSignHost:o},(function(e){"string"==typeof e&&(e={Authorization:e});var t=b(e);if(t)return i(t);e.Authorization?i(null,e):((d=e||{}).Scope=m,d.ScopeKey=g,s._StsCache.push(d),v())}));else{if(!s.options.getSTS)return y={Authorization:Zy.getAuth({SecretId:e.SecretId||s.options.SecretId,SecretKey:e.SecretKey||s.options.SecretKey,Method:e.Method,Pathname:l,Query:e.Query,Headers:r,Expires:e.Expires,UseRawKey:s.options.UseRawKey,SystemClockOffset:s.options.SystemClockOffset,ForceSignHost:o}),SecurityToken:s.options.SecurityToken||s.options.XCosSecurityToken},i(null,y),y;s.options.getSTS.call(s,{Bucket:c,Region:u},(function(e){(d=e||{}).Scope=m,d.ScopeKey=g,d.TmpSecretId||(d.TmpSecretId=d.SecretId),d.TmpSecretKey||(d.TmpSecretKey=d.SecretKey);var t=b(d);if(t)return i(t);s._StsCache.push(d),v()}))}return""}function sv(e){var t=!1,r=!1,a=e.headers&&(e.headers.date||e.headers.Date)||e.error&&e.error.ServerTime;try{var o=e.error.Code,n=e.error.Message;("RequestTimeTooSkewed"===o||"AccessDenied"===o&&"Request has expired"===n)&&(r=!0)}catch(e){}if(e)if(r&&a){var i=Date.parse(a);this.options.CorrectClockSkew&&Math.abs(Zy.getSkewTime(this.options.SystemClockOffset)-i)>=3e4&&(console.error("error: Local time is too skewed."),this.options.SystemClockOffset=i-Date.now(),t=!0)}else(5===Math.floor(e.statusCode/100)||"ECONNRESET"===e.code)&&(t=!0);return t}function cv(e,t){var r=this;!e.headers&&(e.headers={}),e.headers["User-Agent"]=r.options.UserAgent||"cos-nodejs-sdk-v5-"+Qy.version,!e.qs&&(e.qs={}),e.VersionId&&(e.qs.versionId=e.VersionId),e.qs=Zy.clearKey(e.qs),e.headers&&(e.headers=Zy.clearKey(e.headers)),e.qs&&(e.qs=Zy.clearKey(e.qs));var a=Zy.clone(e.qs);e.action&&(a[e.action]="");var o=e.SignHost||nv.call(this,{Bucket:e.Bucket,Region:e.Region,Url:e.url}),n=function(i){var s=r.options.SystemClockOffset;iv.call(r,{Bucket:e.Bucket||"",Region:e.Region||"",Method:e.method,Key:e.Key,Query:a,Headers:e.headers,SignHost:o,Action:e.Action,ResourceKey:e.ResourceKey,Scope:e.Scope,ForceSignHost:r.options.ForceSignHost},(function(a,o){if(a)return t(a);e.AuthData=o,uv.call(r,e,(function(a,o){!a||e.body&&e.body.pipe||e.outputStream||!(i<2)||s===r.options.SystemClockOffset&&!sv.call(r,a)?t(a,o):(e.headers&&(delete e.headers.Authorization,delete e.headers.token,delete e.headers.clientIP,delete e.headers.clientUA,e.headers["x-cos-security-token"]&&delete e.headers["x-cos-security-token"],e.headers["x-ci-security-token"]&&delete e.headers["x-ci-security-token"]),n(i+1))}))}))};n(1)}function uv(e,t){var r=this,a=e.TaskId;if(!a||r._isRunningTask(a)){var o,n=e.Bucket,i=e.Region,s=e.Key,c=e.method||"GET",u=e.url||e.Url,p=e.body,l=e.rawBody;p&&"function"==typeof p.pipe&&(o=p,p=null),this.options.UseAccelerate&&(i="accelerate"),u=u||ov({ForcePathStyle:r.options.ForcePathStyle,protocol:r.options.Protocol,domain:r.options.Domain,bucket:n,region:i,object:s}),e.action&&(u=u+"?"+e.action),e.qsStr&&(u=u.indexOf("?")>-1?u+"&"+e.qsStr:u+"?"+e.qsStr);var d={method:c,url:u,headers:e.headers,qs:e.qs,body:p},m="x-cos-security-token";Zy.isCIHost(u)&&(m="x-ci-security-token"),d.headers.Authorization=e.AuthData.Authorization,e.AuthData.Token&&(d.headers.token=e.AuthData.Token),e.AuthData.ClientIP&&(d.headers.clientIP=e.AuthData.ClientIP),e.AuthData.ClientUA&&(d.headers.clientUA=e.AuthData.ClientUA),e.AuthData.SecurityToken&&(d.headers[m]=e.AuthData.SecurityToken),d.headers&&(d.headers=Zy.clearKey(d.headers)),d=Zy.clearKey(d);var h=this.options.Ip;if(h&&(d.url=d.url.replace(/^(https?:\/\/)([^\/]+)/,(function(e,t,r){return d.headers.Host=r,t+h}))),!0!==this.options.StrictSsl&&(d.strictSSL=this.options.StrictSsl),this.options.Proxy&&(d.proxy=this.options.Proxy),"boolean"==typeof this.options.Tunnel&&(d.tunnel=this.options.Tunnel),this.options.Timeout&&(d.timeout=this.options.Timeout),this.options.KeepAlive&&(d.forever=!0),this.options.FollowRedirect||(d.followRedirect=!1),o){var f=!1;Zy.each(d.headers,(function(e,t){"content-type"===t.toLowerCase()&&(f=!0)})),!f&&o.readable&&o.path&&o.mode&&!Wy.lookup(o.path)&&(d.headers["Content-Type"]="application/octet-stream")}e.outputStream&&(t=Zy.callbackAfterStreamFinish(e.outputStream,t)),r.emit("before-send",d);var g,y,v=Xy(d),b=function(e,o){if(a&&r.off("inner-kill-task",w),!y){y=!0;var n={};g&&g.statusCode&&(n.statusCode=g.statusCode),g&&g.headers&&(n.headers=g.headers),e?(e=Zy.extend(e||{},n),t(e,null)):(o=Zy.extend(o||{},n),t(null,o)),v&&(v.removeAllListeners&&v.removeAllListeners(),v.on("error",(function(){})),v=null)}},k=function(){try{Object.defineProperty(v.req.connection,"_lastBytesWritten",{enumerable:!0,configurable:!0,writable:!0,value:v.req.connection.bytesWritten})}catch(e){}};v.on("error",(function(e){k(),b(Zy.error(e))})),v.on("response",(function(t){g=t;var r=t.headers["content-length"]||0,a=[],o=t.statusCode,n=2===Math.floor(o/100);if(n&&e.outputStream)v.on("end",(function(){b(null,{})}));else if(r>=process.binding("buffer").kMaxLength&&"HEAD"!==d.method)b(Zy.error(new Error("file size large than "+process.binding("buffer").kMaxLength+', please use "Output" Stream to getObject.')));else{v.on("data",(function(e){a.push(e)})),v.on("end",(function(){try{var e=Buffer.concat(a)}catch(e){return void b(Zy.error(e))}var r=e.toString();if(l&&n)return b(null,{body:e});var i={};try{i=r&&r.indexOf("<")>-1&&r.indexOf(">")>-1&&Zy.xml2json(r)||{}}catch(e){}var s=i&&i.Error;n?b(null,i):b(s?Zy.error(new Error(s.Message),{code:s.Code,error:s}):o?Zy.error(new Error(t.statusMessage),{code:""+o}):Zy.error(new Error("statusCode error"))),a=null}))}}));var w=function(e){e.TaskId===a&&(o&&o.isSdkCreated&&o.close&&o.close(),v&&v.abort&&v.abort(),r.off("inner-kill-task",w))};if(a&&r.on("inner-kill-task",w),v.once("end",(function(){k()})),e.onProgress&&"function"==typeof e.onProgress){var x=d.headers["Content-Length"],j=Date.now(),E=0;v.on("drain",(function(){var t=Date.now(),r=0;try{r=v.req.connection.bytesWritten-v.req._header.length-(v.req.connection._lastBytesWritten||0)}catch(e){}var a=x,o=parseInt((r-E)/((t-j)/1e3)*100)/100||0,n=parseInt(r/a*100)/100||0;j=t,E=r,e.onProgress({loaded:r,total:a,speed:o,percent:n})}))}if(e.onDownloadProgress&&"function"==typeof e.onDownloadProgress){j=Date.now(),E=0;var S=0,_=0;v.on("response",(function(t){_=t.headers["content-length"],v.on("data",(function(t){S+=t.length;var r=Date.now(),a=parseInt((S-E)/((r-j)/1e3)*100)/100||0,o=parseInt(S/_*100)/100||0;j=r,E=S,e.onDownloadProgress({loaded:S,total:_,speed:a,percent:o})}))}))}return o&&(o.on("error",(function(e){v&&v.abort&&v.abort(),b(e)})),o.pipe(v)),e.outputStream&&(e.outputStream.on("error",(function(e){v&&v.abort&&v.abort(),b(e)})),v.pipe(e.outputStream)),v}}var pv={getService:function(e,t){"function"==typeof e&&(t=e,e={});var r=this.options.Protocol||"https:",a=this.options.ServiceDomain,o=e.AppId||this.options.appId,n=e.Region;a?(a=a.replace(/\{\{AppId\}\}/gi,o||"").replace(/\{\{Region\}\}/gi,n||"").replace(/\{\{.*?\}\}/gi,""),/^[a-zA-Z]+:\/\//.test(a)||(a=r+"//"+a),"/"===a.slice(-1)&&(a=a.slice(0,-1))):a=n?r+"//cos."+n+".myqcloud.com":r+"//service.cos.myqcloud.com";var i="",s=n?"cos."+n+".myqcloud.com":"service.cos.myqcloud.com";s===a.replace(/^https?:\/\/([^/]+)(\/.*)?$/,"$1")&&(i=s),cv.call(this,{Action:"name/cos:GetService",url:a,method:"GET",headers:e.Headers,SignHost:i},(function(e,r){if(e)return t(e);var a=r&&r.ListAllMyBucketsResult&&r.ListAllMyBucketsResult.Buckets&&r.ListAllMyBucketsResult.Buckets.Bucket||[];a=Zy.isArray(a)?a:[a];var o=r&&r.ListAllMyBucketsResult&&r.ListAllMyBucketsResult.Owner||{};t(null,{Buckets:a,Owner:o,statusCode:r.statusCode,headers:r.headers})}))},putBucket:function(e,t){var r=this,a="",o={};e.BucketAZConfig&&(o.BucketAZConfig=e.BucketAZConfig),e.BucketArchConfig&&(o.BucketArchConfig=e.BucketArchConfig),(o.BucketAZConfig||o.BucketArchConfig)&&(a=Zy.json2xml({CreateBucketConfiguration:o})),console.log(a),cv.call(this,{Action:"name/cos:PutBucket",method:"PUT",Bucket:e.Bucket,Region:e.Region,headers:e.Headers,body:a},(function(a,o){if(a)return t(a);var n=ov({protocol:r.options.Protocol,domain:r.options.Domain,bucket:e.Bucket,region:e.Region,isLocation:!0});t(null,{Location:n,statusCode:o.statusCode,headers:o.headers})}))},headBucket:function(e,t){cv.call(this,{Action:"name/cos:HeadBucket",Bucket:e.Bucket,Region:e.Region,headers:e.Headers,method:"HEAD"},t)},getBucket:function(e,t){var r={};r.prefix=e.Prefix||"",r.delimiter=e.Delimiter,r.marker=e.Marker,r["max-keys"]=e.MaxKeys,r["encoding-type"]=e.EncodingType,cv.call(this,{Action:"name/cos:GetBucket",ResourceKey:r.prefix,method:"GET",Bucket:e.Bucket,Region:e.Region,headers:e.Headers,qs:r},(function(e,r){if(e)return t(e);var a=r.ListBucketResult||{},o=a.Contents||[],n=a.CommonPrefixes||[];o=Zy.isArray(o)?o:[o],n=Zy.isArray(n)?n:[n];var i=Zy.clone(a);Zy.extend(i,{Contents:o,CommonPrefixes:n,statusCode:r.statusCode,headers:r.headers}),t(null,i)}))},deleteBucket:function(e,t){cv.call(this,{Action:"name/cos:DeleteBucket",Bucket:e.Bucket,Region:e.Region,headers:e.Headers,method:"DELETE"},(function(e,r){return e&&204===e.statusCode?t(null,{statusCode:e.statusCode}):e?t(e):void t(null,{statusCode:r.statusCode,headers:r.headers})}))},putBucketAcl:function(e,t){var r=e.Headers,a="";if(e.AccessControlPolicy){var o=Zy.clone(e.AccessControlPolicy||{}),n=o.Grants||o.Grant;n=Zy.isArray(n)?n:[n],delete o.Grant,delete o.Grants,o.AccessControlList={Grant:n},a=Zy.json2xml({AccessControlPolicy:o}),r["Content-Type"]="application/xml",r["Content-MD5"]=Zy.binaryBase64(Zy.md5(a))}Zy.each(r,(function(e,t){0===t.indexOf("x-cos-grant-")&&(r[t]=av(r[t]))})),cv.call(this,{Action:"name/cos:PutBucketACL",method:"PUT",Bucket:e.Bucket,Region:e.Region,headers:r,action:"acl",body:a},(function(e,r){if(e)return t(e);t(null,{statusCode:r.statusCode,headers:r.headers})}))},getBucketAcl:function(e,t){cv.call(this,{Action:"name/cos:GetBucketACL",method:"GET",Bucket:e.Bucket,Region:e.Region,headers:e.Headers,action:"acl"},(function(e,r){if(e)return t(e);var a=r.AccessControlPolicy||{},o=a.Owner||{},n=a.AccessControlList&&a.AccessControlList.Grant||[];n=Zy.isArray(n)?n:[n];var i=rv(a);r.headers&&r.headers["x-cos-acl"]&&(i.ACL=r.headers["x-cos-acl"]),i=Zy.extend(i,{Owner:o,Grants:n,statusCode:r.statusCode,headers:r.headers}),t(null,i)}))},putBucketCors:function(e,t){var r=(e.CORSConfiguration||{}).CORSRules||e.CORSRules||[];r=Zy.clone(Zy.isArray(r)?r:[r]),Zy.each(r,(function(e){Zy.each(["AllowedOrigin","AllowedHeader","AllowedMethod","ExposeHeader"],(function(t){var r=t+"s",a=e[r]||e[t]||[];delete e[r],e[t]=Zy.isArray(a)?a:[a]}))}));var a={CORSRule:r};e.ResponseVary&&(a.ResponseVary=e.ResponseVary);var o=Zy.json2xml({CORSConfiguration:a}),n=e.Headers;n["Content-Type"]="application/xml",n["Content-MD5"]=Zy.binaryBase64(Zy.md5(o)),cv.call(this,{Action:"name/cos:PutBucketCORS",method:"PUT",Bucket:e.Bucket,Region:e.Region,body:o,action:"cors",headers:n},(function(e,r){if(e)return t(e);t(null,{statusCode:r.statusCode,headers:r.headers})}))},getBucketCors:function(e,t){cv.call(this,{Action:"name/cos:GetBucketCORS",method:"GET",Bucket:e.Bucket,Region:e.Region,headers:e.Headers,action:"cors"},(function(e,r){if(e)if(404===e.statusCode&&e.error&&"NoSuchCORSConfiguration"===e.error.Code){var a={CORSRules:[],statusCode:e.statusCode};e.headers&&(a.headers=e.headers),t(null,a)}else t(e);else{var o=r.CORSConfiguration||{},n=o.CORSRules||o.CORSRule||[];n=Zy.clone(Zy.isArray(n)?n:[n]);var i=o.ResponseVary;Zy.each(n,(function(e){Zy.each(["AllowedOrigin","AllowedHeader","AllowedMethod","ExposeHeader"],(function(t){var r=t+"s",a=e[r]||e[t]||[];delete e[t],e[r]=Zy.isArray(a)?a:[a]}))})),t(null,{CORSRules:n,ResponseVary:i,statusCode:r.statusCode,headers:r.headers})}}))},deleteBucketCors:function(e,t){cv.call(this,{Action:"name/cos:DeleteBucketCORS",method:"DELETE",Bucket:e.Bucket,Region:e.Region,headers:e.Headers,action:"cors"},(function(e,r){return e&&204===e.statusCode?t(null,{statusCode:e.statusCode}):e?t(e):void t(null,{statusCode:r.statusCode||e.statusCode,headers:r.headers})}))},getBucketLocation:function(e,t){cv.call(this,{Action:"name/cos:GetBucketLocation",method:"GET",Bucket:e.Bucket,Region:e.Region,headers:e.Headers,action:"location"},t)},getBucketPolicy:function(e,t){cv.call(this,{Action:"name/cos:GetBucketPolicy",method:"GET",Bucket:e.Bucket,Region:e.Region,headers:e.Headers,action:"policy",rawBody:!0},(function(e,r){if(e)return e.statusCode&&403===e.statusCode?t(Zy.error(e,{ErrorStatus:"Access Denied"})):e.statusCode&&405===e.statusCode?t(Zy.error(e,{ErrorStatus:"Method Not Allowed"})):e.statusCode&&404===e.statusCode?t(Zy.error(e,{ErrorStatus:"Policy Not Found"})):t(e);var a={};try{a=JSON.parse(r.body)}catch(e){}t(null,{Policy:a,statusCode:r.statusCode,headers:r.headers})}))},putBucketPolicy:function(e,t){var r=e.Policy;try{"string"==typeof r&&(r=JSON.parse(r))}catch(e){}if(!r||"string"==typeof r)return t(Zy.error(new Error("Policy format error")));var a=JSON.stringify(r);r.version||(r.version="2.0");var o=e.Headers;o["Content-Type"]="application/json",o["Content-MD5"]=Zy.binaryBase64(Zy.md5(a)),cv.call(this,{Action:"name/cos:PutBucketPolicy",method:"PUT",Bucket:e.Bucket,Region:e.Region,action:"policy",body:a,headers:o},(function(e,r){return e&&204===e.statusCode?t(null,{statusCode:e.statusCode}):e?t(e):void t(null,{statusCode:r.statusCode,headers:r.headers})}))},deleteBucketPolicy:function(e,t){cv.call(this,{Action:"name/cos:DeleteBucketPolicy",method:"DELETE",Bucket:e.Bucket,Region:e.Region,headers:e.Headers,action:"policy"},(function(e,r){return e&&204===e.statusCode?t(null,{statusCode:e.statusCode}):e?t(e):void t(null,{statusCode:r.statusCode||e.statusCode,headers:r.headers})}))},putBucketTagging:function(e,t){var r=e.Tagging||{},a=r.TagSet||r.Tags||e.Tags||[];a=Zy.clone(Zy.isArray(a)?a:[a]);var o=Zy.json2xml({Tagging:{TagSet:{Tag:a}}}),n=e.Headers;n["Content-Type"]="application/xml",n["Content-MD5"]=Zy.binaryBase64(Zy.md5(o)),cv.call(this,{Action:"name/cos:PutBucketTagging",method:"PUT",Bucket:e.Bucket,Region:e.Region,body:o,action:"tagging",headers:n},(function(e,r){return e&&204===e.statusCode?t(null,{statusCode:e.statusCode}):e?t(e):void t(null,{statusCode:r.statusCode,headers:r.headers})}))},getBucketTagging:function(e,t){cv.call(this,{Action:"name/cos:GetBucketTagging",method:"GET",Bucket:e.Bucket,Region:e.Region,headers:e.Headers,action:"tagging"},(function(e,r){if(e)if(404!==e.statusCode||!e.error||"Not Found"!==e.error&&"NoSuchTagSet"!==e.error.Code)t(e);else{var a={Tags:[],statusCode:e.statusCode};e.headers&&(a.headers=e.headers),t(null,a)}else{var o=[];try{o=r.Tagging.TagSet.Tag||[]}catch(e){}o=Zy.clone(Zy.isArray(o)?o:[o]),t(null,{Tags:o,statusCode:r.statusCode,headers:r.headers})}}))},deleteBucketTagging:function(e,t){cv.call(this,{Action:"name/cos:DeleteBucketTagging",method:"DELETE",Bucket:e.Bucket,Region:e.Region,headers:e.Headers,action:"tagging"},(function(e,r){return e&&204===e.statusCode?t(null,{statusCode:e.statusCode}):e?t(e):void t(null,{statusCode:r.statusCode,headers:r.headers})}))},putBucketLifecycle:function(e,t){var r=(e.LifecycleConfiguration||{}).Rules||e.Rules||[];r=Zy.clone(r);var a=Zy.json2xml({LifecycleConfiguration:{Rule:r}}),o=e.Headers;o["Content-Type"]="application/xml",o["Content-MD5"]=Zy.binaryBase64(Zy.md5(a)),cv.call(this,{Action:"name/cos:PutBucketLifecycle",method:"PUT",Bucket:e.Bucket,Region:e.Region,body:a,action:"lifecycle",headers:o},(function(e,r){return e&&204===e.statusCode?t(null,{statusCode:e.statusCode}):e?t(e):void t(null,{statusCode:r.statusCode,headers:r.headers})}))},getBucketLifecycle:function(e,t){cv.call(this,{Action:"name/cos:GetBucketLifecycle",method:"GET",Bucket:e.Bucket,Region:e.Region,headers:e.Headers,action:"lifecycle"},(function(e,r){if(e)if(404===e.statusCode&&e.error&&"NoSuchLifecycleConfiguration"===e.error.Code){var a={Rules:[],statusCode:e.statusCode};e.headers&&(a.headers=e.headers),t(null,a)}else t(e);else{var o=[];try{o=r.LifecycleConfiguration.Rule||[]}catch(e){}o=Zy.clone(Zy.isArray(o)?o:[o]),t(null,{Rules:o,statusCode:r.statusCode,headers:r.headers})}}))},deleteBucketLifecycle:function(e,t){cv.call(this,{Action:"name/cos:DeleteBucketLifecycle",method:"DELETE",Bucket:e.Bucket,Region:e.Region,headers:e.Headers,action:"lifecycle"},(function(e,r){return e&&204===e.statusCode?t(null,{statusCode:e.statusCode}):e?t(e):void t(null,{statusCode:r.statusCode,headers:r.headers})}))},putBucketVersioning:function(e,t){if(e.VersioningConfiguration){var r=e.VersioningConfiguration||{},a=Zy.json2xml({VersioningConfiguration:r}),o=e.Headers;o["Content-Type"]="application/xml",o["Content-MD5"]=Zy.binaryBase64(Zy.md5(a)),cv.call(this,{Action:"name/cos:PutBucketVersioning",method:"PUT",Bucket:e.Bucket,Region:e.Region,body:a,action:"versioning",headers:o},(function(e,r){return e&&204===e.statusCode?t(null,{statusCode:e.statusCode}):e?t(e):void t(null,{statusCode:r.statusCode,headers:r.headers})}))}else t(Zy.error(new Error("missing param VersioningConfiguration")))},getBucketVersioning:function(e,t){cv.call(this,{Action:"name/cos:GetBucketVersioning",method:"GET",Bucket:e.Bucket,Region:e.Region,headers:e.Headers,action:"versioning"},(function(e,r){e||!r.VersioningConfiguration&&(r.VersioningConfiguration={}),t(e,r)}))},putBucketReplication:function(e,t){var r=Zy.clone(e.ReplicationConfiguration),a=Zy.json2xml({ReplicationConfiguration:r});a=(a=a.replace(/<(\/?)Rules>/gi,"<$1Rule>")).replace(/<(\/?)Tags>/gi,"<$1Tag>");var o=e.Headers;o["Content-Type"]="application/xml",o["Content-MD5"]=Zy.binaryBase64(Zy.md5(a)),cv.call(this,{Action:"name/cos:PutBucketReplication",method:"PUT",Bucket:e.Bucket,Region:e.Region,body:a,action:"replication",headers:o},(function(e,r){return e&&204===e.statusCode?t(null,{statusCode:e.statusCode}):e?t(e):void t(null,{statusCode:r.statusCode,headers:r.headers})}))},getBucketReplication:function(e,t){cv.call(this,{Action:"name/cos:GetBucketReplication",method:"GET",Bucket:e.Bucket,Region:e.Region,headers:e.Headers,action:"replication"},(function(e,r){if(e)if(404!==e.statusCode||!e.error||"Not Found"!==e.error&&"ReplicationConfigurationnotFoundError"!==e.error.Code)t(e);else{var a={ReplicationConfiguration:{Rules:[]},statusCode:e.statusCode};e.headers&&(a.headers=e.headers),t(null,a)}else e||!r.ReplicationConfiguration&&(r.ReplicationConfiguration={}),r.ReplicationConfiguration.Rule&&(r.ReplicationConfiguration.Rules=Zy.makeArray(r.ReplicationConfiguration.Rule),delete r.ReplicationConfiguration.Rule),t(e,r)}))},deleteBucketReplication:function(e,t){cv.call(this,{Action:"name/cos:DeleteBucketReplication",method:"DELETE",Bucket:e.Bucket,Region:e.Region,headers:e.Headers,action:"replication"},(function(e,r){return e&&204===e.statusCode?t(null,{statusCode:e.statusCode}):e?t(e):void t(null,{statusCode:r.statusCode,headers:r.headers})}))},putBucketWebsite:function(e,t){if(e.WebsiteConfiguration){var r=Zy.clone(e.WebsiteConfiguration||{}),a=r.RoutingRules||r.RoutingRule||[];a=Zy.isArray(a)?a:[a],delete r.RoutingRule,delete r.RoutingRules,a.length&&(r.RoutingRules={RoutingRule:a});var o=Zy.json2xml({WebsiteConfiguration:r}),n=e.Headers;n["Content-Type"]="application/xml",n["Content-MD5"]=Zy.binaryBase64(Zy.md5(o)),cv.call(this,{Action:"name/cos:PutBucketWebsite",method:"PUT",Bucket:e.Bucket,Region:e.Region,body:o,action:"website",headers:n},(function(e,r){return e&&204===e.statusCode?t(null,{statusCode:e.statusCode}):e?t(e):void t(null,{statusCode:r.statusCode,headers:r.headers})}))}else t(Zy.error(new Error("missing param WebsiteConfiguration")))},getBucketWebsite:function(e,t){cv.call(this,{Action:"name/cos:GetBucketWebsite",method:"GET",Bucket:e.Bucket,Region:e.Region,Key:e.Key,headers:e.Headers,action:"website"},(function(e,r){if(e)if(404===e.statusCode&&"NoSuchWebsiteConfiguration"===e.error.Code){var a={WebsiteConfiguration:{},statusCode:e.statusCode};e.headers&&(a.headers=e.headers),t(null,a)}else t(e);else{var o=r.WebsiteConfiguration||{};if(o.RoutingRules){var n=Zy.clone(o.RoutingRules.RoutingRule||[]);n=Zy.makeArray(n),o.RoutingRules=n}t(null,{WebsiteConfiguration:o,statusCode:r.statusCode,headers:r.headers})}}))},deleteBucketWebsite:function(e,t){cv.call(this,{Action:"name/cos:DeleteBucketWebsite",method:"DELETE",Bucket:e.Bucket,Region:e.Region,headers:e.Headers,action:"website"},(function(e,r){return e&&204===e.statusCode?t(null,{statusCode:e.statusCode}):e?t(e):void t(null,{statusCode:r.statusCode,headers:r.headers})}))},putBucketReferer:function(e,t){if(e.RefererConfiguration){var r=Zy.clone(e.RefererConfiguration||{}),a=r.DomainList||{},o=a.Domains||a.Domain||[];(o=Zy.isArray(o)?o:[o]).length&&(r.DomainList={Domain:o});var n=Zy.json2xml({RefererConfiguration:r}),i=e.Headers;i["Content-Type"]="application/xml",i["Content-MD5"]=Zy.binaryBase64(Zy.md5(n)),cv.call(this,{Action:"name/cos:PutBucketReferer",method:"PUT",Bucket:e.Bucket,Region:e.Region,body:n,action:"referer",headers:i},(function(e,r){return e&&204===e.statusCode?t(null,{statusCode:e.statusCode}):e?t(e):void t(null,{statusCode:r.statusCode,headers:r.headers})}))}else t(Zy.error(new Error("missing param RefererConfiguration")))},getBucketReferer:function(e,t){cv.call(this,{Action:"name/cos:GetBucketReferer",method:"GET",Bucket:e.Bucket,Region:e.Region,Key:e.Key,headers:e.Headers,action:"referer"},(function(e,r){if(e)if(404===e.statusCode&&"NoSuchRefererConfiguration"===e.error.Code){var a={WebsiteConfiguration:{},statusCode:e.statusCode};e.headers&&(a.headers=e.headers),t(null,a)}else t(e);else{var o=r.RefererConfiguration||{};if(o.DomainList){var n=Zy.makeArray(o.DomainList.Domain||[]);o.DomainList={Domains:n}}t(null,{RefererConfiguration:o,statusCode:r.statusCode,headers:r.headers})}}))},putBucketDomain:function(e,t){var r=(e.DomainConfiguration||{}).DomainRule||e.DomainRule||[];r=Zy.clone(r);var a=Zy.json2xml({DomainConfiguration:{DomainRule:r}}),o=e.Headers;o["Content-Type"]="application/xml",o["Content-MD5"]=Zy.binaryBase64(Zy.md5(a)),cv.call(this,{Action:"name/cos:PutBucketDomain",method:"PUT",Bucket:e.Bucket,Region:e.Region,body:a,action:"domain",headers:o},(function(e,r){return e&&204===e.statusCode?t(null,{statusCode:e.statusCode}):e?t(e):void t(null,{statusCode:r.statusCode,headers:r.headers})}))},getBucketDomain:function(e,t){cv.call(this,{Action:"name/cos:GetBucketDomain",method:"GET",Bucket:e.Bucket,Region:e.Region,headers:e.Headers,action:"domain"},(function(e,r){if(e)return t(e);var a=[];try{a=r.DomainConfiguration.DomainRule||[]}catch(e){}a=Zy.clone(Zy.isArray(a)?a:[a]),t(null,{DomainRule:a,statusCode:r.statusCode,headers:r.headers})}))},deleteBucketDomain:function(e,t){cv.call(this,{Action:"name/cos:DeleteBucketDomain",method:"DELETE",Bucket:e.Bucket,Region:e.Region,headers:e.Headers,action:"domain"},(function(e,r){return e&&204===e.statusCode?t(null,{statusCode:e.statusCode}):e?t(e):void t(null,{statusCode:r.statusCode,headers:r.headers})}))},putBucketOrigin:function(e,t){var r=(e.OriginConfiguration||{}).OriginRule||e.OriginRule||[];r=Zy.clone(r);var a=Zy.json2xml({OriginConfiguration:{OriginRule:r}}),o=e.Headers;o["Content-Type"]="application/xml",o["Content-MD5"]=Zy.binaryBase64(Zy.md5(a)),cv.call(this,{Action:"name/cos:PutBucketOrigin",method:"PUT",Bucket:e.Bucket,Region:e.Region,body:a,action:"origin",headers:o},(function(e,r){return e&&204===e.statusCode?t(null,{statusCode:e.statusCode}):e?t(e):void t(null,{statusCode:r.statusCode,headers:r.headers})}))},getBucketOrigin:function(e,t){cv.call(this,{Action:"name/cos:GetBucketOrigin",method:"GET",Bucket:e.Bucket,Region:e.Region,headers:e.Headers,action:"origin"},(function(e,r){if(e)return t(e);var a=[];try{a=r.OriginConfiguration.OriginRule||[]}catch(e){}a=Zy.clone(Zy.isArray(a)?a:[a]),t(null,{OriginRule:a,statusCode:r.statusCode,headers:r.headers})}))},deleteBucketOrigin:function(e,t){cv.call(this,{Action:"name/cos:DeleteBucketOrigin",method:"DELETE",Bucket:e.Bucket,Region:e.Region,headers:e.Headers,action:"origin"},(function(e,r){return e&&204===e.statusCode?t(null,{statusCode:e.statusCode}):e?t(e):void t(null,{statusCode:r.statusCode,headers:r.headers})}))},putBucketLogging:function(e,t){var r=Zy.json2xml({BucketLoggingStatus:e.BucketLoggingStatus||""}),a=e.Headers;a["Content-Type"]="application/xml",a["Content-MD5"]=Zy.binaryBase64(Zy.md5(r)),cv.call(this,{Action:"name/cos:PutBucketLogging",method:"PUT",Bucket:e.Bucket,Region:e.Region,body:r,action:"logging",headers:a},(function(e,r){return e&&204===e.statusCode?t(null,{statusCode:e.statusCode}):e?t(e):void t(null,{statusCode:r.statusCode,headers:r.headers})}))},getBucketLogging:function(e,t){cv.call(this,{Action:"name/cos:GetBucketLogging",method:"GET",Bucket:e.Bucket,Region:e.Region,headers:e.Headers,action:"logging"},(function(e,r){if(e)return t(e);t(null,{BucketLoggingStatus:r.BucketLoggingStatus,statusCode:r.statusCode,headers:r.headers})}))},putBucketInventory:function(e,t){var r=Zy.clone(e.InventoryConfiguration);if(r.OptionalFields){var a=r.OptionalFields||[];r.OptionalFields={Field:a}}if(r.Destination&&r.Destination.COSBucketDestination&&r.Destination.COSBucketDestination.Encryption){var o=r.Destination.COSBucketDestination.Encryption;Object.keys(o).indexOf("SSECOS")>-1&&(o["SSE-COS"]=o.SSECOS,delete o.SSECOS)}var n=Zy.json2xml({InventoryConfiguration:r}),i=e.Headers;i["Content-Type"]="application/xml",i["Content-MD5"]=Zy.binaryBase64(Zy.md5(n)),cv.call(this,{Action:"name/cos:PutBucketInventory",method:"PUT",Bucket:e.Bucket,Region:e.Region,body:n,action:"inventory",qs:{id:e.Id},headers:i},(function(e,r){return e&&204===e.statusCode?t(null,{statusCode:e.statusCode}):e?t(e):void t(null,{statusCode:r.statusCode,headers:r.headers})}))},getBucketInventory:function(e,t){cv.call(this,{Action:"name/cos:GetBucketInventory",method:"GET",Bucket:e.Bucket,Region:e.Region,headers:e.Headers,action:"inventory",qs:{id:e.Id}},(function(e,r){if(e)return t(e);var a=r.InventoryConfiguration;if(a&&a.OptionalFields&&a.OptionalFields.Field){var o=a.OptionalFields.Field;Zy.isArray(o)||(o=[o]),a.OptionalFields=o}if(a.Destination&&a.Destination.COSBucketDestination&&a.Destination.COSBucketDestination.Encryption){var n=a.Destination.COSBucketDestination.Encryption;Object.keys(n).indexOf("SSE-COS")>-1&&(n.SSECOS=n["SSE-COS"],delete n["SSE-COS"])}t(null,{InventoryConfiguration:a,statusCode:r.statusCode,headers:r.headers})}))},listBucketInventory:function(e,t){cv.call(this,{Action:"name/cos:ListBucketInventory",method:"GET",Bucket:e.Bucket,Region:e.Region,headers:e.Headers,action:"inventory",qs:{"continuation-token":e.ContinuationToken}},(function(e,r){if(e)return t(e);var a=r.ListInventoryConfigurationResult,o=a.InventoryConfiguration||[];o=Zy.isArray(o)?o:[o],delete a.InventoryConfiguration,Zy.each(o,(function(e){if(e&&e.OptionalFields&&e.OptionalFields.Field){var t=e.OptionalFields.Field;Zy.isArray(t)||(t=[t]),e.OptionalFields=t}if(e.Destination&&e.Destination.COSBucketDestination&&e.Destination.COSBucketDestination.Encryption){var r=e.Destination.COSBucketDestination.Encryption;Object.keys(r).indexOf("SSE-COS")>-1&&(r.SSECOS=r["SSE-COS"],delete r["SSE-COS"])}})),a.InventoryConfigurations=o,Zy.extend(a,{statusCode:r.statusCode,headers:r.headers}),t(null,a)}))},deleteBucketInventory:function(e,t){cv.call(this,{Action:"name/cos:DeleteBucketInventory",method:"DELETE",Bucket:e.Bucket,Region:e.Region,headers:e.Headers,action:"inventory",qs:{id:e.Id}},(function(e,r){return e&&204===e.statusCode?t(null,{statusCode:e.statusCode}):e?t(e):void t(null,{statusCode:r.statusCode,headers:r.headers})}))},putBucketAccelerate:function(e,t){if(e.AccelerateConfiguration){var r={AccelerateConfiguration:e.AccelerateConfiguration||{}},a=Zy.json2xml(r),o={"Content-Type":"application/xml"};o["Content-MD5"]=Zy.binaryBase64(Zy.md5(a)),cv.call(this,{Action:"name/cos:PutBucketAccelerate",method:"PUT",Bucket:e.Bucket,Region:e.Region,body:a,action:"accelerate",headers:o},(function(e,r){if(e)return t(e);t(null,{statusCode:r.statusCode,headers:r.headers})}))}else t(Zy.error(new Error("missing param AccelerateConfiguration")))},getBucketAccelerate:function(e,t){cv.call(this,{Action:"name/cos:GetBucketAccelerate",method:"GET",Bucket:e.Bucket,Region:e.Region,action:"accelerate"},(function(e,r){e||!r.AccelerateConfiguration&&(r.AccelerateConfiguration={}),t(e,r)}))},putBucketEncryption:function(e,t){var r=e.ServerSideEncryptionConfiguration||{},a=r.Rule||r.Rules||[],o=Zy.json2xml({ServerSideEncryptionConfiguration:{Rule:a}}),n=e.Headers;n["Content-Type"]="application/xml",n["Content-MD5"]=Zy.binaryBase64(Zy.md5(o)),cv.call(this,{Action:"name/cos:PutBucketEncryption",method:"PUT",Bucket:e.Bucket,Region:e.Region,body:o,action:"encryption",headers:n},(function(e,r){return e&&204===e.statusCode?t(null,{statusCode:e.statusCode}):e?t(e):void t(null,{statusCode:r.statusCode,headers:r.headers})}))},getBucketEncryption:function(e,t){cv.call(this,{Action:"name/cos:GetBucketEncryption",method:"GET",Bucket:e.Bucket,Region:e.Region,headers:e.Headers,action:"encryption"},(function(e,r){if(e)if(404===e.statusCode&&"NoSuchEncryptionConfiguration"===e.code){var a={EncryptionConfiguration:{Rules:[]},statusCode:e.statusCode};e.headers&&(a.headers=e.headers),t(null,a)}else t(e);else{var o=Zy.makeArray(r.EncryptionConfiguration&&r.EncryptionConfiguration.Rule||[]);r.EncryptionConfiguration={Rules:o},t(e,r)}}))},deleteBucketEncryption:function(e,t){cv.call(this,{Action:"name/cos:DeleteBucketReplication",method:"DELETE",Bucket:e.Bucket,Region:e.Region,headers:e.Headers,action:"encryption"},(function(e,r){return e&&204===e.statusCode?t(null,{statusCode:e.statusCode}):e?t(e):void t(null,{statusCode:r.statusCode,headers:r.headers})}))},getObject:ev,getObjectStream:function(e,t){return e.ReturnStream=!0,ev.call(this,e,t)},headObject:function(e,t){cv.call(this,{Action:"name/cos:HeadObject",method:"HEAD",Bucket:e.Bucket,Region:e.Region,Key:e.Key,VersionId:e.VersionId,headers:e.Headers},(function(r,a){if(r){var o=r.statusCode;return e.Headers["If-Modified-Since"]&&o&&304===o?t(null,{NotModified:!0,statusCode:o}):t(r)}a.ETag=Zy.attr(a.headers,"etag",""),t(null,a)}))},listObjectVersions:function(e,t){var r={};r.prefix=e.Prefix||"",r.delimiter=e.Delimiter,r["key-marker"]=e.KeyMarker,r["version-id-marker"]=e.VersionIdMarker,r["max-keys"]=e.MaxKeys,r["encoding-type"]=e.EncodingType,cv.call(this,{Action:"name/cos:GetBucketObjectVersions",ResourceKey:r.prefix,method:"GET",Bucket:e.Bucket,Region:e.Region,headers:e.Headers,qs:r,action:"versions"},(function(e,r){if(e)return t(e);var a=r.ListVersionsResult||{},o=a.DeleteMarker||[];o=Zy.isArray(o)?o:[o];var n=a.Version||[];n=Zy.isArray(n)?n:[n];var i=Zy.clone(a);delete i.DeleteMarker,delete i.Version,Zy.extend(i,{DeleteMarkers:o,Versions:n,statusCode:r.statusCode,headers:r.headers}),t(null,i)}))},putObject:function(e,t){var r=this,a=e.ContentLength,o=Zy.throttleOnProgress.call(r,a,e.onProgress),n=e.Headers;n["Cache-Control"]||n["cache-control"]||(n["Cache-Control"]=""),Zy.getBodyMd5(r.options.UploadCheckContentMd5,e.Body,(function(n){n&&(e.Headers["Content-MD5"]=Zy.binaryBase64(n)),void 0!==e.ContentLength&&(e.Headers["Content-Length"]=e.ContentLength),o(null,!0),cv.call(r,{Action:"name/cos:PutObject",TaskId:e.TaskId,method:"PUT",Bucket:e.Bucket,Region:e.Region,Key:e.Key,headers:e.Headers,qs:e.Query,body:e.Body,onProgress:o},(function(n,i){if(n)return o(null,!0),t(n);if(o({loaded:a,total:a},!0),i){var s=ov({ForcePathStyle:r.options.ForcePathStyle,protocol:r.options.Protocol,domain:r.options.Domain,bucket:e.Bucket,region:r.options.UseAccelerate?"accelerate":e.Region,object:e.Key});return s=s.substr(s.indexOf("://")+3),i.Location=s,i.headers&&i.headers.etag&&(i.ETag=i.headers.etag),t(null,i)}t(null,i)}))}))},deleteObject:function(e,t){cv.call(this,{Action:"name/cos:DeleteObject",method:"DELETE",Bucket:e.Bucket,Region:e.Region,Key:e.Key,headers:e.Headers,VersionId:e.VersionId},(function(e,r){if(e){var a=e.statusCode;return a&&404===a?t(null,{BucketNotFound:!0,statusCode:a}):t(e)}t(null,{statusCode:r.statusCode,headers:r.headers})}))},getObjectAcl:function(e,t){cv.call(this,{Action:"name/cos:GetObjectACL",method:"GET",Bucket:e.Bucket,Region:e.Region,Key:e.Key,headers:e.Headers,action:"acl"},(function(e,r){if(e)return t(e);var a=r.AccessControlPolicy||{},o=a.Owner||{},n=a.AccessControlList&&a.AccessControlList.Grant||[];n=Zy.isArray(n)?n:[n];var i=rv(a);delete i.GrantWrite,r.headers&&r.headers["x-cos-acl"]&&(i.ACL=r.headers["x-cos-acl"]),i=Zy.extend(i,{Owner:o,Grants:n,statusCode:r.statusCode,headers:r.headers}),t(null,i)}))},putObjectAcl:function(e,t){var r=e.Headers,a="";if(e.AccessControlPolicy){var o=Zy.clone(e.AccessControlPolicy||{}),n=o.Grants||o.Grant;n=Zy.isArray(n)?n:[n],delete o.Grant,delete o.Grants,o.AccessControlList={Grant:n},a=Zy.json2xml({AccessControlPolicy:o}),r["Content-Type"]="application/xml",r["Content-MD5"]=Zy.binaryBase64(Zy.md5(a))}Zy.each(r,(function(e,t){0===t.indexOf("x-cos-grant-")&&(r[t]=av(r[t]))})),cv.call(this,{Action:"name/cos:PutObjectACL",method:"PUT",Bucket:e.Bucket,Region:e.Region,Key:e.Key,action:"acl",headers:r,body:a},(function(e,r){if(e)return t(e);t(null,{statusCode:r.statusCode,headers:r.headers})}))},optionsObject:function(e,t){var r=e.Headers;r.Origin=e.Origin,r["Access-Control-Request-Method"]=e.AccessControlRequestMethod,r["Access-Control-Request-Headers"]=e.AccessControlRequestHeaders,cv.call(this,{Action:"name/cos:OptionsObject",method:"OPTIONS",Bucket:e.Bucket,Region:e.Region,Key:e.Key,headers:r},(function(e,r){if(e)return e.statusCode&&403===e.statusCode?t(null,{OptionsForbidden:!0,statusCode:e.statusCode}):t(e);var a=r.headers||{};t(null,{AccessControlAllowOrigin:a["access-control-allow-origin"],AccessControlAllowMethods:a["access-control-allow-methods"],AccessControlAllowHeaders:a["access-control-allow-headers"],AccessControlExposeHeaders:a["access-control-expose-headers"],AccessControlMaxAge:a["access-control-max-age"],statusCode:r.statusCode,headers:r.headers})}))},putObjectCopy:function(e,t){var r=e.Headers;r["Cache-Control"]||r["cache-control"]||(r["Cache-Control"]="");var a=(e.CopySource||"").match(/^([^.]+-\d+)\.cos(v6)?\.([^.]+)\.[^/]+\/(.+)$/);if(a){var o=a[1],n=a[3],i=decodeURIComponent(a[4]);cv.call(this,{Scope:[{action:"name/cos:GetObject",bucket:o,region:n,prefix:i},{action:"name/cos:PutObject",bucket:e.Bucket,region:e.Region,prefix:e.Key}],method:"PUT",Bucket:e.Bucket,Region:e.Region,Key:e.Key,VersionId:e.VersionId,headers:e.Headers},(function(e,r){if(e)return t(e);var a=Zy.clone(r.CopyObjectResult||{});Zy.extend(a,{statusCode:r.statusCode,headers:r.headers}),t(null,a)}))}else t(Zy.error(new Error("CopySource format error")))},deleteMultipleObject:function(e,t){var r=e.Objects||[],a=e.Quiet;r=Zy.isArray(r)?r:[r];var o=Zy.json2xml({Delete:{Object:r,Quiet:a||!1}}),n=e.Headers;n["Content-Type"]="application/xml",n["Content-MD5"]=Zy.binaryBase64(Zy.md5(o));var i=Zy.map(r,(function(t){return{action:"name/cos:DeleteObject",bucket:e.Bucket,region:e.Region,prefix:t.Key}}));cv.call(this,{Scope:i,method:"POST",Bucket:e.Bucket,Region:e.Region,body:o,action:"delete",headers:n},(function(e,r){if(e)return t(e);var a=r.DeleteResult||{},o=a.Deleted||[],n=a.Error||[];o=Zy.isArray(o)?o:[o],n=Zy.isArray(n)?n:[n];var i=Zy.clone(a);Zy.extend(i,{Error:n,Deleted:o,statusCode:r.statusCode,headers:r.headers}),t(null,i)}))},restoreObject:function(e,t){var r=e.Headers;if(e.RestoreRequest){var a=e.RestoreRequest||{},o=Zy.json2xml({RestoreRequest:a});r["Content-Type"]="application/xml",r["Content-MD5"]=Zy.binaryBase64(Zy.md5(o)),cv.call(this,{Action:"name/cos:RestoreObject",method:"POST",Bucket:e.Bucket,Region:e.Region,Key:e.Key,VersionId:e.VersionId,body:o,action:"restore",headers:r},t)}else t(Zy.error(new Error("missing param RestoreRequest")))},putObjectTagging:function(e,t){var r=e.Tagging||{},a=r.TagSet||r.Tags||e.Tags||[];a=Zy.clone(Zy.isArray(a)?a:[a]);var o=Zy.json2xml({Tagging:{TagSet:{Tag:a}}}),n=e.Headers;n["Content-Type"]="application/xml",n["Content-MD5"]=Zy.binaryBase64(Zy.md5(o)),cv.call(this,{Action:"name/cos:PutObjectTagging",method:"PUT",Bucket:e.Bucket,Key:e.Key,Region:e.Region,body:o,action:"tagging",headers:n,VersionId:e.VersionId},(function(e,r){return e&&204===e.statusCode?t(null,{statusCode:e.statusCode}):e?t(e):void t(null,{statusCode:r.statusCode,headers:r.headers})}))},getObjectTagging:function(e,t){cv.call(this,{Action:"name/cos:GetObjectTagging",method:"GET",Key:e.Key,Bucket:e.Bucket,Region:e.Region,headers:e.Headers,action:"tagging",VersionId:e.VersionId},(function(e,r){if(e)if(404!==e.statusCode||!e.error||"Not Found"!==e.error&&"NoSuchTagSet"!==e.error.Code)t(e);else{var a={Tags:[],statusCode:e.statusCode};e.headers&&(a.headers=e.headers),t(null,a)}else{var o=[];try{o=r.Tagging.TagSet.Tag||[]}catch(e){}o=Zy.clone(Zy.isArray(o)?o:[o]),t(null,{Tags:o,statusCode:r.statusCode,headers:r.headers})}}))},deleteObjectTagging:function(e,t){cv.call(this,{Action:"name/cos:DeleteObjectTagging",method:"DELETE",Bucket:e.Bucket,Region:e.Region,Key:e.Key,headers:e.Headers,action:"tagging",VersionId:e.VersionId},(function(e,r){return e&&204===e.statusCode?t(null,{statusCode:e.statusCode}):e?t(e):void t(null,{statusCode:r.statusCode,headers:r.headers})}))},selectObjectContent:tv,selectObjectContentStream:function(e,t){return e.ReturnStream=!0,tv.call(this,e,t)},appendObject:function(e,t){var r=e.Headers;r["Cache-Control"]||r["cache-control"]||(r["Cache-Control"]=""),cv.call(this,{Action:"name/cos:AppendObject",method:"POST",Bucket:e.Bucket,Region:e.Region,action:"append",Key:e.Key,body:e.Body,qs:{position:e.Position},headers:e.Headers},(function(e,r){if(e)return t(e);t(null,r)}))},uploadPartCopy:function(e,t){var r=(e.CopySource||"").match(/^([^.]+-\d+)\.cos(v6)?\.([^.]+)\.[^/]+\/(.+)$/);if(r){var a=r[1],o=r[3],n=decodeURIComponent(r[4]);cv.call(this,{Scope:[{action:"name/cos:GetObject",bucket:a,region:o,prefix:n},{action:"name/cos:PutObject",bucket:e.Bucket,region:e.Region,prefix:e.Key}],method:"PUT",Bucket:e.Bucket,Region:e.Region,Key:e.Key,VersionId:e.VersionId,qs:{partNumber:e.PartNumber,uploadId:e.UploadId},headers:e.Headers},(function(e,r){if(e)return t(e);var a=Zy.clone(r.CopyPartResult||{});Zy.extend(a,{statusCode:r.statusCode,headers:r.headers}),t(null,a)}))}else t(Zy.error(new Error("CopySource format error")))},multipartInit:function(e,t){var r=e.Headers;r["Cache-Control"]||r["cache-control"]||(r["Cache-Control"]=""),r["Content-Type"]||r["content-type"]||(r["Content-Type"]=e.Body&&e.Body.type||""),cv.call(this,{Action:"name/cos:InitiateMultipartUpload",method:"POST",Bucket:e.Bucket,Region:e.Region,Key:e.Key,action:"uploads",headers:e.Headers,qs:e.Query},(function(e,r){return e?t(e):(r=Zy.clone(r||{}))&&r.InitiateMultipartUploadResult?t(null,Zy.extend(r.InitiateMultipartUploadResult,{statusCode:r.statusCode,headers:r.headers})):void t(null,r)}))},multipartUpload:function(e,t){var r=this;Zy.getFileSize("multipartUpload",e,(function(){Zy.getBodyMd5(r.options.UploadCheckContentMd5,e.Body,(function(a){a&&(e.Headers["Content-MD5"]=Zy.binaryBase64(a)),cv.call(r,{Action:"name/cos:UploadPart",TaskId:e.TaskId,method:"PUT",Bucket:e.Bucket,Region:e.Region,Key:e.Key,qs:{partNumber:e.PartNumber,uploadId:e.UploadId},headers:e.Headers,onProgress:e.onProgress,body:e.Body||null},(function(e,r){if(e)return t(e);t(null,{ETag:Zy.attr(r.headers,"etag",""),statusCode:r.statusCode,headers:r.headers})}))}))}))},multipartComplete:function(e,t){for(var r=this,a=e.UploadId,o=e.Parts,n=0,i=o.length;n<i;n++)0!==o[n].ETag.indexOf('"')&&(o[n].ETag='"'+o[n].ETag+'"');var s=Zy.json2xml({CompleteMultipartUpload:{Part:o}});s=s.replace(/\n\s*/g,"");var c=e.Headers;c["Content-Type"]="application/xml",c["Content-MD5"]=Zy.binaryBase64(Zy.md5(s)),cv.call(this,{Action:"name/cos:CompleteMultipartUpload",method:"POST",Bucket:e.Bucket,Region:e.Region,Key:e.Key,qs:{uploadId:a},body:s,headers:c},(function(a,o){if(a)return t(a);var n=ov({ForcePathStyle:r.options.ForcePathStyle,protocol:r.options.Protocol,domain:r.options.Domain,bucket:e.Bucket,region:e.Region,object:e.Key,isLocation:!0}),i=o.CompleteMultipartUploadResult||{};i.ProcessResults&&i&&i.ProcessResults&&(i.UploadResult={OriginalInfo:{Key:i.Key,Location:n,ETag:i.ETag,ImageInfo:i.ImageInfo},ProcessResults:i.ProcessResults},delete i.ImageInfo,delete i.ProcessResults);var s=Zy.extend(i,{Location:n,statusCode:o.statusCode,headers:o.headers});t(null,s)}))},multipartList:function(e,t){var r={};r.delimiter=e.Delimiter,r["encoding-type"]=e.EncodingType,r.prefix=e.Prefix||"",r["max-uploads"]=e.MaxUploads,r["key-marker"]=e.KeyMarker,r["upload-id-marker"]=e.UploadIdMarker,r=Zy.clearKey(r),cv.call(this,{Action:"name/cos:ListMultipartUploads",ResourceKey:r.prefix,method:"GET",Bucket:e.Bucket,Region:e.Region,headers:e.Headers,qs:r,action:"uploads"},(function(e,r){if(e)return t(e);if(r&&r.ListMultipartUploadsResult){var a=r.ListMultipartUploadsResult.Upload||[];a=Zy.isArray(a)?a:[a],r.ListMultipartUploadsResult.Upload=a}var o=Zy.clone(r.ListMultipartUploadsResult||{});Zy.extend(o,{statusCode:r.statusCode,headers:r.headers}),t(null,o)}))},multipartListPart:function(e,t){var r={};r.uploadId=e.UploadId,r["encoding-type"]=e.EncodingType,r["max-parts"]=e.MaxParts,r["part-number-marker"]=e.PartNumberMarker,cv.call(this,{Action:"name/cos:ListParts",method:"GET",Bucket:e.Bucket,Region:e.Region,Key:e.Key,headers:e.Headers,qs:r},(function(e,r){if(e)return t(e);var a=r.ListPartsResult||{},o=a.Part||[];o=Zy.isArray(o)?o:[o],a.Part=o;var n=Zy.clone(a);Zy.extend(n,{statusCode:r.statusCode,headers:r.headers}),t(null,n)}))},multipartAbort:function(e,t){var r={};r.uploadId=e.UploadId,cv.call(this,{Action:"name/cos:AbortMultipartUpload",method:"DELETE",Bucket:e.Bucket,Region:e.Region,Key:e.Key,headers:e.Headers,qs:r},(function(e,r){if(e)return t(e);t(null,{statusCode:r.statusCode,headers:r.headers})}))},request:function(e,t){var r=e.Query||{};if(e.Url){var a=e.Url.match(/^https?:\/\/([^/]+)(\/[^?#]*)?(\?[^#]*)?(#.*)?$/),o=a&&a[2]||"";o&&!e.Key&&(e.Key=o.substr(1))}cv.call(this,{method:e.Method,Bucket:e.Bucket,Region:e.Region,Key:e.Key,action:e.Action,headers:e.Headers,qs:r,body:e.Body,url:e.Url,rawBody:e.RawBody},(function(e,r){if(e)return t(e);r&&r.body&&(r.Body=r.body,delete r.body),t(e,r)}))},getObjectUrl:function(e,t){var r=this,a=void 0===e.UseAccelerate?r.options.UseAccelerate:e.UseAccelerate,o=ov({ForcePathStyle:r.options.ForcePathStyle,protocol:e.Protocol||r.options.Protocol,domain:e.Domain||r.options.Domain,bucket:e.Bucket,region:a?"accelerate":e.Region,object:e.Key}),n="";e.Query&&(n+=Zy.obj2str(e.Query)),e.QueryString&&(n+=(n?"&":"")+e.QueryString);var i=o;if(void 0!==e.Sign&&!e.Sign)return n&&(i+="?"+n),t(null,{Url:i}),i;var s=nv.call(this,{Bucket:e.Bucket,Region:e.Region,UseAccelerate:e.UseAccelerate,Url:o}),c=iv.call(this,{Action:"PUT"===(e.Method||"").toUpperCase()?"name/cos:PutObject":"name/cos:GetObject",Bucket:e.Bucket||"",Region:e.Region||"",Method:e.Method||"get",Key:e.Key,Expires:e.Expires,Headers:e.Headers,Query:e.Query,SignHost:s,ForceSignHost:!1!==e.ForceSignHost&&r.options.ForceSignHost},(function(e,r){if(t)if(e)t(e);else{var a=o;a+="?"+(r.Authorization.indexOf("q-signature")>-1?function(e){var t=e.match(/q-url-param-list.*?(?=&)/g)[0],r="q-url-param-list="+encodeURIComponent(t.replace(/q-url-param-list=/,"")).toLowerCase(),a=new RegExp(t,"g");return e.replace(a,r)}(r.Authorization):"sign="+encodeURIComponent(r.Authorization)),r.SecurityToken&&(a+="&x-cos-security-token="+r.SecurityToken),r.ClientIP&&(a+="&clientIP="+r.ClientIP),r.ClientUA&&(a+="&clientUA="+r.ClientUA),r.Token&&(a+="&token="+r.Token),n&&(a+="&"+n),setTimeout((function(){t(null,{Url:a})}))}}));return c?(i+="?"+c.Authorization+(c.SecurityToken?"&x-cos-security-token="+c.SecurityToken:""),n&&(i+="&"+n)):n&&(i+="?"+n),i},getAuth:function(e){return Zy.getAuth({SecretId:e.SecretId||this.options.SecretId||"",SecretKey:e.SecretKey||this.options.SecretKey||"",Bucket:e.Bucket,Region:e.Region,Method:e.Method,Key:e.Key,Query:e.Query,Headers:e.Headers,Expires:e.Expires,UseRawKey:this.options.UseRawKey,SystemClockOffset:this.options.SystemClockOffset})},getV4Auth:function(e){return Zy.getV4Auth({SecretId:e.SecretId||this.options.SecretId||"",SecretKey:e.SecretKey||this.options.SecretKey||"",Bucket:e.Bucket,Key:e.Key,Expires:e.Expires})}};mu.init=function(e,t){t.transferToTaskMethod(pv,"putObject"),Zy.each(pv,(function(t,r){e.prototype[r]=Zy.apiWrapper(r,t),function(e,t,r){Zy.each(["Cors","Acl"],(function(a){if(e.slice(-a.length)===a){var o=e.slice(0,-a.length)+a.toUpperCase(),n=Zy.apiWrapper(e,t),i=!1;r[o]=function(){!i&&console.warn("warning: cos."+o+" has been deprecated. Please Use cos."+e+" instead."),i=!0,n.apply(this,arguments)}}}))}(r,t,e.prototype)}))};var lv={},dv={eachLimit:function(e,t,r,a){if(a=a||function(){},!e.length||t<=0)return a();var o=0,n=0,i=0;!function s(){if(o>=e.length)return a();for(;i<t&&n<e.length;)i+=1,r(e[(n+=1)-1],(function(t){t?(a(t),a=function(){}):(i-=1,(o+=1)>=e.length?a():s())}))}()},retry:function(e,t,r){var a=function(o){t((function(t,n){t&&o<e?a(o+1):r(t,n)}))};e<1?r():a(1)}},mv=dv,hv=iu,fv=w.default,gv=mv,yv=gr.EventProxy,vv=fr;function bv(e,t){var r=e.TaskId,a=e.Bucket,o=e.Region,n=e.Key,i=e.StorageClass,s=this,c={},u=e.FileSize,p=e.SliceSize,l=Math.ceil(u/p),d=0,m=vv.throttleOnProgress.call(s,u,e.onHashProgress),h=function(t,r){var a=t.length;if(0===a)return r(null,!0);if(a>l)return r(null,!1);if(a>1&&Math.max(t[0].Size,t[1].Size)!==p)return r(null,!1);var o=function(n){if(n<a){var i=t[n];!function(t,r){var a=p*(t-1),o=Math.min(a+p,u),n=o-a;c[t]?r(null,{PartNumber:t,ETag:c[t],Size:n}):vv.fileSlice(e.FilePath,a,o,(function(e){vv.getFileMd5(e,(function(e,a){if(e)return r(vv.error(e));var o='"'+a+'"';c[t]=o,m({loaded:d+=n,total:u}),r(null,{PartNumber:t,ETag:o,Size:n})}))}))}(i.PartNumber,(function(e,t){t&&t.ETag===i.ETag&&t.Size===i.Size?o(n+1):r(null,!1)}))}else r(null,!0)};o(0)},f=new yv;f.on("error",(function(e){if(s._isRunningTask(r))return t(e)})),f.on("upload_id_available",(function(e){var r={},a=[];vv.each(e.PartList,(function(e){r[e.PartNumber]=e}));for(var o=1;o<=l;o++){var n=r[o];n?(n.PartNumber=o,n.Uploaded=!0):n={PartNumber:o,ETag:null,Uploaded:!1},a.push(n)}e.PartList=a,t(null,e)})),f.on("no_available_upload_id",(function(){if(s._isRunningTask(r)){var c=vv.extend({Bucket:a,Region:o,Key:n,Headers:vv.clone(e.Headers),Query:vv.clone(e.Query),StorageClass:i},e);s.multipartInit(c,(function(e,a){if(s._isRunningTask(r)){if(e)return f.emit("error",e);var o=a.UploadId;if(!o)return t(vv.error(new Error("no such upload id")));f.emit("upload_id_available",{UploadId:o,PartList:[]})}}))}})),f.on("has_and_check_upload_id",(function(e){e=e.reverse(),gv.eachLimit(e,1,(function(e,t){s._isRunningTask(r)&&(hv.using[e]?t():wv.call(s,{Bucket:a,Region:o,Key:n,UploadId:e},(function(a,o){if(s._isRunningTask(r)){if(a)return hv.removeUsing(e),f.emit("error",a);var n=o.PartList;n.forEach((function(e){e.PartNumber*=1,e.Size*=1,e.ETag=e.ETag||""})),h(n,(function(a,o){if(s._isRunningTask(r))return a?f.emit("error",a):void(o?t({UploadId:e,PartList:n}):t())}))}})))}),(function(e){s._isRunningTask(r)&&(m(null,!0),e&&e.UploadId?f.emit("upload_id_available",e):f.emit("no_available_upload_id"))}))})),f.on("seek_local_avail_upload_id",(function(t){var i=hv.getFileId(e.FileStat,e.ChunkSize,a,n),c=hv.getUploadIdList.call(s,i);if(i&&c){var u=function(e){if(e>=c.length)f.emit("has_and_check_upload_id",t);else{var i=c[e];if(!vv.isInArray(t,i))return hv.removeUploadId.call(s,i),void u(e+1);hv.using[i]?u(e+1):wv.call(s,{Bucket:a,Region:o,Key:n,UploadId:i},(function(t,a){s._isRunningTask(r)&&(t?(hv.removeUploadId.call(s,i),u(e+1)):f.emit("upload_id_available",{UploadId:i,PartList:a.PartList}))}))}};u(0)}else f.emit("has_and_check_upload_id",t)})),f.on("get_remote_upload_id_list",(function(){kv.call(s,{Bucket:a,Region:o,Key:n},(function(t,o){if(s._isRunningTask(r)){if(t)return f.emit("error",t);var c=vv.filter(o.UploadList,(function(e){return e.Key===n&&(!i||e.StorageClass.toUpperCase()===i.toUpperCase())})).reverse().map((function(e){return e.UploadId||e.UploadID}));if(c.length)f.emit("seek_local_avail_upload_id",c);else{var u,p=hv.getFileId(e.FileStat,e.ChunkSize,a,n);p&&(u=hv.getUploadIdList.call(s,p))&&vv.each(u,(function(e){hv.removeUploadId.call(s,e)})),f.emit("no_available_upload_id")}}}))})),f.emit("get_remote_upload_id_list")}function kv(e,t){var r=this,a=[],o={Bucket:e.Bucket,Region:e.Region,Prefix:e.Key},n=function(){r.multipartList(o,(function(e,r){if(e)return t(e);a.push.apply(a,r.Upload||[]),"true"===r.IsTruncated?(o.KeyMarker=r.NextKeyMarker,o.UploadIdMarker=r.NextUploadIdMarker,n()):t(null,{UploadList:a})}))};n()}function wv(e,t){var r=this,a=[],o={Bucket:e.Bucket,Region:e.Region,Key:e.Key,UploadId:e.UploadId},n=function(){r.multipartListPart(o,(function(e,r){if(e)return t(e);a.push.apply(a,r.Part||[]),"true"===r.IsTruncated?(o.PartNumberMarker=r.NextPartNumberMarker,n()):t(null,{PartList:a})}))};n()}function xv(e,t){var r=this,a=e.TaskId,o=e.Bucket,n=e.Region,i=e.Key,s=e.UploadData,c=e.FileSize,u=e.SliceSize,p=Math.min(e.AsyncLimit||r.options.ChunkParallelLimit||1,256),l=e.FilePath,d=Math.ceil(c/u),m=0,h=e.ServerSideEncryption,f=vv.filter(s.PartList,(function(e){return e.Uploaded&&(m+=e.PartNumber>=d&&c%u||u),!e.Uploaded})),g=e.onProgress;gv.eachLimit(f,p,(function(e,t){if(r._isRunningTask(a)){var p=e.PartNumber,d=Math.min(c,e.PartNumber*u)-(e.PartNumber-1)*u,f=0;jv.call(r,{TaskId:a,Bucket:o,Region:n,Key:i,SliceSize:u,FileSize:c,PartNumber:p,ServerSideEncryption:h,FilePath:l,UploadData:s,onProgress:function(e){m+=e.loaded-f,f=e.loaded,g({loaded:m,total:c})}},(function(o,n){r._isRunningTask(a)&&(o?m-=f:(m+=d-f,e.ETag=n.ETag),g({loaded:m,total:c}),t(o||null,n))}))}}),(function(e){if(r._isRunningTask(a))return e?t(e):void t(null,{UploadId:s.UploadId,SliceList:s.PartList})}))}function jv(e,t){var r=this,a=e.TaskId,o=e.Bucket,n=e.Region,i=e.Key,s=e.FileSize,c=e.FilePath,u=1*e.PartNumber,p=e.SliceSize,l=e.ServerSideEncryption,d=e.UploadData,m=r.options.ChunkRetryTimes+1,h=e.Headers||{},f=p*(u-1),g=p,y=f+p;y>s&&(g=(y=s)-f);var v=["x-cos-traffic-limit","x-cos-mime-limit"],b={};vv.each(h,(function(e,t){v.indexOf(t)>-1&&(b[t]=e)})),vv.fileSlice(c,f,y,(function(s){vv.getFileMd5(s,(function(s,p){var h=p?vv.binaryBase64(p):"",v=d.PartList[u-1];gv.retry(m,(function(t){r._isRunningTask(a)&&vv.fileSlice(c,f,y,(function(s){r.multipartUpload({TaskId:a,Bucket:o,Region:n,Key:i,ContentLength:g,PartNumber:u,UploadId:d.UploadId,ServerSideEncryption:l,Body:s,Headers:b,onProgress:e.onProgress,ContentMD5:h},(function(e,o){if(r._isRunningTask(a))return e?t(e):(v.Uploaded=!0,t(null,o))}))}))}),(function(e,o){if(r._isRunningTask(a))return t(e,o)}))}))}))}function Ev(e,t){var r=e.Bucket,a=e.Region,o=e.Key,n=e.UploadId,i=e.SliceList,s=this,c=this.options.ChunkRetryTimes+1,u=e.Headers,p=i.map((function(e){return{PartNumber:e.PartNumber,ETag:e.ETag}}));gv.retry(c,(function(e){s.multipartComplete({Bucket:r,Region:a,Key:o,UploadId:n,Parts:p,Headers:u},e)}),(function(e,r){t(e,r)}))}function Sv(e,t){var r=e.Bucket,a=e.Region,o=e.Key,n=e.AbortArray,i=e.AsyncLimit||1,s=this,c=0,u=new Array(n.length);gv.eachLimit(n,i,(function(t,n){var i=c;if(o&&o!==t.Key)return u[i]={error:{KeyNotMatch:!0}},void n(null);var p=t.UploadId||t.UploadID;s.multipartAbort({Bucket:r,Region:a,Key:t.Key,Headers:e.Headers,UploadId:p},(function(e){var o={Bucket:r,Region:a,Key:t.Key,UploadId:p};u[i]={error:e,task:o},n(null)})),c++}),(function(e){if(e)return t(e);for(var r=[],a=[],o=0,n=u.length;o<n;o++){var i=u[o];i.task&&(i.error?a.push(i.task):r.push(i.task))}return t(null,{successList:r,errorList:a})}))}function _v(e,t){var r=e.TaskId,a=e.Bucket,o=e.Region,n=e.Key,i=e.CopySource,s=e.UploadId,c=1*e.PartNumber,u=e.CopySourceRange,p=this.options.ChunkRetryTimes+1,l=this;gv.retry(p,(function(e){l.uploadPartCopy({TaskId:r,Bucket:a,Region:o,Key:n,CopySource:i,UploadId:s,PartNumber:c,CopySourceRange:u},(function(t,r){e(t||null,r)}))}),(function(e,r){return t(e,r)}))}var Pv={sliceUploadFile:function(e,t){var r,a,o=this,n=new yv,i=e.TaskId,s=e.Bucket,c=e.Region,u=e.Key,p=e.FilePath,l=e.ChunkSize||e.SliceSize||o.options.ChunkSize,d=e.AsyncLimit,m=e.StorageClass,h=e.ServerSideEncryption,f=e.onHashProgress;n.on("error",(function(r){if(o._isRunningTask(i)){var a={UploadId:e.UploadData.UploadId||"",err:r};return t(a)}})),n.on("upload_complete",(function(r){var a=vv.extend({UploadId:e.UploadData.UploadId||""},r);t(null,a)})),n.on("upload_slice_complete",(function(t){var p={};vv.each(e.Headers,(function(e,t){var r=t.toLowerCase();0!==r.indexOf("x-cos-meta-")&&"pic-operations"!==r||(p[t]=e)})),Ev.call(o,{Bucket:s,Region:c,Key:u,UploadId:t.UploadId,SliceList:t.SliceList,Headers:p},(function(e,s){if(o._isRunningTask(i)){if(hv.removeUsing(t.UploadId),e)return a(null,!0),n.emit("error",e);hv.removeUploadId.call(o,t.UploadId),a({loaded:r,total:r},!0),n.emit("upload_complete",s)}}))})),n.on("get_upload_data_finish",(function(t){var m=hv.getFileId(e.FileStat,e.ChunkSize,s,u);m&&hv.saveUploadId.call(o,m,t.UploadId,o.options.UploadIdCacheLimit),hv.setUsing(t.UploadId),a(null,!0),xv.call(o,{TaskId:i,Bucket:s,Region:c,Key:u,FilePath:p,FileSize:r,SliceSize:l,AsyncLimit:d,ServerSideEncryption:h,UploadData:t,onProgress:a},(function(e,t){if(o._isRunningTask(i))return e?(a(null,!0),n.emit("error",e)):void n.emit("upload_slice_complete",t)}))})),n.on("get_file_size_finish",(function(){if(a=vv.throttleOnProgress.call(o,r,e.onProgress),e.UploadData.UploadId)n.emit("get_upload_data_finish",e.UploadData);else{var t=vv.extend({TaskId:i,Bucket:s,Region:c,Key:u,Headers:e.Headers,StorageClass:m,FilePath:p,FileSize:r,SliceSize:l,onHashProgress:f},e);bv.call(o,t,(function(t,r){if(o._isRunningTask(i)){if(t)return n.emit("error",t);e.UploadData.UploadId=r.UploadId,e.UploadData.PartList=r.PartList,n.emit("get_upload_data_finish",e.UploadData)}}))}})),r=e.ContentLength,delete e.ContentLength,!e.Headers&&(e.Headers={}),vv.each(e.Headers,(function(t,r){"content-length"===r.toLowerCase()&&delete e.Headers[r]})),function(){for(var t=[1,2,4,8,16,32,64,128,256,512,1024,2048,4096,5120],a=1048576,n=0;n<t.length&&!(r/(a=1024*t[n]*1024)<=o.options.MaxPartNumber);n++);e.ChunkSize=e.SliceSize=l=Math.max(l,a)}(),0===r?(e.Body="",e.ContentLength=0,e.SkipTask=!0,o.putObject(e,t)):n.emit("get_file_size_finish")},abortUploadTask:function(e,t){var r=e.Bucket,a=e.Region,o=e.Key,n=e.UploadId,i=e.Level||"task",s=e.AsyncLimit,c=this,u=new yv;if(u.on("error",(function(e){return t(e)})),u.on("get_abort_array",(function(n){Sv.call(c,{Bucket:r,Region:a,Key:o,Headers:e.Headers,AsyncLimit:s,AbortArray:n},t)})),"bucket"===i)kv.call(c,{Bucket:r,Region:a},(function(e,r){if(e)return t(e);u.emit("get_abort_array",r.UploadList||[])}));else if("file"===i){if(!o)return t(vv.error(new Error("abort_upload_task_no_key")));kv.call(c,{Bucket:r,Region:a,Key:o},(function(e,r){if(e)return t(e);u.emit("get_abort_array",r.UploadList||[])}))}else{if("task"!==i)return t(vv.error(new Error("abort_unknown_level")));if(!n)return t(vv.error(new Error("abort_upload_task_no_id")));if(!o)return t(vv.error(new Error("abort_upload_task_no_key")));u.emit("get_abort_array",[{Key:o,UploadId:n}])}},uploadFile:function(e,t){var r=this,a=void 0===e.SliceSize?r.options.SliceSize:e.SliceSize,o=[];fv.stat(e.FilePath,(function(n,i){if(n)return t(n);var s=i.isDirectory(),c=e.ContentLength=i.size||0,u={TaskId:""};vv.each(e,(function(e,t){"object"!=typeof e&&"function"!=typeof e&&(u[t]=e)}));var p=e.onTaskReady;e.onTaskReady=function(e){u.TaskId=e,p&&p(e)};var l=e.onFileFinish,d=c<=a||s?"putObject":"sliceUploadFile";"putObject"===d&&(e.Body=s?"":fv.createReadStream(e.FilePath),e.Body.isSdkCreated=!0),o.push({api:d,params:e,callback:function(e,r){l&&l(e,r,u),t&&t(e,r)}}),r._addTasks(o)}))},uploadFiles:function(e,t){var r=this,a=void 0===e.SliceSize?r.options.SliceSize:e.SliceSize,o=0,n=0,i=vv.throttleOnProgress.call(r,n,e.onProgress),s=e.files.length,c=e.onFileFinish,u=Array(s),p=function(e,r,a){i(null,!0),c&&c(e,r,a),u[a.Index]={options:a,error:e,data:r},--s<=0&&t&&t(null,{files:u})},l=[],d=e.files.length;vv.each(e.files,(function(e,t){fv.stat(e.FilePath,(function(s,c){var u=!!c&&c.isDirectory(),m=e.ContentLength=c?c.size:0,h={Index:t,TaskId:""};o+=m,vv.each(e,(function(e,t){"object"!=typeof e&&"function"!=typeof e&&(h[t]=e)}));var f=e.onTaskReady;e.onTaskReady=function(e){h.TaskId=e,f&&f(e)};var g=0,y=e.onProgress;e.onProgress=function(e){n=n-g+e.loaded,g=e.loaded,y&&y(e),i({loaded:n,total:o})};var v=e.onFileFinish,b=m<=a||u?"putObject":"sliceUploadFile";"putObject"===b&&(e.Body=u?"":fv.createReadStream(e.FilePath),e.Body.isSdkCreated=!0),l.push({api:b,params:e,callback:function(e,t){v&&v(e,t),p&&p(e,t,h)}}),0==--d&&r._addTasks(l)}))}))},sliceCopyFile:function(e,t){var r=new yv,a=this,o=e.Bucket,n=e.Region,i=e.Key,s=e.CopySource,c=s.match(/^([^.]+-\d+)\.cos(v6)?\.([^.]+)\.[^/]+\/(.+)$/);if(c){var u=c[1],p=c[3],l=decodeURIComponent(c[4]),d=void 0===e.CopySliceSize?a.options.CopySliceSize:e.CopySliceSize;d=Math.max(0,d);var m,h,f=e.CopyChunkSize||this.options.CopyChunkSize,g=this.options.CopyChunkParallelLimit,y=0;r.on("copy_slice_complete",(function(r){vv.each(e.Headers,(function(e,t){t.toLowerCase().indexOf("x-cos-meta-")}));var s=vv.map(r.PartList,(function(e){return{PartNumber:e.PartNumber,ETag:e.ETag}}));a.multipartComplete({Bucket:o,Region:n,Key:i,UploadId:r.UploadId,Parts:s},(function(e,r){if(e)return h(null,!0),t(e);h({loaded:m,total:m},!0),t(null,r)}))})),r.on("get_copy_data_finish",(function(e){gv.eachLimit(e.PartList,g,(function(t,r){var c=t.PartNumber,u=t.CopySourceRange,p=t.end-t.start;_v.call(a,{Bucket:o,Region:n,Key:i,CopySource:s,UploadId:e.UploadId,PartNumber:c,CopySourceRange:u},(function(e,a){if(e)return r(e);h({loaded:y+=p,total:m}),t.ETag=a.ETag,r(e||null,a)}))}),(function(a){if(a)return h(null,!0),t(a);r.emit("copy_slice_complete",e)}))})),r.on("get_file_size_finish",(function(s){var c;if(function(){for(var t=[1,2,4,8,16,32,64,128,256,512,1024,2048,4096,5120],r=1048576,o=0;o<t.length&&!(m/(r=1024*t[o]*1024)<=a.options.MaxPartNumber);o++);e.ChunkSize=f=Math.max(f,r);for(var n=Math.ceil(m/f),i=[],s=1;s<=n;s++){var c=(s-1)*f,u=s*f<m?s*f-1:m-1,p={PartNumber:s,start:c,end:u,CopySourceRange:"bytes="+c+"-"+u};i.push(p)}e.PartList=i}(),(c="Replaced"===e.Headers["x-cos-metadata-directive"]?e.Headers:s)["x-cos-storage-class"]=e.Headers["x-cos-storage-class"]||s["x-cos-storage-class"],c=vv.clearKey(c),"ARCHIVE"===s["x-cos-storage-class"]||"DEEP_ARCHIVE"===s["x-cos-storage-class"]){var u=s["x-cos-restore"];if(!u||'ongoing-request="true"'===u)return void t(vv.error(new Error("Unrestored archive object is not allowed to be copied")))}delete c["x-cos-copy-source"],delete c["x-cos-metadata-directive"],delete c["x-cos-copy-source-If-Modified-Since"],delete c["x-cos-copy-source-If-Unmodified-Since"],delete c["x-cos-copy-source-If-Match"],delete c["x-cos-copy-source-If-None-Match"],a.multipartInit({Bucket:o,Region:n,Key:i,Headers:c},(function(a,o){if(a)return t(a);e.UploadId=o.UploadId,r.emit("get_copy_data_finish",e)}))})),a.headObject({Bucket:u,Region:p,Key:l},(function(o,n){if(o)o.statusCode&&404===o.statusCode?t(vv.error(o,{ErrorStatus:l+" Not Exist"})):t(o);else if(void 0!==(m=e.FileSize=n.headers["content-length"])&&m)if(h=vv.throttleOnProgress.call(a,m,e.onProgress),m<=d)e.Headers["x-cos-metadata-directive"]||(e.Headers["x-cos-metadata-directive"]="Copy"),a.putObjectCopy(e,(function(e,r){if(e)return h(null,!0),t(e);h({loaded:m,total:m},!0),t(e,r)}));else{var i=n.headers,s={"Cache-Control":i["cache-control"],"Content-Disposition":i["content-disposition"],"Content-Encoding":i["content-encoding"],"Content-Type":i["content-type"],Expires:i.expires,"x-cos-storage-class":i["x-cos-storage-class"]};vv.each(i,(function(e,t){var r="x-cos-meta-";0===t.indexOf(r)&&t.length>r.length&&(s[t]=e)})),r.emit("get_file_size_finish",s)}else t(vv.error(new Error('get Content-Length error, please add "Content-Length" to CORS ExposeHeader setting.（ 获取Content-Length失败，请在CORS ExposeHeader设置中添加Content-Length，请参考文档：https://cloud.tencent.com/document/product/436/13318 ）')))}))}else t(vv.error(new Error("CopySource format error")))},downloadFile:function(e,t){var r,a,o,n,i=this,s=e.TaskId||vv.uuid(),c=e.Bucket,u=e.Region,p=e.Key,l=e.FilePath,d=0,m=e.ChunkSize||1048576,h=e.ParallelLimit||5,f=e.RetryTimes||3,g=new yv,y=!1,v={};g.on("error",(function(e){t(e)})),g.on("get_file_info",(function(){i.headObject({Bucket:c,Region:u,Key:p},(function(o,n){if(o)return g.emit("error",o);if(void 0===(r=e.FileSize=parseInt(n.headers["content-length"]))||!r)return void t(vv.error(new Error('get Content-Length error, please add "Content-Length" to CORS ExposeHeader setting.（ 获取Content-Length失败，请在CORS ExposeHeader设置中添加Content-Length，请参考文档：https://cloud.tencent.com/document/product/436/13318 ）')));const d=n.headers,h=d["x-cos-storage-class"]||"",f=d["x-cos-restore"]||"";if(["DEEP_ARCHIVE","ARCHIVE"].includes(h)&&(!f||'ongoing-request="true"'===f))return t({statusCode:statusCode,header:d,code:"CannotDownload",message:"Archive object can not download, please restore to Standard storage class."});v={ETag:n.ETag,size:r,mtime:d["last-modified"],crc64ecma:d["x-cos-hash-crc64ecma"]},a=vv.throttleOnProgress.call(i,r,(function(t){y||e.onProgress(t)})),r<=m?i.getObject({TaskId:s,Bucket:c,Region:u,Key:p,onProgress:a,Output:fv.createWriteStream(l)},(function(e,o){if(e)return a(null,!0),t(e);a({loaded:r,total:r},!0),t(e,o)})):g.emit("calc_suitable_chunk_size")}))})),g.on("calc_suitable_chunk_size",(function(t){for(var a=[1,2,4,8,16,32,64,128,256,512,1024,2048,4096,5120],n=1048576,s=0;s<a.length&&!(r/(n=1024*a[s]*1024)<=i.options.MaxPartNumber);s++);e.ChunkSize=m=Math.max(m,n);for(var c=Math.ceil(r/m),u=[],p=1;p<=c;p++){var l={PartNumber:p,start:(p-1)*m,end:p*m<r?p*m-1:r-1};u.push(l)}o=u,g.emit("prepare_file")})),g.on("prepare_file",(function(e){fv.writeFile(l,"",(e=>{e?g.emit("error","EISDIR"===e.code?{code:"exist_same_dir",message:l}:e):g.emit("start_download_chunks")}))})),g.on("start_download_chunks",(function(t){a({loaded:0,total:r},!0);var c=o.length;gv.eachLimit(o,h,(function(t,o){y||gv.retry(f,(function(o){if(y)return;var u=vv.clone(e.Headers);u.Range="bytes="+t.start+"-"+t.end;const p=fv.createWriteStream(l,{start:t.start,flags:"r+"});var m=0,h=t.end-t.start;i.getObject({TaskId:s,Bucket:e.Bucket,Region:e.Region,Key:e.Key,Query:e.Query,Headers:u,onProgress:function(e){y||(d+=e.loaded-m,m=e.loaded,a({loaded:d,total:r}))},Output:p},(function(e,u){if(!y){if(e)return d-=m,o(e);t.PartNumber===c&&(n=u);var p,l=u.headers||{},f=l["content-range"]||"",b=parseInt(f.split("/")[1]||0);l["x-cos-hash-crc64ecma"]!==v.crc64ecma?p="download error, x-cos-hash-crc64ecma has changed.":b!==v.size&&(p="download error, Last-Modified has changed."),p?(a({loaded:d-=m,total:r}),g.emit("error",{code:"ObjectHasChanged",message:p,statusCode:u.statusCode,header:l}),i.emit("inner-kill-task",{TaskId:s})):(d+=h-m,t.loaded=!0,a({loaded:d,total:r}),o(e,u))}}))}),(function(e,t){y||o(e,t)}))}),(function(e,t){if(!y){if(a({loaded:r,total:r},!0),e)return g.emit("error",e);g.emit("download_chunks_complete")}}))})),g.on("download_chunks_complete",(function(){t(null,n)})),s&&i.on("inner-kill-task",(function(){y=!0})),g.emit("get_file_info")}};lv.init=function(e,t){t.transferToTaskMethod(Pv,"sliceUploadFile"),vv.each(Pv,(function(t,r){e.prototype[r]=vv.apiWrapper(r,t)}))};var Cv=fr,Tv=gr,Ov=xr,Av=lv,Iv=hu,Fv={AppId:"",SecretId:"",SecretKey:"",SecurityToken:"",ChunkRetryTimes:2,FileParallelLimit:3,ChunkParallelLimit:3,ChunkSize:1048576,SliceSize:1048576,CopyChunkParallelLimit:20,CopyChunkSize:10485760,CopySliceSize:10485760,MaxPartNumber:1e4,ProgressInterval:1e3,Domain:"",ServiceDomain:"",Protocol:"",CompatibilityMode:!1,ForcePathStyle:!1,UseRawKey:!1,Timeout:0,CorrectClockSkew:!0,SystemClockOffset:0,UploadCheckContentMd5:!1,UploadQueueSize:1e3,UploadIdCacheLimit:500,Proxy:"",Tunnel:void 0,Ip:"",StrictSsl:!0,KeepAlive:!0,FollowRedirect:!0,UseAccelerate:!1,UserAgent:"",ConfCwd:"",ForceSignHost:!0},Rv=function(e){this.options=Cv.extend(Cv.clone(Fv),e||{}),this.options.FileParallelLimit=Math.max(1,this.options.FileParallelLimit),this.options.ChunkParallelLimit=Math.max(1,this.options.ChunkParallelLimit),this.options.ChunkRetryTimes=Math.max(0,this.options.ChunkRetryTimes),this.options.ChunkSize=Math.max(1048576,this.options.ChunkSize),this.options.CopyChunkParallelLimit=Math.max(1,this.options.CopyChunkParallelLimit),this.options.CopyChunkSize=Math.max(1048576,this.options.CopyChunkSize),this.options.CopySliceSize=Math.max(0,this.options.CopySliceSize),this.options.MaxPartNumber=Math.max(1024,Math.min(1e4,this.options.MaxPartNumber)),this.options.Timeout=Math.max(0,this.options.Timeout),this.options.AppId&&console.warn('warning: AppId has been deprecated, Please put it at the end of parameter Bucket(E.g: "test-1250000000").'),(this.options.secretId||this.options.secretKey)&&(this.options.secretId&&!this.options.SecretId&&(this.options.SecretId=this.options.secretId),this.options.secretKey&&!this.options.SecretKey&&(this.options.SecretKey=this.options.secretKey),console.warn("warning: Please change options secretId/secretKey to SecretId/SecretKey.")),this.options.SecretId&&this.options.SecretId.indexOf(" ")>-1&&(console.error("error: SecretId格式错误，请检查"),console.error("error: SecretId format is incorrect. Please check")),this.options.SecretKey&&this.options.SecretKey.indexOf(" ")>-1&&(console.error("error: SecretKey格式错误，请检查"),console.error("error: SecretKey format is incorrect. Please check")),Cv.isWeb()&&(console.warn("warning: cos-nodejs-sdk-v5 不支持浏览器使用，请改用 cos-js-sdk-v5，参考文档： https://cloud.tencent.com/document/product/436/11459"),console.warn("warning: cos-nodejs-sdk-v5 does not support browsers. Please use cos-js-sdk-v5 instead, See: https://cloud.tencent.com/document/product/436/11459")),Tv.init(this),Ov.init(this)};mu.init(Rv,Ov),Av.init(Rv,Ov),Rv.util={md5:Cv.md5,xml2json:Cv.xml2json,json2xml:Cv.json2xml},Rv.getAuthorization=Cv.getAuth,Rv.version=Iv.version;var Dv=Rv;module.exports=Dv;
