UNPKG

@ministryofjustice/hmpps-digital-prison-reporting-frontend

Version:

The Digital Prison Reporting Frontend contains templates and code to help display data effectively in UI applications.

4 lines 410 kB
var Th=Object.create;var Qi=Object.defineProperty;var Oh=Object.getOwnPropertyDescriptor;var jh=Object.getOwnPropertyNames;var Rh=Object.getPrototypeOf,qh=Object.prototype.hasOwnProperty;var f=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),Lh=(t,e)=>{for(var i in e)Qi(t,i,{get:e[i],enumerable:!0})},$o=(t,e,i,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let a of jh(e))!qh.call(t,a)&&a!==i&&Qi(t,a,{get:()=>e[a],enumerable:!(n=Oh(e,a))||n.enumerable});return t};var Yi=(t,e,i)=>(i=t!=null?Th(Rh(t)):{},$o(e||!t||!t.__esModule?Qi(i,"default",{value:t,enumerable:!0}):i,t)),Fh=t=>$o(Qi({},"__esModule",{value:!0}),t);var Ke=f((X0,Go)=>{"use strict";Go.exports=TypeError});var Vo=f((Z0,Wo)=>{Wo.exports=require("util").inspect});var ai=f((eS,ms)=>{var Sa=typeof Map=="function"&&Map.prototype,fa=Object.getOwnPropertyDescriptor&&Sa?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,Zi=Sa&&fa&&typeof fa.get=="function"?fa.get:null,Ko=Sa&&Map.prototype.forEach,ka=typeof Set=="function"&&Set.prototype,ha=Object.getOwnPropertyDescriptor&&ka?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,en=ka&&ha&&typeof ha.get=="function"?ha.get:null,Jo=ka&&Set.prototype.forEach,zh=typeof WeakMap=="function"&&WeakMap.prototype,ti=zh?WeakMap.prototype.has:null,Nh=typeof WeakSet=="function"&&WeakSet.prototype,ii=Nh?WeakSet.prototype.has:null,Ih=typeof WeakRef=="function"&&WeakRef.prototype,Qo=Ih?WeakRef.prototype.deref:null,Dh=Boolean.prototype.valueOf,Mh=Object.prototype.toString,Ph=Function.prototype.toString,Bh=String.prototype.match,Ea=String.prototype.slice,Je=String.prototype.replace,Uh=String.prototype.toUpperCase,Yo=String.prototype.toLowerCase,os=RegExp.prototype.test,Xo=Array.prototype.concat,Re=Array.prototype.join,Hh=Array.prototype.slice,Zo=Math.floor,ga=typeof BigInt=="function"?BigInt.prototype.valueOf:null,va=Object.getOwnPropertySymbols,ba=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,_t=typeof Symbol=="function"&&typeof Symbol.iterator=="object",ni=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===_t||!0)?Symbol.toStringTag:null,ss=Object.prototype.propertyIsEnumerable,es=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(t){return t.__proto__}:null);function ts(t,e){if(t===1/0||t===-1/0||t!==t||t&&t>-1e3&&t<1e3||os.call(/e/,e))return e;var i=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof t=="number"){var n=t<0?-Zo(-t):Zo(t);if(n!==t){var a=String(n),r=Ea.call(e,a.length+1);return Je.call(a,i,"$&_")+"."+Je.call(Je.call(r,/([0-9]{3})/g,"$&_"),/_$/,"")}}return Je.call(e,i,"$&_")}var ya=Vo(),is=ya.custom,ns=ls(is)?is:null,cs={__proto__:null,double:'"',single:"'"},$h={__proto__:null,double:/(["\\])/g,single:/(['\\])/g};ms.exports=function t(e,i,n,a){var r=i||{};if(Pe(r,"quoteStyle")&&!Pe(cs,r.quoteStyle))throw new TypeError('option "quoteStyle" must be "single" or "double"');if(Pe(r,"maxStringLength")&&(typeof r.maxStringLength=="number"?r.maxStringLength<0&&r.maxStringLength!==1/0:r.maxStringLength!==null))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var o=Pe(r,"customInspect")?r.customInspect:!0;if(typeof o!="boolean"&&o!=="symbol")throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(Pe(r,"indent")&&r.indent!==null&&r.indent!==" "&&!(parseInt(r.indent,10)===r.indent&&r.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(Pe(r,"numericSeparator")&&typeof r.numericSeparator!="boolean")throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var s=r.numericSeparator;if(typeof e>"u")return"undefined";if(e===null)return"null";if(typeof e=="boolean")return e?"true":"false";if(typeof e=="string")return ds(e,r);if(typeof e=="number"){if(e===0)return 1/0/e>0?"0":"-0";var c=String(e);return s?ts(e,c):c}if(typeof e=="bigint"){var p=String(e)+"n";return s?ts(e,p):p}var l=typeof r.depth>"u"?5:r.depth;if(typeof n>"u"&&(n=0),n>=l&&l>0&&typeof e=="object")return wa(e)?"[Array]":"[Object]";var m=cv(r,n);if(typeof a>"u")a=[];else if(us(a,e)>=0)return"[Circular]";function u(H,Y,V){if(Y&&(a=Hh.call(a),a.push(Y)),V){var ie={depth:r.depth};return Pe(r,"quoteStyle")&&(ie.quoteStyle=r.quoteStyle),t(H,ie,n+1,a)}return t(H,r,n+1,a)}if(typeof e=="function"&&!as(e)){var d=Zh(e),h=Xi(e,u);return"[Function"+(d?": "+d:" (anonymous)")+"]"+(h.length>0?" { "+Re.call(h,", ")+" }":"")}if(ls(e)){var v=_t?Je.call(String(e),/^(Symbol\(.*\))_[^)]*$/,"$1"):ba.call(e);return typeof e=="object"&&!_t?ei(v):v}if(rv(e)){for(var y="<"+Yo.call(String(e.nodeName)),x=e.attributes||[],g=0;g<x.length;g++)y+=" "+x[g].name+"="+ps(Gh(x[g].value),"double",r);return y+=">",e.childNodes&&e.childNodes.length&&(y+="..."),y+="</"+Yo.call(String(e.nodeName))+">",y}if(wa(e)){if(e.length===0)return"[]";var b=Xi(e,u);return m&&!sv(b)?"["+_a(b,m)+"]":"[ "+Re.call(b,", ")+" ]"}if(Vh(e)){var w=Xi(e,u);return!("cause"in Error.prototype)&&"cause"in e&&!ss.call(e,"cause")?"{ ["+String(e)+"] "+Re.call(Xo.call("[cause]: "+u(e.cause),w),", ")+" }":w.length===0?"["+String(e)+"]":"{ ["+String(e)+"] "+Re.call(w,", ")+" }"}if(typeof e=="object"&&o){if(ns&&typeof e[ns]=="function"&&ya)return ya(e,{depth:l-n});if(o!=="symbol"&&typeof e.inspect=="function")return e.inspect()}if(ev(e)){var C=[];return Ko&&Ko.call(e,function(H,Y){C.push(u(Y,e,!0)+" => "+u(H,e))}),rs("Map",Zi.call(e),C,m)}if(nv(e)){var Q=[];return Jo&&Jo.call(e,function(H){Q.push(u(H,e))}),rs("Set",en.call(e),Q,m)}if(tv(e))return xa("WeakMap");if(av(e))return xa("WeakSet");if(iv(e))return xa("WeakRef");if(Jh(e))return ei(u(Number(e)));if(Yh(e))return ei(u(ga.call(e)));if(Qh(e))return ei(Dh.call(e));if(Kh(e))return ei(u(String(e)));if(typeof window<"u"&&e===window)return"{ [object Window] }";if(typeof globalThis<"u"&&e===globalThis||typeof global<"u"&&e===global)return"{ [object globalThis] }";if(!Wh(e)&&!as(e)){var G=Xi(e,u),W=es?es(e)===Object.prototype:e instanceof Object||e.constructor===Object,L=e instanceof Object?"":"null prototype",ee=!W&&ni&&Object(e)===e&&ni in e?Ea.call(Qe(e),8,-1):L?"Object":"",E=W||typeof e.constructor!="function"?"":e.constructor.name?e.constructor.name+" ":"",te=E+(ee||L?"["+Re.call(Xo.call([],ee||[],L||[]),": ")+"] ":"");return G.length===0?te+"{}":m?te+"{"+_a(G,m)+"}":te+"{ "+Re.call(G,", ")+" }"}return String(e)};function ps(t,e,i){var n=i.quoteStyle||e,a=cs[n];return a+t+a}function Gh(t){return Je.call(String(t),/"/g,"&quot;")}function st(t){return!ni||!(typeof t=="object"&&(ni in t||typeof t[ni]<"u"))}function wa(t){return Qe(t)==="[object Array]"&&st(t)}function Wh(t){return Qe(t)==="[object Date]"&&st(t)}function as(t){return Qe(t)==="[object RegExp]"&&st(t)}function Vh(t){return Qe(t)==="[object Error]"&&st(t)}function Kh(t){return Qe(t)==="[object String]"&&st(t)}function Jh(t){return Qe(t)==="[object Number]"&&st(t)}function Qh(t){return Qe(t)==="[object Boolean]"&&st(t)}function ls(t){if(_t)return t&&typeof t=="object"&&t instanceof Symbol;if(typeof t=="symbol")return!0;if(!t||typeof t!="object"||!ba)return!1;try{return ba.call(t),!0}catch{}return!1}function Yh(t){if(!t||typeof t!="object"||!ga)return!1;try{return ga.call(t),!0}catch{}return!1}var Xh=Object.prototype.hasOwnProperty||function(t){return t in this};function Pe(t,e){return Xh.call(t,e)}function Qe(t){return Mh.call(t)}function Zh(t){if(t.name)return t.name;var e=Bh.call(Ph.call(t),/^function\s*([\w$]+)/);return e?e[1]:null}function us(t,e){if(t.indexOf)return t.indexOf(e);for(var i=0,n=t.length;i<n;i++)if(t[i]===e)return i;return-1}function ev(t){if(!Zi||!t||typeof t!="object")return!1;try{Zi.call(t);try{en.call(t)}catch{return!0}return t instanceof Map}catch{}return!1}function tv(t){if(!ti||!t||typeof t!="object")return!1;try{ti.call(t,ti);try{ii.call(t,ii)}catch{return!0}return t instanceof WeakMap}catch{}return!1}function iv(t){if(!Qo||!t||typeof t!="object")return!1;try{return Qo.call(t),!0}catch{}return!1}function nv(t){if(!en||!t||typeof t!="object")return!1;try{en.call(t);try{Zi.call(t)}catch{return!0}return t instanceof Set}catch{}return!1}function av(t){if(!ii||!t||typeof t!="object")return!1;try{ii.call(t,ii);try{ti.call(t,ti)}catch{return!0}return t instanceof WeakSet}catch{}return!1}function rv(t){return!t||typeof t!="object"?!1:typeof HTMLElement<"u"&&t instanceof HTMLElement?!0:typeof t.nodeName=="string"&&typeof t.getAttribute=="function"}function ds(t,e){if(t.length>e.maxStringLength){var i=t.length-e.maxStringLength,n="... "+i+" more character"+(i>1?"s":"");return ds(Ea.call(t,0,e.maxStringLength),e)+n}var a=$h[e.quoteStyle||"single"];a.lastIndex=0;var r=Je.call(Je.call(t,a,"\\$1"),/[\x00-\x1f]/g,ov);return ps(r,"single",e)}function ov(t){var e=t.charCodeAt(0),i={8:"b",9:"t",10:"n",12:"f",13:"r"}[e];return i?"\\"+i:"\\x"+(e<16?"0":"")+Uh.call(e.toString(16))}function ei(t){return"Object("+t+")"}function xa(t){return t+" { ? }"}function rs(t,e,i,n){var a=n?_a(i,n):Re.call(i,", ");return t+" ("+e+") {"+a+"}"}function sv(t){for(var e=0;e<t.length;e++)if(us(t[e],` `)>=0)return!1;return!0}function cv(t,e){var i;if(t.indent===" ")i=" ";else if(typeof t.indent=="number"&&t.indent>0)i=Re.call(Array(t.indent+1)," ");else return null;return{base:i,prev:Re.call(Array(e+1),i)}}function _a(t,e){if(t.length===0)return"";var i=` `+e.prev+e.base;return i+Re.call(t,","+i)+` `+e.prev}function Xi(t,e){var i=wa(t),n=[];if(i){n.length=t.length;for(var a=0;a<t.length;a++)n[a]=Pe(t,a)?e(t[a],t):""}var r=typeof va=="function"?va(t):[],o;if(_t){o={};for(var s=0;s<r.length;s++)o["$"+r[s]]=r[s]}for(var c in t)Pe(t,c)&&(i&&String(Number(c))===c&&c<t.length||_t&&o["$"+c]instanceof Symbol||(os.call(/[^\w$]/,c)?n.push(e(c,t)+": "+e(t[c],t)):n.push(c+": "+e(t[c],t))));if(typeof va=="function")for(var p=0;p<r.length;p++)ss.call(t,r[p])&&n.push("["+e(r[p])+"]: "+e(t[r[p]],t));return n}});var hs=f((tS,fs)=>{"use strict";var pv=ai(),lv=Ke(),tn=function(t,e,i){for(var n=t,a;(a=n.next)!=null;n=a)if(a.key===e)return n.next=a.next,i||(a.next=t.next,t.next=a),a},uv=function(t,e){if(t){var i=tn(t,e);return i&&i.value}},dv=function(t,e,i){var n=tn(t,e);n?n.value=i:t.next={key:e,next:t.next,value:i}},mv=function(t,e){return t?!!tn(t,e):!1},fv=function(t,e){if(t)return tn(t,e,!0)};fs.exports=function(){var e,i={assert:function(n){if(!i.has(n))throw new lv("Side channel does not contain "+pv(n))},delete:function(n){var a=e&&e.next,r=fv(e,n);return r&&a&&a===r&&(e=void 0),!!r},get:function(n){return uv(e,n)},has:function(n){return mv(e,n)},set:function(n,a){e||(e={next:void 0}),dv(e,n,a)}};return i}});var Ca=f((iS,vs)=>{"use strict";vs.exports=Object});var gs=f((nS,xs)=>{"use strict";xs.exports=Error});var ys=f((aS,bs)=>{"use strict";bs.exports=EvalError});var _s=f((rS,ws)=>{"use strict";ws.exports=RangeError});var ks=f((oS,Ss)=>{"use strict";Ss.exports=ReferenceError});var Cs=f((sS,Es)=>{"use strict";Es.exports=SyntaxError});var Ts=f((cS,As)=>{"use strict";As.exports=URIError});var js=f((pS,Os)=>{"use strict";Os.exports=Math.abs});var qs=f((lS,Rs)=>{"use strict";Rs.exports=Math.floor});var Fs=f((uS,Ls)=>{"use strict";Ls.exports=Math.max});var Ns=f((dS,zs)=>{"use strict";zs.exports=Math.min});var Ds=f((mS,Is)=>{"use strict";Is.exports=Math.pow});var Ps=f((fS,Ms)=>{"use strict";Ms.exports=Math.round});var Us=f((hS,Bs)=>{"use strict";Bs.exports=Number.isNaN||function(e){return e!==e}});var $s=f((vS,Hs)=>{"use strict";var hv=Us();Hs.exports=function(e){return hv(e)||e===0?e:e<0?-1:1}});var Ws=f((xS,Gs)=>{"use strict";Gs.exports=Object.getOwnPropertyDescriptor});var Aa=f((gS,Vs)=>{"use strict";var nn=Ws();if(nn)try{nn([],"length")}catch{nn=null}Vs.exports=nn});var Js=f((bS,Ks)=>{"use strict";var an=Object.defineProperty||!1;if(an)try{an({},"a",{value:1})}catch{an=!1}Ks.exports=an});var Ta=f((yS,Qs)=>{"use strict";Qs.exports=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var e={},i=Symbol("test"),n=Object(i);if(typeof i=="string"||Object.prototype.toString.call(i)!=="[object Symbol]"||Object.prototype.toString.call(n)!=="[object Symbol]")return!1;var a=42;e[i]=a;for(var r in e)return!1;if(typeof Object.keys=="function"&&Object.keys(e).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(e).length!==0)return!1;var o=Object.getOwnPropertySymbols(e);if(o.length!==1||o[0]!==i||!Object.prototype.propertyIsEnumerable.call(e,i))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var s=Object.getOwnPropertyDescriptor(e,i);if(s.value!==a||s.enumerable!==!0)return!1}return!0}});var Zs=f((wS,Xs)=>{"use strict";var Ys=typeof Symbol<"u"&&Symbol,vv=Ta();Xs.exports=function(){return typeof Ys!="function"||typeof Symbol!="function"||typeof Ys("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:vv()}});var Oa=f((_S,ec)=>{"use strict";ec.exports=typeof Reflect<"u"&&Reflect.getPrototypeOf||null});var ja=f((SS,tc)=>{"use strict";var xv=Ca();tc.exports=xv.getPrototypeOf||null});var ac=f((kS,nc)=>{"use strict";var gv="Function.prototype.bind called on incompatible ",bv=Object.prototype.toString,yv=Math.max,wv="[object Function]",ic=function(e,i){for(var n=[],a=0;a<e.length;a+=1)n[a]=e[a];for(var r=0;r<i.length;r+=1)n[r+e.length]=i[r];return n},_v=function(e,i){for(var n=[],a=i||0,r=0;a<e.length;a+=1,r+=1)n[r]=e[a];return n},Sv=function(t,e){for(var i="",n=0;n<t.length;n+=1)i+=t[n],n+1<t.length&&(i+=e);return i};nc.exports=function(e){var i=this;if(typeof i!="function"||bv.apply(i)!==wv)throw new TypeError(gv+i);for(var n=_v(arguments,1),a,r=function(){if(this instanceof a){var l=i.apply(this,ic(n,arguments));return Object(l)===l?l:this}return i.apply(e,ic(n,arguments))},o=yv(0,i.length-n.length),s=[],c=0;c<o;c++)s[c]="$"+c;if(a=Function("binder","return function ("+Sv(s,",")+"){ return binder.apply(this,arguments); }")(r),i.prototype){var p=function(){};p.prototype=i.prototype,a.prototype=new p,p.prototype=null}return a}});var ri=f((ES,rc)=>{"use strict";var kv=ac();rc.exports=Function.prototype.bind||kv});var rn=f((CS,oc)=>{"use strict";oc.exports=Function.prototype.call});var Ra=f((AS,sc)=>{"use strict";sc.exports=Function.prototype.apply});var pc=f((TS,cc)=>{"use strict";cc.exports=typeof Reflect<"u"&&Reflect&&Reflect.apply});var uc=f((OS,lc)=>{"use strict";var Ev=ri(),Cv=Ra(),Av=rn(),Tv=pc();lc.exports=Tv||Ev.call(Av,Cv)});var qa=f((jS,dc)=>{"use strict";var Ov=ri(),jv=Ke(),Rv=rn(),qv=uc();dc.exports=function(e){if(e.length<1||typeof e[0]!="function")throw new jv("a function is required");return qv(Ov,Rv,e)}});var gc=f((RS,xc)=>{"use strict";var Lv=qa(),mc=Aa(),hc;try{hc=[].__proto__===Array.prototype}catch(t){if(!t||typeof t!="object"||!("code"in t)||t.code!=="ERR_PROTO_ACCESS")throw t}var La=!!hc&&mc&&mc(Object.prototype,"__proto__"),vc=Object,fc=vc.getPrototypeOf;xc.exports=La&&typeof La.get=="function"?Lv([La.get]):typeof fc=="function"?function(e){return fc(e==null?e:vc(e))}:!1});var Sc=f((qS,_c)=>{"use strict";var bc=Oa(),yc=ja(),wc=gc();_c.exports=bc?function(e){return bc(e)}:yc?function(e){if(!e||typeof e!="object"&&typeof e!="function")throw new TypeError("getProto: not an object");return yc(e)}:wc?function(e){return wc(e)}:null});var on=f((LS,kc)=>{"use strict";var Fv=Function.prototype.call,zv=Object.prototype.hasOwnProperty,Nv=ri();kc.exports=Nv.call(Fv,zv)});var pi=f((FS,jc)=>{"use strict";var O,Iv=Ca(),Dv=gs(),Mv=ys(),Pv=_s(),Bv=ks(),Ct=Cs(),Et=Ke(),Uv=Ts(),Hv=js(),$v=qs(),Gv=Fs(),Wv=Ns(),Vv=Ds(),Kv=Ps(),Jv=$s(),Tc=Function,Fa=function(t){try{return Tc('"use strict"; return ('+t+").constructor;")()}catch{}},oi=Aa(),Qv=Js(),za=function(){throw new Et},Yv=oi?function(){try{return arguments.callee,za}catch{try{return oi(arguments,"callee").get}catch{return za}}}():za,St=Zs()(),re=Sc(),Xv=ja(),Zv=Oa(),Oc=Ra(),si=rn(),kt={},ex=typeof Uint8Array>"u"||!re?O:re(Uint8Array),ct={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?O:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?O:ArrayBuffer,"%ArrayIteratorPrototype%":St&&re?re([][Symbol.iterator]()):O,"%AsyncFromSyncIteratorPrototype%":O,"%AsyncFunction%":kt,"%AsyncGenerator%":kt,"%AsyncGeneratorFunction%":kt,"%AsyncIteratorPrototype%":kt,"%Atomics%":typeof Atomics>"u"?O:Atomics,"%BigInt%":typeof BigInt>"u"?O:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?O:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?O:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?O:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Dv,"%eval%":eval,"%EvalError%":Mv,"%Float16Array%":typeof Float16Array>"u"?O:Float16Array,"%Float32Array%":typeof Float32Array>"u"?O:Float32Array,"%Float64Array%":typeof Float64Array>"u"?O:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?O:FinalizationRegistry,"%Function%":Tc,"%GeneratorFunction%":kt,"%Int8Array%":typeof Int8Array>"u"?O:Int8Array,"%Int16Array%":typeof Int16Array>"u"?O:Int16Array,"%Int32Array%":typeof Int32Array>"u"?O:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":St&&re?re(re([][Symbol.iterator]())):O,"%JSON%":typeof JSON=="object"?JSON:O,"%Map%":typeof Map>"u"?O:Map,"%MapIteratorPrototype%":typeof Map>"u"||!St||!re?O:re(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Iv,"%Object.getOwnPropertyDescriptor%":oi,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?O:Promise,"%Proxy%":typeof Proxy>"u"?O:Proxy,"%RangeError%":Pv,"%ReferenceError%":Bv,"%Reflect%":typeof Reflect>"u"?O:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?O:Set,"%SetIteratorPrototype%":typeof Set>"u"||!St||!re?O:re(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?O:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":St&&re?re(""[Symbol.iterator]()):O,"%Symbol%":St?Symbol:O,"%SyntaxError%":Ct,"%ThrowTypeError%":Yv,"%TypedArray%":ex,"%TypeError%":Et,"%Uint8Array%":typeof Uint8Array>"u"?O:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?O:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?O:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?O:Uint32Array,"%URIError%":Uv,"%WeakMap%":typeof WeakMap>"u"?O:WeakMap,"%WeakRef%":typeof WeakRef>"u"?O:WeakRef,"%WeakSet%":typeof WeakSet>"u"?O:WeakSet,"%Function.prototype.call%":si,"%Function.prototype.apply%":Oc,"%Object.defineProperty%":Qv,"%Object.getPrototypeOf%":Xv,"%Math.abs%":Hv,"%Math.floor%":$v,"%Math.max%":Gv,"%Math.min%":Wv,"%Math.pow%":Vv,"%Math.round%":Kv,"%Math.sign%":Jv,"%Reflect.getPrototypeOf%":Zv};if(re)try{null.error}catch(t){Ec=re(re(t)),ct["%Error.prototype%"]=Ec}var Ec,tx=function t(e){var i;if(e==="%AsyncFunction%")i=Fa("async function () {}");else if(e==="%GeneratorFunction%")i=Fa("function* () {}");else if(e==="%AsyncGeneratorFunction%")i=Fa("async function* () {}");else if(e==="%AsyncGenerator%"){var n=t("%AsyncGeneratorFunction%");n&&(i=n.prototype)}else if(e==="%AsyncIteratorPrototype%"){var a=t("%AsyncGenerator%");a&&re&&(i=re(a.prototype))}return ct[e]=i,i},Cc={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},ci=ri(),sn=on(),ix=ci.call(si,Array.prototype.concat),nx=ci.call(Oc,Array.prototype.splice),Ac=ci.call(si,String.prototype.replace),cn=ci.call(si,String.prototype.slice),ax=ci.call(si,RegExp.prototype.exec),rx=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,ox=/\\(\\)?/g,sx=function(e){var i=cn(e,0,1),n=cn(e,-1);if(i==="%"&&n!=="%")throw new Ct("invalid intrinsic syntax, expected closing `%`");if(n==="%"&&i!=="%")throw new Ct("invalid intrinsic syntax, expected opening `%`");var a=[];return Ac(e,rx,function(r,o,s,c){a[a.length]=s?Ac(c,ox,"$1"):o||r}),a},cx=function(e,i){var n=e,a;if(sn(Cc,n)&&(a=Cc[n],n="%"+a[0]+"%"),sn(ct,n)){var r=ct[n];if(r===kt&&(r=tx(n)),typeof r>"u"&&!i)throw new Et("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:a,name:n,value:r}}throw new Ct("intrinsic "+e+" does not exist!")};jc.exports=function(e,i){if(typeof e!="string"||e.length===0)throw new Et("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof i!="boolean")throw new Et('"allowMissing" argument must be a boolean');if(ax(/^%?[^%]*%?$/,e)===null)throw new Ct("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=sx(e),a=n.length>0?n[0]:"",r=cx("%"+a+"%",i),o=r.name,s=r.value,c=!1,p=r.alias;p&&(a=p[0],nx(n,ix([0,1],p)));for(var l=1,m=!0;l<n.length;l+=1){var u=n[l],d=cn(u,0,1),h=cn(u,-1);if((d==='"'||d==="'"||d==="`"||h==='"'||h==="'"||h==="`")&&d!==h)throw new Ct("property names with quotes must have matching quotes");if((u==="constructor"||!m)&&(c=!0),a+="."+u,o="%"+a+"%",sn(ct,o))s=ct[o];else if(s!=null){if(!(u in s)){if(!i)throw new Et("base intrinsic for "+e+" exists, but the property is not available.");return}if(oi&&l+1>=n.length){var v=oi(s,u);m=!!v,m&&"get"in v&&!("originalValue"in v.get)?s=v.get:s=s[u]}else m=sn(s,u),s=s[u];m&&!c&&(ct[o]=s)}}return s}});var Na=f((zS,Lc)=>{"use strict";var Rc=pi(),qc=qa(),px=qc([Rc("%String.prototype.indexOf%")]);Lc.exports=function(e,i){var n=Rc(e,!!i);return typeof n=="function"&&px(e,".prototype.")>-1?qc([n]):n}});var Ia=f((NS,zc)=>{"use strict";var lx=pi(),li=Na(),ux=ai(),dx=Ke(),Fc=lx("%Map%",!0),mx=li("Map.prototype.get",!0),fx=li("Map.prototype.set",!0),hx=li("Map.prototype.has",!0),vx=li("Map.prototype.delete",!0),xx=li("Map.prototype.size",!0);zc.exports=!!Fc&&function(){var e,i={assert:function(n){if(!i.has(n))throw new dx("Side channel does not contain "+ux(n))},delete:function(n){if(e){var a=vx(e,n);return xx(e)===0&&(e=void 0),a}return!1},get:function(n){if(e)return mx(e,n)},has:function(n){return e?hx(e,n):!1},set:function(n,a){e||(e=new Fc),fx(e,n,a)}};return i}});var Ic=f((IS,Nc)=>{"use strict";var gx=pi(),ln=Na(),bx=ai(),pn=Ia(),yx=Ke(),At=gx("%WeakMap%",!0),wx=ln("WeakMap.prototype.get",!0),_x=ln("WeakMap.prototype.set",!0),Sx=ln("WeakMap.prototype.has",!0),kx=ln("WeakMap.prototype.delete",!0);Nc.exports=At?function(){var e,i,n={assert:function(a){if(!n.has(a))throw new yx("Side channel does not contain "+bx(a))},delete:function(a){if(At&&a&&(typeof a=="object"||typeof a=="function")){if(e)return kx(e,a)}else if(pn&&i)return i.delete(a);return!1},get:function(a){return At&&a&&(typeof a=="object"||typeof a=="function")&&e?wx(e,a):i&&i.get(a)},has:function(a){return At&&a&&(typeof a=="object"||typeof a=="function")&&e?Sx(e,a):!!i&&i.has(a)},set:function(a,r){At&&a&&(typeof a=="object"||typeof a=="function")?(e||(e=new At),_x(e,a,r)):pn&&(i||(i=pn()),i.set(a,r))}};return n}:pn});var Mc=f((DS,Dc)=>{"use strict";var Ex=Ke(),Cx=ai(),Ax=hs(),Tx=Ia(),Ox=Ic(),jx=Ox||Tx||Ax;Dc.exports=function(){var e,i={assert:function(n){if(!i.has(n))throw new Ex("Side channel does not contain "+Cx(n))},delete:function(n){return!!e&&e.delete(n)},get:function(n){return e&&e.get(n)},has:function(n){return!!e&&e.has(n)},set:function(n,a){e||(e=jx()),e.set(n,a)}};return i}});var un=f((MS,Pc)=>{"use strict";var Rx=String.prototype.replace,qx=/%20/g,Da={RFC1738:"RFC1738",RFC3986:"RFC3986"};Pc.exports={default:Da.RFC3986,formatters:{RFC1738:function(t){return Rx.call(t,qx,"+")},RFC3986:function(t){return String(t)}},RFC1738:Da.RFC1738,RFC3986:Da.RFC3986}});var Ba=f((PS,Uc)=>{"use strict";var Lx=un(),Ma=Object.prototype.hasOwnProperty,pt=Array.isArray,qe=function(){for(var t=[],e=0;e<256;++e)t.push("%"+((e<16?"0":"")+e.toString(16)).toUpperCase());return t}(),Fx=function(e){for(;e.length>1;){var i=e.pop(),n=i.obj[i.prop];if(pt(n)){for(var a=[],r=0;r<n.length;++r)typeof n[r]<"u"&&a.push(n[r]);i.obj[i.prop]=a}}},Bc=function(e,i){for(var n=i&&i.plainObjects?Object.create(null):{},a=0;a<e.length;++a)typeof e[a]<"u"&&(n[a]=e[a]);return n},zx=function t(e,i,n){if(!i)return e;if(typeof i!="object"){if(pt(e))e.push(i);else if(e&&typeof e=="object")(n&&(n.plainObjects||n.allowPrototypes)||!Ma.call(Object.prototype,i))&&(e[i]=!0);else return[e,i];return e}if(!e||typeof e!="object")return[e].concat(i);var a=e;return pt(e)&&!pt(i)&&(a=Bc(e,n)),pt(e)&&pt(i)?(i.forEach(function(r,o){if(Ma.call(e,o)){var s=e[o];s&&typeof s=="object"&&r&&typeof r=="object"?e[o]=t(s,r,n):e.push(r)}else e[o]=r}),e):Object.keys(i).reduce(function(r,o){var s=i[o];return Ma.call(r,o)?r[o]=t(r[o],s,n):r[o]=s,r},a)},Nx=function(e,i){return Object.keys(i).reduce(function(n,a){return n[a]=i[a],n},e)},Ix=function(t,e,i){var n=t.replace(/\+/g," ");if(i==="iso-8859-1")return n.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(n)}catch{return n}},Pa=1024,Dx=function(e,i,n,a,r){if(e.length===0)return e;var o=e;if(typeof e=="symbol"?o=Symbol.prototype.toString.call(e):typeof e!="string"&&(o=String(e)),n==="iso-8859-1")return escape(o).replace(/%u[0-9a-f]{4}/gi,function(d){return"%26%23"+parseInt(d.slice(2),16)+"%3B"});for(var s="",c=0;c<o.length;c+=Pa){for(var p=o.length>=Pa?o.slice(c,c+Pa):o,l=[],m=0;m<p.length;++m){var u=p.charCodeAt(m);if(u===45||u===46||u===95||u===126||u>=48&&u<=57||u>=65&&u<=90||u>=97&&u<=122||r===Lx.RFC1738&&(u===40||u===41)){l[l.length]=p.charAt(m);continue}if(u<128){l[l.length]=qe[u];continue}if(u<2048){l[l.length]=qe[192|u>>6]+qe[128|u&63];continue}if(u<55296||u>=57344){l[l.length]=qe[224|u>>12]+qe[128|u>>6&63]+qe[128|u&63];continue}m+=1,u=65536+((u&1023)<<10|p.charCodeAt(m)&1023),l[l.length]=qe[240|u>>18]+qe[128|u>>12&63]+qe[128|u>>6&63]+qe[128|u&63]}s+=l.join("")}return s},Mx=function(e){for(var i=[{obj:{o:e},prop:"o"}],n=[],a=0;a<i.length;++a)for(var r=i[a],o=r.obj[r.prop],s=Object.keys(o),c=0;c<s.length;++c){var p=s[c],l=o[p];typeof l=="object"&&l!==null&&n.indexOf(l)===-1&&(i.push({obj:o,prop:p}),n.push(l))}return Fx(i),e},Px=function(e){return Object.prototype.toString.call(e)==="[object RegExp]"},Bx=function(e){return!e||typeof e!="object"?!1:!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))},Ux=function(e,i){return[].concat(e,i)},Hx=function(e,i){if(pt(e)){for(var n=[],a=0;a<e.length;a+=1)n.push(i(e[a]));return n}return i(e)};Uc.exports={arrayToObject:Bc,assign:Nx,combine:Ux,compact:Mx,decode:Ix,encode:Dx,isBuffer:Bx,isRegExp:Px,maybeMap:Hx,merge:zx}});var Kc=f((BS,Vc)=>{"use strict";var $c=Mc(),dn=Ba(),ui=un(),$x=Object.prototype.hasOwnProperty,Gc={brackets:function(e){return e+"[]"},comma:"comma",indices:function(e,i){return e+"["+i+"]"},repeat:function(e){return e}},Le=Array.isArray,Gx=Array.prototype.push,Wc=function(t,e){Gx.apply(t,Le(e)?e:[e])},Wx=Date.prototype.toISOString,Hc=ui.default,ne={addQueryPrefix:!1,allowDots:!1,allowEmptyArrays:!1,arrayFormat:"indices",charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encodeDotInKeys:!1,encoder:dn.encode,encodeValuesOnly:!1,format:Hc,formatter:ui.formatters[Hc],indices:!1,serializeDate:function(e){return Wx.call(e)},skipNulls:!1,strictNullHandling:!1},Vx=function(e){return typeof e=="string"||typeof e=="number"||typeof e=="boolean"||typeof e=="symbol"||typeof e=="bigint"},Ua={},Kx=function t(e,i,n,a,r,o,s,c,p,l,m,u,d,h,v,y,x,g){for(var b=e,w=g,C=0,Q=!1;(w=w.get(Ua))!==void 0&&!Q;){var G=w.get(e);if(C+=1,typeof G<"u"){if(G===C)throw new RangeError("Cyclic object value");Q=!0}typeof w.get(Ua)>"u"&&(C=0)}if(typeof l=="function"?b=l(i,b):b instanceof Date?b=d(b):n==="comma"&&Le(b)&&(b=dn.maybeMap(b,function(D){return D instanceof Date?d(D):D})),b===null){if(o)return p&&!y?p(i,ne.encoder,x,"key",h):i;b=""}if(Vx(b)||dn.isBuffer(b)){if(p){var W=y?i:p(i,ne.encoder,x,"key",h);return[v(W)+"="+v(p(b,ne.encoder,x,"value",h))]}return[v(i)+"="+v(String(b))]}var L=[];if(typeof b>"u")return L;var ee;if(n==="comma"&&Le(b))y&&p&&(b=dn.maybeMap(b,p)),ee=[{value:b.length>0?b.join(",")||null:void 0}];else if(Le(l))ee=l;else{var E=Object.keys(b);ee=m?E.sort(m):E}var te=c?i.replace(/\./g,"%2E"):i,H=a&&Le(b)&&b.length===1?te+"[]":te;if(r&&Le(b)&&b.length===0)return H+"[]";for(var Y=0;Y<ee.length;++Y){var V=ee[Y],ie=typeof V=="object"&&typeof V.value<"u"?V.value:b[V];if(!(s&&ie===null)){var S=u&&c?V.replace(/\./g,"%2E"):V,T=Le(b)?typeof n=="function"?n(H,S):H:H+(u?"."+S:"["+S+"]");g.set(e,C);var j=$c();j.set(Ua,g),Wc(L,t(ie,T,n,a,r,o,s,c,n==="comma"&&y&&Le(b)?null:p,l,m,u,d,h,v,y,x,j))}}return L},Jx=function(e){if(!e)return ne;if(typeof e.allowEmptyArrays<"u"&&typeof e.allowEmptyArrays!="boolean")throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(typeof e.encodeDotInKeys<"u"&&typeof e.encodeDotInKeys!="boolean")throw new TypeError("`encodeDotInKeys` option can only be `true` or `false`, when provided");if(e.encoder!==null&&typeof e.encoder<"u"&&typeof e.encoder!="function")throw new TypeError("Encoder has to be a function.");var i=e.charset||ne.charset;if(typeof e.charset<"u"&&e.charset!=="utf-8"&&e.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var n=ui.default;if(typeof e.format<"u"){if(!$x.call(ui.formatters,e.format))throw new TypeError("Unknown format option provided.");n=e.format}var a=ui.formatters[n],r=ne.filter;(typeof e.filter=="function"||Le(e.filter))&&(r=e.filter);var o;if(e.arrayFormat in Gc?o=e.arrayFormat:"indices"in e?o=e.indices?"indices":"repeat":o=ne.arrayFormat,"commaRoundTrip"in e&&typeof e.commaRoundTrip!="boolean")throw new TypeError("`commaRoundTrip` must be a boolean, or absent");var s=typeof e.allowDots>"u"?e.encodeDotInKeys===!0?!0:ne.allowDots:!!e.allowDots;return{addQueryPrefix:typeof e.addQueryPrefix=="boolean"?e.addQueryPrefix:ne.addQueryPrefix,allowDots:s,allowEmptyArrays:typeof e.allowEmptyArrays=="boolean"?!!e.allowEmptyArrays:ne.allowEmptyArrays,arrayFormat:o,charset:i,charsetSentinel:typeof e.charsetSentinel=="boolean"?e.charsetSentinel:ne.charsetSentinel,commaRoundTrip:e.commaRoundTrip,delimiter:typeof e.delimiter>"u"?ne.delimiter:e.delimiter,encode:typeof e.encode=="boolean"?e.encode:ne.encode,encodeDotInKeys:typeof e.encodeDotInKeys=="boolean"?e.encodeDotInKeys:ne.encodeDotInKeys,encoder:typeof e.encoder=="function"?e.encoder:ne.encoder,encodeValuesOnly:typeof e.encodeValuesOnly=="boolean"?e.encodeValuesOnly:ne.encodeValuesOnly,filter:r,format:n,formatter:a,serializeDate:typeof e.serializeDate=="function"?e.serializeDate:ne.serializeDate,skipNulls:typeof e.skipNulls=="boolean"?e.skipNulls:ne.skipNulls,sort:typeof e.sort=="function"?e.sort:null,strictNullHandling:typeof e.strictNullHandling=="boolean"?e.strictNullHandling:ne.strictNullHandling}};Vc.exports=function(t,e){var i=t,n=Jx(e),a,r;typeof n.filter=="function"?(r=n.filter,i=r("",i)):Le(n.filter)&&(r=n.filter,a=r);var o=[];if(typeof i!="object"||i===null)return"";var s=Gc[n.arrayFormat],c=s==="comma"&&n.commaRoundTrip;a||(a=Object.keys(i)),n.sort&&a.sort(n.sort);for(var p=$c(),l=0;l<a.length;++l){var m=a[l];n.skipNulls&&i[m]===null||Wc(o,Kx(i[m],m,s,c,n.allowEmptyArrays,n.strictNullHandling,n.skipNulls,n.encodeDotInKeys,n.encode?n.encoder:null,n.filter,n.sort,n.allowDots,n.serializeDate,n.format,n.formatter,n.encodeValuesOnly,n.charset,p))}var u=o.join(n.delimiter),d=n.addQueryPrefix===!0?"?":"";return n.charsetSentinel&&(n.charset==="iso-8859-1"?d+="utf8=%26%2310003%3B&":d+="utf8=%E2%9C%93&"),u.length>0?d+u:""}});var Yc=f((US,Qc)=>{"use strict";var Tt=Ba(),Ha=Object.prototype.hasOwnProperty,Qx=Array.isArray,K={allowDots:!1,allowEmptyArrays:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decodeDotInKeys:!1,decoder:Tt.decode,delimiter:"&",depth:5,duplicates:"combine",ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictDepth:!1,strictNullHandling:!1},Yx=function(t){return t.replace(/&#(\d+);/g,function(e,i){return String.fromCharCode(parseInt(i,10))})},Jc=function(t,e){return t&&typeof t=="string"&&e.comma&&t.indexOf(",")>-1?t.split(","):t},Xx="utf8=%26%2310003%3B",Zx="utf8=%E2%9C%93",eg=function(e,i){var n={__proto__:null},a=i.ignoreQueryPrefix?e.replace(/^\?/,""):e;a=a.replace(/%5B/gi,"[").replace(/%5D/gi,"]");var r=i.parameterLimit===1/0?void 0:i.parameterLimit,o=a.split(i.delimiter,r),s=-1,c,p=i.charset;if(i.charsetSentinel)for(c=0;c<o.length;++c)o[c].indexOf("utf8=")===0&&(o[c]===Zx?p="utf-8":o[c]===Xx&&(p="iso-8859-1"),s=c,c=o.length);for(c=0;c<o.length;++c)if(c!==s){var l=o[c],m=l.indexOf("]="),u=m===-1?l.indexOf("="):m+1,d,h;u===-1?(d=i.decoder(l,K.decoder,p,"key"),h=i.strictNullHandling?null:""):(d=i.decoder(l.slice(0,u),K.decoder,p,"key"),h=Tt.maybeMap(Jc(l.slice(u+1),i),function(y){return i.decoder(y,K.decoder,p,"value")})),h&&i.interpretNumericEntities&&p==="iso-8859-1"&&(h=Yx(h)),l.indexOf("[]=")>-1&&(h=Qx(h)?[h]:h);var v=Ha.call(n,d);v&&i.duplicates==="combine"?n[d]=Tt.combine(n[d],h):(!v||i.duplicates==="last")&&(n[d]=h)}return n},tg=function(t,e,i,n){for(var a=n?e:Jc(e,i),r=t.length-1;r>=0;--r){var o,s=t[r];if(s==="[]"&&i.parseArrays)o=i.allowEmptyArrays&&(a===""||i.strictNullHandling&&a===null)?[]:[].concat(a);else{o=i.plainObjects?Object.create(null):{};var c=s.charAt(0)==="["&&s.charAt(s.length-1)==="]"?s.slice(1,-1):s,p=i.decodeDotInKeys?c.replace(/%2E/g,"."):c,l=parseInt(p,10);!i.parseArrays&&p===""?o={0:a}:!isNaN(l)&&s!==p&&String(l)===p&&l>=0&&i.parseArrays&&l<=i.arrayLimit?(o=[],o[l]=a):p!=="__proto__"&&(o[p]=a)}a=o}return a},ig=function(e,i,n,a){if(e){var r=n.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e,o=/(\[[^[\]]*])/,s=/(\[[^[\]]*])/g,c=n.depth>0&&o.exec(r),p=c?r.slice(0,c.index):r,l=[];if(p){if(!n.plainObjects&&Ha.call(Object.prototype,p)&&!n.allowPrototypes)return;l.push(p)}for(var m=0;n.depth>0&&(c=s.exec(r))!==null&&m<n.depth;){if(m+=1,!n.plainObjects&&Ha.call(Object.prototype,c[1].slice(1,-1))&&!n.allowPrototypes)return;l.push(c[1])}if(c){if(n.strictDepth===!0)throw new RangeError("Input depth exceeded depth option of "+n.depth+" and strictDepth is true");l.push("["+r.slice(c.index)+"]")}return tg(l,i,n,a)}},ng=function(e){if(!e)return K;if(typeof e.allowEmptyArrays<"u"&&typeof e.allowEmptyArrays!="boolean")throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(typeof e.decodeDotInKeys<"u"&&typeof e.decodeDotInKeys!="boolean")throw new TypeError("`decodeDotInKeys` option can only be `true` or `false`, when provided");if(e.decoder!==null&&typeof e.decoder<"u"&&typeof e.decoder!="function")throw new TypeError("Decoder has to be a function.");if(typeof e.charset<"u"&&e.charset!=="utf-8"&&e.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var i=typeof e.charset>"u"?K.charset:e.charset,n=typeof e.duplicates>"u"?K.duplicates:e.duplicates;if(n!=="combine"&&n!=="first"&&n!=="last")throw new TypeError("The duplicates option must be either combine, first, or last");var a=typeof e.allowDots>"u"?e.decodeDotInKeys===!0?!0:K.allowDots:!!e.allowDots;return{allowDots:a,allowEmptyArrays:typeof e.allowEmptyArrays=="boolean"?!!e.allowEmptyArrays:K.allowEmptyArrays,allowPrototypes:typeof e.allowPrototypes=="boolean"?e.allowPrototypes:K.allowPrototypes,allowSparse:typeof e.allowSparse=="boolean"?e.allowSparse:K.allowSparse,arrayLimit:typeof e.arrayLimit=="number"?e.arrayLimit:K.arrayLimit,charset:i,charsetSentinel:typeof e.charsetSentinel=="boolean"?e.charsetSentinel:K.charsetSentinel,comma:typeof e.comma=="boolean"?e.comma:K.comma,decodeDotInKeys:typeof e.decodeDotInKeys=="boolean"?e.decodeDotInKeys:K.decodeDotInKeys,decoder:typeof e.decoder=="function"?e.decoder:K.decoder,delimiter:typeof e.delimiter=="string"||Tt.isRegExp(e.delimiter)?e.delimiter:K.delimiter,depth:typeof e.depth=="number"||e.depth===!1?+e.depth:K.depth,duplicates:n,ignoreQueryPrefix:e.ignoreQueryPrefix===!0,interpretNumericEntities:typeof e.interpretNumericEntities=="boolean"?e.interpretNumericEntities:K.interpretNumericEntities,parameterLimit:typeof e.parameterLimit=="number"?e.parameterLimit:K.parameterLimit,parseArrays:e.parseArrays!==!1,plainObjects:typeof e.plainObjects=="boolean"?e.plainObjects:K.plainObjects,strictDepth:typeof e.strictDepth=="boolean"?!!e.strictDepth:K.strictDepth,strictNullHandling:typeof e.strictNullHandling=="boolean"?e.strictNullHandling:K.strictNullHandling}};Qc.exports=function(t,e){var i=ng(e);if(t===""||t===null||typeof t>"u")return i.plainObjects?Object.create(null):{};for(var n=typeof t=="string"?eg(t,i):t,a=i.plainObjects?Object.create(null):{},r=Object.keys(n),o=0;o<r.length;++o){var s=r[o],c=ig(s,n[s],i,typeof t=="string");a=Tt.merge(a,c,i)}return i.allowSparse===!0?a:Tt.compact(a)}});var $a=f((HS,Xc)=>{"use strict";var ag=Kc(),rg=Yc(),og=un();Xc.exports={formats:og,parse:rg,stringify:ag}});var ep=f(($S,Zc)=>{"use strict";function mn(){this._types=Object.create(null),this._extensions=Object.create(null);for(let t=0;t<arguments.length;t++)this.define(arguments[t]);this.define=this.define.bind(this),this.getType=this.getType.bind(this),this.getExtension=this.getExtension.bind(this)}mn.prototype.define=function(t,e){for(let i in t){let n=t[i].map(function(a){return a.toLowerCase()});i=i.toLowerCase();for(let a=0;a<n.length;a++){let r=n[a];if(r[0]!=="*"){if(!e&&r in this._types)throw new Error('Attempt to change mapping for "'+r+'" extension from "'+this._types[r]+'" to "'+i+'". Pass `force=true` to allow this, otherwise remove "'+r+'" from the list of extensions for "'+i+'".');this._types[r]=i}}if(e||!this._extensions[i]){let a=n[0];this._extensions[i]=a[0]!=="*"?a:a.substr(1)}}};mn.prototype.getType=function(t){t=String(t);let e=t.replace(/^.*[/\\]/,"").toLowerCase(),i=e.replace(/^.*\./,"").toLowerCase(),n=e.length<t.length;return(i.length<e.length-1||!n)&&this._types[i]||null};mn.prototype.getExtension=function(t){return t=/^\s*([^;\s]*)/.test(t)&&RegExp.$1,t&&this._extensions[t.toLowerCase()]||null};Zc.exports=mn});var ip=f((GS,tp)=>{tp.exports={"application/andrew-inset":["ez"],"application/applixware":["aw"],"application/atom+xml":["atom"],"application/atomcat+xml":["atomcat"],"application/atomdeleted+xml":["atomdeleted"],"application/atomsvc+xml":["atomsvc"],"application/atsc-dwd+xml":["dwd"],"application/atsc-held+xml":["held"],"application/atsc-rsat+xml":["rsat"],"application/bdoc":["bdoc"],"application/calendar+xml":["xcs"],"application/ccxml+xml":["ccxml"],"application/cdfx+xml":["cdfx"],"application/cdmi-capability":["cdmia"],"application/cdmi-container":["cdmic"],"application/cdmi-domain":["cdmid"],"application/cdmi-object":["cdmio"],"application/cdmi-queue":["cdmiq"],"application/cu-seeme":["cu"],"application/dash+xml":["mpd"],"application/davmount+xml":["davmount"],"application/docbook+xml":["dbk"],"application/dssc+der":["dssc"],"application/dssc+xml":["xdssc"],"application/ecmascript":["es","ecma"],"application/emma+xml":["emma"],"application/emotionml+xml":["emotionml"],"application/epub+zip":["epub"],"application/exi":["exi"],"application/express":["exp"],"application/fdt+xml":["fdt"],"application/font-tdpfr":["pfr"],"application/geo+json":["geojson"],"application/gml+xml":["gml"],"application/gpx+xml":["gpx"],"application/gxf":["gxf"],"application/gzip":["gz"],"application/hjson":["hjson"],"application/hyperstudio":["stk"],"application/inkml+xml":["ink","inkml"],"application/ipfix":["ipfix"],"application/its+xml":["its"],"application/java-archive":["jar","war","ear"],"application/java-serialized-object":["ser"],"application/java-vm":["class"],"application/javascript":["js","mjs"],"application/json":["json","map"],"application/json5":["json5"],"application/jsonml+json":["jsonml"],"application/ld+json":["jsonld"],"application/lgr+xml":["lgr"],"application/lost+xml":["lostxml"],"application/mac-binhex40":["hqx"],"application/mac-compactpro":["cpt"],"application/mads+xml":["mads"],"application/manifest+json":["webmanifest"],"application/marc":["mrc"],"application/marcxml+xml":["mrcx"],"application/mathematica":["ma","nb","mb"],"application/mathml+xml":["mathml"],"application/mbox":["mbox"],"application/mediaservercontrol+xml":["mscml"],"application/metalink+xml":["metalink"],"application/metalink4+xml":["meta4"],"application/mets+xml":["mets"],"application/mmt-aei+xml":["maei"],"application/mmt-usd+xml":["musd"],"application/mods+xml":["mods"],"application/mp21":["m21","mp21"],"application/mp4":["mp4s","m4p"],"application/msword":["doc","dot"],"application/mxf":["mxf"],"application/n-quads":["nq"],"application/n-triples":["nt"],"application/node":["cjs"],"application/octet-stream":["bin","dms","lrf","mar","so","dist","distz","pkg","bpk","dump","elc","deploy","exe","dll","deb","dmg","iso","img","msi","msp","msm","buffer"],"application/oda":["oda"],"application/oebps-package+xml":["opf"],"application/ogg":["ogx"],"application/omdoc+xml":["omdoc"],"application/onenote":["onetoc","onetoc2","onetmp","onepkg"],"application/oxps":["oxps"],"application/p2p-overlay+xml":["relo"],"application/patch-ops-error+xml":["xer"],"application/pdf":["pdf"],"application/pgp-encrypted":["pgp"],"application/pgp-signature":["asc","sig"],"application/pics-rules":["prf"],"application/pkcs10":["p10"],"application/pkcs7-mime":["p7m","p7c"],"application/pkcs7-signature":["p7s"],"application/pkcs8":["p8"],"application/pkix-attr-cert":["ac"],"application/pkix-cert":["cer"],"application/pkix-crl":["crl"],"application/pkix-pkipath":["pkipath"],"application/pkixcmp":["pki"],"application/pls+xml":["pls"],"application/postscript":["ai","eps","ps"],"application/provenance+xml":["provx"],"application/pskc+xml":["pskcxml"],"application/raml+yaml":["raml"],"application/rdf+xml":["rdf","owl"],"application/reginfo+xml":["rif"],"application/relax-ng-compact-syntax":["rnc"],"application/resource-lists+xml":["rl"],"application/resource-lists-diff+xml":["rld"],"application/rls-services+xml":["rs"],"application/route-apd+xml":["rapd"],"application/route-s-tsid+xml":["sls"],"application/route-usd+xml":["rusd"],"application/rpki-ghostbusters":["gbr"],"application/rpki-manifest":["mft"],"application/rpki-roa":["roa"],"application/rsd+xml":["rsd"],"application/rss+xml":["rss"],"application/rtf":["rtf"],"application/sbml+xml":["sbml"],"application/scvp-cv-request":["scq"],"application/scvp-cv-response":["scs"],"application/scvp-vp-request":["spq"],"application/scvp-vp-response":["spp"],"application/sdp":["sdp"],"application/senml+xml":["senmlx"],"application/sensml+xml":["sensmlx"],"application/set-payment-initiation":["setpay"],"application/set-registration-initiation":["setreg"],"application/shf+xml":["shf"],"application/sieve":["siv","sieve"],"application/smil+xml":["smi","smil"],"application/sparql-query":["rq"],"application/sparql-results+xml":["srx"],"application/srgs":["gram"],"application/srgs+xml":["grxml"],"application/sru+xml":["sru"],"application/ssdl+xml":["ssdl"],"application/ssml+xml":["ssml"],"application/swid+xml":["swidtag"],"application/tei+xml":["tei","teicorpus"],"application/thraud+xml":["tfi"],"application/timestamped-data":["tsd"],"application/toml":["toml"],"application/trig":["trig"],"application/ttml+xml":["ttml"],"application/ubjson":["ubj"],"application/urc-ressheet+xml":["rsheet"],"application/urc-targetdesc+xml":["td"],"application/voicexml+xml":["vxml"],"application/wasm":["wasm"],"application/widget":["wgt"],"application/winhlp":["hlp"],"application/wsdl+xml":["wsdl"],"application/wspolicy+xml":["wspolicy"],"application/xaml+xml":["xaml"],"application/xcap-att+xml":["xav"],"application/xcap-caps+xml":["xca"],"application/xcap-diff+xml":["xdf"],"application/xcap-el+xml":["xel"],"application/xcap-ns+xml":["xns"],"application/xenc+xml":["xenc"],"application/xhtml+xml":["xhtml","xht"],"application/xliff+xml":["xlf"],"application/xml":["xml","xsl","xsd","rng"],"application/xml-dtd":["dtd"],"application/xop+xml":["xop"],"application/xproc+xml":["xpl"],"application/xslt+xml":["*xsl","xslt"],"application/xspf+xml":["xspf"],"application/xv+xml":["mxml","xhvml","xvml","xvm"],"application/yang":["yang"],"application/yin+xml":["yin"],"application/zip":["zip"],"audio/3gpp":["*3gpp"],"audio/adpcm":["adp"],"audio/amr":["amr"],"audio/basic":["au","snd"],"audio/midi":["mid","midi","kar","rmi"],"audio/mobile-xmf":["mxmf"],"audio/mp3":["*mp3"],"audio/mp4":["m4a","mp4a"],"audio/mpeg":["mpga","mp2","mp2a","mp3","m2a","m3a"],"audio/ogg":["oga","ogg","spx","opus"],"audio/s3m":["s3m"],"audio/silk":["sil"],"audio/wav":["wav"],"audio/wave":["*wav"],"audio/webm":["weba"],"audio/xm":["xm"],"font/collection":["ttc"],"font/otf":["otf"],"font/ttf":["ttf"],"font/woff":["woff"],"font/woff2":["woff2"],"image/aces":["exr"],"image/apng":["apng"],"image/avif":["avif"],"image/bmp":["bmp"],"image/cgm":["cgm"],"image/dicom-rle":["drle"],"image/emf":["emf"],"image/fits":["fits"],"image/g3fax":["g3"],"image/gif":["gif"],"image/heic":["heic"],"image/heic-sequence":["heics"],"image/heif":["heif"],"image/heif-sequence":["heifs"],"image/hej2k":["hej2"],"image/hsj2":["hsj2"],"image/ief":["ief"],"image/jls":["jls"],"image/jp2":["jp2","jpg2"],"image/jpeg":["jpeg","jpg","jpe"],"image/jph":["jph"],"image/jphc":["jhc"],"image/jpm":["jpm"],"image/jpx":["jpx","jpf"],"image/jxr":["jxr"],"image/jxra":["jxra"],"image/jxrs":["jxrs"],"image/jxs":["jxs"],"image/jxsc":["jxsc"],"image/jxsi":["jxsi"],"image/jxss":["jxss"],"image/ktx":["ktx"],"image/ktx2":["ktx2"],"image/png":["png"],"image/sgi":["sgi"],"image/svg+xml":["svg","svgz"],"image/t38":["t38"],"image/tiff":["tif","tiff"],"image/tiff-fx":["tfx"],"image/webp":["webp"],"image/wmf":["wmf"],"message/disposition-notification":["disposition-notification"],"message/global":["u8msg"],"message/global-delivery-status":["u8dsn"],"message/global-disposition-notification":["u8mdn"],"message/global-headers":["u8hdr"],"message/rfc822":["eml","mime"],"model/3mf":["3mf"],"model/gltf+json":["gltf"],"model/gltf-binary":["glb"],"model/iges":["igs","iges"],"model/mesh":["msh","mesh","silo"],"model/mtl":["mtl"],"model/obj":["obj"],"model/step+xml":["stpx"],"model/step+zip":["stpz"],"model/step-xml+zip":["stpxz"],"model/stl":["stl"],"model/vrml":["wrl","vrml"],"model/x3d+binary":["*x3db","x3dbz"],"model/x3d+fastinfoset":["x3db"],"model/x3d+vrml":["*x3dv","x3dvz"],"model/x3d+xml":["x3d","x3dz"],"model/x3d-vrml":["x3dv"],"text/cache-manifest":["appcache","manifest"],"text/calendar":["ics","ifb"],"text/coffeescript":["coffee","litcoffee"],"text/css":["css"],"text/csv":["csv"],"text/html":["html","htm","shtml"],"text/jade":["jade"],"text/jsx":["jsx"],"text/less":["less"],"text/markdown":["markdown","md"],"text/mathml":["mml"],"text/mdx":["mdx"],"text/n3":["n3"],"text/plain":["txt","text","conf","def","list","log","in","ini"],"text/richtext":["rtx"],"text/rtf":["*rtf"],"text/sgml":["sgml","sgm"],"text/shex":["shex"],"text/slim":["slim","slm"],"text/spdx":["spdx"],"text/stylus":["stylus","styl"],"text/tab-separated-values":["tsv"],"text/troff":["t","tr","roff","man","me","ms"],"text/turtle":["ttl"],"text/uri-list":["uri","uris","urls"],"text/vcard":["vcard"],"text/vtt":["vtt"],"text/xml":["*xml"],"text/yaml":["yaml","yml"],"video/3gpp":["3gp","3gpp"],"video/3gpp2":["3g2"],"video/h261":["h261"],"video/h263":["h263"],"video/h264":["h264"],"video/iso.segment":["m4s"],"video/jpeg":["jpgv"],"video/jpm":["*jpm","jpgm"],"video/mj2":["mj2","mjp2"],"video/mp2t":["ts"],"video/mp4":["mp4","mp4v","mpg4"],"video/mpeg":["mpeg","mpg","mpe","m1v","m2v"],"video/ogg":["ogv"],"video/quicktime":["qt","mov"],"video/webm":["webm"]}});var ap=f((WS,np)=>{np.exports={"applicat