(()=>{"use strict";vart={d:(e,r)=>{for(varninr)t.o(r,n)&&!t.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:r[n]})},o:(t,e)=>Object.prototype.hasOwnProperty.call(t,e),r:t=>{"undefined"!=typeofSymbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})}},e={};t.r(e),t.d(e,{privateApis:()=>rt});constr=window.ReactJSXRuntime;varn=Object.create;functiona(){vart=n(null);returnt.__=void0,deletet.__,t}varo=function(t,e,r){this.path=t,this.matcher=e,this.delegate=r};o.prototype.to=function(t,e){varr=this.delegate;if(r&&r.willAddRoute&&(t=r.willAddRoute(this.matcher.target,t)),this.matcher.add(this.path,t),e){if(0===e.length)thrownewError("You must have an argument in the function passed to `to`");this.matcher.addChild(this.path,t,e,this.delegate)}};vari=function(t){this.routes=a(),this.children=a(),this.target=t};functions(t,e,r){returnfunction(n,a){vari=t+n;if(!a)returnnewo(i,e,r);a(s(i,e,r))}}functionu(t,e,r){for(varn=0,a=0;a<t.length;a++)n+=t[a].path.length;varo={path:e=e.substr(n),handler:r};t.push(o)}functionc(t,e,r,n){for(vara=e.routes,o=Object.keys(a),i=0;i<o.length;i++){vars=o[i],h=t.slice();u(h,s,a[s]);varl=e.children[s];l?c(h,l,r,n):r.call(n,h)}}i.prototype.add=function(t,e){this.routes[t]=e},i.prototype.addChild=function(t,e,r,n){vara=newi(e);this.children[t]=a;varo=s(t,a,n);n&&n.contextEntered&&n.contextEntered(e,o),r(o)};functionh(t){returnt.split("/").map(p).join("/")}varl=/%|\//g;functionp(t){returnt.length<3||-1===t.indexOf("%")?t:decodeURIComponent(t).replace(l,encodeURIComponent)}varf=/%(?:2(?:4|6|B|C)|3(?:B|D|A)|40)/g;functiond(t){returnencodeURIComponent(t).replace(f,decodeURIComponent)}varv=/(\/|\.|\*|\+|\?|\||\(|\)|\[|\]|\{|\}|\\)/g,g=Array.isArray,m=Object.prototype.hasOwnProperty;functiony(t,e){if("object"!=typeoft||null===t)thrownewError("You must pass an object as the second argument to `generate`.");if(!m.call(t,e))thrownewError("You must provide param `"+e+"` to `generate`.");varr=t[e],n="string"==typeofr?r:""+r;if(0===n.length)thrownewError("You must provide a param `"+e+"`.");returnn}varw=[];w[0]=function(t,e){for(varr=e,n=t.value,a=0;a<n.length;a++){varo=n.charCodeAt(a);r=r.put(o,!1,!1)}returnr},w[1]=function(t,e){returne.put(47,!0,!0)},w[2]=function(t,e){returne.put(-1,!1,!0)},w[4]=function(t,e){returne};varE=[];E[0]=function(t){returnt.value.replace(v,"\\$1")},E[1]=function(){return"([^/]+)"},E[2]=function(){return"(.+)"},E[4]=function(){return""};varb=[];b[0]=function(t){returnt.value},b[1]=function(t,e){varr=y(e,t.value);returnj.ENCODE_AND_DECODE_PATH_SEGMENTS?d(r):r},b[2]=function(t,e){returny(e,t.value)},b[4]=function(){return""};varS=Object.freeze({}),A=Object.freeze([]);functionx(t,e,r){e.length>0&&47===e.charCodeAt(0)&&(e=e.substr(1));for(varn=e.split("/"),a=void0,o=void0,i=0;i<n.length;i++){vars,u=n[i],c=0;12&(s=2<<(c=""===u?4:58===u.charCodeAt(0)?1:42===u.charCodeAt(0)?2:0))&&(u=u.slice(1),(a=a||[]).push(u),(o=o||[]).push(!!(4&s))),14&s&&r[c]++,t.push({type:c,value:p(u)})}return{names:a||A,shouldDecodes:o||A}}functionC(t,e,r){returnt.char===e&&t.negate===r}varP=function(t,e,r,n,a){this.states=t,this.id=e,this.char=r,this.negate=n,this.nextStates=a?e:null,this.pattern="",this._regex=void0,this.handlers=void0,this.types=void0};functionO(t,e){returnt.negate?t.char!==e&&-1!==t.char:t.char===e||-1===t.char}function_(t,e){for(varr=[],n=0,a=t.length;n<a;n++){varo=t[n];r=r.concat(o.match(e))}returnr}P.prototype.regex=function(){returnthis._regex||(this._regex=newRegExp(this.pattern)),this._regex},P.prototype.get=function(t,e){varr=this.nextStates;if(null!==r)if(g(r))for(varn=0;n<r.length;n++){vara=this.states[r[n]];if(C(a,t,e))returna}else{varo=this.states[r];if(C(o,t,e))returno}},P.prototype.put=function(t,e,r){varn;if(n=this.get(t,e))returnn;vara=this.states;returnn=newP(a,a.length,t,e,r),a[a.length]=n,null==this.nextStates?this.nextStates=n.id:g(this.nextStates)?this.nextStates.push(n.id):this.nextStates=[this.next