nextcloud/dist/comments-comments-tab.js
nextcloud-command 2595021835 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2026-05-09 21:55:40 +02:00

2 lines
No EOL
222 KiB
JavaScript
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

(()=>{var t,e,r,n={96689(t,e,r){"use strict";r.d(e,{A:()=>n});const n=(0,r(35947).YK)().setApp("comments").detectUser().build()},35550(t,e,r){"use strict";r.d(e,{A:()=>u});var n=r(21777),i=r(82415),o=r(17003);const s=(0,i.UU)((0,o.e)());function a(t){s.setHeaders({"X-Requested-With":"XMLHttpRequest",requesttoken:t??""})}(0,n.zo)(a),a((0,n.do)());const u=s},17003(t,e,r){"use strict";r.d(e,{e:()=>i});var n=r(63814);function i(){return(0,n.dC)("dav/comments")}},80609(t,e,r){"use strict";var n=r(21777),i=r(35810),o=r(53334),s=r(26422),a=r(10810),u=r(85471),l=r(51651),c=r(96689),h=r(35906);let p,f;u.Ay.use(a.R2);var d=r(81222);r.nc=(0,n.aV)();const g="comments_files-sidebar-tab";(0,d.C)("comments","activityEnabled",!1)&&void 0!==window.OCA?.Activity?.registerSidebarAction?window.addEventListener("DOMContentLoaded",function(){window.OCA.Activity.registerSidebarAction({mount:async(t,{node:e,reload:n})=>{const i=(0,a.Ey)();if(!p){const{default:t}=await Promise.all([r.e(4208),r.e(3556),r.e(4906)]).then(r.bind(r,44906));p=u.Ay.extend(t)}f=new p({el:t,pinia:i,propsData:{reloadCallback:n,resourceId:e.fileid}}),c.A.info("Comments plugin mounted in Activity sidebar action",{node:e})},unmount:()=>{f&&f.$destroy()}}),window.OCA.Activity.registerSidebarEntries(async({node:t,limit:e,offset:n})=>{const{data:i}=await(0,h.v)({resourceType:"files",resourceId:t.fileid},{limit:e,offset:n??0});c.A.debug("Loaded comments",{node:t,comments:i});const{default:o}=await Promise.all([r.e(4208),r.e(3556),r.e(7039)]).then(r.bind(r,57039)),s=u.Ay.extend(o);return i.map(e=>({_CommentsViewInstance:void 0,timestamp:(0,l.A)(e.props?.creationDateTime).toDate().getTime(),mount(r,{reload:n}){this._CommentsViewInstance=new s({el:r,propsData:{comment:e,resourceId:t.fileid,reloadCallback:n}})},unmount(){this._CommentsViewInstance?.$destroy()}}))}),window.OCA.Activity.registerSidebarFilter(t=>"comments"!==t.type),c.A.info("Comments plugin registered for Activity sidebar action")}):(0,i.rS)({id:"comments",displayName:(0,o.t)("comments","Comments"),iconSvgInline:'<svg xmlns="http://www.w3.org/2000/svg" id="mdi-message-reply-text" viewBox="0 0 24 24"><path d="M18,8H6V6H18V8M18,11H6V9H18V11M18,14H6V12H18V14M22,4A2,2 0 0,0 20,2H4A2,2 0 0,0 2,4V16A2,2 0 0,0 4,18H18L22,22V4Z" /></svg>',order:50,tagName:g,async onInit(){const{default:t}=await Promise.all([r.e(4208),r.e(3556),r.e(8124)]).then(r.bind(r,38124));u.Ay.use(a.R2),u.Ay.mixin({pinia:(0,a.Ey)()});const e=(0,s.A)(u.Ay,t);Object.defineProperty(e.prototype,"attachShadow",{value(){return this}}),Object.defineProperty(e.prototype,"shadowRoot",{get(){return this}}),window.customElements.define(g,e)}})},35906(t,e,r){"use strict";r.d(e,{e:()=>a,v:()=>u});var n=r(82415),i=r(5e3),o=r(90176),s=r(35550);const a=20;async function u({resourceType:t,resourceId:e},r){const u=["",t,e].join("/"),l=r.datetime?`<oc:datetime>${r.datetime.toISOString()}</oc:datetime>`:"",c=await s.A.customRequest(u,{method:"REPORT",data:`<?xml version="1.0"?>\n\t\t\t<oc:filter-comments\n\t\t\t\txmlns:d="DAV:"\n\t\t\t\txmlns:oc="http://owncloud.org/ns"\n\t\t\t\txmlns:nc="http://nextcloud.org/ns"\n\t\t\t\txmlns:ocs="http://open-collaboration-services.org/ns">\n\t\t\t\t<oc:limit>${r.limit??a}</oc:limit>\n\t\t\t\t<oc:offset>${r.offset||0}</oc:offset>\n\t\t\t\t${l}\n\t\t\t</oc:filter-comments>`,...r}),h=await c.text(),p=function(t,e=!1){const{multistatus:{response:r}}=t;return r.map(t=>{const r=t.propstat.prop;return(0,o.ch)(r,r.id.toString(),e)})}(await(0,n.h4)(h),!0);return(0,i.hq)(c,p,!0)}},8505(t){"use strict";function e(t,e,i){t instanceof RegExp&&(t=r(t,i)),e instanceof RegExp&&(e=r(e,i));var o=n(t,e,i);return o&&{start:o[0],end:o[1],pre:i.slice(0,o[0]),body:i.slice(o[0]+t.length,o[1]),post:i.slice(o[1]+e.length)}}function r(t,e){var r=e.match(t);return r?r[0]:null}function n(t,e,r){var n,i,o,s,a,u=r.indexOf(t),l=r.indexOf(e,u+1),c=u;if(u>=0&&l>0){if(t===e)return[u,l];for(n=[],o=r.length;c>=0&&!a;)c==u?(n.push(c),u=r.indexOf(t,c+1)):1==n.length?a=[n.pop(),l]:((i=n.pop())<o&&(o=i,s=l),l=r.indexOf(e,c+1)),c=u<l&&u>=0?u:l;n.length&&(a=[o,s])}return a}t.exports=e,e.range=n},85914(t,e,r){var n;t=r.nmd(t),function(){var i=(t&&t.exports,"object"==typeof globalThis&&globalThis);i.global!==i&&i.window;var o=function(t){this.message=t};(o.prototype=new Error).name="InvalidCharacterError";var s=function(t){throw new o(t)},a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",u=/[\t\n\f\r ]/g,l={encode:function(t){t=String(t),/[^\0-\xFF]/.test(t)&&s("The string to be encoded contains characters outside of the Latin1 range.");for(var e,r,n,i,o=t.length%3,u="",l=-1,c=t.length-o;++l<c;)e=t.charCodeAt(l)<<16,r=t.charCodeAt(++l)<<8,n=t.charCodeAt(++l),u+=a.charAt((i=e+r+n)>>18&63)+a.charAt(i>>12&63)+a.charAt(i>>6&63)+a.charAt(63&i);return 2==o?(e=t.charCodeAt(l)<<8,r=t.charCodeAt(++l),u+=a.charAt((i=e+r)>>10)+a.charAt(i>>4&63)+a.charAt(i<<2&63)+"="):1==o&&(i=t.charCodeAt(l),u+=a.charAt(i>>2)+a.charAt(i<<4&63)+"=="),u},decode:function(t){var e=(t=String(t).replace(u,"")).length;e%4==0&&(e=(t=t.replace(/==?$/,"")).length),(e%4==1||/[^+a-zA-Z0-9/]/.test(t))&&s("Invalid character: the string to be decoded is not correctly encoded.");for(var r,n,i=0,o="",l=-1;++l<e;)n=a.indexOf(t.charAt(l)),r=i%4?64*r+n:n,i++%4&&(o+=String.fromCharCode(255&r>>(-2*i&6)));return o},version:"1.0.0"};void 0===(n=function(){return l}.call(e,r,e,t))||(t.exports=n)}()},68928(t,e,r){var n=r(8505);t.exports=function(t){return t?("{}"===t.substr(0,2)&&(t="\\{\\}"+t.substr(2)),m(function(t){return t.split("\\\\").join(i).split("\\{").join(o).split("\\}").join(s).split("\\,").join(a).split("\\.").join(u)}(t),!0).map(c)):[]};var i="\0SLASH"+Math.random()+"\0",o="\0OPEN"+Math.random()+"\0",s="\0CLOSE"+Math.random()+"\0",a="\0COMMA"+Math.random()+"\0",u="\0PERIOD"+Math.random()+"\0";function l(t){return parseInt(t,10)==t?parseInt(t,10):t.charCodeAt(0)}function c(t){return t.split(i).join("\\").split(o).join("{").split(s).join("}").split(a).join(",").split(u).join(".")}function h(t){if(!t)return[""];var e=[],r=n("{","}",t);if(!r)return t.split(",");var i=r.pre,o=r.body,s=r.post,a=i.split(",");a[a.length-1]+="{"+o+"}";var u=h(s);return s.length&&(a[a.length-1]+=u.shift(),a.push.apply(a,u)),e.push.apply(e,a),e}function p(t){return"{"+t+"}"}function f(t){return/^-?0\d/.test(t)}function d(t,e){return t<=e}function g(t,e){return t>=e}function m(t,e){var r=[],i=n("{","}",t);if(!i)return[t];var o=i.pre,a=i.post.length?m(i.post,!1):[""];if(/\$$/.test(i.pre))for(var u=0;u<a.length;u++){var c=o+"{"+i.body+"}"+a[u];r.push(c)}else{var y,b,v=/^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(i.body),w=/^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(i.body),E=v||w,x=i.body.indexOf(",")>=0;if(!E&&!x)return i.post.match(/,(?!,).*\}/)?m(t=i.pre+"{"+i.body+s+i.post):[t];if(E)y=i.body.split(/\.\./);else if(1===(y=h(i.body)).length&&1===(y=m(y[0],!1).map(p)).length)return a.map(function(t){return i.pre+y[0]+t});if(E){var S=l(y[0]),_=l(y[1]),A=Math.max(y[0].length,y[1].length),T=3==y.length?Math.abs(l(y[2])):1,O=d;_<S&&(T*=-1,O=g);var N=y.some(f);b=[];for(var j=S;O(j,_);j+=T){var P;if(w)"\\"===(P=String.fromCharCode(j))&&(P="");else if(P=String(j),N){var R=A-P.length;if(R>0){var C=new Array(R+1).join("0");P=j<0?"-"+C+P.slice(1):C+P}}b.push(P)}}else{b=[];for(var k=0;k<y.length;k++)b.push.apply(b,m(y[k],!1))}for(k=0;k<b.length;k++)for(u=0;u<a.length;u++)c=o+b[k]+a[u],(!e||E||c)&&r.push(c)}return r}},86866(t){t.exports={100:"Continue",101:"Switching Protocols",102:"Processing",200:"OK",201:"Created",202:"Accepted",203:"Non-Authoritative Information",204:"No Content",205:"Reset Content",206:"Partial Content",207:"Multi-Status",208:"Already Reported",226:"IM Used",300:"Multiple Choices",301:"Moved Permanently",302:"Found",303:"See Other",304:"Not Modified",305:"Use Proxy",307:"Temporary Redirect",308:"Permanent Redirect",400:"Bad Request",401:"Unauthorized",402:"Payment Required",403:"Forbidden",404:"Not Found",405:"Method Not Allowed",406:"Not Acceptable",407:"Proxy Authentication Required",408:"Request Timeout",409:"Conflict",410:"Gone",411:"Length Required",412:"Precondition Failed",413:"Payload Too Large",414:"URI Too Long",415:"Unsupported Media Type",416:"Range Not Satisfiable",417:"Expectation Failed",418:"I'm a teapot",421:"Misdirected Request",422:"Unprocessable Entity",423:"Locked",424:"Failed Dependency",425:"Unordered Collection",426:"Upgrade Required",428:"Precondition Required",429:"Too Many Requests",431:"Request Header Fields Too Large",451:"Unavailable For Legal Reasons",500:"Internal Server Error",501:"Not Implemented",502:"Bad Gateway",503:"Service Unavailable",504:"Gateway Timeout",505:"HTTP Version Not Supported",506:"Variant Also Negotiates",507:"Insufficient Storage",508:"Loop Detected",509:"Bandwidth Limit Exceeded",510:"Not Extended",511:"Network Authentication Required"}},67691(t,e){"use strict";e.d=function(t){if(!t)return 0;for(var e=(t=t.toString()).length,r=t.length;r--;){var n=t.charCodeAt(r);56320<=n&&n<=57343&&r--,127<n&&n<=2047?e++:2047<n&&n<=65535&&(e+=2)}return e}},4233(t){"use strict";const e=function*(){}.constructor;t.exports=()=>e},11083(t,e,r){var n=r(11568),i=r(88835),o=t.exports;for(var s in n)n.hasOwnProperty(s)&&(o[s]=n[s]);function a(t){if("string"==typeof t&&(t=i.parse(t)),t.protocol||(t.protocol="https:"),"https:"!==t.protocol)throw new Error('Protocol "'+t.protocol+'" not supported. Expected "https:"');return t}o.request=function(t,e){return t=a(t),n.request.call(this,t,e)},o.get=function(t,e){return t=a(t),n.get.call(this,t,e)}},47244(t,e,r){"use strict";var n=r(49092)(),i=r(36556)("Object.prototype.toString"),o=function(t){return!(n&&t&&"object"==typeof t&&Symbol.toStringTag in t)&&"[object Arguments]"===i(t)},s=function(t){return!!o(t)||null!==t&&"object"==typeof t&&"length"in t&&"number"==typeof t.length&&t.length>=0&&"[object Array]"!==i(t)&&"callee"in t&&"[object Function]"===i(t.callee)},a=function(){return o(arguments)}();o.isLegacyArguments=s,t.exports=a?o:s},48184(t,e,r){"use strict";var n=r(36556),i=r(99721)(/^\s*(?:function)?\*/),o=r(49092)(),s=r(93628),a=n("Object.prototype.toString"),u=n("Function.prototype.toString"),l=r(4233);t.exports=function(t){if("function"!=typeof t)return!1;if(i(u(t)))return!0;if(!o)return"[object GeneratorFunction]"===a(t);if(!s)return!1;var e=l();return e&&s(t)===e.prototype}},14035(t,e,r){"use strict";var n,i=r(36556),o=r(49092)(),s=r(9957),a=r(75795);if(o){var u=i("RegExp.prototype.exec"),l={},c=function(){throw l},h={toString:c,valueOf:c};"symbol"==typeof Symbol.toPrimitive&&(h[Symbol.toPrimitive]=c),n=function(t){if(!t||"object"!=typeof t)return!1;var e=a(t,"lastIndex");if(!e||!s(e,"value"))return!1;try{u(t,h)}catch(t){return t===l}}}else{var p=i("Object.prototype.toString");n=function(t){return!(!t||"object"!=typeof t&&"function"!=typeof t)&&"[object RegExp]"===p(t)}}t.exports=n},26602(t){"use strict";function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},e(t)}function r(t){var e="function"==typeof Map?new Map:void 0;return r=function(t){if(null===t||(r=t,-1===Function.toString.call(r).indexOf("[native code]")))return t;var r;if("function"!=typeof t)throw new TypeError("Super expression must either be null or a function");if(void 0!==e){if(e.has(t))return e.get(t);e.set(t,s)}function s(){return n(t,arguments,o(this).constructor)}return s.prototype=Object.create(t.prototype,{constructor:{value:s,enumerable:!1,writable:!0,configurable:!0}}),i(s,t)},r(t)}function n(t,e,r){return n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}()?Reflect.construct:function(t,e,r){var n=[null];n.push.apply(n,e);var o=new(Function.bind.apply(t,n));return r&&i(o,r.prototype),o},n.apply(null,arguments)}function i(t,e){return i=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},i(t,e)}function o(t){return o=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},o(t)}var s=function(t){function r(t){var n;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,r),(n=function(t,r){return!r||"object"!==e(r)&&"function"!=typeof r?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):r}(this,o(r).call(this,t))).name="ObjectPrototypeMutationError",n}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&i(t,e)}(r,t),r}(r(Error));function a(t,r){for(var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(){},i=r.split("."),o=i.length,s=function(e){var r=i[e];if(!t)return{v:void 0};if("+"===r){if(Array.isArray(t))return{v:t.map(function(r,o){var s=i.slice(e+1);return s.length>0?a(r,s.join("."),n):n(t,o,i,e)})};var o=i.slice(0,e).join(".");throw new Error("Object at wildcard (".concat(o,") is not an array"))}t=n(t,r,i,e)},u=0;u<o;u++){var l=s(u);if("object"===e(l))return l.v}return t}function u(t,e){return t.length===e+1}t.exports={set:function(t,r,n){if("object"!=e(t)||null===t)return t;if(void 0===r)return t;if("number"==typeof r)return t[r]=n,t[r];try{return a(t,r,function(t,e,r,i){if(t===Reflect.getPrototypeOf({}))throw new s("Attempting to mutate Object.prototype");if(!t[e]){var o=Number.isInteger(Number(r[i+1])),a="+"===r[i+1];t[e]=o||a?[]:{}}return u(r,i)&&(t[e]=n),t[e]})}catch(e){if(e instanceof s)throw e;return t}},get:function(t,r){if("object"!=e(t)||null===t)return t;if(void 0===r)return t;if("number"==typeof r)return t[r];try{return a(t,r,function(t,e){return t[e]})}catch(e){return t}},has:function(t,r){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if("object"!=e(t)||null===t)return!1;if(void 0===r)return!1;if("number"==typeof r)return r in t;try{var i=!1;return a(t,r,function(t,e,r,o){if(!u(r,o))return t&&t[e];i=n.own?t.hasOwnProperty(e):e in t}),i}catch(t){return!1}},hasOwn:function(t,e,r){return this.has(t,e,r||{own:!0})},isIn:function(t,r,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};if("object"!=e(t)||null===t)return!1;if(void 0===r)return!1;try{var o=!1,s=!1;return a(t,r,function(t,r,i,a){return o=o||t===n||!!t&&t[r]===n,s=u(i,a)&&"object"===e(t)&&r in t,t&&t[r]}),i.validPath?o&&s:o}catch(t){return!1}},ObjectPrototypeMutationError:s}},58859(t,e,r){var n="function"==typeof Map&&Map.prototype,i=Object.getOwnPropertyDescriptor&&n?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,o=n&&i&&"function"==typeof i.get?i.get:null,s=n&&Map.prototype.forEach,a="function"==typeof Set&&Set.prototype,u=Object.getOwnPropertyDescriptor&&a?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,l=a&&u&&"function"==typeof u.get?u.get:null,c=a&&Set.prototype.forEach,h="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,p="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,f="function"==typeof WeakRef&&WeakRef.prototype?WeakRef.prototype.deref:null,d=Boolean.prototype.valueOf,g=Object.prototype.toString,m=Function.prototype.toString,y=String.prototype.match,b=String.prototype.slice,v=String.prototype.replace,w=String.prototype.toUpperCase,E=String.prototype.toLowerCase,x=RegExp.prototype.test,S=Array.prototype.concat,_=Array.prototype.join,A=Array.prototype.slice,T=Math.floor,O="function"==typeof BigInt?BigInt.prototype.valueOf:null,N=Object.getOwnPropertySymbols,j="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?Symbol.prototype.toString:null,P="function"==typeof Symbol&&"object"==typeof Symbol.iterator,R="function"==typeof Symbol&&Symbol.toStringTag&&(Symbol.toStringTag,1)?Symbol.toStringTag:null,C=Object.prototype.propertyIsEnumerable,k=("function"==typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(t){return t.__proto__}:null);function M(t,e){if(t===1/0||t===-1/0||t!=t||t&&t>-1e3&&t<1e3||x.call(/e/,e))return e;var r=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if("number"==typeof t){var n=t<0?-T(-t):T(t);if(n!==t){var i=String(n),o=b.call(e,i.length+1);return v.call(i,r,"$&_")+"."+v.call(v.call(o,/([0-9]{3})/g,"$&_"),/_$/,"")}}return v.call(e,r,"$&_")}var I=r(42634),L=I.custom,$=V(L)?L:null,D={__proto__:null,double:'"',single:"'"},U={__proto__:null,double:/(["\\])/g,single:/(['\\])/g};function q(t,e,r){var n=r.quoteStyle||e,i=D[n];return i+t+i}function F(t){return v.call(String(t),/"/g,"&quot;")}function W(t){return!R||!("object"==typeof t&&(R in t||void 0!==t[R]))}function H(t){return"[object Array]"===K(t)&&W(t)}function B(t){return"[object RegExp]"===K(t)&&W(t)}function V(t){if(P)return t&&"object"==typeof t&&t instanceof Symbol;if("symbol"==typeof t)return!0;if(!t||"object"!=typeof t||!j)return!1;try{return j.call(t),!0}catch(t){}return!1}t.exports=function t(e,r,n,i){var a=r||{};if(z(a,"quoteStyle")&&!z(D,a.quoteStyle))throw new TypeError('option "quoteStyle" must be "single" or "double"');if(z(a,"maxStringLength")&&("number"==typeof a.maxStringLength?a.maxStringLength<0&&a.maxStringLength!==1/0:null!==a.maxStringLength))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var u=!z(a,"customInspect")||a.customInspect;if("boolean"!=typeof u&&"symbol"!==u)throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(z(a,"indent")&&null!==a.indent&&"\t"!==a.indent&&!(parseInt(a.indent,10)===a.indent&&a.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(z(a,"numericSeparator")&&"boolean"!=typeof a.numericSeparator)throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var g=a.numericSeparator;if(void 0===e)return"undefined";if(null===e)return"null";if("boolean"==typeof e)return e?"true":"false";if("string"==typeof e)return Y(e,a);if("number"==typeof e){if(0===e)return 1/0/e>0?"0":"-0";var w=String(e);return g?M(e,w):w}if("bigint"==typeof e){var x=String(e)+"n";return g?M(e,x):x}var T=void 0===a.depth?5:a.depth;if(void 0===n&&(n=0),n>=T&&T>0&&"object"==typeof e)return H(e)?"[Array]":"[Object]";var N,L=function(t,e){var r;if("\t"===t.indent)r="\t";else{if(!("number"==typeof t.indent&&t.indent>0))return null;r=_.call(Array(t.indent+1)," ")}return{base:r,prev:_.call(Array(e+1),r)}}(a,n);if(void 0===i)i=[];else if(X(i,e)>=0)return"[Circular]";function U(e,r,o){if(r&&(i=A.call(i)).push(r),o){var s={depth:a.depth};return z(a,"quoteStyle")&&(s.quoteStyle=a.quoteStyle),t(e,s,n+1,i)}return t(e,a,n+1,i)}if("function"==typeof e&&!B(e)){var G=function(t){if(t.name)return t.name;var e=y.call(m.call(t),/^function\s*([\w$]+)/);return e?e[1]:null}(e),Z=rt(e,U);return"[Function"+(G?": "+G:" (anonymous)")+"]"+(Z.length>0?" { "+_.call(Z,", ")+" }":"")}if(V(e)){var nt=P?v.call(String(e),/^(Symbol\(.*\))_[^)]*$/,"$1"):j.call(e);return"object"!=typeof e||P?nt:Q(nt)}if((N=e)&&"object"==typeof N&&("undefined"!=typeof HTMLElement&&N instanceof HTMLElement||"string"==typeof N.nodeName&&"function"==typeof N.getAttribute)){for(var it="<"+E.call(String(e.nodeName)),ot=e.attributes||[],st=0;st<ot.length;st++)it+=" "+ot[st].name+"="+q(F(ot[st].value),"double",a);return it+=">",e.childNodes&&e.childNodes.length&&(it+="..."),it+"</"+E.call(String(e.nodeName))+">"}if(H(e)){if(0===e.length)return"[]";var at=rt(e,U);return L&&!function(t){for(var e=0;e<t.length;e++)if(X(t[e],"\n")>=0)return!1;return!0}(at)?"["+et(at,L)+"]":"[ "+_.call(at,", ")+" ]"}if(function(t){return"[object Error]"===K(t)&&W(t)}(e)){var ut=rt(e,U);return"cause"in Error.prototype||!("cause"in e)||C.call(e,"cause")?0===ut.length?"["+String(e)+"]":"{ ["+String(e)+"] "+_.call(ut,", ")+" }":"{ ["+String(e)+"] "+_.call(S.call("[cause]: "+U(e.cause),ut),", ")+" }"}if("object"==typeof e&&u){if($&&"function"==typeof e[$]&&I)return I(e,{depth:T-n});if("symbol"!==u&&"function"==typeof e.inspect)return e.inspect()}if(function(t){if(!o||!t||"object"!=typeof t)return!1;try{o.call(t);try{l.call(t)}catch(t){return!0}return t instanceof Map}catch(t){}return!1}(e)){var lt=[];return s&&s.call(e,function(t,r){lt.push(U(r,e,!0)+" => "+U(t,e))}),tt("Map",o.call(e),lt,L)}if(function(t){if(!l||!t||"object"!=typeof t)return!1;try{l.call(t);try{o.call(t)}catch(t){return!0}return t instanceof Set}catch(t){}return!1}(e)){var ct=[];return c&&c.call(e,function(t){ct.push(U(t,e))}),tt("Set",l.call(e),ct,L)}if(function(t){if(!h||!t||"object"!=typeof t)return!1;try{h.call(t,h);try{p.call(t,p)}catch(t){return!0}return t instanceof WeakMap}catch(t){}return!1}(e))return J("WeakMap");if(function(t){if(!p||!t||"object"!=typeof t)return!1;try{p.call(t,p);try{h.call(t,h)}catch(t){return!0}return t instanceof WeakSet}catch(t){}return!1}(e))return J("WeakSet");if(function(t){if(!f||!t||"object"!=typeof t)return!1;try{return f.call(t),!0}catch(t){}return!1}(e))return J("WeakRef");if(function(t){return"[object Number]"===K(t)&&W(t)}(e))return Q(U(Number(e)));if(function(t){if(!t||"object"!=typeof t||!O)return!1;try{return O.call(t),!0}catch(t){}return!1}(e))return Q(U(O.call(e)));if(function(t){return"[object Boolean]"===K(t)&&W(t)}(e))return Q(d.call(e));if(function(t){return"[object String]"===K(t)&&W(t)}(e))return Q(U(String(e)));if("undefined"!=typeof window&&e===window)return"{ [object Window] }";if("undefined"!=typeof globalThis&&e===globalThis||"undefined"!=typeof globalThis&&e===globalThis)return"{ [object globalThis] }";if(!function(t){return"[object Date]"===K(t)&&W(t)}(e)&&!B(e)){var ht=rt(e,U),pt=k?k(e)===Object.prototype:e instanceof Object||e.constructor===Object,ft=e instanceof Object?"":"null prototype",dt=!pt&&R&&Object(e)===e&&R in e?b.call(K(e),8,-1):ft?"Object":"",gt=(pt||"function"!=typeof e.constructor?"":e.constructor.name?e.constructor.name+" ":"")+(dt||ft?"["+_.call(S.call([],dt||[],ft||[]),": ")+"] ":"");return 0===ht.length?gt+"{}":L?gt+"{"+et(ht,L)+"}":gt+"{ "+_.call(ht,", ")+" }"}return String(e)};var G=Object.prototype.hasOwnProperty||function(t){return t in this};function z(t,e){return G.call(t,e)}function K(t){return g.call(t)}function X(t,e){if(t.indexOf)return t.indexOf(e);for(var r=0,n=t.length;r<n;r++)if(t[r]===e)return r;return-1}function Y(t,e){if(t.length>e.maxStringLength){var r=t.length-e.maxStringLength,n="... "+r+" more character"+(r>1?"s":"");return Y(b.call(t,0,e.maxStringLength),e)+n}var i=U[e.quoteStyle||"single"];return i.lastIndex=0,q(v.call(v.call(t,i,"\\$1"),/[\x00-\x1f]/g,Z),"single",e)}function Z(t){var e=t.charCodeAt(0),r={8:"b",9:"t",10:"n",12:"f",13:"r"}[e];return r?"\\"+r:"\\x"+(e<16?"0":"")+w.call(e.toString(16))}function Q(t){return"Object("+t+")"}function J(t){return t+" { ? }"}function tt(t,e,r,n){return t+" ("+e+") {"+(n?et(r,n):_.call(r,", "))+"}"}function et(t,e){if(0===t.length)return"";var r="\n"+e.prev+e.base;return r+_.call(t,","+r)+"\n"+e.prev}function rt(t,e){var r=H(t),n=[];if(r){n.length=t.length;for(var i=0;i<t.length;i++)n[i]=z(t,i)?e(t[i],t):""}var o,s="function"==typeof N?N(t):[];if(P){o={};for(var a=0;a<s.length;a++)o["$"+s[a]]=s[a]}for(var u in t)z(t,u)&&(r&&String(Number(u))===u&&u<t.length||P&&o["$"+u]instanceof Symbol||(x.call(/[^\w$]/,u)?n.push(e(u,t)+": "+e(t[u],t)):n.push(u+": "+e(t[u],t))));if("function"==typeof N)for(var l=0;l<s.length;l++)C.call(t,s[l])&&n.push("["+e(s[l])+"]: "+e(t[s[l]],t));return n}},12692(t,e,r){"use strict";var n=r(65606),i=r(40537),o=function(t){return"string"==typeof t};function s(t,e){for(var r=[],n=0;n<t.length;n++){var i=t[n];i&&"."!==i&&(".."===i?r.length&&".."!==r[r.length-1]?r.pop():e&&r.push(".."):r.push(i))}return r}var a=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/,u={};function l(t){return a.exec(t).slice(1)}u.resolve=function(){for(var t="",e=!1,r=arguments.length-1;r>=-1&&!e;r--){var i=r>=0?arguments[r]:n.cwd();if(!o(i))throw new TypeError("Arguments to path.resolve must be strings");i&&(t=i+"/"+t,e="/"===i.charAt(0))}return(e?"/":"")+(t=s(t.split("/"),!e).join("/"))||"."},u.normalize=function(t){var e=u.isAbsolute(t),r="/"===t.substr(-1);return(t=s(t.split("/"),!e).join("/"))||e||(t="."),t&&r&&(t+="/"),(e?"/":"")+t},u.isAbsolute=function(t){return"/"===t.charAt(0)},u.join=function(){for(var t="",e=0;e<arguments.length;e++){var r=arguments[e];if(!o(r))throw new TypeError("Arguments to path.join must be strings");r&&(t+=t?"/"+r:r)}return u.normalize(t)},u.relative=function(t,e){function r(t){for(var e=0;e<t.length&&""===t[e];e++);for(var r=t.length-1;r>=0&&""===t[r];r--);return e>r?[]:t.slice(e,r+1)}t=u.resolve(t).substr(1),e=u.resolve(e).substr(1);for(var n=r(t.split("/")),i=r(e.split("/")),o=Math.min(n.length,i.length),s=o,a=0;a<o;a++)if(n[a]!==i[a]){s=a;break}var l=[];for(a=s;a<n.length;a++)l.push("..");return(l=l.concat(i.slice(s))).join("/")},u._makeLong=function(t){return t},u.dirname=function(t){var e=l(t),r=e[0],n=e[1];return r||n?(n&&(n=n.substr(0,n.length-1)),r+n):"."},u.basename=function(t,e){var r=l(t)[2];return e&&r.substr(-1*e.length)===e&&(r=r.substr(0,r.length-e.length)),r},u.extname=function(t){return l(t)[3]},u.format=function(t){if(!i.isObject(t))throw new TypeError("Parameter 'pathObject' must be an object, not "+typeof t);var e=t.root||"";if(!o(e))throw new TypeError("'pathObject.root' must be a string or undefined, not "+typeof t.root);return(t.dir?t.dir+u.sep:"")+(t.base||"")},u.parse=function(t){if(!o(t))throw new TypeError("Parameter 'pathString' must be a string, not "+typeof t);var e=l(t);if(!e||4!==e.length)throw new TypeError("Invalid path '"+t+"'");return e[1]=e[1]||"",e[2]=e[2]||"",e[3]=e[3]||"",{root:e[0],dir:e[0]+e[1].slice(0,e[1].length-1),base:e[2],ext:e[3],name:e[2].slice(0,e[2].length-e[3].length)}},u.sep="/",u.delimiter=":",t.exports=u},9655(t,e,r){var n;t=r.nmd(t),function(){e&&e.nodeType,t&&t.nodeType;var i="object"==typeof globalThis&&globalThis;i.global!==i&&i.window!==i&&i.self;var o,s=2147483647,a=36,u=/^xn--/,l=/[^\x20-\x7E]/,c=/[\x2E\u3002\uFF0E\uFF61]/g,h={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},p=Math.floor,f=String.fromCharCode;function d(t){throw new RangeError(h[t])}function g(t,e){for(var r=t.length,n=[];r--;)n[r]=e(t[r]);return n}function m(t,e){var r=t.split("@"),n="";return r.length>1&&(n=r[0]+"@",t=r[1]),n+g((t=t.replace(c,".")).split("."),e).join(".")}function y(t){for(var e,r,n=[],i=0,o=t.length;i<o;)(e=t.charCodeAt(i++))>=55296&&e<=56319&&i<o?56320==(64512&(r=t.charCodeAt(i++)))?n.push(((1023&e)<<10)+(1023&r)+65536):(n.push(e),i--):n.push(e);return n}function b(t){return g(t,function(t){var e="";return t>65535&&(e+=f((t-=65536)>>>10&1023|55296),t=56320|1023&t),e+f(t)}).join("")}function v(t){return t-48<10?t-22:t-65<26?t-65:t-97<26?t-97:a}function w(t,e){return t+22+75*(t<26)-((0!=e)<<5)}function E(t,e,r){var n=0;for(t=r?p(t/700):t>>1,t+=p(t/e);t>455;n+=a)t=p(t/35);return p(n+36*t/(t+38))}function x(t){var e,r,n,i,o,u,l,c,h,f,g=[],m=t.length,y=0,w=128,x=72;for((r=t.lastIndexOf("-"))<0&&(r=0),n=0;n<r;++n)t.charCodeAt(n)>=128&&d("not-basic"),g.push(t.charCodeAt(n));for(i=r>0?r+1:0;i<m;){for(o=y,u=1,l=a;i>=m&&d("invalid-input"),((c=v(t.charCodeAt(i++)))>=a||c>p((s-y)/u))&&d("overflow"),y+=c*u,!(c<(h=l<=x?1:l>=x+26?26:l-x));l+=a)u>p(s/(f=a-h))&&d("overflow"),u*=f;x=E(y-o,e=g.length+1,0==o),p(y/e)>s-w&&d("overflow"),w+=p(y/e),y%=e,g.splice(y++,0,w)}return b(g)}function S(t){var e,r,n,i,o,u,l,c,h,g,m,b,v,x,S,_=[];for(b=(t=y(t)).length,e=128,r=0,o=72,u=0;u<b;++u)(m=t[u])<128&&_.push(f(m));for(n=i=_.length,i&&_.push("-");n<b;){for(l=s,u=0;u<b;++u)(m=t[u])>=e&&m<l&&(l=m);for(l-e>p((s-r)/(v=n+1))&&d("overflow"),r+=(l-e)*v,e=l,u=0;u<b;++u)if((m=t[u])<e&&++r>s&&d("overflow"),m==e){for(c=r,h=a;!(c<(g=h<=o?1:h>=o+26?26:h-o));h+=a)S=c-g,x=a-g,_.push(f(w(g+S%x,0))),c=p(S/x);_.push(f(w(c,0))),o=E(r,v,n==i),r=0,++n}++r,++e}return _.join("")}o={version:"1.4.1",ucs2:{decode:y,encode:b},decode:x,encode:S,toASCII:function(t){return m(t,function(t){return l.test(t)?"xn--"+S(t):t})},toUnicode:function(t){return m(t,function(t){return u.test(t)?x(t.slice(4).toLowerCase()):t})}},void 0===(n=function(){return o}.call(e,r,e,t))||(t.exports=n)}()},74765(t){"use strict";var e=String.prototype.replace,r=/%20/g,n="RFC3986";t.exports={default:n,formatters:{RFC1738:function(t){return e.call(t,r,"+")},RFC3986:function(t){return String(t)}},RFC1738:"RFC1738",RFC3986:n}},55373(t,e,r){"use strict";var n=r(98636),i=r(62642),o=r(74765);t.exports={formats:o,parse:i,stringify:n}},62642(t,e,r){"use strict";var n=r(37720),i=Object.prototype.hasOwnProperty,o=Array.isArray,s={allowDots:!1,allowEmptyArrays:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decodeDotInKeys:!1,decoder:n.decode,delimiter:"&",depth:5,duplicates:"combine",ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictDepth:!1,strictNullHandling:!1,throwOnLimitExceeded:!1},a=function(t){return t.replace(/&#(\d+);/g,function(t,e){return String.fromCharCode(parseInt(e,10))})},u=function(t,e,r){if(t&&"string"==typeof t&&e.comma&&t.indexOf(",")>-1)return t.split(",");if(e.throwOnLimitExceeded&&r>=e.arrayLimit)throw new RangeError("Array limit exceeded. Only "+e.arrayLimit+" element"+(1===e.arrayLimit?"":"s")+" allowed in an array.");return t},l=function(t,e,r,o){if(t){var s=function(t,e){var r=e.allowDots?t.replace(/\.([^.[]+)/g,"[$1]"):t;if(e.depth<=0){if(!e.plainObjects&&i.call(Object.prototype,r)&&!e.allowPrototypes)return;return[r]}var n=/(\[[^[\]]*])/g,o=/(\[[^[\]]*])/.exec(r),s=o?r.slice(0,o.index):r,a=[];if(s){if(!e.plainObjects&&i.call(Object.prototype,s)&&!e.allowPrototypes)return;a.push(s)}for(var u=0;null!==(o=n.exec(r))&&u<e.depth;){u+=1;var l=o[1].slice(1,-1);if(!e.plainObjects&&i.call(Object.prototype,l)&&!e.allowPrototypes)return;a.push(o[1])}if(o){if(!0===e.strictDepth)throw new RangeError("Input depth exceeded depth option of "+e.depth+" and strictDepth is true");a.push("["+r.slice(o.index)+"]")}return a}(t,r);if(s)return function(t,e,r,i){var o=0;if(t.length>0&&"[]"===t[t.length-1]){var s=t.slice(0,-1).join("");o=Array.isArray(e)&&e[s]?e[s].length:0}for(var a=i?e:u(e,r,o),l=t.length-1;l>=0;--l){var c,h=t[l];if("[]"===h&&r.parseArrays)c=n.isOverflow(a)?a:r.allowEmptyArrays&&(""===a||r.strictNullHandling&&null===a)?[]:n.combine([],a,r.arrayLimit,r.plainObjects);else{c=r.plainObjects?{__proto__:null}:{};var p="["===h.charAt(0)&&"]"===h.charAt(h.length-1)?h.slice(1,-1):h,f=r.decodeDotInKeys?p.replace(/%2E/g,"."):p,d=parseInt(f,10);r.parseArrays||""!==f?!isNaN(d)&&h!==f&&String(d)===f&&d>=0&&r.parseArrays&&d<=r.arrayLimit?(c=[])[d]=a:"__proto__"!==f&&(c[f]=a):c={0:a}}a=c}return a}(s,e,r,o)}};t.exports=function(t,e){var r=function(t){if(!t)return s;if(void 0!==t.allowEmptyArrays&&"boolean"!=typeof t.allowEmptyArrays)throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(void 0!==t.decodeDotInKeys&&"boolean"!=typeof t.decodeDotInKeys)throw new TypeError("`decodeDotInKeys` option can only be `true` or `false`, when provided");if(null!==t.decoder&&void 0!==t.decoder&&"function"!=typeof t.decoder)throw new TypeError("Decoder has to be a function.");if(void 0!==t.charset&&"utf-8"!==t.charset&&"iso-8859-1"!==t.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");if(void 0!==t.throwOnLimitExceeded&&"boolean"!=typeof t.throwOnLimitExceeded)throw new TypeError("`throwOnLimitExceeded` option must be a boolean");var e=void 0===t.charset?s.charset:t.charset,r=void 0===t.duplicates?s.duplicates:t.duplicates;if("combine"!==r&&"first"!==r&&"last"!==r)throw new TypeError("The duplicates option must be either combine, first, or last");return{allowDots:void 0===t.allowDots?!0===t.decodeDotInKeys||s.allowDots:!!t.allowDots,allowEmptyArrays:"boolean"==typeof t.allowEmptyArrays?!!t.allowEmptyArrays:s.allowEmptyArrays,allowPrototypes:"boolean"==typeof t.allowPrototypes?t.allowPrototypes:s.allowPrototypes,allowSparse:"boolean"==typeof t.allowSparse?t.allowSparse:s.allowSparse,arrayLimit:"number"==typeof t.arrayLimit?t.arrayLimit:s.arrayLimit,charset:e,charsetSentinel:"boolean"==typeof t.charsetSentinel?t.charsetSentinel:s.charsetSentinel,comma:"boolean"==typeof t.comma?t.comma:s.comma,decodeDotInKeys:"boolean"==typeof t.decodeDotInKeys?t.decodeDotInKeys:s.decodeDotInKeys,decoder:"function"==typeof t.decoder?t.decoder:s.decoder,delimiter:"string"==typeof t.delimiter||n.isRegExp(t.delimiter)?t.delimiter:s.delimiter,depth:"number"==typeof t.depth||!1===t.depth?+t.depth:s.depth,duplicates:r,ignoreQueryPrefix:!0===t.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof t.interpretNumericEntities?t.interpretNumericEntities:s.interpretNumericEntities,parameterLimit:"number"==typeof t.parameterLimit?t.parameterLimit:s.parameterLimit,parseArrays:!1!==t.parseArrays,plainObjects:"boolean"==typeof t.plainObjects?t.plainObjects:s.plainObjects,strictDepth:"boolean"==typeof t.strictDepth?!!t.strictDepth:s.strictDepth,strictNullHandling:"boolean"==typeof t.strictNullHandling?t.strictNullHandling:s.strictNullHandling,throwOnLimitExceeded:"boolean"==typeof t.throwOnLimitExceeded&&t.throwOnLimitExceeded}}(e);if(""===t||null==t)return r.plainObjects?{__proto__:null}:{};for(var c="string"==typeof t?function(t,e){var r={__proto__:null},l=e.ignoreQueryPrefix?t.replace(/^\?/,""):t;l=l.replace(/%5B/gi,"[").replace(/%5D/gi,"]");var c=e.parameterLimit===1/0?void 0:e.parameterLimit,h=l.split(e.delimiter,e.throwOnLimitExceeded?c+1:c);if(e.throwOnLimitExceeded&&h.length>c)throw new RangeError("Parameter limit exceeded. Only "+c+" parameter"+(1===c?"":"s")+" allowed.");var p,f=-1,d=e.charset;if(e.charsetSentinel)for(p=0;p<h.length;++p)0===h[p].indexOf("utf8=")&&("utf8=%E2%9C%93"===h[p]?d="utf-8":"utf8=%26%2310003%3B"===h[p]&&(d="iso-8859-1"),f=p,p=h.length);for(p=0;p<h.length;++p)if(p!==f){var g,m,y=h[p],b=y.indexOf("]="),v=-1===b?y.indexOf("="):b+1;if(-1===v?(g=e.decoder(y,s.decoder,d,"key"),m=e.strictNullHandling?null:""):null!==(g=e.decoder(y.slice(0,v),s.decoder,d,"key"))&&(m=n.maybeMap(u(y.slice(v+1),e,o(r[g])?r[g].length:0),function(t){return e.decoder(t,s.decoder,d,"value")})),m&&e.interpretNumericEntities&&"iso-8859-1"===d&&(m=a(String(m))),y.indexOf("[]=")>-1&&(m=o(m)?[m]:m),null!==g){var w=i.call(r,g);w&&"combine"===e.duplicates?r[g]=n.combine(r[g],m,e.arrayLimit,e.plainObjects):w&&"last"!==e.duplicates||(r[g]=m)}}return r}(t,r):t,h=r.plainObjects?{__proto__:null}:{},p=Object.keys(c),f=0;f<p.length;++f){var d=p[f],g=l(d,c[d],r,"string"==typeof t);h=n.merge(h,g,r)}return!0===r.allowSparse?h:n.compact(h)}},98636(t,e,r){"use strict";var n=r(920),i=r(37720),o=r(74765),s=Object.prototype.hasOwnProperty,a={brackets:function(t){return t+"[]"},comma:"comma",indices:function(t,e){return t+"["+e+"]"},repeat:function(t){return t}},u=Array.isArray,l=Array.prototype.push,c=function(t,e){l.apply(t,u(e)?e:[e])},h=Date.prototype.toISOString,p=o.default,f={addQueryPrefix:!1,allowDots:!1,allowEmptyArrays:!1,arrayFormat:"indices",charset:"utf-8",charsetSentinel:!1,commaRoundTrip:!1,delimiter:"&",encode:!0,encodeDotInKeys:!1,encoder:i.encode,encodeValuesOnly:!1,filter:void 0,format:p,formatter:o.formatters[p],indices:!1,serializeDate:function(t){return h.call(t)},skipNulls:!1,strictNullHandling:!1},d={},g=function t(e,r,o,s,a,l,h,p,g,m,y,b,v,w,E,x,S,_){for(var A,T=e,O=_,N=0,j=!1;void 0!==(O=O.get(d))&&!j;){var P=O.get(e);if(N+=1,void 0!==P){if(P===N)throw new RangeError("Cyclic object value");j=!0}void 0===O.get(d)&&(N=0)}if("function"==typeof m?T=m(r,T):T instanceof Date?T=v(T):"comma"===o&&u(T)&&(T=i.maybeMap(T,function(t){return t instanceof Date?v(t):t})),null===T){if(l)return g&&!x?g(r,f.encoder,S,"key",w):r;T=""}if("string"==typeof(A=T)||"number"==typeof A||"boolean"==typeof A||"symbol"==typeof A||"bigint"==typeof A||i.isBuffer(T))return g?[E(x?r:g(r,f.encoder,S,"key",w))+"="+E(g(T,f.encoder,S,"value",w))]:[E(r)+"="+E(String(T))];var R,C=[];if(void 0===T)return C;if("comma"===o&&u(T))x&&g&&(T=i.maybeMap(T,g)),R=[{value:T.length>0?T.join(",")||null:void 0}];else if(u(m))R=m;else{var k=Object.keys(T);R=y?k.sort(y):k}var M=p?String(r).replace(/\./g,"%2E"):String(r),I=s&&u(T)&&1===T.length?M+"[]":M;if(a&&u(T)&&0===T.length)return I+"[]";for(var L=0;L<R.length;++L){var $=R[L],D="object"==typeof $&&$&&void 0!==$.value?$.value:T[$];if(!h||null!==D){var U=b&&p?String($).replace(/\./g,"%2E"):String($),q=u(T)?"function"==typeof o?o(I,U):I:I+(b?"."+U:"["+U+"]");_.set(e,N);var F=n();F.set(d,_),c(C,t(D,q,o,s,a,l,h,p,"comma"===o&&x&&u(T)?null:g,m,y,b,v,w,E,x,S,F))}}return C};t.exports=function(t,e){var r,i=t,l=function(t){if(!t)return f;if(void 0!==t.allowEmptyArrays&&"boolean"!=typeof t.allowEmptyArrays)throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(void 0!==t.encodeDotInKeys&&"boolean"!=typeof t.encodeDotInKeys)throw new TypeError("`encodeDotInKeys` option can only be `true` or `false`, when provided");if(null!==t.encoder&&void 0!==t.encoder&&"function"!=typeof t.encoder)throw new TypeError("Encoder has to be a function.");var e=t.charset||f.charset;if(void 0!==t.charset&&"utf-8"!==t.charset&&"iso-8859-1"!==t.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var r=o.default;if(void 0!==t.format){if(!s.call(o.formatters,t.format))throw new TypeError("Unknown format option provided.");r=t.format}var n,i=o.formatters[r],l=f.filter;if(("function"==typeof t.filter||u(t.filter))&&(l=t.filter),n=t.arrayFormat in a?t.arrayFormat:"indices"in t?t.indices?"indices":"repeat":f.arrayFormat,"commaRoundTrip"in t&&"boolean"!=typeof t.commaRoundTrip)throw new TypeError("`commaRoundTrip` must be a boolean, or absent");var c=void 0===t.allowDots?!0===t.encodeDotInKeys||f.allowDots:!!t.allowDots;return{addQueryPrefix:"boolean"==typeof t.addQueryPrefix?t.addQueryPrefix:f.addQueryPrefix,allowDots:c,allowEmptyArrays:"boolean"==typeof t.allowEmptyArrays?!!t.allowEmptyArrays:f.allowEmptyArrays,arrayFormat:n,charset:e,charsetSentinel:"boolean"==typeof t.charsetSentinel?t.charsetSentinel:f.charsetSentinel,commaRoundTrip:!!t.commaRoundTrip,delimiter:void 0===t.delimiter?f.delimiter:t.delimiter,encode:"boolean"==typeof t.encode?t.encode:f.encode,encodeDotInKeys:"boolean"==typeof t.encodeDotInKeys?t.encodeDotInKeys:f.encodeDotInKeys,encoder:"function"==typeof t.encoder?t.encoder:f.encoder,encodeValuesOnly:"boolean"==typeof t.encodeValuesOnly?t.encodeValuesOnly:f.encodeValuesOnly,filter:l,format:r,formatter:i,serializeDate:"function"==typeof t.serializeDate?t.serializeDate:f.serializeDate,skipNulls:"boolean"==typeof t.skipNulls?t.skipNulls:f.skipNulls,sort:"function"==typeof t.sort?t.sort:null,strictNullHandling:"boolean"==typeof t.strictNullHandling?t.strictNullHandling:f.strictNullHandling}}(e);"function"==typeof l.filter?i=(0,l.filter)("",i):u(l.filter)&&(r=l.filter);var h=[];if("object"!=typeof i||null===i)return"";var p=a[l.arrayFormat],d="comma"===p&&l.commaRoundTrip;r||(r=Object.keys(i)),l.sort&&r.sort(l.sort);for(var m=n(),y=0;y<r.length;++y){var b=r[y],v=i[b];l.skipNulls&&null===v||c(h,g(v,b,p,d,l.allowEmptyArrays,l.strictNullHandling,l.skipNulls,l.encodeDotInKeys,l.encode?l.encoder:null,l.filter,l.sort,l.allowDots,l.serializeDate,l.format,l.formatter,l.encodeValuesOnly,l.charset,m))}var w=h.join(l.delimiter),E=!0===l.addQueryPrefix?"?":"";return l.charsetSentinel&&("iso-8859-1"===l.charset?E+="utf8=%26%2310003%3B&":E+="utf8=%E2%9C%93&"),w.length>0?E+w:""}},37720(t,e,r){"use strict";var n=r(74765),i=r(920),o=Object.prototype.hasOwnProperty,s=Array.isArray,a=i(),u=function(t,e){return a.set(t,e),t},l=function(t){return a.has(t)},c=function(t){return a.get(t)},h=function(t,e){a.set(t,e)},p=function(){for(var t=[],e=0;e<256;++e)t.push("%"+((e<16?"0":"")+e.toString(16)).toUpperCase());return t}(),f=function(t,e){for(var r=e&&e.plainObjects?{__proto__:null}:{},n=0;n<t.length;++n)void 0!==t[n]&&(r[n]=t[n]);return r},d=1024;t.exports={arrayToObject:f,assign:function(t,e){return Object.keys(e).reduce(function(t,r){return t[r]=e[r],t},t)},combine:function(t,e,r,n){if(l(t)){var i=c(t)+1;return t[i]=e,h(t,i),t}var o=[].concat(t,e);return o.length>r?u(f(o,{plainObjects:n}),o.length-1):o},compact:function(t){for(var e=[{obj:{o:t},prop:"o"}],r=[],n=0;n<e.length;++n)for(var i=e[n],o=i.obj[i.prop],a=Object.keys(o),u=0;u<a.length;++u){var l=a[u],c=o[l];"object"==typeof c&&null!==c&&-1===r.indexOf(c)&&(e.push({obj:o,prop:l}),r.push(c))}return function(t){for(;t.length>1;){var e=t.pop(),r=e.obj[e.prop];if(s(r)){for(var n=[],i=0;i<r.length;++i)void 0!==r[i]&&n.push(r[i]);e.obj[e.prop]=n}}}(e),t},decode:function(t,e,r){var n=t.replace(/\+/g," ");if("iso-8859-1"===r)return n.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(n)}catch(t){return n}},encode:function(t,e,r,i,o){if(0===t.length)return t;var s=t;if("symbol"==typeof t?s=Symbol.prototype.toString.call(t):"string"!=typeof t&&(s=String(t)),"iso-8859-1"===r)return escape(s).replace(/%u[0-9a-f]{4}/gi,function(t){return"%26%23"+parseInt(t.slice(2),16)+"%3B"});for(var a="",u=0;u<s.length;u+=d){for(var l=s.length>=d?s.slice(u,u+d):s,c=[],h=0;h<l.length;++h){var f=l.charCodeAt(h);45===f||46===f||95===f||126===f||f>=48&&f<=57||f>=65&&f<=90||f>=97&&f<=122||o===n.RFC1738&&(40===f||41===f)?c[c.length]=l.charAt(h):f<128?c[c.length]=p[f]:f<2048?c[c.length]=p[192|f>>6]+p[128|63&f]:f<55296||f>=57344?c[c.length]=p[224|f>>12]+p[128|f>>6&63]+p[128|63&f]:(h+=1,f=65536+((1023&f)<<10|1023&l.charCodeAt(h)),c[c.length]=p[240|f>>18]+p[128|f>>12&63]+p[128|f>>6&63]+p[128|63&f])}a+=c.join("")}return a},isBuffer:function(t){return!(!t||"object"!=typeof t||!(t.constructor&&t.constructor.isBuffer&&t.constructor.isBuffer(t)))},isOverflow:l,isRegExp:function(t){return"[object RegExp]"===Object.prototype.toString.call(t)},maybeMap:function(t,e){if(s(t)){for(var r=[],n=0;n<t.length;n+=1)r.push(e(t[n]));return r}return e(t)},merge:function t(e,r,n){if(!r)return e;if("object"!=typeof r&&"function"!=typeof r){if(s(e))e.push(r);else{if(!e||"object"!=typeof e)return[e,r];if(l(e)){var i=c(e)+1;e[i]=r,h(e,i)}else(n&&(n.plainObjects||n.allowPrototypes)||!o.call(Object.prototype,r))&&(e[r]=!0)}return e}if(!e||"object"!=typeof e){if(l(r)){for(var a=Object.keys(r),p=n&&n.plainObjects?{__proto__:null,0:e}:{0:e},d=0;d<a.length;d++)p[parseInt(a[d],10)+1]=r[a[d]];return u(p,c(r)+1)}return[e].concat(r)}var g=e;return s(e)&&!s(r)&&(g=f(e,n)),s(e)&&s(r)?(r.forEach(function(r,i){if(o.call(e,i)){var s=e[i];s&&"object"==typeof s&&r&&"object"==typeof r?e[i]=t(s,r,n):e.push(r)}else e[i]=r}),e):Object.keys(r).reduce(function(e,i){var s=r[i];return o.call(e,i)?e[i]=t(e[i],s,n):e[i]=s,e},g)}}},73992(t,e){"use strict";var r=Object.prototype.hasOwnProperty;function n(t){try{return decodeURIComponent(t.replace(/\+/g," "))}catch(t){return null}}function i(t){try{return encodeURIComponent(t)}catch(t){return null}}e.stringify=function(t,e){e=e||"";var n,o,s=[];for(o in"string"!=typeof e&&(e="?"),t)if(r.call(t,o)){if((n=t[o])||null!=n&&!isNaN(n)||(n=""),o=i(o),n=i(n),null===o||null===n)continue;s.push(o+"="+n)}return s.length?e+s.join("&"):""},e.parse=function(t){for(var e,r=/([^=?#&]+)=?([^&]*)/g,i={};e=r.exec(t);){var o=n(e[1]),s=n(e[2]);null===o||null===s||o in i||(i[o]=s)}return i}},92063(t){"use strict";t.exports=function(t,e){if(e=e.split(":")[0],!(t=+t))return!1;switch(e){case"http":case"ws":return 80!==t;case"https":case"wss":return 443!==t;case"ftp":return 21!==t;case"gopher":return 70!==t;case"file":return!1}return 0!==t}},99721(t,e,r){"use strict";var n=r(36556),i=r(14035),o=n("RegExp.prototype.exec"),s=r(69675);t.exports=function(t){if(!i(t))throw new s("`regex` must be a RegExp");return function(e){return null!==o(t,e)}}},14803(t,e,r){"use strict";var n=r(58859),i=r(69675),o=function(t,e,r){for(var n,i=t;null!=(n=i.next);i=n)if(n.key===e)return i.next=n.next,r||(n.next=t.next,t.next=n),n};t.exports=function(){var t,e={assert:function(t){if(!e.has(t))throw new i("Side channel does not contain "+n(t))},delete:function(e){var r=t&&t.next,n=function(t,e){if(t)return o(t,e,!0)}(t,e);return n&&r&&r===n&&(t=void 0),!!n},get:function(e){return function(t,e){if(t){var r=o(t,e);return r&&r.value}}(t,e)},has:function(e){return function(t,e){return!!t&&!!o(t,e)}(t,e)},set:function(e,r){t||(t={next:void 0}),function(t,e,r){var n=o(t,e);n?n.value=r:t.next={key:e,next:t.next,value:r}}(t,e,r)}};return e}},80507(t,e,r){"use strict";var n=r(70453),i=r(36556),o=r(58859),s=r(69675),a=n("%Map%",!0),u=i("Map.prototype.get",!0),l=i("Map.prototype.set",!0),c=i("Map.prototype.has",!0),h=i("Map.prototype.delete",!0),p=i("Map.prototype.size",!0);t.exports=!!a&&function(){var t,e={assert:function(t){if(!e.has(t))throw new s("Side channel does not contain "+o(t))},delete:function(e){if(t){var r=h(t,e);return 0===p(t)&&(t=void 0),r}return!1},get:function(e){if(t)return u(t,e)},has:function(e){return!!t&&c(t,e)},set:function(e,r){t||(t=new a),l(t,e,r)}};return e}},72271(t,e,r){"use strict";var n=r(70453),i=r(36556),o=r(58859),s=r(80507),a=r(69675),u=n("%WeakMap%",!0),l=i("WeakMap.prototype.get",!0),c=i("WeakMap.prototype.set",!0),h=i("WeakMap.prototype.has",!0),p=i("WeakMap.prototype.delete",!0);t.exports=u?function(){var t,e,r={assert:function(t){if(!r.has(t))throw new a("Side channel does not contain "+o(t))},delete:function(r){if(u&&r&&("object"==typeof r||"function"==typeof r)){if(t)return p(t,r)}else if(s&&e)return e.delete(r);return!1},get:function(r){return u&&r&&("object"==typeof r||"function"==typeof r)&&t?l(t,r):e&&e.get(r)},has:function(r){return u&&r&&("object"==typeof r||"function"==typeof r)&&t?h(t,r):!!e&&e.has(r)},set:function(r,n){u&&r&&("object"==typeof r||"function"==typeof r)?(t||(t=new u),c(t,r,n)):s&&(e||(e=s()),e.set(r,n))}};return r}:s},920(t,e,r){"use strict";var n=r(69675),i=r(58859),o=r(14803),s=r(80507),a=r(72271)||s||o;t.exports=function(){var t,e={assert:function(t){if(!e.has(t))throw new n("Side channel does not contain "+i(t))},delete:function(e){return!!t&&t.delete(e)},get:function(e){return t&&t.get(e)},has:function(e){return!!t&&t.has(e)},set:function(e,r){t||(t=a()),t.set(e,r)}};return e}},11568(t,e,r){var n=r(55537),i=r(6917),o=r(57510),s=r(86866),a=r(88835),u=e;u.request=function(t,e){t="string"==typeof t?a.parse(t):o(t);var r=-1===globalThis.location.protocol.search(/^https?:$/)?"http:":"",i=t.protocol||r,s=t.hostname||t.host,u=t.port,l=t.path||"/";s&&-1!==s.indexOf(":")&&(s="["+s+"]"),t.url=(s?i+"//"+s:"")+(u?":"+u:"")+l,t.method=(t.method||"GET").toUpperCase(),t.headers=t.headers||{};var c=new n(t);return e&&c.on("response",e),c},u.get=function(t,e){var r=u.request(t,e);return r.end(),r},u.ClientRequest=n,u.IncomingMessage=i.IncomingMessage,u.Agent=function(){},u.Agent.defaultMaxSockets=4,u.globalAgent=new u.Agent,u.STATUS_CODES=s,u.METHODS=["CHECKOUT","CONNECT","COPY","DELETE","GET","HEAD","LOCK","M-SEARCH","MERGE","MKACTIVITY","MKCOL","MOVE","NOTIFY","OPTIONS","PATCH","POST","PROPFIND","PROPPATCH","PURGE","PUT","REPORT","SEARCH","SUBSCRIBE","TRACE","UNLOCK","UNSUBSCRIBE"]},6688(t,e){var r;function n(){if(void 0!==r)return r;if(globalThis.XMLHttpRequest){r=new globalThis.XMLHttpRequest;try{r.open("GET",globalThis.XDomainRequest?"/":"https://example.com")}catch(t){r=null}}else r=null;return r}function i(t){var e=n();if(!e)return!1;try{return e.responseType=t,e.responseType===t}catch(t){}return!1}function o(t){return"function"==typeof t}e.fetch=o(globalThis.fetch)&&o(globalThis.ReadableStream),e.writableStream=o(globalThis.WritableStream),e.abortController=o(globalThis.AbortController),e.arraybuffer=e.fetch||i("arraybuffer"),e.msstream=!e.fetch&&i("ms-stream"),e.mozchunkedarraybuffer=!e.fetch&&i("moz-chunked-arraybuffer"),e.overrideMimeType=e.fetch||!!n()&&o(n().overrideMimeType),r=null},55537(t,e,r){var n=r(62045).hp,i=r(65606),o=r(6688),s=r(56698),a=r(6917),u=r(63242),l=a.IncomingMessage,c=a.readyStates,h=t.exports=function(t){var e,r=this;u.Writable.call(r),r._opts=t,r._body=[],r._headers={},t.auth&&r.setHeader("Authorization","Basic "+n.from(t.auth).toString("base64")),Object.keys(t.headers).forEach(function(e){r.setHeader(e,t.headers[e])});var i=!0;if("disable-fetch"===t.mode||"requestTimeout"in t&&!o.abortController)i=!1,e=!0;else if("prefer-streaming"===t.mode)e=!1;else if("allow-wrong-content-type"===t.mode)e=!o.overrideMimeType;else{if(t.mode&&"default"!==t.mode&&"prefer-fast"!==t.mode)throw new Error("Invalid value for opts.mode");e=!0}r._mode=function(t,e){return o.fetch&&e?"fetch":o.mozchunkedarraybuffer?"moz-chunked-arraybuffer":o.msstream?"ms-stream":o.arraybuffer&&t?"arraybuffer":"text"}(e,i),r._fetchTimer=null,r._socketTimeout=null,r._socketTimer=null,r.on("finish",function(){r._onFinish()})};s(h,u.Writable),h.prototype.setHeader=function(t,e){var r=t.toLowerCase();-1===p.indexOf(r)&&(this._headers[r]={name:t,value:e})},h.prototype.getHeader=function(t){var e=this._headers[t.toLowerCase()];return e?e.value:null},h.prototype.removeHeader=function(t){delete this._headers[t.toLowerCase()]},h.prototype._onFinish=function(){var t=this;if(!t._destroyed){var e=t._opts;"timeout"in e&&0!==e.timeout&&t.setTimeout(e.timeout);var r=t._headers,n=null;"GET"!==e.method&&"HEAD"!==e.method&&(n=new Blob(t._body,{type:(r["content-type"]||{}).value||""}));var s=[];if(Object.keys(r).forEach(function(t){var e=r[t].name,n=r[t].value;Array.isArray(n)?n.forEach(function(t){s.push([e,t])}):s.push([e,n])}),"fetch"===t._mode){var a=null;if(o.abortController){var u=new AbortController;a=u.signal,t._fetchAbortController=u,"requestTimeout"in e&&0!==e.requestTimeout&&(t._fetchTimer=globalThis.setTimeout(function(){t.emit("requestTimeout"),t._fetchAbortController&&t._fetchAbortController.abort()},e.requestTimeout))}globalThis.fetch(t._opts.url,{method:t._opts.method,headers:s,body:n||void 0,mode:"cors",credentials:e.withCredentials?"include":"same-origin",signal:a}).then(function(e){t._fetchResponse=e,t._resetTimers(!1),t._connect()},function(e){t._resetTimers(!0),t._destroyed||t.emit("error",e)})}else{var l=t._xhr=new globalThis.XMLHttpRequest;try{l.open(t._opts.method,t._opts.url,!0)}catch(e){return void i.nextTick(function(){t.emit("error",e)})}"responseType"in l&&(l.responseType=t._mode),"withCredentials"in l&&(l.withCredentials=!!e.withCredentials),"text"===t._mode&&"overrideMimeType"in l&&l.overrideMimeType("text/plain; charset=x-user-defined"),"requestTimeout"in e&&(l.timeout=e.requestTimeout,l.ontimeout=function(){t.emit("requestTimeout")}),s.forEach(function(t){l.setRequestHeader(t[0],t[1])}),t._response=null,l.onreadystatechange=function(){switch(l.readyState){case c.LOADING:case c.DONE:t._onXHRProgress()}},"moz-chunked-arraybuffer"===t._mode&&(l.onprogress=function(){t._onXHRProgress()}),l.onerror=function(){t._destroyed||(t._resetTimers(!0),t.emit("error",new Error("XHR error")))};try{l.send(n)}catch(e){return void i.nextTick(function(){t.emit("error",e)})}}}},h.prototype._onXHRProgress=function(){var t=this;t._resetTimers(!1),function(t){try{var e=t.status;return null!==e&&0!==e}catch(t){return!1}}(t._xhr)&&!t._destroyed&&(t._response||t._connect(),t._response._onXHRProgress(t._resetTimers.bind(t)))},h.prototype._connect=function(){var t=this;t._destroyed||(t._response=new l(t._xhr,t._fetchResponse,t._mode,t._resetTimers.bind(t)),t._response.on("error",function(e){t.emit("error",e)}),t.emit("response",t._response))},h.prototype._write=function(t,e,r){this._body.push(t),r()},h.prototype._resetTimers=function(t){var e=this;globalThis.clearTimeout(e._socketTimer),e._socketTimer=null,t?(globalThis.clearTimeout(e._fetchTimer),e._fetchTimer=null):e._socketTimeout&&(e._socketTimer=globalThis.setTimeout(function(){e.emit("timeout")},e._socketTimeout))},h.prototype.abort=h.prototype.destroy=function(t){var e=this;e._destroyed=!0,e._resetTimers(!0),e._response&&(e._response._destroyed=!0),e._xhr?e._xhr.abort():e._fetchAbortController&&e._fetchAbortController.abort(),t&&e.emit("error",t)},h.prototype.end=function(t,e,r){"function"==typeof t&&(r=t,t=void 0),u.Writable.prototype.end.call(this,t,e,r)},h.prototype.setTimeout=function(t,e){var r=this;e&&r.once("timeout",e),r._socketTimeout=t,r._resetTimers(!1)},h.prototype.flushHeaders=function(){},h.prototype.setNoDelay=function(){},h.prototype.setSocketKeepAlive=function(){};var p=["accept-charset","accept-encoding","access-control-request-headers","access-control-request-method","connection","content-length","cookie","cookie2","date","dnt","expect","host","keep-alive","origin","referer","te","trailer","transfer-encoding","upgrade","via"]},6917(t,e,r){var n=r(65606),i=r(62045).hp,o=r(6688),s=r(56698),a=r(63242),u=e.readyStates={UNSENT:0,OPENED:1,HEADERS_RECEIVED:2,LOADING:3,DONE:4},l=e.IncomingMessage=function(t,e,r,s){var u=this;if(a.Readable.call(u),u._mode=r,u.headers={},u.rawHeaders=[],u.trailers={},u.rawTrailers=[],u.on("end",function(){n.nextTick(function(){u.emit("close")})}),"fetch"===r){if(u._fetchResponse=e,u.url=e.url,u.statusCode=e.status,u.statusMessage=e.statusText,e.headers.forEach(function(t,e){u.headers[e.toLowerCase()]=t,u.rawHeaders.push(e,t)}),o.writableStream){var l=new WritableStream({write:function(t){return s(!1),new Promise(function(e,r){u._destroyed?r():u.push(i.from(t))?e():u._resumeFetch=e})},close:function(){s(!0),u._destroyed||u.push(null)},abort:function(t){s(!0),u._destroyed||u.emit("error",t)}});try{return void e.body.pipeTo(l).catch(function(t){s(!0),u._destroyed||u.emit("error",t)})}catch(t){}}var c=e.body.getReader();!function t(){c.read().then(function(e){u._destroyed||(s(e.done),e.done?u.push(null):(u.push(i.from(e.value)),t()))}).catch(function(t){s(!0),u._destroyed||u.emit("error",t)})}()}else if(u._xhr=t,u._pos=0,u.url=t.responseURL,u.statusCode=t.status,u.statusMessage=t.statusText,t.getAllResponseHeaders().split(/\r?\n/).forEach(function(t){var e=t.match(/^([^:]+):\s*(.*)/);if(e){var r=e[1].toLowerCase();"set-cookie"===r?(void 0===u.headers[r]&&(u.headers[r]=[]),u.headers[r].push(e[2])):void 0!==u.headers[r]?u.headers[r]+=", "+e[2]:u.headers[r]=e[2],u.rawHeaders.push(e[1],e[2])}}),u._charset="x-user-defined",!o.overrideMimeType){var h=u.rawHeaders["mime-type"];if(h){var p=h.match(/;\s*charset=([^;])(;|$)/);p&&(u._charset=p[1].toLowerCase())}u._charset||(u._charset="utf-8")}};s(l,a.Readable),l.prototype._read=function(){var t=this._resumeFetch;t&&(this._resumeFetch=null,t())},l.prototype._onXHRProgress=function(t){var e=this,r=e._xhr,n=null;switch(e._mode){case"text":if((n=r.responseText).length>e._pos){var o=n.substr(e._pos);if("x-user-defined"===e._charset){for(var s=i.alloc(o.length),a=0;a<o.length;a++)s[a]=255&o.charCodeAt(a);e.push(s)}else e.push(o,e._charset);e._pos=n.length}break;case"arraybuffer":if(r.readyState!==u.DONE||!r.response)break;n=r.response,e.push(i.from(new Uint8Array(n)));break;case"moz-chunked-arraybuffer":if(n=r.response,r.readyState!==u.LOADING||!n)break;e.push(i.from(new Uint8Array(n)));break;case"ms-stream":if(n=r.response,r.readyState!==u.LOADING)break;var l=new globalThis.MSStreamReader;l.onprogress=function(){l.result.byteLength>e._pos&&(e.push(i.from(new Uint8Array(l.result.slice(e._pos)))),e._pos=l.result.byteLength)},l.onload=function(){t(!0),e.push(null)},l.readAsArrayBuffer(n)}e._xhr.readyState===u.DONE&&"ms-stream"!==e._mode&&(t(!0),e.push(null))}},73157(t){"use strict";var e={};function r(t,r,n){n||(n=Error);var i=function(t){var e,n;function i(e,n,i){return t.call(this,function(t,e,n){return"string"==typeof r?r:r(t,e,n)}(e,n,i))||this}return n=t,(e=i).prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n,i}(n);i.prototype.name=n.name,i.prototype.code=t,e[t]=i}function n(t,e){if(Array.isArray(t)){var r=t.length;return t=t.map(function(t){return String(t)}),r>2?"one of ".concat(e," ").concat(t.slice(0,r-1).join(", "),", or ")+t[r-1]:2===r?"one of ".concat(e," ").concat(t[0]," or ").concat(t[1]):"of ".concat(e," ").concat(t[0])}return"of ".concat(e," ").concat(String(t))}r("ERR_INVALID_OPT_VALUE",function(t,e){return'The value "'+e+'" is invalid for option "'+t+'"'},TypeError),r("ERR_INVALID_ARG_TYPE",function(t,e,r){var i,o,s,a,u;if("string"==typeof e&&(o="not ",e.substr(0,4)===o)?(i="must not be",e=e.replace(/^not /,"")):i="must be",function(t,e,r){return(void 0===r||r>t.length)&&(r=t.length),t.substring(r-9,r)===e}(t," argument"))s="The ".concat(t," ").concat(i," ").concat(n(e,"type"));else{var l=("number"!=typeof u&&(u=0),u+1>(a=t).length||-1===a.indexOf(".",u)?"argument":"property");s='The "'.concat(t,'" ').concat(l," ").concat(i," ").concat(n(e,"type"))}return s+". Received type ".concat(typeof r)},TypeError),r("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),r("ERR_METHOD_NOT_IMPLEMENTED",function(t){return"The "+t+" method is not implemented"}),r("ERR_STREAM_PREMATURE_CLOSE","Premature close"),r("ERR_STREAM_DESTROYED",function(t){return"Cannot call "+t+" after a stream was destroyed"}),r("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),r("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),r("ERR_STREAM_WRITE_AFTER_END","write after end"),r("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),r("ERR_UNKNOWN_ENCODING",function(t){return"Unknown encoding: "+t},TypeError),r("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),t.exports.F=e},63527(t,e,r){"use strict";var n=r(65606),i=Object.keys||function(t){var e=[];for(var r in t)e.push(r);return e};t.exports=c;var o=r(52341),s=r(9573);r(56698)(c,o);for(var a=i(s.prototype),u=0;u<a.length;u++){var l=a[u];c.prototype[l]||(c.prototype[l]=s.prototype[l])}function c(t){if(!(this instanceof c))return new c(t);o.call(this,t),s.call(this,t),this.allowHalfOpen=!0,t&&(!1===t.readable&&(this.readable=!1),!1===t.writable&&(this.writable=!1),!1===t.allowHalfOpen&&(this.allowHalfOpen=!1,this.once("end",h)))}function h(){this._writableState.ended||n.nextTick(p,this)}function p(t){t.end()}Object.defineProperty(c.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(c.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(c.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(c.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._readableState&&void 0!==this._writableState&&this._readableState.destroyed&&this._writableState.destroyed},set:function(t){void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed=t,this._writableState.destroyed=t)}})},82571(t,e,r){"use strict";t.exports=i;var n=r(95689);function i(t){if(!(this instanceof i))return new i(t);n.call(this,t)}r(56698)(i,n),i.prototype._transform=function(t,e,r){r(null,t)}},52341(t,e,r){"use strict";var n,i=r(65606);t.exports=A,A.ReadableState=_,r(37007).EventEmitter;var o,s=function(t,e){return t.listeners(e).length},a=r(81914),u=r(1048).Buffer,l=("undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{}).Uint8Array||function(){},c=r(86833);o=c&&c.debuglog?c.debuglog("stream"):function(){};var h,p,f,d=r(10272),g=r(16057),m=r(11922).getHighWaterMark,y=r(73157).F,b=y.ERR_INVALID_ARG_TYPE,v=y.ERR_STREAM_PUSH_AFTER_EOF,w=y.ERR_METHOD_NOT_IMPLEMENTED,E=y.ERR_STREAM_UNSHIFT_AFTER_END_EVENT;r(56698)(A,a);var x=g.errorOrDestroy,S=["error","close","destroy","pause","resume"];function _(t,e,i){n=n||r(63527),t=t||{},"boolean"!=typeof i&&(i=e instanceof n),this.objectMode=!!t.objectMode,i&&(this.objectMode=this.objectMode||!!t.readableObjectMode),this.highWaterMark=m(this,t,"readableHighWaterMark",i),this.buffer=new d,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.paused=!0,this.emitClose=!1!==t.emitClose,this.autoDestroy=!!t.autoDestroy,this.destroyed=!1,this.defaultEncoding=t.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,t.encoding&&(h||(h=r(83141).I),this.decoder=new h(t.encoding),this.encoding=t.encoding)}function A(t){if(n=n||r(63527),!(this instanceof A))return new A(t);var e=this instanceof n;this._readableState=new _(t,this,e),this.readable=!0,t&&("function"==typeof t.read&&(this._read=t.read),"function"==typeof t.destroy&&(this._destroy=t.destroy)),a.call(this)}function T(t,e,r,n,i){o("readableAddChunk",e);var s,a=t._readableState;if(null===e)a.reading=!1,function(t,e){if(o("onEofChunk"),!e.ended){if(e.decoder){var r=e.decoder.end();r&&r.length&&(e.buffer.push(r),e.length+=e.objectMode?1:r.length)}e.ended=!0,e.sync?P(t):(e.needReadable=!1,e.emittedReadable||(e.emittedReadable=!0,R(t)))}}(t,a);else if(i||(s=function(t,e){var r,n;return n=e,u.isBuffer(n)||n instanceof l||"string"==typeof e||void 0===e||t.objectMode||(r=new b("chunk",["string","Buffer","Uint8Array"],e)),r}(a,e)),s)x(t,s);else if(a.objectMode||e&&e.length>0)if("string"==typeof e||a.objectMode||Object.getPrototypeOf(e)===u.prototype||(e=function(t){return u.from(t)}(e)),n)a.endEmitted?x(t,new E):O(t,a,e,!0);else if(a.ended)x(t,new v);else{if(a.destroyed)return!1;a.reading=!1,a.decoder&&!r?(e=a.decoder.write(e),a.objectMode||0!==e.length?O(t,a,e,!1):C(t,a)):O(t,a,e,!1)}else n||(a.reading=!1,C(t,a));return!a.ended&&(a.length<a.highWaterMark||0===a.length)}function O(t,e,r,n){e.flowing&&0===e.length&&!e.sync?(e.awaitDrain=0,t.emit("data",r)):(e.length+=e.objectMode?1:r.length,n?e.buffer.unshift(r):e.buffer.push(r),e.needReadable&&P(t)),C(t,e)}Object.defineProperty(A.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._readableState&&this._readableState.destroyed},set:function(t){this._readableState&&(this._readableState.destroyed=t)}}),A.prototype.destroy=g.destroy,A.prototype._undestroy=g.undestroy,A.prototype._destroy=function(t,e){e(t)},A.prototype.push=function(t,e){var r,n=this._readableState;return n.objectMode?r=!0:"string"==typeof t&&((e=e||n.defaultEncoding)!==n.encoding&&(t=u.from(t,e),e=""),r=!0),T(this,t,e,!1,r)},A.prototype.unshift=function(t){return T(this,t,null,!0,!1)},A.prototype.isPaused=function(){return!1===this._readableState.flowing},A.prototype.setEncoding=function(t){h||(h=r(83141).I);var e=new h(t);this._readableState.decoder=e,this._readableState.encoding=this._readableState.decoder.encoding;for(var n=this._readableState.buffer.head,i="";null!==n;)i+=e.write(n.data),n=n.next;return this._readableState.buffer.clear(),""!==i&&this._readableState.buffer.push(i),this._readableState.length=i.length,this};var N=1073741824;function j(t,e){return t<=0||0===e.length&&e.ended?0:e.objectMode?1:t!=t?e.flowing&&e.length?e.buffer.head.data.length:e.length:(t>e.highWaterMark&&(e.highWaterMark=function(t){return t>=N?t=N:(t--,t|=t>>>1,t|=t>>>2,t|=t>>>4,t|=t>>>8,t|=t>>>16,t++),t}(t)),t<=e.length?t:e.ended?e.length:(e.needReadable=!0,0))}function P(t){var e=t._readableState;o("emitReadable",e.needReadable,e.emittedReadable),e.needReadable=!1,e.emittedReadable||(o("emitReadable",e.flowing),e.emittedReadable=!0,i.nextTick(R,t))}function R(t){var e=t._readableState;o("emitReadable_",e.destroyed,e.length,e.ended),e.destroyed||!e.length&&!e.ended||(t.emit("readable"),e.emittedReadable=!1),e.needReadable=!e.flowing&&!e.ended&&e.length<=e.highWaterMark,$(t)}function C(t,e){e.readingMore||(e.readingMore=!0,i.nextTick(k,t,e))}function k(t,e){for(;!e.reading&&!e.ended&&(e.length<e.highWaterMark||e.flowing&&0===e.length);){var r=e.length;if(o("maybeReadMore read 0"),t.read(0),r===e.length)break}e.readingMore=!1}function M(t){var e=t._readableState;e.readableListening=t.listenerCount("readable")>0,e.resumeScheduled&&!e.paused?e.flowing=!0:t.listenerCount("data")>0&&t.resume()}function I(t){o("readable nexttick read 0"),t.read(0)}function L(t,e){o("resume",e.reading),e.reading||t.read(0),e.resumeScheduled=!1,t.emit("resume"),$(t),e.flowing&&!e.reading&&t.read(0)}function $(t){var e=t._readableState;for(o("flow",e.flowing);e.flowing&&null!==t.read(););}function D(t,e){return 0===e.length?null:(e.objectMode?r=e.buffer.shift():!t||t>=e.length?(r=e.decoder?e.buffer.join(""):1===e.buffer.length?e.buffer.first():e.buffer.concat(e.length),e.buffer.clear()):r=e.buffer.consume(t,e.decoder),r);var r}function U(t){var e=t._readableState;o("endReadable",e.endEmitted),e.endEmitted||(e.ended=!0,i.nextTick(q,e,t))}function q(t,e){if(o("endReadableNT",t.endEmitted,t.length),!t.endEmitted&&0===t.length&&(t.endEmitted=!0,e.readable=!1,e.emit("end"),t.autoDestroy)){var r=e._writableState;(!r||r.autoDestroy&&r.finished)&&e.destroy()}}function F(t,e){for(var r=0,n=t.length;r<n;r++)if(t[r]===e)return r;return-1}A.prototype.read=function(t){o("read",t),t=parseInt(t,10);var e=this._readableState,r=t;if(0!==t&&(e.emittedReadable=!1),0===t&&e.needReadable&&((0!==e.highWaterMark?e.length>=e.highWaterMark:e.length>0)||e.ended))return o("read: emitReadable",e.length,e.ended),0===e.length&&e.ended?U(this):P(this),null;if(0===(t=j(t,e))&&e.ended)return 0===e.length&&U(this),null;var n,i=e.needReadable;return o("need readable",i),(0===e.length||e.length-t<e.highWaterMark)&&o("length less than watermark",i=!0),e.ended||e.reading?o("reading or ended",i=!1):i&&(o("do read"),e.reading=!0,e.sync=!0,0===e.length&&(e.needReadable=!0),this._read(e.highWaterMark),e.sync=!1,e.reading||(t=j(r,e))),null===(n=t>0?D(t,e):null)?(e.needReadable=e.length<=e.highWaterMark,t=0):(e.length-=t,e.awaitDrain=0),0===e.length&&(e.ended||(e.needReadable=!0),r!==t&&e.ended&&U(this)),null!==n&&this.emit("data",n),n},A.prototype._read=function(t){x(this,new w("_read()"))},A.prototype.pipe=function(t,e){var r=this,n=this._readableState;switch(n.pipesCount){case 0:n.pipes=t;break;case 1:n.pipes=[n.pipes,t];break;default:n.pipes.push(t)}n.pipesCount+=1,o("pipe count=%d opts=%j",n.pipesCount,e);var a=e&&!1===e.end||t===i.stdout||t===i.stderr?g:u;function u(){o("onend"),t.end()}n.endEmitted?i.nextTick(a):r.once("end",a),t.on("unpipe",function e(i,s){o("onunpipe"),i===r&&s&&!1===s.hasUnpiped&&(s.hasUnpiped=!0,o("cleanup"),t.removeListener("close",f),t.removeListener("finish",d),t.removeListener("drain",l),t.removeListener("error",p),t.removeListener("unpipe",e),r.removeListener("end",u),r.removeListener("end",g),r.removeListener("data",h),c=!0,!n.awaitDrain||t._writableState&&!t._writableState.needDrain||l())});var l=function(t){return function(){var e=t._readableState;o("pipeOnDrain",e.awaitDrain),e.awaitDrain&&e.awaitDrain--,0===e.awaitDrain&&s(t,"data")&&(e.flowing=!0,$(t))}}(r);t.on("drain",l);var c=!1;function h(e){o("ondata");var i=t.write(e);o("dest.write",i),!1===i&&((1===n.pipesCount&&n.pipes===t||n.pipesCount>1&&-1!==F(n.pipes,t))&&!c&&(o("false write response, pause",n.awaitDrain),n.awaitDrain++),r.pause())}function p(e){o("onerror",e),g(),t.removeListener("error",p),0===s(t,"error")&&x(t,e)}function f(){t.removeListener("finish",d),g()}function d(){o("onfinish"),t.removeListener("close",f),g()}function g(){o("unpipe"),r.unpipe(t)}return r.on("data",h),function(t,e,r){if("function"==typeof t.prependListener)return t.prependListener(e,r);t._events&&t._events[e]?Array.isArray(t._events[e])?t._events[e].unshift(r):t._events[e]=[r,t._events[e]]:t.on(e,r)}(t,"error",p),t.once("close",f),t.once("finish",d),t.emit("pipe",r),n.flowing||(o("pipe resume"),r.resume()),t},A.prototype.unpipe=function(t){var e=this._readableState,r={hasUnpiped:!1};if(0===e.pipesCount)return this;if(1===e.pipesCount)return t&&t!==e.pipes||(t||(t=e.pipes),e.pipes=null,e.pipesCount=0,e.flowing=!1,t&&t.emit("unpipe",this,r)),this;if(!t){var n=e.pipes,i=e.pipesCount;e.pipes=null,e.pipesCount=0,e.flowing=!1;for(var o=0;o<i;o++)n[o].emit("unpipe",this,{hasUnpiped:!1});return this}var s=F(e.pipes,t);return-1===s||(e.pipes.splice(s,1),e.pipesCount-=1,1===e.pipesCount&&(e.pipes=e.pipes[0]),t.emit("unpipe",this,r)),this},A.prototype.on=function(t,e){var r=a.prototype.on.call(this,t,e),n=this._readableState;return"data"===t?(n.readableListening=this.listenerCount("readable")>0,!1!==n.flowing&&this.resume()):"readable"===t&&(n.endEmitted||n.readableListening||(n.readableListening=n.needReadable=!0,n.flowing=!1,n.emittedReadable=!1,o("on readable",n.length,n.reading),n.length?P(this):n.reading||i.nextTick(I,this))),r},A.prototype.addListener=A.prototype.on,A.prototype.removeListener=function(t,e){var r=a.prototype.removeListener.call(this,t,e);return"readable"===t&&i.nextTick(M,this),r},A.prototype.removeAllListeners=function(t){var e=a.prototype.removeAllListeners.apply(this,arguments);return"readable"!==t&&void 0!==t||i.nextTick(M,this),e},A.prototype.resume=function(){var t=this._readableState;return t.flowing||(o("resume"),t.flowing=!t.readableListening,function(t,e){e.resumeScheduled||(e.resumeScheduled=!0,i.nextTick(L,t,e))}(this,t)),t.paused=!1,this},A.prototype.pause=function(){return o("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(o("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this},A.prototype.wrap=function(t){var e=this,r=this._readableState,n=!1;for(var i in t.on("end",function(){if(o("wrapped end"),r.decoder&&!r.ended){var t=r.decoder.end();t&&t.length&&e.push(t)}e.push(null)}),t.on("data",function(i){o("wrapped data"),r.decoder&&(i=r.decoder.write(i)),r.objectMode&&null==i||(r.objectMode||i&&i.length)&&(e.push(i)||(n=!0,t.pause()))}),t)void 0===this[i]&&"function"==typeof t[i]&&(this[i]=function(e){return function(){return t[e].apply(t,arguments)}}(i));for(var s=0;s<S.length;s++)t.on(S[s],this.emit.bind(this,S[s]));return this._read=function(e){o("wrapped _read",e),n&&(n=!1,t.resume())},this},"function"==typeof Symbol&&(A.prototype[Symbol.asyncIterator]=function(){return void 0===p&&(p=r(17356)),p(this)}),Object.defineProperty(A.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),Object.defineProperty(A.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}}),Object.defineProperty(A.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function(t){this._readableState&&(this._readableState.flowing=t)}}),A._fromList=D,Object.defineProperty(A.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}}),"function"==typeof Symbol&&(A.from=function(t,e){return void 0===f&&(f=r(6314)),f(A,t,e)})},95689(t,e,r){"use strict";t.exports=c;var n=r(73157).F,i=n.ERR_METHOD_NOT_IMPLEMENTED,o=n.ERR_MULTIPLE_CALLBACK,s=n.ERR_TRANSFORM_ALREADY_TRANSFORMING,a=n.ERR_TRANSFORM_WITH_LENGTH_0,u=r(63527);function l(t,e){var r=this._transformState;r.transforming=!1;var n=r.writecb;if(null===n)return this.emit("error",new o);r.writechunk=null,r.writecb=null,null!=e&&this.push(e),n(t);var i=this._readableState;i.reading=!1,(i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}function c(t){if(!(this instanceof c))return new c(t);u.call(this,t),this._transformState={afterTransform:l.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,t&&("function"==typeof t.transform&&(this._transform=t.transform),"function"==typeof t.flush&&(this._flush=t.flush)),this.on("prefinish",h)}function h(){var t=this;"function"!=typeof this._flush||this._readableState.destroyed?p(this,null,null):this._flush(function(e,r){p(t,e,r)})}function p(t,e,r){if(e)return t.emit("error",e);if(null!=r&&t.push(r),t._writableState.length)throw new a;if(t._transformState.transforming)throw new s;return t.push(null)}r(56698)(c,u),c.prototype.push=function(t,e){return this._transformState.needTransform=!1,u.prototype.push.call(this,t,e)},c.prototype._transform=function(t,e,r){r(new i("_transform()"))},c.prototype._write=function(t,e,r){var n=this._transformState;if(n.writecb=r,n.writechunk=t,n.writeencoding=e,!n.transforming){var i=this._readableState;(n.needTransform||i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}},c.prototype._read=function(t){var e=this._transformState;null===e.writechunk||e.transforming?e.needTransform=!0:(e.transforming=!0,this._transform(e.writechunk,e.writeencoding,e.afterTransform))},c.prototype._destroy=function(t,e){u.prototype._destroy.call(this,t,function(t){e(t)})}},9573(t,e,r){"use strict";var n,i=r(65606);function o(t){var e=this;this.next=null,this.entry=null,this.finish=function(){!function(t,e){var r=t.entry;for(t.entry=null;r;){var n=r.callback;e.pendingcb--,n(undefined),r=r.next}e.corkedRequestsFree.next=t}(e,t)}}t.exports=A,A.WritableState=_;var s,a={deprecate:r(94643)},u=r(81914),l=r(1048).Buffer,c=("undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{}).Uint8Array||function(){},h=r(16057),p=r(11922).getHighWaterMark,f=r(73157).F,d=f.ERR_INVALID_ARG_TYPE,g=f.ERR_METHOD_NOT_IMPLEMENTED,m=f.ERR_MULTIPLE_CALLBACK,y=f.ERR_STREAM_CANNOT_PIPE,b=f.ERR_STREAM_DESTROYED,v=f.ERR_STREAM_NULL_VALUES,w=f.ERR_STREAM_WRITE_AFTER_END,E=f.ERR_UNKNOWN_ENCODING,x=h.errorOrDestroy;function S(){}function _(t,e,s){n=n||r(63527),t=t||{},"boolean"!=typeof s&&(s=e instanceof n),this.objectMode=!!t.objectMode,s&&(this.objectMode=this.objectMode||!!t.writableObjectMode),this.highWaterMark=p(this,t,"writableHighWaterMark",s),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var a=!1===t.decodeStrings;this.decodeStrings=!a,this.defaultEncoding=t.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(t){!function(t,e){var r=t._writableState,n=r.sync,o=r.writecb;if("function"!=typeof o)throw new m;if(function(t){t.writing=!1,t.writecb=null,t.length-=t.writelen,t.writelen=0}(r),e)!function(t,e,r,n,o){--e.pendingcb,r?(i.nextTick(o,n),i.nextTick(R,t,e),t._writableState.errorEmitted=!0,x(t,n)):(o(n),t._writableState.errorEmitted=!0,x(t,n),R(t,e))}(t,r,n,e,o);else{var s=j(r)||t.destroyed;s||r.corked||r.bufferProcessing||!r.bufferedRequest||N(t,r),n?i.nextTick(O,t,r,s,o):O(t,r,s,o)}}(e,t)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=!1!==t.emitClose,this.autoDestroy=!!t.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new o(this)}function A(t){var e=this instanceof(n=n||r(63527));if(!e&&!s.call(A,this))return new A(t);this._writableState=new _(t,this,e),this.writable=!0,t&&("function"==typeof t.write&&(this._write=t.write),"function"==typeof t.writev&&(this._writev=t.writev),"function"==typeof t.destroy&&(this._destroy=t.destroy),"function"==typeof t.final&&(this._final=t.final)),u.call(this)}function T(t,e,r,n,i,o,s){e.writelen=n,e.writecb=s,e.writing=!0,e.sync=!0,e.destroyed?e.onwrite(new b("write")):r?t._writev(i,e.onwrite):t._write(i,o,e.onwrite),e.sync=!1}function O(t,e,r,n){r||function(t,e){0===e.length&&e.needDrain&&(e.needDrain=!1,t.emit("drain"))}(t,e),e.pendingcb--,n(),R(t,e)}function N(t,e){e.bufferProcessing=!0;var r=e.bufferedRequest;if(t._writev&&r&&r.next){var n=e.bufferedRequestCount,i=new Array(n),s=e.corkedRequestsFree;s.entry=r;for(var a=0,u=!0;r;)i[a]=r,r.isBuf||(u=!1),r=r.next,a+=1;i.allBuffers=u,T(t,e,!0,e.length,i,"",s.finish),e.pendingcb++,e.lastBufferedRequest=null,s.next?(e.corkedRequestsFree=s.next,s.next=null):e.corkedRequestsFree=new o(e),e.bufferedRequestCount=0}else{for(;r;){var l=r.chunk,c=r.encoding,h=r.callback;if(T(t,e,!1,e.objectMode?1:l.length,l,c,h),r=r.next,e.bufferedRequestCount--,e.writing)break}null===r&&(e.lastBufferedRequest=null)}e.bufferedRequest=r,e.bufferProcessing=!1}function j(t){return t.ending&&0===t.length&&null===t.bufferedRequest&&!t.finished&&!t.writing}function P(t,e){t._final(function(r){e.pendingcb--,r&&x(t,r),e.prefinished=!0,t.emit("prefinish"),R(t,e)})}function R(t,e){var r=j(e);if(r&&(function(t,e){e.prefinished||e.finalCalled||("function"!=typeof t._final||e.destroyed?(e.prefinished=!0,t.emit("prefinish")):(e.pendingcb++,e.finalCalled=!0,i.nextTick(P,t,e)))}(t,e),0===e.pendingcb&&(e.finished=!0,t.emit("finish"),e.autoDestroy))){var n=t._readableState;(!n||n.autoDestroy&&n.endEmitted)&&t.destroy()}return r}r(56698)(A,u),_.prototype.getBuffer=function(){for(var t=this.bufferedRequest,e=[];t;)e.push(t),t=t.next;return e},function(){try{Object.defineProperty(_.prototype,"buffer",{get:a.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(t){}}(),"function"==typeof Symbol&&Symbol.hasInstance&&"function"==typeof Function.prototype[Symbol.hasInstance]?(s=Function.prototype[Symbol.hasInstance],Object.defineProperty(A,Symbol.hasInstance,{value:function(t){return!!s.call(this,t)||this===A&&t&&t._writableState instanceof _}})):s=function(t){return t instanceof this},A.prototype.pipe=function(){x(this,new y)},A.prototype.write=function(t,e,r){var n,o=this._writableState,s=!1,a=!o.objectMode&&(n=t,l.isBuffer(n)||n instanceof c);return a&&!l.isBuffer(t)&&(t=function(t){return l.from(t)}(t)),"function"==typeof e&&(r=e,e=null),a?e="buffer":e||(e=o.defaultEncoding),"function"!=typeof r&&(r=S),o.ending?function(t,e){var r=new w;x(t,r),i.nextTick(e,r)}(this,r):(a||function(t,e,r,n){var o;return null===r?o=new v:"string"==typeof r||e.objectMode||(o=new d("chunk",["string","Buffer"],r)),!o||(x(t,o),i.nextTick(n,o),!1)}(this,o,t,r))&&(o.pendingcb++,s=function(t,e,r,n,i,o){if(!r){var s=function(t,e,r){return t.objectMode||!1===t.decodeStrings||"string"!=typeof e||(e=l.from(e,r)),e}(e,n,i);n!==s&&(r=!0,i="buffer",n=s)}var a=e.objectMode?1:n.length;e.length+=a;var u=e.length<e.highWaterMark;if(u||(e.needDrain=!0),e.writing||e.corked){var c=e.lastBufferedRequest;e.lastBufferedRequest={chunk:n,encoding:i,isBuf:r,callback:o,next:null},c?c.next=e.lastBufferedRequest:e.bufferedRequest=e.lastBufferedRequest,e.bufferedRequestCount+=1}else T(t,e,!1,a,n,i,o);return u}(this,o,a,t,e,r)),s},A.prototype.cork=function(){this._writableState.corked++},A.prototype.uncork=function(){var t=this._writableState;t.corked&&(t.corked--,t.writing||t.corked||t.bufferProcessing||!t.bufferedRequest||N(this,t))},A.prototype.setDefaultEncoding=function(t){if("string"==typeof t&&(t=t.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((t+"").toLowerCase())>-1))throw new E(t);return this._writableState.defaultEncoding=t,this},Object.defineProperty(A.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(A.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),A.prototype._write=function(t,e,r){r(new g("_write()"))},A.prototype._writev=null,A.prototype.end=function(t,e,r){var n=this._writableState;return"function"==typeof t?(r=t,t=null,e=null):"function"==typeof e&&(r=e,e=null),null!=t&&this.write(t,e),n.corked&&(n.corked=1,this.uncork()),n.ending||function(t,e,r){e.ending=!0,R(t,e),r&&(e.finished?i.nextTick(r):t.once("finish",r)),e.ended=!0,t.writable=!1}(this,n,r),this},Object.defineProperty(A.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(A.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(t){this._writableState&&(this._writableState.destroyed=t)}}),A.prototype.destroy=h.destroy,A.prototype._undestroy=h.undestroy,A.prototype._destroy=function(t,e){e(t)}},17356(t,e,r){"use strict";var n,i=r(65606);function o(t,e,r){return(e=function(t){var e=function(t){if("object"!=typeof t||null===t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var r=e.call(t,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==typeof e?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var s=r(19959),a=Symbol("lastResolve"),u=Symbol("lastReject"),l=Symbol("error"),c=Symbol("ended"),h=Symbol("lastPromise"),p=Symbol("handlePromise"),f=Symbol("stream");function d(t,e){return{value:t,done:e}}function g(t){var e=t[a];if(null!==e){var r=t[f].read();null!==r&&(t[h]=null,t[a]=null,t[u]=null,e(d(r,!1)))}}function m(t){i.nextTick(g,t)}var y=Object.getPrototypeOf(function(){}),b=Object.setPrototypeOf((o(n={get stream(){return this[f]},next:function(){var t=this,e=this[l];if(null!==e)return Promise.reject(e);if(this[c])return Promise.resolve(d(void 0,!0));if(this[f].destroyed)return new Promise(function(e,r){i.nextTick(function(){t[l]?r(t[l]):e(d(void 0,!0))})});var r,n=this[h];if(n)r=new Promise(function(t,e){return function(r,n){t.then(function(){e[c]?r(d(void 0,!0)):e[p](r,n)},n)}}(n,this));else{var o=this[f].read();if(null!==o)return Promise.resolve(d(o,!1));r=new Promise(this[p])}return this[h]=r,r}},Symbol.asyncIterator,function(){return this}),o(n,"return",function(){var t=this;return new Promise(function(e,r){t[f].destroy(null,function(t){t?r(t):e(d(void 0,!0))})})}),n),y);t.exports=function(t){var e,r=Object.create(b,(o(e={},f,{value:t,writable:!0}),o(e,a,{value:null,writable:!0}),o(e,u,{value:null,writable:!0}),o(e,l,{value:null,writable:!0}),o(e,c,{value:t._readableState.endEmitted,writable:!0}),o(e,p,{value:function(t,e){var n=r[f].read();n?(r[h]=null,r[a]=null,r[u]=null,t(d(n,!1))):(r[a]=t,r[u]=e)},writable:!0}),e));return r[h]=null,s(t,function(t){if(t&&"ERR_STREAM_PREMATURE_CLOSE"!==t.code){var e=r[u];return null!==e&&(r[h]=null,r[a]=null,r[u]=null,e(t)),void(r[l]=t)}var n=r[a];null!==n&&(r[h]=null,r[a]=null,r[u]=null,n(d(void 0,!0))),r[c]=!0}),t.on("readable",m.bind(null,r)),r}},10272(t,e,r){"use strict";function n(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function i(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?n(Object(r),!0).forEach(function(e){o(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):n(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function o(t,e,r){return(e=a(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function s(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,a(n.key),n)}}function a(t){var e=function(t){if("object"!=typeof t||null===t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var r=e.call(t,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==typeof e?e:String(e)}var u=r(1048).Buffer,l=r(59169).inspect,c=l&&l.custom||"inspect";function h(t,e,r){u.prototype.copy.call(t,e,r)}t.exports=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.head=null,this.tail=null,this.length=0}var e,r;return e=t,(r=[{key:"push",value:function(t){var e={data:t,next:null};this.length>0?this.tail.next=e:this.head=e,this.tail=e,++this.length}},{key:"unshift",value:function(t){var e={data:t,next:this.head};0===this.length&&(this.tail=e),this.head=e,++this.length}},{key:"shift",value:function(){if(0!==this.length){var t=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,t}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(t){if(0===this.length)return"";for(var e=this.head,r=""+e.data;e=e.next;)r+=t+e.data;return r}},{key:"concat",value:function(t){if(0===this.length)return u.alloc(0);for(var e=u.allocUnsafe(t>>>0),r=this.head,n=0;r;)h(r.data,e,n),n+=r.data.length,r=r.next;return e}},{key:"consume",value:function(t,e){var r;return t<this.head.data.length?(r=this.head.data.slice(0,t),this.head.data=this.head.data.slice(t)):r=t===this.head.data.length?this.shift():e?this._getString(t):this._getBuffer(t),r}},{key:"first",value:function(){return this.head.data}},{key:"_getString",value:function(t){var e=this.head,r=1,n=e.data;for(t-=n.length;e=e.next;){var i=e.data,o=t>i.length?i.length:t;if(o===i.length?n+=i:n+=i.slice(0,t),0===(t-=o)){o===i.length?(++r,e.next?this.head=e.next:this.head=this.tail=null):(this.head=e,e.data=i.slice(o));break}++r}return this.length-=r,n}},{key:"_getBuffer",value:function(t){var e=u.allocUnsafe(t),r=this.head,n=1;for(r.data.copy(e),t-=r.data.length;r=r.next;){var i=r.data,o=t>i.length?i.length:t;if(i.copy(e,e.length-t,0,o),0===(t-=o)){o===i.length?(++n,r.next?this.head=r.next:this.head=this.tail=null):(this.head=r,r.data=i.slice(o));break}++n}return this.length-=n,e}},{key:c,value:function(t,e){return l(this,i(i({},e),{},{depth:0,customInspect:!1}))}}])&&s(e.prototype,r),Object.defineProperty(e,"prototype",{writable:!1}),t}()},16057(t,e,r){"use strict";var n=r(65606);function i(t,e){s(t,e),o(t)}function o(t){t._writableState&&!t._writableState.emitClose||t._readableState&&!t._readableState.emitClose||t.emit("close")}function s(t,e){t.emit("error",e)}t.exports={destroy:function(t,e){var r=this,a=this._readableState&&this._readableState.destroyed,u=this._writableState&&this._writableState.destroyed;return a||u?(e?e(t):t&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,n.nextTick(s,this,t)):n.nextTick(s,this,t)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(t||null,function(t){!e&&t?r._writableState?r._writableState.errorEmitted?n.nextTick(o,r):(r._writableState.errorEmitted=!0,n.nextTick(i,r,t)):n.nextTick(i,r,t):e?(n.nextTick(o,r),e(t)):n.nextTick(o,r)}),this)},undestroy:function(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)},errorOrDestroy:function(t,e){var r=t._readableState,n=t._writableState;r&&r.autoDestroy||n&&n.autoDestroy?t.destroy(e):t.emit("error",e)}}},19959(t,e,r){"use strict";var n=r(73157).F.ERR_STREAM_PREMATURE_CLOSE;function i(){}t.exports=function t(e,r,o){if("function"==typeof r)return t(e,null,r);r||(r={}),o=function(t){var e=!1;return function(){if(!e){e=!0;for(var r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];t.apply(this,n)}}}(o||i);var s=r.readable||!1!==r.readable&&e.readable,a=r.writable||!1!==r.writable&&e.writable,u=function(){e.writable||c()},l=e._writableState&&e._writableState.finished,c=function(){a=!1,l=!0,s||o.call(e)},h=e._readableState&&e._readableState.endEmitted,p=function(){s=!1,h=!0,a||o.call(e)},f=function(t){o.call(e,t)},d=function(){var t;return s&&!h?(e._readableState&&e._readableState.ended||(t=new n),o.call(e,t)):a&&!l?(e._writableState&&e._writableState.ended||(t=new n),o.call(e,t)):void 0},g=function(){e.req.on("finish",c)};return function(t){return t.setHeader&&"function"==typeof t.abort}(e)?(e.on("complete",c),e.on("abort",d),e.req?g():e.on("request",g)):a&&!e._writableState&&(e.on("end",u),e.on("close",u)),e.on("end",p),e.on("finish",c),!1!==r.error&&e.on("error",f),e.on("close",d),function(){e.removeListener("complete",c),e.removeListener("abort",d),e.removeListener("request",g),e.req&&e.req.removeListener("finish",c),e.removeListener("end",u),e.removeListener("close",u),e.removeListener("finish",c),e.removeListener("end",p),e.removeListener("error",f),e.removeListener("close",d)}}},6314(t){t.exports=function(){throw new Error("Readable.from is not available in the browser")}},37413(t,e,r){"use strict";var n,i=r(73157).F,o=i.ERR_MISSING_ARGS,s=i.ERR_STREAM_DESTROYED;function a(t){if(t)throw t}function u(t){t()}function l(t,e){return t.pipe(e)}t.exports=function(){for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];var c,h=function(t){return t.length?"function"!=typeof t[t.length-1]?a:t.pop():a}(e);if(Array.isArray(e[0])&&(e=e[0]),e.length<2)throw new o("streams");var p=e.map(function(t,i){var o=i<e.length-1;return function(t,e,i,o){o=function(t){var e=!1;return function(){e||(e=!0,t.apply(void 0,arguments))}}(o);var a=!1;t.on("close",function(){a=!0}),void 0===n&&(n=r(19959)),n(t,{readable:e,writable:i},function(t){if(t)return o(t);a=!0,o()});var u=!1;return function(e){if(!a&&!u)return u=!0,function(t){return t.setHeader&&"function"==typeof t.abort}(t)?t.abort():"function"==typeof t.destroy?t.destroy():void o(e||new s("pipe"))}}(t,o,i>0,function(t){c||(c=t),t&&p.forEach(u),o||(p.forEach(u),h(c))})});return e.reduce(l)}},11922(t,e,r){"use strict";var n=r(73157).F.ERR_INVALID_OPT_VALUE;t.exports={getHighWaterMark:function(t,e,r,i){var o=function(t,e,r){return null!=t.highWaterMark?t.highWaterMark:e?t[r]:null}(e,i,r);if(null!=o){if(!isFinite(o)||Math.floor(o)!==o||o<0)throw new n(i?r:"highWaterMark",o);return Math.floor(o)}return t.objectMode?16:16384}}},81914(t,e,r){t.exports=r(37007).EventEmitter},63242(t,e,r){(e=t.exports=r(52341)).Stream=e,e.Readable=e,e.Writable=r(9573),e.Duplex=r(63527),e.Transform=r(95689),e.PassThrough=r(82571),e.finished=r(19959),e.pipeline=r(37413)},61160(t,e,r){"use strict";var n=r(92063),i=r(73992),o=/^[\x00-\x20\u00a0\u1680\u2000-\u200a\u2028\u2029\u202f\u205f\u3000\ufeff]+/,s=/[\n\r\t]/g,a=/^[A-Za-z][A-Za-z0-9+-.]*:\/\//,u=/:\d+$/,l=/^([a-z][a-z0-9.+-]*:)?(\/\/)?([\\/]+)?([\S\s]*)/i,c=/^[a-zA-Z]:/;function h(t){return(t||"").toString().replace(o,"")}var p=[["#","hash"],["?","query"],function(t,e){return g(e.protocol)?t.replace(/\\/g,"/"):t},["/","pathname"],["@","auth",1],[NaN,"host",void 0,1,1],[/:(\d*)$/,"port",void 0,1],[NaN,"hostname",void 0,1,1]],f={hash:1,query:1};function d(t){var e,r=("undefined"!=typeof window?window:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{}).location||{},n={},i=typeof(t=t||r);if("blob:"===t.protocol)n=new y(unescape(t.pathname),{});else if("string"===i)for(e in n=new y(t,{}),f)delete n[e];else if("object"===i){for(e in t)e in f||(n[e]=t[e]);void 0===n.slashes&&(n.slashes=a.test(t.href))}return n}function g(t){return"file:"===t||"ftp:"===t||"http:"===t||"https:"===t||"ws:"===t||"wss:"===t}function m(t,e){t=(t=h(t)).replace(s,""),e=e||{};var r,n=l.exec(t),i=n[1]?n[1].toLowerCase():"",o=!!n[2],a=!!n[3],u=0;return o?a?(r=n[2]+n[3]+n[4],u=n[2].length+n[3].length):(r=n[2]+n[4],u=n[2].length):a?(r=n[3]+n[4],u=n[3].length):r=n[4],"file:"===i?u>=2&&(r=r.slice(2)):g(i)?r=n[4]:i?o&&(r=r.slice(2)):u>=2&&g(e.protocol)&&(r=n[4]),{protocol:i,slashes:o||g(i),slashesCount:u,rest:r}}function y(t,e,r){if(t=(t=h(t)).replace(s,""),!(this instanceof y))return new y(t,e,r);var o,a,u,l,f,b,v=p.slice(),w=typeof e,E=this,x=0;for("object"!==w&&"string"!==w&&(r=e,e=null),r&&"function"!=typeof r&&(r=i.parse),o=!(a=m(t||"",e=d(e))).protocol&&!a.slashes,E.slashes=a.slashes||o&&e.slashes,E.protocol=a.protocol||e.protocol||"",t=a.rest,("file:"===a.protocol&&(2!==a.slashesCount||c.test(t))||!a.slashes&&(a.protocol||a.slashesCount<2||!g(E.protocol)))&&(v[3]=[/(.*)/,"pathname"]);x<v.length;x++)"function"!=typeof(l=v[x])?(u=l[0],b=l[1],u!=u?E[b]=t:"string"==typeof u?~(f="@"===u?t.lastIndexOf(u):t.indexOf(u))&&("number"==typeof l[2]?(E[b]=t.slice(0,f),t=t.slice(f+l[2])):(E[b]=t.slice(f),t=t.slice(0,f))):(f=u.exec(t))&&(E[b]=f[1],t=t.slice(0,f.index)),E[b]=E[b]||o&&l[3]&&e[b]||"",l[4]&&(E[b]=E[b].toLowerCase())):t=l(t,E);r&&(E.query=r(E.query)),o&&e.slashes&&"/"!==E.pathname.charAt(0)&&(""!==E.pathname||""!==e.pathname)&&(E.pathname=function(t,e){if(""===t)return e;for(var r=(e||"/").split("/").slice(0,-1).concat(t.split("/")),n=r.length,i=r[n-1],o=!1,s=0;n--;)"."===r[n]?r.splice(n,1):".."===r[n]?(r.splice(n,1),s++):s&&(0===n&&(o=!0),r.splice(n,1),s--);return o&&r.unshift(""),"."!==i&&".."!==i||r.push(""),r.join("/")}(E.pathname,e.pathname)),"/"!==E.pathname.charAt(0)&&g(E.protocol)&&(E.pathname="/"+E.pathname),n(E.port,E.protocol)||(E.host=E.hostname,E.port=""),E.username=E.password="",E.auth&&(~(f=E.auth.indexOf(":"))?(E.username=E.auth.slice(0,f),E.username=encodeURIComponent(decodeURIComponent(E.username)),E.password=E.auth.slice(f+1),E.password=encodeURIComponent(decodeURIComponent(E.password))):E.username=encodeURIComponent(decodeURIComponent(E.auth)),E.auth=E.password?E.username+":"+E.password:E.username),E.origin="file:"!==E.protocol&&g(E.protocol)&&E.host?E.protocol+"//"+E.host:"null",E.href=E.toString()}y.prototype={set:function(t,e,r){var o=this;switch(t){case"query":"string"==typeof e&&e.length&&(e=(r||i.parse)(e)),o[t]=e;break;case"port":o[t]=e,n(e,o.protocol)?e&&(o.host=o.hostname+":"+e):(o.host=o.hostname,o[t]="");break;case"hostname":o[t]=e,o.port&&(e+=":"+o.port),o.host=e;break;case"host":o[t]=e,u.test(e)?(e=e.split(":"),o.port=e.pop(),o.hostname=e.join(":")):(o.hostname=e,o.port="");break;case"protocol":o.protocol=e.toLowerCase(),o.slashes=!r;break;case"pathname":case"hash":if(e){var s="pathname"===t?"/":"#";o[t]=e.charAt(0)!==s?s+e:e}else o[t]=e;break;case"username":case"password":o[t]=encodeURIComponent(e);break;case"auth":var a=e.indexOf(":");~a?(o.username=e.slice(0,a),o.username=encodeURIComponent(decodeURIComponent(o.username)),o.password=e.slice(a+1),o.password=encodeURIComponent(decodeURIComponent(o.password))):o.username=encodeURIComponent(decodeURIComponent(e))}for(var l=0;l<p.length;l++){var c=p[l];c[4]&&(o[c[1]]=o[c[1]].toLowerCase())}return o.auth=o.password?o.username+":"+o.password:o.username,o.origin="file:"!==o.protocol&&g(o.protocol)&&o.host?o.protocol+"//"+o.host:"null",o.href=o.toString(),o},toString:function(t){t&&"function"==typeof t||(t=i.stringify);var e,r=this,n=r.host,o=r.protocol;o&&":"!==o.charAt(o.length-1)&&(o+=":");var s=o+(r.protocol&&r.slashes||g(r.protocol)?"//":"");return r.username?(s+=r.username,r.password&&(s+=":"+r.password),s+="@"):r.password?(s+=":"+r.password,s+="@"):"file:"!==r.protocol&&g(r.protocol)&&!n&&"/"!==r.pathname&&(s+="@"),(":"===n[n.length-1]||u.test(r.hostname)&&!r.port)&&(n+=":"),s+=n+r.pathname,(e="object"==typeof r.query?t(r.query):r.query)&&(s+="?"!==e.charAt(0)?"?"+e:e),r.hash&&(s+=r.hash),s}},y.extractProtocol=m,y.location=d,y.trimLeft=h,y.qs=i,t.exports=y},88835(t,e,r){"use strict";var n=r(9655);function i(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}var o=/^([a-z0-9.+-]+:)/i,s=/:[0-9]*$/,a=/^(\/\/?(?!\/)[^?\s]*)(\?[^\s]*)?$/,u=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),l=["'"].concat(u),c=["%","/","?",";","#"].concat(l),h=["/","?","#"],p=/^[+a-z0-9A-Z_-]{0,63}$/,f=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,d={javascript:!0,"javascript:":!0},g={javascript:!0,"javascript:":!0},m={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},y=r(55373);function b(t,e,r){if(t&&"object"==typeof t&&t instanceof i)return t;var n=new i;return n.parse(t,e,r),n}i.prototype.parse=function(t,e,r){if("string"!=typeof t)throw new TypeError("Parameter 'url' must be a string, not "+typeof t);var i=t.indexOf("?"),s=-1!==i&&i<t.indexOf("#")?"?":"#",u=t.split(s);u[0]=u[0].replace(/\\/g,"/");var b=t=u.join(s);if(b=b.trim(),!r&&1===t.split("#").length){var v=a.exec(b);if(v)return this.path=b,this.href=b,this.pathname=v[1],v[2]?(this.search=v[2],this.query=e?y.parse(this.search.substr(1)):this.search.substr(1)):e&&(this.search="",this.query={}),this}var w=o.exec(b);if(w){var E=(w=w[0]).toLowerCase();this.protocol=E,b=b.substr(w.length)}if(r||w||b.match(/^\/\/[^@/]+@[^@/]+/)){var x="//"===b.substr(0,2);!x||w&&g[w]||(b=b.substr(2),this.slashes=!0)}if(!g[w]&&(x||w&&!m[w])){for(var S,_,A=-1,T=0;T<h.length;T++)-1!==(O=b.indexOf(h[T]))&&(-1===A||O<A)&&(A=O);for(-1!==(_=-1===A?b.lastIndexOf("@"):b.lastIndexOf("@",A))&&(S=b.slice(0,_),b=b.slice(_+1),this.auth=decodeURIComponent(S)),A=-1,T=0;T<c.length;T++){var O;-1!==(O=b.indexOf(c[T]))&&(-1===A||O<A)&&(A=O)}-1===A&&(A=b.length),this.host=b.slice(0,A),b=b.slice(A),this.parseHost(),this.hostname=this.hostname||"";var N="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!N)for(var j=this.hostname.split(/\./),P=(T=0,j.length);T<P;T++){var R=j[T];if(R&&!R.match(p)){for(var C="",k=0,M=R.length;k<M;k++)R.charCodeAt(k)>127?C+="x":C+=R[k];if(!C.match(p)){var I=j.slice(0,T),L=j.slice(T+1),$=R.match(f);$&&(I.push($[1]),L.unshift($[2])),L.length&&(b="/"+L.join(".")+b),this.hostname=I.join(".");break}}}this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),N||(this.hostname=n.toASCII(this.hostname));var D=this.port?":"+this.port:"",U=this.hostname||"";this.host=U+D,this.href+=this.host,N&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==b[0]&&(b="/"+b))}if(!d[E])for(T=0,P=l.length;T<P;T++){var q=l[T];if(-1!==b.indexOf(q)){var F=encodeURIComponent(q);F===q&&(F=escape(q)),b=b.split(q).join(F)}}var W=b.indexOf("#");-1!==W&&(this.hash=b.substr(W),b=b.slice(0,W));var H=b.indexOf("?");if(-1!==H?(this.search=b.substr(H),this.query=b.substr(H+1),e&&(this.query=y.parse(this.query)),b=b.slice(0,H)):e&&(this.search="",this.query={}),b&&(this.pathname=b),m[E]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){D=this.pathname||"";var B=this.search||"";this.path=D+B}return this.href=this.format(),this},i.prototype.format=function(){var t=this.auth||"";t&&(t=(t=encodeURIComponent(t)).replace(/%3A/i,":"),t+="@");var e=this.protocol||"",r=this.pathname||"",n=this.hash||"",i=!1,o="";this.host?i=t+this.host:this.hostname&&(i=t+(-1===this.hostname.indexOf(":")?this.hostname:"["+this.hostname+"]"),this.port&&(i+=":"+this.port)),this.query&&"object"==typeof this.query&&Object.keys(this.query).length&&(o=y.stringify(this.query,{arrayFormat:"repeat",addQueryPrefix:!1}));var s=this.search||o&&"?"+o||"";return e&&":"!==e.substr(-1)&&(e+=":"),this.slashes||(!e||m[e])&&!1!==i?(i="//"+(i||""),r&&"/"!==r.charAt(0)&&(r="/"+r)):i||(i=""),n&&"#"!==n.charAt(0)&&(n="#"+n),s&&"?"!==s.charAt(0)&&(s="?"+s),e+i+(r=r.replace(/[?#]/g,function(t){return encodeURIComponent(t)}))+(s=s.replace("#","%23"))+n},i.prototype.resolve=function(t){return this.resolveObject(b(t,!1,!0)).format()},i.prototype.resolveObject=function(t){if("string"==typeof t){var e=new i;e.parse(t,!1,!0),t=e}for(var r=new i,n=Object.keys(this),o=0;o<n.length;o++){var s=n[o];r[s]=this[s]}if(r.hash=t.hash,""===t.href)return r.href=r.format(),r;if(t.slashes&&!t.protocol){for(var a=Object.keys(t),u=0;u<a.length;u++){var l=a[u];"protocol"!==l&&(r[l]=t[l])}return m[r.protocol]&&r.hostname&&!r.pathname&&(r.pathname="/",r.path=r.pathname),r.href=r.format(),r}if(t.protocol&&t.protocol!==r.protocol){if(!m[t.protocol]){for(var c=Object.keys(t),h=0;h<c.length;h++){var p=c[h];r[p]=t[p]}return r.href=r.format(),r}if(r.protocol=t.protocol,t.host||g[t.protocol])r.pathname=t.pathname;else{for(var f=(t.pathname||"").split("/");f.length&&!(t.host=f.shift()););t.host||(t.host=""),t.hostname||(t.hostname=""),""!==f[0]&&f.unshift(""),f.length<2&&f.unshift(""),r.pathname=f.join("/")}if(r.search=t.search,r.query=t.query,r.host=t.host||"",r.auth=t.auth,r.hostname=t.hostname||t.host,r.port=t.port,r.pathname||r.search){var d=r.pathname||"",y=r.search||"";r.path=d+y}return r.slashes=r.slashes||t.slashes,r.href=r.format(),r}var b=r.pathname&&"/"===r.pathname.charAt(0),v=t.host||t.pathname&&"/"===t.pathname.charAt(0),w=v||b||r.host&&t.pathname,E=w,x=r.pathname&&r.pathname.split("/")||[],S=(f=t.pathname&&t.pathname.split("/")||[],r.protocol&&!m[r.protocol]);if(S&&(r.hostname="",r.port=null,r.host&&(""===x[0]?x[0]=r.host:x.unshift(r.host)),r.host="",t.protocol&&(t.hostname=null,t.port=null,t.host&&(""===f[0]?f[0]=t.host:f.unshift(t.host)),t.host=null),w=w&&(""===f[0]||""===x[0])),v)r.host=t.host||""===t.host?t.host:r.host,r.hostname=t.hostname||""===t.hostname?t.hostname:r.hostname,r.search=t.search,r.query=t.query,x=f;else if(f.length)x||(x=[]),x.pop(),x=x.concat(f),r.search=t.search,r.query=t.query;else if(null!=t.search)return S&&(r.host=x.shift(),r.hostname=r.host,(N=!!(r.host&&r.host.indexOf("@")>0)&&r.host.split("@"))&&(r.auth=N.shift(),r.hostname=N.shift(),r.host=r.hostname)),r.search=t.search,r.query=t.query,null===r.pathname&&null===r.search||(r.path=(r.pathname?r.pathname:"")+(r.search?r.search:"")),r.href=r.format(),r;if(!x.length)return r.pathname=null,r.search?r.path="/"+r.search:r.path=null,r.href=r.format(),r;for(var _=x.slice(-1)[0],A=(r.host||t.host||x.length>1)&&("."===_||".."===_)||""===_,T=0,O=x.length;O>=0;O--)"."===(_=x[O])?x.splice(O,1):".."===_?(x.splice(O,1),T++):T&&(x.splice(O,1),T--);if(!w&&!E)for(;T--;T)x.unshift("..");!w||""===x[0]||x[0]&&"/"===x[0].charAt(0)||x.unshift(""),A&&"/"!==x.join("/").substr(-1)&&x.push("");var N,j=""===x[0]||x[0]&&"/"===x[0].charAt(0);return S&&(r.hostname=j?"":x.length?x.shift():"",r.host=r.hostname,(N=!!(r.host&&r.host.indexOf("@")>0)&&r.host.split("@"))&&(r.auth=N.shift(),r.hostname=N.shift(),r.host=r.hostname)),(w=w||r.host&&x.length)&&!j&&x.unshift(""),x.length>0?r.pathname=x.join("/"):(r.pathname=null,r.path=null),null===r.pathname&&null===r.search||(r.path=(r.pathname?r.pathname:"")+(r.search?r.search:"")),r.auth=t.auth||r.auth,r.slashes=r.slashes||t.slashes,r.href=r.format(),r},i.prototype.parseHost=function(){var t=this.host,e=s.exec(t);e&&(":"!==(e=e[0])&&(this.port=e.substr(1)),t=t.substr(0,t.length-e.length)),t&&(this.hostname=t)},e.parse=b,e.resolve=function(t,e){return b(t,!1,!0).resolve(e)},e.resolveObject=function(t,e){return t?b(t,!1,!0).resolveObject(e):e},e.format=function(t){return"string"==typeof t&&(t=b(t)),t instanceof i?t.format():i.prototype.format.call(t)},e.Url=i},81135(t){t.exports=function(t){return t&&"object"==typeof t&&"function"==typeof t.copy&&"function"==typeof t.fill&&"function"==typeof t.readUInt8}},49032(t,e,r){"use strict";var n=r(47244),i=r(48184),o=r(25767),s=r(35680);function a(t){return t.call.bind(t)}var u="undefined"!=typeof BigInt,l="undefined"!=typeof Symbol,c=a(Object.prototype.toString),h=a(Number.prototype.valueOf),p=a(String.prototype.valueOf),f=a(Boolean.prototype.valueOf);if(u)var d=a(BigInt.prototype.valueOf);if(l)var g=a(Symbol.prototype.valueOf);function m(t,e){if("object"!=typeof t)return!1;try{return e(t),!0}catch(t){return!1}}function y(t){return"[object Map]"===c(t)}function b(t){return"[object Set]"===c(t)}function v(t){return"[object WeakMap]"===c(t)}function w(t){return"[object WeakSet]"===c(t)}function E(t){return"[object ArrayBuffer]"===c(t)}function x(t){return"undefined"!=typeof ArrayBuffer&&(E.working?E(t):t instanceof ArrayBuffer)}function S(t){return"[object DataView]"===c(t)}function _(t){return"undefined"!=typeof DataView&&(S.working?S(t):t instanceof DataView)}e.isArgumentsObject=n,e.isGeneratorFunction=i,e.isTypedArray=s,e.isPromise=function(t){return"undefined"!=typeof Promise&&t instanceof Promise||null!==t&&"object"==typeof t&&"function"==typeof t.then&&"function"==typeof t.catch},e.isArrayBufferView=function(t){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(t):s(t)||_(t)},e.isUint8Array=function(t){return"Uint8Array"===o(t)},e.isUint8ClampedArray=function(t){return"Uint8ClampedArray"===o(t)},e.isUint16Array=function(t){return"Uint16Array"===o(t)},e.isUint32Array=function(t){return"Uint32Array"===o(t)},e.isInt8Array=function(t){return"Int8Array"===o(t)},e.isInt16Array=function(t){return"Int16Array"===o(t)},e.isInt32Array=function(t){return"Int32Array"===o(t)},e.isFloat32Array=function(t){return"Float32Array"===o(t)},e.isFloat64Array=function(t){return"Float64Array"===o(t)},e.isBigInt64Array=function(t){return"BigInt64Array"===o(t)},e.isBigUint64Array=function(t){return"BigUint64Array"===o(t)},y.working="undefined"!=typeof Map&&y(new Map),e.isMap=function(t){return"undefined"!=typeof Map&&(y.working?y(t):t instanceof Map)},b.working="undefined"!=typeof Set&&b(new Set),e.isSet=function(t){return"undefined"!=typeof Set&&(b.working?b(t):t instanceof Set)},v.working="undefined"!=typeof WeakMap&&v(new WeakMap),e.isWeakMap=function(t){return"undefined"!=typeof WeakMap&&(v.working?v(t):t instanceof WeakMap)},w.working="undefined"!=typeof WeakSet&&w(new WeakSet),e.isWeakSet=function(t){return w(t)},E.working="undefined"!=typeof ArrayBuffer&&E(new ArrayBuffer),e.isArrayBuffer=x,S.working="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView&&S(new DataView(new ArrayBuffer(1),0,1)),e.isDataView=_;var A="undefined"!=typeof SharedArrayBuffer?SharedArrayBuffer:void 0;function T(t){return"[object SharedArrayBuffer]"===c(t)}function O(t){return void 0!==A&&(void 0===T.working&&(T.working=T(new A)),T.working?T(t):t instanceof A)}function N(t){return m(t,h)}function j(t){return m(t,p)}function P(t){return m(t,f)}function R(t){return u&&m(t,d)}function C(t){return l&&m(t,g)}e.isSharedArrayBuffer=O,e.isAsyncFunction=function(t){return"[object AsyncFunction]"===c(t)},e.isMapIterator=function(t){return"[object Map Iterator]"===c(t)},e.isSetIterator=function(t){return"[object Set Iterator]"===c(t)},e.isGeneratorObject=function(t){return"[object Generator]"===c(t)},e.isWebAssemblyCompiledModule=function(t){return"[object WebAssembly.Module]"===c(t)},e.isNumberObject=N,e.isStringObject=j,e.isBooleanObject=P,e.isBigIntObject=R,e.isSymbolObject=C,e.isBoxedPrimitive=function(t){return N(t)||j(t)||P(t)||R(t)||C(t)},e.isAnyArrayBuffer=function(t){return"undefined"!=typeof Uint8Array&&(x(t)||O(t))},["isProxy","isExternal","isModuleNamespaceObject"].forEach(function(t){Object.defineProperty(e,t,{enumerable:!1,value:function(){throw new Error(t+" is not supported in userland")}})})},40537(t,e,r){var n=r(65606),i=Object.getOwnPropertyDescriptors||function(t){for(var e=Object.keys(t),r={},n=0;n<e.length;n++)r[e[n]]=Object.getOwnPropertyDescriptor(t,e[n]);return r},o=/%[sdj%]/g;e.format=function(t){if(!v(t)){for(var e=[],r=0;r<arguments.length;r++)e.push(l(arguments[r]));return e.join(" ")}r=1;for(var n=arguments,i=n.length,s=String(t).replace(o,function(t){if("%%"===t)return"%";if(r>=i)return t;switch(t){case"%s":return String(n[r++]);case"%d":return Number(n[r++]);case"%j":try{return JSON.stringify(n[r++])}catch(t){return"[Circular]"}default:return t}}),a=n[r];r<i;a=n[++r])y(a)||!x(a)?s+=" "+a:s+=" "+l(a);return s},e.deprecate=function(t,r){if(void 0!==n&&!0===n.noDeprecation)return t;if(void 0===n)return function(){return e.deprecate(t,r).apply(this,arguments)};var i=!1;return function(){if(!i){if(n.throwDeprecation)throw new Error(r);n.traceDeprecation?console.trace(r):console.error(r),i=!0}return t.apply(this,arguments)}};var s={},a=/^$/;if(n.env.NODE_DEBUG){var u=n.env.NODE_DEBUG;u=u.replace(/[|\\{}()[\]^$+?.]/g,"\\$&").replace(/\*/g,".*").replace(/,/g,"$|^").toUpperCase(),a=new RegExp("^"+u+"$","i")}function l(t,r){var n={seen:[],stylize:h};return arguments.length>=3&&(n.depth=arguments[2]),arguments.length>=4&&(n.colors=arguments[3]),m(r)?n.showHidden=r:r&&e._extend(n,r),w(n.showHidden)&&(n.showHidden=!1),w(n.depth)&&(n.depth=2),w(n.colors)&&(n.colors=!1),w(n.customInspect)&&(n.customInspect=!0),n.colors&&(n.stylize=c),p(n,t,n.depth)}function c(t,e){var r=l.styles[e];return r?"["+l.colors[r][0]+"m"+t+"["+l.colors[r][1]+"m":t}function h(t,e){return t}function p(t,r,n){if(t.customInspect&&r&&A(r.inspect)&&r.inspect!==e.inspect&&(!r.constructor||r.constructor.prototype!==r)){var i=r.inspect(n,t);return v(i)||(i=p(t,i,n)),i}var o=function(t,e){if(w(e))return t.stylize("undefined","undefined");if(v(e)){var r="'"+JSON.stringify(e).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return t.stylize(r,"string")}return b(e)?t.stylize(""+e,"number"):m(e)?t.stylize(""+e,"boolean"):y(e)?t.stylize("null","null"):void 0}(t,r);if(o)return o;var s=Object.keys(r),a=function(t){var e={};return t.forEach(function(t,r){e[t]=!0}),e}(s);if(t.showHidden&&(s=Object.getOwnPropertyNames(r)),_(r)&&(s.indexOf("message")>=0||s.indexOf("description")>=0))return f(r);if(0===s.length){if(A(r)){var u=r.name?": "+r.name:"";return t.stylize("[Function"+u+"]","special")}if(E(r))return t.stylize(RegExp.prototype.toString.call(r),"regexp");if(S(r))return t.stylize(Date.prototype.toString.call(r),"date");if(_(r))return f(r)}var l,c="",h=!1,x=["{","}"];return g(r)&&(h=!0,x=["[","]"]),A(r)&&(c=" [Function"+(r.name?": "+r.name:"")+"]"),E(r)&&(c=" "+RegExp.prototype.toString.call(r)),S(r)&&(c=" "+Date.prototype.toUTCString.call(r)),_(r)&&(c=" "+f(r)),0!==s.length||h&&0!=r.length?n<0?E(r)?t.stylize(RegExp.prototype.toString.call(r),"regexp"):t.stylize("[Object]","special"):(t.seen.push(r),l=h?function(t,e,r,n,i){for(var o=[],s=0,a=e.length;s<a;++s)j(e,String(s))?o.push(d(t,e,r,n,String(s),!0)):o.push("");return i.forEach(function(i){i.match(/^\d+$/)||o.push(d(t,e,r,n,i,!0))}),o}(t,r,n,a,s):s.map(function(e){return d(t,r,n,a,e,h)}),t.seen.pop(),function(t,e,r){return t.reduce(function(t,e){return e.indexOf("\n"),t+e.replace(/\u001b\[\d\d?m/g,"").length+1},0)>60?r[0]+(""===e?"":e+"\n ")+" "+t.join(",\n ")+" "+r[1]:r[0]+e+" "+t.join(", ")+" "+r[1]}(l,c,x)):x[0]+c+x[1]}function f(t){return"["+Error.prototype.toString.call(t)+"]"}function d(t,e,r,n,i,o){var s,a,u;if((u=Object.getOwnPropertyDescriptor(e,i)||{value:e[i]}).get?a=u.set?t.stylize("[Getter/Setter]","special"):t.stylize("[Getter]","special"):u.set&&(a=t.stylize("[Setter]","special")),j(n,i)||(s="["+i+"]"),a||(t.seen.indexOf(u.value)<0?(a=y(r)?p(t,u.value,null):p(t,u.value,r-1)).indexOf("\n")>-1&&(a=o?a.split("\n").map(function(t){return" "+t}).join("\n").slice(2):"\n"+a.split("\n").map(function(t){return" "+t}).join("\n")):a=t.stylize("[Circular]","special")),w(s)){if(o&&i.match(/^\d+$/))return a;(s=JSON.stringify(""+i)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(s=s.slice(1,-1),s=t.stylize(s,"name")):(s=s.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),s=t.stylize(s,"string"))}return s+": "+a}function g(t){return Array.isArray(t)}function m(t){return"boolean"==typeof t}function y(t){return null===t}function b(t){return"number"==typeof t}function v(t){return"string"==typeof t}function w(t){return void 0===t}function E(t){return x(t)&&"[object RegExp]"===T(t)}function x(t){return"object"==typeof t&&null!==t}function S(t){return x(t)&&"[object Date]"===T(t)}function _(t){return x(t)&&("[object Error]"===T(t)||t instanceof Error)}function A(t){return"function"==typeof t}function T(t){return Object.prototype.toString.call(t)}function O(t){return t<10?"0"+t.toString(10):t.toString(10)}e.debuglog=function(t){if(t=t.toUpperCase(),!s[t])if(a.test(t)){var r=n.pid;s[t]=function(){var n=e.format.apply(e,arguments);console.error("%s %d: %s",t,r,n)}}else s[t]=function(){};return s[t]},e.inspect=l,l.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},l.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},e.types=r(49032),e.isArray=g,e.isBoolean=m,e.isNull=y,e.isNullOrUndefined=function(t){return null==t},e.isNumber=b,e.isString=v,e.isSymbol=function(t){return"symbol"==typeof t},e.isUndefined=w,e.isRegExp=E,e.types.isRegExp=E,e.isObject=x,e.isDate=S,e.types.isDate=S,e.isError=_,e.types.isNativeError=_,e.isFunction=A,e.isPrimitive=function(t){return null===t||"boolean"==typeof t||"number"==typeof t||"string"==typeof t||"symbol"==typeof t||void 0===t},e.isBuffer=r(81135);var N=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function j(t,e){return Object.prototype.hasOwnProperty.call(t,e)}e.log=function(){var t,r;console.log("%s - %s",(r=[O((t=new Date).getHours()),O(t.getMinutes()),O(t.getSeconds())].join(":"),[t.getDate(),N[t.getMonth()],r].join(" ")),e.format.apply(e,arguments))},e.inherits=r(56698),e._extend=function(t,e){if(!e||!x(e))return t;for(var r=Object.keys(e),n=r.length;n--;)t[r[n]]=e[r[n]];return t};var P="undefined"!=typeof Symbol?Symbol("util.promisify.custom"):void 0;function R(t,e){if(!t){var r=new Error("Promise was rejected with a falsy value");r.reason=t,t=r}return e(t)}e.promisify=function(t){if("function"!=typeof t)throw new TypeError('The "original" argument must be of type Function');if(P&&t[P]){var e;if("function"!=typeof(e=t[P]))throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(e,P,{value:e,enumerable:!1,writable:!1,configurable:!0}),e}function e(){for(var e,r,n=new Promise(function(t,n){e=t,r=n}),i=[],o=0;o<arguments.length;o++)i.push(arguments[o]);i.push(function(t,n){t?r(t):e(n)});try{t.apply(this,i)}catch(t){r(t)}return n}return Object.setPrototypeOf(e,Object.getPrototypeOf(t)),P&&Object.defineProperty(e,P,{value:e,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(e,i(t))},e.promisify.custom=P,e.callbackify=function(t){if("function"!=typeof t)throw new TypeError('The "original" argument must be of type Function');function e(){for(var e=[],r=0;r<arguments.length;r++)e.push(arguments[r]);var i=e.pop();if("function"!=typeof i)throw new TypeError("The last argument must be of type Function");var o=this,s=function(){return i.apply(o,arguments)};t.apply(this,e).then(function(t){n.nextTick(s.bind(null,null,t))},function(t){n.nextTick(R.bind(null,t,s))})}return Object.setPrototypeOf(e,Object.getPrototypeOf(t)),Object.defineProperties(e,i(t)),e}},57510(t){t.exports=function(){for(var t={},r=0;r<arguments.length;r++){var n=arguments[r];for(var i in n)e.call(n,i)&&(t[i]=n[i])}return t};var e=Object.prototype.hasOwnProperty},42634(){},63779(){},77199(){},59169(){},86833(){},97192(t,e,r){"use strict";r.d(e,{hd:()=>i});const n="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope?self:"undefined"!=typeof window?window:globalThis,i=n.fetch.bind(n);n.Headers,n.Request,n.Response},56673(t,e,r){"use strict";r.d(e,{A:()=>p});var n=r(36017);const i=new Set("!?\\\\/[]$%{}^&*()<>|+");function o(t){if("#"===t[0])throw new Error(`[EntityReplacer] Invalid character '#' in entity name: "${t}"`);for(const e of t)if(i.has(e))throw new Error(`[EntityReplacer] Invalid character '${e}' in entity name: "${t}"`);return t}function s(...t){const e=Object.create(null);for(const r of t)if(r)for(const t of Object.keys(r)){const n=r[t];if("string"==typeof n)e[t]=n;else if(n&&"object"==typeof n&&void 0!==n.val){const r=n.val;"string"==typeof r&&(e[t]=r)}}return e}const a="external",u="base",l="all",c=Object.freeze({allow:0,leave:1,remove:2,throw:3}),h=new Set([9,10,13]);class p{constructor(t={}){var e;this._limit=t.limit||{},this._maxTotalExpansions=this._limit.maxTotalExpansions||0,this._maxExpandedLength=this._limit.maxExpandedLength||0,this._postCheck="function"==typeof t.postCheck?t.postCheck:t=>t,this._limitTiers=(e=this._limit.applyLimitsTo??a)&&e!==a?e===l?new Set([l]):e===u?new Set([u]):Array.isArray(e)?new Set(e):new Set([a]):new Set([a]),this._numericAllowed=t.numericAllowed??!0,this._baseMap=s(n._9,t.namedEntities||null),this._externalMap=Object.create(null),this._inputMap=Object.create(null),this._totalExpansions=0,this._expandedLength=0,this._removeSet=new Set(t.remove&&Array.isArray(t.remove)?t.remove:[]),this._leaveSet=new Set(t.leave&&Array.isArray(t.leave)?t.leave:[]);const r=function(t){if(!t)return{xmlVersion:1,onLevel:c.allow,nullLevel:c.remove};const e=1.1===t.xmlVersion?1.1:1,r=c[t.onNCR]??c.allow,n=c[t.nullNCR]??c.remove;return{xmlVersion:e,onLevel:r,nullLevel:Math.max(n,c.remove)}}(t.ncr);this._ncrXmlVersion=r.xmlVersion,this._ncrOnLevel=r.onLevel,this._ncrNullLevel=r.nullLevel}setExternalEntities(t){if(t)for(const e of Object.keys(t))o(e);this._externalMap=s(t)}addExternalEntity(t,e){o(t),"string"==typeof e&&-1===e.indexOf("&")&&(this._externalMap[t]=e)}addInputEntities(t){this._totalExpansions=0,this._expandedLength=0,this._inputMap=s(t)}reset(){return this._inputMap=Object.create(null),this._totalExpansions=0,this._expandedLength=0,this}setXmlVersion(t){this._ncrXmlVersion=1.1===t?1.1:1}decode(t){if("string"!=typeof t||0===t.length)return t;const e=t,r=[],n=t.length;let i=0,o=0;const s=this._maxTotalExpansions>0,l=this._maxExpandedLength>0,c=s||l;for(;o<n;){if(38!==t.charCodeAt(o)){o++;continue}let e=o+1;for(;e<n&&59!==t.charCodeAt(e)&&e-o<=32;)e++;if(e>=n||59!==t.charCodeAt(e)){o++;continue}const h=t.slice(o+1,e);if(0===h.length){o++;continue}let p,f;if(this._removeSet.has(h))p="",void 0===f&&(f=a);else{if(this._leaveSet.has(h)){o++;continue}if(35===h.charCodeAt(0)){const t=this._resolveNCR(h);if(void 0===t){o++;continue}p=t,f=u}else{const t=this._resolveName(h);p=t?.value,f=t?.tier}}if(void 0!==p){if(o>i&&r.push(t.slice(i,o)),r.push(p),i=e+1,o=i,c&&this._tierCounts(f)){if(s&&(this._totalExpansions++,this._totalExpansions>this._maxTotalExpansions))throw new Error(`[EntityReplacer] Entity expansion count limit exceeded: ${this._totalExpansions} > ${this._maxTotalExpansions}`);if(l){const t=p.length-(h.length+2);if(t>0&&(this._expandedLength+=t,this._expandedLength>this._maxExpandedLength))throw new Error(`[EntityReplacer] Expanded content length limit exceeded: ${this._expandedLength} > ${this._maxExpandedLength}`)}}}else o++}i<n&&r.push(t.slice(i));const h=0===r.length?t:r.join("");return this._postCheck(h,e)}_tierCounts(t){return!!this._limitTiers.has(l)||this._limitTiers.has(t)}_resolveName(t){return t in this._inputMap?{value:this._inputMap[t],tier:a}:t in this._externalMap?{value:this._externalMap[t],tier:a}:t in this._baseMap?{value:this._baseMap[t],tier:u}:void 0}_classifyNCR(t){return 0===t?this._ncrNullLevel:t>=55296&&t<=57343||1===this._ncrXmlVersion&&t>=1&&t<=31&&!h.has(t)?c.remove:-1}_applyNCRAction(t,e,r){switch(t){case c.allow:return String.fromCodePoint(r);case c.remove:return"";case c.leave:return;case c.throw:throw new Error(`[EntityDecoder] Prohibited numeric character reference &${e}; (U+${r.toString(16).toUpperCase().padStart(4,"0")})`);default:return String.fromCodePoint(r)}}_resolveNCR(t){const e=t.charCodeAt(1);let r;if(r=120===e||88===e?parseInt(t.slice(2),16):parseInt(t.slice(1),10),Number.isNaN(r)||r<0||r>1114111)return;const n=this._classifyNCR(r);if(!this._numericAllowed&&n<c.remove)return;const i=-1===n?this._ncrOnLevel:Math.max(this._ncrOnLevel,n);return this._applyNCRAction(i,t,r)}}},36017(t,e,r){"use strict";r.d(e,{KS:()=>o,UM:()=>n,_9:()=>i});const n={cent:"¢",pound:"£",curren:"¤",yen:"¥",euro:"€",dollar:"$",euro:"€",fnof:"ƒ",inr:"₹",af:"؋",birr:"ብር",peso:"₱",rub:"₽",won:"₩",yuan:"¥",cedil:"¸"},i={amp:"&",apos:"'",gt:">",lt:"<",quot:'"'},o={nbsp:" ",copy:"©",reg:"®",trade:"™",mdash:"—",ndash:"",hellip:"…",laquo:"«",raquo:"»",lsquo:"",rsquo:"",ldquo:"“",rdquo:"”",bull:"•",para:"¶",sect:"§",deg:"°",frac12:"½",frac14:"¼",frac34:"¾"}},49965(t,e,r){"use strict";r.d(e,{A:()=>c});var n=r(44928),i=r(72766),o=r(87818),s=r(89596),a=r(90105),u=r(84545);const l={attributeNamePrefix:"@_",attributesGroupName:!1,textNodeName:"#text",ignoreAttributes:!0,cdataPropName:!1,format:!1,indentBy:" ",suppressEmptyNode:!1,suppressUnpairedNode:!0,suppressBooleanAttributes:!0,tagValueProcessor:function(t,e){return e},attributeValueProcessor:function(t,e){return e},preserveOrder:!1,commentPropName:!1,unpairedTags:[],entities:[{regex:new RegExp("&","g"),val:"&amp;"},{regex:new RegExp(">","g"),val:"&gt;"},{regex:new RegExp("<","g"),val:"&lt;"},{regex:new RegExp("'","g"),val:"&apos;"},{regex:new RegExp('"',"g"),val:"&quot;"}],processEntities:!0,stopNodes:[],oneListGroup:!1,maxNestedTags:100,jPath:!0,sanitizeName:!1};function c(t){if(this.options=Object.assign({},l,t),this.options.stopNodes&&Array.isArray(this.options.stopNodes)&&(this.options.stopNodes=this.options.stopNodes.map(t=>"string"==typeof t&&t.startsWith("*.")?".."+t.substring(2):t)),this.stopNodeExpressions=[],this.options.stopNodes&&Array.isArray(this.options.stopNodes))for(let t=0;t<this.options.stopNodes.length;t++){const e=this.options.stopNodes[t];"string"==typeof e?this.stopNodeExpressions.push(new o.A(e)):e instanceof o.A&&this.stopNodeExpressions.push(e)}!0===this.options.ignoreAttributes||this.options.attributesGroupName?this.isAttribute=function(){return!1}:(this.ignoreAttributesFn=(0,i.A)(this.options.ignoreAttributes),this.attrPrefixLen=this.options.attributeNamePrefix.length,this.isAttribute=d),this.processTextOrObjNode=p,this.options.format?(this.indentate=f,this.tagEndChar=">\n",this.newLine="\n"):(this.indentate=function(){return""},this.tagEndChar=">",this.newLine="")}function h(t,e,r,n,i){return r.sanitizeName?(0,u.fG)(t,{xmlVersion:i})?t:r.sanitizeName(t,{isAttribute:e,matcher:n.readOnly()}):t}function p(t,e,r,n,i){const o=this.extractAttributes(t);if(n.push(e,o),this.checkStopNode(n)){const i=this.buildRawContent(t),o=this.buildAttributesForStopNode(t);return n.pop(),this.buildObjectNode(i,e,o,r)}const s=this.j2x(t,r+1,n,i);return n.pop(),"?"===e[0]?this.buildTextValNode("",e,s.attrStr,r,n):void 0!==t[this.options.textNodeName]&&1===Object.keys(t).length?this.buildTextValNode(t[this.options.textNodeName],e,s.attrStr,r,n):this.buildObjectNode(s.val,e,s.attrStr,r)}function f(t){return this.options.indentBy.repeat(t)}function d(t){return!(!t.startsWith(this.options.attributeNamePrefix)||t===this.options.textNodeName)&&t.substr(this.attrPrefixLen)}c.prototype.build=function(t){if(this.options.preserveOrder)return(0,n.A)(t,this.options);{Array.isArray(t)&&this.options.arrayNodeName&&this.options.arrayNodeName.length>1&&(t={[this.options.arrayNodeName]:t});const e=new s.A,r=function(t,e){const r=t["?xml"];if(r&&"object"==typeof r){if(e.attributesGroupName&&r[e.attributesGroupName]){const t=r[e.attributesGroupName][e.attributeNamePrefix+"version"];if(t)return t}const t=r[e.attributeNamePrefix+"version"];if(t)return t}return"1.0"}(t,this.options);return this.j2x(t,0,e,r).val}},c.prototype.j2x=function(t,e,r,n){let i="",o="";if(this.options.maxNestedTags&&r.getDepth()>=this.options.maxNestedTags)throw new Error("Maximum nested tags exceeded");const s=this.options.jPath?r.toString():r,a=this.checkStopNode(r);for(let u in t){if(!Object.prototype.hasOwnProperty.call(t,u))continue;const l=u===this.options.textNodeName||u===this.options.cdataPropName||u===this.options.commentPropName||this.options.attributesGroupName&&u===this.options.attributesGroupName||this.isAttribute(u)||"?"===u[0]?u:h(u,!1,this.options,r,n);if(void 0===t[u])this.isAttribute(u)&&(o+="");else if(null===t[u])this.isAttribute(u)||l===this.options.cdataPropName||l===this.options.commentPropName?o+="":"?"===l[0]?o+=this.indentate(e)+"<"+l+"?"+this.tagEndChar:o+=this.indentate(e)+"<"+l+"/"+this.tagEndChar;else if(t[u]instanceof Date)o+=this.buildTextValNode(t[u],l,"",e,r);else if("object"!=typeof t[u]){const c=this.isAttribute(u);if(c&&!this.ignoreAttributesFn(c,s)){const e=h(c,!0,this.options,r,n);i+=this.buildAttrPairStr(e,""+t[u],a)}else if(!c)if(u===this.options.textNodeName){let e=this.options.tagValueProcessor(u,""+t[u]);o+=this.replaceEntitiesValue(e)}else{r.push(l);const n=this.checkStopNode(r);if(r.pop(),n){const r=""+t[u];o+=""===r?this.indentate(e)+"<"+l+this.closeTag(l)+this.tagEndChar:this.indentate(e)+"<"+l+">"+r+"</"+l+this.tagEndChar}else o+=this.buildTextValNode(t[u],l,"",e,r)}}else if(Array.isArray(t[u])){const i=t[u].length;let s="",a="";for(let c=0;c<i;c++){const i=t[u][c];if(void 0===i);else if(null===i)"?"===l[0]?o+=this.indentate(e)+"<"+l+"?"+this.tagEndChar:o+=this.indentate(e)+"<"+l+"/"+this.tagEndChar;else if("object"==typeof i)if(this.options.oneListGroup){r.push(l);const t=this.j2x(i,e+1,r,n);r.pop(),s+=t.val,this.options.attributesGroupName&&i.hasOwnProperty(this.options.attributesGroupName)&&(a+=t.attrStr)}else s+=this.processTextOrObjNode(i,l,e,r,n);else if(this.options.oneListGroup){let t=this.options.tagValueProcessor(l,i);t=this.replaceEntitiesValue(t),s+=t}else{r.push(l);const t=this.checkStopNode(r);if(r.pop(),t){const t=""+i;s+=""===t?this.indentate(e)+"<"+l+this.closeTag(l)+this.tagEndChar:this.indentate(e)+"<"+l+">"+t+"</"+l+this.tagEndChar}else s+=this.buildTextValNode(i,l,"",e,r)}}this.options.oneListGroup&&(s=this.buildObjectNode(s,l,a,e)),o+=s}else if(this.options.attributesGroupName&&u===this.options.attributesGroupName){const e=Object.keys(t[u]),o=e.length;for(let s=0;s<o;s++){const o=h(e[s],!0,this.options,r,n);i+=this.buildAttrPairStr(o,""+t[u][e[s]],a)}}else o+=this.processTextOrObjNode(t[u],l,e,r,n)}return{attrStr:i,val:o}},c.prototype.buildAttrPairStr=function(t,e,r){return r||(e=this.options.attributeValueProcessor(t,""+e),e=this.replaceEntitiesValue(e)),this.options.suppressBooleanAttributes&&"true"===e?" "+t:" "+t+'="'+(0,a.Gj)(e)+'"'},c.prototype.extractAttributes=function(t){if(!t||"object"!=typeof t)return null;const e={};let r=!1;if(this.options.attributesGroupName&&t[this.options.attributesGroupName]){const n=t[this.options.attributesGroupName];for(let t in n)Object.prototype.hasOwnProperty.call(n,t)&&(e[t.startsWith(this.options.attributeNamePrefix)?t.substring(this.options.attributeNamePrefix.length):t]=(0,a.Gj)(n[t]),r=!0)}else for(let n in t){if(!Object.prototype.hasOwnProperty.call(t,n))continue;const i=this.isAttribute(n);i&&(e[i]=(0,a.Gj)(t[n]),r=!0)}return r?e:null},c.prototype.buildRawContent=function(t){if("string"==typeof t)return t;if("object"!=typeof t||null===t)return String(t);if(void 0!==t[this.options.textNodeName])return t[this.options.textNodeName];let e="";for(let r in t){if(!Object.prototype.hasOwnProperty.call(t,r))continue;if(this.isAttribute(r))continue;if(this.options.attributesGroupName&&r===this.options.attributesGroupName)continue;const n=t[r];if(r===this.options.textNodeName)e+=n;else if(Array.isArray(n)){for(let t of n)if("string"==typeof t||"number"==typeof t)e+=`<${r}>${t}</${r}>`;else if("object"==typeof t&&null!==t){const n=this.buildRawContent(t),i=this.buildAttributesForStopNode(t);e+=""===n?`<${r}${i}/>`:`<${r}${i}>${n}</${r}>`}}else if("object"==typeof n&&null!==n){const t=this.buildRawContent(n),i=this.buildAttributesForStopNode(n);e+=""===t?`<${r}${i}/>`:`<${r}${i}>${t}</${r}>`}else e+=`<${r}>${n}</${r}>`}return e},c.prototype.buildAttributesForStopNode=function(t){if(!t||"object"!=typeof t)return"";let e="";if(this.options.attributesGroupName&&t[this.options.attributesGroupName]){const r=t[this.options.attributesGroupName];for(let t in r){if(!Object.prototype.hasOwnProperty.call(r,t))continue;const n=t.startsWith(this.options.attributeNamePrefix)?t.substring(this.options.attributeNamePrefix.length):t,i=r[t];!0===i&&this.options.suppressBooleanAttributes?e+=" "+n:e+=" "+n+'="'+i+'"'}}else for(let r in t){if(!Object.prototype.hasOwnProperty.call(t,r))continue;const n=this.isAttribute(r);if(n){const i=t[r];!0===i&&this.options.suppressBooleanAttributes?e+=" "+n:e+=" "+n+'="'+i+'"'}}return e},c.prototype.buildObjectNode=function(t,e,r,n){if(""===t)return"?"===e[0]?this.indentate(n)+"<"+e+r+"?"+this.tagEndChar:this.indentate(n)+"<"+e+r+this.closeTag(e)+this.tagEndChar;if("?"===e[0])return this.indentate(n)+"<"+e+r+"?"+this.tagEndChar;{let i="</"+e+this.tagEndChar,o="";return"?"===e[0]&&(o="?",i=""),!r&&""!==r||-1!==t.indexOf("<")?!1!==this.options.commentPropName&&e===this.options.commentPropName&&0===o.length?this.indentate(n)+`\x3c!--${t}--\x3e`+this.newLine:this.indentate(n)+"<"+e+r+o+this.tagEndChar+t+this.indentate(n)+i:this.indentate(n)+"<"+e+r+o+">"+t+i}},c.prototype.closeTag=function(t){let e="";return-1!==this.options.unpairedTags.indexOf(t)?this.options.suppressUnpairedNode||(e="/"):e=this.options.suppressEmptyNode?"/":`></${t}`,e},c.prototype.checkStopNode=function(t){if(!this.stopNodeExpressions||0===this.stopNodeExpressions.length)return!1;for(let e=0;e<this.stopNodeExpressions.length;e++)if(t.matches(this.stopNodeExpressions[e]))return!0;return!1},c.prototype.buildTextValNode=function(t,e,r,n,i){if(!1!==this.options.cdataPropName&&e===this.options.cdataPropName){const e=(0,a.rt)(t);return this.indentate(n)+`<![CDATA[${e}]]>`+this.newLine}if(!1!==this.options.commentPropName&&e===this.options.commentPropName){const e=(0,a.BI)(t);return this.indentate(n)+`\x3c!--${e}--\x3e`+this.newLine}if("?"===e[0])return this.indentate(n)+"<"+e+r+"?"+this.tagEndChar;{let i=this.options.tagValueProcessor(e,t);return i=this.replaceEntitiesValue(i),""===i?this.indentate(n)+"<"+e+r+this.closeTag(e)+this.tagEndChar:this.indentate(n)+"<"+e+r+">"+i+"</"+e+this.tagEndChar}},c.prototype.replaceEntitiesValue=function(t){if(t&&t.length>0&&this.options.processEntities)for(let e=0;e<this.options.entities.length;e++){const r=this.options.entities[e];t=t.replace(r.regex,r.val)}return t}},72766(t,e,r){"use strict";function n(t){return"function"==typeof t?t:Array.isArray(t)?e=>{for(const r of t){if("string"==typeof r&&e===r)return!0;if(r instanceof RegExp&&r.test(e))return!0}}:()=>!1}r.d(e,{A:()=>n})},44928(t,e,r){"use strict";r.d(e,{A:()=>u});var n=r(87818),i=r(89596),o=r(90105),s=r(84545);function a(t,e,r,n,i){return r.sanitizeName?(0,s.fG)(t,{xmlVersion:i})?t:r.sanitizeName(t,{isAttribute:e,matcher:n.readOnly()}):t}function u(t,e){let r="";e.format&&(r="\n");const o=[];if(e.stopNodes&&Array.isArray(e.stopNodes))for(let t=0;t<e.stopNodes.length;t++){const r=e.stopNodes[t];"string"==typeof r?o.push(new n.A(r)):r instanceof n.A&&o.push(r)}const s=function(t,e){if(!Array.isArray(t)||0===t.length)return"1.0";const r=t[0];if("?xml"===f(r)){const t=r[":@"];if(t){const r=e.attributeNamePrefix+"version";if(t[r])return t[r]}}return"1.0"}(t,e);return l(t,e,r,new i.A,o,s)}function l(t,e,r,n,i,s){let u="",p=!1;if(e.maxNestedTags&&n.getDepth()>e.maxNestedTags)throw new Error("Maximum nested tags exceeded");if(!Array.isArray(t)){if(null!=t){let r=t.toString();return r=m(r,e),r}return""}for(let y=0;y<t.length;y++){const b=t[y],v=f(b);if(void 0===v)continue;const w=v===e.textNodeName||v===e.cdataPropName||v===e.commentPropName||"?"===v[0]?v:a(v,!1,e,n,s),E=c(b[":@"],e);n.push(w,E);const x=g(n,i);if(w===e.textNodeName){let t=b[v];x||(t=e.tagValueProcessor(w,t),t=m(t,e)),p&&(u+=r),u+=t,p=!1,n.pop();continue}if(w===e.cdataPropName){p&&(u+=r);const t=b[v][0][e.textNodeName];u+=`<![CDATA[${(0,o.rt)(t)}]]>`,p=!1,n.pop();continue}if(w===e.commentPropName){const t=b[v][0][e.textNodeName];u+=r+`\x3c!--${(0,o.BI)(t)}--\x3e`,p=!0,n.pop();continue}if("?"===w[0]){u+=("?xml"===w?"":r)+`<${w}${d(b[":@"],e,x,n,s)}?>`,p=!0,n.pop();continue}let S=r;""!==S&&(S+=e.indentBy);const _=r+`<${w}${d(b[":@"],e,x,n,s)}`;let A;A=x?h(b[v],e):l(b[v],e,S,n,i,s),-1!==e.unpairedTags.indexOf(w)?e.suppressUnpairedNode?u+=_+">":u+=_+"/>":A&&0!==A.length||!e.suppressEmptyNode?A&&A.endsWith(">")?u+=_+`>${A}${r}</${w}>`:(u+=_+">",A&&""!==r&&(A.includes("/>")||A.includes("</"))?u+=r+e.indentBy+A+r:u+=A,u+=`</${w}>`):u+=_+"/>",p=!0,n.pop()}return u}function c(t,e){if(!t||e.ignoreAttributes)return null;const r={};let n=!1;for(let i in t)Object.prototype.hasOwnProperty.call(t,i)&&(r[i.startsWith(e.attributeNamePrefix)?i.substr(e.attributeNamePrefix.length):i]=(0,o.Gj)(t[i]),n=!0);return n?r:null}function h(t,e){if(!Array.isArray(t))return null!=t?t.toString():"";let r="";for(let n=0;n<t.length;n++){const i=t[n],o=f(i);if(o===e.textNodeName)r+=i[o];else if(o===e.cdataPropName)r+=i[o][0][e.textNodeName];else if(o===e.commentPropName)r+=i[o][0][e.textNodeName];else{if(o&&"?"===o[0])continue;if(o){const t=p(i[":@"],e),n=h(i[o],e);n&&0!==n.length?r+=`<${o}${t}>${n}</${o}>`:r+=`<${o}${t}/>`}}}return r}function p(t,e){let r="";if(t&&!e.ignoreAttributes)for(let n in t){if(!Object.prototype.hasOwnProperty.call(t,n))continue;let i=t[n];!0===i&&e.suppressBooleanAttributes?r+=` ${n.substr(e.attributeNamePrefix.length)}`:r+=` ${n.substr(e.attributeNamePrefix.length)}="${(0,o.Gj)(i)}"`}return r}function f(t){const e=Object.keys(t);for(let r=0;r<e.length;r++){const n=e[r];if(Object.prototype.hasOwnProperty.call(t,n)&&":@"!==n)return n}}function d(t,e,r,n,i){let s="";if(t&&!e.ignoreAttributes)for(let u in t){if(!Object.prototype.hasOwnProperty.call(t,u))continue;const l=u.substr(e.attributeNamePrefix.length),c=r?l:a(l,!0,e,n,i);let h;r?h=t[u]:(h=e.attributeValueProcessor(u,t[u]),h=m(h,e)),!0===h&&e.suppressBooleanAttributes?s+=` ${c}`:s+=` ${c}="${(0,o.Gj)(h)}"`}return s}function g(t,e){if(!e||0===e.length)return!1;for(let r=0;r<e.length;r++)if(t.matches(e[r]))return!0;return!1}function m(t,e){if(t&&t.length>0&&e.processEntities)for(let r=0;r<e.entities.length;r++){const n=e.entities[r];t=t.replace(n.regex,n.val)}return t}},90105(t,e,r){"use strict";function n(t){return String(t).replace(/--/g,"- -").replace(/--/g,"- -").replace(/-$/,"- ")}function i(t){return String(t).replace(/\]\]>/g,"]]]]><![CDATA[>")}function o(t){return String(t).replace(/"/g,"&quot;").replace(/'/g,"&apos;")}r.d(e,{BI:()=>n,Gj:()=>o,rt:()=>i})},72984(t,e,r){"use strict";function n(t){return"function"==typeof t?t:Array.isArray(t)?e=>{for(const r of t){if("string"==typeof r&&e===r)return!0;if(r instanceof RegExp&&r.test(e))return!0}}:()=>!1}r.d(e,{A:()=>n})},69031(t,e,r){"use strict";r.d(e,{Eo:()=>s,Xe:()=>o,q9:()=>u,vl:()=>l,yQ:()=>a});const n=":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",i=new RegExp("^["+n+"]["+n+"\\-.\\d\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$");function o(t,e){const r=[];let n=e.exec(t);for(;n;){const i=[];i.startIndex=e.lastIndex-n[0].length;const o=n.length;for(let t=0;t<o;t++)i.push(n[t]);r.push(i),n=e.exec(t)}return r}const s=function(t){return!(null==i.exec(t))};function a(t){return void 0!==t}const u=["hasOwnProperty","toString","valueOf","__defineGetter__","__defineSetter__","__lookupGetter__","__lookupSetter__"],l=["__proto__","constructor","prototype"]},86301(t,e,r){"use strict";r.d(e,{t:()=>o});var n=r(69031);const i={allowBooleanAttributes:!1,unpairedTags:[]};function o(t,e){e=Object.assign({},i,e);const r=[];let n=!1,o=!1;"\ufeff"===t[0]&&(t=t.substr(1));for(let i=0;i<t.length;i++)if("<"===t[i]&&"?"===t[i+1]){if(i+=2,i=a(t,i),i.err)return i}else{if("<"!==t[i]){if(s(t[i]))continue;return f("InvalidChar","char '"+t[i]+"' is not expected.",m(t,i))}{let c=i;if(i++,"!"===t[i]){i=u(t,i);continue}{let d=!1;"/"===t[i]&&(d=!0,i++);let y="";for(;i<t.length&&">"!==t[i]&&" "!==t[i]&&"\t"!==t[i]&&"\n"!==t[i]&&"\r"!==t[i];i++)y+=t[i];if(y=y.trim(),"/"===y[y.length-1]&&(y=y.substring(0,y.length-1),i--),!g(y)){let e;return e=0===y.trim().length?"Invalid space after '<'.":"Tag '"+y+"' is an invalid name.",f("InvalidTag",e,m(t,i))}const b=l(t,i);if(!1===b)return f("InvalidAttr","Attributes for '"+y+"' have open quote.",m(t,i));let v=b.value;if(i=b.index,"/"===v[v.length-1]){const r=i-v.length;v=v.substring(0,v.length-1);const o=h(v,e);if(!0!==o)return f(o.err.code,o.err.msg,m(t,r+o.err.line));n=!0}else if(d){if(!b.tagClosed)return f("InvalidTag","Closing tag '"+y+"' doesn't have proper closing.",m(t,i));if(v.trim().length>0)return f("InvalidTag","Closing tag '"+y+"' can't have attributes or invalid starting.",m(t,c));if(0===r.length)return f("InvalidTag","Closing tag '"+y+"' has not been opened.",m(t,c));{const e=r.pop();if(y!==e.tagName){let r=m(t,e.tagStartPos);return f("InvalidTag","Expected closing tag '"+e.tagName+"' (opened in line "+r.line+", col "+r.col+") instead of closing tag '"+y+"'.",m(t,c))}0==r.length&&(o=!0)}}else{const s=h(v,e);if(!0!==s)return f(s.err.code,s.err.msg,m(t,i-v.length+s.err.line));if(!0===o)return f("InvalidXml","Multiple possible root nodes found.",m(t,i));-1!==e.unpairedTags.indexOf(y)||r.push({tagName:y,tagStartPos:c}),n=!0}for(i++;i<t.length;i++)if("<"===t[i]){if("!"===t[i+1]){i++,i=u(t,i);continue}if("?"!==t[i+1])break;if(i=a(t,++i),i.err)return i}else if("&"===t[i]){const e=p(t,i);if(-1==e)return f("InvalidChar","char '&' is not expected.",m(t,i));i=e}else if(!0===o&&!s(t[i]))return f("InvalidXml","Extra text at the end",m(t,i));"<"===t[i]&&i--}}}return n?1==r.length?f("InvalidTag","Unclosed tag '"+r[0].tagName+"'.",m(t,r[0].tagStartPos)):!(r.length>0)||f("InvalidXml","Invalid '"+JSON.stringify(r.map(t=>t.tagName),null,4).replace(/\r?\n/g,"")+"' found.",{line:1,col:1}):f("InvalidXml","Start tag expected.",1)}function s(t){return" "===t||"\t"===t||"\n"===t||"\r"===t}function a(t,e){const r=e;for(;e<t.length;e++)if("?"==t[e]||" "==t[e]){const n=t.substr(r,e-r);if(e>5&&"xml"===n)return f("InvalidXml","XML declaration allowed only at the start of the document.",m(t,e));if("?"==t[e]&&">"==t[e+1]){e++;break}continue}return e}function u(t,e){if(t.length>e+5&&"-"===t[e+1]&&"-"===t[e+2]){for(e+=3;e<t.length;e++)if("-"===t[e]&&"-"===t[e+1]&&">"===t[e+2]){e+=2;break}}else if(t.length>e+8&&"D"===t[e+1]&&"O"===t[e+2]&&"C"===t[e+3]&&"T"===t[e+4]&&"Y"===t[e+5]&&"P"===t[e+6]&&"E"===t[e+7]){let r=1;for(e+=8;e<t.length;e++)if("<"===t[e])r++;else if(">"===t[e]&&(r--,0===r))break}else if(t.length>e+9&&"["===t[e+1]&&"C"===t[e+2]&&"D"===t[e+3]&&"A"===t[e+4]&&"T"===t[e+5]&&"A"===t[e+6]&&"["===t[e+7])for(e+=8;e<t.length;e++)if("]"===t[e]&&"]"===t[e+1]&&">"===t[e+2]){e+=2;break}return e}function l(t,e){let r="",n="",i=!1;for(;e<t.length;e++){if('"'===t[e]||"'"===t[e])""===n?n=t[e]:n!==t[e]||(n="");else if(">"===t[e]&&""===n){i=!0;break}r+=t[e]}return""===n&&{value:r,index:e,tagClosed:i}}const c=new RegExp("(\\s*)([^\\s=]+)(\\s*=)?(\\s*(['\"])(([\\s\\S])*?)\\5)?","g");function h(t,e){const r=(0,n.Xe)(t,c),i={};for(let t=0;t<r.length;t++){if(0===r[t][1].length)return f("InvalidAttr","Attribute '"+r[t][2]+"' has no space in starting.",y(r[t]));if(void 0!==r[t][3]&&void 0===r[t][4])return f("InvalidAttr","Attribute '"+r[t][2]+"' is without value.",y(r[t]));if(void 0===r[t][3]&&!e.allowBooleanAttributes)return f("InvalidAttr","boolean attribute '"+r[t][2]+"' is not allowed.",y(r[t]));const n=r[t][2];if(!d(n))return f("InvalidAttr","Attribute '"+n+"' is an invalid name.",y(r[t]));if(Object.prototype.hasOwnProperty.call(i,n))return f("InvalidAttr","Attribute '"+n+"' is repeated.",y(r[t]));i[n]=1}return!0}function p(t,e){if(";"===t[++e])return-1;if("#"===t[e])return function(t,e){let r=/\d/;for("x"===t[e]&&(e++,r=/[\da-fA-F]/);e<t.length;e++){if(";"===t[e])return e;if(!t[e].match(r))break}return-1}(t,++e);let r=0;for(;e<t.length;e++,r++)if(!(t[e].match(/\w/)&&r<20)){if(";"===t[e])break;return-1}return e}function f(t,e,r){return{err:{code:t,msg:e,line:r.line||r,col:r.col}}}function d(t){return(0,n.Eo)(t)}function g(t){return(0,n.Eo)(t)}function m(t,e){const r=t.substring(0,e).split(/\r?\n/);return{line:r.length,col:r[r.length-1].length+1}}function y(t){return t.startIndex+t[1].length}},99111(t,e,r){"use strict";r.d(e,{A:()=>n});const n=r(49965).A},25003(t,e,r){"use strict";r.d(e,{A:()=>i});var n=r(69031);class i{constructor(t){this.suppressValidationErr=!t,this.options=t}readDocType(t,e){const r=Object.create(null);let n=0;if("O"!==t[e+3]||"C"!==t[e+4]||"T"!==t[e+5]||"Y"!==t[e+6]||"P"!==t[e+7]||"E"!==t[e+8])throw new Error("Invalid Tag instead of DOCTYPE");{e+=9;let i=1,o=!1,a=!1,u="";for(;e<t.length;e++)if("<"!==t[e]||a)if(">"===t[e]){if(a?"-"===t[e-1]&&"-"===t[e-2]&&(a=!1,i--):i--,0===i)break}else"["===t[e]?o=!0:u+=t[e];else{if(o&&s(t,"!ENTITY",e)){let i,o;if(e+=7,[i,o,e]=this.readEntityExp(t,e+1,this.suppressValidationErr),-1===o.indexOf("&")){if(!1!==this.options.enabled&&null!=this.options.maxEntityCount&&n>=this.options.maxEntityCount)throw new Error(`Entity count (${n+1}) exceeds maximum allowed (${this.options.maxEntityCount})`);r[i]=o,n++}}else if(o&&s(t,"!ELEMENT",e)){e+=8;const{index:r}=this.readElementExp(t,e+1);e=r}else if(o&&s(t,"!ATTLIST",e))e+=8;else if(o&&s(t,"!NOTATION",e)){e+=9;const{index:r}=this.readNotationExp(t,e+1,this.suppressValidationErr);e=r}else{if(!s(t,"!--",e))throw new Error("Invalid DOCTYPE");a=!0}i++,u=""}if(0!==i)throw new Error("Unclosed DOCTYPE")}return{entities:r,i:e}}readEntityExp(t,e){const r=e=o(t,e);for(;e<t.length&&!/\s/.test(t[e])&&'"'!==t[e]&&"'"!==t[e];)e++;let n=t.substring(r,e);if(a(n),e=o(t,e),!this.suppressValidationErr){if("SYSTEM"===t.substring(e,e+6).toUpperCase())throw new Error("External entities are not supported");if("%"===t[e])throw new Error("Parameter entities are not supported")}let i="";if([e,i]=this.readIdentifierVal(t,e,"entity"),!1!==this.options.enabled&&null!=this.options.maxEntitySize&&i.length>this.options.maxEntitySize)throw new Error(`Entity "${n}" size (${i.length}) exceeds maximum allowed size (${this.options.maxEntitySize})`);return[n,i,--e]}readNotationExp(t,e){const r=e=o(t,e);for(;e<t.length&&!/\s/.test(t[e]);)e++;let n=t.substring(r,e);!this.suppressValidationErr&&a(n),e=o(t,e);const i=t.substring(e,e+6).toUpperCase();if(!this.suppressValidationErr&&"SYSTEM"!==i&&"PUBLIC"!==i)throw new Error(`Expected SYSTEM or PUBLIC, found "${i}"`);e+=i.length,e=o(t,e);let s=null,u=null;if("PUBLIC"===i)[e,s]=this.readIdentifierVal(t,e,"publicIdentifier"),'"'!==t[e=o(t,e)]&&"'"!==t[e]||([e,u]=this.readIdentifierVal(t,e,"systemIdentifier"));else if("SYSTEM"===i&&([e,u]=this.readIdentifierVal(t,e,"systemIdentifier"),!this.suppressValidationErr&&!u))throw new Error("Missing mandatory system identifier for SYSTEM notation");return{notationName:n,publicIdentifier:s,systemIdentifier:u,index:--e}}readIdentifierVal(t,e,r){let n="";const i=t[e];if('"'!==i&&"'"!==i)throw new Error(`Expected quoted string, found "${i}"`);const o=++e;for(;e<t.length&&t[e]!==i;)e++;if(n=t.substring(o,e),t[e]!==i)throw new Error(`Unterminated ${r} value`);return[++e,n]}readElementExp(t,e){const r=e=o(t,e);for(;e<t.length&&!/\s/.test(t[e]);)e++;let i=t.substring(r,e);if(!this.suppressValidationErr&&!(0,n.Eo)(i))throw new Error(`Invalid element name: "${i}"`);let a="";if("E"===t[e=o(t,e)]&&s(t,"MPTY",e))e+=4;else if("A"===t[e]&&s(t,"NY",e))e+=2;else if("("===t[e]){const r=++e;for(;e<t.length&&")"!==t[e];)e++;if(a=t.substring(r,e),")"!==t[e])throw new Error("Unterminated content model")}else if(!this.suppressValidationErr)throw new Error(`Invalid Element Expression, found "${t[e]}"`);return{elementName:i,contentModel:a.trim(),index:e}}readAttlistExp(t,e){let r=e=o(t,e);for(;e<t.length&&!/\s/.test(t[e]);)e++;let n=t.substring(r,e);for(a(n),r=e=o(t,e);e<t.length&&!/\s/.test(t[e]);)e++;let i=t.substring(r,e);if(!a(i))throw new Error(`Invalid attribute name: "${i}"`);e=o(t,e);let s="";if("NOTATION"===t.substring(e,e+8).toUpperCase()){if(s="NOTATION","("!==t[e=o(t,e+=8)])throw new Error(`Expected '(', found "${t[e]}"`);e++;let r=[];for(;e<t.length&&")"!==t[e];){const n=e;for(;e<t.length&&"|"!==t[e]&&")"!==t[e];)e++;let i=t.substring(n,e);if(i=i.trim(),!a(i))throw new Error(`Invalid notation name: "${i}"`);r.push(i),"|"===t[e]&&(e++,e=o(t,e))}if(")"!==t[e])throw new Error("Unterminated list of notations");e++,s+=" ("+r.join("|")+")"}else{const r=e;for(;e<t.length&&!/\s/.test(t[e]);)e++;s+=t.substring(r,e);const n=["CDATA","ID","IDREF","IDREFS","ENTITY","ENTITIES","NMTOKEN","NMTOKENS"];if(!this.suppressValidationErr&&!n.includes(s.toUpperCase()))throw new Error(`Invalid attribute type: "${s}"`)}e=o(t,e);let u="";return"#REQUIRED"===t.substring(e,e+8).toUpperCase()?(u="#REQUIRED",e+=8):"#IMPLIED"===t.substring(e,e+7).toUpperCase()?(u="#IMPLIED",e+=7):[e,u]=this.readIdentifierVal(t,e,"ATTLIST"),{elementName:n,attributeName:i,attributeType:s,defaultValue:u,index:e}}}const o=(t,e)=>{for(;e<t.length&&/\s/.test(t[e]);)e++;return e};function s(t,e,r){for(let n=0;n<e.length;n++)if(e[n]!==t[r+n+1])return!1;return!0}function a(t){if((0,n.Eo)(t))return t;throw new Error(`Invalid entity name ${t}`)}},60341(t,e,r){"use strict";r.d(e,{D:()=>u});var n=r(69031);const i=t=>n.q9.includes(t)?"__"+t:t,o={preserveOrder:!1,attributeNamePrefix:"@_",attributesGroupName:!1,textNodeName:"#text",ignoreAttributes:!0,removeNSPrefix:!1,allowBooleanAttributes:!1,parseTagValue:!0,parseAttributeValue:!1,trimValues:!0,cdataPropName:!1,numberParseOptions:{hex:!0,leadingZeros:!0,eNotation:!0},tagValueProcessor:function(t,e){return e},attributeValueProcessor:function(t,e){return e},stopNodes:[],alwaysCreateTextNode:!1,isArray:()=>!1,commentPropName:!1,unpairedTags:[],processEntities:!0,htmlEntities:!1,entityDecoder:null,ignoreDeclaration:!1,ignorePiTags:!1,transformTagName:!1,transformAttributeName:!1,updateTag:function(t,e,r){return t},captureMetaData:!1,maxNestedTags:100,strictReservedNames:!0,jPath:!0,onDangerousProperty:i};function s(t,e){if("string"!=typeof t)return;const r=t.toLowerCase();if(n.q9.some(t=>r===t.toLowerCase()))throw new Error(`[SECURITY] Invalid ${e}: "${t}" is a reserved JavaScript keyword that could cause prototype pollution`);if(n.vl.some(t=>r===t.toLowerCase()))throw new Error(`[SECURITY] Invalid ${e}: "${t}" is a reserved JavaScript keyword that could cause prototype pollution`)}function a(t,e){return"boolean"==typeof t?{enabled:t,maxEntitySize:1e4,maxExpansionDepth:1e4,maxTotalExpansions:1/0,maxExpandedLength:1e5,maxEntityCount:1e3,allowedTags:null,tagFilter:null,appliesTo:"all"}:"object"==typeof t&&null!==t?{enabled:!1!==t.enabled,maxEntitySize:Math.max(1,t.maxEntitySize??1e4),maxExpansionDepth:Math.max(1,t.maxExpansionDepth??1e4),maxTotalExpansions:Math.max(1,t.maxTotalExpansions??1/0),maxExpandedLength:Math.max(1,t.maxExpandedLength??1e5),maxEntityCount:Math.max(1,t.maxEntityCount??1e3),allowedTags:t.allowedTags??null,tagFilter:t.tagFilter??null,appliesTo:t.appliesTo??"all"}:a(!0)}const u=function(t){const e=Object.assign({},o,t),r=[{value:e.attributeNamePrefix,name:"attributeNamePrefix"},{value:e.attributesGroupName,name:"attributesGroupName"},{value:e.textNodeName,name:"textNodeName"},{value:e.cdataPropName,name:"cdataPropName"},{value:e.commentPropName,name:"commentPropName"}];for(const{value:t,name:e}of r)t&&s(t,e);return null===e.onDangerousProperty&&(e.onDangerousProperty=i),e.processEntities=a(e.processEntities,e.htmlEntities),e.unpairedTagsSet=new Set(e.unpairedTags),e.stopNodes&&Array.isArray(e.stopNodes)&&(e.stopNodes=e.stopNodes.map(t=>"string"==typeof t&&t.startsWith("*.")?".."+t.substring(2):t)),e}},79781(t,e,r){"use strict";r.d(e,{A:()=>g});var n=r(69031),i=r(13127),o=r(25003),s=r(60524),a=r(72984),u=r(87818),l=r(89596),c=r(7692),h=r(56673),p=r(36017);function f(t,e){if(!t)return{};const r=e.attributesGroupName?t[e.attributesGroupName]:t;if(!r)return{};const n={};for(const t in r)t.startsWith(e.attributeNamePrefix)?n[t.substring(e.attributeNamePrefix.length)]=r[t]:n[t]=r[t];return n}function d(t){if(!t||"string"!=typeof t)return;const e=t.indexOf(":");if(-1!==e&&e>0){const r=t.substring(0,e);if("xmlns"!==r)return r}}class g{constructor(t,e){this.options=t,this.currentNode=null,this.tagsNodeStack=[],this.parseXml=w,this.parseTextData=m,this.resolveNameSpace=y,this.buildAttributesMap=v,this.isItStopNode=_,this.replaceEntitiesValue=x,this.readStopNodeData=N,this.saveTextToParentTag=S,this.addChild=E,this.ignoreAttributesFn=(0,a.A)(this.options.ignoreAttributes),this.entityExpansionCount=0,this.currentExpandedLength=0;let r={...p._9};this.options.entityDecoder?this.entityDecoder=this.options.entityDecoder:("object"==typeof this.options.htmlEntities?r=this.options.htmlEntities:!0===this.options.htmlEntities&&(r={...p.KS,...p.UM}),this.entityDecoder=new h.A({namedEntities:{...r,...e},numericAllowed:this.options.htmlEntities,limit:{maxTotalExpansions:this.options.processEntities.maxTotalExpansions,maxExpandedLength:this.options.processEntities.maxExpandedLength,applyLimitsTo:this.options.processEntities.appliesTo}})),this.matcher=new l.A,this.readonlyMatcher=this.matcher.readOnly(),this.isCurrentNodeStopNode=!1,this.stopNodeExpressionsSet=new c.A;const n=this.options.stopNodes;if(n&&n.length>0){for(let t=0;t<n.length;t++){const e=n[t];"string"==typeof e?this.stopNodeExpressionsSet.add(new u.A(e)):e instanceof u.A&&this.stopNodeExpressionsSet.add(e)}this.stopNodeExpressionsSet.seal()}}}function m(t,e,r,n,i,o,s){const a=this.options;if(void 0!==t&&(a.trimValues&&!n&&(t=t.trim()),t.length>0)){s||(t=this.replaceEntitiesValue(t,e,r));const n=a.jPath?r.toString():r,u=a.tagValueProcessor(e,t,n,i,o);return null==u?t:typeof u!=typeof t||u!==t?u:a.trimValues||t.trim()===t?j(t,a.parseTagValue,a.numberParseOptions):t}}function y(t){if(this.options.removeNSPrefix){const e=t.split(":"),r="/"===t.charAt(0)?"/":"";if("xmlns"===e[0])return"";2===e.length&&(t=r+e[1])}return t}const b=new RegExp("([^\\s=]+)\\s*(=\\s*(['\"])([\\s\\S]*?)\\3)?","gm");function v(t,e,r,i=!1){const o=this.options;if(!0===i||!0!==o.ignoreAttributes&&"string"==typeof t){const i=(0,n.Xe)(t,b),s=i.length,a={},u=new Array(s);let l=!1;const c={};for(let t=0;t<s;t++){const e=this.resolveNameSpace(i[t][1]),n=i[t][4];if(e.length&&void 0!==n){let i=n;o.trimValues&&(i=i.trim()),i=this.replaceEntitiesValue(i,r,this.readonlyMatcher),u[t]=i,c[e]=i,l=!0}}l&&"object"==typeof e&&e.updateCurrent&&e.updateCurrent(c);const h=o.jPath?e.toString():this.readonlyMatcher;let p=!1;for(let t=0;t<s;t++){const e=this.resolveNameSpace(i[t][1]);if(this.ignoreAttributesFn(e,h))continue;let r=o.attributeNamePrefix+e;if(e.length)if(o.transformAttributeName&&(r=o.transformAttributeName(r)),r=R(r,o),void 0!==i[t][4]){const n=u[t],i=o.attributeValueProcessor(e,n,h);a[r]=null==i?n:typeof i!=typeof n||i!==n?i:j(n,o.parseAttributeValue,o.numberParseOptions),p=!0}else o.allowBooleanAttributes&&(a[r]=!0,p=!0)}if(!p)return;if(o.attributesGroupName&&!o.preserveOrder){const t={};return t[o.attributesGroupName]=a,t}return a}}const w=function(t){t=t.replace(/\r\n?/g,"\n");const e=new i.A("!xml");let r=e,n="";this.matcher.reset(),this.entityDecoder.reset(),this.entityExpansionCount=0,this.currentExpandedLength=0;const s=this.options,a=new o.A(s.processEntities),u=t.length;for(let o=0;o<u;o++)if("<"===t[o]){const l=t.charCodeAt(o+1);if(47===l){const e=A(t,">",o,"Closing Tag is not closed.");let i=t.substring(o+2,e).trim();if(s.removeNSPrefix){const t=i.indexOf(":");-1!==t&&(i=i.substr(t+1))}i=P(s.transformTagName,i,"",s).tagName,r&&(n=this.saveTextToParentTag(n,r,this.readonlyMatcher));const a=this.matcher.getCurrentTag();if(i&&s.unpairedTagsSet.has(i))throw new Error(`Unpaired tag can not be used as closing tag: </${i}>`);a&&s.unpairedTagsSet.has(a)&&(this.matcher.pop(),this.tagsNodeStack.pop()),this.matcher.pop(),this.isCurrentNodeStopNode=!1,r=this.tagsNodeStack.pop(),n="",o=e}else if(63===l){let e=O(t,o,!1,"?>");if(!e)throw new Error("Pi Tag is not closed.");n=this.saveTextToParentTag(n,r,this.readonlyMatcher);const a=this.buildAttributesMap(e.tagExp,this.matcher,e.tagName,!0);if(a){const t=a[this.options.attributeNamePrefix+"version"];this.entityDecoder.setXmlVersion(Number(t)||1)}if(s.ignoreDeclaration&&"?xml"===e.tagName||s.ignorePiTags);else{const t=new i.A(e.tagName);t.add(s.textNodeName,""),e.tagName!==e.tagExp&&e.attrExpPresent&&!0!==s.ignoreAttributes&&(t[":@"]=a),this.addChild(r,t,this.readonlyMatcher,o)}o=e.closeIndex+1}else if(33===l&&45===t.charCodeAt(o+2)&&45===t.charCodeAt(o+3)){const e=A(t,"--\x3e",o+4,"Comment is not closed.");if(s.commentPropName){const i=t.substring(o+4,e-2);n=this.saveTextToParentTag(n,r,this.readonlyMatcher),r.add(s.commentPropName,[{[s.textNodeName]:i}])}o=e}else if(33===l&&68===t.charCodeAt(o+2)){const e=a.readDocType(t,o);this.entityDecoder.addInputEntities(e.entities),o=e.i}else if(33===l&&91===t.charCodeAt(o+2)){const e=A(t,"]]>",o,"CDATA is not closed.")-2,i=t.substring(o+9,e);n=this.saveTextToParentTag(n,r,this.readonlyMatcher);let a=this.parseTextData(i,r.tagname,this.readonlyMatcher,!0,!1,!0,!0);null==a&&(a=""),s.cdataPropName?r.add(s.cdataPropName,[{[s.textNodeName]:i}]):r.add(s.textNodeName,a),o=e+2}else{let a=O(t,o,s.removeNSPrefix);if(!a){const e=t.substring(Math.max(0,o-50),Math.min(u,o+50));throw new Error(`readTagExp returned undefined at position ${o}. Context: "${e}"`)}let l=a.tagName;const c=a.rawTagName;let h=a.tagExp,p=a.attrExpPresent,g=a.closeIndex;if(({tagName:l,tagExp:h}=P(s.transformTagName,l,h,s)),s.strictReservedNames&&(l===s.commentPropName||l===s.cdataPropName||l===s.textNodeName||l===s.attributesGroupName))throw new Error(`Invalid tag name: ${l}`);r&&n&&"!xml"!==r.tagname&&(n=this.saveTextToParentTag(n,r,this.readonlyMatcher,!1));const m=r;m&&s.unpairedTagsSet.has(m.tagname)&&(r=this.tagsNodeStack.pop(),this.matcher.pop());let y=!1;h.length>0&&h.lastIndexOf("/")===h.length-1&&(y=!0,"/"===l[l.length-1]?(l=l.substr(0,l.length-1),h=l):h=h.substr(0,h.length-1),p=l!==h);let b,v=null,w={};b=d(c),l!==e.tagname&&this.matcher.push(l,{},b),l!==h&&p&&(v=this.buildAttributesMap(h,this.matcher,l),v&&(w=f(v,s))),l!==e.tagname&&(this.isCurrentNodeStopNode=this.isItStopNode());const E=o;if(this.isCurrentNodeStopNode){let e="";if(y)o=a.closeIndex;else if(s.unpairedTagsSet.has(l))o=a.closeIndex;else{const r=this.readStopNodeData(t,c,g+1);if(!r)throw new Error(`Unexpected end of ${c}`);o=r.i,e=r.tagContent}const n=new i.A(l);v&&(n[":@"]=v),n.add(s.textNodeName,e),this.matcher.pop(),this.isCurrentNodeStopNode=!1,this.addChild(r,n,this.readonlyMatcher,E)}else{if(y){({tagName:l,tagExp:h}=P(s.transformTagName,l,h,s));const t=new i.A(l);v&&(t[":@"]=v),this.addChild(r,t,this.readonlyMatcher,E),this.matcher.pop(),this.isCurrentNodeStopNode=!1}else{if(s.unpairedTagsSet.has(l)){const t=new i.A(l);v&&(t[":@"]=v),this.addChild(r,t,this.readonlyMatcher,E),this.matcher.pop(),this.isCurrentNodeStopNode=!1,o=a.closeIndex;continue}{const t=new i.A(l);if(this.tagsNodeStack.length>s.maxNestedTags)throw new Error("Maximum nested tags exceeded");this.tagsNodeStack.push(r),v&&(t[":@"]=v),this.addChild(r,t,this.readonlyMatcher,E),r=t}}n="",o=g}}}else n+=t[o];return e.child};function E(t,e,r,n){this.options.captureMetaData||(n=void 0);const i=this.options.jPath?r.toString():r,o=this.options.updateTag(e.tagname,i,e[":@"]);!1===o||("string"==typeof o?(e.tagname=o,t.addChild(e,n)):t.addChild(e,n))}function x(t,e,r){const n=this.options.processEntities;if(!n||!n.enabled)return t;if(n.allowedTags){const i=this.options.jPath?r.toString():r;if(!(Array.isArray(n.allowedTags)?n.allowedTags.includes(e):n.allowedTags(e,i)))return t}if(n.tagFilter){const i=this.options.jPath?r.toString():r;if(!n.tagFilter(e,i))return t}return this.entityDecoder.decode(t)}function S(t,e,r,n){return t&&(void 0===n&&(n=0===e.child.length),void 0!==(t=this.parseTextData(t,e.tagname,r,!1,!!e[":@"]&&0!==Object.keys(e[":@"]).length,n))&&""!==t&&e.add(this.options.textNodeName,t),t=""),t}function _(){return 0!==this.stopNodeExpressionsSet.size&&this.matcher.matchesAny(this.stopNodeExpressionsSet)}function A(t,e,r,n){const i=t.indexOf(e,r);if(-1===i)throw new Error(n);return i+e.length-1}function T(t,e,r,n){const i=t.indexOf(e,r);if(-1===i)throw new Error(n);return i}function O(t,e,r,n=">"){const i=function(t,e,r=">"){let n=0;const i=t.length,o=r.charCodeAt(0),s=r.length>1?r.charCodeAt(1):-1;let a="",u=e;for(let r=e;r<i;r++){const e=t.charCodeAt(r);if(n)e===n&&(n=0);else if(34===e||39===e)n=e;else if(e===o){if(-1===s)return a+=t.substring(u,r),{data:a,index:r};if(t.charCodeAt(r+1)===s)return a+=t.substring(u,r),{data:a,index:r}}else 9!==e||n||(a+=t.substring(u,r)+" ",u=r+1)}}(t,e+1,n);if(!i)return;let o=i.data;const s=i.index,a=o.search(/\s/);let u=o,l=!0;-1!==a&&(u=o.substring(0,a),o=o.substring(a+1).trimStart());const c=u;if(r){const t=u.indexOf(":");-1!==t&&(u=u.substr(t+1),l=u!==i.data.substr(t+1))}return{tagName:u,tagExp:o,closeIndex:s,attrExpPresent:l,rawTagName:c}}function N(t,e,r){const n=r;let i=1;const o=t.length;for(;r<o;r++)if("<"===t[r]){const o=t.charCodeAt(r+1);if(47===o){const o=T(t,">",r,`${e} is not closed`);if(t.substring(r+2,o).trim()===e&&(i--,0===i))return{tagContent:t.substring(n,r),i:o};r=o}else if(63===o)r=A(t,"?>",r+1,"StopNode is not closed.");else if(33===o&&45===t.charCodeAt(r+2)&&45===t.charCodeAt(r+3))r=A(t,"--\x3e",r+3,"StopNode is not closed.");else if(33===o&&91===t.charCodeAt(r+2))r=A(t,"]]>",r,"StopNode is not closed.")-2;else{const n=O(t,r,!1);n&&((n&&n.tagName)===e&&"/"!==n.tagExp[n.tagExp.length-1]&&i++,r=n.closeIndex)}}}function j(t,e,r){if(e&&"string"==typeof t){const e=t.trim();return"true"===e||"false"!==e&&(0,s.A)(t,r)}return(0,n.yQ)(t)?t:""}function P(t,e,r,n){if(t){const n=t(e);r===e&&(r=n),e=n}return{tagName:e=R(e,n),tagExp:r}}function R(t,e){if(n.vl.includes(t))throw new Error(`[SECURITY] Invalid name: "${t}" is a reserved JavaScript keyword that could cause prototype pollution`);return n.q9.includes(t)?e.onDangerousProperty(t):t}},1912(t,e,r){"use strict";r.d(e,{A:()=>u});var n=r(60341),i=r(79781),o=r(35382),s=r(86301),a=r(13127);class u{constructor(t){this.externalEntities={},this.options=(0,n.D)(t)}parse(t,e){if("string"!=typeof t&&t.toString)t=t.toString();else if("string"!=typeof t)throw new Error("XML data is accepted in String or Bytes[] form.");if(e){!0===e&&(e={});const r=(0,s.t)(t,e);if(!0!==r)throw Error(`${r.err.msg}:${r.err.line}:${r.err.col}`)}const r=new i.A(this.options,this.externalEntities),n=r.parseXml(t);return this.options.preserveOrder||void 0===n?n:(0,o.A)(n,this.options,r.matcher,r.readonlyMatcher)}addEntity(t,e){if(-1!==e.indexOf("&"))throw new Error("Entity value can't have '&'");if(-1!==t.indexOf("&")||-1!==t.indexOf(";"))throw new Error("An entity must be set without '&' and ';'. Eg. use '#xD' for '&#xD;'");if("&"===e)throw new Error("An entity with value '&' is not permitted");this.externalEntities[t]=e}static getMetaDataSymbol(){return a.A.getMetaDataSymbol()}}},35382(t,e,r){"use strict";r.d(e,{A:()=>o});const n=r(13127).A.getMetaDataSymbol();function i(t,e){if(!t||"object"!=typeof t)return{};if(!e)return t;const r={};for(const n in t)n.startsWith(e)?r[n.substring(e.length)]=t[n]:r[n]=t[n];return r}function o(t,e,r,n){return s(t,e,r,n)}function s(t,e,r,o){let c;const h={};for(let p=0;p<t.length;p++){const f=t[p],d=a(f);if(void 0!==d&&d!==e.textNodeName){const t=i(f[":@"]||{},e.attributeNamePrefix);r.push(d,t)}if(d===e.textNodeName)void 0===c?c=f[d]:c+=""+f[d];else{if(void 0===d)continue;if(f[d]){let t=s(f[d],e,r,o);const i=l(t,e);if(0===Object.keys(t).length&&e.alwaysCreateTextNode&&(t[e.textNodeName]=""),f[":@"]?u(t,f[":@"],o,e):1!==Object.keys(t).length||void 0===t[e.textNodeName]||e.alwaysCreateTextNode?0===Object.keys(t).length&&(e.alwaysCreateTextNode?t[e.textNodeName]="":t=""):t=t[e.textNodeName],void 0!==f[n]&&"object"==typeof t&&null!==t&&(t[n]=f[n]),void 0!==h[d]&&Object.prototype.hasOwnProperty.call(h,d))Array.isArray(h[d])||(h[d]=[h[d]]),h[d].push(t);else{const r=e.jPath?o.toString():o;e.isArray(d,r,i)?h[d]=[t]:h[d]=t}void 0!==d&&d!==e.textNodeName&&r.pop()}}}return"string"==typeof c?c.length>0&&(h[e.textNodeName]=c):void 0!==c&&(h[e.textNodeName]=c),h}function a(t){const e=Object.keys(t);for(let t=0;t<e.length;t++){const r=e[t];if(":@"!==r)return r}}function u(t,e,r,n){if(e){const i=Object.keys(e),o=i.length;for(let s=0;s<o;s++){const o=i[s],a=o.startsWith(n.attributeNamePrefix)?o.substring(n.attributeNamePrefix.length):o,u=n.jPath?r.toString()+"."+a:r;n.isArray(o,u,!0,!0)?t[o]=[e[o]]:t[o]=e[o]}}}function l(t,e){const{textNodeName:r}=e,n=Object.keys(t).length;return 0===n||!(1!==n||!t[r]&&"boolean"!=typeof t[r]&&0!==t[r])}},13127(t,e,r){"use strict";let n;r.d(e,{A:()=>i}),n="function"!=typeof Symbol?"@@xmlMetadata":Symbol("XML Node Metadata");class i{constructor(t){this.tagname=t,this.child=[],this[":@"]=Object.create(null)}add(t,e){"__proto__"===t&&(t="#__proto__"),this.child.push({[t]:e})}addChild(t,e){"__proto__"===t.tagname&&(t.tagname="#__proto__"),t[":@"]&&Object.keys(t[":@"]).length>0?this.child.push({[t.tagname]:t.child,":@":t[":@"]}):this.child.push({[t.tagname]:t.child}),void 0!==e&&(this.child[this.child.length-1][n]={startIndex:e})}static getMetaDataSymbol(){return n}}},21657(t,e,r){"use strict";function n(...t){if(0===t.length)throw new Error("Failed creating sequence: No functions provided");return function(...e){let r=e;const n=this;for(;t.length>0;)r=[t.shift().apply(n,r)];return r[0]}}r.d(e,{K:()=>n})},19621(t,e,r){"use strict";r.d(e,{T:()=>a});var n=r(21657);const i="@@HOTPATCHER",o=()=>{};function s(t){return{original:t,methods:[t],final:!1}}class a{constructor(){this._configuration={registry:{},getEmptyAction:"null"},this.__type__=i}get configuration(){return this._configuration}get getEmptyAction(){return this.configuration.getEmptyAction}set getEmptyAction(t){this.configuration.getEmptyAction=t}control(t,e=!1){if(!t||t.__type__!==i)throw new Error("Failed taking control of target HotPatcher instance: Invalid type or object");return Object.keys(t.configuration.registry).forEach(r=>{this.configuration.registry.hasOwnProperty(r)?e&&(this.configuration.registry[r]=Object.assign({},t.configuration.registry[r])):this.configuration.registry[r]=Object.assign({},t.configuration.registry[r])}),t._configuration=this.configuration,this}execute(t,...e){return(this.get(t)||o)(...e)}get(t){const e=this.configuration.registry[t];if(!e)switch(this.getEmptyAction){case"null":return null;case"throw":throw new Error(`Failed handling method request: No method provided for override: ${t}`);default:throw new Error(`Failed handling request which resulted in an empty method: Invalid empty-action specified: ${this.getEmptyAction}`)}return(0,n.K)(...e.methods)}isPatched(t){return!!this.configuration.registry[t]}patch(t,e,r={}){const{chain:n=!1}=r;if(this.configuration.registry[t]&&this.configuration.registry[t].final)throw new Error(`Failed patching '${t}': Method marked as being final`);if("function"!=typeof e)throw new Error(`Failed patching '${t}': Provided method is not a function`);if(n)this.configuration.registry[t]?this.configuration.registry[t].methods.push(e):this.configuration.registry[t]=s(e);else if(this.isPatched(t)){const{original:r}=this.configuration.registry[t];this.configuration.registry[t]=Object.assign(s(e),{original:r})}else this.configuration.registry[t]=s(e);return this}patchInline(t,e,...r){return this.isPatched(t)||this.patch(t,e),this.execute(t,...r)}plugin(t,...e){return e.forEach(e=>{this.patch(t,e,{chain:!0})}),this}restore(t){if(!this.isPatched(t))throw new Error(`Failed restoring method: No method present for key: ${t}`);if("function"!=typeof this.configuration.registry[t].original)throw new Error(`Failed restoring method: Original method not found or of invalid type for key: ${t}`);return this.configuration.registry[t].methods=[this.configuration.registry[t].original],this}setFinal(t){if(!this.configuration.registry.hasOwnProperty(t))throw new Error(`Failed marking '${t}' as final: No method found for key`);return this.configuration.registry[t].final=!0,this}}},93028(t,e,r){"use strict";function n(t){if(!i(t))throw new Error("Parameter was not an error")}function i(t){return!!t&&"object"==typeof t&&"[object Error]"===(e=t,Object.prototype.toString.call(e))||t instanceof Error;var e}r.d(e,{b:()=>i,t:()=>n})},11163(t,e,r){"use strict";r.d(e,{z:()=>n});function n(){return"Layerr"}},42294(t,e,r){"use strict";r.d(e,{GU:()=>n.G});var n=r(17601)},17601(t,e,r){"use strict";r.d(e,{G:()=>s});var n=r(93028),i=r(11163),o=r(78049);class s extends Error{constructor(t,e){const r=[...arguments],{options:n,shortMessage:s}=(0,o.W)(r);let a=s;if(n.cause&&(a=`${a}: ${n.cause.message}`),super(a),this.message=a,n.name&&"string"==typeof n.name?this.name=n.name:this.name=(0,i.z)(),n.cause&&Object.defineProperty(this,"_cause",{value:n.cause}),Object.defineProperty(this,"_info",{value:{}}),n.info&&"object"==typeof n.info&&Object.assign(this._info,n.info),Error.captureStackTrace){const t=n.constructorOpt||this.constructor;Error.captureStackTrace(this,t)}}static cause(t){return(0,n.t)(t),t._cause&&(0,n.b)(t._cause)?t._cause:null}static fullStack(t){(0,n.t)(t);const e=s.cause(t);return e?`${t.stack}\ncaused by: ${s.fullStack(e)}`:t.stack??""}static info(t){(0,n.t)(t);const e={},r=s.cause(t);return r&&Object.assign(e,s.info(r)),t._info&&Object.assign(e,t._info),e}toString(){let t=this.name||this.constructor.name||this.constructor.prototype.name;return this.message&&(t=`${t}: ${this.message}`),t}}},78049(t,e,r){"use strict";r.d(e,{W:()=>i});var n=r(93028);function i(t){let e,r="";if(0===t.length)e={};else if((0,n.b)(t[0]))e={cause:t[0]},r=t.slice(1).join(" ")||"";else if(t[0]&&"object"==typeof t[0])e=Object.assign({},t[0]),r=t.slice(1).join(" ")||"";else{if("string"!=typeof t[0])throw new Error("Invalid arguments passed to Layerr");e={},r=r=t.join(" ")||""}return{options:e,shortMessage:r}}},87818(t,e,r){"use strict";r.d(e,{A:()=>n});class n{constructor(t,e={},r){this.pattern=t,this.separator=e.separator||".",this.segments=this._parse(t),this.data=r,this._hasDeepWildcard=this.segments.some(t=>"deep-wildcard"===t.type),this._hasAttributeCondition=this.segments.some(t=>void 0!==t.attrName),this._hasPositionSelector=this.segments.some(t=>void 0!==t.position)}_parse(t){const e=[];let r=0,n="";for(;r<t.length;)t[r]===this.separator?r+1<t.length&&t[r+1]===this.separator?(n.trim()&&(e.push(this._parseSegment(n.trim())),n=""),e.push({type:"deep-wildcard"}),r+=2):(n.trim()&&e.push(this._parseSegment(n.trim())),n="",r++):(n+=t[r],r++);return n.trim()&&e.push(this._parseSegment(n.trim())),e}_parseSegment(t){const e={type:"tag"};let r=null,n=t;const i=t.match(/^([^\[]+)(\[[^\]]*\])(.*)$/);if(i&&(n=i[1]+i[3],i[2])){const t=i[2].slice(1,-1);t&&(r=t)}let o,s,a=n;if(n.includes("::")){const e=n.indexOf("::");if(o=n.substring(0,e).trim(),a=n.substring(e+2).trim(),!o)throw new Error(`Invalid namespace in pattern: ${t}`)}let u=null;if(a.includes(":")){const t=a.lastIndexOf(":"),e=a.substring(0,t).trim(),r=a.substring(t+1).trim();["first","last","odd","even"].includes(r)||/^nth\(\d+\)$/.test(r)?(s=e,u=r):s=a}else s=a;if(!s)throw new Error(`Invalid segment pattern: ${t}`);if(e.tag=s,o&&(e.namespace=o),r)if(r.includes("=")){const t=r.indexOf("=");e.attrName=r.substring(0,t).trim(),e.attrValue=r.substring(t+1).trim()}else e.attrName=r.trim();if(u){const t=u.match(/^nth\((\d+)\)$/);t?(e.position="nth",e.positionValue=parseInt(t[1],10)):e.position=u}return e}get length(){return this.segments.length}hasDeepWildcard(){return this._hasDeepWildcard}hasAttributeCondition(){return this._hasAttributeCondition}hasPositionSelector(){return this._hasPositionSelector}toString(){return this.pattern}}},7692(t,e,r){"use strict";r.d(e,{A:()=>n});class n{constructor(){this._byDepthAndTag=new Map,this._wildcardByDepth=new Map,this._deepWildcards=[],this._patterns=new Set,this._sealed=!1}add(t){if(this._sealed)throw new TypeError("ExpressionSet is sealed. Create a new ExpressionSet to add more expressions.");if(this._patterns.has(t.pattern))return this;if(this._patterns.add(t.pattern),t.hasDeepWildcard())return this._deepWildcards.push(t),this;const e=t.length,r=t.segments[t.segments.length-1],n=r?.tag;if(n&&"*"!==n){const r=`${e}:${n}`;this._byDepthAndTag.has(r)||this._byDepthAndTag.set(r,[]),this._byDepthAndTag.get(r).push(t)}else this._wildcardByDepth.has(e)||this._wildcardByDepth.set(e,[]),this._wildcardByDepth.get(e).push(t);return this}addAll(t){for(const e of t)this.add(e);return this}has(t){return this._patterns.has(t.pattern)}get size(){return this._patterns.size}seal(){return this._sealed=!0,this}get isSealed(){return this._sealed}matchesAny(t){return null!==this.findMatch(t)}findMatch(t){const e=t.getDepth(),r=`${e}:${t.getCurrentTag()}`,n=this._byDepthAndTag.get(r);if(n)for(let e=0;e<n.length;e++)if(t.matches(n[e]))return n[e];const i=this._wildcardByDepth.get(e);if(i)for(let e=0;e<i.length;e++)if(t.matches(i[e]))return i[e];for(let e=0;e<this._deepWildcards.length;e++)if(t.matches(this._deepWildcards[e]))return this._deepWildcards[e];return null}}},89596(t,e,r){"use strict";r.d(e,{A:()=>i});class n{constructor(t){this._matcher=t}get separator(){return this._matcher.separator}getCurrentTag(){const t=this._matcher.path;return t.length>0?t[t.length-1].tag:void 0}getCurrentNamespace(){const t=this._matcher.path;return t.length>0?t[t.length-1].namespace:void 0}getAttrValue(t){const e=this._matcher.path;if(0!==e.length)return e[e.length-1].values?.[t]}hasAttr(t){const e=this._matcher.path;if(0===e.length)return!1;const r=e[e.length-1];return void 0!==r.values&&t in r.values}getPosition(){const t=this._matcher.path;return 0===t.length?-1:t[t.length-1].position??0}getCounter(){const t=this._matcher.path;return 0===t.length?-1:t[t.length-1].counter??0}getIndex(){return this.getPosition()}getDepth(){return this._matcher.path.length}toString(t,e=!0){return this._matcher.toString(t,e)}toArray(){return this._matcher.path.map(t=>t.tag)}matches(t){return this._matcher.matches(t)}matchesAny(t){return t.matchesAny(this._matcher)}}class i{constructor(t={}){this.separator=t.separator||".",this.path=[],this.siblingStacks=[],this._pathStringCache=null,this._view=new n(this)}push(t,e=null,r=null){this._pathStringCache=null,this.path.length>0&&(this.path[this.path.length-1].values=void 0);const n=this.path.length;this.siblingStacks[n]||(this.siblingStacks[n]=new Map);const i=this.siblingStacks[n],o=r?`${r}:${t}`:t,s=i.get(o)||0;let a=0;for(const t of i.values())a+=t;i.set(o,s+1);const u={tag:t,position:a,counter:s};null!=r&&(u.namespace=r),null!=e&&(u.values=e),this.path.push(u)}pop(){if(0===this.path.length)return;this._pathStringCache=null;const t=this.path.pop();return this.siblingStacks.length>this.path.length+1&&(this.siblingStacks.length=this.path.length+1),t}updateCurrent(t){if(this.path.length>0){const e=this.path[this.path.length-1];null!=t&&(e.values=t)}}getCurrentTag(){return this.path.length>0?this.path[this.path.length-1].tag:void 0}getCurrentNamespace(){return this.path.length>0?this.path[this.path.length-1].namespace:void 0}getAttrValue(t){if(0!==this.path.length)return this.path[this.path.length-1].values?.[t]}hasAttr(t){if(0===this.path.length)return!1;const e=this.path[this.path.length-1];return void 0!==e.values&&t in e.values}getPosition(){return 0===this.path.length?-1:this.path[this.path.length-1].position??0}getCounter(){return 0===this.path.length?-1:this.path[this.path.length-1].counter??0}getIndex(){return this.getPosition()}getDepth(){return this.path.length}toString(t,e=!0){const r=t||this.separator;if(r===this.separator&&!0===e){if(null!==this._pathStringCache)return this._pathStringCache;const t=this.path.map(t=>t.namespace?`${t.namespace}:${t.tag}`:t.tag).join(r);return this._pathStringCache=t,t}return this.path.map(t=>e&&t.namespace?`${t.namespace}:${t.tag}`:t.tag).join(r)}toArray(){return this.path.map(t=>t.tag)}reset(){this._pathStringCache=null,this.path=[],this.siblingStacks=[]}matches(t){const e=t.segments;return 0!==e.length&&(t.hasDeepWildcard()?this._matchWithDeepWildcard(e):this._matchSimple(e))}_matchSimple(t){if(this.path.length!==t.length)return!1;for(let e=0;e<t.length;e++)if(!this._matchSegment(t[e],this.path[e],e===this.path.length-1))return!1;return!0}_matchWithDeepWildcard(t){let e=this.path.length-1,r=t.length-1;for(;r>=0&&e>=0;){const n=t[r];if("deep-wildcard"===n.type){if(r--,r<0)return!0;const n=t[r];let i=!1;for(let t=e;t>=0;t--)if(this._matchSegment(n,this.path[t],t===this.path.length-1)){e=t-1,r--,i=!0;break}if(!i)return!1}else{if(!this._matchSegment(n,this.path[e],e===this.path.length-1))return!1;e--,r--}}return r<0}_matchSegment(t,e,r){if("*"!==t.tag&&t.tag!==e.tag)return!1;if(void 0!==t.namespace&&"*"!==t.namespace&&t.namespace!==e.namespace)return!1;if(void 0!==t.attrName){if(!r)return!1;if(!e.values||!(t.attrName in e.values))return!1;if(void 0!==t.attrValue&&String(e.values[t.attrName])!==String(t.attrValue))return!1}if(void 0!==t.position){if(!r)return!1;const n=e.counter??0;if("first"===t.position&&0!==n)return!1;if("odd"===t.position&&n%2!=1)return!1;if("even"===t.position&&n%2!=0)return!1;if("nth"===t.position&&n!==t.positionValue)return!1}return!0}matchesAny(t){return t.matchesAny(this)}snapshot(){return{path:this.path.map(t=>({...t})),siblingStacks:this.siblingStacks.map(t=>new Map(t))}}restore(t){this._pathStringCache=null,this.path=t.path.map(t=>({...t})),this.siblingStacks=t.siblingStacks.map(t=>new Map(t))}readOnly(){return this._view}}},60524(t,e,r){"use strict";r.d(e,{A:()=>u});const n=/^[-+]?0x[a-fA-F0-9]+$/,i=/^0b[01]+$/,o=/^0o[0-7]+$/,s=/^([\-\+])?(0*)([0-9]*(\.[0-9]*)?)$/,a={hex:!0,binary:!1,octal:!1,leadingZeros:!0,decimalPoint:".",eNotation:!0,infinity:"original"};function u(t,e={}){if(e=Object.assign({},a,e),!t||"string"!=typeof t)return t;let r=t.trim();if(0===r.length)return t;if(void 0!==e.skipLike&&e.skipLike.test(r))return t;if("0"===r)return 0;if(e.hex&&n.test(r))return c(r,16);if(e.binary&&i.test(r))return c(r,2);if(e.octal&&o.test(r))return c(r,8);if(isFinite(r)){if(r.includes("e")||r.includes("E"))return function(t,e,r){if(!r.eNotation)return t;const n=e.match(l);if(n){let i=n[1]||"";const o=-1===n[3].indexOf("e")?"E":"e",s=n[2],a=i?t[s.length+1]===o:t[s.length]===o;return s.length>1&&a?t:(1!==s.length||!n[3].startsWith(`.${o}`)&&n[3][0]!==o)&&s.length>0?r.leadingZeros&&!a?(e=(n[1]||"")+n[3],Number(e)):t:Number(e)}return t}(t,r,e);{const n=s.exec(r);if(n){const i=n[1]||"",o=n[2];let s=(u=n[3])&&-1!==u.indexOf(".")?("."===(u=u.replace(/0+$/,""))?u="0":"."===u[0]?u="0"+u:"."===u[u.length-1]&&(u=u.substring(0,u.length-1)),u):u;const a=i?"."===t[o.length+1]:"."===t[o.length];if(!e.leadingZeros&&(o.length>1||1===o.length&&!a))return t;{const n=Number(r),a=String(n);if(0===n)return n;if(-1!==a.search(/[eE]/))return e.eNotation?n:t;if(-1!==r.indexOf("."))return"0"===a||a===s||a===`${i}${s}`?n:t;let u=o?s:r;return o?u===a||i+u===a?n:t:u===a||u===i+a?n:t}}return t}}var u;return function(t,e,r){const n=e===1/0;switch(r.infinity.toLowerCase()){case"null":return null;case"infinity":return e;case"string":return n?"Infinity":"-Infinity";default:return t}}(t,Number(r),e)}const l=/^([-+])?(0*)(\d*(\.\d*)?[eE][-\+]?\d+)$/;function c(t,e){const r=t.trim();if(2!==e&&8!==e||(t=r.substring(2)),parseInt)return parseInt(t,e);if(Number.parseInt)return Number.parseInt(t,e);if(window&&window.parseInt)return window.parseInt(t,e);throw new Error("parseInt, Number.parseInt, window.parseInt are not supported")}},406(t,e,r){"use strict";function n(){return function(t){var e=[];if(0===t.length)return"";if("string"!=typeof t[0])throw new TypeError("Url must be a string. Received "+t[0]);if(t[0].match(/^[^/:]+:\/*$/)&&t.length>1){var r=t.shift();t[0]=r+t[0]}t[0].match(/^file:\/\/\//)?t[0]=t[0].replace(/^([^/:]+):\/*/,"$1:///"):t[0]=t[0].replace(/^([^/:]+):\/*/,"$1://");for(var n=0;n<t.length;n++){var i=t[n];if("string"!=typeof i)throw new TypeError("Url must be a string. Received "+i);""!==i&&(n>0&&(i=i.replace(/^[\/]+/,"")),i=n<t.length-1?i.replace(/[\/]+$/,""):i.replace(/[\/]+$/,"/"),e.push(i))}var o=e.join("/"),s=(o=o.replace(/\/(\?|&|#[^!])/g,"$1")).split("?");return s.shift()+(s.length>0?"?":"")+s.join("&")}("object"==typeof arguments[0]?arguments[0]:[].slice.call(arguments))}r.d(e,{A:()=>n})},19396(t,e,r){"use strict";r.d(e,{V:()=>i});var n=r(57221);function i(t,e){return`Basic ${(0,n.nk)(`${t}:${e}`)}`}},90036(t,e,r){"use strict";r.d(e,{C8:()=>o,Wb:()=>a,XX:()=>s,oD:()=>u});var n=r(83503),i=r(35658);function o(t,e,r){return{username:t,password:e,ha1:r,nc:0,algorithm:"md5",hasDigestAuth:!1}}function s(t,e){const r=t.url.replace("//",""),o=-1==r.indexOf("/")?"/":r.slice(r.indexOf("/")),s=t.method?t.method.toUpperCase():"GET",a=!!/(^|,)\s*auth\s*($|,)/.test(e.qop)&&"auth",u=`00000000${e.nc}`.slice(-8),l=(0,i.M)(e.algorithm,e.username,e.realm,e.password,e.nonce,e.cnonce,e.ha1),c=n(`${s}:${o}`),h=n(a?`${l}:${e.nonce}:${u}:${e.cnonce}:${a}:${c}`:`${l}:${e.nonce}:${c}`),p={username:e.username,realm:e.realm,nonce:e.nonce,uri:o,qop:a,response:h,nc:u,cnonce:e.cnonce,algorithm:e.algorithm,opaque:e.opaque},f=[];for(const t in p)p[t]&&("qop"===t||"nc"===t||"algorithm"===t?f.push(`${t}=${p[t]}`):f.push(`${t}="${p[t]}"`));return`Digest ${f.join(", ")}`}function a(t,e){if(!u(t))return!1;const r=/([a-z0-9_-]+)=(?:"([^"]+)"|([a-z0-9_-]+))/gi;for(;;){const n=t.headers&&t.headers.get("www-authenticate")||"",i=r.exec(n);if(!i)break;e[i[1]]=i[2]||i[3]}return e.nc+=1,e.cnonce=function(){let t="";for(let e=0;e<32;++e)t=`${t}${"abcdef0123456789"[Math.floor(16*Math.random())]}`;return t}(),!0}function u(t){return"digest"===(t.headers&&t.headers.get("www-authenticate")||"").split(/\s/)[0].toLowerCase()}},36942(t,e,r){"use strict";r.d(e,{e:()=>u});var n=r(42294),i=r(90036),o=r(19396),s=r(89793),a=r(38374);function u(t,e,r,u,l){switch(t.authType){case a.hT.Auto:e&&r&&(t.headers.Authorization=(0,o.V)(e,r));break;case a.hT.Digest:t.digest=(0,i.C8)(e,r,l);break;case a.hT.None:break;case a.hT.Password:t.headers.Authorization=(0,o.V)(e,r);break;case a.hT.Token:t.headers.Authorization=(0,s.O)(u);break;default:throw new n.GU({info:{code:a.O4.InvalidAuthType}},`Invalid auth type: ${t.authType}`)}}},89793(t,e,r){"use strict";function n(t){return`${t.token_type} ${t.access_token}`}r.d(e,{O:()=>n})},47397(t,e,r){"use strict";r.d(e,{m:()=>o});const n="function"==typeof ArrayBuffer,{toString:i}=Object.prototype;function o(t){return n&&(t instanceof ArrayBuffer||"[object ArrayBuffer]"===i.call(t))}},53850(t,e,r){"use strict";function n(t){return null!=t&&null!=t.constructor&&"function"==typeof t.constructor.isBuffer&&t.constructor.isBuffer(t)}r.d(e,{P:()=>n})},22921(t,e,r){"use strict";function n(){return"string"==typeof TARGET&&"react-native"===TARGET}function i(){return"string"==typeof TARGET&&"web"===TARGET}r.d(e,{H:()=>i,l:()=>n})},84819(t,e,r){"use strict";r.d(e,{G:()=>o});var n=r(19621);let i=null;function o(){return i||(i=new n.T),i}},84997(t,e,r){"use strict";r.d(e,{U:()=>_});var n=r(85394),i=r(36942),o=r(50335),s=r(28161),a=r(68476),u=r(76374),l=r(77101),c=r(75892),h=r(74419),p=r(17658),f=r(39615),d=r(86772),g=r(84830),m=r(80156),y=r(77087),b=r(30047),v=r(81838),w=r(10524),E=r(90176),x=r(38374);const S="https://github.com/perry-mitchell/webdav-client/blob/master/LOCK_CONTACT.md";function _(t,e={}){const{authType:r=null,remoteBasePath:_,contactHref:A=S,entityDecoder:T,ha1:O,headers:N={},httpAgent:j,httpsAgent:P,password:R,token:C,username:k,withCredentials:M}=e;let I=r;I||(I=k||R?x.hT.Password:x.hT.None);const L={authType:I,remoteBasePath:_,contactHref:A,ha1:O,headers:Object.assign({},N),httpAgent:j,httpsAgent:P,password:R,parsing:{attributeNamePrefix:e.attributeNamePrefix??"@",attributeParsers:[],entityDecoder:T,tagParsers:[E.jp]},remotePath:(0,n.wB)(t),remoteURL:t,token:C,username:k,withCredentials:M};return(0,i.e)(L,k,R,C,O),{copyFile:(t,e,r)=>(0,o.m)(L,t,e,r),createDirectory:(t,e)=>(0,s.c)(L,t,e),createReadStream:(t,e)=>(0,a.V)(L,t,e),createWriteStream:(t,e,r)=>(0,a.o)(L,t,e,r),customRequest:(t,e)=>(0,u.J)(L,t,e),deleteFile:(t,e)=>(0,l.W)(L,t,e),exists:(t,e)=>(0,c.t)(L,t,e),getDirectoryContents:(t,e)=>(0,h.A)(L,t,e),getFileContents:(t,e)=>(0,p.F)(L,t,e),getFileDownloadLink:t=>(0,p.b)(L,t),getFileUploadLink:t=>(0,b.w)(L,t),getHeaders:()=>Object.assign({},L.headers),getQuota:t=>(0,d.T)(L,t),lock:(t,e)=>(0,f.s)(L,t,e),moveFile:(t,e,r)=>(0,y.m)(L,t,e,r),putFileContents:(t,e,r)=>(0,b.g)(L,t,e,r),partialUpdateFileContents:(t,e,r,n,i)=>(0,v.V)(L,t,e,r,n,i),getDAVCompliance:t=>(0,w.p)(L,t),search:(t,e)=>(0,m.T)(L,t,e),setHeaders:t=>{L.headers=Object.assign({},t)},stat:(t,e)=>(0,g.z)(L,t,e),unlock:(t,e,r)=>(0,f.T)(L,t,e,r),registerAttributeParser:t=>{L.parsing.attributeParsers.push(t)},registerTagParser:t=>{L.parsing.tagParsers.push(t)}}}},82415(t,e,r){"use strict";r.d(e,{UU:()=>n.U,h4:()=>i.h4});var n=r(84997),i=(r(38374),r(90176));r(71922),r(5e3)},50335(t,e,r){"use strict";r.d(e,{m:()=>a});var n=r(85394),i=r(36236),o=r(89062),s=r(5e3);async function a(t,e,r,a={}){const u=(0,o.H)({url:(0,n.oq)(t.remoteURL,(0,i.O0)(e)),method:"COPY",headers:{Destination:(0,n.oq)(t.remoteURL,(0,i.O0)(r)),Overwrite:!1===a.overwrite?"F":"T",Depth:a.shallow?"0":"infinity"}},t,a),l=await(0,o.E)(u,t);(0,s.HT)(t,l)}},28161(t,e,r){"use strict";r.d(e,{c:()=>u});var n=r(85394),i=r(36236),o=r(89062),s=r(5e3),a=r(84830);async function u(t,e,r={}){if(!0===r.recursive)return async function(t,e,r={}){const n=(0,i.xi)((0,i.qb)(e));n.sort((t,e)=>t.length>e.length?1:e.length>t.length?-1:0);let o=!1;for(const i of n)if(o)await u(t,i,{...r,recursive:!1});else try{if("directory"!==(await(0,a.z)(t,i)).type)throw new Error(`Path includes a file: ${e}`)}catch(e){if(404!==e.status)throw e;o=!0,await u(t,i,{...r,recursive:!1})}}(t,e,r);const l=(0,o.H)({url:(0,n.oq)(t.remoteURL,(h=(0,i.O0)(e),h.endsWith("/")?h:h+"/")),method:"MKCOL"},t,r),c=await(0,o.E)(l,t);var h;(0,s.HT)(t,c)}},68476(t,e,r){"use strict";r.d(e,{V:()=>l,o:()=>c});var n=r(88310),i=r(85394),o=r(36236),s=r(89062),a=r(5e3);const u=()=>{};function l(t,e,r={}){const u=new(0,n.PassThrough);return async function(t,e,r={}){const n={};if("object"==typeof r.range&&"number"==typeof r.range.start){let t=`bytes=${r.range.start}-`;"number"==typeof r.range.end&&(t=`${t}${r.range.end}`),n.Range=t}const u=(0,s.H)({url:(0,i.oq)(t.remoteURL,(0,o.O0)(e)),method:"GET",headers:n},t,r),l=await(0,s.E)(u,t);if((0,a.HT)(t,l),n.Range&&206!==l.status){const t=new Error(`Invalid response code for partial request: ${l.status}`);throw t.status=l.status,t}return r.callback&&setTimeout(()=>{r.callback(l)},0),l.body}(t,e,r).then(t=>{t.pipe(u)}).catch(t=>{u.emit("error",t)}),u}function c(t,e,r={},l=u){const c=new(0,n.PassThrough),h={};!1===r.overwrite&&(h["If-None-Match"]="*");const p=(0,s.H)({url:(0,i.oq)(t.remoteURL,(0,o.O0)(e)),method:"PUT",headers:h,data:c,maxRedirects:0},t,r);return(0,s.E)(p,t).then(e=>(0,a.HT)(t,e)).then(t=>{setTimeout(()=>{l(t)},0)}).catch(t=>{c.emit("error",t)}),c}},76374(t,e,r){"use strict";r.d(e,{J:()=>a});var n=r(85394),i=r(36236),o=r(89062),s=r(5e3);async function a(t,e,r){r.url||(r.url=(0,n.oq)(t.remoteURL,(0,i.O0)(e)));const a=(0,o.H)(r,t,{}),u=await(0,o.E)(a,t);return(0,s.HT)(t,u),u}},77101(t,e,r){"use strict";r.d(e,{W:()=>a});var n=r(85394),i=r(36236),o=r(89062),s=r(5e3);async function a(t,e,r={}){const a=(0,o.H)({url:(0,n.oq)(t.remoteURL,(0,i.O0)(e)),method:"DELETE"},t,r),u=await(0,o.E)(a,t);(0,s.HT)(t,u)}},74419(t,e,r){"use strict";r.d(e,{A:()=>l});var n=r(12692),i=r(85394),o=r(36236),s=r(90176),a=r(89062),u=r(5e3);async function l(t,e,r={}){const l=(0,a.H)({url:(0,i.oq)(t.remoteURL,(0,o.O0)(e),"/"),method:"PROPFIND",headers:{Accept:"text/plain,application/xml",Depth:r.deep?"infinity":"1"}},t,r),c=await(0,a.E)(l,t);(0,u.HT)(t,c);const h=await c.text();if(!h)throw new Error("Failed parsing directory contents: Empty response");const p=await(0,s.h4)(h,t.parsing),f=(0,o.dU)(e);let d=function(t,e,r,a=!1,u=!1){const l=n.join(e,"/"),{multistatus:{response:c}}=t,h=c.map(t=>{const e=(0,i.S8)(t.href),{propstat:{prop:r}}=t,u="/"===l?decodeURIComponent((0,o.qb)(e)):(0,o.qb)(n.relative(decodeURIComponent(l),decodeURIComponent(e)));return(0,s.ch)(r,u,a)});return u?h:h.filter(t=>t.basename&&("file"===t.type||t.filename!==r.replace(/\/$/,"")))}(p,(0,o.dU)(t.remoteBasePath||t.remotePath),f,r.details,r.includeSelf);return r.glob&&(d=(0,u.eh)(d,r.glob)),(0,u.hq)(c,d,r.details)}},75892(t,e,r){"use strict";r.d(e,{t:()=>i});var n=r(84830);async function i(t,e,r={}){try{return await(0,n.z)(t,e,r),!0}catch(t){if(404===t.status)return!1;throw t}}},10524(t,e,r){"use strict";r.d(e,{p:()=>a});var n=r(85394),i=r(36236),o=r(89062),s=r(5e3);async function a(t,e,r={}){const a=(0,o.H)({url:(0,n.oq)(t.remoteURL,(0,i.O0)(e)),method:"OPTIONS"},t,r),u=await(0,o.E)(a,t);try{(0,s.HT)(t,u)}catch(t){throw t}return{compliance:(u.headers.get("DAV")??"").split(",").map(t=>t.trim()),server:u.headers.get("Server")??""}}},17658(t,e,r){"use strict";r.d(e,{F:()=>f,b:()=>d});var n=r(42294),i=r(85394),o=r(36236),s=r(57221),a=r(22921),u=r(89062),l=r(5e3),c=r(38374),h=r(62045).hp;const p=t=>t;async function f(t,e,r={}){const{format:s="binary"}=r;if("binary"!==s&&"text"!==s)throw new n.GU({info:{code:c.O4.InvalidOutputFormat}},`Invalid output format: ${s}`);return"text"===s?async function(t,e,r={}){const n=(0,u.H)({url:(0,i.oq)(t.remoteURL,(0,o.O0)(e)),method:"GET",headers:{Accept:"text/plain"},transformResponse:[p]},t,r),s=await(0,u.E)(n,t);(0,l.HT)(t,s);const a=await s.text();return(0,l.hq)(s,a,r.details)}(t,e,r):async function(t,e,r={}){const n=(0,u.H)({url:(0,i.oq)(t.remoteURL,(0,o.O0)(e)),method:"GET"},t,r),s=await(0,u.E)(n,t);let c;return(0,l.HT)(t,s),c=(0,a.H)()||(0,a.l)()?await s.arrayBuffer():h.from(await s.arrayBuffer()),(0,l.hq)(s,c,r.details)}(t,e,r)}function d(t,e){let r=(0,i.oq)(t.remoteURL,(0,o.O0)(e));const a=/^https:/i.test(r)?"https":"http";switch(t.authType){case c.hT.None:break;case c.hT.Password:{const e=t.headers.Authorization.replace(/^Basic /i,"").trim(),n=(0,s.Ey)(e);r=r.replace(/^https?:\/\//,`${a}://${n}@`);break}default:throw new n.GU({info:{code:c.O4.LinkUnsupportedAuthType}},`Unsupported auth type for file link: ${t.authType}`)}return r}},86772(t,e,r){"use strict";r.d(e,{T:()=>u});var n=r(89062),i=r(5e3),o=r(90176),s=r(85394),a=r(7815);async function u(t,e={}){const r=e.path||"/",u=(0,n.H)({url:(0,s.oq)(t.remoteURL,r),method:"PROPFIND",headers:{Accept:"text/plain,application/xml",Depth:"0"}},t,e),l=await(0,n.E)(u,t);(0,i.HT)(t,l);const c=await l.text(),h=await(0,o.h4)(c,t.parsing),p=(0,a.K)(h);return(0,i.hq)(l,p,e.details)}},39615(t,e,r){"use strict";r.d(e,{T:()=>h,s:()=>c});var n=r(26602),i=r(85394),o=r(36236),s=r(27562),a=r(89062),u=r(5e3);const l="Infinite, Second-4100000000";async function c(t,e,r={}){const{refreshToken:c,timeout:h=l}=r,p={Accept:"text/plain,application/xml",Timeout:h};c&&(p.If=c);const f=(0,a.H)({url:(0,i.oq)(t.remoteURL,(0,o.O0)(e)),method:"LOCK",headers:p,data:(0,s.A)(t.contactHref)},t,r),d=await(0,a.E)(f,t);(0,u.HT)(t,d);const g=await d.text(),m=(0,s.o)(g),y=n.get(m,"prop.lockdiscovery.activelock.locktoken.href"),b=n.get(m,"prop.lockdiscovery.activelock.timeout");if(!y)throw(0,u.YQ)(d,"No lock token received: ");return{token:y,serverTimeout:b}}async function h(t,e,r,n={}){const s=(0,a.H)({url:(0,i.oq)(t.remoteURL,(0,o.O0)(e)),method:"UNLOCK",headers:{"Lock-Token":r}},t,n),l=await(0,a.E)(s,t);if((0,u.HT)(t,l),204!==l.status&&200!==l.status)throw(0,u.YQ)(l)}},77087(t,e,r){"use strict";r.d(e,{m:()=>a});var n=r(85394),i=r(36236),o=r(89062),s=r(5e3);async function a(t,e,r,a={}){const u=(0,o.H)({url:(0,n.oq)(t.remoteURL,(0,i.O0)(e)),method:"MOVE",headers:{Destination:(0,n.oq)(t.remoteURL,(0,i.O0)(r)),Overwrite:!1===a.overwrite?"F":"T"}},t,a),l=await(0,o.E)(u,t);(0,s.HT)(t,l)}},81838(t,e,r){"use strict";r.d(e,{V:()=>c});var n=r(42294),i=r(85394),o=r(36236),s=r(89062),a=r(5e3),u=r(10524),l=r(38374);async function c(t,e,r,c,h,p={}){const f=await(0,u.p)(t,e,p);if(f.compliance.includes("sabredav-partialupdate"))return await async function(t,e,r,u,c,h={}){if(r>u||r<0)throw new n.GU({info:{code:l.O4.InvalidUpdateRange}},`Invalid update range ${r} for partial update`);const p={"Content-Type":"application/x-sabredav-partialupdate","Content-Length":""+(u-r+1),"X-Update-Range":`bytes=${r}-${u}`},f=(0,s.H)({url:(0,i.oq)(t.remoteURL,(0,o.O0)(e)),method:"PATCH",headers:p,data:c},t,h),d=await(0,s.E)(f,t);(0,a.HT)(t,d)}(t,e,r,c,h,p);if(f.server.includes("Apache")&&f.compliance.includes("<http://apache.org/dav/propset/fs/1>"))return await async function(t,e,r,u,c,h={}){if(r>u||r<0)throw new n.GU({info:{code:l.O4.InvalidUpdateRange}},`Invalid update range ${r} for partial update`);const p={"Content-Type":"application/octet-stream","Content-Length":""+(u-r+1),"Content-Range":`bytes ${r}-${u}/*`},f=(0,s.H)({url:(0,i.oq)(t.remoteURL,(0,o.O0)(e)),method:"PUT",headers:p,data:c},t,h),d=await(0,s.E)(f,t);(0,a.HT)(t,d)}(t,e,r,c,h,p);throw new n.GU({info:{code:l.O4.NotSupported}},"Not supported")}},30047(t,e,r){"use strict";r.d(e,{g:()=>f,w:()=>d});var n=r(42294),i=r(88310),o=r(57221),s=r(85394),a=r(36236),u=r(71922),l=r(22921),c=r(89062),h=r(5e3),p=r(38374);async function f(t,e,r,n={}){const{contentLength:o=!0,overwrite:p=!0}=n,f={"Content-Type":"application/octet-stream"};!(0,l.H)()&&!(0,l.l)()&&void 0!==i&&void 0!==i?.Readable&&r instanceof i.Readable||!1===o||(f["Content-Length"]="number"==typeof o?`${o}`:`${(0,u.J)(r)}`),p||(f["If-None-Match"]="*");const d=(0,c.H)({url:(0,s.oq)(t.remoteURL,(0,a.O0)(e)),method:"PUT",headers:f,data:r},t,n),g=await(0,c.E)(d,t);try{(0,h.HT)(t,g)}catch(t){const e=t;if(412!==e.status||p)throw e;return!1}return!0}function d(t,e){let r=`${(0,s.oq)(t.remoteURL,(0,a.O0)(e))}?Content-Type=application/octet-stream`;const i=/^https:/i.test(r)?"https":"http";switch(t.authType){case p.hT.None:break;case p.hT.Password:{const e=t.headers.Authorization.replace(/^Basic /i,"").trim(),n=(0,o.Ey)(e);r=r.replace(/^https?:\/\//,`${i}://${n}@`);break}default:throw new n.GU({info:{code:p.O4.LinkUnsupportedAuthType}},`Unsupported auth type for file link: ${t.authType}`)}return r}},80156(t,e,r){"use strict";r.d(e,{T:()=>u});var n=r(90176),i=r(85394),o=r(36236),s=r(89062),a=r(5e3);async function u(t,e,r={}){const{details:u=!1}=r,l=(0,s.H)({url:(0,i.oq)(t.remoteURL,(0,o.O0)(e)),method:"SEARCH",headers:{Accept:"text/plain,application/xml","Content-Type":t.headers["Content-Type"]||"application/xml; charset=utf-8"}},t,r),c=await(0,s.E)(l,t);(0,a.HT)(t,c);const h=await c.text(),p=await(0,n.h4)(h,t.parsing),f=(0,n.KA)(p,e,u);return(0,a.hq)(c,f,u)}},84830(t,e,r){"use strict";r.d(e,{z:()=>u});var n=r(90176),i=r(85394),o=r(36236),s=r(89062),a=r(5e3);async function u(t,e,r={}){const{details:u=!1}=r,l=(0,s.H)({url:(0,i.oq)(t.remoteURL,(0,o.O0)(e)),method:"PROPFIND",headers:{Accept:"text/plain,application/xml",Depth:"0"}},t,r),c=await(0,s.E)(l,t);(0,a.HT)(t,c);const h=await c.text(),p=await(0,n.h4)(h,t.parsing),f=(0,n.ky)(p,e,u);return(0,a.hq)(c,f,u)}},89062(t,e,r){"use strict";r.d(e,{E:()=>g,H:()=>d});var n=r(11568),i=r(11083),o=r(97192),s=r(84819),a=r(22921),u=r(90036),l=r(79275),c=r(79605),h=r(39299),p=r(38374),f=r(36942);function d(t,e,r){const n=(0,l.q)(t);return n.headers=(0,c.l)(e.headers,n.headers||{},r.headers||{}),void 0!==r.data&&(n.data=r.data),r.signal&&(n.signal=r.signal),e.httpAgent&&(n.httpAgent=e.httpAgent),e.httpsAgent&&(n.httpsAgent=e.httpsAgent),e.digest&&(n._digest=e.digest),"boolean"==typeof e.withCredentials&&(n.withCredentials=e.withCredentials),n}async function g(t,e){return e.authType===p.hT.Auto?async function(t,e){const r=await y(t);return r.ok?(e.authType=p.hT.Password,r):401==r.status&&(0,u.oD)(r)?(e.authType=p.hT.Digest,(0,f.e)(e,e.username,e.password,void 0,void 0),t._digest=e.digest,m(t)):r}(t,e):t._digest?m(t):y(t)}async function m(t){const e=t._digest;delete t._digest,e.hasDigestAuth&&(t=(0,l.h)(t,{headers:{Authorization:(0,u.XX)(t,e)}}));const r=await y(t);if(401==r.status){if(e.hasDigestAuth=(0,u.Wb)(r,e),e.hasDigestAuth){t=(0,l.h)(t,{headers:{Authorization:(0,u.XX)(t,e)}});const r=await y(t);return 401==r.status?e.hasDigestAuth=!1:e.nc++,r}}else e.nc++;return r}function y(t){const e=(0,s.G)();return e.patchInline("request",t=>e.patchInline("fetch",o.hd,t.url,function(t){let e={};const r={method:t.method};if(t.headers&&(e=(0,c.l)(e,t.headers)),void 0!==t.data){const[n,i]=(0,h.P)(t.data);r.body=n,e=(0,c.l)(e,i)}return t.signal&&(r.signal=t.signal),t.withCredentials&&(r.credentials="include"),(0,a.H)()||(0,a.l)()||(t.httpAgent||t.httpsAgent)&&(r.agent=e=>"http:"===e.protocol?t.httpAgent||new n.Agent:t.httpsAgent||new i.Agent),r.headers=e,r}(t)),t)}},5e3(t,e,r){"use strict";r.d(e,{HT:()=>s,YQ:()=>o,eh:()=>a,hq:()=>u});var n=r(44916),i=r(79605);function o(t,e=""){const r=new Error(`${e}Invalid response: ${t.status} ${t.statusText}`);return r.status=t.status,r.response=t,r}function s(t,e){const{status:r}=e;if(401===r&&t.digest)return e;if(r>=400)throw o(e);return e}function a(t,e){return t.filter(t=>(0,n.xF)(t.filename,e,{matchBase:!0}))}function u(t,e,r=!1){return r?{data:e,headers:t.headers?(0,i.N)(t.headers):{},status:t.status,statusText:t.statusText}:e}},39299(t,e,r){"use strict";r.d(e,{P:()=>a});var n=r(88310),i=r(47397),o=r(53850),s=r(22921);function a(t){if(!(0,s.H)()&&!(0,s.l)()&&t instanceof n.Readable)return[t,{}];if("string"==typeof t)return[t,{}];if((0,o.P)(t))return[t,{}];if((0,i.m)(t))return[t,{}];if(t&&"object"==typeof t)return[JSON.stringify(t),{"content-type":"application/json"}];throw new Error("Unable to convert request body: Unexpected body type: "+typeof t)}},35658(t,e,r){"use strict";r.d(e,{M:()=>i});var n=r(83503);function i(t,e,r,i,o,s,a){const u=a||n(`${e}:${r}:${i}`);return t&&"md5-sess"===t.toLowerCase()?n(`${u}:${o}:${s}`):u}},90176(t,e,r){"use strict";r.d(e,{KA:()=>g,ch:()=>f,h4:()=>p,i5:()=>m,jp:()=>c,ky:()=>d});var n,i=r(12692),o=r(1912),s=r(56673),a=r(26602),u=r(36236);function l(t){return"string"==typeof t?t:t.toString(".",!1)}function c(t,e){if(!t.endsWith("propstat.prop.displayname"))return e}function h(t,e,r=n.Original){const i=a.get(t,e);return"array"===r&&!1===Array.isArray(i)?[i]:"object"===r&&Array.isArray(i)?i[0]:i}function p(t,e){return e=e??{attributeNamePrefix:"@",attributeParsers:[],tagParsers:[c]},new Promise(r=>{r(function(t){const{multistatus:e}=t;if(""===e)return{multistatus:{response:[]}};if(!e)throw new Error("Invalid response: No root multistatus found");const r={multistatus:Array.isArray(e)?e[0]:e};return a.set(r,"multistatus.response",h(r,"multistatus.response",n.Array)),a.set(r,"multistatus.response",a.get(r,"multistatus.response").map(t=>function(t){const e=Object.assign({},t);return e.status?a.set(e,"status",h(e,"status",n.Object)):(a.set(e,"propstat",h(e,"propstat",n.Object)),a.set(e,"propstat.prop",h(e,"propstat.prop",n.Object))),e}(t))),r}(function({attributeNamePrefix:t,attributeParsers:e,entityDecoder:r,tagParsers:n}){const i={allowBooleanAttributes:!0,attributeNamePrefix:t,textNodeName:"text",ignoreAttributes:!1,removeNSPrefix:!0,jPath:!1,numberParseOptions:{hex:!0,leadingZeros:!1},attributeValueProcessor(t,r,n){const i=l(n);for(const t of e)try{const e=t(i,r);if(e!==r)return e}catch(t){}return r},tagValueProcessor(t,e,r){const i=l(r);for(const t of n)try{const r=t(i,e);if(r!==e)return r}catch(t){}return e}};return r&&(i.entityDecoder=new s.A({limit:{maxTotalExpansions:r.limit?.maxTotalExpansions??0,maxExpandedLength:r.limit?.maxExpandedLength??0}})),new o.A(i)}(e).parse(t)))})}function f(t,e,r=!1){const{getlastmodified:n=null,getcontentlength:o="0",resourcetype:s=null,getcontenttype:a=null,getetag:u=null}=t,l=s&&"object"==typeof s&&void 0!==s.collection?"directory":"file",c={filename:e,basename:i.basename(e),lastmod:n,size:parseInt(o,10),type:l,etag:"string"==typeof u?u.replace(/"/g,""):null};return"file"===l&&(c.mime=a&&"string"==typeof a?a.split(";")[0]:""),r&&(void 0!==t.displayname&&(t.displayname=String(t.displayname)),c.props=t),c}function d(t,e,r=!1){let n=null;try{t.multistatus.response[0].propstat&&(n=t.multistatus.response[0])}catch(t){}if(!n)throw new Error("Failed getting item stat: bad response");const{propstat:{prop:i,status:o}}=n,[s,a,l]=o.split(" ",3),c=parseInt(a,10);if(c>=400){const t=new Error(`Invalid response: ${c} ${l}`);throw t.status=c,t}return f(i,(0,u.qb)(e),r)}function g(t,e,r){const n={truncated:!1,results:[]};return n.truncated=t.multistatus.response.some(t=>"507"===(t.status||t.propstat?.status).split(" ",3)?.[1]&&t.href.replace(/\/$/,"").endsWith((0,u.O0)(e).replace(/\/$/,""))),t.multistatus.response.forEach(t=>{if(void 0===t.propstat)return;const e=t.href.split("/").map(decodeURIComponent).join("/");n.results.push(f(t.propstat.prop,e,r))}),n}function m(t){switch(String(t)){case"-3":return"unlimited";case"-2":case"-1":return"unknown";default:return parseInt(String(t),10)}}!function(t){t.Array="array",t.Object="object",t.Original="original"}(n||(n={}))},57221(t,e,r){"use strict";r.d(e,{Ey:()=>i,nk:()=>o});var n=r(85914);function i(t){return n.decode(t)}function o(t){return n.encode(t)}r(15723)},79605(t,e,r){"use strict";function n(t){const e={};for(const r of t.keys())e[r]=t.get(r);return e}function i(...t){if(0===t.length)return{};const e={};return t.reduce((t,r)=>(Object.keys(r).forEach(n=>{const i=n.toLowerCase();e.hasOwnProperty(i)?t[e[i]]=r[n]:(e[i]=n,t[n]=r[n])}),t),{})}r.d(e,{N:()=>n,l:()=>i})},79275(t,e,r){"use strict";function n(t){return function(t){if("object"!=typeof t||null===t||"[object Object]"!=Object.prototype.toString.call(t))return!1;if(null===Object.getPrototypeOf(t))return!0;let e=t;for(;null!==Object.getPrototypeOf(e);)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(t)===e}(t)?Object.assign({},t):Object.setPrototypeOf(Object.assign({},t),Object.getPrototypeOf(t))}function i(...t){let e=null,r=[...t];for(;r.length>0;){const t=r.shift();e=e?o(e,t):n(t)}return e}function o(t,e){const r=n(t);return Object.keys(e).forEach(t=>{r.hasOwnProperty(t)?Array.isArray(e[t])?r[t]=Array.isArray(r[t])?[...r[t],...e[t]]:[...e[t]]:"object"==typeof e[t]&&e[t]?r[t]="object"==typeof r[t]&&r[t]?o(r[t],e[t]):n(e[t]):r[t]=e[t]:r[t]=e[t]}),r}r.d(e,{h:()=>i,q:()=>n})},36236(t,e,r){"use strict";r.d(e,{O0:()=>a,dU:()=>l,qb:()=>c,xi:()=>u});var n=r(42294),i=r(12692);const o="__PATH_SEPARATOR_POSIX__",s="__PATH_SEPARATOR_WINDOWS__";function a(t){try{const e=t.replace(/\//g,o).replace(/\\\\/g,s);return encodeURIComponent(e).split(s).join("\\\\").split(o).join("/")}catch(t){throw new n.GU(t,"Failed encoding path")}}function u(t){if(!t||"/"===t)return[];let e=t;const r=[];do{r.push(e),e=i.dirname(e)}while(e&&"/"!==e);return r}function l(t){return t.startsWith("/")?t:"/"+t}function c(t){let e=t;return"/"!==e[0]&&(e="/"+e),/^.+\/$/.test(e)&&(e=e.substr(0,e.length-1)),e}},7815(t,e,r){"use strict";r.d(e,{K:()=>i});var n=r(90176);function i(t){try{const[e]=t.multistatus.response,{propstat:{prop:{"quota-used-bytes":r,"quota-available-bytes":i}}}=e;return void 0!==r&&void 0!==i?{used:parseInt(String(r),10),available:(0,n.i5)(i)}:null}catch(t){}return null}},71922(t,e,r){"use strict";r.d(e,{J:()=>u});var n=r(42294),i=r(67691),o=r(47397),s=r(53850),a=r(38374);function u(t){if((0,o.m)(t))return t.byteLength;if((0,s.P)(t))return t.length;if("string"==typeof t)return(0,i.d)(t);throw new n.GU({info:{code:a.O4.DataTypeNoLength}},"Cannot calculate data length: Invalid type")}},85394(t,e,r){"use strict";r.d(e,{S8:()=>l,oq:()=>u,wB:()=>a});var n=r(61160),i=r(42294),o=r(406),s=r(36236);function a(t){let e=new n(t).pathname;return e.length<=0&&(e="/"),(0,s.qb)(e)}function u(...t){return(0,o.A)(t.reduce((t,e,r)=>((0===r||"/"!==e||"/"===e&&"/"!==t[t.length-1])&&t.push(e),t),[]))}function l(t){try{return t.replace(/^https?:\/\/[^\/]+/,"")}catch(t){throw new i.GU(t,"Failed normalising HREF")}}},27562(t,e,r){"use strict";r.d(e,{A:()=>o,o:()=>a});var n=r(1912),i=r(99111);function o(t){return new i.A({attributeNamePrefix:"@_",format:!0,ignoreAttributes:!1,suppressEmptyNode:!0}).build(s({lockinfo:{"@_xmlns:d":"DAV:",lockscope:{exclusive:{}},locktype:{write:{}},owner:{href:t}}},"d"))}function s(t,e){const r={...t};for(const t in r)r.hasOwnProperty(t)&&(r[t]&&"object"==typeof r[t]&&-1===t.indexOf(":")?(r[`${e}:${t}`]=s(r[t],e),delete r[t]):!1===/^@_/.test(t)&&(r[`${e}:${t}`]=r[t],delete r[t]));return r}function a(t){return new n.A({removeNSPrefix:!0,parseAttributeValue:!0,parseTagValue:!0}).parse(t)}},38374(t,e,r){"use strict";var n,i;r.d(e,{O4:()=>i,hT:()=>n}),r(97192),function(t){t.Auto="auto",t.Digest="digest",t.None="none",t.Password="password",t.Token="token"}(n||(n={})),function(t){t.DataTypeNoLength="data-type-no-length",t.InvalidAuthType="invalid-auth-type",t.InvalidOutputFormat="invalid-output-format",t.LinkUnsupportedAuthType="link-unsupported-auth",t.InvalidUpdateRange="invalid-update-range",t.NotSupported="not-supported"}(i||(i={}))},27341(t,e,r){"use strict";new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]),String.fromCodePoint},26549(t,e,r){"use strict";var n,i,o,s;r(75780),r(92148),r(27341),function(t){t[t.NUM=35]="NUM",t[t.SEMI=59]="SEMI",t[t.EQUALS=61]="EQUALS",t[t.ZERO=48]="ZERO",t[t.NINE=57]="NINE",t[t.LOWER_A=97]="LOWER_A",t[t.LOWER_F=102]="LOWER_F",t[t.LOWER_X=120]="LOWER_X",t[t.LOWER_Z=122]="LOWER_Z",t[t.UPPER_A=65]="UPPER_A",t[t.UPPER_F=70]="UPPER_F",t[t.UPPER_Z=90]="UPPER_Z"}(n||(n={})),function(t){t[t.VALUE_LENGTH=49152]="VALUE_LENGTH",t[t.BRANCH_LENGTH=16256]="BRANCH_LENGTH",t[t.JUMP_TABLE=127]="JUMP_TABLE"}(i||(i={})),function(t){t[t.EntityStart=0]="EntityStart",t[t.NumericStart=1]="NumericStart",t[t.NumericDecimal=2]="NumericDecimal",t[t.NumericHex=3]="NumericHex",t[t.NamedEntity=4]="NamedEntity"}(o||(o={})),function(t){t[t.Legacy=0]="Legacy",t[t.Strict=1]="Strict",t[t.Attribute=2]="Attribute"}(s||(s={}))},13197(t,e,r){"use strict";r(91573),r(40144)},40144(t,e,r){"use strict";new Map([[34,"&quot;"],[38,"&amp;"],[39,"&apos;"],[60,"&lt;"],[62,"&gt;"]]),String.prototype.codePointAt,new Map([[34,"&quot;"],[38,"&amp;"],[160,"&nbsp;"]]),new Map([[38,"&amp;"],[60,"&lt;"],[62,"&gt;"],[160,"&nbsp;"]])},75780(t,e,r){},92148(t,e,r){},91573(t,e,r){},15723(t,e,r){"use strict";var n,i;r(26549),r(13197),r(40144),function(t){t[t.XML=0]="XML",t[t.HTML=1]="HTML"}(n||(n={})),function(t){t[t.UTF8=0]="UTF8",t[t.ASCII=1]="ASCII",t[t.Extensive=2]="Extensive",t[t.Attribute=3]="Attribute",t[t.Text=4]="Text"}(i||(i={}))},84300(t,e,r){"use strict";r.d(e,{f:()=>n});const n=t=>{if("string"!=typeof t)throw new TypeError("invalid pattern");if(t.length>65536)throw new TypeError("pattern is too long")}},17908(t,e,r){"use strict";r.d(e,{d:()=>E});var n,i=r(73733),o=r(24754);const s=new Set(["!","?","+","*","@"]),a=t=>s.has(t),u=t=>a(t.type),l=new Map([["!",["@"]],["?",["?","@"]],["@",["@"]],["*",["*","+","?","@"]],["+",["+","@"]]]),c=new Map([["!",["?"]],["@",["?"]],["+",["?","*"]]]),h=new Map([["!",["?","@"]],["?",["?","@"]],["@",["?","@"]],["*",["*","+","?","@"]],["+",["+","@","?","*"]]]),p=new Map([["!",new Map([["!","@"]])],["?",new Map([["*","*"],["+","*"]])],["@",new Map([["!","!"],["?","?"],["@","@"],["*","*"],["+","+"]])],["+",new Map([["?","*"],["*","*"]])]]),f="(?!\\.)",d=new Set(["[","."]),g=new Set(["..","."]),m=new Set("().*{}+?[]^$\\!"),y=t=>t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),b="[^/]",v=b+"*?",w=b+"+?";class E{type;#t;#e;#r=!1;#n=[];#i;#o;#s;#a=!1;#u;#l;#c=!1;constructor(t,e,r={}){this.type=t,t&&(this.#e=!0),this.#i=e,this.#t=this.#i?this.#i.#t:this,this.#u=this.#t===this?r:this.#t.#u,this.#s=this.#t===this?[]:this.#t.#s,"!"!==t||this.#t.#a||this.#s.push(this),this.#o=this.#i?this.#i.#n.length:0}get hasMagic(){if(void 0!==this.#e)return this.#e;for(const t of this.#n)if("string"!=typeof t&&(t.type||t.hasMagic))return this.#e=!0;return this.#e}toString(){return void 0!==this.#l?this.#l:this.type?this.#l=this.type+"("+this.#n.map(t=>String(t)).join("|")+")":this.#l=this.#n.map(t=>String(t)).join("")}#h(){if(this!==this.#t)throw new Error("should only call on root");if(this.#a)return this;let t;for(this.toString(),this.#a=!0;t=this.#s.pop();){if("!"!==t.type)continue;let e=t,r=e.#i;for(;r;){for(let n=e.#o+1;!r.type&&n<r.#n.length;n++)for(const e of t.#n){if("string"==typeof e)throw new Error("string part in extglob AST??");e.copyIn(r.#n[n])}e=r,r=e.#i}}return this}push(...t){for(const e of t)if(""!==e){if("string"!=typeof e&&!(e instanceof n&&e.#i===this))throw new Error("invalid part: "+e);this.#n.push(e)}}toJSON(){const t=null===this.type?this.#n.slice().map(t=>"string"==typeof t?t:t.toJSON()):[this.type,...this.#n.map(t=>t.toJSON())];return this.isStart()&&!this.type&&t.unshift([]),this.isEnd()&&(this===this.#t||this.#t.#a&&"!"===this.#i?.type)&&t.push({}),t}isStart(){if(this.#t===this)return!0;if(!this.#i?.isStart())return!1;if(0===this.#o)return!0;const t=this.#i;for(let e=0;e<this.#o;e++){const r=t.#n[e];if(!(r instanceof n&&"!"===r.type))return!1}return!0}isEnd(){if(this.#t===this)return!0;if("!"===this.#i?.type)return!0;if(!this.#i?.isEnd())return!1;if(!this.type)return this.#i?.isEnd();const t=this.#i?this.#i.#n.length:0;return this.#o===t-1}copyIn(t){"string"==typeof t?this.push(t):this.push(t.clone(this))}clone(t){const e=new n(this.type,t);for(const t of this.#n)e.copyIn(t);return e}static#p(t,e,r,i,o){const s=i.maxExtglobRecursion??2;let u=!1,l=!1,c=-1,h=!1;if(null===e.type){let p=r,f="";for(;p<t.length;){const r=t.charAt(p++);if(u||"\\"===r)u=!u,f+=r;else if(l)p===c+1?"^"!==r&&"!"!==r||(h=!0):"]"!==r||p===c+2&&h||(l=!1),f+=r;else if("["!==r){if(!i.noext&&a(r)&&"("===t.charAt(p)&&o<=s){e.push(f),f="";const s=new n(r,e);p=n.#p(t,s,p,i,o+1),e.push(s);continue}f+=r}else l=!0,c=p,h=!1,f+=r}return e.push(f),p}let p=r+1,f=new n(null,e);const d=[];let g="";for(;p<t.length;){const r=t.charAt(p++);if(u||"\\"===r)u=!u,g+=r;else if(l)p===c+1?"^"!==r&&"!"!==r||(h=!0):"]"!==r||p===c+2&&h||(l=!1),g+=r;else if("["!==r){if(a(r)&&"("===t.charAt(p)&&(o<=s||e&&e.#f(r))){const s=e&&e.#f(r)?0:1;f.push(g),g="";const a=new n(r,f);f.push(a),p=n.#p(t,a,p,i,o+s);continue}if("|"!==r){if(")"===r)return""===g&&0===e.#n.length&&(e.#c=!0),f.push(g),g="",e.push(...d,f),p;g+=r}else f.push(g),g="",d.push(f),f=new n(null,e)}else l=!0,c=p,h=!1,g+=r}return e.type=null,e.#e=void 0,e.#n=[t.substring(r-1)],p}#d(t){return this.#g(t,c)}#g(t,e=l){if(!t||"object"!=typeof t||null!==t.type||1!==t.#n.length||null===this.type)return!1;const r=t.#n[0];return!(!r||"object"!=typeof r||null===r.type)&&this.#f(r.type,e)}#f(t,e=h){return!!e.get(this.type)?.includes(t)}#m(t,e){const r=t.#n[0],i=new n(null,r,this.options);i.#n.push(""),r.push(i),this.#y(t,e)}#y(t,e){const r=t.#n[0];this.#n.splice(e,1,...r.#n);for(const t of r.#n)"object"==typeof t&&(t.#i=this);this.#l=void 0}#b(t){const e=p.get(this.type);return!!e?.has(t)}#v(t){if(!t||"object"!=typeof t||null!==t.type||1!==t.#n.length||null===this.type||1!==this.#n.length)return!1;const e=t.#n[0];return!(!e||"object"!=typeof e||null===e.type)&&this.#b(e.type)}#w(t){const e=p.get(this.type),r=t.#n[0],n=e?.get(r.type);if(!n)return!1;this.#n=r.#n;for(const t of this.#n)"object"==typeof t&&(t.#i=this);this.type=n,this.#l=void 0,this.#c=!1}#E(){if(u(this)){let t=0,e=!1;do{e=!0;for(let t=0;t<this.#n.length;t++){const r=this.#n[t];"object"==typeof r&&(r.#E(),this.#g(r)?(e=!1,this.#y(r,t)):this.#d(r)?(e=!1,this.#m(r,t)):this.#v(r)&&(e=!1,this.#w(r)))}}while(!e&&++t<10)}else for(const t of this.#n)"object"==typeof t&&t.#E();this.#l=void 0}static fromGlob(t,e={}){const r=new n(null,void 0,e);return n.#p(t,r,0,e,0),r}toMMPattern(){if(this!==this.#t)return this.#t.toMMPattern();const t=this.toString(),[e,r,n,i]=this.toRegExpSource();if(!(n||this.#e||this.#u.nocase&&!this.#u.nocaseMagicOnly&&t.toUpperCase()!==t.toLowerCase()))return r;const o=(this.#u.nocase?"i":"")+(i?"u":"");return Object.assign(new RegExp(`^${e}$`,o),{_src:e,_glob:t})}get options(){return this.#u}toRegExpSource(t){const e=t??!!this.#u.dot;if(this.#t===this&&(this.#E(),this.#h()),!u(this)){const r=this.isStart()&&this.isEnd(),i=this.#n.map(e=>{const[i,o,s,a]="string"==typeof e?n.#x(e,this.#e,r):e.toRegExpSource(t);return this.#e=this.#e||s,this.#r=this.#r||a,i}).join("");let s="";if(this.isStart()&&"string"==typeof this.#n[0]&&(1!==this.#n.length||!g.has(this.#n[0]))){const r=d,n=e&&r.has(i.charAt(0))||i.startsWith("\\.")&&r.has(i.charAt(2))||i.startsWith("\\.\\.")&&r.has(i.charAt(4)),o=!e&&!t&&r.has(i.charAt(0));s=n?"(?!(?:^|/)\\.\\.?(?:$|/))":o?f:""}let a="";return this.isEnd()&&this.#t.#a&&"!"===this.#i?.type&&(a="(?:$|\\/)"),[s+i+a,(0,o.x)(i),this.#e=!!this.#e,this.#r]}const r="*"===this.type||"+"===this.type,i="!"===this.type?"(?:(?!(?:":"(?:";let s=this.#S(e);if(this.isStart()&&this.isEnd()&&!s&&"!"!==this.type){const t=this.toString(),e=this;return e.#n=[t],e.type=null,e.#e=void 0,[t,(0,o.x)(this.toString()),!1,!1]}let a=!r||t||e?"":this.#S(!0);a===s&&(a=""),a&&(s=`(?:${s})(?:${a})*?`);let l="";return l="!"===this.type&&this.#c?(this.isStart()&&!e?f:"")+w:i+s+("!"===this.type?"))"+(!this.isStart()||e||t?"":f)+v+")":"@"===this.type?")":"?"===this.type?")?":"+"===this.type&&a?")":"*"===this.type&&a?")?":`)${this.type}`),[l,(0,o.x)(s),this.#e=!!this.#e,this.#r]}#S(t){return this.#n.map(e=>{if("string"==typeof e)throw new Error("string type in extglob ast??");const[r,n,i,o]=e.toRegExpSource(t);return this.#r=this.#r||o,r}).filter(t=>!(this.isStart()&&this.isEnd()&&!t)).join("|")}static#x(t,e,r=!1){let n=!1,s="",a=!1,u=!1;for(let o=0;o<t.length;o++){const l=t.charAt(o);if(n)n=!1,s+=(m.has(l)?"\\":"")+l,u=!1;else if("\\"!==l){if("["===l){const[r,n,l,c]=(0,i.U)(t,o);if(l){s+=r,a=a||n,o+=l-1,e=e||c,u=!1;continue}}if("*"!==l)u=!1,"?"!==l?s+=y(l):(s+=b,e=!0);else{if(u)continue;u=!0,s+=r&&/^[*]+$/.test(t)?w:v,e=!0}}else o===t.length-1?s+="\\\\":n=!0}return[s,(0,o.x)(t),!!e,a]}}n=E},73733(t,e,r){"use strict";r.d(e,{U:()=>s});const n={"[:alnum:]":["\\p{L}\\p{Nl}\\p{Nd}",!0],"[:alpha:]":["\\p{L}\\p{Nl}",!0],"[:ascii:]":["\\x00-\\x7f",!1],"[:blank:]":["\\p{Zs}\\t",!0],"[:cntrl:]":["\\p{Cc}",!0],"[:digit:]":["\\p{Nd}",!0],"[:graph:]":["\\p{Z}\\p{C}",!0,!0],"[:lower:]":["\\p{Ll}",!0],"[:print:]":["\\p{C}",!0],"[:punct:]":["\\p{P}",!0],"[:space:]":["\\p{Z}\\t\\r\\n\\v\\f",!0],"[:upper:]":["\\p{Lu}",!0],"[:word:]":["\\p{L}\\p{Nl}\\p{Nd}\\p{Pc}",!0],"[:xdigit:]":["A-Fa-f0-9",!1]},i=t=>t.replace(/[[\]\\-]/g,"\\$&"),o=t=>t.join(""),s=(t,e)=>{const r=e;if("["!==t.charAt(r))throw new Error("not in a brace expression");const s=[],a=[];let u=r+1,l=!1,c=!1,h=!1,p=!1,f=r,d="";t:for(;u<t.length;){const e=t.charAt(u);if("!"!==e&&"^"!==e||u!==r+1){if("]"===e&&l&&!h){f=u+1;break}if(l=!0,"\\"!==e||h){if("["===e&&!h)for(const[e,[i,o,l]]of Object.entries(n))if(t.startsWith(e,u)){if(d)return["$.",!1,t.length-r,!0];u+=e.length,l?a.push(i):s.push(i),c=c||o;continue t}h=!1,d?(e>d?s.push(i(d)+"-"+i(e)):e===d&&s.push(i(e)),d="",u++):t.startsWith("-]",u+1)?(s.push(i(e+"-")),u+=2):t.startsWith("-",u+1)?(d=e,u+=2):(s.push(i(e)),u++)}else h=!0,u++}else p=!0,u++}if(f<u)return["",!1,0,!1];if(!s.length&&!a.length)return["$.",!1,t.length-r,!0];if(0===a.length&&1===s.length&&/^\\?.$/.test(s[0])&&!p){return[(g=2===s[0].length?s[0].slice(-1):s[0],g.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")),!1,f-r,!1]}var g;const m="["+(p?"^":"")+o(s)+"]",y="["+(p?"":"^")+o(a)+"]";return[s.length&&a.length?"("+m+"|"+y+")":s.length?m:y,c,f-r,!0]}},25093(t,e,r){"use strict";r.d(e,{i:()=>n});const n=(t,{windowsPathsNoEscape:e=!1}={})=>e?t.replace(/[?*()[\]]/g,"[$&]"):t.replace(/[?*()[\]\\]/g,"\\$&")},44916(t,e,r){"use strict";r.d(e,{xF:()=>l});var n=r(68928),i=r(84300),o=r(17908),s=r(25093),a=r(24754),u=r(65606);const l=(t,e,r={})=>((0,i.f)(e),!(!r.nocomment&&"#"===e.charAt(0))&&new L(e,r).match(t)),c=/^\*+([^+@!?\*\[\(]*)$/,h=t=>e=>!e.startsWith(".")&&e.endsWith(t),p=t=>e=>e.endsWith(t),f=t=>(t=t.toLowerCase(),e=>!e.startsWith(".")&&e.toLowerCase().endsWith(t)),d=t=>(t=t.toLowerCase(),e=>e.toLowerCase().endsWith(t)),g=/^\*+\.\*+$/,m=t=>!t.startsWith(".")&&t.includes("."),y=t=>"."!==t&&".."!==t&&t.includes("."),b=/^\.\*+$/,v=t=>"."!==t&&".."!==t&&t.startsWith("."),w=/^\*+$/,E=t=>0!==t.length&&!t.startsWith("."),x=t=>0!==t.length&&"."!==t&&".."!==t,S=/^\?+([^+@!?\*\[\(]*)?$/,_=([t,e=""])=>{const r=N([t]);return e?(e=e.toLowerCase(),t=>r(t)&&t.toLowerCase().endsWith(e)):r},A=([t,e=""])=>{const r=j([t]);return e?(e=e.toLowerCase(),t=>r(t)&&t.toLowerCase().endsWith(e)):r},T=([t,e=""])=>{const r=j([t]);return e?t=>r(t)&&t.endsWith(e):r},O=([t,e=""])=>{const r=N([t]);return e?t=>r(t)&&t.endsWith(e):r},N=([t])=>{const e=t.length;return t=>t.length===e&&!t.startsWith(".")},j=([t])=>{const e=t.length;return t=>t.length===e&&"."!==t&&".."!==t},P="object"==typeof u&&u?"object"==typeof u.env&&u.env&&u.env.__MINIMATCH_TESTING_PLATFORM__||u.platform:"posix",R="win32"===P?"\\":"/";l.sep=R;const C=Symbol("globstar **");l.GLOBSTAR=C,l.filter=(t,e={})=>r=>l(r,t,e);const k=(t,e={})=>Object.assign({},t,e);l.defaults=t=>{if(!t||"object"!=typeof t||!Object.keys(t).length)return l;const e=l;return Object.assign((r,n,i={})=>e(r,n,k(t,i)),{Minimatch:class extends e.Minimatch{constructor(e,r={}){super(e,k(t,r))}static defaults(r){return e.defaults(k(t,r)).Minimatch}},AST:class extends e.AST{constructor(e,r,n={}){super(e,r,k(t,n))}static fromGlob(r,n={}){return e.AST.fromGlob(r,k(t,n))}},unescape:(r,n={})=>e.unescape(r,k(t,n)),escape:(r,n={})=>e.escape(r,k(t,n)),filter:(r,n={})=>e.filter(r,k(t,n)),defaults:r=>e.defaults(k(t,r)),makeRe:(r,n={})=>e.makeRe(r,k(t,n)),braceExpand:(r,n={})=>e.braceExpand(r,k(t,n)),match:(r,n,i={})=>e.match(r,n,k(t,i)),sep:e.sep,GLOBSTAR:C})};const M=(t,e={})=>((0,i.f)(t),e.nobrace||!/\{(?:(?!\{).)*\}/.test(t)?[t]:n(t));l.braceExpand=M,l.makeRe=(t,e={})=>new L(t,e).makeRe(),l.match=(t,e,r={})=>{const n=new L(e,r);return t=t.filter(t=>n.match(t)),n.options.nonull&&!t.length&&t.push(e),t};const I=/[?*]|[+@!]\(.*?\)|\[|\]/;class L{options;set;pattern;windowsPathsNoEscape;nonegate;negate;comment;empty;preserveMultipleSlashes;partial;globSet;globParts;nocase;isWindows;platform;windowsNoMagicRoot;maxGlobstarRecursion;regexp;constructor(t,e={}){(0,i.f)(t),e=e||{},this.options=e,this.maxGlobstarRecursion=e.maxGlobstarRecursion??200,this.pattern=t,this.platform=e.platform||P,this.isWindows="win32"===this.platform,this.windowsPathsNoEscape=!!e.windowsPathsNoEscape||!1===e.allowWindowsEscape,this.windowsPathsNoEscape&&(this.pattern=this.pattern.replace(/\\/g,"/")),this.preserveMultipleSlashes=!!e.preserveMultipleSlashes,this.regexp=null,this.negate=!1,this.nonegate=!!e.nonegate,this.comment=!1,this.empty=!1,this.partial=!!e.partial,this.nocase=!!this.options.nocase,this.windowsNoMagicRoot=void 0!==e.windowsNoMagicRoot?e.windowsNoMagicRoot:!(!this.isWindows||!this.nocase),this.globSet=[],this.globParts=[],this.set=[],this.make()}hasMagic(){if(this.options.magicalBraces&&this.set.length>1)return!0;for(const t of this.set)for(const e of t)if("string"!=typeof e)return!0;return!1}debug(...t){}make(){const t=this.pattern,e=this.options;if(!e.nocomment&&"#"===t.charAt(0))return void(this.comment=!0);if(!t)return void(this.empty=!0);this.parseNegate(),this.globSet=[...new Set(this.braceExpand())],e.debug&&(this.debug=(...t)=>console.error(...t)),this.debug(this.pattern,this.globSet);const r=this.globSet.map(t=>this.slashSplit(t));this.globParts=this.preprocess(r),this.debug(this.pattern,this.globParts);let n=this.globParts.map((t,e,r)=>{if(this.isWindows&&this.windowsNoMagicRoot){const e=!(""!==t[0]||""!==t[1]||"?"!==t[2]&&I.test(t[2])||I.test(t[3])),r=/^[a-z]:/i.test(t[0]);if(e)return[...t.slice(0,4),...t.slice(4).map(t=>this.parse(t))];if(r)return[t[0],...t.slice(1).map(t=>this.parse(t))]}return t.map(t=>this.parse(t))});if(this.debug(this.pattern,n),this.set=n.filter(t=>-1===t.indexOf(!1)),this.isWindows)for(let t=0;t<this.set.length;t++){const e=this.set[t];""===e[0]&&""===e[1]&&"?"===this.globParts[t][2]&&"string"==typeof e[3]&&/^[a-z]:$/i.test(e[3])&&(e[2]="?")}this.debug(this.pattern,this.set)}preprocess(t){if(this.options.noglobstar)for(let e=0;e<t.length;e++)for(let r=0;r<t[e].length;r++)"**"===t[e][r]&&(t[e][r]="*");const{optimizationLevel:e=1}=this.options;return e>=2?(t=this.firstPhasePreProcess(t),t=this.secondPhasePreProcess(t)):t=e>=1?this.levelOneOptimize(t):this.adjascentGlobstarOptimize(t),t}adjascentGlobstarOptimize(t){return t.map(t=>{let e=-1;for(;-1!==(e=t.indexOf("**",e+1));){let r=e;for(;"**"===t[r+1];)r++;r!==e&&t.splice(e,r-e)}return t})}levelOneOptimize(t){return t.map(t=>0===(t=t.reduce((t,e)=>{const r=t[t.length-1];return"**"===e&&"**"===r?t:".."===e&&r&&".."!==r&&"."!==r&&"**"!==r?(t.pop(),t):(t.push(e),t)},[])).length?[""]:t)}levelTwoFileOptimize(t){Array.isArray(t)||(t=this.slashSplit(t));let e=!1;do{if(e=!1,!this.preserveMultipleSlashes){for(let r=1;r<t.length-1;r++){const n=t[r];1===r&&""===n&&""===t[0]||"."!==n&&""!==n||(e=!0,t.splice(r,1),r--)}"."!==t[0]||2!==t.length||"."!==t[1]&&""!==t[1]||(e=!0,t.pop())}let r=0;for(;-1!==(r=t.indexOf("..",r+1));){const n=t[r-1];n&&"."!==n&&".."!==n&&"**"!==n&&(e=!0,t.splice(r-1,2),r-=2)}}while(e);return 0===t.length?[""]:t}firstPhasePreProcess(t){let e=!1;do{e=!1;for(let r of t){let n=-1;for(;-1!==(n=r.indexOf("**",n+1));){let i=n;for(;"**"===r[i+1];)i++;i>n&&r.splice(n+1,i-n);let o=r[n+1];const s=r[n+2],a=r[n+3];if(".."!==o)continue;if(!s||"."===s||".."===s||!a||"."===a||".."===a)continue;e=!0,r.splice(n,1);const u=r.slice(0);u[n]="**",t.push(u),n--}if(!this.preserveMultipleSlashes){for(let t=1;t<r.length-1;t++){const n=r[t];1===t&&""===n&&""===r[0]||"."!==n&&""!==n||(e=!0,r.splice(t,1),t--)}"."!==r[0]||2!==r.length||"."!==r[1]&&""!==r[1]||(e=!0,r.pop())}let i=0;for(;-1!==(i=r.indexOf("..",i+1));){const t=r[i-1];if(t&&"."!==t&&".."!==t&&"**"!==t){e=!0;const t=1===i&&"**"===r[i+1]?["."]:[];r.splice(i-1,2,...t),0===r.length&&r.push(""),i-=2}}}}while(e);return t}secondPhasePreProcess(t){for(let e=0;e<t.length-1;e++)for(let r=e+1;r<t.length;r++){const n=this.partsMatch(t[e],t[r],!this.preserveMultipleSlashes);if(n){t[e]=[],t[r]=n;break}}return t.filter(t=>t.length)}partsMatch(t,e,r=!1){let n=0,i=0,o=[],s="";for(;n<t.length&&i<e.length;)if(t[n]===e[i])o.push("b"===s?e[i]:t[n]),n++,i++;else if(r&&"**"===t[n]&&e[i]===t[n+1])o.push(t[n]),n++;else if(r&&"**"===e[i]&&t[n]===e[i+1])o.push(e[i]),i++;else if("*"!==t[n]||!e[i]||!this.options.dot&&e[i].startsWith(".")||"**"===e[i]){if("*"!==e[i]||!t[n]||!this.options.dot&&t[n].startsWith(".")||"**"===t[n])return!1;if("a"===s)return!1;s="b",o.push(e[i]),n++,i++}else{if("b"===s)return!1;s="a",o.push(t[n]),n++,i++}return t.length===e.length&&o}parseNegate(){if(this.nonegate)return;const t=this.pattern;let e=!1,r=0;for(let n=0;n<t.length&&"!"===t.charAt(n);n++)e=!e,r++;r&&(this.pattern=t.slice(r)),this.negate=e}matchOne(t,e,r=!1){let n=0,i=0;if(this.isWindows){const r="string"==typeof t[0]&&/^[a-z]:$/i.test(t[0]),o=!r&&""===t[0]&&""===t[1]&&"?"===t[2]&&/^[a-z]:$/i.test(t[3]),s="string"==typeof e[0]&&/^[a-z]:$/i.test(e[0]),a=o?3:r?0:void 0,u=!s&&""===e[0]&&""===e[1]&&"?"===e[2]&&"string"==typeof e[3]&&/^[a-z]:$/i.test(e[3])?3:s?0:void 0;if("number"==typeof a&&"number"==typeof u){const[r,o]=[t[a],e[u]];r.toLowerCase()===o.toLowerCase()&&(e[u]=r,i=u,n=a)}}const{optimizationLevel:o=1}=this.options;return o>=2&&(t=this.levelTwoFileOptimize(t)),e.includes(C)?this.#_(t,e,r,n,i):this.#A(t,e,r,n,i)}#_(t,e,r,n,i){const o=e.indexOf(C,i),s=e.lastIndexOf(C),[a,u,l]=r?[e.slice(i,o),e.slice(o+1),[]]:[e.slice(i,o),e.slice(o+1,s),e.slice(s+1)];if(a.length){const e=t.slice(n,n+a.length);if(!this.#A(e,a,r,0,0))return!1;n+=a.length}let c=0;if(l.length){if(l.length+n>t.length)return!1;let e=t.length-l.length;if(this.#A(t,l,r,e,0))c=l.length;else{if(""!==t[t.length-1]||n+l.length===t.length)return!1;if(e--,!this.#A(t,l,r,e,0))return!1;c=l.length+1}}if(!u.length){let e=!!c;for(let r=n;r<t.length-c;r++){const n=String(t[r]);if(e=!0,"."===n||".."===n||!this.options.dot&&n.startsWith("."))return!1}return r||e}const h=[[[],0]];let p=h[0],f=0;const d=[0];for(const t of u)t===C?(d.push(f),p=[[],0],h.push(p)):(p[0].push(t),f++);let g=h.length-1;const m=t.length-c;for(const t of h)t[1]=m-(d[g--]+t[0].length);return!!this.#T(t,h,n,0,r,0,!!c)}#T(t,e,r,n,i,o,s){const a=e[n];if(!a){for(let e=r;e<t.length;e++){s=!0;const r=t[e];if("."===r||".."===r||!this.options.dot&&r.startsWith("."))return!1}return s}const[u,l]=a;for(;r<=l;){if(this.#A(t.slice(0,r+u.length),u,i,r,0)&&o<this.maxGlobstarRecursion){const a=this.#T(t,e,r+u.length,n+1,i,o+1,s);if(!1!==a)return a}const a=t[r];if("."===a||".."===a||!this.options.dot&&a.startsWith("."))return!1;r++}return i||null}#A(t,e,r,n,i){let o,s,a,u;for(o=n,s=i,u=t.length,a=e.length;o<u&&s<a;o++,s++){this.debug("matchOne loop");let r,n=e[s],i=t[o];if(this.debug(e,n,i),!1===n||n===C)return!1;if("string"==typeof n?(r=i===n,this.debug("string match",n,i,r)):(r=n.test(i),this.debug("pattern match",n,i,r)),!r)return!1}if(o===u&&s===a)return!0;if(o===u)return r;if(s===a)return o===u-1&&""===t[o];throw new Error("wtf?")}braceExpand(){return M(this.pattern,this.options)}parse(t){(0,i.f)(t);const e=this.options;if("**"===t)return C;if(""===t)return"";let r,n=null;(r=t.match(w))?n=e.dot?x:E:(r=t.match(c))?n=(e.nocase?e.dot?d:f:e.dot?p:h)(r[1]):(r=t.match(S))?n=(e.nocase?e.dot?A:_:e.dot?T:O)(r):(r=t.match(g))?n=e.dot?y:m:(r=t.match(b))&&(n=v);const s=o.d.fromGlob(t,this.options).toMMPattern();return n&&"object"==typeof s&&Reflect.defineProperty(s,"test",{value:n}),s}makeRe(){if(this.regexp||!1===this.regexp)return this.regexp;const t=this.set;if(!t.length)return this.regexp=!1,this.regexp;const e=this.options,r=e.noglobstar?"[^/]*?":e.dot?"(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?":"(?:(?!(?:\\/|^)\\.).)*?",n=new Set(e.nocase?["i"]:[]);let i=t.map(t=>{const e=t.map(t=>{if(t instanceof RegExp)for(const e of t.flags.split(""))n.add(e);return"string"==typeof t?t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"):t===C?C:t._src});return e.forEach((t,n)=>{const i=e[n+1],o=e[n-1];t===C&&o!==C&&(void 0===o?void 0!==i&&i!==C?e[n+1]="(?:\\/|"+r+"\\/)?"+i:e[n]=r:void 0===i?e[n-1]=o+"(?:\\/|"+r+")?":i!==C&&(e[n-1]=o+"(?:\\/|\\/"+r+"\\/)"+i,e[n+1]=C))}),e.filter(t=>t!==C).join("/")}).join("|");const[o,s]=t.length>1?["(?:",")"]:["",""];i="^"+o+i+s+"$",this.negate&&(i="^(?!"+i+").+$");try{this.regexp=new RegExp(i,[...n].join(""))}catch(t){this.regexp=!1}return this.regexp}slashSplit(t){return this.preserveMultipleSlashes?t.split("/"):this.isWindows&&/^\/\/[^\/]+/.test(t)?["",...t.split(/\/+/)]:t.split(/\/+/)}match(t,e=this.partial){if(this.debug("match",t,this.pattern),this.comment)return!1;if(this.empty)return""===t;if("/"===t&&e)return!0;const r=this.options;this.isWindows&&(t=t.split("\\").join("/"));const n=this.slashSplit(t);this.debug(this.pattern,"split",n);const i=this.set;this.debug(this.pattern,"set",i);let o=n[n.length-1];if(!o)for(let t=n.length-2;!o&&t>=0;t--)o=n[t];for(let t=0;t<i.length;t++){const s=i[t];let a=n;if(r.matchBase&&1===s.length&&(a=[o]),this.matchOne(a,s,e))return!!r.flipNegate||!this.negate}return!r.flipNegate&&this.negate}static defaults(t){return l.defaults(t).Minimatch}}l.AST=o.d,l.Minimatch=L,l.escape=s.i,l.unescape=a.x},24754(t,e,r){"use strict";r.d(e,{x:()=>n});const n=(t,{windowsPathsNoEscape:e=!1}={})=>e?t.replace(/\[([^\/\\])\]/g,"$1"):t.replace(/((?!\\).|^)\[([^\/\\])\]/g,"$1$2").replace(/\\([^\/])/g,"$1")},84545(t,e,r){"use strict";r.d(e,{fG:()=>l});const n=":A-Za-z_À-ÖØ-öø-˿Ͱ-ͽͿ-҆҈-῿‌-‍⁰-↏Ⰰ-⿯、-퟿豈-﷏ﷰ-<2D>",i=":A-Za-z_À-˿Ͱ-ͽͿ-҆҈-῿‌-‍⁰-↏Ⰰ-⿯、-퟿豈-﷏ﷰ-<2D>𐀀-󯿿",o=i+"\\-\\.\\d·̀-ͯ҇‿-⁀",s=(t,e,r="")=>{const n=`[${t.replace(":","")}][${e.replace(":","")}]*`;return{name:new RegExp(`^[${t}][${e}]*$`,r),ncName:new RegExp(`^${n}$`,r),qName:new RegExp(`^${n}(?::${n})?$`,r),nmToken:new RegExp(`^[${e}]+$`,r),nmTokens:new RegExp(`^[${e}]+(?:\\s+[${e}]+)*$`,r)}},a=s(n,n+"\\-\\.\\d·̀-ͯ‿-⁀"),u=s(i,o,"u"),l=(t,{xmlVersion:e="1.0"}={})=>((t="1.0")=>"1.1"===t?u:a)(e).qName.test(t)}},i={};function o(t){var e=i[t];if(void 0!==e)return e.exports;var r=i[t]={id:t,loaded:!1,exports:{}};return n[t].call(r.exports,r,r.exports,o),r.loaded=!0,r.exports}o.m=n,t=[],o.O=(e,r,n,i)=>{if(!r){var s=1/0;for(c=0;c<t.length;c++){for(var[r,n,i]=t[c],a=!0,u=0;u<r.length;u++)(!1&i||s>=i)&&Object.keys(o.O).every(t=>o.O[t](r[u]))?r.splice(u--,1):(a=!1,i<s&&(s=i));if(a){t.splice(c--,1);var l=n();void 0!==l&&(e=l)}}return e}i=i||0;for(var c=t.length;c>0&&t[c-1][2]>i;c--)t[c]=t[c-1];t[c]=[r,n,i]},o.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return o.d(e,{a:e}),e},o.d=(t,e)=>{for(var r in e)o.o(e,r)&&!o.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},o.f={},o.e=t=>Promise.all(Object.keys(o.f).reduce((e,r)=>(o.f[r](t,e),e),[])),o.u=t=>t+"-"+t+".js?v="+{1140:"dd55e1cf2dab9870eea9",2221:"5cdd551ed83d9a12c3ed",3556:"b7c0b1e5bc0b11442335",4508:"8c5bb32dab947c09ec93",4906:"75718b28aced26adc4af",5448:"71cfe268d6f1213c4735",5528:"cafd0154d2d0c2b0484e",5862:"580b9c2e231a9169a12f",6015:"8ac07126adf0759a3464",7039:"be7eefcb933f99fc5b1f",7859:"5bcb1bbacda3204063dd",7910:"de857920f8beb5205bbc",8124:"75a422293ae2add34a10",8815:"0f63c2eb085d7b08be1b"}[t],o.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),e={},r="nextcloud-ui-legacy:",o.l=(t,n,i,s)=>{if(e[t])e[t].push(n);else{var a,u;if(void 0!==i)for(var l=document.getElementsByTagName("script"),c=0;c<l.length;c++){var h=l[c];if(h.getAttribute("src")==t||h.getAttribute("data-webpack")==r+i){a=h;break}}a||(u=!0,(a=document.createElement("script")).charset="utf-8",o.nc&&a.setAttribute("nonce",o.nc),a.setAttribute("data-webpack",r+i),a.src=t),e[t]=[n];var p=(r,n)=>{a.onerror=a.onload=null,clearTimeout(f);var i=e[t];if(delete e[t],a.parentNode&&a.parentNode.removeChild(a),i&&i.forEach(t=>t(n)),r)return r(n)},f=setTimeout(p.bind(null,void 0,{type:"timeout",target:a}),12e4);a.onerror=p.bind(null,a.onerror),a.onload=p.bind(null,a.onload),u&&document.head.appendChild(a)}},o.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},o.nmd=t=>(t.paths=[],t.children||(t.children=[]),t),o.j=2122,(()=>{var t;globalThis.importScripts&&(t=globalThis.location+"");var e=globalThis.document;if(!t&&e&&(e.currentScript&&"SCRIPT"===e.currentScript.tagName.toUpperCase()&&(t=e.currentScript.src),!t)){var r=e.getElementsByTagName("script");if(r.length)for(var n=r.length-1;n>-1&&(!t||!/^http(s?):/.test(t));)t=r[n--].src}if(!t)throw new Error("Automatic publicPath is not supported in this browser");t=t.replace(/^blob:/,"").replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),o.p=t})(),(()=>{o.b="undefined"!=typeof document&&document.baseURI||self.location.href;var t={2122:0};o.f.j=(e,r)=>{var n=o.o(t,e)?t[e]:void 0;if(0!==n)if(n)r.push(n[2]);else{var i=new Promise((r,i)=>n=t[e]=[r,i]);r.push(n[2]=i);var s=o.p+o.u(e),a=new Error;o.l(s,r=>{if(o.o(t,e)&&(0!==(n=t[e])&&(t[e]=void 0),n)){var i=r&&("load"===r.type?"missing":r.type),s=r&&r.target&&r.target.src;a.message="Loading chunk "+e+" failed.\n("+i+": "+s+")",a.name="ChunkLoadError",a.type=i,a.request=s,n[1](a)}},"chunk-"+e,e)}},o.O.j=e=>0===t[e];var e=(e,r)=>{var n,i,[s,a,u]=r,l=0;if(s.some(e=>0!==t[e])){for(n in a)o.o(a,n)&&(o.m[n]=a[n]);if(u)var c=u(o)}for(e&&e(r);l<s.length;l++)i=s[l],o.o(t,i)&&t[i]&&t[i][0](),t[i]=0;return o.O(c)},r=globalThis.webpackChunknextcloud_ui_legacy=globalThis.webpackChunknextcloud_ui_legacy||[];r.forEach(e.bind(null,0)),r.push=e.bind(null,r.push.bind(r))})(),o.nc=void 0;var s=o.O(void 0,[4208],()=>o(80609));s=o.O(s)})();
//# sourceMappingURL=comments-comments-tab.js.map?v=53a1d495d9aa1dd454c9