From 0aaf0c17b5b236c56cdb87a9aaf98a4f1ed22591 Mon Sep 17 00:00:00 2001 From: Resolve Bot Date: Fri, 13 Aug 2021 09:09:41 +0000 Subject: [PATCH] Build artifacts --- resolve-gate/dist/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resolve-gate/dist/main.js b/resolve-gate/dist/main.js index 2df7394..b43e565 100644 --- a/resolve-gate/dist/main.js +++ b/resolve-gate/dist/main.js @@ -1 +1 @@ -(()=>{var e={2592:function(e,t,r){"use strict";var n=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t};Object.defineProperty(t,"__esModule",{value:!0});const o=n(r(2087));function i(e,t,r){const n=new s(e,t,r);process.stdout.write(n.toString()+o.EOL)}t.issueCommand=i,t.issue=function(e,t=""){i(e,{},t)};class s{constructor(e,t,r){e||(e="missing.command"),this.command=e,this.properties=t,this.message=r}toString(){let e="::"+this.command;if(this.properties&&Object.keys(this.properties).length>0){e+=" ";let r=!0;for(const n in this.properties)if(this.properties.hasOwnProperty(n)){const o=this.properties[n];o&&(r?r=!1:e+=",",e+=`${n}=${t=o,a(t).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A").replace(/:/g,"%3A").replace(/,/g,"%2C")}`)}}var t;return e+=`::${function(e){return a(e).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A")}(this.message)}`,e}}function a(e){return null==e?"":"string"==typeof e||e instanceof String?e:JSON.stringify(e)}t.toCommandValue=a},516:function(e,t,r){"use strict";var n=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(o,i){function s(e){try{u(n.next(e))}catch(e){i(e)}}function a(e){try{u(n.throw(e))}catch(e){i(e)}}function u(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(s,a)}u((n=n.apply(e,t||[])).next())}))},o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t};Object.defineProperty(t,"__esModule",{value:!0});const i=r(2592),s=o(r(2087)),a=o(r(5622));var u;function l(e){i.issue("error",e instanceof Error?e.toString():e)}function c(e){i.issue("group",e)}function p(){i.issue("endgroup")}!function(e){e[e.Success=0]="Success",e[e.Failure=1]="Failure"}(u=t.ExitCode||(t.ExitCode={})),t.exportVariable=function(e,t){const r=i.toCommandValue(t);process.env[e]=r,i.issueCommand("set-env",{name:e},r)},t.setSecret=function(e){i.issueCommand("add-mask",{},e)},t.addPath=function(e){i.issueCommand("add-path",{},e),process.env.PATH=`${e}${a.delimiter}${process.env.PATH}`},t.getInput=function(e,t){const r=process.env[`INPUT_${e.replace(/ /g,"_").toUpperCase()}`]||"";if(t&&t.required&&!r)throw new Error(`Input required and not supplied: ${e}`);return r.trim()},t.setOutput=function(e,t){i.issueCommand("set-output",{name:e},t)},t.setCommandEcho=function(e){i.issue("echo",e?"on":"off")},t.setFailed=function(e){process.exitCode=u.Failure,l(e)},t.isDebug=function(){return"1"===process.env.RUNNER_DEBUG},t.debug=function(e){i.issueCommand("debug",{},e)},t.error=l,t.warning=function(e){i.issue("warning",e instanceof Error?e.toString():e)},t.info=function(e){process.stdout.write(e+s.EOL)},t.startGroup=c,t.endGroup=p,t.group=function(e,t){return n(this,void 0,void 0,(function*(){let r;c(e);try{r=yield t()}finally{p()}return r}))},t.saveState=function(e,t){i.issueCommand("save-state",{name:e},t)},t.getState=function(e){return process.env[`STATE_${e}`]||""}},2994:(e,t,r)=>{"use strict";r.r(t),r.d(t,{camelCase:()=>v,camelCaseTransform:()=>h,camelCaseTransformMerge:()=>f,capitalCase:()=>g,capitalCaseTransform:()=>m,constantCase:()=>y,dotCase:()=>$,headerCase:()=>b,noCase:()=>a,paramCase:()=>w,pascalCase:()=>p,pascalCaseTransform:()=>l,pascalCaseTransformMerge:()=>c,pathCase:()=>O,sentenceCase:()=>R,sentenceCaseTransform:()=>_,snakeCase:()=>I});var n=function(){return(n=Object.assign||function(e){for(var t,r=1,n=arguments.length;r0&&r>="0"&&r<="9"?"_"+r+n:""+r.toUpperCase()+n}function c(e){return e.charAt(0).toUpperCase()+e.slice(1).toLowerCase()}function p(e,t){return void 0===t&&(t={}),a(e,n({delimiter:"",transform:l},t))}function h(e,t){return 0===t?e.toLowerCase():l(e,t)}function f(e,t){return 0===t?e.toLowerCase():c(e)}function v(e,t){return void 0===t&&(t={}),p(e,n({transform:h},t))}function d(e){return e.charAt(0).toUpperCase()+e.substr(1)}function m(e){return d(e.toLowerCase())}function g(e,t){return void 0===t&&(t={}),a(e,n({delimiter:" ",transform:m},t))}function E(e){return e.toUpperCase()}function y(e,t){return void 0===t&&(t={}),a(e,n({delimiter:"_",transform:E},t))}function $(e,t){return void 0===t&&(t={}),a(e,n({delimiter:"."},t))}function b(e,t){return void 0===t&&(t={}),g(e,n({delimiter:"-"},t))}function w(e,t){return void 0===t&&(t={}),$(e,n({delimiter:"-"},t))}function O(e,t){return void 0===t&&(t={}),$(e,n({delimiter:"/"},t))}function _(e,t){var r=e.toLowerCase();return 0===t?d(r):r}function R(e,t){return void 0===t&&(t={}),a(e,n({delimiter:" ",transform:_},t))}function I(e,t){return void 0===t&&(t={}),$(e,n({delimiter:"_"},t))}},4598:(e,t,r)=>{e=r.nmd(e);var n="__lodash_hash_undefined__",o=9007199254740991,i="[object Arguments]",s="[object Boolean]",a="[object Date]",u="[object Function]",l="[object GeneratorFunction]",c="[object Map]",p="[object Number]",h="[object Object]",f="[object Promise]",v="[object RegExp]",d="[object Set]",m="[object String]",g="[object Symbol]",E="[object WeakMap]",y="[object ArrayBuffer]",$="[object DataView]",b="[object Float32Array]",w="[object Float64Array]",O="[object Int8Array]",_="[object Int16Array]",R="[object Int32Array]",I="[object Uint8Array]",A="[object Uint8ClampedArray]",S="[object Uint16Array]",N="[object Uint32Array]",j=/\w*$/,x=/^\[object .+?Constructor\]$/,L=/^(?:0|[1-9]\d*)$/,T={};T[i]=T["[object Array]"]=T[y]=T[$]=T[s]=T[a]=T[b]=T[w]=T[O]=T[_]=T[R]=T[c]=T[p]=T[h]=T[v]=T[d]=T[m]=T[g]=T[I]=T[A]=T[S]=T[N]=!0,T["[object Error]"]=T[u]=T[E]=!1;var P="object"==typeof global&&global&&global.Object===Object&&global,C="object"==typeof self&&self&&self.Object===Object&&self,M=P||C||Function("return this")(),D=t&&!t.nodeType&&t,F=D&&e&&!e.nodeType&&e,k=F&&F.exports===D;function G(e,t){return e.set(t[0],t[1]),e}function U(e,t){return e.add(t),e}function X(e,t,r,n){var o=-1,i=e?e.length:0;for(n&&i&&(r=e[++o]);++o-1},Ae.prototype.set=function(e,t){var r=this.__data__,n=xe(r,e);return n<0?r.push([e,t]):r[n][1]=t,this},Se.prototype.clear=function(){this.__data__={hash:new Ie,map:new(ve||Ae),string:new Ie}},Se.prototype.delete=function(e){return Ce(this,e).delete(e)},Se.prototype.get=function(e){return Ce(this,e).get(e)},Se.prototype.has=function(e){return Ce(this,e).has(e)},Se.prototype.set=function(e,t){return Ce(this,e).set(e,t),this},Ne.prototype.clear=function(){this.__data__=new Ae},Ne.prototype.delete=function(e){return this.__data__.delete(e)},Ne.prototype.get=function(e){return this.__data__.get(e)},Ne.prototype.has=function(e){return this.__data__.has(e)},Ne.prototype.set=function(e,t){var r=this.__data__;if(r instanceof Ae){var n=r.__data__;if(!ve||n.length<199)return n.push([e,t]),this;r=this.__data__=new Se(n)}return r.set(e,t),this};var De=ce?q(ce,Object):function(){return[]},Fe=function(e){return te.call(e)};function ke(e,t){return!!(t=null==t?o:t)&&("number"==typeof e||L.test(e))&&e>-1&&e%1==0&&e-1&&e%1==0&&e<=o}(e.length)&&!He(e)}var qe=pe||function(){return!1};function He(e){var t=ze(e)?te.call(e):"";return t==u||t==l}function ze(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function Ye(e){return Ve(e)?function(e,t){var r=Be(e)||function(e){return function(e){return function(e){return!!e&&"object"==typeof e}(e)&&Ve(e)}(e)&&ee.call(e,"callee")&&(!ue.call(e,"callee")||te.call(e)==i)}(e)?function(e,t){for(var r=-1,n=Array(e);++r{e=r.nmd(e);var n,o,i,s="[object Map]",a="[object Promise]",u="[object Set]",l="[object WeakMap]",c="[object DataView]",p=/^\[object .+?Constructor\]$/,h="object"==typeof global&&global&&global.Object===Object&&global,f="object"==typeof self&&self&&self.Object===Object&&self,v=h||f||Function("return this")(),d=t&&!t.nodeType&&t,m=d&&e&&!e.nodeType&&e,g=m&&m.exports===d,E=Function.prototype,y=Object.prototype,$=v["__core-js_shared__"],b=(n=/[^.]+$/.exec($&&$.keys&&$.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"",w=E.toString,O=y.hasOwnProperty,_=y.toString,R=RegExp("^"+w.call(O).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),I=g?v.Buffer:void 0,A=y.propertyIsEnumerable,S=I?I.isBuffer:void 0,N=(o=Object.keys,i=Object,function(e){return o(i(e))}),j=U(v,"DataView"),x=U(v,"Map"),L=U(v,"Promise"),T=U(v,"Set"),P=U(v,"WeakMap"),C=!A.call({valueOf:1},"valueOf"),M=B(j),D=B(x),F=B(L),k=B(T),G=B(P);function U(e,t){var r=function(e,t){return null==e?void 0:e[t]}(e,t);return function(e){return!(!Y(e)||function(e){return!!b&&b in e}(e))&&(z(e)||function(e){var t=!1;if(null!=e&&"function"!=typeof e.toString)try{t=!!(e+"")}catch(e){}return t}(e)?R:p).test(B(e))}(r)?r:void 0}var X=function(e){return _.call(e)};function B(e){if(null!=e){try{return w.call(e)}catch(e){}try{return e+""}catch(e){}}return""}(j&&X(new j(new ArrayBuffer(1)))!=c||x&&X(new x)!=s||L&&X(L.resolve())!=a||T&&X(new T)!=u||P&&X(new P)!=l)&&(X=function(e){var t=_.call(e),r="[object Object]"==t?e.constructor:void 0,n=r?B(r):void 0;if(n)switch(n){case M:return c;case D:return s;case F:return a;case k:return u;case G:return l}return t});var V=Array.isArray;function q(e){return null!=e&&function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}(e.length)&&!z(e)}var H=S||function(){return!1};function z(e){var t=Y(e)?_.call(e):"";return"[object Function]"==t||"[object GeneratorFunction]"==t}function Y(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}e.exports=function(e){if(q(e)&&(V(e)||"string"==typeof e||"function"==typeof e.splice||H(e)||function(e){return function(e){return function(e){return!!e&&"object"==typeof e}(e)&&q(e)}(e)&&O.call(e,"callee")&&(!A.call(e,"callee")||"[object Arguments]"==_.call(e))}(e)))return!e.length;var t=X(e);if(t==s||t==u)return!e.size;if(C||function(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||y)}(e))return!N(e).length;for(var r in e)if(O.call(e,r))return!1;return!0}},932:e=>{var t="__lodash_placeholder__",r=[["ary",128],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",32],["partialRight",64],["rearg",256]],n=/^\s+|\s+$/g,o=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,i=/\{\n\/\* \[wrapped with (.+)\] \*/,s=/,? & /,a=/^[-+]0x[0-9a-f]+$/i,u=/^0b[01]+$/i,l=/^\[object .+?Constructor\]$/,c=/^0o[0-7]+$/i,p=/^(?:0|[1-9]\d*)$/,h=parseInt,f="object"==typeof global&&global&&global.Object===Object&&global,v="object"==typeof self&&self&&self.Object===Object&&self,d=f||v||Function("return this")();function m(e,t,r){switch(r.length){case 0:return e.call(t);case 1:return e.call(t,r[0]);case 2:return e.call(t,r[0],r[1]);case 3:return e.call(t,r[0],r[1],r[2])}return e.apply(t,r)}function g(e){return e!=e}function E(e,t){for(var r=e.length,n=0;r--;)e[r]===t&&n++;return n}function y(e,r){for(var n=-1,o=e.length,i=0,s=[];++n2?b:void 0);function C(e){return W(e)?x(e):{}}function M(e,t,r,n){for(var o=-1,i=e.length,s=r.length,a=-1,u=t.length,l=L(i-s,0),c=Array(u+l),p=!n;++a1&&b.reverse(),c&&u<$&&(b.length=u),this&&this!==d&&this instanceof g&&(A=m||F(A)),A.apply(I,b)}}function G(e,t,r,n,o,i,s,a,u,l){var c=8&t;t|=c?32:64,4&(t&=~(c?64:32))||(t&=-4);var p=r(e,t,o,c?i:void 0,c?s:void 0,c?void 0:i,c?void 0:s,a,u,l);return p.placeholder=n,z(p,e,t)}function U(e){return e.placeholder}function X(e,t){var r=function(e,t){return null==e?void 0:e[t]}(e,t);return function(e){return!(!W(e)||function(e){return!!I&&I in e}(e))&&(function(e){var t=W(e)?N.call(e):"";return"[object Function]"==t||"[object GeneratorFunction]"==t}(e)||function(e){var t=!1;if(null!=e&&"function"!=typeof e.toString)try{t=!!(e+"")}catch(e){}return t}(e)?j:l).test(function(e){if(null!=e){try{return A.call(e)}catch(e){}try{return e+""}catch(e){}}return""}(e))}(r)?r:void 0}function B(e){var t=e.match(i);return t?t[1].split(s):[]}function V(e,t){var r=t.length,n=r-1;return t[n]=(r>1?"& ":"")+t[n],t=t.join(r>2?", ":" "),e.replace(o,"{\n/* [wrapped with "+t+"] */\n")}function q(e,t){return!!(t=null==t?9007199254740991:t)&&("number"==typeof e||p.test(e))&&e>-1&&e%1==0&&e-1}(e,a)&&e.push(a))););var s,a}(r),e.sort()}var J=function(e,t){return t=L(void 0===t?e.length-1:t,0),function(){for(var r=arguments,n=-1,o=L(r.length-t,0),i=Array(o);++n{"use strict";const n=r(7372),o=Symbol("max"),i=Symbol("length"),s=Symbol("lengthCalculator"),a=Symbol("allowStale"),u=Symbol("maxAge"),l=Symbol("dispose"),c=Symbol("noDisposeOnSet"),p=Symbol("lruList"),h=Symbol("cache"),f=Symbol("updateAgeOnGet"),v=()=>1,d=(e,t,r)=>{const n=e[h].get(t);if(n){const t=n.value;if(m(e,t)){if(E(e,n),!e[a])return}else r&&(e[f]&&(n.value.now=Date.now()),e[p].unshiftNode(n));return t.value}},m=(e,t)=>{if(!t||!t.maxAge&&!e[u])return!1;const r=Date.now()-t.now;return t.maxAge?r>t.maxAge:e[u]&&r>e[u]},g=e=>{if(e[i]>e[o])for(let t=e[p].tail;e[i]>e[o]&&null!==t;){const r=t.prev;E(e,t),t=r}},E=(e,t)=>{if(t){const r=t.value;e[l]&&e[l](r.key,r.value),e[i]-=r.length,e[h].delete(r.key),e[p].removeNode(t)}};class y{constructor(e,t,r,n,o){this.key=e,this.value=t,this.length=r,this.now=n,this.maxAge=o||0}}const $=(e,t,r,n)=>{let o=r.value;m(e,o)&&(E(e,r),e[a]||(o=void 0)),o&&t.call(n,o.value,o.key,e)};e.exports=class{constructor(e){if("number"==typeof e&&(e={max:e}),e||(e={}),e.max&&("number"!=typeof e.max||e.max<0))throw new TypeError("max must be a non-negative number");this[o]=e.max||1/0;const t=e.length||v;if(this[s]="function"!=typeof t?v:t,this[a]=e.stale||!1,e.maxAge&&"number"!=typeof e.maxAge)throw new TypeError("maxAge must be a number");this[u]=e.maxAge||0,this[l]=e.dispose,this[c]=e.noDisposeOnSet||!1,this[f]=e.updateAgeOnGet||!1,this.reset()}set max(e){if("number"!=typeof e||e<0)throw new TypeError("max must be a non-negative number");this[o]=e||1/0,g(this)}get max(){return this[o]}set allowStale(e){this[a]=!!e}get allowStale(){return this[a]}set maxAge(e){if("number"!=typeof e)throw new TypeError("maxAge must be a non-negative number");this[u]=e,g(this)}get maxAge(){return this[u]}set lengthCalculator(e){"function"!=typeof e&&(e=v),e!==this[s]&&(this[s]=e,this[i]=0,this[p].forEach((e=>{e.length=this[s](e.value,e.key),this[i]+=e.length}))),g(this)}get lengthCalculator(){return this[s]}get length(){return this[i]}get itemCount(){return this[p].length}rforEach(e,t){t=t||this;for(let r=this[p].tail;null!==r;){const n=r.prev;$(this,e,r,t),r=n}}forEach(e,t){t=t||this;for(let r=this[p].head;null!==r;){const n=r.next;$(this,e,r,t),r=n}}keys(){return this[p].toArray().map((e=>e.key))}values(){return this[p].toArray().map((e=>e.value))}reset(){this[l]&&this[p]&&this[p].length&&this[p].forEach((e=>this[l](e.key,e.value))),this[h]=new Map,this[p]=new n,this[i]=0}dump(){return this[p].map((e=>!m(this,e)&&{k:e.key,v:e.value,e:e.now+(e.maxAge||0)})).toArray().filter((e=>e))}dumpLru(){return this[p]}set(e,t,r){if((r=r||this[u])&&"number"!=typeof r)throw new TypeError("maxAge must be a number");const n=r?Date.now():0,a=this[s](t,e);if(this[h].has(e)){if(a>this[o])return E(this,this[h].get(e)),!1;const s=this[h].get(e).value;return this[l]&&(this[c]||this[l](e,s.value)),s.now=n,s.maxAge=r,s.value=t,this[i]+=a-s.length,s.length=a,this.get(e),g(this),!0}const f=new y(e,t,a,n,r);return f.length>this[o]?(this[l]&&this[l](e,t),!1):(this[i]+=f.length,this[p].unshift(f),this[h].set(e,this[p].head),g(this),!0)}has(e){if(!this[h].has(e))return!1;const t=this[h].get(e).value;return!m(this,t)}get(e){return d(this,e,!0)}peek(e){return d(this,e,!1)}pop(){const e=this[p].tail;return e?(E(this,e),e.value):null}del(e){E(this,this[h].get(e))}load(e){this.reset();const t=Date.now();for(let r=e.length-1;r>=0;r--){const n=e[r],o=n.e||0;if(0===o)this.set(n.k,n.v);else{const e=o-t;e>0&&this.set(n.k,n.v,e)}}}prune(){this[h].forEach(((e,t)=>d(this,t,!1)))}}},3134:(e,t,r)=>{const n=Symbol("SemVer ANY");class o{static get ANY(){return n}constructor(e,t){if(t=i(t),e instanceof o){if(e.loose===!!t.loose)return e;e=e.value}l("comparator",e,t),this.options=t,this.loose=!!t.loose,this.parse(e),this.semver===n?this.value="":this.value=this.operator+this.semver.version,l("comp",this)}parse(e){const t=this.options.loose?s[a.COMPARATORLOOSE]:s[a.COMPARATOR],r=e.match(t);if(!r)throw new TypeError(`Invalid comparator: ${e}`);this.operator=void 0!==r[1]?r[1]:"","="===this.operator&&(this.operator=""),r[2]?this.semver=new c(r[2],this.options.loose):this.semver=n}toString(){return this.value}test(e){if(l("Comparator.test",e,this.options.loose),this.semver===n||e===n)return!0;if("string"==typeof e)try{e=new c(e,this.options)}catch(e){return!1}return u(e,this.operator,this.semver,this.options)}intersects(e,t){if(!(e instanceof o))throw new TypeError("a Comparator is required");if(t&&"object"==typeof t||(t={loose:!!t,includePrerelease:!1}),""===this.operator)return""===this.value||new p(e.value,t).test(this.value);if(""===e.operator)return""===e.value||new p(this.value,t).test(e.semver);const r=!(">="!==this.operator&&">"!==this.operator||">="!==e.operator&&">"!==e.operator),n=!("<="!==this.operator&&"<"!==this.operator||"<="!==e.operator&&"<"!==e.operator),i=this.semver.version===e.semver.version,s=!(">="!==this.operator&&"<="!==this.operator||">="!==e.operator&&"<="!==e.operator),a=u(this.semver,"<",e.semver,t)&&(">="===this.operator||">"===this.operator)&&("<="===e.operator||"<"===e.operator),l=u(this.semver,">",e.semver,t)&&("<="===this.operator||"<"===this.operator)&&(">="===e.operator||">"===e.operator);return r||n||i&&s||a||l}}e.exports=o;const i=r(8716),{re:s,t:a}=r(9022),u=r(5452),l=r(6830),c=r(9510),p=r(7374)},7374:(e,t,r)=>{class n{constructor(e,t){if(t=i(t),e instanceof n)return e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease?e:new n(e.raw,t);if(e instanceof s)return this.raw=e.value,this.set=[[e]],this.format(),this;if(this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease,this.raw=e,this.set=e.split(/\s*\|\|\s*/).map((e=>this.parseRange(e.trim()))).filter((e=>e.length)),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${e}`);if(this.set.length>1){const e=this.set[0];if(this.set=this.set.filter((e=>!v(e[0]))),0===this.set.length)this.set=[e];else if(this.set.length>1)for(const e of this.set)if(1===e.length&&d(e[0])){this.set=[e];break}}this.format()}format(){return this.range=this.set.map((e=>e.join(" ").trim())).join("||").trim(),this.range}toString(){return this.range}parseRange(e){e=e.trim();const t=`parseRange:${Object.keys(this.options).join(",")}:${e}`,r=o.get(t);if(r)return r;const n=this.options.loose,i=n?l[c.HYPHENRANGELOOSE]:l[c.HYPHENRANGE];e=e.replace(i,A(this.options.includePrerelease)),a("hyphen replace",e),e=e.replace(l[c.COMPARATORTRIM],p),a("comparator trim",e,l[c.COMPARATORTRIM]),e=(e=(e=e.replace(l[c.TILDETRIM],h)).replace(l[c.CARETTRIM],f)).split(/\s+/).join(" ");const u=n?l[c.COMPARATORLOOSE]:l[c.COMPARATOR],d=e.split(" ").map((e=>g(e,this.options))).join(" ").split(/\s+/).map((e=>I(e,this.options))).filter(this.options.loose?e=>!!e.match(u):()=>!0).map((e=>new s(e,this.options))),m=(d.length,new Map);for(const e of d){if(v(e))return[e];m.set(e.value,e)}m.size>1&&m.has("")&&m.delete("");const E=[...m.values()];return o.set(t,E),E}intersects(e,t){if(!(e instanceof n))throw new TypeError("a Range is required");return this.set.some((r=>m(r,t)&&e.set.some((e=>m(e,t)&&r.every((r=>e.every((e=>r.intersects(e,t)))))))))}test(e){if(!e)return!1;if("string"==typeof e)try{e=new u(e,this.options)}catch(e){return!1}for(let t=0;t"<0.0.0-0"===e.value,d=e=>""===e.value,m=(e,t)=>{let r=!0;const n=e.slice();let o=n.pop();for(;r&&n.length;)r=n.every((e=>o.intersects(e,t))),o=n.pop();return r},g=(e,t)=>(a("comp",e,t),e=b(e,t),a("caret",e),e=y(e,t),a("tildes",e),e=O(e,t),a("xrange",e),e=R(e,t),a("stars",e),e),E=e=>!e||"x"===e.toLowerCase()||"*"===e,y=(e,t)=>e.trim().split(/\s+/).map((e=>$(e,t))).join(" "),$=(e,t)=>{const r=t.loose?l[c.TILDELOOSE]:l[c.TILDE];return e.replace(r,((t,r,n,o,i)=>{let s;return a("tilde",e,t,r,n,o,i),E(r)?s="":E(n)?s=`>=${r}.0.0 <${+r+1}.0.0-0`:E(o)?s=`>=${r}.${n}.0 <${r}.${+n+1}.0-0`:i?(a("replaceTilde pr",i),s=`>=${r}.${n}.${o}-${i} <${r}.${+n+1}.0-0`):s=`>=${r}.${n}.${o} <${r}.${+n+1}.0-0`,a("tilde return",s),s}))},b=(e,t)=>e.trim().split(/\s+/).map((e=>w(e,t))).join(" "),w=(e,t)=>{a("caret",e,t);const r=t.loose?l[c.CARETLOOSE]:l[c.CARET],n=t.includePrerelease?"-0":"";return e.replace(r,((t,r,o,i,s)=>{let u;return a("caret",e,t,r,o,i,s),E(r)?u="":E(o)?u=`>=${r}.0.0${n} <${+r+1}.0.0-0`:E(i)?u="0"===r?`>=${r}.${o}.0${n} <${r}.${+o+1}.0-0`:`>=${r}.${o}.0${n} <${+r+1}.0.0-0`:s?(a("replaceCaret pr",s),u="0"===r?"0"===o?`>=${r}.${o}.${i}-${s} <${r}.${o}.${+i+1}-0`:`>=${r}.${o}.${i}-${s} <${r}.${+o+1}.0-0`:`>=${r}.${o}.${i}-${s} <${+r+1}.0.0-0`):(a("no pr"),u="0"===r?"0"===o?`>=${r}.${o}.${i}${n} <${r}.${o}.${+i+1}-0`:`>=${r}.${o}.${i}${n} <${r}.${+o+1}.0-0`:`>=${r}.${o}.${i} <${+r+1}.0.0-0`),a("caret return",u),u}))},O=(e,t)=>(a("replaceXRanges",e,t),e.split(/\s+/).map((e=>_(e,t))).join(" ")),_=(e,t)=>{e=e.trim();const r=t.loose?l[c.XRANGELOOSE]:l[c.XRANGE];return e.replace(r,((r,n,o,i,s,u)=>{a("xRange",e,r,n,o,i,s,u);const l=E(o),c=l||E(i),p=c||E(s),h=p;return"="===n&&h&&(n=""),u=t.includePrerelease?"-0":"",l?r=">"===n||"<"===n?"<0.0.0-0":"*":n&&h?(c&&(i=0),s=0,">"===n?(n=">=",c?(o=+o+1,i=0,s=0):(i=+i+1,s=0)):"<="===n&&(n="<",c?o=+o+1:i=+i+1),"<"===n&&(u="-0"),r=`${n+o}.${i}.${s}${u}`):c?r=`>=${o}.0.0${u} <${+o+1}.0.0-0`:p&&(r=`>=${o}.${i}.0${u} <${o}.${+i+1}.0-0`),a("xRange return",r),r}))},R=(e,t)=>(a("replaceStars",e,t),e.trim().replace(l[c.STAR],"")),I=(e,t)=>(a("replaceGTE0",e,t),e.trim().replace(l[t.includePrerelease?c.GTE0PRE:c.GTE0],"")),A=e=>(t,r,n,o,i,s,a,u,l,c,p,h,f)=>`${r=E(n)?"":E(o)?`>=${n}.0.0${e?"-0":""}`:E(i)?`>=${n}.${o}.0${e?"-0":""}`:s?`>=${r}`:`>=${r}${e?"-0":""}`} ${u=E(l)?"":E(c)?`<${+l+1}.0.0-0`:E(p)?`<${l}.${+c+1}.0-0`:h?`<=${l}.${c}.${p}-${h}`:e?`<${l}.${c}.${+p+1}-0`:`<=${u}`}`.trim(),S=(e,t,r)=>{for(let r=0;r0){const n=e[r].semver;if(n.major===t.major&&n.minor===t.minor&&n.patch===t.patch)return!0}return!1}return!0}},9510:(e,t,r)=>{const n=r(6830),{MAX_LENGTH:o,MAX_SAFE_INTEGER:i}=r(39),{re:s,t:a}=r(9022),u=r(8716),{compareIdentifiers:l}=r(8822);class c{constructor(e,t){if(t=u(t),e instanceof c){if(e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease)return e;e=e.version}else if("string"!=typeof e)throw new TypeError(`Invalid Version: ${e}`);if(e.length>o)throw new TypeError(`version is longer than ${o} characters`);n("SemVer",e,t),this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease;const r=e.trim().match(t.loose?s[a.LOOSE]:s[a.FULL]);if(!r)throw new TypeError(`Invalid Version: ${e}`);if(this.raw=e,this.major=+r[1],this.minor=+r[2],this.patch=+r[3],this.major>i||this.major<0)throw new TypeError("Invalid major version");if(this.minor>i||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>i||this.patch<0)throw new TypeError("Invalid patch version");r[4]?this.prerelease=r[4].split(".").map((e=>{if(/^[0-9]+$/.test(e)){const t=+e;if(t>=0&&t=0;)"number"==typeof this.prerelease[e]&&(this.prerelease[e]++,e=-2);-1===e&&this.prerelease.push(0)}t&&(this.prerelease[0]===t?isNaN(this.prerelease[1])&&(this.prerelease=[t,0]):this.prerelease=[t,0]);break;default:throw new Error(`invalid increment argument: ${e}`)}return this.format(),this.raw=this.version,this}}e.exports=c},6457:(e,t,r)=>{const n=r(5692);e.exports=(e,t)=>{const r=n(e.trim().replace(/^[=v]+/,""),t);return r?r.version:null}},5452:(e,t,r)=>{const n=r(8565),o=r(3328),i=r(2260),s=r(6579),a=r(290),u=r(5891);e.exports=(e,t,r,l)=>{switch(t){case"===":return"object"==typeof e&&(e=e.version),"object"==typeof r&&(r=r.version),e===r;case"!==":return"object"==typeof e&&(e=e.version),"object"==typeof r&&(r=r.version),e!==r;case"":case"=":case"==":return n(e,r,l);case"!=":return o(e,r,l);case">":return i(e,r,l);case">=":return s(e,r,l);case"<":return a(e,r,l);case"<=":return u(e,r,l);default:throw new TypeError(`Invalid operator: ${t}`)}}},9469:(e,t,r)=>{const n=r(9510),o=r(5692),{re:i,t:s}=r(9022);e.exports=(e,t)=>{if(e instanceof n)return e;if("number"==typeof e&&(e=String(e)),"string"!=typeof e)return null;let r=null;if((t=t||{}).rtl){let t;for(;(t=i[s.COERCERTL].exec(e))&&(!r||r.index+r[0].length!==e.length);)r&&t.index+t[0].length===r.index+r[0].length||(r=t),i[s.COERCERTL].lastIndex=t.index+t[1].length+t[2].length;i[s.COERCERTL].lastIndex=-1}else r=e.match(i[s.COERCE]);return null===r?null:o(`${r[2]}.${r[3]||"0"}.${r[4]||"0"}`,t)}},1868:(e,t,r)=>{const n=r(9510);e.exports=(e,t,r)=>{const o=new n(e,r),i=new n(t,r);return o.compare(i)||o.compareBuild(i)}},5919:(e,t,r)=>{const n=r(3992);e.exports=(e,t)=>n(e,t,!0)},3992:(e,t,r)=>{const n=r(9510);e.exports=(e,t,r)=>new n(e,r).compare(new n(t,r))},1007:(e,t,r)=>{const n=r(5692),o=r(8565);e.exports=(e,t)=>{if(o(e,t))return null;{const r=n(e),o=n(t),i=r.prerelease.length||o.prerelease.length,s=i?"pre":"",a=i?"prerelease":"";for(const e in r)if(("major"===e||"minor"===e||"patch"===e)&&r[e]!==o[e])return s+e;return a}}},8565:(e,t,r)=>{const n=r(3992);e.exports=(e,t,r)=>0===n(e,t,r)},2260:(e,t,r)=>{const n=r(3992);e.exports=(e,t,r)=>n(e,t,r)>0},6579:(e,t,r)=>{const n=r(3992);e.exports=(e,t,r)=>n(e,t,r)>=0},515:(e,t,r)=>{const n=r(9510);e.exports=(e,t,r,o)=>{"string"==typeof r&&(o=r,r=void 0);try{return new n(e,r).inc(t,o).version}catch(e){return null}}},290:(e,t,r)=>{const n=r(3992);e.exports=(e,t,r)=>n(e,t,r)<0},5891:(e,t,r)=>{const n=r(3992);e.exports=(e,t,r)=>n(e,t,r)<=0},2611:(e,t,r)=>{const n=r(9510);e.exports=(e,t)=>new n(e,t).major},6319:(e,t,r)=>{const n=r(9510);e.exports=(e,t)=>new n(e,t).minor},3328:(e,t,r)=>{const n=r(3992);e.exports=(e,t,r)=>0!==n(e,t,r)},5692:(e,t,r)=>{const{MAX_LENGTH:n}=r(39),{re:o,t:i}=r(9022),s=r(9510),a=r(8716);e.exports=(e,t)=>{if(t=a(t),e instanceof s)return e;if("string"!=typeof e)return null;if(e.length>n)return null;if(!(t.loose?o[i.LOOSE]:o[i.FULL]).test(e))return null;try{return new s(e,t)}catch(e){return null}}},7368:(e,t,r)=>{const n=r(9510);e.exports=(e,t)=>new n(e,t).patch},7794:(e,t,r)=>{const n=r(5692);e.exports=(e,t)=>{const r=n(e,t);return r&&r.prerelease.length?r.prerelease:null}},9114:(e,t,r)=>{const n=r(3992);e.exports=(e,t,r)=>n(t,e,r)},3843:(e,t,r)=>{const n=r(1868);e.exports=(e,t)=>e.sort(((e,r)=>n(r,e,t)))},9845:(e,t,r)=>{const n=r(7374);e.exports=(e,t,r)=>{try{t=new n(t,r)}catch(e){return!1}return t.test(e)}},8753:(e,t,r)=>{const n=r(1868);e.exports=(e,t)=>e.sort(((e,r)=>n(e,r,t)))},398:(e,t,r)=>{const n=r(5692);e.exports=(e,t)=>{const r=n(e,t);return r?r.version:null}},8873:(e,t,r)=>{const n=r(9022);e.exports={re:n.re,src:n.src,tokens:n.t,SEMVER_SPEC_VERSION:r(39).SEMVER_SPEC_VERSION,SemVer:r(9510),compareIdentifiers:r(8822).compareIdentifiers,rcompareIdentifiers:r(8822).rcompareIdentifiers,parse:r(5692),valid:r(398),clean:r(6457),inc:r(515),diff:r(1007),major:r(2611),minor:r(6319),patch:r(7368),prerelease:r(7794),compare:r(3992),rcompare:r(9114),compareLoose:r(5919),compareBuild:r(1868),sort:r(8753),rsort:r(3843),gt:r(2260),lt:r(290),eq:r(8565),neq:r(3328),gte:r(6579),lte:r(5891),cmp:r(5452),coerce:r(9469),Comparator:r(3134),Range:r(7374),satisfies:r(9845),toComparators:r(8384),maxSatisfying:r(6369),minSatisfying:r(2663),minVersion:r(75),validRange:r(9178),outside:r(9434),gtr:r(8237),ltr:r(9860),intersects:r(8258),simplifyRange:r(3607),subset:r(2199)}},39:e=>{const t=Number.MAX_SAFE_INTEGER||9007199254740991;e.exports={SEMVER_SPEC_VERSION:"2.0.0",MAX_LENGTH:256,MAX_SAFE_INTEGER:t,MAX_SAFE_COMPONENT_LENGTH:16}},6830:e=>{const t="object"==typeof process&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...e)=>console.error("SEMVER",...e):()=>{};e.exports=t},8822:e=>{const t=/^[0-9]+$/,r=(e,r)=>{const n=t.test(e),o=t.test(r);return n&&o&&(e=+e,r=+r),e===r?0:n&&!o?-1:o&&!n?1:er(t,e)}},8716:e=>{const t=["includePrerelease","loose","rtl"];e.exports=e=>e?"object"!=typeof e?{loose:!0}:t.filter((t=>e[t])).reduce(((e,t)=>(e[t]=!0,e)),{}):{}},9022:(e,t,r)=>{const{MAX_SAFE_COMPONENT_LENGTH:n}=r(39),o=r(6830),i=(t=e.exports={}).re=[],s=t.src=[],a=t.t={};let u=0;const l=(e,t,r)=>{const n=u++;o(n,t),a[e]=n,s[n]=t,i[n]=new RegExp(t,r?"g":void 0)};l("NUMERICIDENTIFIER","0|[1-9]\\d*"),l("NUMERICIDENTIFIERLOOSE","[0-9]+"),l("NONNUMERICIDENTIFIER","\\d*[a-zA-Z-][a-zA-Z0-9-]*"),l("MAINVERSION",`(${s[a.NUMERICIDENTIFIER]})\\.(${s[a.NUMERICIDENTIFIER]})\\.(${s[a.NUMERICIDENTIFIER]})`),l("MAINVERSIONLOOSE",`(${s[a.NUMERICIDENTIFIERLOOSE]})\\.(${s[a.NUMERICIDENTIFIERLOOSE]})\\.(${s[a.NUMERICIDENTIFIERLOOSE]})`),l("PRERELEASEIDENTIFIER",`(?:${s[a.NUMERICIDENTIFIER]}|${s[a.NONNUMERICIDENTIFIER]})`),l("PRERELEASEIDENTIFIERLOOSE",`(?:${s[a.NUMERICIDENTIFIERLOOSE]}|${s[a.NONNUMERICIDENTIFIER]})`),l("PRERELEASE",`(?:-(${s[a.PRERELEASEIDENTIFIER]}(?:\\.${s[a.PRERELEASEIDENTIFIER]})*))`),l("PRERELEASELOOSE",`(?:-?(${s[a.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${s[a.PRERELEASEIDENTIFIERLOOSE]})*))`),l("BUILDIDENTIFIER","[0-9A-Za-z-]+"),l("BUILD",`(?:\\+(${s[a.BUILDIDENTIFIER]}(?:\\.${s[a.BUILDIDENTIFIER]})*))`),l("FULLPLAIN",`v?${s[a.MAINVERSION]}${s[a.PRERELEASE]}?${s[a.BUILD]}?`),l("FULL",`^${s[a.FULLPLAIN]}$`),l("LOOSEPLAIN",`[v=\\s]*${s[a.MAINVERSIONLOOSE]}${s[a.PRERELEASELOOSE]}?${s[a.BUILD]}?`),l("LOOSE",`^${s[a.LOOSEPLAIN]}$`),l("GTLT","((?:<|>)?=?)"),l("XRANGEIDENTIFIERLOOSE",`${s[a.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),l("XRANGEIDENTIFIER",`${s[a.NUMERICIDENTIFIER]}|x|X|\\*`),l("XRANGEPLAIN",`[v=\\s]*(${s[a.XRANGEIDENTIFIER]})(?:\\.(${s[a.XRANGEIDENTIFIER]})(?:\\.(${s[a.XRANGEIDENTIFIER]})(?:${s[a.PRERELEASE]})?${s[a.BUILD]}?)?)?`),l("XRANGEPLAINLOOSE",`[v=\\s]*(${s[a.XRANGEIDENTIFIERLOOSE]})(?:\\.(${s[a.XRANGEIDENTIFIERLOOSE]})(?:\\.(${s[a.XRANGEIDENTIFIERLOOSE]})(?:${s[a.PRERELEASELOOSE]})?${s[a.BUILD]}?)?)?`),l("XRANGE",`^${s[a.GTLT]}\\s*${s[a.XRANGEPLAIN]}$`),l("XRANGELOOSE",`^${s[a.GTLT]}\\s*${s[a.XRANGEPLAINLOOSE]}$`),l("COERCE",`(^|[^\\d])(\\d{1,${n}})(?:\\.(\\d{1,${n}}))?(?:\\.(\\d{1,${n}}))?(?:$|[^\\d])`),l("COERCERTL",s[a.COERCE],!0),l("LONETILDE","(?:~>?)"),l("TILDETRIM",`(\\s*)${s[a.LONETILDE]}\\s+`,!0),t.tildeTrimReplace="$1~",l("TILDE",`^${s[a.LONETILDE]}${s[a.XRANGEPLAIN]}$`),l("TILDELOOSE",`^${s[a.LONETILDE]}${s[a.XRANGEPLAINLOOSE]}$`),l("LONECARET","(?:\\^)"),l("CARETTRIM",`(\\s*)${s[a.LONECARET]}\\s+`,!0),t.caretTrimReplace="$1^",l("CARET",`^${s[a.LONECARET]}${s[a.XRANGEPLAIN]}$`),l("CARETLOOSE",`^${s[a.LONECARET]}${s[a.XRANGEPLAINLOOSE]}$`),l("COMPARATORLOOSE",`^${s[a.GTLT]}\\s*(${s[a.LOOSEPLAIN]})$|^$`),l("COMPARATOR",`^${s[a.GTLT]}\\s*(${s[a.FULLPLAIN]})$|^$`),l("COMPARATORTRIM",`(\\s*)${s[a.GTLT]}\\s*(${s[a.LOOSEPLAIN]}|${s[a.XRANGEPLAIN]})`,!0),t.comparatorTrimReplace="$1$2$3",l("HYPHENRANGE",`^\\s*(${s[a.XRANGEPLAIN]})\\s+-\\s+(${s[a.XRANGEPLAIN]})\\s*$`),l("HYPHENRANGELOOSE",`^\\s*(${s[a.XRANGEPLAINLOOSE]})\\s+-\\s+(${s[a.XRANGEPLAINLOOSE]})\\s*$`),l("STAR","(<|>)?=?\\s*\\*"),l("GTE0","^\\s*>=\\s*0.0.0\\s*$"),l("GTE0PRE","^\\s*>=\\s*0.0.0-0\\s*$")},8237:(e,t,r)=>{const n=r(9434);e.exports=(e,t,r)=>n(e,t,">",r)},8258:(e,t,r)=>{const n=r(7374);e.exports=(e,t,r)=>(e=new n(e,r),t=new n(t,r),e.intersects(t))},9860:(e,t,r)=>{const n=r(9434);e.exports=(e,t,r)=>n(e,t,"<",r)},6369:(e,t,r)=>{const n=r(9510),o=r(7374);e.exports=(e,t,r)=>{let i=null,s=null,a=null;try{a=new o(t,r)}catch(e){return null}return e.forEach((e=>{a.test(e)&&(i&&-1!==s.compare(e)||(i=e,s=new n(i,r)))})),i}},2663:(e,t,r)=>{const n=r(9510),o=r(7374);e.exports=(e,t,r)=>{let i=null,s=null,a=null;try{a=new o(t,r)}catch(e){return null}return e.forEach((e=>{a.test(e)&&(i&&1!==s.compare(e)||(i=e,s=new n(i,r)))})),i}},75:(e,t,r)=>{const n=r(9510),o=r(7374),i=r(2260);e.exports=(e,t)=>{e=new o(e,t);let r=new n("0.0.0");if(e.test(r))return r;if(r=new n("0.0.0-0"),e.test(r))return r;r=null;for(let t=0;t{const t=new n(e.semver.version);switch(e.operator){case">":0===t.prerelease.length?t.patch++:t.prerelease.push(0),t.raw=t.format();case"":case">=":s&&!i(t,s)||(s=t);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${e.operator}`)}})),!s||r&&!i(r,s)||(r=s)}return r&&e.test(r)?r:null}},9434:(e,t,r)=>{const n=r(9510),o=r(3134),{ANY:i}=o,s=r(7374),a=r(9845),u=r(2260),l=r(290),c=r(5891),p=r(6579);e.exports=(e,t,r,h)=>{let f,v,d,m,g;switch(e=new n(e,h),t=new s(t,h),r){case">":f=u,v=c,d=l,m=">",g=">=";break;case"<":f=l,v=p,d=u,m="<",g="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(a(e,t,h))return!1;for(let r=0;r{e.semver===i&&(e=new o(">=0.0.0")),s=s||e,a=a||e,f(e.semver,s.semver,h)?s=e:d(e.semver,a.semver,h)&&(a=e)})),s.operator===m||s.operator===g)return!1;if((!a.operator||a.operator===m)&&v(e,a.semver))return!1;if(a.operator===g&&d(e,a.semver))return!1}return!0}},3607:(e,t,r)=>{const n=r(9845),o=r(3992);e.exports=(e,t,r)=>{const i=[];let s=null,a=null;const u=e.sort(((e,t)=>o(e,t,r)));for(const e of u)n(e,t,r)?(a=e,s||(s=e)):(a&&i.push([s,a]),a=null,s=null);s&&i.push([s,null]);const l=[];for(const[e,t]of i)e===t?l.push(e):t||e!==u[0]?t?e===u[0]?l.push(`<=${t}`):l.push(`${e} - ${t}`):l.push(`>=${e}`):l.push("*");const c=l.join(" || "),p="string"==typeof t.raw?t.raw:String(t);return c.length{const n=r(7374),{ANY:o}=r(3134),i=r(9845),s=r(3992),a=(e,t,r)=>{if(e===t)return!0;if(1===e.length&&e[0].semver===o)return 1===t.length&&t[0].semver===o;const n=new Set;let a,c,p,h,f,v,d;for(const t of e)">"===t.operator||">="===t.operator?a=u(a,t,r):"<"===t.operator||"<="===t.operator?c=l(c,t,r):n.add(t.semver);if(n.size>1)return null;if(a&&c){if(p=s(a.semver,c.semver,r),p>0)return null;if(0===p&&(">="!==a.operator||"<="!==c.operator))return null}for(const e of n){if(a&&!i(e,String(a),r))return null;if(c&&!i(e,String(c),r))return null;for(const n of t)if(!i(e,String(n),r))return!1;return!0}for(const e of t){if(d=d||">"===e.operator||">="===e.operator,v=v||"<"===e.operator||"<="===e.operator,a)if(">"===e.operator||">="===e.operator){if(h=u(a,e,r),h===e&&h!==a)return!1}else if(">="===a.operator&&!i(a.semver,String(e),r))return!1;if(c)if("<"===e.operator||"<="===e.operator){if(f=l(c,e,r),f===e&&f!==c)return!1}else if("<="===c.operator&&!i(c.semver,String(e),r))return!1;if(!e.operator&&(c||a)&&0!==p)return!1}return!(a&&v&&!c&&0!==p||c&&d&&!a&&0!==p)},u=(e,t,r)=>{if(!e)return t;const n=s(e.semver,t.semver,r);return n>0?e:n<0||">"===t.operator&&">="===e.operator?t:e},l=(e,t,r)=>{if(!e)return t;const n=s(e.semver,t.semver,r);return n<0?e:n>0||"<"===t.operator&&"<="===e.operator?t:e};e.exports=(e,t,r)=>{if(e===t)return!0;e=new n(e,r),t=new n(t,r);let o=!1;e:for(const n of e.set){for(const e of t.set){const t=a(n,e,r);if(o=o||null!==t,t)continue e}if(o)return!1}return!0}},8384:(e,t,r)=>{const n=r(7374);e.exports=(e,t)=>new n(e,t).set.map((e=>e.map((e=>e.value)).join(" ").trim().split(" ")))},9178:(e,t,r)=>{const n=r(7374);e.exports=(e,t)=>{try{return new n(e,t).range||"*"}catch(e){return null}}},4482:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&n(t,e,r);return o(t,e),t},s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.writeResolveRc=t.describeApp=t.getCLI=void 0;const a=s(r(2712)),u=s(r(932)),l=i(r(5622)),c=i(r(2087)),p=r(5747),h=r(3129),f=r(2994),v=(e,t,r,n)=>{const o=h.execSync(`${t} ${r}`,{cwd:e,stdio:n,env:{...process.env}});return null!=o?o.toString():""},d=(e,t,r,n="pipe")=>v(e,(t?"":"yarn --silent ")+"resolve-cloud",r,n),m=(e,t,r,n="pipe")=>v(e,`node ${l.resolve(t,"lib/index.js")}`,r,n);t.getCLI=(e,t,r=!1)=>null!=t&&""!==t?u.default(m,e,t):u.default(d,e,r),t.describeApp=(e,t,r)=>{null==r||r.debug("retrieving a list of deployments");const n=(e=>{var t;const r=e.split(c.EOL).filter((e=>""!==e.trim())).map((e=>e.split(" ").map((e=>e.trim())).filter((e=>e)))),n=null===(t=r.shift())||void 0===t?void 0:t.map((e=>f.camelCase(e.toLowerCase())));return n?r.map((e=>n.reduce(((t,r,n)=>(t[r]=e[n],t)),{}))):[]})(t("ls")).find((t=>t.applicationName===e));if(!n)return null==r||r.error(`deployment with name (${e}) not found with resolve-cloud ls`),null;null==r||r.debug("deployment list arrived, retrieving description");const o=t(`describe ${n.deploymentId}`).toString().split(c.EOL).filter((e=>""!==e.trim())).map((e=>e.split(" ").map((e=>e.trim())).filter((e=>e)))).reduce(((e,t)=>(e[f.camelCase(t[0])]=t[1],e)),{});if(!o||a.default(o))return null==r||r.error(`deployment ${n.id} not found with resolve-cloud describe`),null;const{applicationUrl:i,eventStoreId:s,applicationName:u,deploymentId:l,version:p}=o;return{id:l,url:i,runtime:p,name:u,eventStoreId:s}},t.writeResolveRc=(e,t,r,n,o)=>{if(a.default(e))throw Error("missed .resolverc file path");if(a.default(t))throw Error("missed .resolverc entry [user]");if(a.default(r))throw Error("missed .resolverc entry [token]");const i=null==(s=n)||a.default(s)?new URL("https://api.resolve.sh"):new URL(s);var s;null==o||o.debug(`writing ${e}`),p.writeFileSync(e,JSON.stringify({api_url:i.href,credentials:{user:t,refresh_token:r}}))}},6474:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&n(t,e,r);return o(t,e),t},s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.branchFromRef=t.createExecutor=t.exportEnvVar=t.notEmpty=t.parseBoolean=t.parseScopes=t.restoreNpmRc=t.writeNpmRc=t.processWorkspaces=t.bumpDependencies=void 0;const a=s(r(4598)),u=s(r(2712)),l=r(3129),c=r(5747),p=i(r(5622)),h=i(r(1765));t.bumpDependencies=function(e,t,r){let n;if(Array.isArray(t))n=e=>t.includes(e);else{const e=new RegExp("^"+t);n=t=>e.test(t)}const o=a.default(e);return["dependencies","devDependencies","peerDependencies","optionalDependencies"].forEach((e=>{const t=o[e];null==t||Object.keys(t).forEach((e=>{n(e)&&(t[e]=r)}))})),o},t.processWorkspaces=async function(e,t,r=h.cwd()){const n=l.execSync("yarn --silent workspaces info",{cwd:r}).toString("utf-8"),o=JSON.parse(n),i=Object.keys(o).map((e=>{const n=p.resolve(r,o[e].location);return null==t||t(`[${e}] enqueue processing at ${n}`),{name:e,location:n,pkg:JSON.parse(c.readFileSync(p.resolve(n,"./package.json")).toString("utf-8"))}}));return await Promise.all(i.map((t=>e(t))))},t.writeNpmRc=(e,t,r,n={createBackup:!1})=>{const{core:o,createBackup:i,scopes:s}=n;let a=null;i&&c.existsSync(e)&&(a=p.resolve(p.dirname(e),"._build_npmrc_orig_"),null==o||o.info(`npmrc file exists, backing up to: ${a}`),c.copyFileSync(e,a));const u=null!=s&&s.length>0?s.map((e=>`${e}:registry=${t.protocol}//${t.host}\n`)).join(""):`registry=${t.href}\n`,l=null==r||""===r?u:`//${t.host}/:_authToken=${r}\n//${t.host}/:always-auth=true\n`+u;return null==o||o.debug(`writing ${e}`),null==o||o.debug(l),c.writeFileSync(e,l),a},t.restoreNpmRc=(e,t,r)=>{try{null==r||r.debug(`removing current: ${e}`),c.unlinkSync(e)}catch(e){null==r||r.error(e)}try{null==t||u.default(t)||(null==r||r.debug(`restoring from backup: ${t}`),c.copyFileSync(t,e),c.unlinkSync(t))}catch(e){null==r||r.error(e)}},t.parseScopes=e=>null!=e&&""!==e?e.split(",").map((e=>e.trim())).filter((e=>e.length)):[],t.parseBoolean=e=>null!=e&&["yes","true","1"].includes(e.toLowerCase()),t.notEmpty=function(e){return!u.default(e)},t.exportEnvVar=(e,t)=>l.execSync(`echo "${e}=${t}" >> $GITHUB_ENV`,{stdio:"pipe"}).toString(),t.createExecutor=(e,t)=>(r,n="inherit")=>l.execSync(r,{cwd:e,stdio:n,env:{...h.env,...t}}),t.branchFromRef=e=>{const t=/^refs\/((?!\/).)*\/(.*)$/.exec(e);return null!=t?t[2]:null}},2460:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&n(t,e,r);return o(t,e),t};Object.defineProperty(t,"__esModule",{value:!0});const s=i(r(516));r(4251).main().catch((e=>{s.setFailed(e),process.exit(1)}))},4251:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&n(t,e,r);return o(t,e),t},s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.main=void 0;const a=r(8835),u=r(5747),l=i(r(5622)),c=i(r(516)),p=s(r(8873)),h=r(6474),f=r(4482);t.main=async()=>{const e=l.resolve(process.cwd(),c.getInput("source",{required:!0}));c.debug(`application directory: ${e}`);const t=h.createExecutor(e),r=c.getInput("registry",{required:!0}),n=c.getInput("token",{required:!0}),o=h.parseScopes(c.getInput("framework_scope")),i=l.resolve(e,"./package.json"),s=(v=i,JSON.parse(u.readFileSync(v).toString("utf-8")));var v;let d;try{d=new a.URL(r)}catch(e){throw c.debug(`invalid registry URL: "${r}"`),Error(e.message)}h.writeNpmRc(l.resolve(e,".npmrc"),d,n,{scopes:o,core:c});let m=c.getInput("framework_version");if(null==m||0===m.trim().length){if(null==s.dependencies)throw new Error(`Failed to get package ${s.name} dependencies`);const e=Object.keys(s.dependencies).find((e=>e.startsWith("@resolve-js/"))),{data:r}=JSON.parse(t(`yarn -s info ${e} dist-tags --json`,"pipe").toString()),n=c.getInput("registry_package_tag");if(null==n||0===n.trim().length)throw new Error("Failed to get registry package tag");m=r[n]}if(!p.default.parse(m))throw new Error(`Incorrect specified version "${m}"`);c.debug(`patching framework version to ${m}`);const g=h.bumpDependencies(s,`${c.getInput("framework_scope")}/.*$`,m);c.debug(`writing patched: ${i}`);const E=JSON.stringify(g,null,2);c.debug(E),u.writeFileSync(i,E),f.writeResolveRc(l.resolve(e,".resolverc"),c.getInput("cloud_user",{required:!0}),c.getInput("cloud_token",{required:!0}),c.getInput("cloud_api_url"),c),c.info("installing application dependencies"),t("npm install"),t("node ./ci-scripts/resolve-gate/run-task.js")}},9976:e=>{"use strict";e.exports=function(e){e.prototype[Symbol.iterator]=function*(){for(let e=this.head;e;e=e.next)yield e.value}}},7372:(e,t,r)=>{"use strict";function n(e){var t=this;if(t instanceof n||(t=new n),t.tail=null,t.head=null,t.length=0,e&&"function"==typeof e.forEach)e.forEach((function(e){t.push(e)}));else if(arguments.length>0)for(var r=0,o=arguments.length;r1)r=t;else{if(!this.head)throw new TypeError("Reduce of empty list with no initial value");n=this.head.next,r=this.head.value}for(var o=0;null!==n;o++)r=e(r,n.value,o),n=n.next;return r},n.prototype.reduceReverse=function(e,t){var r,n=this.tail;if(arguments.length>1)r=t;else{if(!this.tail)throw new TypeError("Reduce of empty list with no initial value");n=this.tail.prev,r=this.tail.value}for(var o=this.length-1;null!==n;o--)r=e(r,n.value,o),n=n.prev;return r},n.prototype.toArray=function(){for(var e=new Array(this.length),t=0,r=this.head;null!==r;t++)e[t]=r.value,r=r.next;return e},n.prototype.toArrayReverse=function(){for(var e=new Array(this.length),t=0,r=this.tail;null!==r;t++)e[t]=r.value,r=r.prev;return e},n.prototype.slice=function(e,t){(t=t||this.length)<0&&(t+=this.length),(e=e||0)<0&&(e+=this.length);var r=new n;if(tthis.length&&(t=this.length);for(var o=0,i=this.head;null!==i&&othis.length&&(t=this.length);for(var o=this.length,i=this.tail;null!==i&&o>t;o--)i=i.prev;for(;null!==i&&o>e;o--,i=i.prev)r.push(i.value);return r},n.prototype.splice=function(e,t,...r){e>this.length&&(e=this.length-1),e<0&&(e=this.length+e);for(var n=0,i=this.head;null!==i&&n{"use strict";e.exports=require("child_process")},5747:e=>{"use strict";e.exports=require("fs")},2087:e=>{"use strict";e.exports=require("os")},5622:e=>{"use strict";e.exports=require("path")},1765:e=>{"use strict";e.exports=require("process")},8835:e=>{"use strict";e.exports=require("url")}},t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={id:n,loaded:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.loaded=!0,o.exports}r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),r(2460)})(); \ No newline at end of file +(()=>{var e={2592:function(e,t,r){"use strict";var n=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t};Object.defineProperty(t,"__esModule",{value:!0});const o=n(r(2087));function i(e,t,r){const n=new s(e,t,r);process.stdout.write(n.toString()+o.EOL)}t.issueCommand=i,t.issue=function(e,t=""){i(e,{},t)};class s{constructor(e,t,r){e||(e="missing.command"),this.command=e,this.properties=t,this.message=r}toString(){let e="::"+this.command;if(this.properties&&Object.keys(this.properties).length>0){e+=" ";let r=!0;for(const n in this.properties)if(this.properties.hasOwnProperty(n)){const o=this.properties[n];o&&(r?r=!1:e+=",",e+=`${n}=${t=o,a(t).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A").replace(/:/g,"%3A").replace(/,/g,"%2C")}`)}}var t;return e+=`::${function(e){return a(e).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A")}(this.message)}`,e}}function a(e){return null==e?"":"string"==typeof e||e instanceof String?e:JSON.stringify(e)}t.toCommandValue=a},516:function(e,t,r){"use strict";var n=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(o,i){function s(e){try{u(n.next(e))}catch(e){i(e)}}function a(e){try{u(n.throw(e))}catch(e){i(e)}}function u(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(s,a)}u((n=n.apply(e,t||[])).next())}))},o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t};Object.defineProperty(t,"__esModule",{value:!0});const i=r(2592),s=o(r(2087)),a=o(r(5622));var u;function l(e){i.issue("error",e instanceof Error?e.toString():e)}function c(e){i.issue("group",e)}function p(){i.issue("endgroup")}!function(e){e[e.Success=0]="Success",e[e.Failure=1]="Failure"}(u=t.ExitCode||(t.ExitCode={})),t.exportVariable=function(e,t){const r=i.toCommandValue(t);process.env[e]=r,i.issueCommand("set-env",{name:e},r)},t.setSecret=function(e){i.issueCommand("add-mask",{},e)},t.addPath=function(e){i.issueCommand("add-path",{},e),process.env.PATH=`${e}${a.delimiter}${process.env.PATH}`},t.getInput=function(e,t){const r=process.env[`INPUT_${e.replace(/ /g,"_").toUpperCase()}`]||"";if(t&&t.required&&!r)throw new Error(`Input required and not supplied: ${e}`);return r.trim()},t.setOutput=function(e,t){i.issueCommand("set-output",{name:e},t)},t.setCommandEcho=function(e){i.issue("echo",e?"on":"off")},t.setFailed=function(e){process.exitCode=u.Failure,l(e)},t.isDebug=function(){return"1"===process.env.RUNNER_DEBUG},t.debug=function(e){i.issueCommand("debug",{},e)},t.error=l,t.warning=function(e){i.issue("warning",e instanceof Error?e.toString():e)},t.info=function(e){process.stdout.write(e+s.EOL)},t.startGroup=c,t.endGroup=p,t.group=function(e,t){return n(this,void 0,void 0,(function*(){let r;c(e);try{r=yield t()}finally{p()}return r}))},t.saveState=function(e,t){i.issueCommand("save-state",{name:e},t)},t.getState=function(e){return process.env[`STATE_${e}`]||""}},2994:(e,t,r)=>{"use strict";r.r(t),r.d(t,{camelCase:()=>v,camelCaseTransform:()=>h,camelCaseTransformMerge:()=>f,capitalCase:()=>g,capitalCaseTransform:()=>m,constantCase:()=>y,dotCase:()=>$,headerCase:()=>b,noCase:()=>a,paramCase:()=>w,pascalCase:()=>p,pascalCaseTransform:()=>l,pascalCaseTransformMerge:()=>c,pathCase:()=>O,sentenceCase:()=>R,sentenceCaseTransform:()=>_,snakeCase:()=>I});var n=function(){return(n=Object.assign||function(e){for(var t,r=1,n=arguments.length;r0&&r>="0"&&r<="9"?"_"+r+n:""+r.toUpperCase()+n}function c(e){return e.charAt(0).toUpperCase()+e.slice(1).toLowerCase()}function p(e,t){return void 0===t&&(t={}),a(e,n({delimiter:"",transform:l},t))}function h(e,t){return 0===t?e.toLowerCase():l(e,t)}function f(e,t){return 0===t?e.toLowerCase():c(e)}function v(e,t){return void 0===t&&(t={}),p(e,n({transform:h},t))}function d(e){return e.charAt(0).toUpperCase()+e.substr(1)}function m(e){return d(e.toLowerCase())}function g(e,t){return void 0===t&&(t={}),a(e,n({delimiter:" ",transform:m},t))}function E(e){return e.toUpperCase()}function y(e,t){return void 0===t&&(t={}),a(e,n({delimiter:"_",transform:E},t))}function $(e,t){return void 0===t&&(t={}),a(e,n({delimiter:"."},t))}function b(e,t){return void 0===t&&(t={}),g(e,n({delimiter:"-"},t))}function w(e,t){return void 0===t&&(t={}),$(e,n({delimiter:"-"},t))}function O(e,t){return void 0===t&&(t={}),$(e,n({delimiter:"/"},t))}function _(e,t){var r=e.toLowerCase();return 0===t?d(r):r}function R(e,t){return void 0===t&&(t={}),a(e,n({delimiter:" ",transform:_},t))}function I(e,t){return void 0===t&&(t={}),$(e,n({delimiter:"_"},t))}},4598:(e,t,r)=>{e=r.nmd(e);var n="__lodash_hash_undefined__",o=9007199254740991,i="[object Arguments]",s="[object Boolean]",a="[object Date]",u="[object Function]",l="[object GeneratorFunction]",c="[object Map]",p="[object Number]",h="[object Object]",f="[object Promise]",v="[object RegExp]",d="[object Set]",m="[object String]",g="[object Symbol]",E="[object WeakMap]",y="[object ArrayBuffer]",$="[object DataView]",b="[object Float32Array]",w="[object Float64Array]",O="[object Int8Array]",_="[object Int16Array]",R="[object Int32Array]",I="[object Uint8Array]",A="[object Uint8ClampedArray]",S="[object Uint16Array]",N="[object Uint32Array]",j=/\w*$/,x=/^\[object .+?Constructor\]$/,L=/^(?:0|[1-9]\d*)$/,T={};T[i]=T["[object Array]"]=T[y]=T[$]=T[s]=T[a]=T[b]=T[w]=T[O]=T[_]=T[R]=T[c]=T[p]=T[h]=T[v]=T[d]=T[m]=T[g]=T[I]=T[A]=T[S]=T[N]=!0,T["[object Error]"]=T[u]=T[E]=!1;var P="object"==typeof global&&global&&global.Object===Object&&global,C="object"==typeof self&&self&&self.Object===Object&&self,M=P||C||Function("return this")(),D=t&&!t.nodeType&&t,F=D&&e&&!e.nodeType&&e,k=F&&F.exports===D;function G(e,t){return e.set(t[0],t[1]),e}function U(e,t){return e.add(t),e}function X(e,t,r,n){var o=-1,i=e?e.length:0;for(n&&i&&(r=e[++o]);++o-1},Ae.prototype.set=function(e,t){var r=this.__data__,n=xe(r,e);return n<0?r.push([e,t]):r[n][1]=t,this},Se.prototype.clear=function(){this.__data__={hash:new Ie,map:new(ve||Ae),string:new Ie}},Se.prototype.delete=function(e){return Ce(this,e).delete(e)},Se.prototype.get=function(e){return Ce(this,e).get(e)},Se.prototype.has=function(e){return Ce(this,e).has(e)},Se.prototype.set=function(e,t){return Ce(this,e).set(e,t),this},Ne.prototype.clear=function(){this.__data__=new Ae},Ne.prototype.delete=function(e){return this.__data__.delete(e)},Ne.prototype.get=function(e){return this.__data__.get(e)},Ne.prototype.has=function(e){return this.__data__.has(e)},Ne.prototype.set=function(e,t){var r=this.__data__;if(r instanceof Ae){var n=r.__data__;if(!ve||n.length<199)return n.push([e,t]),this;r=this.__data__=new Se(n)}return r.set(e,t),this};var De=ce?q(ce,Object):function(){return[]},Fe=function(e){return te.call(e)};function ke(e,t){return!!(t=null==t?o:t)&&("number"==typeof e||L.test(e))&&e>-1&&e%1==0&&e-1&&e%1==0&&e<=o}(e.length)&&!He(e)}var qe=pe||function(){return!1};function He(e){var t=ze(e)?te.call(e):"";return t==u||t==l}function ze(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function Ye(e){return Ve(e)?function(e,t){var r=Be(e)||function(e){return function(e){return function(e){return!!e&&"object"==typeof e}(e)&&Ve(e)}(e)&&ee.call(e,"callee")&&(!ue.call(e,"callee")||te.call(e)==i)}(e)?function(e,t){for(var r=-1,n=Array(e);++r{e=r.nmd(e);var n,o,i,s="[object Map]",a="[object Promise]",u="[object Set]",l="[object WeakMap]",c="[object DataView]",p=/^\[object .+?Constructor\]$/,h="object"==typeof global&&global&&global.Object===Object&&global,f="object"==typeof self&&self&&self.Object===Object&&self,v=h||f||Function("return this")(),d=t&&!t.nodeType&&t,m=d&&e&&!e.nodeType&&e,g=m&&m.exports===d,E=Function.prototype,y=Object.prototype,$=v["__core-js_shared__"],b=(n=/[^.]+$/.exec($&&$.keys&&$.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"",w=E.toString,O=y.hasOwnProperty,_=y.toString,R=RegExp("^"+w.call(O).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),I=g?v.Buffer:void 0,A=y.propertyIsEnumerable,S=I?I.isBuffer:void 0,N=(o=Object.keys,i=Object,function(e){return o(i(e))}),j=U(v,"DataView"),x=U(v,"Map"),L=U(v,"Promise"),T=U(v,"Set"),P=U(v,"WeakMap"),C=!A.call({valueOf:1},"valueOf"),M=B(j),D=B(x),F=B(L),k=B(T),G=B(P);function U(e,t){var r=function(e,t){return null==e?void 0:e[t]}(e,t);return function(e){return!(!Y(e)||function(e){return!!b&&b in e}(e))&&(z(e)||function(e){var t=!1;if(null!=e&&"function"!=typeof e.toString)try{t=!!(e+"")}catch(e){}return t}(e)?R:p).test(B(e))}(r)?r:void 0}var X=function(e){return _.call(e)};function B(e){if(null!=e){try{return w.call(e)}catch(e){}try{return e+""}catch(e){}}return""}(j&&X(new j(new ArrayBuffer(1)))!=c||x&&X(new x)!=s||L&&X(L.resolve())!=a||T&&X(new T)!=u||P&&X(new P)!=l)&&(X=function(e){var t=_.call(e),r="[object Object]"==t?e.constructor:void 0,n=r?B(r):void 0;if(n)switch(n){case M:return c;case D:return s;case F:return a;case k:return u;case G:return l}return t});var V=Array.isArray;function q(e){return null!=e&&function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}(e.length)&&!z(e)}var H=S||function(){return!1};function z(e){var t=Y(e)?_.call(e):"";return"[object Function]"==t||"[object GeneratorFunction]"==t}function Y(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}e.exports=function(e){if(q(e)&&(V(e)||"string"==typeof e||"function"==typeof e.splice||H(e)||function(e){return function(e){return function(e){return!!e&&"object"==typeof e}(e)&&q(e)}(e)&&O.call(e,"callee")&&(!A.call(e,"callee")||"[object Arguments]"==_.call(e))}(e)))return!e.length;var t=X(e);if(t==s||t==u)return!e.size;if(C||function(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||y)}(e))return!N(e).length;for(var r in e)if(O.call(e,r))return!1;return!0}},932:e=>{var t="__lodash_placeholder__",r=[["ary",128],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",32],["partialRight",64],["rearg",256]],n=/^\s+|\s+$/g,o=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,i=/\{\n\/\* \[wrapped with (.+)\] \*/,s=/,? & /,a=/^[-+]0x[0-9a-f]+$/i,u=/^0b[01]+$/i,l=/^\[object .+?Constructor\]$/,c=/^0o[0-7]+$/i,p=/^(?:0|[1-9]\d*)$/,h=parseInt,f="object"==typeof global&&global&&global.Object===Object&&global,v="object"==typeof self&&self&&self.Object===Object&&self,d=f||v||Function("return this")();function m(e,t,r){switch(r.length){case 0:return e.call(t);case 1:return e.call(t,r[0]);case 2:return e.call(t,r[0],r[1]);case 3:return e.call(t,r[0],r[1],r[2])}return e.apply(t,r)}function g(e){return e!=e}function E(e,t){for(var r=e.length,n=0;r--;)e[r]===t&&n++;return n}function y(e,r){for(var n=-1,o=e.length,i=0,s=[];++n2?b:void 0);function C(e){return W(e)?x(e):{}}function M(e,t,r,n){for(var o=-1,i=e.length,s=r.length,a=-1,u=t.length,l=L(i-s,0),c=Array(u+l),p=!n;++a1&&b.reverse(),c&&u<$&&(b.length=u),this&&this!==d&&this instanceof g&&(A=m||F(A)),A.apply(I,b)}}function G(e,t,r,n,o,i,s,a,u,l){var c=8&t;t|=c?32:64,4&(t&=~(c?64:32))||(t&=-4);var p=r(e,t,o,c?i:void 0,c?s:void 0,c?void 0:i,c?void 0:s,a,u,l);return p.placeholder=n,z(p,e,t)}function U(e){return e.placeholder}function X(e,t){var r=function(e,t){return null==e?void 0:e[t]}(e,t);return function(e){return!(!W(e)||function(e){return!!I&&I in e}(e))&&(function(e){var t=W(e)?N.call(e):"";return"[object Function]"==t||"[object GeneratorFunction]"==t}(e)||function(e){var t=!1;if(null!=e&&"function"!=typeof e.toString)try{t=!!(e+"")}catch(e){}return t}(e)?j:l).test(function(e){if(null!=e){try{return A.call(e)}catch(e){}try{return e+""}catch(e){}}return""}(e))}(r)?r:void 0}function B(e){var t=e.match(i);return t?t[1].split(s):[]}function V(e,t){var r=t.length,n=r-1;return t[n]=(r>1?"& ":"")+t[n],t=t.join(r>2?", ":" "),e.replace(o,"{\n/* [wrapped with "+t+"] */\n")}function q(e,t){return!!(t=null==t?9007199254740991:t)&&("number"==typeof e||p.test(e))&&e>-1&&e%1==0&&e-1}(e,a)&&e.push(a))););var s,a}(r),e.sort()}var J=function(e,t){return t=L(void 0===t?e.length-1:t,0),function(){for(var r=arguments,n=-1,o=L(r.length-t,0),i=Array(o);++n{"use strict";const n=r(7372),o=Symbol("max"),i=Symbol("length"),s=Symbol("lengthCalculator"),a=Symbol("allowStale"),u=Symbol("maxAge"),l=Symbol("dispose"),c=Symbol("noDisposeOnSet"),p=Symbol("lruList"),h=Symbol("cache"),f=Symbol("updateAgeOnGet"),v=()=>1,d=(e,t,r)=>{const n=e[h].get(t);if(n){const t=n.value;if(m(e,t)){if(E(e,n),!e[a])return}else r&&(e[f]&&(n.value.now=Date.now()),e[p].unshiftNode(n));return t.value}},m=(e,t)=>{if(!t||!t.maxAge&&!e[u])return!1;const r=Date.now()-t.now;return t.maxAge?r>t.maxAge:e[u]&&r>e[u]},g=e=>{if(e[i]>e[o])for(let t=e[p].tail;e[i]>e[o]&&null!==t;){const r=t.prev;E(e,t),t=r}},E=(e,t)=>{if(t){const r=t.value;e[l]&&e[l](r.key,r.value),e[i]-=r.length,e[h].delete(r.key),e[p].removeNode(t)}};class y{constructor(e,t,r,n,o){this.key=e,this.value=t,this.length=r,this.now=n,this.maxAge=o||0}}const $=(e,t,r,n)=>{let o=r.value;m(e,o)&&(E(e,r),e[a]||(o=void 0)),o&&t.call(n,o.value,o.key,e)};e.exports=class{constructor(e){if("number"==typeof e&&(e={max:e}),e||(e={}),e.max&&("number"!=typeof e.max||e.max<0))throw new TypeError("max must be a non-negative number");this[o]=e.max||1/0;const t=e.length||v;if(this[s]="function"!=typeof t?v:t,this[a]=e.stale||!1,e.maxAge&&"number"!=typeof e.maxAge)throw new TypeError("maxAge must be a number");this[u]=e.maxAge||0,this[l]=e.dispose,this[c]=e.noDisposeOnSet||!1,this[f]=e.updateAgeOnGet||!1,this.reset()}set max(e){if("number"!=typeof e||e<0)throw new TypeError("max must be a non-negative number");this[o]=e||1/0,g(this)}get max(){return this[o]}set allowStale(e){this[a]=!!e}get allowStale(){return this[a]}set maxAge(e){if("number"!=typeof e)throw new TypeError("maxAge must be a non-negative number");this[u]=e,g(this)}get maxAge(){return this[u]}set lengthCalculator(e){"function"!=typeof e&&(e=v),e!==this[s]&&(this[s]=e,this[i]=0,this[p].forEach((e=>{e.length=this[s](e.value,e.key),this[i]+=e.length}))),g(this)}get lengthCalculator(){return this[s]}get length(){return this[i]}get itemCount(){return this[p].length}rforEach(e,t){t=t||this;for(let r=this[p].tail;null!==r;){const n=r.prev;$(this,e,r,t),r=n}}forEach(e,t){t=t||this;for(let r=this[p].head;null!==r;){const n=r.next;$(this,e,r,t),r=n}}keys(){return this[p].toArray().map((e=>e.key))}values(){return this[p].toArray().map((e=>e.value))}reset(){this[l]&&this[p]&&this[p].length&&this[p].forEach((e=>this[l](e.key,e.value))),this[h]=new Map,this[p]=new n,this[i]=0}dump(){return this[p].map((e=>!m(this,e)&&{k:e.key,v:e.value,e:e.now+(e.maxAge||0)})).toArray().filter((e=>e))}dumpLru(){return this[p]}set(e,t,r){if((r=r||this[u])&&"number"!=typeof r)throw new TypeError("maxAge must be a number");const n=r?Date.now():0,a=this[s](t,e);if(this[h].has(e)){if(a>this[o])return E(this,this[h].get(e)),!1;const s=this[h].get(e).value;return this[l]&&(this[c]||this[l](e,s.value)),s.now=n,s.maxAge=r,s.value=t,this[i]+=a-s.length,s.length=a,this.get(e),g(this),!0}const f=new y(e,t,a,n,r);return f.length>this[o]?(this[l]&&this[l](e,t),!1):(this[i]+=f.length,this[p].unshift(f),this[h].set(e,this[p].head),g(this),!0)}has(e){if(!this[h].has(e))return!1;const t=this[h].get(e).value;return!m(this,t)}get(e){return d(this,e,!0)}peek(e){return d(this,e,!1)}pop(){const e=this[p].tail;return e?(E(this,e),e.value):null}del(e){E(this,this[h].get(e))}load(e){this.reset();const t=Date.now();for(let r=e.length-1;r>=0;r--){const n=e[r],o=n.e||0;if(0===o)this.set(n.k,n.v);else{const e=o-t;e>0&&this.set(n.k,n.v,e)}}}prune(){this[h].forEach(((e,t)=>d(this,t,!1)))}}},3134:(e,t,r)=>{const n=Symbol("SemVer ANY");class o{static get ANY(){return n}constructor(e,t){if(t=i(t),e instanceof o){if(e.loose===!!t.loose)return e;e=e.value}l("comparator",e,t),this.options=t,this.loose=!!t.loose,this.parse(e),this.semver===n?this.value="":this.value=this.operator+this.semver.version,l("comp",this)}parse(e){const t=this.options.loose?s[a.COMPARATORLOOSE]:s[a.COMPARATOR],r=e.match(t);if(!r)throw new TypeError(`Invalid comparator: ${e}`);this.operator=void 0!==r[1]?r[1]:"","="===this.operator&&(this.operator=""),r[2]?this.semver=new c(r[2],this.options.loose):this.semver=n}toString(){return this.value}test(e){if(l("Comparator.test",e,this.options.loose),this.semver===n||e===n)return!0;if("string"==typeof e)try{e=new c(e,this.options)}catch(e){return!1}return u(e,this.operator,this.semver,this.options)}intersects(e,t){if(!(e instanceof o))throw new TypeError("a Comparator is required");if(t&&"object"==typeof t||(t={loose:!!t,includePrerelease:!1}),""===this.operator)return""===this.value||new p(e.value,t).test(this.value);if(""===e.operator)return""===e.value||new p(this.value,t).test(e.semver);const r=!(">="!==this.operator&&">"!==this.operator||">="!==e.operator&&">"!==e.operator),n=!("<="!==this.operator&&"<"!==this.operator||"<="!==e.operator&&"<"!==e.operator),i=this.semver.version===e.semver.version,s=!(">="!==this.operator&&"<="!==this.operator||">="!==e.operator&&"<="!==e.operator),a=u(this.semver,"<",e.semver,t)&&(">="===this.operator||">"===this.operator)&&("<="===e.operator||"<"===e.operator),l=u(this.semver,">",e.semver,t)&&("<="===this.operator||"<"===this.operator)&&(">="===e.operator||">"===e.operator);return r||n||i&&s||a||l}}e.exports=o;const i=r(8716),{re:s,t:a}=r(9022),u=r(5452),l=r(6830),c=r(9510),p=r(7374)},7374:(e,t,r)=>{class n{constructor(e,t){if(t=i(t),e instanceof n)return e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease?e:new n(e.raw,t);if(e instanceof s)return this.raw=e.value,this.set=[[e]],this.format(),this;if(this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease,this.raw=e,this.set=e.split(/\s*\|\|\s*/).map((e=>this.parseRange(e.trim()))).filter((e=>e.length)),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${e}`);if(this.set.length>1){const e=this.set[0];if(this.set=this.set.filter((e=>!v(e[0]))),0===this.set.length)this.set=[e];else if(this.set.length>1)for(const e of this.set)if(1===e.length&&d(e[0])){this.set=[e];break}}this.format()}format(){return this.range=this.set.map((e=>e.join(" ").trim())).join("||").trim(),this.range}toString(){return this.range}parseRange(e){e=e.trim();const t=`parseRange:${Object.keys(this.options).join(",")}:${e}`,r=o.get(t);if(r)return r;const n=this.options.loose,i=n?l[c.HYPHENRANGELOOSE]:l[c.HYPHENRANGE];e=e.replace(i,A(this.options.includePrerelease)),a("hyphen replace",e),e=e.replace(l[c.COMPARATORTRIM],p),a("comparator trim",e,l[c.COMPARATORTRIM]),e=(e=(e=e.replace(l[c.TILDETRIM],h)).replace(l[c.CARETTRIM],f)).split(/\s+/).join(" ");const u=n?l[c.COMPARATORLOOSE]:l[c.COMPARATOR],d=e.split(" ").map((e=>g(e,this.options))).join(" ").split(/\s+/).map((e=>I(e,this.options))).filter(this.options.loose?e=>!!e.match(u):()=>!0).map((e=>new s(e,this.options))),m=(d.length,new Map);for(const e of d){if(v(e))return[e];m.set(e.value,e)}m.size>1&&m.has("")&&m.delete("");const E=[...m.values()];return o.set(t,E),E}intersects(e,t){if(!(e instanceof n))throw new TypeError("a Range is required");return this.set.some((r=>m(r,t)&&e.set.some((e=>m(e,t)&&r.every((r=>e.every((e=>r.intersects(e,t)))))))))}test(e){if(!e)return!1;if("string"==typeof e)try{e=new u(e,this.options)}catch(e){return!1}for(let t=0;t"<0.0.0-0"===e.value,d=e=>""===e.value,m=(e,t)=>{let r=!0;const n=e.slice();let o=n.pop();for(;r&&n.length;)r=n.every((e=>o.intersects(e,t))),o=n.pop();return r},g=(e,t)=>(a("comp",e,t),e=b(e,t),a("caret",e),e=y(e,t),a("tildes",e),e=O(e,t),a("xrange",e),e=R(e,t),a("stars",e),e),E=e=>!e||"x"===e.toLowerCase()||"*"===e,y=(e,t)=>e.trim().split(/\s+/).map((e=>$(e,t))).join(" "),$=(e,t)=>{const r=t.loose?l[c.TILDELOOSE]:l[c.TILDE];return e.replace(r,((t,r,n,o,i)=>{let s;return a("tilde",e,t,r,n,o,i),E(r)?s="":E(n)?s=`>=${r}.0.0 <${+r+1}.0.0-0`:E(o)?s=`>=${r}.${n}.0 <${r}.${+n+1}.0-0`:i?(a("replaceTilde pr",i),s=`>=${r}.${n}.${o}-${i} <${r}.${+n+1}.0-0`):s=`>=${r}.${n}.${o} <${r}.${+n+1}.0-0`,a("tilde return",s),s}))},b=(e,t)=>e.trim().split(/\s+/).map((e=>w(e,t))).join(" "),w=(e,t)=>{a("caret",e,t);const r=t.loose?l[c.CARETLOOSE]:l[c.CARET],n=t.includePrerelease?"-0":"";return e.replace(r,((t,r,o,i,s)=>{let u;return a("caret",e,t,r,o,i,s),E(r)?u="":E(o)?u=`>=${r}.0.0${n} <${+r+1}.0.0-0`:E(i)?u="0"===r?`>=${r}.${o}.0${n} <${r}.${+o+1}.0-0`:`>=${r}.${o}.0${n} <${+r+1}.0.0-0`:s?(a("replaceCaret pr",s),u="0"===r?"0"===o?`>=${r}.${o}.${i}-${s} <${r}.${o}.${+i+1}-0`:`>=${r}.${o}.${i}-${s} <${r}.${+o+1}.0-0`:`>=${r}.${o}.${i}-${s} <${+r+1}.0.0-0`):(a("no pr"),u="0"===r?"0"===o?`>=${r}.${o}.${i}${n} <${r}.${o}.${+i+1}-0`:`>=${r}.${o}.${i}${n} <${r}.${+o+1}.0-0`:`>=${r}.${o}.${i} <${+r+1}.0.0-0`),a("caret return",u),u}))},O=(e,t)=>(a("replaceXRanges",e,t),e.split(/\s+/).map((e=>_(e,t))).join(" ")),_=(e,t)=>{e=e.trim();const r=t.loose?l[c.XRANGELOOSE]:l[c.XRANGE];return e.replace(r,((r,n,o,i,s,u)=>{a("xRange",e,r,n,o,i,s,u);const l=E(o),c=l||E(i),p=c||E(s),h=p;return"="===n&&h&&(n=""),u=t.includePrerelease?"-0":"",l?r=">"===n||"<"===n?"<0.0.0-0":"*":n&&h?(c&&(i=0),s=0,">"===n?(n=">=",c?(o=+o+1,i=0,s=0):(i=+i+1,s=0)):"<="===n&&(n="<",c?o=+o+1:i=+i+1),"<"===n&&(u="-0"),r=`${n+o}.${i}.${s}${u}`):c?r=`>=${o}.0.0${u} <${+o+1}.0.0-0`:p&&(r=`>=${o}.${i}.0${u} <${o}.${+i+1}.0-0`),a("xRange return",r),r}))},R=(e,t)=>(a("replaceStars",e,t),e.trim().replace(l[c.STAR],"")),I=(e,t)=>(a("replaceGTE0",e,t),e.trim().replace(l[t.includePrerelease?c.GTE0PRE:c.GTE0],"")),A=e=>(t,r,n,o,i,s,a,u,l,c,p,h,f)=>`${r=E(n)?"":E(o)?`>=${n}.0.0${e?"-0":""}`:E(i)?`>=${n}.${o}.0${e?"-0":""}`:s?`>=${r}`:`>=${r}${e?"-0":""}`} ${u=E(l)?"":E(c)?`<${+l+1}.0.0-0`:E(p)?`<${l}.${+c+1}.0-0`:h?`<=${l}.${c}.${p}-${h}`:e?`<${l}.${c}.${+p+1}-0`:`<=${u}`}`.trim(),S=(e,t,r)=>{for(let r=0;r0){const n=e[r].semver;if(n.major===t.major&&n.minor===t.minor&&n.patch===t.patch)return!0}return!1}return!0}},9510:(e,t,r)=>{const n=r(6830),{MAX_LENGTH:o,MAX_SAFE_INTEGER:i}=r(39),{re:s,t:a}=r(9022),u=r(8716),{compareIdentifiers:l}=r(8822);class c{constructor(e,t){if(t=u(t),e instanceof c){if(e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease)return e;e=e.version}else if("string"!=typeof e)throw new TypeError(`Invalid Version: ${e}`);if(e.length>o)throw new TypeError(`version is longer than ${o} characters`);n("SemVer",e,t),this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease;const r=e.trim().match(t.loose?s[a.LOOSE]:s[a.FULL]);if(!r)throw new TypeError(`Invalid Version: ${e}`);if(this.raw=e,this.major=+r[1],this.minor=+r[2],this.patch=+r[3],this.major>i||this.major<0)throw new TypeError("Invalid major version");if(this.minor>i||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>i||this.patch<0)throw new TypeError("Invalid patch version");r[4]?this.prerelease=r[4].split(".").map((e=>{if(/^[0-9]+$/.test(e)){const t=+e;if(t>=0&&t=0;)"number"==typeof this.prerelease[e]&&(this.prerelease[e]++,e=-2);-1===e&&this.prerelease.push(0)}t&&(this.prerelease[0]===t?isNaN(this.prerelease[1])&&(this.prerelease=[t,0]):this.prerelease=[t,0]);break;default:throw new Error(`invalid increment argument: ${e}`)}return this.format(),this.raw=this.version,this}}e.exports=c},6457:(e,t,r)=>{const n=r(5692);e.exports=(e,t)=>{const r=n(e.trim().replace(/^[=v]+/,""),t);return r?r.version:null}},5452:(e,t,r)=>{const n=r(8565),o=r(3328),i=r(2260),s=r(6579),a=r(290),u=r(5891);e.exports=(e,t,r,l)=>{switch(t){case"===":return"object"==typeof e&&(e=e.version),"object"==typeof r&&(r=r.version),e===r;case"!==":return"object"==typeof e&&(e=e.version),"object"==typeof r&&(r=r.version),e!==r;case"":case"=":case"==":return n(e,r,l);case"!=":return o(e,r,l);case">":return i(e,r,l);case">=":return s(e,r,l);case"<":return a(e,r,l);case"<=":return u(e,r,l);default:throw new TypeError(`Invalid operator: ${t}`)}}},9469:(e,t,r)=>{const n=r(9510),o=r(5692),{re:i,t:s}=r(9022);e.exports=(e,t)=>{if(e instanceof n)return e;if("number"==typeof e&&(e=String(e)),"string"!=typeof e)return null;let r=null;if((t=t||{}).rtl){let t;for(;(t=i[s.COERCERTL].exec(e))&&(!r||r.index+r[0].length!==e.length);)r&&t.index+t[0].length===r.index+r[0].length||(r=t),i[s.COERCERTL].lastIndex=t.index+t[1].length+t[2].length;i[s.COERCERTL].lastIndex=-1}else r=e.match(i[s.COERCE]);return null===r?null:o(`${r[2]}.${r[3]||"0"}.${r[4]||"0"}`,t)}},1868:(e,t,r)=>{const n=r(9510);e.exports=(e,t,r)=>{const o=new n(e,r),i=new n(t,r);return o.compare(i)||o.compareBuild(i)}},5919:(e,t,r)=>{const n=r(3992);e.exports=(e,t)=>n(e,t,!0)},3992:(e,t,r)=>{const n=r(9510);e.exports=(e,t,r)=>new n(e,r).compare(new n(t,r))},1007:(e,t,r)=>{const n=r(5692),o=r(8565);e.exports=(e,t)=>{if(o(e,t))return null;{const r=n(e),o=n(t),i=r.prerelease.length||o.prerelease.length,s=i?"pre":"",a=i?"prerelease":"";for(const e in r)if(("major"===e||"minor"===e||"patch"===e)&&r[e]!==o[e])return s+e;return a}}},8565:(e,t,r)=>{const n=r(3992);e.exports=(e,t,r)=>0===n(e,t,r)},2260:(e,t,r)=>{const n=r(3992);e.exports=(e,t,r)=>n(e,t,r)>0},6579:(e,t,r)=>{const n=r(3992);e.exports=(e,t,r)=>n(e,t,r)>=0},515:(e,t,r)=>{const n=r(9510);e.exports=(e,t,r,o)=>{"string"==typeof r&&(o=r,r=void 0);try{return new n(e,r).inc(t,o).version}catch(e){return null}}},290:(e,t,r)=>{const n=r(3992);e.exports=(e,t,r)=>n(e,t,r)<0},5891:(e,t,r)=>{const n=r(3992);e.exports=(e,t,r)=>n(e,t,r)<=0},2611:(e,t,r)=>{const n=r(9510);e.exports=(e,t)=>new n(e,t).major},6319:(e,t,r)=>{const n=r(9510);e.exports=(e,t)=>new n(e,t).minor},3328:(e,t,r)=>{const n=r(3992);e.exports=(e,t,r)=>0!==n(e,t,r)},5692:(e,t,r)=>{const{MAX_LENGTH:n}=r(39),{re:o,t:i}=r(9022),s=r(9510),a=r(8716);e.exports=(e,t)=>{if(t=a(t),e instanceof s)return e;if("string"!=typeof e)return null;if(e.length>n)return null;if(!(t.loose?o[i.LOOSE]:o[i.FULL]).test(e))return null;try{return new s(e,t)}catch(e){return null}}},7368:(e,t,r)=>{const n=r(9510);e.exports=(e,t)=>new n(e,t).patch},7794:(e,t,r)=>{const n=r(5692);e.exports=(e,t)=>{const r=n(e,t);return r&&r.prerelease.length?r.prerelease:null}},9114:(e,t,r)=>{const n=r(3992);e.exports=(e,t,r)=>n(t,e,r)},3843:(e,t,r)=>{const n=r(1868);e.exports=(e,t)=>e.sort(((e,r)=>n(r,e,t)))},9845:(e,t,r)=>{const n=r(7374);e.exports=(e,t,r)=>{try{t=new n(t,r)}catch(e){return!1}return t.test(e)}},8753:(e,t,r)=>{const n=r(1868);e.exports=(e,t)=>e.sort(((e,r)=>n(e,r,t)))},398:(e,t,r)=>{const n=r(5692);e.exports=(e,t)=>{const r=n(e,t);return r?r.version:null}},8873:(e,t,r)=>{const n=r(9022);e.exports={re:n.re,src:n.src,tokens:n.t,SEMVER_SPEC_VERSION:r(39).SEMVER_SPEC_VERSION,SemVer:r(9510),compareIdentifiers:r(8822).compareIdentifiers,rcompareIdentifiers:r(8822).rcompareIdentifiers,parse:r(5692),valid:r(398),clean:r(6457),inc:r(515),diff:r(1007),major:r(2611),minor:r(6319),patch:r(7368),prerelease:r(7794),compare:r(3992),rcompare:r(9114),compareLoose:r(5919),compareBuild:r(1868),sort:r(8753),rsort:r(3843),gt:r(2260),lt:r(290),eq:r(8565),neq:r(3328),gte:r(6579),lte:r(5891),cmp:r(5452),coerce:r(9469),Comparator:r(3134),Range:r(7374),satisfies:r(9845),toComparators:r(8384),maxSatisfying:r(6369),minSatisfying:r(2663),minVersion:r(75),validRange:r(9178),outside:r(9434),gtr:r(8237),ltr:r(9860),intersects:r(8258),simplifyRange:r(3607),subset:r(2199)}},39:e=>{const t=Number.MAX_SAFE_INTEGER||9007199254740991;e.exports={SEMVER_SPEC_VERSION:"2.0.0",MAX_LENGTH:256,MAX_SAFE_INTEGER:t,MAX_SAFE_COMPONENT_LENGTH:16}},6830:e=>{const t="object"==typeof process&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...e)=>console.error("SEMVER",...e):()=>{};e.exports=t},8822:e=>{const t=/^[0-9]+$/,r=(e,r)=>{const n=t.test(e),o=t.test(r);return n&&o&&(e=+e,r=+r),e===r?0:n&&!o?-1:o&&!n?1:er(t,e)}},8716:e=>{const t=["includePrerelease","loose","rtl"];e.exports=e=>e?"object"!=typeof e?{loose:!0}:t.filter((t=>e[t])).reduce(((e,t)=>(e[t]=!0,e)),{}):{}},9022:(e,t,r)=>{const{MAX_SAFE_COMPONENT_LENGTH:n}=r(39),o=r(6830),i=(t=e.exports={}).re=[],s=t.src=[],a=t.t={};let u=0;const l=(e,t,r)=>{const n=u++;o(n,t),a[e]=n,s[n]=t,i[n]=new RegExp(t,r?"g":void 0)};l("NUMERICIDENTIFIER","0|[1-9]\\d*"),l("NUMERICIDENTIFIERLOOSE","[0-9]+"),l("NONNUMERICIDENTIFIER","\\d*[a-zA-Z-][a-zA-Z0-9-]*"),l("MAINVERSION",`(${s[a.NUMERICIDENTIFIER]})\\.(${s[a.NUMERICIDENTIFIER]})\\.(${s[a.NUMERICIDENTIFIER]})`),l("MAINVERSIONLOOSE",`(${s[a.NUMERICIDENTIFIERLOOSE]})\\.(${s[a.NUMERICIDENTIFIERLOOSE]})\\.(${s[a.NUMERICIDENTIFIERLOOSE]})`),l("PRERELEASEIDENTIFIER",`(?:${s[a.NUMERICIDENTIFIER]}|${s[a.NONNUMERICIDENTIFIER]})`),l("PRERELEASEIDENTIFIERLOOSE",`(?:${s[a.NUMERICIDENTIFIERLOOSE]}|${s[a.NONNUMERICIDENTIFIER]})`),l("PRERELEASE",`(?:-(${s[a.PRERELEASEIDENTIFIER]}(?:\\.${s[a.PRERELEASEIDENTIFIER]})*))`),l("PRERELEASELOOSE",`(?:-?(${s[a.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${s[a.PRERELEASEIDENTIFIERLOOSE]})*))`),l("BUILDIDENTIFIER","[0-9A-Za-z-]+"),l("BUILD",`(?:\\+(${s[a.BUILDIDENTIFIER]}(?:\\.${s[a.BUILDIDENTIFIER]})*))`),l("FULLPLAIN",`v?${s[a.MAINVERSION]}${s[a.PRERELEASE]}?${s[a.BUILD]}?`),l("FULL",`^${s[a.FULLPLAIN]}$`),l("LOOSEPLAIN",`[v=\\s]*${s[a.MAINVERSIONLOOSE]}${s[a.PRERELEASELOOSE]}?${s[a.BUILD]}?`),l("LOOSE",`^${s[a.LOOSEPLAIN]}$`),l("GTLT","((?:<|>)?=?)"),l("XRANGEIDENTIFIERLOOSE",`${s[a.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),l("XRANGEIDENTIFIER",`${s[a.NUMERICIDENTIFIER]}|x|X|\\*`),l("XRANGEPLAIN",`[v=\\s]*(${s[a.XRANGEIDENTIFIER]})(?:\\.(${s[a.XRANGEIDENTIFIER]})(?:\\.(${s[a.XRANGEIDENTIFIER]})(?:${s[a.PRERELEASE]})?${s[a.BUILD]}?)?)?`),l("XRANGEPLAINLOOSE",`[v=\\s]*(${s[a.XRANGEIDENTIFIERLOOSE]})(?:\\.(${s[a.XRANGEIDENTIFIERLOOSE]})(?:\\.(${s[a.XRANGEIDENTIFIERLOOSE]})(?:${s[a.PRERELEASELOOSE]})?${s[a.BUILD]}?)?)?`),l("XRANGE",`^${s[a.GTLT]}\\s*${s[a.XRANGEPLAIN]}$`),l("XRANGELOOSE",`^${s[a.GTLT]}\\s*${s[a.XRANGEPLAINLOOSE]}$`),l("COERCE",`(^|[^\\d])(\\d{1,${n}})(?:\\.(\\d{1,${n}}))?(?:\\.(\\d{1,${n}}))?(?:$|[^\\d])`),l("COERCERTL",s[a.COERCE],!0),l("LONETILDE","(?:~>?)"),l("TILDETRIM",`(\\s*)${s[a.LONETILDE]}\\s+`,!0),t.tildeTrimReplace="$1~",l("TILDE",`^${s[a.LONETILDE]}${s[a.XRANGEPLAIN]}$`),l("TILDELOOSE",`^${s[a.LONETILDE]}${s[a.XRANGEPLAINLOOSE]}$`),l("LONECARET","(?:\\^)"),l("CARETTRIM",`(\\s*)${s[a.LONECARET]}\\s+`,!0),t.caretTrimReplace="$1^",l("CARET",`^${s[a.LONECARET]}${s[a.XRANGEPLAIN]}$`),l("CARETLOOSE",`^${s[a.LONECARET]}${s[a.XRANGEPLAINLOOSE]}$`),l("COMPARATORLOOSE",`^${s[a.GTLT]}\\s*(${s[a.LOOSEPLAIN]})$|^$`),l("COMPARATOR",`^${s[a.GTLT]}\\s*(${s[a.FULLPLAIN]})$|^$`),l("COMPARATORTRIM",`(\\s*)${s[a.GTLT]}\\s*(${s[a.LOOSEPLAIN]}|${s[a.XRANGEPLAIN]})`,!0),t.comparatorTrimReplace="$1$2$3",l("HYPHENRANGE",`^\\s*(${s[a.XRANGEPLAIN]})\\s+-\\s+(${s[a.XRANGEPLAIN]})\\s*$`),l("HYPHENRANGELOOSE",`^\\s*(${s[a.XRANGEPLAINLOOSE]})\\s+-\\s+(${s[a.XRANGEPLAINLOOSE]})\\s*$`),l("STAR","(<|>)?=?\\s*\\*"),l("GTE0","^\\s*>=\\s*0.0.0\\s*$"),l("GTE0PRE","^\\s*>=\\s*0.0.0-0\\s*$")},8237:(e,t,r)=>{const n=r(9434);e.exports=(e,t,r)=>n(e,t,">",r)},8258:(e,t,r)=>{const n=r(7374);e.exports=(e,t,r)=>(e=new n(e,r),t=new n(t,r),e.intersects(t))},9860:(e,t,r)=>{const n=r(9434);e.exports=(e,t,r)=>n(e,t,"<",r)},6369:(e,t,r)=>{const n=r(9510),o=r(7374);e.exports=(e,t,r)=>{let i=null,s=null,a=null;try{a=new o(t,r)}catch(e){return null}return e.forEach((e=>{a.test(e)&&(i&&-1!==s.compare(e)||(i=e,s=new n(i,r)))})),i}},2663:(e,t,r)=>{const n=r(9510),o=r(7374);e.exports=(e,t,r)=>{let i=null,s=null,a=null;try{a=new o(t,r)}catch(e){return null}return e.forEach((e=>{a.test(e)&&(i&&1!==s.compare(e)||(i=e,s=new n(i,r)))})),i}},75:(e,t,r)=>{const n=r(9510),o=r(7374),i=r(2260);e.exports=(e,t)=>{e=new o(e,t);let r=new n("0.0.0");if(e.test(r))return r;if(r=new n("0.0.0-0"),e.test(r))return r;r=null;for(let t=0;t{const t=new n(e.semver.version);switch(e.operator){case">":0===t.prerelease.length?t.patch++:t.prerelease.push(0),t.raw=t.format();case"":case">=":s&&!i(t,s)||(s=t);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${e.operator}`)}})),!s||r&&!i(r,s)||(r=s)}return r&&e.test(r)?r:null}},9434:(e,t,r)=>{const n=r(9510),o=r(3134),{ANY:i}=o,s=r(7374),a=r(9845),u=r(2260),l=r(290),c=r(5891),p=r(6579);e.exports=(e,t,r,h)=>{let f,v,d,m,g;switch(e=new n(e,h),t=new s(t,h),r){case">":f=u,v=c,d=l,m=">",g=">=";break;case"<":f=l,v=p,d=u,m="<",g="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(a(e,t,h))return!1;for(let r=0;r{e.semver===i&&(e=new o(">=0.0.0")),s=s||e,a=a||e,f(e.semver,s.semver,h)?s=e:d(e.semver,a.semver,h)&&(a=e)})),s.operator===m||s.operator===g)return!1;if((!a.operator||a.operator===m)&&v(e,a.semver))return!1;if(a.operator===g&&d(e,a.semver))return!1}return!0}},3607:(e,t,r)=>{const n=r(9845),o=r(3992);e.exports=(e,t,r)=>{const i=[];let s=null,a=null;const u=e.sort(((e,t)=>o(e,t,r)));for(const e of u)n(e,t,r)?(a=e,s||(s=e)):(a&&i.push([s,a]),a=null,s=null);s&&i.push([s,null]);const l=[];for(const[e,t]of i)e===t?l.push(e):t||e!==u[0]?t?e===u[0]?l.push(`<=${t}`):l.push(`${e} - ${t}`):l.push(`>=${e}`):l.push("*");const c=l.join(" || "),p="string"==typeof t.raw?t.raw:String(t);return c.length{const n=r(7374),{ANY:o}=r(3134),i=r(9845),s=r(3992),a=(e,t,r)=>{if(e===t)return!0;if(1===e.length&&e[0].semver===o)return 1===t.length&&t[0].semver===o;const n=new Set;let a,c,p,h,f,v,d;for(const t of e)">"===t.operator||">="===t.operator?a=u(a,t,r):"<"===t.operator||"<="===t.operator?c=l(c,t,r):n.add(t.semver);if(n.size>1)return null;if(a&&c){if(p=s(a.semver,c.semver,r),p>0)return null;if(0===p&&(">="!==a.operator||"<="!==c.operator))return null}for(const e of n){if(a&&!i(e,String(a),r))return null;if(c&&!i(e,String(c),r))return null;for(const n of t)if(!i(e,String(n),r))return!1;return!0}for(const e of t){if(d=d||">"===e.operator||">="===e.operator,v=v||"<"===e.operator||"<="===e.operator,a)if(">"===e.operator||">="===e.operator){if(h=u(a,e,r),h===e&&h!==a)return!1}else if(">="===a.operator&&!i(a.semver,String(e),r))return!1;if(c)if("<"===e.operator||"<="===e.operator){if(f=l(c,e,r),f===e&&f!==c)return!1}else if("<="===c.operator&&!i(c.semver,String(e),r))return!1;if(!e.operator&&(c||a)&&0!==p)return!1}return!(a&&v&&!c&&0!==p||c&&d&&!a&&0!==p)},u=(e,t,r)=>{if(!e)return t;const n=s(e.semver,t.semver,r);return n>0?e:n<0||">"===t.operator&&">="===e.operator?t:e},l=(e,t,r)=>{if(!e)return t;const n=s(e.semver,t.semver,r);return n<0?e:n>0||"<"===t.operator&&"<="===e.operator?t:e};e.exports=(e,t,r)=>{if(e===t)return!0;e=new n(e,r),t=new n(t,r);let o=!1;e:for(const n of e.set){for(const e of t.set){const t=a(n,e,r);if(o=o||null!==t,t)continue e}if(o)return!1}return!0}},8384:(e,t,r)=>{const n=r(7374);e.exports=(e,t)=>new n(e,t).set.map((e=>e.map((e=>e.value)).join(" ").trim().split(" ")))},9178:(e,t,r)=>{const n=r(7374);e.exports=(e,t)=>{try{return new n(e,t).range||"*"}catch(e){return null}}},4482:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&n(t,e,r);return o(t,e),t},s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.writeResolveRc=t.describeApp=t.getCLI=void 0;const a=s(r(2712)),u=s(r(932)),l=i(r(5622)),c=i(r(2087)),p=r(5747),h=r(3129),f=r(2994),v=(e,t,r,n)=>{const o=h.execSync(`${t} ${r}`,{cwd:e,stdio:n,env:{...process.env}});return null!=o?o.toString():""},d=(e,t,r,n="pipe")=>v(e,(t?"":"yarn --silent ")+"resolve-cloud",r,n),m=(e,t,r,n="pipe")=>v(e,`node ${l.resolve(t,"lib/index.js")}`,r,n);t.getCLI=(e,t,r=!1)=>null!=t&&""!==t?u.default(m,e,t):u.default(d,e,r),t.describeApp=(e,t,r)=>{null==r||r.debug("retrieving a list of deployments");const n=(e=>{var t;const r=e.split(c.EOL).filter((e=>""!==e.trim())).map((e=>e.split(" ").map((e=>e.trim())).filter((e=>e)))),n=null===(t=r.shift())||void 0===t?void 0:t.map((e=>f.camelCase(e.toLowerCase())));return n?r.map((e=>n.reduce(((t,r,n)=>(t[r]=e[n],t)),{}))):[]})(t("ls")).find((t=>t.applicationName===e));if(!n)return null==r||r.error(`deployment with name (${e}) not found with resolve-cloud ls`),null;null==r||r.debug("deployment list arrived, retrieving description");const o=t(`describe ${n.deploymentId}`).toString().split(c.EOL).filter((e=>""!==e.trim())).map((e=>e.split(" ").map((e=>e.trim())).filter((e=>e)))).reduce(((e,t)=>(e[f.camelCase(t[0])]=t[1],e)),{});if(!o||a.default(o))return null==r||r.error(`deployment ${n.id} not found with resolve-cloud describe`),null;const{applicationUrl:i,eventStoreId:s,applicationName:u,deploymentId:l,version:p}=o;return{id:l,url:i,runtime:p,name:u,eventStoreId:s}},t.writeResolveRc=(e,t,r,n,o)=>{if(a.default(e))throw Error("missed .resolverc file path");if(a.default(t))throw Error("missed .resolverc entry [user]");if(a.default(r))throw Error("missed .resolverc entry [token]");const i=null==(s=n)||a.default(s)?new URL("https://api.resolve.sh"):new URL(s);var s;null==o||o.debug(`writing ${e}`),p.writeFileSync(e,JSON.stringify({api_url:i.href,credentials:{user:t,refresh_token:r}}))}},6474:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&n(t,e,r);return o(t,e),t},s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.branchFromRef=t.createExecutor=t.exportEnvVar=t.notEmpty=t.parseBoolean=t.parseScopes=t.restoreNpmRc=t.writeNpmRc=t.processWorkspaces=t.bumpDependencies=void 0;const a=s(r(4598)),u=s(r(2712)),l=r(3129),c=r(5747),p=i(r(5622)),h=i(r(1765));t.bumpDependencies=function(e,t,r){let n;if(Array.isArray(t))n=e=>t.includes(e);else{const e=new RegExp("^"+t);n=t=>e.test(t)}const o=a.default(e);return["dependencies","devDependencies","peerDependencies","optionalDependencies"].forEach((e=>{const t=o[e];null==t||Object.keys(t).forEach((e=>{n(e)&&(t[e]=r)}))})),o},t.processWorkspaces=async function(e,t,r=h.cwd()){const n=l.execSync("yarn --silent workspaces info",{cwd:r}).toString("utf-8"),o=JSON.parse(n),i=Object.keys(o).map((e=>{const n=p.resolve(r,o[e].location);return null==t||t(`[${e}] enqueue processing at ${n}`),{name:e,location:n,pkg:JSON.parse(c.readFileSync(p.resolve(n,"./package.json")).toString("utf-8"))}}));return await Promise.all(i.map((t=>e(t))))},t.writeNpmRc=(e,t,r,n={createBackup:!1})=>{const{core:o,createBackup:i,scopes:s}=n;let a=null;i&&c.existsSync(e)&&(a=p.resolve(p.dirname(e),"._build_npmrc_orig_"),null==o||o.info(`npmrc file exists, backing up to: ${a}`),c.copyFileSync(e,a));const u=null!=s&&s.length>0?s.map((e=>`${e}:registry=${t.protocol}//${t.host}\n`)).join(""):`registry=${t.href}\n`,l=null==r||""===r?u:`//${t.host}/:_authToken=${r}\n//${t.host}/:always-auth=true\n`+u;return null==o||o.debug(`writing ${e}`),null==o||o.debug(l),c.writeFileSync(e,l),a},t.restoreNpmRc=(e,t,r)=>{try{null==r||r.debug(`removing current: ${e}`),c.unlinkSync(e)}catch(e){null==r||r.error(e)}try{null==t||u.default(t)||(null==r||r.debug(`restoring from backup: ${t}`),c.copyFileSync(t,e),c.unlinkSync(t))}catch(e){null==r||r.error(e)}},t.parseScopes=e=>null!=e&&""!==e?e.split(",").map((e=>e.trim())).filter((e=>e.length)):[],t.parseBoolean=e=>null!=e&&["yes","true","1"].includes(e.toLowerCase()),t.notEmpty=function(e){return!u.default(e)},t.exportEnvVar=(e,t)=>l.execSync(`echo "${e}=${t}" >> $GITHUB_ENV`,{stdio:"pipe"}).toString(),t.createExecutor=(e,t)=>(r,n="inherit")=>l.execSync(r,{cwd:e,stdio:n,env:{...h.env,...t}}),t.branchFromRef=e=>{const t=/^refs\/((?!\/).)*\/(.*)$/.exec(e);return null!=t?t[2]:null}},2460:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&n(t,e,r);return o(t,e),t};Object.defineProperty(t,"__esModule",{value:!0});const s=i(r(516));r(4251).main().catch((e=>{s.setFailed(e),process.exit(1)}))},4251:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&n(t,e,r);return o(t,e),t},s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.main=void 0;const a=r(8835),u=r(5747),l=i(r(5622)),c=i(r(516)),p=s(r(8873)),h=r(6474),f=r(4482);t.main=async()=>{const e=l.resolve(process.cwd(),c.getInput("source",{required:!0}));c.debug(`application directory: ${e}`);const t=h.createExecutor(e),r=c.getInput("registry",{required:!0}),n=c.getInput("token",{required:!0}),o=h.parseScopes(c.getInput("framework_scope"));c.info("installing resolve-cloud dependency"),t("npm install resolve-cloud@latest");const i=l.resolve(e,"./package.json"),s=(v=i,JSON.parse(u.readFileSync(v).toString("utf-8")));var v;let d;try{d=new a.URL(r)}catch(e){throw c.debug(`invalid registry URL: "${r}"`),Error(e.message)}h.writeNpmRc(l.resolve(e,".npmrc"),d,n,{scopes:o,core:c});let m=c.getInput("framework_version");if(null==m||0===m.trim().length){if(null==s.dependencies)throw new Error(`Failed to get package ${s.name} dependencies`);const e=Object.keys(s.dependencies).find((e=>e.startsWith("@resolve-js/"))),{data:r}=JSON.parse(t(`yarn -s info ${e} dist-tags --json`,"pipe").toString()),n=c.getInput("registry_package_tag");if(null==n||0===n.trim().length)throw new Error("Failed to get registry package tag");m=r[n]}if(!p.default.parse(m))throw new Error(`Incorrect specified version "${m}"`);c.debug(`patching framework version to ${m}`);const g=h.bumpDependencies(s,`${c.getInput("framework_scope")}/.*$`,m);c.debug(`writing patched: ${i}`);const E=JSON.stringify(g,null,2);c.debug(E),u.writeFileSync(i,E),f.writeResolveRc(l.resolve(e,".resolverc"),c.getInput("cloud_user",{required:!0}),c.getInput("cloud_token",{required:!0}),c.getInput("cloud_api_url"),c),c.info("installing application dependencies"),t("npm install"),t("node ./ci-scripts/resolve-gate/run-task.js")}},9976:e=>{"use strict";e.exports=function(e){e.prototype[Symbol.iterator]=function*(){for(let e=this.head;e;e=e.next)yield e.value}}},7372:(e,t,r)=>{"use strict";function n(e){var t=this;if(t instanceof n||(t=new n),t.tail=null,t.head=null,t.length=0,e&&"function"==typeof e.forEach)e.forEach((function(e){t.push(e)}));else if(arguments.length>0)for(var r=0,o=arguments.length;r1)r=t;else{if(!this.head)throw new TypeError("Reduce of empty list with no initial value");n=this.head.next,r=this.head.value}for(var o=0;null!==n;o++)r=e(r,n.value,o),n=n.next;return r},n.prototype.reduceReverse=function(e,t){var r,n=this.tail;if(arguments.length>1)r=t;else{if(!this.tail)throw new TypeError("Reduce of empty list with no initial value");n=this.tail.prev,r=this.tail.value}for(var o=this.length-1;null!==n;o--)r=e(r,n.value,o),n=n.prev;return r},n.prototype.toArray=function(){for(var e=new Array(this.length),t=0,r=this.head;null!==r;t++)e[t]=r.value,r=r.next;return e},n.prototype.toArrayReverse=function(){for(var e=new Array(this.length),t=0,r=this.tail;null!==r;t++)e[t]=r.value,r=r.prev;return e},n.prototype.slice=function(e,t){(t=t||this.length)<0&&(t+=this.length),(e=e||0)<0&&(e+=this.length);var r=new n;if(tthis.length&&(t=this.length);for(var o=0,i=this.head;null!==i&&othis.length&&(t=this.length);for(var o=this.length,i=this.tail;null!==i&&o>t;o--)i=i.prev;for(;null!==i&&o>e;o--,i=i.prev)r.push(i.value);return r},n.prototype.splice=function(e,t,...r){e>this.length&&(e=this.length-1),e<0&&(e=this.length+e);for(var n=0,i=this.head;null!==i&&n{"use strict";e.exports=require("child_process")},5747:e=>{"use strict";e.exports=require("fs")},2087:e=>{"use strict";e.exports=require("os")},5622:e=>{"use strict";e.exports=require("path")},1765:e=>{"use strict";e.exports=require("process")},8835:e=>{"use strict";e.exports=require("url")}},t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={id:n,loaded:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.loaded=!0,o.exports}r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),r(2460)})(); \ No newline at end of file