npm package diff
Package: @forge/node-runtime
Versions: 0.15.0 - 0.14.4-next.0-experimental-204139e
File: package/dist/wrapper.js
Index: package/dist/wrapper.js
===================================================================
--- package/dist/wrapper.js
+++ package/dist/wrapper.js
@@ -1,2 +1,2 @@
/*! For license information please see wrapper.js.LICENSE.txt */
-(()=>{var e={4217:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.InMemoryMetrics=void 0;const i=t(9172);Object.defineProperty(r,"InMemoryMetrics",{enumerable:!0,get:function(){return i.InMemoryMetrics}})},7406:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.InMemoryCounterMetric=void 0;const i=t(6844);class n extends i.InMemoryMetric{constructor(){super(...arguments),this.count=0}getCount(){return this.count}incr(){this.count++}decr(){this.count--}decrBy(e){this.count-=e}incrBy(e){this.count+=e}}r.InMemoryCounterMetric=n},8965:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.InMemoryGaugeMetric=void 0;const i=t(6844);class n extends i.InMemoryMetric{constructor(){super(...arguments),this.value=0}getValue(){return this.value}set(e){this.value=e}}r.InMemoryGaugeMetric=n},6844:(e,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.InMemoryMetric=void 0,r.InMemoryMetric=class{constructor(e,r){this.name=e,this.additionalInfo=r}getName(){return this.name}getTags(){return this.additionalInfo||{}}}},5949:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.InMemoryTimedMetric=void 0;const i=t(6844);class n extends i.InMemoryMetric{constructor(){super(...arguments),this.latency=0,this.started=!1,this.startedAt=BigInt(0)}getTime(){return this.started&&this.stopTimer(),this.format(this.latency)}format(e,r){return parseFloat(e.toFixed(r?.precision||2))}stopTimer(e){const r=process.hrtime.bigint()-this.startedAt;this.started=!1,this.set(Number(r)/1e6,e)}measure(){return this.startedAt=process.hrtime.bigint(),this.started=!0,{stop:(e,r)=>(this.stopTimer(e),this.format(this.latency,r))}}set(e,r){this.latency=e,r&&(this.additionalInfo={...this.additionalInfo,...r})}}r.InMemoryTimedMetric=n},9172:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.InMemoryMetrics=void 0;const i=t(7406),n=t(8965),o=t(6844),a=t(5949);class s extends o.InMemoryMetric{constructor(e,r=""){super(r,e),this._timers=[],this._counters=new Map,this._gauges=new Map,this._children=new Map}getTimers(){return this._timers}getCounters(){return this._counters}getGauges(){return this._gauges}getChildren(){return this._children}tagsWith(e){return{...this.getTags(),...e}}getHashedMetricName(e,r){const t=Object.entries(this.tagsWith(r)).sort();return`${e}_${JSON.stringify(t)}`}child(e,r){const t=this.getHashedMetricName(e,r);if(!this._children.has(t)){const i=new s(this.tagsWith(r),e);this._children.set(t,i)}return this._children.get(t)}counter(e,r){const t=this.getHashedMetricName(e,r);if(!this._counters.has(t)){const n=new i.InMemoryCounterMetric(e,this.tagsWith(r));this._counters.set(t,n)}return this._counters.get(t)}counterByName(e){const r=Array.from(this.getCounters().values()).filter((r=>r.getName()===e));if(1!==r.length)throw new Error(`Expected to find a single counter with name ${e}, but found ${r.length}`);return r[0]}gauge(e,r){const t=this.getHashedMetricName(e,r);if(!this._gauges.has(t)){const i=new n.InMemoryGaugeMetric(e,this.tagsWith(r));this._gauges.set(t,i)}return this._gauges.get(t)}gaugeByName(e){const r=Array.from(this.getGauges().values()).filter((r=>r.getName()===e));if(1!==r.length)throw new Error(`Expected to find a single gauge with name ${e}, but found ${r.length}`);return r[0]}timerByName(e){const r=this._timers.find((r=>r.getName()===e));if(!r)throw new Error(`Failed to find timer with name ${e}`);return r}timing(e,r){const t=new a.InMemoryTimedMetric(e,this.tagsWith(r));return this._timers.push(t),t}event(e,r){throw new Error("Events are not implemented.")}set(e,r){throw new Error("Sets are not implemented.")}histogram(e,r,t){throw new Error("Histograms are not implemented.")}}r.InMemoryMetrics=s},5615:(e,r,t)=>{"use strict";e.exports=t(3078),e.exports.HttpsAgent=t(1808),e.exports.constants=t(1362)},3078:(e,r,t)=>{"use strict";const i=t(8611).Agent,n=t(2178),o=t(9023).debuglog("agentkeepalive"),{INIT_SOCKET:a,CURRENT_ID:s,CREATE_ID:u,SOCKET_CREATED_TIME:c,SOCKET_NAME:d,SOCKET_REQUEST_COUNT:l,SOCKET_REQUEST_FINISHED_COUNT:I}=t(1362);let p=1;const f=parseInt(process.version.split(".",1)[0].substring(1));function m(e){console.log("[agentkeepalive:deprecated] %s",e)}function h(e){return e.timeout||e._idleTimeout}function g(e){const r={};for(const t in e)r[t]=e[t].length;return r}f>=11&&f<=12?p=2:f>=13&&(p=3),e.exports=class extends i{constructor(e){(e=e||{}).keepAlive=!1!==e.keepAlive,void 0===e.freeSocketTimeout&&(e.freeSocketTimeout=4e3),e.keepAliveTimeout&&(m("options.keepAliveTimeout is deprecated, please use options.freeSocketTimeout instead"),e.freeSocketTimeout=e.keepAliveTimeout,delete e.keepAliveTimeout),e.freeSocketKeepAliveTimeout&&(m("options.freeSocketKeepAliveTimeout is deprecated, please use options.freeSocketTimeout instead"),e.freeSocketTimeout=e.freeSocketKeepAliveTimeout,delete e.freeSocketKeepAliveTimeout),void 0===e.timeout&&(e.timeout=Math.max(2*e.freeSocketTimeout,8e3)),e.timeout=n(e.timeout),e.freeSocketTimeout=n(e.freeSocketTimeout),e.socketActiveTTL=e.socketActiveTTL?n(e.socketActiveTTL):0,super(e),this[s]=0,this.createSocketCount=0,this.createSocketCountLastCheck=0,this.createSocketErrorCount=0,this.createSocketErrorCountLastCheck=0,this.closeSocketCount=0,this.closeSocketCountLastCheck=0,this.errorSocketCount=0,this.errorSocketCountLastCheck=0,this.requestCount=0,this.requestCountLastCheck=0,this.timeoutSocketCount=0,this.timeoutSocketCountLastCheck=0,this.on("free",(e=>{const r=this.calcSocketTimeout(e);r>0&&e.timeout!==r&&e.setTimeout(r)}))}get freeSocketKeepAliveTimeout(){return m("agent.freeSocketKeepAliveTimeout is deprecated, please use agent.options.freeSocketTimeout instead"),this.options.freeSocketTimeout}get timeout(){return m("agent.timeout is deprecated, please use agent.options.timeout instead"),this.options.timeout}get socketActiveTTL(){return m("agent.socketActiveTTL is deprecated, please use agent.options.socketActiveTTL instead"),this.options.socketActiveTTL}calcSocketTimeout(e){let r=this.options.freeSocketTimeout;const t=this.options.socketActiveTTL;if(t){const i=t-(Date.now()-e[c]);if(i<=0)return i;r&&i<r&&(r=i)}if(r)return e.freeSocketTimeout||e.freeSocketKeepAliveTimeout||r}keepSocketAlive(e){const r=super.keepSocketAlive(e);if(!r)return r;const t=this.calcSocketTimeout(e);return void 0===t||(t<=0?(o("%s(requests: %s, finished: %s) free but need to destroy by TTL, request count %s, diff is %s",e[d],e[l],e[I],t),!1):(e.timeout!==t&&e.setTimeout(t),!0))}reuseSocket(...e){super.reuseSocket(...e);const r=e[0];e[1].reusedSocket=!0;const t=this.options.timeout;h(r)!==t&&(r.setTimeout(t),o("%s reset timeout to %sms",r[d],t)),r[l]++,o("%s(requests: %s, finished: %s) reuse on addRequest, timeout %sms",r[d],r[l],r[I],h(r))}[u](){const e=this[s]++;return this[s]===Number.MAX_SAFE_INTEGER&&(this[s]=0),e}[a](e,r){r.timeout&&(h(e)||e.setTimeout(r.timeout)),this.options.keepAlive&&e.setNoDelay(!0),this.createSocketCount++,this.options.socketActiveTTL&&(e[c]=Date.now()),e[d]=`sock[${this[u]()}#${r._agentKey}]`.split("-----BEGIN",1)[0],e[l]=1,e[I]=0,function(e,r,t){function i(){if(!r._httpMessage&&1===r[l])return;r[I]++,e.requestCount++,o("%s(requests: %s, finished: %s) free",r[d],r[l],r[I]);const i=e.getName(t);r.writable&&e.requests[i]&&e.requests[i].length&&(r[l]++,o("%s(requests: %s, finished: %s) will be reuse on agent free event",r[d],r[l],r[I]))}function n(t){o("%s(requests: %s, finished: %s) close, isError: %s",r[d],r[l],r[I],t),e.closeSocketCount++}function a(){const i=r.listeners("timeout").length,n=h(r),a=r._httpMessage,s=a&&a.listeners("timeout").length||0;o("%s(requests: %s, finished: %s) timeout after %sms, listeners %s, defaultTimeoutListenerCount %s, hasHttpRequest %s, HttpRequest timeoutListenerCount %s",r[d],r[l],r[I],n,i,p,!!a,s),o.enabled&&o("timeout listeners: %s",r.listeners("timeout").map((e=>e.name)).join(", ")),e.timeoutSocketCount++;const u=e.getName(t);if(e.freeSockets[u]&&-1!==e.freeSockets[u].indexOf(r))r.destroy(),e.removeSocket(r,t),o("%s is free, destroy quietly",r[d]);else if(0===s){const i=new Error("Socket timeout");i.code="ERR_SOCKET_TIMEOUT",i.timeout=n,r.destroy(i),e.removeSocket(r,t),o("%s destroy with timeout error",r[d])}}function s(t){const i=r.listeners("error").length;o("%s(requests: %s, finished: %s) error: %s, listenerCount: %s",r[d],r[l],r[I],t,i),e.errorSocketCount++,1===i&&(o("%s emit uncaught error event",r[d]),r.removeListener("error",s),r.emit("error",t))}o("%s create, timeout %sms",r[d],h(r)),r.on("free",i),r.on("close",n),r.on("timeout",a),r.on("error",s),r.on("agentRemove",(function e(){o("%s(requests: %s, finished: %s) agentRemove",r[d],r[l],r[I]),r.removeListener("close",n),r.removeListener("error",s),r.removeListener("free",i),r.removeListener("timeout",a),r.removeListener("agentRemove",e)}))}(this,e,r)}createConnection(e,r){let t=!1;const i=(i,n)=>{if(!t){if(t=!0,i)return this.createSocketErrorCount++,r(i);this[a](n,e),r(i,n)}},n=super.createConnection(e,i);return n&&i(null,n),n}get statusChanged(){const e=this.createSocketCount!==this.createSocketCountLastCheck||this.createSocketErrorCount!==this.createSocketErrorCountLastCheck||this.closeSocketCount!==this.closeSocketCountLastCheck||this.errorSocketCount!==this.errorSocketCountLastCheck||this.timeoutSocketCount!==this.timeoutSocketCountLastCheck||this.requestCount!==this.requestCountLastCheck;return e&&(this.createSocketCountLastCheck=this.createSocketCount,this.createSocketErrorCountLastCheck=this.createSocketErrorCount,this.closeSocketCountLastCheck=this.closeSocketCount,this.errorSocketCountLastCheck=this.errorSocketCount,this.timeoutSocketCountLastCheck=this.timeoutSocketCount,this.requestCountLastCheck=this.requestCount),e}getCurrentStatus(){return{createSocketCount:this.createSocketCount,createSocketErrorCount:this.createSocketErrorCount,closeSocketCount:this.closeSocketCount,errorSocketCount:this.errorSocketCount,timeoutSocketCount:this.timeoutSocketCount,requestCount:this.requestCount,freeSockets:g(this.freeSockets),sockets:g(this.sockets),requests:g(this.requests)}}}},1362:e=>{"use strict";e.exports={CURRENT_ID:Symbol("agentkeepalive#currentId"),CREATE_ID:Symbol("agentkeepalive#createId"),INIT_SOCKET:Symbol("agentkeepalive#initSocket"),CREATE_HTTPS_CONNECTION:Symbol("agentkeepalive#createHttpsConnection"),SOCKET_CREATED_TIME:Symbol("agentkeepalive#socketCreatedTime"),SOCKET_NAME:Symbol("agentkeepalive#socketName"),SOCKET_REQUEST_COUNT:Symbol("agentkeepalive#socketRequestCount"),SOCKET_REQUEST_FINISHED_COUNT:Symbol("agentkeepalive#socketRequestFinishedCount")}},1808:(e,r,t)=>{"use strict";const i=t(5692).Agent,n=t(3078),{INIT_SOCKET:o,CREATE_HTTPS_CONNECTION:a}=t(1362);class s extends n{constructor(e){super(e),this.defaultPort=443,this.protocol="https:",this.maxCachedSessions=this.options.maxCachedSessions,void 0===this.maxCachedSessions&&(this.maxCachedSessions=100),this._sessionCache={map:{},list:[]}}createConnection(e,r){const t=this[a](e,r);return this[o](t,e),t}}s.prototype[a]=i.prototype.createConnection,["getName","_getSession","_cacheSession","_evictSession"].forEach((function(e){"function"==typeof i.prototype[e]&&(s.prototype[e]=i.prototype[e])})),e.exports=s},5289:(e,r,t)=>{"use strict";t.d(r,{v:()=>n});var i=t(1555);function n(e){var r=(0,i.UA)(e);return function(t){return{concat:r(t).concat,empty:e.of(t.empty)}}}},1555:(e,r,t)=>{"use strict";function i(e){return function(r){return function(t){return e.ap(e.map(t,(function(e){return function(){return e}})),r)}}}function n(e){return function(r){return function(t){return e.ap(e.map(t,(function(){return function(e){return e}})),r)}}}function o(e){return function(r,t){return function(i){return e.ap(e.map(i,(function(e){return function(t){var i;return Object.assign({},e,((i={})[r]=t,i))}})),t)}}}function a(e){return function(r){return{concat:function(t,i){return e.ap(e.map(t,(function(e){return function(t){return r.concat(e,t)}})),i)}}}}t.d(r,{TZ:()=>o,UA:()=>a,g$:()=>n,oW:()=>i})},6863:(e,r,t)=>{"use strict";t.r(r),t.d(r,{Alt:()=>lt,Alternative:()=>ft,Applicative:()=>at,Apply:()=>it,Chain:()=>st,ChainRecBreadthFirst:()=>Vt,ChainRecDepthFirst:()=>At,Compactable:()=>ht,Do:()=>Mt,Extend:()=>mt,Filterable:()=>gt,FilterableWithIndex:()=>vt,Foldable:()=>yt,FoldableWithIndex:()=>wt,FromEither:()=>xt,Functor:()=>Xr,FunctorWithIndex:()=>tt,Monad:()=>ct,Pointed:()=>rt,Traversable:()=>St,TraversableWithIndex:()=>_t,URI:()=>Zr,Unfoldable:()=>dt,Witherable:()=>Ot,Zero:()=>It,alt:()=>Ar,altW:()=>kr,ap:()=>pr,apFirst:()=>nt,apS:()=>Ut,apSecond:()=>ot,append:()=>q,appendW:()=>V,array:()=>Ht,bind:()=>Zt,bindTo:()=>Pt,chain:()=>Dt,chainFirst:()=>ut,chainRecBreadthFirst:()=>qt,chainRecDepthFirst:()=>kt,chainWithIndex:()=>Z,chop:()=>xe,chunksOf:()=>$e,compact:()=>yr,comprehension:()=>Ne,concat:()=>Fe,concatW:()=>Ce,cons:()=>Bt,copy:()=>pe,deleteAt:()=>he,difference:()=>Me,dropLeft:()=>ne,dropLeftWhile:()=>ae,dropRight:()=>oe,duplicate:()=>Er,elem:()=>qe,empty:()=>Kt,every:()=>Ct,exists:()=>zt,extend:()=>Vr,filter:()=>Sr,filterE:()=>Et,filterMap:()=>vr,filterMapWithIndex:()=>gr,filterWithIndex:()=>qr,findFirst:()=>ue,findFirstMap:()=>ce,findIndex:()=>se,findLast:()=>de,findLastIndex:()=>Ie,findLastMap:()=>le,flap:()=>et,flatMap:()=>fr,flatten:()=>mr,foldLeft:()=>L,foldMap:()=>xr,foldMapWithIndex:()=>Rr,foldRight:()=>j,fromEither:()=>Q,fromEitherK:()=>Rt,fromOption:()=>$,fromOptionK:()=>Qe,fromPredicate:()=>R,getDifferenceMagma:()=>Yr,getEq:()=>Kr,getIntersectionSemigroup:()=>Hr,getMonoid:()=>Wr,getOrd:()=>Br,getSemigroup:()=>Dr,getShow:()=>Ur,getUnionMonoid:()=>Jr,getUnionSemigroup:()=>Gr,guard:()=>pt,head:()=>G,init:()=>Y,insertAt:()=>fe,intercalate:()=>Lt,intersection:()=>Le,intersperse:()=>ke,isEmpty:()=>T,isNonEmpty:()=>O,isOutOfBound:()=>K,last:()=>J,lefts:()=>we,let:()=>jt,lookup:()=>B,makeBy:()=>E,map:()=>Ir,mapWithIndex:()=>hr,match:()=>C,matchLeft:()=>z,matchLeftW:()=>F,matchRight:()=>P,matchRightW:()=>M,matchW:()=>N,modifyAt:()=>ge,of:()=>dr,partition:()=>_r,partitionMap:()=>Tr,partitionMapWithIndex:()=>Or,partitionWithIndex:()=>br,prepend:()=>k,prependAll:()=>Oe,prependToAll:()=>Jt,prependW:()=>A,range:()=>Wt,reduce:()=>$r,reduceRight:()=>Nr,reduceRightWithIndex:()=>Cr,reduceWithIndex:()=>Qr,replicate:()=>x,reverse:()=>ve,rights:()=>ye,rotate:()=>Ae,scanLeft:()=>U,scanRight:()=>D,separate:()=>wr,sequence:()=>zr,size:()=>W,snoc:()=>Gt,some:()=>Ft,sort:()=>Se,sortBy:()=>Ee,spanLeft:()=>ie,splitAt:()=>Re,tail:()=>H,takeLeft:()=>X,takeLeftWhile:()=>re,takeRight:()=>ee,traverse:()=>Fr,traverseWithIndex:()=>Lr,unfold:()=>jr,union:()=>ze,uniq:()=>Ve,unsafeDeleteAt:()=>Nt,unsafeInsertAt:()=>$t,unsafeUpdateAt:()=>Qt,unzip:()=>Te,updateAt:()=>me,wilt:()=>Pr,wither:()=>Mr,zero:()=>lr,zip:()=>be,zipWith:()=>_e});var i=t(1555),n=t(666),o=t(4298),a=t(5103),s=t(3304),u=t(9930),c=t(8782),d=t(253),l=function(e,r){return e<r?-1:e>r?1:0},I=t(5232),p=t(8288),f=t(2224),m=t(1216),h=p.J_;p.Hs,p.Cs,p.BC,p.Ak;var g=p.kI;p.of;var v=(a.D_,function(e){return function(r){return function(t){return t.reduce((function(t,i,n){return e.concat(t,r(n,i))}),e.empty)}}}),y=function(e,r){return function(t){for(var i=t.length,n=e,o=0;o<i;o++)n=r(o,n,t[o]);return n}},w=function(e,r){return function(t){return t.reduceRight((function(e,t,i){return r(i,t,e)}),e)}},S=function(e){return function(r){for(var t=function(e,r,t){if(t||2===arguments.length)for(var i,n=0,o=r.length;n<o;n++)!i&&n in r||(i||(i=Array.prototype.slice.call(r,0,n)),i[n]=r[n]);return e.concat(i||Array.prototype.slice.call(r))}([],e(r),!0),i=[];t.length>0;){var n=t.shift();u.OC(n)?t.unshift.apply(t,e(n.left)):i.push(n.right)}return i}},_=function(e){return function(r){var t=e(r),i=[],n=[];function o(r){u.OC(r)?e(r.left).forEach((function(e){return i.push(e)})):n.push(r.right)}for(var a=0,s=t;a<s.length;a++)o(s[a]);for(;i.length>0;)o(i.shift());return n}};p.jK,p.Ie,u.FR,p.y1,p.qu,p.Kv;var b=t(1965),T=function(e){return 0===e.length},O=c.isNonEmpty,k=c.prepend,A=c.prependW,q=c.append,V=c.appendW,E=function(e,r){return e<=0?[]:c.makeBy(r)(e)},x=function(e,r){return E(e,(function(){return r}))};function R(e){return function(r){return e(r)?[r]:[]}}var $=function(e){return u.$I(e)?[]:[e.value]},Q=function(e){return u.OC(e)?[]:[e.right]},N=function(e,r){return function(t){return O(t)?r(t):e()}},C=N,F=function(e,r){return function(t){return O(t)?r(c.head(t),c.tail(t)):e()}},z=F,L=z,M=function(e,r){return function(t){return O(t)?r(c.init(t),c.last(t)):e()}},P=M,j=P,Z=function(e){return function(r){for(var t=[],i=0;i<r.length;i++)t.push.apply(t,e(i,r[i]));return t}},U=function(e,r){return function(t){var i=t.length,n=new Array(i+1);n[0]=e;for(var o=0;o<i;o++)n[o+1]=r(n[o],t[o]);return n}},D=function(e,r){return function(t){var i=t.length,n=new Array(i+1);n[i]=e;for(var o=i-1;o>=0;o--)n[o]=r(t[o],n[o+1]);return n}},W=function(e){return e.length},K=c.isOutOfBound,B=function e(r,t){return void 0===t?function(t){return e(r,t)}:g(r,t)?u.dv:u.zN(t[r])},G=function(e){return h(e)?u.zN(p.d5(e)):u.dv},J=function(e){return h(e)?u.zN(p.HV(e)):u.dv},H=function(e){return O(e)?u.zN(c.tail(e)):u.dv},Y=function(e){return O(e)?u.zN(c.init(e)):u.dv},X=function(e){return function(r){return K(e,r)?pe(r):r.slice(0,e)}},ee=function(e){return function(r){return K(e,r)?pe(r):0===e?[]:r.slice(-e)}};function re(e){return function(r){for(var t=[],i=0,n=r;i<n.length;i++){var o=n[i];if(!e(o))break;t.push(o)}return t}}var te=function(e,r){for(var t=e.length,i=0;i<t&&r(e[i]);i++);return i};function ie(e){return function(r){var t=Re(te(r,e))(r);return{init:t[0],rest:t[1]}}}var ne=function(e){return function(r){return e<=0||T(r)?pe(r):e>=r.length?[]:r.slice(e,r.length)}},oe=function(e){return function(r){return e<=0||T(r)?pe(r):e>=r.length?[]:r.slice(0,r.length-e)}};function ae(e){return function(r){return r.slice(te(r,e))}}var se=function(e){return function(r){for(var t=0;t<r.length;t++)if(e(r[t]))return u.zN(t);return u.dv}};function ue(e){return function(e){return function(r){for(var t=0;t<r.length;t++)if(e(r[t]))return u.zN(r[t]);return u.dv}}(e)}var ce=function(e){return function(r){for(var t=0;t<r.length;t++){var i=e(r[t]);if(u.Ru(i))return i}return u.dv}};function de(e){return function(e){return function(r){for(var t=r.length-1;t>=0;t--)if(e(r[t]))return u.zN(r[t]);return u.dv}}(e)}var le=function(e){return function(r){for(var t=r.length-1;t>=0;t--){var i=e(r[t]);if(u.Ru(i))return i}return u.dv}},Ie=function(e){return function(r){for(var t=r.length-1;t>=0;t--)if(e(r[t]))return u.zN(t);return u.dv}},pe=function(e){return e.slice()},fe=function(e,r){return function(t){return e<0||e>t.length?u.dv:u.zN($t(e,r,t))}},me=function(e,r){return ge(e,(function(){return r}))},he=function(e){return function(r){return K(e,r)?u.dv:u.zN(Nt(e,r))}},ge=function(e,r){return function(t){return K(e,t)?u.dv:u.zN(Qt(e,r(t[e]),t))}},ve=function(e){return T(e)?[]:e.slice().reverse()},ye=function(e){for(var r=[],t=0;t<e.length;t++){var i=e[t];"Right"===i._tag&&r.push(i.right)}return r},we=function(e){for(var r=[],t=0;t<e.length;t++){var i=e[t];"Left"===i._tag&&r.push(i.left)}return r},Se=function(e){return function(r){return r.length<=1?pe(r):r.slice().sort(e.compare)}},_e=function(e,r,t){for(var i=[],n=Math.min(e.length,r.length),o=0;o<n;o++)i[o]=t(e[o],r[o]);return i};function be(e,r){return void 0===r?function(r){return be(r,e)}:_e(e,r,(function(e,r){return[e,r]}))}var Te=function(e){for(var r=[],t=[],i=0;i<e.length;i++)r[i]=e[i][0],t[i]=e[i][1];return[r,t]},Oe=function(e){var r=c.prependAll(e);return function(e){return O(e)?r(e):[]}},ke=function(e){var r=c.intersperse(e);return function(e){return O(e)?r(e):pe(e)}},Ae=function(e){var r=c.rotate(e);return function(e){return O(e)?r(e):pe(e)}},qe=function e(r){return function(t,i){if(void 0===i){var n=e(r);return function(e){return n(t,e)}}for(var o,a=0;a<i.length;a++)if(o=i[a],r.equals(o,t))return!0;return!1}},Ve=function(e){var r=c.uniq(e);return function(e){return O(e)?r(e):pe(e)}},Ee=function(e){var r=c.sortBy(e);return function(e){return O(e)?r(e):pe(e)}},xe=function(e){var r=c.chop(e);return function(e){return O(e)?r(e):[]}},Re=function(e){return function(r){return e>=1&&O(r)?c.splitAt(e)(r):T(r)?[pe(r),[]]:[[],pe(r)]}},$e=function(e){var r=c.chunksOf(e);return function(e){return O(e)?r(e):[]}},Qe=function(e){return function(){for(var r=[],t=0;t<arguments.length;t++)r[t]=arguments[t];return $(e.apply(void 0,r))}};function Ne(e,r,t){void 0===t&&(t=function(){return!0});var i=function(e,n){return O(n)?fr(c.head(n),(function(r){return i((0,a.Fs)(e,q(r)),c.tail(n))})):t.apply(void 0,e)?[r.apply(void 0,e)]:[]};return i([],e)}var Ce=function(e){return function(r){return T(r)?pe(e):T(e)?pe(r):r.concat(e)}},Fe=Ce;function ze(e){var r=c.union(e);return function(t,i){if(void 0===i){var n=ze(e);return function(e){return n(e,t)}}return O(t)&&O(i)?r(i)(t):O(t)?pe(t):pe(i)}}function Le(e){var r=qe(e);return function(t,i){if(void 0===i){var n=Le(e);return function(e){return n(e,t)}}return t.filter((function(e){return r(e,i)}))}}function Me(e){var r=qe(e);return function(t,i){if(void 0===i){var n=Me(e);return function(e){return n(e,t)}}return t.filter((function(e){return!r(e,i)}))}}var Pe=function(e,r){return(0,a.Fs)(e,Ir(r))},je=function(e,r){return(0,a.Fs)(e,hr(r))},Ze=function(e,r){return(0,a.Fs)(e,pr(r))},Ue=function(e,r){return(0,a.Fs)(e,Sr(r))},De=function(e,r){return(0,a.Fs)(e,vr(r))},We=function(e,r){return(0,a.Fs)(e,_r(r))},Ke=function(e,r){return(0,a.Fs)(e,Tr(r))},Be=function(e,r){return(0,a.Fs)(e,br(r))},Ge=function(e,r){return(0,a.Fs)(e,Or(r))},Je=function(e,r){return(0,a.Fs)(e,Ar(r))},He=function(e,r,t){return(0,a.Fs)(e,$r(r,t))},Ye=function(e){var r=xr(e);return function(e,t){return(0,a.Fs)(e,r(t))}},Xe=function(e,r,t){return(0,a.Fs)(e,Nr(r,t))},er=function(e,r,t){return(0,a.Fs)(e,Qr(r,t))},rr=function(e){var r=Rr(e);return function(e,t){return(0,a.Fs)(e,r(t))}},tr=function(e,r,t){return(0,a.Fs)(e,Cr(r,t))},ir=function(e,r){return(0,a.Fs)(e,gr(r))},nr=function(e,r){return(0,a.Fs)(e,qr(r))},or=function(e,r){return(0,a.Fs)(e,Vr(r))},ar=function(e){var r=Fr(e);return function(e,t){return(0,a.Fs)(e,r(t))}},sr=function(e){var r=Lr(e);return function(e,t){return(0,a.Fs)(e,r(t))}},ur=function(e,r){return(0,a.Fs)(e,S(r))},cr=function(e,r){return(0,a.Fs)(e,_(r))},dr=c.of,lr=function(){return[]},Ir=function(e){return function(r){return r.map((function(r){return e(r)}))}},pr=function(e){return fr((function(r){return(0,a.Fs)(e,Ir(r))}))},fr=(0,a.XY)(2,(function(e,r){return(0,a.Fs)(e,Z((function(e,t){return r(t,e)})))})),mr=fr(a.D_),hr=function(e){return function(r){return r.map((function(r,t){return e(t,r)}))}},gr=function(e){return function(r){for(var t=[],i=0;i<r.length;i++){var n=e(i,r[i]);u.Ru(n)&&t.push(n.value)}return t}},vr=function(e){return gr((function(r,t){return e(t)}))},yr=vr(a.D_),wr=function(e){for(var r=[],t=[],i=0,n=e;i<n.length;i++){var o=n[i];"Left"===o._tag?r.push(o.left):t.push(o.right)}return(0,f.Ci)(r,t)},Sr=function(e){return function(r){return r.filter(e)}},_r=function(e){return br((function(r,t){return e(t)}))},br=function(e){return function(r){for(var t=[],i=[],n=0;n<r.length;n++){var o=r[n];e(n,o)?i.push(o):t.push(o)}return(0,f.Ci)(t,i)}},Tr=function(e){return Or((function(r,t){return e(t)}))},Or=function(e){return function(r){for(var t=[],i=[],n=0;n<r.length;n++){var o=e(n,r[n]);"Left"===o._tag?t.push(o.left):i.push(o.right)}return(0,f.Ci)(t,i)}},kr=function(e){return function(r){return r.concat(e())}},Ar=kr,qr=function(e){return function(r){return r.filter((function(r,t){return e(t,r)}))}},Vr=function(e){return function(r){return r.map((function(t,i){return e(r.slice(i))}))}},Er=Vr(a.D_),xr=function(e){var r=v(e);return function(e){return r((function(r,t){return e(t)}))}},Rr=v,$r=function(e,r){return y(e,(function(e,t,i){return r(t,i)}))},Qr=y,Nr=function(e,r){return w(e,(function(e,t,i){return r(t,i)}))},Cr=w,Fr=function(e){var r=Lr(e);return function(e){return r((function(r,t){return e(t)}))}},zr=function(e){return function(r){return He(r,e.of(lr()),(function(r,t){return e.ap(e.map(r,(function(e){return function(r){return(0,a.Fs)(e,q(r))}})),t)}))}},Lr=function(e){return function(r){return Qr(e.of(lr()),(function(t,i,n){return e.ap(e.map(i,(function(e){return function(r){return(0,a.Fs)(e,q(r))}})),r(t,n))}))}},Mr=function(e){var r=bt(e);return function(e){return function(t){return r(t,e)}}},Pr=function(e){var r=Tt(e);return function(e){return function(t){return r(t,e)}}},jr=function(e,r){for(var t=[],i=e;;){var n=r(i);if(!u.Ru(n))break;var o=n.value,a=o[0],s=o[1];t.push(a),i=s}return t},Zr="Array",Ur=function(e){return{show:function(r){return"[".concat(r.map(e.show).join(", "),"]")}}},Dr=function(){return{concat:function(e,r){return e.concat(r)}}},Wr=function(){return{concat:Dr().concat,empty:[]}},Kr=function(e){return(0,d.ee)((function(r,t){return r.length===t.length&&r.every((function(r,i){return e.equals(r,t[i])}))}))},Br=function(e){return(0,I.I3)((function(r,t){for(var i=r.length,n=t.length,o=Math.min(i,n),a=0;a<o;a++){var s=e.compare(r[a],t[a]);if(0!==s)return s}return l(i,n)}))},Gr=function(e){var r=ze(e);return{concat:function(e,t){return r(t)(e)}}},Jr=function(e){return{concat:Gr(e).concat,empty:[]}},Hr=function(e){var r=Le(e);return{concat:function(e,t){return r(t)(e)}}},Yr=function(e){var r=Me(e);return{concat:function(e,t){return r(t)(e)}}},Xr={URI:Zr,map:Pe},et=(0,s.Cn)(Xr),rt={URI:Zr,of:dr},tt={URI:Zr,map:Pe,mapWithIndex:je},it={URI:Zr,map:Pe,ap:Ze},nt=(0,i.oW)(it),ot=(0,i.g$)(it),at={URI:Zr,map:Pe,ap:Ze,of:dr},st={URI:Zr,map:Pe,ap:Ze,chain:fr},ut=(0,n.W6)(st),ct={URI:Zr,map:Pe,ap:Ze,of:dr,chain:fr},dt={URI:Zr,unfold:jr},lt={URI:Zr,map:Pe,alt:Je},It={URI:Zr,zero:lr},pt=(0,b.a)(It,rt),ft={URI:Zr,map:Pe,ap:Ze,of:dr,alt:Je,zero:lr},mt={URI:Zr,map:Pe,extend:or},ht={URI:Zr,compact:yr,separate:wr},gt={URI:Zr,map:Pe,compact:yr,separate:wr,filter:Ue,filterMap:De,partition:We,partitionMap:Ke},vt={URI:Zr,map:Pe,mapWithIndex:je,compact:yr,separate:wr,filter:Ue,filterMap:De,partition:We,partitionMap:Ke,partitionMapWithIndex:Ge,partitionWithIndex:Be,filterMapWithIndex:ir,filterWithIndex:nr},yt={URI:Zr,reduce:He,foldMap:Ye,reduceRight:Xe},wt={URI:Zr,reduce:He,foldMap:Ye,reduceRight:Xe,reduceWithIndex:er,foldMapWithIndex:rr,reduceRightWithIndex:tr},St={URI:Zr,map:Pe,reduce:He,foldMap:Ye,reduceRight:Xe,traverse:ar,sequence:zr},_t={URI:Zr,map:Pe,mapWithIndex:je,reduce:He,foldMap:Ye,reduceRight:Xe,reduceWithIndex:er,foldMapWithIndex:rr,reduceRightWithIndex:tr,traverse:ar,sequence:zr,traverseWithIndex:sr},bt=(0,m.nG)(St,ht),Tt=(0,m.ez)(St,ht),Ot={URI:Zr,map:Pe,compact:yr,separate:wr,filter:Ue,filterMap:De,partition:We,partitionMap:Ke,reduce:He,foldMap:Ye,reduceRight:Xe,traverse:ar,sequence:zr,wither:bt,wilt:Tt},kt=S,At={URI:Zr,map:Pe,ap:Ze,chain:fr,chainRec:ur},qt=_,Vt={URI:Zr,map:Pe,ap:Ze,chain:fr,chainRec:cr},Et=(0,m.gc)(Ot),xt={URI:Zr,fromEither:Q},Rt=(0,o.Ny)(xt),$t=c.unsafeInsertAt,Qt=function(e,r,t){return O(t)?c.unsafeUpdateAt(e,r,t):[]},Nt=function(e,r){var t=r.slice();return t.splice(e,1),t},Ct=function(e){return function(r){return r.every(e)}},Ft=function(e){return function(r){return r.some(e)}},zt=Ft,Lt=function(e){var r=p.$X(e);return function(t){return i=function(){return e.empty},n=r(t),function(e){return h(e)?n(e):i()};var i,n}},Mt=dr(u.FR),Pt=(0,s.Jr)(Xr),jt=(0,s.uV)(Xr),Zt=(0,n.oI)(st),Ut=(0,i.TZ)(it),Dt=fr,Wt=c.range,Kt=[],Bt=c.cons,Gt=c.snoc,Jt=Oe,Ht={URI:Zr,compact:yr,separate:wr,map:Pe,ap:Ze,of:dr,chain:fr,filter:Ue,filterMap:De,partition:We,partitionMap:Ke,mapWithIndex:je,partitionMapWithIndex:Ge,partitionWithIndex:Be,filterMapWithIndex:ir,filterWithIndex:nr,alt:Je,zero:lr,unfold:jr,reduce:He,foldMap:Ye,reduceRight:Xe,traverse:ar,sequence:zr,reduceWithIndex:er,foldMapWithIndex:rr,reduceRightWithIndex:tr,traverseWithIndex:sr,extend:or,wither:bt,wilt:Tt}},666:(e,r,t)=>{"use strict";function i(e){var r=n(e);return function(e){return function(t){return r(t,e)}}}function n(e){return function(r,t){return e.chain(r,(function(r){return e.map(t(r),(function(){return r}))}))}}function o(e){return function(r,t){return function(i){return e.chain(i,(function(i){return e.map(t(i),(function(e){var t;return Object.assign({},i,((t={})[r]=e,t))}))}))}}}t.d(r,{Mi:()=>n,W6:()=>i,oI:()=>o})},3898:(e,r,t)=>{"use strict";t.r(r),t.d(r,{Alt:()=>oe,ApT:()=>sr,Applicative:()=>U,Apply:()=>Z,Bifunctor:()=>te,Chain:()=>D,ChainRec:()=>ue,Do:()=>er,Extend:()=>se,Foldable:()=>J,FromEither:()=>le,Functor:()=>C,Monad:()=>W,MonadThrow:()=>de,Pointed:()=>M,Traversable:()=>X,URI:()=>k,alt:()=>ne,altW:()=>ie,ap:()=>j,apFirst:()=>be,apFirstW:()=>Te,apS:()=>or,apSW:()=>ar,apSecond:()=>Oe,apSecondW:()=>ke,apW:()=>P,as:()=>F,asUnit:()=>z,bimap:()=>ee,bind:()=>ir,bindTo:()=>rr,bindW:()=>nr,chain:()=>fr,chainFirst:()=>mr,chainFirstW:()=>hr,chainNullableK:()=>Ge,chainOptionK:()=>Re,chainOptionKW:()=>$e,chainW:()=>pr,duplicate:()=>Ee,either:()=>yr,elem:()=>Ye,exists:()=>Xe,extend:()=>ae,filterOrElse:()=>Me,filterOrElseW:()=>Pe,flap:()=>_e,flatMap:()=>f,flatMapNullable:()=>ze,flatMapOption:()=>Le,flatten:()=>Ve,flattenW:()=>qe,fold:()=>ye,foldMap:()=>B,foldW:()=>ge,fromNullable:()=>De,fromNullableK:()=>Be,fromOption:()=>pe,fromOptionK:()=>xe,fromPredicate:()=>Ie,getAltValidation:()=>Q,getApplicativeValidation:()=>$,getApplyMonoid:()=>Sr,getApplySemigroup:()=>wr,getCompactable:()=>E,getEq:()=>q,getFilterable:()=>x,getOrElse:()=>Se,getOrElseW:()=>we,getSemigroup:()=>V,getShow:()=>A,getValidation:()=>Tr,getValidationMonoid:()=>br,getValidationSemigroup:()=>_r,getWitherable:()=>R,isLeft:()=>fe,isRight:()=>me,left:()=>I,let:()=>tr,liftNullable:()=>Ne,liftOption:()=>Ce,map:()=>N,mapLeft:()=>re,match:()=>ve,matchW:()=>he,of:()=>L,orElse:()=>Ue,orElseW:()=>Ze,parseJSON:()=>gr,reduce:()=>K,reduceRight:()=>G,right:()=>p,sequence:()=>Y,sequenceArray:()=>Ir,stringifyJSON:()=>vr,swap:()=>je,tap:()=>Ae,throwError:()=>ce,toError:()=>He,toUnion:()=>Je,traverse:()=>H,traverseArray:()=>lr,traverseArrayWithIndex:()=>dr,traverseReadonlyArrayWithIndex:()=>cr,traverseReadonlyNonEmptyArrayWithIndex:()=>ur,tryCatch:()=>We,tryCatchK:()=>Ke});var i=t(5289),n=t(1555),o=t(666),a=t(4298),s=t(5103),u=t(3304),c=t(9930),d=t(2224),l=t(1216),I=c.kb,p=c.pG,f=(0,s.XY)(2,(function(e,r){return fe(e)?e:r(e.right)})),m=function(e,r){return(0,s.Fs)(e,N(r))},h=function(e,r){return(0,s.Fs)(e,j(r))},g=function(e,r,t){return(0,s.Fs)(e,K(r,t))},v=function(e){return function(r,t){var i=B(e);return(0,s.Fs)(r,i(t))}},y=function(e,r,t){return(0,s.Fs)(e,G(r,t))},w=function(e){var r=H(e);return function(e,t){return(0,s.Fs)(e,r(t))}},S=function(e,r,t){return(0,s.Fs)(e,ee(r,t))},_=function(e,r){return(0,s.Fs)(e,re(r))},b=function(e,r){return(0,s.Fs)(e,ne(r))},T=function(e,r){return(0,s.Fs)(e,ae(r))},O=function(e,r){return function(e,r){for(var t=r(e);"Left"===t._tag;)t=r(t.left);return t.right}(r(e),(function(e){return fe(e)?p(I(e.left)):fe(e.right)?I(r(e.right.left)):p(p(e.right.right))}))},k="Either",A=function(e,r){return{show:function(t){return fe(t)?"left(".concat(e.show(t.left),")"):"right(".concat(r.show(t.right),")")}}},q=function(e,r){return{equals:function(t,i){return t===i||(fe(t)?fe(i)&&e.equals(t.left,i.left):me(i)&&r.equals(t.right,i.right))}}},V=function(e){return{concat:function(r,t){return fe(t)?r:fe(r)?t:p(e.concat(r.right,t.right))}}},E=function(e){var r=I(e.empty);return{URI:k,_E:void 0,compact:function(e){return fe(e)?e:"None"===e.right._tag?r:p(e.right.value)},separate:function(e){return fe(e)?(0,d.Ci)(e,e):fe(e.right)?(0,d.Ci)(p(e.right.left),r):(0,d.Ci)(r,p(e.right.right))}}},x=function(e){var r=I(e.empty),t=E(e),i=t.compact,n=t.separate;return{URI:k,_E:void 0,map:m,compact:i,separate:n,filter:function(e,t){return fe(e)||t(e.right)?e:r},filterMap:function(e,t){if(fe(e))return e;var i=t(e.right);return"None"===i._tag?r:p(i.value)},partition:function(e,t){return fe(e)?(0,d.Ci)(e,e):t(e.right)?(0,d.Ci)(r,p(e.right)):(0,d.Ci)(p(e.right),r)},partitionMap:function(e,t){if(fe(e))return(0,d.Ci)(e,e);var i=t(e.right);return fe(i)?(0,d.Ci)(p(i.left),r):(0,d.Ci)(r,p(i.right))}}},R=function(e){var r=x(e),t=E(e);return{URI:k,_E:void 0,map:m,compact:r.compact,separate:r.separate,filter:r.filter,filterMap:r.filterMap,partition:r.partition,partitionMap:r.partitionMap,traverse:w,sequence:Y,reduce:g,foldMap:v,reduceRight:y,wither:(0,l.nG)(X,t),wilt:(0,l.ez)(X,t)}},$=function(e){return{URI:k,_E:void 0,map:m,ap:function(r,t){return fe(r)?fe(t)?I(e.concat(r.left,t.left)):r:fe(t)?t:p(r.right(t.right))},of:L}},Q=function(e){return{URI:k,_E:void 0,map:m,alt:function(r,t){if(me(r))return r;var i=t();return fe(i)?I(e.concat(r.left,i.left)):i}}},N=function(e){return function(r){return fe(r)?r:p(e(r.right))}},C={URI:k,map:m},F=(0,s.XY)(2,(0,u.as)(C)),z=(0,u.Pg)(C),L=p,M={URI:k,of:L},P=function(e){return function(r){return fe(r)?r:fe(e)?e:p(r.right(e.right))}},j=P,Z={URI:k,map:m,ap:h},U={URI:k,map:m,ap:h,of:L},D={URI:k,map:m,ap:h,chain:f},W={URI:k,map:m,ap:h,of:L,chain:f},K=function(e,r){return function(t){return fe(t)?e:r(e,t.right)}},B=function(e){return function(r){return function(t){return fe(t)?e.empty:r(t.right)}}},G=function(e,r){return function(t){return fe(t)?e:r(t.right,e)}},J={URI:k,reduce:g,foldMap:v,reduceRight:y},H=function(e){return function(r){return function(t){return fe(t)?e.of(I(t.left)):e.map(r(t.right),p)}}},Y=function(e){return function(r){return fe(r)?e.of(I(r.left)):e.map(r.right,p)}},X={URI:k,map:m,reduce:g,foldMap:v,reduceRight:y,traverse:w,sequence:Y},ee=function(e,r){return function(t){return fe(t)?I(e(t.left)):p(r(t.right))}},re=function(e){return function(r){return fe(r)?I(e(r.left)):r}},te={URI:k,bimap:S,mapLeft:_},ie=function(e){return function(r){return fe(r)?e():r}},ne=ie,oe={URI:k,map:m,alt:b},ae=function(e){return function(r){return fe(r)?r:p(e(r))}},se={URI:k,map:m,extend:T},ue={URI:k,map:m,ap:h,chain:f,chainRec:O},ce=I,de={URI:k,map:m,ap:h,of:L,chain:f,throwError:ce},le={URI:k,fromEither:s.D_},Ie=(0,a.aN)(le),pe=(0,a.sV)(le),fe=c.OC,me=c.FG,he=function(e,r){return function(t){return fe(t)?e(t.left):r(t.right)}},ge=he,ve=he,ye=ve,we=function(e){return function(r){return fe(r)?e(r.left):r.right}},Se=we,_e=(0,u.Cn)(C),be=(0,n.oW)(Z),Te=be,Oe=(0,n.g$)(Z),ke=Oe,Ae=(0,s.XY)(2,o.Mi(D)),qe=f(s.D_),Ve=qe,Ee=ae(s.D_),xe=(0,a.Fe)(le),Re=(0,a.oR)(le,D),$e=Re,Qe={fromEither:le.fromEither},Ne=c.rV(Qe),Ce=c.PP(Qe),Fe={flatMap:f},ze=c.v9(Qe,Fe),Le=c.lk(Qe,Fe),Me=(0,a.Pm)(le,D),Pe=Me,je=function(e){return fe(e)?p(e.left):I(e.right)},Ze=function(e){return function(r){return fe(r)?e(r.left):r}},Ue=Ze,De=function(e){return function(r){return null==r?I(e):p(r)}},We=function(e,r){try{return p(e())}catch(e){return I(r(e))}},Ke=function(e,r){return function(){for(var t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];return We((function(){return e.apply(void 0,t)}),r)}},Be=function(e){var r=De(e);return function(e){return(0,s.L3)(e,r)}},Ge=function(e){var r=Be(e);return function(e){return f(r(e))}},Je=ge(s.D_,s.D_);function He(e){return e instanceof Error?e:new Error(String(e))}function Ye(e){return function(r,t){if(void 0===t){var i=Ye(e);return function(e){return i(r,e)}}return!fe(t)&&e.equals(r,t.right)}}var Xe=function(e){return function(r){return!fe(r)&&e(r.right)}},er=L(c.FR),rr=(0,u.Jr)(C),tr=(0,u.uV)(C),ir=o.oI(D),nr=ir,or=(0,n.TZ)(Z),ar=or,sr=L(c.rb),ur=function(e){return function(r){var t=e(0,c.d5(r));if(fe(t))return t;for(var i=[t.right],n=1;n<r.length;n++){var o=e(n,r[n]);if(fe(o))return o;i.push(o.right)}return p(i)}},cr=function(e){var r=ur(e);return function(e){return c.J_(e)?r(e):sr}},dr=cr,lr=function(e){return cr((function(r,t){return e(t)}))},Ir=lr(s.D_),pr=f,fr=f,mr=Ae,hr=Ae;function gr(e,r){return We((function(){return JSON.parse(e)}),r)}var vr=function(e,r){return We((function(){var r=JSON.stringify(e);if("string"!=typeof r)throw new Error("Converting unsupported structure to JSON");return r}),r)},yr={URI:k,map:m,of:L,ap:h,chain:f,reduce:g,foldMap:v,reduceRight:y,traverse:w,sequence:Y,bimap:S,mapLeft:_,alt:b,extend:T,chainRec:O,throwError:ce},wr=(0,n.UA)(Z),Sr=(0,i.v)(U),_r=function(e,r){return(0,n.UA)($(e))(r)},br=function(e,r){return(0,i.v)($(e))(r)};function Tr(e){var r=$(e).ap,t=Q(e).alt;return{URI:k,_E:void 0,map:m,of:L,chain:f,bimap:S,mapLeft:_,reduce:g,foldMap:v,reduceRight:y,extend:T,traverse:w,sequence:Y,chainRec:O,throwError:ce,ap:r,alt:t}}},253:(e,r,t)=>{"use strict";t.d(r,{ee:()=>i,w_:()=>n}),t(5103);var i=function(e){return{equals:function(r,t){return r===t||e(r,t)}}},n={equals:function(e,r){return e===r}};n.equals},4298:(e,r,t)=>{"use strict";t.d(r,{Fe:()=>u,Ny:()=>d,Pm:()=>I,Q5:()=>l,aN:()=>s,j_:()=>p,oR:()=>c,sV:()=>a});var i=t(666),n=t(5103),o=t(9930);function a(e){return function(r){return function(t){return e.fromEither(o.$I(t)?o.kb(r()):o.pG(t.value))}}}function s(e){return function(r,t){return function(i){return e.fromEither(r(i)?o.pG(i):o.kb(t(i)))}}}function u(e){var r=a(e);return function(e){var t=r(e);return function(e){return(0,n.L3)(e,t)}}}function c(e,r){var t=u(e);return function(e){var i=t(e);return function(e){return function(t){return r.chain(t,i(e))}}}}function d(e){return function(r){return(0,n.L3)(r,e.fromEither)}}function l(e,r){var t=d(e);return function(e){return function(i){return r.chain(i,t(e))}}}function I(e,r){return function(t,i){return function(n){return r.chain(n,(function(r){return e.fromEither(t(r)?o.pG(r):o.kb(i(r)))}))}}}function p(e,r){var t=d(e),n=(0,i.Mi)(r);return function(e,r){return n(e,t(r))}}},3304:(e,r,t)=>{"use strict";function i(e){return function(r){return function(t){return e.map(t,(function(e){return e(r)}))}}}function n(e){return function(r){return function(t){return e.map(t,(function(e){var t;return(t={})[r]=e,t}))}}}function o(e){return function(r,t){return function(i){return e.map(i,(function(e){var i;return Object.assign({},e,((i={})[r]=t(e),i))}))}}}function a(e){return function(r,t){return e.map(r,(function(){return t}))}}function s(e){var r=a(e);return function(e){return r(e,void 0)}}t.d(r,{Cn:()=>i,Jr:()=>n,Pg:()=>s,as:()=>a,uV:()=>o})},8782:(e,r,t)=>{"use strict";t.r(r),t.d(r,{Alt:()=>Be,Applicative:()=>Me,Apply:()=>Fe,Chain:()=>Pe,Comonad:()=>Ge,Do:()=>Je,Foldable:()=>Ue,FoldableWithIndex:()=>De,Functor:()=>$e,FunctorWithIndex:()=>Ce,Monad:()=>Ze,Pointed:()=>Ne,Traversable:()=>We,TraversableWithIndex:()=>Ke,URI:()=>qe,alt:()=>Ie,altW:()=>le,ap:()=>pe,apFirst:()=>ze,apS:()=>er,apSecond:()=>Le,append:()=>h,appendW:()=>m,bind:()=>Xe,bindTo:()=>He,chain:()=>mr,chainFirst:()=>je,chainWithIndex:()=>B,chop:()=>G,chunksOf:()=>H,concat:()=>x,concatAll:()=>sr,concatW:()=>E,cons:()=>Sr,copy:()=>L,duplicate:()=>he,extend:()=>me,extract:()=>Ae,filter:()=>gr,filterWithIndex:()=>vr,flap:()=>Qe,flatMap:()=>fe,flatten:()=>ge,fold:()=>Tr,foldMap:()=>K,foldMapWithIndex:()=>W,fromArray:()=>T,fromReadonlyNonEmptyArray:()=>b,getEq:()=>xe,getSemigroup:()=>Ee,getShow:()=>Ve,getUnionSemigroup:()=>Re,group:()=>$,groupBy:()=>Q,groupSort:()=>hr,head:()=>rr,init:()=>nr,insertAt:()=>C,intercalate:()=>fr,intersperse:()=>D,isNonEmpty:()=>l,isOutOfBound:()=>I,last:()=>ir,let:()=>Ye,makeBy:()=>O,map:()=>ve,mapWithIndex:()=>ye,matchLeft:()=>ur,matchRight:()=>cr,max:()=>ar,min:()=>or,modifyAt:()=>z,modifyHead:()=>dr,modifyLast:()=>Ir,nonEmptyArray:()=>Or,of:()=>M,prepend:()=>f,prependAll:()=>U,prependToAll:()=>br,prependW:()=>p,range:()=>A,reduce:()=>we,reduceRight:()=>_e,reduceRightWithIndex:()=>be,reduceWithIndex:()=>Se,replicate:()=>k,reverse:()=>R,rotate:()=>_,sequence:()=>Oe,snoc:()=>_r,sort:()=>N,sortBy:()=>w,splitAt:()=>J,tail:()=>tr,traverse:()=>Te,traverseWithIndex:()=>ke,unappend:()=>V,uncons:()=>yr,union:()=>S,uniq:()=>y,unprepend:()=>q,unsafeInsertAt:()=>g,unsafeUpdateAt:()=>v,unsnoc:()=>wr,unzip:()=>Z,updateAt:()=>F,updateHead:()=>lr,updateLast:()=>pr,zip:()=>j,zipWith:()=>P});var i=t(1555),n=t(666),o=t(5103),a=t(3304),s=t(9930),u=t(5232),c=t(8288),d=function(e,r,t){if(t||2===arguments.length)for(var i,n=0,o=r.length;n<o;n++)!i&&n in r||(i||(i=Array.prototype.slice.call(r,0,n)),i[n]=r[n]);return e.concat(i||Array.prototype.slice.call(r))},l=function(e){return e.length>0},I=function(e,r){return e<0||e>=r.length},p=function(e){return function(r){return d([e],r,!0)}},f=p,m=function(e){return function(r){return d(d([],r,!0),[e],!1)}},h=m,g=function(e,r,t){if(l(t)){var i=b(t);return i.splice(e,0,r),i}return[r]},v=function(e,r,t){var i=b(t);return i[e]=r,i},y=function(e){return function(r){if(1===r.length)return L(r);for(var t=[rr(r)],i=function(r){t.every((function(t){return!e.equals(t,r)}))&&t.push(r)},n=0,o=tr(r);n<o.length;n++)i(o[n]);return t}},w=function(e){if(l(e)){var r=(0,u.JI)();return N(e.reduce(r.concat,r.empty))}return L},S=function(e){var r=y(e);return function(e){return function(t){return r((0,o.Fs)(t,x(e)))}}},_=function(e){return function(r){var t=r.length,i=Math.round(e)%t;if(I(Math.abs(i),r)||0===i)return L(r);if(i<0){var n=J(-i)(r),a=n[0],s=n[1];return(0,o.Fs)(s,x(a))}return _(i-t)(r)}},b=s.aO,T=function(e){return l(e)?s.zN(e):s.dv},O=function(e){return function(r){for(var t=Math.max(0,Math.floor(r)),i=[e(0)],n=1;n<t;n++)i.push(e(n));return i}},k=function(e){return O((function(){return e}))},A=function(e,r){return e<=r?O((function(r){return e+r}))(r-e+1):[e]},q=function(e){return[rr(e),tr(e)]},V=function(e){return[nr(e),ir(e)]};function E(e){return function(r){return r.concat(e)}}function x(e,r){return r?e.concat(r):function(r){return r.concat(e)}}var R=function(e){return d([ir(e)],e.slice(0,-1).reverse(),!0)};function $(e){return function(r){var t=r.length;if(0===t)return[];for(var i=[],n=r[0],o=[n],a=1;a<t;a++){var s=r[a];e.equals(s,n)?o.push(s):(i.push(o),o=[n=s])}return i.push(o),i}}var Q=function(e){return function(r){for(var t={},i=0,n=r;i<n.length;i++){var o=n[i],a=e(o);s.zy.call(t,a)?t[a].push(o):t[a]=[o]}return t}},N=function(e){return function(r){return r.slice().sort(e.compare)}},C=function(e,r){return function(t){return e<0||e>t.length?s.dv:s.zN(g(e,r,t))}},F=function(e,r){return z(e,(function(){return r}))},z=function(e,r){return function(t){return I(e,t)?s.dv:s.zN(v(e,r(t[e]),t))}},L=b,M=function(e){return[e]},P=function(e,r,t){for(var i=[t(e[0],r[0])],n=Math.min(e.length,r.length),o=1;o<n;o++)i[o]=t(e[o],r[o]);return i};function j(e,r){return void 0===r?function(r){return j(r,e)}:P(e,r,(function(e,r){return[e,r]}))}var Z=function(e){for(var r=[e[0][0]],t=[e[0][1]],i=1;i<e.length;i++)r[i]=e[i][0],t[i]=e[i][1];return[r,t]},U=function(e){return function(r){for(var t=[e,r[0]],i=1;i<r.length;i++)t.push(e,r[i]);return t}},D=function(e){return function(r){var t=tr(r);return l(t)?(0,o.Fs)(t,U(e),f(rr(r))):L(r)}},W=c.yO,K=c.ue,B=function(e){return function(r){for(var t=b(e(0,rr(r))),i=1;i<r.length;i++)t.push.apply(t,e(i,r[i]));return t}},G=function(e){return function(r){for(var t=e(r),i=[t[0]],n=t[1];l(n);){var o=e(n),a=o[0],s=o[1];i.push(a),n=s}return i}},J=function(e){return function(r){var t=Math.max(1,e);return t>=r.length?[L(r),[]]:[(0,o.Fs)(r.slice(1,t),f(rr(r))),r.slice(t)]}},H=function(e){return G(J(e))},Y=function(e,r){return(0,o.Fs)(e,ve(r))},X=function(e,r){return(0,o.Fs)(e,ye(r))},ee=function(e,r){return(0,o.Fs)(e,pe(r))},re=function(e,r){return(0,o.Fs)(e,me(r))},te=function(e,r,t){return(0,o.Fs)(e,we(r,t))},ie=function(e){var r=K(e);return function(e,t){return(0,o.Fs)(e,r(t))}},ne=function(e,r,t){return(0,o.Fs)(e,_e(r,t))},oe=function(e){var r=Te(e);return function(e,t){return(0,o.Fs)(e,r(t))}},ae=function(e,r){return(0,o.Fs)(e,Ie(r))},se=function(e,r,t){return(0,o.Fs)(e,Se(r,t))},ue=function(e){var r=W(e);return function(e,t){return(0,o.Fs)(e,r(t))}},ce=function(e,r,t){return(0,o.Fs)(e,be(r,t))},de=function(e){var r=ke(e);return function(e,t){return(0,o.Fs)(e,r(t))}},le=function(e){return function(r){return(0,o.Fs)(r,E(e()))}},Ie=le,pe=function(e){return fe((function(r){return(0,o.Fs)(e,ve(r))}))},fe=(0,o.XY)(2,(function(e,r){return(0,o.Fs)(e,B((function(e,t){return r(t,e)})))})),me=function(e){return function(r){for(var t=tr(r),i=[e(r)];l(t);)i.push(e(t)),t=tr(t);return i}},he=me(o.D_),ge=fe(o.D_),ve=function(e){return ye((function(r,t){return e(t)}))},ye=function(e){return function(r){for(var t=[e(0,rr(r))],i=1;i<r.length;i++)t.push(e(i,r[i]));return t}},we=c.TS,Se=c.RE,_e=c.XK,be=c.$v,Te=function(e){var r=ke(e);return function(e){return r((function(r,t){return e(t)}))}},Oe=function(e){return ke(e)((function(e,r){return r}))},ke=function(e){return function(r){return function(t){for(var i=e.map(r(0,rr(t)),M),n=1;n<t.length;n++)i=e.ap(e.map(i,(function(e){return function(r){return(0,o.Fs)(e,h(r))}})),r(n,t[n]));return i}}},Ae=c.d5,qe="NonEmptyArray",Ve=c.cs,Ee=function(){return{concat:x}},xe=c.nZ,Re=function(e){var r=S(e);return{concat:function(e,t){return r(t)(e)}}},$e={URI:qe,map:Y},Qe=(0,a.Cn)($e),Ne={URI:qe,of:M},Ce={URI:qe,map:Y,mapWithIndex:X},Fe={URI:qe,map:Y,ap:ee},ze=(0,i.oW)(Fe),Le=(0,i.g$)(Fe),Me={URI:qe,map:Y,ap:ee,of:M},Pe={URI:qe,map:Y,ap:ee,chain:fe},je=(0,n.W6)(Pe),Ze={URI:qe,map:Y,ap:ee,of:M,chain:fe},Ue={URI:qe,reduce:te,foldMap:ie,reduceRight:ne},De={URI:qe,reduce:te,foldMap:ie,reduceRight:ne,reduceWithIndex:se,foldMapWithIndex:ue,reduceRightWithIndex:ce},We={URI:qe,map:Y,reduce:te,foldMap:ie,reduceRight:ne,traverse:oe,sequence:Oe},Ke={URI:qe,map:Y,mapWithIndex:X,reduce:te,foldMap:ie,reduceRight:ne,traverse:oe,sequence:Oe,reduceWithIndex:se,foldMapWithIndex:ue,reduceRightWithIndex:ce,traverseWithIndex:de},Be={URI:qe,map:Y,alt:ae},Ge={URI:qe,map:Y,extend:re,extract:Ae},Je=M(s.FR),He=(0,a.Jr)($e),Ye=(0,a.uV)($e),Xe=(0,n.oI)(Pe),er=(0,i.TZ)(Fe),rr=c.d5,tr=function(e){return e.slice(1)},ir=c.HV,nr=function(e){return e.slice(0,-1)},or=c.jk,ar=c.T9,sr=function(e){return function(r){return r.reduce(e.concat)}},ur=function(e){return function(r){return e(rr(r),tr(r))}},cr=function(e){return function(r){return e(nr(r),ir(r))}},dr=function(e){return function(r){return d([e(rr(r))],tr(r),!0)}},lr=function(e){return dr((function(){return e}))},Ir=function(e){return function(r){return(0,o.Fs)(nr(r),h(e(ir(r))))}},pr=function(e){return Ir((function(){return e}))},fr=c.$X,mr=fe;function hr(e){var r=N(e),t=$(e);return function(e){return l(e)?t(r(e)):[]}}function gr(e){return vr((function(r,t){return e(t)}))}var vr=function(e){return function(r){return T(r.filter((function(r,t){return e(t,r)})))}},yr=q,wr=V;function Sr(e,r){return void 0===r?f(e):(0,o.Fs)(r,f(e))}var _r=function(e,r){return(0,o.Fs)(e,h(r))},br=U,Tr=c.KO,Or={URI:qe,of:M,map:Y,mapWithIndex:X,ap:ee,chain:fe,extend:re,extract:Ae,reduce:te,foldMap:ie,reduceRight:ne,traverse:oe,sequence:Oe,reduceWithIndex:se,foldMapWithIndex:ue,reduceRightWithIndex:ce,traverseWithIndex:de,alt:ae}},7531:(e,r,t)=>{"use strict";t.r(r),t.d(r,{Alt:()=>re,Alternative:()=>oe,ApT:()=>sr,Applicative:()=>U,Apply:()=>Z,Chain:()=>W,Compactable:()=>le,Do:()=>tr,Extend:()=>se,Filterable:()=>he,Foldable:()=>H,FromEither:()=>qe,Functor:()=>F,Monad:()=>K,MonadThrow:()=>ke,Pointed:()=>P,Traversable:()=>ye,URI:()=>x,Witherable:()=>Te,Zero:()=>ie,alt:()=>ee,altW:()=>X,ap:()=>j,apFirst:()=>ze,apS:()=>ar,apSecond:()=>Le,as:()=>z,asUnit:()=>L,bind:()=>or,bindTo:()=>ir,chain:()=>pr,chainEitherK:()=>De,chainFirst:()=>fr,chainFirstEitherK:()=>We,chainNullableK:()=>He,compact:()=>ue,duplicate:()=>Ze,elem:()=>er,exists:()=>rr,extend:()=>ae,filter:()=>Ie,filterMap:()=>pe,flap:()=>Fe,flatMap:()=>D,flatten:()=>Me,fold:()=>Qe,foldMap:()=>G,foldW:()=>Re,fromEither:()=>Ae,fromEitherK:()=>Ue,fromNullable:()=>Ke,fromNullableK:()=>Je,fromPredicate:()=>h,getApplyMonoid:()=>yr,getApplySemigroup:()=>vr,getEq:()=>$,getFirstMonoid:()=>wr,getLastMonoid:()=>Sr,getLeft:()=>g,getMonoid:()=>N,getOrElse:()=>Ce,getOrElseW:()=>Ne,getOrd:()=>Q,getRefinement:()=>mr,getRight:()=>v,getShow:()=>R,guard:()=>ne,isNone:()=>Ee,isSome:()=>Ve,let:()=>nr,map:()=>C,mapNullable:()=>hr,match:()=>$e,matchW:()=>xe,none:()=>f,of:()=>M,option:()=>gr,orElse:()=>Y,partition:()=>fe,partitionMap:()=>me,reduce:()=>B,reduceRight:()=>J,separate:()=>de,sequence:()=>ve,sequenceArray:()=>Ir,some:()=>m,tap:()=>Pe,tapEither:()=>je,throwError:()=>Oe,toNullable:()=>Ye,toUndefined:()=>Xe,traverse:()=>ge,traverseArray:()=>lr,traverseArrayWithIndex:()=>dr,traverseReadonlyArrayWithIndex:()=>cr,traverseReadonlyNonEmptyArrayWithIndex:()=>ur,tryCatch:()=>Be,tryCatchK:()=>Ge,wilt:()=>be,wither:()=>_e,zero:()=>te});var i=t(5289),n=t(1555),o=t(666),a=t(4298),s=t(5103),u=t(3304),c=t(9930),d=t(3282),l=t(2224),I=t(1216),p=t(1965),f=c.dv,m=c.zN;function h(e){return function(r){return e(r)?m(r):f}}var g=function(e){return"Right"===e._tag?f:m(e.left)},v=function(e){return"Left"===e._tag?f:m(e.right)},y=function(e,r){return(0,s.Fs)(e,C(r))},w=function(e,r){return(0,s.Fs)(e,j(r))},S=function(e,r,t){return(0,s.Fs)(e,B(r,t))},_=function(e){var r=G(e);return function(e,t){return(0,s.Fs)(e,r(t))}},b=function(e,r,t){return(0,s.Fs)(e,J(r,t))},T=function(e){var r=ge(e);return function(e,t){return(0,s.Fs)(e,r(t))}},O=function(e,r){return(0,s.Fs)(e,ee(r))},k=function(e,r){return(0,s.Fs)(e,Ie(r))},A=function(e,r){return(0,s.Fs)(e,pe(r))},q=function(e,r){return(0,s.Fs)(e,ae(r))},V=function(e,r){return(0,s.Fs)(e,fe(r))},E=function(e,r){return(0,s.Fs)(e,me(r))},x="Option",R=function(e){return{show:function(r){return Ee(r)?"none":"some(".concat(e.show(r.value),")")}}},$=function(e){return{equals:function(r,t){return r===t||(Ee(r)?Ee(t):!Ee(t)&&e.equals(r.value,t.value))}}},Q=function(e){return{equals:$(e).equals,compare:function(r,t){return r===t?0:Ve(r)?Ve(t)?e.compare(r.value,t.value):1:-1}}},N=function(e){return{concat:function(r,t){return Ee(r)?t:Ee(t)?r:m(e.concat(r.value,t.value))},empty:f}},C=function(e){return function(r){return Ee(r)?f:m(e(r.value))}},F={URI:x,map:y},z=(0,s.XY)(2,(0,u.as)(F)),L=(0,u.Pg)(F),M=m,P={URI:x,of:M},j=function(e){return function(r){return Ee(r)||Ee(e)?f:m(r.value(e.value))}},Z={URI:x,map:y,ap:w},U={URI:x,map:y,ap:w,of:M},D=(0,s.XY)(2,(function(e,r){return Ee(e)?f:r(e.value)})),W={URI:x,map:y,ap:w,chain:D},K={URI:x,map:y,ap:w,of:M,chain:D},B=function(e,r){return function(t){return Ee(t)?e:r(e,t.value)}},G=function(e){return function(r){return function(t){return Ee(t)?e.empty:r(t.value)}}},J=function(e,r){return function(t){return Ee(t)?e:r(t.value,e)}},H={URI:x,reduce:S,foldMap:_,reduceRight:b},Y=(0,s.XY)(2,(function(e,r){return Ee(e)?r():e})),X=Y,ee=Y,re={URI:x,map:y,alt:O},te=function(){return f},ie={URI:x,zero:te},ne=(0,p.a)(ie,P),oe={URI:x,map:y,ap:w,of:M,alt:O,zero:te},ae=function(e){return function(r){return Ee(r)?f:m(e(r))}},se={URI:x,map:y,extend:q},ue=D(s.D_),ce=(0,l.Ci)(f,f),de=function(e){return Ee(e)?ce:(0,l.Ci)(g(e.value),v(e.value))},le={URI:x,compact:ue,separate:de},Ie=function(e){return function(r){return Ee(r)?f:e(r.value)?r:f}},pe=function(e){return function(r){return Ee(r)?f:e(r.value)}},fe=function(e){return function(r){return(0,l.Ci)(k(r,function(e){return function(r){return!e(r)}}(e)),k(r,e))}},me=function(e){return(0,s.L3)(C(e),de)},he={URI:x,map:y,compact:ue,separate:de,filter:k,filterMap:A,partition:V,partitionMap:E},ge=function(e){return function(r){return function(t){return Ee(t)?e.of(f):e.map(r(t.value),m)}}},ve=function(e){return function(r){return Ee(r)?e.of(f):e.map(r.value,m)}},ye={URI:x,map:y,reduce:S,foldMap:_,reduceRight:b,traverse:T,sequence:ve},we=(0,I.nG)(ye,le),Se=(0,I.ez)(ye,le),_e=function(e){var r=we(e);return function(e){return function(t){return r(t,e)}}},be=function(e){var r=Se(e);return function(e){return function(t){return r(t,e)}}},Te={URI:x,map:y,reduce:S,foldMap:_,reduceRight:b,traverse:T,sequence:ve,compact:ue,separate:de,filter:k,filterMap:A,partition:V,partitionMap:E,wither:we,wilt:Se},Oe=function(){return f},ke={URI:x,map:y,ap:w,of:M,chain:D,throwError:Oe},Ae=v,qe={URI:x,fromEither:Ae},Ve=c.Ru,Ee=function(e){return"None"===e._tag},xe=function(e,r){return function(t){return Ee(t)?e():r(t.value)}},Re=xe,$e=xe,Qe=$e,Ne=function(e){return function(r){return Ee(r)?e():r.value}},Ce=Ne,Fe=(0,u.Cn)(F),ze=(0,n.oW)(Z),Le=(0,n.g$)(Z),Me=ue,Pe=(0,s.XY)(2,o.Mi(W)),je=(0,s.XY)(2,(0,a.j_)(qe,W)),Ze=ae(s.D_),Ue=(0,a.Ny)(qe),De=(0,a.Q5)(qe,W),We=je,Ke=function(e){return null==e?f:m(e)},Be=function(e){try{return m(e())}catch(e){return f}},Ge=function(e){return function(){for(var r=[],t=0;t<arguments.length;t++)r[t]=arguments[t];return Be((function(){return e.apply(void 0,r)}))}},Je=function(e){return(0,s.L3)(e,Ke)},He=function(e){return function(r){return Ee(r)?f:Ke(e(r.value))}},Ye=$e(s.XR,s.D_),Xe=$e(s.MN,s.D_);function er(e){return function(r,t){if(void 0===t){var i=er(e);return function(e){return i(r,e)}}return!Ee(t)&&e.equals(r,t.value)}}var rr=function(e){return function(r){return!Ee(r)&&e(r.value)}},tr=M(c.FR),ir=(0,u.Jr)(F),nr=(0,u.uV)(F),or=o.oI(W),ar=(0,n.TZ)(Z),sr=M(c.rb),ur=function(e){return function(r){var t=e(0,c.d5(r));if(Ee(t))return f;for(var i=[t.value],n=1;n<r.length;n++){var o=e(n,r[n]);if(Ee(o))return f;i.push(o.value)}return m(i)}},cr=function(e){var r=ur(e);return function(e){return c.J_(e)?r(e):sr}},dr=cr,lr=function(e){return cr((function(r,t){return e(t)}))},Ir=lr(s.D_),pr=D,fr=Pe;function mr(e){return function(r){return Ve(e(r))}}var hr=He,gr={URI:x,map:y,of:M,ap:w,chain:D,reduce:S,foldMap:_,reduceRight:b,traverse:T,sequence:ve,zero:te,alt:O,extend:q,compact:ue,separate:de,filter:k,filterMap:A,partition:V,partitionMap:E,wither:we,wilt:Se,throwError:Oe},vr=(0,n.UA)(Z),yr=(0,i.v)(U),wr=function(){return N((0,d.$1)())},Sr=function(){return N((0,d.HV)())}},5232:(e,r,t)=>{"use strict";t.d(r,{I3:()=>a,JI:()=>s,T9:()=>c,jk:()=>u});var i=t(253),n=t(5103),o=function(e){return function(r,t){return r===t||0===e(r,t)}},a=function(e){return{equals:o(e),compare:function(r,t){return r===t?0:e(r,t)}}},s=function(){return{concat:function(e,r){return a((function(t,i){var n=e.compare(t,i);return 0!==n?n:r.compare(t,i)}))},empty:a((function(){return 0}))}},u=(n.ue,function(e){return function(r,t){return r===t||e.compare(r,t)<1?r:t}}),c=function(e){return function(r,t){return r===t||e.compare(r,t)>-1?r:t}};i.w_.equals},8288:(e,r,t)=>{"use strict";t.d(r,{$X:()=>$,$v:()=>b,Ak:()=>p,BC:()=>f,Cs:()=>l,HV:()=>V,Hs:()=>I,Ie:()=>u,J_:()=>c,KO:()=>R,Kv:()=>N,RE:()=>S,T9:()=>x,TS:()=>v,XK:()=>w,cs:()=>O,d5:()=>A,jK:()=>m,jk:()=>E,kI:()=>d,nZ:()=>k,of:()=>g,qu:()=>Q,ue:()=>y,y1:()=>h,yO:()=>_});var i=t(253),n=t(5103),o=t(9930),a=t(3282),s=function(e,r,t){if(t||2===arguments.length)for(var i,n=0,o=r.length;n<o;n++)!i&&n in r||(i||(i=Array.prototype.slice.call(r,0,n)),i[n]=r[n]);return e.concat(i||Array.prototype.slice.call(r))},u=o.rb,c=o.J_,d=function(e,r){return e<0||e>=r.length},l=function(e){return function(r){return s([e],r,!0)}},I=l,p=function(e){return function(r){return s(s([],r,!0),[e],!1)}},f=p,m=function(e,r,t){if(c(t)){var i=o.aO(t);return i.splice(e,0,r),i}return[r]},h=function(e,r){return e<=r?(t=function(r){return e+r},function(e){for(var r=Math.max(0,Math.floor(e)),i=[t(0)],n=1;n<r;n++)i.push(t(n));return i})(r-e+1):[e];var t};var g=o.Gr,v=function(e,r){return S(e,(function(e,t,i){return r(t,i)}))},y=function(e){return function(r){return function(t){return t.slice(1).reduce((function(t,i){return e.concat(t,r(i))}),r(t[0]))}}},w=function(e,r){return b(e,(function(e,t,i){return r(t,i)}))},S=function(e,r){return function(t){return t.reduce((function(e,t,i){return r(i,e,t)}),e)}},_=function(e){return function(r){return function(t){return t.slice(1).reduce((function(t,i,n){return e.concat(t,r(n+1,i))}),r(0,t[0]))}}},b=function(e,r){return function(t){return t.reduceRight((function(e,t,i){return r(i,t,e)}),e)}},T=o.d5,O=function(e){return{show:function(r){return"[".concat(r.map(e.show).join(", "),"]")}}},k=function(e){return(0,i.ee)((function(r,t){return r.length===t.length&&r.every((function(r,i){return e.equals(r,t[i])}))}))},A=(o.FR,T),q=o.RT,V=function(e){return e[e.length-1]},E=function(e){var r=a.jk(e);return function(e){return e.reduce(r.concat)}},x=function(e){var r=a.T9(e);return function(e){return e.reduce(r.concat)}},R=function(e){return function(r){return r.reduce(e.concat)}},$=function(e){var r=R(e);return function(e){return(0,n.L3)(function(e){return function(r){var t=q(r);return c(t)?(0,n.Fs)(t,function(e){return function(r){for(var t=[e,r[0]],i=1;i<r.length;i++)t.push(e,r[i]);return t}}(e),I(A(r))):r}}(e),r)}};function Q(e,r){return void 0===r?I(e):(0,n.Fs)(r,I(e))}var N=function(e,r){return(0,n.Fs)(e,(t=[r],i?t.concat(i):function(e){return e.concat(t)}));var t,i}},6158:(e,r,t)=>{"use strict";t.r(r),t.d(r,{Compactable:()=>cr,Filterable:()=>dr,FilterableWithIndex:()=>lr,Foldable:()=>yr,FoldableWithIndex:()=>wr,Functor:()=>nr,FunctorWithIndex:()=>ar,Traversable:()=>Sr,TraversableWithIndex:()=>_r,URI:()=>er,Witherable:()=>Or,collect:()=>U,compact:()=>Ye,deleteAt:()=>G,difference:()=>Oe,elem:()=>_e,empty:()=>kr,every:()=>we,filter:()=>De,filterMap:()=>We,filterMapWithIndex:()=>fe,filterWithIndex:()=>me,flap:()=>or,foldMap:()=>Je,foldMapWithIndex:()=>ne,fromEntries:()=>ve,fromFoldable:()=>he,fromFoldableMap:()=>ye,getDifferenceMagma:()=>vr,getEq:()=>tr,getFoldable:()=>sr,getFoldableWithIndex:()=>ur,getIntersectionSemigroup:()=>gr,getMonoid:()=>ir,getShow:()=>rr,getTraversable:()=>Ir,getTraversableWithIndex:()=>pr,getUnionMonoid:()=>hr,getUnionSemigroup:()=>mr,getWitherable:()=>fr,has:()=>B,hasOwnProperty:()=>qr,insertAt:()=>Ar,intersection:()=>Te,isEmpty:()=>P,isSubrecord:()=>X,keys:()=>Z,lookup:()=>ee,map:()=>te,mapWithIndex:()=>re,modifyAt:()=>H,partition:()=>Ke,partitionMap:()=>Be,partitionMapWithIndex:()=>Ie,partitionWithIndex:()=>pe,pop:()=>Y,record:()=>Vr,reduce:()=>Ge,reduceRight:()=>He,reduceRightWithIndex:()=>oe,reduceWithIndex:()=>ie,separate:()=>Xe,sequence:()=>ce,singleton:()=>ae,size:()=>M,some:()=>Se,toArray:()=>D,toEntries:()=>ge,toUnfoldable:()=>W,traverse:()=>ue,traverseWithIndex:()=>se,union:()=>be,updateAt:()=>J,upsertAt:()=>K,wilt:()=>le,wither:()=>de});var i=t(6863),n=t(5103),o=t(3304),a=t(9930),s=t(253),u=t(2224),c={equals:function(e,r){return e===r},compare:function(e,r){return e<r?-1:e>r?1:0}},d=t(1216),l=function(e){for(var r in e)if(a.zy.call(e,r))return!1;return!0},I=function(e){return function(r){return Object.keys(r).sort(e.compare)}};function p(e){if("function"==typeof e)return p(c)(e);var r=I(e);return function(e){return function(t){for(var i=[],n=0,o=r(t);n<o.length;n++){var a=o[n];i.push(e(a,t[a]))}return i}}}var f=function(e,r){return a.zy.call(r,e)};function m(e){return function(r,t){if(void 0===t){var i=m(e);return function(e){return i(e,r)}}for(var n in r)if(!a.zy.call(t,n)||!e.equals(r[n],t[n]))return!1;return!0}}var h={};function g(e){return function(r){var t={};for(var i in r)a.zy.call(r,i)&&(t[i]=e(i,r[i]));return t}}function v(e){return g((function(r,t){return e(t)}))}function y(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];if(2===e.length)return y(c).apply(void 0,e);var t=I(e[0]);return function(e,r){return function(i){for(var n=e,o=t(i),a=o.length,s=0;s<a;s++){var u=o[s];n=r(u,n,i[u])}return n}}}function w(e){if("compare"in e){var r=I(e);return function(e){return function(t){return function(i){for(var n=e.empty,o=r(i),a=o.length,s=0;s<a;s++){var u=o[s];n=e.concat(n,t(u,i[u]))}return n}}}}return w(c)(e)}function S(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];if(2===e.length)return S(c).apply(void 0,e);var t=I(e[0]);return function(e,r){return function(i){for(var n=e,o=t(i),a=o.length-1;a>=0;a--){var s=o[a];n=r(s,i[s],n)}return n}}}function _(e){return function(r){var t={},i={};for(var n in r)if(a.zy.call(r,n)){var o=e(n,r[n]);switch(o._tag){case"Left":t[n]=o.left;break;case"Right":i[n]=o.right}}return(0,u.Ci)(t,i)}}function b(e){return function(r){var t={},i={};for(var n in r)if(a.zy.call(r,n)){var o=r[n];e(n,o)?i[n]=o:t[n]=o}return(0,u.Ci)(t,i)}}function T(e){return function(r){var t={};for(var i in r)if(a.zy.call(r,i)){var n=e(i,r[i]);a.Ru(n)&&(t[i]=n.value)}return t}}function O(e){return function(r){var t={},i=!1;for(var n in r)if(a.zy.call(r,n)){var o=r[n];e(n,o)?t[n]=o:i=!0}return i?t:r}}function k(e,r){return function(t,i){return r.reduce(t,{},(function(r,t){var n=i(t),o=n[0],s=n[1];return r[o]=a.zy.call(r,o)?e.concat(r[o],s):s,r}))}}var A=function(e){var r=V(e);return function(e){var t=r(e);return function(e,r){return t(e,(0,n.L3)(n.SK,r))}}},q=function(e){var r=A(e);return function(e){var t=r(e);return function(e){return t(e,n.D_)}}},V=function(e){return function(r){var t=I(e);return function(e,i){var n=t(e);if(0===n.length)return r.of(h);for(var o=r.of({}),a=function(t){o=r.ap(r.map(o,(function(e){return function(r){var i;return Object.assign({},e,((i={})[t]=r,i))}})),i(t,e[t]))},s=0,u=n;s<u.length;s++)a(u[s]);return o}}},E=function(e){return O((function(r,t){return e(t)}))},x=function(e){return T((function(r,t){return e(t)}))},R=function(e){return b((function(r,t){return e(t)}))},$=function(e){return _((function(r,t){return e(t)}))};function Q(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];if(1===e.length){var t=y(e[0]);return function(e,r){return t(e,(function(e,t,i){return r(t,i)}))}}return Q(c).apply(void 0,e)}function N(e){if("compare"in e){var r=w(e);return function(e){var t=r(e);return function(e){return t((function(r,t){return e(t)}))}}}return N(c)(e)}function C(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];if(1===e.length){var t=S(e[0]);return function(e,r){return t(e,(function(e,t,i){return r(t,i)}))}}return C(c).apply(void 0,e)}function F(e){return"compare"in e?function(r){return{show:function(t){var i=p(e)((function(e,t){return"".concat(JSON.stringify(e),": ").concat(r.show(t))}))(t).join(", ");return""===i?"{}":"{ ".concat(i," }")}}}:F(c)(e)}var z=t(3282),L=function(){return L=Object.assign||function(e){for(var r,t=1,i=arguments.length;t<i;t++)for(var n in r=arguments[t])Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n]);return e},L.apply(this,arguments)},M=function(e){return Object.keys(e).length},P=l,j=function(e){return function(r){return Object.keys(r).sort(e.compare)}},Z=j(c);function U(e){if("function"==typeof e)return U(c)(e);var r=j(e);return function(e){return function(t){for(var i=[],n=0,o=r(t);n<o.length;n++){var a=o[n];i.push(e(a,t[a]))}return i}}}var D=U(c)((function(e,r){return[e,r]}));function W(e){return function(r){var t=D(r),i=t.length;return e.unfold(0,(function(e){return e<i?a.zN([t[e],e+1]):a.dv}))}}var K=function(e,r){return function(t){if(a.zy.call(t,e)&&t[e]===r)return t;var i=Object.assign({},t);return i[e]=r,i}},B=f;function G(e){return function(r){if(!a.zy.call(r,e))return r;var t=Object.assign({},r);return delete t[e],t}}var J=function(e,r){return H(e,(function(){return r}))},H=function(e,r){return function(t){if(!B(e,t))return a.dv;var i=Object.assign({},t);return i[e]=r(t[e]),a.zN(i)}};function Y(e){var r=G(e);return function(t){var i=ee(e,t);return a.$I(i)?a.dv:a.zN([i.value,r(t)])}}var X=m,ee=function e(r,t){return void 0===t?function(t){return e(r,t)}:a.zy.call(t,r)?a.zN(t[r]):a.dv},re=g,te=v;function ie(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];return 1===e.length?y(e[0]):y(c).apply(void 0,e)}function ne(e){return"compare"in e?w(e):w(c)(e)}function oe(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];return 1===e.length?S(e[0]):S(c).apply(void 0,e)}var ae=function(e,r){var t;return(t={})[e]=r,t};function se(e){return function(e){var r=V(c)(e);return function(e){return function(t){return r(t,e)}}}(e)}function ue(e){return function(e){var r=A(c)(e);return function(e){return function(t){return r(t,e)}}}(e)}function ce(e){return function(e){return q(c)(e)}(e)}var de=function(e){var r=ue(e);return function(t){return function(i){return e.map((0,n.Fs)(i,r(t)),Ye)}}},le=function(e){var r=ue(e);return function(t){return function(i){return e.map((0,n.Fs)(i,r(t)),Xe)}}},Ie=_;function pe(e){return b(e)}var fe=T;function me(e){return O(e)}function he(e,r){return function(e,r){var t=k(e,r);return function(e){return t(e,n.D_)}}(e,r)}var ge=D,ve=function(e){return he(z.HV(),i.Foldable)(e)};function ye(e,r){return k(e,r)}var we=function(e){return function(r){for(var t in r)if(!e(r[t]))return!1;return!0}},Se=function(e){return function(r){for(var t in r)if(e(r[t]))return!0;return!1}},_e=function e(r){return function(t,i){if(void 0===i){var n=e(r);return function(e){return n(t,e)}}for(var o in i)if(r.equals(i[o],t))return!0;return!1}},be=function(e){var r=function(e){return function(r){return function(t){if(l(t))return r;if(l(r))return t;var i={};for(var n in t)f(n,r)?i[n]=e.concat(t[n],r[n]):i[n]=t[n];for(var n in r)f(n,i)||(i[n]=r[n]);return i}}}(e);return function(e){return function(t){return P(t)?L({},e):P(e)?L({},t):r(e)(t)}}},Te=function(e){return function(r){return function(t){return P(t)||P(r)?{}:function(e){return function(r){return function(t){if(l(t)||l(r))return h;var i={};for(var n in t)f(n,r)&&(i[n]=e.concat(t[n],r[n]));return i}}}(e)(r)(t)}}},Oe=function(e){return function(r){return P(r)?L({},e):P(e)?L({},r):function(e){return function(r){if(l(r))return e;if(l(e))return r;var t={};for(var i in r)f(i,e)||(t[i]=r[i]);for(var i in e)f(i,r)||(t[i]=e[i]);return t}}(e)(r)}},ke=function(e,r){return(0,n.Fs)(e,v(r))},Ae=function(e,r){return(0,n.Fs)(e,g(r))},qe=function(e){var r=Q(e);return function(e,t,i){return(0,n.Fs)(e,r(t,i))}},Ve=function(e){return function(r){var t=N(e)(r);return function(e,r){return(0,n.Fs)(e,t(r))}}},Ee=function(e){var r=C(e);return function(e,t,i){return(0,n.Fs)(e,r(t,i))}},xe=function(e,r){return(0,n.Fs)(e,E(r))},Re=function(e,r){return(0,n.Fs)(e,x(r))},$e=function(e,r){return(0,n.Fs)(e,R(r))},Qe=function(e,r){return(0,n.Fs)(e,$(r))},Ne=function(e){var r=y(e);return function(e,t,i){return(0,n.Fs)(e,r(t,i))}},Ce=function(e){var r=w(e);return function(e){var t=r(e);return function(e,r){return(0,n.Fs)(e,t(r))}}},Fe=function(e){var r=S(e);return function(e,t,i){return(0,n.Fs)(e,r(t,i))}},ze=function(e,r){return(0,n.Fs)(e,_(r))},Le=function(e,r){return(0,n.Fs)(e,b(r))},Me=function(e,r){return(0,n.Fs)(e,T(r))},Pe=function(e,r){return(0,n.Fs)(e,O(r))},je=A,Ze=q,Ue=function(e){return function(r){var t=j(e);return function(e,i){var n=t(e);if(0===n.length)return r.of({});for(var o=r.of({}),a=function(t){o=r.ap(r.map(o,(function(e){return function(r){return e[t]=r,e}})),i(t,e[t]))},s=0,u=n;s<u.length;s++)a(u[s]);return o}}},De=E,We=x,Ke=R,Be=$;function Ge(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];return 1===e.length?Q(e[0]):Q(c).apply(void 0,e)}function Je(e){return"compare"in e?N(e):N(c)(e)}function He(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];return 1===e.length?C(e[0]):C(c).apply(void 0,e)}var Ye=function(e){var r={};for(var t in e)if(a.zy.call(e,t)){var i=e[t];a.Ru(i)&&(r[t]=i.value)}return r},Xe=function(e){var r={},t={};for(var i in e)if(a.zy.call(e,i)){var n=e[i];a.OC(n)?r[i]=n.left:t[i]=n.right}return(0,u.Ci)(r,t)},er="Record";function rr(e){return"compare"in e?F(e):F(c)(e)}var tr=function(e){var r=m(e);return(0,s.ee)((function(e,t){return r(e)(t)&&r(t)(e)}))},ir=function(e){return{concat:function(r,t){if(l(r))return t;if(l(t))return r;var i=Object.assign({},r);for(var n in t)a.zy.call(t,n)&&(i[n]=a.zy.call(r,n)?e.concat(r[n],t[n]):t[n]);return i},empty:h}},nr={URI:er,map:ke},or=(0,o.Cn)(nr),ar={URI:er,map:ke,mapWithIndex:Ae},sr=function(e){return{URI:er,reduce:qe(e),foldMap:Ve(e),reduceRight:Ee(e)}},ur=function(e){return{URI:er,reduce:qe(e),foldMap:Ve(e),reduceRight:Ee(e),reduceWithIndex:Ne(e),foldMapWithIndex:Ce(e),reduceRightWithIndex:Fe(e)}},cr={URI:er,compact:Ye,separate:Xe},dr={URI:er,map:ke,compact:Ye,separate:Xe,filter:xe,filterMap:Re,partition:$e,partitionMap:Qe},lr={URI:er,map:ke,mapWithIndex:Ae,compact:Ye,separate:Xe,filter:xe,filterMap:Re,partition:$e,partitionMap:Qe,filterMapWithIndex:Me,filterWithIndex:Pe,partitionMapWithIndex:ze,partitionWithIndex:Le},Ir=function(e){return{URI:er,map:ke,reduce:qe(e),foldMap:Ve(e),reduceRight:Ee(e),traverse:je(e),sequence:Ze(e)}},pr=function(e){return{URI:er,map:ke,mapWithIndex:Ae,reduce:qe(e),foldMap:Ve(e),reduceRight:Ee(e),reduceWithIndex:Ne(e),foldMapWithIndex:Ce(e),reduceRightWithIndex:Fe(e),traverse:je(e),sequence:Ze(e),traverseWithIndex:Ue(e)}},fr=function(e){var r=Ir(e);return{URI:er,map:ke,reduce:qe(e),foldMap:Ve(e),reduceRight:Ee(e),traverse:r.traverse,sequence:r.sequence,compact:Ye,separate:Xe,filter:xe,filterMap:Re,partition:$e,partitionMap:Qe,wither:(0,d.nG)(r,cr),wilt:(0,d.ez)(r,cr)}},mr=function(e){var r=be(e);return{concat:function(e,t){return r(t)(e)}}},hr=function(e){return{concat:mr(e).concat,empty:{}}},gr=function(e){var r=Te(e);return{concat:function(e,t){return r(t)(e)}}},vr=function(){return{concat:function(e,r){return Oe(r)(e)}}},yr={URI:er,reduce:qe(c),foldMap:Ve(c),reduceRight:Ee(c)},wr={URI:er,reduce:qe(c),foldMap:Ve(c),reduceRight:Ee(c),reduceWithIndex:Ne(c),foldMapWithIndex:Ce(c),reduceRightWithIndex:Fe(c)},Sr={URI:er,map:ke,reduce:qe(c),foldMap:Ve(c),reduceRight:Ee(c),traverse:je(c),sequence:ce},_r={URI:er,map:ke,mapWithIndex:Ae,reduce:qe(c),foldMap:Ve(c),reduceRight:Ee(c),reduceWithIndex:Ne(c),foldMapWithIndex:Ce(c),reduceRightWithIndex:Fe(c),traverse:je(c),sequence:ce,traverseWithIndex:Ue(c)},br=(0,d.nG)(Sr,cr),Tr=(0,d.ez)(Sr,cr),Or={URI:er,map:ke,reduce:qe(c),foldMap:Ve(c),reduceRight:Ee(c),traverse:je(c),sequence:ce,compact:Ye,separate:Xe,filter:xe,filterMap:Re,partition:$e,partitionMap:Qe,wither:br,wilt:Tr},kr={},Ar=K,qr=function(e,r){return a.zy.call(void 0===r?this:r,e)},Vr={URI:er,map:ke,reduce:qe(c),foldMap:Ve(c),reduceRight:Ee(c),traverse:je(c),sequence:ce,compact:Ye,separate:Xe,filter:xe,filterMap:Re,partition:$e,partitionMap:Qe,mapWithIndex:Ae,reduceWithIndex:Ne(c),foldMapWithIndex:Ce(c),reduceRightWithIndex:Fe(c),filterMapWithIndex:Me,filterWithIndex:Pe,partitionMapWithIndex:ze,partitionWithIndex:Le,traverseWithIndex:Ue(c),wither:br,wilt:Tr}},3282:(e,r,t)=>{"use strict";t.d(r,{$1:()=>s,HV:()=>u,T9:()=>a,jk:()=>o});var i=t(5103),n=t(5232),o=function(e){return{concat:n.jk(e)}},a=function(e){return{concat:n.T9(e)}},s=function(){return{concat:i.D_}},u=function(){return{concat:function(e,r){return r}}}},2224:(e,r,t)=>{"use strict";t.d(r,{Ci:()=>i}),t(5103);var i=function(e,r){return{left:e,right:r}}},1216:(e,r,t)=>{"use strict";t.d(r,{ez:()=>n,gc:()=>a,nG:()=>o});var i=t(9930);function n(e,r){return function(t){var i=e.traverse(t);return function(e,n){return t.map(i(e,n),r.separate)}}}function o(e,r){return function(t){var i=e.traverse(t);return function(e,n){return t.map(i(e,n),r.compact)}}}function a(e){return function(r){var t=e.wither(r);return function(e){return function(n){return t(n,(function(t){return r.map(e(t),(function(e){return e?i.zN(t):i.dv}))}))}}}}},1965:(e,r,t)=>{"use strict";function i(e,r){return function(t){return t?r.of(void 0):e.zero()}}t.d(r,{a:()=>i})},5103:(e,r,t)=>{"use strict";t.d(r,{D_:()=>i,Fs:()=>c,L3:()=>u,MN:()=>s,SK:()=>d,XR:()=>a,XY:()=>l,dY:()=>n,ue:()=>o});function i(e){return e}function n(e){return function(){return e}}var o=n(!0),a=n(null),s=n(void 0);function u(e,r,t,i,n,o,a,s,u){switch(arguments.length){case 1:return e;case 2:return function(){return r(e.apply(this,arguments))};case 3:return function(){return t(r(e.apply(this,arguments)))};case 4:return function(){return i(t(r(e.apply(this,arguments))))};case 5:return function(){return n(i(t(r(e.apply(this,arguments)))))};case 6:return function(){return o(n(i(t(r(e.apply(this,arguments))))))};case 7:return function(){return a(o(n(i(t(r(e.apply(this,arguments)))))))};case 8:return function(){return s(a(o(n(i(t(r(e.apply(this,arguments))))))))};case 9:return function(){return u(s(a(o(n(i(t(r(e.apply(this,arguments)))))))))}}}function c(e,r,t,i,n,o,a,s,u){switch(arguments.length){case 1:return e;case 2:return r(e);case 3:return t(r(e));case 4:return i(t(r(e)));case 5:return n(i(t(r(e))));case 6:return o(n(i(t(r(e)))));case 7:return a(o(n(i(t(r(e))))));case 8:return s(a(o(n(i(t(r(e)))))));case 9:return u(s(a(o(n(i(t(r(e))))))));default:for(var c=arguments[0],d=1;d<arguments.length;d++)c=arguments[d](c);return c}}var d=function(e,r){return r},l=function(e,r){var t="number"==typeof e?function(r){return r.length>=e}:e;return function(){var e=Array.from(arguments);return t(arguments)?r.apply(this,e):function(t){return r.apply(void 0,function(e,r,t){if(t||2===arguments.length)for(var i,n=0,o=r.length;n<o;n++)!i&&n in r||(i||(i=Array.prototype.slice.call(r,0,n)),i[n]=r[n]);return e.concat(i||Array.prototype.slice.call(r))}([t],e,!1))}}}},9930:(e,r,t)=>{"use strict";t.d(r,{$I:()=>n,FG:()=>c,FR:()=>g,Gr:()=>I,J_:()=>p,OC:()=>u,PP:()=>S,RT:()=>m,Ru:()=>o,aO:()=>y,d5:()=>f,dv:()=>a,kb:()=>d,lk:()=>b,pG:()=>l,rV:()=>w,rb:()=>h,v9:()=>_,zN:()=>s,zy:()=>v});var i=t(5103),n=function(e){return"None"===e._tag},o=function(e){return"Some"===e._tag},a={_tag:"None"},s=function(e){return{_tag:"Some",value:e}},u=function(e){return"Left"===e._tag},c=function(e){return"Right"===e._tag},d=function(e){return{_tag:"Left",left:e}},l=function(e){return{_tag:"Right",right:e}},I=function(e){return[e]},p=function(e){return e.length>0},f=function(e){return e[0]},m=function(e){return e.slice(1)},h=[],g={},v=Object.prototype.hasOwnProperty,y=function(e){return function(e,r,t){if(t||2===arguments.length)for(var i,n=0,o=r.length;n<o;n++)!i&&n in r||(i||(i=Array.prototype.slice.call(r,0,n)),i[n]=r[n]);return e.concat(i||Array.prototype.slice.call(r))}([e[0]],e.slice(1),!0)},w=function(e){return function(r,t){return function(){for(var i=[],n=0;n<arguments.length;n++)i[n]=arguments[n];var o=r.apply(void 0,i);return e.fromEither(null==o?d(t.apply(void 0,i)):l(o))}}},S=function(e){return function(r,t){return function(){for(var i=[],o=0;o<arguments.length;o++)i[o]=arguments[o];var a=r.apply(void 0,i);return e.fromEither(n(a)?d(t.apply(void 0,i)):l(a.value))}}},_=function(e,r){return(0,i.XY)(3,(function(t,i,n){return r.flatMap(t,w(e)(i,n))}))},b=function(e,r){return(0,i.XY)(3,(function(t,i,n){return r.flatMap(t,S(e)(i,n))}))}},5915:(e,r,t)=>{"use strict";t.r(r),t.d(r,{alt:()=>w,ap:()=>c,bimap:()=>l,chain:()=>d,compose:()=>E,contramap:()=>s,extend:()=>p,filter:()=>S,filterMap:()=>_,filterMapWithIndex:()=>k,filterWithIndex:()=>O,foldMap:()=>m,foldMapWithIndex:()=>v,map:()=>a,mapLeft:()=>I,mapWithIndex:()=>u,partition:()=>b,partitionMap:()=>T,partitionMapWithIndex:()=>q,partitionWithIndex:()=>A,pipe:()=>B,pipeable:()=>K,promap:()=>V,reduce:()=>f,reduceRight:()=>h,reduceRightWithIndex:()=>y,reduceWithIndex:()=>g});var i=t(1555),n=t(666),o=t(5103);function a(e){return function(r){return function(t){return e.map(t,r)}}}function s(e){return function(r){return function(t){return e.contramap(t,r)}}}function u(e){return function(r){return function(t){return e.mapWithIndex(t,r)}}}function c(e){return function(r){return function(t){return e.ap(t,r)}}}function d(e){return function(r){return function(t){return e.chain(t,r)}}}function l(e){return function(r,t){return function(i){return e.bimap(i,r,t)}}}function I(e){return function(r){return function(t){return e.mapLeft(t,r)}}}function p(e){return function(r){return function(t){return e.extend(t,r)}}}function f(e){return function(r,t){return function(i){return e.reduce(i,r,t)}}}function m(e){return function(r){var t=e.foldMap(r);return function(e){return function(r){return t(r,e)}}}}function h(e){return function(r,t){return function(i){return e.reduceRight(i,r,t)}}}function g(e){return function(r,t){return function(i){return e.reduceWithIndex(i,r,t)}}}function v(e){return function(r){var t=e.foldMapWithIndex(r);return function(e){return function(r){return t(r,e)}}}}function y(e){return function(r,t){return function(i){return e.reduceRightWithIndex(i,r,t)}}}function w(e){return function(r){return function(t){return e.alt(t,r)}}}function S(e){return function(r){return function(t){return e.filter(t,r)}}}function _(e){return function(r){return function(t){return e.filterMap(t,r)}}}function b(e){return function(r){return function(t){return e.partition(t,r)}}}function T(e){return function(r){return function(t){return e.partitionMap(t,r)}}}function O(e){return function(r){return function(t){return e.filterWithIndex(t,r)}}}function k(e){return function(r){return function(t){return e.filterMapWithIndex(t,r)}}}function A(e){return function(r){return function(t){return e.partitionWithIndex(t,r)}}}function q(e){return function(r){return function(t){return e.partitionMapWithIndex(t,r)}}}function V(e){return function(r,t){return function(i){return e.promap(i,r,t)}}}function E(e){return function(r){return function(t){return e.compose(t,r)}}}var x=function(e){return"function"==typeof e.map},R=function(e){return"function"==typeof e.contramap},$=function(e){return"function"==typeof e.mapWithIndex},Q=function(e){return"function"==typeof e.ap},N=function(e){return"function"==typeof e.chain},C=function(e){return"function"==typeof e.bimap},F=function(e){return"function"==typeof e.extend},z=function(e){return"function"==typeof e.reduce},L=function(e){return"function"==typeof e.reduceWithIndex},M=function(e){return"function"==typeof e.alt},P=function(e){return"function"==typeof e.compact},j=function(e){return"function"==typeof e.filter},Z=function(e){return"function"==typeof e.filterWithIndex},U=function(e){return"function"==typeof e.promap},D=function(e){return"function"==typeof e.compose},W=function(e){return"function"==typeof e.throwError};function K(e){var r={};return x(e)&&(r.map=a(e)),R(e)&&(r.contramap=s(e)),$(e)&&(r.mapWithIndex=u(e)),Q(e)&&(r.ap=c(e),r.apFirst=(0,i.oW)(e),r.apSecond=(0,i.g$)(e)),N(e)&&(r.chain=d(e),r.chainFirst=(0,n.W6)(e),r.flatten=r.chain(o.D_)),C(e)&&(r.bimap=l(e),r.mapLeft=I(e)),F(e)&&(r.extend=p(e),r.duplicate=r.extend(o.D_)),z(e)&&(r.reduce=f(e),r.foldMap=m(e),r.reduceRight=h(e)),L(e)&&(r.reduceWithIndex=g(e),r.foldMapWithIndex=v(e),r.reduceRightWithIndex=y(e)),M(e)&&(r.alt=w(e)),P(e)&&(r.compact=e.compact,r.separate=e.separate),j(e)&&(r.filter=S(e),r.filterMap=_(e),r.partition=b(e),r.partitionMap=T(e)),Z(e)&&(r.filterWithIndex=O(e),r.filterMapWithIndex=k(e),r.partitionWithIndex=A(e),r.partitionMapWithIndex=q(e)),U(e)&&(r.promap=V(e)),D(e)&&(r.compose=E(e)),W(e)&&(r.fromOption=function(r){return function(t){return"None"===t._tag?e.throwError(r()):e.of(t.value)}},r.fromEither=function(r){return"Left"===r._tag?e.throwError(r.left):e.of(r.right)},r.fromPredicate=function(r,t){return function(i){return r(i)?e.of(i):e.throwError(t(i))}},r.filterOrElse=function(r,t){return function(i){return e.chain(i,(function(i){return r(i)?e.of(i):e.throwError(t(i))}))}}),r}var B=o.Fs},3676:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.getApplicativeComposition=r.getApplicativeMonoid=void 0;var i=t(602),n=t(1868),o=t(5021);r.getApplicativeMonoid=function(e){var r=(0,i.getApplySemigroup)(e);return function(t){return{concat:r(t).concat,empty:e.of(t.empty)}}},r.getApplicativeComposition=function(e,r){var t=(0,o.getFunctorComposition)(e,r).map,a=(0,i.ap)(e,r);return{map:t,of:function(t){return e.of(r.of(t))},ap:function(e,r){return(0,n.pipe)(e,a(r))}}}},602:function(e,r,t){"use strict";var i=this&&this.__createBinding||(Object.create?function(e,r,t,i){void 0===i&&(i=t);var n=Object.getOwnPropertyDescriptor(r,t);n&&!("get"in n?!r.__esModule:n.writable||n.configurable)||(n={enumerable:!0,get:function(){return r[t]}}),Object.defineProperty(e,i,n)}:function(e,r,t,i){void 0===i&&(i=t),e[i]=r[t]}),n=this&&this.__setModuleDefault||(Object.create?function(e,r){Object.defineProperty(e,"default",{enumerable:!0,value:r})}:function(e,r){e.default=r}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var r={};if(null!=e)for(var t in e)"default"!==t&&Object.prototype.hasOwnProperty.call(e,t)&&i(r,e,t);return n(r,e),r};Object.defineProperty(r,"__esModule",{value:!0}),r.sequenceS=r.sequenceT=r.getApplySemigroup=r.apS=r.apSecond=r.apFirst=r.ap=void 0;var a=t(1868),s=o(t(6377));function u(e,r,t){return function(i){for(var n=Array(t.length+1),o=0;o<t.length;o++)n[o]=t[o];return n[t.length]=i,0===r?e.apply(null,n):u(e,r-1,n)}}r.ap=function(e,r){return function(t){return function(i){return e.ap(e.map(i,(function(e){return function(t){return r.ap(e,t)}})),t)}}},r.apFirst=function(e){return function(r){return function(t){return e.ap(e.map(t,(function(e){return function(){return e}})),r)}}},r.apSecond=function(e){return function(r){return function(t){return e.ap(e.map(t,(function(){return function(e){return e}})),r)}}},r.apS=function(e){return function(r,t){return function(i){return e.ap(e.map(i,(function(e){return function(t){var i;return Object.assign({},e,((i={})[r]=t,i))}})),t)}}},r.getApplySemigroup=function(e){return function(r){return{concat:function(t,i){return e.ap(e.map(t,(function(e){return function(t){return r.concat(e,t)}})),i)}}}};var c={1:function(e){return[e]},2:function(e){return function(r){return[e,r]}},3:function(e){return function(r){return function(t){return[e,r,t]}}},4:function(e){return function(r){return function(t){return function(i){return[e,r,t,i]}}}},5:function(e){return function(r){return function(t){return function(i){return function(n){return[e,r,t,i,n]}}}}}};r.sequenceT=function(e){return function(){for(var r=[],t=0;t<arguments.length;t++)r[t]=arguments[t];for(var i=r.length,n=function(e){return s.has.call(c,e)||(c[e]=u(a.tuple,e-1,[])),c[e]}(i),o=e.map(r[0],n),d=1;d<i;d++)o=e.ap(o,r[d]);return o}},r.sequenceS=function(e){return function(r){for(var t=Object.keys(r),i=t.length,n=function(e){var r=e.length;switch(r){case 1:return function(r){var t;return(t={})[e[0]]=r,t};case 2:return function(r){return function(t){var i;return(i={})[e[0]]=r,i[e[1]]=t,i}};case 3:return function(r){return function(t){return function(i){var n;return(n={})[e[0]]=r,n[e[1]]=t,n[e[2]]=i,n}}};case 4:return function(r){return function(t){return function(i){return function(n){var o;return(o={})[e[0]]=r,o[e[1]]=t,o[e[2]]=i,o[e[3]]=n,o}}}};case 5:return function(r){return function(t){return function(i){return function(n){return function(o){var a;return(a={})[e[0]]=r,a[e[1]]=t,a[e[2]]=i,a[e[3]]=n,a[e[4]]=o,a}}}}};default:return u((function(){for(var t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];for(var n={},o=0;o<r;o++)n[e[o]]=t[o];return n}),r-1,[])}}(t),o=e.map(r[t[0]],n),a=1;a<i;a++)o=e.ap(o,r[t[a]]);return o}}},715:(e,r)=>{"use strict";function t(e){return function(r,t){return e.chain(r,(function(r){return e.map(t(r),(function(){return r}))}))}}Object.defineProperty(r,"__esModule",{value:!0}),r.bind=r.tap=r.chainFirst=void 0,r.chainFirst=function(e){var r=t(e);return function(e){return function(t){return r(t,e)}}},r.tap=t,r.bind=function(e){return function(r,t){return function(i){return e.chain(i,(function(i){return e.map(t(i),(function(e){var t;return Object.assign({},i,((t={})[r]=e,t))}))}))}}}},4997:(e,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.tailRec=void 0,r.tailRec=function(e,r){for(var t=r(e);"Left"===t._tag;)t=r(t.left);return t.right}},1125:function(e,r,t){"use strict";var i=this&&this.__createBinding||(Object.create?function(e,r,t,i){void 0===i&&(i=t);var n=Object.getOwnPropertyDescriptor(r,t);n&&!("get"in n?!r.__esModule:n.writable||n.configurable)||(n={enumerable:!0,get:function(){return r[t]}}),Object.defineProperty(e,i,n)}:function(e,r,t,i){void 0===i&&(i=t),e[i]=r[t]}),n=this&&this.__setModuleDefault||(Object.create?function(e,r){Object.defineProperty(e,"default",{enumerable:!0,value:r})}:function(e,r){e.default=r}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var r={};if(null!=e)for(var t in e)"default"!==t&&Object.prototype.hasOwnProperty.call(e,t)&&i(r,e,t);return n(r,e),r};Object.defineProperty(r,"__esModule",{value:!0}),r.match=r.foldW=r.matchW=r.isRight=r.isLeft=r.fromOption=r.fromPredicate=r.FromEither=r.MonadThrow=r.throwError=r.ChainRec=r.Extend=r.extend=r.Alt=r.alt=r.altW=r.Bifunctor=r.mapLeft=r.bimap=r.Traversable=r.sequence=r.traverse=r.Foldable=r.reduceRight=r.foldMap=r.reduce=r.Monad=r.Chain=r.Applicative=r.Apply=r.ap=r.apW=r.Pointed=r.of=r.asUnit=r.as=r.Functor=r.map=r.getAltValidation=r.getApplicativeValidation=r.getWitherable=r.getFilterable=r.getCompactable=r.getSemigroup=r.getEq=r.getShow=r.URI=r.flatMap=r.right=r.left=void 0,r.chainFirstW=r.chainFirst=r.chain=r.chainW=r.sequenceArray=r.traverseArray=r.traverseArrayWithIndex=r.traverseReadonlyArrayWithIndex=r.traverseReadonlyNonEmptyArrayWithIndex=r.ApT=r.apSW=r.apS=r.bindW=r.bind=r.let=r.bindTo=r.Do=r.exists=r.elem=r.toError=r.toUnion=r.chainNullableK=r.fromNullableK=r.tryCatchK=r.tryCatch=r.fromNullable=r.orElse=r.orElseW=r.swap=r.filterOrElseW=r.filterOrElse=r.flatMapOption=r.flatMapNullable=r.liftOption=r.liftNullable=r.chainOptionKW=r.chainOptionK=r.fromOptionK=r.duplicate=r.flatten=r.flattenW=r.tap=r.apSecondW=r.apSecond=r.apFirstW=r.apFirst=r.flap=r.getOrElse=r.getOrElseW=r.fold=void 0,r.getValidation=r.getValidationMonoid=r.getValidationSemigroup=r.getApplyMonoid=r.getApplySemigroup=r.either=r.stringifyJSON=r.parseJSON=void 0;var a=t(3676),s=t(602),u=o(t(715)),c=t(4997),d=t(7329),l=t(1868),I=t(5021),p=o(t(6377)),f=t(5653),m=t(9347);r.left=p.left,r.right=p.right,r.flatMap=(0,l.dual)(2,(function(e,t){return(0,r.isLeft)(e)?e:t(e.right)}));var h=function(e,t){return(0,l.pipe)(e,(0,r.map)(t))},g=function(e,t){return(0,l.pipe)(e,(0,r.ap)(t))},v=function(e,t,i){return(0,l.pipe)(e,(0,r.reduce)(t,i))},y=function(e){return function(t,i){var n=(0,r.foldMap)(e);return(0,l.pipe)(t,n(i))}},w=function(e,t,i){return(0,l.pipe)(e,(0,r.reduceRight)(t,i))},S=function(e){var t=(0,r.traverse)(e);return function(e,r){return(0,l.pipe)(e,t(r))}},_=function(e,t,i){return(0,l.pipe)(e,(0,r.bimap)(t,i))},b=function(e,t){return(0,l.pipe)(e,(0,r.mapLeft)(t))},T=function(e,t){return(0,l.pipe)(e,(0,r.alt)(t))},O=function(e,t){return(0,l.pipe)(e,(0,r.extend)(t))},k=function(e,t){return(0,c.tailRec)(t(e),(function(e){return(0,r.isLeft)(e)?(0,r.right)((0,r.left)(e.left)):(0,r.isLeft)(e.right)?(0,r.left)(t(e.right.left)):(0,r.right)((0,r.right)(e.right.right))}))};r.URI="Either",r.getShow=function(e,t){return{show:function(i){return(0,r.isLeft)(i)?"left(".concat(e.show(i.left),")"):"right(".concat(t.show(i.right),")")}}},r.getEq=function(e,t){return{equals:function(i,n){return i===n||((0,r.isLeft)(i)?(0,r.isLeft)(n)&&e.equals(i.left,n.left):(0,r.isRight)(n)&&t.equals(i.right,n.right))}}},r.getSemigroup=function(e){return{concat:function(t,i){return(0,r.isLeft)(i)?t:(0,r.isLeft)(t)?i:(0,r.right)(e.concat(t.right,i.right))}}},r.getCompactable=function(e){var t=(0,r.left)(e.empty);return{URI:r.URI,_E:void 0,compact:function(e){return(0,r.isLeft)(e)?e:"None"===e.right._tag?t:(0,r.right)(e.right.value)},separate:function(e){return(0,r.isLeft)(e)?(0,f.separated)(e,e):(0,r.isLeft)(e.right)?(0,f.separated)((0,r.right)(e.right.left),t):(0,f.separated)(t,(0,r.right)(e.right.right))}}},r.getFilterable=function(e){var t=(0,r.left)(e.empty),i=(0,r.getCompactable)(e),n=i.compact,o=i.separate;return{URI:r.URI,_E:void 0,map:h,compact:n,separate:o,filter:function(e,i){return(0,r.isLeft)(e)||i(e.right)?e:t},filterMap:function(e,i){if((0,r.isLeft)(e))return e;var n=i(e.right);return"None"===n._tag?t:(0,r.right)(n.value)},partition:function(e,i){return(0,r.isLeft)(e)?(0,f.separated)(e,e):i(e.right)?(0,f.separated)(t,(0,r.right)(e.right)):(0,f.separated)((0,r.right)(e.right),t)},partitionMap:function(e,i){if((0,r.isLeft)(e))return(0,f.separated)(e,e);var n=i(e.right);return(0,r.isLeft)(n)?(0,f.separated)((0,r.right)(n.left),t):(0,f.separated)(t,(0,r.right)(n.right))}}},r.getWitherable=function(e){var t=(0,r.getFilterable)(e),i=(0,r.getCompactable)(e);return{URI:r.URI,_E:void 0,map:h,compact:t.compact,separate:t.separate,filter:t.filter,filterMap:t.filterMap,partition:t.partition,partitionMap:t.partitionMap,traverse:S,sequence:r.sequence,reduce:v,foldMap:y,reduceRight:w,wither:(0,m.witherDefault)(r.Traversable,i),wilt:(0,m.wiltDefault)(r.Traversable,i)}},r.getApplicativeValidation=function(e){return{URI:r.URI,_E:void 0,map:h,ap:function(t,i){return(0,r.isLeft)(t)?(0,r.isLeft)(i)?(0,r.left)(e.concat(t.left,i.left)):t:(0,r.isLeft)(i)?i:(0,r.right)(t.right(i.right))},of:r.of}},r.getAltValidation=function(e){return{URI:r.URI,_E:void 0,map:h,alt:function(t,i){if((0,r.isRight)(t))return t;var n=i();return(0,r.isLeft)(n)?(0,r.left)(e.concat(t.left,n.left)):n}}},r.map=function(e){return function(t){return(0,r.isLeft)(t)?t:(0,r.right)(e(t.right))}},r.Functor={URI:r.URI,map:h},r.as=(0,l.dual)(2,(0,I.as)(r.Functor)),r.asUnit=(0,I.asUnit)(r.Functor),r.of=r.right,r.Pointed={URI:r.URI,of:r.of},r.apW=function(e){return function(t){return(0,r.isLeft)(t)?t:(0,r.isLeft)(e)?e:(0,r.right)(t.right(e.right))}},r.ap=r.apW,r.Apply={URI:r.URI,map:h,ap:g},r.Applicative={URI:r.URI,map:h,ap:g,of:r.of},r.Chain={URI:r.URI,map:h,ap:g,chain:r.flatMap},r.Monad={URI:r.URI,map:h,ap:g,of:r.of,chain:r.flatMap},r.reduce=function(e,t){return function(i){return(0,r.isLeft)(i)?e:t(e,i.right)}},r.foldMap=function(e){return function(t){return function(i){return(0,r.isLeft)(i)?e.empty:t(i.right)}}},r.reduceRight=function(e,t){return function(i){return(0,r.isLeft)(i)?e:t(i.right,e)}},r.Foldable={URI:r.URI,reduce:v,foldMap:y,reduceRight:w},r.traverse=function(e){return function(t){return function(i){return(0,r.isLeft)(i)?e.of((0,r.left)(i.left)):e.map(t(i.right),r.right)}}},r.sequence=function(e){return function(t){return(0,r.isLeft)(t)?e.of((0,r.left)(t.left)):e.map(t.right,r.right)}},r.Traversable={URI:r.URI,map:h,reduce:v,foldMap:y,reduceRight:w,traverse:S,sequence:r.sequence},r.bimap=function(e,t){return function(i){return(0,r.isLeft)(i)?(0,r.left)(e(i.left)):(0,r.right)(t(i.right))}},r.mapLeft=function(e){return function(t){return(0,r.isLeft)(t)?(0,r.left)(e(t.left)):t}},r.Bifunctor={URI:r.URI,bimap:_,mapLeft:b},r.altW=function(e){return function(t){return(0,r.isLeft)(t)?e():t}},r.alt=r.altW,r.Alt={URI:r.URI,map:h,alt:T},r.extend=function(e){return function(t){return(0,r.isLeft)(t)?t:(0,r.right)(e(t))}},r.Extend={URI:r.URI,map:h,extend:O},r.ChainRec={URI:r.URI,map:h,ap:g,chain:r.flatMap,chainRec:k},r.throwError=r.left,r.MonadThrow={URI:r.URI,map:h,ap:g,of:r.of,chain:r.flatMap,throwError:r.throwError},r.FromEither={URI:r.URI,fromEither:l.identity},r.fromPredicate=(0,d.fromPredicate)(r.FromEither),r.fromOption=(0,d.fromOption)(r.FromEither),r.isLeft=p.isLeft,r.isRight=p.isRight,r.matchW=function(e,t){return function(i){return(0,r.isLeft)(i)?e(i.left):t(i.right)}},r.foldW=r.matchW,r.match=r.matchW,r.fold=r.match,r.getOrElseW=function(e){return function(t){return(0,r.isLeft)(t)?e(t.left):t.right}},r.getOrElse=r.getOrElseW,r.flap=(0,I.flap)(r.Functor),r.apFirst=(0,s.apFirst)(r.Apply),r.apFirstW=r.apFirst,r.apSecond=(0,s.apSecond)(r.Apply),r.apSecondW=r.apSecond,r.tap=(0,l.dual)(2,u.tap(r.Chain)),r.flattenW=(0,r.flatMap)(l.identity),r.flatten=r.flattenW,r.duplicate=(0,r.extend)(l.identity),r.fromOptionK=(0,d.fromOptionK)(r.FromEither),r.chainOptionK=(0,d.chainOptionK)(r.FromEither,r.Chain),r.chainOptionKW=r.chainOptionK;var A={fromEither:r.FromEither.fromEither};r.liftNullable=p.liftNullable(A),r.liftOption=p.liftOption(A);var q={flatMap:r.flatMap};r.flatMapNullable=p.flatMapNullable(A,q),r.flatMapOption=p.flatMapOption(A,q),r.filterOrElse=(0,d.filterOrElse)(r.FromEither,r.Chain),r.filterOrElseW=r.filterOrElse,r.swap=function(e){return(0,r.isLeft)(e)?(0,r.right)(e.left):(0,r.left)(e.right)},r.orElseW=function(e){return function(t){return(0,r.isLeft)(t)?e(t.left):t}},r.orElse=r.orElseW,r.fromNullable=function(e){return function(t){return null==t?(0,r.left)(e):(0,r.right)(t)}},r.tryCatch=function(e,t){try{return(0,r.right)(e())}catch(e){return(0,r.left)(t(e))}},r.tryCatchK=function(e,t){return function(){for(var i=[],n=0;n<arguments.length;n++)i[n]=arguments[n];return(0,r.tryCatch)((function(){return e.apply(void 0,i)}),t)}},r.fromNullableK=function(e){var t=(0,r.fromNullable)(e);return function(e){return(0,l.flow)(e,t)}},r.chainNullableK=function(e){var t=(0,r.fromNullableK)(e);return function(e){return(0,r.flatMap)(t(e))}},r.toUnion=(0,r.foldW)(l.identity,l.identity),r.toError=function(e){return e instanceof Error?e:new Error(String(e))},r.elem=function e(t){return function(i,n){if(void 0===n){var o=e(t);return function(e){return o(i,e)}}return!(0,r.isLeft)(n)&&t.equals(i,n.right)}},r.exists=function(e){return function(t){return!(0,r.isLeft)(t)&&e(t.right)}},r.Do=(0,r.of)(p.emptyRecord),r.bindTo=(0,I.bindTo)(r.Functor);var V=(0,I.let)(r.Functor);r.let=V,r.bind=u.bind(r.Chain),r.bindW=r.bind,r.apS=(0,s.apS)(r.Apply),r.apSW=r.apS,r.ApT=(0,r.of)(p.emptyReadonlyArray),r.traverseReadonlyNonEmptyArrayWithIndex=function(e){return function(t){var i=e(0,p.head(t));if((0,r.isLeft)(i))return i;for(var n=[i.right],o=1;o<t.length;o++){var a=e(o,t[o]);if((0,r.isLeft)(a))return a;n.push(a.right)}return(0,r.right)(n)}},r.traverseReadonlyArrayWithIndex=function(e){var t=(0,r.traverseReadonlyNonEmptyArrayWithIndex)(e);return function(e){return p.isNonEmpty(e)?t(e):r.ApT}},r.traverseArrayWithIndex=r.traverseReadonlyArrayWithIndex,r.traverseArray=function(e){return(0,r.traverseReadonlyArrayWithIndex)((function(r,t){return e(t)}))},r.sequenceArray=(0,r.traverseArray)(l.identity),r.chainW=r.flatMap,r.chain=r.flatMap,r.chainFirst=r.tap,r.chainFirstW=r.tap,r.parseJSON=function(e,t){return(0,r.tryCatch)((function(){return JSON.parse(e)}),t)},r.stringifyJSON=function(e,t){return(0,r.tryCatch)((function(){var r=JSON.stringify(e);if("string"!=typeof r)throw new Error("Converting unsupported structure to JSON");return r}),t)},r.either={URI:r.URI,map:h,of:r.of,ap:g,chain:r.flatMap,reduce:v,foldMap:y,reduceRight:w,traverse:S,sequence:r.sequence,bimap:_,mapLeft:b,alt:T,extend:O,chainRec:k,throwError:r.throwError},r.getApplySemigroup=(0,s.getApplySemigroup)(r.Apply),r.getApplyMonoid=(0,a.getApplicativeMonoid)(r.Applicative),r.getValidationSemigroup=function(e,t){return(0,s.getApplySemigroup)((0,r.getApplicativeValidation)(e))(t)},r.getValidationMonoid=function(e,t){return(0,a.getApplicativeMonoid)((0,r.getApplicativeValidation)(e))(t)},r.getValidation=function(e){var t=(0,r.getApplicativeValidation)(e).ap,i=(0,r.getAltValidation)(e).alt;return{URI:r.URI,_E:void 0,map:h,of:r.of,chain:r.flatMap,bimap:_,mapLeft:b,reduce:v,foldMap:y,reduceRight:w,extend:O,traverse:S,sequence:r.sequence,chainRec:k,throwError:r.throwError,ap:t,alt:i}}},7329:function(e,r,t){"use strict";var i=this&&this.__createBinding||(Object.create?function(e,r,t,i){void 0===i&&(i=t);var n=Object.getOwnPropertyDescriptor(r,t);n&&!("get"in n?!r.__esModule:n.writable||n.configurable)||(n={enumerable:!0,get:function(){return r[t]}}),Object.defineProperty(e,i,n)}:function(e,r,t,i){void 0===i&&(i=t),e[i]=r[t]}),n=this&&this.__setModuleDefault||(Object.create?function(e,r){Object.defineProperty(e,"default",{enumerable:!0,value:r})}:function(e,r){e.default=r}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var r={};if(null!=e)for(var t in e)"default"!==t&&Object.prototype.hasOwnProperty.call(e,t)&&i(r,e,t);return n(r,e),r};Object.defineProperty(r,"__esModule",{value:!0}),r.tapEither=r.filterOrElse=r.chainFirstEitherK=r.chainEitherK=r.fromEitherK=r.chainOptionK=r.fromOptionK=r.fromPredicate=r.fromOption=void 0;var a=t(715),s=t(1868),u=o(t(6377));function c(e){return function(r){return function(t){return e.fromEither(u.isNone(t)?u.left(r()):u.right(t.value))}}}function d(e){var r=c(e);return function(e){var t=r(e);return function(e){return(0,s.flow)(e,t)}}}function l(e){return function(r){return(0,s.flow)(r,e.fromEither)}}function I(e,r){var t=l(e),i=(0,a.tap)(r);return function(e,r){return i(e,t(r))}}r.fromOption=c,r.fromPredicate=function(e){return function(r,t){return function(i){return e.fromEither(r(i)?u.right(i):u.left(t(i)))}}},r.fromOptionK=d,r.chainOptionK=function(e,r){var t=d(e);return function(e){var i=t(e);return function(e){return function(t){return r.chain(t,i(e))}}}},r.fromEitherK=l,r.chainEitherK=function(e,r){var t=l(e);return function(e){return function(i){return r.chain(i,t(e))}}},r.chainFirstEitherK=function(e,r){var t=I(e,r);return function(e){return function(r){return t(r,e)}}},r.filterOrElse=function(e,r){return function(t,i){return function(n){return r.chain(n,(function(r){return e.fromEither(t(r)?u.right(r):u.left(i(r)))}))}}},r.tapEither=I},5021:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.asUnit=r.as=r.getFunctorComposition=r.let=r.bindTo=r.flap=r.map=void 0;var i=t(1868);function n(e,r){return function(t){return function(i){return e.map(i,(function(e){return r.map(e,t)}))}}}function o(e){return function(r,t){return e.map(r,(function(){return t}))}}r.map=n,r.flap=function(e){return function(r){return function(t){return e.map(t,(function(e){return e(r)}))}}},r.bindTo=function(e){return function(r){return function(t){return e.map(t,(function(e){var t;return(t={})[r]=e,t}))}}},r.let=function(e){return function(r,t){return function(i){return e.map(i,(function(e){var i;return Object.assign({},e,((i={})[r]=t(e),i))}))}}},r.getFunctorComposition=function(e,r){var t=n(e,r);return{map:function(e,r){return(0,i.pipe)(e,t(r))}}},r.as=o,r.asUnit=function(e){var r=o(e);return function(e){return r(e,void 0)}}},5653:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.right=r.left=r.flap=r.Functor=r.Bifunctor=r.URI=r.bimap=r.mapLeft=r.map=r.separated=void 0;var i=t(1868),n=t(5021);r.separated=function(e,r){return{left:e,right:r}},r.map=function(e){return function(t){return(0,r.separated)((0,r.left)(t),e((0,r.right)(t)))}},r.mapLeft=function(e){return function(t){return(0,r.separated)(e((0,r.left)(t)),(0,r.right)(t))}},r.bimap=function(e,t){return function(i){return(0,r.separated)(e((0,r.left)(i)),t((0,r.right)(i)))}},r.URI="Separated",r.Bifunctor={URI:r.URI,mapLeft:function(e,t){return(0,i.pipe)(e,(0,r.mapLeft)(t))},bimap:function(e,t,n){return(0,i.pipe)(e,(0,r.bimap)(t,n))}},r.Functor={URI:r.URI,map:function(e,t){return(0,i.pipe)(e,(0,r.map)(t))}},r.flap=(0,n.flap)(r.Functor),r.left=function(e){return e.left},r.right=function(e){return e.right}},9347:function(e,r,t){"use strict";var i=this&&this.__createBinding||(Object.create?function(e,r,t,i){void 0===i&&(i=t);var n=Object.getOwnPropertyDescriptor(r,t);n&&!("get"in n?!r.__esModule:n.writable||n.configurable)||(n={enumerable:!0,get:function(){return r[t]}}),Object.defineProperty(e,i,n)}:function(e,r,t,i){void 0===i&&(i=t),e[i]=r[t]}),n=this&&this.__setModuleDefault||(Object.create?function(e,r){Object.defineProperty(e,"default",{enumerable:!0,value:r})}:function(e,r){e.default=r}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var r={};if(null!=e)for(var t in e)"default"!==t&&Object.prototype.hasOwnProperty.call(e,t)&&i(r,e,t);return n(r,e),r};Object.defineProperty(r,"__esModule",{value:!0}),r.filterE=r.witherDefault=r.wiltDefault=void 0;var a=o(t(6377));r.wiltDefault=function(e,r){return function(t){var i=e.traverse(t);return function(e,n){return t.map(i(e,n),r.separate)}}},r.witherDefault=function(e,r){return function(t){var i=e.traverse(t);return function(e,n){return t.map(i(e,n),r.compact)}}},r.filterE=function(e){return function(r){var t=e.wither(r);return function(e){return function(i){return t(i,(function(t){return r.map(e(t),(function(e){return e?a.some(t):a.none}))}))}}}}},1868:function(e,r){"use strict";var t=this&&this.__spreadArray||function(e,r,t){if(t||2===arguments.length)for(var i,n=0,o=r.length;n<o;n++)!i&&n in r||(i||(i=Array.prototype.slice.call(r,0,n)),i[n]=r[n]);return e.concat(i||Array.prototype.slice.call(r))};function i(e){return e}function n(e){return function(){return e}}function o(e,r,t,i,n,o,a,s,u){switch(arguments.length){case 1:return e;case 2:return function(){return r(e.apply(this,arguments))};case 3:return function(){return t(r(e.apply(this,arguments)))};case 4:return function(){return i(t(r(e.apply(this,arguments))))};case 5:return function(){return n(i(t(r(e.apply(this,arguments)))))};case 6:return function(){return o(n(i(t(r(e.apply(this,arguments))))))};case 7:return function(){return a(o(n(i(t(r(e.apply(this,arguments)))))))};case 8:return function(){return s(a(o(n(i(t(r(e.apply(this,arguments))))))))};case 9:return function(){return u(s(a(o(n(i(t(r(e.apply(this,arguments)))))))))}}}function a(e){throw new Error("Called `absurd` function which should be uncallable")}Object.defineProperty(r,"__esModule",{value:!0}),r.dual=r.getEndomorphismMonoid=r.not=r.SK=r.hole=r.pipe=r.untupled=r.tupled=r.absurd=r.decrement=r.increment=r.tuple=r.flow=r.flip=r.constVoid=r.constUndefined=r.constNull=r.constFalse=r.constTrue=r.constant=r.unsafeCoerce=r.identity=r.apply=r.getRing=r.getSemiring=r.getMonoid=r.getSemigroup=r.getBooleanAlgebra=void 0,r.getBooleanAlgebra=function(e){return function(){return{meet:function(r,t){return function(i){return e.meet(r(i),t(i))}},join:function(r,t){return function(i){return e.join(r(i),t(i))}},zero:function(){return e.zero},one:function(){return e.one},implies:function(r,t){return function(i){return e.implies(r(i),t(i))}},not:function(r){return function(t){return e.not(r(t))}}}}},r.getSemigroup=function(e){return function(){return{concat:function(r,t){return function(i){return e.concat(r(i),t(i))}}}}},r.getMonoid=function(e){var t=(0,r.getSemigroup)(e);return function(){return{concat:t().concat,empty:function(){return e.empty}}}},r.getSemiring=function(e){return{add:function(r,t){return function(i){return e.add(r(i),t(i))}},zero:function(){return e.zero},mul:function(r,t){return function(i){return e.mul(r(i),t(i))}},one:function(){return e.one}}},r.getRing=function(e){var t=(0,r.getSemiring)(e);return{add:t.add,mul:t.mul,one:t.one,zero:t.zero,sub:function(r,t){return function(i){return e.sub(r(i),t(i))}}}},r.apply=function(e){return function(r){return r(e)}},r.identity=i,r.unsafeCoerce=i,r.constant=n,r.constTrue=n(!0),r.constFalse=n(!1),r.constNull=n(null),r.constUndefined=n(void 0),r.constVoid=r.constUndefined,r.flip=function(e){return function(){for(var r=[],t=0;t<arguments.length;t++)r[t]=arguments[t];return r.length>1?e(r[1],r[0]):function(t){return e(t)(r[0])}}},r.flow=o,r.tuple=function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];return e},r.increment=function(e){return e+1},r.decrement=function(e){return e-1},r.absurd=a,r.tupled=function(e){return function(r){return e.apply(void 0,r)}},r.untupled=function(e){return function(){for(var r=[],t=0;t<arguments.length;t++)r[t]=arguments[t];return e(r)}},r.pipe=function(e,r,t,i,n,o,a,s,u){switch(arguments.length){case 1:return e;case 2:return r(e);case 3:return t(r(e));case 4:return i(t(r(e)));case 5:return n(i(t(r(e))));case 6:return o(n(i(t(r(e)))));case 7:return a(o(n(i(t(r(e))))));case 8:return s(a(o(n(i(t(r(e)))))));case 9:return u(s(a(o(n(i(t(r(e))))))));default:for(var c=arguments[0],d=1;d<arguments.length;d++)c=arguments[d](c);return c}},r.hole=a,r.SK=function(e,r){return r},r.not=function(e){return function(r){return!e(r)}},r.getEndomorphismMonoid=function(){return{concat:function(e,r){return o(e,r)},empty:i}},r.dual=function(e,r){var i="number"==typeof e?function(r){return r.length>=e}:e;return function(){var e=Array.from(arguments);return i(arguments)?r.apply(this,e):function(i){return r.apply(void 0,t([i],e,!1))}}}},6377:function(e,r,t){"use strict";var i=this&&this.__spreadArray||function(e,r,t){if(t||2===arguments.length)for(var i,n=0,o=r.length;n<o;n++)!i&&n in r||(i||(i=Array.prototype.slice.call(r,0,n)),i[n]=r[n]);return e.concat(i||Array.prototype.slice.call(r))};Object.defineProperty(r,"__esModule",{value:!0}),r.flatMapReader=r.flatMapTask=r.flatMapIO=r.flatMapEither=r.flatMapOption=r.flatMapNullable=r.liftOption=r.liftNullable=r.fromReadonlyNonEmptyArray=r.has=r.emptyRecord=r.emptyReadonlyArray=r.tail=r.head=r.isNonEmpty=r.singleton=r.right=r.left=r.isRight=r.isLeft=r.some=r.none=r.isSome=r.isNone=void 0;var n=t(1868);r.isNone=function(e){return"None"===e._tag},r.isSome=function(e){return"Some"===e._tag},r.none={_tag:"None"},r.some=function(e){return{_tag:"Some",value:e}},r.isLeft=function(e){return"Left"===e._tag},r.isRight=function(e){return"Right"===e._tag},r.left=function(e){return{_tag:"Left",left:e}},r.right=function(e){return{_tag:"Right",right:e}},r.singleton=function(e){return[e]},r.isNonEmpty=function(e){return e.length>0},r.head=function(e){return e[0]},r.tail=function(e){return e.slice(1)},r.emptyReadonlyArray=[],r.emptyRecord={},r.has=Object.prototype.hasOwnProperty,r.fromReadonlyNonEmptyArray=function(e){return i([e[0]],e.slice(1),!0)},r.liftNullable=function(e){return function(t,i){return function(){for(var n=[],o=0;o<arguments.length;o++)n[o]=arguments[o];var a=t.apply(void 0,n);return e.fromEither(null==a?(0,r.left)(i.apply(void 0,n)):(0,r.right)(a))}}},r.liftOption=function(e){return function(t,i){return function(){for(var n=[],o=0;o<arguments.length;o++)n[o]=arguments[o];var a=t.apply(void 0,n);return e.fromEither((0,r.isNone)(a)?(0,r.left)(i.apply(void 0,n)):(0,r.right)(a.value))}}},r.flatMapNullable=function(e,t){return(0,n.dual)(3,(function(i,n,o){return t.flatMap(i,(0,r.liftNullable)(e)(n,o))}))},r.flatMapOption=function(e,t){return(0,n.dual)(3,(function(i,n,o){return t.flatMap(i,(0,r.liftOption)(e)(n,o))}))},r.flatMapEither=function(e,r){return(0,n.dual)(2,(function(t,i){return r.flatMap(t,(function(r){return e.fromEither(i(r))}))}))},r.flatMapIO=function(e,r){return(0,n.dual)(2,(function(t,i){return r.flatMap(t,(function(r){return e.fromIO(i(r))}))}))},r.flatMapTask=function(e,r){return(0,n.dual)(2,(function(t,i){return r.flatMap(t,(function(r){return e.fromTask(i(r))}))}))},r.flatMapReader=function(e,r){return(0,n.dual)(2,(function(t,i){return r.flatMap(t,(function(r){return e.fromReader(i(r))}))}))}},2178:(e,r,t)=>{"use strict";var i=t(9023),n=t(7250);e.exports=function(e){if("number"==typeof e)return e;var r=n(e);if(void 0===r){var t=new Error(i.format("humanize-ms(%j) result undefined",e));console.warn(t.stack)}return r}},424:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.reporter=r.formatValidationErrors=r.formatValidationError=r.TYPE_MAX_LEN=void 0;var i=t(6863),n=t(3898),o=t(8782),a=t(7531),s=t(6158),u=t(5915),c=t(721),d=t(2497),l=function(e){return e.type instanceof c.UnionType},I=function(e){return void 0===e?"undefined":JSON.stringify(e)},p=function(e){return e.map((function(e){return e.key})).filter(Boolean).join(".")},f=function(e){return i.last(e.context)},m=function(e){return e.context};r.TYPE_MAX_LEN=160;var h=function(e,t){void 0===t&&(t={});var i=t.truncateLongTypes;return(void 0===i||i)&&e.length>r.TYPE_MAX_LEN?e.slice(0,r.TYPE_MAX_LEN-3)+"...":e},g=function(e){return u.pipe(e,i.findIndex(l),a.chain((function(r){return i.lookup(r+1,e)})))},v=function(e,r,t){return u.pipe(r,f,a.map((function(i){return function(e,r,t,i){return["Expecting "+h(e,i),""===r?"":"at "+r,"but instead got: "+I(t.value),t.message?"("+t.message+")":""].filter(Boolean).join(" ")}(i.type.name,e,r,t)})))},y=o.groupBy((function(e){return u.pipe(e.context,d.takeUntil(l),p)}));r.formatValidationError=function(e,r){return v(p(e.context),e,r)},r.formatValidationErrors=function(e,r){return u.pipe(e,y,s.mapWithIndex((function(e,t){return function(e,r,t){return o.tail(r).length>0?function(e,r,t){var n=u.pipe(r,i.map(m),i.map(g),i.compact),o=u.pipe(n,i.head,a.map((function(e){return e.actual})),a.getOrElse((function(){}))),s=n.map((function(e){return e.type.name}));return s.length>0?a.some(function(e,r,t,i){return["Expecting one of:\n",e.map((function(e){return" "+h(e,i)})).join("\n"),""===r?"\n":"\nat "+r+" ","but instead got: "+I(t)].filter(Boolean).join("")}(s,e,o,t)):a.none}(e,r,t):v(e,o.head(r),t)}(e,t,r)})),s.compact,s.toArray,i.map((function(e){return e[0],e[1]})))},r.reporter=function(e,t){return u.pipe(e,n.mapLeft((function(e){return r.formatValidationErrors(e,t)})),n.fold((function(e){return e}),(function(){return[]})))};var w={report:r.reporter};r.default=w},2497:(e,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.takeUntil=void 0,r.takeUntil=function(e){return function(r){for(var t=[],i=0;i<r.length;i++)if(t[i]=r[i],e(r[i]))return t;return t}}},721:(e,r,t)=>{"use strict";t.r(r),t.d(r,{AnyArrayType:()=>X,AnyDictionaryType:()=>re,AnyType:()=>Fe,Array:()=>ee,ArrayType:()=>Ie,BigIntType:()=>G,BooleanType:()=>H,Dictionary:()=>De,DictionaryType:()=>ve,ExactType:()=>xe,Function:()=>Qe,FunctionType:()=>$e,Int:()=>ce,Integer:()=>Me,InterfaceType:()=>fe,IntersectionType:()=>_e,KeyofType:()=>oe,LiteralType:()=>ie,NeverType:()=>Ne,NullType:()=>F,NumberType:()=>K,ObjectType:()=>We,PartialType:()=>he,ReadonlyArrayType:()=>qe,ReadonlyType:()=>ke,RecursiveType:()=>de,RefinementType:()=>se,StrictType:()=>Ge,StringType:()=>D,TaggedUnionType:()=>Pe,TupleType:()=>Te,Type:()=>l,UndefinedType:()=>L,UnionType:()=>we,UnknownArray:()=>ee,UnknownRecord:()=>te,UnknownType:()=>Z,VoidType:()=>P,alias:()=>He,any:()=>ze,appendContext:()=>m,array:()=>pe,bigint:()=>J,boolean:()=>Y,brand:()=>ue,clean:()=>Je,dictionary:()=>Be,emptyTags:()=>q,exact:()=>Re,failure:()=>c,failures:()=>u,getContextEntry:()=>f,getDefaultContext:()=>Ue,getDomainKeys:()=>_,getFunctionName:()=>p,getIndex:()=>C,getTags:()=>N,getValidationError:()=>Ze,identity:()=>I,interface:()=>me,intersection:()=>be,keyof:()=>ae,literal:()=>ne,mergeAll:()=>O,never:()=>Ce,null:()=>z,nullType:()=>z,number:()=>B,object:()=>Ke,partial:()=>ge,readonly:()=>Ae,readonlyArray:()=>Ve,record:()=>ye,recursion:()=>le,refinement:()=>Le,strict:()=>Ee,string:()=>W,success:()=>d,taggedUnion:()=>je,tuple:()=>Oe,type:()=>me,undefined:()=>M,union:()=>Se,unknown:()=>U,void:()=>j,voidType:()=>j});var i,n=t(3898),o=(i=function(e,r){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,r){e.__proto__=r}||function(e,r){for(var t in r)Object.prototype.hasOwnProperty.call(r,t)&&(e[t]=r[t])},i(e,r)},function(e,r){if("function"!=typeof r&&null!==r)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");function t(){this.constructor=e}i(e,r),e.prototype=null===r?Object.create(r):(t.prototype=r.prototype,new t)}),a=function(){return a=Object.assign||function(e){for(var r,t=1,i=arguments.length;t<i;t++)for(var n in r=arguments[t])Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n]);return e},a.apply(this,arguments)},s=function(e,r,t){if(t||2===arguments.length)for(var i,n=0,o=r.length;n<o;n++)!i&&n in r||(i||(i=Array.prototype.slice.call(r,0,n)),i[n]=r[n]);return e.concat(i||Array.prototype.slice.call(r))},u=n.left,c=function(e,r,t){return u([{value:e,context:r,message:t}])},d=n.right,l=function(){function e(e,r,t,i){this.name=e,this.is=r,this.validate=t,this.encode=i,this.decode=this.decode.bind(this)}return e.prototype.pipe=function(r,t){var i=this;return void 0===t&&(t="pipe(".concat(this.name,", ").concat(r.name,")")),new e(t,r.is,(function(e,t){var o=i.validate(e,t);return(0,n.isLeft)(o)?o:r.validate(o.right,t)}),this.encode===I&&r.encode===I?I:function(e){return i.encode(r.encode(e))})},e.prototype.asDecoder=function(){return this},e.prototype.asEncoder=function(){return this},e.prototype.decode=function(e){return this.validate(e,[{key:"",type:this,actual:e}])},e}(),I=function(e){return e};function p(e){return e.displayName||e.name||"<function".concat(e.length,">")}function f(e,r){return{key:e,type:r}}function m(e,r,t,i){for(var n=e.length,o=Array(n+1),a=0;a<n;a++)o[a]=e[a];return o[n]={key:r,type:t,actual:i},o}function h(e,r){for(var t=r.length,i=0;i<t;i++)e.push(r[i])}var g=Object.prototype.hasOwnProperty;function v(e){return Object.keys(e).map((function(r){return"".concat(r,": ").concat(e[r].name)})).join(", ")}function y(e){for(var r=0;r<e.length;r++)if(e[r].encode!==I)return!1;return!0}function w(e){return"{ ".concat(v(e)," }")}function S(e){return"Partial<".concat(e,">")}function _(e){var r;if(x(e)){var t=e.value;if(W.is(t))return(r={})[t]=null,r}else{if("KeyofType"===e._tag)return e.keys;if($(e)){var i=e.types.map((function(e){return _(e)}));return i.some(M.is)?void 0:Object.assign.apply(Object,s([{}],i,!1))}}}function b(e,r){for(var t=Object.keys(e),i=t.length,n=!1,o={},a=0;a<i;a++){var s=t[a];r.is(s)?o[s]=e[s]:n=!0}return n?o:e}function T(e){return"("+e.map((function(e){return e.name})).join(" | ")+")"}function O(e,r){for(var t=!0,i=!0,n=!te.is(e),o=0,a=r;o<a.length;o++)(d=a[o])!==e&&(t=!1),te.is(d)&&(i=!1);if(t)return e;if(i)return r[r.length-1];for(var s={},u=0,c=r;u<c.length;u++){var d=c[u];for(var l in d)g.call(s,l)&&!n&&d[l]===e[l]||(s[l]=d[l])}return s}function k(e){switch(e._tag){case"RefinementType":case"ReadonlyType":return k(e.type);case"InterfaceType":case"StrictType":case"PartialType":return e.props;case"IntersectionType":return e.types.reduce((function(e,r){return Object.assign(e,k(r))}),{})}}function A(e,r){for(var t=Object.getOwnPropertyNames(e),i=!1,n={},o=0;o<t.length;o++){var a=t[o];g.call(r,a)?n[a]=e[a]:i=!0}return i?n:e}var q={};function V(e,r){for(var t=[],i=0,n=e;i<n.length;i++){var o=n[i];-1!==r.indexOf(o)&&t.push(o)}return t}function E(e){return"AnyType"===e._tag}function x(e){return"LiteralType"===e._tag}function R(e){return"InterfaceType"===e._tag}function $(e){return"UnionType"===e._tag}var Q=[];function N(e){if(-1!==Q.indexOf(e))return q;if(R(e)||function(e){return"StrictType"===e._tag}(e)){var r=q;for(var t in e.props){var i=e.props[t];x(i)&&(r===q&&(r={}),r[t]=[i.value])}return r}if(function(e){return"ExactType"===e._tag}(e)||function(e){return"RefinementType"===e._tag}(e))return N(e.type);if(function(e){return"IntersectionType"===e._tag}(e))return e.types.reduce((function(e,r){return function(e,r){if(e===q)return r;if(r===q)return e;var t=Object.assign({},e);for(var i in r)if(g.call(e,i)){var n=V(e[i],r[i]);if(!(n.length>0)){t=q;break}t[i]=n}else t[i]=r[i];return t}(e,N(r))}),q);if($(e))return e.types.slice(1).reduce((function(e,r){return function(e,r){if(e===q||r===q)return q;var t=q;for(var i in e)g.call(r,i)&&0===V(e[i],r[i]).length&&(t===q&&(t={}),t[i]=e[i].concat(r[i]));return t}(e,N(r))}),N(e.types[0]));if(function(e){return"RecursiveType"===e._tag}(e)){Q.push(e);var n=N(e.type);return Q.pop(),n}return q}function C(e){for(var r=N(e[0]),t=Object.keys(r),i=e.length,n=function(t){for(var n=r[t].slice(),o=[r[t]],a=1;a<i;a++){var s=N(e[a])[t];if(void 0===s)return"continue-keys";if(s.some((function(e){return-1!==n.indexOf(e)})))return"continue-keys";n.push.apply(n,s),o.push(s)}return{value:[t,o]}},o=0,a=t;o<a.length;o++){var s=n(a[o]);if("object"==typeof s)return s.value}}var F=function(e){function r(){var r=e.call(this,"null",(function(e){return null===e}),(function(e,t){return r.is(e)?d(e):c(e,t)}),I)||this;return r._tag="NullType",r}return o(r,e),r}(l),z=new F,L=function(e){function r(){var r=e.call(this,"undefined",(function(e){return void 0===e}),(function(e,t){return r.is(e)?d(e):c(e,t)}),I)||this;return r._tag="UndefinedType",r}return o(r,e),r}(l),M=new L,P=function(e){function r(){var r=e.call(this,"void",M.is,M.validate,I)||this;return r._tag="VoidType",r}return o(r,e),r}(l),j=new P,Z=function(e){function r(){var r=e.call(this,"unknown",(function(e){return!0}),d,I)||this;return r._tag="UnknownType",r}return o(r,e),r}(l),U=new Z,D=function(e){function r(){var r=e.call(this,"string",(function(e){return"string"==typeof e}),(function(e,t){return r.is(e)?d(e):c(e,t)}),I)||this;return r._tag="StringType",r}return o(r,e),r}(l),W=new D,K=function(e){function r(){var r=e.call(this,"number",(function(e){return"number"==typeof e}),(function(e,t){return r.is(e)?d(e):c(e,t)}),I)||this;return r._tag="NumberType",r}return o(r,e),r}(l),B=new K,G=function(e){function r(){var r=e.call(this,"bigint",(function(e){return"bigint"==typeof e}),(function(e,t){return r.is(e)?d(e):c(e,t)}),I)||this;return r._tag="BigIntType",r}return o(r,e),r}(l),J=new G,H=function(e){function r(){var r=e.call(this,"boolean",(function(e){return"boolean"==typeof e}),(function(e,t){return r.is(e)?d(e):c(e,t)}),I)||this;return r._tag="BooleanType",r}return o(r,e),r}(l),Y=new H,X=function(e){function r(){var r=e.call(this,"UnknownArray",Array.isArray,(function(e,t){return r.is(e)?d(e):c(e,t)}),I)||this;return r._tag="AnyArrayType",r}return o(r,e),r}(l),ee=new X,re=function(e){function r(){var r=e.call(this,"UnknownRecord",(function(e){return null!==e&&"object"==typeof e&&!Array.isArray(e)}),(function(e,t){return r.is(e)?d(e):c(e,t)}),I)||this;return r._tag="AnyDictionaryType",r}return o(r,e),r}(l),te=new re,ie=function(e){function r(r,t,i,n,o){var a=e.call(this,r,t,i,n)||this;return a.value=o,a._tag="LiteralType",a}return o(r,e),r}(l);function ne(e,r){void 0===r&&(r=JSON.stringify(e));var t=function(r){return r===e};return new ie(r,t,(function(r,i){return t(r)?d(e):c(r,i)}),I,e)}var oe=function(e){function r(r,t,i,n,o){var a=e.call(this,r,t,i,n)||this;return a.keys=o,a._tag="KeyofType",a}return o(r,e),r}(l);function ae(e,r){void 0===r&&(r=Object.keys(e).map((function(e){return JSON.stringify(e)})).join(" | "));var t=function(r){return W.is(r)&&g.call(e,r)};return new oe(r,t,(function(e,r){return t(e)?d(e):c(e,r)}),I,e)}var se=function(e){function r(r,t,i,n,o,a){var s=e.call(this,r,t,i,n)||this;return s.type=o,s.predicate=a,s._tag="RefinementType",s}return o(r,e),r}(l);function ue(e,r,t){return Le(e,r,t)}var ce=ue(B,(function(e){return Number.isInteger(e)}),"Int"),de=function(e){function r(r,t,i,n,o){var a=e.call(this,r,t,i,n)||this;return a.runDefinition=o,a._tag="RecursiveType",a}return o(r,e),r}(l);function le(e,r){var t,i=function(){return t||((t=r(n)).name=e),t},n=new de(e,(function(e){return i().is(e)}),(function(e,r){return i().validate(e,r)}),(function(e){return i().encode(e)}),i);return n}Object.defineProperty(de.prototype,"type",{get:function(){return this.runDefinition()},enumerable:!0,configurable:!0});var Ie=function(e){function r(r,t,i,n,o){var a=e.call(this,r,t,i,n)||this;return a.type=o,a._tag="ArrayType",a}return o(r,e),r}(l);function pe(e,r){return void 0===r&&(r="Array<".concat(e.name,">")),new Ie(r,(function(r){return ee.is(r)&&r.every(e.is)}),(function(r,t){var i=ee.validate(r,t);if((0,n.isLeft)(i))return i;for(var o=i.right,a=o.length,s=o,c=[],l=0;l<a;l++){var I=o[l],p=e.validate(I,m(t,String(l),e,I));if((0,n.isLeft)(p))h(c,p.left);else{var f=p.right;f!==I&&(s===o&&(s=o.slice()),s[l]=f)}}return c.length>0?u(c):d(s)}),e.encode===I?I:function(r){return r.map(e.encode)},e)}var fe=function(e){function r(r,t,i,n,o){var a=e.call(this,r,t,i,n)||this;return a.props=o,a._tag="InterfaceType",a}return o(r,e),r}(l);function me(e,r){void 0===r&&(r=w(e));var t=Object.keys(e),i=t.map((function(r){return e[r]})),o=t.length;return new fe(r,(function(e){if(te.is(e)){for(var r=0;r<o;r++){var n=t[r],a=e[n];if(void 0===a&&!g.call(e,n)||!i[r].is(a))return!1}return!0}return!1}),(function(e,r){var s=te.validate(e,r);if((0,n.isLeft)(s))return s;for(var c=s.right,l=c,I=[],p=0;p<o;p++){var f=t[p],v=l[f],y=i[p],w=y.validate(v,m(r,f,y,v));if((0,n.isLeft)(w))h(I,w.left);else{var S=w.right;(S!==v||void 0===S&&!g.call(l,f))&&(l===c&&(l=a({},c)),l[f]=S)}}return I.length>0?u(I):d(l)}),y(i)?I:function(e){for(var r=a({},e),n=0;n<o;n++){var s=t[n],u=i[n].encode;u!==I&&(r[s]=u(e[s]))}return r},e)}var he=function(e){function r(r,t,i,n,o){var a=e.call(this,r,t,i,n)||this;return a.props=o,a._tag="PartialType",a}return o(r,e),r}(l);function ge(e,r){void 0===r&&(r=S(w(e)));var t=Object.keys(e),i=t.map((function(r){return e[r]})),o=t.length;return new he(r,(function(r){if(te.is(r)){for(var i=0;i<o;i++){var n=t[i],a=r[n];if(void 0!==a&&!e[n].is(a))return!1}return!0}return!1}),(function(r,i){var s=te.validate(r,i);if((0,n.isLeft)(s))return s;for(var c=s.right,l=c,I=[],p=0;p<o;p++){var f=t[p],g=l[f],v=e[f],y=v.validate(g,m(i,f,v,g));if((0,n.isLeft)(y))void 0!==g&&h(I,y.left);else{var w=y.right;w!==g&&(l===c&&(l=a({},c)),l[f]=w)}}return I.length>0?u(I):d(l)}),y(i)?I:function(e){for(var r=a({},e),n=0;n<o;n++){var s=t[n],u=e[s];void 0!==u&&(r[s]=i[n].encode(u))}return r},e)}var ve=function(e){function r(r,t,i,n,o,a){var s=e.call(this,r,t,i,n)||this;return s.domain=o,s.codomain=a,s._tag="DictionaryType",s}return o(r,e),r}(l);function ye(e,r,t){var i=_(e);return i?function(e,r,t,i){void 0===i&&(i="{ [K in ".concat(r.name,"]: ").concat(t.name," }"));for(var n=e.length,o={},a=0;a<n;a++)o[e[a]]=t;var s=Ee(o,i);return new ve(i,(function(e){return s.is(e)}),s.validate,s.encode,r,t)}(Object.keys(i),e,r,t):function(e,r,t){return void 0===t&&(t="{ [K in ".concat(e.name,"]: ").concat(r.name," }")),new ve(t,(function(t){return te.is(t)?Object.keys(t).every((function(i){return!e.is(i)||r.is(t[i])})):E(r)&&Array.isArray(t)}),(function(t,i){if(te.is(t)){for(var o={},a=[],s=Object.keys(t),l=s.length,I=!1,p=0;p<l;p++){var f=s[p],g=t[f],v=e.validate(f,m(i,f,e,f));if((0,n.isLeft)(v))I=!0;else{var y=v.right;I=I||y!==f,f=y;var w=r.validate(g,m(i,f,r,g));if((0,n.isLeft)(w))h(a,w.left);else{var S=w.right;I=I||S!==g,o[f]=S}}}return a.length>0?u(a):d(I?o:t)}return E(r)&&Array.isArray(t)?d(t):c(t,i)}),e.encode===I&&r.encode===I?function(r){return b(r,e)}:function(t){for(var i={},n=Object.keys(b(t,e)),o=n.length,a=0;a<o;a++){var s=n[a];i[String(e.encode(s))]=r.encode(t[s])}return i},e,r)}(e,r,t)}var we=function(e){function r(r,t,i,n,o){var a=e.call(this,r,t,i,n)||this;return a.types=o,a._tag="UnionType",a}return o(r,e),r}(l);function Se(e,r){void 0===r&&(r=T(e));var t=C(e);if(void 0!==t&&e.length>0){var i=t[0],o=t[1],a=o.length,s=function(e){for(var r=0;r<a;r++)if(-1!==o[r].indexOf(e))return r};return new Pe(r,(function(r){if(te.is(r)){var t=s(r[i]);return void 0!==t&&e[t].is(r)}return!1}),(function(r,t){var o=te.validate(r,t);if((0,n.isLeft)(o))return o;var a=o.right,u=s(a[i]);if(void 0===u)return c(r,t);var d=e[u];return d.validate(a,m(t,String(u),d,a))}),y(e)?I:function(t){var n=s(t[i]);if(void 0===n)throw new Error("no codec found to encode value in union codec ".concat(r));return e[n].encode(t)},e,i)}return new we(r,(function(r){return e.some((function(e){return e.is(r)}))}),(function(r,t){for(var i=[],o=0;o<e.length;o++){var a=e[o],s=a.validate(r,m(t,String(o),a,r));if(!(0,n.isLeft)(s))return d(s.right);h(i,s.left)}return u(i)}),y(e)?I:function(t){for(var i=0,n=e;i<n.length;i++){var o=n[i];if(o.is(t))return o.encode(t)}throw new Error("no codec found to encode value in union type ".concat(r))},e)}var _e=function(e){function r(r,t,i,n,o){var a=e.call(this,r,t,i,n)||this;return a.types=o,a._tag="IntersectionType",a}return o(r,e),r}(l);function be(e,r){void 0===r&&(r="(".concat(e.map((function(e){return e.name})).join(" & "),")"));var t=e.length;return new _e(r,(function(r){return e.every((function(e){return e.is(r)}))}),0===e.length?d:function(r,i){for(var o=[],a=[],s=0;s<t;s++){var c=e[s],l=c.validate(r,m(i,String(s),c,r));(0,n.isLeft)(l)?h(a,l.left):o.push(l.right)}return a.length>0?u(a):d(O(r,o))},0===e.length?I:function(r){return O(r,e.map((function(e){return e.encode(r)})))},e)}var Te=function(e){function r(r,t,i,n,o){var a=e.call(this,r,t,i,n)||this;return a.types=o,a._tag="TupleType",a}return o(r,e),r}(l);function Oe(e,r){void 0===r&&(r="[".concat(e.map((function(e){return e.name})).join(", "),"]"));var t=e.length;return new Te(r,(function(r){return ee.is(r)&&r.length===t&&e.every((function(e,t){return e.is(r[t])}))}),(function(r,i){var o=ee.validate(r,i);if((0,n.isLeft)(o))return o;for(var a=o.right,s=a.length>t?a.slice(0,t):a,c=[],l=0;l<t;l++){var I=a[l],p=e[l],f=p.validate(I,m(i,String(l),p,I));if((0,n.isLeft)(f))h(c,f.left);else{var g=f.right;g!==I&&(s===a&&(s=a.slice()),s[l]=g)}}return c.length>0?u(c):d(s)}),y(e)?I:function(r){return e.map((function(e,t){return e.encode(r[t])}))},e)}var ke=function(e){function r(r,t,i,n,o){var a=e.call(this,r,t,i,n)||this;return a.type=o,a._tag="ReadonlyType",a}return o(r,e),r}(l);function Ae(e,r){return void 0===r&&(r="Readonly<".concat(e.name,">")),new ke(r,e.is,e.validate,e.encode,e)}var qe=function(e){function r(r,t,i,n,o){var a=e.call(this,r,t,i,n)||this;return a.type=o,a._tag="ReadonlyArrayType",a}return o(r,e),r}(l);function Ve(e,r){void 0===r&&(r="ReadonlyArray<".concat(e.name,">"));var t=pe(e);return new qe(r,t.is,t.validate,t.encode,e)}var Ee=function(e,r){return Re(me(e),r)},xe=function(e){function r(r,t,i,n,o){var a=e.call(this,r,t,i,n)||this;return a.type=o,a._tag="ExactType",a}return o(r,e),r}(l);function Re(e,r){void 0===r&&(r=function(e){return R(e)?"{| ".concat(v(e.props)," |}"):function(e){return"PartialType"===e._tag}(e)?S("{| ".concat(v(e.props)," |}")):"Exact<".concat(e.name,">")}(e));var t=k(e);return new xe(r,e.is,(function(r,i){var o=te.validate(r,i);if((0,n.isLeft)(o))return o;var a=e.validate(r,i);return(0,n.isLeft)(a)?a:(0,n.right)(A(a.right,t))}),(function(r){return e.encode(A(r,t))}),e)}var $e=function(e){function r(){var r=e.call(this,"Function",(function(e){return"function"==typeof e}),(function(e,t){return r.is(e)?d(e):c(e,t)}),I)||this;return r._tag="FunctionType",r}return o(r,e),r}(l),Qe=new $e,Ne=function(e){function r(){var r=e.call(this,"never",(function(e){return!1}),(function(e,r){return c(e,r)}),(function(){throw new Error("cannot encode never")}))||this;return r._tag="NeverType",r}return o(r,e),r}(l),Ce=new Ne,Fe=function(e){function r(){var r=e.call(this,"any",(function(e){return!0}),d,I)||this;return r._tag="AnyType",r}return o(r,e),r}(l),ze=new Fe;function Le(e,r,t){return void 0===t&&(t="(".concat(e.name," | ").concat(p(r),")")),new se(t,(function(t){return e.is(t)&&r(t)}),(function(t,i){var o=e.validate(t,i);if((0,n.isLeft)(o))return o;var a=o.right;return r(a)?d(a):c(a,i)}),e.encode,e,r)}var Me=Le(B,Number.isInteger,"Integer"),Pe=function(e){function r(r,t,i,n,o,a){var s=e.call(this,r,t,i,n,o)||this;return s.tag=a,s}return o(r,e),r}(we),je=function(e,r,t){void 0===t&&(t=T(r));var i=Se(r,t);return i instanceof Pe?i:(console.warn("[io-ts] Cannot build a tagged union for ".concat(t,", returning a de-optimized union")),new Pe(t,i.is,i.validate,i.encode,r,e))},Ze=function(e,r){return{value:e,context:r}},Ue=function(e){return[{key:"",type:e}]},De=te,We=function(e){function r(){var r=e.call(this,"object",(function(e){return null!==e&&"object"==typeof e}),(function(e,t){return r.is(e)?d(e):c(e,t)}),I)||this;return r._tag="ObjectType",r}return o(r,e),r}(l),Ke=new We,Be=ye,Ge=function(e){function r(r,t,i,n,o){var a=e.call(this,r,t,i,n)||this;return a.props=o,a._tag="StrictType",a}return o(r,e),r}(l);function Je(e){return e}function He(e){return function(){return e}}},7250:e=>{var r=1e3,t=60*r,i=60*t,n=24*i;function o(e,r,t,i){var n=r>=1.5*t;return Math.round(e/t)+" "+i+(n?"s":"")}e.exports=function(e,a){a=a||{};var s,u,c=typeof e;if("string"===c&&e.length>0)return function(e){if(!((e=String(e)).length>100)){var o=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(o){var a=parseFloat(o[1]);switch((o[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*a;case"weeks":case"week":case"w":return 6048e5*a;case"days":case"day":case"d":return a*n;case"hours":case"hour":case"hrs":case"hr":case"h":return a*i;case"minutes":case"minute":case"mins":case"min":case"m":return a*t;case"seconds":case"second":case"secs":case"sec":case"s":return a*r;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return a;default:return}}}}(e);if("number"===c&&isFinite(e))return a.long?(s=e,(u=Math.abs(s))>=n?o(s,u,n,"day"):u>=i?o(s,u,i,"hour"):u>=t?o(s,u,t,"minute"):u>=r?o(s,u,r,"second"):s+" ms"):function(e){var o=Math.abs(e);return o>=n?Math.round(e/n)+"d":o>=i?Math.round(e/i)+"h":o>=t?Math.round(e/t)+"m":o>=r?Math.round(e/r)+"s":e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},7734:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.waitForAllLogs=r.sendLogCache=r.replaceConsole=r.numInProgressLogs=r.getLogEventCache=void 0;const i=t(5608).__importDefault(t(5692)),n=t(9023),o=t(687),a=t(6111),s=t(2551);let u=!1,c=0,d=[];const l=[];function I(e,r){return(...t)=>{const i=(0,n.format)(t[0]??""),u=t.slice(1).map((e=>(0,n.format)(e))),l=(0,s.__getRuntime)().lambdaContext.awsRequestId;if(global.__forge_tunnel__){I={invocationId:l,logLevel:e,logArguments:[i,...u]},process.stdout.write(JSON.stringify(I)+"\n")}else!function(e){e.ts<=c&&(e.ts=c+1),c=e.ts,d.push(e)}({...r,type:o.LogType.LOG,id:l,P:3,ts:Date.now(),lvl:e,msg:i,"*":u,region:(0,s.__getRuntime)().container.region||a.REGION_FALLBACK});var I}}function p(e,r){switch(e){case"debug":return I(o.LogLevel.DEBUG,r);case"warn":return I(o.LogLevel.WARN,r);case"error":return I(o.LogLevel.ERROR,r);default:return I(o.LogLevel.INFO,r)}}r.getLogEventCache=()=>d,r.numInProgressLogs=()=>d.length+l.length;const f=new Map(o.CONSOLE_METHODS.map((e=>[e,global.console[e]])));function m(){l.splice(0,l.length)}r.replaceConsole=function(e){d=[],c=0,u=!1,m();for(const r of o.CONSOLE_METHODS)global.console[r]=p(r,e);console.__forge_restore__=()=>{for(const e of o.CONSOLE_METHODS)global.console[e]=f.get(e)}},r.sendLogCache=function(){if(d.length>0&&!u){const e=d;d=[];try{u=!0,l.push(async function(e){const{metrics:r}=(0,s.__getRuntime)(),t=i.default.request({method:"POST",protocol:"https",host:"logs",path:"",headers:{"Content-Type":"application/json"},agent:"FORGE_PRODUCT_REQUEST"});t.write(JSON.stringify(e));const n=await new Promise((e=>{t.on("response",(({statusCode:r})=>e({statusCode:r}))),t.on("error",(t=>{r.counter("sent-logs-error",{code:t.code??"none"}).incr(),process.stderr.write(`Sending logs to proxy ${t.stack??t.toString()}\n`),e({})})),t.end()}));200===n.statusCode?r.counter("sent-logs-success").incr():(process.stderr.write(`Error returned from proxy when sending logs: status code ${n.statusCode}\n`),r.counter("sent-logs-failure",{statusCode:String(n.statusCode)}).incr())}(e))}finally{u=!1}}},r.waitForAllLogs=async function(){await Promise.allSettled(l),m()}},7720:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.replaceHttps=r.overrideOptions=r.FORGE_METRICS_CACHE_HEADER=void 0;const i=t(5608),n=t(8611),o=t(2987),a=t(7016),s=i.__importDefault(t(5615)),u=t(2551),c=t(5692),d=new s.default.HttpsAgent({freeSocketTimeout:55e3});c.globalAgent=d;const l=e=>"function"==typeof e,I=e=>"string"==typeof e,p=e=>I(e)||(e=>"object"==typeof e&&"URL"===e.constructor.name)(e),f=e=>!p(e)&&!l(e);function m(e){return`https://${e.auth?`${e.auth}@`:""}${e.hostname??e.host}${e.port?`:${e.port}`:""}${e.path??"/"}`}r.FORGE_METRICS_CACHE_HEADER="x-cache-hit";const h="forge-proxy-upstream-latency",g="forge-proxy-relative-location",v=new Set([300,301,302,303,307,308]),y=c.request,w=c.get;function S(e){const r={options:{}};if(e.length>0&&p(e[0])){const t=I(e[0])?new a.URL(e[0]):e[0];r.options=(0,a.urlToHttpOptions)(t),e.shift()}return e.length>0&&f(e[0])&&(r.options=Object.assign(r.options,e[0]),e.shift()),e.length>0&&l(e[0])&&(r.callback=e[0],e.shift()),r}const _=["app","user","none"],b=["jira","confluence","stargate","bitbucket"],T={app:"asApp",user:"asUser"},O={jira:"requestJira",confluence:"requestConfluence",bitbucket:"requestBitbucket",stargate:"requestAtlassian"},k={proxy:"true"};function A(e){switch(e.type){case"logs":return"api.log";case"egress":return"api.fetch";case"rms":return"api.requestRmsStore";case"rdbms":return"api.rdbms";case"aigw":return"api.ai-gateway";case"fpp":{const{provider:r,remote:t}=e;return"none"===r?`api.${O[t]}`:`api.${T[r]}.${O[t]}`}case"frc":return"api.remote-compute";case"tpp":return"api.user.external_auth"}}function q(e){return"string"==typeof e?e:Array.isArray(e)?e[0]:void 0}function V(e,r){return q(e.headers[r])}function E(){return(0,u.__getRuntime)().proxy.host}function x(){return(0,u.__getRuntime)().proxy.url}function R(){return(0,u.__getRuntime)().proxy.token}function $(){return(0,u.__getRuntime)().metrics}function Q(e){return e.host??e.hostname}function N(e){try{const{frc:r}=function(e){const[,r]=e.split(".");return JSON.parse(Buffer.from(r,"base64").toString("utf-8"))}(R()),t=r[e]?.baseUrl;return t?new a.URL(t).hostname:"unknown"}catch(e){return"unknown"}}function C(e){return"FORGE_PRODUCT_REQUEST"===e?.agent?.toString()}function F(e){return"EXTERNAL_AUTH_REQUEST"===e?.agent?.toString()}function z(e){return"FORGE_REMOTE_COMPUTE_REQUEST"===e?.agent?.toString()}function L(e,r){return M(e,"rms"===r.type?new a.URL(e.path??"",(0,u.__getRuntime)().rms?.url):new a.URL(function(e){switch(e.type){case"egress":return"/egress";case"logs":return"/logs";case"aigw":return`/aigw/${e.model}`;case"rdbms":return"/rdbms";case"fpp":return`/fpp/provider/${e.provider}/remote/${e.remote}`;case"frc":return`/frc/remote/${e.remote}`;case"tpp":return`/tpp/as/user/provider/${e.provider}/remote/${e.remote}/account/${encodeURIComponent(e.accountId)}`;case"rms":throw new Error("No proxy path for Rockmelon storage")}}(r),x()),function(e,r){const t={...e.headers,"forge-proxy-authorization":`Bearer ${R()}`};switch(function(e,r){for(const r in e)"host"===r.toLowerCase()&&delete e[r]}(t),"rms"===r.type?t.host=(0,u.__getRuntime)().rms?.host:E()&&(t.host=E()),r.type){case"rms":case"logs":case"aigw":break;case"egress":t["forge-proxy-target"]=m(e);break;case"rdbms":case"fpp":t["forge-proxy-target"]=e.path??void 0;break;case"frc":{const r=new a.URL(m(e)).searchParams.get("path");if(!r)throw new Error("Missing path in remote compute request");t["forge-proxy-target"]=r;break}case"tpp":{const r=new a.URL(m(e));t["forge-proxy-target"]=r.searchParams.get("path")??e.path??void 0;break}}return t}(e,r))}function M(e,r,t){const i=e;return delete i.port,{...i,...(0,a.urlToHttpOptions)(r),headers:t}}function P(...e){const{options:t,callback:i}=S(e),s=function(e){if(C(e)){const i=Q(e);if("rms"===i)return{type:"rms"};if("logs"===i)return{type:"logs"};if("rdbms"===i)return{type:"rdbms"};if("aigw"===i){const r=e.path;if(r&&"/"!==r){let e=r;return e.startsWith("/")&&(e=e.slice(1)),{type:"aigw",model:e}}return{type:"egress"}}if(i&&(t=i,b.includes(t))){const t=(r=e.headers,r?.authorization?q(r.authorization):r?.Authorization?q(r.Authorization):void 0);if(t?.startsWith("Forge ")){const[,e]=t.split(" ");if(function(e){return _.includes(e)}(e))return{type:"fpp",provider:e,remote:i}}else if(t)return{type:"fpp",provider:"none",remote:i}}}else if(F(e)){const r=q(e.headers?.authorization);if(r?.startsWith("Forge ")){const[,,t,i]=r.split(" ");return{type:"tpp",provider:t,remote:Q(e)??"",accountId:i}}}else if(z(e)){const r=new a.URL(m(e)).searchParams.get("remoteKey");if(!r)throw new Error("remoteKey is required for remote compute requests");return{type:"frc",remote:r}}var r,t;return{type:"egress"}}(t);(C(t)||F(t)||z(t))&&(t.agent=t?.agent?.passthrough);const u="http:"===new a.URL(x()).protocol?n.request:y,c=o.performance.now();return u(L(t,s),(e=>{$().counter("proxy-connection",{success:"true"}).incr(),$().counter(A(s),{...k,success:"true",status:`${e.statusCode}`}).incr();const n=o.performance.now()-c;$().timing(A(s),k).set(n),function(e,t,i,n){if("logs"===t.type)return;if("tpp"===t.type)return $().counter("external_auth_request_count",{authType:"user",status:`${i.statusCode}`}).incr(),void $().timing("external_auth_request_latency",{authType:"user"}).set(n);const o=(()=>{switch(t.type){case"egress":return{provider:"none",remote:"egress",url:Q(e)||e.path||"unknown"};case"fpp":return{provider:t.provider,remote:t.remote,url:e.path||"unknown"};case"frc":return{provider:"none",remote:"egress",url:N(t.remote)};case"rms":return{provider:"app",remote:"rockmelon-storage",url:e.path||"unknown"};case"rdbms":return{provider:"app",remote:"forge-rdbms-proxy",url:e.path||"unknown"};case"aigw":return{provider:"app",remote:"ai-gateway",url:t.model||e.path||"unknown"}}})();$().counter("forge_api_request_count",{...o,status:`${i.statusCode}`,cacheHit:V(i,r.FORGE_METRICS_CACHE_HEADER)||"unknown"}).incr(),$().timing("forge_api_request_latency",o).set(n)}(t,s,e,n);const a=V(e,h);if(void 0!==a){const e=parseInt(a);$().timing("proxy-success-overhead",k).set(n-e)}if(e.statusCode&&v.has(e.statusCode)){const r=V(e,g);r&&(e.headers.location=`https://${Q(t)}${r}`)}i?.(e)})).on("error",(e=>{$().counter("proxy-connection",{success:"false",code:e.code??"unknown"}).incr(),$().counter(A(s),{...k,success:"false",status:e.code??"unknown"}).incr()}))}function j(...e){const{options:r,callback:t}=S(e),i=P({method:"GET",...r},...t?[t]:[]);return i.end(),i}r.overrideOptions=M,r.replaceHttps=function(){c.request=P,c.get=j,c.__forge_restore__=()=>{c.request=y,c.get=w}}},6111:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.invocationHeaderLogs=r.getRuntimeName=r.REGION_FALLBACK=r.RUNTIME_NAME_FALLBACK=r.AWS_EXECUTION_ENV_PREFIX=void 0;const i=t(687),n=t(2551);function o(){const e=(0,n.__getRuntime)().container.runtime;return e?e.startsWith(r.AWS_EXECUTION_ENV_PREFIX)?e.substring(r.AWS_EXECUTION_ENV_PREFIX.length):e:r.RUNTIME_NAME_FALLBACK}r.AWS_EXECUTION_ENV_PREFIX="AWS_Lambda_",r.RUNTIME_NAME_FALLBACK="node",r.REGION_FALLBACK="us-west-2",r.getRuntimeName=o,r.invocationHeaderLogs=function(e){const{contextAri:r,appContext:t,tracing:a}=e._meta,{appId:s,environmentId:u,appVersion:c,functionKey:d,moduleKey:l,moduleType:I}=t??{};return{id:(0,n.__getRuntime)().lambdaContext.awsRequestId,type:i.LogType.HEADER,appId:s,environmentId:u,appVersion:c,installationContext:r,functionKey:d,moduleType:I,moduleKey:l,b3:`${a.traceId}-${a.spanId}`,runtime:o()}}},2551:(e,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.__getRuntime=void 0,r.__getRuntime=function(){const e=global.__forge_runtime__;if(!e)throw new Error("Forge runtime not found.");return e}},6650:(e,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.makeContainer=void 0,r.makeContainer=function(){return{region:process.env.AWS_REGION||process.env.AWS_DEFAULT_REGION,runtime:process.env.AWS_EXECUTION_ENV,handler:process.env._HANDLER?.split(".")?.[1]}}},664:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.isHostedCodeError=r.isForgePlatformError=r.PROXY_ERR=r.NEEDS_AUTHENTICATION_ERR=r.FUNCTION_FETCH_ERR=r.REQUEST_EGRESS_ALLOWLIST_ERR=r.FUNCTION_ERR=void 0;const i=t(5608),n=i.__importDefault(t(9896)),o=i.__importDefault(t(6928)),a=t(4217),s=t(687),u=t(7734),c=t(7720),d=t(6111),l=t(6650);function I(e){return[r.REQUEST_EGRESS_ALLOWLIST_ERR,r.FUNCTION_FETCH_ERR,r.NEEDS_AUTHENTICATION_ERR,r.PROXY_ERR].includes(e.name)}function p(e){return[r.FUNCTION_ERR,r.REQUEST_EGRESS_ALLOWLIST_ERR,r.FUNCTION_FETCH_ERR,r.NEEDS_AUTHENTICATION_ERR].includes("string"==typeof e?e:e.name)}r.FUNCTION_ERR="FUNCTION_ERR",r.REQUEST_EGRESS_ALLOWLIST_ERR="REQUEST_EGRESS_ALLOWLIST_ERR",r.FUNCTION_FETCH_ERR="FUNCTION_FETCH_ERR",r.NEEDS_AUTHENTICATION_ERR="NEEDS_AUTHENTICATION_ERR",r.PROXY_ERR="PROXY_ERR",r.isForgePlatformError=I,r.isHostedCodeError=p;const f=(0,l.makeContainer)(),m=f.handler;if(!m)throw new Error("Expected to find function handler name in container.");var h;process.env={},process.setSourceMapsEnabled?.(!0),r[m]=(h=m,async(e,t)=>{const i=e.body,l=(0,s.setupRequestContext)({meta:e._meta,handler:e.handler}),m=new s.MetricsCollector(new a.InMemoryMetrics({runtime:"nodejs"})),g=m.metrics(),v=e._meta.rms,y={container:f,proxy:e._meta.proxy,contextAri:e._meta.contextAri,appContext:e._meta.appContext,allowedEgress:e._meta.fetchAllowList??[],lambdaContext:t,tracing:e._meta.tracing,aaid:e._meta.aaid,externalAuth:e._meta.externalAuth,...v&&{rms:v},metrics:g,featureFlags:r=>e._meta.featureFlags?.includes(r)??!1};global.__forge_runtime__=y;for(const{key:r,value:t}of e.variables??[])process.env[r]=t;let w;try{const t=(0,d.invocationHeaderLogs)(e);(0,u.replaceConsole)(t),(0,c.replaceHttps)();const a=y.featureFlags("xen-runtime-100-ms-logs-interval")?100:3e3;w=setInterval(u.sendLogCache,a);const s=o.default.join(o.default.dirname(__filename),"bundled"),I=o.default.basename(__filename).replace(/\.[cm]?js$/,"");let p=o.default.join(s,`${I}.cjs`);n.default.existsSync(p)||(p=o.default.join(s,`${I}.js`));const f=g.timing("invoke").measure(),v=require(p);let S;try{try{S=await new Promise(((e,r)=>{process.removeAllListeners("unhandledRejection"),process.on("unhandledRejection",(e=>{const t=e instanceof Error?e.message:String(e);console.error(`UnhandledPromiseRejection with reason: ${t}`),r(e)})),(async()=>v[h](i,l))().then(e).catch(r)}))}catch(e){throw e instanceof Error&&!function(e){return e.name===r.NEEDS_AUTHENTICATION_ERR&&Boolean(e.options?.isExpectedError)}(e)&&console.error(e),e}}finally{clearInterval(w),(0,u.sendLogCache)(),await(0,u.waitForAllLogs)(),f.stop()}return{success:!0,body:S,metrics:m.collectMetrics()}}catch(e){const t=e,i=I(t)?t.name:r.FUNCTION_ERR;return{success:!1,error:{errorMessage:t.message,errorType:i,isHostedCodeError:p(i),stack:(t.stack||"").split("\n"),serviceKey:t.serviceKey,...t.options&&{options:t.options}},metrics:m.collectMetrics()}}})},848:(e,r,t)=>{"use strict";const i=t(7051);i.createWebSocketStream=t(1202),i.Server=t(5695),i.Receiver=t(1611),i.Sender=t(1031),e.exports=i},7213:(e,r,t)=>{"use strict";const{EMPTY_BUFFER:i}=t(4033);function n(e,r){if(0===e.length)return i;if(1===e.length)return e[0];const t=Buffer.allocUnsafe(r);let n=0;for(let r=0;r<e.length;r++){const i=e[r];t.set(i,n),n+=i.length}return n<r?t.slice(0,n):t}function o(e,r,t,i,n){for(let o=0;o<n;o++)t[i+o]=e[o]^r[3&o]}function a(e,r){const t=e.length;for(let i=0;i<t;i++)e[i]^=r[3&i]}function s(e){return e.byteLength===e.buffer.byteLength?e.buffer:e.buffer.slice(e.byteOffset,e.byteOffset+e.byteLength)}function u(e){if(u.readOnly=!0,Buffer.isBuffer(e))return e;let r;return e instanceof ArrayBuffer?r=Buffer.from(e):ArrayBuffer.isView(e)?r=Buffer.from(e.buffer,e.byteOffset,e.byteLength):(r=Buffer.from(e),u.readOnly=!1),r}try{const r=t(Object(function(){var e=new Error("Cannot find module 'bufferutil'");throw e.code="MODULE_NOT_FOUND",e}())),i=r.BufferUtil||r;e.exports={concat:n,mask(e,r,t,n,a){a<48?o(e,r,t,n,a):i.mask(e,r,t,n,a)},toArrayBuffer:s,toBuffer:u,unmask(e,r){e.length<32?a(e,r):i.unmask(e,r)}}}catch(r){e.exports={concat:n,mask:o,toArrayBuffer:s,toBuffer:u,unmask:a}}},4033:e=>{"use strict";e.exports={BINARY_TYPES:["nodebuffer","arraybuffer","fragments"],GUID:"258EAFA5-E914-47DA-95CA-C5AB0DC85B11",kStatusCode:Symbol("status-code"),kWebSocket:Symbol("websocket"),EMPTY_BUFFER:Buffer.alloc(0),NOOP:()=>{}}},4400:e=>{"use strict";class r{constructor(e,r){this.target=r,this.type=e}}class t extends r{constructor(e,r){super("message",r),this.data=e}}class i extends r{constructor(e,r,t){super("close",t),this.wasClean=t._closeFrameReceived&&t._closeFrameSent,this.reason=r,this.code=e}}class n extends r{constructor(e){super("open",e)}}class o extends r{constructor(e,r){super("error",r),this.message=e.message,this.error=e}}const a={addEventListener(e,r,a){if("function"!=typeof r)return;function s(e){r.call(this,new t(e,this))}function u(e,t){r.call(this,new i(e,t,this))}function c(e){r.call(this,new o(e,this))}function d(){r.call(this,new n(this))}const l=a&&a.once?"once":"on";"message"===e?(s._listener=r,this[l](e,s)):"close"===e?(u._listener=r,this[l](e,u)):"error"===e?(c._listener=r,this[l](e,c)):"open"===e?(d._listener=r,this[l](e,d)):this[l](e,r)},removeEventListener(e,r){const t=this.listeners(e);for(let i=0;i<t.length;i++)t[i]!==r&&t[i]._listener!==r||this.removeListener(e,t[i])}};e.exports=a},2009:e=>{"use strict";const r=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,1,1,1,1,1,0,0,1,1,0,1,1,0,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,0,1,0];function t(e,r,t){void 0===e[r]?e[r]=[t]:e[r].push(t)}e.exports={format:function(e){return Object.keys(e).map((r=>{let t=e[r];return Array.isArray(t)||(t=[t]),t.map((e=>[r].concat(Object.keys(e).map((r=>{let t=e[r];return Array.isArray(t)||(t=[t]),t.map((e=>!0===e?r:`${r}=${e}`)).join("; ")}))).join("; "))).join(", ")})).join(", ")},parse:function(e){const i=Object.create(null);if(void 0===e||""===e)return i;let n,o,a=Object.create(null),s=!1,u=!1,c=!1,d=-1,l=-1,I=0;for(;I<e.length;I++){const p=e.charCodeAt(I);if(void 0===n)if(-1===l&&1===r[p])-1===d&&(d=I);else if(32===p||9===p)-1===l&&-1!==d&&(l=I);else{if(59!==p&&44!==p)throw new SyntaxError(`Unexpected character at index ${I}`);{if(-1===d)throw new SyntaxError(`Unexpected character at index ${I}`);-1===l&&(l=I);const r=e.slice(d,l);44===p?(t(i,r,a),a=Object.create(null)):n=r,d=l=-1}}else if(void 0===o)if(-1===l&&1===r[p])-1===d&&(d=I);else if(32===p||9===p)-1===l&&-1!==d&&(l=I);else if(59===p||44===p){if(-1===d)throw new SyntaxError(`Unexpected character at index ${I}`);-1===l&&(l=I),t(a,e.slice(d,l),!0),44===p&&(t(i,n,a),a=Object.create(null),n=void 0),d=l=-1}else{if(61!==p||-1===d||-1!==l)throw new SyntaxError(`Unexpected character at index ${I}`);o=e.slice(d,I),d=l=-1}else if(u){if(1!==r[p])throw new SyntaxError(`Unexpected character at index ${I}`);-1===d?d=I:s||(s=!0),u=!1}else if(c)if(1===r[p])-1===d&&(d=I);else if(34===p&&-1!==d)c=!1,l=I;else{if(92!==p)throw new SyntaxError(`Unexpected character at index ${I}`);u=!0}else if(34===p&&61===e.charCodeAt(I-1))c=!0;else if(-1===l&&1===r[p])-1===d&&(d=I);else if(-1===d||32!==p&&9!==p){if(59!==p&&44!==p)throw new SyntaxError(`Unexpected character at index ${I}`);{if(-1===d)throw new SyntaxError(`Unexpected character at index ${I}`);-1===l&&(l=I);let r=e.slice(d,l);s&&(r=r.replace(/\\/g,""),s=!1),t(a,o,r),44===p&&(t(i,n,a),a=Object.create(null),n=void 0),o=void 0,d=l=-1}}else-1===l&&(l=I)}if(-1===d||c)throw new SyntaxError("Unexpected end of input");-1===l&&(l=I);const p=e.slice(d,l);return void 0===n?t(i,p,a):(void 0===o?t(a,p,!0):t(a,o,s?p.replace(/\\/g,""):p),t(i,n,a)),i}}},5348:e=>{"use strict";const r=Symbol("kDone"),t=Symbol("kRun");e.exports=class{constructor(e){this[r]=()=>{this.pending--,this[t]()},this.concurrency=e||1/0,this.jobs=[],this.pending=0}add(e){this.jobs.push(e),this[t]()}[t](){if(this.pending!==this.concurrency&&this.jobs.length){const e=this.jobs.shift();this.pending++,e(this[r])}}}},6978:(e,r,t)=>{"use strict";const i=t(3106),n=t(7213),o=t(5348),{kStatusCode:a,NOOP:s}=t(4033),u=Buffer.from([0,0,255,255]),c=Symbol("permessage-deflate"),d=Symbol("total-length"),l=Symbol("callback"),I=Symbol("buffers"),p=Symbol("error");let f;function m(e){this[I].push(e),this[d]+=e.length}function h(e){this[d]+=e.length,this[c]._maxPayload<1||this[d]<=this[c]._maxPayload?this[I].push(e):(this[p]=new RangeError("Max payload size exceeded"),this[p].code="WS_ERR_UNSUPPORTED_MESSAGE_LENGTH",this[p][a]=1009,this.removeListener("data",h),this.reset())}function g(e){this[c]._inflate=null,e[a]=1007,this[l](e)}e.exports=class{constructor(e,r,t){if(this._maxPayload=0|t,this._options=e||{},this._threshold=void 0!==this._options.threshold?this._options.threshold:1024,this._isServer=!!r,this._deflate=null,this._inflate=null,this.params=null,!f){const e=void 0!==this._options.concurrencyLimit?this._options.concurrencyLimit:10;f=new o(e)}}static get extensionName(){return"permessage-deflate"}offer(){const e={};return this._options.serverNoContextTakeover&&(e.server_no_context_takeover=!0),this._options.clientNoContextTakeover&&(e.client_no_context_takeover=!0),this._options.serverMaxWindowBits&&(e.server_max_window_bits=this._options.serverMaxWindowBits),this._options.clientMaxWindowBits?e.client_max_window_bits=this._options.clientMaxWindowBits:null==this._options.clientMaxWindowBits&&(e.client_max_window_bits=!0),e}accept(e){return e=this.normalizeParams(e),this.params=this._isServer?this.acceptAsServer(e):this.acceptAsClient(e),this.params}cleanup(){if(this._inflate&&(this._inflate.close(),this._inflate=null),this._deflate){const e=this._deflate[l];this._deflate.close(),this._deflate=null,e&&e(new Error("The deflate stream was closed while data was being processed"))}}acceptAsServer(e){const r=this._options,t=e.find((e=>!(!1===r.serverNoContextTakeover&&e.server_no_context_takeover||e.server_max_window_bits&&(!1===r.serverMaxWindowBits||"number"==typeof r.serverMaxWindowBits&&r.serverMaxWindowBits>e.server_max_window_bits)||"number"==typeof r.clientMaxWindowBits&&!e.client_max_window_bits)));if(!t)throw new Error("None of the extension offers can be accepted");return r.serverNoContextTakeover&&(t.server_no_context_takeover=!0),r.clientNoContextTakeover&&(t.client_no_context_takeover=!0),"number"==typeof r.serverMaxWindowBits&&(t.server_max_window_bits=r.serverMaxWindowBits),"number"==typeof r.clientMaxWindowBits?t.client_max_window_bits=r.clientMaxWindowBits:!0!==t.client_max_window_bits&&!1!==r.clientMaxWindowBits||delete t.client_max_window_bits,t}acceptAsClient(e){const r=e[0];if(!1===this._options.clientNoContextTakeover&&r.client_no_context_takeover)throw new Error('Unexpected parameter "client_no_context_takeover"');if(r.client_max_window_bits){if(!1===this._options.clientMaxWindowBits||"number"==typeof this._options.clientMaxWindowBits&&r.client_max_window_bits>this._options.clientMaxWindowBits)throw new Error('Unexpected or invalid parameter "client_max_window_bits"')}else"number"==typeof this._options.clientMaxWindowBits&&(r.client_max_window_bits=this._options.clientMaxWindowBits);return r}normalizeParams(e){return e.forEach((e=>{Object.keys(e).forEach((r=>{let t=e[r];if(t.length>1)throw new Error(`Parameter "${r}" must have only a single value`);if(t=t[0],"client_max_window_bits"===r){if(!0!==t){const e=+t;if(!Number.isInteger(e)||e<8||e>15)throw new TypeError(`Invalid value for parameter "${r}": ${t}`);t=e}else if(!this._isServer)throw new TypeError(`Invalid value for parameter "${r}": ${t}`)}else if("server_max_window_bits"===r){const e=+t;if(!Number.isInteger(e)||e<8||e>15)throw new TypeError(`Invalid value for parameter "${r}": ${t}`);t=e}else{if("client_no_context_takeover"!==r&&"server_no_context_takeover"!==r)throw new Error(`Unknown parameter "${r}"`);if(!0!==t)throw new TypeError(`Invalid value for parameter "${r}": ${t}`)}e[r]=t}))})),e}decompress(e,r,t){f.add((i=>{this._decompress(e,r,((e,r)=>{i(),t(e,r)}))}))}compress(e,r,t){f.add((i=>{this._compress(e,r,((e,r)=>{i(),t(e,r)}))}))}_decompress(e,r,t){const o=this._isServer?"client":"server";if(!this._inflate){const e=`${o}_max_window_bits`,r="number"!=typeof this.params[e]?i.Z_DEFAULT_WINDOWBITS:this.params[e];this._inflate=i.createInflateRaw({...this._options.zlibInflateOptions,windowBits:r}),this._inflate[c]=this,this._inflate[d]=0,this._inflate[I]=[],this._inflate.on("error",g),this._inflate.on("data",h)}this._inflate[l]=t,this._inflate.write(e),r&&this._inflate.write(u),this._inflate.flush((()=>{const e=this._inflate[p];if(e)return this._inflate.close(),this._inflate=null,void t(e);const i=n.concat(this._inflate[I],this._inflate[d]);this._inflate._readableState.endEmitted?(this._inflate.close(),this._inflate=null):(this._inflate[d]=0,this._inflate[I]=[],r&&this.params[`${o}_no_context_takeover`]&&this._inflate.reset()),t(null,i)}))}_compress(e,r,t){const o=this._isServer?"server":"client";if(!this._deflate){const e=`${o}_max_window_bits`,r="number"!=typeof this.params[e]?i.Z_DEFAULT_WINDOWBITS:this.params[e];this._deflate=i.createDeflateRaw({...this._options.zlibDeflateOptions,windowBits:r}),this._deflate[d]=0,this._deflate[I]=[],this._deflate.on("error",s),this._deflate.on("data",m)}this._deflate[l]=t,this._deflate.write(e),this._deflate.flush(i.Z_SYNC_FLUSH,(()=>{if(!this._deflate)return;let e=n.concat(this._deflate[I],this._deflate[d]);r&&(e=e.slice(0,e.length-4)),this._deflate[l]=null,this._deflate[d]=0,this._deflate[I]=[],r&&this.params[`${o}_no_context_takeover`]&&this._deflate.reset(),t(null,e)}))}}},1611:(e,r,t)=>{"use strict";const{Writable:i}=t(2203),n=t(6978),{BINARY_TYPES:o,EMPTY_BUFFER:a,kStatusCode:s,kWebSocket:u}=t(4033),{concat:c,toArrayBuffer:d,unmask:l}=t(7213),{isValidStatusCode:I,isValidUTF8:p}=t(3977);function f(e,r,t,i,n){const o=new e(t?`Invalid WebSocket frame: ${r}`:r);return Error.captureStackTrace(o,f),o.code=n,o[s]=i,o}e.exports=class extends i{constructor(e,r,t,i){super(),this._binaryType=e||o[0],this[u]=void 0,this._extensions=r||{},this._isServer=!!t,this._maxPayload=0|i,this._bufferedBytes=0,this._buffers=[],this._compressed=!1,this._payloadLength=0,this._mask=void 0,this._fragmented=0,this._masked=!1,this._fin=!1,this._opcode=0,this._totalPayloadLength=0,this._messageLength=0,this._fragments=[],this._state=0,this._loop=!1}_write(e,r,t){if(8===this._opcode&&0==this._state)return t();this._bufferedBytes+=e.length,this._buffers.push(e),this.startLoop(t)}consume(e){if(this._bufferedBytes-=e,e===this._buffers[0].length)return this._buffers.shift();if(e<this._buffers[0].length){const r=this._buffers[0];return this._buffers[0]=r.slice(e),r.slice(0,e)}const r=Buffer.allocUnsafe(e);do{const t=this._buffers[0],i=r.length-e;e>=t.length?r.set(this._buffers.shift(),i):(r.set(new Uint8Array(t.buffer,t.byteOffset,e),i),this._buffers[0]=t.slice(e)),e-=t.length}while(e>0);return r}startLoop(e){let r;this._loop=!0;do{switch(this._state){case 0:r=this.getInfo();break;case 1:r=this.getPayloadLength16();break;case 2:r=this.getPayloadLength64();break;case 3:this.getMask();break;case 4:r=this.getData(e);break;default:return void(this._loop=!1)}}while(this._loop);e(r)}getInfo(){if(this._bufferedBytes<2)return void(this._loop=!1);const e=this.consume(2);if(0!=(48&e[0]))return this._loop=!1,f(RangeError,"RSV2 and RSV3 must be clear",!0,1002,"WS_ERR_UNEXPECTED_RSV_2_3");const r=64==(64&e[0]);if(r&&!this._extensions[n.extensionName])return this._loop=!1,f(RangeError,"RSV1 must be clear",!0,1002,"WS_ERR_UNEXPECTED_RSV_1");if(this._fin=128==(128&e[0]),this._opcode=15&e[0],this._payloadLength=127&e[1],0===this._opcode){if(r)return this._loop=!1,f(RangeError,"RSV1 must be clear",!0,1002,"WS_ERR_UNEXPECTED_RSV_1");if(!this._fragmented)return this._loop=!1,f(RangeError,"invalid opcode 0",!0,1002,"WS_ERR_INVALID_OPCODE");this._opcode=this._fragmented}else if(1===this._opcode||2===this._opcode){if(this._fragmented)return this._loop=!1,f(RangeError,`invalid opcode ${this._opcode}`,!0,1002,"WS_ERR_INVALID_OPCODE");this._compressed=r}else{if(!(this._opcode>7&&this._opcode<11))return this._loop=!1,f(RangeError,`invalid opcode ${this._opcode}`,!0,1002,"WS_ERR_INVALID_OPCODE");if(!this._fin)return this._loop=!1,f(RangeError,"FIN must be set",!0,1002,"WS_ERR_EXPECTED_FIN");if(r)return this._loop=!1,f(RangeError,"RSV1 must be clear",!0,1002,"WS_ERR_UNEXPECTED_RSV_1");if(this._payloadLength>125)return this._loop=!1,f(RangeError,`invalid payload length ${this._payloadLength}`,!0,1002,"WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH")}if(this._fin||this._fragmented||(this._fragmented=this._opcode),this._masked=128==(128&e[1]),this._isServer){if(!this._masked)return this._loop=!1,f(RangeError,"MASK must be set",!0,1002,"WS_ERR_EXPECTED_MASK")}else if(this._masked)return this._loop=!1,f(RangeError,"MASK must be clear",!0,1002,"WS_ERR_UNEXPECTED_MASK");if(126===this._payloadLength)this._state=1;else{if(127!==this._payloadLength)return this.haveLength();this._state=2}}getPayloadLength16(){if(!(this._bufferedBytes<2))return this._payloadLength=this.consume(2).readUInt16BE(0),this.haveLength();this._loop=!1}getPayloadLength64(){if(this._bufferedBytes<8)return void(this._loop=!1);const e=this.consume(8),r=e.readUInt32BE(0);return r>Math.pow(2,21)-1?(this._loop=!1,f(RangeError,"Unsupported WebSocket frame: payload length > 2^53 - 1",!1,1009,"WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH")):(this._payloadLength=r*Math.pow(2,32)+e.readUInt32BE(4),this.haveLength())}haveLength(){if(this._payloadLength&&this._opcode<8&&(this._totalPayloadLength+=this._payloadLength,this._totalPayloadLength>this._maxPayload&&this._maxPayload>0))return this._loop=!1,f(RangeError,"Max payload size exceeded",!1,1009,"WS_ERR_UNSUPPORTED_MESSAGE_LENGTH");this._masked?this._state=3:this._state=4}getMask(){this._bufferedBytes<4?this._loop=!1:(this._mask=this.consume(4),this._state=4)}getData(e){let r=a;if(this._payloadLength){if(this._bufferedBytes<this._payloadLength)return void(this._loop=!1);r=this.consume(this._payloadLength),this._masked&&l(r,this._mask)}return this._opcode>7?this.controlMessage(r):this._compressed?(this._state=5,void this.decompress(r,e)):(r.length&&(this._messageLength=this._totalPayloadLength,this._fragments.push(r)),this.dataMessage())}decompress(e,r){this._extensions[n.extensionName].decompress(e,this._fin,((e,t)=>{if(e)return r(e);if(t.length){if(this._messageLength+=t.length,this._messageLength>this._maxPayload&&this._maxPayload>0)return r(f(RangeError,"Max payload size exceeded",!1,1009,"WS_ERR_UNSUPPORTED_MESSAGE_LENGTH"));this._fragments.push(t)}const i=this.dataMessage();if(i)return r(i);this.startLoop(r)}))}dataMessage(){if(this._fin){const e=this._messageLength,r=this._fragments;if(this._totalPayloadLength=0,this._messageLength=0,this._fragmented=0,this._fragments=[],2===this._opcode){let t;t="nodebuffer"===this._binaryType?c(r,e):"arraybuffer"===this._binaryType?d(c(r,e)):r,this.emit("message",t)}else{const t=c(r,e);if(!p(t))return this._loop=!1,f(Error,"invalid UTF-8 sequence",!0,1007,"WS_ERR_INVALID_UTF8");this.emit("message",t.toString())}}this._state=0}controlMessage(e){if(8===this._opcode)if(this._loop=!1,0===e.length)this.emit("conclude",1005,""),this.end();else{if(1===e.length)return f(RangeError,"invalid payload length 1",!0,1002,"WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH");{const r=e.readUInt16BE(0);if(!I(r))return f(RangeError,`invalid status code ${r}`,!0,1002,"WS_ERR_INVALID_CLOSE_CODE");const t=e.slice(2);if(!p(t))return f(Error,"invalid UTF-8 sequence",!0,1007,"WS_ERR_INVALID_UTF8");this.emit("conclude",r,t.toString()),this.end()}}else 9===this._opcode?this.emit("ping",e):this.emit("pong",e);this._state=0}}},1031:(e,r,t)=>{"use strict";t(9278),t(4756);const{randomFillSync:i}=t(6982),n=t(6978),{EMPTY_BUFFER:o}=t(4033),{isValidStatusCode:a}=t(3977),{mask:s,toBuffer:u}=t(7213),c=Buffer.alloc(4);class d{constructor(e,r){this._extensions=r||{},this._socket=e,this._firstFragment=!0,this._compress=!1,this._bufferedBytes=0,this._deflating=!1,this._queue=[]}static frame(e,r){const t=r.mask&&r.readOnly;let n=r.mask?6:2,o=e.length;e.length>=65536?(n+=8,o=127):e.length>125&&(n+=2,o=126);const a=Buffer.allocUnsafe(t?e.length+n:n);return a[0]=r.fin?128|r.opcode:r.opcode,r.rsv1&&(a[0]|=64),a[1]=o,126===o?a.writeUInt16BE(e.length,2):127===o&&(a.writeUInt32BE(0,2),a.writeUInt32BE(e.length,6)),r.mask?(i(c,0,4),a[1]|=128,a[n-4]=c[0],a[n-3]=c[1],a[n-2]=c[2],a[n-1]=c[3],t?(s(e,c,a,n,e.length),[a]):(s(e,c,e,0,e.length),[a,e])):[a,e]}close(e,r,t,i){let n;if(void 0===e)n=o;else{if("number"!=typeof e||!a(e))throw new TypeError("First argument must be a valid error code number");if(void 0===r||""===r)n=Buffer.allocUnsafe(2),n.writeUInt16BE(e,0);else{const t=Buffer.byteLength(r);if(t>123)throw new RangeError("The message must not be greater than 123 bytes");n=Buffer.allocUnsafe(2+t),n.writeUInt16BE(e,0),n.write(r,2)}}this._deflating?this.enqueue([this.doClose,n,t,i]):this.doClose(n,t,i)}doClose(e,r,t){this.sendFrame(d.frame(e,{fin:!0,rsv1:!1,opcode:8,mask:r,readOnly:!1}),t)}ping(e,r,t){const i=u(e);if(i.length>125)throw new RangeError("The data size must not be greater than 125 bytes");this._deflating?this.enqueue([this.doPing,i,r,u.readOnly,t]):this.doPing(i,r,u.readOnly,t)}doPing(e,r,t,i){this.sendFrame(d.frame(e,{fin:!0,rsv1:!1,opcode:9,mask:r,readOnly:t}),i)}pong(e,r,t){const i=u(e);if(i.length>125)throw new RangeError("The data size must not be greater than 125 bytes");this._deflating?this.enqueue([this.doPong,i,r,u.readOnly,t]):this.doPong(i,r,u.readOnly,t)}doPong(e,r,t,i){this.sendFrame(d.frame(e,{fin:!0,rsv1:!1,opcode:10,mask:r,readOnly:t}),i)}send(e,r,t){const i=u(e),o=this._extensions[n.extensionName];let a=r.binary?2:1,s=r.compress;if(this._firstFragment?(this._firstFragment=!1,s&&o&&(s=i.length>=o._threshold),this._compress=s):(s=!1,a=0),r.fin&&(this._firstFragment=!0),o){const e={fin:r.fin,rsv1:s,opcode:a,mask:r.mask,readOnly:u.readOnly};this._deflating?this.enqueue([this.dispatch,i,this._compress,e,t]):this.dispatch(i,this._compress,e,t)}else this.sendFrame(d.frame(i,{fin:r.fin,rsv1:!1,opcode:a,mask:r.mask,readOnly:u.readOnly}),t)}dispatch(e,r,t,i){if(!r)return void this.sendFrame(d.frame(e,t),i);const o=this._extensions[n.extensionName];this._bufferedBytes+=e.length,this._deflating=!0,o.compress(e,t.fin,((r,n)=>{if(this._socket.destroyed){const e=new Error("The socket was closed while data was being compressed");"function"==typeof i&&i(e);for(let r=0;r<this._queue.length;r++){const t=this._queue[r][4];"function"==typeof t&&t(e)}}else this._bufferedBytes-=e.length,this._deflating=!1,t.readOnly=!1,this.sendFrame(d.frame(n,t),i),this.dequeue()}))}dequeue(){for(;!this._deflating&&this._queue.length;){const e=this._queue.shift();this._bufferedBytes-=e[1].length,Reflect.apply(e[0],this,e.slice(1))}}enqueue(e){this._bufferedBytes+=e[1].length,this._queue.push(e)}sendFrame(e,r){2===e.length?(this._socket.cork(),this._socket.write(e[0]),this._socket.write(e[1],r),this._socket.uncork()):this._socket.write(e[0],r)}}e.exports=d},1202:(e,r,t)=>{"use strict";const{Duplex:i}=t(2203);function n(e){e.emit("close")}function o(){!this.destroyed&&this._writableState.finished&&this.destroy()}function a(e){this.removeListener("error",a),this.destroy(),0===this.listenerCount("error")&&this.emit("error",e)}e.exports=function(e,r){let t=!0,s=!0;function u(){t&&e._socket.resume()}e.readyState===e.CONNECTING?e.once("open",(function(){e._receiver.removeAllListeners("drain"),e._receiver.on("drain",u)})):(e._receiver.removeAllListeners("drain"),e._receiver.on("drain",u));const c=new i({...r,autoDestroy:!1,emitClose:!1,objectMode:!1,writableObjectMode:!1});return e.on("message",(function(r){c.push(r)||(t=!1,e._socket.pause())})),e.once("error",(function(e){c.destroyed||(s=!1,c.destroy(e))})),e.once("close",(function(){c.destroyed||c.push(null)})),c._destroy=function(r,t){if(e.readyState===e.CLOSED)return t(r),void process.nextTick(n,c);let i=!1;e.once("error",(function(e){i=!0,t(e)})),e.once("close",(function(){i||t(r),process.nextTick(n,c)})),s&&e.terminate()},c._final=function(r){e.readyState!==e.CONNECTING?null!==e._socket&&(e._socket._writableState.finished?(r(),c._readableState.endEmitted&&c.destroy()):(e._socket.once("finish",(function(){r()})),e.close())):e.once("open",(function(){c._final(r)}))},c._read=function(){e.readyState!==e.OPEN&&e.readyState!==e.CLOSING||t||(t=!0,e._receiver._writableState.needDrain||e._socket.resume())},c._write=function(r,t,i){e.readyState!==e.CONNECTING?e.send(r,i):e.once("open",(function(){c._write(r,t,i)}))},c.on("end",o),c.on("error",a),c}},3977:(e,r,t)=>{"use strict";function i(e){return e>=1e3&&e<=1014&&1004!==e&&1005!==e&&1006!==e||e>=3e3&&e<=4999}function n(e){const r=e.length;let t=0;for(;t<r;)if(0==(128&e[t]))t++;else if(192==(224&e[t])){if(t+1===r||128!=(192&e[t+1])||192==(254&e[t]))return!1;t+=2}else if(224==(240&e[t])){if(t+2>=r||128!=(192&e[t+1])||128!=(192&e[t+2])||224===e[t]&&128==(224&e[t+1])||237===e[t]&&160==(224&e[t+1]))return!1;t+=3}else{if(240!=(248&e[t]))return!1;if(t+3>=r||128!=(192&e[t+1])||128!=(192&e[t+2])||128!=(192&e[t+3])||240===e[t]&&128==(240&e[t+1])||244===e[t]&&e[t+1]>143||e[t]>244)return!1;t+=4}return!0}try{let r=t(Object(function(){var e=new Error("Cannot find module 'utf-8-validate'");throw e.code="MODULE_NOT_FOUND",e}()));"object"==typeof r&&(r=r.Validation.isValidUTF8),e.exports={isValidStatusCode:i,isValidUTF8:e=>e.length<150?n(e):r(e)}}catch(r){e.exports={isValidStatusCode:i,isValidUTF8:n}}},5695:(e,r,t)=>{"use strict";const i=t(4434),n=t(8611),{createHash:o}=(t(5692),t(9278),t(4756),t(6982)),a=t(6978),s=t(7051),{format:u,parse:c}=t(2009),{GUID:d,kWebSocket:l}=t(4033),I=/^[+/0-9A-Za-z]{22}==$/;function p(e){e._state=2,e.emit("close")}function f(){this.destroy()}function m(e,r,t,i){e.writable&&(t=t||n.STATUS_CODES[r],i={Connection:"close","Content-Type":"text/html","Content-Length":Buffer.byteLength(t),...i},e.write(`HTTP/1.1 ${r} ${n.STATUS_CODES[r]}\r\n`+Object.keys(i).map((e=>`${e}: ${i[e]}`)).join("\r\n")+"\r\n\r\n"+t)),e.removeListener("error",f),e.destroy()}function h(e){return e.trim()}e.exports=class extends i{constructor(e,r){if(super(),null==(e={maxPayload:104857600,perMessageDeflate:!1,handleProtocols:null,clientTracking:!0,verifyClient:null,noServer:!1,backlog:null,server:null,host:null,path:null,port:null,...e}).port&&!e.server&&!e.noServer||null!=e.port&&(e.server||e.noServer)||e.server&&e.noServer)throw new TypeError('One and only one of the "port", "server", or "noServer" options must be specified');if(null!=e.port?(this._server=n.createServer(((e,r)=>{const t=n.STATUS_CODES[426];r.writeHead(426,{"Content-Length":t.length,"Content-Type":"text/plain"}),r.end(t)})),this._server.listen(e.port,e.host,e.backlog,r)):e.server&&(this._server=e.server),this._server){const e=this.emit.bind(this,"connection");this._removeListeners=function(e,r){for(const t of Object.keys(r))e.on(t,r[t]);return function(){for(const t of Object.keys(r))e.removeListener(t,r[t])}}(this._server,{listening:this.emit.bind(this,"listening"),error:this.emit.bind(this,"error"),upgrade:(r,t,i)=>{this.handleUpgrade(r,t,i,e)}})}!0===e.perMessageDeflate&&(e.perMessageDeflate={}),e.clientTracking&&(this.clients=new Set),this.options=e,this._state=0}address(){if(this.options.noServer)throw new Error('The server is operating in "noServer" mode');return this._server?this._server.address():null}close(e){if(e&&this.once("close",e),2===this._state)return void process.nextTick(p,this);if(1===this._state)return;if(this._state=1,this.clients)for(const e of this.clients)e.terminate();const r=this._server;r&&(this._removeListeners(),this._removeListeners=this._server=null,null!=this.options.port)?r.close(p.bind(void 0,this)):process.nextTick(p,this)}shouldHandle(e){if(this.options.path){const r=e.url.indexOf("?");if((-1!==r?e.url.slice(0,r):e.url)!==this.options.path)return!1}return!0}handleUpgrade(e,r,t,i){r.on("error",f);const n=void 0!==e.headers["sec-websocket-key"]&&e.headers["sec-websocket-key"].trim(),o=+e.headers["sec-websocket-version"],s={};if("GET"!==e.method||"websocket"!==e.headers.upgrade.toLowerCase()||!n||!I.test(n)||8!==o&&13!==o||!this.shouldHandle(e))return m(r,400);if(this.options.perMessageDeflate){const t=new a(this.options.perMessageDeflate,!0,this.options.maxPayload);try{const r=c(e.headers["sec-websocket-extensions"]);r[a.extensionName]&&(t.accept(r[a.extensionName]),s[a.extensionName]=t)}catch(e){return m(r,400)}}if(this.options.verifyClient){const a={origin:e.headers[8===o?"sec-websocket-origin":"origin"],secure:!(!e.socket.authorized&&!e.socket.encrypted),req:e};if(2===this.options.verifyClient.length)return void this.options.verifyClient(a,((o,a,u,c)=>{if(!o)return m(r,a||401,u,c);this.completeUpgrade(n,s,e,r,t,i)}));if(!this.options.verifyClient(a))return m(r,401)}this.completeUpgrade(n,s,e,r,t,i)}completeUpgrade(e,r,t,i,n,c){if(!i.readable||!i.writable)return i.destroy();if(i[l])throw new Error("server.handleUpgrade() was called more than once with the same socket, possibly due to a misconfiguration");if(this._state>0)return m(i,503);const I=["HTTP/1.1 101 Switching Protocols","Upgrade: websocket","Connection: Upgrade",`Sec-WebSocket-Accept: ${o("sha1").update(e+d).digest("base64")}`],p=new s(null);let g=t.headers["sec-websocket-protocol"];if(g&&(g=g.split(",").map(h),g=this.options.handleProtocols?this.options.handleProtocols(g,t):g[0],g&&(I.push(`Sec-WebSocket-Protocol: ${g}`),p._protocol=g)),r[a.extensionName]){const e=r[a.extensionName].params,t=u({[a.extensionName]:[e]});I.push(`Sec-WebSocket-Extensions: ${t}`),p._extensions=r}this.emit("headers",I,t),i.write(I.concat("\r\n").join("\r\n")),i.removeListener("error",f),p.setSocket(i,n,this.options.maxPayload),this.clients&&(this.clients.add(p),p.on("close",(()=>this.clients.delete(p)))),c(p,t)}}},7051:(e,r,t)=>{"use strict";const i=t(4434),n=t(5692),o=t(8611),a=t(9278),s=t(4756),{randomBytes:u,createHash:c}=t(6982),{Readable:d}=t(2203),{URL:l}=t(7016),I=t(6978),p=t(1611),f=t(1031),{BINARY_TYPES:m,EMPTY_BUFFER:h,GUID:g,kStatusCode:v,kWebSocket:y,NOOP:w}=t(4033),{addEventListener:S,removeEventListener:_}=t(4400),{format:b,parse:T}=t(2009),{toBuffer:O}=t(7213),k=["CONNECTING","OPEN","CLOSING","CLOSED"],A=[8,13];class q extends i{constructor(e,r,t){super(),this._binaryType=m[0],this._closeCode=1006,this._closeFrameReceived=!1,this._closeFrameSent=!1,this._closeMessage="",this._closeTimer=null,this._extensions={},this._protocol="",this._readyState=q.CONNECTING,this._receiver=null,this._sender=null,this._socket=null,null!==e?(this._bufferedAmount=0,this._isServer=!1,this._redirects=0,Array.isArray(r)?r=r.join(", "):"object"==typeof r&&null!==r&&(t=r,r=void 0),V(this,e,r,t)):this._isServer=!0}get binaryType(){return this._binaryType}set binaryType(e){m.includes(e)&&(this._binaryType=e,this._receiver&&(this._receiver._binaryType=e))}get bufferedAmount(){return this._socket?this._socket._writableState.length+this._sender._bufferedBytes:this._bufferedAmount}get extensions(){return Object.keys(this._extensions).join()}get onclose(){}set onclose(e){}get onerror(){}set onerror(e){}get onopen(){}set onopen(e){}get onmessage(){}set onmessage(e){}get protocol(){return this._protocol}get readyState(){return this._readyState}get url(){return this._url}setSocket(e,r,t){const i=new p(this.binaryType,this._extensions,this._isServer,t);this._sender=new f(e,this._extensions),this._receiver=i,this._socket=e,i[y]=this,e[y]=this,i.on("conclude",N),i.on("drain",C),i.on("error",F),i.on("message",L),i.on("ping",M),i.on("pong",P),e.setTimeout(0),e.setNoDelay(),r.length>0&&e.unshift(r),e.on("close",Z),e.on("data",U),e.on("end",D),e.on("error",W),this._readyState=q.OPEN,this.emit("open")}emitClose(){if(!this._socket)return this._readyState=q.CLOSED,void this.emit("close",this._closeCode,this._closeMessage);this._extensions[I.extensionName]&&this._extensions[I.extensionName].cleanup(),this._receiver.removeAllListeners(),this._readyState=q.CLOSED,this.emit("close",this._closeCode,this._closeMessage)}close(e,r){if(this.readyState!==q.CLOSED){if(this.readyState===q.CONNECTING){const e="WebSocket was closed before the connection was established";return $(this,this._req,e)}this.readyState!==q.CLOSING?(this._readyState=q.CLOSING,this._sender.close(e,r,!this._isServer,(e=>{e||(this._closeFrameSent=!0,(this._closeFrameReceived||this._receiver._writableState.errorEmitted)&&this._socket.end())})),this._closeTimer=setTimeout(this._socket.destroy.bind(this._socket),3e4)):this._closeFrameSent&&(this._closeFrameReceived||this._receiver._writableState.errorEmitted)&&this._socket.end()}}ping(e,r,t){if(this.readyState===q.CONNECTING)throw new Error("WebSocket is not open: readyState 0 (CONNECTING)");"function"==typeof e?(t=e,e=r=void 0):"function"==typeof r&&(t=r,r=void 0),"number"==typeof e&&(e=e.toString()),this.readyState===q.OPEN?(void 0===r&&(r=!this._isServer),this._sender.ping(e||h,r,t)):Q(this,e,t)}pong(e,r,t){if(this.readyState===q.CONNECTING)throw new Error("WebSocket is not open: readyState 0 (CONNECTING)");"function"==typeof e?(t=e,e=r=void 0):"function"==typeof r&&(t=r,r=void 0),"number"==typeof e&&(e=e.toString()),this.readyState===q.OPEN?(void 0===r&&(r=!this._isServer),this._sender.pong(e||h,r,t)):Q(this,e,t)}send(e,r,t){if(this.readyState===q.CONNECTING)throw new Error("WebSocket is not open: readyState 0 (CONNECTING)");if("function"==typeof r&&(t=r,r={}),"number"==typeof e&&(e=e.toString()),this.readyState!==q.OPEN)return void Q(this,e,t);const i={binary:"string"!=typeof e,mask:!this._isServer,compress:!0,fin:!0,...r};this._extensions[I.extensionName]||(i.compress=!1),this._sender.send(e||h,i,t)}terminate(){if(this.readyState!==q.CLOSED){if(this.readyState===q.CONNECTING){const e="WebSocket was closed before the connection was established";return $(this,this._req,e)}this._socket&&(this._readyState=q.CLOSING,this._socket.destroy())}}}function V(e,r,t,i){const a={protocolVersion:A[1],maxPayload:104857600,perMessageDeflate:!0,followRedirects:!1,maxRedirects:10,...i,createConnection:void 0,socketPath:void 0,hostname:void 0,protocol:void 0,timeout:void 0,method:void 0,host:void 0,path:void 0,port:void 0};if(!A.includes(a.protocolVersion))throw new RangeError(`Unsupported protocol version: ${a.protocolVersion} (supported versions: ${A.join(", ")})`);let s;r instanceof l?(s=r,e._url=r.href):(s=new l(r),e._url=r);const d="ws+unix:"===s.protocol;if(!(s.host||d&&s.pathname)){const r=new Error(`Invalid URL: ${e.url}`);if(0===e._redirects)throw r;return void E(e,r)}const p="wss:"===s.protocol||"https:"===s.protocol,f=p?443:80,m=u(16).toString("base64"),h=p?n.get:o.get;let v;if(a.createConnection=p?R:x,a.defaultPort=a.defaultPort||f,a.port=s.port||f,a.host=s.hostname.startsWith("[")?s.hostname.slice(1,-1):s.hostname,a.headers={"Sec-WebSocket-Version":a.protocolVersion,"Sec-WebSocket-Key":m,Connection:"Upgrade",Upgrade:"websocket",...a.headers},a.path=s.pathname+s.search,a.timeout=a.handshakeTimeout,a.perMessageDeflate&&(v=new I(!0!==a.perMessageDeflate?a.perMessageDeflate:{},!1,a.maxPayload),a.headers["Sec-WebSocket-Extensions"]=b({[I.extensionName]:v.offer()})),t&&(a.headers["Sec-WebSocket-Protocol"]=t),a.origin&&(a.protocolVersion<13?a.headers["Sec-WebSocket-Origin"]=a.origin:a.headers.Origin=a.origin),(s.username||s.password)&&(a.auth=`${s.username}:${s.password}`),d){const e=a.path.split(":");a.socketPath=e[0],a.path=e[1]}if(a.followRedirects){if(0===e._redirects){e._originalUnixSocket=d,e._originalSecure=p,e._originalHostOrSocketPath=d?a.socketPath:s.host;const r=i&&i.headers;if(i={...i,headers:{}},r)for(const[e,t]of Object.entries(r))i.headers[e.toLowerCase()]=t}else{const r=d?!!e._originalUnixSocket&&a.socketPath===e._originalHostOrSocketPath:!e._originalUnixSocket&&s.host===e._originalHostOrSocketPath;(!r||e._originalSecure&&!p)&&(delete a.headers.authorization,delete a.headers.cookie,r||delete a.headers.host,a.auth=void 0)}a.auth&&!i.headers.authorization&&(i.headers.authorization="Basic "+Buffer.from(a.auth).toString("base64"))}let y=e._req=h(a);a.timeout&&y.on("timeout",(()=>{$(e,y,"Opening handshake has timed out")})),y.on("error",(r=>{null===y||y.aborted||(y=e._req=null,E(e,r))})),y.on("response",(n=>{const o=n.headers.location,s=n.statusCode;if(o&&a.followRedirects&&s>=300&&s<400){if(++e._redirects>a.maxRedirects)return void $(e,y,"Maximum redirects exceeded");let n;y.abort();try{n=new l(o,r)}catch(r){return void E(e,r)}V(e,n,t,i)}else e.emit("unexpected-response",y,n)||$(e,y,`Unexpected server response: ${n.statusCode}`)})),y.on("upgrade",((r,i,n)=>{if(e.emit("upgrade",r),e.readyState!==q.CONNECTING)return;if(y=e._req=null,"websocket"!==r.headers.upgrade.toLowerCase())return void $(e,i,"Invalid Upgrade header");const o=c("sha1").update(m+g).digest("base64");if(r.headers["sec-websocket-accept"]!==o)return void $(e,i,"Invalid Sec-WebSocket-Accept header");const s=r.headers["sec-websocket-protocol"],u=(t||"").split(/, */);let d;if(!t&&s?d="Server sent a subprotocol but none was requested":t&&!s?d="Server sent no subprotocol":s&&!u.includes(s)&&(d="Server sent an invalid subprotocol"),d)return void $(e,i,d);s&&(e._protocol=s);const l=r.headers["sec-websocket-extensions"];if(void 0!==l){if(!v)return void $(e,i,"Server sent a Sec-WebSocket-Extensions header but no extension was requested");let r;try{r=T(l)}catch(r){return void $(e,i,"Invalid Sec-WebSocket-Extensions header")}const t=Object.keys(r);if(t.length){if(1!==t.length||t[0]!==I.extensionName)return void $(e,i,"Server indicated an extension that was not requested");try{v.accept(r[I.extensionName])}catch(r){return void $(e,i,"Invalid Sec-WebSocket-Extensions header")}e._extensions[I.extensionName]=v}}e.setSocket(i,n,a.maxPayload)}))}function E(e,r){e._readyState=q.CLOSING,e.emit("error",r),e.emitClose()}function x(e){return e.path=e.socketPath,a.connect(e)}function R(e){return e.path=void 0,e.servername||""===e.servername||(e.servername=a.isIP(e.host)?"":e.host),s.connect(e)}function $(e,r,t){e._readyState=q.CLOSING;const i=new Error(t);Error.captureStackTrace(i,$),r.setHeader?(r.abort(),r.socket&&!r.socket.destroyed&&r.socket.destroy(),r.once("abort",e.emitClose.bind(e)),e.emit("error",i)):(r.destroy(i),r.once("error",e.emit.bind(e,"error")),r.once("close",e.emitClose.bind(e)))}function Q(e,r,t){if(r){const t=O(r).length;e._socket?e._sender._bufferedBytes+=t:e._bufferedAmount+=t}t&&t(new Error(`WebSocket is not open: readyState ${e.readyState} (${k[e.readyState]})`))}function N(e,r){const t=this[y];t._closeFrameReceived=!0,t._closeMessage=r,t._closeCode=e,void 0!==t._socket[y]&&(t._socket.removeListener("data",U),process.nextTick(j,t._socket),1005===e?t.close():t.close(e,r))}function C(){this[y]._socket.resume()}function F(e){const r=this[y];void 0!==r._socket[y]&&(r._socket.removeListener("data",U),process.nextTick(j,r._socket),r.close(e[v])),r.emit("error",e)}function z(){this[y].emitClose()}function L(e){this[y].emit("message",e)}function M(e){const r=this[y];r.pong(e,!r._isServer,w),r.emit("ping",e)}function P(e){this[y].emit("pong",e)}function j(e){e.resume()}function Z(){const e=this[y];let r;this.removeListener("close",Z),this.removeListener("data",U),this.removeListener("end",D),e._readyState=q.CLOSING,this._readableState.endEmitted||e._closeFrameReceived||e._receiver._writableState.errorEmitted||null===(r=e._socket.read())||e._receiver.write(r),e._receiver.end(),this[y]=void 0,clearTimeout(e._closeTimer),e._receiver._writableState.finished||e._receiver._writableState.errorEmitted?e.emitClose():(e._receiver.on("error",z),e._receiver.on("finish",z))}function U(e){this[y]._receiver.write(e)||this.pause()}function D(){const e=this[y];e._readyState=q.CLOSING,e._receiver.end(),this.end()}function W(){const e=this[y];this.removeListener("error",W),this.on("error",w),e&&(e._readyState=q.CLOSING,this.destroy())}Object.defineProperty(q,"CONNECTING",{enumerable:!0,value:k.indexOf("CONNECTING")}),Object.defineProperty(q.prototype,"CONNECTING",{enumerable:!0,value:k.indexOf("CONNECTING")}),Object.defineProperty(q,"OPEN",{enumerable:!0,value:k.indexOf("OPEN")}),Object.defineProperty(q.prototype,"OPEN",{enumerable:!0,value:k.indexOf("OPEN")}),Object.defineProperty(q,"CLOSING",{enumerable:!0,value:k.indexOf("CLOSING")}),Object.defineProperty(q.prototype,"CLOSING",{enumerable:!0,value:k.indexOf("CLOSING")}),Object.defineProperty(q,"CLOSED",{enumerable:!0,value:k.indexOf("CLOSED")}),Object.defineProperty(q.prototype,"CLOSED",{enumerable:!0,value:k.indexOf("CLOSED")}),["binaryType","bufferedAmount","extensions","protocol","readyState","url"].forEach((e=>{Object.defineProperty(q.prototype,e,{enumerable:!0})})),["open","error","close","message"].forEach((e=>{Object.defineProperty(q.prototype,`on${e}`,{enumerable:!0,get(){const r=this.listeners(e);for(let e=0;e<r.length;e++)if(r[e]._listener)return r[e]._listener},set(r){const t=this.listeners(e);for(let r=0;r<t.length;r++)t[r]._listener&&this.removeListener(e,t[r]);this.addEventListener(e,r)}})})),q.prototype.addEventListener=S,q.prototype.removeEventListener=_,e.exports=q},1124:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.AppManifest=void 0;const i=t(5608),n=t(9896),o=i.__importStar(t(721)),a=i.__importDefault(t(3519)),s=i.__importDefault(t(6928)),u=t(7016),c=o.union([o.literal("authorization-header"),o.literal("form-encoded"),o.literal("uri-query")]),d=o.intersection([o.type({type:c}),o.partial({parameter:o.string,prefix:o.string})]),l=o.union([c,d]),I=o.type({key:o.string,bearerMethod:l,remotes:o.array(o.string)}),p=new o.Type("string",(e=>"string"==typeof e&&new u.URL(e)&&!0),((e,r)=>"string"==typeof e?o.success(e):o.failure(e,r)),o.identity),f=o.partial({egress:o.array(o.string),remotes:o.array(o.type({key:o.string,baseUrl:p})),providers:o.type({auth:o.array(I)})}),m=o.type({app:o.type({id:o.string})}),h=o.intersection([m,f]);class g{static FILE_NAME="manifest.yml";static async fromFile(e){const r=s.default.join(e,g.FILE_NAME),t=(0,n.readFileSync)(r,"utf-8"),i=a.default.parse(t);return new g(i)}manifest;constructor(e){if(!h.is(e))throw new Error("invalid manifest");this.manifest=e}getHostForRemote(e){const r=this.manifest.remotes?.find((({key:r})=>r===e));return r?.baseUrl}getDefaultRemoteForProvider(e){const r=this.getExternalAuthProviderConfig(e),t=r?.remotes;if(t&&t.length>0)return t[0]}getExternalAuthProviderConfig(e){return this.manifest.providers?.auth.find((r=>r.key===e))}getEgressAllowlist(){return this.manifest.egress||[]}}r.AppManifest=g},5973:(e,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0})},1924:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.setupRequestContext=r.createLicenseContext=r.createPrincipal=r.isAccountIdDefined=r.createInstallationContext=void 0;const i=t(5389);function n(e){const{contextAri:r}=e.meta,t=i.AnyAri.parse(r);if("project"===t.resourceType)return{projectId:t.resourceId,installContext:r};if("workspace"===t.resourceType){let e=t.resourceId;return"bitbucket"===t.resourceOwner&&(e=void 0!==(n=t.resourceId)?`{${n}}`:void 0),{workspaceId:e,installContext:r}}var n;return{installContext:r}}function o(e){return void 0!==e&&"undefined"!==e}function a(e){const r=e.meta.aaid;return o(r)?{accountId:r}:void 0}function s(e){const{license:r}=e.meta;if(r){const{isActive:e,...t}=r;return{license:{isActive:e??!1,...t}}}}r.createInstallationContext=n,r.isAccountIdDefined=o,r.createPrincipal=a,r.createLicenseContext=s,r.setupRequestContext=function(e){return{principal:a(e),...s(e),...n(e)}}},6660:(e,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.FeatureFlags=r.XEN_RUNTIME_SHOULD_REPORT_METRICS=r.XEN_RUNTIME_SHOULD_BLOCK_EXTERNAL_FETCH=r.XEN_RUNTIME_ENABLE_NETWORK_LIMITS=r.XEN_RUNTIME_EGRESS_DISCLOSURE_ENABLED=r.XEN_RUNTIME_ENABLE_EGRESS_FILTER=r.SHOULD_ATTACH_TOKEN_FOR_APP=r.SHOULD_ATTACH_TOKEN_FOR_ATLASSIAN_ACCOUNT=void 0,r.SHOULD_ATTACH_TOKEN_FOR_ATLASSIAN_ACCOUNT="should-attach-token-for-atlassian-account",r.SHOULD_ATTACH_TOKEN_FOR_APP="should-attach-token-for-app",r.XEN_RUNTIME_ENABLE_EGRESS_FILTER="xen-runtime-enable-egress-filter",r.XEN_RUNTIME_EGRESS_DISCLOSURE_ENABLED="xen-runtime-egress-disclosure-enabled",r.XEN_RUNTIME_ENABLE_NETWORK_LIMITS="xen-runtime-enable-network-limits",r.XEN_RUNTIME_SHOULD_BLOCK_EXTERNAL_FETCH="xen-runtime-should-block-external-fetch",r.XEN_RUNTIME_SHOULD_REPORT_METRICS="xen-runtime-should-report-metrics";class t{flags;static fromRequestMetaData(e){return new t(e.featureFlags||[])}constructor(e){this.flags=e}isFeatureFlagEnabled(e){return this.flags.includes(e)}}r.FeatureFlags=t},687:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.invoke=r.validateInvocation=r.InvocationValidationError=r.getUserVars=r.initializeInspector=void 0;const i=t(5608),n=t(1125),o=i.__importDefault(t(424)),a=t(9110),s=t(3598);i.__exportStar(t(1124),r),i.__exportStar(t(5973),r),i.__exportStar(t(1924),r),i.__exportStar(t(6660),r),i.__exportStar(t(6385),r),i.__exportStar(t(9110),r),i.__exportStar(t(3566),r),i.__exportStar(t(2295),r),i.__exportStar(t(6996),r),i.__exportStar(t(823),r),i.__exportStar(t(3471),r),r.initializeInspector=function(){return new s.ChromeInspector},r.getUserVars=function(){return Object.keys(process.env).reduce(((e,r)=>(r.startsWith("FORGE_USER_VAR_")&&e.push({key:r.substring(15),value:String(process.env[r]),secure:!1}),e)),[])};class u extends Error{}r.InvocationValidationError=u,r.validateInvocation=function(e){const r=a.ExternalRequestBodyType.decode(e);if((0,n.isLeft)(r))throw new u(function(e){return["Invocation validation failed:",...o.default.report(e)].join("\n")}(r));return r.right},r.invoke=function(e){return e.sandbox.execute(e.xenInvocationRequest,e.invocationLimits,e.inspector)}},6996:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),t(5608).__exportStar(t(8724),r)},8724:(e,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.perInvocationLimitsTrackerFactory=r.Limit=void 0,r.Limit={InvocationLogEntryCount:"forge-invocation-log-entry-count",FetchRequestLimit:"forge-fetch-request-count"};class t{limits={};limitCount={};constructor(e){this.limits=e||{}}incrementCount(e,r=1){this.limitCount[e]=this.getCount(e)+r}getCount(e){return this.limitCount[e]||0}getLimit(e){return this.limits[e]}hasCountRemaining(e){const r=this.limits[e];return!r||this.getCount(e)<r}}r.perInvocationLimitsTrackerFactory=e=>new t(e.getLimits())},823:(e,r)=>{"use strict";var t,i;Object.defineProperty(r,"__esModule",{value:!0}),r.LogType=r.CONSOLE_METHODS=r.CONSOLE_LEVEL_METHODS=r.LogLevel=void 0,(i=r.LogLevel||(r.LogLevel={}))[i.DEBUG=20]="DEBUG",i[i.INFO=30]="INFO",i[i.WARN=40]="WARN",i[i.ERROR=50]="ERROR",i[i.FATAL=60]="FATAL",r.CONSOLE_LEVEL_METHODS=["debug","info","warn","error"],r.CONSOLE_METHODS=[...r.CONSOLE_LEVEL_METHODS,"log"],(t=r.LogType||(r.LogType={})).HEADER="header",t.FOOTER="footer",t.LOG="log"},6385:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),t(5608).__exportStar(t(5292),r)},5292:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.createMetricsCollector=r.MetricsCollector=r.MetricType=void 0;const i=t(6011),n=t(6521),o=t(6660);var a;!function(e){e.TimerMetric="timer",e.CounterMetric="counter",e.GaugeMetric="gauge"}(a=r.MetricType||(r.MetricType={}));class s{_metrics;constructor(e){this._metrics=e}metrics(){return this._metrics}collectMetrics(){return s.collect(this._metrics)}static collect(e,r=void 0){if(!function(e){return e.constructor.name===i.InMemoryMetrics.name}(e))return[];const t=(e,r)=>e?e+"."+r:r,n=Array.from(e.getChildren().values()).map((e=>[...s.collect(e,t(r,e.getName()))])).reduce(((e,r)=>e.concat(r)),[]),o=Array.from(e.getCounters().values()).map((e=>({name:t(r,e.getName()),tags:e.getTags(),type:a.CounterMetric,value:e.getCount()}))),u=Array.from(e.getGauges().values()).map((e=>({name:t(r,e.getName()),tags:e.getTags(),type:a.GaugeMetric,value:e.getValue()}))),c=e.getTimers().map((e=>({name:t(r,e.getName()),tags:e.getTags(),type:a.TimerMetric,value:e.getTime()})));return n.push(...c,...o,...u),n}async wrapInMetrics(e,r){this._metrics.counter(e.name,e.tags).incr();const t=this._metrics.timing(e.name,e.tags).measure();try{return await r()}finally{t.stop()}}}r.MetricsCollector=s,r.createMetricsCollector=e=>{const r=e.isFeatureFlagEnabled(o.XEN_RUNTIME_SHOULD_REPORT_METRICS),t=r?new i.InMemoryMetrics:new n.NoMetrics;return{collector:new s(t),enabled:r}}},9110:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.InvocationType=r.ExternalRequestBodyType=r.LicenseType=void 0;const i=t(5608).__importStar(t(721)),n=i.type({baseUrl:i.string,key:i.string}),o=i.intersection([i.type({id:i.string,externalAccountId:i.string,displayName:i.string,scopes:i.array(i.string)}),i.partial({avatarUrl:i.string})]),a=i.type({service:i.string,remotes:i.array(n),accounts:i.array(o)}),s=i.intersection([i.type({id:i.string,service:i.string,token:i.string}),i.partial({externalAccountId:i.string,displayName:i.string,avatarUrl:i.union([i.string,i.undefined]),scopes:i.array(i.string)})]);r.LicenseType=i.intersection([i.type({isActive:i.boolean}),i.partial({billingPeriod:i.union([i.string,i.null]),capabilitySet:i.union([i.string,i.null]),ccpEntitlementId:i.union([i.string,i.null]),ccpEntitlementSlug:i.union([i.string,i.null]),isEvaluation:i.union([i.boolean,i.null]),subscriptionEndDate:i.union([i.string,i.null]),supportEntitlementNumber:i.union([i.string,i.null]),trialEndDate:i.union([i.string,i.null]),type:i.union([i.string,i.null])})]);const u=i.intersection([i.type({appId:i.string,appVersion:i.string,environmentId:i.string,environmentType:i.string,invocationId:i.string,installationId:i.string,functionKey:i.string,moduleType:i.string,moduleKey:i.string}),i.partial({license:r.LicenseType})]),c=i.intersection([i.type({apiAuth:i.type({env:i.string,objects:i.string}),clientId:i.string,contextAri:i.string,tokens:i.array(s),appContext:u,tracing:i.type({traceId:i.string,spanId:i.string})}),i.partial({aaid:i.string,featureFlags:i.array(i.string),appToken:i.string,proxy:i.intersection([i.type({token:i.string,url:i.string}),i.partial({host:i.string})]),timeout:i.number,rms:i.type({url:i.string,host:i.string}),limits:i.record(i.string,i.number),license:r.LicenseType,fetchAllowList:i.array(i.string),externalAuth:i.array(a)})]),d=i.type({secure:i.boolean,key:i.string,value:i.union([i.string,i.undefined])});r.ExternalRequestBodyType=i.intersection([i.type({_meta:c,body:i.Dictionary,handler:i.string}),i.partial({variables:i.array(d)})]),r.InvocationType=i.type({request:r.ExternalRequestBodyType,ctx:i.type({requestId:i.string,timeout:i.number,traceId:i.string})})},3566:(e,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0})},3471:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});const i=t(5608);i.__exportStar(t(3598),r),i.__exportStar(t(3308),r),i.__exportStar(t(1645),r),i.__exportStar(t(7288),r)},3598:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.notImplementedInspector=r.ChromeInspector=r.SETUP_METHODS=void 0;const i=t(5608).__importDefault(t(848)),n=t(9023),o={null:e=>null===e,array:Array.isArray,date:e=>e instanceof Date,error:e=>e instanceof Error,regexp:e=>e instanceof RegExp},a=Object.entries(o);function s(...e){console.log("[Inspector]",...e)}function u(e){const r=typeof e;if("undefined"===r)return{type:r};if(null===e)return{type:r,subtype:"null",value:null};if("number"===r&&(isNaN(e)||!isFinite(e))){const t=e.toString();return{type:r,unserializableValue:t,description:t}}const t="object"===r?e.constructor.name:void 0,i=a.find((r=>r[1](e)));return{type:r,...t?{className:t}:void 0,...i?{subtype:i[0]}:void 0,value:e,description:(0,n.inspect)(e)}}r.SETUP_METHODS=["Profiler.enable","Runtime.enable","Debugger.enable","Debugger.setPauseOnExceptions","Debugger.setAsyncCallStackDepth","Runtime.getIsolateId","Debugger.setBlackboxPatterns","Runtime.runIfWaitingForDebugger"];class c{static DENY_CODE=1011;static DENY_REASON="Only one frontend is allowed";static FORCE_RESET_FRONTEND_STATE_EVENTS=['{"method":"Runtime.executionContextsCleared"}','{"method":"Inspector.targetReloadedAfterCrash"}'];wss;callbacks;frontendMsgsForNewSandbox=[];startServer(e=0){const r=new i.default.Server({port:e});return r.on("connection",(e=>{if(r.clients.size>1)return e.close(c.DENY_CODE,c.DENY_REASON),void s(c.DENY_REASON);e.on("error",(e=>{s("Error",e),this.stopSession()})),e.on("close",(()=>{this.frontendMsgsForNewSandbox=[],this.stopSession()})),e.on("message",(e=>{this.callbacks?(this.addMessageForNewSandbox(e,!0),this.callbacks.onMessageFromFrontend(e)):this.addMessageForNewSandbox(e,!1)}))})),this.wss=r,`127.0.0.1:${this.getWebsocketPort()}`}stopServer(){const e=this.wss;return e?(this.stopSession(),new Promise(((r,t)=>{e.close((e=>{this.wss=void 0,e?t(e):r()}))}))):Promise.resolve()}isServerStopped(){return!this.wss}startSession(e){if(!this.wss||0===this.wss.clients.size)return;if(this.callbacks)return;const r={sendMessageToFrontend:this.sendMessageToFrontend,stopSession:this.stopSession};return this.callbacks=e(r),this.forceResetFrontendState(),this.deliverMessagesForNewSandbox(),r}logConsole(e,...r){if(!this.wss||0===this.wss.clients.size)return;let t;switch(e){case"debug":t="verbose";break;case"warn":t="warning";break;default:t=e}const i={method:"Runtime.consoleAPICalled",params:{type:t,timestamp:Date.now(),args:r.map(u)}};this.sendMessageToFrontend(JSON.stringify(i))}getWebsocketPort(){const e=this.wss;if(!e)throw Error("Inspector server not started");const r=e.address();if(r&&r.port)return r.port;throw Error("Unable to find port for inspector server")}sendMessageToFrontend=e=>{const r=this.wss;r&&r.clients.forEach((r=>r.send(e)))};stopSession=()=>{if(!this.wss)return;const e=this.callbacks;e&&(this.callbacks=void 0,e.onSessionStop())};forceResetFrontendState(){for(const e of c.FORCE_RESET_FRONTEND_STATE_EVENTS)this.sendMessageToFrontend(e)}addMessageForNewSandbox(e,t){const i=(e=>{const t=JSON.parse(e),{method:i}=t;return!!i&&(!!r.SETUP_METHODS.includes(i)||i.startsWith("Debugger.")&&i.toLowerCase().includes("breakpoint")&&"Debugger.getPossibleBreakpoints"!==i)})(e);i&&this.frontendMsgsForNewSandbox.push(e)}deliverMessagesForNewSandbox(){const e=this.callbacks;if(e)for(const r of this.frontendMsgsForNewSandbox)e.onMessageFromFrontend(r)}}r.ChromeInspector=c,r.notImplementedInspector={startServer:()=>{throw new Error("Not implemented")},stopServer:async()=>{},isServerStopped:()=>!0,startSession:()=>{throw new Error("Not implemented")},logConsole:()=>{throw new Error("Not implemented")}}},3308:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.p3LogEvent=r.invokeNetworkRequestFinishEvent=r.invokeNetworkRequestStartEvent=r.getHostname=r.isNonEmptyArray=r.EVENT_NETWORK_REQUEST_FINISH=r.EVENT_NETWORK_REQUEST_START=r.EVENT_P3_LOG=r.StaticInvocationEventEmitter=void 0;const i=t(4434),n=t(7016);class o extends i.EventEmitter{}function a(e){let r;try{r=new n.URL(e).hostname}catch(e){r=""}return r}r.StaticInvocationEventEmitter=new o,r.EVENT_P3_LOG="p3-log",r.EVENT_NETWORK_REQUEST_START="network-request-start",r.EVENT_NETWORK_REQUEST_FINISH="network-request-finish",r.isNonEmptyArray=function(e){return e.length>0},r.getHostname=a,r.invokeNetworkRequestStartEvent=function(e,t){const i={invocationId:e.getInvocationId(),hostname:a(t.url),request:{body:t.request.body,headers:t.request.headers}};r.StaticInvocationEventEmitter.emit(r.EVENT_NETWORK_REQUEST_START,i)},r.invokeNetworkRequestFinishEvent=function(e,t){const i={invocationId:e.getInvocationId(),hostname:a(t.url),response:t.response,error:t.error};r.StaticInvocationEventEmitter.emit(r.EVENT_NETWORK_REQUEST_FINISH,i)},r.p3LogEvent=function(e,t,i){const n={invocationId:e.getInvocationId(),logLevel:t,logArguments:i};r.StaticInvocationEventEmitter.emit(r.EVENT_P3_LOG,n)}},1645:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.InvocationRequest=r.xenInvocationRequestFactory=void 0;const i=t(1124),n=t(6660),o=t(5389),a=t(687);class s{request;invocationId;featureFlags;serviceTokens=[];constructor(e,r){this.request=e,this.invocationId=r,this.serviceTokens=this.buildServiceTokens(e._meta.tokens)}buildServiceTokens(e){return e.map((e=>({id:e.id,service:e.service,token:e.token,externalAccountId:e.externalAccountId||"",displayName:e.displayName||"",avatarUrl:e.avatarUrl,scopes:e.scopes||[]})))}getFeatureFlags(){return this.featureFlags||(this.featureFlags=n.FeatureFlags.fromRequestMetaData(this.request._meta)),this.featureFlags}isFeatureFlagEnabled(e){return this.getFeatureFlags().isFeatureFlagEnabled(e)}getInvocationId(){return this.invocationId}getAppId(){return this.request._meta.appContext.appId}getEnvironmentId(){return this.request._meta.appContext.environmentId}getCloudId(){const e=o.AnyAri.parse(this.request._meta.contextAri);return e.cloudId?e.cloudId:e.resourceType===o.ResourceType.Site?e.resourceId:void 0}getContextAri(){return this.request._meta.contextAri}getRmsConfig(){return this.request._meta.rms}getAaid(){return this.request._meta.aaid}getInvocationResourceOwner(){return o.AnyAri.parse(this.request._meta.contextAri).resourceOwner}getWorkspaceId(){const e=o.AnyAri.parse(this.request._meta.contextAri);return"workspace"===e.resourceType?e.resourceId:void 0}getAppVersion(){return this.request._meta.appContext.appVersion}getLimits(){return this.request._meta.limits}getAppToken(){return this.request._meta.appToken}getProxy(){return this.request._meta?.proxy}getAllTokens(){return this.serviceTokens}getUserVariables(){return this.request.variables}getHandler(){return this.request.handler}getBody(){return this.request.body}getLicense(){return this.request._meta.license}getEgressAllowList(){return this.request._meta.fetchAllowList}getTracing(){return this.request._meta.tracing}__deprecatedGetMeta(){return this.request._meta}}r.xenInvocationRequestFactory=function(e){const{request:r,ctx:{requestId:t}}=e,i=(0,a.validateInvocation)(r);return new s(i,t)};class u{sandboxConfig;xenInvocationRequest;manifest;static async setup(e,r){const t=await i.AppManifest.fromFile(e.appPath);return this.setupSync(e,r,t)}static setupSync(e,r,t){return new u(e,r,t)}thirdPartyAuthTokenReferences;constructor(e,r,t){this.sandboxConfig=e,this.xenInvocationRequest=r,this.manifest=t,this.thirdPartyAuthTokenReferences=this.getThirdPartyTokenReferences()}getAppAri(){return this.manifest.manifest.app.id}isFeatureFlagEnabled(e){return this.xenInvocationRequest.isFeatureFlagEnabled(e)}getAppId(){return this.xenInvocationRequest.getAppId()}getEnvironmentId(){return this.xenInvocationRequest.getEnvironmentId()}getEgressAllowList(){return this.xenInvocationRequest.getEgressAllowList()}getHostForRemote(e){return this.manifest.getHostForRemote(e)}getDefaultRemoteForProvider(e){return this.manifest.getDefaultRemoteForProvider(e)}getExternalAuthProviderConfig(e){return this.manifest.getExternalAuthProviderConfig(e)}getSandboxConfig(){return this.sandboxConfig}getInvocationId(){return this.xenInvocationRequest.getInvocationId()}getCloudId(){return this.xenInvocationRequest.getCloudId()}getWorkspaceId(){return this.xenInvocationRequest.getWorkspaceId()}getContextAri(){return this.xenInvocationRequest.getContextAri()}getRmsConfig(){return this.xenInvocationRequest.getRmsConfig()}getInvocationResourceOwner(){return this.xenInvocationRequest.getInvocationResourceOwner()}getAppToken(){return this.xenInvocationRequest.getAppToken()}getProxy(){return this.xenInvocationRequest.getProxy()}getAaid(){return this.xenInvocationRequest.getAaid()}getTokenByTokenId(e,r){const t=this.getAllTokens(e),i=void 0!==r?t.filter((e=>e.id==r)):t;return this.pickTokenToUse(i)}getTokenByExternalAccount(e,r){const t=this.getTokensByServiceAndAccount(e,r);return this.pickTokenToUse(t)}getTokensByServiceAndAccount(e,r){const t=this.getAllTokens(e);return void 0!==r?t.filter((({externalAccountId:e})=>e===r)):t}static isSuperset(e,r){return!r||r.every((r=>e.includes(r)))}getExternalAuthAccounts(e,r,t){return this.getTokensByServiceAndAccount(e,r).filter((e=>u.isSuperset(e.scopes,t))).map((e=>({id:e.externalAccountId,displayName:e.displayName,avatarUrl:e.avatarUrl,scopes:e.scopes})))}getTokenIDsForService(e){return this.getAllTokens(e).map((e=>e.id))}getAllTokens(e){return this.xenInvocationRequest.getAllTokens().filter((({service:r})=>void 0===e||r===e))}getAtlassianTokenServiceKey(){return"atlassian-token-service-key"}pickTokenToUse(e){return e?e[0]:void 0}getAtlassianServiceToken(){const e=this.getAllTokens(this.getAtlassianTokenServiceKey());return this.pickTokenToUse(e)?.token}getAppTokenKey(){return"__atlassian-app-token"}getThirdPartyTokenReferenceList(e){return this.thirdPartyAuthTokenReferences?.filter((r=>r.serviceKey===e)).map((e=>e.reference))||[]}getThirdPartyTokenReferences(){return this.getThirdPartyTokens().map((({service:e,token:r},t)=>({reference:`${e}-${t+1}`,token:r,serviceKey:e})))}getThirdPartyTokens(){return this.getAllTokens().filter((({service:e})=>e!==this.getAtlassianTokenServiceKey()))}getThirdPartyToken(e){return this.thirdPartyAuthTokenReferences?.find((r=>r.reference===e||r.serviceKey===e))?.token}getAppVersion(){return this.xenInvocationRequest.getAppVersion()}getLimits(){return this.xenInvocationRequest.getLimits()}getLicense(){return this.xenInvocationRequest.getLicense()}getTracing(){return this.xenInvocationRequest.getTracing()}}r.InvocationRequest=u},7288:(e,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0})},2295:(e,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.SnapshotCodeError=void 0;class t extends Error{}r.SnapshotCodeError=t},5389:e=>{"use strict";var r,t=Object.defineProperty,i=Object.getOwnPropertyDescriptor,n=Object.getOwnPropertyNames,o=Object.prototype.hasOwnProperty,a={};((e,r)=>{for(var i in r)t(e,i,{get:r[i],enumerable:!0})})(a,{AnalyticsUserAri:()=>k,AnyAri:()=>g,ApprovalDeskDecisionTableAri:()=>q,ApprovalDeskRoleAri:()=>E,ApprovalDeskWorkflowAri:()=>R,ApprovalDeskWorkspaceAri:()=>Q,Ari:()=>h,Arm:()=>S,Ati:()=>m,AtlashubIdAri:()=>C,AtlashubSiteAri:()=>z,AutomationRoleAri:()=>M,AutomationRuleAri:()=>j,AvocadoAnswerAri:()=>U,AvocadoQuestionAri:()=>W,AvocadoRoleAri:()=>B,AvocadoSiteAri:()=>J,AvocadoUserAri:()=>Y,AvpDashboardAri:()=>ee,AvpDatasourceAri:()=>te,AvpRoleAri:()=>ne,AvpSiteAri:()=>ae,BeaconAlertAri:()=>ue,BeaconCustomDetectionAri:()=>de,BeaconDetectionAri:()=>Ie,BeaconDetectionSettingAri:()=>fe,BeaconRoleAri:()=>he,BeaconSiteAri:()=>ve,BeaconSubscriptionAri:()=>we,BeaconWorkspaceAri:()=>_e,BitbucketAppAri:()=>Te,BitbucketOauthConsumerAri:()=>ke,BitbucketProjectAri:()=>qe,BitbucketPullrequestAri:()=>Ee,BitbucketRepositoryAri:()=>Re,BitbucketRepositoryTransferAri:()=>Qe,BitbucketSiteAri:()=>Ce,BitbucketTeamAri:()=>ze,BitbucketWorkspaceAri:()=>Me,BrieRoleAri:()=>je,BrieSiteAri:()=>Ue,CanvasBoardAri:()=>We,CanvasDatabaseAri:()=>Be,CanvasSiteAri:()=>Je,CanvasWorkspaceAri:()=>Ye,CmdbAttributeAri:()=>er,CmdbImportConfigurationAri:()=>tr,CmdbObjectAri:()=>nr,CmdbRoleAri:()=>ar,CmdbSchemaAri:()=>ur,CmdbTypeAri:()=>dr,CmdbWorkspaceAri:()=>Ir,CommerceCatalogAccountAri:()=>fr,CommerceChangeAri:()=>hr,CommerceEntitlementAri:()=>vr,CommerceEntitlementTemplateAri:()=>wr,CommerceInitiativeAri:()=>_r,CommerceInvoiceGroupAri:()=>Tr,CommerceOfferingAri:()=>kr,CommerceOfferingRelationshipTemplateAri:()=>qr,CommerceOrderAri:()=>Er,CommercePaymentMethodAri:()=>Rr,CommercePricingPlanAri:()=>Qr,CommerceProductAri:()=>Cr,CommercePromotionAri:()=>zr,CommerceQuoteAri:()=>Mr,CommerceRoleAri:()=>jr,CommerceShipToPartyAri:()=>Ur,CommerceTransactionAccountAri:()=>Wr,CommerceWorkbenchResourceAri:()=>Br,CompassAssistantAnswerAri:()=>Jr,CompassComponentAri:()=>Yr,CompassComponentLabelAri:()=>et,CompassComponentLinkAri:()=>tt,CompassCustomFieldDefinitionAri:()=>nt,CompassDocumentAri:()=>at,CompassDocumentationCategoryAri:()=>ut,CompassEventSourceAri:()=>dt,CompassIncomingWebhookAri:()=>It,CompassMetricDefinitionAri:()=>ft,CompassMetricSourceAri:()=>ht,CompassRoleAri:()=>vt,CompassScorecardAri:()=>wt,CompassSiteAri:()=>_t,CompassUserDefinedParameterAri:()=>Tt,CompassWebhookAri:()=>kt,CompassWorkspaceAri:()=>qt,ConfluenceAdminAnnouncementBannerAri:()=>Et,ConfluenceAttachmentAri:()=>Rt,ConfluenceBlogpostAri:()=>Qt,ConfluenceCommentAri:()=>Ct,ConfluenceContentAri:()=>zt,ConfluenceDatabaseAri:()=>Mt,ConfluenceEmbedAri:()=>jt,ConfluenceEventAri:()=>Ut,ConfluenceFolderAri:()=>Wt,ConfluenceLongRunningTaskAri:()=>Bt,ConfluenceNoteAri:()=>Jt,ConfluencePageAri:()=>Yt,ConfluencePublicLinkAri:()=>ei,ConfluenceRoleAri:()=>ti,ConfluenceSiteAri:()=>ni,ConfluenceSpaceAri:()=>ai,ConfluenceTaskAri:()=>ui,ConfluenceTeamCalendarAri:()=>di,ConfluenceUserPropertyAri:()=>Ii,ConfluenceWhiteboardAri:()=>fi,ConfluenceWorkspaceAri:()=>hi,ConnectionRegistryLinkAri:()=>vi,ConversationalHelpConversationAri:()=>wi,ConversationalHelpConversationMessageAri:()=>_i,DataLakeLakeConnectionAri:()=>Ti,DevopsContainerAri:()=>ki,DevopsNamespaceAri:()=>qi,DevopsProviderAri:()=>Ei,DevopsRelationshipAri:()=>Ri,DevopsToolAri:()=>Qi,EcosystemAppAri:()=>Ci,EcosystemAppEnvironmentVersionAri:()=>zi,EcosystemConnectAppAri:()=>Mi,EcosystemEnvironmentAri:()=>ji,EcosystemExtensionAri:()=>Ui,EcosystemExtensionGroupAri:()=>Wi,EcosystemInstallationAri:()=>Bi,ElementsCustomEmojiMetadataAri:()=>Ji,ElementsWorkspaceAri:()=>Yi,ExusExternalUserAri:()=>en,FigmaFileAri:()=>tn,GoogleDocumentAri:()=>on,GoogleFormAri:()=>sn,GooglePresentationAri:()=>cn,GoogleSpreadsheetAri:()=>ln,GraphBranchAri:()=>pn,GraphBranchHistoryAri:()=>mn,GraphBuildAri:()=>gn,GraphBuildHistoryAri:()=>yn,GraphCommitAri:()=>Sn,GraphContentAri:()=>bn,GraphDeploymentAri:()=>On,GraphDeploymentHistoryAri:()=>An,GraphDesignAri:()=>Vn,GraphDesignHistoryAri:()=>xn,GraphDevopsComponentAri:()=>$n,GraphDocumentAri:()=>Nn,GraphDocumentHistoryAri:()=>Fn,GraphEmployeeAri:()=>Ln,GraphEmployeeHistoryAri:()=>Pn,GraphFeatureFlagAri:()=>Zn,GraphFeatureFlagHistoryAri:()=>Dn,GraphIncidentAri:()=>Kn,GraphIncidentHistoryAri:()=>Gn,GraphJiraProjectAndDevopsToolRelationshipAri:()=>Hn,GraphJiraProjectAndDocumentationSpaceRelationshipAri:()=>Xn,GraphJiraProjectAndOperationsTeamRelationshipAri:()=>ro,GraphJiraProjectAndVcsRepositoryRelationshipAri:()=>io,GraphJiraProjectAndVcsRepositoryRelationshipTempMigrationAri:()=>oo,GraphOperationsWorkspaceAri:()=>so,GraphPostIncidentReviewAri:()=>co,GraphPostIncidentReviewHistoryAri:()=>Io,GraphProjectAri:()=>fo,GraphPullRequestAri:()=>ho,GraphPullRequestHistoryAri:()=>vo,GraphRemoteLinkAri:()=>wo,GraphRemoteLinkHistoryAri:()=>_o,GraphRepositoryAri:()=>To,GraphSecurityContainerAri:()=>ko,GraphSecurityWorkspaceAri:()=>qo,GraphServiceAndJiraProjectRelationshipAri:()=>Ro,GraphServiceAndOperationsTeamRelationshipAri:()=>Qo,GraphServiceAndVcsRepositoryRelationshipAri:()=>Co,GraphServiceAri:()=>Eo,GraphServiceRelationshipAri:()=>zo,GraphVideoAri:()=>Mo,GraphVideoHistoryAri:()=>jo,GraphVulnerabilityAri:()=>Uo,GraphVulnerabilityHistoryAri:()=>Wo,GraphWorkspaceAri:()=>Bo,HelpArticleAri:()=>Jo,HelpChannelAri:()=>Yo,HelpHelpCenterAri:()=>ea,HelpHelpDeskAri:()=>ta,HelpLayoutAri:()=>na,HelpPortalAri:()=>aa,HelpRequestFormAri:()=>ua,IdentityAppAri:()=>da,IdentityAuthPolicyAri:()=>Ia,IdentityCustomerDirectoryAri:()=>fa,IdentityCustomerOrganizationAri:()=>ha,IdentityDirectoryAri:()=>va,IdentityDomainAri:()=>wa,IdentityGroupAri:()=>_a,IdentityOauthClientAri:()=>Ta,IdentityRoleAri:()=>ka,IdentitySiteAri:()=>qa,IdentityTeamAri:()=>Ea,IdentityTeamMemberAri:()=>Ra,IdentityThirdPartyGroupAri:()=>Qa,IdentityThirdPartyUserAri:()=>Ca,IdentityUserAri:()=>za,IdentityUserGrantAri:()=>ja,IdentityUserbaseAri:()=>Ma,JiraAlignEpicAri:()=>hd,JiraAlignInstanceAri:()=>vd,JiraAnnouncementBannerAri:()=>Ua,JiraAvailableFieldsAri:()=>Wa,JiraBranchAri:()=>Ba,JiraBranchHistoryAri:()=>Ja,JiraBuildAri:()=>Ya,JiraBuildHistoryAri:()=>es,JiraBulkOperationTaskAri:()=>ts,JiraCommentAri:()=>ns,JiraCommitAri:()=>as,JiraComponentAri:()=>us,JiraConnectAppAri:()=>ds,JiraCoreRoleAri:()=>wd,JiraCoreSiteAri:()=>_d,JiraDashboardAri:()=>Is,JiraDeploymentAri:()=>fs,JiraDeploymentHistoryAri:()=>hs,JiraDesignAri:()=>vs,JiraDesignHistoryAri:()=>ws,JiraDevopsComponentAri:()=>_s,JiraDocumentAri:()=>Ts,JiraDocumentHistoryAri:()=>ks,JiraEntitlementAri:()=>qs,JiraEntityPropertyAri:()=>Es,JiraFavouriteAri:()=>Rs,JiraFeatureFlagAri:()=>Qs,JiraFeatureFlagHistoryAri:()=>Cs,JiraFilterAri:()=>zs,JiraFilterEmailSubscriptionAri:()=>Ms,JiraIncidentAri:()=>js,JiraIncidentHistoryAri:()=>Us,JiraIssueAri:()=>Ws,JiraIssueAttachmentAri:()=>Bs,JiraIssueCommentAri:()=>Js,JiraIssueFieldMetadataAri:()=>Ys,JiraIssueFieldOptionAri:()=>eu,JiraIssueHistoryAri:()=>tu,JiraIssueLinkAri:()=>nu,JiraIssueLinkTypeAri:()=>au,JiraIssueRemoteLinkAri:()=>uu,JiraIssueSearchViewAri:()=>du,JiraIssueStatusAri:()=>Iu,JiraIssueTypeAri:()=>fu,JiraIssueTypeSchemeAri:()=>hu,JiraIssueTypeSchemeMappingAri:()=>vu,JiraIssueWorklogAri:()=>wu,JiraIssuefieldvalueAri:()=>_u,JiraNavigationConfigAri:()=>Tu,JiraNavigationItemAri:()=>ku,JiraNotificationTypeAri:()=>qu,JiraNotificationTypeSchemeAri:()=>Eu,JiraNotificationUserPreferenceAri:()=>Ru,JiraOperationsWorkspaceAri:()=>Qu,JiraPermissionSchemeAri:()=>Cu,JiraPlanAri:()=>zu,JiraPlanCrossProjectScenarioVersionAri:()=>Mu,JiraPlanCrossProjectVersionAri:()=>ju,JiraPlanScenarioAri:()=>Uu,JiraPlanScenarioIssueAri:()=>Wu,JiraPlanScenarioIssueFieldAri:()=>Bu,JiraPlanScenarioVersionAri:()=>Ju,JiraPostIncidentReviewAri:()=>Yu,JiraPostIncidentReviewHistoryAri:()=>ec,JiraPostIncidentReviewLinkAri:()=>tc,JiraPriorityAri:()=>nc,JiraProductAri:()=>ac,JiraProjectAri:()=>uc,JiraProjectCategoryAri:()=>dc,JiraProjectFeatureAri:()=>Ic,JiraProjectOverviewAri:()=>fc,JiraProjectRoleActorAri:()=>hc,JiraProjectShortcutAri:()=>vc,JiraProjectTypeAri:()=>wc,JiraPullRequestAri:()=>_c,JiraPullRequestHistoryAri:()=>Tc,JiraRemoteLinkAri:()=>kc,JiraRemoteLinkHistoryAri:()=>qc,JiraRepositoryAri:()=>Ec,JiraResolutionAri:()=>Rc,JiraResourceUsageMetricAri:()=>Qc,JiraResourceUsageRecommendationAri:()=>Cc,JiraRoleAri:()=>zc,JiraScreenTabAri:()=>Mc,JiraSecurityContainerAri:()=>jc,JiraSecurityLevelAri:()=>Uc,JiraSecurityWorkspaceAri:()=>Wc,JiraServicedeskApprovalAri:()=>Td,JiraServicedeskCalendarEventAri:()=>kd,JiraServicedeskCannedResponseAri:()=>qd,JiraServicedeskOrganizationAri:()=>Ed,JiraServicedeskQueueAri:()=>Rd,JiraServicedeskRequestTypeAri:()=>Qd,JiraServicedeskRoleAri:()=>Cd,JiraServicedeskSiteAri:()=>zd,JiraServicedeskSlaAri:()=>Md,JiraSiteAri:()=>Bc,JiraSoftwareBoardAri:()=>jd,JiraSoftwareBoardFeatureAri:()=>Ud,JiraSoftwareBoardIssueListAri:()=>Wd,JiraSoftwareCardAri:()=>Bd,JiraSoftwareCardColorAri:()=>Jd,JiraSoftwareCardLayoutAri:()=>Yd,JiraSoftwareCardParentAri:()=>el,JiraSoftwareColumnAri:()=>tl,JiraSoftwareCustomFilterAri:()=>nl,JiraSoftwareRoleAri:()=>al,JiraSoftwareSiteAri:()=>ul,JiraSoftwareSwimlaneAri:()=>dl,JiraSoftwareUserBoardConfigAri:()=>Il,JiraSoftwareViewConfigAri:()=>fl,JiraSprintAri:()=>Jc,JiraUserBroadcastMessageAri:()=>Yc,JiraVersionApproverAri:()=>td,JiraVersionAri:()=>ed,JiraVulnerabilityAri:()=>nd,JiraVulnerabilityHistoryAri:()=>ad,JiraWorkflowAri:()=>ud,JiraWorkflowSchemeAri:()=>dd,JiraWorklogAri:()=>Id,JiraWorkspaceAri:()=>fd,LinkingPlatformDatasourceAri:()=>hl,LoomSiteAri:()=>vl,MakerSpaceGroupAri:()=>wl,MapiRoleAri:()=>_l,MarketingCustomerDomainAri:()=>Tl,MarketplaceTeamAri:()=>kl,MeasurementEmailUuidAri:()=>ql,MeasurementSiteUserAri:()=>El,MeasurementUserAri:()=>Rl,MediaFileAri:()=>Ql,MercuryCommentAri:()=>Cl,MercuryFocusAreaAri:()=>zl,MercuryFocusAreaStatusUpdateAri:()=>Ml,MercuryProgramAri:()=>jl,MercuryProgramStatusUpdateAri:()=>Ul,MercuryRoleAri:()=>Wl,MercurySiteAri:()=>Bl,MercuryWorkspaceAri:()=>Jl,MicrosoftChannelAri:()=>Yl,MicrosoftSharepointDocumentAri:()=>eI,OauthClientAri:()=>tI,OpsgenieAccountLoginAri:()=>nI,OpsgenieAccountSettingsAri:()=>aI,OpsgenieAlertAri:()=>uI,OpsgenieAlertRecipientLinkAri:()=>dI,OpsgenieApiRequestMetricAri:()=>II,OpsgenieCallRoutingAri:()=>fI,OpsgenieCustomRoleAri:()=>hI,OpsgenieDeploymentAri:()=>vI,OpsgenieDeploymentServiceLinkAri:()=>wI,OpsgenieEscalationAri:()=>_I,OpsgenieEventAri:()=>TI,OpsgenieIncidentAlertLinkAri:()=>qI,OpsgenieIncidentAri:()=>kI,OpsgenieIncidentStatusUpdateAri:()=>EI,OpsgenieIncomingCallHistoryAri:()=>RI,OpsgenieIntegrationAri:()=>QI,OpsgenieNotificationAri:()=>CI,OpsgenieRoleAri:()=>zI,OpsgenieScheduleAri:()=>MI,OpsgenieScheduleRotationAri:()=>jI,OpsgenieSiteAri:()=>UI,OpsgenieTeamAri:()=>WI,OpsgenieTimelineAri:()=>BI,OpsgenieWorkspaceAri:()=>JI,OrgPolicyPolicyAri:()=>YI,PapiApiAri:()=>ep,PapiRoleAri:()=>tp,PassionfruitUserAri:()=>np,PeopleDataCostCenterAri:()=>ap,PeopleDataJobProfileAri:()=>up,PeopleDataPositionAri:()=>dp,PeopleDataSupervisoryOrgAri:()=>Ip,PeopleDataWorkerAri:()=>fp,PeoplePerftoolCalibrationAri:()=>hp,PeoplePerftoolFeedbackAri:()=>vp,PeoplePerftoolPerformanceAri:()=>wp,PlatformClassificationTagAri:()=>_p,PlatformIntegrationAri:()=>Tp,PlatformLifecycleResourceAri:()=>kp,PlatformLifecycleResourcePackageAri:()=>qp,PlatformLifecycleResourcePackageTypeAri:()=>Ep,PlatformOrgAri:()=>Rp,PlatformOrgUserAri:()=>Qp,PlatformSecureTunnelAri:()=>Cp,PlatformServicesStreamhubSchemaAri:()=>Mp,PlatformSiteAri:()=>zp,PollinatorCheckAri:()=>jp,PostOfficeMessageInstanceAri:()=>Up,PostOfficeMessageTemplateAri:()=>Wp,ResourceOwner:()=>_,ResourceType:()=>b,RovoSiteAri:()=>Bp,RuntimeAuthClientRoleAri:()=>Jp,SearchEventAri:()=>Yp,SearchForwardDocumentAri:()=>ef,SearchForwardDocumentSubscriptionAri:()=>tf,SlackChannelAri:()=>of,SlackMessageAri:()=>sf,StatuspageRoleAri:()=>cf,StatuspageSiteAri:()=>lf,SupportCustomerAri:()=>pf,TeamsTeamAri:()=>mf,TownsquareCommentAri:()=>gf,TownsquareGoalAri:()=>yf,TownsquareHelpPointerAri:()=>Sf,TownsquareLearningAri:()=>bf,TownsquareProjectAri:()=>Of,TownsquareQuestionAri:()=>Af,TownsquareRoleAri:()=>Vf,TownsquareSiteAri:()=>xf,TownsquareTagAri:()=>$f,TownsquareWorkspaceAri:()=>Nf,TrelloAttachmentAri:()=>Ff,TrelloBoardAri:()=>Lf,TrelloCardAri:()=>Pf,TrelloEnterpriseAri:()=>Zf,TrelloListAri:()=>Df,TrelloRoleAri:()=>Kf,TrelloSiteAri:()=>Gf,TrelloUserAri:()=>Hf,TrelloWorkspaceAri:()=>Xf,UnifiedHelpRoleAri:()=>rm,UnifiedHelpSiteAri:()=>im,UnifiedHelpWorkspaceAri:()=>om,UnifiedPortableProfileLinkedAccountAri:()=>sm,UnifiedPortableProfileParentAccountAri:()=>cm,UnifiedPortableProfileUnifiedAccountAri:()=>lm,UnifiedPortableProfileUnifiedProfileAri:()=>pm,ValidationError:()=>s,VirtualAgentConfigurationAri:()=>mm,VirtualAgentConversationAri:()=>gm,VirtualAgentFlowEditorAri:()=>ym,VirtualAgentIntentProjectionAri:()=>Sm,VirtualAgentIntentQuestionProjectionAri:()=>bm,VirtualAgentIntentRuleProjectionAri:()=>Om,VirtualAgentIntentTemplateAri:()=>Am,WorkatoJobAri:()=>Vm,WorkatoRecipeAri:()=>xm,WorkdayCostCenterAri:()=>$m,WorkdayJobProfileAri:()=>Nm,WorkdayPositionAri:()=>Fm,WorkdayStaffAri:()=>Lm,WorkdaySupervisoryOrgAri:()=>Pm,WorkdayWorkerAri:()=>Zm}),e.exports=(r=a,((e,r,a,s)=>{if(r&&"object"==typeof r||"function"==typeof r)for(let a of n(r))!o.call(e,a)&&undefined!==a&&t(e,a,{get:()=>r[a],enumerable:!(s=i(r,a))||s.enumerable});return e})(t({},"__esModule",{value:!0}),r));var s=class extends Error{};function u(e){if("cloud"!==e&&"third-party"!==e)throw new s(`Identifier must have a qualifier of 'cloud' or 'third-party'. Received: ${e}`)}function c(e){if("ati"!==e)throw new s(`ATI must have a qualifier of 'ati'. Received: ${e}`)}function d(e,r){if(r&&e!==r)throw new s(`Invalid resource owner - ${e}, expected ${r}.`)}function l(e,r){if(r&&e!==r)throw new s(`Invalid resource type - ${e}, expected ${r}.`)}var I=class{static getIdentifierSegments(e,r){let t=e.split(":");if(t.length<r)throw new s(`Input string must have ${r} segments.`);return t.length>r?[...t.slice(0,4),t.slice(4,t.length).join(":")]:t}},p=class extends I{static fromString(e,r){let t=this.getIdentifierSegments(e,5),[i,n,o,a,s]=t,[u,...c]=s.split("/"),d={qualifier:i,platformQualifier:n,cloudId:a,resourceOwner:o,resourceType:u,resourceId:c.join("/"),resourceIdSegmentValues:null!=r&&r.resourceIdSlug?this.ariSegmentValuesFromSlug(r.resourceIdSlug,c.join("/"),Object.keys(r.resourceIdSegmentFormats)):{}};return this.fromOpts(d,r)}static fromOpts(e,r){let{qualifier:t="ari",platformQualifier:i="cloud",resourceOwner:n,cloudId:o,resourceId:a,resourceIdSegmentValues:c,resourceType:I}=e;return function(e){if("ari"!==e)throw new s(`ARI must have a qualifier of 'ari'. Received: ${e}`)}(t),u(i),function(e,r=new RegExp("^[a-zA-Z0-9\\-]*$")){if(!e.match(r))throw new s(`Invalid cloud ID, expected ID of format ${r}.`)}(e.cloudId||"",null==r?void 0:r.cloudId),d(n,null==r?void 0:r.resourceOwner),l(I,null==r?void 0:r.resourceType),function(e,r){Object.entries(e).forEach((([e,t])=>{!function(e,r=new RegExp("[!a-zA-Z0-9\\-_.~@:{}=]+(/[!a-zA-Z0-9\\-_.~@:{}=]+)*"),t="resourceId"){let i=new RegExp(`^${r.source}$`);if(!e.match(i))throw new s(`Invalid ${t} - ${e}, expected ID of format ${i}.`)}(t,null==r?void 0:r[e],e)}))}(c,null==r?void 0:r.resourceIdSegmentFormats),{qualifier:t,resourceOwner:n,resourceType:I,platformQualifier:i,cloudId:o,resourceId:a,resourceIdSegmentValues:c}}static ariSegmentValuesFromSlug(e,r,t){let i=new RegExp("^"+e.replace(/\{(.*?)\}/g,"(?<$1>.*?)")+"$").exec(r);if(!i)throw new s(`Segment '${r}' don't match expected slug: ${e}`);return t.forEach((r=>{var t;if(null==(t=i.groups)||!t[r])throw new s(`No value supplied for '${r}' based on slug ${e}`)})),i.groups||{}}},f=class extends I{static fromString(e,r){let t=this.getIdentifierSegments(e,4),[i="ati",n="cloud",o,a]=t;return c(i),u(n),d(o,null==r?void 0:r.resourceOwner),l(a,null==r?void 0:r.resourceType),{platformQualifier:n,resourceOwner:o,resourceType:a}}static fromOpts(e,r){let{qualifier:t,platformQualifier:i,resourceOwner:n,resourceType:o}=e;return c(t),u(i),d(n,null==r?void 0:r.resourceOwner),l(o,null==r?void 0:r.resourceType),{platformQualifier:i,resourceOwner:n,resourceType:o}}},m=class e{constructor(e,r,t){this._platformQualifier=e,this._resourceOwner=r,this._resourceType=t}get platformQualifier(){return this._platformQualifier}get resourceOwner(){return this._resourceOwner}get resourceType(){return this._resourceType}static create(r){return new e(r.platformQualifier||"cloud",r.resourceOwner,r.resourceType)}static parse(r,t){let i=f.fromString(r,t);return new e(i.platformQualifier,i.resourceOwner,i.resourceType)}toString(){return`ati:${this.platformQualifier}:${this.resourceOwner}:${this.resourceType}`}toJSON(){return this.toString()}toOpts(){return{platformQualifier:this._platformQualifier,resourceOwner:this._resourceOwner,resourceType:this._resourceType}}},h=class{constructor(e){this._ati=m.create({platformQualifier:e.platformQualifier||"cloud",resourceOwner:e.resourceOwner,resourceType:e.resourceType}),this._cloudId=""!==e.cloudId?e.cloudId:void 0,this._resourceId=e.resourceId}get platformQualifier(){return this._ati.platformQualifier}get cloudId(){return this._cloudId}get resourceOwner(){return this._ati.resourceOwner}get resourceType(){return this._ati.resourceType}get resourceId(){return this._resourceId}get ati(){return this._ati}equals(e){return this.toString()===e.toString()}toString(){return`ari:${this.platformQualifier}:${this.resourceOwner}:${this.cloudId||""}:${this.resourceType}/${this.resourceId}`}toJSON(){return this.toString()}toOpts(){return{platformQualifier:this.platformQualifier,resourceOwner:this.resourceOwner,cloudId:this.cloudId,resourceType:this.resourceType,resourceId:this.resourceId}}},g=class e extends h{constructor(e){super(e)}static create(r,t){let i={...r,resourceIdSegmentValues:{}},n=p.fromOpts(i,t);return new e(n)}static parse(r,t){let i=p.fromString(r,t);return new e(i)}static check(r){try{return e.parse(r.toString()),!0}catch(e){return!1}}asAnyAri(){return this}};function v(e){if(!e)throw Error("Matcher must be defined");y(e)}function y(e){try{new RegExp(e)}catch(e){throw Error("Invalid matcher sequence")}}var w=class extends I{static fromString(e){let r=this.getIdentifierSegments(e,5),[t,i,n,o,a]=r,[s,u]=a.split("/"),c={qualifier:t,platformQualifier:i,cloudIdMatcher:o,resourceOwnerMatcher:n,resourceTypeMatcher:s,resourceIdMatcher:u};return this.fromOpts(c)}static fromOpts(e){let{qualifier:r="arm",platformQualifier:t="cloud",cloudIdMatcher:i,resourceOwnerMatcher:n,resourceTypeMatcher:o,resourceIdMatcher:a}=e;return function(e){if("arm"!==e)throw new s(`ARM must have a qualifier of 'arm'. Received: ${e}`)}(r),u(t),0!==(c=i).length&&y(c),v(n),v(o),v(a),{platformQualifier:t,cloudIdMatcher:i,resourceOwnerMatcher:n,resourceTypeMatcher:o,resourceIdMatcher:a};var c}},S=class e{static create(r){let t=w.fromOpts({...r,qualifier:"arm",platformQualifier:r.platformQualifier||"cloud",cloudIdMatcher:r.cloudIdMatcher});return new e(t)}static parse(r){let t=w.fromString(r);return new e(t)}constructor(e){this._platformQualifier=e.platformQualifier,this._cloudIdMatcher=e.cloudIdMatcher,this._resourceOwnerMatcher=e.resourceOwnerMatcher,this._resourceTypeMatcher=e.resourceTypeMatcher,this._resourceIdMatcher=e.resourceIdMatcher}get platformQualifier(){return this._platformQualifier}get cloudIdMatcher(){return this._cloudIdMatcher}get resourceOwnerMatcher(){return this._resourceOwnerMatcher}get resourceTypeMatcher(){return this._resourceTypeMatcher}get resourceIdMatcher(){return this._resourceIdMatcher}match(e){var r,t;let i=null!=(r=e.cloudId)?r:"",n=e.resourceOwner,o=e.resourceType,a=e.resourceId;return!!(new RegExp(null!=(t=this.cloudIdMatcher)?t:"").test(i)&&new RegExp(this.resourceOwnerMatcher).test(n)&&new RegExp(this.resourceTypeMatcher).test(o)&&new RegExp(this.resourceIdMatcher).test(a))}equals(e){return this.toString()===e.toString()}toString(){let{platformQualifier:e,resourceOwnerMatcher:r,cloudIdMatcher:t="",resourceTypeMatcher:i,resourceIdMatcher:n}=this;return`arm:${e}:${r}:${t}:${i}/${n}`}toJSON(){return this.toString()}toOpts(){return{platformQualifier:this.platformQualifier,cloudIdMatcher:this.cloudIdMatcher,resourceOwnerMatcher:this.resourceOwnerMatcher,resourceTypeMatcher:this.resourceTypeMatcher,resourceIdMatcher:this.resourceIdMatcher}}},_=(e=>(e.Analytics="analytics",e.ApprovalDesk="approval-desk",e.Atlashub="atlashub",e.Automation="automation",e.Avocado="avocado",e.Avp="avp",e.Beacon="beacon",e.Bitbucket="bitbucket",e.Brie="brie",e.Canvas="canvas",e.Cmdb="cmdb",e.Commerce="commerce",e.Compass="compass",e.Confluence="confluence",e.ConnectionRegistry="connection-registry",e.ConversationalHelp="conversational-help",e.DataLake="data-lake",e.Devops="devops",e.Ecosystem="ecosystem",e.Elements="elements",e.ExusExternal="exus-external",e.Figma="figma",e.Google="google",e.Graph="graph",e.Help="help",e.Identity="identity",e.Jira="jira",e.JiraAlign="jira-align",e.JiraCore="jira-core",e.JiraServicedesk="jira-servicedesk",e.JiraSoftware="jira-software",e.LinkingPlatform="linking-platform",e.Loom="loom",e.MakerSpace="maker-space",e.Mapi="mapi",e.Marketing="marketing",e.Marketplace="marketplace",e.Measurement="measurement",e.Media="media",e.Mercury="mercury",e.Microsoft="microsoft",e.Oauth="oauth",e.Opsgenie="opsgenie",e.OrgPolicy="org-policy",e.Papi="papi",e.Passionfruit="passionfruit",e.PeopleData="people-data",e.PeoplePerftool="people-perftool",e.Platform="platform",e.PlatformServices="platform-services",e.Pollinator="pollinator",e.PostOffice="post-office",e.Rovo="rovo",e.RuntimeAuthClient="runtime-auth-client",e.Search="search",e.Slack="slack",e.Statuspage="statuspage",e.Support="support",e.Teams="teams",e.Townsquare="townsquare",e.Trello="trello",e.UnifiedHelp="unified-help",e.UnifiedPortableProfile="unified-portable-profile",e.VirtualAgent="virtual-agent",e.Workato="workato",e.Workday="workday",e))(_||{}),b=(e=>(e.AccountLogin="account-login",e.AccountSettings="account-settings",e.AdminAnnouncementBanner="admin-announcement-banner",e.Alert="alert",e.AlertRecipientLink="alert-recipient-link",e.AnnouncementBanner="announcement-banner",e.Answer="answer",e.Api="api",e.ApiRequestMetric="api-request-metric",e.App="app",e.AppEnvironmentVersion="app-environment-version",e.Approval="approval",e.Article="article",e.AssistantAnswer="assistant-answer",e.Attachment="attachment",e.Attribute="attribute",e.AuthPolicy="auth-policy",e.AvailableFields="available-fields",e.Blogpost="blogpost",e.Board="board",e.BoardFeature="board-feature",e.BoardIssueList="board-issue-list",e.Branch="branch",e.BranchHistory="branch-history",e.Build="build",e.BuildHistory="build-history",e.BulkOperationTask="bulk-operation-task",e.CalendarEvent="calendar-event",e.Calibration="calibration",e.CallRouting="call-routing",e.CannedResponse="canned-response",e.Card="card",e.CardColor="card-color",e.CardLayout="card-layout",e.CardParent="card-parent",e.CatalogAccount="catalog-account",e.Change="change",e.Channel="channel",e.Check="check",e.ClassificationTag="classification-tag",e.Client="client",e.Column="column",e.Comment="comment",e.Commit="commit",e.Component="component",e.ComponentLabel="component-label",e.ComponentLink="component-link",e.Configuration="configuration",e.ConnectApp="connect-app",e.Container="container",e.Content="content",e.Conversation="conversation",e.ConversationMessage="conversation-message",e.CostCenter="cost-center",e.CustomDetection="custom-detection",e.CustomEmojiMetadata="custom-emoji-metadata",e.Customer="customer",e.CustomerDirectory="customer-directory",e.CustomerDomain="customer-domain",e.CustomerOrganization="customer-organization",e.CustomFieldDefinition="custom-field-definition",e.CustomFilter="custom-filter",e.CustomRole="custom-role",e.Dashboard="dashboard",e.Database="database",e.Datasource="datasource",e.DecisionTable="decision-table",e.Deployment="deployment",e.DeploymentHistory="deployment-history",e.DeploymentServiceLink="deployment-service-link",e.Design="design",e.DesignHistory="design-history",e.Detection="detection",e.DetectionSetting="detection-setting",e.DevopsComponent="devops-component",e.Directory="directory",e.Document="document",e.DocumentationCategory="documentation-category",e.DocumentHistory="document-history",e.Domain="domain",e.EmailUuid="email-uuid",e.Embed="embed",e.Employee="employee",e.EmployeeHistory="employee-history",e.Enterprise="enterprise",e.Entitlement="entitlement",e.EntitlementTemplate="entitlement-template",e.EntityProperty="entity-property",e.Environment="environment",e.Epic="epic",e.Escalation="escalation",e.Event="event",e.EventSource="event-source",e.Extension="extension",e.ExtensionGroup="extension-group",e.Favourite="favourite",e.FeatureFlag="feature-flag",e.FeatureFlagHistory="feature-flag-history",e.Feedback="feedback",e.File="file",e.Filter="filter",e.FilterEmailSubscription="filter-email-subscription",e.FlowEditor="flow-editor",e.FocusArea="focus-area",e.FocusAreaStatusUpdate="focus-area-status-update",e.Folder="folder",e.Form="form",e.ForwardDocument="forward-document",e.ForwardDocumentSubscription="forward-document-subscription",e.Goal="goal",e.Group="group",e.HelpCenter="help-center",e.HelpDesk="help-desk",e.HelpPointer="help-pointer",e.Id="id",e.ImportConfiguration="import-configuration",e.Incident="incident",e.IncidentAlertLink="incident-alert-link",e.IncidentHistory="incident-history",e.IncidentStatusUpdate="incident-status-update",e.IncomingCallHistory="incoming-call-history",e.IncomingWebhook="incoming-webhook",e.Initiative="initiative",e.Installation="installation",e.Instance="instance",e.Integration="integration",e.IntentProjection="intent-projection",e.IntentQuestionProjection="intent-question-projection",e.IntentRuleProjection="intent-rule-projection",e.IntentTemplate="intent-template",e.InvoiceGroup="invoice-group",e.Issue="issue",e.IssueAttachment="issue-attachment",e.IssueComment="issue-comment",e.IssueFieldMetadata="issue-field-metadata",e.IssueFieldOption="issue-field-option",e.Issuefieldvalue="issuefieldvalue",e.IssueHistory="issue-history",e.IssueLink="issue-link",e.IssueLinkType="issue-link-type",e.IssueRemoteLink="issue-remote-link",e.IssueSearchView="issue-search-view",e.IssueStatus="issue-status",e.IssueType="issue-type",e.IssueTypeScheme="issue-type-scheme",e.IssueTypeSchemeMapping="issue-type-scheme-mapping",e.IssueWorklog="issue-worklog",e.JiraProjectAndDevopsToolRelationship="jira-project-and-devops-tool-relationship",e.JiraProjectAndDocumentationSpaceRelationship="jira-project-and-documentation-space-relationship",e.JiraProjectAndOperationsTeamRelationship="jira-project-and-operations-team-relationship",e.JiraProjectAndVcsRepositoryRelationship="jira-project-and-vcs-repository-relationship",e.JiraProjectAndVcsRepositoryRelationshipTempMigration="jira-project-and-vcs-repository-relationship-temp-migration",e.Job="job",e.JobProfile="job-profile",e.LakeConnection="lake-connection",e.Layout="layout",e.Learning="learning",e.LifecycleResource="lifecycle-resource",e.LifecycleResourcePackage="lifecycle-resource-package",e.LifecycleResourcePackageType="lifecycle-resource-package-type",e.Link="link",e.LinkedAccount="linked-account",e.List="list",e.LongRunningTask="long-running-task",e.Message="message",e.MessageInstance="message-instance",e.MessageTemplate="message-template",e.MetricDefinition="metric-definition",e.MetricSource="metric-source",e.Namespace="namespace",e.NavigationConfig="navigation-config",e.NavigationItem="navigation-item",e.Note="note",e.Notification="notification",e.NotificationType="notification-type",e.NotificationTypeScheme="notification-type-scheme",e.NotificationUserPreference="notification-user-preference",e.OauthClient="oauthClient",e.OauthConsumer="oauth-consumer",e.Object="object",e.Offering="offering",e.OfferingRelationshipTemplate="offering-relationship-template",e.OperationsWorkspace="operations-workspace",e.Order="order",e.Org="org",e.Organization="organization",e.OrgUser="org-user",e.Page="page",e.ParentAccount="parent-account",e.PaymentMethod="payment-method",e.Performance="performance",e.PermissionScheme="permission-scheme",e.Plan="plan",e.PlanCrossProjectScenarioVersion="plan-cross-project-scenario-version",e.PlanCrossProjectVersion="plan-cross-project-version",e.PlanScenario="plan-scenario",e.PlanScenarioIssue="plan-scenario-issue",e.PlanScenarioIssueField="plan-scenario-issue-field",e.PlanScenarioVersion="plan-scenario-version",e.Policy="policy",e.Portal="portal",e.Position="position",e.PostIncidentReview="post-incident-review",e.PostIncidentReviewHistory="post-incident-review-history",e.PostIncidentReviewLink="post-incident-review-link",e.Presentation="presentation",e.PricingPlan="pricing-plan",e.Priority="priority",e.Product="product",e.Program="program",e.ProgramStatusUpdate="program-status-update",e.Project="project",e.ProjectCategory="project-category",e.ProjectFeature="project-feature",e.ProjectOverview="project-overview",e.ProjectRoleActor="project-role-actor",e.ProjectShortcut="project-shortcut",e.ProjectType="project-type",e.Promotion="promotion",e.Provider="provider",e.PublicLink="public-link",e.Pullrequest="pullrequest",e.PullRequest="pull-request",e.PullRequestHistory="pull-request-history",e.Question="question",e.Queue="queue",e.Quote="quote",e.Recipe="recipe",e.Relationship="relationship",e.RemoteLink="remote-link",e.RemoteLinkHistory="remote-link-history",e.Repository="repository",e.RepositoryTransfer="repository-transfer",e.RequestForm="request-form",e.RequestType="request-type",e.Resolution="resolution",e.ResourceUsageMetric="resource-usage-metric",e.ResourceUsageRecommendation="resource-usage-recommendation",e.Role="role",e.Rule="rule",e.Schedule="schedule",e.ScheduleRotation="schedule-rotation",e.Schema="schema",e.Scorecard="scorecard",e.ScreenTab="screen-tab",e.SecureTunnel="secure-tunnel",e.SecurityContainer="security-container",e.SecurityLevel="security-level",e.SecurityWorkspace="security-workspace",e.Service="service",e.ServiceAndJiraProjectRelationship="service-and-jira-project-relationship",e.ServiceAndOperationsTeamRelationship="service-and-operations-team-relationship",e.ServiceAndVcsRepositoryRelationship="service-and-vcs-repository-relationship",e.ServiceRelationship="service-relationship",e.SharepointDocument="sharepoint-document",e.ShipToParty="ship-to-party",e.Site="site",e.SiteUser="site-user",e.Sla="sla",e.Space="space",e.Spreadsheet="spreadsheet",e.Sprint="sprint",e.Staff="staff",e.StreamhubSchema="streamhub-schema",e.Subscription="subscription",e.SupervisoryOrg="supervisory-org",e.Swimlane="swimlane",e.Tag="tag",e.Task="task",e.Team="team",e.TeamCalendar="team-calendar",e.TeamMember="team-member",e.ThirdPartyGroup="third-party-group",e.ThirdPartyUser="third-party-user",e.Timeline="timeline",e.Tool="tool",e.TransactionAccount="transaction-account",e.Type="type",e.UnifiedAccount="unified-account",e.UnifiedProfile="unified-profile",e.User="user",e.Userbase="userbase",e.UserBoardConfig="user-board-config",e.UserBroadcastMessage="user-broadcast-message",e.UserDefinedParameter="user-defined-parameter",e.UserGrant="userGrant",e.UserProperty="user-property",e.Version="version",e.VersionApprover="version-approver",e.Video="video",e.VideoHistory="video-history",e.ViewConfig="view-config",e.Vulnerability="vulnerability",e.VulnerabilityHistory="vulnerability-history",e.Webhook="webhook",e.Whiteboard="whiteboard",e.WorkbenchResource="workbench-resource",e.Worker="worker",e.Workflow="workflow",e.WorkflowScheme="workflow-scheme",e.Worklog="worklog",e.Workspace="workspace",e))(b||{}),T=class extends h{static check(e){try{return this.parse(e.toString()),!0}catch(e){return!1}}asAnyAri(){return g.parse(this.toString())}},O={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"analytics",resourceType:"user",resourceIdSlug:"anonymous/{anonUserId}",resourceIdSegmentFormats:{anonUserId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},k=class e extends T{constructor(e){super(e),this._anonUserId=e.resourceIdSegmentValues.anonUserId}get anonUserId(){return this._anonUserId}static create(r){let t={qualifier:O.qualifier,platformQualifier:O.platformQualifier,cloudId:void 0,resourceOwner:O.resourceOwner,resourceType:O.resourceType,resourceId:`anonymous/${r.anonUserId}`,resourceIdSegmentValues:{anonUserId:r.anonUserId}},i=p.fromOpts(t,O);return new e(i)}static parse(r){let t=p.fromString(r,O);return new e(t)}getVariables(){return{anonUserId:this.anonUserId}}},A={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"approval-desk",resourceType:"decision-table",resourceIdSlug:"{workspaceId}/{workflowId}/{decisionTableId}",resourceIdSegmentFormats:{workspaceId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/,workflowId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/,decisionTableId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},q=class e extends T{constructor(e){super(e),this._workspaceId=e.resourceIdSegmentValues.workspaceId,this._workflowId=e.resourceIdSegmentValues.workflowId,this._decisionTableId=e.resourceIdSegmentValues.decisionTableId}get workspaceId(){return this._workspaceId}get workflowId(){return this._workflowId}get decisionTableId(){return this._decisionTableId}static create(r){let t={qualifier:A.qualifier,platformQualifier:A.platformQualifier,cloudId:void 0,resourceOwner:A.resourceOwner,resourceType:A.resourceType,resourceId:`${r.workspaceId}/${r.workflowId}/${r.decisionTableId}`,resourceIdSegmentValues:{workspaceId:r.workspaceId,workflowId:r.workflowId,decisionTableId:r.decisionTableId}},i=p.fromOpts(t,A);return new e(i)}static parse(r){let t=p.fromString(r,A);return new e(t)}getVariables(){return{workspaceId:this.workspaceId,workflowId:this.workflowId,decisionTableId:this.decisionTableId}}},V={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"approval-desk",resourceType:"role",resourceIdSlug:"{scope}/{roleId}",resourceIdSegmentFormats:{scope:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/,roleId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},E=class e extends T{constructor(e){super(e),this._scope=e.resourceIdSegmentValues.scope,this._roleId=e.resourceIdSegmentValues.roleId}get scope(){return this._scope}get roleId(){return this._roleId}static create(r){let t={qualifier:V.qualifier,platformQualifier:V.platformQualifier,cloudId:void 0,resourceOwner:V.resourceOwner,resourceType:V.resourceType,resourceId:`${r.scope}/${r.roleId}`,resourceIdSegmentValues:{scope:r.scope,roleId:r.roleId}},i=p.fromOpts(t,V);return new e(i)}static parse(r){let t=p.fromString(r,V);return new e(t)}getVariables(){return{scope:this.scope,roleId:this.roleId}}},x={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"approval-desk",resourceType:"workflow",resourceIdSlug:"{workspaceId}/{workflowId}",resourceIdSegmentFormats:{workspaceId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/,workflowId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},R=class e extends T{constructor(e){super(e),this._workspaceId=e.resourceIdSegmentValues.workspaceId,this._workflowId=e.resourceIdSegmentValues.workflowId}get workspaceId(){return this._workspaceId}get workflowId(){return this._workflowId}static create(r){let t={qualifier:x.qualifier,platformQualifier:x.platformQualifier,cloudId:void 0,resourceOwner:x.resourceOwner,resourceType:x.resourceType,resourceId:`${r.workspaceId}/${r.workflowId}`,resourceIdSegmentValues:{workspaceId:r.workspaceId,workflowId:r.workflowId}},i=p.fromOpts(t,x);return new e(i)}static parse(r){let t=p.fromString(r,x);return new e(t)}getVariables(){return{workspaceId:this.workspaceId,workflowId:this.workflowId}}},$={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"approval-desk",resourceType:"workspace",resourceIdSlug:"{workspaceId}",resourceIdSegmentFormats:{workspaceId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},Q=class e extends T{constructor(e){super(e),this._workspaceId=e.resourceIdSegmentValues.workspaceId}get workspaceId(){return this._workspaceId}static create(r){let t={qualifier:$.qualifier,platformQualifier:$.platformQualifier,cloudId:void 0,resourceOwner:$.resourceOwner,resourceType:$.resourceType,resourceId:`${r.workspaceId}`,resourceIdSegmentValues:{workspaceId:r.workspaceId}},i=p.fromOpts(t,$);return new e(i)}static parse(r){let t=p.fromString(r,$);return new e(t)}getVariables(){return{workspaceId:this.workspaceId}}},N={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"atlashub",resourceType:"id",resourceIdSlug:"{id}",resourceIdSegmentFormats:{id:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},C=class e extends T{constructor(e){super(e),this._id=e.resourceIdSegmentValues.id}get id(){return this._id}static create(r){let t={qualifier:N.qualifier,platformQualifier:N.platformQualifier,cloudId:void 0,resourceOwner:N.resourceOwner,resourceType:N.resourceType,resourceId:`${r.id}`,resourceIdSegmentValues:{id:r.id}},i=p.fromOpts(t,N);return new e(i)}static parse(r){let t=p.fromString(r,N);return new e(t)}getVariables(){return{id:this.id}}},F={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"atlashub",resourceType:"site",resourceIdSlug:"{siteId}",resourceIdSegmentFormats:{siteId:/[a-zA-Z0-9\-]+/}},z=class e extends T{constructor(e){super(e),this._siteId=e.resourceIdSegmentValues.siteId}get siteId(){return this._siteId}static create(r){let t={qualifier:F.qualifier,platformQualifier:F.platformQualifier,cloudId:void 0,resourceOwner:F.resourceOwner,resourceType:F.resourceType,resourceId:`${r.siteId}`,resourceIdSegmentValues:{siteId:r.siteId}},i=p.fromOpts(t,F);return new e(i)}static parse(r){let t=p.fromString(r,F);return new e(t)}getVariables(){return{siteId:this.siteId}}},L={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"automation",resourceType:"role",resourceIdSlug:"{roleId}",resourceIdSegmentFormats:{roleId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},M=class e extends T{constructor(e){super(e),this._roleId=e.resourceIdSegmentValues.roleId}get roleId(){return this._roleId}static create(r){let t={qualifier:L.qualifier,platformQualifier:L.platformQualifier,cloudId:void 0,resourceOwner:L.resourceOwner,resourceType:L.resourceType,resourceId:`${r.roleId}`,resourceIdSegmentValues:{roleId:r.roleId}},i=p.fromOpts(t,L);return new e(i)}static parse(r){let t=p.fromString(r,L);return new e(t)}getVariables(){return{roleId:this.roleId}}},P={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"automation",resourceType:"rule",resourceIdSlug:"{ruleId}",resourceIdSegmentFormats:{ruleId:/[0-9]+/}},j=class e extends T{constructor(e){super(e),this._ruleId=e.resourceIdSegmentValues.ruleId}get ruleId(){return this._ruleId}static create(r){let t={qualifier:P.qualifier,platformQualifier:P.platformQualifier,cloudId:void 0,resourceOwner:P.resourceOwner,resourceType:P.resourceType,resourceId:`${r.ruleId}`,resourceIdSegmentValues:{ruleId:r.ruleId}},i=p.fromOpts(t,P);return new e(i)}static parse(r){let t=p.fromString(r,P);return new e(t)}getVariables(){return{ruleId:this.ruleId}}},Z={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"avocado",resourceType:"answer",resourceIdSlug:"activation/{workspaceId}/{answerId}",resourceIdSegmentFormats:{workspaceId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/,answerId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},U=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._workspaceId=e.resourceIdSegmentValues.workspaceId,this._answerId=e.resourceIdSegmentValues.answerId}get siteId(){return this._siteId}get workspaceId(){return this._workspaceId}get answerId(){return this._answerId}static create(r){let t={qualifier:Z.qualifier,platformQualifier:Z.platformQualifier,cloudId:r.siteId,resourceOwner:Z.resourceOwner,resourceType:Z.resourceType,resourceId:`activation/${r.workspaceId}/${r.answerId}`,resourceIdSegmentValues:{workspaceId:r.workspaceId,answerId:r.answerId}},i=p.fromOpts(t,Z);return new e(i)}static parse(r){let t=p.fromString(r,Z);return new e(t)}getVariables(){return{siteId:this.siteId,workspaceId:this.workspaceId,answerId:this.answerId}}},D={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"avocado",resourceType:"question",resourceIdSlug:"activation/{workspaceId}/{questionId}",resourceIdSegmentFormats:{workspaceId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/,questionId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},W=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._workspaceId=e.resourceIdSegmentValues.workspaceId,this._questionId=e.resourceIdSegmentValues.questionId}get siteId(){return this._siteId}get workspaceId(){return this._workspaceId}get questionId(){return this._questionId}static create(r){let t={qualifier:D.qualifier,platformQualifier:D.platformQualifier,cloudId:r.siteId,resourceOwner:D.resourceOwner,resourceType:D.resourceType,resourceId:`activation/${r.workspaceId}/${r.questionId}`,resourceIdSegmentValues:{workspaceId:r.workspaceId,questionId:r.questionId}},i=p.fromOpts(t,D);return new e(i)}static parse(r){let t=p.fromString(r,D);return new e(t)}getVariables(){return{siteId:this.siteId,workspaceId:this.workspaceId,questionId:this.questionId}}},K={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"avocado",resourceType:"role",resourceIdSlug:"product/{roleType}",resourceIdSegmentFormats:{roleType:/(?:member|admin)/}},B=class e extends T{constructor(e){super(e),this._roleType=e.resourceIdSegmentValues.roleType}get roleType(){return this._roleType}static create(r){let t={qualifier:K.qualifier,platformQualifier:K.platformQualifier,cloudId:void 0,resourceOwner:K.resourceOwner,resourceType:K.resourceType,resourceId:`product/${r.roleType}`,resourceIdSegmentValues:{roleType:r.roleType}},i=p.fromOpts(t,K);return new e(i)}static parse(r){let t=p.fromString(r,K);return new e(t)}getVariables(){return{roleType:this.roleType}}},G={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"avocado",resourceType:"site",resourceIdSlug:"{siteId}",resourceIdSegmentFormats:{siteId:/[a-zA-Z0-9\-]+/}},J=class e extends T{constructor(e){super(e),this._siteId=e.resourceIdSegmentValues.siteId}get siteId(){return this._siteId}static create(r){let t={qualifier:G.qualifier,platformQualifier:G.platformQualifier,cloudId:void 0,resourceOwner:G.resourceOwner,resourceType:G.resourceType,resourceId:`${r.siteId}`,resourceIdSegmentValues:{siteId:r.siteId}},i=p.fromOpts(t,G);return new e(i)}static parse(r){let t=p.fromString(r,G);return new e(t)}getVariables(){return{siteId:this.siteId}}},H={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"avocado",resourceType:"user",resourceIdSlug:"{userId}",resourceIdSegmentFormats:{userId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},Y=class e extends T{constructor(e){super(e),this._userId=e.resourceIdSegmentValues.userId}get userId(){return this._userId}static create(r){let t={qualifier:H.qualifier,platformQualifier:H.platformQualifier,cloudId:void 0,resourceOwner:H.resourceOwner,resourceType:H.resourceType,resourceId:`${r.userId}`,resourceIdSegmentValues:{userId:r.userId}},i=p.fromOpts(t,H);return new e(i)}static parse(r){let t=p.fromString(r,H);return new e(t)}getVariables(){return{userId:this.userId}}},X={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"avp",resourceType:"dashboard",resourceIdSlug:"activation/{activationId}/{dashboardId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,dashboardId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},ee=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._activationId=e.resourceIdSegmentValues.activationId,this._dashboardId=e.resourceIdSegmentValues.dashboardId}get siteId(){return this._siteId}get activationId(){return this._activationId}get dashboardId(){return this._dashboardId}static create(r){let t={qualifier:X.qualifier,platformQualifier:X.platformQualifier,cloudId:r.siteId,resourceOwner:X.resourceOwner,resourceType:X.resourceType,resourceId:`activation/${r.activationId}/${r.dashboardId}`,resourceIdSegmentValues:{activationId:r.activationId,dashboardId:r.dashboardId}},i=p.fromOpts(t,X);return new e(i)}static parse(r){let t=p.fromString(r,X);return new e(t)}getVariables(){return{siteId:this.siteId,activationId:this.activationId,dashboardId:this.dashboardId}}},re={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"avp",resourceType:"datasource",resourceIdSlug:"activation/{activationId}/{datasourceId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,datasourceId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},te=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._activationId=e.resourceIdSegmentValues.activationId,this._datasourceId=e.resourceIdSegmentValues.datasourceId}get siteId(){return this._siteId}get activationId(){return this._activationId}get datasourceId(){return this._datasourceId}static create(r){let t={qualifier:re.qualifier,platformQualifier:re.platformQualifier,cloudId:r.siteId,resourceOwner:re.resourceOwner,resourceType:re.resourceType,resourceId:`activation/${r.activationId}/${r.datasourceId}`,resourceIdSegmentValues:{activationId:r.activationId,datasourceId:r.datasourceId}},i=p.fromOpts(t,re);return new e(i)}static parse(r){let t=p.fromString(r,re);return new e(t)}getVariables(){return{siteId:this.siteId,activationId:this.activationId,datasourceId:this.datasourceId}}},ie={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"avp",resourceType:"role",resourceIdSlug:"{roleId}",resourceIdSegmentFormats:{roleId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},ne=class e extends T{constructor(e){super(e),this._roleId=e.resourceIdSegmentValues.roleId}get roleId(){return this._roleId}static create(r){let t={qualifier:ie.qualifier,platformQualifier:ie.platformQualifier,cloudId:void 0,resourceOwner:ie.resourceOwner,resourceType:ie.resourceType,resourceId:`${r.roleId}`,resourceIdSegmentValues:{roleId:r.roleId}},i=p.fromOpts(t,ie);return new e(i)}static parse(r){let t=p.fromString(r,ie);return new e(t)}getVariables(){return{roleId:this.roleId}}},oe={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"avp",resourceType:"site",resourceIdSlug:"{siteId}",resourceIdSegmentFormats:{siteId:/[a-zA-Z0-9\-]+/}},ae=class e extends T{constructor(e){super(e),this._siteId=e.resourceIdSegmentValues.siteId}get siteId(){return this._siteId}static create(r){let t={qualifier:oe.qualifier,platformQualifier:oe.platformQualifier,cloudId:void 0,resourceOwner:oe.resourceOwner,resourceType:oe.resourceType,resourceId:`${r.siteId}`,resourceIdSegmentValues:{siteId:r.siteId}},i=p.fromOpts(t,oe);return new e(i)}static parse(r){let t=p.fromString(r,oe);return new e(t)}getVariables(){return{siteId:this.siteId}}},se={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"beacon",resourceType:"alert",resourceIdSlug:"{workspaceId}/{alertId}",resourceIdSegmentFormats:{workspaceId:/[a-zA-Z0-9\-]+/,alertId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},ue=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._workspaceId=e.resourceIdSegmentValues.workspaceId,this._alertId=e.resourceIdSegmentValues.alertId}get siteId(){return this._siteId}get workspaceId(){return this._workspaceId}get alertId(){return this._alertId}static create(r){let t={qualifier:se.qualifier,platformQualifier:se.platformQualifier,cloudId:r.siteId,resourceOwner:se.resourceOwner,resourceType:se.resourceType,resourceId:`${r.workspaceId}/${r.alertId}`,resourceIdSegmentValues:{workspaceId:r.workspaceId,alertId:r.alertId}},i=p.fromOpts(t,se);return new e(i)}static parse(r){let t=p.fromString(r,se);return new e(t)}getVariables(){return{siteId:this.siteId,workspaceId:this.workspaceId,alertId:this.alertId}}},ce={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"beacon",resourceType:"custom-detection",resourceIdSlug:"{workspaceId}/{customDetectionId}",resourceIdSegmentFormats:{workspaceId:/[a-zA-Z0-9\-]+/,customDetectionId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},de=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._workspaceId=e.resourceIdSegmentValues.workspaceId,this._customDetectionId=e.resourceIdSegmentValues.customDetectionId}get siteId(){return this._siteId}get workspaceId(){return this._workspaceId}get customDetectionId(){return this._customDetectionId}static create(r){let t={qualifier:ce.qualifier,platformQualifier:ce.platformQualifier,cloudId:r.siteId,resourceOwner:ce.resourceOwner,resourceType:ce.resourceType,resourceId:`${r.workspaceId}/${r.customDetectionId}`,resourceIdSegmentValues:{workspaceId:r.workspaceId,customDetectionId:r.customDetectionId}},i=p.fromOpts(t,ce);return new e(i)}static parse(r){let t=p.fromString(r,ce);return new e(t)}getVariables(){return{siteId:this.siteId,workspaceId:this.workspaceId,customDetectionId:this.customDetectionId}}},le={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"beacon",resourceType:"detection",resourceIdSlug:"{workspaceId}/{detectionId}",resourceIdSegmentFormats:{workspaceId:/[a-zA-Z0-9\-]+/,detectionId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},Ie=class e extends T{constructor(e){super(e),this._workspaceId=e.resourceIdSegmentValues.workspaceId,this._detectionId=e.resourceIdSegmentValues.detectionId}get workspaceId(){return this._workspaceId}get detectionId(){return this._detectionId}static create(r){let t={qualifier:le.qualifier,platformQualifier:le.platformQualifier,cloudId:void 0,resourceOwner:le.resourceOwner,resourceType:le.resourceType,resourceId:`${r.workspaceId}/${r.detectionId}`,resourceIdSegmentValues:{workspaceId:r.workspaceId,detectionId:r.detectionId}},i=p.fromOpts(t,le);return new e(i)}static parse(r){let t=p.fromString(r,le);return new e(t)}getVariables(){return{workspaceId:this.workspaceId,detectionId:this.detectionId}}},pe={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"beacon",resourceType:"detection-setting",resourceIdSlug:"{workspaceId}/{detectionType}/{detectionId}/{settingId}",resourceIdSegmentFormats:{workspaceId:/[a-zA-Z0-9\-]+/,detectionType:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/,detectionId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/,settingId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},fe=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._workspaceId=e.resourceIdSegmentValues.workspaceId,this._detectionType=e.resourceIdSegmentValues.detectionType,this._detectionId=e.resourceIdSegmentValues.detectionId,this._settingId=e.resourceIdSegmentValues.settingId}get siteId(){return this._siteId}get workspaceId(){return this._workspaceId}get detectionType(){return this._detectionType}get detectionId(){return this._detectionId}get settingId(){return this._settingId}static create(r){let t={qualifier:pe.qualifier,platformQualifier:pe.platformQualifier,cloudId:r.siteId,resourceOwner:pe.resourceOwner,resourceType:pe.resourceType,resourceId:`${r.workspaceId}/${r.detectionType}/${r.detectionId}/${r.settingId}`,resourceIdSegmentValues:{workspaceId:r.workspaceId,detectionType:r.detectionType,detectionId:r.detectionId,settingId:r.settingId}},i=p.fromOpts(t,pe);return new e(i)}static parse(r){let t=p.fromString(r,pe);return new e(t)}getVariables(){return{siteId:this.siteId,workspaceId:this.workspaceId,detectionType:this.detectionType,detectionId:this.detectionId,settingId:this.settingId}}},me={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"beacon",resourceType:"role",resourceIdSlug:"product/{roleType}",resourceIdSegmentFormats:{roleType:/(?:member|admin)/}},he=class e extends T{constructor(e){super(e),this._roleType=e.resourceIdSegmentValues.roleType}get roleType(){return this._roleType}static create(r){let t={qualifier:me.qualifier,platformQualifier:me.platformQualifier,cloudId:void 0,resourceOwner:me.resourceOwner,resourceType:me.resourceType,resourceId:`product/${r.roleType}`,resourceIdSegmentValues:{roleType:r.roleType}},i=p.fromOpts(t,me);return new e(i)}static parse(r){let t=p.fromString(r,me);return new e(t)}getVariables(){return{roleType:this.roleType}}},ge={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"beacon",resourceType:"site",resourceIdSlug:"{siteId}",resourceIdSegmentFormats:{siteId:/[a-zA-Z0-9\-]+/}},ve=class e extends T{constructor(e){super(e),this._siteId=e.resourceIdSegmentValues.siteId}get siteId(){return this._siteId}static create(r){let t={qualifier:ge.qualifier,platformQualifier:ge.platformQualifier,cloudId:void 0,resourceOwner:ge.resourceOwner,resourceType:ge.resourceType,resourceId:`${r.siteId}`,resourceIdSegmentValues:{siteId:r.siteId}},i=p.fromOpts(t,ge);return new e(i)}static parse(r){let t=p.fromString(r,ge);return new e(t)}getVariables(){return{siteId:this.siteId}}},ye={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"beacon",resourceType:"subscription",resourceIdSlug:"{workspaceId}/{subscriptionId}",resourceIdSegmentFormats:{workspaceId:/[a-zA-Z0-9\-]+/,subscriptionId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},we=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._workspaceId=e.resourceIdSegmentValues.workspaceId,this._subscriptionId=e.resourceIdSegmentValues.subscriptionId}get siteId(){return this._siteId}get workspaceId(){return this._workspaceId}get subscriptionId(){return this._subscriptionId}static create(r){let t={qualifier:ye.qualifier,platformQualifier:ye.platformQualifier,cloudId:r.siteId,resourceOwner:ye.resourceOwner,resourceType:ye.resourceType,resourceId:`${r.workspaceId}/${r.subscriptionId}`,resourceIdSegmentValues:{workspaceId:r.workspaceId,subscriptionId:r.subscriptionId}},i=p.fromOpts(t,ye);return new e(i)}static parse(r){let t=p.fromString(r,ye);return new e(t)}getVariables(){return{siteId:this.siteId,workspaceId:this.workspaceId,subscriptionId:this.subscriptionId}}},Se={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"beacon",resourceType:"workspace",resourceIdSlug:"{workspaceId}",resourceIdSegmentFormats:{workspaceId:/[a-zA-Z0-9\-]+/}},_e=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._workspaceId=e.resourceIdSegmentValues.workspaceId}get siteId(){return this._siteId}get workspaceId(){return this._workspaceId}static create(r){let t={qualifier:Se.qualifier,platformQualifier:Se.platformQualifier,cloudId:r.siteId,resourceOwner:Se.resourceOwner,resourceType:Se.resourceType,resourceId:`${r.workspaceId}`,resourceIdSegmentValues:{workspaceId:r.workspaceId}},i=p.fromOpts(t,Se);return new e(i)}static parse(r){let t=p.fromString(r,Se);return new e(t)}getVariables(){return{siteId:this.siteId,workspaceId:this.workspaceId}}},be={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"bitbucket",resourceType:"app",resourceIdSlug:"{workspaceId}/{appId}",resourceIdSegmentFormats:{workspaceId:/\{[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}}/,appId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},Te=class e extends T{constructor(e){super(e),this._workspaceId=e.resourceIdSegmentValues.workspaceId,this._appId=e.resourceIdSegmentValues.appId}get workspaceId(){return this._workspaceId}get appId(){return this._appId}static create(r){let t={qualifier:be.qualifier,platformQualifier:be.platformQualifier,cloudId:void 0,resourceOwner:be.resourceOwner,resourceType:be.resourceType,resourceId:`${r.workspaceId}/${r.appId}`,resourceIdSegmentValues:{workspaceId:r.workspaceId,appId:r.appId}},i=p.fromOpts(t,be);return new e(i)}static parse(r){let t=p.fromString(r,be);return new e(t)}getVariables(){return{workspaceId:this.workspaceId,appId:this.appId}}},Oe={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"bitbucket",resourceType:"oauth-consumer",resourceIdSlug:"{clientId}",resourceIdSegmentFormats:{clientId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},ke=class e extends T{constructor(e){super(e),this._clientId=e.resourceIdSegmentValues.clientId}get clientId(){return this._clientId}static create(r){let t={qualifier:Oe.qualifier,platformQualifier:Oe.platformQualifier,cloudId:void 0,resourceOwner:Oe.resourceOwner,resourceType:Oe.resourceType,resourceId:`${r.clientId}`,resourceIdSegmentValues:{clientId:r.clientId}},i=p.fromOpts(t,Oe);return new e(i)}static parse(r){let t=p.fromString(r,Oe);return new e(t)}getVariables(){return{clientId:this.clientId}}},Ae={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"bitbucket",resourceType:"project",resourceIdSlug:"{projectId}",resourceIdSegmentFormats:{projectId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},qe=class e extends T{constructor(e){super(e),this._projectId=e.resourceIdSegmentValues.projectId}get projectId(){return this._projectId}static create(r){let t={qualifier:Ae.qualifier,platformQualifier:Ae.platformQualifier,cloudId:void 0,resourceOwner:Ae.resourceOwner,resourceType:Ae.resourceType,resourceId:`${r.projectId}`,resourceIdSegmentValues:{projectId:r.projectId}},i=p.fromOpts(t,Ae);return new e(i)}static parse(r){let t=p.fromString(r,Ae);return new e(t)}getVariables(){return{projectId:this.projectId}}},Ve={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"bitbucket",resourceType:"pullrequest",resourceIdSlug:"{pullRequestId}",resourceIdSegmentFormats:{pullRequestId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},Ee=class e extends T{constructor(e){super(e),this._pullRequestId=e.resourceIdSegmentValues.pullRequestId}get pullRequestId(){return this._pullRequestId}static create(r){let t={qualifier:Ve.qualifier,platformQualifier:Ve.platformQualifier,cloudId:void 0,resourceOwner:Ve.resourceOwner,resourceType:Ve.resourceType,resourceId:`${r.pullRequestId}`,resourceIdSegmentValues:{pullRequestId:r.pullRequestId}},i=p.fromOpts(t,Ve);return new e(i)}static parse(r){let t=p.fromString(r,Ve);return new e(t)}getVariables(){return{pullRequestId:this.pullRequestId}}},xe={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"bitbucket",resourceType:"repository",resourceIdSlug:"{repositoryId}",resourceIdSegmentFormats:{repositoryId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},Re=class e extends T{constructor(e){super(e),this._repositoryId=e.resourceIdSegmentValues.repositoryId}get repositoryId(){return this._repositoryId}static create(r){let t={qualifier:xe.qualifier,platformQualifier:xe.platformQualifier,cloudId:void 0,resourceOwner:xe.resourceOwner,resourceType:xe.resourceType,resourceId:`${r.repositoryId}`,resourceIdSegmentValues:{repositoryId:r.repositoryId}},i=p.fromOpts(t,xe);return new e(i)}static parse(r){let t=p.fromString(r,xe);return new e(t)}getVariables(){return{repositoryId:this.repositoryId}}},$e={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"bitbucket",resourceType:"repository-transfer",resourceIdSlug:"{transferId}",resourceIdSegmentFormats:{transferId:/[a-f0-9]{32}/}},Qe=class e extends T{constructor(e){super(e),this._transferId=e.resourceIdSegmentValues.transferId}get transferId(){return this._transferId}static create(r){let t={qualifier:$e.qualifier,platformQualifier:$e.platformQualifier,cloudId:void 0,resourceOwner:$e.resourceOwner,resourceType:$e.resourceType,resourceId:`${r.transferId}`,resourceIdSegmentValues:{transferId:r.transferId}},i=p.fromOpts(t,$e);return new e(i)}static parse(r){let t=p.fromString(r,$e);return new e(t)}getVariables(){return{transferId:this.transferId}}},Ne={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"bitbucket",resourceType:"site",resourceIdSlug:"bitbucket",resourceIdSegmentFormats:{}},Ce=class e extends T{constructor(e){super(e)}static create(r){let t={qualifier:Ne.qualifier,platformQualifier:Ne.platformQualifier,cloudId:void 0,resourceOwner:Ne.resourceOwner,resourceType:Ne.resourceType,resourceId:"bitbucket",resourceIdSegmentValues:{}},i=p.fromOpts(t,Ne);return new e(i)}static parse(r){let t=p.fromString(r,Ne);return new e(t)}getVariables(){return{}}},Fe={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"bitbucket",resourceType:"team",resourceIdSlug:"{teamId}",resourceIdSegmentFormats:{teamId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},ze=class e extends T{constructor(e){super(e),this._teamId=e.resourceIdSegmentValues.teamId}get teamId(){return this._teamId}static create(r){let t={qualifier:Fe.qualifier,platformQualifier:Fe.platformQualifier,cloudId:void 0,resourceOwner:Fe.resourceOwner,resourceType:Fe.resourceType,resourceId:`${r.teamId}`,resourceIdSegmentValues:{teamId:r.teamId}},i=p.fromOpts(t,Fe);return new e(i)}static parse(r){let t=p.fromString(r,Fe);return new e(t)}getVariables(){return{teamId:this.teamId}}},Le={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"bitbucket",resourceType:"workspace",resourceIdSlug:"{workspaceId}",resourceIdSegmentFormats:{workspaceId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},Me=class e extends T{constructor(e){super(e),this._workspaceId=e.resourceIdSegmentValues.workspaceId}get workspaceId(){return this._workspaceId}static create(r){let t={qualifier:Le.qualifier,platformQualifier:Le.platformQualifier,cloudId:void 0,resourceOwner:Le.resourceOwner,resourceType:Le.resourceType,resourceId:`${r.workspaceId}`,resourceIdSegmentValues:{workspaceId:r.workspaceId}},i=p.fromOpts(t,Le);return new e(i)}static parse(r){let t=p.fromString(r,Le);return new e(t)}getVariables(){return{workspaceId:this.workspaceId}}},Pe={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"brie",resourceType:"role",resourceIdSlug:"scope/{roleTypeId}",resourceIdSegmentFormats:{roleTypeId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},je=class e extends T{constructor(e){super(e),this._roleTypeId=e.resourceIdSegmentValues.roleTypeId}get roleTypeId(){return this._roleTypeId}static create(r){let t={qualifier:Pe.qualifier,platformQualifier:Pe.platformQualifier,cloudId:void 0,resourceOwner:Pe.resourceOwner,resourceType:Pe.resourceType,resourceId:`scope/${r.roleTypeId}`,resourceIdSegmentValues:{roleTypeId:r.roleTypeId}},i=p.fromOpts(t,Pe);return new e(i)}static parse(r){let t=p.fromString(r,Pe);return new e(t)}getVariables(){return{roleTypeId:this.roleTypeId}}},Ze={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"brie",resourceType:"site",resourceIdSlug:"{siteId}",resourceIdSegmentFormats:{siteId:/[a-zA-Z0-9\-]+/}},Ue=class e extends T{constructor(e){super(e),this._siteId=e.resourceIdSegmentValues.siteId}get siteId(){return this._siteId}static create(r){let t={qualifier:Ze.qualifier,platformQualifier:Ze.platformQualifier,cloudId:void 0,resourceOwner:Ze.resourceOwner,resourceType:Ze.resourceType,resourceId:`${r.siteId}`,resourceIdSegmentValues:{siteId:r.siteId}},i=p.fromOpts(t,Ze);return new e(i)}static parse(r){let t=p.fromString(r,Ze);return new e(t)}getVariables(){return{siteId:this.siteId}}},De={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"canvas",resourceType:"board",resourceIdSlug:"{boardId}",resourceIdSegmentFormats:{boardId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},We=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._boardId=e.resourceIdSegmentValues.boardId}get siteId(){return this._siteId}get boardId(){return this._boardId}static create(r){let t={qualifier:De.qualifier,platformQualifier:De.platformQualifier,cloudId:r.siteId,resourceOwner:De.resourceOwner,resourceType:De.resourceType,resourceId:`${r.boardId}`,resourceIdSegmentValues:{boardId:r.boardId}},i=p.fromOpts(t,De);return new e(i)}static parse(r){let t=p.fromString(r,De);return new e(t)}getVariables(){return{siteId:this.siteId,boardId:this.boardId}}},Ke={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"canvas",resourceType:"database",resourceIdSlug:"{databaseId}",resourceIdSegmentFormats:{databaseId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},Be=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._databaseId=e.resourceIdSegmentValues.databaseId}get siteId(){return this._siteId}get databaseId(){return this._databaseId}static create(r){let t={qualifier:Ke.qualifier,platformQualifier:Ke.platformQualifier,cloudId:r.siteId,resourceOwner:Ke.resourceOwner,resourceType:Ke.resourceType,resourceId:`${r.databaseId}`,resourceIdSegmentValues:{databaseId:r.databaseId}},i=p.fromOpts(t,Ke);return new e(i)}static parse(r){let t=p.fromString(r,Ke);return new e(t)}getVariables(){return{siteId:this.siteId,databaseId:this.databaseId}}},Ge={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"canvas",resourceType:"site",resourceIdSlug:"{siteId}",resourceIdSegmentFormats:{siteId:/[a-zA-Z0-9\-]+/}},Je=class e extends T{constructor(e){super(e),this._siteId=e.resourceIdSegmentValues.siteId}get siteId(){return this._siteId}static create(r){let t={qualifier:Ge.qualifier,platformQualifier:Ge.platformQualifier,cloudId:void 0,resourceOwner:Ge.resourceOwner,resourceType:Ge.resourceType,resourceId:`${r.siteId}`,resourceIdSegmentValues:{siteId:r.siteId}},i=p.fromOpts(t,Ge);return new e(i)}static parse(r){let t=p.fromString(r,Ge);return new e(t)}getVariables(){return{siteId:this.siteId}}},He={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"canvas",resourceType:"workspace",resourceIdSlug:"{workspaceId}",resourceIdSegmentFormats:{workspaceId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},Ye=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._workspaceId=e.resourceIdSegmentValues.workspaceId}get siteId(){return this._siteId}get workspaceId(){return this._workspaceId}static create(r){let t={qualifier:He.qualifier,platformQualifier:He.platformQualifier,cloudId:r.siteId,resourceOwner:He.resourceOwner,resourceType:He.resourceType,resourceId:`${r.workspaceId}`,resourceIdSegmentValues:{workspaceId:r.workspaceId}},i=p.fromOpts(t,He);return new e(i)}static parse(r){let t=p.fromString(r,He);return new e(t)}getVariables(){return{siteId:this.siteId,workspaceId:this.workspaceId}}},Xe={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"cmdb",resourceType:"attribute",resourceIdSlug:"{workspaceId}/{attributeId}",resourceIdSegmentFormats:{workspaceId:/[a-zA-Z0-9\-]+/,attributeId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},er=class e extends T{constructor(e){super(e),this._workspaceId=e.resourceIdSegmentValues.workspaceId,this._attributeId=e.resourceIdSegmentValues.attributeId}get workspaceId(){return this._workspaceId}get attributeId(){return this._attributeId}static create(r){let t={qualifier:Xe.qualifier,platformQualifier:Xe.platformQualifier,cloudId:void 0,resourceOwner:Xe.resourceOwner,resourceType:Xe.resourceType,resourceId:`${r.workspaceId}/${r.attributeId}`,resourceIdSegmentValues:{workspaceId:r.workspaceId,attributeId:r.attributeId}},i=p.fromOpts(t,Xe);return new e(i)}static parse(r){let t=p.fromString(r,Xe);return new e(t)}getVariables(){return{workspaceId:this.workspaceId,attributeId:this.attributeId}}},rr={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"cmdb",resourceType:"import-configuration",resourceIdSlug:"{workspaceId}/{importConfigId}",resourceIdSegmentFormats:{workspaceId:/[a-zA-Z0-9\-]+/,importConfigId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},tr=class e extends T{constructor(e){super(e),this._workspaceId=e.resourceIdSegmentValues.workspaceId,this._importConfigId=e.resourceIdSegmentValues.importConfigId}get workspaceId(){return this._workspaceId}get importConfigId(){return this._importConfigId}static create(r){let t={qualifier:rr.qualifier,platformQualifier:rr.platformQualifier,cloudId:void 0,resourceOwner:rr.resourceOwner,resourceType:rr.resourceType,resourceId:`${r.workspaceId}/${r.importConfigId}`,resourceIdSegmentValues:{workspaceId:r.workspaceId,importConfigId:r.importConfigId}},i=p.fromOpts(t,rr);return new e(i)}static parse(r){let t=p.fromString(r,rr);return new e(t)}getVariables(){return{workspaceId:this.workspaceId,importConfigId:this.importConfigId}}},ir={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"cmdb",resourceType:"object",resourceIdSlug:"{workspaceId}/{objectId}",resourceIdSegmentFormats:{workspaceId:/[a-zA-Z0-9\-]+/,objectId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},nr=class e extends T{constructor(e){super(e),this._workspaceId=e.resourceIdSegmentValues.workspaceId,this._objectId=e.resourceIdSegmentValues.objectId}get workspaceId(){return this._workspaceId}get objectId(){return this._objectId}static create(r){let t={qualifier:ir.qualifier,platformQualifier:ir.platformQualifier,cloudId:void 0,resourceOwner:ir.resourceOwner,resourceType:ir.resourceType,resourceId:`${r.workspaceId}/${r.objectId}`,resourceIdSegmentValues:{workspaceId:r.workspaceId,objectId:r.objectId}},i=p.fromOpts(t,ir);return new e(i)}static parse(r){let t=p.fromString(r,ir);return new e(t)}getVariables(){return{workspaceId:this.workspaceId,objectId:this.objectId}}},or={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"cmdb",resourceType:"role",resourceIdSlug:"{roleGroup}/{roleType}",resourceIdSegmentFormats:{roleGroup:/(?:schema|airtrack|airtrack-buoy)/,roleType:/(?:viewer|admin|report-viewer|report-editor)/}},ar=class e extends T{constructor(e){super(e),this._roleGroup=e.resourceIdSegmentValues.roleGroup,this._roleType=e.resourceIdSegmentValues.roleType}get roleGroup(){return this._roleGroup}get roleType(){return this._roleType}static create(r){let t={qualifier:or.qualifier,platformQualifier:or.platformQualifier,cloudId:void 0,resourceOwner:or.resourceOwner,resourceType:or.resourceType,resourceId:`${r.roleGroup}/${r.roleType}`,resourceIdSegmentValues:{roleGroup:r.roleGroup,roleType:r.roleType}},i=p.fromOpts(t,or);return new e(i)}static parse(r){let t=p.fromString(r,or);return new e(t)}getVariables(){return{roleGroup:this.roleGroup,roleType:this.roleType}}},sr={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"cmdb",resourceType:"schema",resourceIdSlug:"{workspaceId}/{schemaId}",resourceIdSegmentFormats:{workspaceId:/[a-zA-Z0-9\-]+/,schemaId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},ur=class e extends T{constructor(e){super(e),this._workspaceId=e.resourceIdSegmentValues.workspaceId,this._schemaId=e.resourceIdSegmentValues.schemaId}get workspaceId(){return this._workspaceId}get schemaId(){return this._schemaId}static create(r){let t={qualifier:sr.qualifier,platformQualifier:sr.platformQualifier,cloudId:void 0,resourceOwner:sr.resourceOwner,resourceType:sr.resourceType,resourceId:`${r.workspaceId}/${r.schemaId}`,resourceIdSegmentValues:{workspaceId:r.workspaceId,schemaId:r.schemaId}},i=p.fromOpts(t,sr);return new e(i)}static parse(r){let t=p.fromString(r,sr);return new e(t)}getVariables(){return{workspaceId:this.workspaceId,schemaId:this.schemaId}}},cr={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"cmdb",resourceType:"type",resourceIdSlug:"{workspaceId}/{typeId}",resourceIdSegmentFormats:{workspaceId:/[a-zA-Z0-9\-]+/,typeId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},dr=class e extends T{constructor(e){super(e),this._workspaceId=e.resourceIdSegmentValues.workspaceId,this._typeId=e.resourceIdSegmentValues.typeId}get workspaceId(){return this._workspaceId}get typeId(){return this._typeId}static create(r){let t={qualifier:cr.qualifier,platformQualifier:cr.platformQualifier,cloudId:void 0,resourceOwner:cr.resourceOwner,resourceType:cr.resourceType,resourceId:`${r.workspaceId}/${r.typeId}`,resourceIdSegmentValues:{workspaceId:r.workspaceId,typeId:r.typeId}},i=p.fromOpts(t,cr);return new e(i)}static parse(r){let t=p.fromString(r,cr);return new e(t)}getVariables(){return{workspaceId:this.workspaceId,typeId:this.typeId}}},lr={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"cmdb",resourceType:"workspace",resourceIdSlug:"{workspaceId}",resourceIdSegmentFormats:{workspaceId:/[a-zA-Z0-9\-]+/}},Ir=class e extends T{constructor(e){super(e),this._workspaceId=e.resourceIdSegmentValues.workspaceId}get workspaceId(){return this._workspaceId}static create(r){let t={qualifier:lr.qualifier,platformQualifier:lr.platformQualifier,cloudId:void 0,resourceOwner:lr.resourceOwner,resourceType:lr.resourceType,resourceId:`${r.workspaceId}`,resourceIdSegmentValues:{workspaceId:r.workspaceId}},i=p.fromOpts(t,lr);return new e(i)}static parse(r){let t=p.fromString(r,lr);return new e(t)}getVariables(){return{workspaceId:this.workspaceId}}},pr={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"commerce",resourceType:"catalog-account",resourceIdSlug:"{catalogAccountId}",resourceIdSegmentFormats:{catalogAccountId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},fr=class e extends T{constructor(e){super(e),this._catalogAccountId=e.resourceIdSegmentValues.catalogAccountId}get catalogAccountId(){return this._catalogAccountId}static create(r){let t={qualifier:pr.qualifier,platformQualifier:pr.platformQualifier,cloudId:void 0,resourceOwner:pr.resourceOwner,resourceType:pr.resourceType,resourceId:`${r.catalogAccountId}`,resourceIdSegmentValues:{catalogAccountId:r.catalogAccountId}},i=p.fromOpts(t,pr);return new e(i)}static parse(r){let t=p.fromString(r,pr);return new e(t)}getVariables(){return{catalogAccountId:this.catalogAccountId}}},mr={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"commerce",resourceType:"change",resourceIdSlug:"{changeUuid}",resourceIdSegmentFormats:{changeUuid:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},hr=class e extends T{constructor(e){super(e),this._changeUuid=e.resourceIdSegmentValues.changeUuid}get changeUuid(){return this._changeUuid}static create(r){let t={qualifier:mr.qualifier,platformQualifier:mr.platformQualifier,cloudId:void 0,resourceOwner:mr.resourceOwner,resourceType:mr.resourceType,resourceId:`${r.changeUuid}`,resourceIdSegmentValues:{changeUuid:r.changeUuid}},i=p.fromOpts(t,mr);return new e(i)}static parse(r){let t=p.fromString(r,mr);return new e(t)}getVariables(){return{changeUuid:this.changeUuid}}},gr={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"commerce",resourceType:"entitlement",resourceIdSlug:"{entitlementId}",resourceIdSegmentFormats:{entitlementId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},vr=class e extends T{constructor(e){super(e),this._entitlementId=e.resourceIdSegmentValues.entitlementId}get entitlementId(){return this._entitlementId}static create(r){let t={qualifier:gr.qualifier,platformQualifier:gr.platformQualifier,cloudId:void 0,resourceOwner:gr.resourceOwner,resourceType:gr.resourceType,resourceId:`${r.entitlementId}`,resourceIdSegmentValues:{entitlementId:r.entitlementId}},i=p.fromOpts(t,gr);return new e(i)}static parse(r){let t=p.fromString(r,gr);return new e(t)}getVariables(){return{entitlementId:this.entitlementId}}},yr={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"commerce",resourceType:"entitlement-template",resourceIdSlug:"{entitlementTemplateId}",resourceIdSegmentFormats:{entitlementTemplateId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},wr=class e extends T{constructor(e){super(e),this._entitlementTemplateId=e.resourceIdSegmentValues.entitlementTemplateId}get entitlementTemplateId(){return this._entitlementTemplateId}static create(r){let t={qualifier:yr.qualifier,platformQualifier:yr.platformQualifier,cloudId:void 0,resourceOwner:yr.resourceOwner,resourceType:yr.resourceType,resourceId:`${r.entitlementTemplateId}`,resourceIdSegmentValues:{entitlementTemplateId:r.entitlementTemplateId}},i=p.fromOpts(t,yr);return new e(i)}static parse(r){let t=p.fromString(r,yr);return new e(t)}getVariables(){return{entitlementTemplateId:this.entitlementTemplateId}}},Sr={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"commerce",resourceType:"initiative",resourceIdSlug:"{initiativeUuid}",resourceIdSegmentFormats:{initiativeUuid:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},_r=class e extends T{constructor(e){super(e),this._initiativeUuid=e.resourceIdSegmentValues.initiativeUuid}get initiativeUuid(){return this._initiativeUuid}static create(r){let t={qualifier:Sr.qualifier,platformQualifier:Sr.platformQualifier,cloudId:void 0,resourceOwner:Sr.resourceOwner,resourceType:Sr.resourceType,resourceId:`${r.initiativeUuid}`,resourceIdSegmentValues:{initiativeUuid:r.initiativeUuid}},i=p.fromOpts(t,Sr);return new e(i)}static parse(r){let t=p.fromString(r,Sr);return new e(t)}getVariables(){return{initiativeUuid:this.initiativeUuid}}},br={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"commerce",resourceType:"invoice-group",resourceIdSlug:"{invoiceGroupId}",resourceIdSegmentFormats:{invoiceGroupId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},Tr=class e extends T{constructor(e){super(e),this._txaId=e.cloudId||"",this._invoiceGroupId=e.resourceIdSegmentValues.invoiceGroupId}get txaId(){return this._txaId}get invoiceGroupId(){return this._invoiceGroupId}static create(r){let t={qualifier:br.qualifier,platformQualifier:br.platformQualifier,cloudId:r.txaId,resourceOwner:br.resourceOwner,resourceType:br.resourceType,resourceId:`${r.invoiceGroupId}`,resourceIdSegmentValues:{invoiceGroupId:r.invoiceGroupId}},i=p.fromOpts(t,br);return new e(i)}static parse(r){let t=p.fromString(r,br);return new e(t)}getVariables(){return{txaId:this.txaId,invoiceGroupId:this.invoiceGroupId}}},Or={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"commerce",resourceType:"offering",resourceIdSlug:"{offeringId}",resourceIdSegmentFormats:{offeringId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},kr=class e extends T{constructor(e){super(e),this._offeringId=e.resourceIdSegmentValues.offeringId}get offeringId(){return this._offeringId}static create(r){let t={qualifier:Or.qualifier,platformQualifier:Or.platformQualifier,cloudId:void 0,resourceOwner:Or.resourceOwner,resourceType:Or.resourceType,resourceId:`${r.offeringId}`,resourceIdSegmentValues:{offeringId:r.offeringId}},i=p.fromOpts(t,Or);return new e(i)}static parse(r){let t=p.fromString(r,Or);return new e(t)}getVariables(){return{offeringId:this.offeringId}}},Ar={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"commerce",resourceType:"offering-relationship-template",resourceIdSlug:"{offeringRelationshipTemplateId}",resourceIdSegmentFormats:{offeringRelationshipTemplateId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},qr=class e extends T{constructor(e){super(e),this._offeringRelationshipTemplateId=e.resourceIdSegmentValues.offeringRelationshipTemplateId}get offeringRelationshipTemplateId(){return this._offeringRelationshipTemplateId}static create(r){let t={qualifier:Ar.qualifier,platformQualifier:Ar.platformQualifier,cloudId:void 0,resourceOwner:Ar.resourceOwner,resourceType:Ar.resourceType,resourceId:`${r.offeringRelationshipTemplateId}`,resourceIdSegmentValues:{offeringRelationshipTemplateId:r.offeringRelationshipTemplateId}},i=p.fromOpts(t,Ar);return new e(i)}static parse(r){let t=p.fromString(r,Ar);return new e(t)}getVariables(){return{offeringRelationshipTemplateId:this.offeringRelationshipTemplateId}}},Vr={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"commerce",resourceType:"order",resourceIdSlug:"{orderId}",resourceIdSegmentFormats:{orderId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},Er=class e extends T{constructor(e){super(e),this._txaId=e.cloudId||"",this._orderId=e.resourceIdSegmentValues.orderId}get txaId(){return this._txaId}get orderId(){return this._orderId}static create(r){let t={qualifier:Vr.qualifier,platformQualifier:Vr.platformQualifier,cloudId:r.txaId,resourceOwner:Vr.resourceOwner,resourceType:Vr.resourceType,resourceId:`${r.orderId}`,resourceIdSegmentValues:{orderId:r.orderId}},i=p.fromOpts(t,Vr);return new e(i)}static parse(r){let t=p.fromString(r,Vr);return new e(t)}getVariables(){return{txaId:this.txaId,orderId:this.orderId}}},xr={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"commerce",resourceType:"payment-method",resourceIdSlug:"{paymentMethodId}",resourceIdSegmentFormats:{paymentMethodId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},Rr=class e extends T{constructor(e){super(e),this._txaId=e.cloudId||"",this._paymentMethodId=e.resourceIdSegmentValues.paymentMethodId}get txaId(){return this._txaId}get paymentMethodId(){return this._paymentMethodId}static create(r){let t={qualifier:xr.qualifier,platformQualifier:xr.platformQualifier,cloudId:r.txaId,resourceOwner:xr.resourceOwner,resourceType:xr.resourceType,resourceId:`${r.paymentMethodId}`,resourceIdSegmentValues:{paymentMethodId:r.paymentMethodId}},i=p.fromOpts(t,xr);return new e(i)}static parse(r){let t=p.fromString(r,xr);return new e(t)}getVariables(){return{txaId:this.txaId,paymentMethodId:this.paymentMethodId}}},$r={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"commerce",resourceType:"pricing-plan",resourceIdSlug:"{pricingPlanId}",resourceIdSegmentFormats:{pricingPlanId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},Qr=class e extends T{constructor(e){super(e),this._pricingPlanId=e.resourceIdSegmentValues.pricingPlanId}get pricingPlanId(){return this._pricingPlanId}static create(r){let t={qualifier:$r.qualifier,platformQualifier:$r.platformQualifier,cloudId:void 0,resourceOwner:$r.resourceOwner,resourceType:$r.resourceType,resourceId:`${r.pricingPlanId}`,resourceIdSegmentValues:{pricingPlanId:r.pricingPlanId}},i=p.fromOpts(t,$r);return new e(i)}static parse(r){let t=p.fromString(r,$r);return new e(t)}getVariables(){return{pricingPlanId:this.pricingPlanId}}},Nr={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"commerce",resourceType:"product",resourceIdSlug:"{productId}",resourceIdSegmentFormats:{productId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},Cr=class e extends T{constructor(e){super(e),this._productId=e.resourceIdSegmentValues.productId}get productId(){return this._productId}static create(r){let t={qualifier:Nr.qualifier,platformQualifier:Nr.platformQualifier,cloudId:void 0,resourceOwner:Nr.resourceOwner,resourceType:Nr.resourceType,resourceId:`${r.productId}`,resourceIdSegmentValues:{productId:r.productId}},i=p.fromOpts(t,Nr);return new e(i)}static parse(r){let t=p.fromString(r,Nr);return new e(t)}getVariables(){return{productId:this.productId}}},Fr={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"commerce",resourceType:"promotion",resourceIdSlug:"{promotionId}",resourceIdSegmentFormats:{promotionId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},zr=class e extends T{constructor(e){super(e),this._promotionId=e.resourceIdSegmentValues.promotionId}get promotionId(){return this._promotionId}static create(r){let t={qualifier:Fr.qualifier,platformQualifier:Fr.platformQualifier,cloudId:void 0,resourceOwner:Fr.resourceOwner,resourceType:Fr.resourceType,resourceId:`${r.promotionId}`,resourceIdSegmentValues:{promotionId:r.promotionId}},i=p.fromOpts(t,Fr);return new e(i)}static parse(r){let t=p.fromString(r,Fr);return new e(t)}getVariables(){return{promotionId:this.promotionId}}},Lr={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"commerce",resourceType:"quote",resourceIdSlug:"{quoteId}",resourceIdSegmentFormats:{quoteId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},Mr=class e extends T{constructor(e){super(e),this._txaId=e.cloudId||"",this._quoteId=e.resourceIdSegmentValues.quoteId}get txaId(){return this._txaId}get quoteId(){return this._quoteId}static create(r){let t={qualifier:Lr.qualifier,platformQualifier:Lr.platformQualifier,cloudId:r.txaId,resourceOwner:Lr.resourceOwner,resourceType:Lr.resourceType,resourceId:`${r.quoteId}`,resourceIdSegmentValues:{quoteId:r.quoteId}},i=p.fromOpts(t,Lr);return new e(i)}static parse(r){let t=p.fromString(r,Lr);return new e(t)}getVariables(){return{txaId:this.txaId,quoteId:this.quoteId}}},Pr={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"commerce",resourceType:"role",resourceIdSlug:"{roleId}",resourceIdSegmentFormats:{roleId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},jr=class e extends T{constructor(e){super(e),this._roleId=e.resourceIdSegmentValues.roleId}get roleId(){return this._roleId}static create(r){let t={qualifier:Pr.qualifier,platformQualifier:Pr.platformQualifier,cloudId:void 0,resourceOwner:Pr.resourceOwner,resourceType:Pr.resourceType,resourceId:`${r.roleId}`,resourceIdSegmentValues:{roleId:r.roleId}},i=p.fromOpts(t,Pr);return new e(i)}static parse(r){let t=p.fromString(r,Pr);return new e(t)}getVariables(){return{roleId:this.roleId}}},Zr={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"commerce",resourceType:"ship-to-party",resourceIdSlug:"{shipToPartyId}",resourceIdSegmentFormats:{shipToPartyId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},Ur=class e extends T{constructor(e){super(e),this._txaId=e.cloudId||"",this._shipToPartyId=e.resourceIdSegmentValues.shipToPartyId}get txaId(){return this._txaId}get shipToPartyId(){return this._shipToPartyId}static create(r){let t={qualifier:Zr.qualifier,platformQualifier:Zr.platformQualifier,cloudId:r.txaId,resourceOwner:Zr.resourceOwner,resourceType:Zr.resourceType,resourceId:`${r.shipToPartyId}`,resourceIdSegmentValues:{shipToPartyId:r.shipToPartyId}},i=p.fromOpts(t,Zr);return new e(i)}static parse(r){let t=p.fromString(r,Zr);return new e(t)}getVariables(){return{txaId:this.txaId,shipToPartyId:this.shipToPartyId}}},Dr={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"commerce",resourceType:"transaction-account",resourceIdSlug:"{txaId}",resourceIdSegmentFormats:{txaId:/[a-zA-Z0-9\-]+/}},Wr=class e extends T{constructor(e){super(e),this._txaId=e.resourceIdSegmentValues.txaId}get txaId(){return this._txaId}static create(r){let t={qualifier:Dr.qualifier,platformQualifier:Dr.platformQualifier,cloudId:void 0,resourceOwner:Dr.resourceOwner,resourceType:Dr.resourceType,resourceId:`${r.txaId}`,resourceIdSegmentValues:{txaId:r.txaId}},i=p.fromOpts(t,Dr);return new e(i)}static parse(r){let t=p.fromString(r,Dr);return new e(t)}getVariables(){return{txaId:this.txaId}}},Kr={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"commerce",resourceType:"workbench-resource",resourceIdSlug:"{resourceName}",resourceIdSegmentFormats:{resourceName:/(database)/}},Br=class e extends T{constructor(e){super(e),this._resourceName=e.resourceIdSegmentValues.resourceName}get resourceName(){return this._resourceName}static create(r){let t={qualifier:Kr.qualifier,platformQualifier:Kr.platformQualifier,cloudId:void 0,resourceOwner:Kr.resourceOwner,resourceType:Kr.resourceType,resourceId:`${r.resourceName}`,resourceIdSegmentValues:{resourceName:r.resourceName}},i=p.fromOpts(t,Kr);return new e(i)}static parse(r){let t=p.fromString(r,Kr);return new e(t)}getVariables(){return{resourceName:this.resourceName}}},Gr={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"compass",resourceType:"assistant-answer",resourceIdSlug:"{workspaceId}/{answerId}",resourceIdSegmentFormats:{workspaceId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/,answerId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},Jr=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._workspaceId=e.resourceIdSegmentValues.workspaceId,this._answerId=e.resourceIdSegmentValues.answerId}get siteId(){return this._siteId}get workspaceId(){return this._workspaceId}get answerId(){return this._answerId}static create(r){let t={qualifier:Gr.qualifier,platformQualifier:Gr.platformQualifier,cloudId:r.siteId,resourceOwner:Gr.resourceOwner,resourceType:Gr.resourceType,resourceId:`${r.workspaceId}/${r.answerId}`,resourceIdSegmentValues:{workspaceId:r.workspaceId,answerId:r.answerId}},i=p.fromOpts(t,Gr);return new e(i)}static parse(r){let t=p.fromString(r,Gr);return new e(t)}getVariables(){return{siteId:this.siteId,workspaceId:this.workspaceId,answerId:this.answerId}}},Hr={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"compass",resourceType:"component",resourceIdSlug:"{workspaceId}/{componentId}",resourceIdSegmentFormats:{workspaceId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/,componentId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},Yr=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._workspaceId=e.resourceIdSegmentValues.workspaceId,this._componentId=e.resourceIdSegmentValues.componentId}get siteId(){return this._siteId}get workspaceId(){return this._workspaceId}get componentId(){return this._componentId}static create(r){let t={qualifier:Hr.qualifier,platformQualifier:Hr.platformQualifier,cloudId:r.siteId,resourceOwner:Hr.resourceOwner,resourceType:Hr.resourceType,resourceId:`${r.workspaceId}/${r.componentId}`,resourceIdSegmentValues:{workspaceId:r.workspaceId,componentId:r.componentId}},i=p.fromOpts(t,Hr);return new e(i)}static parse(r){let t=p.fromString(r,Hr);return new e(t)}getVariables(){return{siteId:this.siteId,workspaceId:this.workspaceId,componentId:this.componentId}}},Xr={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"compass",resourceType:"component-label",resourceIdSlug:"{workspaceId}/{labelId}",resourceIdSegmentFormats:{workspaceId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/,labelId:/[0-9a-f\-]{36,64}/}},et=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._workspaceId=e.resourceIdSegmentValues.workspaceId,this._labelId=e.resourceIdSegmentValues.labelId}get siteId(){return this._siteId}get workspaceId(){return this._workspaceId}get labelId(){return this._labelId}static create(r){let t={qualifier:Xr.qualifier,platformQualifier:Xr.platformQualifier,cloudId:r.siteId,resourceOwner:Xr.resourceOwner,resourceType:Xr.resourceType,resourceId:`${r.workspaceId}/${r.labelId}`,resourceIdSegmentValues:{workspaceId:r.workspaceId,labelId:r.labelId}},i=p.fromOpts(t,Xr);return new e(i)}static parse(r){let t=p.fromString(r,Xr);return new e(t)}getVariables(){return{siteId:this.siteId,workspaceId:this.workspaceId,labelId:this.labelId}}},rt={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"compass",resourceType:"component-link",resourceIdSlug:"{workspaceId}/{componentId}/{componentLinkId}",resourceIdSegmentFormats:{workspaceId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/,componentId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/,componentLinkId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},tt=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._workspaceId=e.resourceIdSegmentValues.workspaceId,this._componentId=e.resourceIdSegmentValues.componentId,this._componentLinkId=e.resourceIdSegmentValues.componentLinkId}get siteId(){return this._siteId}get workspaceId(){return this._workspaceId}get componentId(){return this._componentId}get componentLinkId(){return this._componentLinkId}static create(r){let t={qualifier:rt.qualifier,platformQualifier:rt.platformQualifier,cloudId:r.siteId,resourceOwner:rt.resourceOwner,resourceType:rt.resourceType,resourceId:`${r.workspaceId}/${r.componentId}/${r.componentLinkId}`,resourceIdSegmentValues:{workspaceId:r.workspaceId,componentId:r.componentId,componentLinkId:r.componentLinkId}},i=p.fromOpts(t,rt);return new e(i)}static parse(r){let t=p.fromString(r,rt);return new e(t)}getVariables(){return{siteId:this.siteId,workspaceId:this.workspaceId,componentId:this.componentId,componentLinkId:this.componentLinkId}}},it={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"compass",resourceType:"custom-field-definition",resourceIdSlug:"{workspaceId}/{definitionId}",resourceIdSegmentFormats:{workspaceId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/,definitionId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},nt=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._workspaceId=e.resourceIdSegmentValues.workspaceId,this._definitionId=e.resourceIdSegmentValues.definitionId}get siteId(){return this._siteId}get workspaceId(){return this._workspaceId}get definitionId(){return this._definitionId}static create(r){let t={qualifier:it.qualifier,platformQualifier:it.platformQualifier,cloudId:r.siteId,resourceOwner:it.resourceOwner,resourceType:it.resourceType,resourceId:`${r.workspaceId}/${r.definitionId}`,resourceIdSegmentValues:{workspaceId:r.workspaceId,definitionId:r.definitionId}},i=p.fromOpts(t,it);return new e(i)}static parse(r){let t=p.fromString(r,it);return new e(t)}getVariables(){return{siteId:this.siteId,workspaceId:this.workspaceId,definitionId:this.definitionId}}},ot={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"compass",resourceType:"document",resourceIdSlug:"{workspaceId}/{documentId}",resourceIdSegmentFormats:{workspaceId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/,documentId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},at=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._workspaceId=e.resourceIdSegmentValues.workspaceId,this._documentId=e.resourceIdSegmentValues.documentId}get siteId(){return this._siteId}get workspaceId(){return this._workspaceId}get documentId(){return this._documentId}static create(r){let t={qualifier:ot.qualifier,platformQualifier:ot.platformQualifier,cloudId:r.siteId,resourceOwner:ot.resourceOwner,resourceType:ot.resourceType,resourceId:`${r.workspaceId}/${r.documentId}`,resourceIdSegmentValues:{workspaceId:r.workspaceId,documentId:r.documentId}},i=p.fromOpts(t,ot);return new e(i)}static parse(r){let t=p.fromString(r,ot);return new e(t)}getVariables(){return{siteId:this.siteId,workspaceId:this.workspaceId,documentId:this.documentId}}},st={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"compass",resourceType:"documentation-category",resourceIdSlug:"{workspaceId}/{documentationCategoryId}",resourceIdSegmentFormats:{workspaceId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/,documentationCategoryId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},ut=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._workspaceId=e.resourceIdSegmentValues.workspaceId,this._documentationCategoryId=e.resourceIdSegmentValues.documentationCategoryId}get siteId(){return this._siteId}get workspaceId(){return this._workspaceId}get documentationCategoryId(){return this._documentationCategoryId}static create(r){let t={qualifier:st.qualifier,platformQualifier:st.platformQualifier,cloudId:r.siteId,resourceOwner:st.resourceOwner,resourceType:st.resourceType,resourceId:`${r.workspaceId}/${r.documentationCategoryId}`,resourceIdSegmentValues:{workspaceId:r.workspaceId,documentationCategoryId:r.documentationCategoryId}},i=p.fromOpts(t,st);return new e(i)}static parse(r){let t=p.fromString(r,st);return new e(t)}getVariables(){return{siteId:this.siteId,workspaceId:this.workspaceId,documentationCategoryId:this.documentationCategoryId}}},ct={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"compass",resourceType:"event-source",resourceIdSlug:"{workspaceId}/{eventSourceId}",resourceIdSegmentFormats:{workspaceId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/,eventSourceId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},dt=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._workspaceId=e.resourceIdSegmentValues.workspaceId,this._eventSourceId=e.resourceIdSegmentValues.eventSourceId}get siteId(){return this._siteId}get workspaceId(){return this._workspaceId}get eventSourceId(){return this._eventSourceId}static create(r){let t={qualifier:ct.qualifier,platformQualifier:ct.platformQualifier,cloudId:r.siteId,resourceOwner:ct.resourceOwner,resourceType:ct.resourceType,resourceId:`${r.workspaceId}/${r.eventSourceId}`,resourceIdSegmentValues:{workspaceId:r.workspaceId,eventSourceId:r.eventSourceId}},i=p.fromOpts(t,ct);return new e(i)}static parse(r){let t=p.fromString(r,ct);return new e(t)}getVariables(){return{siteId:this.siteId,workspaceId:this.workspaceId,eventSourceId:this.eventSourceId}}},lt={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"compass",resourceType:"incoming-webhook",resourceIdSlug:"{workspaceId}/{incomingWebhookId}",resourceIdSegmentFormats:{workspaceId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/,incomingWebhookId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},It=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._workspaceId=e.resourceIdSegmentValues.workspaceId,this._incomingWebhookId=e.resourceIdSegmentValues.incomingWebhookId}get siteId(){return this._siteId}get workspaceId(){return this._workspaceId}get incomingWebhookId(){return this._incomingWebhookId}static create(r){let t={qualifier:lt.qualifier,platformQualifier:lt.platformQualifier,cloudId:r.siteId,resourceOwner:lt.resourceOwner,resourceType:lt.resourceType,resourceId:`${r.workspaceId}/${r.incomingWebhookId}`,resourceIdSegmentValues:{workspaceId:r.workspaceId,incomingWebhookId:r.incomingWebhookId}},i=p.fromOpts(t,lt);return new e(i)}static parse(r){let t=p.fromString(r,lt);return new e(t)}getVariables(){return{siteId:this.siteId,workspaceId:this.workspaceId,incomingWebhookId:this.incomingWebhookId}}},pt={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]*$"),resourceOwner:"compass",resourceType:"metric-definition",resourceIdSlug:"{containerId}/{definitionId}",resourceIdSegmentFormats:{containerId:/(?:builtin|forge|[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12})/,definitionId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},ft=class e extends T{constructor(e){super(e),this._optionalSiteId=e.cloudId||"",this._containerId=e.resourceIdSegmentValues.containerId,this._definitionId=e.resourceIdSegmentValues.definitionId}get optionalSiteId(){return this._optionalSiteId}get containerId(){return this._containerId}get definitionId(){return this._definitionId}static create(r){let t={qualifier:pt.qualifier,platformQualifier:pt.platformQualifier,cloudId:r.optionalSiteId,resourceOwner:pt.resourceOwner,resourceType:pt.resourceType,resourceId:`${r.containerId}/${r.definitionId}`,resourceIdSegmentValues:{containerId:r.containerId,definitionId:r.definitionId}},i=p.fromOpts(t,pt);return new e(i)}static parse(r){let t=p.fromString(r,pt);return new e(t)}getVariables(){return{optionalSiteId:this.optionalSiteId,containerId:this.containerId,definitionId:this.definitionId}}},mt={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"compass",resourceType:"metric-source",resourceIdSlug:"{workspaceId}/{metricSourceId}",resourceIdSegmentFormats:{workspaceId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/,metricSourceId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},ht=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._workspaceId=e.resourceIdSegmentValues.workspaceId,this._metricSourceId=e.resourceIdSegmentValues.metricSourceId}get siteId(){return this._siteId}get workspaceId(){return this._workspaceId}get metricSourceId(){return this._metricSourceId}static create(r){let t={qualifier:mt.qualifier,platformQualifier:mt.platformQualifier,cloudId:r.siteId,resourceOwner:mt.resourceOwner,resourceType:mt.resourceType,resourceId:`${r.workspaceId}/${r.metricSourceId}`,resourceIdSegmentValues:{workspaceId:r.workspaceId,metricSourceId:r.metricSourceId}},i=p.fromOpts(t,mt);return new e(i)}static parse(r){let t=p.fromString(r,mt);return new e(t)}getVariables(){return{siteId:this.siteId,workspaceId:this.workspaceId,metricSourceId:this.metricSourceId}}},gt={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"compass",resourceType:"role",resourceIdSlug:"product/{roleType}",resourceIdSegmentFormats:{roleType:/(?:basic|member|admin)/}},vt=class e extends T{constructor(e){super(e),this._roleType=e.resourceIdSegmentValues.roleType}get roleType(){return this._roleType}static create(r){let t={qualifier:gt.qualifier,platformQualifier:gt.platformQualifier,cloudId:void 0,resourceOwner:gt.resourceOwner,resourceType:gt.resourceType,resourceId:`product/${r.roleType}`,resourceIdSegmentValues:{roleType:r.roleType}},i=p.fromOpts(t,gt);return new e(i)}static parse(r){let t=p.fromString(r,gt);return new e(t)}getVariables(){return{roleType:this.roleType}}},yt={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"compass",resourceType:"scorecard",resourceIdSlug:"{workspaceId}/{scorecardId}",resourceIdSegmentFormats:{workspaceId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/,scorecardId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},wt=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._workspaceId=e.resourceIdSegmentValues.workspaceId,this._scorecardId=e.resourceIdSegmentValues.scorecardId}get siteId(){return this._siteId}get workspaceId(){return this._workspaceId}get scorecardId(){return this._scorecardId}static create(r){let t={qualifier:yt.qualifier,platformQualifier:yt.platformQualifier,cloudId:r.siteId,resourceOwner:yt.resourceOwner,resourceType:yt.resourceType,resourceId:`${r.workspaceId}/${r.scorecardId}`,resourceIdSegmentValues:{workspaceId:r.workspaceId,scorecardId:r.scorecardId}},i=p.fromOpts(t,yt);return new e(i)}static parse(r){let t=p.fromString(r,yt);return new e(t)}getVariables(){return{siteId:this.siteId,workspaceId:this.workspaceId,scorecardId:this.scorecardId}}},St={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"compass",resourceType:"site",resourceIdSlug:"{siteId}",resourceIdSegmentFormats:{siteId:/[a-zA-Z0-9\-]+/}},_t=class e extends T{constructor(e){super(e),this._siteId=e.resourceIdSegmentValues.siteId}get siteId(){return this._siteId}static create(r){let t={qualifier:St.qualifier,platformQualifier:St.platformQualifier,cloudId:void 0,resourceOwner:St.resourceOwner,resourceType:St.resourceType,resourceId:`${r.siteId}`,resourceIdSegmentValues:{siteId:r.siteId}},i=p.fromOpts(t,St);return new e(i)}static parse(r){let t=p.fromString(r,St);return new e(t)}getVariables(){return{siteId:this.siteId}}},bt={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"compass",resourceType:"user-defined-parameter",resourceIdSlug:"{workspaceId}/{userDefinedParameterId}",resourceIdSegmentFormats:{workspaceId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/,userDefinedParameterId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},Tt=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._workspaceId=e.resourceIdSegmentValues.workspaceId,this._userDefinedParameterId=e.resourceIdSegmentValues.userDefinedParameterId}get siteId(){return this._siteId}get workspaceId(){return this._workspaceId}get userDefinedParameterId(){return this._userDefinedParameterId}static create(r){let t={qualifier:bt.qualifier,platformQualifier:bt.platformQualifier,cloudId:r.siteId,resourceOwner:bt.resourceOwner,resourceType:bt.resourceType,resourceId:`${r.workspaceId}/${r.userDefinedParameterId}`,resourceIdSegmentValues:{workspaceId:r.workspaceId,userDefinedParameterId:r.userDefinedParameterId}},i=p.fromOpts(t,bt);return new e(i)}static parse(r){let t=p.fromString(r,bt);return new e(t)}getVariables(){return{siteId:this.siteId,workspaceId:this.workspaceId,userDefinedParameterId:this.userDefinedParameterId}}},Ot={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"compass",resourceType:"webhook",resourceIdSlug:"{workspaceId}/{webhookId}",resourceIdSegmentFormats:{workspaceId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/,webhookId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},kt=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._workspaceId=e.resourceIdSegmentValues.workspaceId,this._webhookId=e.resourceIdSegmentValues.webhookId}get siteId(){return this._siteId}get workspaceId(){return this._workspaceId}get webhookId(){return this._webhookId}static create(r){let t={qualifier:Ot.qualifier,platformQualifier:Ot.platformQualifier,cloudId:r.siteId,resourceOwner:Ot.resourceOwner,resourceType:Ot.resourceType,resourceId:`${r.workspaceId}/${r.webhookId}`,resourceIdSegmentValues:{workspaceId:r.workspaceId,webhookId:r.webhookId}},i=p.fromOpts(t,Ot);return new e(i)}static parse(r){let t=p.fromString(r,Ot);return new e(t)}getVariables(){return{siteId:this.siteId,workspaceId:this.workspaceId,webhookId:this.webhookId}}},At={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"compass",resourceType:"workspace",resourceIdSlug:"{workspaceId}",resourceIdSegmentFormats:{workspaceId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},qt=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._workspaceId=e.resourceIdSegmentValues.workspaceId}get siteId(){return this._siteId}get workspaceId(){return this._workspaceId}static create(r){let t={qualifier:At.qualifier,platformQualifier:At.platformQualifier,cloudId:r.siteId,resourceOwner:At.resourceOwner,resourceType:At.resourceType,resourceId:`${r.workspaceId}`,resourceIdSegmentValues:{workspaceId:r.workspaceId}},i=p.fromOpts(t,At);return new e(i)}static parse(r){let t=p.fromString(r,At);return new e(t)}getVariables(){return{siteId:this.siteId,workspaceId:this.workspaceId}}},Vt={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"confluence",resourceType:"admin-announcement-banner",resourceIdSlug:"activation/{activationId}/{bannerId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,bannerId:/[0-9]+/}},Et=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._activationId=e.resourceIdSegmentValues.activationId,this._bannerId=e.resourceIdSegmentValues.bannerId}get siteId(){return this._siteId}get activationId(){return this._activationId}get bannerId(){return this._bannerId}static create(r){let t={qualifier:Vt.qualifier,platformQualifier:Vt.platformQualifier,cloudId:r.siteId,resourceOwner:Vt.resourceOwner,resourceType:Vt.resourceType,resourceId:`activation/${r.activationId}/${r.bannerId}`,resourceIdSegmentValues:{activationId:r.activationId,bannerId:r.bannerId}},i=p.fromOpts(t,Vt);return new e(i)}static parse(r){let t=p.fromString(r,Vt);return new e(t)}getVariables(){return{siteId:this.siteId,activationId:this.activationId,bannerId:this.bannerId}}},xt={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"confluence",resourceType:"attachment",resourceIdSlug:"{attachmentId}",resourceIdSegmentFormats:{attachmentId:/(att)?[0-9]+/}},Rt=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._attachmentId=e.resourceIdSegmentValues.attachmentId}get siteId(){return this._siteId}get attachmentId(){return this._attachmentId}static create(r){let t={qualifier:xt.qualifier,platformQualifier:xt.platformQualifier,cloudId:r.siteId,resourceOwner:xt.resourceOwner,resourceType:xt.resourceType,resourceId:`${r.attachmentId}`,resourceIdSegmentValues:{attachmentId:r.attachmentId}},i=p.fromOpts(t,xt);return new e(i)}static parse(r){let t=p.fromString(r,xt);return new e(t)}getVariables(){return{siteId:this.siteId,attachmentId:this.attachmentId}}},$t={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"confluence",resourceType:"blogpost",resourceIdSlug:"{blogpostId}",resourceIdSegmentFormats:{blogpostId:/[0-9]+/}},Qt=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._blogpostId=e.resourceIdSegmentValues.blogpostId}get siteId(){return this._siteId}get blogpostId(){return this._blogpostId}static create(r){let t={qualifier:$t.qualifier,platformQualifier:$t.platformQualifier,cloudId:r.siteId,resourceOwner:$t.resourceOwner,resourceType:$t.resourceType,resourceId:`${r.blogpostId}`,resourceIdSegmentValues:{blogpostId:r.blogpostId}},i=p.fromOpts(t,$t);return new e(i)}static parse(r){let t=p.fromString(r,$t);return new e(t)}getVariables(){return{siteId:this.siteId,blogpostId:this.blogpostId}}},Nt={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"confluence",resourceType:"comment",resourceIdSlug:"{commentId}",resourceIdSegmentFormats:{commentId:/[0-9]+/}},Ct=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._commentId=e.resourceIdSegmentValues.commentId}get siteId(){return this._siteId}get commentId(){return this._commentId}static create(r){let t={qualifier:Nt.qualifier,platformQualifier:Nt.platformQualifier,cloudId:r.siteId,resourceOwner:Nt.resourceOwner,resourceType:Nt.resourceType,resourceId:`${r.commentId}`,resourceIdSegmentValues:{commentId:r.commentId}},i=p.fromOpts(t,Nt);return new e(i)}static parse(r){let t=p.fromString(r,Nt);return new e(t)}getVariables(){return{siteId:this.siteId,commentId:this.commentId}}},Ft={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"confluence",resourceType:"content",resourceIdSlug:"{contentId}",resourceIdSegmentFormats:{contentId:/[0-9]+/}},zt=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._contentId=e.resourceIdSegmentValues.contentId}get siteId(){return this._siteId}get contentId(){return this._contentId}static create(r){let t={qualifier:Ft.qualifier,platformQualifier:Ft.platformQualifier,cloudId:r.siteId,resourceOwner:Ft.resourceOwner,resourceType:Ft.resourceType,resourceId:`${r.contentId}`,resourceIdSegmentValues:{contentId:r.contentId}},i=p.fromOpts(t,Ft);return new e(i)}static parse(r){let t=p.fromString(r,Ft);return new e(t)}getVariables(){return{siteId:this.siteId,contentId:this.contentId}}},Lt={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"confluence",resourceType:"database",resourceIdSlug:"activation/{activationId}/{databaseId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,databaseId:/[0-9]+/}},Mt=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._activationId=e.resourceIdSegmentValues.activationId,this._databaseId=e.resourceIdSegmentValues.databaseId}get siteId(){return this._siteId}get activationId(){return this._activationId}get databaseId(){return this._databaseId}static create(r){let t={qualifier:Lt.qualifier,platformQualifier:Lt.platformQualifier,cloudId:r.siteId,resourceOwner:Lt.resourceOwner,resourceType:Lt.resourceType,resourceId:`activation/${r.activationId}/${r.databaseId}`,resourceIdSegmentValues:{activationId:r.activationId,databaseId:r.databaseId}},i=p.fromOpts(t,Lt);return new e(i)}static parse(r){let t=p.fromString(r,Lt);return new e(t)}getVariables(){return{siteId:this.siteId,activationId:this.activationId,databaseId:this.databaseId}}},Pt={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"confluence",resourceType:"embed",resourceIdSlug:"activation/{activationId}/{embedId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,embedId:/[0-9]+/}},jt=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._activationId=e.resourceIdSegmentValues.activationId,this._embedId=e.resourceIdSegmentValues.embedId}get siteId(){return this._siteId}get activationId(){return this._activationId}get embedId(){return this._embedId}static create(r){let t={qualifier:Pt.qualifier,platformQualifier:Pt.platformQualifier,cloudId:r.siteId,resourceOwner:Pt.resourceOwner,resourceType:Pt.resourceType,resourceId:`activation/${r.activationId}/${r.embedId}`,resourceIdSegmentValues:{activationId:r.activationId,embedId:r.embedId}},i=p.fromOpts(t,Pt);return new e(i)}static parse(r){let t=p.fromString(r,Pt);return new e(t)}getVariables(){return{siteId:this.siteId,activationId:this.activationId,embedId:this.embedId}}},Zt={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"confluence",resourceType:"event",resourceIdSlug:"{eventType}/activation/{activationId}/event/{eventId}",resourceIdSegmentFormats:{eventType:/[a-zA-Z0-9\-]+/,activationId:/[a-zA-Z0-9\-]+/,eventId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},Ut=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._eventType=e.resourceIdSegmentValues.eventType,this._activationId=e.resourceIdSegmentValues.activationId,this._eventId=e.resourceIdSegmentValues.eventId}get siteId(){return this._siteId}get eventType(){return this._eventType}get activationId(){return this._activationId}get eventId(){return this._eventId}static create(r){let t={qualifier:Zt.qualifier,platformQualifier:Zt.platformQualifier,cloudId:r.siteId,resourceOwner:Zt.resourceOwner,resourceType:Zt.resourceType,resourceId:`${r.eventType}/activation/${r.activationId}/event/${r.eventId}`,resourceIdSegmentValues:{eventType:r.eventType,activationId:r.activationId,eventId:r.eventId}},i=p.fromOpts(t,Zt);return new e(i)}static parse(r){let t=p.fromString(r,Zt);return new e(t)}getVariables(){return{siteId:this.siteId,eventType:this.eventType,activationId:this.activationId,eventId:this.eventId}}},Dt={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"confluence",resourceType:"folder",resourceIdSlug:"activation/{activationId}/{folderId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,folderId:/[0-9]+/}},Wt=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._activationId=e.resourceIdSegmentValues.activationId,this._folderId=e.resourceIdSegmentValues.folderId}get siteId(){return this._siteId}get activationId(){return this._activationId}get folderId(){return this._folderId}static create(r){let t={qualifier:Dt.qualifier,platformQualifier:Dt.platformQualifier,cloudId:r.siteId,resourceOwner:Dt.resourceOwner,resourceType:Dt.resourceType,resourceId:`activation/${r.activationId}/${r.folderId}`,resourceIdSegmentValues:{activationId:r.activationId,folderId:r.folderId}},i=p.fromOpts(t,Dt);return new e(i)}static parse(r){let t=p.fromString(r,Dt);return new e(t)}getVariables(){return{siteId:this.siteId,activationId:this.activationId,folderId:this.folderId}}},Kt={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"confluence",resourceType:"long-running-task",resourceIdSlug:"activation/{activationId}/{taskId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,taskId:/[0-9]+/}},Bt=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._activationId=e.resourceIdSegmentValues.activationId,this._taskId=e.resourceIdSegmentValues.taskId}get siteId(){return this._siteId}get activationId(){return this._activationId}get taskId(){return this._taskId}static create(r){let t={qualifier:Kt.qualifier,platformQualifier:Kt.platformQualifier,cloudId:r.siteId,resourceOwner:Kt.resourceOwner,resourceType:Kt.resourceType,resourceId:`activation/${r.activationId}/${r.taskId}`,resourceIdSegmentValues:{activationId:r.activationId,taskId:r.taskId}},i=p.fromOpts(t,Kt);return new e(i)}static parse(r){let t=p.fromString(r,Kt);return new e(t)}getVariables(){return{siteId:this.siteId,activationId:this.activationId,taskId:this.taskId}}},Gt={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"confluence",resourceType:"note",resourceIdSlug:"activation/{activationId}/{noteId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,noteId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},Jt=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._activationId=e.resourceIdSegmentValues.activationId,this._noteId=e.resourceIdSegmentValues.noteId}get siteId(){return this._siteId}get activationId(){return this._activationId}get noteId(){return this._noteId}static create(r){let t={qualifier:Gt.qualifier,platformQualifier:Gt.platformQualifier,cloudId:r.siteId,resourceOwner:Gt.resourceOwner,resourceType:Gt.resourceType,resourceId:`activation/${r.activationId}/${r.noteId}`,resourceIdSegmentValues:{activationId:r.activationId,noteId:r.noteId}},i=p.fromOpts(t,Gt);return new e(i)}static parse(r){let t=p.fromString(r,Gt);return new e(t)}getVariables(){return{siteId:this.siteId,activationId:this.activationId,noteId:this.noteId}}},Ht={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"confluence",resourceType:"page",resourceIdSlug:"{pageId}",resourceIdSegmentFormats:{pageId:/[0-9]+/}},Yt=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._pageId=e.resourceIdSegmentValues.pageId}get siteId(){return this._siteId}get pageId(){return this._pageId}static create(r){let t={qualifier:Ht.qualifier,platformQualifier:Ht.platformQualifier,cloudId:r.siteId,resourceOwner:Ht.resourceOwner,resourceType:Ht.resourceType,resourceId:`${r.pageId}`,resourceIdSegmentValues:{pageId:r.pageId}},i=p.fromOpts(t,Ht);return new e(i)}static parse(r){let t=p.fromString(r,Ht);return new e(t)}getVariables(){return{siteId:this.siteId,pageId:this.pageId}}},Xt={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"confluence",resourceType:"public-link",resourceIdSlug:"activation/{activationId}/{publicLinkId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,publicLinkId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},ei=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._activationId=e.resourceIdSegmentValues.activationId,this._publicLinkId=e.resourceIdSegmentValues.publicLinkId}get siteId(){return this._siteId}get activationId(){return this._activationId}get publicLinkId(){return this._publicLinkId}static create(r){let t={qualifier:Xt.qualifier,platformQualifier:Xt.platformQualifier,cloudId:r.siteId,resourceOwner:Xt.resourceOwner,resourceType:Xt.resourceType,resourceId:`activation/${r.activationId}/${r.publicLinkId}`,resourceIdSegmentValues:{activationId:r.activationId,publicLinkId:r.publicLinkId}},i=p.fromOpts(t,Xt);return new e(i)}static parse(r){let t=p.fromString(r,Xt);return new e(t)}getVariables(){return{siteId:this.siteId,activationId:this.activationId,publicLinkId:this.publicLinkId}}},ri={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]*$"),resourceOwner:"confluence",resourceType:"role",resourceIdSlug:"{roleId}",resourceIdSegmentFormats:{roleId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},ti=class e extends T{constructor(e){super(e),this._optionalSiteId=e.cloudId||"",this._roleId=e.resourceIdSegmentValues.roleId}get optionalSiteId(){return this._optionalSiteId}get roleId(){return this._roleId}static create(r){let t={qualifier:ri.qualifier,platformQualifier:ri.platformQualifier,cloudId:r.optionalSiteId,resourceOwner:ri.resourceOwner,resourceType:ri.resourceType,resourceId:`${r.roleId}`,resourceIdSegmentValues:{roleId:r.roleId}},i=p.fromOpts(t,ri);return new e(i)}static parse(r){let t=p.fromString(r,ri);return new e(t)}getVariables(){return{optionalSiteId:this.optionalSiteId,roleId:this.roleId}}},ii={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"confluence",resourceType:"site",resourceIdSlug:"{siteId}",resourceIdSegmentFormats:{siteId:/[a-zA-Z0-9\-]+/}},ni=class e extends T{constructor(e){super(e),this._siteId=e.resourceIdSegmentValues.siteId}get siteId(){return this._siteId}static create(r){let t={qualifier:ii.qualifier,platformQualifier:ii.platformQualifier,cloudId:void 0,resourceOwner:ii.resourceOwner,resourceType:ii.resourceType,resourceId:`${r.siteId}`,resourceIdSegmentValues:{siteId:r.siteId}},i=p.fromOpts(t,ii);return new e(i)}static parse(r){let t=p.fromString(r,ii);return new e(t)}getVariables(){return{siteId:this.siteId}}},oi={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"confluence",resourceType:"space",resourceIdSlug:"{spaceId}",resourceIdSegmentFormats:{spaceId:/[0-9]+/}},ai=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._spaceId=e.resourceIdSegmentValues.spaceId}get siteId(){return this._siteId}get spaceId(){return this._spaceId}static create(r){let t={qualifier:oi.qualifier,platformQualifier:oi.platformQualifier,cloudId:r.siteId,resourceOwner:oi.resourceOwner,resourceType:oi.resourceType,resourceId:`${r.spaceId}`,resourceIdSegmentValues:{spaceId:r.spaceId}},i=p.fromOpts(t,oi);return new e(i)}static parse(r){let t=p.fromString(r,oi);return new e(t)}getVariables(){return{siteId:this.siteId,spaceId:this.spaceId}}},si={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"confluence",resourceType:"task",resourceIdSlug:"{taskId}",resourceIdSegmentFormats:{taskId:/[0-9]+/}},ui=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._taskId=e.resourceIdSegmentValues.taskId}get siteId(){return this._siteId}get taskId(){return this._taskId}static create(r){let t={qualifier:si.qualifier,platformQualifier:si.platformQualifier,cloudId:r.siteId,resourceOwner:si.resourceOwner,resourceType:si.resourceType,resourceId:`${r.taskId}`,resourceIdSegmentValues:{taskId:r.taskId}},i=p.fromOpts(t,si);return new e(i)}static parse(r){let t=p.fromString(r,si);return new e(t)}getVariables(){return{siteId:this.siteId,taskId:this.taskId}}},ci={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"confluence",resourceType:"team-calendar",resourceIdSlug:"activation/{activationId}/{calendarId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,calendarId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},di=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._activationId=e.resourceIdSegmentValues.activationId,this._calendarId=e.resourceIdSegmentValues.calendarId}get siteId(){return this._siteId}get activationId(){return this._activationId}get calendarId(){return this._calendarId}static create(r){let t={qualifier:ci.qualifier,platformQualifier:ci.platformQualifier,cloudId:r.siteId,resourceOwner:ci.resourceOwner,resourceType:ci.resourceType,resourceId:`activation/${r.activationId}/${r.calendarId}`,resourceIdSegmentValues:{activationId:r.activationId,calendarId:r.calendarId}},i=p.fromOpts(t,ci);return new e(i)}static parse(r){let t=p.fromString(r,ci);return new e(t)}getVariables(){return{siteId:this.siteId,activationId:this.activationId,calendarId:this.calendarId}}},li={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"confluence",resourceType:"user-property",resourceIdSlug:"{userPropertyId}",resourceIdSegmentFormats:{userPropertyId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},Ii=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._userPropertyId=e.resourceIdSegmentValues.userPropertyId}get siteId(){return this._siteId}get userPropertyId(){return this._userPropertyId}static create(r){let t={qualifier:li.qualifier,platformQualifier:li.platformQualifier,cloudId:r.siteId,resourceOwner:li.resourceOwner,resourceType:li.resourceType,resourceId:`${r.userPropertyId}`,resourceIdSegmentValues:{userPropertyId:r.userPropertyId}},i=p.fromOpts(t,li);return new e(i)}static parse(r){let t=p.fromString(r,li);return new e(t)}getVariables(){return{siteId:this.siteId,userPropertyId:this.userPropertyId}}},pi={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"confluence",resourceType:"whiteboard",resourceIdSlug:"{whiteboardId}",resourceIdSegmentFormats:{whiteboardId:/[0-9]+/}},fi=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._whiteboardId=e.resourceIdSegmentValues.whiteboardId}get siteId(){return this._siteId}get whiteboardId(){return this._whiteboardId}static create(r){let t={qualifier:pi.qualifier,platformQualifier:pi.platformQualifier,cloudId:r.siteId,resourceOwner:pi.resourceOwner,resourceType:pi.resourceType,resourceId:`${r.whiteboardId}`,resourceIdSegmentValues:{whiteboardId:r.whiteboardId}},i=p.fromOpts(t,pi);return new e(i)}static parse(r){let t=p.fromString(r,pi);return new e(t)}getVariables(){return{siteId:this.siteId,whiteboardId:this.whiteboardId}}},mi={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"confluence",resourceType:"workspace",resourceIdSlug:"{activationId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/}},hi=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._activationId=e.resourceIdSegmentValues.activationId}get siteId(){return this._siteId}get activationId(){return this._activationId}static create(r){let t={qualifier:mi.qualifier,platformQualifier:mi.platformQualifier,cloudId:r.siteId,resourceOwner:mi.resourceOwner,resourceType:mi.resourceType,resourceId:`${r.activationId}`,resourceIdSegmentValues:{activationId:r.activationId}},i=p.fromOpts(t,mi);return new e(i)}static parse(r){let t=p.fromString(r,mi);return new e(t)}getVariables(){return{siteId:this.siteId,activationId:this.activationId}}},gi={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"connection-registry",resourceType:"link",resourceIdSlug:"{linkId}",resourceIdSegmentFormats:{linkId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},vi=class e extends T{constructor(e){super(e),this._linkId=e.resourceIdSegmentValues.linkId}get linkId(){return this._linkId}static create(r){let t={qualifier:gi.qualifier,platformQualifier:gi.platformQualifier,cloudId:void 0,resourceOwner:gi.resourceOwner,resourceType:gi.resourceType,resourceId:`${r.linkId}`,resourceIdSegmentValues:{linkId:r.linkId}},i=p.fromOpts(t,gi);return new e(i)}static parse(r){let t=p.fromString(r,gi);return new e(t)}getVariables(){return{linkId:this.linkId}}},yi={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"conversational-help",resourceType:"conversation",resourceIdSlug:"{conversationId}",resourceIdSegmentFormats:{conversationId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},wi=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._conversationId=e.resourceIdSegmentValues.conversationId}get siteId(){return this._siteId}get conversationId(){return this._conversationId}static create(r){let t={qualifier:yi.qualifier,platformQualifier:yi.platformQualifier,cloudId:r.siteId,resourceOwner:yi.resourceOwner,resourceType:yi.resourceType,resourceId:`${r.conversationId}`,resourceIdSegmentValues:{conversationId:r.conversationId}},i=p.fromOpts(t,yi);return new e(i)}static parse(r){let t=p.fromString(r,yi);return new e(t)}getVariables(){return{siteId:this.siteId,conversationId:this.conversationId}}},Si={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"conversational-help",resourceType:"conversation-message",resourceIdSlug:"{conversationMessageId}",resourceIdSegmentFormats:{conversationMessageId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},_i=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._conversationMessageId=e.resourceIdSegmentValues.conversationMessageId}get siteId(){return this._siteId}get conversationMessageId(){return this._conversationMessageId}static create(r){let t={qualifier:Si.qualifier,platformQualifier:Si.platformQualifier,cloudId:r.siteId,resourceOwner:Si.resourceOwner,resourceType:Si.resourceType,resourceId:`${r.conversationMessageId}`,resourceIdSegmentValues:{conversationMessageId:r.conversationMessageId}},i=p.fromOpts(t,Si);return new e(i)}static parse(r){let t=p.fromString(r,Si);return new e(t)}getVariables(){return{siteId:this.siteId,conversationMessageId:this.conversationMessageId}}},bi={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"data-lake",resourceType:"lake-connection",resourceIdSlug:"{lakeConnectionId}",resourceIdSegmentFormats:{lakeConnectionId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},Ti=class e extends T{constructor(e){super(e),this._lakeConnectionId=e.resourceIdSegmentValues.lakeConnectionId}get lakeConnectionId(){return this._lakeConnectionId}static create(r){let t={qualifier:bi.qualifier,platformQualifier:bi.platformQualifier,cloudId:void 0,resourceOwner:bi.resourceOwner,resourceType:bi.resourceType,resourceId:`${r.lakeConnectionId}`,resourceIdSegmentValues:{lakeConnectionId:r.lakeConnectionId}},i=p.fromOpts(t,bi);return new e(i)}static parse(r){let t=p.fromString(r,bi);return new e(t)}getVariables(){return{lakeConnectionId:this.lakeConnectionId}}},Oi={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"devops",resourceType:"container",resourceIdSlug:"{containerId}",resourceIdSegmentFormats:{containerId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},ki=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._containerId=e.resourceIdSegmentValues.containerId}get siteId(){return this._siteId}get containerId(){return this._containerId}static create(r){let t={qualifier:Oi.qualifier,platformQualifier:Oi.platformQualifier,cloudId:r.siteId,resourceOwner:Oi.resourceOwner,resourceType:Oi.resourceType,resourceId:`${r.containerId}`,resourceIdSegmentValues:{containerId:r.containerId}},i=p.fromOpts(t,Oi);return new e(i)}static parse(r){let t=p.fromString(r,Oi);return new e(t)}getVariables(){return{siteId:this.siteId,containerId:this.containerId}}},Ai={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"devops",resourceType:"namespace",resourceIdSlug:"{namespaceId}",resourceIdSegmentFormats:{namespaceId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},qi=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._namespaceId=e.resourceIdSegmentValues.namespaceId}get siteId(){return this._siteId}get namespaceId(){return this._namespaceId}static create(r){let t={qualifier:Ai.qualifier,platformQualifier:Ai.platformQualifier,cloudId:r.siteId,resourceOwner:Ai.resourceOwner,resourceType:Ai.resourceType,resourceId:`${r.namespaceId}`,resourceIdSegmentValues:{namespaceId:r.namespaceId}},i=p.fromOpts(t,Ai);return new e(i)}static parse(r){let t=p.fromString(r,Ai);return new e(t)}getVariables(){return{siteId:this.siteId,namespaceId:this.namespaceId}}},Vi={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"devops",resourceType:"provider",resourceIdSlug:"{providerNamespace}/{providerAppId}",resourceIdSegmentFormats:{providerNamespace:/(classic|forge|asap|oauth)/,providerAppId:/[a-zA-Z0-9-._]+/}},Ei=class e extends T{constructor(e){super(e),this._providerNamespace=e.resourceIdSegmentValues.providerNamespace,this._providerAppId=e.resourceIdSegmentValues.providerAppId}get providerNamespace(){return this._providerNamespace}get providerAppId(){return this._providerAppId}static create(r){let t={qualifier:Vi.qualifier,platformQualifier:Vi.platformQualifier,cloudId:void 0,resourceOwner:Vi.resourceOwner,resourceType:Vi.resourceType,resourceId:`${r.providerNamespace}/${r.providerAppId}`,resourceIdSegmentValues:{providerNamespace:r.providerNamespace,providerAppId:r.providerAppId}},i=p.fromOpts(t,Vi);return new e(i)}static parse(r){let t=p.fromString(r,Vi);return new e(t)}getVariables(){return{providerNamespace:this.providerNamespace,providerAppId:this.providerAppId}}},xi={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"devops",resourceType:"relationship",resourceIdSlug:"{relationshipId}",resourceIdSegmentFormats:{relationshipId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},Ri=class e extends T{constructor(e){super(e),this._relationshipId=e.resourceIdSegmentValues.relationshipId}get relationshipId(){return this._relationshipId}static create(r){let t={qualifier:xi.qualifier,platformQualifier:xi.platformQualifier,cloudId:void 0,resourceOwner:xi.resourceOwner,resourceType:xi.resourceType,resourceId:`${r.relationshipId}`,resourceIdSegmentValues:{relationshipId:r.relationshipId}},i=p.fromOpts(t,xi);return new e(i)}static parse(r){let t=p.fromString(r,xi);return new e(t)}getVariables(){return{relationshipId:this.relationshipId}}},$i={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"devops",resourceType:"tool",resourceIdSlug:"{toolId}",resourceIdSegmentFormats:{toolId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},Qi=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._toolId=e.resourceIdSegmentValues.toolId}get siteId(){return this._siteId}get toolId(){return this._toolId}static create(r){let t={qualifier:$i.qualifier,platformQualifier:$i.platformQualifier,cloudId:r.siteId,resourceOwner:$i.resourceOwner,resourceType:$i.resourceType,resourceId:`${r.toolId}`,resourceIdSegmentValues:{toolId:r.toolId}},i=p.fromOpts(t,$i);return new e(i)}static parse(r){let t=p.fromString(r,$i);return new e(t)}getVariables(){return{siteId:this.siteId,toolId:this.toolId}}},Ni={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"ecosystem",resourceType:"app",resourceIdSlug:"{appId}",resourceIdSegmentFormats:{appId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},Ci=class e extends T{constructor(e){super(e),this._appId=e.resourceIdSegmentValues.appId}get appId(){return this._appId}static create(r){let t={qualifier:Ni.qualifier,platformQualifier:Ni.platformQualifier,cloudId:void 0,resourceOwner:Ni.resourceOwner,resourceType:Ni.resourceType,resourceId:`${r.appId}`,resourceIdSegmentValues:{appId:r.appId}},i=p.fromOpts(t,Ni);return new e(i)}static parse(r){let t=p.fromString(r,Ni);return new e(t)}getVariables(){return{appId:this.appId}}},Fi={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"ecosystem",resourceType:"app-environment-version",resourceIdSlug:"{appId}/{environmentId}/{versionId}",resourceIdSegmentFormats:{appId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/,environmentId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/,versionId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},zi=class e extends T{constructor(e){super(e),this._appId=e.resourceIdSegmentValues.appId,this._environmentId=e.resourceIdSegmentValues.environmentId,this._versionId=e.resourceIdSegmentValues.versionId}get appId(){return this._appId}get environmentId(){return this._environmentId}get versionId(){return this._versionId}static create(r){let t={qualifier:Fi.qualifier,platformQualifier:Fi.platformQualifier,cloudId:void 0,resourceOwner:Fi.resourceOwner,resourceType:Fi.resourceType,resourceId:`${r.appId}/${r.environmentId}/${r.versionId}`,resourceIdSegmentValues:{appId:r.appId,environmentId:r.environmentId,versionId:r.versionId}},i=p.fromOpts(t,Fi);return new e(i)}static parse(r){let t=p.fromString(r,Fi);return new e(t)}getVariables(){return{appId:this.appId,environmentId:this.environmentId,versionId:this.versionId}}},Li={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"ecosystem",resourceType:"connect-app",resourceIdSlug:"{appKey}",resourceIdSegmentFormats:{appKey:/[a-zA-Z0-9-._]+/}},Mi=class e extends T{constructor(e){super(e),this._appKey=e.resourceIdSegmentValues.appKey}get appKey(){return this._appKey}static create(r){let t={qualifier:Li.qualifier,platformQualifier:Li.platformQualifier,cloudId:void 0,resourceOwner:Li.resourceOwner,resourceType:Li.resourceType,resourceId:`${r.appKey}`,resourceIdSegmentValues:{appKey:r.appKey}},i=p.fromOpts(t,Li);return new e(i)}static parse(r){let t=p.fromString(r,Li);return new e(t)}getVariables(){return{appKey:this.appKey}}},Pi={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"ecosystem",resourceType:"environment",resourceIdSlug:"{appId}/{environmentId}",resourceIdSegmentFormats:{appId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/,environmentId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},ji=class e extends T{constructor(e){super(e),this._appId=e.resourceIdSegmentValues.appId,this._environmentId=e.resourceIdSegmentValues.environmentId}get appId(){return this._appId}get environmentId(){return this._environmentId}static create(r){let t={qualifier:Pi.qualifier,platformQualifier:Pi.platformQualifier,cloudId:void 0,resourceOwner:Pi.resourceOwner,resourceType:Pi.resourceType,resourceId:`${r.appId}/${r.environmentId}`,resourceIdSegmentValues:{appId:r.appId,environmentId:r.environmentId}},i=p.fromOpts(t,Pi);return new e(i)}static parse(r){let t=p.fromString(r,Pi);return new e(t)}getVariables(){return{appId:this.appId,environmentId:this.environmentId}}},Zi={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"ecosystem",resourceType:"extension",resourceIdSlug:"{appId}/{environmentId}/{groupId}/{extensionKey}",resourceIdSegmentFormats:{appId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/,environmentId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/,groupId:/([0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}|static)/,extensionKey:/[a-zA-Z0-9-._]+/}},Ui=class e extends T{constructor(e){super(e),this._appId=e.resourceIdSegmentValues.appId,this._environmentId=e.resourceIdSegmentValues.environmentId,this._groupId=e.resourceIdSegmentValues.groupId,this._extensionKey=e.resourceIdSegmentValues.extensionKey}get appId(){return this._appId}get environmentId(){return this._environmentId}get groupId(){return this._groupId}get extensionKey(){return this._extensionKey}static create(r){let t={qualifier:Zi.qualifier,platformQualifier:Zi.platformQualifier,cloudId:void 0,resourceOwner:Zi.resourceOwner,resourceType:Zi.resourceType,resourceId:`${r.appId}/${r.environmentId}/${r.groupId}/${r.extensionKey}`,resourceIdSegmentValues:{appId:r.appId,environmentId:r.environmentId,groupId:r.groupId,extensionKey:r.extensionKey}},i=p.fromOpts(t,Zi);return new e(i)}static parse(r){let t=p.fromString(r,Zi);return new e(t)}getVariables(){return{appId:this.appId,environmentId:this.environmentId,groupId:this.groupId,extensionKey:this.extensionKey}}},Di={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"ecosystem",resourceType:"extension-group",resourceIdSlug:"{appId}/{environmentId}/{groupId}",resourceIdSegmentFormats:{appId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/,environmentId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/,groupId:/([0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}|static)/}},Wi=class e extends T{constructor(e){super(e),this._appId=e.resourceIdSegmentValues.appId,this._environmentId=e.resourceIdSegmentValues.environmentId,this._groupId=e.resourceIdSegmentValues.groupId}get appId(){return this._appId}get environmentId(){return this._environmentId}get groupId(){return this._groupId}static create(r){let t={qualifier:Di.qualifier,platformQualifier:Di.platformQualifier,cloudId:void 0,resourceOwner:Di.resourceOwner,resourceType:Di.resourceType,resourceId:`${r.appId}/${r.environmentId}/${r.groupId}`,resourceIdSegmentValues:{appId:r.appId,environmentId:r.environmentId,groupId:r.groupId}},i=p.fromOpts(t,Di);return new e(i)}static parse(r){let t=p.fromString(r,Di);return new e(t)}getVariables(){return{appId:this.appId,environmentId:this.environmentId,groupId:this.groupId}}},Ki={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"ecosystem",resourceType:"installation",resourceIdSlug:"{installationId}",resourceIdSegmentFormats:{installationId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},Bi=class e extends T{constructor(e){super(e),this._installationId=e.resourceIdSegmentValues.installationId}get installationId(){return this._installationId}static create(r){let t={qualifier:Ki.qualifier,platformQualifier:Ki.platformQualifier,cloudId:void 0,resourceOwner:Ki.resourceOwner,resourceType:Ki.resourceType,resourceId:`${r.installationId}`,resourceIdSegmentValues:{installationId:r.installationId}},i=p.fromOpts(t,Ki);return new e(i)}static parse(r){let t=p.fromString(r,Ki);return new e(t)}getVariables(){return{installationId:this.installationId}}},Gi={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"elements",resourceType:"custom-emoji-metadata",resourceIdSlug:"{customEmojiMetadataId}",resourceIdSegmentFormats:{customEmojiMetadataId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},Ji=class e extends T{constructor(e){super(e),this._customEmojiMetadataId=e.resourceIdSegmentValues.customEmojiMetadataId}get customEmojiMetadataId(){return this._customEmojiMetadataId}static create(r){let t={qualifier:Gi.qualifier,platformQualifier:Gi.platformQualifier,cloudId:void 0,resourceOwner:Gi.resourceOwner,resourceType:Gi.resourceType,resourceId:`${r.customEmojiMetadataId}`,resourceIdSegmentValues:{customEmojiMetadataId:r.customEmojiMetadataId}},i=p.fromOpts(t,Gi);return new e(i)}static parse(r){let t=p.fromString(r,Gi);return new e(t)}getVariables(){return{customEmojiMetadataId:this.customEmojiMetadataId}}},Hi={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"elements",resourceType:"workspace",resourceIdSlug:"{workspaceId}",resourceIdSegmentFormats:{workspaceId:/[a-zA-Z0-9\-]+/}},Yi=class e extends T{constructor(e){super(e),this._workspaceId=e.resourceIdSegmentValues.workspaceId}get workspaceId(){return this._workspaceId}static create(r){let t={qualifier:Hi.qualifier,platformQualifier:Hi.platformQualifier,cloudId:void 0,resourceOwner:Hi.resourceOwner,resourceType:Hi.resourceType,resourceId:`${r.workspaceId}`,resourceIdSegmentValues:{workspaceId:r.workspaceId}},i=p.fromOpts(t,Hi);return new e(i)}static parse(r){let t=p.fromString(r,Hi);return new e(t)}getVariables(){return{workspaceId:this.workspaceId}}},Xi={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"exus-external",resourceType:"user",resourceIdSlug:"{thirdPartySource}/{thirdPartyUserId}",resourceIdSegmentFormats:{thirdPartySource:/[a-z0-9-]+/,thirdPartyUserId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},en=class e extends T{constructor(e){super(e),this._thirdPartySource=e.resourceIdSegmentValues.thirdPartySource,this._thirdPartyUserId=e.resourceIdSegmentValues.thirdPartyUserId}get thirdPartySource(){return this._thirdPartySource}get thirdPartyUserId(){return this._thirdPartyUserId}static create(r){let t={qualifier:Xi.qualifier,platformQualifier:Xi.platformQualifier,cloudId:void 0,resourceOwner:Xi.resourceOwner,resourceType:Xi.resourceType,resourceId:`${r.thirdPartySource}/${r.thirdPartyUserId}`,resourceIdSegmentValues:{thirdPartySource:r.thirdPartySource,thirdPartyUserId:r.thirdPartyUserId}},i=p.fromOpts(t,Xi);return new e(i)}static parse(r){let t=p.fromString(r,Xi);return new e(t)}getVariables(){return{thirdPartySource:this.thirdPartySource,thirdPartyUserId:this.thirdPartyUserId}}},rn={qualifier:"ari",platformQualifier:"third-party",cloudId:new RegExp("^$"),resourceOwner:"figma",resourceType:"file",resourceIdSlug:"{fileId}",resourceIdSegmentFormats:{fileId:/[A-z0-9]+/}},tn=class e extends T{constructor(e){super(e),this._fileId=e.resourceIdSegmentValues.fileId}get fileId(){return this._fileId}static create(r){let t={qualifier:rn.qualifier,platformQualifier:rn.platformQualifier,cloudId:void 0,resourceOwner:rn.resourceOwner,resourceType:rn.resourceType,resourceId:`${r.fileId}`,resourceIdSegmentValues:{fileId:r.fileId}},i=p.fromOpts(t,rn);return new e(i)}static parse(r){let t=p.fromString(r,rn);return new e(t)}getVariables(){return{fileId:this.fileId}}},nn={qualifier:"ari",platformQualifier:"third-party",cloudId:new RegExp("^$"),resourceOwner:"google",resourceType:"document",resourceIdSlug:"{docId}",resourceIdSegmentFormats:{docId:/[a-zA-Z0-9_-]+/}},on=class e extends T{constructor(e){super(e),this._docId=e.resourceIdSegmentValues.docId}get docId(){return this._docId}static create(r){let t={qualifier:nn.qualifier,platformQualifier:nn.platformQualifier,cloudId:void 0,resourceOwner:nn.resourceOwner,resourceType:nn.resourceType,resourceId:`${r.docId}`,resourceIdSegmentValues:{docId:r.docId}},i=p.fromOpts(t,nn);return new e(i)}static parse(r){let t=p.fromString(r,nn);return new e(t)}getVariables(){return{docId:this.docId}}},an={qualifier:"ari",platformQualifier:"third-party",cloudId:new RegExp("^$"),resourceOwner:"google",resourceType:"form",resourceIdSlug:"{docId}",resourceIdSegmentFormats:{docId:/[a-zA-Z0-9_-]+/}},sn=class e extends T{constructor(e){super(e),this._docId=e.resourceIdSegmentValues.docId}get docId(){return this._docId}static create(r){let t={qualifier:an.qualifier,platformQualifier:an.platformQualifier,cloudId:void 0,resourceOwner:an.resourceOwner,resourceType:an.resourceType,resourceId:`${r.docId}`,resourceIdSegmentValues:{docId:r.docId}},i=p.fromOpts(t,an);return new e(i)}static parse(r){let t=p.fromString(r,an);return new e(t)}getVariables(){return{docId:this.docId}}},un={qualifier:"ari",platformQualifier:"third-party",cloudId:new RegExp("^$"),resourceOwner:"google",resourceType:"presentation",resourceIdSlug:"{docId}",resourceIdSegmentFormats:{docId:/[a-zA-Z0-9_-]+/}},cn=class e extends T{constructor(e){super(e),this._docId=e.resourceIdSegmentValues.docId}get docId(){return this._docId}static create(r){let t={qualifier:un.qualifier,platformQualifier:un.platformQualifier,cloudId:void 0,resourceOwner:un.resourceOwner,resourceType:un.resourceType,resourceId:`${r.docId}`,resourceIdSegmentValues:{docId:r.docId}},i=p.fromOpts(t,un);return new e(i)}static parse(r){let t=p.fromString(r,un);return new e(t)}getVariables(){return{docId:this.docId}}},dn={qualifier:"ari",platformQualifier:"third-party",cloudId:new RegExp("^$"),resourceOwner:"google",resourceType:"spreadsheet",resourceIdSlug:"{docId}",resourceIdSegmentFormats:{docId:/[a-zA-Z0-9_-]+/}},ln=class e extends T{constructor(e){super(e),this._docId=e.resourceIdSegmentValues.docId}get docId(){return this._docId}static create(r){let t={qualifier:dn.qualifier,platformQualifier:dn.platformQualifier,cloudId:void 0,resourceOwner:dn.resourceOwner,resourceType:dn.resourceType,resourceId:`${r.docId}`,resourceIdSegmentValues:{docId:r.docId}},i=p.fromOpts(t,dn);return new e(i)}static parse(r){let t=p.fromString(r,dn);return new e(t)}getVariables(){return{docId:this.docId}}},In={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"graph",resourceType:"branch",resourceIdSlug:"activation/{activationId}/{branchId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,branchId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},pn=class e extends T{constructor(e){super(e),this._activationId=e.resourceIdSegmentValues.activationId,this._branchId=e.resourceIdSegmentValues.branchId}get activationId(){return this._activationId}get branchId(){return this._branchId}static create(r){let t={qualifier:In.qualifier,platformQualifier:In.platformQualifier,cloudId:void 0,resourceOwner:In.resourceOwner,resourceType:In.resourceType,resourceId:`activation/${r.activationId}/${r.branchId}`,resourceIdSegmentValues:{activationId:r.activationId,branchId:r.branchId}},i=p.fromOpts(t,In);return new e(i)}static parse(r){let t=p.fromString(r,In);return new e(t)}getVariables(){return{activationId:this.activationId,branchId:this.branchId}}},fn={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"graph",resourceType:"branch-history",resourceIdSlug:"activation/{activationId}/{branchId}/{updateSequenceNumber}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,branchId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/,updateSequenceNumber:/\d+/}},mn=class e extends T{constructor(e){super(e),this._activationId=e.resourceIdSegmentValues.activationId,this._branchId=e.resourceIdSegmentValues.branchId,this._updateSequenceNumber=e.resourceIdSegmentValues.updateSequenceNumber}get activationId(){return this._activationId}get branchId(){return this._branchId}get updateSequenceNumber(){return this._updateSequenceNumber}static create(r){let t={qualifier:fn.qualifier,platformQualifier:fn.platformQualifier,cloudId:void 0,resourceOwner:fn.resourceOwner,resourceType:fn.resourceType,resourceId:`activation/${r.activationId}/${r.branchId}/${r.updateSequenceNumber}`,resourceIdSegmentValues:{activationId:r.activationId,branchId:r.branchId,updateSequenceNumber:r.updateSequenceNumber}},i=p.fromOpts(t,fn);return new e(i)}static parse(r){let t=p.fromString(r,fn);return new e(t)}getVariables(){return{activationId:this.activationId,branchId:this.branchId,updateSequenceNumber:this.updateSequenceNumber}}},hn={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"graph",resourceType:"build",resourceIdSlug:"activation/{activationId}/{buildId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,buildId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},gn=class e extends T{constructor(e){super(e),this._activationId=e.resourceIdSegmentValues.activationId,this._buildId=e.resourceIdSegmentValues.buildId}get activationId(){return this._activationId}get buildId(){return this._buildId}static create(r){let t={qualifier:hn.qualifier,platformQualifier:hn.platformQualifier,cloudId:void 0,resourceOwner:hn.resourceOwner,resourceType:hn.resourceType,resourceId:`activation/${r.activationId}/${r.buildId}`,resourceIdSegmentValues:{activationId:r.activationId,buildId:r.buildId}},i=p.fromOpts(t,hn);return new e(i)}static parse(r){let t=p.fromString(r,hn);return new e(t)}getVariables(){return{activationId:this.activationId,buildId:this.buildId}}},vn={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"graph",resourceType:"build-history",resourceIdSlug:"activation/{activationId}/{buildId}/{updateSequenceNumber}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,buildId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/,updateSequenceNumber:/\d+/}},yn=class e extends T{constructor(e){super(e),this._activationId=e.resourceIdSegmentValues.activationId,this._buildId=e.resourceIdSegmentValues.buildId,this._updateSequenceNumber=e.resourceIdSegmentValues.updateSequenceNumber}get activationId(){return this._activationId}get buildId(){return this._buildId}get updateSequenceNumber(){return this._updateSequenceNumber}static create(r){let t={qualifier:vn.qualifier,platformQualifier:vn.platformQualifier,cloudId:void 0,resourceOwner:vn.resourceOwner,resourceType:vn.resourceType,resourceId:`activation/${r.activationId}/${r.buildId}/${r.updateSequenceNumber}`,resourceIdSegmentValues:{activationId:r.activationId,buildId:r.buildId,updateSequenceNumber:r.updateSequenceNumber}},i=p.fromOpts(t,vn);return new e(i)}static parse(r){let t=p.fromString(r,vn);return new e(t)}getVariables(){return{activationId:this.activationId,buildId:this.buildId,updateSequenceNumber:this.updateSequenceNumber}}},wn={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"graph",resourceType:"commit",resourceIdSlug:"activation/{activationId}/{commitId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,commitId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},Sn=class e extends T{constructor(e){super(e),this._activationId=e.resourceIdSegmentValues.activationId,this._commitId=e.resourceIdSegmentValues.commitId}get activationId(){return this._activationId}get commitId(){return this._commitId}static create(r){let t={qualifier:wn.qualifier,platformQualifier:wn.platformQualifier,cloudId:void 0,resourceOwner:wn.resourceOwner,resourceType:wn.resourceType,resourceId:`activation/${r.activationId}/${r.commitId}`,resourceIdSegmentValues:{activationId:r.activationId,commitId:r.commitId}},i=p.fromOpts(t,wn);return new e(i)}static parse(r){let t=p.fromString(r,wn);return new e(t)}getVariables(){return{activationId:this.activationId,commitId:this.commitId}}},_n={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"graph",resourceType:"content",resourceIdSlug:"activation/{activationId}/{contentId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,contentId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},bn=class e extends T{constructor(e){super(e),this._activationId=e.resourceIdSegmentValues.activationId,this._contentId=e.resourceIdSegmentValues.contentId}get activationId(){return this._activationId}get contentId(){return this._contentId}static create(r){let t={qualifier:_n.qualifier,platformQualifier:_n.platformQualifier,cloudId:void 0,resourceOwner:_n.resourceOwner,resourceType:_n.resourceType,resourceId:`activation/${r.activationId}/${r.contentId}`,resourceIdSegmentValues:{activationId:r.activationId,contentId:r.contentId}},i=p.fromOpts(t,_n);return new e(i)}static parse(r){let t=p.fromString(r,_n);return new e(t)}getVariables(){return{activationId:this.activationId,contentId:this.contentId}}},Tn={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"graph",resourceType:"deployment",resourceIdSlug:"activation/{activationId}/{deploymentId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,deploymentId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},On=class e extends T{constructor(e){super(e),this._activationId=e.resourceIdSegmentValues.activationId,this._deploymentId=e.resourceIdSegmentValues.deploymentId}get activationId(){return this._activationId}get deploymentId(){return this._deploymentId}static create(r){let t={qualifier:Tn.qualifier,platformQualifier:Tn.platformQualifier,cloudId:void 0,resourceOwner:Tn.resourceOwner,resourceType:Tn.resourceType,resourceId:`activation/${r.activationId}/${r.deploymentId}`,resourceIdSegmentValues:{activationId:r.activationId,deploymentId:r.deploymentId}},i=p.fromOpts(t,Tn);return new e(i)}static parse(r){let t=p.fromString(r,Tn);return new e(t)}getVariables(){return{activationId:this.activationId,deploymentId:this.deploymentId}}},kn={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"graph",resourceType:"deployment-history",resourceIdSlug:"activation/{activationId}/{deploymentId}/{updateSequenceNumber}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,deploymentId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/,updateSequenceNumber:/\d+/}},An=class e extends T{constructor(e){super(e),this._activationId=e.resourceIdSegmentValues.activationId,this._deploymentId=e.resourceIdSegmentValues.deploymentId,this._updateSequenceNumber=e.resourceIdSegmentValues.updateSequenceNumber}get activationId(){return this._activationId}get deploymentId(){return this._deploymentId}get updateSequenceNumber(){return this._updateSequenceNumber}static create(r){let t={qualifier:kn.qualifier,platformQualifier:kn.platformQualifier,cloudId:void 0,resourceOwner:kn.resourceOwner,resourceType:kn.resourceType,resourceId:`activation/${r.activationId}/${r.deploymentId}/${r.updateSequenceNumber}`,resourceIdSegmentValues:{activationId:r.activationId,deploymentId:r.deploymentId,updateSequenceNumber:r.updateSequenceNumber}},i=p.fromOpts(t,kn);return new e(i)}static parse(r){let t=p.fromString(r,kn);return new e(t)}getVariables(){return{activationId:this.activationId,deploymentId:this.deploymentId,updateSequenceNumber:this.updateSequenceNumber}}},qn={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"graph",resourceType:"design",resourceIdSlug:"activation/{activationId}/{designId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,designId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},Vn=class e extends T{constructor(e){super(e),this._activationId=e.resourceIdSegmentValues.activationId,this._designId=e.resourceIdSegmentValues.designId}get activationId(){return this._activationId}get designId(){return this._designId}static create(r){let t={qualifier:qn.qualifier,platformQualifier:qn.platformQualifier,cloudId:void 0,resourceOwner:qn.resourceOwner,resourceType:qn.resourceType,resourceId:`activation/${r.activationId}/${r.designId}`,resourceIdSegmentValues:{activationId:r.activationId,designId:r.designId}},i=p.fromOpts(t,qn);return new e(i)}static parse(r){let t=p.fromString(r,qn);return new e(t)}getVariables(){return{activationId:this.activationId,designId:this.designId}}},En={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"graph",resourceType:"design-history",resourceIdSlug:"activation/{activationId}/{designId}/{updateSequenceNumber}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,designId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/,updateSequenceNumber:/\d+/}},xn=class e extends T{constructor(e){super(e),this._activationId=e.resourceIdSegmentValues.activationId,this._designId=e.resourceIdSegmentValues.designId,this._updateSequenceNumber=e.resourceIdSegmentValues.updateSequenceNumber}get activationId(){return this._activationId}get designId(){return this._designId}get updateSequenceNumber(){return this._updateSequenceNumber}static create(r){let t={qualifier:En.qualifier,platformQualifier:En.platformQualifier,cloudId:void 0,resourceOwner:En.resourceOwner,resourceType:En.resourceType,resourceId:`activation/${r.activationId}/${r.designId}/${r.updateSequenceNumber}`,resourceIdSegmentValues:{activationId:r.activationId,designId:r.designId,updateSequenceNumber:r.updateSequenceNumber}},i=p.fromOpts(t,En);return new e(i)}static parse(r){let t=p.fromString(r,En);return new e(t)}getVariables(){return{activationId:this.activationId,designId:this.designId,updateSequenceNumber:this.updateSequenceNumber}}},Rn={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"graph",resourceType:"devops-component",resourceIdSlug:"activation/{activationId}/{devopsComponentId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,devopsComponentId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},$n=class e extends T{constructor(e){super(e),this._activationId=e.resourceIdSegmentValues.activationId,this._devopsComponentId=e.resourceIdSegmentValues.devopsComponentId}get activationId(){return this._activationId}get devopsComponentId(){return this._devopsComponentId}static create(r){let t={qualifier:Rn.qualifier,platformQualifier:Rn.platformQualifier,cloudId:void 0,resourceOwner:Rn.resourceOwner,resourceType:Rn.resourceType,resourceId:`activation/${r.activationId}/${r.devopsComponentId}`,resourceIdSegmentValues:{activationId:r.activationId,devopsComponentId:r.devopsComponentId}},i=p.fromOpts(t,Rn);return new e(i)}static parse(r){let t=p.fromString(r,Rn);return new e(t)}getVariables(){return{activationId:this.activationId,devopsComponentId:this.devopsComponentId}}},Qn={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"graph",resourceType:"document",resourceIdSlug:"activation/{activationId}/{documentId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,documentId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},Nn=class e extends T{constructor(e){super(e),this._activationId=e.resourceIdSegmentValues.activationId,this._documentId=e.resourceIdSegmentValues.documentId}get activationId(){return this._activationId}get documentId(){return this._documentId}static create(r){let t={qualifier:Qn.qualifier,platformQualifier:Qn.platformQualifier,cloudId:void 0,resourceOwner:Qn.resourceOwner,resourceType:Qn.resourceType,resourceId:`activation/${r.activationId}/${r.documentId}`,resourceIdSegmentValues:{activationId:r.activationId,documentId:r.documentId}},i=p.fromOpts(t,Qn);return new e(i)}static parse(r){let t=p.fromString(r,Qn);return new e(t)}getVariables(){return{activationId:this.activationId,documentId:this.documentId}}},Cn={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"graph",resourceType:"document-history",resourceIdSlug:"activation/{activationId}/{documentId}/{updateSequenceNumber}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,documentId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/,updateSequenceNumber:/\d+/}},Fn=class e extends T{constructor(e){super(e),this._activationId=e.resourceIdSegmentValues.activationId,this._documentId=e.resourceIdSegmentValues.documentId,this._updateSequenceNumber=e.resourceIdSegmentValues.updateSequenceNumber}get activationId(){return this._activationId}get documentId(){return this._documentId}get updateSequenceNumber(){return this._updateSequenceNumber}static create(r){let t={qualifier:Cn.qualifier,platformQualifier:Cn.platformQualifier,cloudId:void 0,resourceOwner:Cn.resourceOwner,resourceType:Cn.resourceType,resourceId:`activation/${r.activationId}/${r.documentId}/${r.updateSequenceNumber}`,resourceIdSegmentValues:{activationId:r.activationId,documentId:r.documentId,updateSequenceNumber:r.updateSequenceNumber}},i=p.fromOpts(t,Cn);return new e(i)}static parse(r){let t=p.fromString(r,Cn);return new e(t)}getVariables(){return{activationId:this.activationId,documentId:this.documentId,updateSequenceNumber:this.updateSequenceNumber}}},zn={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"graph",resourceType:"employee",resourceIdSlug:"activation/{activationId}/{employeeId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,employeeId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},Ln=class e extends T{constructor(e){super(e),this._activationId=e.resourceIdSegmentValues.activationId,this._employeeId=e.resourceIdSegmentValues.employeeId}get activationId(){return this._activationId}get employeeId(){return this._employeeId}static create(r){let t={qualifier:zn.qualifier,platformQualifier:zn.platformQualifier,cloudId:void 0,resourceOwner:zn.resourceOwner,resourceType:zn.resourceType,resourceId:`activation/${r.activationId}/${r.employeeId}`,resourceIdSegmentValues:{activationId:r.activationId,employeeId:r.employeeId}},i=p.fromOpts(t,zn);return new e(i)}static parse(r){let t=p.fromString(r,zn);return new e(t)}getVariables(){return{activationId:this.activationId,employeeId:this.employeeId}}},Mn={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"graph",resourceType:"employee-history",resourceIdSlug:"activation/{activationId}/{employeeId}/{updateSequenceNumber}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,employeeId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/,updateSequenceNumber:/\d+/}},Pn=class e extends T{constructor(e){super(e),this._activationId=e.resourceIdSegmentValues.activationId,this._employeeId=e.resourceIdSegmentValues.employeeId,this._updateSequenceNumber=e.resourceIdSegmentValues.updateSequenceNumber}get activationId(){return this._activationId}get employeeId(){return this._employeeId}get updateSequenceNumber(){return this._updateSequenceNumber}static create(r){let t={qualifier:Mn.qualifier,platformQualifier:Mn.platformQualifier,cloudId:void 0,resourceOwner:Mn.resourceOwner,resourceType:Mn.resourceType,resourceId:`activation/${r.activationId}/${r.employeeId}/${r.updateSequenceNumber}`,resourceIdSegmentValues:{activationId:r.activationId,employeeId:r.employeeId,updateSequenceNumber:r.updateSequenceNumber}},i=p.fromOpts(t,Mn);return new e(i)}static parse(r){let t=p.fromString(r,Mn);return new e(t)}getVariables(){return{activationId:this.activationId,employeeId:this.employeeId,updateSequenceNumber:this.updateSequenceNumber}}},jn={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"graph",resourceType:"feature-flag",resourceIdSlug:"activation/{activationId}/{featureFlagId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,featureFlagId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},Zn=class e extends T{constructor(e){super(e),this._activationId=e.resourceIdSegmentValues.activationId,this._featureFlagId=e.resourceIdSegmentValues.featureFlagId}get activationId(){return this._activationId}get featureFlagId(){return this._featureFlagId}static create(r){let t={qualifier:jn.qualifier,platformQualifier:jn.platformQualifier,cloudId:void 0,resourceOwner:jn.resourceOwner,resourceType:jn.resourceType,resourceId:`activation/${r.activationId}/${r.featureFlagId}`,resourceIdSegmentValues:{activationId:r.activationId,featureFlagId:r.featureFlagId}},i=p.fromOpts(t,jn);return new e(i)}static parse(r){let t=p.fromString(r,jn);return new e(t)}getVariables(){return{activationId:this.activationId,featureFlagId:this.featureFlagId}}},Un={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"graph",resourceType:"feature-flag-history",resourceIdSlug:"activation/{activationId}/{featureFlagId}/{updateSequenceNumber}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,featureFlagId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/,updateSequenceNumber:/\d+/}},Dn=class e extends T{constructor(e){super(e),this._activationId=e.resourceIdSegmentValues.activationId,this._featureFlagId=e.resourceIdSegmentValues.featureFlagId,this._updateSequenceNumber=e.resourceIdSegmentValues.updateSequenceNumber}get activationId(){return this._activationId}get featureFlagId(){return this._featureFlagId}get updateSequenceNumber(){return this._updateSequenceNumber}static create(r){let t={qualifier:Un.qualifier,platformQualifier:Un.platformQualifier,cloudId:void 0,resourceOwner:Un.resourceOwner,resourceType:Un.resourceType,resourceId:`activation/${r.activationId}/${r.featureFlagId}/${r.updateSequenceNumber}`,resourceIdSegmentValues:{activationId:r.activationId,featureFlagId:r.featureFlagId,updateSequenceNumber:r.updateSequenceNumber}},i=p.fromOpts(t,Un);return new e(i)}static parse(r){let t=p.fromString(r,Un);return new e(t)}getVariables(){return{activationId:this.activationId,featureFlagId:this.featureFlagId,updateSequenceNumber:this.updateSequenceNumber}}},Wn={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"graph",resourceType:"incident",resourceIdSlug:"activation/{activationId}/{incidentId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,incidentId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},Kn=class e extends T{constructor(e){super(e),this._activationId=e.resourceIdSegmentValues.activationId,this._incidentId=e.resourceIdSegmentValues.incidentId}get activationId(){return this._activationId}get incidentId(){return this._incidentId}static create(r){let t={qualifier:Wn.qualifier,platformQualifier:Wn.platformQualifier,cloudId:void 0,resourceOwner:Wn.resourceOwner,resourceType:Wn.resourceType,resourceId:`activation/${r.activationId}/${r.incidentId}`,resourceIdSegmentValues:{activationId:r.activationId,incidentId:r.incidentId}},i=p.fromOpts(t,Wn);return new e(i)}static parse(r){let t=p.fromString(r,Wn);return new e(t)}getVariables(){return{activationId:this.activationId,incidentId:this.incidentId}}},Bn={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"graph",resourceType:"incident-history",resourceIdSlug:"activation/{activationId}/{incidentId}/{updateSequenceNumber}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,incidentId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/,updateSequenceNumber:/\d+/}},Gn=class e extends T{constructor(e){super(e),this._activationId=e.resourceIdSegmentValues.activationId,this._incidentId=e.resourceIdSegmentValues.incidentId,this._updateSequenceNumber=e.resourceIdSegmentValues.updateSequenceNumber}get activationId(){return this._activationId}get incidentId(){return this._incidentId}get updateSequenceNumber(){return this._updateSequenceNumber}static create(r){let t={qualifier:Bn.qualifier,platformQualifier:Bn.platformQualifier,cloudId:void 0,resourceOwner:Bn.resourceOwner,resourceType:Bn.resourceType,resourceId:`activation/${r.activationId}/${r.incidentId}/${r.updateSequenceNumber}`,resourceIdSegmentValues:{activationId:r.activationId,incidentId:r.incidentId,updateSequenceNumber:r.updateSequenceNumber}},i=p.fromOpts(t,Bn);return new e(i)}static parse(r){let t=p.fromString(r,Bn);return new e(t)}getVariables(){return{activationId:this.activationId,incidentId:this.incidentId,updateSequenceNumber:this.updateSequenceNumber}}},Jn={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"graph",resourceType:"jira-project-and-devops-tool-relationship",resourceIdSlug:"{workspaceId}/{relationshipId}",resourceIdSegmentFormats:{workspaceId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/,relationshipId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},Hn=class e extends T{constructor(e){super(e),this._workspaceId=e.resourceIdSegmentValues.workspaceId,this._relationshipId=e.resourceIdSegmentValues.relationshipId}get workspaceId(){return this._workspaceId}get relationshipId(){return this._relationshipId}static create(r){let t={qualifier:Jn.qualifier,platformQualifier:Jn.platformQualifier,cloudId:void 0,resourceOwner:Jn.resourceOwner,resourceType:Jn.resourceType,resourceId:`${r.workspaceId}/${r.relationshipId}`,resourceIdSegmentValues:{workspaceId:r.workspaceId,relationshipId:r.relationshipId}},i=p.fromOpts(t,Jn);return new e(i)}static parse(r){let t=p.fromString(r,Jn);return new e(t)}getVariables(){return{workspaceId:this.workspaceId,relationshipId:this.relationshipId}}},Yn={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"graph",resourceType:"jira-project-and-documentation-space-relationship",resourceIdSlug:"{workspaceId}/{relationshipId}",resourceIdSegmentFormats:{workspaceId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/,relationshipId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},Xn=class e extends T{constructor(e){super(e),this._workspaceId=e.resourceIdSegmentValues.workspaceId,this._relationshipId=e.resourceIdSegmentValues.relationshipId}get workspaceId(){return this._workspaceId}get relationshipId(){return this._relationshipId}static create(r){let t={qualifier:Yn.qualifier,platformQualifier:Yn.platformQualifier,cloudId:void 0,resourceOwner:Yn.resourceOwner,resourceType:Yn.resourceType,resourceId:`${r.workspaceId}/${r.relationshipId}`,resourceIdSegmentValues:{workspaceId:r.workspaceId,relationshipId:r.relationshipId}},i=p.fromOpts(t,Yn);return new e(i)}static parse(r){let t=p.fromString(r,Yn);return new e(t)}getVariables(){return{workspaceId:this.workspaceId,relationshipId:this.relationshipId}}},eo={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"graph",resourceType:"jira-project-and-operations-team-relationship",resourceIdSlug:"{workspaceId}/{relationshipId}",resourceIdSegmentFormats:{workspaceId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/,relationshipId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},ro=class e extends T{constructor(e){super(e),this._workspaceId=e.resourceIdSegmentValues.workspaceId,this._relationshipId=e.resourceIdSegmentValues.relationshipId}get workspaceId(){return this._workspaceId}get relationshipId(){return this._relationshipId}static create(r){let t={qualifier:eo.qualifier,platformQualifier:eo.platformQualifier,cloudId:void 0,resourceOwner:eo.resourceOwner,resourceType:eo.resourceType,resourceId:`${r.workspaceId}/${r.relationshipId}`,resourceIdSegmentValues:{workspaceId:r.workspaceId,relationshipId:r.relationshipId}},i=p.fromOpts(t,eo);return new e(i)}static parse(r){let t=p.fromString(r,eo);return new e(t)}getVariables(){return{workspaceId:this.workspaceId,relationshipId:this.relationshipId}}},to={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"graph",resourceType:"jira-project-and-vcs-repository-relationship",resourceIdSlug:"{workspaceId}/{relationshipId}",resourceIdSegmentFormats:{workspaceId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/,relationshipId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},io=class e extends T{constructor(e){super(e),this._workspaceId=e.resourceIdSegmentValues.workspaceId,this._relationshipId=e.resourceIdSegmentValues.relationshipId}get workspaceId(){return this._workspaceId}get relationshipId(){return this._relationshipId}static create(r){let t={qualifier:to.qualifier,platformQualifier:to.platformQualifier,cloudId:void 0,resourceOwner:to.resourceOwner,resourceType:to.resourceType,resourceId:`${r.workspaceId}/${r.relationshipId}`,resourceIdSegmentValues:{workspaceId:r.workspaceId,relationshipId:r.relationshipId}},i=p.fromOpts(t,to);return new e(i)}static parse(r){let t=p.fromString(r,to);return new e(t)}getVariables(){return{workspaceId:this.workspaceId,relationshipId:this.relationshipId}}},no={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"graph",resourceType:"jira-project-and-vcs-repository-relationship-temp-migration",resourceIdSlug:"{siteId}/{projectId}/{activationId}/{repositoryId}",resourceIdSegmentFormats:{siteId:/[a-zA-Z0-9\-]+/,projectId:/[0-9]+/,activationId:/[a-zA-Z0-9\-]+/,repositoryId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},oo=class e extends T{constructor(e){super(e),this._siteId=e.resourceIdSegmentValues.siteId,this._projectId=e.resourceIdSegmentValues.projectId,this._activationId=e.resourceIdSegmentValues.activationId,this._repositoryId=e.resourceIdSegmentValues.repositoryId}get siteId(){return this._siteId}get projectId(){return this._projectId}get activationId(){return this._activationId}get repositoryId(){return this._repositoryId}static create(r){let t={qualifier:no.qualifier,platformQualifier:no.platformQualifier,cloudId:void 0,resourceOwner:no.resourceOwner,resourceType:no.resourceType,resourceId:`${r.siteId}/${r.projectId}/${r.activationId}/${r.repositoryId}`,resourceIdSegmentValues:{siteId:r.siteId,projectId:r.projectId,activationId:r.activationId,repositoryId:r.repositoryId}},i=p.fromOpts(t,no);return new e(i)}static parse(r){let t=p.fromString(r,no);return new e(t)}getVariables(){return{siteId:this.siteId,projectId:this.projectId,activationId:this.activationId,repositoryId:this.repositoryId}}},ao={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"graph",resourceType:"operations-workspace",resourceIdSlug:"activation/{activationId}/{providerAppId}/{operationsWorkspaceId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,providerAppId:/[a-zA-Z0-9-._]+/,operationsWorkspaceId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},so=class e extends T{constructor(e){super(e),this._activationId=e.resourceIdSegmentValues.activationId,this._providerAppId=e.resourceIdSegmentValues.providerAppId,this._operationsWorkspaceId=e.resourceIdSegmentValues.operationsWorkspaceId}get activationId(){return this._activationId}get providerAppId(){return this._providerAppId}get operationsWorkspaceId(){return this._operationsWorkspaceId}static create(r){let t={qualifier:ao.qualifier,platformQualifier:ao.platformQualifier,cloudId:void 0,resourceOwner:ao.resourceOwner,resourceType:ao.resourceType,resourceId:`activation/${r.activationId}/${r.providerAppId}/${r.operationsWorkspaceId}`,resourceIdSegmentValues:{activationId:r.activationId,providerAppId:r.providerAppId,operationsWorkspaceId:r.operationsWorkspaceId}},i=p.fromOpts(t,ao);return new e(i)}static parse(r){let t=p.fromString(r,ao);return new e(t)}getVariables(){return{activationId:this.activationId,providerAppId:this.providerAppId,operationsWorkspaceId:this.operationsWorkspaceId}}},uo={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"graph",resourceType:"post-incident-review",resourceIdSlug:"activation/{activationId}/{postIncidentReviewId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,postIncidentReviewId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},co=class e extends T{constructor(e){super(e),this._activationId=e.resourceIdSegmentValues.activationId,this._postIncidentReviewId=e.resourceIdSegmentValues.postIncidentReviewId}get activationId(){return this._activationId}get postIncidentReviewId(){return this._postIncidentReviewId}static create(r){let t={qualifier:uo.qualifier,platformQualifier:uo.platformQualifier,cloudId:void 0,resourceOwner:uo.resourceOwner,resourceType:uo.resourceType,resourceId:`activation/${r.activationId}/${r.postIncidentReviewId}`,resourceIdSegmentValues:{activationId:r.activationId,postIncidentReviewId:r.postIncidentReviewId}},i=p.fromOpts(t,uo);return new e(i)}static parse(r){let t=p.fromString(r,uo);return new e(t)}getVariables(){return{activationId:this.activationId,postIncidentReviewId:this.postIncidentReviewId}}},lo={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"graph",resourceType:"post-incident-review-history",resourceIdSlug:"activation/{activationId}/{postIncidentReviewId}/{updateSequenceNumber}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,postIncidentReviewId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/,updateSequenceNumber:/\d+/}},Io=class e extends T{constructor(e){super(e),this._activationId=e.resourceIdSegmentValues.activationId,this._postIncidentReviewId=e.resourceIdSegmentValues.postIncidentReviewId,this._updateSequenceNumber=e.resourceIdSegmentValues.updateSequenceNumber}get activationId(){return this._activationId}get postIncidentReviewId(){return this._postIncidentReviewId}get updateSequenceNumber(){return this._updateSequenceNumber}static create(r){let t={qualifier:lo.qualifier,platformQualifier:lo.platformQualifier,cloudId:void 0,resourceOwner:lo.resourceOwner,resourceType:lo.resourceType,resourceId:`activation/${r.activationId}/${r.postIncidentReviewId}/${r.updateSequenceNumber}`,resourceIdSegmentValues:{activationId:r.activationId,postIncidentReviewId:r.postIncidentReviewId,updateSequenceNumber:r.updateSequenceNumber}},i=p.fromOpts(t,lo);return new e(i)}static parse(r){let t=p.fromString(r,lo);return new e(t)}getVariables(){return{activationId:this.activationId,postIncidentReviewId:this.postIncidentReviewId,updateSequenceNumber:this.updateSequenceNumber}}},po={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"graph",resourceType:"project",resourceIdSlug:"activation/{activationId}/{projectId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,projectId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},fo=class e extends T{constructor(e){super(e),this._activationId=e.resourceIdSegmentValues.activationId,this._projectId=e.resourceIdSegmentValues.projectId}get activationId(){return this._activationId}get projectId(){return this._projectId}static create(r){let t={qualifier:po.qualifier,platformQualifier:po.platformQualifier,cloudId:void 0,resourceOwner:po.resourceOwner,resourceType:po.resourceType,resourceId:`activation/${r.activationId}/${r.projectId}`,resourceIdSegmentValues:{activationId:r.activationId,projectId:r.projectId}},i=p.fromOpts(t,po);return new e(i)}static parse(r){let t=p.fromString(r,po);return new e(t)}getVariables(){return{activationId:this.activationId,projectId:this.projectId}}},mo={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"graph",resourceType:"pull-request",resourceIdSlug:"activation/{activationId}/{pullRequestId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,pullRequestId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},ho=class e extends T{constructor(e){super(e),this._activationId=e.resourceIdSegmentValues.activationId,this._pullRequestId=e.resourceIdSegmentValues.pullRequestId}get activationId(){return this._activationId}get pullRequestId(){return this._pullRequestId}static create(r){let t={qualifier:mo.qualifier,platformQualifier:mo.platformQualifier,cloudId:void 0,resourceOwner:mo.resourceOwner,resourceType:mo.resourceType,resourceId:`activation/${r.activationId}/${r.pullRequestId}`,resourceIdSegmentValues:{activationId:r.activationId,pullRequestId:r.pullRequestId}},i=p.fromOpts(t,mo);return new e(i)}static parse(r){let t=p.fromString(r,mo);return new e(t)}getVariables(){return{activationId:this.activationId,pullRequestId:this.pullRequestId}}},go={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"graph",resourceType:"pull-request-history",resourceIdSlug:"activation/{activationId}/{pullRequestId}/{updateSequenceNumber}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,pullRequestId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/,updateSequenceNumber:/\d+/}},vo=class e extends T{constructor(e){super(e),this._activationId=e.resourceIdSegmentValues.activationId,this._pullRequestId=e.resourceIdSegmentValues.pullRequestId,this._updateSequenceNumber=e.resourceIdSegmentValues.updateSequenceNumber}get activationId(){return this._activationId}get pullRequestId(){return this._pullRequestId}get updateSequenceNumber(){return this._updateSequenceNumber}static create(r){let t={qualifier:go.qualifier,platformQualifier:go.platformQualifier,cloudId:void 0,resourceOwner:go.resourceOwner,resourceType:go.resourceType,resourceId:`activation/${r.activationId}/${r.pullRequestId}/${r.updateSequenceNumber}`,resourceIdSegmentValues:{activationId:r.activationId,pullRequestId:r.pullRequestId,updateSequenceNumber:r.updateSequenceNumber}},i=p.fromOpts(t,go);return new e(i)}static parse(r){let t=p.fromString(r,go);return new e(t)}getVariables(){return{activationId:this.activationId,pullRequestId:this.pullRequestId,updateSequenceNumber:this.updateSequenceNumber}}},yo={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"graph",resourceType:"remote-link",resourceIdSlug:"activation/{activationId}/{remoteLinkId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,remoteLinkId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},wo=class e extends T{constructor(e){super(e),this._activationId=e.resourceIdSegmentValues.activationId,this._remoteLinkId=e.resourceIdSegmentValues.remoteLinkId}get activationId(){return this._activationId}get remoteLinkId(){return this._remoteLinkId}static create(r){let t={qualifier:yo.qualifier,platformQualifier:yo.platformQualifier,cloudId:void 0,resourceOwner:yo.resourceOwner,resourceType:yo.resourceType,resourceId:`activation/${r.activationId}/${r.remoteLinkId}`,resourceIdSegmentValues:{activationId:r.activationId,remoteLinkId:r.remoteLinkId}},i=p.fromOpts(t,yo);return new e(i)}static parse(r){let t=p.fromString(r,yo);return new e(t)}getVariables(){return{activationId:this.activationId,remoteLinkId:this.remoteLinkId}}},So={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"graph",resourceType:"remote-link-history",resourceIdSlug:"activation/{activationId}/{remoteLinkId}/{updateSequenceNumber}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,remoteLinkId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/,updateSequenceNumber:/\d+/}},_o=class e extends T{constructor(e){super(e),this._activationId=e.resourceIdSegmentValues.activationId,this._remoteLinkId=e.resourceIdSegmentValues.remoteLinkId,this._updateSequenceNumber=e.resourceIdSegmentValues.updateSequenceNumber}get activationId(){return this._activationId}get remoteLinkId(){return this._remoteLinkId}get updateSequenceNumber(){return this._updateSequenceNumber}static create(r){let t={qualifier:So.qualifier,platformQualifier:So.platformQualifier,cloudId:void 0,resourceOwner:So.resourceOwner,resourceType:So.resourceType,resourceId:`activation/${r.activationId}/${r.remoteLinkId}/${r.updateSequenceNumber}`,resourceIdSegmentValues:{activationId:r.activationId,remoteLinkId:r.remoteLinkId,updateSequenceNumber:r.updateSequenceNumber}},i=p.fromOpts(t,So);return new e(i)}static parse(r){let t=p.fromString(r,So);return new e(t)}getVariables(){return{activationId:this.activationId,remoteLinkId:this.remoteLinkId,updateSequenceNumber:this.updateSequenceNumber}}},bo={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"graph",resourceType:"repository",resourceIdSlug:"activation/{activationId}/{repositoryId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,repositoryId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},To=class e extends T{constructor(e){super(e),this._activationId=e.resourceIdSegmentValues.activationId,this._repositoryId=e.resourceIdSegmentValues.repositoryId}get activationId(){return this._activationId}get repositoryId(){return this._repositoryId}static create(r){let t={qualifier:bo.qualifier,platformQualifier:bo.platformQualifier,cloudId:void 0,resourceOwner:bo.resourceOwner,resourceType:bo.resourceType,resourceId:`activation/${r.activationId}/${r.repositoryId}`,resourceIdSegmentValues:{activationId:r.activationId,repositoryId:r.repositoryId}},i=p.fromOpts(t,bo);return new e(i)}static parse(r){let t=p.fromString(r,bo);return new e(t)}getVariables(){return{activationId:this.activationId,repositoryId:this.repositoryId}}},Oo={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"graph",resourceType:"security-container",resourceIdSlug:"activation/{activationId}/{providerAppId}/{securityContainerId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,providerAppId:/[a-zA-Z0-9-._]+/,securityContainerId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},ko=class e extends T{constructor(e){super(e),this._activationId=e.resourceIdSegmentValues.activationId,this._providerAppId=e.resourceIdSegmentValues.providerAppId,this._securityContainerId=e.resourceIdSegmentValues.securityContainerId}get activationId(){return this._activationId}get providerAppId(){return this._providerAppId}get securityContainerId(){return this._securityContainerId}static create(r){let t={qualifier:Oo.qualifier,platformQualifier:Oo.platformQualifier,cloudId:void 0,resourceOwner:Oo.resourceOwner,resourceType:Oo.resourceType,resourceId:`activation/${r.activationId}/${r.providerAppId}/${r.securityContainerId}`,resourceIdSegmentValues:{activationId:r.activationId,providerAppId:r.providerAppId,securityContainerId:r.securityContainerId}},i=p.fromOpts(t,Oo);return new e(i)}static parse(r){let t=p.fromString(r,Oo);return new e(t)}getVariables(){return{activationId:this.activationId,providerAppId:this.providerAppId,securityContainerId:this.securityContainerId}}},Ao={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"graph",resourceType:"security-workspace",resourceIdSlug:"activation/{activationId}/{providerAppId}/{securityWorkspaceId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,providerAppId:/[a-zA-Z0-9-._]+/,securityWorkspaceId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},qo=class e extends T{constructor(e){super(e),this._activationId=e.resourceIdSegmentValues.activationId,this._providerAppId=e.resourceIdSegmentValues.providerAppId,this._securityWorkspaceId=e.resourceIdSegmentValues.securityWorkspaceId}get activationId(){return this._activationId}get providerAppId(){return this._providerAppId}get securityWorkspaceId(){return this._securityWorkspaceId}static create(r){let t={qualifier:Ao.qualifier,platformQualifier:Ao.platformQualifier,cloudId:void 0,resourceOwner:Ao.resourceOwner,resourceType:Ao.resourceType,resourceId:`activation/${r.activationId}/${r.providerAppId}/${r.securityWorkspaceId}`,resourceIdSegmentValues:{activationId:r.activationId,providerAppId:r.providerAppId,securityWorkspaceId:r.securityWorkspaceId}},i=p.fromOpts(t,Ao);return new e(i)}static parse(r){let t=p.fromString(r,Ao);return new e(t)}getVariables(){return{activationId:this.activationId,providerAppId:this.providerAppId,securityWorkspaceId:this.securityWorkspaceId}}},Vo={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"graph",resourceType:"service",resourceIdSlug:"{workspaceId}/{serviceId}",resourceIdSegmentFormats:{workspaceId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/,serviceId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},Eo=class e extends T{constructor(e){super(e),this._workspaceId=e.resourceIdSegmentValues.workspaceId,this._serviceId=e.resourceIdSegmentValues.serviceId}get workspaceId(){return this._workspaceId}get serviceId(){return this._serviceId}static create(r){let t={qualifier:Vo.qualifier,platformQualifier:Vo.platformQualifier,cloudId:void 0,resourceOwner:Vo.resourceOwner,resourceType:Vo.resourceType,resourceId:`${r.workspaceId}/${r.serviceId}`,resourceIdSegmentValues:{workspaceId:r.workspaceId,serviceId:r.serviceId}},i=p.fromOpts(t,Vo);return new e(i)}static parse(r){let t=p.fromString(r,Vo);return new e(t)}getVariables(){return{workspaceId:this.workspaceId,serviceId:this.serviceId}}},xo={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"graph",resourceType:"service-and-jira-project-relationship",resourceIdSlug:"{workspaceId}/{relationshipId}",resourceIdSegmentFormats:{workspaceId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/,relationshipId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},Ro=class e extends T{constructor(e){super(e),this._workspaceId=e.resourceIdSegmentValues.workspaceId,this._relationshipId=e.resourceIdSegmentValues.relationshipId}get workspaceId(){return this._workspaceId}get relationshipId(){return this._relationshipId}static create(r){let t={qualifier:xo.qualifier,platformQualifier:xo.platformQualifier,cloudId:void 0,resourceOwner:xo.resourceOwner,resourceType:xo.resourceType,resourceId:`${r.workspaceId}/${r.relationshipId}`,resourceIdSegmentValues:{workspaceId:r.workspaceId,relationshipId:r.relationshipId}},i=p.fromOpts(t,xo);return new e(i)}static parse(r){let t=p.fromString(r,xo);return new e(t)}getVariables(){return{workspaceId:this.workspaceId,relationshipId:this.relationshipId}}},$o={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"graph",resourceType:"service-and-operations-team-relationship",resourceIdSlug:"{workspaceId}/{relationshipId}",resourceIdSegmentFormats:{workspaceId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/,relationshipId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},Qo=class e extends T{constructor(e){super(e),this._workspaceId=e.resourceIdSegmentValues.workspaceId,this._relationshipId=e.resourceIdSegmentValues.relationshipId}get workspaceId(){return this._workspaceId}get relationshipId(){return this._relationshipId}static create(r){let t={qualifier:$o.qualifier,platformQualifier:$o.platformQualifier,cloudId:void 0,resourceOwner:$o.resourceOwner,resourceType:$o.resourceType,resourceId:`${r.workspaceId}/${r.relationshipId}`,resourceIdSegmentValues:{workspaceId:r.workspaceId,relationshipId:r.relationshipId}},i=p.fromOpts(t,$o);return new e(i)}static parse(r){let t=p.fromString(r,$o);return new e(t)}getVariables(){return{workspaceId:this.workspaceId,relationshipId:this.relationshipId}}},No={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"graph",resourceType:"service-and-vcs-repository-relationship",resourceIdSlug:"{workspaceId}/{relationshipId}",resourceIdSegmentFormats:{workspaceId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/,relationshipId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},Co=class e extends T{constructor(e){super(e),this._workspaceId=e.resourceIdSegmentValues.workspaceId,this._relationshipId=e.resourceIdSegmentValues.relationshipId}get workspaceId(){return this._workspaceId}get relationshipId(){return this._relationshipId}static create(r){let t={qualifier:No.qualifier,platformQualifier:No.platformQualifier,cloudId:void 0,resourceOwner:No.resourceOwner,resourceType:No.resourceType,resourceId:`${r.workspaceId}/${r.relationshipId}`,resourceIdSegmentValues:{workspaceId:r.workspaceId,relationshipId:r.relationshipId}},i=p.fromOpts(t,No);return new e(i)}static parse(r){let t=p.fromString(r,No);return new e(t)}getVariables(){return{workspaceId:this.workspaceId,relationshipId:this.relationshipId}}},Fo={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"graph",resourceType:"service-relationship",resourceIdSlug:"{workspaceId}/{relationshipId}",resourceIdSegmentFormats:{workspaceId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/,relationshipId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},zo=class e extends T{constructor(e){super(e),this._workspaceId=e.resourceIdSegmentValues.workspaceId,this._relationshipId=e.resourceIdSegmentValues.relationshipId}get workspaceId(){return this._workspaceId}get relationshipId(){return this._relationshipId}static create(r){let t={qualifier:Fo.qualifier,platformQualifier:Fo.platformQualifier,cloudId:void 0,resourceOwner:Fo.resourceOwner,resourceType:Fo.resourceType,resourceId:`${r.workspaceId}/${r.relationshipId}`,resourceIdSegmentValues:{workspaceId:r.workspaceId,relationshipId:r.relationshipId}},i=p.fromOpts(t,Fo);return new e(i)}static parse(r){let t=p.fromString(r,Fo);return new e(t)}getVariables(){return{workspaceId:this.workspaceId,relationshipId:this.relationshipId}}},Lo={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"graph",resourceType:"video",resourceIdSlug:"activation/{activationId}/{entityUUID}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,entityUUID:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},Mo=class e extends T{constructor(e){super(e),this._activationId=e.resourceIdSegmentValues.activationId,this._entityUUID=e.resourceIdSegmentValues.entityUUID}get activationId(){return this._activationId}get entityUUID(){return this._entityUUID}static create(r){let t={qualifier:Lo.qualifier,platformQualifier:Lo.platformQualifier,cloudId:void 0,resourceOwner:Lo.resourceOwner,resourceType:Lo.resourceType,resourceId:`activation/${r.activationId}/${r.entityUUID}`,resourceIdSegmentValues:{activationId:r.activationId,entityUUID:r.entityUUID}},i=p.fromOpts(t,Lo);return new e(i)}static parse(r){let t=p.fromString(r,Lo);return new e(t)}getVariables(){return{activationId:this.activationId,entityUUID:this.entityUUID}}},Po={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"graph",resourceType:"video-history",resourceIdSlug:"activation/{activationId}/{entityUUID}/{updateSequenceNumber}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,entityUUID:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/,updateSequenceNumber:/\d+/}},jo=class e extends T{constructor(e){super(e),this._activationId=e.resourceIdSegmentValues.activationId,this._entityUUID=e.resourceIdSegmentValues.entityUUID,this._updateSequenceNumber=e.resourceIdSegmentValues.updateSequenceNumber}get activationId(){return this._activationId}get entityUUID(){return this._entityUUID}get updateSequenceNumber(){return this._updateSequenceNumber}static create(r){let t={qualifier:Po.qualifier,platformQualifier:Po.platformQualifier,cloudId:void 0,resourceOwner:Po.resourceOwner,resourceType:Po.resourceType,resourceId:`activation/${r.activationId}/${r.entityUUID}/${r.updateSequenceNumber}`,resourceIdSegmentValues:{activationId:r.activationId,entityUUID:r.entityUUID,updateSequenceNumber:r.updateSequenceNumber}},i=p.fromOpts(t,Po);return new e(i)}static parse(r){let t=p.fromString(r,Po);return new e(t)}getVariables(){return{activationId:this.activationId,entityUUID:this.entityUUID,updateSequenceNumber:this.updateSequenceNumber}}},Zo={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"graph",resourceType:"vulnerability",resourceIdSlug:"activation/{activationId}/{vulnerabilityId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,vulnerabilityId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},Uo=class e extends T{constructor(e){super(e),this._activationId=e.resourceIdSegmentValues.activationId,this._vulnerabilityId=e.resourceIdSegmentValues.vulnerabilityId}get activationId(){return this._activationId}get vulnerabilityId(){return this._vulnerabilityId}static create(r){let t={qualifier:Zo.qualifier,platformQualifier:Zo.platformQualifier,cloudId:void 0,resourceOwner:Zo.resourceOwner,resourceType:Zo.resourceType,resourceId:`activation/${r.activationId}/${r.vulnerabilityId}`,resourceIdSegmentValues:{activationId:r.activationId,vulnerabilityId:r.vulnerabilityId}},i=p.fromOpts(t,Zo);return new e(i)}static parse(r){let t=p.fromString(r,Zo);return new e(t)}getVariables(){return{activationId:this.activationId,vulnerabilityId:this.vulnerabilityId}}},Do={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"graph",resourceType:"vulnerability-history",resourceIdSlug:"activation/{activationId}/{vulnerabilityId}/{updateSequenceNumber}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,vulnerabilityId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/,updateSequenceNumber:/\d+/}},Wo=class e extends T{constructor(e){super(e),this._activationId=e.resourceIdSegmentValues.activationId,this._vulnerabilityId=e.resourceIdSegmentValues.vulnerabilityId,this._updateSequenceNumber=e.resourceIdSegmentValues.updateSequenceNumber}get activationId(){return this._activationId}get vulnerabilityId(){return this._vulnerabilityId}get updateSequenceNumber(){return this._updateSequenceNumber}static create(r){let t={qualifier:Do.qualifier,platformQualifier:Do.platformQualifier,cloudId:void 0,resourceOwner:Do.resourceOwner,resourceType:Do.resourceType,resourceId:`activation/${r.activationId}/${r.vulnerabilityId}/${r.updateSequenceNumber}`,resourceIdSegmentValues:{activationId:r.activationId,vulnerabilityId:r.vulnerabilityId,updateSequenceNumber:r.updateSequenceNumber}},i=p.fromOpts(t,Do);return new e(i)}static parse(r){let t=p.fromString(r,Do);return new e(t)}getVariables(){return{activationId:this.activationId,vulnerabilityId:this.vulnerabilityId,updateSequenceNumber:this.updateSequenceNumber}}},Ko={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"graph",resourceType:"workspace",resourceIdSlug:"{workspaceId}",resourceIdSegmentFormats:{workspaceId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},Bo=class e extends T{constructor(e){super(e),this._workspaceId=e.resourceIdSegmentValues.workspaceId}get workspaceId(){return this._workspaceId}static create(r){let t={qualifier:Ko.qualifier,platformQualifier:Ko.platformQualifier,cloudId:void 0,resourceOwner:Ko.resourceOwner,resourceType:Ko.resourceType,resourceId:`${r.workspaceId}`,resourceIdSegmentValues:{workspaceId:r.workspaceId}},i=p.fromOpts(t,Ko);return new e(i)}static parse(r){let t=p.fromString(r,Ko);return new e(t)}getVariables(){return{workspaceId:this.workspaceId}}},Go={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"help",resourceType:"article",resourceIdSlug:"{activationId}/{helpObjectId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,helpObjectId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},Jo=class e extends T{constructor(e){super(e),this._activationId=e.resourceIdSegmentValues.activationId,this._helpObjectId=e.resourceIdSegmentValues.helpObjectId}get activationId(){return this._activationId}get helpObjectId(){return this._helpObjectId}static create(r){let t={qualifier:Go.qualifier,platformQualifier:Go.platformQualifier,cloudId:void 0,resourceOwner:Go.resourceOwner,resourceType:Go.resourceType,resourceId:`${r.activationId}/${r.helpObjectId}`,resourceIdSegmentValues:{activationId:r.activationId,helpObjectId:r.helpObjectId}},i=p.fromOpts(t,Go);return new e(i)}static parse(r){let t=p.fromString(r,Go);return new e(t)}getVariables(){return{activationId:this.activationId,helpObjectId:this.helpObjectId}}},Ho={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"help",resourceType:"channel",resourceIdSlug:"{activationId}/{helpObjectId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,helpObjectId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},Yo=class e extends T{constructor(e){super(e),this._activationId=e.resourceIdSegmentValues.activationId,this._helpObjectId=e.resourceIdSegmentValues.helpObjectId}get activationId(){return this._activationId}get helpObjectId(){return this._helpObjectId}static create(r){let t={qualifier:Ho.qualifier,platformQualifier:Ho.platformQualifier,cloudId:void 0,resourceOwner:Ho.resourceOwner,resourceType:Ho.resourceType,resourceId:`${r.activationId}/${r.helpObjectId}`,resourceIdSegmentValues:{activationId:r.activationId,helpObjectId:r.helpObjectId}},i=p.fromOpts(t,Ho);return new e(i)}static parse(r){let t=p.fromString(r,Ho);return new e(t)}getVariables(){return{activationId:this.activationId,helpObjectId:this.helpObjectId}}},Xo={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"help",resourceType:"help-center",resourceIdSlug:"{activationId}/{helpCenterId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,helpCenterId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},ea=class e extends T{constructor(e){super(e),this._activationId=e.resourceIdSegmentValues.activationId,this._helpCenterId=e.resourceIdSegmentValues.helpCenterId}get activationId(){return this._activationId}get helpCenterId(){return this._helpCenterId}static create(r){let t={qualifier:Xo.qualifier,platformQualifier:Xo.platformQualifier,cloudId:void 0,resourceOwner:Xo.resourceOwner,resourceType:Xo.resourceType,resourceId:`${r.activationId}/${r.helpCenterId}`,resourceIdSegmentValues:{activationId:r.activationId,helpCenterId:r.helpCenterId}},i=p.fromOpts(t,Xo);return new e(i)}static parse(r){let t=p.fromString(r,Xo);return new e(t)}getVariables(){return{activationId:this.activationId,helpCenterId:this.helpCenterId}}},ra={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"help",resourceType:"help-desk",resourceIdSlug:"{activationId}/{helpDeskId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,helpDeskId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},ta=class e extends T{constructor(e){super(e),this._activationId=e.resourceIdSegmentValues.activationId,this._helpDeskId=e.resourceIdSegmentValues.helpDeskId}get activationId(){return this._activationId}get helpDeskId(){return this._helpDeskId}static create(r){let t={qualifier:ra.qualifier,platformQualifier:ra.platformQualifier,cloudId:void 0,resourceOwner:ra.resourceOwner,resourceType:ra.resourceType,resourceId:`${r.activationId}/${r.helpDeskId}`,resourceIdSegmentValues:{activationId:r.activationId,helpDeskId:r.helpDeskId}},i=p.fromOpts(t,ra);return new e(i)}static parse(r){let t=p.fromString(r,ra);return new e(t)}getVariables(){return{activationId:this.activationId,helpDeskId:this.helpDeskId}}},ia={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"help",resourceType:"layout",resourceIdSlug:"{activationId}/{layoutId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,layoutId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},na=class e extends T{constructor(e){super(e),this._activationId=e.resourceIdSegmentValues.activationId,this._layoutId=e.resourceIdSegmentValues.layoutId}get activationId(){return this._activationId}get layoutId(){return this._layoutId}static create(r){let t={qualifier:ia.qualifier,platformQualifier:ia.platformQualifier,cloudId:void 0,resourceOwner:ia.resourceOwner,resourceType:ia.resourceType,resourceId:`${r.activationId}/${r.layoutId}`,resourceIdSegmentValues:{activationId:r.activationId,layoutId:r.layoutId}},i=p.fromOpts(t,ia);return new e(i)}static parse(r){let t=p.fromString(r,ia);return new e(t)}getVariables(){return{activationId:this.activationId,layoutId:this.layoutId}}},oa={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"help",resourceType:"portal",resourceIdSlug:"{activationId}/{helpObjectId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,helpObjectId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},aa=class e extends T{constructor(e){super(e),this._activationId=e.resourceIdSegmentValues.activationId,this._helpObjectId=e.resourceIdSegmentValues.helpObjectId}get activationId(){return this._activationId}get helpObjectId(){return this._helpObjectId}static create(r){let t={qualifier:oa.qualifier,platformQualifier:oa.platformQualifier,cloudId:void 0,resourceOwner:oa.resourceOwner,resourceType:oa.resourceType,resourceId:`${r.activationId}/${r.helpObjectId}`,resourceIdSegmentValues:{activationId:r.activationId,helpObjectId:r.helpObjectId}},i=p.fromOpts(t,oa);return new e(i)}static parse(r){let t=p.fromString(r,oa);return new e(t)}getVariables(){return{activationId:this.activationId,helpObjectId:this.helpObjectId}}},sa={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"help",resourceType:"request-form",resourceIdSlug:"{activationId}/{helpObjectId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,helpObjectId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},ua=class e extends T{constructor(e){super(e),this._activationId=e.resourceIdSegmentValues.activationId,this._helpObjectId=e.resourceIdSegmentValues.helpObjectId}get activationId(){return this._activationId}get helpObjectId(){return this._helpObjectId}static create(r){let t={qualifier:sa.qualifier,platformQualifier:sa.platformQualifier,cloudId:void 0,resourceOwner:sa.resourceOwner,resourceType:sa.resourceType,resourceId:`${r.activationId}/${r.helpObjectId}`,resourceIdSegmentValues:{activationId:r.activationId,helpObjectId:r.helpObjectId}},i=p.fromOpts(t,sa);return new e(i)}static parse(r){let t=p.fromString(r,sa);return new e(t)}getVariables(){return{activationId:this.activationId,helpObjectId:this.helpObjectId}}},ca={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"identity",resourceType:"app",resourceIdSlug:"{platform}/{appId}",resourceIdSegmentFormats:{platform:/(android|ios|macos)/,appId:/(([a-zA-Z]+)\.)+([a-zA-Z]+)/}},da=class e extends T{constructor(e){super(e),this._platform=e.resourceIdSegmentValues.platform,this._appId=e.resourceIdSegmentValues.appId}get platform(){return this._platform}get appId(){return this._appId}static create(r){let t={qualifier:ca.qualifier,platformQualifier:ca.platformQualifier,cloudId:void 0,resourceOwner:ca.resourceOwner,resourceType:ca.resourceType,resourceId:`${r.platform}/${r.appId}`,resourceIdSegmentValues:{platform:r.platform,appId:r.appId}},i=p.fromOpts(t,ca);return new e(i)}static parse(r){let t=p.fromString(r,ca);return new e(t)}getVariables(){return{platform:this.platform,appId:this.appId}}},la={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"identity",resourceType:"auth-policy",resourceIdSlug:"{authPolicyId}",resourceIdSegmentFormats:{authPolicyId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},Ia=class e extends T{constructor(e){super(e),this._authPolicyId=e.resourceIdSegmentValues.authPolicyId}get authPolicyId(){return this._authPolicyId}static create(r){let t={qualifier:la.qualifier,platformQualifier:la.platformQualifier,cloudId:void 0,resourceOwner:la.resourceOwner,resourceType:la.resourceType,resourceId:`${r.authPolicyId}`,resourceIdSegmentValues:{authPolicyId:r.authPolicyId}},i=p.fromOpts(t,la);return new e(i)}static parse(r){let t=p.fromString(r,la);return new e(t)}getVariables(){return{authPolicyId:this.authPolicyId}}},pa={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"identity",resourceType:"customer-directory",resourceIdSlug:"{customerDirectoryId}",resourceIdSegmentFormats:{customerDirectoryId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},fa=class e extends T{constructor(e){super(e),this._customerDirectoryId=e.resourceIdSegmentValues.customerDirectoryId}get customerDirectoryId(){return this._customerDirectoryId}static create(r){let t={qualifier:pa.qualifier,platformQualifier:pa.platformQualifier,cloudId:void 0,resourceOwner:pa.resourceOwner,resourceType:pa.resourceType,resourceId:`${r.customerDirectoryId}`,resourceIdSegmentValues:{customerDirectoryId:r.customerDirectoryId}},i=p.fromOpts(t,pa);return new e(i)}static parse(r){let t=p.fromString(r,pa);return new e(t)}getVariables(){return{customerDirectoryId:this.customerDirectoryId}}},ma={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"identity",resourceType:"customer-organization",resourceIdSlug:"{customerOrganizationId}",resourceIdSegmentFormats:{customerOrganizationId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},ha=class e extends T{constructor(e){super(e),this._customerOrganizationId=e.resourceIdSegmentValues.customerOrganizationId}get customerOrganizationId(){return this._customerOrganizationId}static create(r){let t={qualifier:ma.qualifier,platformQualifier:ma.platformQualifier,cloudId:void 0,resourceOwner:ma.resourceOwner,resourceType:ma.resourceType,resourceId:`${r.customerOrganizationId}`,resourceIdSegmentValues:{customerOrganizationId:r.customerOrganizationId}},i=p.fromOpts(t,ma);return new e(i)}static parse(r){let t=p.fromString(r,ma);return new e(t)}getVariables(){return{customerOrganizationId:this.customerOrganizationId}}},ga={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"identity",resourceType:"directory",resourceIdSlug:"{directoryId}",resourceIdSegmentFormats:{directoryId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},va=class e extends T{constructor(e){super(e),this._directoryId=e.resourceIdSegmentValues.directoryId}get directoryId(){return this._directoryId}static create(r){let t={qualifier:ga.qualifier,platformQualifier:ga.platformQualifier,cloudId:void 0,resourceOwner:ga.resourceOwner,resourceType:ga.resourceType,resourceId:`${r.directoryId}`,resourceIdSegmentValues:{directoryId:r.directoryId}},i=p.fromOpts(t,ga);return new e(i)}static parse(r){let t=p.fromString(r,ga);return new e(t)}getVariables(){return{directoryId:this.directoryId}}},ya={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"identity",resourceType:"domain",resourceIdSlug:"{base64Domain}",resourceIdSegmentFormats:{base64Domain:/[a-zA-Z0-9=]+={0,1}/}},wa=class e extends T{constructor(e){super(e),this._base64Domain=e.resourceIdSegmentValues.base64Domain}get base64Domain(){return this._base64Domain}static create(r){let t={qualifier:ya.qualifier,platformQualifier:ya.platformQualifier,cloudId:void 0,resourceOwner:ya.resourceOwner,resourceType:ya.resourceType,resourceId:`${r.base64Domain}`,resourceIdSegmentValues:{base64Domain:r.base64Domain}},i=p.fromOpts(t,ya);return new e(i)}static parse(r){let t=p.fromString(r,ya);return new e(t)}getVariables(){return{base64Domain:this.base64Domain}}},Sa={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"identity",resourceType:"group",resourceIdSlug:"{groupId}",resourceIdSegmentFormats:{groupId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},_a=class e extends T{constructor(e){super(e),this._groupId=e.resourceIdSegmentValues.groupId}get groupId(){return this._groupId}static create(r){let t={qualifier:Sa.qualifier,platformQualifier:Sa.platformQualifier,cloudId:void 0,resourceOwner:Sa.resourceOwner,resourceType:Sa.resourceType,resourceId:`${r.groupId}`,resourceIdSegmentValues:{groupId:r.groupId}},i=p.fromOpts(t,Sa);return new e(i)}static parse(r){let t=p.fromString(r,Sa);return new e(t)}getVariables(){return{groupId:this.groupId}}},ba={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"identity",resourceType:"oauthClient",resourceIdSlug:"{clientId}",resourceIdSegmentFormats:{clientId:/[0-9a-zA-Z-_]{5,50}/}},Ta=class e extends T{constructor(e){super(e),this._clientId=e.resourceIdSegmentValues.clientId}get clientId(){return this._clientId}static create(r){let t={qualifier:ba.qualifier,platformQualifier:ba.platformQualifier,cloudId:void 0,resourceOwner:ba.resourceOwner,resourceType:ba.resourceType,resourceId:`${r.clientId}`,resourceIdSegmentValues:{clientId:r.clientId}},i=p.fromOpts(t,ba);return new e(i)}static parse(r){let t=p.fromString(r,ba);return new e(t)}getVariables(){return{clientId:this.clientId}}},Oa={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]*$"),resourceOwner:"identity",resourceType:"role",resourceIdSlug:"{roleId}",resourceIdSegmentFormats:{roleId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},ka=class e extends T{constructor(e){super(e),this._optionalSiteId=e.cloudId||"",this._roleId=e.resourceIdSegmentValues.roleId}get optionalSiteId(){return this._optionalSiteId}get roleId(){return this._roleId}static create(r){let t={qualifier:Oa.qualifier,platformQualifier:Oa.platformQualifier,cloudId:r.optionalSiteId,resourceOwner:Oa.resourceOwner,resourceType:Oa.resourceType,resourceId:`${r.roleId}`,resourceIdSegmentValues:{roleId:r.roleId}},i=p.fromOpts(t,Oa);return new e(i)}static parse(r){let t=p.fromString(r,Oa);return new e(t)}getVariables(){return{optionalSiteId:this.optionalSiteId,roleId:this.roleId}}},Aa={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"identity",resourceType:"site",resourceIdSlug:"{siteId}",resourceIdSegmentFormats:{siteId:/[a-zA-Z0-9\-]+/}},qa=class e extends T{constructor(e){super(e),this._siteId=e.resourceIdSegmentValues.siteId}get siteId(){return this._siteId}static create(r){let t={qualifier:Aa.qualifier,platformQualifier:Aa.platformQualifier,cloudId:void 0,resourceOwner:Aa.resourceOwner,resourceType:Aa.resourceType,resourceId:`${r.siteId}`,resourceIdSegmentValues:{siteId:r.siteId}},i=p.fromOpts(t,Aa);return new e(i)}static parse(r){let t=p.fromString(r,Aa);return new e(t)}getVariables(){return{siteId:this.siteId}}},Va={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"identity",resourceType:"team",resourceIdSlug:"{teamId}",resourceIdSegmentFormats:{teamId:/[a-zA-Z0-9.\-_~]+/}},Ea=class e extends T{constructor(e){super(e),this._teamId=e.resourceIdSegmentValues.teamId}get teamId(){return this._teamId}static create(r){let t={qualifier:Va.qualifier,platformQualifier:Va.platformQualifier,cloudId:void 0,resourceOwner:Va.resourceOwner,resourceType:Va.resourceType,resourceId:`${r.teamId}`,resourceIdSegmentValues:{teamId:r.teamId}},i=p.fromOpts(t,Va);return new e(i)}static parse(r){let t=p.fromString(r,Va);return new e(t)}getVariables(){return{teamId:this.teamId}}},xa={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"identity",resourceType:"team-member",resourceIdSlug:"{teamId}/{userId}",resourceIdSegmentFormats:{teamId:/[a-zA-Z0-9.\-_~]+/,userId:/[a-zA-Z0-9_\-\:]{1,128}/}},Ra=class e extends T{constructor(e){super(e),this._teamId=e.resourceIdSegmentValues.teamId,this._userId=e.resourceIdSegmentValues.userId}get teamId(){return this._teamId}get userId(){return this._userId}static create(r){let t={qualifier:xa.qualifier,platformQualifier:xa.platformQualifier,cloudId:void 0,resourceOwner:xa.resourceOwner,resourceType:xa.resourceType,resourceId:`${r.teamId}/${r.userId}`,resourceIdSegmentValues:{teamId:r.teamId,userId:r.userId}},i=p.fromOpts(t,xa);return new e(i)}static parse(r){let t=p.fromString(r,xa);return new e(t)}getVariables(){return{teamId:this.teamId,userId:this.userId}}},$a={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"identity",resourceType:"third-party-group",resourceIdSlug:"{directoryId}/{groupId}",resourceIdSegmentFormats:{directoryId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/,groupId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},Qa=class e extends T{constructor(e){super(e),this._directoryId=e.resourceIdSegmentValues.directoryId,this._groupId=e.resourceIdSegmentValues.groupId}get directoryId(){return this._directoryId}get groupId(){return this._groupId}static create(r){let t={qualifier:$a.qualifier,platformQualifier:$a.platformQualifier,cloudId:void 0,resourceOwner:$a.resourceOwner,resourceType:$a.resourceType,resourceId:`${r.directoryId}/${r.groupId}`,resourceIdSegmentValues:{directoryId:r.directoryId,groupId:r.groupId}},i=p.fromOpts(t,$a);return new e(i)}static parse(r){let t=p.fromString(r,$a);return new e(t)}getVariables(){return{directoryId:this.directoryId,groupId:this.groupId}}},Na={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"identity",resourceType:"third-party-user",resourceIdSlug:"{directoryId}/{userId}",resourceIdSegmentFormats:{directoryId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/,userId:/[a-zA-Z0-9_\-\:]{1,128}/}},Ca=class e extends T{constructor(e){super(e),this._directoryId=e.resourceIdSegmentValues.directoryId,this._userId=e.resourceIdSegmentValues.userId}get directoryId(){return this._directoryId}get userId(){return this._userId}static create(r){let t={qualifier:Na.qualifier,platformQualifier:Na.platformQualifier,cloudId:void 0,resourceOwner:Na.resourceOwner,resourceType:Na.resourceType,resourceId:`${r.directoryId}/${r.userId}`,resourceIdSegmentValues:{directoryId:r.directoryId,userId:r.userId}},i=p.fromOpts(t,Na);return new e(i)}static parse(r){let t=p.fromString(r,Na);return new e(t)}getVariables(){return{directoryId:this.directoryId,userId:this.userId}}},Fa={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"identity",resourceType:"user",resourceIdSlug:"{userId}",resourceIdSegmentFormats:{userId:/[a-zA-Z0-9_\-\:]{1,128}/}},za=class e extends T{constructor(e){super(e),this._userId=e.resourceIdSegmentValues.userId}get userId(){return this._userId}static create(r){let t={qualifier:Fa.qualifier,platformQualifier:Fa.platformQualifier,cloudId:void 0,resourceOwner:Fa.resourceOwner,resourceType:Fa.resourceType,resourceId:`${r.userId}`,resourceIdSegmentValues:{userId:r.userId}},i=p.fromOpts(t,Fa);return new e(i)}static parse(r){let t=p.fromString(r,Fa);return new e(t)}getVariables(){return{userId:this.userId}}},La={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"identity",resourceType:"userbase",resourceIdSlug:"{userbaseId}",resourceIdSegmentFormats:{userbaseId:/[a-zA-Z0-9\-]+/}},Ma=class e extends T{constructor(e){super(e),this._userbaseId=e.resourceIdSegmentValues.userbaseId}get userbaseId(){return this._userbaseId}static create(r){let t={qualifier:La.qualifier,platformQualifier:La.platformQualifier,cloudId:void 0,resourceOwner:La.resourceOwner,resourceType:La.resourceType,resourceId:`${r.userbaseId}`,resourceIdSegmentValues:{userbaseId:r.userbaseId}},i=p.fromOpts(t,La);return new e(i)}static parse(r){let t=p.fromString(r,La);return new e(t)}getVariables(){return{userbaseId:this.userbaseId}}},Pa={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"identity",resourceType:"userGrant",resourceIdSlug:"{userId}-{clientId}",resourceIdSegmentFormats:{userId:/[a-zA-Z0-9_\-\:]{1,128}/,clientId:/[0-9a-zA-Z-_]{5,50}/}},ja=class e extends T{constructor(e){super(e),this._userId=e.resourceIdSegmentValues.userId,this._clientId=e.resourceIdSegmentValues.clientId}get userId(){return this._userId}get clientId(){return this._clientId}static create(r){let t={qualifier:Pa.qualifier,platformQualifier:Pa.platformQualifier,cloudId:void 0,resourceOwner:Pa.resourceOwner,resourceType:Pa.resourceType,resourceId:`${r.userId}-${r.clientId}`,resourceIdSegmentValues:{userId:r.userId,clientId:r.clientId}},i=p.fromOpts(t,Pa);return new e(i)}static parse(r){let t=p.fromString(r,Pa);return new e(t)}getVariables(){return{userId:this.userId,clientId:this.clientId}}},Za={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"jira",resourceType:"announcement-banner",resourceIdSlug:"activation/{activationId}/{announcementBannerHashId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,announcementBannerHashId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},Ua=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._activationId=e.resourceIdSegmentValues.activationId,this._announcementBannerHashId=e.resourceIdSegmentValues.announcementBannerHashId}get siteId(){return this._siteId}get activationId(){return this._activationId}get announcementBannerHashId(){return this._announcementBannerHashId}static create(r){let t={qualifier:Za.qualifier,platformQualifier:Za.platformQualifier,cloudId:r.siteId,resourceOwner:Za.resourceOwner,resourceType:Za.resourceType,resourceId:`activation/${r.activationId}/${r.announcementBannerHashId}`,resourceIdSegmentValues:{activationId:r.activationId,announcementBannerHashId:r.announcementBannerHashId}},i=p.fromOpts(t,Za);return new e(i)}static parse(r){let t=p.fromString(r,Za);return new e(t)}getVariables(){return{siteId:this.siteId,activationId:this.activationId,announcementBannerHashId:this.announcementBannerHashId}}},Da={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"jira",resourceType:"available-fields",resourceIdSlug:"activation/{activationId}/{projectId}/{issueTypeId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,projectId:/[0-9]+/,issueTypeId:/[0-9]+/}},Wa=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._activationId=e.resourceIdSegmentValues.activationId,this._projectId=e.resourceIdSegmentValues.projectId,this._issueTypeId=e.resourceIdSegmentValues.issueTypeId}get siteId(){return this._siteId}get activationId(){return this._activationId}get projectId(){return this._projectId}get issueTypeId(){return this._issueTypeId}static create(r){let t={qualifier:Da.qualifier,platformQualifier:Da.platformQualifier,cloudId:r.siteId,resourceOwner:Da.resourceOwner,resourceType:Da.resourceType,resourceId:`activation/${r.activationId}/${r.projectId}/${r.issueTypeId}`,resourceIdSegmentValues:{activationId:r.activationId,projectId:r.projectId,issueTypeId:r.issueTypeId}},i=p.fromOpts(t,Da);return new e(i)}static parse(r){let t=p.fromString(r,Da);return new e(t)}getVariables(){return{siteId:this.siteId,activationId:this.activationId,projectId:this.projectId,issueTypeId:this.issueTypeId}}},Ka={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"jira",resourceType:"branch",resourceIdSlug:"activation/{activationId}/{branchId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,branchId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},Ba=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._activationId=e.resourceIdSegmentValues.activationId,this._branchId=e.resourceIdSegmentValues.branchId}get siteId(){return this._siteId}get activationId(){return this._activationId}get branchId(){return this._branchId}static create(r){let t={qualifier:Ka.qualifier,platformQualifier:Ka.platformQualifier,cloudId:r.siteId,resourceOwner:Ka.resourceOwner,resourceType:Ka.resourceType,resourceId:`activation/${r.activationId}/${r.branchId}`,resourceIdSegmentValues:{activationId:r.activationId,branchId:r.branchId}},i=p.fromOpts(t,Ka);return new e(i)}static parse(r){let t=p.fromString(r,Ka);return new e(t)}getVariables(){return{siteId:this.siteId,activationId:this.activationId,branchId:this.branchId}}},Ga={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"jira",resourceType:"branch-history",resourceIdSlug:"activation/{activationId}/{branchId}/{updateSequenceNumber}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,branchId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/,updateSequenceNumber:/\d+/}},Ja=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._activationId=e.resourceIdSegmentValues.activationId,this._branchId=e.resourceIdSegmentValues.branchId,this._updateSequenceNumber=e.resourceIdSegmentValues.updateSequenceNumber}get siteId(){return this._siteId}get activationId(){return this._activationId}get branchId(){return this._branchId}get updateSequenceNumber(){return this._updateSequenceNumber}static create(r){let t={qualifier:Ga.qualifier,platformQualifier:Ga.platformQualifier,cloudId:r.siteId,resourceOwner:Ga.resourceOwner,resourceType:Ga.resourceType,resourceId:`activation/${r.activationId}/${r.branchId}/${r.updateSequenceNumber}`,resourceIdSegmentValues:{activationId:r.activationId,branchId:r.branchId,updateSequenceNumber:r.updateSequenceNumber}},i=p.fromOpts(t,Ga);return new e(i)}static parse(r){let t=p.fromString(r,Ga);return new e(t)}getVariables(){return{siteId:this.siteId,activationId:this.activationId,branchId:this.branchId,updateSequenceNumber:this.updateSequenceNumber}}},Ha={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"jira",resourceType:"build",resourceIdSlug:"activation/{activationId}/{buildId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,buildId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},Ya=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._activationId=e.resourceIdSegmentValues.activationId,this._buildId=e.resourceIdSegmentValues.buildId}get siteId(){return this._siteId}get activationId(){return this._activationId}get buildId(){return this._buildId}static create(r){let t={qualifier:Ha.qualifier,platformQualifier:Ha.platformQualifier,cloudId:r.siteId,resourceOwner:Ha.resourceOwner,resourceType:Ha.resourceType,resourceId:`activation/${r.activationId}/${r.buildId}`,resourceIdSegmentValues:{activationId:r.activationId,buildId:r.buildId}},i=p.fromOpts(t,Ha);return new e(i)}static parse(r){let t=p.fromString(r,Ha);return new e(t)}getVariables(){return{siteId:this.siteId,activationId:this.activationId,buildId:this.buildId}}},Xa={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"jira",resourceType:"build-history",resourceIdSlug:"activation/{activationId}/{buildId}/{updateSequenceNumber}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,buildId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/,updateSequenceNumber:/\d+/}},es=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._activationId=e.resourceIdSegmentValues.activationId,this._buildId=e.resourceIdSegmentValues.buildId,this._updateSequenceNumber=e.resourceIdSegmentValues.updateSequenceNumber}get siteId(){return this._siteId}get activationId(){return this._activationId}get buildId(){return this._buildId}get updateSequenceNumber(){return this._updateSequenceNumber}static create(r){let t={qualifier:Xa.qualifier,platformQualifier:Xa.platformQualifier,cloudId:r.siteId,resourceOwner:Xa.resourceOwner,resourceType:Xa.resourceType,resourceId:`activation/${r.activationId}/${r.buildId}/${r.updateSequenceNumber}`,resourceIdSegmentValues:{activationId:r.activationId,buildId:r.buildId,updateSequenceNumber:r.updateSequenceNumber}},i=p.fromOpts(t,Xa);return new e(i)}static parse(r){let t=p.fromString(r,Xa);return new e(t)}getVariables(){return{siteId:this.siteId,activationId:this.activationId,buildId:this.buildId,updateSequenceNumber:this.updateSequenceNumber}}},rs={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"jira",resourceType:"bulk-operation-task",resourceIdSlug:"activation/{activationId}/{taskId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,taskId:/[0-9]+/}},ts=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._activationId=e.resourceIdSegmentValues.activationId,this._taskId=e.resourceIdSegmentValues.taskId}get siteId(){return this._siteId}get activationId(){return this._activationId}get taskId(){return this._taskId}static create(r){let t={qualifier:rs.qualifier,platformQualifier:rs.platformQualifier,cloudId:r.siteId,resourceOwner:rs.resourceOwner,resourceType:rs.resourceType,resourceId:`activation/${r.activationId}/${r.taskId}`,resourceIdSegmentValues:{activationId:r.activationId,taskId:r.taskId}},i=p.fromOpts(t,rs);return new e(i)}static parse(r){let t=p.fromString(r,rs);return new e(t)}getVariables(){return{siteId:this.siteId,activationId:this.activationId,taskId:this.taskId}}},is={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"jira",resourceType:"comment",resourceIdSlug:"{commentId}",resourceIdSegmentFormats:{commentId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},ns=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._commentId=e.resourceIdSegmentValues.commentId}get siteId(){return this._siteId}get commentId(){return this._commentId}static create(r){let t={qualifier:is.qualifier,platformQualifier:is.platformQualifier,cloudId:r.siteId,resourceOwner:is.resourceOwner,resourceType:is.resourceType,resourceId:`${r.commentId}`,resourceIdSegmentValues:{commentId:r.commentId}},i=p.fromOpts(t,is);return new e(i)}static parse(r){let t=p.fromString(r,is);return new e(t)}getVariables(){return{siteId:this.siteId,commentId:this.commentId}}},os={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"jira",resourceType:"commit",resourceIdSlug:"activation/{activationId}/{commitId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,commitId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},as=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._activationId=e.resourceIdSegmentValues.activationId,this._commitId=e.resourceIdSegmentValues.commitId}get siteId(){return this._siteId}get activationId(){return this._activationId}get commitId(){return this._commitId}static create(r){let t={qualifier:os.qualifier,platformQualifier:os.platformQualifier,cloudId:r.siteId,resourceOwner:os.resourceOwner,resourceType:os.resourceType,resourceId:`activation/${r.activationId}/${r.commitId}`,resourceIdSegmentValues:{activationId:r.activationId,commitId:r.commitId}},i=p.fromOpts(t,os);return new e(i)}static parse(r){let t=p.fromString(r,os);return new e(t)}getVariables(){return{siteId:this.siteId,activationId:this.activationId,commitId:this.commitId}}},ss={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"jira",resourceType:"component",resourceIdSlug:"activation/{activationId}/{componentId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,componentId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},us=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._activationId=e.resourceIdSegmentValues.activationId,this._componentId=e.resourceIdSegmentValues.componentId}get siteId(){return this._siteId}get activationId(){return this._activationId}get componentId(){return this._componentId}static create(r){let t={qualifier:ss.qualifier,platformQualifier:ss.platformQualifier,cloudId:r.siteId,resourceOwner:ss.resourceOwner,resourceType:ss.resourceType,resourceId:`activation/${r.activationId}/${r.componentId}`,resourceIdSegmentValues:{activationId:r.activationId,componentId:r.componentId}},i=p.fromOpts(t,ss);return new e(i)}static parse(r){let t=p.fromString(r,ss);return new e(t)}getVariables(){return{siteId:this.siteId,activationId:this.activationId,componentId:this.componentId}}},cs={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"jira",resourceType:"connect-app",resourceIdSlug:"activation/{activationId}/{appKey}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,appKey:/[a-zA-Z0-9-._]+/}},ds=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._activationId=e.resourceIdSegmentValues.activationId,this._appKey=e.resourceIdSegmentValues.appKey}get siteId(){return this._siteId}get activationId(){return this._activationId}get appKey(){return this._appKey}static create(r){let t={qualifier:cs.qualifier,platformQualifier:cs.platformQualifier,cloudId:r.siteId,resourceOwner:cs.resourceOwner,resourceType:cs.resourceType,resourceId:`activation/${r.activationId}/${r.appKey}`,resourceIdSegmentValues:{activationId:r.activationId,appKey:r.appKey}},i=p.fromOpts(t,cs);return new e(i)}static parse(r){let t=p.fromString(r,cs);return new e(t)}getVariables(){return{siteId:this.siteId,activationId:this.activationId,appKey:this.appKey}}},ls={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"jira",resourceType:"dashboard",resourceIdSlug:"activation/{activationId}/{dashboardId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,dashboardId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},Is=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._activationId=e.resourceIdSegmentValues.activationId,this._dashboardId=e.resourceIdSegmentValues.dashboardId}get siteId(){return this._siteId}get activationId(){return this._activationId}get dashboardId(){return this._dashboardId}static create(r){let t={qualifier:ls.qualifier,platformQualifier:ls.platformQualifier,cloudId:r.siteId,resourceOwner:ls.resourceOwner,resourceType:ls.resourceType,resourceId:`activation/${r.activationId}/${r.dashboardId}`,resourceIdSegmentValues:{activationId:r.activationId,dashboardId:r.dashboardId}},i=p.fromOpts(t,ls);return new e(i)}static parse(r){let t=p.fromString(r,ls);return new e(t)}getVariables(){return{siteId:this.siteId,activationId:this.activationId,dashboardId:this.dashboardId}}},ps={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"jira",resourceType:"deployment",resourceIdSlug:"activation/{activationId}/{deploymentId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,deploymentId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},fs=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._activationId=e.resourceIdSegmentValues.activationId,this._deploymentId=e.resourceIdSegmentValues.deploymentId}get siteId(){return this._siteId}get activationId(){return this._activationId}get deploymentId(){return this._deploymentId}static create(r){let t={qualifier:ps.qualifier,platformQualifier:ps.platformQualifier,cloudId:r.siteId,resourceOwner:ps.resourceOwner,resourceType:ps.resourceType,resourceId:`activation/${r.activationId}/${r.deploymentId}`,resourceIdSegmentValues:{activationId:r.activationId,deploymentId:r.deploymentId}},i=p.fromOpts(t,ps);return new e(i)}static parse(r){let t=p.fromString(r,ps);return new e(t)}getVariables(){return{siteId:this.siteId,activationId:this.activationId,deploymentId:this.deploymentId}}},ms={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"jira",resourceType:"deployment-history",resourceIdSlug:"activation/{activationId}/{deploymentId}/{updateSequenceNumber}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,deploymentId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/,updateSequenceNumber:/\d+/}},hs=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._activationId=e.resourceIdSegmentValues.activationId,this._deploymentId=e.resourceIdSegmentValues.deploymentId,this._updateSequenceNumber=e.resourceIdSegmentValues.updateSequenceNumber}get siteId(){return this._siteId}get activationId(){return this._activationId}get deploymentId(){return this._deploymentId}get updateSequenceNumber(){return this._updateSequenceNumber}static create(r){let t={qualifier:ms.qualifier,platformQualifier:ms.platformQualifier,cloudId:r.siteId,resourceOwner:ms.resourceOwner,resourceType:ms.resourceType,resourceId:`activation/${r.activationId}/${r.deploymentId}/${r.updateSequenceNumber}`,resourceIdSegmentValues:{activationId:r.activationId,deploymentId:r.deploymentId,updateSequenceNumber:r.updateSequenceNumber}},i=p.fromOpts(t,ms);return new e(i)}static parse(r){let t=p.fromString(r,ms);return new e(t)}getVariables(){return{siteId:this.siteId,activationId:this.activationId,deploymentId:this.deploymentId,updateSequenceNumber:this.updateSequenceNumber}}},gs={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"jira",resourceType:"design",resourceIdSlug:"activation/{activationId}/{designId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,designId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},vs=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._activationId=e.resourceIdSegmentValues.activationId,this._designId=e.resourceIdSegmentValues.designId}get siteId(){return this._siteId}get activationId(){return this._activationId}get designId(){return this._designId}static create(r){let t={qualifier:gs.qualifier,platformQualifier:gs.platformQualifier,cloudId:r.siteId,resourceOwner:gs.resourceOwner,resourceType:gs.resourceType,resourceId:`activation/${r.activationId}/${r.designId}`,resourceIdSegmentValues:{activationId:r.activationId,designId:r.designId}},i=p.fromOpts(t,gs);return new e(i)}static parse(r){let t=p.fromString(r,gs);return new e(t)}getVariables(){return{siteId:this.siteId,activationId:this.activationId,designId:this.designId}}},ys={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"jira",resourceType:"design-history",resourceIdSlug:"activation/{activationId}/{designId}/{updateSequenceNumber}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,designId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/,updateSequenceNumber:/\d+/}},ws=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._activationId=e.resourceIdSegmentValues.activationId,this._designId=e.resourceIdSegmentValues.designId,this._updateSequenceNumber=e.resourceIdSegmentValues.updateSequenceNumber}get siteId(){return this._siteId}get activationId(){return this._activationId}get designId(){return this._designId}get updateSequenceNumber(){return this._updateSequenceNumber}static create(r){let t={qualifier:ys.qualifier,platformQualifier:ys.platformQualifier,cloudId:r.siteId,resourceOwner:ys.resourceOwner,resourceType:ys.resourceType,resourceId:`activation/${r.activationId}/${r.designId}/${r.updateSequenceNumber}`,resourceIdSegmentValues:{activationId:r.activationId,designId:r.designId,updateSequenceNumber:r.updateSequenceNumber}},i=p.fromOpts(t,ys);return new e(i)}static parse(r){let t=p.fromString(r,ys);return new e(t)}getVariables(){return{siteId:this.siteId,activationId:this.activationId,designId:this.designId,updateSequenceNumber:this.updateSequenceNumber}}},Ss={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"jira",resourceType:"devops-component",resourceIdSlug:"activation/{activationId}/{devopsComponentId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,devopsComponentId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},_s=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._activationId=e.resourceIdSegmentValues.activationId,this._devopsComponentId=e.resourceIdSegmentValues.devopsComponentId}get siteId(){return this._siteId}get activationId(){return this._activationId}get devopsComponentId(){return this._devopsComponentId}static create(r){let t={qualifier:Ss.qualifier,platformQualifier:Ss.platformQualifier,cloudId:r.siteId,resourceOwner:Ss.resourceOwner,resourceType:Ss.resourceType,resourceId:`activation/${r.activationId}/${r.devopsComponentId}`,resourceIdSegmentValues:{activationId:r.activationId,devopsComponentId:r.devopsComponentId}},i=p.fromOpts(t,Ss);return new e(i)}static parse(r){let t=p.fromString(r,Ss);return new e(t)}getVariables(){return{siteId:this.siteId,activationId:this.activationId,devopsComponentId:this.devopsComponentId}}},bs={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"jira",resourceType:"document",resourceIdSlug:"activation/{activationId}/{documentId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,documentId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},Ts=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._activationId=e.resourceIdSegmentValues.activationId,this._documentId=e.resourceIdSegmentValues.documentId}get siteId(){return this._siteId}get activationId(){return this._activationId}get documentId(){return this._documentId}static create(r){let t={qualifier:bs.qualifier,platformQualifier:bs.platformQualifier,cloudId:r.siteId,resourceOwner:bs.resourceOwner,resourceType:bs.resourceType,resourceId:`activation/${r.activationId}/${r.documentId}`,resourceIdSegmentValues:{activationId:r.activationId,documentId:r.documentId}},i=p.fromOpts(t,bs);return new e(i)}static parse(r){let t=p.fromString(r,bs);return new e(t)}getVariables(){return{siteId:this.siteId,activationId:this.activationId,documentId:this.documentId}}},Os={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"jira",resourceType:"document-history",resourceIdSlug:"activation/{activationId}/{documentId}/{updateSequenceNumber}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,documentId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/,updateSequenceNumber:/\d+/}},ks=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._activationId=e.resourceIdSegmentValues.activationId,this._documentId=e.resourceIdSegmentValues.documentId,this._updateSequenceNumber=e.resourceIdSegmentValues.updateSequenceNumber}get siteId(){return this._siteId}get activationId(){return this._activationId}get documentId(){return this._documentId}get updateSequenceNumber(){return this._updateSequenceNumber}static create(r){let t={qualifier:Os.qualifier,platformQualifier:Os.platformQualifier,cloudId:r.siteId,resourceOwner:Os.resourceOwner,resourceType:Os.resourceType,resourceId:`activation/${r.activationId}/${r.documentId}/${r.updateSequenceNumber}`,resourceIdSegmentValues:{activationId:r.activationId,documentId:r.documentId,updateSequenceNumber:r.updateSequenceNumber}},i=p.fromOpts(t,Os);return new e(i)}static parse(r){let t=p.fromString(r,Os);return new e(t)}getVariables(){return{siteId:this.siteId,activationId:this.activationId,documentId:this.documentId,updateSequenceNumber:this.updateSequenceNumber}}},As={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"jira",resourceType:"entitlement",resourceIdSlug:"activation/{activationId}/{entitlementId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,entitlementId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},qs=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._activationId=e.resourceIdSegmentValues.activationId,this._entitlementId=e.resourceIdSegmentValues.entitlementId}get siteId(){return this._siteId}get activationId(){return this._activationId}get entitlementId(){return this._entitlementId}static create(r){let t={qualifier:As.qualifier,platformQualifier:As.platformQualifier,cloudId:r.siteId,resourceOwner:As.resourceOwner,resourceType:As.resourceType,resourceId:`activation/${r.activationId}/${r.entitlementId}`,resourceIdSegmentValues:{activationId:r.activationId,entitlementId:r.entitlementId}},i=p.fromOpts(t,As);return new e(i)}static parse(r){let t=p.fromString(r,As);return new e(t)}getVariables(){return{siteId:this.siteId,activationId:this.activationId,entitlementId:this.entitlementId}}},Vs={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"jira",resourceType:"entity-property",resourceIdSlug:"activation/{activationId}/{entityType}/{entityId}/{propertyKey}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,entityType:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/,entityId:/[0-9]+/,propertyKey:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},Es=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._activationId=e.resourceIdSegmentValues.activationId,this._entityType=e.resourceIdSegmentValues.entityType,this._entityId=e.resourceIdSegmentValues.entityId,this._propertyKey=e.resourceIdSegmentValues.propertyKey}get siteId(){return this._siteId}get activationId(){return this._activationId}get entityType(){return this._entityType}get entityId(){return this._entityId}get propertyKey(){return this._propertyKey}static create(r){let t={qualifier:Vs.qualifier,platformQualifier:Vs.platformQualifier,cloudId:r.siteId,resourceOwner:Vs.resourceOwner,resourceType:Vs.resourceType,resourceId:`activation/${r.activationId}/${r.entityType}/${r.entityId}/${r.propertyKey}`,resourceIdSegmentValues:{activationId:r.activationId,entityType:r.entityType,entityId:r.entityId,propertyKey:r.propertyKey}},i=p.fromOpts(t,Vs);return new e(i)}static parse(r){let t=p.fromString(r,Vs);return new e(t)}getVariables(){return{siteId:this.siteId,activationId:this.activationId,entityType:this.entityType,entityId:this.entityId,propertyKey:this.propertyKey}}},xs={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"jira",resourceType:"favourite",resourceIdSlug:"activation/{activationId}/{favouriteId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,favouriteId:/[a-zA-Z0-9_\|\-\:~]+/}},Rs=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._activationId=e.resourceIdSegmentValues.activationId,this._favouriteId=e.resourceIdSegmentValues.favouriteId}get siteId(){return this._siteId}get activationId(){return this._activationId}get favouriteId(){return this._favouriteId}static create(r){let t={qualifier:xs.qualifier,platformQualifier:xs.platformQualifier,cloudId:r.siteId,resourceOwner:xs.resourceOwner,resourceType:xs.resourceType,resourceId:`activation/${r.activationId}/${r.favouriteId}`,resourceIdSegmentValues:{activationId:r.activationId,favouriteId:r.favouriteId}},i=p.fromOpts(t,xs);return new e(i)}static parse(r){let t=p.fromString(r,xs);return new e(t)}getVariables(){return{siteId:this.siteId,activationId:this.activationId,favouriteId:this.favouriteId}}},$s={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"jira",resourceType:"feature-flag",resourceIdSlug:"activation/{activationId}/{featureFlagId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,featureFlagId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},Qs=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._activationId=e.resourceIdSegmentValues.activationId,this._featureFlagId=e.resourceIdSegmentValues.featureFlagId}get siteId(){return this._siteId}get activationId(){return this._activationId}get featureFlagId(){return this._featureFlagId}static create(r){let t={qualifier:$s.qualifier,platformQualifier:$s.platformQualifier,cloudId:r.siteId,resourceOwner:$s.resourceOwner,resourceType:$s.resourceType,resourceId:`activation/${r.activationId}/${r.featureFlagId}`,resourceIdSegmentValues:{activationId:r.activationId,featureFlagId:r.featureFlagId}},i=p.fromOpts(t,$s);return new e(i)}static parse(r){let t=p.fromString(r,$s);return new e(t)}getVariables(){return{siteId:this.siteId,activationId:this.activationId,featureFlagId:this.featureFlagId}}},Ns={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"jira",resourceType:"feature-flag-history",resourceIdSlug:"activation/{activationId}/{featureFlagId}/{updateSequenceNumber}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,featureFlagId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/,updateSequenceNumber:/\d+/}},Cs=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._activationId=e.resourceIdSegmentValues.activationId,this._featureFlagId=e.resourceIdSegmentValues.featureFlagId,this._updateSequenceNumber=e.resourceIdSegmentValues.updateSequenceNumber}get siteId(){return this._siteId}get activationId(){return this._activationId}get featureFlagId(){return this._featureFlagId}get updateSequenceNumber(){return this._updateSequenceNumber}static create(r){let t={qualifier:Ns.qualifier,platformQualifier:Ns.platformQualifier,cloudId:r.siteId,resourceOwner:Ns.resourceOwner,resourceType:Ns.resourceType,resourceId:`activation/${r.activationId}/${r.featureFlagId}/${r.updateSequenceNumber}`,resourceIdSegmentValues:{activationId:r.activationId,featureFlagId:r.featureFlagId,updateSequenceNumber:r.updateSequenceNumber}},i=p.fromOpts(t,Ns);return new e(i)}static parse(r){let t=p.fromString(r,Ns);return new e(t)}getVariables(){return{siteId:this.siteId,activationId:this.activationId,featureFlagId:this.featureFlagId,updateSequenceNumber:this.updateSequenceNumber}}},Fs={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"jira",resourceType:"filter",resourceIdSlug:"activation/{activationId}/{filterId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,filterId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},zs=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._activationId=e.resourceIdSegmentValues.activationId,this._filterId=e.resourceIdSegmentValues.filterId}get siteId(){return this._siteId}get activationId(){return this._activationId}get filterId(){return this._filterId}static create(r){let t={qualifier:Fs.qualifier,platformQualifier:Fs.platformQualifier,cloudId:r.siteId,resourceOwner:Fs.resourceOwner,resourceType:Fs.resourceType,resourceId:`activation/${r.activationId}/${r.filterId}`,resourceIdSegmentValues:{activationId:r.activationId,filterId:r.filterId}},i=p.fromOpts(t,Fs);return new e(i)}static parse(r){let t=p.fromString(r,Fs);return new e(t)}getVariables(){return{siteId:this.siteId,activationId:this.activationId,filterId:this.filterId}}},Ls={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"jira",resourceType:"filter-email-subscription",resourceIdSlug:"activation/{activationId}/{filterEmailSubscriptionId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,filterEmailSubscriptionId:/[0-9]+/}},Ms=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._activationId=e.resourceIdSegmentValues.activationId,this._filterEmailSubscriptionId=e.resourceIdSegmentValues.filterEmailSubscriptionId}get siteId(){return this._siteId}get activationId(){return this._activationId}get filterEmailSubscriptionId(){return this._filterEmailSubscriptionId}static create(r){let t={qualifier:Ls.qualifier,platformQualifier:Ls.platformQualifier,cloudId:r.siteId,resourceOwner:Ls.resourceOwner,resourceType:Ls.resourceType,resourceId:`activation/${r.activationId}/${r.filterEmailSubscriptionId}`,resourceIdSegmentValues:{activationId:r.activationId,filterEmailSubscriptionId:r.filterEmailSubscriptionId}},i=p.fromOpts(t,Ls);return new e(i)}static parse(r){let t=p.fromString(r,Ls);return new e(t)}getVariables(){return{siteId:this.siteId,activationId:this.activationId,filterEmailSubscriptionId:this.filterEmailSubscriptionId}}},Ps={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"jira",resourceType:"incident",resourceIdSlug:"activation/{activationId}/{incidentId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,incidentId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},js=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._activationId=e.resourceIdSegmentValues.activationId,this._incidentId=e.resourceIdSegmentValues.incidentId}get siteId(){return this._siteId}get activationId(){return this._activationId}get incidentId(){return this._incidentId}static create(r){let t={qualifier:Ps.qualifier,platformQualifier:Ps.platformQualifier,cloudId:r.siteId,resourceOwner:Ps.resourceOwner,resourceType:Ps.resourceType,resourceId:`activation/${r.activationId}/${r.incidentId}`,resourceIdSegmentValues:{activationId:r.activationId,incidentId:r.incidentId}},i=p.fromOpts(t,Ps);return new e(i)}static parse(r){let t=p.fromString(r,Ps);return new e(t)}getVariables(){return{siteId:this.siteId,activationId:this.activationId,incidentId:this.incidentId}}},Zs={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"jira",resourceType:"incident-history",resourceIdSlug:"activation/{activationId}/{incidentId}/{updateSequenceNumber}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,incidentId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/,updateSequenceNumber:/\d+/}},Us=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._activationId=e.resourceIdSegmentValues.activationId,this._incidentId=e.resourceIdSegmentValues.incidentId,this._updateSequenceNumber=e.resourceIdSegmentValues.updateSequenceNumber}get siteId(){return this._siteId}get activationId(){return this._activationId}get incidentId(){return this._incidentId}get updateSequenceNumber(){return this._updateSequenceNumber}static create(r){let t={qualifier:Zs.qualifier,platformQualifier:Zs.platformQualifier,cloudId:r.siteId,resourceOwner:Zs.resourceOwner,resourceType:Zs.resourceType,resourceId:`activation/${r.activationId}/${r.incidentId}/${r.updateSequenceNumber}`,resourceIdSegmentValues:{activationId:r.activationId,incidentId:r.incidentId,updateSequenceNumber:r.updateSequenceNumber}},i=p.fromOpts(t,Zs);return new e(i)}static parse(r){let t=p.fromString(r,Zs);return new e(t)}getVariables(){return{siteId:this.siteId,activationId:this.activationId,incidentId:this.incidentId,updateSequenceNumber:this.updateSequenceNumber}}},Ds={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"jira",resourceType:"issue",resourceIdSlug:"{issueId}",resourceIdSegmentFormats:{issueId:/[0-9]+/}},Ws=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._issueId=e.resourceIdSegmentValues.issueId}get siteId(){return this._siteId}get issueId(){return this._issueId}static create(r){let t={qualifier:Ds.qualifier,platformQualifier:Ds.platformQualifier,cloudId:r.siteId,resourceOwner:Ds.resourceOwner,resourceType:Ds.resourceType,resourceId:`${r.issueId}`,resourceIdSegmentValues:{issueId:r.issueId}},i=p.fromOpts(t,Ds);return new e(i)}static parse(r){let t=p.fromString(r,Ds);return new e(t)}getVariables(){return{siteId:this.siteId,issueId:this.issueId}}},Ks={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"jira",resourceType:"issue-attachment",resourceIdSlug:"{issueId}/{attachmentId}",resourceIdSegmentFormats:{issueId:/[0-9]+/,attachmentId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},Bs=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._issueId=e.resourceIdSegmentValues.issueId,this._attachmentId=e.resourceIdSegmentValues.attachmentId}get siteId(){return this._siteId}get issueId(){return this._issueId}get attachmentId(){return this._attachmentId}static create(r){let t={qualifier:Ks.qualifier,platformQualifier:Ks.platformQualifier,cloudId:r.siteId,resourceOwner:Ks.resourceOwner,resourceType:Ks.resourceType,resourceId:`${r.issueId}/${r.attachmentId}`,resourceIdSegmentValues:{issueId:r.issueId,attachmentId:r.attachmentId}},i=p.fromOpts(t,Ks);return new e(i)}static parse(r){let t=p.fromString(r,Ks);return new e(t)}getVariables(){return{siteId:this.siteId,issueId:this.issueId,attachmentId:this.attachmentId}}},Gs={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"jira",resourceType:"issue-comment",resourceIdSlug:"{issueId}/{commentId}",resourceIdSegmentFormats:{issueId:/[0-9]+/,commentId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},Js=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._issueId=e.resourceIdSegmentValues.issueId,this._commentId=e.resourceIdSegmentValues.commentId}get siteId(){return this._siteId}get issueId(){return this._issueId}get commentId(){return this._commentId}static create(r){let t={qualifier:Gs.qualifier,platformQualifier:Gs.platformQualifier,cloudId:r.siteId,resourceOwner:Gs.resourceOwner,resourceType:Gs.resourceType,resourceId:`${r.issueId}/${r.commentId}`,resourceIdSegmentValues:{issueId:r.issueId,commentId:r.commentId}},i=p.fromOpts(t,Gs);return new e(i)}static parse(r){let t=p.fromString(r,Gs);return new e(t)}getVariables(){return{siteId:this.siteId,issueId:this.issueId,commentId:this.commentId}}},Hs={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"jira",resourceType:"issue-field-metadata",resourceIdSlug:"activation/{activationId}/{fieldId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,fieldId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},Ys=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._activationId=e.resourceIdSegmentValues.activationId,this._fieldId=e.resourceIdSegmentValues.fieldId}get siteId(){return this._siteId}get activationId(){return this._activationId}get fieldId(){return this._fieldId}static create(r){let t={qualifier:Hs.qualifier,platformQualifier:Hs.platformQualifier,cloudId:r.siteId,resourceOwner:Hs.resourceOwner,resourceType:Hs.resourceType,resourceId:`activation/${r.activationId}/${r.fieldId}`,resourceIdSegmentValues:{activationId:r.activationId,fieldId:r.fieldId}},i=p.fromOpts(t,Hs);return new e(i)}static parse(r){let t=p.fromString(r,Hs);return new e(t)}getVariables(){return{siteId:this.siteId,activationId:this.activationId,fieldId:this.fieldId}}},Xs={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"jira",resourceType:"issue-field-option",resourceIdSlug:"activation/{activationId}/{fieldId}/{optionId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,fieldId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/,optionId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},eu=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._activationId=e.resourceIdSegmentValues.activationId,this._fieldId=e.resourceIdSegmentValues.fieldId,this._optionId=e.resourceIdSegmentValues.optionId}get siteId(){return this._siteId}get activationId(){return this._activationId}get fieldId(){return this._fieldId}get optionId(){return this._optionId}static create(r){let t={qualifier:Xs.qualifier,platformQualifier:Xs.platformQualifier,cloudId:r.siteId,resourceOwner:Xs.resourceOwner,resourceType:Xs.resourceType,resourceId:`activation/${r.activationId}/${r.fieldId}/${r.optionId}`,resourceIdSegmentValues:{activationId:r.activationId,fieldId:r.fieldId,optionId:r.optionId}},i=p.fromOpts(t,Xs);return new e(i)}static parse(r){let t=p.fromString(r,Xs);return new e(t)}getVariables(){return{siteId:this.siteId,activationId:this.activationId,fieldId:this.fieldId,optionId:this.optionId}}},ru={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"jira",resourceType:"issue-history",resourceIdSlug:"activation/{activationId}/{issueId}/{changeGroupId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,issueId:/[0-9]+/,changeGroupId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},tu=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._activationId=e.resourceIdSegmentValues.activationId,this._issueId=e.resourceIdSegmentValues.issueId,this._changeGroupId=e.resourceIdSegmentValues.changeGroupId}get siteId(){return this._siteId}get activationId(){return this._activationId}get issueId(){return this._issueId}get changeGroupId(){return this._changeGroupId}static create(r){let t={qualifier:ru.qualifier,platformQualifier:ru.platformQualifier,cloudId:r.siteId,resourceOwner:ru.resourceOwner,resourceType:ru.resourceType,resourceId:`activation/${r.activationId}/${r.issueId}/${r.changeGroupId}`,resourceIdSegmentValues:{activationId:r.activationId,issueId:r.issueId,changeGroupId:r.changeGroupId}},i=p.fromOpts(t,ru);return new e(i)}static parse(r){let t=p.fromString(r,ru);return new e(t)}getVariables(){return{siteId:this.siteId,activationId:this.activationId,issueId:this.issueId,changeGroupId:this.changeGroupId}}},iu={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"jira",resourceType:"issue-link",resourceIdSlug:"activation/{activationId}/{issueId}/{linkId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,issueId:/[0-9]+/,linkId:/[0-9]+/}},nu=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._activationId=e.resourceIdSegmentValues.activationId,this._issueId=e.resourceIdSegmentValues.issueId,this._linkId=e.resourceIdSegmentValues.linkId}get siteId(){return this._siteId}get activationId(){return this._activationId}get issueId(){return this._issueId}get linkId(){return this._linkId}static create(r){let t={qualifier:iu.qualifier,platformQualifier:iu.platformQualifier,cloudId:r.siteId,resourceOwner:iu.resourceOwner,resourceType:iu.resourceType,resourceId:`activation/${r.activationId}/${r.issueId}/${r.linkId}`,resourceIdSegmentValues:{activationId:r.activationId,issueId:r.issueId,linkId:r.linkId}},i=p.fromOpts(t,iu);return new e(i)}static parse(r){let t=p.fromString(r,iu);return new e(t)}getVariables(){return{siteId:this.siteId,activationId:this.activationId,issueId:this.issueId,linkId:this.linkId}}},ou={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"jira",resourceType:"issue-link-type",resourceIdSlug:"activation/{activationId}/{issueLinkTypeId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,issueLinkTypeId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},au=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._activationId=e.resourceIdSegmentValues.activationId,this._issueLinkTypeId=e.resourceIdSegmentValues.issueLinkTypeId}get siteId(){return this._siteId}get activationId(){return this._activationId}get issueLinkTypeId(){return this._issueLinkTypeId}static create(r){let t={qualifier:ou.qualifier,platformQualifier:ou.platformQualifier,cloudId:r.siteId,resourceOwner:ou.resourceOwner,resourceType:ou.resourceType,resourceId:`activation/${r.activationId}/${r.issueLinkTypeId}`,resourceIdSegmentValues:{activationId:r.activationId,issueLinkTypeId:r.issueLinkTypeId}},i=p.fromOpts(t,ou);return new e(i)}static parse(r){let t=p.fromString(r,ou);return new e(t)}getVariables(){return{siteId:this.siteId,activationId:this.activationId,issueLinkTypeId:this.issueLinkTypeId}}},su={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"jira",resourceType:"issue-remote-link",resourceIdSlug:"activation/{activationId}/{issueId}/{linkId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,issueId:/[0-9]+/,linkId:/[0-9]+/}},uu=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._activationId=e.resourceIdSegmentValues.activationId,this._issueId=e.resourceIdSegmentValues.issueId,this._linkId=e.resourceIdSegmentValues.linkId}get siteId(){return this._siteId}get activationId(){return this._activationId}get issueId(){return this._issueId}get linkId(){return this._linkId}static create(r){let t={qualifier:su.qualifier,platformQualifier:su.platformQualifier,cloudId:r.siteId,resourceOwner:su.resourceOwner,resourceType:su.resourceType,resourceId:`activation/${r.activationId}/${r.issueId}/${r.linkId}`,resourceIdSegmentValues:{activationId:r.activationId,issueId:r.issueId,linkId:r.linkId}},i=p.fromOpts(t,su);return new e(i)}static parse(r){let t=p.fromString(r,su);return new e(t)}getVariables(){return{siteId:this.siteId,activationId:this.activationId,issueId:this.issueId,linkId:this.linkId}}},cu={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"jira",resourceType:"issue-search-view",resourceIdSlug:"activation/{activationId}/{namespaceId}/{viewId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,namespaceId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/,viewId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},du=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._activationId=e.resourceIdSegmentValues.activationId,this._namespaceId=e.resourceIdSegmentValues.namespaceId,this._viewId=e.resourceIdSegmentValues.viewId}get siteId(){return this._siteId}get activationId(){return this._activationId}get namespaceId(){return this._namespaceId}get viewId(){return this._viewId}static create(r){let t={qualifier:cu.qualifier,platformQualifier:cu.platformQualifier,cloudId:r.siteId,resourceOwner:cu.resourceOwner,resourceType:cu.resourceType,resourceId:`activation/${r.activationId}/${r.namespaceId}/${r.viewId}`,resourceIdSegmentValues:{activationId:r.activationId,namespaceId:r.namespaceId,viewId:r.viewId}},i=p.fromOpts(t,cu);return new e(i)}static parse(r){let t=p.fromString(r,cu);return new e(t)}getVariables(){return{siteId:this.siteId,activationId:this.activationId,namespaceId:this.namespaceId,viewId:this.viewId}}},lu={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"jira",resourceType:"issue-status",resourceIdSlug:"activation/{activationId}/{issuestatusId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,issuestatusId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},Iu=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._activationId=e.resourceIdSegmentValues.activationId,this._issuestatusId=e.resourceIdSegmentValues.issuestatusId}get siteId(){return this._siteId}get activationId(){return this._activationId}get issuestatusId(){return this._issuestatusId}static create(r){let t={qualifier:lu.qualifier,platformQualifier:lu.platformQualifier,cloudId:r.siteId,resourceOwner:lu.resourceOwner,resourceType:lu.resourceType,resourceId:`activation/${r.activationId}/${r.issuestatusId}`,resourceIdSegmentValues:{activationId:r.activationId,issuestatusId:r.issuestatusId}},i=p.fromOpts(t,lu);return new e(i)}static parse(r){let t=p.fromString(r,lu);return new e(t)}getVariables(){return{siteId:this.siteId,activationId:this.activationId,issuestatusId:this.issuestatusId}}},pu={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"jira",resourceType:"issue-type",resourceIdSlug:"{issueTypeId}",resourceIdSegmentFormats:{issueTypeId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},fu=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._issueTypeId=e.resourceIdSegmentValues.issueTypeId}get siteId(){return this._siteId}get issueTypeId(){return this._issueTypeId}static create(r){let t={qualifier:pu.qualifier,platformQualifier:pu.platformQualifier,cloudId:r.siteId,resourceOwner:pu.resourceOwner,resourceType:pu.resourceType,resourceId:`${r.issueTypeId}`,resourceIdSegmentValues:{issueTypeId:r.issueTypeId}},i=p.fromOpts(t,pu);return new e(i)}static parse(r){let t=p.fromString(r,pu);return new e(t)}getVariables(){return{siteId:this.siteId,issueTypeId:this.issueTypeId}}},mu={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"jira",resourceType:"issue-type-scheme",resourceIdSlug:"activation/{activationId}/{issueTypeSchemeId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,issueTypeSchemeId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},hu=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._activationId=e.resourceIdSegmentValues.activationId,this._issueTypeSchemeId=e.resourceIdSegmentValues.issueTypeSchemeId}get siteId(){return this._siteId}get activationId(){return this._activationId}get issueTypeSchemeId(){return this._issueTypeSchemeId}static create(r){let t={qualifier:mu.qualifier,platformQualifier:mu.platformQualifier,cloudId:r.siteId,resourceOwner:mu.resourceOwner,resourceType:mu.resourceType,resourceId:`activation/${r.activationId}/${r.issueTypeSchemeId}`,resourceIdSegmentValues:{activationId:r.activationId,issueTypeSchemeId:r.issueTypeSchemeId}},i=p.fromOpts(t,mu);return new e(i)}static parse(r){let t=p.fromString(r,mu);return new e(t)}getVariables(){return{siteId:this.siteId,activationId:this.activationId,issueTypeSchemeId:this.issueTypeSchemeId}}},gu={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"jira",resourceType:"issue-type-scheme-mapping",resourceIdSlug:"activation/{activationId}/{issueTypeSchemeId}/{issueTypeId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,issueTypeSchemeId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/,issueTypeId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},vu=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._activationId=e.resourceIdSegmentValues.activationId,this._issueTypeSchemeId=e.resourceIdSegmentValues.issueTypeSchemeId,this._issueTypeId=e.resourceIdSegmentValues.issueTypeId}get siteId(){return this._siteId}get activationId(){return this._activationId}get issueTypeSchemeId(){return this._issueTypeSchemeId}get issueTypeId(){return this._issueTypeId}static create(r){let t={qualifier:gu.qualifier,platformQualifier:gu.platformQualifier,cloudId:r.siteId,resourceOwner:gu.resourceOwner,resourceType:gu.resourceType,resourceId:`activation/${r.activationId}/${r.issueTypeSchemeId}/${r.issueTypeId}`,resourceIdSegmentValues:{activationId:r.activationId,issueTypeSchemeId:r.issueTypeSchemeId,issueTypeId:r.issueTypeId}},i=p.fromOpts(t,gu);return new e(i)}static parse(r){let t=p.fromString(r,gu);return new e(t)}getVariables(){return{siteId:this.siteId,activationId:this.activationId,issueTypeSchemeId:this.issueTypeSchemeId,issueTypeId:this.issueTypeId}}},yu={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"jira",resourceType:"issue-worklog",resourceIdSlug:"{issueId}/{worklogId}",resourceIdSegmentFormats:{issueId:/[0-9]+/,worklogId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},wu=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._issueId=e.resourceIdSegmentValues.issueId,this._worklogId=e.resourceIdSegmentValues.worklogId}get siteId(){return this._siteId}get issueId(){return this._issueId}get worklogId(){return this._worklogId}static create(r){let t={qualifier:yu.qualifier,platformQualifier:yu.platformQualifier,cloudId:r.siteId,resourceOwner:yu.resourceOwner,resourceType:yu.resourceType,resourceId:`${r.issueId}/${r.worklogId}`,resourceIdSegmentValues:{issueId:r.issueId,worklogId:r.worklogId}},i=p.fromOpts(t,yu);return new e(i)}static parse(r){let t=p.fromString(r,yu);return new e(t)}getVariables(){return{siteId:this.siteId,issueId:this.issueId,worklogId:this.worklogId}}},Su={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"jira",resourceType:"issuefieldvalue",resourceIdSlug:"{issueId}/{fieldId}",resourceIdSegmentFormats:{issueId:/[0-9]+/,fieldId:/[a-zA-Z0-9_\-]+/}},_u=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._issueId=e.resourceIdSegmentValues.issueId,this._fieldId=e.resourceIdSegmentValues.fieldId}get siteId(){return this._siteId}get issueId(){return this._issueId}get fieldId(){return this._fieldId}static create(r){let t={qualifier:Su.qualifier,platformQualifier:Su.platformQualifier,cloudId:r.siteId,resourceOwner:Su.resourceOwner,resourceType:Su.resourceType,resourceId:`${r.issueId}/${r.fieldId}`,resourceIdSegmentValues:{issueId:r.issueId,fieldId:r.fieldId}},i=p.fromOpts(t,Su);return new e(i)}static parse(r){let t=p.fromString(r,Su);return new e(t)}getVariables(){return{siteId:this.siteId,issueId:this.issueId,fieldId:this.fieldId}}},bu={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"jira",resourceType:"navigation-config",resourceIdSlug:"activation/{activationId}/{userId}/{navKey}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,userId:/[a-zA-Z0-9_\-\:]{1,128}/,navKey:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},Tu=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._activationId=e.resourceIdSegmentValues.activationId,this._userId=e.resourceIdSegmentValues.userId,this._navKey=e.resourceIdSegmentValues.navKey}get siteId(){return this._siteId}get activationId(){return this._activationId}get userId(){return this._userId}get navKey(){return this._navKey}static create(r){let t={qualifier:bu.qualifier,platformQualifier:bu.platformQualifier,cloudId:r.siteId,resourceOwner:bu.resourceOwner,resourceType:bu.resourceType,resourceId:`activation/${r.activationId}/${r.userId}/${r.navKey}`,resourceIdSegmentValues:{activationId:r.activationId,userId:r.userId,navKey:r.navKey}},i=p.fromOpts(t,bu);return new e(i)}static parse(r){let t=p.fromString(r,bu);return new e(t)}getVariables(){return{siteId:this.siteId,activationId:this.activationId,userId:this.userId,navKey:this.navKey}}},Ou={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"jira",resourceType:"navigation-item",resourceIdSlug:"activation/{activationId}/{scopeType}/{scopeId}/{itemId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,scopeType:/(?:project|board|global)/,scopeId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/,itemId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},ku=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._activationId=e.resourceIdSegmentValues.activationId,this._scopeType=e.resourceIdSegmentValues.scopeType,this._scopeId=e.resourceIdSegmentValues.scopeId,this._itemId=e.resourceIdSegmentValues.itemId}get siteId(){return this._siteId}get activationId(){return this._activationId}get scopeType(){return this._scopeType}get scopeId(){return this._scopeId}get itemId(){return this._itemId}static create(r){let t={qualifier:Ou.qualifier,platformQualifier:Ou.platformQualifier,cloudId:r.siteId,resourceOwner:Ou.resourceOwner,resourceType:Ou.resourceType,resourceId:`activation/${r.activationId}/${r.scopeType}/${r.scopeId}/${r.itemId}`,resourceIdSegmentValues:{activationId:r.activationId,scopeType:r.scopeType,scopeId:r.scopeId,itemId:r.itemId}},i=p.fromOpts(t,Ou);return new e(i)}static parse(r){let t=p.fromString(r,Ou);return new e(t)}getVariables(){return{siteId:this.siteId,activationId:this.activationId,scopeType:this.scopeType,scopeId:this.scopeId,itemId:this.itemId}}},Au={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"jira",resourceType:"notification-type",resourceIdSlug:"activation/{activationId}/{notificationTypeId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,notificationTypeId:/[0-9]+/}},qu=class e extends T{constructor(e){super(e),this._activationId=e.resourceIdSegmentValues.activationId,this._notificationTypeId=e.resourceIdSegmentValues.notificationTypeId}get activationId(){return this._activationId}get notificationTypeId(){return this._notificationTypeId}static create(r){let t={qualifier:Au.qualifier,platformQualifier:Au.platformQualifier,cloudId:void 0,resourceOwner:Au.resourceOwner,resourceType:Au.resourceType,resourceId:`activation/${r.activationId}/${r.notificationTypeId}`,resourceIdSegmentValues:{activationId:r.activationId,notificationTypeId:r.notificationTypeId}},i=p.fromOpts(t,Au);return new e(i)}static parse(r){let t=p.fromString(r,Au);return new e(t)}getVariables(){return{activationId:this.activationId,notificationTypeId:this.notificationTypeId}}},Vu={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"jira",resourceType:"notification-type-scheme",resourceIdSlug:"activation/{activationId}/{notificationTypeSchemeId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,notificationTypeSchemeId:/[0-9]+/}},Eu=class e extends T{constructor(e){super(e),this._activationId=e.resourceIdSegmentValues.activationId,this._notificationTypeSchemeId=e.resourceIdSegmentValues.notificationTypeSchemeId}get activationId(){return this._activationId}get notificationTypeSchemeId(){return this._notificationTypeSchemeId}static create(r){let t={qualifier:Vu.qualifier,platformQualifier:Vu.platformQualifier,cloudId:void 0,resourceOwner:Vu.resourceOwner,resourceType:Vu.resourceType,resourceId:`activation/${r.activationId}/${r.notificationTypeSchemeId}`,resourceIdSegmentValues:{activationId:r.activationId,notificationTypeSchemeId:r.notificationTypeSchemeId}},i=p.fromOpts(t,Vu);return new e(i)}static parse(r){let t=p.fromString(r,Vu);return new e(t)}getVariables(){return{activationId:this.activationId,notificationTypeSchemeId:this.notificationTypeSchemeId}}},xu={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"jira",resourceType:"notification-user-preference",resourceIdSlug:"activation/{activationId}/{notificationUserPreferenceId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,notificationUserPreferenceId:/[0-9]+/}},Ru=class e extends T{constructor(e){super(e),this._activationId=e.resourceIdSegmentValues.activationId,this._notificationUserPreferenceId=e.resourceIdSegmentValues.notificationUserPreferenceId}get activationId(){return this._activationId}get notificationUserPreferenceId(){return this._notificationUserPreferenceId}static create(r){let t={qualifier:xu.qualifier,platformQualifier:xu.platformQualifier,cloudId:void 0,resourceOwner:xu.resourceOwner,resourceType:xu.resourceType,resourceId:`activation/${r.activationId}/${r.notificationUserPreferenceId}`,resourceIdSegmentValues:{activationId:r.activationId,notificationUserPreferenceId:r.notificationUserPreferenceId}},i=p.fromOpts(t,xu);return new e(i)}static parse(r){let t=p.fromString(r,xu);return new e(t)}getVariables(){return{activationId:this.activationId,notificationUserPreferenceId:this.notificationUserPreferenceId}}},$u={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"jira",resourceType:"operations-workspace",resourceIdSlug:"activation/{activationId}/{providerAppId}/{operationsWorkspaceId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,providerAppId:/[a-zA-Z0-9-._]+/,operationsWorkspaceId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},Qu=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._activationId=e.resourceIdSegmentValues.activationId,this._providerAppId=e.resourceIdSegmentValues.providerAppId,this._operationsWorkspaceId=e.resourceIdSegmentValues.operationsWorkspaceId}get siteId(){return this._siteId}get activationId(){return this._activationId}get providerAppId(){return this._providerAppId}get operationsWorkspaceId(){return this._operationsWorkspaceId}static create(r){let t={qualifier:$u.qualifier,platformQualifier:$u.platformQualifier,cloudId:r.siteId,resourceOwner:$u.resourceOwner,resourceType:$u.resourceType,resourceId:`activation/${r.activationId}/${r.providerAppId}/${r.operationsWorkspaceId}`,resourceIdSegmentValues:{activationId:r.activationId,providerAppId:r.providerAppId,operationsWorkspaceId:r.operationsWorkspaceId}},i=p.fromOpts(t,$u);return new e(i)}static parse(r){let t=p.fromString(r,$u);return new e(t)}getVariables(){return{siteId:this.siteId,activationId:this.activationId,providerAppId:this.providerAppId,operationsWorkspaceId:this.operationsWorkspaceId}}},Nu={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"jira",resourceType:"permission-scheme",resourceIdSlug:"activation/{activationId}/{schemeId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,schemeId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},Cu=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._activationId=e.resourceIdSegmentValues.activationId,this._schemeId=e.resourceIdSegmentValues.schemeId}get siteId(){return this._siteId}get activationId(){return this._activationId}get schemeId(){return this._schemeId}static create(r){let t={qualifier:Nu.qualifier,platformQualifier:Nu.platformQualifier,cloudId:r.siteId,resourceOwner:Nu.resourceOwner,resourceType:Nu.resourceType,resourceId:`activation/${r.activationId}/${r.schemeId}`,resourceIdSegmentValues:{activationId:r.activationId,schemeId:r.schemeId}},i=p.fromOpts(t,Nu);return new e(i)}static parse(r){let t=p.fromString(r,Nu);return new e(t)}getVariables(){return{siteId:this.siteId,activationId:this.activationId,schemeId:this.schemeId}}},Fu={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"jira",resourceType:"plan",resourceIdSlug:"activation/{activationId}/{planId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,planId:/[0-9]+/}},zu=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._activationId=e.resourceIdSegmentValues.activationId,this._planId=e.resourceIdSegmentValues.planId}get siteId(){return this._siteId}get activationId(){return this._activationId}get planId(){return this._planId}static create(r){let t={qualifier:Fu.qualifier,platformQualifier:Fu.platformQualifier,cloudId:r.siteId,resourceOwner:Fu.resourceOwner,resourceType:Fu.resourceType,resourceId:`activation/${r.activationId}/${r.planId}`,resourceIdSegmentValues:{activationId:r.activationId,planId:r.planId}},i=p.fromOpts(t,Fu);return new e(i)}static parse(r){let t=p.fromString(r,Fu);return new e(t)}getVariables(){return{siteId:this.siteId,activationId:this.activationId,planId:this.planId}}},Lu={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"jira",resourceType:"plan-cross-project-scenario-version",resourceIdSlug:"activation/{activationId}/{crossProjectScenarioVersionId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,crossProjectScenarioVersionId:/[0-9]+/}},Mu=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._activationId=e.resourceIdSegmentValues.activationId,this._crossProjectScenarioVersionId=e.resourceIdSegmentValues.crossProjectScenarioVersionId}get siteId(){return this._siteId}get activationId(){return this._activationId}get crossProjectScenarioVersionId(){return this._crossProjectScenarioVersionId}static create(r){let t={qualifier:Lu.qualifier,platformQualifier:Lu.platformQualifier,cloudId:r.siteId,resourceOwner:Lu.resourceOwner,resourceType:Lu.resourceType,resourceId:`activation/${r.activationId}/${r.crossProjectScenarioVersionId}`,resourceIdSegmentValues:{activationId:r.activationId,crossProjectScenarioVersionId:r.crossProjectScenarioVersionId}},i=p.fromOpts(t,Lu);return new e(i)}static parse(r){let t=p.fromString(r,Lu);return new e(t)}getVariables(){return{siteId:this.siteId,activationId:this.activationId,crossProjectScenarioVersionId:this.crossProjectScenarioVersionId}}},Pu={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"jira",resourceType:"plan-cross-project-version",resourceIdSlug:"activation/{activationId}/{crossProjectVersionId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,crossProjectVersionId:/[0-9]+/}},ju=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._activationId=e.resourceIdSegmentValues.activationId,this._crossProjectVersionId=e.resourceIdSegmentValues.crossProjectVersionId}get siteId(){return this._siteId}get activationId(){return this._activationId}get crossProjectVersionId(){return this._crossProjectVersionId}static create(r){let t={qualifier:Pu.qualifier,platformQualifier:Pu.platformQualifier,cloudId:r.siteId,resourceOwner:Pu.resourceOwner,resourceType:Pu.resourceType,resourceId:`activation/${r.activationId}/${r.crossProjectVersionId}`,resourceIdSegmentValues:{activationId:r.activationId,crossProjectVersionId:r.crossProjectVersionId}},i=p.fromOpts(t,Pu);return new e(i)}static parse(r){let t=p.fromString(r,Pu);return new e(t)}getVariables(){return{siteId:this.siteId,activationId:this.activationId,crossProjectVersionId:this.crossProjectVersionId}}},Zu={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"jira",resourceType:"plan-scenario",resourceIdSlug:"activation/{activationId}/{planId}/scenario/{scenarioId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,planId:/[0-9]+/,scenarioId:/[0-9]+/}},Uu=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._activationId=e.resourceIdSegmentValues.activationId,this._planId=e.resourceIdSegmentValues.planId,this._scenarioId=e.resourceIdSegmentValues.scenarioId}get siteId(){return this._siteId}get activationId(){return this._activationId}get planId(){return this._planId}get scenarioId(){return this._scenarioId}static create(r){let t={qualifier:Zu.qualifier,platformQualifier:Zu.platformQualifier,cloudId:r.siteId,resourceOwner:Zu.resourceOwner,resourceType:Zu.resourceType,resourceId:`activation/${r.activationId}/${r.planId}/scenario/${r.scenarioId}`,resourceIdSegmentValues:{activationId:r.activationId,planId:r.planId,scenarioId:r.scenarioId}},i=p.fromOpts(t,Zu);return new e(i)}static parse(r){let t=p.fromString(r,Zu);return new e(t)}getVariables(){return{siteId:this.siteId,activationId:this.activationId,planId:this.planId,scenarioId:this.scenarioId}}},Du={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"jira",resourceType:"plan-scenario-issue",resourceIdSlug:"activation/{activationId}/{scenarioIssueId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,scenarioIssueId:/[0-9]+/}},Wu=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._activationId=e.resourceIdSegmentValues.activationId,this._scenarioIssueId=e.resourceIdSegmentValues.scenarioIssueId}get siteId(){return this._siteId}get activationId(){return this._activationId}get scenarioIssueId(){return this._scenarioIssueId}static create(r){let t={qualifier:Du.qualifier,platformQualifier:Du.platformQualifier,cloudId:r.siteId,resourceOwner:Du.resourceOwner,resourceType:Du.resourceType,resourceId:`activation/${r.activationId}/${r.scenarioIssueId}`,resourceIdSegmentValues:{activationId:r.activationId,scenarioIssueId:r.scenarioIssueId}},i=p.fromOpts(t,Du);return new e(i)}static parse(r){let t=p.fromString(r,Du);return new e(t)}getVariables(){return{siteId:this.siteId,activationId:this.activationId,scenarioIssueId:this.scenarioIssueId}}},Ku={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"jira",resourceType:"plan-scenario-issue-field",resourceIdSlug:"activation/{activationId}/{scenarioIssueId}/{fieldId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,scenarioIssueId:/[0-9]+/,fieldId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},Bu=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._activationId=e.resourceIdSegmentValues.activationId,this._scenarioIssueId=e.resourceIdSegmentValues.scenarioIssueId,this._fieldId=e.resourceIdSegmentValues.fieldId}get siteId(){return this._siteId}get activationId(){return this._activationId}get scenarioIssueId(){return this._scenarioIssueId}get fieldId(){return this._fieldId}static create(r){let t={qualifier:Ku.qualifier,platformQualifier:Ku.platformQualifier,cloudId:r.siteId,resourceOwner:Ku.resourceOwner,resourceType:Ku.resourceType,resourceId:`activation/${r.activationId}/${r.scenarioIssueId}/${r.fieldId}`,resourceIdSegmentValues:{activationId:r.activationId,scenarioIssueId:r.scenarioIssueId,fieldId:r.fieldId}},i=p.fromOpts(t,Ku);return new e(i)}static parse(r){let t=p.fromString(r,Ku);return new e(t)}getVariables(){return{siteId:this.siteId,activationId:this.activationId,scenarioIssueId:this.scenarioIssueId,fieldId:this.fieldId}}},Gu={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"jira",resourceType:"plan-scenario-version",resourceIdSlug:"activation/{activationId}/{scenarioVersionId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,scenarioVersionId:/[0-9]+/}},Ju=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._activationId=e.resourceIdSegmentValues.activationId,this._scenarioVersionId=e.resourceIdSegmentValues.scenarioVersionId}get siteId(){return this._siteId}get activationId(){return this._activationId}get scenarioVersionId(){return this._scenarioVersionId}static create(r){let t={qualifier:Gu.qualifier,platformQualifier:Gu.platformQualifier,cloudId:r.siteId,resourceOwner:Gu.resourceOwner,resourceType:Gu.resourceType,resourceId:`activation/${r.activationId}/${r.scenarioVersionId}`,resourceIdSegmentValues:{activationId:r.activationId,scenarioVersionId:r.scenarioVersionId}},i=p.fromOpts(t,Gu);return new e(i)}static parse(r){let t=p.fromString(r,Gu);return new e(t)}getVariables(){return{siteId:this.siteId,activationId:this.activationId,scenarioVersionId:this.scenarioVersionId}}},Hu={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"jira",resourceType:"post-incident-review",resourceIdSlug:"activation/{activationId}/{postIncidentReviewId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,postIncidentReviewId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},Yu=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._activationId=e.resourceIdSegmentValues.activationId,this._postIncidentReviewId=e.resourceIdSegmentValues.postIncidentReviewId}get siteId(){return this._siteId}get activationId(){return this._activationId}get postIncidentReviewId(){return this._postIncidentReviewId}static create(r){let t={qualifier:Hu.qualifier,platformQualifier:Hu.platformQualifier,cloudId:r.siteId,resourceOwner:Hu.resourceOwner,resourceType:Hu.resourceType,resourceId:`activation/${r.activationId}/${r.postIncidentReviewId}`,resourceIdSegmentValues:{activationId:r.activationId,postIncidentReviewId:r.postIncidentReviewId}},i=p.fromOpts(t,Hu);return new e(i)}static parse(r){let t=p.fromString(r,Hu);return new e(t)}getVariables(){return{siteId:this.siteId,activationId:this.activationId,postIncidentReviewId:this.postIncidentReviewId}}},Xu={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"jira",resourceType:"post-incident-review-history",resourceIdSlug:"activation/{activationId}/{postIncidentReviewId}/{updateSequenceNumber}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,postIncidentReviewId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/,updateSequenceNumber:/\d+/}},ec=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._activationId=e.resourceIdSegmentValues.activationId,this._postIncidentReviewId=e.resourceIdSegmentValues.postIncidentReviewId,this._updateSequenceNumber=e.resourceIdSegmentValues.updateSequenceNumber}get siteId(){return this._siteId}get activationId(){return this._activationId}get postIncidentReviewId(){return this._postIncidentReviewId}get updateSequenceNumber(){return this._updateSequenceNumber}static create(r){let t={qualifier:Xu.qualifier,platformQualifier:Xu.platformQualifier,cloudId:r.siteId,resourceOwner:Xu.resourceOwner,resourceType:Xu.resourceType,resourceId:`activation/${r.activationId}/${r.postIncidentReviewId}/${r.updateSequenceNumber}`,resourceIdSegmentValues:{activationId:r.activationId,postIncidentReviewId:r.postIncidentReviewId,updateSequenceNumber:r.updateSequenceNumber}},i=p.fromOpts(t,Xu);return new e(i)}static parse(r){let t=p.fromString(r,Xu);return new e(t)}getVariables(){return{siteId:this.siteId,activationId:this.activationId,postIncidentReviewId:this.postIncidentReviewId,updateSequenceNumber:this.updateSequenceNumber}}},rc={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"jira",resourceType:"post-incident-review-link",resourceIdSlug:"activation/{activationId}/{postIncidentReviewLinkId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,postIncidentReviewLinkId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},tc=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._activationId=e.resourceIdSegmentValues.activationId,this._postIncidentReviewLinkId=e.resourceIdSegmentValues.postIncidentReviewLinkId}get siteId(){return this._siteId}get activationId(){return this._activationId}get postIncidentReviewLinkId(){return this._postIncidentReviewLinkId}static create(r){let t={qualifier:rc.qualifier,platformQualifier:rc.platformQualifier,cloudId:r.siteId,resourceOwner:rc.resourceOwner,resourceType:rc.resourceType,resourceId:`activation/${r.activationId}/${r.postIncidentReviewLinkId}`,resourceIdSegmentValues:{activationId:r.activationId,postIncidentReviewLinkId:r.postIncidentReviewLinkId}},i=p.fromOpts(t,rc);return new e(i)}static parse(r){let t=p.fromString(r,rc);return new e(t)}getVariables(){return{siteId:this.siteId,activationId:this.activationId,postIncidentReviewLinkId:this.postIncidentReviewLinkId}}},ic={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"jira",resourceType:"priority",resourceIdSlug:"activation/{activationId}/{priorityId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,priorityId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},nc=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._activationId=e.resourceIdSegmentValues.activationId,this._priorityId=e.resourceIdSegmentValues.priorityId}get siteId(){return this._siteId}get activationId(){return this._activationId}get priorityId(){return this._priorityId}static create(r){let t={qualifier:ic.qualifier,platformQualifier:ic.platformQualifier,cloudId:r.siteId,resourceOwner:ic.resourceOwner,resourceType:ic.resourceType,resourceId:`activation/${r.activationId}/${r.priorityId}`,resourceIdSegmentValues:{activationId:r.activationId,priorityId:r.priorityId}},i=p.fromOpts(t,ic);return new e(i)}static parse(r){let t=p.fromString(r,ic);return new e(t)}getVariables(){return{siteId:this.siteId,activationId:this.activationId,priorityId:this.priorityId}}},oc={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"jira",resourceType:"product",resourceIdSlug:"activation/{activationId}/{productId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,productId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},ac=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._activationId=e.resourceIdSegmentValues.activationId,this._productId=e.resourceIdSegmentValues.productId}get siteId(){return this._siteId}get activationId(){return this._activationId}get productId(){return this._productId}static create(r){let t={qualifier:oc.qualifier,platformQualifier:oc.platformQualifier,cloudId:r.siteId,resourceOwner:oc.resourceOwner,resourceType:oc.resourceType,resourceId:`activation/${r.activationId}/${r.productId}`,resourceIdSegmentValues:{activationId:r.activationId,productId:r.productId}},i=p.fromOpts(t,oc);return new e(i)}static parse(r){let t=p.fromString(r,oc);return new e(t)}getVariables(){return{siteId:this.siteId,activationId:this.activationId,productId:this.productId}}},sc={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"jira",resourceType:"project",resourceIdSlug:"{projectId}",resourceIdSegmentFormats:{projectId:/[0-9]+/}},uc=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._projectId=e.resourceIdSegmentValues.projectId}get siteId(){return this._siteId}get projectId(){return this._projectId}static create(r){let t={qualifier:sc.qualifier,platformQualifier:sc.platformQualifier,cloudId:r.siteId,resourceOwner:sc.resourceOwner,resourceType:sc.resourceType,resourceId:`${r.projectId}`,resourceIdSegmentValues:{projectId:r.projectId}},i=p.fromOpts(t,sc);return new e(i)}static parse(r){let t=p.fromString(r,sc);return new e(t)}getVariables(){return{siteId:this.siteId,projectId:this.projectId}}},cc={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"jira",resourceType:"project-category",resourceIdSlug:"{projectCategoryId}",resourceIdSegmentFormats:{projectCategoryId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},dc=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._projectCategoryId=e.resourceIdSegmentValues.projectCategoryId}get siteId(){return this._siteId}get projectCategoryId(){return this._projectCategoryId}static create(r){let t={qualifier:cc.qualifier,platformQualifier:cc.platformQualifier,cloudId:r.siteId,resourceOwner:cc.resourceOwner,resourceType:cc.resourceType,resourceId:`${r.projectCategoryId}`,resourceIdSegmentValues:{projectCategoryId:r.projectCategoryId}},i=p.fromOpts(t,cc);return new e(i)}static parse(r){let t=p.fromString(r,cc);return new e(t)}getVariables(){return{siteId:this.siteId,projectCategoryId:this.projectCategoryId}}},lc={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"jira",resourceType:"project-feature",resourceIdSlug:"activation/{activationId}/{projectId}/featureKey/{featureKey}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,projectId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/,featureKey:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},Ic=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._activationId=e.resourceIdSegmentValues.activationId,this._projectId=e.resourceIdSegmentValues.projectId,this._featureKey=e.resourceIdSegmentValues.featureKey}get siteId(){return this._siteId}get activationId(){return this._activationId}get projectId(){return this._projectId}get featureKey(){return this._featureKey}static create(r){let t={qualifier:lc.qualifier,platformQualifier:lc.platformQualifier,cloudId:r.siteId,resourceOwner:lc.resourceOwner,resourceType:lc.resourceType,resourceId:`activation/${r.activationId}/${r.projectId}/featureKey/${r.featureKey}`,resourceIdSegmentValues:{activationId:r.activationId,projectId:r.projectId,featureKey:r.featureKey}},i=p.fromOpts(t,lc);return new e(i)}static parse(r){let t=p.fromString(r,lc);return new e(t)}getVariables(){return{siteId:this.siteId,activationId:this.activationId,projectId:this.projectId,featureKey:this.featureKey}}},pc={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"jira",resourceType:"project-overview",resourceIdSlug:"activation/{activationId}/{overviewId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,overviewId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},fc=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._activationId=e.resourceIdSegmentValues.activationId,this._overviewId=e.resourceIdSegmentValues.overviewId}get siteId(){return this._siteId}get activationId(){return this._activationId}get overviewId(){return this._overviewId}static create(r){let t={qualifier:pc.qualifier,platformQualifier:pc.platformQualifier,cloudId:r.siteId,resourceOwner:pc.resourceOwner,resourceType:pc.resourceType,resourceId:`activation/${r.activationId}/${r.overviewId}`,resourceIdSegmentValues:{activationId:r.activationId,overviewId:r.overviewId}},i=p.fromOpts(t,pc);return new e(i)}static parse(r){let t=p.fromString(r,pc);return new e(t)}getVariables(){return{siteId:this.siteId,activationId:this.activationId,overviewId:this.overviewId}}},mc={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"jira",resourceType:"project-role-actor",resourceIdSlug:"activation/{activationId}/{projectRoleActorId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,projectRoleActorId:/[0-9]+/}},hc=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._activationId=e.resourceIdSegmentValues.activationId,this._projectRoleActorId=e.resourceIdSegmentValues.projectRoleActorId}get siteId(){return this._siteId}get activationId(){return this._activationId}get projectRoleActorId(){return this._projectRoleActorId}static create(r){let t={qualifier:mc.qualifier,platformQualifier:mc.platformQualifier,cloudId:r.siteId,resourceOwner:mc.resourceOwner,resourceType:mc.resourceType,resourceId:`activation/${r.activationId}/${r.projectRoleActorId}`,resourceIdSegmentValues:{activationId:r.activationId,projectRoleActorId:r.projectRoleActorId}},i=p.fromOpts(t,mc);return new e(i)}static parse(r){let t=p.fromString(r,mc);return new e(t)}getVariables(){return{siteId:this.siteId,activationId:this.activationId,projectRoleActorId:this.projectRoleActorId}}},gc={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"jira",resourceType:"project-shortcut",resourceIdSlug:"activation/{activationId}/{shortcutId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,shortcutId:/[0-9]+/}},vc=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._activationId=e.resourceIdSegmentValues.activationId,this._shortcutId=e.resourceIdSegmentValues.shortcutId}get siteId(){return this._siteId}get activationId(){return this._activationId}get shortcutId(){return this._shortcutId}static create(r){let t={qualifier:gc.qualifier,platformQualifier:gc.platformQualifier,cloudId:r.siteId,resourceOwner:gc.resourceOwner,resourceType:gc.resourceType,resourceId:`activation/${r.activationId}/${r.shortcutId}`,resourceIdSegmentValues:{activationId:r.activationId,shortcutId:r.shortcutId}},i=p.fromOpts(t,gc);return new e(i)}static parse(r){let t=p.fromString(r,gc);return new e(t)}getVariables(){return{siteId:this.siteId,activationId:this.activationId,shortcutId:this.shortcutId}}},yc={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"jira",resourceType:"project-type",resourceIdSlug:"{projectTypeId}",resourceIdSegmentFormats:{projectTypeId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},wc=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._projectTypeId=e.resourceIdSegmentValues.projectTypeId}get siteId(){return this._siteId}get projectTypeId(){return this._projectTypeId}static create(r){let t={qualifier:yc.qualifier,platformQualifier:yc.platformQualifier,cloudId:r.siteId,resourceOwner:yc.resourceOwner,resourceType:yc.resourceType,resourceId:`${r.projectTypeId}`,resourceIdSegmentValues:{projectTypeId:r.projectTypeId}},i=p.fromOpts(t,yc);return new e(i)}static parse(r){let t=p.fromString(r,yc);return new e(t)}getVariables(){return{siteId:this.siteId,projectTypeId:this.projectTypeId}}},Sc={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"jira",resourceType:"pull-request",resourceIdSlug:"activation/{activationId}/{pullRequestId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,pullRequestId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},_c=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._activationId=e.resourceIdSegmentValues.activationId,this._pullRequestId=e.resourceIdSegmentValues.pullRequestId}get siteId(){return this._siteId}get activationId(){return this._activationId}get pullRequestId(){return this._pullRequestId}static create(r){let t={qualifier:Sc.qualifier,platformQualifier:Sc.platformQualifier,cloudId:r.siteId,resourceOwner:Sc.resourceOwner,resourceType:Sc.resourceType,resourceId:`activation/${r.activationId}/${r.pullRequestId}`,resourceIdSegmentValues:{activationId:r.activationId,pullRequestId:r.pullRequestId}},i=p.fromOpts(t,Sc);return new e(i)}static parse(r){let t=p.fromString(r,Sc);return new e(t)}getVariables(){return{siteId:this.siteId,activationId:this.activationId,pullRequestId:this.pullRequestId}}},bc={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"jira",resourceType:"pull-request-history",resourceIdSlug:"activation/{activationId}/{pullRequestId}/{updateSequenceNumber}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,pullRequestId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/,updateSequenceNumber:/\d+/}},Tc=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._activationId=e.resourceIdSegmentValues.activationId,this._pullRequestId=e.resourceIdSegmentValues.pullRequestId,this._updateSequenceNumber=e.resourceIdSegmentValues.updateSequenceNumber}get siteId(){return this._siteId}get activationId(){return this._activationId}get pullRequestId(){return this._pullRequestId}get updateSequenceNumber(){return this._updateSequenceNumber}static create(r){let t={qualifier:bc.qualifier,platformQualifier:bc.platformQualifier,cloudId:r.siteId,resourceOwner:bc.resourceOwner,resourceType:bc.resourceType,resourceId:`activation/${r.activationId}/${r.pullRequestId}/${r.updateSequenceNumber}`,resourceIdSegmentValues:{activationId:r.activationId,pullRequestId:r.pullRequestId,updateSequenceNumber:r.updateSequenceNumber}},i=p.fromOpts(t,bc);return new e(i)}static parse(r){let t=p.fromString(r,bc);return new e(t)}getVariables(){return{siteId:this.siteId,activationId:this.activationId,pullRequestId:this.pullRequestId,updateSequenceNumber:this.updateSequenceNumber}}},Oc={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"jira",resourceType:"remote-link",resourceIdSlug:"activation/{activationId}/{remoteLinkId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,remoteLinkId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},kc=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._activationId=e.resourceIdSegmentValues.activationId,this._remoteLinkId=e.resourceIdSegmentValues.remoteLinkId}get siteId(){return this._siteId}get activationId(){return this._activationId}get remoteLinkId(){return this._remoteLinkId}static create(r){let t={qualifier:Oc.qualifier,platformQualifier:Oc.platformQualifier,cloudId:r.siteId,resourceOwner:Oc.resourceOwner,resourceType:Oc.resourceType,resourceId:`activation/${r.activationId}/${r.remoteLinkId}`,resourceIdSegmentValues:{activationId:r.activationId,remoteLinkId:r.remoteLinkId}},i=p.fromOpts(t,Oc);return new e(i)}static parse(r){let t=p.fromString(r,Oc);return new e(t)}getVariables(){return{siteId:this.siteId,activationId:this.activationId,remoteLinkId:this.remoteLinkId}}},Ac={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"jira",resourceType:"remote-link-history",resourceIdSlug:"activation/{activationId}/{remoteLinkId}/{updateSequenceNumber}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,remoteLinkId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/,updateSequenceNumber:/\d+/}},qc=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._activationId=e.resourceIdSegmentValues.activationId,this._remoteLinkId=e.resourceIdSegmentValues.remoteLinkId,this._updateSequenceNumber=e.resourceIdSegmentValues.updateSequenceNumber}get siteId(){return this._siteId}get activationId(){return this._activationId}get remoteLinkId(){return this._remoteLinkId}get updateSequenceNumber(){return this._updateSequenceNumber}static create(r){let t={qualifier:Ac.qualifier,platformQualifier:Ac.platformQualifier,cloudId:r.siteId,resourceOwner:Ac.resourceOwner,resourceType:Ac.resourceType,resourceId:`activation/${r.activationId}/${r.remoteLinkId}/${r.updateSequenceNumber}`,resourceIdSegmentValues:{activationId:r.activationId,remoteLinkId:r.remoteLinkId,updateSequenceNumber:r.updateSequenceNumber}},i=p.fromOpts(t,Ac);return new e(i)}static parse(r){let t=p.fromString(r,Ac);return new e(t)}getVariables(){return{siteId:this.siteId,activationId:this.activationId,remoteLinkId:this.remoteLinkId,updateSequenceNumber:this.updateSequenceNumber}}},Vc={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"jira",resourceType:"repository",resourceIdSlug:"activation/{activationId}/{repositoryId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,repositoryId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},Ec=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._activationId=e.resourceIdSegmentValues.activationId,this._repositoryId=e.resourceIdSegmentValues.repositoryId}get siteId(){return this._siteId}get activationId(){return this._activationId}get repositoryId(){return this._repositoryId}static create(r){let t={qualifier:Vc.qualifier,platformQualifier:Vc.platformQualifier,cloudId:r.siteId,resourceOwner:Vc.resourceOwner,resourceType:Vc.resourceType,resourceId:`activation/${r.activationId}/${r.repositoryId}`,resourceIdSegmentValues:{activationId:r.activationId,repositoryId:r.repositoryId}},i=p.fromOpts(t,Vc);return new e(i)}static parse(r){let t=p.fromString(r,Vc);return new e(t)}getVariables(){return{siteId:this.siteId,activationId:this.activationId,repositoryId:this.repositoryId}}},xc={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"jira",resourceType:"resolution",resourceIdSlug:"activation/{activationId}/{resolutionId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,resolutionId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},Rc=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._activationId=e.resourceIdSegmentValues.activationId,this._resolutionId=e.resourceIdSegmentValues.resolutionId}get siteId(){return this._siteId}get activationId(){return this._activationId}get resolutionId(){return this._resolutionId}static create(r){let t={qualifier:xc.qualifier,platformQualifier:xc.platformQualifier,cloudId:r.siteId,resourceOwner:xc.resourceOwner,resourceType:xc.resourceType,resourceId:`activation/${r.activationId}/${r.resolutionId}`,resourceIdSegmentValues:{activationId:r.activationId,resolutionId:r.resolutionId}},i=p.fromOpts(t,xc);return new e(i)}static parse(r){let t=p.fromString(r,xc);return new e(t)}getVariables(){return{siteId:this.siteId,activationId:this.activationId,resolutionId:this.resolutionId}}},$c={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"jira",resourceType:"resource-usage-metric",resourceIdSlug:"activation/{activationId}/{metricKey}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,metricKey:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},Qc=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._activationId=e.resourceIdSegmentValues.activationId,this._metricKey=e.resourceIdSegmentValues.metricKey}get siteId(){return this._siteId}get activationId(){return this._activationId}get metricKey(){return this._metricKey}static create(r){let t={qualifier:$c.qualifier,platformQualifier:$c.platformQualifier,cloudId:r.siteId,resourceOwner:$c.resourceOwner,resourceType:$c.resourceType,resourceId:`activation/${r.activationId}/${r.metricKey}`,resourceIdSegmentValues:{activationId:r.activationId,metricKey:r.metricKey}},i=p.fromOpts(t,$c);return new e(i)}static parse(r){let t=p.fromString(r,$c);return new e(t)}getVariables(){return{siteId:this.siteId,activationId:this.activationId,metricKey:this.metricKey}}},Nc={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"jira",resourceType:"resource-usage-recommendation",resourceIdSlug:"activation/{activationId}/{recommendationId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,recommendationId:/[0-9]+/}},Cc=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._activationId=e.resourceIdSegmentValues.activationId,this._recommendationId=e.resourceIdSegmentValues.recommendationId}get siteId(){return this._siteId}get activationId(){return this._activationId}get recommendationId(){return this._recommendationId}static create(r){let t={qualifier:Nc.qualifier,platformQualifier:Nc.platformQualifier,cloudId:r.siteId,resourceOwner:Nc.resourceOwner,resourceType:Nc.resourceType,resourceId:`activation/${r.activationId}/${r.recommendationId}`,resourceIdSegmentValues:{activationId:r.activationId,recommendationId:r.recommendationId}},i=p.fromOpts(t,Nc);return new e(i)}static parse(r){let t=p.fromString(r,Nc);return new e(t)}getVariables(){return{siteId:this.siteId,activationId:this.activationId,recommendationId:this.recommendationId}}},Fc={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]*$"),resourceOwner:"jira",resourceType:"role",resourceIdSlug:"{jiraRoleType}/{jiraRoleTypeId}",resourceIdSegmentFormats:{jiraRoleType:/(?:scope|product|projectrole-by-project|project-lead|principal-grant|project-role|application-access|jsm-customer-context-helpseeker-project-permission|jsm-customer-context-anonymous-project-permission|role-type-for-perms-pollinator-test)/,jiraRoleTypeId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},zc=class e extends T{constructor(e){super(e),this._optionalSiteId=e.cloudId||"",this._jiraRoleType=e.resourceIdSegmentValues.jiraRoleType,this._jiraRoleTypeId=e.resourceIdSegmentValues.jiraRoleTypeId}get optionalSiteId(){return this._optionalSiteId}get jiraRoleType(){return this._jiraRoleType}get jiraRoleTypeId(){return this._jiraRoleTypeId}static create(r){let t={qualifier:Fc.qualifier,platformQualifier:Fc.platformQualifier,cloudId:r.optionalSiteId,resourceOwner:Fc.resourceOwner,resourceType:Fc.resourceType,resourceId:`${r.jiraRoleType}/${r.jiraRoleTypeId}`,resourceIdSegmentValues:{jiraRoleType:r.jiraRoleType,jiraRoleTypeId:r.jiraRoleTypeId}},i=p.fromOpts(t,Fc);return new e(i)}static parse(r){let t=p.fromString(r,Fc);return new e(t)}getVariables(){return{optionalSiteId:this.optionalSiteId,jiraRoleType:this.jiraRoleType,jiraRoleTypeId:this.jiraRoleTypeId}}},Lc={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"jira",resourceType:"screen-tab",resourceIdSlug:"activation/{activationId}/{screenId}/{tabId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,screenId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/,tabId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},Mc=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._activationId=e.resourceIdSegmentValues.activationId,this._screenId=e.resourceIdSegmentValues.screenId,this._tabId=e.resourceIdSegmentValues.tabId}get siteId(){return this._siteId}get activationId(){return this._activationId}get screenId(){return this._screenId}get tabId(){return this._tabId}static create(r){let t={qualifier:Lc.qualifier,platformQualifier:Lc.platformQualifier,cloudId:r.siteId,resourceOwner:Lc.resourceOwner,resourceType:Lc.resourceType,resourceId:`activation/${r.activationId}/${r.screenId}/${r.tabId}`,resourceIdSegmentValues:{activationId:r.activationId,screenId:r.screenId,tabId:r.tabId}},i=p.fromOpts(t,Lc);return new e(i)}static parse(r){let t=p.fromString(r,Lc);return new e(t)}getVariables(){return{siteId:this.siteId,activationId:this.activationId,screenId:this.screenId,tabId:this.tabId}}},Pc={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"jira",resourceType:"security-container",resourceIdSlug:"activation/{activationId}/{providerAppId}/{securityContainerId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,providerAppId:/[a-zA-Z0-9-._]+/,securityContainerId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},jc=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._activationId=e.resourceIdSegmentValues.activationId,this._providerAppId=e.resourceIdSegmentValues.providerAppId,this._securityContainerId=e.resourceIdSegmentValues.securityContainerId}get siteId(){return this._siteId}get activationId(){return this._activationId}get providerAppId(){return this._providerAppId}get securityContainerId(){return this._securityContainerId}static create(r){let t={qualifier:Pc.qualifier,platformQualifier:Pc.platformQualifier,cloudId:r.siteId,resourceOwner:Pc.resourceOwner,resourceType:Pc.resourceType,resourceId:`activation/${r.activationId}/${r.providerAppId}/${r.securityContainerId}`,resourceIdSegmentValues:{activationId:r.activationId,providerAppId:r.providerAppId,securityContainerId:r.securityContainerId}},i=p.fromOpts(t,Pc);return new e(i)}static parse(r){let t=p.fromString(r,Pc);return new e(t)}getVariables(){return{siteId:this.siteId,activationId:this.activationId,providerAppId:this.providerAppId,securityContainerId:this.securityContainerId}}},Zc={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"jira",resourceType:"security-level",resourceIdSlug:"activation/{activationId}/{securityLevelId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,securityLevelId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},Uc=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._activationId=e.resourceIdSegmentValues.activationId,this._securityLevelId=e.resourceIdSegmentValues.securityLevelId}get siteId(){return this._siteId}get activationId(){return this._activationId}get securityLevelId(){return this._securityLevelId}static create(r){let t={qualifier:Zc.qualifier,platformQualifier:Zc.platformQualifier,cloudId:r.siteId,resourceOwner:Zc.resourceOwner,resourceType:Zc.resourceType,resourceId:`activation/${r.activationId}/${r.securityLevelId}`,resourceIdSegmentValues:{activationId:r.activationId,securityLevelId:r.securityLevelId}},i=p.fromOpts(t,Zc);return new e(i)}static parse(r){let t=p.fromString(r,Zc);return new e(t)}getVariables(){return{siteId:this.siteId,activationId:this.activationId,securityLevelId:this.securityLevelId}}},Dc={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"jira",resourceType:"security-workspace",resourceIdSlug:"activation/{activationId}/{providerAppId}/{securityWorkspaceId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,providerAppId:/[a-zA-Z0-9-._]+/,securityWorkspaceId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},Wc=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._activationId=e.resourceIdSegmentValues.activationId,this._providerAppId=e.resourceIdSegmentValues.providerAppId,this._securityWorkspaceId=e.resourceIdSegmentValues.securityWorkspaceId}get siteId(){return this._siteId}get activationId(){return this._activationId}get providerAppId(){return this._providerAppId}get securityWorkspaceId(){return this._securityWorkspaceId}static create(r){let t={qualifier:Dc.qualifier,platformQualifier:Dc.platformQualifier,cloudId:r.siteId,resourceOwner:Dc.resourceOwner,resourceType:Dc.resourceType,resourceId:`activation/${r.activationId}/${r.providerAppId}/${r.securityWorkspaceId}`,resourceIdSegmentValues:{activationId:r.activationId,providerAppId:r.providerAppId,securityWorkspaceId:r.securityWorkspaceId}},i=p.fromOpts(t,Dc);return new e(i)}static parse(r){let t=p.fromString(r,Dc);return new e(t)}getVariables(){return{siteId:this.siteId,activationId:this.activationId,providerAppId:this.providerAppId,securityWorkspaceId:this.securityWorkspaceId}}},Kc={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"jira",resourceType:"site",resourceIdSlug:"{siteId}",resourceIdSegmentFormats:{siteId:/[a-zA-Z0-9\-]+/}},Bc=class e extends T{constructor(e){super(e),this._siteId=e.resourceIdSegmentValues.siteId}get siteId(){return this._siteId}static create(r){let t={qualifier:Kc.qualifier,platformQualifier:Kc.platformQualifier,cloudId:void 0,resourceOwner:Kc.resourceOwner,resourceType:Kc.resourceType,resourceId:`${r.siteId}`,resourceIdSegmentValues:{siteId:r.siteId}},i=p.fromOpts(t,Kc);return new e(i)}static parse(r){let t=p.fromString(r,Kc);return new e(t)}getVariables(){return{siteId:this.siteId}}},Gc={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"jira",resourceType:"sprint",resourceIdSlug:"activation/{activationId}/{sprintId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,sprintId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},Jc=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._activationId=e.resourceIdSegmentValues.activationId,this._sprintId=e.resourceIdSegmentValues.sprintId}get siteId(){return this._siteId}get activationId(){return this._activationId}get sprintId(){return this._sprintId}static create(r){let t={qualifier:Gc.qualifier,platformQualifier:Gc.platformQualifier,cloudId:r.siteId,resourceOwner:Gc.resourceOwner,resourceType:Gc.resourceType,resourceId:`activation/${r.activationId}/${r.sprintId}`,resourceIdSegmentValues:{activationId:r.activationId,sprintId:r.sprintId}},i=p.fromOpts(t,Gc);return new e(i)}static parse(r){let t=p.fromString(r,Gc);return new e(t)}getVariables(){return{siteId:this.siteId,activationId:this.activationId,sprintId:this.sprintId}}},Hc={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"jira",resourceType:"user-broadcast-message",resourceIdSlug:"activation/{activationId}/{broadcastMessageId}/{userId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,broadcastMessageId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/,userId:/[a-zA-Z0-9_\-\:]{1,128}/}},Yc=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._activationId=e.resourceIdSegmentValues.activationId,this._broadcastMessageId=e.resourceIdSegmentValues.broadcastMessageId,this._userId=e.resourceIdSegmentValues.userId}get siteId(){return this._siteId}get activationId(){return this._activationId}get broadcastMessageId(){return this._broadcastMessageId}get userId(){return this._userId}static create(r){let t={qualifier:Hc.qualifier,platformQualifier:Hc.platformQualifier,cloudId:r.siteId,resourceOwner:Hc.resourceOwner,resourceType:Hc.resourceType,resourceId:`activation/${r.activationId}/${r.broadcastMessageId}/${r.userId}`,resourceIdSegmentValues:{activationId:r.activationId,broadcastMessageId:r.broadcastMessageId,userId:r.userId}},i=p.fromOpts(t,Hc);return new e(i)}static parse(r){let t=p.fromString(r,Hc);return new e(t)}getVariables(){return{siteId:this.siteId,activationId:this.activationId,broadcastMessageId:this.broadcastMessageId,userId:this.userId}}},Xc={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"jira",resourceType:"version",resourceIdSlug:"activation/{activationId}/{versionId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,versionId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},ed=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._activationId=e.resourceIdSegmentValues.activationId,this._versionId=e.resourceIdSegmentValues.versionId}get siteId(){return this._siteId}get activationId(){return this._activationId}get versionId(){return this._versionId}static create(r){let t={qualifier:Xc.qualifier,platformQualifier:Xc.platformQualifier,cloudId:r.siteId,resourceOwner:Xc.resourceOwner,resourceType:Xc.resourceType,resourceId:`activation/${r.activationId}/${r.versionId}`,resourceIdSegmentValues:{activationId:r.activationId,versionId:r.versionId}},i=p.fromOpts(t,Xc);return new e(i)}static parse(r){let t=p.fromString(r,Xc);return new e(t)}getVariables(){return{siteId:this.siteId,activationId:this.activationId,versionId:this.versionId}}},rd={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"jira",resourceType:"version-approver",resourceIdSlug:"activation/{activationId}/{versionId}/{approverId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,versionId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/,approverId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},td=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._activationId=e.resourceIdSegmentValues.activationId,this._versionId=e.resourceIdSegmentValues.versionId,this._approverId=e.resourceIdSegmentValues.approverId}get siteId(){return this._siteId}get activationId(){return this._activationId}get versionId(){return this._versionId}get approverId(){return this._approverId}static create(r){let t={qualifier:rd.qualifier,platformQualifier:rd.platformQualifier,cloudId:r.siteId,resourceOwner:rd.resourceOwner,resourceType:rd.resourceType,resourceId:`activation/${r.activationId}/${r.versionId}/${r.approverId}`,resourceIdSegmentValues:{activationId:r.activationId,versionId:r.versionId,approverId:r.approverId}},i=p.fromOpts(t,rd);return new e(i)}static parse(r){let t=p.fromString(r,rd);return new e(t)}getVariables(){return{siteId:this.siteId,activationId:this.activationId,versionId:this.versionId,approverId:this.approverId}}},id={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"jira",resourceType:"vulnerability",resourceIdSlug:"activation/{activationId}/{vulnerabilityId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,vulnerabilityId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},nd=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._activationId=e.resourceIdSegmentValues.activationId,this._vulnerabilityId=e.resourceIdSegmentValues.vulnerabilityId}get siteId(){return this._siteId}get activationId(){return this._activationId}get vulnerabilityId(){return this._vulnerabilityId}static create(r){let t={qualifier:id.qualifier,platformQualifier:id.platformQualifier,cloudId:r.siteId,resourceOwner:id.resourceOwner,resourceType:id.resourceType,resourceId:`activation/${r.activationId}/${r.vulnerabilityId}`,resourceIdSegmentValues:{activationId:r.activationId,vulnerabilityId:r.vulnerabilityId}},i=p.fromOpts(t,id);return new e(i)}static parse(r){let t=p.fromString(r,id);return new e(t)}getVariables(){return{siteId:this.siteId,activationId:this.activationId,vulnerabilityId:this.vulnerabilityId}}},od={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"jira",resourceType:"vulnerability-history",resourceIdSlug:"activation/{activationId}/{vulnerabilityId}/{updateSequenceNumber}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,vulnerabilityId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/,updateSequenceNumber:/\d+/}},ad=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._activationId=e.resourceIdSegmentValues.activationId,this._vulnerabilityId=e.resourceIdSegmentValues.vulnerabilityId,this._updateSequenceNumber=e.resourceIdSegmentValues.updateSequenceNumber}get siteId(){return this._siteId}get activationId(){return this._activationId}get vulnerabilityId(){return this._vulnerabilityId}get updateSequenceNumber(){return this._updateSequenceNumber}static create(r){let t={qualifier:od.qualifier,platformQualifier:od.platformQualifier,cloudId:r.siteId,resourceOwner:od.resourceOwner,resourceType:od.resourceType,resourceId:`activation/${r.activationId}/${r.vulnerabilityId}/${r.updateSequenceNumber}`,resourceIdSegmentValues:{activationId:r.activationId,vulnerabilityId:r.vulnerabilityId,updateSequenceNumber:r.updateSequenceNumber}},i=p.fromOpts(t,od);return new e(i)}static parse(r){let t=p.fromString(r,od);return new e(t)}getVariables(){return{siteId:this.siteId,activationId:this.activationId,vulnerabilityId:this.vulnerabilityId,updateSequenceNumber:this.updateSequenceNumber}}},sd={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"jira",resourceType:"workflow",resourceIdSlug:"activation/{activationId}/{workflowId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,workflowId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},ud=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._activationId=e.resourceIdSegmentValues.activationId,this._workflowId=e.resourceIdSegmentValues.workflowId}get siteId(){return this._siteId}get activationId(){return this._activationId}get workflowId(){return this._workflowId}static create(r){let t={qualifier:sd.qualifier,platformQualifier:sd.platformQualifier,cloudId:r.siteId,resourceOwner:sd.resourceOwner,resourceType:sd.resourceType,resourceId:`activation/${r.activationId}/${r.workflowId}`,resourceIdSegmentValues:{activationId:r.activationId,workflowId:r.workflowId}},i=p.fromOpts(t,sd);return new e(i)}static parse(r){let t=p.fromString(r,sd);return new e(t)}getVariables(){return{siteId:this.siteId,activationId:this.activationId,workflowId:this.workflowId}}},cd={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"jira",resourceType:"workflow-scheme",resourceIdSlug:"activation/{activationId}/{workflowSchemeId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,workflowSchemeId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},dd=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._activationId=e.resourceIdSegmentValues.activationId,this._workflowSchemeId=e.resourceIdSegmentValues.workflowSchemeId}get siteId(){return this._siteId}get activationId(){return this._activationId}get workflowSchemeId(){return this._workflowSchemeId}static create(r){let t={qualifier:cd.qualifier,platformQualifier:cd.platformQualifier,cloudId:r.siteId,resourceOwner:cd.resourceOwner,resourceType:cd.resourceType,resourceId:`activation/${r.activationId}/${r.workflowSchemeId}`,resourceIdSegmentValues:{activationId:r.activationId,workflowSchemeId:r.workflowSchemeId}},i=p.fromOpts(t,cd);return new e(i)}static parse(r){let t=p.fromString(r,cd);return new e(t)}getVariables(){return{siteId:this.siteId,activationId:this.activationId,workflowSchemeId:this.workflowSchemeId}}},ld={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"jira",resourceType:"worklog",resourceIdSlug:"{worklogId}",resourceIdSegmentFormats:{worklogId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},Id=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._worklogId=e.resourceIdSegmentValues.worklogId}get siteId(){return this._siteId}get worklogId(){return this._worklogId}static create(r){let t={qualifier:ld.qualifier,platformQualifier:ld.platformQualifier,cloudId:r.siteId,resourceOwner:ld.resourceOwner,resourceType:ld.resourceType,resourceId:`${r.worklogId}`,resourceIdSegmentValues:{worklogId:r.worklogId}},i=p.fromOpts(t,ld);return new e(i)}static parse(r){let t=p.fromString(r,ld);return new e(t)}getVariables(){return{siteId:this.siteId,worklogId:this.worklogId}}},pd={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"jira",resourceType:"workspace",resourceIdSlug:"{activationId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/}},fd=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._activationId=e.resourceIdSegmentValues.activationId}get siteId(){return this._siteId}get activationId(){return this._activationId}static create(r){let t={qualifier:pd.qualifier,platformQualifier:pd.platformQualifier,cloudId:r.siteId,resourceOwner:pd.resourceOwner,resourceType:pd.resourceType,resourceId:`${r.activationId}`,resourceIdSegmentValues:{activationId:r.activationId}},i=p.fromOpts(t,pd);return new e(i)}static parse(r){let t=p.fromString(r,pd);return new e(t)}getVariables(){return{siteId:this.siteId,activationId:this.activationId}}},md={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}$"),resourceOwner:"jira-align",resourceType:"epic",resourceIdSlug:"{epicId}",resourceIdSegmentFormats:{epicId:/[0-9]+/}},hd=class e extends T{constructor(e){super(e),this._instanceId=e.cloudId||"",this._epicId=e.resourceIdSegmentValues.epicId}get instanceId(){return this._instanceId}get epicId(){return this._epicId}static create(r){let t={qualifier:md.qualifier,platformQualifier:md.platformQualifier,cloudId:r.instanceId,resourceOwner:md.resourceOwner,resourceType:md.resourceType,resourceId:`${r.epicId}`,resourceIdSegmentValues:{epicId:r.epicId}},i=p.fromOpts(t,md);return new e(i)}static parse(r){let t=p.fromString(r,md);return new e(t)}getVariables(){return{instanceId:this.instanceId,epicId:this.epicId}}},gd={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"jira-align",resourceType:"instance",resourceIdSlug:"{instanceId}",resourceIdSegmentFormats:{instanceId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},vd=class e extends T{constructor(e){super(e),this._instanceId=e.resourceIdSegmentValues.instanceId}get instanceId(){return this._instanceId}static create(r){let t={qualifier:gd.qualifier,platformQualifier:gd.platformQualifier,cloudId:void 0,resourceOwner:gd.resourceOwner,resourceType:gd.resourceType,resourceId:`${r.instanceId}`,resourceIdSegmentValues:{instanceId:r.instanceId}},i=p.fromOpts(t,gd);return new e(i)}static parse(r){let t=p.fromString(r,gd);return new e(t)}getVariables(){return{instanceId:this.instanceId}}},yd={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"jira-core",resourceType:"role",resourceIdSlug:"{roleId}",resourceIdSegmentFormats:{roleId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},wd=class e extends T{constructor(e){super(e),this._roleId=e.resourceIdSegmentValues.roleId}get roleId(){return this._roleId}static create(r){let t={qualifier:yd.qualifier,platformQualifier:yd.platformQualifier,cloudId:void 0,resourceOwner:yd.resourceOwner,resourceType:yd.resourceType,resourceId:`${r.roleId}`,resourceIdSegmentValues:{roleId:r.roleId}},i=p.fromOpts(t,yd);return new e(i)}static parse(r){let t=p.fromString(r,yd);return new e(t)}getVariables(){return{roleId:this.roleId}}},Sd={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"jira-core",resourceType:"site",resourceIdSlug:"{siteId}",resourceIdSegmentFormats:{siteId:/[a-zA-Z0-9\-]+/}},_d=class e extends T{constructor(e){super(e),this._siteId=e.resourceIdSegmentValues.siteId}get siteId(){return this._siteId}static create(r){let t={qualifier:Sd.qualifier,platformQualifier:Sd.platformQualifier,cloudId:void 0,resourceOwner:Sd.resourceOwner,resourceType:Sd.resourceType,resourceId:`${r.siteId}`,resourceIdSegmentValues:{siteId:r.siteId}},i=p.fromOpts(t,Sd);return new e(i)}static parse(r){let t=p.fromString(r,Sd);return new e(t)}getVariables(){return{siteId:this.siteId}}},bd={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"jira-servicedesk",resourceType:"approval",resourceIdSlug:"activation/{activationId}/{approvalId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,approvalId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},Td=class e extends T{constructor(e){super(e),this._activationId=e.resourceIdSegmentValues.activationId,this._approvalId=e.resourceIdSegmentValues.approvalId}get activationId(){return this._activationId}get approvalId(){return this._approvalId}static create(r){let t={qualifier:bd.qualifier,platformQualifier:bd.platformQualifier,cloudId:void 0,resourceOwner:bd.resourceOwner,resourceType:bd.resourceType,resourceId:`activation/${r.activationId}/${r.approvalId}`,resourceIdSegmentValues:{activationId:r.activationId,approvalId:r.approvalId}},i=p.fromOpts(t,bd);return new e(i)}static parse(r){let t=p.fromString(r,bd);return new e(t)}getVariables(){return{activationId:this.activationId,approvalId:this.approvalId}}},Od={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"jira-servicedesk",resourceType:"calendar-event",resourceIdSlug:"activation/{activationId}/{calendarEventId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,calendarEventId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},kd=class e extends T{constructor(e){super(e),this._activationId=e.resourceIdSegmentValues.activationId,this._calendarEventId=e.resourceIdSegmentValues.calendarEventId}get activationId(){return this._activationId}get calendarEventId(){return this._calendarEventId}static create(r){let t={qualifier:Od.qualifier,platformQualifier:Od.platformQualifier,cloudId:void 0,resourceOwner:Od.resourceOwner,resourceType:Od.resourceType,resourceId:`activation/${r.activationId}/${r.calendarEventId}`,resourceIdSegmentValues:{activationId:r.activationId,calendarEventId:r.calendarEventId}},i=p.fromOpts(t,Od);return new e(i)}static parse(r){let t=p.fromString(r,Od);return new e(t)}getVariables(){return{activationId:this.activationId,calendarEventId:this.calendarEventId}}},Ad={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"jira-servicedesk",resourceType:"canned-response",resourceIdSlug:"activation/{activationId}/{cannedResponseId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,cannedResponseId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},qd=class e extends T{constructor(e){super(e),this._activationId=e.resourceIdSegmentValues.activationId,this._cannedResponseId=e.resourceIdSegmentValues.cannedResponseId}get activationId(){return this._activationId}get cannedResponseId(){return this._cannedResponseId}static create(r){let t={qualifier:Ad.qualifier,platformQualifier:Ad.platformQualifier,cloudId:void 0,resourceOwner:Ad.resourceOwner,resourceType:Ad.resourceType,resourceId:`activation/${r.activationId}/${r.cannedResponseId}`,resourceIdSegmentValues:{activationId:r.activationId,cannedResponseId:r.cannedResponseId}},i=p.fromOpts(t,Ad);return new e(i)}static parse(r){let t=p.fromString(r,Ad);return new e(t)}getVariables(){return{activationId:this.activationId,cannedResponseId:this.cannedResponseId}}},Vd={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"jira-servicedesk",resourceType:"organization",resourceIdSlug:"activation/{activationId}/{organizationId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,organizationId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},Ed=class e extends T{constructor(e){super(e),this._activationId=e.resourceIdSegmentValues.activationId,this._organizationId=e.resourceIdSegmentValues.organizationId}get activationId(){return this._activationId}get organizationId(){return this._organizationId}static create(r){let t={qualifier:Vd.qualifier,platformQualifier:Vd.platformQualifier,cloudId:void 0,resourceOwner:Vd.resourceOwner,resourceType:Vd.resourceType,resourceId:`activation/${r.activationId}/${r.organizationId}`,resourceIdSegmentValues:{activationId:r.activationId,organizationId:r.organizationId}},i=p.fromOpts(t,Vd);return new e(i)}static parse(r){let t=p.fromString(r,Vd);return new e(t)}getVariables(){return{activationId:this.activationId,organizationId:this.organizationId}}},xd={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"jira-servicedesk",resourceType:"queue",resourceIdSlug:"activation/{activationId}/{queueId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,queueId:/[0-9]+/}},Rd=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._activationId=e.resourceIdSegmentValues.activationId,this._queueId=e.resourceIdSegmentValues.queueId}get siteId(){return this._siteId}get activationId(){return this._activationId}get queueId(){return this._queueId}static create(r){let t={qualifier:xd.qualifier,platformQualifier:xd.platformQualifier,cloudId:r.siteId,resourceOwner:xd.resourceOwner,resourceType:xd.resourceType,resourceId:`activation/${r.activationId}/${r.queueId}`,resourceIdSegmentValues:{activationId:r.activationId,queueId:r.queueId}},i=p.fromOpts(t,xd);return new e(i)}static parse(r){let t=p.fromString(r,xd);return new e(t)}getVariables(){return{siteId:this.siteId,activationId:this.activationId,queueId:this.queueId}}},$d={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"jira-servicedesk",resourceType:"request-type",resourceIdSlug:"activation/{activationId}/{requestTypeId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,requestTypeId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},Qd=class e extends T{constructor(e){super(e),this._activationId=e.resourceIdSegmentValues.activationId,this._requestTypeId=e.resourceIdSegmentValues.requestTypeId}get activationId(){return this._activationId}get requestTypeId(){return this._requestTypeId}static create(r){let t={qualifier:$d.qualifier,platformQualifier:$d.platformQualifier,cloudId:void 0,resourceOwner:$d.resourceOwner,resourceType:$d.resourceType,resourceId:`activation/${r.activationId}/${r.requestTypeId}`,resourceIdSegmentValues:{activationId:r.activationId,requestTypeId:r.requestTypeId}},i=p.fromOpts(t,$d);return new e(i)}static parse(r){let t=p.fromString(r,$d);return new e(t)}getVariables(){return{activationId:this.activationId,requestTypeId:this.requestTypeId}}},Nd={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"jira-servicedesk",resourceType:"role",resourceIdSlug:"{roleId}",resourceIdSegmentFormats:{roleId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},Cd=class e extends T{constructor(e){super(e),this._roleId=e.resourceIdSegmentValues.roleId}get roleId(){return this._roleId}static create(r){let t={qualifier:Nd.qualifier,platformQualifier:Nd.platformQualifier,cloudId:void 0,resourceOwner:Nd.resourceOwner,resourceType:Nd.resourceType,resourceId:`${r.roleId}`,resourceIdSegmentValues:{roleId:r.roleId}},i=p.fromOpts(t,Nd);return new e(i)}static parse(r){let t=p.fromString(r,Nd);return new e(t)}getVariables(){return{roleId:this.roleId}}},Fd={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"jira-servicedesk",resourceType:"site",resourceIdSlug:"{siteId}",resourceIdSegmentFormats:{siteId:/[a-zA-Z0-9\-]+/}},zd=class e extends T{constructor(e){super(e),this._siteId=e.resourceIdSegmentValues.siteId}get siteId(){return this._siteId}static create(r){let t={qualifier:Fd.qualifier,platformQualifier:Fd.platformQualifier,cloudId:void 0,resourceOwner:Fd.resourceOwner,resourceType:Fd.resourceType,resourceId:`${r.siteId}`,resourceIdSegmentValues:{siteId:r.siteId}},i=p.fromOpts(t,Fd);return new e(i)}static parse(r){let t=p.fromString(r,Fd);return new e(t)}getVariables(){return{siteId:this.siteId}}},Ld={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"jira-servicedesk",resourceType:"sla",resourceIdSlug:"activation/{activationId}/{slaId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,slaId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},Md=class e extends T{constructor(e){super(e),this._activationId=e.resourceIdSegmentValues.activationId,this._slaId=e.resourceIdSegmentValues.slaId}get activationId(){return this._activationId}get slaId(){return this._slaId}static create(r){let t={qualifier:Ld.qualifier,platformQualifier:Ld.platformQualifier,cloudId:void 0,resourceOwner:Ld.resourceOwner,resourceType:Ld.resourceType,resourceId:`activation/${r.activationId}/${r.slaId}`,resourceIdSegmentValues:{activationId:r.activationId,slaId:r.slaId}},i=p.fromOpts(t,Ld);return new e(i)}static parse(r){let t=p.fromString(r,Ld);return new e(t)}getVariables(){return{activationId:this.activationId,slaId:this.slaId}}},Pd={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"jira-software",resourceType:"board",resourceIdSlug:"{boardId}",resourceIdSegmentFormats:{boardId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},jd=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._boardId=e.resourceIdSegmentValues.boardId}get siteId(){return this._siteId}get boardId(){return this._boardId}static create(r){let t={qualifier:Pd.qualifier,platformQualifier:Pd.platformQualifier,cloudId:r.siteId,resourceOwner:Pd.resourceOwner,resourceType:Pd.resourceType,resourceId:`${r.boardId}`,resourceIdSegmentValues:{boardId:r.boardId}},i=p.fromOpts(t,Pd);return new e(i)}static parse(r){let t=p.fromString(r,Pd);return new e(t)}getVariables(){return{siteId:this.siteId,boardId:this.boardId}}},Zd={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"jira-software",resourceType:"board-feature",resourceIdSlug:"activation/{activationId}/{boardId}/featureKey/{featureKey}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,boardId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/,featureKey:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},Ud=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._activationId=e.resourceIdSegmentValues.activationId,this._boardId=e.resourceIdSegmentValues.boardId,this._featureKey=e.resourceIdSegmentValues.featureKey}get siteId(){return this._siteId}get activationId(){return this._activationId}get boardId(){return this._boardId}get featureKey(){return this._featureKey}static create(r){let t={qualifier:Zd.qualifier,platformQualifier:Zd.platformQualifier,cloudId:r.siteId,resourceOwner:Zd.resourceOwner,resourceType:Zd.resourceType,resourceId:`activation/${r.activationId}/${r.boardId}/featureKey/${r.featureKey}`,resourceIdSegmentValues:{activationId:r.activationId,boardId:r.boardId,featureKey:r.featureKey}},i=p.fromOpts(t,Zd);return new e(i)}static parse(r){let t=p.fromString(r,Zd);return new e(t)}getVariables(){return{siteId:this.siteId,activationId:this.activationId,boardId:this.boardId,featureKey:this.featureKey}}},Dd={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"jira-software",resourceType:"board-issue-list",resourceIdSlug:"activation/{activationId}/{boardId}/{issueListId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,boardId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/,issueListId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},Wd=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._activationId=e.resourceIdSegmentValues.activationId,this._boardId=e.resourceIdSegmentValues.boardId,this._issueListId=e.resourceIdSegmentValues.issueListId}get siteId(){return this._siteId}get activationId(){return this._activationId}get boardId(){return this._boardId}get issueListId(){return this._issueListId}static create(r){let t={qualifier:Dd.qualifier,platformQualifier:Dd.platformQualifier,cloudId:r.siteId,resourceOwner:Dd.resourceOwner,resourceType:Dd.resourceType,resourceId:`activation/${r.activationId}/${r.boardId}/${r.issueListId}`,resourceIdSegmentValues:{activationId:r.activationId,boardId:r.boardId,issueListId:r.issueListId}},i=p.fromOpts(t,Dd);return new e(i)}static parse(r){let t=p.fromString(r,Dd);return new e(t)}getVariables(){return{siteId:this.siteId,activationId:this.activationId,boardId:this.boardId,issueListId:this.issueListId}}},Kd={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"jira-software",resourceType:"card",resourceIdSlug:"activation/{activationId}/{boardId}/{cardId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,boardId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/,cardId:/[0-9]+/}},Bd=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._activationId=e.resourceIdSegmentValues.activationId,this._boardId=e.resourceIdSegmentValues.boardId,this._cardId=e.resourceIdSegmentValues.cardId}get siteId(){return this._siteId}get activationId(){return this._activationId}get boardId(){return this._boardId}get cardId(){return this._cardId}static create(r){let t={qualifier:Kd.qualifier,platformQualifier:Kd.platformQualifier,cloudId:r.siteId,resourceOwner:Kd.resourceOwner,resourceType:Kd.resourceType,resourceId:`activation/${r.activationId}/${r.boardId}/${r.cardId}`,resourceIdSegmentValues:{activationId:r.activationId,boardId:r.boardId,cardId:r.cardId}},i=p.fromOpts(t,Kd);return new e(i)}static parse(r){let t=p.fromString(r,Kd);return new e(t)}getVariables(){return{siteId:this.siteId,activationId:this.activationId,boardId:this.boardId,cardId:this.cardId}}},Gd={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"jira-software",resourceType:"card-color",resourceIdSlug:"activation/{activationId}/{boardId}/{cardColorId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,boardId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/,cardColorId:/[0-9]+/}},Jd=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._activationId=e.resourceIdSegmentValues.activationId,this._boardId=e.resourceIdSegmentValues.boardId,this._cardColorId=e.resourceIdSegmentValues.cardColorId}get siteId(){return this._siteId}get activationId(){return this._activationId}get boardId(){return this._boardId}get cardColorId(){return this._cardColorId}static create(r){let t={qualifier:Gd.qualifier,platformQualifier:Gd.platformQualifier,cloudId:r.siteId,resourceOwner:Gd.resourceOwner,resourceType:Gd.resourceType,resourceId:`activation/${r.activationId}/${r.boardId}/${r.cardColorId}`,resourceIdSegmentValues:{activationId:r.activationId,boardId:r.boardId,cardColorId:r.cardColorId}},i=p.fromOpts(t,Gd);return new e(i)}static parse(r){let t=p.fromString(r,Gd);return new e(t)}getVariables(){return{siteId:this.siteId,activationId:this.activationId,boardId:this.boardId,cardColorId:this.cardColorId}}},Hd={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"jira-software",resourceType:"card-layout",resourceIdSlug:"activation/{activationId}/{boardId}/{cardLayoutId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,boardId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/,cardLayoutId:/[a-zA-Z0-9_]+/}},Yd=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._activationId=e.resourceIdSegmentValues.activationId,this._boardId=e.resourceIdSegmentValues.boardId,this._cardLayoutId=e.resourceIdSegmentValues.cardLayoutId}get siteId(){return this._siteId}get activationId(){return this._activationId}get boardId(){return this._boardId}get cardLayoutId(){return this._cardLayoutId}static create(r){let t={qualifier:Hd.qualifier,platformQualifier:Hd.platformQualifier,cloudId:r.siteId,resourceOwner:Hd.resourceOwner,resourceType:Hd.resourceType,resourceId:`activation/${r.activationId}/${r.boardId}/${r.cardLayoutId}`,resourceIdSegmentValues:{activationId:r.activationId,boardId:r.boardId,cardLayoutId:r.cardLayoutId}},i=p.fromOpts(t,Hd);return new e(i)}static parse(r){let t=p.fromString(r,Hd);return new e(t)}getVariables(){return{siteId:this.siteId,activationId:this.activationId,boardId:this.boardId,cardLayoutId:this.cardLayoutId}}},Xd={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"jira-software",resourceType:"card-parent",resourceIdSlug:"activation/{activationId}/{boardId}/{cardParentId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,boardId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/,cardParentId:/[0-9]+/}},el=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._activationId=e.resourceIdSegmentValues.activationId,this._boardId=e.resourceIdSegmentValues.boardId,this._cardParentId=e.resourceIdSegmentValues.cardParentId}get siteId(){return this._siteId}get activationId(){return this._activationId}get boardId(){return this._boardId}get cardParentId(){return this._cardParentId}static create(r){let t={qualifier:Xd.qualifier,platformQualifier:Xd.platformQualifier,cloudId:r.siteId,resourceOwner:Xd.resourceOwner,resourceType:Xd.resourceType,resourceId:`activation/${r.activationId}/${r.boardId}/${r.cardParentId}`,resourceIdSegmentValues:{activationId:r.activationId,boardId:r.boardId,cardParentId:r.cardParentId}},i=p.fromOpts(t,Xd);return new e(i)}static parse(r){let t=p.fromString(r,Xd);return new e(t)}getVariables(){return{siteId:this.siteId,activationId:this.activationId,boardId:this.boardId,cardParentId:this.cardParentId}}},rl={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"jira-software",resourceType:"column",resourceIdSlug:"activation/{activationId}/{boardId}/{columnId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,boardId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/,columnId:/[0-9]+/}},tl=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._activationId=e.resourceIdSegmentValues.activationId,this._boardId=e.resourceIdSegmentValues.boardId,this._columnId=e.resourceIdSegmentValues.columnId}get siteId(){return this._siteId}get activationId(){return this._activationId}get boardId(){return this._boardId}get columnId(){return this._columnId}static create(r){let t={qualifier:rl.qualifier,platformQualifier:rl.platformQualifier,cloudId:r.siteId,resourceOwner:rl.resourceOwner,resourceType:rl.resourceType,resourceId:`activation/${r.activationId}/${r.boardId}/${r.columnId}`,resourceIdSegmentValues:{activationId:r.activationId,boardId:r.boardId,columnId:r.columnId}},i=p.fromOpts(t,rl);return new e(i)}static parse(r){let t=p.fromString(r,rl);return new e(t)}getVariables(){return{siteId:this.siteId,activationId:this.activationId,boardId:this.boardId,columnId:this.columnId}}},il={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"jira-software",resourceType:"custom-filter",resourceIdSlug:"activation/{activationId}/{boardId}/{customFilterId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,boardId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/,customFilterId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},nl=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._activationId=e.resourceIdSegmentValues.activationId,this._boardId=e.resourceIdSegmentValues.boardId,this._customFilterId=e.resourceIdSegmentValues.customFilterId}get siteId(){return this._siteId}get activationId(){return this._activationId}get boardId(){return this._boardId}get customFilterId(){return this._customFilterId}static create(r){let t={qualifier:il.qualifier,platformQualifier:il.platformQualifier,cloudId:r.siteId,resourceOwner:il.resourceOwner,resourceType:il.resourceType,resourceId:`activation/${r.activationId}/${r.boardId}/${r.customFilterId}`,resourceIdSegmentValues:{activationId:r.activationId,boardId:r.boardId,customFilterId:r.customFilterId}},i=p.fromOpts(t,il);return new e(i)}static parse(r){let t=p.fromString(r,il);return new e(t)}getVariables(){return{siteId:this.siteId,activationId:this.activationId,boardId:this.boardId,customFilterId:this.customFilterId}}},ol={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"jira-software",resourceType:"role",resourceIdSlug:"{roleId}",resourceIdSegmentFormats:{roleId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},al=class e extends T{constructor(e){super(e),this._roleId=e.resourceIdSegmentValues.roleId}get roleId(){return this._roleId}static create(r){let t={qualifier:ol.qualifier,platformQualifier:ol.platformQualifier,cloudId:void 0,resourceOwner:ol.resourceOwner,resourceType:ol.resourceType,resourceId:`${r.roleId}`,resourceIdSegmentValues:{roleId:r.roleId}},i=p.fromOpts(t,ol);return new e(i)}static parse(r){let t=p.fromString(r,ol);return new e(t)}getVariables(){return{roleId:this.roleId}}},sl={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"jira-software",resourceType:"site",resourceIdSlug:"{siteId}",resourceIdSegmentFormats:{siteId:/[a-zA-Z0-9\-]+/}},ul=class e extends T{constructor(e){super(e),this._siteId=e.resourceIdSegmentValues.siteId}get siteId(){return this._siteId}static create(r){let t={qualifier:sl.qualifier,platformQualifier:sl.platformQualifier,cloudId:void 0,resourceOwner:sl.resourceOwner,resourceType:sl.resourceType,resourceId:`${r.siteId}`,resourceIdSegmentValues:{siteId:r.siteId}},i=p.fromOpts(t,sl);return new e(i)}static parse(r){let t=p.fromString(r,sl);return new e(t)}getVariables(){return{siteId:this.siteId}}},cl={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"jira-software",resourceType:"swimlane",resourceIdSlug:"activation/{activationId}/{boardId}/{swimlaneId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,boardId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/,swimlaneId:/[0-9]+/}},dl=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._activationId=e.resourceIdSegmentValues.activationId,this._boardId=e.resourceIdSegmentValues.boardId,this._swimlaneId=e.resourceIdSegmentValues.swimlaneId}get siteId(){return this._siteId}get activationId(){return this._activationId}get boardId(){return this._boardId}get swimlaneId(){return this._swimlaneId}static create(r){let t={qualifier:cl.qualifier,platformQualifier:cl.platformQualifier,cloudId:r.siteId,resourceOwner:cl.resourceOwner,resourceType:cl.resourceType,resourceId:`activation/${r.activationId}/${r.boardId}/${r.swimlaneId}`,resourceIdSegmentValues:{activationId:r.activationId,boardId:r.boardId,swimlaneId:r.swimlaneId}},i=p.fromOpts(t,cl);return new e(i)}static parse(r){let t=p.fromString(r,cl);return new e(t)}getVariables(){return{siteId:this.siteId,activationId:this.activationId,boardId:this.boardId,swimlaneId:this.swimlaneId}}},ll={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"jira-software",resourceType:"user-board-config",resourceIdSlug:"activation/{activationId}/{boardId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,boardId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},Il=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._activationId=e.resourceIdSegmentValues.activationId,this._boardId=e.resourceIdSegmentValues.boardId}get siteId(){return this._siteId}get activationId(){return this._activationId}get boardId(){return this._boardId}static create(r){let t={qualifier:ll.qualifier,platformQualifier:ll.platformQualifier,cloudId:r.siteId,resourceOwner:ll.resourceOwner,resourceType:ll.resourceType,resourceId:`activation/${r.activationId}/${r.boardId}`,resourceIdSegmentValues:{activationId:r.activationId,boardId:r.boardId}},i=p.fromOpts(t,ll);return new e(i)}static parse(r){let t=p.fromString(r,ll);return new e(t)}getVariables(){return{siteId:this.siteId,activationId:this.activationId,boardId:this.boardId}}},pl={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"jira-software",resourceType:"view-config",resourceIdSlug:"activation/{activationId}/{boardId}/{viewType}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,boardId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/,viewType:/(board|backlog|timeline)/}},fl=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._activationId=e.resourceIdSegmentValues.activationId,this._boardId=e.resourceIdSegmentValues.boardId,this._viewType=e.resourceIdSegmentValues.viewType}get siteId(){return this._siteId}get activationId(){return this._activationId}get boardId(){return this._boardId}get viewType(){return this._viewType}static create(r){let t={qualifier:pl.qualifier,platformQualifier:pl.platformQualifier,cloudId:r.siteId,resourceOwner:pl.resourceOwner,resourceType:pl.resourceType,resourceId:`activation/${r.activationId}/${r.boardId}/${r.viewType}`,resourceIdSegmentValues:{activationId:r.activationId,boardId:r.boardId,viewType:r.viewType}},i=p.fromOpts(t,pl);return new e(i)}static parse(r){let t=p.fromString(r,pl);return new e(t)}getVariables(){return{siteId:this.siteId,activationId:this.activationId,boardId:this.boardId,viewType:this.viewType}}},ml={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"linking-platform",resourceType:"datasource",resourceIdSlug:"{datasourceId}",resourceIdSegmentFormats:{datasourceId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},hl=class e extends T{constructor(e){super(e),this._datasourceId=e.resourceIdSegmentValues.datasourceId}get datasourceId(){return this._datasourceId}static create(r){let t={qualifier:ml.qualifier,platformQualifier:ml.platformQualifier,cloudId:void 0,resourceOwner:ml.resourceOwner,resourceType:ml.resourceType,resourceId:`${r.datasourceId}`,resourceIdSegmentValues:{datasourceId:r.datasourceId}},i=p.fromOpts(t,ml);return new e(i)}static parse(r){let t=p.fromString(r,ml);return new e(t)}getVariables(){return{datasourceId:this.datasourceId}}},gl={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"loom",resourceType:"site",resourceIdSlug:"{siteId}",resourceIdSegmentFormats:{siteId:/[a-zA-Z0-9\-]+/}},vl=class e extends T{constructor(e){super(e),this._siteId=e.resourceIdSegmentValues.siteId}get siteId(){return this._siteId}static create(r){let t={qualifier:gl.qualifier,platformQualifier:gl.platformQualifier,cloudId:void 0,resourceOwner:gl.resourceOwner,resourceType:gl.resourceType,resourceId:`${r.siteId}`,resourceIdSegmentValues:{siteId:r.siteId}},i=p.fromOpts(t,gl);return new e(i)}static parse(r){let t=p.fromString(r,gl);return new e(t)}getVariables(){return{siteId:this.siteId}}},yl={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"maker-space",resourceType:"group",resourceIdSlug:"{groupId}",resourceIdSegmentFormats:{groupId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},wl=class e extends T{constructor(e){super(e),this._groupId=e.resourceIdSegmentValues.groupId}get groupId(){return this._groupId}static create(r){let t={qualifier:yl.qualifier,platformQualifier:yl.platformQualifier,cloudId:void 0,resourceOwner:yl.resourceOwner,resourceType:yl.resourceType,resourceId:`${r.groupId}`,resourceIdSegmentValues:{groupId:r.groupId}},i=p.fromOpts(t,yl);return new e(i)}static parse(r){let t=p.fromString(r,yl);return new e(t)}getVariables(){return{groupId:this.groupId}}},Sl={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"mapi",resourceType:"role",resourceIdSlug:"scope/{roleTypeId}",resourceIdSegmentFormats:{roleTypeId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},_l=class e extends T{constructor(e){super(e),this._roleTypeId=e.resourceIdSegmentValues.roleTypeId}get roleTypeId(){return this._roleTypeId}static create(r){let t={qualifier:Sl.qualifier,platformQualifier:Sl.platformQualifier,cloudId:void 0,resourceOwner:Sl.resourceOwner,resourceType:Sl.resourceType,resourceId:`scope/${r.roleTypeId}`,resourceIdSegmentValues:{roleTypeId:r.roleTypeId}},i=p.fromOpts(t,Sl);return new e(i)}static parse(r){let t=p.fromString(r,Sl);return new e(t)}getVariables(){return{roleTypeId:this.roleTypeId}}},bl={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"marketing",resourceType:"customer-domain",resourceIdSlug:"{domainBase64}",resourceIdSegmentFormats:{domainBase64:/[a-zA-Z0-9=]+={0,1}/}},Tl=class e extends T{constructor(e){super(e),this._domainBase64=e.resourceIdSegmentValues.domainBase64}get domainBase64(){return this._domainBase64}static create(r){let t={qualifier:bl.qualifier,platformQualifier:bl.platformQualifier,cloudId:void 0,resourceOwner:bl.resourceOwner,resourceType:bl.resourceType,resourceId:`${r.domainBase64}`,resourceIdSegmentValues:{domainBase64:r.domainBase64}},i=p.fromOpts(t,bl);return new e(i)}static parse(r){let t=p.fromString(r,bl);return new e(t)}getVariables(){return{domainBase64:this.domainBase64}}},Ol={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"marketplace",resourceType:"team",resourceIdSlug:"{teamId}",resourceIdSegmentFormats:{teamId:/[a-zA-Z0-9.\-_~]+/}},kl=class e extends T{constructor(e){super(e),this._teamId=e.resourceIdSegmentValues.teamId}get teamId(){return this._teamId}static create(r){let t={qualifier:Ol.qualifier,platformQualifier:Ol.platformQualifier,cloudId:void 0,resourceOwner:Ol.resourceOwner,resourceType:Ol.resourceType,resourceId:`${r.teamId}`,resourceIdSegmentValues:{teamId:r.teamId}},i=p.fromOpts(t,Ol);return new e(i)}static parse(r){let t=p.fromString(r,Ol);return new e(t)}getVariables(){return{teamId:this.teamId}}},Al={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"measurement",resourceType:"email-uuid",resourceIdSlug:"{emailId}",resourceIdSegmentFormats:{emailId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},ql=class e extends T{constructor(e){super(e),this._emailId=e.resourceIdSegmentValues.emailId}get emailId(){return this._emailId}static create(r){let t={qualifier:Al.qualifier,platformQualifier:Al.platformQualifier,cloudId:void 0,resourceOwner:Al.resourceOwner,resourceType:Al.resourceType,resourceId:`${r.emailId}`,resourceIdSegmentValues:{emailId:r.emailId}},i=p.fromOpts(t,Al);return new e(i)}static parse(r){let t=p.fromString(r,Al);return new e(t)}getVariables(){return{emailId:this.emailId}}},Vl={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"measurement",resourceType:"site-user",resourceIdSlug:"{siteId}/{aaId}",resourceIdSegmentFormats:{siteId:/[a-zA-Z0-9\-]+/,aaId:/[a-zA-Z0-9_\-\:]{1,128}/}},El=class e extends T{constructor(e){super(e),this._siteId=e.resourceIdSegmentValues.siteId,this._aaId=e.resourceIdSegmentValues.aaId}get siteId(){return this._siteId}get aaId(){return this._aaId}static create(r){let t={qualifier:Vl.qualifier,platformQualifier:Vl.platformQualifier,cloudId:void 0,resourceOwner:Vl.resourceOwner,resourceType:Vl.resourceType,resourceId:`${r.siteId}/${r.aaId}`,resourceIdSegmentValues:{siteId:r.siteId,aaId:r.aaId}},i=p.fromOpts(t,Vl);return new e(i)}static parse(r){let t=p.fromString(r,Vl);return new e(t)}getVariables(){return{siteId:this.siteId,aaId:this.aaId}}},xl={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"measurement",resourceType:"user",resourceIdSlug:"ff-client-anonymous/{anonUserId}",resourceIdSegmentFormats:{anonUserId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},Rl=class e extends T{constructor(e){super(e),this._anonUserId=e.resourceIdSegmentValues.anonUserId}get anonUserId(){return this._anonUserId}static create(r){let t={qualifier:xl.qualifier,platformQualifier:xl.platformQualifier,cloudId:void 0,resourceOwner:xl.resourceOwner,resourceType:xl.resourceType,resourceId:`ff-client-anonymous/${r.anonUserId}`,resourceIdSegmentValues:{anonUserId:r.anonUserId}},i=p.fromOpts(t,xl);return new e(i)}static parse(r){let t=p.fromString(r,xl);return new e(t)}getVariables(){return{anonUserId:this.anonUserId}}},$l={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"media",resourceType:"file",resourceIdSlug:"{fileId}",resourceIdSegmentFormats:{fileId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},Ql=class e extends T{constructor(e){super(e),this._fileId=e.resourceIdSegmentValues.fileId}get fileId(){return this._fileId}static create(r){let t={qualifier:$l.qualifier,platformQualifier:$l.platformQualifier,cloudId:void 0,resourceOwner:$l.resourceOwner,resourceType:$l.resourceType,resourceId:`${r.fileId}`,resourceIdSegmentValues:{fileId:r.fileId}},i=p.fromOpts(t,$l);return new e(i)}static parse(r){let t=p.fromString(r,$l);return new e(t)}getVariables(){return{fileId:this.fileId}}},Nl={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"mercury",resourceType:"comment",resourceIdSlug:"workspace/{workspaceId}/{commentUuid}",resourceIdSegmentFormats:{workspaceId:/[a-zA-Z0-9\-]+/,commentUuid:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},Cl=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._workspaceId=e.resourceIdSegmentValues.workspaceId,this._commentUuid=e.resourceIdSegmentValues.commentUuid}get siteId(){return this._siteId}get workspaceId(){return this._workspaceId}get commentUuid(){return this._commentUuid}static create(r){let t={qualifier:Nl.qualifier,platformQualifier:Nl.platformQualifier,cloudId:r.siteId,resourceOwner:Nl.resourceOwner,resourceType:Nl.resourceType,resourceId:`workspace/${r.workspaceId}/${r.commentUuid}`,resourceIdSegmentValues:{workspaceId:r.workspaceId,commentUuid:r.commentUuid}},i=p.fromOpts(t,Nl);return new e(i)}static parse(r){let t=p.fromString(r,Nl);return new e(t)}getVariables(){return{siteId:this.siteId,workspaceId:this.workspaceId,commentUuid:this.commentUuid}}},Fl={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"mercury",resourceType:"focus-area",resourceIdSlug:"workspace/{workspaceId}/{focusAreaId}",resourceIdSegmentFormats:{workspaceId:/[a-zA-Z0-9\-]+/,focusAreaId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},zl=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._workspaceId=e.resourceIdSegmentValues.workspaceId,this._focusAreaId=e.resourceIdSegmentValues.focusAreaId}get siteId(){return this._siteId}get workspaceId(){return this._workspaceId}get focusAreaId(){return this._focusAreaId}static create(r){let t={qualifier:Fl.qualifier,platformQualifier:Fl.platformQualifier,cloudId:r.siteId,resourceOwner:Fl.resourceOwner,resourceType:Fl.resourceType,resourceId:`workspace/${r.workspaceId}/${r.focusAreaId}`,resourceIdSegmentValues:{workspaceId:r.workspaceId,focusAreaId:r.focusAreaId}},i=p.fromOpts(t,Fl);return new e(i)}static parse(r){let t=p.fromString(r,Fl);return new e(t)}getVariables(){return{siteId:this.siteId,workspaceId:this.workspaceId,focusAreaId:this.focusAreaId}}},Ll={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"mercury",resourceType:"focus-area-status-update",resourceIdSlug:"workspace/{workspaceId}/{focusAreaStatusUpdateId}",resourceIdSegmentFormats:{workspaceId:/[a-zA-Z0-9\-]+/,focusAreaStatusUpdateId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},Ml=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._workspaceId=e.resourceIdSegmentValues.workspaceId,this._focusAreaStatusUpdateId=e.resourceIdSegmentValues.focusAreaStatusUpdateId}get siteId(){return this._siteId}get workspaceId(){return this._workspaceId}get focusAreaStatusUpdateId(){return this._focusAreaStatusUpdateId}static create(r){let t={qualifier:Ll.qualifier,platformQualifier:Ll.platformQualifier,cloudId:r.siteId,resourceOwner:Ll.resourceOwner,resourceType:Ll.resourceType,resourceId:`workspace/${r.workspaceId}/${r.focusAreaStatusUpdateId}`,resourceIdSegmentValues:{workspaceId:r.workspaceId,focusAreaStatusUpdateId:r.focusAreaStatusUpdateId}},i=p.fromOpts(t,Ll);return new e(i)}static parse(r){let t=p.fromString(r,Ll);return new e(t)}getVariables(){return{siteId:this.siteId,workspaceId:this.workspaceId,focusAreaStatusUpdateId:this.focusAreaStatusUpdateId}}},Pl={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"mercury",resourceType:"program",resourceIdSlug:"workspace/{workspaceId}/{programId}",resourceIdSegmentFormats:{workspaceId:/[a-zA-Z0-9\-]+/,programId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},jl=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._workspaceId=e.resourceIdSegmentValues.workspaceId,this._programId=e.resourceIdSegmentValues.programId}get siteId(){return this._siteId}get workspaceId(){return this._workspaceId}get programId(){return this._programId}static create(r){let t={qualifier:Pl.qualifier,platformQualifier:Pl.platformQualifier,cloudId:r.siteId,resourceOwner:Pl.resourceOwner,resourceType:Pl.resourceType,resourceId:`workspace/${r.workspaceId}/${r.programId}`,resourceIdSegmentValues:{workspaceId:r.workspaceId,programId:r.programId}},i=p.fromOpts(t,Pl);return new e(i)}static parse(r){let t=p.fromString(r,Pl);return new e(t)}getVariables(){return{siteId:this.siteId,workspaceId:this.workspaceId,programId:this.programId}}},Zl={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"mercury",resourceType:"program-status-update",resourceIdSlug:"workspace/{workspaceId}/{programStatusUpdateId}",resourceIdSegmentFormats:{workspaceId:/[a-zA-Z0-9\-]+/,programStatusUpdateId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},Ul=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._workspaceId=e.resourceIdSegmentValues.workspaceId,this._programStatusUpdateId=e.resourceIdSegmentValues.programStatusUpdateId}get siteId(){return this._siteId}get workspaceId(){return this._workspaceId}get programStatusUpdateId(){return this._programStatusUpdateId}static create(r){let t={qualifier:Zl.qualifier,platformQualifier:Zl.platformQualifier,cloudId:r.siteId,resourceOwner:Zl.resourceOwner,resourceType:Zl.resourceType,resourceId:`workspace/${r.workspaceId}/${r.programStatusUpdateId}`,resourceIdSegmentValues:{workspaceId:r.workspaceId,programStatusUpdateId:r.programStatusUpdateId}},i=p.fromOpts(t,Zl);return new e(i)}static parse(r){let t=p.fromString(r,Zl);return new e(t)}getVariables(){return{siteId:this.siteId,workspaceId:this.workspaceId,programStatusUpdateId:this.programStatusUpdateId}}},Dl={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"mercury",resourceType:"role",resourceIdSlug:"product/{roleType}",resourceIdSegmentFormats:{roleType:/(?:member|admin)/}},Wl=class e extends T{constructor(e){super(e),this._roleType=e.resourceIdSegmentValues.roleType}get roleType(){return this._roleType}static create(r){let t={qualifier:Dl.qualifier,platformQualifier:Dl.platformQualifier,cloudId:void 0,resourceOwner:Dl.resourceOwner,resourceType:Dl.resourceType,resourceId:`product/${r.roleType}`,resourceIdSegmentValues:{roleType:r.roleType}},i=p.fromOpts(t,Dl);return new e(i)}static parse(r){let t=p.fromString(r,Dl);return new e(t)}getVariables(){return{roleType:this.roleType}}},Kl={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"mercury",resourceType:"site",resourceIdSlug:"{siteId}",resourceIdSegmentFormats:{siteId:/[a-zA-Z0-9\-]+/}},Bl=class e extends T{constructor(e){super(e),this._siteId=e.resourceIdSegmentValues.siteId}get siteId(){return this._siteId}static create(r){let t={qualifier:Kl.qualifier,platformQualifier:Kl.platformQualifier,cloudId:void 0,resourceOwner:Kl.resourceOwner,resourceType:Kl.resourceType,resourceId:`${r.siteId}`,resourceIdSegmentValues:{siteId:r.siteId}},i=p.fromOpts(t,Kl);return new e(i)}static parse(r){let t=p.fromString(r,Kl);return new e(t)}getVariables(){return{siteId:this.siteId}}},Gl={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"mercury",resourceType:"workspace",resourceIdSlug:"{workspaceId}",resourceIdSegmentFormats:{workspaceId:/[a-zA-Z0-9\-]+/}},Jl=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._workspaceId=e.resourceIdSegmentValues.workspaceId}get siteId(){return this._siteId}get workspaceId(){return this._workspaceId}static create(r){let t={qualifier:Gl.qualifier,platformQualifier:Gl.platformQualifier,cloudId:r.siteId,resourceOwner:Gl.resourceOwner,resourceType:Gl.resourceType,resourceId:`${r.workspaceId}`,resourceIdSegmentValues:{workspaceId:r.workspaceId}},i=p.fromOpts(t,Gl);return new e(i)}static parse(r){let t=p.fromString(r,Gl);return new e(t)}getVariables(){return{siteId:this.siteId,workspaceId:this.workspaceId}}},Hl={qualifier:"ari",platformQualifier:"third-party",cloudId:new RegExp("^$"),resourceOwner:"microsoft",resourceType:"channel",resourceIdSlug:"tenantId/{tenantId}/teamId/{teamId}/channelId/{channelId}",resourceIdSegmentFormats:{tenantId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/,teamId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/,channelId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},Yl=class e extends T{constructor(e){super(e),this._tenantId=e.resourceIdSegmentValues.tenantId,this._teamId=e.resourceIdSegmentValues.teamId,this._channelId=e.resourceIdSegmentValues.channelId}get tenantId(){return this._tenantId}get teamId(){return this._teamId}get channelId(){return this._channelId}static create(r){let t={qualifier:Hl.qualifier,platformQualifier:Hl.platformQualifier,cloudId:void 0,resourceOwner:Hl.resourceOwner,resourceType:Hl.resourceType,resourceId:`tenantId/${r.tenantId}/teamId/${r.teamId}/channelId/${r.channelId}`,resourceIdSegmentValues:{tenantId:r.tenantId,teamId:r.teamId,channelId:r.channelId}},i=p.fromOpts(t,Hl);return new e(i)}static parse(r){let t=p.fromString(r,Hl);return new e(t)}getVariables(){return{tenantId:this.tenantId,teamId:this.teamId,channelId:this.channelId}}},Xl={qualifier:"ari",platformQualifier:"third-party",cloudId:new RegExp("^$"),resourceOwner:"microsoft",resourceType:"sharepoint-document",resourceIdSlug:"driveId/{driveId}/fileId/{fileId}",resourceIdSegmentFormats:{driveId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/,fileId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},eI=class e extends T{constructor(e){super(e),this._driveId=e.resourceIdSegmentValues.driveId,this._fileId=e.resourceIdSegmentValues.fileId}get driveId(){return this._driveId}get fileId(){return this._fileId}static create(r){let t={qualifier:Xl.qualifier,platformQualifier:Xl.platformQualifier,cloudId:void 0,resourceOwner:Xl.resourceOwner,resourceType:Xl.resourceType,resourceId:`driveId/${r.driveId}/fileId/${r.fileId}`,resourceIdSegmentValues:{driveId:r.driveId,fileId:r.fileId}},i=p.fromOpts(t,Xl);return new e(i)}static parse(r){let t=p.fromString(r,Xl);return new e(t)}getVariables(){return{driveId:this.driveId,fileId:this.fileId}}},rI={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"oauth",resourceType:"client",resourceIdSlug:"{clientId}",resourceIdSegmentFormats:{clientId:/[0-9a-zA-Z-_]{5,50}/}},tI=class e extends T{constructor(e){super(e),this._clientId=e.resourceIdSegmentValues.clientId}get clientId(){return this._clientId}static create(r){let t={qualifier:rI.qualifier,platformQualifier:rI.platformQualifier,cloudId:void 0,resourceOwner:rI.resourceOwner,resourceType:rI.resourceType,resourceId:`${r.clientId}`,resourceIdSegmentValues:{clientId:r.clientId}},i=p.fromOpts(t,rI);return new e(i)}static parse(r){let t=p.fromString(r,rI);return new e(t)}getVariables(){return{clientId:this.clientId}}},iI={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"opsgenie",resourceType:"account-login",resourceIdSlug:"{workspaceId}/{accountLoginId}",resourceIdSegmentFormats:{workspaceId:/[a-zA-Z0-9\-]+/,accountLoginId:/[a-zA-Z0-9\-\:]+/}},nI=class e extends T{constructor(e){super(e),this._workspaceId=e.resourceIdSegmentValues.workspaceId,this._accountLoginId=e.resourceIdSegmentValues.accountLoginId}get workspaceId(){return this._workspaceId}get accountLoginId(){return this._accountLoginId}static create(r){let t={qualifier:iI.qualifier,platformQualifier:iI.platformQualifier,cloudId:void 0,resourceOwner:iI.resourceOwner,resourceType:iI.resourceType,resourceId:`${r.workspaceId}/${r.accountLoginId}`,resourceIdSegmentValues:{workspaceId:r.workspaceId,accountLoginId:r.accountLoginId}},i=p.fromOpts(t,iI);return new e(i)}static parse(r){let t=p.fromString(r,iI);return new e(t)}getVariables(){return{workspaceId:this.workspaceId,accountLoginId:this.accountLoginId}}},oI={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"opsgenie",resourceType:"account-settings",resourceIdSlug:"{workspaceId}/{accountSettingsId}",resourceIdSegmentFormats:{workspaceId:/[a-zA-Z0-9\-]+/,accountSettingsId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},aI=class e extends T{constructor(e){super(e),this._workspaceId=e.resourceIdSegmentValues.workspaceId,this._accountSettingsId=e.resourceIdSegmentValues.accountSettingsId}get workspaceId(){return this._workspaceId}get accountSettingsId(){return this._accountSettingsId}static create(r){let t={qualifier:oI.qualifier,platformQualifier:oI.platformQualifier,cloudId:void 0,resourceOwner:oI.resourceOwner,resourceType:oI.resourceType,resourceId:`${r.workspaceId}/${r.accountSettingsId}`,resourceIdSegmentValues:{workspaceId:r.workspaceId,accountSettingsId:r.accountSettingsId}},i=p.fromOpts(t,oI);return new e(i)}static parse(r){let t=p.fromString(r,oI);return new e(t)}getVariables(){return{workspaceId:this.workspaceId,accountSettingsId:this.accountSettingsId}}},sI={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"opsgenie",resourceType:"alert",resourceIdSlug:"{workspaceId}/{alertId}",resourceIdSegmentFormats:{workspaceId:/[a-zA-Z0-9\-]+/,alertId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},uI=class e extends T{constructor(e){super(e),this._workspaceId=e.resourceIdSegmentValues.workspaceId,this._alertId=e.resourceIdSegmentValues.alertId}get workspaceId(){return this._workspaceId}get alertId(){return this._alertId}static create(r){let t={qualifier:sI.qualifier,platformQualifier:sI.platformQualifier,cloudId:void 0,resourceOwner:sI.resourceOwner,resourceType:sI.resourceType,resourceId:`${r.workspaceId}/${r.alertId}`,resourceIdSegmentValues:{workspaceId:r.workspaceId,alertId:r.alertId}},i=p.fromOpts(t,sI);return new e(i)}static parse(r){let t=p.fromString(r,sI);return new e(t)}getVariables(){return{workspaceId:this.workspaceId,alertId:this.alertId}}},cI={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"opsgenie",resourceType:"alert-recipient-link",resourceIdSlug:"{workspaceId}/{alertId}/{recipientType}/{recipientId}",resourceIdSegmentFormats:{workspaceId:/[a-zA-Z0-9\-]+/,alertId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}(-[0-9]*)?/,recipientType:/(?:user|team)/,recipientId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},dI=class e extends T{constructor(e){super(e),this._workspaceId=e.resourceIdSegmentValues.workspaceId,this._alertId=e.resourceIdSegmentValues.alertId,this._recipientType=e.resourceIdSegmentValues.recipientType,this._recipientId=e.resourceIdSegmentValues.recipientId}get workspaceId(){return this._workspaceId}get alertId(){return this._alertId}get recipientType(){return this._recipientType}get recipientId(){return this._recipientId}static create(r){let t={qualifier:cI.qualifier,platformQualifier:cI.platformQualifier,cloudId:void 0,resourceOwner:cI.resourceOwner,resourceType:cI.resourceType,resourceId:`${r.workspaceId}/${r.alertId}/${r.recipientType}/${r.recipientId}`,resourceIdSegmentValues:{workspaceId:r.workspaceId,alertId:r.alertId,recipientType:r.recipientType,recipientId:r.recipientId}},i=p.fromOpts(t,cI);return new e(i)}static parse(r){let t=p.fromString(r,cI);return new e(t)}getVariables(){return{workspaceId:this.workspaceId,alertId:this.alertId,recipientType:this.recipientType,recipientId:this.recipientId}}},lI={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"opsgenie",resourceType:"api-request-metric",resourceIdSlug:"{workspaceId}/{apiRequestMetricId}",resourceIdSegmentFormats:{workspaceId:/[a-zA-Z0-9\-]+/,apiRequestMetricId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},II=class e extends T{constructor(e){super(e),this._workspaceId=e.resourceIdSegmentValues.workspaceId,this._apiRequestMetricId=e.resourceIdSegmentValues.apiRequestMetricId}get workspaceId(){return this._workspaceId}get apiRequestMetricId(){return this._apiRequestMetricId}static create(r){let t={qualifier:lI.qualifier,platformQualifier:lI.platformQualifier,cloudId:void 0,resourceOwner:lI.resourceOwner,resourceType:lI.resourceType,resourceId:`${r.workspaceId}/${r.apiRequestMetricId}`,resourceIdSegmentValues:{workspaceId:r.workspaceId,apiRequestMetricId:r.apiRequestMetricId}},i=p.fromOpts(t,lI);return new e(i)}static parse(r){let t=p.fromString(r,lI);return new e(t)}getVariables(){return{workspaceId:this.workspaceId,apiRequestMetricId:this.apiRequestMetricId}}},pI={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"opsgenie",resourceType:"call-routing",resourceIdSlug:"{workspaceId}/{callRoutingId}",resourceIdSegmentFormats:{workspaceId:/[a-zA-Z0-9\-]+/,callRoutingId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},fI=class e extends T{constructor(e){super(e),this._workspaceId=e.resourceIdSegmentValues.workspaceId,this._callRoutingId=e.resourceIdSegmentValues.callRoutingId}get workspaceId(){return this._workspaceId}get callRoutingId(){return this._callRoutingId}static create(r){let t={qualifier:pI.qualifier,platformQualifier:pI.platformQualifier,cloudId:void 0,resourceOwner:pI.resourceOwner,resourceType:pI.resourceType,resourceId:`${r.workspaceId}/${r.callRoutingId}`,resourceIdSegmentValues:{workspaceId:r.workspaceId,callRoutingId:r.callRoutingId}},i=p.fromOpts(t,pI);return new e(i)}static parse(r){let t=p.fromString(r,pI);return new e(t)}getVariables(){return{workspaceId:this.workspaceId,callRoutingId:this.callRoutingId}}},mI={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"opsgenie",resourceType:"custom-role",resourceIdSlug:"{workspaceId}/{opsgenieRoleType}/{customRoleId}",resourceIdSegmentFormats:{workspaceId:/[a-zA-Z0-9\-]+/,opsgenieRoleType:/(?:account|team|responder)/,customRoleId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},hI=class e extends T{constructor(e){super(e),this._workspaceId=e.resourceIdSegmentValues.workspaceId,this._opsgenieRoleType=e.resourceIdSegmentValues.opsgenieRoleType,this._customRoleId=e.resourceIdSegmentValues.customRoleId}get workspaceId(){return this._workspaceId}get opsgenieRoleType(){return this._opsgenieRoleType}get customRoleId(){return this._customRoleId}static create(r){let t={qualifier:mI.qualifier,platformQualifier:mI.platformQualifier,cloudId:void 0,resourceOwner:mI.resourceOwner,resourceType:mI.resourceType,resourceId:`${r.workspaceId}/${r.opsgenieRoleType}/${r.customRoleId}`,resourceIdSegmentValues:{workspaceId:r.workspaceId,opsgenieRoleType:r.opsgenieRoleType,customRoleId:r.customRoleId}},i=p.fromOpts(t,mI);return new e(i)}static parse(r){let t=p.fromString(r,mI);return new e(t)}getVariables(){return{workspaceId:this.workspaceId,opsgenieRoleType:this.opsgenieRoleType,customRoleId:this.customRoleId}}},gI={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"opsgenie",resourceType:"deployment",resourceIdSlug:"{workspaceId}/{deploymentId}",resourceIdSegmentFormats:{workspaceId:/[a-zA-Z0-9\-]+/,deploymentId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},vI=class e extends T{constructor(e){super(e),this._workspaceId=e.resourceIdSegmentValues.workspaceId,this._deploymentId=e.resourceIdSegmentValues.deploymentId}get workspaceId(){return this._workspaceId}get deploymentId(){return this._deploymentId}static create(r){let t={qualifier:gI.qualifier,platformQualifier:gI.platformQualifier,cloudId:void 0,resourceOwner:gI.resourceOwner,resourceType:gI.resourceType,resourceId:`${r.workspaceId}/${r.deploymentId}`,resourceIdSegmentValues:{workspaceId:r.workspaceId,deploymentId:r.deploymentId}},i=p.fromOpts(t,gI);return new e(i)}static parse(r){let t=p.fromString(r,gI);return new e(t)}getVariables(){return{workspaceId:this.workspaceId,deploymentId:this.deploymentId}}},yI={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"opsgenie",resourceType:"deployment-service-link",resourceIdSlug:"{workspaceId}/{deploymentId}/{serviceId}",resourceIdSegmentFormats:{workspaceId:/[a-zA-Z0-9\-]+/,deploymentId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/,serviceId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},wI=class e extends T{constructor(e){super(e),this._workspaceId=e.resourceIdSegmentValues.workspaceId,this._deploymentId=e.resourceIdSegmentValues.deploymentId,this._serviceId=e.resourceIdSegmentValues.serviceId}get workspaceId(){return this._workspaceId}get deploymentId(){return this._deploymentId}get serviceId(){return this._serviceId}static create(r){let t={qualifier:yI.qualifier,platformQualifier:yI.platformQualifier,cloudId:void 0,resourceOwner:yI.resourceOwner,resourceType:yI.resourceType,resourceId:`${r.workspaceId}/${r.deploymentId}/${r.serviceId}`,resourceIdSegmentValues:{workspaceId:r.workspaceId,deploymentId:r.deploymentId,serviceId:r.serviceId}},i=p.fromOpts(t,yI);return new e(i)}static parse(r){let t=p.fromString(r,yI);return new e(t)}getVariables(){return{workspaceId:this.workspaceId,deploymentId:this.deploymentId,serviceId:this.serviceId}}},SI={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"opsgenie",resourceType:"escalation",resourceIdSlug:"{workspaceId}/{escalationId}",resourceIdSegmentFormats:{workspaceId:/[a-zA-Z0-9\-]+/,escalationId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},_I=class e extends T{constructor(e){super(e),this._workspaceId=e.resourceIdSegmentValues.workspaceId,this._escalationId=e.resourceIdSegmentValues.escalationId}get workspaceId(){return this._workspaceId}get escalationId(){return this._escalationId}static create(r){let t={qualifier:SI.qualifier,platformQualifier:SI.platformQualifier,cloudId:void 0,resourceOwner:SI.resourceOwner,resourceType:SI.resourceType,resourceId:`${r.workspaceId}/${r.escalationId}`,resourceIdSegmentValues:{workspaceId:r.workspaceId,escalationId:r.escalationId}},i=p.fromOpts(t,SI);return new e(i)}static parse(r){let t=p.fromString(r,SI);return new e(t)}getVariables(){return{workspaceId:this.workspaceId,escalationId:this.escalationId}}},bI={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"opsgenie",resourceType:"event",resourceIdSlug:"{eventType}/workspace/{workspaceId}/event/{eventId}",resourceIdSegmentFormats:{eventType:/[a-zA-Z0-9\-]+/,workspaceId:/[a-zA-Z0-9\-]+/,eventId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},TI=class e extends T{constructor(e){super(e),this._eventType=e.resourceIdSegmentValues.eventType,this._workspaceId=e.resourceIdSegmentValues.workspaceId,this._eventId=e.resourceIdSegmentValues.eventId}get eventType(){return this._eventType}get workspaceId(){return this._workspaceId}get eventId(){return this._eventId}static create(r){let t={qualifier:bI.qualifier,platformQualifier:bI.platformQualifier,cloudId:void 0,resourceOwner:bI.resourceOwner,resourceType:bI.resourceType,resourceId:`${r.eventType}/workspace/${r.workspaceId}/event/${r.eventId}`,resourceIdSegmentValues:{eventType:r.eventType,workspaceId:r.workspaceId,eventId:r.eventId}},i=p.fromOpts(t,bI);return new e(i)}static parse(r){let t=p.fromString(r,bI);return new e(t)}getVariables(){return{eventType:this.eventType,workspaceId:this.workspaceId,eventId:this.eventId}}},OI={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"opsgenie",resourceType:"incident",resourceIdSlug:"{workspaceId}/{incidentId}",resourceIdSegmentFormats:{workspaceId:/[a-zA-Z0-9\-]+/,incidentId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},kI=class e extends T{constructor(e){super(e),this._workspaceId=e.resourceIdSegmentValues.workspaceId,this._incidentId=e.resourceIdSegmentValues.incidentId}get workspaceId(){return this._workspaceId}get incidentId(){return this._incidentId}static create(r){let t={qualifier:OI.qualifier,platformQualifier:OI.platformQualifier,cloudId:void 0,resourceOwner:OI.resourceOwner,resourceType:OI.resourceType,resourceId:`${r.workspaceId}/${r.incidentId}`,resourceIdSegmentValues:{workspaceId:r.workspaceId,incidentId:r.incidentId}},i=p.fromOpts(t,OI);return new e(i)}static parse(r){let t=p.fromString(r,OI);return new e(t)}getVariables(){return{workspaceId:this.workspaceId,incidentId:this.incidentId}}},AI={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"opsgenie",resourceType:"incident-alert-link",resourceIdSlug:"{workspaceId}/{incidentId}/{alertId}",resourceIdSegmentFormats:{workspaceId:/[a-zA-Z0-9\-]+/,incidentId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/,alertId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}(-[0-9]*)?/}},qI=class e extends T{constructor(e){super(e),this._workspaceId=e.resourceIdSegmentValues.workspaceId,this._incidentId=e.resourceIdSegmentValues.incidentId,this._alertId=e.resourceIdSegmentValues.alertId}get workspaceId(){return this._workspaceId}get incidentId(){return this._incidentId}get alertId(){return this._alertId}static create(r){let t={qualifier:AI.qualifier,platformQualifier:AI.platformQualifier,cloudId:void 0,resourceOwner:AI.resourceOwner,resourceType:AI.resourceType,resourceId:`${r.workspaceId}/${r.incidentId}/${r.alertId}`,resourceIdSegmentValues:{workspaceId:r.workspaceId,incidentId:r.incidentId,alertId:r.alertId}},i=p.fromOpts(t,AI);return new e(i)}static parse(r){let t=p.fromString(r,AI);return new e(t)}getVariables(){return{workspaceId:this.workspaceId,incidentId:this.incidentId,alertId:this.alertId}}},VI={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"opsgenie",resourceType:"incident-status-update",resourceIdSlug:"{workspaceId}/{incidentStatusUpdateId}",resourceIdSegmentFormats:{workspaceId:/[a-zA-Z0-9\-]+/,incidentStatusUpdateId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},EI=class e extends T{constructor(e){super(e),this._workspaceId=e.resourceIdSegmentValues.workspaceId,this._incidentStatusUpdateId=e.resourceIdSegmentValues.incidentStatusUpdateId}get workspaceId(){return this._workspaceId}get incidentStatusUpdateId(){return this._incidentStatusUpdateId}static create(r){let t={qualifier:VI.qualifier,platformQualifier:VI.platformQualifier,cloudId:void 0,resourceOwner:VI.resourceOwner,resourceType:VI.resourceType,resourceId:`${r.workspaceId}/${r.incidentStatusUpdateId}`,resourceIdSegmentValues:{workspaceId:r.workspaceId,incidentStatusUpdateId:r.incidentStatusUpdateId}},i=p.fromOpts(t,VI);return new e(i)}static parse(r){let t=p.fromString(r,VI);return new e(t)}getVariables(){return{workspaceId:this.workspaceId,incidentStatusUpdateId:this.incidentStatusUpdateId}}},xI={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"opsgenie",resourceType:"incoming-call-history",resourceIdSlug:"{workspaceId}/{incomingCallEventId}",resourceIdSegmentFormats:{workspaceId:/[a-zA-Z0-9\-]+/,incomingCallEventId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},RI=class e extends T{constructor(e){super(e),this._workspaceId=e.resourceIdSegmentValues.workspaceId,this._incomingCallEventId=e.resourceIdSegmentValues.incomingCallEventId}get workspaceId(){return this._workspaceId}get incomingCallEventId(){return this._incomingCallEventId}static create(r){let t={qualifier:xI.qualifier,platformQualifier:xI.platformQualifier,cloudId:void 0,resourceOwner:xI.resourceOwner,resourceType:xI.resourceType,resourceId:`${r.workspaceId}/${r.incomingCallEventId}`,resourceIdSegmentValues:{workspaceId:r.workspaceId,incomingCallEventId:r.incomingCallEventId}},i=p.fromOpts(t,xI);return new e(i)}static parse(r){let t=p.fromString(r,xI);return new e(t)}getVariables(){return{workspaceId:this.workspaceId,incomingCallEventId:this.incomingCallEventId}}},$I={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"opsgenie",resourceType:"integration",resourceIdSlug:"{workspaceId}/{integrationId}",resourceIdSegmentFormats:{workspaceId:/[a-zA-Z0-9\-]+/,integrationId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},QI=class e extends T{constructor(e){super(e),this._workspaceId=e.resourceIdSegmentValues.workspaceId,this._integrationId=e.resourceIdSegmentValues.integrationId}get workspaceId(){return this._workspaceId}get integrationId(){return this._integrationId}static create(r){let t={qualifier:$I.qualifier,platformQualifier:$I.platformQualifier,cloudId:void 0,resourceOwner:$I.resourceOwner,resourceType:$I.resourceType,resourceId:`${r.workspaceId}/${r.integrationId}`,resourceIdSegmentValues:{workspaceId:r.workspaceId,integrationId:r.integrationId}},i=p.fromOpts(t,$I);return new e(i)}static parse(r){let t=p.fromString(r,$I);return new e(t)}getVariables(){return{workspaceId:this.workspaceId,integrationId:this.integrationId}}},NI={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"opsgenie",resourceType:"notification",resourceIdSlug:"{workspaceId}/{notificationId}",resourceIdSegmentFormats:{workspaceId:/[a-zA-Z0-9\-]+/,notificationId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},CI=class e extends T{constructor(e){super(e),this._workspaceId=e.resourceIdSegmentValues.workspaceId,this._notificationId=e.resourceIdSegmentValues.notificationId}get workspaceId(){return this._workspaceId}get notificationId(){return this._notificationId}static create(r){let t={qualifier:NI.qualifier,platformQualifier:NI.platformQualifier,cloudId:void 0,resourceOwner:NI.resourceOwner,resourceType:NI.resourceType,resourceId:`${r.workspaceId}/${r.notificationId}`,resourceIdSegmentValues:{workspaceId:r.workspaceId,notificationId:r.notificationId}},i=p.fromOpts(t,NI);return new e(i)}static parse(r){let t=p.fromString(r,NI);return new e(t)}getVariables(){return{workspaceId:this.workspaceId,notificationId:this.notificationId}}},FI={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"opsgenie",resourceType:"role",resourceIdSlug:"{roleId}",resourceIdSegmentFormats:{roleId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},zI=class e extends T{constructor(e){super(e),this._roleId=e.resourceIdSegmentValues.roleId}get roleId(){return this._roleId}static create(r){let t={qualifier:FI.qualifier,platformQualifier:FI.platformQualifier,cloudId:void 0,resourceOwner:FI.resourceOwner,resourceType:FI.resourceType,resourceId:`${r.roleId}`,resourceIdSegmentValues:{roleId:r.roleId}},i=p.fromOpts(t,FI);return new e(i)}static parse(r){let t=p.fromString(r,FI);return new e(t)}getVariables(){return{roleId:this.roleId}}},LI={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"opsgenie",resourceType:"schedule",resourceIdSlug:"{workspaceId}/{scheduleId}",resourceIdSegmentFormats:{workspaceId:/[a-zA-Z0-9\-]+/,scheduleId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},MI=class e extends T{constructor(e){super(e),this._workspaceId=e.resourceIdSegmentValues.workspaceId,this._scheduleId=e.resourceIdSegmentValues.scheduleId}get workspaceId(){return this._workspaceId}get scheduleId(){return this._scheduleId}static create(r){let t={qualifier:LI.qualifier,platformQualifier:LI.platformQualifier,cloudId:void 0,resourceOwner:LI.resourceOwner,resourceType:LI.resourceType,resourceId:`${r.workspaceId}/${r.scheduleId}`,resourceIdSegmentValues:{workspaceId:r.workspaceId,scheduleId:r.scheduleId}},i=p.fromOpts(t,LI);return new e(i)}static parse(r){let t=p.fromString(r,LI);return new e(t)}getVariables(){return{workspaceId:this.workspaceId,scheduleId:this.scheduleId}}},PI={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"opsgenie",resourceType:"schedule-rotation",resourceIdSlug:"{workspaceId}/{scheduleRotationId}",resourceIdSegmentFormats:{workspaceId:/[a-zA-Z0-9\-]+/,scheduleRotationId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},jI=class e extends T{constructor(e){super(e),this._workspaceId=e.resourceIdSegmentValues.workspaceId,this._scheduleRotationId=e.resourceIdSegmentValues.scheduleRotationId}get workspaceId(){return this._workspaceId}get scheduleRotationId(){return this._scheduleRotationId}static create(r){let t={qualifier:PI.qualifier,platformQualifier:PI.platformQualifier,cloudId:void 0,resourceOwner:PI.resourceOwner,resourceType:PI.resourceType,resourceId:`${r.workspaceId}/${r.scheduleRotationId}`,resourceIdSegmentValues:{workspaceId:r.workspaceId,scheduleRotationId:r.scheduleRotationId}},i=p.fromOpts(t,PI);return new e(i)}static parse(r){let t=p.fromString(r,PI);return new e(t)}getVariables(){return{workspaceId:this.workspaceId,scheduleRotationId:this.scheduleRotationId}}},ZI={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"opsgenie",resourceType:"site",resourceIdSlug:"{siteId}",resourceIdSegmentFormats:{siteId:/[a-zA-Z0-9\-]+/}},UI=class e extends T{constructor(e){super(e),this._siteId=e.resourceIdSegmentValues.siteId}get siteId(){return this._siteId}static create(r){let t={qualifier:ZI.qualifier,platformQualifier:ZI.platformQualifier,cloudId:void 0,resourceOwner:ZI.resourceOwner,resourceType:ZI.resourceType,resourceId:`${r.siteId}`,resourceIdSegmentValues:{siteId:r.siteId}},i=p.fromOpts(t,ZI);return new e(i)}static parse(r){let t=p.fromString(r,ZI);return new e(t)}getVariables(){return{siteId:this.siteId}}},DI={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"opsgenie",resourceType:"team",resourceIdSlug:"{opsgenieTeamId}",resourceIdSegmentFormats:{opsgenieTeamId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},WI=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._opsgenieTeamId=e.resourceIdSegmentValues.opsgenieTeamId}get siteId(){return this._siteId}get opsgenieTeamId(){return this._opsgenieTeamId}static create(r){let t={qualifier:DI.qualifier,platformQualifier:DI.platformQualifier,cloudId:r.siteId,resourceOwner:DI.resourceOwner,resourceType:DI.resourceType,resourceId:`${r.opsgenieTeamId}`,resourceIdSegmentValues:{opsgenieTeamId:r.opsgenieTeamId}},i=p.fromOpts(t,DI);return new e(i)}static parse(r){let t=p.fromString(r,DI);return new e(t)}getVariables(){return{siteId:this.siteId,opsgenieTeamId:this.opsgenieTeamId}}},KI={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"opsgenie",resourceType:"timeline",resourceIdSlug:"{workspaceId}/{timelineEntryId}",resourceIdSegmentFormats:{workspaceId:/[a-zA-Z0-9\-]+/,timelineEntryId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},BI=class e extends T{constructor(e){super(e),this._workspaceId=e.resourceIdSegmentValues.workspaceId,this._timelineEntryId=e.resourceIdSegmentValues.timelineEntryId}get workspaceId(){return this._workspaceId}get timelineEntryId(){return this._timelineEntryId}static create(r){let t={qualifier:KI.qualifier,platformQualifier:KI.platformQualifier,cloudId:void 0,resourceOwner:KI.resourceOwner,resourceType:KI.resourceType,resourceId:`${r.workspaceId}/${r.timelineEntryId}`,resourceIdSegmentValues:{workspaceId:r.workspaceId,timelineEntryId:r.timelineEntryId}},i=p.fromOpts(t,KI);return new e(i)}static parse(r){let t=p.fromString(r,KI);return new e(t)}getVariables(){return{workspaceId:this.workspaceId,timelineEntryId:this.timelineEntryId}}},GI={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"opsgenie",resourceType:"workspace",resourceIdSlug:"{workspaceId}",resourceIdSegmentFormats:{workspaceId:/[a-zA-Z0-9\-]+/}},JI=class e extends T{constructor(e){super(e),this._workspaceId=e.resourceIdSegmentValues.workspaceId}get workspaceId(){return this._workspaceId}static create(r){let t={qualifier:GI.qualifier,platformQualifier:GI.platformQualifier,cloudId:void 0,resourceOwner:GI.resourceOwner,resourceType:GI.resourceType,resourceId:`${r.workspaceId}`,resourceIdSegmentValues:{workspaceId:r.workspaceId}},i=p.fromOpts(t,GI);return new e(i)}static parse(r){let t=p.fromString(r,GI);return new e(t)}getVariables(){return{workspaceId:this.workspaceId}}},HI={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"org-policy",resourceType:"policy",resourceIdSlug:"{policyId}",resourceIdSegmentFormats:{policyId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},YI=class e extends T{constructor(e){super(e),this._policyId=e.resourceIdSegmentValues.policyId}get policyId(){return this._policyId}static create(r){let t={qualifier:HI.qualifier,platformQualifier:HI.platformQualifier,cloudId:void 0,resourceOwner:HI.resourceOwner,resourceType:HI.resourceType,resourceId:`${r.policyId}`,resourceIdSegmentValues:{policyId:r.policyId}},i=p.fromOpts(t,HI);return new e(i)}static parse(r){let t=p.fromString(r,HI);return new e(t)}getVariables(){return{policyId:this.policyId}}},XI={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"papi",resourceType:"api",resourceIdSlug:"catalog/{uuid}",resourceIdSegmentFormats:{uuid:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},ep=class e extends T{constructor(e){super(e),this._uuid=e.resourceIdSegmentValues.uuid}get uuid(){return this._uuid}static create(r){let t={qualifier:XI.qualifier,platformQualifier:XI.platformQualifier,cloudId:void 0,resourceOwner:XI.resourceOwner,resourceType:XI.resourceType,resourceId:`catalog/${r.uuid}`,resourceIdSegmentValues:{uuid:r.uuid}},i=p.fromOpts(t,XI);return new e(i)}static parse(r){let t=p.fromString(r,XI);return new e(t)}getVariables(){return{uuid:this.uuid}}},rp={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"papi",resourceType:"role",resourceIdSlug:"partner",resourceIdSegmentFormats:{}},tp=class e extends T{constructor(e){super(e)}static create(r){let t={qualifier:rp.qualifier,platformQualifier:rp.platformQualifier,cloudId:void 0,resourceOwner:rp.resourceOwner,resourceType:rp.resourceType,resourceId:"partner",resourceIdSegmentValues:{}},i=p.fromOpts(t,rp);return new e(i)}static parse(r){let t=p.fromString(r,rp);return new e(t)}getVariables(){return{}}},ip={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"passionfruit",resourceType:"user",resourceIdSlug:"{userId}",resourceIdSegmentFormats:{userId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},np=class e extends T{constructor(e){super(e),this._userId=e.resourceIdSegmentValues.userId}get userId(){return this._userId}static create(r){let t={qualifier:ip.qualifier,platformQualifier:ip.platformQualifier,cloudId:void 0,resourceOwner:ip.resourceOwner,resourceType:ip.resourceType,resourceId:`${r.userId}`,resourceIdSegmentValues:{userId:r.userId}},i=p.fromOpts(t,ip);return new e(i)}static parse(r){let t=p.fromString(r,ip);return new e(t)}getVariables(){return{userId:this.userId}}},op={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"people-data",resourceType:"cost-center",resourceIdSlug:"{costCenterId}",resourceIdSegmentFormats:{costCenterId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},ap=class e extends T{constructor(e){super(e),this._costCenterId=e.resourceIdSegmentValues.costCenterId}get costCenterId(){return this._costCenterId}static create(r){let t={qualifier:op.qualifier,platformQualifier:op.platformQualifier,cloudId:void 0,resourceOwner:op.resourceOwner,resourceType:op.resourceType,resourceId:`${r.costCenterId}`,resourceIdSegmentValues:{costCenterId:r.costCenterId}},i=p.fromOpts(t,op);return new e(i)}static parse(r){let t=p.fromString(r,op);return new e(t)}getVariables(){return{costCenterId:this.costCenterId}}},sp={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"people-data",resourceType:"job-profile",resourceIdSlug:"{jobProfileId}",resourceIdSegmentFormats:{jobProfileId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},up=class e extends T{constructor(e){super(e),this._jobProfileId=e.resourceIdSegmentValues.jobProfileId}get jobProfileId(){return this._jobProfileId}static create(r){let t={qualifier:sp.qualifier,platformQualifier:sp.platformQualifier,cloudId:void 0,resourceOwner:sp.resourceOwner,resourceType:sp.resourceType,resourceId:`${r.jobProfileId}`,resourceIdSegmentValues:{jobProfileId:r.jobProfileId}},i=p.fromOpts(t,sp);return new e(i)}static parse(r){let t=p.fromString(r,sp);return new e(t)}getVariables(){return{jobProfileId:this.jobProfileId}}},cp={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"people-data",resourceType:"position",resourceIdSlug:"{positionId}",resourceIdSegmentFormats:{positionId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},dp=class e extends T{constructor(e){super(e),this._positionId=e.resourceIdSegmentValues.positionId}get positionId(){return this._positionId}static create(r){let t={qualifier:cp.qualifier,platformQualifier:cp.platformQualifier,cloudId:void 0,resourceOwner:cp.resourceOwner,resourceType:cp.resourceType,resourceId:`${r.positionId}`,resourceIdSegmentValues:{positionId:r.positionId}},i=p.fromOpts(t,cp);return new e(i)}static parse(r){let t=p.fromString(r,cp);return new e(t)}getVariables(){return{positionId:this.positionId}}},lp={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"people-data",resourceType:"supervisory-org",resourceIdSlug:"{supervisoryOrgId}",resourceIdSegmentFormats:{supervisoryOrgId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},Ip=class e extends T{constructor(e){super(e),this._supervisoryOrgId=e.resourceIdSegmentValues.supervisoryOrgId}get supervisoryOrgId(){return this._supervisoryOrgId}static create(r){let t={qualifier:lp.qualifier,platformQualifier:lp.platformQualifier,cloudId:void 0,resourceOwner:lp.resourceOwner,resourceType:lp.resourceType,resourceId:`${r.supervisoryOrgId}`,resourceIdSegmentValues:{supervisoryOrgId:r.supervisoryOrgId}},i=p.fromOpts(t,lp);return new e(i)}static parse(r){let t=p.fromString(r,lp);return new e(t)}getVariables(){return{supervisoryOrgId:this.supervisoryOrgId}}},pp={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"people-data",resourceType:"worker",resourceIdSlug:"{workerId}",resourceIdSegmentFormats:{workerId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},fp=class e extends T{constructor(e){super(e),this._workerId=e.resourceIdSegmentValues.workerId}get workerId(){return this._workerId}static create(r){let t={qualifier:pp.qualifier,platformQualifier:pp.platformQualifier,cloudId:void 0,resourceOwner:pp.resourceOwner,resourceType:pp.resourceType,resourceId:`${r.workerId}`,resourceIdSegmentValues:{workerId:r.workerId}},i=p.fromOpts(t,pp);return new e(i)}static parse(r){let t=p.fromString(r,pp);return new e(t)}getVariables(){return{workerId:this.workerId}}},mp={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"people-perftool",resourceType:"calibration",resourceIdSlug:"{id}",resourceIdSegmentFormats:{id:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},hp=class e extends T{constructor(e){super(e),this._id=e.resourceIdSegmentValues.id}get id(){return this._id}static create(r){let t={qualifier:mp.qualifier,platformQualifier:mp.platformQualifier,cloudId:void 0,resourceOwner:mp.resourceOwner,resourceType:mp.resourceType,resourceId:`${r.id}`,resourceIdSegmentValues:{id:r.id}},i=p.fromOpts(t,mp);return new e(i)}static parse(r){let t=p.fromString(r,mp);return new e(t)}getVariables(){return{id:this.id}}},gp={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"people-perftool",resourceType:"feedback",resourceIdSlug:"{id}",resourceIdSegmentFormats:{id:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},vp=class e extends T{constructor(e){super(e),this._id=e.resourceIdSegmentValues.id}get id(){return this._id}static create(r){let t={qualifier:gp.qualifier,platformQualifier:gp.platformQualifier,cloudId:void 0,resourceOwner:gp.resourceOwner,resourceType:gp.resourceType,resourceId:`${r.id}`,resourceIdSegmentValues:{id:r.id}},i=p.fromOpts(t,gp);return new e(i)}static parse(r){let t=p.fromString(r,gp);return new e(t)}getVariables(){return{id:this.id}}},yp={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"people-perftool",resourceType:"performance",resourceIdSlug:"{id}",resourceIdSegmentFormats:{id:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},wp=class e extends T{constructor(e){super(e),this._id=e.resourceIdSegmentValues.id}get id(){return this._id}static create(r){let t={qualifier:yp.qualifier,platformQualifier:yp.platformQualifier,cloudId:void 0,resourceOwner:yp.resourceOwner,resourceType:yp.resourceType,resourceId:`${r.id}`,resourceIdSegmentValues:{id:r.id}},i=p.fromOpts(t,yp);return new e(i)}static parse(r){let t=p.fromString(r,yp);return new e(t)}getVariables(){return{id:this.id}}},Sp={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"platform",resourceType:"classification-tag",resourceIdSlug:"{tagId}",resourceIdSegmentFormats:{tagId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},_p=class e extends T{constructor(e){super(e),this._tagId=e.resourceIdSegmentValues.tagId}get tagId(){return this._tagId}static create(r){let t={qualifier:Sp.qualifier,platformQualifier:Sp.platformQualifier,cloudId:void 0,resourceOwner:Sp.resourceOwner,resourceType:Sp.resourceType,resourceId:`${r.tagId}`,resourceIdSegmentValues:{tagId:r.tagId}},i=p.fromOpts(t,Sp);return new e(i)}static parse(r){let t=p.fromString(r,Sp);return new e(t)}getVariables(){return{tagId:this.tagId}}},bp={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"platform",resourceType:"integration",resourceIdSlug:"{integrationKey}",resourceIdSegmentFormats:{integrationKey:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},Tp=class e extends T{constructor(e){super(e),this._integrationKey=e.resourceIdSegmentValues.integrationKey}get integrationKey(){return this._integrationKey}static create(r){let t={qualifier:bp.qualifier,platformQualifier:bp.platformQualifier,cloudId:void 0,resourceOwner:bp.resourceOwner,resourceType:bp.resourceType,resourceId:`${r.integrationKey}`,resourceIdSegmentValues:{integrationKey:r.integrationKey}},i=p.fromOpts(t,bp);return new e(i)}static parse(r){let t=p.fromString(r,bp);return new e(t)}getVariables(){return{integrationKey:this.integrationKey}}},Op={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"platform",resourceType:"lifecycle-resource",resourceIdSlug:"{lifecycleResourceId}",resourceIdSegmentFormats:{lifecycleResourceId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},kp=class e extends T{constructor(e){super(e),this._lifecycleResourceId=e.resourceIdSegmentValues.lifecycleResourceId}get lifecycleResourceId(){return this._lifecycleResourceId}static create(r){let t={qualifier:Op.qualifier,platformQualifier:Op.platformQualifier,cloudId:void 0,resourceOwner:Op.resourceOwner,resourceType:Op.resourceType,resourceId:`${r.lifecycleResourceId}`,resourceIdSegmentValues:{lifecycleResourceId:r.lifecycleResourceId}},i=p.fromOpts(t,Op);return new e(i)}static parse(r){let t=p.fromString(r,Op);return new e(t)}getVariables(){return{lifecycleResourceId:this.lifecycleResourceId}}},Ap={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"platform",resourceType:"lifecycle-resource-package",resourceIdSlug:"{lifecycleResourcePackageId}",resourceIdSegmentFormats:{lifecycleResourcePackageId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},qp=class e extends T{constructor(e){super(e),this._lifecycleResourcePackageId=e.resourceIdSegmentValues.lifecycleResourcePackageId}get lifecycleResourcePackageId(){return this._lifecycleResourcePackageId}static create(r){let t={qualifier:Ap.qualifier,platformQualifier:Ap.platformQualifier,cloudId:void 0,resourceOwner:Ap.resourceOwner,resourceType:Ap.resourceType,resourceId:`${r.lifecycleResourcePackageId}`,resourceIdSegmentValues:{lifecycleResourcePackageId:r.lifecycleResourcePackageId}},i=p.fromOpts(t,Ap);return new e(i)}static parse(r){let t=p.fromString(r,Ap);return new e(t)}getVariables(){return{lifecycleResourcePackageId:this.lifecycleResourcePackageId}}},Vp={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"platform",resourceType:"lifecycle-resource-package-type",resourceIdSlug:"{resourcePackageTypeId}",resourceIdSegmentFormats:{resourcePackageTypeId:/[a-zA-Z.\-]+/}},Ep=class e extends T{constructor(e){super(e),this._resourcePackageTypeId=e.resourceIdSegmentValues.resourcePackageTypeId}get resourcePackageTypeId(){return this._resourcePackageTypeId}static create(r){let t={qualifier:Vp.qualifier,platformQualifier:Vp.platformQualifier,cloudId:void 0,resourceOwner:Vp.resourceOwner,resourceType:Vp.resourceType,resourceId:`${r.resourcePackageTypeId}`,resourceIdSegmentValues:{resourcePackageTypeId:r.resourcePackageTypeId}},i=p.fromOpts(t,Vp);return new e(i)}static parse(r){let t=p.fromString(r,Vp);return new e(t)}getVariables(){return{resourcePackageTypeId:this.resourcePackageTypeId}}},xp={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"platform",resourceType:"org",resourceIdSlug:"{orgId}",resourceIdSegmentFormats:{orgId:/[a-zA-Z0-9\-]+/}},Rp=class e extends T{constructor(e){super(e),this._orgId=e.resourceIdSegmentValues.orgId}get orgId(){return this._orgId}static create(r){let t={qualifier:xp.qualifier,platformQualifier:xp.platformQualifier,cloudId:void 0,resourceOwner:xp.resourceOwner,resourceType:xp.resourceType,resourceId:`${r.orgId}`,resourceIdSegmentValues:{orgId:r.orgId}},i=p.fromOpts(t,xp);return new e(i)}static parse(r){let t=p.fromString(r,xp);return new e(t)}getVariables(){return{orgId:this.orgId}}},$p={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"platform",resourceType:"org-user",resourceIdSlug:"{orgId}/{userId}",resourceIdSegmentFormats:{orgId:/[a-zA-Z0-9\-]+/,userId:/[a-zA-Z0-9_\-\:]{1,128}/}},Qp=class e extends T{constructor(e){super(e),this._orgId=e.resourceIdSegmentValues.orgId,this._userId=e.resourceIdSegmentValues.userId}get orgId(){return this._orgId}get userId(){return this._userId}static create(r){let t={qualifier:$p.qualifier,platformQualifier:$p.platformQualifier,cloudId:void 0,resourceOwner:$p.resourceOwner,resourceType:$p.resourceType,resourceId:`${r.orgId}/${r.userId}`,resourceIdSegmentValues:{orgId:r.orgId,userId:r.userId}},i=p.fromOpts(t,$p);return new e(i)}static parse(r){let t=p.fromString(r,$p);return new e(t)}getVariables(){return{orgId:this.orgId,userId:this.userId}}},Np={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"platform",resourceType:"secure-tunnel",resourceIdSlug:"{secureTunnelId}",resourceIdSegmentFormats:{secureTunnelId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},Cp=class e extends T{constructor(e){super(e),this._secureTunnelId=e.resourceIdSegmentValues.secureTunnelId}get secureTunnelId(){return this._secureTunnelId}static create(r){let t={qualifier:Np.qualifier,platformQualifier:Np.platformQualifier,cloudId:void 0,resourceOwner:Np.resourceOwner,resourceType:Np.resourceType,resourceId:`${r.secureTunnelId}`,resourceIdSegmentValues:{secureTunnelId:r.secureTunnelId}},i=p.fromOpts(t,Np);return new e(i)}static parse(r){let t=p.fromString(r,Np);return new e(t)}getVariables(){return{secureTunnelId:this.secureTunnelId}}},Fp={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"platform",resourceType:"site",resourceIdSlug:"{siteId}",resourceIdSegmentFormats:{siteId:/[a-zA-Z0-9\-]+/}},zp=class e extends T{constructor(e){super(e),this._siteId=e.resourceIdSegmentValues.siteId}get siteId(){return this._siteId}static create(r){let t={qualifier:Fp.qualifier,platformQualifier:Fp.platformQualifier,cloudId:void 0,resourceOwner:Fp.resourceOwner,resourceType:Fp.resourceType,resourceId:`${r.siteId}`,resourceIdSegmentValues:{siteId:r.siteId}},i=p.fromOpts(t,Fp);return new e(i)}static parse(r){let t=p.fromString(r,Fp);return new e(t)}getVariables(){return{siteId:this.siteId}}},Lp={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"platform-services",resourceType:"streamhub-schema",resourceIdSlug:"{streamhubSchemaId}",resourceIdSegmentFormats:{streamhubSchemaId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},Mp=class e extends T{constructor(e){super(e),this._streamhubSchemaId=e.resourceIdSegmentValues.streamhubSchemaId}get streamhubSchemaId(){return this._streamhubSchemaId}static create(r){let t={qualifier:Lp.qualifier,platformQualifier:Lp.platformQualifier,cloudId:void 0,resourceOwner:Lp.resourceOwner,resourceType:Lp.resourceType,resourceId:`${r.streamhubSchemaId}`,resourceIdSegmentValues:{streamhubSchemaId:r.streamhubSchemaId}},i=p.fromOpts(t,Lp);return new e(i)}static parse(r){let t=p.fromString(r,Lp);return new e(t)}getVariables(){return{streamhubSchemaId:this.streamhubSchemaId}}},Pp={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"pollinator",resourceType:"check",resourceIdSlug:"{checkId}",resourceIdSegmentFormats:{checkId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},jp=class e extends T{constructor(e){super(e),this._checkId=e.resourceIdSegmentValues.checkId}get checkId(){return this._checkId}static create(r){let t={qualifier:Pp.qualifier,platformQualifier:Pp.platformQualifier,cloudId:void 0,resourceOwner:Pp.resourceOwner,resourceType:Pp.resourceType,resourceId:`${r.checkId}`,resourceIdSegmentValues:{checkId:r.checkId}},i=p.fromOpts(t,Pp);return new e(i)}static parse(r){let t=p.fromString(r,Pp);return new e(t)}getVariables(){return{checkId:this.checkId}}},Zp={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"post-office",resourceType:"message-instance",resourceIdSlug:"{messageTemplateId}/{messageInstanceId}",resourceIdSegmentFormats:{messageTemplateId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/,messageInstanceId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},Up=class e extends T{constructor(e){super(e),this._messageTemplateId=e.resourceIdSegmentValues.messageTemplateId,this._messageInstanceId=e.resourceIdSegmentValues.messageInstanceId}get messageTemplateId(){return this._messageTemplateId}get messageInstanceId(){return this._messageInstanceId}static create(r){let t={qualifier:Zp.qualifier,platformQualifier:Zp.platformQualifier,cloudId:void 0,resourceOwner:Zp.resourceOwner,resourceType:Zp.resourceType,resourceId:`${r.messageTemplateId}/${r.messageInstanceId}`,resourceIdSegmentValues:{messageTemplateId:r.messageTemplateId,messageInstanceId:r.messageInstanceId}},i=p.fromOpts(t,Zp);return new e(i)}static parse(r){let t=p.fromString(r,Zp);return new e(t)}getVariables(){return{messageTemplateId:this.messageTemplateId,messageInstanceId:this.messageInstanceId}}},Dp={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"post-office",resourceType:"message-template",resourceIdSlug:"{messageTemplateId}",resourceIdSegmentFormats:{messageTemplateId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},Wp=class e extends T{constructor(e){super(e),this._messageTemplateId=e.resourceIdSegmentValues.messageTemplateId}get messageTemplateId(){return this._messageTemplateId}static create(r){let t={qualifier:Dp.qualifier,platformQualifier:Dp.platformQualifier,cloudId:void 0,resourceOwner:Dp.resourceOwner,resourceType:Dp.resourceType,resourceId:`${r.messageTemplateId}`,resourceIdSegmentValues:{messageTemplateId:r.messageTemplateId}},i=p.fromOpts(t,Dp);return new e(i)}static parse(r){let t=p.fromString(r,Dp);return new e(t)}getVariables(){return{messageTemplateId:this.messageTemplateId}}},Kp={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"rovo",resourceType:"site",resourceIdSlug:"{siteId}",resourceIdSegmentFormats:{siteId:/[a-zA-Z0-9\-]+/}},Bp=class e extends T{constructor(e){super(e),this._siteId=e.resourceIdSegmentValues.siteId}get siteId(){return this._siteId}static create(r){let t={qualifier:Kp.qualifier,platformQualifier:Kp.platformQualifier,cloudId:void 0,resourceOwner:Kp.resourceOwner,resourceType:Kp.resourceType,resourceId:`${r.siteId}`,resourceIdSegmentValues:{siteId:r.siteId}},i=p.fromOpts(t,Kp);return new e(i)}static parse(r){let t=p.fromString(r,Kp);return new e(t)}getVariables(){return{siteId:this.siteId}}},Gp={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"runtime-auth-client",resourceType:"role",resourceIdSlug:"product/{roleType}",resourceIdSegmentFormats:{roleType:/(?:member|admin)/}},Jp=class e extends T{constructor(e){super(e),this._roleType=e.resourceIdSegmentValues.roleType}get roleType(){return this._roleType}static create(r){let t={qualifier:Gp.qualifier,platformQualifier:Gp.platformQualifier,cloudId:void 0,resourceOwner:Gp.resourceOwner,resourceType:Gp.resourceType,resourceId:`product/${r.roleType}`,resourceIdSegmentValues:{roleType:r.roleType}},i=p.fromOpts(t,Gp);return new e(i)}static parse(r){let t=p.fromString(r,Gp);return new e(t)}getVariables(){return{roleType:this.roleType}}},Hp={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"search",resourceType:"event",resourceIdSlug:"{eventType}/{eventId}",resourceIdSegmentFormats:{eventType:/[a-zA-Z0-9\-]+/,eventId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},Yp=class e extends T{constructor(e){super(e),this._eventType=e.resourceIdSegmentValues.eventType,this._eventId=e.resourceIdSegmentValues.eventId}get eventType(){return this._eventType}get eventId(){return this._eventId}static create(r){let t={qualifier:Hp.qualifier,platformQualifier:Hp.platformQualifier,cloudId:void 0,resourceOwner:Hp.resourceOwner,resourceType:Hp.resourceType,resourceId:`${r.eventType}/${r.eventId}`,resourceIdSegmentValues:{eventType:r.eventType,eventId:r.eventId}},i=p.fromOpts(t,Hp);return new e(i)}static parse(r){let t=p.fromString(r,Hp);return new e(t)}getVariables(){return{eventType:this.eventType,eventId:this.eventId}}},Xp={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"search",resourceType:"forward-document",resourceIdSlug:"activation/{activationId}/{documentType}/{documentId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,documentType:/[a-zA-Z0-9\-_]+/,documentId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},ef=class e extends T{constructor(e){super(e),this._activationId=e.resourceIdSegmentValues.activationId,this._documentType=e.resourceIdSegmentValues.documentType,this._documentId=e.resourceIdSegmentValues.documentId}get activationId(){return this._activationId}get documentType(){return this._documentType}get documentId(){return this._documentId}static create(r){let t={qualifier:Xp.qualifier,platformQualifier:Xp.platformQualifier,cloudId:void 0,resourceOwner:Xp.resourceOwner,resourceType:Xp.resourceType,resourceId:`activation/${r.activationId}/${r.documentType}/${r.documentId}`,resourceIdSegmentValues:{activationId:r.activationId,documentType:r.documentType,documentId:r.documentId}},i=p.fromOpts(t,Xp);return new e(i)}static parse(r){let t=p.fromString(r,Xp);return new e(t)}getVariables(){return{activationId:this.activationId,documentType:this.documentType,documentId:this.documentId}}},rf={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"search",resourceType:"forward-document-subscription",resourceIdSlug:"activation/{activationId}/{subscriptionType}/{subscriptionId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,subscriptionType:/[a-zA-Z0-9\-_]+/,subscriptionId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},tf=class e extends T{constructor(e){super(e),this._activationId=e.resourceIdSegmentValues.activationId,this._subscriptionType=e.resourceIdSegmentValues.subscriptionType,this._subscriptionId=e.resourceIdSegmentValues.subscriptionId}get activationId(){return this._activationId}get subscriptionType(){return this._subscriptionType}get subscriptionId(){return this._subscriptionId}static create(r){let t={qualifier:rf.qualifier,platformQualifier:rf.platformQualifier,cloudId:void 0,resourceOwner:rf.resourceOwner,resourceType:rf.resourceType,resourceId:`activation/${r.activationId}/${r.subscriptionType}/${r.subscriptionId}`,resourceIdSegmentValues:{activationId:r.activationId,subscriptionType:r.subscriptionType,subscriptionId:r.subscriptionId}},i=p.fromOpts(t,rf);return new e(i)}static parse(r){let t=p.fromString(r,rf);return new e(t)}getVariables(){return{activationId:this.activationId,subscriptionType:this.subscriptionType,subscriptionId:this.subscriptionId}}},nf={qualifier:"ari",platformQualifier:"third-party",cloudId:new RegExp("^$"),resourceOwner:"slack",resourceType:"channel",resourceIdSlug:"workspaceId/{workspaceId}/channelId/{channelId}",resourceIdSegmentFormats:{workspaceId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/,channelId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},of=class e extends T{constructor(e){super(e),this._workspaceId=e.resourceIdSegmentValues.workspaceId,this._channelId=e.resourceIdSegmentValues.channelId}get workspaceId(){return this._workspaceId}get channelId(){return this._channelId}static create(r){let t={qualifier:nf.qualifier,platformQualifier:nf.platformQualifier,cloudId:void 0,resourceOwner:nf.resourceOwner,resourceType:nf.resourceType,resourceId:`workspaceId/${r.workspaceId}/channelId/${r.channelId}`,resourceIdSegmentValues:{workspaceId:r.workspaceId,channelId:r.channelId}},i=p.fromOpts(t,nf);return new e(i)}static parse(r){let t=p.fromString(r,nf);return new e(t)}getVariables(){return{workspaceId:this.workspaceId,channelId:this.channelId}}},af={qualifier:"ari",platformQualifier:"third-party",cloudId:new RegExp("^$"),resourceOwner:"slack",resourceType:"message",resourceIdSlug:"workspaceId/{workspaceId}/channelId/{channelId}/messageId/{messageId}",resourceIdSegmentFormats:{workspaceId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/,channelId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/,messageId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},sf=class e extends T{constructor(e){super(e),this._workspaceId=e.resourceIdSegmentValues.workspaceId,this._channelId=e.resourceIdSegmentValues.channelId,this._messageId=e.resourceIdSegmentValues.messageId}get workspaceId(){return this._workspaceId}get channelId(){return this._channelId}get messageId(){return this._messageId}static create(r){let t={qualifier:af.qualifier,platformQualifier:af.platformQualifier,cloudId:void 0,resourceOwner:af.resourceOwner,resourceType:af.resourceType,resourceId:`workspaceId/${r.workspaceId}/channelId/${r.channelId}/messageId/${r.messageId}`,resourceIdSegmentValues:{workspaceId:r.workspaceId,channelId:r.channelId,messageId:r.messageId}},i=p.fromOpts(t,af);return new e(i)}static parse(r){let t=p.fromString(r,af);return new e(t)}getVariables(){return{workspaceId:this.workspaceId,channelId:this.channelId,messageId:this.messageId}}},uf={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"statuspage",resourceType:"role",resourceIdSlug:"{roleId}",resourceIdSegmentFormats:{roleId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},cf=class e extends T{constructor(e){super(e),this._roleId=e.resourceIdSegmentValues.roleId}get roleId(){return this._roleId}static create(r){let t={qualifier:uf.qualifier,platformQualifier:uf.platformQualifier,cloudId:void 0,resourceOwner:uf.resourceOwner,resourceType:uf.resourceType,resourceId:`${r.roleId}`,resourceIdSegmentValues:{roleId:r.roleId}},i=p.fromOpts(t,uf);return new e(i)}static parse(r){let t=p.fromString(r,uf);return new e(t)}getVariables(){return{roleId:this.roleId}}},df={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"statuspage",resourceType:"site",resourceIdSlug:"{siteId}",resourceIdSegmentFormats:{siteId:/[a-zA-Z0-9\-]+/}},lf=class e extends T{constructor(e){super(e),this._siteId=e.resourceIdSegmentValues.siteId}get siteId(){return this._siteId}static create(r){let t={qualifier:df.qualifier,platformQualifier:df.platformQualifier,cloudId:void 0,resourceOwner:df.resourceOwner,resourceType:df.resourceType,resourceId:`${r.siteId}`,resourceIdSegmentValues:{siteId:r.siteId}},i=p.fromOpts(t,df);return new e(i)}static parse(r){let t=p.fromString(r,df);return new e(t)}getVariables(){return{siteId:this.siteId}}},If={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"support",resourceType:"customer",resourceIdSlug:"{resourceName}",resourceIdSegmentFormats:{resourceName:/[a-zA-Z0-9\-_.]*/}},pf=class e extends T{constructor(e){super(e),this._resourceName=e.resourceIdSegmentValues.resourceName}get resourceName(){return this._resourceName}static create(r){let t={qualifier:If.qualifier,platformQualifier:If.platformQualifier,cloudId:void 0,resourceOwner:If.resourceOwner,resourceType:If.resourceType,resourceId:`${r.resourceName}`,resourceIdSegmentValues:{resourceName:r.resourceName||""}},i=p.fromOpts(t,If);return new e(i)}static parse(r){let t=p.fromString(r,If);return new e(t)}getVariables(){return{resourceName:this.resourceName}}},ff={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"teams",resourceType:"team",resourceIdSlug:"{teamId}",resourceIdSegmentFormats:{teamId:/[a-zA-Z0-9.\-_~]+/}},mf=class e extends T{constructor(e){super(e),this._teamId=e.resourceIdSegmentValues.teamId}get teamId(){return this._teamId}static create(r){let t={qualifier:ff.qualifier,platformQualifier:ff.platformQualifier,cloudId:void 0,resourceOwner:ff.resourceOwner,resourceType:ff.resourceType,resourceId:`${r.teamId}`,resourceIdSegmentValues:{teamId:r.teamId}},i=p.fromOpts(t,ff);return new e(i)}static parse(r){let t=p.fromString(r,ff);return new e(t)}getVariables(){return{teamId:this.teamId}}},hf={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"townsquare",resourceType:"comment",resourceIdSlug:"{commentUuid}",resourceIdSegmentFormats:{commentUuid:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},gf=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._commentUuid=e.resourceIdSegmentValues.commentUuid}get siteId(){return this._siteId}get commentUuid(){return this._commentUuid}static create(r){let t={qualifier:hf.qualifier,platformQualifier:hf.platformQualifier,cloudId:r.siteId,resourceOwner:hf.resourceOwner,resourceType:hf.resourceType,resourceId:`${r.commentUuid}`,resourceIdSegmentValues:{commentUuid:r.commentUuid}},i=p.fromOpts(t,hf);return new e(i)}static parse(r){let t=p.fromString(r,hf);return new e(t)}getVariables(){return{siteId:this.siteId,commentUuid:this.commentUuid}}},vf={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"townsquare",resourceType:"goal",resourceIdSlug:"{goalUuid}",resourceIdSegmentFormats:{goalUuid:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},yf=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._goalUuid=e.resourceIdSegmentValues.goalUuid}get siteId(){return this._siteId}get goalUuid(){return this._goalUuid}static create(r){let t={qualifier:vf.qualifier,platformQualifier:vf.platformQualifier,cloudId:r.siteId,resourceOwner:vf.resourceOwner,resourceType:vf.resourceType,resourceId:`${r.goalUuid}`,resourceIdSegmentValues:{goalUuid:r.goalUuid}},i=p.fromOpts(t,vf);return new e(i)}static parse(r){let t=p.fromString(r,vf);return new e(t)}getVariables(){return{siteId:this.siteId,goalUuid:this.goalUuid}}},wf={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"townsquare",resourceType:"help-pointer",resourceIdSlug:"{helpPointerUuid}",resourceIdSegmentFormats:{helpPointerUuid:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},Sf=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._helpPointerUuid=e.resourceIdSegmentValues.helpPointerUuid}get siteId(){return this._siteId}get helpPointerUuid(){return this._helpPointerUuid}static create(r){let t={qualifier:wf.qualifier,platformQualifier:wf.platformQualifier,cloudId:r.siteId,resourceOwner:wf.resourceOwner,resourceType:wf.resourceType,resourceId:`${r.helpPointerUuid}`,resourceIdSegmentValues:{helpPointerUuid:r.helpPointerUuid}},i=p.fromOpts(t,wf);return new e(i)}static parse(r){let t=p.fromString(r,wf);return new e(t)}getVariables(){return{siteId:this.siteId,helpPointerUuid:this.helpPointerUuid}}},_f={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"townsquare",resourceType:"learning",resourceIdSlug:"{learningUuid}",resourceIdSegmentFormats:{learningUuid:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},bf=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._learningUuid=e.resourceIdSegmentValues.learningUuid}get siteId(){return this._siteId}get learningUuid(){return this._learningUuid}static create(r){let t={qualifier:_f.qualifier,platformQualifier:_f.platformQualifier,cloudId:r.siteId,resourceOwner:_f.resourceOwner,resourceType:_f.resourceType,resourceId:`${r.learningUuid}`,resourceIdSegmentValues:{learningUuid:r.learningUuid}},i=p.fromOpts(t,_f);return new e(i)}static parse(r){let t=p.fromString(r,_f);return new e(t)}getVariables(){return{siteId:this.siteId,learningUuid:this.learningUuid}}},Tf={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"townsquare",resourceType:"project",resourceIdSlug:"{projectUuid}",resourceIdSegmentFormats:{projectUuid:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},Of=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._projectUuid=e.resourceIdSegmentValues.projectUuid}get siteId(){return this._siteId}get projectUuid(){return this._projectUuid}static create(r){let t={qualifier:Tf.qualifier,platformQualifier:Tf.platformQualifier,cloudId:r.siteId,resourceOwner:Tf.resourceOwner,resourceType:Tf.resourceType,resourceId:`${r.projectUuid}`,resourceIdSegmentValues:{projectUuid:r.projectUuid}},i=p.fromOpts(t,Tf);return new e(i)}static parse(r){let t=p.fromString(r,Tf);return new e(t)}getVariables(){return{siteId:this.siteId,projectUuid:this.projectUuid}}},kf={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"townsquare",resourceType:"question",resourceIdSlug:"{questionUuid}",resourceIdSegmentFormats:{questionUuid:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},Af=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._questionUuid=e.resourceIdSegmentValues.questionUuid}get siteId(){return this._siteId}get questionUuid(){return this._questionUuid}static create(r){let t={qualifier:kf.qualifier,platformQualifier:kf.platformQualifier,cloudId:r.siteId,resourceOwner:kf.resourceOwner,resourceType:kf.resourceType,resourceId:`${r.questionUuid}`,resourceIdSegmentValues:{questionUuid:r.questionUuid}},i=p.fromOpts(t,kf);return new e(i)}static parse(r){let t=p.fromString(r,kf);return new e(t)}getVariables(){return{siteId:this.siteId,questionUuid:this.questionUuid}}},qf={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"townsquare",resourceType:"role",resourceIdSlug:"product/{roleType}",resourceIdSegmentFormats:{roleType:/(?:member|admin)/}},Vf=class e extends T{constructor(e){super(e),this._roleType=e.resourceIdSegmentValues.roleType}get roleType(){return this._roleType}static create(r){let t={qualifier:qf.qualifier,platformQualifier:qf.platformQualifier,cloudId:void 0,resourceOwner:qf.resourceOwner,resourceType:qf.resourceType,resourceId:`product/${r.roleType}`,resourceIdSegmentValues:{roleType:r.roleType}},i=p.fromOpts(t,qf);return new e(i)}static parse(r){let t=p.fromString(r,qf);return new e(t)}getVariables(){return{roleType:this.roleType}}},Ef={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"townsquare",resourceType:"site",resourceIdSlug:"{siteId}",resourceIdSegmentFormats:{siteId:/[a-zA-Z0-9\-]+/}},xf=class e extends T{constructor(e){super(e),this._siteId=e.resourceIdSegmentValues.siteId}get siteId(){return this._siteId}static create(r){let t={qualifier:Ef.qualifier,platformQualifier:Ef.platformQualifier,cloudId:void 0,resourceOwner:Ef.resourceOwner,resourceType:Ef.resourceType,resourceId:`${r.siteId}`,resourceIdSegmentValues:{siteId:r.siteId}},i=p.fromOpts(t,Ef);return new e(i)}static parse(r){let t=p.fromString(r,Ef);return new e(t)}getVariables(){return{siteId:this.siteId}}},Rf={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"townsquare",resourceType:"tag",resourceIdSlug:"{tagUuid}",resourceIdSegmentFormats:{tagUuid:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},$f=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._tagUuid=e.resourceIdSegmentValues.tagUuid}get siteId(){return this._siteId}get tagUuid(){return this._tagUuid}static create(r){let t={qualifier:Rf.qualifier,platformQualifier:Rf.platformQualifier,cloudId:r.siteId,resourceOwner:Rf.resourceOwner,resourceType:Rf.resourceType,resourceId:`${r.tagUuid}`,resourceIdSegmentValues:{tagUuid:r.tagUuid}},i=p.fromOpts(t,Rf);return new e(i)}static parse(r){let t=p.fromString(r,Rf);return new e(t)}getVariables(){return{siteId:this.siteId,tagUuid:this.tagUuid}}},Qf={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"townsquare",resourceType:"workspace",resourceIdSlug:"{activationId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/}},Nf=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._activationId=e.resourceIdSegmentValues.activationId}get siteId(){return this._siteId}get activationId(){return this._activationId}static create(r){let t={qualifier:Qf.qualifier,platformQualifier:Qf.platformQualifier,cloudId:r.siteId,resourceOwner:Qf.resourceOwner,resourceType:Qf.resourceType,resourceId:`${r.activationId}`,resourceIdSegmentValues:{activationId:r.activationId}},i=p.fromOpts(t,Qf);return new e(i)}static parse(r){let t=p.fromString(r,Qf);return new e(t)}getVariables(){return{siteId:this.siteId,activationId:this.activationId}}},Cf={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"trello",resourceType:"attachment",resourceIdSlug:"card/workspace/{workspaceId}/{cardId}/{attachmentId}",resourceIdSegmentFormats:{workspaceId:/[a-zA-Z0-9\-_.]*/,cardId:/[a-zA-Z0-9\-_.]*/,attachmentId:/[a-zA-Z0-9\-_.]*/}},Ff=class e extends T{constructor(e){super(e),this._workspaceId=e.resourceIdSegmentValues.workspaceId,this._cardId=e.resourceIdSegmentValues.cardId,this._attachmentId=e.resourceIdSegmentValues.attachmentId}get workspaceId(){return this._workspaceId}get cardId(){return this._cardId}get attachmentId(){return this._attachmentId}static create(r){let t={qualifier:Cf.qualifier,platformQualifier:Cf.platformQualifier,cloudId:void 0,resourceOwner:Cf.resourceOwner,resourceType:Cf.resourceType,resourceId:`card/workspace/${r.workspaceId}/${r.cardId}/${r.attachmentId}`,resourceIdSegmentValues:{workspaceId:r.workspaceId||"",cardId:r.cardId||"",attachmentId:r.attachmentId||""}},i=p.fromOpts(t,Cf);return new e(i)}static parse(r){let t=p.fromString(r,Cf);return new e(t)}getVariables(){return{workspaceId:this.workspaceId,cardId:this.cardId,attachmentId:this.attachmentId}}},zf={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"trello",resourceType:"board",resourceIdSlug:"workspace/{workspaceId}/{boardId}",resourceIdSegmentFormats:{workspaceId:/[a-zA-Z0-9\-_.]*/,boardId:/[a-zA-Z0-9\-_.]*/}},Lf=class e extends T{constructor(e){super(e),this._workspaceId=e.resourceIdSegmentValues.workspaceId,this._boardId=e.resourceIdSegmentValues.boardId}get workspaceId(){return this._workspaceId}get boardId(){return this._boardId}static create(r){let t={qualifier:zf.qualifier,platformQualifier:zf.platformQualifier,cloudId:void 0,resourceOwner:zf.resourceOwner,resourceType:zf.resourceType,resourceId:`workspace/${r.workspaceId}/${r.boardId}`,resourceIdSegmentValues:{workspaceId:r.workspaceId||"",boardId:r.boardId||""}},i=p.fromOpts(t,zf);return new e(i)}static parse(r){let t=p.fromString(r,zf);return new e(t)}getVariables(){return{workspaceId:this.workspaceId,boardId:this.boardId}}},Mf={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"trello",resourceType:"card",resourceIdSlug:"workspace/{workspaceId}/{cardId}",resourceIdSegmentFormats:{workspaceId:/[a-zA-Z0-9\-_.]*/,cardId:/[a-zA-Z0-9\-_.]*/}},Pf=class e extends T{constructor(e){super(e),this._workspaceId=e.resourceIdSegmentValues.workspaceId,this._cardId=e.resourceIdSegmentValues.cardId}get workspaceId(){return this._workspaceId}get cardId(){return this._cardId}static create(r){let t={qualifier:Mf.qualifier,platformQualifier:Mf.platformQualifier,cloudId:void 0,resourceOwner:Mf.resourceOwner,resourceType:Mf.resourceType,resourceId:`workspace/${r.workspaceId}/${r.cardId}`,resourceIdSegmentValues:{workspaceId:r.workspaceId||"",cardId:r.cardId||""}},i=p.fromOpts(t,Mf);return new e(i)}static parse(r){let t=p.fromString(r,Mf);return new e(t)}getVariables(){return{workspaceId:this.workspaceId,cardId:this.cardId}}},jf={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"trello",resourceType:"enterprise",resourceIdSlug:"{enterpriseId}",resourceIdSegmentFormats:{enterpriseId:/[a-zA-Z0-9\-_.]*/}},Zf=class e extends T{constructor(e){super(e),this._enterpriseId=e.resourceIdSegmentValues.enterpriseId}get enterpriseId(){return this._enterpriseId}static create(r){let t={qualifier:jf.qualifier,platformQualifier:jf.platformQualifier,cloudId:void 0,resourceOwner:jf.resourceOwner,resourceType:jf.resourceType,resourceId:`${r.enterpriseId}`,resourceIdSegmentValues:{enterpriseId:r.enterpriseId||""}},i=p.fromOpts(t,jf);return new e(i)}static parse(r){let t=p.fromString(r,jf);return new e(t)}getVariables(){return{enterpriseId:this.enterpriseId}}},Uf={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"trello",resourceType:"list",resourceIdSlug:"workspace/{workspaceId}/{listId}",resourceIdSegmentFormats:{workspaceId:/[a-zA-Z0-9\-_.]*/,listId:/[a-zA-Z0-9\-_.]*/}},Df=class e extends T{constructor(e){super(e),this._workspaceId=e.resourceIdSegmentValues.workspaceId,this._listId=e.resourceIdSegmentValues.listId}get workspaceId(){return this._workspaceId}get listId(){return this._listId}static create(r){let t={qualifier:Uf.qualifier,platformQualifier:Uf.platformQualifier,cloudId:void 0,resourceOwner:Uf.resourceOwner,resourceType:Uf.resourceType,resourceId:`workspace/${r.workspaceId}/${r.listId}`,resourceIdSegmentValues:{workspaceId:r.workspaceId||"",listId:r.listId||""}},i=p.fromOpts(t,Uf);return new e(i)}static parse(r){let t=p.fromString(r,Uf);return new e(t)}getVariables(){return{workspaceId:this.workspaceId,listId:this.listId}}},Wf={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"trello",resourceType:"role",resourceIdSlug:"{roleGroup}/{roleType}",resourceIdSegmentFormats:{roleGroup:/(?:workspace|enterprise|product)/,roleType:/(?:member|admin)/}},Kf=class e extends T{constructor(e){super(e),this._roleGroup=e.resourceIdSegmentValues.roleGroup,this._roleType=e.resourceIdSegmentValues.roleType}get roleGroup(){return this._roleGroup}get roleType(){return this._roleType}static create(r){let t={qualifier:Wf.qualifier,platformQualifier:Wf.platformQualifier,cloudId:void 0,resourceOwner:Wf.resourceOwner,resourceType:Wf.resourceType,resourceId:`${r.roleGroup}/${r.roleType}`,resourceIdSegmentValues:{roleGroup:r.roleGroup,roleType:r.roleType}},i=p.fromOpts(t,Wf);return new e(i)}static parse(r){let t=p.fromString(r,Wf);return new e(t)}getVariables(){return{roleGroup:this.roleGroup,roleType:this.roleType}}},Bf={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"trello",resourceType:"site",resourceIdSlug:"trello",resourceIdSegmentFormats:{}},Gf=class e extends T{constructor(e){super(e)}static create(r){let t={qualifier:Bf.qualifier,platformQualifier:Bf.platformQualifier,cloudId:void 0,resourceOwner:Bf.resourceOwner,resourceType:Bf.resourceType,resourceId:"trello",resourceIdSegmentValues:{}},i=p.fromOpts(t,Bf);return new e(i)}static parse(r){let t=p.fromString(r,Bf);return new e(t)}getVariables(){return{}}},Jf={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"trello",resourceType:"user",resourceIdSlug:"{userId}",resourceIdSegmentFormats:{userId:/[a-zA-Z0-9\-_.]*/}},Hf=class e extends T{constructor(e){super(e),this._userId=e.resourceIdSegmentValues.userId}get userId(){return this._userId}static create(r){let t={qualifier:Jf.qualifier,platformQualifier:Jf.platformQualifier,cloudId:void 0,resourceOwner:Jf.resourceOwner,resourceType:Jf.resourceType,resourceId:`${r.userId}`,resourceIdSegmentValues:{userId:r.userId||""}},i=p.fromOpts(t,Jf);return new e(i)}static parse(r){let t=p.fromString(r,Jf);return new e(t)}getVariables(){return{userId:this.userId}}},Yf={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"trello",resourceType:"workspace",resourceIdSlug:"{workspaceId}",resourceIdSegmentFormats:{workspaceId:/[a-zA-Z0-9\-_.]*/}},Xf=class e extends T{constructor(e){super(e),this._workspaceId=e.resourceIdSegmentValues.workspaceId}get workspaceId(){return this._workspaceId}static create(r){let t={qualifier:Yf.qualifier,platformQualifier:Yf.platformQualifier,cloudId:void 0,resourceOwner:Yf.resourceOwner,resourceType:Yf.resourceType,resourceId:`${r.workspaceId}`,resourceIdSegmentValues:{workspaceId:r.workspaceId||""}},i=p.fromOpts(t,Yf);return new e(i)}static parse(r){let t=p.fromString(r,Yf);return new e(t)}getVariables(){return{workspaceId:this.workspaceId}}},em={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"unified-help",resourceType:"role",resourceIdSlug:"product/{roleType}",resourceIdSegmentFormats:{roleType:/(?:member|admin)/}},rm=class e extends T{constructor(e){super(e),this._roleType=e.resourceIdSegmentValues.roleType}get roleType(){return this._roleType}static create(r){let t={qualifier:em.qualifier,platformQualifier:em.platformQualifier,cloudId:void 0,resourceOwner:em.resourceOwner,resourceType:em.resourceType,resourceId:`product/${r.roleType}`,resourceIdSegmentValues:{roleType:r.roleType}},i=p.fromOpts(t,em);return new e(i)}static parse(r){let t=p.fromString(r,em);return new e(t)}getVariables(){return{roleType:this.roleType}}},tm={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"unified-help",resourceType:"site",resourceIdSlug:"{siteId}",resourceIdSegmentFormats:{siteId:/[a-zA-Z0-9\-]+/}},im=class e extends T{constructor(e){super(e),this._siteId=e.resourceIdSegmentValues.siteId}get siteId(){return this._siteId}static create(r){let t={qualifier:tm.qualifier,platformQualifier:tm.platformQualifier,cloudId:void 0,resourceOwner:tm.resourceOwner,resourceType:tm.resourceType,resourceId:`${r.siteId}`,resourceIdSegmentValues:{siteId:r.siteId}},i=p.fromOpts(t,tm);return new e(i)}static parse(r){let t=p.fromString(r,tm);return new e(t)}getVariables(){return{siteId:this.siteId}}},nm={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"unified-help",resourceType:"workspace",resourceIdSlug:"{activationId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/}},om=class e extends T{constructor(e){super(e),this._activationId=e.resourceIdSegmentValues.activationId}get activationId(){return this._activationId}static create(r){let t={qualifier:nm.qualifier,platformQualifier:nm.platformQualifier,cloudId:void 0,resourceOwner:nm.resourceOwner,resourceType:nm.resourceType,resourceId:`${r.activationId}`,resourceIdSegmentValues:{activationId:r.activationId}},i=p.fromOpts(t,nm);return new e(i)}static parse(r){let t=p.fromString(r,nm);return new e(t)}getVariables(){return{activationId:this.activationId}}},am={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"unified-portable-profile",resourceType:"linked-account",resourceIdSlug:"{linkedAccountInternalId}",resourceIdSegmentFormats:{linkedAccountInternalId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},sm=class e extends T{constructor(e){super(e),this._linkedAccountInternalId=e.resourceIdSegmentValues.linkedAccountInternalId}get linkedAccountInternalId(){return this._linkedAccountInternalId}static create(r){let t={qualifier:am.qualifier,platformQualifier:am.platformQualifier,cloudId:void 0,resourceOwner:am.resourceOwner,resourceType:am.resourceType,resourceId:`${r.linkedAccountInternalId}`,resourceIdSegmentValues:{linkedAccountInternalId:r.linkedAccountInternalId}},i=p.fromOpts(t,am);return new e(i)}static parse(r){let t=p.fromString(r,am);return new e(t)}getVariables(){return{linkedAccountInternalId:this.linkedAccountInternalId}}},um={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"unified-portable-profile",resourceType:"parent-account",resourceIdSlug:"{parentAccountInternalId}",resourceIdSegmentFormats:{parentAccountInternalId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},cm=class e extends T{constructor(e){super(e),this._parentAccountInternalId=e.resourceIdSegmentValues.parentAccountInternalId}get parentAccountInternalId(){return this._parentAccountInternalId}static create(r){let t={qualifier:um.qualifier,platformQualifier:um.platformQualifier,cloudId:void 0,resourceOwner:um.resourceOwner,resourceType:um.resourceType,resourceId:`${r.parentAccountInternalId}`,resourceIdSegmentValues:{parentAccountInternalId:r.parentAccountInternalId}},i=p.fromOpts(t,um);return new e(i)}static parse(r){let t=p.fromString(r,um);return new e(t)}getVariables(){return{parentAccountInternalId:this.parentAccountInternalId}}},dm={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"unified-portable-profile",resourceType:"unified-account",resourceIdSlug:"{linkedAccountInternalId}",resourceIdSegmentFormats:{linkedAccountInternalId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},lm=class e extends T{constructor(e){super(e),this._linkedAccountInternalId=e.resourceIdSegmentValues.linkedAccountInternalId}get linkedAccountInternalId(){return this._linkedAccountInternalId}static create(r){let t={qualifier:dm.qualifier,platformQualifier:dm.platformQualifier,cloudId:void 0,resourceOwner:dm.resourceOwner,resourceType:dm.resourceType,resourceId:`${r.linkedAccountInternalId}`,resourceIdSegmentValues:{linkedAccountInternalId:r.linkedAccountInternalId}},i=p.fromOpts(t,dm);return new e(i)}static parse(r){let t=p.fromString(r,dm);return new e(t)}getVariables(){return{linkedAccountInternalId:this.linkedAccountInternalId}}},Im={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"unified-portable-profile",resourceType:"unified-profile",resourceIdSlug:"{unifiedProfileInternalId}",resourceIdSegmentFormats:{unifiedProfileInternalId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},pm=class e extends T{constructor(e){super(e),this._unifiedProfileInternalId=e.resourceIdSegmentValues.unifiedProfileInternalId}get unifiedProfileInternalId(){return this._unifiedProfileInternalId}static create(r){let t={qualifier:Im.qualifier,platformQualifier:Im.platformQualifier,cloudId:void 0,resourceOwner:Im.resourceOwner,resourceType:Im.resourceType,resourceId:`${r.unifiedProfileInternalId}`,resourceIdSegmentValues:{unifiedProfileInternalId:r.unifiedProfileInternalId}},i=p.fromOpts(t,Im);return new e(i)}static parse(r){let t=p.fromString(r,Im);return new e(t)}getVariables(){return{unifiedProfileInternalId:this.unifiedProfileInternalId}}},fm={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"virtual-agent",resourceType:"configuration",resourceIdSlug:"{activationId}/{configurationId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,configurationId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},mm=class e extends T{constructor(e){super(e),this._activationId=e.resourceIdSegmentValues.activationId,this._configurationId=e.resourceIdSegmentValues.configurationId}get activationId(){return this._activationId}get configurationId(){return this._configurationId}static create(r){let t={qualifier:fm.qualifier,platformQualifier:fm.platformQualifier,cloudId:void 0,resourceOwner:fm.resourceOwner,resourceType:fm.resourceType,resourceId:`${r.activationId}/${r.configurationId}`,resourceIdSegmentValues:{activationId:r.activationId,configurationId:r.configurationId}},i=p.fromOpts(t,fm);return new e(i)}static parse(r){let t=p.fromString(r,fm);return new e(t)}getVariables(){return{activationId:this.activationId,configurationId:this.configurationId}}},hm={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"virtual-agent",resourceType:"conversation",resourceIdSlug:"{activationId}/{configurationId}/{conversationId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,configurationId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/,conversationId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},gm=class e extends T{constructor(e){super(e),this._activationId=e.resourceIdSegmentValues.activationId,this._configurationId=e.resourceIdSegmentValues.configurationId,this._conversationId=e.resourceIdSegmentValues.conversationId}get activationId(){return this._activationId}get configurationId(){return this._configurationId}get conversationId(){return this._conversationId}static create(r){let t={qualifier:hm.qualifier,platformQualifier:hm.platformQualifier,cloudId:void 0,resourceOwner:hm.resourceOwner,resourceType:hm.resourceType,resourceId:`${r.activationId}/${r.configurationId}/${r.conversationId}`,resourceIdSegmentValues:{activationId:r.activationId,configurationId:r.configurationId,conversationId:r.conversationId}},i=p.fromOpts(t,hm);return new e(i)}static parse(r){let t=p.fromString(r,hm);return new e(t)}getVariables(){return{activationId:this.activationId,configurationId:this.configurationId,conversationId:this.conversationId}}},vm={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"virtual-agent",resourceType:"flow-editor",resourceIdSlug:"{activationId}/{configurationId}/{flowEditorId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,configurationId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/,flowEditorId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},ym=class e extends T{constructor(e){super(e),this._activationId=e.resourceIdSegmentValues.activationId,this._configurationId=e.resourceIdSegmentValues.configurationId,this._flowEditorId=e.resourceIdSegmentValues.flowEditorId}get activationId(){return this._activationId}get configurationId(){return this._configurationId}get flowEditorId(){return this._flowEditorId}static create(r){let t={qualifier:vm.qualifier,platformQualifier:vm.platformQualifier,cloudId:void 0,resourceOwner:vm.resourceOwner,resourceType:vm.resourceType,resourceId:`${r.activationId}/${r.configurationId}/${r.flowEditorId}`,resourceIdSegmentValues:{activationId:r.activationId,configurationId:r.configurationId,flowEditorId:r.flowEditorId}},i=p.fromOpts(t,vm);return new e(i)}static parse(r){let t=p.fromString(r,vm);return new e(t)}getVariables(){return{activationId:this.activationId,configurationId:this.configurationId,flowEditorId:this.flowEditorId}}},wm={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"virtual-agent",resourceType:"intent-projection",resourceIdSlug:"{activationId}/{configurationId}/{intentId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,configurationId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/,intentId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},Sm=class e extends T{constructor(e){super(e),this._activationId=e.resourceIdSegmentValues.activationId,this._configurationId=e.resourceIdSegmentValues.configurationId,this._intentId=e.resourceIdSegmentValues.intentId}get activationId(){return this._activationId}get configurationId(){return this._configurationId}get intentId(){return this._intentId}static create(r){let t={qualifier:wm.qualifier,platformQualifier:wm.platformQualifier,cloudId:void 0,resourceOwner:wm.resourceOwner,resourceType:wm.resourceType,resourceId:`${r.activationId}/${r.configurationId}/${r.intentId}`,resourceIdSegmentValues:{activationId:r.activationId,configurationId:r.configurationId,intentId:r.intentId}},i=p.fromOpts(t,wm);return new e(i)}static parse(r){let t=p.fromString(r,wm);return new e(t)}getVariables(){return{activationId:this.activationId,configurationId:this.configurationId,intentId:this.intentId}}},_m={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"virtual-agent",resourceType:"intent-question-projection",resourceIdSlug:"{activationId}/{configurationId}/{intentQuestionId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,configurationId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/,intentQuestionId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},bm=class e extends T{constructor(e){super(e),this._activationId=e.resourceIdSegmentValues.activationId,this._configurationId=e.resourceIdSegmentValues.configurationId,this._intentQuestionId=e.resourceIdSegmentValues.intentQuestionId}get activationId(){return this._activationId}get configurationId(){return this._configurationId}get intentQuestionId(){return this._intentQuestionId}static create(r){let t={qualifier:_m.qualifier,platformQualifier:_m.platformQualifier,cloudId:void 0,resourceOwner:_m.resourceOwner,resourceType:_m.resourceType,resourceId:`${r.activationId}/${r.configurationId}/${r.intentQuestionId}`,resourceIdSegmentValues:{activationId:r.activationId,configurationId:r.configurationId,intentQuestionId:r.intentQuestionId}},i=p.fromOpts(t,_m);return new e(i)}static parse(r){let t=p.fromString(r,_m);return new e(t)}getVariables(){return{activationId:this.activationId,configurationId:this.configurationId,intentQuestionId:this.intentQuestionId}}},Tm={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"virtual-agent",resourceType:"intent-rule-projection",resourceIdSlug:"{activationId}/{configurationId}/{intentId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,configurationId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/,intentId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},Om=class e extends T{constructor(e){super(e),this._activationId=e.resourceIdSegmentValues.activationId,this._configurationId=e.resourceIdSegmentValues.configurationId,this._intentId=e.resourceIdSegmentValues.intentId}get activationId(){return this._activationId}get configurationId(){return this._configurationId}get intentId(){return this._intentId}static create(r){let t={qualifier:Tm.qualifier,platformQualifier:Tm.platformQualifier,cloudId:void 0,resourceOwner:Tm.resourceOwner,resourceType:Tm.resourceType,resourceId:`${r.activationId}/${r.configurationId}/${r.intentId}`,resourceIdSegmentValues:{activationId:r.activationId,configurationId:r.configurationId,intentId:r.intentId}},i=p.fromOpts(t,Tm);return new e(i)}static parse(r){let t=p.fromString(r,Tm);return new e(t)}getVariables(){return{activationId:this.activationId,configurationId:this.configurationId,intentId:this.intentId}}},km={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"virtual-agent",resourceType:"intent-template",resourceIdSlug:"{activationId}/{intentTemplateId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,intentTemplateId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},Am=class e extends T{constructor(e){super(e),this._activationId=e.resourceIdSegmentValues.activationId,this._intentTemplateId=e.resourceIdSegmentValues.intentTemplateId}get activationId(){return this._activationId}get intentTemplateId(){return this._intentTemplateId}static create(r){let t={qualifier:km.qualifier,platformQualifier:km.platformQualifier,cloudId:void 0,resourceOwner:km.resourceOwner,resourceType:km.resourceType,resourceId:`${r.activationId}/${r.intentTemplateId}`,resourceIdSegmentValues:{activationId:r.activationId,intentTemplateId:r.intentTemplateId}},i=p.fromOpts(t,km);return new e(i)}static parse(r){let t=p.fromString(r,km);return new e(t)}getVariables(){return{activationId:this.activationId,intentTemplateId:this.intentTemplateId}}},qm={qualifier:"ari",platformQualifier:"third-party",cloudId:new RegExp("^$"),resourceOwner:"workato",resourceType:"job",resourceIdSlug:"{workatoTenantKey}/{jobId}",resourceIdSegmentFormats:{workatoTenantKey:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/,jobId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},Vm=class e extends T{constructor(e){super(e),this._workatoTenantKey=e.resourceIdSegmentValues.workatoTenantKey,this._jobId=e.resourceIdSegmentValues.jobId}get workatoTenantKey(){return this._workatoTenantKey}get jobId(){return this._jobId}static create(r){let t={qualifier:qm.qualifier,platformQualifier:qm.platformQualifier,cloudId:void 0,resourceOwner:qm.resourceOwner,resourceType:qm.resourceType,resourceId:`${r.workatoTenantKey}/${r.jobId}`,resourceIdSegmentValues:{workatoTenantKey:r.workatoTenantKey,jobId:r.jobId}},i=p.fromOpts(t,qm);return new e(i)}static parse(r){let t=p.fromString(r,qm);return new e(t)}getVariables(){return{workatoTenantKey:this.workatoTenantKey,jobId:this.jobId}}},Em={qualifier:"ari",platformQualifier:"third-party",cloudId:new RegExp("^$"),resourceOwner:"workato",resourceType:"recipe",resourceIdSlug:"{workatoTenantKey}/{recipeId}",resourceIdSegmentFormats:{workatoTenantKey:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/,recipeId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},xm=class e extends T{constructor(e){super(e),this._workatoTenantKey=e.resourceIdSegmentValues.workatoTenantKey,this._recipeId=e.resourceIdSegmentValues.recipeId}get workatoTenantKey(){return this._workatoTenantKey}get recipeId(){return this._recipeId}static create(r){let t={qualifier:Em.qualifier,platformQualifier:Em.platformQualifier,cloudId:void 0,resourceOwner:Em.resourceOwner,resourceType:Em.resourceType,resourceId:`${r.workatoTenantKey}/${r.recipeId}`,resourceIdSegmentValues:{workatoTenantKey:r.workatoTenantKey,recipeId:r.recipeId}},i=p.fromOpts(t,Em);return new e(i)}static parse(r){let t=p.fromString(r,Em);return new e(t)}getVariables(){return{workatoTenantKey:this.workatoTenantKey,recipeId:this.recipeId}}},Rm={qualifier:"ari",platformQualifier:"third-party",cloudId:new RegExp("^$"),resourceOwner:"workday",resourceType:"cost-center",resourceIdSlug:"{workdayTenantKey}/{costCenterWorkdayId}",resourceIdSegmentFormats:{workdayTenantKey:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/,costCenterWorkdayId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},$m=class e extends T{constructor(e){super(e),this._workdayTenantKey=e.resourceIdSegmentValues.workdayTenantKey,this._costCenterWorkdayId=e.resourceIdSegmentValues.costCenterWorkdayId}get workdayTenantKey(){return this._workdayTenantKey}get costCenterWorkdayId(){return this._costCenterWorkdayId}static create(r){let t={qualifier:Rm.qualifier,platformQualifier:Rm.platformQualifier,cloudId:void 0,resourceOwner:Rm.resourceOwner,resourceType:Rm.resourceType,resourceId:`${r.workdayTenantKey}/${r.costCenterWorkdayId}`,resourceIdSegmentValues:{workdayTenantKey:r.workdayTenantKey,costCenterWorkdayId:r.costCenterWorkdayId}},i=p.fromOpts(t,Rm);return new e(i)}static parse(r){let t=p.fromString(r,Rm);return new e(t)}getVariables(){return{workdayTenantKey:this.workdayTenantKey,costCenterWorkdayId:this.costCenterWorkdayId}}},Qm={qualifier:"ari",platformQualifier:"third-party",cloudId:new RegExp("^$"),resourceOwner:"workday",resourceType:"job-profile",resourceIdSlug:"{workdayTenantKey}/{jobProfileWorkdayId}",resourceIdSegmentFormats:{workdayTenantKey:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/,jobProfileWorkdayId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},Nm=class e extends T{constructor(e){super(e),this._workdayTenantKey=e.resourceIdSegmentValues.workdayTenantKey,this._jobProfileWorkdayId=e.resourceIdSegmentValues.jobProfileWorkdayId}get workdayTenantKey(){return this._workdayTenantKey}get jobProfileWorkdayId(){return this._jobProfileWorkdayId}static create(r){let t={qualifier:Qm.qualifier,platformQualifier:Qm.platformQualifier,cloudId:void 0,resourceOwner:Qm.resourceOwner,resourceType:Qm.resourceType,resourceId:`${r.workdayTenantKey}/${r.jobProfileWorkdayId}`,resourceIdSegmentValues:{workdayTenantKey:r.workdayTenantKey,jobProfileWorkdayId:r.jobProfileWorkdayId}},i=p.fromOpts(t,Qm);return new e(i)}static parse(r){let t=p.fromString(r,Qm);return new e(t)}getVariables(){return{workdayTenantKey:this.workdayTenantKey,jobProfileWorkdayId:this.jobProfileWorkdayId}}},Cm={qualifier:"ari",platformQualifier:"third-party",cloudId:new RegExp("^$"),resourceOwner:"workday",resourceType:"position",resourceIdSlug:"{workdayTenantKey}/{positionWorkdayId}",resourceIdSegmentFormats:{workdayTenantKey:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/,positionWorkdayId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},Fm=class e extends T{constructor(e){super(e),this._workdayTenantKey=e.resourceIdSegmentValues.workdayTenantKey,this._positionWorkdayId=e.resourceIdSegmentValues.positionWorkdayId}get workdayTenantKey(){return this._workdayTenantKey}get positionWorkdayId(){return this._positionWorkdayId}static create(r){let t={qualifier:Cm.qualifier,platformQualifier:Cm.platformQualifier,cloudId:void 0,resourceOwner:Cm.resourceOwner,resourceType:Cm.resourceType,resourceId:`${r.workdayTenantKey}/${r.positionWorkdayId}`,resourceIdSegmentValues:{workdayTenantKey:r.workdayTenantKey,positionWorkdayId:r.positionWorkdayId}},i=p.fromOpts(t,Cm);return new e(i)}static parse(r){let t=p.fromString(r,Cm);return new e(t)}getVariables(){return{workdayTenantKey:this.workdayTenantKey,positionWorkdayId:this.positionWorkdayId}}},zm={qualifier:"ari",platformQualifier:"third-party",cloudId:new RegExp("^$"),resourceOwner:"workday",resourceType:"staff",resourceIdSlug:"{workdayTenantKey}/{staffId}",resourceIdSegmentFormats:{workdayTenantKey:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/,staffId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},Lm=class e extends T{constructor(e){super(e),this._workdayTenantKey=e.resourceIdSegmentValues.workdayTenantKey,this._staffId=e.resourceIdSegmentValues.staffId}get workdayTenantKey(){return this._workdayTenantKey}get staffId(){return this._staffId}static create(r){let t={qualifier:zm.qualifier,platformQualifier:zm.platformQualifier,cloudId:void 0,resourceOwner:zm.resourceOwner,resourceType:zm.resourceType,resourceId:`${r.workdayTenantKey}/${r.staffId}`,resourceIdSegmentValues:{workdayTenantKey:r.workdayTenantKey,staffId:r.staffId}},i=p.fromOpts(t,zm);return new e(i)}static parse(r){let t=p.fromString(r,zm);return new e(t)}getVariables(){return{workdayTenantKey:this.workdayTenantKey,staffId:this.staffId}}},Mm={qualifier:"ari",platformQualifier:"third-party",cloudId:new RegExp("^$"),resourceOwner:"workday",resourceType:"supervisory-org",resourceIdSlug:"{workdayTenantKey}/{supervisoryOrgWorkdayId}",resourceIdSegmentFormats:{workdayTenantKey:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/,supervisoryOrgWorkdayId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},Pm=class e extends T{constructor(e){super(e),this._workdayTenantKey=e.resourceIdSegmentValues.workdayTenantKey,this._supervisoryOrgWorkdayId=e.resourceIdSegmentValues.supervisoryOrgWorkdayId}get workdayTenantKey(){return this._workdayTenantKey}get supervisoryOrgWorkdayId(){return this._supervisoryOrgWorkdayId}static create(r){let t={qualifier:Mm.qualifier,platformQualifier:Mm.platformQualifier,cloudId:void 0,resourceOwner:Mm.resourceOwner,resourceType:Mm.resourceType,resourceId:`${r.workdayTenantKey}/${r.supervisoryOrgWorkdayId}`,resourceIdSegmentValues:{workdayTenantKey:r.workdayTenantKey,supervisoryOrgWorkdayId:r.supervisoryOrgWorkdayId}},i=p.fromOpts(t,Mm);return new e(i)}static parse(r){let t=p.fromString(r,Mm);return new e(t)}getVariables(){return{workdayTenantKey:this.workdayTenantKey,supervisoryOrgWorkdayId:this.supervisoryOrgWorkdayId}}},jm={qualifier:"ari",platformQualifier:"third-party",cloudId:new RegExp("^$"),resourceOwner:"workday",resourceType:"worker",resourceIdSlug:"{workdayTenantKey}/{workerWorkdayId}",resourceIdSegmentFormats:{workdayTenantKey:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/,workerWorkdayId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},Zm=class e extends T{constructor(e){super(e),this._workdayTenantKey=e.resourceIdSegmentValues.workdayTenantKey,this._workerWorkdayId=e.resourceIdSegmentValues.workerWorkdayId}get workdayTenantKey(){return this._workdayTenantKey}get workerWorkdayId(){return this._workerWorkdayId}static create(r){let t={qualifier:jm.qualifier,platformQualifier:jm.platformQualifier,cloudId:void 0,resourceOwner:jm.resourceOwner,resourceType:jm.resourceType,resourceId:`${r.workdayTenantKey}/${r.workerWorkdayId}`,resourceIdSegmentValues:{workdayTenantKey:r.workdayTenantKey,workerWorkdayId:r.workerWorkdayId}},i=p.fromOpts(t,jm);return new e(i)}static parse(r){let t=p.fromString(r,jm);return new e(t)}getVariables(){return{workdayTenantKey:this.workdayTenantKey,workerWorkdayId:this.workerWorkdayId}}}},6011:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.InMemoryMetrics=void 0;const i=t(6606);Object.defineProperty(r,"InMemoryMetrics",{enumerable:!0,get:function(){return i.InMemoryMetrics}})},4284:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.InMemoryCounterMetric=void 0;const i=t(6702);class n extends i.InMemoryMetric{constructor(){super(...arguments),this.count=0}getCount(){return this.count}incr(){this.count++}decr(){this.count--}decrBy(e){this.count-=e}incrBy(e){this.count+=e}}r.InMemoryCounterMetric=n},2243:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.InMemoryGaugeMetric=void 0;const i=t(6702);class n extends i.InMemoryMetric{constructor(){super(...arguments),this.value=0}getValue(){return this.value}set(e){this.value=e}}r.InMemoryGaugeMetric=n},6702:(e,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.InMemoryMetric=void 0,r.InMemoryMetric=class{constructor(e,r){this.name=e,this.additionalInfo=r}getName(){return this.name}getTags(){return this.additionalInfo||{}}}},5795:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.InMemoryTimedMetric=void 0;const i=t(6702);class n extends i.InMemoryMetric{constructor(){super(...arguments),this.latency=0,this.started=!1,this.startedAt=BigInt(0)}getTime(){return this.started&&this.stopTimer(),this.format(this.latency)}format(e,r){return parseFloat(e.toFixed(r?.precision||2))}stopTimer(e){const r=process.hrtime.bigint()-this.startedAt;this.started=!1,this.set(Number(r)/1e6,e)}measure(){return this.startedAt=process.hrtime.bigint(),this.started=!0,{stop:(e,r)=>(this.stopTimer(e),this.format(this.latency,r))}}set(e,r){this.latency=e,r&&(this.additionalInfo={...this.additionalInfo,...r})}}r.InMemoryTimedMetric=n},6606:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.InMemoryMetrics=void 0;const i=t(4284),n=t(2243),o=t(6702),a=t(5795);class s extends o.InMemoryMetric{constructor(e,r=""){super(r,e),this._timers=[],this._counters=new Map,this._gauges=new Map,this._children=new Map}getTimers(){return this._timers}getCounters(){return this._counters}getGauges(){return this._gauges}getChildren(){return this._children}tagsWith(e){return{...this.getTags(),...e}}getHashedMetricName(e,r){const t=Object.entries(this.tagsWith(r)).sort();return`${e}_${JSON.stringify(t)}`}child(e,r){const t=this.getHashedMetricName(e,r);if(!this._children.has(t)){const i=new s(this.tagsWith(r),e);this._children.set(t,i)}return this._children.get(t)}counter(e,r){const t=this.getHashedMetricName(e,r);if(!this._counters.has(t)){const n=new i.InMemoryCounterMetric(e,this.tagsWith(r));this._counters.set(t,n)}return this._counters.get(t)}counterByName(e){const r=Array.from(this.getCounters().values()).filter((r=>r.getName()===e));if(1!==r.length)throw new Error(`Expected to find a single counter with name ${e}, but found ${r.length}`);return r[0]}gauge(e,r){const t=this.getHashedMetricName(e,r);if(!this._gauges.has(t)){const i=new n.InMemoryGaugeMetric(e,this.tagsWith(r));this._gauges.set(t,i)}return this._gauges.get(t)}gaugeByName(e){const r=Array.from(this.getGauges().values()).filter((r=>r.getName()===e));if(1!==r.length)throw new Error(`Expected to find a single gauge with name ${e}, but found ${r.length}`);return r[0]}timerByName(e){const r=this._timers.find((r=>r.getName()===e));if(!r)throw new Error(`Failed to find timer with name ${e}`);return r}timing(e,r){const t=new a.InMemoryTimedMetric(e,this.tagsWith(r));return this._timers.push(t),t}event(e,r){throw new Error("Events are not implemented.")}set(e,r){throw new Error("Sets are not implemented.")}histogram(e,r,t){throw new Error("Histograms are not implemented.")}}r.InMemoryMetrics=s},6521:function(e,r,t){"use strict";var i=this&&this.__createBinding||(Object.create?function(e,r,t,i){void 0===i&&(i=t);var n=Object.getOwnPropertyDescriptor(r,t);n&&!("get"in n?!r.__esModule:n.writable||n.configurable)||(n={enumerable:!0,get:function(){return r[t]}}),Object.defineProperty(e,i,n)}:function(e,r,t,i){void 0===i&&(i=t),e[i]=r[t]}),n=this&&this.__exportStar||function(e,r){for(var t in e)"default"===t||Object.prototype.hasOwnProperty.call(r,t)||i(r,e,t)};Object.defineProperty(r,"__esModule",{value:!0}),n(t(4772),r)},4772:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.NoMetrics=r.Timing=void 0;const i=t(643),n=i.performance.now.bind(i.performance);var o;!function(e){e.measure=(e,r)=>{const t=r?.now||n,i=t();return{stop:n=>{const o=t()-i,a=parseFloat(o.toFixed(r?.precision));return e(a,n),a}}}}(o||(r.Timing=o={})),r.NoMetrics=class{child(e){return this}counter(e){return{incr:()=>{},decr:()=>{},incrBy:e=>{},decrBy:e=>{}}}gauge(e){return{set:e=>{}}}set(e){return{add:e=>{}}}timing(e){return{set:e=>{},measure:()=>({stop:()=>0})}}histogram(e){return{set:e=>{},measure:()=>({stop:()=>0})}}event(e,r){}}},6982:e=>{"use strict";e.exports=require("crypto")},4434:e=>{"use strict";e.exports=require("events")},9896:e=>{"use strict";e.exports=require("fs")},8611:e=>{"use strict";e.exports=require("http")},5692:e=>{"use strict";e.exports=require("https")},9278:e=>{"use strict";e.exports=require("net")},643:e=>{"use strict";e.exports=require("node:perf_hooks")},6928:e=>{"use strict";e.exports=require("path")},2987:e=>{"use strict";e.exports=require("perf_hooks")},2203:e=>{"use strict";e.exports=require("stream")},4756:e=>{"use strict";e.exports=require("tls")},7016:e=>{"use strict";e.exports=require("url")},9023:e=>{"use strict";e.exports=require("util")},3106:e=>{"use strict";e.exports=require("zlib")},3285:(e,r,t)=>{"use strict";var i=t(9399),n=t(3205),o=t(2262),a=t(847),s=t(6783),u=t(8302),c=t(2918);function d(e,r,t,i,n,o){const a="block-map"===t.type?s.resolveBlockMap(e,r,t,i,o):"block-seq"===t.type?u.resolveBlockSeq(e,r,t,i,o):c.resolveFlowCollection(e,r,t,i,o),d=a.constructor;return"!"===n||n===d.tagName?(a.tag=d.tagName,a):(n&&(a.tag=n),a)}r.composeCollection=function(e,r,t,s,u){const c=s?r.directives.tagName(s.source,(e=>u(s,"TAG_RESOLVE_FAILED",e))):null,l="block-map"===t.type?"map":"block-seq"===t.type?"seq":"{"===t.start.source?"map":"seq";if(!s||!c||"!"===c||c===o.YAMLMap.tagName&&"map"===l||c===a.YAMLSeq.tagName&&"seq"===l||!l)return d(e,r,t,u,c);let I=r.schema.tags.find((e=>e.tag===c&&e.collection===l));if(!I){const i=r.schema.knownTags[c];if(!i||i.collection!==l)return i?.collection?u(s,"BAD_COLLECTION_TYPE",`${i.tag} used for ${l} collection, but expects ${i.collection}`,!0):u(s,"TAG_RESOLVE_FAILED",`Unresolved tag: ${c}`,!0),d(e,r,t,u,c);r.schema.tags.push(Object.assign({},i,{default:!1})),I=i}const p=d(e,r,t,u,c,I),f=I.resolve?.(p,(e=>u(s,"TAG_RESOLVE_FAILED",e)),r.options)??p,m=i.isNode(f)?f:new n.Scalar(f);return m.range=p.range,m.tag=c,I?.format&&(m.format=I.format),m}},1683:(e,r,t)=>{"use strict";var i=t(2333),n=t(5729),o=t(3484),a=t(423);r.composeDoc=function(e,r,{offset:t,start:s,value:u,end:c},d){const l=Object.assign({_directives:r},e),I=new i.Document(void 0,l),p={atRoot:!0,directives:I.directives,options:I.options,schema:I.schema},f=a.resolveProps(s,{indicator:"doc-start",next:u??c?.[0],offset:t,onError:d,startOnNewline:!0});f.found&&(I.directives.docStart=!0,!u||"block-map"!==u.type&&"block-seq"!==u.type||f.hasNewline||d(f.end,"MISSING_CHAR","Block collection cannot start on same line with directives-end marker")),I.contents=u?n.composeNode(p,u,f,d):n.composeEmptyNode(p,f.end,s,null,f,d);const m=I.contents.range[2],h=o.resolveEnd(c,m,!1,d);return h.comment&&(I.comment=h.comment),I.range=[t,m,h.offset],I}},5729:(e,r,t)=>{"use strict";var i=t(9281),n=t(3285),o=t(8917),a=t(3484),s=t(9943);const u={composeNode:c,composeEmptyNode:d};function c(e,r,t,s){const{spaceBefore:c,comment:l,anchor:I,tag:p}=t;let f,m=!0;switch(r.type){case"alias":f=function({options:e},{offset:r,source:t,end:n},o){const s=new i.Alias(t.substring(1));""===s.source&&o(r,"BAD_ALIAS","Alias cannot be an empty string"),s.source.endsWith(":")&&o(r+t.length-1,"BAD_ALIAS","Alias ending in : is ambiguous",!0);const u=r+t.length,c=a.resolveEnd(n,u,e.strict,o);return s.range=[r,u,c.offset],c.comment&&(s.comment=c.comment),s}(e,r,s),(I||p)&&s(r,"ALIAS_PROPS","An alias node must not specify any properties");break;case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":case"block-scalar":f=o.composeScalar(e,r,p,s),I&&(f.anchor=I.source.substring(1));break;case"block-map":case"block-seq":case"flow-collection":f=n.composeCollection(u,e,r,p,s),I&&(f.anchor=I.source.substring(1));break;default:s(r,"UNEXPECTED_TOKEN","error"===r.type?r.message:`Unsupported token (type: ${r.type})`),f=d(e,r.offset,void 0,null,t,s),m=!1}return I&&""===f.anchor&&s(I,"BAD_ALIAS","Anchor cannot be an empty string"),c&&(f.spaceBefore=!0),l&&("scalar"===r.type&&""===r.source?f.comment=l:f.commentBefore=l),e.options.keepSourceTokens&&m&&(f.srcToken=r),f}function d(e,r,t,i,{spaceBefore:n,comment:a,anchor:u,tag:c,end:d},l){const I={type:"scalar",offset:s.emptyScalarPosition(r,t,i),indent:-1,source:""},p=o.composeScalar(e,I,c,l);return u&&(p.anchor=u.source.substring(1),""===p.anchor&&l(u,"BAD_ALIAS","Anchor cannot be an empty string")),n&&(p.spaceBefore=!0),a&&(p.comment=a,p.range[2]=d),p}r.composeEmptyNode=d,r.composeNode=c},8917:(e,r,t)=>{"use strict";var i=t(9399),n=t(3205),o=t(6945),a=t(2362);r.composeScalar=function(e,r,t,s){const{value:u,type:c,comment:d,range:l}="block-scalar"===r.type?o.resolveBlockScalar(r,e.options.strict,s):a.resolveFlowScalar(r,e.options.strict,s),I=t?e.directives.tagName(t.source,(e=>s(t,"TAG_RESOLVE_FAILED",e))):null,p=t&&I?function(e,r,t,n,o){if("!"===t)return e[i.SCALAR];const a=[];for(const r of e.tags)if(!r.collection&&r.tag===t){if(!r.default||!r.test)return r;a.push(r)}for(const e of a)if(e.test?.test(r))return e;const s=e.knownTags[t];return s&&!s.collection?(e.tags.push(Object.assign({},s,{default:!1,test:void 0})),s):(o(n,"TAG_RESOLVE_FAILED",`Unresolved tag: ${t}`,"tag:yaml.org,2002:str"!==t),e[i.SCALAR])}(e.schema,u,I,t,s):"scalar"===r.type?function({directives:e,schema:r},t,n,o){const a=r.tags.find((e=>e.default&&e.test?.test(t)))||r[i.SCALAR];if(r.compat){const s=r.compat.find((e=>e.default&&e.test?.test(t)))??r[i.SCALAR];a.tag!==s.tag&&o(n,"TAG_RESOLVE_FAILED",`Value may be parsed as either ${e.tagString(a.tag)} or ${e.tagString(s.tag)}`,!0)}return a}(e,u,r,s):e.schema[i.SCALAR];let f;try{const o=p.resolve(u,(e=>s(t??r,"TAG_RESOLVE_FAILED",e)),e.options);f=i.isScalar(o)?o:new n.Scalar(o)}catch(e){const i=e instanceof Error?e.message:String(e);s(t??r,"TAG_RESOLVE_FAILED",i),f=new n.Scalar(u)}return f.range=l,f.source=u,c&&(f.type=c),I&&(f.tag=I),p.format&&(f.format=p.format),d&&(f.comment=d),f}},8480:(e,r,t)=>{"use strict";var i=t(4670),n=t(2333),o=t(1656),a=t(9399),s=t(1683),u=t(3484);function c(e){if("number"==typeof e)return[e,e+1];if(Array.isArray(e))return 2===e.length?e:[e[0],e[1]];const{offset:r,source:t}=e;return[r,r+("string"==typeof t?t.length:1)]}function d(e){let r="",t=!1,i=!1;for(let n=0;n<e.length;++n){const o=e[n];switch(o[0]){case"#":r+=(""===r?"":i?"\n\n":"\n")+(o.substring(1)||" "),t=!0,i=!1;break;case"%":"#"!==e[n+1]?.[0]&&(n+=1),t=!1;break;default:t||(i=!0),t=!1}}return{comment:r,afterEmptyLine:i}}r.Composer=class{constructor(e={}){this.doc=null,this.atDirectives=!1,this.prelude=[],this.errors=[],this.warnings=[],this.onError=(e,r,t,i)=>{const n=c(e);i?this.warnings.push(new o.YAMLWarning(n,r,t)):this.errors.push(new o.YAMLParseError(n,r,t))},this.directives=new i.Directives({version:e.version||"1.2"}),this.options=e}decorate(e,r){const{comment:t,afterEmptyLine:i}=d(this.prelude);if(t){const n=e.contents;if(r)e.comment=e.comment?`${e.comment}\n${t}`:t;else if(i||e.directives.docStart||!n)e.commentBefore=t;else if(a.isCollection(n)&&!n.flow&&n.items.length>0){let e=n.items[0];a.isPair(e)&&(e=e.key);const r=e.commentBefore;e.commentBefore=r?`${t}\n${r}`:t}else{const e=n.commentBefore;n.commentBefore=e?`${t}\n${e}`:t}}r?(Array.prototype.push.apply(e.errors,this.errors),Array.prototype.push.apply(e.warnings,this.warnings)):(e.errors=this.errors,e.warnings=this.warnings),this.prelude=[],this.errors=[],this.warnings=[]}streamInfo(){return{comment:d(this.prelude).comment,directives:this.directives,errors:this.errors,warnings:this.warnings}}*compose(e,r=!1,t=-1){for(const r of e)yield*this.next(r);yield*this.end(r,t)}*next(e){switch(process.env.LOG_STREAM&&console.dir(e,{depth:null}),e.type){case"directive":this.directives.add(e.source,((r,t,i)=>{const n=c(e);n[0]+=r,this.onError(n,"BAD_DIRECTIVE",t,i)})),this.prelude.push(e.source),this.atDirectives=!0;break;case"document":{const r=s.composeDoc(this.options,this.directives,e,this.onError);this.atDirectives&&!r.directives.docStart&&this.onError(e,"MISSING_CHAR","Missing directives-end/doc-start indicator line"),this.decorate(r,!1),this.doc&&(yield this.doc),this.doc=r,this.atDirectives=!1;break}case"byte-order-mark":case"space":break;case"comment":case"newline":this.prelude.push(e.source);break;case"error":{const r=e.source?`${e.message}: ${JSON.stringify(e.source)}`:e.message,t=new o.YAMLParseError(c(e),"UNEXPECTED_TOKEN",r);this.atDirectives||!this.doc?this.errors.push(t):this.doc.errors.push(t);break}case"doc-end":{if(!this.doc){const r="Unexpected doc-end without preceding document";this.errors.push(new o.YAMLParseError(c(e),"UNEXPECTED_TOKEN",r));break}this.doc.directives.docEnd=!0;const r=u.resolveEnd(e.end,e.offset+e.source.length,this.doc.options.strict,this.onError);if(this.decorate(this.doc,!0),r.comment){const e=this.doc.comment;this.doc.comment=e?`${e}\n${r.comment}`:r.comment}this.doc.range[2]=r.offset;break}default:this.errors.push(new o.YAMLParseError(c(e),"UNEXPECTED_TOKEN",`Unsupported token ${e.type}`))}}*end(e=!1,r=-1){if(this.doc)this.decorate(this.doc,!0),yield this.doc,this.doc=null;else if(e){const e=Object.assign({_directives:this.directives},this.options),t=new n.Document(void 0,e);this.atDirectives&&this.onError(r,"MISSING_CHAR","Missing directives-end indicator line"),t.range=[0,r,r],this.decorate(t,!1),yield t}}}},6783:(e,r,t)=>{"use strict";var i=t(4237),n=t(2262),o=t(423),a=t(2187),s=t(4851),u=t(5203);const c="All mapping items must start at the same column";r.resolveBlockMap=function({composeNode:e,composeEmptyNode:r},t,d,l,I){const p=new(I?.nodeClass??n.YAMLMap)(t.schema);t.atRoot&&(t.atRoot=!1);let f=d.offset,m=null;for(const n of d.items){const{start:I,key:h,sep:g,value:v}=n,y=o.resolveProps(I,{indicator:"explicit-key-ind",next:h??g?.[0],offset:f,onError:l,startOnNewline:!0}),w=!y.found;if(w){if(h&&("block-seq"===h.type?l(f,"BLOCK_AS_IMPLICIT_KEY","A block sequence may not be used as an implicit map key"):"indent"in h&&h.indent!==d.indent&&l(f,"BAD_INDENT",c)),!y.anchor&&!y.tag&&!g){m=y.end,y.comment&&(p.comment?p.comment+="\n"+y.comment:p.comment=y.comment);continue}(y.hasNewlineAfterProp||a.containsNewline(h))&&l(h??I[I.length-1],"MULTILINE_IMPLICIT_KEY","Implicit keys need to be on a single line")}else y.found?.indent!==d.indent&&l(f,"BAD_INDENT",c);const S=y.end,_=h?e(t,h,y,l):r(t,S,I,null,y,l);t.schema.compat&&s.flowIndentCheck(d.indent,h,l),u.mapIncludes(t,p.items,_)&&l(S,"DUPLICATE_KEY","Map keys must be unique");const b=o.resolveProps(g??[],{indicator:"map-value-ind",next:v,offset:_.range[2],onError:l,startOnNewline:!h||"block-scalar"===h.type});if(f=b.end,b.found){w&&("block-map"!==v?.type||b.hasNewline||l(f,"BLOCK_AS_IMPLICIT_KEY","Nested mappings are not allowed in compact mappings"),t.options.strict&&y.start<b.found.offset-1024&&l(_.range,"KEY_OVER_1024_CHARS","The : indicator must be at most 1024 chars after the start of an implicit block mapping key"));const o=v?e(t,v,b,l):r(t,f,g,null,b,l);t.schema.compat&&s.flowIndentCheck(d.indent,v,l),f=o.range[2];const a=new i.Pair(_,o);t.options.keepSourceTokens&&(a.srcToken=n),p.items.push(a)}else{w&&l(_.range,"MISSING_CHAR","Implicit map keys need to be followed by map values"),b.comment&&(_.comment?_.comment+="\n"+b.comment:_.comment=b.comment);const e=new i.Pair(_);t.options.keepSourceTokens&&(e.srcToken=n),p.items.push(e)}}return m&&m<f&&l(m,"IMPOSSIBLE","Map comment with trailing content"),p.range=[d.offset,f,m??f],p}},6945:(e,r,t)=>{"use strict";var i=t(3205);r.resolveBlockScalar=function(e,r,t){const n=e.offset,o=function({offset:e,props:r},t,i){if("block-scalar-header"!==r[0].type)return i(r[0],"IMPOSSIBLE","Block scalar header not found"),null;const{source:n}=r[0],o=n[0];let a=0,s="",u=-1;for(let r=1;r<n.length;++r){const t=n[r];if(s||"-"!==t&&"+"!==t){const i=Number(t);!a&&i?a=i:-1===u&&(u=e+r)}else s=t}-1!==u&&i(u,"UNEXPECTED_TOKEN",`Block scalar header includes extra characters: ${n}`);let c=!1,d="",l=n.length;for(let e=1;e<r.length;++e){const n=r[e];switch(n.type){case"space":c=!0;case"newline":l+=n.source.length;break;case"comment":t&&!c&&i(n,"MISSING_CHAR","Comments must be separated from other tokens by white space characters"),l+=n.source.length,d=n.source.substring(1);break;case"error":i(n,"UNEXPECTED_TOKEN",n.message),l+=n.source.length;break;default:{i(n,"UNEXPECTED_TOKEN",`Unexpected token in block scalar header: ${n.type}`);const e=n.source;e&&"string"==typeof e&&(l+=e.length)}}}return{mode:o,indent:a,chomp:s,comment:d,length:l}}(e,r,t);if(!o)return{value:"",type:null,comment:"",range:[n,n,n]};const a=">"===o.mode?i.Scalar.BLOCK_FOLDED:i.Scalar.BLOCK_LITERAL,s=e.source?function(e){const r=e.split(/\n( *)/),t=r[0],i=t.match(/^( *)/),n=[i?.[1]?[i[1],t.slice(i[1].length)]:["",t]];for(let e=1;e<r.length;e+=2)n.push([r[e],r[e+1]]);return n}(e.source):[];let u=s.length;for(let e=s.length-1;e>=0;--e){const r=s[e][1];if(""!==r&&"\r"!==r)break;u=e}if(0===u){const r="+"===o.chomp&&s.length>0?"\n".repeat(Math.max(1,s.length-1)):"";let t=n+o.length;return e.source&&(t+=e.source.length),{value:r,type:a,comment:o.comment,range:[n,t,t]}}let c=e.indent+o.indent,d=e.offset+o.length,l=0;for(let e=0;e<u;++e){const[r,i]=s[e];if(""!==i&&"\r"!==i){if(r.length<c){const e="Block scalars with more-indented leading empty lines must use an explicit indentation indicator";t(d+r.length,"MISSING_CHAR",e)}0===o.indent&&(c=r.length),l=e;break}0===o.indent&&r.length>c&&(c=r.length),d+=r.length+i.length+1}for(let e=s.length-1;e>=u;--e)s[e][0].length>c&&(u=e+1);let I="",p="",f=!1;for(let e=0;e<l;++e)I+=s[e][0].slice(c)+"\n";for(let e=l;e<u;++e){let[r,n]=s[e];d+=r.length+n.length+1;const u="\r"===n[n.length-1];if(u&&(n=n.slice(0,-1)),n&&r.length<c){const e="Block scalar lines must not be less indented than their "+(o.indent?"explicit indentation indicator":"first line");t(d-n.length-(u?2:1),"BAD_INDENT",e),r=""}a===i.Scalar.BLOCK_LITERAL?(I+=p+r.slice(c)+n,p="\n"):r.length>c||"\t"===n[0]?(" "===p?p="\n":f||"\n"!==p||(p="\n\n"),I+=p+r.slice(c)+n,p="\n",f=!0):""===n?"\n"===p?I+="\n":p="\n":(I+=p+n,p=" ",f=!1)}switch(o.chomp){case"-":break;case"+":for(let e=u;e<s.length;++e)I+="\n"+s[e][0].slice(c);"\n"!==I[I.length-1]&&(I+="\n");break;default:I+="\n"}const m=n+o.length+e.source.length;return{value:I,type:a,comment:o.comment,range:[n,m,m]}}},8302:(e,r,t)=>{"use strict";var i=t(847),n=t(423),o=t(4851);r.resolveBlockSeq=function({composeNode:e,composeEmptyNode:r},t,a,s,u){const c=new(u?.nodeClass??i.YAMLSeq)(t.schema);t.atRoot&&(t.atRoot=!1);let d=a.offset,l=null;for(const{start:i,value:u}of a.items){const I=n.resolveProps(i,{indicator:"seq-item-ind",next:u,offset:d,onError:s,startOnNewline:!0});if(!I.found){if(!(I.anchor||I.tag||u)){l=I.end,I.comment&&(c.comment=I.comment);continue}u&&"block-seq"===u.type?s(I.end,"BAD_INDENT","All sequence items must start at the same column"):s(d,"MISSING_CHAR","Sequence item without - indicator")}const p=u?e(t,u,I,s):r(t,I.end,i,null,I,s);t.schema.compat&&o.flowIndentCheck(a.indent,u,s),d=p.range[2],c.items.push(p)}return c.range=[a.offset,d,l??d],c}},3484:(e,r)=>{"use strict";r.resolveEnd=function(e,r,t,i){let n="";if(e){let o=!1,a="";for(const s of e){const{source:e,type:u}=s;switch(u){case"space":o=!0;break;case"comment":{t&&!o&&i(s,"MISSING_CHAR","Comments must be separated from other tokens by white space characters");const r=e.substring(1)||" ";n?n+=a+r:n=r,a="";break}case"newline":n&&(a+=e),o=!0;break;default:i(s,"UNEXPECTED_TOKEN",`Unexpected ${u} at node end`)}r+=e.length}}return{comment:n,offset:r}}},2918:(e,r,t)=>{"use strict";var i=t(9399),n=t(4237),o=t(2262),a=t(847),s=t(3484),u=t(423),c=t(2187),d=t(5203);const l="Block collections are not allowed within flow collections",I=e=>e&&("block-map"===e.type||"block-seq"===e.type);r.resolveFlowCollection=function({composeNode:e,composeEmptyNode:r},t,p,f,m){const h="{"===p.start.source,g=h?"flow map":"flow sequence",v=new(m?.nodeClass??(h?o.YAMLMap:a.YAMLSeq))(t.schema);v.flow=!0;const y=t.atRoot;y&&(t.atRoot=!1);let w=p.offset+p.start.source.length;for(let a=0;a<p.items.length;++a){const s=p.items[a],{start:m,key:y,sep:S,value:_}=s,b=u.resolveProps(m,{flow:g,indicator:"explicit-key-ind",next:y??S?.[0],offset:w,onError:f,startOnNewline:!1});if(!b.found){if(!(b.anchor||b.tag||S||_)){0===a&&b.comma?f(b.comma,"UNEXPECTED_TOKEN",`Unexpected , in ${g}`):a<p.items.length-1&&f(b.start,"UNEXPECTED_TOKEN",`Unexpected empty item in ${g}`),b.comment&&(v.comment?v.comment+="\n"+b.comment:v.comment=b.comment),w=b.end;continue}!h&&t.options.strict&&c.containsNewline(y)&&f(y,"MULTILINE_IMPLICIT_KEY","Implicit keys of flow sequence pairs need to be on a single line")}if(0===a)b.comma&&f(b.comma,"UNEXPECTED_TOKEN",`Unexpected , in ${g}`);else if(b.comma||f(b.start,"MISSING_CHAR",`Missing , between ${g} items`),b.comment){let e="";e:for(const r of m)switch(r.type){case"comma":case"space":break;case"comment":e=r.source.substring(1);break e;default:break e}if(e){let r=v.items[v.items.length-1];i.isPair(r)&&(r=r.value??r.key),r.comment?r.comment+="\n"+e:r.comment=e,b.comment=b.comment.substring(e.length+1)}}if(h||S||b.found){const i=b.end,a=y?e(t,y,b,f):r(t,i,m,null,b,f);I(y)&&f(a.range,"BLOCK_IN_FLOW",l);const c=u.resolveProps(S??[],{flow:g,indicator:"map-value-ind",next:_,offset:a.range[2],onError:f,startOnNewline:!1});if(c.found){if(!h&&!b.found&&t.options.strict){if(S)for(const e of S){if(e===c.found)break;if("newline"===e.type){f(e,"MULTILINE_IMPLICIT_KEY","Implicit keys of flow sequence pairs need to be on a single line");break}}b.start<c.found.offset-1024&&f(c.found,"KEY_OVER_1024_CHARS","The : indicator must be at most 1024 chars after the start of an implicit flow sequence key")}}else _&&("source"in _&&_.source&&":"===_.source[0]?f(_,"MISSING_CHAR",`Missing space after : in ${g}`):f(c.start,"MISSING_CHAR",`Missing , or : between ${g} items`));const p=_?e(t,_,c,f):c.found?r(t,c.end,S,null,c,f):null;p?I(_)&&f(p.range,"BLOCK_IN_FLOW",l):c.comment&&(a.comment?a.comment+="\n"+c.comment:a.comment=c.comment);const T=new n.Pair(a,p);if(t.options.keepSourceTokens&&(T.srcToken=s),h){const e=v;d.mapIncludes(t,e.items,a)&&f(i,"DUPLICATE_KEY","Map keys must be unique"),e.items.push(T)}else{const e=new o.YAMLMap(t.schema);e.flow=!0,e.items.push(T),v.items.push(e)}w=p?p.range[2]:c.end}else{const i=_?e(t,_,b,f):r(t,b.end,S,null,b,f);v.items.push(i),w=i.range[2],I(_)&&f(i.range,"BLOCK_IN_FLOW",l)}}const S=h?"}":"]",[_,...b]=p.end;let T=w;if(_&&_.source===S)T=_.offset+_.source.length;else{const e=g[0].toUpperCase()+g.substring(1);f(w,y?"MISSING_CHAR":"BAD_INDENT",y?`${e} must end with a ${S}`:`${e} in block collection must be sufficiently indented and end with a ${S}`),_&&1!==_.source.length&&b.unshift(_)}if(b.length>0){const e=s.resolveEnd(b,T,t.options.strict,f);e.comment&&(v.comment?v.comment+="\n"+e.comment:v.comment=e.comment),v.range=[p.offset,T,e.offset]}else v.range=[p.offset,T,T];return v}},2362:(e,r,t)=>{"use strict";var i=t(3205),n=t(3484);function o(e){let r,t;try{r=new RegExp("(.*?)(?<![ \t])[ \t]*\r?\n","sy"),t=new RegExp("[ \t]*(.*?)(?:(?<![ \t])[ \t]*)?\r?\n","sy")}catch(e){r=/(.*?)[ \t]*\r?\n/sy,t=/[ \t]*(.*?)[ \t]*\r?\n/sy}let i=r.exec(e);if(!i)return e;let n=i[1],o=" ",a=r.lastIndex;for(t.lastIndex=a;i=t.exec(e);)""===i[1]?"\n"===o?n+=o:o="\n":(n+=o+i[1],o=" "),a=t.lastIndex;const s=/[ \t]*(.*)/sy;return s.lastIndex=a,i=s.exec(e),n+o+(i?.[1]??"")}function a(e,r){let t="",i=e[r+1];for(;!(" "!==i&&"\t"!==i&&"\n"!==i&&"\r"!==i||"\r"===i&&"\n"!==e[r+2]);)"\n"===i&&(t+="\n"),i=e[(r+=1)+1];return t||(t=" "),{fold:t,offset:r}}const s={0:"\0",a:"",b:"\b",e:"",f:"\f",n:"\n",r:"\r",t:"\t",v:"\v",N:"…",_:" ",L:"\u2028",P:"\u2029"," ":" ",'"':'"',"/":"/","\\":"\\","\t":"\t"};function u(e,r,t,i){const n=e.substr(r,t),o=n.length===t&&/^[0-9a-fA-F]+$/.test(n)?parseInt(n,16):NaN;if(isNaN(o)){const n=e.substr(r-2,t+2);return i(r-2,"BAD_DQ_ESCAPE",`Invalid escape sequence ${n}`),n}return String.fromCodePoint(o)}r.resolveFlowScalar=function(e,r,t){const{offset:c,type:d,source:l,end:I}=e;let p,f;const m=(e,r,i)=>t(c+e,r,i);switch(d){case"scalar":p=i.Scalar.PLAIN,f=function(e,r){let t="";switch(e[0]){case"\t":t="a tab character";break;case",":t="flow indicator character ,";break;case"%":t="directive indicator character %";break;case"|":case">":t=`block scalar indicator ${e[0]}`;break;case"@":case"`":t=`reserved character ${e[0]}`}return t&&r(0,"BAD_SCALAR_START",`Plain value cannot start with ${t}`),o(e)}(l,m);break;case"single-quoted-scalar":p=i.Scalar.QUOTE_SINGLE,f=function(e,r){return"'"===e[e.length-1]&&1!==e.length||r(e.length,"MISSING_CHAR","Missing closing 'quote"),o(e.slice(1,-1)).replace(/''/g,"'")}(l,m);break;case"double-quoted-scalar":p=i.Scalar.QUOTE_DOUBLE,f=function(e,r){let t="";for(let i=1;i<e.length-1;++i){const n=e[i];if("\r"!==n||"\n"!==e[i+1])if("\n"===n){const{fold:r,offset:n}=a(e,i);t+=r,i=n}else if("\\"===n){let n=e[++i];const o=s[n];if(o)t+=o;else if("\n"===n)for(n=e[i+1];" "===n||"\t"===n;)n=e[1+ ++i];else if("\r"===n&&"\n"===e[i+1])for(n=e[1+ ++i];" "===n||"\t"===n;)n=e[1+ ++i];else if("x"===n||"u"===n||"U"===n){const o={x:2,u:4,U:8}[n];t+=u(e,i+1,o,r),i+=o}else{const n=e.substr(i-1,2);r(i-1,"BAD_DQ_ESCAPE",`Invalid escape sequence ${n}`),t+=n}}else if(" "===n||"\t"===n){const r=i;let o=e[i+1];for(;" "===o||"\t"===o;)o=e[1+ ++i];"\n"===o||"\r"===o&&"\n"===e[i+2]||(t+=i>r?e.slice(r,i+1):n)}else t+=n}return'"'===e[e.length-1]&&1!==e.length||r(e.length,"MISSING_CHAR",'Missing closing "quote'),t}(l,m);break;default:return t(e,"UNEXPECTED_TOKEN",`Expected a flow scalar value, but found: ${d}`),{value:"",type:null,comment:"",range:[c,c+l.length,c+l.length]}}const h=c+l.length,g=n.resolveEnd(I,h,r,t);return{value:f,type:p,comment:g.comment,range:[c,h,g.offset]}}},423:(e,r)=>{"use strict";r.resolveProps=function(e,{flow:r,indicator:t,next:i,offset:n,onError:o,startOnNewline:a}){let s=!1,u=a,c=a,d="",l="",I=!1,p=!1,f=!1,m=null,h=null,g=null,v=null,y=null;for(const i of e)switch(f&&("space"!==i.type&&"newline"!==i.type&&"comma"!==i.type&&o(i.offset,"MISSING_CHAR","Tags and anchors must be separated from the next token by white space"),f=!1),i.type){case"space":!r&&u&&"doc-start"!==t&&"\t"===i.source[0]&&o(i,"TAB_AS_INDENT","Tabs are not allowed as indentation"),c=!0;break;case"comment":{c||o(i,"MISSING_CHAR","Comments must be separated from other tokens by white space characters");const e=i.source.substring(1)||" ";d?d+=l+e:d=e,l="",u=!1;break}case"newline":u?d?d+=i.source:s=!0:l+=i.source,u=!0,I=!0,(m||h)&&(p=!0),c=!0;break;case"anchor":m&&o(i,"MULTIPLE_ANCHORS","A node can have at most one anchor"),i.source.endsWith(":")&&o(i.offset+i.source.length-1,"BAD_ALIAS","Anchor ending in : is ambiguous",!0),m=i,null===y&&(y=i.offset),u=!1,c=!1,f=!0;break;case"tag":h&&o(i,"MULTIPLE_TAGS","A node can have at most one tag"),h=i,null===y&&(y=i.offset),u=!1,c=!1,f=!0;break;case t:(m||h)&&o(i,"BAD_PROP_ORDER",`Anchors and tags must be after the ${i.source} indicator`),v&&o(i,"UNEXPECTED_TOKEN",`Unexpected ${i.source} in ${r??"collection"}`),v=i,u=!1,c=!1;break;case"comma":if(r){g&&o(i,"UNEXPECTED_TOKEN",`Unexpected , in ${r}`),g=i,u=!1,c=!1;break}default:o(i,"UNEXPECTED_TOKEN",`Unexpected ${i.type} token`),u=!1,c=!1}const w=e[e.length-1],S=w?w.offset+w.source.length:n;return f&&i&&"space"!==i.type&&"newline"!==i.type&&"comma"!==i.type&&("scalar"!==i.type||""!==i.source)&&o(i.offset,"MISSING_CHAR","Tags and anchors must be separated from the next token by white space"),{comma:g,found:v,spaceBefore:s,comment:d,hasNewline:I,hasNewlineAfterProp:p,anchor:m,tag:h,end:S,start:y??S}}},2187:(e,r)=>{"use strict";r.containsNewline=function e(r){if(!r)return null;switch(r.type){case"alias":case"scalar":case"double-quoted-scalar":case"single-quoted-scalar":if(r.source.includes("\n"))return!0;if(r.end)for(const e of r.end)if("newline"===e.type)return!0;return!1;case"flow-collection":for(const t of r.items){for(const e of t.start)if("newline"===e.type)return!0;if(t.sep)for(const e of t.sep)if("newline"===e.type)return!0;if(e(t.key)||e(t.value))return!0}return!1;default:return!0}}},9943:(e,r)=>{"use strict";r.emptyScalarPosition=function(e,r,t){if(r){null===t&&(t=r.length);for(let i=t-1;i>=0;--i){let t=r[i];switch(t.type){case"space":case"comment":case"newline":e-=t.source.length;continue}for(t=r[++i];"space"===t?.type;)e+=t.source.length,t=r[++i];break}}return e}},4851:(e,r,t)=>{"use strict";var i=t(2187);r.flowIndentCheck=function(e,r,t){if("flow-collection"===r?.type){const n=r.end[0];n.indent!==e||"]"!==n.source&&"}"!==n.source||!i.containsNewline(r)||t(n,"BAD_INDENT","Flow end indicator should be more indented than parent",!0)}}},5203:(e,r,t)=>{"use strict";var i=t(9399);r.mapIncludes=function(e,r,t){const{uniqueKeys:n}=e.options;if(!1===n)return!1;const o="function"==typeof n?n:(r,t)=>r===t||i.isScalar(r)&&i.isScalar(t)&&r.value===t.value&&!("<<"===r.value&&e.schema.merge);return r.some((e=>o(e.key,t)))}},2333:(e,r,t)=>{"use strict";var i=t(9281),n=t(2997),o=t(9399),a=t(4237),s=t(3947),u=t(7840),c=t(1677),d=t(8028),l=t(7197),I=t(4532),p=t(4670);class f{constructor(e,r,t){this.commentBefore=null,this.comment=null,this.errors=[],this.warnings=[],Object.defineProperty(this,o.NODE_TYPE,{value:o.DOC});let i=null;"function"==typeof r||Array.isArray(r)?i=r:void 0===t&&r&&(t=r,r=void 0);const n=Object.assign({intAsBigInt:!1,keepSourceTokens:!1,logLevel:"warn",prettyErrors:!0,strict:!0,uniqueKeys:!0,version:"1.2"},t);this.options=n;let{version:a}=n;t?._directives?(this.directives=t._directives.atDocument(),this.directives.yaml.explicit&&(a=this.directives.yaml.version)):this.directives=new p.Directives({version:a}),this.setSchema(a,t),this.contents=void 0===e?null:this.createNode(e,i,t)}clone(){const e=Object.create(f.prototype,{[o.NODE_TYPE]:{value:o.DOC}});return e.commentBefore=this.commentBefore,e.comment=this.comment,e.errors=this.errors.slice(),e.warnings=this.warnings.slice(),e.options=Object.assign({},this.options),this.directives&&(e.directives=this.directives.clone()),e.schema=this.schema.clone(),e.contents=o.isNode(this.contents)?this.contents.clone(e.schema):this.contents,this.range&&(e.range=this.range.slice()),e}add(e){m(this.contents)&&this.contents.add(e)}addIn(e,r){m(this.contents)&&this.contents.addIn(e,r)}createAlias(e,r){if(!e.anchor){const t=d.anchorNames(this);e.anchor=!r||t.has(r)?d.findNewAnchor(r||"a",t):r}return new i.Alias(e.anchor)}createNode(e,r,t){let i;if("function"==typeof r)e=r.call({"":e},"",e),i=r;else if(Array.isArray(r)){const e=e=>"number"==typeof e||e instanceof String||e instanceof Number,t=r.filter(e).map(String);t.length>0&&(r=r.concat(t)),i=r}else void 0===t&&r&&(t=r,r=void 0);const{aliasDuplicateObjects:n,anchorPrefix:a,flow:s,keepUndefined:u,onTagObj:c,tag:l}=t??{},{onAnchor:p,setAnchors:f,sourceObjects:m}=d.createNodeAnchors(this,a||"a"),h={aliasDuplicateObjects:n??!0,keepUndefined:u??!1,onAnchor:p,onTagObj:c,replacer:i,schema:this.schema,sourceObjects:m},g=I.createNode(e,l,h);return s&&o.isCollection(g)&&(g.flow=!0),f(),g}createPair(e,r,t={}){const i=this.createNode(e,null,t),n=this.createNode(r,null,t);return new a.Pair(i,n)}delete(e){return!!m(this.contents)&&this.contents.delete(e)}deleteIn(e){return n.isEmptyPath(e)?null!=this.contents&&(this.contents=null,!0):!!m(this.contents)&&this.contents.deleteIn(e)}get(e,r){return o.isCollection(this.contents)?this.contents.get(e,r):void 0}getIn(e,r){return n.isEmptyPath(e)?!r&&o.isScalar(this.contents)?this.contents.value:this.contents:o.isCollection(this.contents)?this.contents.getIn(e,r):void 0}has(e){return!!o.isCollection(this.contents)&&this.contents.has(e)}hasIn(e){return n.isEmptyPath(e)?void 0!==this.contents:!!o.isCollection(this.contents)&&this.contents.hasIn(e)}set(e,r){null==this.contents?this.contents=n.collectionFromPath(this.schema,[e],r):m(this.contents)&&this.contents.set(e,r)}setIn(e,r){n.isEmptyPath(e)?this.contents=r:null==this.contents?this.contents=n.collectionFromPath(this.schema,Array.from(e),r):m(this.contents)&&this.contents.setIn(e,r)}setSchema(e,r={}){let t;switch("number"==typeof e&&(e=String(e)),e){case"1.1":this.directives?this.directives.yaml.version="1.1":this.directives=new p.Directives({version:"1.1"}),t={merge:!0,resolveKnownTags:!1,schema:"yaml-1.1"};break;case"1.2":case"next":this.directives?this.directives.yaml.version=e:this.directives=new p.Directives({version:e}),t={merge:!1,resolveKnownTags:!0,schema:"core"};break;case null:this.directives&&delete this.directives,t=null;break;default:{const r=JSON.stringify(e);throw new Error(`Expected '1.1', '1.2' or null as first argument, but found: ${r}`)}}if(r.schema instanceof Object)this.schema=r.schema;else{if(!t)throw new Error("With a null YAML version, the { schema: Schema } option is required");this.schema=new u.Schema(Object.assign(t,r))}}toJS({json:e,jsonArg:r,mapAsMap:t,maxAliasCount:i,onAnchor:n,reviver:o}={}){const a={anchors:new Map,doc:this,keep:!e,mapAsMap:!0===t,mapKeyWarned:!1,maxAliasCount:"number"==typeof i?i:100},u=s.toJS(this.contents,r??"",a);if("function"==typeof n)for(const{count:e,res:r}of a.anchors.values())n(r,e);return"function"==typeof o?l.applyReviver(o,{"":u},"",u):u}toJSON(e,r){return this.toJS({json:!0,jsonArg:e,mapAsMap:!1,onAnchor:r})}toString(e={}){if(this.errors.length>0)throw new Error("Document with errors cannot be stringified");if("indent"in e&&(!Number.isInteger(e.indent)||Number(e.indent)<=0)){const r=JSON.stringify(e.indent);throw new Error(`"indent" option must be a positive integer, not ${r}`)}return c.stringifyDocument(this,e)}}function m(e){if(o.isCollection(e))return!0;throw new Error("Expected a YAML collection as document contents")}r.Document=f},8028:(e,r,t)=>{"use strict";var i=t(9399),n=t(4364);function o(e){const r=new Set;return n.visit(e,{Value(e,t){t.anchor&&r.add(t.anchor)}}),r}function a(e,r){for(let t=1;;++t){const i=`${e}${t}`;if(!r.has(i))return i}}r.anchorIsValid=function(e){if(/[\x00-\x19\s,[\]{}]/.test(e)){const r=JSON.stringify(e);throw new Error(`Anchor must not contain whitespace or control characters: ${r}`)}return!0},r.anchorNames=o,r.createNodeAnchors=function(e,r){const t=[],n=new Map;let s=null;return{onAnchor:i=>{t.push(i),s||(s=o(e));const n=a(r,s);return s.add(n),n},setAnchors:()=>{for(const e of t){const r=n.get(e);if("object"!=typeof r||!r.anchor||!i.isScalar(r.node)&&!i.isCollection(r.node)){const r=new Error("Failed to resolve repeated object (this should not happen)");throw r.source=e,r}r.node.anchor=r.anchor}},sourceObjects:n}},r.findNewAnchor=a},7197:(e,r)=>{"use strict";r.applyReviver=function e(r,t,i,n){if(n&&"object"==typeof n)if(Array.isArray(n))for(let t=0,i=n.length;t<i;++t){const i=n[t],o=e(r,n,String(t),i);void 0===o?delete n[t]:o!==i&&(n[t]=o)}else if(n instanceof Map)for(const t of Array.from(n.keys())){const i=n.get(t),o=e(r,n,t,i);void 0===o?n.delete(t):o!==i&&n.set(t,o)}else if(n instanceof Set)for(const t of Array.from(n)){const i=e(r,n,t,t);void 0===i?n.delete(t):i!==t&&(n.delete(t),n.add(i))}else for(const[t,i]of Object.entries(n)){const o=e(r,n,t,i);void 0===o?delete n[t]:o!==i&&(n[t]=o)}return r.call(t,i,n)}},4532:(e,r,t)=>{"use strict";var i=t(9281),n=t(9399),o=t(3205);r.createNode=function(e,r,t){if(n.isDocument(e)&&(e=e.contents),n.isNode(e))return e;if(n.isPair(e)){const r=t.schema[n.MAP].createNode?.(t.schema,null,t);return r.items.push(e),r}(e instanceof String||e instanceof Number||e instanceof Boolean||"undefined"!=typeof BigInt&&e instanceof BigInt)&&(e=e.valueOf());const{aliasDuplicateObjects:a,onAnchor:s,onTagObj:u,schema:c,sourceObjects:d}=t;let l;if(a&&e&&"object"==typeof e){if(l=d.get(e),l)return l.anchor||(l.anchor=s(e)),new i.Alias(l.anchor);l={anchor:null,node:null},d.set(e,l)}r?.startsWith("!!")&&(r="tag:yaml.org,2002:"+r.slice(2));let I=function(e,r,t){if(r){const e=t.filter((e=>e.tag===r)),i=e.find((e=>!e.format))??e[0];if(!i)throw new Error(`Tag ${r} not found`);return i}return t.find((r=>r.identify?.(e)&&!r.format))}(e,r,c.tags);if(!I){if(e&&"function"==typeof e.toJSON&&(e=e.toJSON()),!e||"object"!=typeof e){const r=new o.Scalar(e);return l&&(l.node=r),r}I=e instanceof Map?c[n.MAP]:Symbol.iterator in Object(e)?c[n.SEQ]:c[n.MAP]}u&&(u(I),delete t.onTagObj);const p=I?.createNode?I.createNode(t.schema,e,t):"function"==typeof I?.nodeClass?.from?I.nodeClass.from(t.schema,e,t):new o.Scalar(e);return r?p.tag=r:I.default||(p.tag=I.tag),l&&(l.node=p),p}},4670:(e,r,t)=>{"use strict";var i=t(9399),n=t(4364);const o={"!":"%21",",":"%2C","[":"%5B","]":"%5D","{":"%7B","}":"%7D"};class a{constructor(e,r){this.docStart=null,this.docEnd=!1,this.yaml=Object.assign({},a.defaultYaml,e),this.tags=Object.assign({},a.defaultTags,r)}clone(){const e=new a(this.yaml,this.tags);return e.docStart=this.docStart,e}atDocument(){const e=new a(this.yaml,this.tags);switch(this.yaml.version){case"1.1":this.atNextDocument=!0;break;case"1.2":this.atNextDocument=!1,this.yaml={explicit:a.defaultYaml.explicit,version:"1.2"},this.tags=Object.assign({},a.defaultTags)}return e}add(e,r){this.atNextDocument&&(this.yaml={explicit:a.defaultYaml.explicit,version:"1.1"},this.tags=Object.assign({},a.defaultTags),this.atNextDocument=!1);const t=e.trim().split(/[ \t]+/),i=t.shift();switch(i){case"%TAG":{if(2!==t.length&&(r(0,"%TAG directive should contain exactly two parts"),t.length<2))return!1;const[e,i]=t;return this.tags[e]=i,!0}case"%YAML":{if(this.yaml.explicit=!0,1!==t.length)return r(0,"%YAML directive should contain exactly one part"),!1;const[e]=t;return"1.1"===e||"1.2"===e?(this.yaml.version=e,!0):(r(6,`Unsupported YAML version ${e}`,/^\d+\.\d+$/.test(e)),!1)}default:return r(0,`Unknown directive ${i}`,!0),!1}}tagName(e,r){if("!"===e)return"!";if("!"!==e[0])return r(`Not a valid tag: ${e}`),null;if("<"===e[1]){const t=e.slice(2,-1);return"!"===t||"!!"===t?(r(`Verbatim tags aren't resolved, so ${e} is invalid.`),null):(">"!==e[e.length-1]&&r("Verbatim tags must end with a >"),t)}const[,t,i]=e.match(/^(.*!)([^!]*)$/s);i||r(`The ${e} tag has no suffix`);const n=this.tags[t];if(n)try{return n+decodeURIComponent(i)}catch(e){return r(String(e)),null}return"!"===t?e:(r(`Could not resolve tag: ${e}`),null)}tagString(e){for(const[r,t]of Object.entries(this.tags))if(e.startsWith(t))return r+e.substring(t.length).replace(/[!,[\]{}]/g,(e=>o[e]));return"!"===e[0]?e:`!<${e}>`}toString(e){const r=this.yaml.explicit?[`%YAML ${this.yaml.version||"1.2"}`]:[],t=Object.entries(this.tags);let o;if(e&&t.length>0&&i.isNode(e.contents)){const r={};n.visit(e.contents,((e,t)=>{i.isNode(t)&&t.tag&&(r[t.tag]=!0)})),o=Object.keys(r)}else o=[];for(const[i,n]of t)"!!"===i&&"tag:yaml.org,2002:"===n||e&&!o.some((e=>e.startsWith(n)))||r.push(`%TAG ${i} ${n}`);return r.join("\n")}}a.defaultYaml={explicit:!1,version:"1.2"},a.defaultTags={"!!":"tag:yaml.org,2002:"},r.Directives=a},1656:(e,r)=>{"use strict";class t extends Error{constructor(e,r,t,i){super(),this.name=e,this.code=t,this.message=i,this.pos=r}}r.YAMLError=t,r.YAMLParseError=class extends t{constructor(e,r,t){super("YAMLParseError",e,r,t)}},r.YAMLWarning=class extends t{constructor(e,r,t){super("YAMLWarning",e,r,t)}},r.prettifyError=(e,r)=>t=>{if(-1===t.pos[0])return;t.linePos=t.pos.map((e=>r.linePos(e)));const{line:i,col:n}=t.linePos[0];t.message+=` at line ${i}, column ${n}`;let o=n-1,a=e.substring(r.lineStarts[i-1],r.lineStarts[i]).replace(/[\n\r]+$/,"");if(o>=60&&a.length>80){const e=Math.min(o-39,a.length-79);a="…"+a.substring(e),o-=e-1}if(a.length>80&&(a=a.substring(0,79)+"…"),i>1&&/^ *$/.test(a.substring(0,o))){let t=e.substring(r.lineStarts[i-2],r.lineStarts[i-1]);t.length>80&&(t=t.substring(0,79)+"…\n"),a=t+a}if(/[^ ]/.test(a)){let e=1;const r=t.linePos[1];r&&r.line===i&&r.col>n&&(e=Math.max(1,Math.min(r.col-n,80-o)));const s=" ".repeat(o)+"^".repeat(e);t.message+=`:\n\n${a}\n${s}\n`}}},3519:(e,r,t)=>{"use strict";var i=t(8480),n=t(2333),o=t(7840),a=t(1656),s=t(9281),u=t(9399),c=t(4237),d=t(3205),l=t(2262),I=t(847),p=t(2645),f=t(2505),m=t(2324),h=t(5456),g=t(463),v=t(4364);r.Composer=i.Composer,r.Document=n.Document,r.Schema=o.Schema,r.YAMLError=a.YAMLError,r.YAMLParseError=a.YAMLParseError,r.YAMLWarning=a.YAMLWarning,r.Alias=s.Alias,r.isAlias=u.isAlias,r.isCollection=u.isCollection,r.isDocument=u.isDocument,r.isMap=u.isMap,r.isNode=u.isNode,r.isPair=u.isPair,r.isScalar=u.isScalar,r.isSeq=u.isSeq,r.Pair=c.Pair,r.Scalar=d.Scalar,r.YAMLMap=l.YAMLMap,r.YAMLSeq=I.YAMLSeq,r.CST=p,r.Lexer=f.Lexer,r.LineCounter=m.LineCounter,r.Parser=h.Parser,r.parse=g.parse,r.parseAllDocuments=g.parseAllDocuments,r.parseDocument=g.parseDocument,r.stringify=g.stringify,r.visit=v.visit,r.visitAsync=v.visitAsync},7953:(e,r)=>{"use strict";r.debug=function(e,...r){"debug"===e&&console.log(...r)},r.warn=function(e,r){"debug"!==e&&"warn"!==e||("undefined"!=typeof process&&process.emitWarning?process.emitWarning(r):console.warn(r))}},9281:(e,r,t)=>{"use strict";var i=t(8028),n=t(4364),o=t(9399),a=t(6849),s=t(3947);class u extends a.NodeBase{constructor(e){super(o.ALIAS),this.source=e,Object.defineProperty(this,"tag",{set(){throw new Error("Alias nodes cannot have tags")}})}resolve(e){let r;return n.visit(e,{Node:(e,t)=>{if(t===this)return n.visit.BREAK;t.anchor===this.source&&(r=t)}}),r}toJSON(e,r){if(!r)return{source:this.source};const{anchors:t,doc:i,maxAliasCount:n}=r,o=this.resolve(i);if(!o){const e=`Unresolved alias (the anchor must be set before the alias): ${this.source}`;throw new ReferenceError(e)}let a=t.get(o);if(a||(s.toJS(o,null,r),a=t.get(o)),!a||void 0===a.res)throw new ReferenceError("This should not happen: Alias anchor was not resolved?");if(n>=0&&(a.count+=1,0===a.aliasCount&&(a.aliasCount=c(i,o,t)),a.count*a.aliasCount>n))throw new ReferenceError("Excessive alias count indicates a resource exhaustion attack");return a.res}toString(e,r,t){const n=`*${this.source}`;if(e){if(i.anchorIsValid(this.source),e.options.verifyAliasOrder&&!e.anchors.has(this.source)){const e=`Unresolved alias (the anchor must be set before the alias): ${this.source}`;throw new Error(e)}if(e.implicitKey)return`${n} `}return n}}function c(e,r,t){if(o.isAlias(r)){const i=r.resolve(e),n=t&&i&&t.get(i);return n?n.count*n.aliasCount:0}if(o.isCollection(r)){let i=0;for(const n of r.items){const r=c(e,n,t);r>i&&(i=r)}return i}if(o.isPair(r)){const i=c(e,r.key,t),n=c(e,r.value,t);return Math.max(i,n)}return 1}r.Alias=u},2997:(e,r,t)=>{"use strict";var i=t(4532),n=t(9399),o=t(6849);function a(e,r,t){let n=t;for(let e=r.length-1;e>=0;--e){const t=r[e];if("number"==typeof t&&Number.isInteger(t)&&t>=0){const e=[];e[t]=n,n=e}else n=new Map([[t,n]])}return i.createNode(n,void 0,{aliasDuplicateObjects:!1,keepUndefined:!1,onAnchor:()=>{throw new Error("This should not happen, please report a bug.")},schema:e,sourceObjects:new Map})}const s=e=>null==e||"object"==typeof e&&!!e[Symbol.iterator]().next().done;class u extends o.NodeBase{constructor(e,r){super(e),Object.defineProperty(this,"schema",{value:r,configurable:!0,enumerable:!1,writable:!0})}clone(e){const r=Object.create(Object.getPrototypeOf(this),Object.getOwnPropertyDescriptors(this));return e&&(r.schema=e),r.items=r.items.map((r=>n.isNode(r)||n.isPair(r)?r.clone(e):r)),this.range&&(r.range=this.range.slice()),r}addIn(e,r){if(s(e))this.add(r);else{const[t,...i]=e,o=this.get(t,!0);if(n.isCollection(o))o.addIn(i,r);else{if(void 0!==o||!this.schema)throw new Error(`Expected YAML collection at ${t}. Remaining path: ${i}`);this.set(t,a(this.schema,i,r))}}}deleteIn(e){const[r,...t]=e;if(0===t.length)return this.delete(r);const i=this.get(r,!0);if(n.isCollection(i))return i.deleteIn(t);throw new Error(`Expected YAML collection at ${r}. Remaining path: ${t}`)}getIn(e,r){const[t,...i]=e,o=this.get(t,!0);return 0===i.length?!r&&n.isScalar(o)?o.value:o:n.isCollection(o)?o.getIn(i,r):void 0}hasAllNullValues(e){return this.items.every((r=>{if(!n.isPair(r))return!1;const t=r.value;return null==t||e&&n.isScalar(t)&&null==t.value&&!t.commentBefore&&!t.comment&&!t.tag}))}hasIn(e){const[r,...t]=e;if(0===t.length)return this.has(r);const i=this.get(r,!0);return!!n.isCollection(i)&&i.hasIn(t)}setIn(e,r){const[t,...i]=e;if(0===i.length)this.set(t,r);else{const e=this.get(t,!0);if(n.isCollection(e))e.setIn(i,r);else{if(void 0!==e||!this.schema)throw new Error(`Expected YAML collection at ${t}. Remaining path: ${i}`);this.set(t,a(this.schema,i,r))}}}}u.maxFlowStringSingleLineLength=60,r.Collection=u,r.collectionFromPath=a,r.isEmptyPath=s},6849:(e,r,t)=>{"use strict";var i=t(7197),n=t(9399),o=t(3947);r.NodeBase=class{constructor(e){Object.defineProperty(this,n.NODE_TYPE,{value:e})}clone(){const e=Object.create(Object.getPrototypeOf(this),Object.getOwnPropertyDescriptors(this));return this.range&&(e.range=this.range.slice()),e}toJS(e,{mapAsMap:r,maxAliasCount:t,onAnchor:a,reviver:s}={}){if(!n.isDocument(e))throw new TypeError("A document argument is required");const u={anchors:new Map,doc:e,keep:!0,mapAsMap:!0===r,mapKeyWarned:!1,maxAliasCount:"number"==typeof t?t:100},c=o.toJS(this,"",u);if("function"==typeof a)for(const{count:e,res:r}of u.anchors.values())a(r,e);return"function"==typeof s?i.applyReviver(s,{"":c},"",c):c}}},4237:(e,r,t)=>{"use strict";var i=t(4532),n=t(9348),o=t(8016),a=t(9399);class s{constructor(e,r=null){Object.defineProperty(this,a.NODE_TYPE,{value:a.PAIR}),this.key=e,this.value=r}clone(e){let{key:r,value:t}=this;return a.isNode(r)&&(r=r.clone(e)),a.isNode(t)&&(t=t.clone(e)),new s(r,t)}toJSON(e,r){const t=r?.mapAsMap?new Map:{};return o.addPairToJSMap(r,t,this)}toString(e,r,t){return e?.doc?n.stringifyPair(this,e,r,t):JSON.stringify(this)}}r.Pair=s,r.createPair=function(e,r,t){const n=i.createNode(e,void 0,t),o=i.createNode(r,void 0,t);return new s(n,o)}},3205:(e,r,t)=>{"use strict";var i=t(9399),n=t(6849),o=t(3947);class a extends n.NodeBase{constructor(e){super(i.SCALAR),this.value=e}toJSON(e,r){return r?.keep?this.value:o.toJS(this.value,e,r)}toString(){return String(this.value)}}a.BLOCK_FOLDED="BLOCK_FOLDED",a.BLOCK_LITERAL="BLOCK_LITERAL",a.PLAIN="PLAIN",a.QUOTE_DOUBLE="QUOTE_DOUBLE",a.QUOTE_SINGLE="QUOTE_SINGLE",r.Scalar=a,r.isScalarValue=e=>!e||"function"!=typeof e&&"object"!=typeof e},2262:(e,r,t)=>{"use strict";var i=t(5756),n=t(8016),o=t(2997),a=t(9399),s=t(4237),u=t(3205);function c(e,r){const t=a.isScalar(r)?r.value:r;for(const i of e)if(a.isPair(i)){if(i.key===r||i.key===t)return i;if(a.isScalar(i.key)&&i.key.value===t)return i}}class d extends o.Collection{static get tagName(){return"tag:yaml.org,2002:map"}constructor(e){super(a.MAP,e),this.items=[]}static from(e,r,t){const{keepUndefined:i,replacer:n}=t,o=new this(e),a=(e,a)=>{if("function"==typeof n)a=n.call(r,e,a);else if(Array.isArray(n)&&!n.includes(e))return;(void 0!==a||i)&&o.items.push(s.createPair(e,a,t))};if(r instanceof Map)for(const[e,t]of r)a(e,t);else if(r&&"object"==typeof r)for(const e of Object.keys(r))a(e,r[e]);return"function"==typeof e.sortMapEntries&&o.items.sort(e.sortMapEntries),o}add(e,r){let t;t=a.isPair(e)?e:e&&"object"==typeof e&&"key"in e?new s.Pair(e.key,e.value):new s.Pair(e,e?.value);const i=c(this.items,t.key),n=this.schema?.sortMapEntries;if(i){if(!r)throw new Error(`Key ${t.key} already set`);a.isScalar(i.value)&&u.isScalarValue(t.value)?i.value.value=t.value:i.value=t.value}else if(n){const e=this.items.findIndex((e=>n(t,e)<0));-1===e?this.items.push(t):this.items.splice(e,0,t)}else this.items.push(t)}delete(e){const r=c(this.items,e);return!!r&&this.items.splice(this.items.indexOf(r),1).length>0}get(e,r){const t=c(this.items,e),i=t?.value;return(!r&&a.isScalar(i)?i.value:i)??void 0}has(e){return!!c(this.items,e)}set(e,r){this.add(new s.Pair(e,r),!0)}toJSON(e,r,t){const i=t?new t:r?.mapAsMap?new Map:{};r?.onCreate&&r.onCreate(i);for(const e of this.items)n.addPairToJSMap(r,i,e);return i}toString(e,r,t){if(!e)return JSON.stringify(this);for(const e of this.items)if(!a.isPair(e))throw new Error(`Map items must all be pairs; found ${JSON.stringify(e)} instead`);return!e.allNullValues&&this.hasAllNullValues(!1)&&(e=Object.assign({},e,{allNullValues:!0})),i.stringifyCollection(this,e,{blockItemPrefix:"",flowChars:{start:"{",end:"}"},itemIndent:e.indent||"",onChompKeep:t,onComment:r})}}r.YAMLMap=d,r.findPair=c},847:(e,r,t)=>{"use strict";var i=t(4532),n=t(5756),o=t(2997),a=t(9399),s=t(3205),u=t(3947);class c extends o.Collection{static get tagName(){return"tag:yaml.org,2002:seq"}constructor(e){super(a.SEQ,e),this.items=[]}add(e){this.items.push(e)}delete(e){const r=d(e);return"number"==typeof r&&this.items.splice(r,1).length>0}get(e,r){const t=d(e);if("number"!=typeof t)return;const i=this.items[t];return!r&&a.isScalar(i)?i.value:i}has(e){const r=d(e);return"number"==typeof r&&r<this.items.length}set(e,r){const t=d(e);if("number"!=typeof t)throw new Error(`Expected a valid index, not ${e}.`);const i=this.items[t];a.isScalar(i)&&s.isScalarValue(r)?i.value=r:this.items[t]=r}toJSON(e,r){const t=[];r?.onCreate&&r.onCreate(t);let i=0;for(const e of this.items)t.push(u.toJS(e,String(i++),r));return t}toString(e,r,t){return e?n.stringifyCollection(this,e,{blockItemPrefix:"- ",flowChars:{start:"[",end:"]"},itemIndent:(e.indent||"")+" ",onChompKeep:t,onComment:r}):JSON.stringify(this)}static from(e,r,t){const{replacer:n}=t,o=new this(e);if(r&&Symbol.iterator in Object(r)){let e=0;for(let a of r){if("function"==typeof n){const t=r instanceof Set?a:String(e++);a=n.call(r,t,a)}o.items.push(i.createNode(a,void 0,t))}}return o}}function d(e){let r=a.isScalar(e)?e.value:e;return r&&"string"==typeof r&&(r=Number(r)),"number"==typeof r&&Number.isInteger(r)&&r>=0?r:null}r.YAMLSeq=c},8016:(e,r,t)=>{"use strict";var i=t(7953),n=t(5636),o=t(9399),a=t(3205),s=t(3947);function u(e,r,t){const i=e&&o.isAlias(t)?t.resolve(e.doc):t;if(!o.isMap(i))throw new Error("Merge sources must be maps or map aliases");const n=i.toJSON(null,e,Map);for(const[e,t]of n)r instanceof Map?r.has(e)||r.set(e,t):r instanceof Set?r.add(e):Object.prototype.hasOwnProperty.call(r,e)||Object.defineProperty(r,e,{value:t,writable:!0,enumerable:!0,configurable:!0});return r}r.addPairToJSMap=function(e,r,{key:t,value:c}){if(e?.doc.schema.merge&&(e=>"<<"===e||o.isScalar(e)&&"<<"===e.value&&(!e.type||e.type===a.Scalar.PLAIN))(t))if(c=o.isAlias(c)?c.resolve(e.doc):c,o.isSeq(c))for(const t of c.items)u(e,r,t);else if(Array.isArray(c))for(const t of c)u(e,r,t);else u(e,r,c);else{const a=s.toJS(t,"",e);if(r instanceof Map)r.set(a,s.toJS(c,a,e));else if(r instanceof Set)r.add(a);else{const u=function(e,r,t){if(null===r)return"";if("object"!=typeof r)return String(r);if(o.isNode(e)&&t?.doc){const r=n.createStringifyContext(t.doc,{});r.anchors=new Set;for(const e of t.anchors.keys())r.anchors.add(e.anchor);r.inFlow=!0,r.inStringifyKey=!0;const o=e.toString(r);if(!t.mapKeyWarned){let e=JSON.stringify(o);e.length>40&&(e=e.substring(0,36)+'..."'),i.warn(t.doc.options.logLevel,`Keys with collection values will be stringified due to JS Object restrictions: ${e}. Set mapAsMap: true to use object keys.`),t.mapKeyWarned=!0}return o}return JSON.stringify(r)}(t,a,e),d=s.toJS(c,u,e);u in r?Object.defineProperty(r,u,{value:d,writable:!0,enumerable:!0,configurable:!0}):r[u]=d}}return r}},9399:(e,r)=>{"use strict";const t=Symbol.for("yaml.alias"),i=Symbol.for("yaml.document"),n=Symbol.for("yaml.map"),o=Symbol.for("yaml.pair"),a=Symbol.for("yaml.scalar"),s=Symbol.for("yaml.seq"),u=Symbol.for("yaml.node.type"),c=e=>!!e&&"object"==typeof e&&e[u]===a;function d(e){if(e&&"object"==typeof e)switch(e[u]){case n:case s:return!0}return!1}r.ALIAS=t,r.DOC=i,r.MAP=n,r.NODE_TYPE=u,r.PAIR=o,r.SCALAR=a,r.SEQ=s,r.hasAnchor=e=>(c(e)||d(e))&&!!e.anchor,r.isAlias=e=>!!e&&"object"==typeof e&&e[u]===t,r.isCollection=d,r.isDocument=e=>!!e&&"object"==typeof e&&e[u]===i,r.isMap=e=>!!e&&"object"==typeof e&&e[u]===n,r.isNode=function(e){if(e&&"object"==typeof e)switch(e[u]){case t:case n:case a:case s:return!0}return!1},r.isPair=e=>!!e&&"object"==typeof e&&e[u]===o,r.isScalar=c,r.isSeq=e=>!!e&&"object"==typeof e&&e[u]===s},3947:(e,r,t)=>{"use strict";var i=t(9399);r.toJS=function e(r,t,n){if(Array.isArray(r))return r.map(((r,t)=>e(r,String(t),n)));if(r&&"function"==typeof r.toJSON){if(!n||!i.hasAnchor(r))return r.toJSON(t,n);const e={aliasCount:0,count:1,res:void 0};n.anchors.set(r,e),n.onCreate=r=>{e.res=r,delete n.onCreate};const o=r.toJSON(t,n);return n.onCreate&&n.onCreate(o),o}return"bigint"!=typeof r||n?.keep?r:Number(r)}},2174:(e,r,t)=>{"use strict";var i=t(6945),n=t(2362),o=t(1656),a=t(8653);function s(e,r){if(r)for(const t of r)switch(t.type){case"space":case"comment":e.push(t);break;case"newline":return e.push(t),!0}return!1}function u(e,r,t){switch(e.type){case"scalar":case"double-quoted-scalar":case"single-quoted-scalar":e.type=t,e.source=r;break;case"block-scalar":{const i=e.props.slice(1);let n=r.length;"block-scalar-header"===e.props[0].type&&(n-=e.props[0].source.length);for(const e of i)e.offset+=n;delete e.props,Object.assign(e,{type:t,source:r,end:i});break}case"block-map":case"block-seq":{const i={type:"newline",offset:e.offset+r.length,indent:e.indent,source:"\n"};delete e.items,Object.assign(e,{type:t,source:r,end:[i]});break}default:{const i="indent"in e?e.indent:-1,n="end"in e&&Array.isArray(e.end)?e.end.filter((e=>"space"===e.type||"comment"===e.type||"newline"===e.type)):[];for(const r of Object.keys(e))"type"!==r&&"offset"!==r&&delete e[r];Object.assign(e,{type:t,indent:i,source:r,end:n})}}}r.createScalarToken=function(e,r){const{implicitKey:t=!1,indent:i,inFlow:n=!1,offset:o=-1,type:u="PLAIN"}=r,c=a.stringifyString({type:u,value:e},{implicitKey:t,indent:i>0?" ".repeat(i):"",inFlow:n,options:{blockQuote:!0,lineWidth:-1}}),d=r.end??[{type:"newline",offset:-1,indent:i,source:"\n"}];switch(c[0]){case"|":case">":{const e=c.indexOf("\n"),r=c.substring(0,e),t=c.substring(e+1)+"\n",n=[{type:"block-scalar-header",offset:o,indent:i,source:r}];return s(n,d)||n.push({type:"newline",offset:-1,indent:i,source:"\n"}),{type:"block-scalar",offset:o,indent:i,props:n,source:t}}case'"':return{type:"double-quoted-scalar",offset:o,indent:i,source:c,end:d};case"'":return{type:"single-quoted-scalar",offset:o,indent:i,source:c,end:d};default:return{type:"scalar",offset:o,indent:i,source:c,end:d}}},r.resolveAsScalar=function(e,r=!0,t){if(e){const a=(e,r,i)=>{const n="number"==typeof e?e:Array.isArray(e)?e[0]:e.offset;if(!t)throw new o.YAMLParseError([n,n+1],r,i);t(n,r,i)};switch(e.type){case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":return n.resolveFlowScalar(e,r,a);case"block-scalar":return i.resolveBlockScalar(e,r,a)}}return null},r.setScalarValue=function(e,r,t={}){let{afterKey:i=!1,implicitKey:n=!1,inFlow:o=!1,type:c}=t,d="indent"in e?e.indent:null;if(i&&"number"==typeof d&&(d+=2),!c)switch(e.type){case"single-quoted-scalar":c="QUOTE_SINGLE";break;case"double-quoted-scalar":c="QUOTE_DOUBLE";break;case"block-scalar":{const r=e.props[0];if("block-scalar-header"!==r.type)throw new Error("Invalid block scalar header");c=">"===r.source[0]?"BLOCK_FOLDED":"BLOCK_LITERAL";break}default:c="PLAIN"}const l=a.stringifyString({type:c,value:r},{implicitKey:n||null===d,indent:null!==d&&d>0?" ".repeat(d):"",inFlow:o,options:{blockQuote:!0,lineWidth:-1}});switch(l[0]){case"|":case">":!function(e,r){const t=r.indexOf("\n"),i=r.substring(0,t),n=r.substring(t+1)+"\n";if("block-scalar"===e.type){const r=e.props[0];if("block-scalar-header"!==r.type)throw new Error("Invalid block scalar header");r.source=i,e.source=n}else{const{offset:r}=e,t="indent"in e?e.indent:-1,o=[{type:"block-scalar-header",offset:r,indent:t,source:i}];s(o,"end"in e?e.end:void 0)||o.push({type:"newline",offset:-1,indent:t,source:"\n"});for(const r of Object.keys(e))"type"!==r&&"offset"!==r&&delete e[r];Object.assign(e,{type:"block-scalar",indent:t,props:o,source:n})}}(e,l);break;case'"':u(e,l,"double-quoted-scalar");break;case"'":u(e,l,"single-quoted-scalar");break;default:u(e,l,"scalar")}}},373:(e,r)=>{"use strict";function t(e){switch(e.type){case"block-scalar":{let r="";for(const i of e.props)r+=t(i);return r+e.source}case"block-map":case"block-seq":{let r="";for(const t of e.items)r+=i(t);return r}case"flow-collection":{let r=e.start.source;for(const t of e.items)r+=i(t);for(const t of e.end)r+=t.source;return r}case"document":{let r=i(e);if(e.end)for(const t of e.end)r+=t.source;return r}default:{let r=e.source;if("end"in e&&e.end)for(const t of e.end)r+=t.source;return r}}}function i({start:e,key:r,sep:i,value:n}){let o="";for(const r of e)o+=r.source;if(r&&(o+=t(r)),i)for(const e of i)o+=e.source;return n&&(o+=t(n)),o}r.stringify=e=>"type"in e?t(e):i(e)},4243:(e,r)=>{"use strict";const t=Symbol("break visit"),i=Symbol("skip children"),n=Symbol("remove item");function o(e,r){"type"in e&&"document"===e.type&&(e={start:e.start,value:e.value}),a(Object.freeze([]),e,r)}function a(e,r,i){let o=i(r,e);if("symbol"==typeof o)return o;for(const s of["key","value"]){const u=r[s];if(u&&"items"in u){for(let r=0;r<u.items.length;++r){const o=a(Object.freeze(e.concat([[s,r]])),u.items[r],i);if("number"==typeof o)r=o-1;else{if(o===t)return t;o===n&&(u.items.splice(r,1),r-=1)}}"function"==typeof o&&"key"===s&&(o=o(r,e))}}return"function"==typeof o?o(r,e):o}o.BREAK=t,o.SKIP=i,o.REMOVE=n,o.itemAtPath=(e,r)=>{let t=e;for(const[e,i]of r){const r=t?.[e];if(!r||!("items"in r))return;t=r.items[i]}return t},o.parentCollection=(e,r)=>{const t=o.itemAtPath(e,r.slice(0,-1)),i=r[r.length-1][0],n=t?.[i];if(n&&"items"in n)return n;throw new Error("Parent collection not found")},r.visit=o},2645:(e,r,t)=>{"use strict";var i=t(2174),n=t(373),o=t(4243);r.createScalarToken=i.createScalarToken,r.resolveAsScalar=i.resolveAsScalar,r.setScalarValue=i.setScalarValue,r.stringify=n.stringify,r.visit=o.visit,r.BOM="\ufeff",r.DOCUMENT="",r.FLOW_END="",r.SCALAR="",r.isCollection=e=>!!e&&"items"in e,r.isScalar=e=>!!e&&("scalar"===e.type||"single-quoted-scalar"===e.type||"double-quoted-scalar"===e.type||"block-scalar"===e.type),r.prettyToken=function(e){switch(e){case"\ufeff":return"<BOM>";case"":return"<DOC>";case"":return"<FLOW_END>";case"":return"<SCALAR>";default:return JSON.stringify(e)}},r.tokenType=function(e){switch(e){case"\ufeff":return"byte-order-mark";case"":return"doc-mode";case"":return"flow-error-end";case"":return"scalar";case"---":return"doc-start";case"...":return"doc-end";case"":case"\n":case"\r\n":return"newline";case"-":return"seq-item-ind";case"?":return"explicit-key-ind";case":":return"map-value-ind";case"{":return"flow-map-start";case"}":return"flow-map-end";case"[":return"flow-seq-start";case"]":return"flow-seq-end";case",":return"comma"}switch(e[0]){case" ":case"\t":return"space";case"#":return"comment";case"%":return"directive-line";case"*":return"alias";case"&":return"anchor";case"!":return"tag";case"'":return"single-quoted-scalar";case'"':return"double-quoted-scalar";case"|":case">":return"block-scalar-header"}return null}},2505:(e,r,t)=>{"use strict";var i=t(2645);function n(e){switch(e){case void 0:case" ":case"\n":case"\r":case"\t":return!0;default:return!1}}const o="0123456789ABCDEFabcdef".split(""),a="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-#;/?:@&=+$_.!~*'()".split(""),s=",[]{}".split(""),u=" ,[]{}\n\r\t".split(""),c=e=>!e||u.includes(e);r.Lexer=class{constructor(){this.atEnd=!1,this.blockScalarIndent=-1,this.blockScalarKeep=!1,this.buffer="",this.flowKey=!1,this.flowLevel=0,this.indentNext=0,this.indentValue=0,this.lineEndPos=null,this.next=null,this.pos=0}*lex(e,r=!1){e&&(this.buffer=this.buffer?this.buffer+e:e,this.lineEndPos=null),this.atEnd=!r;let t=this.next??"stream";for(;t&&(r||this.hasChars(1));)t=yield*this.parseNext(t)}atLineEnd(){let e=this.pos,r=this.buffer[e];for(;" "===r||"\t"===r;)r=this.buffer[++e];return!r||"#"===r||"\n"===r||"\r"===r&&"\n"===this.buffer[e+1]}charAt(e){return this.buffer[this.pos+e]}continueScalar(e){let r=this.buffer[e];if(this.indentNext>0){let t=0;for(;" "===r;)r=this.buffer[++t+e];if("\r"===r){const r=this.buffer[t+e+1];if("\n"===r||!r&&!this.atEnd)return e+t+1}return"\n"===r||t>=this.indentNext||!r&&!this.atEnd?e+t:-1}if("-"===r||"."===r){const r=this.buffer.substr(e,3);if(("---"===r||"..."===r)&&n(this.buffer[e+3]))return-1}return e}getLine(){let e=this.lineEndPos;return("number"!=typeof e||-1!==e&&e<this.pos)&&(e=this.buffer.indexOf("\n",this.pos),this.lineEndPos=e),-1===e?this.atEnd?this.buffer.substring(this.pos):null:("\r"===this.buffer[e-1]&&(e-=1),this.buffer.substring(this.pos,e))}hasChars(e){return this.pos+e<=this.buffer.length}setNext(e){return this.buffer=this.buffer.substring(this.pos),this.pos=0,this.lineEndPos=null,this.next=e,null}peek(e){return this.buffer.substr(this.pos,e)}*parseNext(e){switch(e){case"stream":return yield*this.parseStream();case"line-start":return yield*this.parseLineStart();case"block-start":return yield*this.parseBlockStart();case"doc":return yield*this.parseDocument();case"flow":return yield*this.parseFlowCollection();case"quoted-scalar":return yield*this.parseQuotedScalar();case"block-scalar":return yield*this.parseBlockScalar();case"plain-scalar":return yield*this.parsePlainScalar()}}*parseStream(){let e=this.getLine();if(null===e)return this.setNext("stream");if(e[0]===i.BOM&&(yield*this.pushCount(1),e=e.substring(1)),"%"===e[0]){let r=e.length;const t=e.indexOf("#");if(-1!==t){const i=e[t-1];" "!==i&&"\t"!==i||(r=t-1)}for(;;){const t=e[r-1];if(" "!==t&&"\t"!==t)break;r-=1}const i=(yield*this.pushCount(r))+(yield*this.pushSpaces(!0));return yield*this.pushCount(e.length-i),this.pushNewline(),"stream"}if(this.atLineEnd()){const r=yield*this.pushSpaces(!0);return yield*this.pushCount(e.length-r),yield*this.pushNewline(),"stream"}return yield i.DOCUMENT,yield*this.parseLineStart()}*parseLineStart(){const e=this.charAt(0);if(!e&&!this.atEnd)return this.setNext("line-start");if("-"===e||"."===e){if(!this.atEnd&&!this.hasChars(4))return this.setNext("line-start");const e=this.peek(3);if("---"===e&&n(this.charAt(3)))return yield*this.pushCount(3),this.indentValue=0,this.indentNext=0,"doc";if("..."===e&&n(this.charAt(3)))return yield*this.pushCount(3),"stream"}return this.indentValue=yield*this.pushSpaces(!1),this.indentNext>this.indentValue&&!n(this.charAt(1))&&(this.indentNext=this.indentValue),yield*this.parseBlockStart()}*parseBlockStart(){const[e,r]=this.peek(2);if(!r&&!this.atEnd)return this.setNext("block-start");if(("-"===e||"?"===e||":"===e)&&n(r)){const e=(yield*this.pushCount(1))+(yield*this.pushSpaces(!0));return this.indentNext=this.indentValue+1,this.indentValue+=e,yield*this.parseBlockStart()}return"doc"}*parseDocument(){yield*this.pushSpaces(!0);const e=this.getLine();if(null===e)return this.setNext("doc");let r=yield*this.pushIndicators();switch(e[r]){case"#":yield*this.pushCount(e.length-r);case void 0:return yield*this.pushNewline(),yield*this.parseLineStart();case"{":case"[":return yield*this.pushCount(1),this.flowKey=!1,this.flowLevel=1,"flow";case"}":case"]":return yield*this.pushCount(1),"doc";case"*":return yield*this.pushUntil(c),"doc";case'"':case"'":return yield*this.parseQuotedScalar();case"|":case">":return r+=(yield*this.parseBlockScalarHeader()),r+=(yield*this.pushSpaces(!0)),yield*this.pushCount(e.length-r),yield*this.pushNewline(),yield*this.parseBlockScalar();default:return yield*this.parsePlainScalar()}}*parseFlowCollection(){let e,r,t=-1;do{e=yield*this.pushNewline(),e>0?(r=yield*this.pushSpaces(!1),this.indentValue=t=r):r=0,r+=(yield*this.pushSpaces(!0))}while(e+r>0);const o=this.getLine();if(null===o)return this.setNext("flow");if((-1!==t&&t<this.indentNext&&"#"!==o[0]||0===t&&(o.startsWith("---")||o.startsWith("..."))&&n(o[3]))&&(t!==this.indentNext-1||1!==this.flowLevel||"]"!==o[0]&&"}"!==o[0]))return this.flowLevel=0,yield i.FLOW_END,yield*this.parseLineStart();let a=0;for(;","===o[a];)a+=(yield*this.pushCount(1)),a+=(yield*this.pushSpaces(!0)),this.flowKey=!1;switch(a+=(yield*this.pushIndicators()),o[a]){case void 0:return"flow";case"#":return yield*this.pushCount(o.length-a),"flow";case"{":case"[":return yield*this.pushCount(1),this.flowKey=!1,this.flowLevel+=1,"flow";case"}":case"]":return yield*this.pushCount(1),this.flowKey=!0,this.flowLevel-=1,this.flowLevel?"flow":"doc";case"*":return yield*this.pushUntil(c),"flow";case'"':case"'":return this.flowKey=!0,yield*this.parseQuotedScalar();case":":{const e=this.charAt(1);if(this.flowKey||n(e)||","===e)return this.flowKey=!1,yield*this.pushCount(1),yield*this.pushSpaces(!0),"flow"}default:return this.flowKey=!1,yield*this.parsePlainScalar()}}*parseQuotedScalar(){const e=this.charAt(0);let r=this.buffer.indexOf(e,this.pos+1);if("'"===e)for(;-1!==r&&"'"===this.buffer[r+1];)r=this.buffer.indexOf("'",r+2);else for(;-1!==r;){let e=0;for(;"\\"===this.buffer[r-1-e];)e+=1;if(e%2==0)break;r=this.buffer.indexOf('"',r+1)}const t=this.buffer.substring(0,r);let i=t.indexOf("\n",this.pos);if(-1!==i){for(;-1!==i;){const e=this.continueScalar(i+1);if(-1===e)break;i=t.indexOf("\n",e)}-1!==i&&(r=i-("\r"===t[i-1]?2:1))}if(-1===r){if(!this.atEnd)return this.setNext("quoted-scalar");r=this.buffer.length}return yield*this.pushToIndex(r+1,!1),this.flowLevel?"flow":"doc"}*parseBlockScalarHeader(){this.blockScalarIndent=-1,this.blockScalarKeep=!1;let e=this.pos;for(;;){const r=this.buffer[++e];if("+"===r)this.blockScalarKeep=!0;else if(r>"0"&&r<="9")this.blockScalarIndent=Number(r)-1;else if("-"!==r)break}return yield*this.pushUntil((e=>n(e)||"#"===e))}*parseBlockScalar(){let e,r=this.pos-1,t=0;e:for(let i=this.pos;e=this.buffer[i];++i)switch(e){case" ":t+=1;break;case"\n":r=i,t=0;break;case"\r":{const e=this.buffer[i+1];if(!e&&!this.atEnd)return this.setNext("block-scalar");if("\n"===e)break}default:break e}if(!e&&!this.atEnd)return this.setNext("block-scalar");if(t>=this.indentNext){-1===this.blockScalarIndent?this.indentNext=t:this.indentNext+=this.blockScalarIndent;do{const e=this.continueScalar(r+1);if(-1===e)break;r=this.buffer.indexOf("\n",e)}while(-1!==r);if(-1===r){if(!this.atEnd)return this.setNext("block-scalar");r=this.buffer.length}}if(!this.blockScalarKeep)for(;;){let e=r-1,i=this.buffer[e];"\r"===i&&(i=this.buffer[--e]);const n=e;for(;" "===i||"\t"===i;)i=this.buffer[--e];if(!("\n"===i&&e>=this.pos&&e+1+t>n))break;r=e}return yield i.SCALAR,yield*this.pushToIndex(r+1,!0),yield*this.parseLineStart()}*parsePlainScalar(){const e=this.flowLevel>0;let r,t=this.pos-1,o=this.pos-1;for(;r=this.buffer[++o];)if(":"===r){const r=this.buffer[o+1];if(n(r)||e&&","===r)break;t=o}else if(n(r)){let i=this.buffer[o+1];if("\r"===r&&("\n"===i?(o+=1,r="\n",i=this.buffer[o+1]):t=o),"#"===i||e&&s.includes(i))break;if("\n"===r){const e=this.continueScalar(o+1);if(-1===e)break;o=Math.max(o,e-2)}}else{if(e&&s.includes(r))break;t=o}return r||this.atEnd?(yield i.SCALAR,yield*this.pushToIndex(t+1,!0),e?"flow":"doc"):this.setNext("plain-scalar")}*pushCount(e){return e>0?(yield this.buffer.substr(this.pos,e),this.pos+=e,e):0}*pushToIndex(e,r){const t=this.buffer.slice(this.pos,e);return t?(yield t,this.pos+=t.length,t.length):(r&&(yield""),0)}*pushIndicators(){switch(this.charAt(0)){case"!":return(yield*this.pushTag())+(yield*this.pushSpaces(!0))+(yield*this.pushIndicators());case"&":return(yield*this.pushUntil(c))+(yield*this.pushSpaces(!0))+(yield*this.pushIndicators());case"-":case"?":case":":{const e=this.flowLevel>0,r=this.charAt(1);if(n(r)||e&&s.includes(r))return e?this.flowKey&&(this.flowKey=!1):this.indentNext=this.indentValue+1,(yield*this.pushCount(1))+(yield*this.pushSpaces(!0))+(yield*this.pushIndicators())}}return 0}*pushTag(){if("<"===this.charAt(1)){let e=this.pos+2,r=this.buffer[e];for(;!n(r)&&">"!==r;)r=this.buffer[++e];return yield*this.pushToIndex(">"===r?e+1:e,!1)}{let e=this.pos+1,r=this.buffer[e];for(;r;)if(a.includes(r))r=this.buffer[++e];else{if("%"!==r||!o.includes(this.buffer[e+1])||!o.includes(this.buffer[e+2]))break;r=this.buffer[e+=3]}return yield*this.pushToIndex(e,!1)}}*pushNewline(){const e=this.buffer[this.pos];return"\n"===e?yield*this.pushCount(1):"\r"===e&&"\n"===this.charAt(1)?yield*this.pushCount(2):0}*pushSpaces(e){let r,t=this.pos-1;do{r=this.buffer[++t]}while(" "===r||e&&"\t"===r);const i=t-this.pos;return i>0&&(yield this.buffer.substr(this.pos,i),this.pos=t),i}*pushUntil(e){let r=this.pos,t=this.buffer[r];for(;!e(t);)t=this.buffer[++r];return yield*this.pushToIndex(r,!1)}}},2324:(e,r)=>{"use strict";r.LineCounter=class{constructor(){this.lineStarts=[],this.addNewLine=e=>this.lineStarts.push(e),this.linePos=e=>{let r=0,t=this.lineStarts.length;for(;r<t;){const i=r+t>>1;this.lineStarts[i]<e?r=i+1:t=i}return this.lineStarts[r]===e?{line:r+1,col:1}:0===r?{line:0,col:e}:{line:r,col:e-this.lineStarts[r-1]+1}}}}},5456:(e,r,t)=>{"use strict";var i=t(2645),n=t(2505);function o(e,r){for(let t=0;t<e.length;++t)if(e[t].type===r)return!0;return!1}function a(e){for(let r=0;r<e.length;++r)switch(e[r].type){case"space":case"comment":case"newline":break;default:return r}return-1}function s(e){switch(e?.type){case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":case"flow-collection":return!0;default:return!1}}function u(e){switch(e.type){case"document":return e.start;case"block-map":{const r=e.items[e.items.length-1];return r.sep??r.start}case"block-seq":return e.items[e.items.length-1].start;default:return[]}}function c(e){if(0===e.length)return[];let r=e.length;e:for(;--r>=0;)switch(e[r].type){case"doc-start":case"explicit-key-ind":case"map-value-ind":case"seq-item-ind":case"newline":break e}for(;"space"===e[++r]?.type;);return e.splice(r,e.length)}function d(e){if("flow-seq-start"===e.start.type)for(const r of e.items)!r.sep||r.value||o(r.start,"explicit-key-ind")||o(r.sep,"map-value-ind")||(r.key&&(r.value=r.key),delete r.key,s(r.value)?r.value.end?Array.prototype.push.apply(r.value.end,r.sep):r.value.end=r.sep:Array.prototype.push.apply(r.start,r.sep),delete r.sep)}r.Parser=class{constructor(e){this.atNewLine=!0,this.atScalar=!1,this.indent=0,this.offset=0,this.onKeyLine=!1,this.stack=[],this.source="",this.type="",this.lexer=new n.Lexer,this.onNewLine=e}*parse(e,r=!1){this.onNewLine&&0===this.offset&&this.onNewLine(0);for(const t of this.lexer.lex(e,r))yield*this.next(t);r||(yield*this.end())}*next(e){if(this.source=e,process.env.LOG_TOKENS&&console.log("|",i.prettyToken(e)),this.atScalar)return this.atScalar=!1,yield*this.step(),void(this.offset+=e.length);const r=i.tokenType(e);if(r)if("scalar"===r)this.atNewLine=!1,this.atScalar=!0,this.type="scalar";else{switch(this.type=r,yield*this.step(),r){case"newline":this.atNewLine=!0,this.indent=0,this.onNewLine&&this.onNewLine(this.offset+e.length);break;case"space":this.atNewLine&&" "===e[0]&&(this.indent+=e.length);break;case"explicit-key-ind":case"map-value-ind":case"seq-item-ind":this.atNewLine&&(this.indent+=e.length);break;case"doc-mode":case"flow-error-end":return;default:this.atNewLine=!1}this.offset+=e.length}else{const r=`Not a YAML token: ${e}`;yield*this.pop({type:"error",offset:this.offset,message:r,source:e}),this.offset+=e.length}}*end(){for(;this.stack.length>0;)yield*this.pop()}get sourceToken(){return{type:this.type,offset:this.offset,indent:this.indent,source:this.source}}*step(){const e=this.peek(1);if("doc-end"!==this.type||e&&"doc-end"===e.type){if(!e)return yield*this.stream();switch(e.type){case"document":return yield*this.document(e);case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":return yield*this.scalar(e);case"block-scalar":return yield*this.blockScalar(e);case"block-map":return yield*this.blockMap(e);case"block-seq":return yield*this.blockSequence(e);case"flow-collection":return yield*this.flowCollection(e);case"doc-end":return yield*this.documentEnd(e)}yield*this.pop()}else{for(;this.stack.length>0;)yield*this.pop();this.stack.push({type:"doc-end",offset:this.offset,source:this.source})}}peek(e){return this.stack[this.stack.length-e]}*pop(e){const r=e??this.stack.pop();if(r)if(0===this.stack.length)yield r;else{const e=this.peek(1);switch("block-scalar"===r.type?r.indent="indent"in e?e.indent:0:"flow-collection"===r.type&&"document"===e.type&&(r.indent=0),"flow-collection"===r.type&&d(r),e.type){case"document":e.value=r;break;case"block-scalar":e.props.push(r);break;case"block-map":{const t=e.items[e.items.length-1];if(t.value)return e.items.push({start:[],key:r,sep:[]}),void(this.onKeyLine=!0);if(!t.sep)return Object.assign(t,{key:r,sep:[]}),void(this.onKeyLine=!o(t.start,"explicit-key-ind"));t.value=r;break}case"block-seq":{const t=e.items[e.items.length-1];t.value?e.items.push({start:[],value:r}):t.value=r;break}case"flow-collection":{const t=e.items[e.items.length-1];return void(!t||t.value?e.items.push({start:[],key:r,sep:[]}):t.sep?t.value=r:Object.assign(t,{key:r,sep:[]}))}default:yield*this.pop(),yield*this.pop(r)}if(!("document"!==e.type&&"block-map"!==e.type&&"block-seq"!==e.type||"block-map"!==r.type&&"block-seq"!==r.type)){const t=r.items[r.items.length-1];t&&!t.sep&&!t.value&&t.start.length>0&&-1===a(t.start)&&(0===r.indent||t.start.every((e=>"comment"!==e.type||e.indent<r.indent)))&&("document"===e.type?e.end=t.start:e.items.push({start:t.start}),r.items.splice(-1,1))}}else{const e="Tried to pop an empty stack";yield{type:"error",offset:this.offset,source:"",message:e}}}*stream(){switch(this.type){case"directive-line":return void(yield{type:"directive",offset:this.offset,source:this.source});case"byte-order-mark":case"space":case"comment":case"newline":return void(yield this.sourceToken);case"doc-mode":case"doc-start":{const e={type:"document",offset:this.offset,start:[]};return"doc-start"===this.type&&e.start.push(this.sourceToken),void this.stack.push(e)}}yield{type:"error",offset:this.offset,message:`Unexpected ${this.type} token in YAML stream`,source:this.source}}*document(e){if(e.value)return yield*this.lineEnd(e);switch(this.type){case"doc-start":return void(-1!==a(e.start)?(yield*this.pop(),yield*this.step()):e.start.push(this.sourceToken));case"anchor":case"tag":case"space":case"comment":case"newline":return void e.start.push(this.sourceToken)}const r=this.startBlockValue(e);r?this.stack.push(r):yield{type:"error",offset:this.offset,message:`Unexpected ${this.type} token in YAML document`,source:this.source}}*scalar(e){if("map-value-ind"===this.type){const r=c(u(this.peek(2)));let t;e.end?(t=e.end,t.push(this.sourceToken),delete e.end):t=[this.sourceToken];const i={type:"block-map",offset:e.offset,indent:e.indent,items:[{start:r,key:e,sep:t}]};this.onKeyLine=!0,this.stack[this.stack.length-1]=i}else yield*this.lineEnd(e)}*blockScalar(e){switch(this.type){case"space":case"comment":case"newline":return void e.props.push(this.sourceToken);case"scalar":if(e.source=this.source,this.atNewLine=!0,this.indent=0,this.onNewLine){let e=this.source.indexOf("\n")+1;for(;0!==e;)this.onNewLine(this.offset+e),e=this.source.indexOf("\n",e)+1}yield*this.pop();break;default:yield*this.pop(),yield*this.step()}}*blockMap(e){const r=e.items[e.items.length-1];switch(this.type){case"newline":if(this.onKeyLine=!1,r.value){const t="end"in r.value?r.value.end:void 0,i=Array.isArray(t)?t[t.length-1]:void 0;"comment"===i?.type?t?.push(this.sourceToken):e.items.push({start:[this.sourceToken]})}else r.sep?r.sep.push(this.sourceToken):r.start.push(this.sourceToken);return;case"space":case"comment":if(r.value)e.items.push({start:[this.sourceToken]});else if(r.sep)r.sep.push(this.sourceToken);else{if(this.atIndentedComment(r.start,e.indent)){const t=e.items[e.items.length-2],i=t?.value?.end;if(Array.isArray(i))return Array.prototype.push.apply(i,r.start),i.push(this.sourceToken),void e.items.pop()}r.start.push(this.sourceToken)}return}if(this.indent>=e.indent){const t=!this.onKeyLine&&this.indent===e.indent&&r.sep;let i=[];if(t&&r.sep&&!r.value){const t=[];for(let i=0;i<r.sep.length;++i){const n=r.sep[i];switch(n.type){case"newline":t.push(i);break;case"space":break;case"comment":n.indent>e.indent&&(t.length=0);break;default:t.length=0}}t.length>=2&&(i=r.sep.splice(t[1]))}switch(this.type){case"anchor":case"tag":return void(t||r.value?(i.push(this.sourceToken),e.items.push({start:i}),this.onKeyLine=!0):r.sep?r.sep.push(this.sourceToken):r.start.push(this.sourceToken));case"explicit-key-ind":return r.sep||o(r.start,"explicit-key-ind")?t||r.value?(i.push(this.sourceToken),e.items.push({start:i})):this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:[this.sourceToken]}]}):r.start.push(this.sourceToken),void(this.onKeyLine=!0);case"map-value-ind":if(o(r.start,"explicit-key-ind"))if(r.sep)if(r.value)e.items.push({start:[],key:null,sep:[this.sourceToken]});else if(o(r.sep,"map-value-ind"))this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:i,key:null,sep:[this.sourceToken]}]});else if(s(r.key)&&!o(r.sep,"newline")){const e=c(r.start),t=r.key,i=r.sep;i.push(this.sourceToken),delete r.key,delete r.sep,this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:e,key:t,sep:i}]})}else i.length>0?r.sep=r.sep.concat(i,this.sourceToken):r.sep.push(this.sourceToken);else if(o(r.start,"newline"))Object.assign(r,{key:null,sep:[this.sourceToken]});else{const e=c(r.start);this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:e,key:null,sep:[this.sourceToken]}]})}else r.sep?r.value||t?e.items.push({start:i,key:null,sep:[this.sourceToken]}):o(r.sep,"map-value-ind")?this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:[],key:null,sep:[this.sourceToken]}]}):r.sep.push(this.sourceToken):Object.assign(r,{key:null,sep:[this.sourceToken]});return void(this.onKeyLine=!0);case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":{const n=this.flowScalar(this.type);return void(t||r.value?(e.items.push({start:i,key:n,sep:[]}),this.onKeyLine=!0):r.sep?this.stack.push(n):(Object.assign(r,{key:n,sep:[]}),this.onKeyLine=!0))}default:{const n=this.startBlockValue(e);if(n)return t&&"block-seq"!==n.type&&o(r.start,"explicit-key-ind")&&e.items.push({start:i}),void this.stack.push(n)}}}yield*this.pop(),yield*this.step()}*blockSequence(e){const r=e.items[e.items.length-1];switch(this.type){case"newline":if(r.value){const t="end"in r.value?r.value.end:void 0,i=Array.isArray(t)?t[t.length-1]:void 0;"comment"===i?.type?t?.push(this.sourceToken):e.items.push({start:[this.sourceToken]})}else r.start.push(this.sourceToken);return;case"space":case"comment":if(r.value)e.items.push({start:[this.sourceToken]});else{if(this.atIndentedComment(r.start,e.indent)){const t=e.items[e.items.length-2],i=t?.value?.end;if(Array.isArray(i))return Array.prototype.push.apply(i,r.start),i.push(this.sourceToken),void e.items.pop()}r.start.push(this.sourceToken)}return;case"anchor":case"tag":if(r.value||this.indent<=e.indent)break;return void r.start.push(this.sourceToken);case"seq-item-ind":if(this.indent!==e.indent)break;return void(r.value||o(r.start,"seq-item-ind")?e.items.push({start:[this.sourceToken]}):r.start.push(this.sourceToken))}if(this.indent>e.indent){const r=this.startBlockValue(e);if(r)return void this.stack.push(r)}yield*this.pop(),yield*this.step()}*flowCollection(e){const r=e.items[e.items.length-1];if("flow-error-end"===this.type){let e;do{yield*this.pop(),e=this.peek(1)}while(e&&"flow-collection"===e.type)}else if(0===e.end.length){switch(this.type){case"comma":case"explicit-key-ind":return void(!r||r.sep?e.items.push({start:[this.sourceToken]}):r.start.push(this.sourceToken));case"map-value-ind":return void(!r||r.value?e.items.push({start:[],key:null,sep:[this.sourceToken]}):r.sep?r.sep.push(this.sourceToken):Object.assign(r,{key:null,sep:[this.sourceToken]}));case"space":case"comment":case"newline":case"anchor":case"tag":return void(!r||r.value?e.items.push({start:[this.sourceToken]}):r.sep?r.sep.push(this.sourceToken):r.start.push(this.sourceToken));case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":{const t=this.flowScalar(this.type);return void(!r||r.value?e.items.push({start:[],key:t,sep:[]}):r.sep?this.stack.push(t):Object.assign(r,{key:t,sep:[]}))}case"flow-map-end":case"flow-seq-end":return void e.end.push(this.sourceToken)}const t=this.startBlockValue(e);t?this.stack.push(t):(yield*this.pop(),yield*this.step())}else{const r=this.peek(2);if("block-map"===r.type&&("map-value-ind"===this.type&&r.indent===e.indent||"newline"===this.type&&!r.items[r.items.length-1].sep))yield*this.pop(),yield*this.step();else if("map-value-ind"===this.type&&"flow-collection"!==r.type){const t=c(u(r));d(e);const i=e.end.splice(1,e.end.length);i.push(this.sourceToken);const n={type:"block-map",offset:e.offset,indent:e.indent,items:[{start:t,key:e,sep:i}]};this.onKeyLine=!0,this.stack[this.stack.length-1]=n}else yield*this.lineEnd(e)}}flowScalar(e){if(this.onNewLine){let e=this.source.indexOf("\n")+1;for(;0!==e;)this.onNewLine(this.offset+e),e=this.source.indexOf("\n",e)+1}return{type:e,offset:this.offset,indent:this.indent,source:this.source}}startBlockValue(e){switch(this.type){case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":return this.flowScalar(this.type);case"block-scalar-header":return{type:"block-scalar",offset:this.offset,indent:this.indent,props:[this.sourceToken],source:""};case"flow-map-start":case"flow-seq-start":return{type:"flow-collection",offset:this.offset,indent:this.indent,start:this.sourceToken,items:[],end:[]};case"seq-item-ind":return{type:"block-seq",offset:this.offset,indent:this.indent,items:[{start:[this.sourceToken]}]};case"explicit-key-ind":{this.onKeyLine=!0;const r=c(u(e));return r.push(this.sourceToken),{type:"block-map",offset:this.offset,indent:this.indent,items:[{start:r}]}}case"map-value-ind":{this.onKeyLine=!0;const r=c(u(e));return{type:"block-map",offset:this.offset,indent:this.indent,items:[{start:r,key:null,sep:[this.sourceToken]}]}}}return null}atIndentedComment(e,r){return"comment"===this.type&&!(this.indent<=r)&&e.every((e=>"newline"===e.type||"space"===e.type))}*documentEnd(e){"doc-mode"!==this.type&&(e.end?e.end.push(this.sourceToken):e.end=[this.sourceToken],"newline"===this.type&&(yield*this.pop()))}*lineEnd(e){switch(this.type){case"comma":case"doc-start":case"doc-end":case"flow-seq-end":case"flow-map-end":case"map-value-ind":yield*this.pop(),yield*this.step();break;case"newline":this.onKeyLine=!1;default:e.end?e.end.push(this.sourceToken):e.end=[this.sourceToken],"newline"===this.type&&(yield*this.pop())}}}},463:(e,r,t)=>{"use strict";var i=t(8480),n=t(2333),o=t(1656),a=t(7953),s=t(2324),u=t(5456);function c(e){const r=!1!==e.prettyErrors;return{lineCounter:e.lineCounter||r&&new s.LineCounter||null,prettyErrors:r}}function d(e,r={}){const{lineCounter:t,prettyErrors:n}=c(r),a=new u.Parser(t?.addNewLine),s=new i.Composer(r);let d=null;for(const r of s.compose(a.parse(e),!0,e.length))if(d){if("silent"!==d.options.logLevel){d.errors.push(new o.YAMLParseError(r.range.slice(0,2),"MULTIPLE_DOCS","Source contains multiple documents; please use YAML.parseAllDocuments()"));break}}else d=r;return n&&t&&(d.errors.forEach(o.prettifyError(e,t)),d.warnings.forEach(o.prettifyError(e,t))),d}r.parse=function(e,r,t){let i;"function"==typeof r?i=r:void 0===t&&r&&"object"==typeof r&&(t=r);const n=d(e,t);if(!n)return null;if(n.warnings.forEach((e=>a.warn(n.options.logLevel,e))),n.errors.length>0){if("silent"!==n.options.logLevel)throw n.errors[0];n.errors=[]}return n.toJS(Object.assign({reviver:i},t))},r.parseAllDocuments=function(e,r={}){const{lineCounter:t,prettyErrors:n}=c(r),a=new u.Parser(t?.addNewLine),s=new i.Composer(r),d=Array.from(s.compose(a.parse(e)));if(n&&t)for(const r of d)r.errors.forEach(o.prettifyError(e,t)),r.warnings.forEach(o.prettifyError(e,t));return d.length>0?d:Object.assign([],{empty:!0},s.streamInfo())},r.parseDocument=d,r.stringify=function(e,r,t){let i=null;if("function"==typeof r||Array.isArray(r)?i=r:void 0===t&&r&&(t=r),"string"==typeof t&&(t=t.length),"number"==typeof t){const e=Math.round(t);t=e<1?void 0:e>8?{indent:8}:{indent:e}}if(void 0===e){const{keepUndefined:e}=t??r??{};if(!e)return}return new n.Document(e,i,t).toString(t)}},7840:(e,r,t)=>{"use strict";var i=t(9399),n=t(459),o=t(1418),a=t(4352),s=t(4146);const u=(e,r)=>e.key<r.key?-1:e.key>r.key?1:0;class c{constructor({compat:e,customTags:r,merge:t,resolveKnownTags:c,schema:d,sortMapEntries:l,toStringDefaults:I}){this.compat=Array.isArray(e)?s.getTags(e,"compat"):e?s.getTags(null,e):null,this.merge=!!t,this.name="string"==typeof d&&d||"core",this.knownTags=c?s.coreKnownTags:{},this.tags=s.getTags(r,this.name),this.toStringOptions=I??null,Object.defineProperty(this,i.MAP,{value:n.map}),Object.defineProperty(this,i.SCALAR,{value:a.string}),Object.defineProperty(this,i.SEQ,{value:o.seq}),this.sortMapEntries="function"==typeof l?l:!0===l?u:null}clone(){const e=Object.create(c.prototype,Object.getOwnPropertyDescriptors(this));return e.tags=this.tags.slice(),e}}r.Schema=c},459:(e,r,t)=>{"use strict";var i=t(9399),n=t(2262);const o={collection:"map",default:!0,nodeClass:n.YAMLMap,tag:"tag:yaml.org,2002:map",resolve:(e,r)=>(i.isMap(e)||r("Expected a mapping for this tag"),e),createNode:(e,r,t)=>n.YAMLMap.from(e,r,t)};r.map=o},1504:(e,r,t)=>{"use strict";var i=t(3205);const n={identify:e=>null==e,createNode:()=>new i.Scalar(null),default:!0,tag:"tag:yaml.org,2002:null",test:/^(?:~|[Nn]ull|NULL)?$/,resolve:()=>new i.Scalar(null),stringify:({source:e},r)=>"string"==typeof e&&n.test.test(e)?e:r.options.nullStr};r.nullTag=n},1418:(e,r,t)=>{"use strict";var i=t(9399),n=t(847);const o={collection:"seq",default:!0,nodeClass:n.YAMLSeq,tag:"tag:yaml.org,2002:seq",resolve:(e,r)=>(i.isSeq(e)||r("Expected a sequence for this tag"),e),createNode:(e,r,t)=>n.YAMLSeq.from(e,r,t)};r.seq=o},4352:(e,r,t)=>{"use strict";var i=t(8653);const n={identify:e=>"string"==typeof e,default:!0,tag:"tag:yaml.org,2002:str",resolve:e=>e,stringify:(e,r,t,n)=>(r=Object.assign({actualString:!0},r),i.stringifyString(e,r,t,n))};r.string=n},1399:(e,r,t)=>{"use strict";var i=t(3205);const n={identify:e=>"boolean"==typeof e,default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:[Tt]rue|TRUE|[Ff]alse|FALSE)$/,resolve:e=>new i.Scalar("t"===e[0]||"T"===e[0]),stringify:({source:e,value:r},t)=>e&&n.test.test(e)&&r===("t"===e[0]||"T"===e[0])?e:r?t.options.trueStr:t.options.falseStr};r.boolTag=n},6853:(e,r,t)=>{"use strict";var i=t(3205),n=t(1105);const o={identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",test:/^(?:[-+]?\.(?:inf|Inf|INF|nan|NaN|NAN))$/,resolve:e=>"nan"===e.slice(-3).toLowerCase()?NaN:"-"===e[0]?Number.NEGATIVE_INFINITY:Number.POSITIVE_INFINITY,stringify:n.stringifyNumber},a={identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",format:"EXP",test:/^[-+]?(?:\.[0-9]+|[0-9]+(?:\.[0-9]*)?)[eE][-+]?[0-9]+$/,resolve:e=>parseFloat(e),stringify(e){const r=Number(e.value);return isFinite(r)?r.toExponential():n.stringifyNumber(e)}},s={identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",test:/^[-+]?(?:\.[0-9]+|[0-9]+\.[0-9]*)$/,resolve(e){const r=new i.Scalar(parseFloat(e)),t=e.indexOf(".");return-1!==t&&"0"===e[e.length-1]&&(r.minFractionDigits=e.length-t-1),r},stringify:n.stringifyNumber};r.float=s,r.floatExp=a,r.floatNaN=o},6802:(e,r,t)=>{"use strict";var i=t(1105);const n=e=>"bigint"==typeof e||Number.isInteger(e),o=(e,r,t,{intAsBigInt:i})=>i?BigInt(e):parseInt(e.substring(r),t);function a(e,r,t){const{value:o}=e;return n(o)&&o>=0?t+o.toString(r):i.stringifyNumber(e)}const s={identify:e=>n(e)&&e>=0,default:!0,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^0o[0-7]+$/,resolve:(e,r,t)=>o(e,2,8,t),stringify:e=>a(e,8,"0o")},u={identify:n,default:!0,tag:"tag:yaml.org,2002:int",test:/^[-+]?[0-9]+$/,resolve:(e,r,t)=>o(e,0,10,t),stringify:i.stringifyNumber},c={identify:e=>n(e)&&e>=0,default:!0,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^0x[0-9a-fA-F]+$/,resolve:(e,r,t)=>o(e,2,16,t),stringify:e=>a(e,16,"0x")};r.int=u,r.intHex=c,r.intOct=s},8368:(e,r,t)=>{"use strict";var i=t(459),n=t(1504),o=t(1418),a=t(4352),s=t(1399),u=t(6853),c=t(6802);const d=[i.map,o.seq,a.string,n.nullTag,s.boolTag,c.intOct,c.int,c.intHex,u.floatNaN,u.floatExp,u.float];r.schema=d},887:(e,r,t)=>{"use strict";var i=t(3205),n=t(459),o=t(1418);function a(e){return"bigint"==typeof e||Number.isInteger(e)}const s=({value:e})=>JSON.stringify(e),u=[{identify:e=>"string"==typeof e,default:!0,tag:"tag:yaml.org,2002:str",resolve:e=>e,stringify:s},{identify:e=>null==e,createNode:()=>new i.Scalar(null),default:!0,tag:"tag:yaml.org,2002:null",test:/^null$/,resolve:()=>null,stringify:s},{identify:e=>"boolean"==typeof e,default:!0,tag:"tag:yaml.org,2002:bool",test:/^true|false$/,resolve:e=>"true"===e,stringify:s},{identify:a,default:!0,tag:"tag:yaml.org,2002:int",test:/^-?(?:0|[1-9][0-9]*)$/,resolve:(e,r,{intAsBigInt:t})=>t?BigInt(e):parseInt(e,10),stringify:({value:e})=>a(e)?e.toString():JSON.stringify(e)},{identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",test:/^-?(?:0|[1-9][0-9]*)(?:\.[0-9]*)?(?:[eE][-+]?[0-9]+)?$/,resolve:e=>parseFloat(e),stringify:s}],c={default:!0,tag:"",test:/^/,resolve:(e,r)=>(r(`Unresolved plain scalar ${JSON.stringify(e)}`),e)},d=[n.map,o.seq].concat(u,c);r.schema=d},4146:(e,r,t)=>{"use strict";var i=t(459),n=t(1504),o=t(1418),a=t(4352),s=t(1399),u=t(6853),c=t(6802),d=t(8368),l=t(887),I=t(2659),p=t(879),f=t(225),m=t(8025),h=t(4344),g=t(9024);const v=new Map([["core",d.schema],["failsafe",[i.map,o.seq,a.string]],["json",l.schema],["yaml11",m.schema],["yaml-1.1",m.schema]]),y={binary:I.binary,bool:s.boolTag,float:u.float,floatExp:u.floatExp,floatNaN:u.floatNaN,floatTime:g.floatTime,int:c.int,intHex:c.intHex,intOct:c.intOct,intTime:g.intTime,map:i.map,null:n.nullTag,omap:p.omap,pairs:f.pairs,seq:o.seq,set:h.set,timestamp:g.timestamp},w={"tag:yaml.org,2002:binary":I.binary,"tag:yaml.org,2002:omap":p.omap,"tag:yaml.org,2002:pairs":f.pairs,"tag:yaml.org,2002:set":h.set,"tag:yaml.org,2002:timestamp":g.timestamp};r.coreKnownTags=w,r.getTags=function(e,r){let t=v.get(r);if(!t){if(!Array.isArray(e)){const e=Array.from(v.keys()).filter((e=>"yaml11"!==e)).map((e=>JSON.stringify(e))).join(", ");throw new Error(`Unknown schema "${r}"; use one of ${e} or define customTags array`)}t=[]}if(Array.isArray(e))for(const r of e)t=t.concat(r);else"function"==typeof e&&(t=e(t.slice()));return t.map((e=>{if("string"!=typeof e)return e;const r=y[e];if(r)return r;const t=Object.keys(y).map((e=>JSON.stringify(e))).join(", ");throw new Error(`Unknown custom tag "${e}"; use one of ${t}`)}))}},2659:(e,r,t)=>{"use strict";var i=t(3205),n=t(8653);const o={identify:e=>e instanceof Uint8Array,default:!1,tag:"tag:yaml.org,2002:binary",resolve(e,r){if("function"==typeof Buffer)return Buffer.from(e,"base64");if("function"==typeof atob){const r=atob(e.replace(/[\n\r]/g,"")),t=new Uint8Array(r.length);for(let e=0;e<r.length;++e)t[e]=r.charCodeAt(e);return t}return r("This environment does not support reading binary tags; either Buffer or atob is required"),e},stringify({comment:e,type:r,value:t},o,a,s){const u=t;let c;if("function"==typeof Buffer)c=u instanceof Buffer?u.toString("base64"):Buffer.from(u.buffer).toString("base64");else{if("function"!=typeof btoa)throw new Error("This environment does not support writing binary tags; either Buffer or btoa is required");{let e="";for(let r=0;r<u.length;++r)e+=String.fromCharCode(u[r]);c=btoa(e)}}if(r||(r=i.Scalar.BLOCK_LITERAL),r!==i.Scalar.QUOTE_DOUBLE){const e=Math.max(o.options.lineWidth-o.indent.length,o.options.minContentWidth),t=Math.ceil(c.length/e),n=new Array(t);for(let r=0,i=0;r<t;++r,i+=e)n[r]=c.substr(i,e);c=n.join(r===i.Scalar.BLOCK_LITERAL?"\n":" ")}return n.stringifyString({comment:e,type:r,value:c},o,a,s)}};r.binary=o},3662:(e,r,t)=>{"use strict";var i=t(3205);function n({value:e,source:r},t){return r&&(e?o:a).test.test(r)?r:e?t.options.trueStr:t.options.falseStr}const o={identify:e=>!0===e,default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:Y|y|[Yy]es|YES|[Tt]rue|TRUE|[Oo]n|ON)$/,resolve:()=>new i.Scalar(!0),stringify:n},a={identify:e=>!1===e,default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:N|n|[Nn]o|NO|[Ff]alse|FALSE|[Oo]ff|OFF)$/i,resolve:()=>new i.Scalar(!1),stringify:n};r.falseTag=a,r.trueTag=o},9782:(e,r,t)=>{"use strict";var i=t(3205),n=t(1105);const o={identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",test:/^[-+]?\.(?:inf|Inf|INF|nan|NaN|NAN)$/,resolve:e=>"nan"===e.slice(-3).toLowerCase()?NaN:"-"===e[0]?Number.NEGATIVE_INFINITY:Number.POSITIVE_INFINITY,stringify:n.stringifyNumber},a={identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",format:"EXP",test:/^[-+]?(?:[0-9][0-9_]*)?(?:\.[0-9_]*)?[eE][-+]?[0-9]+$/,resolve:e=>parseFloat(e.replace(/_/g,"")),stringify(e){const r=Number(e.value);return isFinite(r)?r.toExponential():n.stringifyNumber(e)}},s={identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",test:/^[-+]?(?:[0-9][0-9_]*)?\.[0-9_]*$/,resolve(e){const r=new i.Scalar(parseFloat(e.replace(/_/g,""))),t=e.indexOf(".");if(-1!==t){const i=e.substring(t+1).replace(/_/g,"");"0"===i[i.length-1]&&(r.minFractionDigits=i.length)}return r},stringify:n.stringifyNumber};r.float=s,r.floatExp=a,r.floatNaN=o},2073:(e,r,t)=>{"use strict";var i=t(1105);const n=e=>"bigint"==typeof e||Number.isInteger(e);function o(e,r,t,{intAsBigInt:i}){const n=e[0];if("-"!==n&&"+"!==n||(r+=1),e=e.substring(r).replace(/_/g,""),i){switch(t){case 2:e=`0b${e}`;break;case 8:e=`0o${e}`;break;case 16:e=`0x${e}`}const r=BigInt(e);return"-"===n?BigInt(-1)*r:r}const o=parseInt(e,t);return"-"===n?-1*o:o}function a(e,r,t){const{value:o}=e;if(n(o)){const e=o.toString(r);return o<0?"-"+t+e.substr(1):t+e}return i.stringifyNumber(e)}const s={identify:n,default:!0,tag:"tag:yaml.org,2002:int",format:"BIN",test:/^[-+]?0b[0-1_]+$/,resolve:(e,r,t)=>o(e,2,2,t),stringify:e=>a(e,2,"0b")},u={identify:n,default:!0,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^[-+]?0[0-7_]+$/,resolve:(e,r,t)=>o(e,1,8,t),stringify:e=>a(e,8,"0")},c={identify:n,default:!0,tag:"tag:yaml.org,2002:int",test:/^[-+]?[0-9][0-9_]*$/,resolve:(e,r,t)=>o(e,0,10,t),stringify:i.stringifyNumber},d={identify:n,default:!0,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^[-+]?0x[0-9a-fA-F_]+$/,resolve:(e,r,t)=>o(e,2,16,t),stringify:e=>a(e,16,"0x")};r.int=c,r.intBin=s,r.intHex=d,r.intOct=u},879:(e,r,t)=>{"use strict";var i=t(9399),n=t(3947),o=t(2262),a=t(847),s=t(225);class u extends a.YAMLSeq{constructor(){super(),this.add=o.YAMLMap.prototype.add.bind(this),this.delete=o.YAMLMap.prototype.delete.bind(this),this.get=o.YAMLMap.prototype.get.bind(this),this.has=o.YAMLMap.prototype.has.bind(this),this.set=o.YAMLMap.prototype.set.bind(this),this.tag=u.tag}toJSON(e,r){if(!r)return super.toJSON(e);const t=new Map;r?.onCreate&&r.onCreate(t);for(const e of this.items){let o,a;if(i.isPair(e)?(o=n.toJS(e.key,"",r),a=n.toJS(e.value,o,r)):o=n.toJS(e,"",r),t.has(o))throw new Error("Ordered maps must not include duplicate keys");t.set(o,a)}return t}static from(e,r,t){const i=s.createPairs(e,r,t),n=new this;return n.items=i.items,n}}u.tag="tag:yaml.org,2002:omap";const c={collection:"seq",identify:e=>e instanceof Map,nodeClass:u,default:!1,tag:"tag:yaml.org,2002:omap",resolve(e,r){const t=s.resolvePairs(e,r),n=[];for(const{key:e}of t.items)i.isScalar(e)&&(n.includes(e.value)?r(`Ordered maps must not include duplicate keys: ${e.value}`):n.push(e.value));return Object.assign(new u,t)},createNode:(e,r,t)=>u.from(e,r,t)};r.YAMLOMap=u,r.omap=c},225:(e,r,t)=>{"use strict";var i=t(9399),n=t(4237),o=t(3205),a=t(847);function s(e,r){if(i.isSeq(e))for(let t=0;t<e.items.length;++t){let a=e.items[t];if(!i.isPair(a)){if(i.isMap(a)){a.items.length>1&&r("Each pair must have its own sequence indicator");const e=a.items[0]||new n.Pair(new o.Scalar(null));if(a.commentBefore&&(e.key.commentBefore=e.key.commentBefore?`${a.commentBefore}\n${e.key.commentBefore}`:a.commentBefore),a.comment){const r=e.value??e.key;r.comment=r.comment?`${a.comment}\n${r.comment}`:a.comment}a=e}e.items[t]=i.isPair(a)?a:new n.Pair(a)}}else r("Expected a sequence for this tag");return e}function u(e,r,t){const{replacer:i}=t,o=new a.YAMLSeq(e);o.tag="tag:yaml.org,2002:pairs";let s=0;if(r&&Symbol.iterator in Object(r))for(let e of r){let a,u;if("function"==typeof i&&(e=i.call(r,String(s++),e)),Array.isArray(e)){if(2!==e.length)throw new TypeError(`Expected [key, value] tuple: ${e}`);a=e[0],u=e[1]}else if(e&&e instanceof Object){const r=Object.keys(e);if(1!==r.length)throw new TypeError(`Expected tuple with one key, not ${r.length} keys`);a=r[0],u=e[a]}else a=e;o.items.push(n.createPair(a,u,t))}return o}const c={collection:"seq",default:!1,tag:"tag:yaml.org,2002:pairs",resolve:s,createNode:u};r.createPairs=u,r.pairs=c,r.resolvePairs=s},8025:(e,r,t)=>{"use strict";var i=t(459),n=t(1504),o=t(1418),a=t(4352),s=t(2659),u=t(3662),c=t(9782),d=t(2073),l=t(879),I=t(225),p=t(4344),f=t(9024);const m=[i.map,o.seq,a.string,n.nullTag,u.trueTag,u.falseTag,d.intBin,d.intOct,d.int,d.intHex,c.floatNaN,c.floatExp,c.float,s.binary,l.omap,I.pairs,p.set,f.intTime,f.floatTime,f.timestamp];r.schema=m},4344:(e,r,t)=>{"use strict";var i=t(9399),n=t(4237),o=t(2262);class a extends o.YAMLMap{constructor(e){super(e),this.tag=a.tag}add(e){let r;r=i.isPair(e)?e:e&&"object"==typeof e&&"key"in e&&"value"in e&&null===e.value?new n.Pair(e.key,null):new n.Pair(e,null),o.findPair(this.items,r.key)||this.items.push(r)}get(e,r){const t=o.findPair(this.items,e);return!r&&i.isPair(t)?i.isScalar(t.key)?t.key.value:t.key:t}set(e,r){if("boolean"!=typeof r)throw new Error("Expected boolean value for set(key, value) in a YAML set, not "+typeof r);const t=o.findPair(this.items,e);t&&!r?this.items.splice(this.items.indexOf(t),1):!t&&r&&this.items.push(new n.Pair(e))}toJSON(e,r){return super.toJSON(e,r,Set)}toString(e,r,t){if(!e)return JSON.stringify(this);if(this.hasAllNullValues(!0))return super.toString(Object.assign({},e,{allNullValues:!0}),r,t);throw new Error("Set items must all have null values")}static from(e,r,t){const{replacer:i}=t,o=new this(e);if(r&&Symbol.iterator in Object(r))for(let e of r)"function"==typeof i&&(e=i.call(r,e,e)),o.items.push(n.createPair(e,null,t));return o}}a.tag="tag:yaml.org,2002:set";const s={collection:"map",identify:e=>e instanceof Set,nodeClass:a,default:!1,tag:"tag:yaml.org,2002:set",createNode:(e,r,t)=>a.from(e,r,t),resolve(e,r){if(i.isMap(e)){if(e.hasAllNullValues(!0))return Object.assign(new a,e);r("Set items must all have null values")}else r("Expected a mapping for this tag");return e}};r.YAMLSet=a,r.set=s},9024:(e,r,t)=>{"use strict";var i=t(1105);function n(e,r){const t=e[0],i="-"===t||"+"===t?e.substring(1):e,n=e=>r?BigInt(e):Number(e),o=i.replace(/_/g,"").split(":").reduce(((e,r)=>e*n(60)+n(r)),n(0));return"-"===t?n(-1)*o:o}function o(e){let{value:r}=e,t=e=>e;if("bigint"==typeof r)t=e=>BigInt(e);else if(isNaN(r)||!isFinite(r))return i.stringifyNumber(e);let n="";r<0&&(n="-",r*=t(-1));const o=t(60),a=[r%o];return r<60?a.unshift(0):(r=(r-a[0])/o,a.unshift(r%o),r>=60&&(r=(r-a[0])/o,a.unshift(r))),n+a.map((e=>String(e).padStart(2,"0"))).join(":").replace(/000000\d*$/,"")}const a={identify:e=>"bigint"==typeof e||Number.isInteger(e),default:!0,tag:"tag:yaml.org,2002:int",format:"TIME",test:/^[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+$/,resolve:(e,r,{intAsBigInt:t})=>n(e,t),stringify:o},s={identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",format:"TIME",test:/^[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+\.[0-9_]*$/,resolve:e=>n(e,!1),stringify:o},u={identify:e=>e instanceof Date,default:!0,tag:"tag:yaml.org,2002:timestamp",test:RegExp("^([0-9]{4})-([0-9]{1,2})-([0-9]{1,2})(?:(?:t|T|[ \\t]+)([0-9]{1,2}):([0-9]{1,2}):([0-9]{1,2}(\\.[0-9]+)?)(?:[ \\t]*(Z|[-+][012]?[0-9](?::[0-9]{2})?))?)?$"),resolve(e){const r=e.match(u.test);if(!r)throw new Error("!!timestamp expects a date, starting with yyyy-mm-dd");const[,t,i,o,a,s,c]=r.map(Number),d=r[7]?Number((r[7]+"00").substr(1,3)):0;let l=Date.UTC(t,i-1,o,a||0,s||0,c||0,d);const I=r[8];if(I&&"Z"!==I){let e=n(I,!1);Math.abs(e)<30&&(e*=60),l-=6e4*e}return new Date(l)},stringify:({value:e})=>e.toISOString().replace(/((T00:00)?:00)?\.000Z$/,"")};r.floatTime=s,r.intTime=a,r.timestamp=u},347:(e,r)=>{"use strict";const t="block",i="quoted";function n(e,r){let t=e[r+1];for(;" "===t||"\t"===t;){do{t=e[r+=1]}while(t&&"\n"!==t);t=e[r+1]}return r}r.FOLD_BLOCK=t,r.FOLD_FLOW="flow",r.FOLD_QUOTED=i,r.foldFlowLines=function(e,r,o="flow",{indentAtStart:a,lineWidth:s=80,minContentWidth:u=20,onFold:c,onOverflow:d}={}){if(!s||s<0)return e;const l=Math.max(1+u,1+s-r.length);if(e.length<=l)return e;const I=[],p={};let f,m,h=s-r.length;"number"==typeof a&&(a>s-Math.max(2,u)?I.push(0):h=s-a);let g=!1,v=-1,y=-1,w=-1;o===t&&(v=n(e,v),-1!==v&&(h=v+l));for(let r;r=e[v+=1];){if(o===i&&"\\"===r){switch(y=v,e[v+1]){case"x":v+=3;break;case"u":v+=5;break;case"U":v+=9;break;default:v+=1}w=v}if("\n"===r)o===t&&(v=n(e,v)),h=v+l,f=void 0;else{if(" "===r&&m&&" "!==m&&"\n"!==m&&"\t"!==m){const r=e[v+1];r&&" "!==r&&"\n"!==r&&"\t"!==r&&(f=v)}if(v>=h)if(f)I.push(f),h=f+l,f=void 0;else if(o===i){for(;" "===m||"\t"===m;)m=r,r=e[v+=1],g=!0;const t=v>w+1?v-2:y-1;if(p[t])return e;I.push(t),p[t]=!0,h=t+l,f=void 0}else g=!0}m=r}if(g&&d&&d(),0===I.length)return e;c&&c();let S=e.slice(0,I[0]);for(let t=0;t<I.length;++t){const n=I[t],a=I[t+1]||e.length;0===n?S=`\n${r}${e.slice(0,a)}`:(o===i&&p[n]&&(S+=`${e[n]}\\`),S+=`\n${r}${e.slice(n+1,a)}`)}return S}},5636:(e,r,t)=>{"use strict";var i=t(8028),n=t(9399),o=t(5719),a=t(8653);r.createStringifyContext=function(e,r){const t=Object.assign({blockQuote:!0,commentString:o.stringifyComment,defaultKeyType:null,defaultStringType:"PLAIN",directives:null,doubleQuotedAsJSON:!1,doubleQuotedMinMultiLineLength:40,falseStr:"false",flowCollectionPadding:!0,indentSeq:!0,lineWidth:80,minContentWidth:20,nullStr:"null",simpleKeys:!1,singleQuote:null,trueStr:"true",verifyAliasOrder:!0},e.schema.toStringOptions,r);let i;switch(t.collectionStyle){case"block":i=!1;break;case"flow":i=!0;break;default:i=null}return{anchors:new Set,doc:e,flowCollectionPadding:t.flowCollectionPadding?" ":"",indent:"",indentStep:"number"==typeof t.indent?" ".repeat(t.indent):" ",inFlow:i,options:t}},r.stringify=function(e,r,t,o){if(n.isPair(e))return e.toString(r,t,o);if(n.isAlias(e)){if(r.doc.directives)return e.toString(r);if(r.resolvedAliases?.has(e))throw new TypeError("Cannot stringify circular structure without alias nodes");r.resolvedAliases?r.resolvedAliases.add(e):r.resolvedAliases=new Set([e]),e=e.resolve(r.doc)}let s;const u=n.isNode(e)?e:r.doc.createNode(e,{onTagObj:e=>s=e});s||(s=function(e,r){if(r.tag){const t=e.filter((e=>e.tag===r.tag));if(t.length>0)return t.find((e=>e.format===r.format))??t[0]}let t,i;if(n.isScalar(r)){i=r.value;const n=e.filter((e=>e.identify?.(i)));t=n.find((e=>e.format===r.format))??n.find((e=>!e.format))}else i=r,t=e.find((e=>e.nodeClass&&i instanceof e.nodeClass));if(!t)throw new Error(`Tag not resolved for ${i?.constructor?.name??typeof i} value`);return t}(r.doc.schema.tags,u));const c=function(e,r,{anchors:t,doc:o}){if(!o.directives)return"";const a=[],s=(n.isScalar(e)||n.isCollection(e))&&e.anchor;s&&i.anchorIsValid(s)&&(t.add(s),a.push(`&${s}`));const u=e.tag?e.tag:r.default?null:r.tag;return u&&a.push(o.directives.tagString(u)),a.join(" ")}(u,s,r);c.length>0&&(r.indentAtStart=(r.indentAtStart??0)+c.length+1);const d="function"==typeof s.stringify?s.stringify(u,r,t,o):n.isScalar(u)?a.stringifyString(u,r,t,o):u.toString(r,t,o);return c?n.isScalar(u)||"{"===d[0]||"["===d[0]?`${c} ${d}`:`${c}\n${r.indent}${d}`:d}},5756:(e,r,t)=>{"use strict";var i=t(2997),n=t(9399),o=t(5636),a=t(5719);function s({comment:e,items:r},t,{blockItemPrefix:i,flowChars:s,itemIndent:u,onChompKeep:d,onComment:l}){const{indent:I,options:{commentString:p}}=t,f=Object.assign({},t,{indent:u,type:null});let m=!1;const h=[];for(let e=0;e<r.length;++e){const s=r[e];let d=null;if(n.isNode(s))!m&&s.spaceBefore&&h.push(""),c(t,h,s.commentBefore,m),s.comment&&(d=s.comment);else if(n.isPair(s)){const e=n.isNode(s.key)?s.key:null;e&&(!m&&e.spaceBefore&&h.push(""),c(t,h,e.commentBefore,m))}m=!1;let l=o.stringify(s,f,(()=>d=null),(()=>m=!0));d&&(l+=a.lineComment(l,u,p(d))),m&&d&&(m=!1),h.push(i+l)}let g;if(0===h.length)g=s.start+s.end;else{g=h[0];for(let e=1;e<h.length;++e){const r=h[e];g+=r?`\n${I}${r}`:"\n"}}return e?(g+="\n"+a.indentComment(p(e),I),l&&l()):m&&d&&d(),g}function u({comment:e,items:r},t,{flowChars:s,itemIndent:u,onComment:d}){const{indent:l,indentStep:I,flowCollectionPadding:p,options:{commentString:f}}=t;u+=I;const m=Object.assign({},t,{indent:u,inFlow:!0,type:null});let h=!1,g=0;const v=[];for(let e=0;e<r.length;++e){const i=r[e];let s=null;if(n.isNode(i))i.spaceBefore&&v.push(""),c(t,v,i.commentBefore,!1),i.comment&&(s=i.comment);else if(n.isPair(i)){const e=n.isNode(i.key)?i.key:null;e&&(e.spaceBefore&&v.push(""),c(t,v,e.commentBefore,!1),e.comment&&(h=!0));const r=n.isNode(i.value)?i.value:null;r?(r.comment&&(s=r.comment),r.commentBefore&&(h=!0)):null==i.value&&e?.comment&&(s=e.comment)}s&&(h=!0);let d=o.stringify(i,m,(()=>s=null));e<r.length-1&&(d+=","),s&&(d+=a.lineComment(d,u,f(s))),!h&&(v.length>g||d.includes("\n"))&&(h=!0),v.push(d),g=v.length}let y;const{start:w,end:S}=s;if(0===v.length)y=w+S;else if(h||(h=v.reduce(((e,r)=>e+r.length+2),2)>i.Collection.maxFlowStringSingleLineLength),h){y=w;for(const e of v)y+=e?`\n${I}${l}${e}`:"\n";y+=`\n${l}${S}`}else y=`${w}${p}${v.join(" ")}${p}${S}`;return e&&(y+=a.lineComment(y,l,f(e)),d&&d()),y}function c({indent:e,options:{commentString:r}},t,i,n){if(i&&n&&(i=i.replace(/^\n+/,"")),i){const n=a.indentComment(r(i),e);t.push(n.trimStart())}}r.stringifyCollection=function(e,r,t){return(r.inFlow??e.flow?u:s)(e,r,t)}},5719:(e,r)=>{"use strict";function t(e,r){return/^\n+$/.test(e)?e.substring(1):r?e.replace(/^(?! *$)/gm,r):e}r.indentComment=t,r.lineComment=(e,r,i)=>e.endsWith("\n")?t(i,r):i.includes("\n")?"\n"+t(i,r):(e.endsWith(" ")?"":" ")+i,r.stringifyComment=e=>e.replace(/^(?!$)(?: $)?/gm,"#")},1677:(e,r,t)=>{"use strict";var i=t(9399),n=t(5636),o=t(5719);r.stringifyDocument=function(e,r){const t=[];let a=!0===r.directives;if(!1!==r.directives&&e.directives){const r=e.directives.toString(e);r?(t.push(r),a=!0):e.directives.docStart&&(a=!0)}a&&t.push("---");const s=n.createStringifyContext(e,r),{commentString:u}=s.options;if(e.commentBefore){1!==t.length&&t.unshift("");const r=u(e.commentBefore);t.unshift(o.indentComment(r,""))}let c=!1,d=null;if(e.contents){if(i.isNode(e.contents)){if(e.contents.spaceBefore&&a&&t.push(""),e.contents.commentBefore){const r=u(e.contents.commentBefore);t.push(o.indentComment(r,""))}s.forceBlockIndent=!!e.comment,d=e.contents.comment}const r=d?void 0:()=>c=!0;let l=n.stringify(e.contents,s,(()=>d=null),r);d&&(l+=o.lineComment(l,"",u(d))),"|"!==l[0]&&">"!==l[0]||"---"!==t[t.length-1]?t.push(l):t[t.length-1]=`--- ${l}`}else t.push(n.stringify(e.contents,s));if(e.directives?.docEnd)if(e.comment){const r=u(e.comment);r.includes("\n")?(t.push("..."),t.push(o.indentComment(r,""))):t.push(`... ${r}`)}else t.push("...");else{let r=e.comment;r&&c&&(r=r.replace(/^\n+/,"")),r&&(c&&!d||""===t[t.length-1]||t.push(""),t.push(o.indentComment(u(r),"")))}return t.join("\n")+"\n"}},1105:(e,r)=>{"use strict";r.stringifyNumber=function({format:e,minFractionDigits:r,tag:t,value:i}){if("bigint"==typeof i)return String(i);const n="number"==typeof i?i:Number(i);if(!isFinite(n))return isNaN(n)?".nan":n<0?"-.inf":".inf";let o=JSON.stringify(i);if(!e&&r&&(!t||"tag:yaml.org,2002:float"===t)&&/^\d/.test(o)){let e=o.indexOf(".");e<0&&(e=o.length,o+=".");let t=r-(o.length-e-1);for(;t-- >0;)o+="0"}return o}},9348:(e,r,t)=>{"use strict";var i=t(9399),n=t(3205),o=t(5636),a=t(5719);r.stringifyPair=function({key:e,value:r},t,s,u){const{allNullValues:c,doc:d,indent:l,indentStep:I,options:{commentString:p,indentSeq:f,simpleKeys:m}}=t;let h=i.isNode(e)&&e.comment||null;if(m){if(h)throw new Error("With simple keys, key nodes cannot have comments");if(i.isCollection(e))throw new Error("With simple keys, collection cannot be used as a key value")}let g=!m&&(!e||h&&null==r&&!t.inFlow||i.isCollection(e)||(i.isScalar(e)?e.type===n.Scalar.BLOCK_FOLDED||e.type===n.Scalar.BLOCK_LITERAL:"object"==typeof e));t=Object.assign({},t,{allNullValues:!1,implicitKey:!g&&(m||!c),indent:l+I});let v,y,w,S=!1,_=!1,b=o.stringify(e,t,(()=>S=!0),(()=>_=!0));if(!g&&!t.inFlow&&b.length>1024){if(m)throw new Error("With simple keys, single line scalar must not span more than 1024 characters");g=!0}if(t.inFlow){if(c||null==r)return S&&s&&s(),""===b?"?":g?`? ${b}`:b}else if(c&&!m||null==r&&g)return b=`? ${b}`,h&&!S?b+=a.lineComment(b,t.indent,p(h)):_&&u&&u(),b;S&&(h=null),g?(h&&(b+=a.lineComment(b,t.indent,p(h))),b=`? ${b}\n${l}:`):(b=`${b}:`,h&&(b+=a.lineComment(b,t.indent,p(h)))),i.isNode(r)?(v=!!r.spaceBefore,y=r.commentBefore,w=r.comment):(v=!1,y=null,w=null,r&&"object"==typeof r&&(r=d.createNode(r))),t.implicitKey=!1,g||h||!i.isScalar(r)||(t.indentAtStart=b.length+1),_=!1,f||!(I.length>=2)||t.inFlow||g||!i.isSeq(r)||r.flow||r.tag||r.anchor||(t.indent=t.indent.substring(2));let T=!1;const O=o.stringify(r,t,(()=>T=!0),(()=>_=!0));let k=" ";if(h||v||y){if(k=v?"\n":"",y){const e=p(y);k+=`\n${a.indentComment(e,t.indent)}`}""!==O||t.inFlow?k+=`\n${t.indent}`:"\n"===k&&(k="\n\n")}else if(!g&&i.isCollection(r)){const e=O[0],i=O.indexOf("\n"),n=-1!==i,o=t.inFlow??r.flow??0===r.items.length;if(n||!o){let r=!1;if(n&&("&"===e||"!"===e)){let t=O.indexOf(" ");"&"===e&&-1!==t&&t<i&&"!"===O[t+1]&&(t=O.indexOf(" ",t+1)),(-1===t||i<t)&&(r=!0)}r||(k=`\n${t.indent}`)}}else""!==O&&"\n"!==O[0]||(k="");return b+=k+O,t.inFlow?T&&s&&s():w&&!T?b+=a.lineComment(b,t.indent,p(w)):_&&u&&u(),b}},8653:(e,r,t)=>{"use strict";var i=t(3205),n=t(347);const o=(e,r)=>({indentAtStart:r?e.indent.length:e.indentAtStart,lineWidth:e.options.lineWidth,minContentWidth:e.options.minContentWidth}),a=e=>/^(%|---|\.\.\.)/m.test(e);function s(e,r){const t=JSON.stringify(e);if(r.options.doubleQuotedAsJSON)return t;const{implicitKey:i}=r,s=r.options.doubleQuotedMinMultiLineLength,u=r.indent||(a(e)?" ":"");let c="",d=0;for(let e=0,r=t[e];r;r=t[++e])if(" "===r&&"\\"===t[e+1]&&"n"===t[e+2]&&(c+=t.slice(d,e)+"\\ ",e+=1,d=e,r="\\"),"\\"===r)switch(t[e+1]){case"u":{c+=t.slice(d,e);const r=t.substr(e+2,4);switch(r){case"0000":c+="\\0";break;case"0007":c+="\\a";break;case"000b":c+="\\v";break;case"001b":c+="\\e";break;case"0085":c+="\\N";break;case"00a0":c+="\\_";break;case"2028":c+="\\L";break;case"2029":c+="\\P";break;default:"00"===r.substr(0,2)?c+="\\x"+r.substr(2):c+=t.substr(e,6)}e+=5,d=e+1}break;case"n":if(i||'"'===t[e+2]||t.length<s)e+=1;else{for(c+=t.slice(d,e)+"\n\n";"\\"===t[e+2]&&"n"===t[e+3]&&'"'!==t[e+4];)c+="\n",e+=2;c+=u," "===t[e+2]&&(c+="\\"),e+=1,d=e+1}break;default:e+=1}return c=d?c+t.slice(d):t,i?c:n.foldFlowLines(c,u,n.FOLD_QUOTED,o(r,!1))}function u(e,r){if(!1===r.options.singleQuote||r.implicitKey&&e.includes("\n")||/[ \t]\n|\n[ \t]/.test(e))return s(e,r);const t=r.indent||(a(e)?" ":""),i="'"+e.replace(/'/g,"''").replace(/\n+/g,`$&\n${t}`)+"'";return r.implicitKey?i:n.foldFlowLines(i,t,n.FOLD_FLOW,o(r,!1))}function c(e,r){const{singleQuote:t}=r.options;let i;if(!1===t)i=s;else{const r=e.includes('"'),n=e.includes("'");i=r&&!n?u:n&&!r?s:t?u:s}return i(e,r)}let d;try{d=new RegExp("(^|(?<!\n))\n+(?!\n|$)","g")}catch{d=/\n+(?!\n|$)/g}function l({comment:e,type:r,value:t},s,u,l){const{blockQuote:I,commentString:p,lineWidth:f}=s.options;if(!I||/\n[\t ]+$/.test(t)||/^\s*$/.test(t))return c(t,s);const m=s.indent||(s.forceBlockIndent||a(t)?" ":""),h="literal"===I||"folded"!==I&&r!==i.Scalar.BLOCK_FOLDED&&(r===i.Scalar.BLOCK_LITERAL||!function(e,r,t){if(!r||r<0)return!1;const i=r-t,n=e.length;if(n<=i)return!1;for(let r=0,t=0;r<n;++r)if("\n"===e[r]){if(r-t>i)return!0;if(t=r+1,n-t<=i)return!1}return!0}(t,f,m.length));if(!t)return h?"|\n":">\n";let g,v;for(v=t.length;v>0;--v){const e=t[v-1];if("\n"!==e&&"\t"!==e&&" "!==e)break}let y=t.substring(v);const w=y.indexOf("\n");-1===w?g="-":t===y||w!==y.length-1?(g="+",l&&l()):g="",y&&(t=t.slice(0,-y.length),"\n"===y[y.length-1]&&(y=y.slice(0,-1)),y=y.replace(d,`$&${m}`));let S,_=!1,b=-1;for(S=0;S<t.length;++S){const e=t[S];if(" "===e)_=!0;else{if("\n"!==e)break;b=S}}let T=t.substring(0,b<S?b+1:S);T&&(t=t.substring(T.length),T=T.replace(/\n+/g,`$&${m}`));let O=(h?"|":">")+(_?m?"2":"1":"")+g;return e&&(O+=" "+p(e.replace(/ ?[\r\n]+/g," ")),u&&u()),h?`${O}\n${m}${T}${t=t.replace(/\n+/g,`$&${m}`)}${y}`:(t=t.replace(/\n+/g,"\n$&").replace(/(?:^|\n)([\t ].*)(?:([\n\t ]*)\n(?![\n\t ]))?/g,"$1$2").replace(/\n+/g,`$&${m}`),`${O}\n${m}${n.foldFlowLines(`${T}${t}${y}`,m,n.FOLD_BLOCK,o(s,!0))}`)}r.stringifyString=function(e,r,t,d){const{implicitKey:I,inFlow:p}=r,f="string"==typeof e.value?e:Object.assign({},e,{value:String(e.value)});let{type:m}=e;m!==i.Scalar.QUOTE_DOUBLE&&/[\x00-\x08\x0b-\x1f\x7f-\x9f\u{D800}-\u{DFFF}]/u.test(f.value)&&(m=i.Scalar.QUOTE_DOUBLE);const h=e=>{switch(e){case i.Scalar.BLOCK_FOLDED:case i.Scalar.BLOCK_LITERAL:return I||p?c(f.value,r):l(f,r,t,d);case i.Scalar.QUOTE_DOUBLE:return s(f.value,r);case i.Scalar.QUOTE_SINGLE:return u(f.value,r);case i.Scalar.PLAIN:return function(e,r,t,s){const{type:u,value:d}=e,{actualString:I,implicitKey:p,indent:f,indentStep:m,inFlow:h}=r;if(p&&d.includes("\n")||h&&/[[\]{},]/.test(d))return c(d,r);if(!d||/^[\n\t ,[\]{}#&*!|>'"%@`]|^[?-]$|^[?-][ \t]|[\n:][ \t]|[ \t]\n|[\n\t ]#|[\n\t :]$/.test(d))return p||h||!d.includes("\n")?c(d,r):l(e,r,t,s);if(!p&&!h&&u!==i.Scalar.PLAIN&&d.includes("\n"))return l(e,r,t,s);if(a(d)){if(""===f)return r.forceBlockIndent=!0,l(e,r,t,s);if(p&&f===m)return c(d,r)}const g=d.replace(/\n+/g,`$&\n${f}`);if(I){const e=e=>e.default&&"tag:yaml.org,2002:str"!==e.tag&&e.test?.test(g),{compat:t,tags:i}=r.doc.schema;if(i.some(e)||t?.some(e))return c(d,r)}return p?g:n.foldFlowLines(g,f,n.FOLD_FLOW,o(r,!1))}(f,r,t,d);default:return null}};let g=h(m);if(null===g){const{defaultKeyType:e,defaultStringType:t}=r.options,i=I&&e||t;if(g=h(i),null===g)throw new Error(`Unsupported default string type ${i}`)}return g}},4364:(e,r,t)=>{"use strict";var i=t(9399);const n=Symbol("break visit"),o=Symbol("skip children"),a=Symbol("remove node");function s(e,r){const t=l(r);i.isDocument(e)?u(null,e.contents,t,Object.freeze([e]))===a&&(e.contents=null):u(null,e,t,Object.freeze([]))}function u(e,r,t,o){const s=I(e,r,t,o);if(i.isNode(s)||i.isPair(s))return p(e,o,s),u(e,s,t,o);if("symbol"!=typeof s)if(i.isCollection(r)){o=Object.freeze(o.concat(r));for(let e=0;e<r.items.length;++e){const i=u(e,r.items[e],t,o);if("number"==typeof i)e=i-1;else{if(i===n)return n;i===a&&(r.items.splice(e,1),e-=1)}}}else if(i.isPair(r)){o=Object.freeze(o.concat(r));const e=u("key",r.key,t,o);if(e===n)return n;e===a&&(r.key=null);const i=u("value",r.value,t,o);if(i===n)return n;i===a&&(r.value=null)}return s}async function c(e,r){const t=l(r);i.isDocument(e)?await d(null,e.contents,t,Object.freeze([e]))===a&&(e.contents=null):await d(null,e,t,Object.freeze([]))}async function d(e,r,t,o){const s=await I(e,r,t,o);if(i.isNode(s)||i.isPair(s))return p(e,o,s),d(e,s,t,o);if("symbol"!=typeof s)if(i.isCollection(r)){o=Object.freeze(o.concat(r));for(let e=0;e<r.items.length;++e){const i=await d(e,r.items[e],t,o);if("number"==typeof i)e=i-1;else{if(i===n)return n;i===a&&(r.items.splice(e,1),e-=1)}}}else if(i.isPair(r)){o=Object.freeze(o.concat(r));const e=await d("key",r.key,t,o);if(e===n)return n;e===a&&(r.key=null);const i=await d("value",r.value,t,o);if(i===n)return n;i===a&&(r.value=null)}return s}function l(e){return"object"==typeof e&&(e.Collection||e.Node||e.Value)?Object.assign({Alias:e.Node,Map:e.Node,Scalar:e.Node,Seq:e.Node},e.Value&&{Map:e.Value,Scalar:e.Value,Seq:e.Value},e.Collection&&{Map:e.Collection,Seq:e.Collection},e):e}function I(e,r,t,n){return"function"==typeof t?t(e,r,n):i.isMap(r)?t.Map?.(e,r,n):i.isSeq(r)?t.Seq?.(e,r,n):i.isPair(r)?t.Pair?.(e,r,n):i.isScalar(r)?t.Scalar?.(e,r,n):i.isAlias(r)?t.Alias?.(e,r,n):void 0}function p(e,r,t){const n=r[r.length-1];if(i.isCollection(n))n.items[e]=t;else if(i.isPair(n))"key"===e?n.key=t:n.value=t;else{if(!i.isDocument(n)){const e=i.isAlias(n)?"alias":"scalar";throw new Error(`Cannot replace node with ${e} parent`)}n.contents=t}}s.BREAK=n,s.SKIP=o,s.REMOVE=a,c.BREAK=n,c.SKIP=o,c.REMOVE=a,r.visit=s,r.visitAsync=c},5608:(e,r,t)=>{"use strict";t.r(r),t.d(r,{__addDisposableResource:()=>Q,__assign:()=>o,__asyncDelegator:()=>O,__asyncGenerator:()=>T,__asyncValues:()=>k,__await:()=>b,__awaiter:()=>f,__classPrivateFieldGet:()=>x,__classPrivateFieldIn:()=>$,__classPrivateFieldSet:()=>R,__createBinding:()=>h,__decorate:()=>s,__disposeResources:()=>C,__esDecorate:()=>c,__exportStar:()=>g,__extends:()=>n,__generator:()=>m,__importDefault:()=>E,__importStar:()=>V,__makeTemplateObject:()=>A,__metadata:()=>p,__param:()=>u,__propKey:()=>l,__read:()=>y,__rest:()=>a,__runInitializers:()=>d,__setFunctionName:()=>I,__spread:()=>w,__spreadArray:()=>_,__spreadArrays:()=>S,__values:()=>v,default:()=>F});var i=function(e,r){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,r){e.__proto__=r}||function(e,r){for(var t in r)Object.prototype.hasOwnProperty.call(r,t)&&(e[t]=r[t])},i(e,r)};function n(e,r){if("function"!=typeof r&&null!==r)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");function t(){this.constructor=e}i(e,r),e.prototype=null===r?Object.create(r):(t.prototype=r.prototype,new t)}var o=function(){return o=Object.assign||function(e){for(var r,t=1,i=arguments.length;t<i;t++)for(var n in r=arguments[t])Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n]);return e},o.apply(this,arguments)};function a(e,r){var t={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&r.indexOf(i)<0&&(t[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(i=Object.getOwnPropertySymbols(e);n<i.length;n++)r.indexOf(i[n])<0&&Object.prototype.propertyIsEnumerable.call(e,i[n])&&(t[i[n]]=e[i[n]])}return t}function s(e,r,t,i){var n,o=arguments.length,a=o<3?r:null===i?i=Object.getOwnPropertyDescriptor(r,t):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,r,t,i);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(o<3?n(a):o>3?n(r,t,a):n(r,t))||a);return o>3&&a&&Object.defineProperty(r,t,a),a}function u(e,r){return function(t,i){r(t,i,e)}}function c(e,r,t,i,n,o){function a(e){if(void 0!==e&&"function"!=typeof e)throw new TypeError("Function expected");return e}for(var s,u=i.kind,c="getter"===u?"get":"setter"===u?"set":"value",d=!r&&e?i.static?e:e.prototype:null,l=r||(d?Object.getOwnPropertyDescriptor(d,i.name):{}),I=!1,p=t.length-1;p>=0;p--){var f={};for(var m in i)f[m]="access"===m?{}:i[m];for(var m in i.access)f.access[m]=i.access[m];f.addInitializer=function(e){if(I)throw new TypeError("Cannot add initializers after decoration has completed");o.push(a(e||null))};var h=(0,t[p])("accessor"===u?{get:l.get,set:l.set}:l[c],f);if("accessor"===u){if(void 0===h)continue;if(null===h||"object"!=typeof h)throw new TypeError("Object expected");(s=a(h.get))&&(l.get=s),(s=a(h.set))&&(l.set=s),(s=a(h.init))&&n.unshift(s)}else(s=a(h))&&("field"===u?n.unshift(s):l[c]=s)}d&&Object.defineProperty(d,i.name,l),I=!0}function d(e,r,t){for(var i=arguments.length>2,n=0;n<r.length;n++)t=i?r[n].call(e,t):r[n].call(e);return i?t:void 0}function l(e){return"symbol"==typeof e?e:"".concat(e)}function I(e,r,t){return"symbol"==typeof r&&(r=r.description?"[".concat(r.description,"]"):""),Object.defineProperty(e,"name",{configurable:!0,value:t?"".concat(t," ",r):r})}function p(e,r){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,r)}function f(e,r,t,i){return new(t||(t=Promise))((function(n,o){function a(e){try{u(i.next(e))}catch(e){o(e)}}function s(e){try{u(i.throw(e))}catch(e){o(e)}}function u(e){var r;e.done?n(e.value):(r=e.value,r instanceof t?r:new t((function(e){e(r)}))).then(a,s)}u((i=i.apply(e,r||[])).next())}))}function m(e,r){var t,i,n,o,a={label:0,sent:function(){if(1&n[0])throw n[1];return n[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(s){return function(u){return function(s){if(t)throw new TypeError("Generator is already executing.");for(;o&&(o=0,s[0]&&(a=0)),a;)try{if(t=1,i&&(n=2&s[0]?i.return:s[0]?i.throw||((n=i.return)&&n.call(i),0):i.next)&&!(n=n.call(i,s[1])).done)return n;switch(i=0,n&&(s=[2&s[0],n.value]),s[0]){case 0:case 1:n=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,i=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!((n=(n=a.trys).length>0&&n[n.length-1])||6!==s[0]&&2!==s[0])){a=0;continue}if(3===s[0]&&(!n||s[1]>n[0]&&s[1]<n[3])){a.label=s[1];break}if(6===s[0]&&a.label<n[1]){a.label=n[1],n=s;break}if(n&&a.label<n[2]){a.label=n[2],a.ops.push(s);break}n[2]&&a.ops.pop(),a.trys.pop();continue}s=r.call(e,a)}catch(e){s=[6,e],i=0}finally{t=n=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,u])}}}var h=Object.create?function(e,r,t,i){void 0===i&&(i=t);var n=Object.getOwnPropertyDescriptor(r,t);n&&!("get"in n?!r.__esModule:n.writable||n.configurable)||(n={enumerable:!0,get:function(){return r[t]}}),Object.defineProperty(e,i,n)}:function(e,r,t,i){void 0===i&&(i=t),e[i]=r[t]};function g(e,r){for(var t in e)"default"===t||Object.prototype.hasOwnProperty.call(r,t)||h(r,e,t)}function v(e){var r="function"==typeof Symbol&&Symbol.iterator,t=r&&e[r],i=0;if(t)return t.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&i>=e.length&&(e=void 0),{value:e&&e[i++],done:!e}}};throw new TypeError(r?"Object is not iterable.":"Symbol.iterator is not defined.")}function y(e,r){var t="function"==typeof Symbol&&e[Symbol.iterator];if(!t)return e;var i,n,o=t.call(e),a=[];try{for(;(void 0===r||r-- >0)&&!(i=o.next()).done;)a.push(i.value)}catch(e){n={error:e}}finally{try{i&&!i.done&&(t=o.return)&&t.call(o)}finally{if(n)throw n.error}}return a}function w(){for(var e=[],r=0;r<arguments.length;r++)e=e.concat(y(arguments[r]));return e}function S(){for(var e=0,r=0,t=arguments.length;r<t;r++)e+=arguments[r].length;var i=Array(e),n=0;for(r=0;r<t;r++)for(var o=arguments[r],a=0,s=o.length;a<s;a++,n++)i[n]=o[a];return i}function _(e,r,t){if(t||2===arguments.length)for(var i,n=0,o=r.length;n<o;n++)!i&&n in r||(i||(i=Array.prototype.slice.call(r,0,n)),i[n]=r[n]);return e.concat(i||Array.prototype.slice.call(r))}function b(e){return this instanceof b?(this.v=e,this):new b(e)}function T(e,r,t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var i,n=t.apply(e,r||[]),o=[];return i={},a("next"),a("throw"),a("return"),i[Symbol.asyncIterator]=function(){return this},i;function a(e){n[e]&&(i[e]=function(r){return new Promise((function(t,i){o.push([e,r,t,i])>1||s(e,r)}))})}function s(e,r){try{(t=n[e](r)).value instanceof b?Promise.resolve(t.value.v).then(u,c):d(o[0][2],t)}catch(e){d(o[0][3],e)}var t}function u(e){s("next",e)}function c(e){s("throw",e)}function d(e,r){e(r),o.shift(),o.length&&s(o[0][0],o[0][1])}}function O(e){var r,t;return r={},i("next"),i("throw",(function(e){throw e})),i("return"),r[Symbol.iterator]=function(){return this},r;function i(i,n){r[i]=e[i]?function(r){return(t=!t)?{value:b(e[i](r)),done:!1}:n?n(r):r}:n}}function k(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,t=e[Symbol.asyncIterator];return t?t.call(e):(e=v(e),r={},i("next"),i("throw"),i("return"),r[Symbol.asyncIterator]=function(){return this},r);function i(t){r[t]=e[t]&&function(r){return new Promise((function(i,n){!function(e,r,t,i){Promise.resolve(i).then((function(r){e({value:r,done:t})}),r)}(i,n,(r=e[t](r)).done,r.value)}))}}}function A(e,r){return Object.defineProperty?Object.defineProperty(e,"raw",{value:r}):e.raw=r,e}var q=Object.create?function(e,r){Object.defineProperty(e,"default",{enumerable:!0,value:r})}:function(e,r){e.default=r};function V(e){if(e&&e.__esModule)return e;var r={};if(null!=e)for(var t in e)"default"!==t&&Object.prototype.hasOwnProperty.call(e,t)&&h(r,e,t);return q(r,e),r}function E(e){return e&&e.__esModule?e:{default:e}}function x(e,r,t,i){if("a"===t&&!i)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof r?e!==r||!i:!r.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===t?i:"a"===t?i.call(e):i?i.value:r.get(e)}function R(e,r,t,i,n){if("m"===i)throw new TypeError("Private method is not writable");if("a"===i&&!n)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof r?e!==r||!n:!r.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===i?n.call(e,t):n?n.value=t:r.set(e,t),t}function $(e,r){if(null===r||"object"!=typeof r&&"function"!=typeof r)throw new TypeError("Cannot use 'in' operator on non-object");return"function"==typeof e?r===e:e.has(r)}function Q(e,r,t){if(null!=r){if("object"!=typeof r&&"function"!=typeof r)throw new TypeError("Object expected.");var i;if(t){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");i=r[Symbol.asyncDispose]}if(void 0===i){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");i=r[Symbol.dispose]}if("function"!=typeof i)throw new TypeError("Object not disposable.");e.stack.push({value:r,dispose:i,async:t})}else t&&e.stack.push({async:!0});return r}var N="function"==typeof SuppressedError?SuppressedError:function(e,r,t){var i=new Error(t);return i.name="SuppressedError",i.error=e,i.suppressed=r,i};function C(e){function r(r){e.error=e.hasError?new N(r,e.error,"An error was suppressed during disposal."):r,e.hasError=!0}return function t(){for(;e.stack.length;){var i=e.stack.pop();try{var n=i.dispose&&i.dispose.call(i.value);if(i.async)return Promise.resolve(n).then(t,(function(e){return r(e),t()}))}catch(e){r(e)}}if(e.hasError)throw e.error}()}const F={__extends:n,__assign:o,__rest:a,__decorate:s,__param:u,__metadata:p,__awaiter:f,__generator:m,__createBinding:h,__exportStar:g,__values:v,__read:y,__spread:w,__spreadArrays:S,__spreadArray:_,__await:b,__asyncGenerator:T,__asyncDelegator:O,__asyncValues:k,__makeTemplateObject:A,__importStar:V,__importDefault:E,__classPrivateFieldGet:x,__classPrivateFieldSet:R,__classPrivateFieldIn:$,__addDisposableResource:Q,__disposeResources:C}}},r={};function t(i){var n=r[i];if(void 0!==n)return n.exports;var o=r[i]={exports:{}};return e[i].call(o.exports,o,o.exports,t),o.exports}t.d=(e,r)=>{for(var i in r)t.o(r,i)&&!t.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:r[i]})},t.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),t.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i=t(664),n=exports;for(var o in i)n[o]=i[o];i.__esModule&&Object.defineProperty(n,"__esModule",{value:!0})})();
\ No newline at end of file
+(()=>{var e={4217:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.InMemoryMetrics=void 0;const i=t(9172);Object.defineProperty(r,"InMemoryMetrics",{enumerable:!0,get:function(){return i.InMemoryMetrics}})},7406:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.InMemoryCounterMetric=void 0;const i=t(6844);class n extends i.InMemoryMetric{constructor(){super(...arguments),this.count=0}getCount(){return this.count}incr(){this.count++}decr(){this.count--}decrBy(e){this.count-=e}incrBy(e){this.count+=e}}r.InMemoryCounterMetric=n},8965:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.InMemoryGaugeMetric=void 0;const i=t(6844);class n extends i.InMemoryMetric{constructor(){super(...arguments),this.value=0}getValue(){return this.value}set(e){this.value=e}}r.InMemoryGaugeMetric=n},6844:(e,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.InMemoryMetric=void 0,r.InMemoryMetric=class{constructor(e,r){this.name=e,this.additionalInfo=r}getName(){return this.name}getTags(){return this.additionalInfo||{}}}},5949:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.InMemoryTimedMetric=void 0;const i=t(6844);class n extends i.InMemoryMetric{constructor(){super(...arguments),this.latency=0,this.started=!1,this.startedAt=BigInt(0)}getTime(){return this.started&&this.stopTimer(),this.format(this.latency)}format(e,r){return parseFloat(e.toFixed(r?.precision||2))}stopTimer(e){const r=process.hrtime.bigint()-this.startedAt;this.started=!1,this.set(Number(r)/1e6,e)}measure(){return this.startedAt=process.hrtime.bigint(),this.started=!0,{stop:(e,r)=>(this.stopTimer(e),this.format(this.latency,r))}}set(e,r){this.latency=e,r&&(this.additionalInfo={...this.additionalInfo,...r})}}r.InMemoryTimedMetric=n},9172:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.InMemoryMetrics=void 0;const i=t(7406),n=t(8965),o=t(6844),a=t(5949);class s extends o.InMemoryMetric{constructor(e,r=""){super(r,e),this._timers=[],this._counters=new Map,this._gauges=new Map,this._children=new Map}getTimers(){return this._timers}getCounters(){return this._counters}getGauges(){return this._gauges}getChildren(){return this._children}tagsWith(e){return{...this.getTags(),...e}}getHashedMetricName(e,r){const t=Object.entries(this.tagsWith(r)).sort();return`${e}_${JSON.stringify(t)}`}child(e,r){const t=this.getHashedMetricName(e,r);if(!this._children.has(t)){const i=new s(this.tagsWith(r),e);this._children.set(t,i)}return this._children.get(t)}counter(e,r){const t=this.getHashedMetricName(e,r);if(!this._counters.has(t)){const n=new i.InMemoryCounterMetric(e,this.tagsWith(r));this._counters.set(t,n)}return this._counters.get(t)}counterByName(e){const r=Array.from(this.getCounters().values()).filter((r=>r.getName()===e));if(1!==r.length)throw new Error(`Expected to find a single counter with name ${e}, but found ${r.length}`);return r[0]}gauge(e,r){const t=this.getHashedMetricName(e,r);if(!this._gauges.has(t)){const i=new n.InMemoryGaugeMetric(e,this.tagsWith(r));this._gauges.set(t,i)}return this._gauges.get(t)}gaugeByName(e){const r=Array.from(this.getGauges().values()).filter((r=>r.getName()===e));if(1!==r.length)throw new Error(`Expected to find a single gauge with name ${e}, but found ${r.length}`);return r[0]}timerByName(e){const r=this._timers.find((r=>r.getName()===e));if(!r)throw new Error(`Failed to find timer with name ${e}`);return r}timing(e,r){const t=new a.InMemoryTimedMetric(e,this.tagsWith(r));return this._timers.push(t),t}event(e,r){throw new Error("Events are not implemented.")}set(e,r){throw new Error("Sets are not implemented.")}histogram(e,r,t){throw new Error("Histograms are not implemented.")}}r.InMemoryMetrics=s},5615:(e,r,t)=>{"use strict";e.exports=t(3078),e.exports.HttpsAgent=t(1808),e.exports.constants=t(1362)},3078:(e,r,t)=>{"use strict";const i=t(8611).Agent,n=t(2178),o=t(9023).debuglog("agentkeepalive"),{INIT_SOCKET:a,CURRENT_ID:s,CREATE_ID:u,SOCKET_CREATED_TIME:c,SOCKET_NAME:d,SOCKET_REQUEST_COUNT:l,SOCKET_REQUEST_FINISHED_COUNT:I}=t(1362);let p=1;const f=parseInt(process.version.split(".",1)[0].substring(1));function m(e){console.log("[agentkeepalive:deprecated] %s",e)}function h(e){return e.timeout||e._idleTimeout}function g(e){const r={};for(const t in e)r[t]=e[t].length;return r}f>=11&&f<=12?p=2:f>=13&&(p=3),e.exports=class extends i{constructor(e){(e=e||{}).keepAlive=!1!==e.keepAlive,void 0===e.freeSocketTimeout&&(e.freeSocketTimeout=4e3),e.keepAliveTimeout&&(m("options.keepAliveTimeout is deprecated, please use options.freeSocketTimeout instead"),e.freeSocketTimeout=e.keepAliveTimeout,delete e.keepAliveTimeout),e.freeSocketKeepAliveTimeout&&(m("options.freeSocketKeepAliveTimeout is deprecated, please use options.freeSocketTimeout instead"),e.freeSocketTimeout=e.freeSocketKeepAliveTimeout,delete e.freeSocketKeepAliveTimeout),void 0===e.timeout&&(e.timeout=Math.max(2*e.freeSocketTimeout,8e3)),e.timeout=n(e.timeout),e.freeSocketTimeout=n(e.freeSocketTimeout),e.socketActiveTTL=e.socketActiveTTL?n(e.socketActiveTTL):0,super(e),this[s]=0,this.createSocketCount=0,this.createSocketCountLastCheck=0,this.createSocketErrorCount=0,this.createSocketErrorCountLastCheck=0,this.closeSocketCount=0,this.closeSocketCountLastCheck=0,this.errorSocketCount=0,this.errorSocketCountLastCheck=0,this.requestCount=0,this.requestCountLastCheck=0,this.timeoutSocketCount=0,this.timeoutSocketCountLastCheck=0,this.on("free",(e=>{const r=this.calcSocketTimeout(e);r>0&&e.timeout!==r&&e.setTimeout(r)}))}get freeSocketKeepAliveTimeout(){return m("agent.freeSocketKeepAliveTimeout is deprecated, please use agent.options.freeSocketTimeout instead"),this.options.freeSocketTimeout}get timeout(){return m("agent.timeout is deprecated, please use agent.options.timeout instead"),this.options.timeout}get socketActiveTTL(){return m("agent.socketActiveTTL is deprecated, please use agent.options.socketActiveTTL instead"),this.options.socketActiveTTL}calcSocketTimeout(e){let r=this.options.freeSocketTimeout;const t=this.options.socketActiveTTL;if(t){const i=t-(Date.now()-e[c]);if(i<=0)return i;r&&i<r&&(r=i)}if(r)return e.freeSocketTimeout||e.freeSocketKeepAliveTimeout||r}keepSocketAlive(e){const r=super.keepSocketAlive(e);if(!r)return r;const t=this.calcSocketTimeout(e);return void 0===t||(t<=0?(o("%s(requests: %s, finished: %s) free but need to destroy by TTL, request count %s, diff is %s",e[d],e[l],e[I],t),!1):(e.timeout!==t&&e.setTimeout(t),!0))}reuseSocket(...e){super.reuseSocket(...e);const r=e[0];e[1].reusedSocket=!0;const t=this.options.timeout;h(r)!==t&&(r.setTimeout(t),o("%s reset timeout to %sms",r[d],t)),r[l]++,o("%s(requests: %s, finished: %s) reuse on addRequest, timeout %sms",r[d],r[l],r[I],h(r))}[u](){const e=this[s]++;return this[s]===Number.MAX_SAFE_INTEGER&&(this[s]=0),e}[a](e,r){r.timeout&&(h(e)||e.setTimeout(r.timeout)),this.options.keepAlive&&e.setNoDelay(!0),this.createSocketCount++,this.options.socketActiveTTL&&(e[c]=Date.now()),e[d]=`sock[${this[u]()}#${r._agentKey}]`.split("-----BEGIN",1)[0],e[l]=1,e[I]=0,function(e,r,t){function i(){if(!r._httpMessage&&1===r[l])return;r[I]++,e.requestCount++,o("%s(requests: %s, finished: %s) free",r[d],r[l],r[I]);const i=e.getName(t);r.writable&&e.requests[i]&&e.requests[i].length&&(r[l]++,o("%s(requests: %s, finished: %s) will be reuse on agent free event",r[d],r[l],r[I]))}function n(t){o("%s(requests: %s, finished: %s) close, isError: %s",r[d],r[l],r[I],t),e.closeSocketCount++}function a(){const i=r.listeners("timeout").length,n=h(r),a=r._httpMessage,s=a&&a.listeners("timeout").length||0;o("%s(requests: %s, finished: %s) timeout after %sms, listeners %s, defaultTimeoutListenerCount %s, hasHttpRequest %s, HttpRequest timeoutListenerCount %s",r[d],r[l],r[I],n,i,p,!!a,s),o.enabled&&o("timeout listeners: %s",r.listeners("timeout").map((e=>e.name)).join(", ")),e.timeoutSocketCount++;const u=e.getName(t);if(e.freeSockets[u]&&-1!==e.freeSockets[u].indexOf(r))r.destroy(),e.removeSocket(r,t),o("%s is free, destroy quietly",r[d]);else if(0===s){const i=new Error("Socket timeout");i.code="ERR_SOCKET_TIMEOUT",i.timeout=n,r.destroy(i),e.removeSocket(r,t),o("%s destroy with timeout error",r[d])}}function s(t){const i=r.listeners("error").length;o("%s(requests: %s, finished: %s) error: %s, listenerCount: %s",r[d],r[l],r[I],t,i),e.errorSocketCount++,1===i&&(o("%s emit uncaught error event",r[d]),r.removeListener("error",s),r.emit("error",t))}o("%s create, timeout %sms",r[d],h(r)),r.on("free",i),r.on("close",n),r.on("timeout",a),r.on("error",s),r.on("agentRemove",(function e(){o("%s(requests: %s, finished: %s) agentRemove",r[d],r[l],r[I]),r.removeListener("close",n),r.removeListener("error",s),r.removeListener("free",i),r.removeListener("timeout",a),r.removeListener("agentRemove",e)}))}(this,e,r)}createConnection(e,r){let t=!1;const i=(i,n)=>{if(!t){if(t=!0,i)return this.createSocketErrorCount++,r(i);this[a](n,e),r(i,n)}},n=super.createConnection(e,i);return n&&i(null,n),n}get statusChanged(){const e=this.createSocketCount!==this.createSocketCountLastCheck||this.createSocketErrorCount!==this.createSocketErrorCountLastCheck||this.closeSocketCount!==this.closeSocketCountLastCheck||this.errorSocketCount!==this.errorSocketCountLastCheck||this.timeoutSocketCount!==this.timeoutSocketCountLastCheck||this.requestCount!==this.requestCountLastCheck;return e&&(this.createSocketCountLastCheck=this.createSocketCount,this.createSocketErrorCountLastCheck=this.createSocketErrorCount,this.closeSocketCountLastCheck=this.closeSocketCount,this.errorSocketCountLastCheck=this.errorSocketCount,this.timeoutSocketCountLastCheck=this.timeoutSocketCount,this.requestCountLastCheck=this.requestCount),e}getCurrentStatus(){return{createSocketCount:this.createSocketCount,createSocketErrorCount:this.createSocketErrorCount,closeSocketCount:this.closeSocketCount,errorSocketCount:this.errorSocketCount,timeoutSocketCount:this.timeoutSocketCount,requestCount:this.requestCount,freeSockets:g(this.freeSockets),sockets:g(this.sockets),requests:g(this.requests)}}}},1362:e=>{"use strict";e.exports={CURRENT_ID:Symbol("agentkeepalive#currentId"),CREATE_ID:Symbol("agentkeepalive#createId"),INIT_SOCKET:Symbol("agentkeepalive#initSocket"),CREATE_HTTPS_CONNECTION:Symbol("agentkeepalive#createHttpsConnection"),SOCKET_CREATED_TIME:Symbol("agentkeepalive#socketCreatedTime"),SOCKET_NAME:Symbol("agentkeepalive#socketName"),SOCKET_REQUEST_COUNT:Symbol("agentkeepalive#socketRequestCount"),SOCKET_REQUEST_FINISHED_COUNT:Symbol("agentkeepalive#socketRequestFinishedCount")}},1808:(e,r,t)=>{"use strict";const i=t(5692).Agent,n=t(3078),{INIT_SOCKET:o,CREATE_HTTPS_CONNECTION:a}=t(1362);class s extends n{constructor(e){super(e),this.defaultPort=443,this.protocol="https:",this.maxCachedSessions=this.options.maxCachedSessions,void 0===this.maxCachedSessions&&(this.maxCachedSessions=100),this._sessionCache={map:{},list:[]}}createConnection(e,r){const t=this[a](e,r);return this[o](t,e),t}}s.prototype[a]=i.prototype.createConnection,["getName","_getSession","_cacheSession","_evictSession"].forEach((function(e){"function"==typeof i.prototype[e]&&(s.prototype[e]=i.prototype[e])})),e.exports=s},5289:(e,r,t)=>{"use strict";t.d(r,{v:()=>n});var i=t(1555);function n(e){var r=(0,i.UA)(e);return function(t){return{concat:r(t).concat,empty:e.of(t.empty)}}}},1555:(e,r,t)=>{"use strict";function i(e){return function(r){return function(t){return e.ap(e.map(t,(function(e){return function(){return e}})),r)}}}function n(e){return function(r){return function(t){return e.ap(e.map(t,(function(){return function(e){return e}})),r)}}}function o(e){return function(r,t){return function(i){return e.ap(e.map(i,(function(e){return function(t){var i;return Object.assign({},e,((i={})[r]=t,i))}})),t)}}}function a(e){return function(r){return{concat:function(t,i){return e.ap(e.map(t,(function(e){return function(t){return r.concat(e,t)}})),i)}}}}t.d(r,{TZ:()=>o,UA:()=>a,g$:()=>n,oW:()=>i})},6863:(e,r,t)=>{"use strict";t.r(r),t.d(r,{Alt:()=>lt,Alternative:()=>ft,Applicative:()=>at,Apply:()=>it,Chain:()=>st,ChainRecBreadthFirst:()=>Vt,ChainRecDepthFirst:()=>At,Compactable:()=>ht,Do:()=>Mt,Extend:()=>mt,Filterable:()=>gt,FilterableWithIndex:()=>vt,Foldable:()=>yt,FoldableWithIndex:()=>wt,FromEither:()=>xt,Functor:()=>Xr,FunctorWithIndex:()=>tt,Monad:()=>ct,Pointed:()=>rt,Traversable:()=>St,TraversableWithIndex:()=>_t,URI:()=>Zr,Unfoldable:()=>dt,Witherable:()=>Ot,Zero:()=>It,alt:()=>Ar,altW:()=>kr,ap:()=>pr,apFirst:()=>nt,apS:()=>Ut,apSecond:()=>ot,append:()=>q,appendW:()=>V,array:()=>Ht,bind:()=>Zt,bindTo:()=>Pt,chain:()=>Dt,chainFirst:()=>ut,chainRecBreadthFirst:()=>qt,chainRecDepthFirst:()=>kt,chainWithIndex:()=>Z,chop:()=>xe,chunksOf:()=>$e,compact:()=>yr,comprehension:()=>Ne,concat:()=>Fe,concatW:()=>Ce,cons:()=>Bt,copy:()=>pe,deleteAt:()=>he,difference:()=>Me,dropLeft:()=>ne,dropLeftWhile:()=>ae,dropRight:()=>oe,duplicate:()=>Er,elem:()=>qe,empty:()=>Kt,every:()=>Ct,exists:()=>zt,extend:()=>Vr,filter:()=>Sr,filterE:()=>Et,filterMap:()=>vr,filterMapWithIndex:()=>gr,filterWithIndex:()=>qr,findFirst:()=>ue,findFirstMap:()=>ce,findIndex:()=>se,findLast:()=>de,findLastIndex:()=>Ie,findLastMap:()=>le,flap:()=>et,flatMap:()=>fr,flatten:()=>mr,foldLeft:()=>L,foldMap:()=>xr,foldMapWithIndex:()=>Rr,foldRight:()=>j,fromEither:()=>Q,fromEitherK:()=>Rt,fromOption:()=>$,fromOptionK:()=>Qe,fromPredicate:()=>R,getDifferenceMagma:()=>Yr,getEq:()=>Kr,getIntersectionSemigroup:()=>Hr,getMonoid:()=>Wr,getOrd:()=>Br,getSemigroup:()=>Dr,getShow:()=>Ur,getUnionMonoid:()=>Jr,getUnionSemigroup:()=>Gr,guard:()=>pt,head:()=>G,init:()=>Y,insertAt:()=>fe,intercalate:()=>Lt,intersection:()=>Le,intersperse:()=>ke,isEmpty:()=>T,isNonEmpty:()=>O,isOutOfBound:()=>K,last:()=>J,lefts:()=>we,let:()=>jt,lookup:()=>B,makeBy:()=>E,map:()=>Ir,mapWithIndex:()=>hr,match:()=>C,matchLeft:()=>z,matchLeftW:()=>F,matchRight:()=>P,matchRightW:()=>M,matchW:()=>N,modifyAt:()=>ge,of:()=>dr,partition:()=>_r,partitionMap:()=>Tr,partitionMapWithIndex:()=>Or,partitionWithIndex:()=>br,prepend:()=>k,prependAll:()=>Oe,prependToAll:()=>Jt,prependW:()=>A,range:()=>Wt,reduce:()=>$r,reduceRight:()=>Nr,reduceRightWithIndex:()=>Cr,reduceWithIndex:()=>Qr,replicate:()=>x,reverse:()=>ve,rights:()=>ye,rotate:()=>Ae,scanLeft:()=>U,scanRight:()=>D,separate:()=>wr,sequence:()=>zr,size:()=>W,snoc:()=>Gt,some:()=>Ft,sort:()=>Se,sortBy:()=>Ee,spanLeft:()=>ie,splitAt:()=>Re,tail:()=>H,takeLeft:()=>X,takeLeftWhile:()=>re,takeRight:()=>ee,traverse:()=>Fr,traverseWithIndex:()=>Lr,unfold:()=>jr,union:()=>ze,uniq:()=>Ve,unsafeDeleteAt:()=>Nt,unsafeInsertAt:()=>$t,unsafeUpdateAt:()=>Qt,unzip:()=>Te,updateAt:()=>me,wilt:()=>Pr,wither:()=>Mr,zero:()=>lr,zip:()=>be,zipWith:()=>_e});var i=t(1555),n=t(666),o=t(4298),a=t(5103),s=t(3304),u=t(9930),c=t(8782),d=t(253),l=function(e,r){return e<r?-1:e>r?1:0},I=t(5232),p=t(8288),f=t(2224),m=t(1216),h=p.J_;p.Hs,p.Cs,p.BC,p.Ak;var g=p.kI;p.of;var v=(a.D_,function(e){return function(r){return function(t){return t.reduce((function(t,i,n){return e.concat(t,r(n,i))}),e.empty)}}}),y=function(e,r){return function(t){for(var i=t.length,n=e,o=0;o<i;o++)n=r(o,n,t[o]);return n}},w=function(e,r){return function(t){return t.reduceRight((function(e,t,i){return r(i,t,e)}),e)}},S=function(e){return function(r){for(var t=function(e,r,t){if(t||2===arguments.length)for(var i,n=0,o=r.length;n<o;n++)!i&&n in r||(i||(i=Array.prototype.slice.call(r,0,n)),i[n]=r[n]);return e.concat(i||Array.prototype.slice.call(r))}([],e(r),!0),i=[];t.length>0;){var n=t.shift();u.OC(n)?t.unshift.apply(t,e(n.left)):i.push(n.right)}return i}},_=function(e){return function(r){var t=e(r),i=[],n=[];function o(r){u.OC(r)?e(r.left).forEach((function(e){return i.push(e)})):n.push(r.right)}for(var a=0,s=t;a<s.length;a++)o(s[a]);for(;i.length>0;)o(i.shift());return n}};p.jK,p.Ie,u.FR,p.y1,p.qu,p.Kv;var b=t(1965),T=function(e){return 0===e.length},O=c.isNonEmpty,k=c.prepend,A=c.prependW,q=c.append,V=c.appendW,E=function(e,r){return e<=0?[]:c.makeBy(r)(e)},x=function(e,r){return E(e,(function(){return r}))};function R(e){return function(r){return e(r)?[r]:[]}}var $=function(e){return u.$I(e)?[]:[e.value]},Q=function(e){return u.OC(e)?[]:[e.right]},N=function(e,r){return function(t){return O(t)?r(t):e()}},C=N,F=function(e,r){return function(t){return O(t)?r(c.head(t),c.tail(t)):e()}},z=F,L=z,M=function(e,r){return function(t){return O(t)?r(c.init(t),c.last(t)):e()}},P=M,j=P,Z=function(e){return function(r){for(var t=[],i=0;i<r.length;i++)t.push.apply(t,e(i,r[i]));return t}},U=function(e,r){return function(t){var i=t.length,n=new Array(i+1);n[0]=e;for(var o=0;o<i;o++)n[o+1]=r(n[o],t[o]);return n}},D=function(e,r){return function(t){var i=t.length,n=new Array(i+1);n[i]=e;for(var o=i-1;o>=0;o--)n[o]=r(t[o],n[o+1]);return n}},W=function(e){return e.length},K=c.isOutOfBound,B=function e(r,t){return void 0===t?function(t){return e(r,t)}:g(r,t)?u.dv:u.zN(t[r])},G=function(e){return h(e)?u.zN(p.d5(e)):u.dv},J=function(e){return h(e)?u.zN(p.HV(e)):u.dv},H=function(e){return O(e)?u.zN(c.tail(e)):u.dv},Y=function(e){return O(e)?u.zN(c.init(e)):u.dv},X=function(e){return function(r){return K(e,r)?pe(r):r.slice(0,e)}},ee=function(e){return function(r){return K(e,r)?pe(r):0===e?[]:r.slice(-e)}};function re(e){return function(r){for(var t=[],i=0,n=r;i<n.length;i++){var o=n[i];if(!e(o))break;t.push(o)}return t}}var te=function(e,r){for(var t=e.length,i=0;i<t&&r(e[i]);i++);return i};function ie(e){return function(r){var t=Re(te(r,e))(r);return{init:t[0],rest:t[1]}}}var ne=function(e){return function(r){return e<=0||T(r)?pe(r):e>=r.length?[]:r.slice(e,r.length)}},oe=function(e){return function(r){return e<=0||T(r)?pe(r):e>=r.length?[]:r.slice(0,r.length-e)}};function ae(e){return function(r){return r.slice(te(r,e))}}var se=function(e){return function(r){for(var t=0;t<r.length;t++)if(e(r[t]))return u.zN(t);return u.dv}};function ue(e){return function(e){return function(r){for(var t=0;t<r.length;t++)if(e(r[t]))return u.zN(r[t]);return u.dv}}(e)}var ce=function(e){return function(r){for(var t=0;t<r.length;t++){var i=e(r[t]);if(u.Ru(i))return i}return u.dv}};function de(e){return function(e){return function(r){for(var t=r.length-1;t>=0;t--)if(e(r[t]))return u.zN(r[t]);return u.dv}}(e)}var le=function(e){return function(r){for(var t=r.length-1;t>=0;t--){var i=e(r[t]);if(u.Ru(i))return i}return u.dv}},Ie=function(e){return function(r){for(var t=r.length-1;t>=0;t--)if(e(r[t]))return u.zN(t);return u.dv}},pe=function(e){return e.slice()},fe=function(e,r){return function(t){return e<0||e>t.length?u.dv:u.zN($t(e,r,t))}},me=function(e,r){return ge(e,(function(){return r}))},he=function(e){return function(r){return K(e,r)?u.dv:u.zN(Nt(e,r))}},ge=function(e,r){return function(t){return K(e,t)?u.dv:u.zN(Qt(e,r(t[e]),t))}},ve=function(e){return T(e)?[]:e.slice().reverse()},ye=function(e){for(var r=[],t=0;t<e.length;t++){var i=e[t];"Right"===i._tag&&r.push(i.right)}return r},we=function(e){for(var r=[],t=0;t<e.length;t++){var i=e[t];"Left"===i._tag&&r.push(i.left)}return r},Se=function(e){return function(r){return r.length<=1?pe(r):r.slice().sort(e.compare)}},_e=function(e,r,t){for(var i=[],n=Math.min(e.length,r.length),o=0;o<n;o++)i[o]=t(e[o],r[o]);return i};function be(e,r){return void 0===r?function(r){return be(r,e)}:_e(e,r,(function(e,r){return[e,r]}))}var Te=function(e){for(var r=[],t=[],i=0;i<e.length;i++)r[i]=e[i][0],t[i]=e[i][1];return[r,t]},Oe=function(e){var r=c.prependAll(e);return function(e){return O(e)?r(e):[]}},ke=function(e){var r=c.intersperse(e);return function(e){return O(e)?r(e):pe(e)}},Ae=function(e){var r=c.rotate(e);return function(e){return O(e)?r(e):pe(e)}},qe=function e(r){return function(t,i){if(void 0===i){var n=e(r);return function(e){return n(t,e)}}for(var o,a=0;a<i.length;a++)if(o=i[a],r.equals(o,t))return!0;return!1}},Ve=function(e){var r=c.uniq(e);return function(e){return O(e)?r(e):pe(e)}},Ee=function(e){var r=c.sortBy(e);return function(e){return O(e)?r(e):pe(e)}},xe=function(e){var r=c.chop(e);return function(e){return O(e)?r(e):[]}},Re=function(e){return function(r){return e>=1&&O(r)?c.splitAt(e)(r):T(r)?[pe(r),[]]:[[],pe(r)]}},$e=function(e){var r=c.chunksOf(e);return function(e){return O(e)?r(e):[]}},Qe=function(e){return function(){for(var r=[],t=0;t<arguments.length;t++)r[t]=arguments[t];return $(e.apply(void 0,r))}};function Ne(e,r,t){void 0===t&&(t=function(){return!0});var i=function(e,n){return O(n)?fr(c.head(n),(function(r){return i((0,a.Fs)(e,q(r)),c.tail(n))})):t.apply(void 0,e)?[r.apply(void 0,e)]:[]};return i([],e)}var Ce=function(e){return function(r){return T(r)?pe(e):T(e)?pe(r):r.concat(e)}},Fe=Ce;function ze(e){var r=c.union(e);return function(t,i){if(void 0===i){var n=ze(e);return function(e){return n(e,t)}}return O(t)&&O(i)?r(i)(t):O(t)?pe(t):pe(i)}}function Le(e){var r=qe(e);return function(t,i){if(void 0===i){var n=Le(e);return function(e){return n(e,t)}}return t.filter((function(e){return r(e,i)}))}}function Me(e){var r=qe(e);return function(t,i){if(void 0===i){var n=Me(e);return function(e){return n(e,t)}}return t.filter((function(e){return!r(e,i)}))}}var Pe=function(e,r){return(0,a.Fs)(e,Ir(r))},je=function(e,r){return(0,a.Fs)(e,hr(r))},Ze=function(e,r){return(0,a.Fs)(e,pr(r))},Ue=function(e,r){return(0,a.Fs)(e,Sr(r))},De=function(e,r){return(0,a.Fs)(e,vr(r))},We=function(e,r){return(0,a.Fs)(e,_r(r))},Ke=function(e,r){return(0,a.Fs)(e,Tr(r))},Be=function(e,r){return(0,a.Fs)(e,br(r))},Ge=function(e,r){return(0,a.Fs)(e,Or(r))},Je=function(e,r){return(0,a.Fs)(e,Ar(r))},He=function(e,r,t){return(0,a.Fs)(e,$r(r,t))},Ye=function(e){var r=xr(e);return function(e,t){return(0,a.Fs)(e,r(t))}},Xe=function(e,r,t){return(0,a.Fs)(e,Nr(r,t))},er=function(e,r,t){return(0,a.Fs)(e,Qr(r,t))},rr=function(e){var r=Rr(e);return function(e,t){return(0,a.Fs)(e,r(t))}},tr=function(e,r,t){return(0,a.Fs)(e,Cr(r,t))},ir=function(e,r){return(0,a.Fs)(e,gr(r))},nr=function(e,r){return(0,a.Fs)(e,qr(r))},or=function(e,r){return(0,a.Fs)(e,Vr(r))},ar=function(e){var r=Fr(e);return function(e,t){return(0,a.Fs)(e,r(t))}},sr=function(e){var r=Lr(e);return function(e,t){return(0,a.Fs)(e,r(t))}},ur=function(e,r){return(0,a.Fs)(e,S(r))},cr=function(e,r){return(0,a.Fs)(e,_(r))},dr=c.of,lr=function(){return[]},Ir=function(e){return function(r){return r.map((function(r){return e(r)}))}},pr=function(e){return fr((function(r){return(0,a.Fs)(e,Ir(r))}))},fr=(0,a.XY)(2,(function(e,r){return(0,a.Fs)(e,Z((function(e,t){return r(t,e)})))})),mr=fr(a.D_),hr=function(e){return function(r){return r.map((function(r,t){return e(t,r)}))}},gr=function(e){return function(r){for(var t=[],i=0;i<r.length;i++){var n=e(i,r[i]);u.Ru(n)&&t.push(n.value)}return t}},vr=function(e){return gr((function(r,t){return e(t)}))},yr=vr(a.D_),wr=function(e){for(var r=[],t=[],i=0,n=e;i<n.length;i++){var o=n[i];"Left"===o._tag?r.push(o.left):t.push(o.right)}return(0,f.Ci)(r,t)},Sr=function(e){return function(r){return r.filter(e)}},_r=function(e){return br((function(r,t){return e(t)}))},br=function(e){return function(r){for(var t=[],i=[],n=0;n<r.length;n++){var o=r[n];e(n,o)?i.push(o):t.push(o)}return(0,f.Ci)(t,i)}},Tr=function(e){return Or((function(r,t){return e(t)}))},Or=function(e){return function(r){for(var t=[],i=[],n=0;n<r.length;n++){var o=e(n,r[n]);"Left"===o._tag?t.push(o.left):i.push(o.right)}return(0,f.Ci)(t,i)}},kr=function(e){return function(r){return r.concat(e())}},Ar=kr,qr=function(e){return function(r){return r.filter((function(r,t){return e(t,r)}))}},Vr=function(e){return function(r){return r.map((function(t,i){return e(r.slice(i))}))}},Er=Vr(a.D_),xr=function(e){var r=v(e);return function(e){return r((function(r,t){return e(t)}))}},Rr=v,$r=function(e,r){return y(e,(function(e,t,i){return r(t,i)}))},Qr=y,Nr=function(e,r){return w(e,(function(e,t,i){return r(t,i)}))},Cr=w,Fr=function(e){var r=Lr(e);return function(e){return r((function(r,t){return e(t)}))}},zr=function(e){return function(r){return He(r,e.of(lr()),(function(r,t){return e.ap(e.map(r,(function(e){return function(r){return(0,a.Fs)(e,q(r))}})),t)}))}},Lr=function(e){return function(r){return Qr(e.of(lr()),(function(t,i,n){return e.ap(e.map(i,(function(e){return function(r){return(0,a.Fs)(e,q(r))}})),r(t,n))}))}},Mr=function(e){var r=bt(e);return function(e){return function(t){return r(t,e)}}},Pr=function(e){var r=Tt(e);return function(e){return function(t){return r(t,e)}}},jr=function(e,r){for(var t=[],i=e;;){var n=r(i);if(!u.Ru(n))break;var o=n.value,a=o[0],s=o[1];t.push(a),i=s}return t},Zr="Array",Ur=function(e){return{show:function(r){return"[".concat(r.map(e.show).join(", "),"]")}}},Dr=function(){return{concat:function(e,r){return e.concat(r)}}},Wr=function(){return{concat:Dr().concat,empty:[]}},Kr=function(e){return(0,d.ee)((function(r,t){return r.length===t.length&&r.every((function(r,i){return e.equals(r,t[i])}))}))},Br=function(e){return(0,I.I3)((function(r,t){for(var i=r.length,n=t.length,o=Math.min(i,n),a=0;a<o;a++){var s=e.compare(r[a],t[a]);if(0!==s)return s}return l(i,n)}))},Gr=function(e){var r=ze(e);return{concat:function(e,t){return r(t)(e)}}},Jr=function(e){return{concat:Gr(e).concat,empty:[]}},Hr=function(e){var r=Le(e);return{concat:function(e,t){return r(t)(e)}}},Yr=function(e){var r=Me(e);return{concat:function(e,t){return r(t)(e)}}},Xr={URI:Zr,map:Pe},et=(0,s.Cn)(Xr),rt={URI:Zr,of:dr},tt={URI:Zr,map:Pe,mapWithIndex:je},it={URI:Zr,map:Pe,ap:Ze},nt=(0,i.oW)(it),ot=(0,i.g$)(it),at={URI:Zr,map:Pe,ap:Ze,of:dr},st={URI:Zr,map:Pe,ap:Ze,chain:fr},ut=(0,n.W6)(st),ct={URI:Zr,map:Pe,ap:Ze,of:dr,chain:fr},dt={URI:Zr,unfold:jr},lt={URI:Zr,map:Pe,alt:Je},It={URI:Zr,zero:lr},pt=(0,b.a)(It,rt),ft={URI:Zr,map:Pe,ap:Ze,of:dr,alt:Je,zero:lr},mt={URI:Zr,map:Pe,extend:or},ht={URI:Zr,compact:yr,separate:wr},gt={URI:Zr,map:Pe,compact:yr,separate:wr,filter:Ue,filterMap:De,partition:We,partitionMap:Ke},vt={URI:Zr,map:Pe,mapWithIndex:je,compact:yr,separate:wr,filter:Ue,filterMap:De,partition:We,partitionMap:Ke,partitionMapWithIndex:Ge,partitionWithIndex:Be,filterMapWithIndex:ir,filterWithIndex:nr},yt={URI:Zr,reduce:He,foldMap:Ye,reduceRight:Xe},wt={URI:Zr,reduce:He,foldMap:Ye,reduceRight:Xe,reduceWithIndex:er,foldMapWithIndex:rr,reduceRightWithIndex:tr},St={URI:Zr,map:Pe,reduce:He,foldMap:Ye,reduceRight:Xe,traverse:ar,sequence:zr},_t={URI:Zr,map:Pe,mapWithIndex:je,reduce:He,foldMap:Ye,reduceRight:Xe,reduceWithIndex:er,foldMapWithIndex:rr,reduceRightWithIndex:tr,traverse:ar,sequence:zr,traverseWithIndex:sr},bt=(0,m.nG)(St,ht),Tt=(0,m.ez)(St,ht),Ot={URI:Zr,map:Pe,compact:yr,separate:wr,filter:Ue,filterMap:De,partition:We,partitionMap:Ke,reduce:He,foldMap:Ye,reduceRight:Xe,traverse:ar,sequence:zr,wither:bt,wilt:Tt},kt=S,At={URI:Zr,map:Pe,ap:Ze,chain:fr,chainRec:ur},qt=_,Vt={URI:Zr,map:Pe,ap:Ze,chain:fr,chainRec:cr},Et=(0,m.gc)(Ot),xt={URI:Zr,fromEither:Q},Rt=(0,o.Ny)(xt),$t=c.unsafeInsertAt,Qt=function(e,r,t){return O(t)?c.unsafeUpdateAt(e,r,t):[]},Nt=function(e,r){var t=r.slice();return t.splice(e,1),t},Ct=function(e){return function(r){return r.every(e)}},Ft=function(e){return function(r){return r.some(e)}},zt=Ft,Lt=function(e){var r=p.$X(e);return function(t){return i=function(){return e.empty},n=r(t),function(e){return h(e)?n(e):i()};var i,n}},Mt=dr(u.FR),Pt=(0,s.Jr)(Xr),jt=(0,s.uV)(Xr),Zt=(0,n.oI)(st),Ut=(0,i.TZ)(it),Dt=fr,Wt=c.range,Kt=[],Bt=c.cons,Gt=c.snoc,Jt=Oe,Ht={URI:Zr,compact:yr,separate:wr,map:Pe,ap:Ze,of:dr,chain:fr,filter:Ue,filterMap:De,partition:We,partitionMap:Ke,mapWithIndex:je,partitionMapWithIndex:Ge,partitionWithIndex:Be,filterMapWithIndex:ir,filterWithIndex:nr,alt:Je,zero:lr,unfold:jr,reduce:He,foldMap:Ye,reduceRight:Xe,traverse:ar,sequence:zr,reduceWithIndex:er,foldMapWithIndex:rr,reduceRightWithIndex:tr,traverseWithIndex:sr,extend:or,wither:bt,wilt:Tt}},666:(e,r,t)=>{"use strict";function i(e){var r=n(e);return function(e){return function(t){return r(t,e)}}}function n(e){return function(r,t){return e.chain(r,(function(r){return e.map(t(r),(function(){return r}))}))}}function o(e){return function(r,t){return function(i){return e.chain(i,(function(i){return e.map(t(i),(function(e){var t;return Object.assign({},i,((t={})[r]=e,t))}))}))}}}t.d(r,{Mi:()=>n,W6:()=>i,oI:()=>o})},3898:(e,r,t)=>{"use strict";t.r(r),t.d(r,{Alt:()=>oe,ApT:()=>sr,Applicative:()=>U,Apply:()=>Z,Bifunctor:()=>te,Chain:()=>D,ChainRec:()=>ue,Do:()=>er,Extend:()=>se,Foldable:()=>J,FromEither:()=>le,Functor:()=>C,Monad:()=>W,MonadThrow:()=>de,Pointed:()=>M,Traversable:()=>X,URI:()=>k,alt:()=>ne,altW:()=>ie,ap:()=>j,apFirst:()=>be,apFirstW:()=>Te,apS:()=>or,apSW:()=>ar,apSecond:()=>Oe,apSecondW:()=>ke,apW:()=>P,as:()=>F,asUnit:()=>z,bimap:()=>ee,bind:()=>ir,bindTo:()=>rr,bindW:()=>nr,chain:()=>fr,chainFirst:()=>mr,chainFirstW:()=>hr,chainNullableK:()=>Ge,chainOptionK:()=>Re,chainOptionKW:()=>$e,chainW:()=>pr,duplicate:()=>Ee,either:()=>yr,elem:()=>Ye,exists:()=>Xe,extend:()=>ae,filterOrElse:()=>Me,filterOrElseW:()=>Pe,flap:()=>_e,flatMap:()=>f,flatMapNullable:()=>ze,flatMapOption:()=>Le,flatten:()=>Ve,flattenW:()=>qe,fold:()=>ye,foldMap:()=>B,foldW:()=>ge,fromNullable:()=>De,fromNullableK:()=>Be,fromOption:()=>pe,fromOptionK:()=>xe,fromPredicate:()=>Ie,getAltValidation:()=>Q,getApplicativeValidation:()=>$,getApplyMonoid:()=>Sr,getApplySemigroup:()=>wr,getCompactable:()=>E,getEq:()=>q,getFilterable:()=>x,getOrElse:()=>Se,getOrElseW:()=>we,getSemigroup:()=>V,getShow:()=>A,getValidation:()=>Tr,getValidationMonoid:()=>br,getValidationSemigroup:()=>_r,getWitherable:()=>R,isLeft:()=>fe,isRight:()=>me,left:()=>I,let:()=>tr,liftNullable:()=>Ne,liftOption:()=>Ce,map:()=>N,mapLeft:()=>re,match:()=>ve,matchW:()=>he,of:()=>L,orElse:()=>Ue,orElseW:()=>Ze,parseJSON:()=>gr,reduce:()=>K,reduceRight:()=>G,right:()=>p,sequence:()=>Y,sequenceArray:()=>Ir,stringifyJSON:()=>vr,swap:()=>je,tap:()=>Ae,throwError:()=>ce,toError:()=>He,toUnion:()=>Je,traverse:()=>H,traverseArray:()=>lr,traverseArrayWithIndex:()=>dr,traverseReadonlyArrayWithIndex:()=>cr,traverseReadonlyNonEmptyArrayWithIndex:()=>ur,tryCatch:()=>We,tryCatchK:()=>Ke});var i=t(5289),n=t(1555),o=t(666),a=t(4298),s=t(5103),u=t(3304),c=t(9930),d=t(2224),l=t(1216),I=c.kb,p=c.pG,f=(0,s.XY)(2,(function(e,r){return fe(e)?e:r(e.right)})),m=function(e,r){return(0,s.Fs)(e,N(r))},h=function(e,r){return(0,s.Fs)(e,j(r))},g=function(e,r,t){return(0,s.Fs)(e,K(r,t))},v=function(e){return function(r,t){var i=B(e);return(0,s.Fs)(r,i(t))}},y=function(e,r,t){return(0,s.Fs)(e,G(r,t))},w=function(e){var r=H(e);return function(e,t){return(0,s.Fs)(e,r(t))}},S=function(e,r,t){return(0,s.Fs)(e,ee(r,t))},_=function(e,r){return(0,s.Fs)(e,re(r))},b=function(e,r){return(0,s.Fs)(e,ne(r))},T=function(e,r){return(0,s.Fs)(e,ae(r))},O=function(e,r){return function(e,r){for(var t=r(e);"Left"===t._tag;)t=r(t.left);return t.right}(r(e),(function(e){return fe(e)?p(I(e.left)):fe(e.right)?I(r(e.right.left)):p(p(e.right.right))}))},k="Either",A=function(e,r){return{show:function(t){return fe(t)?"left(".concat(e.show(t.left),")"):"right(".concat(r.show(t.right),")")}}},q=function(e,r){return{equals:function(t,i){return t===i||(fe(t)?fe(i)&&e.equals(t.left,i.left):me(i)&&r.equals(t.right,i.right))}}},V=function(e){return{concat:function(r,t){return fe(t)?r:fe(r)?t:p(e.concat(r.right,t.right))}}},E=function(e){var r=I(e.empty);return{URI:k,_E:void 0,compact:function(e){return fe(e)?e:"None"===e.right._tag?r:p(e.right.value)},separate:function(e){return fe(e)?(0,d.Ci)(e,e):fe(e.right)?(0,d.Ci)(p(e.right.left),r):(0,d.Ci)(r,p(e.right.right))}}},x=function(e){var r=I(e.empty),t=E(e),i=t.compact,n=t.separate;return{URI:k,_E:void 0,map:m,compact:i,separate:n,filter:function(e,t){return fe(e)||t(e.right)?e:r},filterMap:function(e,t){if(fe(e))return e;var i=t(e.right);return"None"===i._tag?r:p(i.value)},partition:function(e,t){return fe(e)?(0,d.Ci)(e,e):t(e.right)?(0,d.Ci)(r,p(e.right)):(0,d.Ci)(p(e.right),r)},partitionMap:function(e,t){if(fe(e))return(0,d.Ci)(e,e);var i=t(e.right);return fe(i)?(0,d.Ci)(p(i.left),r):(0,d.Ci)(r,p(i.right))}}},R=function(e){var r=x(e),t=E(e);return{URI:k,_E:void 0,map:m,compact:r.compact,separate:r.separate,filter:r.filter,filterMap:r.filterMap,partition:r.partition,partitionMap:r.partitionMap,traverse:w,sequence:Y,reduce:g,foldMap:v,reduceRight:y,wither:(0,l.nG)(X,t),wilt:(0,l.ez)(X,t)}},$=function(e){return{URI:k,_E:void 0,map:m,ap:function(r,t){return fe(r)?fe(t)?I(e.concat(r.left,t.left)):r:fe(t)?t:p(r.right(t.right))},of:L}},Q=function(e){return{URI:k,_E:void 0,map:m,alt:function(r,t){if(me(r))return r;var i=t();return fe(i)?I(e.concat(r.left,i.left)):i}}},N=function(e){return function(r){return fe(r)?r:p(e(r.right))}},C={URI:k,map:m},F=(0,s.XY)(2,(0,u.as)(C)),z=(0,u.Pg)(C),L=p,M={URI:k,of:L},P=function(e){return function(r){return fe(r)?r:fe(e)?e:p(r.right(e.right))}},j=P,Z={URI:k,map:m,ap:h},U={URI:k,map:m,ap:h,of:L},D={URI:k,map:m,ap:h,chain:f},W={URI:k,map:m,ap:h,of:L,chain:f},K=function(e,r){return function(t){return fe(t)?e:r(e,t.right)}},B=function(e){return function(r){return function(t){return fe(t)?e.empty:r(t.right)}}},G=function(e,r){return function(t){return fe(t)?e:r(t.right,e)}},J={URI:k,reduce:g,foldMap:v,reduceRight:y},H=function(e){return function(r){return function(t){return fe(t)?e.of(I(t.left)):e.map(r(t.right),p)}}},Y=function(e){return function(r){return fe(r)?e.of(I(r.left)):e.map(r.right,p)}},X={URI:k,map:m,reduce:g,foldMap:v,reduceRight:y,traverse:w,sequence:Y},ee=function(e,r){return function(t){return fe(t)?I(e(t.left)):p(r(t.right))}},re=function(e){return function(r){return fe(r)?I(e(r.left)):r}},te={URI:k,bimap:S,mapLeft:_},ie=function(e){return function(r){return fe(r)?e():r}},ne=ie,oe={URI:k,map:m,alt:b},ae=function(e){return function(r){return fe(r)?r:p(e(r))}},se={URI:k,map:m,extend:T},ue={URI:k,map:m,ap:h,chain:f,chainRec:O},ce=I,de={URI:k,map:m,ap:h,of:L,chain:f,throwError:ce},le={URI:k,fromEither:s.D_},Ie=(0,a.aN)(le),pe=(0,a.sV)(le),fe=c.OC,me=c.FG,he=function(e,r){return function(t){return fe(t)?e(t.left):r(t.right)}},ge=he,ve=he,ye=ve,we=function(e){return function(r){return fe(r)?e(r.left):r.right}},Se=we,_e=(0,u.Cn)(C),be=(0,n.oW)(Z),Te=be,Oe=(0,n.g$)(Z),ke=Oe,Ae=(0,s.XY)(2,o.Mi(D)),qe=f(s.D_),Ve=qe,Ee=ae(s.D_),xe=(0,a.Fe)(le),Re=(0,a.oR)(le,D),$e=Re,Qe={fromEither:le.fromEither},Ne=c.rV(Qe),Ce=c.PP(Qe),Fe={flatMap:f},ze=c.v9(Qe,Fe),Le=c.lk(Qe,Fe),Me=(0,a.Pm)(le,D),Pe=Me,je=function(e){return fe(e)?p(e.left):I(e.right)},Ze=function(e){return function(r){return fe(r)?e(r.left):r}},Ue=Ze,De=function(e){return function(r){return null==r?I(e):p(r)}},We=function(e,r){try{return p(e())}catch(e){return I(r(e))}},Ke=function(e,r){return function(){for(var t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];return We((function(){return e.apply(void 0,t)}),r)}},Be=function(e){var r=De(e);return function(e){return(0,s.L3)(e,r)}},Ge=function(e){var r=Be(e);return function(e){return f(r(e))}},Je=ge(s.D_,s.D_);function He(e){return e instanceof Error?e:new Error(String(e))}function Ye(e){return function(r,t){if(void 0===t){var i=Ye(e);return function(e){return i(r,e)}}return!fe(t)&&e.equals(r,t.right)}}var Xe=function(e){return function(r){return!fe(r)&&e(r.right)}},er=L(c.FR),rr=(0,u.Jr)(C),tr=(0,u.uV)(C),ir=o.oI(D),nr=ir,or=(0,n.TZ)(Z),ar=or,sr=L(c.rb),ur=function(e){return function(r){var t=e(0,c.d5(r));if(fe(t))return t;for(var i=[t.right],n=1;n<r.length;n++){var o=e(n,r[n]);if(fe(o))return o;i.push(o.right)}return p(i)}},cr=function(e){var r=ur(e);return function(e){return c.J_(e)?r(e):sr}},dr=cr,lr=function(e){return cr((function(r,t){return e(t)}))},Ir=lr(s.D_),pr=f,fr=f,mr=Ae,hr=Ae;function gr(e,r){return We((function(){return JSON.parse(e)}),r)}var vr=function(e,r){return We((function(){var r=JSON.stringify(e);if("string"!=typeof r)throw new Error("Converting unsupported structure to JSON");return r}),r)},yr={URI:k,map:m,of:L,ap:h,chain:f,reduce:g,foldMap:v,reduceRight:y,traverse:w,sequence:Y,bimap:S,mapLeft:_,alt:b,extend:T,chainRec:O,throwError:ce},wr=(0,n.UA)(Z),Sr=(0,i.v)(U),_r=function(e,r){return(0,n.UA)($(e))(r)},br=function(e,r){return(0,i.v)($(e))(r)};function Tr(e){var r=$(e).ap,t=Q(e).alt;return{URI:k,_E:void 0,map:m,of:L,chain:f,bimap:S,mapLeft:_,reduce:g,foldMap:v,reduceRight:y,extend:T,traverse:w,sequence:Y,chainRec:O,throwError:ce,ap:r,alt:t}}},253:(e,r,t)=>{"use strict";t.d(r,{ee:()=>i,w_:()=>n}),t(5103);var i=function(e){return{equals:function(r,t){return r===t||e(r,t)}}},n={equals:function(e,r){return e===r}};n.equals},4298:(e,r,t)=>{"use strict";t.d(r,{Fe:()=>u,Ny:()=>d,Pm:()=>I,Q5:()=>l,aN:()=>s,j_:()=>p,oR:()=>c,sV:()=>a});var i=t(666),n=t(5103),o=t(9930);function a(e){return function(r){return function(t){return e.fromEither(o.$I(t)?o.kb(r()):o.pG(t.value))}}}function s(e){return function(r,t){return function(i){return e.fromEither(r(i)?o.pG(i):o.kb(t(i)))}}}function u(e){var r=a(e);return function(e){var t=r(e);return function(e){return(0,n.L3)(e,t)}}}function c(e,r){var t=u(e);return function(e){var i=t(e);return function(e){return function(t){return r.chain(t,i(e))}}}}function d(e){return function(r){return(0,n.L3)(r,e.fromEither)}}function l(e,r){var t=d(e);return function(e){return function(i){return r.chain(i,t(e))}}}function I(e,r){return function(t,i){return function(n){return r.chain(n,(function(r){return e.fromEither(t(r)?o.pG(r):o.kb(i(r)))}))}}}function p(e,r){var t=d(e),n=(0,i.Mi)(r);return function(e,r){return n(e,t(r))}}},3304:(e,r,t)=>{"use strict";function i(e){return function(r){return function(t){return e.map(t,(function(e){return e(r)}))}}}function n(e){return function(r){return function(t){return e.map(t,(function(e){var t;return(t={})[r]=e,t}))}}}function o(e){return function(r,t){return function(i){return e.map(i,(function(e){var i;return Object.assign({},e,((i={})[r]=t(e),i))}))}}}function a(e){return function(r,t){return e.map(r,(function(){return t}))}}function s(e){var r=a(e);return function(e){return r(e,void 0)}}t.d(r,{Cn:()=>i,Jr:()=>n,Pg:()=>s,as:()=>a,uV:()=>o})},8782:(e,r,t)=>{"use strict";t.r(r),t.d(r,{Alt:()=>Be,Applicative:()=>Me,Apply:()=>Fe,Chain:()=>Pe,Comonad:()=>Ge,Do:()=>Je,Foldable:()=>Ue,FoldableWithIndex:()=>De,Functor:()=>$e,FunctorWithIndex:()=>Ce,Monad:()=>Ze,Pointed:()=>Ne,Traversable:()=>We,TraversableWithIndex:()=>Ke,URI:()=>qe,alt:()=>Ie,altW:()=>le,ap:()=>pe,apFirst:()=>ze,apS:()=>er,apSecond:()=>Le,append:()=>h,appendW:()=>m,bind:()=>Xe,bindTo:()=>He,chain:()=>mr,chainFirst:()=>je,chainWithIndex:()=>B,chop:()=>G,chunksOf:()=>H,concat:()=>x,concatAll:()=>sr,concatW:()=>E,cons:()=>Sr,copy:()=>L,duplicate:()=>he,extend:()=>me,extract:()=>Ae,filter:()=>gr,filterWithIndex:()=>vr,flap:()=>Qe,flatMap:()=>fe,flatten:()=>ge,fold:()=>Tr,foldMap:()=>K,foldMapWithIndex:()=>W,fromArray:()=>T,fromReadonlyNonEmptyArray:()=>b,getEq:()=>xe,getSemigroup:()=>Ee,getShow:()=>Ve,getUnionSemigroup:()=>Re,group:()=>$,groupBy:()=>Q,groupSort:()=>hr,head:()=>rr,init:()=>nr,insertAt:()=>C,intercalate:()=>fr,intersperse:()=>D,isNonEmpty:()=>l,isOutOfBound:()=>I,last:()=>ir,let:()=>Ye,makeBy:()=>O,map:()=>ve,mapWithIndex:()=>ye,matchLeft:()=>ur,matchRight:()=>cr,max:()=>ar,min:()=>or,modifyAt:()=>z,modifyHead:()=>dr,modifyLast:()=>Ir,nonEmptyArray:()=>Or,of:()=>M,prepend:()=>f,prependAll:()=>U,prependToAll:()=>br,prependW:()=>p,range:()=>A,reduce:()=>we,reduceRight:()=>_e,reduceRightWithIndex:()=>be,reduceWithIndex:()=>Se,replicate:()=>k,reverse:()=>R,rotate:()=>_,sequence:()=>Oe,snoc:()=>_r,sort:()=>N,sortBy:()=>w,splitAt:()=>J,tail:()=>tr,traverse:()=>Te,traverseWithIndex:()=>ke,unappend:()=>V,uncons:()=>yr,union:()=>S,uniq:()=>y,unprepend:()=>q,unsafeInsertAt:()=>g,unsafeUpdateAt:()=>v,unsnoc:()=>wr,unzip:()=>Z,updateAt:()=>F,updateHead:()=>lr,updateLast:()=>pr,zip:()=>j,zipWith:()=>P});var i=t(1555),n=t(666),o=t(5103),a=t(3304),s=t(9930),u=t(5232),c=t(8288),d=function(e,r,t){if(t||2===arguments.length)for(var i,n=0,o=r.length;n<o;n++)!i&&n in r||(i||(i=Array.prototype.slice.call(r,0,n)),i[n]=r[n]);return e.concat(i||Array.prototype.slice.call(r))},l=function(e){return e.length>0},I=function(e,r){return e<0||e>=r.length},p=function(e){return function(r){return d([e],r,!0)}},f=p,m=function(e){return function(r){return d(d([],r,!0),[e],!1)}},h=m,g=function(e,r,t){if(l(t)){var i=b(t);return i.splice(e,0,r),i}return[r]},v=function(e,r,t){var i=b(t);return i[e]=r,i},y=function(e){return function(r){if(1===r.length)return L(r);for(var t=[rr(r)],i=function(r){t.every((function(t){return!e.equals(t,r)}))&&t.push(r)},n=0,o=tr(r);n<o.length;n++)i(o[n]);return t}},w=function(e){if(l(e)){var r=(0,u.JI)();return N(e.reduce(r.concat,r.empty))}return L},S=function(e){var r=y(e);return function(e){return function(t){return r((0,o.Fs)(t,x(e)))}}},_=function(e){return function(r){var t=r.length,i=Math.round(e)%t;if(I(Math.abs(i),r)||0===i)return L(r);if(i<0){var n=J(-i)(r),a=n[0],s=n[1];return(0,o.Fs)(s,x(a))}return _(i-t)(r)}},b=s.aO,T=function(e){return l(e)?s.zN(e):s.dv},O=function(e){return function(r){for(var t=Math.max(0,Math.floor(r)),i=[e(0)],n=1;n<t;n++)i.push(e(n));return i}},k=function(e){return O((function(){return e}))},A=function(e,r){return e<=r?O((function(r){return e+r}))(r-e+1):[e]},q=function(e){return[rr(e),tr(e)]},V=function(e){return[nr(e),ir(e)]};function E(e){return function(r){return r.concat(e)}}function x(e,r){return r?e.concat(r):function(r){return r.concat(e)}}var R=function(e){return d([ir(e)],e.slice(0,-1).reverse(),!0)};function $(e){return function(r){var t=r.length;if(0===t)return[];for(var i=[],n=r[0],o=[n],a=1;a<t;a++){var s=r[a];e.equals(s,n)?o.push(s):(i.push(o),o=[n=s])}return i.push(o),i}}var Q=function(e){return function(r){for(var t={},i=0,n=r;i<n.length;i++){var o=n[i],a=e(o);s.zy.call(t,a)?t[a].push(o):t[a]=[o]}return t}},N=function(e){return function(r){return r.slice().sort(e.compare)}},C=function(e,r){return function(t){return e<0||e>t.length?s.dv:s.zN(g(e,r,t))}},F=function(e,r){return z(e,(function(){return r}))},z=function(e,r){return function(t){return I(e,t)?s.dv:s.zN(v(e,r(t[e]),t))}},L=b,M=function(e){return[e]},P=function(e,r,t){for(var i=[t(e[0],r[0])],n=Math.min(e.length,r.length),o=1;o<n;o++)i[o]=t(e[o],r[o]);return i};function j(e,r){return void 0===r?function(r){return j(r,e)}:P(e,r,(function(e,r){return[e,r]}))}var Z=function(e){for(var r=[e[0][0]],t=[e[0][1]],i=1;i<e.length;i++)r[i]=e[i][0],t[i]=e[i][1];return[r,t]},U=function(e){return function(r){for(var t=[e,r[0]],i=1;i<r.length;i++)t.push(e,r[i]);return t}},D=function(e){return function(r){var t=tr(r);return l(t)?(0,o.Fs)(t,U(e),f(rr(r))):L(r)}},W=c.yO,K=c.ue,B=function(e){return function(r){for(var t=b(e(0,rr(r))),i=1;i<r.length;i++)t.push.apply(t,e(i,r[i]));return t}},G=function(e){return function(r){for(var t=e(r),i=[t[0]],n=t[1];l(n);){var o=e(n),a=o[0],s=o[1];i.push(a),n=s}return i}},J=function(e){return function(r){var t=Math.max(1,e);return t>=r.length?[L(r),[]]:[(0,o.Fs)(r.slice(1,t),f(rr(r))),r.slice(t)]}},H=function(e){return G(J(e))},Y=function(e,r){return(0,o.Fs)(e,ve(r))},X=function(e,r){return(0,o.Fs)(e,ye(r))},ee=function(e,r){return(0,o.Fs)(e,pe(r))},re=function(e,r){return(0,o.Fs)(e,me(r))},te=function(e,r,t){return(0,o.Fs)(e,we(r,t))},ie=function(e){var r=K(e);return function(e,t){return(0,o.Fs)(e,r(t))}},ne=function(e,r,t){return(0,o.Fs)(e,_e(r,t))},oe=function(e){var r=Te(e);return function(e,t){return(0,o.Fs)(e,r(t))}},ae=function(e,r){return(0,o.Fs)(e,Ie(r))},se=function(e,r,t){return(0,o.Fs)(e,Se(r,t))},ue=function(e){var r=W(e);return function(e,t){return(0,o.Fs)(e,r(t))}},ce=function(e,r,t){return(0,o.Fs)(e,be(r,t))},de=function(e){var r=ke(e);return function(e,t){return(0,o.Fs)(e,r(t))}},le=function(e){return function(r){return(0,o.Fs)(r,E(e()))}},Ie=le,pe=function(e){return fe((function(r){return(0,o.Fs)(e,ve(r))}))},fe=(0,o.XY)(2,(function(e,r){return(0,o.Fs)(e,B((function(e,t){return r(t,e)})))})),me=function(e){return function(r){for(var t=tr(r),i=[e(r)];l(t);)i.push(e(t)),t=tr(t);return i}},he=me(o.D_),ge=fe(o.D_),ve=function(e){return ye((function(r,t){return e(t)}))},ye=function(e){return function(r){for(var t=[e(0,rr(r))],i=1;i<r.length;i++)t.push(e(i,r[i]));return t}},we=c.TS,Se=c.RE,_e=c.XK,be=c.$v,Te=function(e){var r=ke(e);return function(e){return r((function(r,t){return e(t)}))}},Oe=function(e){return ke(e)((function(e,r){return r}))},ke=function(e){return function(r){return function(t){for(var i=e.map(r(0,rr(t)),M),n=1;n<t.length;n++)i=e.ap(e.map(i,(function(e){return function(r){return(0,o.Fs)(e,h(r))}})),r(n,t[n]));return i}}},Ae=c.d5,qe="NonEmptyArray",Ve=c.cs,Ee=function(){return{concat:x}},xe=c.nZ,Re=function(e){var r=S(e);return{concat:function(e,t){return r(t)(e)}}},$e={URI:qe,map:Y},Qe=(0,a.Cn)($e),Ne={URI:qe,of:M},Ce={URI:qe,map:Y,mapWithIndex:X},Fe={URI:qe,map:Y,ap:ee},ze=(0,i.oW)(Fe),Le=(0,i.g$)(Fe),Me={URI:qe,map:Y,ap:ee,of:M},Pe={URI:qe,map:Y,ap:ee,chain:fe},je=(0,n.W6)(Pe),Ze={URI:qe,map:Y,ap:ee,of:M,chain:fe},Ue={URI:qe,reduce:te,foldMap:ie,reduceRight:ne},De={URI:qe,reduce:te,foldMap:ie,reduceRight:ne,reduceWithIndex:se,foldMapWithIndex:ue,reduceRightWithIndex:ce},We={URI:qe,map:Y,reduce:te,foldMap:ie,reduceRight:ne,traverse:oe,sequence:Oe},Ke={URI:qe,map:Y,mapWithIndex:X,reduce:te,foldMap:ie,reduceRight:ne,traverse:oe,sequence:Oe,reduceWithIndex:se,foldMapWithIndex:ue,reduceRightWithIndex:ce,traverseWithIndex:de},Be={URI:qe,map:Y,alt:ae},Ge={URI:qe,map:Y,extend:re,extract:Ae},Je=M(s.FR),He=(0,a.Jr)($e),Ye=(0,a.uV)($e),Xe=(0,n.oI)(Pe),er=(0,i.TZ)(Fe),rr=c.d5,tr=function(e){return e.slice(1)},ir=c.HV,nr=function(e){return e.slice(0,-1)},or=c.jk,ar=c.T9,sr=function(e){return function(r){return r.reduce(e.concat)}},ur=function(e){return function(r){return e(rr(r),tr(r))}},cr=function(e){return function(r){return e(nr(r),ir(r))}},dr=function(e){return function(r){return d([e(rr(r))],tr(r),!0)}},lr=function(e){return dr((function(){return e}))},Ir=function(e){return function(r){return(0,o.Fs)(nr(r),h(e(ir(r))))}},pr=function(e){return Ir((function(){return e}))},fr=c.$X,mr=fe;function hr(e){var r=N(e),t=$(e);return function(e){return l(e)?t(r(e)):[]}}function gr(e){return vr((function(r,t){return e(t)}))}var vr=function(e){return function(r){return T(r.filter((function(r,t){return e(t,r)})))}},yr=q,wr=V;function Sr(e,r){return void 0===r?f(e):(0,o.Fs)(r,f(e))}var _r=function(e,r){return(0,o.Fs)(e,h(r))},br=U,Tr=c.KO,Or={URI:qe,of:M,map:Y,mapWithIndex:X,ap:ee,chain:fe,extend:re,extract:Ae,reduce:te,foldMap:ie,reduceRight:ne,traverse:oe,sequence:Oe,reduceWithIndex:se,foldMapWithIndex:ue,reduceRightWithIndex:ce,traverseWithIndex:de,alt:ae}},7531:(e,r,t)=>{"use strict";t.r(r),t.d(r,{Alt:()=>re,Alternative:()=>oe,ApT:()=>sr,Applicative:()=>U,Apply:()=>Z,Chain:()=>W,Compactable:()=>le,Do:()=>tr,Extend:()=>se,Filterable:()=>he,Foldable:()=>H,FromEither:()=>qe,Functor:()=>F,Monad:()=>K,MonadThrow:()=>ke,Pointed:()=>P,Traversable:()=>ye,URI:()=>x,Witherable:()=>Te,Zero:()=>ie,alt:()=>ee,altW:()=>X,ap:()=>j,apFirst:()=>ze,apS:()=>ar,apSecond:()=>Le,as:()=>z,asUnit:()=>L,bind:()=>or,bindTo:()=>ir,chain:()=>pr,chainEitherK:()=>De,chainFirst:()=>fr,chainFirstEitherK:()=>We,chainNullableK:()=>He,compact:()=>ue,duplicate:()=>Ze,elem:()=>er,exists:()=>rr,extend:()=>ae,filter:()=>Ie,filterMap:()=>pe,flap:()=>Fe,flatMap:()=>D,flatten:()=>Me,fold:()=>Qe,foldMap:()=>G,foldW:()=>Re,fromEither:()=>Ae,fromEitherK:()=>Ue,fromNullable:()=>Ke,fromNullableK:()=>Je,fromPredicate:()=>h,getApplyMonoid:()=>yr,getApplySemigroup:()=>vr,getEq:()=>$,getFirstMonoid:()=>wr,getLastMonoid:()=>Sr,getLeft:()=>g,getMonoid:()=>N,getOrElse:()=>Ce,getOrElseW:()=>Ne,getOrd:()=>Q,getRefinement:()=>mr,getRight:()=>v,getShow:()=>R,guard:()=>ne,isNone:()=>Ee,isSome:()=>Ve,let:()=>nr,map:()=>C,mapNullable:()=>hr,match:()=>$e,matchW:()=>xe,none:()=>f,of:()=>M,option:()=>gr,orElse:()=>Y,partition:()=>fe,partitionMap:()=>me,reduce:()=>B,reduceRight:()=>J,separate:()=>de,sequence:()=>ve,sequenceArray:()=>Ir,some:()=>m,tap:()=>Pe,tapEither:()=>je,throwError:()=>Oe,toNullable:()=>Ye,toUndefined:()=>Xe,traverse:()=>ge,traverseArray:()=>lr,traverseArrayWithIndex:()=>dr,traverseReadonlyArrayWithIndex:()=>cr,traverseReadonlyNonEmptyArrayWithIndex:()=>ur,tryCatch:()=>Be,tryCatchK:()=>Ge,wilt:()=>be,wither:()=>_e,zero:()=>te});var i=t(5289),n=t(1555),o=t(666),a=t(4298),s=t(5103),u=t(3304),c=t(9930),d=t(3282),l=t(2224),I=t(1216),p=t(1965),f=c.dv,m=c.zN;function h(e){return function(r){return e(r)?m(r):f}}var g=function(e){return"Right"===e._tag?f:m(e.left)},v=function(e){return"Left"===e._tag?f:m(e.right)},y=function(e,r){return(0,s.Fs)(e,C(r))},w=function(e,r){return(0,s.Fs)(e,j(r))},S=function(e,r,t){return(0,s.Fs)(e,B(r,t))},_=function(e){var r=G(e);return function(e,t){return(0,s.Fs)(e,r(t))}},b=function(e,r,t){return(0,s.Fs)(e,J(r,t))},T=function(e){var r=ge(e);return function(e,t){return(0,s.Fs)(e,r(t))}},O=function(e,r){return(0,s.Fs)(e,ee(r))},k=function(e,r){return(0,s.Fs)(e,Ie(r))},A=function(e,r){return(0,s.Fs)(e,pe(r))},q=function(e,r){return(0,s.Fs)(e,ae(r))},V=function(e,r){return(0,s.Fs)(e,fe(r))},E=function(e,r){return(0,s.Fs)(e,me(r))},x="Option",R=function(e){return{show:function(r){return Ee(r)?"none":"some(".concat(e.show(r.value),")")}}},$=function(e){return{equals:function(r,t){return r===t||(Ee(r)?Ee(t):!Ee(t)&&e.equals(r.value,t.value))}}},Q=function(e){return{equals:$(e).equals,compare:function(r,t){return r===t?0:Ve(r)?Ve(t)?e.compare(r.value,t.value):1:-1}}},N=function(e){return{concat:function(r,t){return Ee(r)?t:Ee(t)?r:m(e.concat(r.value,t.value))},empty:f}},C=function(e){return function(r){return Ee(r)?f:m(e(r.value))}},F={URI:x,map:y},z=(0,s.XY)(2,(0,u.as)(F)),L=(0,u.Pg)(F),M=m,P={URI:x,of:M},j=function(e){return function(r){return Ee(r)||Ee(e)?f:m(r.value(e.value))}},Z={URI:x,map:y,ap:w},U={URI:x,map:y,ap:w,of:M},D=(0,s.XY)(2,(function(e,r){return Ee(e)?f:r(e.value)})),W={URI:x,map:y,ap:w,chain:D},K={URI:x,map:y,ap:w,of:M,chain:D},B=function(e,r){return function(t){return Ee(t)?e:r(e,t.value)}},G=function(e){return function(r){return function(t){return Ee(t)?e.empty:r(t.value)}}},J=function(e,r){return function(t){return Ee(t)?e:r(t.value,e)}},H={URI:x,reduce:S,foldMap:_,reduceRight:b},Y=(0,s.XY)(2,(function(e,r){return Ee(e)?r():e})),X=Y,ee=Y,re={URI:x,map:y,alt:O},te=function(){return f},ie={URI:x,zero:te},ne=(0,p.a)(ie,P),oe={URI:x,map:y,ap:w,of:M,alt:O,zero:te},ae=function(e){return function(r){return Ee(r)?f:m(e(r))}},se={URI:x,map:y,extend:q},ue=D(s.D_),ce=(0,l.Ci)(f,f),de=function(e){return Ee(e)?ce:(0,l.Ci)(g(e.value),v(e.value))},le={URI:x,compact:ue,separate:de},Ie=function(e){return function(r){return Ee(r)?f:e(r.value)?r:f}},pe=function(e){return function(r){return Ee(r)?f:e(r.value)}},fe=function(e){return function(r){return(0,l.Ci)(k(r,function(e){return function(r){return!e(r)}}(e)),k(r,e))}},me=function(e){return(0,s.L3)(C(e),de)},he={URI:x,map:y,compact:ue,separate:de,filter:k,filterMap:A,partition:V,partitionMap:E},ge=function(e){return function(r){return function(t){return Ee(t)?e.of(f):e.map(r(t.value),m)}}},ve=function(e){return function(r){return Ee(r)?e.of(f):e.map(r.value,m)}},ye={URI:x,map:y,reduce:S,foldMap:_,reduceRight:b,traverse:T,sequence:ve},we=(0,I.nG)(ye,le),Se=(0,I.ez)(ye,le),_e=function(e){var r=we(e);return function(e){return function(t){return r(t,e)}}},be=function(e){var r=Se(e);return function(e){return function(t){return r(t,e)}}},Te={URI:x,map:y,reduce:S,foldMap:_,reduceRight:b,traverse:T,sequence:ve,compact:ue,separate:de,filter:k,filterMap:A,partition:V,partitionMap:E,wither:we,wilt:Se},Oe=function(){return f},ke={URI:x,map:y,ap:w,of:M,chain:D,throwError:Oe},Ae=v,qe={URI:x,fromEither:Ae},Ve=c.Ru,Ee=function(e){return"None"===e._tag},xe=function(e,r){return function(t){return Ee(t)?e():r(t.value)}},Re=xe,$e=xe,Qe=$e,Ne=function(e){return function(r){return Ee(r)?e():r.value}},Ce=Ne,Fe=(0,u.Cn)(F),ze=(0,n.oW)(Z),Le=(0,n.g$)(Z),Me=ue,Pe=(0,s.XY)(2,o.Mi(W)),je=(0,s.XY)(2,(0,a.j_)(qe,W)),Ze=ae(s.D_),Ue=(0,a.Ny)(qe),De=(0,a.Q5)(qe,W),We=je,Ke=function(e){return null==e?f:m(e)},Be=function(e){try{return m(e())}catch(e){return f}},Ge=function(e){return function(){for(var r=[],t=0;t<arguments.length;t++)r[t]=arguments[t];return Be((function(){return e.apply(void 0,r)}))}},Je=function(e){return(0,s.L3)(e,Ke)},He=function(e){return function(r){return Ee(r)?f:Ke(e(r.value))}},Ye=$e(s.XR,s.D_),Xe=$e(s.MN,s.D_);function er(e){return function(r,t){if(void 0===t){var i=er(e);return function(e){return i(r,e)}}return!Ee(t)&&e.equals(r,t.value)}}var rr=function(e){return function(r){return!Ee(r)&&e(r.value)}},tr=M(c.FR),ir=(0,u.Jr)(F),nr=(0,u.uV)(F),or=o.oI(W),ar=(0,n.TZ)(Z),sr=M(c.rb),ur=function(e){return function(r){var t=e(0,c.d5(r));if(Ee(t))return f;for(var i=[t.value],n=1;n<r.length;n++){var o=e(n,r[n]);if(Ee(o))return f;i.push(o.value)}return m(i)}},cr=function(e){var r=ur(e);return function(e){return c.J_(e)?r(e):sr}},dr=cr,lr=function(e){return cr((function(r,t){return e(t)}))},Ir=lr(s.D_),pr=D,fr=Pe;function mr(e){return function(r){return Ve(e(r))}}var hr=He,gr={URI:x,map:y,of:M,ap:w,chain:D,reduce:S,foldMap:_,reduceRight:b,traverse:T,sequence:ve,zero:te,alt:O,extend:q,compact:ue,separate:de,filter:k,filterMap:A,partition:V,partitionMap:E,wither:we,wilt:Se,throwError:Oe},vr=(0,n.UA)(Z),yr=(0,i.v)(U),wr=function(){return N((0,d.$1)())},Sr=function(){return N((0,d.HV)())}},5232:(e,r,t)=>{"use strict";t.d(r,{I3:()=>a,JI:()=>s,T9:()=>c,jk:()=>u});var i=t(253),n=t(5103),o=function(e){return function(r,t){return r===t||0===e(r,t)}},a=function(e){return{equals:o(e),compare:function(r,t){return r===t?0:e(r,t)}}},s=function(){return{concat:function(e,r){return a((function(t,i){var n=e.compare(t,i);return 0!==n?n:r.compare(t,i)}))},empty:a((function(){return 0}))}},u=(n.ue,function(e){return function(r,t){return r===t||e.compare(r,t)<1?r:t}}),c=function(e){return function(r,t){return r===t||e.compare(r,t)>-1?r:t}};i.w_.equals},8288:(e,r,t)=>{"use strict";t.d(r,{$X:()=>$,$v:()=>b,Ak:()=>p,BC:()=>f,Cs:()=>l,HV:()=>V,Hs:()=>I,Ie:()=>u,J_:()=>c,KO:()=>R,Kv:()=>N,RE:()=>S,T9:()=>x,TS:()=>v,XK:()=>w,cs:()=>O,d5:()=>A,jK:()=>m,jk:()=>E,kI:()=>d,nZ:()=>k,of:()=>g,qu:()=>Q,ue:()=>y,y1:()=>h,yO:()=>_});var i=t(253),n=t(5103),o=t(9930),a=t(3282),s=function(e,r,t){if(t||2===arguments.length)for(var i,n=0,o=r.length;n<o;n++)!i&&n in r||(i||(i=Array.prototype.slice.call(r,0,n)),i[n]=r[n]);return e.concat(i||Array.prototype.slice.call(r))},u=o.rb,c=o.J_,d=function(e,r){return e<0||e>=r.length},l=function(e){return function(r){return s([e],r,!0)}},I=l,p=function(e){return function(r){return s(s([],r,!0),[e],!1)}},f=p,m=function(e,r,t){if(c(t)){var i=o.aO(t);return i.splice(e,0,r),i}return[r]},h=function(e,r){return e<=r?(t=function(r){return e+r},function(e){for(var r=Math.max(0,Math.floor(e)),i=[t(0)],n=1;n<r;n++)i.push(t(n));return i})(r-e+1):[e];var t};var g=o.Gr,v=function(e,r){return S(e,(function(e,t,i){return r(t,i)}))},y=function(e){return function(r){return function(t){return t.slice(1).reduce((function(t,i){return e.concat(t,r(i))}),r(t[0]))}}},w=function(e,r){return b(e,(function(e,t,i){return r(t,i)}))},S=function(e,r){return function(t){return t.reduce((function(e,t,i){return r(i,e,t)}),e)}},_=function(e){return function(r){return function(t){return t.slice(1).reduce((function(t,i,n){return e.concat(t,r(n+1,i))}),r(0,t[0]))}}},b=function(e,r){return function(t){return t.reduceRight((function(e,t,i){return r(i,t,e)}),e)}},T=o.d5,O=function(e){return{show:function(r){return"[".concat(r.map(e.show).join(", "),"]")}}},k=function(e){return(0,i.ee)((function(r,t){return r.length===t.length&&r.every((function(r,i){return e.equals(r,t[i])}))}))},A=(o.FR,T),q=o.RT,V=function(e){return e[e.length-1]},E=function(e){var r=a.jk(e);return function(e){return e.reduce(r.concat)}},x=function(e){var r=a.T9(e);return function(e){return e.reduce(r.concat)}},R=function(e){return function(r){return r.reduce(e.concat)}},$=function(e){var r=R(e);return function(e){return(0,n.L3)(function(e){return function(r){var t=q(r);return c(t)?(0,n.Fs)(t,function(e){return function(r){for(var t=[e,r[0]],i=1;i<r.length;i++)t.push(e,r[i]);return t}}(e),I(A(r))):r}}(e),r)}};function Q(e,r){return void 0===r?I(e):(0,n.Fs)(r,I(e))}var N=function(e,r){return(0,n.Fs)(e,(t=[r],i?t.concat(i):function(e){return e.concat(t)}));var t,i}},6158:(e,r,t)=>{"use strict";t.r(r),t.d(r,{Compactable:()=>cr,Filterable:()=>dr,FilterableWithIndex:()=>lr,Foldable:()=>yr,FoldableWithIndex:()=>wr,Functor:()=>nr,FunctorWithIndex:()=>ar,Traversable:()=>Sr,TraversableWithIndex:()=>_r,URI:()=>er,Witherable:()=>Or,collect:()=>U,compact:()=>Ye,deleteAt:()=>G,difference:()=>Oe,elem:()=>_e,empty:()=>kr,every:()=>we,filter:()=>De,filterMap:()=>We,filterMapWithIndex:()=>fe,filterWithIndex:()=>me,flap:()=>or,foldMap:()=>Je,foldMapWithIndex:()=>ne,fromEntries:()=>ve,fromFoldable:()=>he,fromFoldableMap:()=>ye,getDifferenceMagma:()=>vr,getEq:()=>tr,getFoldable:()=>sr,getFoldableWithIndex:()=>ur,getIntersectionSemigroup:()=>gr,getMonoid:()=>ir,getShow:()=>rr,getTraversable:()=>Ir,getTraversableWithIndex:()=>pr,getUnionMonoid:()=>hr,getUnionSemigroup:()=>mr,getWitherable:()=>fr,has:()=>B,hasOwnProperty:()=>qr,insertAt:()=>Ar,intersection:()=>Te,isEmpty:()=>P,isSubrecord:()=>X,keys:()=>Z,lookup:()=>ee,map:()=>te,mapWithIndex:()=>re,modifyAt:()=>H,partition:()=>Ke,partitionMap:()=>Be,partitionMapWithIndex:()=>Ie,partitionWithIndex:()=>pe,pop:()=>Y,record:()=>Vr,reduce:()=>Ge,reduceRight:()=>He,reduceRightWithIndex:()=>oe,reduceWithIndex:()=>ie,separate:()=>Xe,sequence:()=>ce,singleton:()=>ae,size:()=>M,some:()=>Se,toArray:()=>D,toEntries:()=>ge,toUnfoldable:()=>W,traverse:()=>ue,traverseWithIndex:()=>se,union:()=>be,updateAt:()=>J,upsertAt:()=>K,wilt:()=>le,wither:()=>de});var i=t(6863),n=t(5103),o=t(3304),a=t(9930),s=t(253),u=t(2224),c={equals:function(e,r){return e===r},compare:function(e,r){return e<r?-1:e>r?1:0}},d=t(1216),l=function(e){for(var r in e)if(a.zy.call(e,r))return!1;return!0},I=function(e){return function(r){return Object.keys(r).sort(e.compare)}};function p(e){if("function"==typeof e)return p(c)(e);var r=I(e);return function(e){return function(t){for(var i=[],n=0,o=r(t);n<o.length;n++){var a=o[n];i.push(e(a,t[a]))}return i}}}var f=function(e,r){return a.zy.call(r,e)};function m(e){return function(r,t){if(void 0===t){var i=m(e);return function(e){return i(e,r)}}for(var n in r)if(!a.zy.call(t,n)||!e.equals(r[n],t[n]))return!1;return!0}}var h={};function g(e){return function(r){var t={};for(var i in r)a.zy.call(r,i)&&(t[i]=e(i,r[i]));return t}}function v(e){return g((function(r,t){return e(t)}))}function y(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];if(2===e.length)return y(c).apply(void 0,e);var t=I(e[0]);return function(e,r){return function(i){for(var n=e,o=t(i),a=o.length,s=0;s<a;s++){var u=o[s];n=r(u,n,i[u])}return n}}}function w(e){if("compare"in e){var r=I(e);return function(e){return function(t){return function(i){for(var n=e.empty,o=r(i),a=o.length,s=0;s<a;s++){var u=o[s];n=e.concat(n,t(u,i[u]))}return n}}}}return w(c)(e)}function S(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];if(2===e.length)return S(c).apply(void 0,e);var t=I(e[0]);return function(e,r){return function(i){for(var n=e,o=t(i),a=o.length-1;a>=0;a--){var s=o[a];n=r(s,i[s],n)}return n}}}function _(e){return function(r){var t={},i={};for(var n in r)if(a.zy.call(r,n)){var o=e(n,r[n]);switch(o._tag){case"Left":t[n]=o.left;break;case"Right":i[n]=o.right}}return(0,u.Ci)(t,i)}}function b(e){return function(r){var t={},i={};for(var n in r)if(a.zy.call(r,n)){var o=r[n];e(n,o)?i[n]=o:t[n]=o}return(0,u.Ci)(t,i)}}function T(e){return function(r){var t={};for(var i in r)if(a.zy.call(r,i)){var n=e(i,r[i]);a.Ru(n)&&(t[i]=n.value)}return t}}function O(e){return function(r){var t={},i=!1;for(var n in r)if(a.zy.call(r,n)){var o=r[n];e(n,o)?t[n]=o:i=!0}return i?t:r}}function k(e,r){return function(t,i){return r.reduce(t,{},(function(r,t){var n=i(t),o=n[0],s=n[1];return r[o]=a.zy.call(r,o)?e.concat(r[o],s):s,r}))}}var A=function(e){var r=V(e);return function(e){var t=r(e);return function(e,r){return t(e,(0,n.L3)(n.SK,r))}}},q=function(e){var r=A(e);return function(e){var t=r(e);return function(e){return t(e,n.D_)}}},V=function(e){return function(r){var t=I(e);return function(e,i){var n=t(e);if(0===n.length)return r.of(h);for(var o=r.of({}),a=function(t){o=r.ap(r.map(o,(function(e){return function(r){var i;return Object.assign({},e,((i={})[t]=r,i))}})),i(t,e[t]))},s=0,u=n;s<u.length;s++)a(u[s]);return o}}},E=function(e){return O((function(r,t){return e(t)}))},x=function(e){return T((function(r,t){return e(t)}))},R=function(e){return b((function(r,t){return e(t)}))},$=function(e){return _((function(r,t){return e(t)}))};function Q(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];if(1===e.length){var t=y(e[0]);return function(e,r){return t(e,(function(e,t,i){return r(t,i)}))}}return Q(c).apply(void 0,e)}function N(e){if("compare"in e){var r=w(e);return function(e){var t=r(e);return function(e){return t((function(r,t){return e(t)}))}}}return N(c)(e)}function C(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];if(1===e.length){var t=S(e[0]);return function(e,r){return t(e,(function(e,t,i){return r(t,i)}))}}return C(c).apply(void 0,e)}function F(e){return"compare"in e?function(r){return{show:function(t){var i=p(e)((function(e,t){return"".concat(JSON.stringify(e),": ").concat(r.show(t))}))(t).join(", ");return""===i?"{}":"{ ".concat(i," }")}}}:F(c)(e)}var z=t(3282),L=function(){return L=Object.assign||function(e){for(var r,t=1,i=arguments.length;t<i;t++)for(var n in r=arguments[t])Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n]);return e},L.apply(this,arguments)},M=function(e){return Object.keys(e).length},P=l,j=function(e){return function(r){return Object.keys(r).sort(e.compare)}},Z=j(c);function U(e){if("function"==typeof e)return U(c)(e);var r=j(e);return function(e){return function(t){for(var i=[],n=0,o=r(t);n<o.length;n++){var a=o[n];i.push(e(a,t[a]))}return i}}}var D=U(c)((function(e,r){return[e,r]}));function W(e){return function(r){var t=D(r),i=t.length;return e.unfold(0,(function(e){return e<i?a.zN([t[e],e+1]):a.dv}))}}var K=function(e,r){return function(t){if(a.zy.call(t,e)&&t[e]===r)return t;var i=Object.assign({},t);return i[e]=r,i}},B=f;function G(e){return function(r){if(!a.zy.call(r,e))return r;var t=Object.assign({},r);return delete t[e],t}}var J=function(e,r){return H(e,(function(){return r}))},H=function(e,r){return function(t){if(!B(e,t))return a.dv;var i=Object.assign({},t);return i[e]=r(t[e]),a.zN(i)}};function Y(e){var r=G(e);return function(t){var i=ee(e,t);return a.$I(i)?a.dv:a.zN([i.value,r(t)])}}var X=m,ee=function e(r,t){return void 0===t?function(t){return e(r,t)}:a.zy.call(t,r)?a.zN(t[r]):a.dv},re=g,te=v;function ie(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];return 1===e.length?y(e[0]):y(c).apply(void 0,e)}function ne(e){return"compare"in e?w(e):w(c)(e)}function oe(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];return 1===e.length?S(e[0]):S(c).apply(void 0,e)}var ae=function(e,r){var t;return(t={})[e]=r,t};function se(e){return function(e){var r=V(c)(e);return function(e){return function(t){return r(t,e)}}}(e)}function ue(e){return function(e){var r=A(c)(e);return function(e){return function(t){return r(t,e)}}}(e)}function ce(e){return function(e){return q(c)(e)}(e)}var de=function(e){var r=ue(e);return function(t){return function(i){return e.map((0,n.Fs)(i,r(t)),Ye)}}},le=function(e){var r=ue(e);return function(t){return function(i){return e.map((0,n.Fs)(i,r(t)),Xe)}}},Ie=_;function pe(e){return b(e)}var fe=T;function me(e){return O(e)}function he(e,r){return function(e,r){var t=k(e,r);return function(e){return t(e,n.D_)}}(e,r)}var ge=D,ve=function(e){return he(z.HV(),i.Foldable)(e)};function ye(e,r){return k(e,r)}var we=function(e){return function(r){for(var t in r)if(!e(r[t]))return!1;return!0}},Se=function(e){return function(r){for(var t in r)if(e(r[t]))return!0;return!1}},_e=function e(r){return function(t,i){if(void 0===i){var n=e(r);return function(e){return n(t,e)}}for(var o in i)if(r.equals(i[o],t))return!0;return!1}},be=function(e){var r=function(e){return function(r){return function(t){if(l(t))return r;if(l(r))return t;var i={};for(var n in t)f(n,r)?i[n]=e.concat(t[n],r[n]):i[n]=t[n];for(var n in r)f(n,i)||(i[n]=r[n]);return i}}}(e);return function(e){return function(t){return P(t)?L({},e):P(e)?L({},t):r(e)(t)}}},Te=function(e){return function(r){return function(t){return P(t)||P(r)?{}:function(e){return function(r){return function(t){if(l(t)||l(r))return h;var i={};for(var n in t)f(n,r)&&(i[n]=e.concat(t[n],r[n]));return i}}}(e)(r)(t)}}},Oe=function(e){return function(r){return P(r)?L({},e):P(e)?L({},r):function(e){return function(r){if(l(r))return e;if(l(e))return r;var t={};for(var i in r)f(i,e)||(t[i]=r[i]);for(var i in e)f(i,r)||(t[i]=e[i]);return t}}(e)(r)}},ke=function(e,r){return(0,n.Fs)(e,v(r))},Ae=function(e,r){return(0,n.Fs)(e,g(r))},qe=function(e){var r=Q(e);return function(e,t,i){return(0,n.Fs)(e,r(t,i))}},Ve=function(e){return function(r){var t=N(e)(r);return function(e,r){return(0,n.Fs)(e,t(r))}}},Ee=function(e){var r=C(e);return function(e,t,i){return(0,n.Fs)(e,r(t,i))}},xe=function(e,r){return(0,n.Fs)(e,E(r))},Re=function(e,r){return(0,n.Fs)(e,x(r))},$e=function(e,r){return(0,n.Fs)(e,R(r))},Qe=function(e,r){return(0,n.Fs)(e,$(r))},Ne=function(e){var r=y(e);return function(e,t,i){return(0,n.Fs)(e,r(t,i))}},Ce=function(e){var r=w(e);return function(e){var t=r(e);return function(e,r){return(0,n.Fs)(e,t(r))}}},Fe=function(e){var r=S(e);return function(e,t,i){return(0,n.Fs)(e,r(t,i))}},ze=function(e,r){return(0,n.Fs)(e,_(r))},Le=function(e,r){return(0,n.Fs)(e,b(r))},Me=function(e,r){return(0,n.Fs)(e,T(r))},Pe=function(e,r){return(0,n.Fs)(e,O(r))},je=A,Ze=q,Ue=function(e){return function(r){var t=j(e);return function(e,i){var n=t(e);if(0===n.length)return r.of({});for(var o=r.of({}),a=function(t){o=r.ap(r.map(o,(function(e){return function(r){return e[t]=r,e}})),i(t,e[t]))},s=0,u=n;s<u.length;s++)a(u[s]);return o}}},De=E,We=x,Ke=R,Be=$;function Ge(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];return 1===e.length?Q(e[0]):Q(c).apply(void 0,e)}function Je(e){return"compare"in e?N(e):N(c)(e)}function He(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];return 1===e.length?C(e[0]):C(c).apply(void 0,e)}var Ye=function(e){var r={};for(var t in e)if(a.zy.call(e,t)){var i=e[t];a.Ru(i)&&(r[t]=i.value)}return r},Xe=function(e){var r={},t={};for(var i in e)if(a.zy.call(e,i)){var n=e[i];a.OC(n)?r[i]=n.left:t[i]=n.right}return(0,u.Ci)(r,t)},er="Record";function rr(e){return"compare"in e?F(e):F(c)(e)}var tr=function(e){var r=m(e);return(0,s.ee)((function(e,t){return r(e)(t)&&r(t)(e)}))},ir=function(e){return{concat:function(r,t){if(l(r))return t;if(l(t))return r;var i=Object.assign({},r);for(var n in t)a.zy.call(t,n)&&(i[n]=a.zy.call(r,n)?e.concat(r[n],t[n]):t[n]);return i},empty:h}},nr={URI:er,map:ke},or=(0,o.Cn)(nr),ar={URI:er,map:ke,mapWithIndex:Ae},sr=function(e){return{URI:er,reduce:qe(e),foldMap:Ve(e),reduceRight:Ee(e)}},ur=function(e){return{URI:er,reduce:qe(e),foldMap:Ve(e),reduceRight:Ee(e),reduceWithIndex:Ne(e),foldMapWithIndex:Ce(e),reduceRightWithIndex:Fe(e)}},cr={URI:er,compact:Ye,separate:Xe},dr={URI:er,map:ke,compact:Ye,separate:Xe,filter:xe,filterMap:Re,partition:$e,partitionMap:Qe},lr={URI:er,map:ke,mapWithIndex:Ae,compact:Ye,separate:Xe,filter:xe,filterMap:Re,partition:$e,partitionMap:Qe,filterMapWithIndex:Me,filterWithIndex:Pe,partitionMapWithIndex:ze,partitionWithIndex:Le},Ir=function(e){return{URI:er,map:ke,reduce:qe(e),foldMap:Ve(e),reduceRight:Ee(e),traverse:je(e),sequence:Ze(e)}},pr=function(e){return{URI:er,map:ke,mapWithIndex:Ae,reduce:qe(e),foldMap:Ve(e),reduceRight:Ee(e),reduceWithIndex:Ne(e),foldMapWithIndex:Ce(e),reduceRightWithIndex:Fe(e),traverse:je(e),sequence:Ze(e),traverseWithIndex:Ue(e)}},fr=function(e){var r=Ir(e);return{URI:er,map:ke,reduce:qe(e),foldMap:Ve(e),reduceRight:Ee(e),traverse:r.traverse,sequence:r.sequence,compact:Ye,separate:Xe,filter:xe,filterMap:Re,partition:$e,partitionMap:Qe,wither:(0,d.nG)(r,cr),wilt:(0,d.ez)(r,cr)}},mr=function(e){var r=be(e);return{concat:function(e,t){return r(t)(e)}}},hr=function(e){return{concat:mr(e).concat,empty:{}}},gr=function(e){var r=Te(e);return{concat:function(e,t){return r(t)(e)}}},vr=function(){return{concat:function(e,r){return Oe(r)(e)}}},yr={URI:er,reduce:qe(c),foldMap:Ve(c),reduceRight:Ee(c)},wr={URI:er,reduce:qe(c),foldMap:Ve(c),reduceRight:Ee(c),reduceWithIndex:Ne(c),foldMapWithIndex:Ce(c),reduceRightWithIndex:Fe(c)},Sr={URI:er,map:ke,reduce:qe(c),foldMap:Ve(c),reduceRight:Ee(c),traverse:je(c),sequence:ce},_r={URI:er,map:ke,mapWithIndex:Ae,reduce:qe(c),foldMap:Ve(c),reduceRight:Ee(c),reduceWithIndex:Ne(c),foldMapWithIndex:Ce(c),reduceRightWithIndex:Fe(c),traverse:je(c),sequence:ce,traverseWithIndex:Ue(c)},br=(0,d.nG)(Sr,cr),Tr=(0,d.ez)(Sr,cr),Or={URI:er,map:ke,reduce:qe(c),foldMap:Ve(c),reduceRight:Ee(c),traverse:je(c),sequence:ce,compact:Ye,separate:Xe,filter:xe,filterMap:Re,partition:$e,partitionMap:Qe,wither:br,wilt:Tr},kr={},Ar=K,qr=function(e,r){return a.zy.call(void 0===r?this:r,e)},Vr={URI:er,map:ke,reduce:qe(c),foldMap:Ve(c),reduceRight:Ee(c),traverse:je(c),sequence:ce,compact:Ye,separate:Xe,filter:xe,filterMap:Re,partition:$e,partitionMap:Qe,mapWithIndex:Ae,reduceWithIndex:Ne(c),foldMapWithIndex:Ce(c),reduceRightWithIndex:Fe(c),filterMapWithIndex:Me,filterWithIndex:Pe,partitionMapWithIndex:ze,partitionWithIndex:Le,traverseWithIndex:Ue(c),wither:br,wilt:Tr}},3282:(e,r,t)=>{"use strict";t.d(r,{$1:()=>s,HV:()=>u,T9:()=>a,jk:()=>o});var i=t(5103),n=t(5232),o=function(e){return{concat:n.jk(e)}},a=function(e){return{concat:n.T9(e)}},s=function(){return{concat:i.D_}},u=function(){return{concat:function(e,r){return r}}}},2224:(e,r,t)=>{"use strict";t.d(r,{Ci:()=>i}),t(5103);var i=function(e,r){return{left:e,right:r}}},1216:(e,r,t)=>{"use strict";t.d(r,{ez:()=>n,gc:()=>a,nG:()=>o});var i=t(9930);function n(e,r){return function(t){var i=e.traverse(t);return function(e,n){return t.map(i(e,n),r.separate)}}}function o(e,r){return function(t){var i=e.traverse(t);return function(e,n){return t.map(i(e,n),r.compact)}}}function a(e){return function(r){var t=e.wither(r);return function(e){return function(n){return t(n,(function(t){return r.map(e(t),(function(e){return e?i.zN(t):i.dv}))}))}}}}},1965:(e,r,t)=>{"use strict";function i(e,r){return function(t){return t?r.of(void 0):e.zero()}}t.d(r,{a:()=>i})},5103:(e,r,t)=>{"use strict";t.d(r,{D_:()=>i,Fs:()=>c,L3:()=>u,MN:()=>s,SK:()=>d,XR:()=>a,XY:()=>l,dY:()=>n,ue:()=>o});function i(e){return e}function n(e){return function(){return e}}var o=n(!0),a=n(null),s=n(void 0);function u(e,r,t,i,n,o,a,s,u){switch(arguments.length){case 1:return e;case 2:return function(){return r(e.apply(this,arguments))};case 3:return function(){return t(r(e.apply(this,arguments)))};case 4:return function(){return i(t(r(e.apply(this,arguments))))};case 5:return function(){return n(i(t(r(e.apply(this,arguments)))))};case 6:return function(){return o(n(i(t(r(e.apply(this,arguments))))))};case 7:return function(){return a(o(n(i(t(r(e.apply(this,arguments)))))))};case 8:return function(){return s(a(o(n(i(t(r(e.apply(this,arguments))))))))};case 9:return function(){return u(s(a(o(n(i(t(r(e.apply(this,arguments)))))))))}}}function c(e,r,t,i,n,o,a,s,u){switch(arguments.length){case 1:return e;case 2:return r(e);case 3:return t(r(e));case 4:return i(t(r(e)));case 5:return n(i(t(r(e))));case 6:return o(n(i(t(r(e)))));case 7:return a(o(n(i(t(r(e))))));case 8:return s(a(o(n(i(t(r(e)))))));case 9:return u(s(a(o(n(i(t(r(e))))))));default:for(var c=arguments[0],d=1;d<arguments.length;d++)c=arguments[d](c);return c}}var d=function(e,r){return r},l=function(e,r){var t="number"==typeof e?function(r){return r.length>=e}:e;return function(){var e=Array.from(arguments);return t(arguments)?r.apply(this,e):function(t){return r.apply(void 0,function(e,r,t){if(t||2===arguments.length)for(var i,n=0,o=r.length;n<o;n++)!i&&n in r||(i||(i=Array.prototype.slice.call(r,0,n)),i[n]=r[n]);return e.concat(i||Array.prototype.slice.call(r))}([t],e,!1))}}}},9930:(e,r,t)=>{"use strict";t.d(r,{$I:()=>n,FG:()=>c,FR:()=>g,Gr:()=>I,J_:()=>p,OC:()=>u,PP:()=>S,RT:()=>m,Ru:()=>o,aO:()=>y,d5:()=>f,dv:()=>a,kb:()=>d,lk:()=>b,pG:()=>l,rV:()=>w,rb:()=>h,v9:()=>_,zN:()=>s,zy:()=>v});var i=t(5103),n=function(e){return"None"===e._tag},o=function(e){return"Some"===e._tag},a={_tag:"None"},s=function(e){return{_tag:"Some",value:e}},u=function(e){return"Left"===e._tag},c=function(e){return"Right"===e._tag},d=function(e){return{_tag:"Left",left:e}},l=function(e){return{_tag:"Right",right:e}},I=function(e){return[e]},p=function(e){return e.length>0},f=function(e){return e[0]},m=function(e){return e.slice(1)},h=[],g={},v=Object.prototype.hasOwnProperty,y=function(e){return function(e,r,t){if(t||2===arguments.length)for(var i,n=0,o=r.length;n<o;n++)!i&&n in r||(i||(i=Array.prototype.slice.call(r,0,n)),i[n]=r[n]);return e.concat(i||Array.prototype.slice.call(r))}([e[0]],e.slice(1),!0)},w=function(e){return function(r,t){return function(){for(var i=[],n=0;n<arguments.length;n++)i[n]=arguments[n];var o=r.apply(void 0,i);return e.fromEither(null==o?d(t.apply(void 0,i)):l(o))}}},S=function(e){return function(r,t){return function(){for(var i=[],o=0;o<arguments.length;o++)i[o]=arguments[o];var a=r.apply(void 0,i);return e.fromEither(n(a)?d(t.apply(void 0,i)):l(a.value))}}},_=function(e,r){return(0,i.XY)(3,(function(t,i,n){return r.flatMap(t,w(e)(i,n))}))},b=function(e,r){return(0,i.XY)(3,(function(t,i,n){return r.flatMap(t,S(e)(i,n))}))}},5915:(e,r,t)=>{"use strict";t.r(r),t.d(r,{alt:()=>w,ap:()=>c,bimap:()=>l,chain:()=>d,compose:()=>E,contramap:()=>s,extend:()=>p,filter:()=>S,filterMap:()=>_,filterMapWithIndex:()=>k,filterWithIndex:()=>O,foldMap:()=>m,foldMapWithIndex:()=>v,map:()=>a,mapLeft:()=>I,mapWithIndex:()=>u,partition:()=>b,partitionMap:()=>T,partitionMapWithIndex:()=>q,partitionWithIndex:()=>A,pipe:()=>B,pipeable:()=>K,promap:()=>V,reduce:()=>f,reduceRight:()=>h,reduceRightWithIndex:()=>y,reduceWithIndex:()=>g});var i=t(1555),n=t(666),o=t(5103);function a(e){return function(r){return function(t){return e.map(t,r)}}}function s(e){return function(r){return function(t){return e.contramap(t,r)}}}function u(e){return function(r){return function(t){return e.mapWithIndex(t,r)}}}function c(e){return function(r){return function(t){return e.ap(t,r)}}}function d(e){return function(r){return function(t){return e.chain(t,r)}}}function l(e){return function(r,t){return function(i){return e.bimap(i,r,t)}}}function I(e){return function(r){return function(t){return e.mapLeft(t,r)}}}function p(e){return function(r){return function(t){return e.extend(t,r)}}}function f(e){return function(r,t){return function(i){return e.reduce(i,r,t)}}}function m(e){return function(r){var t=e.foldMap(r);return function(e){return function(r){return t(r,e)}}}}function h(e){return function(r,t){return function(i){return e.reduceRight(i,r,t)}}}function g(e){return function(r,t){return function(i){return e.reduceWithIndex(i,r,t)}}}function v(e){return function(r){var t=e.foldMapWithIndex(r);return function(e){return function(r){return t(r,e)}}}}function y(e){return function(r,t){return function(i){return e.reduceRightWithIndex(i,r,t)}}}function w(e){return function(r){return function(t){return e.alt(t,r)}}}function S(e){return function(r){return function(t){return e.filter(t,r)}}}function _(e){return function(r){return function(t){return e.filterMap(t,r)}}}function b(e){return function(r){return function(t){return e.partition(t,r)}}}function T(e){return function(r){return function(t){return e.partitionMap(t,r)}}}function O(e){return function(r){return function(t){return e.filterWithIndex(t,r)}}}function k(e){return function(r){return function(t){return e.filterMapWithIndex(t,r)}}}function A(e){return function(r){return function(t){return e.partitionWithIndex(t,r)}}}function q(e){return function(r){return function(t){return e.partitionMapWithIndex(t,r)}}}function V(e){return function(r,t){return function(i){return e.promap(i,r,t)}}}function E(e){return function(r){return function(t){return e.compose(t,r)}}}var x=function(e){return"function"==typeof e.map},R=function(e){return"function"==typeof e.contramap},$=function(e){return"function"==typeof e.mapWithIndex},Q=function(e){return"function"==typeof e.ap},N=function(e){return"function"==typeof e.chain},C=function(e){return"function"==typeof e.bimap},F=function(e){return"function"==typeof e.extend},z=function(e){return"function"==typeof e.reduce},L=function(e){return"function"==typeof e.reduceWithIndex},M=function(e){return"function"==typeof e.alt},P=function(e){return"function"==typeof e.compact},j=function(e){return"function"==typeof e.filter},Z=function(e){return"function"==typeof e.filterWithIndex},U=function(e){return"function"==typeof e.promap},D=function(e){return"function"==typeof e.compose},W=function(e){return"function"==typeof e.throwError};function K(e){var r={};return x(e)&&(r.map=a(e)),R(e)&&(r.contramap=s(e)),$(e)&&(r.mapWithIndex=u(e)),Q(e)&&(r.ap=c(e),r.apFirst=(0,i.oW)(e),r.apSecond=(0,i.g$)(e)),N(e)&&(r.chain=d(e),r.chainFirst=(0,n.W6)(e),r.flatten=r.chain(o.D_)),C(e)&&(r.bimap=l(e),r.mapLeft=I(e)),F(e)&&(r.extend=p(e),r.duplicate=r.extend(o.D_)),z(e)&&(r.reduce=f(e),r.foldMap=m(e),r.reduceRight=h(e)),L(e)&&(r.reduceWithIndex=g(e),r.foldMapWithIndex=v(e),r.reduceRightWithIndex=y(e)),M(e)&&(r.alt=w(e)),P(e)&&(r.compact=e.compact,r.separate=e.separate),j(e)&&(r.filter=S(e),r.filterMap=_(e),r.partition=b(e),r.partitionMap=T(e)),Z(e)&&(r.filterWithIndex=O(e),r.filterMapWithIndex=k(e),r.partitionWithIndex=A(e),r.partitionMapWithIndex=q(e)),U(e)&&(r.promap=V(e)),D(e)&&(r.compose=E(e)),W(e)&&(r.fromOption=function(r){return function(t){return"None"===t._tag?e.throwError(r()):e.of(t.value)}},r.fromEither=function(r){return"Left"===r._tag?e.throwError(r.left):e.of(r.right)},r.fromPredicate=function(r,t){return function(i){return r(i)?e.of(i):e.throwError(t(i))}},r.filterOrElse=function(r,t){return function(i){return e.chain(i,(function(i){return r(i)?e.of(i):e.throwError(t(i))}))}}),r}var B=o.Fs},3676:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.getApplicativeComposition=r.getApplicativeMonoid=void 0;var i=t(602),n=t(1868),o=t(5021);r.getApplicativeMonoid=function(e){var r=(0,i.getApplySemigroup)(e);return function(t){return{concat:r(t).concat,empty:e.of(t.empty)}}},r.getApplicativeComposition=function(e,r){var t=(0,o.getFunctorComposition)(e,r).map,a=(0,i.ap)(e,r);return{map:t,of:function(t){return e.of(r.of(t))},ap:function(e,r){return(0,n.pipe)(e,a(r))}}}},602:function(e,r,t){"use strict";var i=this&&this.__createBinding||(Object.create?function(e,r,t,i){void 0===i&&(i=t);var n=Object.getOwnPropertyDescriptor(r,t);n&&!("get"in n?!r.__esModule:n.writable||n.configurable)||(n={enumerable:!0,get:function(){return r[t]}}),Object.defineProperty(e,i,n)}:function(e,r,t,i){void 0===i&&(i=t),e[i]=r[t]}),n=this&&this.__setModuleDefault||(Object.create?function(e,r){Object.defineProperty(e,"default",{enumerable:!0,value:r})}:function(e,r){e.default=r}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var r={};if(null!=e)for(var t in e)"default"!==t&&Object.prototype.hasOwnProperty.call(e,t)&&i(r,e,t);return n(r,e),r};Object.defineProperty(r,"__esModule",{value:!0}),r.sequenceS=r.sequenceT=r.getApplySemigroup=r.apS=r.apSecond=r.apFirst=r.ap=void 0;var a=t(1868),s=o(t(6377));function u(e,r,t){return function(i){for(var n=Array(t.length+1),o=0;o<t.length;o++)n[o]=t[o];return n[t.length]=i,0===r?e.apply(null,n):u(e,r-1,n)}}r.ap=function(e,r){return function(t){return function(i){return e.ap(e.map(i,(function(e){return function(t){return r.ap(e,t)}})),t)}}},r.apFirst=function(e){return function(r){return function(t){return e.ap(e.map(t,(function(e){return function(){return e}})),r)}}},r.apSecond=function(e){return function(r){return function(t){return e.ap(e.map(t,(function(){return function(e){return e}})),r)}}},r.apS=function(e){return function(r,t){return function(i){return e.ap(e.map(i,(function(e){return function(t){var i;return Object.assign({},e,((i={})[r]=t,i))}})),t)}}},r.getApplySemigroup=function(e){return function(r){return{concat:function(t,i){return e.ap(e.map(t,(function(e){return function(t){return r.concat(e,t)}})),i)}}}};var c={1:function(e){return[e]},2:function(e){return function(r){return[e,r]}},3:function(e){return function(r){return function(t){return[e,r,t]}}},4:function(e){return function(r){return function(t){return function(i){return[e,r,t,i]}}}},5:function(e){return function(r){return function(t){return function(i){return function(n){return[e,r,t,i,n]}}}}}};r.sequenceT=function(e){return function(){for(var r=[],t=0;t<arguments.length;t++)r[t]=arguments[t];for(var i=r.length,n=function(e){return s.has.call(c,e)||(c[e]=u(a.tuple,e-1,[])),c[e]}(i),o=e.map(r[0],n),d=1;d<i;d++)o=e.ap(o,r[d]);return o}},r.sequenceS=function(e){return function(r){for(var t=Object.keys(r),i=t.length,n=function(e){var r=e.length;switch(r){case 1:return function(r){var t;return(t={})[e[0]]=r,t};case 2:return function(r){return function(t){var i;return(i={})[e[0]]=r,i[e[1]]=t,i}};case 3:return function(r){return function(t){return function(i){var n;return(n={})[e[0]]=r,n[e[1]]=t,n[e[2]]=i,n}}};case 4:return function(r){return function(t){return function(i){return function(n){var o;return(o={})[e[0]]=r,o[e[1]]=t,o[e[2]]=i,o[e[3]]=n,o}}}};case 5:return function(r){return function(t){return function(i){return function(n){return function(o){var a;return(a={})[e[0]]=r,a[e[1]]=t,a[e[2]]=i,a[e[3]]=n,a[e[4]]=o,a}}}}};default:return u((function(){for(var t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];for(var n={},o=0;o<r;o++)n[e[o]]=t[o];return n}),r-1,[])}}(t),o=e.map(r[t[0]],n),a=1;a<i;a++)o=e.ap(o,r[t[a]]);return o}}},715:(e,r)=>{"use strict";function t(e){return function(r,t){return e.chain(r,(function(r){return e.map(t(r),(function(){return r}))}))}}Object.defineProperty(r,"__esModule",{value:!0}),r.bind=r.tap=r.chainFirst=void 0,r.chainFirst=function(e){var r=t(e);return function(e){return function(t){return r(t,e)}}},r.tap=t,r.bind=function(e){return function(r,t){return function(i){return e.chain(i,(function(i){return e.map(t(i),(function(e){var t;return Object.assign({},i,((t={})[r]=e,t))}))}))}}}},4997:(e,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.tailRec=void 0,r.tailRec=function(e,r){for(var t=r(e);"Left"===t._tag;)t=r(t.left);return t.right}},1125:function(e,r,t){"use strict";var i=this&&this.__createBinding||(Object.create?function(e,r,t,i){void 0===i&&(i=t);var n=Object.getOwnPropertyDescriptor(r,t);n&&!("get"in n?!r.__esModule:n.writable||n.configurable)||(n={enumerable:!0,get:function(){return r[t]}}),Object.defineProperty(e,i,n)}:function(e,r,t,i){void 0===i&&(i=t),e[i]=r[t]}),n=this&&this.__setModuleDefault||(Object.create?function(e,r){Object.defineProperty(e,"default",{enumerable:!0,value:r})}:function(e,r){e.default=r}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var r={};if(null!=e)for(var t in e)"default"!==t&&Object.prototype.hasOwnProperty.call(e,t)&&i(r,e,t);return n(r,e),r};Object.defineProperty(r,"__esModule",{value:!0}),r.match=r.foldW=r.matchW=r.isRight=r.isLeft=r.fromOption=r.fromPredicate=r.FromEither=r.MonadThrow=r.throwError=r.ChainRec=r.Extend=r.extend=r.Alt=r.alt=r.altW=r.Bifunctor=r.mapLeft=r.bimap=r.Traversable=r.sequence=r.traverse=r.Foldable=r.reduceRight=r.foldMap=r.reduce=r.Monad=r.Chain=r.Applicative=r.Apply=r.ap=r.apW=r.Pointed=r.of=r.asUnit=r.as=r.Functor=r.map=r.getAltValidation=r.getApplicativeValidation=r.getWitherable=r.getFilterable=r.getCompactable=r.getSemigroup=r.getEq=r.getShow=r.URI=r.flatMap=r.right=r.left=void 0,r.chainFirstW=r.chainFirst=r.chain=r.chainW=r.sequenceArray=r.traverseArray=r.traverseArrayWithIndex=r.traverseReadonlyArrayWithIndex=r.traverseReadonlyNonEmptyArrayWithIndex=r.ApT=r.apSW=r.apS=r.bindW=r.bind=r.let=r.bindTo=r.Do=r.exists=r.elem=r.toError=r.toUnion=r.chainNullableK=r.fromNullableK=r.tryCatchK=r.tryCatch=r.fromNullable=r.orElse=r.orElseW=r.swap=r.filterOrElseW=r.filterOrElse=r.flatMapOption=r.flatMapNullable=r.liftOption=r.liftNullable=r.chainOptionKW=r.chainOptionK=r.fromOptionK=r.duplicate=r.flatten=r.flattenW=r.tap=r.apSecondW=r.apSecond=r.apFirstW=r.apFirst=r.flap=r.getOrElse=r.getOrElseW=r.fold=void 0,r.getValidation=r.getValidationMonoid=r.getValidationSemigroup=r.getApplyMonoid=r.getApplySemigroup=r.either=r.stringifyJSON=r.parseJSON=void 0;var a=t(3676),s=t(602),u=o(t(715)),c=t(4997),d=t(7329),l=t(1868),I=t(5021),p=o(t(6377)),f=t(5653),m=t(9347);r.left=p.left,r.right=p.right,r.flatMap=(0,l.dual)(2,(function(e,t){return(0,r.isLeft)(e)?e:t(e.right)}));var h=function(e,t){return(0,l.pipe)(e,(0,r.map)(t))},g=function(e,t){return(0,l.pipe)(e,(0,r.ap)(t))},v=function(e,t,i){return(0,l.pipe)(e,(0,r.reduce)(t,i))},y=function(e){return function(t,i){var n=(0,r.foldMap)(e);return(0,l.pipe)(t,n(i))}},w=function(e,t,i){return(0,l.pipe)(e,(0,r.reduceRight)(t,i))},S=function(e){var t=(0,r.traverse)(e);return function(e,r){return(0,l.pipe)(e,t(r))}},_=function(e,t,i){return(0,l.pipe)(e,(0,r.bimap)(t,i))},b=function(e,t){return(0,l.pipe)(e,(0,r.mapLeft)(t))},T=function(e,t){return(0,l.pipe)(e,(0,r.alt)(t))},O=function(e,t){return(0,l.pipe)(e,(0,r.extend)(t))},k=function(e,t){return(0,c.tailRec)(t(e),(function(e){return(0,r.isLeft)(e)?(0,r.right)((0,r.left)(e.left)):(0,r.isLeft)(e.right)?(0,r.left)(t(e.right.left)):(0,r.right)((0,r.right)(e.right.right))}))};r.URI="Either",r.getShow=function(e,t){return{show:function(i){return(0,r.isLeft)(i)?"left(".concat(e.show(i.left),")"):"right(".concat(t.show(i.right),")")}}},r.getEq=function(e,t){return{equals:function(i,n){return i===n||((0,r.isLeft)(i)?(0,r.isLeft)(n)&&e.equals(i.left,n.left):(0,r.isRight)(n)&&t.equals(i.right,n.right))}}},r.getSemigroup=function(e){return{concat:function(t,i){return(0,r.isLeft)(i)?t:(0,r.isLeft)(t)?i:(0,r.right)(e.concat(t.right,i.right))}}},r.getCompactable=function(e){var t=(0,r.left)(e.empty);return{URI:r.URI,_E:void 0,compact:function(e){return(0,r.isLeft)(e)?e:"None"===e.right._tag?t:(0,r.right)(e.right.value)},separate:function(e){return(0,r.isLeft)(e)?(0,f.separated)(e,e):(0,r.isLeft)(e.right)?(0,f.separated)((0,r.right)(e.right.left),t):(0,f.separated)(t,(0,r.right)(e.right.right))}}},r.getFilterable=function(e){var t=(0,r.left)(e.empty),i=(0,r.getCompactable)(e),n=i.compact,o=i.separate;return{URI:r.URI,_E:void 0,map:h,compact:n,separate:o,filter:function(e,i){return(0,r.isLeft)(e)||i(e.right)?e:t},filterMap:function(e,i){if((0,r.isLeft)(e))return e;var n=i(e.right);return"None"===n._tag?t:(0,r.right)(n.value)},partition:function(e,i){return(0,r.isLeft)(e)?(0,f.separated)(e,e):i(e.right)?(0,f.separated)(t,(0,r.right)(e.right)):(0,f.separated)((0,r.right)(e.right),t)},partitionMap:function(e,i){if((0,r.isLeft)(e))return(0,f.separated)(e,e);var n=i(e.right);return(0,r.isLeft)(n)?(0,f.separated)((0,r.right)(n.left),t):(0,f.separated)(t,(0,r.right)(n.right))}}},r.getWitherable=function(e){var t=(0,r.getFilterable)(e),i=(0,r.getCompactable)(e);return{URI:r.URI,_E:void 0,map:h,compact:t.compact,separate:t.separate,filter:t.filter,filterMap:t.filterMap,partition:t.partition,partitionMap:t.partitionMap,traverse:S,sequence:r.sequence,reduce:v,foldMap:y,reduceRight:w,wither:(0,m.witherDefault)(r.Traversable,i),wilt:(0,m.wiltDefault)(r.Traversable,i)}},r.getApplicativeValidation=function(e){return{URI:r.URI,_E:void 0,map:h,ap:function(t,i){return(0,r.isLeft)(t)?(0,r.isLeft)(i)?(0,r.left)(e.concat(t.left,i.left)):t:(0,r.isLeft)(i)?i:(0,r.right)(t.right(i.right))},of:r.of}},r.getAltValidation=function(e){return{URI:r.URI,_E:void 0,map:h,alt:function(t,i){if((0,r.isRight)(t))return t;var n=i();return(0,r.isLeft)(n)?(0,r.left)(e.concat(t.left,n.left)):n}}},r.map=function(e){return function(t){return(0,r.isLeft)(t)?t:(0,r.right)(e(t.right))}},r.Functor={URI:r.URI,map:h},r.as=(0,l.dual)(2,(0,I.as)(r.Functor)),r.asUnit=(0,I.asUnit)(r.Functor),r.of=r.right,r.Pointed={URI:r.URI,of:r.of},r.apW=function(e){return function(t){return(0,r.isLeft)(t)?t:(0,r.isLeft)(e)?e:(0,r.right)(t.right(e.right))}},r.ap=r.apW,r.Apply={URI:r.URI,map:h,ap:g},r.Applicative={URI:r.URI,map:h,ap:g,of:r.of},r.Chain={URI:r.URI,map:h,ap:g,chain:r.flatMap},r.Monad={URI:r.URI,map:h,ap:g,of:r.of,chain:r.flatMap},r.reduce=function(e,t){return function(i){return(0,r.isLeft)(i)?e:t(e,i.right)}},r.foldMap=function(e){return function(t){return function(i){return(0,r.isLeft)(i)?e.empty:t(i.right)}}},r.reduceRight=function(e,t){return function(i){return(0,r.isLeft)(i)?e:t(i.right,e)}},r.Foldable={URI:r.URI,reduce:v,foldMap:y,reduceRight:w},r.traverse=function(e){return function(t){return function(i){return(0,r.isLeft)(i)?e.of((0,r.left)(i.left)):e.map(t(i.right),r.right)}}},r.sequence=function(e){return function(t){return(0,r.isLeft)(t)?e.of((0,r.left)(t.left)):e.map(t.right,r.right)}},r.Traversable={URI:r.URI,map:h,reduce:v,foldMap:y,reduceRight:w,traverse:S,sequence:r.sequence},r.bimap=function(e,t){return function(i){return(0,r.isLeft)(i)?(0,r.left)(e(i.left)):(0,r.right)(t(i.right))}},r.mapLeft=function(e){return function(t){return(0,r.isLeft)(t)?(0,r.left)(e(t.left)):t}},r.Bifunctor={URI:r.URI,bimap:_,mapLeft:b},r.altW=function(e){return function(t){return(0,r.isLeft)(t)?e():t}},r.alt=r.altW,r.Alt={URI:r.URI,map:h,alt:T},r.extend=function(e){return function(t){return(0,r.isLeft)(t)?t:(0,r.right)(e(t))}},r.Extend={URI:r.URI,map:h,extend:O},r.ChainRec={URI:r.URI,map:h,ap:g,chain:r.flatMap,chainRec:k},r.throwError=r.left,r.MonadThrow={URI:r.URI,map:h,ap:g,of:r.of,chain:r.flatMap,throwError:r.throwError},r.FromEither={URI:r.URI,fromEither:l.identity},r.fromPredicate=(0,d.fromPredicate)(r.FromEither),r.fromOption=(0,d.fromOption)(r.FromEither),r.isLeft=p.isLeft,r.isRight=p.isRight,r.matchW=function(e,t){return function(i){return(0,r.isLeft)(i)?e(i.left):t(i.right)}},r.foldW=r.matchW,r.match=r.matchW,r.fold=r.match,r.getOrElseW=function(e){return function(t){return(0,r.isLeft)(t)?e(t.left):t.right}},r.getOrElse=r.getOrElseW,r.flap=(0,I.flap)(r.Functor),r.apFirst=(0,s.apFirst)(r.Apply),r.apFirstW=r.apFirst,r.apSecond=(0,s.apSecond)(r.Apply),r.apSecondW=r.apSecond,r.tap=(0,l.dual)(2,u.tap(r.Chain)),r.flattenW=(0,r.flatMap)(l.identity),r.flatten=r.flattenW,r.duplicate=(0,r.extend)(l.identity),r.fromOptionK=(0,d.fromOptionK)(r.FromEither),r.chainOptionK=(0,d.chainOptionK)(r.FromEither,r.Chain),r.chainOptionKW=r.chainOptionK;var A={fromEither:r.FromEither.fromEither};r.liftNullable=p.liftNullable(A),r.liftOption=p.liftOption(A);var q={flatMap:r.flatMap};r.flatMapNullable=p.flatMapNullable(A,q),r.flatMapOption=p.flatMapOption(A,q),r.filterOrElse=(0,d.filterOrElse)(r.FromEither,r.Chain),r.filterOrElseW=r.filterOrElse,r.swap=function(e){return(0,r.isLeft)(e)?(0,r.right)(e.left):(0,r.left)(e.right)},r.orElseW=function(e){return function(t){return(0,r.isLeft)(t)?e(t.left):t}},r.orElse=r.orElseW,r.fromNullable=function(e){return function(t){return null==t?(0,r.left)(e):(0,r.right)(t)}},r.tryCatch=function(e,t){try{return(0,r.right)(e())}catch(e){return(0,r.left)(t(e))}},r.tryCatchK=function(e,t){return function(){for(var i=[],n=0;n<arguments.length;n++)i[n]=arguments[n];return(0,r.tryCatch)((function(){return e.apply(void 0,i)}),t)}},r.fromNullableK=function(e){var t=(0,r.fromNullable)(e);return function(e){return(0,l.flow)(e,t)}},r.chainNullableK=function(e){var t=(0,r.fromNullableK)(e);return function(e){return(0,r.flatMap)(t(e))}},r.toUnion=(0,r.foldW)(l.identity,l.identity),r.toError=function(e){return e instanceof Error?e:new Error(String(e))},r.elem=function e(t){return function(i,n){if(void 0===n){var o=e(t);return function(e){return o(i,e)}}return!(0,r.isLeft)(n)&&t.equals(i,n.right)}},r.exists=function(e){return function(t){return!(0,r.isLeft)(t)&&e(t.right)}},r.Do=(0,r.of)(p.emptyRecord),r.bindTo=(0,I.bindTo)(r.Functor);var V=(0,I.let)(r.Functor);r.let=V,r.bind=u.bind(r.Chain),r.bindW=r.bind,r.apS=(0,s.apS)(r.Apply),r.apSW=r.apS,r.ApT=(0,r.of)(p.emptyReadonlyArray),r.traverseReadonlyNonEmptyArrayWithIndex=function(e){return function(t){var i=e(0,p.head(t));if((0,r.isLeft)(i))return i;for(var n=[i.right],o=1;o<t.length;o++){var a=e(o,t[o]);if((0,r.isLeft)(a))return a;n.push(a.right)}return(0,r.right)(n)}},r.traverseReadonlyArrayWithIndex=function(e){var t=(0,r.traverseReadonlyNonEmptyArrayWithIndex)(e);return function(e){return p.isNonEmpty(e)?t(e):r.ApT}},r.traverseArrayWithIndex=r.traverseReadonlyArrayWithIndex,r.traverseArray=function(e){return(0,r.traverseReadonlyArrayWithIndex)((function(r,t){return e(t)}))},r.sequenceArray=(0,r.traverseArray)(l.identity),r.chainW=r.flatMap,r.chain=r.flatMap,r.chainFirst=r.tap,r.chainFirstW=r.tap,r.parseJSON=function(e,t){return(0,r.tryCatch)((function(){return JSON.parse(e)}),t)},r.stringifyJSON=function(e,t){return(0,r.tryCatch)((function(){var r=JSON.stringify(e);if("string"!=typeof r)throw new Error("Converting unsupported structure to JSON");return r}),t)},r.either={URI:r.URI,map:h,of:r.of,ap:g,chain:r.flatMap,reduce:v,foldMap:y,reduceRight:w,traverse:S,sequence:r.sequence,bimap:_,mapLeft:b,alt:T,extend:O,chainRec:k,throwError:r.throwError},r.getApplySemigroup=(0,s.getApplySemigroup)(r.Apply),r.getApplyMonoid=(0,a.getApplicativeMonoid)(r.Applicative),r.getValidationSemigroup=function(e,t){return(0,s.getApplySemigroup)((0,r.getApplicativeValidation)(e))(t)},r.getValidationMonoid=function(e,t){return(0,a.getApplicativeMonoid)((0,r.getApplicativeValidation)(e))(t)},r.getValidation=function(e){var t=(0,r.getApplicativeValidation)(e).ap,i=(0,r.getAltValidation)(e).alt;return{URI:r.URI,_E:void 0,map:h,of:r.of,chain:r.flatMap,bimap:_,mapLeft:b,reduce:v,foldMap:y,reduceRight:w,extend:O,traverse:S,sequence:r.sequence,chainRec:k,throwError:r.throwError,ap:t,alt:i}}},7329:function(e,r,t){"use strict";var i=this&&this.__createBinding||(Object.create?function(e,r,t,i){void 0===i&&(i=t);var n=Object.getOwnPropertyDescriptor(r,t);n&&!("get"in n?!r.__esModule:n.writable||n.configurable)||(n={enumerable:!0,get:function(){return r[t]}}),Object.defineProperty(e,i,n)}:function(e,r,t,i){void 0===i&&(i=t),e[i]=r[t]}),n=this&&this.__setModuleDefault||(Object.create?function(e,r){Object.defineProperty(e,"default",{enumerable:!0,value:r})}:function(e,r){e.default=r}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var r={};if(null!=e)for(var t in e)"default"!==t&&Object.prototype.hasOwnProperty.call(e,t)&&i(r,e,t);return n(r,e),r};Object.defineProperty(r,"__esModule",{value:!0}),r.tapEither=r.filterOrElse=r.chainFirstEitherK=r.chainEitherK=r.fromEitherK=r.chainOptionK=r.fromOptionK=r.fromPredicate=r.fromOption=void 0;var a=t(715),s=t(1868),u=o(t(6377));function c(e){return function(r){return function(t){return e.fromEither(u.isNone(t)?u.left(r()):u.right(t.value))}}}function d(e){var r=c(e);return function(e){var t=r(e);return function(e){return(0,s.flow)(e,t)}}}function l(e){return function(r){return(0,s.flow)(r,e.fromEither)}}function I(e,r){var t=l(e),i=(0,a.tap)(r);return function(e,r){return i(e,t(r))}}r.fromOption=c,r.fromPredicate=function(e){return function(r,t){return function(i){return e.fromEither(r(i)?u.right(i):u.left(t(i)))}}},r.fromOptionK=d,r.chainOptionK=function(e,r){var t=d(e);return function(e){var i=t(e);return function(e){return function(t){return r.chain(t,i(e))}}}},r.fromEitherK=l,r.chainEitherK=function(e,r){var t=l(e);return function(e){return function(i){return r.chain(i,t(e))}}},r.chainFirstEitherK=function(e,r){var t=I(e,r);return function(e){return function(r){return t(r,e)}}},r.filterOrElse=function(e,r){return function(t,i){return function(n){return r.chain(n,(function(r){return e.fromEither(t(r)?u.right(r):u.left(i(r)))}))}}},r.tapEither=I},5021:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.asUnit=r.as=r.getFunctorComposition=r.let=r.bindTo=r.flap=r.map=void 0;var i=t(1868);function n(e,r){return function(t){return function(i){return e.map(i,(function(e){return r.map(e,t)}))}}}function o(e){return function(r,t){return e.map(r,(function(){return t}))}}r.map=n,r.flap=function(e){return function(r){return function(t){return e.map(t,(function(e){return e(r)}))}}},r.bindTo=function(e){return function(r){return function(t){return e.map(t,(function(e){var t;return(t={})[r]=e,t}))}}},r.let=function(e){return function(r,t){return function(i){return e.map(i,(function(e){var i;return Object.assign({},e,((i={})[r]=t(e),i))}))}}},r.getFunctorComposition=function(e,r){var t=n(e,r);return{map:function(e,r){return(0,i.pipe)(e,t(r))}}},r.as=o,r.asUnit=function(e){var r=o(e);return function(e){return r(e,void 0)}}},5653:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.right=r.left=r.flap=r.Functor=r.Bifunctor=r.URI=r.bimap=r.mapLeft=r.map=r.separated=void 0;var i=t(1868),n=t(5021);r.separated=function(e,r){return{left:e,right:r}},r.map=function(e){return function(t){return(0,r.separated)((0,r.left)(t),e((0,r.right)(t)))}},r.mapLeft=function(e){return function(t){return(0,r.separated)(e((0,r.left)(t)),(0,r.right)(t))}},r.bimap=function(e,t){return function(i){return(0,r.separated)(e((0,r.left)(i)),t((0,r.right)(i)))}},r.URI="Separated",r.Bifunctor={URI:r.URI,mapLeft:function(e,t){return(0,i.pipe)(e,(0,r.mapLeft)(t))},bimap:function(e,t,n){return(0,i.pipe)(e,(0,r.bimap)(t,n))}},r.Functor={URI:r.URI,map:function(e,t){return(0,i.pipe)(e,(0,r.map)(t))}},r.flap=(0,n.flap)(r.Functor),r.left=function(e){return e.left},r.right=function(e){return e.right}},9347:function(e,r,t){"use strict";var i=this&&this.__createBinding||(Object.create?function(e,r,t,i){void 0===i&&(i=t);var n=Object.getOwnPropertyDescriptor(r,t);n&&!("get"in n?!r.__esModule:n.writable||n.configurable)||(n={enumerable:!0,get:function(){return r[t]}}),Object.defineProperty(e,i,n)}:function(e,r,t,i){void 0===i&&(i=t),e[i]=r[t]}),n=this&&this.__setModuleDefault||(Object.create?function(e,r){Object.defineProperty(e,"default",{enumerable:!0,value:r})}:function(e,r){e.default=r}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var r={};if(null!=e)for(var t in e)"default"!==t&&Object.prototype.hasOwnProperty.call(e,t)&&i(r,e,t);return n(r,e),r};Object.defineProperty(r,"__esModule",{value:!0}),r.filterE=r.witherDefault=r.wiltDefault=void 0;var a=o(t(6377));r.wiltDefault=function(e,r){return function(t){var i=e.traverse(t);return function(e,n){return t.map(i(e,n),r.separate)}}},r.witherDefault=function(e,r){return function(t){var i=e.traverse(t);return function(e,n){return t.map(i(e,n),r.compact)}}},r.filterE=function(e){return function(r){var t=e.wither(r);return function(e){return function(i){return t(i,(function(t){return r.map(e(t),(function(e){return e?a.some(t):a.none}))}))}}}}},1868:function(e,r){"use strict";var t=this&&this.__spreadArray||function(e,r,t){if(t||2===arguments.length)for(var i,n=0,o=r.length;n<o;n++)!i&&n in r||(i||(i=Array.prototype.slice.call(r,0,n)),i[n]=r[n]);return e.concat(i||Array.prototype.slice.call(r))};function i(e){return e}function n(e){return function(){return e}}function o(e,r,t,i,n,o,a,s,u){switch(arguments.length){case 1:return e;case 2:return function(){return r(e.apply(this,arguments))};case 3:return function(){return t(r(e.apply(this,arguments)))};case 4:return function(){return i(t(r(e.apply(this,arguments))))};case 5:return function(){return n(i(t(r(e.apply(this,arguments)))))};case 6:return function(){return o(n(i(t(r(e.apply(this,arguments))))))};case 7:return function(){return a(o(n(i(t(r(e.apply(this,arguments)))))))};case 8:return function(){return s(a(o(n(i(t(r(e.apply(this,arguments))))))))};case 9:return function(){return u(s(a(o(n(i(t(r(e.apply(this,arguments)))))))))}}}function a(e){throw new Error("Called `absurd` function which should be uncallable")}Object.defineProperty(r,"__esModule",{value:!0}),r.dual=r.getEndomorphismMonoid=r.not=r.SK=r.hole=r.pipe=r.untupled=r.tupled=r.absurd=r.decrement=r.increment=r.tuple=r.flow=r.flip=r.constVoid=r.constUndefined=r.constNull=r.constFalse=r.constTrue=r.constant=r.unsafeCoerce=r.identity=r.apply=r.getRing=r.getSemiring=r.getMonoid=r.getSemigroup=r.getBooleanAlgebra=void 0,r.getBooleanAlgebra=function(e){return function(){return{meet:function(r,t){return function(i){return e.meet(r(i),t(i))}},join:function(r,t){return function(i){return e.join(r(i),t(i))}},zero:function(){return e.zero},one:function(){return e.one},implies:function(r,t){return function(i){return e.implies(r(i),t(i))}},not:function(r){return function(t){return e.not(r(t))}}}}},r.getSemigroup=function(e){return function(){return{concat:function(r,t){return function(i){return e.concat(r(i),t(i))}}}}},r.getMonoid=function(e){var t=(0,r.getSemigroup)(e);return function(){return{concat:t().concat,empty:function(){return e.empty}}}},r.getSemiring=function(e){return{add:function(r,t){return function(i){return e.add(r(i),t(i))}},zero:function(){return e.zero},mul:function(r,t){return function(i){return e.mul(r(i),t(i))}},one:function(){return e.one}}},r.getRing=function(e){var t=(0,r.getSemiring)(e);return{add:t.add,mul:t.mul,one:t.one,zero:t.zero,sub:function(r,t){return function(i){return e.sub(r(i),t(i))}}}},r.apply=function(e){return function(r){return r(e)}},r.identity=i,r.unsafeCoerce=i,r.constant=n,r.constTrue=n(!0),r.constFalse=n(!1),r.constNull=n(null),r.constUndefined=n(void 0),r.constVoid=r.constUndefined,r.flip=function(e){return function(){for(var r=[],t=0;t<arguments.length;t++)r[t]=arguments[t];return r.length>1?e(r[1],r[0]):function(t){return e(t)(r[0])}}},r.flow=o,r.tuple=function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];return e},r.increment=function(e){return e+1},r.decrement=function(e){return e-1},r.absurd=a,r.tupled=function(e){return function(r){return e.apply(void 0,r)}},r.untupled=function(e){return function(){for(var r=[],t=0;t<arguments.length;t++)r[t]=arguments[t];return e(r)}},r.pipe=function(e,r,t,i,n,o,a,s,u){switch(arguments.length){case 1:return e;case 2:return r(e);case 3:return t(r(e));case 4:return i(t(r(e)));case 5:return n(i(t(r(e))));case 6:return o(n(i(t(r(e)))));case 7:return a(o(n(i(t(r(e))))));case 8:return s(a(o(n(i(t(r(e)))))));case 9:return u(s(a(o(n(i(t(r(e))))))));default:for(var c=arguments[0],d=1;d<arguments.length;d++)c=arguments[d](c);return c}},r.hole=a,r.SK=function(e,r){return r},r.not=function(e){return function(r){return!e(r)}},r.getEndomorphismMonoid=function(){return{concat:function(e,r){return o(e,r)},empty:i}},r.dual=function(e,r){var i="number"==typeof e?function(r){return r.length>=e}:e;return function(){var e=Array.from(arguments);return i(arguments)?r.apply(this,e):function(i){return r.apply(void 0,t([i],e,!1))}}}},6377:function(e,r,t){"use strict";var i=this&&this.__spreadArray||function(e,r,t){if(t||2===arguments.length)for(var i,n=0,o=r.length;n<o;n++)!i&&n in r||(i||(i=Array.prototype.slice.call(r,0,n)),i[n]=r[n]);return e.concat(i||Array.prototype.slice.call(r))};Object.defineProperty(r,"__esModule",{value:!0}),r.flatMapReader=r.flatMapTask=r.flatMapIO=r.flatMapEither=r.flatMapOption=r.flatMapNullable=r.liftOption=r.liftNullable=r.fromReadonlyNonEmptyArray=r.has=r.emptyRecord=r.emptyReadonlyArray=r.tail=r.head=r.isNonEmpty=r.singleton=r.right=r.left=r.isRight=r.isLeft=r.some=r.none=r.isSome=r.isNone=void 0;var n=t(1868);r.isNone=function(e){return"None"===e._tag},r.isSome=function(e){return"Some"===e._tag},r.none={_tag:"None"},r.some=function(e){return{_tag:"Some",value:e}},r.isLeft=function(e){return"Left"===e._tag},r.isRight=function(e){return"Right"===e._tag},r.left=function(e){return{_tag:"Left",left:e}},r.right=function(e){return{_tag:"Right",right:e}},r.singleton=function(e){return[e]},r.isNonEmpty=function(e){return e.length>0},r.head=function(e){return e[0]},r.tail=function(e){return e.slice(1)},r.emptyReadonlyArray=[],r.emptyRecord={},r.has=Object.prototype.hasOwnProperty,r.fromReadonlyNonEmptyArray=function(e){return i([e[0]],e.slice(1),!0)},r.liftNullable=function(e){return function(t,i){return function(){for(var n=[],o=0;o<arguments.length;o++)n[o]=arguments[o];var a=t.apply(void 0,n);return e.fromEither(null==a?(0,r.left)(i.apply(void 0,n)):(0,r.right)(a))}}},r.liftOption=function(e){return function(t,i){return function(){for(var n=[],o=0;o<arguments.length;o++)n[o]=arguments[o];var a=t.apply(void 0,n);return e.fromEither((0,r.isNone)(a)?(0,r.left)(i.apply(void 0,n)):(0,r.right)(a.value))}}},r.flatMapNullable=function(e,t){return(0,n.dual)(3,(function(i,n,o){return t.flatMap(i,(0,r.liftNullable)(e)(n,o))}))},r.flatMapOption=function(e,t){return(0,n.dual)(3,(function(i,n,o){return t.flatMap(i,(0,r.liftOption)(e)(n,o))}))},r.flatMapEither=function(e,r){return(0,n.dual)(2,(function(t,i){return r.flatMap(t,(function(r){return e.fromEither(i(r))}))}))},r.flatMapIO=function(e,r){return(0,n.dual)(2,(function(t,i){return r.flatMap(t,(function(r){return e.fromIO(i(r))}))}))},r.flatMapTask=function(e,r){return(0,n.dual)(2,(function(t,i){return r.flatMap(t,(function(r){return e.fromTask(i(r))}))}))},r.flatMapReader=function(e,r){return(0,n.dual)(2,(function(t,i){return r.flatMap(t,(function(r){return e.fromReader(i(r))}))}))}},2178:(e,r,t)=>{"use strict";var i=t(9023),n=t(7250);e.exports=function(e){if("number"==typeof e)return e;var r=n(e);if(void 0===r){var t=new Error(i.format("humanize-ms(%j) result undefined",e));console.warn(t.stack)}return r}},424:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.reporter=r.formatValidationErrors=r.formatValidationError=r.TYPE_MAX_LEN=void 0;var i=t(6863),n=t(3898),o=t(8782),a=t(7531),s=t(6158),u=t(5915),c=t(721),d=t(2497),l=function(e){return e.type instanceof c.UnionType},I=function(e){return void 0===e?"undefined":JSON.stringify(e)},p=function(e){return e.map((function(e){return e.key})).filter(Boolean).join(".")},f=function(e){return i.last(e.context)},m=function(e){return e.context};r.TYPE_MAX_LEN=160;var h=function(e,t){void 0===t&&(t={});var i=t.truncateLongTypes;return(void 0===i||i)&&e.length>r.TYPE_MAX_LEN?e.slice(0,r.TYPE_MAX_LEN-3)+"...":e},g=function(e){return u.pipe(e,i.findIndex(l),a.chain((function(r){return i.lookup(r+1,e)})))},v=function(e,r,t){return u.pipe(r,f,a.map((function(i){return function(e,r,t,i){return["Expecting "+h(e,i),""===r?"":"at "+r,"but instead got: "+I(t.value),t.message?"("+t.message+")":""].filter(Boolean).join(" ")}(i.type.name,e,r,t)})))},y=o.groupBy((function(e){return u.pipe(e.context,d.takeUntil(l),p)}));r.formatValidationError=function(e,r){return v(p(e.context),e,r)},r.formatValidationErrors=function(e,r){return u.pipe(e,y,s.mapWithIndex((function(e,t){return function(e,r,t){return o.tail(r).length>0?function(e,r,t){var n=u.pipe(r,i.map(m),i.map(g),i.compact),o=u.pipe(n,i.head,a.map((function(e){return e.actual})),a.getOrElse((function(){}))),s=n.map((function(e){return e.type.name}));return s.length>0?a.some(function(e,r,t,i){return["Expecting one of:\n",e.map((function(e){return" "+h(e,i)})).join("\n"),""===r?"\n":"\nat "+r+" ","but instead got: "+I(t)].filter(Boolean).join("")}(s,e,o,t)):a.none}(e,r,t):v(e,o.head(r),t)}(e,t,r)})),s.compact,s.toArray,i.map((function(e){return e[0],e[1]})))},r.reporter=function(e,t){return u.pipe(e,n.mapLeft((function(e){return r.formatValidationErrors(e,t)})),n.fold((function(e){return e}),(function(){return[]})))};var w={report:r.reporter};r.default=w},2497:(e,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.takeUntil=void 0,r.takeUntil=function(e){return function(r){for(var t=[],i=0;i<r.length;i++)if(t[i]=r[i],e(r[i]))return t;return t}}},721:(e,r,t)=>{"use strict";t.r(r),t.d(r,{AnyArrayType:()=>X,AnyDictionaryType:()=>re,AnyType:()=>Fe,Array:()=>ee,ArrayType:()=>Ie,BigIntType:()=>G,BooleanType:()=>H,Dictionary:()=>De,DictionaryType:()=>ve,ExactType:()=>xe,Function:()=>Qe,FunctionType:()=>$e,Int:()=>ce,Integer:()=>Me,InterfaceType:()=>fe,IntersectionType:()=>_e,KeyofType:()=>oe,LiteralType:()=>ie,NeverType:()=>Ne,NullType:()=>F,NumberType:()=>K,ObjectType:()=>We,PartialType:()=>he,ReadonlyArrayType:()=>qe,ReadonlyType:()=>ke,RecursiveType:()=>de,RefinementType:()=>se,StrictType:()=>Ge,StringType:()=>D,TaggedUnionType:()=>Pe,TupleType:()=>Te,Type:()=>l,UndefinedType:()=>L,UnionType:()=>we,UnknownArray:()=>ee,UnknownRecord:()=>te,UnknownType:()=>Z,VoidType:()=>P,alias:()=>He,any:()=>ze,appendContext:()=>m,array:()=>pe,bigint:()=>J,boolean:()=>Y,brand:()=>ue,clean:()=>Je,dictionary:()=>Be,emptyTags:()=>q,exact:()=>Re,failure:()=>c,failures:()=>u,getContextEntry:()=>f,getDefaultContext:()=>Ue,getDomainKeys:()=>_,getFunctionName:()=>p,getIndex:()=>C,getTags:()=>N,getValidationError:()=>Ze,identity:()=>I,interface:()=>me,intersection:()=>be,keyof:()=>ae,literal:()=>ne,mergeAll:()=>O,never:()=>Ce,null:()=>z,nullType:()=>z,number:()=>B,object:()=>Ke,partial:()=>ge,readonly:()=>Ae,readonlyArray:()=>Ve,record:()=>ye,recursion:()=>le,refinement:()=>Le,strict:()=>Ee,string:()=>W,success:()=>d,taggedUnion:()=>je,tuple:()=>Oe,type:()=>me,undefined:()=>M,union:()=>Se,unknown:()=>U,void:()=>j,voidType:()=>j});var i,n=t(3898),o=(i=function(e,r){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,r){e.__proto__=r}||function(e,r){for(var t in r)Object.prototype.hasOwnProperty.call(r,t)&&(e[t]=r[t])},i(e,r)},function(e,r){if("function"!=typeof r&&null!==r)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");function t(){this.constructor=e}i(e,r),e.prototype=null===r?Object.create(r):(t.prototype=r.prototype,new t)}),a=function(){return a=Object.assign||function(e){for(var r,t=1,i=arguments.length;t<i;t++)for(var n in r=arguments[t])Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n]);return e},a.apply(this,arguments)},s=function(e,r,t){if(t||2===arguments.length)for(var i,n=0,o=r.length;n<o;n++)!i&&n in r||(i||(i=Array.prototype.slice.call(r,0,n)),i[n]=r[n]);return e.concat(i||Array.prototype.slice.call(r))},u=n.left,c=function(e,r,t){return u([{value:e,context:r,message:t}])},d=n.right,l=function(){function e(e,r,t,i){this.name=e,this.is=r,this.validate=t,this.encode=i,this.decode=this.decode.bind(this)}return e.prototype.pipe=function(r,t){var i=this;return void 0===t&&(t="pipe(".concat(this.name,", ").concat(r.name,")")),new e(t,r.is,(function(e,t){var o=i.validate(e,t);return(0,n.isLeft)(o)?o:r.validate(o.right,t)}),this.encode===I&&r.encode===I?I:function(e){return i.encode(r.encode(e))})},e.prototype.asDecoder=function(){return this},e.prototype.asEncoder=function(){return this},e.prototype.decode=function(e){return this.validate(e,[{key:"",type:this,actual:e}])},e}(),I=function(e){return e};function p(e){return e.displayName||e.name||"<function".concat(e.length,">")}function f(e,r){return{key:e,type:r}}function m(e,r,t,i){for(var n=e.length,o=Array(n+1),a=0;a<n;a++)o[a]=e[a];return o[n]={key:r,type:t,actual:i},o}function h(e,r){for(var t=r.length,i=0;i<t;i++)e.push(r[i])}var g=Object.prototype.hasOwnProperty;function v(e){return Object.keys(e).map((function(r){return"".concat(r,": ").concat(e[r].name)})).join(", ")}function y(e){for(var r=0;r<e.length;r++)if(e[r].encode!==I)return!1;return!0}function w(e){return"{ ".concat(v(e)," }")}function S(e){return"Partial<".concat(e,">")}function _(e){var r;if(x(e)){var t=e.value;if(W.is(t))return(r={})[t]=null,r}else{if("KeyofType"===e._tag)return e.keys;if($(e)){var i=e.types.map((function(e){return _(e)}));return i.some(M.is)?void 0:Object.assign.apply(Object,s([{}],i,!1))}}}function b(e,r){for(var t=Object.keys(e),i=t.length,n=!1,o={},a=0;a<i;a++){var s=t[a];r.is(s)?o[s]=e[s]:n=!0}return n?o:e}function T(e){return"("+e.map((function(e){return e.name})).join(" | ")+")"}function O(e,r){for(var t=!0,i=!0,n=!te.is(e),o=0,a=r;o<a.length;o++)(d=a[o])!==e&&(t=!1),te.is(d)&&(i=!1);if(t)return e;if(i)return r[r.length-1];for(var s={},u=0,c=r;u<c.length;u++){var d=c[u];for(var l in d)g.call(s,l)&&!n&&d[l]===e[l]||(s[l]=d[l])}return s}function k(e){switch(e._tag){case"RefinementType":case"ReadonlyType":return k(e.type);case"InterfaceType":case"StrictType":case"PartialType":return e.props;case"IntersectionType":return e.types.reduce((function(e,r){return Object.assign(e,k(r))}),{})}}function A(e,r){for(var t=Object.getOwnPropertyNames(e),i=!1,n={},o=0;o<t.length;o++){var a=t[o];g.call(r,a)?n[a]=e[a]:i=!0}return i?n:e}var q={};function V(e,r){for(var t=[],i=0,n=e;i<n.length;i++){var o=n[i];-1!==r.indexOf(o)&&t.push(o)}return t}function E(e){return"AnyType"===e._tag}function x(e){return"LiteralType"===e._tag}function R(e){return"InterfaceType"===e._tag}function $(e){return"UnionType"===e._tag}var Q=[];function N(e){if(-1!==Q.indexOf(e))return q;if(R(e)||function(e){return"StrictType"===e._tag}(e)){var r=q;for(var t in e.props){var i=e.props[t];x(i)&&(r===q&&(r={}),r[t]=[i.value])}return r}if(function(e){return"ExactType"===e._tag}(e)||function(e){return"RefinementType"===e._tag}(e))return N(e.type);if(function(e){return"IntersectionType"===e._tag}(e))return e.types.reduce((function(e,r){return function(e,r){if(e===q)return r;if(r===q)return e;var t=Object.assign({},e);for(var i in r)if(g.call(e,i)){var n=V(e[i],r[i]);if(!(n.length>0)){t=q;break}t[i]=n}else t[i]=r[i];return t}(e,N(r))}),q);if($(e))return e.types.slice(1).reduce((function(e,r){return function(e,r){if(e===q||r===q)return q;var t=q;for(var i in e)g.call(r,i)&&0===V(e[i],r[i]).length&&(t===q&&(t={}),t[i]=e[i].concat(r[i]));return t}(e,N(r))}),N(e.types[0]));if(function(e){return"RecursiveType"===e._tag}(e)){Q.push(e);var n=N(e.type);return Q.pop(),n}return q}function C(e){for(var r=N(e[0]),t=Object.keys(r),i=e.length,n=function(t){for(var n=r[t].slice(),o=[r[t]],a=1;a<i;a++){var s=N(e[a])[t];if(void 0===s)return"continue-keys";if(s.some((function(e){return-1!==n.indexOf(e)})))return"continue-keys";n.push.apply(n,s),o.push(s)}return{value:[t,o]}},o=0,a=t;o<a.length;o++){var s=n(a[o]);if("object"==typeof s)return s.value}}var F=function(e){function r(){var r=e.call(this,"null",(function(e){return null===e}),(function(e,t){return r.is(e)?d(e):c(e,t)}),I)||this;return r._tag="NullType",r}return o(r,e),r}(l),z=new F,L=function(e){function r(){var r=e.call(this,"undefined",(function(e){return void 0===e}),(function(e,t){return r.is(e)?d(e):c(e,t)}),I)||this;return r._tag="UndefinedType",r}return o(r,e),r}(l),M=new L,P=function(e){function r(){var r=e.call(this,"void",M.is,M.validate,I)||this;return r._tag="VoidType",r}return o(r,e),r}(l),j=new P,Z=function(e){function r(){var r=e.call(this,"unknown",(function(e){return!0}),d,I)||this;return r._tag="UnknownType",r}return o(r,e),r}(l),U=new Z,D=function(e){function r(){var r=e.call(this,"string",(function(e){return"string"==typeof e}),(function(e,t){return r.is(e)?d(e):c(e,t)}),I)||this;return r._tag="StringType",r}return o(r,e),r}(l),W=new D,K=function(e){function r(){var r=e.call(this,"number",(function(e){return"number"==typeof e}),(function(e,t){return r.is(e)?d(e):c(e,t)}),I)||this;return r._tag="NumberType",r}return o(r,e),r}(l),B=new K,G=function(e){function r(){var r=e.call(this,"bigint",(function(e){return"bigint"==typeof e}),(function(e,t){return r.is(e)?d(e):c(e,t)}),I)||this;return r._tag="BigIntType",r}return o(r,e),r}(l),J=new G,H=function(e){function r(){var r=e.call(this,"boolean",(function(e){return"boolean"==typeof e}),(function(e,t){return r.is(e)?d(e):c(e,t)}),I)||this;return r._tag="BooleanType",r}return o(r,e),r}(l),Y=new H,X=function(e){function r(){var r=e.call(this,"UnknownArray",Array.isArray,(function(e,t){return r.is(e)?d(e):c(e,t)}),I)||this;return r._tag="AnyArrayType",r}return o(r,e),r}(l),ee=new X,re=function(e){function r(){var r=e.call(this,"UnknownRecord",(function(e){return null!==e&&"object"==typeof e&&!Array.isArray(e)}),(function(e,t){return r.is(e)?d(e):c(e,t)}),I)||this;return r._tag="AnyDictionaryType",r}return o(r,e),r}(l),te=new re,ie=function(e){function r(r,t,i,n,o){var a=e.call(this,r,t,i,n)||this;return a.value=o,a._tag="LiteralType",a}return o(r,e),r}(l);function ne(e,r){void 0===r&&(r=JSON.stringify(e));var t=function(r){return r===e};return new ie(r,t,(function(r,i){return t(r)?d(e):c(r,i)}),I,e)}var oe=function(e){function r(r,t,i,n,o){var a=e.call(this,r,t,i,n)||this;return a.keys=o,a._tag="KeyofType",a}return o(r,e),r}(l);function ae(e,r){void 0===r&&(r=Object.keys(e).map((function(e){return JSON.stringify(e)})).join(" | "));var t=function(r){return W.is(r)&&g.call(e,r)};return new oe(r,t,(function(e,r){return t(e)?d(e):c(e,r)}),I,e)}var se=function(e){function r(r,t,i,n,o,a){var s=e.call(this,r,t,i,n)||this;return s.type=o,s.predicate=a,s._tag="RefinementType",s}return o(r,e),r}(l);function ue(e,r,t){return Le(e,r,t)}var ce=ue(B,(function(e){return Number.isInteger(e)}),"Int"),de=function(e){function r(r,t,i,n,o){var a=e.call(this,r,t,i,n)||this;return a.runDefinition=o,a._tag="RecursiveType",a}return o(r,e),r}(l);function le(e,r){var t,i=function(){return t||((t=r(n)).name=e),t},n=new de(e,(function(e){return i().is(e)}),(function(e,r){return i().validate(e,r)}),(function(e){return i().encode(e)}),i);return n}Object.defineProperty(de.prototype,"type",{get:function(){return this.runDefinition()},enumerable:!0,configurable:!0});var Ie=function(e){function r(r,t,i,n,o){var a=e.call(this,r,t,i,n)||this;return a.type=o,a._tag="ArrayType",a}return o(r,e),r}(l);function pe(e,r){return void 0===r&&(r="Array<".concat(e.name,">")),new Ie(r,(function(r){return ee.is(r)&&r.every(e.is)}),(function(r,t){var i=ee.validate(r,t);if((0,n.isLeft)(i))return i;for(var o=i.right,a=o.length,s=o,c=[],l=0;l<a;l++){var I=o[l],p=e.validate(I,m(t,String(l),e,I));if((0,n.isLeft)(p))h(c,p.left);else{var f=p.right;f!==I&&(s===o&&(s=o.slice()),s[l]=f)}}return c.length>0?u(c):d(s)}),e.encode===I?I:function(r){return r.map(e.encode)},e)}var fe=function(e){function r(r,t,i,n,o){var a=e.call(this,r,t,i,n)||this;return a.props=o,a._tag="InterfaceType",a}return o(r,e),r}(l);function me(e,r){void 0===r&&(r=w(e));var t=Object.keys(e),i=t.map((function(r){return e[r]})),o=t.length;return new fe(r,(function(e){if(te.is(e)){for(var r=0;r<o;r++){var n=t[r],a=e[n];if(void 0===a&&!g.call(e,n)||!i[r].is(a))return!1}return!0}return!1}),(function(e,r){var s=te.validate(e,r);if((0,n.isLeft)(s))return s;for(var c=s.right,l=c,I=[],p=0;p<o;p++){var f=t[p],v=l[f],y=i[p],w=y.validate(v,m(r,f,y,v));if((0,n.isLeft)(w))h(I,w.left);else{var S=w.right;(S!==v||void 0===S&&!g.call(l,f))&&(l===c&&(l=a({},c)),l[f]=S)}}return I.length>0?u(I):d(l)}),y(i)?I:function(e){for(var r=a({},e),n=0;n<o;n++){var s=t[n],u=i[n].encode;u!==I&&(r[s]=u(e[s]))}return r},e)}var he=function(e){function r(r,t,i,n,o){var a=e.call(this,r,t,i,n)||this;return a.props=o,a._tag="PartialType",a}return o(r,e),r}(l);function ge(e,r){void 0===r&&(r=S(w(e)));var t=Object.keys(e),i=t.map((function(r){return e[r]})),o=t.length;return new he(r,(function(r){if(te.is(r)){for(var i=0;i<o;i++){var n=t[i],a=r[n];if(void 0!==a&&!e[n].is(a))return!1}return!0}return!1}),(function(r,i){var s=te.validate(r,i);if((0,n.isLeft)(s))return s;for(var c=s.right,l=c,I=[],p=0;p<o;p++){var f=t[p],g=l[f],v=e[f],y=v.validate(g,m(i,f,v,g));if((0,n.isLeft)(y))void 0!==g&&h(I,y.left);else{var w=y.right;w!==g&&(l===c&&(l=a({},c)),l[f]=w)}}return I.length>0?u(I):d(l)}),y(i)?I:function(e){for(var r=a({},e),n=0;n<o;n++){var s=t[n],u=e[s];void 0!==u&&(r[s]=i[n].encode(u))}return r},e)}var ve=function(e){function r(r,t,i,n,o,a){var s=e.call(this,r,t,i,n)||this;return s.domain=o,s.codomain=a,s._tag="DictionaryType",s}return o(r,e),r}(l);function ye(e,r,t){var i=_(e);return i?function(e,r,t,i){void 0===i&&(i="{ [K in ".concat(r.name,"]: ").concat(t.name," }"));for(var n=e.length,o={},a=0;a<n;a++)o[e[a]]=t;var s=Ee(o,i);return new ve(i,(function(e){return s.is(e)}),s.validate,s.encode,r,t)}(Object.keys(i),e,r,t):function(e,r,t){return void 0===t&&(t="{ [K in ".concat(e.name,"]: ").concat(r.name," }")),new ve(t,(function(t){return te.is(t)?Object.keys(t).every((function(i){return!e.is(i)||r.is(t[i])})):E(r)&&Array.isArray(t)}),(function(t,i){if(te.is(t)){for(var o={},a=[],s=Object.keys(t),l=s.length,I=!1,p=0;p<l;p++){var f=s[p],g=t[f],v=e.validate(f,m(i,f,e,f));if((0,n.isLeft)(v))I=!0;else{var y=v.right;I=I||y!==f,f=y;var w=r.validate(g,m(i,f,r,g));if((0,n.isLeft)(w))h(a,w.left);else{var S=w.right;I=I||S!==g,o[f]=S}}}return a.length>0?u(a):d(I?o:t)}return E(r)&&Array.isArray(t)?d(t):c(t,i)}),e.encode===I&&r.encode===I?function(r){return b(r,e)}:function(t){for(var i={},n=Object.keys(b(t,e)),o=n.length,a=0;a<o;a++){var s=n[a];i[String(e.encode(s))]=r.encode(t[s])}return i},e,r)}(e,r,t)}var we=function(e){function r(r,t,i,n,o){var a=e.call(this,r,t,i,n)||this;return a.types=o,a._tag="UnionType",a}return o(r,e),r}(l);function Se(e,r){void 0===r&&(r=T(e));var t=C(e);if(void 0!==t&&e.length>0){var i=t[0],o=t[1],a=o.length,s=function(e){for(var r=0;r<a;r++)if(-1!==o[r].indexOf(e))return r};return new Pe(r,(function(r){if(te.is(r)){var t=s(r[i]);return void 0!==t&&e[t].is(r)}return!1}),(function(r,t){var o=te.validate(r,t);if((0,n.isLeft)(o))return o;var a=o.right,u=s(a[i]);if(void 0===u)return c(r,t);var d=e[u];return d.validate(a,m(t,String(u),d,a))}),y(e)?I:function(t){var n=s(t[i]);if(void 0===n)throw new Error("no codec found to encode value in union codec ".concat(r));return e[n].encode(t)},e,i)}return new we(r,(function(r){return e.some((function(e){return e.is(r)}))}),(function(r,t){for(var i=[],o=0;o<e.length;o++){var a=e[o],s=a.validate(r,m(t,String(o),a,r));if(!(0,n.isLeft)(s))return d(s.right);h(i,s.left)}return u(i)}),y(e)?I:function(t){for(var i=0,n=e;i<n.length;i++){var o=n[i];if(o.is(t))return o.encode(t)}throw new Error("no codec found to encode value in union type ".concat(r))},e)}var _e=function(e){function r(r,t,i,n,o){var a=e.call(this,r,t,i,n)||this;return a.types=o,a._tag="IntersectionType",a}return o(r,e),r}(l);function be(e,r){void 0===r&&(r="(".concat(e.map((function(e){return e.name})).join(" & "),")"));var t=e.length;return new _e(r,(function(r){return e.every((function(e){return e.is(r)}))}),0===e.length?d:function(r,i){for(var o=[],a=[],s=0;s<t;s++){var c=e[s],l=c.validate(r,m(i,String(s),c,r));(0,n.isLeft)(l)?h(a,l.left):o.push(l.right)}return a.length>0?u(a):d(O(r,o))},0===e.length?I:function(r){return O(r,e.map((function(e){return e.encode(r)})))},e)}var Te=function(e){function r(r,t,i,n,o){var a=e.call(this,r,t,i,n)||this;return a.types=o,a._tag="TupleType",a}return o(r,e),r}(l);function Oe(e,r){void 0===r&&(r="[".concat(e.map((function(e){return e.name})).join(", "),"]"));var t=e.length;return new Te(r,(function(r){return ee.is(r)&&r.length===t&&e.every((function(e,t){return e.is(r[t])}))}),(function(r,i){var o=ee.validate(r,i);if((0,n.isLeft)(o))return o;for(var a=o.right,s=a.length>t?a.slice(0,t):a,c=[],l=0;l<t;l++){var I=a[l],p=e[l],f=p.validate(I,m(i,String(l),p,I));if((0,n.isLeft)(f))h(c,f.left);else{var g=f.right;g!==I&&(s===a&&(s=a.slice()),s[l]=g)}}return c.length>0?u(c):d(s)}),y(e)?I:function(r){return e.map((function(e,t){return e.encode(r[t])}))},e)}var ke=function(e){function r(r,t,i,n,o){var a=e.call(this,r,t,i,n)||this;return a.type=o,a._tag="ReadonlyType",a}return o(r,e),r}(l);function Ae(e,r){return void 0===r&&(r="Readonly<".concat(e.name,">")),new ke(r,e.is,e.validate,e.encode,e)}var qe=function(e){function r(r,t,i,n,o){var a=e.call(this,r,t,i,n)||this;return a.type=o,a._tag="ReadonlyArrayType",a}return o(r,e),r}(l);function Ve(e,r){void 0===r&&(r="ReadonlyArray<".concat(e.name,">"));var t=pe(e);return new qe(r,t.is,t.validate,t.encode,e)}var Ee=function(e,r){return Re(me(e),r)},xe=function(e){function r(r,t,i,n,o){var a=e.call(this,r,t,i,n)||this;return a.type=o,a._tag="ExactType",a}return o(r,e),r}(l);function Re(e,r){void 0===r&&(r=function(e){return R(e)?"{| ".concat(v(e.props)," |}"):function(e){return"PartialType"===e._tag}(e)?S("{| ".concat(v(e.props)," |}")):"Exact<".concat(e.name,">")}(e));var t=k(e);return new xe(r,e.is,(function(r,i){var o=te.validate(r,i);if((0,n.isLeft)(o))return o;var a=e.validate(r,i);return(0,n.isLeft)(a)?a:(0,n.right)(A(a.right,t))}),(function(r){return e.encode(A(r,t))}),e)}var $e=function(e){function r(){var r=e.call(this,"Function",(function(e){return"function"==typeof e}),(function(e,t){return r.is(e)?d(e):c(e,t)}),I)||this;return r._tag="FunctionType",r}return o(r,e),r}(l),Qe=new $e,Ne=function(e){function r(){var r=e.call(this,"never",(function(e){return!1}),(function(e,r){return c(e,r)}),(function(){throw new Error("cannot encode never")}))||this;return r._tag="NeverType",r}return o(r,e),r}(l),Ce=new Ne,Fe=function(e){function r(){var r=e.call(this,"any",(function(e){return!0}),d,I)||this;return r._tag="AnyType",r}return o(r,e),r}(l),ze=new Fe;function Le(e,r,t){return void 0===t&&(t="(".concat(e.name," | ").concat(p(r),")")),new se(t,(function(t){return e.is(t)&&r(t)}),(function(t,i){var o=e.validate(t,i);if((0,n.isLeft)(o))return o;var a=o.right;return r(a)?d(a):c(a,i)}),e.encode,e,r)}var Me=Le(B,Number.isInteger,"Integer"),Pe=function(e){function r(r,t,i,n,o,a){var s=e.call(this,r,t,i,n,o)||this;return s.tag=a,s}return o(r,e),r}(we),je=function(e,r,t){void 0===t&&(t=T(r));var i=Se(r,t);return i instanceof Pe?i:(console.warn("[io-ts] Cannot build a tagged union for ".concat(t,", returning a de-optimized union")),new Pe(t,i.is,i.validate,i.encode,r,e))},Ze=function(e,r){return{value:e,context:r}},Ue=function(e){return[{key:"",type:e}]},De=te,We=function(e){function r(){var r=e.call(this,"object",(function(e){return null!==e&&"object"==typeof e}),(function(e,t){return r.is(e)?d(e):c(e,t)}),I)||this;return r._tag="ObjectType",r}return o(r,e),r}(l),Ke=new We,Be=ye,Ge=function(e){function r(r,t,i,n,o){var a=e.call(this,r,t,i,n)||this;return a.props=o,a._tag="StrictType",a}return o(r,e),r}(l);function Je(e){return e}function He(e){return function(){return e}}},7250:e=>{var r=1e3,t=60*r,i=60*t,n=24*i;function o(e,r,t,i){var n=r>=1.5*t;return Math.round(e/t)+" "+i+(n?"s":"")}e.exports=function(e,a){a=a||{};var s,u,c=typeof e;if("string"===c&&e.length>0)return function(e){if(!((e=String(e)).length>100)){var o=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(o){var a=parseFloat(o[1]);switch((o[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*a;case"weeks":case"week":case"w":return 6048e5*a;case"days":case"day":case"d":return a*n;case"hours":case"hour":case"hrs":case"hr":case"h":return a*i;case"minutes":case"minute":case"mins":case"min":case"m":return a*t;case"seconds":case"second":case"secs":case"sec":case"s":return a*r;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return a;default:return}}}}(e);if("number"===c&&isFinite(e))return a.long?(s=e,(u=Math.abs(s))>=n?o(s,u,n,"day"):u>=i?o(s,u,i,"hour"):u>=t?o(s,u,t,"minute"):u>=r?o(s,u,r,"second"):s+" ms"):function(e){var o=Math.abs(e);return o>=n?Math.round(e/n)+"d":o>=i?Math.round(e/i)+"h":o>=t?Math.round(e/t)+"m":o>=r?Math.round(e/r)+"s":e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},7734:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.waitForAllLogs=r.sendLogCache=r.replaceConsole=r.numInProgressLogs=r.getLogEventCache=void 0;const i=t(5608).__importDefault(t(5692)),n=t(9023),o=t(687),a=t(6111),s=t(2551);let u=!1,c=0,d=[];const l=[];function I(e,r){return(...t)=>{const i=(0,n.format)(t[0]??""),u=t.slice(1).map((e=>(0,n.format)(e))),I=(0,s.__getRuntime)().lambdaContext.awsRequestId;if(global.__forge_tunnel__){p={invocationId:I,logLevel:e,logArguments:[i,...u]},process.stdout.write(JSON.stringify(p)+"\n")}else!function(e){e.ts<=c&&(e.ts=c+1),c=e.ts;const{featureFlags:r}=(0,s.__getRuntime)();r("xen-runtime-disable-log-batching")?l.push(m([e])):d.push(e)}({...r,type:o.LogType.LOG,id:I,P:3,ts:Date.now(),lvl:e,msg:i,"*":u,region:(0,s.__getRuntime)().container.region||a.REGION_FALLBACK});var p}}function p(e,r){switch(e){case"debug":return I(o.LogLevel.DEBUG,r);case"warn":return I(o.LogLevel.WARN,r);case"error":return I(o.LogLevel.ERROR,r);default:return I(o.LogLevel.INFO,r)}}r.getLogEventCache=()=>d,r.numInProgressLogs=()=>d.length+l.length;const f=new Map(o.CONSOLE_METHODS.map((e=>[e,global.console[e]])));async function m(e){const{metrics:r}=(0,s.__getRuntime)(),t=i.default.request({method:"POST",protocol:"https",host:"logs",path:"",headers:{"Content-Type":"application/json"},agent:"FORGE_PRODUCT_REQUEST"});t.write(JSON.stringify(e));const n=await new Promise((e=>{t.on("response",(({statusCode:r})=>e({statusCode:r}))),t.on("error",(t=>{r.counter("sent-logs-error",{code:t.code??"none"}).incr(),process.stderr.write(`Sending logs to proxy ${t.stack??t.toString()}\n`),e({})})),t.end()}));200===n.statusCode?r.counter("sent-logs-success").incr():(process.stderr.write(`Error returned from proxy when sending logs: status code ${n.statusCode}\n`),r.counter("sent-logs-failure",{statusCode:String(n.statusCode)}).incr())}function h(){l.splice(0,l.length)}r.replaceConsole=function(e){d=[],c=0,u=!1,h();for(const r of o.CONSOLE_METHODS)global.console[r]=p(r,e);console.__forge_restore__=()=>{for(const e of o.CONSOLE_METHODS)global.console[e]=f.get(e)}},r.sendLogCache=async function(){if(d.length>0&&!u){const e=d;d=[];try{u=!0,await m(e)}finally{u=!1}}},r.waitForAllLogs=async function(){await Promise.all(l),h()}},7720:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.replaceHttps=r.overrideOptions=r.FORGE_METRICS_CACHE_HEADER=void 0;const i=t(5608),n=t(8611),o=t(2987),a=t(7016),s=i.__importDefault(t(5615)),u=t(2551),c=t(5692),d=new s.default.HttpsAgent({freeSocketTimeout:55e3});c.globalAgent=d;const l=e=>"function"==typeof e,I=e=>"string"==typeof e,p=e=>I(e)||(e=>"object"==typeof e&&"URL"===e.constructor.name)(e),f=e=>!p(e)&&!l(e);function m(e){return`https://${e.auth?`${e.auth}@`:""}${e.hostname??e.host}${e.port?`:${e.port}`:""}${e.path??"/"}`}r.FORGE_METRICS_CACHE_HEADER="x-cache-hit";const h="forge-proxy-upstream-latency",g="forge-proxy-relative-location",v=new Set([300,301,302,303,307,308]),y=c.request,w=c.get;function S(e){const r={options:{}};if(e.length>0&&p(e[0])){const t=I(e[0])?new a.URL(e[0]):e[0];r.options=(0,a.urlToHttpOptions)(t),e.shift()}return e.length>0&&f(e[0])&&(r.options=Object.assign(r.options,e[0]),e.shift()),e.length>0&&l(e[0])&&(r.callback=e[0],e.shift()),r}const _=["app","user","none"],b=["jira","confluence","stargate","bitbucket"],T={app:"asApp",user:"asUser"},O={jira:"requestJira",confluence:"requestConfluence",bitbucket:"requestBitbucket",stargate:"requestAtlassian"},k={proxy:"true"};function A(e){switch(e.type){case"logs":return"api.log";case"egress":return"api.fetch";case"rms":return"api.requestRmsStore";case"rdbms":return"api.rdbms";case"aigw":return"api.ai-gateway";case"fpp":{const{provider:r,remote:t}=e;return"none"===r?`api.${O[t]}`:`api.${T[r]}.${O[t]}`}case"frc":return"api.remote-compute";case"tpp":return"api.user.external_auth"}}function q(e){return"string"==typeof e?e:Array.isArray(e)?e[0]:void 0}function V(e,r){return q(e.headers[r])}function E(){return(0,u.__getRuntime)().proxy.host}function x(){return(0,u.__getRuntime)().proxy.url}function R(){return(0,u.__getRuntime)().proxy.token}function $(){return(0,u.__getRuntime)().metrics}function Q(e){return e.host??e.hostname}function N(e){try{const{frc:r}=function(e){const[,r]=e.split(".");return JSON.parse(Buffer.from(r,"base64").toString("utf-8"))}(R()),t=r[e]?.baseUrl;return t?new a.URL(t).hostname:"unknown"}catch(e){return"unknown"}}function C(e){return"FORGE_PRODUCT_REQUEST"===e?.agent?.toString()}function F(e){return"EXTERNAL_AUTH_REQUEST"===e?.agent?.toString()}function z(e){return"FORGE_REMOTE_COMPUTE_REQUEST"===e?.agent?.toString()}function L(e,r){return M(e,"rms"===r.type?new a.URL(e.path??"",(0,u.__getRuntime)().rms?.url):new a.URL(function(e){switch(e.type){case"egress":return"/egress";case"logs":return"/logs";case"aigw":return`/aigw/${e.model}`;case"rdbms":return"/rdbms";case"fpp":return`/fpp/provider/${e.provider}/remote/${e.remote}`;case"frc":return`/frc/remote/${e.remote}`;case"tpp":return`/tpp/as/user/provider/${e.provider}/remote/${e.remote}/account/${encodeURIComponent(e.accountId)}`;case"rms":throw new Error("No proxy path for Rockmelon storage")}}(r),x()),function(e,r){const t={...e.headers,"forge-proxy-authorization":`Bearer ${R()}`};switch(function(e,r){for(const r in e)"host"===r.toLowerCase()&&delete e[r]}(t),"rms"===r.type?t.host=(0,u.__getRuntime)().rms?.host:E()&&(t.host=E()),r.type){case"rms":case"logs":case"aigw":break;case"egress":t["forge-proxy-target"]=m(e);break;case"rdbms":case"fpp":t["forge-proxy-target"]=e.path??void 0;break;case"frc":{const r=new a.URL(m(e)).searchParams.get("path");if(!r)throw new Error("Missing path in remote compute request");t["forge-proxy-target"]=r;break}case"tpp":{const r=new a.URL(m(e));t["forge-proxy-target"]=r.searchParams.get("path")??e.path??void 0;break}}return t}(e,r))}function M(e,r,t){const i=e;return delete i.port,{...i,...(0,a.urlToHttpOptions)(r),headers:t}}function P(...e){const{options:t,callback:i}=S(e),s=function(e){if(C(e)){const i=Q(e);if("rms"===i)return{type:"rms"};if("logs"===i)return{type:"logs"};if("rdbms"===i)return{type:"rdbms"};if("aigw"===i){const r=e.path;if(r&&"/"!==r){let e=r;return e.startsWith("/")&&(e=e.slice(1)),{type:"aigw",model:e}}return{type:"egress"}}if(i&&(t=i,b.includes(t))){const t=(r=e.headers,r?.authorization?q(r.authorization):r?.Authorization?q(r.Authorization):void 0);if(t?.startsWith("Forge ")){const[,e]=t.split(" ");if(function(e){return _.includes(e)}(e))return{type:"fpp",provider:e,remote:i}}else if(t)return{type:"fpp",provider:"none",remote:i}}}else if(F(e)){const r=q(e.headers?.authorization);if(r?.startsWith("Forge ")){const[,,t,i]=r.split(" ");return{type:"tpp",provider:t,remote:Q(e)??"",accountId:i}}}else if(z(e)){const r=new a.URL(m(e)).searchParams.get("remoteKey");if(!r)throw new Error("remoteKey is required for remote compute requests");return{type:"frc",remote:r}}var r,t;return{type:"egress"}}(t);(C(t)||F(t)||z(t))&&(t.agent=t?.agent?.passthrough);const u="http:"===new a.URL(x()).protocol?n.request:y,c=o.performance.now();return u(L(t,s),(e=>{$().counter("proxy-connection",{success:"true"}).incr(),$().counter(A(s),{...k,success:"true",status:`${e.statusCode}`}).incr();const n=o.performance.now()-c;$().timing(A(s),k).set(n),function(e,t,i,n){if("logs"===t.type)return;if("tpp"===t.type)return $().counter("external_auth_request_count",{authType:"user",status:`${i.statusCode}`}).incr(),void $().timing("external_auth_request_latency",{authType:"user"}).set(n);const o=(()=>{switch(t.type){case"egress":return{provider:"none",remote:"egress",url:Q(e)||e.path||"unknown"};case"fpp":return{provider:t.provider,remote:t.remote,url:e.path||"unknown"};case"frc":return{provider:"none",remote:"egress",url:N(t.remote)};case"rms":return{provider:"app",remote:"rockmelon-storage",url:e.path||"unknown"};case"rdbms":return{provider:"app",remote:"forge-rdbms-proxy",url:e.path||"unknown"};case"aigw":return{provider:"app",remote:"ai-gateway",url:t.model||e.path||"unknown"}}})();$().counter("forge_api_request_count",{...o,status:`${i.statusCode}`,cacheHit:V(i,r.FORGE_METRICS_CACHE_HEADER)||"unknown"}).incr(),$().timing("forge_api_request_latency",o).set(n)}(t,s,e,n);const a=V(e,h);if(void 0!==a){const e=parseInt(a);$().timing("proxy-success-overhead",k).set(n-e)}if(e.statusCode&&v.has(e.statusCode)){const r=V(e,g);r&&(e.headers.location=`https://${Q(t)}${r}`)}i?.(e)})).on("error",(e=>{$().counter("proxy-connection",{success:"false",code:e.code??"unknown"}).incr(),$().counter(A(s),{...k,success:"false",status:e.code??"unknown"}).incr()}))}function j(...e){const{options:r,callback:t}=S(e),i=P({method:"GET",...r},...t?[t]:[]);return i.end(),i}r.overrideOptions=M,r.replaceHttps=function(){c.request=P,c.get=j,c.__forge_restore__=()=>{c.request=y,c.get=w}}},6111:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.invocationHeaderLogs=r.getRuntimeName=r.REGION_FALLBACK=r.RUNTIME_NAME_FALLBACK=r.AWS_EXECUTION_ENV_PREFIX=void 0;const i=t(687),n=t(2551);function o(){const e=(0,n.__getRuntime)().container.runtime;return e?e.startsWith(r.AWS_EXECUTION_ENV_PREFIX)?e.substring(r.AWS_EXECUTION_ENV_PREFIX.length):e:r.RUNTIME_NAME_FALLBACK}r.AWS_EXECUTION_ENV_PREFIX="AWS_Lambda_",r.RUNTIME_NAME_FALLBACK="node",r.REGION_FALLBACK="us-west-2",r.getRuntimeName=o,r.invocationHeaderLogs=function(e){const{contextAri:r,appContext:t,tracing:a}=e._meta,{appId:s,environmentId:u,appVersion:c,functionKey:d,moduleKey:l,moduleType:I}=t??{};return{id:(0,n.__getRuntime)().lambdaContext.awsRequestId,type:i.LogType.HEADER,appId:s,environmentId:u,appVersion:c,installationContext:r,functionKey:d,moduleType:I,moduleKey:l,b3:`${a.traceId}-${a.spanId}`,runtime:o()}}},2551:(e,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.__getRuntime=void 0,r.__getRuntime=function(){const e=global.__forge_runtime__;if(!e)throw new Error("Forge runtime not found.");return e}},6650:(e,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.makeContainer=void 0,r.makeContainer=function(){return{region:process.env.AWS_REGION||process.env.AWS_DEFAULT_REGION,runtime:process.env.AWS_EXECUTION_ENV,handler:process.env._HANDLER?.split(".")?.[1]}}},664:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.isHostedCodeError=r.isForgePlatformError=r.PROXY_ERR=r.NEEDS_AUTHENTICATION_ERR=r.FUNCTION_FETCH_ERR=r.REQUEST_EGRESS_ALLOWLIST_ERR=r.FUNCTION_ERR=void 0;const i=t(5608),n=i.__importDefault(t(9896)),o=i.__importDefault(t(6928)),a=t(4217),s=t(687),u=t(7734),c=t(7720),d=t(6111),l=t(6650);function I(e){return[r.REQUEST_EGRESS_ALLOWLIST_ERR,r.FUNCTION_FETCH_ERR,r.NEEDS_AUTHENTICATION_ERR,r.PROXY_ERR].includes(e.name)}function p(e){return[r.FUNCTION_ERR,r.REQUEST_EGRESS_ALLOWLIST_ERR,r.FUNCTION_FETCH_ERR,r.NEEDS_AUTHENTICATION_ERR].includes("string"==typeof e?e:e.name)}r.FUNCTION_ERR="FUNCTION_ERR",r.REQUEST_EGRESS_ALLOWLIST_ERR="REQUEST_EGRESS_ALLOWLIST_ERR",r.FUNCTION_FETCH_ERR="FUNCTION_FETCH_ERR",r.NEEDS_AUTHENTICATION_ERR="NEEDS_AUTHENTICATION_ERR",r.PROXY_ERR="PROXY_ERR",r.isForgePlatformError=I,r.isHostedCodeError=p;const f=(0,l.makeContainer)(),m=f.handler;if(!m)throw new Error("Expected to find function handler name in container.");var h;process.env={},process.setSourceMapsEnabled?.(!0),r[m]=(h=m,async(e,t)=>{const i=e.body,l=(0,s.setupRequestContext)({meta:e._meta,handler:e.handler}),m=new s.MetricsCollector(new a.InMemoryMetrics({runtime:"nodejs"})),g=m.metrics(),v=e._meta.rms,y={container:f,proxy:e._meta.proxy,contextAri:e._meta.contextAri,appContext:e._meta.appContext,allowedEgress:e._meta.fetchAllowList??[],lambdaContext:t,tracing:e._meta.tracing,aaid:e._meta.aaid,externalAuth:e._meta.externalAuth,...v&&{rms:v},metrics:g,featureFlags:r=>e._meta.featureFlags?.includes(r)??!1};global.__forge_runtime__=y;for(const{key:r,value:t}of e.variables??[])process.env[r]=t;let w;try{const t=(0,d.invocationHeaderLogs)(e);(0,u.replaceConsole)(t),(0,c.replaceHttps)(),w=setInterval(u.sendLogCache,3e3);const a=o.default.join(o.default.dirname(__filename),"bundled"),s=o.default.basename(__filename).replace(/\.[cm]?js$/,"");let I=o.default.join(a,`${s}.cjs`);n.default.existsSync(I)||(I=o.default.join(a,`${s}.js`));const p=g.timing("invoke").measure(),f=require(I);let v;try{try{v=await new Promise(((e,r)=>{process.removeAllListeners("unhandledRejection"),process.on("unhandledRejection",(e=>{const t=e instanceof Error?e.message:String(e);console.error(`UnhandledPromiseRejection with reason: ${t}`),r(e)})),(async()=>f[h](i,l))().then(e).catch(r)}))}catch(e){throw e instanceof Error&&!function(e){return e.name===r.NEEDS_AUTHENTICATION_ERR&&Boolean(e.options?.isExpectedError)}(e)&&console.error(e),e}}finally{clearInterval(w),await(0,u.sendLogCache)(),await(0,u.waitForAllLogs)(),p.stop()}return{success:!0,body:v,metrics:m.collectMetrics()}}catch(e){const t=e,i=I(t)?t.name:r.FUNCTION_ERR;return{success:!1,error:{errorMessage:t.message,errorType:i,isHostedCodeError:p(i),stack:(t.stack||"").split("\n"),serviceKey:t.serviceKey,...t.options&&{options:t.options}},metrics:m.collectMetrics()}}})},848:(e,r,t)=>{"use strict";const i=t(7051);i.createWebSocketStream=t(1202),i.Server=t(5695),i.Receiver=t(1611),i.Sender=t(1031),e.exports=i},7213:(e,r,t)=>{"use strict";const{EMPTY_BUFFER:i}=t(4033);function n(e,r){if(0===e.length)return i;if(1===e.length)return e[0];const t=Buffer.allocUnsafe(r);let n=0;for(let r=0;r<e.length;r++){const i=e[r];t.set(i,n),n+=i.length}return n<r?t.slice(0,n):t}function o(e,r,t,i,n){for(let o=0;o<n;o++)t[i+o]=e[o]^r[3&o]}function a(e,r){const t=e.length;for(let i=0;i<t;i++)e[i]^=r[3&i]}function s(e){return e.byteLength===e.buffer.byteLength?e.buffer:e.buffer.slice(e.byteOffset,e.byteOffset+e.byteLength)}function u(e){if(u.readOnly=!0,Buffer.isBuffer(e))return e;let r;return e instanceof ArrayBuffer?r=Buffer.from(e):ArrayBuffer.isView(e)?r=Buffer.from(e.buffer,e.byteOffset,e.byteLength):(r=Buffer.from(e),u.readOnly=!1),r}try{const r=t(Object(function(){var e=new Error("Cannot find module 'bufferutil'");throw e.code="MODULE_NOT_FOUND",e}())),i=r.BufferUtil||r;e.exports={concat:n,mask(e,r,t,n,a){a<48?o(e,r,t,n,a):i.mask(e,r,t,n,a)},toArrayBuffer:s,toBuffer:u,unmask(e,r){e.length<32?a(e,r):i.unmask(e,r)}}}catch(r){e.exports={concat:n,mask:o,toArrayBuffer:s,toBuffer:u,unmask:a}}},4033:e=>{"use strict";e.exports={BINARY_TYPES:["nodebuffer","arraybuffer","fragments"],GUID:"258EAFA5-E914-47DA-95CA-C5AB0DC85B11",kStatusCode:Symbol("status-code"),kWebSocket:Symbol("websocket"),EMPTY_BUFFER:Buffer.alloc(0),NOOP:()=>{}}},4400:e=>{"use strict";class r{constructor(e,r){this.target=r,this.type=e}}class t extends r{constructor(e,r){super("message",r),this.data=e}}class i extends r{constructor(e,r,t){super("close",t),this.wasClean=t._closeFrameReceived&&t._closeFrameSent,this.reason=r,this.code=e}}class n extends r{constructor(e){super("open",e)}}class o extends r{constructor(e,r){super("error",r),this.message=e.message,this.error=e}}const a={addEventListener(e,r,a){if("function"!=typeof r)return;function s(e){r.call(this,new t(e,this))}function u(e,t){r.call(this,new i(e,t,this))}function c(e){r.call(this,new o(e,this))}function d(){r.call(this,new n(this))}const l=a&&a.once?"once":"on";"message"===e?(s._listener=r,this[l](e,s)):"close"===e?(u._listener=r,this[l](e,u)):"error"===e?(c._listener=r,this[l](e,c)):"open"===e?(d._listener=r,this[l](e,d)):this[l](e,r)},removeEventListener(e,r){const t=this.listeners(e);for(let i=0;i<t.length;i++)t[i]!==r&&t[i]._listener!==r||this.removeListener(e,t[i])}};e.exports=a},2009:e=>{"use strict";const r=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,1,1,1,1,1,0,0,1,1,0,1,1,0,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,0,1,0];function t(e,r,t){void 0===e[r]?e[r]=[t]:e[r].push(t)}e.exports={format:function(e){return Object.keys(e).map((r=>{let t=e[r];return Array.isArray(t)||(t=[t]),t.map((e=>[r].concat(Object.keys(e).map((r=>{let t=e[r];return Array.isArray(t)||(t=[t]),t.map((e=>!0===e?r:`${r}=${e}`)).join("; ")}))).join("; "))).join(", ")})).join(", ")},parse:function(e){const i=Object.create(null);if(void 0===e||""===e)return i;let n,o,a=Object.create(null),s=!1,u=!1,c=!1,d=-1,l=-1,I=0;for(;I<e.length;I++){const p=e.charCodeAt(I);if(void 0===n)if(-1===l&&1===r[p])-1===d&&(d=I);else if(32===p||9===p)-1===l&&-1!==d&&(l=I);else{if(59!==p&&44!==p)throw new SyntaxError(`Unexpected character at index ${I}`);{if(-1===d)throw new SyntaxError(`Unexpected character at index ${I}`);-1===l&&(l=I);const r=e.slice(d,l);44===p?(t(i,r,a),a=Object.create(null)):n=r,d=l=-1}}else if(void 0===o)if(-1===l&&1===r[p])-1===d&&(d=I);else if(32===p||9===p)-1===l&&-1!==d&&(l=I);else if(59===p||44===p){if(-1===d)throw new SyntaxError(`Unexpected character at index ${I}`);-1===l&&(l=I),t(a,e.slice(d,l),!0),44===p&&(t(i,n,a),a=Object.create(null),n=void 0),d=l=-1}else{if(61!==p||-1===d||-1!==l)throw new SyntaxError(`Unexpected character at index ${I}`);o=e.slice(d,I),d=l=-1}else if(u){if(1!==r[p])throw new SyntaxError(`Unexpected character at index ${I}`);-1===d?d=I:s||(s=!0),u=!1}else if(c)if(1===r[p])-1===d&&(d=I);else if(34===p&&-1!==d)c=!1,l=I;else{if(92!==p)throw new SyntaxError(`Unexpected character at index ${I}`);u=!0}else if(34===p&&61===e.charCodeAt(I-1))c=!0;else if(-1===l&&1===r[p])-1===d&&(d=I);else if(-1===d||32!==p&&9!==p){if(59!==p&&44!==p)throw new SyntaxError(`Unexpected character at index ${I}`);{if(-1===d)throw new SyntaxError(`Unexpected character at index ${I}`);-1===l&&(l=I);let r=e.slice(d,l);s&&(r=r.replace(/\\/g,""),s=!1),t(a,o,r),44===p&&(t(i,n,a),a=Object.create(null),n=void 0),o=void 0,d=l=-1}}else-1===l&&(l=I)}if(-1===d||c)throw new SyntaxError("Unexpected end of input");-1===l&&(l=I);const p=e.slice(d,l);return void 0===n?t(i,p,a):(void 0===o?t(a,p,!0):t(a,o,s?p.replace(/\\/g,""):p),t(i,n,a)),i}}},5348:e=>{"use strict";const r=Symbol("kDone"),t=Symbol("kRun");e.exports=class{constructor(e){this[r]=()=>{this.pending--,this[t]()},this.concurrency=e||1/0,this.jobs=[],this.pending=0}add(e){this.jobs.push(e),this[t]()}[t](){if(this.pending!==this.concurrency&&this.jobs.length){const e=this.jobs.shift();this.pending++,e(this[r])}}}},6978:(e,r,t)=>{"use strict";const i=t(3106),n=t(7213),o=t(5348),{kStatusCode:a,NOOP:s}=t(4033),u=Buffer.from([0,0,255,255]),c=Symbol("permessage-deflate"),d=Symbol("total-length"),l=Symbol("callback"),I=Symbol("buffers"),p=Symbol("error");let f;function m(e){this[I].push(e),this[d]+=e.length}function h(e){this[d]+=e.length,this[c]._maxPayload<1||this[d]<=this[c]._maxPayload?this[I].push(e):(this[p]=new RangeError("Max payload size exceeded"),this[p].code="WS_ERR_UNSUPPORTED_MESSAGE_LENGTH",this[p][a]=1009,this.removeListener("data",h),this.reset())}function g(e){this[c]._inflate=null,e[a]=1007,this[l](e)}e.exports=class{constructor(e,r,t){if(this._maxPayload=0|t,this._options=e||{},this._threshold=void 0!==this._options.threshold?this._options.threshold:1024,this._isServer=!!r,this._deflate=null,this._inflate=null,this.params=null,!f){const e=void 0!==this._options.concurrencyLimit?this._options.concurrencyLimit:10;f=new o(e)}}static get extensionName(){return"permessage-deflate"}offer(){const e={};return this._options.serverNoContextTakeover&&(e.server_no_context_takeover=!0),this._options.clientNoContextTakeover&&(e.client_no_context_takeover=!0),this._options.serverMaxWindowBits&&(e.server_max_window_bits=this._options.serverMaxWindowBits),this._options.clientMaxWindowBits?e.client_max_window_bits=this._options.clientMaxWindowBits:null==this._options.clientMaxWindowBits&&(e.client_max_window_bits=!0),e}accept(e){return e=this.normalizeParams(e),this.params=this._isServer?this.acceptAsServer(e):this.acceptAsClient(e),this.params}cleanup(){if(this._inflate&&(this._inflate.close(),this._inflate=null),this._deflate){const e=this._deflate[l];this._deflate.close(),this._deflate=null,e&&e(new Error("The deflate stream was closed while data was being processed"))}}acceptAsServer(e){const r=this._options,t=e.find((e=>!(!1===r.serverNoContextTakeover&&e.server_no_context_takeover||e.server_max_window_bits&&(!1===r.serverMaxWindowBits||"number"==typeof r.serverMaxWindowBits&&r.serverMaxWindowBits>e.server_max_window_bits)||"number"==typeof r.clientMaxWindowBits&&!e.client_max_window_bits)));if(!t)throw new Error("None of the extension offers can be accepted");return r.serverNoContextTakeover&&(t.server_no_context_takeover=!0),r.clientNoContextTakeover&&(t.client_no_context_takeover=!0),"number"==typeof r.serverMaxWindowBits&&(t.server_max_window_bits=r.serverMaxWindowBits),"number"==typeof r.clientMaxWindowBits?t.client_max_window_bits=r.clientMaxWindowBits:!0!==t.client_max_window_bits&&!1!==r.clientMaxWindowBits||delete t.client_max_window_bits,t}acceptAsClient(e){const r=e[0];if(!1===this._options.clientNoContextTakeover&&r.client_no_context_takeover)throw new Error('Unexpected parameter "client_no_context_takeover"');if(r.client_max_window_bits){if(!1===this._options.clientMaxWindowBits||"number"==typeof this._options.clientMaxWindowBits&&r.client_max_window_bits>this._options.clientMaxWindowBits)throw new Error('Unexpected or invalid parameter "client_max_window_bits"')}else"number"==typeof this._options.clientMaxWindowBits&&(r.client_max_window_bits=this._options.clientMaxWindowBits);return r}normalizeParams(e){return e.forEach((e=>{Object.keys(e).forEach((r=>{let t=e[r];if(t.length>1)throw new Error(`Parameter "${r}" must have only a single value`);if(t=t[0],"client_max_window_bits"===r){if(!0!==t){const e=+t;if(!Number.isInteger(e)||e<8||e>15)throw new TypeError(`Invalid value for parameter "${r}": ${t}`);t=e}else if(!this._isServer)throw new TypeError(`Invalid value for parameter "${r}": ${t}`)}else if("server_max_window_bits"===r){const e=+t;if(!Number.isInteger(e)||e<8||e>15)throw new TypeError(`Invalid value for parameter "${r}": ${t}`);t=e}else{if("client_no_context_takeover"!==r&&"server_no_context_takeover"!==r)throw new Error(`Unknown parameter "${r}"`);if(!0!==t)throw new TypeError(`Invalid value for parameter "${r}": ${t}`)}e[r]=t}))})),e}decompress(e,r,t){f.add((i=>{this._decompress(e,r,((e,r)=>{i(),t(e,r)}))}))}compress(e,r,t){f.add((i=>{this._compress(e,r,((e,r)=>{i(),t(e,r)}))}))}_decompress(e,r,t){const o=this._isServer?"client":"server";if(!this._inflate){const e=`${o}_max_window_bits`,r="number"!=typeof this.params[e]?i.Z_DEFAULT_WINDOWBITS:this.params[e];this._inflate=i.createInflateRaw({...this._options.zlibInflateOptions,windowBits:r}),this._inflate[c]=this,this._inflate[d]=0,this._inflate[I]=[],this._inflate.on("error",g),this._inflate.on("data",h)}this._inflate[l]=t,this._inflate.write(e),r&&this._inflate.write(u),this._inflate.flush((()=>{const e=this._inflate[p];if(e)return this._inflate.close(),this._inflate=null,void t(e);const i=n.concat(this._inflate[I],this._inflate[d]);this._inflate._readableState.endEmitted?(this._inflate.close(),this._inflate=null):(this._inflate[d]=0,this._inflate[I]=[],r&&this.params[`${o}_no_context_takeover`]&&this._inflate.reset()),t(null,i)}))}_compress(e,r,t){const o=this._isServer?"server":"client";if(!this._deflate){const e=`${o}_max_window_bits`,r="number"!=typeof this.params[e]?i.Z_DEFAULT_WINDOWBITS:this.params[e];this._deflate=i.createDeflateRaw({...this._options.zlibDeflateOptions,windowBits:r}),this._deflate[d]=0,this._deflate[I]=[],this._deflate.on("error",s),this._deflate.on("data",m)}this._deflate[l]=t,this._deflate.write(e),this._deflate.flush(i.Z_SYNC_FLUSH,(()=>{if(!this._deflate)return;let e=n.concat(this._deflate[I],this._deflate[d]);r&&(e=e.slice(0,e.length-4)),this._deflate[l]=null,this._deflate[d]=0,this._deflate[I]=[],r&&this.params[`${o}_no_context_takeover`]&&this._deflate.reset(),t(null,e)}))}}},1611:(e,r,t)=>{"use strict";const{Writable:i}=t(2203),n=t(6978),{BINARY_TYPES:o,EMPTY_BUFFER:a,kStatusCode:s,kWebSocket:u}=t(4033),{concat:c,toArrayBuffer:d,unmask:l}=t(7213),{isValidStatusCode:I,isValidUTF8:p}=t(3977);function f(e,r,t,i,n){const o=new e(t?`Invalid WebSocket frame: ${r}`:r);return Error.captureStackTrace(o,f),o.code=n,o[s]=i,o}e.exports=class extends i{constructor(e,r,t,i){super(),this._binaryType=e||o[0],this[u]=void 0,this._extensions=r||{},this._isServer=!!t,this._maxPayload=0|i,this._bufferedBytes=0,this._buffers=[],this._compressed=!1,this._payloadLength=0,this._mask=void 0,this._fragmented=0,this._masked=!1,this._fin=!1,this._opcode=0,this._totalPayloadLength=0,this._messageLength=0,this._fragments=[],this._state=0,this._loop=!1}_write(e,r,t){if(8===this._opcode&&0==this._state)return t();this._bufferedBytes+=e.length,this._buffers.push(e),this.startLoop(t)}consume(e){if(this._bufferedBytes-=e,e===this._buffers[0].length)return this._buffers.shift();if(e<this._buffers[0].length){const r=this._buffers[0];return this._buffers[0]=r.slice(e),r.slice(0,e)}const r=Buffer.allocUnsafe(e);do{const t=this._buffers[0],i=r.length-e;e>=t.length?r.set(this._buffers.shift(),i):(r.set(new Uint8Array(t.buffer,t.byteOffset,e),i),this._buffers[0]=t.slice(e)),e-=t.length}while(e>0);return r}startLoop(e){let r;this._loop=!0;do{switch(this._state){case 0:r=this.getInfo();break;case 1:r=this.getPayloadLength16();break;case 2:r=this.getPayloadLength64();break;case 3:this.getMask();break;case 4:r=this.getData(e);break;default:return void(this._loop=!1)}}while(this._loop);e(r)}getInfo(){if(this._bufferedBytes<2)return void(this._loop=!1);const e=this.consume(2);if(0!=(48&e[0]))return this._loop=!1,f(RangeError,"RSV2 and RSV3 must be clear",!0,1002,"WS_ERR_UNEXPECTED_RSV_2_3");const r=64==(64&e[0]);if(r&&!this._extensions[n.extensionName])return this._loop=!1,f(RangeError,"RSV1 must be clear",!0,1002,"WS_ERR_UNEXPECTED_RSV_1");if(this._fin=128==(128&e[0]),this._opcode=15&e[0],this._payloadLength=127&e[1],0===this._opcode){if(r)return this._loop=!1,f(RangeError,"RSV1 must be clear",!0,1002,"WS_ERR_UNEXPECTED_RSV_1");if(!this._fragmented)return this._loop=!1,f(RangeError,"invalid opcode 0",!0,1002,"WS_ERR_INVALID_OPCODE");this._opcode=this._fragmented}else if(1===this._opcode||2===this._opcode){if(this._fragmented)return this._loop=!1,f(RangeError,`invalid opcode ${this._opcode}`,!0,1002,"WS_ERR_INVALID_OPCODE");this._compressed=r}else{if(!(this._opcode>7&&this._opcode<11))return this._loop=!1,f(RangeError,`invalid opcode ${this._opcode}`,!0,1002,"WS_ERR_INVALID_OPCODE");if(!this._fin)return this._loop=!1,f(RangeError,"FIN must be set",!0,1002,"WS_ERR_EXPECTED_FIN");if(r)return this._loop=!1,f(RangeError,"RSV1 must be clear",!0,1002,"WS_ERR_UNEXPECTED_RSV_1");if(this._payloadLength>125)return this._loop=!1,f(RangeError,`invalid payload length ${this._payloadLength}`,!0,1002,"WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH")}if(this._fin||this._fragmented||(this._fragmented=this._opcode),this._masked=128==(128&e[1]),this._isServer){if(!this._masked)return this._loop=!1,f(RangeError,"MASK must be set",!0,1002,"WS_ERR_EXPECTED_MASK")}else if(this._masked)return this._loop=!1,f(RangeError,"MASK must be clear",!0,1002,"WS_ERR_UNEXPECTED_MASK");if(126===this._payloadLength)this._state=1;else{if(127!==this._payloadLength)return this.haveLength();this._state=2}}getPayloadLength16(){if(!(this._bufferedBytes<2))return this._payloadLength=this.consume(2).readUInt16BE(0),this.haveLength();this._loop=!1}getPayloadLength64(){if(this._bufferedBytes<8)return void(this._loop=!1);const e=this.consume(8),r=e.readUInt32BE(0);return r>Math.pow(2,21)-1?(this._loop=!1,f(RangeError,"Unsupported WebSocket frame: payload length > 2^53 - 1",!1,1009,"WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH")):(this._payloadLength=r*Math.pow(2,32)+e.readUInt32BE(4),this.haveLength())}haveLength(){if(this._payloadLength&&this._opcode<8&&(this._totalPayloadLength+=this._payloadLength,this._totalPayloadLength>this._maxPayload&&this._maxPayload>0))return this._loop=!1,f(RangeError,"Max payload size exceeded",!1,1009,"WS_ERR_UNSUPPORTED_MESSAGE_LENGTH");this._masked?this._state=3:this._state=4}getMask(){this._bufferedBytes<4?this._loop=!1:(this._mask=this.consume(4),this._state=4)}getData(e){let r=a;if(this._payloadLength){if(this._bufferedBytes<this._payloadLength)return void(this._loop=!1);r=this.consume(this._payloadLength),this._masked&&l(r,this._mask)}return this._opcode>7?this.controlMessage(r):this._compressed?(this._state=5,void this.decompress(r,e)):(r.length&&(this._messageLength=this._totalPayloadLength,this._fragments.push(r)),this.dataMessage())}decompress(e,r){this._extensions[n.extensionName].decompress(e,this._fin,((e,t)=>{if(e)return r(e);if(t.length){if(this._messageLength+=t.length,this._messageLength>this._maxPayload&&this._maxPayload>0)return r(f(RangeError,"Max payload size exceeded",!1,1009,"WS_ERR_UNSUPPORTED_MESSAGE_LENGTH"));this._fragments.push(t)}const i=this.dataMessage();if(i)return r(i);this.startLoop(r)}))}dataMessage(){if(this._fin){const e=this._messageLength,r=this._fragments;if(this._totalPayloadLength=0,this._messageLength=0,this._fragmented=0,this._fragments=[],2===this._opcode){let t;t="nodebuffer"===this._binaryType?c(r,e):"arraybuffer"===this._binaryType?d(c(r,e)):r,this.emit("message",t)}else{const t=c(r,e);if(!p(t))return this._loop=!1,f(Error,"invalid UTF-8 sequence",!0,1007,"WS_ERR_INVALID_UTF8");this.emit("message",t.toString())}}this._state=0}controlMessage(e){if(8===this._opcode)if(this._loop=!1,0===e.length)this.emit("conclude",1005,""),this.end();else{if(1===e.length)return f(RangeError,"invalid payload length 1",!0,1002,"WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH");{const r=e.readUInt16BE(0);if(!I(r))return f(RangeError,`invalid status code ${r}`,!0,1002,"WS_ERR_INVALID_CLOSE_CODE");const t=e.slice(2);if(!p(t))return f(Error,"invalid UTF-8 sequence",!0,1007,"WS_ERR_INVALID_UTF8");this.emit("conclude",r,t.toString()),this.end()}}else 9===this._opcode?this.emit("ping",e):this.emit("pong",e);this._state=0}}},1031:(e,r,t)=>{"use strict";t(9278),t(4756);const{randomFillSync:i}=t(6982),n=t(6978),{EMPTY_BUFFER:o}=t(4033),{isValidStatusCode:a}=t(3977),{mask:s,toBuffer:u}=t(7213),c=Buffer.alloc(4);class d{constructor(e,r){this._extensions=r||{},this._socket=e,this._firstFragment=!0,this._compress=!1,this._bufferedBytes=0,this._deflating=!1,this._queue=[]}static frame(e,r){const t=r.mask&&r.readOnly;let n=r.mask?6:2,o=e.length;e.length>=65536?(n+=8,o=127):e.length>125&&(n+=2,o=126);const a=Buffer.allocUnsafe(t?e.length+n:n);return a[0]=r.fin?128|r.opcode:r.opcode,r.rsv1&&(a[0]|=64),a[1]=o,126===o?a.writeUInt16BE(e.length,2):127===o&&(a.writeUInt32BE(0,2),a.writeUInt32BE(e.length,6)),r.mask?(i(c,0,4),a[1]|=128,a[n-4]=c[0],a[n-3]=c[1],a[n-2]=c[2],a[n-1]=c[3],t?(s(e,c,a,n,e.length),[a]):(s(e,c,e,0,e.length),[a,e])):[a,e]}close(e,r,t,i){let n;if(void 0===e)n=o;else{if("number"!=typeof e||!a(e))throw new TypeError("First argument must be a valid error code number");if(void 0===r||""===r)n=Buffer.allocUnsafe(2),n.writeUInt16BE(e,0);else{const t=Buffer.byteLength(r);if(t>123)throw new RangeError("The message must not be greater than 123 bytes");n=Buffer.allocUnsafe(2+t),n.writeUInt16BE(e,0),n.write(r,2)}}this._deflating?this.enqueue([this.doClose,n,t,i]):this.doClose(n,t,i)}doClose(e,r,t){this.sendFrame(d.frame(e,{fin:!0,rsv1:!1,opcode:8,mask:r,readOnly:!1}),t)}ping(e,r,t){const i=u(e);if(i.length>125)throw new RangeError("The data size must not be greater than 125 bytes");this._deflating?this.enqueue([this.doPing,i,r,u.readOnly,t]):this.doPing(i,r,u.readOnly,t)}doPing(e,r,t,i){this.sendFrame(d.frame(e,{fin:!0,rsv1:!1,opcode:9,mask:r,readOnly:t}),i)}pong(e,r,t){const i=u(e);if(i.length>125)throw new RangeError("The data size must not be greater than 125 bytes");this._deflating?this.enqueue([this.doPong,i,r,u.readOnly,t]):this.doPong(i,r,u.readOnly,t)}doPong(e,r,t,i){this.sendFrame(d.frame(e,{fin:!0,rsv1:!1,opcode:10,mask:r,readOnly:t}),i)}send(e,r,t){const i=u(e),o=this._extensions[n.extensionName];let a=r.binary?2:1,s=r.compress;if(this._firstFragment?(this._firstFragment=!1,s&&o&&(s=i.length>=o._threshold),this._compress=s):(s=!1,a=0),r.fin&&(this._firstFragment=!0),o){const e={fin:r.fin,rsv1:s,opcode:a,mask:r.mask,readOnly:u.readOnly};this._deflating?this.enqueue([this.dispatch,i,this._compress,e,t]):this.dispatch(i,this._compress,e,t)}else this.sendFrame(d.frame(i,{fin:r.fin,rsv1:!1,opcode:a,mask:r.mask,readOnly:u.readOnly}),t)}dispatch(e,r,t,i){if(!r)return void this.sendFrame(d.frame(e,t),i);const o=this._extensions[n.extensionName];this._bufferedBytes+=e.length,this._deflating=!0,o.compress(e,t.fin,((r,n)=>{if(this._socket.destroyed){const e=new Error("The socket was closed while data was being compressed");"function"==typeof i&&i(e);for(let r=0;r<this._queue.length;r++){const t=this._queue[r][4];"function"==typeof t&&t(e)}}else this._bufferedBytes-=e.length,this._deflating=!1,t.readOnly=!1,this.sendFrame(d.frame(n,t),i),this.dequeue()}))}dequeue(){for(;!this._deflating&&this._queue.length;){const e=this._queue.shift();this._bufferedBytes-=e[1].length,Reflect.apply(e[0],this,e.slice(1))}}enqueue(e){this._bufferedBytes+=e[1].length,this._queue.push(e)}sendFrame(e,r){2===e.length?(this._socket.cork(),this._socket.write(e[0]),this._socket.write(e[1],r),this._socket.uncork()):this._socket.write(e[0],r)}}e.exports=d},1202:(e,r,t)=>{"use strict";const{Duplex:i}=t(2203);function n(e){e.emit("close")}function o(){!this.destroyed&&this._writableState.finished&&this.destroy()}function a(e){this.removeListener("error",a),this.destroy(),0===this.listenerCount("error")&&this.emit("error",e)}e.exports=function(e,r){let t=!0,s=!0;function u(){t&&e._socket.resume()}e.readyState===e.CONNECTING?e.once("open",(function(){e._receiver.removeAllListeners("drain"),e._receiver.on("drain",u)})):(e._receiver.removeAllListeners("drain"),e._receiver.on("drain",u));const c=new i({...r,autoDestroy:!1,emitClose:!1,objectMode:!1,writableObjectMode:!1});return e.on("message",(function(r){c.push(r)||(t=!1,e._socket.pause())})),e.once("error",(function(e){c.destroyed||(s=!1,c.destroy(e))})),e.once("close",(function(){c.destroyed||c.push(null)})),c._destroy=function(r,t){if(e.readyState===e.CLOSED)return t(r),void process.nextTick(n,c);let i=!1;e.once("error",(function(e){i=!0,t(e)})),e.once("close",(function(){i||t(r),process.nextTick(n,c)})),s&&e.terminate()},c._final=function(r){e.readyState!==e.CONNECTING?null!==e._socket&&(e._socket._writableState.finished?(r(),c._readableState.endEmitted&&c.destroy()):(e._socket.once("finish",(function(){r()})),e.close())):e.once("open",(function(){c._final(r)}))},c._read=function(){e.readyState!==e.OPEN&&e.readyState!==e.CLOSING||t||(t=!0,e._receiver._writableState.needDrain||e._socket.resume())},c._write=function(r,t,i){e.readyState!==e.CONNECTING?e.send(r,i):e.once("open",(function(){c._write(r,t,i)}))},c.on("end",o),c.on("error",a),c}},3977:(e,r,t)=>{"use strict";function i(e){return e>=1e3&&e<=1014&&1004!==e&&1005!==e&&1006!==e||e>=3e3&&e<=4999}function n(e){const r=e.length;let t=0;for(;t<r;)if(0==(128&e[t]))t++;else if(192==(224&e[t])){if(t+1===r||128!=(192&e[t+1])||192==(254&e[t]))return!1;t+=2}else if(224==(240&e[t])){if(t+2>=r||128!=(192&e[t+1])||128!=(192&e[t+2])||224===e[t]&&128==(224&e[t+1])||237===e[t]&&160==(224&e[t+1]))return!1;t+=3}else{if(240!=(248&e[t]))return!1;if(t+3>=r||128!=(192&e[t+1])||128!=(192&e[t+2])||128!=(192&e[t+3])||240===e[t]&&128==(240&e[t+1])||244===e[t]&&e[t+1]>143||e[t]>244)return!1;t+=4}return!0}try{let r=t(Object(function(){var e=new Error("Cannot find module 'utf-8-validate'");throw e.code="MODULE_NOT_FOUND",e}()));"object"==typeof r&&(r=r.Validation.isValidUTF8),e.exports={isValidStatusCode:i,isValidUTF8:e=>e.length<150?n(e):r(e)}}catch(r){e.exports={isValidStatusCode:i,isValidUTF8:n}}},5695:(e,r,t)=>{"use strict";const i=t(4434),n=t(8611),{createHash:o}=(t(5692),t(9278),t(4756),t(6982)),a=t(6978),s=t(7051),{format:u,parse:c}=t(2009),{GUID:d,kWebSocket:l}=t(4033),I=/^[+/0-9A-Za-z]{22}==$/;function p(e){e._state=2,e.emit("close")}function f(){this.destroy()}function m(e,r,t,i){e.writable&&(t=t||n.STATUS_CODES[r],i={Connection:"close","Content-Type":"text/html","Content-Length":Buffer.byteLength(t),...i},e.write(`HTTP/1.1 ${r} ${n.STATUS_CODES[r]}\r\n`+Object.keys(i).map((e=>`${e}: ${i[e]}`)).join("\r\n")+"\r\n\r\n"+t)),e.removeListener("error",f),e.destroy()}function h(e){return e.trim()}e.exports=class extends i{constructor(e,r){if(super(),null==(e={maxPayload:104857600,perMessageDeflate:!1,handleProtocols:null,clientTracking:!0,verifyClient:null,noServer:!1,backlog:null,server:null,host:null,path:null,port:null,...e}).port&&!e.server&&!e.noServer||null!=e.port&&(e.server||e.noServer)||e.server&&e.noServer)throw new TypeError('One and only one of the "port", "server", or "noServer" options must be specified');if(null!=e.port?(this._server=n.createServer(((e,r)=>{const t=n.STATUS_CODES[426];r.writeHead(426,{"Content-Length":t.length,"Content-Type":"text/plain"}),r.end(t)})),this._server.listen(e.port,e.host,e.backlog,r)):e.server&&(this._server=e.server),this._server){const e=this.emit.bind(this,"connection");this._removeListeners=function(e,r){for(const t of Object.keys(r))e.on(t,r[t]);return function(){for(const t of Object.keys(r))e.removeListener(t,r[t])}}(this._server,{listening:this.emit.bind(this,"listening"),error:this.emit.bind(this,"error"),upgrade:(r,t,i)=>{this.handleUpgrade(r,t,i,e)}})}!0===e.perMessageDeflate&&(e.perMessageDeflate={}),e.clientTracking&&(this.clients=new Set),this.options=e,this._state=0}address(){if(this.options.noServer)throw new Error('The server is operating in "noServer" mode');return this._server?this._server.address():null}close(e){if(e&&this.once("close",e),2===this._state)return void process.nextTick(p,this);if(1===this._state)return;if(this._state=1,this.clients)for(const e of this.clients)e.terminate();const r=this._server;r&&(this._removeListeners(),this._removeListeners=this._server=null,null!=this.options.port)?r.close(p.bind(void 0,this)):process.nextTick(p,this)}shouldHandle(e){if(this.options.path){const r=e.url.indexOf("?");if((-1!==r?e.url.slice(0,r):e.url)!==this.options.path)return!1}return!0}handleUpgrade(e,r,t,i){r.on("error",f);const n=void 0!==e.headers["sec-websocket-key"]&&e.headers["sec-websocket-key"].trim(),o=+e.headers["sec-websocket-version"],s={};if("GET"!==e.method||"websocket"!==e.headers.upgrade.toLowerCase()||!n||!I.test(n)||8!==o&&13!==o||!this.shouldHandle(e))return m(r,400);if(this.options.perMessageDeflate){const t=new a(this.options.perMessageDeflate,!0,this.options.maxPayload);try{const r=c(e.headers["sec-websocket-extensions"]);r[a.extensionName]&&(t.accept(r[a.extensionName]),s[a.extensionName]=t)}catch(e){return m(r,400)}}if(this.options.verifyClient){const a={origin:e.headers[8===o?"sec-websocket-origin":"origin"],secure:!(!e.socket.authorized&&!e.socket.encrypted),req:e};if(2===this.options.verifyClient.length)return void this.options.verifyClient(a,((o,a,u,c)=>{if(!o)return m(r,a||401,u,c);this.completeUpgrade(n,s,e,r,t,i)}));if(!this.options.verifyClient(a))return m(r,401)}this.completeUpgrade(n,s,e,r,t,i)}completeUpgrade(e,r,t,i,n,c){if(!i.readable||!i.writable)return i.destroy();if(i[l])throw new Error("server.handleUpgrade() was called more than once with the same socket, possibly due to a misconfiguration");if(this._state>0)return m(i,503);const I=["HTTP/1.1 101 Switching Protocols","Upgrade: websocket","Connection: Upgrade",`Sec-WebSocket-Accept: ${o("sha1").update(e+d).digest("base64")}`],p=new s(null);let g=t.headers["sec-websocket-protocol"];if(g&&(g=g.split(",").map(h),g=this.options.handleProtocols?this.options.handleProtocols(g,t):g[0],g&&(I.push(`Sec-WebSocket-Protocol: ${g}`),p._protocol=g)),r[a.extensionName]){const e=r[a.extensionName].params,t=u({[a.extensionName]:[e]});I.push(`Sec-WebSocket-Extensions: ${t}`),p._extensions=r}this.emit("headers",I,t),i.write(I.concat("\r\n").join("\r\n")),i.removeListener("error",f),p.setSocket(i,n,this.options.maxPayload),this.clients&&(this.clients.add(p),p.on("close",(()=>this.clients.delete(p)))),c(p,t)}}},7051:(e,r,t)=>{"use strict";const i=t(4434),n=t(5692),o=t(8611),a=t(9278),s=t(4756),{randomBytes:u,createHash:c}=t(6982),{Readable:d}=t(2203),{URL:l}=t(7016),I=t(6978),p=t(1611),f=t(1031),{BINARY_TYPES:m,EMPTY_BUFFER:h,GUID:g,kStatusCode:v,kWebSocket:y,NOOP:w}=t(4033),{addEventListener:S,removeEventListener:_}=t(4400),{format:b,parse:T}=t(2009),{toBuffer:O}=t(7213),k=["CONNECTING","OPEN","CLOSING","CLOSED"],A=[8,13];class q extends i{constructor(e,r,t){super(),this._binaryType=m[0],this._closeCode=1006,this._closeFrameReceived=!1,this._closeFrameSent=!1,this._closeMessage="",this._closeTimer=null,this._extensions={},this._protocol="",this._readyState=q.CONNECTING,this._receiver=null,this._sender=null,this._socket=null,null!==e?(this._bufferedAmount=0,this._isServer=!1,this._redirects=0,Array.isArray(r)?r=r.join(", "):"object"==typeof r&&null!==r&&(t=r,r=void 0),V(this,e,r,t)):this._isServer=!0}get binaryType(){return this._binaryType}set binaryType(e){m.includes(e)&&(this._binaryType=e,this._receiver&&(this._receiver._binaryType=e))}get bufferedAmount(){return this._socket?this._socket._writableState.length+this._sender._bufferedBytes:this._bufferedAmount}get extensions(){return Object.keys(this._extensions).join()}get onclose(){}set onclose(e){}get onerror(){}set onerror(e){}get onopen(){}set onopen(e){}get onmessage(){}set onmessage(e){}get protocol(){return this._protocol}get readyState(){return this._readyState}get url(){return this._url}setSocket(e,r,t){const i=new p(this.binaryType,this._extensions,this._isServer,t);this._sender=new f(e,this._extensions),this._receiver=i,this._socket=e,i[y]=this,e[y]=this,i.on("conclude",N),i.on("drain",C),i.on("error",F),i.on("message",L),i.on("ping",M),i.on("pong",P),e.setTimeout(0),e.setNoDelay(),r.length>0&&e.unshift(r),e.on("close",Z),e.on("data",U),e.on("end",D),e.on("error",W),this._readyState=q.OPEN,this.emit("open")}emitClose(){if(!this._socket)return this._readyState=q.CLOSED,void this.emit("close",this._closeCode,this._closeMessage);this._extensions[I.extensionName]&&this._extensions[I.extensionName].cleanup(),this._receiver.removeAllListeners(),this._readyState=q.CLOSED,this.emit("close",this._closeCode,this._closeMessage)}close(e,r){if(this.readyState!==q.CLOSED){if(this.readyState===q.CONNECTING){const e="WebSocket was closed before the connection was established";return $(this,this._req,e)}this.readyState!==q.CLOSING?(this._readyState=q.CLOSING,this._sender.close(e,r,!this._isServer,(e=>{e||(this._closeFrameSent=!0,(this._closeFrameReceived||this._receiver._writableState.errorEmitted)&&this._socket.end())})),this._closeTimer=setTimeout(this._socket.destroy.bind(this._socket),3e4)):this._closeFrameSent&&(this._closeFrameReceived||this._receiver._writableState.errorEmitted)&&this._socket.end()}}ping(e,r,t){if(this.readyState===q.CONNECTING)throw new Error("WebSocket is not open: readyState 0 (CONNECTING)");"function"==typeof e?(t=e,e=r=void 0):"function"==typeof r&&(t=r,r=void 0),"number"==typeof e&&(e=e.toString()),this.readyState===q.OPEN?(void 0===r&&(r=!this._isServer),this._sender.ping(e||h,r,t)):Q(this,e,t)}pong(e,r,t){if(this.readyState===q.CONNECTING)throw new Error("WebSocket is not open: readyState 0 (CONNECTING)");"function"==typeof e?(t=e,e=r=void 0):"function"==typeof r&&(t=r,r=void 0),"number"==typeof e&&(e=e.toString()),this.readyState===q.OPEN?(void 0===r&&(r=!this._isServer),this._sender.pong(e||h,r,t)):Q(this,e,t)}send(e,r,t){if(this.readyState===q.CONNECTING)throw new Error("WebSocket is not open: readyState 0 (CONNECTING)");if("function"==typeof r&&(t=r,r={}),"number"==typeof e&&(e=e.toString()),this.readyState!==q.OPEN)return void Q(this,e,t);const i={binary:"string"!=typeof e,mask:!this._isServer,compress:!0,fin:!0,...r};this._extensions[I.extensionName]||(i.compress=!1),this._sender.send(e||h,i,t)}terminate(){if(this.readyState!==q.CLOSED){if(this.readyState===q.CONNECTING){const e="WebSocket was closed before the connection was established";return $(this,this._req,e)}this._socket&&(this._readyState=q.CLOSING,this._socket.destroy())}}}function V(e,r,t,i){const a={protocolVersion:A[1],maxPayload:104857600,perMessageDeflate:!0,followRedirects:!1,maxRedirects:10,...i,createConnection:void 0,socketPath:void 0,hostname:void 0,protocol:void 0,timeout:void 0,method:void 0,host:void 0,path:void 0,port:void 0};if(!A.includes(a.protocolVersion))throw new RangeError(`Unsupported protocol version: ${a.protocolVersion} (supported versions: ${A.join(", ")})`);let s;r instanceof l?(s=r,e._url=r.href):(s=new l(r),e._url=r);const d="ws+unix:"===s.protocol;if(!(s.host||d&&s.pathname)){const r=new Error(`Invalid URL: ${e.url}`);if(0===e._redirects)throw r;return void E(e,r)}const p="wss:"===s.protocol||"https:"===s.protocol,f=p?443:80,m=u(16).toString("base64"),h=p?n.get:o.get;let v;if(a.createConnection=p?R:x,a.defaultPort=a.defaultPort||f,a.port=s.port||f,a.host=s.hostname.startsWith("[")?s.hostname.slice(1,-1):s.hostname,a.headers={"Sec-WebSocket-Version":a.protocolVersion,"Sec-WebSocket-Key":m,Connection:"Upgrade",Upgrade:"websocket",...a.headers},a.path=s.pathname+s.search,a.timeout=a.handshakeTimeout,a.perMessageDeflate&&(v=new I(!0!==a.perMessageDeflate?a.perMessageDeflate:{},!1,a.maxPayload),a.headers["Sec-WebSocket-Extensions"]=b({[I.extensionName]:v.offer()})),t&&(a.headers["Sec-WebSocket-Protocol"]=t),a.origin&&(a.protocolVersion<13?a.headers["Sec-WebSocket-Origin"]=a.origin:a.headers.Origin=a.origin),(s.username||s.password)&&(a.auth=`${s.username}:${s.password}`),d){const e=a.path.split(":");a.socketPath=e[0],a.path=e[1]}if(a.followRedirects){if(0===e._redirects){e._originalUnixSocket=d,e._originalSecure=p,e._originalHostOrSocketPath=d?a.socketPath:s.host;const r=i&&i.headers;if(i={...i,headers:{}},r)for(const[e,t]of Object.entries(r))i.headers[e.toLowerCase()]=t}else{const r=d?!!e._originalUnixSocket&&a.socketPath===e._originalHostOrSocketPath:!e._originalUnixSocket&&s.host===e._originalHostOrSocketPath;(!r||e._originalSecure&&!p)&&(delete a.headers.authorization,delete a.headers.cookie,r||delete a.headers.host,a.auth=void 0)}a.auth&&!i.headers.authorization&&(i.headers.authorization="Basic "+Buffer.from(a.auth).toString("base64"))}let y=e._req=h(a);a.timeout&&y.on("timeout",(()=>{$(e,y,"Opening handshake has timed out")})),y.on("error",(r=>{null===y||y.aborted||(y=e._req=null,E(e,r))})),y.on("response",(n=>{const o=n.headers.location,s=n.statusCode;if(o&&a.followRedirects&&s>=300&&s<400){if(++e._redirects>a.maxRedirects)return void $(e,y,"Maximum redirects exceeded");let n;y.abort();try{n=new l(o,r)}catch(r){return void E(e,r)}V(e,n,t,i)}else e.emit("unexpected-response",y,n)||$(e,y,`Unexpected server response: ${n.statusCode}`)})),y.on("upgrade",((r,i,n)=>{if(e.emit("upgrade",r),e.readyState!==q.CONNECTING)return;if(y=e._req=null,"websocket"!==r.headers.upgrade.toLowerCase())return void $(e,i,"Invalid Upgrade header");const o=c("sha1").update(m+g).digest("base64");if(r.headers["sec-websocket-accept"]!==o)return void $(e,i,"Invalid Sec-WebSocket-Accept header");const s=r.headers["sec-websocket-protocol"],u=(t||"").split(/, */);let d;if(!t&&s?d="Server sent a subprotocol but none was requested":t&&!s?d="Server sent no subprotocol":s&&!u.includes(s)&&(d="Server sent an invalid subprotocol"),d)return void $(e,i,d);s&&(e._protocol=s);const l=r.headers["sec-websocket-extensions"];if(void 0!==l){if(!v)return void $(e,i,"Server sent a Sec-WebSocket-Extensions header but no extension was requested");let r;try{r=T(l)}catch(r){return void $(e,i,"Invalid Sec-WebSocket-Extensions header")}const t=Object.keys(r);if(t.length){if(1!==t.length||t[0]!==I.extensionName)return void $(e,i,"Server indicated an extension that was not requested");try{v.accept(r[I.extensionName])}catch(r){return void $(e,i,"Invalid Sec-WebSocket-Extensions header")}e._extensions[I.extensionName]=v}}e.setSocket(i,n,a.maxPayload)}))}function E(e,r){e._readyState=q.CLOSING,e.emit("error",r),e.emitClose()}function x(e){return e.path=e.socketPath,a.connect(e)}function R(e){return e.path=void 0,e.servername||""===e.servername||(e.servername=a.isIP(e.host)?"":e.host),s.connect(e)}function $(e,r,t){e._readyState=q.CLOSING;const i=new Error(t);Error.captureStackTrace(i,$),r.setHeader?(r.abort(),r.socket&&!r.socket.destroyed&&r.socket.destroy(),r.once("abort",e.emitClose.bind(e)),e.emit("error",i)):(r.destroy(i),r.once("error",e.emit.bind(e,"error")),r.once("close",e.emitClose.bind(e)))}function Q(e,r,t){if(r){const t=O(r).length;e._socket?e._sender._bufferedBytes+=t:e._bufferedAmount+=t}t&&t(new Error(`WebSocket is not open: readyState ${e.readyState} (${k[e.readyState]})`))}function N(e,r){const t=this[y];t._closeFrameReceived=!0,t._closeMessage=r,t._closeCode=e,void 0!==t._socket[y]&&(t._socket.removeListener("data",U),process.nextTick(j,t._socket),1005===e?t.close():t.close(e,r))}function C(){this[y]._socket.resume()}function F(e){const r=this[y];void 0!==r._socket[y]&&(r._socket.removeListener("data",U),process.nextTick(j,r._socket),r.close(e[v])),r.emit("error",e)}function z(){this[y].emitClose()}function L(e){this[y].emit("message",e)}function M(e){const r=this[y];r.pong(e,!r._isServer,w),r.emit("ping",e)}function P(e){this[y].emit("pong",e)}function j(e){e.resume()}function Z(){const e=this[y];let r;this.removeListener("close",Z),this.removeListener("data",U),this.removeListener("end",D),e._readyState=q.CLOSING,this._readableState.endEmitted||e._closeFrameReceived||e._receiver._writableState.errorEmitted||null===(r=e._socket.read())||e._receiver.write(r),e._receiver.end(),this[y]=void 0,clearTimeout(e._closeTimer),e._receiver._writableState.finished||e._receiver._writableState.errorEmitted?e.emitClose():(e._receiver.on("error",z),e._receiver.on("finish",z))}function U(e){this[y]._receiver.write(e)||this.pause()}function D(){const e=this[y];e._readyState=q.CLOSING,e._receiver.end(),this.end()}function W(){const e=this[y];this.removeListener("error",W),this.on("error",w),e&&(e._readyState=q.CLOSING,this.destroy())}Object.defineProperty(q,"CONNECTING",{enumerable:!0,value:k.indexOf("CONNECTING")}),Object.defineProperty(q.prototype,"CONNECTING",{enumerable:!0,value:k.indexOf("CONNECTING")}),Object.defineProperty(q,"OPEN",{enumerable:!0,value:k.indexOf("OPEN")}),Object.defineProperty(q.prototype,"OPEN",{enumerable:!0,value:k.indexOf("OPEN")}),Object.defineProperty(q,"CLOSING",{enumerable:!0,value:k.indexOf("CLOSING")}),Object.defineProperty(q.prototype,"CLOSING",{enumerable:!0,value:k.indexOf("CLOSING")}),Object.defineProperty(q,"CLOSED",{enumerable:!0,value:k.indexOf("CLOSED")}),Object.defineProperty(q.prototype,"CLOSED",{enumerable:!0,value:k.indexOf("CLOSED")}),["binaryType","bufferedAmount","extensions","protocol","readyState","url"].forEach((e=>{Object.defineProperty(q.prototype,e,{enumerable:!0})})),["open","error","close","message"].forEach((e=>{Object.defineProperty(q.prototype,`on${e}`,{enumerable:!0,get(){const r=this.listeners(e);for(let e=0;e<r.length;e++)if(r[e]._listener)return r[e]._listener},set(r){const t=this.listeners(e);for(let r=0;r<t.length;r++)t[r]._listener&&this.removeListener(e,t[r]);this.addEventListener(e,r)}})})),q.prototype.addEventListener=S,q.prototype.removeEventListener=_,e.exports=q},1124:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.AppManifest=void 0;const i=t(5608),n=t(9896),o=i.__importStar(t(721)),a=i.__importDefault(t(3519)),s=i.__importDefault(t(6928)),u=t(7016),c=o.union([o.literal("authorization-header"),o.literal("form-encoded"),o.literal("uri-query")]),d=o.intersection([o.type({type:c}),o.partial({parameter:o.string,prefix:o.string})]),l=o.union([c,d]),I=o.type({key:o.string,bearerMethod:l,remotes:o.array(o.string)}),p=new o.Type("string",(e=>"string"==typeof e&&new u.URL(e)&&!0),((e,r)=>"string"==typeof e?o.success(e):o.failure(e,r)),o.identity),f=o.partial({egress:o.array(o.string),remotes:o.array(o.type({key:o.string,baseUrl:p})),providers:o.type({auth:o.array(I)})}),m=o.type({app:o.type({id:o.string})}),h=o.intersection([m,f]);class g{static FILE_NAME="manifest.yml";static async fromFile(e){const r=s.default.join(e,g.FILE_NAME),t=(0,n.readFileSync)(r,"utf-8"),i=a.default.parse(t);return new g(i)}manifest;constructor(e){if(!h.is(e))throw new Error("invalid manifest");this.manifest=e}getHostForRemote(e){const r=this.manifest.remotes?.find((({key:r})=>r===e));return r?.baseUrl}getDefaultRemoteForProvider(e){const r=this.getExternalAuthProviderConfig(e),t=r?.remotes;if(t&&t.length>0)return t[0]}getExternalAuthProviderConfig(e){return this.manifest.providers?.auth.find((r=>r.key===e))}getEgressAllowlist(){return this.manifest.egress||[]}}r.AppManifest=g},5973:(e,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0})},1924:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.setupRequestContext=r.createLicenseContext=r.createPrincipal=r.isAccountIdDefined=r.createInstallationContext=void 0;const i=t(5389);function n(e){const{contextAri:r}=e.meta,t=i.AnyAri.parse(r);if("project"===t.resourceType)return{projectId:t.resourceId,installContext:r};if("workspace"===t.resourceType){let e=t.resourceId;return"bitbucket"===t.resourceOwner&&(e=void 0!==(n=t.resourceId)?`{${n}}`:void 0),{workspaceId:e,installContext:r}}var n;return{installContext:r}}function o(e){return void 0!==e&&"undefined"!==e}function a(e){const r=e.meta.aaid;return o(r)?{accountId:r}:void 0}function s(e){const{license:r}=e.meta;if(r)return{license:{isActive:r.isActive??!1}}}r.createInstallationContext=n,r.isAccountIdDefined=o,r.createPrincipal=a,r.createLicenseContext=s,r.setupRequestContext=function(e){return{principal:a(e),...s(e),...n(e)}}},6660:(e,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.FeatureFlags=r.XEN_RUNTIME_USE_CONTEXT_ARI_IN_QUEUE_PATHS=r.XEN_RUNTIME_SHOULD_REPORT_METRICS=r.XEN_RUNTIME_SHOULD_BLOCK_EXTERNAL_FETCH=r.XEN_RUNTIME_ENABLE_NETWORK_LIMITS=r.XEN_RUNTIME_EGRESS_DISCLOSURE_ENABLED=r.XEN_RUNTIME_ENABLE_EGRESS_FILTER=r.SHOULD_ATTACH_TOKEN_FOR_APP=r.SHOULD_ATTACH_TOKEN_FOR_ATLASSIAN_ACCOUNT=void 0,r.SHOULD_ATTACH_TOKEN_FOR_ATLASSIAN_ACCOUNT="should-attach-token-for-atlassian-account",r.SHOULD_ATTACH_TOKEN_FOR_APP="should-attach-token-for-app",r.XEN_RUNTIME_ENABLE_EGRESS_FILTER="xen-runtime-enable-egress-filter",r.XEN_RUNTIME_EGRESS_DISCLOSURE_ENABLED="xen-runtime-egress-disclosure-enabled",r.XEN_RUNTIME_ENABLE_NETWORK_LIMITS="xen-runtime-enable-network-limits",r.XEN_RUNTIME_SHOULD_BLOCK_EXTERNAL_FETCH="xen-runtime-should-block-external-fetch",r.XEN_RUNTIME_SHOULD_REPORT_METRICS="xen-runtime-should-report-metrics",r.XEN_RUNTIME_USE_CONTEXT_ARI_IN_QUEUE_PATHS="xen-runtime-use-context-ari-in-queue-paths";class t{flags;static fromRequestMetaData(e){return new t(e.featureFlags||[])}constructor(e){this.flags=e}isFeatureFlagEnabled(e){return this.flags.includes(e)}}r.FeatureFlags=t},687:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.invoke=r.validateInvocation=r.InvocationValidationError=r.getUserVars=r.initializeInspector=void 0;const i=t(5608),n=t(1125),o=i.__importDefault(t(424)),a=t(9110),s=t(3598);i.__exportStar(t(1124),r),i.__exportStar(t(5973),r),i.__exportStar(t(1924),r),i.__exportStar(t(6660),r),i.__exportStar(t(6385),r),i.__exportStar(t(9110),r),i.__exportStar(t(3566),r),i.__exportStar(t(2295),r),i.__exportStar(t(6996),r),i.__exportStar(t(823),r),i.__exportStar(t(3471),r),r.initializeInspector=function(){return new s.ChromeInspector},r.getUserVars=function(){return Object.keys(process.env).reduce(((e,r)=>(r.startsWith("FORGE_USER_VAR_")&&e.push({key:r.substring(15),value:String(process.env[r]),secure:!1}),e)),[])};class u extends Error{}r.InvocationValidationError=u,r.validateInvocation=function(e){const r=a.ExternalRequestBodyType.decode(e);if((0,n.isLeft)(r))throw new u(function(e){return["Invocation validation failed:",...o.default.report(e)].join("\n")}(r));return r.right},r.invoke=function(e){return e.sandbox.execute(e.xenInvocationRequest,e.invocationLimits,e.inspector)}},6996:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),t(5608).__exportStar(t(8724),r)},8724:(e,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.perInvocationLimitsTrackerFactory=r.Limit=void 0,r.Limit={InvocationLogEntryCount:"forge-invocation-log-entry-count",FetchRequestLimit:"forge-fetch-request-count"};class t{limits={};limitCount={};constructor(e){this.limits=e||{}}incrementCount(e,r=1){this.limitCount[e]=this.getCount(e)+r}getCount(e){return this.limitCount[e]||0}getLimit(e){return this.limits[e]}hasCountRemaining(e){const r=this.limits[e];return!r||this.getCount(e)<r}}r.perInvocationLimitsTrackerFactory=e=>new t(e.getLimits())},823:(e,r)=>{"use strict";var t,i;Object.defineProperty(r,"__esModule",{value:!0}),r.LogType=r.CONSOLE_METHODS=r.CONSOLE_LEVEL_METHODS=r.LogLevel=void 0,(i=r.LogLevel||(r.LogLevel={}))[i.DEBUG=20]="DEBUG",i[i.INFO=30]="INFO",i[i.WARN=40]="WARN",i[i.ERROR=50]="ERROR",i[i.FATAL=60]="FATAL",r.CONSOLE_LEVEL_METHODS=["debug","info","warn","error"],r.CONSOLE_METHODS=[...r.CONSOLE_LEVEL_METHODS,"log"],(t=r.LogType||(r.LogType={})).HEADER="header",t.FOOTER="footer",t.LOG="log"},6385:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),t(5608).__exportStar(t(5292),r)},5292:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.createMetricsCollector=r.MetricsCollector=r.MetricType=void 0;const i=t(6011),n=t(6521),o=t(6660);var a;!function(e){e.TimerMetric="timer",e.CounterMetric="counter",e.GaugeMetric="gauge"}(a=r.MetricType||(r.MetricType={}));class s{_metrics;constructor(e){this._metrics=e}metrics(){return this._metrics}collectMetrics(){return s.collect(this._metrics)}static collect(e,r=void 0){if(!function(e){return e.constructor.name===i.InMemoryMetrics.name}(e))return[];const t=(e,r)=>e?e+"."+r:r,n=Array.from(e.getChildren().values()).map((e=>[...s.collect(e,t(r,e.getName()))])).reduce(((e,r)=>e.concat(r)),[]),o=Array.from(e.getCounters().values()).map((e=>({name:t(r,e.getName()),tags:e.getTags(),type:a.CounterMetric,value:e.getCount()}))),u=Array.from(e.getGauges().values()).map((e=>({name:t(r,e.getName()),tags:e.getTags(),type:a.GaugeMetric,value:e.getValue()}))),c=e.getTimers().map((e=>({name:t(r,e.getName()),tags:e.getTags(),type:a.TimerMetric,value:e.getTime()})));return n.push(...c,...o,...u),n}async wrapInMetrics(e,r){this._metrics.counter(e.name,e.tags).incr();const t=this._metrics.timing(e.name,e.tags).measure();try{return await r()}finally{t.stop()}}}r.MetricsCollector=s,r.createMetricsCollector=e=>{const r=e.isFeatureFlagEnabled(o.XEN_RUNTIME_SHOULD_REPORT_METRICS),t=r?new i.InMemoryMetrics:new n.NoMetrics;return{collector:new s(t),enabled:r}}},9110:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.InvocationType=r.ExternalRequestBodyType=void 0;const i=t(5608).__importStar(t(721)),n=i.type({baseUrl:i.string,key:i.string}),o=i.intersection([i.type({id:i.string,externalAccountId:i.string,displayName:i.string,scopes:i.array(i.string)}),i.partial({avatarUrl:i.string})]),a=i.type({service:i.string,remotes:i.array(n),accounts:i.array(o)}),s=i.intersection([i.type({id:i.string,service:i.string,token:i.string}),i.partial({externalAccountId:i.string,displayName:i.string,avatarUrl:i.union([i.string,i.undefined]),scopes:i.array(i.string)})]),u=i.intersection([i.type({apiAuth:i.type({env:i.string,objects:i.string}),clientId:i.string,contextAri:i.string,tokens:i.array(s),appContext:i.type({appId:i.string,appVersion:i.string,environmentId:i.string,environmentType:i.string,invocationId:i.string,installationId:i.string,functionKey:i.string,moduleType:i.string,moduleKey:i.string}),tracing:i.type({traceId:i.string,spanId:i.string})}),i.partial({aaid:i.string,featureFlags:i.array(i.string),appToken:i.string,proxy:i.intersection([i.type({token:i.string,url:i.string}),i.partial({host:i.string})]),timeout:i.number,rms:i.type({url:i.string,host:i.string}),limits:i.record(i.string,i.number),license:i.partial({isActive:i.boolean}),fetchAllowList:i.array(i.string),externalAuth:i.array(a)})]),c=i.type({secure:i.boolean,key:i.string,value:i.union([i.string,i.undefined])});r.ExternalRequestBodyType=i.intersection([i.type({_meta:u,body:i.Dictionary,handler:i.string}),i.partial({variables:i.array(c)})]),r.InvocationType=i.type({request:r.ExternalRequestBodyType,ctx:i.type({requestId:i.string,timeout:i.number,traceId:i.string})})},3566:(e,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0})},3471:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});const i=t(5608);i.__exportStar(t(3598),r),i.__exportStar(t(3308),r),i.__exportStar(t(1645),r),i.__exportStar(t(7288),r)},3598:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.notImplementedInspector=r.ChromeInspector=r.SETUP_METHODS=void 0;const i=t(5608).__importDefault(t(848)),n=t(9023),o={null:e=>null===e,array:Array.isArray,date:e=>e instanceof Date,error:e=>e instanceof Error,regexp:e=>e instanceof RegExp},a=Object.entries(o);function s(...e){console.log("[Inspector]",...e)}function u(e){const r=typeof e;if("undefined"===r)return{type:r};if(null===e)return{type:r,subtype:"null",value:null};if("number"===r&&(isNaN(e)||!isFinite(e))){const t=e.toString();return{type:r,unserializableValue:t,description:t}}const t="object"===r?e.constructor.name:void 0,i=a.find((r=>r[1](e)));return{type:r,...t?{className:t}:void 0,...i?{subtype:i[0]}:void 0,value:e,description:(0,n.inspect)(e)}}r.SETUP_METHODS=["Profiler.enable","Runtime.enable","Debugger.enable","Debugger.setPauseOnExceptions","Debugger.setAsyncCallStackDepth","Runtime.getIsolateId","Debugger.setBlackboxPatterns","Runtime.runIfWaitingForDebugger"];class c{static DENY_CODE=1011;static DENY_REASON="Only one frontend is allowed";static FORCE_RESET_FRONTEND_STATE_EVENTS=['{"method":"Runtime.executionContextsCleared"}','{"method":"Inspector.targetReloadedAfterCrash"}'];wss;callbacks;frontendMsgsForNewSandbox=[];startServer(e=0){const r=new i.default.Server({port:e});return r.on("connection",(e=>{if(r.clients.size>1)return e.close(c.DENY_CODE,c.DENY_REASON),void s(c.DENY_REASON);e.on("error",(e=>{s("Error",e),this.stopSession()})),e.on("close",(()=>{this.frontendMsgsForNewSandbox=[],this.stopSession()})),e.on("message",(e=>{this.callbacks?(this.addMessageForNewSandbox(e,!0),this.callbacks.onMessageFromFrontend(e)):this.addMessageForNewSandbox(e,!1)}))})),this.wss=r,`127.0.0.1:${this.getWebsocketPort()}`}stopServer(){const e=this.wss;return e?(this.stopSession(),new Promise(((r,t)=>{e.close((e=>{this.wss=void 0,e?t(e):r()}))}))):Promise.resolve()}isServerStopped(){return!this.wss}startSession(e){if(!this.wss||0===this.wss.clients.size)return;if(this.callbacks)return;const r={sendMessageToFrontend:this.sendMessageToFrontend,stopSession:this.stopSession};return this.callbacks=e(r),this.forceResetFrontendState(),this.deliverMessagesForNewSandbox(),r}logConsole(e,...r){if(!this.wss||0===this.wss.clients.size)return;let t;switch(e){case"debug":t="verbose";break;case"warn":t="warning";break;default:t=e}const i={method:"Runtime.consoleAPICalled",params:{type:t,timestamp:Date.now(),args:r.map(u)}};this.sendMessageToFrontend(JSON.stringify(i))}getWebsocketPort(){const e=this.wss;if(!e)throw Error("Inspector server not started");const r=e.address();if(r&&r.port)return r.port;throw Error("Unable to find port for inspector server")}sendMessageToFrontend=e=>{const r=this.wss;r&&r.clients.forEach((r=>r.send(e)))};stopSession=()=>{if(!this.wss)return;const e=this.callbacks;e&&(this.callbacks=void 0,e.onSessionStop())};forceResetFrontendState(){for(const e of c.FORCE_RESET_FRONTEND_STATE_EVENTS)this.sendMessageToFrontend(e)}addMessageForNewSandbox(e,t){const i=(e=>{const t=JSON.parse(e),{method:i}=t;return!!i&&(!!r.SETUP_METHODS.includes(i)||i.startsWith("Debugger.")&&i.toLowerCase().includes("breakpoint")&&"Debugger.getPossibleBreakpoints"!==i)})(e);i&&this.frontendMsgsForNewSandbox.push(e)}deliverMessagesForNewSandbox(){const e=this.callbacks;if(e)for(const r of this.frontendMsgsForNewSandbox)e.onMessageFromFrontend(r)}}r.ChromeInspector=c,r.notImplementedInspector={startServer:()=>{throw new Error("Not implemented")},stopServer:async()=>{},isServerStopped:()=>!0,startSession:()=>{throw new Error("Not implemented")},logConsole:()=>{throw new Error("Not implemented")}}},3308:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.p3LogEvent=r.invokeNetworkRequestFinishEvent=r.invokeNetworkRequestStartEvent=r.getHostname=r.isNonEmptyArray=r.EVENT_NETWORK_REQUEST_FINISH=r.EVENT_NETWORK_REQUEST_START=r.EVENT_P3_LOG=r.StaticInvocationEventEmitter=void 0;const i=t(4434),n=t(7016);class o extends i.EventEmitter{}function a(e){let r;try{r=new n.URL(e).hostname}catch(e){r=""}return r}r.StaticInvocationEventEmitter=new o,r.EVENT_P3_LOG="p3-log",r.EVENT_NETWORK_REQUEST_START="network-request-start",r.EVENT_NETWORK_REQUEST_FINISH="network-request-finish",r.isNonEmptyArray=function(e){return e.length>0},r.getHostname=a,r.invokeNetworkRequestStartEvent=function(e,t){const i={invocationId:e.getInvocationId(),hostname:a(t.url),request:{body:t.request.body,headers:t.request.headers}};r.StaticInvocationEventEmitter.emit(r.EVENT_NETWORK_REQUEST_START,i)},r.invokeNetworkRequestFinishEvent=function(e,t){const i={invocationId:e.getInvocationId(),hostname:a(t.url),response:t.response,error:t.error};r.StaticInvocationEventEmitter.emit(r.EVENT_NETWORK_REQUEST_FINISH,i)},r.p3LogEvent=function(e,t,i){const n={invocationId:e.getInvocationId(),logLevel:t,logArguments:i};r.StaticInvocationEventEmitter.emit(r.EVENT_P3_LOG,n)}},1645:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.InvocationRequest=r.xenInvocationRequestFactory=void 0;const i=t(1124),n=t(6660),o=t(5389),a=t(687);class s{request;invocationId;featureFlags;serviceTokens=[];constructor(e,r){this.request=e,this.invocationId=r,this.serviceTokens=this.buildServiceTokens(e._meta.tokens)}buildServiceTokens(e){return e.map((e=>({id:e.id,service:e.service,token:e.token,externalAccountId:e.externalAccountId||"",displayName:e.displayName||"",avatarUrl:e.avatarUrl,scopes:e.scopes||[]})))}getFeatureFlags(){return this.featureFlags||(this.featureFlags=n.FeatureFlags.fromRequestMetaData(this.request._meta)),this.featureFlags}isFeatureFlagEnabled(e){return this.getFeatureFlags().isFeatureFlagEnabled(e)}getInvocationId(){return this.invocationId}getAppId(){return this.request._meta.appContext.appId}getEnvironmentId(){return this.request._meta.appContext.environmentId}getCloudId(){const e=o.AnyAri.parse(this.request._meta.contextAri);return e.cloudId?e.cloudId:e.resourceType===o.ResourceType.Site?e.resourceId:void 0}getContextAri(){return this.request._meta.contextAri}getRmsConfig(){return this.request._meta.rms}getAaid(){return this.request._meta.aaid}getInvocationResourceOwner(){return o.AnyAri.parse(this.request._meta.contextAri).resourceOwner}getWorkspaceId(){const e=o.AnyAri.parse(this.request._meta.contextAri);return"workspace"===e.resourceType?e.resourceId:void 0}getAppVersion(){return this.request._meta.appContext.appVersion}getLimits(){return this.request._meta.limits}getAppToken(){return this.request._meta.appToken}getProxy(){return this.request._meta?.proxy}getAllTokens(){return this.serviceTokens}getUserVariables(){return this.request.variables}getHandler(){return this.request.handler}getBody(){return this.request.body}getLicense(){return this.request._meta.license}getEgressAllowList(){return this.request._meta.fetchAllowList}getTracing(){return this.request._meta.tracing}__deprecatedGetMeta(){return this.request._meta}}r.xenInvocationRequestFactory=function(e){const{request:r,ctx:{requestId:t}}=e,i=(0,a.validateInvocation)(r);return new s(i,t)};class u{sandboxConfig;xenInvocationRequest;manifest;static async setup(e,r){const t=await i.AppManifest.fromFile(e.appPath);return this.setupSync(e,r,t)}static setupSync(e,r,t){return new u(e,r,t)}thirdPartyAuthTokenReferences;constructor(e,r,t){this.sandboxConfig=e,this.xenInvocationRequest=r,this.manifest=t,this.thirdPartyAuthTokenReferences=this.getThirdPartyTokenReferences()}getAppAri(){return this.manifest.manifest.app.id}isFeatureFlagEnabled(e){return this.xenInvocationRequest.isFeatureFlagEnabled(e)}getAppId(){return this.xenInvocationRequest.getAppId()}getEnvironmentId(){return this.xenInvocationRequest.getEnvironmentId()}getEgressAllowList(){return this.xenInvocationRequest.getEgressAllowList()}getHostForRemote(e){return this.manifest.getHostForRemote(e)}getDefaultRemoteForProvider(e){return this.manifest.getDefaultRemoteForProvider(e)}getExternalAuthProviderConfig(e){return this.manifest.getExternalAuthProviderConfig(e)}getSandboxConfig(){return this.sandboxConfig}getInvocationId(){return this.xenInvocationRequest.getInvocationId()}getCloudId(){return this.xenInvocationRequest.getCloudId()}getWorkspaceId(){return this.xenInvocationRequest.getWorkspaceId()}getContextAri(){return this.xenInvocationRequest.getContextAri()}getRmsConfig(){return this.xenInvocationRequest.getRmsConfig()}getInvocationResourceOwner(){return this.xenInvocationRequest.getInvocationResourceOwner()}getAppToken(){return this.xenInvocationRequest.getAppToken()}getProxy(){return this.xenInvocationRequest.getProxy()}getAaid(){return this.xenInvocationRequest.getAaid()}getTokenByTokenId(e,r){const t=this.getAllTokens(e),i=void 0!==r?t.filter((e=>e.id==r)):t;return this.pickTokenToUse(i)}getTokenByExternalAccount(e,r){const t=this.getTokensByServiceAndAccount(e,r);return this.pickTokenToUse(t)}getTokensByServiceAndAccount(e,r){const t=this.getAllTokens(e);return void 0!==r?t.filter((({externalAccountId:e})=>e===r)):t}static isSuperset(e,r){return!r||r.every((r=>e.includes(r)))}getExternalAuthAccounts(e,r,t){return this.getTokensByServiceAndAccount(e,r).filter((e=>u.isSuperset(e.scopes,t))).map((e=>({id:e.externalAccountId,displayName:e.displayName,avatarUrl:e.avatarUrl,scopes:e.scopes})))}getTokenIDsForService(e){return this.getAllTokens(e).map((e=>e.id))}getAllTokens(e){return this.xenInvocationRequest.getAllTokens().filter((({service:r})=>void 0===e||r===e))}getAtlassianTokenServiceKey(){return"atlassian-token-service-key"}pickTokenToUse(e){return e?e[0]:void 0}getAtlassianServiceToken(){const e=this.getAllTokens(this.getAtlassianTokenServiceKey());return this.pickTokenToUse(e)?.token}getAppTokenKey(){return"__atlassian-app-token"}getThirdPartyTokenReferenceList(e){return this.thirdPartyAuthTokenReferences?.filter((r=>r.serviceKey===e)).map((e=>e.reference))||[]}getThirdPartyTokenReferences(){return this.getThirdPartyTokens().map((({service:e,token:r},t)=>({reference:`${e}-${t+1}`,token:r,serviceKey:e})))}getThirdPartyTokens(){return this.getAllTokens().filter((({service:e})=>e!==this.getAtlassianTokenServiceKey()))}getThirdPartyToken(e){return this.thirdPartyAuthTokenReferences?.find((r=>r.reference===e||r.serviceKey===e))?.token}getAppVersion(){return this.xenInvocationRequest.getAppVersion()}getLimits(){return this.xenInvocationRequest.getLimits()}getLicense(){return this.xenInvocationRequest.getLicense()}getTracing(){return this.xenInvocationRequest.getTracing()}}r.InvocationRequest=u},7288:(e,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0})},2295:(e,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.SnapshotCodeError=void 0;class t extends Error{}r.SnapshotCodeError=t},5389:e=>{"use strict";var r,t=Object.defineProperty,i=Object.getOwnPropertyDescriptor,n=Object.getOwnPropertyNames,o=Object.prototype.hasOwnProperty,a={};((e,r)=>{for(var i in r)t(e,i,{get:r[i],enumerable:!0})})(a,{AnalyticsUserAri:()=>k,AnyAri:()=>g,ApprovalDeskDecisionTableAri:()=>q,ApprovalDeskRoleAri:()=>E,ApprovalDeskWorkflowAri:()=>R,ApprovalDeskWorkspaceAri:()=>Q,Ari:()=>h,Arm:()=>S,Ati:()=>m,AtlashubIdAri:()=>C,AtlashubSiteAri:()=>z,AutomationRoleAri:()=>M,AutomationRuleAri:()=>j,AvocadoAnswerAri:()=>U,AvocadoQuestionAri:()=>W,AvocadoRoleAri:()=>B,AvocadoSiteAri:()=>J,AvocadoUserAri:()=>Y,AvpDashboardAri:()=>ee,AvpDatasourceAri:()=>te,AvpRoleAri:()=>ne,AvpSiteAri:()=>ae,BeaconAlertAri:()=>ue,BeaconCustomDetectionAri:()=>de,BeaconDetectionAri:()=>Ie,BeaconDetectionSettingAri:()=>fe,BeaconRoleAri:()=>he,BeaconSiteAri:()=>ve,BeaconSubscriptionAri:()=>we,BeaconWorkspaceAri:()=>_e,BitbucketAppAri:()=>Te,BitbucketOauthConsumerAri:()=>ke,BitbucketProjectAri:()=>qe,BitbucketPullrequestAri:()=>Ee,BitbucketRepositoryAri:()=>Re,BitbucketRepositoryTransferAri:()=>Qe,BitbucketSiteAri:()=>Ce,BitbucketTeamAri:()=>ze,BitbucketWorkspaceAri:()=>Me,BrieRoleAri:()=>je,BrieSiteAri:()=>Ue,CanvasBoardAri:()=>We,CanvasDatabaseAri:()=>Be,CanvasSiteAri:()=>Je,CanvasWorkspaceAri:()=>Ye,CmdbAttributeAri:()=>er,CmdbImportConfigurationAri:()=>tr,CmdbObjectAri:()=>nr,CmdbRoleAri:()=>ar,CmdbSchemaAri:()=>ur,CmdbTypeAri:()=>dr,CmdbWorkspaceAri:()=>Ir,CommerceCatalogAccountAri:()=>fr,CommerceChangeAri:()=>hr,CommerceEntitlementAri:()=>vr,CommerceEntitlementTemplateAri:()=>wr,CommerceInitiativeAri:()=>_r,CommerceInvoiceGroupAri:()=>Tr,CommerceOfferingAri:()=>kr,CommerceOfferingRelationshipTemplateAri:()=>qr,CommerceOrderAri:()=>Er,CommercePaymentMethodAri:()=>Rr,CommercePricingPlanAri:()=>Qr,CommerceProductAri:()=>Cr,CommercePromotionAri:()=>zr,CommerceQuoteAri:()=>Mr,CommerceRoleAri:()=>jr,CommerceShipToPartyAri:()=>Ur,CommerceTransactionAccountAri:()=>Wr,CommerceWorkbenchResourceAri:()=>Br,CompassAssistantAnswerAri:()=>Jr,CompassComponentAri:()=>Yr,CompassComponentLabelAri:()=>et,CompassComponentLinkAri:()=>tt,CompassCustomFieldDefinitionAri:()=>nt,CompassDocumentAri:()=>at,CompassDocumentationCategoryAri:()=>ut,CompassEventSourceAri:()=>dt,CompassIncomingWebhookAri:()=>It,CompassMetricDefinitionAri:()=>ft,CompassMetricSourceAri:()=>ht,CompassRoleAri:()=>vt,CompassScorecardAri:()=>wt,CompassSiteAri:()=>_t,CompassUserDefinedParameterAri:()=>Tt,CompassWebhookAri:()=>kt,CompassWorkspaceAri:()=>qt,ConfluenceAdminAnnouncementBannerAri:()=>Et,ConfluenceAttachmentAri:()=>Rt,ConfluenceBlogpostAri:()=>Qt,ConfluenceCommentAri:()=>Ct,ConfluenceContentAri:()=>zt,ConfluenceDatabaseAri:()=>Mt,ConfluenceEmbedAri:()=>jt,ConfluenceEventAri:()=>Ut,ConfluenceFolderAri:()=>Wt,ConfluenceLongRunningTaskAri:()=>Bt,ConfluenceNoteAri:()=>Jt,ConfluencePageAri:()=>Yt,ConfluencePublicLinkAri:()=>ei,ConfluenceRoleAri:()=>ti,ConfluenceSiteAri:()=>ni,ConfluenceSpaceAri:()=>ai,ConfluenceTaskAri:()=>ui,ConfluenceTeamCalendarAri:()=>di,ConfluenceUserPropertyAri:()=>Ii,ConfluenceWhiteboardAri:()=>fi,ConfluenceWorkspaceAri:()=>hi,ConnectionRegistryLinkAri:()=>vi,ConversationalHelpConversationAri:()=>wi,ConversationalHelpConversationMessageAri:()=>_i,DataLakeLakeConnectionAri:()=>Ti,DevopsContainerAri:()=>ki,DevopsNamespaceAri:()=>qi,DevopsProviderAri:()=>Ei,DevopsRelationshipAri:()=>Ri,DevopsToolAri:()=>Qi,EcosystemAppAri:()=>Ci,EcosystemAppEnvironmentVersionAri:()=>zi,EcosystemConnectAppAri:()=>Mi,EcosystemEnvironmentAri:()=>ji,EcosystemExtensionAri:()=>Ui,EcosystemExtensionGroupAri:()=>Wi,EcosystemInstallationAri:()=>Bi,ElementsCustomEmojiMetadataAri:()=>Ji,ElementsWorkspaceAri:()=>Yi,ExusExternalUserAri:()=>en,FigmaFileAri:()=>tn,GoogleDocumentAri:()=>on,GoogleFormAri:()=>sn,GooglePresentationAri:()=>cn,GoogleSpreadsheetAri:()=>ln,GraphBranchAri:()=>pn,GraphBranchHistoryAri:()=>mn,GraphBuildAri:()=>gn,GraphBuildHistoryAri:()=>yn,GraphCommitAri:()=>Sn,GraphContentAri:()=>bn,GraphDeploymentAri:()=>On,GraphDeploymentHistoryAri:()=>An,GraphDesignAri:()=>Vn,GraphDesignHistoryAri:()=>xn,GraphDevopsComponentAri:()=>$n,GraphDocumentAri:()=>Nn,GraphDocumentHistoryAri:()=>Fn,GraphEmployeeAri:()=>Ln,GraphEmployeeHistoryAri:()=>Pn,GraphFeatureFlagAri:()=>Zn,GraphFeatureFlagHistoryAri:()=>Dn,GraphIncidentAri:()=>Kn,GraphIncidentHistoryAri:()=>Gn,GraphJiraProjectAndDevopsToolRelationshipAri:()=>Hn,GraphJiraProjectAndDocumentationSpaceRelationshipAri:()=>Xn,GraphJiraProjectAndOperationsTeamRelationshipAri:()=>ro,GraphJiraProjectAndVcsRepositoryRelationshipAri:()=>io,GraphJiraProjectAndVcsRepositoryRelationshipTempMigrationAri:()=>oo,GraphOperationsWorkspaceAri:()=>so,GraphPostIncidentReviewAri:()=>co,GraphPostIncidentReviewHistoryAri:()=>Io,GraphProjectAri:()=>fo,GraphPullRequestAri:()=>ho,GraphPullRequestHistoryAri:()=>vo,GraphRemoteLinkAri:()=>wo,GraphRemoteLinkHistoryAri:()=>_o,GraphRepositoryAri:()=>To,GraphSecurityContainerAri:()=>ko,GraphSecurityWorkspaceAri:()=>qo,GraphServiceAndJiraProjectRelationshipAri:()=>Ro,GraphServiceAndOperationsTeamRelationshipAri:()=>Qo,GraphServiceAndVcsRepositoryRelationshipAri:()=>Co,GraphServiceAri:()=>Eo,GraphServiceRelationshipAri:()=>zo,GraphVideoAri:()=>Mo,GraphVideoHistoryAri:()=>jo,GraphVulnerabilityAri:()=>Uo,GraphVulnerabilityHistoryAri:()=>Wo,GraphWorkspaceAri:()=>Bo,HelpArticleAri:()=>Jo,HelpChannelAri:()=>Yo,HelpHelpCenterAri:()=>ea,HelpHelpDeskAri:()=>ta,HelpLayoutAri:()=>na,HelpPortalAri:()=>aa,HelpRequestFormAri:()=>ua,IdentityAppAri:()=>da,IdentityAuthPolicyAri:()=>Ia,IdentityCustomerDirectoryAri:()=>fa,IdentityCustomerOrganizationAri:()=>ha,IdentityDirectoryAri:()=>va,IdentityDomainAri:()=>wa,IdentityGroupAri:()=>_a,IdentityOauthClientAri:()=>Ta,IdentityRoleAri:()=>ka,IdentitySiteAri:()=>qa,IdentityTeamAri:()=>Ea,IdentityTeamMemberAri:()=>Ra,IdentityThirdPartyGroupAri:()=>Qa,IdentityThirdPartyUserAri:()=>Ca,IdentityUserAri:()=>za,IdentityUserGrantAri:()=>ja,IdentityUserbaseAri:()=>Ma,JiraAlignEpicAri:()=>hd,JiraAlignInstanceAri:()=>vd,JiraAnnouncementBannerAri:()=>Ua,JiraAvailableFieldsAri:()=>Wa,JiraBranchAri:()=>Ba,JiraBranchHistoryAri:()=>Ja,JiraBuildAri:()=>Ya,JiraBuildHistoryAri:()=>es,JiraBulkOperationTaskAri:()=>ts,JiraCommentAri:()=>ns,JiraCommitAri:()=>as,JiraComponentAri:()=>us,JiraConnectAppAri:()=>ds,JiraCoreRoleAri:()=>wd,JiraCoreSiteAri:()=>_d,JiraDashboardAri:()=>Is,JiraDeploymentAri:()=>fs,JiraDeploymentHistoryAri:()=>hs,JiraDesignAri:()=>vs,JiraDesignHistoryAri:()=>ws,JiraDevopsComponentAri:()=>_s,JiraDocumentAri:()=>Ts,JiraDocumentHistoryAri:()=>ks,JiraEntitlementAri:()=>qs,JiraEntityPropertyAri:()=>Es,JiraFavouriteAri:()=>Rs,JiraFeatureFlagAri:()=>Qs,JiraFeatureFlagHistoryAri:()=>Cs,JiraFilterAri:()=>zs,JiraFilterEmailSubscriptionAri:()=>Ms,JiraIncidentAri:()=>js,JiraIncidentHistoryAri:()=>Us,JiraIssueAri:()=>Ws,JiraIssueAttachmentAri:()=>Bs,JiraIssueCommentAri:()=>Js,JiraIssueFieldMetadataAri:()=>Ys,JiraIssueFieldOptionAri:()=>eu,JiraIssueHistoryAri:()=>tu,JiraIssueLinkAri:()=>nu,JiraIssueLinkTypeAri:()=>au,JiraIssueRemoteLinkAri:()=>uu,JiraIssueSearchViewAri:()=>du,JiraIssueStatusAri:()=>Iu,JiraIssueTypeAri:()=>fu,JiraIssueTypeSchemeAri:()=>hu,JiraIssueTypeSchemeMappingAri:()=>vu,JiraIssueWorklogAri:()=>wu,JiraIssuefieldvalueAri:()=>_u,JiraNavigationConfigAri:()=>Tu,JiraNavigationItemAri:()=>ku,JiraNotificationTypeAri:()=>qu,JiraNotificationTypeSchemeAri:()=>Eu,JiraNotificationUserPreferenceAri:()=>Ru,JiraOperationsWorkspaceAri:()=>Qu,JiraPermissionSchemeAri:()=>Cu,JiraPlanAri:()=>zu,JiraPlanCrossProjectScenarioVersionAri:()=>Mu,JiraPlanCrossProjectVersionAri:()=>ju,JiraPlanScenarioAri:()=>Uu,JiraPlanScenarioIssueAri:()=>Wu,JiraPlanScenarioIssueFieldAri:()=>Bu,JiraPlanScenarioVersionAri:()=>Ju,JiraPostIncidentReviewAri:()=>Yu,JiraPostIncidentReviewHistoryAri:()=>ec,JiraPostIncidentReviewLinkAri:()=>tc,JiraPriorityAri:()=>nc,JiraProductAri:()=>ac,JiraProjectAri:()=>uc,JiraProjectCategoryAri:()=>dc,JiraProjectFeatureAri:()=>Ic,JiraProjectOverviewAri:()=>fc,JiraProjectRoleActorAri:()=>hc,JiraProjectShortcutAri:()=>vc,JiraProjectTypeAri:()=>wc,JiraPullRequestAri:()=>_c,JiraPullRequestHistoryAri:()=>Tc,JiraRemoteLinkAri:()=>kc,JiraRemoteLinkHistoryAri:()=>qc,JiraRepositoryAri:()=>Ec,JiraResolutionAri:()=>Rc,JiraResourceUsageMetricAri:()=>Qc,JiraResourceUsageRecommendationAri:()=>Cc,JiraRoleAri:()=>zc,JiraScreenTabAri:()=>Mc,JiraSecurityContainerAri:()=>jc,JiraSecurityLevelAri:()=>Uc,JiraSecurityWorkspaceAri:()=>Wc,JiraServicedeskApprovalAri:()=>Td,JiraServicedeskCalendarEventAri:()=>kd,JiraServicedeskCannedResponseAri:()=>qd,JiraServicedeskOrganizationAri:()=>Ed,JiraServicedeskQueueAri:()=>Rd,JiraServicedeskRequestTypeAri:()=>Qd,JiraServicedeskRoleAri:()=>Cd,JiraServicedeskSiteAri:()=>zd,JiraServicedeskSlaAri:()=>Md,JiraSiteAri:()=>Bc,JiraSoftwareBoardAri:()=>jd,JiraSoftwareBoardFeatureAri:()=>Ud,JiraSoftwareBoardIssueListAri:()=>Wd,JiraSoftwareCardAri:()=>Bd,JiraSoftwareCardColorAri:()=>Jd,JiraSoftwareCardLayoutAri:()=>Yd,JiraSoftwareCardParentAri:()=>el,JiraSoftwareColumnAri:()=>tl,JiraSoftwareCustomFilterAri:()=>nl,JiraSoftwareRoleAri:()=>al,JiraSoftwareSiteAri:()=>ul,JiraSoftwareSwimlaneAri:()=>dl,JiraSoftwareUserBoardConfigAri:()=>Il,JiraSoftwareViewConfigAri:()=>fl,JiraSprintAri:()=>Jc,JiraUserBroadcastMessageAri:()=>Yc,JiraVersionApproverAri:()=>td,JiraVersionAri:()=>ed,JiraVulnerabilityAri:()=>nd,JiraVulnerabilityHistoryAri:()=>ad,JiraWorkflowAri:()=>ud,JiraWorkflowSchemeAri:()=>dd,JiraWorklogAri:()=>Id,JiraWorkspaceAri:()=>fd,LinkingPlatformDatasourceAri:()=>hl,LoomSiteAri:()=>vl,MakerSpaceGroupAri:()=>wl,MapiRoleAri:()=>_l,MarketingCustomerDomainAri:()=>Tl,MarketplaceTeamAri:()=>kl,MeasurementEmailUuidAri:()=>ql,MeasurementSiteUserAri:()=>El,MeasurementUserAri:()=>Rl,MediaFileAri:()=>Ql,MercuryCommentAri:()=>Cl,MercuryFocusAreaAri:()=>zl,MercuryFocusAreaStatusUpdateAri:()=>Ml,MercuryProgramAri:()=>jl,MercuryProgramStatusUpdateAri:()=>Ul,MercuryRoleAri:()=>Wl,MercurySiteAri:()=>Bl,MercuryWorkspaceAri:()=>Jl,MicrosoftChannelAri:()=>Yl,MicrosoftSharepointDocumentAri:()=>eI,OauthClientAri:()=>tI,OpsgenieAccountLoginAri:()=>nI,OpsgenieAccountSettingsAri:()=>aI,OpsgenieAlertAri:()=>uI,OpsgenieAlertRecipientLinkAri:()=>dI,OpsgenieApiRequestMetricAri:()=>II,OpsgenieCallRoutingAri:()=>fI,OpsgenieCustomRoleAri:()=>hI,OpsgenieDeploymentAri:()=>vI,OpsgenieDeploymentServiceLinkAri:()=>wI,OpsgenieEscalationAri:()=>_I,OpsgenieEventAri:()=>TI,OpsgenieIncidentAlertLinkAri:()=>qI,OpsgenieIncidentAri:()=>kI,OpsgenieIncidentStatusUpdateAri:()=>EI,OpsgenieIncomingCallHistoryAri:()=>RI,OpsgenieIntegrationAri:()=>QI,OpsgenieNotificationAri:()=>CI,OpsgenieRoleAri:()=>zI,OpsgenieScheduleAri:()=>MI,OpsgenieScheduleRotationAri:()=>jI,OpsgenieSiteAri:()=>UI,OpsgenieTeamAri:()=>WI,OpsgenieTimelineAri:()=>BI,OpsgenieWorkspaceAri:()=>JI,OrgPolicyPolicyAri:()=>YI,PapiApiAri:()=>ep,PapiRoleAri:()=>tp,PassionfruitUserAri:()=>np,PeopleDataCostCenterAri:()=>ap,PeopleDataJobProfileAri:()=>up,PeopleDataPositionAri:()=>dp,PeopleDataSupervisoryOrgAri:()=>Ip,PeopleDataWorkerAri:()=>fp,PeoplePerftoolCalibrationAri:()=>hp,PeoplePerftoolFeedbackAri:()=>vp,PeoplePerftoolPerformanceAri:()=>wp,PlatformClassificationTagAri:()=>_p,PlatformIntegrationAri:()=>Tp,PlatformLifecycleResourceAri:()=>kp,PlatformLifecycleResourcePackageAri:()=>qp,PlatformLifecycleResourcePackageTypeAri:()=>Ep,PlatformOrgAri:()=>Rp,PlatformOrgUserAri:()=>Qp,PlatformSecureTunnelAri:()=>Cp,PlatformServicesStreamhubSchemaAri:()=>Mp,PlatformSiteAri:()=>zp,PollinatorCheckAri:()=>jp,PostOfficeMessageInstanceAri:()=>Up,PostOfficeMessageTemplateAri:()=>Wp,ResourceOwner:()=>_,ResourceType:()=>b,RovoSiteAri:()=>Bp,RuntimeAuthClientRoleAri:()=>Jp,SearchEventAri:()=>Yp,SearchForwardDocumentAri:()=>ef,SearchForwardDocumentSubscriptionAri:()=>tf,SlackChannelAri:()=>of,SlackMessageAri:()=>sf,StatuspageRoleAri:()=>cf,StatuspageSiteAri:()=>lf,SupportCustomerAri:()=>pf,TeamsTeamAri:()=>mf,TownsquareCommentAri:()=>gf,TownsquareGoalAri:()=>yf,TownsquareHelpPointerAri:()=>Sf,TownsquareLearningAri:()=>bf,TownsquareProjectAri:()=>Of,TownsquareQuestionAri:()=>Af,TownsquareRoleAri:()=>Vf,TownsquareSiteAri:()=>xf,TownsquareTagAri:()=>$f,TownsquareWorkspaceAri:()=>Nf,TrelloAttachmentAri:()=>Ff,TrelloBoardAri:()=>Lf,TrelloCardAri:()=>Pf,TrelloEnterpriseAri:()=>Zf,TrelloListAri:()=>Df,TrelloRoleAri:()=>Kf,TrelloSiteAri:()=>Gf,TrelloUserAri:()=>Hf,TrelloWorkspaceAri:()=>Xf,UnifiedHelpRoleAri:()=>rm,UnifiedHelpSiteAri:()=>im,UnifiedHelpWorkspaceAri:()=>om,UnifiedPortableProfileLinkedAccountAri:()=>sm,UnifiedPortableProfileParentAccountAri:()=>cm,UnifiedPortableProfileUnifiedAccountAri:()=>lm,UnifiedPortableProfileUnifiedProfileAri:()=>pm,ValidationError:()=>s,VirtualAgentConfigurationAri:()=>mm,VirtualAgentConversationAri:()=>gm,VirtualAgentFlowEditorAri:()=>ym,VirtualAgentIntentProjectionAri:()=>Sm,VirtualAgentIntentQuestionProjectionAri:()=>bm,VirtualAgentIntentRuleProjectionAri:()=>Om,VirtualAgentIntentTemplateAri:()=>Am,WorkatoJobAri:()=>Vm,WorkatoRecipeAri:()=>xm,WorkdayCostCenterAri:()=>$m,WorkdayJobProfileAri:()=>Nm,WorkdayPositionAri:()=>Fm,WorkdayStaffAri:()=>Lm,WorkdaySupervisoryOrgAri:()=>Pm,WorkdayWorkerAri:()=>Zm}),e.exports=(r=a,((e,r,a,s)=>{if(r&&"object"==typeof r||"function"==typeof r)for(let a of n(r))!o.call(e,a)&&undefined!==a&&t(e,a,{get:()=>r[a],enumerable:!(s=i(r,a))||s.enumerable});return e})(t({},"__esModule",{value:!0}),r));var s=class extends Error{};function u(e){if("cloud"!==e&&"third-party"!==e)throw new s(`Identifier must have a qualifier of 'cloud' or 'third-party'. Received: ${e}`)}function c(e){if("ati"!==e)throw new s(`ATI must have a qualifier of 'ati'. Received: ${e}`)}function d(e,r){if(r&&e!==r)throw new s(`Invalid resource owner - ${e}, expected ${r}.`)}function l(e,r){if(r&&e!==r)throw new s(`Invalid resource type - ${e}, expected ${r}.`)}var I=class{static getIdentifierSegments(e,r){let t=e.split(":");if(t.length<r)throw new s(`Input string must have ${r} segments.`);return t.length>r?[...t.slice(0,4),t.slice(4,t.length).join(":")]:t}},p=class extends I{static fromString(e,r){let t=this.getIdentifierSegments(e,5),[i,n,o,a,s]=t,[u,...c]=s.split("/"),d={qualifier:i,platformQualifier:n,cloudId:a,resourceOwner:o,resourceType:u,resourceId:c.join("/"),resourceIdSegmentValues:null!=r&&r.resourceIdSlug?this.ariSegmentValuesFromSlug(r.resourceIdSlug,c.join("/"),Object.keys(r.resourceIdSegmentFormats)):{}};return this.fromOpts(d,r)}static fromOpts(e,r){let{qualifier:t="ari",platformQualifier:i="cloud",resourceOwner:n,cloudId:o,resourceId:a,resourceIdSegmentValues:c,resourceType:I}=e;return function(e){if("ari"!==e)throw new s(`ARI must have a qualifier of 'ari'. Received: ${e}`)}(t),u(i),function(e,r=new RegExp("^[a-zA-Z0-9\\-]*$")){if(!e.match(r))throw new s(`Invalid cloud ID, expected ID of format ${r}.`)}(e.cloudId||"",null==r?void 0:r.cloudId),d(n,null==r?void 0:r.resourceOwner),l(I,null==r?void 0:r.resourceType),function(e,r){Object.entries(e).forEach((([e,t])=>{!function(e,r=new RegExp("[!a-zA-Z0-9\\-_.~@:{}=]+(/[!a-zA-Z0-9\\-_.~@:{}=]+)*"),t="resourceId"){let i=new RegExp(`^${r.source}$`);if(!e.match(i))throw new s(`Invalid ${t} - ${e}, expected ID of format ${i}.`)}(t,null==r?void 0:r[e],e)}))}(c,null==r?void 0:r.resourceIdSegmentFormats),{qualifier:t,resourceOwner:n,resourceType:I,platformQualifier:i,cloudId:o,resourceId:a,resourceIdSegmentValues:c}}static ariSegmentValuesFromSlug(e,r,t){let i=new RegExp("^"+e.replace(/\{(.*?)\}/g,"(?<$1>.*?)")+"$").exec(r);if(!i)throw new s(`Segment '${r}' don't match expected slug: ${e}`);return t.forEach((r=>{var t;if(null==(t=i.groups)||!t[r])throw new s(`No value supplied for '${r}' based on slug ${e}`)})),i.groups||{}}},f=class extends I{static fromString(e,r){let t=this.getIdentifierSegments(e,4),[i="ati",n="cloud",o,a]=t;return c(i),u(n),d(o,null==r?void 0:r.resourceOwner),l(a,null==r?void 0:r.resourceType),{platformQualifier:n,resourceOwner:o,resourceType:a}}static fromOpts(e,r){let{qualifier:t,platformQualifier:i,resourceOwner:n,resourceType:o}=e;return c(t),u(i),d(n,null==r?void 0:r.resourceOwner),l(o,null==r?void 0:r.resourceType),{platformQualifier:i,resourceOwner:n,resourceType:o}}},m=class e{constructor(e,r,t){this._platformQualifier=e,this._resourceOwner=r,this._resourceType=t}get platformQualifier(){return this._platformQualifier}get resourceOwner(){return this._resourceOwner}get resourceType(){return this._resourceType}static create(r){return new e(r.platformQualifier||"cloud",r.resourceOwner,r.resourceType)}static parse(r,t){let i=f.fromString(r,t);return new e(i.platformQualifier,i.resourceOwner,i.resourceType)}toString(){return`ati:${this.platformQualifier}:${this.resourceOwner}:${this.resourceType}`}toJSON(){return this.toString()}toOpts(){return{platformQualifier:this._platformQualifier,resourceOwner:this._resourceOwner,resourceType:this._resourceType}}},h=class{constructor(e){this._ati=m.create({platformQualifier:e.platformQualifier||"cloud",resourceOwner:e.resourceOwner,resourceType:e.resourceType}),this._cloudId=""!==e.cloudId?e.cloudId:void 0,this._resourceId=e.resourceId}get platformQualifier(){return this._ati.platformQualifier}get cloudId(){return this._cloudId}get resourceOwner(){return this._ati.resourceOwner}get resourceType(){return this._ati.resourceType}get resourceId(){return this._resourceId}get ati(){return this._ati}equals(e){return this.toString()===e.toString()}toString(){return`ari:${this.platformQualifier}:${this.resourceOwner}:${this.cloudId||""}:${this.resourceType}/${this.resourceId}`}toJSON(){return this.toString()}toOpts(){return{platformQualifier:this.platformQualifier,resourceOwner:this.resourceOwner,cloudId:this.cloudId,resourceType:this.resourceType,resourceId:this.resourceId}}},g=class e extends h{constructor(e){super(e)}static create(r,t){let i={...r,resourceIdSegmentValues:{}},n=p.fromOpts(i,t);return new e(n)}static parse(r,t){let i=p.fromString(r,t);return new e(i)}static check(r){try{return e.parse(r.toString()),!0}catch(e){return!1}}asAnyAri(){return this}};function v(e){if(!e)throw Error("Matcher must be defined");y(e)}function y(e){try{new RegExp(e)}catch(e){throw Error("Invalid matcher sequence")}}var w=class extends I{static fromString(e){let r=this.getIdentifierSegments(e,5),[t,i,n,o,a]=r,[s,u]=a.split("/"),c={qualifier:t,platformQualifier:i,cloudIdMatcher:o,resourceOwnerMatcher:n,resourceTypeMatcher:s,resourceIdMatcher:u};return this.fromOpts(c)}static fromOpts(e){let{qualifier:r="arm",platformQualifier:t="cloud",cloudIdMatcher:i,resourceOwnerMatcher:n,resourceTypeMatcher:o,resourceIdMatcher:a}=e;return function(e){if("arm"!==e)throw new s(`ARM must have a qualifier of 'arm'. Received: ${e}`)}(r),u(t),0!==(c=i).length&&y(c),v(n),v(o),v(a),{platformQualifier:t,cloudIdMatcher:i,resourceOwnerMatcher:n,resourceTypeMatcher:o,resourceIdMatcher:a};var c}},S=class e{static create(r){let t=w.fromOpts({...r,qualifier:"arm",platformQualifier:r.platformQualifier||"cloud",cloudIdMatcher:r.cloudIdMatcher});return new e(t)}static parse(r){let t=w.fromString(r);return new e(t)}constructor(e){this._platformQualifier=e.platformQualifier,this._cloudIdMatcher=e.cloudIdMatcher,this._resourceOwnerMatcher=e.resourceOwnerMatcher,this._resourceTypeMatcher=e.resourceTypeMatcher,this._resourceIdMatcher=e.resourceIdMatcher}get platformQualifier(){return this._platformQualifier}get cloudIdMatcher(){return this._cloudIdMatcher}get resourceOwnerMatcher(){return this._resourceOwnerMatcher}get resourceTypeMatcher(){return this._resourceTypeMatcher}get resourceIdMatcher(){return this._resourceIdMatcher}match(e){var r,t;let i=null!=(r=e.cloudId)?r:"",n=e.resourceOwner,o=e.resourceType,a=e.resourceId;return!!(new RegExp(null!=(t=this.cloudIdMatcher)?t:"").test(i)&&new RegExp(this.resourceOwnerMatcher).test(n)&&new RegExp(this.resourceTypeMatcher).test(o)&&new RegExp(this.resourceIdMatcher).test(a))}equals(e){return this.toString()===e.toString()}toString(){let{platformQualifier:e,resourceOwnerMatcher:r,cloudIdMatcher:t="",resourceTypeMatcher:i,resourceIdMatcher:n}=this;return`arm:${e}:${r}:${t}:${i}/${n}`}toJSON(){return this.toString()}toOpts(){return{platformQualifier:this.platformQualifier,cloudIdMatcher:this.cloudIdMatcher,resourceOwnerMatcher:this.resourceOwnerMatcher,resourceTypeMatcher:this.resourceTypeMatcher,resourceIdMatcher:this.resourceIdMatcher}}},_=(e=>(e.Analytics="analytics",e.ApprovalDesk="approval-desk",e.Atlashub="atlashub",e.Automation="automation",e.Avocado="avocado",e.Avp="avp",e.Beacon="beacon",e.Bitbucket="bitbucket",e.Brie="brie",e.Canvas="canvas",e.Cmdb="cmdb",e.Commerce="commerce",e.Compass="compass",e.Confluence="confluence",e.ConnectionRegistry="connection-registry",e.ConversationalHelp="conversational-help",e.DataLake="data-lake",e.Devops="devops",e.Ecosystem="ecosystem",e.Elements="elements",e.ExusExternal="exus-external",e.Figma="figma",e.Google="google",e.Graph="graph",e.Help="help",e.Identity="identity",e.Jira="jira",e.JiraAlign="jira-align",e.JiraCore="jira-core",e.JiraServicedesk="jira-servicedesk",e.JiraSoftware="jira-software",e.LinkingPlatform="linking-platform",e.Loom="loom",e.MakerSpace="maker-space",e.Mapi="mapi",e.Marketing="marketing",e.Marketplace="marketplace",e.Measurement="measurement",e.Media="media",e.Mercury="mercury",e.Microsoft="microsoft",e.Oauth="oauth",e.Opsgenie="opsgenie",e.OrgPolicy="org-policy",e.Papi="papi",e.Passionfruit="passionfruit",e.PeopleData="people-data",e.PeoplePerftool="people-perftool",e.Platform="platform",e.PlatformServices="platform-services",e.Pollinator="pollinator",e.PostOffice="post-office",e.Rovo="rovo",e.RuntimeAuthClient="runtime-auth-client",e.Search="search",e.Slack="slack",e.Statuspage="statuspage",e.Support="support",e.Teams="teams",e.Townsquare="townsquare",e.Trello="trello",e.UnifiedHelp="unified-help",e.UnifiedPortableProfile="unified-portable-profile",e.VirtualAgent="virtual-agent",e.Workato="workato",e.Workday="workday",e))(_||{}),b=(e=>(e.AccountLogin="account-login",e.AccountSettings="account-settings",e.AdminAnnouncementBanner="admin-announcement-banner",e.Alert="alert",e.AlertRecipientLink="alert-recipient-link",e.AnnouncementBanner="announcement-banner",e.Answer="answer",e.Api="api",e.ApiRequestMetric="api-request-metric",e.App="app",e.AppEnvironmentVersion="app-environment-version",e.Approval="approval",e.Article="article",e.AssistantAnswer="assistant-answer",e.Attachment="attachment",e.Attribute="attribute",e.AuthPolicy="auth-policy",e.AvailableFields="available-fields",e.Blogpost="blogpost",e.Board="board",e.BoardFeature="board-feature",e.BoardIssueList="board-issue-list",e.Branch="branch",e.BranchHistory="branch-history",e.Build="build",e.BuildHistory="build-history",e.BulkOperationTask="bulk-operation-task",e.CalendarEvent="calendar-event",e.Calibration="calibration",e.CallRouting="call-routing",e.CannedResponse="canned-response",e.Card="card",e.CardColor="card-color",e.CardLayout="card-layout",e.CardParent="card-parent",e.CatalogAccount="catalog-account",e.Change="change",e.Channel="channel",e.Check="check",e.ClassificationTag="classification-tag",e.Client="client",e.Column="column",e.Comment="comment",e.Commit="commit",e.Component="component",e.ComponentLabel="component-label",e.ComponentLink="component-link",e.Configuration="configuration",e.ConnectApp="connect-app",e.Container="container",e.Content="content",e.Conversation="conversation",e.ConversationMessage="conversation-message",e.CostCenter="cost-center",e.CustomDetection="custom-detection",e.CustomEmojiMetadata="custom-emoji-metadata",e.Customer="customer",e.CustomerDirectory="customer-directory",e.CustomerDomain="customer-domain",e.CustomerOrganization="customer-organization",e.CustomFieldDefinition="custom-field-definition",e.CustomFilter="custom-filter",e.CustomRole="custom-role",e.Dashboard="dashboard",e.Database="database",e.Datasource="datasource",e.DecisionTable="decision-table",e.Deployment="deployment",e.DeploymentHistory="deployment-history",e.DeploymentServiceLink="deployment-service-link",e.Design="design",e.DesignHistory="design-history",e.Detection="detection",e.DetectionSetting="detection-setting",e.DevopsComponent="devops-component",e.Directory="directory",e.Document="document",e.DocumentationCategory="documentation-category",e.DocumentHistory="document-history",e.Domain="domain",e.EmailUuid="email-uuid",e.Embed="embed",e.Employee="employee",e.EmployeeHistory="employee-history",e.Enterprise="enterprise",e.Entitlement="entitlement",e.EntitlementTemplate="entitlement-template",e.EntityProperty="entity-property",e.Environment="environment",e.Epic="epic",e.Escalation="escalation",e.Event="event",e.EventSource="event-source",e.Extension="extension",e.ExtensionGroup="extension-group",e.Favourite="favourite",e.FeatureFlag="feature-flag",e.FeatureFlagHistory="feature-flag-history",e.Feedback="feedback",e.File="file",e.Filter="filter",e.FilterEmailSubscription="filter-email-subscription",e.FlowEditor="flow-editor",e.FocusArea="focus-area",e.FocusAreaStatusUpdate="focus-area-status-update",e.Folder="folder",e.Form="form",e.ForwardDocument="forward-document",e.ForwardDocumentSubscription="forward-document-subscription",e.Goal="goal",e.Group="group",e.HelpCenter="help-center",e.HelpDesk="help-desk",e.HelpPointer="help-pointer",e.Id="id",e.ImportConfiguration="import-configuration",e.Incident="incident",e.IncidentAlertLink="incident-alert-link",e.IncidentHistory="incident-history",e.IncidentStatusUpdate="incident-status-update",e.IncomingCallHistory="incoming-call-history",e.IncomingWebhook="incoming-webhook",e.Initiative="initiative",e.Installation="installation",e.Instance="instance",e.Integration="integration",e.IntentProjection="intent-projection",e.IntentQuestionProjection="intent-question-projection",e.IntentRuleProjection="intent-rule-projection",e.IntentTemplate="intent-template",e.InvoiceGroup="invoice-group",e.Issue="issue",e.IssueAttachment="issue-attachment",e.IssueComment="issue-comment",e.IssueFieldMetadata="issue-field-metadata",e.IssueFieldOption="issue-field-option",e.Issuefieldvalue="issuefieldvalue",e.IssueHistory="issue-history",e.IssueLink="issue-link",e.IssueLinkType="issue-link-type",e.IssueRemoteLink="issue-remote-link",e.IssueSearchView="issue-search-view",e.IssueStatus="issue-status",e.IssueType="issue-type",e.IssueTypeScheme="issue-type-scheme",e.IssueTypeSchemeMapping="issue-type-scheme-mapping",e.IssueWorklog="issue-worklog",e.JiraProjectAndDevopsToolRelationship="jira-project-and-devops-tool-relationship",e.JiraProjectAndDocumentationSpaceRelationship="jira-project-and-documentation-space-relationship",e.JiraProjectAndOperationsTeamRelationship="jira-project-and-operations-team-relationship",e.JiraProjectAndVcsRepositoryRelationship="jira-project-and-vcs-repository-relationship",e.JiraProjectAndVcsRepositoryRelationshipTempMigration="jira-project-and-vcs-repository-relationship-temp-migration",e.Job="job",e.JobProfile="job-profile",e.LakeConnection="lake-connection",e.Layout="layout",e.Learning="learning",e.LifecycleResource="lifecycle-resource",e.LifecycleResourcePackage="lifecycle-resource-package",e.LifecycleResourcePackageType="lifecycle-resource-package-type",e.Link="link",e.LinkedAccount="linked-account",e.List="list",e.LongRunningTask="long-running-task",e.Message="message",e.MessageInstance="message-instance",e.MessageTemplate="message-template",e.MetricDefinition="metric-definition",e.MetricSource="metric-source",e.Namespace="namespace",e.NavigationConfig="navigation-config",e.NavigationItem="navigation-item",e.Note="note",e.Notification="notification",e.NotificationType="notification-type",e.NotificationTypeScheme="notification-type-scheme",e.NotificationUserPreference="notification-user-preference",e.OauthClient="oauthClient",e.OauthConsumer="oauth-consumer",e.Object="object",e.Offering="offering",e.OfferingRelationshipTemplate="offering-relationship-template",e.OperationsWorkspace="operations-workspace",e.Order="order",e.Org="org",e.Organization="organization",e.OrgUser="org-user",e.Page="page",e.ParentAccount="parent-account",e.PaymentMethod="payment-method",e.Performance="performance",e.PermissionScheme="permission-scheme",e.Plan="plan",e.PlanCrossProjectScenarioVersion="plan-cross-project-scenario-version",e.PlanCrossProjectVersion="plan-cross-project-version",e.PlanScenario="plan-scenario",e.PlanScenarioIssue="plan-scenario-issue",e.PlanScenarioIssueField="plan-scenario-issue-field",e.PlanScenarioVersion="plan-scenario-version",e.Policy="policy",e.Portal="portal",e.Position="position",e.PostIncidentReview="post-incident-review",e.PostIncidentReviewHistory="post-incident-review-history",e.PostIncidentReviewLink="post-incident-review-link",e.Presentation="presentation",e.PricingPlan="pricing-plan",e.Priority="priority",e.Product="product",e.Program="program",e.ProgramStatusUpdate="program-status-update",e.Project="project",e.ProjectCategory="project-category",e.ProjectFeature="project-feature",e.ProjectOverview="project-overview",e.ProjectRoleActor="project-role-actor",e.ProjectShortcut="project-shortcut",e.ProjectType="project-type",e.Promotion="promotion",e.Provider="provider",e.PublicLink="public-link",e.Pullrequest="pullrequest",e.PullRequest="pull-request",e.PullRequestHistory="pull-request-history",e.Question="question",e.Queue="queue",e.Quote="quote",e.Recipe="recipe",e.Relationship="relationship",e.RemoteLink="remote-link",e.RemoteLinkHistory="remote-link-history",e.Repository="repository",e.RepositoryTransfer="repository-transfer",e.RequestForm="request-form",e.RequestType="request-type",e.Resolution="resolution",e.ResourceUsageMetric="resource-usage-metric",e.ResourceUsageRecommendation="resource-usage-recommendation",e.Role="role",e.Rule="rule",e.Schedule="schedule",e.ScheduleRotation="schedule-rotation",e.Schema="schema",e.Scorecard="scorecard",e.ScreenTab="screen-tab",e.SecureTunnel="secure-tunnel",e.SecurityContainer="security-container",e.SecurityLevel="security-level",e.SecurityWorkspace="security-workspace",e.Service="service",e.ServiceAndJiraProjectRelationship="service-and-jira-project-relationship",e.ServiceAndOperationsTeamRelationship="service-and-operations-team-relationship",e.ServiceAndVcsRepositoryRelationship="service-and-vcs-repository-relationship",e.ServiceRelationship="service-relationship",e.SharepointDocument="sharepoint-document",e.ShipToParty="ship-to-party",e.Site="site",e.SiteUser="site-user",e.Sla="sla",e.Space="space",e.Spreadsheet="spreadsheet",e.Sprint="sprint",e.Staff="staff",e.StreamhubSchema="streamhub-schema",e.Subscription="subscription",e.SupervisoryOrg="supervisory-org",e.Swimlane="swimlane",e.Tag="tag",e.Task="task",e.Team="team",e.TeamCalendar="team-calendar",e.TeamMember="team-member",e.ThirdPartyGroup="third-party-group",e.ThirdPartyUser="third-party-user",e.Timeline="timeline",e.Tool="tool",e.TransactionAccount="transaction-account",e.Type="type",e.UnifiedAccount="unified-account",e.UnifiedProfile="unified-profile",e.User="user",e.Userbase="userbase",e.UserBoardConfig="user-board-config",e.UserBroadcastMessage="user-broadcast-message",e.UserDefinedParameter="user-defined-parameter",e.UserGrant="userGrant",e.UserProperty="user-property",e.Version="version",e.VersionApprover="version-approver",e.Video="video",e.VideoHistory="video-history",e.ViewConfig="view-config",e.Vulnerability="vulnerability",e.VulnerabilityHistory="vulnerability-history",e.Webhook="webhook",e.Whiteboard="whiteboard",e.WorkbenchResource="workbench-resource",e.Worker="worker",e.Workflow="workflow",e.WorkflowScheme="workflow-scheme",e.Worklog="worklog",e.Workspace="workspace",e))(b||{}),T=class extends h{static check(e){try{return this.parse(e.toString()),!0}catch(e){return!1}}asAnyAri(){return g.parse(this.toString())}},O={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"analytics",resourceType:"user",resourceIdSlug:"anonymous/{anonUserId}",resourceIdSegmentFormats:{anonUserId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},k=class e extends T{constructor(e){super(e),this._anonUserId=e.resourceIdSegmentValues.anonUserId}get anonUserId(){return this._anonUserId}static create(r){let t={qualifier:O.qualifier,platformQualifier:O.platformQualifier,cloudId:void 0,resourceOwner:O.resourceOwner,resourceType:O.resourceType,resourceId:`anonymous/${r.anonUserId}`,resourceIdSegmentValues:{anonUserId:r.anonUserId}},i=p.fromOpts(t,O);return new e(i)}static parse(r){let t=p.fromString(r,O);return new e(t)}getVariables(){return{anonUserId:this.anonUserId}}},A={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"approval-desk",resourceType:"decision-table",resourceIdSlug:"{workspaceId}/{workflowId}/{decisionTableId}",resourceIdSegmentFormats:{workspaceId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/,workflowId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/,decisionTableId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},q=class e extends T{constructor(e){super(e),this._workspaceId=e.resourceIdSegmentValues.workspaceId,this._workflowId=e.resourceIdSegmentValues.workflowId,this._decisionTableId=e.resourceIdSegmentValues.decisionTableId}get workspaceId(){return this._workspaceId}get workflowId(){return this._workflowId}get decisionTableId(){return this._decisionTableId}static create(r){let t={qualifier:A.qualifier,platformQualifier:A.platformQualifier,cloudId:void 0,resourceOwner:A.resourceOwner,resourceType:A.resourceType,resourceId:`${r.workspaceId}/${r.workflowId}/${r.decisionTableId}`,resourceIdSegmentValues:{workspaceId:r.workspaceId,workflowId:r.workflowId,decisionTableId:r.decisionTableId}},i=p.fromOpts(t,A);return new e(i)}static parse(r){let t=p.fromString(r,A);return new e(t)}getVariables(){return{workspaceId:this.workspaceId,workflowId:this.workflowId,decisionTableId:this.decisionTableId}}},V={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"approval-desk",resourceType:"role",resourceIdSlug:"{scope}/{roleId}",resourceIdSegmentFormats:{scope:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/,roleId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},E=class e extends T{constructor(e){super(e),this._scope=e.resourceIdSegmentValues.scope,this._roleId=e.resourceIdSegmentValues.roleId}get scope(){return this._scope}get roleId(){return this._roleId}static create(r){let t={qualifier:V.qualifier,platformQualifier:V.platformQualifier,cloudId:void 0,resourceOwner:V.resourceOwner,resourceType:V.resourceType,resourceId:`${r.scope}/${r.roleId}`,resourceIdSegmentValues:{scope:r.scope,roleId:r.roleId}},i=p.fromOpts(t,V);return new e(i)}static parse(r){let t=p.fromString(r,V);return new e(t)}getVariables(){return{scope:this.scope,roleId:this.roleId}}},x={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"approval-desk",resourceType:"workflow",resourceIdSlug:"{workspaceId}/{workflowId}",resourceIdSegmentFormats:{workspaceId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/,workflowId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},R=class e extends T{constructor(e){super(e),this._workspaceId=e.resourceIdSegmentValues.workspaceId,this._workflowId=e.resourceIdSegmentValues.workflowId}get workspaceId(){return this._workspaceId}get workflowId(){return this._workflowId}static create(r){let t={qualifier:x.qualifier,platformQualifier:x.platformQualifier,cloudId:void 0,resourceOwner:x.resourceOwner,resourceType:x.resourceType,resourceId:`${r.workspaceId}/${r.workflowId}`,resourceIdSegmentValues:{workspaceId:r.workspaceId,workflowId:r.workflowId}},i=p.fromOpts(t,x);return new e(i)}static parse(r){let t=p.fromString(r,x);return new e(t)}getVariables(){return{workspaceId:this.workspaceId,workflowId:this.workflowId}}},$={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"approval-desk",resourceType:"workspace",resourceIdSlug:"{workspaceId}",resourceIdSegmentFormats:{workspaceId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},Q=class e extends T{constructor(e){super(e),this._workspaceId=e.resourceIdSegmentValues.workspaceId}get workspaceId(){return this._workspaceId}static create(r){let t={qualifier:$.qualifier,platformQualifier:$.platformQualifier,cloudId:void 0,resourceOwner:$.resourceOwner,resourceType:$.resourceType,resourceId:`${r.workspaceId}`,resourceIdSegmentValues:{workspaceId:r.workspaceId}},i=p.fromOpts(t,$);return new e(i)}static parse(r){let t=p.fromString(r,$);return new e(t)}getVariables(){return{workspaceId:this.workspaceId}}},N={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"atlashub",resourceType:"id",resourceIdSlug:"{id}",resourceIdSegmentFormats:{id:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},C=class e extends T{constructor(e){super(e),this._id=e.resourceIdSegmentValues.id}get id(){return this._id}static create(r){let t={qualifier:N.qualifier,platformQualifier:N.platformQualifier,cloudId:void 0,resourceOwner:N.resourceOwner,resourceType:N.resourceType,resourceId:`${r.id}`,resourceIdSegmentValues:{id:r.id}},i=p.fromOpts(t,N);return new e(i)}static parse(r){let t=p.fromString(r,N);return new e(t)}getVariables(){return{id:this.id}}},F={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"atlashub",resourceType:"site",resourceIdSlug:"{siteId}",resourceIdSegmentFormats:{siteId:/[a-zA-Z0-9\-]+/}},z=class e extends T{constructor(e){super(e),this._siteId=e.resourceIdSegmentValues.siteId}get siteId(){return this._siteId}static create(r){let t={qualifier:F.qualifier,platformQualifier:F.platformQualifier,cloudId:void 0,resourceOwner:F.resourceOwner,resourceType:F.resourceType,resourceId:`${r.siteId}`,resourceIdSegmentValues:{siteId:r.siteId}},i=p.fromOpts(t,F);return new e(i)}static parse(r){let t=p.fromString(r,F);return new e(t)}getVariables(){return{siteId:this.siteId}}},L={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"automation",resourceType:"role",resourceIdSlug:"{roleId}",resourceIdSegmentFormats:{roleId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},M=class e extends T{constructor(e){super(e),this._roleId=e.resourceIdSegmentValues.roleId}get roleId(){return this._roleId}static create(r){let t={qualifier:L.qualifier,platformQualifier:L.platformQualifier,cloudId:void 0,resourceOwner:L.resourceOwner,resourceType:L.resourceType,resourceId:`${r.roleId}`,resourceIdSegmentValues:{roleId:r.roleId}},i=p.fromOpts(t,L);return new e(i)}static parse(r){let t=p.fromString(r,L);return new e(t)}getVariables(){return{roleId:this.roleId}}},P={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"automation",resourceType:"rule",resourceIdSlug:"{ruleId}",resourceIdSegmentFormats:{ruleId:/[0-9]+/}},j=class e extends T{constructor(e){super(e),this._ruleId=e.resourceIdSegmentValues.ruleId}get ruleId(){return this._ruleId}static create(r){let t={qualifier:P.qualifier,platformQualifier:P.platformQualifier,cloudId:void 0,resourceOwner:P.resourceOwner,resourceType:P.resourceType,resourceId:`${r.ruleId}`,resourceIdSegmentValues:{ruleId:r.ruleId}},i=p.fromOpts(t,P);return new e(i)}static parse(r){let t=p.fromString(r,P);return new e(t)}getVariables(){return{ruleId:this.ruleId}}},Z={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"avocado",resourceType:"answer",resourceIdSlug:"activation/{workspaceId}/{answerId}",resourceIdSegmentFormats:{workspaceId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/,answerId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},U=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._workspaceId=e.resourceIdSegmentValues.workspaceId,this._answerId=e.resourceIdSegmentValues.answerId}get siteId(){return this._siteId}get workspaceId(){return this._workspaceId}get answerId(){return this._answerId}static create(r){let t={qualifier:Z.qualifier,platformQualifier:Z.platformQualifier,cloudId:r.siteId,resourceOwner:Z.resourceOwner,resourceType:Z.resourceType,resourceId:`activation/${r.workspaceId}/${r.answerId}`,resourceIdSegmentValues:{workspaceId:r.workspaceId,answerId:r.answerId}},i=p.fromOpts(t,Z);return new e(i)}static parse(r){let t=p.fromString(r,Z);return new e(t)}getVariables(){return{siteId:this.siteId,workspaceId:this.workspaceId,answerId:this.answerId}}},D={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"avocado",resourceType:"question",resourceIdSlug:"activation/{workspaceId}/{questionId}",resourceIdSegmentFormats:{workspaceId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/,questionId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},W=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._workspaceId=e.resourceIdSegmentValues.workspaceId,this._questionId=e.resourceIdSegmentValues.questionId}get siteId(){return this._siteId}get workspaceId(){return this._workspaceId}get questionId(){return this._questionId}static create(r){let t={qualifier:D.qualifier,platformQualifier:D.platformQualifier,cloudId:r.siteId,resourceOwner:D.resourceOwner,resourceType:D.resourceType,resourceId:`activation/${r.workspaceId}/${r.questionId}`,resourceIdSegmentValues:{workspaceId:r.workspaceId,questionId:r.questionId}},i=p.fromOpts(t,D);return new e(i)}static parse(r){let t=p.fromString(r,D);return new e(t)}getVariables(){return{siteId:this.siteId,workspaceId:this.workspaceId,questionId:this.questionId}}},K={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"avocado",resourceType:"role",resourceIdSlug:"product/{roleType}",resourceIdSegmentFormats:{roleType:/(?:member|admin)/}},B=class e extends T{constructor(e){super(e),this._roleType=e.resourceIdSegmentValues.roleType}get roleType(){return this._roleType}static create(r){let t={qualifier:K.qualifier,platformQualifier:K.platformQualifier,cloudId:void 0,resourceOwner:K.resourceOwner,resourceType:K.resourceType,resourceId:`product/${r.roleType}`,resourceIdSegmentValues:{roleType:r.roleType}},i=p.fromOpts(t,K);return new e(i)}static parse(r){let t=p.fromString(r,K);return new e(t)}getVariables(){return{roleType:this.roleType}}},G={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"avocado",resourceType:"site",resourceIdSlug:"{siteId}",resourceIdSegmentFormats:{siteId:/[a-zA-Z0-9\-]+/}},J=class e extends T{constructor(e){super(e),this._siteId=e.resourceIdSegmentValues.siteId}get siteId(){return this._siteId}static create(r){let t={qualifier:G.qualifier,platformQualifier:G.platformQualifier,cloudId:void 0,resourceOwner:G.resourceOwner,resourceType:G.resourceType,resourceId:`${r.siteId}`,resourceIdSegmentValues:{siteId:r.siteId}},i=p.fromOpts(t,G);return new e(i)}static parse(r){let t=p.fromString(r,G);return new e(t)}getVariables(){return{siteId:this.siteId}}},H={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"avocado",resourceType:"user",resourceIdSlug:"{userId}",resourceIdSegmentFormats:{userId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},Y=class e extends T{constructor(e){super(e),this._userId=e.resourceIdSegmentValues.userId}get userId(){return this._userId}static create(r){let t={qualifier:H.qualifier,platformQualifier:H.platformQualifier,cloudId:void 0,resourceOwner:H.resourceOwner,resourceType:H.resourceType,resourceId:`${r.userId}`,resourceIdSegmentValues:{userId:r.userId}},i=p.fromOpts(t,H);return new e(i)}static parse(r){let t=p.fromString(r,H);return new e(t)}getVariables(){return{userId:this.userId}}},X={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"avp",resourceType:"dashboard",resourceIdSlug:"activation/{activationId}/{dashboardId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,dashboardId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},ee=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._activationId=e.resourceIdSegmentValues.activationId,this._dashboardId=e.resourceIdSegmentValues.dashboardId}get siteId(){return this._siteId}get activationId(){return this._activationId}get dashboardId(){return this._dashboardId}static create(r){let t={qualifier:X.qualifier,platformQualifier:X.platformQualifier,cloudId:r.siteId,resourceOwner:X.resourceOwner,resourceType:X.resourceType,resourceId:`activation/${r.activationId}/${r.dashboardId}`,resourceIdSegmentValues:{activationId:r.activationId,dashboardId:r.dashboardId}},i=p.fromOpts(t,X);return new e(i)}static parse(r){let t=p.fromString(r,X);return new e(t)}getVariables(){return{siteId:this.siteId,activationId:this.activationId,dashboardId:this.dashboardId}}},re={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"avp",resourceType:"datasource",resourceIdSlug:"activation/{activationId}/{datasourceId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,datasourceId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},te=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._activationId=e.resourceIdSegmentValues.activationId,this._datasourceId=e.resourceIdSegmentValues.datasourceId}get siteId(){return this._siteId}get activationId(){return this._activationId}get datasourceId(){return this._datasourceId}static create(r){let t={qualifier:re.qualifier,platformQualifier:re.platformQualifier,cloudId:r.siteId,resourceOwner:re.resourceOwner,resourceType:re.resourceType,resourceId:`activation/${r.activationId}/${r.datasourceId}`,resourceIdSegmentValues:{activationId:r.activationId,datasourceId:r.datasourceId}},i=p.fromOpts(t,re);return new e(i)}static parse(r){let t=p.fromString(r,re);return new e(t)}getVariables(){return{siteId:this.siteId,activationId:this.activationId,datasourceId:this.datasourceId}}},ie={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"avp",resourceType:"role",resourceIdSlug:"{roleId}",resourceIdSegmentFormats:{roleId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},ne=class e extends T{constructor(e){super(e),this._roleId=e.resourceIdSegmentValues.roleId}get roleId(){return this._roleId}static create(r){let t={qualifier:ie.qualifier,platformQualifier:ie.platformQualifier,cloudId:void 0,resourceOwner:ie.resourceOwner,resourceType:ie.resourceType,resourceId:`${r.roleId}`,resourceIdSegmentValues:{roleId:r.roleId}},i=p.fromOpts(t,ie);return new e(i)}static parse(r){let t=p.fromString(r,ie);return new e(t)}getVariables(){return{roleId:this.roleId}}},oe={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"avp",resourceType:"site",resourceIdSlug:"{siteId}",resourceIdSegmentFormats:{siteId:/[a-zA-Z0-9\-]+/}},ae=class e extends T{constructor(e){super(e),this._siteId=e.resourceIdSegmentValues.siteId}get siteId(){return this._siteId}static create(r){let t={qualifier:oe.qualifier,platformQualifier:oe.platformQualifier,cloudId:void 0,resourceOwner:oe.resourceOwner,resourceType:oe.resourceType,resourceId:`${r.siteId}`,resourceIdSegmentValues:{siteId:r.siteId}},i=p.fromOpts(t,oe);return new e(i)}static parse(r){let t=p.fromString(r,oe);return new e(t)}getVariables(){return{siteId:this.siteId}}},se={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"beacon",resourceType:"alert",resourceIdSlug:"{workspaceId}/{alertId}",resourceIdSegmentFormats:{workspaceId:/[a-zA-Z0-9\-]+/,alertId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},ue=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._workspaceId=e.resourceIdSegmentValues.workspaceId,this._alertId=e.resourceIdSegmentValues.alertId}get siteId(){return this._siteId}get workspaceId(){return this._workspaceId}get alertId(){return this._alertId}static create(r){let t={qualifier:se.qualifier,platformQualifier:se.platformQualifier,cloudId:r.siteId,resourceOwner:se.resourceOwner,resourceType:se.resourceType,resourceId:`${r.workspaceId}/${r.alertId}`,resourceIdSegmentValues:{workspaceId:r.workspaceId,alertId:r.alertId}},i=p.fromOpts(t,se);return new e(i)}static parse(r){let t=p.fromString(r,se);return new e(t)}getVariables(){return{siteId:this.siteId,workspaceId:this.workspaceId,alertId:this.alertId}}},ce={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"beacon",resourceType:"custom-detection",resourceIdSlug:"{workspaceId}/{customDetectionId}",resourceIdSegmentFormats:{workspaceId:/[a-zA-Z0-9\-]+/,customDetectionId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},de=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._workspaceId=e.resourceIdSegmentValues.workspaceId,this._customDetectionId=e.resourceIdSegmentValues.customDetectionId}get siteId(){return this._siteId}get workspaceId(){return this._workspaceId}get customDetectionId(){return this._customDetectionId}static create(r){let t={qualifier:ce.qualifier,platformQualifier:ce.platformQualifier,cloudId:r.siteId,resourceOwner:ce.resourceOwner,resourceType:ce.resourceType,resourceId:`${r.workspaceId}/${r.customDetectionId}`,resourceIdSegmentValues:{workspaceId:r.workspaceId,customDetectionId:r.customDetectionId}},i=p.fromOpts(t,ce);return new e(i)}static parse(r){let t=p.fromString(r,ce);return new e(t)}getVariables(){return{siteId:this.siteId,workspaceId:this.workspaceId,customDetectionId:this.customDetectionId}}},le={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"beacon",resourceType:"detection",resourceIdSlug:"{workspaceId}/{detectionId}",resourceIdSegmentFormats:{workspaceId:/[a-zA-Z0-9\-]+/,detectionId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},Ie=class e extends T{constructor(e){super(e),this._workspaceId=e.resourceIdSegmentValues.workspaceId,this._detectionId=e.resourceIdSegmentValues.detectionId}get workspaceId(){return this._workspaceId}get detectionId(){return this._detectionId}static create(r){let t={qualifier:le.qualifier,platformQualifier:le.platformQualifier,cloudId:void 0,resourceOwner:le.resourceOwner,resourceType:le.resourceType,resourceId:`${r.workspaceId}/${r.detectionId}`,resourceIdSegmentValues:{workspaceId:r.workspaceId,detectionId:r.detectionId}},i=p.fromOpts(t,le);return new e(i)}static parse(r){let t=p.fromString(r,le);return new e(t)}getVariables(){return{workspaceId:this.workspaceId,detectionId:this.detectionId}}},pe={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"beacon",resourceType:"detection-setting",resourceIdSlug:"{workspaceId}/{detectionType}/{detectionId}/{settingId}",resourceIdSegmentFormats:{workspaceId:/[a-zA-Z0-9\-]+/,detectionType:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/,detectionId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/,settingId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},fe=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._workspaceId=e.resourceIdSegmentValues.workspaceId,this._detectionType=e.resourceIdSegmentValues.detectionType,this._detectionId=e.resourceIdSegmentValues.detectionId,this._settingId=e.resourceIdSegmentValues.settingId}get siteId(){return this._siteId}get workspaceId(){return this._workspaceId}get detectionType(){return this._detectionType}get detectionId(){return this._detectionId}get settingId(){return this._settingId}static create(r){let t={qualifier:pe.qualifier,platformQualifier:pe.platformQualifier,cloudId:r.siteId,resourceOwner:pe.resourceOwner,resourceType:pe.resourceType,resourceId:`${r.workspaceId}/${r.detectionType}/${r.detectionId}/${r.settingId}`,resourceIdSegmentValues:{workspaceId:r.workspaceId,detectionType:r.detectionType,detectionId:r.detectionId,settingId:r.settingId}},i=p.fromOpts(t,pe);return new e(i)}static parse(r){let t=p.fromString(r,pe);return new e(t)}getVariables(){return{siteId:this.siteId,workspaceId:this.workspaceId,detectionType:this.detectionType,detectionId:this.detectionId,settingId:this.settingId}}},me={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"beacon",resourceType:"role",resourceIdSlug:"product/{roleType}",resourceIdSegmentFormats:{roleType:/(?:member|admin)/}},he=class e extends T{constructor(e){super(e),this._roleType=e.resourceIdSegmentValues.roleType}get roleType(){return this._roleType}static create(r){let t={qualifier:me.qualifier,platformQualifier:me.platformQualifier,cloudId:void 0,resourceOwner:me.resourceOwner,resourceType:me.resourceType,resourceId:`product/${r.roleType}`,resourceIdSegmentValues:{roleType:r.roleType}},i=p.fromOpts(t,me);return new e(i)}static parse(r){let t=p.fromString(r,me);return new e(t)}getVariables(){return{roleType:this.roleType}}},ge={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"beacon",resourceType:"site",resourceIdSlug:"{siteId}",resourceIdSegmentFormats:{siteId:/[a-zA-Z0-9\-]+/}},ve=class e extends T{constructor(e){super(e),this._siteId=e.resourceIdSegmentValues.siteId}get siteId(){return this._siteId}static create(r){let t={qualifier:ge.qualifier,platformQualifier:ge.platformQualifier,cloudId:void 0,resourceOwner:ge.resourceOwner,resourceType:ge.resourceType,resourceId:`${r.siteId}`,resourceIdSegmentValues:{siteId:r.siteId}},i=p.fromOpts(t,ge);return new e(i)}static parse(r){let t=p.fromString(r,ge);return new e(t)}getVariables(){return{siteId:this.siteId}}},ye={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"beacon",resourceType:"subscription",resourceIdSlug:"{workspaceId}/{subscriptionId}",resourceIdSegmentFormats:{workspaceId:/[a-zA-Z0-9\-]+/,subscriptionId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},we=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._workspaceId=e.resourceIdSegmentValues.workspaceId,this._subscriptionId=e.resourceIdSegmentValues.subscriptionId}get siteId(){return this._siteId}get workspaceId(){return this._workspaceId}get subscriptionId(){return this._subscriptionId}static create(r){let t={qualifier:ye.qualifier,platformQualifier:ye.platformQualifier,cloudId:r.siteId,resourceOwner:ye.resourceOwner,resourceType:ye.resourceType,resourceId:`${r.workspaceId}/${r.subscriptionId}`,resourceIdSegmentValues:{workspaceId:r.workspaceId,subscriptionId:r.subscriptionId}},i=p.fromOpts(t,ye);return new e(i)}static parse(r){let t=p.fromString(r,ye);return new e(t)}getVariables(){return{siteId:this.siteId,workspaceId:this.workspaceId,subscriptionId:this.subscriptionId}}},Se={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"beacon",resourceType:"workspace",resourceIdSlug:"{workspaceId}",resourceIdSegmentFormats:{workspaceId:/[a-zA-Z0-9\-]+/}},_e=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._workspaceId=e.resourceIdSegmentValues.workspaceId}get siteId(){return this._siteId}get workspaceId(){return this._workspaceId}static create(r){let t={qualifier:Se.qualifier,platformQualifier:Se.platformQualifier,cloudId:r.siteId,resourceOwner:Se.resourceOwner,resourceType:Se.resourceType,resourceId:`${r.workspaceId}`,resourceIdSegmentValues:{workspaceId:r.workspaceId}},i=p.fromOpts(t,Se);return new e(i)}static parse(r){let t=p.fromString(r,Se);return new e(t)}getVariables(){return{siteId:this.siteId,workspaceId:this.workspaceId}}},be={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"bitbucket",resourceType:"app",resourceIdSlug:"{workspaceId}/{appId}",resourceIdSegmentFormats:{workspaceId:/\{[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}}/,appId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},Te=class e extends T{constructor(e){super(e),this._workspaceId=e.resourceIdSegmentValues.workspaceId,this._appId=e.resourceIdSegmentValues.appId}get workspaceId(){return this._workspaceId}get appId(){return this._appId}static create(r){let t={qualifier:be.qualifier,platformQualifier:be.platformQualifier,cloudId:void 0,resourceOwner:be.resourceOwner,resourceType:be.resourceType,resourceId:`${r.workspaceId}/${r.appId}`,resourceIdSegmentValues:{workspaceId:r.workspaceId,appId:r.appId}},i=p.fromOpts(t,be);return new e(i)}static parse(r){let t=p.fromString(r,be);return new e(t)}getVariables(){return{workspaceId:this.workspaceId,appId:this.appId}}},Oe={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"bitbucket",resourceType:"oauth-consumer",resourceIdSlug:"{clientId}",resourceIdSegmentFormats:{clientId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},ke=class e extends T{constructor(e){super(e),this._clientId=e.resourceIdSegmentValues.clientId}get clientId(){return this._clientId}static create(r){let t={qualifier:Oe.qualifier,platformQualifier:Oe.platformQualifier,cloudId:void 0,resourceOwner:Oe.resourceOwner,resourceType:Oe.resourceType,resourceId:`${r.clientId}`,resourceIdSegmentValues:{clientId:r.clientId}},i=p.fromOpts(t,Oe);return new e(i)}static parse(r){let t=p.fromString(r,Oe);return new e(t)}getVariables(){return{clientId:this.clientId}}},Ae={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"bitbucket",resourceType:"project",resourceIdSlug:"{projectId}",resourceIdSegmentFormats:{projectId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},qe=class e extends T{constructor(e){super(e),this._projectId=e.resourceIdSegmentValues.projectId}get projectId(){return this._projectId}static create(r){let t={qualifier:Ae.qualifier,platformQualifier:Ae.platformQualifier,cloudId:void 0,resourceOwner:Ae.resourceOwner,resourceType:Ae.resourceType,resourceId:`${r.projectId}`,resourceIdSegmentValues:{projectId:r.projectId}},i=p.fromOpts(t,Ae);return new e(i)}static parse(r){let t=p.fromString(r,Ae);return new e(t)}getVariables(){return{projectId:this.projectId}}},Ve={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"bitbucket",resourceType:"pullrequest",resourceIdSlug:"{pullRequestId}",resourceIdSegmentFormats:{pullRequestId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},Ee=class e extends T{constructor(e){super(e),this._pullRequestId=e.resourceIdSegmentValues.pullRequestId}get pullRequestId(){return this._pullRequestId}static create(r){let t={qualifier:Ve.qualifier,platformQualifier:Ve.platformQualifier,cloudId:void 0,resourceOwner:Ve.resourceOwner,resourceType:Ve.resourceType,resourceId:`${r.pullRequestId}`,resourceIdSegmentValues:{pullRequestId:r.pullRequestId}},i=p.fromOpts(t,Ve);return new e(i)}static parse(r){let t=p.fromString(r,Ve);return new e(t)}getVariables(){return{pullRequestId:this.pullRequestId}}},xe={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"bitbucket",resourceType:"repository",resourceIdSlug:"{repositoryId}",resourceIdSegmentFormats:{repositoryId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},Re=class e extends T{constructor(e){super(e),this._repositoryId=e.resourceIdSegmentValues.repositoryId}get repositoryId(){return this._repositoryId}static create(r){let t={qualifier:xe.qualifier,platformQualifier:xe.platformQualifier,cloudId:void 0,resourceOwner:xe.resourceOwner,resourceType:xe.resourceType,resourceId:`${r.repositoryId}`,resourceIdSegmentValues:{repositoryId:r.repositoryId}},i=p.fromOpts(t,xe);return new e(i)}static parse(r){let t=p.fromString(r,xe);return new e(t)}getVariables(){return{repositoryId:this.repositoryId}}},$e={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"bitbucket",resourceType:"repository-transfer",resourceIdSlug:"{transferId}",resourceIdSegmentFormats:{transferId:/[a-f0-9]{32}/}},Qe=class e extends T{constructor(e){super(e),this._transferId=e.resourceIdSegmentValues.transferId}get transferId(){return this._transferId}static create(r){let t={qualifier:$e.qualifier,platformQualifier:$e.platformQualifier,cloudId:void 0,resourceOwner:$e.resourceOwner,resourceType:$e.resourceType,resourceId:`${r.transferId}`,resourceIdSegmentValues:{transferId:r.transferId}},i=p.fromOpts(t,$e);return new e(i)}static parse(r){let t=p.fromString(r,$e);return new e(t)}getVariables(){return{transferId:this.transferId}}},Ne={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"bitbucket",resourceType:"site",resourceIdSlug:"bitbucket",resourceIdSegmentFormats:{}},Ce=class e extends T{constructor(e){super(e)}static create(r){let t={qualifier:Ne.qualifier,platformQualifier:Ne.platformQualifier,cloudId:void 0,resourceOwner:Ne.resourceOwner,resourceType:Ne.resourceType,resourceId:"bitbucket",resourceIdSegmentValues:{}},i=p.fromOpts(t,Ne);return new e(i)}static parse(r){let t=p.fromString(r,Ne);return new e(t)}getVariables(){return{}}},Fe={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"bitbucket",resourceType:"team",resourceIdSlug:"{teamId}",resourceIdSegmentFormats:{teamId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},ze=class e extends T{constructor(e){super(e),this._teamId=e.resourceIdSegmentValues.teamId}get teamId(){return this._teamId}static create(r){let t={qualifier:Fe.qualifier,platformQualifier:Fe.platformQualifier,cloudId:void 0,resourceOwner:Fe.resourceOwner,resourceType:Fe.resourceType,resourceId:`${r.teamId}`,resourceIdSegmentValues:{teamId:r.teamId}},i=p.fromOpts(t,Fe);return new e(i)}static parse(r){let t=p.fromString(r,Fe);return new e(t)}getVariables(){return{teamId:this.teamId}}},Le={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"bitbucket",resourceType:"workspace",resourceIdSlug:"{workspaceId}",resourceIdSegmentFormats:{workspaceId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},Me=class e extends T{constructor(e){super(e),this._workspaceId=e.resourceIdSegmentValues.workspaceId}get workspaceId(){return this._workspaceId}static create(r){let t={qualifier:Le.qualifier,platformQualifier:Le.platformQualifier,cloudId:void 0,resourceOwner:Le.resourceOwner,resourceType:Le.resourceType,resourceId:`${r.workspaceId}`,resourceIdSegmentValues:{workspaceId:r.workspaceId}},i=p.fromOpts(t,Le);return new e(i)}static parse(r){let t=p.fromString(r,Le);return new e(t)}getVariables(){return{workspaceId:this.workspaceId}}},Pe={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"brie",resourceType:"role",resourceIdSlug:"scope/{roleTypeId}",resourceIdSegmentFormats:{roleTypeId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},je=class e extends T{constructor(e){super(e),this._roleTypeId=e.resourceIdSegmentValues.roleTypeId}get roleTypeId(){return this._roleTypeId}static create(r){let t={qualifier:Pe.qualifier,platformQualifier:Pe.platformQualifier,cloudId:void 0,resourceOwner:Pe.resourceOwner,resourceType:Pe.resourceType,resourceId:`scope/${r.roleTypeId}`,resourceIdSegmentValues:{roleTypeId:r.roleTypeId}},i=p.fromOpts(t,Pe);return new e(i)}static parse(r){let t=p.fromString(r,Pe);return new e(t)}getVariables(){return{roleTypeId:this.roleTypeId}}},Ze={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"brie",resourceType:"site",resourceIdSlug:"{siteId}",resourceIdSegmentFormats:{siteId:/[a-zA-Z0-9\-]+/}},Ue=class e extends T{constructor(e){super(e),this._siteId=e.resourceIdSegmentValues.siteId}get siteId(){return this._siteId}static create(r){let t={qualifier:Ze.qualifier,platformQualifier:Ze.platformQualifier,cloudId:void 0,resourceOwner:Ze.resourceOwner,resourceType:Ze.resourceType,resourceId:`${r.siteId}`,resourceIdSegmentValues:{siteId:r.siteId}},i=p.fromOpts(t,Ze);return new e(i)}static parse(r){let t=p.fromString(r,Ze);return new e(t)}getVariables(){return{siteId:this.siteId}}},De={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"canvas",resourceType:"board",resourceIdSlug:"{boardId}",resourceIdSegmentFormats:{boardId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},We=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._boardId=e.resourceIdSegmentValues.boardId}get siteId(){return this._siteId}get boardId(){return this._boardId}static create(r){let t={qualifier:De.qualifier,platformQualifier:De.platformQualifier,cloudId:r.siteId,resourceOwner:De.resourceOwner,resourceType:De.resourceType,resourceId:`${r.boardId}`,resourceIdSegmentValues:{boardId:r.boardId}},i=p.fromOpts(t,De);return new e(i)}static parse(r){let t=p.fromString(r,De);return new e(t)}getVariables(){return{siteId:this.siteId,boardId:this.boardId}}},Ke={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"canvas",resourceType:"database",resourceIdSlug:"{databaseId}",resourceIdSegmentFormats:{databaseId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},Be=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._databaseId=e.resourceIdSegmentValues.databaseId}get siteId(){return this._siteId}get databaseId(){return this._databaseId}static create(r){let t={qualifier:Ke.qualifier,platformQualifier:Ke.platformQualifier,cloudId:r.siteId,resourceOwner:Ke.resourceOwner,resourceType:Ke.resourceType,resourceId:`${r.databaseId}`,resourceIdSegmentValues:{databaseId:r.databaseId}},i=p.fromOpts(t,Ke);return new e(i)}static parse(r){let t=p.fromString(r,Ke);return new e(t)}getVariables(){return{siteId:this.siteId,databaseId:this.databaseId}}},Ge={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"canvas",resourceType:"site",resourceIdSlug:"{siteId}",resourceIdSegmentFormats:{siteId:/[a-zA-Z0-9\-]+/}},Je=class e extends T{constructor(e){super(e),this._siteId=e.resourceIdSegmentValues.siteId}get siteId(){return this._siteId}static create(r){let t={qualifier:Ge.qualifier,platformQualifier:Ge.platformQualifier,cloudId:void 0,resourceOwner:Ge.resourceOwner,resourceType:Ge.resourceType,resourceId:`${r.siteId}`,resourceIdSegmentValues:{siteId:r.siteId}},i=p.fromOpts(t,Ge);return new e(i)}static parse(r){let t=p.fromString(r,Ge);return new e(t)}getVariables(){return{siteId:this.siteId}}},He={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"canvas",resourceType:"workspace",resourceIdSlug:"{workspaceId}",resourceIdSegmentFormats:{workspaceId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},Ye=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._workspaceId=e.resourceIdSegmentValues.workspaceId}get siteId(){return this._siteId}get workspaceId(){return this._workspaceId}static create(r){let t={qualifier:He.qualifier,platformQualifier:He.platformQualifier,cloudId:r.siteId,resourceOwner:He.resourceOwner,resourceType:He.resourceType,resourceId:`${r.workspaceId}`,resourceIdSegmentValues:{workspaceId:r.workspaceId}},i=p.fromOpts(t,He);return new e(i)}static parse(r){let t=p.fromString(r,He);return new e(t)}getVariables(){return{siteId:this.siteId,workspaceId:this.workspaceId}}},Xe={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"cmdb",resourceType:"attribute",resourceIdSlug:"{workspaceId}/{attributeId}",resourceIdSegmentFormats:{workspaceId:/[a-zA-Z0-9\-]+/,attributeId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},er=class e extends T{constructor(e){super(e),this._workspaceId=e.resourceIdSegmentValues.workspaceId,this._attributeId=e.resourceIdSegmentValues.attributeId}get workspaceId(){return this._workspaceId}get attributeId(){return this._attributeId}static create(r){let t={qualifier:Xe.qualifier,platformQualifier:Xe.platformQualifier,cloudId:void 0,resourceOwner:Xe.resourceOwner,resourceType:Xe.resourceType,resourceId:`${r.workspaceId}/${r.attributeId}`,resourceIdSegmentValues:{workspaceId:r.workspaceId,attributeId:r.attributeId}},i=p.fromOpts(t,Xe);return new e(i)}static parse(r){let t=p.fromString(r,Xe);return new e(t)}getVariables(){return{workspaceId:this.workspaceId,attributeId:this.attributeId}}},rr={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"cmdb",resourceType:"import-configuration",resourceIdSlug:"{workspaceId}/{importConfigId}",resourceIdSegmentFormats:{workspaceId:/[a-zA-Z0-9\-]+/,importConfigId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},tr=class e extends T{constructor(e){super(e),this._workspaceId=e.resourceIdSegmentValues.workspaceId,this._importConfigId=e.resourceIdSegmentValues.importConfigId}get workspaceId(){return this._workspaceId}get importConfigId(){return this._importConfigId}static create(r){let t={qualifier:rr.qualifier,platformQualifier:rr.platformQualifier,cloudId:void 0,resourceOwner:rr.resourceOwner,resourceType:rr.resourceType,resourceId:`${r.workspaceId}/${r.importConfigId}`,resourceIdSegmentValues:{workspaceId:r.workspaceId,importConfigId:r.importConfigId}},i=p.fromOpts(t,rr);return new e(i)}static parse(r){let t=p.fromString(r,rr);return new e(t)}getVariables(){return{workspaceId:this.workspaceId,importConfigId:this.importConfigId}}},ir={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"cmdb",resourceType:"object",resourceIdSlug:"{workspaceId}/{objectId}",resourceIdSegmentFormats:{workspaceId:/[a-zA-Z0-9\-]+/,objectId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},nr=class e extends T{constructor(e){super(e),this._workspaceId=e.resourceIdSegmentValues.workspaceId,this._objectId=e.resourceIdSegmentValues.objectId}get workspaceId(){return this._workspaceId}get objectId(){return this._objectId}static create(r){let t={qualifier:ir.qualifier,platformQualifier:ir.platformQualifier,cloudId:void 0,resourceOwner:ir.resourceOwner,resourceType:ir.resourceType,resourceId:`${r.workspaceId}/${r.objectId}`,resourceIdSegmentValues:{workspaceId:r.workspaceId,objectId:r.objectId}},i=p.fromOpts(t,ir);return new e(i)}static parse(r){let t=p.fromString(r,ir);return new e(t)}getVariables(){return{workspaceId:this.workspaceId,objectId:this.objectId}}},or={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"cmdb",resourceType:"role",resourceIdSlug:"{roleGroup}/{roleType}",resourceIdSegmentFormats:{roleGroup:/(?:schema|airtrack|airtrack-buoy)/,roleType:/(?:viewer|admin|report-viewer|report-editor)/}},ar=class e extends T{constructor(e){super(e),this._roleGroup=e.resourceIdSegmentValues.roleGroup,this._roleType=e.resourceIdSegmentValues.roleType}get roleGroup(){return this._roleGroup}get roleType(){return this._roleType}static create(r){let t={qualifier:or.qualifier,platformQualifier:or.platformQualifier,cloudId:void 0,resourceOwner:or.resourceOwner,resourceType:or.resourceType,resourceId:`${r.roleGroup}/${r.roleType}`,resourceIdSegmentValues:{roleGroup:r.roleGroup,roleType:r.roleType}},i=p.fromOpts(t,or);return new e(i)}static parse(r){let t=p.fromString(r,or);return new e(t)}getVariables(){return{roleGroup:this.roleGroup,roleType:this.roleType}}},sr={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"cmdb",resourceType:"schema",resourceIdSlug:"{workspaceId}/{schemaId}",resourceIdSegmentFormats:{workspaceId:/[a-zA-Z0-9\-]+/,schemaId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},ur=class e extends T{constructor(e){super(e),this._workspaceId=e.resourceIdSegmentValues.workspaceId,this._schemaId=e.resourceIdSegmentValues.schemaId}get workspaceId(){return this._workspaceId}get schemaId(){return this._schemaId}static create(r){let t={qualifier:sr.qualifier,platformQualifier:sr.platformQualifier,cloudId:void 0,resourceOwner:sr.resourceOwner,resourceType:sr.resourceType,resourceId:`${r.workspaceId}/${r.schemaId}`,resourceIdSegmentValues:{workspaceId:r.workspaceId,schemaId:r.schemaId}},i=p.fromOpts(t,sr);return new e(i)}static parse(r){let t=p.fromString(r,sr);return new e(t)}getVariables(){return{workspaceId:this.workspaceId,schemaId:this.schemaId}}},cr={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"cmdb",resourceType:"type",resourceIdSlug:"{workspaceId}/{typeId}",resourceIdSegmentFormats:{workspaceId:/[a-zA-Z0-9\-]+/,typeId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},dr=class e extends T{constructor(e){super(e),this._workspaceId=e.resourceIdSegmentValues.workspaceId,this._typeId=e.resourceIdSegmentValues.typeId}get workspaceId(){return this._workspaceId}get typeId(){return this._typeId}static create(r){let t={qualifier:cr.qualifier,platformQualifier:cr.platformQualifier,cloudId:void 0,resourceOwner:cr.resourceOwner,resourceType:cr.resourceType,resourceId:`${r.workspaceId}/${r.typeId}`,resourceIdSegmentValues:{workspaceId:r.workspaceId,typeId:r.typeId}},i=p.fromOpts(t,cr);return new e(i)}static parse(r){let t=p.fromString(r,cr);return new e(t)}getVariables(){return{workspaceId:this.workspaceId,typeId:this.typeId}}},lr={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"cmdb",resourceType:"workspace",resourceIdSlug:"{workspaceId}",resourceIdSegmentFormats:{workspaceId:/[a-zA-Z0-9\-]+/}},Ir=class e extends T{constructor(e){super(e),this._workspaceId=e.resourceIdSegmentValues.workspaceId}get workspaceId(){return this._workspaceId}static create(r){let t={qualifier:lr.qualifier,platformQualifier:lr.platformQualifier,cloudId:void 0,resourceOwner:lr.resourceOwner,resourceType:lr.resourceType,resourceId:`${r.workspaceId}`,resourceIdSegmentValues:{workspaceId:r.workspaceId}},i=p.fromOpts(t,lr);return new e(i)}static parse(r){let t=p.fromString(r,lr);return new e(t)}getVariables(){return{workspaceId:this.workspaceId}}},pr={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"commerce",resourceType:"catalog-account",resourceIdSlug:"{catalogAccountId}",resourceIdSegmentFormats:{catalogAccountId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},fr=class e extends T{constructor(e){super(e),this._catalogAccountId=e.resourceIdSegmentValues.catalogAccountId}get catalogAccountId(){return this._catalogAccountId}static create(r){let t={qualifier:pr.qualifier,platformQualifier:pr.platformQualifier,cloudId:void 0,resourceOwner:pr.resourceOwner,resourceType:pr.resourceType,resourceId:`${r.catalogAccountId}`,resourceIdSegmentValues:{catalogAccountId:r.catalogAccountId}},i=p.fromOpts(t,pr);return new e(i)}static parse(r){let t=p.fromString(r,pr);return new e(t)}getVariables(){return{catalogAccountId:this.catalogAccountId}}},mr={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"commerce",resourceType:"change",resourceIdSlug:"{changeUuid}",resourceIdSegmentFormats:{changeUuid:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},hr=class e extends T{constructor(e){super(e),this._changeUuid=e.resourceIdSegmentValues.changeUuid}get changeUuid(){return this._changeUuid}static create(r){let t={qualifier:mr.qualifier,platformQualifier:mr.platformQualifier,cloudId:void 0,resourceOwner:mr.resourceOwner,resourceType:mr.resourceType,resourceId:`${r.changeUuid}`,resourceIdSegmentValues:{changeUuid:r.changeUuid}},i=p.fromOpts(t,mr);return new e(i)}static parse(r){let t=p.fromString(r,mr);return new e(t)}getVariables(){return{changeUuid:this.changeUuid}}},gr={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"commerce",resourceType:"entitlement",resourceIdSlug:"{entitlementId}",resourceIdSegmentFormats:{entitlementId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},vr=class e extends T{constructor(e){super(e),this._entitlementId=e.resourceIdSegmentValues.entitlementId}get entitlementId(){return this._entitlementId}static create(r){let t={qualifier:gr.qualifier,platformQualifier:gr.platformQualifier,cloudId:void 0,resourceOwner:gr.resourceOwner,resourceType:gr.resourceType,resourceId:`${r.entitlementId}`,resourceIdSegmentValues:{entitlementId:r.entitlementId}},i=p.fromOpts(t,gr);return new e(i)}static parse(r){let t=p.fromString(r,gr);return new e(t)}getVariables(){return{entitlementId:this.entitlementId}}},yr={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"commerce",resourceType:"entitlement-template",resourceIdSlug:"{entitlementTemplateId}",resourceIdSegmentFormats:{entitlementTemplateId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},wr=class e extends T{constructor(e){super(e),this._entitlementTemplateId=e.resourceIdSegmentValues.entitlementTemplateId}get entitlementTemplateId(){return this._entitlementTemplateId}static create(r){let t={qualifier:yr.qualifier,platformQualifier:yr.platformQualifier,cloudId:void 0,resourceOwner:yr.resourceOwner,resourceType:yr.resourceType,resourceId:`${r.entitlementTemplateId}`,resourceIdSegmentValues:{entitlementTemplateId:r.entitlementTemplateId}},i=p.fromOpts(t,yr);return new e(i)}static parse(r){let t=p.fromString(r,yr);return new e(t)}getVariables(){return{entitlementTemplateId:this.entitlementTemplateId}}},Sr={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"commerce",resourceType:"initiative",resourceIdSlug:"{initiativeUuid}",resourceIdSegmentFormats:{initiativeUuid:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},_r=class e extends T{constructor(e){super(e),this._initiativeUuid=e.resourceIdSegmentValues.initiativeUuid}get initiativeUuid(){return this._initiativeUuid}static create(r){let t={qualifier:Sr.qualifier,platformQualifier:Sr.platformQualifier,cloudId:void 0,resourceOwner:Sr.resourceOwner,resourceType:Sr.resourceType,resourceId:`${r.initiativeUuid}`,resourceIdSegmentValues:{initiativeUuid:r.initiativeUuid}},i=p.fromOpts(t,Sr);return new e(i)}static parse(r){let t=p.fromString(r,Sr);return new e(t)}getVariables(){return{initiativeUuid:this.initiativeUuid}}},br={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"commerce",resourceType:"invoice-group",resourceIdSlug:"{invoiceGroupId}",resourceIdSegmentFormats:{invoiceGroupId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},Tr=class e extends T{constructor(e){super(e),this._txaId=e.cloudId||"",this._invoiceGroupId=e.resourceIdSegmentValues.invoiceGroupId}get txaId(){return this._txaId}get invoiceGroupId(){return this._invoiceGroupId}static create(r){let t={qualifier:br.qualifier,platformQualifier:br.platformQualifier,cloudId:r.txaId,resourceOwner:br.resourceOwner,resourceType:br.resourceType,resourceId:`${r.invoiceGroupId}`,resourceIdSegmentValues:{invoiceGroupId:r.invoiceGroupId}},i=p.fromOpts(t,br);return new e(i)}static parse(r){let t=p.fromString(r,br);return new e(t)}getVariables(){return{txaId:this.txaId,invoiceGroupId:this.invoiceGroupId}}},Or={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"commerce",resourceType:"offering",resourceIdSlug:"{offeringId}",resourceIdSegmentFormats:{offeringId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},kr=class e extends T{constructor(e){super(e),this._offeringId=e.resourceIdSegmentValues.offeringId}get offeringId(){return this._offeringId}static create(r){let t={qualifier:Or.qualifier,platformQualifier:Or.platformQualifier,cloudId:void 0,resourceOwner:Or.resourceOwner,resourceType:Or.resourceType,resourceId:`${r.offeringId}`,resourceIdSegmentValues:{offeringId:r.offeringId}},i=p.fromOpts(t,Or);return new e(i)}static parse(r){let t=p.fromString(r,Or);return new e(t)}getVariables(){return{offeringId:this.offeringId}}},Ar={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"commerce",resourceType:"offering-relationship-template",resourceIdSlug:"{offeringRelationshipTemplateId}",resourceIdSegmentFormats:{offeringRelationshipTemplateId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},qr=class e extends T{constructor(e){super(e),this._offeringRelationshipTemplateId=e.resourceIdSegmentValues.offeringRelationshipTemplateId}get offeringRelationshipTemplateId(){return this._offeringRelationshipTemplateId}static create(r){let t={qualifier:Ar.qualifier,platformQualifier:Ar.platformQualifier,cloudId:void 0,resourceOwner:Ar.resourceOwner,resourceType:Ar.resourceType,resourceId:`${r.offeringRelationshipTemplateId}`,resourceIdSegmentValues:{offeringRelationshipTemplateId:r.offeringRelationshipTemplateId}},i=p.fromOpts(t,Ar);return new e(i)}static parse(r){let t=p.fromString(r,Ar);return new e(t)}getVariables(){return{offeringRelationshipTemplateId:this.offeringRelationshipTemplateId}}},Vr={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"commerce",resourceType:"order",resourceIdSlug:"{orderId}",resourceIdSegmentFormats:{orderId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},Er=class e extends T{constructor(e){super(e),this._txaId=e.cloudId||"",this._orderId=e.resourceIdSegmentValues.orderId}get txaId(){return this._txaId}get orderId(){return this._orderId}static create(r){let t={qualifier:Vr.qualifier,platformQualifier:Vr.platformQualifier,cloudId:r.txaId,resourceOwner:Vr.resourceOwner,resourceType:Vr.resourceType,resourceId:`${r.orderId}`,resourceIdSegmentValues:{orderId:r.orderId}},i=p.fromOpts(t,Vr);return new e(i)}static parse(r){let t=p.fromString(r,Vr);return new e(t)}getVariables(){return{txaId:this.txaId,orderId:this.orderId}}},xr={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"commerce",resourceType:"payment-method",resourceIdSlug:"{paymentMethodId}",resourceIdSegmentFormats:{paymentMethodId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},Rr=class e extends T{constructor(e){super(e),this._txaId=e.cloudId||"",this._paymentMethodId=e.resourceIdSegmentValues.paymentMethodId}get txaId(){return this._txaId}get paymentMethodId(){return this._paymentMethodId}static create(r){let t={qualifier:xr.qualifier,platformQualifier:xr.platformQualifier,cloudId:r.txaId,resourceOwner:xr.resourceOwner,resourceType:xr.resourceType,resourceId:`${r.paymentMethodId}`,resourceIdSegmentValues:{paymentMethodId:r.paymentMethodId}},i=p.fromOpts(t,xr);return new e(i)}static parse(r){let t=p.fromString(r,xr);return new e(t)}getVariables(){return{txaId:this.txaId,paymentMethodId:this.paymentMethodId}}},$r={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"commerce",resourceType:"pricing-plan",resourceIdSlug:"{pricingPlanId}",resourceIdSegmentFormats:{pricingPlanId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},Qr=class e extends T{constructor(e){super(e),this._pricingPlanId=e.resourceIdSegmentValues.pricingPlanId}get pricingPlanId(){return this._pricingPlanId}static create(r){let t={qualifier:$r.qualifier,platformQualifier:$r.platformQualifier,cloudId:void 0,resourceOwner:$r.resourceOwner,resourceType:$r.resourceType,resourceId:`${r.pricingPlanId}`,resourceIdSegmentValues:{pricingPlanId:r.pricingPlanId}},i=p.fromOpts(t,$r);return new e(i)}static parse(r){let t=p.fromString(r,$r);return new e(t)}getVariables(){return{pricingPlanId:this.pricingPlanId}}},Nr={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"commerce",resourceType:"product",resourceIdSlug:"{productId}",resourceIdSegmentFormats:{productId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},Cr=class e extends T{constructor(e){super(e),this._productId=e.resourceIdSegmentValues.productId}get productId(){return this._productId}static create(r){let t={qualifier:Nr.qualifier,platformQualifier:Nr.platformQualifier,cloudId:void 0,resourceOwner:Nr.resourceOwner,resourceType:Nr.resourceType,resourceId:`${r.productId}`,resourceIdSegmentValues:{productId:r.productId}},i=p.fromOpts(t,Nr);return new e(i)}static parse(r){let t=p.fromString(r,Nr);return new e(t)}getVariables(){return{productId:this.productId}}},Fr={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"commerce",resourceType:"promotion",resourceIdSlug:"{promotionId}",resourceIdSegmentFormats:{promotionId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},zr=class e extends T{constructor(e){super(e),this._promotionId=e.resourceIdSegmentValues.promotionId}get promotionId(){return this._promotionId}static create(r){let t={qualifier:Fr.qualifier,platformQualifier:Fr.platformQualifier,cloudId:void 0,resourceOwner:Fr.resourceOwner,resourceType:Fr.resourceType,resourceId:`${r.promotionId}`,resourceIdSegmentValues:{promotionId:r.promotionId}},i=p.fromOpts(t,Fr);return new e(i)}static parse(r){let t=p.fromString(r,Fr);return new e(t)}getVariables(){return{promotionId:this.promotionId}}},Lr={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"commerce",resourceType:"quote",resourceIdSlug:"{quoteId}",resourceIdSegmentFormats:{quoteId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},Mr=class e extends T{constructor(e){super(e),this._txaId=e.cloudId||"",this._quoteId=e.resourceIdSegmentValues.quoteId}get txaId(){return this._txaId}get quoteId(){return this._quoteId}static create(r){let t={qualifier:Lr.qualifier,platformQualifier:Lr.platformQualifier,cloudId:r.txaId,resourceOwner:Lr.resourceOwner,resourceType:Lr.resourceType,resourceId:`${r.quoteId}`,resourceIdSegmentValues:{quoteId:r.quoteId}},i=p.fromOpts(t,Lr);return new e(i)}static parse(r){let t=p.fromString(r,Lr);return new e(t)}getVariables(){return{txaId:this.txaId,quoteId:this.quoteId}}},Pr={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"commerce",resourceType:"role",resourceIdSlug:"{roleId}",resourceIdSegmentFormats:{roleId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},jr=class e extends T{constructor(e){super(e),this._roleId=e.resourceIdSegmentValues.roleId}get roleId(){return this._roleId}static create(r){let t={qualifier:Pr.qualifier,platformQualifier:Pr.platformQualifier,cloudId:void 0,resourceOwner:Pr.resourceOwner,resourceType:Pr.resourceType,resourceId:`${r.roleId}`,resourceIdSegmentValues:{roleId:r.roleId}},i=p.fromOpts(t,Pr);return new e(i)}static parse(r){let t=p.fromString(r,Pr);return new e(t)}getVariables(){return{roleId:this.roleId}}},Zr={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"commerce",resourceType:"ship-to-party",resourceIdSlug:"{shipToPartyId}",resourceIdSegmentFormats:{shipToPartyId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},Ur=class e extends T{constructor(e){super(e),this._txaId=e.cloudId||"",this._shipToPartyId=e.resourceIdSegmentValues.shipToPartyId}get txaId(){return this._txaId}get shipToPartyId(){return this._shipToPartyId}static create(r){let t={qualifier:Zr.qualifier,platformQualifier:Zr.platformQualifier,cloudId:r.txaId,resourceOwner:Zr.resourceOwner,resourceType:Zr.resourceType,resourceId:`${r.shipToPartyId}`,resourceIdSegmentValues:{shipToPartyId:r.shipToPartyId}},i=p.fromOpts(t,Zr);return new e(i)}static parse(r){let t=p.fromString(r,Zr);return new e(t)}getVariables(){return{txaId:this.txaId,shipToPartyId:this.shipToPartyId}}},Dr={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"commerce",resourceType:"transaction-account",resourceIdSlug:"{txaId}",resourceIdSegmentFormats:{txaId:/[a-zA-Z0-9\-]+/}},Wr=class e extends T{constructor(e){super(e),this._txaId=e.resourceIdSegmentValues.txaId}get txaId(){return this._txaId}static create(r){let t={qualifier:Dr.qualifier,platformQualifier:Dr.platformQualifier,cloudId:void 0,resourceOwner:Dr.resourceOwner,resourceType:Dr.resourceType,resourceId:`${r.txaId}`,resourceIdSegmentValues:{txaId:r.txaId}},i=p.fromOpts(t,Dr);return new e(i)}static parse(r){let t=p.fromString(r,Dr);return new e(t)}getVariables(){return{txaId:this.txaId}}},Kr={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"commerce",resourceType:"workbench-resource",resourceIdSlug:"{resourceName}",resourceIdSegmentFormats:{resourceName:/(database)/}},Br=class e extends T{constructor(e){super(e),this._resourceName=e.resourceIdSegmentValues.resourceName}get resourceName(){return this._resourceName}static create(r){let t={qualifier:Kr.qualifier,platformQualifier:Kr.platformQualifier,cloudId:void 0,resourceOwner:Kr.resourceOwner,resourceType:Kr.resourceType,resourceId:`${r.resourceName}`,resourceIdSegmentValues:{resourceName:r.resourceName}},i=p.fromOpts(t,Kr);return new e(i)}static parse(r){let t=p.fromString(r,Kr);return new e(t)}getVariables(){return{resourceName:this.resourceName}}},Gr={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"compass",resourceType:"assistant-answer",resourceIdSlug:"{workspaceId}/{answerId}",resourceIdSegmentFormats:{workspaceId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/,answerId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},Jr=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._workspaceId=e.resourceIdSegmentValues.workspaceId,this._answerId=e.resourceIdSegmentValues.answerId}get siteId(){return this._siteId}get workspaceId(){return this._workspaceId}get answerId(){return this._answerId}static create(r){let t={qualifier:Gr.qualifier,platformQualifier:Gr.platformQualifier,cloudId:r.siteId,resourceOwner:Gr.resourceOwner,resourceType:Gr.resourceType,resourceId:`${r.workspaceId}/${r.answerId}`,resourceIdSegmentValues:{workspaceId:r.workspaceId,answerId:r.answerId}},i=p.fromOpts(t,Gr);return new e(i)}static parse(r){let t=p.fromString(r,Gr);return new e(t)}getVariables(){return{siteId:this.siteId,workspaceId:this.workspaceId,answerId:this.answerId}}},Hr={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"compass",resourceType:"component",resourceIdSlug:"{workspaceId}/{componentId}",resourceIdSegmentFormats:{workspaceId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/,componentId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},Yr=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._workspaceId=e.resourceIdSegmentValues.workspaceId,this._componentId=e.resourceIdSegmentValues.componentId}get siteId(){return this._siteId}get workspaceId(){return this._workspaceId}get componentId(){return this._componentId}static create(r){let t={qualifier:Hr.qualifier,platformQualifier:Hr.platformQualifier,cloudId:r.siteId,resourceOwner:Hr.resourceOwner,resourceType:Hr.resourceType,resourceId:`${r.workspaceId}/${r.componentId}`,resourceIdSegmentValues:{workspaceId:r.workspaceId,componentId:r.componentId}},i=p.fromOpts(t,Hr);return new e(i)}static parse(r){let t=p.fromString(r,Hr);return new e(t)}getVariables(){return{siteId:this.siteId,workspaceId:this.workspaceId,componentId:this.componentId}}},Xr={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"compass",resourceType:"component-label",resourceIdSlug:"{workspaceId}/{labelId}",resourceIdSegmentFormats:{workspaceId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/,labelId:/[0-9a-f\-]{36,64}/}},et=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._workspaceId=e.resourceIdSegmentValues.workspaceId,this._labelId=e.resourceIdSegmentValues.labelId}get siteId(){return this._siteId}get workspaceId(){return this._workspaceId}get labelId(){return this._labelId}static create(r){let t={qualifier:Xr.qualifier,platformQualifier:Xr.platformQualifier,cloudId:r.siteId,resourceOwner:Xr.resourceOwner,resourceType:Xr.resourceType,resourceId:`${r.workspaceId}/${r.labelId}`,resourceIdSegmentValues:{workspaceId:r.workspaceId,labelId:r.labelId}},i=p.fromOpts(t,Xr);return new e(i)}static parse(r){let t=p.fromString(r,Xr);return new e(t)}getVariables(){return{siteId:this.siteId,workspaceId:this.workspaceId,labelId:this.labelId}}},rt={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"compass",resourceType:"component-link",resourceIdSlug:"{workspaceId}/{componentId}/{componentLinkId}",resourceIdSegmentFormats:{workspaceId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/,componentId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/,componentLinkId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},tt=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._workspaceId=e.resourceIdSegmentValues.workspaceId,this._componentId=e.resourceIdSegmentValues.componentId,this._componentLinkId=e.resourceIdSegmentValues.componentLinkId}get siteId(){return this._siteId}get workspaceId(){return this._workspaceId}get componentId(){return this._componentId}get componentLinkId(){return this._componentLinkId}static create(r){let t={qualifier:rt.qualifier,platformQualifier:rt.platformQualifier,cloudId:r.siteId,resourceOwner:rt.resourceOwner,resourceType:rt.resourceType,resourceId:`${r.workspaceId}/${r.componentId}/${r.componentLinkId}`,resourceIdSegmentValues:{workspaceId:r.workspaceId,componentId:r.componentId,componentLinkId:r.componentLinkId}},i=p.fromOpts(t,rt);return new e(i)}static parse(r){let t=p.fromString(r,rt);return new e(t)}getVariables(){return{siteId:this.siteId,workspaceId:this.workspaceId,componentId:this.componentId,componentLinkId:this.componentLinkId}}},it={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"compass",resourceType:"custom-field-definition",resourceIdSlug:"{workspaceId}/{definitionId}",resourceIdSegmentFormats:{workspaceId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/,definitionId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},nt=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._workspaceId=e.resourceIdSegmentValues.workspaceId,this._definitionId=e.resourceIdSegmentValues.definitionId}get siteId(){return this._siteId}get workspaceId(){return this._workspaceId}get definitionId(){return this._definitionId}static create(r){let t={qualifier:it.qualifier,platformQualifier:it.platformQualifier,cloudId:r.siteId,resourceOwner:it.resourceOwner,resourceType:it.resourceType,resourceId:`${r.workspaceId}/${r.definitionId}`,resourceIdSegmentValues:{workspaceId:r.workspaceId,definitionId:r.definitionId}},i=p.fromOpts(t,it);return new e(i)}static parse(r){let t=p.fromString(r,it);return new e(t)}getVariables(){return{siteId:this.siteId,workspaceId:this.workspaceId,definitionId:this.definitionId}}},ot={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"compass",resourceType:"document",resourceIdSlug:"{workspaceId}/{documentId}",resourceIdSegmentFormats:{workspaceId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/,documentId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},at=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._workspaceId=e.resourceIdSegmentValues.workspaceId,this._documentId=e.resourceIdSegmentValues.documentId}get siteId(){return this._siteId}get workspaceId(){return this._workspaceId}get documentId(){return this._documentId}static create(r){let t={qualifier:ot.qualifier,platformQualifier:ot.platformQualifier,cloudId:r.siteId,resourceOwner:ot.resourceOwner,resourceType:ot.resourceType,resourceId:`${r.workspaceId}/${r.documentId}`,resourceIdSegmentValues:{workspaceId:r.workspaceId,documentId:r.documentId}},i=p.fromOpts(t,ot);return new e(i)}static parse(r){let t=p.fromString(r,ot);return new e(t)}getVariables(){return{siteId:this.siteId,workspaceId:this.workspaceId,documentId:this.documentId}}},st={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"compass",resourceType:"documentation-category",resourceIdSlug:"{workspaceId}/{documentationCategoryId}",resourceIdSegmentFormats:{workspaceId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/,documentationCategoryId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},ut=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._workspaceId=e.resourceIdSegmentValues.workspaceId,this._documentationCategoryId=e.resourceIdSegmentValues.documentationCategoryId}get siteId(){return this._siteId}get workspaceId(){return this._workspaceId}get documentationCategoryId(){return this._documentationCategoryId}static create(r){let t={qualifier:st.qualifier,platformQualifier:st.platformQualifier,cloudId:r.siteId,resourceOwner:st.resourceOwner,resourceType:st.resourceType,resourceId:`${r.workspaceId}/${r.documentationCategoryId}`,resourceIdSegmentValues:{workspaceId:r.workspaceId,documentationCategoryId:r.documentationCategoryId}},i=p.fromOpts(t,st);return new e(i)}static parse(r){let t=p.fromString(r,st);return new e(t)}getVariables(){return{siteId:this.siteId,workspaceId:this.workspaceId,documentationCategoryId:this.documentationCategoryId}}},ct={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"compass",resourceType:"event-source",resourceIdSlug:"{workspaceId}/{eventSourceId}",resourceIdSegmentFormats:{workspaceId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/,eventSourceId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},dt=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._workspaceId=e.resourceIdSegmentValues.workspaceId,this._eventSourceId=e.resourceIdSegmentValues.eventSourceId}get siteId(){return this._siteId}get workspaceId(){return this._workspaceId}get eventSourceId(){return this._eventSourceId}static create(r){let t={qualifier:ct.qualifier,platformQualifier:ct.platformQualifier,cloudId:r.siteId,resourceOwner:ct.resourceOwner,resourceType:ct.resourceType,resourceId:`${r.workspaceId}/${r.eventSourceId}`,resourceIdSegmentValues:{workspaceId:r.workspaceId,eventSourceId:r.eventSourceId}},i=p.fromOpts(t,ct);return new e(i)}static parse(r){let t=p.fromString(r,ct);return new e(t)}getVariables(){return{siteId:this.siteId,workspaceId:this.workspaceId,eventSourceId:this.eventSourceId}}},lt={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"compass",resourceType:"incoming-webhook",resourceIdSlug:"{workspaceId}/{incomingWebhookId}",resourceIdSegmentFormats:{workspaceId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/,incomingWebhookId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},It=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._workspaceId=e.resourceIdSegmentValues.workspaceId,this._incomingWebhookId=e.resourceIdSegmentValues.incomingWebhookId}get siteId(){return this._siteId}get workspaceId(){return this._workspaceId}get incomingWebhookId(){return this._incomingWebhookId}static create(r){let t={qualifier:lt.qualifier,platformQualifier:lt.platformQualifier,cloudId:r.siteId,resourceOwner:lt.resourceOwner,resourceType:lt.resourceType,resourceId:`${r.workspaceId}/${r.incomingWebhookId}`,resourceIdSegmentValues:{workspaceId:r.workspaceId,incomingWebhookId:r.incomingWebhookId}},i=p.fromOpts(t,lt);return new e(i)}static parse(r){let t=p.fromString(r,lt);return new e(t)}getVariables(){return{siteId:this.siteId,workspaceId:this.workspaceId,incomingWebhookId:this.incomingWebhookId}}},pt={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]*$"),resourceOwner:"compass",resourceType:"metric-definition",resourceIdSlug:"{containerId}/{definitionId}",resourceIdSegmentFormats:{containerId:/(?:builtin|forge|[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12})/,definitionId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},ft=class e extends T{constructor(e){super(e),this._optionalSiteId=e.cloudId||"",this._containerId=e.resourceIdSegmentValues.containerId,this._definitionId=e.resourceIdSegmentValues.definitionId}get optionalSiteId(){return this._optionalSiteId}get containerId(){return this._containerId}get definitionId(){return this._definitionId}static create(r){let t={qualifier:pt.qualifier,platformQualifier:pt.platformQualifier,cloudId:r.optionalSiteId,resourceOwner:pt.resourceOwner,resourceType:pt.resourceType,resourceId:`${r.containerId}/${r.definitionId}`,resourceIdSegmentValues:{containerId:r.containerId,definitionId:r.definitionId}},i=p.fromOpts(t,pt);return new e(i)}static parse(r){let t=p.fromString(r,pt);return new e(t)}getVariables(){return{optionalSiteId:this.optionalSiteId,containerId:this.containerId,definitionId:this.definitionId}}},mt={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"compass",resourceType:"metric-source",resourceIdSlug:"{workspaceId}/{metricSourceId}",resourceIdSegmentFormats:{workspaceId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/,metricSourceId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},ht=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._workspaceId=e.resourceIdSegmentValues.workspaceId,this._metricSourceId=e.resourceIdSegmentValues.metricSourceId}get siteId(){return this._siteId}get workspaceId(){return this._workspaceId}get metricSourceId(){return this._metricSourceId}static create(r){let t={qualifier:mt.qualifier,platformQualifier:mt.platformQualifier,cloudId:r.siteId,resourceOwner:mt.resourceOwner,resourceType:mt.resourceType,resourceId:`${r.workspaceId}/${r.metricSourceId}`,resourceIdSegmentValues:{workspaceId:r.workspaceId,metricSourceId:r.metricSourceId}},i=p.fromOpts(t,mt);return new e(i)}static parse(r){let t=p.fromString(r,mt);return new e(t)}getVariables(){return{siteId:this.siteId,workspaceId:this.workspaceId,metricSourceId:this.metricSourceId}}},gt={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"compass",resourceType:"role",resourceIdSlug:"product/{roleType}",resourceIdSegmentFormats:{roleType:/(?:basic|member|admin)/}},vt=class e extends T{constructor(e){super(e),this._roleType=e.resourceIdSegmentValues.roleType}get roleType(){return this._roleType}static create(r){let t={qualifier:gt.qualifier,platformQualifier:gt.platformQualifier,cloudId:void 0,resourceOwner:gt.resourceOwner,resourceType:gt.resourceType,resourceId:`product/${r.roleType}`,resourceIdSegmentValues:{roleType:r.roleType}},i=p.fromOpts(t,gt);return new e(i)}static parse(r){let t=p.fromString(r,gt);return new e(t)}getVariables(){return{roleType:this.roleType}}},yt={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"compass",resourceType:"scorecard",resourceIdSlug:"{workspaceId}/{scorecardId}",resourceIdSegmentFormats:{workspaceId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/,scorecardId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},wt=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._workspaceId=e.resourceIdSegmentValues.workspaceId,this._scorecardId=e.resourceIdSegmentValues.scorecardId}get siteId(){return this._siteId}get workspaceId(){return this._workspaceId}get scorecardId(){return this._scorecardId}static create(r){let t={qualifier:yt.qualifier,platformQualifier:yt.platformQualifier,cloudId:r.siteId,resourceOwner:yt.resourceOwner,resourceType:yt.resourceType,resourceId:`${r.workspaceId}/${r.scorecardId}`,resourceIdSegmentValues:{workspaceId:r.workspaceId,scorecardId:r.scorecardId}},i=p.fromOpts(t,yt);return new e(i)}static parse(r){let t=p.fromString(r,yt);return new e(t)}getVariables(){return{siteId:this.siteId,workspaceId:this.workspaceId,scorecardId:this.scorecardId}}},St={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"compass",resourceType:"site",resourceIdSlug:"{siteId}",resourceIdSegmentFormats:{siteId:/[a-zA-Z0-9\-]+/}},_t=class e extends T{constructor(e){super(e),this._siteId=e.resourceIdSegmentValues.siteId}get siteId(){return this._siteId}static create(r){let t={qualifier:St.qualifier,platformQualifier:St.platformQualifier,cloudId:void 0,resourceOwner:St.resourceOwner,resourceType:St.resourceType,resourceId:`${r.siteId}`,resourceIdSegmentValues:{siteId:r.siteId}},i=p.fromOpts(t,St);return new e(i)}static parse(r){let t=p.fromString(r,St);return new e(t)}getVariables(){return{siteId:this.siteId}}},bt={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"compass",resourceType:"user-defined-parameter",resourceIdSlug:"{workspaceId}/{userDefinedParameterId}",resourceIdSegmentFormats:{workspaceId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/,userDefinedParameterId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},Tt=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._workspaceId=e.resourceIdSegmentValues.workspaceId,this._userDefinedParameterId=e.resourceIdSegmentValues.userDefinedParameterId}get siteId(){return this._siteId}get workspaceId(){return this._workspaceId}get userDefinedParameterId(){return this._userDefinedParameterId}static create(r){let t={qualifier:bt.qualifier,platformQualifier:bt.platformQualifier,cloudId:r.siteId,resourceOwner:bt.resourceOwner,resourceType:bt.resourceType,resourceId:`${r.workspaceId}/${r.userDefinedParameterId}`,resourceIdSegmentValues:{workspaceId:r.workspaceId,userDefinedParameterId:r.userDefinedParameterId}},i=p.fromOpts(t,bt);return new e(i)}static parse(r){let t=p.fromString(r,bt);return new e(t)}getVariables(){return{siteId:this.siteId,workspaceId:this.workspaceId,userDefinedParameterId:this.userDefinedParameterId}}},Ot={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"compass",resourceType:"webhook",resourceIdSlug:"{workspaceId}/{webhookId}",resourceIdSegmentFormats:{workspaceId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/,webhookId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},kt=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._workspaceId=e.resourceIdSegmentValues.workspaceId,this._webhookId=e.resourceIdSegmentValues.webhookId}get siteId(){return this._siteId}get workspaceId(){return this._workspaceId}get webhookId(){return this._webhookId}static create(r){let t={qualifier:Ot.qualifier,platformQualifier:Ot.platformQualifier,cloudId:r.siteId,resourceOwner:Ot.resourceOwner,resourceType:Ot.resourceType,resourceId:`${r.workspaceId}/${r.webhookId}`,resourceIdSegmentValues:{workspaceId:r.workspaceId,webhookId:r.webhookId}},i=p.fromOpts(t,Ot);return new e(i)}static parse(r){let t=p.fromString(r,Ot);return new e(t)}getVariables(){return{siteId:this.siteId,workspaceId:this.workspaceId,webhookId:this.webhookId}}},At={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"compass",resourceType:"workspace",resourceIdSlug:"{workspaceId}",resourceIdSegmentFormats:{workspaceId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},qt=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._workspaceId=e.resourceIdSegmentValues.workspaceId}get siteId(){return this._siteId}get workspaceId(){return this._workspaceId}static create(r){let t={qualifier:At.qualifier,platformQualifier:At.platformQualifier,cloudId:r.siteId,resourceOwner:At.resourceOwner,resourceType:At.resourceType,resourceId:`${r.workspaceId}`,resourceIdSegmentValues:{workspaceId:r.workspaceId}},i=p.fromOpts(t,At);return new e(i)}static parse(r){let t=p.fromString(r,At);return new e(t)}getVariables(){return{siteId:this.siteId,workspaceId:this.workspaceId}}},Vt={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"confluence",resourceType:"admin-announcement-banner",resourceIdSlug:"activation/{activationId}/{bannerId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,bannerId:/[0-9]+/}},Et=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._activationId=e.resourceIdSegmentValues.activationId,this._bannerId=e.resourceIdSegmentValues.bannerId}get siteId(){return this._siteId}get activationId(){return this._activationId}get bannerId(){return this._bannerId}static create(r){let t={qualifier:Vt.qualifier,platformQualifier:Vt.platformQualifier,cloudId:r.siteId,resourceOwner:Vt.resourceOwner,resourceType:Vt.resourceType,resourceId:`activation/${r.activationId}/${r.bannerId}`,resourceIdSegmentValues:{activationId:r.activationId,bannerId:r.bannerId}},i=p.fromOpts(t,Vt);return new e(i)}static parse(r){let t=p.fromString(r,Vt);return new e(t)}getVariables(){return{siteId:this.siteId,activationId:this.activationId,bannerId:this.bannerId}}},xt={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"confluence",resourceType:"attachment",resourceIdSlug:"{attachmentId}",resourceIdSegmentFormats:{attachmentId:/(att)?[0-9]+/}},Rt=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._attachmentId=e.resourceIdSegmentValues.attachmentId}get siteId(){return this._siteId}get attachmentId(){return this._attachmentId}static create(r){let t={qualifier:xt.qualifier,platformQualifier:xt.platformQualifier,cloudId:r.siteId,resourceOwner:xt.resourceOwner,resourceType:xt.resourceType,resourceId:`${r.attachmentId}`,resourceIdSegmentValues:{attachmentId:r.attachmentId}},i=p.fromOpts(t,xt);return new e(i)}static parse(r){let t=p.fromString(r,xt);return new e(t)}getVariables(){return{siteId:this.siteId,attachmentId:this.attachmentId}}},$t={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"confluence",resourceType:"blogpost",resourceIdSlug:"{blogpostId}",resourceIdSegmentFormats:{blogpostId:/[0-9]+/}},Qt=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._blogpostId=e.resourceIdSegmentValues.blogpostId}get siteId(){return this._siteId}get blogpostId(){return this._blogpostId}static create(r){let t={qualifier:$t.qualifier,platformQualifier:$t.platformQualifier,cloudId:r.siteId,resourceOwner:$t.resourceOwner,resourceType:$t.resourceType,resourceId:`${r.blogpostId}`,resourceIdSegmentValues:{blogpostId:r.blogpostId}},i=p.fromOpts(t,$t);return new e(i)}static parse(r){let t=p.fromString(r,$t);return new e(t)}getVariables(){return{siteId:this.siteId,blogpostId:this.blogpostId}}},Nt={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"confluence",resourceType:"comment",resourceIdSlug:"{commentId}",resourceIdSegmentFormats:{commentId:/[0-9]+/}},Ct=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._commentId=e.resourceIdSegmentValues.commentId}get siteId(){return this._siteId}get commentId(){return this._commentId}static create(r){let t={qualifier:Nt.qualifier,platformQualifier:Nt.platformQualifier,cloudId:r.siteId,resourceOwner:Nt.resourceOwner,resourceType:Nt.resourceType,resourceId:`${r.commentId}`,resourceIdSegmentValues:{commentId:r.commentId}},i=p.fromOpts(t,Nt);return new e(i)}static parse(r){let t=p.fromString(r,Nt);return new e(t)}getVariables(){return{siteId:this.siteId,commentId:this.commentId}}},Ft={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"confluence",resourceType:"content",resourceIdSlug:"{contentId}",resourceIdSegmentFormats:{contentId:/[0-9]+/}},zt=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._contentId=e.resourceIdSegmentValues.contentId}get siteId(){return this._siteId}get contentId(){return this._contentId}static create(r){let t={qualifier:Ft.qualifier,platformQualifier:Ft.platformQualifier,cloudId:r.siteId,resourceOwner:Ft.resourceOwner,resourceType:Ft.resourceType,resourceId:`${r.contentId}`,resourceIdSegmentValues:{contentId:r.contentId}},i=p.fromOpts(t,Ft);return new e(i)}static parse(r){let t=p.fromString(r,Ft);return new e(t)}getVariables(){return{siteId:this.siteId,contentId:this.contentId}}},Lt={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"confluence",resourceType:"database",resourceIdSlug:"activation/{activationId}/{databaseId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,databaseId:/[0-9]+/}},Mt=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._activationId=e.resourceIdSegmentValues.activationId,this._databaseId=e.resourceIdSegmentValues.databaseId}get siteId(){return this._siteId}get activationId(){return this._activationId}get databaseId(){return this._databaseId}static create(r){let t={qualifier:Lt.qualifier,platformQualifier:Lt.platformQualifier,cloudId:r.siteId,resourceOwner:Lt.resourceOwner,resourceType:Lt.resourceType,resourceId:`activation/${r.activationId}/${r.databaseId}`,resourceIdSegmentValues:{activationId:r.activationId,databaseId:r.databaseId}},i=p.fromOpts(t,Lt);return new e(i)}static parse(r){let t=p.fromString(r,Lt);return new e(t)}getVariables(){return{siteId:this.siteId,activationId:this.activationId,databaseId:this.databaseId}}},Pt={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"confluence",resourceType:"embed",resourceIdSlug:"activation/{activationId}/{embedId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,embedId:/[0-9]+/}},jt=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._activationId=e.resourceIdSegmentValues.activationId,this._embedId=e.resourceIdSegmentValues.embedId}get siteId(){return this._siteId}get activationId(){return this._activationId}get embedId(){return this._embedId}static create(r){let t={qualifier:Pt.qualifier,platformQualifier:Pt.platformQualifier,cloudId:r.siteId,resourceOwner:Pt.resourceOwner,resourceType:Pt.resourceType,resourceId:`activation/${r.activationId}/${r.embedId}`,resourceIdSegmentValues:{activationId:r.activationId,embedId:r.embedId}},i=p.fromOpts(t,Pt);return new e(i)}static parse(r){let t=p.fromString(r,Pt);return new e(t)}getVariables(){return{siteId:this.siteId,activationId:this.activationId,embedId:this.embedId}}},Zt={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"confluence",resourceType:"event",resourceIdSlug:"{eventType}/activation/{activationId}/event/{eventId}",resourceIdSegmentFormats:{eventType:/[a-zA-Z0-9\-]+/,activationId:/[a-zA-Z0-9\-]+/,eventId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},Ut=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._eventType=e.resourceIdSegmentValues.eventType,this._activationId=e.resourceIdSegmentValues.activationId,this._eventId=e.resourceIdSegmentValues.eventId}get siteId(){return this._siteId}get eventType(){return this._eventType}get activationId(){return this._activationId}get eventId(){return this._eventId}static create(r){let t={qualifier:Zt.qualifier,platformQualifier:Zt.platformQualifier,cloudId:r.siteId,resourceOwner:Zt.resourceOwner,resourceType:Zt.resourceType,resourceId:`${r.eventType}/activation/${r.activationId}/event/${r.eventId}`,resourceIdSegmentValues:{eventType:r.eventType,activationId:r.activationId,eventId:r.eventId}},i=p.fromOpts(t,Zt);return new e(i)}static parse(r){let t=p.fromString(r,Zt);return new e(t)}getVariables(){return{siteId:this.siteId,eventType:this.eventType,activationId:this.activationId,eventId:this.eventId}}},Dt={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"confluence",resourceType:"folder",resourceIdSlug:"activation/{activationId}/{folderId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,folderId:/[0-9]+/}},Wt=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._activationId=e.resourceIdSegmentValues.activationId,this._folderId=e.resourceIdSegmentValues.folderId}get siteId(){return this._siteId}get activationId(){return this._activationId}get folderId(){return this._folderId}static create(r){let t={qualifier:Dt.qualifier,platformQualifier:Dt.platformQualifier,cloudId:r.siteId,resourceOwner:Dt.resourceOwner,resourceType:Dt.resourceType,resourceId:`activation/${r.activationId}/${r.folderId}`,resourceIdSegmentValues:{activationId:r.activationId,folderId:r.folderId}},i=p.fromOpts(t,Dt);return new e(i)}static parse(r){let t=p.fromString(r,Dt);return new e(t)}getVariables(){return{siteId:this.siteId,activationId:this.activationId,folderId:this.folderId}}},Kt={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"confluence",resourceType:"long-running-task",resourceIdSlug:"activation/{activationId}/{taskId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,taskId:/[0-9]+/}},Bt=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._activationId=e.resourceIdSegmentValues.activationId,this._taskId=e.resourceIdSegmentValues.taskId}get siteId(){return this._siteId}get activationId(){return this._activationId}get taskId(){return this._taskId}static create(r){let t={qualifier:Kt.qualifier,platformQualifier:Kt.platformQualifier,cloudId:r.siteId,resourceOwner:Kt.resourceOwner,resourceType:Kt.resourceType,resourceId:`activation/${r.activationId}/${r.taskId}`,resourceIdSegmentValues:{activationId:r.activationId,taskId:r.taskId}},i=p.fromOpts(t,Kt);return new e(i)}static parse(r){let t=p.fromString(r,Kt);return new e(t)}getVariables(){return{siteId:this.siteId,activationId:this.activationId,taskId:this.taskId}}},Gt={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"confluence",resourceType:"note",resourceIdSlug:"activation/{activationId}/{noteId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,noteId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},Jt=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._activationId=e.resourceIdSegmentValues.activationId,this._noteId=e.resourceIdSegmentValues.noteId}get siteId(){return this._siteId}get activationId(){return this._activationId}get noteId(){return this._noteId}static create(r){let t={qualifier:Gt.qualifier,platformQualifier:Gt.platformQualifier,cloudId:r.siteId,resourceOwner:Gt.resourceOwner,resourceType:Gt.resourceType,resourceId:`activation/${r.activationId}/${r.noteId}`,resourceIdSegmentValues:{activationId:r.activationId,noteId:r.noteId}},i=p.fromOpts(t,Gt);return new e(i)}static parse(r){let t=p.fromString(r,Gt);return new e(t)}getVariables(){return{siteId:this.siteId,activationId:this.activationId,noteId:this.noteId}}},Ht={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"confluence",resourceType:"page",resourceIdSlug:"{pageId}",resourceIdSegmentFormats:{pageId:/[0-9]+/}},Yt=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._pageId=e.resourceIdSegmentValues.pageId}get siteId(){return this._siteId}get pageId(){return this._pageId}static create(r){let t={qualifier:Ht.qualifier,platformQualifier:Ht.platformQualifier,cloudId:r.siteId,resourceOwner:Ht.resourceOwner,resourceType:Ht.resourceType,resourceId:`${r.pageId}`,resourceIdSegmentValues:{pageId:r.pageId}},i=p.fromOpts(t,Ht);return new e(i)}static parse(r){let t=p.fromString(r,Ht);return new e(t)}getVariables(){return{siteId:this.siteId,pageId:this.pageId}}},Xt={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"confluence",resourceType:"public-link",resourceIdSlug:"activation/{activationId}/{publicLinkId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,publicLinkId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},ei=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._activationId=e.resourceIdSegmentValues.activationId,this._publicLinkId=e.resourceIdSegmentValues.publicLinkId}get siteId(){return this._siteId}get activationId(){return this._activationId}get publicLinkId(){return this._publicLinkId}static create(r){let t={qualifier:Xt.qualifier,platformQualifier:Xt.platformQualifier,cloudId:r.siteId,resourceOwner:Xt.resourceOwner,resourceType:Xt.resourceType,resourceId:`activation/${r.activationId}/${r.publicLinkId}`,resourceIdSegmentValues:{activationId:r.activationId,publicLinkId:r.publicLinkId}},i=p.fromOpts(t,Xt);return new e(i)}static parse(r){let t=p.fromString(r,Xt);return new e(t)}getVariables(){return{siteId:this.siteId,activationId:this.activationId,publicLinkId:this.publicLinkId}}},ri={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]*$"),resourceOwner:"confluence",resourceType:"role",resourceIdSlug:"{roleId}",resourceIdSegmentFormats:{roleId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},ti=class e extends T{constructor(e){super(e),this._optionalSiteId=e.cloudId||"",this._roleId=e.resourceIdSegmentValues.roleId}get optionalSiteId(){return this._optionalSiteId}get roleId(){return this._roleId}static create(r){let t={qualifier:ri.qualifier,platformQualifier:ri.platformQualifier,cloudId:r.optionalSiteId,resourceOwner:ri.resourceOwner,resourceType:ri.resourceType,resourceId:`${r.roleId}`,resourceIdSegmentValues:{roleId:r.roleId}},i=p.fromOpts(t,ri);return new e(i)}static parse(r){let t=p.fromString(r,ri);return new e(t)}getVariables(){return{optionalSiteId:this.optionalSiteId,roleId:this.roleId}}},ii={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"confluence",resourceType:"site",resourceIdSlug:"{siteId}",resourceIdSegmentFormats:{siteId:/[a-zA-Z0-9\-]+/}},ni=class e extends T{constructor(e){super(e),this._siteId=e.resourceIdSegmentValues.siteId}get siteId(){return this._siteId}static create(r){let t={qualifier:ii.qualifier,platformQualifier:ii.platformQualifier,cloudId:void 0,resourceOwner:ii.resourceOwner,resourceType:ii.resourceType,resourceId:`${r.siteId}`,resourceIdSegmentValues:{siteId:r.siteId}},i=p.fromOpts(t,ii);return new e(i)}static parse(r){let t=p.fromString(r,ii);return new e(t)}getVariables(){return{siteId:this.siteId}}},oi={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"confluence",resourceType:"space",resourceIdSlug:"{spaceId}",resourceIdSegmentFormats:{spaceId:/[0-9]+/}},ai=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._spaceId=e.resourceIdSegmentValues.spaceId}get siteId(){return this._siteId}get spaceId(){return this._spaceId}static create(r){let t={qualifier:oi.qualifier,platformQualifier:oi.platformQualifier,cloudId:r.siteId,resourceOwner:oi.resourceOwner,resourceType:oi.resourceType,resourceId:`${r.spaceId}`,resourceIdSegmentValues:{spaceId:r.spaceId}},i=p.fromOpts(t,oi);return new e(i)}static parse(r){let t=p.fromString(r,oi);return new e(t)}getVariables(){return{siteId:this.siteId,spaceId:this.spaceId}}},si={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"confluence",resourceType:"task",resourceIdSlug:"{taskId}",resourceIdSegmentFormats:{taskId:/[0-9]+/}},ui=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._taskId=e.resourceIdSegmentValues.taskId}get siteId(){return this._siteId}get taskId(){return this._taskId}static create(r){let t={qualifier:si.qualifier,platformQualifier:si.platformQualifier,cloudId:r.siteId,resourceOwner:si.resourceOwner,resourceType:si.resourceType,resourceId:`${r.taskId}`,resourceIdSegmentValues:{taskId:r.taskId}},i=p.fromOpts(t,si);return new e(i)}static parse(r){let t=p.fromString(r,si);return new e(t)}getVariables(){return{siteId:this.siteId,taskId:this.taskId}}},ci={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"confluence",resourceType:"team-calendar",resourceIdSlug:"activation/{activationId}/{calendarId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,calendarId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},di=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._activationId=e.resourceIdSegmentValues.activationId,this._calendarId=e.resourceIdSegmentValues.calendarId}get siteId(){return this._siteId}get activationId(){return this._activationId}get calendarId(){return this._calendarId}static create(r){let t={qualifier:ci.qualifier,platformQualifier:ci.platformQualifier,cloudId:r.siteId,resourceOwner:ci.resourceOwner,resourceType:ci.resourceType,resourceId:`activation/${r.activationId}/${r.calendarId}`,resourceIdSegmentValues:{activationId:r.activationId,calendarId:r.calendarId}},i=p.fromOpts(t,ci);return new e(i)}static parse(r){let t=p.fromString(r,ci);return new e(t)}getVariables(){return{siteId:this.siteId,activationId:this.activationId,calendarId:this.calendarId}}},li={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"confluence",resourceType:"user-property",resourceIdSlug:"{userPropertyId}",resourceIdSegmentFormats:{userPropertyId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},Ii=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._userPropertyId=e.resourceIdSegmentValues.userPropertyId}get siteId(){return this._siteId}get userPropertyId(){return this._userPropertyId}static create(r){let t={qualifier:li.qualifier,platformQualifier:li.platformQualifier,cloudId:r.siteId,resourceOwner:li.resourceOwner,resourceType:li.resourceType,resourceId:`${r.userPropertyId}`,resourceIdSegmentValues:{userPropertyId:r.userPropertyId}},i=p.fromOpts(t,li);return new e(i)}static parse(r){let t=p.fromString(r,li);return new e(t)}getVariables(){return{siteId:this.siteId,userPropertyId:this.userPropertyId}}},pi={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"confluence",resourceType:"whiteboard",resourceIdSlug:"{whiteboardId}",resourceIdSegmentFormats:{whiteboardId:/[0-9]+/}},fi=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._whiteboardId=e.resourceIdSegmentValues.whiteboardId}get siteId(){return this._siteId}get whiteboardId(){return this._whiteboardId}static create(r){let t={qualifier:pi.qualifier,platformQualifier:pi.platformQualifier,cloudId:r.siteId,resourceOwner:pi.resourceOwner,resourceType:pi.resourceType,resourceId:`${r.whiteboardId}`,resourceIdSegmentValues:{whiteboardId:r.whiteboardId}},i=p.fromOpts(t,pi);return new e(i)}static parse(r){let t=p.fromString(r,pi);return new e(t)}getVariables(){return{siteId:this.siteId,whiteboardId:this.whiteboardId}}},mi={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"confluence",resourceType:"workspace",resourceIdSlug:"{activationId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/}},hi=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._activationId=e.resourceIdSegmentValues.activationId}get siteId(){return this._siteId}get activationId(){return this._activationId}static create(r){let t={qualifier:mi.qualifier,platformQualifier:mi.platformQualifier,cloudId:r.siteId,resourceOwner:mi.resourceOwner,resourceType:mi.resourceType,resourceId:`${r.activationId}`,resourceIdSegmentValues:{activationId:r.activationId}},i=p.fromOpts(t,mi);return new e(i)}static parse(r){let t=p.fromString(r,mi);return new e(t)}getVariables(){return{siteId:this.siteId,activationId:this.activationId}}},gi={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"connection-registry",resourceType:"link",resourceIdSlug:"{linkId}",resourceIdSegmentFormats:{linkId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},vi=class e extends T{constructor(e){super(e),this._linkId=e.resourceIdSegmentValues.linkId}get linkId(){return this._linkId}static create(r){let t={qualifier:gi.qualifier,platformQualifier:gi.platformQualifier,cloudId:void 0,resourceOwner:gi.resourceOwner,resourceType:gi.resourceType,resourceId:`${r.linkId}`,resourceIdSegmentValues:{linkId:r.linkId}},i=p.fromOpts(t,gi);return new e(i)}static parse(r){let t=p.fromString(r,gi);return new e(t)}getVariables(){return{linkId:this.linkId}}},yi={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"conversational-help",resourceType:"conversation",resourceIdSlug:"{conversationId}",resourceIdSegmentFormats:{conversationId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},wi=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._conversationId=e.resourceIdSegmentValues.conversationId}get siteId(){return this._siteId}get conversationId(){return this._conversationId}static create(r){let t={qualifier:yi.qualifier,platformQualifier:yi.platformQualifier,cloudId:r.siteId,resourceOwner:yi.resourceOwner,resourceType:yi.resourceType,resourceId:`${r.conversationId}`,resourceIdSegmentValues:{conversationId:r.conversationId}},i=p.fromOpts(t,yi);return new e(i)}static parse(r){let t=p.fromString(r,yi);return new e(t)}getVariables(){return{siteId:this.siteId,conversationId:this.conversationId}}},Si={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"conversational-help",resourceType:"conversation-message",resourceIdSlug:"{conversationMessageId}",resourceIdSegmentFormats:{conversationMessageId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},_i=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._conversationMessageId=e.resourceIdSegmentValues.conversationMessageId}get siteId(){return this._siteId}get conversationMessageId(){return this._conversationMessageId}static create(r){let t={qualifier:Si.qualifier,platformQualifier:Si.platformQualifier,cloudId:r.siteId,resourceOwner:Si.resourceOwner,resourceType:Si.resourceType,resourceId:`${r.conversationMessageId}`,resourceIdSegmentValues:{conversationMessageId:r.conversationMessageId}},i=p.fromOpts(t,Si);return new e(i)}static parse(r){let t=p.fromString(r,Si);return new e(t)}getVariables(){return{siteId:this.siteId,conversationMessageId:this.conversationMessageId}}},bi={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"data-lake",resourceType:"lake-connection",resourceIdSlug:"{lakeConnectionId}",resourceIdSegmentFormats:{lakeConnectionId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},Ti=class e extends T{constructor(e){super(e),this._lakeConnectionId=e.resourceIdSegmentValues.lakeConnectionId}get lakeConnectionId(){return this._lakeConnectionId}static create(r){let t={qualifier:bi.qualifier,platformQualifier:bi.platformQualifier,cloudId:void 0,resourceOwner:bi.resourceOwner,resourceType:bi.resourceType,resourceId:`${r.lakeConnectionId}`,resourceIdSegmentValues:{lakeConnectionId:r.lakeConnectionId}},i=p.fromOpts(t,bi);return new e(i)}static parse(r){let t=p.fromString(r,bi);return new e(t)}getVariables(){return{lakeConnectionId:this.lakeConnectionId}}},Oi={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"devops",resourceType:"container",resourceIdSlug:"{containerId}",resourceIdSegmentFormats:{containerId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},ki=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._containerId=e.resourceIdSegmentValues.containerId}get siteId(){return this._siteId}get containerId(){return this._containerId}static create(r){let t={qualifier:Oi.qualifier,platformQualifier:Oi.platformQualifier,cloudId:r.siteId,resourceOwner:Oi.resourceOwner,resourceType:Oi.resourceType,resourceId:`${r.containerId}`,resourceIdSegmentValues:{containerId:r.containerId}},i=p.fromOpts(t,Oi);return new e(i)}static parse(r){let t=p.fromString(r,Oi);return new e(t)}getVariables(){return{siteId:this.siteId,containerId:this.containerId}}},Ai={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"devops",resourceType:"namespace",resourceIdSlug:"{namespaceId}",resourceIdSegmentFormats:{namespaceId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},qi=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._namespaceId=e.resourceIdSegmentValues.namespaceId}get siteId(){return this._siteId}get namespaceId(){return this._namespaceId}static create(r){let t={qualifier:Ai.qualifier,platformQualifier:Ai.platformQualifier,cloudId:r.siteId,resourceOwner:Ai.resourceOwner,resourceType:Ai.resourceType,resourceId:`${r.namespaceId}`,resourceIdSegmentValues:{namespaceId:r.namespaceId}},i=p.fromOpts(t,Ai);return new e(i)}static parse(r){let t=p.fromString(r,Ai);return new e(t)}getVariables(){return{siteId:this.siteId,namespaceId:this.namespaceId}}},Vi={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"devops",resourceType:"provider",resourceIdSlug:"{providerNamespace}/{providerAppId}",resourceIdSegmentFormats:{providerNamespace:/(classic|forge|asap|oauth)/,providerAppId:/[a-zA-Z0-9-._]+/}},Ei=class e extends T{constructor(e){super(e),this._providerNamespace=e.resourceIdSegmentValues.providerNamespace,this._providerAppId=e.resourceIdSegmentValues.providerAppId}get providerNamespace(){return this._providerNamespace}get providerAppId(){return this._providerAppId}static create(r){let t={qualifier:Vi.qualifier,platformQualifier:Vi.platformQualifier,cloudId:void 0,resourceOwner:Vi.resourceOwner,resourceType:Vi.resourceType,resourceId:`${r.providerNamespace}/${r.providerAppId}`,resourceIdSegmentValues:{providerNamespace:r.providerNamespace,providerAppId:r.providerAppId}},i=p.fromOpts(t,Vi);return new e(i)}static parse(r){let t=p.fromString(r,Vi);return new e(t)}getVariables(){return{providerNamespace:this.providerNamespace,providerAppId:this.providerAppId}}},xi={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"devops",resourceType:"relationship",resourceIdSlug:"{relationshipId}",resourceIdSegmentFormats:{relationshipId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},Ri=class e extends T{constructor(e){super(e),this._relationshipId=e.resourceIdSegmentValues.relationshipId}get relationshipId(){return this._relationshipId}static create(r){let t={qualifier:xi.qualifier,platformQualifier:xi.platformQualifier,cloudId:void 0,resourceOwner:xi.resourceOwner,resourceType:xi.resourceType,resourceId:`${r.relationshipId}`,resourceIdSegmentValues:{relationshipId:r.relationshipId}},i=p.fromOpts(t,xi);return new e(i)}static parse(r){let t=p.fromString(r,xi);return new e(t)}getVariables(){return{relationshipId:this.relationshipId}}},$i={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"devops",resourceType:"tool",resourceIdSlug:"{toolId}",resourceIdSegmentFormats:{toolId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},Qi=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._toolId=e.resourceIdSegmentValues.toolId}get siteId(){return this._siteId}get toolId(){return this._toolId}static create(r){let t={qualifier:$i.qualifier,platformQualifier:$i.platformQualifier,cloudId:r.siteId,resourceOwner:$i.resourceOwner,resourceType:$i.resourceType,resourceId:`${r.toolId}`,resourceIdSegmentValues:{toolId:r.toolId}},i=p.fromOpts(t,$i);return new e(i)}static parse(r){let t=p.fromString(r,$i);return new e(t)}getVariables(){return{siteId:this.siteId,toolId:this.toolId}}},Ni={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"ecosystem",resourceType:"app",resourceIdSlug:"{appId}",resourceIdSegmentFormats:{appId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},Ci=class e extends T{constructor(e){super(e),this._appId=e.resourceIdSegmentValues.appId}get appId(){return this._appId}static create(r){let t={qualifier:Ni.qualifier,platformQualifier:Ni.platformQualifier,cloudId:void 0,resourceOwner:Ni.resourceOwner,resourceType:Ni.resourceType,resourceId:`${r.appId}`,resourceIdSegmentValues:{appId:r.appId}},i=p.fromOpts(t,Ni);return new e(i)}static parse(r){let t=p.fromString(r,Ni);return new e(t)}getVariables(){return{appId:this.appId}}},Fi={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"ecosystem",resourceType:"app-environment-version",resourceIdSlug:"{appId}/{environmentId}/{versionId}",resourceIdSegmentFormats:{appId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/,environmentId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/,versionId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},zi=class e extends T{constructor(e){super(e),this._appId=e.resourceIdSegmentValues.appId,this._environmentId=e.resourceIdSegmentValues.environmentId,this._versionId=e.resourceIdSegmentValues.versionId}get appId(){return this._appId}get environmentId(){return this._environmentId}get versionId(){return this._versionId}static create(r){let t={qualifier:Fi.qualifier,platformQualifier:Fi.platformQualifier,cloudId:void 0,resourceOwner:Fi.resourceOwner,resourceType:Fi.resourceType,resourceId:`${r.appId}/${r.environmentId}/${r.versionId}`,resourceIdSegmentValues:{appId:r.appId,environmentId:r.environmentId,versionId:r.versionId}},i=p.fromOpts(t,Fi);return new e(i)}static parse(r){let t=p.fromString(r,Fi);return new e(t)}getVariables(){return{appId:this.appId,environmentId:this.environmentId,versionId:this.versionId}}},Li={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"ecosystem",resourceType:"connect-app",resourceIdSlug:"{appKey}",resourceIdSegmentFormats:{appKey:/[a-zA-Z0-9-._]+/}},Mi=class e extends T{constructor(e){super(e),this._appKey=e.resourceIdSegmentValues.appKey}get appKey(){return this._appKey}static create(r){let t={qualifier:Li.qualifier,platformQualifier:Li.platformQualifier,cloudId:void 0,resourceOwner:Li.resourceOwner,resourceType:Li.resourceType,resourceId:`${r.appKey}`,resourceIdSegmentValues:{appKey:r.appKey}},i=p.fromOpts(t,Li);return new e(i)}static parse(r){let t=p.fromString(r,Li);return new e(t)}getVariables(){return{appKey:this.appKey}}},Pi={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"ecosystem",resourceType:"environment",resourceIdSlug:"{appId}/{environmentId}",resourceIdSegmentFormats:{appId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/,environmentId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},ji=class e extends T{constructor(e){super(e),this._appId=e.resourceIdSegmentValues.appId,this._environmentId=e.resourceIdSegmentValues.environmentId}get appId(){return this._appId}get environmentId(){return this._environmentId}static create(r){let t={qualifier:Pi.qualifier,platformQualifier:Pi.platformQualifier,cloudId:void 0,resourceOwner:Pi.resourceOwner,resourceType:Pi.resourceType,resourceId:`${r.appId}/${r.environmentId}`,resourceIdSegmentValues:{appId:r.appId,environmentId:r.environmentId}},i=p.fromOpts(t,Pi);return new e(i)}static parse(r){let t=p.fromString(r,Pi);return new e(t)}getVariables(){return{appId:this.appId,environmentId:this.environmentId}}},Zi={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"ecosystem",resourceType:"extension",resourceIdSlug:"{appId}/{environmentId}/{groupId}/{extensionKey}",resourceIdSegmentFormats:{appId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/,environmentId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/,groupId:/([0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}|static)/,extensionKey:/[a-zA-Z0-9-._]+/}},Ui=class e extends T{constructor(e){super(e),this._appId=e.resourceIdSegmentValues.appId,this._environmentId=e.resourceIdSegmentValues.environmentId,this._groupId=e.resourceIdSegmentValues.groupId,this._extensionKey=e.resourceIdSegmentValues.extensionKey}get appId(){return this._appId}get environmentId(){return this._environmentId}get groupId(){return this._groupId}get extensionKey(){return this._extensionKey}static create(r){let t={qualifier:Zi.qualifier,platformQualifier:Zi.platformQualifier,cloudId:void 0,resourceOwner:Zi.resourceOwner,resourceType:Zi.resourceType,resourceId:`${r.appId}/${r.environmentId}/${r.groupId}/${r.extensionKey}`,resourceIdSegmentValues:{appId:r.appId,environmentId:r.environmentId,groupId:r.groupId,extensionKey:r.extensionKey}},i=p.fromOpts(t,Zi);return new e(i)}static parse(r){let t=p.fromString(r,Zi);return new e(t)}getVariables(){return{appId:this.appId,environmentId:this.environmentId,groupId:this.groupId,extensionKey:this.extensionKey}}},Di={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"ecosystem",resourceType:"extension-group",resourceIdSlug:"{appId}/{environmentId}/{groupId}",resourceIdSegmentFormats:{appId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/,environmentId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/,groupId:/([0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}|static)/}},Wi=class e extends T{constructor(e){super(e),this._appId=e.resourceIdSegmentValues.appId,this._environmentId=e.resourceIdSegmentValues.environmentId,this._groupId=e.resourceIdSegmentValues.groupId}get appId(){return this._appId}get environmentId(){return this._environmentId}get groupId(){return this._groupId}static create(r){let t={qualifier:Di.qualifier,platformQualifier:Di.platformQualifier,cloudId:void 0,resourceOwner:Di.resourceOwner,resourceType:Di.resourceType,resourceId:`${r.appId}/${r.environmentId}/${r.groupId}`,resourceIdSegmentValues:{appId:r.appId,environmentId:r.environmentId,groupId:r.groupId}},i=p.fromOpts(t,Di);return new e(i)}static parse(r){let t=p.fromString(r,Di);return new e(t)}getVariables(){return{appId:this.appId,environmentId:this.environmentId,groupId:this.groupId}}},Ki={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"ecosystem",resourceType:"installation",resourceIdSlug:"{installationId}",resourceIdSegmentFormats:{installationId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},Bi=class e extends T{constructor(e){super(e),this._installationId=e.resourceIdSegmentValues.installationId}get installationId(){return this._installationId}static create(r){let t={qualifier:Ki.qualifier,platformQualifier:Ki.platformQualifier,cloudId:void 0,resourceOwner:Ki.resourceOwner,resourceType:Ki.resourceType,resourceId:`${r.installationId}`,resourceIdSegmentValues:{installationId:r.installationId}},i=p.fromOpts(t,Ki);return new e(i)}static parse(r){let t=p.fromString(r,Ki);return new e(t)}getVariables(){return{installationId:this.installationId}}},Gi={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"elements",resourceType:"custom-emoji-metadata",resourceIdSlug:"{customEmojiMetadataId}",resourceIdSegmentFormats:{customEmojiMetadataId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},Ji=class e extends T{constructor(e){super(e),this._customEmojiMetadataId=e.resourceIdSegmentValues.customEmojiMetadataId}get customEmojiMetadataId(){return this._customEmojiMetadataId}static create(r){let t={qualifier:Gi.qualifier,platformQualifier:Gi.platformQualifier,cloudId:void 0,resourceOwner:Gi.resourceOwner,resourceType:Gi.resourceType,resourceId:`${r.customEmojiMetadataId}`,resourceIdSegmentValues:{customEmojiMetadataId:r.customEmojiMetadataId}},i=p.fromOpts(t,Gi);return new e(i)}static parse(r){let t=p.fromString(r,Gi);return new e(t)}getVariables(){return{customEmojiMetadataId:this.customEmojiMetadataId}}},Hi={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"elements",resourceType:"workspace",resourceIdSlug:"{workspaceId}",resourceIdSegmentFormats:{workspaceId:/[a-zA-Z0-9\-]+/}},Yi=class e extends T{constructor(e){super(e),this._workspaceId=e.resourceIdSegmentValues.workspaceId}get workspaceId(){return this._workspaceId}static create(r){let t={qualifier:Hi.qualifier,platformQualifier:Hi.platformQualifier,cloudId:void 0,resourceOwner:Hi.resourceOwner,resourceType:Hi.resourceType,resourceId:`${r.workspaceId}`,resourceIdSegmentValues:{workspaceId:r.workspaceId}},i=p.fromOpts(t,Hi);return new e(i)}static parse(r){let t=p.fromString(r,Hi);return new e(t)}getVariables(){return{workspaceId:this.workspaceId}}},Xi={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"exus-external",resourceType:"user",resourceIdSlug:"{thirdPartySource}/{thirdPartyUserId}",resourceIdSegmentFormats:{thirdPartySource:/[a-z0-9-]+/,thirdPartyUserId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},en=class e extends T{constructor(e){super(e),this._thirdPartySource=e.resourceIdSegmentValues.thirdPartySource,this._thirdPartyUserId=e.resourceIdSegmentValues.thirdPartyUserId}get thirdPartySource(){return this._thirdPartySource}get thirdPartyUserId(){return this._thirdPartyUserId}static create(r){let t={qualifier:Xi.qualifier,platformQualifier:Xi.platformQualifier,cloudId:void 0,resourceOwner:Xi.resourceOwner,resourceType:Xi.resourceType,resourceId:`${r.thirdPartySource}/${r.thirdPartyUserId}`,resourceIdSegmentValues:{thirdPartySource:r.thirdPartySource,thirdPartyUserId:r.thirdPartyUserId}},i=p.fromOpts(t,Xi);return new e(i)}static parse(r){let t=p.fromString(r,Xi);return new e(t)}getVariables(){return{thirdPartySource:this.thirdPartySource,thirdPartyUserId:this.thirdPartyUserId}}},rn={qualifier:"ari",platformQualifier:"third-party",cloudId:new RegExp("^$"),resourceOwner:"figma",resourceType:"file",resourceIdSlug:"{fileId}",resourceIdSegmentFormats:{fileId:/[A-z0-9]+/}},tn=class e extends T{constructor(e){super(e),this._fileId=e.resourceIdSegmentValues.fileId}get fileId(){return this._fileId}static create(r){let t={qualifier:rn.qualifier,platformQualifier:rn.platformQualifier,cloudId:void 0,resourceOwner:rn.resourceOwner,resourceType:rn.resourceType,resourceId:`${r.fileId}`,resourceIdSegmentValues:{fileId:r.fileId}},i=p.fromOpts(t,rn);return new e(i)}static parse(r){let t=p.fromString(r,rn);return new e(t)}getVariables(){return{fileId:this.fileId}}},nn={qualifier:"ari",platformQualifier:"third-party",cloudId:new RegExp("^$"),resourceOwner:"google",resourceType:"document",resourceIdSlug:"{docId}",resourceIdSegmentFormats:{docId:/[a-zA-Z0-9_-]+/}},on=class e extends T{constructor(e){super(e),this._docId=e.resourceIdSegmentValues.docId}get docId(){return this._docId}static create(r){let t={qualifier:nn.qualifier,platformQualifier:nn.platformQualifier,cloudId:void 0,resourceOwner:nn.resourceOwner,resourceType:nn.resourceType,resourceId:`${r.docId}`,resourceIdSegmentValues:{docId:r.docId}},i=p.fromOpts(t,nn);return new e(i)}static parse(r){let t=p.fromString(r,nn);return new e(t)}getVariables(){return{docId:this.docId}}},an={qualifier:"ari",platformQualifier:"third-party",cloudId:new RegExp("^$"),resourceOwner:"google",resourceType:"form",resourceIdSlug:"{docId}",resourceIdSegmentFormats:{docId:/[a-zA-Z0-9_-]+/}},sn=class e extends T{constructor(e){super(e),this._docId=e.resourceIdSegmentValues.docId}get docId(){return this._docId}static create(r){let t={qualifier:an.qualifier,platformQualifier:an.platformQualifier,cloudId:void 0,resourceOwner:an.resourceOwner,resourceType:an.resourceType,resourceId:`${r.docId}`,resourceIdSegmentValues:{docId:r.docId}},i=p.fromOpts(t,an);return new e(i)}static parse(r){let t=p.fromString(r,an);return new e(t)}getVariables(){return{docId:this.docId}}},un={qualifier:"ari",platformQualifier:"third-party",cloudId:new RegExp("^$"),resourceOwner:"google",resourceType:"presentation",resourceIdSlug:"{docId}",resourceIdSegmentFormats:{docId:/[a-zA-Z0-9_-]+/}},cn=class e extends T{constructor(e){super(e),this._docId=e.resourceIdSegmentValues.docId}get docId(){return this._docId}static create(r){let t={qualifier:un.qualifier,platformQualifier:un.platformQualifier,cloudId:void 0,resourceOwner:un.resourceOwner,resourceType:un.resourceType,resourceId:`${r.docId}`,resourceIdSegmentValues:{docId:r.docId}},i=p.fromOpts(t,un);return new e(i)}static parse(r){let t=p.fromString(r,un);return new e(t)}getVariables(){return{docId:this.docId}}},dn={qualifier:"ari",platformQualifier:"third-party",cloudId:new RegExp("^$"),resourceOwner:"google",resourceType:"spreadsheet",resourceIdSlug:"{docId}",resourceIdSegmentFormats:{docId:/[a-zA-Z0-9_-]+/}},ln=class e extends T{constructor(e){super(e),this._docId=e.resourceIdSegmentValues.docId}get docId(){return this._docId}static create(r){let t={qualifier:dn.qualifier,platformQualifier:dn.platformQualifier,cloudId:void 0,resourceOwner:dn.resourceOwner,resourceType:dn.resourceType,resourceId:`${r.docId}`,resourceIdSegmentValues:{docId:r.docId}},i=p.fromOpts(t,dn);return new e(i)}static parse(r){let t=p.fromString(r,dn);return new e(t)}getVariables(){return{docId:this.docId}}},In={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"graph",resourceType:"branch",resourceIdSlug:"activation/{activationId}/{branchId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,branchId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},pn=class e extends T{constructor(e){super(e),this._activationId=e.resourceIdSegmentValues.activationId,this._branchId=e.resourceIdSegmentValues.branchId}get activationId(){return this._activationId}get branchId(){return this._branchId}static create(r){let t={qualifier:In.qualifier,platformQualifier:In.platformQualifier,cloudId:void 0,resourceOwner:In.resourceOwner,resourceType:In.resourceType,resourceId:`activation/${r.activationId}/${r.branchId}`,resourceIdSegmentValues:{activationId:r.activationId,branchId:r.branchId}},i=p.fromOpts(t,In);return new e(i)}static parse(r){let t=p.fromString(r,In);return new e(t)}getVariables(){return{activationId:this.activationId,branchId:this.branchId}}},fn={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"graph",resourceType:"branch-history",resourceIdSlug:"activation/{activationId}/{branchId}/{updateSequenceNumber}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,branchId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/,updateSequenceNumber:/\d+/}},mn=class e extends T{constructor(e){super(e),this._activationId=e.resourceIdSegmentValues.activationId,this._branchId=e.resourceIdSegmentValues.branchId,this._updateSequenceNumber=e.resourceIdSegmentValues.updateSequenceNumber}get activationId(){return this._activationId}get branchId(){return this._branchId}get updateSequenceNumber(){return this._updateSequenceNumber}static create(r){let t={qualifier:fn.qualifier,platformQualifier:fn.platformQualifier,cloudId:void 0,resourceOwner:fn.resourceOwner,resourceType:fn.resourceType,resourceId:`activation/${r.activationId}/${r.branchId}/${r.updateSequenceNumber}`,resourceIdSegmentValues:{activationId:r.activationId,branchId:r.branchId,updateSequenceNumber:r.updateSequenceNumber}},i=p.fromOpts(t,fn);return new e(i)}static parse(r){let t=p.fromString(r,fn);return new e(t)}getVariables(){return{activationId:this.activationId,branchId:this.branchId,updateSequenceNumber:this.updateSequenceNumber}}},hn={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"graph",resourceType:"build",resourceIdSlug:"activation/{activationId}/{buildId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,buildId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},gn=class e extends T{constructor(e){super(e),this._activationId=e.resourceIdSegmentValues.activationId,this._buildId=e.resourceIdSegmentValues.buildId}get activationId(){return this._activationId}get buildId(){return this._buildId}static create(r){let t={qualifier:hn.qualifier,platformQualifier:hn.platformQualifier,cloudId:void 0,resourceOwner:hn.resourceOwner,resourceType:hn.resourceType,resourceId:`activation/${r.activationId}/${r.buildId}`,resourceIdSegmentValues:{activationId:r.activationId,buildId:r.buildId}},i=p.fromOpts(t,hn);return new e(i)}static parse(r){let t=p.fromString(r,hn);return new e(t)}getVariables(){return{activationId:this.activationId,buildId:this.buildId}}},vn={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"graph",resourceType:"build-history",resourceIdSlug:"activation/{activationId}/{buildId}/{updateSequenceNumber}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,buildId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/,updateSequenceNumber:/\d+/}},yn=class e extends T{constructor(e){super(e),this._activationId=e.resourceIdSegmentValues.activationId,this._buildId=e.resourceIdSegmentValues.buildId,this._updateSequenceNumber=e.resourceIdSegmentValues.updateSequenceNumber}get activationId(){return this._activationId}get buildId(){return this._buildId}get updateSequenceNumber(){return this._updateSequenceNumber}static create(r){let t={qualifier:vn.qualifier,platformQualifier:vn.platformQualifier,cloudId:void 0,resourceOwner:vn.resourceOwner,resourceType:vn.resourceType,resourceId:`activation/${r.activationId}/${r.buildId}/${r.updateSequenceNumber}`,resourceIdSegmentValues:{activationId:r.activationId,buildId:r.buildId,updateSequenceNumber:r.updateSequenceNumber}},i=p.fromOpts(t,vn);return new e(i)}static parse(r){let t=p.fromString(r,vn);return new e(t)}getVariables(){return{activationId:this.activationId,buildId:this.buildId,updateSequenceNumber:this.updateSequenceNumber}}},wn={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"graph",resourceType:"commit",resourceIdSlug:"activation/{activationId}/{commitId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,commitId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},Sn=class e extends T{constructor(e){super(e),this._activationId=e.resourceIdSegmentValues.activationId,this._commitId=e.resourceIdSegmentValues.commitId}get activationId(){return this._activationId}get commitId(){return this._commitId}static create(r){let t={qualifier:wn.qualifier,platformQualifier:wn.platformQualifier,cloudId:void 0,resourceOwner:wn.resourceOwner,resourceType:wn.resourceType,resourceId:`activation/${r.activationId}/${r.commitId}`,resourceIdSegmentValues:{activationId:r.activationId,commitId:r.commitId}},i=p.fromOpts(t,wn);return new e(i)}static parse(r){let t=p.fromString(r,wn);return new e(t)}getVariables(){return{activationId:this.activationId,commitId:this.commitId}}},_n={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"graph",resourceType:"content",resourceIdSlug:"activation/{activationId}/{contentId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,contentId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},bn=class e extends T{constructor(e){super(e),this._activationId=e.resourceIdSegmentValues.activationId,this._contentId=e.resourceIdSegmentValues.contentId}get activationId(){return this._activationId}get contentId(){return this._contentId}static create(r){let t={qualifier:_n.qualifier,platformQualifier:_n.platformQualifier,cloudId:void 0,resourceOwner:_n.resourceOwner,resourceType:_n.resourceType,resourceId:`activation/${r.activationId}/${r.contentId}`,resourceIdSegmentValues:{activationId:r.activationId,contentId:r.contentId}},i=p.fromOpts(t,_n);return new e(i)}static parse(r){let t=p.fromString(r,_n);return new e(t)}getVariables(){return{activationId:this.activationId,contentId:this.contentId}}},Tn={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"graph",resourceType:"deployment",resourceIdSlug:"activation/{activationId}/{deploymentId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,deploymentId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},On=class e extends T{constructor(e){super(e),this._activationId=e.resourceIdSegmentValues.activationId,this._deploymentId=e.resourceIdSegmentValues.deploymentId}get activationId(){return this._activationId}get deploymentId(){return this._deploymentId}static create(r){let t={qualifier:Tn.qualifier,platformQualifier:Tn.platformQualifier,cloudId:void 0,resourceOwner:Tn.resourceOwner,resourceType:Tn.resourceType,resourceId:`activation/${r.activationId}/${r.deploymentId}`,resourceIdSegmentValues:{activationId:r.activationId,deploymentId:r.deploymentId}},i=p.fromOpts(t,Tn);return new e(i)}static parse(r){let t=p.fromString(r,Tn);return new e(t)}getVariables(){return{activationId:this.activationId,deploymentId:this.deploymentId}}},kn={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"graph",resourceType:"deployment-history",resourceIdSlug:"activation/{activationId}/{deploymentId}/{updateSequenceNumber}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,deploymentId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/,updateSequenceNumber:/\d+/}},An=class e extends T{constructor(e){super(e),this._activationId=e.resourceIdSegmentValues.activationId,this._deploymentId=e.resourceIdSegmentValues.deploymentId,this._updateSequenceNumber=e.resourceIdSegmentValues.updateSequenceNumber}get activationId(){return this._activationId}get deploymentId(){return this._deploymentId}get updateSequenceNumber(){return this._updateSequenceNumber}static create(r){let t={qualifier:kn.qualifier,platformQualifier:kn.platformQualifier,cloudId:void 0,resourceOwner:kn.resourceOwner,resourceType:kn.resourceType,resourceId:`activation/${r.activationId}/${r.deploymentId}/${r.updateSequenceNumber}`,resourceIdSegmentValues:{activationId:r.activationId,deploymentId:r.deploymentId,updateSequenceNumber:r.updateSequenceNumber}},i=p.fromOpts(t,kn);return new e(i)}static parse(r){let t=p.fromString(r,kn);return new e(t)}getVariables(){return{activationId:this.activationId,deploymentId:this.deploymentId,updateSequenceNumber:this.updateSequenceNumber}}},qn={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"graph",resourceType:"design",resourceIdSlug:"activation/{activationId}/{designId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,designId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},Vn=class e extends T{constructor(e){super(e),this._activationId=e.resourceIdSegmentValues.activationId,this._designId=e.resourceIdSegmentValues.designId}get activationId(){return this._activationId}get designId(){return this._designId}static create(r){let t={qualifier:qn.qualifier,platformQualifier:qn.platformQualifier,cloudId:void 0,resourceOwner:qn.resourceOwner,resourceType:qn.resourceType,resourceId:`activation/${r.activationId}/${r.designId}`,resourceIdSegmentValues:{activationId:r.activationId,designId:r.designId}},i=p.fromOpts(t,qn);return new e(i)}static parse(r){let t=p.fromString(r,qn);return new e(t)}getVariables(){return{activationId:this.activationId,designId:this.designId}}},En={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"graph",resourceType:"design-history",resourceIdSlug:"activation/{activationId}/{designId}/{updateSequenceNumber}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,designId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/,updateSequenceNumber:/\d+/}},xn=class e extends T{constructor(e){super(e),this._activationId=e.resourceIdSegmentValues.activationId,this._designId=e.resourceIdSegmentValues.designId,this._updateSequenceNumber=e.resourceIdSegmentValues.updateSequenceNumber}get activationId(){return this._activationId}get designId(){return this._designId}get updateSequenceNumber(){return this._updateSequenceNumber}static create(r){let t={qualifier:En.qualifier,platformQualifier:En.platformQualifier,cloudId:void 0,resourceOwner:En.resourceOwner,resourceType:En.resourceType,resourceId:`activation/${r.activationId}/${r.designId}/${r.updateSequenceNumber}`,resourceIdSegmentValues:{activationId:r.activationId,designId:r.designId,updateSequenceNumber:r.updateSequenceNumber}},i=p.fromOpts(t,En);return new e(i)}static parse(r){let t=p.fromString(r,En);return new e(t)}getVariables(){return{activationId:this.activationId,designId:this.designId,updateSequenceNumber:this.updateSequenceNumber}}},Rn={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"graph",resourceType:"devops-component",resourceIdSlug:"activation/{activationId}/{devopsComponentId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,devopsComponentId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},$n=class e extends T{constructor(e){super(e),this._activationId=e.resourceIdSegmentValues.activationId,this._devopsComponentId=e.resourceIdSegmentValues.devopsComponentId}get activationId(){return this._activationId}get devopsComponentId(){return this._devopsComponentId}static create(r){let t={qualifier:Rn.qualifier,platformQualifier:Rn.platformQualifier,cloudId:void 0,resourceOwner:Rn.resourceOwner,resourceType:Rn.resourceType,resourceId:`activation/${r.activationId}/${r.devopsComponentId}`,resourceIdSegmentValues:{activationId:r.activationId,devopsComponentId:r.devopsComponentId}},i=p.fromOpts(t,Rn);return new e(i)}static parse(r){let t=p.fromString(r,Rn);return new e(t)}getVariables(){return{activationId:this.activationId,devopsComponentId:this.devopsComponentId}}},Qn={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"graph",resourceType:"document",resourceIdSlug:"activation/{activationId}/{documentId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,documentId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},Nn=class e extends T{constructor(e){super(e),this._activationId=e.resourceIdSegmentValues.activationId,this._documentId=e.resourceIdSegmentValues.documentId}get activationId(){return this._activationId}get documentId(){return this._documentId}static create(r){let t={qualifier:Qn.qualifier,platformQualifier:Qn.platformQualifier,cloudId:void 0,resourceOwner:Qn.resourceOwner,resourceType:Qn.resourceType,resourceId:`activation/${r.activationId}/${r.documentId}`,resourceIdSegmentValues:{activationId:r.activationId,documentId:r.documentId}},i=p.fromOpts(t,Qn);return new e(i)}static parse(r){let t=p.fromString(r,Qn);return new e(t)}getVariables(){return{activationId:this.activationId,documentId:this.documentId}}},Cn={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"graph",resourceType:"document-history",resourceIdSlug:"activation/{activationId}/{documentId}/{updateSequenceNumber}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,documentId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/,updateSequenceNumber:/\d+/}},Fn=class e extends T{constructor(e){super(e),this._activationId=e.resourceIdSegmentValues.activationId,this._documentId=e.resourceIdSegmentValues.documentId,this._updateSequenceNumber=e.resourceIdSegmentValues.updateSequenceNumber}get activationId(){return this._activationId}get documentId(){return this._documentId}get updateSequenceNumber(){return this._updateSequenceNumber}static create(r){let t={qualifier:Cn.qualifier,platformQualifier:Cn.platformQualifier,cloudId:void 0,resourceOwner:Cn.resourceOwner,resourceType:Cn.resourceType,resourceId:`activation/${r.activationId}/${r.documentId}/${r.updateSequenceNumber}`,resourceIdSegmentValues:{activationId:r.activationId,documentId:r.documentId,updateSequenceNumber:r.updateSequenceNumber}},i=p.fromOpts(t,Cn);return new e(i)}static parse(r){let t=p.fromString(r,Cn);return new e(t)}getVariables(){return{activationId:this.activationId,documentId:this.documentId,updateSequenceNumber:this.updateSequenceNumber}}},zn={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"graph",resourceType:"employee",resourceIdSlug:"activation/{activationId}/{employeeId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,employeeId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},Ln=class e extends T{constructor(e){super(e),this._activationId=e.resourceIdSegmentValues.activationId,this._employeeId=e.resourceIdSegmentValues.employeeId}get activationId(){return this._activationId}get employeeId(){return this._employeeId}static create(r){let t={qualifier:zn.qualifier,platformQualifier:zn.platformQualifier,cloudId:void 0,resourceOwner:zn.resourceOwner,resourceType:zn.resourceType,resourceId:`activation/${r.activationId}/${r.employeeId}`,resourceIdSegmentValues:{activationId:r.activationId,employeeId:r.employeeId}},i=p.fromOpts(t,zn);return new e(i)}static parse(r){let t=p.fromString(r,zn);return new e(t)}getVariables(){return{activationId:this.activationId,employeeId:this.employeeId}}},Mn={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"graph",resourceType:"employee-history",resourceIdSlug:"activation/{activationId}/{employeeId}/{updateSequenceNumber}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,employeeId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/,updateSequenceNumber:/\d+/}},Pn=class e extends T{constructor(e){super(e),this._activationId=e.resourceIdSegmentValues.activationId,this._employeeId=e.resourceIdSegmentValues.employeeId,this._updateSequenceNumber=e.resourceIdSegmentValues.updateSequenceNumber}get activationId(){return this._activationId}get employeeId(){return this._employeeId}get updateSequenceNumber(){return this._updateSequenceNumber}static create(r){let t={qualifier:Mn.qualifier,platformQualifier:Mn.platformQualifier,cloudId:void 0,resourceOwner:Mn.resourceOwner,resourceType:Mn.resourceType,resourceId:`activation/${r.activationId}/${r.employeeId}/${r.updateSequenceNumber}`,resourceIdSegmentValues:{activationId:r.activationId,employeeId:r.employeeId,updateSequenceNumber:r.updateSequenceNumber}},i=p.fromOpts(t,Mn);return new e(i)}static parse(r){let t=p.fromString(r,Mn);return new e(t)}getVariables(){return{activationId:this.activationId,employeeId:this.employeeId,updateSequenceNumber:this.updateSequenceNumber}}},jn={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"graph",resourceType:"feature-flag",resourceIdSlug:"activation/{activationId}/{featureFlagId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,featureFlagId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},Zn=class e extends T{constructor(e){super(e),this._activationId=e.resourceIdSegmentValues.activationId,this._featureFlagId=e.resourceIdSegmentValues.featureFlagId}get activationId(){return this._activationId}get featureFlagId(){return this._featureFlagId}static create(r){let t={qualifier:jn.qualifier,platformQualifier:jn.platformQualifier,cloudId:void 0,resourceOwner:jn.resourceOwner,resourceType:jn.resourceType,resourceId:`activation/${r.activationId}/${r.featureFlagId}`,resourceIdSegmentValues:{activationId:r.activationId,featureFlagId:r.featureFlagId}},i=p.fromOpts(t,jn);return new e(i)}static parse(r){let t=p.fromString(r,jn);return new e(t)}getVariables(){return{activationId:this.activationId,featureFlagId:this.featureFlagId}}},Un={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"graph",resourceType:"feature-flag-history",resourceIdSlug:"activation/{activationId}/{featureFlagId}/{updateSequenceNumber}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,featureFlagId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/,updateSequenceNumber:/\d+/}},Dn=class e extends T{constructor(e){super(e),this._activationId=e.resourceIdSegmentValues.activationId,this._featureFlagId=e.resourceIdSegmentValues.featureFlagId,this._updateSequenceNumber=e.resourceIdSegmentValues.updateSequenceNumber}get activationId(){return this._activationId}get featureFlagId(){return this._featureFlagId}get updateSequenceNumber(){return this._updateSequenceNumber}static create(r){let t={qualifier:Un.qualifier,platformQualifier:Un.platformQualifier,cloudId:void 0,resourceOwner:Un.resourceOwner,resourceType:Un.resourceType,resourceId:`activation/${r.activationId}/${r.featureFlagId}/${r.updateSequenceNumber}`,resourceIdSegmentValues:{activationId:r.activationId,featureFlagId:r.featureFlagId,updateSequenceNumber:r.updateSequenceNumber}},i=p.fromOpts(t,Un);return new e(i)}static parse(r){let t=p.fromString(r,Un);return new e(t)}getVariables(){return{activationId:this.activationId,featureFlagId:this.featureFlagId,updateSequenceNumber:this.updateSequenceNumber}}},Wn={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"graph",resourceType:"incident",resourceIdSlug:"activation/{activationId}/{incidentId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,incidentId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},Kn=class e extends T{constructor(e){super(e),this._activationId=e.resourceIdSegmentValues.activationId,this._incidentId=e.resourceIdSegmentValues.incidentId}get activationId(){return this._activationId}get incidentId(){return this._incidentId}static create(r){let t={qualifier:Wn.qualifier,platformQualifier:Wn.platformQualifier,cloudId:void 0,resourceOwner:Wn.resourceOwner,resourceType:Wn.resourceType,resourceId:`activation/${r.activationId}/${r.incidentId}`,resourceIdSegmentValues:{activationId:r.activationId,incidentId:r.incidentId}},i=p.fromOpts(t,Wn);return new e(i)}static parse(r){let t=p.fromString(r,Wn);return new e(t)}getVariables(){return{activationId:this.activationId,incidentId:this.incidentId}}},Bn={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"graph",resourceType:"incident-history",resourceIdSlug:"activation/{activationId}/{incidentId}/{updateSequenceNumber}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,incidentId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/,updateSequenceNumber:/\d+/}},Gn=class e extends T{constructor(e){super(e),this._activationId=e.resourceIdSegmentValues.activationId,this._incidentId=e.resourceIdSegmentValues.incidentId,this._updateSequenceNumber=e.resourceIdSegmentValues.updateSequenceNumber}get activationId(){return this._activationId}get incidentId(){return this._incidentId}get updateSequenceNumber(){return this._updateSequenceNumber}static create(r){let t={qualifier:Bn.qualifier,platformQualifier:Bn.platformQualifier,cloudId:void 0,resourceOwner:Bn.resourceOwner,resourceType:Bn.resourceType,resourceId:`activation/${r.activationId}/${r.incidentId}/${r.updateSequenceNumber}`,resourceIdSegmentValues:{activationId:r.activationId,incidentId:r.incidentId,updateSequenceNumber:r.updateSequenceNumber}},i=p.fromOpts(t,Bn);return new e(i)}static parse(r){let t=p.fromString(r,Bn);return new e(t)}getVariables(){return{activationId:this.activationId,incidentId:this.incidentId,updateSequenceNumber:this.updateSequenceNumber}}},Jn={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"graph",resourceType:"jira-project-and-devops-tool-relationship",resourceIdSlug:"{workspaceId}/{relationshipId}",resourceIdSegmentFormats:{workspaceId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/,relationshipId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},Hn=class e extends T{constructor(e){super(e),this._workspaceId=e.resourceIdSegmentValues.workspaceId,this._relationshipId=e.resourceIdSegmentValues.relationshipId}get workspaceId(){return this._workspaceId}get relationshipId(){return this._relationshipId}static create(r){let t={qualifier:Jn.qualifier,platformQualifier:Jn.platformQualifier,cloudId:void 0,resourceOwner:Jn.resourceOwner,resourceType:Jn.resourceType,resourceId:`${r.workspaceId}/${r.relationshipId}`,resourceIdSegmentValues:{workspaceId:r.workspaceId,relationshipId:r.relationshipId}},i=p.fromOpts(t,Jn);return new e(i)}static parse(r){let t=p.fromString(r,Jn);return new e(t)}getVariables(){return{workspaceId:this.workspaceId,relationshipId:this.relationshipId}}},Yn={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"graph",resourceType:"jira-project-and-documentation-space-relationship",resourceIdSlug:"{workspaceId}/{relationshipId}",resourceIdSegmentFormats:{workspaceId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/,relationshipId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},Xn=class e extends T{constructor(e){super(e),this._workspaceId=e.resourceIdSegmentValues.workspaceId,this._relationshipId=e.resourceIdSegmentValues.relationshipId}get workspaceId(){return this._workspaceId}get relationshipId(){return this._relationshipId}static create(r){let t={qualifier:Yn.qualifier,platformQualifier:Yn.platformQualifier,cloudId:void 0,resourceOwner:Yn.resourceOwner,resourceType:Yn.resourceType,resourceId:`${r.workspaceId}/${r.relationshipId}`,resourceIdSegmentValues:{workspaceId:r.workspaceId,relationshipId:r.relationshipId}},i=p.fromOpts(t,Yn);return new e(i)}static parse(r){let t=p.fromString(r,Yn);return new e(t)}getVariables(){return{workspaceId:this.workspaceId,relationshipId:this.relationshipId}}},eo={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"graph",resourceType:"jira-project-and-operations-team-relationship",resourceIdSlug:"{workspaceId}/{relationshipId}",resourceIdSegmentFormats:{workspaceId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/,relationshipId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},ro=class e extends T{constructor(e){super(e),this._workspaceId=e.resourceIdSegmentValues.workspaceId,this._relationshipId=e.resourceIdSegmentValues.relationshipId}get workspaceId(){return this._workspaceId}get relationshipId(){return this._relationshipId}static create(r){let t={qualifier:eo.qualifier,platformQualifier:eo.platformQualifier,cloudId:void 0,resourceOwner:eo.resourceOwner,resourceType:eo.resourceType,resourceId:`${r.workspaceId}/${r.relationshipId}`,resourceIdSegmentValues:{workspaceId:r.workspaceId,relationshipId:r.relationshipId}},i=p.fromOpts(t,eo);return new e(i)}static parse(r){let t=p.fromString(r,eo);return new e(t)}getVariables(){return{workspaceId:this.workspaceId,relationshipId:this.relationshipId}}},to={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"graph",resourceType:"jira-project-and-vcs-repository-relationship",resourceIdSlug:"{workspaceId}/{relationshipId}",resourceIdSegmentFormats:{workspaceId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/,relationshipId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},io=class e extends T{constructor(e){super(e),this._workspaceId=e.resourceIdSegmentValues.workspaceId,this._relationshipId=e.resourceIdSegmentValues.relationshipId}get workspaceId(){return this._workspaceId}get relationshipId(){return this._relationshipId}static create(r){let t={qualifier:to.qualifier,platformQualifier:to.platformQualifier,cloudId:void 0,resourceOwner:to.resourceOwner,resourceType:to.resourceType,resourceId:`${r.workspaceId}/${r.relationshipId}`,resourceIdSegmentValues:{workspaceId:r.workspaceId,relationshipId:r.relationshipId}},i=p.fromOpts(t,to);return new e(i)}static parse(r){let t=p.fromString(r,to);return new e(t)}getVariables(){return{workspaceId:this.workspaceId,relationshipId:this.relationshipId}}},no={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"graph",resourceType:"jira-project-and-vcs-repository-relationship-temp-migration",resourceIdSlug:"{siteId}/{projectId}/{activationId}/{repositoryId}",resourceIdSegmentFormats:{siteId:/[a-zA-Z0-9\-]+/,projectId:/[0-9]+/,activationId:/[a-zA-Z0-9\-]+/,repositoryId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},oo=class e extends T{constructor(e){super(e),this._siteId=e.resourceIdSegmentValues.siteId,this._projectId=e.resourceIdSegmentValues.projectId,this._activationId=e.resourceIdSegmentValues.activationId,this._repositoryId=e.resourceIdSegmentValues.repositoryId}get siteId(){return this._siteId}get projectId(){return this._projectId}get activationId(){return this._activationId}get repositoryId(){return this._repositoryId}static create(r){let t={qualifier:no.qualifier,platformQualifier:no.platformQualifier,cloudId:void 0,resourceOwner:no.resourceOwner,resourceType:no.resourceType,resourceId:`${r.siteId}/${r.projectId}/${r.activationId}/${r.repositoryId}`,resourceIdSegmentValues:{siteId:r.siteId,projectId:r.projectId,activationId:r.activationId,repositoryId:r.repositoryId}},i=p.fromOpts(t,no);return new e(i)}static parse(r){let t=p.fromString(r,no);return new e(t)}getVariables(){return{siteId:this.siteId,projectId:this.projectId,activationId:this.activationId,repositoryId:this.repositoryId}}},ao={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"graph",resourceType:"operations-workspace",resourceIdSlug:"activation/{activationId}/{providerAppId}/{operationsWorkspaceId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,providerAppId:/[a-zA-Z0-9-._]+/,operationsWorkspaceId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},so=class e extends T{constructor(e){super(e),this._activationId=e.resourceIdSegmentValues.activationId,this._providerAppId=e.resourceIdSegmentValues.providerAppId,this._operationsWorkspaceId=e.resourceIdSegmentValues.operationsWorkspaceId}get activationId(){return this._activationId}get providerAppId(){return this._providerAppId}get operationsWorkspaceId(){return this._operationsWorkspaceId}static create(r){let t={qualifier:ao.qualifier,platformQualifier:ao.platformQualifier,cloudId:void 0,resourceOwner:ao.resourceOwner,resourceType:ao.resourceType,resourceId:`activation/${r.activationId}/${r.providerAppId}/${r.operationsWorkspaceId}`,resourceIdSegmentValues:{activationId:r.activationId,providerAppId:r.providerAppId,operationsWorkspaceId:r.operationsWorkspaceId}},i=p.fromOpts(t,ao);return new e(i)}static parse(r){let t=p.fromString(r,ao);return new e(t)}getVariables(){return{activationId:this.activationId,providerAppId:this.providerAppId,operationsWorkspaceId:this.operationsWorkspaceId}}},uo={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"graph",resourceType:"post-incident-review",resourceIdSlug:"activation/{activationId}/{postIncidentReviewId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,postIncidentReviewId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},co=class e extends T{constructor(e){super(e),this._activationId=e.resourceIdSegmentValues.activationId,this._postIncidentReviewId=e.resourceIdSegmentValues.postIncidentReviewId}get activationId(){return this._activationId}get postIncidentReviewId(){return this._postIncidentReviewId}static create(r){let t={qualifier:uo.qualifier,platformQualifier:uo.platformQualifier,cloudId:void 0,resourceOwner:uo.resourceOwner,resourceType:uo.resourceType,resourceId:`activation/${r.activationId}/${r.postIncidentReviewId}`,resourceIdSegmentValues:{activationId:r.activationId,postIncidentReviewId:r.postIncidentReviewId}},i=p.fromOpts(t,uo);return new e(i)}static parse(r){let t=p.fromString(r,uo);return new e(t)}getVariables(){return{activationId:this.activationId,postIncidentReviewId:this.postIncidentReviewId}}},lo={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"graph",resourceType:"post-incident-review-history",resourceIdSlug:"activation/{activationId}/{postIncidentReviewId}/{updateSequenceNumber}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,postIncidentReviewId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/,updateSequenceNumber:/\d+/}},Io=class e extends T{constructor(e){super(e),this._activationId=e.resourceIdSegmentValues.activationId,this._postIncidentReviewId=e.resourceIdSegmentValues.postIncidentReviewId,this._updateSequenceNumber=e.resourceIdSegmentValues.updateSequenceNumber}get activationId(){return this._activationId}get postIncidentReviewId(){return this._postIncidentReviewId}get updateSequenceNumber(){return this._updateSequenceNumber}static create(r){let t={qualifier:lo.qualifier,platformQualifier:lo.platformQualifier,cloudId:void 0,resourceOwner:lo.resourceOwner,resourceType:lo.resourceType,resourceId:`activation/${r.activationId}/${r.postIncidentReviewId}/${r.updateSequenceNumber}`,resourceIdSegmentValues:{activationId:r.activationId,postIncidentReviewId:r.postIncidentReviewId,updateSequenceNumber:r.updateSequenceNumber}},i=p.fromOpts(t,lo);return new e(i)}static parse(r){let t=p.fromString(r,lo);return new e(t)}getVariables(){return{activationId:this.activationId,postIncidentReviewId:this.postIncidentReviewId,updateSequenceNumber:this.updateSequenceNumber}}},po={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"graph",resourceType:"project",resourceIdSlug:"activation/{activationId}/{projectId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,projectId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},fo=class e extends T{constructor(e){super(e),this._activationId=e.resourceIdSegmentValues.activationId,this._projectId=e.resourceIdSegmentValues.projectId}get activationId(){return this._activationId}get projectId(){return this._projectId}static create(r){let t={qualifier:po.qualifier,platformQualifier:po.platformQualifier,cloudId:void 0,resourceOwner:po.resourceOwner,resourceType:po.resourceType,resourceId:`activation/${r.activationId}/${r.projectId}`,resourceIdSegmentValues:{activationId:r.activationId,projectId:r.projectId}},i=p.fromOpts(t,po);return new e(i)}static parse(r){let t=p.fromString(r,po);return new e(t)}getVariables(){return{activationId:this.activationId,projectId:this.projectId}}},mo={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"graph",resourceType:"pull-request",resourceIdSlug:"activation/{activationId}/{pullRequestId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,pullRequestId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},ho=class e extends T{constructor(e){super(e),this._activationId=e.resourceIdSegmentValues.activationId,this._pullRequestId=e.resourceIdSegmentValues.pullRequestId}get activationId(){return this._activationId}get pullRequestId(){return this._pullRequestId}static create(r){let t={qualifier:mo.qualifier,platformQualifier:mo.platformQualifier,cloudId:void 0,resourceOwner:mo.resourceOwner,resourceType:mo.resourceType,resourceId:`activation/${r.activationId}/${r.pullRequestId}`,resourceIdSegmentValues:{activationId:r.activationId,pullRequestId:r.pullRequestId}},i=p.fromOpts(t,mo);return new e(i)}static parse(r){let t=p.fromString(r,mo);return new e(t)}getVariables(){return{activationId:this.activationId,pullRequestId:this.pullRequestId}}},go={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"graph",resourceType:"pull-request-history",resourceIdSlug:"activation/{activationId}/{pullRequestId}/{updateSequenceNumber}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,pullRequestId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/,updateSequenceNumber:/\d+/}},vo=class e extends T{constructor(e){super(e),this._activationId=e.resourceIdSegmentValues.activationId,this._pullRequestId=e.resourceIdSegmentValues.pullRequestId,this._updateSequenceNumber=e.resourceIdSegmentValues.updateSequenceNumber}get activationId(){return this._activationId}get pullRequestId(){return this._pullRequestId}get updateSequenceNumber(){return this._updateSequenceNumber}static create(r){let t={qualifier:go.qualifier,platformQualifier:go.platformQualifier,cloudId:void 0,resourceOwner:go.resourceOwner,resourceType:go.resourceType,resourceId:`activation/${r.activationId}/${r.pullRequestId}/${r.updateSequenceNumber}`,resourceIdSegmentValues:{activationId:r.activationId,pullRequestId:r.pullRequestId,updateSequenceNumber:r.updateSequenceNumber}},i=p.fromOpts(t,go);return new e(i)}static parse(r){let t=p.fromString(r,go);return new e(t)}getVariables(){return{activationId:this.activationId,pullRequestId:this.pullRequestId,updateSequenceNumber:this.updateSequenceNumber}}},yo={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"graph",resourceType:"remote-link",resourceIdSlug:"activation/{activationId}/{remoteLinkId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,remoteLinkId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},wo=class e extends T{constructor(e){super(e),this._activationId=e.resourceIdSegmentValues.activationId,this._remoteLinkId=e.resourceIdSegmentValues.remoteLinkId}get activationId(){return this._activationId}get remoteLinkId(){return this._remoteLinkId}static create(r){let t={qualifier:yo.qualifier,platformQualifier:yo.platformQualifier,cloudId:void 0,resourceOwner:yo.resourceOwner,resourceType:yo.resourceType,resourceId:`activation/${r.activationId}/${r.remoteLinkId}`,resourceIdSegmentValues:{activationId:r.activationId,remoteLinkId:r.remoteLinkId}},i=p.fromOpts(t,yo);return new e(i)}static parse(r){let t=p.fromString(r,yo);return new e(t)}getVariables(){return{activationId:this.activationId,remoteLinkId:this.remoteLinkId}}},So={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"graph",resourceType:"remote-link-history",resourceIdSlug:"activation/{activationId}/{remoteLinkId}/{updateSequenceNumber}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,remoteLinkId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/,updateSequenceNumber:/\d+/}},_o=class e extends T{constructor(e){super(e),this._activationId=e.resourceIdSegmentValues.activationId,this._remoteLinkId=e.resourceIdSegmentValues.remoteLinkId,this._updateSequenceNumber=e.resourceIdSegmentValues.updateSequenceNumber}get activationId(){return this._activationId}get remoteLinkId(){return this._remoteLinkId}get updateSequenceNumber(){return this._updateSequenceNumber}static create(r){let t={qualifier:So.qualifier,platformQualifier:So.platformQualifier,cloudId:void 0,resourceOwner:So.resourceOwner,resourceType:So.resourceType,resourceId:`activation/${r.activationId}/${r.remoteLinkId}/${r.updateSequenceNumber}`,resourceIdSegmentValues:{activationId:r.activationId,remoteLinkId:r.remoteLinkId,updateSequenceNumber:r.updateSequenceNumber}},i=p.fromOpts(t,So);return new e(i)}static parse(r){let t=p.fromString(r,So);return new e(t)}getVariables(){return{activationId:this.activationId,remoteLinkId:this.remoteLinkId,updateSequenceNumber:this.updateSequenceNumber}}},bo={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"graph",resourceType:"repository",resourceIdSlug:"activation/{activationId}/{repositoryId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,repositoryId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},To=class e extends T{constructor(e){super(e),this._activationId=e.resourceIdSegmentValues.activationId,this._repositoryId=e.resourceIdSegmentValues.repositoryId}get activationId(){return this._activationId}get repositoryId(){return this._repositoryId}static create(r){let t={qualifier:bo.qualifier,platformQualifier:bo.platformQualifier,cloudId:void 0,resourceOwner:bo.resourceOwner,resourceType:bo.resourceType,resourceId:`activation/${r.activationId}/${r.repositoryId}`,resourceIdSegmentValues:{activationId:r.activationId,repositoryId:r.repositoryId}},i=p.fromOpts(t,bo);return new e(i)}static parse(r){let t=p.fromString(r,bo);return new e(t)}getVariables(){return{activationId:this.activationId,repositoryId:this.repositoryId}}},Oo={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"graph",resourceType:"security-container",resourceIdSlug:"activation/{activationId}/{providerAppId}/{securityContainerId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,providerAppId:/[a-zA-Z0-9-._]+/,securityContainerId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},ko=class e extends T{constructor(e){super(e),this._activationId=e.resourceIdSegmentValues.activationId,this._providerAppId=e.resourceIdSegmentValues.providerAppId,this._securityContainerId=e.resourceIdSegmentValues.securityContainerId}get activationId(){return this._activationId}get providerAppId(){return this._providerAppId}get securityContainerId(){return this._securityContainerId}static create(r){let t={qualifier:Oo.qualifier,platformQualifier:Oo.platformQualifier,cloudId:void 0,resourceOwner:Oo.resourceOwner,resourceType:Oo.resourceType,resourceId:`activation/${r.activationId}/${r.providerAppId}/${r.securityContainerId}`,resourceIdSegmentValues:{activationId:r.activationId,providerAppId:r.providerAppId,securityContainerId:r.securityContainerId}},i=p.fromOpts(t,Oo);return new e(i)}static parse(r){let t=p.fromString(r,Oo);return new e(t)}getVariables(){return{activationId:this.activationId,providerAppId:this.providerAppId,securityContainerId:this.securityContainerId}}},Ao={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"graph",resourceType:"security-workspace",resourceIdSlug:"activation/{activationId}/{providerAppId}/{securityWorkspaceId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,providerAppId:/[a-zA-Z0-9-._]+/,securityWorkspaceId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},qo=class e extends T{constructor(e){super(e),this._activationId=e.resourceIdSegmentValues.activationId,this._providerAppId=e.resourceIdSegmentValues.providerAppId,this._securityWorkspaceId=e.resourceIdSegmentValues.securityWorkspaceId}get activationId(){return this._activationId}get providerAppId(){return this._providerAppId}get securityWorkspaceId(){return this._securityWorkspaceId}static create(r){let t={qualifier:Ao.qualifier,platformQualifier:Ao.platformQualifier,cloudId:void 0,resourceOwner:Ao.resourceOwner,resourceType:Ao.resourceType,resourceId:`activation/${r.activationId}/${r.providerAppId}/${r.securityWorkspaceId}`,resourceIdSegmentValues:{activationId:r.activationId,providerAppId:r.providerAppId,securityWorkspaceId:r.securityWorkspaceId}},i=p.fromOpts(t,Ao);return new e(i)}static parse(r){let t=p.fromString(r,Ao);return new e(t)}getVariables(){return{activationId:this.activationId,providerAppId:this.providerAppId,securityWorkspaceId:this.securityWorkspaceId}}},Vo={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"graph",resourceType:"service",resourceIdSlug:"{workspaceId}/{serviceId}",resourceIdSegmentFormats:{workspaceId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/,serviceId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},Eo=class e extends T{constructor(e){super(e),this._workspaceId=e.resourceIdSegmentValues.workspaceId,this._serviceId=e.resourceIdSegmentValues.serviceId}get workspaceId(){return this._workspaceId}get serviceId(){return this._serviceId}static create(r){let t={qualifier:Vo.qualifier,platformQualifier:Vo.platformQualifier,cloudId:void 0,resourceOwner:Vo.resourceOwner,resourceType:Vo.resourceType,resourceId:`${r.workspaceId}/${r.serviceId}`,resourceIdSegmentValues:{workspaceId:r.workspaceId,serviceId:r.serviceId}},i=p.fromOpts(t,Vo);return new e(i)}static parse(r){let t=p.fromString(r,Vo);return new e(t)}getVariables(){return{workspaceId:this.workspaceId,serviceId:this.serviceId}}},xo={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"graph",resourceType:"service-and-jira-project-relationship",resourceIdSlug:"{workspaceId}/{relationshipId}",resourceIdSegmentFormats:{workspaceId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/,relationshipId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},Ro=class e extends T{constructor(e){super(e),this._workspaceId=e.resourceIdSegmentValues.workspaceId,this._relationshipId=e.resourceIdSegmentValues.relationshipId}get workspaceId(){return this._workspaceId}get relationshipId(){return this._relationshipId}static create(r){let t={qualifier:xo.qualifier,platformQualifier:xo.platformQualifier,cloudId:void 0,resourceOwner:xo.resourceOwner,resourceType:xo.resourceType,resourceId:`${r.workspaceId}/${r.relationshipId}`,resourceIdSegmentValues:{workspaceId:r.workspaceId,relationshipId:r.relationshipId}},i=p.fromOpts(t,xo);return new e(i)}static parse(r){let t=p.fromString(r,xo);return new e(t)}getVariables(){return{workspaceId:this.workspaceId,relationshipId:this.relationshipId}}},$o={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"graph",resourceType:"service-and-operations-team-relationship",resourceIdSlug:"{workspaceId}/{relationshipId}",resourceIdSegmentFormats:{workspaceId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/,relationshipId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},Qo=class e extends T{constructor(e){super(e),this._workspaceId=e.resourceIdSegmentValues.workspaceId,this._relationshipId=e.resourceIdSegmentValues.relationshipId}get workspaceId(){return this._workspaceId}get relationshipId(){return this._relationshipId}static create(r){let t={qualifier:$o.qualifier,platformQualifier:$o.platformQualifier,cloudId:void 0,resourceOwner:$o.resourceOwner,resourceType:$o.resourceType,resourceId:`${r.workspaceId}/${r.relationshipId}`,resourceIdSegmentValues:{workspaceId:r.workspaceId,relationshipId:r.relationshipId}},i=p.fromOpts(t,$o);return new e(i)}static parse(r){let t=p.fromString(r,$o);return new e(t)}getVariables(){return{workspaceId:this.workspaceId,relationshipId:this.relationshipId}}},No={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"graph",resourceType:"service-and-vcs-repository-relationship",resourceIdSlug:"{workspaceId}/{relationshipId}",resourceIdSegmentFormats:{workspaceId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/,relationshipId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},Co=class e extends T{constructor(e){super(e),this._workspaceId=e.resourceIdSegmentValues.workspaceId,this._relationshipId=e.resourceIdSegmentValues.relationshipId}get workspaceId(){return this._workspaceId}get relationshipId(){return this._relationshipId}static create(r){let t={qualifier:No.qualifier,platformQualifier:No.platformQualifier,cloudId:void 0,resourceOwner:No.resourceOwner,resourceType:No.resourceType,resourceId:`${r.workspaceId}/${r.relationshipId}`,resourceIdSegmentValues:{workspaceId:r.workspaceId,relationshipId:r.relationshipId}},i=p.fromOpts(t,No);return new e(i)}static parse(r){let t=p.fromString(r,No);return new e(t)}getVariables(){return{workspaceId:this.workspaceId,relationshipId:this.relationshipId}}},Fo={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"graph",resourceType:"service-relationship",resourceIdSlug:"{workspaceId}/{relationshipId}",resourceIdSegmentFormats:{workspaceId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/,relationshipId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},zo=class e extends T{constructor(e){super(e),this._workspaceId=e.resourceIdSegmentValues.workspaceId,this._relationshipId=e.resourceIdSegmentValues.relationshipId}get workspaceId(){return this._workspaceId}get relationshipId(){return this._relationshipId}static create(r){let t={qualifier:Fo.qualifier,platformQualifier:Fo.platformQualifier,cloudId:void 0,resourceOwner:Fo.resourceOwner,resourceType:Fo.resourceType,resourceId:`${r.workspaceId}/${r.relationshipId}`,resourceIdSegmentValues:{workspaceId:r.workspaceId,relationshipId:r.relationshipId}},i=p.fromOpts(t,Fo);return new e(i)}static parse(r){let t=p.fromString(r,Fo);return new e(t)}getVariables(){return{workspaceId:this.workspaceId,relationshipId:this.relationshipId}}},Lo={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"graph",resourceType:"video",resourceIdSlug:"activation/{activationId}/{entityUUID}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,entityUUID:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},Mo=class e extends T{constructor(e){super(e),this._activationId=e.resourceIdSegmentValues.activationId,this._entityUUID=e.resourceIdSegmentValues.entityUUID}get activationId(){return this._activationId}get entityUUID(){return this._entityUUID}static create(r){let t={qualifier:Lo.qualifier,platformQualifier:Lo.platformQualifier,cloudId:void 0,resourceOwner:Lo.resourceOwner,resourceType:Lo.resourceType,resourceId:`activation/${r.activationId}/${r.entityUUID}`,resourceIdSegmentValues:{activationId:r.activationId,entityUUID:r.entityUUID}},i=p.fromOpts(t,Lo);return new e(i)}static parse(r){let t=p.fromString(r,Lo);return new e(t)}getVariables(){return{activationId:this.activationId,entityUUID:this.entityUUID}}},Po={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"graph",resourceType:"video-history",resourceIdSlug:"activation/{activationId}/{entityUUID}/{updateSequenceNumber}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,entityUUID:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/,updateSequenceNumber:/\d+/}},jo=class e extends T{constructor(e){super(e),this._activationId=e.resourceIdSegmentValues.activationId,this._entityUUID=e.resourceIdSegmentValues.entityUUID,this._updateSequenceNumber=e.resourceIdSegmentValues.updateSequenceNumber}get activationId(){return this._activationId}get entityUUID(){return this._entityUUID}get updateSequenceNumber(){return this._updateSequenceNumber}static create(r){let t={qualifier:Po.qualifier,platformQualifier:Po.platformQualifier,cloudId:void 0,resourceOwner:Po.resourceOwner,resourceType:Po.resourceType,resourceId:`activation/${r.activationId}/${r.entityUUID}/${r.updateSequenceNumber}`,resourceIdSegmentValues:{activationId:r.activationId,entityUUID:r.entityUUID,updateSequenceNumber:r.updateSequenceNumber}},i=p.fromOpts(t,Po);return new e(i)}static parse(r){let t=p.fromString(r,Po);return new e(t)}getVariables(){return{activationId:this.activationId,entityUUID:this.entityUUID,updateSequenceNumber:this.updateSequenceNumber}}},Zo={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"graph",resourceType:"vulnerability",resourceIdSlug:"activation/{activationId}/{vulnerabilityId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,vulnerabilityId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},Uo=class e extends T{constructor(e){super(e),this._activationId=e.resourceIdSegmentValues.activationId,this._vulnerabilityId=e.resourceIdSegmentValues.vulnerabilityId}get activationId(){return this._activationId}get vulnerabilityId(){return this._vulnerabilityId}static create(r){let t={qualifier:Zo.qualifier,platformQualifier:Zo.platformQualifier,cloudId:void 0,resourceOwner:Zo.resourceOwner,resourceType:Zo.resourceType,resourceId:`activation/${r.activationId}/${r.vulnerabilityId}`,resourceIdSegmentValues:{activationId:r.activationId,vulnerabilityId:r.vulnerabilityId}},i=p.fromOpts(t,Zo);return new e(i)}static parse(r){let t=p.fromString(r,Zo);return new e(t)}getVariables(){return{activationId:this.activationId,vulnerabilityId:this.vulnerabilityId}}},Do={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"graph",resourceType:"vulnerability-history",resourceIdSlug:"activation/{activationId}/{vulnerabilityId}/{updateSequenceNumber}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,vulnerabilityId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/,updateSequenceNumber:/\d+/}},Wo=class e extends T{constructor(e){super(e),this._activationId=e.resourceIdSegmentValues.activationId,this._vulnerabilityId=e.resourceIdSegmentValues.vulnerabilityId,this._updateSequenceNumber=e.resourceIdSegmentValues.updateSequenceNumber}get activationId(){return this._activationId}get vulnerabilityId(){return this._vulnerabilityId}get updateSequenceNumber(){return this._updateSequenceNumber}static create(r){let t={qualifier:Do.qualifier,platformQualifier:Do.platformQualifier,cloudId:void 0,resourceOwner:Do.resourceOwner,resourceType:Do.resourceType,resourceId:`activation/${r.activationId}/${r.vulnerabilityId}/${r.updateSequenceNumber}`,resourceIdSegmentValues:{activationId:r.activationId,vulnerabilityId:r.vulnerabilityId,updateSequenceNumber:r.updateSequenceNumber}},i=p.fromOpts(t,Do);return new e(i)}static parse(r){let t=p.fromString(r,Do);return new e(t)}getVariables(){return{activationId:this.activationId,vulnerabilityId:this.vulnerabilityId,updateSequenceNumber:this.updateSequenceNumber}}},Ko={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"graph",resourceType:"workspace",resourceIdSlug:"{workspaceId}",resourceIdSegmentFormats:{workspaceId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},Bo=class e extends T{constructor(e){super(e),this._workspaceId=e.resourceIdSegmentValues.workspaceId}get workspaceId(){return this._workspaceId}static create(r){let t={qualifier:Ko.qualifier,platformQualifier:Ko.platformQualifier,cloudId:void 0,resourceOwner:Ko.resourceOwner,resourceType:Ko.resourceType,resourceId:`${r.workspaceId}`,resourceIdSegmentValues:{workspaceId:r.workspaceId}},i=p.fromOpts(t,Ko);return new e(i)}static parse(r){let t=p.fromString(r,Ko);return new e(t)}getVariables(){return{workspaceId:this.workspaceId}}},Go={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"help",resourceType:"article",resourceIdSlug:"{activationId}/{helpObjectId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,helpObjectId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},Jo=class e extends T{constructor(e){super(e),this._activationId=e.resourceIdSegmentValues.activationId,this._helpObjectId=e.resourceIdSegmentValues.helpObjectId}get activationId(){return this._activationId}get helpObjectId(){return this._helpObjectId}static create(r){let t={qualifier:Go.qualifier,platformQualifier:Go.platformQualifier,cloudId:void 0,resourceOwner:Go.resourceOwner,resourceType:Go.resourceType,resourceId:`${r.activationId}/${r.helpObjectId}`,resourceIdSegmentValues:{activationId:r.activationId,helpObjectId:r.helpObjectId}},i=p.fromOpts(t,Go);return new e(i)}static parse(r){let t=p.fromString(r,Go);return new e(t)}getVariables(){return{activationId:this.activationId,helpObjectId:this.helpObjectId}}},Ho={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"help",resourceType:"channel",resourceIdSlug:"{activationId}/{helpObjectId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,helpObjectId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},Yo=class e extends T{constructor(e){super(e),this._activationId=e.resourceIdSegmentValues.activationId,this._helpObjectId=e.resourceIdSegmentValues.helpObjectId}get activationId(){return this._activationId}get helpObjectId(){return this._helpObjectId}static create(r){let t={qualifier:Ho.qualifier,platformQualifier:Ho.platformQualifier,cloudId:void 0,resourceOwner:Ho.resourceOwner,resourceType:Ho.resourceType,resourceId:`${r.activationId}/${r.helpObjectId}`,resourceIdSegmentValues:{activationId:r.activationId,helpObjectId:r.helpObjectId}},i=p.fromOpts(t,Ho);return new e(i)}static parse(r){let t=p.fromString(r,Ho);return new e(t)}getVariables(){return{activationId:this.activationId,helpObjectId:this.helpObjectId}}},Xo={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"help",resourceType:"help-center",resourceIdSlug:"{activationId}/{helpCenterId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,helpCenterId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},ea=class e extends T{constructor(e){super(e),this._activationId=e.resourceIdSegmentValues.activationId,this._helpCenterId=e.resourceIdSegmentValues.helpCenterId}get activationId(){return this._activationId}get helpCenterId(){return this._helpCenterId}static create(r){let t={qualifier:Xo.qualifier,platformQualifier:Xo.platformQualifier,cloudId:void 0,resourceOwner:Xo.resourceOwner,resourceType:Xo.resourceType,resourceId:`${r.activationId}/${r.helpCenterId}`,resourceIdSegmentValues:{activationId:r.activationId,helpCenterId:r.helpCenterId}},i=p.fromOpts(t,Xo);return new e(i)}static parse(r){let t=p.fromString(r,Xo);return new e(t)}getVariables(){return{activationId:this.activationId,helpCenterId:this.helpCenterId}}},ra={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"help",resourceType:"help-desk",resourceIdSlug:"{activationId}/{helpDeskId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,helpDeskId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},ta=class e extends T{constructor(e){super(e),this._activationId=e.resourceIdSegmentValues.activationId,this._helpDeskId=e.resourceIdSegmentValues.helpDeskId}get activationId(){return this._activationId}get helpDeskId(){return this._helpDeskId}static create(r){let t={qualifier:ra.qualifier,platformQualifier:ra.platformQualifier,cloudId:void 0,resourceOwner:ra.resourceOwner,resourceType:ra.resourceType,resourceId:`${r.activationId}/${r.helpDeskId}`,resourceIdSegmentValues:{activationId:r.activationId,helpDeskId:r.helpDeskId}},i=p.fromOpts(t,ra);return new e(i)}static parse(r){let t=p.fromString(r,ra);return new e(t)}getVariables(){return{activationId:this.activationId,helpDeskId:this.helpDeskId}}},ia={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"help",resourceType:"layout",resourceIdSlug:"{activationId}/{layoutId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,layoutId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},na=class e extends T{constructor(e){super(e),this._activationId=e.resourceIdSegmentValues.activationId,this._layoutId=e.resourceIdSegmentValues.layoutId}get activationId(){return this._activationId}get layoutId(){return this._layoutId}static create(r){let t={qualifier:ia.qualifier,platformQualifier:ia.platformQualifier,cloudId:void 0,resourceOwner:ia.resourceOwner,resourceType:ia.resourceType,resourceId:`${r.activationId}/${r.layoutId}`,resourceIdSegmentValues:{activationId:r.activationId,layoutId:r.layoutId}},i=p.fromOpts(t,ia);return new e(i)}static parse(r){let t=p.fromString(r,ia);return new e(t)}getVariables(){return{activationId:this.activationId,layoutId:this.layoutId}}},oa={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"help",resourceType:"portal",resourceIdSlug:"{activationId}/{helpObjectId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,helpObjectId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},aa=class e extends T{constructor(e){super(e),this._activationId=e.resourceIdSegmentValues.activationId,this._helpObjectId=e.resourceIdSegmentValues.helpObjectId}get activationId(){return this._activationId}get helpObjectId(){return this._helpObjectId}static create(r){let t={qualifier:oa.qualifier,platformQualifier:oa.platformQualifier,cloudId:void 0,resourceOwner:oa.resourceOwner,resourceType:oa.resourceType,resourceId:`${r.activationId}/${r.helpObjectId}`,resourceIdSegmentValues:{activationId:r.activationId,helpObjectId:r.helpObjectId}},i=p.fromOpts(t,oa);return new e(i)}static parse(r){let t=p.fromString(r,oa);return new e(t)}getVariables(){return{activationId:this.activationId,helpObjectId:this.helpObjectId}}},sa={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"help",resourceType:"request-form",resourceIdSlug:"{activationId}/{helpObjectId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,helpObjectId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},ua=class e extends T{constructor(e){super(e),this._activationId=e.resourceIdSegmentValues.activationId,this._helpObjectId=e.resourceIdSegmentValues.helpObjectId}get activationId(){return this._activationId}get helpObjectId(){return this._helpObjectId}static create(r){let t={qualifier:sa.qualifier,platformQualifier:sa.platformQualifier,cloudId:void 0,resourceOwner:sa.resourceOwner,resourceType:sa.resourceType,resourceId:`${r.activationId}/${r.helpObjectId}`,resourceIdSegmentValues:{activationId:r.activationId,helpObjectId:r.helpObjectId}},i=p.fromOpts(t,sa);return new e(i)}static parse(r){let t=p.fromString(r,sa);return new e(t)}getVariables(){return{activationId:this.activationId,helpObjectId:this.helpObjectId}}},ca={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"identity",resourceType:"app",resourceIdSlug:"{platform}/{appId}",resourceIdSegmentFormats:{platform:/(android|ios|macos)/,appId:/(([a-zA-Z]+)\.)+([a-zA-Z]+)/}},da=class e extends T{constructor(e){super(e),this._platform=e.resourceIdSegmentValues.platform,this._appId=e.resourceIdSegmentValues.appId}get platform(){return this._platform}get appId(){return this._appId}static create(r){let t={qualifier:ca.qualifier,platformQualifier:ca.platformQualifier,cloudId:void 0,resourceOwner:ca.resourceOwner,resourceType:ca.resourceType,resourceId:`${r.platform}/${r.appId}`,resourceIdSegmentValues:{platform:r.platform,appId:r.appId}},i=p.fromOpts(t,ca);return new e(i)}static parse(r){let t=p.fromString(r,ca);return new e(t)}getVariables(){return{platform:this.platform,appId:this.appId}}},la={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"identity",resourceType:"auth-policy",resourceIdSlug:"{authPolicyId}",resourceIdSegmentFormats:{authPolicyId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},Ia=class e extends T{constructor(e){super(e),this._authPolicyId=e.resourceIdSegmentValues.authPolicyId}get authPolicyId(){return this._authPolicyId}static create(r){let t={qualifier:la.qualifier,platformQualifier:la.platformQualifier,cloudId:void 0,resourceOwner:la.resourceOwner,resourceType:la.resourceType,resourceId:`${r.authPolicyId}`,resourceIdSegmentValues:{authPolicyId:r.authPolicyId}},i=p.fromOpts(t,la);return new e(i)}static parse(r){let t=p.fromString(r,la);return new e(t)}getVariables(){return{authPolicyId:this.authPolicyId}}},pa={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"identity",resourceType:"customer-directory",resourceIdSlug:"{customerDirectoryId}",resourceIdSegmentFormats:{customerDirectoryId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},fa=class e extends T{constructor(e){super(e),this._customerDirectoryId=e.resourceIdSegmentValues.customerDirectoryId}get customerDirectoryId(){return this._customerDirectoryId}static create(r){let t={qualifier:pa.qualifier,platformQualifier:pa.platformQualifier,cloudId:void 0,resourceOwner:pa.resourceOwner,resourceType:pa.resourceType,resourceId:`${r.customerDirectoryId}`,resourceIdSegmentValues:{customerDirectoryId:r.customerDirectoryId}},i=p.fromOpts(t,pa);return new e(i)}static parse(r){let t=p.fromString(r,pa);return new e(t)}getVariables(){return{customerDirectoryId:this.customerDirectoryId}}},ma={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"identity",resourceType:"customer-organization",resourceIdSlug:"{customerOrganizationId}",resourceIdSegmentFormats:{customerOrganizationId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},ha=class e extends T{constructor(e){super(e),this._customerOrganizationId=e.resourceIdSegmentValues.customerOrganizationId}get customerOrganizationId(){return this._customerOrganizationId}static create(r){let t={qualifier:ma.qualifier,platformQualifier:ma.platformQualifier,cloudId:void 0,resourceOwner:ma.resourceOwner,resourceType:ma.resourceType,resourceId:`${r.customerOrganizationId}`,resourceIdSegmentValues:{customerOrganizationId:r.customerOrganizationId}},i=p.fromOpts(t,ma);return new e(i)}static parse(r){let t=p.fromString(r,ma);return new e(t)}getVariables(){return{customerOrganizationId:this.customerOrganizationId}}},ga={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"identity",resourceType:"directory",resourceIdSlug:"{directoryId}",resourceIdSegmentFormats:{directoryId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},va=class e extends T{constructor(e){super(e),this._directoryId=e.resourceIdSegmentValues.directoryId}get directoryId(){return this._directoryId}static create(r){let t={qualifier:ga.qualifier,platformQualifier:ga.platformQualifier,cloudId:void 0,resourceOwner:ga.resourceOwner,resourceType:ga.resourceType,resourceId:`${r.directoryId}`,resourceIdSegmentValues:{directoryId:r.directoryId}},i=p.fromOpts(t,ga);return new e(i)}static parse(r){let t=p.fromString(r,ga);return new e(t)}getVariables(){return{directoryId:this.directoryId}}},ya={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"identity",resourceType:"domain",resourceIdSlug:"{base64Domain}",resourceIdSegmentFormats:{base64Domain:/[a-zA-Z0-9=]+={0,1}/}},wa=class e extends T{constructor(e){super(e),this._base64Domain=e.resourceIdSegmentValues.base64Domain}get base64Domain(){return this._base64Domain}static create(r){let t={qualifier:ya.qualifier,platformQualifier:ya.platformQualifier,cloudId:void 0,resourceOwner:ya.resourceOwner,resourceType:ya.resourceType,resourceId:`${r.base64Domain}`,resourceIdSegmentValues:{base64Domain:r.base64Domain}},i=p.fromOpts(t,ya);return new e(i)}static parse(r){let t=p.fromString(r,ya);return new e(t)}getVariables(){return{base64Domain:this.base64Domain}}},Sa={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"identity",resourceType:"group",resourceIdSlug:"{groupId}",resourceIdSegmentFormats:{groupId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},_a=class e extends T{constructor(e){super(e),this._groupId=e.resourceIdSegmentValues.groupId}get groupId(){return this._groupId}static create(r){let t={qualifier:Sa.qualifier,platformQualifier:Sa.platformQualifier,cloudId:void 0,resourceOwner:Sa.resourceOwner,resourceType:Sa.resourceType,resourceId:`${r.groupId}`,resourceIdSegmentValues:{groupId:r.groupId}},i=p.fromOpts(t,Sa);return new e(i)}static parse(r){let t=p.fromString(r,Sa);return new e(t)}getVariables(){return{groupId:this.groupId}}},ba={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"identity",resourceType:"oauthClient",resourceIdSlug:"{clientId}",resourceIdSegmentFormats:{clientId:/[0-9a-zA-Z-_]{5,50}/}},Ta=class e extends T{constructor(e){super(e),this._clientId=e.resourceIdSegmentValues.clientId}get clientId(){return this._clientId}static create(r){let t={qualifier:ba.qualifier,platformQualifier:ba.platformQualifier,cloudId:void 0,resourceOwner:ba.resourceOwner,resourceType:ba.resourceType,resourceId:`${r.clientId}`,resourceIdSegmentValues:{clientId:r.clientId}},i=p.fromOpts(t,ba);return new e(i)}static parse(r){let t=p.fromString(r,ba);return new e(t)}getVariables(){return{clientId:this.clientId}}},Oa={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]*$"),resourceOwner:"identity",resourceType:"role",resourceIdSlug:"{roleId}",resourceIdSegmentFormats:{roleId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},ka=class e extends T{constructor(e){super(e),this._optionalSiteId=e.cloudId||"",this._roleId=e.resourceIdSegmentValues.roleId}get optionalSiteId(){return this._optionalSiteId}get roleId(){return this._roleId}static create(r){let t={qualifier:Oa.qualifier,platformQualifier:Oa.platformQualifier,cloudId:r.optionalSiteId,resourceOwner:Oa.resourceOwner,resourceType:Oa.resourceType,resourceId:`${r.roleId}`,resourceIdSegmentValues:{roleId:r.roleId}},i=p.fromOpts(t,Oa);return new e(i)}static parse(r){let t=p.fromString(r,Oa);return new e(t)}getVariables(){return{optionalSiteId:this.optionalSiteId,roleId:this.roleId}}},Aa={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"identity",resourceType:"site",resourceIdSlug:"{siteId}",resourceIdSegmentFormats:{siteId:/[a-zA-Z0-9\-]+/}},qa=class e extends T{constructor(e){super(e),this._siteId=e.resourceIdSegmentValues.siteId}get siteId(){return this._siteId}static create(r){let t={qualifier:Aa.qualifier,platformQualifier:Aa.platformQualifier,cloudId:void 0,resourceOwner:Aa.resourceOwner,resourceType:Aa.resourceType,resourceId:`${r.siteId}`,resourceIdSegmentValues:{siteId:r.siteId}},i=p.fromOpts(t,Aa);return new e(i)}static parse(r){let t=p.fromString(r,Aa);return new e(t)}getVariables(){return{siteId:this.siteId}}},Va={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"identity",resourceType:"team",resourceIdSlug:"{teamId}",resourceIdSegmentFormats:{teamId:/[a-zA-Z0-9.\-_~]+/}},Ea=class e extends T{constructor(e){super(e),this._teamId=e.resourceIdSegmentValues.teamId}get teamId(){return this._teamId}static create(r){let t={qualifier:Va.qualifier,platformQualifier:Va.platformQualifier,cloudId:void 0,resourceOwner:Va.resourceOwner,resourceType:Va.resourceType,resourceId:`${r.teamId}`,resourceIdSegmentValues:{teamId:r.teamId}},i=p.fromOpts(t,Va);return new e(i)}static parse(r){let t=p.fromString(r,Va);return new e(t)}getVariables(){return{teamId:this.teamId}}},xa={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"identity",resourceType:"team-member",resourceIdSlug:"{teamId}/{userId}",resourceIdSegmentFormats:{teamId:/[a-zA-Z0-9.\-_~]+/,userId:/[a-zA-Z0-9_\-\:]{1,128}/}},Ra=class e extends T{constructor(e){super(e),this._teamId=e.resourceIdSegmentValues.teamId,this._userId=e.resourceIdSegmentValues.userId}get teamId(){return this._teamId}get userId(){return this._userId}static create(r){let t={qualifier:xa.qualifier,platformQualifier:xa.platformQualifier,cloudId:void 0,resourceOwner:xa.resourceOwner,resourceType:xa.resourceType,resourceId:`${r.teamId}/${r.userId}`,resourceIdSegmentValues:{teamId:r.teamId,userId:r.userId}},i=p.fromOpts(t,xa);return new e(i)}static parse(r){let t=p.fromString(r,xa);return new e(t)}getVariables(){return{teamId:this.teamId,userId:this.userId}}},$a={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"identity",resourceType:"third-party-group",resourceIdSlug:"{directoryId}/{groupId}",resourceIdSegmentFormats:{directoryId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/,groupId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},Qa=class e extends T{constructor(e){super(e),this._directoryId=e.resourceIdSegmentValues.directoryId,this._groupId=e.resourceIdSegmentValues.groupId}get directoryId(){return this._directoryId}get groupId(){return this._groupId}static create(r){let t={qualifier:$a.qualifier,platformQualifier:$a.platformQualifier,cloudId:void 0,resourceOwner:$a.resourceOwner,resourceType:$a.resourceType,resourceId:`${r.directoryId}/${r.groupId}`,resourceIdSegmentValues:{directoryId:r.directoryId,groupId:r.groupId}},i=p.fromOpts(t,$a);return new e(i)}static parse(r){let t=p.fromString(r,$a);return new e(t)}getVariables(){return{directoryId:this.directoryId,groupId:this.groupId}}},Na={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"identity",resourceType:"third-party-user",resourceIdSlug:"{directoryId}/{userId}",resourceIdSegmentFormats:{directoryId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/,userId:/[a-zA-Z0-9_\-\:]{1,128}/}},Ca=class e extends T{constructor(e){super(e),this._directoryId=e.resourceIdSegmentValues.directoryId,this._userId=e.resourceIdSegmentValues.userId}get directoryId(){return this._directoryId}get userId(){return this._userId}static create(r){let t={qualifier:Na.qualifier,platformQualifier:Na.platformQualifier,cloudId:void 0,resourceOwner:Na.resourceOwner,resourceType:Na.resourceType,resourceId:`${r.directoryId}/${r.userId}`,resourceIdSegmentValues:{directoryId:r.directoryId,userId:r.userId}},i=p.fromOpts(t,Na);return new e(i)}static parse(r){let t=p.fromString(r,Na);return new e(t)}getVariables(){return{directoryId:this.directoryId,userId:this.userId}}},Fa={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"identity",resourceType:"user",resourceIdSlug:"{userId}",resourceIdSegmentFormats:{userId:/[a-zA-Z0-9_\-\:]{1,128}/}},za=class e extends T{constructor(e){super(e),this._userId=e.resourceIdSegmentValues.userId}get userId(){return this._userId}static create(r){let t={qualifier:Fa.qualifier,platformQualifier:Fa.platformQualifier,cloudId:void 0,resourceOwner:Fa.resourceOwner,resourceType:Fa.resourceType,resourceId:`${r.userId}`,resourceIdSegmentValues:{userId:r.userId}},i=p.fromOpts(t,Fa);return new e(i)}static parse(r){let t=p.fromString(r,Fa);return new e(t)}getVariables(){return{userId:this.userId}}},La={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"identity",resourceType:"userbase",resourceIdSlug:"{userbaseId}",resourceIdSegmentFormats:{userbaseId:/[a-zA-Z0-9\-]+/}},Ma=class e extends T{constructor(e){super(e),this._userbaseId=e.resourceIdSegmentValues.userbaseId}get userbaseId(){return this._userbaseId}static create(r){let t={qualifier:La.qualifier,platformQualifier:La.platformQualifier,cloudId:void 0,resourceOwner:La.resourceOwner,resourceType:La.resourceType,resourceId:`${r.userbaseId}`,resourceIdSegmentValues:{userbaseId:r.userbaseId}},i=p.fromOpts(t,La);return new e(i)}static parse(r){let t=p.fromString(r,La);return new e(t)}getVariables(){return{userbaseId:this.userbaseId}}},Pa={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"identity",resourceType:"userGrant",resourceIdSlug:"{userId}-{clientId}",resourceIdSegmentFormats:{userId:/[a-zA-Z0-9_\-\:]{1,128}/,clientId:/[0-9a-zA-Z-_]{5,50}/}},ja=class e extends T{constructor(e){super(e),this._userId=e.resourceIdSegmentValues.userId,this._clientId=e.resourceIdSegmentValues.clientId}get userId(){return this._userId}get clientId(){return this._clientId}static create(r){let t={qualifier:Pa.qualifier,platformQualifier:Pa.platformQualifier,cloudId:void 0,resourceOwner:Pa.resourceOwner,resourceType:Pa.resourceType,resourceId:`${r.userId}-${r.clientId}`,resourceIdSegmentValues:{userId:r.userId,clientId:r.clientId}},i=p.fromOpts(t,Pa);return new e(i)}static parse(r){let t=p.fromString(r,Pa);return new e(t)}getVariables(){return{userId:this.userId,clientId:this.clientId}}},Za={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"jira",resourceType:"announcement-banner",resourceIdSlug:"activation/{activationId}/{announcementBannerHashId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,announcementBannerHashId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},Ua=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._activationId=e.resourceIdSegmentValues.activationId,this._announcementBannerHashId=e.resourceIdSegmentValues.announcementBannerHashId}get siteId(){return this._siteId}get activationId(){return this._activationId}get announcementBannerHashId(){return this._announcementBannerHashId}static create(r){let t={qualifier:Za.qualifier,platformQualifier:Za.platformQualifier,cloudId:r.siteId,resourceOwner:Za.resourceOwner,resourceType:Za.resourceType,resourceId:`activation/${r.activationId}/${r.announcementBannerHashId}`,resourceIdSegmentValues:{activationId:r.activationId,announcementBannerHashId:r.announcementBannerHashId}},i=p.fromOpts(t,Za);return new e(i)}static parse(r){let t=p.fromString(r,Za);return new e(t)}getVariables(){return{siteId:this.siteId,activationId:this.activationId,announcementBannerHashId:this.announcementBannerHashId}}},Da={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"jira",resourceType:"available-fields",resourceIdSlug:"activation/{activationId}/{projectId}/{issueTypeId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,projectId:/[0-9]+/,issueTypeId:/[0-9]+/}},Wa=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._activationId=e.resourceIdSegmentValues.activationId,this._projectId=e.resourceIdSegmentValues.projectId,this._issueTypeId=e.resourceIdSegmentValues.issueTypeId}get siteId(){return this._siteId}get activationId(){return this._activationId}get projectId(){return this._projectId}get issueTypeId(){return this._issueTypeId}static create(r){let t={qualifier:Da.qualifier,platformQualifier:Da.platformQualifier,cloudId:r.siteId,resourceOwner:Da.resourceOwner,resourceType:Da.resourceType,resourceId:`activation/${r.activationId}/${r.projectId}/${r.issueTypeId}`,resourceIdSegmentValues:{activationId:r.activationId,projectId:r.projectId,issueTypeId:r.issueTypeId}},i=p.fromOpts(t,Da);return new e(i)}static parse(r){let t=p.fromString(r,Da);return new e(t)}getVariables(){return{siteId:this.siteId,activationId:this.activationId,projectId:this.projectId,issueTypeId:this.issueTypeId}}},Ka={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"jira",resourceType:"branch",resourceIdSlug:"activation/{activationId}/{branchId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,branchId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},Ba=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._activationId=e.resourceIdSegmentValues.activationId,this._branchId=e.resourceIdSegmentValues.branchId}get siteId(){return this._siteId}get activationId(){return this._activationId}get branchId(){return this._branchId}static create(r){let t={qualifier:Ka.qualifier,platformQualifier:Ka.platformQualifier,cloudId:r.siteId,resourceOwner:Ka.resourceOwner,resourceType:Ka.resourceType,resourceId:`activation/${r.activationId}/${r.branchId}`,resourceIdSegmentValues:{activationId:r.activationId,branchId:r.branchId}},i=p.fromOpts(t,Ka);return new e(i)}static parse(r){let t=p.fromString(r,Ka);return new e(t)}getVariables(){return{siteId:this.siteId,activationId:this.activationId,branchId:this.branchId}}},Ga={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"jira",resourceType:"branch-history",resourceIdSlug:"activation/{activationId}/{branchId}/{updateSequenceNumber}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,branchId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/,updateSequenceNumber:/\d+/}},Ja=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._activationId=e.resourceIdSegmentValues.activationId,this._branchId=e.resourceIdSegmentValues.branchId,this._updateSequenceNumber=e.resourceIdSegmentValues.updateSequenceNumber}get siteId(){return this._siteId}get activationId(){return this._activationId}get branchId(){return this._branchId}get updateSequenceNumber(){return this._updateSequenceNumber}static create(r){let t={qualifier:Ga.qualifier,platformQualifier:Ga.platformQualifier,cloudId:r.siteId,resourceOwner:Ga.resourceOwner,resourceType:Ga.resourceType,resourceId:`activation/${r.activationId}/${r.branchId}/${r.updateSequenceNumber}`,resourceIdSegmentValues:{activationId:r.activationId,branchId:r.branchId,updateSequenceNumber:r.updateSequenceNumber}},i=p.fromOpts(t,Ga);return new e(i)}static parse(r){let t=p.fromString(r,Ga);return new e(t)}getVariables(){return{siteId:this.siteId,activationId:this.activationId,branchId:this.branchId,updateSequenceNumber:this.updateSequenceNumber}}},Ha={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"jira",resourceType:"build",resourceIdSlug:"activation/{activationId}/{buildId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,buildId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},Ya=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._activationId=e.resourceIdSegmentValues.activationId,this._buildId=e.resourceIdSegmentValues.buildId}get siteId(){return this._siteId}get activationId(){return this._activationId}get buildId(){return this._buildId}static create(r){let t={qualifier:Ha.qualifier,platformQualifier:Ha.platformQualifier,cloudId:r.siteId,resourceOwner:Ha.resourceOwner,resourceType:Ha.resourceType,resourceId:`activation/${r.activationId}/${r.buildId}`,resourceIdSegmentValues:{activationId:r.activationId,buildId:r.buildId}},i=p.fromOpts(t,Ha);return new e(i)}static parse(r){let t=p.fromString(r,Ha);return new e(t)}getVariables(){return{siteId:this.siteId,activationId:this.activationId,buildId:this.buildId}}},Xa={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"jira",resourceType:"build-history",resourceIdSlug:"activation/{activationId}/{buildId}/{updateSequenceNumber}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,buildId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/,updateSequenceNumber:/\d+/}},es=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._activationId=e.resourceIdSegmentValues.activationId,this._buildId=e.resourceIdSegmentValues.buildId,this._updateSequenceNumber=e.resourceIdSegmentValues.updateSequenceNumber}get siteId(){return this._siteId}get activationId(){return this._activationId}get buildId(){return this._buildId}get updateSequenceNumber(){return this._updateSequenceNumber}static create(r){let t={qualifier:Xa.qualifier,platformQualifier:Xa.platformQualifier,cloudId:r.siteId,resourceOwner:Xa.resourceOwner,resourceType:Xa.resourceType,resourceId:`activation/${r.activationId}/${r.buildId}/${r.updateSequenceNumber}`,resourceIdSegmentValues:{activationId:r.activationId,buildId:r.buildId,updateSequenceNumber:r.updateSequenceNumber}},i=p.fromOpts(t,Xa);return new e(i)}static parse(r){let t=p.fromString(r,Xa);return new e(t)}getVariables(){return{siteId:this.siteId,activationId:this.activationId,buildId:this.buildId,updateSequenceNumber:this.updateSequenceNumber}}},rs={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"jira",resourceType:"bulk-operation-task",resourceIdSlug:"activation/{activationId}/{taskId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,taskId:/[0-9]+/}},ts=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._activationId=e.resourceIdSegmentValues.activationId,this._taskId=e.resourceIdSegmentValues.taskId}get siteId(){return this._siteId}get activationId(){return this._activationId}get taskId(){return this._taskId}static create(r){let t={qualifier:rs.qualifier,platformQualifier:rs.platformQualifier,cloudId:r.siteId,resourceOwner:rs.resourceOwner,resourceType:rs.resourceType,resourceId:`activation/${r.activationId}/${r.taskId}`,resourceIdSegmentValues:{activationId:r.activationId,taskId:r.taskId}},i=p.fromOpts(t,rs);return new e(i)}static parse(r){let t=p.fromString(r,rs);return new e(t)}getVariables(){return{siteId:this.siteId,activationId:this.activationId,taskId:this.taskId}}},is={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"jira",resourceType:"comment",resourceIdSlug:"{commentId}",resourceIdSegmentFormats:{commentId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},ns=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._commentId=e.resourceIdSegmentValues.commentId}get siteId(){return this._siteId}get commentId(){return this._commentId}static create(r){let t={qualifier:is.qualifier,platformQualifier:is.platformQualifier,cloudId:r.siteId,resourceOwner:is.resourceOwner,resourceType:is.resourceType,resourceId:`${r.commentId}`,resourceIdSegmentValues:{commentId:r.commentId}},i=p.fromOpts(t,is);return new e(i)}static parse(r){let t=p.fromString(r,is);return new e(t)}getVariables(){return{siteId:this.siteId,commentId:this.commentId}}},os={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"jira",resourceType:"commit",resourceIdSlug:"activation/{activationId}/{commitId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,commitId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},as=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._activationId=e.resourceIdSegmentValues.activationId,this._commitId=e.resourceIdSegmentValues.commitId}get siteId(){return this._siteId}get activationId(){return this._activationId}get commitId(){return this._commitId}static create(r){let t={qualifier:os.qualifier,platformQualifier:os.platformQualifier,cloudId:r.siteId,resourceOwner:os.resourceOwner,resourceType:os.resourceType,resourceId:`activation/${r.activationId}/${r.commitId}`,resourceIdSegmentValues:{activationId:r.activationId,commitId:r.commitId}},i=p.fromOpts(t,os);return new e(i)}static parse(r){let t=p.fromString(r,os);return new e(t)}getVariables(){return{siteId:this.siteId,activationId:this.activationId,commitId:this.commitId}}},ss={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"jira",resourceType:"component",resourceIdSlug:"activation/{activationId}/{componentId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,componentId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},us=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._activationId=e.resourceIdSegmentValues.activationId,this._componentId=e.resourceIdSegmentValues.componentId}get siteId(){return this._siteId}get activationId(){return this._activationId}get componentId(){return this._componentId}static create(r){let t={qualifier:ss.qualifier,platformQualifier:ss.platformQualifier,cloudId:r.siteId,resourceOwner:ss.resourceOwner,resourceType:ss.resourceType,resourceId:`activation/${r.activationId}/${r.componentId}`,resourceIdSegmentValues:{activationId:r.activationId,componentId:r.componentId}},i=p.fromOpts(t,ss);return new e(i)}static parse(r){let t=p.fromString(r,ss);return new e(t)}getVariables(){return{siteId:this.siteId,activationId:this.activationId,componentId:this.componentId}}},cs={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"jira",resourceType:"connect-app",resourceIdSlug:"activation/{activationId}/{appKey}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,appKey:/[a-zA-Z0-9-._]+/}},ds=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._activationId=e.resourceIdSegmentValues.activationId,this._appKey=e.resourceIdSegmentValues.appKey}get siteId(){return this._siteId}get activationId(){return this._activationId}get appKey(){return this._appKey}static create(r){let t={qualifier:cs.qualifier,platformQualifier:cs.platformQualifier,cloudId:r.siteId,resourceOwner:cs.resourceOwner,resourceType:cs.resourceType,resourceId:`activation/${r.activationId}/${r.appKey}`,resourceIdSegmentValues:{activationId:r.activationId,appKey:r.appKey}},i=p.fromOpts(t,cs);return new e(i)}static parse(r){let t=p.fromString(r,cs);return new e(t)}getVariables(){return{siteId:this.siteId,activationId:this.activationId,appKey:this.appKey}}},ls={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"jira",resourceType:"dashboard",resourceIdSlug:"activation/{activationId}/{dashboardId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,dashboardId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},Is=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._activationId=e.resourceIdSegmentValues.activationId,this._dashboardId=e.resourceIdSegmentValues.dashboardId}get siteId(){return this._siteId}get activationId(){return this._activationId}get dashboardId(){return this._dashboardId}static create(r){let t={qualifier:ls.qualifier,platformQualifier:ls.platformQualifier,cloudId:r.siteId,resourceOwner:ls.resourceOwner,resourceType:ls.resourceType,resourceId:`activation/${r.activationId}/${r.dashboardId}`,resourceIdSegmentValues:{activationId:r.activationId,dashboardId:r.dashboardId}},i=p.fromOpts(t,ls);return new e(i)}static parse(r){let t=p.fromString(r,ls);return new e(t)}getVariables(){return{siteId:this.siteId,activationId:this.activationId,dashboardId:this.dashboardId}}},ps={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"jira",resourceType:"deployment",resourceIdSlug:"activation/{activationId}/{deploymentId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,deploymentId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},fs=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._activationId=e.resourceIdSegmentValues.activationId,this._deploymentId=e.resourceIdSegmentValues.deploymentId}get siteId(){return this._siteId}get activationId(){return this._activationId}get deploymentId(){return this._deploymentId}static create(r){let t={qualifier:ps.qualifier,platformQualifier:ps.platformQualifier,cloudId:r.siteId,resourceOwner:ps.resourceOwner,resourceType:ps.resourceType,resourceId:`activation/${r.activationId}/${r.deploymentId}`,resourceIdSegmentValues:{activationId:r.activationId,deploymentId:r.deploymentId}},i=p.fromOpts(t,ps);return new e(i)}static parse(r){let t=p.fromString(r,ps);return new e(t)}getVariables(){return{siteId:this.siteId,activationId:this.activationId,deploymentId:this.deploymentId}}},ms={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"jira",resourceType:"deployment-history",resourceIdSlug:"activation/{activationId}/{deploymentId}/{updateSequenceNumber}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,deploymentId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/,updateSequenceNumber:/\d+/}},hs=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._activationId=e.resourceIdSegmentValues.activationId,this._deploymentId=e.resourceIdSegmentValues.deploymentId,this._updateSequenceNumber=e.resourceIdSegmentValues.updateSequenceNumber}get siteId(){return this._siteId}get activationId(){return this._activationId}get deploymentId(){return this._deploymentId}get updateSequenceNumber(){return this._updateSequenceNumber}static create(r){let t={qualifier:ms.qualifier,platformQualifier:ms.platformQualifier,cloudId:r.siteId,resourceOwner:ms.resourceOwner,resourceType:ms.resourceType,resourceId:`activation/${r.activationId}/${r.deploymentId}/${r.updateSequenceNumber}`,resourceIdSegmentValues:{activationId:r.activationId,deploymentId:r.deploymentId,updateSequenceNumber:r.updateSequenceNumber}},i=p.fromOpts(t,ms);return new e(i)}static parse(r){let t=p.fromString(r,ms);return new e(t)}getVariables(){return{siteId:this.siteId,activationId:this.activationId,deploymentId:this.deploymentId,updateSequenceNumber:this.updateSequenceNumber}}},gs={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"jira",resourceType:"design",resourceIdSlug:"activation/{activationId}/{designId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,designId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},vs=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._activationId=e.resourceIdSegmentValues.activationId,this._designId=e.resourceIdSegmentValues.designId}get siteId(){return this._siteId}get activationId(){return this._activationId}get designId(){return this._designId}static create(r){let t={qualifier:gs.qualifier,platformQualifier:gs.platformQualifier,cloudId:r.siteId,resourceOwner:gs.resourceOwner,resourceType:gs.resourceType,resourceId:`activation/${r.activationId}/${r.designId}`,resourceIdSegmentValues:{activationId:r.activationId,designId:r.designId}},i=p.fromOpts(t,gs);return new e(i)}static parse(r){let t=p.fromString(r,gs);return new e(t)}getVariables(){return{siteId:this.siteId,activationId:this.activationId,designId:this.designId}}},ys={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"jira",resourceType:"design-history",resourceIdSlug:"activation/{activationId}/{designId}/{updateSequenceNumber}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,designId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/,updateSequenceNumber:/\d+/}},ws=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._activationId=e.resourceIdSegmentValues.activationId,this._designId=e.resourceIdSegmentValues.designId,this._updateSequenceNumber=e.resourceIdSegmentValues.updateSequenceNumber}get siteId(){return this._siteId}get activationId(){return this._activationId}get designId(){return this._designId}get updateSequenceNumber(){return this._updateSequenceNumber}static create(r){let t={qualifier:ys.qualifier,platformQualifier:ys.platformQualifier,cloudId:r.siteId,resourceOwner:ys.resourceOwner,resourceType:ys.resourceType,resourceId:`activation/${r.activationId}/${r.designId}/${r.updateSequenceNumber}`,resourceIdSegmentValues:{activationId:r.activationId,designId:r.designId,updateSequenceNumber:r.updateSequenceNumber}},i=p.fromOpts(t,ys);return new e(i)}static parse(r){let t=p.fromString(r,ys);return new e(t)}getVariables(){return{siteId:this.siteId,activationId:this.activationId,designId:this.designId,updateSequenceNumber:this.updateSequenceNumber}}},Ss={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"jira",resourceType:"devops-component",resourceIdSlug:"activation/{activationId}/{devopsComponentId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,devopsComponentId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},_s=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._activationId=e.resourceIdSegmentValues.activationId,this._devopsComponentId=e.resourceIdSegmentValues.devopsComponentId}get siteId(){return this._siteId}get activationId(){return this._activationId}get devopsComponentId(){return this._devopsComponentId}static create(r){let t={qualifier:Ss.qualifier,platformQualifier:Ss.platformQualifier,cloudId:r.siteId,resourceOwner:Ss.resourceOwner,resourceType:Ss.resourceType,resourceId:`activation/${r.activationId}/${r.devopsComponentId}`,resourceIdSegmentValues:{activationId:r.activationId,devopsComponentId:r.devopsComponentId}},i=p.fromOpts(t,Ss);return new e(i)}static parse(r){let t=p.fromString(r,Ss);return new e(t)}getVariables(){return{siteId:this.siteId,activationId:this.activationId,devopsComponentId:this.devopsComponentId}}},bs={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"jira",resourceType:"document",resourceIdSlug:"activation/{activationId}/{documentId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,documentId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},Ts=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._activationId=e.resourceIdSegmentValues.activationId,this._documentId=e.resourceIdSegmentValues.documentId}get siteId(){return this._siteId}get activationId(){return this._activationId}get documentId(){return this._documentId}static create(r){let t={qualifier:bs.qualifier,platformQualifier:bs.platformQualifier,cloudId:r.siteId,resourceOwner:bs.resourceOwner,resourceType:bs.resourceType,resourceId:`activation/${r.activationId}/${r.documentId}`,resourceIdSegmentValues:{activationId:r.activationId,documentId:r.documentId}},i=p.fromOpts(t,bs);return new e(i)}static parse(r){let t=p.fromString(r,bs);return new e(t)}getVariables(){return{siteId:this.siteId,activationId:this.activationId,documentId:this.documentId}}},Os={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"jira",resourceType:"document-history",resourceIdSlug:"activation/{activationId}/{documentId}/{updateSequenceNumber}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,documentId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/,updateSequenceNumber:/\d+/}},ks=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._activationId=e.resourceIdSegmentValues.activationId,this._documentId=e.resourceIdSegmentValues.documentId,this._updateSequenceNumber=e.resourceIdSegmentValues.updateSequenceNumber}get siteId(){return this._siteId}get activationId(){return this._activationId}get documentId(){return this._documentId}get updateSequenceNumber(){return this._updateSequenceNumber}static create(r){let t={qualifier:Os.qualifier,platformQualifier:Os.platformQualifier,cloudId:r.siteId,resourceOwner:Os.resourceOwner,resourceType:Os.resourceType,resourceId:`activation/${r.activationId}/${r.documentId}/${r.updateSequenceNumber}`,resourceIdSegmentValues:{activationId:r.activationId,documentId:r.documentId,updateSequenceNumber:r.updateSequenceNumber}},i=p.fromOpts(t,Os);return new e(i)}static parse(r){let t=p.fromString(r,Os);return new e(t)}getVariables(){return{siteId:this.siteId,activationId:this.activationId,documentId:this.documentId,updateSequenceNumber:this.updateSequenceNumber}}},As={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"jira",resourceType:"entitlement",resourceIdSlug:"activation/{activationId}/{entitlementId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,entitlementId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},qs=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._activationId=e.resourceIdSegmentValues.activationId,this._entitlementId=e.resourceIdSegmentValues.entitlementId}get siteId(){return this._siteId}get activationId(){return this._activationId}get entitlementId(){return this._entitlementId}static create(r){let t={qualifier:As.qualifier,platformQualifier:As.platformQualifier,cloudId:r.siteId,resourceOwner:As.resourceOwner,resourceType:As.resourceType,resourceId:`activation/${r.activationId}/${r.entitlementId}`,resourceIdSegmentValues:{activationId:r.activationId,entitlementId:r.entitlementId}},i=p.fromOpts(t,As);return new e(i)}static parse(r){let t=p.fromString(r,As);return new e(t)}getVariables(){return{siteId:this.siteId,activationId:this.activationId,entitlementId:this.entitlementId}}},Vs={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"jira",resourceType:"entity-property",resourceIdSlug:"activation/{activationId}/{entityType}/{entityId}/{propertyKey}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,entityType:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/,entityId:/[0-9]+/,propertyKey:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},Es=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._activationId=e.resourceIdSegmentValues.activationId,this._entityType=e.resourceIdSegmentValues.entityType,this._entityId=e.resourceIdSegmentValues.entityId,this._propertyKey=e.resourceIdSegmentValues.propertyKey}get siteId(){return this._siteId}get activationId(){return this._activationId}get entityType(){return this._entityType}get entityId(){return this._entityId}get propertyKey(){return this._propertyKey}static create(r){let t={qualifier:Vs.qualifier,platformQualifier:Vs.platformQualifier,cloudId:r.siteId,resourceOwner:Vs.resourceOwner,resourceType:Vs.resourceType,resourceId:`activation/${r.activationId}/${r.entityType}/${r.entityId}/${r.propertyKey}`,resourceIdSegmentValues:{activationId:r.activationId,entityType:r.entityType,entityId:r.entityId,propertyKey:r.propertyKey}},i=p.fromOpts(t,Vs);return new e(i)}static parse(r){let t=p.fromString(r,Vs);return new e(t)}getVariables(){return{siteId:this.siteId,activationId:this.activationId,entityType:this.entityType,entityId:this.entityId,propertyKey:this.propertyKey}}},xs={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"jira",resourceType:"favourite",resourceIdSlug:"activation/{activationId}/{favouriteId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,favouriteId:/[a-zA-Z0-9_\|\-\:~]+/}},Rs=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._activationId=e.resourceIdSegmentValues.activationId,this._favouriteId=e.resourceIdSegmentValues.favouriteId}get siteId(){return this._siteId}get activationId(){return this._activationId}get favouriteId(){return this._favouriteId}static create(r){let t={qualifier:xs.qualifier,platformQualifier:xs.platformQualifier,cloudId:r.siteId,resourceOwner:xs.resourceOwner,resourceType:xs.resourceType,resourceId:`activation/${r.activationId}/${r.favouriteId}`,resourceIdSegmentValues:{activationId:r.activationId,favouriteId:r.favouriteId}},i=p.fromOpts(t,xs);return new e(i)}static parse(r){let t=p.fromString(r,xs);return new e(t)}getVariables(){return{siteId:this.siteId,activationId:this.activationId,favouriteId:this.favouriteId}}},$s={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"jira",resourceType:"feature-flag",resourceIdSlug:"activation/{activationId}/{featureFlagId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,featureFlagId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},Qs=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._activationId=e.resourceIdSegmentValues.activationId,this._featureFlagId=e.resourceIdSegmentValues.featureFlagId}get siteId(){return this._siteId}get activationId(){return this._activationId}get featureFlagId(){return this._featureFlagId}static create(r){let t={qualifier:$s.qualifier,platformQualifier:$s.platformQualifier,cloudId:r.siteId,resourceOwner:$s.resourceOwner,resourceType:$s.resourceType,resourceId:`activation/${r.activationId}/${r.featureFlagId}`,resourceIdSegmentValues:{activationId:r.activationId,featureFlagId:r.featureFlagId}},i=p.fromOpts(t,$s);return new e(i)}static parse(r){let t=p.fromString(r,$s);return new e(t)}getVariables(){return{siteId:this.siteId,activationId:this.activationId,featureFlagId:this.featureFlagId}}},Ns={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"jira",resourceType:"feature-flag-history",resourceIdSlug:"activation/{activationId}/{featureFlagId}/{updateSequenceNumber}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,featureFlagId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/,updateSequenceNumber:/\d+/}},Cs=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._activationId=e.resourceIdSegmentValues.activationId,this._featureFlagId=e.resourceIdSegmentValues.featureFlagId,this._updateSequenceNumber=e.resourceIdSegmentValues.updateSequenceNumber}get siteId(){return this._siteId}get activationId(){return this._activationId}get featureFlagId(){return this._featureFlagId}get updateSequenceNumber(){return this._updateSequenceNumber}static create(r){let t={qualifier:Ns.qualifier,platformQualifier:Ns.platformQualifier,cloudId:r.siteId,resourceOwner:Ns.resourceOwner,resourceType:Ns.resourceType,resourceId:`activation/${r.activationId}/${r.featureFlagId}/${r.updateSequenceNumber}`,resourceIdSegmentValues:{activationId:r.activationId,featureFlagId:r.featureFlagId,updateSequenceNumber:r.updateSequenceNumber}},i=p.fromOpts(t,Ns);return new e(i)}static parse(r){let t=p.fromString(r,Ns);return new e(t)}getVariables(){return{siteId:this.siteId,activationId:this.activationId,featureFlagId:this.featureFlagId,updateSequenceNumber:this.updateSequenceNumber}}},Fs={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"jira",resourceType:"filter",resourceIdSlug:"activation/{activationId}/{filterId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,filterId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},zs=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._activationId=e.resourceIdSegmentValues.activationId,this._filterId=e.resourceIdSegmentValues.filterId}get siteId(){return this._siteId}get activationId(){return this._activationId}get filterId(){return this._filterId}static create(r){let t={qualifier:Fs.qualifier,platformQualifier:Fs.platformQualifier,cloudId:r.siteId,resourceOwner:Fs.resourceOwner,resourceType:Fs.resourceType,resourceId:`activation/${r.activationId}/${r.filterId}`,resourceIdSegmentValues:{activationId:r.activationId,filterId:r.filterId}},i=p.fromOpts(t,Fs);return new e(i)}static parse(r){let t=p.fromString(r,Fs);return new e(t)}getVariables(){return{siteId:this.siteId,activationId:this.activationId,filterId:this.filterId}}},Ls={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"jira",resourceType:"filter-email-subscription",resourceIdSlug:"activation/{activationId}/{filterEmailSubscriptionId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,filterEmailSubscriptionId:/[0-9]+/}},Ms=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._activationId=e.resourceIdSegmentValues.activationId,this._filterEmailSubscriptionId=e.resourceIdSegmentValues.filterEmailSubscriptionId}get siteId(){return this._siteId}get activationId(){return this._activationId}get filterEmailSubscriptionId(){return this._filterEmailSubscriptionId}static create(r){let t={qualifier:Ls.qualifier,platformQualifier:Ls.platformQualifier,cloudId:r.siteId,resourceOwner:Ls.resourceOwner,resourceType:Ls.resourceType,resourceId:`activation/${r.activationId}/${r.filterEmailSubscriptionId}`,resourceIdSegmentValues:{activationId:r.activationId,filterEmailSubscriptionId:r.filterEmailSubscriptionId}},i=p.fromOpts(t,Ls);return new e(i)}static parse(r){let t=p.fromString(r,Ls);return new e(t)}getVariables(){return{siteId:this.siteId,activationId:this.activationId,filterEmailSubscriptionId:this.filterEmailSubscriptionId}}},Ps={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"jira",resourceType:"incident",resourceIdSlug:"activation/{activationId}/{incidentId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,incidentId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},js=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._activationId=e.resourceIdSegmentValues.activationId,this._incidentId=e.resourceIdSegmentValues.incidentId}get siteId(){return this._siteId}get activationId(){return this._activationId}get incidentId(){return this._incidentId}static create(r){let t={qualifier:Ps.qualifier,platformQualifier:Ps.platformQualifier,cloudId:r.siteId,resourceOwner:Ps.resourceOwner,resourceType:Ps.resourceType,resourceId:`activation/${r.activationId}/${r.incidentId}`,resourceIdSegmentValues:{activationId:r.activationId,incidentId:r.incidentId}},i=p.fromOpts(t,Ps);return new e(i)}static parse(r){let t=p.fromString(r,Ps);return new e(t)}getVariables(){return{siteId:this.siteId,activationId:this.activationId,incidentId:this.incidentId}}},Zs={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"jira",resourceType:"incident-history",resourceIdSlug:"activation/{activationId}/{incidentId}/{updateSequenceNumber}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,incidentId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/,updateSequenceNumber:/\d+/}},Us=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._activationId=e.resourceIdSegmentValues.activationId,this._incidentId=e.resourceIdSegmentValues.incidentId,this._updateSequenceNumber=e.resourceIdSegmentValues.updateSequenceNumber}get siteId(){return this._siteId}get activationId(){return this._activationId}get incidentId(){return this._incidentId}get updateSequenceNumber(){return this._updateSequenceNumber}static create(r){let t={qualifier:Zs.qualifier,platformQualifier:Zs.platformQualifier,cloudId:r.siteId,resourceOwner:Zs.resourceOwner,resourceType:Zs.resourceType,resourceId:`activation/${r.activationId}/${r.incidentId}/${r.updateSequenceNumber}`,resourceIdSegmentValues:{activationId:r.activationId,incidentId:r.incidentId,updateSequenceNumber:r.updateSequenceNumber}},i=p.fromOpts(t,Zs);return new e(i)}static parse(r){let t=p.fromString(r,Zs);return new e(t)}getVariables(){return{siteId:this.siteId,activationId:this.activationId,incidentId:this.incidentId,updateSequenceNumber:this.updateSequenceNumber}}},Ds={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"jira",resourceType:"issue",resourceIdSlug:"{issueId}",resourceIdSegmentFormats:{issueId:/[0-9]+/}},Ws=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._issueId=e.resourceIdSegmentValues.issueId}get siteId(){return this._siteId}get issueId(){return this._issueId}static create(r){let t={qualifier:Ds.qualifier,platformQualifier:Ds.platformQualifier,cloudId:r.siteId,resourceOwner:Ds.resourceOwner,resourceType:Ds.resourceType,resourceId:`${r.issueId}`,resourceIdSegmentValues:{issueId:r.issueId}},i=p.fromOpts(t,Ds);return new e(i)}static parse(r){let t=p.fromString(r,Ds);return new e(t)}getVariables(){return{siteId:this.siteId,issueId:this.issueId}}},Ks={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"jira",resourceType:"issue-attachment",resourceIdSlug:"{issueId}/{attachmentId}",resourceIdSegmentFormats:{issueId:/[0-9]+/,attachmentId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},Bs=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._issueId=e.resourceIdSegmentValues.issueId,this._attachmentId=e.resourceIdSegmentValues.attachmentId}get siteId(){return this._siteId}get issueId(){return this._issueId}get attachmentId(){return this._attachmentId}static create(r){let t={qualifier:Ks.qualifier,platformQualifier:Ks.platformQualifier,cloudId:r.siteId,resourceOwner:Ks.resourceOwner,resourceType:Ks.resourceType,resourceId:`${r.issueId}/${r.attachmentId}`,resourceIdSegmentValues:{issueId:r.issueId,attachmentId:r.attachmentId}},i=p.fromOpts(t,Ks);return new e(i)}static parse(r){let t=p.fromString(r,Ks);return new e(t)}getVariables(){return{siteId:this.siteId,issueId:this.issueId,attachmentId:this.attachmentId}}},Gs={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"jira",resourceType:"issue-comment",resourceIdSlug:"{issueId}/{commentId}",resourceIdSegmentFormats:{issueId:/[0-9]+/,commentId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},Js=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._issueId=e.resourceIdSegmentValues.issueId,this._commentId=e.resourceIdSegmentValues.commentId}get siteId(){return this._siteId}get issueId(){return this._issueId}get commentId(){return this._commentId}static create(r){let t={qualifier:Gs.qualifier,platformQualifier:Gs.platformQualifier,cloudId:r.siteId,resourceOwner:Gs.resourceOwner,resourceType:Gs.resourceType,resourceId:`${r.issueId}/${r.commentId}`,resourceIdSegmentValues:{issueId:r.issueId,commentId:r.commentId}},i=p.fromOpts(t,Gs);return new e(i)}static parse(r){let t=p.fromString(r,Gs);return new e(t)}getVariables(){return{siteId:this.siteId,issueId:this.issueId,commentId:this.commentId}}},Hs={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"jira",resourceType:"issue-field-metadata",resourceIdSlug:"activation/{activationId}/{fieldId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,fieldId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},Ys=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._activationId=e.resourceIdSegmentValues.activationId,this._fieldId=e.resourceIdSegmentValues.fieldId}get siteId(){return this._siteId}get activationId(){return this._activationId}get fieldId(){return this._fieldId}static create(r){let t={qualifier:Hs.qualifier,platformQualifier:Hs.platformQualifier,cloudId:r.siteId,resourceOwner:Hs.resourceOwner,resourceType:Hs.resourceType,resourceId:`activation/${r.activationId}/${r.fieldId}`,resourceIdSegmentValues:{activationId:r.activationId,fieldId:r.fieldId}},i=p.fromOpts(t,Hs);return new e(i)}static parse(r){let t=p.fromString(r,Hs);return new e(t)}getVariables(){return{siteId:this.siteId,activationId:this.activationId,fieldId:this.fieldId}}},Xs={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"jira",resourceType:"issue-field-option",resourceIdSlug:"activation/{activationId}/{fieldId}/{optionId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,fieldId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/,optionId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},eu=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._activationId=e.resourceIdSegmentValues.activationId,this._fieldId=e.resourceIdSegmentValues.fieldId,this._optionId=e.resourceIdSegmentValues.optionId}get siteId(){return this._siteId}get activationId(){return this._activationId}get fieldId(){return this._fieldId}get optionId(){return this._optionId}static create(r){let t={qualifier:Xs.qualifier,platformQualifier:Xs.platformQualifier,cloudId:r.siteId,resourceOwner:Xs.resourceOwner,resourceType:Xs.resourceType,resourceId:`activation/${r.activationId}/${r.fieldId}/${r.optionId}`,resourceIdSegmentValues:{activationId:r.activationId,fieldId:r.fieldId,optionId:r.optionId}},i=p.fromOpts(t,Xs);return new e(i)}static parse(r){let t=p.fromString(r,Xs);return new e(t)}getVariables(){return{siteId:this.siteId,activationId:this.activationId,fieldId:this.fieldId,optionId:this.optionId}}},ru={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"jira",resourceType:"issue-history",resourceIdSlug:"activation/{activationId}/{issueId}/{changeGroupId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,issueId:/[0-9]+/,changeGroupId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},tu=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._activationId=e.resourceIdSegmentValues.activationId,this._issueId=e.resourceIdSegmentValues.issueId,this._changeGroupId=e.resourceIdSegmentValues.changeGroupId}get siteId(){return this._siteId}get activationId(){return this._activationId}get issueId(){return this._issueId}get changeGroupId(){return this._changeGroupId}static create(r){let t={qualifier:ru.qualifier,platformQualifier:ru.platformQualifier,cloudId:r.siteId,resourceOwner:ru.resourceOwner,resourceType:ru.resourceType,resourceId:`activation/${r.activationId}/${r.issueId}/${r.changeGroupId}`,resourceIdSegmentValues:{activationId:r.activationId,issueId:r.issueId,changeGroupId:r.changeGroupId}},i=p.fromOpts(t,ru);return new e(i)}static parse(r){let t=p.fromString(r,ru);return new e(t)}getVariables(){return{siteId:this.siteId,activationId:this.activationId,issueId:this.issueId,changeGroupId:this.changeGroupId}}},iu={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"jira",resourceType:"issue-link",resourceIdSlug:"activation/{activationId}/{issueId}/{linkId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,issueId:/[0-9]+/,linkId:/[0-9]+/}},nu=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._activationId=e.resourceIdSegmentValues.activationId,this._issueId=e.resourceIdSegmentValues.issueId,this._linkId=e.resourceIdSegmentValues.linkId}get siteId(){return this._siteId}get activationId(){return this._activationId}get issueId(){return this._issueId}get linkId(){return this._linkId}static create(r){let t={qualifier:iu.qualifier,platformQualifier:iu.platformQualifier,cloudId:r.siteId,resourceOwner:iu.resourceOwner,resourceType:iu.resourceType,resourceId:`activation/${r.activationId}/${r.issueId}/${r.linkId}`,resourceIdSegmentValues:{activationId:r.activationId,issueId:r.issueId,linkId:r.linkId}},i=p.fromOpts(t,iu);return new e(i)}static parse(r){let t=p.fromString(r,iu);return new e(t)}getVariables(){return{siteId:this.siteId,activationId:this.activationId,issueId:this.issueId,linkId:this.linkId}}},ou={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"jira",resourceType:"issue-link-type",resourceIdSlug:"activation/{activationId}/{issueLinkTypeId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,issueLinkTypeId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},au=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._activationId=e.resourceIdSegmentValues.activationId,this._issueLinkTypeId=e.resourceIdSegmentValues.issueLinkTypeId}get siteId(){return this._siteId}get activationId(){return this._activationId}get issueLinkTypeId(){return this._issueLinkTypeId}static create(r){let t={qualifier:ou.qualifier,platformQualifier:ou.platformQualifier,cloudId:r.siteId,resourceOwner:ou.resourceOwner,resourceType:ou.resourceType,resourceId:`activation/${r.activationId}/${r.issueLinkTypeId}`,resourceIdSegmentValues:{activationId:r.activationId,issueLinkTypeId:r.issueLinkTypeId}},i=p.fromOpts(t,ou);return new e(i)}static parse(r){let t=p.fromString(r,ou);return new e(t)}getVariables(){return{siteId:this.siteId,activationId:this.activationId,issueLinkTypeId:this.issueLinkTypeId}}},su={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"jira",resourceType:"issue-remote-link",resourceIdSlug:"activation/{activationId}/{issueId}/{linkId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,issueId:/[0-9]+/,linkId:/[0-9]+/}},uu=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._activationId=e.resourceIdSegmentValues.activationId,this._issueId=e.resourceIdSegmentValues.issueId,this._linkId=e.resourceIdSegmentValues.linkId}get siteId(){return this._siteId}get activationId(){return this._activationId}get issueId(){return this._issueId}get linkId(){return this._linkId}static create(r){let t={qualifier:su.qualifier,platformQualifier:su.platformQualifier,cloudId:r.siteId,resourceOwner:su.resourceOwner,resourceType:su.resourceType,resourceId:`activation/${r.activationId}/${r.issueId}/${r.linkId}`,resourceIdSegmentValues:{activationId:r.activationId,issueId:r.issueId,linkId:r.linkId}},i=p.fromOpts(t,su);return new e(i)}static parse(r){let t=p.fromString(r,su);return new e(t)}getVariables(){return{siteId:this.siteId,activationId:this.activationId,issueId:this.issueId,linkId:this.linkId}}},cu={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"jira",resourceType:"issue-search-view",resourceIdSlug:"activation/{activationId}/{namespaceId}/{viewId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,namespaceId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/,viewId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},du=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._activationId=e.resourceIdSegmentValues.activationId,this._namespaceId=e.resourceIdSegmentValues.namespaceId,this._viewId=e.resourceIdSegmentValues.viewId}get siteId(){return this._siteId}get activationId(){return this._activationId}get namespaceId(){return this._namespaceId}get viewId(){return this._viewId}static create(r){let t={qualifier:cu.qualifier,platformQualifier:cu.platformQualifier,cloudId:r.siteId,resourceOwner:cu.resourceOwner,resourceType:cu.resourceType,resourceId:`activation/${r.activationId}/${r.namespaceId}/${r.viewId}`,resourceIdSegmentValues:{activationId:r.activationId,namespaceId:r.namespaceId,viewId:r.viewId}},i=p.fromOpts(t,cu);return new e(i)}static parse(r){let t=p.fromString(r,cu);return new e(t)}getVariables(){return{siteId:this.siteId,activationId:this.activationId,namespaceId:this.namespaceId,viewId:this.viewId}}},lu={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"jira",resourceType:"issue-status",resourceIdSlug:"activation/{activationId}/{issuestatusId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,issuestatusId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},Iu=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._activationId=e.resourceIdSegmentValues.activationId,this._issuestatusId=e.resourceIdSegmentValues.issuestatusId}get siteId(){return this._siteId}get activationId(){return this._activationId}get issuestatusId(){return this._issuestatusId}static create(r){let t={qualifier:lu.qualifier,platformQualifier:lu.platformQualifier,cloudId:r.siteId,resourceOwner:lu.resourceOwner,resourceType:lu.resourceType,resourceId:`activation/${r.activationId}/${r.issuestatusId}`,resourceIdSegmentValues:{activationId:r.activationId,issuestatusId:r.issuestatusId}},i=p.fromOpts(t,lu);return new e(i)}static parse(r){let t=p.fromString(r,lu);return new e(t)}getVariables(){return{siteId:this.siteId,activationId:this.activationId,issuestatusId:this.issuestatusId}}},pu={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"jira",resourceType:"issue-type",resourceIdSlug:"{issueTypeId}",resourceIdSegmentFormats:{issueTypeId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},fu=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._issueTypeId=e.resourceIdSegmentValues.issueTypeId}get siteId(){return this._siteId}get issueTypeId(){return this._issueTypeId}static create(r){let t={qualifier:pu.qualifier,platformQualifier:pu.platformQualifier,cloudId:r.siteId,resourceOwner:pu.resourceOwner,resourceType:pu.resourceType,resourceId:`${r.issueTypeId}`,resourceIdSegmentValues:{issueTypeId:r.issueTypeId}},i=p.fromOpts(t,pu);return new e(i)}static parse(r){let t=p.fromString(r,pu);return new e(t)}getVariables(){return{siteId:this.siteId,issueTypeId:this.issueTypeId}}},mu={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"jira",resourceType:"issue-type-scheme",resourceIdSlug:"activation/{activationId}/{issueTypeSchemeId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,issueTypeSchemeId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},hu=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._activationId=e.resourceIdSegmentValues.activationId,this._issueTypeSchemeId=e.resourceIdSegmentValues.issueTypeSchemeId}get siteId(){return this._siteId}get activationId(){return this._activationId}get issueTypeSchemeId(){return this._issueTypeSchemeId}static create(r){let t={qualifier:mu.qualifier,platformQualifier:mu.platformQualifier,cloudId:r.siteId,resourceOwner:mu.resourceOwner,resourceType:mu.resourceType,resourceId:`activation/${r.activationId}/${r.issueTypeSchemeId}`,resourceIdSegmentValues:{activationId:r.activationId,issueTypeSchemeId:r.issueTypeSchemeId}},i=p.fromOpts(t,mu);return new e(i)}static parse(r){let t=p.fromString(r,mu);return new e(t)}getVariables(){return{siteId:this.siteId,activationId:this.activationId,issueTypeSchemeId:this.issueTypeSchemeId}}},gu={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"jira",resourceType:"issue-type-scheme-mapping",resourceIdSlug:"activation/{activationId}/{issueTypeSchemeId}/{issueTypeId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,issueTypeSchemeId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/,issueTypeId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},vu=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._activationId=e.resourceIdSegmentValues.activationId,this._issueTypeSchemeId=e.resourceIdSegmentValues.issueTypeSchemeId,this._issueTypeId=e.resourceIdSegmentValues.issueTypeId}get siteId(){return this._siteId}get activationId(){return this._activationId}get issueTypeSchemeId(){return this._issueTypeSchemeId}get issueTypeId(){return this._issueTypeId}static create(r){let t={qualifier:gu.qualifier,platformQualifier:gu.platformQualifier,cloudId:r.siteId,resourceOwner:gu.resourceOwner,resourceType:gu.resourceType,resourceId:`activation/${r.activationId}/${r.issueTypeSchemeId}/${r.issueTypeId}`,resourceIdSegmentValues:{activationId:r.activationId,issueTypeSchemeId:r.issueTypeSchemeId,issueTypeId:r.issueTypeId}},i=p.fromOpts(t,gu);return new e(i)}static parse(r){let t=p.fromString(r,gu);return new e(t)}getVariables(){return{siteId:this.siteId,activationId:this.activationId,issueTypeSchemeId:this.issueTypeSchemeId,issueTypeId:this.issueTypeId}}},yu={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"jira",resourceType:"issue-worklog",resourceIdSlug:"{issueId}/{worklogId}",resourceIdSegmentFormats:{issueId:/[0-9]+/,worklogId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},wu=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._issueId=e.resourceIdSegmentValues.issueId,this._worklogId=e.resourceIdSegmentValues.worklogId}get siteId(){return this._siteId}get issueId(){return this._issueId}get worklogId(){return this._worklogId}static create(r){let t={qualifier:yu.qualifier,platformQualifier:yu.platformQualifier,cloudId:r.siteId,resourceOwner:yu.resourceOwner,resourceType:yu.resourceType,resourceId:`${r.issueId}/${r.worklogId}`,resourceIdSegmentValues:{issueId:r.issueId,worklogId:r.worklogId}},i=p.fromOpts(t,yu);return new e(i)}static parse(r){let t=p.fromString(r,yu);return new e(t)}getVariables(){return{siteId:this.siteId,issueId:this.issueId,worklogId:this.worklogId}}},Su={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"jira",resourceType:"issuefieldvalue",resourceIdSlug:"{issueId}/{fieldId}",resourceIdSegmentFormats:{issueId:/[0-9]+/,fieldId:/[a-zA-Z0-9_\-]+/}},_u=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._issueId=e.resourceIdSegmentValues.issueId,this._fieldId=e.resourceIdSegmentValues.fieldId}get siteId(){return this._siteId}get issueId(){return this._issueId}get fieldId(){return this._fieldId}static create(r){let t={qualifier:Su.qualifier,platformQualifier:Su.platformQualifier,cloudId:r.siteId,resourceOwner:Su.resourceOwner,resourceType:Su.resourceType,resourceId:`${r.issueId}/${r.fieldId}`,resourceIdSegmentValues:{issueId:r.issueId,fieldId:r.fieldId}},i=p.fromOpts(t,Su);return new e(i)}static parse(r){let t=p.fromString(r,Su);return new e(t)}getVariables(){return{siteId:this.siteId,issueId:this.issueId,fieldId:this.fieldId}}},bu={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"jira",resourceType:"navigation-config",resourceIdSlug:"activation/{activationId}/{userId}/{navKey}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,userId:/[a-zA-Z0-9_\-\:]{1,128}/,navKey:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},Tu=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._activationId=e.resourceIdSegmentValues.activationId,this._userId=e.resourceIdSegmentValues.userId,this._navKey=e.resourceIdSegmentValues.navKey}get siteId(){return this._siteId}get activationId(){return this._activationId}get userId(){return this._userId}get navKey(){return this._navKey}static create(r){let t={qualifier:bu.qualifier,platformQualifier:bu.platformQualifier,cloudId:r.siteId,resourceOwner:bu.resourceOwner,resourceType:bu.resourceType,resourceId:`activation/${r.activationId}/${r.userId}/${r.navKey}`,resourceIdSegmentValues:{activationId:r.activationId,userId:r.userId,navKey:r.navKey}},i=p.fromOpts(t,bu);return new e(i)}static parse(r){let t=p.fromString(r,bu);return new e(t)}getVariables(){return{siteId:this.siteId,activationId:this.activationId,userId:this.userId,navKey:this.navKey}}},Ou={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"jira",resourceType:"navigation-item",resourceIdSlug:"activation/{activationId}/{scopeType}/{scopeId}/{itemId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,scopeType:/(?:project|board|global)/,scopeId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/,itemId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},ku=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._activationId=e.resourceIdSegmentValues.activationId,this._scopeType=e.resourceIdSegmentValues.scopeType,this._scopeId=e.resourceIdSegmentValues.scopeId,this._itemId=e.resourceIdSegmentValues.itemId}get siteId(){return this._siteId}get activationId(){return this._activationId}get scopeType(){return this._scopeType}get scopeId(){return this._scopeId}get itemId(){return this._itemId}static create(r){let t={qualifier:Ou.qualifier,platformQualifier:Ou.platformQualifier,cloudId:r.siteId,resourceOwner:Ou.resourceOwner,resourceType:Ou.resourceType,resourceId:`activation/${r.activationId}/${r.scopeType}/${r.scopeId}/${r.itemId}`,resourceIdSegmentValues:{activationId:r.activationId,scopeType:r.scopeType,scopeId:r.scopeId,itemId:r.itemId}},i=p.fromOpts(t,Ou);return new e(i)}static parse(r){let t=p.fromString(r,Ou);return new e(t)}getVariables(){return{siteId:this.siteId,activationId:this.activationId,scopeType:this.scopeType,scopeId:this.scopeId,itemId:this.itemId}}},Au={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"jira",resourceType:"notification-type",resourceIdSlug:"activation/{activationId}/{notificationTypeId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,notificationTypeId:/[0-9]+/}},qu=class e extends T{constructor(e){super(e),this._activationId=e.resourceIdSegmentValues.activationId,this._notificationTypeId=e.resourceIdSegmentValues.notificationTypeId}get activationId(){return this._activationId}get notificationTypeId(){return this._notificationTypeId}static create(r){let t={qualifier:Au.qualifier,platformQualifier:Au.platformQualifier,cloudId:void 0,resourceOwner:Au.resourceOwner,resourceType:Au.resourceType,resourceId:`activation/${r.activationId}/${r.notificationTypeId}`,resourceIdSegmentValues:{activationId:r.activationId,notificationTypeId:r.notificationTypeId}},i=p.fromOpts(t,Au);return new e(i)}static parse(r){let t=p.fromString(r,Au);return new e(t)}getVariables(){return{activationId:this.activationId,notificationTypeId:this.notificationTypeId}}},Vu={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"jira",resourceType:"notification-type-scheme",resourceIdSlug:"activation/{activationId}/{notificationTypeSchemeId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,notificationTypeSchemeId:/[0-9]+/}},Eu=class e extends T{constructor(e){super(e),this._activationId=e.resourceIdSegmentValues.activationId,this._notificationTypeSchemeId=e.resourceIdSegmentValues.notificationTypeSchemeId}get activationId(){return this._activationId}get notificationTypeSchemeId(){return this._notificationTypeSchemeId}static create(r){let t={qualifier:Vu.qualifier,platformQualifier:Vu.platformQualifier,cloudId:void 0,resourceOwner:Vu.resourceOwner,resourceType:Vu.resourceType,resourceId:`activation/${r.activationId}/${r.notificationTypeSchemeId}`,resourceIdSegmentValues:{activationId:r.activationId,notificationTypeSchemeId:r.notificationTypeSchemeId}},i=p.fromOpts(t,Vu);return new e(i)}static parse(r){let t=p.fromString(r,Vu);return new e(t)}getVariables(){return{activationId:this.activationId,notificationTypeSchemeId:this.notificationTypeSchemeId}}},xu={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"jira",resourceType:"notification-user-preference",resourceIdSlug:"activation/{activationId}/{notificationUserPreferenceId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,notificationUserPreferenceId:/[0-9]+/}},Ru=class e extends T{constructor(e){super(e),this._activationId=e.resourceIdSegmentValues.activationId,this._notificationUserPreferenceId=e.resourceIdSegmentValues.notificationUserPreferenceId}get activationId(){return this._activationId}get notificationUserPreferenceId(){return this._notificationUserPreferenceId}static create(r){let t={qualifier:xu.qualifier,platformQualifier:xu.platformQualifier,cloudId:void 0,resourceOwner:xu.resourceOwner,resourceType:xu.resourceType,resourceId:`activation/${r.activationId}/${r.notificationUserPreferenceId}`,resourceIdSegmentValues:{activationId:r.activationId,notificationUserPreferenceId:r.notificationUserPreferenceId}},i=p.fromOpts(t,xu);return new e(i)}static parse(r){let t=p.fromString(r,xu);return new e(t)}getVariables(){return{activationId:this.activationId,notificationUserPreferenceId:this.notificationUserPreferenceId}}},$u={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"jira",resourceType:"operations-workspace",resourceIdSlug:"activation/{activationId}/{providerAppId}/{operationsWorkspaceId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,providerAppId:/[a-zA-Z0-9-._]+/,operationsWorkspaceId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},Qu=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._activationId=e.resourceIdSegmentValues.activationId,this._providerAppId=e.resourceIdSegmentValues.providerAppId,this._operationsWorkspaceId=e.resourceIdSegmentValues.operationsWorkspaceId}get siteId(){return this._siteId}get activationId(){return this._activationId}get providerAppId(){return this._providerAppId}get operationsWorkspaceId(){return this._operationsWorkspaceId}static create(r){let t={qualifier:$u.qualifier,platformQualifier:$u.platformQualifier,cloudId:r.siteId,resourceOwner:$u.resourceOwner,resourceType:$u.resourceType,resourceId:`activation/${r.activationId}/${r.providerAppId}/${r.operationsWorkspaceId}`,resourceIdSegmentValues:{activationId:r.activationId,providerAppId:r.providerAppId,operationsWorkspaceId:r.operationsWorkspaceId}},i=p.fromOpts(t,$u);return new e(i)}static parse(r){let t=p.fromString(r,$u);return new e(t)}getVariables(){return{siteId:this.siteId,activationId:this.activationId,providerAppId:this.providerAppId,operationsWorkspaceId:this.operationsWorkspaceId}}},Nu={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"jira",resourceType:"permission-scheme",resourceIdSlug:"activation/{activationId}/{schemeId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,schemeId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},Cu=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._activationId=e.resourceIdSegmentValues.activationId,this._schemeId=e.resourceIdSegmentValues.schemeId}get siteId(){return this._siteId}get activationId(){return this._activationId}get schemeId(){return this._schemeId}static create(r){let t={qualifier:Nu.qualifier,platformQualifier:Nu.platformQualifier,cloudId:r.siteId,resourceOwner:Nu.resourceOwner,resourceType:Nu.resourceType,resourceId:`activation/${r.activationId}/${r.schemeId}`,resourceIdSegmentValues:{activationId:r.activationId,schemeId:r.schemeId}},i=p.fromOpts(t,Nu);return new e(i)}static parse(r){let t=p.fromString(r,Nu);return new e(t)}getVariables(){return{siteId:this.siteId,activationId:this.activationId,schemeId:this.schemeId}}},Fu={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"jira",resourceType:"plan",resourceIdSlug:"activation/{activationId}/{planId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,planId:/[0-9]+/}},zu=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._activationId=e.resourceIdSegmentValues.activationId,this._planId=e.resourceIdSegmentValues.planId}get siteId(){return this._siteId}get activationId(){return this._activationId}get planId(){return this._planId}static create(r){let t={qualifier:Fu.qualifier,platformQualifier:Fu.platformQualifier,cloudId:r.siteId,resourceOwner:Fu.resourceOwner,resourceType:Fu.resourceType,resourceId:`activation/${r.activationId}/${r.planId}`,resourceIdSegmentValues:{activationId:r.activationId,planId:r.planId}},i=p.fromOpts(t,Fu);return new e(i)}static parse(r){let t=p.fromString(r,Fu);return new e(t)}getVariables(){return{siteId:this.siteId,activationId:this.activationId,planId:this.planId}}},Lu={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"jira",resourceType:"plan-cross-project-scenario-version",resourceIdSlug:"activation/{activationId}/{crossProjectScenarioVersionId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,crossProjectScenarioVersionId:/[0-9]+/}},Mu=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._activationId=e.resourceIdSegmentValues.activationId,this._crossProjectScenarioVersionId=e.resourceIdSegmentValues.crossProjectScenarioVersionId}get siteId(){return this._siteId}get activationId(){return this._activationId}get crossProjectScenarioVersionId(){return this._crossProjectScenarioVersionId}static create(r){let t={qualifier:Lu.qualifier,platformQualifier:Lu.platformQualifier,cloudId:r.siteId,resourceOwner:Lu.resourceOwner,resourceType:Lu.resourceType,resourceId:`activation/${r.activationId}/${r.crossProjectScenarioVersionId}`,resourceIdSegmentValues:{activationId:r.activationId,crossProjectScenarioVersionId:r.crossProjectScenarioVersionId}},i=p.fromOpts(t,Lu);return new e(i)}static parse(r){let t=p.fromString(r,Lu);return new e(t)}getVariables(){return{siteId:this.siteId,activationId:this.activationId,crossProjectScenarioVersionId:this.crossProjectScenarioVersionId}}},Pu={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"jira",resourceType:"plan-cross-project-version",resourceIdSlug:"activation/{activationId}/{crossProjectVersionId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,crossProjectVersionId:/[0-9]+/}},ju=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._activationId=e.resourceIdSegmentValues.activationId,this._crossProjectVersionId=e.resourceIdSegmentValues.crossProjectVersionId}get siteId(){return this._siteId}get activationId(){return this._activationId}get crossProjectVersionId(){return this._crossProjectVersionId}static create(r){let t={qualifier:Pu.qualifier,platformQualifier:Pu.platformQualifier,cloudId:r.siteId,resourceOwner:Pu.resourceOwner,resourceType:Pu.resourceType,resourceId:`activation/${r.activationId}/${r.crossProjectVersionId}`,resourceIdSegmentValues:{activationId:r.activationId,crossProjectVersionId:r.crossProjectVersionId}},i=p.fromOpts(t,Pu);return new e(i)}static parse(r){let t=p.fromString(r,Pu);return new e(t)}getVariables(){return{siteId:this.siteId,activationId:this.activationId,crossProjectVersionId:this.crossProjectVersionId}}},Zu={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"jira",resourceType:"plan-scenario",resourceIdSlug:"activation/{activationId}/{planId}/scenario/{scenarioId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,planId:/[0-9]+/,scenarioId:/[0-9]+/}},Uu=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._activationId=e.resourceIdSegmentValues.activationId,this._planId=e.resourceIdSegmentValues.planId,this._scenarioId=e.resourceIdSegmentValues.scenarioId}get siteId(){return this._siteId}get activationId(){return this._activationId}get planId(){return this._planId}get scenarioId(){return this._scenarioId}static create(r){let t={qualifier:Zu.qualifier,platformQualifier:Zu.platformQualifier,cloudId:r.siteId,resourceOwner:Zu.resourceOwner,resourceType:Zu.resourceType,resourceId:`activation/${r.activationId}/${r.planId}/scenario/${r.scenarioId}`,resourceIdSegmentValues:{activationId:r.activationId,planId:r.planId,scenarioId:r.scenarioId}},i=p.fromOpts(t,Zu);return new e(i)}static parse(r){let t=p.fromString(r,Zu);return new e(t)}getVariables(){return{siteId:this.siteId,activationId:this.activationId,planId:this.planId,scenarioId:this.scenarioId}}},Du={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"jira",resourceType:"plan-scenario-issue",resourceIdSlug:"activation/{activationId}/{scenarioIssueId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,scenarioIssueId:/[0-9]+/}},Wu=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._activationId=e.resourceIdSegmentValues.activationId,this._scenarioIssueId=e.resourceIdSegmentValues.scenarioIssueId}get siteId(){return this._siteId}get activationId(){return this._activationId}get scenarioIssueId(){return this._scenarioIssueId}static create(r){let t={qualifier:Du.qualifier,platformQualifier:Du.platformQualifier,cloudId:r.siteId,resourceOwner:Du.resourceOwner,resourceType:Du.resourceType,resourceId:`activation/${r.activationId}/${r.scenarioIssueId}`,resourceIdSegmentValues:{activationId:r.activationId,scenarioIssueId:r.scenarioIssueId}},i=p.fromOpts(t,Du);return new e(i)}static parse(r){let t=p.fromString(r,Du);return new e(t)}getVariables(){return{siteId:this.siteId,activationId:this.activationId,scenarioIssueId:this.scenarioIssueId}}},Ku={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"jira",resourceType:"plan-scenario-issue-field",resourceIdSlug:"activation/{activationId}/{scenarioIssueId}/{fieldId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,scenarioIssueId:/[0-9]+/,fieldId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},Bu=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._activationId=e.resourceIdSegmentValues.activationId,this._scenarioIssueId=e.resourceIdSegmentValues.scenarioIssueId,this._fieldId=e.resourceIdSegmentValues.fieldId}get siteId(){return this._siteId}get activationId(){return this._activationId}get scenarioIssueId(){return this._scenarioIssueId}get fieldId(){return this._fieldId}static create(r){let t={qualifier:Ku.qualifier,platformQualifier:Ku.platformQualifier,cloudId:r.siteId,resourceOwner:Ku.resourceOwner,resourceType:Ku.resourceType,resourceId:`activation/${r.activationId}/${r.scenarioIssueId}/${r.fieldId}`,resourceIdSegmentValues:{activationId:r.activationId,scenarioIssueId:r.scenarioIssueId,fieldId:r.fieldId}},i=p.fromOpts(t,Ku);return new e(i)}static parse(r){let t=p.fromString(r,Ku);return new e(t)}getVariables(){return{siteId:this.siteId,activationId:this.activationId,scenarioIssueId:this.scenarioIssueId,fieldId:this.fieldId}}},Gu={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"jira",resourceType:"plan-scenario-version",resourceIdSlug:"activation/{activationId}/{scenarioVersionId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,scenarioVersionId:/[0-9]+/}},Ju=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._activationId=e.resourceIdSegmentValues.activationId,this._scenarioVersionId=e.resourceIdSegmentValues.scenarioVersionId}get siteId(){return this._siteId}get activationId(){return this._activationId}get scenarioVersionId(){return this._scenarioVersionId}static create(r){let t={qualifier:Gu.qualifier,platformQualifier:Gu.platformQualifier,cloudId:r.siteId,resourceOwner:Gu.resourceOwner,resourceType:Gu.resourceType,resourceId:`activation/${r.activationId}/${r.scenarioVersionId}`,resourceIdSegmentValues:{activationId:r.activationId,scenarioVersionId:r.scenarioVersionId}},i=p.fromOpts(t,Gu);return new e(i)}static parse(r){let t=p.fromString(r,Gu);return new e(t)}getVariables(){return{siteId:this.siteId,activationId:this.activationId,scenarioVersionId:this.scenarioVersionId}}},Hu={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"jira",resourceType:"post-incident-review",resourceIdSlug:"activation/{activationId}/{postIncidentReviewId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,postIncidentReviewId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},Yu=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._activationId=e.resourceIdSegmentValues.activationId,this._postIncidentReviewId=e.resourceIdSegmentValues.postIncidentReviewId}get siteId(){return this._siteId}get activationId(){return this._activationId}get postIncidentReviewId(){return this._postIncidentReviewId}static create(r){let t={qualifier:Hu.qualifier,platformQualifier:Hu.platformQualifier,cloudId:r.siteId,resourceOwner:Hu.resourceOwner,resourceType:Hu.resourceType,resourceId:`activation/${r.activationId}/${r.postIncidentReviewId}`,resourceIdSegmentValues:{activationId:r.activationId,postIncidentReviewId:r.postIncidentReviewId}},i=p.fromOpts(t,Hu);return new e(i)}static parse(r){let t=p.fromString(r,Hu);return new e(t)}getVariables(){return{siteId:this.siteId,activationId:this.activationId,postIncidentReviewId:this.postIncidentReviewId}}},Xu={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"jira",resourceType:"post-incident-review-history",resourceIdSlug:"activation/{activationId}/{postIncidentReviewId}/{updateSequenceNumber}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,postIncidentReviewId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/,updateSequenceNumber:/\d+/}},ec=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._activationId=e.resourceIdSegmentValues.activationId,this._postIncidentReviewId=e.resourceIdSegmentValues.postIncidentReviewId,this._updateSequenceNumber=e.resourceIdSegmentValues.updateSequenceNumber}get siteId(){return this._siteId}get activationId(){return this._activationId}get postIncidentReviewId(){return this._postIncidentReviewId}get updateSequenceNumber(){return this._updateSequenceNumber}static create(r){let t={qualifier:Xu.qualifier,platformQualifier:Xu.platformQualifier,cloudId:r.siteId,resourceOwner:Xu.resourceOwner,resourceType:Xu.resourceType,resourceId:`activation/${r.activationId}/${r.postIncidentReviewId}/${r.updateSequenceNumber}`,resourceIdSegmentValues:{activationId:r.activationId,postIncidentReviewId:r.postIncidentReviewId,updateSequenceNumber:r.updateSequenceNumber}},i=p.fromOpts(t,Xu);return new e(i)}static parse(r){let t=p.fromString(r,Xu);return new e(t)}getVariables(){return{siteId:this.siteId,activationId:this.activationId,postIncidentReviewId:this.postIncidentReviewId,updateSequenceNumber:this.updateSequenceNumber}}},rc={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"jira",resourceType:"post-incident-review-link",resourceIdSlug:"activation/{activationId}/{postIncidentReviewLinkId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,postIncidentReviewLinkId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},tc=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._activationId=e.resourceIdSegmentValues.activationId,this._postIncidentReviewLinkId=e.resourceIdSegmentValues.postIncidentReviewLinkId}get siteId(){return this._siteId}get activationId(){return this._activationId}get postIncidentReviewLinkId(){return this._postIncidentReviewLinkId}static create(r){let t={qualifier:rc.qualifier,platformQualifier:rc.platformQualifier,cloudId:r.siteId,resourceOwner:rc.resourceOwner,resourceType:rc.resourceType,resourceId:`activation/${r.activationId}/${r.postIncidentReviewLinkId}`,resourceIdSegmentValues:{activationId:r.activationId,postIncidentReviewLinkId:r.postIncidentReviewLinkId}},i=p.fromOpts(t,rc);return new e(i)}static parse(r){let t=p.fromString(r,rc);return new e(t)}getVariables(){return{siteId:this.siteId,activationId:this.activationId,postIncidentReviewLinkId:this.postIncidentReviewLinkId}}},ic={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"jira",resourceType:"priority",resourceIdSlug:"activation/{activationId}/{priorityId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,priorityId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},nc=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._activationId=e.resourceIdSegmentValues.activationId,this._priorityId=e.resourceIdSegmentValues.priorityId}get siteId(){return this._siteId}get activationId(){return this._activationId}get priorityId(){return this._priorityId}static create(r){let t={qualifier:ic.qualifier,platformQualifier:ic.platformQualifier,cloudId:r.siteId,resourceOwner:ic.resourceOwner,resourceType:ic.resourceType,resourceId:`activation/${r.activationId}/${r.priorityId}`,resourceIdSegmentValues:{activationId:r.activationId,priorityId:r.priorityId}},i=p.fromOpts(t,ic);return new e(i)}static parse(r){let t=p.fromString(r,ic);return new e(t)}getVariables(){return{siteId:this.siteId,activationId:this.activationId,priorityId:this.priorityId}}},oc={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"jira",resourceType:"product",resourceIdSlug:"activation/{activationId}/{productId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,productId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},ac=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._activationId=e.resourceIdSegmentValues.activationId,this._productId=e.resourceIdSegmentValues.productId}get siteId(){return this._siteId}get activationId(){return this._activationId}get productId(){return this._productId}static create(r){let t={qualifier:oc.qualifier,platformQualifier:oc.platformQualifier,cloudId:r.siteId,resourceOwner:oc.resourceOwner,resourceType:oc.resourceType,resourceId:`activation/${r.activationId}/${r.productId}`,resourceIdSegmentValues:{activationId:r.activationId,productId:r.productId}},i=p.fromOpts(t,oc);return new e(i)}static parse(r){let t=p.fromString(r,oc);return new e(t)}getVariables(){return{siteId:this.siteId,activationId:this.activationId,productId:this.productId}}},sc={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"jira",resourceType:"project",resourceIdSlug:"{projectId}",resourceIdSegmentFormats:{projectId:/[0-9]+/}},uc=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._projectId=e.resourceIdSegmentValues.projectId}get siteId(){return this._siteId}get projectId(){return this._projectId}static create(r){let t={qualifier:sc.qualifier,platformQualifier:sc.platformQualifier,cloudId:r.siteId,resourceOwner:sc.resourceOwner,resourceType:sc.resourceType,resourceId:`${r.projectId}`,resourceIdSegmentValues:{projectId:r.projectId}},i=p.fromOpts(t,sc);return new e(i)}static parse(r){let t=p.fromString(r,sc);return new e(t)}getVariables(){return{siteId:this.siteId,projectId:this.projectId}}},cc={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"jira",resourceType:"project-category",resourceIdSlug:"{projectCategoryId}",resourceIdSegmentFormats:{projectCategoryId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},dc=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._projectCategoryId=e.resourceIdSegmentValues.projectCategoryId}get siteId(){return this._siteId}get projectCategoryId(){return this._projectCategoryId}static create(r){let t={qualifier:cc.qualifier,platformQualifier:cc.platformQualifier,cloudId:r.siteId,resourceOwner:cc.resourceOwner,resourceType:cc.resourceType,resourceId:`${r.projectCategoryId}`,resourceIdSegmentValues:{projectCategoryId:r.projectCategoryId}},i=p.fromOpts(t,cc);return new e(i)}static parse(r){let t=p.fromString(r,cc);return new e(t)}getVariables(){return{siteId:this.siteId,projectCategoryId:this.projectCategoryId}}},lc={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"jira",resourceType:"project-feature",resourceIdSlug:"activation/{activationId}/{projectId}/featureKey/{featureKey}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,projectId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/,featureKey:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},Ic=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._activationId=e.resourceIdSegmentValues.activationId,this._projectId=e.resourceIdSegmentValues.projectId,this._featureKey=e.resourceIdSegmentValues.featureKey}get siteId(){return this._siteId}get activationId(){return this._activationId}get projectId(){return this._projectId}get featureKey(){return this._featureKey}static create(r){let t={qualifier:lc.qualifier,platformQualifier:lc.platformQualifier,cloudId:r.siteId,resourceOwner:lc.resourceOwner,resourceType:lc.resourceType,resourceId:`activation/${r.activationId}/${r.projectId}/featureKey/${r.featureKey}`,resourceIdSegmentValues:{activationId:r.activationId,projectId:r.projectId,featureKey:r.featureKey}},i=p.fromOpts(t,lc);return new e(i)}static parse(r){let t=p.fromString(r,lc);return new e(t)}getVariables(){return{siteId:this.siteId,activationId:this.activationId,projectId:this.projectId,featureKey:this.featureKey}}},pc={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"jira",resourceType:"project-overview",resourceIdSlug:"activation/{activationId}/{overviewId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,overviewId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},fc=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._activationId=e.resourceIdSegmentValues.activationId,this._overviewId=e.resourceIdSegmentValues.overviewId}get siteId(){return this._siteId}get activationId(){return this._activationId}get overviewId(){return this._overviewId}static create(r){let t={qualifier:pc.qualifier,platformQualifier:pc.platformQualifier,cloudId:r.siteId,resourceOwner:pc.resourceOwner,resourceType:pc.resourceType,resourceId:`activation/${r.activationId}/${r.overviewId}`,resourceIdSegmentValues:{activationId:r.activationId,overviewId:r.overviewId}},i=p.fromOpts(t,pc);return new e(i)}static parse(r){let t=p.fromString(r,pc);return new e(t)}getVariables(){return{siteId:this.siteId,activationId:this.activationId,overviewId:this.overviewId}}},mc={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"jira",resourceType:"project-role-actor",resourceIdSlug:"activation/{activationId}/{projectRoleActorId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,projectRoleActorId:/[0-9]+/}},hc=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._activationId=e.resourceIdSegmentValues.activationId,this._projectRoleActorId=e.resourceIdSegmentValues.projectRoleActorId}get siteId(){return this._siteId}get activationId(){return this._activationId}get projectRoleActorId(){return this._projectRoleActorId}static create(r){let t={qualifier:mc.qualifier,platformQualifier:mc.platformQualifier,cloudId:r.siteId,resourceOwner:mc.resourceOwner,resourceType:mc.resourceType,resourceId:`activation/${r.activationId}/${r.projectRoleActorId}`,resourceIdSegmentValues:{activationId:r.activationId,projectRoleActorId:r.projectRoleActorId}},i=p.fromOpts(t,mc);return new e(i)}static parse(r){let t=p.fromString(r,mc);return new e(t)}getVariables(){return{siteId:this.siteId,activationId:this.activationId,projectRoleActorId:this.projectRoleActorId}}},gc={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"jira",resourceType:"project-shortcut",resourceIdSlug:"activation/{activationId}/{shortcutId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,shortcutId:/[0-9]+/}},vc=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._activationId=e.resourceIdSegmentValues.activationId,this._shortcutId=e.resourceIdSegmentValues.shortcutId}get siteId(){return this._siteId}get activationId(){return this._activationId}get shortcutId(){return this._shortcutId}static create(r){let t={qualifier:gc.qualifier,platformQualifier:gc.platformQualifier,cloudId:r.siteId,resourceOwner:gc.resourceOwner,resourceType:gc.resourceType,resourceId:`activation/${r.activationId}/${r.shortcutId}`,resourceIdSegmentValues:{activationId:r.activationId,shortcutId:r.shortcutId}},i=p.fromOpts(t,gc);return new e(i)}static parse(r){let t=p.fromString(r,gc);return new e(t)}getVariables(){return{siteId:this.siteId,activationId:this.activationId,shortcutId:this.shortcutId}}},yc={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"jira",resourceType:"project-type",resourceIdSlug:"{projectTypeId}",resourceIdSegmentFormats:{projectTypeId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},wc=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._projectTypeId=e.resourceIdSegmentValues.projectTypeId}get siteId(){return this._siteId}get projectTypeId(){return this._projectTypeId}static create(r){let t={qualifier:yc.qualifier,platformQualifier:yc.platformQualifier,cloudId:r.siteId,resourceOwner:yc.resourceOwner,resourceType:yc.resourceType,resourceId:`${r.projectTypeId}`,resourceIdSegmentValues:{projectTypeId:r.projectTypeId}},i=p.fromOpts(t,yc);return new e(i)}static parse(r){let t=p.fromString(r,yc);return new e(t)}getVariables(){return{siteId:this.siteId,projectTypeId:this.projectTypeId}}},Sc={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"jira",resourceType:"pull-request",resourceIdSlug:"activation/{activationId}/{pullRequestId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,pullRequestId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},_c=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._activationId=e.resourceIdSegmentValues.activationId,this._pullRequestId=e.resourceIdSegmentValues.pullRequestId}get siteId(){return this._siteId}get activationId(){return this._activationId}get pullRequestId(){return this._pullRequestId}static create(r){let t={qualifier:Sc.qualifier,platformQualifier:Sc.platformQualifier,cloudId:r.siteId,resourceOwner:Sc.resourceOwner,resourceType:Sc.resourceType,resourceId:`activation/${r.activationId}/${r.pullRequestId}`,resourceIdSegmentValues:{activationId:r.activationId,pullRequestId:r.pullRequestId}},i=p.fromOpts(t,Sc);return new e(i)}static parse(r){let t=p.fromString(r,Sc);return new e(t)}getVariables(){return{siteId:this.siteId,activationId:this.activationId,pullRequestId:this.pullRequestId}}},bc={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"jira",resourceType:"pull-request-history",resourceIdSlug:"activation/{activationId}/{pullRequestId}/{updateSequenceNumber}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,pullRequestId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/,updateSequenceNumber:/\d+/}},Tc=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._activationId=e.resourceIdSegmentValues.activationId,this._pullRequestId=e.resourceIdSegmentValues.pullRequestId,this._updateSequenceNumber=e.resourceIdSegmentValues.updateSequenceNumber}get siteId(){return this._siteId}get activationId(){return this._activationId}get pullRequestId(){return this._pullRequestId}get updateSequenceNumber(){return this._updateSequenceNumber}static create(r){let t={qualifier:bc.qualifier,platformQualifier:bc.platformQualifier,cloudId:r.siteId,resourceOwner:bc.resourceOwner,resourceType:bc.resourceType,resourceId:`activation/${r.activationId}/${r.pullRequestId}/${r.updateSequenceNumber}`,resourceIdSegmentValues:{activationId:r.activationId,pullRequestId:r.pullRequestId,updateSequenceNumber:r.updateSequenceNumber}},i=p.fromOpts(t,bc);return new e(i)}static parse(r){let t=p.fromString(r,bc);return new e(t)}getVariables(){return{siteId:this.siteId,activationId:this.activationId,pullRequestId:this.pullRequestId,updateSequenceNumber:this.updateSequenceNumber}}},Oc={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"jira",resourceType:"remote-link",resourceIdSlug:"activation/{activationId}/{remoteLinkId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,remoteLinkId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},kc=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._activationId=e.resourceIdSegmentValues.activationId,this._remoteLinkId=e.resourceIdSegmentValues.remoteLinkId}get siteId(){return this._siteId}get activationId(){return this._activationId}get remoteLinkId(){return this._remoteLinkId}static create(r){let t={qualifier:Oc.qualifier,platformQualifier:Oc.platformQualifier,cloudId:r.siteId,resourceOwner:Oc.resourceOwner,resourceType:Oc.resourceType,resourceId:`activation/${r.activationId}/${r.remoteLinkId}`,resourceIdSegmentValues:{activationId:r.activationId,remoteLinkId:r.remoteLinkId}},i=p.fromOpts(t,Oc);return new e(i)}static parse(r){let t=p.fromString(r,Oc);return new e(t)}getVariables(){return{siteId:this.siteId,activationId:this.activationId,remoteLinkId:this.remoteLinkId}}},Ac={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"jira",resourceType:"remote-link-history",resourceIdSlug:"activation/{activationId}/{remoteLinkId}/{updateSequenceNumber}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,remoteLinkId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/,updateSequenceNumber:/\d+/}},qc=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._activationId=e.resourceIdSegmentValues.activationId,this._remoteLinkId=e.resourceIdSegmentValues.remoteLinkId,this._updateSequenceNumber=e.resourceIdSegmentValues.updateSequenceNumber}get siteId(){return this._siteId}get activationId(){return this._activationId}get remoteLinkId(){return this._remoteLinkId}get updateSequenceNumber(){return this._updateSequenceNumber}static create(r){let t={qualifier:Ac.qualifier,platformQualifier:Ac.platformQualifier,cloudId:r.siteId,resourceOwner:Ac.resourceOwner,resourceType:Ac.resourceType,resourceId:`activation/${r.activationId}/${r.remoteLinkId}/${r.updateSequenceNumber}`,resourceIdSegmentValues:{activationId:r.activationId,remoteLinkId:r.remoteLinkId,updateSequenceNumber:r.updateSequenceNumber}},i=p.fromOpts(t,Ac);return new e(i)}static parse(r){let t=p.fromString(r,Ac);return new e(t)}getVariables(){return{siteId:this.siteId,activationId:this.activationId,remoteLinkId:this.remoteLinkId,updateSequenceNumber:this.updateSequenceNumber}}},Vc={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"jira",resourceType:"repository",resourceIdSlug:"activation/{activationId}/{repositoryId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,repositoryId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},Ec=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._activationId=e.resourceIdSegmentValues.activationId,this._repositoryId=e.resourceIdSegmentValues.repositoryId}get siteId(){return this._siteId}get activationId(){return this._activationId}get repositoryId(){return this._repositoryId}static create(r){let t={qualifier:Vc.qualifier,platformQualifier:Vc.platformQualifier,cloudId:r.siteId,resourceOwner:Vc.resourceOwner,resourceType:Vc.resourceType,resourceId:`activation/${r.activationId}/${r.repositoryId}`,resourceIdSegmentValues:{activationId:r.activationId,repositoryId:r.repositoryId}},i=p.fromOpts(t,Vc);return new e(i)}static parse(r){let t=p.fromString(r,Vc);return new e(t)}getVariables(){return{siteId:this.siteId,activationId:this.activationId,repositoryId:this.repositoryId}}},xc={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"jira",resourceType:"resolution",resourceIdSlug:"activation/{activationId}/{resolutionId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,resolutionId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},Rc=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._activationId=e.resourceIdSegmentValues.activationId,this._resolutionId=e.resourceIdSegmentValues.resolutionId}get siteId(){return this._siteId}get activationId(){return this._activationId}get resolutionId(){return this._resolutionId}static create(r){let t={qualifier:xc.qualifier,platformQualifier:xc.platformQualifier,cloudId:r.siteId,resourceOwner:xc.resourceOwner,resourceType:xc.resourceType,resourceId:`activation/${r.activationId}/${r.resolutionId}`,resourceIdSegmentValues:{activationId:r.activationId,resolutionId:r.resolutionId}},i=p.fromOpts(t,xc);return new e(i)}static parse(r){let t=p.fromString(r,xc);return new e(t)}getVariables(){return{siteId:this.siteId,activationId:this.activationId,resolutionId:this.resolutionId}}},$c={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"jira",resourceType:"resource-usage-metric",resourceIdSlug:"activation/{activationId}/{metricKey}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,metricKey:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},Qc=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._activationId=e.resourceIdSegmentValues.activationId,this._metricKey=e.resourceIdSegmentValues.metricKey}get siteId(){return this._siteId}get activationId(){return this._activationId}get metricKey(){return this._metricKey}static create(r){let t={qualifier:$c.qualifier,platformQualifier:$c.platformQualifier,cloudId:r.siteId,resourceOwner:$c.resourceOwner,resourceType:$c.resourceType,resourceId:`activation/${r.activationId}/${r.metricKey}`,resourceIdSegmentValues:{activationId:r.activationId,metricKey:r.metricKey}},i=p.fromOpts(t,$c);return new e(i)}static parse(r){let t=p.fromString(r,$c);return new e(t)}getVariables(){return{siteId:this.siteId,activationId:this.activationId,metricKey:this.metricKey}}},Nc={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"jira",resourceType:"resource-usage-recommendation",resourceIdSlug:"activation/{activationId}/{recommendationId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,recommendationId:/[0-9]+/}},Cc=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._activationId=e.resourceIdSegmentValues.activationId,this._recommendationId=e.resourceIdSegmentValues.recommendationId}get siteId(){return this._siteId}get activationId(){return this._activationId}get recommendationId(){return this._recommendationId}static create(r){let t={qualifier:Nc.qualifier,platformQualifier:Nc.platformQualifier,cloudId:r.siteId,resourceOwner:Nc.resourceOwner,resourceType:Nc.resourceType,resourceId:`activation/${r.activationId}/${r.recommendationId}`,resourceIdSegmentValues:{activationId:r.activationId,recommendationId:r.recommendationId}},i=p.fromOpts(t,Nc);return new e(i)}static parse(r){let t=p.fromString(r,Nc);return new e(t)}getVariables(){return{siteId:this.siteId,activationId:this.activationId,recommendationId:this.recommendationId}}},Fc={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]*$"),resourceOwner:"jira",resourceType:"role",resourceIdSlug:"{jiraRoleType}/{jiraRoleTypeId}",resourceIdSegmentFormats:{jiraRoleType:/(?:scope|product|projectrole-by-project|project-lead|principal-grant|project-role|application-access|jsm-customer-context-helpseeker-project-permission|jsm-customer-context-anonymous-project-permission|role-type-for-perms-pollinator-test)/,jiraRoleTypeId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},zc=class e extends T{constructor(e){super(e),this._optionalSiteId=e.cloudId||"",this._jiraRoleType=e.resourceIdSegmentValues.jiraRoleType,this._jiraRoleTypeId=e.resourceIdSegmentValues.jiraRoleTypeId}get optionalSiteId(){return this._optionalSiteId}get jiraRoleType(){return this._jiraRoleType}get jiraRoleTypeId(){return this._jiraRoleTypeId}static create(r){let t={qualifier:Fc.qualifier,platformQualifier:Fc.platformQualifier,cloudId:r.optionalSiteId,resourceOwner:Fc.resourceOwner,resourceType:Fc.resourceType,resourceId:`${r.jiraRoleType}/${r.jiraRoleTypeId}`,resourceIdSegmentValues:{jiraRoleType:r.jiraRoleType,jiraRoleTypeId:r.jiraRoleTypeId}},i=p.fromOpts(t,Fc);return new e(i)}static parse(r){let t=p.fromString(r,Fc);return new e(t)}getVariables(){return{optionalSiteId:this.optionalSiteId,jiraRoleType:this.jiraRoleType,jiraRoleTypeId:this.jiraRoleTypeId}}},Lc={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"jira",resourceType:"screen-tab",resourceIdSlug:"activation/{activationId}/{screenId}/{tabId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,screenId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/,tabId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},Mc=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._activationId=e.resourceIdSegmentValues.activationId,this._screenId=e.resourceIdSegmentValues.screenId,this._tabId=e.resourceIdSegmentValues.tabId}get siteId(){return this._siteId}get activationId(){return this._activationId}get screenId(){return this._screenId}get tabId(){return this._tabId}static create(r){let t={qualifier:Lc.qualifier,platformQualifier:Lc.platformQualifier,cloudId:r.siteId,resourceOwner:Lc.resourceOwner,resourceType:Lc.resourceType,resourceId:`activation/${r.activationId}/${r.screenId}/${r.tabId}`,resourceIdSegmentValues:{activationId:r.activationId,screenId:r.screenId,tabId:r.tabId}},i=p.fromOpts(t,Lc);return new e(i)}static parse(r){let t=p.fromString(r,Lc);return new e(t)}getVariables(){return{siteId:this.siteId,activationId:this.activationId,screenId:this.screenId,tabId:this.tabId}}},Pc={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"jira",resourceType:"security-container",resourceIdSlug:"activation/{activationId}/{providerAppId}/{securityContainerId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,providerAppId:/[a-zA-Z0-9-._]+/,securityContainerId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},jc=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._activationId=e.resourceIdSegmentValues.activationId,this._providerAppId=e.resourceIdSegmentValues.providerAppId,this._securityContainerId=e.resourceIdSegmentValues.securityContainerId}get siteId(){return this._siteId}get activationId(){return this._activationId}get providerAppId(){return this._providerAppId}get securityContainerId(){return this._securityContainerId}static create(r){let t={qualifier:Pc.qualifier,platformQualifier:Pc.platformQualifier,cloudId:r.siteId,resourceOwner:Pc.resourceOwner,resourceType:Pc.resourceType,resourceId:`activation/${r.activationId}/${r.providerAppId}/${r.securityContainerId}`,resourceIdSegmentValues:{activationId:r.activationId,providerAppId:r.providerAppId,securityContainerId:r.securityContainerId}},i=p.fromOpts(t,Pc);return new e(i)}static parse(r){let t=p.fromString(r,Pc);return new e(t)}getVariables(){return{siteId:this.siteId,activationId:this.activationId,providerAppId:this.providerAppId,securityContainerId:this.securityContainerId}}},Zc={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"jira",resourceType:"security-level",resourceIdSlug:"activation/{activationId}/{securityLevelId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,securityLevelId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},Uc=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._activationId=e.resourceIdSegmentValues.activationId,this._securityLevelId=e.resourceIdSegmentValues.securityLevelId}get siteId(){return this._siteId}get activationId(){return this._activationId}get securityLevelId(){return this._securityLevelId}static create(r){let t={qualifier:Zc.qualifier,platformQualifier:Zc.platformQualifier,cloudId:r.siteId,resourceOwner:Zc.resourceOwner,resourceType:Zc.resourceType,resourceId:`activation/${r.activationId}/${r.securityLevelId}`,resourceIdSegmentValues:{activationId:r.activationId,securityLevelId:r.securityLevelId}},i=p.fromOpts(t,Zc);return new e(i)}static parse(r){let t=p.fromString(r,Zc);return new e(t)}getVariables(){return{siteId:this.siteId,activationId:this.activationId,securityLevelId:this.securityLevelId}}},Dc={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"jira",resourceType:"security-workspace",resourceIdSlug:"activation/{activationId}/{providerAppId}/{securityWorkspaceId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,providerAppId:/[a-zA-Z0-9-._]+/,securityWorkspaceId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},Wc=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._activationId=e.resourceIdSegmentValues.activationId,this._providerAppId=e.resourceIdSegmentValues.providerAppId,this._securityWorkspaceId=e.resourceIdSegmentValues.securityWorkspaceId}get siteId(){return this._siteId}get activationId(){return this._activationId}get providerAppId(){return this._providerAppId}get securityWorkspaceId(){return this._securityWorkspaceId}static create(r){let t={qualifier:Dc.qualifier,platformQualifier:Dc.platformQualifier,cloudId:r.siteId,resourceOwner:Dc.resourceOwner,resourceType:Dc.resourceType,resourceId:`activation/${r.activationId}/${r.providerAppId}/${r.securityWorkspaceId}`,resourceIdSegmentValues:{activationId:r.activationId,providerAppId:r.providerAppId,securityWorkspaceId:r.securityWorkspaceId}},i=p.fromOpts(t,Dc);return new e(i)}static parse(r){let t=p.fromString(r,Dc);return new e(t)}getVariables(){return{siteId:this.siteId,activationId:this.activationId,providerAppId:this.providerAppId,securityWorkspaceId:this.securityWorkspaceId}}},Kc={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"jira",resourceType:"site",resourceIdSlug:"{siteId}",resourceIdSegmentFormats:{siteId:/[a-zA-Z0-9\-]+/}},Bc=class e extends T{constructor(e){super(e),this._siteId=e.resourceIdSegmentValues.siteId}get siteId(){return this._siteId}static create(r){let t={qualifier:Kc.qualifier,platformQualifier:Kc.platformQualifier,cloudId:void 0,resourceOwner:Kc.resourceOwner,resourceType:Kc.resourceType,resourceId:`${r.siteId}`,resourceIdSegmentValues:{siteId:r.siteId}},i=p.fromOpts(t,Kc);return new e(i)}static parse(r){let t=p.fromString(r,Kc);return new e(t)}getVariables(){return{siteId:this.siteId}}},Gc={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"jira",resourceType:"sprint",resourceIdSlug:"activation/{activationId}/{sprintId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,sprintId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},Jc=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._activationId=e.resourceIdSegmentValues.activationId,this._sprintId=e.resourceIdSegmentValues.sprintId}get siteId(){return this._siteId}get activationId(){return this._activationId}get sprintId(){return this._sprintId}static create(r){let t={qualifier:Gc.qualifier,platformQualifier:Gc.platformQualifier,cloudId:r.siteId,resourceOwner:Gc.resourceOwner,resourceType:Gc.resourceType,resourceId:`activation/${r.activationId}/${r.sprintId}`,resourceIdSegmentValues:{activationId:r.activationId,sprintId:r.sprintId}},i=p.fromOpts(t,Gc);return new e(i)}static parse(r){let t=p.fromString(r,Gc);return new e(t)}getVariables(){return{siteId:this.siteId,activationId:this.activationId,sprintId:this.sprintId}}},Hc={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"jira",resourceType:"user-broadcast-message",resourceIdSlug:"activation/{activationId}/{broadcastMessageId}/{userId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,broadcastMessageId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/,userId:/[a-zA-Z0-9_\-\:]{1,128}/}},Yc=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._activationId=e.resourceIdSegmentValues.activationId,this._broadcastMessageId=e.resourceIdSegmentValues.broadcastMessageId,this._userId=e.resourceIdSegmentValues.userId}get siteId(){return this._siteId}get activationId(){return this._activationId}get broadcastMessageId(){return this._broadcastMessageId}get userId(){return this._userId}static create(r){let t={qualifier:Hc.qualifier,platformQualifier:Hc.platformQualifier,cloudId:r.siteId,resourceOwner:Hc.resourceOwner,resourceType:Hc.resourceType,resourceId:`activation/${r.activationId}/${r.broadcastMessageId}/${r.userId}`,resourceIdSegmentValues:{activationId:r.activationId,broadcastMessageId:r.broadcastMessageId,userId:r.userId}},i=p.fromOpts(t,Hc);return new e(i)}static parse(r){let t=p.fromString(r,Hc);return new e(t)}getVariables(){return{siteId:this.siteId,activationId:this.activationId,broadcastMessageId:this.broadcastMessageId,userId:this.userId}}},Xc={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"jira",resourceType:"version",resourceIdSlug:"activation/{activationId}/{versionId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,versionId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},ed=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._activationId=e.resourceIdSegmentValues.activationId,this._versionId=e.resourceIdSegmentValues.versionId}get siteId(){return this._siteId}get activationId(){return this._activationId}get versionId(){return this._versionId}static create(r){let t={qualifier:Xc.qualifier,platformQualifier:Xc.platformQualifier,cloudId:r.siteId,resourceOwner:Xc.resourceOwner,resourceType:Xc.resourceType,resourceId:`activation/${r.activationId}/${r.versionId}`,resourceIdSegmentValues:{activationId:r.activationId,versionId:r.versionId}},i=p.fromOpts(t,Xc);return new e(i)}static parse(r){let t=p.fromString(r,Xc);return new e(t)}getVariables(){return{siteId:this.siteId,activationId:this.activationId,versionId:this.versionId}}},rd={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"jira",resourceType:"version-approver",resourceIdSlug:"activation/{activationId}/{versionId}/{approverId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,versionId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/,approverId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},td=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._activationId=e.resourceIdSegmentValues.activationId,this._versionId=e.resourceIdSegmentValues.versionId,this._approverId=e.resourceIdSegmentValues.approverId}get siteId(){return this._siteId}get activationId(){return this._activationId}get versionId(){return this._versionId}get approverId(){return this._approverId}static create(r){let t={qualifier:rd.qualifier,platformQualifier:rd.platformQualifier,cloudId:r.siteId,resourceOwner:rd.resourceOwner,resourceType:rd.resourceType,resourceId:`activation/${r.activationId}/${r.versionId}/${r.approverId}`,resourceIdSegmentValues:{activationId:r.activationId,versionId:r.versionId,approverId:r.approverId}},i=p.fromOpts(t,rd);return new e(i)}static parse(r){let t=p.fromString(r,rd);return new e(t)}getVariables(){return{siteId:this.siteId,activationId:this.activationId,versionId:this.versionId,approverId:this.approverId}}},id={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"jira",resourceType:"vulnerability",resourceIdSlug:"activation/{activationId}/{vulnerabilityId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,vulnerabilityId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},nd=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._activationId=e.resourceIdSegmentValues.activationId,this._vulnerabilityId=e.resourceIdSegmentValues.vulnerabilityId}get siteId(){return this._siteId}get activationId(){return this._activationId}get vulnerabilityId(){return this._vulnerabilityId}static create(r){let t={qualifier:id.qualifier,platformQualifier:id.platformQualifier,cloudId:r.siteId,resourceOwner:id.resourceOwner,resourceType:id.resourceType,resourceId:`activation/${r.activationId}/${r.vulnerabilityId}`,resourceIdSegmentValues:{activationId:r.activationId,vulnerabilityId:r.vulnerabilityId}},i=p.fromOpts(t,id);return new e(i)}static parse(r){let t=p.fromString(r,id);return new e(t)}getVariables(){return{siteId:this.siteId,activationId:this.activationId,vulnerabilityId:this.vulnerabilityId}}},od={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"jira",resourceType:"vulnerability-history",resourceIdSlug:"activation/{activationId}/{vulnerabilityId}/{updateSequenceNumber}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,vulnerabilityId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/,updateSequenceNumber:/\d+/}},ad=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._activationId=e.resourceIdSegmentValues.activationId,this._vulnerabilityId=e.resourceIdSegmentValues.vulnerabilityId,this._updateSequenceNumber=e.resourceIdSegmentValues.updateSequenceNumber}get siteId(){return this._siteId}get activationId(){return this._activationId}get vulnerabilityId(){return this._vulnerabilityId}get updateSequenceNumber(){return this._updateSequenceNumber}static create(r){let t={qualifier:od.qualifier,platformQualifier:od.platformQualifier,cloudId:r.siteId,resourceOwner:od.resourceOwner,resourceType:od.resourceType,resourceId:`activation/${r.activationId}/${r.vulnerabilityId}/${r.updateSequenceNumber}`,resourceIdSegmentValues:{activationId:r.activationId,vulnerabilityId:r.vulnerabilityId,updateSequenceNumber:r.updateSequenceNumber}},i=p.fromOpts(t,od);return new e(i)}static parse(r){let t=p.fromString(r,od);return new e(t)}getVariables(){return{siteId:this.siteId,activationId:this.activationId,vulnerabilityId:this.vulnerabilityId,updateSequenceNumber:this.updateSequenceNumber}}},sd={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"jira",resourceType:"workflow",resourceIdSlug:"activation/{activationId}/{workflowId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,workflowId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},ud=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._activationId=e.resourceIdSegmentValues.activationId,this._workflowId=e.resourceIdSegmentValues.workflowId}get siteId(){return this._siteId}get activationId(){return this._activationId}get workflowId(){return this._workflowId}static create(r){let t={qualifier:sd.qualifier,platformQualifier:sd.platformQualifier,cloudId:r.siteId,resourceOwner:sd.resourceOwner,resourceType:sd.resourceType,resourceId:`activation/${r.activationId}/${r.workflowId}`,resourceIdSegmentValues:{activationId:r.activationId,workflowId:r.workflowId}},i=p.fromOpts(t,sd);return new e(i)}static parse(r){let t=p.fromString(r,sd);return new e(t)}getVariables(){return{siteId:this.siteId,activationId:this.activationId,workflowId:this.workflowId}}},cd={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"jira",resourceType:"workflow-scheme",resourceIdSlug:"activation/{activationId}/{workflowSchemeId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,workflowSchemeId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},dd=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._activationId=e.resourceIdSegmentValues.activationId,this._workflowSchemeId=e.resourceIdSegmentValues.workflowSchemeId}get siteId(){return this._siteId}get activationId(){return this._activationId}get workflowSchemeId(){return this._workflowSchemeId}static create(r){let t={qualifier:cd.qualifier,platformQualifier:cd.platformQualifier,cloudId:r.siteId,resourceOwner:cd.resourceOwner,resourceType:cd.resourceType,resourceId:`activation/${r.activationId}/${r.workflowSchemeId}`,resourceIdSegmentValues:{activationId:r.activationId,workflowSchemeId:r.workflowSchemeId}},i=p.fromOpts(t,cd);return new e(i)}static parse(r){let t=p.fromString(r,cd);return new e(t)}getVariables(){return{siteId:this.siteId,activationId:this.activationId,workflowSchemeId:this.workflowSchemeId}}},ld={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"jira",resourceType:"worklog",resourceIdSlug:"{worklogId}",resourceIdSegmentFormats:{worklogId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},Id=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._worklogId=e.resourceIdSegmentValues.worklogId}get siteId(){return this._siteId}get worklogId(){return this._worklogId}static create(r){let t={qualifier:ld.qualifier,platformQualifier:ld.platformQualifier,cloudId:r.siteId,resourceOwner:ld.resourceOwner,resourceType:ld.resourceType,resourceId:`${r.worklogId}`,resourceIdSegmentValues:{worklogId:r.worklogId}},i=p.fromOpts(t,ld);return new e(i)}static parse(r){let t=p.fromString(r,ld);return new e(t)}getVariables(){return{siteId:this.siteId,worklogId:this.worklogId}}},pd={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"jira",resourceType:"workspace",resourceIdSlug:"{activationId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/}},fd=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._activationId=e.resourceIdSegmentValues.activationId}get siteId(){return this._siteId}get activationId(){return this._activationId}static create(r){let t={qualifier:pd.qualifier,platformQualifier:pd.platformQualifier,cloudId:r.siteId,resourceOwner:pd.resourceOwner,resourceType:pd.resourceType,resourceId:`${r.activationId}`,resourceIdSegmentValues:{activationId:r.activationId}},i=p.fromOpts(t,pd);return new e(i)}static parse(r){let t=p.fromString(r,pd);return new e(t)}getVariables(){return{siteId:this.siteId,activationId:this.activationId}}},md={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}$"),resourceOwner:"jira-align",resourceType:"epic",resourceIdSlug:"{epicId}",resourceIdSegmentFormats:{epicId:/[0-9]+/}},hd=class e extends T{constructor(e){super(e),this._instanceId=e.cloudId||"",this._epicId=e.resourceIdSegmentValues.epicId}get instanceId(){return this._instanceId}get epicId(){return this._epicId}static create(r){let t={qualifier:md.qualifier,platformQualifier:md.platformQualifier,cloudId:r.instanceId,resourceOwner:md.resourceOwner,resourceType:md.resourceType,resourceId:`${r.epicId}`,resourceIdSegmentValues:{epicId:r.epicId}},i=p.fromOpts(t,md);return new e(i)}static parse(r){let t=p.fromString(r,md);return new e(t)}getVariables(){return{instanceId:this.instanceId,epicId:this.epicId}}},gd={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"jira-align",resourceType:"instance",resourceIdSlug:"{instanceId}",resourceIdSegmentFormats:{instanceId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},vd=class e extends T{constructor(e){super(e),this._instanceId=e.resourceIdSegmentValues.instanceId}get instanceId(){return this._instanceId}static create(r){let t={qualifier:gd.qualifier,platformQualifier:gd.platformQualifier,cloudId:void 0,resourceOwner:gd.resourceOwner,resourceType:gd.resourceType,resourceId:`${r.instanceId}`,resourceIdSegmentValues:{instanceId:r.instanceId}},i=p.fromOpts(t,gd);return new e(i)}static parse(r){let t=p.fromString(r,gd);return new e(t)}getVariables(){return{instanceId:this.instanceId}}},yd={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"jira-core",resourceType:"role",resourceIdSlug:"{roleId}",resourceIdSegmentFormats:{roleId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},wd=class e extends T{constructor(e){super(e),this._roleId=e.resourceIdSegmentValues.roleId}get roleId(){return this._roleId}static create(r){let t={qualifier:yd.qualifier,platformQualifier:yd.platformQualifier,cloudId:void 0,resourceOwner:yd.resourceOwner,resourceType:yd.resourceType,resourceId:`${r.roleId}`,resourceIdSegmentValues:{roleId:r.roleId}},i=p.fromOpts(t,yd);return new e(i)}static parse(r){let t=p.fromString(r,yd);return new e(t)}getVariables(){return{roleId:this.roleId}}},Sd={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"jira-core",resourceType:"site",resourceIdSlug:"{siteId}",resourceIdSegmentFormats:{siteId:/[a-zA-Z0-9\-]+/}},_d=class e extends T{constructor(e){super(e),this._siteId=e.resourceIdSegmentValues.siteId}get siteId(){return this._siteId}static create(r){let t={qualifier:Sd.qualifier,platformQualifier:Sd.platformQualifier,cloudId:void 0,resourceOwner:Sd.resourceOwner,resourceType:Sd.resourceType,resourceId:`${r.siteId}`,resourceIdSegmentValues:{siteId:r.siteId}},i=p.fromOpts(t,Sd);return new e(i)}static parse(r){let t=p.fromString(r,Sd);return new e(t)}getVariables(){return{siteId:this.siteId}}},bd={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"jira-servicedesk",resourceType:"approval",resourceIdSlug:"activation/{activationId}/{approvalId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,approvalId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},Td=class e extends T{constructor(e){super(e),this._activationId=e.resourceIdSegmentValues.activationId,this._approvalId=e.resourceIdSegmentValues.approvalId}get activationId(){return this._activationId}get approvalId(){return this._approvalId}static create(r){let t={qualifier:bd.qualifier,platformQualifier:bd.platformQualifier,cloudId:void 0,resourceOwner:bd.resourceOwner,resourceType:bd.resourceType,resourceId:`activation/${r.activationId}/${r.approvalId}`,resourceIdSegmentValues:{activationId:r.activationId,approvalId:r.approvalId}},i=p.fromOpts(t,bd);return new e(i)}static parse(r){let t=p.fromString(r,bd);return new e(t)}getVariables(){return{activationId:this.activationId,approvalId:this.approvalId}}},Od={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"jira-servicedesk",resourceType:"calendar-event",resourceIdSlug:"activation/{activationId}/{calendarEventId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,calendarEventId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},kd=class e extends T{constructor(e){super(e),this._activationId=e.resourceIdSegmentValues.activationId,this._calendarEventId=e.resourceIdSegmentValues.calendarEventId}get activationId(){return this._activationId}get calendarEventId(){return this._calendarEventId}static create(r){let t={qualifier:Od.qualifier,platformQualifier:Od.platformQualifier,cloudId:void 0,resourceOwner:Od.resourceOwner,resourceType:Od.resourceType,resourceId:`activation/${r.activationId}/${r.calendarEventId}`,resourceIdSegmentValues:{activationId:r.activationId,calendarEventId:r.calendarEventId}},i=p.fromOpts(t,Od);return new e(i)}static parse(r){let t=p.fromString(r,Od);return new e(t)}getVariables(){return{activationId:this.activationId,calendarEventId:this.calendarEventId}}},Ad={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"jira-servicedesk",resourceType:"canned-response",resourceIdSlug:"activation/{activationId}/{cannedResponseId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,cannedResponseId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},qd=class e extends T{constructor(e){super(e),this._activationId=e.resourceIdSegmentValues.activationId,this._cannedResponseId=e.resourceIdSegmentValues.cannedResponseId}get activationId(){return this._activationId}get cannedResponseId(){return this._cannedResponseId}static create(r){let t={qualifier:Ad.qualifier,platformQualifier:Ad.platformQualifier,cloudId:void 0,resourceOwner:Ad.resourceOwner,resourceType:Ad.resourceType,resourceId:`activation/${r.activationId}/${r.cannedResponseId}`,resourceIdSegmentValues:{activationId:r.activationId,cannedResponseId:r.cannedResponseId}},i=p.fromOpts(t,Ad);return new e(i)}static parse(r){let t=p.fromString(r,Ad);return new e(t)}getVariables(){return{activationId:this.activationId,cannedResponseId:this.cannedResponseId}}},Vd={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"jira-servicedesk",resourceType:"organization",resourceIdSlug:"activation/{activationId}/{organizationId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,organizationId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},Ed=class e extends T{constructor(e){super(e),this._activationId=e.resourceIdSegmentValues.activationId,this._organizationId=e.resourceIdSegmentValues.organizationId}get activationId(){return this._activationId}get organizationId(){return this._organizationId}static create(r){let t={qualifier:Vd.qualifier,platformQualifier:Vd.platformQualifier,cloudId:void 0,resourceOwner:Vd.resourceOwner,resourceType:Vd.resourceType,resourceId:`activation/${r.activationId}/${r.organizationId}`,resourceIdSegmentValues:{activationId:r.activationId,organizationId:r.organizationId}},i=p.fromOpts(t,Vd);return new e(i)}static parse(r){let t=p.fromString(r,Vd);return new e(t)}getVariables(){return{activationId:this.activationId,organizationId:this.organizationId}}},xd={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"jira-servicedesk",resourceType:"queue",resourceIdSlug:"activation/{activationId}/{queueId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,queueId:/[0-9]+/}},Rd=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._activationId=e.resourceIdSegmentValues.activationId,this._queueId=e.resourceIdSegmentValues.queueId}get siteId(){return this._siteId}get activationId(){return this._activationId}get queueId(){return this._queueId}static create(r){let t={qualifier:xd.qualifier,platformQualifier:xd.platformQualifier,cloudId:r.siteId,resourceOwner:xd.resourceOwner,resourceType:xd.resourceType,resourceId:`activation/${r.activationId}/${r.queueId}`,resourceIdSegmentValues:{activationId:r.activationId,queueId:r.queueId}},i=p.fromOpts(t,xd);return new e(i)}static parse(r){let t=p.fromString(r,xd);return new e(t)}getVariables(){return{siteId:this.siteId,activationId:this.activationId,queueId:this.queueId}}},$d={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"jira-servicedesk",resourceType:"request-type",resourceIdSlug:"activation/{activationId}/{requestTypeId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,requestTypeId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},Qd=class e extends T{constructor(e){super(e),this._activationId=e.resourceIdSegmentValues.activationId,this._requestTypeId=e.resourceIdSegmentValues.requestTypeId}get activationId(){return this._activationId}get requestTypeId(){return this._requestTypeId}static create(r){let t={qualifier:$d.qualifier,platformQualifier:$d.platformQualifier,cloudId:void 0,resourceOwner:$d.resourceOwner,resourceType:$d.resourceType,resourceId:`activation/${r.activationId}/${r.requestTypeId}`,resourceIdSegmentValues:{activationId:r.activationId,requestTypeId:r.requestTypeId}},i=p.fromOpts(t,$d);return new e(i)}static parse(r){let t=p.fromString(r,$d);return new e(t)}getVariables(){return{activationId:this.activationId,requestTypeId:this.requestTypeId}}},Nd={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"jira-servicedesk",resourceType:"role",resourceIdSlug:"{roleId}",resourceIdSegmentFormats:{roleId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},Cd=class e extends T{constructor(e){super(e),this._roleId=e.resourceIdSegmentValues.roleId}get roleId(){return this._roleId}static create(r){let t={qualifier:Nd.qualifier,platformQualifier:Nd.platformQualifier,cloudId:void 0,resourceOwner:Nd.resourceOwner,resourceType:Nd.resourceType,resourceId:`${r.roleId}`,resourceIdSegmentValues:{roleId:r.roleId}},i=p.fromOpts(t,Nd);return new e(i)}static parse(r){let t=p.fromString(r,Nd);return new e(t)}getVariables(){return{roleId:this.roleId}}},Fd={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"jira-servicedesk",resourceType:"site",resourceIdSlug:"{siteId}",resourceIdSegmentFormats:{siteId:/[a-zA-Z0-9\-]+/}},zd=class e extends T{constructor(e){super(e),this._siteId=e.resourceIdSegmentValues.siteId}get siteId(){return this._siteId}static create(r){let t={qualifier:Fd.qualifier,platformQualifier:Fd.platformQualifier,cloudId:void 0,resourceOwner:Fd.resourceOwner,resourceType:Fd.resourceType,resourceId:`${r.siteId}`,resourceIdSegmentValues:{siteId:r.siteId}},i=p.fromOpts(t,Fd);return new e(i)}static parse(r){let t=p.fromString(r,Fd);return new e(t)}getVariables(){return{siteId:this.siteId}}},Ld={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"jira-servicedesk",resourceType:"sla",resourceIdSlug:"activation/{activationId}/{slaId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,slaId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},Md=class e extends T{constructor(e){super(e),this._activationId=e.resourceIdSegmentValues.activationId,this._slaId=e.resourceIdSegmentValues.slaId}get activationId(){return this._activationId}get slaId(){return this._slaId}static create(r){let t={qualifier:Ld.qualifier,platformQualifier:Ld.platformQualifier,cloudId:void 0,resourceOwner:Ld.resourceOwner,resourceType:Ld.resourceType,resourceId:`activation/${r.activationId}/${r.slaId}`,resourceIdSegmentValues:{activationId:r.activationId,slaId:r.slaId}},i=p.fromOpts(t,Ld);return new e(i)}static parse(r){let t=p.fromString(r,Ld);return new e(t)}getVariables(){return{activationId:this.activationId,slaId:this.slaId}}},Pd={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"jira-software",resourceType:"board",resourceIdSlug:"{boardId}",resourceIdSegmentFormats:{boardId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},jd=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._boardId=e.resourceIdSegmentValues.boardId}get siteId(){return this._siteId}get boardId(){return this._boardId}static create(r){let t={qualifier:Pd.qualifier,platformQualifier:Pd.platformQualifier,cloudId:r.siteId,resourceOwner:Pd.resourceOwner,resourceType:Pd.resourceType,resourceId:`${r.boardId}`,resourceIdSegmentValues:{boardId:r.boardId}},i=p.fromOpts(t,Pd);return new e(i)}static parse(r){let t=p.fromString(r,Pd);return new e(t)}getVariables(){return{siteId:this.siteId,boardId:this.boardId}}},Zd={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"jira-software",resourceType:"board-feature",resourceIdSlug:"activation/{activationId}/{boardId}/featureKey/{featureKey}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,boardId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/,featureKey:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},Ud=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._activationId=e.resourceIdSegmentValues.activationId,this._boardId=e.resourceIdSegmentValues.boardId,this._featureKey=e.resourceIdSegmentValues.featureKey}get siteId(){return this._siteId}get activationId(){return this._activationId}get boardId(){return this._boardId}get featureKey(){return this._featureKey}static create(r){let t={qualifier:Zd.qualifier,platformQualifier:Zd.platformQualifier,cloudId:r.siteId,resourceOwner:Zd.resourceOwner,resourceType:Zd.resourceType,resourceId:`activation/${r.activationId}/${r.boardId}/featureKey/${r.featureKey}`,resourceIdSegmentValues:{activationId:r.activationId,boardId:r.boardId,featureKey:r.featureKey}},i=p.fromOpts(t,Zd);return new e(i)}static parse(r){let t=p.fromString(r,Zd);return new e(t)}getVariables(){return{siteId:this.siteId,activationId:this.activationId,boardId:this.boardId,featureKey:this.featureKey}}},Dd={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"jira-software",resourceType:"board-issue-list",resourceIdSlug:"activation/{activationId}/{boardId}/{issueListId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,boardId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/,issueListId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},Wd=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._activationId=e.resourceIdSegmentValues.activationId,this._boardId=e.resourceIdSegmentValues.boardId,this._issueListId=e.resourceIdSegmentValues.issueListId}get siteId(){return this._siteId}get activationId(){return this._activationId}get boardId(){return this._boardId}get issueListId(){return this._issueListId}static create(r){let t={qualifier:Dd.qualifier,platformQualifier:Dd.platformQualifier,cloudId:r.siteId,resourceOwner:Dd.resourceOwner,resourceType:Dd.resourceType,resourceId:`activation/${r.activationId}/${r.boardId}/${r.issueListId}`,resourceIdSegmentValues:{activationId:r.activationId,boardId:r.boardId,issueListId:r.issueListId}},i=p.fromOpts(t,Dd);return new e(i)}static parse(r){let t=p.fromString(r,Dd);return new e(t)}getVariables(){return{siteId:this.siteId,activationId:this.activationId,boardId:this.boardId,issueListId:this.issueListId}}},Kd={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"jira-software",resourceType:"card",resourceIdSlug:"activation/{activationId}/{boardId}/{cardId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,boardId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/,cardId:/[0-9]+/}},Bd=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._activationId=e.resourceIdSegmentValues.activationId,this._boardId=e.resourceIdSegmentValues.boardId,this._cardId=e.resourceIdSegmentValues.cardId}get siteId(){return this._siteId}get activationId(){return this._activationId}get boardId(){return this._boardId}get cardId(){return this._cardId}static create(r){let t={qualifier:Kd.qualifier,platformQualifier:Kd.platformQualifier,cloudId:r.siteId,resourceOwner:Kd.resourceOwner,resourceType:Kd.resourceType,resourceId:`activation/${r.activationId}/${r.boardId}/${r.cardId}`,resourceIdSegmentValues:{activationId:r.activationId,boardId:r.boardId,cardId:r.cardId}},i=p.fromOpts(t,Kd);return new e(i)}static parse(r){let t=p.fromString(r,Kd);return new e(t)}getVariables(){return{siteId:this.siteId,activationId:this.activationId,boardId:this.boardId,cardId:this.cardId}}},Gd={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"jira-software",resourceType:"card-color",resourceIdSlug:"activation/{activationId}/{boardId}/{cardColorId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,boardId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/,cardColorId:/[0-9]+/}},Jd=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._activationId=e.resourceIdSegmentValues.activationId,this._boardId=e.resourceIdSegmentValues.boardId,this._cardColorId=e.resourceIdSegmentValues.cardColorId}get siteId(){return this._siteId}get activationId(){return this._activationId}get boardId(){return this._boardId}get cardColorId(){return this._cardColorId}static create(r){let t={qualifier:Gd.qualifier,platformQualifier:Gd.platformQualifier,cloudId:r.siteId,resourceOwner:Gd.resourceOwner,resourceType:Gd.resourceType,resourceId:`activation/${r.activationId}/${r.boardId}/${r.cardColorId}`,resourceIdSegmentValues:{activationId:r.activationId,boardId:r.boardId,cardColorId:r.cardColorId}},i=p.fromOpts(t,Gd);return new e(i)}static parse(r){let t=p.fromString(r,Gd);return new e(t)}getVariables(){return{siteId:this.siteId,activationId:this.activationId,boardId:this.boardId,cardColorId:this.cardColorId}}},Hd={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"jira-software",resourceType:"card-layout",resourceIdSlug:"activation/{activationId}/{boardId}/{cardLayoutId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,boardId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/,cardLayoutId:/[a-zA-Z0-9_]+/}},Yd=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._activationId=e.resourceIdSegmentValues.activationId,this._boardId=e.resourceIdSegmentValues.boardId,this._cardLayoutId=e.resourceIdSegmentValues.cardLayoutId}get siteId(){return this._siteId}get activationId(){return this._activationId}get boardId(){return this._boardId}get cardLayoutId(){return this._cardLayoutId}static create(r){let t={qualifier:Hd.qualifier,platformQualifier:Hd.platformQualifier,cloudId:r.siteId,resourceOwner:Hd.resourceOwner,resourceType:Hd.resourceType,resourceId:`activation/${r.activationId}/${r.boardId}/${r.cardLayoutId}`,resourceIdSegmentValues:{activationId:r.activationId,boardId:r.boardId,cardLayoutId:r.cardLayoutId}},i=p.fromOpts(t,Hd);return new e(i)}static parse(r){let t=p.fromString(r,Hd);return new e(t)}getVariables(){return{siteId:this.siteId,activationId:this.activationId,boardId:this.boardId,cardLayoutId:this.cardLayoutId}}},Xd={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"jira-software",resourceType:"card-parent",resourceIdSlug:"activation/{activationId}/{boardId}/{cardParentId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,boardId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/,cardParentId:/[0-9]+/}},el=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._activationId=e.resourceIdSegmentValues.activationId,this._boardId=e.resourceIdSegmentValues.boardId,this._cardParentId=e.resourceIdSegmentValues.cardParentId}get siteId(){return this._siteId}get activationId(){return this._activationId}get boardId(){return this._boardId}get cardParentId(){return this._cardParentId}static create(r){let t={qualifier:Xd.qualifier,platformQualifier:Xd.platformQualifier,cloudId:r.siteId,resourceOwner:Xd.resourceOwner,resourceType:Xd.resourceType,resourceId:`activation/${r.activationId}/${r.boardId}/${r.cardParentId}`,resourceIdSegmentValues:{activationId:r.activationId,boardId:r.boardId,cardParentId:r.cardParentId}},i=p.fromOpts(t,Xd);return new e(i)}static parse(r){let t=p.fromString(r,Xd);return new e(t)}getVariables(){return{siteId:this.siteId,activationId:this.activationId,boardId:this.boardId,cardParentId:this.cardParentId}}},rl={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"jira-software",resourceType:"column",resourceIdSlug:"activation/{activationId}/{boardId}/{columnId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,boardId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/,columnId:/[0-9]+/}},tl=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._activationId=e.resourceIdSegmentValues.activationId,this._boardId=e.resourceIdSegmentValues.boardId,this._columnId=e.resourceIdSegmentValues.columnId}get siteId(){return this._siteId}get activationId(){return this._activationId}get boardId(){return this._boardId}get columnId(){return this._columnId}static create(r){let t={qualifier:rl.qualifier,platformQualifier:rl.platformQualifier,cloudId:r.siteId,resourceOwner:rl.resourceOwner,resourceType:rl.resourceType,resourceId:`activation/${r.activationId}/${r.boardId}/${r.columnId}`,resourceIdSegmentValues:{activationId:r.activationId,boardId:r.boardId,columnId:r.columnId}},i=p.fromOpts(t,rl);return new e(i)}static parse(r){let t=p.fromString(r,rl);return new e(t)}getVariables(){return{siteId:this.siteId,activationId:this.activationId,boardId:this.boardId,columnId:this.columnId}}},il={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"jira-software",resourceType:"custom-filter",resourceIdSlug:"activation/{activationId}/{boardId}/{customFilterId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,boardId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/,customFilterId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},nl=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._activationId=e.resourceIdSegmentValues.activationId,this._boardId=e.resourceIdSegmentValues.boardId,this._customFilterId=e.resourceIdSegmentValues.customFilterId}get siteId(){return this._siteId}get activationId(){return this._activationId}get boardId(){return this._boardId}get customFilterId(){return this._customFilterId}static create(r){let t={qualifier:il.qualifier,platformQualifier:il.platformQualifier,cloudId:r.siteId,resourceOwner:il.resourceOwner,resourceType:il.resourceType,resourceId:`activation/${r.activationId}/${r.boardId}/${r.customFilterId}`,resourceIdSegmentValues:{activationId:r.activationId,boardId:r.boardId,customFilterId:r.customFilterId}},i=p.fromOpts(t,il);return new e(i)}static parse(r){let t=p.fromString(r,il);return new e(t)}getVariables(){return{siteId:this.siteId,activationId:this.activationId,boardId:this.boardId,customFilterId:this.customFilterId}}},ol={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"jira-software",resourceType:"role",resourceIdSlug:"{roleId}",resourceIdSegmentFormats:{roleId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},al=class e extends T{constructor(e){super(e),this._roleId=e.resourceIdSegmentValues.roleId}get roleId(){return this._roleId}static create(r){let t={qualifier:ol.qualifier,platformQualifier:ol.platformQualifier,cloudId:void 0,resourceOwner:ol.resourceOwner,resourceType:ol.resourceType,resourceId:`${r.roleId}`,resourceIdSegmentValues:{roleId:r.roleId}},i=p.fromOpts(t,ol);return new e(i)}static parse(r){let t=p.fromString(r,ol);return new e(t)}getVariables(){return{roleId:this.roleId}}},sl={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"jira-software",resourceType:"site",resourceIdSlug:"{siteId}",resourceIdSegmentFormats:{siteId:/[a-zA-Z0-9\-]+/}},ul=class e extends T{constructor(e){super(e),this._siteId=e.resourceIdSegmentValues.siteId}get siteId(){return this._siteId}static create(r){let t={qualifier:sl.qualifier,platformQualifier:sl.platformQualifier,cloudId:void 0,resourceOwner:sl.resourceOwner,resourceType:sl.resourceType,resourceId:`${r.siteId}`,resourceIdSegmentValues:{siteId:r.siteId}},i=p.fromOpts(t,sl);return new e(i)}static parse(r){let t=p.fromString(r,sl);return new e(t)}getVariables(){return{siteId:this.siteId}}},cl={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"jira-software",resourceType:"swimlane",resourceIdSlug:"activation/{activationId}/{boardId}/{swimlaneId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,boardId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/,swimlaneId:/[0-9]+/}},dl=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._activationId=e.resourceIdSegmentValues.activationId,this._boardId=e.resourceIdSegmentValues.boardId,this._swimlaneId=e.resourceIdSegmentValues.swimlaneId}get siteId(){return this._siteId}get activationId(){return this._activationId}get boardId(){return this._boardId}get swimlaneId(){return this._swimlaneId}static create(r){let t={qualifier:cl.qualifier,platformQualifier:cl.platformQualifier,cloudId:r.siteId,resourceOwner:cl.resourceOwner,resourceType:cl.resourceType,resourceId:`activation/${r.activationId}/${r.boardId}/${r.swimlaneId}`,resourceIdSegmentValues:{activationId:r.activationId,boardId:r.boardId,swimlaneId:r.swimlaneId}},i=p.fromOpts(t,cl);return new e(i)}static parse(r){let t=p.fromString(r,cl);return new e(t)}getVariables(){return{siteId:this.siteId,activationId:this.activationId,boardId:this.boardId,swimlaneId:this.swimlaneId}}},ll={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"jira-software",resourceType:"user-board-config",resourceIdSlug:"activation/{activationId}/{boardId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,boardId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},Il=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._activationId=e.resourceIdSegmentValues.activationId,this._boardId=e.resourceIdSegmentValues.boardId}get siteId(){return this._siteId}get activationId(){return this._activationId}get boardId(){return this._boardId}static create(r){let t={qualifier:ll.qualifier,platformQualifier:ll.platformQualifier,cloudId:r.siteId,resourceOwner:ll.resourceOwner,resourceType:ll.resourceType,resourceId:`activation/${r.activationId}/${r.boardId}`,resourceIdSegmentValues:{activationId:r.activationId,boardId:r.boardId}},i=p.fromOpts(t,ll);return new e(i)}static parse(r){let t=p.fromString(r,ll);return new e(t)}getVariables(){return{siteId:this.siteId,activationId:this.activationId,boardId:this.boardId}}},pl={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"jira-software",resourceType:"view-config",resourceIdSlug:"activation/{activationId}/{boardId}/{viewType}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,boardId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/,viewType:/(board|backlog|timeline)/}},fl=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._activationId=e.resourceIdSegmentValues.activationId,this._boardId=e.resourceIdSegmentValues.boardId,this._viewType=e.resourceIdSegmentValues.viewType}get siteId(){return this._siteId}get activationId(){return this._activationId}get boardId(){return this._boardId}get viewType(){return this._viewType}static create(r){let t={qualifier:pl.qualifier,platformQualifier:pl.platformQualifier,cloudId:r.siteId,resourceOwner:pl.resourceOwner,resourceType:pl.resourceType,resourceId:`activation/${r.activationId}/${r.boardId}/${r.viewType}`,resourceIdSegmentValues:{activationId:r.activationId,boardId:r.boardId,viewType:r.viewType}},i=p.fromOpts(t,pl);return new e(i)}static parse(r){let t=p.fromString(r,pl);return new e(t)}getVariables(){return{siteId:this.siteId,activationId:this.activationId,boardId:this.boardId,viewType:this.viewType}}},ml={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"linking-platform",resourceType:"datasource",resourceIdSlug:"{datasourceId}",resourceIdSegmentFormats:{datasourceId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},hl=class e extends T{constructor(e){super(e),this._datasourceId=e.resourceIdSegmentValues.datasourceId}get datasourceId(){return this._datasourceId}static create(r){let t={qualifier:ml.qualifier,platformQualifier:ml.platformQualifier,cloudId:void 0,resourceOwner:ml.resourceOwner,resourceType:ml.resourceType,resourceId:`${r.datasourceId}`,resourceIdSegmentValues:{datasourceId:r.datasourceId}},i=p.fromOpts(t,ml);return new e(i)}static parse(r){let t=p.fromString(r,ml);return new e(t)}getVariables(){return{datasourceId:this.datasourceId}}},gl={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"loom",resourceType:"site",resourceIdSlug:"{siteId}",resourceIdSegmentFormats:{siteId:/[a-zA-Z0-9\-]+/}},vl=class e extends T{constructor(e){super(e),this._siteId=e.resourceIdSegmentValues.siteId}get siteId(){return this._siteId}static create(r){let t={qualifier:gl.qualifier,platformQualifier:gl.platformQualifier,cloudId:void 0,resourceOwner:gl.resourceOwner,resourceType:gl.resourceType,resourceId:`${r.siteId}`,resourceIdSegmentValues:{siteId:r.siteId}},i=p.fromOpts(t,gl);return new e(i)}static parse(r){let t=p.fromString(r,gl);return new e(t)}getVariables(){return{siteId:this.siteId}}},yl={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"maker-space",resourceType:"group",resourceIdSlug:"{groupId}",resourceIdSegmentFormats:{groupId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},wl=class e extends T{constructor(e){super(e),this._groupId=e.resourceIdSegmentValues.groupId}get groupId(){return this._groupId}static create(r){let t={qualifier:yl.qualifier,platformQualifier:yl.platformQualifier,cloudId:void 0,resourceOwner:yl.resourceOwner,resourceType:yl.resourceType,resourceId:`${r.groupId}`,resourceIdSegmentValues:{groupId:r.groupId}},i=p.fromOpts(t,yl);return new e(i)}static parse(r){let t=p.fromString(r,yl);return new e(t)}getVariables(){return{groupId:this.groupId}}},Sl={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"mapi",resourceType:"role",resourceIdSlug:"scope/{roleTypeId}",resourceIdSegmentFormats:{roleTypeId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},_l=class e extends T{constructor(e){super(e),this._roleTypeId=e.resourceIdSegmentValues.roleTypeId}get roleTypeId(){return this._roleTypeId}static create(r){let t={qualifier:Sl.qualifier,platformQualifier:Sl.platformQualifier,cloudId:void 0,resourceOwner:Sl.resourceOwner,resourceType:Sl.resourceType,resourceId:`scope/${r.roleTypeId}`,resourceIdSegmentValues:{roleTypeId:r.roleTypeId}},i=p.fromOpts(t,Sl);return new e(i)}static parse(r){let t=p.fromString(r,Sl);return new e(t)}getVariables(){return{roleTypeId:this.roleTypeId}}},bl={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"marketing",resourceType:"customer-domain",resourceIdSlug:"{domainBase64}",resourceIdSegmentFormats:{domainBase64:/[a-zA-Z0-9=]+={0,1}/}},Tl=class e extends T{constructor(e){super(e),this._domainBase64=e.resourceIdSegmentValues.domainBase64}get domainBase64(){return this._domainBase64}static create(r){let t={qualifier:bl.qualifier,platformQualifier:bl.platformQualifier,cloudId:void 0,resourceOwner:bl.resourceOwner,resourceType:bl.resourceType,resourceId:`${r.domainBase64}`,resourceIdSegmentValues:{domainBase64:r.domainBase64}},i=p.fromOpts(t,bl);return new e(i)}static parse(r){let t=p.fromString(r,bl);return new e(t)}getVariables(){return{domainBase64:this.domainBase64}}},Ol={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"marketplace",resourceType:"team",resourceIdSlug:"{teamId}",resourceIdSegmentFormats:{teamId:/[a-zA-Z0-9.\-_~]+/}},kl=class e extends T{constructor(e){super(e),this._teamId=e.resourceIdSegmentValues.teamId}get teamId(){return this._teamId}static create(r){let t={qualifier:Ol.qualifier,platformQualifier:Ol.platformQualifier,cloudId:void 0,resourceOwner:Ol.resourceOwner,resourceType:Ol.resourceType,resourceId:`${r.teamId}`,resourceIdSegmentValues:{teamId:r.teamId}},i=p.fromOpts(t,Ol);return new e(i)}static parse(r){let t=p.fromString(r,Ol);return new e(t)}getVariables(){return{teamId:this.teamId}}},Al={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"measurement",resourceType:"email-uuid",resourceIdSlug:"{emailId}",resourceIdSegmentFormats:{emailId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},ql=class e extends T{constructor(e){super(e),this._emailId=e.resourceIdSegmentValues.emailId}get emailId(){return this._emailId}static create(r){let t={qualifier:Al.qualifier,platformQualifier:Al.platformQualifier,cloudId:void 0,resourceOwner:Al.resourceOwner,resourceType:Al.resourceType,resourceId:`${r.emailId}`,resourceIdSegmentValues:{emailId:r.emailId}},i=p.fromOpts(t,Al);return new e(i)}static parse(r){let t=p.fromString(r,Al);return new e(t)}getVariables(){return{emailId:this.emailId}}},Vl={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"measurement",resourceType:"site-user",resourceIdSlug:"{siteId}/{aaId}",resourceIdSegmentFormats:{siteId:/[a-zA-Z0-9\-]+/,aaId:/[a-zA-Z0-9_\-\:]{1,128}/}},El=class e extends T{constructor(e){super(e),this._siteId=e.resourceIdSegmentValues.siteId,this._aaId=e.resourceIdSegmentValues.aaId}get siteId(){return this._siteId}get aaId(){return this._aaId}static create(r){let t={qualifier:Vl.qualifier,platformQualifier:Vl.platformQualifier,cloudId:void 0,resourceOwner:Vl.resourceOwner,resourceType:Vl.resourceType,resourceId:`${r.siteId}/${r.aaId}`,resourceIdSegmentValues:{siteId:r.siteId,aaId:r.aaId}},i=p.fromOpts(t,Vl);return new e(i)}static parse(r){let t=p.fromString(r,Vl);return new e(t)}getVariables(){return{siteId:this.siteId,aaId:this.aaId}}},xl={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"measurement",resourceType:"user",resourceIdSlug:"ff-client-anonymous/{anonUserId}",resourceIdSegmentFormats:{anonUserId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},Rl=class e extends T{constructor(e){super(e),this._anonUserId=e.resourceIdSegmentValues.anonUserId}get anonUserId(){return this._anonUserId}static create(r){let t={qualifier:xl.qualifier,platformQualifier:xl.platformQualifier,cloudId:void 0,resourceOwner:xl.resourceOwner,resourceType:xl.resourceType,resourceId:`ff-client-anonymous/${r.anonUserId}`,resourceIdSegmentValues:{anonUserId:r.anonUserId}},i=p.fromOpts(t,xl);return new e(i)}static parse(r){let t=p.fromString(r,xl);return new e(t)}getVariables(){return{anonUserId:this.anonUserId}}},$l={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"media",resourceType:"file",resourceIdSlug:"{fileId}",resourceIdSegmentFormats:{fileId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},Ql=class e extends T{constructor(e){super(e),this._fileId=e.resourceIdSegmentValues.fileId}get fileId(){return this._fileId}static create(r){let t={qualifier:$l.qualifier,platformQualifier:$l.platformQualifier,cloudId:void 0,resourceOwner:$l.resourceOwner,resourceType:$l.resourceType,resourceId:`${r.fileId}`,resourceIdSegmentValues:{fileId:r.fileId}},i=p.fromOpts(t,$l);return new e(i)}static parse(r){let t=p.fromString(r,$l);return new e(t)}getVariables(){return{fileId:this.fileId}}},Nl={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"mercury",resourceType:"comment",resourceIdSlug:"workspace/{workspaceId}/{commentUuid}",resourceIdSegmentFormats:{workspaceId:/[a-zA-Z0-9\-]+/,commentUuid:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},Cl=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._workspaceId=e.resourceIdSegmentValues.workspaceId,this._commentUuid=e.resourceIdSegmentValues.commentUuid}get siteId(){return this._siteId}get workspaceId(){return this._workspaceId}get commentUuid(){return this._commentUuid}static create(r){let t={qualifier:Nl.qualifier,platformQualifier:Nl.platformQualifier,cloudId:r.siteId,resourceOwner:Nl.resourceOwner,resourceType:Nl.resourceType,resourceId:`workspace/${r.workspaceId}/${r.commentUuid}`,resourceIdSegmentValues:{workspaceId:r.workspaceId,commentUuid:r.commentUuid}},i=p.fromOpts(t,Nl);return new e(i)}static parse(r){let t=p.fromString(r,Nl);return new e(t)}getVariables(){return{siteId:this.siteId,workspaceId:this.workspaceId,commentUuid:this.commentUuid}}},Fl={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"mercury",resourceType:"focus-area",resourceIdSlug:"workspace/{workspaceId}/{focusAreaId}",resourceIdSegmentFormats:{workspaceId:/[a-zA-Z0-9\-]+/,focusAreaId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},zl=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._workspaceId=e.resourceIdSegmentValues.workspaceId,this._focusAreaId=e.resourceIdSegmentValues.focusAreaId}get siteId(){return this._siteId}get workspaceId(){return this._workspaceId}get focusAreaId(){return this._focusAreaId}static create(r){let t={qualifier:Fl.qualifier,platformQualifier:Fl.platformQualifier,cloudId:r.siteId,resourceOwner:Fl.resourceOwner,resourceType:Fl.resourceType,resourceId:`workspace/${r.workspaceId}/${r.focusAreaId}`,resourceIdSegmentValues:{workspaceId:r.workspaceId,focusAreaId:r.focusAreaId}},i=p.fromOpts(t,Fl);return new e(i)}static parse(r){let t=p.fromString(r,Fl);return new e(t)}getVariables(){return{siteId:this.siteId,workspaceId:this.workspaceId,focusAreaId:this.focusAreaId}}},Ll={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"mercury",resourceType:"focus-area-status-update",resourceIdSlug:"workspace/{workspaceId}/{focusAreaStatusUpdateId}",resourceIdSegmentFormats:{workspaceId:/[a-zA-Z0-9\-]+/,focusAreaStatusUpdateId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},Ml=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._workspaceId=e.resourceIdSegmentValues.workspaceId,this._focusAreaStatusUpdateId=e.resourceIdSegmentValues.focusAreaStatusUpdateId}get siteId(){return this._siteId}get workspaceId(){return this._workspaceId}get focusAreaStatusUpdateId(){return this._focusAreaStatusUpdateId}static create(r){let t={qualifier:Ll.qualifier,platformQualifier:Ll.platformQualifier,cloudId:r.siteId,resourceOwner:Ll.resourceOwner,resourceType:Ll.resourceType,resourceId:`workspace/${r.workspaceId}/${r.focusAreaStatusUpdateId}`,resourceIdSegmentValues:{workspaceId:r.workspaceId,focusAreaStatusUpdateId:r.focusAreaStatusUpdateId}},i=p.fromOpts(t,Ll);return new e(i)}static parse(r){let t=p.fromString(r,Ll);return new e(t)}getVariables(){return{siteId:this.siteId,workspaceId:this.workspaceId,focusAreaStatusUpdateId:this.focusAreaStatusUpdateId}}},Pl={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"mercury",resourceType:"program",resourceIdSlug:"workspace/{workspaceId}/{programId}",resourceIdSegmentFormats:{workspaceId:/[a-zA-Z0-9\-]+/,programId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},jl=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._workspaceId=e.resourceIdSegmentValues.workspaceId,this._programId=e.resourceIdSegmentValues.programId}get siteId(){return this._siteId}get workspaceId(){return this._workspaceId}get programId(){return this._programId}static create(r){let t={qualifier:Pl.qualifier,platformQualifier:Pl.platformQualifier,cloudId:r.siteId,resourceOwner:Pl.resourceOwner,resourceType:Pl.resourceType,resourceId:`workspace/${r.workspaceId}/${r.programId}`,resourceIdSegmentValues:{workspaceId:r.workspaceId,programId:r.programId}},i=p.fromOpts(t,Pl);return new e(i)}static parse(r){let t=p.fromString(r,Pl);return new e(t)}getVariables(){return{siteId:this.siteId,workspaceId:this.workspaceId,programId:this.programId}}},Zl={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"mercury",resourceType:"program-status-update",resourceIdSlug:"workspace/{workspaceId}/{programStatusUpdateId}",resourceIdSegmentFormats:{workspaceId:/[a-zA-Z0-9\-]+/,programStatusUpdateId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},Ul=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._workspaceId=e.resourceIdSegmentValues.workspaceId,this._programStatusUpdateId=e.resourceIdSegmentValues.programStatusUpdateId}get siteId(){return this._siteId}get workspaceId(){return this._workspaceId}get programStatusUpdateId(){return this._programStatusUpdateId}static create(r){let t={qualifier:Zl.qualifier,platformQualifier:Zl.platformQualifier,cloudId:r.siteId,resourceOwner:Zl.resourceOwner,resourceType:Zl.resourceType,resourceId:`workspace/${r.workspaceId}/${r.programStatusUpdateId}`,resourceIdSegmentValues:{workspaceId:r.workspaceId,programStatusUpdateId:r.programStatusUpdateId}},i=p.fromOpts(t,Zl);return new e(i)}static parse(r){let t=p.fromString(r,Zl);return new e(t)}getVariables(){return{siteId:this.siteId,workspaceId:this.workspaceId,programStatusUpdateId:this.programStatusUpdateId}}},Dl={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"mercury",resourceType:"role",resourceIdSlug:"product/{roleType}",resourceIdSegmentFormats:{roleType:/(?:member|admin)/}},Wl=class e extends T{constructor(e){super(e),this._roleType=e.resourceIdSegmentValues.roleType}get roleType(){return this._roleType}static create(r){let t={qualifier:Dl.qualifier,platformQualifier:Dl.platformQualifier,cloudId:void 0,resourceOwner:Dl.resourceOwner,resourceType:Dl.resourceType,resourceId:`product/${r.roleType}`,resourceIdSegmentValues:{roleType:r.roleType}},i=p.fromOpts(t,Dl);return new e(i)}static parse(r){let t=p.fromString(r,Dl);return new e(t)}getVariables(){return{roleType:this.roleType}}},Kl={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"mercury",resourceType:"site",resourceIdSlug:"{siteId}",resourceIdSegmentFormats:{siteId:/[a-zA-Z0-9\-]+/}},Bl=class e extends T{constructor(e){super(e),this._siteId=e.resourceIdSegmentValues.siteId}get siteId(){return this._siteId}static create(r){let t={qualifier:Kl.qualifier,platformQualifier:Kl.platformQualifier,cloudId:void 0,resourceOwner:Kl.resourceOwner,resourceType:Kl.resourceType,resourceId:`${r.siteId}`,resourceIdSegmentValues:{siteId:r.siteId}},i=p.fromOpts(t,Kl);return new e(i)}static parse(r){let t=p.fromString(r,Kl);return new e(t)}getVariables(){return{siteId:this.siteId}}},Gl={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"mercury",resourceType:"workspace",resourceIdSlug:"{workspaceId}",resourceIdSegmentFormats:{workspaceId:/[a-zA-Z0-9\-]+/}},Jl=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._workspaceId=e.resourceIdSegmentValues.workspaceId}get siteId(){return this._siteId}get workspaceId(){return this._workspaceId}static create(r){let t={qualifier:Gl.qualifier,platformQualifier:Gl.platformQualifier,cloudId:r.siteId,resourceOwner:Gl.resourceOwner,resourceType:Gl.resourceType,resourceId:`${r.workspaceId}`,resourceIdSegmentValues:{workspaceId:r.workspaceId}},i=p.fromOpts(t,Gl);return new e(i)}static parse(r){let t=p.fromString(r,Gl);return new e(t)}getVariables(){return{siteId:this.siteId,workspaceId:this.workspaceId}}},Hl={qualifier:"ari",platformQualifier:"third-party",cloudId:new RegExp("^$"),resourceOwner:"microsoft",resourceType:"channel",resourceIdSlug:"tenantId/{tenantId}/teamId/{teamId}/channelId/{channelId}",resourceIdSegmentFormats:{tenantId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/,teamId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/,channelId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},Yl=class e extends T{constructor(e){super(e),this._tenantId=e.resourceIdSegmentValues.tenantId,this._teamId=e.resourceIdSegmentValues.teamId,this._channelId=e.resourceIdSegmentValues.channelId}get tenantId(){return this._tenantId}get teamId(){return this._teamId}get channelId(){return this._channelId}static create(r){let t={qualifier:Hl.qualifier,platformQualifier:Hl.platformQualifier,cloudId:void 0,resourceOwner:Hl.resourceOwner,resourceType:Hl.resourceType,resourceId:`tenantId/${r.tenantId}/teamId/${r.teamId}/channelId/${r.channelId}`,resourceIdSegmentValues:{tenantId:r.tenantId,teamId:r.teamId,channelId:r.channelId}},i=p.fromOpts(t,Hl);return new e(i)}static parse(r){let t=p.fromString(r,Hl);return new e(t)}getVariables(){return{tenantId:this.tenantId,teamId:this.teamId,channelId:this.channelId}}},Xl={qualifier:"ari",platformQualifier:"third-party",cloudId:new RegExp("^$"),resourceOwner:"microsoft",resourceType:"sharepoint-document",resourceIdSlug:"driveId/{driveId}/fileId/{fileId}",resourceIdSegmentFormats:{driveId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/,fileId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},eI=class e extends T{constructor(e){super(e),this._driveId=e.resourceIdSegmentValues.driveId,this._fileId=e.resourceIdSegmentValues.fileId}get driveId(){return this._driveId}get fileId(){return this._fileId}static create(r){let t={qualifier:Xl.qualifier,platformQualifier:Xl.platformQualifier,cloudId:void 0,resourceOwner:Xl.resourceOwner,resourceType:Xl.resourceType,resourceId:`driveId/${r.driveId}/fileId/${r.fileId}`,resourceIdSegmentValues:{driveId:r.driveId,fileId:r.fileId}},i=p.fromOpts(t,Xl);return new e(i)}static parse(r){let t=p.fromString(r,Xl);return new e(t)}getVariables(){return{driveId:this.driveId,fileId:this.fileId}}},rI={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"oauth",resourceType:"client",resourceIdSlug:"{clientId}",resourceIdSegmentFormats:{clientId:/[0-9a-zA-Z-_]{5,50}/}},tI=class e extends T{constructor(e){super(e),this._clientId=e.resourceIdSegmentValues.clientId}get clientId(){return this._clientId}static create(r){let t={qualifier:rI.qualifier,platformQualifier:rI.platformQualifier,cloudId:void 0,resourceOwner:rI.resourceOwner,resourceType:rI.resourceType,resourceId:`${r.clientId}`,resourceIdSegmentValues:{clientId:r.clientId}},i=p.fromOpts(t,rI);return new e(i)}static parse(r){let t=p.fromString(r,rI);return new e(t)}getVariables(){return{clientId:this.clientId}}},iI={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"opsgenie",resourceType:"account-login",resourceIdSlug:"{workspaceId}/{accountLoginId}",resourceIdSegmentFormats:{workspaceId:/[a-zA-Z0-9\-]+/,accountLoginId:/[a-zA-Z0-9\-\:]+/}},nI=class e extends T{constructor(e){super(e),this._workspaceId=e.resourceIdSegmentValues.workspaceId,this._accountLoginId=e.resourceIdSegmentValues.accountLoginId}get workspaceId(){return this._workspaceId}get accountLoginId(){return this._accountLoginId}static create(r){let t={qualifier:iI.qualifier,platformQualifier:iI.platformQualifier,cloudId:void 0,resourceOwner:iI.resourceOwner,resourceType:iI.resourceType,resourceId:`${r.workspaceId}/${r.accountLoginId}`,resourceIdSegmentValues:{workspaceId:r.workspaceId,accountLoginId:r.accountLoginId}},i=p.fromOpts(t,iI);return new e(i)}static parse(r){let t=p.fromString(r,iI);return new e(t)}getVariables(){return{workspaceId:this.workspaceId,accountLoginId:this.accountLoginId}}},oI={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"opsgenie",resourceType:"account-settings",resourceIdSlug:"{workspaceId}/{accountSettingsId}",resourceIdSegmentFormats:{workspaceId:/[a-zA-Z0-9\-]+/,accountSettingsId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},aI=class e extends T{constructor(e){super(e),this._workspaceId=e.resourceIdSegmentValues.workspaceId,this._accountSettingsId=e.resourceIdSegmentValues.accountSettingsId}get workspaceId(){return this._workspaceId}get accountSettingsId(){return this._accountSettingsId}static create(r){let t={qualifier:oI.qualifier,platformQualifier:oI.platformQualifier,cloudId:void 0,resourceOwner:oI.resourceOwner,resourceType:oI.resourceType,resourceId:`${r.workspaceId}/${r.accountSettingsId}`,resourceIdSegmentValues:{workspaceId:r.workspaceId,accountSettingsId:r.accountSettingsId}},i=p.fromOpts(t,oI);return new e(i)}static parse(r){let t=p.fromString(r,oI);return new e(t)}getVariables(){return{workspaceId:this.workspaceId,accountSettingsId:this.accountSettingsId}}},sI={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"opsgenie",resourceType:"alert",resourceIdSlug:"{workspaceId}/{alertId}",resourceIdSegmentFormats:{workspaceId:/[a-zA-Z0-9\-]+/,alertId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},uI=class e extends T{constructor(e){super(e),this._workspaceId=e.resourceIdSegmentValues.workspaceId,this._alertId=e.resourceIdSegmentValues.alertId}get workspaceId(){return this._workspaceId}get alertId(){return this._alertId}static create(r){let t={qualifier:sI.qualifier,platformQualifier:sI.platformQualifier,cloudId:void 0,resourceOwner:sI.resourceOwner,resourceType:sI.resourceType,resourceId:`${r.workspaceId}/${r.alertId}`,resourceIdSegmentValues:{workspaceId:r.workspaceId,alertId:r.alertId}},i=p.fromOpts(t,sI);return new e(i)}static parse(r){let t=p.fromString(r,sI);return new e(t)}getVariables(){return{workspaceId:this.workspaceId,alertId:this.alertId}}},cI={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"opsgenie",resourceType:"alert-recipient-link",resourceIdSlug:"{workspaceId}/{alertId}/{recipientType}/{recipientId}",resourceIdSegmentFormats:{workspaceId:/[a-zA-Z0-9\-]+/,alertId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}(-[0-9]*)?/,recipientType:/(?:user|team)/,recipientId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},dI=class e extends T{constructor(e){super(e),this._workspaceId=e.resourceIdSegmentValues.workspaceId,this._alertId=e.resourceIdSegmentValues.alertId,this._recipientType=e.resourceIdSegmentValues.recipientType,this._recipientId=e.resourceIdSegmentValues.recipientId}get workspaceId(){return this._workspaceId}get alertId(){return this._alertId}get recipientType(){return this._recipientType}get recipientId(){return this._recipientId}static create(r){let t={qualifier:cI.qualifier,platformQualifier:cI.platformQualifier,cloudId:void 0,resourceOwner:cI.resourceOwner,resourceType:cI.resourceType,resourceId:`${r.workspaceId}/${r.alertId}/${r.recipientType}/${r.recipientId}`,resourceIdSegmentValues:{workspaceId:r.workspaceId,alertId:r.alertId,recipientType:r.recipientType,recipientId:r.recipientId}},i=p.fromOpts(t,cI);return new e(i)}static parse(r){let t=p.fromString(r,cI);return new e(t)}getVariables(){return{workspaceId:this.workspaceId,alertId:this.alertId,recipientType:this.recipientType,recipientId:this.recipientId}}},lI={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"opsgenie",resourceType:"api-request-metric",resourceIdSlug:"{workspaceId}/{apiRequestMetricId}",resourceIdSegmentFormats:{workspaceId:/[a-zA-Z0-9\-]+/,apiRequestMetricId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},II=class e extends T{constructor(e){super(e),this._workspaceId=e.resourceIdSegmentValues.workspaceId,this._apiRequestMetricId=e.resourceIdSegmentValues.apiRequestMetricId}get workspaceId(){return this._workspaceId}get apiRequestMetricId(){return this._apiRequestMetricId}static create(r){let t={qualifier:lI.qualifier,platformQualifier:lI.platformQualifier,cloudId:void 0,resourceOwner:lI.resourceOwner,resourceType:lI.resourceType,resourceId:`${r.workspaceId}/${r.apiRequestMetricId}`,resourceIdSegmentValues:{workspaceId:r.workspaceId,apiRequestMetricId:r.apiRequestMetricId}},i=p.fromOpts(t,lI);return new e(i)}static parse(r){let t=p.fromString(r,lI);return new e(t)}getVariables(){return{workspaceId:this.workspaceId,apiRequestMetricId:this.apiRequestMetricId}}},pI={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"opsgenie",resourceType:"call-routing",resourceIdSlug:"{workspaceId}/{callRoutingId}",resourceIdSegmentFormats:{workspaceId:/[a-zA-Z0-9\-]+/,callRoutingId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},fI=class e extends T{constructor(e){super(e),this._workspaceId=e.resourceIdSegmentValues.workspaceId,this._callRoutingId=e.resourceIdSegmentValues.callRoutingId}get workspaceId(){return this._workspaceId}get callRoutingId(){return this._callRoutingId}static create(r){let t={qualifier:pI.qualifier,platformQualifier:pI.platformQualifier,cloudId:void 0,resourceOwner:pI.resourceOwner,resourceType:pI.resourceType,resourceId:`${r.workspaceId}/${r.callRoutingId}`,resourceIdSegmentValues:{workspaceId:r.workspaceId,callRoutingId:r.callRoutingId}},i=p.fromOpts(t,pI);return new e(i)}static parse(r){let t=p.fromString(r,pI);return new e(t)}getVariables(){return{workspaceId:this.workspaceId,callRoutingId:this.callRoutingId}}},mI={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"opsgenie",resourceType:"custom-role",resourceIdSlug:"{workspaceId}/{opsgenieRoleType}/{customRoleId}",resourceIdSegmentFormats:{workspaceId:/[a-zA-Z0-9\-]+/,opsgenieRoleType:/(?:account|team|responder)/,customRoleId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},hI=class e extends T{constructor(e){super(e),this._workspaceId=e.resourceIdSegmentValues.workspaceId,this._opsgenieRoleType=e.resourceIdSegmentValues.opsgenieRoleType,this._customRoleId=e.resourceIdSegmentValues.customRoleId}get workspaceId(){return this._workspaceId}get opsgenieRoleType(){return this._opsgenieRoleType}get customRoleId(){return this._customRoleId}static create(r){let t={qualifier:mI.qualifier,platformQualifier:mI.platformQualifier,cloudId:void 0,resourceOwner:mI.resourceOwner,resourceType:mI.resourceType,resourceId:`${r.workspaceId}/${r.opsgenieRoleType}/${r.customRoleId}`,resourceIdSegmentValues:{workspaceId:r.workspaceId,opsgenieRoleType:r.opsgenieRoleType,customRoleId:r.customRoleId}},i=p.fromOpts(t,mI);return new e(i)}static parse(r){let t=p.fromString(r,mI);return new e(t)}getVariables(){return{workspaceId:this.workspaceId,opsgenieRoleType:this.opsgenieRoleType,customRoleId:this.customRoleId}}},gI={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"opsgenie",resourceType:"deployment",resourceIdSlug:"{workspaceId}/{deploymentId}",resourceIdSegmentFormats:{workspaceId:/[a-zA-Z0-9\-]+/,deploymentId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},vI=class e extends T{constructor(e){super(e),this._workspaceId=e.resourceIdSegmentValues.workspaceId,this._deploymentId=e.resourceIdSegmentValues.deploymentId}get workspaceId(){return this._workspaceId}get deploymentId(){return this._deploymentId}static create(r){let t={qualifier:gI.qualifier,platformQualifier:gI.platformQualifier,cloudId:void 0,resourceOwner:gI.resourceOwner,resourceType:gI.resourceType,resourceId:`${r.workspaceId}/${r.deploymentId}`,resourceIdSegmentValues:{workspaceId:r.workspaceId,deploymentId:r.deploymentId}},i=p.fromOpts(t,gI);return new e(i)}static parse(r){let t=p.fromString(r,gI);return new e(t)}getVariables(){return{workspaceId:this.workspaceId,deploymentId:this.deploymentId}}},yI={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"opsgenie",resourceType:"deployment-service-link",resourceIdSlug:"{workspaceId}/{deploymentId}/{serviceId}",resourceIdSegmentFormats:{workspaceId:/[a-zA-Z0-9\-]+/,deploymentId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/,serviceId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},wI=class e extends T{constructor(e){super(e),this._workspaceId=e.resourceIdSegmentValues.workspaceId,this._deploymentId=e.resourceIdSegmentValues.deploymentId,this._serviceId=e.resourceIdSegmentValues.serviceId}get workspaceId(){return this._workspaceId}get deploymentId(){return this._deploymentId}get serviceId(){return this._serviceId}static create(r){let t={qualifier:yI.qualifier,platformQualifier:yI.platformQualifier,cloudId:void 0,resourceOwner:yI.resourceOwner,resourceType:yI.resourceType,resourceId:`${r.workspaceId}/${r.deploymentId}/${r.serviceId}`,resourceIdSegmentValues:{workspaceId:r.workspaceId,deploymentId:r.deploymentId,serviceId:r.serviceId}},i=p.fromOpts(t,yI);return new e(i)}static parse(r){let t=p.fromString(r,yI);return new e(t)}getVariables(){return{workspaceId:this.workspaceId,deploymentId:this.deploymentId,serviceId:this.serviceId}}},SI={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"opsgenie",resourceType:"escalation",resourceIdSlug:"{workspaceId}/{escalationId}",resourceIdSegmentFormats:{workspaceId:/[a-zA-Z0-9\-]+/,escalationId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},_I=class e extends T{constructor(e){super(e),this._workspaceId=e.resourceIdSegmentValues.workspaceId,this._escalationId=e.resourceIdSegmentValues.escalationId}get workspaceId(){return this._workspaceId}get escalationId(){return this._escalationId}static create(r){let t={qualifier:SI.qualifier,platformQualifier:SI.platformQualifier,cloudId:void 0,resourceOwner:SI.resourceOwner,resourceType:SI.resourceType,resourceId:`${r.workspaceId}/${r.escalationId}`,resourceIdSegmentValues:{workspaceId:r.workspaceId,escalationId:r.escalationId}},i=p.fromOpts(t,SI);return new e(i)}static parse(r){let t=p.fromString(r,SI);return new e(t)}getVariables(){return{workspaceId:this.workspaceId,escalationId:this.escalationId}}},bI={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"opsgenie",resourceType:"event",resourceIdSlug:"{eventType}/workspace/{workspaceId}/event/{eventId}",resourceIdSegmentFormats:{eventType:/[a-zA-Z0-9\-]+/,workspaceId:/[a-zA-Z0-9\-]+/,eventId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},TI=class e extends T{constructor(e){super(e),this._eventType=e.resourceIdSegmentValues.eventType,this._workspaceId=e.resourceIdSegmentValues.workspaceId,this._eventId=e.resourceIdSegmentValues.eventId}get eventType(){return this._eventType}get workspaceId(){return this._workspaceId}get eventId(){return this._eventId}static create(r){let t={qualifier:bI.qualifier,platformQualifier:bI.platformQualifier,cloudId:void 0,resourceOwner:bI.resourceOwner,resourceType:bI.resourceType,resourceId:`${r.eventType}/workspace/${r.workspaceId}/event/${r.eventId}`,resourceIdSegmentValues:{eventType:r.eventType,workspaceId:r.workspaceId,eventId:r.eventId}},i=p.fromOpts(t,bI);return new e(i)}static parse(r){let t=p.fromString(r,bI);return new e(t)}getVariables(){return{eventType:this.eventType,workspaceId:this.workspaceId,eventId:this.eventId}}},OI={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"opsgenie",resourceType:"incident",resourceIdSlug:"{workspaceId}/{incidentId}",resourceIdSegmentFormats:{workspaceId:/[a-zA-Z0-9\-]+/,incidentId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},kI=class e extends T{constructor(e){super(e),this._workspaceId=e.resourceIdSegmentValues.workspaceId,this._incidentId=e.resourceIdSegmentValues.incidentId}get workspaceId(){return this._workspaceId}get incidentId(){return this._incidentId}static create(r){let t={qualifier:OI.qualifier,platformQualifier:OI.platformQualifier,cloudId:void 0,resourceOwner:OI.resourceOwner,resourceType:OI.resourceType,resourceId:`${r.workspaceId}/${r.incidentId}`,resourceIdSegmentValues:{workspaceId:r.workspaceId,incidentId:r.incidentId}},i=p.fromOpts(t,OI);return new e(i)}static parse(r){let t=p.fromString(r,OI);return new e(t)}getVariables(){return{workspaceId:this.workspaceId,incidentId:this.incidentId}}},AI={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"opsgenie",resourceType:"incident-alert-link",resourceIdSlug:"{workspaceId}/{incidentId}/{alertId}",resourceIdSegmentFormats:{workspaceId:/[a-zA-Z0-9\-]+/,incidentId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/,alertId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}(-[0-9]*)?/}},qI=class e extends T{constructor(e){super(e),this._workspaceId=e.resourceIdSegmentValues.workspaceId,this._incidentId=e.resourceIdSegmentValues.incidentId,this._alertId=e.resourceIdSegmentValues.alertId}get workspaceId(){return this._workspaceId}get incidentId(){return this._incidentId}get alertId(){return this._alertId}static create(r){let t={qualifier:AI.qualifier,platformQualifier:AI.platformQualifier,cloudId:void 0,resourceOwner:AI.resourceOwner,resourceType:AI.resourceType,resourceId:`${r.workspaceId}/${r.incidentId}/${r.alertId}`,resourceIdSegmentValues:{workspaceId:r.workspaceId,incidentId:r.incidentId,alertId:r.alertId}},i=p.fromOpts(t,AI);return new e(i)}static parse(r){let t=p.fromString(r,AI);return new e(t)}getVariables(){return{workspaceId:this.workspaceId,incidentId:this.incidentId,alertId:this.alertId}}},VI={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"opsgenie",resourceType:"incident-status-update",resourceIdSlug:"{workspaceId}/{incidentStatusUpdateId}",resourceIdSegmentFormats:{workspaceId:/[a-zA-Z0-9\-]+/,incidentStatusUpdateId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},EI=class e extends T{constructor(e){super(e),this._workspaceId=e.resourceIdSegmentValues.workspaceId,this._incidentStatusUpdateId=e.resourceIdSegmentValues.incidentStatusUpdateId}get workspaceId(){return this._workspaceId}get incidentStatusUpdateId(){return this._incidentStatusUpdateId}static create(r){let t={qualifier:VI.qualifier,platformQualifier:VI.platformQualifier,cloudId:void 0,resourceOwner:VI.resourceOwner,resourceType:VI.resourceType,resourceId:`${r.workspaceId}/${r.incidentStatusUpdateId}`,resourceIdSegmentValues:{workspaceId:r.workspaceId,incidentStatusUpdateId:r.incidentStatusUpdateId}},i=p.fromOpts(t,VI);return new e(i)}static parse(r){let t=p.fromString(r,VI);return new e(t)}getVariables(){return{workspaceId:this.workspaceId,incidentStatusUpdateId:this.incidentStatusUpdateId}}},xI={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"opsgenie",resourceType:"incoming-call-history",resourceIdSlug:"{workspaceId}/{incomingCallEventId}",resourceIdSegmentFormats:{workspaceId:/[a-zA-Z0-9\-]+/,incomingCallEventId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},RI=class e extends T{constructor(e){super(e),this._workspaceId=e.resourceIdSegmentValues.workspaceId,this._incomingCallEventId=e.resourceIdSegmentValues.incomingCallEventId}get workspaceId(){return this._workspaceId}get incomingCallEventId(){return this._incomingCallEventId}static create(r){let t={qualifier:xI.qualifier,platformQualifier:xI.platformQualifier,cloudId:void 0,resourceOwner:xI.resourceOwner,resourceType:xI.resourceType,resourceId:`${r.workspaceId}/${r.incomingCallEventId}`,resourceIdSegmentValues:{workspaceId:r.workspaceId,incomingCallEventId:r.incomingCallEventId}},i=p.fromOpts(t,xI);return new e(i)}static parse(r){let t=p.fromString(r,xI);return new e(t)}getVariables(){return{workspaceId:this.workspaceId,incomingCallEventId:this.incomingCallEventId}}},$I={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"opsgenie",resourceType:"integration",resourceIdSlug:"{workspaceId}/{integrationId}",resourceIdSegmentFormats:{workspaceId:/[a-zA-Z0-9\-]+/,integrationId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},QI=class e extends T{constructor(e){super(e),this._workspaceId=e.resourceIdSegmentValues.workspaceId,this._integrationId=e.resourceIdSegmentValues.integrationId}get workspaceId(){return this._workspaceId}get integrationId(){return this._integrationId}static create(r){let t={qualifier:$I.qualifier,platformQualifier:$I.platformQualifier,cloudId:void 0,resourceOwner:$I.resourceOwner,resourceType:$I.resourceType,resourceId:`${r.workspaceId}/${r.integrationId}`,resourceIdSegmentValues:{workspaceId:r.workspaceId,integrationId:r.integrationId}},i=p.fromOpts(t,$I);return new e(i)}static parse(r){let t=p.fromString(r,$I);return new e(t)}getVariables(){return{workspaceId:this.workspaceId,integrationId:this.integrationId}}},NI={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"opsgenie",resourceType:"notification",resourceIdSlug:"{workspaceId}/{notificationId}",resourceIdSegmentFormats:{workspaceId:/[a-zA-Z0-9\-]+/,notificationId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},CI=class e extends T{constructor(e){super(e),this._workspaceId=e.resourceIdSegmentValues.workspaceId,this._notificationId=e.resourceIdSegmentValues.notificationId}get workspaceId(){return this._workspaceId}get notificationId(){return this._notificationId}static create(r){let t={qualifier:NI.qualifier,platformQualifier:NI.platformQualifier,cloudId:void 0,resourceOwner:NI.resourceOwner,resourceType:NI.resourceType,resourceId:`${r.workspaceId}/${r.notificationId}`,resourceIdSegmentValues:{workspaceId:r.workspaceId,notificationId:r.notificationId}},i=p.fromOpts(t,NI);return new e(i)}static parse(r){let t=p.fromString(r,NI);return new e(t)}getVariables(){return{workspaceId:this.workspaceId,notificationId:this.notificationId}}},FI={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"opsgenie",resourceType:"role",resourceIdSlug:"{roleId}",resourceIdSegmentFormats:{roleId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},zI=class e extends T{constructor(e){super(e),this._roleId=e.resourceIdSegmentValues.roleId}get roleId(){return this._roleId}static create(r){let t={qualifier:FI.qualifier,platformQualifier:FI.platformQualifier,cloudId:void 0,resourceOwner:FI.resourceOwner,resourceType:FI.resourceType,resourceId:`${r.roleId}`,resourceIdSegmentValues:{roleId:r.roleId}},i=p.fromOpts(t,FI);return new e(i)}static parse(r){let t=p.fromString(r,FI);return new e(t)}getVariables(){return{roleId:this.roleId}}},LI={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"opsgenie",resourceType:"schedule",resourceIdSlug:"{workspaceId}/{scheduleId}",resourceIdSegmentFormats:{workspaceId:/[a-zA-Z0-9\-]+/,scheduleId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},MI=class e extends T{constructor(e){super(e),this._workspaceId=e.resourceIdSegmentValues.workspaceId,this._scheduleId=e.resourceIdSegmentValues.scheduleId}get workspaceId(){return this._workspaceId}get scheduleId(){return this._scheduleId}static create(r){let t={qualifier:LI.qualifier,platformQualifier:LI.platformQualifier,cloudId:void 0,resourceOwner:LI.resourceOwner,resourceType:LI.resourceType,resourceId:`${r.workspaceId}/${r.scheduleId}`,resourceIdSegmentValues:{workspaceId:r.workspaceId,scheduleId:r.scheduleId}},i=p.fromOpts(t,LI);return new e(i)}static parse(r){let t=p.fromString(r,LI);return new e(t)}getVariables(){return{workspaceId:this.workspaceId,scheduleId:this.scheduleId}}},PI={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"opsgenie",resourceType:"schedule-rotation",resourceIdSlug:"{workspaceId}/{scheduleRotationId}",resourceIdSegmentFormats:{workspaceId:/[a-zA-Z0-9\-]+/,scheduleRotationId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},jI=class e extends T{constructor(e){super(e),this._workspaceId=e.resourceIdSegmentValues.workspaceId,this._scheduleRotationId=e.resourceIdSegmentValues.scheduleRotationId}get workspaceId(){return this._workspaceId}get scheduleRotationId(){return this._scheduleRotationId}static create(r){let t={qualifier:PI.qualifier,platformQualifier:PI.platformQualifier,cloudId:void 0,resourceOwner:PI.resourceOwner,resourceType:PI.resourceType,resourceId:`${r.workspaceId}/${r.scheduleRotationId}`,resourceIdSegmentValues:{workspaceId:r.workspaceId,scheduleRotationId:r.scheduleRotationId}},i=p.fromOpts(t,PI);return new e(i)}static parse(r){let t=p.fromString(r,PI);return new e(t)}getVariables(){return{workspaceId:this.workspaceId,scheduleRotationId:this.scheduleRotationId}}},ZI={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"opsgenie",resourceType:"site",resourceIdSlug:"{siteId}",resourceIdSegmentFormats:{siteId:/[a-zA-Z0-9\-]+/}},UI=class e extends T{constructor(e){super(e),this._siteId=e.resourceIdSegmentValues.siteId}get siteId(){return this._siteId}static create(r){let t={qualifier:ZI.qualifier,platformQualifier:ZI.platformQualifier,cloudId:void 0,resourceOwner:ZI.resourceOwner,resourceType:ZI.resourceType,resourceId:`${r.siteId}`,resourceIdSegmentValues:{siteId:r.siteId}},i=p.fromOpts(t,ZI);return new e(i)}static parse(r){let t=p.fromString(r,ZI);return new e(t)}getVariables(){return{siteId:this.siteId}}},DI={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"opsgenie",resourceType:"team",resourceIdSlug:"{opsgenieTeamId}",resourceIdSegmentFormats:{opsgenieTeamId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},WI=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._opsgenieTeamId=e.resourceIdSegmentValues.opsgenieTeamId}get siteId(){return this._siteId}get opsgenieTeamId(){return this._opsgenieTeamId}static create(r){let t={qualifier:DI.qualifier,platformQualifier:DI.platformQualifier,cloudId:r.siteId,resourceOwner:DI.resourceOwner,resourceType:DI.resourceType,resourceId:`${r.opsgenieTeamId}`,resourceIdSegmentValues:{opsgenieTeamId:r.opsgenieTeamId}},i=p.fromOpts(t,DI);return new e(i)}static parse(r){let t=p.fromString(r,DI);return new e(t)}getVariables(){return{siteId:this.siteId,opsgenieTeamId:this.opsgenieTeamId}}},KI={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"opsgenie",resourceType:"timeline",resourceIdSlug:"{workspaceId}/{timelineEntryId}",resourceIdSegmentFormats:{workspaceId:/[a-zA-Z0-9\-]+/,timelineEntryId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},BI=class e extends T{constructor(e){super(e),this._workspaceId=e.resourceIdSegmentValues.workspaceId,this._timelineEntryId=e.resourceIdSegmentValues.timelineEntryId}get workspaceId(){return this._workspaceId}get timelineEntryId(){return this._timelineEntryId}static create(r){let t={qualifier:KI.qualifier,platformQualifier:KI.platformQualifier,cloudId:void 0,resourceOwner:KI.resourceOwner,resourceType:KI.resourceType,resourceId:`${r.workspaceId}/${r.timelineEntryId}`,resourceIdSegmentValues:{workspaceId:r.workspaceId,timelineEntryId:r.timelineEntryId}},i=p.fromOpts(t,KI);return new e(i)}static parse(r){let t=p.fromString(r,KI);return new e(t)}getVariables(){return{workspaceId:this.workspaceId,timelineEntryId:this.timelineEntryId}}},GI={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"opsgenie",resourceType:"workspace",resourceIdSlug:"{workspaceId}",resourceIdSegmentFormats:{workspaceId:/[a-zA-Z0-9\-]+/}},JI=class e extends T{constructor(e){super(e),this._workspaceId=e.resourceIdSegmentValues.workspaceId}get workspaceId(){return this._workspaceId}static create(r){let t={qualifier:GI.qualifier,platformQualifier:GI.platformQualifier,cloudId:void 0,resourceOwner:GI.resourceOwner,resourceType:GI.resourceType,resourceId:`${r.workspaceId}`,resourceIdSegmentValues:{workspaceId:r.workspaceId}},i=p.fromOpts(t,GI);return new e(i)}static parse(r){let t=p.fromString(r,GI);return new e(t)}getVariables(){return{workspaceId:this.workspaceId}}},HI={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"org-policy",resourceType:"policy",resourceIdSlug:"{policyId}",resourceIdSegmentFormats:{policyId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},YI=class e extends T{constructor(e){super(e),this._policyId=e.resourceIdSegmentValues.policyId}get policyId(){return this._policyId}static create(r){let t={qualifier:HI.qualifier,platformQualifier:HI.platformQualifier,cloudId:void 0,resourceOwner:HI.resourceOwner,resourceType:HI.resourceType,resourceId:`${r.policyId}`,resourceIdSegmentValues:{policyId:r.policyId}},i=p.fromOpts(t,HI);return new e(i)}static parse(r){let t=p.fromString(r,HI);return new e(t)}getVariables(){return{policyId:this.policyId}}},XI={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"papi",resourceType:"api",resourceIdSlug:"catalog/{uuid}",resourceIdSegmentFormats:{uuid:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},ep=class e extends T{constructor(e){super(e),this._uuid=e.resourceIdSegmentValues.uuid}get uuid(){return this._uuid}static create(r){let t={qualifier:XI.qualifier,platformQualifier:XI.platformQualifier,cloudId:void 0,resourceOwner:XI.resourceOwner,resourceType:XI.resourceType,resourceId:`catalog/${r.uuid}`,resourceIdSegmentValues:{uuid:r.uuid}},i=p.fromOpts(t,XI);return new e(i)}static parse(r){let t=p.fromString(r,XI);return new e(t)}getVariables(){return{uuid:this.uuid}}},rp={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"papi",resourceType:"role",resourceIdSlug:"partner",resourceIdSegmentFormats:{}},tp=class e extends T{constructor(e){super(e)}static create(r){let t={qualifier:rp.qualifier,platformQualifier:rp.platformQualifier,cloudId:void 0,resourceOwner:rp.resourceOwner,resourceType:rp.resourceType,resourceId:"partner",resourceIdSegmentValues:{}},i=p.fromOpts(t,rp);return new e(i)}static parse(r){let t=p.fromString(r,rp);return new e(t)}getVariables(){return{}}},ip={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"passionfruit",resourceType:"user",resourceIdSlug:"{userId}",resourceIdSegmentFormats:{userId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},np=class e extends T{constructor(e){super(e),this._userId=e.resourceIdSegmentValues.userId}get userId(){return this._userId}static create(r){let t={qualifier:ip.qualifier,platformQualifier:ip.platformQualifier,cloudId:void 0,resourceOwner:ip.resourceOwner,resourceType:ip.resourceType,resourceId:`${r.userId}`,resourceIdSegmentValues:{userId:r.userId}},i=p.fromOpts(t,ip);return new e(i)}static parse(r){let t=p.fromString(r,ip);return new e(t)}getVariables(){return{userId:this.userId}}},op={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"people-data",resourceType:"cost-center",resourceIdSlug:"{costCenterId}",resourceIdSegmentFormats:{costCenterId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},ap=class e extends T{constructor(e){super(e),this._costCenterId=e.resourceIdSegmentValues.costCenterId}get costCenterId(){return this._costCenterId}static create(r){let t={qualifier:op.qualifier,platformQualifier:op.platformQualifier,cloudId:void 0,resourceOwner:op.resourceOwner,resourceType:op.resourceType,resourceId:`${r.costCenterId}`,resourceIdSegmentValues:{costCenterId:r.costCenterId}},i=p.fromOpts(t,op);return new e(i)}static parse(r){let t=p.fromString(r,op);return new e(t)}getVariables(){return{costCenterId:this.costCenterId}}},sp={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"people-data",resourceType:"job-profile",resourceIdSlug:"{jobProfileId}",resourceIdSegmentFormats:{jobProfileId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},up=class e extends T{constructor(e){super(e),this._jobProfileId=e.resourceIdSegmentValues.jobProfileId}get jobProfileId(){return this._jobProfileId}static create(r){let t={qualifier:sp.qualifier,platformQualifier:sp.platformQualifier,cloudId:void 0,resourceOwner:sp.resourceOwner,resourceType:sp.resourceType,resourceId:`${r.jobProfileId}`,resourceIdSegmentValues:{jobProfileId:r.jobProfileId}},i=p.fromOpts(t,sp);return new e(i)}static parse(r){let t=p.fromString(r,sp);return new e(t)}getVariables(){return{jobProfileId:this.jobProfileId}}},cp={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"people-data",resourceType:"position",resourceIdSlug:"{positionId}",resourceIdSegmentFormats:{positionId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},dp=class e extends T{constructor(e){super(e),this._positionId=e.resourceIdSegmentValues.positionId}get positionId(){return this._positionId}static create(r){let t={qualifier:cp.qualifier,platformQualifier:cp.platformQualifier,cloudId:void 0,resourceOwner:cp.resourceOwner,resourceType:cp.resourceType,resourceId:`${r.positionId}`,resourceIdSegmentValues:{positionId:r.positionId}},i=p.fromOpts(t,cp);return new e(i)}static parse(r){let t=p.fromString(r,cp);return new e(t)}getVariables(){return{positionId:this.positionId}}},lp={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"people-data",resourceType:"supervisory-org",resourceIdSlug:"{supervisoryOrgId}",resourceIdSegmentFormats:{supervisoryOrgId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},Ip=class e extends T{constructor(e){super(e),this._supervisoryOrgId=e.resourceIdSegmentValues.supervisoryOrgId}get supervisoryOrgId(){return this._supervisoryOrgId}static create(r){let t={qualifier:lp.qualifier,platformQualifier:lp.platformQualifier,cloudId:void 0,resourceOwner:lp.resourceOwner,resourceType:lp.resourceType,resourceId:`${r.supervisoryOrgId}`,resourceIdSegmentValues:{supervisoryOrgId:r.supervisoryOrgId}},i=p.fromOpts(t,lp);return new e(i)}static parse(r){let t=p.fromString(r,lp);return new e(t)}getVariables(){return{supervisoryOrgId:this.supervisoryOrgId}}},pp={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"people-data",resourceType:"worker",resourceIdSlug:"{workerId}",resourceIdSegmentFormats:{workerId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},fp=class e extends T{constructor(e){super(e),this._workerId=e.resourceIdSegmentValues.workerId}get workerId(){return this._workerId}static create(r){let t={qualifier:pp.qualifier,platformQualifier:pp.platformQualifier,cloudId:void 0,resourceOwner:pp.resourceOwner,resourceType:pp.resourceType,resourceId:`${r.workerId}`,resourceIdSegmentValues:{workerId:r.workerId}},i=p.fromOpts(t,pp);return new e(i)}static parse(r){let t=p.fromString(r,pp);return new e(t)}getVariables(){return{workerId:this.workerId}}},mp={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"people-perftool",resourceType:"calibration",resourceIdSlug:"{id}",resourceIdSegmentFormats:{id:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},hp=class e extends T{constructor(e){super(e),this._id=e.resourceIdSegmentValues.id}get id(){return this._id}static create(r){let t={qualifier:mp.qualifier,platformQualifier:mp.platformQualifier,cloudId:void 0,resourceOwner:mp.resourceOwner,resourceType:mp.resourceType,resourceId:`${r.id}`,resourceIdSegmentValues:{id:r.id}},i=p.fromOpts(t,mp);return new e(i)}static parse(r){let t=p.fromString(r,mp);return new e(t)}getVariables(){return{id:this.id}}},gp={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"people-perftool",resourceType:"feedback",resourceIdSlug:"{id}",resourceIdSegmentFormats:{id:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},vp=class e extends T{constructor(e){super(e),this._id=e.resourceIdSegmentValues.id}get id(){return this._id}static create(r){let t={qualifier:gp.qualifier,platformQualifier:gp.platformQualifier,cloudId:void 0,resourceOwner:gp.resourceOwner,resourceType:gp.resourceType,resourceId:`${r.id}`,resourceIdSegmentValues:{id:r.id}},i=p.fromOpts(t,gp);return new e(i)}static parse(r){let t=p.fromString(r,gp);return new e(t)}getVariables(){return{id:this.id}}},yp={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"people-perftool",resourceType:"performance",resourceIdSlug:"{id}",resourceIdSegmentFormats:{id:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},wp=class e extends T{constructor(e){super(e),this._id=e.resourceIdSegmentValues.id}get id(){return this._id}static create(r){let t={qualifier:yp.qualifier,platformQualifier:yp.platformQualifier,cloudId:void 0,resourceOwner:yp.resourceOwner,resourceType:yp.resourceType,resourceId:`${r.id}`,resourceIdSegmentValues:{id:r.id}},i=p.fromOpts(t,yp);return new e(i)}static parse(r){let t=p.fromString(r,yp);return new e(t)}getVariables(){return{id:this.id}}},Sp={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"platform",resourceType:"classification-tag",resourceIdSlug:"{tagId}",resourceIdSegmentFormats:{tagId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},_p=class e extends T{constructor(e){super(e),this._tagId=e.resourceIdSegmentValues.tagId}get tagId(){return this._tagId}static create(r){let t={qualifier:Sp.qualifier,platformQualifier:Sp.platformQualifier,cloudId:void 0,resourceOwner:Sp.resourceOwner,resourceType:Sp.resourceType,resourceId:`${r.tagId}`,resourceIdSegmentValues:{tagId:r.tagId}},i=p.fromOpts(t,Sp);return new e(i)}static parse(r){let t=p.fromString(r,Sp);return new e(t)}getVariables(){return{tagId:this.tagId}}},bp={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"platform",resourceType:"integration",resourceIdSlug:"{integrationKey}",resourceIdSegmentFormats:{integrationKey:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},Tp=class e extends T{constructor(e){super(e),this._integrationKey=e.resourceIdSegmentValues.integrationKey}get integrationKey(){return this._integrationKey}static create(r){let t={qualifier:bp.qualifier,platformQualifier:bp.platformQualifier,cloudId:void 0,resourceOwner:bp.resourceOwner,resourceType:bp.resourceType,resourceId:`${r.integrationKey}`,resourceIdSegmentValues:{integrationKey:r.integrationKey}},i=p.fromOpts(t,bp);return new e(i)}static parse(r){let t=p.fromString(r,bp);return new e(t)}getVariables(){return{integrationKey:this.integrationKey}}},Op={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"platform",resourceType:"lifecycle-resource",resourceIdSlug:"{lifecycleResourceId}",resourceIdSegmentFormats:{lifecycleResourceId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},kp=class e extends T{constructor(e){super(e),this._lifecycleResourceId=e.resourceIdSegmentValues.lifecycleResourceId}get lifecycleResourceId(){return this._lifecycleResourceId}static create(r){let t={qualifier:Op.qualifier,platformQualifier:Op.platformQualifier,cloudId:void 0,resourceOwner:Op.resourceOwner,resourceType:Op.resourceType,resourceId:`${r.lifecycleResourceId}`,resourceIdSegmentValues:{lifecycleResourceId:r.lifecycleResourceId}},i=p.fromOpts(t,Op);return new e(i)}static parse(r){let t=p.fromString(r,Op);return new e(t)}getVariables(){return{lifecycleResourceId:this.lifecycleResourceId}}},Ap={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"platform",resourceType:"lifecycle-resource-package",resourceIdSlug:"{lifecycleResourcePackageId}",resourceIdSegmentFormats:{lifecycleResourcePackageId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},qp=class e extends T{constructor(e){super(e),this._lifecycleResourcePackageId=e.resourceIdSegmentValues.lifecycleResourcePackageId}get lifecycleResourcePackageId(){return this._lifecycleResourcePackageId}static create(r){let t={qualifier:Ap.qualifier,platformQualifier:Ap.platformQualifier,cloudId:void 0,resourceOwner:Ap.resourceOwner,resourceType:Ap.resourceType,resourceId:`${r.lifecycleResourcePackageId}`,resourceIdSegmentValues:{lifecycleResourcePackageId:r.lifecycleResourcePackageId}},i=p.fromOpts(t,Ap);return new e(i)}static parse(r){let t=p.fromString(r,Ap);return new e(t)}getVariables(){return{lifecycleResourcePackageId:this.lifecycleResourcePackageId}}},Vp={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"platform",resourceType:"lifecycle-resource-package-type",resourceIdSlug:"{resourcePackageTypeId}",resourceIdSegmentFormats:{resourcePackageTypeId:/[a-zA-Z.\-]+/}},Ep=class e extends T{constructor(e){super(e),this._resourcePackageTypeId=e.resourceIdSegmentValues.resourcePackageTypeId}get resourcePackageTypeId(){return this._resourcePackageTypeId}static create(r){let t={qualifier:Vp.qualifier,platformQualifier:Vp.platformQualifier,cloudId:void 0,resourceOwner:Vp.resourceOwner,resourceType:Vp.resourceType,resourceId:`${r.resourcePackageTypeId}`,resourceIdSegmentValues:{resourcePackageTypeId:r.resourcePackageTypeId}},i=p.fromOpts(t,Vp);return new e(i)}static parse(r){let t=p.fromString(r,Vp);return new e(t)}getVariables(){return{resourcePackageTypeId:this.resourcePackageTypeId}}},xp={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"platform",resourceType:"org",resourceIdSlug:"{orgId}",resourceIdSegmentFormats:{orgId:/[a-zA-Z0-9\-]+/}},Rp=class e extends T{constructor(e){super(e),this._orgId=e.resourceIdSegmentValues.orgId}get orgId(){return this._orgId}static create(r){let t={qualifier:xp.qualifier,platformQualifier:xp.platformQualifier,cloudId:void 0,resourceOwner:xp.resourceOwner,resourceType:xp.resourceType,resourceId:`${r.orgId}`,resourceIdSegmentValues:{orgId:r.orgId}},i=p.fromOpts(t,xp);return new e(i)}static parse(r){let t=p.fromString(r,xp);return new e(t)}getVariables(){return{orgId:this.orgId}}},$p={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"platform",resourceType:"org-user",resourceIdSlug:"{orgId}/{userId}",resourceIdSegmentFormats:{orgId:/[a-zA-Z0-9\-]+/,userId:/[a-zA-Z0-9_\-\:]{1,128}/}},Qp=class e extends T{constructor(e){super(e),this._orgId=e.resourceIdSegmentValues.orgId,this._userId=e.resourceIdSegmentValues.userId}get orgId(){return this._orgId}get userId(){return this._userId}static create(r){let t={qualifier:$p.qualifier,platformQualifier:$p.platformQualifier,cloudId:void 0,resourceOwner:$p.resourceOwner,resourceType:$p.resourceType,resourceId:`${r.orgId}/${r.userId}`,resourceIdSegmentValues:{orgId:r.orgId,userId:r.userId}},i=p.fromOpts(t,$p);return new e(i)}static parse(r){let t=p.fromString(r,$p);return new e(t)}getVariables(){return{orgId:this.orgId,userId:this.userId}}},Np={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"platform",resourceType:"secure-tunnel",resourceIdSlug:"{secureTunnelId}",resourceIdSegmentFormats:{secureTunnelId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},Cp=class e extends T{constructor(e){super(e),this._secureTunnelId=e.resourceIdSegmentValues.secureTunnelId}get secureTunnelId(){return this._secureTunnelId}static create(r){let t={qualifier:Np.qualifier,platformQualifier:Np.platformQualifier,cloudId:void 0,resourceOwner:Np.resourceOwner,resourceType:Np.resourceType,resourceId:`${r.secureTunnelId}`,resourceIdSegmentValues:{secureTunnelId:r.secureTunnelId}},i=p.fromOpts(t,Np);return new e(i)}static parse(r){let t=p.fromString(r,Np);return new e(t)}getVariables(){return{secureTunnelId:this.secureTunnelId}}},Fp={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"platform",resourceType:"site",resourceIdSlug:"{siteId}",resourceIdSegmentFormats:{siteId:/[a-zA-Z0-9\-]+/}},zp=class e extends T{constructor(e){super(e),this._siteId=e.resourceIdSegmentValues.siteId}get siteId(){return this._siteId}static create(r){let t={qualifier:Fp.qualifier,platformQualifier:Fp.platformQualifier,cloudId:void 0,resourceOwner:Fp.resourceOwner,resourceType:Fp.resourceType,resourceId:`${r.siteId}`,resourceIdSegmentValues:{siteId:r.siteId}},i=p.fromOpts(t,Fp);return new e(i)}static parse(r){let t=p.fromString(r,Fp);return new e(t)}getVariables(){return{siteId:this.siteId}}},Lp={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"platform-services",resourceType:"streamhub-schema",resourceIdSlug:"{streamhubSchemaId}",resourceIdSegmentFormats:{streamhubSchemaId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},Mp=class e extends T{constructor(e){super(e),this._streamhubSchemaId=e.resourceIdSegmentValues.streamhubSchemaId}get streamhubSchemaId(){return this._streamhubSchemaId}static create(r){let t={qualifier:Lp.qualifier,platformQualifier:Lp.platformQualifier,cloudId:void 0,resourceOwner:Lp.resourceOwner,resourceType:Lp.resourceType,resourceId:`${r.streamhubSchemaId}`,resourceIdSegmentValues:{streamhubSchemaId:r.streamhubSchemaId}},i=p.fromOpts(t,Lp);return new e(i)}static parse(r){let t=p.fromString(r,Lp);return new e(t)}getVariables(){return{streamhubSchemaId:this.streamhubSchemaId}}},Pp={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"pollinator",resourceType:"check",resourceIdSlug:"{checkId}",resourceIdSegmentFormats:{checkId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},jp=class e extends T{constructor(e){super(e),this._checkId=e.resourceIdSegmentValues.checkId}get checkId(){return this._checkId}static create(r){let t={qualifier:Pp.qualifier,platformQualifier:Pp.platformQualifier,cloudId:void 0,resourceOwner:Pp.resourceOwner,resourceType:Pp.resourceType,resourceId:`${r.checkId}`,resourceIdSegmentValues:{checkId:r.checkId}},i=p.fromOpts(t,Pp);return new e(i)}static parse(r){let t=p.fromString(r,Pp);return new e(t)}getVariables(){return{checkId:this.checkId}}},Zp={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"post-office",resourceType:"message-instance",resourceIdSlug:"{messageTemplateId}/{messageInstanceId}",resourceIdSegmentFormats:{messageTemplateId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/,messageInstanceId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},Up=class e extends T{constructor(e){super(e),this._messageTemplateId=e.resourceIdSegmentValues.messageTemplateId,this._messageInstanceId=e.resourceIdSegmentValues.messageInstanceId}get messageTemplateId(){return this._messageTemplateId}get messageInstanceId(){return this._messageInstanceId}static create(r){let t={qualifier:Zp.qualifier,platformQualifier:Zp.platformQualifier,cloudId:void 0,resourceOwner:Zp.resourceOwner,resourceType:Zp.resourceType,resourceId:`${r.messageTemplateId}/${r.messageInstanceId}`,resourceIdSegmentValues:{messageTemplateId:r.messageTemplateId,messageInstanceId:r.messageInstanceId}},i=p.fromOpts(t,Zp);return new e(i)}static parse(r){let t=p.fromString(r,Zp);return new e(t)}getVariables(){return{messageTemplateId:this.messageTemplateId,messageInstanceId:this.messageInstanceId}}},Dp={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"post-office",resourceType:"message-template",resourceIdSlug:"{messageTemplateId}",resourceIdSegmentFormats:{messageTemplateId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},Wp=class e extends T{constructor(e){super(e),this._messageTemplateId=e.resourceIdSegmentValues.messageTemplateId}get messageTemplateId(){return this._messageTemplateId}static create(r){let t={qualifier:Dp.qualifier,platformQualifier:Dp.platformQualifier,cloudId:void 0,resourceOwner:Dp.resourceOwner,resourceType:Dp.resourceType,resourceId:`${r.messageTemplateId}`,resourceIdSegmentValues:{messageTemplateId:r.messageTemplateId}},i=p.fromOpts(t,Dp);return new e(i)}static parse(r){let t=p.fromString(r,Dp);return new e(t)}getVariables(){return{messageTemplateId:this.messageTemplateId}}},Kp={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"rovo",resourceType:"site",resourceIdSlug:"{siteId}",resourceIdSegmentFormats:{siteId:/[a-zA-Z0-9\-]+/}},Bp=class e extends T{constructor(e){super(e),this._siteId=e.resourceIdSegmentValues.siteId}get siteId(){return this._siteId}static create(r){let t={qualifier:Kp.qualifier,platformQualifier:Kp.platformQualifier,cloudId:void 0,resourceOwner:Kp.resourceOwner,resourceType:Kp.resourceType,resourceId:`${r.siteId}`,resourceIdSegmentValues:{siteId:r.siteId}},i=p.fromOpts(t,Kp);return new e(i)}static parse(r){let t=p.fromString(r,Kp);return new e(t)}getVariables(){return{siteId:this.siteId}}},Gp={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"runtime-auth-client",resourceType:"role",resourceIdSlug:"product/{roleType}",resourceIdSegmentFormats:{roleType:/(?:member|admin)/}},Jp=class e extends T{constructor(e){super(e),this._roleType=e.resourceIdSegmentValues.roleType}get roleType(){return this._roleType}static create(r){let t={qualifier:Gp.qualifier,platformQualifier:Gp.platformQualifier,cloudId:void 0,resourceOwner:Gp.resourceOwner,resourceType:Gp.resourceType,resourceId:`product/${r.roleType}`,resourceIdSegmentValues:{roleType:r.roleType}},i=p.fromOpts(t,Gp);return new e(i)}static parse(r){let t=p.fromString(r,Gp);return new e(t)}getVariables(){return{roleType:this.roleType}}},Hp={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"search",resourceType:"event",resourceIdSlug:"{eventType}/{eventId}",resourceIdSegmentFormats:{eventType:/[a-zA-Z0-9\-]+/,eventId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},Yp=class e extends T{constructor(e){super(e),this._eventType=e.resourceIdSegmentValues.eventType,this._eventId=e.resourceIdSegmentValues.eventId}get eventType(){return this._eventType}get eventId(){return this._eventId}static create(r){let t={qualifier:Hp.qualifier,platformQualifier:Hp.platformQualifier,cloudId:void 0,resourceOwner:Hp.resourceOwner,resourceType:Hp.resourceType,resourceId:`${r.eventType}/${r.eventId}`,resourceIdSegmentValues:{eventType:r.eventType,eventId:r.eventId}},i=p.fromOpts(t,Hp);return new e(i)}static parse(r){let t=p.fromString(r,Hp);return new e(t)}getVariables(){return{eventType:this.eventType,eventId:this.eventId}}},Xp={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"search",resourceType:"forward-document",resourceIdSlug:"activation/{activationId}/{documentType}/{documentId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,documentType:/[a-zA-Z0-9\-_]+/,documentId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},ef=class e extends T{constructor(e){super(e),this._activationId=e.resourceIdSegmentValues.activationId,this._documentType=e.resourceIdSegmentValues.documentType,this._documentId=e.resourceIdSegmentValues.documentId}get activationId(){return this._activationId}get documentType(){return this._documentType}get documentId(){return this._documentId}static create(r){let t={qualifier:Xp.qualifier,platformQualifier:Xp.platformQualifier,cloudId:void 0,resourceOwner:Xp.resourceOwner,resourceType:Xp.resourceType,resourceId:`activation/${r.activationId}/${r.documentType}/${r.documentId}`,resourceIdSegmentValues:{activationId:r.activationId,documentType:r.documentType,documentId:r.documentId}},i=p.fromOpts(t,Xp);return new e(i)}static parse(r){let t=p.fromString(r,Xp);return new e(t)}getVariables(){return{activationId:this.activationId,documentType:this.documentType,documentId:this.documentId}}},rf={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"search",resourceType:"forward-document-subscription",resourceIdSlug:"activation/{activationId}/{subscriptionType}/{subscriptionId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,subscriptionType:/[a-zA-Z0-9\-_]+/,subscriptionId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},tf=class e extends T{constructor(e){super(e),this._activationId=e.resourceIdSegmentValues.activationId,this._subscriptionType=e.resourceIdSegmentValues.subscriptionType,this._subscriptionId=e.resourceIdSegmentValues.subscriptionId}get activationId(){return this._activationId}get subscriptionType(){return this._subscriptionType}get subscriptionId(){return this._subscriptionId}static create(r){let t={qualifier:rf.qualifier,platformQualifier:rf.platformQualifier,cloudId:void 0,resourceOwner:rf.resourceOwner,resourceType:rf.resourceType,resourceId:`activation/${r.activationId}/${r.subscriptionType}/${r.subscriptionId}`,resourceIdSegmentValues:{activationId:r.activationId,subscriptionType:r.subscriptionType,subscriptionId:r.subscriptionId}},i=p.fromOpts(t,rf);return new e(i)}static parse(r){let t=p.fromString(r,rf);return new e(t)}getVariables(){return{activationId:this.activationId,subscriptionType:this.subscriptionType,subscriptionId:this.subscriptionId}}},nf={qualifier:"ari",platformQualifier:"third-party",cloudId:new RegExp("^$"),resourceOwner:"slack",resourceType:"channel",resourceIdSlug:"workspaceId/{workspaceId}/channelId/{channelId}",resourceIdSegmentFormats:{workspaceId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/,channelId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},of=class e extends T{constructor(e){super(e),this._workspaceId=e.resourceIdSegmentValues.workspaceId,this._channelId=e.resourceIdSegmentValues.channelId}get workspaceId(){return this._workspaceId}get channelId(){return this._channelId}static create(r){let t={qualifier:nf.qualifier,platformQualifier:nf.platformQualifier,cloudId:void 0,resourceOwner:nf.resourceOwner,resourceType:nf.resourceType,resourceId:`workspaceId/${r.workspaceId}/channelId/${r.channelId}`,resourceIdSegmentValues:{workspaceId:r.workspaceId,channelId:r.channelId}},i=p.fromOpts(t,nf);return new e(i)}static parse(r){let t=p.fromString(r,nf);return new e(t)}getVariables(){return{workspaceId:this.workspaceId,channelId:this.channelId}}},af={qualifier:"ari",platformQualifier:"third-party",cloudId:new RegExp("^$"),resourceOwner:"slack",resourceType:"message",resourceIdSlug:"workspaceId/{workspaceId}/channelId/{channelId}/messageId/{messageId}",resourceIdSegmentFormats:{workspaceId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/,channelId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/,messageId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},sf=class e extends T{constructor(e){super(e),this._workspaceId=e.resourceIdSegmentValues.workspaceId,this._channelId=e.resourceIdSegmentValues.channelId,this._messageId=e.resourceIdSegmentValues.messageId}get workspaceId(){return this._workspaceId}get channelId(){return this._channelId}get messageId(){return this._messageId}static create(r){let t={qualifier:af.qualifier,platformQualifier:af.platformQualifier,cloudId:void 0,resourceOwner:af.resourceOwner,resourceType:af.resourceType,resourceId:`workspaceId/${r.workspaceId}/channelId/${r.channelId}/messageId/${r.messageId}`,resourceIdSegmentValues:{workspaceId:r.workspaceId,channelId:r.channelId,messageId:r.messageId}},i=p.fromOpts(t,af);return new e(i)}static parse(r){let t=p.fromString(r,af);return new e(t)}getVariables(){return{workspaceId:this.workspaceId,channelId:this.channelId,messageId:this.messageId}}},uf={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"statuspage",resourceType:"role",resourceIdSlug:"{roleId}",resourceIdSegmentFormats:{roleId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},cf=class e extends T{constructor(e){super(e),this._roleId=e.resourceIdSegmentValues.roleId}get roleId(){return this._roleId}static create(r){let t={qualifier:uf.qualifier,platformQualifier:uf.platformQualifier,cloudId:void 0,resourceOwner:uf.resourceOwner,resourceType:uf.resourceType,resourceId:`${r.roleId}`,resourceIdSegmentValues:{roleId:r.roleId}},i=p.fromOpts(t,uf);return new e(i)}static parse(r){let t=p.fromString(r,uf);return new e(t)}getVariables(){return{roleId:this.roleId}}},df={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"statuspage",resourceType:"site",resourceIdSlug:"{siteId}",resourceIdSegmentFormats:{siteId:/[a-zA-Z0-9\-]+/}},lf=class e extends T{constructor(e){super(e),this._siteId=e.resourceIdSegmentValues.siteId}get siteId(){return this._siteId}static create(r){let t={qualifier:df.qualifier,platformQualifier:df.platformQualifier,cloudId:void 0,resourceOwner:df.resourceOwner,resourceType:df.resourceType,resourceId:`${r.siteId}`,resourceIdSegmentValues:{siteId:r.siteId}},i=p.fromOpts(t,df);return new e(i)}static parse(r){let t=p.fromString(r,df);return new e(t)}getVariables(){return{siteId:this.siteId}}},If={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"support",resourceType:"customer",resourceIdSlug:"{resourceName}",resourceIdSegmentFormats:{resourceName:/[a-zA-Z0-9\-_.]*/}},pf=class e extends T{constructor(e){super(e),this._resourceName=e.resourceIdSegmentValues.resourceName}get resourceName(){return this._resourceName}static create(r){let t={qualifier:If.qualifier,platformQualifier:If.platformQualifier,cloudId:void 0,resourceOwner:If.resourceOwner,resourceType:If.resourceType,resourceId:`${r.resourceName}`,resourceIdSegmentValues:{resourceName:r.resourceName||""}},i=p.fromOpts(t,If);return new e(i)}static parse(r){let t=p.fromString(r,If);return new e(t)}getVariables(){return{resourceName:this.resourceName}}},ff={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"teams",resourceType:"team",resourceIdSlug:"{teamId}",resourceIdSegmentFormats:{teamId:/[a-zA-Z0-9.\-_~]+/}},mf=class e extends T{constructor(e){super(e),this._teamId=e.resourceIdSegmentValues.teamId}get teamId(){return this._teamId}static create(r){let t={qualifier:ff.qualifier,platformQualifier:ff.platformQualifier,cloudId:void 0,resourceOwner:ff.resourceOwner,resourceType:ff.resourceType,resourceId:`${r.teamId}`,resourceIdSegmentValues:{teamId:r.teamId}},i=p.fromOpts(t,ff);return new e(i)}static parse(r){let t=p.fromString(r,ff);return new e(t)}getVariables(){return{teamId:this.teamId}}},hf={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"townsquare",resourceType:"comment",resourceIdSlug:"{commentUuid}",resourceIdSegmentFormats:{commentUuid:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},gf=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._commentUuid=e.resourceIdSegmentValues.commentUuid}get siteId(){return this._siteId}get commentUuid(){return this._commentUuid}static create(r){let t={qualifier:hf.qualifier,platformQualifier:hf.platformQualifier,cloudId:r.siteId,resourceOwner:hf.resourceOwner,resourceType:hf.resourceType,resourceId:`${r.commentUuid}`,resourceIdSegmentValues:{commentUuid:r.commentUuid}},i=p.fromOpts(t,hf);return new e(i)}static parse(r){let t=p.fromString(r,hf);return new e(t)}getVariables(){return{siteId:this.siteId,commentUuid:this.commentUuid}}},vf={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"townsquare",resourceType:"goal",resourceIdSlug:"{goalUuid}",resourceIdSegmentFormats:{goalUuid:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},yf=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._goalUuid=e.resourceIdSegmentValues.goalUuid}get siteId(){return this._siteId}get goalUuid(){return this._goalUuid}static create(r){let t={qualifier:vf.qualifier,platformQualifier:vf.platformQualifier,cloudId:r.siteId,resourceOwner:vf.resourceOwner,resourceType:vf.resourceType,resourceId:`${r.goalUuid}`,resourceIdSegmentValues:{goalUuid:r.goalUuid}},i=p.fromOpts(t,vf);return new e(i)}static parse(r){let t=p.fromString(r,vf);return new e(t)}getVariables(){return{siteId:this.siteId,goalUuid:this.goalUuid}}},wf={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"townsquare",resourceType:"help-pointer",resourceIdSlug:"{helpPointerUuid}",resourceIdSegmentFormats:{helpPointerUuid:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},Sf=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._helpPointerUuid=e.resourceIdSegmentValues.helpPointerUuid}get siteId(){return this._siteId}get helpPointerUuid(){return this._helpPointerUuid}static create(r){let t={qualifier:wf.qualifier,platformQualifier:wf.platformQualifier,cloudId:r.siteId,resourceOwner:wf.resourceOwner,resourceType:wf.resourceType,resourceId:`${r.helpPointerUuid}`,resourceIdSegmentValues:{helpPointerUuid:r.helpPointerUuid}},i=p.fromOpts(t,wf);return new e(i)}static parse(r){let t=p.fromString(r,wf);return new e(t)}getVariables(){return{siteId:this.siteId,helpPointerUuid:this.helpPointerUuid}}},_f={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"townsquare",resourceType:"learning",resourceIdSlug:"{learningUuid}",resourceIdSegmentFormats:{learningUuid:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},bf=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._learningUuid=e.resourceIdSegmentValues.learningUuid}get siteId(){return this._siteId}get learningUuid(){return this._learningUuid}static create(r){let t={qualifier:_f.qualifier,platformQualifier:_f.platformQualifier,cloudId:r.siteId,resourceOwner:_f.resourceOwner,resourceType:_f.resourceType,resourceId:`${r.learningUuid}`,resourceIdSegmentValues:{learningUuid:r.learningUuid}},i=p.fromOpts(t,_f);return new e(i)}static parse(r){let t=p.fromString(r,_f);return new e(t)}getVariables(){return{siteId:this.siteId,learningUuid:this.learningUuid}}},Tf={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"townsquare",resourceType:"project",resourceIdSlug:"{projectUuid}",resourceIdSegmentFormats:{projectUuid:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},Of=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._projectUuid=e.resourceIdSegmentValues.projectUuid}get siteId(){return this._siteId}get projectUuid(){return this._projectUuid}static create(r){let t={qualifier:Tf.qualifier,platformQualifier:Tf.platformQualifier,cloudId:r.siteId,resourceOwner:Tf.resourceOwner,resourceType:Tf.resourceType,resourceId:`${r.projectUuid}`,resourceIdSegmentValues:{projectUuid:r.projectUuid}},i=p.fromOpts(t,Tf);return new e(i)}static parse(r){let t=p.fromString(r,Tf);return new e(t)}getVariables(){return{siteId:this.siteId,projectUuid:this.projectUuid}}},kf={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"townsquare",resourceType:"question",resourceIdSlug:"{questionUuid}",resourceIdSegmentFormats:{questionUuid:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},Af=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._questionUuid=e.resourceIdSegmentValues.questionUuid}get siteId(){return this._siteId}get questionUuid(){return this._questionUuid}static create(r){let t={qualifier:kf.qualifier,platformQualifier:kf.platformQualifier,cloudId:r.siteId,resourceOwner:kf.resourceOwner,resourceType:kf.resourceType,resourceId:`${r.questionUuid}`,resourceIdSegmentValues:{questionUuid:r.questionUuid}},i=p.fromOpts(t,kf);return new e(i)}static parse(r){let t=p.fromString(r,kf);return new e(t)}getVariables(){return{siteId:this.siteId,questionUuid:this.questionUuid}}},qf={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"townsquare",resourceType:"role",resourceIdSlug:"product/{roleType}",resourceIdSegmentFormats:{roleType:/(?:member|admin)/}},Vf=class e extends T{constructor(e){super(e),this._roleType=e.resourceIdSegmentValues.roleType}get roleType(){return this._roleType}static create(r){let t={qualifier:qf.qualifier,platformQualifier:qf.platformQualifier,cloudId:void 0,resourceOwner:qf.resourceOwner,resourceType:qf.resourceType,resourceId:`product/${r.roleType}`,resourceIdSegmentValues:{roleType:r.roleType}},i=p.fromOpts(t,qf);return new e(i)}static parse(r){let t=p.fromString(r,qf);return new e(t)}getVariables(){return{roleType:this.roleType}}},Ef={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"townsquare",resourceType:"site",resourceIdSlug:"{siteId}",resourceIdSegmentFormats:{siteId:/[a-zA-Z0-9\-]+/}},xf=class e extends T{constructor(e){super(e),this._siteId=e.resourceIdSegmentValues.siteId}get siteId(){return this._siteId}static create(r){let t={qualifier:Ef.qualifier,platformQualifier:Ef.platformQualifier,cloudId:void 0,resourceOwner:Ef.resourceOwner,resourceType:Ef.resourceType,resourceId:`${r.siteId}`,resourceIdSegmentValues:{siteId:r.siteId}},i=p.fromOpts(t,Ef);return new e(i)}static parse(r){let t=p.fromString(r,Ef);return new e(t)}getVariables(){return{siteId:this.siteId}}},Rf={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"townsquare",resourceType:"tag",resourceIdSlug:"{tagUuid}",resourceIdSegmentFormats:{tagUuid:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},$f=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._tagUuid=e.resourceIdSegmentValues.tagUuid}get siteId(){return this._siteId}get tagUuid(){return this._tagUuid}static create(r){let t={qualifier:Rf.qualifier,platformQualifier:Rf.platformQualifier,cloudId:r.siteId,resourceOwner:Rf.resourceOwner,resourceType:Rf.resourceType,resourceId:`${r.tagUuid}`,resourceIdSegmentValues:{tagUuid:r.tagUuid}},i=p.fromOpts(t,Rf);return new e(i)}static parse(r){let t=p.fromString(r,Rf);return new e(t)}getVariables(){return{siteId:this.siteId,tagUuid:this.tagUuid}}},Qf={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^[a-zA-Z0-9-]+$"),resourceOwner:"townsquare",resourceType:"workspace",resourceIdSlug:"{activationId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/}},Nf=class e extends T{constructor(e){super(e),this._siteId=e.cloudId||"",this._activationId=e.resourceIdSegmentValues.activationId}get siteId(){return this._siteId}get activationId(){return this._activationId}static create(r){let t={qualifier:Qf.qualifier,platformQualifier:Qf.platformQualifier,cloudId:r.siteId,resourceOwner:Qf.resourceOwner,resourceType:Qf.resourceType,resourceId:`${r.activationId}`,resourceIdSegmentValues:{activationId:r.activationId}},i=p.fromOpts(t,Qf);return new e(i)}static parse(r){let t=p.fromString(r,Qf);return new e(t)}getVariables(){return{siteId:this.siteId,activationId:this.activationId}}},Cf={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"trello",resourceType:"attachment",resourceIdSlug:"card/workspace/{workspaceId}/{cardId}/{attachmentId}",resourceIdSegmentFormats:{workspaceId:/[a-zA-Z0-9\-_.]*/,cardId:/[a-zA-Z0-9\-_.]*/,attachmentId:/[a-zA-Z0-9\-_.]*/}},Ff=class e extends T{constructor(e){super(e),this._workspaceId=e.resourceIdSegmentValues.workspaceId,this._cardId=e.resourceIdSegmentValues.cardId,this._attachmentId=e.resourceIdSegmentValues.attachmentId}get workspaceId(){return this._workspaceId}get cardId(){return this._cardId}get attachmentId(){return this._attachmentId}static create(r){let t={qualifier:Cf.qualifier,platformQualifier:Cf.platformQualifier,cloudId:void 0,resourceOwner:Cf.resourceOwner,resourceType:Cf.resourceType,resourceId:`card/workspace/${r.workspaceId}/${r.cardId}/${r.attachmentId}`,resourceIdSegmentValues:{workspaceId:r.workspaceId||"",cardId:r.cardId||"",attachmentId:r.attachmentId||""}},i=p.fromOpts(t,Cf);return new e(i)}static parse(r){let t=p.fromString(r,Cf);return new e(t)}getVariables(){return{workspaceId:this.workspaceId,cardId:this.cardId,attachmentId:this.attachmentId}}},zf={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"trello",resourceType:"board",resourceIdSlug:"workspace/{workspaceId}/{boardId}",resourceIdSegmentFormats:{workspaceId:/[a-zA-Z0-9\-_.]*/,boardId:/[a-zA-Z0-9\-_.]*/}},Lf=class e extends T{constructor(e){super(e),this._workspaceId=e.resourceIdSegmentValues.workspaceId,this._boardId=e.resourceIdSegmentValues.boardId}get workspaceId(){return this._workspaceId}get boardId(){return this._boardId}static create(r){let t={qualifier:zf.qualifier,platformQualifier:zf.platformQualifier,cloudId:void 0,resourceOwner:zf.resourceOwner,resourceType:zf.resourceType,resourceId:`workspace/${r.workspaceId}/${r.boardId}`,resourceIdSegmentValues:{workspaceId:r.workspaceId||"",boardId:r.boardId||""}},i=p.fromOpts(t,zf);return new e(i)}static parse(r){let t=p.fromString(r,zf);return new e(t)}getVariables(){return{workspaceId:this.workspaceId,boardId:this.boardId}}},Mf={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"trello",resourceType:"card",resourceIdSlug:"workspace/{workspaceId}/{cardId}",resourceIdSegmentFormats:{workspaceId:/[a-zA-Z0-9\-_.]*/,cardId:/[a-zA-Z0-9\-_.]*/}},Pf=class e extends T{constructor(e){super(e),this._workspaceId=e.resourceIdSegmentValues.workspaceId,this._cardId=e.resourceIdSegmentValues.cardId}get workspaceId(){return this._workspaceId}get cardId(){return this._cardId}static create(r){let t={qualifier:Mf.qualifier,platformQualifier:Mf.platformQualifier,cloudId:void 0,resourceOwner:Mf.resourceOwner,resourceType:Mf.resourceType,resourceId:`workspace/${r.workspaceId}/${r.cardId}`,resourceIdSegmentValues:{workspaceId:r.workspaceId||"",cardId:r.cardId||""}},i=p.fromOpts(t,Mf);return new e(i)}static parse(r){let t=p.fromString(r,Mf);return new e(t)}getVariables(){return{workspaceId:this.workspaceId,cardId:this.cardId}}},jf={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"trello",resourceType:"enterprise",resourceIdSlug:"{enterpriseId}",resourceIdSegmentFormats:{enterpriseId:/[a-zA-Z0-9\-_.]*/}},Zf=class e extends T{constructor(e){super(e),this._enterpriseId=e.resourceIdSegmentValues.enterpriseId}get enterpriseId(){return this._enterpriseId}static create(r){let t={qualifier:jf.qualifier,platformQualifier:jf.platformQualifier,cloudId:void 0,resourceOwner:jf.resourceOwner,resourceType:jf.resourceType,resourceId:`${r.enterpriseId}`,resourceIdSegmentValues:{enterpriseId:r.enterpriseId||""}},i=p.fromOpts(t,jf);return new e(i)}static parse(r){let t=p.fromString(r,jf);return new e(t)}getVariables(){return{enterpriseId:this.enterpriseId}}},Uf={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"trello",resourceType:"list",resourceIdSlug:"workspace/{workspaceId}/{listId}",resourceIdSegmentFormats:{workspaceId:/[a-zA-Z0-9\-_.]*/,listId:/[a-zA-Z0-9\-_.]*/}},Df=class e extends T{constructor(e){super(e),this._workspaceId=e.resourceIdSegmentValues.workspaceId,this._listId=e.resourceIdSegmentValues.listId}get workspaceId(){return this._workspaceId}get listId(){return this._listId}static create(r){let t={qualifier:Uf.qualifier,platformQualifier:Uf.platformQualifier,cloudId:void 0,resourceOwner:Uf.resourceOwner,resourceType:Uf.resourceType,resourceId:`workspace/${r.workspaceId}/${r.listId}`,resourceIdSegmentValues:{workspaceId:r.workspaceId||"",listId:r.listId||""}},i=p.fromOpts(t,Uf);return new e(i)}static parse(r){let t=p.fromString(r,Uf);return new e(t)}getVariables(){return{workspaceId:this.workspaceId,listId:this.listId}}},Wf={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"trello",resourceType:"role",resourceIdSlug:"{roleGroup}/{roleType}",resourceIdSegmentFormats:{roleGroup:/(?:workspace|enterprise|product)/,roleType:/(?:member|admin)/}},Kf=class e extends T{constructor(e){super(e),this._roleGroup=e.resourceIdSegmentValues.roleGroup,this._roleType=e.resourceIdSegmentValues.roleType}get roleGroup(){return this._roleGroup}get roleType(){return this._roleType}static create(r){let t={qualifier:Wf.qualifier,platformQualifier:Wf.platformQualifier,cloudId:void 0,resourceOwner:Wf.resourceOwner,resourceType:Wf.resourceType,resourceId:`${r.roleGroup}/${r.roleType}`,resourceIdSegmentValues:{roleGroup:r.roleGroup,roleType:r.roleType}},i=p.fromOpts(t,Wf);return new e(i)}static parse(r){let t=p.fromString(r,Wf);return new e(t)}getVariables(){return{roleGroup:this.roleGroup,roleType:this.roleType}}},Bf={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"trello",resourceType:"site",resourceIdSlug:"trello",resourceIdSegmentFormats:{}},Gf=class e extends T{constructor(e){super(e)}static create(r){let t={qualifier:Bf.qualifier,platformQualifier:Bf.platformQualifier,cloudId:void 0,resourceOwner:Bf.resourceOwner,resourceType:Bf.resourceType,resourceId:"trello",resourceIdSegmentValues:{}},i=p.fromOpts(t,Bf);return new e(i)}static parse(r){let t=p.fromString(r,Bf);return new e(t)}getVariables(){return{}}},Jf={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"trello",resourceType:"user",resourceIdSlug:"{userId}",resourceIdSegmentFormats:{userId:/[a-zA-Z0-9\-_.]*/}},Hf=class e extends T{constructor(e){super(e),this._userId=e.resourceIdSegmentValues.userId}get userId(){return this._userId}static create(r){let t={qualifier:Jf.qualifier,platformQualifier:Jf.platformQualifier,cloudId:void 0,resourceOwner:Jf.resourceOwner,resourceType:Jf.resourceType,resourceId:`${r.userId}`,resourceIdSegmentValues:{userId:r.userId||""}},i=p.fromOpts(t,Jf);return new e(i)}static parse(r){let t=p.fromString(r,Jf);return new e(t)}getVariables(){return{userId:this.userId}}},Yf={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"trello",resourceType:"workspace",resourceIdSlug:"{workspaceId}",resourceIdSegmentFormats:{workspaceId:/[a-zA-Z0-9\-_.]*/}},Xf=class e extends T{constructor(e){super(e),this._workspaceId=e.resourceIdSegmentValues.workspaceId}get workspaceId(){return this._workspaceId}static create(r){let t={qualifier:Yf.qualifier,platformQualifier:Yf.platformQualifier,cloudId:void 0,resourceOwner:Yf.resourceOwner,resourceType:Yf.resourceType,resourceId:`${r.workspaceId}`,resourceIdSegmentValues:{workspaceId:r.workspaceId||""}},i=p.fromOpts(t,Yf);return new e(i)}static parse(r){let t=p.fromString(r,Yf);return new e(t)}getVariables(){return{workspaceId:this.workspaceId}}},em={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"unified-help",resourceType:"role",resourceIdSlug:"product/{roleType}",resourceIdSegmentFormats:{roleType:/(?:member|admin)/}},rm=class e extends T{constructor(e){super(e),this._roleType=e.resourceIdSegmentValues.roleType}get roleType(){return this._roleType}static create(r){let t={qualifier:em.qualifier,platformQualifier:em.platformQualifier,cloudId:void 0,resourceOwner:em.resourceOwner,resourceType:em.resourceType,resourceId:`product/${r.roleType}`,resourceIdSegmentValues:{roleType:r.roleType}},i=p.fromOpts(t,em);return new e(i)}static parse(r){let t=p.fromString(r,em);return new e(t)}getVariables(){return{roleType:this.roleType}}},tm={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"unified-help",resourceType:"site",resourceIdSlug:"{siteId}",resourceIdSegmentFormats:{siteId:/[a-zA-Z0-9\-]+/}},im=class e extends T{constructor(e){super(e),this._siteId=e.resourceIdSegmentValues.siteId}get siteId(){return this._siteId}static create(r){let t={qualifier:tm.qualifier,platformQualifier:tm.platformQualifier,cloudId:void 0,resourceOwner:tm.resourceOwner,resourceType:tm.resourceType,resourceId:`${r.siteId}`,resourceIdSegmentValues:{siteId:r.siteId}},i=p.fromOpts(t,tm);return new e(i)}static parse(r){let t=p.fromString(r,tm);return new e(t)}getVariables(){return{siteId:this.siteId}}},nm={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"unified-help",resourceType:"workspace",resourceIdSlug:"{activationId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/}},om=class e extends T{constructor(e){super(e),this._activationId=e.resourceIdSegmentValues.activationId}get activationId(){return this._activationId}static create(r){let t={qualifier:nm.qualifier,platformQualifier:nm.platformQualifier,cloudId:void 0,resourceOwner:nm.resourceOwner,resourceType:nm.resourceType,resourceId:`${r.activationId}`,resourceIdSegmentValues:{activationId:r.activationId}},i=p.fromOpts(t,nm);return new e(i)}static parse(r){let t=p.fromString(r,nm);return new e(t)}getVariables(){return{activationId:this.activationId}}},am={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"unified-portable-profile",resourceType:"linked-account",resourceIdSlug:"{linkedAccountInternalId}",resourceIdSegmentFormats:{linkedAccountInternalId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},sm=class e extends T{constructor(e){super(e),this._linkedAccountInternalId=e.resourceIdSegmentValues.linkedAccountInternalId}get linkedAccountInternalId(){return this._linkedAccountInternalId}static create(r){let t={qualifier:am.qualifier,platformQualifier:am.platformQualifier,cloudId:void 0,resourceOwner:am.resourceOwner,resourceType:am.resourceType,resourceId:`${r.linkedAccountInternalId}`,resourceIdSegmentValues:{linkedAccountInternalId:r.linkedAccountInternalId}},i=p.fromOpts(t,am);return new e(i)}static parse(r){let t=p.fromString(r,am);return new e(t)}getVariables(){return{linkedAccountInternalId:this.linkedAccountInternalId}}},um={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"unified-portable-profile",resourceType:"parent-account",resourceIdSlug:"{parentAccountInternalId}",resourceIdSegmentFormats:{parentAccountInternalId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},cm=class e extends T{constructor(e){super(e),this._parentAccountInternalId=e.resourceIdSegmentValues.parentAccountInternalId}get parentAccountInternalId(){return this._parentAccountInternalId}static create(r){let t={qualifier:um.qualifier,platformQualifier:um.platformQualifier,cloudId:void 0,resourceOwner:um.resourceOwner,resourceType:um.resourceType,resourceId:`${r.parentAccountInternalId}`,resourceIdSegmentValues:{parentAccountInternalId:r.parentAccountInternalId}},i=p.fromOpts(t,um);return new e(i)}static parse(r){let t=p.fromString(r,um);return new e(t)}getVariables(){return{parentAccountInternalId:this.parentAccountInternalId}}},dm={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"unified-portable-profile",resourceType:"unified-account",resourceIdSlug:"{linkedAccountInternalId}",resourceIdSegmentFormats:{linkedAccountInternalId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},lm=class e extends T{constructor(e){super(e),this._linkedAccountInternalId=e.resourceIdSegmentValues.linkedAccountInternalId}get linkedAccountInternalId(){return this._linkedAccountInternalId}static create(r){let t={qualifier:dm.qualifier,platformQualifier:dm.platformQualifier,cloudId:void 0,resourceOwner:dm.resourceOwner,resourceType:dm.resourceType,resourceId:`${r.linkedAccountInternalId}`,resourceIdSegmentValues:{linkedAccountInternalId:r.linkedAccountInternalId}},i=p.fromOpts(t,dm);return new e(i)}static parse(r){let t=p.fromString(r,dm);return new e(t)}getVariables(){return{linkedAccountInternalId:this.linkedAccountInternalId}}},Im={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"unified-portable-profile",resourceType:"unified-profile",resourceIdSlug:"{unifiedProfileInternalId}",resourceIdSegmentFormats:{unifiedProfileInternalId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},pm=class e extends T{constructor(e){super(e),this._unifiedProfileInternalId=e.resourceIdSegmentValues.unifiedProfileInternalId}get unifiedProfileInternalId(){return this._unifiedProfileInternalId}static create(r){let t={qualifier:Im.qualifier,platformQualifier:Im.platformQualifier,cloudId:void 0,resourceOwner:Im.resourceOwner,resourceType:Im.resourceType,resourceId:`${r.unifiedProfileInternalId}`,resourceIdSegmentValues:{unifiedProfileInternalId:r.unifiedProfileInternalId}},i=p.fromOpts(t,Im);return new e(i)}static parse(r){let t=p.fromString(r,Im);return new e(t)}getVariables(){return{unifiedProfileInternalId:this.unifiedProfileInternalId}}},fm={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"virtual-agent",resourceType:"configuration",resourceIdSlug:"{activationId}/{configurationId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,configurationId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},mm=class e extends T{constructor(e){super(e),this._activationId=e.resourceIdSegmentValues.activationId,this._configurationId=e.resourceIdSegmentValues.configurationId}get activationId(){return this._activationId}get configurationId(){return this._configurationId}static create(r){let t={qualifier:fm.qualifier,platformQualifier:fm.platformQualifier,cloudId:void 0,resourceOwner:fm.resourceOwner,resourceType:fm.resourceType,resourceId:`${r.activationId}/${r.configurationId}`,resourceIdSegmentValues:{activationId:r.activationId,configurationId:r.configurationId}},i=p.fromOpts(t,fm);return new e(i)}static parse(r){let t=p.fromString(r,fm);return new e(t)}getVariables(){return{activationId:this.activationId,configurationId:this.configurationId}}},hm={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"virtual-agent",resourceType:"conversation",resourceIdSlug:"{activationId}/{configurationId}/{conversationId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,configurationId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/,conversationId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},gm=class e extends T{constructor(e){super(e),this._activationId=e.resourceIdSegmentValues.activationId,this._configurationId=e.resourceIdSegmentValues.configurationId,this._conversationId=e.resourceIdSegmentValues.conversationId}get activationId(){return this._activationId}get configurationId(){return this._configurationId}get conversationId(){return this._conversationId}static create(r){let t={qualifier:hm.qualifier,platformQualifier:hm.platformQualifier,cloudId:void 0,resourceOwner:hm.resourceOwner,resourceType:hm.resourceType,resourceId:`${r.activationId}/${r.configurationId}/${r.conversationId}`,resourceIdSegmentValues:{activationId:r.activationId,configurationId:r.configurationId,conversationId:r.conversationId}},i=p.fromOpts(t,hm);return new e(i)}static parse(r){let t=p.fromString(r,hm);return new e(t)}getVariables(){return{activationId:this.activationId,configurationId:this.configurationId,conversationId:this.conversationId}}},vm={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"virtual-agent",resourceType:"flow-editor",resourceIdSlug:"{activationId}/{configurationId}/{flowEditorId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,configurationId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/,flowEditorId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},ym=class e extends T{constructor(e){super(e),this._activationId=e.resourceIdSegmentValues.activationId,this._configurationId=e.resourceIdSegmentValues.configurationId,this._flowEditorId=e.resourceIdSegmentValues.flowEditorId}get activationId(){return this._activationId}get configurationId(){return this._configurationId}get flowEditorId(){return this._flowEditorId}static create(r){let t={qualifier:vm.qualifier,platformQualifier:vm.platformQualifier,cloudId:void 0,resourceOwner:vm.resourceOwner,resourceType:vm.resourceType,resourceId:`${r.activationId}/${r.configurationId}/${r.flowEditorId}`,resourceIdSegmentValues:{activationId:r.activationId,configurationId:r.configurationId,flowEditorId:r.flowEditorId}},i=p.fromOpts(t,vm);return new e(i)}static parse(r){let t=p.fromString(r,vm);return new e(t)}getVariables(){return{activationId:this.activationId,configurationId:this.configurationId,flowEditorId:this.flowEditorId}}},wm={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"virtual-agent",resourceType:"intent-projection",resourceIdSlug:"{activationId}/{configurationId}/{intentId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,configurationId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/,intentId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},Sm=class e extends T{constructor(e){super(e),this._activationId=e.resourceIdSegmentValues.activationId,this._configurationId=e.resourceIdSegmentValues.configurationId,this._intentId=e.resourceIdSegmentValues.intentId}get activationId(){return this._activationId}get configurationId(){return this._configurationId}get intentId(){return this._intentId}static create(r){let t={qualifier:wm.qualifier,platformQualifier:wm.platformQualifier,cloudId:void 0,resourceOwner:wm.resourceOwner,resourceType:wm.resourceType,resourceId:`${r.activationId}/${r.configurationId}/${r.intentId}`,resourceIdSegmentValues:{activationId:r.activationId,configurationId:r.configurationId,intentId:r.intentId}},i=p.fromOpts(t,wm);return new e(i)}static parse(r){let t=p.fromString(r,wm);return new e(t)}getVariables(){return{activationId:this.activationId,configurationId:this.configurationId,intentId:this.intentId}}},_m={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"virtual-agent",resourceType:"intent-question-projection",resourceIdSlug:"{activationId}/{configurationId}/{intentQuestionId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,configurationId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/,intentQuestionId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},bm=class e extends T{constructor(e){super(e),this._activationId=e.resourceIdSegmentValues.activationId,this._configurationId=e.resourceIdSegmentValues.configurationId,this._intentQuestionId=e.resourceIdSegmentValues.intentQuestionId}get activationId(){return this._activationId}get configurationId(){return this._configurationId}get intentQuestionId(){return this._intentQuestionId}static create(r){let t={qualifier:_m.qualifier,platformQualifier:_m.platformQualifier,cloudId:void 0,resourceOwner:_m.resourceOwner,resourceType:_m.resourceType,resourceId:`${r.activationId}/${r.configurationId}/${r.intentQuestionId}`,resourceIdSegmentValues:{activationId:r.activationId,configurationId:r.configurationId,intentQuestionId:r.intentQuestionId}},i=p.fromOpts(t,_m);return new e(i)}static parse(r){let t=p.fromString(r,_m);return new e(t)}getVariables(){return{activationId:this.activationId,configurationId:this.configurationId,intentQuestionId:this.intentQuestionId}}},Tm={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"virtual-agent",resourceType:"intent-rule-projection",resourceIdSlug:"{activationId}/{configurationId}/{intentId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,configurationId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/,intentId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},Om=class e extends T{constructor(e){super(e),this._activationId=e.resourceIdSegmentValues.activationId,this._configurationId=e.resourceIdSegmentValues.configurationId,this._intentId=e.resourceIdSegmentValues.intentId}get activationId(){return this._activationId}get configurationId(){return this._configurationId}get intentId(){return this._intentId}static create(r){let t={qualifier:Tm.qualifier,platformQualifier:Tm.platformQualifier,cloudId:void 0,resourceOwner:Tm.resourceOwner,resourceType:Tm.resourceType,resourceId:`${r.activationId}/${r.configurationId}/${r.intentId}`,resourceIdSegmentValues:{activationId:r.activationId,configurationId:r.configurationId,intentId:r.intentId}},i=p.fromOpts(t,Tm);return new e(i)}static parse(r){let t=p.fromString(r,Tm);return new e(t)}getVariables(){return{activationId:this.activationId,configurationId:this.configurationId,intentId:this.intentId}}},km={qualifier:"ari",platformQualifier:"cloud",cloudId:new RegExp("^$"),resourceOwner:"virtual-agent",resourceType:"intent-template",resourceIdSlug:"{activationId}/{intentTemplateId}",resourceIdSegmentFormats:{activationId:/[a-zA-Z0-9\-]+/,intentTemplateId:/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/}},Am=class e extends T{constructor(e){super(e),this._activationId=e.resourceIdSegmentValues.activationId,this._intentTemplateId=e.resourceIdSegmentValues.intentTemplateId}get activationId(){return this._activationId}get intentTemplateId(){return this._intentTemplateId}static create(r){let t={qualifier:km.qualifier,platformQualifier:km.platformQualifier,cloudId:void 0,resourceOwner:km.resourceOwner,resourceType:km.resourceType,resourceId:`${r.activationId}/${r.intentTemplateId}`,resourceIdSegmentValues:{activationId:r.activationId,intentTemplateId:r.intentTemplateId}},i=p.fromOpts(t,km);return new e(i)}static parse(r){let t=p.fromString(r,km);return new e(t)}getVariables(){return{activationId:this.activationId,intentTemplateId:this.intentTemplateId}}},qm={qualifier:"ari",platformQualifier:"third-party",cloudId:new RegExp("^$"),resourceOwner:"workato",resourceType:"job",resourceIdSlug:"{workatoTenantKey}/{jobId}",resourceIdSegmentFormats:{workatoTenantKey:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/,jobId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},Vm=class e extends T{constructor(e){super(e),this._workatoTenantKey=e.resourceIdSegmentValues.workatoTenantKey,this._jobId=e.resourceIdSegmentValues.jobId}get workatoTenantKey(){return this._workatoTenantKey}get jobId(){return this._jobId}static create(r){let t={qualifier:qm.qualifier,platformQualifier:qm.platformQualifier,cloudId:void 0,resourceOwner:qm.resourceOwner,resourceType:qm.resourceType,resourceId:`${r.workatoTenantKey}/${r.jobId}`,resourceIdSegmentValues:{workatoTenantKey:r.workatoTenantKey,jobId:r.jobId}},i=p.fromOpts(t,qm);return new e(i)}static parse(r){let t=p.fromString(r,qm);return new e(t)}getVariables(){return{workatoTenantKey:this.workatoTenantKey,jobId:this.jobId}}},Em={qualifier:"ari",platformQualifier:"third-party",cloudId:new RegExp("^$"),resourceOwner:"workato",resourceType:"recipe",resourceIdSlug:"{workatoTenantKey}/{recipeId}",resourceIdSegmentFormats:{workatoTenantKey:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/,recipeId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},xm=class e extends T{constructor(e){super(e),this._workatoTenantKey=e.resourceIdSegmentValues.workatoTenantKey,this._recipeId=e.resourceIdSegmentValues.recipeId}get workatoTenantKey(){return this._workatoTenantKey}get recipeId(){return this._recipeId}static create(r){let t={qualifier:Em.qualifier,platformQualifier:Em.platformQualifier,cloudId:void 0,resourceOwner:Em.resourceOwner,resourceType:Em.resourceType,resourceId:`${r.workatoTenantKey}/${r.recipeId}`,resourceIdSegmentValues:{workatoTenantKey:r.workatoTenantKey,recipeId:r.recipeId}},i=p.fromOpts(t,Em);return new e(i)}static parse(r){let t=p.fromString(r,Em);return new e(t)}getVariables(){return{workatoTenantKey:this.workatoTenantKey,recipeId:this.recipeId}}},Rm={qualifier:"ari",platformQualifier:"third-party",cloudId:new RegExp("^$"),resourceOwner:"workday",resourceType:"cost-center",resourceIdSlug:"{workdayTenantKey}/{costCenterWorkdayId}",resourceIdSegmentFormats:{workdayTenantKey:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/,costCenterWorkdayId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},$m=class e extends T{constructor(e){super(e),this._workdayTenantKey=e.resourceIdSegmentValues.workdayTenantKey,this._costCenterWorkdayId=e.resourceIdSegmentValues.costCenterWorkdayId}get workdayTenantKey(){return this._workdayTenantKey}get costCenterWorkdayId(){return this._costCenterWorkdayId}static create(r){let t={qualifier:Rm.qualifier,platformQualifier:Rm.platformQualifier,cloudId:void 0,resourceOwner:Rm.resourceOwner,resourceType:Rm.resourceType,resourceId:`${r.workdayTenantKey}/${r.costCenterWorkdayId}`,resourceIdSegmentValues:{workdayTenantKey:r.workdayTenantKey,costCenterWorkdayId:r.costCenterWorkdayId}},i=p.fromOpts(t,Rm);return new e(i)}static parse(r){let t=p.fromString(r,Rm);return new e(t)}getVariables(){return{workdayTenantKey:this.workdayTenantKey,costCenterWorkdayId:this.costCenterWorkdayId}}},Qm={qualifier:"ari",platformQualifier:"third-party",cloudId:new RegExp("^$"),resourceOwner:"workday",resourceType:"job-profile",resourceIdSlug:"{workdayTenantKey}/{jobProfileWorkdayId}",resourceIdSegmentFormats:{workdayTenantKey:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/,jobProfileWorkdayId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},Nm=class e extends T{constructor(e){super(e),this._workdayTenantKey=e.resourceIdSegmentValues.workdayTenantKey,this._jobProfileWorkdayId=e.resourceIdSegmentValues.jobProfileWorkdayId}get workdayTenantKey(){return this._workdayTenantKey}get jobProfileWorkdayId(){return this._jobProfileWorkdayId}static create(r){let t={qualifier:Qm.qualifier,platformQualifier:Qm.platformQualifier,cloudId:void 0,resourceOwner:Qm.resourceOwner,resourceType:Qm.resourceType,resourceId:`${r.workdayTenantKey}/${r.jobProfileWorkdayId}`,resourceIdSegmentValues:{workdayTenantKey:r.workdayTenantKey,jobProfileWorkdayId:r.jobProfileWorkdayId}},i=p.fromOpts(t,Qm);return new e(i)}static parse(r){let t=p.fromString(r,Qm);return new e(t)}getVariables(){return{workdayTenantKey:this.workdayTenantKey,jobProfileWorkdayId:this.jobProfileWorkdayId}}},Cm={qualifier:"ari",platformQualifier:"third-party",cloudId:new RegExp("^$"),resourceOwner:"workday",resourceType:"position",resourceIdSlug:"{workdayTenantKey}/{positionWorkdayId}",resourceIdSegmentFormats:{workdayTenantKey:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/,positionWorkdayId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},Fm=class e extends T{constructor(e){super(e),this._workdayTenantKey=e.resourceIdSegmentValues.workdayTenantKey,this._positionWorkdayId=e.resourceIdSegmentValues.positionWorkdayId}get workdayTenantKey(){return this._workdayTenantKey}get positionWorkdayId(){return this._positionWorkdayId}static create(r){let t={qualifier:Cm.qualifier,platformQualifier:Cm.platformQualifier,cloudId:void 0,resourceOwner:Cm.resourceOwner,resourceType:Cm.resourceType,resourceId:`${r.workdayTenantKey}/${r.positionWorkdayId}`,resourceIdSegmentValues:{workdayTenantKey:r.workdayTenantKey,positionWorkdayId:r.positionWorkdayId}},i=p.fromOpts(t,Cm);return new e(i)}static parse(r){let t=p.fromString(r,Cm);return new e(t)}getVariables(){return{workdayTenantKey:this.workdayTenantKey,positionWorkdayId:this.positionWorkdayId}}},zm={qualifier:"ari",platformQualifier:"third-party",cloudId:new RegExp("^$"),resourceOwner:"workday",resourceType:"staff",resourceIdSlug:"{workdayTenantKey}/{staffId}",resourceIdSegmentFormats:{workdayTenantKey:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/,staffId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},Lm=class e extends T{constructor(e){super(e),this._workdayTenantKey=e.resourceIdSegmentValues.workdayTenantKey,this._staffId=e.resourceIdSegmentValues.staffId}get workdayTenantKey(){return this._workdayTenantKey}get staffId(){return this._staffId}static create(r){let t={qualifier:zm.qualifier,platformQualifier:zm.platformQualifier,cloudId:void 0,resourceOwner:zm.resourceOwner,resourceType:zm.resourceType,resourceId:`${r.workdayTenantKey}/${r.staffId}`,resourceIdSegmentValues:{workdayTenantKey:r.workdayTenantKey,staffId:r.staffId}},i=p.fromOpts(t,zm);return new e(i)}static parse(r){let t=p.fromString(r,zm);return new e(t)}getVariables(){return{workdayTenantKey:this.workdayTenantKey,staffId:this.staffId}}},Mm={qualifier:"ari",platformQualifier:"third-party",cloudId:new RegExp("^$"),resourceOwner:"workday",resourceType:"supervisory-org",resourceIdSlug:"{workdayTenantKey}/{supervisoryOrgWorkdayId}",resourceIdSegmentFormats:{workdayTenantKey:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/,supervisoryOrgWorkdayId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},Pm=class e extends T{constructor(e){super(e),this._workdayTenantKey=e.resourceIdSegmentValues.workdayTenantKey,this._supervisoryOrgWorkdayId=e.resourceIdSegmentValues.supervisoryOrgWorkdayId}get workdayTenantKey(){return this._workdayTenantKey}get supervisoryOrgWorkdayId(){return this._supervisoryOrgWorkdayId}static create(r){let t={qualifier:Mm.qualifier,platformQualifier:Mm.platformQualifier,cloudId:void 0,resourceOwner:Mm.resourceOwner,resourceType:Mm.resourceType,resourceId:`${r.workdayTenantKey}/${r.supervisoryOrgWorkdayId}`,resourceIdSegmentValues:{workdayTenantKey:r.workdayTenantKey,supervisoryOrgWorkdayId:r.supervisoryOrgWorkdayId}},i=p.fromOpts(t,Mm);return new e(i)}static parse(r){let t=p.fromString(r,Mm);return new e(t)}getVariables(){return{workdayTenantKey:this.workdayTenantKey,supervisoryOrgWorkdayId:this.supervisoryOrgWorkdayId}}},jm={qualifier:"ari",platformQualifier:"third-party",cloudId:new RegExp("^$"),resourceOwner:"workday",resourceType:"worker",resourceIdSlug:"{workdayTenantKey}/{workerWorkdayId}",resourceIdSegmentFormats:{workdayTenantKey:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/,workerWorkdayId:/[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/}},Zm=class e extends T{constructor(e){super(e),this._workdayTenantKey=e.resourceIdSegmentValues.workdayTenantKey,this._workerWorkdayId=e.resourceIdSegmentValues.workerWorkdayId}get workdayTenantKey(){return this._workdayTenantKey}get workerWorkdayId(){return this._workerWorkdayId}static create(r){let t={qualifier:jm.qualifier,platformQualifier:jm.platformQualifier,cloudId:void 0,resourceOwner:jm.resourceOwner,resourceType:jm.resourceType,resourceId:`${r.workdayTenantKey}/${r.workerWorkdayId}`,resourceIdSegmentValues:{workdayTenantKey:r.workdayTenantKey,workerWorkdayId:r.workerWorkdayId}},i=p.fromOpts(t,jm);return new e(i)}static parse(r){let t=p.fromString(r,jm);return new e(t)}getVariables(){return{workdayTenantKey:this.workdayTenantKey,workerWorkdayId:this.workerWorkdayId}}}},6011:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.InMemoryMetrics=void 0;const i=t(6606);Object.defineProperty(r,"InMemoryMetrics",{enumerable:!0,get:function(){return i.InMemoryMetrics}})},4284:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.InMemoryCounterMetric=void 0;const i=t(6702);class n extends i.InMemoryMetric{constructor(){super(...arguments),this.count=0}getCount(){return this.count}incr(){this.count++}decr(){this.count--}decrBy(e){this.count-=e}incrBy(e){this.count+=e}}r.InMemoryCounterMetric=n},2243:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.InMemoryGaugeMetric=void 0;const i=t(6702);class n extends i.InMemoryMetric{constructor(){super(...arguments),this.value=0}getValue(){return this.value}set(e){this.value=e}}r.InMemoryGaugeMetric=n},6702:(e,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.InMemoryMetric=void 0,r.InMemoryMetric=class{constructor(e,r){this.name=e,this.additionalInfo=r}getName(){return this.name}getTags(){return this.additionalInfo||{}}}},5795:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.InMemoryTimedMetric=void 0;const i=t(6702);class n extends i.InMemoryMetric{constructor(){super(...arguments),this.latency=0,this.started=!1,this.startedAt=BigInt(0)}getTime(){return this.started&&this.stopTimer(),this.format(this.latency)}format(e,r){return parseFloat(e.toFixed(r?.precision||2))}stopTimer(e){const r=process.hrtime.bigint()-this.startedAt;this.started=!1,this.set(Number(r)/1e6,e)}measure(){return this.startedAt=process.hrtime.bigint(),this.started=!0,{stop:(e,r)=>(this.stopTimer(e),this.format(this.latency,r))}}set(e,r){this.latency=e,r&&(this.additionalInfo={...this.additionalInfo,...r})}}r.InMemoryTimedMetric=n},6606:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.InMemoryMetrics=void 0;const i=t(4284),n=t(2243),o=t(6702),a=t(5795);class s extends o.InMemoryMetric{constructor(e,r=""){super(r,e),this._timers=[],this._counters=new Map,this._gauges=new Map,this._children=new Map}getTimers(){return this._timers}getCounters(){return this._counters}getGauges(){return this._gauges}getChildren(){return this._children}tagsWith(e){return{...this.getTags(),...e}}getHashedMetricName(e,r){const t=Object.entries(this.tagsWith(r)).sort();return`${e}_${JSON.stringify(t)}`}child(e,r){const t=this.getHashedMetricName(e,r);if(!this._children.has(t)){const i=new s(this.tagsWith(r),e);this._children.set(t,i)}return this._children.get(t)}counter(e,r){const t=this.getHashedMetricName(e,r);if(!this._counters.has(t)){const n=new i.InMemoryCounterMetric(e,this.tagsWith(r));this._counters.set(t,n)}return this._counters.get(t)}counterByName(e){const r=Array.from(this.getCounters().values()).filter((r=>r.getName()===e));if(1!==r.length)throw new Error(`Expected to find a single counter with name ${e}, but found ${r.length}`);return r[0]}gauge(e,r){const t=this.getHashedMetricName(e,r);if(!this._gauges.has(t)){const i=new n.InMemoryGaugeMetric(e,this.tagsWith(r));this._gauges.set(t,i)}return this._gauges.get(t)}gaugeByName(e){const r=Array.from(this.getGauges().values()).filter((r=>r.getName()===e));if(1!==r.length)throw new Error(`Expected to find a single gauge with name ${e}, but found ${r.length}`);return r[0]}timerByName(e){const r=this._timers.find((r=>r.getName()===e));if(!r)throw new Error(`Failed to find timer with name ${e}`);return r}timing(e,r){const t=new a.InMemoryTimedMetric(e,this.tagsWith(r));return this._timers.push(t),t}event(e,r){throw new Error("Events are not implemented.")}set(e,r){throw new Error("Sets are not implemented.")}histogram(e,r,t){throw new Error("Histograms are not implemented.")}}r.InMemoryMetrics=s},6521:function(e,r,t){"use strict";var i=this&&this.__createBinding||(Object.create?function(e,r,t,i){void 0===i&&(i=t);var n=Object.getOwnPropertyDescriptor(r,t);n&&!("get"in n?!r.__esModule:n.writable||n.configurable)||(n={enumerable:!0,get:function(){return r[t]}}),Object.defineProperty(e,i,n)}:function(e,r,t,i){void 0===i&&(i=t),e[i]=r[t]}),n=this&&this.__exportStar||function(e,r){for(var t in e)"default"===t||Object.prototype.hasOwnProperty.call(r,t)||i(r,e,t)};Object.defineProperty(r,"__esModule",{value:!0}),n(t(4772),r)},4772:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.NoMetrics=r.Timing=void 0;const i=t(643),n=i.performance.now.bind(i.performance);var o;!function(e){e.measure=(e,r)=>{const t=r?.now||n,i=t();return{stop:n=>{const o=t()-i,a=parseFloat(o.toFixed(r?.precision));return e(a,n),a}}}}(o||(r.Timing=o={})),r.NoMetrics=class{child(e){return this}counter(e){return{incr:()=>{},decr:()=>{},incrBy:e=>{},decrBy:e=>{}}}gauge(e){return{set:e=>{}}}set(e){return{add:e=>{}}}timing(e){return{set:e=>{},measure:()=>({stop:()=>0})}}histogram(e){return{set:e=>{},measure:()=>({stop:()=>0})}}event(e,r){}}},6982:e=>{"use strict";e.exports=require("crypto")},4434:e=>{"use strict";e.exports=require("events")},9896:e=>{"use strict";e.exports=require("fs")},8611:e=>{"use strict";e.exports=require("http")},5692:e=>{"use strict";e.exports=require("https")},9278:e=>{"use strict";e.exports=require("net")},643:e=>{"use strict";e.exports=require("node:perf_hooks")},6928:e=>{"use strict";e.exports=require("path")},2987:e=>{"use strict";e.exports=require("perf_hooks")},2203:e=>{"use strict";e.exports=require("stream")},4756:e=>{"use strict";e.exports=require("tls")},7016:e=>{"use strict";e.exports=require("url")},9023:e=>{"use strict";e.exports=require("util")},3106:e=>{"use strict";e.exports=require("zlib")},3285:(e,r,t)=>{"use strict";var i=t(9399),n=t(3205),o=t(2262),a=t(847),s=t(6783),u=t(8302),c=t(2918);function d(e,r,t,i,n,o){const a="block-map"===t.type?s.resolveBlockMap(e,r,t,i,o):"block-seq"===t.type?u.resolveBlockSeq(e,r,t,i,o):c.resolveFlowCollection(e,r,t,i,o),d=a.constructor;return"!"===n||n===d.tagName?(a.tag=d.tagName,a):(n&&(a.tag=n),a)}r.composeCollection=function(e,r,t,s,u){const c=s?r.directives.tagName(s.source,(e=>u(s,"TAG_RESOLVE_FAILED",e))):null,l="block-map"===t.type?"map":"block-seq"===t.type?"seq":"{"===t.start.source?"map":"seq";if(!s||!c||"!"===c||c===o.YAMLMap.tagName&&"map"===l||c===a.YAMLSeq.tagName&&"seq"===l||!l)return d(e,r,t,u,c);let I=r.schema.tags.find((e=>e.tag===c&&e.collection===l));if(!I){const i=r.schema.knownTags[c];if(!i||i.collection!==l)return i?.collection?u(s,"BAD_COLLECTION_TYPE",`${i.tag} used for ${l} collection, but expects ${i.collection}`,!0):u(s,"TAG_RESOLVE_FAILED",`Unresolved tag: ${c}`,!0),d(e,r,t,u,c);r.schema.tags.push(Object.assign({},i,{default:!1})),I=i}const p=d(e,r,t,u,c,I),f=I.resolve?.(p,(e=>u(s,"TAG_RESOLVE_FAILED",e)),r.options)??p,m=i.isNode(f)?f:new n.Scalar(f);return m.range=p.range,m.tag=c,I?.format&&(m.format=I.format),m}},1683:(e,r,t)=>{"use strict";var i=t(2333),n=t(5729),o=t(3484),a=t(423);r.composeDoc=function(e,r,{offset:t,start:s,value:u,end:c},d){const l=Object.assign({_directives:r},e),I=new i.Document(void 0,l),p={atRoot:!0,directives:I.directives,options:I.options,schema:I.schema},f=a.resolveProps(s,{indicator:"doc-start",next:u??c?.[0],offset:t,onError:d,startOnNewline:!0});f.found&&(I.directives.docStart=!0,!u||"block-map"!==u.type&&"block-seq"!==u.type||f.hasNewline||d(f.end,"MISSING_CHAR","Block collection cannot start on same line with directives-end marker")),I.contents=u?n.composeNode(p,u,f,d):n.composeEmptyNode(p,f.end,s,null,f,d);const m=I.contents.range[2],h=o.resolveEnd(c,m,!1,d);return h.comment&&(I.comment=h.comment),I.range=[t,m,h.offset],I}},5729:(e,r,t)=>{"use strict";var i=t(9281),n=t(3285),o=t(8917),a=t(3484),s=t(9943);const u={composeNode:c,composeEmptyNode:d};function c(e,r,t,s){const{spaceBefore:c,comment:l,anchor:I,tag:p}=t;let f,m=!0;switch(r.type){case"alias":f=function({options:e},{offset:r,source:t,end:n},o){const s=new i.Alias(t.substring(1));""===s.source&&o(r,"BAD_ALIAS","Alias cannot be an empty string"),s.source.endsWith(":")&&o(r+t.length-1,"BAD_ALIAS","Alias ending in : is ambiguous",!0);const u=r+t.length,c=a.resolveEnd(n,u,e.strict,o);return s.range=[r,u,c.offset],c.comment&&(s.comment=c.comment),s}(e,r,s),(I||p)&&s(r,"ALIAS_PROPS","An alias node must not specify any properties");break;case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":case"block-scalar":f=o.composeScalar(e,r,p,s),I&&(f.anchor=I.source.substring(1));break;case"block-map":case"block-seq":case"flow-collection":f=n.composeCollection(u,e,r,p,s),I&&(f.anchor=I.source.substring(1));break;default:s(r,"UNEXPECTED_TOKEN","error"===r.type?r.message:`Unsupported token (type: ${r.type})`),f=d(e,r.offset,void 0,null,t,s),m=!1}return I&&""===f.anchor&&s(I,"BAD_ALIAS","Anchor cannot be an empty string"),c&&(f.spaceBefore=!0),l&&("scalar"===r.type&&""===r.source?f.comment=l:f.commentBefore=l),e.options.keepSourceTokens&&m&&(f.srcToken=r),f}function d(e,r,t,i,{spaceBefore:n,comment:a,anchor:u,tag:c,end:d},l){const I={type:"scalar",offset:s.emptyScalarPosition(r,t,i),indent:-1,source:""},p=o.composeScalar(e,I,c,l);return u&&(p.anchor=u.source.substring(1),""===p.anchor&&l(u,"BAD_ALIAS","Anchor cannot be an empty string")),n&&(p.spaceBefore=!0),a&&(p.comment=a,p.range[2]=d),p}r.composeEmptyNode=d,r.composeNode=c},8917:(e,r,t)=>{"use strict";var i=t(9399),n=t(3205),o=t(6945),a=t(2362);r.composeScalar=function(e,r,t,s){const{value:u,type:c,comment:d,range:l}="block-scalar"===r.type?o.resolveBlockScalar(r,e.options.strict,s):a.resolveFlowScalar(r,e.options.strict,s),I=t?e.directives.tagName(t.source,(e=>s(t,"TAG_RESOLVE_FAILED",e))):null,p=t&&I?function(e,r,t,n,o){if("!"===t)return e[i.SCALAR];const a=[];for(const r of e.tags)if(!r.collection&&r.tag===t){if(!r.default||!r.test)return r;a.push(r)}for(const e of a)if(e.test?.test(r))return e;const s=e.knownTags[t];return s&&!s.collection?(e.tags.push(Object.assign({},s,{default:!1,test:void 0})),s):(o(n,"TAG_RESOLVE_FAILED",`Unresolved tag: ${t}`,"tag:yaml.org,2002:str"!==t),e[i.SCALAR])}(e.schema,u,I,t,s):"scalar"===r.type?function({directives:e,schema:r},t,n,o){const a=r.tags.find((e=>e.default&&e.test?.test(t)))||r[i.SCALAR];if(r.compat){const s=r.compat.find((e=>e.default&&e.test?.test(t)))??r[i.SCALAR];a.tag!==s.tag&&o(n,"TAG_RESOLVE_FAILED",`Value may be parsed as either ${e.tagString(a.tag)} or ${e.tagString(s.tag)}`,!0)}return a}(e,u,r,s):e.schema[i.SCALAR];let f;try{const o=p.resolve(u,(e=>s(t??r,"TAG_RESOLVE_FAILED",e)),e.options);f=i.isScalar(o)?o:new n.Scalar(o)}catch(e){const i=e instanceof Error?e.message:String(e);s(t??r,"TAG_RESOLVE_FAILED",i),f=new n.Scalar(u)}return f.range=l,f.source=u,c&&(f.type=c),I&&(f.tag=I),p.format&&(f.format=p.format),d&&(f.comment=d),f}},8480:(e,r,t)=>{"use strict";var i=t(4670),n=t(2333),o=t(1656),a=t(9399),s=t(1683),u=t(3484);function c(e){if("number"==typeof e)return[e,e+1];if(Array.isArray(e))return 2===e.length?e:[e[0],e[1]];const{offset:r,source:t}=e;return[r,r+("string"==typeof t?t.length:1)]}function d(e){let r="",t=!1,i=!1;for(let n=0;n<e.length;++n){const o=e[n];switch(o[0]){case"#":r+=(""===r?"":i?"\n\n":"\n")+(o.substring(1)||" "),t=!0,i=!1;break;case"%":"#"!==e[n+1]?.[0]&&(n+=1),t=!1;break;default:t||(i=!0),t=!1}}return{comment:r,afterEmptyLine:i}}r.Composer=class{constructor(e={}){this.doc=null,this.atDirectives=!1,this.prelude=[],this.errors=[],this.warnings=[],this.onError=(e,r,t,i)=>{const n=c(e);i?this.warnings.push(new o.YAMLWarning(n,r,t)):this.errors.push(new o.YAMLParseError(n,r,t))},this.directives=new i.Directives({version:e.version||"1.2"}),this.options=e}decorate(e,r){const{comment:t,afterEmptyLine:i}=d(this.prelude);if(t){const n=e.contents;if(r)e.comment=e.comment?`${e.comment}\n${t}`:t;else if(i||e.directives.docStart||!n)e.commentBefore=t;else if(a.isCollection(n)&&!n.flow&&n.items.length>0){let e=n.items[0];a.isPair(e)&&(e=e.key);const r=e.commentBefore;e.commentBefore=r?`${t}\n${r}`:t}else{const e=n.commentBefore;n.commentBefore=e?`${t}\n${e}`:t}}r?(Array.prototype.push.apply(e.errors,this.errors),Array.prototype.push.apply(e.warnings,this.warnings)):(e.errors=this.errors,e.warnings=this.warnings),this.prelude=[],this.errors=[],this.warnings=[]}streamInfo(){return{comment:d(this.prelude).comment,directives:this.directives,errors:this.errors,warnings:this.warnings}}*compose(e,r=!1,t=-1){for(const r of e)yield*this.next(r);yield*this.end(r,t)}*next(e){switch(process.env.LOG_STREAM&&console.dir(e,{depth:null}),e.type){case"directive":this.directives.add(e.source,((r,t,i)=>{const n=c(e);n[0]+=r,this.onError(n,"BAD_DIRECTIVE",t,i)})),this.prelude.push(e.source),this.atDirectives=!0;break;case"document":{const r=s.composeDoc(this.options,this.directives,e,this.onError);this.atDirectives&&!r.directives.docStart&&this.onError(e,"MISSING_CHAR","Missing directives-end/doc-start indicator line"),this.decorate(r,!1),this.doc&&(yield this.doc),this.doc=r,this.atDirectives=!1;break}case"byte-order-mark":case"space":break;case"comment":case"newline":this.prelude.push(e.source);break;case"error":{const r=e.source?`${e.message}: ${JSON.stringify(e.source)}`:e.message,t=new o.YAMLParseError(c(e),"UNEXPECTED_TOKEN",r);this.atDirectives||!this.doc?this.errors.push(t):this.doc.errors.push(t);break}case"doc-end":{if(!this.doc){const r="Unexpected doc-end without preceding document";this.errors.push(new o.YAMLParseError(c(e),"UNEXPECTED_TOKEN",r));break}this.doc.directives.docEnd=!0;const r=u.resolveEnd(e.end,e.offset+e.source.length,this.doc.options.strict,this.onError);if(this.decorate(this.doc,!0),r.comment){const e=this.doc.comment;this.doc.comment=e?`${e}\n${r.comment}`:r.comment}this.doc.range[2]=r.offset;break}default:this.errors.push(new o.YAMLParseError(c(e),"UNEXPECTED_TOKEN",`Unsupported token ${e.type}`))}}*end(e=!1,r=-1){if(this.doc)this.decorate(this.doc,!0),yield this.doc,this.doc=null;else if(e){const e=Object.assign({_directives:this.directives},this.options),t=new n.Document(void 0,e);this.atDirectives&&this.onError(r,"MISSING_CHAR","Missing directives-end indicator line"),t.range=[0,r,r],this.decorate(t,!1),yield t}}}},6783:(e,r,t)=>{"use strict";var i=t(4237),n=t(2262),o=t(423),a=t(2187),s=t(4851),u=t(5203);const c="All mapping items must start at the same column";r.resolveBlockMap=function({composeNode:e,composeEmptyNode:r},t,d,l,I){const p=new(I?.nodeClass??n.YAMLMap)(t.schema);t.atRoot&&(t.atRoot=!1);let f=d.offset,m=null;for(const n of d.items){const{start:I,key:h,sep:g,value:v}=n,y=o.resolveProps(I,{indicator:"explicit-key-ind",next:h??g?.[0],offset:f,onError:l,startOnNewline:!0}),w=!y.found;if(w){if(h&&("block-seq"===h.type?l(f,"BLOCK_AS_IMPLICIT_KEY","A block sequence may not be used as an implicit map key"):"indent"in h&&h.indent!==d.indent&&l(f,"BAD_INDENT",c)),!y.anchor&&!y.tag&&!g){m=y.end,y.comment&&(p.comment?p.comment+="\n"+y.comment:p.comment=y.comment);continue}(y.hasNewlineAfterProp||a.containsNewline(h))&&l(h??I[I.length-1],"MULTILINE_IMPLICIT_KEY","Implicit keys need to be on a single line")}else y.found?.indent!==d.indent&&l(f,"BAD_INDENT",c);const S=y.end,_=h?e(t,h,y,l):r(t,S,I,null,y,l);t.schema.compat&&s.flowIndentCheck(d.indent,h,l),u.mapIncludes(t,p.items,_)&&l(S,"DUPLICATE_KEY","Map keys must be unique");const b=o.resolveProps(g??[],{indicator:"map-value-ind",next:v,offset:_.range[2],onError:l,startOnNewline:!h||"block-scalar"===h.type});if(f=b.end,b.found){w&&("block-map"!==v?.type||b.hasNewline||l(f,"BLOCK_AS_IMPLICIT_KEY","Nested mappings are not allowed in compact mappings"),t.options.strict&&y.start<b.found.offset-1024&&l(_.range,"KEY_OVER_1024_CHARS","The : indicator must be at most 1024 chars after the start of an implicit block mapping key"));const o=v?e(t,v,b,l):r(t,f,g,null,b,l);t.schema.compat&&s.flowIndentCheck(d.indent,v,l),f=o.range[2];const a=new i.Pair(_,o);t.options.keepSourceTokens&&(a.srcToken=n),p.items.push(a)}else{w&&l(_.range,"MISSING_CHAR","Implicit map keys need to be followed by map values"),b.comment&&(_.comment?_.comment+="\n"+b.comment:_.comment=b.comment);const e=new i.Pair(_);t.options.keepSourceTokens&&(e.srcToken=n),p.items.push(e)}}return m&&m<f&&l(m,"IMPOSSIBLE","Map comment with trailing content"),p.range=[d.offset,f,m??f],p}},6945:(e,r,t)=>{"use strict";var i=t(3205);r.resolveBlockScalar=function(e,r,t){const n=e.offset,o=function({offset:e,props:r},t,i){if("block-scalar-header"!==r[0].type)return i(r[0],"IMPOSSIBLE","Block scalar header not found"),null;const{source:n}=r[0],o=n[0];let a=0,s="",u=-1;for(let r=1;r<n.length;++r){const t=n[r];if(s||"-"!==t&&"+"!==t){const i=Number(t);!a&&i?a=i:-1===u&&(u=e+r)}else s=t}-1!==u&&i(u,"UNEXPECTED_TOKEN",`Block scalar header includes extra characters: ${n}`);let c=!1,d="",l=n.length;for(let e=1;e<r.length;++e){const n=r[e];switch(n.type){case"space":c=!0;case"newline":l+=n.source.length;break;case"comment":t&&!c&&i(n,"MISSING_CHAR","Comments must be separated from other tokens by white space characters"),l+=n.source.length,d=n.source.substring(1);break;case"error":i(n,"UNEXPECTED_TOKEN",n.message),l+=n.source.length;break;default:{i(n,"UNEXPECTED_TOKEN",`Unexpected token in block scalar header: ${n.type}`);const e=n.source;e&&"string"==typeof e&&(l+=e.length)}}}return{mode:o,indent:a,chomp:s,comment:d,length:l}}(e,r,t);if(!o)return{value:"",type:null,comment:"",range:[n,n,n]};const a=">"===o.mode?i.Scalar.BLOCK_FOLDED:i.Scalar.BLOCK_LITERAL,s=e.source?function(e){const r=e.split(/\n( *)/),t=r[0],i=t.match(/^( *)/),n=[i?.[1]?[i[1],t.slice(i[1].length)]:["",t]];for(let e=1;e<r.length;e+=2)n.push([r[e],r[e+1]]);return n}(e.source):[];let u=s.length;for(let e=s.length-1;e>=0;--e){const r=s[e][1];if(""!==r&&"\r"!==r)break;u=e}if(0===u){const r="+"===o.chomp&&s.length>0?"\n".repeat(Math.max(1,s.length-1)):"";let t=n+o.length;return e.source&&(t+=e.source.length),{value:r,type:a,comment:o.comment,range:[n,t,t]}}let c=e.indent+o.indent,d=e.offset+o.length,l=0;for(let e=0;e<u;++e){const[r,i]=s[e];if(""!==i&&"\r"!==i){if(r.length<c){const e="Block scalars with more-indented leading empty lines must use an explicit indentation indicator";t(d+r.length,"MISSING_CHAR",e)}0===o.indent&&(c=r.length),l=e;break}0===o.indent&&r.length>c&&(c=r.length),d+=r.length+i.length+1}for(let e=s.length-1;e>=u;--e)s[e][0].length>c&&(u=e+1);let I="",p="",f=!1;for(let e=0;e<l;++e)I+=s[e][0].slice(c)+"\n";for(let e=l;e<u;++e){let[r,n]=s[e];d+=r.length+n.length+1;const u="\r"===n[n.length-1];if(u&&(n=n.slice(0,-1)),n&&r.length<c){const e="Block scalar lines must not be less indented than their "+(o.indent?"explicit indentation indicator":"first line");t(d-n.length-(u?2:1),"BAD_INDENT",e),r=""}a===i.Scalar.BLOCK_LITERAL?(I+=p+r.slice(c)+n,p="\n"):r.length>c||"\t"===n[0]?(" "===p?p="\n":f||"\n"!==p||(p="\n\n"),I+=p+r.slice(c)+n,p="\n",f=!0):""===n?"\n"===p?I+="\n":p="\n":(I+=p+n,p=" ",f=!1)}switch(o.chomp){case"-":break;case"+":for(let e=u;e<s.length;++e)I+="\n"+s[e][0].slice(c);"\n"!==I[I.length-1]&&(I+="\n");break;default:I+="\n"}const m=n+o.length+e.source.length;return{value:I,type:a,comment:o.comment,range:[n,m,m]}}},8302:(e,r,t)=>{"use strict";var i=t(847),n=t(423),o=t(4851);r.resolveBlockSeq=function({composeNode:e,composeEmptyNode:r},t,a,s,u){const c=new(u?.nodeClass??i.YAMLSeq)(t.schema);t.atRoot&&(t.atRoot=!1);let d=a.offset,l=null;for(const{start:i,value:u}of a.items){const I=n.resolveProps(i,{indicator:"seq-item-ind",next:u,offset:d,onError:s,startOnNewline:!0});if(!I.found){if(!(I.anchor||I.tag||u)){l=I.end,I.comment&&(c.comment=I.comment);continue}u&&"block-seq"===u.type?s(I.end,"BAD_INDENT","All sequence items must start at the same column"):s(d,"MISSING_CHAR","Sequence item without - indicator")}const p=u?e(t,u,I,s):r(t,I.end,i,null,I,s);t.schema.compat&&o.flowIndentCheck(a.indent,u,s),d=p.range[2],c.items.push(p)}return c.range=[a.offset,d,l??d],c}},3484:(e,r)=>{"use strict";r.resolveEnd=function(e,r,t,i){let n="";if(e){let o=!1,a="";for(const s of e){const{source:e,type:u}=s;switch(u){case"space":o=!0;break;case"comment":{t&&!o&&i(s,"MISSING_CHAR","Comments must be separated from other tokens by white space characters");const r=e.substring(1)||" ";n?n+=a+r:n=r,a="";break}case"newline":n&&(a+=e),o=!0;break;default:i(s,"UNEXPECTED_TOKEN",`Unexpected ${u} at node end`)}r+=e.length}}return{comment:n,offset:r}}},2918:(e,r,t)=>{"use strict";var i=t(9399),n=t(4237),o=t(2262),a=t(847),s=t(3484),u=t(423),c=t(2187),d=t(5203);const l="Block collections are not allowed within flow collections",I=e=>e&&("block-map"===e.type||"block-seq"===e.type);r.resolveFlowCollection=function({composeNode:e,composeEmptyNode:r},t,p,f,m){const h="{"===p.start.source,g=h?"flow map":"flow sequence",v=new(m?.nodeClass??(h?o.YAMLMap:a.YAMLSeq))(t.schema);v.flow=!0;const y=t.atRoot;y&&(t.atRoot=!1);let w=p.offset+p.start.source.length;for(let a=0;a<p.items.length;++a){const s=p.items[a],{start:m,key:y,sep:S,value:_}=s,b=u.resolveProps(m,{flow:g,indicator:"explicit-key-ind",next:y??S?.[0],offset:w,onError:f,startOnNewline:!1});if(!b.found){if(!(b.anchor||b.tag||S||_)){0===a&&b.comma?f(b.comma,"UNEXPECTED_TOKEN",`Unexpected , in ${g}`):a<p.items.length-1&&f(b.start,"UNEXPECTED_TOKEN",`Unexpected empty item in ${g}`),b.comment&&(v.comment?v.comment+="\n"+b.comment:v.comment=b.comment),w=b.end;continue}!h&&t.options.strict&&c.containsNewline(y)&&f(y,"MULTILINE_IMPLICIT_KEY","Implicit keys of flow sequence pairs need to be on a single line")}if(0===a)b.comma&&f(b.comma,"UNEXPECTED_TOKEN",`Unexpected , in ${g}`);else if(b.comma||f(b.start,"MISSING_CHAR",`Missing , between ${g} items`),b.comment){let e="";e:for(const r of m)switch(r.type){case"comma":case"space":break;case"comment":e=r.source.substring(1);break e;default:break e}if(e){let r=v.items[v.items.length-1];i.isPair(r)&&(r=r.value??r.key),r.comment?r.comment+="\n"+e:r.comment=e,b.comment=b.comment.substring(e.length+1)}}if(h||S||b.found){const i=b.end,a=y?e(t,y,b,f):r(t,i,m,null,b,f);I(y)&&f(a.range,"BLOCK_IN_FLOW",l);const c=u.resolveProps(S??[],{flow:g,indicator:"map-value-ind",next:_,offset:a.range[2],onError:f,startOnNewline:!1});if(c.found){if(!h&&!b.found&&t.options.strict){if(S)for(const e of S){if(e===c.found)break;if("newline"===e.type){f(e,"MULTILINE_IMPLICIT_KEY","Implicit keys of flow sequence pairs need to be on a single line");break}}b.start<c.found.offset-1024&&f(c.found,"KEY_OVER_1024_CHARS","The : indicator must be at most 1024 chars after the start of an implicit flow sequence key")}}else _&&("source"in _&&_.source&&":"===_.source[0]?f(_,"MISSING_CHAR",`Missing space after : in ${g}`):f(c.start,"MISSING_CHAR",`Missing , or : between ${g} items`));const p=_?e(t,_,c,f):c.found?r(t,c.end,S,null,c,f):null;p?I(_)&&f(p.range,"BLOCK_IN_FLOW",l):c.comment&&(a.comment?a.comment+="\n"+c.comment:a.comment=c.comment);const T=new n.Pair(a,p);if(t.options.keepSourceTokens&&(T.srcToken=s),h){const e=v;d.mapIncludes(t,e.items,a)&&f(i,"DUPLICATE_KEY","Map keys must be unique"),e.items.push(T)}else{const e=new o.YAMLMap(t.schema);e.flow=!0,e.items.push(T),v.items.push(e)}w=p?p.range[2]:c.end}else{const i=_?e(t,_,b,f):r(t,b.end,S,null,b,f);v.items.push(i),w=i.range[2],I(_)&&f(i.range,"BLOCK_IN_FLOW",l)}}const S=h?"}":"]",[_,...b]=p.end;let T=w;if(_&&_.source===S)T=_.offset+_.source.length;else{const e=g[0].toUpperCase()+g.substring(1);f(w,y?"MISSING_CHAR":"BAD_INDENT",y?`${e} must end with a ${S}`:`${e} in block collection must be sufficiently indented and end with a ${S}`),_&&1!==_.source.length&&b.unshift(_)}if(b.length>0){const e=s.resolveEnd(b,T,t.options.strict,f);e.comment&&(v.comment?v.comment+="\n"+e.comment:v.comment=e.comment),v.range=[p.offset,T,e.offset]}else v.range=[p.offset,T,T];return v}},2362:(e,r,t)=>{"use strict";var i=t(3205),n=t(3484);function o(e){let r,t;try{r=new RegExp("(.*?)(?<![ \t])[ \t]*\r?\n","sy"),t=new RegExp("[ \t]*(.*?)(?:(?<![ \t])[ \t]*)?\r?\n","sy")}catch(e){r=/(.*?)[ \t]*\r?\n/sy,t=/[ \t]*(.*?)[ \t]*\r?\n/sy}let i=r.exec(e);if(!i)return e;let n=i[1],o=" ",a=r.lastIndex;for(t.lastIndex=a;i=t.exec(e);)""===i[1]?"\n"===o?n+=o:o="\n":(n+=o+i[1],o=" "),a=t.lastIndex;const s=/[ \t]*(.*)/sy;return s.lastIndex=a,i=s.exec(e),n+o+(i?.[1]??"")}function a(e,r){let t="",i=e[r+1];for(;!(" "!==i&&"\t"!==i&&"\n"!==i&&"\r"!==i||"\r"===i&&"\n"!==e[r+2]);)"\n"===i&&(t+="\n"),i=e[(r+=1)+1];return t||(t=" "),{fold:t,offset:r}}const s={0:"\0",a:"",b:"\b",e:"",f:"\f",n:"\n",r:"\r",t:"\t",v:"\v",N:"…",_:" ",L:"\u2028",P:"\u2029"," ":" ",'"':'"',"/":"/","\\":"\\","\t":"\t"};function u(e,r,t,i){const n=e.substr(r,t),o=n.length===t&&/^[0-9a-fA-F]+$/.test(n)?parseInt(n,16):NaN;if(isNaN(o)){const n=e.substr(r-2,t+2);return i(r-2,"BAD_DQ_ESCAPE",`Invalid escape sequence ${n}`),n}return String.fromCodePoint(o)}r.resolveFlowScalar=function(e,r,t){const{offset:c,type:d,source:l,end:I}=e;let p,f;const m=(e,r,i)=>t(c+e,r,i);switch(d){case"scalar":p=i.Scalar.PLAIN,f=function(e,r){let t="";switch(e[0]){case"\t":t="a tab character";break;case",":t="flow indicator character ,";break;case"%":t="directive indicator character %";break;case"|":case">":t=`block scalar indicator ${e[0]}`;break;case"@":case"`":t=`reserved character ${e[0]}`}return t&&r(0,"BAD_SCALAR_START",`Plain value cannot start with ${t}`),o(e)}(l,m);break;case"single-quoted-scalar":p=i.Scalar.QUOTE_SINGLE,f=function(e,r){return"'"===e[e.length-1]&&1!==e.length||r(e.length,"MISSING_CHAR","Missing closing 'quote"),o(e.slice(1,-1)).replace(/''/g,"'")}(l,m);break;case"double-quoted-scalar":p=i.Scalar.QUOTE_DOUBLE,f=function(e,r){let t="";for(let i=1;i<e.length-1;++i){const n=e[i];if("\r"!==n||"\n"!==e[i+1])if("\n"===n){const{fold:r,offset:n}=a(e,i);t+=r,i=n}else if("\\"===n){let n=e[++i];const o=s[n];if(o)t+=o;else if("\n"===n)for(n=e[i+1];" "===n||"\t"===n;)n=e[1+ ++i];else if("\r"===n&&"\n"===e[i+1])for(n=e[1+ ++i];" "===n||"\t"===n;)n=e[1+ ++i];else if("x"===n||"u"===n||"U"===n){const o={x:2,u:4,U:8}[n];t+=u(e,i+1,o,r),i+=o}else{const n=e.substr(i-1,2);r(i-1,"BAD_DQ_ESCAPE",`Invalid escape sequence ${n}`),t+=n}}else if(" "===n||"\t"===n){const r=i;let o=e[i+1];for(;" "===o||"\t"===o;)o=e[1+ ++i];"\n"===o||"\r"===o&&"\n"===e[i+2]||(t+=i>r?e.slice(r,i+1):n)}else t+=n}return'"'===e[e.length-1]&&1!==e.length||r(e.length,"MISSING_CHAR",'Missing closing "quote'),t}(l,m);break;default:return t(e,"UNEXPECTED_TOKEN",`Expected a flow scalar value, but found: ${d}`),{value:"",type:null,comment:"",range:[c,c+l.length,c+l.length]}}const h=c+l.length,g=n.resolveEnd(I,h,r,t);return{value:f,type:p,comment:g.comment,range:[c,h,g.offset]}}},423:(e,r)=>{"use strict";r.resolveProps=function(e,{flow:r,indicator:t,next:i,offset:n,onError:o,startOnNewline:a}){let s=!1,u=a,c=a,d="",l="",I=!1,p=!1,f=!1,m=null,h=null,g=null,v=null,y=null;for(const i of e)switch(f&&("space"!==i.type&&"newline"!==i.type&&"comma"!==i.type&&o(i.offset,"MISSING_CHAR","Tags and anchors must be separated from the next token by white space"),f=!1),i.type){case"space":!r&&u&&"doc-start"!==t&&"\t"===i.source[0]&&o(i,"TAB_AS_INDENT","Tabs are not allowed as indentation"),c=!0;break;case"comment":{c||o(i,"MISSING_CHAR","Comments must be separated from other tokens by white space characters");const e=i.source.substring(1)||" ";d?d+=l+e:d=e,l="",u=!1;break}case"newline":u?d?d+=i.source:s=!0:l+=i.source,u=!0,I=!0,(m||h)&&(p=!0),c=!0;break;case"anchor":m&&o(i,"MULTIPLE_ANCHORS","A node can have at most one anchor"),i.source.endsWith(":")&&o(i.offset+i.source.length-1,"BAD_ALIAS","Anchor ending in : is ambiguous",!0),m=i,null===y&&(y=i.offset),u=!1,c=!1,f=!0;break;case"tag":h&&o(i,"MULTIPLE_TAGS","A node can have at most one tag"),h=i,null===y&&(y=i.offset),u=!1,c=!1,f=!0;break;case t:(m||h)&&o(i,"BAD_PROP_ORDER",`Anchors and tags must be after the ${i.source} indicator`),v&&o(i,"UNEXPECTED_TOKEN",`Unexpected ${i.source} in ${r??"collection"}`),v=i,u=!1,c=!1;break;case"comma":if(r){g&&o(i,"UNEXPECTED_TOKEN",`Unexpected , in ${r}`),g=i,u=!1,c=!1;break}default:o(i,"UNEXPECTED_TOKEN",`Unexpected ${i.type} token`),u=!1,c=!1}const w=e[e.length-1],S=w?w.offset+w.source.length:n;return f&&i&&"space"!==i.type&&"newline"!==i.type&&"comma"!==i.type&&("scalar"!==i.type||""!==i.source)&&o(i.offset,"MISSING_CHAR","Tags and anchors must be separated from the next token by white space"),{comma:g,found:v,spaceBefore:s,comment:d,hasNewline:I,hasNewlineAfterProp:p,anchor:m,tag:h,end:S,start:y??S}}},2187:(e,r)=>{"use strict";r.containsNewline=function e(r){if(!r)return null;switch(r.type){case"alias":case"scalar":case"double-quoted-scalar":case"single-quoted-scalar":if(r.source.includes("\n"))return!0;if(r.end)for(const e of r.end)if("newline"===e.type)return!0;return!1;case"flow-collection":for(const t of r.items){for(const e of t.start)if("newline"===e.type)return!0;if(t.sep)for(const e of t.sep)if("newline"===e.type)return!0;if(e(t.key)||e(t.value))return!0}return!1;default:return!0}}},9943:(e,r)=>{"use strict";r.emptyScalarPosition=function(e,r,t){if(r){null===t&&(t=r.length);for(let i=t-1;i>=0;--i){let t=r[i];switch(t.type){case"space":case"comment":case"newline":e-=t.source.length;continue}for(t=r[++i];"space"===t?.type;)e+=t.source.length,t=r[++i];break}}return e}},4851:(e,r,t)=>{"use strict";var i=t(2187);r.flowIndentCheck=function(e,r,t){if("flow-collection"===r?.type){const n=r.end[0];n.indent!==e||"]"!==n.source&&"}"!==n.source||!i.containsNewline(r)||t(n,"BAD_INDENT","Flow end indicator should be more indented than parent",!0)}}},5203:(e,r,t)=>{"use strict";var i=t(9399);r.mapIncludes=function(e,r,t){const{uniqueKeys:n}=e.options;if(!1===n)return!1;const o="function"==typeof n?n:(r,t)=>r===t||i.isScalar(r)&&i.isScalar(t)&&r.value===t.value&&!("<<"===r.value&&e.schema.merge);return r.some((e=>o(e.key,t)))}},2333:(e,r,t)=>{"use strict";var i=t(9281),n=t(2997),o=t(9399),a=t(4237),s=t(3947),u=t(7840),c=t(1677),d=t(8028),l=t(7197),I=t(4532),p=t(4670);class f{constructor(e,r,t){this.commentBefore=null,this.comment=null,this.errors=[],this.warnings=[],Object.defineProperty(this,o.NODE_TYPE,{value:o.DOC});let i=null;"function"==typeof r||Array.isArray(r)?i=r:void 0===t&&r&&(t=r,r=void 0);const n=Object.assign({intAsBigInt:!1,keepSourceTokens:!1,logLevel:"warn",prettyErrors:!0,strict:!0,uniqueKeys:!0,version:"1.2"},t);this.options=n;let{version:a}=n;t?._directives?(this.directives=t._directives.atDocument(),this.directives.yaml.explicit&&(a=this.directives.yaml.version)):this.directives=new p.Directives({version:a}),this.setSchema(a,t),this.contents=void 0===e?null:this.createNode(e,i,t)}clone(){const e=Object.create(f.prototype,{[o.NODE_TYPE]:{value:o.DOC}});return e.commentBefore=this.commentBefore,e.comment=this.comment,e.errors=this.errors.slice(),e.warnings=this.warnings.slice(),e.options=Object.assign({},this.options),this.directives&&(e.directives=this.directives.clone()),e.schema=this.schema.clone(),e.contents=o.isNode(this.contents)?this.contents.clone(e.schema):this.contents,this.range&&(e.range=this.range.slice()),e}add(e){m(this.contents)&&this.contents.add(e)}addIn(e,r){m(this.contents)&&this.contents.addIn(e,r)}createAlias(e,r){if(!e.anchor){const t=d.anchorNames(this);e.anchor=!r||t.has(r)?d.findNewAnchor(r||"a",t):r}return new i.Alias(e.anchor)}createNode(e,r,t){let i;if("function"==typeof r)e=r.call({"":e},"",e),i=r;else if(Array.isArray(r)){const e=e=>"number"==typeof e||e instanceof String||e instanceof Number,t=r.filter(e).map(String);t.length>0&&(r=r.concat(t)),i=r}else void 0===t&&r&&(t=r,r=void 0);const{aliasDuplicateObjects:n,anchorPrefix:a,flow:s,keepUndefined:u,onTagObj:c,tag:l}=t??{},{onAnchor:p,setAnchors:f,sourceObjects:m}=d.createNodeAnchors(this,a||"a"),h={aliasDuplicateObjects:n??!0,keepUndefined:u??!1,onAnchor:p,onTagObj:c,replacer:i,schema:this.schema,sourceObjects:m},g=I.createNode(e,l,h);return s&&o.isCollection(g)&&(g.flow=!0),f(),g}createPair(e,r,t={}){const i=this.createNode(e,null,t),n=this.createNode(r,null,t);return new a.Pair(i,n)}delete(e){return!!m(this.contents)&&this.contents.delete(e)}deleteIn(e){return n.isEmptyPath(e)?null!=this.contents&&(this.contents=null,!0):!!m(this.contents)&&this.contents.deleteIn(e)}get(e,r){return o.isCollection(this.contents)?this.contents.get(e,r):void 0}getIn(e,r){return n.isEmptyPath(e)?!r&&o.isScalar(this.contents)?this.contents.value:this.contents:o.isCollection(this.contents)?this.contents.getIn(e,r):void 0}has(e){return!!o.isCollection(this.contents)&&this.contents.has(e)}hasIn(e){return n.isEmptyPath(e)?void 0!==this.contents:!!o.isCollection(this.contents)&&this.contents.hasIn(e)}set(e,r){null==this.contents?this.contents=n.collectionFromPath(this.schema,[e],r):m(this.contents)&&this.contents.set(e,r)}setIn(e,r){n.isEmptyPath(e)?this.contents=r:null==this.contents?this.contents=n.collectionFromPath(this.schema,Array.from(e),r):m(this.contents)&&this.contents.setIn(e,r)}setSchema(e,r={}){let t;switch("number"==typeof e&&(e=String(e)),e){case"1.1":this.directives?this.directives.yaml.version="1.1":this.directives=new p.Directives({version:"1.1"}),t={merge:!0,resolveKnownTags:!1,schema:"yaml-1.1"};break;case"1.2":case"next":this.directives?this.directives.yaml.version=e:this.directives=new p.Directives({version:e}),t={merge:!1,resolveKnownTags:!0,schema:"core"};break;case null:this.directives&&delete this.directives,t=null;break;default:{const r=JSON.stringify(e);throw new Error(`Expected '1.1', '1.2' or null as first argument, but found: ${r}`)}}if(r.schema instanceof Object)this.schema=r.schema;else{if(!t)throw new Error("With a null YAML version, the { schema: Schema } option is required");this.schema=new u.Schema(Object.assign(t,r))}}toJS({json:e,jsonArg:r,mapAsMap:t,maxAliasCount:i,onAnchor:n,reviver:o}={}){const a={anchors:new Map,doc:this,keep:!e,mapAsMap:!0===t,mapKeyWarned:!1,maxAliasCount:"number"==typeof i?i:100},u=s.toJS(this.contents,r??"",a);if("function"==typeof n)for(const{count:e,res:r}of a.anchors.values())n(r,e);return"function"==typeof o?l.applyReviver(o,{"":u},"",u):u}toJSON(e,r){return this.toJS({json:!0,jsonArg:e,mapAsMap:!1,onAnchor:r})}toString(e={}){if(this.errors.length>0)throw new Error("Document with errors cannot be stringified");if("indent"in e&&(!Number.isInteger(e.indent)||Number(e.indent)<=0)){const r=JSON.stringify(e.indent);throw new Error(`"indent" option must be a positive integer, not ${r}`)}return c.stringifyDocument(this,e)}}function m(e){if(o.isCollection(e))return!0;throw new Error("Expected a YAML collection as document contents")}r.Document=f},8028:(e,r,t)=>{"use strict";var i=t(9399),n=t(4364);function o(e){const r=new Set;return n.visit(e,{Value(e,t){t.anchor&&r.add(t.anchor)}}),r}function a(e,r){for(let t=1;;++t){const i=`${e}${t}`;if(!r.has(i))return i}}r.anchorIsValid=function(e){if(/[\x00-\x19\s,[\]{}]/.test(e)){const r=JSON.stringify(e);throw new Error(`Anchor must not contain whitespace or control characters: ${r}`)}return!0},r.anchorNames=o,r.createNodeAnchors=function(e,r){const t=[],n=new Map;let s=null;return{onAnchor:i=>{t.push(i),s||(s=o(e));const n=a(r,s);return s.add(n),n},setAnchors:()=>{for(const e of t){const r=n.get(e);if("object"!=typeof r||!r.anchor||!i.isScalar(r.node)&&!i.isCollection(r.node)){const r=new Error("Failed to resolve repeated object (this should not happen)");throw r.source=e,r}r.node.anchor=r.anchor}},sourceObjects:n}},r.findNewAnchor=a},7197:(e,r)=>{"use strict";r.applyReviver=function e(r,t,i,n){if(n&&"object"==typeof n)if(Array.isArray(n))for(let t=0,i=n.length;t<i;++t){const i=n[t],o=e(r,n,String(t),i);void 0===o?delete n[t]:o!==i&&(n[t]=o)}else if(n instanceof Map)for(const t of Array.from(n.keys())){const i=n.get(t),o=e(r,n,t,i);void 0===o?n.delete(t):o!==i&&n.set(t,o)}else if(n instanceof Set)for(const t of Array.from(n)){const i=e(r,n,t,t);void 0===i?n.delete(t):i!==t&&(n.delete(t),n.add(i))}else for(const[t,i]of Object.entries(n)){const o=e(r,n,t,i);void 0===o?delete n[t]:o!==i&&(n[t]=o)}return r.call(t,i,n)}},4532:(e,r,t)=>{"use strict";var i=t(9281),n=t(9399),o=t(3205);r.createNode=function(e,r,t){if(n.isDocument(e)&&(e=e.contents),n.isNode(e))return e;if(n.isPair(e)){const r=t.schema[n.MAP].createNode?.(t.schema,null,t);return r.items.push(e),r}(e instanceof String||e instanceof Number||e instanceof Boolean||"undefined"!=typeof BigInt&&e instanceof BigInt)&&(e=e.valueOf());const{aliasDuplicateObjects:a,onAnchor:s,onTagObj:u,schema:c,sourceObjects:d}=t;let l;if(a&&e&&"object"==typeof e){if(l=d.get(e),l)return l.anchor||(l.anchor=s(e)),new i.Alias(l.anchor);l={anchor:null,node:null},d.set(e,l)}r?.startsWith("!!")&&(r="tag:yaml.org,2002:"+r.slice(2));let I=function(e,r,t){if(r){const e=t.filter((e=>e.tag===r)),i=e.find((e=>!e.format))??e[0];if(!i)throw new Error(`Tag ${r} not found`);return i}return t.find((r=>r.identify?.(e)&&!r.format))}(e,r,c.tags);if(!I){if(e&&"function"==typeof e.toJSON&&(e=e.toJSON()),!e||"object"!=typeof e){const r=new o.Scalar(e);return l&&(l.node=r),r}I=e instanceof Map?c[n.MAP]:Symbol.iterator in Object(e)?c[n.SEQ]:c[n.MAP]}u&&(u(I),delete t.onTagObj);const p=I?.createNode?I.createNode(t.schema,e,t):"function"==typeof I?.nodeClass?.from?I.nodeClass.from(t.schema,e,t):new o.Scalar(e);return r?p.tag=r:I.default||(p.tag=I.tag),l&&(l.node=p),p}},4670:(e,r,t)=>{"use strict";var i=t(9399),n=t(4364);const o={"!":"%21",",":"%2C","[":"%5B","]":"%5D","{":"%7B","}":"%7D"};class a{constructor(e,r){this.docStart=null,this.docEnd=!1,this.yaml=Object.assign({},a.defaultYaml,e),this.tags=Object.assign({},a.defaultTags,r)}clone(){const e=new a(this.yaml,this.tags);return e.docStart=this.docStart,e}atDocument(){const e=new a(this.yaml,this.tags);switch(this.yaml.version){case"1.1":this.atNextDocument=!0;break;case"1.2":this.atNextDocument=!1,this.yaml={explicit:a.defaultYaml.explicit,version:"1.2"},this.tags=Object.assign({},a.defaultTags)}return e}add(e,r){this.atNextDocument&&(this.yaml={explicit:a.defaultYaml.explicit,version:"1.1"},this.tags=Object.assign({},a.defaultTags),this.atNextDocument=!1);const t=e.trim().split(/[ \t]+/),i=t.shift();switch(i){case"%TAG":{if(2!==t.length&&(r(0,"%TAG directive should contain exactly two parts"),t.length<2))return!1;const[e,i]=t;return this.tags[e]=i,!0}case"%YAML":{if(this.yaml.explicit=!0,1!==t.length)return r(0,"%YAML directive should contain exactly one part"),!1;const[e]=t;return"1.1"===e||"1.2"===e?(this.yaml.version=e,!0):(r(6,`Unsupported YAML version ${e}`,/^\d+\.\d+$/.test(e)),!1)}default:return r(0,`Unknown directive ${i}`,!0),!1}}tagName(e,r){if("!"===e)return"!";if("!"!==e[0])return r(`Not a valid tag: ${e}`),null;if("<"===e[1]){const t=e.slice(2,-1);return"!"===t||"!!"===t?(r(`Verbatim tags aren't resolved, so ${e} is invalid.`),null):(">"!==e[e.length-1]&&r("Verbatim tags must end with a >"),t)}const[,t,i]=e.match(/^(.*!)([^!]*)$/s);i||r(`The ${e} tag has no suffix`);const n=this.tags[t];if(n)try{return n+decodeURIComponent(i)}catch(e){return r(String(e)),null}return"!"===t?e:(r(`Could not resolve tag: ${e}`),null)}tagString(e){for(const[r,t]of Object.entries(this.tags))if(e.startsWith(t))return r+e.substring(t.length).replace(/[!,[\]{}]/g,(e=>o[e]));return"!"===e[0]?e:`!<${e}>`}toString(e){const r=this.yaml.explicit?[`%YAML ${this.yaml.version||"1.2"}`]:[],t=Object.entries(this.tags);let o;if(e&&t.length>0&&i.isNode(e.contents)){const r={};n.visit(e.contents,((e,t)=>{i.isNode(t)&&t.tag&&(r[t.tag]=!0)})),o=Object.keys(r)}else o=[];for(const[i,n]of t)"!!"===i&&"tag:yaml.org,2002:"===n||e&&!o.some((e=>e.startsWith(n)))||r.push(`%TAG ${i} ${n}`);return r.join("\n")}}a.defaultYaml={explicit:!1,version:"1.2"},a.defaultTags={"!!":"tag:yaml.org,2002:"},r.Directives=a},1656:(e,r)=>{"use strict";class t extends Error{constructor(e,r,t,i){super(),this.name=e,this.code=t,this.message=i,this.pos=r}}r.YAMLError=t,r.YAMLParseError=class extends t{constructor(e,r,t){super("YAMLParseError",e,r,t)}},r.YAMLWarning=class extends t{constructor(e,r,t){super("YAMLWarning",e,r,t)}},r.prettifyError=(e,r)=>t=>{if(-1===t.pos[0])return;t.linePos=t.pos.map((e=>r.linePos(e)));const{line:i,col:n}=t.linePos[0];t.message+=` at line ${i}, column ${n}`;let o=n-1,a=e.substring(r.lineStarts[i-1],r.lineStarts[i]).replace(/[\n\r]+$/,"");if(o>=60&&a.length>80){const e=Math.min(o-39,a.length-79);a="…"+a.substring(e),o-=e-1}if(a.length>80&&(a=a.substring(0,79)+"…"),i>1&&/^ *$/.test(a.substring(0,o))){let t=e.substring(r.lineStarts[i-2],r.lineStarts[i-1]);t.length>80&&(t=t.substring(0,79)+"…\n"),a=t+a}if(/[^ ]/.test(a)){let e=1;const r=t.linePos[1];r&&r.line===i&&r.col>n&&(e=Math.max(1,Math.min(r.col-n,80-o)));const s=" ".repeat(o)+"^".repeat(e);t.message+=`:\n\n${a}\n${s}\n`}}},3519:(e,r,t)=>{"use strict";var i=t(8480),n=t(2333),o=t(7840),a=t(1656),s=t(9281),u=t(9399),c=t(4237),d=t(3205),l=t(2262),I=t(847),p=t(2645),f=t(2505),m=t(2324),h=t(5456),g=t(463),v=t(4364);r.Composer=i.Composer,r.Document=n.Document,r.Schema=o.Schema,r.YAMLError=a.YAMLError,r.YAMLParseError=a.YAMLParseError,r.YAMLWarning=a.YAMLWarning,r.Alias=s.Alias,r.isAlias=u.isAlias,r.isCollection=u.isCollection,r.isDocument=u.isDocument,r.isMap=u.isMap,r.isNode=u.isNode,r.isPair=u.isPair,r.isScalar=u.isScalar,r.isSeq=u.isSeq,r.Pair=c.Pair,r.Scalar=d.Scalar,r.YAMLMap=l.YAMLMap,r.YAMLSeq=I.YAMLSeq,r.CST=p,r.Lexer=f.Lexer,r.LineCounter=m.LineCounter,r.Parser=h.Parser,r.parse=g.parse,r.parseAllDocuments=g.parseAllDocuments,r.parseDocument=g.parseDocument,r.stringify=g.stringify,r.visit=v.visit,r.visitAsync=v.visitAsync},7953:(e,r)=>{"use strict";r.debug=function(e,...r){"debug"===e&&console.log(...r)},r.warn=function(e,r){"debug"!==e&&"warn"!==e||("undefined"!=typeof process&&process.emitWarning?process.emitWarning(r):console.warn(r))}},9281:(e,r,t)=>{"use strict";var i=t(8028),n=t(4364),o=t(9399),a=t(6849),s=t(3947);class u extends a.NodeBase{constructor(e){super(o.ALIAS),this.source=e,Object.defineProperty(this,"tag",{set(){throw new Error("Alias nodes cannot have tags")}})}resolve(e){let r;return n.visit(e,{Node:(e,t)=>{if(t===this)return n.visit.BREAK;t.anchor===this.source&&(r=t)}}),r}toJSON(e,r){if(!r)return{source:this.source};const{anchors:t,doc:i,maxAliasCount:n}=r,o=this.resolve(i);if(!o){const e=`Unresolved alias (the anchor must be set before the alias): ${this.source}`;throw new ReferenceError(e)}let a=t.get(o);if(a||(s.toJS(o,null,r),a=t.get(o)),!a||void 0===a.res)throw new ReferenceError("This should not happen: Alias anchor was not resolved?");if(n>=0&&(a.count+=1,0===a.aliasCount&&(a.aliasCount=c(i,o,t)),a.count*a.aliasCount>n))throw new ReferenceError("Excessive alias count indicates a resource exhaustion attack");return a.res}toString(e,r,t){const n=`*${this.source}`;if(e){if(i.anchorIsValid(this.source),e.options.verifyAliasOrder&&!e.anchors.has(this.source)){const e=`Unresolved alias (the anchor must be set before the alias): ${this.source}`;throw new Error(e)}if(e.implicitKey)return`${n} `}return n}}function c(e,r,t){if(o.isAlias(r)){const i=r.resolve(e),n=t&&i&&t.get(i);return n?n.count*n.aliasCount:0}if(o.isCollection(r)){let i=0;for(const n of r.items){const r=c(e,n,t);r>i&&(i=r)}return i}if(o.isPair(r)){const i=c(e,r.key,t),n=c(e,r.value,t);return Math.max(i,n)}return 1}r.Alias=u},2997:(e,r,t)=>{"use strict";var i=t(4532),n=t(9399),o=t(6849);function a(e,r,t){let n=t;for(let e=r.length-1;e>=0;--e){const t=r[e];if("number"==typeof t&&Number.isInteger(t)&&t>=0){const e=[];e[t]=n,n=e}else n=new Map([[t,n]])}return i.createNode(n,void 0,{aliasDuplicateObjects:!1,keepUndefined:!1,onAnchor:()=>{throw new Error("This should not happen, please report a bug.")},schema:e,sourceObjects:new Map})}const s=e=>null==e||"object"==typeof e&&!!e[Symbol.iterator]().next().done;class u extends o.NodeBase{constructor(e,r){super(e),Object.defineProperty(this,"schema",{value:r,configurable:!0,enumerable:!1,writable:!0})}clone(e){const r=Object.create(Object.getPrototypeOf(this),Object.getOwnPropertyDescriptors(this));return e&&(r.schema=e),r.items=r.items.map((r=>n.isNode(r)||n.isPair(r)?r.clone(e):r)),this.range&&(r.range=this.range.slice()),r}addIn(e,r){if(s(e))this.add(r);else{const[t,...i]=e,o=this.get(t,!0);if(n.isCollection(o))o.addIn(i,r);else{if(void 0!==o||!this.schema)throw new Error(`Expected YAML collection at ${t}. Remaining path: ${i}`);this.set(t,a(this.schema,i,r))}}}deleteIn(e){const[r,...t]=e;if(0===t.length)return this.delete(r);const i=this.get(r,!0);if(n.isCollection(i))return i.deleteIn(t);throw new Error(`Expected YAML collection at ${r}. Remaining path: ${t}`)}getIn(e,r){const[t,...i]=e,o=this.get(t,!0);return 0===i.length?!r&&n.isScalar(o)?o.value:o:n.isCollection(o)?o.getIn(i,r):void 0}hasAllNullValues(e){return this.items.every((r=>{if(!n.isPair(r))return!1;const t=r.value;return null==t||e&&n.isScalar(t)&&null==t.value&&!t.commentBefore&&!t.comment&&!t.tag}))}hasIn(e){const[r,...t]=e;if(0===t.length)return this.has(r);const i=this.get(r,!0);return!!n.isCollection(i)&&i.hasIn(t)}setIn(e,r){const[t,...i]=e;if(0===i.length)this.set(t,r);else{const e=this.get(t,!0);if(n.isCollection(e))e.setIn(i,r);else{if(void 0!==e||!this.schema)throw new Error(`Expected YAML collection at ${t}. Remaining path: ${i}`);this.set(t,a(this.schema,i,r))}}}}u.maxFlowStringSingleLineLength=60,r.Collection=u,r.collectionFromPath=a,r.isEmptyPath=s},6849:(e,r,t)=>{"use strict";var i=t(7197),n=t(9399),o=t(3947);r.NodeBase=class{constructor(e){Object.defineProperty(this,n.NODE_TYPE,{value:e})}clone(){const e=Object.create(Object.getPrototypeOf(this),Object.getOwnPropertyDescriptors(this));return this.range&&(e.range=this.range.slice()),e}toJS(e,{mapAsMap:r,maxAliasCount:t,onAnchor:a,reviver:s}={}){if(!n.isDocument(e))throw new TypeError("A document argument is required");const u={anchors:new Map,doc:e,keep:!0,mapAsMap:!0===r,mapKeyWarned:!1,maxAliasCount:"number"==typeof t?t:100},c=o.toJS(this,"",u);if("function"==typeof a)for(const{count:e,res:r}of u.anchors.values())a(r,e);return"function"==typeof s?i.applyReviver(s,{"":c},"",c):c}}},4237:(e,r,t)=>{"use strict";var i=t(4532),n=t(9348),o=t(8016),a=t(9399);class s{constructor(e,r=null){Object.defineProperty(this,a.NODE_TYPE,{value:a.PAIR}),this.key=e,this.value=r}clone(e){let{key:r,value:t}=this;return a.isNode(r)&&(r=r.clone(e)),a.isNode(t)&&(t=t.clone(e)),new s(r,t)}toJSON(e,r){const t=r?.mapAsMap?new Map:{};return o.addPairToJSMap(r,t,this)}toString(e,r,t){return e?.doc?n.stringifyPair(this,e,r,t):JSON.stringify(this)}}r.Pair=s,r.createPair=function(e,r,t){const n=i.createNode(e,void 0,t),o=i.createNode(r,void 0,t);return new s(n,o)}},3205:(e,r,t)=>{"use strict";var i=t(9399),n=t(6849),o=t(3947);class a extends n.NodeBase{constructor(e){super(i.SCALAR),this.value=e}toJSON(e,r){return r?.keep?this.value:o.toJS(this.value,e,r)}toString(){return String(this.value)}}a.BLOCK_FOLDED="BLOCK_FOLDED",a.BLOCK_LITERAL="BLOCK_LITERAL",a.PLAIN="PLAIN",a.QUOTE_DOUBLE="QUOTE_DOUBLE",a.QUOTE_SINGLE="QUOTE_SINGLE",r.Scalar=a,r.isScalarValue=e=>!e||"function"!=typeof e&&"object"!=typeof e},2262:(e,r,t)=>{"use strict";var i=t(5756),n=t(8016),o=t(2997),a=t(9399),s=t(4237),u=t(3205);function c(e,r){const t=a.isScalar(r)?r.value:r;for(const i of e)if(a.isPair(i)){if(i.key===r||i.key===t)return i;if(a.isScalar(i.key)&&i.key.value===t)return i}}class d extends o.Collection{static get tagName(){return"tag:yaml.org,2002:map"}constructor(e){super(a.MAP,e),this.items=[]}static from(e,r,t){const{keepUndefined:i,replacer:n}=t,o=new this(e),a=(e,a)=>{if("function"==typeof n)a=n.call(r,e,a);else if(Array.isArray(n)&&!n.includes(e))return;(void 0!==a||i)&&o.items.push(s.createPair(e,a,t))};if(r instanceof Map)for(const[e,t]of r)a(e,t);else if(r&&"object"==typeof r)for(const e of Object.keys(r))a(e,r[e]);return"function"==typeof e.sortMapEntries&&o.items.sort(e.sortMapEntries),o}add(e,r){let t;t=a.isPair(e)?e:e&&"object"==typeof e&&"key"in e?new s.Pair(e.key,e.value):new s.Pair(e,e?.value);const i=c(this.items,t.key),n=this.schema?.sortMapEntries;if(i){if(!r)throw new Error(`Key ${t.key} already set`);a.isScalar(i.value)&&u.isScalarValue(t.value)?i.value.value=t.value:i.value=t.value}else if(n){const e=this.items.findIndex((e=>n(t,e)<0));-1===e?this.items.push(t):this.items.splice(e,0,t)}else this.items.push(t)}delete(e){const r=c(this.items,e);return!!r&&this.items.splice(this.items.indexOf(r),1).length>0}get(e,r){const t=c(this.items,e),i=t?.value;return(!r&&a.isScalar(i)?i.value:i)??void 0}has(e){return!!c(this.items,e)}set(e,r){this.add(new s.Pair(e,r),!0)}toJSON(e,r,t){const i=t?new t:r?.mapAsMap?new Map:{};r?.onCreate&&r.onCreate(i);for(const e of this.items)n.addPairToJSMap(r,i,e);return i}toString(e,r,t){if(!e)return JSON.stringify(this);for(const e of this.items)if(!a.isPair(e))throw new Error(`Map items must all be pairs; found ${JSON.stringify(e)} instead`);return!e.allNullValues&&this.hasAllNullValues(!1)&&(e=Object.assign({},e,{allNullValues:!0})),i.stringifyCollection(this,e,{blockItemPrefix:"",flowChars:{start:"{",end:"}"},itemIndent:e.indent||"",onChompKeep:t,onComment:r})}}r.YAMLMap=d,r.findPair=c},847:(e,r,t)=>{"use strict";var i=t(4532),n=t(5756),o=t(2997),a=t(9399),s=t(3205),u=t(3947);class c extends o.Collection{static get tagName(){return"tag:yaml.org,2002:seq"}constructor(e){super(a.SEQ,e),this.items=[]}add(e){this.items.push(e)}delete(e){const r=d(e);return"number"==typeof r&&this.items.splice(r,1).length>0}get(e,r){const t=d(e);if("number"!=typeof t)return;const i=this.items[t];return!r&&a.isScalar(i)?i.value:i}has(e){const r=d(e);return"number"==typeof r&&r<this.items.length}set(e,r){const t=d(e);if("number"!=typeof t)throw new Error(`Expected a valid index, not ${e}.`);const i=this.items[t];a.isScalar(i)&&s.isScalarValue(r)?i.value=r:this.items[t]=r}toJSON(e,r){const t=[];r?.onCreate&&r.onCreate(t);let i=0;for(const e of this.items)t.push(u.toJS(e,String(i++),r));return t}toString(e,r,t){return e?n.stringifyCollection(this,e,{blockItemPrefix:"- ",flowChars:{start:"[",end:"]"},itemIndent:(e.indent||"")+" ",onChompKeep:t,onComment:r}):JSON.stringify(this)}static from(e,r,t){const{replacer:n}=t,o=new this(e);if(r&&Symbol.iterator in Object(r)){let e=0;for(let a of r){if("function"==typeof n){const t=r instanceof Set?a:String(e++);a=n.call(r,t,a)}o.items.push(i.createNode(a,void 0,t))}}return o}}function d(e){let r=a.isScalar(e)?e.value:e;return r&&"string"==typeof r&&(r=Number(r)),"number"==typeof r&&Number.isInteger(r)&&r>=0?r:null}r.YAMLSeq=c},8016:(e,r,t)=>{"use strict";var i=t(7953),n=t(5636),o=t(9399),a=t(3205),s=t(3947);function u(e,r,t){const i=e&&o.isAlias(t)?t.resolve(e.doc):t;if(!o.isMap(i))throw new Error("Merge sources must be maps or map aliases");const n=i.toJSON(null,e,Map);for(const[e,t]of n)r instanceof Map?r.has(e)||r.set(e,t):r instanceof Set?r.add(e):Object.prototype.hasOwnProperty.call(r,e)||Object.defineProperty(r,e,{value:t,writable:!0,enumerable:!0,configurable:!0});return r}r.addPairToJSMap=function(e,r,{key:t,value:c}){if(e?.doc.schema.merge&&(e=>"<<"===e||o.isScalar(e)&&"<<"===e.value&&(!e.type||e.type===a.Scalar.PLAIN))(t))if(c=o.isAlias(c)?c.resolve(e.doc):c,o.isSeq(c))for(const t of c.items)u(e,r,t);else if(Array.isArray(c))for(const t of c)u(e,r,t);else u(e,r,c);else{const a=s.toJS(t,"",e);if(r instanceof Map)r.set(a,s.toJS(c,a,e));else if(r instanceof Set)r.add(a);else{const u=function(e,r,t){if(null===r)return"";if("object"!=typeof r)return String(r);if(o.isNode(e)&&t?.doc){const r=n.createStringifyContext(t.doc,{});r.anchors=new Set;for(const e of t.anchors.keys())r.anchors.add(e.anchor);r.inFlow=!0,r.inStringifyKey=!0;const o=e.toString(r);if(!t.mapKeyWarned){let e=JSON.stringify(o);e.length>40&&(e=e.substring(0,36)+'..."'),i.warn(t.doc.options.logLevel,`Keys with collection values will be stringified due to JS Object restrictions: ${e}. Set mapAsMap: true to use object keys.`),t.mapKeyWarned=!0}return o}return JSON.stringify(r)}(t,a,e),d=s.toJS(c,u,e);u in r?Object.defineProperty(r,u,{value:d,writable:!0,enumerable:!0,configurable:!0}):r[u]=d}}return r}},9399:(e,r)=>{"use strict";const t=Symbol.for("yaml.alias"),i=Symbol.for("yaml.document"),n=Symbol.for("yaml.map"),o=Symbol.for("yaml.pair"),a=Symbol.for("yaml.scalar"),s=Symbol.for("yaml.seq"),u=Symbol.for("yaml.node.type"),c=e=>!!e&&"object"==typeof e&&e[u]===a;function d(e){if(e&&"object"==typeof e)switch(e[u]){case n:case s:return!0}return!1}r.ALIAS=t,r.DOC=i,r.MAP=n,r.NODE_TYPE=u,r.PAIR=o,r.SCALAR=a,r.SEQ=s,r.hasAnchor=e=>(c(e)||d(e))&&!!e.anchor,r.isAlias=e=>!!e&&"object"==typeof e&&e[u]===t,r.isCollection=d,r.isDocument=e=>!!e&&"object"==typeof e&&e[u]===i,r.isMap=e=>!!e&&"object"==typeof e&&e[u]===n,r.isNode=function(e){if(e&&"object"==typeof e)switch(e[u]){case t:case n:case a:case s:return!0}return!1},r.isPair=e=>!!e&&"object"==typeof e&&e[u]===o,r.isScalar=c,r.isSeq=e=>!!e&&"object"==typeof e&&e[u]===s},3947:(e,r,t)=>{"use strict";var i=t(9399);r.toJS=function e(r,t,n){if(Array.isArray(r))return r.map(((r,t)=>e(r,String(t),n)));if(r&&"function"==typeof r.toJSON){if(!n||!i.hasAnchor(r))return r.toJSON(t,n);const e={aliasCount:0,count:1,res:void 0};n.anchors.set(r,e),n.onCreate=r=>{e.res=r,delete n.onCreate};const o=r.toJSON(t,n);return n.onCreate&&n.onCreate(o),o}return"bigint"!=typeof r||n?.keep?r:Number(r)}},2174:(e,r,t)=>{"use strict";var i=t(6945),n=t(2362),o=t(1656),a=t(8653);function s(e,r){if(r)for(const t of r)switch(t.type){case"space":case"comment":e.push(t);break;case"newline":return e.push(t),!0}return!1}function u(e,r,t){switch(e.type){case"scalar":case"double-quoted-scalar":case"single-quoted-scalar":e.type=t,e.source=r;break;case"block-scalar":{const i=e.props.slice(1);let n=r.length;"block-scalar-header"===e.props[0].type&&(n-=e.props[0].source.length);for(const e of i)e.offset+=n;delete e.props,Object.assign(e,{type:t,source:r,end:i});break}case"block-map":case"block-seq":{const i={type:"newline",offset:e.offset+r.length,indent:e.indent,source:"\n"};delete e.items,Object.assign(e,{type:t,source:r,end:[i]});break}default:{const i="indent"in e?e.indent:-1,n="end"in e&&Array.isArray(e.end)?e.end.filter((e=>"space"===e.type||"comment"===e.type||"newline"===e.type)):[];for(const r of Object.keys(e))"type"!==r&&"offset"!==r&&delete e[r];Object.assign(e,{type:t,indent:i,source:r,end:n})}}}r.createScalarToken=function(e,r){const{implicitKey:t=!1,indent:i,inFlow:n=!1,offset:o=-1,type:u="PLAIN"}=r,c=a.stringifyString({type:u,value:e},{implicitKey:t,indent:i>0?" ".repeat(i):"",inFlow:n,options:{blockQuote:!0,lineWidth:-1}}),d=r.end??[{type:"newline",offset:-1,indent:i,source:"\n"}];switch(c[0]){case"|":case">":{const e=c.indexOf("\n"),r=c.substring(0,e),t=c.substring(e+1)+"\n",n=[{type:"block-scalar-header",offset:o,indent:i,source:r}];return s(n,d)||n.push({type:"newline",offset:-1,indent:i,source:"\n"}),{type:"block-scalar",offset:o,indent:i,props:n,source:t}}case'"':return{type:"double-quoted-scalar",offset:o,indent:i,source:c,end:d};case"'":return{type:"single-quoted-scalar",offset:o,indent:i,source:c,end:d};default:return{type:"scalar",offset:o,indent:i,source:c,end:d}}},r.resolveAsScalar=function(e,r=!0,t){if(e){const a=(e,r,i)=>{const n="number"==typeof e?e:Array.isArray(e)?e[0]:e.offset;if(!t)throw new o.YAMLParseError([n,n+1],r,i);t(n,r,i)};switch(e.type){case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":return n.resolveFlowScalar(e,r,a);case"block-scalar":return i.resolveBlockScalar(e,r,a)}}return null},r.setScalarValue=function(e,r,t={}){let{afterKey:i=!1,implicitKey:n=!1,inFlow:o=!1,type:c}=t,d="indent"in e?e.indent:null;if(i&&"number"==typeof d&&(d+=2),!c)switch(e.type){case"single-quoted-scalar":c="QUOTE_SINGLE";break;case"double-quoted-scalar":c="QUOTE_DOUBLE";break;case"block-scalar":{const r=e.props[0];if("block-scalar-header"!==r.type)throw new Error("Invalid block scalar header");c=">"===r.source[0]?"BLOCK_FOLDED":"BLOCK_LITERAL";break}default:c="PLAIN"}const l=a.stringifyString({type:c,value:r},{implicitKey:n||null===d,indent:null!==d&&d>0?" ".repeat(d):"",inFlow:o,options:{blockQuote:!0,lineWidth:-1}});switch(l[0]){case"|":case">":!function(e,r){const t=r.indexOf("\n"),i=r.substring(0,t),n=r.substring(t+1)+"\n";if("block-scalar"===e.type){const r=e.props[0];if("block-scalar-header"!==r.type)throw new Error("Invalid block scalar header");r.source=i,e.source=n}else{const{offset:r}=e,t="indent"in e?e.indent:-1,o=[{type:"block-scalar-header",offset:r,indent:t,source:i}];s(o,"end"in e?e.end:void 0)||o.push({type:"newline",offset:-1,indent:t,source:"\n"});for(const r of Object.keys(e))"type"!==r&&"offset"!==r&&delete e[r];Object.assign(e,{type:"block-scalar",indent:t,props:o,source:n})}}(e,l);break;case'"':u(e,l,"double-quoted-scalar");break;case"'":u(e,l,"single-quoted-scalar");break;default:u(e,l,"scalar")}}},373:(e,r)=>{"use strict";function t(e){switch(e.type){case"block-scalar":{let r="";for(const i of e.props)r+=t(i);return r+e.source}case"block-map":case"block-seq":{let r="";for(const t of e.items)r+=i(t);return r}case"flow-collection":{let r=e.start.source;for(const t of e.items)r+=i(t);for(const t of e.end)r+=t.source;return r}case"document":{let r=i(e);if(e.end)for(const t of e.end)r+=t.source;return r}default:{let r=e.source;if("end"in e&&e.end)for(const t of e.end)r+=t.source;return r}}}function i({start:e,key:r,sep:i,value:n}){let o="";for(const r of e)o+=r.source;if(r&&(o+=t(r)),i)for(const e of i)o+=e.source;return n&&(o+=t(n)),o}r.stringify=e=>"type"in e?t(e):i(e)},4243:(e,r)=>{"use strict";const t=Symbol("break visit"),i=Symbol("skip children"),n=Symbol("remove item");function o(e,r){"type"in e&&"document"===e.type&&(e={start:e.start,value:e.value}),a(Object.freeze([]),e,r)}function a(e,r,i){let o=i(r,e);if("symbol"==typeof o)return o;for(const s of["key","value"]){const u=r[s];if(u&&"items"in u){for(let r=0;r<u.items.length;++r){const o=a(Object.freeze(e.concat([[s,r]])),u.items[r],i);if("number"==typeof o)r=o-1;else{if(o===t)return t;o===n&&(u.items.splice(r,1),r-=1)}}"function"==typeof o&&"key"===s&&(o=o(r,e))}}return"function"==typeof o?o(r,e):o}o.BREAK=t,o.SKIP=i,o.REMOVE=n,o.itemAtPath=(e,r)=>{let t=e;for(const[e,i]of r){const r=t?.[e];if(!r||!("items"in r))return;t=r.items[i]}return t},o.parentCollection=(e,r)=>{const t=o.itemAtPath(e,r.slice(0,-1)),i=r[r.length-1][0],n=t?.[i];if(n&&"items"in n)return n;throw new Error("Parent collection not found")},r.visit=o},2645:(e,r,t)=>{"use strict";var i=t(2174),n=t(373),o=t(4243);r.createScalarToken=i.createScalarToken,r.resolveAsScalar=i.resolveAsScalar,r.setScalarValue=i.setScalarValue,r.stringify=n.stringify,r.visit=o.visit,r.BOM="\ufeff",r.DOCUMENT="",r.FLOW_END="",r.SCALAR="",r.isCollection=e=>!!e&&"items"in e,r.isScalar=e=>!!e&&("scalar"===e.type||"single-quoted-scalar"===e.type||"double-quoted-scalar"===e.type||"block-scalar"===e.type),r.prettyToken=function(e){switch(e){case"\ufeff":return"<BOM>";case"":return"<DOC>";case"":return"<FLOW_END>";case"":return"<SCALAR>";default:return JSON.stringify(e)}},r.tokenType=function(e){switch(e){case"\ufeff":return"byte-order-mark";case"":return"doc-mode";case"":return"flow-error-end";case"":return"scalar";case"---":return"doc-start";case"...":return"doc-end";case"":case"\n":case"\r\n":return"newline";case"-":return"seq-item-ind";case"?":return"explicit-key-ind";case":":return"map-value-ind";case"{":return"flow-map-start";case"}":return"flow-map-end";case"[":return"flow-seq-start";case"]":return"flow-seq-end";case",":return"comma"}switch(e[0]){case" ":case"\t":return"space";case"#":return"comment";case"%":return"directive-line";case"*":return"alias";case"&":return"anchor";case"!":return"tag";case"'":return"single-quoted-scalar";case'"':return"double-quoted-scalar";case"|":case">":return"block-scalar-header"}return null}},2505:(e,r,t)=>{"use strict";var i=t(2645);function n(e){switch(e){case void 0:case" ":case"\n":case"\r":case"\t":return!0;default:return!1}}const o="0123456789ABCDEFabcdef".split(""),a="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-#;/?:@&=+$_.!~*'()".split(""),s=",[]{}".split(""),u=" ,[]{}\n\r\t".split(""),c=e=>!e||u.includes(e);r.Lexer=class{constructor(){this.atEnd=!1,this.blockScalarIndent=-1,this.blockScalarKeep=!1,this.buffer="",this.flowKey=!1,this.flowLevel=0,this.indentNext=0,this.indentValue=0,this.lineEndPos=null,this.next=null,this.pos=0}*lex(e,r=!1){e&&(this.buffer=this.buffer?this.buffer+e:e,this.lineEndPos=null),this.atEnd=!r;let t=this.next??"stream";for(;t&&(r||this.hasChars(1));)t=yield*this.parseNext(t)}atLineEnd(){let e=this.pos,r=this.buffer[e];for(;" "===r||"\t"===r;)r=this.buffer[++e];return!r||"#"===r||"\n"===r||"\r"===r&&"\n"===this.buffer[e+1]}charAt(e){return this.buffer[this.pos+e]}continueScalar(e){let r=this.buffer[e];if(this.indentNext>0){let t=0;for(;" "===r;)r=this.buffer[++t+e];if("\r"===r){const r=this.buffer[t+e+1];if("\n"===r||!r&&!this.atEnd)return e+t+1}return"\n"===r||t>=this.indentNext||!r&&!this.atEnd?e+t:-1}if("-"===r||"."===r){const r=this.buffer.substr(e,3);if(("---"===r||"..."===r)&&n(this.buffer[e+3]))return-1}return e}getLine(){let e=this.lineEndPos;return("number"!=typeof e||-1!==e&&e<this.pos)&&(e=this.buffer.indexOf("\n",this.pos),this.lineEndPos=e),-1===e?this.atEnd?this.buffer.substring(this.pos):null:("\r"===this.buffer[e-1]&&(e-=1),this.buffer.substring(this.pos,e))}hasChars(e){return this.pos+e<=this.buffer.length}setNext(e){return this.buffer=this.buffer.substring(this.pos),this.pos=0,this.lineEndPos=null,this.next=e,null}peek(e){return this.buffer.substr(this.pos,e)}*parseNext(e){switch(e){case"stream":return yield*this.parseStream();case"line-start":return yield*this.parseLineStart();case"block-start":return yield*this.parseBlockStart();case"doc":return yield*this.parseDocument();case"flow":return yield*this.parseFlowCollection();case"quoted-scalar":return yield*this.parseQuotedScalar();case"block-scalar":return yield*this.parseBlockScalar();case"plain-scalar":return yield*this.parsePlainScalar()}}*parseStream(){let e=this.getLine();if(null===e)return this.setNext("stream");if(e[0]===i.BOM&&(yield*this.pushCount(1),e=e.substring(1)),"%"===e[0]){let r=e.length;const t=e.indexOf("#");if(-1!==t){const i=e[t-1];" "!==i&&"\t"!==i||(r=t-1)}for(;;){const t=e[r-1];if(" "!==t&&"\t"!==t)break;r-=1}const i=(yield*this.pushCount(r))+(yield*this.pushSpaces(!0));return yield*this.pushCount(e.length-i),this.pushNewline(),"stream"}if(this.atLineEnd()){const r=yield*this.pushSpaces(!0);return yield*this.pushCount(e.length-r),yield*this.pushNewline(),"stream"}return yield i.DOCUMENT,yield*this.parseLineStart()}*parseLineStart(){const e=this.charAt(0);if(!e&&!this.atEnd)return this.setNext("line-start");if("-"===e||"."===e){if(!this.atEnd&&!this.hasChars(4))return this.setNext("line-start");const e=this.peek(3);if("---"===e&&n(this.charAt(3)))return yield*this.pushCount(3),this.indentValue=0,this.indentNext=0,"doc";if("..."===e&&n(this.charAt(3)))return yield*this.pushCount(3),"stream"}return this.indentValue=yield*this.pushSpaces(!1),this.indentNext>this.indentValue&&!n(this.charAt(1))&&(this.indentNext=this.indentValue),yield*this.parseBlockStart()}*parseBlockStart(){const[e,r]=this.peek(2);if(!r&&!this.atEnd)return this.setNext("block-start");if(("-"===e||"?"===e||":"===e)&&n(r)){const e=(yield*this.pushCount(1))+(yield*this.pushSpaces(!0));return this.indentNext=this.indentValue+1,this.indentValue+=e,yield*this.parseBlockStart()}return"doc"}*parseDocument(){yield*this.pushSpaces(!0);const e=this.getLine();if(null===e)return this.setNext("doc");let r=yield*this.pushIndicators();switch(e[r]){case"#":yield*this.pushCount(e.length-r);case void 0:return yield*this.pushNewline(),yield*this.parseLineStart();case"{":case"[":return yield*this.pushCount(1),this.flowKey=!1,this.flowLevel=1,"flow";case"}":case"]":return yield*this.pushCount(1),"doc";case"*":return yield*this.pushUntil(c),"doc";case'"':case"'":return yield*this.parseQuotedScalar();case"|":case">":return r+=(yield*this.parseBlockScalarHeader()),r+=(yield*this.pushSpaces(!0)),yield*this.pushCount(e.length-r),yield*this.pushNewline(),yield*this.parseBlockScalar();default:return yield*this.parsePlainScalar()}}*parseFlowCollection(){let e,r,t=-1;do{e=yield*this.pushNewline(),e>0?(r=yield*this.pushSpaces(!1),this.indentValue=t=r):r=0,r+=(yield*this.pushSpaces(!0))}while(e+r>0);const o=this.getLine();if(null===o)return this.setNext("flow");if((-1!==t&&t<this.indentNext&&"#"!==o[0]||0===t&&(o.startsWith("---")||o.startsWith("..."))&&n(o[3]))&&(t!==this.indentNext-1||1!==this.flowLevel||"]"!==o[0]&&"}"!==o[0]))return this.flowLevel=0,yield i.FLOW_END,yield*this.parseLineStart();let a=0;for(;","===o[a];)a+=(yield*this.pushCount(1)),a+=(yield*this.pushSpaces(!0)),this.flowKey=!1;switch(a+=(yield*this.pushIndicators()),o[a]){case void 0:return"flow";case"#":return yield*this.pushCount(o.length-a),"flow";case"{":case"[":return yield*this.pushCount(1),this.flowKey=!1,this.flowLevel+=1,"flow";case"}":case"]":return yield*this.pushCount(1),this.flowKey=!0,this.flowLevel-=1,this.flowLevel?"flow":"doc";case"*":return yield*this.pushUntil(c),"flow";case'"':case"'":return this.flowKey=!0,yield*this.parseQuotedScalar();case":":{const e=this.charAt(1);if(this.flowKey||n(e)||","===e)return this.flowKey=!1,yield*this.pushCount(1),yield*this.pushSpaces(!0),"flow"}default:return this.flowKey=!1,yield*this.parsePlainScalar()}}*parseQuotedScalar(){const e=this.charAt(0);let r=this.buffer.indexOf(e,this.pos+1);if("'"===e)for(;-1!==r&&"'"===this.buffer[r+1];)r=this.buffer.indexOf("'",r+2);else for(;-1!==r;){let e=0;for(;"\\"===this.buffer[r-1-e];)e+=1;if(e%2==0)break;r=this.buffer.indexOf('"',r+1)}const t=this.buffer.substring(0,r);let i=t.indexOf("\n",this.pos);if(-1!==i){for(;-1!==i;){const e=this.continueScalar(i+1);if(-1===e)break;i=t.indexOf("\n",e)}-1!==i&&(r=i-("\r"===t[i-1]?2:1))}if(-1===r){if(!this.atEnd)return this.setNext("quoted-scalar");r=this.buffer.length}return yield*this.pushToIndex(r+1,!1),this.flowLevel?"flow":"doc"}*parseBlockScalarHeader(){this.blockScalarIndent=-1,this.blockScalarKeep=!1;let e=this.pos;for(;;){const r=this.buffer[++e];if("+"===r)this.blockScalarKeep=!0;else if(r>"0"&&r<="9")this.blockScalarIndent=Number(r)-1;else if("-"!==r)break}return yield*this.pushUntil((e=>n(e)||"#"===e))}*parseBlockScalar(){let e,r=this.pos-1,t=0;e:for(let i=this.pos;e=this.buffer[i];++i)switch(e){case" ":t+=1;break;case"\n":r=i,t=0;break;case"\r":{const e=this.buffer[i+1];if(!e&&!this.atEnd)return this.setNext("block-scalar");if("\n"===e)break}default:break e}if(!e&&!this.atEnd)return this.setNext("block-scalar");if(t>=this.indentNext){-1===this.blockScalarIndent?this.indentNext=t:this.indentNext+=this.blockScalarIndent;do{const e=this.continueScalar(r+1);if(-1===e)break;r=this.buffer.indexOf("\n",e)}while(-1!==r);if(-1===r){if(!this.atEnd)return this.setNext("block-scalar");r=this.buffer.length}}if(!this.blockScalarKeep)for(;;){let e=r-1,i=this.buffer[e];"\r"===i&&(i=this.buffer[--e]);const n=e;for(;" "===i||"\t"===i;)i=this.buffer[--e];if(!("\n"===i&&e>=this.pos&&e+1+t>n))break;r=e}return yield i.SCALAR,yield*this.pushToIndex(r+1,!0),yield*this.parseLineStart()}*parsePlainScalar(){const e=this.flowLevel>0;let r,t=this.pos-1,o=this.pos-1;for(;r=this.buffer[++o];)if(":"===r){const r=this.buffer[o+1];if(n(r)||e&&","===r)break;t=o}else if(n(r)){let i=this.buffer[o+1];if("\r"===r&&("\n"===i?(o+=1,r="\n",i=this.buffer[o+1]):t=o),"#"===i||e&&s.includes(i))break;if("\n"===r){const e=this.continueScalar(o+1);if(-1===e)break;o=Math.max(o,e-2)}}else{if(e&&s.includes(r))break;t=o}return r||this.atEnd?(yield i.SCALAR,yield*this.pushToIndex(t+1,!0),e?"flow":"doc"):this.setNext("plain-scalar")}*pushCount(e){return e>0?(yield this.buffer.substr(this.pos,e),this.pos+=e,e):0}*pushToIndex(e,r){const t=this.buffer.slice(this.pos,e);return t?(yield t,this.pos+=t.length,t.length):(r&&(yield""),0)}*pushIndicators(){switch(this.charAt(0)){case"!":return(yield*this.pushTag())+(yield*this.pushSpaces(!0))+(yield*this.pushIndicators());case"&":return(yield*this.pushUntil(c))+(yield*this.pushSpaces(!0))+(yield*this.pushIndicators());case"-":case"?":case":":{const e=this.flowLevel>0,r=this.charAt(1);if(n(r)||e&&s.includes(r))return e?this.flowKey&&(this.flowKey=!1):this.indentNext=this.indentValue+1,(yield*this.pushCount(1))+(yield*this.pushSpaces(!0))+(yield*this.pushIndicators())}}return 0}*pushTag(){if("<"===this.charAt(1)){let e=this.pos+2,r=this.buffer[e];for(;!n(r)&&">"!==r;)r=this.buffer[++e];return yield*this.pushToIndex(">"===r?e+1:e,!1)}{let e=this.pos+1,r=this.buffer[e];for(;r;)if(a.includes(r))r=this.buffer[++e];else{if("%"!==r||!o.includes(this.buffer[e+1])||!o.includes(this.buffer[e+2]))break;r=this.buffer[e+=3]}return yield*this.pushToIndex(e,!1)}}*pushNewline(){const e=this.buffer[this.pos];return"\n"===e?yield*this.pushCount(1):"\r"===e&&"\n"===this.charAt(1)?yield*this.pushCount(2):0}*pushSpaces(e){let r,t=this.pos-1;do{r=this.buffer[++t]}while(" "===r||e&&"\t"===r);const i=t-this.pos;return i>0&&(yield this.buffer.substr(this.pos,i),this.pos=t),i}*pushUntil(e){let r=this.pos,t=this.buffer[r];for(;!e(t);)t=this.buffer[++r];return yield*this.pushToIndex(r,!1)}}},2324:(e,r)=>{"use strict";r.LineCounter=class{constructor(){this.lineStarts=[],this.addNewLine=e=>this.lineStarts.push(e),this.linePos=e=>{let r=0,t=this.lineStarts.length;for(;r<t;){const i=r+t>>1;this.lineStarts[i]<e?r=i+1:t=i}return this.lineStarts[r]===e?{line:r+1,col:1}:0===r?{line:0,col:e}:{line:r,col:e-this.lineStarts[r-1]+1}}}}},5456:(e,r,t)=>{"use strict";var i=t(2645),n=t(2505);function o(e,r){for(let t=0;t<e.length;++t)if(e[t].type===r)return!0;return!1}function a(e){for(let r=0;r<e.length;++r)switch(e[r].type){case"space":case"comment":case"newline":break;default:return r}return-1}function s(e){switch(e?.type){case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":case"flow-collection":return!0;default:return!1}}function u(e){switch(e.type){case"document":return e.start;case"block-map":{const r=e.items[e.items.length-1];return r.sep??r.start}case"block-seq":return e.items[e.items.length-1].start;default:return[]}}function c(e){if(0===e.length)return[];let r=e.length;e:for(;--r>=0;)switch(e[r].type){case"doc-start":case"explicit-key-ind":case"map-value-ind":case"seq-item-ind":case"newline":break e}for(;"space"===e[++r]?.type;);return e.splice(r,e.length)}function d(e){if("flow-seq-start"===e.start.type)for(const r of e.items)!r.sep||r.value||o(r.start,"explicit-key-ind")||o(r.sep,"map-value-ind")||(r.key&&(r.value=r.key),delete r.key,s(r.value)?r.value.end?Array.prototype.push.apply(r.value.end,r.sep):r.value.end=r.sep:Array.prototype.push.apply(r.start,r.sep),delete r.sep)}r.Parser=class{constructor(e){this.atNewLine=!0,this.atScalar=!1,this.indent=0,this.offset=0,this.onKeyLine=!1,this.stack=[],this.source="",this.type="",this.lexer=new n.Lexer,this.onNewLine=e}*parse(e,r=!1){this.onNewLine&&0===this.offset&&this.onNewLine(0);for(const t of this.lexer.lex(e,r))yield*this.next(t);r||(yield*this.end())}*next(e){if(this.source=e,process.env.LOG_TOKENS&&console.log("|",i.prettyToken(e)),this.atScalar)return this.atScalar=!1,yield*this.step(),void(this.offset+=e.length);const r=i.tokenType(e);if(r)if("scalar"===r)this.atNewLine=!1,this.atScalar=!0,this.type="scalar";else{switch(this.type=r,yield*this.step(),r){case"newline":this.atNewLine=!0,this.indent=0,this.onNewLine&&this.onNewLine(this.offset+e.length);break;case"space":this.atNewLine&&" "===e[0]&&(this.indent+=e.length);break;case"explicit-key-ind":case"map-value-ind":case"seq-item-ind":this.atNewLine&&(this.indent+=e.length);break;case"doc-mode":case"flow-error-end":return;default:this.atNewLine=!1}this.offset+=e.length}else{const r=`Not a YAML token: ${e}`;yield*this.pop({type:"error",offset:this.offset,message:r,source:e}),this.offset+=e.length}}*end(){for(;this.stack.length>0;)yield*this.pop()}get sourceToken(){return{type:this.type,offset:this.offset,indent:this.indent,source:this.source}}*step(){const e=this.peek(1);if("doc-end"!==this.type||e&&"doc-end"===e.type){if(!e)return yield*this.stream();switch(e.type){case"document":return yield*this.document(e);case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":return yield*this.scalar(e);case"block-scalar":return yield*this.blockScalar(e);case"block-map":return yield*this.blockMap(e);case"block-seq":return yield*this.blockSequence(e);case"flow-collection":return yield*this.flowCollection(e);case"doc-end":return yield*this.documentEnd(e)}yield*this.pop()}else{for(;this.stack.length>0;)yield*this.pop();this.stack.push({type:"doc-end",offset:this.offset,source:this.source})}}peek(e){return this.stack[this.stack.length-e]}*pop(e){const r=e??this.stack.pop();if(r)if(0===this.stack.length)yield r;else{const e=this.peek(1);switch("block-scalar"===r.type?r.indent="indent"in e?e.indent:0:"flow-collection"===r.type&&"document"===e.type&&(r.indent=0),"flow-collection"===r.type&&d(r),e.type){case"document":e.value=r;break;case"block-scalar":e.props.push(r);break;case"block-map":{const t=e.items[e.items.length-1];if(t.value)return e.items.push({start:[],key:r,sep:[]}),void(this.onKeyLine=!0);if(!t.sep)return Object.assign(t,{key:r,sep:[]}),void(this.onKeyLine=!o(t.start,"explicit-key-ind"));t.value=r;break}case"block-seq":{const t=e.items[e.items.length-1];t.value?e.items.push({start:[],value:r}):t.value=r;break}case"flow-collection":{const t=e.items[e.items.length-1];return void(!t||t.value?e.items.push({start:[],key:r,sep:[]}):t.sep?t.value=r:Object.assign(t,{key:r,sep:[]}))}default:yield*this.pop(),yield*this.pop(r)}if(!("document"!==e.type&&"block-map"!==e.type&&"block-seq"!==e.type||"block-map"!==r.type&&"block-seq"!==r.type)){const t=r.items[r.items.length-1];t&&!t.sep&&!t.value&&t.start.length>0&&-1===a(t.start)&&(0===r.indent||t.start.every((e=>"comment"!==e.type||e.indent<r.indent)))&&("document"===e.type?e.end=t.start:e.items.push({start:t.start}),r.items.splice(-1,1))}}else{const e="Tried to pop an empty stack";yield{type:"error",offset:this.offset,source:"",message:e}}}*stream(){switch(this.type){case"directive-line":return void(yield{type:"directive",offset:this.offset,source:this.source});case"byte-order-mark":case"space":case"comment":case"newline":return void(yield this.sourceToken);case"doc-mode":case"doc-start":{const e={type:"document",offset:this.offset,start:[]};return"doc-start"===this.type&&e.start.push(this.sourceToken),void this.stack.push(e)}}yield{type:"error",offset:this.offset,message:`Unexpected ${this.type} token in YAML stream`,source:this.source}}*document(e){if(e.value)return yield*this.lineEnd(e);switch(this.type){case"doc-start":return void(-1!==a(e.start)?(yield*this.pop(),yield*this.step()):e.start.push(this.sourceToken));case"anchor":case"tag":case"space":case"comment":case"newline":return void e.start.push(this.sourceToken)}const r=this.startBlockValue(e);r?this.stack.push(r):yield{type:"error",offset:this.offset,message:`Unexpected ${this.type} token in YAML document`,source:this.source}}*scalar(e){if("map-value-ind"===this.type){const r=c(u(this.peek(2)));let t;e.end?(t=e.end,t.push(this.sourceToken),delete e.end):t=[this.sourceToken];const i={type:"block-map",offset:e.offset,indent:e.indent,items:[{start:r,key:e,sep:t}]};this.onKeyLine=!0,this.stack[this.stack.length-1]=i}else yield*this.lineEnd(e)}*blockScalar(e){switch(this.type){case"space":case"comment":case"newline":return void e.props.push(this.sourceToken);case"scalar":if(e.source=this.source,this.atNewLine=!0,this.indent=0,this.onNewLine){let e=this.source.indexOf("\n")+1;for(;0!==e;)this.onNewLine(this.offset+e),e=this.source.indexOf("\n",e)+1}yield*this.pop();break;default:yield*this.pop(),yield*this.step()}}*blockMap(e){const r=e.items[e.items.length-1];switch(this.type){case"newline":if(this.onKeyLine=!1,r.value){const t="end"in r.value?r.value.end:void 0,i=Array.isArray(t)?t[t.length-1]:void 0;"comment"===i?.type?t?.push(this.sourceToken):e.items.push({start:[this.sourceToken]})}else r.sep?r.sep.push(this.sourceToken):r.start.push(this.sourceToken);return;case"space":case"comment":if(r.value)e.items.push({start:[this.sourceToken]});else if(r.sep)r.sep.push(this.sourceToken);else{if(this.atIndentedComment(r.start,e.indent)){const t=e.items[e.items.length-2],i=t?.value?.end;if(Array.isArray(i))return Array.prototype.push.apply(i,r.start),i.push(this.sourceToken),void e.items.pop()}r.start.push(this.sourceToken)}return}if(this.indent>=e.indent){const t=!this.onKeyLine&&this.indent===e.indent&&r.sep;let i=[];if(t&&r.sep&&!r.value){const t=[];for(let i=0;i<r.sep.length;++i){const n=r.sep[i];switch(n.type){case"newline":t.push(i);break;case"space":break;case"comment":n.indent>e.indent&&(t.length=0);break;default:t.length=0}}t.length>=2&&(i=r.sep.splice(t[1]))}switch(this.type){case"anchor":case"tag":return void(t||r.value?(i.push(this.sourceToken),e.items.push({start:i}),this.onKeyLine=!0):r.sep?r.sep.push(this.sourceToken):r.start.push(this.sourceToken));case"explicit-key-ind":return r.sep||o(r.start,"explicit-key-ind")?t||r.value?(i.push(this.sourceToken),e.items.push({start:i})):this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:[this.sourceToken]}]}):r.start.push(this.sourceToken),void(this.onKeyLine=!0);case"map-value-ind":if(o(r.start,"explicit-key-ind"))if(r.sep)if(r.value)e.items.push({start:[],key:null,sep:[this.sourceToken]});else if(o(r.sep,"map-value-ind"))this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:i,key:null,sep:[this.sourceToken]}]});else if(s(r.key)&&!o(r.sep,"newline")){const e=c(r.start),t=r.key,i=r.sep;i.push(this.sourceToken),delete r.key,delete r.sep,this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:e,key:t,sep:i}]})}else i.length>0?r.sep=r.sep.concat(i,this.sourceToken):r.sep.push(this.sourceToken);else if(o(r.start,"newline"))Object.assign(r,{key:null,sep:[this.sourceToken]});else{const e=c(r.start);this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:e,key:null,sep:[this.sourceToken]}]})}else r.sep?r.value||t?e.items.push({start:i,key:null,sep:[this.sourceToken]}):o(r.sep,"map-value-ind")?this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:[],key:null,sep:[this.sourceToken]}]}):r.sep.push(this.sourceToken):Object.assign(r,{key:null,sep:[this.sourceToken]});return void(this.onKeyLine=!0);case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":{const n=this.flowScalar(this.type);return void(t||r.value?(e.items.push({start:i,key:n,sep:[]}),this.onKeyLine=!0):r.sep?this.stack.push(n):(Object.assign(r,{key:n,sep:[]}),this.onKeyLine=!0))}default:{const n=this.startBlockValue(e);if(n)return t&&"block-seq"!==n.type&&o(r.start,"explicit-key-ind")&&e.items.push({start:i}),void this.stack.push(n)}}}yield*this.pop(),yield*this.step()}*blockSequence(e){const r=e.items[e.items.length-1];switch(this.type){case"newline":if(r.value){const t="end"in r.value?r.value.end:void 0,i=Array.isArray(t)?t[t.length-1]:void 0;"comment"===i?.type?t?.push(this.sourceToken):e.items.push({start:[this.sourceToken]})}else r.start.push(this.sourceToken);return;case"space":case"comment":if(r.value)e.items.push({start:[this.sourceToken]});else{if(this.atIndentedComment(r.start,e.indent)){const t=e.items[e.items.length-2],i=t?.value?.end;if(Array.isArray(i))return Array.prototype.push.apply(i,r.start),i.push(this.sourceToken),void e.items.pop()}r.start.push(this.sourceToken)}return;case"anchor":case"tag":if(r.value||this.indent<=e.indent)break;return void r.start.push(this.sourceToken);case"seq-item-ind":if(this.indent!==e.indent)break;return void(r.value||o(r.start,"seq-item-ind")?e.items.push({start:[this.sourceToken]}):r.start.push(this.sourceToken))}if(this.indent>e.indent){const r=this.startBlockValue(e);if(r)return void this.stack.push(r)}yield*this.pop(),yield*this.step()}*flowCollection(e){const r=e.items[e.items.length-1];if("flow-error-end"===this.type){let e;do{yield*this.pop(),e=this.peek(1)}while(e&&"flow-collection"===e.type)}else if(0===e.end.length){switch(this.type){case"comma":case"explicit-key-ind":return void(!r||r.sep?e.items.push({start:[this.sourceToken]}):r.start.push(this.sourceToken));case"map-value-ind":return void(!r||r.value?e.items.push({start:[],key:null,sep:[this.sourceToken]}):r.sep?r.sep.push(this.sourceToken):Object.assign(r,{key:null,sep:[this.sourceToken]}));case"space":case"comment":case"newline":case"anchor":case"tag":return void(!r||r.value?e.items.push({start:[this.sourceToken]}):r.sep?r.sep.push(this.sourceToken):r.start.push(this.sourceToken));case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":{const t=this.flowScalar(this.type);return void(!r||r.value?e.items.push({start:[],key:t,sep:[]}):r.sep?this.stack.push(t):Object.assign(r,{key:t,sep:[]}))}case"flow-map-end":case"flow-seq-end":return void e.end.push(this.sourceToken)}const t=this.startBlockValue(e);t?this.stack.push(t):(yield*this.pop(),yield*this.step())}else{const r=this.peek(2);if("block-map"===r.type&&("map-value-ind"===this.type&&r.indent===e.indent||"newline"===this.type&&!r.items[r.items.length-1].sep))yield*this.pop(),yield*this.step();else if("map-value-ind"===this.type&&"flow-collection"!==r.type){const t=c(u(r));d(e);const i=e.end.splice(1,e.end.length);i.push(this.sourceToken);const n={type:"block-map",offset:e.offset,indent:e.indent,items:[{start:t,key:e,sep:i}]};this.onKeyLine=!0,this.stack[this.stack.length-1]=n}else yield*this.lineEnd(e)}}flowScalar(e){if(this.onNewLine){let e=this.source.indexOf("\n")+1;for(;0!==e;)this.onNewLine(this.offset+e),e=this.source.indexOf("\n",e)+1}return{type:e,offset:this.offset,indent:this.indent,source:this.source}}startBlockValue(e){switch(this.type){case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":return this.flowScalar(this.type);case"block-scalar-header":return{type:"block-scalar",offset:this.offset,indent:this.indent,props:[this.sourceToken],source:""};case"flow-map-start":case"flow-seq-start":return{type:"flow-collection",offset:this.offset,indent:this.indent,start:this.sourceToken,items:[],end:[]};case"seq-item-ind":return{type:"block-seq",offset:this.offset,indent:this.indent,items:[{start:[this.sourceToken]}]};case"explicit-key-ind":{this.onKeyLine=!0;const r=c(u(e));return r.push(this.sourceToken),{type:"block-map",offset:this.offset,indent:this.indent,items:[{start:r}]}}case"map-value-ind":{this.onKeyLine=!0;const r=c(u(e));return{type:"block-map",offset:this.offset,indent:this.indent,items:[{start:r,key:null,sep:[this.sourceToken]}]}}}return null}atIndentedComment(e,r){return"comment"===this.type&&!(this.indent<=r)&&e.every((e=>"newline"===e.type||"space"===e.type))}*documentEnd(e){"doc-mode"!==this.type&&(e.end?e.end.push(this.sourceToken):e.end=[this.sourceToken],"newline"===this.type&&(yield*this.pop()))}*lineEnd(e){switch(this.type){case"comma":case"doc-start":case"doc-end":case"flow-seq-end":case"flow-map-end":case"map-value-ind":yield*this.pop(),yield*this.step();break;case"newline":this.onKeyLine=!1;default:e.end?e.end.push(this.sourceToken):e.end=[this.sourceToken],"newline"===this.type&&(yield*this.pop())}}}},463:(e,r,t)=>{"use strict";var i=t(8480),n=t(2333),o=t(1656),a=t(7953),s=t(2324),u=t(5456);function c(e){const r=!1!==e.prettyErrors;return{lineCounter:e.lineCounter||r&&new s.LineCounter||null,prettyErrors:r}}function d(e,r={}){const{lineCounter:t,prettyErrors:n}=c(r),a=new u.Parser(t?.addNewLine),s=new i.Composer(r);let d=null;for(const r of s.compose(a.parse(e),!0,e.length))if(d){if("silent"!==d.options.logLevel){d.errors.push(new o.YAMLParseError(r.range.slice(0,2),"MULTIPLE_DOCS","Source contains multiple documents; please use YAML.parseAllDocuments()"));break}}else d=r;return n&&t&&(d.errors.forEach(o.prettifyError(e,t)),d.warnings.forEach(o.prettifyError(e,t))),d}r.parse=function(e,r,t){let i;"function"==typeof r?i=r:void 0===t&&r&&"object"==typeof r&&(t=r);const n=d(e,t);if(!n)return null;if(n.warnings.forEach((e=>a.warn(n.options.logLevel,e))),n.errors.length>0){if("silent"!==n.options.logLevel)throw n.errors[0];n.errors=[]}return n.toJS(Object.assign({reviver:i},t))},r.parseAllDocuments=function(e,r={}){const{lineCounter:t,prettyErrors:n}=c(r),a=new u.Parser(t?.addNewLine),s=new i.Composer(r),d=Array.from(s.compose(a.parse(e)));if(n&&t)for(const r of d)r.errors.forEach(o.prettifyError(e,t)),r.warnings.forEach(o.prettifyError(e,t));return d.length>0?d:Object.assign([],{empty:!0},s.streamInfo())},r.parseDocument=d,r.stringify=function(e,r,t){let i=null;if("function"==typeof r||Array.isArray(r)?i=r:void 0===t&&r&&(t=r),"string"==typeof t&&(t=t.length),"number"==typeof t){const e=Math.round(t);t=e<1?void 0:e>8?{indent:8}:{indent:e}}if(void 0===e){const{keepUndefined:e}=t??r??{};if(!e)return}return new n.Document(e,i,t).toString(t)}},7840:(e,r,t)=>{"use strict";var i=t(9399),n=t(459),o=t(1418),a=t(4352),s=t(4146);const u=(e,r)=>e.key<r.key?-1:e.key>r.key?1:0;class c{constructor({compat:e,customTags:r,merge:t,resolveKnownTags:c,schema:d,sortMapEntries:l,toStringDefaults:I}){this.compat=Array.isArray(e)?s.getTags(e,"compat"):e?s.getTags(null,e):null,this.merge=!!t,this.name="string"==typeof d&&d||"core",this.knownTags=c?s.coreKnownTags:{},this.tags=s.getTags(r,this.name),this.toStringOptions=I??null,Object.defineProperty(this,i.MAP,{value:n.map}),Object.defineProperty(this,i.SCALAR,{value:a.string}),Object.defineProperty(this,i.SEQ,{value:o.seq}),this.sortMapEntries="function"==typeof l?l:!0===l?u:null}clone(){const e=Object.create(c.prototype,Object.getOwnPropertyDescriptors(this));return e.tags=this.tags.slice(),e}}r.Schema=c},459:(e,r,t)=>{"use strict";var i=t(9399),n=t(2262);const o={collection:"map",default:!0,nodeClass:n.YAMLMap,tag:"tag:yaml.org,2002:map",resolve:(e,r)=>(i.isMap(e)||r("Expected a mapping for this tag"),e),createNode:(e,r,t)=>n.YAMLMap.from(e,r,t)};r.map=o},1504:(e,r,t)=>{"use strict";var i=t(3205);const n={identify:e=>null==e,createNode:()=>new i.Scalar(null),default:!0,tag:"tag:yaml.org,2002:null",test:/^(?:~|[Nn]ull|NULL)?$/,resolve:()=>new i.Scalar(null),stringify:({source:e},r)=>"string"==typeof e&&n.test.test(e)?e:r.options.nullStr};r.nullTag=n},1418:(e,r,t)=>{"use strict";var i=t(9399),n=t(847);const o={collection:"seq",default:!0,nodeClass:n.YAMLSeq,tag:"tag:yaml.org,2002:seq",resolve:(e,r)=>(i.isSeq(e)||r("Expected a sequence for this tag"),e),createNode:(e,r,t)=>n.YAMLSeq.from(e,r,t)};r.seq=o},4352:(e,r,t)=>{"use strict";var i=t(8653);const n={identify:e=>"string"==typeof e,default:!0,tag:"tag:yaml.org,2002:str",resolve:e=>e,stringify:(e,r,t,n)=>(r=Object.assign({actualString:!0},r),i.stringifyString(e,r,t,n))};r.string=n},1399:(e,r,t)=>{"use strict";var i=t(3205);const n={identify:e=>"boolean"==typeof e,default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:[Tt]rue|TRUE|[Ff]alse|FALSE)$/,resolve:e=>new i.Scalar("t"===e[0]||"T"===e[0]),stringify:({source:e,value:r},t)=>e&&n.test.test(e)&&r===("t"===e[0]||"T"===e[0])?e:r?t.options.trueStr:t.options.falseStr};r.boolTag=n},6853:(e,r,t)=>{"use strict";var i=t(3205),n=t(1105);const o={identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",test:/^(?:[-+]?\.(?:inf|Inf|INF|nan|NaN|NAN))$/,resolve:e=>"nan"===e.slice(-3).toLowerCase()?NaN:"-"===e[0]?Number.NEGATIVE_INFINITY:Number.POSITIVE_INFINITY,stringify:n.stringifyNumber},a={identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",format:"EXP",test:/^[-+]?(?:\.[0-9]+|[0-9]+(?:\.[0-9]*)?)[eE][-+]?[0-9]+$/,resolve:e=>parseFloat(e),stringify(e){const r=Number(e.value);return isFinite(r)?r.toExponential():n.stringifyNumber(e)}},s={identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",test:/^[-+]?(?:\.[0-9]+|[0-9]+\.[0-9]*)$/,resolve(e){const r=new i.Scalar(parseFloat(e)),t=e.indexOf(".");return-1!==t&&"0"===e[e.length-1]&&(r.minFractionDigits=e.length-t-1),r},stringify:n.stringifyNumber};r.float=s,r.floatExp=a,r.floatNaN=o},6802:(e,r,t)=>{"use strict";var i=t(1105);const n=e=>"bigint"==typeof e||Number.isInteger(e),o=(e,r,t,{intAsBigInt:i})=>i?BigInt(e):parseInt(e.substring(r),t);function a(e,r,t){const{value:o}=e;return n(o)&&o>=0?t+o.toString(r):i.stringifyNumber(e)}const s={identify:e=>n(e)&&e>=0,default:!0,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^0o[0-7]+$/,resolve:(e,r,t)=>o(e,2,8,t),stringify:e=>a(e,8,"0o")},u={identify:n,default:!0,tag:"tag:yaml.org,2002:int",test:/^[-+]?[0-9]+$/,resolve:(e,r,t)=>o(e,0,10,t),stringify:i.stringifyNumber},c={identify:e=>n(e)&&e>=0,default:!0,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^0x[0-9a-fA-F]+$/,resolve:(e,r,t)=>o(e,2,16,t),stringify:e=>a(e,16,"0x")};r.int=u,r.intHex=c,r.intOct=s},8368:(e,r,t)=>{"use strict";var i=t(459),n=t(1504),o=t(1418),a=t(4352),s=t(1399),u=t(6853),c=t(6802);const d=[i.map,o.seq,a.string,n.nullTag,s.boolTag,c.intOct,c.int,c.intHex,u.floatNaN,u.floatExp,u.float];r.schema=d},887:(e,r,t)=>{"use strict";var i=t(3205),n=t(459),o=t(1418);function a(e){return"bigint"==typeof e||Number.isInteger(e)}const s=({value:e})=>JSON.stringify(e),u=[{identify:e=>"string"==typeof e,default:!0,tag:"tag:yaml.org,2002:str",resolve:e=>e,stringify:s},{identify:e=>null==e,createNode:()=>new i.Scalar(null),default:!0,tag:"tag:yaml.org,2002:null",test:/^null$/,resolve:()=>null,stringify:s},{identify:e=>"boolean"==typeof e,default:!0,tag:"tag:yaml.org,2002:bool",test:/^true|false$/,resolve:e=>"true"===e,stringify:s},{identify:a,default:!0,tag:"tag:yaml.org,2002:int",test:/^-?(?:0|[1-9][0-9]*)$/,resolve:(e,r,{intAsBigInt:t})=>t?BigInt(e):parseInt(e,10),stringify:({value:e})=>a(e)?e.toString():JSON.stringify(e)},{identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",test:/^-?(?:0|[1-9][0-9]*)(?:\.[0-9]*)?(?:[eE][-+]?[0-9]+)?$/,resolve:e=>parseFloat(e),stringify:s}],c={default:!0,tag:"",test:/^/,resolve:(e,r)=>(r(`Unresolved plain scalar ${JSON.stringify(e)}`),e)},d=[n.map,o.seq].concat(u,c);r.schema=d},4146:(e,r,t)=>{"use strict";var i=t(459),n=t(1504),o=t(1418),a=t(4352),s=t(1399),u=t(6853),c=t(6802),d=t(8368),l=t(887),I=t(2659),p=t(879),f=t(225),m=t(8025),h=t(4344),g=t(9024);const v=new Map([["core",d.schema],["failsafe",[i.map,o.seq,a.string]],["json",l.schema],["yaml11",m.schema],["yaml-1.1",m.schema]]),y={binary:I.binary,bool:s.boolTag,float:u.float,floatExp:u.floatExp,floatNaN:u.floatNaN,floatTime:g.floatTime,int:c.int,intHex:c.intHex,intOct:c.intOct,intTime:g.intTime,map:i.map,null:n.nullTag,omap:p.omap,pairs:f.pairs,seq:o.seq,set:h.set,timestamp:g.timestamp},w={"tag:yaml.org,2002:binary":I.binary,"tag:yaml.org,2002:omap":p.omap,"tag:yaml.org,2002:pairs":f.pairs,"tag:yaml.org,2002:set":h.set,"tag:yaml.org,2002:timestamp":g.timestamp};r.coreKnownTags=w,r.getTags=function(e,r){let t=v.get(r);if(!t){if(!Array.isArray(e)){const e=Array.from(v.keys()).filter((e=>"yaml11"!==e)).map((e=>JSON.stringify(e))).join(", ");throw new Error(`Unknown schema "${r}"; use one of ${e} or define customTags array`)}t=[]}if(Array.isArray(e))for(const r of e)t=t.concat(r);else"function"==typeof e&&(t=e(t.slice()));return t.map((e=>{if("string"!=typeof e)return e;const r=y[e];if(r)return r;const t=Object.keys(y).map((e=>JSON.stringify(e))).join(", ");throw new Error(`Unknown custom tag "${e}"; use one of ${t}`)}))}},2659:(e,r,t)=>{"use strict";var i=t(3205),n=t(8653);const o={identify:e=>e instanceof Uint8Array,default:!1,tag:"tag:yaml.org,2002:binary",resolve(e,r){if("function"==typeof Buffer)return Buffer.from(e,"base64");if("function"==typeof atob){const r=atob(e.replace(/[\n\r]/g,"")),t=new Uint8Array(r.length);for(let e=0;e<r.length;++e)t[e]=r.charCodeAt(e);return t}return r("This environment does not support reading binary tags; either Buffer or atob is required"),e},stringify({comment:e,type:r,value:t},o,a,s){const u=t;let c;if("function"==typeof Buffer)c=u instanceof Buffer?u.toString("base64"):Buffer.from(u.buffer).toString("base64");else{if("function"!=typeof btoa)throw new Error("This environment does not support writing binary tags; either Buffer or btoa is required");{let e="";for(let r=0;r<u.length;++r)e+=String.fromCharCode(u[r]);c=btoa(e)}}if(r||(r=i.Scalar.BLOCK_LITERAL),r!==i.Scalar.QUOTE_DOUBLE){const e=Math.max(o.options.lineWidth-o.indent.length,o.options.minContentWidth),t=Math.ceil(c.length/e),n=new Array(t);for(let r=0,i=0;r<t;++r,i+=e)n[r]=c.substr(i,e);c=n.join(r===i.Scalar.BLOCK_LITERAL?"\n":" ")}return n.stringifyString({comment:e,type:r,value:c},o,a,s)}};r.binary=o},3662:(e,r,t)=>{"use strict";var i=t(3205);function n({value:e,source:r},t){return r&&(e?o:a).test.test(r)?r:e?t.options.trueStr:t.options.falseStr}const o={identify:e=>!0===e,default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:Y|y|[Yy]es|YES|[Tt]rue|TRUE|[Oo]n|ON)$/,resolve:()=>new i.Scalar(!0),stringify:n},a={identify:e=>!1===e,default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:N|n|[Nn]o|NO|[Ff]alse|FALSE|[Oo]ff|OFF)$/i,resolve:()=>new i.Scalar(!1),stringify:n};r.falseTag=a,r.trueTag=o},9782:(e,r,t)=>{"use strict";var i=t(3205),n=t(1105);const o={identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",test:/^[-+]?\.(?:inf|Inf|INF|nan|NaN|NAN)$/,resolve:e=>"nan"===e.slice(-3).toLowerCase()?NaN:"-"===e[0]?Number.NEGATIVE_INFINITY:Number.POSITIVE_INFINITY,stringify:n.stringifyNumber},a={identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",format:"EXP",test:/^[-+]?(?:[0-9][0-9_]*)?(?:\.[0-9_]*)?[eE][-+]?[0-9]+$/,resolve:e=>parseFloat(e.replace(/_/g,"")),stringify(e){const r=Number(e.value);return isFinite(r)?r.toExponential():n.stringifyNumber(e)}},s={identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",test:/^[-+]?(?:[0-9][0-9_]*)?\.[0-9_]*$/,resolve(e){const r=new i.Scalar(parseFloat(e.replace(/_/g,""))),t=e.indexOf(".");if(-1!==t){const i=e.substring(t+1).replace(/_/g,"");"0"===i[i.length-1]&&(r.minFractionDigits=i.length)}return r},stringify:n.stringifyNumber};r.float=s,r.floatExp=a,r.floatNaN=o},2073:(e,r,t)=>{"use strict";var i=t(1105);const n=e=>"bigint"==typeof e||Number.isInteger(e);function o(e,r,t,{intAsBigInt:i}){const n=e[0];if("-"!==n&&"+"!==n||(r+=1),e=e.substring(r).replace(/_/g,""),i){switch(t){case 2:e=`0b${e}`;break;case 8:e=`0o${e}`;break;case 16:e=`0x${e}`}const r=BigInt(e);return"-"===n?BigInt(-1)*r:r}const o=parseInt(e,t);return"-"===n?-1*o:o}function a(e,r,t){const{value:o}=e;if(n(o)){const e=o.toString(r);return o<0?"-"+t+e.substr(1):t+e}return i.stringifyNumber(e)}const s={identify:n,default:!0,tag:"tag:yaml.org,2002:int",format:"BIN",test:/^[-+]?0b[0-1_]+$/,resolve:(e,r,t)=>o(e,2,2,t),stringify:e=>a(e,2,"0b")},u={identify:n,default:!0,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^[-+]?0[0-7_]+$/,resolve:(e,r,t)=>o(e,1,8,t),stringify:e=>a(e,8,"0")},c={identify:n,default:!0,tag:"tag:yaml.org,2002:int",test:/^[-+]?[0-9][0-9_]*$/,resolve:(e,r,t)=>o(e,0,10,t),stringify:i.stringifyNumber},d={identify:n,default:!0,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^[-+]?0x[0-9a-fA-F_]+$/,resolve:(e,r,t)=>o(e,2,16,t),stringify:e=>a(e,16,"0x")};r.int=c,r.intBin=s,r.intHex=d,r.intOct=u},879:(e,r,t)=>{"use strict";var i=t(9399),n=t(3947),o=t(2262),a=t(847),s=t(225);class u extends a.YAMLSeq{constructor(){super(),this.add=o.YAMLMap.prototype.add.bind(this),this.delete=o.YAMLMap.prototype.delete.bind(this),this.get=o.YAMLMap.prototype.get.bind(this),this.has=o.YAMLMap.prototype.has.bind(this),this.set=o.YAMLMap.prototype.set.bind(this),this.tag=u.tag}toJSON(e,r){if(!r)return super.toJSON(e);const t=new Map;r?.onCreate&&r.onCreate(t);for(const e of this.items){let o,a;if(i.isPair(e)?(o=n.toJS(e.key,"",r),a=n.toJS(e.value,o,r)):o=n.toJS(e,"",r),t.has(o))throw new Error("Ordered maps must not include duplicate keys");t.set(o,a)}return t}static from(e,r,t){const i=s.createPairs(e,r,t),n=new this;return n.items=i.items,n}}u.tag="tag:yaml.org,2002:omap";const c={collection:"seq",identify:e=>e instanceof Map,nodeClass:u,default:!1,tag:"tag:yaml.org,2002:omap",resolve(e,r){const t=s.resolvePairs(e,r),n=[];for(const{key:e}of t.items)i.isScalar(e)&&(n.includes(e.value)?r(`Ordered maps must not include duplicate keys: ${e.value}`):n.push(e.value));return Object.assign(new u,t)},createNode:(e,r,t)=>u.from(e,r,t)};r.YAMLOMap=u,r.omap=c},225:(e,r,t)=>{"use strict";var i=t(9399),n=t(4237),o=t(3205),a=t(847);function s(e,r){if(i.isSeq(e))for(let t=0;t<e.items.length;++t){let a=e.items[t];if(!i.isPair(a)){if(i.isMap(a)){a.items.length>1&&r("Each pair must have its own sequence indicator");const e=a.items[0]||new n.Pair(new o.Scalar(null));if(a.commentBefore&&(e.key.commentBefore=e.key.commentBefore?`${a.commentBefore}\n${e.key.commentBefore}`:a.commentBefore),a.comment){const r=e.value??e.key;r.comment=r.comment?`${a.comment}\n${r.comment}`:a.comment}a=e}e.items[t]=i.isPair(a)?a:new n.Pair(a)}}else r("Expected a sequence for this tag");return e}function u(e,r,t){const{replacer:i}=t,o=new a.YAMLSeq(e);o.tag="tag:yaml.org,2002:pairs";let s=0;if(r&&Symbol.iterator in Object(r))for(let e of r){let a,u;if("function"==typeof i&&(e=i.call(r,String(s++),e)),Array.isArray(e)){if(2!==e.length)throw new TypeError(`Expected [key, value] tuple: ${e}`);a=e[0],u=e[1]}else if(e&&e instanceof Object){const r=Object.keys(e);if(1!==r.length)throw new TypeError(`Expected tuple with one key, not ${r.length} keys`);a=r[0],u=e[a]}else a=e;o.items.push(n.createPair(a,u,t))}return o}const c={collection:"seq",default:!1,tag:"tag:yaml.org,2002:pairs",resolve:s,createNode:u};r.createPairs=u,r.pairs=c,r.resolvePairs=s},8025:(e,r,t)=>{"use strict";var i=t(459),n=t(1504),o=t(1418),a=t(4352),s=t(2659),u=t(3662),c=t(9782),d=t(2073),l=t(879),I=t(225),p=t(4344),f=t(9024);const m=[i.map,o.seq,a.string,n.nullTag,u.trueTag,u.falseTag,d.intBin,d.intOct,d.int,d.intHex,c.floatNaN,c.floatExp,c.float,s.binary,l.omap,I.pairs,p.set,f.intTime,f.floatTime,f.timestamp];r.schema=m},4344:(e,r,t)=>{"use strict";var i=t(9399),n=t(4237),o=t(2262);class a extends o.YAMLMap{constructor(e){super(e),this.tag=a.tag}add(e){let r;r=i.isPair(e)?e:e&&"object"==typeof e&&"key"in e&&"value"in e&&null===e.value?new n.Pair(e.key,null):new n.Pair(e,null),o.findPair(this.items,r.key)||this.items.push(r)}get(e,r){const t=o.findPair(this.items,e);return!r&&i.isPair(t)?i.isScalar(t.key)?t.key.value:t.key:t}set(e,r){if("boolean"!=typeof r)throw new Error("Expected boolean value for set(key, value) in a YAML set, not "+typeof r);const t=o.findPair(this.items,e);t&&!r?this.items.splice(this.items.indexOf(t),1):!t&&r&&this.items.push(new n.Pair(e))}toJSON(e,r){return super.toJSON(e,r,Set)}toString(e,r,t){if(!e)return JSON.stringify(this);if(this.hasAllNullValues(!0))return super.toString(Object.assign({},e,{allNullValues:!0}),r,t);throw new Error("Set items must all have null values")}static from(e,r,t){const{replacer:i}=t,o=new this(e);if(r&&Symbol.iterator in Object(r))for(let e of r)"function"==typeof i&&(e=i.call(r,e,e)),o.items.push(n.createPair(e,null,t));return o}}a.tag="tag:yaml.org,2002:set";const s={collection:"map",identify:e=>e instanceof Set,nodeClass:a,default:!1,tag:"tag:yaml.org,2002:set",createNode:(e,r,t)=>a.from(e,r,t),resolve(e,r){if(i.isMap(e)){if(e.hasAllNullValues(!0))return Object.assign(new a,e);r("Set items must all have null values")}else r("Expected a mapping for this tag");return e}};r.YAMLSet=a,r.set=s},9024:(e,r,t)=>{"use strict";var i=t(1105);function n(e,r){const t=e[0],i="-"===t||"+"===t?e.substring(1):e,n=e=>r?BigInt(e):Number(e),o=i.replace(/_/g,"").split(":").reduce(((e,r)=>e*n(60)+n(r)),n(0));return"-"===t?n(-1)*o:o}function o(e){let{value:r}=e,t=e=>e;if("bigint"==typeof r)t=e=>BigInt(e);else if(isNaN(r)||!isFinite(r))return i.stringifyNumber(e);let n="";r<0&&(n="-",r*=t(-1));const o=t(60),a=[r%o];return r<60?a.unshift(0):(r=(r-a[0])/o,a.unshift(r%o),r>=60&&(r=(r-a[0])/o,a.unshift(r))),n+a.map((e=>String(e).padStart(2,"0"))).join(":").replace(/000000\d*$/,"")}const a={identify:e=>"bigint"==typeof e||Number.isInteger(e),default:!0,tag:"tag:yaml.org,2002:int",format:"TIME",test:/^[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+$/,resolve:(e,r,{intAsBigInt:t})=>n(e,t),stringify:o},s={identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",format:"TIME",test:/^[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+\.[0-9_]*$/,resolve:e=>n(e,!1),stringify:o},u={identify:e=>e instanceof Date,default:!0,tag:"tag:yaml.org,2002:timestamp",test:RegExp("^([0-9]{4})-([0-9]{1,2})-([0-9]{1,2})(?:(?:t|T|[ \\t]+)([0-9]{1,2}):([0-9]{1,2}):([0-9]{1,2}(\\.[0-9]+)?)(?:[ \\t]*(Z|[-+][012]?[0-9](?::[0-9]{2})?))?)?$"),resolve(e){const r=e.match(u.test);if(!r)throw new Error("!!timestamp expects a date, starting with yyyy-mm-dd");const[,t,i,o,a,s,c]=r.map(Number),d=r[7]?Number((r[7]+"00").substr(1,3)):0;let l=Date.UTC(t,i-1,o,a||0,s||0,c||0,d);const I=r[8];if(I&&"Z"!==I){let e=n(I,!1);Math.abs(e)<30&&(e*=60),l-=6e4*e}return new Date(l)},stringify:({value:e})=>e.toISOString().replace(/((T00:00)?:00)?\.000Z$/,"")};r.floatTime=s,r.intTime=a,r.timestamp=u},347:(e,r)=>{"use strict";const t="block",i="quoted";function n(e,r){let t=e[r+1];for(;" "===t||"\t"===t;){do{t=e[r+=1]}while(t&&"\n"!==t);t=e[r+1]}return r}r.FOLD_BLOCK=t,r.FOLD_FLOW="flow",r.FOLD_QUOTED=i,r.foldFlowLines=function(e,r,o="flow",{indentAtStart:a,lineWidth:s=80,minContentWidth:u=20,onFold:c,onOverflow:d}={}){if(!s||s<0)return e;const l=Math.max(1+u,1+s-r.length);if(e.length<=l)return e;const I=[],p={};let f,m,h=s-r.length;"number"==typeof a&&(a>s-Math.max(2,u)?I.push(0):h=s-a);let g=!1,v=-1,y=-1,w=-1;o===t&&(v=n(e,v),-1!==v&&(h=v+l));for(let r;r=e[v+=1];){if(o===i&&"\\"===r){switch(y=v,e[v+1]){case"x":v+=3;break;case"u":v+=5;break;case"U":v+=9;break;default:v+=1}w=v}if("\n"===r)o===t&&(v=n(e,v)),h=v+l,f=void 0;else{if(" "===r&&m&&" "!==m&&"\n"!==m&&"\t"!==m){const r=e[v+1];r&&" "!==r&&"\n"!==r&&"\t"!==r&&(f=v)}if(v>=h)if(f)I.push(f),h=f+l,f=void 0;else if(o===i){for(;" "===m||"\t"===m;)m=r,r=e[v+=1],g=!0;const t=v>w+1?v-2:y-1;if(p[t])return e;I.push(t),p[t]=!0,h=t+l,f=void 0}else g=!0}m=r}if(g&&d&&d(),0===I.length)return e;c&&c();let S=e.slice(0,I[0]);for(let t=0;t<I.length;++t){const n=I[t],a=I[t+1]||e.length;0===n?S=`\n${r}${e.slice(0,a)}`:(o===i&&p[n]&&(S+=`${e[n]}\\`),S+=`\n${r}${e.slice(n+1,a)}`)}return S}},5636:(e,r,t)=>{"use strict";var i=t(8028),n=t(9399),o=t(5719),a=t(8653);r.createStringifyContext=function(e,r){const t=Object.assign({blockQuote:!0,commentString:o.stringifyComment,defaultKeyType:null,defaultStringType:"PLAIN",directives:null,doubleQuotedAsJSON:!1,doubleQuotedMinMultiLineLength:40,falseStr:"false",flowCollectionPadding:!0,indentSeq:!0,lineWidth:80,minContentWidth:20,nullStr:"null",simpleKeys:!1,singleQuote:null,trueStr:"true",verifyAliasOrder:!0},e.schema.toStringOptions,r);let i;switch(t.collectionStyle){case"block":i=!1;break;case"flow":i=!0;break;default:i=null}return{anchors:new Set,doc:e,flowCollectionPadding:t.flowCollectionPadding?" ":"",indent:"",indentStep:"number"==typeof t.indent?" ".repeat(t.indent):" ",inFlow:i,options:t}},r.stringify=function(e,r,t,o){if(n.isPair(e))return e.toString(r,t,o);if(n.isAlias(e)){if(r.doc.directives)return e.toString(r);if(r.resolvedAliases?.has(e))throw new TypeError("Cannot stringify circular structure without alias nodes");r.resolvedAliases?r.resolvedAliases.add(e):r.resolvedAliases=new Set([e]),e=e.resolve(r.doc)}let s;const u=n.isNode(e)?e:r.doc.createNode(e,{onTagObj:e=>s=e});s||(s=function(e,r){if(r.tag){const t=e.filter((e=>e.tag===r.tag));if(t.length>0)return t.find((e=>e.format===r.format))??t[0]}let t,i;if(n.isScalar(r)){i=r.value;const n=e.filter((e=>e.identify?.(i)));t=n.find((e=>e.format===r.format))??n.find((e=>!e.format))}else i=r,t=e.find((e=>e.nodeClass&&i instanceof e.nodeClass));if(!t)throw new Error(`Tag not resolved for ${i?.constructor?.name??typeof i} value`);return t}(r.doc.schema.tags,u));const c=function(e,r,{anchors:t,doc:o}){if(!o.directives)return"";const a=[],s=(n.isScalar(e)||n.isCollection(e))&&e.anchor;s&&i.anchorIsValid(s)&&(t.add(s),a.push(`&${s}`));const u=e.tag?e.tag:r.default?null:r.tag;return u&&a.push(o.directives.tagString(u)),a.join(" ")}(u,s,r);c.length>0&&(r.indentAtStart=(r.indentAtStart??0)+c.length+1);const d="function"==typeof s.stringify?s.stringify(u,r,t,o):n.isScalar(u)?a.stringifyString(u,r,t,o):u.toString(r,t,o);return c?n.isScalar(u)||"{"===d[0]||"["===d[0]?`${c} ${d}`:`${c}\n${r.indent}${d}`:d}},5756:(e,r,t)=>{"use strict";var i=t(2997),n=t(9399),o=t(5636),a=t(5719);function s({comment:e,items:r},t,{blockItemPrefix:i,flowChars:s,itemIndent:u,onChompKeep:d,onComment:l}){const{indent:I,options:{commentString:p}}=t,f=Object.assign({},t,{indent:u,type:null});let m=!1;const h=[];for(let e=0;e<r.length;++e){const s=r[e];let d=null;if(n.isNode(s))!m&&s.spaceBefore&&h.push(""),c(t,h,s.commentBefore,m),s.comment&&(d=s.comment);else if(n.isPair(s)){const e=n.isNode(s.key)?s.key:null;e&&(!m&&e.spaceBefore&&h.push(""),c(t,h,e.commentBefore,m))}m=!1;let l=o.stringify(s,f,(()=>d=null),(()=>m=!0));d&&(l+=a.lineComment(l,u,p(d))),m&&d&&(m=!1),h.push(i+l)}let g;if(0===h.length)g=s.start+s.end;else{g=h[0];for(let e=1;e<h.length;++e){const r=h[e];g+=r?`\n${I}${r}`:"\n"}}return e?(g+="\n"+a.indentComment(p(e),I),l&&l()):m&&d&&d(),g}function u({comment:e,items:r},t,{flowChars:s,itemIndent:u,onComment:d}){const{indent:l,indentStep:I,flowCollectionPadding:p,options:{commentString:f}}=t;u+=I;const m=Object.assign({},t,{indent:u,inFlow:!0,type:null});let h=!1,g=0;const v=[];for(let e=0;e<r.length;++e){const i=r[e];let s=null;if(n.isNode(i))i.spaceBefore&&v.push(""),c(t,v,i.commentBefore,!1),i.comment&&(s=i.comment);else if(n.isPair(i)){const e=n.isNode(i.key)?i.key:null;e&&(e.spaceBefore&&v.push(""),c(t,v,e.commentBefore,!1),e.comment&&(h=!0));const r=n.isNode(i.value)?i.value:null;r?(r.comment&&(s=r.comment),r.commentBefore&&(h=!0)):null==i.value&&e?.comment&&(s=e.comment)}s&&(h=!0);let d=o.stringify(i,m,(()=>s=null));e<r.length-1&&(d+=","),s&&(d+=a.lineComment(d,u,f(s))),!h&&(v.length>g||d.includes("\n"))&&(h=!0),v.push(d),g=v.length}let y;const{start:w,end:S}=s;if(0===v.length)y=w+S;else if(h||(h=v.reduce(((e,r)=>e+r.length+2),2)>i.Collection.maxFlowStringSingleLineLength),h){y=w;for(const e of v)y+=e?`\n${I}${l}${e}`:"\n";y+=`\n${l}${S}`}else y=`${w}${p}${v.join(" ")}${p}${S}`;return e&&(y+=a.lineComment(y,l,f(e)),d&&d()),y}function c({indent:e,options:{commentString:r}},t,i,n){if(i&&n&&(i=i.replace(/^\n+/,"")),i){const n=a.indentComment(r(i),e);t.push(n.trimStart())}}r.stringifyCollection=function(e,r,t){return(r.inFlow??e.flow?u:s)(e,r,t)}},5719:(e,r)=>{"use strict";function t(e,r){return/^\n+$/.test(e)?e.substring(1):r?e.replace(/^(?! *$)/gm,r):e}r.indentComment=t,r.lineComment=(e,r,i)=>e.endsWith("\n")?t(i,r):i.includes("\n")?"\n"+t(i,r):(e.endsWith(" ")?"":" ")+i,r.stringifyComment=e=>e.replace(/^(?!$)(?: $)?/gm,"#")},1677:(e,r,t)=>{"use strict";var i=t(9399),n=t(5636),o=t(5719);r.stringifyDocument=function(e,r){const t=[];let a=!0===r.directives;if(!1!==r.directives&&e.directives){const r=e.directives.toString(e);r?(t.push(r),a=!0):e.directives.docStart&&(a=!0)}a&&t.push("---");const s=n.createStringifyContext(e,r),{commentString:u}=s.options;if(e.commentBefore){1!==t.length&&t.unshift("");const r=u(e.commentBefore);t.unshift(o.indentComment(r,""))}let c=!1,d=null;if(e.contents){if(i.isNode(e.contents)){if(e.contents.spaceBefore&&a&&t.push(""),e.contents.commentBefore){const r=u(e.contents.commentBefore);t.push(o.indentComment(r,""))}s.forceBlockIndent=!!e.comment,d=e.contents.comment}const r=d?void 0:()=>c=!0;let l=n.stringify(e.contents,s,(()=>d=null),r);d&&(l+=o.lineComment(l,"",u(d))),"|"!==l[0]&&">"!==l[0]||"---"!==t[t.length-1]?t.push(l):t[t.length-1]=`--- ${l}`}else t.push(n.stringify(e.contents,s));if(e.directives?.docEnd)if(e.comment){const r=u(e.comment);r.includes("\n")?(t.push("..."),t.push(o.indentComment(r,""))):t.push(`... ${r}`)}else t.push("...");else{let r=e.comment;r&&c&&(r=r.replace(/^\n+/,"")),r&&(c&&!d||""===t[t.length-1]||t.push(""),t.push(o.indentComment(u(r),"")))}return t.join("\n")+"\n"}},1105:(e,r)=>{"use strict";r.stringifyNumber=function({format:e,minFractionDigits:r,tag:t,value:i}){if("bigint"==typeof i)return String(i);const n="number"==typeof i?i:Number(i);if(!isFinite(n))return isNaN(n)?".nan":n<0?"-.inf":".inf";let o=JSON.stringify(i);if(!e&&r&&(!t||"tag:yaml.org,2002:float"===t)&&/^\d/.test(o)){let e=o.indexOf(".");e<0&&(e=o.length,o+=".");let t=r-(o.length-e-1);for(;t-- >0;)o+="0"}return o}},9348:(e,r,t)=>{"use strict";var i=t(9399),n=t(3205),o=t(5636),a=t(5719);r.stringifyPair=function({key:e,value:r},t,s,u){const{allNullValues:c,doc:d,indent:l,indentStep:I,options:{commentString:p,indentSeq:f,simpleKeys:m}}=t;let h=i.isNode(e)&&e.comment||null;if(m){if(h)throw new Error("With simple keys, key nodes cannot have comments");if(i.isCollection(e))throw new Error("With simple keys, collection cannot be used as a key value")}let g=!m&&(!e||h&&null==r&&!t.inFlow||i.isCollection(e)||(i.isScalar(e)?e.type===n.Scalar.BLOCK_FOLDED||e.type===n.Scalar.BLOCK_LITERAL:"object"==typeof e));t=Object.assign({},t,{allNullValues:!1,implicitKey:!g&&(m||!c),indent:l+I});let v,y,w,S=!1,_=!1,b=o.stringify(e,t,(()=>S=!0),(()=>_=!0));if(!g&&!t.inFlow&&b.length>1024){if(m)throw new Error("With simple keys, single line scalar must not span more than 1024 characters");g=!0}if(t.inFlow){if(c||null==r)return S&&s&&s(),""===b?"?":g?`? ${b}`:b}else if(c&&!m||null==r&&g)return b=`? ${b}`,h&&!S?b+=a.lineComment(b,t.indent,p(h)):_&&u&&u(),b;S&&(h=null),g?(h&&(b+=a.lineComment(b,t.indent,p(h))),b=`? ${b}\n${l}:`):(b=`${b}:`,h&&(b+=a.lineComment(b,t.indent,p(h)))),i.isNode(r)?(v=!!r.spaceBefore,y=r.commentBefore,w=r.comment):(v=!1,y=null,w=null,r&&"object"==typeof r&&(r=d.createNode(r))),t.implicitKey=!1,g||h||!i.isScalar(r)||(t.indentAtStart=b.length+1),_=!1,f||!(I.length>=2)||t.inFlow||g||!i.isSeq(r)||r.flow||r.tag||r.anchor||(t.indent=t.indent.substring(2));let T=!1;const O=o.stringify(r,t,(()=>T=!0),(()=>_=!0));let k=" ";if(h||v||y){if(k=v?"\n":"",y){const e=p(y);k+=`\n${a.indentComment(e,t.indent)}`}""!==O||t.inFlow?k+=`\n${t.indent}`:"\n"===k&&(k="\n\n")}else if(!g&&i.isCollection(r)){const e=O[0],i=O.indexOf("\n"),n=-1!==i,o=t.inFlow??r.flow??0===r.items.length;if(n||!o){let r=!1;if(n&&("&"===e||"!"===e)){let t=O.indexOf(" ");"&"===e&&-1!==t&&t<i&&"!"===O[t+1]&&(t=O.indexOf(" ",t+1)),(-1===t||i<t)&&(r=!0)}r||(k=`\n${t.indent}`)}}else""!==O&&"\n"!==O[0]||(k="");return b+=k+O,t.inFlow?T&&s&&s():w&&!T?b+=a.lineComment(b,t.indent,p(w)):_&&u&&u(),b}},8653:(e,r,t)=>{"use strict";var i=t(3205),n=t(347);const o=(e,r)=>({indentAtStart:r?e.indent.length:e.indentAtStart,lineWidth:e.options.lineWidth,minContentWidth:e.options.minContentWidth}),a=e=>/^(%|---|\.\.\.)/m.test(e);function s(e,r){const t=JSON.stringify(e);if(r.options.doubleQuotedAsJSON)return t;const{implicitKey:i}=r,s=r.options.doubleQuotedMinMultiLineLength,u=r.indent||(a(e)?" ":"");let c="",d=0;for(let e=0,r=t[e];r;r=t[++e])if(" "===r&&"\\"===t[e+1]&&"n"===t[e+2]&&(c+=t.slice(d,e)+"\\ ",e+=1,d=e,r="\\"),"\\"===r)switch(t[e+1]){case"u":{c+=t.slice(d,e);const r=t.substr(e+2,4);switch(r){case"0000":c+="\\0";break;case"0007":c+="\\a";break;case"000b":c+="\\v";break;case"001b":c+="\\e";break;case"0085":c+="\\N";break;case"00a0":c+="\\_";break;case"2028":c+="\\L";break;case"2029":c+="\\P";break;default:"00"===r.substr(0,2)?c+="\\x"+r.substr(2):c+=t.substr(e,6)}e+=5,d=e+1}break;case"n":if(i||'"'===t[e+2]||t.length<s)e+=1;else{for(c+=t.slice(d,e)+"\n\n";"\\"===t[e+2]&&"n"===t[e+3]&&'"'!==t[e+4];)c+="\n",e+=2;c+=u," "===t[e+2]&&(c+="\\"),e+=1,d=e+1}break;default:e+=1}return c=d?c+t.slice(d):t,i?c:n.foldFlowLines(c,u,n.FOLD_QUOTED,o(r,!1))}function u(e,r){if(!1===r.options.singleQuote||r.implicitKey&&e.includes("\n")||/[ \t]\n|\n[ \t]/.test(e))return s(e,r);const t=r.indent||(a(e)?" ":""),i="'"+e.replace(/'/g,"''").replace(/\n+/g,`$&\n${t}`)+"'";return r.implicitKey?i:n.foldFlowLines(i,t,n.FOLD_FLOW,o(r,!1))}function c(e,r){const{singleQuote:t}=r.options;let i;if(!1===t)i=s;else{const r=e.includes('"'),n=e.includes("'");i=r&&!n?u:n&&!r?s:t?u:s}return i(e,r)}let d;try{d=new RegExp("(^|(?<!\n))\n+(?!\n|$)","g")}catch{d=/\n+(?!\n|$)/g}function l({comment:e,type:r,value:t},s,u,l){const{blockQuote:I,commentString:p,lineWidth:f}=s.options;if(!I||/\n[\t ]+$/.test(t)||/^\s*$/.test(t))return c(t,s);const m=s.indent||(s.forceBlockIndent||a(t)?" ":""),h="literal"===I||"folded"!==I&&r!==i.Scalar.BLOCK_FOLDED&&(r===i.Scalar.BLOCK_LITERAL||!function(e,r,t){if(!r||r<0)return!1;const i=r-t,n=e.length;if(n<=i)return!1;for(let r=0,t=0;r<n;++r)if("\n"===e[r]){if(r-t>i)return!0;if(t=r+1,n-t<=i)return!1}return!0}(t,f,m.length));if(!t)return h?"|\n":">\n";let g,v;for(v=t.length;v>0;--v){const e=t[v-1];if("\n"!==e&&"\t"!==e&&" "!==e)break}let y=t.substring(v);const w=y.indexOf("\n");-1===w?g="-":t===y||w!==y.length-1?(g="+",l&&l()):g="",y&&(t=t.slice(0,-y.length),"\n"===y[y.length-1]&&(y=y.slice(0,-1)),y=y.replace(d,`$&${m}`));let S,_=!1,b=-1;for(S=0;S<t.length;++S){const e=t[S];if(" "===e)_=!0;else{if("\n"!==e)break;b=S}}let T=t.substring(0,b<S?b+1:S);T&&(t=t.substring(T.length),T=T.replace(/\n+/g,`$&${m}`));let O=(h?"|":">")+(_?m?"2":"1":"")+g;return e&&(O+=" "+p(e.replace(/ ?[\r\n]+/g," ")),u&&u()),h?`${O}\n${m}${T}${t=t.replace(/\n+/g,`$&${m}`)}${y}`:(t=t.replace(/\n+/g,"\n$&").replace(/(?:^|\n)([\t ].*)(?:([\n\t ]*)\n(?![\n\t ]))?/g,"$1$2").replace(/\n+/g,`$&${m}`),`${O}\n${m}${n.foldFlowLines(`${T}${t}${y}`,m,n.FOLD_BLOCK,o(s,!0))}`)}r.stringifyString=function(e,r,t,d){const{implicitKey:I,inFlow:p}=r,f="string"==typeof e.value?e:Object.assign({},e,{value:String(e.value)});let{type:m}=e;m!==i.Scalar.QUOTE_DOUBLE&&/[\x00-\x08\x0b-\x1f\x7f-\x9f\u{D800}-\u{DFFF}]/u.test(f.value)&&(m=i.Scalar.QUOTE_DOUBLE);const h=e=>{switch(e){case i.Scalar.BLOCK_FOLDED:case i.Scalar.BLOCK_LITERAL:return I||p?c(f.value,r):l(f,r,t,d);case i.Scalar.QUOTE_DOUBLE:return s(f.value,r);case i.Scalar.QUOTE_SINGLE:return u(f.value,r);case i.Scalar.PLAIN:return function(e,r,t,s){const{type:u,value:d}=e,{actualString:I,implicitKey:p,indent:f,indentStep:m,inFlow:h}=r;if(p&&d.includes("\n")||h&&/[[\]{},]/.test(d))return c(d,r);if(!d||/^[\n\t ,[\]{}#&*!|>'"%@`]|^[?-]$|^[?-][ \t]|[\n:][ \t]|[ \t]\n|[\n\t ]#|[\n\t :]$/.test(d))return p||h||!d.includes("\n")?c(d,r):l(e,r,t,s);if(!p&&!h&&u!==i.Scalar.PLAIN&&d.includes("\n"))return l(e,r,t,s);if(a(d)){if(""===f)return r.forceBlockIndent=!0,l(e,r,t,s);if(p&&f===m)return c(d,r)}const g=d.replace(/\n+/g,`$&\n${f}`);if(I){const e=e=>e.default&&"tag:yaml.org,2002:str"!==e.tag&&e.test?.test(g),{compat:t,tags:i}=r.doc.schema;if(i.some(e)||t?.some(e))return c(d,r)}return p?g:n.foldFlowLines(g,f,n.FOLD_FLOW,o(r,!1))}(f,r,t,d);default:return null}};let g=h(m);if(null===g){const{defaultKeyType:e,defaultStringType:t}=r.options,i=I&&e||t;if(g=h(i),null===g)throw new Error(`Unsupported default string type ${i}`)}return g}},4364:(e,r,t)=>{"use strict";var i=t(9399);const n=Symbol("break visit"),o=Symbol("skip children"),a=Symbol("remove node");function s(e,r){const t=l(r);i.isDocument(e)?u(null,e.contents,t,Object.freeze([e]))===a&&(e.contents=null):u(null,e,t,Object.freeze([]))}function u(e,r,t,o){const s=I(e,r,t,o);if(i.isNode(s)||i.isPair(s))return p(e,o,s),u(e,s,t,o);if("symbol"!=typeof s)if(i.isCollection(r)){o=Object.freeze(o.concat(r));for(let e=0;e<r.items.length;++e){const i=u(e,r.items[e],t,o);if("number"==typeof i)e=i-1;else{if(i===n)return n;i===a&&(r.items.splice(e,1),e-=1)}}}else if(i.isPair(r)){o=Object.freeze(o.concat(r));const e=u("key",r.key,t,o);if(e===n)return n;e===a&&(r.key=null);const i=u("value",r.value,t,o);if(i===n)return n;i===a&&(r.value=null)}return s}async function c(e,r){const t=l(r);i.isDocument(e)?await d(null,e.contents,t,Object.freeze([e]))===a&&(e.contents=null):await d(null,e,t,Object.freeze([]))}async function d(e,r,t,o){const s=await I(e,r,t,o);if(i.isNode(s)||i.isPair(s))return p(e,o,s),d(e,s,t,o);if("symbol"!=typeof s)if(i.isCollection(r)){o=Object.freeze(o.concat(r));for(let e=0;e<r.items.length;++e){const i=await d(e,r.items[e],t,o);if("number"==typeof i)e=i-1;else{if(i===n)return n;i===a&&(r.items.splice(e,1),e-=1)}}}else if(i.isPair(r)){o=Object.freeze(o.concat(r));const e=await d("key",r.key,t,o);if(e===n)return n;e===a&&(r.key=null);const i=await d("value",r.value,t,o);if(i===n)return n;i===a&&(r.value=null)}return s}function l(e){return"object"==typeof e&&(e.Collection||e.Node||e.Value)?Object.assign({Alias:e.Node,Map:e.Node,Scalar:e.Node,Seq:e.Node},e.Value&&{Map:e.Value,Scalar:e.Value,Seq:e.Value},e.Collection&&{Map:e.Collection,Seq:e.Collection},e):e}function I(e,r,t,n){return"function"==typeof t?t(e,r,n):i.isMap(r)?t.Map?.(e,r,n):i.isSeq(r)?t.Seq?.(e,r,n):i.isPair(r)?t.Pair?.(e,r,n):i.isScalar(r)?t.Scalar?.(e,r,n):i.isAlias(r)?t.Alias?.(e,r,n):void 0}function p(e,r,t){const n=r[r.length-1];if(i.isCollection(n))n.items[e]=t;else if(i.isPair(n))"key"===e?n.key=t:n.value=t;else{if(!i.isDocument(n)){const e=i.isAlias(n)?"alias":"scalar";throw new Error(`Cannot replace node with ${e} parent`)}n.contents=t}}s.BREAK=n,s.SKIP=o,s.REMOVE=a,c.BREAK=n,c.SKIP=o,c.REMOVE=a,r.visit=s,r.visitAsync=c},5608:(e,r,t)=>{"use strict";t.r(r),t.d(r,{__addDisposableResource:()=>Q,__assign:()=>o,__asyncDelegator:()=>O,__asyncGenerator:()=>T,__asyncValues:()=>k,__await:()=>b,__awaiter:()=>f,__classPrivateFieldGet:()=>x,__classPrivateFieldIn:()=>$,__classPrivateFieldSet:()=>R,__createBinding:()=>h,__decorate:()=>s,__disposeResources:()=>C,__esDecorate:()=>c,__exportStar:()=>g,__extends:()=>n,__generator:()=>m,__importDefault:()=>E,__importStar:()=>V,__makeTemplateObject:()=>A,__metadata:()=>p,__param:()=>u,__propKey:()=>l,__read:()=>y,__rest:()=>a,__runInitializers:()=>d,__setFunctionName:()=>I,__spread:()=>w,__spreadArray:()=>_,__spreadArrays:()=>S,__values:()=>v,default:()=>F});var i=function(e,r){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,r){e.__proto__=r}||function(e,r){for(var t in r)Object.prototype.hasOwnProperty.call(r,t)&&(e[t]=r[t])},i(e,r)};function n(e,r){if("function"!=typeof r&&null!==r)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");function t(){this.constructor=e}i(e,r),e.prototype=null===r?Object.create(r):(t.prototype=r.prototype,new t)}var o=function(){return o=Object.assign||function(e){for(var r,t=1,i=arguments.length;t<i;t++)for(var n in r=arguments[t])Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n]);return e},o.apply(this,arguments)};function a(e,r){var t={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&r.indexOf(i)<0&&(t[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(i=Object.getOwnPropertySymbols(e);n<i.length;n++)r.indexOf(i[n])<0&&Object.prototype.propertyIsEnumerable.call(e,i[n])&&(t[i[n]]=e[i[n]])}return t}function s(e,r,t,i){var n,o=arguments.length,a=o<3?r:null===i?i=Object.getOwnPropertyDescriptor(r,t):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,r,t,i);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(o<3?n(a):o>3?n(r,t,a):n(r,t))||a);return o>3&&a&&Object.defineProperty(r,t,a),a}function u(e,r){return function(t,i){r(t,i,e)}}function c(e,r,t,i,n,o){function a(e){if(void 0!==e&&"function"!=typeof e)throw new TypeError("Function expected");return e}for(var s,u=i.kind,c="getter"===u?"get":"setter"===u?"set":"value",d=!r&&e?i.static?e:e.prototype:null,l=r||(d?Object.getOwnPropertyDescriptor(d,i.name):{}),I=!1,p=t.length-1;p>=0;p--){var f={};for(var m in i)f[m]="access"===m?{}:i[m];for(var m in i.access)f.access[m]=i.access[m];f.addInitializer=function(e){if(I)throw new TypeError("Cannot add initializers after decoration has completed");o.push(a(e||null))};var h=(0,t[p])("accessor"===u?{get:l.get,set:l.set}:l[c],f);if("accessor"===u){if(void 0===h)continue;if(null===h||"object"!=typeof h)throw new TypeError("Object expected");(s=a(h.get))&&(l.get=s),(s=a(h.set))&&(l.set=s),(s=a(h.init))&&n.unshift(s)}else(s=a(h))&&("field"===u?n.unshift(s):l[c]=s)}d&&Object.defineProperty(d,i.name,l),I=!0}function d(e,r,t){for(var i=arguments.length>2,n=0;n<r.length;n++)t=i?r[n].call(e,t):r[n].call(e);return i?t:void 0}function l(e){return"symbol"==typeof e?e:"".concat(e)}function I(e,r,t){return"symbol"==typeof r&&(r=r.description?"[".concat(r.description,"]"):""),Object.defineProperty(e,"name",{configurable:!0,value:t?"".concat(t," ",r):r})}function p(e,r){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,r)}function f(e,r,t,i){return new(t||(t=Promise))((function(n,o){function a(e){try{u(i.next(e))}catch(e){o(e)}}function s(e){try{u(i.throw(e))}catch(e){o(e)}}function u(e){var r;e.done?n(e.value):(r=e.value,r instanceof t?r:new t((function(e){e(r)}))).then(a,s)}u((i=i.apply(e,r||[])).next())}))}function m(e,r){var t,i,n,o,a={label:0,sent:function(){if(1&n[0])throw n[1];return n[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(s){return function(u){return function(s){if(t)throw new TypeError("Generator is already executing.");for(;o&&(o=0,s[0]&&(a=0)),a;)try{if(t=1,i&&(n=2&s[0]?i.return:s[0]?i.throw||((n=i.return)&&n.call(i),0):i.next)&&!(n=n.call(i,s[1])).done)return n;switch(i=0,n&&(s=[2&s[0],n.value]),s[0]){case 0:case 1:n=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,i=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!((n=(n=a.trys).length>0&&n[n.length-1])||6!==s[0]&&2!==s[0])){a=0;continue}if(3===s[0]&&(!n||s[1]>n[0]&&s[1]<n[3])){a.label=s[1];break}if(6===s[0]&&a.label<n[1]){a.label=n[1],n=s;break}if(n&&a.label<n[2]){a.label=n[2],a.ops.push(s);break}n[2]&&a.ops.pop(),a.trys.pop();continue}s=r.call(e,a)}catch(e){s=[6,e],i=0}finally{t=n=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,u])}}}var h=Object.create?function(e,r,t,i){void 0===i&&(i=t);var n=Object.getOwnPropertyDescriptor(r,t);n&&!("get"in n?!r.__esModule:n.writable||n.configurable)||(n={enumerable:!0,get:function(){return r[t]}}),Object.defineProperty(e,i,n)}:function(e,r,t,i){void 0===i&&(i=t),e[i]=r[t]};function g(e,r){for(var t in e)"default"===t||Object.prototype.hasOwnProperty.call(r,t)||h(r,e,t)}function v(e){var r="function"==typeof Symbol&&Symbol.iterator,t=r&&e[r],i=0;if(t)return t.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&i>=e.length&&(e=void 0),{value:e&&e[i++],done:!e}}};throw new TypeError(r?"Object is not iterable.":"Symbol.iterator is not defined.")}function y(e,r){var t="function"==typeof Symbol&&e[Symbol.iterator];if(!t)return e;var i,n,o=t.call(e),a=[];try{for(;(void 0===r||r-- >0)&&!(i=o.next()).done;)a.push(i.value)}catch(e){n={error:e}}finally{try{i&&!i.done&&(t=o.return)&&t.call(o)}finally{if(n)throw n.error}}return a}function w(){for(var e=[],r=0;r<arguments.length;r++)e=e.concat(y(arguments[r]));return e}function S(){for(var e=0,r=0,t=arguments.length;r<t;r++)e+=arguments[r].length;var i=Array(e),n=0;for(r=0;r<t;r++)for(var o=arguments[r],a=0,s=o.length;a<s;a++,n++)i[n]=o[a];return i}function _(e,r,t){if(t||2===arguments.length)for(var i,n=0,o=r.length;n<o;n++)!i&&n in r||(i||(i=Array.prototype.slice.call(r,0,n)),i[n]=r[n]);return e.concat(i||Array.prototype.slice.call(r))}function b(e){return this instanceof b?(this.v=e,this):new b(e)}function T(e,r,t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var i,n=t.apply(e,r||[]),o=[];return i={},a("next"),a("throw"),a("return"),i[Symbol.asyncIterator]=function(){return this},i;function a(e){n[e]&&(i[e]=function(r){return new Promise((function(t,i){o.push([e,r,t,i])>1||s(e,r)}))})}function s(e,r){try{(t=n[e](r)).value instanceof b?Promise.resolve(t.value.v).then(u,c):d(o[0][2],t)}catch(e){d(o[0][3],e)}var t}function u(e){s("next",e)}function c(e){s("throw",e)}function d(e,r){e(r),o.shift(),o.length&&s(o[0][0],o[0][1])}}function O(e){var r,t;return r={},i("next"),i("throw",(function(e){throw e})),i("return"),r[Symbol.iterator]=function(){return this},r;function i(i,n){r[i]=e[i]?function(r){return(t=!t)?{value:b(e[i](r)),done:!1}:n?n(r):r}:n}}function k(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,t=e[Symbol.asyncIterator];return t?t.call(e):(e=v(e),r={},i("next"),i("throw"),i("return"),r[Symbol.asyncIterator]=function(){return this},r);function i(t){r[t]=e[t]&&function(r){return new Promise((function(i,n){!function(e,r,t,i){Promise.resolve(i).then((function(r){e({value:r,done:t})}),r)}(i,n,(r=e[t](r)).done,r.value)}))}}}function A(e,r){return Object.defineProperty?Object.defineProperty(e,"raw",{value:r}):e.raw=r,e}var q=Object.create?function(e,r){Object.defineProperty(e,"default",{enumerable:!0,value:r})}:function(e,r){e.default=r};function V(e){if(e&&e.__esModule)return e;var r={};if(null!=e)for(var t in e)"default"!==t&&Object.prototype.hasOwnProperty.call(e,t)&&h(r,e,t);return q(r,e),r}function E(e){return e&&e.__esModule?e:{default:e}}function x(e,r,t,i){if("a"===t&&!i)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof r?e!==r||!i:!r.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===t?i:"a"===t?i.call(e):i?i.value:r.get(e)}function R(e,r,t,i,n){if("m"===i)throw new TypeError("Private method is not writable");if("a"===i&&!n)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof r?e!==r||!n:!r.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===i?n.call(e,t):n?n.value=t:r.set(e,t),t}function $(e,r){if(null===r||"object"!=typeof r&&"function"!=typeof r)throw new TypeError("Cannot use 'in' operator on non-object");return"function"==typeof e?r===e:e.has(r)}function Q(e,r,t){if(null!=r){if("object"!=typeof r&&"function"!=typeof r)throw new TypeError("Object expected.");var i;if(t){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");i=r[Symbol.asyncDispose]}if(void 0===i){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");i=r[Symbol.dispose]}if("function"!=typeof i)throw new TypeError("Object not disposable.");e.stack.push({value:r,dispose:i,async:t})}else t&&e.stack.push({async:!0});return r}var N="function"==typeof SuppressedError?SuppressedError:function(e,r,t){var i=new Error(t);return i.name="SuppressedError",i.error=e,i.suppressed=r,i};function C(e){function r(r){e.error=e.hasError?new N(r,e.error,"An error was suppressed during disposal."):r,e.hasError=!0}return function t(){for(;e.stack.length;){var i=e.stack.pop();try{var n=i.dispose&&i.dispose.call(i.value);if(i.async)return Promise.resolve(n).then(t,(function(e){return r(e),t()}))}catch(e){r(e)}}if(e.hasError)throw e.error}()}const F={__extends:n,__assign:o,__rest:a,__decorate:s,__param:u,__metadata:p,__awaiter:f,__generator:m,__createBinding:h,__exportStar:g,__values:v,__read:y,__spread:w,__spreadArrays:S,__spreadArray:_,__await:b,__asyncGenerator:T,__asyncDelegator:O,__asyncValues:k,__makeTemplateObject:A,__importStar:V,__importDefault:E,__classPrivateFieldGet:x,__classPrivateFieldSet:R,__classPrivateFieldIn:$,__addDisposableResource:Q,__disposeResources:C}}},r={};function t(i){var n=r[i];if(void 0!==n)return n.exports;var o=r[i]={exports:{}};return e[i].call(o.exports,o,o.exports,t),o.exports}t.d=(e,r)=>{for(var i in r)t.o(r,i)&&!t.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:r[i]})},t.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),t.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i=t(664),n=exports;for(var o in i)n[o]=i[o];i.__esModule&&Object.defineProperty(n,"__esModule",{value:!0})})();
\ No newline at end of file