conductor-remote 1.46.1 → 1.46.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,42 +1,42 @@
1
- (function(){const r=document.createElement("link").relList;if(r&&r.supports&&r.supports("modulepreload"))return;for(const s of document.querySelectorAll('link[rel="modulepreload"]'))i(s);new MutationObserver(s=>{for(const x of s)if(x.type==="childList")for(const u of x.addedNodes)u.tagName==="LINK"&&u.rel==="modulepreload"&&i(u)}).observe(document,{childList:!0,subtree:!0});function a(s){const x={};return s.integrity&&(x.integrity=s.integrity),s.referrerPolicy&&(x.referrerPolicy=s.referrerPolicy),s.crossOrigin==="use-credentials"?x.credentials="include":s.crossOrigin==="anonymous"?x.credentials="omit":x.credentials="same-origin",x}function i(s){if(s.ep)return;s.ep=!0;const x=a(s);fetch(s.href,x)}})();function zo(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var ou={exports:{}},sl={};var Y9;function HE(){if(Y9)return sl;Y9=1;var e=Symbol.for("react.transitional.element"),r=Symbol.for("react.fragment");function a(i,s,x){var u=null;if(x!==void 0&&(u=""+x),s.key!==void 0&&(u=""+s.key),"key"in s){x={};for(var f in s)f!=="key"&&(x[f]=s[f])}else x=s;return s=x.ref,{$$typeof:e,type:i,key:u,ref:s!==void 0?s:null,props:x}}return sl.Fragment=r,sl.jsx=a,sl.jsxs=a,sl}var X9;function qE(){return X9||(X9=1,ou.exports=HE()),ou.exports}var g=qE(),Tl=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(e){return this.listeners.add(e),this.onSubscribe(),()=>{this.listeners.delete(e),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},IE=class extends Tl{#e;#t;#n;constructor(){super(),this.#n=e=>{if(typeof window<"u"&&window.addEventListener){const r=()=>e();return window.addEventListener("visibilitychange",r,!1),()=>{window.removeEventListener("visibilitychange",r)}}}}onSubscribe(){this.#t||this.setEventListener(this.#n)}onUnsubscribe(){this.hasListeners()||(this.#t?.(),this.#t=void 0)}setEventListener(e){this.#n=e,this.#t?.(),this.#t=e(r=>{typeof r=="boolean"?this.setFocused(r):this.onFocus()})}setFocused(e){this.#e!==e&&(this.#e=e,this.onFocus())}onFocus(){const e=this.isFocused();this.listeners.forEach(r=>{r(e)})}isFocused(){return typeof this.#e=="boolean"?this.#e:globalThis.document?.visibilityState!=="hidden"}},xc=new IE,VE={setTimeout:(e,r)=>setTimeout(e,r),clearTimeout:e=>clearTimeout(e),setInterval:(e,r)=>setInterval(e,r),clearInterval:e=>clearInterval(e)},$E=class{#e=VE;#t=!1;setTimeoutProvider(e){this.#e=e}setTimeout(e,r){return this.#e.setTimeout(e,r)}clearTimeout(e){this.#e.clearTimeout(e)}setInterval(e,r){return this.#e.setInterval(e,r)}clearInterval(e){this.#e.clearInterval(e)}},dr=new $E;function GE(e){setTimeout(e,0)}var QE=typeof window>"u"||"Deno"in globalThis;function Xt(){}function YE(e,r){return typeof e=="function"?e(r):e}function Pu(e){return typeof e=="number"&&e>=0&&e!==1/0}function H8(e,r){return Math.max(e+(r||0)-Date.now(),0)}function q0(e,r){return typeof e=="function"?e(r):e}function xn(e,r){return typeof e=="function"?e(r):e}function K9(e,r){const{type:a="all",exact:i,fetchStatus:s,predicate:x,queryKey:u,stale:f}=e;if(u){if(i){if(r.queryHash!==uc(u,r.options))return!1}else if(!Dl(r.queryKey,u))return!1}if(a!=="all"){const d=r.isActive();if(a==="active"&&!d||a==="inactive"&&d)return!1}return!(typeof f=="boolean"&&r.isStale()!==f||s&&s!==r.state.fetchStatus||x&&!x(r))}function Z9(e,r){const{exact:a,status:i,predicate:s,mutationKey:x}=e;if(x){if(!r.options.mutationKey)return!1;if(a){if(bl(r.options.mutationKey)!==bl(x))return!1}else if(!Dl(r.options.mutationKey,x))return!1}return!(i&&r.state.status!==i||s&&!s(r))}function uc(e,r){return(r?.queryKeyHashFn||bl)(e)}function bl(e){return JSON.stringify(e,(r,a)=>Hu(a)?Object.keys(a).sort().reduce((i,s)=>(i[s]=a[s],i),{}):a)}function Dl(e,r){return e===r?!0:typeof e!=typeof r?!1:e&&r&&typeof e=="object"&&typeof r=="object"?Object.keys(r).every(a=>Dl(e[a],r[a])):!1}var XE=Object.prototype.hasOwnProperty;function q8(e,r,a=0){if(e===r)return e;if(a>500)return r;const i=J9(e)&&J9(r);if(!i&&!(Hu(e)&&Hu(r)))return r;const x=(i?e:Object.keys(e)).length,u=i?r:Object.keys(r),f=u.length,d=i?new Array(f):{};let h=0;for(let E=0;E<f;E++){const p=i?E:u[E],y=e[p],C=r[p];if(y===C){d[p]=y,(i?E<x:XE.call(e,p))&&h++;continue}if(y===null||C===null||typeof y!="object"||typeof C!="object"){d[p]=C;continue}const A=q8(y,C,a+1);d[p]=A,A===y&&h++}return x===f&&h===x?e:d}function Uu(e,r){if(!r||Object.keys(e).length!==Object.keys(r).length)return!1;for(const a in e)if(e[a]!==r[a])return!1;return!0}function J9(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function Hu(e){if(!W9(e))return!1;const r=e.constructor;if(r===void 0)return!0;const a=r.prototype;return!(!W9(a)||!a.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(e)!==Object.prototype)}function W9(e){return Object.prototype.toString.call(e)==="[object Object]"}function KE(e){return new Promise(r=>{dr.setTimeout(r,e)})}function qu(e,r,a){return typeof a.structuralSharing=="function"?a.structuralSharing(e,r):a.structuralSharing!==!1?q8(e,r):r}function ZE(e){return e}function JE(e,r,a=0){const i=[...e,r];return a&&i.length>a?i.slice(1):i}function WE(e,r,a=0){const i=[r,...e];return a&&i.length>a?i.slice(0,-1):i}var cc=Symbol();function I8(e,r){return!e.queryFn&&r?.initialPromise?()=>r.initialPromise:!e.queryFn||e.queryFn===cc?()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}function V8(e,r){return typeof e=="function"?e(...r):!!e}function e6(e,r,a){let i=!1,s;return Object.defineProperty(e,"signal",{enumerable:!0,get:()=>(s??=r(),i||(i=!0,s.aborted?a():s.addEventListener("abort",a,{once:!0})),s)}),e}var vl=(()=>{let e=()=>QE;return{isServer(){return e()},setIsServer(r){e=r}}})();function Iu(){let e,r;const a=new Promise((s,x)=>{e=s,r=x});a.status="pending",a.catch(()=>{});function i(s){Object.assign(a,s),delete a.resolve,delete a.reject}return a.resolve=s=>{i({status:"fulfilled",value:s}),e(s)},a.reject=s=>{i({status:"rejected",reason:s}),r(s)},a}var t6=GE;function n6(){let e=[],r=0,a=f=>{f()},i=f=>{f()},s=t6;const x=f=>{r?e.push(f):s(()=>{a(f)})},u=()=>{const f=e;e=[],f.length&&s(()=>{i(()=>{f.forEach(d=>{a(d)})})})};return{batch:f=>{let d;r++;try{d=f()}finally{r--,r||u()}return d},batchCalls:f=>(...d)=>{x(()=>{f(...d)})},schedule:x,setNotifyFunction:f=>{a=f},setBatchNotifyFunction:f=>{i=f},setScheduler:f=>{s=f}}}var wt=n6(),r6=class extends Tl{#e=!0;#t;#n;constructor(){super(),this.#n=e=>{if(typeof window<"u"&&window.addEventListener){const r=()=>e(!0),a=()=>e(!1);return window.addEventListener("online",r,!1),window.addEventListener("offline",a,!1),()=>{window.removeEventListener("online",r),window.removeEventListener("offline",a)}}}}onSubscribe(){this.#t||this.setEventListener(this.#n)}onUnsubscribe(){this.hasListeners()||(this.#t?.(),this.#t=void 0)}setEventListener(e){this.#n=e,this.#t?.(),this.#t=e(this.setOnline.bind(this))}setOnline(e){this.#e!==e&&(this.#e=e,this.listeners.forEach(a=>{a(e)}))}isOnline(){return this.#e}},Bo=new r6;function a6(e){return Math.min(1e3*2**e,3e4)}function $8(e){return(e??"online")==="online"?Bo.isOnline():!0}var Vu=class extends Error{constructor(e){super("CancelledError"),this.revert=e?.revert,this.silent=e?.silent}};function G8(e){let r=!1,a=0,i;const s=Iu(),x=()=>s.status!=="pending",u=b=>{if(!x()){const D=new Vu(b);y(D),e.onCancel?.(D)}},f=()=>{r=!0},d=()=>{r=!1},h=()=>xc.isFocused()&&(e.networkMode==="always"||Bo.isOnline())&&e.canRun(),E=()=>$8(e.networkMode)&&e.canRun(),p=b=>{x()||(i?.(),s.resolve(b))},y=b=>{x()||(i?.(),s.reject(b))},C=()=>new Promise(b=>{i=D=>{(x()||h())&&b(D)},e.onPause?.()}).then(()=>{i=void 0,x()||e.onContinue?.()}),A=()=>{if(x())return;let b;const D=a===0?e.initialPromise:void 0;try{b=D??e.fn()}catch(F){b=Promise.reject(F)}Promise.resolve(b).then(p).catch(F=>{if(x())return;const O=e.retry??(vl.isServer()?0:3),w=e.retryDelay??a6,_=typeof w=="function"?w(a,F):w,R=O===!0||typeof O=="number"&&a<O||typeof O=="function"&&O(a,F);if(r||!R){y(F);return}a++,e.onFail?.(a,F),KE(_).then(()=>h()?void 0:C()).then(()=>{r?y(F):A()})})};return{promise:s,status:()=>s.status,cancel:u,continue:()=>(i?.(),s),cancelRetry:f,continueRetry:d,canStart:E,start:()=>(E()?A():C().then(A),s)}}var Q8=class{#e;destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),Pu(this.gcTime)&&(this.#e=dr.setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(vl.isServer()?1/0:300*1e3))}clearGcTimeout(){this.#e!==void 0&&(dr.clearTimeout(this.#e),this.#e=void 0)}};function l6(e){return{onFetch:(r,a)=>{const i=r.options,s=r.fetchOptions?.meta?.fetchMore?.direction,x=r.state.data?.pages||[],u=r.state.data?.pageParams||[];let f={pages:[],pageParams:[]},d=0;const h=async()=>{let E=!1;const p=A=>{e6(A,()=>r.signal,()=>E=!0)},y=I8(r.options,r.fetchOptions),C=async(A,b,D)=>{if(E)return Promise.reject(r.signal.reason);if(b==null&&A.pages.length)return Promise.resolve(A);const O=(()=>{const k={client:r.client,queryKey:r.queryKey,pageParam:b,direction:D?"backward":"forward",meta:r.options.meta};return p(k),k})(),w=await y(O),{maxPages:_}=r.options,R=D?WE:JE;return{pages:R(A.pages,w,_),pageParams:R(A.pageParams,b,_)}};if(s&&x.length){const A=s==="backward",b=A?i6:eh,D={pages:x,pageParams:u},F=b(i,D);f=await C(D,F,A)}else{const A=e??x.length;do{const b=d===0?u[0]??i.initialPageParam:eh(i,f);if(d>0&&b==null)break;f=await C(f,b),d++}while(d<A)}return f};r.options.persister?r.fetchFn=()=>r.options.persister?.(h,{client:r.client,queryKey:r.queryKey,meta:r.options.meta,signal:r.signal},a):r.fetchFn=h}}}function eh(e,{pages:r,pageParams:a}){const i=r.length-1;return r.length>0?e.getNextPageParam(r[i],r,a[i],a):void 0}function i6(e,{pages:r,pageParams:a}){return r.length>0?e.getPreviousPageParam?.(r[0],r,a[0],a):void 0}var o6=class extends Q8{#e;#t;#n;#r;#l;#a;#o;#i;constructor(e){super(),this.#i=!1,this.#o=e.defaultOptions,this.setOptions(e.options),this.observers=[],this.#l=e.client,this.#r=this.#l.getQueryCache(),this.queryKey=e.queryKey,this.queryHash=e.queryHash,this.#t=nh(this.options),this.state=e.state??this.#t,this.scheduleGc()}get meta(){return this.options.meta}get queryType(){return this.#e}get promise(){return this.#a?.promise}setOptions(e){if(this.options={...this.#o,...e},e?._type&&(this.#e=e._type),this.updateGcTime(this.options.gcTime),this.state&&this.state.data===void 0){const r=nh(this.options);r.data!==void 0&&(this.setState(th(r.data,r.dataUpdatedAt)),this.#t=r)}}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&this.#r.remove(this)}setData(e,r){const a=qu(this.state.data,e,this.options);return this.#s({data:a,type:"success",dataUpdatedAt:r?.updatedAt,manual:r?.manual}),a}setState(e){this.#s({type:"setState",state:e})}cancel(e){const r=this.#a?.promise;return this.#a?.cancel(e),r?r.then(Xt).catch(Xt):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}get resetState(){return this.#t}reset(){this.destroy(),this.setState(this.resetState)}isActive(){return this.observers.some(e=>xn(e.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===cc||!this.isFetched()}isFetched(){return this.state.dataUpdateCount+this.state.errorUpdateCount>0}isStatic(){return this.getObserversCount()>0?this.observers.some(e=>q0(e.options.staleTime,this)==="static"):!1}isStale(){return this.getObserversCount()>0?this.observers.some(e=>e.getCurrentResult().isStale):this.state.data===void 0||this.state.isInvalidated}isStaleByTime(e=0){return this.state.data===void 0?!0:e==="static"?!1:this.state.isInvalidated?!0:!H8(this.state.dataUpdatedAt,e)}onFocus(){this.observers.find(r=>r.shouldFetchOnWindowFocus())?.refetch({cancelRefetch:!1}),this.#a?.continue()}onOnline(){this.observers.find(r=>r.shouldFetchOnReconnect())?.refetch({cancelRefetch:!1}),this.#a?.continue()}addObserver(e){this.observers.includes(e)||(this.observers.push(e),this.clearGcTimeout(),this.#r.notify({type:"observerAdded",query:this,observer:e}))}removeObserver(e){this.observers.includes(e)&&(this.observers=this.observers.filter(r=>r!==e),this.observers.length||(this.#a&&(this.#i||this.#u()?this.#a.cancel({revert:!0}):this.#a.cancelRetry()),this.scheduleGc()),this.#r.notify({type:"observerRemoved",query:this,observer:e}))}getObserversCount(){return this.observers.length}#u(){return this.state.fetchStatus==="paused"&&this.state.status==="pending"}invalidate(){this.state.isInvalidated||this.#s({type:"invalidate"})}async fetch(e,r){if(this.state.fetchStatus!=="idle"&&this.#a?.status()!=="rejected"){if(this.state.data!==void 0&&r?.cancelRefetch)this.cancel({silent:!0});else if(this.#a)return this.#a.continueRetry(),this.#a.promise}if(e&&this.setOptions(e),!this.options.queryFn){const d=this.observers.find(h=>h.options.queryFn);d&&this.setOptions(d.options)}const a=new AbortController,i=d=>{Object.defineProperty(d,"signal",{enumerable:!0,get:()=>(this.#i=!0,a.signal)})},s=()=>{const d=I8(this.options,r),E=(()=>{const p={client:this.#l,queryKey:this.queryKey,meta:this.meta};return i(p),p})();return this.#i=!1,this.options.persister?this.options.persister(d,E,this):d(E)},u=(()=>{const d={fetchOptions:r,options:this.options,queryKey:this.queryKey,client:this.#l,state:this.state,fetchFn:s};return i(d),d})();(this.#e==="infinite"?l6(this.options.pages):this.options.behavior)?.onFetch(u,this),this.#n=this.state,(this.state.fetchStatus==="idle"||this.state.fetchMeta!==u.fetchOptions?.meta)&&this.#s({type:"fetch",meta:u.fetchOptions?.meta}),this.#a=G8({initialPromise:r?.initialPromise,fn:u.fetchFn,onCancel:d=>{d instanceof Vu&&d.revert&&this.setState({...this.#n,fetchStatus:"idle"}),a.abort()},onFail:(d,h)=>{this.#s({type:"failed",failureCount:d,error:h})},onPause:()=>{this.#s({type:"pause"})},onContinue:()=>{this.#s({type:"continue"})},retry:u.options.retry,retryDelay:u.options.retryDelay,networkMode:u.options.networkMode,canRun:()=>!0});try{const d=await this.#a.start();if(d===void 0)throw new Error(`${this.queryHash} data is undefined`);return this.setData(d),this.#r.config.onSuccess?.(d,this),this.#r.config.onSettled?.(d,this.state.error,this),d}catch(d){if(d instanceof Vu){if(d.silent)return this.#a.promise;if(d.revert){if(this.state.data===void 0)throw d;return this.state.data}}throw this.#s({type:"error",error:d}),this.#r.config.onError?.(d,this),this.#r.config.onSettled?.(this.state.data,d,this),d}finally{this.scheduleGc()}}#s(e){const r=a=>{switch(e.type){case"failed":return{...a,fetchFailureCount:e.failureCount,fetchFailureReason:e.error};case"pause":return{...a,fetchStatus:"paused"};case"continue":return{...a,fetchStatus:"fetching"};case"fetch":return{...a,...Y8(a.data,this.options),fetchMeta:e.meta??null};case"success":const i={...a,...th(e.data,e.dataUpdatedAt),dataUpdateCount:a.dataUpdateCount+1,...!e.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};return this.#n=e.manual?i:void 0,i;case"error":const s=e.error;return{...a,error:s,errorUpdateCount:a.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:a.fetchFailureCount+1,fetchFailureReason:s,fetchStatus:"idle",status:"error",isInvalidated:!0};case"invalidate":return{...a,isInvalidated:!0};case"setState":return{...a,...e.state}}};this.state=r(this.state),wt.batch(()=>{this.observers.forEach(a=>{a.onQueryUpdate()}),this.#r.notify({query:this,type:"updated",action:e})})}};function Y8(e,r){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:$8(r.networkMode)?"fetching":"paused",...e===void 0&&{error:null,status:"pending"}}}function th(e,r){return{data:e,dataUpdatedAt:r??Date.now(),error:null,isInvalidated:!1,status:"success"}}function nh(e){const r=typeof e.initialData=="function"?e.initialData():e.initialData,a=r!==void 0,i=a?typeof e.initialDataUpdatedAt=="function"?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:r,dataUpdateCount:0,dataUpdatedAt:a?i??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:a?"success":"pending",fetchStatus:"idle"}}var s6=class extends Tl{constructor(e,r){super(),this.options=r,this.#e=e,this.#i=null,this.#o=Iu(),this.bindMethods(),this.setOptions(r)}#e;#t=void 0;#n=void 0;#r=void 0;#l;#a;#o;#i;#u;#s;#h;#c;#f;#x;#p=new Set;bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){this.listeners.size===1&&(this.#t.addObserver(this),rh(this.#t,this.options)?this.#d():this.updateResult(),this.#y())}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return $u(this.#t,this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return $u(this.#t,this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,this.#g(),this.#B(),this.#t.removeObserver(this)}setOptions(e){const r=this.options,a=this.#t;if(this.options=this.#e.defaultQueryOptions(e),this.options.enabled!==void 0&&typeof this.options.enabled!="boolean"&&typeof this.options.enabled!="function"&&typeof xn(this.options.enabled,this.#t)!="boolean")throw new Error("Expected enabled to be a boolean or a callback that returns a boolean");this.#A(),this.#t.setOptions(this.options),r._defaulted&&!Uu(this.options,r)&&this.#e.getQueryCache().notify({type:"observerOptionsUpdated",query:this.#t,observer:this});const i=this.hasListeners();i&&ah(this.#t,a,this.options,r)&&this.#d(),this.updateResult(),i&&(this.#t!==a||xn(this.options.enabled,this.#t)!==xn(r.enabled,this.#t)||q0(this.options.staleTime,this.#t)!==q0(r.staleTime,this.#t))&&this.#m();const s=this.#E();i&&(this.#t!==a||xn(this.options.enabled,this.#t)!==xn(r.enabled,this.#t)||s!==this.#x)&&this.#C(s)}getOptimisticResult(e){const r=this.#e.getQueryCache().build(this.#e,e),a=this.createResult(r,e);return u6(this,a)&&(this.#r=a,this.#a=this.options,this.#l=this.#t.state),a}getCurrentResult(){return this.#r}trackResult(e,r){return new Proxy(e,{get:(a,i)=>(this.trackProp(i),r?.(i),i==="promise"&&(this.trackProp("data"),!this.options.experimental_prefetchInRender&&this.#o.status==="pending"&&this.#o.reject(new Error("experimental_prefetchInRender feature flag is not enabled"))),Reflect.get(a,i))})}trackProp(e){this.#p.add(e)}getCurrentQuery(){return this.#t}refetch({...e}={}){return this.fetch({...e})}fetchOptimistic(e){const r=this.#e.defaultQueryOptions(e),a=this.#e.getQueryCache().build(this.#e,r);return a.fetch().then(()=>this.createResult(a,r))}fetch(e){return this.#d({...e,cancelRefetch:e.cancelRefetch??!0}).then(()=>(this.updateResult(),this.#r))}#d(e){this.#A();let r=this.#t.fetch(this.options,e);return e?.throwOnError||(r=r.catch(Xt)),r}#m(){this.#g();const e=q0(this.options.staleTime,this.#t);if(vl.isServer()||this.#r.isStale||!Pu(e))return;const a=H8(this.#r.dataUpdatedAt,e)+1;this.#c=dr.setTimeout(()=>{this.#r.isStale||this.updateResult()},a)}#E(){return(typeof this.options.refetchInterval=="function"?this.options.refetchInterval(this.#t):this.options.refetchInterval)??!1}#C(e){this.#B(),this.#x=e,!(vl.isServer()||xn(this.options.enabled,this.#t)===!1||!Pu(this.#x)||this.#x===0)&&(this.#f=dr.setInterval(()=>{(this.options.refetchIntervalInBackground||xc.isFocused())&&this.#d()},this.#x))}#y(){this.#m(),this.#C(this.#E())}#g(){this.#c!==void 0&&(dr.clearTimeout(this.#c),this.#c=void 0)}#B(){this.#f!==void 0&&(dr.clearInterval(this.#f),this.#f=void 0)}createResult(e,r){const a=this.#t,i=this.options,s=this.#r,x=this.#l,u=this.#a,d=e!==a?e.state:this.#n,{state:h}=e;let E={...h},p=!1,y;if(r._optimisticResults){const S=this.hasListeners(),q=!S&&rh(e,r),L=S&&ah(e,a,r,i);(q||L)&&(E={...E,...Y8(h.data,e.options)}),r._optimisticResults==="isRestoring"&&(E.fetchStatus="idle")}let{error:C,errorUpdatedAt:A,status:b}=E;y=E.data;let D=!1;if(r.placeholderData!==void 0&&y===void 0&&b==="pending"){let S;s?.isPlaceholderData&&r.placeholderData===u?.placeholderData?(S=s.data,D=!0):S=typeof r.placeholderData=="function"?r.placeholderData(this.#h?.state.data,this.#h):r.placeholderData,S!==void 0&&(b="success",y=qu(s?.data,S,r),p=!0)}if(r.select&&y!==void 0&&!D)if(s&&y===x?.data&&r.select===this.#u)y=this.#s;else try{this.#u=r.select,y=r.select(y),y=qu(s?.data,y,r),this.#s=y,this.#i=null}catch(S){this.#i=S}this.#i&&(C=this.#i,y=this.#s,A=Date.now(),b="error");const F=E.fetchStatus==="fetching",O=b==="pending",w=b==="error",_=O&&F,R=y!==void 0,T={status:b,fetchStatus:E.fetchStatus,isPending:O,isSuccess:b==="success",isError:w,isInitialLoading:_,isLoading:_,data:y,dataUpdatedAt:E.dataUpdatedAt,error:C,errorUpdatedAt:A,failureCount:E.fetchFailureCount,failureReason:E.fetchFailureReason,errorUpdateCount:E.errorUpdateCount,isFetched:e.isFetched(),isFetchedAfterMount:E.dataUpdateCount>d.dataUpdateCount||E.errorUpdateCount>d.errorUpdateCount,isFetching:F,isRefetching:F&&!O,isLoadingError:w&&!R,isPaused:E.fetchStatus==="paused",isPlaceholderData:p,isRefetchError:w&&R,isStale:fc(e,r),refetch:this.refetch,promise:this.#o,isEnabled:xn(r.enabled,e)!==!1};if(this.options.experimental_prefetchInRender){const S=T.data!==void 0,q=T.status==="error"&&!S,L=ie=>{q?ie.reject(T.error):S&&ie.resolve(T.data)},X=()=>{const ie=this.#o=T.promise=Iu();L(ie)},K=this.#o;switch(K.status){case"pending":e.queryHash===a.queryHash&&L(K);break;case"fulfilled":(q||T.data!==K.value)&&X();break;case"rejected":(!q||T.error!==K.reason)&&X();break}}return T}updateResult(){const e=this.#r,r=this.createResult(this.#t,this.options);if(this.#l=this.#t.state,this.#a=this.options,this.#l.data!==void 0&&(this.#h=this.#t),Uu(r,e))return;this.#r=r;const a=()=>{if(!e)return!0;const{notifyOnChangeProps:i}=this.options,s=typeof i=="function"?i():i;if(s==="all"||!s&&!this.#p.size)return!0;const x=new Set(s??this.#p);return this.options.throwOnError&&x.add("error"),Object.keys(this.#r).some(u=>{const f=u;return this.#r[f]!==e[f]&&x.has(f)})};this.#b({listeners:a()})}#A(){const e=this.#e.getQueryCache().build(this.#e,this.options);if(e===this.#t)return;const r=this.#t;this.#t=e,this.#n=e.state,this.hasListeners()&&(r?.removeObserver(this),e.addObserver(this))}onQueryUpdate(){this.updateResult(),this.hasListeners()&&this.#y()}#b(e){wt.batch(()=>{e.listeners&&this.listeners.forEach(r=>{r(this.#r)}),this.#e.getQueryCache().notify({query:this.#t,type:"observerResultsUpdated"})})}};function x6(e,r){return xn(r.enabled,e)!==!1&&e.state.data===void 0&&!(e.state.status==="error"&&xn(r.retryOnMount,e)===!1)}function rh(e,r){return x6(e,r)||e.state.data!==void 0&&$u(e,r,r.refetchOnMount)}function $u(e,r,a){if(xn(r.enabled,e)!==!1&&q0(r.staleTime,e)!=="static"){const i=typeof a=="function"?a(e):a;return i==="always"||i!==!1&&fc(e,r)}return!1}function ah(e,r,a,i){return(e!==r||xn(i.enabled,e)===!1)&&(!a.suspense||e.state.status!=="error")&&fc(e,a)}function fc(e,r){return xn(r.enabled,e)!==!1&&e.isStaleByTime(q0(r.staleTime,e))}function u6(e,r){return!Uu(e.getCurrentResult(),r)}var c6=class extends Q8{#e;#t;#n;#r;constructor(e){super(),this.#e=e.client,this.mutationId=e.mutationId,this.#n=e.mutationCache,this.#t=[],this.state=e.state||f6(),this.setOptions(e.options),this.scheduleGc()}setOptions(e){this.options=e,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(e){this.#t.includes(e)||(this.#t.push(e),this.clearGcTimeout(),this.#n.notify({type:"observerAdded",mutation:this,observer:e}))}removeObserver(e){this.#t=this.#t.filter(r=>r!==e),this.scheduleGc(),this.#n.notify({type:"observerRemoved",mutation:this,observer:e})}optionalRemove(){this.#t.length||(this.state.status==="pending"?this.scheduleGc():this.#n.remove(this))}continue(){return this.#r?.continue()??this.execute(this.state.variables)}async execute(e){const r=()=>{this.#l({type:"continue"})},a={client:this.#e,meta:this.options.meta,mutationKey:this.options.mutationKey};this.#r=G8({fn:()=>this.options.mutationFn?this.options.mutationFn(e,a):Promise.reject(new Error("No mutationFn found")),onFail:(x,u)=>{this.#l({type:"failed",failureCount:x,error:u})},onPause:()=>{this.#l({type:"pause"})},onContinue:r,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>this.#n.canRun(this)});const i=this.state.status==="pending",s=!this.#r.canStart();try{if(i)r();else{this.#l({type:"pending",variables:e,isPaused:s}),this.#n.config.onMutate&&await this.#n.config.onMutate(e,this,a);const u=await this.options.onMutate?.(e,a);u!==this.state.context&&this.#l({type:"pending",context:u,variables:e,isPaused:s})}const x=await this.#r.start();return await this.#n.config.onSuccess?.(x,e,this.state.context,this,a),await this.options.onSuccess?.(x,e,this.state.context,a),await this.#n.config.onSettled?.(x,null,this.state.variables,this.state.context,this,a),await this.options.onSettled?.(x,null,e,this.state.context,a),this.#l({type:"success",data:x}),x}catch(x){try{await this.#n.config.onError?.(x,e,this.state.context,this,a)}catch(u){Promise.reject(u)}try{await this.options.onError?.(x,e,this.state.context,a)}catch(u){Promise.reject(u)}try{await this.#n.config.onSettled?.(void 0,x,this.state.variables,this.state.context,this,a)}catch(u){Promise.reject(u)}try{await this.options.onSettled?.(void 0,x,e,this.state.context,a)}catch(u){Promise.reject(u)}throw this.#l({type:"error",error:x}),x}finally{this.#n.runNext(this)}}#l(e){const r=a=>{switch(e.type){case"failed":return{...a,failureCount:e.failureCount,failureReason:e.error};case"pause":return{...a,isPaused:!0};case"continue":return{...a,isPaused:!1};case"pending":return{...a,context:e.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:e.isPaused,status:"pending",variables:e.variables,submittedAt:Date.now()};case"success":return{...a,data:e.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...a,data:void 0,error:e.error,failureCount:a.failureCount+1,failureReason:e.error,isPaused:!1,status:"error"}}};this.state=r(this.state),wt.batch(()=>{this.#t.forEach(a=>{a.onMutationUpdate(e)}),this.#n.notify({mutation:this,type:"updated",action:e})})}};function f6(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var d6=class extends Tl{constructor(e={}){super(),this.config=e,this.#e=new Set,this.#t=new Map,this.#n=0}#e;#t;#n;build(e,r,a){const i=new c6({client:e,mutationCache:this,mutationId:++this.#n,options:e.defaultMutationOptions(r),state:a});return this.add(i),i}add(e){this.#e.add(e);const r=no(e);if(typeof r=="string"){const a=this.#t.get(r);a?a.push(e):this.#t.set(r,[e])}this.notify({type:"added",mutation:e})}remove(e){if(this.#e.delete(e)){const r=no(e);if(typeof r=="string"){const a=this.#t.get(r);if(a)if(a.length>1){const i=a.indexOf(e);i!==-1&&a.splice(i,1)}else a[0]===e&&this.#t.delete(r)}}this.notify({type:"removed",mutation:e})}canRun(e){const r=no(e);if(typeof r=="string"){const i=this.#t.get(r)?.find(s=>s.state.status==="pending");return!i||i===e}else return!0}runNext(e){const r=no(e);return typeof r=="string"?this.#t.get(r)?.find(i=>i!==e&&i.state.isPaused)?.continue()??Promise.resolve():Promise.resolve()}clear(){wt.batch(()=>{this.#e.forEach(e=>{this.notify({type:"removed",mutation:e})}),this.#e.clear(),this.#t.clear()})}getAll(){return Array.from(this.#e)}find(e){const r={exact:!0,...e};return this.getAll().find(a=>Z9(r,a))}findAll(e={}){return this.getAll().filter(r=>Z9(e,r))}notify(e){wt.batch(()=>{this.listeners.forEach(r=>{r(e)})})}resumePausedMutations(){const e=this.getAll().filter(r=>r.state.isPaused);return wt.batch(()=>Promise.all(e.map(r=>r.continue().catch(Xt))))}};function no(e){return e.options.scope?.id}var h6=class extends Tl{constructor(e={}){super(),this.config=e,this.#e=new Map}#e;build(e,r,a){const i=r.queryKey,s=r.queryHash??uc(i,r);let x=this.get(s);return x||(x=new o6({client:e,queryKey:i,queryHash:s,options:e.defaultQueryOptions(r),state:a,defaultOptions:e.getQueryDefaults(i)}),this.add(x)),x}add(e){this.#e.has(e.queryHash)||(this.#e.set(e.queryHash,e),this.notify({type:"added",query:e}))}remove(e){const r=this.#e.get(e.queryHash);r&&(e.destroy(),r===e&&this.#e.delete(e.queryHash),this.notify({type:"removed",query:e}))}clear(){wt.batch(()=>{this.getAll().forEach(e=>{this.remove(e)})})}get(e){return this.#e.get(e)}getAll(){return[...this.#e.values()]}find(e){const r={exact:!0,...e};return this.getAll().find(a=>K9(r,a))}findAll(e={}){const r=this.getAll();return Object.keys(e).length>0?r.filter(a=>K9(e,a)):r}notify(e){wt.batch(()=>{this.listeners.forEach(r=>{r(e)})})}onFocus(){wt.batch(()=>{this.getAll().forEach(e=>{e.onFocus()})})}onOnline(){wt.batch(()=>{this.getAll().forEach(e=>{e.onOnline()})})}},p6=class{#e;#t;#n;#r;#l;#a;#o;#i;constructor(e={}){this.#e=e.queryCache||new h6,this.#t=e.mutationCache||new d6,this.#n=e.defaultOptions||{},this.#r=new Map,this.#l=new Map,this.#a=0}mount(){this.#a++,this.#a===1&&(this.#o=xc.subscribe(async e=>{e&&(await this.resumePausedMutations(),this.#e.onFocus())}),this.#i=Bo.subscribe(async e=>{e&&(await this.resumePausedMutations(),this.#e.onOnline())}))}unmount(){this.#a--,this.#a===0&&(this.#o?.(),this.#o=void 0,this.#i?.(),this.#i=void 0)}isFetching(e){return this.#e.findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return this.#t.findAll({...e,status:"pending"}).length}getQueryData(e){const r=this.defaultQueryOptions({queryKey:e});return this.#e.get(r.queryHash)?.state.data}ensureQueryData(e){const r=this.defaultQueryOptions(e),a=this.#e.build(this,r),i=a.state.data;return i===void 0?this.fetchQuery(e):(e.revalidateIfStale&&a.isStaleByTime(q0(r.staleTime,a))&&this.prefetchQuery(r),Promise.resolve(i))}getQueriesData(e){return this.#e.findAll(e).map(({queryKey:r,state:a})=>{const i=a.data;return[r,i]})}setQueryData(e,r,a){const i=this.defaultQueryOptions({queryKey:e}),x=this.#e.get(i.queryHash)?.state.data,u=YE(r,x);if(u!==void 0)return this.#e.build(this,i).setData(u,{...a,manual:!0})}setQueriesData(e,r,a){return wt.batch(()=>this.#e.findAll(e).map(({queryKey:i})=>[i,this.setQueryData(i,r,a)]))}getQueryState(e){const r=this.defaultQueryOptions({queryKey:e});return this.#e.get(r.queryHash)?.state}removeQueries(e){const r=this.#e;wt.batch(()=>{r.findAll(e).forEach(a=>{r.remove(a)})})}resetQueries(e,r){const a=this.#e;return wt.batch(()=>(a.findAll(e).forEach(i=>{i.reset()}),this.refetchQueries({type:"active",...e},r)))}cancelQueries(e,r={}){const a={revert:!0,...r},i=wt.batch(()=>this.#e.findAll(e).map(s=>s.cancel(a)));return Promise.all(i).then(Xt).catch(Xt)}invalidateQueries(e,r={}){return wt.batch(()=>(this.#e.findAll(e).forEach(a=>{a.invalidate()}),e?.refetchType==="none"?Promise.resolve():this.refetchQueries({...e,type:e?.refetchType??e?.type??"active"},r)))}refetchQueries(e,r={}){const a={...r,cancelRefetch:r.cancelRefetch??!0},i=wt.batch(()=>this.#e.findAll(e).filter(s=>!s.isDisabled()&&!s.isStatic()).map(s=>{let x=s.fetch(void 0,a);return a.throwOnError||(x=x.catch(Xt)),s.state.fetchStatus==="paused"?Promise.resolve():x}));return Promise.all(i).then(Xt)}fetchQuery(e){const r=this.defaultQueryOptions(e);r.retry===void 0&&(r.retry=!1);const a=this.#e.build(this,r);return a.isStaleByTime(q0(r.staleTime,a))?a.fetch(r):Promise.resolve(a.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(Xt).catch(Xt)}fetchInfiniteQuery(e){return e._type="infinite",this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(Xt).catch(Xt)}ensureInfiniteQueryData(e){return e._type="infinite",this.ensureQueryData(e)}resumePausedMutations(){return Bo.isOnline()?this.#t.resumePausedMutations():Promise.resolve()}getQueryCache(){return this.#e}getMutationCache(){return this.#t}getDefaultOptions(){return this.#n}setDefaultOptions(e){this.#n=e}setQueryDefaults(e,r){this.#r.set(bl(e),{queryKey:e,defaultOptions:r})}getQueryDefaults(e){const r=[...this.#r.values()],a={};return r.forEach(i=>{Dl(e,i.queryKey)&&Object.assign(a,i.defaultOptions)}),a}setMutationDefaults(e,r){this.#l.set(bl(e),{mutationKey:e,defaultOptions:r})}getMutationDefaults(e){const r=[...this.#l.values()],a={};return r.forEach(i=>{Dl(e,i.mutationKey)&&Object.assign(a,i.defaultOptions)}),a}defaultQueryOptions(e){if(e._defaulted)return e;const r={...this.#n.queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return r.queryHash||(r.queryHash=uc(r.queryKey,r)),r.refetchOnReconnect===void 0&&(r.refetchOnReconnect=r.networkMode!=="always"),r.throwOnError===void 0&&(r.throwOnError=!!r.suspense),!r.networkMode&&r.persister&&(r.networkMode="offlineFirst"),r.queryFn===cc&&(r.enabled=!1),r}defaultMutationOptions(e){return e?._defaulted?e:{...this.#n.mutations,...e?.mutationKey&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){this.#e.clear(),this.#t.clear()}},su={exports:{}},ve={};var lh;function m6(){if(lh)return ve;lh=1;var e=Symbol.for("react.transitional.element"),r=Symbol.for("react.portal"),a=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),x=Symbol.for("react.consumer"),u=Symbol.for("react.context"),f=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),h=Symbol.for("react.memo"),E=Symbol.for("react.lazy"),p=Symbol.for("react.activity"),y=Symbol.iterator;function C(j){return j===null||typeof j!="object"?null:(j=y&&j[y]||j["@@iterator"],typeof j=="function"?j:null)}var A={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},b=Object.assign,D={};function F(j,W,N){this.props=j,this.context=W,this.refs=D,this.updater=N||A}F.prototype.isReactComponent={},F.prototype.setState=function(j,W){if(typeof j!="object"&&typeof j!="function"&&j!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,j,W,"setState")},F.prototype.forceUpdate=function(j){this.updater.enqueueForceUpdate(this,j,"forceUpdate")};function O(){}O.prototype=F.prototype;function w(j,W,N){this.props=j,this.context=W,this.refs=D,this.updater=N||A}var _=w.prototype=new O;_.constructor=w,b(_,F.prototype),_.isPureReactComponent=!0;var R=Array.isArray;function k(){}var T={H:null,A:null,T:null,S:null},S=Object.prototype.hasOwnProperty;function q(j,W,N){var ae=N.ref;return{$$typeof:e,type:j,key:W,ref:ae!==void 0?ae:null,props:N}}function L(j,W){return q(j.type,W,j.props)}function X(j){return typeof j=="object"&&j!==null&&j.$$typeof===e}function K(j){var W={"=":"=0",":":"=2"};return"$"+j.replace(/[=:]/g,function(N){return W[N]})}var ie=/\/+/g;function Z(j,W){return typeof j=="object"&&j!==null&&j.key!=null?K(""+j.key):W.toString(36)}function $(j){switch(j.status){case"fulfilled":return j.value;case"rejected":throw j.reason;default:switch(typeof j.status=="string"?j.then(k,k):(j.status="pending",j.then(function(W){j.status==="pending"&&(j.status="fulfilled",j.value=W)},function(W){j.status==="pending"&&(j.status="rejected",j.reason=W)})),j.status){case"fulfilled":return j.value;case"rejected":throw j.reason}}throw j}function P(j,W,N,ae,ce){var xe=typeof j;(xe==="undefined"||xe==="boolean")&&(j=null);var Ee=!1;if(j===null)Ee=!0;else switch(xe){case"bigint":case"string":case"number":Ee=!0;break;case"object":switch(j.$$typeof){case e:case r:Ee=!0;break;case E:return Ee=j._init,P(Ee(j._payload),W,N,ae,ce)}}if(Ee)return ce=ce(j),Ee=ae===""?"."+Z(j,0):ae,R(ce)?(N="",Ee!=null&&(N=Ee.replace(ie,"$&/")+"/"),P(ce,W,N,"",function(Bt){return Bt})):ce!=null&&(X(ce)&&(ce=L(ce,N+(ce.key==null||j&&j.key===ce.key?"":(""+ce.key).replace(ie,"$&/")+"/")+Ee)),W.push(ce)),1;Ee=0;var Pe=ae===""?".":ae+":";if(R(j))for(var Ce=0;Ce<j.length;Ce++)ae=j[Ce],xe=Pe+Z(ae,Ce),Ee+=P(ae,W,N,xe,ce);else if(Ce=C(j),typeof Ce=="function")for(j=Ce.call(j),Ce=0;!(ae=j.next()).done;)ae=ae.value,xe=Pe+Z(ae,Ce++),Ee+=P(ae,W,N,xe,ce);else if(xe==="object"){if(typeof j.then=="function")return P($(j),W,N,ae,ce);throw W=String(j),Error("Objects are not valid as a React child (found: "+(W==="[object Object]"?"object with keys {"+Object.keys(j).join(", ")+"}":W)+"). If you meant to render a collection of children, use an array instead.")}return Ee}function Y(j,W,N){if(j==null)return j;var ae=[],ce=0;return P(j,ae,"","",function(xe){return W.call(N,xe,ce++)}),ae}function oe(j){if(j._status===-1){var W=j._result;W=W(),W.then(function(N){(j._status===0||j._status===-1)&&(j._status=1,j._result=N)},function(N){(j._status===0||j._status===-1)&&(j._status=2,j._result=N)}),j._status===-1&&(j._status=0,j._result=W)}if(j._status===1)return j._result.default;throw j._result}var fe=typeof reportError=="function"?reportError:function(j){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var W=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof j=="object"&&j!==null&&typeof j.message=="string"?String(j.message):String(j),error:j});if(!window.dispatchEvent(W))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",j);return}console.error(j)},M={map:Y,forEach:function(j,W,N){Y(j,function(){W.apply(this,arguments)},N)},count:function(j){var W=0;return Y(j,function(){W++}),W},toArray:function(j){return Y(j,function(W){return W})||[]},only:function(j){if(!X(j))throw Error("React.Children.only expected to receive a single React element child.");return j}};return ve.Activity=p,ve.Children=M,ve.Component=F,ve.Fragment=a,ve.Profiler=s,ve.PureComponent=w,ve.StrictMode=i,ve.Suspense=d,ve.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=T,ve.__COMPILER_RUNTIME={__proto__:null,c:function(j){return T.H.useMemoCache(j)}},ve.cache=function(j){return function(){return j.apply(null,arguments)}},ve.cacheSignal=function(){return null},ve.cloneElement=function(j,W,N){if(j==null)throw Error("The argument must be a React element, but you passed "+j+".");var ae=b({},j.props),ce=j.key;if(W!=null)for(xe in W.key!==void 0&&(ce=""+W.key),W)!S.call(W,xe)||xe==="key"||xe==="__self"||xe==="__source"||xe==="ref"&&W.ref===void 0||(ae[xe]=W[xe]);var xe=arguments.length-2;if(xe===1)ae.children=N;else if(1<xe){for(var Ee=Array(xe),Pe=0;Pe<xe;Pe++)Ee[Pe]=arguments[Pe+2];ae.children=Ee}return q(j.type,ce,ae)},ve.createContext=function(j){return j={$$typeof:u,_currentValue:j,_currentValue2:j,_threadCount:0,Provider:null,Consumer:null},j.Provider=j,j.Consumer={$$typeof:x,_context:j},j},ve.createElement=function(j,W,N){var ae,ce={},xe=null;if(W!=null)for(ae in W.key!==void 0&&(xe=""+W.key),W)S.call(W,ae)&&ae!=="key"&&ae!=="__self"&&ae!=="__source"&&(ce[ae]=W[ae]);var Ee=arguments.length-2;if(Ee===1)ce.children=N;else if(1<Ee){for(var Pe=Array(Ee),Ce=0;Ce<Ee;Ce++)Pe[Ce]=arguments[Ce+2];ce.children=Pe}if(j&&j.defaultProps)for(ae in Ee=j.defaultProps,Ee)ce[ae]===void 0&&(ce[ae]=Ee[ae]);return q(j,xe,ce)},ve.createRef=function(){return{current:null}},ve.forwardRef=function(j){return{$$typeof:f,render:j}},ve.isValidElement=X,ve.lazy=function(j){return{$$typeof:E,_payload:{_status:-1,_result:j},_init:oe}},ve.memo=function(j,W){return{$$typeof:h,type:j,compare:W===void 0?null:W}},ve.startTransition=function(j){var W=T.T,N={};T.T=N;try{var ae=j(),ce=T.S;ce!==null&&ce(N,ae),typeof ae=="object"&&ae!==null&&typeof ae.then=="function"&&ae.then(k,fe)}catch(xe){fe(xe)}finally{W!==null&&N.types!==null&&(W.types=N.types),T.T=W}},ve.unstable_useCacheRefresh=function(){return T.H.useCacheRefresh()},ve.use=function(j){return T.H.use(j)},ve.useActionState=function(j,W,N){return T.H.useActionState(j,W,N)},ve.useCallback=function(j,W){return T.H.useCallback(j,W)},ve.useContext=function(j){return T.H.useContext(j)},ve.useDebugValue=function(){},ve.useDeferredValue=function(j,W){return T.H.useDeferredValue(j,W)},ve.useEffect=function(j,W){return T.H.useEffect(j,W)},ve.useEffectEvent=function(j){return T.H.useEffectEvent(j)},ve.useId=function(){return T.H.useId()},ve.useImperativeHandle=function(j,W,N){return T.H.useImperativeHandle(j,W,N)},ve.useInsertionEffect=function(j,W){return T.H.useInsertionEffect(j,W)},ve.useLayoutEffect=function(j,W){return T.H.useLayoutEffect(j,W)},ve.useMemo=function(j,W){return T.H.useMemo(j,W)},ve.useOptimistic=function(j,W){return T.H.useOptimistic(j,W)},ve.useReducer=function(j,W,N){return T.H.useReducer(j,W,N)},ve.useRef=function(j){return T.H.useRef(j)},ve.useState=function(j){return T.H.useState(j)},ve.useSyncExternalStore=function(j,W,N){return T.H.useSyncExternalStore(j,W,N)},ve.useTransition=function(){return T.H.useTransition()},ve.version="19.2.7",ve}var ih;function dc(){return ih||(ih=1,su.exports=m6()),su.exports}var z=dc();const ro=zo(z);var X8=z.createContext(void 0),I0=e=>{const r=z.useContext(X8);if(!r)throw new Error("No QueryClient set, use QueryClientProvider to set one");return r},E6=({client:e,children:r})=>(z.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),g.jsx(X8.Provider,{value:e,children:r})),K8=z.createContext(!1),C6=()=>z.useContext(K8);K8.Provider;function y6(){let e=!1;return{clearReset:()=>{e=!1},reset:()=>{e=!0},isReset:()=>e}}var g6=z.createContext(y6()),B6=()=>z.useContext(g6),A6=(e,r,a)=>{const i=a?.state.error&&typeof e.throwOnError=="function"?V8(e.throwOnError,[a.state.error,a]):e.throwOnError;(e.suspense||e.experimental_prefetchInRender||i)&&(r.isReset()||(e.retryOnMount=!1))},b6=e=>{z.useEffect(()=>{e.clearReset()},[e])},D6=({result:e,errorResetBoundary:r,throwOnError:a,query:i,suspense:s})=>e.isError&&!r.isReset()&&!e.isFetching&&i&&(s&&e.data===void 0||V8(a,[e.error,i])),v6=e=>{if(e.suspense){const a=s=>s==="static"?s:Math.max(s??1e3,1e3),i=e.staleTime;e.staleTime=typeof i=="function"?(...s)=>a(i(...s)):a(i),typeof e.gcTime=="number"&&(e.gcTime=Math.max(e.gcTime,1e3))}},k6=(e,r)=>e.isLoading&&e.isFetching&&!r,F6=(e,r)=>e?.suspense&&r.isPending,oh=(e,r,a)=>r.fetchOptimistic(e).catch(()=>{a.clearReset()});function w6(e,r,a){const i=C6(),s=B6(),x=I0(),u=x.defaultQueryOptions(e);x.getDefaultOptions().queries?._experimental_beforeQuery?.(u);const f=x.getQueryCache().get(u.queryHash),d=e.subscribed!==!1;u._optimisticResults=i?"isRestoring":d?"optimistic":void 0,v6(u),A6(u,s,f),b6(s);const h=!x.getQueryCache().get(u.queryHash),[E]=z.useState(()=>new r(x,u)),p=E.getOptimisticResult(u),y=!i&&d;if(z.useSyncExternalStore(z.useCallback(C=>{const A=y?E.subscribe(wt.batchCalls(C)):Xt;return E.updateResult(),A},[E,y]),()=>E.getCurrentResult(),()=>E.getCurrentResult()),z.useEffect(()=>{E.setOptions(u)},[u,E]),F6(u,p))throw oh(u,E,s);if(D6({result:p,errorResetBoundary:s,throwOnError:u.throwOnError,query:f,suspense:u.suspense}))throw p.error;return x.getDefaultOptions().queries?._experimental_afterQuery?.(u,p),u.experimental_prefetchInRender&&!vl.isServer()&&k6(p,i)&&(h?oh(u,E,s):f?.promise)?.catch(Xt).finally(()=>{E.updateResult()}),u.notifyOnChangeProps?p:E.trackResult(p)}function zn(e,r){return w6(e,s6)}var xu={exports:{}},xl={},uu={exports:{}},cu={};var sh;function S6(){return sh||(sh=1,(function(e){function r(P,Y){var oe=P.length;P.push(Y);e:for(;0<oe;){var fe=oe-1>>>1,M=P[fe];if(0<s(M,Y))P[fe]=Y,P[oe]=M,oe=fe;else break e}}function a(P){return P.length===0?null:P[0]}function i(P){if(P.length===0)return null;var Y=P[0],oe=P.pop();if(oe!==Y){P[0]=oe;e:for(var fe=0,M=P.length,j=M>>>1;fe<j;){var W=2*(fe+1)-1,N=P[W],ae=W+1,ce=P[ae];if(0>s(N,oe))ae<M&&0>s(ce,N)?(P[fe]=ce,P[ae]=oe,fe=ae):(P[fe]=N,P[W]=oe,fe=W);else if(ae<M&&0>s(ce,oe))P[fe]=ce,P[ae]=oe,fe=ae;else break e}}return Y}function s(P,Y){var oe=P.sortIndex-Y.sortIndex;return oe!==0?oe:P.id-Y.id}if(e.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var x=performance;e.unstable_now=function(){return x.now()}}else{var u=Date,f=u.now();e.unstable_now=function(){return u.now()-f}}var d=[],h=[],E=1,p=null,y=3,C=!1,A=!1,b=!1,D=!1,F=typeof setTimeout=="function"?setTimeout:null,O=typeof clearTimeout=="function"?clearTimeout:null,w=typeof setImmediate<"u"?setImmediate:null;function _(P){for(var Y=a(h);Y!==null;){if(Y.callback===null)i(h);else if(Y.startTime<=P)i(h),Y.sortIndex=Y.expirationTime,r(d,Y);else break;Y=a(h)}}function R(P){if(b=!1,_(P),!A)if(a(d)!==null)A=!0,k||(k=!0,K());else{var Y=a(h);Y!==null&&$(R,Y.startTime-P)}}var k=!1,T=-1,S=5,q=-1;function L(){return D?!0:!(e.unstable_now()-q<S)}function X(){if(D=!1,k){var P=e.unstable_now();q=P;var Y=!0;try{e:{A=!1,b&&(b=!1,O(T),T=-1),C=!0;var oe=y;try{t:{for(_(P),p=a(d);p!==null&&!(p.expirationTime>P&&L());){var fe=p.callback;if(typeof fe=="function"){p.callback=null,y=p.priorityLevel;var M=fe(p.expirationTime<=P);if(P=e.unstable_now(),typeof M=="function"){p.callback=M,_(P),Y=!0;break t}p===a(d)&&i(d),_(P)}else i(d);p=a(d)}if(p!==null)Y=!0;else{var j=a(h);j!==null&&$(R,j.startTime-P),Y=!1}}break e}finally{p=null,y=oe,C=!1}Y=void 0}}finally{Y?K():k=!1}}}var K;if(typeof w=="function")K=function(){w(X)};else if(typeof MessageChannel<"u"){var ie=new MessageChannel,Z=ie.port2;ie.port1.onmessage=X,K=function(){Z.postMessage(null)}}else K=function(){F(X,0)};function $(P,Y){T=F(function(){P(e.unstable_now())},Y)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(P){P.callback=null},e.unstable_forceFrameRate=function(P){0>P||125<P?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):S=0<P?Math.floor(1e3/P):5},e.unstable_getCurrentPriorityLevel=function(){return y},e.unstable_next=function(P){switch(y){case 1:case 2:case 3:var Y=3;break;default:Y=y}var oe=y;y=Y;try{return P()}finally{y=oe}},e.unstable_requestPaint=function(){D=!0},e.unstable_runWithPriority=function(P,Y){switch(P){case 1:case 2:case 3:case 4:case 5:break;default:P=3}var oe=y;y=P;try{return Y()}finally{y=oe}},e.unstable_scheduleCallback=function(P,Y,oe){var fe=e.unstable_now();switch(typeof oe=="object"&&oe!==null?(oe=oe.delay,oe=typeof oe=="number"&&0<oe?fe+oe:fe):oe=fe,P){case 1:var M=-1;break;case 2:M=250;break;case 5:M=1073741823;break;case 4:M=1e4;break;default:M=5e3}return M=oe+M,P={id:E++,callback:Y,priorityLevel:P,startTime:oe,expirationTime:M,sortIndex:-1},oe>fe?(P.sortIndex=oe,r(h,P),a(d)===null&&P===a(h)&&(b?(O(T),T=-1):b=!0,$(R,oe-fe))):(P.sortIndex=M,r(d,P),A||C||(A=!0,k||(k=!0,K()))),P},e.unstable_shouldYield=L,e.unstable_wrapCallback=function(P){var Y=y;return function(){var oe=y;y=Y;try{return P.apply(this,arguments)}finally{y=oe}}}})(cu)),cu}var xh;function M6(){return xh||(xh=1,uu.exports=S6()),uu.exports}var fu={exports:{}},Mt={};var uh;function N6(){if(uh)return Mt;uh=1;var e=dc();function r(d){var h="https://react.dev/errors/"+d;if(1<arguments.length){h+="?args[]="+encodeURIComponent(arguments[1]);for(var E=2;E<arguments.length;E++)h+="&args[]="+encodeURIComponent(arguments[E])}return"Minified React error #"+d+"; visit "+h+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function a(){}var i={d:{f:a,r:function(){throw Error(r(522))},D:a,C:a,L:a,m:a,X:a,S:a,M:a},p:0,findDOMNode:null},s=Symbol.for("react.portal");function x(d,h,E){var p=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:s,key:p==null?null:""+p,children:d,containerInfo:h,implementation:E}}var u=e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function f(d,h){if(d==="font")return"";if(typeof h=="string")return h==="use-credentials"?h:""}return Mt.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=i,Mt.createPortal=function(d,h){var E=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!h||h.nodeType!==1&&h.nodeType!==9&&h.nodeType!==11)throw Error(r(299));return x(d,h,null,E)},Mt.flushSync=function(d){var h=u.T,E=i.p;try{if(u.T=null,i.p=2,d)return d()}finally{u.T=h,i.p=E,i.d.f()}},Mt.preconnect=function(d,h){typeof d=="string"&&(h?(h=h.crossOrigin,h=typeof h=="string"?h==="use-credentials"?h:"":void 0):h=null,i.d.C(d,h))},Mt.prefetchDNS=function(d){typeof d=="string"&&i.d.D(d)},Mt.preinit=function(d,h){if(typeof d=="string"&&h&&typeof h.as=="string"){var E=h.as,p=f(E,h.crossOrigin),y=typeof h.integrity=="string"?h.integrity:void 0,C=typeof h.fetchPriority=="string"?h.fetchPriority:void 0;E==="style"?i.d.S(d,typeof h.precedence=="string"?h.precedence:void 0,{crossOrigin:p,integrity:y,fetchPriority:C}):E==="script"&&i.d.X(d,{crossOrigin:p,integrity:y,fetchPriority:C,nonce:typeof h.nonce=="string"?h.nonce:void 0})}},Mt.preinitModule=function(d,h){if(typeof d=="string")if(typeof h=="object"&&h!==null){if(h.as==null||h.as==="script"){var E=f(h.as,h.crossOrigin);i.d.M(d,{crossOrigin:E,integrity:typeof h.integrity=="string"?h.integrity:void 0,nonce:typeof h.nonce=="string"?h.nonce:void 0})}}else h==null&&i.d.M(d)},Mt.preload=function(d,h){if(typeof d=="string"&&typeof h=="object"&&h!==null&&typeof h.as=="string"){var E=h.as,p=f(E,h.crossOrigin);i.d.L(d,E,{crossOrigin:p,integrity:typeof h.integrity=="string"?h.integrity:void 0,nonce:typeof h.nonce=="string"?h.nonce:void 0,type:typeof h.type=="string"?h.type:void 0,fetchPriority:typeof h.fetchPriority=="string"?h.fetchPriority:void 0,referrerPolicy:typeof h.referrerPolicy=="string"?h.referrerPolicy:void 0,imageSrcSet:typeof h.imageSrcSet=="string"?h.imageSrcSet:void 0,imageSizes:typeof h.imageSizes=="string"?h.imageSizes:void 0,media:typeof h.media=="string"?h.media:void 0})}},Mt.preloadModule=function(d,h){if(typeof d=="string")if(h){var E=f(h.as,h.crossOrigin);i.d.m(d,{as:typeof h.as=="string"&&h.as!=="script"?h.as:void 0,crossOrigin:E,integrity:typeof h.integrity=="string"?h.integrity:void 0})}else i.d.m(d)},Mt.requestFormReset=function(d){i.d.r(d)},Mt.unstable_batchedUpdates=function(d,h){return d(h)},Mt.useFormState=function(d,h,E){return u.H.useFormState(d,h,E)},Mt.useFormStatus=function(){return u.H.useHostTransitionStatus()},Mt.version="19.2.7",Mt}var ch;function Z8(){if(ch)return fu.exports;ch=1;function e(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(r){console.error(r)}}return e(),fu.exports=N6(),fu.exports}var fh;function _6(){if(fh)return xl;fh=1;var e=M6(),r=dc(),a=Z8();function i(t){var n="https://react.dev/errors/"+t;if(1<arguments.length){n+="?args[]="+encodeURIComponent(arguments[1]);for(var l=2;l<arguments.length;l++)n+="&args[]="+encodeURIComponent(arguments[l])}return"Minified React error #"+t+"; visit "+n+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function s(t){return!(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11)}function x(t){var n=t,l=t;if(t.alternate)for(;n.return;)n=n.return;else{t=n;do n=t,(n.flags&4098)!==0&&(l=n.return),t=n.return;while(t)}return n.tag===3?l:null}function u(t){if(t.tag===13){var n=t.memoizedState;if(n===null&&(t=t.alternate,t!==null&&(n=t.memoizedState)),n!==null)return n.dehydrated}return null}function f(t){if(t.tag===31){var n=t.memoizedState;if(n===null&&(t=t.alternate,t!==null&&(n=t.memoizedState)),n!==null)return n.dehydrated}return null}function d(t){if(x(t)!==t)throw Error(i(188))}function h(t){var n=t.alternate;if(!n){if(n=x(t),n===null)throw Error(i(188));return n!==t?null:t}for(var l=t,o=n;;){var c=l.return;if(c===null)break;var m=c.alternate;if(m===null){if(o=c.return,o!==null){l=o;continue}break}if(c.child===m.child){for(m=c.child;m;){if(m===l)return d(c),t;if(m===o)return d(c),n;m=m.sibling}throw Error(i(188))}if(l.return!==o.return)l=c,o=m;else{for(var B=!1,v=c.child;v;){if(v===l){B=!0,l=c,o=m;break}if(v===o){B=!0,o=c,l=m;break}v=v.sibling}if(!B){for(v=m.child;v;){if(v===l){B=!0,l=m,o=c;break}if(v===o){B=!0,o=m,l=c;break}v=v.sibling}if(!B)throw Error(i(189))}}if(l.alternate!==o)throw Error(i(190))}if(l.tag!==3)throw Error(i(188));return l.stateNode.current===l?t:n}function E(t){var n=t.tag;if(n===5||n===26||n===27||n===6)return t;for(t=t.child;t!==null;){if(n=E(t),n!==null)return n;t=t.sibling}return null}var p=Object.assign,y=Symbol.for("react.element"),C=Symbol.for("react.transitional.element"),A=Symbol.for("react.portal"),b=Symbol.for("react.fragment"),D=Symbol.for("react.strict_mode"),F=Symbol.for("react.profiler"),O=Symbol.for("react.consumer"),w=Symbol.for("react.context"),_=Symbol.for("react.forward_ref"),R=Symbol.for("react.suspense"),k=Symbol.for("react.suspense_list"),T=Symbol.for("react.memo"),S=Symbol.for("react.lazy"),q=Symbol.for("react.activity"),L=Symbol.for("react.memo_cache_sentinel"),X=Symbol.iterator;function K(t){return t===null||typeof t!="object"?null:(t=X&&t[X]||t["@@iterator"],typeof t=="function"?t:null)}var ie=Symbol.for("react.client.reference");function Z(t){if(t==null)return null;if(typeof t=="function")return t.$$typeof===ie?null:t.displayName||t.name||null;if(typeof t=="string")return t;switch(t){case b:return"Fragment";case F:return"Profiler";case D:return"StrictMode";case R:return"Suspense";case k:return"SuspenseList";case q:return"Activity"}if(typeof t=="object")switch(t.$$typeof){case A:return"Portal";case w:return t.displayName||"Context";case O:return(t._context.displayName||"Context")+".Consumer";case _:var n=t.render;return t=t.displayName,t||(t=n.displayName||n.name||"",t=t!==""?"ForwardRef("+t+")":"ForwardRef"),t;case T:return n=t.displayName||null,n!==null?n:Z(t.type)||"Memo";case S:n=t._payload,t=t._init;try{return Z(t(n))}catch{}}return null}var $=Array.isArray,P=r.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Y=a.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,oe={pending:!1,data:null,method:null,action:null},fe=[],M=-1;function j(t){return{current:t}}function W(t){0>M||(t.current=fe[M],fe[M]=null,M--)}function N(t,n){M++,fe[M]=t.current,t.current=n}var ae=j(null),ce=j(null),xe=j(null),Ee=j(null);function Pe(t,n){switch(N(xe,n),N(ce,t),N(ae,null),n.nodeType){case 9:case 11:t=(t=n.documentElement)&&(t=t.namespaceURI)?E9(t):0;break;default:if(t=n.tagName,n=n.namespaceURI)n=E9(n),t=C9(n,t);else switch(t){case"svg":t=1;break;case"math":t=2;break;default:t=0}}W(ae),N(ae,t)}function Ce(){W(ae),W(ce),W(xe)}function Bt(t){t.memoizedState!==null&&N(Ee,t);var n=ae.current,l=C9(n,t.type);n!==l&&(N(ce,t),N(ae,l))}function ot(t){ce.current===t&&(W(ae),W(ce)),Ee.current===t&&(W(Ee),al._currentValue=oe)}var fn,Zt;function ut(t){if(fn===void 0)try{throw Error()}catch(l){var n=l.stack.trim().match(/\n( *(at )?)/);fn=n&&n[1]||"",Zt=-1<l.stack.indexOf(`
1
+ (function(){const r=document.createElement("link").relList;if(r&&r.supports&&r.supports("modulepreload"))return;for(const s of document.querySelectorAll('link[rel="modulepreload"]'))i(s);new MutationObserver(s=>{for(const x of s)if(x.type==="childList")for(const u of x.addedNodes)u.tagName==="LINK"&&u.rel==="modulepreload"&&i(u)}).observe(document,{childList:!0,subtree:!0});function a(s){const x={};return s.integrity&&(x.integrity=s.integrity),s.referrerPolicy&&(x.referrerPolicy=s.referrerPolicy),s.crossOrigin==="use-credentials"?x.credentials="include":s.crossOrigin==="anonymous"?x.credentials="omit":x.credentials="same-origin",x}function i(s){if(s.ep)return;s.ep=!0;const x=a(s);fetch(s.href,x)}})();function zo(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var ou={exports:{}},sl={};var Y9;function qE(){if(Y9)return sl;Y9=1;var e=Symbol.for("react.transitional.element"),r=Symbol.for("react.fragment");function a(i,s,x){var u=null;if(x!==void 0&&(u=""+x),s.key!==void 0&&(u=""+s.key),"key"in s){x={};for(var f in s)f!=="key"&&(x[f]=s[f])}else x=s;return s=x.ref,{$$typeof:e,type:i,key:u,ref:s!==void 0?s:null,props:x}}return sl.Fragment=r,sl.jsx=a,sl.jsxs=a,sl}var X9;function IE(){return X9||(X9=1,ou.exports=qE()),ou.exports}var g=IE(),Tl=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(e){return this.listeners.add(e),this.onSubscribe(),()=>{this.listeners.delete(e),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},VE=class extends Tl{#e;#t;#n;constructor(){super(),this.#n=e=>{if(typeof window<"u"&&window.addEventListener){const r=()=>e();return window.addEventListener("visibilitychange",r,!1),()=>{window.removeEventListener("visibilitychange",r)}}}}onSubscribe(){this.#t||this.setEventListener(this.#n)}onUnsubscribe(){this.hasListeners()||(this.#t?.(),this.#t=void 0)}setEventListener(e){this.#n=e,this.#t?.(),this.#t=e(r=>{typeof r=="boolean"?this.setFocused(r):this.onFocus()})}setFocused(e){this.#e!==e&&(this.#e=e,this.onFocus())}onFocus(){const e=this.isFocused();this.listeners.forEach(r=>{r(e)})}isFocused(){return typeof this.#e=="boolean"?this.#e:globalThis.document?.visibilityState!=="hidden"}},xc=new VE,$E={setTimeout:(e,r)=>setTimeout(e,r),clearTimeout:e=>clearTimeout(e),setInterval:(e,r)=>setInterval(e,r),clearInterval:e=>clearInterval(e)},GE=class{#e=$E;#t=!1;setTimeoutProvider(e){this.#e=e}setTimeout(e,r){return this.#e.setTimeout(e,r)}clearTimeout(e){this.#e.clearTimeout(e)}setInterval(e,r){return this.#e.setInterval(e,r)}clearInterval(e){this.#e.clearInterval(e)}},dr=new GE;function QE(e){setTimeout(e,0)}var YE=typeof window>"u"||"Deno"in globalThis;function Xt(){}function XE(e,r){return typeof e=="function"?e(r):e}function Pu(e){return typeof e=="number"&&e>=0&&e!==1/0}function H8(e,r){return Math.max(e+(r||0)-Date.now(),0)}function q0(e,r){return typeof e=="function"?e(r):e}function xn(e,r){return typeof e=="function"?e(r):e}function K9(e,r){const{type:a="all",exact:i,fetchStatus:s,predicate:x,queryKey:u,stale:f}=e;if(u){if(i){if(r.queryHash!==uc(u,r.options))return!1}else if(!Dl(r.queryKey,u))return!1}if(a!=="all"){const d=r.isActive();if(a==="active"&&!d||a==="inactive"&&d)return!1}return!(typeof f=="boolean"&&r.isStale()!==f||s&&s!==r.state.fetchStatus||x&&!x(r))}function Z9(e,r){const{exact:a,status:i,predicate:s,mutationKey:x}=e;if(x){if(!r.options.mutationKey)return!1;if(a){if(bl(r.options.mutationKey)!==bl(x))return!1}else if(!Dl(r.options.mutationKey,x))return!1}return!(i&&r.state.status!==i||s&&!s(r))}function uc(e,r){return(r?.queryKeyHashFn||bl)(e)}function bl(e){return JSON.stringify(e,(r,a)=>Hu(a)?Object.keys(a).sort().reduce((i,s)=>(i[s]=a[s],i),{}):a)}function Dl(e,r){return e===r?!0:typeof e!=typeof r?!1:e&&r&&typeof e=="object"&&typeof r=="object"?Object.keys(r).every(a=>Dl(e[a],r[a])):!1}var KE=Object.prototype.hasOwnProperty;function q8(e,r,a=0){if(e===r)return e;if(a>500)return r;const i=J9(e)&&J9(r);if(!i&&!(Hu(e)&&Hu(r)))return r;const x=(i?e:Object.keys(e)).length,u=i?r:Object.keys(r),f=u.length,d=i?new Array(f):{};let h=0;for(let E=0;E<f;E++){const p=i?E:u[E],y=e[p],C=r[p];if(y===C){d[p]=y,(i?E<x:KE.call(e,p))&&h++;continue}if(y===null||C===null||typeof y!="object"||typeof C!="object"){d[p]=C;continue}const A=q8(y,C,a+1);d[p]=A,A===y&&h++}return x===f&&h===x?e:d}function Uu(e,r){if(!r||Object.keys(e).length!==Object.keys(r).length)return!1;for(const a in e)if(e[a]!==r[a])return!1;return!0}function J9(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function Hu(e){if(!W9(e))return!1;const r=e.constructor;if(r===void 0)return!0;const a=r.prototype;return!(!W9(a)||!a.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(e)!==Object.prototype)}function W9(e){return Object.prototype.toString.call(e)==="[object Object]"}function ZE(e){return new Promise(r=>{dr.setTimeout(r,e)})}function qu(e,r,a){return typeof a.structuralSharing=="function"?a.structuralSharing(e,r):a.structuralSharing!==!1?q8(e,r):r}function JE(e){return e}function WE(e,r,a=0){const i=[...e,r];return a&&i.length>a?i.slice(1):i}function e6(e,r,a=0){const i=[r,...e];return a&&i.length>a?i.slice(0,-1):i}var cc=Symbol();function I8(e,r){return!e.queryFn&&r?.initialPromise?()=>r.initialPromise:!e.queryFn||e.queryFn===cc?()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}function V8(e,r){return typeof e=="function"?e(...r):!!e}function t6(e,r,a){let i=!1,s;return Object.defineProperty(e,"signal",{enumerable:!0,get:()=>(s??=r(),i||(i=!0,s.aborted?a():s.addEventListener("abort",a,{once:!0})),s)}),e}var vl=(()=>{let e=()=>YE;return{isServer(){return e()},setIsServer(r){e=r}}})();function Iu(){let e,r;const a=new Promise((s,x)=>{e=s,r=x});a.status="pending",a.catch(()=>{});function i(s){Object.assign(a,s),delete a.resolve,delete a.reject}return a.resolve=s=>{i({status:"fulfilled",value:s}),e(s)},a.reject=s=>{i({status:"rejected",reason:s}),r(s)},a}var n6=QE;function r6(){let e=[],r=0,a=f=>{f()},i=f=>{f()},s=n6;const x=f=>{r?e.push(f):s(()=>{a(f)})},u=()=>{const f=e;e=[],f.length&&s(()=>{i(()=>{f.forEach(d=>{a(d)})})})};return{batch:f=>{let d;r++;try{d=f()}finally{r--,r||u()}return d},batchCalls:f=>(...d)=>{x(()=>{f(...d)})},schedule:x,setNotifyFunction:f=>{a=f},setBatchNotifyFunction:f=>{i=f},setScheduler:f=>{s=f}}}var wt=r6(),a6=class extends Tl{#e=!0;#t;#n;constructor(){super(),this.#n=e=>{if(typeof window<"u"&&window.addEventListener){const r=()=>e(!0),a=()=>e(!1);return window.addEventListener("online",r,!1),window.addEventListener("offline",a,!1),()=>{window.removeEventListener("online",r),window.removeEventListener("offline",a)}}}}onSubscribe(){this.#t||this.setEventListener(this.#n)}onUnsubscribe(){this.hasListeners()||(this.#t?.(),this.#t=void 0)}setEventListener(e){this.#n=e,this.#t?.(),this.#t=e(this.setOnline.bind(this))}setOnline(e){this.#e!==e&&(this.#e=e,this.listeners.forEach(a=>{a(e)}))}isOnline(){return this.#e}},Bo=new a6;function l6(e){return Math.min(1e3*2**e,3e4)}function $8(e){return(e??"online")==="online"?Bo.isOnline():!0}var Vu=class extends Error{constructor(e){super("CancelledError"),this.revert=e?.revert,this.silent=e?.silent}};function G8(e){let r=!1,a=0,i;const s=Iu(),x=()=>s.status!=="pending",u=b=>{if(!x()){const D=new Vu(b);y(D),e.onCancel?.(D)}},f=()=>{r=!0},d=()=>{r=!1},h=()=>xc.isFocused()&&(e.networkMode==="always"||Bo.isOnline())&&e.canRun(),E=()=>$8(e.networkMode)&&e.canRun(),p=b=>{x()||(i?.(),s.resolve(b))},y=b=>{x()||(i?.(),s.reject(b))},C=()=>new Promise(b=>{i=D=>{(x()||h())&&b(D)},e.onPause?.()}).then(()=>{i=void 0,x()||e.onContinue?.()}),A=()=>{if(x())return;let b;const D=a===0?e.initialPromise:void 0;try{b=D??e.fn()}catch(F){b=Promise.reject(F)}Promise.resolve(b).then(p).catch(F=>{if(x())return;const O=e.retry??(vl.isServer()?0:3),w=e.retryDelay??l6,_=typeof w=="function"?w(a,F):w,R=O===!0||typeof O=="number"&&a<O||typeof O=="function"&&O(a,F);if(r||!R){y(F);return}a++,e.onFail?.(a,F),ZE(_).then(()=>h()?void 0:C()).then(()=>{r?y(F):A()})})};return{promise:s,status:()=>s.status,cancel:u,continue:()=>(i?.(),s),cancelRetry:f,continueRetry:d,canStart:E,start:()=>(E()?A():C().then(A),s)}}var Q8=class{#e;destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),Pu(this.gcTime)&&(this.#e=dr.setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(vl.isServer()?1/0:300*1e3))}clearGcTimeout(){this.#e!==void 0&&(dr.clearTimeout(this.#e),this.#e=void 0)}};function i6(e){return{onFetch:(r,a)=>{const i=r.options,s=r.fetchOptions?.meta?.fetchMore?.direction,x=r.state.data?.pages||[],u=r.state.data?.pageParams||[];let f={pages:[],pageParams:[]},d=0;const h=async()=>{let E=!1;const p=A=>{t6(A,()=>r.signal,()=>E=!0)},y=I8(r.options,r.fetchOptions),C=async(A,b,D)=>{if(E)return Promise.reject(r.signal.reason);if(b==null&&A.pages.length)return Promise.resolve(A);const O=(()=>{const k={client:r.client,queryKey:r.queryKey,pageParam:b,direction:D?"backward":"forward",meta:r.options.meta};return p(k),k})(),w=await y(O),{maxPages:_}=r.options,R=D?e6:WE;return{pages:R(A.pages,w,_),pageParams:R(A.pageParams,b,_)}};if(s&&x.length){const A=s==="backward",b=A?o6:eh,D={pages:x,pageParams:u},F=b(i,D);f=await C(D,F,A)}else{const A=e??x.length;do{const b=d===0?u[0]??i.initialPageParam:eh(i,f);if(d>0&&b==null)break;f=await C(f,b),d++}while(d<A)}return f};r.options.persister?r.fetchFn=()=>r.options.persister?.(h,{client:r.client,queryKey:r.queryKey,meta:r.options.meta,signal:r.signal},a):r.fetchFn=h}}}function eh(e,{pages:r,pageParams:a}){const i=r.length-1;return r.length>0?e.getNextPageParam(r[i],r,a[i],a):void 0}function o6(e,{pages:r,pageParams:a}){return r.length>0?e.getPreviousPageParam?.(r[0],r,a[0],a):void 0}var s6=class extends Q8{#e;#t;#n;#r;#l;#a;#o;#i;constructor(e){super(),this.#i=!1,this.#o=e.defaultOptions,this.setOptions(e.options),this.observers=[],this.#l=e.client,this.#r=this.#l.getQueryCache(),this.queryKey=e.queryKey,this.queryHash=e.queryHash,this.#t=nh(this.options),this.state=e.state??this.#t,this.scheduleGc()}get meta(){return this.options.meta}get queryType(){return this.#e}get promise(){return this.#a?.promise}setOptions(e){if(this.options={...this.#o,...e},e?._type&&(this.#e=e._type),this.updateGcTime(this.options.gcTime),this.state&&this.state.data===void 0){const r=nh(this.options);r.data!==void 0&&(this.setState(th(r.data,r.dataUpdatedAt)),this.#t=r)}}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&this.#r.remove(this)}setData(e,r){const a=qu(this.state.data,e,this.options);return this.#s({data:a,type:"success",dataUpdatedAt:r?.updatedAt,manual:r?.manual}),a}setState(e){this.#s({type:"setState",state:e})}cancel(e){const r=this.#a?.promise;return this.#a?.cancel(e),r?r.then(Xt).catch(Xt):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}get resetState(){return this.#t}reset(){this.destroy(),this.setState(this.resetState)}isActive(){return this.observers.some(e=>xn(e.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===cc||!this.isFetched()}isFetched(){return this.state.dataUpdateCount+this.state.errorUpdateCount>0}isStatic(){return this.getObserversCount()>0?this.observers.some(e=>q0(e.options.staleTime,this)==="static"):!1}isStale(){return this.getObserversCount()>0?this.observers.some(e=>e.getCurrentResult().isStale):this.state.data===void 0||this.state.isInvalidated}isStaleByTime(e=0){return this.state.data===void 0?!0:e==="static"?!1:this.state.isInvalidated?!0:!H8(this.state.dataUpdatedAt,e)}onFocus(){this.observers.find(r=>r.shouldFetchOnWindowFocus())?.refetch({cancelRefetch:!1}),this.#a?.continue()}onOnline(){this.observers.find(r=>r.shouldFetchOnReconnect())?.refetch({cancelRefetch:!1}),this.#a?.continue()}addObserver(e){this.observers.includes(e)||(this.observers.push(e),this.clearGcTimeout(),this.#r.notify({type:"observerAdded",query:this,observer:e}))}removeObserver(e){this.observers.includes(e)&&(this.observers=this.observers.filter(r=>r!==e),this.observers.length||(this.#a&&(this.#i||this.#u()?this.#a.cancel({revert:!0}):this.#a.cancelRetry()),this.scheduleGc()),this.#r.notify({type:"observerRemoved",query:this,observer:e}))}getObserversCount(){return this.observers.length}#u(){return this.state.fetchStatus==="paused"&&this.state.status==="pending"}invalidate(){this.state.isInvalidated||this.#s({type:"invalidate"})}async fetch(e,r){if(this.state.fetchStatus!=="idle"&&this.#a?.status()!=="rejected"){if(this.state.data!==void 0&&r?.cancelRefetch)this.cancel({silent:!0});else if(this.#a)return this.#a.continueRetry(),this.#a.promise}if(e&&this.setOptions(e),!this.options.queryFn){const d=this.observers.find(h=>h.options.queryFn);d&&this.setOptions(d.options)}const a=new AbortController,i=d=>{Object.defineProperty(d,"signal",{enumerable:!0,get:()=>(this.#i=!0,a.signal)})},s=()=>{const d=I8(this.options,r),E=(()=>{const p={client:this.#l,queryKey:this.queryKey,meta:this.meta};return i(p),p})();return this.#i=!1,this.options.persister?this.options.persister(d,E,this):d(E)},u=(()=>{const d={fetchOptions:r,options:this.options,queryKey:this.queryKey,client:this.#l,state:this.state,fetchFn:s};return i(d),d})();(this.#e==="infinite"?i6(this.options.pages):this.options.behavior)?.onFetch(u,this),this.#n=this.state,(this.state.fetchStatus==="idle"||this.state.fetchMeta!==u.fetchOptions?.meta)&&this.#s({type:"fetch",meta:u.fetchOptions?.meta}),this.#a=G8({initialPromise:r?.initialPromise,fn:u.fetchFn,onCancel:d=>{d instanceof Vu&&d.revert&&this.setState({...this.#n,fetchStatus:"idle"}),a.abort()},onFail:(d,h)=>{this.#s({type:"failed",failureCount:d,error:h})},onPause:()=>{this.#s({type:"pause"})},onContinue:()=>{this.#s({type:"continue"})},retry:u.options.retry,retryDelay:u.options.retryDelay,networkMode:u.options.networkMode,canRun:()=>!0});try{const d=await this.#a.start();if(d===void 0)throw new Error(`${this.queryHash} data is undefined`);return this.setData(d),this.#r.config.onSuccess?.(d,this),this.#r.config.onSettled?.(d,this.state.error,this),d}catch(d){if(d instanceof Vu){if(d.silent)return this.#a.promise;if(d.revert){if(this.state.data===void 0)throw d;return this.state.data}}throw this.#s({type:"error",error:d}),this.#r.config.onError?.(d,this),this.#r.config.onSettled?.(this.state.data,d,this),d}finally{this.scheduleGc()}}#s(e){const r=a=>{switch(e.type){case"failed":return{...a,fetchFailureCount:e.failureCount,fetchFailureReason:e.error};case"pause":return{...a,fetchStatus:"paused"};case"continue":return{...a,fetchStatus:"fetching"};case"fetch":return{...a,...Y8(a.data,this.options),fetchMeta:e.meta??null};case"success":const i={...a,...th(e.data,e.dataUpdatedAt),dataUpdateCount:a.dataUpdateCount+1,...!e.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};return this.#n=e.manual?i:void 0,i;case"error":const s=e.error;return{...a,error:s,errorUpdateCount:a.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:a.fetchFailureCount+1,fetchFailureReason:s,fetchStatus:"idle",status:"error",isInvalidated:!0};case"invalidate":return{...a,isInvalidated:!0};case"setState":return{...a,...e.state}}};this.state=r(this.state),wt.batch(()=>{this.observers.forEach(a=>{a.onQueryUpdate()}),this.#r.notify({query:this,type:"updated",action:e})})}};function Y8(e,r){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:$8(r.networkMode)?"fetching":"paused",...e===void 0&&{error:null,status:"pending"}}}function th(e,r){return{data:e,dataUpdatedAt:r??Date.now(),error:null,isInvalidated:!1,status:"success"}}function nh(e){const r=typeof e.initialData=="function"?e.initialData():e.initialData,a=r!==void 0,i=a?typeof e.initialDataUpdatedAt=="function"?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:r,dataUpdateCount:0,dataUpdatedAt:a?i??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:a?"success":"pending",fetchStatus:"idle"}}var x6=class extends Tl{constructor(e,r){super(),this.options=r,this.#e=e,this.#i=null,this.#o=Iu(),this.bindMethods(),this.setOptions(r)}#e;#t=void 0;#n=void 0;#r=void 0;#l;#a;#o;#i;#u;#s;#h;#c;#f;#x;#p=new Set;bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){this.listeners.size===1&&(this.#t.addObserver(this),rh(this.#t,this.options)?this.#d():this.updateResult(),this.#y())}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return $u(this.#t,this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return $u(this.#t,this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,this.#g(),this.#B(),this.#t.removeObserver(this)}setOptions(e){const r=this.options,a=this.#t;if(this.options=this.#e.defaultQueryOptions(e),this.options.enabled!==void 0&&typeof this.options.enabled!="boolean"&&typeof this.options.enabled!="function"&&typeof xn(this.options.enabled,this.#t)!="boolean")throw new Error("Expected enabled to be a boolean or a callback that returns a boolean");this.#A(),this.#t.setOptions(this.options),r._defaulted&&!Uu(this.options,r)&&this.#e.getQueryCache().notify({type:"observerOptionsUpdated",query:this.#t,observer:this});const i=this.hasListeners();i&&ah(this.#t,a,this.options,r)&&this.#d(),this.updateResult(),i&&(this.#t!==a||xn(this.options.enabled,this.#t)!==xn(r.enabled,this.#t)||q0(this.options.staleTime,this.#t)!==q0(r.staleTime,this.#t))&&this.#m();const s=this.#E();i&&(this.#t!==a||xn(this.options.enabled,this.#t)!==xn(r.enabled,this.#t)||s!==this.#x)&&this.#C(s)}getOptimisticResult(e){const r=this.#e.getQueryCache().build(this.#e,e),a=this.createResult(r,e);return c6(this,a)&&(this.#r=a,this.#a=this.options,this.#l=this.#t.state),a}getCurrentResult(){return this.#r}trackResult(e,r){return new Proxy(e,{get:(a,i)=>(this.trackProp(i),r?.(i),i==="promise"&&(this.trackProp("data"),!this.options.experimental_prefetchInRender&&this.#o.status==="pending"&&this.#o.reject(new Error("experimental_prefetchInRender feature flag is not enabled"))),Reflect.get(a,i))})}trackProp(e){this.#p.add(e)}getCurrentQuery(){return this.#t}refetch({...e}={}){return this.fetch({...e})}fetchOptimistic(e){const r=this.#e.defaultQueryOptions(e),a=this.#e.getQueryCache().build(this.#e,r);return a.fetch().then(()=>this.createResult(a,r))}fetch(e){return this.#d({...e,cancelRefetch:e.cancelRefetch??!0}).then(()=>(this.updateResult(),this.#r))}#d(e){this.#A();let r=this.#t.fetch(this.options,e);return e?.throwOnError||(r=r.catch(Xt)),r}#m(){this.#g();const e=q0(this.options.staleTime,this.#t);if(vl.isServer()||this.#r.isStale||!Pu(e))return;const a=H8(this.#r.dataUpdatedAt,e)+1;this.#c=dr.setTimeout(()=>{this.#r.isStale||this.updateResult()},a)}#E(){return(typeof this.options.refetchInterval=="function"?this.options.refetchInterval(this.#t):this.options.refetchInterval)??!1}#C(e){this.#B(),this.#x=e,!(vl.isServer()||xn(this.options.enabled,this.#t)===!1||!Pu(this.#x)||this.#x===0)&&(this.#f=dr.setInterval(()=>{(this.options.refetchIntervalInBackground||xc.isFocused())&&this.#d()},this.#x))}#y(){this.#m(),this.#C(this.#E())}#g(){this.#c!==void 0&&(dr.clearTimeout(this.#c),this.#c=void 0)}#B(){this.#f!==void 0&&(dr.clearInterval(this.#f),this.#f=void 0)}createResult(e,r){const a=this.#t,i=this.options,s=this.#r,x=this.#l,u=this.#a,d=e!==a?e.state:this.#n,{state:h}=e;let E={...h},p=!1,y;if(r._optimisticResults){const S=this.hasListeners(),q=!S&&rh(e,r),L=S&&ah(e,a,r,i);(q||L)&&(E={...E,...Y8(h.data,e.options)}),r._optimisticResults==="isRestoring"&&(E.fetchStatus="idle")}let{error:C,errorUpdatedAt:A,status:b}=E;y=E.data;let D=!1;if(r.placeholderData!==void 0&&y===void 0&&b==="pending"){let S;s?.isPlaceholderData&&r.placeholderData===u?.placeholderData?(S=s.data,D=!0):S=typeof r.placeholderData=="function"?r.placeholderData(this.#h?.state.data,this.#h):r.placeholderData,S!==void 0&&(b="success",y=qu(s?.data,S,r),p=!0)}if(r.select&&y!==void 0&&!D)if(s&&y===x?.data&&r.select===this.#u)y=this.#s;else try{this.#u=r.select,y=r.select(y),y=qu(s?.data,y,r),this.#s=y,this.#i=null}catch(S){this.#i=S}this.#i&&(C=this.#i,y=this.#s,A=Date.now(),b="error");const F=E.fetchStatus==="fetching",O=b==="pending",w=b==="error",_=O&&F,R=y!==void 0,T={status:b,fetchStatus:E.fetchStatus,isPending:O,isSuccess:b==="success",isError:w,isInitialLoading:_,isLoading:_,data:y,dataUpdatedAt:E.dataUpdatedAt,error:C,errorUpdatedAt:A,failureCount:E.fetchFailureCount,failureReason:E.fetchFailureReason,errorUpdateCount:E.errorUpdateCount,isFetched:e.isFetched(),isFetchedAfterMount:E.dataUpdateCount>d.dataUpdateCount||E.errorUpdateCount>d.errorUpdateCount,isFetching:F,isRefetching:F&&!O,isLoadingError:w&&!R,isPaused:E.fetchStatus==="paused",isPlaceholderData:p,isRefetchError:w&&R,isStale:fc(e,r),refetch:this.refetch,promise:this.#o,isEnabled:xn(r.enabled,e)!==!1};if(this.options.experimental_prefetchInRender){const S=T.data!==void 0,q=T.status==="error"&&!S,L=ie=>{q?ie.reject(T.error):S&&ie.resolve(T.data)},X=()=>{const ie=this.#o=T.promise=Iu();L(ie)},K=this.#o;switch(K.status){case"pending":e.queryHash===a.queryHash&&L(K);break;case"fulfilled":(q||T.data!==K.value)&&X();break;case"rejected":(!q||T.error!==K.reason)&&X();break}}return T}updateResult(){const e=this.#r,r=this.createResult(this.#t,this.options);if(this.#l=this.#t.state,this.#a=this.options,this.#l.data!==void 0&&(this.#h=this.#t),Uu(r,e))return;this.#r=r;const a=()=>{if(!e)return!0;const{notifyOnChangeProps:i}=this.options,s=typeof i=="function"?i():i;if(s==="all"||!s&&!this.#p.size)return!0;const x=new Set(s??this.#p);return this.options.throwOnError&&x.add("error"),Object.keys(this.#r).some(u=>{const f=u;return this.#r[f]!==e[f]&&x.has(f)})};this.#b({listeners:a()})}#A(){const e=this.#e.getQueryCache().build(this.#e,this.options);if(e===this.#t)return;const r=this.#t;this.#t=e,this.#n=e.state,this.hasListeners()&&(r?.removeObserver(this),e.addObserver(this))}onQueryUpdate(){this.updateResult(),this.hasListeners()&&this.#y()}#b(e){wt.batch(()=>{e.listeners&&this.listeners.forEach(r=>{r(this.#r)}),this.#e.getQueryCache().notify({query:this.#t,type:"observerResultsUpdated"})})}};function u6(e,r){return xn(r.enabled,e)!==!1&&e.state.data===void 0&&!(e.state.status==="error"&&xn(r.retryOnMount,e)===!1)}function rh(e,r){return u6(e,r)||e.state.data!==void 0&&$u(e,r,r.refetchOnMount)}function $u(e,r,a){if(xn(r.enabled,e)!==!1&&q0(r.staleTime,e)!=="static"){const i=typeof a=="function"?a(e):a;return i==="always"||i!==!1&&fc(e,r)}return!1}function ah(e,r,a,i){return(e!==r||xn(i.enabled,e)===!1)&&(!a.suspense||e.state.status!=="error")&&fc(e,a)}function fc(e,r){return xn(r.enabled,e)!==!1&&e.isStaleByTime(q0(r.staleTime,e))}function c6(e,r){return!Uu(e.getCurrentResult(),r)}var f6=class extends Q8{#e;#t;#n;#r;constructor(e){super(),this.#e=e.client,this.mutationId=e.mutationId,this.#n=e.mutationCache,this.#t=[],this.state=e.state||d6(),this.setOptions(e.options),this.scheduleGc()}setOptions(e){this.options=e,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(e){this.#t.includes(e)||(this.#t.push(e),this.clearGcTimeout(),this.#n.notify({type:"observerAdded",mutation:this,observer:e}))}removeObserver(e){this.#t=this.#t.filter(r=>r!==e),this.scheduleGc(),this.#n.notify({type:"observerRemoved",mutation:this,observer:e})}optionalRemove(){this.#t.length||(this.state.status==="pending"?this.scheduleGc():this.#n.remove(this))}continue(){return this.#r?.continue()??this.execute(this.state.variables)}async execute(e){const r=()=>{this.#l({type:"continue"})},a={client:this.#e,meta:this.options.meta,mutationKey:this.options.mutationKey};this.#r=G8({fn:()=>this.options.mutationFn?this.options.mutationFn(e,a):Promise.reject(new Error("No mutationFn found")),onFail:(x,u)=>{this.#l({type:"failed",failureCount:x,error:u})},onPause:()=>{this.#l({type:"pause"})},onContinue:r,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>this.#n.canRun(this)});const i=this.state.status==="pending",s=!this.#r.canStart();try{if(i)r();else{this.#l({type:"pending",variables:e,isPaused:s}),this.#n.config.onMutate&&await this.#n.config.onMutate(e,this,a);const u=await this.options.onMutate?.(e,a);u!==this.state.context&&this.#l({type:"pending",context:u,variables:e,isPaused:s})}const x=await this.#r.start();return await this.#n.config.onSuccess?.(x,e,this.state.context,this,a),await this.options.onSuccess?.(x,e,this.state.context,a),await this.#n.config.onSettled?.(x,null,this.state.variables,this.state.context,this,a),await this.options.onSettled?.(x,null,e,this.state.context,a),this.#l({type:"success",data:x}),x}catch(x){try{await this.#n.config.onError?.(x,e,this.state.context,this,a)}catch(u){Promise.reject(u)}try{await this.options.onError?.(x,e,this.state.context,a)}catch(u){Promise.reject(u)}try{await this.#n.config.onSettled?.(void 0,x,this.state.variables,this.state.context,this,a)}catch(u){Promise.reject(u)}try{await this.options.onSettled?.(void 0,x,e,this.state.context,a)}catch(u){Promise.reject(u)}throw this.#l({type:"error",error:x}),x}finally{this.#n.runNext(this)}}#l(e){const r=a=>{switch(e.type){case"failed":return{...a,failureCount:e.failureCount,failureReason:e.error};case"pause":return{...a,isPaused:!0};case"continue":return{...a,isPaused:!1};case"pending":return{...a,context:e.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:e.isPaused,status:"pending",variables:e.variables,submittedAt:Date.now()};case"success":return{...a,data:e.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...a,data:void 0,error:e.error,failureCount:a.failureCount+1,failureReason:e.error,isPaused:!1,status:"error"}}};this.state=r(this.state),wt.batch(()=>{this.#t.forEach(a=>{a.onMutationUpdate(e)}),this.#n.notify({mutation:this,type:"updated",action:e})})}};function d6(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var h6=class extends Tl{constructor(e={}){super(),this.config=e,this.#e=new Set,this.#t=new Map,this.#n=0}#e;#t;#n;build(e,r,a){const i=new f6({client:e,mutationCache:this,mutationId:++this.#n,options:e.defaultMutationOptions(r),state:a});return this.add(i),i}add(e){this.#e.add(e);const r=no(e);if(typeof r=="string"){const a=this.#t.get(r);a?a.push(e):this.#t.set(r,[e])}this.notify({type:"added",mutation:e})}remove(e){if(this.#e.delete(e)){const r=no(e);if(typeof r=="string"){const a=this.#t.get(r);if(a)if(a.length>1){const i=a.indexOf(e);i!==-1&&a.splice(i,1)}else a[0]===e&&this.#t.delete(r)}}this.notify({type:"removed",mutation:e})}canRun(e){const r=no(e);if(typeof r=="string"){const i=this.#t.get(r)?.find(s=>s.state.status==="pending");return!i||i===e}else return!0}runNext(e){const r=no(e);return typeof r=="string"?this.#t.get(r)?.find(i=>i!==e&&i.state.isPaused)?.continue()??Promise.resolve():Promise.resolve()}clear(){wt.batch(()=>{this.#e.forEach(e=>{this.notify({type:"removed",mutation:e})}),this.#e.clear(),this.#t.clear()})}getAll(){return Array.from(this.#e)}find(e){const r={exact:!0,...e};return this.getAll().find(a=>Z9(r,a))}findAll(e={}){return this.getAll().filter(r=>Z9(e,r))}notify(e){wt.batch(()=>{this.listeners.forEach(r=>{r(e)})})}resumePausedMutations(){const e=this.getAll().filter(r=>r.state.isPaused);return wt.batch(()=>Promise.all(e.map(r=>r.continue().catch(Xt))))}};function no(e){return e.options.scope?.id}var p6=class extends Tl{constructor(e={}){super(),this.config=e,this.#e=new Map}#e;build(e,r,a){const i=r.queryKey,s=r.queryHash??uc(i,r);let x=this.get(s);return x||(x=new s6({client:e,queryKey:i,queryHash:s,options:e.defaultQueryOptions(r),state:a,defaultOptions:e.getQueryDefaults(i)}),this.add(x)),x}add(e){this.#e.has(e.queryHash)||(this.#e.set(e.queryHash,e),this.notify({type:"added",query:e}))}remove(e){const r=this.#e.get(e.queryHash);r&&(e.destroy(),r===e&&this.#e.delete(e.queryHash),this.notify({type:"removed",query:e}))}clear(){wt.batch(()=>{this.getAll().forEach(e=>{this.remove(e)})})}get(e){return this.#e.get(e)}getAll(){return[...this.#e.values()]}find(e){const r={exact:!0,...e};return this.getAll().find(a=>K9(r,a))}findAll(e={}){const r=this.getAll();return Object.keys(e).length>0?r.filter(a=>K9(e,a)):r}notify(e){wt.batch(()=>{this.listeners.forEach(r=>{r(e)})})}onFocus(){wt.batch(()=>{this.getAll().forEach(e=>{e.onFocus()})})}onOnline(){wt.batch(()=>{this.getAll().forEach(e=>{e.onOnline()})})}},m6=class{#e;#t;#n;#r;#l;#a;#o;#i;constructor(e={}){this.#e=e.queryCache||new p6,this.#t=e.mutationCache||new h6,this.#n=e.defaultOptions||{},this.#r=new Map,this.#l=new Map,this.#a=0}mount(){this.#a++,this.#a===1&&(this.#o=xc.subscribe(async e=>{e&&(await this.resumePausedMutations(),this.#e.onFocus())}),this.#i=Bo.subscribe(async e=>{e&&(await this.resumePausedMutations(),this.#e.onOnline())}))}unmount(){this.#a--,this.#a===0&&(this.#o?.(),this.#o=void 0,this.#i?.(),this.#i=void 0)}isFetching(e){return this.#e.findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return this.#t.findAll({...e,status:"pending"}).length}getQueryData(e){const r=this.defaultQueryOptions({queryKey:e});return this.#e.get(r.queryHash)?.state.data}ensureQueryData(e){const r=this.defaultQueryOptions(e),a=this.#e.build(this,r),i=a.state.data;return i===void 0?this.fetchQuery(e):(e.revalidateIfStale&&a.isStaleByTime(q0(r.staleTime,a))&&this.prefetchQuery(r),Promise.resolve(i))}getQueriesData(e){return this.#e.findAll(e).map(({queryKey:r,state:a})=>{const i=a.data;return[r,i]})}setQueryData(e,r,a){const i=this.defaultQueryOptions({queryKey:e}),x=this.#e.get(i.queryHash)?.state.data,u=XE(r,x);if(u!==void 0)return this.#e.build(this,i).setData(u,{...a,manual:!0})}setQueriesData(e,r,a){return wt.batch(()=>this.#e.findAll(e).map(({queryKey:i})=>[i,this.setQueryData(i,r,a)]))}getQueryState(e){const r=this.defaultQueryOptions({queryKey:e});return this.#e.get(r.queryHash)?.state}removeQueries(e){const r=this.#e;wt.batch(()=>{r.findAll(e).forEach(a=>{r.remove(a)})})}resetQueries(e,r){const a=this.#e;return wt.batch(()=>(a.findAll(e).forEach(i=>{i.reset()}),this.refetchQueries({type:"active",...e},r)))}cancelQueries(e,r={}){const a={revert:!0,...r},i=wt.batch(()=>this.#e.findAll(e).map(s=>s.cancel(a)));return Promise.all(i).then(Xt).catch(Xt)}invalidateQueries(e,r={}){return wt.batch(()=>(this.#e.findAll(e).forEach(a=>{a.invalidate()}),e?.refetchType==="none"?Promise.resolve():this.refetchQueries({...e,type:e?.refetchType??e?.type??"active"},r)))}refetchQueries(e,r={}){const a={...r,cancelRefetch:r.cancelRefetch??!0},i=wt.batch(()=>this.#e.findAll(e).filter(s=>!s.isDisabled()&&!s.isStatic()).map(s=>{let x=s.fetch(void 0,a);return a.throwOnError||(x=x.catch(Xt)),s.state.fetchStatus==="paused"?Promise.resolve():x}));return Promise.all(i).then(Xt)}fetchQuery(e){const r=this.defaultQueryOptions(e);r.retry===void 0&&(r.retry=!1);const a=this.#e.build(this,r);return a.isStaleByTime(q0(r.staleTime,a))?a.fetch(r):Promise.resolve(a.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(Xt).catch(Xt)}fetchInfiniteQuery(e){return e._type="infinite",this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(Xt).catch(Xt)}ensureInfiniteQueryData(e){return e._type="infinite",this.ensureQueryData(e)}resumePausedMutations(){return Bo.isOnline()?this.#t.resumePausedMutations():Promise.resolve()}getQueryCache(){return this.#e}getMutationCache(){return this.#t}getDefaultOptions(){return this.#n}setDefaultOptions(e){this.#n=e}setQueryDefaults(e,r){this.#r.set(bl(e),{queryKey:e,defaultOptions:r})}getQueryDefaults(e){const r=[...this.#r.values()],a={};return r.forEach(i=>{Dl(e,i.queryKey)&&Object.assign(a,i.defaultOptions)}),a}setMutationDefaults(e,r){this.#l.set(bl(e),{mutationKey:e,defaultOptions:r})}getMutationDefaults(e){const r=[...this.#l.values()],a={};return r.forEach(i=>{Dl(e,i.mutationKey)&&Object.assign(a,i.defaultOptions)}),a}defaultQueryOptions(e){if(e._defaulted)return e;const r={...this.#n.queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return r.queryHash||(r.queryHash=uc(r.queryKey,r)),r.refetchOnReconnect===void 0&&(r.refetchOnReconnect=r.networkMode!=="always"),r.throwOnError===void 0&&(r.throwOnError=!!r.suspense),!r.networkMode&&r.persister&&(r.networkMode="offlineFirst"),r.queryFn===cc&&(r.enabled=!1),r}defaultMutationOptions(e){return e?._defaulted?e:{...this.#n.mutations,...e?.mutationKey&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){this.#e.clear(),this.#t.clear()}},su={exports:{}},ve={};var lh;function E6(){if(lh)return ve;lh=1;var e=Symbol.for("react.transitional.element"),r=Symbol.for("react.portal"),a=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),x=Symbol.for("react.consumer"),u=Symbol.for("react.context"),f=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),h=Symbol.for("react.memo"),E=Symbol.for("react.lazy"),p=Symbol.for("react.activity"),y=Symbol.iterator;function C(j){return j===null||typeof j!="object"?null:(j=y&&j[y]||j["@@iterator"],typeof j=="function"?j:null)}var A={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},b=Object.assign,D={};function F(j,W,N){this.props=j,this.context=W,this.refs=D,this.updater=N||A}F.prototype.isReactComponent={},F.prototype.setState=function(j,W){if(typeof j!="object"&&typeof j!="function"&&j!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,j,W,"setState")},F.prototype.forceUpdate=function(j){this.updater.enqueueForceUpdate(this,j,"forceUpdate")};function O(){}O.prototype=F.prototype;function w(j,W,N){this.props=j,this.context=W,this.refs=D,this.updater=N||A}var _=w.prototype=new O;_.constructor=w,b(_,F.prototype),_.isPureReactComponent=!0;var R=Array.isArray;function k(){}var T={H:null,A:null,T:null,S:null},S=Object.prototype.hasOwnProperty;function q(j,W,N){var ae=N.ref;return{$$typeof:e,type:j,key:W,ref:ae!==void 0?ae:null,props:N}}function L(j,W){return q(j.type,W,j.props)}function X(j){return typeof j=="object"&&j!==null&&j.$$typeof===e}function K(j){var W={"=":"=0",":":"=2"};return"$"+j.replace(/[=:]/g,function(N){return W[N]})}var ie=/\/+/g;function Z(j,W){return typeof j=="object"&&j!==null&&j.key!=null?K(""+j.key):W.toString(36)}function $(j){switch(j.status){case"fulfilled":return j.value;case"rejected":throw j.reason;default:switch(typeof j.status=="string"?j.then(k,k):(j.status="pending",j.then(function(W){j.status==="pending"&&(j.status="fulfilled",j.value=W)},function(W){j.status==="pending"&&(j.status="rejected",j.reason=W)})),j.status){case"fulfilled":return j.value;case"rejected":throw j.reason}}throw j}function P(j,W,N,ae,ce){var xe=typeof j;(xe==="undefined"||xe==="boolean")&&(j=null);var Ee=!1;if(j===null)Ee=!0;else switch(xe){case"bigint":case"string":case"number":Ee=!0;break;case"object":switch(j.$$typeof){case e:case r:Ee=!0;break;case E:return Ee=j._init,P(Ee(j._payload),W,N,ae,ce)}}if(Ee)return ce=ce(j),Ee=ae===""?"."+Z(j,0):ae,R(ce)?(N="",Ee!=null&&(N=Ee.replace(ie,"$&/")+"/"),P(ce,W,N,"",function(Bt){return Bt})):ce!=null&&(X(ce)&&(ce=L(ce,N+(ce.key==null||j&&j.key===ce.key?"":(""+ce.key).replace(ie,"$&/")+"/")+Ee)),W.push(ce)),1;Ee=0;var Pe=ae===""?".":ae+":";if(R(j))for(var Ce=0;Ce<j.length;Ce++)ae=j[Ce],xe=Pe+Z(ae,Ce),Ee+=P(ae,W,N,xe,ce);else if(Ce=C(j),typeof Ce=="function")for(j=Ce.call(j),Ce=0;!(ae=j.next()).done;)ae=ae.value,xe=Pe+Z(ae,Ce++),Ee+=P(ae,W,N,xe,ce);else if(xe==="object"){if(typeof j.then=="function")return P($(j),W,N,ae,ce);throw W=String(j),Error("Objects are not valid as a React child (found: "+(W==="[object Object]"?"object with keys {"+Object.keys(j).join(", ")+"}":W)+"). If you meant to render a collection of children, use an array instead.")}return Ee}function Y(j,W,N){if(j==null)return j;var ae=[],ce=0;return P(j,ae,"","",function(xe){return W.call(N,xe,ce++)}),ae}function oe(j){if(j._status===-1){var W=j._result;W=W(),W.then(function(N){(j._status===0||j._status===-1)&&(j._status=1,j._result=N)},function(N){(j._status===0||j._status===-1)&&(j._status=2,j._result=N)}),j._status===-1&&(j._status=0,j._result=W)}if(j._status===1)return j._result.default;throw j._result}var fe=typeof reportError=="function"?reportError:function(j){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var W=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof j=="object"&&j!==null&&typeof j.message=="string"?String(j.message):String(j),error:j});if(!window.dispatchEvent(W))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",j);return}console.error(j)},M={map:Y,forEach:function(j,W,N){Y(j,function(){W.apply(this,arguments)},N)},count:function(j){var W=0;return Y(j,function(){W++}),W},toArray:function(j){return Y(j,function(W){return W})||[]},only:function(j){if(!X(j))throw Error("React.Children.only expected to receive a single React element child.");return j}};return ve.Activity=p,ve.Children=M,ve.Component=F,ve.Fragment=a,ve.Profiler=s,ve.PureComponent=w,ve.StrictMode=i,ve.Suspense=d,ve.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=T,ve.__COMPILER_RUNTIME={__proto__:null,c:function(j){return T.H.useMemoCache(j)}},ve.cache=function(j){return function(){return j.apply(null,arguments)}},ve.cacheSignal=function(){return null},ve.cloneElement=function(j,W,N){if(j==null)throw Error("The argument must be a React element, but you passed "+j+".");var ae=b({},j.props),ce=j.key;if(W!=null)for(xe in W.key!==void 0&&(ce=""+W.key),W)!S.call(W,xe)||xe==="key"||xe==="__self"||xe==="__source"||xe==="ref"&&W.ref===void 0||(ae[xe]=W[xe]);var xe=arguments.length-2;if(xe===1)ae.children=N;else if(1<xe){for(var Ee=Array(xe),Pe=0;Pe<xe;Pe++)Ee[Pe]=arguments[Pe+2];ae.children=Ee}return q(j.type,ce,ae)},ve.createContext=function(j){return j={$$typeof:u,_currentValue:j,_currentValue2:j,_threadCount:0,Provider:null,Consumer:null},j.Provider=j,j.Consumer={$$typeof:x,_context:j},j},ve.createElement=function(j,W,N){var ae,ce={},xe=null;if(W!=null)for(ae in W.key!==void 0&&(xe=""+W.key),W)S.call(W,ae)&&ae!=="key"&&ae!=="__self"&&ae!=="__source"&&(ce[ae]=W[ae]);var Ee=arguments.length-2;if(Ee===1)ce.children=N;else if(1<Ee){for(var Pe=Array(Ee),Ce=0;Ce<Ee;Ce++)Pe[Ce]=arguments[Ce+2];ce.children=Pe}if(j&&j.defaultProps)for(ae in Ee=j.defaultProps,Ee)ce[ae]===void 0&&(ce[ae]=Ee[ae]);return q(j,xe,ce)},ve.createRef=function(){return{current:null}},ve.forwardRef=function(j){return{$$typeof:f,render:j}},ve.isValidElement=X,ve.lazy=function(j){return{$$typeof:E,_payload:{_status:-1,_result:j},_init:oe}},ve.memo=function(j,W){return{$$typeof:h,type:j,compare:W===void 0?null:W}},ve.startTransition=function(j){var W=T.T,N={};T.T=N;try{var ae=j(),ce=T.S;ce!==null&&ce(N,ae),typeof ae=="object"&&ae!==null&&typeof ae.then=="function"&&ae.then(k,fe)}catch(xe){fe(xe)}finally{W!==null&&N.types!==null&&(W.types=N.types),T.T=W}},ve.unstable_useCacheRefresh=function(){return T.H.useCacheRefresh()},ve.use=function(j){return T.H.use(j)},ve.useActionState=function(j,W,N){return T.H.useActionState(j,W,N)},ve.useCallback=function(j,W){return T.H.useCallback(j,W)},ve.useContext=function(j){return T.H.useContext(j)},ve.useDebugValue=function(){},ve.useDeferredValue=function(j,W){return T.H.useDeferredValue(j,W)},ve.useEffect=function(j,W){return T.H.useEffect(j,W)},ve.useEffectEvent=function(j){return T.H.useEffectEvent(j)},ve.useId=function(){return T.H.useId()},ve.useImperativeHandle=function(j,W,N){return T.H.useImperativeHandle(j,W,N)},ve.useInsertionEffect=function(j,W){return T.H.useInsertionEffect(j,W)},ve.useLayoutEffect=function(j,W){return T.H.useLayoutEffect(j,W)},ve.useMemo=function(j,W){return T.H.useMemo(j,W)},ve.useOptimistic=function(j,W){return T.H.useOptimistic(j,W)},ve.useReducer=function(j,W,N){return T.H.useReducer(j,W,N)},ve.useRef=function(j){return T.H.useRef(j)},ve.useState=function(j){return T.H.useState(j)},ve.useSyncExternalStore=function(j,W,N){return T.H.useSyncExternalStore(j,W,N)},ve.useTransition=function(){return T.H.useTransition()},ve.version="19.2.7",ve}var ih;function dc(){return ih||(ih=1,su.exports=E6()),su.exports}var z=dc();const ro=zo(z);var X8=z.createContext(void 0),I0=e=>{const r=z.useContext(X8);if(!r)throw new Error("No QueryClient set, use QueryClientProvider to set one");return r},C6=({client:e,children:r})=>(z.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),g.jsx(X8.Provider,{value:e,children:r})),K8=z.createContext(!1),y6=()=>z.useContext(K8);K8.Provider;function g6(){let e=!1;return{clearReset:()=>{e=!1},reset:()=>{e=!0},isReset:()=>e}}var B6=z.createContext(g6()),A6=()=>z.useContext(B6),b6=(e,r,a)=>{const i=a?.state.error&&typeof e.throwOnError=="function"?V8(e.throwOnError,[a.state.error,a]):e.throwOnError;(e.suspense||e.experimental_prefetchInRender||i)&&(r.isReset()||(e.retryOnMount=!1))},D6=e=>{z.useEffect(()=>{e.clearReset()},[e])},v6=({result:e,errorResetBoundary:r,throwOnError:a,query:i,suspense:s})=>e.isError&&!r.isReset()&&!e.isFetching&&i&&(s&&e.data===void 0||V8(a,[e.error,i])),k6=e=>{if(e.suspense){const a=s=>s==="static"?s:Math.max(s??1e3,1e3),i=e.staleTime;e.staleTime=typeof i=="function"?(...s)=>a(i(...s)):a(i),typeof e.gcTime=="number"&&(e.gcTime=Math.max(e.gcTime,1e3))}},F6=(e,r)=>e.isLoading&&e.isFetching&&!r,w6=(e,r)=>e?.suspense&&r.isPending,oh=(e,r,a)=>r.fetchOptimistic(e).catch(()=>{a.clearReset()});function S6(e,r,a){const i=y6(),s=A6(),x=I0(),u=x.defaultQueryOptions(e);x.getDefaultOptions().queries?._experimental_beforeQuery?.(u);const f=x.getQueryCache().get(u.queryHash),d=e.subscribed!==!1;u._optimisticResults=i?"isRestoring":d?"optimistic":void 0,k6(u),b6(u,s,f),D6(s);const h=!x.getQueryCache().get(u.queryHash),[E]=z.useState(()=>new r(x,u)),p=E.getOptimisticResult(u),y=!i&&d;if(z.useSyncExternalStore(z.useCallback(C=>{const A=y?E.subscribe(wt.batchCalls(C)):Xt;return E.updateResult(),A},[E,y]),()=>E.getCurrentResult(),()=>E.getCurrentResult()),z.useEffect(()=>{E.setOptions(u)},[u,E]),w6(u,p))throw oh(u,E,s);if(v6({result:p,errorResetBoundary:s,throwOnError:u.throwOnError,query:f,suspense:u.suspense}))throw p.error;return x.getDefaultOptions().queries?._experimental_afterQuery?.(u,p),u.experimental_prefetchInRender&&!vl.isServer()&&F6(p,i)&&(h?oh(u,E,s):f?.promise)?.catch(Xt).finally(()=>{E.updateResult()}),u.notifyOnChangeProps?p:E.trackResult(p)}function zn(e,r){return S6(e,x6)}var xu={exports:{}},xl={},uu={exports:{}},cu={};var sh;function M6(){return sh||(sh=1,(function(e){function r(P,Y){var oe=P.length;P.push(Y);e:for(;0<oe;){var fe=oe-1>>>1,M=P[fe];if(0<s(M,Y))P[fe]=Y,P[oe]=M,oe=fe;else break e}}function a(P){return P.length===0?null:P[0]}function i(P){if(P.length===0)return null;var Y=P[0],oe=P.pop();if(oe!==Y){P[0]=oe;e:for(var fe=0,M=P.length,j=M>>>1;fe<j;){var W=2*(fe+1)-1,N=P[W],ae=W+1,ce=P[ae];if(0>s(N,oe))ae<M&&0>s(ce,N)?(P[fe]=ce,P[ae]=oe,fe=ae):(P[fe]=N,P[W]=oe,fe=W);else if(ae<M&&0>s(ce,oe))P[fe]=ce,P[ae]=oe,fe=ae;else break e}}return Y}function s(P,Y){var oe=P.sortIndex-Y.sortIndex;return oe!==0?oe:P.id-Y.id}if(e.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var x=performance;e.unstable_now=function(){return x.now()}}else{var u=Date,f=u.now();e.unstable_now=function(){return u.now()-f}}var d=[],h=[],E=1,p=null,y=3,C=!1,A=!1,b=!1,D=!1,F=typeof setTimeout=="function"?setTimeout:null,O=typeof clearTimeout=="function"?clearTimeout:null,w=typeof setImmediate<"u"?setImmediate:null;function _(P){for(var Y=a(h);Y!==null;){if(Y.callback===null)i(h);else if(Y.startTime<=P)i(h),Y.sortIndex=Y.expirationTime,r(d,Y);else break;Y=a(h)}}function R(P){if(b=!1,_(P),!A)if(a(d)!==null)A=!0,k||(k=!0,K());else{var Y=a(h);Y!==null&&$(R,Y.startTime-P)}}var k=!1,T=-1,S=5,q=-1;function L(){return D?!0:!(e.unstable_now()-q<S)}function X(){if(D=!1,k){var P=e.unstable_now();q=P;var Y=!0;try{e:{A=!1,b&&(b=!1,O(T),T=-1),C=!0;var oe=y;try{t:{for(_(P),p=a(d);p!==null&&!(p.expirationTime>P&&L());){var fe=p.callback;if(typeof fe=="function"){p.callback=null,y=p.priorityLevel;var M=fe(p.expirationTime<=P);if(P=e.unstable_now(),typeof M=="function"){p.callback=M,_(P),Y=!0;break t}p===a(d)&&i(d),_(P)}else i(d);p=a(d)}if(p!==null)Y=!0;else{var j=a(h);j!==null&&$(R,j.startTime-P),Y=!1}}break e}finally{p=null,y=oe,C=!1}Y=void 0}}finally{Y?K():k=!1}}}var K;if(typeof w=="function")K=function(){w(X)};else if(typeof MessageChannel<"u"){var ie=new MessageChannel,Z=ie.port2;ie.port1.onmessage=X,K=function(){Z.postMessage(null)}}else K=function(){F(X,0)};function $(P,Y){T=F(function(){P(e.unstable_now())},Y)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(P){P.callback=null},e.unstable_forceFrameRate=function(P){0>P||125<P?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):S=0<P?Math.floor(1e3/P):5},e.unstable_getCurrentPriorityLevel=function(){return y},e.unstable_next=function(P){switch(y){case 1:case 2:case 3:var Y=3;break;default:Y=y}var oe=y;y=Y;try{return P()}finally{y=oe}},e.unstable_requestPaint=function(){D=!0},e.unstable_runWithPriority=function(P,Y){switch(P){case 1:case 2:case 3:case 4:case 5:break;default:P=3}var oe=y;y=P;try{return Y()}finally{y=oe}},e.unstable_scheduleCallback=function(P,Y,oe){var fe=e.unstable_now();switch(typeof oe=="object"&&oe!==null?(oe=oe.delay,oe=typeof oe=="number"&&0<oe?fe+oe:fe):oe=fe,P){case 1:var M=-1;break;case 2:M=250;break;case 5:M=1073741823;break;case 4:M=1e4;break;default:M=5e3}return M=oe+M,P={id:E++,callback:Y,priorityLevel:P,startTime:oe,expirationTime:M,sortIndex:-1},oe>fe?(P.sortIndex=oe,r(h,P),a(d)===null&&P===a(h)&&(b?(O(T),T=-1):b=!0,$(R,oe-fe))):(P.sortIndex=M,r(d,P),A||C||(A=!0,k||(k=!0,K()))),P},e.unstable_shouldYield=L,e.unstable_wrapCallback=function(P){var Y=y;return function(){var oe=y;y=Y;try{return P.apply(this,arguments)}finally{y=oe}}}})(cu)),cu}var xh;function N6(){return xh||(xh=1,uu.exports=M6()),uu.exports}var fu={exports:{}},Mt={};var uh;function _6(){if(uh)return Mt;uh=1;var e=dc();function r(d){var h="https://react.dev/errors/"+d;if(1<arguments.length){h+="?args[]="+encodeURIComponent(arguments[1]);for(var E=2;E<arguments.length;E++)h+="&args[]="+encodeURIComponent(arguments[E])}return"Minified React error #"+d+"; visit "+h+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function a(){}var i={d:{f:a,r:function(){throw Error(r(522))},D:a,C:a,L:a,m:a,X:a,S:a,M:a},p:0,findDOMNode:null},s=Symbol.for("react.portal");function x(d,h,E){var p=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:s,key:p==null?null:""+p,children:d,containerInfo:h,implementation:E}}var u=e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function f(d,h){if(d==="font")return"";if(typeof h=="string")return h==="use-credentials"?h:""}return Mt.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=i,Mt.createPortal=function(d,h){var E=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!h||h.nodeType!==1&&h.nodeType!==9&&h.nodeType!==11)throw Error(r(299));return x(d,h,null,E)},Mt.flushSync=function(d){var h=u.T,E=i.p;try{if(u.T=null,i.p=2,d)return d()}finally{u.T=h,i.p=E,i.d.f()}},Mt.preconnect=function(d,h){typeof d=="string"&&(h?(h=h.crossOrigin,h=typeof h=="string"?h==="use-credentials"?h:"":void 0):h=null,i.d.C(d,h))},Mt.prefetchDNS=function(d){typeof d=="string"&&i.d.D(d)},Mt.preinit=function(d,h){if(typeof d=="string"&&h&&typeof h.as=="string"){var E=h.as,p=f(E,h.crossOrigin),y=typeof h.integrity=="string"?h.integrity:void 0,C=typeof h.fetchPriority=="string"?h.fetchPriority:void 0;E==="style"?i.d.S(d,typeof h.precedence=="string"?h.precedence:void 0,{crossOrigin:p,integrity:y,fetchPriority:C}):E==="script"&&i.d.X(d,{crossOrigin:p,integrity:y,fetchPriority:C,nonce:typeof h.nonce=="string"?h.nonce:void 0})}},Mt.preinitModule=function(d,h){if(typeof d=="string")if(typeof h=="object"&&h!==null){if(h.as==null||h.as==="script"){var E=f(h.as,h.crossOrigin);i.d.M(d,{crossOrigin:E,integrity:typeof h.integrity=="string"?h.integrity:void 0,nonce:typeof h.nonce=="string"?h.nonce:void 0})}}else h==null&&i.d.M(d)},Mt.preload=function(d,h){if(typeof d=="string"&&typeof h=="object"&&h!==null&&typeof h.as=="string"){var E=h.as,p=f(E,h.crossOrigin);i.d.L(d,E,{crossOrigin:p,integrity:typeof h.integrity=="string"?h.integrity:void 0,nonce:typeof h.nonce=="string"?h.nonce:void 0,type:typeof h.type=="string"?h.type:void 0,fetchPriority:typeof h.fetchPriority=="string"?h.fetchPriority:void 0,referrerPolicy:typeof h.referrerPolicy=="string"?h.referrerPolicy:void 0,imageSrcSet:typeof h.imageSrcSet=="string"?h.imageSrcSet:void 0,imageSizes:typeof h.imageSizes=="string"?h.imageSizes:void 0,media:typeof h.media=="string"?h.media:void 0})}},Mt.preloadModule=function(d,h){if(typeof d=="string")if(h){var E=f(h.as,h.crossOrigin);i.d.m(d,{as:typeof h.as=="string"&&h.as!=="script"?h.as:void 0,crossOrigin:E,integrity:typeof h.integrity=="string"?h.integrity:void 0})}else i.d.m(d)},Mt.requestFormReset=function(d){i.d.r(d)},Mt.unstable_batchedUpdates=function(d,h){return d(h)},Mt.useFormState=function(d,h,E){return u.H.useFormState(d,h,E)},Mt.useFormStatus=function(){return u.H.useHostTransitionStatus()},Mt.version="19.2.7",Mt}var ch;function Z8(){if(ch)return fu.exports;ch=1;function e(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(r){console.error(r)}}return e(),fu.exports=_6(),fu.exports}var fh;function T6(){if(fh)return xl;fh=1;var e=N6(),r=dc(),a=Z8();function i(t){var n="https://react.dev/errors/"+t;if(1<arguments.length){n+="?args[]="+encodeURIComponent(arguments[1]);for(var l=2;l<arguments.length;l++)n+="&args[]="+encodeURIComponent(arguments[l])}return"Minified React error #"+t+"; visit "+n+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function s(t){return!(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11)}function x(t){var n=t,l=t;if(t.alternate)for(;n.return;)n=n.return;else{t=n;do n=t,(n.flags&4098)!==0&&(l=n.return),t=n.return;while(t)}return n.tag===3?l:null}function u(t){if(t.tag===13){var n=t.memoizedState;if(n===null&&(t=t.alternate,t!==null&&(n=t.memoizedState)),n!==null)return n.dehydrated}return null}function f(t){if(t.tag===31){var n=t.memoizedState;if(n===null&&(t=t.alternate,t!==null&&(n=t.memoizedState)),n!==null)return n.dehydrated}return null}function d(t){if(x(t)!==t)throw Error(i(188))}function h(t){var n=t.alternate;if(!n){if(n=x(t),n===null)throw Error(i(188));return n!==t?null:t}for(var l=t,o=n;;){var c=l.return;if(c===null)break;var m=c.alternate;if(m===null){if(o=c.return,o!==null){l=o;continue}break}if(c.child===m.child){for(m=c.child;m;){if(m===l)return d(c),t;if(m===o)return d(c),n;m=m.sibling}throw Error(i(188))}if(l.return!==o.return)l=c,o=m;else{for(var B=!1,v=c.child;v;){if(v===l){B=!0,l=c,o=m;break}if(v===o){B=!0,o=c,l=m;break}v=v.sibling}if(!B){for(v=m.child;v;){if(v===l){B=!0,l=m,o=c;break}if(v===o){B=!0,o=m,l=c;break}v=v.sibling}if(!B)throw Error(i(189))}}if(l.alternate!==o)throw Error(i(190))}if(l.tag!==3)throw Error(i(188));return l.stateNode.current===l?t:n}function E(t){var n=t.tag;if(n===5||n===26||n===27||n===6)return t;for(t=t.child;t!==null;){if(n=E(t),n!==null)return n;t=t.sibling}return null}var p=Object.assign,y=Symbol.for("react.element"),C=Symbol.for("react.transitional.element"),A=Symbol.for("react.portal"),b=Symbol.for("react.fragment"),D=Symbol.for("react.strict_mode"),F=Symbol.for("react.profiler"),O=Symbol.for("react.consumer"),w=Symbol.for("react.context"),_=Symbol.for("react.forward_ref"),R=Symbol.for("react.suspense"),k=Symbol.for("react.suspense_list"),T=Symbol.for("react.memo"),S=Symbol.for("react.lazy"),q=Symbol.for("react.activity"),L=Symbol.for("react.memo_cache_sentinel"),X=Symbol.iterator;function K(t){return t===null||typeof t!="object"?null:(t=X&&t[X]||t["@@iterator"],typeof t=="function"?t:null)}var ie=Symbol.for("react.client.reference");function Z(t){if(t==null)return null;if(typeof t=="function")return t.$$typeof===ie?null:t.displayName||t.name||null;if(typeof t=="string")return t;switch(t){case b:return"Fragment";case F:return"Profiler";case D:return"StrictMode";case R:return"Suspense";case k:return"SuspenseList";case q:return"Activity"}if(typeof t=="object")switch(t.$$typeof){case A:return"Portal";case w:return t.displayName||"Context";case O:return(t._context.displayName||"Context")+".Consumer";case _:var n=t.render;return t=t.displayName,t||(t=n.displayName||n.name||"",t=t!==""?"ForwardRef("+t+")":"ForwardRef"),t;case T:return n=t.displayName||null,n!==null?n:Z(t.type)||"Memo";case S:n=t._payload,t=t._init;try{return Z(t(n))}catch{}}return null}var $=Array.isArray,P=r.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Y=a.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,oe={pending:!1,data:null,method:null,action:null},fe=[],M=-1;function j(t){return{current:t}}function W(t){0>M||(t.current=fe[M],fe[M]=null,M--)}function N(t,n){M++,fe[M]=t.current,t.current=n}var ae=j(null),ce=j(null),xe=j(null),Ee=j(null);function Pe(t,n){switch(N(xe,n),N(ce,t),N(ae,null),n.nodeType){case 9:case 11:t=(t=n.documentElement)&&(t=t.namespaceURI)?E9(t):0;break;default:if(t=n.tagName,n=n.namespaceURI)n=E9(n),t=C9(n,t);else switch(t){case"svg":t=1;break;case"math":t=2;break;default:t=0}}W(ae),N(ae,t)}function Ce(){W(ae),W(ce),W(xe)}function Bt(t){t.memoizedState!==null&&N(Ee,t);var n=ae.current,l=C9(n,t.type);n!==l&&(N(ce,t),N(ae,l))}function ot(t){ce.current===t&&(W(ae),W(ce)),Ee.current===t&&(W(Ee),al._currentValue=oe)}var fn,Zt;function ut(t){if(fn===void 0)try{throw Error()}catch(l){var n=l.stack.trim().match(/\n( *(at )?)/);fn=n&&n[1]||"",Zt=-1<l.stack.indexOf(`
2
2
  at`)?" (<anonymous>)":-1<l.stack.indexOf("@")?"@unknown:0:0":""}return`
3
3
  `+fn+t+Zt}var Pt=!1;function dn(t,n){if(!t||Pt)return"";Pt=!0;var l=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var o={DetermineComponentFrameRoot:function(){try{if(n){var le=function(){throw Error()};if(Object.defineProperty(le.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(le,[])}catch(ee){var J=ee}Reflect.construct(t,[],le)}else{try{le.call()}catch(ee){J=ee}t.call(le.prototype)}}else{try{throw Error()}catch(ee){J=ee}(le=t())&&typeof le.catch=="function"&&le.catch(function(){})}}catch(ee){if(ee&&J&&typeof ee.stack=="string")return[ee.stack,J.stack]}return[null,null]}};o.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var c=Object.getOwnPropertyDescriptor(o.DetermineComponentFrameRoot,"name");c&&c.configurable&&Object.defineProperty(o.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var m=o.DetermineComponentFrameRoot(),B=m[0],v=m[1];if(B&&v){var U=B.split(`
4
4
  `),Q=v.split(`
5
5
  `);for(c=o=0;o<U.length&&!U[o].includes("DetermineComponentFrameRoot");)o++;for(;c<Q.length&&!Q[c].includes("DetermineComponentFrameRoot");)c++;if(o===U.length||c===Q.length)for(o=U.length-1,c=Q.length-1;1<=o&&0<=c&&U[o]!==Q[c];)c--;for(;1<=o&&0<=c;o--,c--)if(U[o]!==Q[c]){if(o!==1||c!==1)do if(o--,c--,0>c||U[o]!==Q[c]){var te=`
6
6
  `+U[o].replace(" at new "," at ");return t.displayName&&te.includes("<anonymous>")&&(te=te.replace("<anonymous>",t.displayName)),te}while(1<=o&&0<=c);break}}}finally{Pt=!1,Error.prepareStackTrace=l}return(l=t?t.displayName||t.name:"")?ut(l):""}function $n(t,n){switch(t.tag){case 26:case 27:case 5:return ut(t.type);case 16:return ut("Lazy");case 13:return t.child!==n&&n!==null?ut("Suspense Fallback"):ut("Suspense");case 19:return ut("SuspenseList");case 0:case 15:return dn(t.type,!1);case 11:return dn(t.type.render,!1);case 1:return dn(t.type,!0);case 31:return ut("Activity");default:return""}}function jn(t){try{var n="",l=null;do n+=$n(t,l),l=t,t=t.return;while(t);return n}catch(o){return`
7
7
  Error generating stack: `+o.message+`
8
- `+o.stack}}var At=Object.prototype.hasOwnProperty,Ar=e.unstable_scheduleCallback,St=e.unstable_cancelCallback,Go=e.unstable_shouldYield,Qo=e.unstable_requestPaint,Tt=e.unstable_now,Yo=e.unstable_getCurrentPriorityLevel,ne=e.unstable_ImmediatePriority,ue=e.unstable_UserBlockingPriority,Ae=e.unstable_NormalPriority,Ne=e.unstable_LowPriority,Ve=e.unstable_IdlePriority,Jt=e.log,Gn=e.unstable_setDisableYieldValue,zt=null,mt=null;function Ut(t){if(typeof Jt=="function"&&Gn(t),mt&&typeof mt.setStrictMode=="function")try{mt.setStrictMode(zt,t)}catch{}}var Ke=Math.clz32?Math.clz32:Fm,h0=Math.log,wn=Math.LN2;function Fm(t){return t>>>=0,t===0?32:31-(h0(t)/wn|0)|0}var Ul=256,Hl=262144,ql=4194304;function G0(t){var n=t&42;if(n!==0)return n;switch(t&-t){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return t&261888;case 262144:case 524288:case 1048576:case 2097152:return t&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return t&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return t}}function Il(t,n,l){var o=t.pendingLanes;if(o===0)return 0;var c=0,m=t.suspendedLanes,B=t.pingedLanes;t=t.warmLanes;var v=o&134217727;return v!==0?(o=v&~m,o!==0?c=G0(o):(B&=v,B!==0?c=G0(B):l||(l=v&~t,l!==0&&(c=G0(l))))):(v=o&~m,v!==0?c=G0(v):B!==0?c=G0(B):l||(l=o&~t,l!==0&&(c=G0(l)))),c===0?0:n!==0&&n!==c&&(n&m)===0&&(m=c&-c,l=n&-n,m>=l||m===32&&(l&4194048)!==0)?n:c}function Ea(t,n){return(t.pendingLanes&~(t.suspendedLanes&~t.pingedLanes)&n)===0}function wm(t,n){switch(t){case 1:case 2:case 4:case 8:case 64:return n+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return n+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function Zc(){var t=ql;return ql<<=1,(ql&62914560)===0&&(ql=4194304),t}function Xo(t){for(var n=[],l=0;31>l;l++)n.push(t);return n}function Ca(t,n){t.pendingLanes|=n,n!==268435456&&(t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0)}function Sm(t,n,l,o,c,m){var B=t.pendingLanes;t.pendingLanes=l,t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0,t.expiredLanes&=l,t.entangledLanes&=l,t.errorRecoveryDisabledLanes&=l,t.shellSuspendCounter=0;var v=t.entanglements,U=t.expirationTimes,Q=t.hiddenUpdates;for(l=B&~l;0<l;){var te=31-Ke(l),le=1<<te;v[te]=0,U[te]=-1;var J=Q[te];if(J!==null)for(Q[te]=null,te=0;te<J.length;te++){var ee=J[te];ee!==null&&(ee.lane&=-536870913)}l&=~le}o!==0&&Jc(t,o,0),m!==0&&c===0&&t.tag!==0&&(t.suspendedLanes|=m&~(B&~n))}function Jc(t,n,l){t.pendingLanes|=n,t.suspendedLanes&=~n;var o=31-Ke(n);t.entangledLanes|=n,t.entanglements[o]=t.entanglements[o]|1073741824|l&261930}function Wc(t,n){var l=t.entangledLanes|=n;for(t=t.entanglements;l;){var o=31-Ke(l),c=1<<o;c&n|t[o]&n&&(t[o]|=n),l&=~c}}function ef(t,n){var l=n&-n;return l=(l&42)!==0?1:Ko(l),(l&(t.suspendedLanes|n))!==0?0:l}function Ko(t){switch(t){case 2:t=1;break;case 8:t=4;break;case 32:t=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:t=128;break;case 268435456:t=134217728;break;default:t=0}return t}function Zo(t){return t&=-t,2<t?8<t?(t&134217727)!==0?32:268435456:8:2}function tf(){var t=Y.p;return t!==0?t:(t=window.event,t===void 0?32:H9(t.type))}function nf(t,n){var l=Y.p;try{return Y.p=t,n()}finally{Y.p=l}}var p0=Math.random().toString(36).slice(2),bt="__reactFiber$"+p0,Ht="__reactProps$"+p0,br="__reactContainer$"+p0,Jo="__reactEvents$"+p0,Mm="__reactListeners$"+p0,Nm="__reactHandles$"+p0,rf="__reactResources$"+p0,ya="__reactMarker$"+p0;function Wo(t){delete t[bt],delete t[Ht],delete t[Jo],delete t[Mm],delete t[Nm]}function Dr(t){var n=t[bt];if(n)return n;for(var l=t.parentNode;l;){if(n=l[br]||l[bt]){if(l=n.alternate,n.child!==null||l!==null&&l.child!==null)for(t=v9(t);t!==null;){if(l=t[bt])return l;t=v9(t)}return n}t=l,l=t.parentNode}return null}function vr(t){if(t=t[bt]||t[br]){var n=t.tag;if(n===5||n===6||n===13||n===31||n===26||n===27||n===3)return t}return null}function ga(t){var n=t.tag;if(n===5||n===26||n===27||n===6)return t.stateNode;throw Error(i(33))}function kr(t){var n=t[rf];return n||(n=t[rf]={hoistableStyles:new Map,hoistableScripts:new Map}),n}function yt(t){t[ya]=!0}var af=new Set,lf={};function Q0(t,n){Fr(t,n),Fr(t+"Capture",n)}function Fr(t,n){for(lf[t]=n,t=0;t<n.length;t++)af.add(n[t])}var _m=RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),of={},sf={};function Tm(t){return At.call(sf,t)?!0:At.call(of,t)?!1:_m.test(t)?sf[t]=!0:(of[t]=!0,!1)}function Vl(t,n,l){if(Tm(n))if(l===null)t.removeAttribute(n);else{switch(typeof l){case"undefined":case"function":case"symbol":t.removeAttribute(n);return;case"boolean":var o=n.toLowerCase().slice(0,5);if(o!=="data-"&&o!=="aria-"){t.removeAttribute(n);return}}t.setAttribute(n,""+l)}}function $l(t,n,l){if(l===null)t.removeAttribute(n);else{switch(typeof l){case"undefined":case"function":case"symbol":case"boolean":t.removeAttribute(n);return}t.setAttribute(n,""+l)}}function Qn(t,n,l,o){if(o===null)t.removeAttribute(l);else{switch(typeof o){case"undefined":case"function":case"symbol":case"boolean":t.removeAttribute(l);return}t.setAttributeNS(n,l,""+o)}}function hn(t){switch(typeof t){case"bigint":case"boolean":case"number":case"string":case"undefined":return t;case"object":return t;default:return""}}function xf(t){var n=t.type;return(t=t.nodeName)&&t.toLowerCase()==="input"&&(n==="checkbox"||n==="radio")}function zm(t,n,l){var o=Object.getOwnPropertyDescriptor(t.constructor.prototype,n);if(!t.hasOwnProperty(n)&&typeof o<"u"&&typeof o.get=="function"&&typeof o.set=="function"){var c=o.get,m=o.set;return Object.defineProperty(t,n,{configurable:!0,get:function(){return c.call(this)},set:function(B){l=""+B,m.call(this,B)}}),Object.defineProperty(t,n,{enumerable:o.enumerable}),{getValue:function(){return l},setValue:function(B){l=""+B},stopTracking:function(){t._valueTracker=null,delete t[n]}}}}function es(t){if(!t._valueTracker){var n=xf(t)?"checked":"value";t._valueTracker=zm(t,n,""+t[n])}}function uf(t){if(!t)return!1;var n=t._valueTracker;if(!n)return!0;var l=n.getValue(),o="";return t&&(o=xf(t)?t.checked?"true":"false":t.value),t=o,t!==l?(n.setValue(t),!0):!1}function Gl(t){if(t=t||(typeof document<"u"?document:void 0),typeof t>"u")return null;try{return t.activeElement||t.body}catch{return t.body}}var jm=/[\n"\\]/g;function pn(t){return t.replace(jm,function(n){return"\\"+n.charCodeAt(0).toString(16)+" "})}function ts(t,n,l,o,c,m,B,v){t.name="",B!=null&&typeof B!="function"&&typeof B!="symbol"&&typeof B!="boolean"?t.type=B:t.removeAttribute("type"),n!=null?B==="number"?(n===0&&t.value===""||t.value!=n)&&(t.value=""+hn(n)):t.value!==""+hn(n)&&(t.value=""+hn(n)):B!=="submit"&&B!=="reset"||t.removeAttribute("value"),n!=null?ns(t,B,hn(n)):l!=null?ns(t,B,hn(l)):o!=null&&t.removeAttribute("value"),c==null&&m!=null&&(t.defaultChecked=!!m),c!=null&&(t.checked=c&&typeof c!="function"&&typeof c!="symbol"),v!=null&&typeof v!="function"&&typeof v!="symbol"&&typeof v!="boolean"?t.name=""+hn(v):t.removeAttribute("name")}function cf(t,n,l,o,c,m,B,v){if(m!=null&&typeof m!="function"&&typeof m!="symbol"&&typeof m!="boolean"&&(t.type=m),n!=null||l!=null){if(!(m!=="submit"&&m!=="reset"||n!=null)){es(t);return}l=l!=null?""+hn(l):"",n=n!=null?""+hn(n):l,v||n===t.value||(t.value=n),t.defaultValue=n}o=o??c,o=typeof o!="function"&&typeof o!="symbol"&&!!o,t.checked=v?t.checked:!!o,t.defaultChecked=!!o,B!=null&&typeof B!="function"&&typeof B!="symbol"&&typeof B!="boolean"&&(t.name=B),es(t)}function ns(t,n,l){n==="number"&&Gl(t.ownerDocument)===t||t.defaultValue===""+l||(t.defaultValue=""+l)}function wr(t,n,l,o){if(t=t.options,n){n={};for(var c=0;c<l.length;c++)n["$"+l[c]]=!0;for(l=0;l<t.length;l++)c=n.hasOwnProperty("$"+t[l].value),t[l].selected!==c&&(t[l].selected=c),c&&o&&(t[l].defaultSelected=!0)}else{for(l=""+hn(l),n=null,c=0;c<t.length;c++){if(t[c].value===l){t[c].selected=!0,o&&(t[c].defaultSelected=!0);return}n!==null||t[c].disabled||(n=t[c])}n!==null&&(n.selected=!0)}}function ff(t,n,l){if(n!=null&&(n=""+hn(n),n!==t.value&&(t.value=n),l==null)){t.defaultValue!==n&&(t.defaultValue=n);return}t.defaultValue=l!=null?""+hn(l):""}function df(t,n,l,o){if(n==null){if(o!=null){if(l!=null)throw Error(i(92));if($(o)){if(1<o.length)throw Error(i(93));o=o[0]}l=o}l==null&&(l=""),n=l}l=hn(n),t.defaultValue=l,o=t.textContent,o===l&&o!==""&&o!==null&&(t.value=o),es(t)}function Sr(t,n){if(n){var l=t.firstChild;if(l&&l===t.lastChild&&l.nodeType===3){l.nodeValue=n;return}}t.textContent=n}var Rm=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" "));function hf(t,n,l){var o=n.indexOf("--")===0;l==null||typeof l=="boolean"||l===""?o?t.setProperty(n,""):n==="float"?t.cssFloat="":t[n]="":o?t.setProperty(n,l):typeof l!="number"||l===0||Rm.has(n)?n==="float"?t.cssFloat=l:t[n]=(""+l).trim():t[n]=l+"px"}function pf(t,n,l){if(n!=null&&typeof n!="object")throw Error(i(62));if(t=t.style,l!=null){for(var o in l)!l.hasOwnProperty(o)||n!=null&&n.hasOwnProperty(o)||(o.indexOf("--")===0?t.setProperty(o,""):o==="float"?t.cssFloat="":t[o]="");for(var c in n)o=n[c],n.hasOwnProperty(c)&&l[c]!==o&&hf(t,c,o)}else for(var m in n)n.hasOwnProperty(m)&&hf(t,m,n[m])}function rs(t){if(t.indexOf("-")===-1)return!1;switch(t){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Om=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),Lm=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function Ql(t){return Lm.test(""+t)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":t}function Yn(){}var as=null;function ls(t){return t=t.target||t.srcElement||window,t.correspondingUseElement&&(t=t.correspondingUseElement),t.nodeType===3?t.parentNode:t}var Mr=null,Nr=null;function mf(t){var n=vr(t);if(n&&(t=n.stateNode)){var l=t[Ht]||null;e:switch(t=n.stateNode,n.type){case"input":if(ts(t,l.value,l.defaultValue,l.defaultValue,l.checked,l.defaultChecked,l.type,l.name),n=l.name,l.type==="radio"&&n!=null){for(l=t;l.parentNode;)l=l.parentNode;for(l=l.querySelectorAll('input[name="'+pn(""+n)+'"][type="radio"]'),n=0;n<l.length;n++){var o=l[n];if(o!==t&&o.form===t.form){var c=o[Ht]||null;if(!c)throw Error(i(90));ts(o,c.value,c.defaultValue,c.defaultValue,c.checked,c.defaultChecked,c.type,c.name)}}for(n=0;n<l.length;n++)o=l[n],o.form===t.form&&uf(o)}break e;case"textarea":ff(t,l.value,l.defaultValue);break e;case"select":n=l.value,n!=null&&wr(t,!!l.multiple,n,!1)}}}var is=!1;function Ef(t,n,l){if(is)return t(n,l);is=!0;try{var o=t(n);return o}finally{if(is=!1,(Mr!==null||Nr!==null)&&(zi(),Mr&&(n=Mr,t=Nr,Nr=Mr=null,mf(n),t)))for(n=0;n<t.length;n++)mf(t[n])}}function Ba(t,n){var l=t.stateNode;if(l===null)return null;var o=l[Ht]||null;if(o===null)return null;l=o[n];e:switch(n){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(o=!o.disabled)||(t=t.type,o=!(t==="button"||t==="input"||t==="select"||t==="textarea")),t=!o;break e;default:t=!1}if(t)return null;if(l&&typeof l!="function")throw Error(i(231,n,typeof l));return l}var Xn=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),os=!1;if(Xn)try{var Aa={};Object.defineProperty(Aa,"passive",{get:function(){os=!0}}),window.addEventListener("test",Aa,Aa),window.removeEventListener("test",Aa,Aa)}catch{os=!1}var m0=null,ss=null,Yl=null;function Cf(){if(Yl)return Yl;var t,n=ss,l=n.length,o,c="value"in m0?m0.value:m0.textContent,m=c.length;for(t=0;t<l&&n[t]===c[t];t++);var B=l-t;for(o=1;o<=B&&n[l-o]===c[m-o];o++);return Yl=c.slice(t,1<o?1-o:void 0)}function Xl(t){var n=t.keyCode;return"charCode"in t?(t=t.charCode,t===0&&n===13&&(t=13)):t=n,t===10&&(t=13),32<=t||t===13?t:0}function Kl(){return!0}function yf(){return!1}function qt(t){function n(l,o,c,m,B){this._reactName=l,this._targetInst=c,this.type=o,this.nativeEvent=m,this.target=B,this.currentTarget=null;for(var v in t)t.hasOwnProperty(v)&&(l=t[v],this[v]=l?l(m):m[v]);return this.isDefaultPrevented=(m.defaultPrevented!=null?m.defaultPrevented:m.returnValue===!1)?Kl:yf,this.isPropagationStopped=yf,this}return p(n.prototype,{preventDefault:function(){this.defaultPrevented=!0;var l=this.nativeEvent;l&&(l.preventDefault?l.preventDefault():typeof l.returnValue!="unknown"&&(l.returnValue=!1),this.isDefaultPrevented=Kl)},stopPropagation:function(){var l=this.nativeEvent;l&&(l.stopPropagation?l.stopPropagation():typeof l.cancelBubble!="unknown"&&(l.cancelBubble=!0),this.isPropagationStopped=Kl)},persist:function(){},isPersistent:Kl}),n}var Y0={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(t){return t.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Zl=qt(Y0),ba=p({},Y0,{view:0,detail:0}),Pm=qt(ba),xs,us,Da,Jl=p({},ba,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:fs,button:0,buttons:0,relatedTarget:function(t){return t.relatedTarget===void 0?t.fromElement===t.srcElement?t.toElement:t.fromElement:t.relatedTarget},movementX:function(t){return"movementX"in t?t.movementX:(t!==Da&&(Da&&t.type==="mousemove"?(xs=t.screenX-Da.screenX,us=t.screenY-Da.screenY):us=xs=0,Da=t),xs)},movementY:function(t){return"movementY"in t?t.movementY:us}}),gf=qt(Jl),Um=p({},Jl,{dataTransfer:0}),Hm=qt(Um),qm=p({},ba,{relatedTarget:0}),cs=qt(qm),Im=p({},Y0,{animationName:0,elapsedTime:0,pseudoElement:0}),Vm=qt(Im),$m=p({},Y0,{clipboardData:function(t){return"clipboardData"in t?t.clipboardData:window.clipboardData}}),Gm=qt($m),Qm=p({},Y0,{data:0}),Bf=qt(Qm),Ym={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Xm={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},Km={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Zm(t){var n=this.nativeEvent;return n.getModifierState?n.getModifierState(t):(t=Km[t])?!!n[t]:!1}function fs(){return Zm}var Jm=p({},ba,{key:function(t){if(t.key){var n=Ym[t.key]||t.key;if(n!=="Unidentified")return n}return t.type==="keypress"?(t=Xl(t),t===13?"Enter":String.fromCharCode(t)):t.type==="keydown"||t.type==="keyup"?Xm[t.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:fs,charCode:function(t){return t.type==="keypress"?Xl(t):0},keyCode:function(t){return t.type==="keydown"||t.type==="keyup"?t.keyCode:0},which:function(t){return t.type==="keypress"?Xl(t):t.type==="keydown"||t.type==="keyup"?t.keyCode:0}}),Wm=qt(Jm),e5=p({},Jl,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Af=qt(e5),t5=p({},ba,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:fs}),n5=qt(t5),r5=p({},Y0,{propertyName:0,elapsedTime:0,pseudoElement:0}),a5=qt(r5),l5=p({},Jl,{deltaX:function(t){return"deltaX"in t?t.deltaX:"wheelDeltaX"in t?-t.wheelDeltaX:0},deltaY:function(t){return"deltaY"in t?t.deltaY:"wheelDeltaY"in t?-t.wheelDeltaY:"wheelDelta"in t?-t.wheelDelta:0},deltaZ:0,deltaMode:0}),i5=qt(l5),o5=p({},Y0,{newState:0,oldState:0}),s5=qt(o5),x5=[9,13,27,32],ds=Xn&&"CompositionEvent"in window,va=null;Xn&&"documentMode"in document&&(va=document.documentMode);var u5=Xn&&"TextEvent"in window&&!va,bf=Xn&&(!ds||va&&8<va&&11>=va),Df=" ",vf=!1;function kf(t,n){switch(t){case"keyup":return x5.indexOf(n.keyCode)!==-1;case"keydown":return n.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Ff(t){return t=t.detail,typeof t=="object"&&"data"in t?t.data:null}var _r=!1;function c5(t,n){switch(t){case"compositionend":return Ff(n);case"keypress":return n.which!==32?null:(vf=!0,Df);case"textInput":return t=n.data,t===Df&&vf?null:t;default:return null}}function f5(t,n){if(_r)return t==="compositionend"||!ds&&kf(t,n)?(t=Cf(),Yl=ss=m0=null,_r=!1,t):null;switch(t){case"paste":return null;case"keypress":if(!(n.ctrlKey||n.altKey||n.metaKey)||n.ctrlKey&&n.altKey){if(n.char&&1<n.char.length)return n.char;if(n.which)return String.fromCharCode(n.which)}return null;case"compositionend":return bf&&n.locale!=="ko"?null:n.data;default:return null}}var d5={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function wf(t){var n=t&&t.nodeName&&t.nodeName.toLowerCase();return n==="input"?!!d5[t.type]:n==="textarea"}function Sf(t,n,l,o){Mr?Nr?Nr.push(o):Nr=[o]:Mr=o,n=Hi(n,"onChange"),0<n.length&&(l=new Zl("onChange","change",null,l,o),t.push({event:l,listeners:n}))}var ka=null,Fa=null;function h5(t){c9(t,0)}function Wl(t){var n=ga(t);if(uf(n))return t}function Mf(t,n){if(t==="change")return n}var Nf=!1;if(Xn){var hs;if(Xn){var ps="oninput"in document;if(!ps){var _f=document.createElement("div");_f.setAttribute("oninput","return;"),ps=typeof _f.oninput=="function"}hs=ps}else hs=!1;Nf=hs&&(!document.documentMode||9<document.documentMode)}function Tf(){ka&&(ka.detachEvent("onpropertychange",zf),Fa=ka=null)}function zf(t){if(t.propertyName==="value"&&Wl(Fa)){var n=[];Sf(n,Fa,t,ls(t)),Ef(h5,n)}}function p5(t,n,l){t==="focusin"?(Tf(),ka=n,Fa=l,ka.attachEvent("onpropertychange",zf)):t==="focusout"&&Tf()}function m5(t){if(t==="selectionchange"||t==="keyup"||t==="keydown")return Wl(Fa)}function E5(t,n){if(t==="click")return Wl(n)}function C5(t,n){if(t==="input"||t==="change")return Wl(n)}function y5(t,n){return t===n&&(t!==0||1/t===1/n)||t!==t&&n!==n}var Wt=typeof Object.is=="function"?Object.is:y5;function wa(t,n){if(Wt(t,n))return!0;if(typeof t!="object"||t===null||typeof n!="object"||n===null)return!1;var l=Object.keys(t),o=Object.keys(n);if(l.length!==o.length)return!1;for(o=0;o<l.length;o++){var c=l[o];if(!At.call(n,c)||!Wt(t[c],n[c]))return!1}return!0}function jf(t){for(;t&&t.firstChild;)t=t.firstChild;return t}function Rf(t,n){var l=jf(t);t=0;for(var o;l;){if(l.nodeType===3){if(o=t+l.textContent.length,t<=n&&o>=n)return{node:l,offset:n-t};t=o}e:{for(;l;){if(l.nextSibling){l=l.nextSibling;break e}l=l.parentNode}l=void 0}l=jf(l)}}function Of(t,n){return t&&n?t===n?!0:t&&t.nodeType===3?!1:n&&n.nodeType===3?Of(t,n.parentNode):"contains"in t?t.contains(n):t.compareDocumentPosition?!!(t.compareDocumentPosition(n)&16):!1:!1}function Lf(t){t=t!=null&&t.ownerDocument!=null&&t.ownerDocument.defaultView!=null?t.ownerDocument.defaultView:window;for(var n=Gl(t.document);n instanceof t.HTMLIFrameElement;){try{var l=typeof n.contentWindow.location.href=="string"}catch{l=!1}if(l)t=n.contentWindow;else break;n=Gl(t.document)}return n}function ms(t){var n=t&&t.nodeName&&t.nodeName.toLowerCase();return n&&(n==="input"&&(t.type==="text"||t.type==="search"||t.type==="tel"||t.type==="url"||t.type==="password")||n==="textarea"||t.contentEditable==="true")}var g5=Xn&&"documentMode"in document&&11>=document.documentMode,Tr=null,Es=null,Sa=null,Cs=!1;function Pf(t,n,l){var o=l.window===l?l.document:l.nodeType===9?l:l.ownerDocument;Cs||Tr==null||Tr!==Gl(o)||(o=Tr,"selectionStart"in o&&ms(o)?o={start:o.selectionStart,end:o.selectionEnd}:(o=(o.ownerDocument&&o.ownerDocument.defaultView||window).getSelection(),o={anchorNode:o.anchorNode,anchorOffset:o.anchorOffset,focusNode:o.focusNode,focusOffset:o.focusOffset}),Sa&&wa(Sa,o)||(Sa=o,o=Hi(Es,"onSelect"),0<o.length&&(n=new Zl("onSelect","select",null,n,l),t.push({event:n,listeners:o}),n.target=Tr)))}function X0(t,n){var l={};return l[t.toLowerCase()]=n.toLowerCase(),l["Webkit"+t]="webkit"+n,l["Moz"+t]="moz"+n,l}var zr={animationend:X0("Animation","AnimationEnd"),animationiteration:X0("Animation","AnimationIteration"),animationstart:X0("Animation","AnimationStart"),transitionrun:X0("Transition","TransitionRun"),transitionstart:X0("Transition","TransitionStart"),transitioncancel:X0("Transition","TransitionCancel"),transitionend:X0("Transition","TransitionEnd")},ys={},Uf={};Xn&&(Uf=document.createElement("div").style,"AnimationEvent"in window||(delete zr.animationend.animation,delete zr.animationiteration.animation,delete zr.animationstart.animation),"TransitionEvent"in window||delete zr.transitionend.transition);function K0(t){if(ys[t])return ys[t];if(!zr[t])return t;var n=zr[t],l;for(l in n)if(n.hasOwnProperty(l)&&l in Uf)return ys[t]=n[l];return t}var Hf=K0("animationend"),qf=K0("animationiteration"),If=K0("animationstart"),B5=K0("transitionrun"),A5=K0("transitionstart"),b5=K0("transitioncancel"),Vf=K0("transitionend"),$f=new Map,gs="abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");gs.push("scrollEnd");function Sn(t,n){$f.set(t,n),Q0(n,[t])}var ei=typeof reportError=="function"?reportError:function(t){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var n=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof t=="object"&&t!==null&&typeof t.message=="string"?String(t.message):String(t),error:t});if(!window.dispatchEvent(n))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",t);return}console.error(t)},mn=[],jr=0,Bs=0;function ti(){for(var t=jr,n=Bs=jr=0;n<t;){var l=mn[n];mn[n++]=null;var o=mn[n];mn[n++]=null;var c=mn[n];mn[n++]=null;var m=mn[n];if(mn[n++]=null,o!==null&&c!==null){var B=o.pending;B===null?c.next=c:(c.next=B.next,B.next=c),o.pending=c}m!==0&&Gf(l,c,m)}}function ni(t,n,l,o){mn[jr++]=t,mn[jr++]=n,mn[jr++]=l,mn[jr++]=o,Bs|=o,t.lanes|=o,t=t.alternate,t!==null&&(t.lanes|=o)}function As(t,n,l,o){return ni(t,n,l,o),ri(t)}function Z0(t,n){return ni(t,null,null,n),ri(t)}function Gf(t,n,l){t.lanes|=l;var o=t.alternate;o!==null&&(o.lanes|=l);for(var c=!1,m=t.return;m!==null;)m.childLanes|=l,o=m.alternate,o!==null&&(o.childLanes|=l),m.tag===22&&(t=m.stateNode,t===null||t._visibility&1||(c=!0)),t=m,m=m.return;return t.tag===3?(m=t.stateNode,c&&n!==null&&(c=31-Ke(l),t=m.hiddenUpdates,o=t[c],o===null?t[c]=[n]:o.push(n),n.lane=l|536870912),m):null}function ri(t){if(50<Za)throw Za=0,Nx=null,Error(i(185));for(var n=t.return;n!==null;)t=n,n=t.return;return t.tag===3?t.stateNode:null}var Rr={};function D5(t,n,l,o){this.tag=t,this.key=l,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=n,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=o,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function en(t,n,l,o){return new D5(t,n,l,o)}function bs(t){return t=t.prototype,!(!t||!t.isReactComponent)}function Kn(t,n){var l=t.alternate;return l===null?(l=en(t.tag,n,t.key,t.mode),l.elementType=t.elementType,l.type=t.type,l.stateNode=t.stateNode,l.alternate=t,t.alternate=l):(l.pendingProps=n,l.type=t.type,l.flags=0,l.subtreeFlags=0,l.deletions=null),l.flags=t.flags&65011712,l.childLanes=t.childLanes,l.lanes=t.lanes,l.child=t.child,l.memoizedProps=t.memoizedProps,l.memoizedState=t.memoizedState,l.updateQueue=t.updateQueue,n=t.dependencies,l.dependencies=n===null?null:{lanes:n.lanes,firstContext:n.firstContext},l.sibling=t.sibling,l.index=t.index,l.ref=t.ref,l.refCleanup=t.refCleanup,l}function Qf(t,n){t.flags&=65011714;var l=t.alternate;return l===null?(t.childLanes=0,t.lanes=n,t.child=null,t.subtreeFlags=0,t.memoizedProps=null,t.memoizedState=null,t.updateQueue=null,t.dependencies=null,t.stateNode=null):(t.childLanes=l.childLanes,t.lanes=l.lanes,t.child=l.child,t.subtreeFlags=0,t.deletions=null,t.memoizedProps=l.memoizedProps,t.memoizedState=l.memoizedState,t.updateQueue=l.updateQueue,t.type=l.type,n=l.dependencies,t.dependencies=n===null?null:{lanes:n.lanes,firstContext:n.firstContext}),t}function ai(t,n,l,o,c,m){var B=0;if(o=t,typeof t=="function")bs(t)&&(B=1);else if(typeof t=="string")B=SE(t,l,ae.current)?26:t==="html"||t==="head"||t==="body"?27:5;else e:switch(t){case q:return t=en(31,l,n,c),t.elementType=q,t.lanes=m,t;case b:return J0(l.children,c,m,n);case D:B=8,c|=24;break;case F:return t=en(12,l,n,c|2),t.elementType=F,t.lanes=m,t;case R:return t=en(13,l,n,c),t.elementType=R,t.lanes=m,t;case k:return t=en(19,l,n,c),t.elementType=k,t.lanes=m,t;default:if(typeof t=="object"&&t!==null)switch(t.$$typeof){case w:B=10;break e;case O:B=9;break e;case _:B=11;break e;case T:B=14;break e;case S:B=16,o=null;break e}B=29,l=Error(i(130,t===null?"null":typeof t,"")),o=null}return n=en(B,l,n,c),n.elementType=t,n.type=o,n.lanes=m,n}function J0(t,n,l,o){return t=en(7,t,o,n),t.lanes=l,t}function Ds(t,n,l){return t=en(6,t,null,n),t.lanes=l,t}function Yf(t){var n=en(18,null,null,0);return n.stateNode=t,n}function vs(t,n,l){return n=en(4,t.children!==null?t.children:[],t.key,n),n.lanes=l,n.stateNode={containerInfo:t.containerInfo,pendingChildren:null,implementation:t.implementation},n}var Xf=new WeakMap;function En(t,n){if(typeof t=="object"&&t!==null){var l=Xf.get(t);return l!==void 0?l:(n={value:t,source:n,stack:jn(n)},Xf.set(t,n),n)}return{value:t,source:n,stack:jn(n)}}var Or=[],Lr=0,li=null,Ma=0,Cn=[],yn=0,E0=null,Rn=1,On="";function Zn(t,n){Or[Lr++]=Ma,Or[Lr++]=li,li=t,Ma=n}function Kf(t,n,l){Cn[yn++]=Rn,Cn[yn++]=On,Cn[yn++]=E0,E0=t;var o=Rn;t=On;var c=32-Ke(o)-1;o&=~(1<<c),l+=1;var m=32-Ke(n)+c;if(30<m){var B=c-c%5;m=(o&(1<<B)-1).toString(32),o>>=B,c-=B,Rn=1<<32-Ke(n)+c|l<<c|o,On=m+t}else Rn=1<<m|l<<c|o,On=t}function ks(t){t.return!==null&&(Zn(t,1),Kf(t,1,0))}function Fs(t){for(;t===li;)li=Or[--Lr],Or[Lr]=null,Ma=Or[--Lr],Or[Lr]=null;for(;t===E0;)E0=Cn[--yn],Cn[yn]=null,On=Cn[--yn],Cn[yn]=null,Rn=Cn[--yn],Cn[yn]=null}function Zf(t,n){Cn[yn++]=Rn,Cn[yn++]=On,Cn[yn++]=E0,Rn=n.id,On=n.overflow,E0=t}var Dt=null,tt=null,Oe=!1,C0=null,gn=!1,ws=Error(i(519));function y0(t){var n=Error(i(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw Na(En(n,t)),ws}function Jf(t){var n=t.stateNode,l=t.type,o=t.memoizedProps;switch(n[bt]=t,n[Ht]=o,l){case"dialog":Te("cancel",n),Te("close",n);break;case"iframe":case"object":case"embed":Te("load",n);break;case"video":case"audio":for(l=0;l<Wa.length;l++)Te(Wa[l],n);break;case"source":Te("error",n);break;case"img":case"image":case"link":Te("error",n),Te("load",n);break;case"details":Te("toggle",n);break;case"input":Te("invalid",n),cf(n,o.value,o.defaultValue,o.checked,o.defaultChecked,o.type,o.name,!0);break;case"select":Te("invalid",n);break;case"textarea":Te("invalid",n),df(n,o.value,o.defaultValue,o.children)}l=o.children,typeof l!="string"&&typeof l!="number"&&typeof l!="bigint"||n.textContent===""+l||o.suppressHydrationWarning===!0||p9(n.textContent,l)?(o.popover!=null&&(Te("beforetoggle",n),Te("toggle",n)),o.onScroll!=null&&Te("scroll",n),o.onScrollEnd!=null&&Te("scrollend",n),o.onClick!=null&&(n.onclick=Yn),n=!0):n=!1,n||y0(t,!0)}function Wf(t){for(Dt=t.return;Dt;)switch(Dt.tag){case 5:case 31:case 13:gn=!1;return;case 27:case 3:gn=!0;return;default:Dt=Dt.return}}function Pr(t){if(t!==Dt)return!1;if(!Oe)return Wf(t),Oe=!0,!1;var n=t.tag,l;if((l=n!==3&&n!==27)&&((l=n===5)&&(l=t.type,l=!(l!=="form"&&l!=="button")||Gx(t.type,t.memoizedProps)),l=!l),l&&tt&&y0(t),Wf(t),n===13){if(t=t.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(i(317));tt=D9(t)}else if(n===31){if(t=t.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(i(317));tt=D9(t)}else n===27?(n=tt,T0(t.type)?(t=Zx,Zx=null,tt=t):tt=n):tt=Dt?An(t.stateNode.nextSibling):null;return!0}function W0(){tt=Dt=null,Oe=!1}function Ss(){var t=C0;return t!==null&&(Gt===null?Gt=t:Gt.push.apply(Gt,t),C0=null),t}function Na(t){C0===null?C0=[t]:C0.push(t)}var Ms=j(null),er=null,Jn=null;function g0(t,n,l){N(Ms,n._currentValue),n._currentValue=l}function Wn(t){t._currentValue=Ms.current,W(Ms)}function Ns(t,n,l){for(;t!==null;){var o=t.alternate;if((t.childLanes&n)!==n?(t.childLanes|=n,o!==null&&(o.childLanes|=n)):o!==null&&(o.childLanes&n)!==n&&(o.childLanes|=n),t===l)break;t=t.return}}function _s(t,n,l,o){var c=t.child;for(c!==null&&(c.return=t);c!==null;){var m=c.dependencies;if(m!==null){var B=c.child;m=m.firstContext;e:for(;m!==null;){var v=m;m=c;for(var U=0;U<n.length;U++)if(v.context===n[U]){m.lanes|=l,v=m.alternate,v!==null&&(v.lanes|=l),Ns(m.return,l,t),o||(B=null);break e}m=v.next}}else if(c.tag===18){if(B=c.return,B===null)throw Error(i(341));B.lanes|=l,m=B.alternate,m!==null&&(m.lanes|=l),Ns(B,l,t),B=null}else B=c.child;if(B!==null)B.return=c;else for(B=c;B!==null;){if(B===t){B=null;break}if(c=B.sibling,c!==null){c.return=B.return,B=c;break}B=B.return}c=B}}function Ur(t,n,l,o){t=null;for(var c=n,m=!1;c!==null;){if(!m){if((c.flags&524288)!==0)m=!0;else if((c.flags&262144)!==0)break}if(c.tag===10){var B=c.alternate;if(B===null)throw Error(i(387));if(B=B.memoizedProps,B!==null){var v=c.type;Wt(c.pendingProps.value,B.value)||(t!==null?t.push(v):t=[v])}}else if(c===Ee.current){if(B=c.alternate,B===null)throw Error(i(387));B.memoizedState.memoizedState!==c.memoizedState.memoizedState&&(t!==null?t.push(al):t=[al])}c=c.return}t!==null&&_s(n,t,l,o),n.flags|=262144}function ii(t){for(t=t.firstContext;t!==null;){if(!Wt(t.context._currentValue,t.memoizedValue))return!0;t=t.next}return!1}function tr(t){er=t,Jn=null,t=t.dependencies,t!==null&&(t.firstContext=null)}function vt(t){return ed(er,t)}function oi(t,n){return er===null&&tr(t),ed(t,n)}function ed(t,n){var l=n._currentValue;if(n={context:n,memoizedValue:l,next:null},Jn===null){if(t===null)throw Error(i(308));Jn=n,t.dependencies={lanes:0,firstContext:n},t.flags|=524288}else Jn=Jn.next=n;return l}var v5=typeof AbortController<"u"?AbortController:function(){var t=[],n=this.signal={aborted:!1,addEventListener:function(l,o){t.push(o)}};this.abort=function(){n.aborted=!0,t.forEach(function(l){return l()})}},k5=e.unstable_scheduleCallback,F5=e.unstable_NormalPriority,ct={$$typeof:w,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function Ts(){return{controller:new v5,data:new Map,refCount:0}}function _a(t){t.refCount--,t.refCount===0&&k5(F5,function(){t.controller.abort()})}var Ta=null,zs=0,Hr=0,qr=null;function w5(t,n){if(Ta===null){var l=Ta=[];zs=0,Hr=Ox(),qr={status:"pending",value:void 0,then:function(o){l.push(o)}}}return zs++,n.then(td,td),n}function td(){if(--zs===0&&Ta!==null){qr!==null&&(qr.status="fulfilled");var t=Ta;Ta=null,Hr=0,qr=null;for(var n=0;n<t.length;n++)(0,t[n])()}}function S5(t,n){var l=[],o={status:"pending",value:null,reason:null,then:function(c){l.push(c)}};return t.then(function(){o.status="fulfilled",o.value=n;for(var c=0;c<l.length;c++)(0,l[c])(n)},function(c){for(o.status="rejected",o.reason=c,c=0;c<l.length;c++)(0,l[c])(void 0)}),o}var nd=P.S;P.S=function(t,n){P1=Tt(),typeof n=="object"&&n!==null&&typeof n.then=="function"&&w5(t,n),nd!==null&&nd(t,n)};var nr=j(null);function js(){var t=nr.current;return t!==null?t:Ze.pooledCache}function si(t,n){n===null?N(nr,nr.current):N(nr,n.pool)}function rd(){var t=js();return t===null?null:{parent:ct._currentValue,pool:t}}var Ir=Error(i(460)),Rs=Error(i(474)),xi=Error(i(542)),ui={then:function(){}};function ad(t){return t=t.status,t==="fulfilled"||t==="rejected"}function ld(t,n,l){switch(l=t[l],l===void 0?t.push(n):l!==n&&(n.then(Yn,Yn),n=l),n.status){case"fulfilled":return n.value;case"rejected":throw t=n.reason,od(t),t;default:if(typeof n.status=="string")n.then(Yn,Yn);else{if(t=Ze,t!==null&&100<t.shellSuspendCounter)throw Error(i(482));t=n,t.status="pending",t.then(function(o){if(n.status==="pending"){var c=n;c.status="fulfilled",c.value=o}},function(o){if(n.status==="pending"){var c=n;c.status="rejected",c.reason=o}})}switch(n.status){case"fulfilled":return n.value;case"rejected":throw t=n.reason,od(t),t}throw ar=n,Ir}}function rr(t){try{var n=t._init;return n(t._payload)}catch(l){throw l!==null&&typeof l=="object"&&typeof l.then=="function"?(ar=l,Ir):l}}var ar=null;function id(){if(ar===null)throw Error(i(459));var t=ar;return ar=null,t}function od(t){if(t===Ir||t===xi)throw Error(i(483))}var Vr=null,za=0;function ci(t){var n=za;return za+=1,Vr===null&&(Vr=[]),ld(Vr,t,n)}function ja(t,n){n=n.props.ref,t.ref=n!==void 0?n:null}function fi(t,n){throw n.$$typeof===y?Error(i(525)):(t=Object.prototype.toString.call(n),Error(i(31,t==="[object Object]"?"object with keys {"+Object.keys(n).join(", ")+"}":t)))}function sd(t){function n(V,H){if(t){var G=V.deletions;G===null?(V.deletions=[H],V.flags|=16):G.push(H)}}function l(V,H){if(!t)return null;for(;H!==null;)n(V,H),H=H.sibling;return null}function o(V){for(var H=new Map;V!==null;)V.key!==null?H.set(V.key,V):H.set(V.index,V),V=V.sibling;return H}function c(V,H){return V=Kn(V,H),V.index=0,V.sibling=null,V}function m(V,H,G){return V.index=G,t?(G=V.alternate,G!==null?(G=G.index,G<H?(V.flags|=67108866,H):G):(V.flags|=67108866,H)):(V.flags|=1048576,H)}function B(V){return t&&V.alternate===null&&(V.flags|=67108866),V}function v(V,H,G,re){return H===null||H.tag!==6?(H=Ds(G,V.mode,re),H.return=V,H):(H=c(H,G),H.return=V,H)}function U(V,H,G,re){var ye=G.type;return ye===b?te(V,H,G.props.children,re,G.key):H!==null&&(H.elementType===ye||typeof ye=="object"&&ye!==null&&ye.$$typeof===S&&rr(ye)===H.type)?(H=c(H,G.props),ja(H,G),H.return=V,H):(H=ai(G.type,G.key,G.props,null,V.mode,re),ja(H,G),H.return=V,H)}function Q(V,H,G,re){return H===null||H.tag!==4||H.stateNode.containerInfo!==G.containerInfo||H.stateNode.implementation!==G.implementation?(H=vs(G,V.mode,re),H.return=V,H):(H=c(H,G.children||[]),H.return=V,H)}function te(V,H,G,re,ye){return H===null||H.tag!==7?(H=J0(G,V.mode,re,ye),H.return=V,H):(H=c(H,G),H.return=V,H)}function le(V,H,G){if(typeof H=="string"&&H!==""||typeof H=="number"||typeof H=="bigint")return H=Ds(""+H,V.mode,G),H.return=V,H;if(typeof H=="object"&&H!==null){switch(H.$$typeof){case C:return G=ai(H.type,H.key,H.props,null,V.mode,G),ja(G,H),G.return=V,G;case A:return H=vs(H,V.mode,G),H.return=V,H;case S:return H=rr(H),le(V,H,G)}if($(H)||K(H))return H=J0(H,V.mode,G,null),H.return=V,H;if(typeof H.then=="function")return le(V,ci(H),G);if(H.$$typeof===w)return le(V,oi(V,H),G);fi(V,H)}return null}function J(V,H,G,re){var ye=H!==null?H.key:null;if(typeof G=="string"&&G!==""||typeof G=="number"||typeof G=="bigint")return ye!==null?null:v(V,H,""+G,re);if(typeof G=="object"&&G!==null){switch(G.$$typeof){case C:return G.key===ye?U(V,H,G,re):null;case A:return G.key===ye?Q(V,H,G,re):null;case S:return G=rr(G),J(V,H,G,re)}if($(G)||K(G))return ye!==null?null:te(V,H,G,re,null);if(typeof G.then=="function")return J(V,H,ci(G),re);if(G.$$typeof===w)return J(V,H,oi(V,G),re);fi(V,G)}return null}function ee(V,H,G,re,ye){if(typeof re=="string"&&re!==""||typeof re=="number"||typeof re=="bigint")return V=V.get(G)||null,v(H,V,""+re,ye);if(typeof re=="object"&&re!==null){switch(re.$$typeof){case C:return V=V.get(re.key===null?G:re.key)||null,U(H,V,re,ye);case A:return V=V.get(re.key===null?G:re.key)||null,Q(H,V,re,ye);case S:return re=rr(re),ee(V,H,G,re,ye)}if($(re)||K(re))return V=V.get(G)||null,te(H,V,re,ye,null);if(typeof re.then=="function")return ee(V,H,G,ci(re),ye);if(re.$$typeof===w)return ee(V,H,G,oi(H,re),ye);fi(H,re)}return null}function pe(V,H,G,re){for(var ye=null,Ue=null,me=H,Se=H=0,Re=null;me!==null&&Se<G.length;Se++){me.index>Se?(Re=me,me=null):Re=me.sibling;var He=J(V,me,G[Se],re);if(He===null){me===null&&(me=Re);break}t&&me&&He.alternate===null&&n(V,me),H=m(He,H,Se),Ue===null?ye=He:Ue.sibling=He,Ue=He,me=Re}if(Se===G.length)return l(V,me),Oe&&Zn(V,Se),ye;if(me===null){for(;Se<G.length;Se++)me=le(V,G[Se],re),me!==null&&(H=m(me,H,Se),Ue===null?ye=me:Ue.sibling=me,Ue=me);return Oe&&Zn(V,Se),ye}for(me=o(me);Se<G.length;Se++)Re=ee(me,V,Se,G[Se],re),Re!==null&&(t&&Re.alternate!==null&&me.delete(Re.key===null?Se:Re.key),H=m(Re,H,Se),Ue===null?ye=Re:Ue.sibling=Re,Ue=Re);return t&&me.forEach(function(L0){return n(V,L0)}),Oe&&Zn(V,Se),ye}function Be(V,H,G,re){if(G==null)throw Error(i(151));for(var ye=null,Ue=null,me=H,Se=H=0,Re=null,He=G.next();me!==null&&!He.done;Se++,He=G.next()){me.index>Se?(Re=me,me=null):Re=me.sibling;var L0=J(V,me,He.value,re);if(L0===null){me===null&&(me=Re);break}t&&me&&L0.alternate===null&&n(V,me),H=m(L0,H,Se),Ue===null?ye=L0:Ue.sibling=L0,Ue=L0,me=Re}if(He.done)return l(V,me),Oe&&Zn(V,Se),ye;if(me===null){for(;!He.done;Se++,He=G.next())He=le(V,He.value,re),He!==null&&(H=m(He,H,Se),Ue===null?ye=He:Ue.sibling=He,Ue=He);return Oe&&Zn(V,Se),ye}for(me=o(me);!He.done;Se++,He=G.next())He=ee(me,V,Se,He.value,re),He!==null&&(t&&He.alternate!==null&&me.delete(He.key===null?Se:He.key),H=m(He,H,Se),Ue===null?ye=He:Ue.sibling=He,Ue=He);return t&&me.forEach(function(UE){return n(V,UE)}),Oe&&Zn(V,Se),ye}function Xe(V,H,G,re){if(typeof G=="object"&&G!==null&&G.type===b&&G.key===null&&(G=G.props.children),typeof G=="object"&&G!==null){switch(G.$$typeof){case C:e:{for(var ye=G.key;H!==null;){if(H.key===ye){if(ye=G.type,ye===b){if(H.tag===7){l(V,H.sibling),re=c(H,G.props.children),re.return=V,V=re;break e}}else if(H.elementType===ye||typeof ye=="object"&&ye!==null&&ye.$$typeof===S&&rr(ye)===H.type){l(V,H.sibling),re=c(H,G.props),ja(re,G),re.return=V,V=re;break e}l(V,H);break}else n(V,H);H=H.sibling}G.type===b?(re=J0(G.props.children,V.mode,re,G.key),re.return=V,V=re):(re=ai(G.type,G.key,G.props,null,V.mode,re),ja(re,G),re.return=V,V=re)}return B(V);case A:e:{for(ye=G.key;H!==null;){if(H.key===ye)if(H.tag===4&&H.stateNode.containerInfo===G.containerInfo&&H.stateNode.implementation===G.implementation){l(V,H.sibling),re=c(H,G.children||[]),re.return=V,V=re;break e}else{l(V,H);break}else n(V,H);H=H.sibling}re=vs(G,V.mode,re),re.return=V,V=re}return B(V);case S:return G=rr(G),Xe(V,H,G,re)}if($(G))return pe(V,H,G,re);if(K(G)){if(ye=K(G),typeof ye!="function")throw Error(i(150));return G=ye.call(G),Be(V,H,G,re)}if(typeof G.then=="function")return Xe(V,H,ci(G),re);if(G.$$typeof===w)return Xe(V,H,oi(V,G),re);fi(V,G)}return typeof G=="string"&&G!==""||typeof G=="number"||typeof G=="bigint"?(G=""+G,H!==null&&H.tag===6?(l(V,H.sibling),re=c(H,G),re.return=V,V=re):(l(V,H),re=Ds(G,V.mode,re),re.return=V,V=re),B(V)):l(V,H)}return function(V,H,G,re){try{za=0;var ye=Xe(V,H,G,re);return Vr=null,ye}catch(me){if(me===Ir||me===xi)throw me;var Ue=en(29,me,null,V.mode);return Ue.lanes=re,Ue.return=V,Ue}}}var lr=sd(!0),xd=sd(!1),B0=!1;function Os(t){t.updateQueue={baseState:t.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Ls(t,n){t=t.updateQueue,n.updateQueue===t&&(n.updateQueue={baseState:t.baseState,firstBaseUpdate:t.firstBaseUpdate,lastBaseUpdate:t.lastBaseUpdate,shared:t.shared,callbacks:null})}function A0(t){return{lane:t,tag:0,payload:null,callback:null,next:null}}function b0(t,n,l){var o=t.updateQueue;if(o===null)return null;if(o=o.shared,(qe&2)!==0){var c=o.pending;return c===null?n.next=n:(n.next=c.next,c.next=n),o.pending=n,n=ri(t),Gf(t,null,l),n}return ni(t,o,n,l),ri(t)}function Ra(t,n,l){if(n=n.updateQueue,n!==null&&(n=n.shared,(l&4194048)!==0)){var o=n.lanes;o&=t.pendingLanes,l|=o,n.lanes=l,Wc(t,l)}}function Ps(t,n){var l=t.updateQueue,o=t.alternate;if(o!==null&&(o=o.updateQueue,l===o)){var c=null,m=null;if(l=l.firstBaseUpdate,l!==null){do{var B={lane:l.lane,tag:l.tag,payload:l.payload,callback:null,next:null};m===null?c=m=B:m=m.next=B,l=l.next}while(l!==null);m===null?c=m=n:m=m.next=n}else c=m=n;l={baseState:o.baseState,firstBaseUpdate:c,lastBaseUpdate:m,shared:o.shared,callbacks:o.callbacks},t.updateQueue=l;return}t=l.lastBaseUpdate,t===null?l.firstBaseUpdate=n:t.next=n,l.lastBaseUpdate=n}var Us=!1;function Oa(){if(Us){var t=qr;if(t!==null)throw t}}function La(t,n,l,o){Us=!1;var c=t.updateQueue;B0=!1;var m=c.firstBaseUpdate,B=c.lastBaseUpdate,v=c.shared.pending;if(v!==null){c.shared.pending=null;var U=v,Q=U.next;U.next=null,B===null?m=Q:B.next=Q,B=U;var te=t.alternate;te!==null&&(te=te.updateQueue,v=te.lastBaseUpdate,v!==B&&(v===null?te.firstBaseUpdate=Q:v.next=Q,te.lastBaseUpdate=U))}if(m!==null){var le=c.baseState;B=0,te=Q=U=null,v=m;do{var J=v.lane&-536870913,ee=J!==v.lane;if(ee?(je&J)===J:(o&J)===J){J!==0&&J===Hr&&(Us=!0),te!==null&&(te=te.next={lane:0,tag:v.tag,payload:v.payload,callback:null,next:null});e:{var pe=t,Be=v;J=n;var Xe=l;switch(Be.tag){case 1:if(pe=Be.payload,typeof pe=="function"){le=pe.call(Xe,le,J);break e}le=pe;break e;case 3:pe.flags=pe.flags&-65537|128;case 0:if(pe=Be.payload,J=typeof pe=="function"?pe.call(Xe,le,J):pe,J==null)break e;le=p({},le,J);break e;case 2:B0=!0}}J=v.callback,J!==null&&(t.flags|=64,ee&&(t.flags|=8192),ee=c.callbacks,ee===null?c.callbacks=[J]:ee.push(J))}else ee={lane:J,tag:v.tag,payload:v.payload,callback:v.callback,next:null},te===null?(Q=te=ee,U=le):te=te.next=ee,B|=J;if(v=v.next,v===null){if(v=c.shared.pending,v===null)break;ee=v,v=ee.next,ee.next=null,c.lastBaseUpdate=ee,c.shared.pending=null}}while(!0);te===null&&(U=le),c.baseState=U,c.firstBaseUpdate=Q,c.lastBaseUpdate=te,m===null&&(c.shared.lanes=0),w0|=B,t.lanes=B,t.memoizedState=le}}function ud(t,n){if(typeof t!="function")throw Error(i(191,t));t.call(n)}function cd(t,n){var l=t.callbacks;if(l!==null)for(t.callbacks=null,t=0;t<l.length;t++)ud(l[t],n)}var $r=j(null),di=j(0);function fd(t,n){t=s0,N(di,t),N($r,n),s0=t|n.baseLanes}function Hs(){N(di,s0),N($r,$r.current)}function qs(){s0=di.current,W($r),W(di)}var tn=j(null),Bn=null;function D0(t){var n=t.alternate;N(st,st.current&1),N(tn,t),Bn===null&&(n===null||$r.current!==null||n.memoizedState!==null)&&(Bn=t)}function Is(t){N(st,st.current),N(tn,t),Bn===null&&(Bn=t)}function dd(t){t.tag===22?(N(st,st.current),N(tn,t),Bn===null&&(Bn=t)):v0()}function v0(){N(st,st.current),N(tn,tn.current)}function nn(t){W(tn),Bn===t&&(Bn=null),W(st)}var st=j(0);function hi(t){for(var n=t;n!==null;){if(n.tag===13){var l=n.memoizedState;if(l!==null&&(l=l.dehydrated,l===null||Xx(l)||Kx(l)))return n}else if(n.tag===19&&(n.memoizedProps.revealOrder==="forwards"||n.memoizedProps.revealOrder==="backwards"||n.memoizedProps.revealOrder==="unstable_legacy-backwards"||n.memoizedProps.revealOrder==="together")){if((n.flags&128)!==0)return n}else if(n.child!==null){n.child.return=n,n=n.child;continue}if(n===t)break;for(;n.sibling===null;){if(n.return===null||n.return===t)return null;n=n.return}n.sibling.return=n.return,n=n.sibling}return null}var e0=0,Fe=null,Qe=null,ft=null,pi=!1,Gr=!1,ir=!1,mi=0,Pa=0,Qr=null,M5=0;function lt(){throw Error(i(321))}function Vs(t,n){if(n===null)return!1;for(var l=0;l<n.length&&l<t.length;l++)if(!Wt(t[l],n[l]))return!1;return!0}function $s(t,n,l,o,c,m){return e0=m,Fe=n,n.memoizedState=null,n.updateQueue=null,n.lanes=0,P.H=t===null||t.memoizedState===null?Kd:ix,ir=!1,m=l(o,c),ir=!1,Gr&&(m=pd(n,l,o,c)),hd(t),m}function hd(t){P.H=qa;var n=Qe!==null&&Qe.next!==null;if(e0=0,ft=Qe=Fe=null,pi=!1,Pa=0,Qr=null,n)throw Error(i(300));t===null||dt||(t=t.dependencies,t!==null&&ii(t)&&(dt=!0))}function pd(t,n,l,o){Fe=t;var c=0;do{if(Gr&&(Qr=null),Pa=0,Gr=!1,25<=c)throw Error(i(301));if(c+=1,ft=Qe=null,t.updateQueue!=null){var m=t.updateQueue;m.lastEffect=null,m.events=null,m.stores=null,m.memoCache!=null&&(m.memoCache.index=0)}P.H=Zd,m=n(l,o)}while(Gr);return m}function N5(){var t=P.H,n=t.useState()[0];return n=typeof n.then=="function"?Ua(n):n,t=t.useState()[0],(Qe!==null?Qe.memoizedState:null)!==t&&(Fe.flags|=1024),n}function Gs(){var t=mi!==0;return mi=0,t}function Qs(t,n,l){n.updateQueue=t.updateQueue,n.flags&=-2053,t.lanes&=~l}function Ys(t){if(pi){for(t=t.memoizedState;t!==null;){var n=t.queue;n!==null&&(n.pending=null),t=t.next}pi=!1}e0=0,ft=Qe=Fe=null,Gr=!1,Pa=mi=0,Qr=null}function jt(){var t={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return ft===null?Fe.memoizedState=ft=t:ft=ft.next=t,ft}function xt(){if(Qe===null){var t=Fe.alternate;t=t!==null?t.memoizedState:null}else t=Qe.next;var n=ft===null?Fe.memoizedState:ft.next;if(n!==null)ft=n,Qe=t;else{if(t===null)throw Fe.alternate===null?Error(i(467)):Error(i(310));Qe=t,t={memoizedState:Qe.memoizedState,baseState:Qe.baseState,baseQueue:Qe.baseQueue,queue:Qe.queue,next:null},ft===null?Fe.memoizedState=ft=t:ft=ft.next=t}return ft}function Ei(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function Ua(t){var n=Pa;return Pa+=1,Qr===null&&(Qr=[]),t=ld(Qr,t,n),n=Fe,(ft===null?n.memoizedState:ft.next)===null&&(n=n.alternate,P.H=n===null||n.memoizedState===null?Kd:ix),t}function Ci(t){if(t!==null&&typeof t=="object"){if(typeof t.then=="function")return Ua(t);if(t.$$typeof===w)return vt(t)}throw Error(i(438,String(t)))}function Xs(t){var n=null,l=Fe.updateQueue;if(l!==null&&(n=l.memoCache),n==null){var o=Fe.alternate;o!==null&&(o=o.updateQueue,o!==null&&(o=o.memoCache,o!=null&&(n={data:o.data.map(function(c){return c.slice()}),index:0})))}if(n==null&&(n={data:[],index:0}),l===null&&(l=Ei(),Fe.updateQueue=l),l.memoCache=n,l=n.data[n.index],l===void 0)for(l=n.data[n.index]=Array(t),o=0;o<t;o++)l[o]=L;return n.index++,l}function t0(t,n){return typeof n=="function"?n(t):n}function yi(t){var n=xt();return Ks(n,Qe,t)}function Ks(t,n,l){var o=t.queue;if(o===null)throw Error(i(311));o.lastRenderedReducer=l;var c=t.baseQueue,m=o.pending;if(m!==null){if(c!==null){var B=c.next;c.next=m.next,m.next=B}n.baseQueue=c=m,o.pending=null}if(m=t.baseState,c===null)t.memoizedState=m;else{n=c.next;var v=B=null,U=null,Q=n,te=!1;do{var le=Q.lane&-536870913;if(le!==Q.lane?(je&le)===le:(e0&le)===le){var J=Q.revertLane;if(J===0)U!==null&&(U=U.next={lane:0,revertLane:0,gesture:null,action:Q.action,hasEagerState:Q.hasEagerState,eagerState:Q.eagerState,next:null}),le===Hr&&(te=!0);else if((e0&J)===J){Q=Q.next,J===Hr&&(te=!0);continue}else le={lane:0,revertLane:Q.revertLane,gesture:null,action:Q.action,hasEagerState:Q.hasEagerState,eagerState:Q.eagerState,next:null},U===null?(v=U=le,B=m):U=U.next=le,Fe.lanes|=J,w0|=J;le=Q.action,ir&&l(m,le),m=Q.hasEagerState?Q.eagerState:l(m,le)}else J={lane:le,revertLane:Q.revertLane,gesture:Q.gesture,action:Q.action,hasEagerState:Q.hasEagerState,eagerState:Q.eagerState,next:null},U===null?(v=U=J,B=m):U=U.next=J,Fe.lanes|=le,w0|=le;Q=Q.next}while(Q!==null&&Q!==n);if(U===null?B=m:U.next=v,!Wt(m,t.memoizedState)&&(dt=!0,te&&(l=qr,l!==null)))throw l;t.memoizedState=m,t.baseState=B,t.baseQueue=U,o.lastRenderedState=m}return c===null&&(o.lanes=0),[t.memoizedState,o.dispatch]}function Zs(t){var n=xt(),l=n.queue;if(l===null)throw Error(i(311));l.lastRenderedReducer=t;var o=l.dispatch,c=l.pending,m=n.memoizedState;if(c!==null){l.pending=null;var B=c=c.next;do m=t(m,B.action),B=B.next;while(B!==c);Wt(m,n.memoizedState)||(dt=!0),n.memoizedState=m,n.baseQueue===null&&(n.baseState=m),l.lastRenderedState=m}return[m,o]}function md(t,n,l){var o=Fe,c=xt(),m=Oe;if(m){if(l===void 0)throw Error(i(407));l=l()}else l=n();var B=!Wt((Qe||c).memoizedState,l);if(B&&(c.memoizedState=l,dt=!0),c=c.queue,ex(yd.bind(null,o,c,t),[t]),c.getSnapshot!==n||B||ft!==null&&ft.memoizedState.tag&1){if(o.flags|=2048,Yr(9,{destroy:void 0},Cd.bind(null,o,c,l,n),null),Ze===null)throw Error(i(349));m||(e0&127)!==0||Ed(o,n,l)}return l}function Ed(t,n,l){t.flags|=16384,t={getSnapshot:n,value:l},n=Fe.updateQueue,n===null?(n=Ei(),Fe.updateQueue=n,n.stores=[t]):(l=n.stores,l===null?n.stores=[t]:l.push(t))}function Cd(t,n,l,o){n.value=l,n.getSnapshot=o,gd(n)&&Bd(t)}function yd(t,n,l){return l(function(){gd(n)&&Bd(t)})}function gd(t){var n=t.getSnapshot;t=t.value;try{var l=n();return!Wt(t,l)}catch{return!0}}function Bd(t){var n=Z0(t,2);n!==null&&Qt(n,t,2)}function Js(t){var n=jt();if(typeof t=="function"){var l=t;if(t=l(),ir){Ut(!0);try{l()}finally{Ut(!1)}}}return n.memoizedState=n.baseState=t,n.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:t0,lastRenderedState:t},n}function Ad(t,n,l,o){return t.baseState=l,Ks(t,Qe,typeof o=="function"?o:t0)}function _5(t,n,l,o,c){if(Ai(t))throw Error(i(485));if(t=n.action,t!==null){var m={payload:c,action:t,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(B){m.listeners.push(B)}};P.T!==null?l(!0):m.isTransition=!1,o(m),l=n.pending,l===null?(m.next=n.pending=m,bd(n,m)):(m.next=l.next,n.pending=l.next=m)}}function bd(t,n){var l=n.action,o=n.payload,c=t.state;if(n.isTransition){var m=P.T,B={};P.T=B;try{var v=l(c,o),U=P.S;U!==null&&U(B,v),Dd(t,n,v)}catch(Q){Ws(t,n,Q)}finally{m!==null&&B.types!==null&&(m.types=B.types),P.T=m}}else try{m=l(c,o),Dd(t,n,m)}catch(Q){Ws(t,n,Q)}}function Dd(t,n,l){l!==null&&typeof l=="object"&&typeof l.then=="function"?l.then(function(o){vd(t,n,o)},function(o){return Ws(t,n,o)}):vd(t,n,l)}function vd(t,n,l){n.status="fulfilled",n.value=l,kd(n),t.state=l,n=t.pending,n!==null&&(l=n.next,l===n?t.pending=null:(l=l.next,n.next=l,bd(t,l)))}function Ws(t,n,l){var o=t.pending;if(t.pending=null,o!==null){o=o.next;do n.status="rejected",n.reason=l,kd(n),n=n.next;while(n!==o)}t.action=null}function kd(t){t=t.listeners;for(var n=0;n<t.length;n++)(0,t[n])()}function Fd(t,n){return n}function wd(t,n){if(Oe){var l=Ze.formState;if(l!==null){e:{var o=Fe;if(Oe){if(tt){t:{for(var c=tt,m=gn;c.nodeType!==8;){if(!m){c=null;break t}if(c=An(c.nextSibling),c===null){c=null;break t}}m=c.data,c=m==="F!"||m==="F"?c:null}if(c){tt=An(c.nextSibling),o=c.data==="F!";break e}}y0(o)}o=!1}o&&(n=l[0])}}return l=jt(),l.memoizedState=l.baseState=n,o={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Fd,lastRenderedState:n},l.queue=o,l=Qd.bind(null,Fe,o),o.dispatch=l,o=Js(!1),m=lx.bind(null,Fe,!1,o.queue),o=jt(),c={state:n,dispatch:null,action:t,pending:null},o.queue=c,l=_5.bind(null,Fe,c,m,l),c.dispatch=l,o.memoizedState=t,[n,l,!1]}function Sd(t){var n=xt();return Md(n,Qe,t)}function Md(t,n,l){if(n=Ks(t,n,Fd)[0],t=yi(t0)[0],typeof n=="object"&&n!==null&&typeof n.then=="function")try{var o=Ua(n)}catch(B){throw B===Ir?xi:B}else o=n;n=xt();var c=n.queue,m=c.dispatch;return l!==n.memoizedState&&(Fe.flags|=2048,Yr(9,{destroy:void 0},T5.bind(null,c,l),null)),[o,m,t]}function T5(t,n){t.action=n}function Nd(t){var n=xt(),l=Qe;if(l!==null)return Md(n,l,t);xt(),n=n.memoizedState,l=xt();var o=l.queue.dispatch;return l.memoizedState=t,[n,o,!1]}function Yr(t,n,l,o){return t={tag:t,create:l,deps:o,inst:n,next:null},n=Fe.updateQueue,n===null&&(n=Ei(),Fe.updateQueue=n),l=n.lastEffect,l===null?n.lastEffect=t.next=t:(o=l.next,l.next=t,t.next=o,n.lastEffect=t),t}function _d(){return xt().memoizedState}function gi(t,n,l,o){var c=jt();Fe.flags|=t,c.memoizedState=Yr(1|n,{destroy:void 0},l,o===void 0?null:o)}function Bi(t,n,l,o){var c=xt();o=o===void 0?null:o;var m=c.memoizedState.inst;Qe!==null&&o!==null&&Vs(o,Qe.memoizedState.deps)?c.memoizedState=Yr(n,m,l,o):(Fe.flags|=t,c.memoizedState=Yr(1|n,m,l,o))}function Td(t,n){gi(8390656,8,t,n)}function ex(t,n){Bi(2048,8,t,n)}function z5(t){Fe.flags|=4;var n=Fe.updateQueue;if(n===null)n=Ei(),Fe.updateQueue=n,n.events=[t];else{var l=n.events;l===null?n.events=[t]:l.push(t)}}function zd(t){var n=xt().memoizedState;return z5({ref:n,nextImpl:t}),function(){if((qe&2)!==0)throw Error(i(440));return n.impl.apply(void 0,arguments)}}function jd(t,n){return Bi(4,2,t,n)}function Rd(t,n){return Bi(4,4,t,n)}function Od(t,n){if(typeof n=="function"){t=t();var l=n(t);return function(){typeof l=="function"?l():n(null)}}if(n!=null)return t=t(),n.current=t,function(){n.current=null}}function Ld(t,n,l){l=l!=null?l.concat([t]):null,Bi(4,4,Od.bind(null,n,t),l)}function tx(){}function Pd(t,n){var l=xt();n=n===void 0?null:n;var o=l.memoizedState;return n!==null&&Vs(n,o[1])?o[0]:(l.memoizedState=[t,n],t)}function Ud(t,n){var l=xt();n=n===void 0?null:n;var o=l.memoizedState;if(n!==null&&Vs(n,o[1]))return o[0];if(o=t(),ir){Ut(!0);try{t()}finally{Ut(!1)}}return l.memoizedState=[o,n],o}function nx(t,n,l){return l===void 0||(e0&1073741824)!==0&&(je&261930)===0?t.memoizedState=n:(t.memoizedState=l,t=H1(),Fe.lanes|=t,w0|=t,l)}function Hd(t,n,l,o){return Wt(l,n)?l:$r.current!==null?(t=nx(t,l,o),Wt(t,n)||(dt=!0),t):(e0&42)===0||(e0&1073741824)!==0&&(je&261930)===0?(dt=!0,t.memoizedState=l):(t=H1(),Fe.lanes|=t,w0|=t,n)}function qd(t,n,l,o,c){var m=Y.p;Y.p=m!==0&&8>m?m:8;var B=P.T,v={};P.T=v,lx(t,!1,n,l);try{var U=c(),Q=P.S;if(Q!==null&&Q(v,U),U!==null&&typeof U=="object"&&typeof U.then=="function"){var te=S5(U,o);Ha(t,n,te,ln(t))}else Ha(t,n,o,ln(t))}catch(le){Ha(t,n,{then:function(){},status:"rejected",reason:le},ln())}finally{Y.p=m,B!==null&&v.types!==null&&(B.types=v.types),P.T=B}}function j5(){}function rx(t,n,l,o){if(t.tag!==5)throw Error(i(476));var c=Id(t).queue;qd(t,c,n,oe,l===null?j5:function(){return Vd(t),l(o)})}function Id(t){var n=t.memoizedState;if(n!==null)return n;n={memoizedState:oe,baseState:oe,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:t0,lastRenderedState:oe},next:null};var l={};return n.next={memoizedState:l,baseState:l,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:t0,lastRenderedState:l},next:null},t.memoizedState=n,t=t.alternate,t!==null&&(t.memoizedState=n),n}function Vd(t){var n=Id(t);n.next===null&&(n=t.alternate.memoizedState),Ha(t,n.next.queue,{},ln())}function ax(){return vt(al)}function $d(){return xt().memoizedState}function Gd(){return xt().memoizedState}function R5(t){for(var n=t.return;n!==null;){switch(n.tag){case 24:case 3:var l=ln();t=A0(l);var o=b0(n,t,l);o!==null&&(Qt(o,n,l),Ra(o,n,l)),n={cache:Ts()},t.payload=n;return}n=n.return}}function O5(t,n,l){var o=ln();l={lane:o,revertLane:0,gesture:null,action:l,hasEagerState:!1,eagerState:null,next:null},Ai(t)?Yd(n,l):(l=As(t,n,l,o),l!==null&&(Qt(l,t,o),Xd(l,n,o)))}function Qd(t,n,l){var o=ln();Ha(t,n,l,o)}function Ha(t,n,l,o){var c={lane:o,revertLane:0,gesture:null,action:l,hasEagerState:!1,eagerState:null,next:null};if(Ai(t))Yd(n,c);else{var m=t.alternate;if(t.lanes===0&&(m===null||m.lanes===0)&&(m=n.lastRenderedReducer,m!==null))try{var B=n.lastRenderedState,v=m(B,l);if(c.hasEagerState=!0,c.eagerState=v,Wt(v,B))return ni(t,n,c,0),Ze===null&&ti(),!1}catch{}if(l=As(t,n,c,o),l!==null)return Qt(l,t,o),Xd(l,n,o),!0}return!1}function lx(t,n,l,o){if(o={lane:2,revertLane:Ox(),gesture:null,action:o,hasEagerState:!1,eagerState:null,next:null},Ai(t)){if(n)throw Error(i(479))}else n=As(t,l,o,2),n!==null&&Qt(n,t,2)}function Ai(t){var n=t.alternate;return t===Fe||n!==null&&n===Fe}function Yd(t,n){Gr=pi=!0;var l=t.pending;l===null?n.next=n:(n.next=l.next,l.next=n),t.pending=n}function Xd(t,n,l){if((l&4194048)!==0){var o=n.lanes;o&=t.pendingLanes,l|=o,n.lanes=l,Wc(t,l)}}var qa={readContext:vt,use:Ci,useCallback:lt,useContext:lt,useEffect:lt,useImperativeHandle:lt,useLayoutEffect:lt,useInsertionEffect:lt,useMemo:lt,useReducer:lt,useRef:lt,useState:lt,useDebugValue:lt,useDeferredValue:lt,useTransition:lt,useSyncExternalStore:lt,useId:lt,useHostTransitionStatus:lt,useFormState:lt,useActionState:lt,useOptimistic:lt,useMemoCache:lt,useCacheRefresh:lt};qa.useEffectEvent=lt;var Kd={readContext:vt,use:Ci,useCallback:function(t,n){return jt().memoizedState=[t,n===void 0?null:n],t},useContext:vt,useEffect:Td,useImperativeHandle:function(t,n,l){l=l!=null?l.concat([t]):null,gi(4194308,4,Od.bind(null,n,t),l)},useLayoutEffect:function(t,n){return gi(4194308,4,t,n)},useInsertionEffect:function(t,n){gi(4,2,t,n)},useMemo:function(t,n){var l=jt();n=n===void 0?null:n;var o=t();if(ir){Ut(!0);try{t()}finally{Ut(!1)}}return l.memoizedState=[o,n],o},useReducer:function(t,n,l){var o=jt();if(l!==void 0){var c=l(n);if(ir){Ut(!0);try{l(n)}finally{Ut(!1)}}}else c=n;return o.memoizedState=o.baseState=c,t={pending:null,lanes:0,dispatch:null,lastRenderedReducer:t,lastRenderedState:c},o.queue=t,t=t.dispatch=O5.bind(null,Fe,t),[o.memoizedState,t]},useRef:function(t){var n=jt();return t={current:t},n.memoizedState=t},useState:function(t){t=Js(t);var n=t.queue,l=Qd.bind(null,Fe,n);return n.dispatch=l,[t.memoizedState,l]},useDebugValue:tx,useDeferredValue:function(t,n){var l=jt();return nx(l,t,n)},useTransition:function(){var t=Js(!1);return t=qd.bind(null,Fe,t.queue,!0,!1),jt().memoizedState=t,[!1,t]},useSyncExternalStore:function(t,n,l){var o=Fe,c=jt();if(Oe){if(l===void 0)throw Error(i(407));l=l()}else{if(l=n(),Ze===null)throw Error(i(349));(je&127)!==0||Ed(o,n,l)}c.memoizedState=l;var m={value:l,getSnapshot:n};return c.queue=m,Td(yd.bind(null,o,m,t),[t]),o.flags|=2048,Yr(9,{destroy:void 0},Cd.bind(null,o,m,l,n),null),l},useId:function(){var t=jt(),n=Ze.identifierPrefix;if(Oe){var l=On,o=Rn;l=(o&~(1<<32-Ke(o)-1)).toString(32)+l,n="_"+n+"R_"+l,l=mi++,0<l&&(n+="H"+l.toString(32)),n+="_"}else l=M5++,n="_"+n+"r_"+l.toString(32)+"_";return t.memoizedState=n},useHostTransitionStatus:ax,useFormState:wd,useActionState:wd,useOptimistic:function(t){var n=jt();n.memoizedState=n.baseState=t;var l={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return n.queue=l,n=lx.bind(null,Fe,!0,l),l.dispatch=n,[t,n]},useMemoCache:Xs,useCacheRefresh:function(){return jt().memoizedState=R5.bind(null,Fe)},useEffectEvent:function(t){var n=jt(),l={impl:t};return n.memoizedState=l,function(){if((qe&2)!==0)throw Error(i(440));return l.impl.apply(void 0,arguments)}}},ix={readContext:vt,use:Ci,useCallback:Pd,useContext:vt,useEffect:ex,useImperativeHandle:Ld,useInsertionEffect:jd,useLayoutEffect:Rd,useMemo:Ud,useReducer:yi,useRef:_d,useState:function(){return yi(t0)},useDebugValue:tx,useDeferredValue:function(t,n){var l=xt();return Hd(l,Qe.memoizedState,t,n)},useTransition:function(){var t=yi(t0)[0],n=xt().memoizedState;return[typeof t=="boolean"?t:Ua(t),n]},useSyncExternalStore:md,useId:$d,useHostTransitionStatus:ax,useFormState:Sd,useActionState:Sd,useOptimistic:function(t,n){var l=xt();return Ad(l,Qe,t,n)},useMemoCache:Xs,useCacheRefresh:Gd};ix.useEffectEvent=zd;var Zd={readContext:vt,use:Ci,useCallback:Pd,useContext:vt,useEffect:ex,useImperativeHandle:Ld,useInsertionEffect:jd,useLayoutEffect:Rd,useMemo:Ud,useReducer:Zs,useRef:_d,useState:function(){return Zs(t0)},useDebugValue:tx,useDeferredValue:function(t,n){var l=xt();return Qe===null?nx(l,t,n):Hd(l,Qe.memoizedState,t,n)},useTransition:function(){var t=Zs(t0)[0],n=xt().memoizedState;return[typeof t=="boolean"?t:Ua(t),n]},useSyncExternalStore:md,useId:$d,useHostTransitionStatus:ax,useFormState:Nd,useActionState:Nd,useOptimistic:function(t,n){var l=xt();return Qe!==null?Ad(l,Qe,t,n):(l.baseState=t,[t,l.queue.dispatch])},useMemoCache:Xs,useCacheRefresh:Gd};Zd.useEffectEvent=zd;function ox(t,n,l,o){n=t.memoizedState,l=l(o,n),l=l==null?n:p({},n,l),t.memoizedState=l,t.lanes===0&&(t.updateQueue.baseState=l)}var sx={enqueueSetState:function(t,n,l){t=t._reactInternals;var o=ln(),c=A0(o);c.payload=n,l!=null&&(c.callback=l),n=b0(t,c,o),n!==null&&(Qt(n,t,o),Ra(n,t,o))},enqueueReplaceState:function(t,n,l){t=t._reactInternals;var o=ln(),c=A0(o);c.tag=1,c.payload=n,l!=null&&(c.callback=l),n=b0(t,c,o),n!==null&&(Qt(n,t,o),Ra(n,t,o))},enqueueForceUpdate:function(t,n){t=t._reactInternals;var l=ln(),o=A0(l);o.tag=2,n!=null&&(o.callback=n),n=b0(t,o,l),n!==null&&(Qt(n,t,l),Ra(n,t,l))}};function Jd(t,n,l,o,c,m,B){return t=t.stateNode,typeof t.shouldComponentUpdate=="function"?t.shouldComponentUpdate(o,m,B):n.prototype&&n.prototype.isPureReactComponent?!wa(l,o)||!wa(c,m):!0}function Wd(t,n,l,o){t=n.state,typeof n.componentWillReceiveProps=="function"&&n.componentWillReceiveProps(l,o),typeof n.UNSAFE_componentWillReceiveProps=="function"&&n.UNSAFE_componentWillReceiveProps(l,o),n.state!==t&&sx.enqueueReplaceState(n,n.state,null)}function or(t,n){var l=n;if("ref"in n){l={};for(var o in n)o!=="ref"&&(l[o]=n[o])}if(t=t.defaultProps){l===n&&(l=p({},l));for(var c in t)l[c]===void 0&&(l[c]=t[c])}return l}function e1(t){ei(t)}function t1(t){console.error(t)}function n1(t){ei(t)}function bi(t,n){try{var l=t.onUncaughtError;l(n.value,{componentStack:n.stack})}catch(o){setTimeout(function(){throw o})}}function r1(t,n,l){try{var o=t.onCaughtError;o(l.value,{componentStack:l.stack,errorBoundary:n.tag===1?n.stateNode:null})}catch(c){setTimeout(function(){throw c})}}function xx(t,n,l){return l=A0(l),l.tag=3,l.payload={element:null},l.callback=function(){bi(t,n)},l}function a1(t){return t=A0(t),t.tag=3,t}function l1(t,n,l,o){var c=l.type.getDerivedStateFromError;if(typeof c=="function"){var m=o.value;t.payload=function(){return c(m)},t.callback=function(){r1(n,l,o)}}var B=l.stateNode;B!==null&&typeof B.componentDidCatch=="function"&&(t.callback=function(){r1(n,l,o),typeof c!="function"&&(S0===null?S0=new Set([this]):S0.add(this));var v=o.stack;this.componentDidCatch(o.value,{componentStack:v!==null?v:""})})}function L5(t,n,l,o,c){if(l.flags|=32768,o!==null&&typeof o=="object"&&typeof o.then=="function"){if(n=l.alternate,n!==null&&Ur(n,l,c,!0),l=tn.current,l!==null){switch(l.tag){case 31:case 13:return Bn===null?ji():l.alternate===null&&it===0&&(it=3),l.flags&=-257,l.flags|=65536,l.lanes=c,o===ui?l.flags|=16384:(n=l.updateQueue,n===null?l.updateQueue=new Set([o]):n.add(o),zx(t,o,c)),!1;case 22:return l.flags|=65536,o===ui?l.flags|=16384:(n=l.updateQueue,n===null?(n={transitions:null,markerInstances:null,retryQueue:new Set([o])},l.updateQueue=n):(l=n.retryQueue,l===null?n.retryQueue=new Set([o]):l.add(o)),zx(t,o,c)),!1}throw Error(i(435,l.tag))}return zx(t,o,c),ji(),!1}if(Oe)return n=tn.current,n!==null?((n.flags&65536)===0&&(n.flags|=256),n.flags|=65536,n.lanes=c,o!==ws&&(t=Error(i(422),{cause:o}),Na(En(t,l)))):(o!==ws&&(n=Error(i(423),{cause:o}),Na(En(n,l))),t=t.current.alternate,t.flags|=65536,c&=-c,t.lanes|=c,o=En(o,l),c=xx(t.stateNode,o,c),Ps(t,c),it!==4&&(it=2)),!1;var m=Error(i(520),{cause:o});if(m=En(m,l),Ka===null?Ka=[m]:Ka.push(m),it!==4&&(it=2),n===null)return!0;o=En(o,l),l=n;do{switch(l.tag){case 3:return l.flags|=65536,t=c&-c,l.lanes|=t,t=xx(l.stateNode,o,t),Ps(l,t),!1;case 1:if(n=l.type,m=l.stateNode,(l.flags&128)===0&&(typeof n.getDerivedStateFromError=="function"||m!==null&&typeof m.componentDidCatch=="function"&&(S0===null||!S0.has(m))))return l.flags|=65536,c&=-c,l.lanes|=c,c=a1(c),l1(c,t,l,o),Ps(l,c),!1}l=l.return}while(l!==null);return!1}var ux=Error(i(461)),dt=!1;function kt(t,n,l,o){n.child=t===null?xd(n,null,l,o):lr(n,t.child,l,o)}function i1(t,n,l,o,c){l=l.render;var m=n.ref;if("ref"in o){var B={};for(var v in o)v!=="ref"&&(B[v]=o[v])}else B=o;return tr(n),o=$s(t,n,l,B,m,c),v=Gs(),t!==null&&!dt?(Qs(t,n,c),n0(t,n,c)):(Oe&&v&&ks(n),n.flags|=1,kt(t,n,o,c),n.child)}function o1(t,n,l,o,c){if(t===null){var m=l.type;return typeof m=="function"&&!bs(m)&&m.defaultProps===void 0&&l.compare===null?(n.tag=15,n.type=m,s1(t,n,m,o,c)):(t=ai(l.type,null,o,n,n.mode,c),t.ref=n.ref,t.return=n,n.child=t)}if(m=t.child,!Cx(t,c)){var B=m.memoizedProps;if(l=l.compare,l=l!==null?l:wa,l(B,o)&&t.ref===n.ref)return n0(t,n,c)}return n.flags|=1,t=Kn(m,o),t.ref=n.ref,t.return=n,n.child=t}function s1(t,n,l,o,c){if(t!==null){var m=t.memoizedProps;if(wa(m,o)&&t.ref===n.ref)if(dt=!1,n.pendingProps=o=m,Cx(t,c))(t.flags&131072)!==0&&(dt=!0);else return n.lanes=t.lanes,n0(t,n,c)}return cx(t,n,l,o,c)}function x1(t,n,l,o){var c=o.children,m=t!==null?t.memoizedState:null;if(t===null&&n.stateNode===null&&(n.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),o.mode==="hidden"){if((n.flags&128)!==0){if(m=m!==null?m.baseLanes|l:l,t!==null){for(o=n.child=t.child,c=0;o!==null;)c=c|o.lanes|o.childLanes,o=o.sibling;o=c&~m}else o=0,n.child=null;return u1(t,n,m,l,o)}if((l&536870912)!==0)n.memoizedState={baseLanes:0,cachePool:null},t!==null&&si(n,m!==null?m.cachePool:null),m!==null?fd(n,m):Hs(),dd(n);else return o=n.lanes=536870912,u1(t,n,m!==null?m.baseLanes|l:l,l,o)}else m!==null?(si(n,m.cachePool),fd(n,m),v0(),n.memoizedState=null):(t!==null&&si(n,null),Hs(),v0());return kt(t,n,c,l),n.child}function Ia(t,n){return t!==null&&t.tag===22||n.stateNode!==null||(n.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),n.sibling}function u1(t,n,l,o,c){var m=js();return m=m===null?null:{parent:ct._currentValue,pool:m},n.memoizedState={baseLanes:l,cachePool:m},t!==null&&si(n,null),Hs(),dd(n),t!==null&&Ur(t,n,o,!0),n.childLanes=c,null}function Di(t,n){return n=ki({mode:n.mode,children:n.children},t.mode),n.ref=t.ref,t.child=n,n.return=t,n}function c1(t,n,l){return lr(n,t.child,null,l),t=Di(n,n.pendingProps),t.flags|=2,nn(n),n.memoizedState=null,t}function P5(t,n,l){var o=n.pendingProps,c=(n.flags&128)!==0;if(n.flags&=-129,t===null){if(Oe){if(o.mode==="hidden")return t=Di(n,o),n.lanes=536870912,Ia(null,t);if(Is(n),(t=tt)?(t=b9(t,gn),t=t!==null&&t.data==="&"?t:null,t!==null&&(n.memoizedState={dehydrated:t,treeContext:E0!==null?{id:Rn,overflow:On}:null,retryLane:536870912,hydrationErrors:null},l=Yf(t),l.return=n,n.child=l,Dt=n,tt=null)):t=null,t===null)throw y0(n);return n.lanes=536870912,null}return Di(n,o)}var m=t.memoizedState;if(m!==null){var B=m.dehydrated;if(Is(n),c)if(n.flags&256)n.flags&=-257,n=c1(t,n,l);else if(n.memoizedState!==null)n.child=t.child,n.flags|=128,n=null;else throw Error(i(558));else if(dt||Ur(t,n,l,!1),c=(l&t.childLanes)!==0,dt||c){if(o=Ze,o!==null&&(B=ef(o,l),B!==0&&B!==m.retryLane))throw m.retryLane=B,Z0(t,B),Qt(o,t,B),ux;ji(),n=c1(t,n,l)}else t=m.treeContext,tt=An(B.nextSibling),Dt=n,Oe=!0,C0=null,gn=!1,t!==null&&Zf(n,t),n=Di(n,o),n.flags|=4096;return n}return t=Kn(t.child,{mode:o.mode,children:o.children}),t.ref=n.ref,n.child=t,t.return=n,t}function vi(t,n){var l=n.ref;if(l===null)t!==null&&t.ref!==null&&(n.flags|=4194816);else{if(typeof l!="function"&&typeof l!="object")throw Error(i(284));(t===null||t.ref!==l)&&(n.flags|=4194816)}}function cx(t,n,l,o,c){return tr(n),l=$s(t,n,l,o,void 0,c),o=Gs(),t!==null&&!dt?(Qs(t,n,c),n0(t,n,c)):(Oe&&o&&ks(n),n.flags|=1,kt(t,n,l,c),n.child)}function f1(t,n,l,o,c,m){return tr(n),n.updateQueue=null,l=pd(n,o,l,c),hd(t),o=Gs(),t!==null&&!dt?(Qs(t,n,m),n0(t,n,m)):(Oe&&o&&ks(n),n.flags|=1,kt(t,n,l,m),n.child)}function d1(t,n,l,o,c){if(tr(n),n.stateNode===null){var m=Rr,B=l.contextType;typeof B=="object"&&B!==null&&(m=vt(B)),m=new l(o,m),n.memoizedState=m.state!==null&&m.state!==void 0?m.state:null,m.updater=sx,n.stateNode=m,m._reactInternals=n,m=n.stateNode,m.props=o,m.state=n.memoizedState,m.refs={},Os(n),B=l.contextType,m.context=typeof B=="object"&&B!==null?vt(B):Rr,m.state=n.memoizedState,B=l.getDerivedStateFromProps,typeof B=="function"&&(ox(n,l,B,o),m.state=n.memoizedState),typeof l.getDerivedStateFromProps=="function"||typeof m.getSnapshotBeforeUpdate=="function"||typeof m.UNSAFE_componentWillMount!="function"&&typeof m.componentWillMount!="function"||(B=m.state,typeof m.componentWillMount=="function"&&m.componentWillMount(),typeof m.UNSAFE_componentWillMount=="function"&&m.UNSAFE_componentWillMount(),B!==m.state&&sx.enqueueReplaceState(m,m.state,null),La(n,o,m,c),Oa(),m.state=n.memoizedState),typeof m.componentDidMount=="function"&&(n.flags|=4194308),o=!0}else if(t===null){m=n.stateNode;var v=n.memoizedProps,U=or(l,v);m.props=U;var Q=m.context,te=l.contextType;B=Rr,typeof te=="object"&&te!==null&&(B=vt(te));var le=l.getDerivedStateFromProps;te=typeof le=="function"||typeof m.getSnapshotBeforeUpdate=="function",v=n.pendingProps!==v,te||typeof m.UNSAFE_componentWillReceiveProps!="function"&&typeof m.componentWillReceiveProps!="function"||(v||Q!==B)&&Wd(n,m,o,B),B0=!1;var J=n.memoizedState;m.state=J,La(n,o,m,c),Oa(),Q=n.memoizedState,v||J!==Q||B0?(typeof le=="function"&&(ox(n,l,le,o),Q=n.memoizedState),(U=B0||Jd(n,l,U,o,J,Q,B))?(te||typeof m.UNSAFE_componentWillMount!="function"&&typeof m.componentWillMount!="function"||(typeof m.componentWillMount=="function"&&m.componentWillMount(),typeof m.UNSAFE_componentWillMount=="function"&&m.UNSAFE_componentWillMount()),typeof m.componentDidMount=="function"&&(n.flags|=4194308)):(typeof m.componentDidMount=="function"&&(n.flags|=4194308),n.memoizedProps=o,n.memoizedState=Q),m.props=o,m.state=Q,m.context=B,o=U):(typeof m.componentDidMount=="function"&&(n.flags|=4194308),o=!1)}else{m=n.stateNode,Ls(t,n),B=n.memoizedProps,te=or(l,B),m.props=te,le=n.pendingProps,J=m.context,Q=l.contextType,U=Rr,typeof Q=="object"&&Q!==null&&(U=vt(Q)),v=l.getDerivedStateFromProps,(Q=typeof v=="function"||typeof m.getSnapshotBeforeUpdate=="function")||typeof m.UNSAFE_componentWillReceiveProps!="function"&&typeof m.componentWillReceiveProps!="function"||(B!==le||J!==U)&&Wd(n,m,o,U),B0=!1,J=n.memoizedState,m.state=J,La(n,o,m,c),Oa();var ee=n.memoizedState;B!==le||J!==ee||B0||t!==null&&t.dependencies!==null&&ii(t.dependencies)?(typeof v=="function"&&(ox(n,l,v,o),ee=n.memoizedState),(te=B0||Jd(n,l,te,o,J,ee,U)||t!==null&&t.dependencies!==null&&ii(t.dependencies))?(Q||typeof m.UNSAFE_componentWillUpdate!="function"&&typeof m.componentWillUpdate!="function"||(typeof m.componentWillUpdate=="function"&&m.componentWillUpdate(o,ee,U),typeof m.UNSAFE_componentWillUpdate=="function"&&m.UNSAFE_componentWillUpdate(o,ee,U)),typeof m.componentDidUpdate=="function"&&(n.flags|=4),typeof m.getSnapshotBeforeUpdate=="function"&&(n.flags|=1024)):(typeof m.componentDidUpdate!="function"||B===t.memoizedProps&&J===t.memoizedState||(n.flags|=4),typeof m.getSnapshotBeforeUpdate!="function"||B===t.memoizedProps&&J===t.memoizedState||(n.flags|=1024),n.memoizedProps=o,n.memoizedState=ee),m.props=o,m.state=ee,m.context=U,o=te):(typeof m.componentDidUpdate!="function"||B===t.memoizedProps&&J===t.memoizedState||(n.flags|=4),typeof m.getSnapshotBeforeUpdate!="function"||B===t.memoizedProps&&J===t.memoizedState||(n.flags|=1024),o=!1)}return m=o,vi(t,n),o=(n.flags&128)!==0,m||o?(m=n.stateNode,l=o&&typeof l.getDerivedStateFromError!="function"?null:m.render(),n.flags|=1,t!==null&&o?(n.child=lr(n,t.child,null,c),n.child=lr(n,null,l,c)):kt(t,n,l,c),n.memoizedState=m.state,t=n.child):t=n0(t,n,c),t}function h1(t,n,l,o){return W0(),n.flags|=256,kt(t,n,l,o),n.child}var fx={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function dx(t){return{baseLanes:t,cachePool:rd()}}function hx(t,n,l){return t=t!==null?t.childLanes&~l:0,n&&(t|=an),t}function p1(t,n,l){var o=n.pendingProps,c=!1,m=(n.flags&128)!==0,B;if((B=m)||(B=t!==null&&t.memoizedState===null?!1:(st.current&2)!==0),B&&(c=!0,n.flags&=-129),B=(n.flags&32)!==0,n.flags&=-33,t===null){if(Oe){if(c?D0(n):v0(),(t=tt)?(t=b9(t,gn),t=t!==null&&t.data!=="&"?t:null,t!==null&&(n.memoizedState={dehydrated:t,treeContext:E0!==null?{id:Rn,overflow:On}:null,retryLane:536870912,hydrationErrors:null},l=Yf(t),l.return=n,n.child=l,Dt=n,tt=null)):t=null,t===null)throw y0(n);return Kx(t)?n.lanes=32:n.lanes=536870912,null}var v=o.children;return o=o.fallback,c?(v0(),c=n.mode,v=ki({mode:"hidden",children:v},c),o=J0(o,c,l,null),v.return=n,o.return=n,v.sibling=o,n.child=v,o=n.child,o.memoizedState=dx(l),o.childLanes=hx(t,B,l),n.memoizedState=fx,Ia(null,o)):(D0(n),px(n,v))}var U=t.memoizedState;if(U!==null&&(v=U.dehydrated,v!==null)){if(m)n.flags&256?(D0(n),n.flags&=-257,n=mx(t,n,l)):n.memoizedState!==null?(v0(),n.child=t.child,n.flags|=128,n=null):(v0(),v=o.fallback,c=n.mode,o=ki({mode:"visible",children:o.children},c),v=J0(v,c,l,null),v.flags|=2,o.return=n,v.return=n,o.sibling=v,n.child=o,lr(n,t.child,null,l),o=n.child,o.memoizedState=dx(l),o.childLanes=hx(t,B,l),n.memoizedState=fx,n=Ia(null,o));else if(D0(n),Kx(v)){if(B=v.nextSibling&&v.nextSibling.dataset,B)var Q=B.dgst;B=Q,o=Error(i(419)),o.stack="",o.digest=B,Na({value:o,source:null,stack:null}),n=mx(t,n,l)}else if(dt||Ur(t,n,l,!1),B=(l&t.childLanes)!==0,dt||B){if(B=Ze,B!==null&&(o=ef(B,l),o!==0&&o!==U.retryLane))throw U.retryLane=o,Z0(t,o),Qt(B,t,o),ux;Xx(v)||ji(),n=mx(t,n,l)}else Xx(v)?(n.flags|=192,n.child=t.child,n=null):(t=U.treeContext,tt=An(v.nextSibling),Dt=n,Oe=!0,C0=null,gn=!1,t!==null&&Zf(n,t),n=px(n,o.children),n.flags|=4096);return n}return c?(v0(),v=o.fallback,c=n.mode,U=t.child,Q=U.sibling,o=Kn(U,{mode:"hidden",children:o.children}),o.subtreeFlags=U.subtreeFlags&65011712,Q!==null?v=Kn(Q,v):(v=J0(v,c,l,null),v.flags|=2),v.return=n,o.return=n,o.sibling=v,n.child=o,Ia(null,o),o=n.child,v=t.child.memoizedState,v===null?v=dx(l):(c=v.cachePool,c!==null?(U=ct._currentValue,c=c.parent!==U?{parent:U,pool:U}:c):c=rd(),v={baseLanes:v.baseLanes|l,cachePool:c}),o.memoizedState=v,o.childLanes=hx(t,B,l),n.memoizedState=fx,Ia(t.child,o)):(D0(n),l=t.child,t=l.sibling,l=Kn(l,{mode:"visible",children:o.children}),l.return=n,l.sibling=null,t!==null&&(B=n.deletions,B===null?(n.deletions=[t],n.flags|=16):B.push(t)),n.child=l,n.memoizedState=null,l)}function px(t,n){return n=ki({mode:"visible",children:n},t.mode),n.return=t,t.child=n}function ki(t,n){return t=en(22,t,null,n),t.lanes=0,t}function mx(t,n,l){return lr(n,t.child,null,l),t=px(n,n.pendingProps.children),t.flags|=2,n.memoizedState=null,t}function m1(t,n,l){t.lanes|=n;var o=t.alternate;o!==null&&(o.lanes|=n),Ns(t.return,n,l)}function Ex(t,n,l,o,c,m){var B=t.memoizedState;B===null?t.memoizedState={isBackwards:n,rendering:null,renderingStartTime:0,last:o,tail:l,tailMode:c,treeForkCount:m}:(B.isBackwards=n,B.rendering=null,B.renderingStartTime=0,B.last=o,B.tail=l,B.tailMode=c,B.treeForkCount=m)}function E1(t,n,l){var o=n.pendingProps,c=o.revealOrder,m=o.tail;o=o.children;var B=st.current,v=(B&2)!==0;if(v?(B=B&1|2,n.flags|=128):B&=1,N(st,B),kt(t,n,o,l),o=Oe?Ma:0,!v&&t!==null&&(t.flags&128)!==0)e:for(t=n.child;t!==null;){if(t.tag===13)t.memoizedState!==null&&m1(t,l,n);else if(t.tag===19)m1(t,l,n);else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===n)break e;for(;t.sibling===null;){if(t.return===null||t.return===n)break e;t=t.return}t.sibling.return=t.return,t=t.sibling}switch(c){case"forwards":for(l=n.child,c=null;l!==null;)t=l.alternate,t!==null&&hi(t)===null&&(c=l),l=l.sibling;l=c,l===null?(c=n.child,n.child=null):(c=l.sibling,l.sibling=null),Ex(n,!1,c,l,m,o);break;case"backwards":case"unstable_legacy-backwards":for(l=null,c=n.child,n.child=null;c!==null;){if(t=c.alternate,t!==null&&hi(t)===null){n.child=c;break}t=c.sibling,c.sibling=l,l=c,c=t}Ex(n,!0,l,null,m,o);break;case"together":Ex(n,!1,null,null,void 0,o);break;default:n.memoizedState=null}return n.child}function n0(t,n,l){if(t!==null&&(n.dependencies=t.dependencies),w0|=n.lanes,(l&n.childLanes)===0)if(t!==null){if(Ur(t,n,l,!1),(l&n.childLanes)===0)return null}else return null;if(t!==null&&n.child!==t.child)throw Error(i(153));if(n.child!==null){for(t=n.child,l=Kn(t,t.pendingProps),n.child=l,l.return=n;t.sibling!==null;)t=t.sibling,l=l.sibling=Kn(t,t.pendingProps),l.return=n;l.sibling=null}return n.child}function Cx(t,n){return(t.lanes&n)!==0?!0:(t=t.dependencies,!!(t!==null&&ii(t)))}function U5(t,n,l){switch(n.tag){case 3:Pe(n,n.stateNode.containerInfo),g0(n,ct,t.memoizedState.cache),W0();break;case 27:case 5:Bt(n);break;case 4:Pe(n,n.stateNode.containerInfo);break;case 10:g0(n,n.type,n.memoizedProps.value);break;case 31:if(n.memoizedState!==null)return n.flags|=128,Is(n),null;break;case 13:var o=n.memoizedState;if(o!==null)return o.dehydrated!==null?(D0(n),n.flags|=128,null):(l&n.child.childLanes)!==0?p1(t,n,l):(D0(n),t=n0(t,n,l),t!==null?t.sibling:null);D0(n);break;case 19:var c=(t.flags&128)!==0;if(o=(l&n.childLanes)!==0,o||(Ur(t,n,l,!1),o=(l&n.childLanes)!==0),c){if(o)return E1(t,n,l);n.flags|=128}if(c=n.memoizedState,c!==null&&(c.rendering=null,c.tail=null,c.lastEffect=null),N(st,st.current),o)break;return null;case 22:return n.lanes=0,x1(t,n,l,n.pendingProps);case 24:g0(n,ct,t.memoizedState.cache)}return n0(t,n,l)}function C1(t,n,l){if(t!==null)if(t.memoizedProps!==n.pendingProps)dt=!0;else{if(!Cx(t,l)&&(n.flags&128)===0)return dt=!1,U5(t,n,l);dt=(t.flags&131072)!==0}else dt=!1,Oe&&(n.flags&1048576)!==0&&Kf(n,Ma,n.index);switch(n.lanes=0,n.tag){case 16:e:{var o=n.pendingProps;if(t=rr(n.elementType),n.type=t,typeof t=="function")bs(t)?(o=or(t,o),n.tag=1,n=d1(null,n,t,o,l)):(n.tag=0,n=cx(null,n,t,o,l));else{if(t!=null){var c=t.$$typeof;if(c===_){n.tag=11,n=i1(null,n,t,o,l);break e}else if(c===T){n.tag=14,n=o1(null,n,t,o,l);break e}}throw n=Z(t)||t,Error(i(306,n,""))}}return n;case 0:return cx(t,n,n.type,n.pendingProps,l);case 1:return o=n.type,c=or(o,n.pendingProps),d1(t,n,o,c,l);case 3:e:{if(Pe(n,n.stateNode.containerInfo),t===null)throw Error(i(387));o=n.pendingProps;var m=n.memoizedState;c=m.element,Ls(t,n),La(n,o,null,l);var B=n.memoizedState;if(o=B.cache,g0(n,ct,o),o!==m.cache&&_s(n,[ct],l,!0),Oa(),o=B.element,m.isDehydrated)if(m={element:o,isDehydrated:!1,cache:B.cache},n.updateQueue.baseState=m,n.memoizedState=m,n.flags&256){n=h1(t,n,o,l);break e}else if(o!==c){c=En(Error(i(424)),n),Na(c),n=h1(t,n,o,l);break e}else for(t=n.stateNode.containerInfo,t.nodeType===9?t=t.body:t=t.nodeName==="HTML"?t.ownerDocument.body:t,tt=An(t.firstChild),Dt=n,Oe=!0,C0=null,gn=!0,l=xd(n,null,o,l),n.child=l;l;)l.flags=l.flags&-3|4096,l=l.sibling;else{if(W0(),o===c){n=n0(t,n,l);break e}kt(t,n,o,l)}n=n.child}return n;case 26:return vi(t,n),t===null?(l=S9(n.type,null,n.pendingProps,null))?n.memoizedState=l:Oe||(l=n.type,t=n.pendingProps,o=qi(xe.current).createElement(l),o[bt]=n,o[Ht]=t,Ft(o,l,t),yt(o),n.stateNode=o):n.memoizedState=S9(n.type,t.memoizedProps,n.pendingProps,t.memoizedState),null;case 27:return Bt(n),t===null&&Oe&&(o=n.stateNode=k9(n.type,n.pendingProps,xe.current),Dt=n,gn=!0,c=tt,T0(n.type)?(Zx=c,tt=An(o.firstChild)):tt=c),kt(t,n,n.pendingProps.children,l),vi(t,n),t===null&&(n.flags|=4194304),n.child;case 5:return t===null&&Oe&&((c=o=tt)&&(o=mE(o,n.type,n.pendingProps,gn),o!==null?(n.stateNode=o,Dt=n,tt=An(o.firstChild),gn=!1,c=!0):c=!1),c||y0(n)),Bt(n),c=n.type,m=n.pendingProps,B=t!==null?t.memoizedProps:null,o=m.children,Gx(c,m)?o=null:B!==null&&Gx(c,B)&&(n.flags|=32),n.memoizedState!==null&&(c=$s(t,n,N5,null,null,l),al._currentValue=c),vi(t,n),kt(t,n,o,l),n.child;case 6:return t===null&&Oe&&((t=l=tt)&&(l=EE(l,n.pendingProps,gn),l!==null?(n.stateNode=l,Dt=n,tt=null,t=!0):t=!1),t||y0(n)),null;case 13:return p1(t,n,l);case 4:return Pe(n,n.stateNode.containerInfo),o=n.pendingProps,t===null?n.child=lr(n,null,o,l):kt(t,n,o,l),n.child;case 11:return i1(t,n,n.type,n.pendingProps,l);case 7:return kt(t,n,n.pendingProps,l),n.child;case 8:return kt(t,n,n.pendingProps.children,l),n.child;case 12:return kt(t,n,n.pendingProps.children,l),n.child;case 10:return o=n.pendingProps,g0(n,n.type,o.value),kt(t,n,o.children,l),n.child;case 9:return c=n.type._context,o=n.pendingProps.children,tr(n),c=vt(c),o=o(c),n.flags|=1,kt(t,n,o,l),n.child;case 14:return o1(t,n,n.type,n.pendingProps,l);case 15:return s1(t,n,n.type,n.pendingProps,l);case 19:return E1(t,n,l);case 31:return P5(t,n,l);case 22:return x1(t,n,l,n.pendingProps);case 24:return tr(n),o=vt(ct),t===null?(c=js(),c===null&&(c=Ze,m=Ts(),c.pooledCache=m,m.refCount++,m!==null&&(c.pooledCacheLanes|=l),c=m),n.memoizedState={parent:o,cache:c},Os(n),g0(n,ct,c)):((t.lanes&l)!==0&&(Ls(t,n),La(n,null,null,l),Oa()),c=t.memoizedState,m=n.memoizedState,c.parent!==o?(c={parent:o,cache:o},n.memoizedState=c,n.lanes===0&&(n.memoizedState=n.updateQueue.baseState=c),g0(n,ct,o)):(o=m.cache,g0(n,ct,o),o!==c.cache&&_s(n,[ct],l,!0))),kt(t,n,n.pendingProps.children,l),n.child;case 29:throw n.pendingProps}throw Error(i(156,n.tag))}function r0(t){t.flags|=4}function yx(t,n,l,o,c){if((n=(t.mode&32)!==0)&&(n=!1),n){if(t.flags|=16777216,(c&335544128)===c)if(t.stateNode.complete)t.flags|=8192;else if($1())t.flags|=8192;else throw ar=ui,Rs}else t.flags&=-16777217}function y1(t,n){if(n.type!=="stylesheet"||(n.state.loading&4)!==0)t.flags&=-16777217;else if(t.flags|=16777216,!z9(n))if($1())t.flags|=8192;else throw ar=ui,Rs}function Fi(t,n){n!==null&&(t.flags|=4),t.flags&16384&&(n=t.tag!==22?Zc():536870912,t.lanes|=n,Jr|=n)}function Va(t,n){if(!Oe)switch(t.tailMode){case"hidden":n=t.tail;for(var l=null;n!==null;)n.alternate!==null&&(l=n),n=n.sibling;l===null?t.tail=null:l.sibling=null;break;case"collapsed":l=t.tail;for(var o=null;l!==null;)l.alternate!==null&&(o=l),l=l.sibling;o===null?n||t.tail===null?t.tail=null:t.tail.sibling=null:o.sibling=null}}function nt(t){var n=t.alternate!==null&&t.alternate.child===t.child,l=0,o=0;if(n)for(var c=t.child;c!==null;)l|=c.lanes|c.childLanes,o|=c.subtreeFlags&65011712,o|=c.flags&65011712,c.return=t,c=c.sibling;else for(c=t.child;c!==null;)l|=c.lanes|c.childLanes,o|=c.subtreeFlags,o|=c.flags,c.return=t,c=c.sibling;return t.subtreeFlags|=o,t.childLanes=l,n}function H5(t,n,l){var o=n.pendingProps;switch(Fs(n),n.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return nt(n),null;case 1:return nt(n),null;case 3:return l=n.stateNode,o=null,t!==null&&(o=t.memoizedState.cache),n.memoizedState.cache!==o&&(n.flags|=2048),Wn(ct),Ce(),l.pendingContext&&(l.context=l.pendingContext,l.pendingContext=null),(t===null||t.child===null)&&(Pr(n)?r0(n):t===null||t.memoizedState.isDehydrated&&(n.flags&256)===0||(n.flags|=1024,Ss())),nt(n),null;case 26:var c=n.type,m=n.memoizedState;return t===null?(r0(n),m!==null?(nt(n),y1(n,m)):(nt(n),yx(n,c,null,o,l))):m?m!==t.memoizedState?(r0(n),nt(n),y1(n,m)):(nt(n),n.flags&=-16777217):(t=t.memoizedProps,t!==o&&r0(n),nt(n),yx(n,c,t,o,l)),null;case 27:if(ot(n),l=xe.current,c=n.type,t!==null&&n.stateNode!=null)t.memoizedProps!==o&&r0(n);else{if(!o){if(n.stateNode===null)throw Error(i(166));return nt(n),null}t=ae.current,Pr(n)?Jf(n):(t=k9(c,o,l),n.stateNode=t,r0(n))}return nt(n),null;case 5:if(ot(n),c=n.type,t!==null&&n.stateNode!=null)t.memoizedProps!==o&&r0(n);else{if(!o){if(n.stateNode===null)throw Error(i(166));return nt(n),null}if(m=ae.current,Pr(n))Jf(n);else{var B=qi(xe.current);switch(m){case 1:m=B.createElementNS("http://www.w3.org/2000/svg",c);break;case 2:m=B.createElementNS("http://www.w3.org/1998/Math/MathML",c);break;default:switch(c){case"svg":m=B.createElementNS("http://www.w3.org/2000/svg",c);break;case"math":m=B.createElementNS("http://www.w3.org/1998/Math/MathML",c);break;case"script":m=B.createElement("div"),m.innerHTML="<script><\/script>",m=m.removeChild(m.firstChild);break;case"select":m=typeof o.is=="string"?B.createElement("select",{is:o.is}):B.createElement("select"),o.multiple?m.multiple=!0:o.size&&(m.size=o.size);break;default:m=typeof o.is=="string"?B.createElement(c,{is:o.is}):B.createElement(c)}}m[bt]=n,m[Ht]=o;e:for(B=n.child;B!==null;){if(B.tag===5||B.tag===6)m.appendChild(B.stateNode);else if(B.tag!==4&&B.tag!==27&&B.child!==null){B.child.return=B,B=B.child;continue}if(B===n)break e;for(;B.sibling===null;){if(B.return===null||B.return===n)break e;B=B.return}B.sibling.return=B.return,B=B.sibling}n.stateNode=m;e:switch(Ft(m,c,o),c){case"button":case"input":case"select":case"textarea":o=!!o.autoFocus;break e;case"img":o=!0;break e;default:o=!1}o&&r0(n)}}return nt(n),yx(n,n.type,t===null?null:t.memoizedProps,n.pendingProps,l),null;case 6:if(t&&n.stateNode!=null)t.memoizedProps!==o&&r0(n);else{if(typeof o!="string"&&n.stateNode===null)throw Error(i(166));if(t=xe.current,Pr(n)){if(t=n.stateNode,l=n.memoizedProps,o=null,c=Dt,c!==null)switch(c.tag){case 27:case 5:o=c.memoizedProps}t[bt]=n,t=!!(t.nodeValue===l||o!==null&&o.suppressHydrationWarning===!0||p9(t.nodeValue,l)),t||y0(n,!0)}else t=qi(t).createTextNode(o),t[bt]=n,n.stateNode=t}return nt(n),null;case 31:if(l=n.memoizedState,t===null||t.memoizedState!==null){if(o=Pr(n),l!==null){if(t===null){if(!o)throw Error(i(318));if(t=n.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(i(557));t[bt]=n}else W0(),(n.flags&128)===0&&(n.memoizedState=null),n.flags|=4;nt(n),t=!1}else l=Ss(),t!==null&&t.memoizedState!==null&&(t.memoizedState.hydrationErrors=l),t=!0;if(!t)return n.flags&256?(nn(n),n):(nn(n),null);if((n.flags&128)!==0)throw Error(i(558))}return nt(n),null;case 13:if(o=n.memoizedState,t===null||t.memoizedState!==null&&t.memoizedState.dehydrated!==null){if(c=Pr(n),o!==null&&o.dehydrated!==null){if(t===null){if(!c)throw Error(i(318));if(c=n.memoizedState,c=c!==null?c.dehydrated:null,!c)throw Error(i(317));c[bt]=n}else W0(),(n.flags&128)===0&&(n.memoizedState=null),n.flags|=4;nt(n),c=!1}else c=Ss(),t!==null&&t.memoizedState!==null&&(t.memoizedState.hydrationErrors=c),c=!0;if(!c)return n.flags&256?(nn(n),n):(nn(n),null)}return nn(n),(n.flags&128)!==0?(n.lanes=l,n):(l=o!==null,t=t!==null&&t.memoizedState!==null,l&&(o=n.child,c=null,o.alternate!==null&&o.alternate.memoizedState!==null&&o.alternate.memoizedState.cachePool!==null&&(c=o.alternate.memoizedState.cachePool.pool),m=null,o.memoizedState!==null&&o.memoizedState.cachePool!==null&&(m=o.memoizedState.cachePool.pool),m!==c&&(o.flags|=2048)),l!==t&&l&&(n.child.flags|=8192),Fi(n,n.updateQueue),nt(n),null);case 4:return Ce(),t===null&&Hx(n.stateNode.containerInfo),nt(n),null;case 10:return Wn(n.type),nt(n),null;case 19:if(W(st),o=n.memoizedState,o===null)return nt(n),null;if(c=(n.flags&128)!==0,m=o.rendering,m===null)if(c)Va(o,!1);else{if(it!==0||t!==null&&(t.flags&128)!==0)for(t=n.child;t!==null;){if(m=hi(t),m!==null){for(n.flags|=128,Va(o,!1),t=m.updateQueue,n.updateQueue=t,Fi(n,t),n.subtreeFlags=0,t=l,l=n.child;l!==null;)Qf(l,t),l=l.sibling;return N(st,st.current&1|2),Oe&&Zn(n,o.treeForkCount),n.child}t=t.sibling}o.tail!==null&&Tt()>_i&&(n.flags|=128,c=!0,Va(o,!1),n.lanes=4194304)}else{if(!c)if(t=hi(m),t!==null){if(n.flags|=128,c=!0,t=t.updateQueue,n.updateQueue=t,Fi(n,t),Va(o,!0),o.tail===null&&o.tailMode==="hidden"&&!m.alternate&&!Oe)return nt(n),null}else 2*Tt()-o.renderingStartTime>_i&&l!==536870912&&(n.flags|=128,c=!0,Va(o,!1),n.lanes=4194304);o.isBackwards?(m.sibling=n.child,n.child=m):(t=o.last,t!==null?t.sibling=m:n.child=m,o.last=m)}return o.tail!==null?(t=o.tail,o.rendering=t,o.tail=t.sibling,o.renderingStartTime=Tt(),t.sibling=null,l=st.current,N(st,c?l&1|2:l&1),Oe&&Zn(n,o.treeForkCount),t):(nt(n),null);case 22:case 23:return nn(n),qs(),o=n.memoizedState!==null,t!==null?t.memoizedState!==null!==o&&(n.flags|=8192):o&&(n.flags|=8192),o?(l&536870912)!==0&&(n.flags&128)===0&&(nt(n),n.subtreeFlags&6&&(n.flags|=8192)):nt(n),l=n.updateQueue,l!==null&&Fi(n,l.retryQueue),l=null,t!==null&&t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(l=t.memoizedState.cachePool.pool),o=null,n.memoizedState!==null&&n.memoizedState.cachePool!==null&&(o=n.memoizedState.cachePool.pool),o!==l&&(n.flags|=2048),t!==null&&W(nr),null;case 24:return l=null,t!==null&&(l=t.memoizedState.cache),n.memoizedState.cache!==l&&(n.flags|=2048),Wn(ct),nt(n),null;case 25:return null;case 30:return null}throw Error(i(156,n.tag))}function q5(t,n){switch(Fs(n),n.tag){case 1:return t=n.flags,t&65536?(n.flags=t&-65537|128,n):null;case 3:return Wn(ct),Ce(),t=n.flags,(t&65536)!==0&&(t&128)===0?(n.flags=t&-65537|128,n):null;case 26:case 27:case 5:return ot(n),null;case 31:if(n.memoizedState!==null){if(nn(n),n.alternate===null)throw Error(i(340));W0()}return t=n.flags,t&65536?(n.flags=t&-65537|128,n):null;case 13:if(nn(n),t=n.memoizedState,t!==null&&t.dehydrated!==null){if(n.alternate===null)throw Error(i(340));W0()}return t=n.flags,t&65536?(n.flags=t&-65537|128,n):null;case 19:return W(st),null;case 4:return Ce(),null;case 10:return Wn(n.type),null;case 22:case 23:return nn(n),qs(),t!==null&&W(nr),t=n.flags,t&65536?(n.flags=t&-65537|128,n):null;case 24:return Wn(ct),null;case 25:return null;default:return null}}function g1(t,n){switch(Fs(n),n.tag){case 3:Wn(ct),Ce();break;case 26:case 27:case 5:ot(n);break;case 4:Ce();break;case 31:n.memoizedState!==null&&nn(n);break;case 13:nn(n);break;case 19:W(st);break;case 10:Wn(n.type);break;case 22:case 23:nn(n),qs(),t!==null&&W(nr);break;case 24:Wn(ct)}}function $a(t,n){try{var l=n.updateQueue,o=l!==null?l.lastEffect:null;if(o!==null){var c=o.next;l=c;do{if((l.tag&t)===t){o=void 0;var m=l.create,B=l.inst;o=m(),B.destroy=o}l=l.next}while(l!==c)}}catch(v){Ge(n,n.return,v)}}function k0(t,n,l){try{var o=n.updateQueue,c=o!==null?o.lastEffect:null;if(c!==null){var m=c.next;o=m;do{if((o.tag&t)===t){var B=o.inst,v=B.destroy;if(v!==void 0){B.destroy=void 0,c=n;var U=l,Q=v;try{Q()}catch(te){Ge(c,U,te)}}}o=o.next}while(o!==m)}}catch(te){Ge(n,n.return,te)}}function B1(t){var n=t.updateQueue;if(n!==null){var l=t.stateNode;try{cd(n,l)}catch(o){Ge(t,t.return,o)}}}function A1(t,n,l){l.props=or(t.type,t.memoizedProps),l.state=t.memoizedState;try{l.componentWillUnmount()}catch(o){Ge(t,n,o)}}function Ga(t,n){try{var l=t.ref;if(l!==null){switch(t.tag){case 26:case 27:case 5:var o=t.stateNode;break;case 30:o=t.stateNode;break;default:o=t.stateNode}typeof l=="function"?t.refCleanup=l(o):l.current=o}}catch(c){Ge(t,n,c)}}function Ln(t,n){var l=t.ref,o=t.refCleanup;if(l!==null)if(typeof o=="function")try{o()}catch(c){Ge(t,n,c)}finally{t.refCleanup=null,t=t.alternate,t!=null&&(t.refCleanup=null)}else if(typeof l=="function")try{l(null)}catch(c){Ge(t,n,c)}else l.current=null}function b1(t){var n=t.type,l=t.memoizedProps,o=t.stateNode;try{e:switch(n){case"button":case"input":case"select":case"textarea":l.autoFocus&&o.focus();break e;case"img":l.src?o.src=l.src:l.srcSet&&(o.srcset=l.srcSet)}}catch(c){Ge(t,t.return,c)}}function gx(t,n,l){try{var o=t.stateNode;uE(o,t.type,l,n),o[Ht]=n}catch(c){Ge(t,t.return,c)}}function D1(t){return t.tag===5||t.tag===3||t.tag===26||t.tag===27&&T0(t.type)||t.tag===4}function Bx(t){e:for(;;){for(;t.sibling===null;){if(t.return===null||D1(t.return))return null;t=t.return}for(t.sibling.return=t.return,t=t.sibling;t.tag!==5&&t.tag!==6&&t.tag!==18;){if(t.tag===27&&T0(t.type)||t.flags&2||t.child===null||t.tag===4)continue e;t.child.return=t,t=t.child}if(!(t.flags&2))return t.stateNode}}function Ax(t,n,l){var o=t.tag;if(o===5||o===6)t=t.stateNode,n?(l.nodeType===9?l.body:l.nodeName==="HTML"?l.ownerDocument.body:l).insertBefore(t,n):(n=l.nodeType===9?l.body:l.nodeName==="HTML"?l.ownerDocument.body:l,n.appendChild(t),l=l._reactRootContainer,l!=null||n.onclick!==null||(n.onclick=Yn));else if(o!==4&&(o===27&&T0(t.type)&&(l=t.stateNode,n=null),t=t.child,t!==null))for(Ax(t,n,l),t=t.sibling;t!==null;)Ax(t,n,l),t=t.sibling}function wi(t,n,l){var o=t.tag;if(o===5||o===6)t=t.stateNode,n?l.insertBefore(t,n):l.appendChild(t);else if(o!==4&&(o===27&&T0(t.type)&&(l=t.stateNode),t=t.child,t!==null))for(wi(t,n,l),t=t.sibling;t!==null;)wi(t,n,l),t=t.sibling}function v1(t){var n=t.stateNode,l=t.memoizedProps;try{for(var o=t.type,c=n.attributes;c.length;)n.removeAttributeNode(c[0]);Ft(n,o,l),n[bt]=t,n[Ht]=l}catch(m){Ge(t,t.return,m)}}var a0=!1,ht=!1,bx=!1,k1=typeof WeakSet=="function"?WeakSet:Set,gt=null;function I5(t,n){if(t=t.containerInfo,Vx=Xi,t=Lf(t),ms(t)){if("selectionStart"in t)var l={start:t.selectionStart,end:t.selectionEnd};else e:{l=(l=t.ownerDocument)&&l.defaultView||window;var o=l.getSelection&&l.getSelection();if(o&&o.rangeCount!==0){l=o.anchorNode;var c=o.anchorOffset,m=o.focusNode;o=o.focusOffset;try{l.nodeType,m.nodeType}catch{l=null;break e}var B=0,v=-1,U=-1,Q=0,te=0,le=t,J=null;t:for(;;){for(var ee;le!==l||c!==0&&le.nodeType!==3||(v=B+c),le!==m||o!==0&&le.nodeType!==3||(U=B+o),le.nodeType===3&&(B+=le.nodeValue.length),(ee=le.firstChild)!==null;)J=le,le=ee;for(;;){if(le===t)break t;if(J===l&&++Q===c&&(v=B),J===m&&++te===o&&(U=B),(ee=le.nextSibling)!==null)break;le=J,J=le.parentNode}le=ee}l=v===-1||U===-1?null:{start:v,end:U}}else l=null}l=l||{start:0,end:0}}else l=null;for($x={focusedElem:t,selectionRange:l},Xi=!1,gt=n;gt!==null;)if(n=gt,t=n.child,(n.subtreeFlags&1028)!==0&&t!==null)t.return=n,gt=t;else for(;gt!==null;){switch(n=gt,m=n.alternate,t=n.flags,n.tag){case 0:if((t&4)!==0&&(t=n.updateQueue,t=t!==null?t.events:null,t!==null))for(l=0;l<t.length;l++)c=t[l],c.ref.impl=c.nextImpl;break;case 11:case 15:break;case 1:if((t&1024)!==0&&m!==null){t=void 0,l=n,c=m.memoizedProps,m=m.memoizedState,o=l.stateNode;try{var pe=or(l.type,c);t=o.getSnapshotBeforeUpdate(pe,m),o.__reactInternalSnapshotBeforeUpdate=t}catch(Be){Ge(l,l.return,Be)}}break;case 3:if((t&1024)!==0){if(t=n.stateNode.containerInfo,l=t.nodeType,l===9)Yx(t);else if(l===1)switch(t.nodeName){case"HEAD":case"HTML":case"BODY":Yx(t);break;default:t.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((t&1024)!==0)throw Error(i(163))}if(t=n.sibling,t!==null){t.return=n.return,gt=t;break}gt=n.return}}function F1(t,n,l){var o=l.flags;switch(l.tag){case 0:case 11:case 15:i0(t,l),o&4&&$a(5,l);break;case 1:if(i0(t,l),o&4)if(t=l.stateNode,n===null)try{t.componentDidMount()}catch(B){Ge(l,l.return,B)}else{var c=or(l.type,n.memoizedProps);n=n.memoizedState;try{t.componentDidUpdate(c,n,t.__reactInternalSnapshotBeforeUpdate)}catch(B){Ge(l,l.return,B)}}o&64&&B1(l),o&512&&Ga(l,l.return);break;case 3:if(i0(t,l),o&64&&(t=l.updateQueue,t!==null)){if(n=null,l.child!==null)switch(l.child.tag){case 27:case 5:n=l.child.stateNode;break;case 1:n=l.child.stateNode}try{cd(t,n)}catch(B){Ge(l,l.return,B)}}break;case 27:n===null&&o&4&&v1(l);case 26:case 5:i0(t,l),n===null&&o&4&&b1(l),o&512&&Ga(l,l.return);break;case 12:i0(t,l);break;case 31:i0(t,l),o&4&&M1(t,l);break;case 13:i0(t,l),o&4&&N1(t,l),o&64&&(t=l.memoizedState,t!==null&&(t=t.dehydrated,t!==null&&(l=J5.bind(null,l),CE(t,l))));break;case 22:if(o=l.memoizedState!==null||a0,!o){n=n!==null&&n.memoizedState!==null||ht,c=a0;var m=ht;a0=o,(ht=n)&&!m?o0(t,l,(l.subtreeFlags&8772)!==0):i0(t,l),a0=c,ht=m}break;case 30:break;default:i0(t,l)}}function w1(t){var n=t.alternate;n!==null&&(t.alternate=null,w1(n)),t.child=null,t.deletions=null,t.sibling=null,t.tag===5&&(n=t.stateNode,n!==null&&Wo(n)),t.stateNode=null,t.return=null,t.dependencies=null,t.memoizedProps=null,t.memoizedState=null,t.pendingProps=null,t.stateNode=null,t.updateQueue=null}var at=null,It=!1;function l0(t,n,l){for(l=l.child;l!==null;)S1(t,n,l),l=l.sibling}function S1(t,n,l){if(mt&&typeof mt.onCommitFiberUnmount=="function")try{mt.onCommitFiberUnmount(zt,l)}catch{}switch(l.tag){case 26:ht||Ln(l,n),l0(t,n,l),l.memoizedState?l.memoizedState.count--:l.stateNode&&(l=l.stateNode,l.parentNode.removeChild(l));break;case 27:ht||Ln(l,n);var o=at,c=It;T0(l.type)&&(at=l.stateNode,It=!1),l0(t,n,l),tl(l.stateNode),at=o,It=c;break;case 5:ht||Ln(l,n);case 6:if(o=at,c=It,at=null,l0(t,n,l),at=o,It=c,at!==null)if(It)try{(at.nodeType===9?at.body:at.nodeName==="HTML"?at.ownerDocument.body:at).removeChild(l.stateNode)}catch(m){Ge(l,n,m)}else try{at.removeChild(l.stateNode)}catch(m){Ge(l,n,m)}break;case 18:at!==null&&(It?(t=at,B9(t.nodeType===9?t.body:t.nodeName==="HTML"?t.ownerDocument.body:t,l.stateNode),ia(t)):B9(at,l.stateNode));break;case 4:o=at,c=It,at=l.stateNode.containerInfo,It=!0,l0(t,n,l),at=o,It=c;break;case 0:case 11:case 14:case 15:k0(2,l,n),ht||k0(4,l,n),l0(t,n,l);break;case 1:ht||(Ln(l,n),o=l.stateNode,typeof o.componentWillUnmount=="function"&&A1(l,n,o)),l0(t,n,l);break;case 21:l0(t,n,l);break;case 22:ht=(o=ht)||l.memoizedState!==null,l0(t,n,l),ht=o;break;default:l0(t,n,l)}}function M1(t,n){if(n.memoizedState===null&&(t=n.alternate,t!==null&&(t=t.memoizedState,t!==null))){t=t.dehydrated;try{ia(t)}catch(l){Ge(n,n.return,l)}}}function N1(t,n){if(n.memoizedState===null&&(t=n.alternate,t!==null&&(t=t.memoizedState,t!==null&&(t=t.dehydrated,t!==null))))try{ia(t)}catch(l){Ge(n,n.return,l)}}function V5(t){switch(t.tag){case 31:case 13:case 19:var n=t.stateNode;return n===null&&(n=t.stateNode=new k1),n;case 22:return t=t.stateNode,n=t._retryCache,n===null&&(n=t._retryCache=new k1),n;default:throw Error(i(435,t.tag))}}function Si(t,n){var l=V5(t);n.forEach(function(o){if(!l.has(o)){l.add(o);var c=W5.bind(null,t,o);o.then(c,c)}})}function Vt(t,n){var l=n.deletions;if(l!==null)for(var o=0;o<l.length;o++){var c=l[o],m=t,B=n,v=B;e:for(;v!==null;){switch(v.tag){case 27:if(T0(v.type)){at=v.stateNode,It=!1;break e}break;case 5:at=v.stateNode,It=!1;break e;case 3:case 4:at=v.stateNode.containerInfo,It=!0;break e}v=v.return}if(at===null)throw Error(i(160));S1(m,B,c),at=null,It=!1,m=c.alternate,m!==null&&(m.return=null),c.return=null}if(n.subtreeFlags&13886)for(n=n.child;n!==null;)_1(n,t),n=n.sibling}var Mn=null;function _1(t,n){var l=t.alternate,o=t.flags;switch(t.tag){case 0:case 11:case 14:case 15:Vt(n,t),$t(t),o&4&&(k0(3,t,t.return),$a(3,t),k0(5,t,t.return));break;case 1:Vt(n,t),$t(t),o&512&&(ht||l===null||Ln(l,l.return)),o&64&&a0&&(t=t.updateQueue,t!==null&&(o=t.callbacks,o!==null&&(l=t.shared.hiddenCallbacks,t.shared.hiddenCallbacks=l===null?o:l.concat(o))));break;case 26:var c=Mn;if(Vt(n,t),$t(t),o&512&&(ht||l===null||Ln(l,l.return)),o&4){var m=l!==null?l.memoizedState:null;if(o=t.memoizedState,l===null)if(o===null)if(t.stateNode===null){e:{o=t.type,l=t.memoizedProps,c=c.ownerDocument||c;t:switch(o){case"title":m=c.getElementsByTagName("title")[0],(!m||m[ya]||m[bt]||m.namespaceURI==="http://www.w3.org/2000/svg"||m.hasAttribute("itemprop"))&&(m=c.createElement(o),c.head.insertBefore(m,c.querySelector("head > title"))),Ft(m,o,l),m[bt]=t,yt(m),o=m;break e;case"link":var B=_9("link","href",c).get(o+(l.href||""));if(B){for(var v=0;v<B.length;v++)if(m=B[v],m.getAttribute("href")===(l.href==null||l.href===""?null:l.href)&&m.getAttribute("rel")===(l.rel==null?null:l.rel)&&m.getAttribute("title")===(l.title==null?null:l.title)&&m.getAttribute("crossorigin")===(l.crossOrigin==null?null:l.crossOrigin)){B.splice(v,1);break t}}m=c.createElement(o),Ft(m,o,l),c.head.appendChild(m);break;case"meta":if(B=_9("meta","content",c).get(o+(l.content||""))){for(v=0;v<B.length;v++)if(m=B[v],m.getAttribute("content")===(l.content==null?null:""+l.content)&&m.getAttribute("name")===(l.name==null?null:l.name)&&m.getAttribute("property")===(l.property==null?null:l.property)&&m.getAttribute("http-equiv")===(l.httpEquiv==null?null:l.httpEquiv)&&m.getAttribute("charset")===(l.charSet==null?null:l.charSet)){B.splice(v,1);break t}}m=c.createElement(o),Ft(m,o,l),c.head.appendChild(m);break;default:throw Error(i(468,o))}m[bt]=t,yt(m),o=m}t.stateNode=o}else T9(c,t.type,t.stateNode);else t.stateNode=N9(c,o,t.memoizedProps);else m!==o?(m===null?l.stateNode!==null&&(l=l.stateNode,l.parentNode.removeChild(l)):m.count--,o===null?T9(c,t.type,t.stateNode):N9(c,o,t.memoizedProps)):o===null&&t.stateNode!==null&&gx(t,t.memoizedProps,l.memoizedProps)}break;case 27:Vt(n,t),$t(t),o&512&&(ht||l===null||Ln(l,l.return)),l!==null&&o&4&&gx(t,t.memoizedProps,l.memoizedProps);break;case 5:if(Vt(n,t),$t(t),o&512&&(ht||l===null||Ln(l,l.return)),t.flags&32){c=t.stateNode;try{Sr(c,"")}catch(pe){Ge(t,t.return,pe)}}o&4&&t.stateNode!=null&&(c=t.memoizedProps,gx(t,c,l!==null?l.memoizedProps:c)),o&1024&&(bx=!0);break;case 6:if(Vt(n,t),$t(t),o&4){if(t.stateNode===null)throw Error(i(162));o=t.memoizedProps,l=t.stateNode;try{l.nodeValue=o}catch(pe){Ge(t,t.return,pe)}}break;case 3:if($i=null,c=Mn,Mn=Ii(n.containerInfo),Vt(n,t),Mn=c,$t(t),o&4&&l!==null&&l.memoizedState.isDehydrated)try{ia(n.containerInfo)}catch(pe){Ge(t,t.return,pe)}bx&&(bx=!1,T1(t));break;case 4:o=Mn,Mn=Ii(t.stateNode.containerInfo),Vt(n,t),$t(t),Mn=o;break;case 12:Vt(n,t),$t(t);break;case 31:Vt(n,t),$t(t),o&4&&(o=t.updateQueue,o!==null&&(t.updateQueue=null,Si(t,o)));break;case 13:Vt(n,t),$t(t),t.child.flags&8192&&t.memoizedState!==null!=(l!==null&&l.memoizedState!==null)&&(Ni=Tt()),o&4&&(o=t.updateQueue,o!==null&&(t.updateQueue=null,Si(t,o)));break;case 22:c=t.memoizedState!==null;var U=l!==null&&l.memoizedState!==null,Q=a0,te=ht;if(a0=Q||c,ht=te||U,Vt(n,t),ht=te,a0=Q,$t(t),o&8192)e:for(n=t.stateNode,n._visibility=c?n._visibility&-2:n._visibility|1,c&&(l===null||U||a0||ht||sr(t)),l=null,n=t;;){if(n.tag===5||n.tag===26){if(l===null){U=l=n;try{if(m=U.stateNode,c)B=m.style,typeof B.setProperty=="function"?B.setProperty("display","none","important"):B.display="none";else{v=U.stateNode;var le=U.memoizedProps.style,J=le!=null&&le.hasOwnProperty("display")?le.display:null;v.style.display=J==null||typeof J=="boolean"?"":(""+J).trim()}}catch(pe){Ge(U,U.return,pe)}}}else if(n.tag===6){if(l===null){U=n;try{U.stateNode.nodeValue=c?"":U.memoizedProps}catch(pe){Ge(U,U.return,pe)}}}else if(n.tag===18){if(l===null){U=n;try{var ee=U.stateNode;c?A9(ee,!0):A9(U.stateNode,!1)}catch(pe){Ge(U,U.return,pe)}}}else if((n.tag!==22&&n.tag!==23||n.memoizedState===null||n===t)&&n.child!==null){n.child.return=n,n=n.child;continue}if(n===t)break e;for(;n.sibling===null;){if(n.return===null||n.return===t)break e;l===n&&(l=null),n=n.return}l===n&&(l=null),n.sibling.return=n.return,n=n.sibling}o&4&&(o=t.updateQueue,o!==null&&(l=o.retryQueue,l!==null&&(o.retryQueue=null,Si(t,l))));break;case 19:Vt(n,t),$t(t),o&4&&(o=t.updateQueue,o!==null&&(t.updateQueue=null,Si(t,o)));break;case 30:break;case 21:break;default:Vt(n,t),$t(t)}}function $t(t){var n=t.flags;if(n&2){try{for(var l,o=t.return;o!==null;){if(D1(o)){l=o;break}o=o.return}if(l==null)throw Error(i(160));switch(l.tag){case 27:var c=l.stateNode,m=Bx(t);wi(t,m,c);break;case 5:var B=l.stateNode;l.flags&32&&(Sr(B,""),l.flags&=-33);var v=Bx(t);wi(t,v,B);break;case 3:case 4:var U=l.stateNode.containerInfo,Q=Bx(t);Ax(t,Q,U);break;default:throw Error(i(161))}}catch(te){Ge(t,t.return,te)}t.flags&=-3}n&4096&&(t.flags&=-4097)}function T1(t){if(t.subtreeFlags&1024)for(t=t.child;t!==null;){var n=t;T1(n),n.tag===5&&n.flags&1024&&n.stateNode.reset(),t=t.sibling}}function i0(t,n){if(n.subtreeFlags&8772)for(n=n.child;n!==null;)F1(t,n.alternate,n),n=n.sibling}function sr(t){for(t=t.child;t!==null;){var n=t;switch(n.tag){case 0:case 11:case 14:case 15:k0(4,n,n.return),sr(n);break;case 1:Ln(n,n.return);var l=n.stateNode;typeof l.componentWillUnmount=="function"&&A1(n,n.return,l),sr(n);break;case 27:tl(n.stateNode);case 26:case 5:Ln(n,n.return),sr(n);break;case 22:n.memoizedState===null&&sr(n);break;case 30:sr(n);break;default:sr(n)}t=t.sibling}}function o0(t,n,l){for(l=l&&(n.subtreeFlags&8772)!==0,n=n.child;n!==null;){var o=n.alternate,c=t,m=n,B=m.flags;switch(m.tag){case 0:case 11:case 15:o0(c,m,l),$a(4,m);break;case 1:if(o0(c,m,l),o=m,c=o.stateNode,typeof c.componentDidMount=="function")try{c.componentDidMount()}catch(Q){Ge(o,o.return,Q)}if(o=m,c=o.updateQueue,c!==null){var v=o.stateNode;try{var U=c.shared.hiddenCallbacks;if(U!==null)for(c.shared.hiddenCallbacks=null,c=0;c<U.length;c++)ud(U[c],v)}catch(Q){Ge(o,o.return,Q)}}l&&B&64&&B1(m),Ga(m,m.return);break;case 27:v1(m);case 26:case 5:o0(c,m,l),l&&o===null&&B&4&&b1(m),Ga(m,m.return);break;case 12:o0(c,m,l);break;case 31:o0(c,m,l),l&&B&4&&M1(c,m);break;case 13:o0(c,m,l),l&&B&4&&N1(c,m);break;case 22:m.memoizedState===null&&o0(c,m,l),Ga(m,m.return);break;case 30:break;default:o0(c,m,l)}n=n.sibling}}function Dx(t,n){var l=null;t!==null&&t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(l=t.memoizedState.cachePool.pool),t=null,n.memoizedState!==null&&n.memoizedState.cachePool!==null&&(t=n.memoizedState.cachePool.pool),t!==l&&(t!=null&&t.refCount++,l!=null&&_a(l))}function vx(t,n){t=null,n.alternate!==null&&(t=n.alternate.memoizedState.cache),n=n.memoizedState.cache,n!==t&&(n.refCount++,t!=null&&_a(t))}function Nn(t,n,l,o){if(n.subtreeFlags&10256)for(n=n.child;n!==null;)z1(t,n,l,o),n=n.sibling}function z1(t,n,l,o){var c=n.flags;switch(n.tag){case 0:case 11:case 15:Nn(t,n,l,o),c&2048&&$a(9,n);break;case 1:Nn(t,n,l,o);break;case 3:Nn(t,n,l,o),c&2048&&(t=null,n.alternate!==null&&(t=n.alternate.memoizedState.cache),n=n.memoizedState.cache,n!==t&&(n.refCount++,t!=null&&_a(t)));break;case 12:if(c&2048){Nn(t,n,l,o),t=n.stateNode;try{var m=n.memoizedProps,B=m.id,v=m.onPostCommit;typeof v=="function"&&v(B,n.alternate===null?"mount":"update",t.passiveEffectDuration,-0)}catch(U){Ge(n,n.return,U)}}else Nn(t,n,l,o);break;case 31:Nn(t,n,l,o);break;case 13:Nn(t,n,l,o);break;case 23:break;case 22:m=n.stateNode,B=n.alternate,n.memoizedState!==null?m._visibility&2?Nn(t,n,l,o):Qa(t,n):m._visibility&2?Nn(t,n,l,o):(m._visibility|=2,Xr(t,n,l,o,(n.subtreeFlags&10256)!==0||!1)),c&2048&&Dx(B,n);break;case 24:Nn(t,n,l,o),c&2048&&vx(n.alternate,n);break;default:Nn(t,n,l,o)}}function Xr(t,n,l,o,c){for(c=c&&((n.subtreeFlags&10256)!==0||!1),n=n.child;n!==null;){var m=t,B=n,v=l,U=o,Q=B.flags;switch(B.tag){case 0:case 11:case 15:Xr(m,B,v,U,c),$a(8,B);break;case 23:break;case 22:var te=B.stateNode;B.memoizedState!==null?te._visibility&2?Xr(m,B,v,U,c):Qa(m,B):(te._visibility|=2,Xr(m,B,v,U,c)),c&&Q&2048&&Dx(B.alternate,B);break;case 24:Xr(m,B,v,U,c),c&&Q&2048&&vx(B.alternate,B);break;default:Xr(m,B,v,U,c)}n=n.sibling}}function Qa(t,n){if(n.subtreeFlags&10256)for(n=n.child;n!==null;){var l=t,o=n,c=o.flags;switch(o.tag){case 22:Qa(l,o),c&2048&&Dx(o.alternate,o);break;case 24:Qa(l,o),c&2048&&vx(o.alternate,o);break;default:Qa(l,o)}n=n.sibling}}var Ya=8192;function Kr(t,n,l){if(t.subtreeFlags&Ya)for(t=t.child;t!==null;)j1(t,n,l),t=t.sibling}function j1(t,n,l){switch(t.tag){case 26:Kr(t,n,l),t.flags&Ya&&t.memoizedState!==null&&ME(l,Mn,t.memoizedState,t.memoizedProps);break;case 5:Kr(t,n,l);break;case 3:case 4:var o=Mn;Mn=Ii(t.stateNode.containerInfo),Kr(t,n,l),Mn=o;break;case 22:t.memoizedState===null&&(o=t.alternate,o!==null&&o.memoizedState!==null?(o=Ya,Ya=16777216,Kr(t,n,l),Ya=o):Kr(t,n,l));break;default:Kr(t,n,l)}}function R1(t){var n=t.alternate;if(n!==null&&(t=n.child,t!==null)){n.child=null;do n=t.sibling,t.sibling=null,t=n;while(t!==null)}}function Xa(t){var n=t.deletions;if((t.flags&16)!==0){if(n!==null)for(var l=0;l<n.length;l++){var o=n[l];gt=o,L1(o,t)}R1(t)}if(t.subtreeFlags&10256)for(t=t.child;t!==null;)O1(t),t=t.sibling}function O1(t){switch(t.tag){case 0:case 11:case 15:Xa(t),t.flags&2048&&k0(9,t,t.return);break;case 3:Xa(t);break;case 12:Xa(t);break;case 22:var n=t.stateNode;t.memoizedState!==null&&n._visibility&2&&(t.return===null||t.return.tag!==13)?(n._visibility&=-3,Mi(t)):Xa(t);break;default:Xa(t)}}function Mi(t){var n=t.deletions;if((t.flags&16)!==0){if(n!==null)for(var l=0;l<n.length;l++){var o=n[l];gt=o,L1(o,t)}R1(t)}for(t=t.child;t!==null;){switch(n=t,n.tag){case 0:case 11:case 15:k0(8,n,n.return),Mi(n);break;case 22:l=n.stateNode,l._visibility&2&&(l._visibility&=-3,Mi(n));break;default:Mi(n)}t=t.sibling}}function L1(t,n){for(;gt!==null;){var l=gt;switch(l.tag){case 0:case 11:case 15:k0(8,l,n);break;case 23:case 22:if(l.memoizedState!==null&&l.memoizedState.cachePool!==null){var o=l.memoizedState.cachePool.pool;o!=null&&o.refCount++}break;case 24:_a(l.memoizedState.cache)}if(o=l.child,o!==null)o.return=l,gt=o;else e:for(l=t;gt!==null;){o=gt;var c=o.sibling,m=o.return;if(w1(o),o===l){gt=null;break e}if(c!==null){c.return=m,gt=c;break e}gt=m}}}var $5={getCacheForType:function(t){var n=vt(ct),l=n.data.get(t);return l===void 0&&(l=t(),n.data.set(t,l)),l},cacheSignal:function(){return vt(ct).controller.signal}},G5=typeof WeakMap=="function"?WeakMap:Map,qe=0,Ze=null,_e=null,je=0,$e=0,rn=null,F0=!1,Zr=!1,kx=!1,s0=0,it=0,w0=0,xr=0,Fx=0,an=0,Jr=0,Ka=null,Gt=null,wx=!1,Ni=0,P1=0,_i=1/0,Ti=null,S0=null,Et=0,M0=null,Wr=null,x0=0,Sx=0,Mx=null,U1=null,Za=0,Nx=null;function ln(){return(qe&2)!==0&&je!==0?je&-je:P.T!==null?Ox():tf()}function H1(){if(an===0)if((je&536870912)===0||Oe){var t=Hl;Hl<<=1,(Hl&3932160)===0&&(Hl=262144),an=t}else an=536870912;return t=tn.current,t!==null&&(t.flags|=32),an}function Qt(t,n,l){(t===Ze&&($e===2||$e===9)||t.cancelPendingCommit!==null)&&(ea(t,0),N0(t,je,an,!1)),Ca(t,l),((qe&2)===0||t!==Ze)&&(t===Ze&&((qe&2)===0&&(xr|=l),it===4&&N0(t,je,an,!1)),Pn(t))}function q1(t,n,l){if((qe&6)!==0)throw Error(i(327));var o=!l&&(n&127)===0&&(n&t.expiredLanes)===0||Ea(t,n),c=o?X5(t,n):Tx(t,n,!0),m=o;do{if(c===0){Zr&&!o&&N0(t,n,0,!1);break}else{if(l=t.current.alternate,m&&!Q5(l)){c=Tx(t,n,!1),m=!1;continue}if(c===2){if(m=n,t.errorRecoveryDisabledLanes&m)var B=0;else B=t.pendingLanes&-536870913,B=B!==0?B:B&536870912?536870912:0;if(B!==0){n=B;e:{var v=t;c=Ka;var U=v.current.memoizedState.isDehydrated;if(U&&(ea(v,B).flags|=256),B=Tx(v,B,!1),B!==2){if(kx&&!U){v.errorRecoveryDisabledLanes|=m,xr|=m,c=4;break e}m=Gt,Gt=c,m!==null&&(Gt===null?Gt=m:Gt.push.apply(Gt,m))}c=B}if(m=!1,c!==2)continue}}if(c===1){ea(t,0),N0(t,n,0,!0);break}e:{switch(o=t,m=c,m){case 0:case 1:throw Error(i(345));case 4:if((n&4194048)!==n)break;case 6:N0(o,n,an,!F0);break e;case 2:Gt=null;break;case 3:case 5:break;default:throw Error(i(329))}if((n&62914560)===n&&(c=Ni+300-Tt(),10<c)){if(N0(o,n,an,!F0),Il(o,0,!0)!==0)break e;x0=n,o.timeoutHandle=y9(I1.bind(null,o,l,Gt,Ti,wx,n,an,xr,Jr,F0,m,"Throttled",-0,0),c);break e}I1(o,l,Gt,Ti,wx,n,an,xr,Jr,F0,m,null,-0,0)}}break}while(!0);Pn(t)}function I1(t,n,l,o,c,m,B,v,U,Q,te,le,J,ee){if(t.timeoutHandle=-1,le=n.subtreeFlags,le&8192||(le&16785408)===16785408){le={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:Yn},j1(n,m,le);var pe=(m&62914560)===m?Ni-Tt():(m&4194048)===m?P1-Tt():0;if(pe=NE(le,pe),pe!==null){x0=m,t.cancelPendingCommit=pe(Z1.bind(null,t,n,m,l,o,c,B,v,U,te,le,null,J,ee)),N0(t,m,B,!Q);return}}Z1(t,n,m,l,o,c,B,v,U)}function Q5(t){for(var n=t;;){var l=n.tag;if((l===0||l===11||l===15)&&n.flags&16384&&(l=n.updateQueue,l!==null&&(l=l.stores,l!==null)))for(var o=0;o<l.length;o++){var c=l[o],m=c.getSnapshot;c=c.value;try{if(!Wt(m(),c))return!1}catch{return!1}}if(l=n.child,n.subtreeFlags&16384&&l!==null)l.return=n,n=l;else{if(n===t)break;for(;n.sibling===null;){if(n.return===null||n.return===t)return!0;n=n.return}n.sibling.return=n.return,n=n.sibling}}return!0}function N0(t,n,l,o){n&=~Fx,n&=~xr,t.suspendedLanes|=n,t.pingedLanes&=~n,o&&(t.warmLanes|=n),o=t.expirationTimes;for(var c=n;0<c;){var m=31-Ke(c),B=1<<m;o[m]=-1,c&=~B}l!==0&&Jc(t,l,n)}function zi(){return(qe&6)===0?(Ja(0),!1):!0}function _x(){if(_e!==null){if($e===0)var t=_e.return;else t=_e,Jn=er=null,Ys(t),Vr=null,za=0,t=_e;for(;t!==null;)g1(t.alternate,t),t=t.return;_e=null}}function ea(t,n){var l=t.timeoutHandle;l!==-1&&(t.timeoutHandle=-1,dE(l)),l=t.cancelPendingCommit,l!==null&&(t.cancelPendingCommit=null,l()),x0=0,_x(),Ze=t,_e=l=Kn(t.current,null),je=n,$e=0,rn=null,F0=!1,Zr=Ea(t,n),kx=!1,Jr=an=Fx=xr=w0=it=0,Gt=Ka=null,wx=!1,(n&8)!==0&&(n|=n&32);var o=t.entangledLanes;if(o!==0)for(t=t.entanglements,o&=n;0<o;){var c=31-Ke(o),m=1<<c;n|=t[c],o&=~m}return s0=n,ti(),l}function V1(t,n){Fe=null,P.H=qa,n===Ir||n===xi?(n=id(),$e=3):n===Rs?(n=id(),$e=4):$e=n===ux?8:n!==null&&typeof n=="object"&&typeof n.then=="function"?6:1,rn=n,_e===null&&(it=1,bi(t,En(n,t.current)))}function $1(){var t=tn.current;return t===null?!0:(je&4194048)===je?Bn===null:(je&62914560)===je||(je&536870912)!==0?t===Bn:!1}function G1(){var t=P.H;return P.H=qa,t===null?qa:t}function Q1(){var t=P.A;return P.A=$5,t}function ji(){it=4,F0||(je&4194048)!==je&&tn.current!==null||(Zr=!0),(w0&134217727)===0&&(xr&134217727)===0||Ze===null||N0(Ze,je,an,!1)}function Tx(t,n,l){var o=qe;qe|=2;var c=G1(),m=Q1();(Ze!==t||je!==n)&&(Ti=null,ea(t,n)),n=!1;var B=it;e:do try{if($e!==0&&_e!==null){var v=_e,U=rn;switch($e){case 8:_x(),B=6;break e;case 3:case 2:case 9:case 6:tn.current===null&&(n=!0);var Q=$e;if($e=0,rn=null,ta(t,v,U,Q),l&&Zr){B=0;break e}break;default:Q=$e,$e=0,rn=null,ta(t,v,U,Q)}}Y5(),B=it;break}catch(te){V1(t,te)}while(!0);return n&&t.shellSuspendCounter++,Jn=er=null,qe=o,P.H=c,P.A=m,_e===null&&(Ze=null,je=0,ti()),B}function Y5(){for(;_e!==null;)Y1(_e)}function X5(t,n){var l=qe;qe|=2;var o=G1(),c=Q1();Ze!==t||je!==n?(Ti=null,_i=Tt()+500,ea(t,n)):Zr=Ea(t,n);e:do try{if($e!==0&&_e!==null){n=_e;var m=rn;t:switch($e){case 1:$e=0,rn=null,ta(t,n,m,1);break;case 2:case 9:if(ad(m)){$e=0,rn=null,X1(n);break}n=function(){$e!==2&&$e!==9||Ze!==t||($e=7),Pn(t)},m.then(n,n);break e;case 3:$e=7;break e;case 4:$e=5;break e;case 7:ad(m)?($e=0,rn=null,X1(n)):($e=0,rn=null,ta(t,n,m,7));break;case 5:var B=null;switch(_e.tag){case 26:B=_e.memoizedState;case 5:case 27:var v=_e;if(B?z9(B):v.stateNode.complete){$e=0,rn=null;var U=v.sibling;if(U!==null)_e=U;else{var Q=v.return;Q!==null?(_e=Q,Ri(Q)):_e=null}break t}}$e=0,rn=null,ta(t,n,m,5);break;case 6:$e=0,rn=null,ta(t,n,m,6);break;case 8:_x(),it=6;break e;default:throw Error(i(462))}}K5();break}catch(te){V1(t,te)}while(!0);return Jn=er=null,P.H=o,P.A=c,qe=l,_e!==null?0:(Ze=null,je=0,ti(),it)}function K5(){for(;_e!==null&&!Go();)Y1(_e)}function Y1(t){var n=C1(t.alternate,t,s0);t.memoizedProps=t.pendingProps,n===null?Ri(t):_e=n}function X1(t){var n=t,l=n.alternate;switch(n.tag){case 15:case 0:n=f1(l,n,n.pendingProps,n.type,void 0,je);break;case 11:n=f1(l,n,n.pendingProps,n.type.render,n.ref,je);break;case 5:Ys(n);default:g1(l,n),n=_e=Qf(n,s0),n=C1(l,n,s0)}t.memoizedProps=t.pendingProps,n===null?Ri(t):_e=n}function ta(t,n,l,o){Jn=er=null,Ys(n),Vr=null,za=0;var c=n.return;try{if(L5(t,c,n,l,je)){it=1,bi(t,En(l,t.current)),_e=null;return}}catch(m){if(c!==null)throw _e=c,m;it=1,bi(t,En(l,t.current)),_e=null;return}n.flags&32768?(Oe||o===1?t=!0:Zr||(je&536870912)!==0?t=!1:(F0=t=!0,(o===2||o===9||o===3||o===6)&&(o=tn.current,o!==null&&o.tag===13&&(o.flags|=16384))),K1(n,t)):Ri(n)}function Ri(t){var n=t;do{if((n.flags&32768)!==0){K1(n,F0);return}t=n.return;var l=H5(n.alternate,n,s0);if(l!==null){_e=l;return}if(n=n.sibling,n!==null){_e=n;return}_e=n=t}while(n!==null);it===0&&(it=5)}function K1(t,n){do{var l=q5(t.alternate,t);if(l!==null){l.flags&=32767,_e=l;return}if(l=t.return,l!==null&&(l.flags|=32768,l.subtreeFlags=0,l.deletions=null),!n&&(t=t.sibling,t!==null)){_e=t;return}_e=t=l}while(t!==null);it=6,_e=null}function Z1(t,n,l,o,c,m,B,v,U){t.cancelPendingCommit=null;do Oi();while(Et!==0);if((qe&6)!==0)throw Error(i(327));if(n!==null){if(n===t.current)throw Error(i(177));if(m=n.lanes|n.childLanes,m|=Bs,Sm(t,l,m,B,v,U),t===Ze&&(_e=Ze=null,je=0),Wr=n,M0=t,x0=l,Sx=m,Mx=c,U1=o,(n.subtreeFlags&10256)!==0||(n.flags&10256)!==0?(t.callbackNode=null,t.callbackPriority=0,eE(Ae,function(){return n9(),null})):(t.callbackNode=null,t.callbackPriority=0),o=(n.flags&13878)!==0,(n.subtreeFlags&13878)!==0||o){o=P.T,P.T=null,c=Y.p,Y.p=2,B=qe,qe|=4;try{I5(t,n,l)}finally{qe=B,Y.p=c,P.T=o}}Et=1,J1(),W1(),e9()}}function J1(){if(Et===1){Et=0;var t=M0,n=Wr,l=(n.flags&13878)!==0;if((n.subtreeFlags&13878)!==0||l){l=P.T,P.T=null;var o=Y.p;Y.p=2;var c=qe;qe|=4;try{_1(n,t);var m=$x,B=Lf(t.containerInfo),v=m.focusedElem,U=m.selectionRange;if(B!==v&&v&&v.ownerDocument&&Of(v.ownerDocument.documentElement,v)){if(U!==null&&ms(v)){var Q=U.start,te=U.end;if(te===void 0&&(te=Q),"selectionStart"in v)v.selectionStart=Q,v.selectionEnd=Math.min(te,v.value.length);else{var le=v.ownerDocument||document,J=le&&le.defaultView||window;if(J.getSelection){var ee=J.getSelection(),pe=v.textContent.length,Be=Math.min(U.start,pe),Xe=U.end===void 0?Be:Math.min(U.end,pe);!ee.extend&&Be>Xe&&(B=Xe,Xe=Be,Be=B);var V=Rf(v,Be),H=Rf(v,Xe);if(V&&H&&(ee.rangeCount!==1||ee.anchorNode!==V.node||ee.anchorOffset!==V.offset||ee.focusNode!==H.node||ee.focusOffset!==H.offset)){var G=le.createRange();G.setStart(V.node,V.offset),ee.removeAllRanges(),Be>Xe?(ee.addRange(G),ee.extend(H.node,H.offset)):(G.setEnd(H.node,H.offset),ee.addRange(G))}}}}for(le=[],ee=v;ee=ee.parentNode;)ee.nodeType===1&&le.push({element:ee,left:ee.scrollLeft,top:ee.scrollTop});for(typeof v.focus=="function"&&v.focus(),v=0;v<le.length;v++){var re=le[v];re.element.scrollLeft=re.left,re.element.scrollTop=re.top}}Xi=!!Vx,$x=Vx=null}finally{qe=c,Y.p=o,P.T=l}}t.current=n,Et=2}}function W1(){if(Et===2){Et=0;var t=M0,n=Wr,l=(n.flags&8772)!==0;if((n.subtreeFlags&8772)!==0||l){l=P.T,P.T=null;var o=Y.p;Y.p=2;var c=qe;qe|=4;try{F1(t,n.alternate,n)}finally{qe=c,Y.p=o,P.T=l}}Et=3}}function e9(){if(Et===4||Et===3){Et=0,Qo();var t=M0,n=Wr,l=x0,o=U1;(n.subtreeFlags&10256)!==0||(n.flags&10256)!==0?Et=5:(Et=0,Wr=M0=null,t9(t,t.pendingLanes));var c=t.pendingLanes;if(c===0&&(S0=null),Zo(l),n=n.stateNode,mt&&typeof mt.onCommitFiberRoot=="function")try{mt.onCommitFiberRoot(zt,n,void 0,(n.current.flags&128)===128)}catch{}if(o!==null){n=P.T,c=Y.p,Y.p=2,P.T=null;try{for(var m=t.onRecoverableError,B=0;B<o.length;B++){var v=o[B];m(v.value,{componentStack:v.stack})}}finally{P.T=n,Y.p=c}}(x0&3)!==0&&Oi(),Pn(t),c=t.pendingLanes,(l&261930)!==0&&(c&42)!==0?t===Nx?Za++:(Za=0,Nx=t):Za=0,Ja(0)}}function t9(t,n){(t.pooledCacheLanes&=n)===0&&(n=t.pooledCache,n!=null&&(t.pooledCache=null,_a(n)))}function Oi(){return J1(),W1(),e9(),n9()}function n9(){if(Et!==5)return!1;var t=M0,n=Sx;Sx=0;var l=Zo(x0),o=P.T,c=Y.p;try{Y.p=32>l?32:l,P.T=null,l=Mx,Mx=null;var m=M0,B=x0;if(Et=0,Wr=M0=null,x0=0,(qe&6)!==0)throw Error(i(331));var v=qe;if(qe|=4,O1(m.current),z1(m,m.current,B,l),qe=v,Ja(0,!1),mt&&typeof mt.onPostCommitFiberRoot=="function")try{mt.onPostCommitFiberRoot(zt,m)}catch{}return!0}finally{Y.p=c,P.T=o,t9(t,n)}}function r9(t,n,l){n=En(l,n),n=xx(t.stateNode,n,2),t=b0(t,n,2),t!==null&&(Ca(t,2),Pn(t))}function Ge(t,n,l){if(t.tag===3)r9(t,t,l);else for(;n!==null;){if(n.tag===3){r9(n,t,l);break}else if(n.tag===1){var o=n.stateNode;if(typeof n.type.getDerivedStateFromError=="function"||typeof o.componentDidCatch=="function"&&(S0===null||!S0.has(o))){t=En(l,t),l=a1(2),o=b0(n,l,2),o!==null&&(l1(l,o,n,t),Ca(o,2),Pn(o));break}}n=n.return}}function zx(t,n,l){var o=t.pingCache;if(o===null){o=t.pingCache=new G5;var c=new Set;o.set(n,c)}else c=o.get(n),c===void 0&&(c=new Set,o.set(n,c));c.has(l)||(kx=!0,c.add(l),t=Z5.bind(null,t,n,l),n.then(t,t))}function Z5(t,n,l){var o=t.pingCache;o!==null&&o.delete(n),t.pingedLanes|=t.suspendedLanes&l,t.warmLanes&=~l,Ze===t&&(je&l)===l&&(it===4||it===3&&(je&62914560)===je&&300>Tt()-Ni?(qe&2)===0&&ea(t,0):Fx|=l,Jr===je&&(Jr=0)),Pn(t)}function a9(t,n){n===0&&(n=Zc()),t=Z0(t,n),t!==null&&(Ca(t,n),Pn(t))}function J5(t){var n=t.memoizedState,l=0;n!==null&&(l=n.retryLane),a9(t,l)}function W5(t,n){var l=0;switch(t.tag){case 31:case 13:var o=t.stateNode,c=t.memoizedState;c!==null&&(l=c.retryLane);break;case 19:o=t.stateNode;break;case 22:o=t.stateNode._retryCache;break;default:throw Error(i(314))}o!==null&&o.delete(n),a9(t,l)}function eE(t,n){return Ar(t,n)}var Li=null,na=null,jx=!1,Pi=!1,Rx=!1,_0=0;function Pn(t){t!==na&&t.next===null&&(na===null?Li=na=t:na=na.next=t),Pi=!0,jx||(jx=!0,nE())}function Ja(t,n){if(!Rx&&Pi){Rx=!0;do for(var l=!1,o=Li;o!==null;){if(t!==0){var c=o.pendingLanes;if(c===0)var m=0;else{var B=o.suspendedLanes,v=o.pingedLanes;m=(1<<31-Ke(42|t)+1)-1,m&=c&~(B&~v),m=m&201326741?m&201326741|1:m?m|2:0}m!==0&&(l=!0,s9(o,m))}else m=je,m=Il(o,o===Ze?m:0,o.cancelPendingCommit!==null||o.timeoutHandle!==-1),(m&3)===0||Ea(o,m)||(l=!0,s9(o,m));o=o.next}while(l);Rx=!1}}function tE(){l9()}function l9(){Pi=jx=!1;var t=0;_0!==0&&fE()&&(t=_0);for(var n=Tt(),l=null,o=Li;o!==null;){var c=o.next,m=i9(o,n);m===0?(o.next=null,l===null?Li=c:l.next=c,c===null&&(na=l)):(l=o,(t!==0||(m&3)!==0)&&(Pi=!0)),o=c}Et!==0&&Et!==5||Ja(t),_0!==0&&(_0=0)}function i9(t,n){for(var l=t.suspendedLanes,o=t.pingedLanes,c=t.expirationTimes,m=t.pendingLanes&-62914561;0<m;){var B=31-Ke(m),v=1<<B,U=c[B];U===-1?((v&l)===0||(v&o)!==0)&&(c[B]=wm(v,n)):U<=n&&(t.expiredLanes|=v),m&=~v}if(n=Ze,l=je,l=Il(t,t===n?l:0,t.cancelPendingCommit!==null||t.timeoutHandle!==-1),o=t.callbackNode,l===0||t===n&&($e===2||$e===9)||t.cancelPendingCommit!==null)return o!==null&&o!==null&&St(o),t.callbackNode=null,t.callbackPriority=0;if((l&3)===0||Ea(t,l)){if(n=l&-l,n===t.callbackPriority)return n;switch(o!==null&&St(o),Zo(l)){case 2:case 8:l=ue;break;case 32:l=Ae;break;case 268435456:l=Ve;break;default:l=Ae}return o=o9.bind(null,t),l=Ar(l,o),t.callbackPriority=n,t.callbackNode=l,n}return o!==null&&o!==null&&St(o),t.callbackPriority=2,t.callbackNode=null,2}function o9(t,n){if(Et!==0&&Et!==5)return t.callbackNode=null,t.callbackPriority=0,null;var l=t.callbackNode;if(Oi()&&t.callbackNode!==l)return null;var o=je;return o=Il(t,t===Ze?o:0,t.cancelPendingCommit!==null||t.timeoutHandle!==-1),o===0?null:(q1(t,o,n),i9(t,Tt()),t.callbackNode!=null&&t.callbackNode===l?o9.bind(null,t):null)}function s9(t,n){if(Oi())return null;q1(t,n,!0)}function nE(){hE(function(){(qe&6)!==0?Ar(ne,tE):l9()})}function Ox(){if(_0===0){var t=Hr;t===0&&(t=Ul,Ul<<=1,(Ul&261888)===0&&(Ul=256)),_0=t}return _0}function x9(t){return t==null||typeof t=="symbol"||typeof t=="boolean"?null:typeof t=="function"?t:Ql(""+t)}function u9(t,n){var l=n.ownerDocument.createElement("input");return l.name=n.name,l.value=n.value,t.id&&l.setAttribute("form",t.id),n.parentNode.insertBefore(l,n),t=new FormData(t),l.parentNode.removeChild(l),t}function rE(t,n,l,o,c){if(n==="submit"&&l&&l.stateNode===c){var m=x9((c[Ht]||null).action),B=o.submitter;B&&(n=(n=B[Ht]||null)?x9(n.formAction):B.getAttribute("formAction"),n!==null&&(m=n,B=null));var v=new Zl("action","action",null,o,c);t.push({event:v,listeners:[{instance:null,listener:function(){if(o.defaultPrevented){if(_0!==0){var U=B?u9(c,B):new FormData(c);rx(l,{pending:!0,data:U,method:c.method,action:m},null,U)}}else typeof m=="function"&&(v.preventDefault(),U=B?u9(c,B):new FormData(c),rx(l,{pending:!0,data:U,method:c.method,action:m},m,U))},currentTarget:c}]})}}for(var Lx=0;Lx<gs.length;Lx++){var Px=gs[Lx],aE=Px.toLowerCase(),lE=Px[0].toUpperCase()+Px.slice(1);Sn(aE,"on"+lE)}Sn(Hf,"onAnimationEnd"),Sn(qf,"onAnimationIteration"),Sn(If,"onAnimationStart"),Sn("dblclick","onDoubleClick"),Sn("focusin","onFocus"),Sn("focusout","onBlur"),Sn(B5,"onTransitionRun"),Sn(A5,"onTransitionStart"),Sn(b5,"onTransitionCancel"),Sn(Vf,"onTransitionEnd"),Fr("onMouseEnter",["mouseout","mouseover"]),Fr("onMouseLeave",["mouseout","mouseover"]),Fr("onPointerEnter",["pointerout","pointerover"]),Fr("onPointerLeave",["pointerout","pointerover"]),Q0("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),Q0("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),Q0("onBeforeInput",["compositionend","keypress","textInput","paste"]),Q0("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),Q0("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),Q0("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Wa="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),iE=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Wa));function c9(t,n){n=(n&4)!==0;for(var l=0;l<t.length;l++){var o=t[l],c=o.event;o=o.listeners;e:{var m=void 0;if(n)for(var B=o.length-1;0<=B;B--){var v=o[B],U=v.instance,Q=v.currentTarget;if(v=v.listener,U!==m&&c.isPropagationStopped())break e;m=v,c.currentTarget=Q;try{m(c)}catch(te){ei(te)}c.currentTarget=null,m=U}else for(B=0;B<o.length;B++){if(v=o[B],U=v.instance,Q=v.currentTarget,v=v.listener,U!==m&&c.isPropagationStopped())break e;m=v,c.currentTarget=Q;try{m(c)}catch(te){ei(te)}c.currentTarget=null,m=U}}}}function Te(t,n){var l=n[Jo];l===void 0&&(l=n[Jo]=new Set);var o=t+"__bubble";l.has(o)||(f9(n,t,2,!1),l.add(o))}function Ux(t,n,l){var o=0;n&&(o|=4),f9(l,t,o,n)}var Ui="_reactListening"+Math.random().toString(36).slice(2);function Hx(t){if(!t[Ui]){t[Ui]=!0,af.forEach(function(l){l!=="selectionchange"&&(iE.has(l)||Ux(l,!1,t),Ux(l,!0,t))});var n=t.nodeType===9?t:t.ownerDocument;n===null||n[Ui]||(n[Ui]=!0,Ux("selectionchange",!1,n))}}function f9(t,n,l,o){switch(H9(n)){case 2:var c=zE;break;case 8:c=jE;break;default:c=nu}l=c.bind(null,n,l,t),c=void 0,!os||n!=="touchstart"&&n!=="touchmove"&&n!=="wheel"||(c=!0),o?c!==void 0?t.addEventListener(n,l,{capture:!0,passive:c}):t.addEventListener(n,l,!0):c!==void 0?t.addEventListener(n,l,{passive:c}):t.addEventListener(n,l,!1)}function qx(t,n,l,o,c){var m=o;if((n&1)===0&&(n&2)===0&&o!==null)e:for(;;){if(o===null)return;var B=o.tag;if(B===3||B===4){var v=o.stateNode.containerInfo;if(v===c)break;if(B===4)for(B=o.return;B!==null;){var U=B.tag;if((U===3||U===4)&&B.stateNode.containerInfo===c)return;B=B.return}for(;v!==null;){if(B=Dr(v),B===null)return;if(U=B.tag,U===5||U===6||U===26||U===27){o=m=B;continue e}v=v.parentNode}}o=o.return}Ef(function(){var Q=m,te=ls(l),le=[];e:{var J=$f.get(t);if(J!==void 0){var ee=Zl,pe=t;switch(t){case"keypress":if(Xl(l)===0)break e;case"keydown":case"keyup":ee=Wm;break;case"focusin":pe="focus",ee=cs;break;case"focusout":pe="blur",ee=cs;break;case"beforeblur":case"afterblur":ee=cs;break;case"click":if(l.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":ee=gf;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":ee=Hm;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":ee=n5;break;case Hf:case qf:case If:ee=Vm;break;case Vf:ee=a5;break;case"scroll":case"scrollend":ee=Pm;break;case"wheel":ee=i5;break;case"copy":case"cut":case"paste":ee=Gm;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":ee=Af;break;case"toggle":case"beforetoggle":ee=s5}var Be=(n&4)!==0,Xe=!Be&&(t==="scroll"||t==="scrollend"),V=Be?J!==null?J+"Capture":null:J;Be=[];for(var H=Q,G;H!==null;){var re=H;if(G=re.stateNode,re=re.tag,re!==5&&re!==26&&re!==27||G===null||V===null||(re=Ba(H,V),re!=null&&Be.push(el(H,re,G))),Xe)break;H=H.return}0<Be.length&&(J=new ee(J,pe,null,l,te),le.push({event:J,listeners:Be}))}}if((n&7)===0){e:{if(J=t==="mouseover"||t==="pointerover",ee=t==="mouseout"||t==="pointerout",J&&l!==as&&(pe=l.relatedTarget||l.fromElement)&&(Dr(pe)||pe[br]))break e;if((ee||J)&&(J=te.window===te?te:(J=te.ownerDocument)?J.defaultView||J.parentWindow:window,ee?(pe=l.relatedTarget||l.toElement,ee=Q,pe=pe?Dr(pe):null,pe!==null&&(Xe=x(pe),Be=pe.tag,pe!==Xe||Be!==5&&Be!==27&&Be!==6)&&(pe=null)):(ee=null,pe=Q),ee!==pe)){if(Be=gf,re="onMouseLeave",V="onMouseEnter",H="mouse",(t==="pointerout"||t==="pointerover")&&(Be=Af,re="onPointerLeave",V="onPointerEnter",H="pointer"),Xe=ee==null?J:ga(ee),G=pe==null?J:ga(pe),J=new Be(re,H+"leave",ee,l,te),J.target=Xe,J.relatedTarget=G,re=null,Dr(te)===Q&&(Be=new Be(V,H+"enter",pe,l,te),Be.target=G,Be.relatedTarget=Xe,re=Be),Xe=re,ee&&pe)t:{for(Be=oE,V=ee,H=pe,G=0,re=V;re;re=Be(re))G++;re=0;for(var ye=H;ye;ye=Be(ye))re++;for(;0<G-re;)V=Be(V),G--;for(;0<re-G;)H=Be(H),re--;for(;G--;){if(V===H||H!==null&&V===H.alternate){Be=V;break t}V=Be(V),H=Be(H)}Be=null}else Be=null;ee!==null&&d9(le,J,ee,Be,!1),pe!==null&&Xe!==null&&d9(le,Xe,pe,Be,!0)}}e:{if(J=Q?ga(Q):window,ee=J.nodeName&&J.nodeName.toLowerCase(),ee==="select"||ee==="input"&&J.type==="file")var Ue=Mf;else if(wf(J))if(Nf)Ue=C5;else{Ue=m5;var me=p5}else ee=J.nodeName,!ee||ee.toLowerCase()!=="input"||J.type!=="checkbox"&&J.type!=="radio"?Q&&rs(Q.elementType)&&(Ue=Mf):Ue=E5;if(Ue&&(Ue=Ue(t,Q))){Sf(le,Ue,l,te);break e}me&&me(t,J,Q),t==="focusout"&&Q&&J.type==="number"&&Q.memoizedProps.value!=null&&ns(J,"number",J.value)}switch(me=Q?ga(Q):window,t){case"focusin":(wf(me)||me.contentEditable==="true")&&(Tr=me,Es=Q,Sa=null);break;case"focusout":Sa=Es=Tr=null;break;case"mousedown":Cs=!0;break;case"contextmenu":case"mouseup":case"dragend":Cs=!1,Pf(le,l,te);break;case"selectionchange":if(g5)break;case"keydown":case"keyup":Pf(le,l,te)}var Se;if(ds)e:{switch(t){case"compositionstart":var Re="onCompositionStart";break e;case"compositionend":Re="onCompositionEnd";break e;case"compositionupdate":Re="onCompositionUpdate";break e}Re=void 0}else _r?kf(t,l)&&(Re="onCompositionEnd"):t==="keydown"&&l.keyCode===229&&(Re="onCompositionStart");Re&&(bf&&l.locale!=="ko"&&(_r||Re!=="onCompositionStart"?Re==="onCompositionEnd"&&_r&&(Se=Cf()):(m0=te,ss="value"in m0?m0.value:m0.textContent,_r=!0)),me=Hi(Q,Re),0<me.length&&(Re=new Bf(Re,t,null,l,te),le.push({event:Re,listeners:me}),Se?Re.data=Se:(Se=Ff(l),Se!==null&&(Re.data=Se)))),(Se=u5?c5(t,l):f5(t,l))&&(Re=Hi(Q,"onBeforeInput"),0<Re.length&&(me=new Bf("onBeforeInput","beforeinput",null,l,te),le.push({event:me,listeners:Re}),me.data=Se)),rE(le,t,Q,l,te)}c9(le,n)})}function el(t,n,l){return{instance:t,listener:n,currentTarget:l}}function Hi(t,n){for(var l=n+"Capture",o=[];t!==null;){var c=t,m=c.stateNode;if(c=c.tag,c!==5&&c!==26&&c!==27||m===null||(c=Ba(t,l),c!=null&&o.unshift(el(t,c,m)),c=Ba(t,n),c!=null&&o.push(el(t,c,m))),t.tag===3)return o;t=t.return}return[]}function oE(t){if(t===null)return null;do t=t.return;while(t&&t.tag!==5&&t.tag!==27);return t||null}function d9(t,n,l,o,c){for(var m=n._reactName,B=[];l!==null&&l!==o;){var v=l,U=v.alternate,Q=v.stateNode;if(v=v.tag,U!==null&&U===o)break;v!==5&&v!==26&&v!==27||Q===null||(U=Q,c?(Q=Ba(l,m),Q!=null&&B.unshift(el(l,Q,U))):c||(Q=Ba(l,m),Q!=null&&B.push(el(l,Q,U)))),l=l.return}B.length!==0&&t.push({event:n,listeners:B})}var sE=/\r\n?/g,xE=/\u0000|\uFFFD/g;function h9(t){return(typeof t=="string"?t:""+t).replace(sE,`
9
- `).replace(xE,"")}function p9(t,n){return n=h9(n),h9(t)===n}function Ye(t,n,l,o,c,m){switch(l){case"children":typeof o=="string"?n==="body"||n==="textarea"&&o===""||Sr(t,o):(typeof o=="number"||typeof o=="bigint")&&n!=="body"&&Sr(t,""+o);break;case"className":$l(t,"class",o);break;case"tabIndex":$l(t,"tabindex",o);break;case"dir":case"role":case"viewBox":case"width":case"height":$l(t,l,o);break;case"style":pf(t,o,m);break;case"data":if(n!=="object"){$l(t,"data",o);break}case"src":case"href":if(o===""&&(n!=="a"||l!=="href")){t.removeAttribute(l);break}if(o==null||typeof o=="function"||typeof o=="symbol"||typeof o=="boolean"){t.removeAttribute(l);break}o=Ql(""+o),t.setAttribute(l,o);break;case"action":case"formAction":if(typeof o=="function"){t.setAttribute(l,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof m=="function"&&(l==="formAction"?(n!=="input"&&Ye(t,n,"name",c.name,c,null),Ye(t,n,"formEncType",c.formEncType,c,null),Ye(t,n,"formMethod",c.formMethod,c,null),Ye(t,n,"formTarget",c.formTarget,c,null)):(Ye(t,n,"encType",c.encType,c,null),Ye(t,n,"method",c.method,c,null),Ye(t,n,"target",c.target,c,null)));if(o==null||typeof o=="symbol"||typeof o=="boolean"){t.removeAttribute(l);break}o=Ql(""+o),t.setAttribute(l,o);break;case"onClick":o!=null&&(t.onclick=Yn);break;case"onScroll":o!=null&&Te("scroll",t);break;case"onScrollEnd":o!=null&&Te("scrollend",t);break;case"dangerouslySetInnerHTML":if(o!=null){if(typeof o!="object"||!("__html"in o))throw Error(i(61));if(l=o.__html,l!=null){if(c.children!=null)throw Error(i(60));t.innerHTML=l}}break;case"multiple":t.multiple=o&&typeof o!="function"&&typeof o!="symbol";break;case"muted":t.muted=o&&typeof o!="function"&&typeof o!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(o==null||typeof o=="function"||typeof o=="boolean"||typeof o=="symbol"){t.removeAttribute("xlink:href");break}l=Ql(""+o),t.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",l);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":o!=null&&typeof o!="function"&&typeof o!="symbol"?t.setAttribute(l,""+o):t.removeAttribute(l);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":o&&typeof o!="function"&&typeof o!="symbol"?t.setAttribute(l,""):t.removeAttribute(l);break;case"capture":case"download":o===!0?t.setAttribute(l,""):o!==!1&&o!=null&&typeof o!="function"&&typeof o!="symbol"?t.setAttribute(l,o):t.removeAttribute(l);break;case"cols":case"rows":case"size":case"span":o!=null&&typeof o!="function"&&typeof o!="symbol"&&!isNaN(o)&&1<=o?t.setAttribute(l,o):t.removeAttribute(l);break;case"rowSpan":case"start":o==null||typeof o=="function"||typeof o=="symbol"||isNaN(o)?t.removeAttribute(l):t.setAttribute(l,o);break;case"popover":Te("beforetoggle",t),Te("toggle",t),Vl(t,"popover",o);break;case"xlinkActuate":Qn(t,"http://www.w3.org/1999/xlink","xlink:actuate",o);break;case"xlinkArcrole":Qn(t,"http://www.w3.org/1999/xlink","xlink:arcrole",o);break;case"xlinkRole":Qn(t,"http://www.w3.org/1999/xlink","xlink:role",o);break;case"xlinkShow":Qn(t,"http://www.w3.org/1999/xlink","xlink:show",o);break;case"xlinkTitle":Qn(t,"http://www.w3.org/1999/xlink","xlink:title",o);break;case"xlinkType":Qn(t,"http://www.w3.org/1999/xlink","xlink:type",o);break;case"xmlBase":Qn(t,"http://www.w3.org/XML/1998/namespace","xml:base",o);break;case"xmlLang":Qn(t,"http://www.w3.org/XML/1998/namespace","xml:lang",o);break;case"xmlSpace":Qn(t,"http://www.w3.org/XML/1998/namespace","xml:space",o);break;case"is":Vl(t,"is",o);break;case"innerText":case"textContent":break;default:(!(2<l.length)||l[0]!=="o"&&l[0]!=="O"||l[1]!=="n"&&l[1]!=="N")&&(l=Om.get(l)||l,Vl(t,l,o))}}function Ix(t,n,l,o,c,m){switch(l){case"style":pf(t,o,m);break;case"dangerouslySetInnerHTML":if(o!=null){if(typeof o!="object"||!("__html"in o))throw Error(i(61));if(l=o.__html,l!=null){if(c.children!=null)throw Error(i(60));t.innerHTML=l}}break;case"children":typeof o=="string"?Sr(t,o):(typeof o=="number"||typeof o=="bigint")&&Sr(t,""+o);break;case"onScroll":o!=null&&Te("scroll",t);break;case"onScrollEnd":o!=null&&Te("scrollend",t);break;case"onClick":o!=null&&(t.onclick=Yn);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!lf.hasOwnProperty(l))e:{if(l[0]==="o"&&l[1]==="n"&&(c=l.endsWith("Capture"),n=l.slice(2,c?l.length-7:void 0),m=t[Ht]||null,m=m!=null?m[l]:null,typeof m=="function"&&t.removeEventListener(n,m,c),typeof o=="function")){typeof m!="function"&&m!==null&&(l in t?t[l]=null:t.hasAttribute(l)&&t.removeAttribute(l)),t.addEventListener(n,o,c);break e}l in t?t[l]=o:o===!0?t.setAttribute(l,""):Vl(t,l,o)}}}function Ft(t,n,l){switch(n){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":Te("error",t),Te("load",t);var o=!1,c=!1,m;for(m in l)if(l.hasOwnProperty(m)){var B=l[m];if(B!=null)switch(m){case"src":o=!0;break;case"srcSet":c=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(i(137,n));default:Ye(t,n,m,B,l,null)}}c&&Ye(t,n,"srcSet",l.srcSet,l,null),o&&Ye(t,n,"src",l.src,l,null);return;case"input":Te("invalid",t);var v=m=B=c=null,U=null,Q=null;for(o in l)if(l.hasOwnProperty(o)){var te=l[o];if(te!=null)switch(o){case"name":c=te;break;case"type":B=te;break;case"checked":U=te;break;case"defaultChecked":Q=te;break;case"value":m=te;break;case"defaultValue":v=te;break;case"children":case"dangerouslySetInnerHTML":if(te!=null)throw Error(i(137,n));break;default:Ye(t,n,o,te,l,null)}}cf(t,m,v,U,Q,B,c,!1);return;case"select":Te("invalid",t),o=B=m=null;for(c in l)if(l.hasOwnProperty(c)&&(v=l[c],v!=null))switch(c){case"value":m=v;break;case"defaultValue":B=v;break;case"multiple":o=v;default:Ye(t,n,c,v,l,null)}n=m,l=B,t.multiple=!!o,n!=null?wr(t,!!o,n,!1):l!=null&&wr(t,!!o,l,!0);return;case"textarea":Te("invalid",t),m=c=o=null;for(B in l)if(l.hasOwnProperty(B)&&(v=l[B],v!=null))switch(B){case"value":o=v;break;case"defaultValue":c=v;break;case"children":m=v;break;case"dangerouslySetInnerHTML":if(v!=null)throw Error(i(91));break;default:Ye(t,n,B,v,l,null)}df(t,o,c,m);return;case"option":for(U in l)l.hasOwnProperty(U)&&(o=l[U],o!=null)&&(U==="selected"?t.selected=o&&typeof o!="function"&&typeof o!="symbol":Ye(t,n,U,o,l,null));return;case"dialog":Te("beforetoggle",t),Te("toggle",t),Te("cancel",t),Te("close",t);break;case"iframe":case"object":Te("load",t);break;case"video":case"audio":for(o=0;o<Wa.length;o++)Te(Wa[o],t);break;case"image":Te("error",t),Te("load",t);break;case"details":Te("toggle",t);break;case"embed":case"source":case"link":Te("error",t),Te("load",t);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(Q in l)if(l.hasOwnProperty(Q)&&(o=l[Q],o!=null))switch(Q){case"children":case"dangerouslySetInnerHTML":throw Error(i(137,n));default:Ye(t,n,Q,o,l,null)}return;default:if(rs(n)){for(te in l)l.hasOwnProperty(te)&&(o=l[te],o!==void 0&&Ix(t,n,te,o,l,void 0));return}}for(v in l)l.hasOwnProperty(v)&&(o=l[v],o!=null&&Ye(t,n,v,o,l,null))}function uE(t,n,l,o){switch(n){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var c=null,m=null,B=null,v=null,U=null,Q=null,te=null;for(ee in l){var le=l[ee];if(l.hasOwnProperty(ee)&&le!=null)switch(ee){case"checked":break;case"value":break;case"defaultValue":U=le;default:o.hasOwnProperty(ee)||Ye(t,n,ee,null,o,le)}}for(var J in o){var ee=o[J];if(le=l[J],o.hasOwnProperty(J)&&(ee!=null||le!=null))switch(J){case"type":m=ee;break;case"name":c=ee;break;case"checked":Q=ee;break;case"defaultChecked":te=ee;break;case"value":B=ee;break;case"defaultValue":v=ee;break;case"children":case"dangerouslySetInnerHTML":if(ee!=null)throw Error(i(137,n));break;default:ee!==le&&Ye(t,n,J,ee,o,le)}}ts(t,B,v,U,Q,te,m,c);return;case"select":ee=B=v=J=null;for(m in l)if(U=l[m],l.hasOwnProperty(m)&&U!=null)switch(m){case"value":break;case"multiple":ee=U;default:o.hasOwnProperty(m)||Ye(t,n,m,null,o,U)}for(c in o)if(m=o[c],U=l[c],o.hasOwnProperty(c)&&(m!=null||U!=null))switch(c){case"value":J=m;break;case"defaultValue":v=m;break;case"multiple":B=m;default:m!==U&&Ye(t,n,c,m,o,U)}n=v,l=B,o=ee,J!=null?wr(t,!!l,J,!1):!!o!=!!l&&(n!=null?wr(t,!!l,n,!0):wr(t,!!l,l?[]:"",!1));return;case"textarea":ee=J=null;for(v in l)if(c=l[v],l.hasOwnProperty(v)&&c!=null&&!o.hasOwnProperty(v))switch(v){case"value":break;case"children":break;default:Ye(t,n,v,null,o,c)}for(B in o)if(c=o[B],m=l[B],o.hasOwnProperty(B)&&(c!=null||m!=null))switch(B){case"value":J=c;break;case"defaultValue":ee=c;break;case"children":break;case"dangerouslySetInnerHTML":if(c!=null)throw Error(i(91));break;default:c!==m&&Ye(t,n,B,c,o,m)}ff(t,J,ee);return;case"option":for(var pe in l)J=l[pe],l.hasOwnProperty(pe)&&J!=null&&!o.hasOwnProperty(pe)&&(pe==="selected"?t.selected=!1:Ye(t,n,pe,null,o,J));for(U in o)J=o[U],ee=l[U],o.hasOwnProperty(U)&&J!==ee&&(J!=null||ee!=null)&&(U==="selected"?t.selected=J&&typeof J!="function"&&typeof J!="symbol":Ye(t,n,U,J,o,ee));return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var Be in l)J=l[Be],l.hasOwnProperty(Be)&&J!=null&&!o.hasOwnProperty(Be)&&Ye(t,n,Be,null,o,J);for(Q in o)if(J=o[Q],ee=l[Q],o.hasOwnProperty(Q)&&J!==ee&&(J!=null||ee!=null))switch(Q){case"children":case"dangerouslySetInnerHTML":if(J!=null)throw Error(i(137,n));break;default:Ye(t,n,Q,J,o,ee)}return;default:if(rs(n)){for(var Xe in l)J=l[Xe],l.hasOwnProperty(Xe)&&J!==void 0&&!o.hasOwnProperty(Xe)&&Ix(t,n,Xe,void 0,o,J);for(te in o)J=o[te],ee=l[te],!o.hasOwnProperty(te)||J===ee||J===void 0&&ee===void 0||Ix(t,n,te,J,o,ee);return}}for(var V in l)J=l[V],l.hasOwnProperty(V)&&J!=null&&!o.hasOwnProperty(V)&&Ye(t,n,V,null,o,J);for(le in o)J=o[le],ee=l[le],!o.hasOwnProperty(le)||J===ee||J==null&&ee==null||Ye(t,n,le,J,o,ee)}function m9(t){switch(t){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function cE(){if(typeof performance.getEntriesByType=="function"){for(var t=0,n=0,l=performance.getEntriesByType("resource"),o=0;o<l.length;o++){var c=l[o],m=c.transferSize,B=c.initiatorType,v=c.duration;if(m&&v&&m9(B)){for(B=0,v=c.responseEnd,o+=1;o<l.length;o++){var U=l[o],Q=U.startTime;if(Q>v)break;var te=U.transferSize,le=U.initiatorType;te&&m9(le)&&(U=U.responseEnd,B+=te*(U<v?1:(v-Q)/(U-Q)))}if(--o,n+=8*(m+B)/(c.duration/1e3),t++,10<t)break}}if(0<t)return n/t/1e6}return navigator.connection&&(t=navigator.connection.downlink,typeof t=="number")?t:5}var Vx=null,$x=null;function qi(t){return t.nodeType===9?t:t.ownerDocument}function E9(t){switch(t){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function C9(t,n){if(t===0)switch(n){case"svg":return 1;case"math":return 2;default:return 0}return t===1&&n==="foreignObject"?0:t}function Gx(t,n){return t==="textarea"||t==="noscript"||typeof n.children=="string"||typeof n.children=="number"||typeof n.children=="bigint"||typeof n.dangerouslySetInnerHTML=="object"&&n.dangerouslySetInnerHTML!==null&&n.dangerouslySetInnerHTML.__html!=null}var Qx=null;function fE(){var t=window.event;return t&&t.type==="popstate"?t===Qx?!1:(Qx=t,!0):(Qx=null,!1)}var y9=typeof setTimeout=="function"?setTimeout:void 0,dE=typeof clearTimeout=="function"?clearTimeout:void 0,g9=typeof Promise=="function"?Promise:void 0,hE=typeof queueMicrotask=="function"?queueMicrotask:typeof g9<"u"?function(t){return g9.resolve(null).then(t).catch(pE)}:y9;function pE(t){setTimeout(function(){throw t})}function T0(t){return t==="head"}function B9(t,n){var l=n,o=0;do{var c=l.nextSibling;if(t.removeChild(l),c&&c.nodeType===8)if(l=c.data,l==="/$"||l==="/&"){if(o===0){t.removeChild(c),ia(n);return}o--}else if(l==="$"||l==="$?"||l==="$~"||l==="$!"||l==="&")o++;else if(l==="html")tl(t.ownerDocument.documentElement);else if(l==="head"){l=t.ownerDocument.head,tl(l);for(var m=l.firstChild;m;){var B=m.nextSibling,v=m.nodeName;m[ya]||v==="SCRIPT"||v==="STYLE"||v==="LINK"&&m.rel.toLowerCase()==="stylesheet"||l.removeChild(m),m=B}}else l==="body"&&tl(t.ownerDocument.body);l=c}while(l);ia(n)}function A9(t,n){var l=t;t=0;do{var o=l.nextSibling;if(l.nodeType===1?n?(l._stashedDisplay=l.style.display,l.style.display="none"):(l.style.display=l._stashedDisplay||"",l.getAttribute("style")===""&&l.removeAttribute("style")):l.nodeType===3&&(n?(l._stashedText=l.nodeValue,l.nodeValue=""):l.nodeValue=l._stashedText||""),o&&o.nodeType===8)if(l=o.data,l==="/$"){if(t===0)break;t--}else l!=="$"&&l!=="$?"&&l!=="$~"&&l!=="$!"||t++;l=o}while(l)}function Yx(t){var n=t.firstChild;for(n&&n.nodeType===10&&(n=n.nextSibling);n;){var l=n;switch(n=n.nextSibling,l.nodeName){case"HTML":case"HEAD":case"BODY":Yx(l),Wo(l);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(l.rel.toLowerCase()==="stylesheet")continue}t.removeChild(l)}}function mE(t,n,l,o){for(;t.nodeType===1;){var c=l;if(t.nodeName.toLowerCase()!==n.toLowerCase()){if(!o&&(t.nodeName!=="INPUT"||t.type!=="hidden"))break}else if(o){if(!t[ya])switch(n){case"meta":if(!t.hasAttribute("itemprop"))break;return t;case"link":if(m=t.getAttribute("rel"),m==="stylesheet"&&t.hasAttribute("data-precedence"))break;if(m!==c.rel||t.getAttribute("href")!==(c.href==null||c.href===""?null:c.href)||t.getAttribute("crossorigin")!==(c.crossOrigin==null?null:c.crossOrigin)||t.getAttribute("title")!==(c.title==null?null:c.title))break;return t;case"style":if(t.hasAttribute("data-precedence"))break;return t;case"script":if(m=t.getAttribute("src"),(m!==(c.src==null?null:c.src)||t.getAttribute("type")!==(c.type==null?null:c.type)||t.getAttribute("crossorigin")!==(c.crossOrigin==null?null:c.crossOrigin))&&m&&t.hasAttribute("async")&&!t.hasAttribute("itemprop"))break;return t;default:return t}}else if(n==="input"&&t.type==="hidden"){var m=c.name==null?null:""+c.name;if(c.type==="hidden"&&t.getAttribute("name")===m)return t}else return t;if(t=An(t.nextSibling),t===null)break}return null}function EE(t,n,l){if(n==="")return null;for(;t.nodeType!==3;)if((t.nodeType!==1||t.nodeName!=="INPUT"||t.type!=="hidden")&&!l||(t=An(t.nextSibling),t===null))return null;return t}function b9(t,n){for(;t.nodeType!==8;)if((t.nodeType!==1||t.nodeName!=="INPUT"||t.type!=="hidden")&&!n||(t=An(t.nextSibling),t===null))return null;return t}function Xx(t){return t.data==="$?"||t.data==="$~"}function Kx(t){return t.data==="$!"||t.data==="$?"&&t.ownerDocument.readyState!=="loading"}function CE(t,n){var l=t.ownerDocument;if(t.data==="$~")t._reactRetry=n;else if(t.data!=="$?"||l.readyState!=="loading")n();else{var o=function(){n(),l.removeEventListener("DOMContentLoaded",o)};l.addEventListener("DOMContentLoaded",o),t._reactRetry=o}}function An(t){for(;t!=null;t=t.nextSibling){var n=t.nodeType;if(n===1||n===3)break;if(n===8){if(n=t.data,n==="$"||n==="$!"||n==="$?"||n==="$~"||n==="&"||n==="F!"||n==="F")break;if(n==="/$"||n==="/&")return null}}return t}var Zx=null;function D9(t){t=t.nextSibling;for(var n=0;t;){if(t.nodeType===8){var l=t.data;if(l==="/$"||l==="/&"){if(n===0)return An(t.nextSibling);n--}else l!=="$"&&l!=="$!"&&l!=="$?"&&l!=="$~"&&l!=="&"||n++}t=t.nextSibling}return null}function v9(t){t=t.previousSibling;for(var n=0;t;){if(t.nodeType===8){var l=t.data;if(l==="$"||l==="$!"||l==="$?"||l==="$~"||l==="&"){if(n===0)return t;n--}else l!=="/$"&&l!=="/&"||n++}t=t.previousSibling}return null}function k9(t,n,l){switch(n=qi(l),t){case"html":if(t=n.documentElement,!t)throw Error(i(452));return t;case"head":if(t=n.head,!t)throw Error(i(453));return t;case"body":if(t=n.body,!t)throw Error(i(454));return t;default:throw Error(i(451))}}function tl(t){for(var n=t.attributes;n.length;)t.removeAttributeNode(n[0]);Wo(t)}var bn=new Map,F9=new Set;function Ii(t){return typeof t.getRootNode=="function"?t.getRootNode():t.nodeType===9?t:t.ownerDocument}var u0=Y.d;Y.d={f:yE,r:gE,D:BE,C:AE,L:bE,m:DE,X:kE,S:vE,M:FE};function yE(){var t=u0.f(),n=zi();return t||n}function gE(t){var n=vr(t);n!==null&&n.tag===5&&n.type==="form"?Vd(n):u0.r(t)}var ra=typeof document>"u"?null:document;function w9(t,n,l){var o=ra;if(o&&typeof n=="string"&&n){var c=pn(n);c='link[rel="'+t+'"][href="'+c+'"]',typeof l=="string"&&(c+='[crossorigin="'+l+'"]'),F9.has(c)||(F9.add(c),t={rel:t,crossOrigin:l,href:n},o.querySelector(c)===null&&(n=o.createElement("link"),Ft(n,"link",t),yt(n),o.head.appendChild(n)))}}function BE(t){u0.D(t),w9("dns-prefetch",t,null)}function AE(t,n){u0.C(t,n),w9("preconnect",t,n)}function bE(t,n,l){u0.L(t,n,l);var o=ra;if(o&&t&&n){var c='link[rel="preload"][as="'+pn(n)+'"]';n==="image"&&l&&l.imageSrcSet?(c+='[imagesrcset="'+pn(l.imageSrcSet)+'"]',typeof l.imageSizes=="string"&&(c+='[imagesizes="'+pn(l.imageSizes)+'"]')):c+='[href="'+pn(t)+'"]';var m=c;switch(n){case"style":m=aa(t);break;case"script":m=la(t)}bn.has(m)||(t=p({rel:"preload",href:n==="image"&&l&&l.imageSrcSet?void 0:t,as:n},l),bn.set(m,t),o.querySelector(c)!==null||n==="style"&&o.querySelector(nl(m))||n==="script"&&o.querySelector(rl(m))||(n=o.createElement("link"),Ft(n,"link",t),yt(n),o.head.appendChild(n)))}}function DE(t,n){u0.m(t,n);var l=ra;if(l&&t){var o=n&&typeof n.as=="string"?n.as:"script",c='link[rel="modulepreload"][as="'+pn(o)+'"][href="'+pn(t)+'"]',m=c;switch(o){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":m=la(t)}if(!bn.has(m)&&(t=p({rel:"modulepreload",href:t},n),bn.set(m,t),l.querySelector(c)===null)){switch(o){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(l.querySelector(rl(m)))return}o=l.createElement("link"),Ft(o,"link",t),yt(o),l.head.appendChild(o)}}}function vE(t,n,l){u0.S(t,n,l);var o=ra;if(o&&t){var c=kr(o).hoistableStyles,m=aa(t);n=n||"default";var B=c.get(m);if(!B){var v={loading:0,preload:null};if(B=o.querySelector(nl(m)))v.loading=5;else{t=p({rel:"stylesheet",href:t,"data-precedence":n},l),(l=bn.get(m))&&Jx(t,l);var U=B=o.createElement("link");yt(U),Ft(U,"link",t),U._p=new Promise(function(Q,te){U.onload=Q,U.onerror=te}),U.addEventListener("load",function(){v.loading|=1}),U.addEventListener("error",function(){v.loading|=2}),v.loading|=4,Vi(B,n,o)}B={type:"stylesheet",instance:B,count:1,state:v},c.set(m,B)}}}function kE(t,n){u0.X(t,n);var l=ra;if(l&&t){var o=kr(l).hoistableScripts,c=la(t),m=o.get(c);m||(m=l.querySelector(rl(c)),m||(t=p({src:t,async:!0},n),(n=bn.get(c))&&Wx(t,n),m=l.createElement("script"),yt(m),Ft(m,"link",t),l.head.appendChild(m)),m={type:"script",instance:m,count:1,state:null},o.set(c,m))}}function FE(t,n){u0.M(t,n);var l=ra;if(l&&t){var o=kr(l).hoistableScripts,c=la(t),m=o.get(c);m||(m=l.querySelector(rl(c)),m||(t=p({src:t,async:!0,type:"module"},n),(n=bn.get(c))&&Wx(t,n),m=l.createElement("script"),yt(m),Ft(m,"link",t),l.head.appendChild(m)),m={type:"script",instance:m,count:1,state:null},o.set(c,m))}}function S9(t,n,l,o){var c=(c=xe.current)?Ii(c):null;if(!c)throw Error(i(446));switch(t){case"meta":case"title":return null;case"style":return typeof l.precedence=="string"&&typeof l.href=="string"?(n=aa(l.href),l=kr(c).hoistableStyles,o=l.get(n),o||(o={type:"style",instance:null,count:0,state:null},l.set(n,o)),o):{type:"void",instance:null,count:0,state:null};case"link":if(l.rel==="stylesheet"&&typeof l.href=="string"&&typeof l.precedence=="string"){t=aa(l.href);var m=kr(c).hoistableStyles,B=m.get(t);if(B||(c=c.ownerDocument||c,B={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},m.set(t,B),(m=c.querySelector(nl(t)))&&!m._p&&(B.instance=m,B.state.loading=5),bn.has(t)||(l={rel:"preload",as:"style",href:l.href,crossOrigin:l.crossOrigin,integrity:l.integrity,media:l.media,hrefLang:l.hrefLang,referrerPolicy:l.referrerPolicy},bn.set(t,l),m||wE(c,t,l,B.state))),n&&o===null)throw Error(i(528,""));return B}if(n&&o!==null)throw Error(i(529,""));return null;case"script":return n=l.async,l=l.src,typeof l=="string"&&n&&typeof n!="function"&&typeof n!="symbol"?(n=la(l),l=kr(c).hoistableScripts,o=l.get(n),o||(o={type:"script",instance:null,count:0,state:null},l.set(n,o)),o):{type:"void",instance:null,count:0,state:null};default:throw Error(i(444,t))}}function aa(t){return'href="'+pn(t)+'"'}function nl(t){return'link[rel="stylesheet"]['+t+"]"}function M9(t){return p({},t,{"data-precedence":t.precedence,precedence:null})}function wE(t,n,l,o){t.querySelector('link[rel="preload"][as="style"]['+n+"]")?o.loading=1:(n=t.createElement("link"),o.preload=n,n.addEventListener("load",function(){return o.loading|=1}),n.addEventListener("error",function(){return o.loading|=2}),Ft(n,"link",l),yt(n),t.head.appendChild(n))}function la(t){return'[src="'+pn(t)+'"]'}function rl(t){return"script[async]"+t}function N9(t,n,l){if(n.count++,n.instance===null)switch(n.type){case"style":var o=t.querySelector('style[data-href~="'+pn(l.href)+'"]');if(o)return n.instance=o,yt(o),o;var c=p({},l,{"data-href":l.href,"data-precedence":l.precedence,href:null,precedence:null});return o=(t.ownerDocument||t).createElement("style"),yt(o),Ft(o,"style",c),Vi(o,l.precedence,t),n.instance=o;case"stylesheet":c=aa(l.href);var m=t.querySelector(nl(c));if(m)return n.state.loading|=4,n.instance=m,yt(m),m;o=M9(l),(c=bn.get(c))&&Jx(o,c),m=(t.ownerDocument||t).createElement("link"),yt(m);var B=m;return B._p=new Promise(function(v,U){B.onload=v,B.onerror=U}),Ft(m,"link",o),n.state.loading|=4,Vi(m,l.precedence,t),n.instance=m;case"script":return m=la(l.src),(c=t.querySelector(rl(m)))?(n.instance=c,yt(c),c):(o=l,(c=bn.get(m))&&(o=p({},l),Wx(o,c)),t=t.ownerDocument||t,c=t.createElement("script"),yt(c),Ft(c,"link",o),t.head.appendChild(c),n.instance=c);case"void":return null;default:throw Error(i(443,n.type))}else n.type==="stylesheet"&&(n.state.loading&4)===0&&(o=n.instance,n.state.loading|=4,Vi(o,l.precedence,t));return n.instance}function Vi(t,n,l){for(var o=l.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),c=o.length?o[o.length-1]:null,m=c,B=0;B<o.length;B++){var v=o[B];if(v.dataset.precedence===n)m=v;else if(m!==c)break}m?m.parentNode.insertBefore(t,m.nextSibling):(n=l.nodeType===9?l.head:l,n.insertBefore(t,n.firstChild))}function Jx(t,n){t.crossOrigin==null&&(t.crossOrigin=n.crossOrigin),t.referrerPolicy==null&&(t.referrerPolicy=n.referrerPolicy),t.title==null&&(t.title=n.title)}function Wx(t,n){t.crossOrigin==null&&(t.crossOrigin=n.crossOrigin),t.referrerPolicy==null&&(t.referrerPolicy=n.referrerPolicy),t.integrity==null&&(t.integrity=n.integrity)}var $i=null;function _9(t,n,l){if($i===null){var o=new Map,c=$i=new Map;c.set(l,o)}else c=$i,o=c.get(l),o||(o=new Map,c.set(l,o));if(o.has(t))return o;for(o.set(t,null),l=l.getElementsByTagName(t),c=0;c<l.length;c++){var m=l[c];if(!(m[ya]||m[bt]||t==="link"&&m.getAttribute("rel")==="stylesheet")&&m.namespaceURI!=="http://www.w3.org/2000/svg"){var B=m.getAttribute(n)||"";B=t+B;var v=o.get(B);v?v.push(m):o.set(B,[m])}}return o}function T9(t,n,l){t=t.ownerDocument||t,t.head.insertBefore(l,n==="title"?t.querySelector("head > title"):null)}function SE(t,n,l){if(l===1||n.itemProp!=null)return!1;switch(t){case"meta":case"title":return!0;case"style":if(typeof n.precedence!="string"||typeof n.href!="string"||n.href==="")break;return!0;case"link":if(typeof n.rel!="string"||typeof n.href!="string"||n.href===""||n.onLoad||n.onError)break;return n.rel==="stylesheet"?(t=n.disabled,typeof n.precedence=="string"&&t==null):!0;case"script":if(n.async&&typeof n.async!="function"&&typeof n.async!="symbol"&&!n.onLoad&&!n.onError&&n.src&&typeof n.src=="string")return!0}return!1}function z9(t){return!(t.type==="stylesheet"&&(t.state.loading&3)===0)}function ME(t,n,l,o){if(l.type==="stylesheet"&&(typeof o.media!="string"||matchMedia(o.media).matches!==!1)&&(l.state.loading&4)===0){if(l.instance===null){var c=aa(o.href),m=n.querySelector(nl(c));if(m){n=m._p,n!==null&&typeof n=="object"&&typeof n.then=="function"&&(t.count++,t=Gi.bind(t),n.then(t,t)),l.state.loading|=4,l.instance=m,yt(m);return}m=n.ownerDocument||n,o=M9(o),(c=bn.get(c))&&Jx(o,c),m=m.createElement("link"),yt(m);var B=m;B._p=new Promise(function(v,U){B.onload=v,B.onerror=U}),Ft(m,"link",o),l.instance=m}t.stylesheets===null&&(t.stylesheets=new Map),t.stylesheets.set(l,n),(n=l.state.preload)&&(l.state.loading&3)===0&&(t.count++,l=Gi.bind(t),n.addEventListener("load",l),n.addEventListener("error",l))}}var eu=0;function NE(t,n){return t.stylesheets&&t.count===0&&Yi(t,t.stylesheets),0<t.count||0<t.imgCount?function(l){var o=setTimeout(function(){if(t.stylesheets&&Yi(t,t.stylesheets),t.unsuspend){var m=t.unsuspend;t.unsuspend=null,m()}},6e4+n);0<t.imgBytes&&eu===0&&(eu=62500*cE());var c=setTimeout(function(){if(t.waitingForImages=!1,t.count===0&&(t.stylesheets&&Yi(t,t.stylesheets),t.unsuspend)){var m=t.unsuspend;t.unsuspend=null,m()}},(t.imgBytes>eu?50:800)+n);return t.unsuspend=l,function(){t.unsuspend=null,clearTimeout(o),clearTimeout(c)}}:null}function Gi(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)Yi(this,this.stylesheets);else if(this.unsuspend){var t=this.unsuspend;this.unsuspend=null,t()}}}var Qi=null;function Yi(t,n){t.stylesheets=null,t.unsuspend!==null&&(t.count++,Qi=new Map,n.forEach(_E,t),Qi=null,Gi.call(t))}function _E(t,n){if(!(n.state.loading&4)){var l=Qi.get(t);if(l)var o=l.get(null);else{l=new Map,Qi.set(t,l);for(var c=t.querySelectorAll("link[data-precedence],style[data-precedence]"),m=0;m<c.length;m++){var B=c[m];(B.nodeName==="LINK"||B.getAttribute("media")!=="not all")&&(l.set(B.dataset.precedence,B),o=B)}o&&l.set(null,o)}c=n.instance,B=c.getAttribute("data-precedence"),m=l.get(B)||o,m===o&&l.set(null,c),l.set(B,c),this.count++,o=Gi.bind(this),c.addEventListener("load",o),c.addEventListener("error",o),m?m.parentNode.insertBefore(c,m.nextSibling):(t=t.nodeType===9?t.head:t,t.insertBefore(c,t.firstChild)),n.state.loading|=4}}var al={$$typeof:w,Provider:null,Consumer:null,_currentValue:oe,_currentValue2:oe,_threadCount:0};function TE(t,n,l,o,c,m,B,v,U){this.tag=1,this.containerInfo=t,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=Xo(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Xo(0),this.hiddenUpdates=Xo(null),this.identifierPrefix=o,this.onUncaughtError=c,this.onCaughtError=m,this.onRecoverableError=B,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=U,this.incompleteTransitions=new Map}function j9(t,n,l,o,c,m,B,v,U,Q,te,le){return t=new TE(t,n,l,B,U,Q,te,le,v),n=1,m===!0&&(n|=24),m=en(3,null,null,n),t.current=m,m.stateNode=t,n=Ts(),n.refCount++,t.pooledCache=n,n.refCount++,m.memoizedState={element:o,isDehydrated:l,cache:n},Os(m),t}function R9(t){return t?(t=Rr,t):Rr}function O9(t,n,l,o,c,m){c=R9(c),o.context===null?o.context=c:o.pendingContext=c,o=A0(n),o.payload={element:l},m=m===void 0?null:m,m!==null&&(o.callback=m),l=b0(t,o,n),l!==null&&(Qt(l,t,n),Ra(l,t,n))}function L9(t,n){if(t=t.memoizedState,t!==null&&t.dehydrated!==null){var l=t.retryLane;t.retryLane=l!==0&&l<n?l:n}}function tu(t,n){L9(t,n),(t=t.alternate)&&L9(t,n)}function P9(t){if(t.tag===13||t.tag===31){var n=Z0(t,67108864);n!==null&&Qt(n,t,67108864),tu(t,67108864)}}function U9(t){if(t.tag===13||t.tag===31){var n=ln();n=Ko(n);var l=Z0(t,n);l!==null&&Qt(l,t,n),tu(t,n)}}var Xi=!0;function zE(t,n,l,o){var c=P.T;P.T=null;var m=Y.p;try{Y.p=2,nu(t,n,l,o)}finally{Y.p=m,P.T=c}}function jE(t,n,l,o){var c=P.T;P.T=null;var m=Y.p;try{Y.p=8,nu(t,n,l,o)}finally{Y.p=m,P.T=c}}function nu(t,n,l,o){if(Xi){var c=ru(o);if(c===null)qx(t,n,o,Ki,l),q9(t,o);else if(OE(c,t,n,l,o))o.stopPropagation();else if(q9(t,o),n&4&&-1<RE.indexOf(t)){for(;c!==null;){var m=vr(c);if(m!==null)switch(m.tag){case 3:if(m=m.stateNode,m.current.memoizedState.isDehydrated){var B=G0(m.pendingLanes);if(B!==0){var v=m;for(v.pendingLanes|=2,v.entangledLanes|=2;B;){var U=1<<31-Ke(B);v.entanglements[1]|=U,B&=~U}Pn(m),(qe&6)===0&&(_i=Tt()+500,Ja(0))}}break;case 31:case 13:v=Z0(m,2),v!==null&&Qt(v,m,2),zi(),tu(m,2)}if(m=ru(o),m===null&&qx(t,n,o,Ki,l),m===c)break;c=m}c!==null&&o.stopPropagation()}else qx(t,n,o,null,l)}}function ru(t){return t=ls(t),au(t)}var Ki=null;function au(t){if(Ki=null,t=Dr(t),t!==null){var n=x(t);if(n===null)t=null;else{var l=n.tag;if(l===13){if(t=u(n),t!==null)return t;t=null}else if(l===31){if(t=f(n),t!==null)return t;t=null}else if(l===3){if(n.stateNode.current.memoizedState.isDehydrated)return n.tag===3?n.stateNode.containerInfo:null;t=null}else n!==t&&(t=null)}}return Ki=t,null}function H9(t){switch(t){case"beforetoggle":case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 2;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(Yo()){case ne:return 2;case ue:return 8;case Ae:case Ne:return 32;case Ve:return 268435456;default:return 32}default:return 32}}var lu=!1,z0=null,j0=null,R0=null,ll=new Map,il=new Map,O0=[],RE="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset".split(" ");function q9(t,n){switch(t){case"focusin":case"focusout":z0=null;break;case"dragenter":case"dragleave":j0=null;break;case"mouseover":case"mouseout":R0=null;break;case"pointerover":case"pointerout":ll.delete(n.pointerId);break;case"gotpointercapture":case"lostpointercapture":il.delete(n.pointerId)}}function ol(t,n,l,o,c,m){return t===null||t.nativeEvent!==m?(t={blockedOn:n,domEventName:l,eventSystemFlags:o,nativeEvent:m,targetContainers:[c]},n!==null&&(n=vr(n),n!==null&&P9(n)),t):(t.eventSystemFlags|=o,n=t.targetContainers,c!==null&&n.indexOf(c)===-1&&n.push(c),t)}function OE(t,n,l,o,c){switch(n){case"focusin":return z0=ol(z0,t,n,l,o,c),!0;case"dragenter":return j0=ol(j0,t,n,l,o,c),!0;case"mouseover":return R0=ol(R0,t,n,l,o,c),!0;case"pointerover":var m=c.pointerId;return ll.set(m,ol(ll.get(m)||null,t,n,l,o,c)),!0;case"gotpointercapture":return m=c.pointerId,il.set(m,ol(il.get(m)||null,t,n,l,o,c)),!0}return!1}function I9(t){var n=Dr(t.target);if(n!==null){var l=x(n);if(l!==null){if(n=l.tag,n===13){if(n=u(l),n!==null){t.blockedOn=n,nf(t.priority,function(){U9(l)});return}}else if(n===31){if(n=f(l),n!==null){t.blockedOn=n,nf(t.priority,function(){U9(l)});return}}else if(n===3&&l.stateNode.current.memoizedState.isDehydrated){t.blockedOn=l.tag===3?l.stateNode.containerInfo:null;return}}}t.blockedOn=null}function Zi(t){if(t.blockedOn!==null)return!1;for(var n=t.targetContainers;0<n.length;){var l=ru(t.nativeEvent);if(l===null){l=t.nativeEvent;var o=new l.constructor(l.type,l);as=o,l.target.dispatchEvent(o),as=null}else return n=vr(l),n!==null&&P9(n),t.blockedOn=l,!1;n.shift()}return!0}function V9(t,n,l){Zi(t)&&l.delete(n)}function LE(){lu=!1,z0!==null&&Zi(z0)&&(z0=null),j0!==null&&Zi(j0)&&(j0=null),R0!==null&&Zi(R0)&&(R0=null),ll.forEach(V9),il.forEach(V9)}function Ji(t,n){t.blockedOn===n&&(t.blockedOn=null,lu||(lu=!0,e.unstable_scheduleCallback(e.unstable_NormalPriority,LE)))}var Wi=null;function $9(t){Wi!==t&&(Wi=t,e.unstable_scheduleCallback(e.unstable_NormalPriority,function(){Wi===t&&(Wi=null);for(var n=0;n<t.length;n+=3){var l=t[n],o=t[n+1],c=t[n+2];if(typeof o!="function"){if(au(o||l)===null)continue;break}var m=vr(l);m!==null&&(t.splice(n,3),n-=3,rx(m,{pending:!0,data:c,method:l.method,action:o},o,c))}}))}function ia(t){function n(U){return Ji(U,t)}z0!==null&&Ji(z0,t),j0!==null&&Ji(j0,t),R0!==null&&Ji(R0,t),ll.forEach(n),il.forEach(n);for(var l=0;l<O0.length;l++){var o=O0[l];o.blockedOn===t&&(o.blockedOn=null)}for(;0<O0.length&&(l=O0[0],l.blockedOn===null);)I9(l),l.blockedOn===null&&O0.shift();if(l=(t.ownerDocument||t).$$reactFormReplay,l!=null)for(o=0;o<l.length;o+=3){var c=l[o],m=l[o+1],B=c[Ht]||null;if(typeof m=="function")B||$9(l);else if(B){var v=null;if(m&&m.hasAttribute("formAction")){if(c=m,B=m[Ht]||null)v=B.formAction;else if(au(c)!==null)continue}else v=B.action;typeof v=="function"?l[o+1]=v:(l.splice(o,3),o-=3),$9(l)}}}function G9(){function t(m){m.canIntercept&&m.info==="react-transition"&&m.intercept({handler:function(){return new Promise(function(B){return c=B})},focusReset:"manual",scroll:"manual"})}function n(){c!==null&&(c(),c=null),o||setTimeout(l,20)}function l(){if(!o&&!navigation.transition){var m=navigation.currentEntry;m&&m.url!=null&&navigation.navigate(m.url,{state:m.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var o=!1,c=null;return navigation.addEventListener("navigate",t),navigation.addEventListener("navigatesuccess",n),navigation.addEventListener("navigateerror",n),setTimeout(l,100),function(){o=!0,navigation.removeEventListener("navigate",t),navigation.removeEventListener("navigatesuccess",n),navigation.removeEventListener("navigateerror",n),c!==null&&(c(),c=null)}}}function iu(t){this._internalRoot=t}eo.prototype.render=iu.prototype.render=function(t){var n=this._internalRoot;if(n===null)throw Error(i(409));var l=n.current,o=ln();O9(l,o,t,n,null,null)},eo.prototype.unmount=iu.prototype.unmount=function(){var t=this._internalRoot;if(t!==null){this._internalRoot=null;var n=t.containerInfo;O9(t.current,2,null,t,null,null),zi(),n[br]=null}};function eo(t){this._internalRoot=t}eo.prototype.unstable_scheduleHydration=function(t){if(t){var n=tf();t={blockedOn:null,target:t,priority:n};for(var l=0;l<O0.length&&n!==0&&n<O0[l].priority;l++);O0.splice(l,0,t),l===0&&I9(t)}};var Q9=r.version;if(Q9!=="19.2.7")throw Error(i(527,Q9,"19.2.7"));Y.findDOMNode=function(t){var n=t._reactInternals;if(n===void 0)throw typeof t.render=="function"?Error(i(188)):(t=Object.keys(t).join(","),Error(i(268,t)));return t=h(n),t=t!==null?E(t):null,t=t===null?null:t.stateNode,t};var PE={bundleType:0,version:"19.2.7",rendererPackageName:"react-dom",currentDispatcherRef:P,reconcilerVersion:"19.2.7"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var to=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!to.isDisabled&&to.supportsFiber)try{zt=to.inject(PE),mt=to}catch{}}return xl.createRoot=function(t,n){if(!s(t))throw Error(i(299));var l=!1,o="",c=e1,m=t1,B=n1;return n!=null&&(n.unstable_strictMode===!0&&(l=!0),n.identifierPrefix!==void 0&&(o=n.identifierPrefix),n.onUncaughtError!==void 0&&(c=n.onUncaughtError),n.onCaughtError!==void 0&&(m=n.onCaughtError),n.onRecoverableError!==void 0&&(B=n.onRecoverableError)),n=j9(t,1,!1,null,null,l,o,null,c,m,B,G9),t[br]=n.current,Hx(t),new iu(n)},xl.hydrateRoot=function(t,n,l){if(!s(t))throw Error(i(299));var o=!1,c="",m=e1,B=t1,v=n1,U=null;return l!=null&&(l.unstable_strictMode===!0&&(o=!0),l.identifierPrefix!==void 0&&(c=l.identifierPrefix),l.onUncaughtError!==void 0&&(m=l.onUncaughtError),l.onCaughtError!==void 0&&(B=l.onCaughtError),l.onRecoverableError!==void 0&&(v=l.onRecoverableError),l.formState!==void 0&&(U=l.formState)),n=j9(t,1,!0,n,l??null,o,c,U,m,B,v,G9),n.context=R9(null),l=n.current,o=ln(),o=Ko(o),c=A0(o),c.callback=null,b0(l,c,o),l=o,n.current.lanes=l,Ca(n,l),Pn(n),t[br]=n.current,Hx(t),new eo(n)},xl.version="19.2.7",xl}var dh;function T6(){if(dh)return xu.exports;dh=1;function e(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(r){console.error(r)}}return e(),xu.exports=_6(),xu.exports}var z6=T6();var hc=/^(?:[a-z][a-z0-9+.-]*:|[\\/]{2})/i,J8=/^[\\/]{2}/;function j6(e,r){return r+e.replace(/\\/g,"/")}var hh="popstate";function ph(e){return typeof e=="object"&&e!=null&&"pathname"in e&&"search"in e&&"hash"in e&&"state"in e&&"key"in e}function R6(e={}){function r(i,s){let x=s.state?.masked,{pathname:u,search:f,hash:d}=x||i.location;return Gu("",{pathname:u,search:f,hash:d},s.state&&s.state.usr||null,s.state&&s.state.key||"default",x?{pathname:i.location.pathname,search:i.location.search,hash:i.location.hash}:void 0)}function a(i,s){return typeof s=="string"?s:kl(s)}return L6(r,a,null,e)}function rt(e,r){if(e===!1||e===null||typeof e>"u")throw new Error(r)}function vn(e,r){if(!e){typeof console<"u"&&console.warn(r);try{throw new Error(r)}catch{}}}function O6(){return Math.random().toString(36).substring(2,10)}function mh(e,r){return{usr:e.state,key:e.key,idx:r,masked:e.mask?{pathname:e.pathname,search:e.search,hash:e.hash}:void 0}}function Gu(e,r,a=null,i,s){return{pathname:typeof e=="string"?e:e.pathname,search:"",hash:"",...typeof r=="string"?ca(r):r,state:a,key:r&&r.key||i||O6(),mask:s}}function kl({pathname:e="/",search:r="",hash:a=""}){return r&&r!=="?"&&(e+=r.charAt(0)==="?"?r:"?"+r),a&&a!=="#"&&(e+=a.charAt(0)==="#"?a:"#"+a),e}function ca(e){let r={};if(e){let a=e.indexOf("#");a>=0&&(r.hash=e.substring(a),e=e.substring(0,a));let i=e.indexOf("?");i>=0&&(r.search=e.substring(i),e=e.substring(0,i)),e&&(r.pathname=e)}return r}function L6(e,r,a,i={}){let{window:s=document.defaultView,v5Compat:x=!1}=i,u=s.history,f="POP",d=null,h=E();h==null&&(h=0,u.replaceState({...u.state,idx:h},""));function E(){return(u.state||{idx:null}).idx}function p(){f="POP";let D=E(),F=D==null?null:D-h;h=D,d&&d({action:f,location:b.location,delta:F})}function y(D,F){f="PUSH";let O=ph(D)?D:Gu(b.location,D,F);h=E()+1;let w=mh(O,h),_=b.createHref(O.mask||O);try{u.pushState(w,"",_)}catch(R){if(R instanceof DOMException&&R.name==="DataCloneError")throw R;s.location.assign(_)}x&&d&&d({action:f,location:b.location,delta:1})}function C(D,F){f="REPLACE";let O=ph(D)?D:Gu(b.location,D,F);h=E();let w=mh(O,h),_=b.createHref(O.mask||O);u.replaceState(w,"",_),x&&d&&d({action:f,location:b.location,delta:0})}function A(D){return P6(s,D)}let b={get action(){return f},get location(){return e(s,u)},listen(D){if(d)throw new Error("A history only accepts one active listener");return s.addEventListener(hh,p),d=D,()=>{s.removeEventListener(hh,p),d=null}},createHref(D){return r(s,D)},createURL:A,encodeLocation(D){let F=A(D);return{pathname:F.pathname,search:F.search,hash:F.hash}},push:y,replace:C,go(D){return u.go(D)}};return b}function P6(e,r,a=!1){let i="http://localhost";e&&(i=e.location.origin!=="null"?e.location.origin:e.location.href),rt(i,"No window.location.(origin|href) available to create URL");let s=typeof r=="string"?r:kl(r);return s=s.replace(/ $/,"%20"),!a&&J8.test(s)&&(s=i+s),new URL(s,i)}function W8(e,r,a="/"){return U6(e,r,a,!1)}function U6(e,r,a,i,s){let x=typeof r=="string"?ca(r):r,u=f0(x.pathname||"/",a);if(u==null)return null;let f=H6(e),d=null,h=a2(u);for(let E=0;d==null&&E<f.length;++E)d=Z6(f[E],h,i);return d}function H6(e){let r=e2(e);return q6(r),r}function e2(e,r=[],a=[],i="",s=!1){let x=(u,f,d=s,h)=>{let E={relativePath:h===void 0?u.path||"":h,caseSensitive:u.caseSensitive===!0,childrenIndex:f,route:u};if(E.relativePath.startsWith("/")){if(!E.relativePath.startsWith(i)&&d)return;rt(E.relativePath.startsWith(i),`Absolute route path "${E.relativePath}" nested under path "${i}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),E.relativePath=E.relativePath.slice(i.length)}let p=_n([i,E.relativePath]),y=a.concat(E);u.children&&u.children.length>0&&(rt(u.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${p}".`),e2(u.children,r,y,p,d)),!(u.path==null&&!u.index)&&r.push({path:p,score:X6(p,u.index),routesMeta:y.map((C,A)=>{let[b,D]=r2(C.relativePath,C.caseSensitive,A===y.length-1);return{...C,matcher:b,compiledParams:D}})})};return e.forEach((u,f)=>{if(u.path===""||!u.path?.includes("?"))x(u,f);else for(let d of t2(u.path))x(u,f,!0,d)}),r}function t2(e){let r=e.split("/");if(r.length===0)return[];let[a,...i]=r,s=a.endsWith("?"),x=a.replace(/\?$/,"");if(i.length===0)return s?[x,""]:[x];let u=t2(i.join("/")),f=[];return f.push(...u.map(d=>d===""?x:[x,d].join("/"))),s&&f.push(...u),f.map(d=>e.startsWith("/")&&d===""?"/":d)}function q6(e){e.sort((r,a)=>r.score!==a.score?a.score-r.score:K6(r.routesMeta.map(i=>i.childrenIndex),a.routesMeta.map(i=>i.childrenIndex)))}var I6=/^:[\w-]+$/,V6=3,$6=2,G6=1,Q6=10,Y6=-2,Eh=e=>e==="*";function X6(e,r){let a=e.split("/"),i=a.length;return a.some(Eh)&&(i+=Y6),r&&(i+=$6),a.filter(s=>!Eh(s)).reduce((s,x)=>s+(I6.test(x)?V6:x===""?G6:Q6),i)}function K6(e,r){return e.length===r.length&&e.slice(0,-1).every((i,s)=>i===r[s])?e[e.length-1]-r[r.length-1]:0}function Z6(e,r,a=!1){let{routesMeta:i}=e,s={},x="/",u=[];for(let f=0;f<i.length;++f){let d=i[f],h=f===i.length-1,E=x==="/"?r:r.slice(x.length)||"/",p={path:d.relativePath,caseSensitive:d.caseSensitive,end:h},y=d.matcher&&d.compiledParams?n2(p,E,d.matcher,d.compiledParams):Fl(p,E),C=d.route;if(!y&&h&&a&&!i[i.length-1].route.index&&(y=Fl({path:d.relativePath,caseSensitive:d.caseSensitive,end:!1},E)),!y)return null;Object.assign(s,y.params),u.push({params:s,pathname:_n([x,y.pathname]),pathnameBase:e4(_n([x,y.pathnameBase])),route:C}),y.pathnameBase!=="/"&&(x=_n([x,y.pathnameBase]))}return u}function Fl(e,r){typeof e=="string"&&(e={path:e,caseSensitive:!1,end:!0});let[a,i]=r2(e.path,e.caseSensitive,e.end);return n2(e,r,a,i)}function n2(e,r,a,i){let s=r.match(a);if(!s)return null;let x=s[0],u=x.replace(/(.)\/+$/,"$1"),f=s.slice(1);return{params:i.reduce((h,{paramName:E,isOptional:p},y)=>{if(E==="*"){let A=f[y]||"";u=x.slice(0,x.length-A.length).replace(/(.)\/+$/,"$1")}const C=f[y];return p&&!C?h[E]=void 0:h[E]=(C||"").replace(/%2F/g,"/"),h},{}),pathname:x,pathnameBase:u,pattern:e}}function r2(e,r=!1,a=!0){vn(e==="*"||!e.endsWith("*")||e.endsWith("/*"),`Route path "${e}" will be treated as if it were "${e.replace(/\*$/,"/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${e.replace(/\*$/,"/*")}".`);let i=[],s="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(u,f,d,h,E)=>{if(i.push({paramName:f,isOptional:d!=null}),d){let p=E.charAt(h+u.length);return p&&p!=="/"?"/([^\\/]*)":"(?:/([^\\/]*))?"}return"/([^\\/]+)"}).replace(/\/([\w-]+)\?(\/|$)/g,"(/$1)?$2");return e.endsWith("*")?(i.push({paramName:"*"}),s+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):a?s+="\\/*$":e!==""&&e!=="/"&&(s+="(?:(?=\\/|$))"),[new RegExp(s,r?void 0:"i"),i]}function a2(e){try{return e.split("/").map(r=>decodeURIComponent(r).replace(/\//g,"%2F")).join("/")}catch(r){return vn(!1,`The URL path "${e}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${r}).`),e}}function f0(e,r){if(r==="/")return e;if(!e.toLowerCase().startsWith(r.toLowerCase()))return null;let a=r.endsWith("/")?r.length-1:r.length,i=e.charAt(a);return i&&i!=="/"?null:e.slice(a)||"/"}function J6(e,r="/"){let{pathname:a,search:i="",hash:s=""}=typeof e=="string"?ca(e):e,x;return a?(a=l2(a),a.startsWith("/")?x=Ch(a.substring(1),"/"):x=Ch(a,r)):x=r,{pathname:x,search:t4(i),hash:n4(s)}}function Ch(e,r){let a=Ao(r).split("/");return e.split("/").forEach(s=>{s===".."?a.length>1&&a.pop():s!=="."&&a.push(s)}),a.length>1?a.join("/"):"/"}function du(e,r,a,i){return`Cannot include a '${e}' character in a manually specified \`to.${r}\` field [${JSON.stringify(i)}]. Please separate it out to the \`to.${a}\` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.`}function W6(e){return e.filter((r,a)=>a===0||r.route.path&&r.route.path.length>0)}function pc(e){let r=W6(e);return r.map((a,i)=>i===r.length-1?a.pathname:a.pathnameBase)}function jo(e,r,a,i=!1){let s;typeof e=="string"?s=ca(e):(s={...e},rt(!s.pathname||!s.pathname.includes("?"),du("?","pathname","search",s)),rt(!s.pathname||!s.pathname.includes("#"),du("#","pathname","hash",s)),rt(!s.search||!s.search.includes("#"),du("#","search","hash",s)));let x=e===""||s.pathname==="",u=x?"/":s.pathname,f;if(u==null)f=a;else{let p=r.length-1;if(!i&&u.startsWith("..")){let y=u.split("/");for(;y[0]==="..";)y.shift(),p-=1;s.pathname=y.join("/")}f=p>=0?r[p]:"/"}let d=J6(s,f),h=u&&u!=="/"&&u.endsWith("/"),E=(x||u===".")&&a.endsWith("/");return!d.pathname.endsWith("/")&&(h||E)&&(d.pathname+="/"),d}var l2=e=>e.replace(/[\\/]{2,}/g,"/"),_n=e=>l2(e.join("/")),Ao=e=>e.replace(/\/+$/,""),e4=e=>Ao(e).replace(/^\/*/,"/"),t4=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,n4=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e,r4=class{constructor(e,r,a,i=!1){this.status=e,this.statusText=r||"",this.internal=i,a instanceof Error?(this.data=a.toString(),this.error=a):this.data=a}};function a4(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}function l4(e){let r=e.map(a=>a.route.path).filter(Boolean);return _n(r)||"/"}var i2=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";function o2(e,r){let a=e;if(typeof a!="string"||!hc.test(a))return{absoluteURL:void 0,isExternal:!1,to:a};let i=a,s=!1;if(i2)try{let x=new URL(window.location.href),u=J8.test(a)?new URL(j6(a,x.protocol)):new URL(a),f=f0(u.pathname,r);u.origin===x.origin&&f!=null?a=f+u.search+u.hash:s=!0}catch{vn(!1,`<Link to="${a}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}return{absoluteURL:i,isExternal:s,to:a}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");var s2=["POST","PUT","PATCH","DELETE"];new Set(s2);var i4=["GET",...s2];new Set(i4);var o4=["about:","blob:","chrome:","chrome-untrusted:","content:","data:","devtools:","file:","filesystem:","javascript:"];function s4(e){try{return o4.includes(new URL(e).protocol)}catch{return!1}}var fa=z.createContext(null);fa.displayName="DataRouter";var Ro=z.createContext(null);Ro.displayName="DataRouterState";var x2=z.createContext(!1);function x4(){return z.useContext(x2)}var u2=z.createContext({isTransitioning:!1});u2.displayName="ViewTransition";var u4=z.createContext(new Map);u4.displayName="Fetchers";var c4=z.createContext(null);c4.displayName="Await";var cn=z.createContext(null);cn.displayName="Navigation";var zl=z.createContext(null);zl.displayName="Location";var kn=z.createContext({outlet:null,matches:[],isDataRoute:!1});kn.displayName="Route";var mc=z.createContext(null);mc.displayName="RouteError";var c2="REACT_ROUTER_ERROR",f4="REDIRECT",d4="ROUTE_ERROR_RESPONSE";function h4(e){if(e.startsWith(`${c2}:${f4}:{`))try{let r=JSON.parse(e.slice(28));if(typeof r=="object"&&r&&typeof r.status=="number"&&typeof r.statusText=="string"&&typeof r.location=="string"&&typeof r.reloadDocument=="boolean"&&typeof r.replace=="boolean")return r}catch{}}function p4(e){if(e.startsWith(`${c2}:${d4}:{`))try{let r=JSON.parse(e.slice(40));if(typeof r=="object"&&r&&typeof r.status=="number"&&typeof r.statusText=="string")return new r4(r.status,r.statusText,r.data)}catch{}}function m4(e,{relative:r}={}){rt(Cr(),"useHref() may be used only in the context of a <Router> component.");let{basename:a,navigator:i}=z.useContext(cn),{hash:s,pathname:x,search:u}=jl(e,{relative:r}),f=x;return a!=="/"&&(f=x==="/"?a:_n([a,x])),i.createHref({pathname:f,search:u,hash:s})}function Cr(){return z.useContext(zl)!=null}function Fn(){return rt(Cr(),"useLocation() may be used only in the context of a <Router> component."),z.useContext(zl).location}function E4(e){rt(Cr(),"useMatch() may be used only in the context of a <Router> component.");let{pathname:r}=Fn();return z.useMemo(()=>Fl(e,a2(r)),[r,e])}var f2="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function d2(e){z.useContext(cn).static||z.useLayoutEffect(e)}function da(){let{isDataRoute:e}=z.useContext(kn);return e?T4():C4()}function C4(){rt(Cr(),"useNavigate() may be used only in the context of a <Router> component.");let e=z.useContext(fa),{basename:r,navigator:a}=z.useContext(cn),{matches:i}=z.useContext(kn),{pathname:s}=Fn(),x=JSON.stringify(pc(i)),u=z.useRef(!1);return d2(()=>{u.current=!0}),z.useCallback((d,h={})=>{if(vn(u.current,f2),!u.current)return;if(typeof d=="number"){a.go(d);return}let E=jo(d,JSON.parse(x),s,h.relative==="path");e==null&&r!=="/"&&(E.pathname=E.pathname==="/"?r:_n([r,E.pathname])),(h.replace?a.replace:a.push)(E,h.state,h)},[r,a,x,s,e])}var y4=z.createContext(null);function g4(e){let r=z.useContext(kn).outlet;return z.useMemo(()=>r&&z.createElement(y4.Provider,{value:e},r),[r,e])}function B4(){let{matches:e}=z.useContext(kn);return e[e.length-1]?.params??{}}function jl(e,{relative:r}={}){let{matches:a}=z.useContext(kn),{pathname:i}=Fn(),s=JSON.stringify(pc(a));return z.useMemo(()=>jo(e,JSON.parse(s),i,r==="path"),[e,s,i,r])}function A4(e,r){return h2(e,r)}function h2(e,r,a){rt(Cr(),"useRoutes() may be used only in the context of a <Router> component.");let{navigator:i}=z.useContext(cn),{matches:s}=z.useContext(kn),x=s[s.length-1],u=x?x.params:{},f=x?x.pathname:"/",d=x?x.pathnameBase:"/",h=x&&x.route;{let D=h&&h.path||"";m2(f,!h||D.endsWith("*")||D.endsWith("*?"),`You rendered descendant <Routes> (or called \`useRoutes()\`) at "${f}" (under <Route path="${D}">) but the parent route path has no trailing "*". This means if you navigate deeper, the parent won't match anymore and therefore the child routes will never render.
8
+ `+o.stack}}var At=Object.prototype.hasOwnProperty,Ar=e.unstable_scheduleCallback,St=e.unstable_cancelCallback,Go=e.unstable_shouldYield,Qo=e.unstable_requestPaint,Tt=e.unstable_now,Yo=e.unstable_getCurrentPriorityLevel,ne=e.unstable_ImmediatePriority,ue=e.unstable_UserBlockingPriority,Ae=e.unstable_NormalPriority,Ne=e.unstable_LowPriority,Ve=e.unstable_IdlePriority,Jt=e.log,Gn=e.unstable_setDisableYieldValue,zt=null,mt=null;function Ut(t){if(typeof Jt=="function"&&Gn(t),mt&&typeof mt.setStrictMode=="function")try{mt.setStrictMode(zt,t)}catch{}}var Ke=Math.clz32?Math.clz32:wm,h0=Math.log,wn=Math.LN2;function wm(t){return t>>>=0,t===0?32:31-(h0(t)/wn|0)|0}var Ul=256,Hl=262144,ql=4194304;function G0(t){var n=t&42;if(n!==0)return n;switch(t&-t){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return t&261888;case 262144:case 524288:case 1048576:case 2097152:return t&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return t&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return t}}function Il(t,n,l){var o=t.pendingLanes;if(o===0)return 0;var c=0,m=t.suspendedLanes,B=t.pingedLanes;t=t.warmLanes;var v=o&134217727;return v!==0?(o=v&~m,o!==0?c=G0(o):(B&=v,B!==0?c=G0(B):l||(l=v&~t,l!==0&&(c=G0(l))))):(v=o&~m,v!==0?c=G0(v):B!==0?c=G0(B):l||(l=o&~t,l!==0&&(c=G0(l)))),c===0?0:n!==0&&n!==c&&(n&m)===0&&(m=c&-c,l=n&-n,m>=l||m===32&&(l&4194048)!==0)?n:c}function Ea(t,n){return(t.pendingLanes&~(t.suspendedLanes&~t.pingedLanes)&n)===0}function Sm(t,n){switch(t){case 1:case 2:case 4:case 8:case 64:return n+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return n+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function Zc(){var t=ql;return ql<<=1,(ql&62914560)===0&&(ql=4194304),t}function Xo(t){for(var n=[],l=0;31>l;l++)n.push(t);return n}function Ca(t,n){t.pendingLanes|=n,n!==268435456&&(t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0)}function Mm(t,n,l,o,c,m){var B=t.pendingLanes;t.pendingLanes=l,t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0,t.expiredLanes&=l,t.entangledLanes&=l,t.errorRecoveryDisabledLanes&=l,t.shellSuspendCounter=0;var v=t.entanglements,U=t.expirationTimes,Q=t.hiddenUpdates;for(l=B&~l;0<l;){var te=31-Ke(l),le=1<<te;v[te]=0,U[te]=-1;var J=Q[te];if(J!==null)for(Q[te]=null,te=0;te<J.length;te++){var ee=J[te];ee!==null&&(ee.lane&=-536870913)}l&=~le}o!==0&&Jc(t,o,0),m!==0&&c===0&&t.tag!==0&&(t.suspendedLanes|=m&~(B&~n))}function Jc(t,n,l){t.pendingLanes|=n,t.suspendedLanes&=~n;var o=31-Ke(n);t.entangledLanes|=n,t.entanglements[o]=t.entanglements[o]|1073741824|l&261930}function Wc(t,n){var l=t.entangledLanes|=n;for(t=t.entanglements;l;){var o=31-Ke(l),c=1<<o;c&n|t[o]&n&&(t[o]|=n),l&=~c}}function ef(t,n){var l=n&-n;return l=(l&42)!==0?1:Ko(l),(l&(t.suspendedLanes|n))!==0?0:l}function Ko(t){switch(t){case 2:t=1;break;case 8:t=4;break;case 32:t=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:t=128;break;case 268435456:t=134217728;break;default:t=0}return t}function Zo(t){return t&=-t,2<t?8<t?(t&134217727)!==0?32:268435456:8:2}function tf(){var t=Y.p;return t!==0?t:(t=window.event,t===void 0?32:H9(t.type))}function nf(t,n){var l=Y.p;try{return Y.p=t,n()}finally{Y.p=l}}var p0=Math.random().toString(36).slice(2),bt="__reactFiber$"+p0,Ht="__reactProps$"+p0,br="__reactContainer$"+p0,Jo="__reactEvents$"+p0,Nm="__reactListeners$"+p0,_m="__reactHandles$"+p0,rf="__reactResources$"+p0,ya="__reactMarker$"+p0;function Wo(t){delete t[bt],delete t[Ht],delete t[Jo],delete t[Nm],delete t[_m]}function Dr(t){var n=t[bt];if(n)return n;for(var l=t.parentNode;l;){if(n=l[br]||l[bt]){if(l=n.alternate,n.child!==null||l!==null&&l.child!==null)for(t=v9(t);t!==null;){if(l=t[bt])return l;t=v9(t)}return n}t=l,l=t.parentNode}return null}function vr(t){if(t=t[bt]||t[br]){var n=t.tag;if(n===5||n===6||n===13||n===31||n===26||n===27||n===3)return t}return null}function ga(t){var n=t.tag;if(n===5||n===26||n===27||n===6)return t.stateNode;throw Error(i(33))}function kr(t){var n=t[rf];return n||(n=t[rf]={hoistableStyles:new Map,hoistableScripts:new Map}),n}function yt(t){t[ya]=!0}var af=new Set,lf={};function Q0(t,n){Fr(t,n),Fr(t+"Capture",n)}function Fr(t,n){for(lf[t]=n,t=0;t<n.length;t++)af.add(n[t])}var Tm=RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),of={},sf={};function zm(t){return At.call(sf,t)?!0:At.call(of,t)?!1:Tm.test(t)?sf[t]=!0:(of[t]=!0,!1)}function Vl(t,n,l){if(zm(n))if(l===null)t.removeAttribute(n);else{switch(typeof l){case"undefined":case"function":case"symbol":t.removeAttribute(n);return;case"boolean":var o=n.toLowerCase().slice(0,5);if(o!=="data-"&&o!=="aria-"){t.removeAttribute(n);return}}t.setAttribute(n,""+l)}}function $l(t,n,l){if(l===null)t.removeAttribute(n);else{switch(typeof l){case"undefined":case"function":case"symbol":case"boolean":t.removeAttribute(n);return}t.setAttribute(n,""+l)}}function Qn(t,n,l,o){if(o===null)t.removeAttribute(l);else{switch(typeof o){case"undefined":case"function":case"symbol":case"boolean":t.removeAttribute(l);return}t.setAttributeNS(n,l,""+o)}}function hn(t){switch(typeof t){case"bigint":case"boolean":case"number":case"string":case"undefined":return t;case"object":return t;default:return""}}function xf(t){var n=t.type;return(t=t.nodeName)&&t.toLowerCase()==="input"&&(n==="checkbox"||n==="radio")}function jm(t,n,l){var o=Object.getOwnPropertyDescriptor(t.constructor.prototype,n);if(!t.hasOwnProperty(n)&&typeof o<"u"&&typeof o.get=="function"&&typeof o.set=="function"){var c=o.get,m=o.set;return Object.defineProperty(t,n,{configurable:!0,get:function(){return c.call(this)},set:function(B){l=""+B,m.call(this,B)}}),Object.defineProperty(t,n,{enumerable:o.enumerable}),{getValue:function(){return l},setValue:function(B){l=""+B},stopTracking:function(){t._valueTracker=null,delete t[n]}}}}function es(t){if(!t._valueTracker){var n=xf(t)?"checked":"value";t._valueTracker=jm(t,n,""+t[n])}}function uf(t){if(!t)return!1;var n=t._valueTracker;if(!n)return!0;var l=n.getValue(),o="";return t&&(o=xf(t)?t.checked?"true":"false":t.value),t=o,t!==l?(n.setValue(t),!0):!1}function Gl(t){if(t=t||(typeof document<"u"?document:void 0),typeof t>"u")return null;try{return t.activeElement||t.body}catch{return t.body}}var Rm=/[\n"\\]/g;function pn(t){return t.replace(Rm,function(n){return"\\"+n.charCodeAt(0).toString(16)+" "})}function ts(t,n,l,o,c,m,B,v){t.name="",B!=null&&typeof B!="function"&&typeof B!="symbol"&&typeof B!="boolean"?t.type=B:t.removeAttribute("type"),n!=null?B==="number"?(n===0&&t.value===""||t.value!=n)&&(t.value=""+hn(n)):t.value!==""+hn(n)&&(t.value=""+hn(n)):B!=="submit"&&B!=="reset"||t.removeAttribute("value"),n!=null?ns(t,B,hn(n)):l!=null?ns(t,B,hn(l)):o!=null&&t.removeAttribute("value"),c==null&&m!=null&&(t.defaultChecked=!!m),c!=null&&(t.checked=c&&typeof c!="function"&&typeof c!="symbol"),v!=null&&typeof v!="function"&&typeof v!="symbol"&&typeof v!="boolean"?t.name=""+hn(v):t.removeAttribute("name")}function cf(t,n,l,o,c,m,B,v){if(m!=null&&typeof m!="function"&&typeof m!="symbol"&&typeof m!="boolean"&&(t.type=m),n!=null||l!=null){if(!(m!=="submit"&&m!=="reset"||n!=null)){es(t);return}l=l!=null?""+hn(l):"",n=n!=null?""+hn(n):l,v||n===t.value||(t.value=n),t.defaultValue=n}o=o??c,o=typeof o!="function"&&typeof o!="symbol"&&!!o,t.checked=v?t.checked:!!o,t.defaultChecked=!!o,B!=null&&typeof B!="function"&&typeof B!="symbol"&&typeof B!="boolean"&&(t.name=B),es(t)}function ns(t,n,l){n==="number"&&Gl(t.ownerDocument)===t||t.defaultValue===""+l||(t.defaultValue=""+l)}function wr(t,n,l,o){if(t=t.options,n){n={};for(var c=0;c<l.length;c++)n["$"+l[c]]=!0;for(l=0;l<t.length;l++)c=n.hasOwnProperty("$"+t[l].value),t[l].selected!==c&&(t[l].selected=c),c&&o&&(t[l].defaultSelected=!0)}else{for(l=""+hn(l),n=null,c=0;c<t.length;c++){if(t[c].value===l){t[c].selected=!0,o&&(t[c].defaultSelected=!0);return}n!==null||t[c].disabled||(n=t[c])}n!==null&&(n.selected=!0)}}function ff(t,n,l){if(n!=null&&(n=""+hn(n),n!==t.value&&(t.value=n),l==null)){t.defaultValue!==n&&(t.defaultValue=n);return}t.defaultValue=l!=null?""+hn(l):""}function df(t,n,l,o){if(n==null){if(o!=null){if(l!=null)throw Error(i(92));if($(o)){if(1<o.length)throw Error(i(93));o=o[0]}l=o}l==null&&(l=""),n=l}l=hn(n),t.defaultValue=l,o=t.textContent,o===l&&o!==""&&o!==null&&(t.value=o),es(t)}function Sr(t,n){if(n){var l=t.firstChild;if(l&&l===t.lastChild&&l.nodeType===3){l.nodeValue=n;return}}t.textContent=n}var Om=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" "));function hf(t,n,l){var o=n.indexOf("--")===0;l==null||typeof l=="boolean"||l===""?o?t.setProperty(n,""):n==="float"?t.cssFloat="":t[n]="":o?t.setProperty(n,l):typeof l!="number"||l===0||Om.has(n)?n==="float"?t.cssFloat=l:t[n]=(""+l).trim():t[n]=l+"px"}function pf(t,n,l){if(n!=null&&typeof n!="object")throw Error(i(62));if(t=t.style,l!=null){for(var o in l)!l.hasOwnProperty(o)||n!=null&&n.hasOwnProperty(o)||(o.indexOf("--")===0?t.setProperty(o,""):o==="float"?t.cssFloat="":t[o]="");for(var c in n)o=n[c],n.hasOwnProperty(c)&&l[c]!==o&&hf(t,c,o)}else for(var m in n)n.hasOwnProperty(m)&&hf(t,m,n[m])}function rs(t){if(t.indexOf("-")===-1)return!1;switch(t){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Lm=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),Pm=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function Ql(t){return Pm.test(""+t)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":t}function Yn(){}var as=null;function ls(t){return t=t.target||t.srcElement||window,t.correspondingUseElement&&(t=t.correspondingUseElement),t.nodeType===3?t.parentNode:t}var Mr=null,Nr=null;function mf(t){var n=vr(t);if(n&&(t=n.stateNode)){var l=t[Ht]||null;e:switch(t=n.stateNode,n.type){case"input":if(ts(t,l.value,l.defaultValue,l.defaultValue,l.checked,l.defaultChecked,l.type,l.name),n=l.name,l.type==="radio"&&n!=null){for(l=t;l.parentNode;)l=l.parentNode;for(l=l.querySelectorAll('input[name="'+pn(""+n)+'"][type="radio"]'),n=0;n<l.length;n++){var o=l[n];if(o!==t&&o.form===t.form){var c=o[Ht]||null;if(!c)throw Error(i(90));ts(o,c.value,c.defaultValue,c.defaultValue,c.checked,c.defaultChecked,c.type,c.name)}}for(n=0;n<l.length;n++)o=l[n],o.form===t.form&&uf(o)}break e;case"textarea":ff(t,l.value,l.defaultValue);break e;case"select":n=l.value,n!=null&&wr(t,!!l.multiple,n,!1)}}}var is=!1;function Ef(t,n,l){if(is)return t(n,l);is=!0;try{var o=t(n);return o}finally{if(is=!1,(Mr!==null||Nr!==null)&&(zi(),Mr&&(n=Mr,t=Nr,Nr=Mr=null,mf(n),t)))for(n=0;n<t.length;n++)mf(t[n])}}function Ba(t,n){var l=t.stateNode;if(l===null)return null;var o=l[Ht]||null;if(o===null)return null;l=o[n];e:switch(n){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(o=!o.disabled)||(t=t.type,o=!(t==="button"||t==="input"||t==="select"||t==="textarea")),t=!o;break e;default:t=!1}if(t)return null;if(l&&typeof l!="function")throw Error(i(231,n,typeof l));return l}var Xn=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),os=!1;if(Xn)try{var Aa={};Object.defineProperty(Aa,"passive",{get:function(){os=!0}}),window.addEventListener("test",Aa,Aa),window.removeEventListener("test",Aa,Aa)}catch{os=!1}var m0=null,ss=null,Yl=null;function Cf(){if(Yl)return Yl;var t,n=ss,l=n.length,o,c="value"in m0?m0.value:m0.textContent,m=c.length;for(t=0;t<l&&n[t]===c[t];t++);var B=l-t;for(o=1;o<=B&&n[l-o]===c[m-o];o++);return Yl=c.slice(t,1<o?1-o:void 0)}function Xl(t){var n=t.keyCode;return"charCode"in t?(t=t.charCode,t===0&&n===13&&(t=13)):t=n,t===10&&(t=13),32<=t||t===13?t:0}function Kl(){return!0}function yf(){return!1}function qt(t){function n(l,o,c,m,B){this._reactName=l,this._targetInst=c,this.type=o,this.nativeEvent=m,this.target=B,this.currentTarget=null;for(var v in t)t.hasOwnProperty(v)&&(l=t[v],this[v]=l?l(m):m[v]);return this.isDefaultPrevented=(m.defaultPrevented!=null?m.defaultPrevented:m.returnValue===!1)?Kl:yf,this.isPropagationStopped=yf,this}return p(n.prototype,{preventDefault:function(){this.defaultPrevented=!0;var l=this.nativeEvent;l&&(l.preventDefault?l.preventDefault():typeof l.returnValue!="unknown"&&(l.returnValue=!1),this.isDefaultPrevented=Kl)},stopPropagation:function(){var l=this.nativeEvent;l&&(l.stopPropagation?l.stopPropagation():typeof l.cancelBubble!="unknown"&&(l.cancelBubble=!0),this.isPropagationStopped=Kl)},persist:function(){},isPersistent:Kl}),n}var Y0={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(t){return t.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Zl=qt(Y0),ba=p({},Y0,{view:0,detail:0}),Um=qt(ba),xs,us,Da,Jl=p({},ba,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:fs,button:0,buttons:0,relatedTarget:function(t){return t.relatedTarget===void 0?t.fromElement===t.srcElement?t.toElement:t.fromElement:t.relatedTarget},movementX:function(t){return"movementX"in t?t.movementX:(t!==Da&&(Da&&t.type==="mousemove"?(xs=t.screenX-Da.screenX,us=t.screenY-Da.screenY):us=xs=0,Da=t),xs)},movementY:function(t){return"movementY"in t?t.movementY:us}}),gf=qt(Jl),Hm=p({},Jl,{dataTransfer:0}),qm=qt(Hm),Im=p({},ba,{relatedTarget:0}),cs=qt(Im),Vm=p({},Y0,{animationName:0,elapsedTime:0,pseudoElement:0}),$m=qt(Vm),Gm=p({},Y0,{clipboardData:function(t){return"clipboardData"in t?t.clipboardData:window.clipboardData}}),Qm=qt(Gm),Ym=p({},Y0,{data:0}),Bf=qt(Ym),Xm={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Km={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},Zm={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Jm(t){var n=this.nativeEvent;return n.getModifierState?n.getModifierState(t):(t=Zm[t])?!!n[t]:!1}function fs(){return Jm}var Wm=p({},ba,{key:function(t){if(t.key){var n=Xm[t.key]||t.key;if(n!=="Unidentified")return n}return t.type==="keypress"?(t=Xl(t),t===13?"Enter":String.fromCharCode(t)):t.type==="keydown"||t.type==="keyup"?Km[t.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:fs,charCode:function(t){return t.type==="keypress"?Xl(t):0},keyCode:function(t){return t.type==="keydown"||t.type==="keyup"?t.keyCode:0},which:function(t){return t.type==="keypress"?Xl(t):t.type==="keydown"||t.type==="keyup"?t.keyCode:0}}),e5=qt(Wm),t5=p({},Jl,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Af=qt(t5),n5=p({},ba,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:fs}),r5=qt(n5),a5=p({},Y0,{propertyName:0,elapsedTime:0,pseudoElement:0}),l5=qt(a5),i5=p({},Jl,{deltaX:function(t){return"deltaX"in t?t.deltaX:"wheelDeltaX"in t?-t.wheelDeltaX:0},deltaY:function(t){return"deltaY"in t?t.deltaY:"wheelDeltaY"in t?-t.wheelDeltaY:"wheelDelta"in t?-t.wheelDelta:0},deltaZ:0,deltaMode:0}),o5=qt(i5),s5=p({},Y0,{newState:0,oldState:0}),x5=qt(s5),u5=[9,13,27,32],ds=Xn&&"CompositionEvent"in window,va=null;Xn&&"documentMode"in document&&(va=document.documentMode);var c5=Xn&&"TextEvent"in window&&!va,bf=Xn&&(!ds||va&&8<va&&11>=va),Df=" ",vf=!1;function kf(t,n){switch(t){case"keyup":return u5.indexOf(n.keyCode)!==-1;case"keydown":return n.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Ff(t){return t=t.detail,typeof t=="object"&&"data"in t?t.data:null}var _r=!1;function f5(t,n){switch(t){case"compositionend":return Ff(n);case"keypress":return n.which!==32?null:(vf=!0,Df);case"textInput":return t=n.data,t===Df&&vf?null:t;default:return null}}function d5(t,n){if(_r)return t==="compositionend"||!ds&&kf(t,n)?(t=Cf(),Yl=ss=m0=null,_r=!1,t):null;switch(t){case"paste":return null;case"keypress":if(!(n.ctrlKey||n.altKey||n.metaKey)||n.ctrlKey&&n.altKey){if(n.char&&1<n.char.length)return n.char;if(n.which)return String.fromCharCode(n.which)}return null;case"compositionend":return bf&&n.locale!=="ko"?null:n.data;default:return null}}var h5={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function wf(t){var n=t&&t.nodeName&&t.nodeName.toLowerCase();return n==="input"?!!h5[t.type]:n==="textarea"}function Sf(t,n,l,o){Mr?Nr?Nr.push(o):Nr=[o]:Mr=o,n=Hi(n,"onChange"),0<n.length&&(l=new Zl("onChange","change",null,l,o),t.push({event:l,listeners:n}))}var ka=null,Fa=null;function p5(t){c9(t,0)}function Wl(t){var n=ga(t);if(uf(n))return t}function Mf(t,n){if(t==="change")return n}var Nf=!1;if(Xn){var hs;if(Xn){var ps="oninput"in document;if(!ps){var _f=document.createElement("div");_f.setAttribute("oninput","return;"),ps=typeof _f.oninput=="function"}hs=ps}else hs=!1;Nf=hs&&(!document.documentMode||9<document.documentMode)}function Tf(){ka&&(ka.detachEvent("onpropertychange",zf),Fa=ka=null)}function zf(t){if(t.propertyName==="value"&&Wl(Fa)){var n=[];Sf(n,Fa,t,ls(t)),Ef(p5,n)}}function m5(t,n,l){t==="focusin"?(Tf(),ka=n,Fa=l,ka.attachEvent("onpropertychange",zf)):t==="focusout"&&Tf()}function E5(t){if(t==="selectionchange"||t==="keyup"||t==="keydown")return Wl(Fa)}function C5(t,n){if(t==="click")return Wl(n)}function y5(t,n){if(t==="input"||t==="change")return Wl(n)}function g5(t,n){return t===n&&(t!==0||1/t===1/n)||t!==t&&n!==n}var Wt=typeof Object.is=="function"?Object.is:g5;function wa(t,n){if(Wt(t,n))return!0;if(typeof t!="object"||t===null||typeof n!="object"||n===null)return!1;var l=Object.keys(t),o=Object.keys(n);if(l.length!==o.length)return!1;for(o=0;o<l.length;o++){var c=l[o];if(!At.call(n,c)||!Wt(t[c],n[c]))return!1}return!0}function jf(t){for(;t&&t.firstChild;)t=t.firstChild;return t}function Rf(t,n){var l=jf(t);t=0;for(var o;l;){if(l.nodeType===3){if(o=t+l.textContent.length,t<=n&&o>=n)return{node:l,offset:n-t};t=o}e:{for(;l;){if(l.nextSibling){l=l.nextSibling;break e}l=l.parentNode}l=void 0}l=jf(l)}}function Of(t,n){return t&&n?t===n?!0:t&&t.nodeType===3?!1:n&&n.nodeType===3?Of(t,n.parentNode):"contains"in t?t.contains(n):t.compareDocumentPosition?!!(t.compareDocumentPosition(n)&16):!1:!1}function Lf(t){t=t!=null&&t.ownerDocument!=null&&t.ownerDocument.defaultView!=null?t.ownerDocument.defaultView:window;for(var n=Gl(t.document);n instanceof t.HTMLIFrameElement;){try{var l=typeof n.contentWindow.location.href=="string"}catch{l=!1}if(l)t=n.contentWindow;else break;n=Gl(t.document)}return n}function ms(t){var n=t&&t.nodeName&&t.nodeName.toLowerCase();return n&&(n==="input"&&(t.type==="text"||t.type==="search"||t.type==="tel"||t.type==="url"||t.type==="password")||n==="textarea"||t.contentEditable==="true")}var B5=Xn&&"documentMode"in document&&11>=document.documentMode,Tr=null,Es=null,Sa=null,Cs=!1;function Pf(t,n,l){var o=l.window===l?l.document:l.nodeType===9?l:l.ownerDocument;Cs||Tr==null||Tr!==Gl(o)||(o=Tr,"selectionStart"in o&&ms(o)?o={start:o.selectionStart,end:o.selectionEnd}:(o=(o.ownerDocument&&o.ownerDocument.defaultView||window).getSelection(),o={anchorNode:o.anchorNode,anchorOffset:o.anchorOffset,focusNode:o.focusNode,focusOffset:o.focusOffset}),Sa&&wa(Sa,o)||(Sa=o,o=Hi(Es,"onSelect"),0<o.length&&(n=new Zl("onSelect","select",null,n,l),t.push({event:n,listeners:o}),n.target=Tr)))}function X0(t,n){var l={};return l[t.toLowerCase()]=n.toLowerCase(),l["Webkit"+t]="webkit"+n,l["Moz"+t]="moz"+n,l}var zr={animationend:X0("Animation","AnimationEnd"),animationiteration:X0("Animation","AnimationIteration"),animationstart:X0("Animation","AnimationStart"),transitionrun:X0("Transition","TransitionRun"),transitionstart:X0("Transition","TransitionStart"),transitioncancel:X0("Transition","TransitionCancel"),transitionend:X0("Transition","TransitionEnd")},ys={},Uf={};Xn&&(Uf=document.createElement("div").style,"AnimationEvent"in window||(delete zr.animationend.animation,delete zr.animationiteration.animation,delete zr.animationstart.animation),"TransitionEvent"in window||delete zr.transitionend.transition);function K0(t){if(ys[t])return ys[t];if(!zr[t])return t;var n=zr[t],l;for(l in n)if(n.hasOwnProperty(l)&&l in Uf)return ys[t]=n[l];return t}var Hf=K0("animationend"),qf=K0("animationiteration"),If=K0("animationstart"),A5=K0("transitionrun"),b5=K0("transitionstart"),D5=K0("transitioncancel"),Vf=K0("transitionend"),$f=new Map,gs="abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");gs.push("scrollEnd");function Sn(t,n){$f.set(t,n),Q0(n,[t])}var ei=typeof reportError=="function"?reportError:function(t){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var n=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof t=="object"&&t!==null&&typeof t.message=="string"?String(t.message):String(t),error:t});if(!window.dispatchEvent(n))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",t);return}console.error(t)},mn=[],jr=0,Bs=0;function ti(){for(var t=jr,n=Bs=jr=0;n<t;){var l=mn[n];mn[n++]=null;var o=mn[n];mn[n++]=null;var c=mn[n];mn[n++]=null;var m=mn[n];if(mn[n++]=null,o!==null&&c!==null){var B=o.pending;B===null?c.next=c:(c.next=B.next,B.next=c),o.pending=c}m!==0&&Gf(l,c,m)}}function ni(t,n,l,o){mn[jr++]=t,mn[jr++]=n,mn[jr++]=l,mn[jr++]=o,Bs|=o,t.lanes|=o,t=t.alternate,t!==null&&(t.lanes|=o)}function As(t,n,l,o){return ni(t,n,l,o),ri(t)}function Z0(t,n){return ni(t,null,null,n),ri(t)}function Gf(t,n,l){t.lanes|=l;var o=t.alternate;o!==null&&(o.lanes|=l);for(var c=!1,m=t.return;m!==null;)m.childLanes|=l,o=m.alternate,o!==null&&(o.childLanes|=l),m.tag===22&&(t=m.stateNode,t===null||t._visibility&1||(c=!0)),t=m,m=m.return;return t.tag===3?(m=t.stateNode,c&&n!==null&&(c=31-Ke(l),t=m.hiddenUpdates,o=t[c],o===null?t[c]=[n]:o.push(n),n.lane=l|536870912),m):null}function ri(t){if(50<Za)throw Za=0,Nx=null,Error(i(185));for(var n=t.return;n!==null;)t=n,n=t.return;return t.tag===3?t.stateNode:null}var Rr={};function v5(t,n,l,o){this.tag=t,this.key=l,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=n,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=o,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function en(t,n,l,o){return new v5(t,n,l,o)}function bs(t){return t=t.prototype,!(!t||!t.isReactComponent)}function Kn(t,n){var l=t.alternate;return l===null?(l=en(t.tag,n,t.key,t.mode),l.elementType=t.elementType,l.type=t.type,l.stateNode=t.stateNode,l.alternate=t,t.alternate=l):(l.pendingProps=n,l.type=t.type,l.flags=0,l.subtreeFlags=0,l.deletions=null),l.flags=t.flags&65011712,l.childLanes=t.childLanes,l.lanes=t.lanes,l.child=t.child,l.memoizedProps=t.memoizedProps,l.memoizedState=t.memoizedState,l.updateQueue=t.updateQueue,n=t.dependencies,l.dependencies=n===null?null:{lanes:n.lanes,firstContext:n.firstContext},l.sibling=t.sibling,l.index=t.index,l.ref=t.ref,l.refCleanup=t.refCleanup,l}function Qf(t,n){t.flags&=65011714;var l=t.alternate;return l===null?(t.childLanes=0,t.lanes=n,t.child=null,t.subtreeFlags=0,t.memoizedProps=null,t.memoizedState=null,t.updateQueue=null,t.dependencies=null,t.stateNode=null):(t.childLanes=l.childLanes,t.lanes=l.lanes,t.child=l.child,t.subtreeFlags=0,t.deletions=null,t.memoizedProps=l.memoizedProps,t.memoizedState=l.memoizedState,t.updateQueue=l.updateQueue,t.type=l.type,n=l.dependencies,t.dependencies=n===null?null:{lanes:n.lanes,firstContext:n.firstContext}),t}function ai(t,n,l,o,c,m){var B=0;if(o=t,typeof t=="function")bs(t)&&(B=1);else if(typeof t=="string")B=ME(t,l,ae.current)?26:t==="html"||t==="head"||t==="body"?27:5;else e:switch(t){case q:return t=en(31,l,n,c),t.elementType=q,t.lanes=m,t;case b:return J0(l.children,c,m,n);case D:B=8,c|=24;break;case F:return t=en(12,l,n,c|2),t.elementType=F,t.lanes=m,t;case R:return t=en(13,l,n,c),t.elementType=R,t.lanes=m,t;case k:return t=en(19,l,n,c),t.elementType=k,t.lanes=m,t;default:if(typeof t=="object"&&t!==null)switch(t.$$typeof){case w:B=10;break e;case O:B=9;break e;case _:B=11;break e;case T:B=14;break e;case S:B=16,o=null;break e}B=29,l=Error(i(130,t===null?"null":typeof t,"")),o=null}return n=en(B,l,n,c),n.elementType=t,n.type=o,n.lanes=m,n}function J0(t,n,l,o){return t=en(7,t,o,n),t.lanes=l,t}function Ds(t,n,l){return t=en(6,t,null,n),t.lanes=l,t}function Yf(t){var n=en(18,null,null,0);return n.stateNode=t,n}function vs(t,n,l){return n=en(4,t.children!==null?t.children:[],t.key,n),n.lanes=l,n.stateNode={containerInfo:t.containerInfo,pendingChildren:null,implementation:t.implementation},n}var Xf=new WeakMap;function En(t,n){if(typeof t=="object"&&t!==null){var l=Xf.get(t);return l!==void 0?l:(n={value:t,source:n,stack:jn(n)},Xf.set(t,n),n)}return{value:t,source:n,stack:jn(n)}}var Or=[],Lr=0,li=null,Ma=0,Cn=[],yn=0,E0=null,Rn=1,On="";function Zn(t,n){Or[Lr++]=Ma,Or[Lr++]=li,li=t,Ma=n}function Kf(t,n,l){Cn[yn++]=Rn,Cn[yn++]=On,Cn[yn++]=E0,E0=t;var o=Rn;t=On;var c=32-Ke(o)-1;o&=~(1<<c),l+=1;var m=32-Ke(n)+c;if(30<m){var B=c-c%5;m=(o&(1<<B)-1).toString(32),o>>=B,c-=B,Rn=1<<32-Ke(n)+c|l<<c|o,On=m+t}else Rn=1<<m|l<<c|o,On=t}function ks(t){t.return!==null&&(Zn(t,1),Kf(t,1,0))}function Fs(t){for(;t===li;)li=Or[--Lr],Or[Lr]=null,Ma=Or[--Lr],Or[Lr]=null;for(;t===E0;)E0=Cn[--yn],Cn[yn]=null,On=Cn[--yn],Cn[yn]=null,Rn=Cn[--yn],Cn[yn]=null}function Zf(t,n){Cn[yn++]=Rn,Cn[yn++]=On,Cn[yn++]=E0,Rn=n.id,On=n.overflow,E0=t}var Dt=null,tt=null,Oe=!1,C0=null,gn=!1,ws=Error(i(519));function y0(t){var n=Error(i(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw Na(En(n,t)),ws}function Jf(t){var n=t.stateNode,l=t.type,o=t.memoizedProps;switch(n[bt]=t,n[Ht]=o,l){case"dialog":Te("cancel",n),Te("close",n);break;case"iframe":case"object":case"embed":Te("load",n);break;case"video":case"audio":for(l=0;l<Wa.length;l++)Te(Wa[l],n);break;case"source":Te("error",n);break;case"img":case"image":case"link":Te("error",n),Te("load",n);break;case"details":Te("toggle",n);break;case"input":Te("invalid",n),cf(n,o.value,o.defaultValue,o.checked,o.defaultChecked,o.type,o.name,!0);break;case"select":Te("invalid",n);break;case"textarea":Te("invalid",n),df(n,o.value,o.defaultValue,o.children)}l=o.children,typeof l!="string"&&typeof l!="number"&&typeof l!="bigint"||n.textContent===""+l||o.suppressHydrationWarning===!0||p9(n.textContent,l)?(o.popover!=null&&(Te("beforetoggle",n),Te("toggle",n)),o.onScroll!=null&&Te("scroll",n),o.onScrollEnd!=null&&Te("scrollend",n),o.onClick!=null&&(n.onclick=Yn),n=!0):n=!1,n||y0(t,!0)}function Wf(t){for(Dt=t.return;Dt;)switch(Dt.tag){case 5:case 31:case 13:gn=!1;return;case 27:case 3:gn=!0;return;default:Dt=Dt.return}}function Pr(t){if(t!==Dt)return!1;if(!Oe)return Wf(t),Oe=!0,!1;var n=t.tag,l;if((l=n!==3&&n!==27)&&((l=n===5)&&(l=t.type,l=!(l!=="form"&&l!=="button")||Gx(t.type,t.memoizedProps)),l=!l),l&&tt&&y0(t),Wf(t),n===13){if(t=t.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(i(317));tt=D9(t)}else if(n===31){if(t=t.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(i(317));tt=D9(t)}else n===27?(n=tt,T0(t.type)?(t=Zx,Zx=null,tt=t):tt=n):tt=Dt?An(t.stateNode.nextSibling):null;return!0}function W0(){tt=Dt=null,Oe=!1}function Ss(){var t=C0;return t!==null&&(Gt===null?Gt=t:Gt.push.apply(Gt,t),C0=null),t}function Na(t){C0===null?C0=[t]:C0.push(t)}var Ms=j(null),er=null,Jn=null;function g0(t,n,l){N(Ms,n._currentValue),n._currentValue=l}function Wn(t){t._currentValue=Ms.current,W(Ms)}function Ns(t,n,l){for(;t!==null;){var o=t.alternate;if((t.childLanes&n)!==n?(t.childLanes|=n,o!==null&&(o.childLanes|=n)):o!==null&&(o.childLanes&n)!==n&&(o.childLanes|=n),t===l)break;t=t.return}}function _s(t,n,l,o){var c=t.child;for(c!==null&&(c.return=t);c!==null;){var m=c.dependencies;if(m!==null){var B=c.child;m=m.firstContext;e:for(;m!==null;){var v=m;m=c;for(var U=0;U<n.length;U++)if(v.context===n[U]){m.lanes|=l,v=m.alternate,v!==null&&(v.lanes|=l),Ns(m.return,l,t),o||(B=null);break e}m=v.next}}else if(c.tag===18){if(B=c.return,B===null)throw Error(i(341));B.lanes|=l,m=B.alternate,m!==null&&(m.lanes|=l),Ns(B,l,t),B=null}else B=c.child;if(B!==null)B.return=c;else for(B=c;B!==null;){if(B===t){B=null;break}if(c=B.sibling,c!==null){c.return=B.return,B=c;break}B=B.return}c=B}}function Ur(t,n,l,o){t=null;for(var c=n,m=!1;c!==null;){if(!m){if((c.flags&524288)!==0)m=!0;else if((c.flags&262144)!==0)break}if(c.tag===10){var B=c.alternate;if(B===null)throw Error(i(387));if(B=B.memoizedProps,B!==null){var v=c.type;Wt(c.pendingProps.value,B.value)||(t!==null?t.push(v):t=[v])}}else if(c===Ee.current){if(B=c.alternate,B===null)throw Error(i(387));B.memoizedState.memoizedState!==c.memoizedState.memoizedState&&(t!==null?t.push(al):t=[al])}c=c.return}t!==null&&_s(n,t,l,o),n.flags|=262144}function ii(t){for(t=t.firstContext;t!==null;){if(!Wt(t.context._currentValue,t.memoizedValue))return!0;t=t.next}return!1}function tr(t){er=t,Jn=null,t=t.dependencies,t!==null&&(t.firstContext=null)}function vt(t){return ed(er,t)}function oi(t,n){return er===null&&tr(t),ed(t,n)}function ed(t,n){var l=n._currentValue;if(n={context:n,memoizedValue:l,next:null},Jn===null){if(t===null)throw Error(i(308));Jn=n,t.dependencies={lanes:0,firstContext:n},t.flags|=524288}else Jn=Jn.next=n;return l}var k5=typeof AbortController<"u"?AbortController:function(){var t=[],n=this.signal={aborted:!1,addEventListener:function(l,o){t.push(o)}};this.abort=function(){n.aborted=!0,t.forEach(function(l){return l()})}},F5=e.unstable_scheduleCallback,w5=e.unstable_NormalPriority,ct={$$typeof:w,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function Ts(){return{controller:new k5,data:new Map,refCount:0}}function _a(t){t.refCount--,t.refCount===0&&F5(w5,function(){t.controller.abort()})}var Ta=null,zs=0,Hr=0,qr=null;function S5(t,n){if(Ta===null){var l=Ta=[];zs=0,Hr=Ox(),qr={status:"pending",value:void 0,then:function(o){l.push(o)}}}return zs++,n.then(td,td),n}function td(){if(--zs===0&&Ta!==null){qr!==null&&(qr.status="fulfilled");var t=Ta;Ta=null,Hr=0,qr=null;for(var n=0;n<t.length;n++)(0,t[n])()}}function M5(t,n){var l=[],o={status:"pending",value:null,reason:null,then:function(c){l.push(c)}};return t.then(function(){o.status="fulfilled",o.value=n;for(var c=0;c<l.length;c++)(0,l[c])(n)},function(c){for(o.status="rejected",o.reason=c,c=0;c<l.length;c++)(0,l[c])(void 0)}),o}var nd=P.S;P.S=function(t,n){P1=Tt(),typeof n=="object"&&n!==null&&typeof n.then=="function"&&S5(t,n),nd!==null&&nd(t,n)};var nr=j(null);function js(){var t=nr.current;return t!==null?t:Ze.pooledCache}function si(t,n){n===null?N(nr,nr.current):N(nr,n.pool)}function rd(){var t=js();return t===null?null:{parent:ct._currentValue,pool:t}}var Ir=Error(i(460)),Rs=Error(i(474)),xi=Error(i(542)),ui={then:function(){}};function ad(t){return t=t.status,t==="fulfilled"||t==="rejected"}function ld(t,n,l){switch(l=t[l],l===void 0?t.push(n):l!==n&&(n.then(Yn,Yn),n=l),n.status){case"fulfilled":return n.value;case"rejected":throw t=n.reason,od(t),t;default:if(typeof n.status=="string")n.then(Yn,Yn);else{if(t=Ze,t!==null&&100<t.shellSuspendCounter)throw Error(i(482));t=n,t.status="pending",t.then(function(o){if(n.status==="pending"){var c=n;c.status="fulfilled",c.value=o}},function(o){if(n.status==="pending"){var c=n;c.status="rejected",c.reason=o}})}switch(n.status){case"fulfilled":return n.value;case"rejected":throw t=n.reason,od(t),t}throw ar=n,Ir}}function rr(t){try{var n=t._init;return n(t._payload)}catch(l){throw l!==null&&typeof l=="object"&&typeof l.then=="function"?(ar=l,Ir):l}}var ar=null;function id(){if(ar===null)throw Error(i(459));var t=ar;return ar=null,t}function od(t){if(t===Ir||t===xi)throw Error(i(483))}var Vr=null,za=0;function ci(t){var n=za;return za+=1,Vr===null&&(Vr=[]),ld(Vr,t,n)}function ja(t,n){n=n.props.ref,t.ref=n!==void 0?n:null}function fi(t,n){throw n.$$typeof===y?Error(i(525)):(t=Object.prototype.toString.call(n),Error(i(31,t==="[object Object]"?"object with keys {"+Object.keys(n).join(", ")+"}":t)))}function sd(t){function n(V,H){if(t){var G=V.deletions;G===null?(V.deletions=[H],V.flags|=16):G.push(H)}}function l(V,H){if(!t)return null;for(;H!==null;)n(V,H),H=H.sibling;return null}function o(V){for(var H=new Map;V!==null;)V.key!==null?H.set(V.key,V):H.set(V.index,V),V=V.sibling;return H}function c(V,H){return V=Kn(V,H),V.index=0,V.sibling=null,V}function m(V,H,G){return V.index=G,t?(G=V.alternate,G!==null?(G=G.index,G<H?(V.flags|=67108866,H):G):(V.flags|=67108866,H)):(V.flags|=1048576,H)}function B(V){return t&&V.alternate===null&&(V.flags|=67108866),V}function v(V,H,G,re){return H===null||H.tag!==6?(H=Ds(G,V.mode,re),H.return=V,H):(H=c(H,G),H.return=V,H)}function U(V,H,G,re){var ye=G.type;return ye===b?te(V,H,G.props.children,re,G.key):H!==null&&(H.elementType===ye||typeof ye=="object"&&ye!==null&&ye.$$typeof===S&&rr(ye)===H.type)?(H=c(H,G.props),ja(H,G),H.return=V,H):(H=ai(G.type,G.key,G.props,null,V.mode,re),ja(H,G),H.return=V,H)}function Q(V,H,G,re){return H===null||H.tag!==4||H.stateNode.containerInfo!==G.containerInfo||H.stateNode.implementation!==G.implementation?(H=vs(G,V.mode,re),H.return=V,H):(H=c(H,G.children||[]),H.return=V,H)}function te(V,H,G,re,ye){return H===null||H.tag!==7?(H=J0(G,V.mode,re,ye),H.return=V,H):(H=c(H,G),H.return=V,H)}function le(V,H,G){if(typeof H=="string"&&H!==""||typeof H=="number"||typeof H=="bigint")return H=Ds(""+H,V.mode,G),H.return=V,H;if(typeof H=="object"&&H!==null){switch(H.$$typeof){case C:return G=ai(H.type,H.key,H.props,null,V.mode,G),ja(G,H),G.return=V,G;case A:return H=vs(H,V.mode,G),H.return=V,H;case S:return H=rr(H),le(V,H,G)}if($(H)||K(H))return H=J0(H,V.mode,G,null),H.return=V,H;if(typeof H.then=="function")return le(V,ci(H),G);if(H.$$typeof===w)return le(V,oi(V,H),G);fi(V,H)}return null}function J(V,H,G,re){var ye=H!==null?H.key:null;if(typeof G=="string"&&G!==""||typeof G=="number"||typeof G=="bigint")return ye!==null?null:v(V,H,""+G,re);if(typeof G=="object"&&G!==null){switch(G.$$typeof){case C:return G.key===ye?U(V,H,G,re):null;case A:return G.key===ye?Q(V,H,G,re):null;case S:return G=rr(G),J(V,H,G,re)}if($(G)||K(G))return ye!==null?null:te(V,H,G,re,null);if(typeof G.then=="function")return J(V,H,ci(G),re);if(G.$$typeof===w)return J(V,H,oi(V,G),re);fi(V,G)}return null}function ee(V,H,G,re,ye){if(typeof re=="string"&&re!==""||typeof re=="number"||typeof re=="bigint")return V=V.get(G)||null,v(H,V,""+re,ye);if(typeof re=="object"&&re!==null){switch(re.$$typeof){case C:return V=V.get(re.key===null?G:re.key)||null,U(H,V,re,ye);case A:return V=V.get(re.key===null?G:re.key)||null,Q(H,V,re,ye);case S:return re=rr(re),ee(V,H,G,re,ye)}if($(re)||K(re))return V=V.get(G)||null,te(H,V,re,ye,null);if(typeof re.then=="function")return ee(V,H,G,ci(re),ye);if(re.$$typeof===w)return ee(V,H,G,oi(H,re),ye);fi(H,re)}return null}function pe(V,H,G,re){for(var ye=null,Ue=null,me=H,Se=H=0,Re=null;me!==null&&Se<G.length;Se++){me.index>Se?(Re=me,me=null):Re=me.sibling;var He=J(V,me,G[Se],re);if(He===null){me===null&&(me=Re);break}t&&me&&He.alternate===null&&n(V,me),H=m(He,H,Se),Ue===null?ye=He:Ue.sibling=He,Ue=He,me=Re}if(Se===G.length)return l(V,me),Oe&&Zn(V,Se),ye;if(me===null){for(;Se<G.length;Se++)me=le(V,G[Se],re),me!==null&&(H=m(me,H,Se),Ue===null?ye=me:Ue.sibling=me,Ue=me);return Oe&&Zn(V,Se),ye}for(me=o(me);Se<G.length;Se++)Re=ee(me,V,Se,G[Se],re),Re!==null&&(t&&Re.alternate!==null&&me.delete(Re.key===null?Se:Re.key),H=m(Re,H,Se),Ue===null?ye=Re:Ue.sibling=Re,Ue=Re);return t&&me.forEach(function(L0){return n(V,L0)}),Oe&&Zn(V,Se),ye}function Be(V,H,G,re){if(G==null)throw Error(i(151));for(var ye=null,Ue=null,me=H,Se=H=0,Re=null,He=G.next();me!==null&&!He.done;Se++,He=G.next()){me.index>Se?(Re=me,me=null):Re=me.sibling;var L0=J(V,me,He.value,re);if(L0===null){me===null&&(me=Re);break}t&&me&&L0.alternate===null&&n(V,me),H=m(L0,H,Se),Ue===null?ye=L0:Ue.sibling=L0,Ue=L0,me=Re}if(He.done)return l(V,me),Oe&&Zn(V,Se),ye;if(me===null){for(;!He.done;Se++,He=G.next())He=le(V,He.value,re),He!==null&&(H=m(He,H,Se),Ue===null?ye=He:Ue.sibling=He,Ue=He);return Oe&&Zn(V,Se),ye}for(me=o(me);!He.done;Se++,He=G.next())He=ee(me,V,Se,He.value,re),He!==null&&(t&&He.alternate!==null&&me.delete(He.key===null?Se:He.key),H=m(He,H,Se),Ue===null?ye=He:Ue.sibling=He,Ue=He);return t&&me.forEach(function(HE){return n(V,HE)}),Oe&&Zn(V,Se),ye}function Xe(V,H,G,re){if(typeof G=="object"&&G!==null&&G.type===b&&G.key===null&&(G=G.props.children),typeof G=="object"&&G!==null){switch(G.$$typeof){case C:e:{for(var ye=G.key;H!==null;){if(H.key===ye){if(ye=G.type,ye===b){if(H.tag===7){l(V,H.sibling),re=c(H,G.props.children),re.return=V,V=re;break e}}else if(H.elementType===ye||typeof ye=="object"&&ye!==null&&ye.$$typeof===S&&rr(ye)===H.type){l(V,H.sibling),re=c(H,G.props),ja(re,G),re.return=V,V=re;break e}l(V,H);break}else n(V,H);H=H.sibling}G.type===b?(re=J0(G.props.children,V.mode,re,G.key),re.return=V,V=re):(re=ai(G.type,G.key,G.props,null,V.mode,re),ja(re,G),re.return=V,V=re)}return B(V);case A:e:{for(ye=G.key;H!==null;){if(H.key===ye)if(H.tag===4&&H.stateNode.containerInfo===G.containerInfo&&H.stateNode.implementation===G.implementation){l(V,H.sibling),re=c(H,G.children||[]),re.return=V,V=re;break e}else{l(V,H);break}else n(V,H);H=H.sibling}re=vs(G,V.mode,re),re.return=V,V=re}return B(V);case S:return G=rr(G),Xe(V,H,G,re)}if($(G))return pe(V,H,G,re);if(K(G)){if(ye=K(G),typeof ye!="function")throw Error(i(150));return G=ye.call(G),Be(V,H,G,re)}if(typeof G.then=="function")return Xe(V,H,ci(G),re);if(G.$$typeof===w)return Xe(V,H,oi(V,G),re);fi(V,G)}return typeof G=="string"&&G!==""||typeof G=="number"||typeof G=="bigint"?(G=""+G,H!==null&&H.tag===6?(l(V,H.sibling),re=c(H,G),re.return=V,V=re):(l(V,H),re=Ds(G,V.mode,re),re.return=V,V=re),B(V)):l(V,H)}return function(V,H,G,re){try{za=0;var ye=Xe(V,H,G,re);return Vr=null,ye}catch(me){if(me===Ir||me===xi)throw me;var Ue=en(29,me,null,V.mode);return Ue.lanes=re,Ue.return=V,Ue}}}var lr=sd(!0),xd=sd(!1),B0=!1;function Os(t){t.updateQueue={baseState:t.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Ls(t,n){t=t.updateQueue,n.updateQueue===t&&(n.updateQueue={baseState:t.baseState,firstBaseUpdate:t.firstBaseUpdate,lastBaseUpdate:t.lastBaseUpdate,shared:t.shared,callbacks:null})}function A0(t){return{lane:t,tag:0,payload:null,callback:null,next:null}}function b0(t,n,l){var o=t.updateQueue;if(o===null)return null;if(o=o.shared,(qe&2)!==0){var c=o.pending;return c===null?n.next=n:(n.next=c.next,c.next=n),o.pending=n,n=ri(t),Gf(t,null,l),n}return ni(t,o,n,l),ri(t)}function Ra(t,n,l){if(n=n.updateQueue,n!==null&&(n=n.shared,(l&4194048)!==0)){var o=n.lanes;o&=t.pendingLanes,l|=o,n.lanes=l,Wc(t,l)}}function Ps(t,n){var l=t.updateQueue,o=t.alternate;if(o!==null&&(o=o.updateQueue,l===o)){var c=null,m=null;if(l=l.firstBaseUpdate,l!==null){do{var B={lane:l.lane,tag:l.tag,payload:l.payload,callback:null,next:null};m===null?c=m=B:m=m.next=B,l=l.next}while(l!==null);m===null?c=m=n:m=m.next=n}else c=m=n;l={baseState:o.baseState,firstBaseUpdate:c,lastBaseUpdate:m,shared:o.shared,callbacks:o.callbacks},t.updateQueue=l;return}t=l.lastBaseUpdate,t===null?l.firstBaseUpdate=n:t.next=n,l.lastBaseUpdate=n}var Us=!1;function Oa(){if(Us){var t=qr;if(t!==null)throw t}}function La(t,n,l,o){Us=!1;var c=t.updateQueue;B0=!1;var m=c.firstBaseUpdate,B=c.lastBaseUpdate,v=c.shared.pending;if(v!==null){c.shared.pending=null;var U=v,Q=U.next;U.next=null,B===null?m=Q:B.next=Q,B=U;var te=t.alternate;te!==null&&(te=te.updateQueue,v=te.lastBaseUpdate,v!==B&&(v===null?te.firstBaseUpdate=Q:v.next=Q,te.lastBaseUpdate=U))}if(m!==null){var le=c.baseState;B=0,te=Q=U=null,v=m;do{var J=v.lane&-536870913,ee=J!==v.lane;if(ee?(je&J)===J:(o&J)===J){J!==0&&J===Hr&&(Us=!0),te!==null&&(te=te.next={lane:0,tag:v.tag,payload:v.payload,callback:null,next:null});e:{var pe=t,Be=v;J=n;var Xe=l;switch(Be.tag){case 1:if(pe=Be.payload,typeof pe=="function"){le=pe.call(Xe,le,J);break e}le=pe;break e;case 3:pe.flags=pe.flags&-65537|128;case 0:if(pe=Be.payload,J=typeof pe=="function"?pe.call(Xe,le,J):pe,J==null)break e;le=p({},le,J);break e;case 2:B0=!0}}J=v.callback,J!==null&&(t.flags|=64,ee&&(t.flags|=8192),ee=c.callbacks,ee===null?c.callbacks=[J]:ee.push(J))}else ee={lane:J,tag:v.tag,payload:v.payload,callback:v.callback,next:null},te===null?(Q=te=ee,U=le):te=te.next=ee,B|=J;if(v=v.next,v===null){if(v=c.shared.pending,v===null)break;ee=v,v=ee.next,ee.next=null,c.lastBaseUpdate=ee,c.shared.pending=null}}while(!0);te===null&&(U=le),c.baseState=U,c.firstBaseUpdate=Q,c.lastBaseUpdate=te,m===null&&(c.shared.lanes=0),w0|=B,t.lanes=B,t.memoizedState=le}}function ud(t,n){if(typeof t!="function")throw Error(i(191,t));t.call(n)}function cd(t,n){var l=t.callbacks;if(l!==null)for(t.callbacks=null,t=0;t<l.length;t++)ud(l[t],n)}var $r=j(null),di=j(0);function fd(t,n){t=s0,N(di,t),N($r,n),s0=t|n.baseLanes}function Hs(){N(di,s0),N($r,$r.current)}function qs(){s0=di.current,W($r),W(di)}var tn=j(null),Bn=null;function D0(t){var n=t.alternate;N(st,st.current&1),N(tn,t),Bn===null&&(n===null||$r.current!==null||n.memoizedState!==null)&&(Bn=t)}function Is(t){N(st,st.current),N(tn,t),Bn===null&&(Bn=t)}function dd(t){t.tag===22?(N(st,st.current),N(tn,t),Bn===null&&(Bn=t)):v0()}function v0(){N(st,st.current),N(tn,tn.current)}function nn(t){W(tn),Bn===t&&(Bn=null),W(st)}var st=j(0);function hi(t){for(var n=t;n!==null;){if(n.tag===13){var l=n.memoizedState;if(l!==null&&(l=l.dehydrated,l===null||Xx(l)||Kx(l)))return n}else if(n.tag===19&&(n.memoizedProps.revealOrder==="forwards"||n.memoizedProps.revealOrder==="backwards"||n.memoizedProps.revealOrder==="unstable_legacy-backwards"||n.memoizedProps.revealOrder==="together")){if((n.flags&128)!==0)return n}else if(n.child!==null){n.child.return=n,n=n.child;continue}if(n===t)break;for(;n.sibling===null;){if(n.return===null||n.return===t)return null;n=n.return}n.sibling.return=n.return,n=n.sibling}return null}var e0=0,Fe=null,Qe=null,ft=null,pi=!1,Gr=!1,ir=!1,mi=0,Pa=0,Qr=null,N5=0;function lt(){throw Error(i(321))}function Vs(t,n){if(n===null)return!1;for(var l=0;l<n.length&&l<t.length;l++)if(!Wt(t[l],n[l]))return!1;return!0}function $s(t,n,l,o,c,m){return e0=m,Fe=n,n.memoizedState=null,n.updateQueue=null,n.lanes=0,P.H=t===null||t.memoizedState===null?Kd:ix,ir=!1,m=l(o,c),ir=!1,Gr&&(m=pd(n,l,o,c)),hd(t),m}function hd(t){P.H=qa;var n=Qe!==null&&Qe.next!==null;if(e0=0,ft=Qe=Fe=null,pi=!1,Pa=0,Qr=null,n)throw Error(i(300));t===null||dt||(t=t.dependencies,t!==null&&ii(t)&&(dt=!0))}function pd(t,n,l,o){Fe=t;var c=0;do{if(Gr&&(Qr=null),Pa=0,Gr=!1,25<=c)throw Error(i(301));if(c+=1,ft=Qe=null,t.updateQueue!=null){var m=t.updateQueue;m.lastEffect=null,m.events=null,m.stores=null,m.memoCache!=null&&(m.memoCache.index=0)}P.H=Zd,m=n(l,o)}while(Gr);return m}function _5(){var t=P.H,n=t.useState()[0];return n=typeof n.then=="function"?Ua(n):n,t=t.useState()[0],(Qe!==null?Qe.memoizedState:null)!==t&&(Fe.flags|=1024),n}function Gs(){var t=mi!==0;return mi=0,t}function Qs(t,n,l){n.updateQueue=t.updateQueue,n.flags&=-2053,t.lanes&=~l}function Ys(t){if(pi){for(t=t.memoizedState;t!==null;){var n=t.queue;n!==null&&(n.pending=null),t=t.next}pi=!1}e0=0,ft=Qe=Fe=null,Gr=!1,Pa=mi=0,Qr=null}function jt(){var t={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return ft===null?Fe.memoizedState=ft=t:ft=ft.next=t,ft}function xt(){if(Qe===null){var t=Fe.alternate;t=t!==null?t.memoizedState:null}else t=Qe.next;var n=ft===null?Fe.memoizedState:ft.next;if(n!==null)ft=n,Qe=t;else{if(t===null)throw Fe.alternate===null?Error(i(467)):Error(i(310));Qe=t,t={memoizedState:Qe.memoizedState,baseState:Qe.baseState,baseQueue:Qe.baseQueue,queue:Qe.queue,next:null},ft===null?Fe.memoizedState=ft=t:ft=ft.next=t}return ft}function Ei(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function Ua(t){var n=Pa;return Pa+=1,Qr===null&&(Qr=[]),t=ld(Qr,t,n),n=Fe,(ft===null?n.memoizedState:ft.next)===null&&(n=n.alternate,P.H=n===null||n.memoizedState===null?Kd:ix),t}function Ci(t){if(t!==null&&typeof t=="object"){if(typeof t.then=="function")return Ua(t);if(t.$$typeof===w)return vt(t)}throw Error(i(438,String(t)))}function Xs(t){var n=null,l=Fe.updateQueue;if(l!==null&&(n=l.memoCache),n==null){var o=Fe.alternate;o!==null&&(o=o.updateQueue,o!==null&&(o=o.memoCache,o!=null&&(n={data:o.data.map(function(c){return c.slice()}),index:0})))}if(n==null&&(n={data:[],index:0}),l===null&&(l=Ei(),Fe.updateQueue=l),l.memoCache=n,l=n.data[n.index],l===void 0)for(l=n.data[n.index]=Array(t),o=0;o<t;o++)l[o]=L;return n.index++,l}function t0(t,n){return typeof n=="function"?n(t):n}function yi(t){var n=xt();return Ks(n,Qe,t)}function Ks(t,n,l){var o=t.queue;if(o===null)throw Error(i(311));o.lastRenderedReducer=l;var c=t.baseQueue,m=o.pending;if(m!==null){if(c!==null){var B=c.next;c.next=m.next,m.next=B}n.baseQueue=c=m,o.pending=null}if(m=t.baseState,c===null)t.memoizedState=m;else{n=c.next;var v=B=null,U=null,Q=n,te=!1;do{var le=Q.lane&-536870913;if(le!==Q.lane?(je&le)===le:(e0&le)===le){var J=Q.revertLane;if(J===0)U!==null&&(U=U.next={lane:0,revertLane:0,gesture:null,action:Q.action,hasEagerState:Q.hasEagerState,eagerState:Q.eagerState,next:null}),le===Hr&&(te=!0);else if((e0&J)===J){Q=Q.next,J===Hr&&(te=!0);continue}else le={lane:0,revertLane:Q.revertLane,gesture:null,action:Q.action,hasEagerState:Q.hasEagerState,eagerState:Q.eagerState,next:null},U===null?(v=U=le,B=m):U=U.next=le,Fe.lanes|=J,w0|=J;le=Q.action,ir&&l(m,le),m=Q.hasEagerState?Q.eagerState:l(m,le)}else J={lane:le,revertLane:Q.revertLane,gesture:Q.gesture,action:Q.action,hasEagerState:Q.hasEagerState,eagerState:Q.eagerState,next:null},U===null?(v=U=J,B=m):U=U.next=J,Fe.lanes|=le,w0|=le;Q=Q.next}while(Q!==null&&Q!==n);if(U===null?B=m:U.next=v,!Wt(m,t.memoizedState)&&(dt=!0,te&&(l=qr,l!==null)))throw l;t.memoizedState=m,t.baseState=B,t.baseQueue=U,o.lastRenderedState=m}return c===null&&(o.lanes=0),[t.memoizedState,o.dispatch]}function Zs(t){var n=xt(),l=n.queue;if(l===null)throw Error(i(311));l.lastRenderedReducer=t;var o=l.dispatch,c=l.pending,m=n.memoizedState;if(c!==null){l.pending=null;var B=c=c.next;do m=t(m,B.action),B=B.next;while(B!==c);Wt(m,n.memoizedState)||(dt=!0),n.memoizedState=m,n.baseQueue===null&&(n.baseState=m),l.lastRenderedState=m}return[m,o]}function md(t,n,l){var o=Fe,c=xt(),m=Oe;if(m){if(l===void 0)throw Error(i(407));l=l()}else l=n();var B=!Wt((Qe||c).memoizedState,l);if(B&&(c.memoizedState=l,dt=!0),c=c.queue,ex(yd.bind(null,o,c,t),[t]),c.getSnapshot!==n||B||ft!==null&&ft.memoizedState.tag&1){if(o.flags|=2048,Yr(9,{destroy:void 0},Cd.bind(null,o,c,l,n),null),Ze===null)throw Error(i(349));m||(e0&127)!==0||Ed(o,n,l)}return l}function Ed(t,n,l){t.flags|=16384,t={getSnapshot:n,value:l},n=Fe.updateQueue,n===null?(n=Ei(),Fe.updateQueue=n,n.stores=[t]):(l=n.stores,l===null?n.stores=[t]:l.push(t))}function Cd(t,n,l,o){n.value=l,n.getSnapshot=o,gd(n)&&Bd(t)}function yd(t,n,l){return l(function(){gd(n)&&Bd(t)})}function gd(t){var n=t.getSnapshot;t=t.value;try{var l=n();return!Wt(t,l)}catch{return!0}}function Bd(t){var n=Z0(t,2);n!==null&&Qt(n,t,2)}function Js(t){var n=jt();if(typeof t=="function"){var l=t;if(t=l(),ir){Ut(!0);try{l()}finally{Ut(!1)}}}return n.memoizedState=n.baseState=t,n.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:t0,lastRenderedState:t},n}function Ad(t,n,l,o){return t.baseState=l,Ks(t,Qe,typeof o=="function"?o:t0)}function T5(t,n,l,o,c){if(Ai(t))throw Error(i(485));if(t=n.action,t!==null){var m={payload:c,action:t,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(B){m.listeners.push(B)}};P.T!==null?l(!0):m.isTransition=!1,o(m),l=n.pending,l===null?(m.next=n.pending=m,bd(n,m)):(m.next=l.next,n.pending=l.next=m)}}function bd(t,n){var l=n.action,o=n.payload,c=t.state;if(n.isTransition){var m=P.T,B={};P.T=B;try{var v=l(c,o),U=P.S;U!==null&&U(B,v),Dd(t,n,v)}catch(Q){Ws(t,n,Q)}finally{m!==null&&B.types!==null&&(m.types=B.types),P.T=m}}else try{m=l(c,o),Dd(t,n,m)}catch(Q){Ws(t,n,Q)}}function Dd(t,n,l){l!==null&&typeof l=="object"&&typeof l.then=="function"?l.then(function(o){vd(t,n,o)},function(o){return Ws(t,n,o)}):vd(t,n,l)}function vd(t,n,l){n.status="fulfilled",n.value=l,kd(n),t.state=l,n=t.pending,n!==null&&(l=n.next,l===n?t.pending=null:(l=l.next,n.next=l,bd(t,l)))}function Ws(t,n,l){var o=t.pending;if(t.pending=null,o!==null){o=o.next;do n.status="rejected",n.reason=l,kd(n),n=n.next;while(n!==o)}t.action=null}function kd(t){t=t.listeners;for(var n=0;n<t.length;n++)(0,t[n])()}function Fd(t,n){return n}function wd(t,n){if(Oe){var l=Ze.formState;if(l!==null){e:{var o=Fe;if(Oe){if(tt){t:{for(var c=tt,m=gn;c.nodeType!==8;){if(!m){c=null;break t}if(c=An(c.nextSibling),c===null){c=null;break t}}m=c.data,c=m==="F!"||m==="F"?c:null}if(c){tt=An(c.nextSibling),o=c.data==="F!";break e}}y0(o)}o=!1}o&&(n=l[0])}}return l=jt(),l.memoizedState=l.baseState=n,o={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Fd,lastRenderedState:n},l.queue=o,l=Qd.bind(null,Fe,o),o.dispatch=l,o=Js(!1),m=lx.bind(null,Fe,!1,o.queue),o=jt(),c={state:n,dispatch:null,action:t,pending:null},o.queue=c,l=T5.bind(null,Fe,c,m,l),c.dispatch=l,o.memoizedState=t,[n,l,!1]}function Sd(t){var n=xt();return Md(n,Qe,t)}function Md(t,n,l){if(n=Ks(t,n,Fd)[0],t=yi(t0)[0],typeof n=="object"&&n!==null&&typeof n.then=="function")try{var o=Ua(n)}catch(B){throw B===Ir?xi:B}else o=n;n=xt();var c=n.queue,m=c.dispatch;return l!==n.memoizedState&&(Fe.flags|=2048,Yr(9,{destroy:void 0},z5.bind(null,c,l),null)),[o,m,t]}function z5(t,n){t.action=n}function Nd(t){var n=xt(),l=Qe;if(l!==null)return Md(n,l,t);xt(),n=n.memoizedState,l=xt();var o=l.queue.dispatch;return l.memoizedState=t,[n,o,!1]}function Yr(t,n,l,o){return t={tag:t,create:l,deps:o,inst:n,next:null},n=Fe.updateQueue,n===null&&(n=Ei(),Fe.updateQueue=n),l=n.lastEffect,l===null?n.lastEffect=t.next=t:(o=l.next,l.next=t,t.next=o,n.lastEffect=t),t}function _d(){return xt().memoizedState}function gi(t,n,l,o){var c=jt();Fe.flags|=t,c.memoizedState=Yr(1|n,{destroy:void 0},l,o===void 0?null:o)}function Bi(t,n,l,o){var c=xt();o=o===void 0?null:o;var m=c.memoizedState.inst;Qe!==null&&o!==null&&Vs(o,Qe.memoizedState.deps)?c.memoizedState=Yr(n,m,l,o):(Fe.flags|=t,c.memoizedState=Yr(1|n,m,l,o))}function Td(t,n){gi(8390656,8,t,n)}function ex(t,n){Bi(2048,8,t,n)}function j5(t){Fe.flags|=4;var n=Fe.updateQueue;if(n===null)n=Ei(),Fe.updateQueue=n,n.events=[t];else{var l=n.events;l===null?n.events=[t]:l.push(t)}}function zd(t){var n=xt().memoizedState;return j5({ref:n,nextImpl:t}),function(){if((qe&2)!==0)throw Error(i(440));return n.impl.apply(void 0,arguments)}}function jd(t,n){return Bi(4,2,t,n)}function Rd(t,n){return Bi(4,4,t,n)}function Od(t,n){if(typeof n=="function"){t=t();var l=n(t);return function(){typeof l=="function"?l():n(null)}}if(n!=null)return t=t(),n.current=t,function(){n.current=null}}function Ld(t,n,l){l=l!=null?l.concat([t]):null,Bi(4,4,Od.bind(null,n,t),l)}function tx(){}function Pd(t,n){var l=xt();n=n===void 0?null:n;var o=l.memoizedState;return n!==null&&Vs(n,o[1])?o[0]:(l.memoizedState=[t,n],t)}function Ud(t,n){var l=xt();n=n===void 0?null:n;var o=l.memoizedState;if(n!==null&&Vs(n,o[1]))return o[0];if(o=t(),ir){Ut(!0);try{t()}finally{Ut(!1)}}return l.memoizedState=[o,n],o}function nx(t,n,l){return l===void 0||(e0&1073741824)!==0&&(je&261930)===0?t.memoizedState=n:(t.memoizedState=l,t=H1(),Fe.lanes|=t,w0|=t,l)}function Hd(t,n,l,o){return Wt(l,n)?l:$r.current!==null?(t=nx(t,l,o),Wt(t,n)||(dt=!0),t):(e0&42)===0||(e0&1073741824)!==0&&(je&261930)===0?(dt=!0,t.memoizedState=l):(t=H1(),Fe.lanes|=t,w0|=t,n)}function qd(t,n,l,o,c){var m=Y.p;Y.p=m!==0&&8>m?m:8;var B=P.T,v={};P.T=v,lx(t,!1,n,l);try{var U=c(),Q=P.S;if(Q!==null&&Q(v,U),U!==null&&typeof U=="object"&&typeof U.then=="function"){var te=M5(U,o);Ha(t,n,te,ln(t))}else Ha(t,n,o,ln(t))}catch(le){Ha(t,n,{then:function(){},status:"rejected",reason:le},ln())}finally{Y.p=m,B!==null&&v.types!==null&&(B.types=v.types),P.T=B}}function R5(){}function rx(t,n,l,o){if(t.tag!==5)throw Error(i(476));var c=Id(t).queue;qd(t,c,n,oe,l===null?R5:function(){return Vd(t),l(o)})}function Id(t){var n=t.memoizedState;if(n!==null)return n;n={memoizedState:oe,baseState:oe,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:t0,lastRenderedState:oe},next:null};var l={};return n.next={memoizedState:l,baseState:l,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:t0,lastRenderedState:l},next:null},t.memoizedState=n,t=t.alternate,t!==null&&(t.memoizedState=n),n}function Vd(t){var n=Id(t);n.next===null&&(n=t.alternate.memoizedState),Ha(t,n.next.queue,{},ln())}function ax(){return vt(al)}function $d(){return xt().memoizedState}function Gd(){return xt().memoizedState}function O5(t){for(var n=t.return;n!==null;){switch(n.tag){case 24:case 3:var l=ln();t=A0(l);var o=b0(n,t,l);o!==null&&(Qt(o,n,l),Ra(o,n,l)),n={cache:Ts()},t.payload=n;return}n=n.return}}function L5(t,n,l){var o=ln();l={lane:o,revertLane:0,gesture:null,action:l,hasEagerState:!1,eagerState:null,next:null},Ai(t)?Yd(n,l):(l=As(t,n,l,o),l!==null&&(Qt(l,t,o),Xd(l,n,o)))}function Qd(t,n,l){var o=ln();Ha(t,n,l,o)}function Ha(t,n,l,o){var c={lane:o,revertLane:0,gesture:null,action:l,hasEagerState:!1,eagerState:null,next:null};if(Ai(t))Yd(n,c);else{var m=t.alternate;if(t.lanes===0&&(m===null||m.lanes===0)&&(m=n.lastRenderedReducer,m!==null))try{var B=n.lastRenderedState,v=m(B,l);if(c.hasEagerState=!0,c.eagerState=v,Wt(v,B))return ni(t,n,c,0),Ze===null&&ti(),!1}catch{}if(l=As(t,n,c,o),l!==null)return Qt(l,t,o),Xd(l,n,o),!0}return!1}function lx(t,n,l,o){if(o={lane:2,revertLane:Ox(),gesture:null,action:o,hasEagerState:!1,eagerState:null,next:null},Ai(t)){if(n)throw Error(i(479))}else n=As(t,l,o,2),n!==null&&Qt(n,t,2)}function Ai(t){var n=t.alternate;return t===Fe||n!==null&&n===Fe}function Yd(t,n){Gr=pi=!0;var l=t.pending;l===null?n.next=n:(n.next=l.next,l.next=n),t.pending=n}function Xd(t,n,l){if((l&4194048)!==0){var o=n.lanes;o&=t.pendingLanes,l|=o,n.lanes=l,Wc(t,l)}}var qa={readContext:vt,use:Ci,useCallback:lt,useContext:lt,useEffect:lt,useImperativeHandle:lt,useLayoutEffect:lt,useInsertionEffect:lt,useMemo:lt,useReducer:lt,useRef:lt,useState:lt,useDebugValue:lt,useDeferredValue:lt,useTransition:lt,useSyncExternalStore:lt,useId:lt,useHostTransitionStatus:lt,useFormState:lt,useActionState:lt,useOptimistic:lt,useMemoCache:lt,useCacheRefresh:lt};qa.useEffectEvent=lt;var Kd={readContext:vt,use:Ci,useCallback:function(t,n){return jt().memoizedState=[t,n===void 0?null:n],t},useContext:vt,useEffect:Td,useImperativeHandle:function(t,n,l){l=l!=null?l.concat([t]):null,gi(4194308,4,Od.bind(null,n,t),l)},useLayoutEffect:function(t,n){return gi(4194308,4,t,n)},useInsertionEffect:function(t,n){gi(4,2,t,n)},useMemo:function(t,n){var l=jt();n=n===void 0?null:n;var o=t();if(ir){Ut(!0);try{t()}finally{Ut(!1)}}return l.memoizedState=[o,n],o},useReducer:function(t,n,l){var o=jt();if(l!==void 0){var c=l(n);if(ir){Ut(!0);try{l(n)}finally{Ut(!1)}}}else c=n;return o.memoizedState=o.baseState=c,t={pending:null,lanes:0,dispatch:null,lastRenderedReducer:t,lastRenderedState:c},o.queue=t,t=t.dispatch=L5.bind(null,Fe,t),[o.memoizedState,t]},useRef:function(t){var n=jt();return t={current:t},n.memoizedState=t},useState:function(t){t=Js(t);var n=t.queue,l=Qd.bind(null,Fe,n);return n.dispatch=l,[t.memoizedState,l]},useDebugValue:tx,useDeferredValue:function(t,n){var l=jt();return nx(l,t,n)},useTransition:function(){var t=Js(!1);return t=qd.bind(null,Fe,t.queue,!0,!1),jt().memoizedState=t,[!1,t]},useSyncExternalStore:function(t,n,l){var o=Fe,c=jt();if(Oe){if(l===void 0)throw Error(i(407));l=l()}else{if(l=n(),Ze===null)throw Error(i(349));(je&127)!==0||Ed(o,n,l)}c.memoizedState=l;var m={value:l,getSnapshot:n};return c.queue=m,Td(yd.bind(null,o,m,t),[t]),o.flags|=2048,Yr(9,{destroy:void 0},Cd.bind(null,o,m,l,n),null),l},useId:function(){var t=jt(),n=Ze.identifierPrefix;if(Oe){var l=On,o=Rn;l=(o&~(1<<32-Ke(o)-1)).toString(32)+l,n="_"+n+"R_"+l,l=mi++,0<l&&(n+="H"+l.toString(32)),n+="_"}else l=N5++,n="_"+n+"r_"+l.toString(32)+"_";return t.memoizedState=n},useHostTransitionStatus:ax,useFormState:wd,useActionState:wd,useOptimistic:function(t){var n=jt();n.memoizedState=n.baseState=t;var l={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return n.queue=l,n=lx.bind(null,Fe,!0,l),l.dispatch=n,[t,n]},useMemoCache:Xs,useCacheRefresh:function(){return jt().memoizedState=O5.bind(null,Fe)},useEffectEvent:function(t){var n=jt(),l={impl:t};return n.memoizedState=l,function(){if((qe&2)!==0)throw Error(i(440));return l.impl.apply(void 0,arguments)}}},ix={readContext:vt,use:Ci,useCallback:Pd,useContext:vt,useEffect:ex,useImperativeHandle:Ld,useInsertionEffect:jd,useLayoutEffect:Rd,useMemo:Ud,useReducer:yi,useRef:_d,useState:function(){return yi(t0)},useDebugValue:tx,useDeferredValue:function(t,n){var l=xt();return Hd(l,Qe.memoizedState,t,n)},useTransition:function(){var t=yi(t0)[0],n=xt().memoizedState;return[typeof t=="boolean"?t:Ua(t),n]},useSyncExternalStore:md,useId:$d,useHostTransitionStatus:ax,useFormState:Sd,useActionState:Sd,useOptimistic:function(t,n){var l=xt();return Ad(l,Qe,t,n)},useMemoCache:Xs,useCacheRefresh:Gd};ix.useEffectEvent=zd;var Zd={readContext:vt,use:Ci,useCallback:Pd,useContext:vt,useEffect:ex,useImperativeHandle:Ld,useInsertionEffect:jd,useLayoutEffect:Rd,useMemo:Ud,useReducer:Zs,useRef:_d,useState:function(){return Zs(t0)},useDebugValue:tx,useDeferredValue:function(t,n){var l=xt();return Qe===null?nx(l,t,n):Hd(l,Qe.memoizedState,t,n)},useTransition:function(){var t=Zs(t0)[0],n=xt().memoizedState;return[typeof t=="boolean"?t:Ua(t),n]},useSyncExternalStore:md,useId:$d,useHostTransitionStatus:ax,useFormState:Nd,useActionState:Nd,useOptimistic:function(t,n){var l=xt();return Qe!==null?Ad(l,Qe,t,n):(l.baseState=t,[t,l.queue.dispatch])},useMemoCache:Xs,useCacheRefresh:Gd};Zd.useEffectEvent=zd;function ox(t,n,l,o){n=t.memoizedState,l=l(o,n),l=l==null?n:p({},n,l),t.memoizedState=l,t.lanes===0&&(t.updateQueue.baseState=l)}var sx={enqueueSetState:function(t,n,l){t=t._reactInternals;var o=ln(),c=A0(o);c.payload=n,l!=null&&(c.callback=l),n=b0(t,c,o),n!==null&&(Qt(n,t,o),Ra(n,t,o))},enqueueReplaceState:function(t,n,l){t=t._reactInternals;var o=ln(),c=A0(o);c.tag=1,c.payload=n,l!=null&&(c.callback=l),n=b0(t,c,o),n!==null&&(Qt(n,t,o),Ra(n,t,o))},enqueueForceUpdate:function(t,n){t=t._reactInternals;var l=ln(),o=A0(l);o.tag=2,n!=null&&(o.callback=n),n=b0(t,o,l),n!==null&&(Qt(n,t,l),Ra(n,t,l))}};function Jd(t,n,l,o,c,m,B){return t=t.stateNode,typeof t.shouldComponentUpdate=="function"?t.shouldComponentUpdate(o,m,B):n.prototype&&n.prototype.isPureReactComponent?!wa(l,o)||!wa(c,m):!0}function Wd(t,n,l,o){t=n.state,typeof n.componentWillReceiveProps=="function"&&n.componentWillReceiveProps(l,o),typeof n.UNSAFE_componentWillReceiveProps=="function"&&n.UNSAFE_componentWillReceiveProps(l,o),n.state!==t&&sx.enqueueReplaceState(n,n.state,null)}function or(t,n){var l=n;if("ref"in n){l={};for(var o in n)o!=="ref"&&(l[o]=n[o])}if(t=t.defaultProps){l===n&&(l=p({},l));for(var c in t)l[c]===void 0&&(l[c]=t[c])}return l}function e1(t){ei(t)}function t1(t){console.error(t)}function n1(t){ei(t)}function bi(t,n){try{var l=t.onUncaughtError;l(n.value,{componentStack:n.stack})}catch(o){setTimeout(function(){throw o})}}function r1(t,n,l){try{var o=t.onCaughtError;o(l.value,{componentStack:l.stack,errorBoundary:n.tag===1?n.stateNode:null})}catch(c){setTimeout(function(){throw c})}}function xx(t,n,l){return l=A0(l),l.tag=3,l.payload={element:null},l.callback=function(){bi(t,n)},l}function a1(t){return t=A0(t),t.tag=3,t}function l1(t,n,l,o){var c=l.type.getDerivedStateFromError;if(typeof c=="function"){var m=o.value;t.payload=function(){return c(m)},t.callback=function(){r1(n,l,o)}}var B=l.stateNode;B!==null&&typeof B.componentDidCatch=="function"&&(t.callback=function(){r1(n,l,o),typeof c!="function"&&(S0===null?S0=new Set([this]):S0.add(this));var v=o.stack;this.componentDidCatch(o.value,{componentStack:v!==null?v:""})})}function P5(t,n,l,o,c){if(l.flags|=32768,o!==null&&typeof o=="object"&&typeof o.then=="function"){if(n=l.alternate,n!==null&&Ur(n,l,c,!0),l=tn.current,l!==null){switch(l.tag){case 31:case 13:return Bn===null?ji():l.alternate===null&&it===0&&(it=3),l.flags&=-257,l.flags|=65536,l.lanes=c,o===ui?l.flags|=16384:(n=l.updateQueue,n===null?l.updateQueue=new Set([o]):n.add(o),zx(t,o,c)),!1;case 22:return l.flags|=65536,o===ui?l.flags|=16384:(n=l.updateQueue,n===null?(n={transitions:null,markerInstances:null,retryQueue:new Set([o])},l.updateQueue=n):(l=n.retryQueue,l===null?n.retryQueue=new Set([o]):l.add(o)),zx(t,o,c)),!1}throw Error(i(435,l.tag))}return zx(t,o,c),ji(),!1}if(Oe)return n=tn.current,n!==null?((n.flags&65536)===0&&(n.flags|=256),n.flags|=65536,n.lanes=c,o!==ws&&(t=Error(i(422),{cause:o}),Na(En(t,l)))):(o!==ws&&(n=Error(i(423),{cause:o}),Na(En(n,l))),t=t.current.alternate,t.flags|=65536,c&=-c,t.lanes|=c,o=En(o,l),c=xx(t.stateNode,o,c),Ps(t,c),it!==4&&(it=2)),!1;var m=Error(i(520),{cause:o});if(m=En(m,l),Ka===null?Ka=[m]:Ka.push(m),it!==4&&(it=2),n===null)return!0;o=En(o,l),l=n;do{switch(l.tag){case 3:return l.flags|=65536,t=c&-c,l.lanes|=t,t=xx(l.stateNode,o,t),Ps(l,t),!1;case 1:if(n=l.type,m=l.stateNode,(l.flags&128)===0&&(typeof n.getDerivedStateFromError=="function"||m!==null&&typeof m.componentDidCatch=="function"&&(S0===null||!S0.has(m))))return l.flags|=65536,c&=-c,l.lanes|=c,c=a1(c),l1(c,t,l,o),Ps(l,c),!1}l=l.return}while(l!==null);return!1}var ux=Error(i(461)),dt=!1;function kt(t,n,l,o){n.child=t===null?xd(n,null,l,o):lr(n,t.child,l,o)}function i1(t,n,l,o,c){l=l.render;var m=n.ref;if("ref"in o){var B={};for(var v in o)v!=="ref"&&(B[v]=o[v])}else B=o;return tr(n),o=$s(t,n,l,B,m,c),v=Gs(),t!==null&&!dt?(Qs(t,n,c),n0(t,n,c)):(Oe&&v&&ks(n),n.flags|=1,kt(t,n,o,c),n.child)}function o1(t,n,l,o,c){if(t===null){var m=l.type;return typeof m=="function"&&!bs(m)&&m.defaultProps===void 0&&l.compare===null?(n.tag=15,n.type=m,s1(t,n,m,o,c)):(t=ai(l.type,null,o,n,n.mode,c),t.ref=n.ref,t.return=n,n.child=t)}if(m=t.child,!Cx(t,c)){var B=m.memoizedProps;if(l=l.compare,l=l!==null?l:wa,l(B,o)&&t.ref===n.ref)return n0(t,n,c)}return n.flags|=1,t=Kn(m,o),t.ref=n.ref,t.return=n,n.child=t}function s1(t,n,l,o,c){if(t!==null){var m=t.memoizedProps;if(wa(m,o)&&t.ref===n.ref)if(dt=!1,n.pendingProps=o=m,Cx(t,c))(t.flags&131072)!==0&&(dt=!0);else return n.lanes=t.lanes,n0(t,n,c)}return cx(t,n,l,o,c)}function x1(t,n,l,o){var c=o.children,m=t!==null?t.memoizedState:null;if(t===null&&n.stateNode===null&&(n.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),o.mode==="hidden"){if((n.flags&128)!==0){if(m=m!==null?m.baseLanes|l:l,t!==null){for(o=n.child=t.child,c=0;o!==null;)c=c|o.lanes|o.childLanes,o=o.sibling;o=c&~m}else o=0,n.child=null;return u1(t,n,m,l,o)}if((l&536870912)!==0)n.memoizedState={baseLanes:0,cachePool:null},t!==null&&si(n,m!==null?m.cachePool:null),m!==null?fd(n,m):Hs(),dd(n);else return o=n.lanes=536870912,u1(t,n,m!==null?m.baseLanes|l:l,l,o)}else m!==null?(si(n,m.cachePool),fd(n,m),v0(),n.memoizedState=null):(t!==null&&si(n,null),Hs(),v0());return kt(t,n,c,l),n.child}function Ia(t,n){return t!==null&&t.tag===22||n.stateNode!==null||(n.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),n.sibling}function u1(t,n,l,o,c){var m=js();return m=m===null?null:{parent:ct._currentValue,pool:m},n.memoizedState={baseLanes:l,cachePool:m},t!==null&&si(n,null),Hs(),dd(n),t!==null&&Ur(t,n,o,!0),n.childLanes=c,null}function Di(t,n){return n=ki({mode:n.mode,children:n.children},t.mode),n.ref=t.ref,t.child=n,n.return=t,n}function c1(t,n,l){return lr(n,t.child,null,l),t=Di(n,n.pendingProps),t.flags|=2,nn(n),n.memoizedState=null,t}function U5(t,n,l){var o=n.pendingProps,c=(n.flags&128)!==0;if(n.flags&=-129,t===null){if(Oe){if(o.mode==="hidden")return t=Di(n,o),n.lanes=536870912,Ia(null,t);if(Is(n),(t=tt)?(t=b9(t,gn),t=t!==null&&t.data==="&"?t:null,t!==null&&(n.memoizedState={dehydrated:t,treeContext:E0!==null?{id:Rn,overflow:On}:null,retryLane:536870912,hydrationErrors:null},l=Yf(t),l.return=n,n.child=l,Dt=n,tt=null)):t=null,t===null)throw y0(n);return n.lanes=536870912,null}return Di(n,o)}var m=t.memoizedState;if(m!==null){var B=m.dehydrated;if(Is(n),c)if(n.flags&256)n.flags&=-257,n=c1(t,n,l);else if(n.memoizedState!==null)n.child=t.child,n.flags|=128,n=null;else throw Error(i(558));else if(dt||Ur(t,n,l,!1),c=(l&t.childLanes)!==0,dt||c){if(o=Ze,o!==null&&(B=ef(o,l),B!==0&&B!==m.retryLane))throw m.retryLane=B,Z0(t,B),Qt(o,t,B),ux;ji(),n=c1(t,n,l)}else t=m.treeContext,tt=An(B.nextSibling),Dt=n,Oe=!0,C0=null,gn=!1,t!==null&&Zf(n,t),n=Di(n,o),n.flags|=4096;return n}return t=Kn(t.child,{mode:o.mode,children:o.children}),t.ref=n.ref,n.child=t,t.return=n,t}function vi(t,n){var l=n.ref;if(l===null)t!==null&&t.ref!==null&&(n.flags|=4194816);else{if(typeof l!="function"&&typeof l!="object")throw Error(i(284));(t===null||t.ref!==l)&&(n.flags|=4194816)}}function cx(t,n,l,o,c){return tr(n),l=$s(t,n,l,o,void 0,c),o=Gs(),t!==null&&!dt?(Qs(t,n,c),n0(t,n,c)):(Oe&&o&&ks(n),n.flags|=1,kt(t,n,l,c),n.child)}function f1(t,n,l,o,c,m){return tr(n),n.updateQueue=null,l=pd(n,o,l,c),hd(t),o=Gs(),t!==null&&!dt?(Qs(t,n,m),n0(t,n,m)):(Oe&&o&&ks(n),n.flags|=1,kt(t,n,l,m),n.child)}function d1(t,n,l,o,c){if(tr(n),n.stateNode===null){var m=Rr,B=l.contextType;typeof B=="object"&&B!==null&&(m=vt(B)),m=new l(o,m),n.memoizedState=m.state!==null&&m.state!==void 0?m.state:null,m.updater=sx,n.stateNode=m,m._reactInternals=n,m=n.stateNode,m.props=o,m.state=n.memoizedState,m.refs={},Os(n),B=l.contextType,m.context=typeof B=="object"&&B!==null?vt(B):Rr,m.state=n.memoizedState,B=l.getDerivedStateFromProps,typeof B=="function"&&(ox(n,l,B,o),m.state=n.memoizedState),typeof l.getDerivedStateFromProps=="function"||typeof m.getSnapshotBeforeUpdate=="function"||typeof m.UNSAFE_componentWillMount!="function"&&typeof m.componentWillMount!="function"||(B=m.state,typeof m.componentWillMount=="function"&&m.componentWillMount(),typeof m.UNSAFE_componentWillMount=="function"&&m.UNSAFE_componentWillMount(),B!==m.state&&sx.enqueueReplaceState(m,m.state,null),La(n,o,m,c),Oa(),m.state=n.memoizedState),typeof m.componentDidMount=="function"&&(n.flags|=4194308),o=!0}else if(t===null){m=n.stateNode;var v=n.memoizedProps,U=or(l,v);m.props=U;var Q=m.context,te=l.contextType;B=Rr,typeof te=="object"&&te!==null&&(B=vt(te));var le=l.getDerivedStateFromProps;te=typeof le=="function"||typeof m.getSnapshotBeforeUpdate=="function",v=n.pendingProps!==v,te||typeof m.UNSAFE_componentWillReceiveProps!="function"&&typeof m.componentWillReceiveProps!="function"||(v||Q!==B)&&Wd(n,m,o,B),B0=!1;var J=n.memoizedState;m.state=J,La(n,o,m,c),Oa(),Q=n.memoizedState,v||J!==Q||B0?(typeof le=="function"&&(ox(n,l,le,o),Q=n.memoizedState),(U=B0||Jd(n,l,U,o,J,Q,B))?(te||typeof m.UNSAFE_componentWillMount!="function"&&typeof m.componentWillMount!="function"||(typeof m.componentWillMount=="function"&&m.componentWillMount(),typeof m.UNSAFE_componentWillMount=="function"&&m.UNSAFE_componentWillMount()),typeof m.componentDidMount=="function"&&(n.flags|=4194308)):(typeof m.componentDidMount=="function"&&(n.flags|=4194308),n.memoizedProps=o,n.memoizedState=Q),m.props=o,m.state=Q,m.context=B,o=U):(typeof m.componentDidMount=="function"&&(n.flags|=4194308),o=!1)}else{m=n.stateNode,Ls(t,n),B=n.memoizedProps,te=or(l,B),m.props=te,le=n.pendingProps,J=m.context,Q=l.contextType,U=Rr,typeof Q=="object"&&Q!==null&&(U=vt(Q)),v=l.getDerivedStateFromProps,(Q=typeof v=="function"||typeof m.getSnapshotBeforeUpdate=="function")||typeof m.UNSAFE_componentWillReceiveProps!="function"&&typeof m.componentWillReceiveProps!="function"||(B!==le||J!==U)&&Wd(n,m,o,U),B0=!1,J=n.memoizedState,m.state=J,La(n,o,m,c),Oa();var ee=n.memoizedState;B!==le||J!==ee||B0||t!==null&&t.dependencies!==null&&ii(t.dependencies)?(typeof v=="function"&&(ox(n,l,v,o),ee=n.memoizedState),(te=B0||Jd(n,l,te,o,J,ee,U)||t!==null&&t.dependencies!==null&&ii(t.dependencies))?(Q||typeof m.UNSAFE_componentWillUpdate!="function"&&typeof m.componentWillUpdate!="function"||(typeof m.componentWillUpdate=="function"&&m.componentWillUpdate(o,ee,U),typeof m.UNSAFE_componentWillUpdate=="function"&&m.UNSAFE_componentWillUpdate(o,ee,U)),typeof m.componentDidUpdate=="function"&&(n.flags|=4),typeof m.getSnapshotBeforeUpdate=="function"&&(n.flags|=1024)):(typeof m.componentDidUpdate!="function"||B===t.memoizedProps&&J===t.memoizedState||(n.flags|=4),typeof m.getSnapshotBeforeUpdate!="function"||B===t.memoizedProps&&J===t.memoizedState||(n.flags|=1024),n.memoizedProps=o,n.memoizedState=ee),m.props=o,m.state=ee,m.context=U,o=te):(typeof m.componentDidUpdate!="function"||B===t.memoizedProps&&J===t.memoizedState||(n.flags|=4),typeof m.getSnapshotBeforeUpdate!="function"||B===t.memoizedProps&&J===t.memoizedState||(n.flags|=1024),o=!1)}return m=o,vi(t,n),o=(n.flags&128)!==0,m||o?(m=n.stateNode,l=o&&typeof l.getDerivedStateFromError!="function"?null:m.render(),n.flags|=1,t!==null&&o?(n.child=lr(n,t.child,null,c),n.child=lr(n,null,l,c)):kt(t,n,l,c),n.memoizedState=m.state,t=n.child):t=n0(t,n,c),t}function h1(t,n,l,o){return W0(),n.flags|=256,kt(t,n,l,o),n.child}var fx={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function dx(t){return{baseLanes:t,cachePool:rd()}}function hx(t,n,l){return t=t!==null?t.childLanes&~l:0,n&&(t|=an),t}function p1(t,n,l){var o=n.pendingProps,c=!1,m=(n.flags&128)!==0,B;if((B=m)||(B=t!==null&&t.memoizedState===null?!1:(st.current&2)!==0),B&&(c=!0,n.flags&=-129),B=(n.flags&32)!==0,n.flags&=-33,t===null){if(Oe){if(c?D0(n):v0(),(t=tt)?(t=b9(t,gn),t=t!==null&&t.data!=="&"?t:null,t!==null&&(n.memoizedState={dehydrated:t,treeContext:E0!==null?{id:Rn,overflow:On}:null,retryLane:536870912,hydrationErrors:null},l=Yf(t),l.return=n,n.child=l,Dt=n,tt=null)):t=null,t===null)throw y0(n);return Kx(t)?n.lanes=32:n.lanes=536870912,null}var v=o.children;return o=o.fallback,c?(v0(),c=n.mode,v=ki({mode:"hidden",children:v},c),o=J0(o,c,l,null),v.return=n,o.return=n,v.sibling=o,n.child=v,o=n.child,o.memoizedState=dx(l),o.childLanes=hx(t,B,l),n.memoizedState=fx,Ia(null,o)):(D0(n),px(n,v))}var U=t.memoizedState;if(U!==null&&(v=U.dehydrated,v!==null)){if(m)n.flags&256?(D0(n),n.flags&=-257,n=mx(t,n,l)):n.memoizedState!==null?(v0(),n.child=t.child,n.flags|=128,n=null):(v0(),v=o.fallback,c=n.mode,o=ki({mode:"visible",children:o.children},c),v=J0(v,c,l,null),v.flags|=2,o.return=n,v.return=n,o.sibling=v,n.child=o,lr(n,t.child,null,l),o=n.child,o.memoizedState=dx(l),o.childLanes=hx(t,B,l),n.memoizedState=fx,n=Ia(null,o));else if(D0(n),Kx(v)){if(B=v.nextSibling&&v.nextSibling.dataset,B)var Q=B.dgst;B=Q,o=Error(i(419)),o.stack="",o.digest=B,Na({value:o,source:null,stack:null}),n=mx(t,n,l)}else if(dt||Ur(t,n,l,!1),B=(l&t.childLanes)!==0,dt||B){if(B=Ze,B!==null&&(o=ef(B,l),o!==0&&o!==U.retryLane))throw U.retryLane=o,Z0(t,o),Qt(B,t,o),ux;Xx(v)||ji(),n=mx(t,n,l)}else Xx(v)?(n.flags|=192,n.child=t.child,n=null):(t=U.treeContext,tt=An(v.nextSibling),Dt=n,Oe=!0,C0=null,gn=!1,t!==null&&Zf(n,t),n=px(n,o.children),n.flags|=4096);return n}return c?(v0(),v=o.fallback,c=n.mode,U=t.child,Q=U.sibling,o=Kn(U,{mode:"hidden",children:o.children}),o.subtreeFlags=U.subtreeFlags&65011712,Q!==null?v=Kn(Q,v):(v=J0(v,c,l,null),v.flags|=2),v.return=n,o.return=n,o.sibling=v,n.child=o,Ia(null,o),o=n.child,v=t.child.memoizedState,v===null?v=dx(l):(c=v.cachePool,c!==null?(U=ct._currentValue,c=c.parent!==U?{parent:U,pool:U}:c):c=rd(),v={baseLanes:v.baseLanes|l,cachePool:c}),o.memoizedState=v,o.childLanes=hx(t,B,l),n.memoizedState=fx,Ia(t.child,o)):(D0(n),l=t.child,t=l.sibling,l=Kn(l,{mode:"visible",children:o.children}),l.return=n,l.sibling=null,t!==null&&(B=n.deletions,B===null?(n.deletions=[t],n.flags|=16):B.push(t)),n.child=l,n.memoizedState=null,l)}function px(t,n){return n=ki({mode:"visible",children:n},t.mode),n.return=t,t.child=n}function ki(t,n){return t=en(22,t,null,n),t.lanes=0,t}function mx(t,n,l){return lr(n,t.child,null,l),t=px(n,n.pendingProps.children),t.flags|=2,n.memoizedState=null,t}function m1(t,n,l){t.lanes|=n;var o=t.alternate;o!==null&&(o.lanes|=n),Ns(t.return,n,l)}function Ex(t,n,l,o,c,m){var B=t.memoizedState;B===null?t.memoizedState={isBackwards:n,rendering:null,renderingStartTime:0,last:o,tail:l,tailMode:c,treeForkCount:m}:(B.isBackwards=n,B.rendering=null,B.renderingStartTime=0,B.last=o,B.tail=l,B.tailMode=c,B.treeForkCount=m)}function E1(t,n,l){var o=n.pendingProps,c=o.revealOrder,m=o.tail;o=o.children;var B=st.current,v=(B&2)!==0;if(v?(B=B&1|2,n.flags|=128):B&=1,N(st,B),kt(t,n,o,l),o=Oe?Ma:0,!v&&t!==null&&(t.flags&128)!==0)e:for(t=n.child;t!==null;){if(t.tag===13)t.memoizedState!==null&&m1(t,l,n);else if(t.tag===19)m1(t,l,n);else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===n)break e;for(;t.sibling===null;){if(t.return===null||t.return===n)break e;t=t.return}t.sibling.return=t.return,t=t.sibling}switch(c){case"forwards":for(l=n.child,c=null;l!==null;)t=l.alternate,t!==null&&hi(t)===null&&(c=l),l=l.sibling;l=c,l===null?(c=n.child,n.child=null):(c=l.sibling,l.sibling=null),Ex(n,!1,c,l,m,o);break;case"backwards":case"unstable_legacy-backwards":for(l=null,c=n.child,n.child=null;c!==null;){if(t=c.alternate,t!==null&&hi(t)===null){n.child=c;break}t=c.sibling,c.sibling=l,l=c,c=t}Ex(n,!0,l,null,m,o);break;case"together":Ex(n,!1,null,null,void 0,o);break;default:n.memoizedState=null}return n.child}function n0(t,n,l){if(t!==null&&(n.dependencies=t.dependencies),w0|=n.lanes,(l&n.childLanes)===0)if(t!==null){if(Ur(t,n,l,!1),(l&n.childLanes)===0)return null}else return null;if(t!==null&&n.child!==t.child)throw Error(i(153));if(n.child!==null){for(t=n.child,l=Kn(t,t.pendingProps),n.child=l,l.return=n;t.sibling!==null;)t=t.sibling,l=l.sibling=Kn(t,t.pendingProps),l.return=n;l.sibling=null}return n.child}function Cx(t,n){return(t.lanes&n)!==0?!0:(t=t.dependencies,!!(t!==null&&ii(t)))}function H5(t,n,l){switch(n.tag){case 3:Pe(n,n.stateNode.containerInfo),g0(n,ct,t.memoizedState.cache),W0();break;case 27:case 5:Bt(n);break;case 4:Pe(n,n.stateNode.containerInfo);break;case 10:g0(n,n.type,n.memoizedProps.value);break;case 31:if(n.memoizedState!==null)return n.flags|=128,Is(n),null;break;case 13:var o=n.memoizedState;if(o!==null)return o.dehydrated!==null?(D0(n),n.flags|=128,null):(l&n.child.childLanes)!==0?p1(t,n,l):(D0(n),t=n0(t,n,l),t!==null?t.sibling:null);D0(n);break;case 19:var c=(t.flags&128)!==0;if(o=(l&n.childLanes)!==0,o||(Ur(t,n,l,!1),o=(l&n.childLanes)!==0),c){if(o)return E1(t,n,l);n.flags|=128}if(c=n.memoizedState,c!==null&&(c.rendering=null,c.tail=null,c.lastEffect=null),N(st,st.current),o)break;return null;case 22:return n.lanes=0,x1(t,n,l,n.pendingProps);case 24:g0(n,ct,t.memoizedState.cache)}return n0(t,n,l)}function C1(t,n,l){if(t!==null)if(t.memoizedProps!==n.pendingProps)dt=!0;else{if(!Cx(t,l)&&(n.flags&128)===0)return dt=!1,H5(t,n,l);dt=(t.flags&131072)!==0}else dt=!1,Oe&&(n.flags&1048576)!==0&&Kf(n,Ma,n.index);switch(n.lanes=0,n.tag){case 16:e:{var o=n.pendingProps;if(t=rr(n.elementType),n.type=t,typeof t=="function")bs(t)?(o=or(t,o),n.tag=1,n=d1(null,n,t,o,l)):(n.tag=0,n=cx(null,n,t,o,l));else{if(t!=null){var c=t.$$typeof;if(c===_){n.tag=11,n=i1(null,n,t,o,l);break e}else if(c===T){n.tag=14,n=o1(null,n,t,o,l);break e}}throw n=Z(t)||t,Error(i(306,n,""))}}return n;case 0:return cx(t,n,n.type,n.pendingProps,l);case 1:return o=n.type,c=or(o,n.pendingProps),d1(t,n,o,c,l);case 3:e:{if(Pe(n,n.stateNode.containerInfo),t===null)throw Error(i(387));o=n.pendingProps;var m=n.memoizedState;c=m.element,Ls(t,n),La(n,o,null,l);var B=n.memoizedState;if(o=B.cache,g0(n,ct,o),o!==m.cache&&_s(n,[ct],l,!0),Oa(),o=B.element,m.isDehydrated)if(m={element:o,isDehydrated:!1,cache:B.cache},n.updateQueue.baseState=m,n.memoizedState=m,n.flags&256){n=h1(t,n,o,l);break e}else if(o!==c){c=En(Error(i(424)),n),Na(c),n=h1(t,n,o,l);break e}else for(t=n.stateNode.containerInfo,t.nodeType===9?t=t.body:t=t.nodeName==="HTML"?t.ownerDocument.body:t,tt=An(t.firstChild),Dt=n,Oe=!0,C0=null,gn=!0,l=xd(n,null,o,l),n.child=l;l;)l.flags=l.flags&-3|4096,l=l.sibling;else{if(W0(),o===c){n=n0(t,n,l);break e}kt(t,n,o,l)}n=n.child}return n;case 26:return vi(t,n),t===null?(l=S9(n.type,null,n.pendingProps,null))?n.memoizedState=l:Oe||(l=n.type,t=n.pendingProps,o=qi(xe.current).createElement(l),o[bt]=n,o[Ht]=t,Ft(o,l,t),yt(o),n.stateNode=o):n.memoizedState=S9(n.type,t.memoizedProps,n.pendingProps,t.memoizedState),null;case 27:return Bt(n),t===null&&Oe&&(o=n.stateNode=k9(n.type,n.pendingProps,xe.current),Dt=n,gn=!0,c=tt,T0(n.type)?(Zx=c,tt=An(o.firstChild)):tt=c),kt(t,n,n.pendingProps.children,l),vi(t,n),t===null&&(n.flags|=4194304),n.child;case 5:return t===null&&Oe&&((c=o=tt)&&(o=EE(o,n.type,n.pendingProps,gn),o!==null?(n.stateNode=o,Dt=n,tt=An(o.firstChild),gn=!1,c=!0):c=!1),c||y0(n)),Bt(n),c=n.type,m=n.pendingProps,B=t!==null?t.memoizedProps:null,o=m.children,Gx(c,m)?o=null:B!==null&&Gx(c,B)&&(n.flags|=32),n.memoizedState!==null&&(c=$s(t,n,_5,null,null,l),al._currentValue=c),vi(t,n),kt(t,n,o,l),n.child;case 6:return t===null&&Oe&&((t=l=tt)&&(l=CE(l,n.pendingProps,gn),l!==null?(n.stateNode=l,Dt=n,tt=null,t=!0):t=!1),t||y0(n)),null;case 13:return p1(t,n,l);case 4:return Pe(n,n.stateNode.containerInfo),o=n.pendingProps,t===null?n.child=lr(n,null,o,l):kt(t,n,o,l),n.child;case 11:return i1(t,n,n.type,n.pendingProps,l);case 7:return kt(t,n,n.pendingProps,l),n.child;case 8:return kt(t,n,n.pendingProps.children,l),n.child;case 12:return kt(t,n,n.pendingProps.children,l),n.child;case 10:return o=n.pendingProps,g0(n,n.type,o.value),kt(t,n,o.children,l),n.child;case 9:return c=n.type._context,o=n.pendingProps.children,tr(n),c=vt(c),o=o(c),n.flags|=1,kt(t,n,o,l),n.child;case 14:return o1(t,n,n.type,n.pendingProps,l);case 15:return s1(t,n,n.type,n.pendingProps,l);case 19:return E1(t,n,l);case 31:return U5(t,n,l);case 22:return x1(t,n,l,n.pendingProps);case 24:return tr(n),o=vt(ct),t===null?(c=js(),c===null&&(c=Ze,m=Ts(),c.pooledCache=m,m.refCount++,m!==null&&(c.pooledCacheLanes|=l),c=m),n.memoizedState={parent:o,cache:c},Os(n),g0(n,ct,c)):((t.lanes&l)!==0&&(Ls(t,n),La(n,null,null,l),Oa()),c=t.memoizedState,m=n.memoizedState,c.parent!==o?(c={parent:o,cache:o},n.memoizedState=c,n.lanes===0&&(n.memoizedState=n.updateQueue.baseState=c),g0(n,ct,o)):(o=m.cache,g0(n,ct,o),o!==c.cache&&_s(n,[ct],l,!0))),kt(t,n,n.pendingProps.children,l),n.child;case 29:throw n.pendingProps}throw Error(i(156,n.tag))}function r0(t){t.flags|=4}function yx(t,n,l,o,c){if((n=(t.mode&32)!==0)&&(n=!1),n){if(t.flags|=16777216,(c&335544128)===c)if(t.stateNode.complete)t.flags|=8192;else if($1())t.flags|=8192;else throw ar=ui,Rs}else t.flags&=-16777217}function y1(t,n){if(n.type!=="stylesheet"||(n.state.loading&4)!==0)t.flags&=-16777217;else if(t.flags|=16777216,!z9(n))if($1())t.flags|=8192;else throw ar=ui,Rs}function Fi(t,n){n!==null&&(t.flags|=4),t.flags&16384&&(n=t.tag!==22?Zc():536870912,t.lanes|=n,Jr|=n)}function Va(t,n){if(!Oe)switch(t.tailMode){case"hidden":n=t.tail;for(var l=null;n!==null;)n.alternate!==null&&(l=n),n=n.sibling;l===null?t.tail=null:l.sibling=null;break;case"collapsed":l=t.tail;for(var o=null;l!==null;)l.alternate!==null&&(o=l),l=l.sibling;o===null?n||t.tail===null?t.tail=null:t.tail.sibling=null:o.sibling=null}}function nt(t){var n=t.alternate!==null&&t.alternate.child===t.child,l=0,o=0;if(n)for(var c=t.child;c!==null;)l|=c.lanes|c.childLanes,o|=c.subtreeFlags&65011712,o|=c.flags&65011712,c.return=t,c=c.sibling;else for(c=t.child;c!==null;)l|=c.lanes|c.childLanes,o|=c.subtreeFlags,o|=c.flags,c.return=t,c=c.sibling;return t.subtreeFlags|=o,t.childLanes=l,n}function q5(t,n,l){var o=n.pendingProps;switch(Fs(n),n.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return nt(n),null;case 1:return nt(n),null;case 3:return l=n.stateNode,o=null,t!==null&&(o=t.memoizedState.cache),n.memoizedState.cache!==o&&(n.flags|=2048),Wn(ct),Ce(),l.pendingContext&&(l.context=l.pendingContext,l.pendingContext=null),(t===null||t.child===null)&&(Pr(n)?r0(n):t===null||t.memoizedState.isDehydrated&&(n.flags&256)===0||(n.flags|=1024,Ss())),nt(n),null;case 26:var c=n.type,m=n.memoizedState;return t===null?(r0(n),m!==null?(nt(n),y1(n,m)):(nt(n),yx(n,c,null,o,l))):m?m!==t.memoizedState?(r0(n),nt(n),y1(n,m)):(nt(n),n.flags&=-16777217):(t=t.memoizedProps,t!==o&&r0(n),nt(n),yx(n,c,t,o,l)),null;case 27:if(ot(n),l=xe.current,c=n.type,t!==null&&n.stateNode!=null)t.memoizedProps!==o&&r0(n);else{if(!o){if(n.stateNode===null)throw Error(i(166));return nt(n),null}t=ae.current,Pr(n)?Jf(n):(t=k9(c,o,l),n.stateNode=t,r0(n))}return nt(n),null;case 5:if(ot(n),c=n.type,t!==null&&n.stateNode!=null)t.memoizedProps!==o&&r0(n);else{if(!o){if(n.stateNode===null)throw Error(i(166));return nt(n),null}if(m=ae.current,Pr(n))Jf(n);else{var B=qi(xe.current);switch(m){case 1:m=B.createElementNS("http://www.w3.org/2000/svg",c);break;case 2:m=B.createElementNS("http://www.w3.org/1998/Math/MathML",c);break;default:switch(c){case"svg":m=B.createElementNS("http://www.w3.org/2000/svg",c);break;case"math":m=B.createElementNS("http://www.w3.org/1998/Math/MathML",c);break;case"script":m=B.createElement("div"),m.innerHTML="<script><\/script>",m=m.removeChild(m.firstChild);break;case"select":m=typeof o.is=="string"?B.createElement("select",{is:o.is}):B.createElement("select"),o.multiple?m.multiple=!0:o.size&&(m.size=o.size);break;default:m=typeof o.is=="string"?B.createElement(c,{is:o.is}):B.createElement(c)}}m[bt]=n,m[Ht]=o;e:for(B=n.child;B!==null;){if(B.tag===5||B.tag===6)m.appendChild(B.stateNode);else if(B.tag!==4&&B.tag!==27&&B.child!==null){B.child.return=B,B=B.child;continue}if(B===n)break e;for(;B.sibling===null;){if(B.return===null||B.return===n)break e;B=B.return}B.sibling.return=B.return,B=B.sibling}n.stateNode=m;e:switch(Ft(m,c,o),c){case"button":case"input":case"select":case"textarea":o=!!o.autoFocus;break e;case"img":o=!0;break e;default:o=!1}o&&r0(n)}}return nt(n),yx(n,n.type,t===null?null:t.memoizedProps,n.pendingProps,l),null;case 6:if(t&&n.stateNode!=null)t.memoizedProps!==o&&r0(n);else{if(typeof o!="string"&&n.stateNode===null)throw Error(i(166));if(t=xe.current,Pr(n)){if(t=n.stateNode,l=n.memoizedProps,o=null,c=Dt,c!==null)switch(c.tag){case 27:case 5:o=c.memoizedProps}t[bt]=n,t=!!(t.nodeValue===l||o!==null&&o.suppressHydrationWarning===!0||p9(t.nodeValue,l)),t||y0(n,!0)}else t=qi(t).createTextNode(o),t[bt]=n,n.stateNode=t}return nt(n),null;case 31:if(l=n.memoizedState,t===null||t.memoizedState!==null){if(o=Pr(n),l!==null){if(t===null){if(!o)throw Error(i(318));if(t=n.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(i(557));t[bt]=n}else W0(),(n.flags&128)===0&&(n.memoizedState=null),n.flags|=4;nt(n),t=!1}else l=Ss(),t!==null&&t.memoizedState!==null&&(t.memoizedState.hydrationErrors=l),t=!0;if(!t)return n.flags&256?(nn(n),n):(nn(n),null);if((n.flags&128)!==0)throw Error(i(558))}return nt(n),null;case 13:if(o=n.memoizedState,t===null||t.memoizedState!==null&&t.memoizedState.dehydrated!==null){if(c=Pr(n),o!==null&&o.dehydrated!==null){if(t===null){if(!c)throw Error(i(318));if(c=n.memoizedState,c=c!==null?c.dehydrated:null,!c)throw Error(i(317));c[bt]=n}else W0(),(n.flags&128)===0&&(n.memoizedState=null),n.flags|=4;nt(n),c=!1}else c=Ss(),t!==null&&t.memoizedState!==null&&(t.memoizedState.hydrationErrors=c),c=!0;if(!c)return n.flags&256?(nn(n),n):(nn(n),null)}return nn(n),(n.flags&128)!==0?(n.lanes=l,n):(l=o!==null,t=t!==null&&t.memoizedState!==null,l&&(o=n.child,c=null,o.alternate!==null&&o.alternate.memoizedState!==null&&o.alternate.memoizedState.cachePool!==null&&(c=o.alternate.memoizedState.cachePool.pool),m=null,o.memoizedState!==null&&o.memoizedState.cachePool!==null&&(m=o.memoizedState.cachePool.pool),m!==c&&(o.flags|=2048)),l!==t&&l&&(n.child.flags|=8192),Fi(n,n.updateQueue),nt(n),null);case 4:return Ce(),t===null&&Hx(n.stateNode.containerInfo),nt(n),null;case 10:return Wn(n.type),nt(n),null;case 19:if(W(st),o=n.memoizedState,o===null)return nt(n),null;if(c=(n.flags&128)!==0,m=o.rendering,m===null)if(c)Va(o,!1);else{if(it!==0||t!==null&&(t.flags&128)!==0)for(t=n.child;t!==null;){if(m=hi(t),m!==null){for(n.flags|=128,Va(o,!1),t=m.updateQueue,n.updateQueue=t,Fi(n,t),n.subtreeFlags=0,t=l,l=n.child;l!==null;)Qf(l,t),l=l.sibling;return N(st,st.current&1|2),Oe&&Zn(n,o.treeForkCount),n.child}t=t.sibling}o.tail!==null&&Tt()>_i&&(n.flags|=128,c=!0,Va(o,!1),n.lanes=4194304)}else{if(!c)if(t=hi(m),t!==null){if(n.flags|=128,c=!0,t=t.updateQueue,n.updateQueue=t,Fi(n,t),Va(o,!0),o.tail===null&&o.tailMode==="hidden"&&!m.alternate&&!Oe)return nt(n),null}else 2*Tt()-o.renderingStartTime>_i&&l!==536870912&&(n.flags|=128,c=!0,Va(o,!1),n.lanes=4194304);o.isBackwards?(m.sibling=n.child,n.child=m):(t=o.last,t!==null?t.sibling=m:n.child=m,o.last=m)}return o.tail!==null?(t=o.tail,o.rendering=t,o.tail=t.sibling,o.renderingStartTime=Tt(),t.sibling=null,l=st.current,N(st,c?l&1|2:l&1),Oe&&Zn(n,o.treeForkCount),t):(nt(n),null);case 22:case 23:return nn(n),qs(),o=n.memoizedState!==null,t!==null?t.memoizedState!==null!==o&&(n.flags|=8192):o&&(n.flags|=8192),o?(l&536870912)!==0&&(n.flags&128)===0&&(nt(n),n.subtreeFlags&6&&(n.flags|=8192)):nt(n),l=n.updateQueue,l!==null&&Fi(n,l.retryQueue),l=null,t!==null&&t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(l=t.memoizedState.cachePool.pool),o=null,n.memoizedState!==null&&n.memoizedState.cachePool!==null&&(o=n.memoizedState.cachePool.pool),o!==l&&(n.flags|=2048),t!==null&&W(nr),null;case 24:return l=null,t!==null&&(l=t.memoizedState.cache),n.memoizedState.cache!==l&&(n.flags|=2048),Wn(ct),nt(n),null;case 25:return null;case 30:return null}throw Error(i(156,n.tag))}function I5(t,n){switch(Fs(n),n.tag){case 1:return t=n.flags,t&65536?(n.flags=t&-65537|128,n):null;case 3:return Wn(ct),Ce(),t=n.flags,(t&65536)!==0&&(t&128)===0?(n.flags=t&-65537|128,n):null;case 26:case 27:case 5:return ot(n),null;case 31:if(n.memoizedState!==null){if(nn(n),n.alternate===null)throw Error(i(340));W0()}return t=n.flags,t&65536?(n.flags=t&-65537|128,n):null;case 13:if(nn(n),t=n.memoizedState,t!==null&&t.dehydrated!==null){if(n.alternate===null)throw Error(i(340));W0()}return t=n.flags,t&65536?(n.flags=t&-65537|128,n):null;case 19:return W(st),null;case 4:return Ce(),null;case 10:return Wn(n.type),null;case 22:case 23:return nn(n),qs(),t!==null&&W(nr),t=n.flags,t&65536?(n.flags=t&-65537|128,n):null;case 24:return Wn(ct),null;case 25:return null;default:return null}}function g1(t,n){switch(Fs(n),n.tag){case 3:Wn(ct),Ce();break;case 26:case 27:case 5:ot(n);break;case 4:Ce();break;case 31:n.memoizedState!==null&&nn(n);break;case 13:nn(n);break;case 19:W(st);break;case 10:Wn(n.type);break;case 22:case 23:nn(n),qs(),t!==null&&W(nr);break;case 24:Wn(ct)}}function $a(t,n){try{var l=n.updateQueue,o=l!==null?l.lastEffect:null;if(o!==null){var c=o.next;l=c;do{if((l.tag&t)===t){o=void 0;var m=l.create,B=l.inst;o=m(),B.destroy=o}l=l.next}while(l!==c)}}catch(v){Ge(n,n.return,v)}}function k0(t,n,l){try{var o=n.updateQueue,c=o!==null?o.lastEffect:null;if(c!==null){var m=c.next;o=m;do{if((o.tag&t)===t){var B=o.inst,v=B.destroy;if(v!==void 0){B.destroy=void 0,c=n;var U=l,Q=v;try{Q()}catch(te){Ge(c,U,te)}}}o=o.next}while(o!==m)}}catch(te){Ge(n,n.return,te)}}function B1(t){var n=t.updateQueue;if(n!==null){var l=t.stateNode;try{cd(n,l)}catch(o){Ge(t,t.return,o)}}}function A1(t,n,l){l.props=or(t.type,t.memoizedProps),l.state=t.memoizedState;try{l.componentWillUnmount()}catch(o){Ge(t,n,o)}}function Ga(t,n){try{var l=t.ref;if(l!==null){switch(t.tag){case 26:case 27:case 5:var o=t.stateNode;break;case 30:o=t.stateNode;break;default:o=t.stateNode}typeof l=="function"?t.refCleanup=l(o):l.current=o}}catch(c){Ge(t,n,c)}}function Ln(t,n){var l=t.ref,o=t.refCleanup;if(l!==null)if(typeof o=="function")try{o()}catch(c){Ge(t,n,c)}finally{t.refCleanup=null,t=t.alternate,t!=null&&(t.refCleanup=null)}else if(typeof l=="function")try{l(null)}catch(c){Ge(t,n,c)}else l.current=null}function b1(t){var n=t.type,l=t.memoizedProps,o=t.stateNode;try{e:switch(n){case"button":case"input":case"select":case"textarea":l.autoFocus&&o.focus();break e;case"img":l.src?o.src=l.src:l.srcSet&&(o.srcset=l.srcSet)}}catch(c){Ge(t,t.return,c)}}function gx(t,n,l){try{var o=t.stateNode;cE(o,t.type,l,n),o[Ht]=n}catch(c){Ge(t,t.return,c)}}function D1(t){return t.tag===5||t.tag===3||t.tag===26||t.tag===27&&T0(t.type)||t.tag===4}function Bx(t){e:for(;;){for(;t.sibling===null;){if(t.return===null||D1(t.return))return null;t=t.return}for(t.sibling.return=t.return,t=t.sibling;t.tag!==5&&t.tag!==6&&t.tag!==18;){if(t.tag===27&&T0(t.type)||t.flags&2||t.child===null||t.tag===4)continue e;t.child.return=t,t=t.child}if(!(t.flags&2))return t.stateNode}}function Ax(t,n,l){var o=t.tag;if(o===5||o===6)t=t.stateNode,n?(l.nodeType===9?l.body:l.nodeName==="HTML"?l.ownerDocument.body:l).insertBefore(t,n):(n=l.nodeType===9?l.body:l.nodeName==="HTML"?l.ownerDocument.body:l,n.appendChild(t),l=l._reactRootContainer,l!=null||n.onclick!==null||(n.onclick=Yn));else if(o!==4&&(o===27&&T0(t.type)&&(l=t.stateNode,n=null),t=t.child,t!==null))for(Ax(t,n,l),t=t.sibling;t!==null;)Ax(t,n,l),t=t.sibling}function wi(t,n,l){var o=t.tag;if(o===5||o===6)t=t.stateNode,n?l.insertBefore(t,n):l.appendChild(t);else if(o!==4&&(o===27&&T0(t.type)&&(l=t.stateNode),t=t.child,t!==null))for(wi(t,n,l),t=t.sibling;t!==null;)wi(t,n,l),t=t.sibling}function v1(t){var n=t.stateNode,l=t.memoizedProps;try{for(var o=t.type,c=n.attributes;c.length;)n.removeAttributeNode(c[0]);Ft(n,o,l),n[bt]=t,n[Ht]=l}catch(m){Ge(t,t.return,m)}}var a0=!1,ht=!1,bx=!1,k1=typeof WeakSet=="function"?WeakSet:Set,gt=null;function V5(t,n){if(t=t.containerInfo,Vx=Xi,t=Lf(t),ms(t)){if("selectionStart"in t)var l={start:t.selectionStart,end:t.selectionEnd};else e:{l=(l=t.ownerDocument)&&l.defaultView||window;var o=l.getSelection&&l.getSelection();if(o&&o.rangeCount!==0){l=o.anchorNode;var c=o.anchorOffset,m=o.focusNode;o=o.focusOffset;try{l.nodeType,m.nodeType}catch{l=null;break e}var B=0,v=-1,U=-1,Q=0,te=0,le=t,J=null;t:for(;;){for(var ee;le!==l||c!==0&&le.nodeType!==3||(v=B+c),le!==m||o!==0&&le.nodeType!==3||(U=B+o),le.nodeType===3&&(B+=le.nodeValue.length),(ee=le.firstChild)!==null;)J=le,le=ee;for(;;){if(le===t)break t;if(J===l&&++Q===c&&(v=B),J===m&&++te===o&&(U=B),(ee=le.nextSibling)!==null)break;le=J,J=le.parentNode}le=ee}l=v===-1||U===-1?null:{start:v,end:U}}else l=null}l=l||{start:0,end:0}}else l=null;for($x={focusedElem:t,selectionRange:l},Xi=!1,gt=n;gt!==null;)if(n=gt,t=n.child,(n.subtreeFlags&1028)!==0&&t!==null)t.return=n,gt=t;else for(;gt!==null;){switch(n=gt,m=n.alternate,t=n.flags,n.tag){case 0:if((t&4)!==0&&(t=n.updateQueue,t=t!==null?t.events:null,t!==null))for(l=0;l<t.length;l++)c=t[l],c.ref.impl=c.nextImpl;break;case 11:case 15:break;case 1:if((t&1024)!==0&&m!==null){t=void 0,l=n,c=m.memoizedProps,m=m.memoizedState,o=l.stateNode;try{var pe=or(l.type,c);t=o.getSnapshotBeforeUpdate(pe,m),o.__reactInternalSnapshotBeforeUpdate=t}catch(Be){Ge(l,l.return,Be)}}break;case 3:if((t&1024)!==0){if(t=n.stateNode.containerInfo,l=t.nodeType,l===9)Yx(t);else if(l===1)switch(t.nodeName){case"HEAD":case"HTML":case"BODY":Yx(t);break;default:t.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((t&1024)!==0)throw Error(i(163))}if(t=n.sibling,t!==null){t.return=n.return,gt=t;break}gt=n.return}}function F1(t,n,l){var o=l.flags;switch(l.tag){case 0:case 11:case 15:i0(t,l),o&4&&$a(5,l);break;case 1:if(i0(t,l),o&4)if(t=l.stateNode,n===null)try{t.componentDidMount()}catch(B){Ge(l,l.return,B)}else{var c=or(l.type,n.memoizedProps);n=n.memoizedState;try{t.componentDidUpdate(c,n,t.__reactInternalSnapshotBeforeUpdate)}catch(B){Ge(l,l.return,B)}}o&64&&B1(l),o&512&&Ga(l,l.return);break;case 3:if(i0(t,l),o&64&&(t=l.updateQueue,t!==null)){if(n=null,l.child!==null)switch(l.child.tag){case 27:case 5:n=l.child.stateNode;break;case 1:n=l.child.stateNode}try{cd(t,n)}catch(B){Ge(l,l.return,B)}}break;case 27:n===null&&o&4&&v1(l);case 26:case 5:i0(t,l),n===null&&o&4&&b1(l),o&512&&Ga(l,l.return);break;case 12:i0(t,l);break;case 31:i0(t,l),o&4&&M1(t,l);break;case 13:i0(t,l),o&4&&N1(t,l),o&64&&(t=l.memoizedState,t!==null&&(t=t.dehydrated,t!==null&&(l=W5.bind(null,l),yE(t,l))));break;case 22:if(o=l.memoizedState!==null||a0,!o){n=n!==null&&n.memoizedState!==null||ht,c=a0;var m=ht;a0=o,(ht=n)&&!m?o0(t,l,(l.subtreeFlags&8772)!==0):i0(t,l),a0=c,ht=m}break;case 30:break;default:i0(t,l)}}function w1(t){var n=t.alternate;n!==null&&(t.alternate=null,w1(n)),t.child=null,t.deletions=null,t.sibling=null,t.tag===5&&(n=t.stateNode,n!==null&&Wo(n)),t.stateNode=null,t.return=null,t.dependencies=null,t.memoizedProps=null,t.memoizedState=null,t.pendingProps=null,t.stateNode=null,t.updateQueue=null}var at=null,It=!1;function l0(t,n,l){for(l=l.child;l!==null;)S1(t,n,l),l=l.sibling}function S1(t,n,l){if(mt&&typeof mt.onCommitFiberUnmount=="function")try{mt.onCommitFiberUnmount(zt,l)}catch{}switch(l.tag){case 26:ht||Ln(l,n),l0(t,n,l),l.memoizedState?l.memoizedState.count--:l.stateNode&&(l=l.stateNode,l.parentNode.removeChild(l));break;case 27:ht||Ln(l,n);var o=at,c=It;T0(l.type)&&(at=l.stateNode,It=!1),l0(t,n,l),tl(l.stateNode),at=o,It=c;break;case 5:ht||Ln(l,n);case 6:if(o=at,c=It,at=null,l0(t,n,l),at=o,It=c,at!==null)if(It)try{(at.nodeType===9?at.body:at.nodeName==="HTML"?at.ownerDocument.body:at).removeChild(l.stateNode)}catch(m){Ge(l,n,m)}else try{at.removeChild(l.stateNode)}catch(m){Ge(l,n,m)}break;case 18:at!==null&&(It?(t=at,B9(t.nodeType===9?t.body:t.nodeName==="HTML"?t.ownerDocument.body:t,l.stateNode),ia(t)):B9(at,l.stateNode));break;case 4:o=at,c=It,at=l.stateNode.containerInfo,It=!0,l0(t,n,l),at=o,It=c;break;case 0:case 11:case 14:case 15:k0(2,l,n),ht||k0(4,l,n),l0(t,n,l);break;case 1:ht||(Ln(l,n),o=l.stateNode,typeof o.componentWillUnmount=="function"&&A1(l,n,o)),l0(t,n,l);break;case 21:l0(t,n,l);break;case 22:ht=(o=ht)||l.memoizedState!==null,l0(t,n,l),ht=o;break;default:l0(t,n,l)}}function M1(t,n){if(n.memoizedState===null&&(t=n.alternate,t!==null&&(t=t.memoizedState,t!==null))){t=t.dehydrated;try{ia(t)}catch(l){Ge(n,n.return,l)}}}function N1(t,n){if(n.memoizedState===null&&(t=n.alternate,t!==null&&(t=t.memoizedState,t!==null&&(t=t.dehydrated,t!==null))))try{ia(t)}catch(l){Ge(n,n.return,l)}}function $5(t){switch(t.tag){case 31:case 13:case 19:var n=t.stateNode;return n===null&&(n=t.stateNode=new k1),n;case 22:return t=t.stateNode,n=t._retryCache,n===null&&(n=t._retryCache=new k1),n;default:throw Error(i(435,t.tag))}}function Si(t,n){var l=$5(t);n.forEach(function(o){if(!l.has(o)){l.add(o);var c=eE.bind(null,t,o);o.then(c,c)}})}function Vt(t,n){var l=n.deletions;if(l!==null)for(var o=0;o<l.length;o++){var c=l[o],m=t,B=n,v=B;e:for(;v!==null;){switch(v.tag){case 27:if(T0(v.type)){at=v.stateNode,It=!1;break e}break;case 5:at=v.stateNode,It=!1;break e;case 3:case 4:at=v.stateNode.containerInfo,It=!0;break e}v=v.return}if(at===null)throw Error(i(160));S1(m,B,c),at=null,It=!1,m=c.alternate,m!==null&&(m.return=null),c.return=null}if(n.subtreeFlags&13886)for(n=n.child;n!==null;)_1(n,t),n=n.sibling}var Mn=null;function _1(t,n){var l=t.alternate,o=t.flags;switch(t.tag){case 0:case 11:case 14:case 15:Vt(n,t),$t(t),o&4&&(k0(3,t,t.return),$a(3,t),k0(5,t,t.return));break;case 1:Vt(n,t),$t(t),o&512&&(ht||l===null||Ln(l,l.return)),o&64&&a0&&(t=t.updateQueue,t!==null&&(o=t.callbacks,o!==null&&(l=t.shared.hiddenCallbacks,t.shared.hiddenCallbacks=l===null?o:l.concat(o))));break;case 26:var c=Mn;if(Vt(n,t),$t(t),o&512&&(ht||l===null||Ln(l,l.return)),o&4){var m=l!==null?l.memoizedState:null;if(o=t.memoizedState,l===null)if(o===null)if(t.stateNode===null){e:{o=t.type,l=t.memoizedProps,c=c.ownerDocument||c;t:switch(o){case"title":m=c.getElementsByTagName("title")[0],(!m||m[ya]||m[bt]||m.namespaceURI==="http://www.w3.org/2000/svg"||m.hasAttribute("itemprop"))&&(m=c.createElement(o),c.head.insertBefore(m,c.querySelector("head > title"))),Ft(m,o,l),m[bt]=t,yt(m),o=m;break e;case"link":var B=_9("link","href",c).get(o+(l.href||""));if(B){for(var v=0;v<B.length;v++)if(m=B[v],m.getAttribute("href")===(l.href==null||l.href===""?null:l.href)&&m.getAttribute("rel")===(l.rel==null?null:l.rel)&&m.getAttribute("title")===(l.title==null?null:l.title)&&m.getAttribute("crossorigin")===(l.crossOrigin==null?null:l.crossOrigin)){B.splice(v,1);break t}}m=c.createElement(o),Ft(m,o,l),c.head.appendChild(m);break;case"meta":if(B=_9("meta","content",c).get(o+(l.content||""))){for(v=0;v<B.length;v++)if(m=B[v],m.getAttribute("content")===(l.content==null?null:""+l.content)&&m.getAttribute("name")===(l.name==null?null:l.name)&&m.getAttribute("property")===(l.property==null?null:l.property)&&m.getAttribute("http-equiv")===(l.httpEquiv==null?null:l.httpEquiv)&&m.getAttribute("charset")===(l.charSet==null?null:l.charSet)){B.splice(v,1);break t}}m=c.createElement(o),Ft(m,o,l),c.head.appendChild(m);break;default:throw Error(i(468,o))}m[bt]=t,yt(m),o=m}t.stateNode=o}else T9(c,t.type,t.stateNode);else t.stateNode=N9(c,o,t.memoizedProps);else m!==o?(m===null?l.stateNode!==null&&(l=l.stateNode,l.parentNode.removeChild(l)):m.count--,o===null?T9(c,t.type,t.stateNode):N9(c,o,t.memoizedProps)):o===null&&t.stateNode!==null&&gx(t,t.memoizedProps,l.memoizedProps)}break;case 27:Vt(n,t),$t(t),o&512&&(ht||l===null||Ln(l,l.return)),l!==null&&o&4&&gx(t,t.memoizedProps,l.memoizedProps);break;case 5:if(Vt(n,t),$t(t),o&512&&(ht||l===null||Ln(l,l.return)),t.flags&32){c=t.stateNode;try{Sr(c,"")}catch(pe){Ge(t,t.return,pe)}}o&4&&t.stateNode!=null&&(c=t.memoizedProps,gx(t,c,l!==null?l.memoizedProps:c)),o&1024&&(bx=!0);break;case 6:if(Vt(n,t),$t(t),o&4){if(t.stateNode===null)throw Error(i(162));o=t.memoizedProps,l=t.stateNode;try{l.nodeValue=o}catch(pe){Ge(t,t.return,pe)}}break;case 3:if($i=null,c=Mn,Mn=Ii(n.containerInfo),Vt(n,t),Mn=c,$t(t),o&4&&l!==null&&l.memoizedState.isDehydrated)try{ia(n.containerInfo)}catch(pe){Ge(t,t.return,pe)}bx&&(bx=!1,T1(t));break;case 4:o=Mn,Mn=Ii(t.stateNode.containerInfo),Vt(n,t),$t(t),Mn=o;break;case 12:Vt(n,t),$t(t);break;case 31:Vt(n,t),$t(t),o&4&&(o=t.updateQueue,o!==null&&(t.updateQueue=null,Si(t,o)));break;case 13:Vt(n,t),$t(t),t.child.flags&8192&&t.memoizedState!==null!=(l!==null&&l.memoizedState!==null)&&(Ni=Tt()),o&4&&(o=t.updateQueue,o!==null&&(t.updateQueue=null,Si(t,o)));break;case 22:c=t.memoizedState!==null;var U=l!==null&&l.memoizedState!==null,Q=a0,te=ht;if(a0=Q||c,ht=te||U,Vt(n,t),ht=te,a0=Q,$t(t),o&8192)e:for(n=t.stateNode,n._visibility=c?n._visibility&-2:n._visibility|1,c&&(l===null||U||a0||ht||sr(t)),l=null,n=t;;){if(n.tag===5||n.tag===26){if(l===null){U=l=n;try{if(m=U.stateNode,c)B=m.style,typeof B.setProperty=="function"?B.setProperty("display","none","important"):B.display="none";else{v=U.stateNode;var le=U.memoizedProps.style,J=le!=null&&le.hasOwnProperty("display")?le.display:null;v.style.display=J==null||typeof J=="boolean"?"":(""+J).trim()}}catch(pe){Ge(U,U.return,pe)}}}else if(n.tag===6){if(l===null){U=n;try{U.stateNode.nodeValue=c?"":U.memoizedProps}catch(pe){Ge(U,U.return,pe)}}}else if(n.tag===18){if(l===null){U=n;try{var ee=U.stateNode;c?A9(ee,!0):A9(U.stateNode,!1)}catch(pe){Ge(U,U.return,pe)}}}else if((n.tag!==22&&n.tag!==23||n.memoizedState===null||n===t)&&n.child!==null){n.child.return=n,n=n.child;continue}if(n===t)break e;for(;n.sibling===null;){if(n.return===null||n.return===t)break e;l===n&&(l=null),n=n.return}l===n&&(l=null),n.sibling.return=n.return,n=n.sibling}o&4&&(o=t.updateQueue,o!==null&&(l=o.retryQueue,l!==null&&(o.retryQueue=null,Si(t,l))));break;case 19:Vt(n,t),$t(t),o&4&&(o=t.updateQueue,o!==null&&(t.updateQueue=null,Si(t,o)));break;case 30:break;case 21:break;default:Vt(n,t),$t(t)}}function $t(t){var n=t.flags;if(n&2){try{for(var l,o=t.return;o!==null;){if(D1(o)){l=o;break}o=o.return}if(l==null)throw Error(i(160));switch(l.tag){case 27:var c=l.stateNode,m=Bx(t);wi(t,m,c);break;case 5:var B=l.stateNode;l.flags&32&&(Sr(B,""),l.flags&=-33);var v=Bx(t);wi(t,v,B);break;case 3:case 4:var U=l.stateNode.containerInfo,Q=Bx(t);Ax(t,Q,U);break;default:throw Error(i(161))}}catch(te){Ge(t,t.return,te)}t.flags&=-3}n&4096&&(t.flags&=-4097)}function T1(t){if(t.subtreeFlags&1024)for(t=t.child;t!==null;){var n=t;T1(n),n.tag===5&&n.flags&1024&&n.stateNode.reset(),t=t.sibling}}function i0(t,n){if(n.subtreeFlags&8772)for(n=n.child;n!==null;)F1(t,n.alternate,n),n=n.sibling}function sr(t){for(t=t.child;t!==null;){var n=t;switch(n.tag){case 0:case 11:case 14:case 15:k0(4,n,n.return),sr(n);break;case 1:Ln(n,n.return);var l=n.stateNode;typeof l.componentWillUnmount=="function"&&A1(n,n.return,l),sr(n);break;case 27:tl(n.stateNode);case 26:case 5:Ln(n,n.return),sr(n);break;case 22:n.memoizedState===null&&sr(n);break;case 30:sr(n);break;default:sr(n)}t=t.sibling}}function o0(t,n,l){for(l=l&&(n.subtreeFlags&8772)!==0,n=n.child;n!==null;){var o=n.alternate,c=t,m=n,B=m.flags;switch(m.tag){case 0:case 11:case 15:o0(c,m,l),$a(4,m);break;case 1:if(o0(c,m,l),o=m,c=o.stateNode,typeof c.componentDidMount=="function")try{c.componentDidMount()}catch(Q){Ge(o,o.return,Q)}if(o=m,c=o.updateQueue,c!==null){var v=o.stateNode;try{var U=c.shared.hiddenCallbacks;if(U!==null)for(c.shared.hiddenCallbacks=null,c=0;c<U.length;c++)ud(U[c],v)}catch(Q){Ge(o,o.return,Q)}}l&&B&64&&B1(m),Ga(m,m.return);break;case 27:v1(m);case 26:case 5:o0(c,m,l),l&&o===null&&B&4&&b1(m),Ga(m,m.return);break;case 12:o0(c,m,l);break;case 31:o0(c,m,l),l&&B&4&&M1(c,m);break;case 13:o0(c,m,l),l&&B&4&&N1(c,m);break;case 22:m.memoizedState===null&&o0(c,m,l),Ga(m,m.return);break;case 30:break;default:o0(c,m,l)}n=n.sibling}}function Dx(t,n){var l=null;t!==null&&t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(l=t.memoizedState.cachePool.pool),t=null,n.memoizedState!==null&&n.memoizedState.cachePool!==null&&(t=n.memoizedState.cachePool.pool),t!==l&&(t!=null&&t.refCount++,l!=null&&_a(l))}function vx(t,n){t=null,n.alternate!==null&&(t=n.alternate.memoizedState.cache),n=n.memoizedState.cache,n!==t&&(n.refCount++,t!=null&&_a(t))}function Nn(t,n,l,o){if(n.subtreeFlags&10256)for(n=n.child;n!==null;)z1(t,n,l,o),n=n.sibling}function z1(t,n,l,o){var c=n.flags;switch(n.tag){case 0:case 11:case 15:Nn(t,n,l,o),c&2048&&$a(9,n);break;case 1:Nn(t,n,l,o);break;case 3:Nn(t,n,l,o),c&2048&&(t=null,n.alternate!==null&&(t=n.alternate.memoizedState.cache),n=n.memoizedState.cache,n!==t&&(n.refCount++,t!=null&&_a(t)));break;case 12:if(c&2048){Nn(t,n,l,o),t=n.stateNode;try{var m=n.memoizedProps,B=m.id,v=m.onPostCommit;typeof v=="function"&&v(B,n.alternate===null?"mount":"update",t.passiveEffectDuration,-0)}catch(U){Ge(n,n.return,U)}}else Nn(t,n,l,o);break;case 31:Nn(t,n,l,o);break;case 13:Nn(t,n,l,o);break;case 23:break;case 22:m=n.stateNode,B=n.alternate,n.memoizedState!==null?m._visibility&2?Nn(t,n,l,o):Qa(t,n):m._visibility&2?Nn(t,n,l,o):(m._visibility|=2,Xr(t,n,l,o,(n.subtreeFlags&10256)!==0||!1)),c&2048&&Dx(B,n);break;case 24:Nn(t,n,l,o),c&2048&&vx(n.alternate,n);break;default:Nn(t,n,l,o)}}function Xr(t,n,l,o,c){for(c=c&&((n.subtreeFlags&10256)!==0||!1),n=n.child;n!==null;){var m=t,B=n,v=l,U=o,Q=B.flags;switch(B.tag){case 0:case 11:case 15:Xr(m,B,v,U,c),$a(8,B);break;case 23:break;case 22:var te=B.stateNode;B.memoizedState!==null?te._visibility&2?Xr(m,B,v,U,c):Qa(m,B):(te._visibility|=2,Xr(m,B,v,U,c)),c&&Q&2048&&Dx(B.alternate,B);break;case 24:Xr(m,B,v,U,c),c&&Q&2048&&vx(B.alternate,B);break;default:Xr(m,B,v,U,c)}n=n.sibling}}function Qa(t,n){if(n.subtreeFlags&10256)for(n=n.child;n!==null;){var l=t,o=n,c=o.flags;switch(o.tag){case 22:Qa(l,o),c&2048&&Dx(o.alternate,o);break;case 24:Qa(l,o),c&2048&&vx(o.alternate,o);break;default:Qa(l,o)}n=n.sibling}}var Ya=8192;function Kr(t,n,l){if(t.subtreeFlags&Ya)for(t=t.child;t!==null;)j1(t,n,l),t=t.sibling}function j1(t,n,l){switch(t.tag){case 26:Kr(t,n,l),t.flags&Ya&&t.memoizedState!==null&&NE(l,Mn,t.memoizedState,t.memoizedProps);break;case 5:Kr(t,n,l);break;case 3:case 4:var o=Mn;Mn=Ii(t.stateNode.containerInfo),Kr(t,n,l),Mn=o;break;case 22:t.memoizedState===null&&(o=t.alternate,o!==null&&o.memoizedState!==null?(o=Ya,Ya=16777216,Kr(t,n,l),Ya=o):Kr(t,n,l));break;default:Kr(t,n,l)}}function R1(t){var n=t.alternate;if(n!==null&&(t=n.child,t!==null)){n.child=null;do n=t.sibling,t.sibling=null,t=n;while(t!==null)}}function Xa(t){var n=t.deletions;if((t.flags&16)!==0){if(n!==null)for(var l=0;l<n.length;l++){var o=n[l];gt=o,L1(o,t)}R1(t)}if(t.subtreeFlags&10256)for(t=t.child;t!==null;)O1(t),t=t.sibling}function O1(t){switch(t.tag){case 0:case 11:case 15:Xa(t),t.flags&2048&&k0(9,t,t.return);break;case 3:Xa(t);break;case 12:Xa(t);break;case 22:var n=t.stateNode;t.memoizedState!==null&&n._visibility&2&&(t.return===null||t.return.tag!==13)?(n._visibility&=-3,Mi(t)):Xa(t);break;default:Xa(t)}}function Mi(t){var n=t.deletions;if((t.flags&16)!==0){if(n!==null)for(var l=0;l<n.length;l++){var o=n[l];gt=o,L1(o,t)}R1(t)}for(t=t.child;t!==null;){switch(n=t,n.tag){case 0:case 11:case 15:k0(8,n,n.return),Mi(n);break;case 22:l=n.stateNode,l._visibility&2&&(l._visibility&=-3,Mi(n));break;default:Mi(n)}t=t.sibling}}function L1(t,n){for(;gt!==null;){var l=gt;switch(l.tag){case 0:case 11:case 15:k0(8,l,n);break;case 23:case 22:if(l.memoizedState!==null&&l.memoizedState.cachePool!==null){var o=l.memoizedState.cachePool.pool;o!=null&&o.refCount++}break;case 24:_a(l.memoizedState.cache)}if(o=l.child,o!==null)o.return=l,gt=o;else e:for(l=t;gt!==null;){o=gt;var c=o.sibling,m=o.return;if(w1(o),o===l){gt=null;break e}if(c!==null){c.return=m,gt=c;break e}gt=m}}}var G5={getCacheForType:function(t){var n=vt(ct),l=n.data.get(t);return l===void 0&&(l=t(),n.data.set(t,l)),l},cacheSignal:function(){return vt(ct).controller.signal}},Q5=typeof WeakMap=="function"?WeakMap:Map,qe=0,Ze=null,_e=null,je=0,$e=0,rn=null,F0=!1,Zr=!1,kx=!1,s0=0,it=0,w0=0,xr=0,Fx=0,an=0,Jr=0,Ka=null,Gt=null,wx=!1,Ni=0,P1=0,_i=1/0,Ti=null,S0=null,Et=0,M0=null,Wr=null,x0=0,Sx=0,Mx=null,U1=null,Za=0,Nx=null;function ln(){return(qe&2)!==0&&je!==0?je&-je:P.T!==null?Ox():tf()}function H1(){if(an===0)if((je&536870912)===0||Oe){var t=Hl;Hl<<=1,(Hl&3932160)===0&&(Hl=262144),an=t}else an=536870912;return t=tn.current,t!==null&&(t.flags|=32),an}function Qt(t,n,l){(t===Ze&&($e===2||$e===9)||t.cancelPendingCommit!==null)&&(ea(t,0),N0(t,je,an,!1)),Ca(t,l),((qe&2)===0||t!==Ze)&&(t===Ze&&((qe&2)===0&&(xr|=l),it===4&&N0(t,je,an,!1)),Pn(t))}function q1(t,n,l){if((qe&6)!==0)throw Error(i(327));var o=!l&&(n&127)===0&&(n&t.expiredLanes)===0||Ea(t,n),c=o?K5(t,n):Tx(t,n,!0),m=o;do{if(c===0){Zr&&!o&&N0(t,n,0,!1);break}else{if(l=t.current.alternate,m&&!Y5(l)){c=Tx(t,n,!1),m=!1;continue}if(c===2){if(m=n,t.errorRecoveryDisabledLanes&m)var B=0;else B=t.pendingLanes&-536870913,B=B!==0?B:B&536870912?536870912:0;if(B!==0){n=B;e:{var v=t;c=Ka;var U=v.current.memoizedState.isDehydrated;if(U&&(ea(v,B).flags|=256),B=Tx(v,B,!1),B!==2){if(kx&&!U){v.errorRecoveryDisabledLanes|=m,xr|=m,c=4;break e}m=Gt,Gt=c,m!==null&&(Gt===null?Gt=m:Gt.push.apply(Gt,m))}c=B}if(m=!1,c!==2)continue}}if(c===1){ea(t,0),N0(t,n,0,!0);break}e:{switch(o=t,m=c,m){case 0:case 1:throw Error(i(345));case 4:if((n&4194048)!==n)break;case 6:N0(o,n,an,!F0);break e;case 2:Gt=null;break;case 3:case 5:break;default:throw Error(i(329))}if((n&62914560)===n&&(c=Ni+300-Tt(),10<c)){if(N0(o,n,an,!F0),Il(o,0,!0)!==0)break e;x0=n,o.timeoutHandle=y9(I1.bind(null,o,l,Gt,Ti,wx,n,an,xr,Jr,F0,m,"Throttled",-0,0),c);break e}I1(o,l,Gt,Ti,wx,n,an,xr,Jr,F0,m,null,-0,0)}}break}while(!0);Pn(t)}function I1(t,n,l,o,c,m,B,v,U,Q,te,le,J,ee){if(t.timeoutHandle=-1,le=n.subtreeFlags,le&8192||(le&16785408)===16785408){le={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:Yn},j1(n,m,le);var pe=(m&62914560)===m?Ni-Tt():(m&4194048)===m?P1-Tt():0;if(pe=_E(le,pe),pe!==null){x0=m,t.cancelPendingCommit=pe(Z1.bind(null,t,n,m,l,o,c,B,v,U,te,le,null,J,ee)),N0(t,m,B,!Q);return}}Z1(t,n,m,l,o,c,B,v,U)}function Y5(t){for(var n=t;;){var l=n.tag;if((l===0||l===11||l===15)&&n.flags&16384&&(l=n.updateQueue,l!==null&&(l=l.stores,l!==null)))for(var o=0;o<l.length;o++){var c=l[o],m=c.getSnapshot;c=c.value;try{if(!Wt(m(),c))return!1}catch{return!1}}if(l=n.child,n.subtreeFlags&16384&&l!==null)l.return=n,n=l;else{if(n===t)break;for(;n.sibling===null;){if(n.return===null||n.return===t)return!0;n=n.return}n.sibling.return=n.return,n=n.sibling}}return!0}function N0(t,n,l,o){n&=~Fx,n&=~xr,t.suspendedLanes|=n,t.pingedLanes&=~n,o&&(t.warmLanes|=n),o=t.expirationTimes;for(var c=n;0<c;){var m=31-Ke(c),B=1<<m;o[m]=-1,c&=~B}l!==0&&Jc(t,l,n)}function zi(){return(qe&6)===0?(Ja(0),!1):!0}function _x(){if(_e!==null){if($e===0)var t=_e.return;else t=_e,Jn=er=null,Ys(t),Vr=null,za=0,t=_e;for(;t!==null;)g1(t.alternate,t),t=t.return;_e=null}}function ea(t,n){var l=t.timeoutHandle;l!==-1&&(t.timeoutHandle=-1,hE(l)),l=t.cancelPendingCommit,l!==null&&(t.cancelPendingCommit=null,l()),x0=0,_x(),Ze=t,_e=l=Kn(t.current,null),je=n,$e=0,rn=null,F0=!1,Zr=Ea(t,n),kx=!1,Jr=an=Fx=xr=w0=it=0,Gt=Ka=null,wx=!1,(n&8)!==0&&(n|=n&32);var o=t.entangledLanes;if(o!==0)for(t=t.entanglements,o&=n;0<o;){var c=31-Ke(o),m=1<<c;n|=t[c],o&=~m}return s0=n,ti(),l}function V1(t,n){Fe=null,P.H=qa,n===Ir||n===xi?(n=id(),$e=3):n===Rs?(n=id(),$e=4):$e=n===ux?8:n!==null&&typeof n=="object"&&typeof n.then=="function"?6:1,rn=n,_e===null&&(it=1,bi(t,En(n,t.current)))}function $1(){var t=tn.current;return t===null?!0:(je&4194048)===je?Bn===null:(je&62914560)===je||(je&536870912)!==0?t===Bn:!1}function G1(){var t=P.H;return P.H=qa,t===null?qa:t}function Q1(){var t=P.A;return P.A=G5,t}function ji(){it=4,F0||(je&4194048)!==je&&tn.current!==null||(Zr=!0),(w0&134217727)===0&&(xr&134217727)===0||Ze===null||N0(Ze,je,an,!1)}function Tx(t,n,l){var o=qe;qe|=2;var c=G1(),m=Q1();(Ze!==t||je!==n)&&(Ti=null,ea(t,n)),n=!1;var B=it;e:do try{if($e!==0&&_e!==null){var v=_e,U=rn;switch($e){case 8:_x(),B=6;break e;case 3:case 2:case 9:case 6:tn.current===null&&(n=!0);var Q=$e;if($e=0,rn=null,ta(t,v,U,Q),l&&Zr){B=0;break e}break;default:Q=$e,$e=0,rn=null,ta(t,v,U,Q)}}X5(),B=it;break}catch(te){V1(t,te)}while(!0);return n&&t.shellSuspendCounter++,Jn=er=null,qe=o,P.H=c,P.A=m,_e===null&&(Ze=null,je=0,ti()),B}function X5(){for(;_e!==null;)Y1(_e)}function K5(t,n){var l=qe;qe|=2;var o=G1(),c=Q1();Ze!==t||je!==n?(Ti=null,_i=Tt()+500,ea(t,n)):Zr=Ea(t,n);e:do try{if($e!==0&&_e!==null){n=_e;var m=rn;t:switch($e){case 1:$e=0,rn=null,ta(t,n,m,1);break;case 2:case 9:if(ad(m)){$e=0,rn=null,X1(n);break}n=function(){$e!==2&&$e!==9||Ze!==t||($e=7),Pn(t)},m.then(n,n);break e;case 3:$e=7;break e;case 4:$e=5;break e;case 7:ad(m)?($e=0,rn=null,X1(n)):($e=0,rn=null,ta(t,n,m,7));break;case 5:var B=null;switch(_e.tag){case 26:B=_e.memoizedState;case 5:case 27:var v=_e;if(B?z9(B):v.stateNode.complete){$e=0,rn=null;var U=v.sibling;if(U!==null)_e=U;else{var Q=v.return;Q!==null?(_e=Q,Ri(Q)):_e=null}break t}}$e=0,rn=null,ta(t,n,m,5);break;case 6:$e=0,rn=null,ta(t,n,m,6);break;case 8:_x(),it=6;break e;default:throw Error(i(462))}}Z5();break}catch(te){V1(t,te)}while(!0);return Jn=er=null,P.H=o,P.A=c,qe=l,_e!==null?0:(Ze=null,je=0,ti(),it)}function Z5(){for(;_e!==null&&!Go();)Y1(_e)}function Y1(t){var n=C1(t.alternate,t,s0);t.memoizedProps=t.pendingProps,n===null?Ri(t):_e=n}function X1(t){var n=t,l=n.alternate;switch(n.tag){case 15:case 0:n=f1(l,n,n.pendingProps,n.type,void 0,je);break;case 11:n=f1(l,n,n.pendingProps,n.type.render,n.ref,je);break;case 5:Ys(n);default:g1(l,n),n=_e=Qf(n,s0),n=C1(l,n,s0)}t.memoizedProps=t.pendingProps,n===null?Ri(t):_e=n}function ta(t,n,l,o){Jn=er=null,Ys(n),Vr=null,za=0;var c=n.return;try{if(P5(t,c,n,l,je)){it=1,bi(t,En(l,t.current)),_e=null;return}}catch(m){if(c!==null)throw _e=c,m;it=1,bi(t,En(l,t.current)),_e=null;return}n.flags&32768?(Oe||o===1?t=!0:Zr||(je&536870912)!==0?t=!1:(F0=t=!0,(o===2||o===9||o===3||o===6)&&(o=tn.current,o!==null&&o.tag===13&&(o.flags|=16384))),K1(n,t)):Ri(n)}function Ri(t){var n=t;do{if((n.flags&32768)!==0){K1(n,F0);return}t=n.return;var l=q5(n.alternate,n,s0);if(l!==null){_e=l;return}if(n=n.sibling,n!==null){_e=n;return}_e=n=t}while(n!==null);it===0&&(it=5)}function K1(t,n){do{var l=I5(t.alternate,t);if(l!==null){l.flags&=32767,_e=l;return}if(l=t.return,l!==null&&(l.flags|=32768,l.subtreeFlags=0,l.deletions=null),!n&&(t=t.sibling,t!==null)){_e=t;return}_e=t=l}while(t!==null);it=6,_e=null}function Z1(t,n,l,o,c,m,B,v,U){t.cancelPendingCommit=null;do Oi();while(Et!==0);if((qe&6)!==0)throw Error(i(327));if(n!==null){if(n===t.current)throw Error(i(177));if(m=n.lanes|n.childLanes,m|=Bs,Mm(t,l,m,B,v,U),t===Ze&&(_e=Ze=null,je=0),Wr=n,M0=t,x0=l,Sx=m,Mx=c,U1=o,(n.subtreeFlags&10256)!==0||(n.flags&10256)!==0?(t.callbackNode=null,t.callbackPriority=0,tE(Ae,function(){return n9(),null})):(t.callbackNode=null,t.callbackPriority=0),o=(n.flags&13878)!==0,(n.subtreeFlags&13878)!==0||o){o=P.T,P.T=null,c=Y.p,Y.p=2,B=qe,qe|=4;try{V5(t,n,l)}finally{qe=B,Y.p=c,P.T=o}}Et=1,J1(),W1(),e9()}}function J1(){if(Et===1){Et=0;var t=M0,n=Wr,l=(n.flags&13878)!==0;if((n.subtreeFlags&13878)!==0||l){l=P.T,P.T=null;var o=Y.p;Y.p=2;var c=qe;qe|=4;try{_1(n,t);var m=$x,B=Lf(t.containerInfo),v=m.focusedElem,U=m.selectionRange;if(B!==v&&v&&v.ownerDocument&&Of(v.ownerDocument.documentElement,v)){if(U!==null&&ms(v)){var Q=U.start,te=U.end;if(te===void 0&&(te=Q),"selectionStart"in v)v.selectionStart=Q,v.selectionEnd=Math.min(te,v.value.length);else{var le=v.ownerDocument||document,J=le&&le.defaultView||window;if(J.getSelection){var ee=J.getSelection(),pe=v.textContent.length,Be=Math.min(U.start,pe),Xe=U.end===void 0?Be:Math.min(U.end,pe);!ee.extend&&Be>Xe&&(B=Xe,Xe=Be,Be=B);var V=Rf(v,Be),H=Rf(v,Xe);if(V&&H&&(ee.rangeCount!==1||ee.anchorNode!==V.node||ee.anchorOffset!==V.offset||ee.focusNode!==H.node||ee.focusOffset!==H.offset)){var G=le.createRange();G.setStart(V.node,V.offset),ee.removeAllRanges(),Be>Xe?(ee.addRange(G),ee.extend(H.node,H.offset)):(G.setEnd(H.node,H.offset),ee.addRange(G))}}}}for(le=[],ee=v;ee=ee.parentNode;)ee.nodeType===1&&le.push({element:ee,left:ee.scrollLeft,top:ee.scrollTop});for(typeof v.focus=="function"&&v.focus(),v=0;v<le.length;v++){var re=le[v];re.element.scrollLeft=re.left,re.element.scrollTop=re.top}}Xi=!!Vx,$x=Vx=null}finally{qe=c,Y.p=o,P.T=l}}t.current=n,Et=2}}function W1(){if(Et===2){Et=0;var t=M0,n=Wr,l=(n.flags&8772)!==0;if((n.subtreeFlags&8772)!==0||l){l=P.T,P.T=null;var o=Y.p;Y.p=2;var c=qe;qe|=4;try{F1(t,n.alternate,n)}finally{qe=c,Y.p=o,P.T=l}}Et=3}}function e9(){if(Et===4||Et===3){Et=0,Qo();var t=M0,n=Wr,l=x0,o=U1;(n.subtreeFlags&10256)!==0||(n.flags&10256)!==0?Et=5:(Et=0,Wr=M0=null,t9(t,t.pendingLanes));var c=t.pendingLanes;if(c===0&&(S0=null),Zo(l),n=n.stateNode,mt&&typeof mt.onCommitFiberRoot=="function")try{mt.onCommitFiberRoot(zt,n,void 0,(n.current.flags&128)===128)}catch{}if(o!==null){n=P.T,c=Y.p,Y.p=2,P.T=null;try{for(var m=t.onRecoverableError,B=0;B<o.length;B++){var v=o[B];m(v.value,{componentStack:v.stack})}}finally{P.T=n,Y.p=c}}(x0&3)!==0&&Oi(),Pn(t),c=t.pendingLanes,(l&261930)!==0&&(c&42)!==0?t===Nx?Za++:(Za=0,Nx=t):Za=0,Ja(0)}}function t9(t,n){(t.pooledCacheLanes&=n)===0&&(n=t.pooledCache,n!=null&&(t.pooledCache=null,_a(n)))}function Oi(){return J1(),W1(),e9(),n9()}function n9(){if(Et!==5)return!1;var t=M0,n=Sx;Sx=0;var l=Zo(x0),o=P.T,c=Y.p;try{Y.p=32>l?32:l,P.T=null,l=Mx,Mx=null;var m=M0,B=x0;if(Et=0,Wr=M0=null,x0=0,(qe&6)!==0)throw Error(i(331));var v=qe;if(qe|=4,O1(m.current),z1(m,m.current,B,l),qe=v,Ja(0,!1),mt&&typeof mt.onPostCommitFiberRoot=="function")try{mt.onPostCommitFiberRoot(zt,m)}catch{}return!0}finally{Y.p=c,P.T=o,t9(t,n)}}function r9(t,n,l){n=En(l,n),n=xx(t.stateNode,n,2),t=b0(t,n,2),t!==null&&(Ca(t,2),Pn(t))}function Ge(t,n,l){if(t.tag===3)r9(t,t,l);else for(;n!==null;){if(n.tag===3){r9(n,t,l);break}else if(n.tag===1){var o=n.stateNode;if(typeof n.type.getDerivedStateFromError=="function"||typeof o.componentDidCatch=="function"&&(S0===null||!S0.has(o))){t=En(l,t),l=a1(2),o=b0(n,l,2),o!==null&&(l1(l,o,n,t),Ca(o,2),Pn(o));break}}n=n.return}}function zx(t,n,l){var o=t.pingCache;if(o===null){o=t.pingCache=new Q5;var c=new Set;o.set(n,c)}else c=o.get(n),c===void 0&&(c=new Set,o.set(n,c));c.has(l)||(kx=!0,c.add(l),t=J5.bind(null,t,n,l),n.then(t,t))}function J5(t,n,l){var o=t.pingCache;o!==null&&o.delete(n),t.pingedLanes|=t.suspendedLanes&l,t.warmLanes&=~l,Ze===t&&(je&l)===l&&(it===4||it===3&&(je&62914560)===je&&300>Tt()-Ni?(qe&2)===0&&ea(t,0):Fx|=l,Jr===je&&(Jr=0)),Pn(t)}function a9(t,n){n===0&&(n=Zc()),t=Z0(t,n),t!==null&&(Ca(t,n),Pn(t))}function W5(t){var n=t.memoizedState,l=0;n!==null&&(l=n.retryLane),a9(t,l)}function eE(t,n){var l=0;switch(t.tag){case 31:case 13:var o=t.stateNode,c=t.memoizedState;c!==null&&(l=c.retryLane);break;case 19:o=t.stateNode;break;case 22:o=t.stateNode._retryCache;break;default:throw Error(i(314))}o!==null&&o.delete(n),a9(t,l)}function tE(t,n){return Ar(t,n)}var Li=null,na=null,jx=!1,Pi=!1,Rx=!1,_0=0;function Pn(t){t!==na&&t.next===null&&(na===null?Li=na=t:na=na.next=t),Pi=!0,jx||(jx=!0,rE())}function Ja(t,n){if(!Rx&&Pi){Rx=!0;do for(var l=!1,o=Li;o!==null;){if(t!==0){var c=o.pendingLanes;if(c===0)var m=0;else{var B=o.suspendedLanes,v=o.pingedLanes;m=(1<<31-Ke(42|t)+1)-1,m&=c&~(B&~v),m=m&201326741?m&201326741|1:m?m|2:0}m!==0&&(l=!0,s9(o,m))}else m=je,m=Il(o,o===Ze?m:0,o.cancelPendingCommit!==null||o.timeoutHandle!==-1),(m&3)===0||Ea(o,m)||(l=!0,s9(o,m));o=o.next}while(l);Rx=!1}}function nE(){l9()}function l9(){Pi=jx=!1;var t=0;_0!==0&&dE()&&(t=_0);for(var n=Tt(),l=null,o=Li;o!==null;){var c=o.next,m=i9(o,n);m===0?(o.next=null,l===null?Li=c:l.next=c,c===null&&(na=l)):(l=o,(t!==0||(m&3)!==0)&&(Pi=!0)),o=c}Et!==0&&Et!==5||Ja(t),_0!==0&&(_0=0)}function i9(t,n){for(var l=t.suspendedLanes,o=t.pingedLanes,c=t.expirationTimes,m=t.pendingLanes&-62914561;0<m;){var B=31-Ke(m),v=1<<B,U=c[B];U===-1?((v&l)===0||(v&o)!==0)&&(c[B]=Sm(v,n)):U<=n&&(t.expiredLanes|=v),m&=~v}if(n=Ze,l=je,l=Il(t,t===n?l:0,t.cancelPendingCommit!==null||t.timeoutHandle!==-1),o=t.callbackNode,l===0||t===n&&($e===2||$e===9)||t.cancelPendingCommit!==null)return o!==null&&o!==null&&St(o),t.callbackNode=null,t.callbackPriority=0;if((l&3)===0||Ea(t,l)){if(n=l&-l,n===t.callbackPriority)return n;switch(o!==null&&St(o),Zo(l)){case 2:case 8:l=ue;break;case 32:l=Ae;break;case 268435456:l=Ve;break;default:l=Ae}return o=o9.bind(null,t),l=Ar(l,o),t.callbackPriority=n,t.callbackNode=l,n}return o!==null&&o!==null&&St(o),t.callbackPriority=2,t.callbackNode=null,2}function o9(t,n){if(Et!==0&&Et!==5)return t.callbackNode=null,t.callbackPriority=0,null;var l=t.callbackNode;if(Oi()&&t.callbackNode!==l)return null;var o=je;return o=Il(t,t===Ze?o:0,t.cancelPendingCommit!==null||t.timeoutHandle!==-1),o===0?null:(q1(t,o,n),i9(t,Tt()),t.callbackNode!=null&&t.callbackNode===l?o9.bind(null,t):null)}function s9(t,n){if(Oi())return null;q1(t,n,!0)}function rE(){pE(function(){(qe&6)!==0?Ar(ne,nE):l9()})}function Ox(){if(_0===0){var t=Hr;t===0&&(t=Ul,Ul<<=1,(Ul&261888)===0&&(Ul=256)),_0=t}return _0}function x9(t){return t==null||typeof t=="symbol"||typeof t=="boolean"?null:typeof t=="function"?t:Ql(""+t)}function u9(t,n){var l=n.ownerDocument.createElement("input");return l.name=n.name,l.value=n.value,t.id&&l.setAttribute("form",t.id),n.parentNode.insertBefore(l,n),t=new FormData(t),l.parentNode.removeChild(l),t}function aE(t,n,l,o,c){if(n==="submit"&&l&&l.stateNode===c){var m=x9((c[Ht]||null).action),B=o.submitter;B&&(n=(n=B[Ht]||null)?x9(n.formAction):B.getAttribute("formAction"),n!==null&&(m=n,B=null));var v=new Zl("action","action",null,o,c);t.push({event:v,listeners:[{instance:null,listener:function(){if(o.defaultPrevented){if(_0!==0){var U=B?u9(c,B):new FormData(c);rx(l,{pending:!0,data:U,method:c.method,action:m},null,U)}}else typeof m=="function"&&(v.preventDefault(),U=B?u9(c,B):new FormData(c),rx(l,{pending:!0,data:U,method:c.method,action:m},m,U))},currentTarget:c}]})}}for(var Lx=0;Lx<gs.length;Lx++){var Px=gs[Lx],lE=Px.toLowerCase(),iE=Px[0].toUpperCase()+Px.slice(1);Sn(lE,"on"+iE)}Sn(Hf,"onAnimationEnd"),Sn(qf,"onAnimationIteration"),Sn(If,"onAnimationStart"),Sn("dblclick","onDoubleClick"),Sn("focusin","onFocus"),Sn("focusout","onBlur"),Sn(A5,"onTransitionRun"),Sn(b5,"onTransitionStart"),Sn(D5,"onTransitionCancel"),Sn(Vf,"onTransitionEnd"),Fr("onMouseEnter",["mouseout","mouseover"]),Fr("onMouseLeave",["mouseout","mouseover"]),Fr("onPointerEnter",["pointerout","pointerover"]),Fr("onPointerLeave",["pointerout","pointerover"]),Q0("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),Q0("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),Q0("onBeforeInput",["compositionend","keypress","textInput","paste"]),Q0("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),Q0("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),Q0("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Wa="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),oE=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Wa));function c9(t,n){n=(n&4)!==0;for(var l=0;l<t.length;l++){var o=t[l],c=o.event;o=o.listeners;e:{var m=void 0;if(n)for(var B=o.length-1;0<=B;B--){var v=o[B],U=v.instance,Q=v.currentTarget;if(v=v.listener,U!==m&&c.isPropagationStopped())break e;m=v,c.currentTarget=Q;try{m(c)}catch(te){ei(te)}c.currentTarget=null,m=U}else for(B=0;B<o.length;B++){if(v=o[B],U=v.instance,Q=v.currentTarget,v=v.listener,U!==m&&c.isPropagationStopped())break e;m=v,c.currentTarget=Q;try{m(c)}catch(te){ei(te)}c.currentTarget=null,m=U}}}}function Te(t,n){var l=n[Jo];l===void 0&&(l=n[Jo]=new Set);var o=t+"__bubble";l.has(o)||(f9(n,t,2,!1),l.add(o))}function Ux(t,n,l){var o=0;n&&(o|=4),f9(l,t,o,n)}var Ui="_reactListening"+Math.random().toString(36).slice(2);function Hx(t){if(!t[Ui]){t[Ui]=!0,af.forEach(function(l){l!=="selectionchange"&&(oE.has(l)||Ux(l,!1,t),Ux(l,!0,t))});var n=t.nodeType===9?t:t.ownerDocument;n===null||n[Ui]||(n[Ui]=!0,Ux("selectionchange",!1,n))}}function f9(t,n,l,o){switch(H9(n)){case 2:var c=jE;break;case 8:c=RE;break;default:c=nu}l=c.bind(null,n,l,t),c=void 0,!os||n!=="touchstart"&&n!=="touchmove"&&n!=="wheel"||(c=!0),o?c!==void 0?t.addEventListener(n,l,{capture:!0,passive:c}):t.addEventListener(n,l,!0):c!==void 0?t.addEventListener(n,l,{passive:c}):t.addEventListener(n,l,!1)}function qx(t,n,l,o,c){var m=o;if((n&1)===0&&(n&2)===0&&o!==null)e:for(;;){if(o===null)return;var B=o.tag;if(B===3||B===4){var v=o.stateNode.containerInfo;if(v===c)break;if(B===4)for(B=o.return;B!==null;){var U=B.tag;if((U===3||U===4)&&B.stateNode.containerInfo===c)return;B=B.return}for(;v!==null;){if(B=Dr(v),B===null)return;if(U=B.tag,U===5||U===6||U===26||U===27){o=m=B;continue e}v=v.parentNode}}o=o.return}Ef(function(){var Q=m,te=ls(l),le=[];e:{var J=$f.get(t);if(J!==void 0){var ee=Zl,pe=t;switch(t){case"keypress":if(Xl(l)===0)break e;case"keydown":case"keyup":ee=e5;break;case"focusin":pe="focus",ee=cs;break;case"focusout":pe="blur",ee=cs;break;case"beforeblur":case"afterblur":ee=cs;break;case"click":if(l.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":ee=gf;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":ee=qm;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":ee=r5;break;case Hf:case qf:case If:ee=$m;break;case Vf:ee=l5;break;case"scroll":case"scrollend":ee=Um;break;case"wheel":ee=o5;break;case"copy":case"cut":case"paste":ee=Qm;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":ee=Af;break;case"toggle":case"beforetoggle":ee=x5}var Be=(n&4)!==0,Xe=!Be&&(t==="scroll"||t==="scrollend"),V=Be?J!==null?J+"Capture":null:J;Be=[];for(var H=Q,G;H!==null;){var re=H;if(G=re.stateNode,re=re.tag,re!==5&&re!==26&&re!==27||G===null||V===null||(re=Ba(H,V),re!=null&&Be.push(el(H,re,G))),Xe)break;H=H.return}0<Be.length&&(J=new ee(J,pe,null,l,te),le.push({event:J,listeners:Be}))}}if((n&7)===0){e:{if(J=t==="mouseover"||t==="pointerover",ee=t==="mouseout"||t==="pointerout",J&&l!==as&&(pe=l.relatedTarget||l.fromElement)&&(Dr(pe)||pe[br]))break e;if((ee||J)&&(J=te.window===te?te:(J=te.ownerDocument)?J.defaultView||J.parentWindow:window,ee?(pe=l.relatedTarget||l.toElement,ee=Q,pe=pe?Dr(pe):null,pe!==null&&(Xe=x(pe),Be=pe.tag,pe!==Xe||Be!==5&&Be!==27&&Be!==6)&&(pe=null)):(ee=null,pe=Q),ee!==pe)){if(Be=gf,re="onMouseLeave",V="onMouseEnter",H="mouse",(t==="pointerout"||t==="pointerover")&&(Be=Af,re="onPointerLeave",V="onPointerEnter",H="pointer"),Xe=ee==null?J:ga(ee),G=pe==null?J:ga(pe),J=new Be(re,H+"leave",ee,l,te),J.target=Xe,J.relatedTarget=G,re=null,Dr(te)===Q&&(Be=new Be(V,H+"enter",pe,l,te),Be.target=G,Be.relatedTarget=Xe,re=Be),Xe=re,ee&&pe)t:{for(Be=sE,V=ee,H=pe,G=0,re=V;re;re=Be(re))G++;re=0;for(var ye=H;ye;ye=Be(ye))re++;for(;0<G-re;)V=Be(V),G--;for(;0<re-G;)H=Be(H),re--;for(;G--;){if(V===H||H!==null&&V===H.alternate){Be=V;break t}V=Be(V),H=Be(H)}Be=null}else Be=null;ee!==null&&d9(le,J,ee,Be,!1),pe!==null&&Xe!==null&&d9(le,Xe,pe,Be,!0)}}e:{if(J=Q?ga(Q):window,ee=J.nodeName&&J.nodeName.toLowerCase(),ee==="select"||ee==="input"&&J.type==="file")var Ue=Mf;else if(wf(J))if(Nf)Ue=y5;else{Ue=E5;var me=m5}else ee=J.nodeName,!ee||ee.toLowerCase()!=="input"||J.type!=="checkbox"&&J.type!=="radio"?Q&&rs(Q.elementType)&&(Ue=Mf):Ue=C5;if(Ue&&(Ue=Ue(t,Q))){Sf(le,Ue,l,te);break e}me&&me(t,J,Q),t==="focusout"&&Q&&J.type==="number"&&Q.memoizedProps.value!=null&&ns(J,"number",J.value)}switch(me=Q?ga(Q):window,t){case"focusin":(wf(me)||me.contentEditable==="true")&&(Tr=me,Es=Q,Sa=null);break;case"focusout":Sa=Es=Tr=null;break;case"mousedown":Cs=!0;break;case"contextmenu":case"mouseup":case"dragend":Cs=!1,Pf(le,l,te);break;case"selectionchange":if(B5)break;case"keydown":case"keyup":Pf(le,l,te)}var Se;if(ds)e:{switch(t){case"compositionstart":var Re="onCompositionStart";break e;case"compositionend":Re="onCompositionEnd";break e;case"compositionupdate":Re="onCompositionUpdate";break e}Re=void 0}else _r?kf(t,l)&&(Re="onCompositionEnd"):t==="keydown"&&l.keyCode===229&&(Re="onCompositionStart");Re&&(bf&&l.locale!=="ko"&&(_r||Re!=="onCompositionStart"?Re==="onCompositionEnd"&&_r&&(Se=Cf()):(m0=te,ss="value"in m0?m0.value:m0.textContent,_r=!0)),me=Hi(Q,Re),0<me.length&&(Re=new Bf(Re,t,null,l,te),le.push({event:Re,listeners:me}),Se?Re.data=Se:(Se=Ff(l),Se!==null&&(Re.data=Se)))),(Se=c5?f5(t,l):d5(t,l))&&(Re=Hi(Q,"onBeforeInput"),0<Re.length&&(me=new Bf("onBeforeInput","beforeinput",null,l,te),le.push({event:me,listeners:Re}),me.data=Se)),aE(le,t,Q,l,te)}c9(le,n)})}function el(t,n,l){return{instance:t,listener:n,currentTarget:l}}function Hi(t,n){for(var l=n+"Capture",o=[];t!==null;){var c=t,m=c.stateNode;if(c=c.tag,c!==5&&c!==26&&c!==27||m===null||(c=Ba(t,l),c!=null&&o.unshift(el(t,c,m)),c=Ba(t,n),c!=null&&o.push(el(t,c,m))),t.tag===3)return o;t=t.return}return[]}function sE(t){if(t===null)return null;do t=t.return;while(t&&t.tag!==5&&t.tag!==27);return t||null}function d9(t,n,l,o,c){for(var m=n._reactName,B=[];l!==null&&l!==o;){var v=l,U=v.alternate,Q=v.stateNode;if(v=v.tag,U!==null&&U===o)break;v!==5&&v!==26&&v!==27||Q===null||(U=Q,c?(Q=Ba(l,m),Q!=null&&B.unshift(el(l,Q,U))):c||(Q=Ba(l,m),Q!=null&&B.push(el(l,Q,U)))),l=l.return}B.length!==0&&t.push({event:n,listeners:B})}var xE=/\r\n?/g,uE=/\u0000|\uFFFD/g;function h9(t){return(typeof t=="string"?t:""+t).replace(xE,`
9
+ `).replace(uE,"")}function p9(t,n){return n=h9(n),h9(t)===n}function Ye(t,n,l,o,c,m){switch(l){case"children":typeof o=="string"?n==="body"||n==="textarea"&&o===""||Sr(t,o):(typeof o=="number"||typeof o=="bigint")&&n!=="body"&&Sr(t,""+o);break;case"className":$l(t,"class",o);break;case"tabIndex":$l(t,"tabindex",o);break;case"dir":case"role":case"viewBox":case"width":case"height":$l(t,l,o);break;case"style":pf(t,o,m);break;case"data":if(n!=="object"){$l(t,"data",o);break}case"src":case"href":if(o===""&&(n!=="a"||l!=="href")){t.removeAttribute(l);break}if(o==null||typeof o=="function"||typeof o=="symbol"||typeof o=="boolean"){t.removeAttribute(l);break}o=Ql(""+o),t.setAttribute(l,o);break;case"action":case"formAction":if(typeof o=="function"){t.setAttribute(l,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof m=="function"&&(l==="formAction"?(n!=="input"&&Ye(t,n,"name",c.name,c,null),Ye(t,n,"formEncType",c.formEncType,c,null),Ye(t,n,"formMethod",c.formMethod,c,null),Ye(t,n,"formTarget",c.formTarget,c,null)):(Ye(t,n,"encType",c.encType,c,null),Ye(t,n,"method",c.method,c,null),Ye(t,n,"target",c.target,c,null)));if(o==null||typeof o=="symbol"||typeof o=="boolean"){t.removeAttribute(l);break}o=Ql(""+o),t.setAttribute(l,o);break;case"onClick":o!=null&&(t.onclick=Yn);break;case"onScroll":o!=null&&Te("scroll",t);break;case"onScrollEnd":o!=null&&Te("scrollend",t);break;case"dangerouslySetInnerHTML":if(o!=null){if(typeof o!="object"||!("__html"in o))throw Error(i(61));if(l=o.__html,l!=null){if(c.children!=null)throw Error(i(60));t.innerHTML=l}}break;case"multiple":t.multiple=o&&typeof o!="function"&&typeof o!="symbol";break;case"muted":t.muted=o&&typeof o!="function"&&typeof o!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(o==null||typeof o=="function"||typeof o=="boolean"||typeof o=="symbol"){t.removeAttribute("xlink:href");break}l=Ql(""+o),t.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",l);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":o!=null&&typeof o!="function"&&typeof o!="symbol"?t.setAttribute(l,""+o):t.removeAttribute(l);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":o&&typeof o!="function"&&typeof o!="symbol"?t.setAttribute(l,""):t.removeAttribute(l);break;case"capture":case"download":o===!0?t.setAttribute(l,""):o!==!1&&o!=null&&typeof o!="function"&&typeof o!="symbol"?t.setAttribute(l,o):t.removeAttribute(l);break;case"cols":case"rows":case"size":case"span":o!=null&&typeof o!="function"&&typeof o!="symbol"&&!isNaN(o)&&1<=o?t.setAttribute(l,o):t.removeAttribute(l);break;case"rowSpan":case"start":o==null||typeof o=="function"||typeof o=="symbol"||isNaN(o)?t.removeAttribute(l):t.setAttribute(l,o);break;case"popover":Te("beforetoggle",t),Te("toggle",t),Vl(t,"popover",o);break;case"xlinkActuate":Qn(t,"http://www.w3.org/1999/xlink","xlink:actuate",o);break;case"xlinkArcrole":Qn(t,"http://www.w3.org/1999/xlink","xlink:arcrole",o);break;case"xlinkRole":Qn(t,"http://www.w3.org/1999/xlink","xlink:role",o);break;case"xlinkShow":Qn(t,"http://www.w3.org/1999/xlink","xlink:show",o);break;case"xlinkTitle":Qn(t,"http://www.w3.org/1999/xlink","xlink:title",o);break;case"xlinkType":Qn(t,"http://www.w3.org/1999/xlink","xlink:type",o);break;case"xmlBase":Qn(t,"http://www.w3.org/XML/1998/namespace","xml:base",o);break;case"xmlLang":Qn(t,"http://www.w3.org/XML/1998/namespace","xml:lang",o);break;case"xmlSpace":Qn(t,"http://www.w3.org/XML/1998/namespace","xml:space",o);break;case"is":Vl(t,"is",o);break;case"innerText":case"textContent":break;default:(!(2<l.length)||l[0]!=="o"&&l[0]!=="O"||l[1]!=="n"&&l[1]!=="N")&&(l=Lm.get(l)||l,Vl(t,l,o))}}function Ix(t,n,l,o,c,m){switch(l){case"style":pf(t,o,m);break;case"dangerouslySetInnerHTML":if(o!=null){if(typeof o!="object"||!("__html"in o))throw Error(i(61));if(l=o.__html,l!=null){if(c.children!=null)throw Error(i(60));t.innerHTML=l}}break;case"children":typeof o=="string"?Sr(t,o):(typeof o=="number"||typeof o=="bigint")&&Sr(t,""+o);break;case"onScroll":o!=null&&Te("scroll",t);break;case"onScrollEnd":o!=null&&Te("scrollend",t);break;case"onClick":o!=null&&(t.onclick=Yn);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!lf.hasOwnProperty(l))e:{if(l[0]==="o"&&l[1]==="n"&&(c=l.endsWith("Capture"),n=l.slice(2,c?l.length-7:void 0),m=t[Ht]||null,m=m!=null?m[l]:null,typeof m=="function"&&t.removeEventListener(n,m,c),typeof o=="function")){typeof m!="function"&&m!==null&&(l in t?t[l]=null:t.hasAttribute(l)&&t.removeAttribute(l)),t.addEventListener(n,o,c);break e}l in t?t[l]=o:o===!0?t.setAttribute(l,""):Vl(t,l,o)}}}function Ft(t,n,l){switch(n){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":Te("error",t),Te("load",t);var o=!1,c=!1,m;for(m in l)if(l.hasOwnProperty(m)){var B=l[m];if(B!=null)switch(m){case"src":o=!0;break;case"srcSet":c=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(i(137,n));default:Ye(t,n,m,B,l,null)}}c&&Ye(t,n,"srcSet",l.srcSet,l,null),o&&Ye(t,n,"src",l.src,l,null);return;case"input":Te("invalid",t);var v=m=B=c=null,U=null,Q=null;for(o in l)if(l.hasOwnProperty(o)){var te=l[o];if(te!=null)switch(o){case"name":c=te;break;case"type":B=te;break;case"checked":U=te;break;case"defaultChecked":Q=te;break;case"value":m=te;break;case"defaultValue":v=te;break;case"children":case"dangerouslySetInnerHTML":if(te!=null)throw Error(i(137,n));break;default:Ye(t,n,o,te,l,null)}}cf(t,m,v,U,Q,B,c,!1);return;case"select":Te("invalid",t),o=B=m=null;for(c in l)if(l.hasOwnProperty(c)&&(v=l[c],v!=null))switch(c){case"value":m=v;break;case"defaultValue":B=v;break;case"multiple":o=v;default:Ye(t,n,c,v,l,null)}n=m,l=B,t.multiple=!!o,n!=null?wr(t,!!o,n,!1):l!=null&&wr(t,!!o,l,!0);return;case"textarea":Te("invalid",t),m=c=o=null;for(B in l)if(l.hasOwnProperty(B)&&(v=l[B],v!=null))switch(B){case"value":o=v;break;case"defaultValue":c=v;break;case"children":m=v;break;case"dangerouslySetInnerHTML":if(v!=null)throw Error(i(91));break;default:Ye(t,n,B,v,l,null)}df(t,o,c,m);return;case"option":for(U in l)l.hasOwnProperty(U)&&(o=l[U],o!=null)&&(U==="selected"?t.selected=o&&typeof o!="function"&&typeof o!="symbol":Ye(t,n,U,o,l,null));return;case"dialog":Te("beforetoggle",t),Te("toggle",t),Te("cancel",t),Te("close",t);break;case"iframe":case"object":Te("load",t);break;case"video":case"audio":for(o=0;o<Wa.length;o++)Te(Wa[o],t);break;case"image":Te("error",t),Te("load",t);break;case"details":Te("toggle",t);break;case"embed":case"source":case"link":Te("error",t),Te("load",t);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(Q in l)if(l.hasOwnProperty(Q)&&(o=l[Q],o!=null))switch(Q){case"children":case"dangerouslySetInnerHTML":throw Error(i(137,n));default:Ye(t,n,Q,o,l,null)}return;default:if(rs(n)){for(te in l)l.hasOwnProperty(te)&&(o=l[te],o!==void 0&&Ix(t,n,te,o,l,void 0));return}}for(v in l)l.hasOwnProperty(v)&&(o=l[v],o!=null&&Ye(t,n,v,o,l,null))}function cE(t,n,l,o){switch(n){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var c=null,m=null,B=null,v=null,U=null,Q=null,te=null;for(ee in l){var le=l[ee];if(l.hasOwnProperty(ee)&&le!=null)switch(ee){case"checked":break;case"value":break;case"defaultValue":U=le;default:o.hasOwnProperty(ee)||Ye(t,n,ee,null,o,le)}}for(var J in o){var ee=o[J];if(le=l[J],o.hasOwnProperty(J)&&(ee!=null||le!=null))switch(J){case"type":m=ee;break;case"name":c=ee;break;case"checked":Q=ee;break;case"defaultChecked":te=ee;break;case"value":B=ee;break;case"defaultValue":v=ee;break;case"children":case"dangerouslySetInnerHTML":if(ee!=null)throw Error(i(137,n));break;default:ee!==le&&Ye(t,n,J,ee,o,le)}}ts(t,B,v,U,Q,te,m,c);return;case"select":ee=B=v=J=null;for(m in l)if(U=l[m],l.hasOwnProperty(m)&&U!=null)switch(m){case"value":break;case"multiple":ee=U;default:o.hasOwnProperty(m)||Ye(t,n,m,null,o,U)}for(c in o)if(m=o[c],U=l[c],o.hasOwnProperty(c)&&(m!=null||U!=null))switch(c){case"value":J=m;break;case"defaultValue":v=m;break;case"multiple":B=m;default:m!==U&&Ye(t,n,c,m,o,U)}n=v,l=B,o=ee,J!=null?wr(t,!!l,J,!1):!!o!=!!l&&(n!=null?wr(t,!!l,n,!0):wr(t,!!l,l?[]:"",!1));return;case"textarea":ee=J=null;for(v in l)if(c=l[v],l.hasOwnProperty(v)&&c!=null&&!o.hasOwnProperty(v))switch(v){case"value":break;case"children":break;default:Ye(t,n,v,null,o,c)}for(B in o)if(c=o[B],m=l[B],o.hasOwnProperty(B)&&(c!=null||m!=null))switch(B){case"value":J=c;break;case"defaultValue":ee=c;break;case"children":break;case"dangerouslySetInnerHTML":if(c!=null)throw Error(i(91));break;default:c!==m&&Ye(t,n,B,c,o,m)}ff(t,J,ee);return;case"option":for(var pe in l)J=l[pe],l.hasOwnProperty(pe)&&J!=null&&!o.hasOwnProperty(pe)&&(pe==="selected"?t.selected=!1:Ye(t,n,pe,null,o,J));for(U in o)J=o[U],ee=l[U],o.hasOwnProperty(U)&&J!==ee&&(J!=null||ee!=null)&&(U==="selected"?t.selected=J&&typeof J!="function"&&typeof J!="symbol":Ye(t,n,U,J,o,ee));return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var Be in l)J=l[Be],l.hasOwnProperty(Be)&&J!=null&&!o.hasOwnProperty(Be)&&Ye(t,n,Be,null,o,J);for(Q in o)if(J=o[Q],ee=l[Q],o.hasOwnProperty(Q)&&J!==ee&&(J!=null||ee!=null))switch(Q){case"children":case"dangerouslySetInnerHTML":if(J!=null)throw Error(i(137,n));break;default:Ye(t,n,Q,J,o,ee)}return;default:if(rs(n)){for(var Xe in l)J=l[Xe],l.hasOwnProperty(Xe)&&J!==void 0&&!o.hasOwnProperty(Xe)&&Ix(t,n,Xe,void 0,o,J);for(te in o)J=o[te],ee=l[te],!o.hasOwnProperty(te)||J===ee||J===void 0&&ee===void 0||Ix(t,n,te,J,o,ee);return}}for(var V in l)J=l[V],l.hasOwnProperty(V)&&J!=null&&!o.hasOwnProperty(V)&&Ye(t,n,V,null,o,J);for(le in o)J=o[le],ee=l[le],!o.hasOwnProperty(le)||J===ee||J==null&&ee==null||Ye(t,n,le,J,o,ee)}function m9(t){switch(t){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function fE(){if(typeof performance.getEntriesByType=="function"){for(var t=0,n=0,l=performance.getEntriesByType("resource"),o=0;o<l.length;o++){var c=l[o],m=c.transferSize,B=c.initiatorType,v=c.duration;if(m&&v&&m9(B)){for(B=0,v=c.responseEnd,o+=1;o<l.length;o++){var U=l[o],Q=U.startTime;if(Q>v)break;var te=U.transferSize,le=U.initiatorType;te&&m9(le)&&(U=U.responseEnd,B+=te*(U<v?1:(v-Q)/(U-Q)))}if(--o,n+=8*(m+B)/(c.duration/1e3),t++,10<t)break}}if(0<t)return n/t/1e6}return navigator.connection&&(t=navigator.connection.downlink,typeof t=="number")?t:5}var Vx=null,$x=null;function qi(t){return t.nodeType===9?t:t.ownerDocument}function E9(t){switch(t){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function C9(t,n){if(t===0)switch(n){case"svg":return 1;case"math":return 2;default:return 0}return t===1&&n==="foreignObject"?0:t}function Gx(t,n){return t==="textarea"||t==="noscript"||typeof n.children=="string"||typeof n.children=="number"||typeof n.children=="bigint"||typeof n.dangerouslySetInnerHTML=="object"&&n.dangerouslySetInnerHTML!==null&&n.dangerouslySetInnerHTML.__html!=null}var Qx=null;function dE(){var t=window.event;return t&&t.type==="popstate"?t===Qx?!1:(Qx=t,!0):(Qx=null,!1)}var y9=typeof setTimeout=="function"?setTimeout:void 0,hE=typeof clearTimeout=="function"?clearTimeout:void 0,g9=typeof Promise=="function"?Promise:void 0,pE=typeof queueMicrotask=="function"?queueMicrotask:typeof g9<"u"?function(t){return g9.resolve(null).then(t).catch(mE)}:y9;function mE(t){setTimeout(function(){throw t})}function T0(t){return t==="head"}function B9(t,n){var l=n,o=0;do{var c=l.nextSibling;if(t.removeChild(l),c&&c.nodeType===8)if(l=c.data,l==="/$"||l==="/&"){if(o===0){t.removeChild(c),ia(n);return}o--}else if(l==="$"||l==="$?"||l==="$~"||l==="$!"||l==="&")o++;else if(l==="html")tl(t.ownerDocument.documentElement);else if(l==="head"){l=t.ownerDocument.head,tl(l);for(var m=l.firstChild;m;){var B=m.nextSibling,v=m.nodeName;m[ya]||v==="SCRIPT"||v==="STYLE"||v==="LINK"&&m.rel.toLowerCase()==="stylesheet"||l.removeChild(m),m=B}}else l==="body"&&tl(t.ownerDocument.body);l=c}while(l);ia(n)}function A9(t,n){var l=t;t=0;do{var o=l.nextSibling;if(l.nodeType===1?n?(l._stashedDisplay=l.style.display,l.style.display="none"):(l.style.display=l._stashedDisplay||"",l.getAttribute("style")===""&&l.removeAttribute("style")):l.nodeType===3&&(n?(l._stashedText=l.nodeValue,l.nodeValue=""):l.nodeValue=l._stashedText||""),o&&o.nodeType===8)if(l=o.data,l==="/$"){if(t===0)break;t--}else l!=="$"&&l!=="$?"&&l!=="$~"&&l!=="$!"||t++;l=o}while(l)}function Yx(t){var n=t.firstChild;for(n&&n.nodeType===10&&(n=n.nextSibling);n;){var l=n;switch(n=n.nextSibling,l.nodeName){case"HTML":case"HEAD":case"BODY":Yx(l),Wo(l);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(l.rel.toLowerCase()==="stylesheet")continue}t.removeChild(l)}}function EE(t,n,l,o){for(;t.nodeType===1;){var c=l;if(t.nodeName.toLowerCase()!==n.toLowerCase()){if(!o&&(t.nodeName!=="INPUT"||t.type!=="hidden"))break}else if(o){if(!t[ya])switch(n){case"meta":if(!t.hasAttribute("itemprop"))break;return t;case"link":if(m=t.getAttribute("rel"),m==="stylesheet"&&t.hasAttribute("data-precedence"))break;if(m!==c.rel||t.getAttribute("href")!==(c.href==null||c.href===""?null:c.href)||t.getAttribute("crossorigin")!==(c.crossOrigin==null?null:c.crossOrigin)||t.getAttribute("title")!==(c.title==null?null:c.title))break;return t;case"style":if(t.hasAttribute("data-precedence"))break;return t;case"script":if(m=t.getAttribute("src"),(m!==(c.src==null?null:c.src)||t.getAttribute("type")!==(c.type==null?null:c.type)||t.getAttribute("crossorigin")!==(c.crossOrigin==null?null:c.crossOrigin))&&m&&t.hasAttribute("async")&&!t.hasAttribute("itemprop"))break;return t;default:return t}}else if(n==="input"&&t.type==="hidden"){var m=c.name==null?null:""+c.name;if(c.type==="hidden"&&t.getAttribute("name")===m)return t}else return t;if(t=An(t.nextSibling),t===null)break}return null}function CE(t,n,l){if(n==="")return null;for(;t.nodeType!==3;)if((t.nodeType!==1||t.nodeName!=="INPUT"||t.type!=="hidden")&&!l||(t=An(t.nextSibling),t===null))return null;return t}function b9(t,n){for(;t.nodeType!==8;)if((t.nodeType!==1||t.nodeName!=="INPUT"||t.type!=="hidden")&&!n||(t=An(t.nextSibling),t===null))return null;return t}function Xx(t){return t.data==="$?"||t.data==="$~"}function Kx(t){return t.data==="$!"||t.data==="$?"&&t.ownerDocument.readyState!=="loading"}function yE(t,n){var l=t.ownerDocument;if(t.data==="$~")t._reactRetry=n;else if(t.data!=="$?"||l.readyState!=="loading")n();else{var o=function(){n(),l.removeEventListener("DOMContentLoaded",o)};l.addEventListener("DOMContentLoaded",o),t._reactRetry=o}}function An(t){for(;t!=null;t=t.nextSibling){var n=t.nodeType;if(n===1||n===3)break;if(n===8){if(n=t.data,n==="$"||n==="$!"||n==="$?"||n==="$~"||n==="&"||n==="F!"||n==="F")break;if(n==="/$"||n==="/&")return null}}return t}var Zx=null;function D9(t){t=t.nextSibling;for(var n=0;t;){if(t.nodeType===8){var l=t.data;if(l==="/$"||l==="/&"){if(n===0)return An(t.nextSibling);n--}else l!=="$"&&l!=="$!"&&l!=="$?"&&l!=="$~"&&l!=="&"||n++}t=t.nextSibling}return null}function v9(t){t=t.previousSibling;for(var n=0;t;){if(t.nodeType===8){var l=t.data;if(l==="$"||l==="$!"||l==="$?"||l==="$~"||l==="&"){if(n===0)return t;n--}else l!=="/$"&&l!=="/&"||n++}t=t.previousSibling}return null}function k9(t,n,l){switch(n=qi(l),t){case"html":if(t=n.documentElement,!t)throw Error(i(452));return t;case"head":if(t=n.head,!t)throw Error(i(453));return t;case"body":if(t=n.body,!t)throw Error(i(454));return t;default:throw Error(i(451))}}function tl(t){for(var n=t.attributes;n.length;)t.removeAttributeNode(n[0]);Wo(t)}var bn=new Map,F9=new Set;function Ii(t){return typeof t.getRootNode=="function"?t.getRootNode():t.nodeType===9?t:t.ownerDocument}var u0=Y.d;Y.d={f:gE,r:BE,D:AE,C:bE,L:DE,m:vE,X:FE,S:kE,M:wE};function gE(){var t=u0.f(),n=zi();return t||n}function BE(t){var n=vr(t);n!==null&&n.tag===5&&n.type==="form"?Vd(n):u0.r(t)}var ra=typeof document>"u"?null:document;function w9(t,n,l){var o=ra;if(o&&typeof n=="string"&&n){var c=pn(n);c='link[rel="'+t+'"][href="'+c+'"]',typeof l=="string"&&(c+='[crossorigin="'+l+'"]'),F9.has(c)||(F9.add(c),t={rel:t,crossOrigin:l,href:n},o.querySelector(c)===null&&(n=o.createElement("link"),Ft(n,"link",t),yt(n),o.head.appendChild(n)))}}function AE(t){u0.D(t),w9("dns-prefetch",t,null)}function bE(t,n){u0.C(t,n),w9("preconnect",t,n)}function DE(t,n,l){u0.L(t,n,l);var o=ra;if(o&&t&&n){var c='link[rel="preload"][as="'+pn(n)+'"]';n==="image"&&l&&l.imageSrcSet?(c+='[imagesrcset="'+pn(l.imageSrcSet)+'"]',typeof l.imageSizes=="string"&&(c+='[imagesizes="'+pn(l.imageSizes)+'"]')):c+='[href="'+pn(t)+'"]';var m=c;switch(n){case"style":m=aa(t);break;case"script":m=la(t)}bn.has(m)||(t=p({rel:"preload",href:n==="image"&&l&&l.imageSrcSet?void 0:t,as:n},l),bn.set(m,t),o.querySelector(c)!==null||n==="style"&&o.querySelector(nl(m))||n==="script"&&o.querySelector(rl(m))||(n=o.createElement("link"),Ft(n,"link",t),yt(n),o.head.appendChild(n)))}}function vE(t,n){u0.m(t,n);var l=ra;if(l&&t){var o=n&&typeof n.as=="string"?n.as:"script",c='link[rel="modulepreload"][as="'+pn(o)+'"][href="'+pn(t)+'"]',m=c;switch(o){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":m=la(t)}if(!bn.has(m)&&(t=p({rel:"modulepreload",href:t},n),bn.set(m,t),l.querySelector(c)===null)){switch(o){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(l.querySelector(rl(m)))return}o=l.createElement("link"),Ft(o,"link",t),yt(o),l.head.appendChild(o)}}}function kE(t,n,l){u0.S(t,n,l);var o=ra;if(o&&t){var c=kr(o).hoistableStyles,m=aa(t);n=n||"default";var B=c.get(m);if(!B){var v={loading:0,preload:null};if(B=o.querySelector(nl(m)))v.loading=5;else{t=p({rel:"stylesheet",href:t,"data-precedence":n},l),(l=bn.get(m))&&Jx(t,l);var U=B=o.createElement("link");yt(U),Ft(U,"link",t),U._p=new Promise(function(Q,te){U.onload=Q,U.onerror=te}),U.addEventListener("load",function(){v.loading|=1}),U.addEventListener("error",function(){v.loading|=2}),v.loading|=4,Vi(B,n,o)}B={type:"stylesheet",instance:B,count:1,state:v},c.set(m,B)}}}function FE(t,n){u0.X(t,n);var l=ra;if(l&&t){var o=kr(l).hoistableScripts,c=la(t),m=o.get(c);m||(m=l.querySelector(rl(c)),m||(t=p({src:t,async:!0},n),(n=bn.get(c))&&Wx(t,n),m=l.createElement("script"),yt(m),Ft(m,"link",t),l.head.appendChild(m)),m={type:"script",instance:m,count:1,state:null},o.set(c,m))}}function wE(t,n){u0.M(t,n);var l=ra;if(l&&t){var o=kr(l).hoistableScripts,c=la(t),m=o.get(c);m||(m=l.querySelector(rl(c)),m||(t=p({src:t,async:!0,type:"module"},n),(n=bn.get(c))&&Wx(t,n),m=l.createElement("script"),yt(m),Ft(m,"link",t),l.head.appendChild(m)),m={type:"script",instance:m,count:1,state:null},o.set(c,m))}}function S9(t,n,l,o){var c=(c=xe.current)?Ii(c):null;if(!c)throw Error(i(446));switch(t){case"meta":case"title":return null;case"style":return typeof l.precedence=="string"&&typeof l.href=="string"?(n=aa(l.href),l=kr(c).hoistableStyles,o=l.get(n),o||(o={type:"style",instance:null,count:0,state:null},l.set(n,o)),o):{type:"void",instance:null,count:0,state:null};case"link":if(l.rel==="stylesheet"&&typeof l.href=="string"&&typeof l.precedence=="string"){t=aa(l.href);var m=kr(c).hoistableStyles,B=m.get(t);if(B||(c=c.ownerDocument||c,B={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},m.set(t,B),(m=c.querySelector(nl(t)))&&!m._p&&(B.instance=m,B.state.loading=5),bn.has(t)||(l={rel:"preload",as:"style",href:l.href,crossOrigin:l.crossOrigin,integrity:l.integrity,media:l.media,hrefLang:l.hrefLang,referrerPolicy:l.referrerPolicy},bn.set(t,l),m||SE(c,t,l,B.state))),n&&o===null)throw Error(i(528,""));return B}if(n&&o!==null)throw Error(i(529,""));return null;case"script":return n=l.async,l=l.src,typeof l=="string"&&n&&typeof n!="function"&&typeof n!="symbol"?(n=la(l),l=kr(c).hoistableScripts,o=l.get(n),o||(o={type:"script",instance:null,count:0,state:null},l.set(n,o)),o):{type:"void",instance:null,count:0,state:null};default:throw Error(i(444,t))}}function aa(t){return'href="'+pn(t)+'"'}function nl(t){return'link[rel="stylesheet"]['+t+"]"}function M9(t){return p({},t,{"data-precedence":t.precedence,precedence:null})}function SE(t,n,l,o){t.querySelector('link[rel="preload"][as="style"]['+n+"]")?o.loading=1:(n=t.createElement("link"),o.preload=n,n.addEventListener("load",function(){return o.loading|=1}),n.addEventListener("error",function(){return o.loading|=2}),Ft(n,"link",l),yt(n),t.head.appendChild(n))}function la(t){return'[src="'+pn(t)+'"]'}function rl(t){return"script[async]"+t}function N9(t,n,l){if(n.count++,n.instance===null)switch(n.type){case"style":var o=t.querySelector('style[data-href~="'+pn(l.href)+'"]');if(o)return n.instance=o,yt(o),o;var c=p({},l,{"data-href":l.href,"data-precedence":l.precedence,href:null,precedence:null});return o=(t.ownerDocument||t).createElement("style"),yt(o),Ft(o,"style",c),Vi(o,l.precedence,t),n.instance=o;case"stylesheet":c=aa(l.href);var m=t.querySelector(nl(c));if(m)return n.state.loading|=4,n.instance=m,yt(m),m;o=M9(l),(c=bn.get(c))&&Jx(o,c),m=(t.ownerDocument||t).createElement("link"),yt(m);var B=m;return B._p=new Promise(function(v,U){B.onload=v,B.onerror=U}),Ft(m,"link",o),n.state.loading|=4,Vi(m,l.precedence,t),n.instance=m;case"script":return m=la(l.src),(c=t.querySelector(rl(m)))?(n.instance=c,yt(c),c):(o=l,(c=bn.get(m))&&(o=p({},l),Wx(o,c)),t=t.ownerDocument||t,c=t.createElement("script"),yt(c),Ft(c,"link",o),t.head.appendChild(c),n.instance=c);case"void":return null;default:throw Error(i(443,n.type))}else n.type==="stylesheet"&&(n.state.loading&4)===0&&(o=n.instance,n.state.loading|=4,Vi(o,l.precedence,t));return n.instance}function Vi(t,n,l){for(var o=l.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),c=o.length?o[o.length-1]:null,m=c,B=0;B<o.length;B++){var v=o[B];if(v.dataset.precedence===n)m=v;else if(m!==c)break}m?m.parentNode.insertBefore(t,m.nextSibling):(n=l.nodeType===9?l.head:l,n.insertBefore(t,n.firstChild))}function Jx(t,n){t.crossOrigin==null&&(t.crossOrigin=n.crossOrigin),t.referrerPolicy==null&&(t.referrerPolicy=n.referrerPolicy),t.title==null&&(t.title=n.title)}function Wx(t,n){t.crossOrigin==null&&(t.crossOrigin=n.crossOrigin),t.referrerPolicy==null&&(t.referrerPolicy=n.referrerPolicy),t.integrity==null&&(t.integrity=n.integrity)}var $i=null;function _9(t,n,l){if($i===null){var o=new Map,c=$i=new Map;c.set(l,o)}else c=$i,o=c.get(l),o||(o=new Map,c.set(l,o));if(o.has(t))return o;for(o.set(t,null),l=l.getElementsByTagName(t),c=0;c<l.length;c++){var m=l[c];if(!(m[ya]||m[bt]||t==="link"&&m.getAttribute("rel")==="stylesheet")&&m.namespaceURI!=="http://www.w3.org/2000/svg"){var B=m.getAttribute(n)||"";B=t+B;var v=o.get(B);v?v.push(m):o.set(B,[m])}}return o}function T9(t,n,l){t=t.ownerDocument||t,t.head.insertBefore(l,n==="title"?t.querySelector("head > title"):null)}function ME(t,n,l){if(l===1||n.itemProp!=null)return!1;switch(t){case"meta":case"title":return!0;case"style":if(typeof n.precedence!="string"||typeof n.href!="string"||n.href==="")break;return!0;case"link":if(typeof n.rel!="string"||typeof n.href!="string"||n.href===""||n.onLoad||n.onError)break;return n.rel==="stylesheet"?(t=n.disabled,typeof n.precedence=="string"&&t==null):!0;case"script":if(n.async&&typeof n.async!="function"&&typeof n.async!="symbol"&&!n.onLoad&&!n.onError&&n.src&&typeof n.src=="string")return!0}return!1}function z9(t){return!(t.type==="stylesheet"&&(t.state.loading&3)===0)}function NE(t,n,l,o){if(l.type==="stylesheet"&&(typeof o.media!="string"||matchMedia(o.media).matches!==!1)&&(l.state.loading&4)===0){if(l.instance===null){var c=aa(o.href),m=n.querySelector(nl(c));if(m){n=m._p,n!==null&&typeof n=="object"&&typeof n.then=="function"&&(t.count++,t=Gi.bind(t),n.then(t,t)),l.state.loading|=4,l.instance=m,yt(m);return}m=n.ownerDocument||n,o=M9(o),(c=bn.get(c))&&Jx(o,c),m=m.createElement("link"),yt(m);var B=m;B._p=new Promise(function(v,U){B.onload=v,B.onerror=U}),Ft(m,"link",o),l.instance=m}t.stylesheets===null&&(t.stylesheets=new Map),t.stylesheets.set(l,n),(n=l.state.preload)&&(l.state.loading&3)===0&&(t.count++,l=Gi.bind(t),n.addEventListener("load",l),n.addEventListener("error",l))}}var eu=0;function _E(t,n){return t.stylesheets&&t.count===0&&Yi(t,t.stylesheets),0<t.count||0<t.imgCount?function(l){var o=setTimeout(function(){if(t.stylesheets&&Yi(t,t.stylesheets),t.unsuspend){var m=t.unsuspend;t.unsuspend=null,m()}},6e4+n);0<t.imgBytes&&eu===0&&(eu=62500*fE());var c=setTimeout(function(){if(t.waitingForImages=!1,t.count===0&&(t.stylesheets&&Yi(t,t.stylesheets),t.unsuspend)){var m=t.unsuspend;t.unsuspend=null,m()}},(t.imgBytes>eu?50:800)+n);return t.unsuspend=l,function(){t.unsuspend=null,clearTimeout(o),clearTimeout(c)}}:null}function Gi(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)Yi(this,this.stylesheets);else if(this.unsuspend){var t=this.unsuspend;this.unsuspend=null,t()}}}var Qi=null;function Yi(t,n){t.stylesheets=null,t.unsuspend!==null&&(t.count++,Qi=new Map,n.forEach(TE,t),Qi=null,Gi.call(t))}function TE(t,n){if(!(n.state.loading&4)){var l=Qi.get(t);if(l)var o=l.get(null);else{l=new Map,Qi.set(t,l);for(var c=t.querySelectorAll("link[data-precedence],style[data-precedence]"),m=0;m<c.length;m++){var B=c[m];(B.nodeName==="LINK"||B.getAttribute("media")!=="not all")&&(l.set(B.dataset.precedence,B),o=B)}o&&l.set(null,o)}c=n.instance,B=c.getAttribute("data-precedence"),m=l.get(B)||o,m===o&&l.set(null,c),l.set(B,c),this.count++,o=Gi.bind(this),c.addEventListener("load",o),c.addEventListener("error",o),m?m.parentNode.insertBefore(c,m.nextSibling):(t=t.nodeType===9?t.head:t,t.insertBefore(c,t.firstChild)),n.state.loading|=4}}var al={$$typeof:w,Provider:null,Consumer:null,_currentValue:oe,_currentValue2:oe,_threadCount:0};function zE(t,n,l,o,c,m,B,v,U){this.tag=1,this.containerInfo=t,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=Xo(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Xo(0),this.hiddenUpdates=Xo(null),this.identifierPrefix=o,this.onUncaughtError=c,this.onCaughtError=m,this.onRecoverableError=B,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=U,this.incompleteTransitions=new Map}function j9(t,n,l,o,c,m,B,v,U,Q,te,le){return t=new zE(t,n,l,B,U,Q,te,le,v),n=1,m===!0&&(n|=24),m=en(3,null,null,n),t.current=m,m.stateNode=t,n=Ts(),n.refCount++,t.pooledCache=n,n.refCount++,m.memoizedState={element:o,isDehydrated:l,cache:n},Os(m),t}function R9(t){return t?(t=Rr,t):Rr}function O9(t,n,l,o,c,m){c=R9(c),o.context===null?o.context=c:o.pendingContext=c,o=A0(n),o.payload={element:l},m=m===void 0?null:m,m!==null&&(o.callback=m),l=b0(t,o,n),l!==null&&(Qt(l,t,n),Ra(l,t,n))}function L9(t,n){if(t=t.memoizedState,t!==null&&t.dehydrated!==null){var l=t.retryLane;t.retryLane=l!==0&&l<n?l:n}}function tu(t,n){L9(t,n),(t=t.alternate)&&L9(t,n)}function P9(t){if(t.tag===13||t.tag===31){var n=Z0(t,67108864);n!==null&&Qt(n,t,67108864),tu(t,67108864)}}function U9(t){if(t.tag===13||t.tag===31){var n=ln();n=Ko(n);var l=Z0(t,n);l!==null&&Qt(l,t,n),tu(t,n)}}var Xi=!0;function jE(t,n,l,o){var c=P.T;P.T=null;var m=Y.p;try{Y.p=2,nu(t,n,l,o)}finally{Y.p=m,P.T=c}}function RE(t,n,l,o){var c=P.T;P.T=null;var m=Y.p;try{Y.p=8,nu(t,n,l,o)}finally{Y.p=m,P.T=c}}function nu(t,n,l,o){if(Xi){var c=ru(o);if(c===null)qx(t,n,o,Ki,l),q9(t,o);else if(LE(c,t,n,l,o))o.stopPropagation();else if(q9(t,o),n&4&&-1<OE.indexOf(t)){for(;c!==null;){var m=vr(c);if(m!==null)switch(m.tag){case 3:if(m=m.stateNode,m.current.memoizedState.isDehydrated){var B=G0(m.pendingLanes);if(B!==0){var v=m;for(v.pendingLanes|=2,v.entangledLanes|=2;B;){var U=1<<31-Ke(B);v.entanglements[1]|=U,B&=~U}Pn(m),(qe&6)===0&&(_i=Tt()+500,Ja(0))}}break;case 31:case 13:v=Z0(m,2),v!==null&&Qt(v,m,2),zi(),tu(m,2)}if(m=ru(o),m===null&&qx(t,n,o,Ki,l),m===c)break;c=m}c!==null&&o.stopPropagation()}else qx(t,n,o,null,l)}}function ru(t){return t=ls(t),au(t)}var Ki=null;function au(t){if(Ki=null,t=Dr(t),t!==null){var n=x(t);if(n===null)t=null;else{var l=n.tag;if(l===13){if(t=u(n),t!==null)return t;t=null}else if(l===31){if(t=f(n),t!==null)return t;t=null}else if(l===3){if(n.stateNode.current.memoizedState.isDehydrated)return n.tag===3?n.stateNode.containerInfo:null;t=null}else n!==t&&(t=null)}}return Ki=t,null}function H9(t){switch(t){case"beforetoggle":case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 2;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(Yo()){case ne:return 2;case ue:return 8;case Ae:case Ne:return 32;case Ve:return 268435456;default:return 32}default:return 32}}var lu=!1,z0=null,j0=null,R0=null,ll=new Map,il=new Map,O0=[],OE="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset".split(" ");function q9(t,n){switch(t){case"focusin":case"focusout":z0=null;break;case"dragenter":case"dragleave":j0=null;break;case"mouseover":case"mouseout":R0=null;break;case"pointerover":case"pointerout":ll.delete(n.pointerId);break;case"gotpointercapture":case"lostpointercapture":il.delete(n.pointerId)}}function ol(t,n,l,o,c,m){return t===null||t.nativeEvent!==m?(t={blockedOn:n,domEventName:l,eventSystemFlags:o,nativeEvent:m,targetContainers:[c]},n!==null&&(n=vr(n),n!==null&&P9(n)),t):(t.eventSystemFlags|=o,n=t.targetContainers,c!==null&&n.indexOf(c)===-1&&n.push(c),t)}function LE(t,n,l,o,c){switch(n){case"focusin":return z0=ol(z0,t,n,l,o,c),!0;case"dragenter":return j0=ol(j0,t,n,l,o,c),!0;case"mouseover":return R0=ol(R0,t,n,l,o,c),!0;case"pointerover":var m=c.pointerId;return ll.set(m,ol(ll.get(m)||null,t,n,l,o,c)),!0;case"gotpointercapture":return m=c.pointerId,il.set(m,ol(il.get(m)||null,t,n,l,o,c)),!0}return!1}function I9(t){var n=Dr(t.target);if(n!==null){var l=x(n);if(l!==null){if(n=l.tag,n===13){if(n=u(l),n!==null){t.blockedOn=n,nf(t.priority,function(){U9(l)});return}}else if(n===31){if(n=f(l),n!==null){t.blockedOn=n,nf(t.priority,function(){U9(l)});return}}else if(n===3&&l.stateNode.current.memoizedState.isDehydrated){t.blockedOn=l.tag===3?l.stateNode.containerInfo:null;return}}}t.blockedOn=null}function Zi(t){if(t.blockedOn!==null)return!1;for(var n=t.targetContainers;0<n.length;){var l=ru(t.nativeEvent);if(l===null){l=t.nativeEvent;var o=new l.constructor(l.type,l);as=o,l.target.dispatchEvent(o),as=null}else return n=vr(l),n!==null&&P9(n),t.blockedOn=l,!1;n.shift()}return!0}function V9(t,n,l){Zi(t)&&l.delete(n)}function PE(){lu=!1,z0!==null&&Zi(z0)&&(z0=null),j0!==null&&Zi(j0)&&(j0=null),R0!==null&&Zi(R0)&&(R0=null),ll.forEach(V9),il.forEach(V9)}function Ji(t,n){t.blockedOn===n&&(t.blockedOn=null,lu||(lu=!0,e.unstable_scheduleCallback(e.unstable_NormalPriority,PE)))}var Wi=null;function $9(t){Wi!==t&&(Wi=t,e.unstable_scheduleCallback(e.unstable_NormalPriority,function(){Wi===t&&(Wi=null);for(var n=0;n<t.length;n+=3){var l=t[n],o=t[n+1],c=t[n+2];if(typeof o!="function"){if(au(o||l)===null)continue;break}var m=vr(l);m!==null&&(t.splice(n,3),n-=3,rx(m,{pending:!0,data:c,method:l.method,action:o},o,c))}}))}function ia(t){function n(U){return Ji(U,t)}z0!==null&&Ji(z0,t),j0!==null&&Ji(j0,t),R0!==null&&Ji(R0,t),ll.forEach(n),il.forEach(n);for(var l=0;l<O0.length;l++){var o=O0[l];o.blockedOn===t&&(o.blockedOn=null)}for(;0<O0.length&&(l=O0[0],l.blockedOn===null);)I9(l),l.blockedOn===null&&O0.shift();if(l=(t.ownerDocument||t).$$reactFormReplay,l!=null)for(o=0;o<l.length;o+=3){var c=l[o],m=l[o+1],B=c[Ht]||null;if(typeof m=="function")B||$9(l);else if(B){var v=null;if(m&&m.hasAttribute("formAction")){if(c=m,B=m[Ht]||null)v=B.formAction;else if(au(c)!==null)continue}else v=B.action;typeof v=="function"?l[o+1]=v:(l.splice(o,3),o-=3),$9(l)}}}function G9(){function t(m){m.canIntercept&&m.info==="react-transition"&&m.intercept({handler:function(){return new Promise(function(B){return c=B})},focusReset:"manual",scroll:"manual"})}function n(){c!==null&&(c(),c=null),o||setTimeout(l,20)}function l(){if(!o&&!navigation.transition){var m=navigation.currentEntry;m&&m.url!=null&&navigation.navigate(m.url,{state:m.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var o=!1,c=null;return navigation.addEventListener("navigate",t),navigation.addEventListener("navigatesuccess",n),navigation.addEventListener("navigateerror",n),setTimeout(l,100),function(){o=!0,navigation.removeEventListener("navigate",t),navigation.removeEventListener("navigatesuccess",n),navigation.removeEventListener("navigateerror",n),c!==null&&(c(),c=null)}}}function iu(t){this._internalRoot=t}eo.prototype.render=iu.prototype.render=function(t){var n=this._internalRoot;if(n===null)throw Error(i(409));var l=n.current,o=ln();O9(l,o,t,n,null,null)},eo.prototype.unmount=iu.prototype.unmount=function(){var t=this._internalRoot;if(t!==null){this._internalRoot=null;var n=t.containerInfo;O9(t.current,2,null,t,null,null),zi(),n[br]=null}};function eo(t){this._internalRoot=t}eo.prototype.unstable_scheduleHydration=function(t){if(t){var n=tf();t={blockedOn:null,target:t,priority:n};for(var l=0;l<O0.length&&n!==0&&n<O0[l].priority;l++);O0.splice(l,0,t),l===0&&I9(t)}};var Q9=r.version;if(Q9!=="19.2.7")throw Error(i(527,Q9,"19.2.7"));Y.findDOMNode=function(t){var n=t._reactInternals;if(n===void 0)throw typeof t.render=="function"?Error(i(188)):(t=Object.keys(t).join(","),Error(i(268,t)));return t=h(n),t=t!==null?E(t):null,t=t===null?null:t.stateNode,t};var UE={bundleType:0,version:"19.2.7",rendererPackageName:"react-dom",currentDispatcherRef:P,reconcilerVersion:"19.2.7"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var to=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!to.isDisabled&&to.supportsFiber)try{zt=to.inject(UE),mt=to}catch{}}return xl.createRoot=function(t,n){if(!s(t))throw Error(i(299));var l=!1,o="",c=e1,m=t1,B=n1;return n!=null&&(n.unstable_strictMode===!0&&(l=!0),n.identifierPrefix!==void 0&&(o=n.identifierPrefix),n.onUncaughtError!==void 0&&(c=n.onUncaughtError),n.onCaughtError!==void 0&&(m=n.onCaughtError),n.onRecoverableError!==void 0&&(B=n.onRecoverableError)),n=j9(t,1,!1,null,null,l,o,null,c,m,B,G9),t[br]=n.current,Hx(t),new iu(n)},xl.hydrateRoot=function(t,n,l){if(!s(t))throw Error(i(299));var o=!1,c="",m=e1,B=t1,v=n1,U=null;return l!=null&&(l.unstable_strictMode===!0&&(o=!0),l.identifierPrefix!==void 0&&(c=l.identifierPrefix),l.onUncaughtError!==void 0&&(m=l.onUncaughtError),l.onCaughtError!==void 0&&(B=l.onCaughtError),l.onRecoverableError!==void 0&&(v=l.onRecoverableError),l.formState!==void 0&&(U=l.formState)),n=j9(t,1,!0,n,l??null,o,c,U,m,B,v,G9),n.context=R9(null),l=n.current,o=ln(),o=Ko(o),c=A0(o),c.callback=null,b0(l,c,o),l=o,n.current.lanes=l,Ca(n,l),Pn(n),t[br]=n.current,Hx(t),new eo(n)},xl.version="19.2.7",xl}var dh;function z6(){if(dh)return xu.exports;dh=1;function e(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(r){console.error(r)}}return e(),xu.exports=T6(),xu.exports}var j6=z6();var hc=/^(?:[a-z][a-z0-9+.-]*:|[\\/]{2})/i,J8=/^[\\/]{2}/;function R6(e,r){return r+e.replace(/\\/g,"/")}var hh="popstate";function ph(e){return typeof e=="object"&&e!=null&&"pathname"in e&&"search"in e&&"hash"in e&&"state"in e&&"key"in e}function O6(e={}){function r(i,s){let x=s.state?.masked,{pathname:u,search:f,hash:d}=x||i.location;return Gu("",{pathname:u,search:f,hash:d},s.state&&s.state.usr||null,s.state&&s.state.key||"default",x?{pathname:i.location.pathname,search:i.location.search,hash:i.location.hash}:void 0)}function a(i,s){return typeof s=="string"?s:kl(s)}return P6(r,a,null,e)}function rt(e,r){if(e===!1||e===null||typeof e>"u")throw new Error(r)}function vn(e,r){if(!e){typeof console<"u"&&console.warn(r);try{throw new Error(r)}catch{}}}function L6(){return Math.random().toString(36).substring(2,10)}function mh(e,r){return{usr:e.state,key:e.key,idx:r,masked:e.mask?{pathname:e.pathname,search:e.search,hash:e.hash}:void 0}}function Gu(e,r,a=null,i,s){return{pathname:typeof e=="string"?e:e.pathname,search:"",hash:"",...typeof r=="string"?ca(r):r,state:a,key:r&&r.key||i||L6(),mask:s}}function kl({pathname:e="/",search:r="",hash:a=""}){return r&&r!=="?"&&(e+=r.charAt(0)==="?"?r:"?"+r),a&&a!=="#"&&(e+=a.charAt(0)==="#"?a:"#"+a),e}function ca(e){let r={};if(e){let a=e.indexOf("#");a>=0&&(r.hash=e.substring(a),e=e.substring(0,a));let i=e.indexOf("?");i>=0&&(r.search=e.substring(i),e=e.substring(0,i)),e&&(r.pathname=e)}return r}function P6(e,r,a,i={}){let{window:s=document.defaultView,v5Compat:x=!1}=i,u=s.history,f="POP",d=null,h=E();h==null&&(h=0,u.replaceState({...u.state,idx:h},""));function E(){return(u.state||{idx:null}).idx}function p(){f="POP";let D=E(),F=D==null?null:D-h;h=D,d&&d({action:f,location:b.location,delta:F})}function y(D,F){f="PUSH";let O=ph(D)?D:Gu(b.location,D,F);h=E()+1;let w=mh(O,h),_=b.createHref(O.mask||O);try{u.pushState(w,"",_)}catch(R){if(R instanceof DOMException&&R.name==="DataCloneError")throw R;s.location.assign(_)}x&&d&&d({action:f,location:b.location,delta:1})}function C(D,F){f="REPLACE";let O=ph(D)?D:Gu(b.location,D,F);h=E();let w=mh(O,h),_=b.createHref(O.mask||O);u.replaceState(w,"",_),x&&d&&d({action:f,location:b.location,delta:0})}function A(D){return U6(s,D)}let b={get action(){return f},get location(){return e(s,u)},listen(D){if(d)throw new Error("A history only accepts one active listener");return s.addEventListener(hh,p),d=D,()=>{s.removeEventListener(hh,p),d=null}},createHref(D){return r(s,D)},createURL:A,encodeLocation(D){let F=A(D);return{pathname:F.pathname,search:F.search,hash:F.hash}},push:y,replace:C,go(D){return u.go(D)}};return b}function U6(e,r,a=!1){let i="http://localhost";e&&(i=e.location.origin!=="null"?e.location.origin:e.location.href),rt(i,"No window.location.(origin|href) available to create URL");let s=typeof r=="string"?r:kl(r);return s=s.replace(/ $/,"%20"),!a&&J8.test(s)&&(s=i+s),new URL(s,i)}function W8(e,r,a="/"){return H6(e,r,a,!1)}function H6(e,r,a,i,s){let x=typeof r=="string"?ca(r):r,u=f0(x.pathname||"/",a);if(u==null)return null;let f=q6(e),d=null,h=a2(u);for(let E=0;d==null&&E<f.length;++E)d=J6(f[E],h,i);return d}function q6(e){let r=e2(e);return I6(r),r}function e2(e,r=[],a=[],i="",s=!1){let x=(u,f,d=s,h)=>{let E={relativePath:h===void 0?u.path||"":h,caseSensitive:u.caseSensitive===!0,childrenIndex:f,route:u};if(E.relativePath.startsWith("/")){if(!E.relativePath.startsWith(i)&&d)return;rt(E.relativePath.startsWith(i),`Absolute route path "${E.relativePath}" nested under path "${i}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),E.relativePath=E.relativePath.slice(i.length)}let p=_n([i,E.relativePath]),y=a.concat(E);u.children&&u.children.length>0&&(rt(u.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${p}".`),e2(u.children,r,y,p,d)),!(u.path==null&&!u.index)&&r.push({path:p,score:K6(p,u.index),routesMeta:y.map((C,A)=>{let[b,D]=r2(C.relativePath,C.caseSensitive,A===y.length-1);return{...C,matcher:b,compiledParams:D}})})};return e.forEach((u,f)=>{if(u.path===""||!u.path?.includes("?"))x(u,f);else for(let d of t2(u.path))x(u,f,!0,d)}),r}function t2(e){let r=e.split("/");if(r.length===0)return[];let[a,...i]=r,s=a.endsWith("?"),x=a.replace(/\?$/,"");if(i.length===0)return s?[x,""]:[x];let u=t2(i.join("/")),f=[];return f.push(...u.map(d=>d===""?x:[x,d].join("/"))),s&&f.push(...u),f.map(d=>e.startsWith("/")&&d===""?"/":d)}function I6(e){e.sort((r,a)=>r.score!==a.score?a.score-r.score:Z6(r.routesMeta.map(i=>i.childrenIndex),a.routesMeta.map(i=>i.childrenIndex)))}var V6=/^:[\w-]+$/,$6=3,G6=2,Q6=1,Y6=10,X6=-2,Eh=e=>e==="*";function K6(e,r){let a=e.split("/"),i=a.length;return a.some(Eh)&&(i+=X6),r&&(i+=G6),a.filter(s=>!Eh(s)).reduce((s,x)=>s+(V6.test(x)?$6:x===""?Q6:Y6),i)}function Z6(e,r){return e.length===r.length&&e.slice(0,-1).every((i,s)=>i===r[s])?e[e.length-1]-r[r.length-1]:0}function J6(e,r,a=!1){let{routesMeta:i}=e,s={},x="/",u=[];for(let f=0;f<i.length;++f){let d=i[f],h=f===i.length-1,E=x==="/"?r:r.slice(x.length)||"/",p={path:d.relativePath,caseSensitive:d.caseSensitive,end:h},y=d.matcher&&d.compiledParams?n2(p,E,d.matcher,d.compiledParams):Fl(p,E),C=d.route;if(!y&&h&&a&&!i[i.length-1].route.index&&(y=Fl({path:d.relativePath,caseSensitive:d.caseSensitive,end:!1},E)),!y)return null;Object.assign(s,y.params),u.push({params:s,pathname:_n([x,y.pathname]),pathnameBase:t4(_n([x,y.pathnameBase])),route:C}),y.pathnameBase!=="/"&&(x=_n([x,y.pathnameBase]))}return u}function Fl(e,r){typeof e=="string"&&(e={path:e,caseSensitive:!1,end:!0});let[a,i]=r2(e.path,e.caseSensitive,e.end);return n2(e,r,a,i)}function n2(e,r,a,i){let s=r.match(a);if(!s)return null;let x=s[0],u=x.replace(/(.)\/+$/,"$1"),f=s.slice(1);return{params:i.reduce((h,{paramName:E,isOptional:p},y)=>{if(E==="*"){let A=f[y]||"";u=x.slice(0,x.length-A.length).replace(/(.)\/+$/,"$1")}const C=f[y];return p&&!C?h[E]=void 0:h[E]=(C||"").replace(/%2F/g,"/"),h},{}),pathname:x,pathnameBase:u,pattern:e}}function r2(e,r=!1,a=!0){vn(e==="*"||!e.endsWith("*")||e.endsWith("/*"),`Route path "${e}" will be treated as if it were "${e.replace(/\*$/,"/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${e.replace(/\*$/,"/*")}".`);let i=[],s="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(u,f,d,h,E)=>{if(i.push({paramName:f,isOptional:d!=null}),d){let p=E.charAt(h+u.length);return p&&p!=="/"?"/([^\\/]*)":"(?:/([^\\/]*))?"}return"/([^\\/]+)"}).replace(/\/([\w-]+)\?(\/|$)/g,"(/$1)?$2");return e.endsWith("*")?(i.push({paramName:"*"}),s+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):a?s+="\\/*$":e!==""&&e!=="/"&&(s+="(?:(?=\\/|$))"),[new RegExp(s,r?void 0:"i"),i]}function a2(e){try{return e.split("/").map(r=>decodeURIComponent(r).replace(/\//g,"%2F")).join("/")}catch(r){return vn(!1,`The URL path "${e}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${r}).`),e}}function f0(e,r){if(r==="/")return e;if(!e.toLowerCase().startsWith(r.toLowerCase()))return null;let a=r.endsWith("/")?r.length-1:r.length,i=e.charAt(a);return i&&i!=="/"?null:e.slice(a)||"/"}function W6(e,r="/"){let{pathname:a,search:i="",hash:s=""}=typeof e=="string"?ca(e):e,x;return a?(a=l2(a),a.startsWith("/")?x=Ch(a.substring(1),"/"):x=Ch(a,r)):x=r,{pathname:x,search:n4(i),hash:r4(s)}}function Ch(e,r){let a=Ao(r).split("/");return e.split("/").forEach(s=>{s===".."?a.length>1&&a.pop():s!=="."&&a.push(s)}),a.length>1?a.join("/"):"/"}function du(e,r,a,i){return`Cannot include a '${e}' character in a manually specified \`to.${r}\` field [${JSON.stringify(i)}]. Please separate it out to the \`to.${a}\` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.`}function e4(e){return e.filter((r,a)=>a===0||r.route.path&&r.route.path.length>0)}function pc(e){let r=e4(e);return r.map((a,i)=>i===r.length-1?a.pathname:a.pathnameBase)}function jo(e,r,a,i=!1){let s;typeof e=="string"?s=ca(e):(s={...e},rt(!s.pathname||!s.pathname.includes("?"),du("?","pathname","search",s)),rt(!s.pathname||!s.pathname.includes("#"),du("#","pathname","hash",s)),rt(!s.search||!s.search.includes("#"),du("#","search","hash",s)));let x=e===""||s.pathname==="",u=x?"/":s.pathname,f;if(u==null)f=a;else{let p=r.length-1;if(!i&&u.startsWith("..")){let y=u.split("/");for(;y[0]==="..";)y.shift(),p-=1;s.pathname=y.join("/")}f=p>=0?r[p]:"/"}let d=W6(s,f),h=u&&u!=="/"&&u.endsWith("/"),E=(x||u===".")&&a.endsWith("/");return!d.pathname.endsWith("/")&&(h||E)&&(d.pathname+="/"),d}var l2=e=>e.replace(/[\\/]{2,}/g,"/"),_n=e=>l2(e.join("/")),Ao=e=>e.replace(/\/+$/,""),t4=e=>Ao(e).replace(/^\/*/,"/"),n4=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,r4=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e,a4=class{constructor(e,r,a,i=!1){this.status=e,this.statusText=r||"",this.internal=i,a instanceof Error?(this.data=a.toString(),this.error=a):this.data=a}};function l4(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}function i4(e){let r=e.map(a=>a.route.path).filter(Boolean);return _n(r)||"/"}var i2=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";function o2(e,r){let a=e;if(typeof a!="string"||!hc.test(a))return{absoluteURL:void 0,isExternal:!1,to:a};let i=a,s=!1;if(i2)try{let x=new URL(window.location.href),u=J8.test(a)?new URL(R6(a,x.protocol)):new URL(a),f=f0(u.pathname,r);u.origin===x.origin&&f!=null?a=f+u.search+u.hash:s=!0}catch{vn(!1,`<Link to="${a}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}return{absoluteURL:i,isExternal:s,to:a}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");var s2=["POST","PUT","PATCH","DELETE"];new Set(s2);var o4=["GET",...s2];new Set(o4);var s4=["about:","blob:","chrome:","chrome-untrusted:","content:","data:","devtools:","file:","filesystem:","javascript:"];function x4(e){try{return s4.includes(new URL(e).protocol)}catch{return!1}}var fa=z.createContext(null);fa.displayName="DataRouter";var Ro=z.createContext(null);Ro.displayName="DataRouterState";var x2=z.createContext(!1);function u4(){return z.useContext(x2)}var u2=z.createContext({isTransitioning:!1});u2.displayName="ViewTransition";var c4=z.createContext(new Map);c4.displayName="Fetchers";var f4=z.createContext(null);f4.displayName="Await";var cn=z.createContext(null);cn.displayName="Navigation";var zl=z.createContext(null);zl.displayName="Location";var kn=z.createContext({outlet:null,matches:[],isDataRoute:!1});kn.displayName="Route";var mc=z.createContext(null);mc.displayName="RouteError";var c2="REACT_ROUTER_ERROR",d4="REDIRECT",h4="ROUTE_ERROR_RESPONSE";function p4(e){if(e.startsWith(`${c2}:${d4}:{`))try{let r=JSON.parse(e.slice(28));if(typeof r=="object"&&r&&typeof r.status=="number"&&typeof r.statusText=="string"&&typeof r.location=="string"&&typeof r.reloadDocument=="boolean"&&typeof r.replace=="boolean")return r}catch{}}function m4(e){if(e.startsWith(`${c2}:${h4}:{`))try{let r=JSON.parse(e.slice(40));if(typeof r=="object"&&r&&typeof r.status=="number"&&typeof r.statusText=="string")return new a4(r.status,r.statusText,r.data)}catch{}}function E4(e,{relative:r}={}){rt(Cr(),"useHref() may be used only in the context of a <Router> component.");let{basename:a,navigator:i}=z.useContext(cn),{hash:s,pathname:x,search:u}=jl(e,{relative:r}),f=x;return a!=="/"&&(f=x==="/"?a:_n([a,x])),i.createHref({pathname:f,search:u,hash:s})}function Cr(){return z.useContext(zl)!=null}function Fn(){return rt(Cr(),"useLocation() may be used only in the context of a <Router> component."),z.useContext(zl).location}function C4(e){rt(Cr(),"useMatch() may be used only in the context of a <Router> component.");let{pathname:r}=Fn();return z.useMemo(()=>Fl(e,a2(r)),[r,e])}var f2="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function d2(e){z.useContext(cn).static||z.useLayoutEffect(e)}function da(){let{isDataRoute:e}=z.useContext(kn);return e?z4():y4()}function y4(){rt(Cr(),"useNavigate() may be used only in the context of a <Router> component.");let e=z.useContext(fa),{basename:r,navigator:a}=z.useContext(cn),{matches:i}=z.useContext(kn),{pathname:s}=Fn(),x=JSON.stringify(pc(i)),u=z.useRef(!1);return d2(()=>{u.current=!0}),z.useCallback((d,h={})=>{if(vn(u.current,f2),!u.current)return;if(typeof d=="number"){a.go(d);return}let E=jo(d,JSON.parse(x),s,h.relative==="path");e==null&&r!=="/"&&(E.pathname=E.pathname==="/"?r:_n([r,E.pathname])),(h.replace?a.replace:a.push)(E,h.state,h)},[r,a,x,s,e])}var g4=z.createContext(null);function B4(e){let r=z.useContext(kn).outlet;return z.useMemo(()=>r&&z.createElement(g4.Provider,{value:e},r),[r,e])}function A4(){let{matches:e}=z.useContext(kn);return e[e.length-1]?.params??{}}function jl(e,{relative:r}={}){let{matches:a}=z.useContext(kn),{pathname:i}=Fn(),s=JSON.stringify(pc(a));return z.useMemo(()=>jo(e,JSON.parse(s),i,r==="path"),[e,s,i,r])}function b4(e,r){return h2(e,r)}function h2(e,r,a){rt(Cr(),"useRoutes() may be used only in the context of a <Router> component.");let{navigator:i}=z.useContext(cn),{matches:s}=z.useContext(kn),x=s[s.length-1],u=x?x.params:{},f=x?x.pathname:"/",d=x?x.pathnameBase:"/",h=x&&x.route;{let D=h&&h.path||"";m2(f,!h||D.endsWith("*")||D.endsWith("*?"),`You rendered descendant <Routes> (or called \`useRoutes()\`) at "${f}" (under <Route path="${D}">) but the parent route path has no trailing "*". This means if you navigate deeper, the parent won't match anymore and therefore the child routes will never render.
10
10
 
11
- Please change the parent <Route path="${D}"> to <Route path="${D==="/"?"*":`${D}/*`}">.`)}let E=Fn(),p;if(r){let D=typeof r=="string"?ca(r):r;rt(d==="/"||D.pathname?.startsWith(d),`When overriding the location using \`<Routes location>\` or \`useRoutes(routes, location)\`, the location pathname must begin with the portion of the URL pathname that was matched by all parent routes. The current pathname base is "${d}" but pathname "${D.pathname}" was given in the \`location\` prop.`),p=D}else p=E;let y=p.pathname||"/",C=y;if(d!=="/"){let D=d.replace(/^\//,"").split("/");C="/"+y.replace(/^\//,"").split("/").slice(D.length).join("/")}let A=a&&a.state.matches.length?a.state.matches.map(D=>Object.assign(D,{route:a.manifest[D.route.id]||D.route})):W8(e,{pathname:C});vn(h||A!=null,`No routes matched location "${p.pathname}${p.search}${p.hash}" `),vn(A==null||A[A.length-1].route.element!==void 0||A[A.length-1].route.Component!==void 0||A[A.length-1].route.lazy!==void 0,`Matched leaf route at location "${p.pathname}${p.search}${p.hash}" does not have an element or Component. This means it will render an <Outlet /> with a null value by default resulting in an "empty" page.`);let b=F4(A&&A.map(D=>Object.assign({},D,{params:Object.assign({},u,D.params),pathname:_n([d,i.encodeLocation?i.encodeLocation(D.pathname.replace(/%/g,"%25").replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:D.pathname]),pathnameBase:D.pathnameBase==="/"?d:_n([d,i.encodeLocation?i.encodeLocation(D.pathnameBase.replace(/%/g,"%25").replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:D.pathnameBase])})),s,a);return r&&b?z.createElement(zl.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",mask:void 0,...p},navigationType:"POP"}},b):b}function b4(){let e=_4(),r=a4(e)?`${e.status} ${e.statusText}`:e instanceof Error?e.message:JSON.stringify(e),a=e instanceof Error?e.stack:null,i="rgba(200,200,200, 0.5)",s={padding:"0.5rem",backgroundColor:i},x={padding:"2px 4px",backgroundColor:i},u=null;return console.error("Error handled by React Router default ErrorBoundary:",e),u=z.createElement(z.Fragment,null,z.createElement("p",null,"💿 Hey developer 👋"),z.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",z.createElement("code",{style:x},"ErrorBoundary")," or"," ",z.createElement("code",{style:x},"errorElement")," prop on your route.")),z.createElement(z.Fragment,null,z.createElement("h2",null,"Unexpected Application Error!"),z.createElement("h3",{style:{fontStyle:"italic"}},r),a?z.createElement("pre",{style:s},a):null,u)}var D4=z.createElement(b4,null),p2=class extends z.Component{constructor(e){super(e),this.state={location:e.location,revalidation:e.revalidation,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,r){return r.location!==e.location||r.revalidation!=="idle"&&e.revalidation==="idle"?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:e.error!==void 0?e.error:r.error,location:r.location,revalidation:e.revalidation||r.revalidation}}componentDidCatch(e,r){this.props.onError?this.props.onError(e,r):console.error("React Router caught the following error during render",e)}render(){let e=this.state.error;if(this.context&&typeof e=="object"&&e&&"digest"in e&&typeof e.digest=="string"){const a=p4(e.digest);a&&(e=a)}let r=e!==void 0?z.createElement(kn.Provider,{value:this.props.routeContext},z.createElement(mc.Provider,{value:e,children:this.props.component})):this.props.children;return this.context?z.createElement(v4,{error:e},r):r}};p2.contextType=x2;var hu=new WeakMap;function v4({children:e,error:r}){let{basename:a}=z.useContext(cn);if(typeof r=="object"&&r&&"digest"in r&&typeof r.digest=="string"){let i=h4(r.digest);if(i){let s=hu.get(r);if(s)throw s;let x=o2(i.location,a),u=x.absoluteURL||x.to;if(s4(u))throw new Error("Invalid redirect location");if(i2&&!hu.get(r))if(x.isExternal||i.reloadDocument)window.location.href=u;else{const f=Promise.resolve().then(()=>window.__reactRouterDataRouter.navigate(x.to,{replace:i.replace}));throw hu.set(r,f),f}return z.createElement("meta",{httpEquiv:"refresh",content:`0;url=${u}`})}}return e}function k4({routeContext:e,match:r,children:a}){let i=z.useContext(fa);return i&&i.static&&i.staticContext&&(r.route.errorElement||r.route.ErrorBoundary)&&(i.staticContext._deepestRenderedBoundaryId=r.route.id),z.createElement(kn.Provider,{value:e},a)}function F4(e,r=[],a){let i=a?.state;if(e==null){if(!i)return null;if(i.errors)e=i.matches;else if(r.length===0&&!i.initialized&&i.matches.length>0)e=i.matches;else return null}let s=e,x=i?.errors;if(x!=null){let E=s.findIndex(p=>p.route.id&&x?.[p.route.id]!==void 0);rt(E>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(x).join(",")}`),s=s.slice(0,Math.min(s.length,E+1))}let u=!1,f=-1;if(a&&i){u=i.renderFallback;for(let E=0;E<s.length;E++){let p=s[E];if((p.route.HydrateFallback||p.route.hydrateFallbackElement)&&(f=E),p.route.id){let{loaderData:y,errors:C}=i,A=p.route.loader&&!y.hasOwnProperty(p.route.id)&&(!C||C[p.route.id]===void 0);if(p.route.lazy||A){a.isStatic&&(u=!0),f>=0?s=s.slice(0,f+1):s=[s[0]];break}}}}let d=a?.onError,h=i&&d?(E,p)=>{d(E,{location:i.location,params:i.matches?.[0]?.params??{},pattern:l4(i.matches),errorInfo:p})}:void 0;return s.reduceRight((E,p,y)=>{let C,A=!1,b=null,D=null;i&&(C=x&&p.route.id?x[p.route.id]:void 0,b=p.route.errorElement||D4,u&&(f<0&&y===0?(m2("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),A=!0,D=null):f===y&&(A=!0,D=p.route.hydrateFallbackElement||null)));let F=r.concat(s.slice(0,y+1)),O=()=>{let w;return C?w=b:A?w=D:p.route.Component?w=z.createElement(p.route.Component,null):p.route.element?w=p.route.element:w=E,z.createElement(k4,{match:p,routeContext:{outlet:E,matches:F,isDataRoute:i!=null},children:w})};return i&&(p.route.ErrorBoundary||p.route.errorElement||y===0)?z.createElement(p2,{location:i.location,revalidation:i.revalidation,component:b,error:C,children:O(),routeContext:{outlet:null,matches:F,isDataRoute:!0},onError:h}):O()},null)}function Ec(e){return`${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function w4(e){let r=z.useContext(fa);return rt(r,Ec(e)),r}function S4(e){let r=z.useContext(Ro);return rt(r,Ec(e)),r}function M4(e){let r=z.useContext(kn);return rt(r,Ec(e)),r}function Cc(e){let r=M4(e),a=r.matches[r.matches.length-1];return rt(a.route.id,`${e} can only be used on routes that contain a unique "id"`),a.route.id}function N4(){return Cc("useRouteId")}function _4(){let e=z.useContext(mc),r=S4("useRouteError"),a=Cc("useRouteError");return e!==void 0?e:r.errors?.[a]}function T4(){let{router:e}=w4("useNavigate"),r=Cc("useNavigate"),a=z.useRef(!1);return d2(()=>{a.current=!0}),z.useCallback(async(s,x={})=>{vn(a.current,f2),a.current&&(typeof s=="number"?await e.navigate(s):await e.navigate(s,{fromRouteId:r,...x}))},[e,r])}var yh={};function m2(e,r,a){!r&&!yh[e]&&(yh[e]=!0,vn(!1,a))}z.memo(z4);function z4({routes:e,manifest:r,future:a,state:i,isStatic:s,onError:x}){return h2(e,void 0,{manifest:r,state:i,isStatic:s,onError:x})}function j4({to:e,replace:r,state:a,relative:i}){rt(Cr(),"<Navigate> may be used only in the context of a <Router> component.");let{static:s}=z.useContext(cn);vn(!s,"<Navigate> must not be used on the initial render in a <StaticRouter>. This is a no-op, but you should modify your code so the <Navigate> is only ever rendered in response to some user interaction or state change.");let{matches:x}=z.useContext(kn),{pathname:u}=Fn(),f=da(),d=jo(e,pc(x),u,i==="path"),h=JSON.stringify(d);return z.useEffect(()=>{f(JSON.parse(h),{replace:r,state:a,relative:i})},[f,h,i,r,a]),null}function R4(e){return g4(e.context)}function yl(e){rt(!1,"A <Route> is only ever to be used as the child of <Routes> element, never rendered directly. Please wrap your <Route> in a <Routes>.")}function O4({basename:e="/",children:r=null,location:a,navigationType:i="POP",navigator:s,static:x=!1,useTransitions:u}){rt(!Cr(),"You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let f=e.replace(/^\/*/,"/"),d=z.useMemo(()=>({basename:f,navigator:s,static:x,useTransitions:u,future:{}}),[f,s,x,u]);typeof a=="string"&&(a=ca(a));let{pathname:h="/",search:E="",hash:p="",state:y=null,key:C="default",mask:A}=a,b=z.useMemo(()=>{let D=f0(h,f);return D==null?null:{location:{pathname:D,search:E,hash:p,state:y,key:C,mask:A},navigationType:i}},[f,h,E,p,y,C,i,A]);return vn(b!=null,`<Router basename="${f}"> is not able to match the URL "${h}${E}${p}" because it does not start with the basename, so the <Router> won't render anything.`),b==null?null:z.createElement(cn.Provider,{value:d},z.createElement(zl.Provider,{children:r,value:b}))}function L4({children:e,location:r}){return A4(Qu(e),r)}function Qu(e,r=[]){let a=[];return z.Children.forEach(e,(i,s)=>{if(!z.isValidElement(i))return;let x=[...r,s];if(i.type===z.Fragment){a.push.apply(a,Qu(i.props.children,x));return}rt(i.type===yl,`[${typeof i.type=="string"?i.type:i.type.name}] is not a <Route> component. All component children of <Routes> must be a <Route> or <React.Fragment>`),rt(!i.props.index||!i.props.children,"An index route cannot have child routes.");let u={id:i.props.id||x.join("-"),caseSensitive:i.props.caseSensitive,element:i.props.element,Component:i.props.Component,index:i.props.index,path:i.props.path,middleware:i.props.middleware,loader:i.props.loader,action:i.props.action,hydrateFallbackElement:i.props.hydrateFallbackElement,HydrateFallback:i.props.HydrateFallback,errorElement:i.props.errorElement,ErrorBoundary:i.props.ErrorBoundary,hasErrorBoundary:i.props.hasErrorBoundary===!0||i.props.ErrorBoundary!=null||i.props.errorElement!=null,shouldRevalidate:i.props.shouldRevalidate,handle:i.props.handle,lazy:i.props.lazy};i.props.children&&(u.children=Qu(i.props.children,x)),a.push(u)}),a}var po="get",mo="application/x-www-form-urlencoded";function Oo(e){return typeof HTMLElement<"u"&&e instanceof HTMLElement}function P4(e){return Oo(e)&&e.tagName.toLowerCase()==="button"}function U4(e){return Oo(e)&&e.tagName.toLowerCase()==="form"}function H4(e){return Oo(e)&&e.tagName.toLowerCase()==="input"}function q4(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function I4(e,r){return e.button===0&&(!r||r==="_self")&&!q4(e)}function Yu(e=""){return new URLSearchParams(typeof e=="string"||Array.isArray(e)||e instanceof URLSearchParams?e:Object.keys(e).reduce((r,a)=>{let i=e[a];return r.concat(Array.isArray(i)?i.map(s=>[a,s]):[[a,i]])},[]))}function V4(e,r){let a=Yu(e);return r&&r.forEach((i,s)=>{a.has(s)||r.getAll(s).forEach(x=>{a.append(s,x)})}),a}var ao=null;function $4(){if(ao===null)try{new FormData(document.createElement("form"),0),ao=!1}catch{ao=!0}return ao}var G4=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function pu(e){return e!=null&&!G4.has(e)?(vn(!1,`"${e}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${mo}"`),null):e}function Q4(e,r){let a,i,s,x,u;if(U4(e)){let f=e.getAttribute("action");i=f?f0(f,r):null,a=e.getAttribute("method")||po,s=pu(e.getAttribute("enctype"))||mo,x=new FormData(e)}else if(P4(e)||H4(e)&&(e.type==="submit"||e.type==="image")){let f=e.form;if(f==null)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let d=e.getAttribute("formaction")||f.getAttribute("action");if(i=d?f0(d,r):null,a=e.getAttribute("formmethod")||f.getAttribute("method")||po,s=pu(e.getAttribute("formenctype"))||pu(f.getAttribute("enctype"))||mo,x=new FormData(f,e),!$4()){let{name:h,type:E,value:p}=e;if(E==="image"){let y=h?`${h}.`:"";x.append(`${y}x`,"0"),x.append(`${y}y`,"0")}else h&&x.append(h,p)}}else{if(Oo(e))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');a=po,i=null,s=mo,u=e}return x&&s==="text/plain"&&(u=x,x=void 0),{action:i,method:a.toLowerCase(),encType:s,formData:x,body:u}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");function yc(e,r){if(e===!1||e===null||typeof e>"u")throw new Error(r)}function E2(e,r,a,i){let s=typeof e=="string"?new URL(e,typeof window>"u"?"server://singlefetch/":window.location.origin):e;return a?s.pathname.endsWith("/")?s.pathname=`${s.pathname}_.${i}`:s.pathname=`${s.pathname}.${i}`:s.pathname==="/"?s.pathname=`_root.${i}`:r&&f0(s.pathname,r)==="/"?s.pathname=`${Ao(r)}/_root.${i}`:s.pathname=`${Ao(s.pathname)}.${i}`,s}async function Y4(e,r){if(e.id in r)return r[e.id];try{let a=await import(e.module);return r[e.id]=a,a}catch(a){return console.error(`Error loading route module \`${e.module}\`, reloading page...`),console.error(a),window.__reactRouterContext&&window.__reactRouterContext.isSpaMode,window.location.reload(),new Promise(()=>{})}}function X4(e){return e==null?!1:e.href==null?e.rel==="preload"&&typeof e.imageSrcSet=="string"&&typeof e.imageSizes=="string":typeof e.rel=="string"&&typeof e.href=="string"}async function K4(e,r,a){let i=await Promise.all(e.map(async s=>{let x=r.routes[s.route.id];if(x){let u=await Y4(x,a);return u.links?u.links():[]}return[]}));return e7(i.flat(1).filter(X4).filter(s=>s.rel==="stylesheet"||s.rel==="preload").map(s=>s.rel==="stylesheet"?{...s,rel:"prefetch",as:"style"}:{...s,rel:"prefetch"}))}function gh(e,r,a,i,s,x){let u=(d,h)=>a[h]?d.route.id!==a[h].route.id:!0,f=(d,h)=>a[h].pathname!==d.pathname||a[h].route.path?.endsWith("*")&&a[h].params["*"]!==d.params["*"];return x==="assets"?r.filter((d,h)=>u(d,h)||f(d,h)):x==="data"?r.filter((d,h)=>{let E=i.routes[d.route.id];if(!E||!E.hasLoader)return!1;if(u(d,h)||f(d,h))return!0;if(d.route.shouldRevalidate){let p=d.route.shouldRevalidate({currentUrl:new URL(s.pathname+s.search+s.hash,window.origin),currentParams:a[0]?.params||{},nextUrl:new URL(e,window.origin),nextParams:d.params,defaultShouldRevalidate:!0});if(typeof p=="boolean")return p}return!0}):[]}function Z4(e,r,{includeHydrateFallback:a}={}){return J4(e.map(i=>{let s=r.routes[i.route.id];if(!s)return[];let x=[s.module];return s.clientActionModule&&(x=x.concat(s.clientActionModule)),s.clientLoaderModule&&(x=x.concat(s.clientLoaderModule)),a&&s.hydrateFallbackModule&&(x=x.concat(s.hydrateFallbackModule)),s.imports&&(x=x.concat(s.imports)),x}).flat(1))}function J4(e){return[...new Set(e)]}function W4(e){let r={},a=Object.keys(e).sort();for(let i of a)r[i]=e[i];return r}function e7(e,r){let a=new Set;return new Set(r),e.reduce((i,s)=>{let x=JSON.stringify(W4(s));return a.has(x)||(a.add(x),i.push({key:x,link:s})),i},[])}function gc(){let e=z.useContext(fa);return yc(e,"You must render this element inside a <DataRouterContext.Provider> element"),e}function t7(){let e=z.useContext(Ro);return yc(e,"You must render this element inside a <DataRouterStateContext.Provider> element"),e}var Bc=z.createContext(void 0);Bc.displayName="FrameworkContext";function Lo(){let e=z.useContext(Bc);return yc(e,"You must render this element inside a <HydratedRouter> element"),e}function n7(e,r){let a=z.useContext(Bc),[i,s]=z.useState(!1),[x,u]=z.useState(!1),{onFocus:f,onBlur:d,onMouseEnter:h,onMouseLeave:E,onTouchStart:p}=r,y=z.useRef(null);z.useEffect(()=>{if(e==="render"&&u(!0),e==="viewport"){let b=F=>{F.forEach(O=>{u(O.isIntersecting)})},D=new IntersectionObserver(b,{threshold:.5});return y.current&&D.observe(y.current),()=>{D.disconnect()}}},[e]),z.useEffect(()=>{if(i){let b=setTimeout(()=>{u(!0)},100);return()=>{clearTimeout(b)}}},[i]);let C=()=>{s(!0)},A=()=>{s(!1),u(!1)};return a?e!=="intent"?[x,y,{}]:[x,y,{onFocus:ul(f,C),onBlur:ul(d,A),onMouseEnter:ul(h,C),onMouseLeave:ul(E,A),onTouchStart:ul(p,C)}]:[!1,y,{}]}function ul(e,r){return a=>{e&&e(a),a.defaultPrevented||r(a)}}function r7({page:e,...r}){let a=x4(),{nonce:i}=Lo(),{router:s}=gc(),x=z.useMemo(()=>W8(s.routes,e,s.basename),[s.routes,e,s.basename]);return x?(r.nonce==null&&i&&(r={...r,nonce:i}),a?z.createElement(l7,{page:e,matches:x,...r}):z.createElement(i7,{page:e,matches:x,...r})):null}function a7(e){let{manifest:r,routeModules:a}=Lo(),[i,s]=z.useState([]);return z.useEffect(()=>{let x=!1;return K4(e,r,a).then(u=>{x||s(u)}),()=>{x=!0}},[e,r,a]),i}function l7({page:e,matches:r,...a}){let i=Fn(),{future:s}=Lo(),{basename:x}=gc(),u=z.useMemo(()=>{if(e===i.pathname+i.search+i.hash)return[];let f=E2(e,x,s.v8_trailingSlashAwareDataRequests,"rsc"),d=!1,h=[];for(let E of r)typeof E.route.shouldRevalidate=="function"?d=!0:h.push(E.route.id);return d&&h.length>0&&f.searchParams.set("_routes",h.join(",")),[f.pathname+f.search]},[x,s.v8_trailingSlashAwareDataRequests,e,i,r]);return z.createElement(z.Fragment,null,u.map(f=>z.createElement("link",{key:f,rel:"prefetch",as:"fetch",href:f,...a})))}function i7({page:e,matches:r,...a}){let i=Fn(),{future:s,manifest:x,routeModules:u}=Lo(),{basename:f}=gc(),{loaderData:d,matches:h}=t7(),E=z.useMemo(()=>gh(e,r,h,x,i,"data"),[e,r,h,x,i]),p=z.useMemo(()=>gh(e,r,h,x,i,"assets"),[e,r,h,x,i]),y=z.useMemo(()=>{if(e===i.pathname+i.search+i.hash)return[];let b=new Set,D=!1;if(r.forEach(O=>{let w=x.routes[O.route.id];!w||!w.hasLoader||(!E.some(_=>_.route.id===O.route.id)&&O.route.id in d&&u[O.route.id]?.shouldRevalidate||w.hasClientLoader?D=!0:b.add(O.route.id))}),b.size===0)return[];let F=E2(e,f,s.v8_trailingSlashAwareDataRequests,"data");return D&&b.size>0&&F.searchParams.set("_routes",r.filter(O=>b.has(O.route.id)).map(O=>O.route.id).join(",")),[F.pathname+F.search]},[f,s.v8_trailingSlashAwareDataRequests,d,i,x,E,r,e,u]),C=z.useMemo(()=>Z4(p,x),[p,x]),A=a7(p);return z.createElement(z.Fragment,null,y.map(b=>z.createElement("link",{key:b,rel:"prefetch",as:"fetch",href:b,...a})),C.map(b=>z.createElement("link",{key:b,rel:"modulepreload",href:b,...a})),A.map(({key:b,link:D})=>z.createElement("link",{key:b,nonce:a.nonce,...D,crossOrigin:D.crossOrigin??a.crossOrigin})))}function o7(...e){return r=>{e.forEach(a=>{typeof a=="function"?a(r):a!=null&&(a.current=r)})}}var s7=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";try{s7&&(window.__reactRouterVersion="7.18.1")}catch{}function x7({basename:e,children:r,useTransitions:a,window:i}){let s=z.useRef();s.current==null&&(s.current=R6({window:i,v5Compat:!0}));let x=s.current,[u,f]=z.useState({action:x.action,location:x.location}),d=z.useCallback(h=>{a===!1?f(h):z.startTransition(()=>f(h))},[a]);return z.useLayoutEffect(()=>x.listen(d),[x,d]),z.createElement(O4,{basename:e,children:r,location:u.location,navigationType:u.action,navigator:x,useTransitions:a})}var C2=z.forwardRef(function({onClick:r,discover:a="render",prefetch:i="none",relative:s,reloadDocument:x,replace:u,mask:f,state:d,target:h,to:E,preventScrollReset:p,viewTransition:y,defaultShouldRevalidate:C,...A},b){let{basename:D,navigator:F,useTransitions:O}=z.useContext(cn),w=typeof E=="string"&&hc.test(E),_=o2(E,D);E=_.to;let R=m4(E,{relative:s}),k=Fn(),T=null;if(f){let $=jo(f,[],k.mask?k.mask.pathname:"/",!0);D!=="/"&&($.pathname=$.pathname==="/"?D:_n([D,$.pathname])),T=F.createHref($)}let[S,q,L]=n7(i,A),X=d7(E,{replace:u,mask:f,state:d,target:h,preventScrollReset:p,relative:s,viewTransition:y,defaultShouldRevalidate:C,useTransitions:O});function K($){r&&r($),$.defaultPrevented||X($)}let ie=!(_.isExternal||x),Z=z.createElement("a",{...A,...L,href:(ie?T:void 0)||_.absoluteURL||R,onClick:ie?K:r,ref:o7(b,q),target:h,"data-discover":!w&&a==="render"?"true":void 0});return S&&!w?z.createElement(z.Fragment,null,Z,z.createElement(r7,{page:R})):Z});C2.displayName="Link";var u7=z.forwardRef(function({"aria-current":r="page",caseSensitive:a=!1,className:i="",end:s=!1,style:x,to:u,viewTransition:f,children:d,...h},E){let p=jl(u,{relative:h.relative}),y=Fn(),C=z.useContext(Ro),{navigator:A,basename:b}=z.useContext(cn),D=C!=null&&C7(p)&&f===!0,F=A.encodeLocation?A.encodeLocation(p).pathname:p.pathname,O=y.pathname,w=C&&C.navigation&&C.navigation.location?C.navigation.location.pathname:null;a||(O=O.toLowerCase(),w=w?w.toLowerCase():null,F=F.toLowerCase()),w&&b&&(w=f0(w,b)||w);const _=F!=="/"&&F.endsWith("/")?F.length-1:F.length;let R=O===F||!s&&O.startsWith(F)&&O.charAt(_)==="/",k=w!=null&&(w===F||!s&&w.startsWith(F)&&w.charAt(F.length)==="/"),T={isActive:R,isPending:k,isTransitioning:D},S=R?r:void 0,q;typeof i=="function"?q=i(T):q=[i,R?"active":null,k?"pending":null,D?"transitioning":null].filter(Boolean).join(" ");let L=typeof x=="function"?x(T):x;return z.createElement(C2,{...h,"aria-current":S,className:q,ref:E,style:L,to:u,viewTransition:f},typeof d=="function"?d(T):d)});u7.displayName="NavLink";var c7=z.forwardRef(({discover:e="render",fetcherKey:r,navigate:a,reloadDocument:i,replace:s,state:x,method:u=po,action:f,onSubmit:d,relative:h,preventScrollReset:E,viewTransition:p,defaultShouldRevalidate:y,...C},A)=>{let{useTransitions:b}=z.useContext(cn),D=m7(),F=E7(f,{relative:h}),O=u.toLowerCase()==="get"?"get":"post",w=typeof f=="string"&&hc.test(f),_=R=>{if(d&&d(R),R.defaultPrevented)return;R.preventDefault();let k=R.nativeEvent.submitter,T=k?.getAttribute("formmethod")||u,S=()=>D(k||R.currentTarget,{fetcherKey:r,method:T,navigate:a,replace:s,state:x,relative:h,preventScrollReset:E,viewTransition:p,defaultShouldRevalidate:y});b&&a!==!1?z.startTransition(()=>S()):S()};return z.createElement("form",{ref:A,method:O,action:F,onSubmit:i?d:_,...C,"data-discover":!w&&e==="render"?"true":void 0})});c7.displayName="Form";function f7(e){return`${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function y2(e){let r=z.useContext(fa);return rt(r,f7(e)),r}function d7(e,{target:r,replace:a,mask:i,state:s,preventScrollReset:x,relative:u,viewTransition:f,defaultShouldRevalidate:d,useTransitions:h}={}){let E=da(),p=Fn(),y=jl(e,{relative:u});return z.useCallback(C=>{if(I4(C,r)){C.preventDefault();let A=a!==void 0?a:kl(p)===kl(y),b=()=>E(e,{replace:A,mask:i,state:s,preventScrollReset:x,relative:u,viewTransition:f,defaultShouldRevalidate:d});h?z.startTransition(()=>b()):b()}},[p,E,y,a,i,s,r,e,x,u,f,d,h])}function g2(e){vn(typeof URLSearchParams<"u","You cannot use the `useSearchParams` hook in a browser that does not support the URLSearchParams API. If you need to support Internet Explorer 11, we recommend you load a polyfill such as https://github.com/ungap/url-search-params.");let r=z.useRef(Yu(e)),a=z.useRef(!1),i=Fn(),s=z.useMemo(()=>V4(i.search,a.current?null:r.current),[i.search]),x=da(),u=z.useCallback((f,d)=>{const h=Yu(typeof f=="function"?f(new URLSearchParams(s)):f);a.current=!0,x("?"+h,d)},[x,s]);return[s,u]}var h7=0,p7=()=>`__${String(++h7)}__`;function m7(){let{router:e}=y2("useSubmit"),{basename:r}=z.useContext(cn),a=N4(),i=e.fetch,s=e.navigate;return z.useCallback(async(x,u={})=>{let{action:f,method:d,encType:h,formData:E,body:p}=Q4(x,r);if(u.navigate===!1){let y=u.fetcherKey||p7();await i(y,a,u.action||f,{defaultShouldRevalidate:u.defaultShouldRevalidate,preventScrollReset:u.preventScrollReset,formData:E,body:p,formMethod:u.method||d,formEncType:u.encType||h,flushSync:u.flushSync})}else await s(u.action||f,{defaultShouldRevalidate:u.defaultShouldRevalidate,preventScrollReset:u.preventScrollReset,formData:E,body:p,formMethod:u.method||d,formEncType:u.encType||h,replace:u.replace,state:u.state,fromRouteId:a,flushSync:u.flushSync,viewTransition:u.viewTransition})},[i,s,r,a])}function E7(e,{relative:r}={}){let{basename:a}=z.useContext(cn),i=z.useContext(kn);rt(i,"useFormAction must be used inside a RouteContext");let[s]=i.matches.slice(-1),x={...jl(e||".",{relative:r})},u=Fn();if(e==null){x.search=u.search;let f=new URLSearchParams(x.search),d=f.getAll("index");if(d.some(E=>E==="")){f.delete("index"),d.filter(p=>p).forEach(p=>f.append("index",p));let E=f.toString();x.search=E?`?${E}`:""}}return(!e||e===".")&&s.route.index&&(x.search=x.search?x.search.replace(/^\?/,"?index&"):"?index"),a!=="/"&&(x.pathname=x.pathname==="/"?a:_n([a,x.pathname])),kl(x)}function C7(e,{relative:r}={}){let a=z.useContext(u2);rt(a!=null,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`. Did you accidentally import `RouterProvider` from `react-router`?");let{basename:i}=y2("useViewTransitionState"),s=jl(e,{relative:r});if(!a.isTransitioning)return!1;let x=f0(a.currentLocation.pathname,i)||a.currentLocation.pathname,u=f0(a.nextLocation.pathname,i)||a.nextLocation.pathname;return Fl(s.pathname,u)!=null||Fl(s.pathname,x)!=null}const y7="modulepreload",g7=function(e){return"/"+e},Bh={},B7=function(r,a,i){let s=Promise.resolve();if(a&&a.length>0){let h=function(E){return Promise.all(E.map(p=>Promise.resolve(p).then(y=>({status:"fulfilled",value:y}),y=>({status:"rejected",reason:y}))))};var u=h;document.getElementsByTagName("link");const f=document.querySelector("meta[property=csp-nonce]"),d=f?.nonce||f?.getAttribute("nonce");s=h(a.map(E=>{if(E=g7(E),E in Bh)return;Bh[E]=!0;const p=E.endsWith(".css"),y=p?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${E}"]${y}`))return;const C=document.createElement("link");if(C.rel=p?"stylesheet":y7,p||(C.as="script"),C.crossOrigin="",C.href=E,d&&C.setAttribute("nonce",d),document.head.appendChild(C),p)return new Promise((A,b)=>{C.addEventListener("load",A),C.addEventListener("error",()=>b(new Error(`Unable to preload CSS for ${E}`)))})}))}function x(f){const d=new Event("vite:preloadError",{cancelable:!0});if(d.payload=f,window.dispatchEvent(d),!d.defaultPrevented)throw f}return s.then(f=>{for(const d of f||[])d.status==="rejected"&&x(d.reason);return r().catch(x)})};function A7(e={}){const{immediate:r=!1,onNeedReload:a,onNeedRefresh:i,onOfflineReady:s,onRegistered:x,onRegisteredSW:u,onRegisterError:f}=e;let d,h,E;const p=async(C=!0)=>{await h,E?.()};async function y(){if("serviceWorker"in navigator){if(d=await B7(async()=>{const{Workbox:C}=await import("./workbox-window.prod.es5-BBnX5xw4.js");return{Workbox:C}},[]).then(({Workbox:C})=>new C("/sw.js",{scope:"/",type:"classic"})).catch(C=>{f?.(C)}),!d)return;E=()=>{d?.messageSkipWaiting()};{let C=!1;const A=()=>{C=!0,d?.addEventListener("controlling",b=>{b.isUpdate&&(a?a():window.location.reload())}),i?.()};d.addEventListener("installed",b=>{typeof b.isUpdate>"u"?typeof b.isExternal<"u"&&b.isExternal?A():!C&&s?.():b.isUpdate||s?.()}),d.addEventListener("waiting",A)}d.register({immediate:r}).then(C=>{u?u("/sw.js",C):x?.(C)}).catch(C=>{f?.(C)})}}return h=y(),p}function b7(e={}){const{immediate:r=!0,onNeedReload:a,onNeedRefresh:i,onOfflineReady:s,onRegistered:x,onRegisteredSW:u,onRegisterError:f}=e,[d,h]=z.useState(!1),[E,p]=z.useState(!1),[y]=z.useState(()=>A7({immediate:r,onNeedReload:a,onOfflineReady(){p(!0),s?.()},onNeedRefresh(){h(!0),i?.()},onRegistered:x,onRegisteredSW:u,onRegisterError:f}));return{needRefresh:[d,h],offlineReady:[E,p],updateServiceWorker:y}}const B2=(...e)=>e.filter((r,a,i)=>!!r&&r.trim()!==""&&i.indexOf(r)===a).join(" ").trim();const D7=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase();const v7=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(r,a,i)=>i?i.toUpperCase():a.toLowerCase());const Ah=e=>{const r=v7(e);return r.charAt(0).toUpperCase()+r.slice(1)};var k7={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};const F7=e=>{for(const r in e)if(r.startsWith("aria-")||r==="role"||r==="title")return!0;return!1};const w7=z.forwardRef(({color:e="currentColor",size:r=24,strokeWidth:a=2,absoluteStrokeWidth:i,className:s="",children:x,iconNode:u,...f},d)=>z.createElement("svg",{ref:d,...k7,width:r,height:r,stroke:e,strokeWidth:i?Number(a)*24/Number(r):a,className:B2("lucide",s),...!x&&!F7(f)&&{"aria-hidden":"true"},...f},[...u.map(([h,E])=>z.createElement(h,E)),...Array.isArray(x)?x:[x]]));const I=(e,r)=>{const a=z.forwardRef(({className:i,...s},x)=>z.createElement(w7,{ref:x,iconNode:r,className:B2(`lucide-${D7(Ah(e))}`,`lucide-${e}`,i),...s}));return a.displayName=Ah(e),a};const S7=[["path",{d:"M22 12h-2.48a2 2 0 0 0-1.93 1.46l-2.35 8.36a.25.25 0 0 1-.48 0L9.24 2.18a.25.25 0 0 0-.48 0l-2.35 8.36A2 2 0 0 1 4.49 12H2",key:"169zse"}]],M7=I("activity",S7);const N7=[["path",{d:"M12 6v16",key:"nqf5sj"}],["path",{d:"m19 13 2-1a9 9 0 0 1-18 0l2 1",key:"y7qv08"}],["path",{d:"M9 11h6",key:"1fldmi"}],["circle",{cx:"12",cy:"4",r:"2",key:"muu5ef"}]],_7=I("anchor",N7);const T7=[["path",{d:"M12 6.528V3a1 1 0 0 1 1-1h0",key:"11qiee"}],["path",{d:"M18.237 21A15 15 0 0 0 22 11a6 6 0 0 0-10-4.472A6 6 0 0 0 2 11a15.1 15.1 0 0 0 3.763 10 3 3 0 0 0 3.648.648 5.5 5.5 0 0 1 5.178 0A3 3 0 0 0 18.237 21",key:"110c12"}]],z7=I("apple",T7);const j7=[["rect",{width:"20",height:"5",x:"2",y:"3",rx:"1",key:"1wp1u1"}],["path",{d:"M4 8v11a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8",key:"1s80jp"}],["path",{d:"M10 12h4",key:"a56b0p"}]],R7=I("archive",j7);const O7=[["path",{d:"M7 7h10v10",key:"1tivn9"}],["path",{d:"M7 17 17 7",key:"1vkiza"}]],L7=I("arrow-up-right",O7);const P7=[["path",{d:"m5 12 7-7 7 7",key:"hav0vg"}],["path",{d:"M12 19V5",key:"x0mq9r"}]],U7=I("arrow-up",P7);const H7=[["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}],["path",{d:"M20.2 20.2c2.04-2.03.02-7.36-4.5-11.9-4.54-4.52-9.87-6.54-11.9-4.5-2.04 2.03-.02 7.36 4.5 11.9 4.54 4.52 9.87 6.54 11.9 4.5Z",key:"1l2ple"}],["path",{d:"M15.7 15.7c4.52-4.54 6.54-9.87 4.5-11.9-2.03-2.04-7.36-.02-11.9 4.5-4.52 4.54-6.54 9.87-4.5 11.9 2.03 2.04 7.36.02 11.9-4.5Z",key:"1wam0m"}]],q7=I("atom",H7);const I7=[["path",{d:"m15.477 12.89 1.515 8.526a.5.5 0 0 1-.81.47l-3.58-2.687a1 1 0 0 0-1.197 0l-3.586 2.686a.5.5 0 0 1-.81-.469l1.514-8.526",key:"1yiouv"}],["circle",{cx:"12",cy:"8",r:"6",key:"1vp47v"}]],V7=I("award",I7);const $7=[["rect",{width:"20",height:"12",x:"2",y:"6",rx:"2",key:"9lu3g6"}],["circle",{cx:"12",cy:"12",r:"2",key:"1c9p78"}],["path",{d:"M6 12h.01M18 12h.01",key:"113zkx"}]],G7=I("banknote",$7);const Q7=[["path",{d:"M 22 14 L 22 10",key:"nqc4tb"}],["rect",{x:"2",y:"6",width:"16",height:"12",rx:"2",key:"13zb55"}]],Y7=I("battery",Q7);const X7=[["path",{d:"M17 11h1a3 3 0 0 1 0 6h-1",key:"1yp76v"}],["path",{d:"M9 12v6",key:"1u1cab"}],["path",{d:"M13 12v6",key:"1sugkk"}],["path",{d:"M14 7.5c-1 0-1.44.5-3 .5s-2-.5-3-.5-1.72.5-2.5.5a2.5 2.5 0 0 1 0-5c.78 0 1.57.5 2.5.5S9.44 2 11 2s2 1.5 3 1.5 1.72-.5 2.5-.5a2.5 2.5 0 0 1 0 5c-.78 0-1.5-.5-2.5-.5Z",key:"1510fo"}],["path",{d:"M5 8v12a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V8",key:"19jb7n"}]],K7=I("beer",X7);const Z7=[["path",{d:"M10.268 21a2 2 0 0 0 3.464 0",key:"vwvbt9"}],["path",{d:"M3.262 15.326A1 1 0 0 0 4 17h16a1 1 0 0 0 .74-1.673C19.41 13.956 18 12.499 18 8A6 6 0 0 0 6 8c0 4.499-1.411 5.956-2.738 7.326",key:"11g9vi"}]],A2=I("bell",Z7);const J7=[["circle",{cx:"18.5",cy:"17.5",r:"3.5",key:"15x4ox"}],["circle",{cx:"5.5",cy:"17.5",r:"3.5",key:"1noe27"}],["circle",{cx:"15",cy:"5",r:"1",key:"19l28e"}],["path",{d:"M12 17.5V14l-3-3 4-3 2 3h2",key:"1npguv"}]],W7=I("bike",J7);const e3=[["path",{d:"M16 7h.01",key:"1kdx03"}],["path",{d:"M3.4 18H12a8 8 0 0 0 8-8V7a4 4 0 0 0-7.28-2.3L2 20",key:"oj1oa8"}],["path",{d:"m20 7 2 .5-2 .5",key:"12nv4d"}],["path",{d:"M10 18v3",key:"1yea0a"}],["path",{d:"M14 17.75V21",key:"1pymcb"}],["path",{d:"M7 18a6 6 0 0 0 3.84-10.61",key:"1npnn0"}]],t3=I("bird",e3);const n3=[["path",{d:"m7 7 10 10-5 5V2l5 5L7 17",key:"1q5490"}]],r3=I("bluetooth",n3);const a3=[["path",{d:"M12 7v14",key:"1akyts"}],["path",{d:"M3 18a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-6a3 3 0 0 0-3 3 3 3 0 0 0-3-3z",key:"ruj8y"}]],l3=I("book-open",a3);const i3=[["path",{d:"M4 19.5v-15A2.5 2.5 0 0 1 6.5 2H19a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1H6.5a1 1 0 0 1 0-5H20",key:"k3hazp"}]],o3=I("book",i3);const s3=[["path",{d:"M17 3a2 2 0 0 1 2 2v15a1 1 0 0 1-1.496.868l-4.512-2.578a2 2 0 0 0-1.984 0l-4.512 2.578A1 1 0 0 1 5 20V5a2 2 0 0 1 2-2z",key:"oz39mx"}]],x3=I("bookmark",s3);const u3=[["path",{d:"M12 8V4H8",key:"hb8ula"}],["rect",{width:"16",height:"12",x:"4",y:"8",rx:"2",key:"enze0r"}],["path",{d:"M2 14h2",key:"vft8re"}],["path",{d:"M20 14h2",key:"4cs60a"}],["path",{d:"M15 13v2",key:"1xurst"}],["path",{d:"M9 13v2",key:"rq6x2g"}]],c3=I("bot",u3);const f3=[["path",{d:"M21 8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16Z",key:"hh9hay"}],["path",{d:"m3.3 7 8.7 5 8.7-5",key:"g66t2b"}],["path",{d:"M12 22V12",key:"d0xqtd"}]],d3=I("box",f3);const h3=[["path",{d:"M12 18V5",key:"adv99a"}],["path",{d:"M15 13a4.17 4.17 0 0 1-3-4 4.17 4.17 0 0 1-3 4",key:"1e3is1"}],["path",{d:"M17.598 6.5A3 3 0 1 0 12 5a3 3 0 1 0-5.598 1.5",key:"1gqd8o"}],["path",{d:"M17.997 5.125a4 4 0 0 1 2.526 5.77",key:"iwvgf7"}],["path",{d:"M18 18a4 4 0 0 0 2-7.464",key:"efp6ie"}],["path",{d:"M19.967 17.483A4 4 0 1 1 12 18a4 4 0 1 1-7.967-.517",key:"1gq6am"}],["path",{d:"M6 18a4 4 0 0 1-2-7.464",key:"k1g0md"}],["path",{d:"M6.003 5.125a4 4 0 0 0-2.526 5.77",key:"q97ue3"}]],p3=I("brain",h3);const m3=[["path",{d:"M16 20V4a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v16",key:"jecpp"}],["rect",{width:"20",height:"14",x:"2",y:"6",rx:"2",key:"i6l2r4"}]],E3=I("briefcase",m3);const C3=[["path",{d:"m11 10 3 3",key:"fzmg1i"}],["path",{d:"M6.5 21A3.5 3.5 0 1 0 3 17.5a2.62 2.62 0 0 1-.708 1.792A1 1 0 0 0 3 21z",key:"p4q2r7"}],["path",{d:"M9.969 17.031 21.378 5.624a1 1 0 0 0-3.002-3.002L6.967 14.031",key:"wy6l02"}]],y3=I("brush",C3);const g3=[["path",{d:"M10 19.655A6 6 0 0 1 6 14v-3a4 4 0 0 1 4-4h4a4 4 0 0 1 4 3.97",key:"1gnv52"}],["path",{d:"M14 15.003a1 1 0 0 1 1.517-.859l4.997 2.997a1 1 0 0 1 0 1.718l-4.997 2.997a1 1 0 0 1-1.517-.86z",key:"1weqy9"}],["path",{d:"M14.12 3.88 16 2",key:"qol33r"}],["path",{d:"M21 5a4 4 0 0 1-3.55 3.97",key:"5cxbf6"}],["path",{d:"M3 21a4 4 0 0 1 3.81-4",key:"1fjd4g"}],["path",{d:"M3 5a4 4 0 0 0 3.55 3.97",key:"1d7oge"}],["path",{d:"M6 13H2",key:"82j7cp"}],["path",{d:"m8 2 1.88 1.88",key:"fmnt4t"}],["path",{d:"M9 7.13V6a3 3 0 1 1 6 0v1.13",key:"1vgav8"}]],B3=I("bug-play",g3);const A3=[["path",{d:"M12 20v-9",key:"1qisl0"}],["path",{d:"M14 7a4 4 0 0 1 4 4v3a6 6 0 0 1-12 0v-3a4 4 0 0 1 4-4z",key:"uouzyp"}],["path",{d:"M14.12 3.88 16 2",key:"qol33r"}],["path",{d:"M21 21a4 4 0 0 0-3.81-4",key:"1b0z45"}],["path",{d:"M21 5a4 4 0 0 1-3.55 3.97",key:"5cxbf6"}],["path",{d:"M22 13h-4",key:"1jl80f"}],["path",{d:"M3 21a4 4 0 0 1 3.81-4",key:"1fjd4g"}],["path",{d:"M3 5a4 4 0 0 0 3.55 3.97",key:"1d7oge"}],["path",{d:"M6 13H2",key:"82j7cp"}],["path",{d:"m8 2 1.88 1.88",key:"fmnt4t"}],["path",{d:"M9 7.13V6a3 3 0 1 1 6 0v1.13",key:"1vgav8"}]],b3=I("bug",A3);const D3=[["path",{d:"M10 12h4",key:"a56b0p"}],["path",{d:"M10 8h4",key:"1sr2af"}],["path",{d:"M14 21v-3a2 2 0 0 0-4 0v3",key:"1rgiei"}],["path",{d:"M6 10H4a2 2 0 0 0-2 2v7a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2h-2",key:"secmi2"}],["path",{d:"M6 21V5a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v16",key:"16ra0t"}]],v3=I("building-2",D3);const k3=[["path",{d:"M12 10h.01",key:"1nrarc"}],["path",{d:"M12 14h.01",key:"1etili"}],["path",{d:"M12 6h.01",key:"1vi96p"}],["path",{d:"M16 10h.01",key:"1m94wz"}],["path",{d:"M16 14h.01",key:"1gbofw"}],["path",{d:"M16 6h.01",key:"1x0f13"}],["path",{d:"M8 10h.01",key:"19clt8"}],["path",{d:"M8 14h.01",key:"6423bh"}],["path",{d:"M8 6h.01",key:"1dz90k"}],["path",{d:"M9 22v-3a1 1 0 0 1 1-1h4a1 1 0 0 1 1 1v3",key:"cabbwy"}],["rect",{x:"4",y:"2",width:"16",height:"20",rx:"2",key:"1uxh74"}]],F3=I("building",k3);const w3=[["path",{d:"M20 21v-8a2 2 0 0 0-2-2H6a2 2 0 0 0-2 2v8",key:"1w3rig"}],["path",{d:"M4 16s.5-1 2-1 2.5 2 4 2 2.5-2 4-2 2.5 2 4 2 2-1 2-1",key:"n2jgmb"}],["path",{d:"M2 21h20",key:"1nyx9w"}],["path",{d:"M7 8v3",key:"1qtyvj"}],["path",{d:"M12 8v3",key:"hwp4zt"}],["path",{d:"M17 8v3",key:"1i6e5u"}],["path",{d:"M7 4h.01",key:"1bh4kh"}],["path",{d:"M12 4h.01",key:"1ujb9j"}],["path",{d:"M17 4h.01",key:"1upcoc"}]],S3=I("cake",w3);const M3=[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M3 10h18",key:"8toen8"}]],N3=I("calendar",M3);const _3=[["path",{d:"M13.997 4a2 2 0 0 1 1.76 1.05l.486.9A2 2 0 0 0 18.003 7H20a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V9a2 2 0 0 1 2-2h1.997a2 2 0 0 0 1.759-1.048l.489-.904A2 2 0 0 1 10.004 4z",key:"18u6gg"}],["circle",{cx:"12",cy:"13",r:"3",key:"1vg3eu"}]],T3=I("camera",_3);const z3=[["path",{d:"M19 17h2c.6 0 1-.4 1-1v-3c0-.9-.7-1.7-1.5-1.9C18.7 10.6 16 10 16 10s-1.3-1.4-2.2-2.3c-.5-.4-1.1-.7-1.8-.7H5c-.6 0-1.1.4-1.4.9l-1.4 2.9A3.7 3.7 0 0 0 2 12v4c0 .6.4 1 1 1h2",key:"5owen"}],["circle",{cx:"7",cy:"17",r:"2",key:"u2ysq9"}],["path",{d:"M9 17h6",key:"r8uit2"}],["circle",{cx:"17",cy:"17",r:"2",key:"axvx0g"}]],j3=I("car",z3);const R3=[["path",{d:"M2.27 21.7s9.87-3.5 12.73-6.36a4.5 4.5 0 0 0-6.36-6.37C5.77 11.84 2.27 21.7 2.27 21.7zM8.64 14l-2.05-2.04M15.34 15l-2.46-2.46",key:"rfqxbe"}],["path",{d:"M22 9s-1.33-2-3.5-2C16.86 7 15 9 15 9s1.33 2 3.5 2S22 9 22 9z",key:"6b25w4"}],["path",{d:"M15 2s-2 1.33-2 3.5S15 9 15 9s2-1.84 2-3.5C17 3.33 15 2 15 2z",key:"fn65lo"}]],O3=I("carrot",R3);const L3=[["path",{d:"M12 5c.67 0 1.35.09 2 .26 1.78-2 5.03-2.84 6.42-2.26 1.4.58-.42 7-.42 7 .57 1.07 1 2.24 1 3.44C21 17.9 16.97 21 12 21s-9-3-9-7.56c0-1.25.5-2.4 1-3.44 0 0-1.89-6.42-.5-7 1.39-.58 4.72.23 6.5 2.23A9.04 9.04 0 0 1 12 5Z",key:"x6xyqk"}],["path",{d:"M8 14v.5",key:"1nzgdb"}],["path",{d:"M16 14v.5",key:"1lajdz"}],["path",{d:"M11.25 16.25h1.5L12 17l-.75-.75Z",key:"12kq1m"}]],P3=I("cat",L3);const U3=[["path",{d:"M3 3v16a2 2 0 0 0 2 2h16",key:"c24i48"}],["path",{d:"M7 16h8",key:"srdodz"}],["path",{d:"M7 11h12",key:"127s9w"}],["path",{d:"M7 6h3",key:"w9rmul"}]],H3=I("chart-bar",U3);const q3=[["path",{d:"M3 3v16a2 2 0 0 0 2 2h16",key:"c24i48"}],["path",{d:"m19 9-5 5-4-4-3 3",key:"2osh9i"}]],I3=I("chart-line",q3);const V3=[["path",{d:"M21 12c.552 0 1.005-.449.95-.998a10 10 0 0 0-8.953-8.951c-.55-.055-.998.398-.998.95v8a1 1 0 0 0 1 1z",key:"pzmjnu"}],["path",{d:"M21.21 15.89A10 10 0 1 1 8 2.83",key:"k2fpak"}]],$3=I("chart-pie",V3);const G3=[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]],pr=I("check",G3);const Q3=[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]],Po=I("chevron-down",Q3);const Y3=[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]],X3=I("chevron-up",Y3);const K3=[["path",{d:"M20.2 6 3 11l-.9-2.4c-.3-1.1.3-2.2 1.3-2.5l13.5-4c1.1-.3 2.2.3 2.5 1.3Z",key:"1tn4o7"}],["path",{d:"m6.2 5.3 3.1 3.9",key:"iuk76l"}],["path",{d:"m12.4 3.4 3.1 4",key:"6hsd6n"}],["path",{d:"M3 11h18v8a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2Z",key:"ltgou9"}]],Z3=I("clapperboard",K3);const J3=[["path",{d:"M12 6v6l4 2",key:"mmk7yg"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]],W3=I("clock",J3);const eC=[["path",{d:"M10.94 5.274A7 7 0 0 1 15.71 10h1.79a4.5 4.5 0 0 1 4.222 6.057",key:"1uxyv8"}],["path",{d:"M18.796 18.81A4.5 4.5 0 0 1 17.5 19H9A7 7 0 0 1 5.79 5.78",key:"99tcn7"}],["path",{d:"m2 2 20 20",key:"1ooewy"}]],tC=I("cloud-off",eC);const nC=[["path",{d:"M12 13v8",key:"1l5pq0"}],["path",{d:"M4 14.899A7 7 0 1 1 15.71 8h1.79a4.5 4.5 0 0 1 2.5 8.242",key:"1pljnt"}],["path",{d:"m8 17 4-4 4 4",key:"1quai1"}]],rC=I("cloud-upload",nC);const aC=[["path",{d:"M17.5 19H9a7 7 0 1 1 6.71-9h1.79a4.5 4.5 0 1 1 0 9Z",key:"p7xjir"}]],lC=I("cloud",aC);const iC=[["path",{d:"m18 16 4-4-4-4",key:"1inbqp"}],["path",{d:"m6 8-4 4 4 4",key:"15zrgr"}],["path",{d:"m14.5 4-5 16",key:"e7oirm"}]],oC=I("code-xml",iC);const sC=[["path",{d:"m16 18 6-6-6-6",key:"eg8j8"}],["path",{d:"m8 6-6 6 6 6",key:"ppft3o"}]],xC=I("code",sC);const uC=[["path",{d:"M10 2v2",key:"7u0qdc"}],["path",{d:"M14 2v2",key:"6buw04"}],["path",{d:"M16 8a1 1 0 0 1 1 1v8a4 4 0 0 1-4 4H7a4 4 0 0 1-4-4V9a1 1 0 0 1 1-1h14a4 4 0 1 1 0 8h-1",key:"pwadti"}],["path",{d:"M6 2v2",key:"colzsn"}]],cC=I("coffee",uC);const fC=[["path",{d:"M11 10.27 7 3.34",key:"16pf9h"}],["path",{d:"m11 13.73-4 6.93",key:"794ttg"}],["path",{d:"M12 22v-2",key:"1osdcq"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M14 12h8",key:"4f43i9"}],["path",{d:"m17 20.66-1-1.73",key:"eq3orb"}],["path",{d:"m17 3.34-1 1.73",key:"2wel8s"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"m20.66 17-1.73-1",key:"sg0v6f"}],["path",{d:"m20.66 7-1.73 1",key:"1ow05n"}],["path",{d:"m3.34 17 1.73-1",key:"nuk764"}],["path",{d:"m3.34 7 1.73 1",key:"1ulond"}],["circle",{cx:"12",cy:"12",r:"2",key:"1c9p78"}],["circle",{cx:"12",cy:"12",r:"8",key:"46899m"}]],dC=I("cog",fC);const hC=[["path",{d:"m16.24 7.76-1.804 5.411a2 2 0 0 1-1.265 1.265L7.76 16.24l1.804-5.411a2 2 0 0 1 1.265-1.265z",key:"9ktpf1"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]],pC=I("compass",hC);const mC=[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]],b2=I("copy",mC);const EC=[["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M17 20v2",key:"1rnc9c"}],["path",{d:"M17 2v2",key:"11trls"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M2 17h2",key:"7oei6x"}],["path",{d:"M2 7h2",key:"asdhe0"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"M20 17h2",key:"1fpfkl"}],["path",{d:"M20 7h2",key:"1o8tra"}],["path",{d:"M7 20v2",key:"4gnj0m"}],["path",{d:"M7 2v2",key:"1i4yhu"}],["rect",{x:"4",y:"4",width:"16",height:"16",rx:"2",key:"1vbyd7"}],["rect",{x:"8",y:"8",width:"8",height:"8",rx:"1",key:"z9xiuo"}]],CC=I("cpu",EC);const yC=[["rect",{width:"20",height:"14",x:"2",y:"5",rx:"2",key:"ynyp8z"}],["line",{x1:"2",x2:"22",y1:"10",y2:"10",key:"1b3vmo"}]],gC=I("credit-card",yC);const BC=[["path",{d:"M11.562 3.266a.5.5 0 0 1 .876 0L15.39 8.87a1 1 0 0 0 1.516.294L21.183 5.5a.5.5 0 0 1 .798.519l-2.834 10.246a1 1 0 0 1-.956.734H5.81a1 1 0 0 1-.957-.734L2.02 6.02a.5.5 0 0 1 .798-.519l4.276 3.664a1 1 0 0 0 1.516-.294z",key:"1vdc57"}],["path",{d:"M5 21h14",key:"11awu3"}]],AC=I("crown",BC);const bC=[["ellipse",{cx:"12",cy:"5",rx:"9",ry:"3",key:"msslwz"}],["path",{d:"M3 5V19A9 3 0 0 0 21 19V5",key:"1wlel7"}],["path",{d:"M3 12A9 3 0 0 0 21 12",key:"mv7ke4"}]],DC=I("database",bC);const vC=[["path",{d:"m10 16 1.5 1.5",key:"11lckj"}],["path",{d:"m14 8-1.5-1.5",key:"1ohn8i"}],["path",{d:"M15 2c-1.798 1.998-2.518 3.995-2.807 5.993",key:"80uv8i"}],["path",{d:"m16.5 10.5 1 1",key:"696xn5"}],["path",{d:"m17 6-2.891-2.891",key:"xu6p2f"}],["path",{d:"M2 15c6.667-6 13.333 0 20-6",key:"1pyr53"}],["path",{d:"m20 9 .891.891",key:"3xwk7g"}],["path",{d:"M3.109 14.109 4 15",key:"q76aoh"}],["path",{d:"m6.5 12.5 1 1",key:"cs35ky"}],["path",{d:"m7 18 2.891 2.891",key:"1sisit"}],["path",{d:"M9 22c1.798-1.998 2.518-3.995 2.807-5.993",key:"q3hbxp"}]],kC=I("dna",vC);const FC=[["path",{d:"M11.25 16.25h1.5L12 17z",key:"w7jh35"}],["path",{d:"M16 14v.5",key:"1lajdz"}],["path",{d:"M4.42 11.247A13.152 13.152 0 0 0 4 14.556C4 18.728 7.582 21 12 21s8-2.272 8-6.444a11.702 11.702 0 0 0-.493-3.309",key:"u7s9ue"}],["path",{d:"M8 14v.5",key:"1nzgdb"}],["path",{d:"M8.5 8.5c-.384 1.05-1.083 2.028-2.344 2.5-1.931.722-3.576-.297-3.656-1-.113-.994 1.177-6.53 4-7 1.923-.321 3.651.845 3.651 2.235A7.497 7.497 0 0 1 14 5.277c0-1.39 1.844-2.598 3.767-2.277 2.823.47 4.113 6.006 4 7-.08.703-1.725 1.722-3.656 1-1.261-.472-1.855-1.45-2.239-2.5",key:"v8hric"}]],wC=I("dog",FC);const SC=[["line",{x1:"12",x2:"12",y1:"2",y2:"22",key:"7eqyqh"}],["path",{d:"M17 5H9.5a3.5 3.5 0 0 0 0 7h5a3.5 3.5 0 0 1 0 7H6",key:"1b0p4s"}]],MC=I("dollar-sign",SC);const NC=[["path",{d:"M17.596 12.768a2 2 0 1 0 2.829-2.829l-1.768-1.767a2 2 0 0 0 2.828-2.829l-2.828-2.828a2 2 0 0 0-2.829 2.828l-1.767-1.768a2 2 0 1 0-2.829 2.829z",key:"9m4mmf"}],["path",{d:"m2.5 21.5 1.4-1.4",key:"17g3f0"}],["path",{d:"m20.1 3.9 1.4-1.4",key:"1qn309"}],["path",{d:"M5.343 21.485a2 2 0 1 0 2.829-2.828l1.767 1.768a2 2 0 1 0 2.829-2.829l-6.364-6.364a2 2 0 1 0-2.829 2.829l1.768 1.767a2 2 0 0 0-2.828 2.829z",key:"1t2c92"}],["path",{d:"m9.6 14.4 4.8-4.8",key:"6umqxw"}]],_C=I("dumbbell",NC);const TC=[["path",{d:"M12 2C8 2 4 8 4 14a8 8 0 0 0 16 0c0-6-4-12-8-12",key:"1le142"}]],zC=I("egg",TC);const jC=[["path",{d:"M12 16h.01",key:"1drbdi"}],["path",{d:"M16 16h.01",key:"1f9h7w"}],["path",{d:"M3 19a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V8.5a.5.5 0 0 0-.769-.422l-4.462 2.844A.5.5 0 0 1 15 10.5v-2a.5.5 0 0 0-.769-.422L9.77 10.922A.5.5 0 0 1 9 10.5V5a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2z",key:"1iv0i2"}],["path",{d:"M8 16h.01",key:"18s6g9"}]],RC=I("factory",jC);const OC=[["path",{d:"M12.67 19a2 2 0 0 0 1.416-.588l6.154-6.172a6 6 0 0 0-8.49-8.49L5.586 9.914A2 2 0 0 0 5 11.328V18a1 1 0 0 0 1 1z",key:"18jl4k"}],["path",{d:"M16 8 2 22",key:"vp34q"}],["path",{d:"M17.5 15H9",key:"1oz8nu"}]],LC=I("feather",OC);const PC=[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"M10 12.5 8 15l2 2.5",key:"1tg20x"}],["path",{d:"m14 12.5 2 2.5-2 2.5",key:"yinavb"}]],UC=I("file-code",PC);const HC=[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M9 10h6",key:"9gxzsh"}],["path",{d:"M12 13V7",key:"h0r20n"}],["path",{d:"M9 17h6",key:"r8uit2"}]],qC=I("file-diff",HC);const IC=[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}]],VC=I("file",IC);const $C=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M7 3v18",key:"bbkbws"}],["path",{d:"M3 7.5h4",key:"zfgn84"}],["path",{d:"M3 12h18",key:"1i2n21"}],["path",{d:"M3 16.5h4",key:"1230mu"}],["path",{d:"M17 3v18",key:"in4fa5"}],["path",{d:"M17 7.5h4",key:"myr1c1"}],["path",{d:"M17 16.5h4",key:"go4c1d"}]],GC=I("film",$C);const QC=[["path",{d:"M6.5 12c.94-3.46 4.94-6 8.5-6 3.56 0 6.06 2.54 7 6-.94 3.47-3.44 6-7 6s-7.56-2.53-8.5-6Z",key:"15baut"}],["path",{d:"M18 12v.5",key:"18hhni"}],["path",{d:"M16 17.93a9.77 9.77 0 0 1 0-11.86",key:"16dt7o"}],["path",{d:"M7 10.67C7 8 5.58 5.97 2.73 5.5c-1 1.5-1 5 .23 6.5-1.24 1.5-1.24 5-.23 6.5C5.58 18.03 7 16 7 13.33",key:"l9di03"}],["path",{d:"M10.46 7.26C10.2 5.88 9.17 4.24 8 3h5.8a2 2 0 0 1 1.98 1.67l.23 1.4",key:"1kjonw"}],["path",{d:"m16.01 17.93-.23 1.4A2 2 0 0 1 13.8 21H9.5a5.96 5.96 0 0 0 1.49-3.98",key:"1zlm23"}]],YC=I("fish",QC);const XC=[["path",{d:"M4 22V4a1 1 0 0 1 .4-.8A6 6 0 0 1 8 2c3 0 5 2 7.333 2q2 0 3.067-.8A1 1 0 0 1 20 4v10a1 1 0 0 1-.4.8A6 6 0 0 1 16 16c-3 0-5-2-8-2a6 6 0 0 0-4 1.528",key:"1jaruq"}]],KC=I("flag",XC);const ZC=[["path",{d:"M12 3q1 4 4 6.5t3 5.5a1 1 0 0 1-14 0 5 5 0 0 1 1-3 1 1 0 0 0 5 0c0-2-1.5-3-1.5-5q0-2 2.5-4",key:"1slcih"}]],JC=I("flame",ZC);const WC=[["path",{d:"M14 2v6a2 2 0 0 0 .245.96l5.51 10.08A2 2 0 0 1 18 22H6a2 2 0 0 1-1.755-2.96l5.51-10.08A2 2 0 0 0 10 8V2",key:"18mbvz"}],["path",{d:"M6.453 15h11.094",key:"3shlmq"}],["path",{d:"M8.5 2h7",key:"csnxdl"}]],ey=I("flask-conical",WC);const ty=[["path",{d:"M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z",key:"1kt360"}]],ny=I("folder",ty);const ry=[["line",{x1:"6",x2:"10",y1:"11",y2:"11",key:"1gktln"}],["line",{x1:"8",x2:"8",y1:"9",y2:"13",key:"qnk9ow"}],["line",{x1:"15",x2:"15.01",y1:"12",y2:"12",key:"krot7o"}],["line",{x1:"18",x2:"18.01",y1:"10",y2:"10",key:"1lcuu1"}],["path",{d:"M17.32 5H6.68a4 4 0 0 0-3.978 3.59c-.006.052-.01.101-.017.152C2.604 9.416 2 14.456 2 16a3 3 0 0 0 3 3c1 0 1.5-.5 2-1l1.414-1.414A2 2 0 0 1 9.828 16h4.344a2 2 0 0 1 1.414.586L17 18c.5.5 1 1 2 1a3 3 0 0 0 3-3c0-1.545-.604-6.584-.685-7.258-.007-.05-.011-.1-.017-.151A4 4 0 0 0 17.32 5z",key:"mfqc10"}]],ay=I("gamepad-2",ry);const ly=[["path",{d:"M10.5 3 8 9l4 13 4-13-2.5-6",key:"b3dvk1"}],["path",{d:"M17 3a2 2 0 0 1 1.6.8l3 4a2 2 0 0 1 .013 2.382l-7.99 10.986a2 2 0 0 1-3.247 0l-7.99-10.986A2 2 0 0 1 2.4 7.8l2.998-3.997A2 2 0 0 1 7 3z",key:"7w4byz"}],["path",{d:"M2 9h20",key:"16fsjt"}]],iy=I("gem",ly);const oy=[["rect",{x:"3",y:"8",width:"18",height:"4",rx:"1",key:"bkv52"}],["path",{d:"M12 8v13",key:"1c76mn"}],["path",{d:"M19 12v7a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2v-7",key:"6wjy6b"}],["path",{d:"M7.5 8a2.5 2.5 0 0 1 0-5A4.8 8 0 0 1 12 8a4.8 8 0 0 1 4.5-5 2.5 2.5 0 0 1 0 5",key:"1ihvrl"}]],sy=I("gift",oy);const xy=[["line",{x1:"6",x2:"6",y1:"3",y2:"15",key:"17qcm7"}],["circle",{cx:"18",cy:"6",r:"3",key:"1h7g24"}],["circle",{cx:"6",cy:"18",r:"3",key:"fqmcym"}],["path",{d:"M18 9a9 9 0 0 1-9 9",key:"n2h4wq"}]],uy=I("git-branch",xy);const cy=[["circle",{cx:"18",cy:"18",r:"3",key:"1xkwt0"}],["circle",{cx:"6",cy:"6",r:"3",key:"1lh9wr"}],["path",{d:"M6 21V9a9 9 0 0 0 9 9",key:"7kw0sc"}]],D2=I("git-merge",cy);const fy=[["path",{d:"M15 22v-4a4.8 4.8 0 0 0-1-3.5c3 0 6-2 6-5.5.08-1.25-.27-2.48-1-3.5.28-1.15.28-2.35 0-3.5 0 0-1 0-3 1.5-2.64-.5-5.36-.5-8 0C6 2 5 2 5 2c-.3 1.15-.3 2.35 0 3.5A5.403 5.403 0 0 0 4 9c0 3.5 3 5.5 6 5.5-.39.49-.68 1.05-.85 1.65-.17.6-.22 1.23-.15 1.85v4",key:"tonef"}],["path",{d:"M9 18c-4.51 2-5-2-7-2",key:"9comsn"}]],dy=I("github",fy);const hy=[["circle",{cx:"6",cy:"15",r:"4",key:"vux9w4"}],["circle",{cx:"18",cy:"15",r:"4",key:"18o8ve"}],["path",{d:"M14 15a2 2 0 0 0-2-2 2 2 0 0 0-2 2",key:"1ag4bs"}],["path",{d:"M2.5 13 5 7c.7-1.3 1.4-2 3-2",key:"1hm1gs"}],["path",{d:"M21.5 13 19 7c-.7-1.3-1.5-2-3-2",key:"1r31ai"}]],py=I("glasses",hy);const my=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20",key:"13o1zl"}],["path",{d:"M2 12h20",key:"9i4pu4"}]],Ey=I("globe",my);const Cy=[["path",{d:"M21.42 10.922a1 1 0 0 0-.019-1.838L12.83 5.18a2 2 0 0 0-1.66 0L2.6 9.08a1 1 0 0 0 0 1.832l8.57 3.908a2 2 0 0 0 1.66 0z",key:"j76jl0"}],["path",{d:"M22 10v6",key:"1lu8f3"}],["path",{d:"M6 12.5V16a6 3 0 0 0 12 0v-3.5",key:"1r8lef"}]],yy=I("graduation-cap",Cy);const gy=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M3 9h18",key:"1pudct"}],["path",{d:"M3 15h18",key:"5xshup"}],["path",{d:"M9 3v18",key:"fh3hqa"}],["path",{d:"M15 3v18",key:"14nvp0"}]],By=I("grid-3x3",gy);const Ay=[["path",{d:"m15 12-9.373 9.373a1 1 0 0 1-3.001-3L12 9",key:"1hayfq"}],["path",{d:"m18 15 4-4",key:"16gjal"}],["path",{d:"m21.5 11.5-1.914-1.914A2 2 0 0 1 19 8.172v-.344a2 2 0 0 0-.586-1.414l-1.657-1.657A6 6 0 0 0 12.516 3H9l1.243 1.243A6 6 0 0 1 12 8.485V10l2 2h1.172a2 2 0 0 1 1.414.586L18.5 14.5",key:"15ts47"}]],by=I("hammer",Ay);const Dy=[["path",{d:"M3 14h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-7a9 9 0 0 1 18 0v7a2 2 0 0 1-2 2h-1a2 2 0 0 1-2-2v-3a2 2 0 0 1 2-2h3",key:"1xhozi"}]],vy=I("headphones",Dy);const ky=[["path",{d:"M2 9.5a5.5 5.5 0 0 1 9.591-3.676.56.56 0 0 0 .818 0A5.49 5.49 0 0 1 22 9.5c0 2.29-1.5 4-3 5.5l-5.492 5.313a2 2 0 0 1-3 .019L5 15c-1.5-1.5-3-3.2-3-5.5",key:"mvr1a0"}],["path",{d:"M3.22 13H9.5l.5-1 2 4.5 2-7 1.5 3.5h5.27",key:"auskq0"}]],Fy=I("heart-pulse",ky);const wy=[["path",{d:"M2 9.5a5.5 5.5 0 0 1 9.591-3.676.56.56 0 0 0 .818 0A5.49 5.49 0 0 1 22 9.5c0 2.29-1.5 4-3 5.5l-5.492 5.313a2 2 0 0 1-3 .019L5 15c-1.5-1.5-3-3.2-3-5.5",key:"mvr1a0"}]],Sy=I("heart",wy);const My=[["path",{d:"M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8",key:"5wwlr5"}],["path",{d:"M3 10a2 2 0 0 1 .709-1.528l7-6a2 2 0 0 1 2.582 0l7 6A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z",key:"r6nss1"}]],Ny=I("house",My);const _y=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",ry:"2",key:"1m3agn"}],["circle",{cx:"9",cy:"9",r:"2",key:"af1f0g"}],["path",{d:"m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21",key:"1xmnt7"}]],Ty=I("image",_y);const zy=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]],jy=I("info",zy);const Ry=[["path",{d:"m15.5 7.5 2.3 2.3a1 1 0 0 0 1.4 0l2.1-2.1a1 1 0 0 0 0-1.4L19 4",key:"g0fldk"}],["path",{d:"m21 2-9.6 9.6",key:"1j0ho8"}],["circle",{cx:"7.5",cy:"15.5",r:"5.5",key:"yqb3hr"}]],Oy=I("key",Ry);const Ly=[["path",{d:"M18 5a2 2 0 0 1 2 2v8.526a2 2 0 0 0 .212.897l1.068 2.127a1 1 0 0 1-.9 1.45H3.62a1 1 0 0 1-.9-1.45l1.068-2.127A2 2 0 0 0 4 15.526V7a2 2 0 0 1 2-2z",key:"1pdavp"}],["path",{d:"M20.054 15.987H3.946",key:"14rxg9"}]],Py=I("laptop",Ly);const Uy=[["path",{d:"M12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83z",key:"zw3jo"}],["path",{d:"M2 12a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 12",key:"1wduqc"}],["path",{d:"M2 17a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 17",key:"kqbvx6"}]],Hy=I("layers",Uy);const qy=[["rect",{width:"7",height:"7",x:"3",y:"3",rx:"1",key:"1g98yp"}],["rect",{width:"7",height:"7",x:"14",y:"3",rx:"1",key:"6d4xhi"}],["rect",{width:"7",height:"7",x:"14",y:"14",rx:"1",key:"nxv5o0"}],["rect",{width:"7",height:"7",x:"3",y:"14",rx:"1",key:"1bb6yr"}]],Iy=I("layout-grid",qy);const Vy=[["path",{d:"M11 20A7 7 0 0 1 9.8 6.1C15.5 5 17 4.48 19 2c1 2 2 4.18 2 8 0 5.5-4.78 10-10 10Z",key:"nnexq3"}],["path",{d:"M2 21c0-3 1.85-5.36 5.08-6C9.5 14.52 12 13 13 12",key:"mt58a7"}]],$y=I("leaf",Vy);const Gy=[["path",{d:"M15 14c.2-1 .7-1.7 1.5-2.5 1-.9 1.5-2.2 1.5-3.5A6 6 0 0 0 6 8c0 1 .2 2.2 1.5 3.5.7.7 1.3 1.5 1.5 2.5",key:"1gvzjb"}],["path",{d:"M9 18h6",key:"x1upvd"}],["path",{d:"M10 22h4",key:"ceow96"}]],Qy=I("lightbulb",Gy);const Yy=[["path",{d:"M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71",key:"1cjeqo"}],["path",{d:"M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71",key:"19qd67"}]],Xy=I("link",Yy);const Ky=[["path",{d:"M3 5h.01",key:"18ugdj"}],["path",{d:"M3 12h.01",key:"nlz23k"}],["path",{d:"M3 19h.01",key:"noohij"}],["path",{d:"M8 5h13",key:"1pao27"}],["path",{d:"M8 12h13",key:"1za7za"}],["path",{d:"M8 19h13",key:"m83p4d"}]],Zy=I("list",Ky);const Jy=[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]],Ac=I("loader-circle",Jy);const Wy=[["rect",{width:"18",height:"11",x:"3",y:"11",rx:"2",ry:"2",key:"1w4ew1"}],["path",{d:"M7 11V7a5 5 0 0 1 10 0v4",key:"fwvmzm"}]],eg=I("lock",Wy);const tg=[["path",{d:"m16 17 5-5-5-5",key:"1bji2h"}],["path",{d:"M21 12H9",key:"dn1m92"}],["path",{d:"M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4",key:"1uf3rs"}]],ng=I("log-out",tg);const rg=[["path",{d:"m22 7-8.991 5.727a2 2 0 0 1-2.009 0L2 7",key:"132q7q"}],["rect",{x:"2",y:"4",width:"20",height:"16",rx:"2",key:"izxlao"}]],ag=I("mail",rg);const lg=[["path",{d:"M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0",key:"1r0f0z"}],["circle",{cx:"12",cy:"10",r:"3",key:"ilqhr7"}]],ig=I("map-pin",lg);const og=[["path",{d:"M14.106 5.553a2 2 0 0 0 1.788 0l3.659-1.83A1 1 0 0 1 21 4.619v12.764a1 1 0 0 1-.553.894l-4.553 2.277a2 2 0 0 1-1.788 0l-4.212-2.106a2 2 0 0 0-1.788 0l-3.659 1.83A1 1 0 0 1 3 19.381V6.618a1 1 0 0 1 .553-.894l4.553-2.277a2 2 0 0 1 1.788 0z",key:"169xi5"}],["path",{d:"M15 5.764v15",key:"1pn4in"}],["path",{d:"M9 3.236v15",key:"1uimfh"}]],sg=I("map",og);const xg=[["path",{d:"M8 22h8",key:"rmew8v"}],["path",{d:"M12 11v11",key:"ur9y6a"}],["path",{d:"m19 3-7 8-7-8Z",key:"1sgpiw"}]],ug=I("martini",xg);const cg=[["path",{d:"M7.21 15 2.66 7.14a2 2 0 0 1 .13-2.2L4.4 2.8A2 2 0 0 1 6 2h12a2 2 0 0 1 1.6.8l1.6 2.14a2 2 0 0 1 .14 2.2L16.79 15",key:"143lza"}],["path",{d:"M11 12 5.12 2.2",key:"qhuxz6"}],["path",{d:"m13 12 5.88-9.8",key:"hbye0f"}],["path",{d:"M8 7h8",key:"i86dvs"}],["circle",{cx:"12",cy:"17",r:"5",key:"qbz8iq"}],["path",{d:"M12 18v-2h-.5",key:"fawc4q"}]],fg=I("medal",cg);const dg=[["path",{d:"M2.992 16.342a2 2 0 0 1 .094 1.167l-1.065 3.29a1 1 0 0 0 1.236 1.168l3.413-.998a2 2 0 0 1 1.099.092 10 10 0 1 0-4.777-4.719",key:"1sd12s"}]],hg=I("message-circle",dg);const pg=[["path",{d:"M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z",key:"18887p"}]],mg=I("message-square",pg);const Eg=[["path",{d:"M12 19v3",key:"npa21l"}],["path",{d:"M19 10v2a7 7 0 0 1-14 0v-2",key:"1vc78b"}],["rect",{x:"9",y:"2",width:"6",height:"13",rx:"3",key:"s6n7sd"}]],Cg=I("mic",Eg);const yg=[["path",{d:"M6 18h8",key:"1borvv"}],["path",{d:"M3 22h18",key:"8prr45"}],["path",{d:"M14 22a7 7 0 1 0 0-14h-1",key:"1jwaiy"}],["path",{d:"M9 14h2",key:"197e7h"}],["path",{d:"M9 12a2 2 0 0 1-2-2V6h6v4a2 2 0 0 1-2 2Z",key:"1bmzmy"}],["path",{d:"M12 6V3a1 1 0 0 0-1-1H9a1 1 0 0 0-1 1v3",key:"1drr47"}]],gg=I("microscope",yg);const Bg=[["rect",{width:"20",height:"14",x:"2",y:"3",rx:"2",key:"48i651"}],["line",{x1:"8",x2:"16",y1:"21",y2:"21",key:"1svkeh"}],["line",{x1:"12",x2:"12",y1:"17",y2:"21",key:"vw1qmm"}]],Ag=I("monitor",Bg);const bg=[["path",{d:"M20.985 12.486a9 9 0 1 1-9.473-9.472c.405-.022.617.46.402.803a6 6 0 0 0 8.268 8.268c.344-.215.825-.004.803.401",key:"kfwtm"}]],Dg=I("moon",bg);const vg=[["path",{d:"M9 18V5l12-2v13",key:"1jmyc2"}],["circle",{cx:"6",cy:"18",r:"3",key:"fqmcym"}],["circle",{cx:"18",cy:"16",r:"3",key:"1hluhg"}]],kg=I("music",vg);const Fg=[["path",{d:"M20.341 6.484A10 10 0 0 1 10.266 21.85",key:"1enhxb"}],["path",{d:"M3.659 17.516A10 10 0 0 1 13.74 2.152",key:"1crzgf"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}],["circle",{cx:"19",cy:"5",r:"2",key:"mhkx31"}],["circle",{cx:"5",cy:"19",r:"2",key:"v8kfzx"}]],wg=I("orbit",Fg);const Sg=[["path",{d:"M11 21.73a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73z",key:"1a0edw"}],["path",{d:"M12 22V12",key:"d0xqtd"}],["polyline",{points:"3.29 7 12 12 20.71 7",key:"ousv84"}],["path",{d:"m7.5 4.27 9 5.15",key:"1c824w"}]],Mg=I("package",Sg);const Ng=[["path",{d:"m14.622 17.897-10.68-2.913",key:"vj2p1u"}],["path",{d:"M18.376 2.622a1 1 0 1 1 3.002 3.002L17.36 9.643a.5.5 0 0 0 0 .707l.944.944a2.41 2.41 0 0 1 0 3.408l-.944.944a.5.5 0 0 1-.707 0L8.354 7.348a.5.5 0 0 1 0-.707l.944-.944a2.41 2.41 0 0 1 3.408 0l.944.944a.5.5 0 0 0 .707 0z",key:"18tc5c"}],["path",{d:"M9 8c-1.804 2.71-3.97 3.46-6.583 3.948a.507.507 0 0 0-.302.819l7.32 8.883a1 1 0 0 0 1.185.204C12.735 20.405 16 16.792 16 15",key:"ytzfxy"}]],_g=I("paintbrush",Ng);const Tg=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M9 3v18",key:"fh3hqa"}]],zg=I("panel-left",Tg);const jg=[["path",{d:"m16 6-8.414 8.586a2 2 0 0 0 2.829 2.829l8.414-8.586a4 4 0 1 0-5.657-5.657l-8.379 8.551a6 6 0 1 0 8.485 8.485l8.379-8.551",key:"1miecu"}]],Rg=I("paperclip",jg);const Og=[["circle",{cx:"11",cy:"4",r:"2",key:"vol9p0"}],["circle",{cx:"18",cy:"8",r:"2",key:"17gozi"}],["circle",{cx:"20",cy:"16",r:"2",key:"1v9bxh"}],["path",{d:"M9 10a5 5 0 0 1 5 5v3.5a3.5 3.5 0 0 1-6.84 1.045Q6.52 17.48 4.46 16.84A3.5 3.5 0 0 1 5.5 10Z",key:"1ydw1z"}]],Lg=I("paw-print",Og);const Pg=[["path",{d:"M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z",key:"1a8usu"}]],Ug=I("pen",Pg);const Hg=[["path",{d:"M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z",key:"1a8usu"}],["path",{d:"m15 5 4 4",key:"1mk7zo"}]],qg=I("pencil",Hg);const Ig=[["path",{d:"M13.832 16.568a1 1 0 0 0 1.213-.303l.355-.465A2 2 0 0 1 17 15h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2A18 18 0 0 1 2 4a2 2 0 0 1 2-2h3a2 2 0 0 1 2 2v3a2 2 0 0 1-.8 1.6l-.468.351a1 1 0 0 0-.292 1.233 14 14 0 0 0 6.392 6.384",key:"9njp5v"}]],Vg=I("phone",Ig);const $g=[["path",{d:"m10.5 20.5 10-10a4.95 4.95 0 1 0-7-7l-10 10a4.95 4.95 0 1 0 7 7Z",key:"wa1lgi"}],["path",{d:"m8.5 8.5 7 7",key:"rvfmvr"}]],Gg=I("pill",$g);const Qg=[["path",{d:"m12 9-8.414 8.414A2 2 0 0 0 3 18.828v1.344a2 2 0 0 1-.586 1.414A2 2 0 0 1 3.828 21h1.344a2 2 0 0 0 1.414-.586L15 12",key:"1y3wsu"}],["path",{d:"m18 9 .4.4a1 1 0 1 1-3 3l-3.8-3.8a1 1 0 1 1 3-3l.4.4 3.4-3.4a1 1 0 1 1 3 3z",key:"110lr1"}],["path",{d:"m2 22 .414-.414",key:"jhxm08"}]],Yg=I("pipette",Qg);const Xg=[["path",{d:"m12 14-1 1",key:"11onhr"}],["path",{d:"m13.75 18.25-1.25 1.42",key:"1yisr3"}],["path",{d:"M17.775 5.654a15.68 15.68 0 0 0-12.121 12.12",key:"1qtqk6"}],["path",{d:"M18.8 9.3a1 1 0 0 0 2.1 7.7",key:"fbbbr2"}],["path",{d:"M21.964 20.732a1 1 0 0 1-1.232 1.232l-18-5a1 1 0 0 1-.695-1.232A19.68 19.68 0 0 1 15.732 2.037a1 1 0 0 1 1.232.695z",key:"1hyfdd"}]],Kg=I("pizza",Xg);const Zg=[["path",{d:"M17.8 19.2 16 11l3.5-3.5C21 6 21.5 4 21 3c-1-.5-3 0-4.5 1.5L13 8 4.8 6.2c-.5-.1-.9.1-1.1.5l-.3.5c-.2.5-.1 1 .3 1.3L9 12l-2 3H4l-1 1 3 2 2 3 1-1v-3l3-2 3.5 5.3c.3.4.8.5 1.3.3l.5-.2c.4-.3.6-.7.5-1.2z",key:"1v9wt8"}]],Jg=I("plane",Zg);const Wg=[["path",{d:"M12 22v-5",key:"1ega77"}],["path",{d:"M15 8V2",key:"18g5xt"}],["path",{d:"M17 8a1 1 0 0 1 1 1v4a4 4 0 0 1-4 4h-4a4 4 0 0 1-4-4V9a1 1 0 0 1 1-1z",key:"1xoxul"}],["path",{d:"M9 8V2",key:"14iosj"}]],eB=I("plug",Wg);const tB=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]],v2=I("plus",tB);const nB=[["path",{d:"M12 2v10",key:"mnfbl"}],["path",{d:"M18.4 6.6a9 9 0 1 1-12.77.04",key:"obofu9"}]],rB=I("power",nB);const aB=[["path",{d:"M15.39 4.39a1 1 0 0 0 1.68-.474 2.5 2.5 0 1 1 3.014 3.015 1 1 0 0 0-.474 1.68l1.683 1.682a2.414 2.414 0 0 1 0 3.414L19.61 15.39a1 1 0 0 1-1.68-.474 2.5 2.5 0 1 0-3.014 3.015 1 1 0 0 1 .474 1.68l-1.683 1.682a2.414 2.414 0 0 1-3.414 0L8.61 19.61a1 1 0 0 0-1.68.474 2.5 2.5 0 1 1-3.014-3.015 1 1 0 0 0 .474-1.68l-1.683-1.682a2.414 2.414 0 0 1 0-3.414L4.39 8.61a1 1 0 0 1 1.68.474 2.5 2.5 0 1 0 3.014-3.015 1 1 0 0 1-.474-1.68l1.683-1.682a2.414 2.414 0 0 1 3.414 0z",key:"w46dr5"}]],lB=I("puzzle",aB);const iB=[["rect",{width:"5",height:"5",x:"3",y:"3",rx:"1",key:"1tu5fj"}],["rect",{width:"5",height:"5",x:"16",y:"3",rx:"1",key:"1v8r4q"}],["rect",{width:"5",height:"5",x:"3",y:"16",rx:"1",key:"1x03jg"}],["path",{d:"M21 16h-3a2 2 0 0 0-2 2v3",key:"177gqh"}],["path",{d:"M21 21v.01",key:"ents32"}],["path",{d:"M12 7v3a2 2 0 0 1-2 2H7",key:"8crl2c"}],["path",{d:"M3 12h.01",key:"nlz23k"}],["path",{d:"M12 3h.01",key:"n36tog"}],["path",{d:"M12 16v.01",key:"133mhm"}],["path",{d:"M16 12h1",key:"1slzba"}],["path",{d:"M21 12v.01",key:"1lwtk9"}],["path",{d:"M12 21v-1",key:"1880an"}]],k2=I("qr-code",iB);const oB=[["path",{d:"M13 16a3 3 0 0 1 2.24 5",key:"1epib5"}],["path",{d:"M18 12h.01",key:"yjnet6"}],["path",{d:"M18 21h-8a4 4 0 0 1-4-4 7 7 0 0 1 7-7h.2L9.6 6.4a1 1 0 1 1 2.8-2.8L15.8 7h.2c3.3 0 6 2.7 6 6v1a2 2 0 0 1-2 2h-1a3 3 0 0 0-3 3",key:"ue9ozu"}],["path",{d:"M20 8.54V4a2 2 0 1 0-4 0v3",key:"49iql8"}],["path",{d:"M7.612 12.524a3 3 0 1 0-1.6 4.3",key:"1e33i0"}]],sB=I("rabbit",oB);const xB=[["path",{d:"M16.247 7.761a6 6 0 0 1 0 8.478",key:"1fwjs5"}],["path",{d:"M19.075 4.933a10 10 0 0 1 0 14.134",key:"ehdyv1"}],["path",{d:"M4.925 19.067a10 10 0 0 1 0-14.134",key:"1q22gi"}],["path",{d:"M7.753 16.239a6 6 0 0 1 0-8.478",key:"r2q7qm"}],["circle",{cx:"12",cy:"12",r:"2",key:"1c9p78"}]],uB=I("radio",xB);const cB=[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]],bc=I("refresh-cw",cB);const fB=[["path",{d:"M4.5 16.5c-1.5 1.26-2 5-2 5s3.74-.5 5-2c.71-.84.7-2.13-.09-2.91a2.18 2.18 0 0 0-2.91-.09z",key:"m3kijz"}],["path",{d:"m12 15-3-3a22 22 0 0 1 2-3.95A12.88 12.88 0 0 1 22 2c0 2.72-.78 7.5-6 11a22.35 22.35 0 0 1-4 2z",key:"1fmvmk"}],["path",{d:"M9 12H4s.55-3.03 2-4c1.62-1.08 5 0 5 0",key:"1f8sc4"}],["path",{d:"M12 15v5s3.03-.55 4-2c1.08-1.62 0-5 0-5",key:"qeys4"}]],dB=I("rocket",fB);const hB=[["path",{d:"M7 21h10",key:"1b0cd5"}],["path",{d:"M12 21a9 9 0 0 0 9-9H3a9 9 0 0 0 9 9Z",key:"4rw317"}],["path",{d:"M11.38 12a2.4 2.4 0 0 1-.4-4.77 2.4 2.4 0 0 1 3.2-2.77 2.4 2.4 0 0 1 3.47-.63 2.4 2.4 0 0 1 3.37 3.37 2.4 2.4 0 0 1-1.1 3.7 2.51 2.51 0 0 1 .03 1.1",key:"10xrj0"}],["path",{d:"m13 12 4-4",key:"1hckqy"}],["path",{d:"M10.9 7.25A3.99 3.99 0 0 0 4 10c0 .73.2 1.41.54 2",key:"1p4srx"}]],pB=I("salad",hB);const mB=[["path",{d:"M21.3 15.3a2.4 2.4 0 0 1 0 3.4l-2.6 2.6a2.4 2.4 0 0 1-3.4 0L2.7 8.7a2.41 2.41 0 0 1 0-3.4l2.6-2.6a2.41 2.41 0 0 1 3.4 0Z",key:"icamh8"}],["path",{d:"m14.5 12.5 2-2",key:"inckbg"}],["path",{d:"m11.5 9.5 2-2",key:"fmmyf7"}],["path",{d:"m8.5 6.5 2-2",key:"vc6u1g"}],["path",{d:"m17.5 15.5 2-2",key:"wo5hmg"}]],EB=I("ruler",mB);const CB=[["path",{d:"m13.5 6.5-3.148-3.148a1.205 1.205 0 0 0-1.704 0L6.352 5.648a1.205 1.205 0 0 0 0 1.704L9.5 10.5",key:"dzhfyz"}],["path",{d:"M16.5 7.5 19 5",key:"1ltcjm"}],["path",{d:"m17.5 10.5 3.148 3.148a1.205 1.205 0 0 1 0 1.704l-2.296 2.296a1.205 1.205 0 0 1-1.704 0L13.5 14.5",key:"nfoymv"}],["path",{d:"M9 21a6 6 0 0 0-6-6",key:"1iajcf"}],["path",{d:"M9.352 10.648a1.205 1.205 0 0 0 0 1.704l2.296 2.296a1.205 1.205 0 0 0 1.704 0l4.296-4.296a1.205 1.205 0 0 0 0-1.704l-2.296-2.296a1.205 1.205 0 0 0-1.704 0z",key:"nv9zqy"}]],yB=I("satellite",CB);const gB=[["circle",{cx:"6",cy:"6",r:"3",key:"1lh9wr"}],["path",{d:"M8.12 8.12 12 12",key:"1alkpv"}],["path",{d:"M20 4 8.12 15.88",key:"xgtan2"}],["circle",{cx:"6",cy:"18",r:"3",key:"fqmcym"}],["path",{d:"M14.8 14.8 20 20",key:"ptml3r"}]],BB=I("scissors",gB);const AB=[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]],F2=I("search",AB);const bB=[["rect",{width:"20",height:"8",x:"2",y:"2",rx:"2",ry:"2",key:"ngkwjq"}],["rect",{width:"20",height:"8",x:"2",y:"14",rx:"2",ry:"2",key:"iecqi9"}],["line",{x1:"6",x2:"6.01",y1:"6",y2:"6",key:"16zg32"}],["line",{x1:"6",x2:"6.01",y1:"18",y2:"18",key:"nzw8ys"}]],DB=I("server",bB);const vB=[["path",{d:"M9.671 4.136a2.34 2.34 0 0 1 4.659 0 2.34 2.34 0 0 0 3.319 1.915 2.34 2.34 0 0 1 2.33 4.033 2.34 2.34 0 0 0 0 3.831 2.34 2.34 0 0 1-2.33 4.033 2.34 2.34 0 0 0-3.319 1.915 2.34 2.34 0 0 1-4.659 0 2.34 2.34 0 0 0-3.32-1.915 2.34 2.34 0 0 1-2.33-4.033 2.34 2.34 0 0 0 0-3.831A2.34 2.34 0 0 1 6.35 6.051a2.34 2.34 0 0 0 3.319-1.915",key:"1i5ecw"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]],kB=I("settings",vB);const FB=[["path",{d:"M14 11a2 2 0 1 1-4 0 4 4 0 0 1 8 0 6 6 0 0 1-12 0 8 8 0 0 1 16 0 10 10 0 1 1-20 0 11.93 11.93 0 0 1 2.42-7.22 2 2 0 1 1 3.16 2.44",key:"1cn552"}]],wB=I("shell",FB);const SB=[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}]],MB=I("shield",SB);const NB=[["path",{d:"M12 10.189V14",key:"1p8cqu"}],["path",{d:"M12 2v3",key:"qbqxhf"}],["path",{d:"M19 13V7a2 2 0 0 0-2-2H7a2 2 0 0 0-2 2v6",key:"qpkstq"}],["path",{d:"M19.38 20A11.6 11.6 0 0 0 21 14l-8.188-3.639a2 2 0 0 0-1.624 0L3 14a11.6 11.6 0 0 0 2.81 7.76",key:"7tigtc"}],["path",{d:"M2 21c.6.5 1.2 1 2.5 1 2.5 0 2.5-2 5-2 1.3 0 1.9.5 2.5 1s1.2 1 2.5 1c2.5 0 2.5-2 5-2 1.3 0 1.9.5 2.5 1",key:"1924j5"}]],_B=I("ship",NB);const TB=[["path",{d:"M16 10a4 4 0 0 1-8 0",key:"1ltviw"}],["path",{d:"M3.103 6.034h17.794",key:"awc11p"}],["path",{d:"M3.4 5.467a2 2 0 0 0-.4 1.2V20a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V6.667a2 2 0 0 0-.4-1.2l-2-2.667A2 2 0 0 0 17 2H7a2 2 0 0 0-1.6.8z",key:"o988cm"}]],zB=I("shopping-bag",TB);const jB=[["circle",{cx:"8",cy:"21",r:"1",key:"jimo8o"}],["circle",{cx:"19",cy:"21",r:"1",key:"13723u"}],["path",{d:"M2.05 2.05h2l2.66 12.42a2 2 0 0 0 2 1.58h9.78a2 2 0 0 0 1.95-1.57l1.65-7.43H5.12",key:"9zh506"}]],RB=I("shopping-cart",jB);const OB=[["path",{d:"M10 5H3",key:"1qgfaw"}],["path",{d:"M12 19H3",key:"yhmn1j"}],["path",{d:"M14 3v4",key:"1sua03"}],["path",{d:"M16 17v4",key:"1q0r14"}],["path",{d:"M21 12h-9",key:"1o4lsq"}],["path",{d:"M21 19h-5",key:"1rlt1p"}],["path",{d:"M21 5h-7",key:"1oszz2"}],["path",{d:"M8 10v4",key:"tgpxqk"}],["path",{d:"M8 12H3",key:"a7s4jb"}]],LB=I("sliders-horizontal",OB);const PB=[["rect",{width:"14",height:"20",x:"5",y:"2",rx:"2",ry:"2",key:"1yt0o3"}],["path",{d:"M12 18h.01",key:"mhygvu"}]],UB=I("smartphone",PB);const HB=[["path",{d:"M2 13a6 6 0 1 0 12 0 4 4 0 1 0-8 0 2 2 0 0 0 4 0",key:"hneq2s"}],["circle",{cx:"10",cy:"13",r:"8",key:"194lz3"}],["path",{d:"M2 21h12c4.4 0 8-3.6 8-8V7a2 2 0 1 0-4 0v6",key:"ixqyt7"}],["path",{d:"M18 3 19.1 5.2",key:"9tjm43"}],["path",{d:"M22 3 20.9 5.2",key:"j3odrs"}]],qB=I("snail",HB);const IB=[["path",{d:"M12 21a9 9 0 0 0 9-9H3a9 9 0 0 0 9 9Z",key:"4rw317"}],["path",{d:"M7 21h10",key:"1b0cd5"}],["path",{d:"M19.5 12 22 6",key:"shfsr5"}],["path",{d:"M16.25 3c.27.1.8.53.75 1.36-.06.83-.93 1.2-1 2.02-.05.78.34 1.24.73 1.62",key:"rpc6vp"}],["path",{d:"M11.25 3c.27.1.8.53.74 1.36-.05.83-.93 1.2-.98 2.02-.06.78.33 1.24.72 1.62",key:"1lf63m"}],["path",{d:"M6.25 3c.27.1.8.53.75 1.36-.06.83-.93 1.2-1 2.02-.05.78.34 1.24.74 1.62",key:"97tijn"}]],VB=I("soup",IB);const $B=[["path",{d:"M11.017 2.814a1 1 0 0 1 1.966 0l1.051 5.558a2 2 0 0 0 1.594 1.594l5.558 1.051a1 1 0 0 1 0 1.966l-5.558 1.051a2 2 0 0 0-1.594 1.594l-1.051 5.558a1 1 0 0 1-1.966 0l-1.051-5.558a2 2 0 0 0-1.594-1.594l-5.558-1.051a1 1 0 0 1 0-1.966l5.558-1.051a2 2 0 0 0 1.594-1.594z",key:"1s2grr"}],["path",{d:"M20 2v4",key:"1rf3ol"}],["path",{d:"M22 4h-4",key:"gwowj6"}],["circle",{cx:"4",cy:"20",r:"2",key:"6kqj1y"}]],GB=I("sparkles",$B);const QB=[["path",{d:"M14 9.536V7a4 4 0 0 1 4-4h1.5a.5.5 0 0 1 .5.5V5a4 4 0 0 1-4 4 4 4 0 0 0-4 4c0 2 1 3 1 5a5 5 0 0 1-1 3",key:"139s4v"}],["path",{d:"M4 9a5 5 0 0 1 8 4 5 5 0 0 1-8-4",key:"1dlkgp"}],["path",{d:"M5 21h14",key:"11awu3"}]],YB=I("sprout",QB);const XB=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}]],KB=I("square",XB);const ZB=[["path",{d:"M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z",key:"r04s7s"}]],JB=I("star",ZB);const WB=[["path",{d:"M11 2v2",key:"1539x4"}],["path",{d:"M5 2v2",key:"1yf1q8"}],["path",{d:"M5 3H4a2 2 0 0 0-2 2v4a6 6 0 0 0 12 0V5a2 2 0 0 0-2-2h-1",key:"rb5t3r"}],["path",{d:"M8 15a6 6 0 0 0 12 0v-3",key:"x18d4x"}],["circle",{cx:"20",cy:"10",r:"2",key:"ts1r5v"}]],eA=I("stethoscope",WB);const tA=[["path",{d:"M15 21v-5a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v5",key:"slp6dd"}],["path",{d:"M17.774 10.31a1.12 1.12 0 0 0-1.549 0 2.5 2.5 0 0 1-3.451 0 1.12 1.12 0 0 0-1.548 0 2.5 2.5 0 0 1-3.452 0 1.12 1.12 0 0 0-1.549 0 2.5 2.5 0 0 1-3.77-3.248l2.889-4.184A2 2 0 0 1 7 2h10a2 2 0 0 1 1.653.873l2.895 4.192a2.5 2.5 0 0 1-3.774 3.244",key:"o0xfot"}],["path",{d:"M4 10.95V19a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-8.05",key:"wn3emo"}]],nA=I("store",tA);const rA=[["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"m4.93 4.93 1.41 1.41",key:"149t6j"}],["path",{d:"m17.66 17.66 1.41 1.41",key:"ptbguv"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"m6.34 17.66-1.41 1.41",key:"1m8zz5"}],["path",{d:"m19.07 4.93-1.41 1.41",key:"1shlcs"}]],w2=I("sun",rA);const aA=[["path",{d:"M12.586 2.586A2 2 0 0 0 11.172 2H4a2 2 0 0 0-2 2v7.172a2 2 0 0 0 .586 1.414l8.704 8.704a2.426 2.426 0 0 0 3.42 0l6.58-6.58a2.426 2.426 0 0 0 0-3.42z",key:"vktsd0"}],["circle",{cx:"7.5",cy:"7.5",r:".5",fill:"currentColor",key:"kqv944"}]],lA=I("tag",aA);const iA=[["path",{d:"M13.172 2a2 2 0 0 1 1.414.586l6.71 6.71a2.4 2.4 0 0 1 0 3.408l-4.592 4.592a2.4 2.4 0 0 1-3.408 0l-6.71-6.71A2 2 0 0 1 6 9.172V3a1 1 0 0 1 1-1z",key:"16rjxf"}],["path",{d:"M2 7v6.172a2 2 0 0 0 .586 1.414l6.71 6.71a2.4 2.4 0 0 0 3.191.193",key:"178nd4"}],["circle",{cx:"10.5",cy:"6.5",r:".5",fill:"currentColor",key:"12ikhr"}]],oA=I("tags",iA);const sA=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["circle",{cx:"12",cy:"12",r:"6",key:"1vlfrh"}],["circle",{cx:"12",cy:"12",r:"2",key:"1c9p78"}]],xA=I("target",sA);const uA=[["path",{d:"m10.065 12.493-6.18 1.318a.934.934 0 0 1-1.108-.702l-.537-2.15a1.07 1.07 0 0 1 .691-1.265l13.504-4.44",key:"k4qptu"}],["path",{d:"m13.56 11.747 4.332-.924",key:"19l80z"}],["path",{d:"m16 21-3.105-6.21",key:"7oh9d"}],["path",{d:"M16.485 5.94a2 2 0 0 1 1.455-2.425l1.09-.272a1 1 0 0 1 1.212.727l1.515 6.06a1 1 0 0 1-.727 1.213l-1.09.272a2 2 0 0 1-2.425-1.455z",key:"m7xp4m"}],["path",{d:"m6.158 8.633 1.114 4.456",key:"74o979"}],["path",{d:"m8 21 3.105-6.21",key:"1fvxut"}],["circle",{cx:"12",cy:"13",r:"2",key:"1c1ljs"}]],cA=I("telescope",uA);const fA=[["path",{d:"M12 19h8",key:"baeox8"}],["path",{d:"m4 17 6-6-6-6",key:"1yngyt"}]],dA=I("terminal",fA);const hA=[["path",{d:"M2 9a3 3 0 0 1 0 6v2a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-2a3 3 0 0 1 0-6V7a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2Z",key:"qn84l0"}],["path",{d:"M13 5v2",key:"dyzc3o"}],["path",{d:"M13 17v2",key:"1ont0d"}],["path",{d:"M13 11v2",key:"1wjjxi"}]],pA=I("ticket",hA);const mA=[["path",{d:"M8 3.1V7a4 4 0 0 0 8 0V3.1",key:"1v71zp"}],["path",{d:"m9 15-1-1",key:"1yrq24"}],["path",{d:"m15 15 1-1",key:"1t0d6s"}],["path",{d:"M9 19c-2.8 0-5-2.2-5-5v-4a8 8 0 0 1 16 0v4c0 2.8-2.2 5-5 5Z",key:"1p0hjs"}],["path",{d:"m8 19-2 3",key:"13i0xs"}],["path",{d:"m16 19 2 3",key:"xo31yx"}]],EA=I("train-front",mA);const CA=[["path",{d:"m17 14 3 3.3a1 1 0 0 1-.7 1.7H4.7a1 1 0 0 1-.7-1.7L7 14h-.3a1 1 0 0 1-.7-1.7L9 9h-.2A1 1 0 0 1 8 7.3L12 3l4 4.3a1 1 0 0 1-.8 1.7H15l3 3.3a1 1 0 0 1-.7 1.7H17Z",key:"cpyugq"}],["path",{d:"M12 22v-3",key:"kmzjlo"}]],yA=I("tree-pine",CA);const gA=[["path",{d:"M16 7h6v6",key:"box55l"}],["path",{d:"m22 7-8.5 8.5-5-5L2 17",key:"1t1m79"}]],BA=I("trending-up",gA);const AA=[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]],Dc=I("triangle-alert",AA);const bA=[["path",{d:"M10 14.66v1.626a2 2 0 0 1-.976 1.696A5 5 0 0 0 7 21.978",key:"1n3hpd"}],["path",{d:"M14 14.66v1.626a2 2 0 0 0 .976 1.696A5 5 0 0 1 17 21.978",key:"rfe1zi"}],["path",{d:"M18 9h1.5a1 1 0 0 0 0-5H18",key:"7xy6bh"}],["path",{d:"M4 22h16",key:"57wxv0"}],["path",{d:"M6 9a6 6 0 0 0 12 0V3a1 1 0 0 0-1-1H7a1 1 0 0 0-1 1z",key:"1mhfuq"}],["path",{d:"M6 9H4.5a1 1 0 0 1 0-5H6",key:"tex48p"}]],DA=I("trophy",bA);const vA=[["path",{d:"m12 10 2 4v3a1 1 0 0 0 1 1h2a1 1 0 0 0 1-1v-3a8 8 0 1 0-16 0v3a1 1 0 0 0 1 1h2a1 1 0 0 0 1-1v-3l2-4h4Z",key:"1lbbv7"}],["path",{d:"M4.82 7.9 8 10",key:"m9wose"}],["path",{d:"M15.18 7.9 12 10",key:"p8dp2u"}],["path",{d:"M16.93 10H20a2 2 0 0 1 0 4H2",key:"12nsm7"}]],kA=I("turtle",vA);const FA=[["path",{d:"M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2",key:"975kel"}],["circle",{cx:"12",cy:"7",r:"4",key:"17ys0d"}]],wA=I("user",FA);const SA=[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["path",{d:"M16 3.128a4 4 0 0 1 0 7.744",key:"16gr8j"}],["path",{d:"M22 21v-2a4 4 0 0 0-3-3.87",key:"kshegd"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}]],MA=I("users",SA);const NA=[["path",{d:"M3 2v7c0 1.1.9 2 2 2h4a2 2 0 0 0 2-2V2",key:"cjf0a3"}],["path",{d:"M7 2v20",key:"1473qp"}],["path",{d:"M21 15V2a5 5 0 0 0-5 5v6c0 1.1.9 2 2 2h3Zm0 0v7",key:"j28e5"}]],_A=I("utensils",NA);const TA=[["path",{d:"m16 13 5.223 3.482a.5.5 0 0 0 .777-.416V7.87a.5.5 0 0 0-.752-.432L16 10.5",key:"ftymec"}],["rect",{x:"2",y:"6",width:"14",height:"12",rx:"2",key:"158x01"}]],zA=I("video",TA);const jA=[["path",{d:"M19 7V4a1 1 0 0 0-1-1H5a2 2 0 0 0 0 4h15a1 1 0 0 1 1 1v4h-3a2 2 0 0 0 0 4h3a1 1 0 0 0 1-1v-2a1 1 0 0 0-1-1",key:"18etb6"}],["path",{d:"M3 5v14a2 2 0 0 0 2 2h15a1 1 0 0 0 1-1v-4",key:"xoc0q4"}]],RA=I("wallet",jA);const OA=[["path",{d:"m21.64 3.64-1.28-1.28a1.21 1.21 0 0 0-1.72 0L2.36 18.64a1.21 1.21 0 0 0 0 1.72l1.28 1.28a1.2 1.2 0 0 0 1.72 0L21.64 5.36a1.2 1.2 0 0 0 0-1.72",key:"ul74o6"}],["path",{d:"m14 7 3 3",key:"1r5n42"}],["path",{d:"M5 6v4",key:"ilb8ba"}],["path",{d:"M19 14v4",key:"blhpug"}],["path",{d:"M10 2v2",key:"7u0qdc"}],["path",{d:"M7 8H3",key:"zfb6yr"}],["path",{d:"M21 16h-4",key:"1cnmox"}],["path",{d:"M11 3H9",key:"1obp7u"}]],bh=I("wand-sparkles",OA);const LA=[["path",{d:"M18 21V10a1 1 0 0 0-1-1H7a1 1 0 0 0-1 1v11",key:"pb2vm6"}],["path",{d:"M22 19a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V8a2 2 0 0 1 1.132-1.803l7.95-3.974a2 2 0 0 1 1.837 0l7.948 3.974A2 2 0 0 1 22 8z",key:"doq5xv"}],["path",{d:"M6 13h12",key:"yf64js"}],["path",{d:"M6 17h12",key:"1jwigz"}]],PA=I("warehouse",LA);const UA=[["path",{d:"M2 22 16 8",key:"60hf96"}],["path",{d:"M3.47 12.53 5 11l1.53 1.53a3.5 3.5 0 0 1 0 4.94L5 19l-1.53-1.53a3.5 3.5 0 0 1 0-4.94Z",key:"1rdhi6"}],["path",{d:"M7.47 8.53 9 7l1.53 1.53a3.5 3.5 0 0 1 0 4.94L9 15l-1.53-1.53a3.5 3.5 0 0 1 0-4.94Z",key:"1sdzmb"}],["path",{d:"M11.47 4.53 13 3l1.53 1.53a3.5 3.5 0 0 1 0 4.94L13 11l-1.53-1.53a3.5 3.5 0 0 1 0-4.94Z",key:"eoatbi"}],["path",{d:"M20 2h2v2a4 4 0 0 1-4 4h-2V6a4 4 0 0 1 4-4Z",key:"19rau1"}],["path",{d:"M11.47 17.47 13 19l-1.53 1.53a3.5 3.5 0 0 1-4.94 0L5 19l1.53-1.53a3.5 3.5 0 0 1 4.94 0Z",key:"tc8ph9"}],["path",{d:"M15.47 13.47 17 15l-1.53 1.53a3.5 3.5 0 0 1-4.94 0L9 15l1.53-1.53a3.5 3.5 0 0 1 4.94 0Z",key:"2m8kc5"}],["path",{d:"M19.47 9.47 21 11l-1.53 1.53a3.5 3.5 0 0 1-4.94 0L13 11l1.53-1.53a3.5 3.5 0 0 1 4.94 0Z",key:"vex3ng"}]],HA=I("wheat",UA);const qA=[["path",{d:"M12 20h.01",key:"zekei9"}],["path",{d:"M8.5 16.429a5 5 0 0 1 7 0",key:"1bycff"}],["path",{d:"M5 12.859a10 10 0 0 1 5.17-2.69",key:"1dl1wf"}],["path",{d:"M19 12.859a10 10 0 0 0-2.007-1.523",key:"4k23kn"}],["path",{d:"M2 8.82a15 15 0 0 1 4.177-2.643",key:"1grhjp"}],["path",{d:"M22 8.82a15 15 0 0 0-11.288-3.764",key:"z3jwby"}],["path",{d:"m2 2 20 20",key:"1ooewy"}]],vc=I("wifi-off",qA);const IA=[["path",{d:"M12 20h.01",key:"zekei9"}],["path",{d:"M2 8.82a15 15 0 0 1 20 0",key:"dnpr2z"}],["path",{d:"M5 12.859a10 10 0 0 1 14 0",key:"1x1e6c"}],["path",{d:"M8.5 16.429a5 5 0 0 1 7 0",key:"1bycff"}]],S2=I("wifi",IA);const VA=[["path",{d:"M8 22h8",key:"rmew8v"}],["path",{d:"M7 10h10",key:"1101jm"}],["path",{d:"M12 15v7",key:"t2xh3l"}],["path",{d:"M12 15a5 5 0 0 0 5-5c0-2-.5-4-2-8H9c-1.5 4-2 6-2 8a5 5 0 0 0 5 5Z",key:"10ffi3"}]],$A=I("wine",VA);const GA=[["path",{d:"M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.106-3.105c.32-.322.863-.22.983.218a6 6 0 0 1-8.259 7.057l-7.91 7.91a1 1 0 0 1-2.999-3l7.91-7.91a6 6 0 0 1 7.057-8.259c.438.12.54.662.219.984z",key:"1ngwbx"}]],QA=I("wrench",GA);const YA=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],yr=I("x",YA);const XA=[["path",{d:"M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z",key:"1xq2db"}]],M2=I("zap",XA);function Dh(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function on(e,r){return{method:e,pattern:r,path:()=>r}}function Rt(e,r){const[a,i]=r.split(/:[a-zA-Z]+/);if(i===void 0)throw new Error(`route ${r} declares no :param`);return{method:e,pattern:r,path:s=>`${a}${encodeURIComponent(s)}${i}`,re:new RegExp(`^${Dh(a)}([^/]+)${Dh(i)}$`)}}const we={state:on("GET","/api/state"),search:on("GET","/api/search"),repos:on("GET","/api/repos"),repoIcon:Rt("GET","/api/repos/:repo/icon"),logs:on("GET","/api/logs"),settings:on("GET","/api/settings"),updateSettings:on("PATCH","/api/settings"),armNoSleep:on("POST","/api/nosleep"),disarmNoSleep:on("DELETE","/api/nosleep"),push:on("GET","/api/push"),pushSubscribe:on("POST","/api/push/subscribe"),pushUnsubscribe:on("POST","/api/push/unsubscribe"),pushTest:on("POST","/api/push/test"),createWorkspace:on("POST","/api/workspaces"),workspace:Rt("GET","/api/workspaces/:workspaceId"),sessions:Rt("GET","/api/workspaces/:workspaceId/sessions"),newChat:Rt("POST","/api/workspaces/:workspaceId/sessions"),diff:Rt("GET","/api/workspaces/:workspaceId/diff"),merge:Rt("POST","/api/workspaces/:workspaceId/merge"),workspaceStatus:Rt("POST","/api/workspaces/:workspaceId/status"),dismissFirstPrompt:Rt("DELETE","/api/workspaces/:workspaceId/prompt"),messages:Rt("GET","/api/sessions/:sessionId/messages"),models:Rt("GET","/api/sessions/:sessionId/models"),agent:Rt("POST","/api/sessions/:sessionId/agent"),stop:Rt("POST","/api/sessions/:sessionId/stop"),sendPrompt:Rt("POST","/api/sessions/:sessionId/prompt"),splitChat:Rt("POST","/api/sessions/:sessionId/split"),dismissParkedPrompt:Rt("DELETE","/api/sessions/:sessionId/prompt")},wl="conductor-remote-token";function KA(){const r=new URLSearchParams(location.hash.slice(1)).get("token");return r&&(localStorage.setItem(wl,r),history.replaceState(null,"",location.pathname+location.search)),localStorage.getItem(wl)}function N2(){return localStorage.getItem(wl)}function ZA(){localStorage.removeItem(wl)}function JA(e){localStorage.setItem(wl,e)}function WA(e){const r=e.trim();if(!r)return null;const a=r.match(/token=([^&\s]+)/);return a?decodeURIComponent(a[1]):/\s/.test(r)?null:r}class mr extends Error{constructor(r,a){super(r),this.status=a}status}const _2=6e3,Un=45e3,eb=75e3;async function et(e,r={},a=_2){const i=N2();let s;try{s=await fetch(e,{...r,signal:AbortSignal.timeout(a),headers:{authorization:`Bearer ${i??""}`,"content-type":"application/json","x-client-timeout-ms":String(a),...r.headers}})}catch(x){throw x instanceof DOMException&&x.name==="TimeoutError"?new mr("Request timed out",0):x}if(!s.ok){const x=await s.json().catch(()=>({}));throw new mr(x.error||`HTTP ${s.status}`,s.status)}return s.json()}const mu=new Map;async function tb(e){const r=N2(),a=await fetch(e,{headers:{authorization:`Bearer ${r??""}`},signal:AbortSignal.timeout(_2)});if(!a.ok)throw new mr(`HTTP ${a.status}`,a.status);return URL.createObjectURL(await a.blob())}const Ie={state:()=>et(we.state.path()),repoIcon:e=>{let r=mu.get(e);return r||(r=tb(we.repoIcon.path(e)),r.catch(()=>mu.delete(e)),mu.set(e,r)),r},workspace:e=>et(we.workspace.path(e)),sessions:e=>et(we.sessions.path(e)),messages:(e,r)=>et(`${we.messages.path(e)}?after=${r}`),diff:e=>et(we.diff.path(e)),sendPrompt:(e,r,a,i,s)=>et(we.sendPrompt.path(e),{method:we.sendPrompt.method,body:JSON.stringify({text:r,workspaceId:a,agent:i,clientId:s})},eb),stop:(e,r)=>et(we.stop.path(e),{method:we.stop.method,body:JSON.stringify({workspaceId:r})},Un),newChat:e=>et(we.newChat.path(e),{method:we.newChat.method},Un),repos:()=>et(we.repos.path()),search:e=>et(`${we.search.path()}?q=${encodeURIComponent(e)}`),dismissPrompt:e=>et(we.dismissFirstPrompt.path(e),{method:we.dismissFirstPrompt.method}),dismissParked:e=>et(we.dismissParkedPrompt.path(e),{method:we.dismissParkedPrompt.method}),createWorkspace:(e,r,a=!0)=>et(we.createWorkspace.path(),{method:we.createWorkspace.method,body:JSON.stringify({repo:e,prompt:r,sendImmediately:a})},Un),setAgent:(e,r,a)=>et(we.agent.path(e),{method:we.agent.method,body:JSON.stringify({...r,workspaceId:a})},Un),models:(e,r)=>et(`${we.models.path(e)}?workspaceId=${encodeURIComponent(r)}`,{},Un),logs:(e,r=300)=>et(`${we.logs.path()}?limit=${r}${e?`&file=${encodeURIComponent(e)}`:""}`),push:()=>et(we.push.path()),pushSubscribe:(e,r)=>et(we.pushSubscribe.path(),{method:we.pushSubscribe.method,body:JSON.stringify({subscription:e,label:r})}),pushUnsubscribe:e=>et(we.pushUnsubscribe.path(),{method:we.pushUnsubscribe.method,body:JSON.stringify({endpoint:e})}),pushTest:e=>et(we.pushTest.path(),{method:we.pushTest.method,body:JSON.stringify({id:e})},Un),merge:e=>et(we.merge.path(e),{method:we.merge.method},Un),setStatus:(e,r)=>et(we.workspaceStatus.path(e),{method:we.workspaceStatus.method,body:JSON.stringify({status:r})},Un),settings:()=>et(we.settings.path()),patchSettings:e=>et(we.updateSettings.path(),{method:we.updateSettings.method,body:JSON.stringify(e)}),armNoSleep:e=>et(we.armNoSleep.path(),{method:we.armNoSleep.method,body:JSON.stringify({seconds:e})},Un),disarmNoSleep:()=>et(we.disarmNoSleep.path(),{method:we.disarmNoSleep.method},Un)},vh=e=>{let r;const a=new Set,i=(h,E)=>{const p=typeof h=="function"?h(r):h;if(!Object.is(p,r)){const y=r;r=E??(typeof p!="object"||p===null)?p:Object.assign({},r,p),a.forEach(C=>C(r,y))}},s=()=>r,f={setState:i,getState:s,getInitialState:()=>d,subscribe:h=>(a.add(h),()=>a.delete(h))},d=r=e(i,s,f);return f},nb=(e=>e?vh(e):vh),rb=e=>e;function ab(e,r=rb){const a=ro.useSyncExternalStore(e.subscribe,ro.useCallback(()=>r(e.getState()),[e,r]),ro.useCallback(()=>r(e.getInitialState()),[e,r]));return ro.useDebugValue(a),a}const kh=e=>{const r=nb(e),a=i=>ab(r,i);return Object.assign(a,r),a},lb=(e=>e?kh(e):kh),bo="conductor-remote-agent:";function ib(){const e={};try{for(let r=0;r<localStorage.length;r++){const a=localStorage.key(r);if(!a?.startsWith(bo))continue;const i=localStorage.getItem(a);i&&(e[a.slice(bo.length)]=JSON.parse(i))}}catch{}return e}function Fh(e,r){try{Object.keys(r).length?localStorage.setItem(bo+e,JSON.stringify(r)):localStorage.removeItem(bo+e)}catch{}}const Do="conductor-remote-draft:";function ob(){const e={};try{for(let r=0;r<localStorage.length;r++){const a=localStorage.key(r);if(!a?.startsWith(Do))continue;const i=localStorage.getItem(a);i&&(e[a.slice(Do.length)]=i)}}catch{}return e}function sb(e,r){try{r?localStorage.setItem(Do+e,r):localStorage.removeItem(Do+e)}catch{}}const T2="conductor-remote-read",wh=300;function xb(){try{const e=JSON.parse(localStorage.getItem(T2)??"{}");return!e||typeof e!="object"?{}:Object.fromEntries(Object.entries(e).filter(([,r])=>typeof r=="string"))}catch{return{}}}function ub(e){const r=Object.entries(e),a=r.length>wh?r.sort((s,x)=>x[1].localeCompare(s[1])).slice(0,wh):r,i=Object.fromEntries(a);try{localStorage.setItem(T2,JSON.stringify(i))}catch{}return i}const z2=(e,r,a)=>(e[r]??"")<a;function cb(e,r){return(e.unread_sessions??[]).filter(a=>z2(r,a.id,a.at)).length}function fb(e,r){return!!e.unread_count&&z2(r,e.id,e.updated_at)}const j2="conductor-remote-view",Sh={groupBy:"status",repo:null,sortBy:"updated",hideMerged:!1,collapsed:[]};function Mh(e){const r={};return e.model!==void 0&&(r.model=e.model),e.effort!==void 0&&(r.effort=e.effort),e.plan!==void 0&&(r.plan=e.plan),e.fast!==void 0&&(r.fast=e.fast),r}function db(){try{return{...Sh,...JSON.parse(localStorage.getItem(j2)??"{}")}}catch{return Sh}}const ke=lb((e,r)=>{const a=i=>{localStorage.setItem(j2,JSON.stringify(i)),e({view:i})};return{token:KA(),online:!0,lastSyncAt:null,update:null,workingHints:{},pending:[],drafts:ob(),agentDrafts:ib(),readMarks:xb(),push:{deviceId:null,devices:0},sidebarOpen:!location.pathname.startsWith("/w/"),view:db(),setToken:i=>{i?JA(i):ZA(),e({token:i})},setOnline:i=>e(i?{online:i,lastSyncAt:Date.now()}:{online:i}),setUpdate:i=>e({update:i}),markWorking:i=>e({workingHints:{...r().workingHints,[i]:Date.now()}}),clearWorking:i=>{const{[i]:s,...x}=r().workingHints;e({workingHints:x})},addPending:i=>e({pending:[...r().pending.filter(s=>s.id!==i.id),{...i,status:"sending",error:void 0,createdAt:Date.now()}]}),failPending:(i,s)=>e({pending:r().pending.map(x=>x.id===i?{...x,status:"error",error:s}:x)}),removePending:i=>e({pending:r().pending.filter(s=>s.id!==i)}),setDraft:(i,s)=>{sb(i,s),e({drafts:{...r().drafts,[i]:s}})},markRead:(i,s)=>{(r().readMarks[i]??"")>=s||e({readMarks:ub({...r().readMarks,[i]:s})})},stageAgent:(i,s)=>{const x=Mh({...r().agentDrafts[i],...s});Fh(i,x),e({agentDrafts:{...r().agentDrafts,[i]:x}})},clearAgentDraft:(i,s)=>{const x=r().agentDrafts[i];if(!x)return;const u=Mh({model:x.model===s.model?void 0:x.model,effort:x.effort===s.effort?void 0:x.effort,plan:x.plan===s.plan?void 0:x.plan,fast:x.fast===s.fast?void 0:x.fast});Fh(i,u),e({agentDrafts:{...r().agentDrafts,[i]:u}})},setPush:i=>e({push:i}),setSidebarOpen:i=>e({sidebarOpen:i}),setView:i=>a({...r().view,...i}),toggleGroup:i=>{const{collapsed:s}=r().view;a({...r().view,collapsed:s.includes(i)?s.filter(x=>x!==i):[...s,i]})}}}),Nh=6e4,hb=1e4,Eu="pwa-update-attempted-at",pb=2500,mb=30*6e4,cl="pwa-update-snoozed-until";async function Eb(){try{if("serviceWorker"in navigator){const r=await navigator.serviceWorker.getRegistrations();await Promise.all(r.map(a=>a.unregister()))}if("caches"in window){const r=await caches.keys();await Promise.all(r.map(a=>caches.delete(a)))}}catch{}const e=location.search?"&":"?";location.replace(`${location.pathname}${location.search}${e}_v=${Date.now()}`)}function Cb(){const e=ke(p=>p.token),r=z.useRef(null),a=z.useRef(!1),{needRefresh:[i,s],updateServiceWorker:x}=b7({onRegisteredSW(p,y){y&&(r.current=y,setInterval(()=>{y.update().catch(()=>{})},Nh))}}),{data:u}=zn({queryKey:["state"],queryFn:()=>Ie.state(),enabled:!!e,refetchInterval:!1}),f=u?.version,d=z.useRef(null);if(z.useEffect(()=>{!f||f==="1.46.1"||d.current===f||(d.current=f,r.current?.update().catch(()=>{}))},[f]),z.useEffect(()=>{if(!i)return;const p=Number(sessionStorage.getItem(Eu));if(sessionStorage.removeItem(Eu),p&&Date.now()-p<hb){s(!1);return}const y=Number(sessionStorage.getItem(cl));y&&Date.now()<y&&s(!1)},[i,s]),z.useEffect(()=>{if(i)return;const p=()=>{const C=Number(sessionStorage.getItem(cl));!C||Date.now()<C||r.current?.waiting&&(sessionStorage.removeItem(cl),s(!0))},y=window.setInterval(p,Nh);return document.addEventListener("visibilitychange",p),()=>{window.clearInterval(y),document.removeEventListener("visibilitychange",p)}},[i,s]),!i)return null;const h=()=>{sessionStorage.setItem(cl,String(Date.now()+mb)),s(!1)},E=()=>{sessionStorage.removeItem(cl),sessionStorage.setItem(Eu,String(Date.now()));const p=()=>{a.current||(a.current=!0,window.location.reload())},y=r.current?.waiting;y?(navigator.serviceWorker?.addEventListener("controllerchange",p,{once:!0}),y.addEventListener("statechange",()=>{y.state==="activated"&&p()}),y.postMessage({type:"SKIP_WAITING"})):x(!0),window.setTimeout(()=>{a.current||(a.current=!0,Eb())},pb)};return g.jsxs("div",{className:"pb-safe fade-in fixed inset-x-0 bottom-0 z-[60] mx-auto flex max-w-sm items-center gap-3 rounded-t-2xl border border-border-soft bg-surface px-4 py-3 shadow-xl",children:[g.jsx(bc,{size:15,className:"shrink-0 text-accent"}),g.jsx("span",{className:"flex-1 text-sm",children:"New version ready"}),g.jsx("button",{type:"button",onClick:h,className:"rounded-lg px-2 py-1 text-xs text-muted active:bg-surface-2",children:"Later"}),g.jsx("button",{type:"button",onClick:E,className:"rounded-lg bg-accent px-3 py-1 text-xs font-semibold text-black transition active:scale-95",children:"Update"})]})}const R2="conductor-remote-models";function O2(){try{return JSON.parse(localStorage.getItem(R2)??"{}")}catch{return{}}}function _h(e){const r=O2()[e];return r?.models?.length?r:void 0}function yb(e,r,a){try{localStorage.setItem(R2,JSON.stringify({...O2(),[e]:{models:r,at:a}}))}catch{}}function gb(){return/iP(hone|ad|od)/.test(navigator.userAgent)||navigator.platform==="MacIntel"&&navigator.maxTouchPoints>1}function L2(){return window.matchMedia("(display-mode: standalone)").matches||navigator.standalone===!0}function P2(){return window.isSecureContext?"serviceWorker"in navigator?!("PushManager"in window)||!("Notification"in window)?gb()&&!L2()?"needs-install":"unsupported":"ok":"unsupported":"insecure"}function U2(){const e=navigator.userAgent,r=/iPhone/.test(e)?"iPhone":/iPad/.test(e)||navigator.platform==="MacIntel"&&navigator.maxTouchPoints>1?"iPad":/Android/.test(e)?"Android":/Mac OS X/.test(e)?"Mac":/Windows/.test(e)?"Windows":"Browser";return L2()?r:`${r} (browser)`}function Bb(e){const r=e+"=".repeat((4-e.length%4)%4),a=atob(r.replace(/-/g,"+").replace(/_/g,"/")),i=new Uint8Array(a.length);for(let s=0;s<a.length;s++)i[s]=a.charCodeAt(s);return i}function Ab(e){let r="";for(const a of new Uint8Array(e))r+=String.fromCharCode(a);return btoa(r).replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,"")}async function H2(){if(!("serviceWorker"in navigator))return null;const e=await navigator.serviceWorker.getRegistration();return e||Promise.race([navigator.serviceWorker.ready,new Promise(r=>setTimeout(()=>r(null),5e3))])}async function q2(){return await(await H2())?.pushManager.getSubscription()??null}function bb(e,r){const a=e.options.applicationServerKey;return!!a&&Ab(a)===r}async function I2(e){const r=await H2();if(!r)throw new Error("the app’s service worker isn’t running yet — reload and try again");return r.pushManager.subscribe({userVisibleOnly:!0,applicationServerKey:Bb(e)})}function V2(e){const r=e.toJSON(),a=r.keys??{};if(!r.endpoint||!a.p256dh||!a.auth)throw new Error("the browser returned an incomplete subscription");return{endpoint:r.endpoint,keys:{p256dh:a.p256dh,auth:a.auth}}}async function Db(e){let r=await q2();if(r&&!bb(r,e)&&(await r.unsubscribe().catch(()=>{}),r=Notification.permission==="granted"?await I2(e):null),!r)return null;const a=await Ie.pushSubscribe(V2(r),U2());return{id:a.id??null,devices:a.devices.length}}function vb(e){const r=ke(s=>s.setSidebarOpen),a=ke(s=>s.sidebarOpen),i=z.useRef(a);i.current=a,z.useEffect(()=>{const s=e.current;s&&(s.style.transition="",s.style.transform="")},[a,e]),z.useEffect(()=>{const u=window.matchMedia("(min-width: 768px)"),f=()=>e.current;let d=!1,h=!1,E=!1,p=0,y=0,C=0,A=0;const b=k=>{const T=f();T&&(T.style.transition="none",T.style.transform=`translateX(${k}px)`,A=k)},D=()=>{const k=f();k&&(k.style.transition="",k.style.transform="")},F=k=>{for(let T=k;T;T=T.parentElement)if(T.scrollLeft>0)return!0;return!1},O=()=>{d&&(d=!1,D())},w=k=>{if(O(),u.matches||k.touches.length!==1)return;const T=k.touches[0];if(i.current){const S=f()?.getBoundingClientRect().right??0;if(T.clientX>S)return}else if(T.clientX>44||F(k.target))return;d=!0,h=!1,E=!1,p=T.clientX,y=T.clientY,C=f()?.offsetWidth??0},_=k=>{if(!d||E)return;const T=k.touches[0],S=T.clientX-p,q=T.clientY-y;if(!h){if(Math.abs(q)>Math.abs(S)&&Math.abs(q)>8){E=!0;return}if(Math.abs(S)<6)return;h=!0}k.preventDefault();const L=i.current?0:-C;b(Math.max(-C,Math.min(0,L+S)))},R=()=>{if(!d)return;if(d=!1,!h||E)return D();const k=C?(A+C)/C:0;D(),r(k>.4)};return window.addEventListener("touchstart",w,{passive:!0}),window.addEventListener("touchmove",_,{passive:!1}),window.addEventListener("touchend",R),window.addEventListener("touchcancel",R),document.addEventListener("visibilitychange",O),()=>{window.removeEventListener("touchstart",w),window.removeEventListener("touchmove",_),window.removeEventListener("touchend",R),window.removeEventListener("touchcancel",R),document.removeEventListener("visibilitychange",O)}},[e,r])}const Th='input, textarea, [contenteditable]:not([contenteditable="false"])';function kb(){z.useEffect(()=>{const e=window.visualViewport;if(!e)return;const r=document.documentElement;(matchMedia("(display-mode: standalone)").matches||navigator.standalone)&&r.setAttribute("data-standalone","");let a=0,i;const s=()=>{r.style.removeProperty("--app-height"),r.removeAttribute("data-keyboard")},x=E=>{E&&!i?i=setInterval(u,300):!E&&i&&(clearInterval(i),i=void 0)},u=()=>{const E=document.activeElement,p=E instanceof HTMLElement&&E.matches(Th),y=e.scale>1.01;!p||y?(!y&&window.innerHeight-e.height<120&&(a=e.height),s()):(a||window.innerHeight)-e.height>40?(r.style.setProperty("--app-height",`${Math.round(e.height+e.offsetTop)}px`),r.setAttribute("data-keyboard","")):s(),x(p||r.hasAttribute("data-keyboard")),window.scrollY!==0&&window.scrollTo(0,0)};let f;const d=()=>{u(),clearTimeout(f),f=setTimeout(u,350)},h=()=>{if(document.visibilityState==="hidden"){const E=document.activeElement;E instanceof HTMLElement&&E.matches(Th)&&E.blur(),s(),x(!1)}else d()};return u(),e.addEventListener("resize",u),e.addEventListener("scroll",u),window.addEventListener("pageshow",d),document.addEventListener("visibilitychange",h),document.addEventListener("focusin",d),document.addEventListener("focusout",d),()=>{clearTimeout(f),x(!1),e.removeEventListener("resize",u),e.removeEventListener("scroll",u),window.removeEventListener("pageshow",d),document.removeEventListener("visibilitychange",h),document.removeEventListener("focusin",d),document.removeEventListener("focusout",d),s()}},[])}function Rl(){const e=ke(a=>a.setOnline),r=ke(a=>a.setToken);return z.useCallback((a,i)=>{e(a),i instanceof mr&&i.status===401&&r(null)},[e,r])}function kc(){const e=Rl(),r=ke(i=>i.setUpdate),a=zn({queryKey:["state"],queryFn:()=>Ie.state(),refetchInterval:2500});return z.useEffect(()=>{a.isSuccess&&(e(!0),r(a.data.update??null)),a.isError&&e(!1,a.error)},[a.isSuccess,a.isError,a.error,a.data,e,r]),a}function Fb(){return zn({queryKey:["repos"],queryFn:()=>Ie.repos(),staleTime:6e4})}function wb(e,r){const[a,i]=z.useState(e);return z.useEffect(()=>{const s=setTimeout(()=>i(e),r);return()=>clearTimeout(s)},[e,r]),a}function Sb(e){const r=e.trim();return zn({queryKey:["search",r],queryFn:()=>Ie.search(r),enabled:r.length>=2,staleTime:3e4,placeholderData:ZE})}function Mb(e,r){const a=Rl(),i=zn({queryKey:["workspace",e],queryFn:()=>Ie.workspace(e),enabled:r&&!!e,staleTime:Number.POSITIVE_INFINITY,retry:(s,x)=>!(x instanceof mr&&x.status===404)&&s<1});return z.useEffect(()=>{i.isError&&!(i.error instanceof mr&&i.error.status===404)&&a(!1,i.error)},[i.isError,i.error,a]),i}function $2(e,r=!0){const a=Rl(),i=zn({queryKey:["sessions",e],queryFn:()=>Ie.sessions(e),enabled:!!e,refetchInterval:r?2e3:!1});return z.useEffect(()=>{i.isError&&a(!1,i.error)},[i.isError,i.error,a]),i}function G2(e,r){const a=Rl(),i=zn({queryKey:["diff",e],queryFn:()=>Ie.diff(e),enabled:!!e,refetchInterval:5e3});return z.useEffect(()=>{i.isError&&a(!1,i.error)},[i.isError,i.error,a]),i}function Nb(e){return zn({queryKey:["repoIcon",e],queryFn:()=>Ie.repoIcon(e),enabled:!!e,staleTime:Number.POSITIVE_INFINITY,gcTime:Number.POSITIVE_INFINITY,retry:!1})}function _b(e,r){return zn({queryKey:["logs",e],queryFn:()=>Ie.logs(e),enabled:r,refetchInterval:3e3,retry:!1})}const Tb=600*1e3;function zb(e,r,a){const i=e?.agent_type??"claude";return zn({queryKey:["models",i],queryFn:async()=>{const s=await Ie.models(e.id,r);if(!s.ok||!s.models?.length)throw new Error(s.error??"could not read the model list");return yb(i,s.models,Date.now()),s.models},enabled:a&&!!e,initialData:()=>_h(i)?.models,initialDataUpdatedAt:()=>_h(i)?.at,staleTime:Tb,gcTime:Number.POSITIVE_INFINITY,retry:!1})}function jb(e,r=!0){const a=Rl(),[i,s]=z.useState({entries:[],loading:!0,error:null}),x=z.useRef(0);return z.useEffect(()=>{if(!e){s({entries:[],loading:!1,error:null});return}x.current=0,s({entries:[],loading:!0,error:null});let u=!0,f=!1;const d=async()=>{if(!f){f=!0;try{const{entries:E,cursor:p}=await Ie.messages(e,x.current);if(!u)return;a(!0),E.length?(x.current=p,s(y=>({entries:[...y.entries,...E],loading:!1,error:null}))):s(y=>y.loading?{...y,loading:!1}:y)}catch(E){if(!u)return;a(!1,E),s(p=>({...p,loading:!1,error:E instanceof Error?E.message:String(E)}))}finally{f=!1}}};d();const h=r?setInterval(d,1e3):void 0;return()=>{u=!1,h&&clearInterval(h)}},[e,r,a]),i}function Q2(){const e=I0(),r=ke(u=>u.addPending),a=ke(u=>u.failPending),i=ke(u=>u.removePending),s=ke(u=>u.markWorking),x=ke(u=>u.clearAgentDraft);return z.useCallback(async u=>{const f=u.text.trim();if(!f)return!1;const d=u.id??crypto.randomUUID(),{sessionId:h,workspaceId:E}=u;r({id:d,sessionId:h,workspaceId:E,text:f});try{const p=ke.getState().agentDrafts[h],y=p&&Object.keys(p).length?p:void 0,C=await Ie.sendPrompt(h,f,E,y,d);if(C.ok||C.parked)return y&&(x(h,y),e.invalidateQueries({queryKey:["sessions",E]})),C.ok&&s(h),e.invalidateQueries({queryKey:["state"]}),setTimeout(()=>i(d),4e3),!0;a(d,C.error||"Send failed")}catch(p){a(d,p instanceof Error?p.message:String(p))}return!1},[r,a,i,s,x,e])}function Y2(e){return zn({queryKey:["push"],queryFn:()=>Ie.push(),enabled:e,staleTime:3e4})}function Rb(){const[e]=z.useState(P2),r=ke(s=>s.setPush),{data:a}=Y2(e==="ok"),i=a?.publicKey;z.useEffect(()=>{if(e!=="ok"||!i)return;let s=!0;return Db(i).then(x=>{s&&r({deviceId:x?.id??null,devices:x?.devices??0})}).catch(()=>{}),()=>{s=!1}},[e,i,r])}function Ob(){const[e]=z.useState(P2),[r,a]=z.useState(()=>"Notification"in window?Notification.permission:"unsupported"),[i,s]=z.useState(!1),[x,u]=z.useState(null),{deviceId:f,devices:d}=ke(b=>b.push),h=ke(b=>b.setPush),E=Y2(e==="ok"),p=E.data?.publicKey,y=z.useCallback(async()=>{s(!0),u(null);try{const b=await Notification.requestPermission();if(a(b),b!=="granted"){u(b==="denied"?"Notifications are blocked for this app — allow them in your device settings, then try again.":"Notification permission wasn’t granted.");return}const D=p??(await Ie.push()).publicKey,F=await I2(D),O=await Ie.pushSubscribe(V2(F),U2());h({deviceId:O.id??null,devices:O.devices.length})}catch(b){u(b instanceof Error?b.message:String(b))}finally{s(!1)}},[p,h]),C=z.useCallback(async()=>{s(!0),u(null);try{const b=await q2();let D=0;b&&(D=(await Ie.pushUnsubscribe(b.endpoint).catch(()=>null))?.devices.length??0,await b.unsubscribe()),h({deviceId:null,devices:D})}catch(b){u(b instanceof Error?b.message:String(b))}finally{s(!1)}},[h]),A=z.useCallback(async()=>{if(f){s(!0),u(null);try{const b=await Ie.pushTest(f);b.ok||u(b.error??"The push service rejected it.")}catch(b){u(b instanceof Error?b.message:String(b))}finally{s(!1)}}},[f]);return{support:e,permission:r,enabled:!!f,relayDisabled:E.data?.enabled===!1,busy:i,error:x,devices:d,enable:y,disable:C,test:A}}const Lb="push-route",zh="/__push-route",Pb=12e4;async function jh(){if(!("caches"in window))return null;try{const e=await caches.open(Lb),r=await e.match(zh);if(!r)return null;await e.delete(zh);const{url:a,ts:i}=await r.json();return typeof a!="string"||!a.startsWith("/")||typeof i!="number"||Date.now()-i>Pb?null:a}catch{return null}}function Ub(){const e=da();z.useEffect(()=>{let r=!0;const a=()=>{jh().then(x=>{r&&x&&e(x)})},i=x=>{const u=x.data;u?.type==="push-navigate"&&typeof u.url=="string"&&u.url.startsWith("/")&&(jh(),e(u.url))},s=()=>{document.visibilityState==="visible"&&a()};return"serviceWorker"in navigator&&navigator.serviceWorker.addEventListener("message",i),document.addEventListener("visibilitychange",s),a(),()=>{r=!1,"serviceWorker"in navigator&&navigator.serviceWorker.removeEventListener("message",i),document.removeEventListener("visibilitychange",s)}},[e])}function X2(e){var r,a,i="";if(typeof e=="string"||typeof e=="number")i+=e;else if(typeof e=="object")if(Array.isArray(e)){var s=e.length;for(r=0;r<s;r++)e[r]&&(a=X2(e[r]))&&(i&&(i+=" "),i+=a)}else for(a in e)e[a]&&(i&&(i+=" "),i+=a);return i}function Hb(){for(var e,r,a=0,i="",s=arguments.length;a<s;a++)(e=arguments[a])&&(r=X2(e))&&(i&&(i+=" "),i+=r);return i}const qb=(e,r)=>{const a=new Array(e.length+r.length);for(let i=0;i<e.length;i++)a[i]=e[i];for(let i=0;i<r.length;i++)a[e.length+i]=r[i];return a},Ib=(e,r)=>({classGroupId:e,validator:r}),K2=(e=new Map,r=null,a)=>({nextPart:e,validators:r,classGroupId:a}),vo="-",Rh=[],Vb="arbitrary..",$b=e=>{const r=Qb(e),{conflictingClassGroups:a,conflictingClassGroupModifiers:i}=e;return{getClassGroupId:u=>{if(u.startsWith("[")&&u.endsWith("]"))return Gb(u);const f=u.split(vo),d=f[0]===""&&f.length>1?1:0;return Z2(f,d,r)},getConflictingClassGroupIds:(u,f)=>{if(f){const d=i[u],h=a[u];return d?h?qb(h,d):d:h||Rh}return a[u]||Rh}}},Z2=(e,r,a)=>{if(e.length-r===0)return a.classGroupId;const s=e[r],x=a.nextPart.get(s);if(x){const h=Z2(e,r+1,x);if(h)return h}const u=a.validators;if(u===null)return;const f=r===0?e.join(vo):e.slice(r).join(vo),d=u.length;for(let h=0;h<d;h++){const E=u[h];if(E.validator(f))return E.classGroupId}},Gb=e=>e.slice(1,-1).indexOf(":")===-1?void 0:(()=>{const r=e.slice(1,-1),a=r.indexOf(":"),i=r.slice(0,a);return i?Vb+i:void 0})(),Qb=e=>{const{theme:r,classGroups:a}=e;return Yb(a,r)},Yb=(e,r)=>{const a=K2();for(const i in e){const s=e[i];Fc(s,a,i,r)}return a},Fc=(e,r,a,i)=>{const s=e.length;for(let x=0;x<s;x++){const u=e[x];Xb(u,r,a,i)}},Xb=(e,r,a,i)=>{if(typeof e=="string"){Kb(e,r,a);return}if(typeof e=="function"){Zb(e,r,a,i);return}Jb(e,r,a,i)},Kb=(e,r,a)=>{const i=e===""?r:J2(r,e);i.classGroupId=a},Zb=(e,r,a,i)=>{if(Wb(e)){Fc(e(i),r,a,i);return}r.validators===null&&(r.validators=[]),r.validators.push(Ib(a,e))},Jb=(e,r,a,i)=>{const s=Object.entries(e),x=s.length;for(let u=0;u<x;u++){const[f,d]=s[u];Fc(d,J2(r,f),a,i)}},J2=(e,r)=>{let a=e;const i=r.split(vo),s=i.length;for(let x=0;x<s;x++){const u=i[x];let f=a.nextPart.get(u);f||(f=K2(),a.nextPart.set(u,f)),a=f}return a},Wb=e=>"isThemeGetter"in e&&e.isThemeGetter===!0,eD=e=>{if(e<1)return{get:()=>{},set:()=>{}};let r=0,a=Object.create(null),i=Object.create(null);const s=(x,u)=>{a[x]=u,r++,r>e&&(r=0,i=a,a=Object.create(null))};return{get(x){let u=a[x];if(u!==void 0)return u;if((u=i[x])!==void 0)return s(x,u),u},set(x,u){x in a?a[x]=u:s(x,u)}}},Xu="!",Oh=":",tD=[],Lh=(e,r,a,i,s)=>({modifiers:e,hasImportantModifier:r,baseClassName:a,maybePostfixModifierPosition:i,isExternal:s}),nD=e=>{const{prefix:r,experimentalParseClassName:a}=e;let i=s=>{const x=[];let u=0,f=0,d=0,h;const E=s.length;for(let b=0;b<E;b++){const D=s[b];if(u===0&&f===0){if(D===Oh){x.push(s.slice(d,b)),d=b+1;continue}if(D==="/"){h=b;continue}}D==="["?u++:D==="]"?u--:D==="("?f++:D===")"&&f--}const p=x.length===0?s:s.slice(d);let y=p,C=!1;p.endsWith(Xu)?(y=p.slice(0,-1),C=!0):p.startsWith(Xu)&&(y=p.slice(1),C=!0);const A=h&&h>d?h-d:void 0;return Lh(x,C,y,A)};if(r){const s=r+Oh,x=i;i=u=>u.startsWith(s)?x(u.slice(s.length)):Lh(tD,!1,u,void 0,!0)}if(a){const s=i;i=x=>a({className:x,parseClassName:s})}return i},rD=e=>{const r=new Map;return e.orderSensitiveModifiers.forEach((a,i)=>{r.set(a,1e6+i)}),a=>{const i=[];let s=[];for(let x=0;x<a.length;x++){const u=a[x],f=u[0]==="[",d=r.has(u);f||d?(s.length>0&&(s.sort(),i.push(...s),s=[]),i.push(u)):s.push(u)}return s.length>0&&(s.sort(),i.push(...s)),i}},aD=e=>({cache:eD(e.cacheSize),parseClassName:nD(e),sortModifiers:rD(e),postfixLookupClassGroupIds:lD(e),...$b(e)}),lD=e=>{const r=Object.create(null),a=e.postfixLookupClassGroups;if(a)for(let i=0;i<a.length;i++)r[a[i]]=!0;return r},iD=/\s+/,oD=(e,r)=>{const{parseClassName:a,getClassGroupId:i,getConflictingClassGroupIds:s,sortModifiers:x,postfixLookupClassGroupIds:u}=r,f=[],d=e.trim().split(iD);let h="";for(let E=d.length-1;E>=0;E-=1){const p=d[E],{isExternal:y,modifiers:C,hasImportantModifier:A,baseClassName:b,maybePostfixModifierPosition:D}=a(p);if(y){h=p+(h.length>0?" "+h:h);continue}let F=!!D,O;if(F){const T=b.substring(0,D);O=i(T);const S=O&&u[O]?i(b):void 0;S&&S!==O&&(O=S,F=!1)}else O=i(b);if(!O){if(!F){h=p+(h.length>0?" "+h:h);continue}if(O=i(b),!O){h=p+(h.length>0?" "+h:h);continue}F=!1}const w=C.length===0?"":C.length===1?C[0]:x(C).join(":"),_=A?w+Xu:w,R=_+O;if(f.indexOf(R)>-1)continue;f.push(R);const k=s(O,F);for(let T=0;T<k.length;++T){const S=k[T];f.push(_+S)}h=p+(h.length>0?" "+h:h)}return h},sD=(...e)=>{let r=0,a,i,s="";for(;r<e.length;)(a=e[r++])&&(i=W2(a))&&(s&&(s+=" "),s+=i);return s},W2=e=>{if(typeof e=="string")return e;let r,a="";for(let i=0;i<e.length;i++)e[i]&&(r=W2(e[i]))&&(a&&(a+=" "),a+=r);return a},xD=(e,...r)=>{let a,i,s,x;const u=d=>{const h=r.reduce((E,p)=>p(E),e());return a=aD(h),i=a.cache.get,s=a.cache.set,x=f,f(d)},f=d=>{const h=i(d);if(h)return h;const E=oD(d,a);return s(d,E),E};return x=u,(...d)=>x(sD(...d))},uD=[],Ct=e=>{const r=a=>a[e]||uD;return r.isThemeGetter=!0,r},ep=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,tp=/^\((?:(\w[\w-]*):)?(.+)\)$/i,cD=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,fD=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,dD=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,hD=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,pD=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,mD=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,P0=e=>cD.test(e),Me=e=>!!e&&!Number.isNaN(Number(e)),Hn=e=>!!e&&Number.isInteger(Number(e)),Cu=e=>e.endsWith("%")&&Me(e.slice(0,-1)),c0=e=>fD.test(e),np=()=>!0,ED=e=>dD.test(e)&&!hD.test(e),wc=()=>!1,CD=e=>pD.test(e),yD=e=>mD.test(e),gD=e=>!de(e)&&!he(e),BD=e=>e.startsWith("@container")&&(e[10]==="/"&&e[11]!==void 0||e[11]==="s"&&e[16]!==void 0&&e.startsWith("-size/",10)||e[11]==="n"&&e[18]!==void 0&&e.startsWith("-normal/",10)),AD=e=>V0(e,lp,wc),de=e=>ep.test(e),ur=e=>V0(e,ip,ED),Ph=e=>V0(e,MD,Me),bD=e=>V0(e,sp,np),DD=e=>V0(e,op,wc),Uh=e=>V0(e,rp,wc),vD=e=>V0(e,ap,yD),lo=e=>V0(e,xp,CD),he=e=>tp.test(e),fl=e=>gr(e,ip),kD=e=>gr(e,op),Hh=e=>gr(e,rp),FD=e=>gr(e,lp),wD=e=>gr(e,ap),io=e=>gr(e,xp,!0),SD=e=>gr(e,sp,!0),V0=(e,r,a)=>{const i=ep.exec(e);return i?i[1]?r(i[1]):a(i[2]):!1},gr=(e,r,a=!1)=>{const i=tp.exec(e);return i?i[1]?r(i[1]):a:!1},rp=e=>e==="position"||e==="percentage",ap=e=>e==="image"||e==="url",lp=e=>e==="length"||e==="size"||e==="bg-size",ip=e=>e==="length",MD=e=>e==="number",op=e=>e==="family-name",sp=e=>e==="number"||e==="weight",xp=e=>e==="shadow",ND=()=>{const e=Ct("color"),r=Ct("font"),a=Ct("text"),i=Ct("font-weight"),s=Ct("tracking"),x=Ct("leading"),u=Ct("breakpoint"),f=Ct("container"),d=Ct("spacing"),h=Ct("radius"),E=Ct("shadow"),p=Ct("inset-shadow"),y=Ct("text-shadow"),C=Ct("drop-shadow"),A=Ct("blur"),b=Ct("perspective"),D=Ct("aspect"),F=Ct("ease"),O=Ct("animate"),w=()=>["auto","avoid","all","avoid-page","page","left","right","column"],_=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],R=()=>[..._(),he,de],k=()=>["auto","hidden","clip","visible","scroll"],T=()=>["auto","contain","none"],S=()=>[he,de,d],q=()=>[P0,"full","auto",...S()],L=()=>[Hn,"none","subgrid",he,de],X=()=>["auto",{span:["full",Hn,he,de]},Hn,he,de],K=()=>[Hn,"auto",he,de],ie=()=>["auto","min","max","fr",he,de],Z=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],$=()=>["start","end","center","stretch","center-safe","end-safe"],P=()=>["auto",...S()],Y=()=>[P0,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...S()],oe=()=>[P0,"screen","full","dvw","lvw","svw","min","max","fit",...S()],fe=()=>[P0,"screen","full","lh","dvh","lvh","svh","min","max","fit",...S()],M=()=>[e,he,de],j=()=>[..._(),Hh,Uh,{position:[he,de]}],W=()=>["no-repeat",{repeat:["","x","y","space","round"]}],N=()=>["auto","cover","contain",FD,AD,{size:[he,de]}],ae=()=>[Cu,fl,ur],ce=()=>["","none","full",h,he,de],xe=()=>["",Me,fl,ur],Ee=()=>["solid","dashed","dotted","double"],Pe=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],Ce=()=>[Me,Cu,Hh,Uh],Bt=()=>["","none",A,he,de],ot=()=>["none",Me,he,de],fn=()=>["none",Me,he,de],Zt=()=>[Me,he,de],ut=()=>[P0,"full",...S()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[c0],breakpoint:[c0],color:[np],container:[c0],"drop-shadow":[c0],ease:["in","out","in-out"],font:[gD],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[c0],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[c0],shadow:[c0],spacing:["px",Me],text:[c0],"text-shadow":[c0],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",P0,de,he,D]}],container:["container"],"container-type":[{"@container":["","normal","size",he,de]}],"container-named":[BD],columns:[{columns:[Me,de,he,f]}],"break-after":[{"break-after":w()}],"break-before":[{"break-before":w()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:R()}],overflow:[{overflow:k()}],"overflow-x":[{"overflow-x":k()}],"overflow-y":[{"overflow-y":k()}],overscroll:[{overscroll:T()}],"overscroll-x":[{"overscroll-x":T()}],"overscroll-y":[{"overscroll-y":T()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:q()}],"inset-x":[{"inset-x":q()}],"inset-y":[{"inset-y":q()}],start:[{"inset-s":q(),start:q()}],end:[{"inset-e":q(),end:q()}],"inset-bs":[{"inset-bs":q()}],"inset-be":[{"inset-be":q()}],top:[{top:q()}],right:[{right:q()}],bottom:[{bottom:q()}],left:[{left:q()}],visibility:["visible","invisible","collapse"],z:[{z:[Hn,"auto",he,de]}],basis:[{basis:[P0,"full","auto",f,...S()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[Me,P0,"auto","initial","none",de]}],grow:[{grow:["",Me,he,de]}],shrink:[{shrink:["",Me,he,de]}],order:[{order:[Hn,"first","last","none",he,de]}],"grid-cols":[{"grid-cols":L()}],"col-start-end":[{col:X()}],"col-start":[{"col-start":K()}],"col-end":[{"col-end":K()}],"grid-rows":[{"grid-rows":L()}],"row-start-end":[{row:X()}],"row-start":[{"row-start":K()}],"row-end":[{"row-end":K()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":ie()}],"auto-rows":[{"auto-rows":ie()}],gap:[{gap:S()}],"gap-x":[{"gap-x":S()}],"gap-y":[{"gap-y":S()}],"justify-content":[{justify:[...Z(),"normal"]}],"justify-items":[{"justify-items":[...$(),"normal"]}],"justify-self":[{"justify-self":["auto",...$()]}],"align-content":[{content:["normal",...Z()]}],"align-items":[{items:[...$(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...$(),{baseline:["","last"]}]}],"place-content":[{"place-content":Z()}],"place-items":[{"place-items":[...$(),"baseline"]}],"place-self":[{"place-self":["auto",...$()]}],p:[{p:S()}],px:[{px:S()}],py:[{py:S()}],ps:[{ps:S()}],pe:[{pe:S()}],pbs:[{pbs:S()}],pbe:[{pbe:S()}],pt:[{pt:S()}],pr:[{pr:S()}],pb:[{pb:S()}],pl:[{pl:S()}],m:[{m:P()}],mx:[{mx:P()}],my:[{my:P()}],ms:[{ms:P()}],me:[{me:P()}],mbs:[{mbs:P()}],mbe:[{mbe:P()}],mt:[{mt:P()}],mr:[{mr:P()}],mb:[{mb:P()}],ml:[{ml:P()}],"space-x":[{"space-x":S()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":S()}],"space-y-reverse":["space-y-reverse"],size:[{size:Y()}],"inline-size":[{inline:["auto",...oe()]}],"min-inline-size":[{"min-inline":["auto",...oe()]}],"max-inline-size":[{"max-inline":["none",...oe()]}],"block-size":[{block:["auto",...fe()]}],"min-block-size":[{"min-block":["auto",...fe()]}],"max-block-size":[{"max-block":["none",...fe()]}],w:[{w:[f,"screen",...Y()]}],"min-w":[{"min-w":[f,"screen","none",...Y()]}],"max-w":[{"max-w":[f,"screen","none","prose",{screen:[u]},...Y()]}],h:[{h:["screen","lh",...Y()]}],"min-h":[{"min-h":["screen","lh","none",...Y()]}],"max-h":[{"max-h":["screen","lh",...Y()]}],"font-size":[{text:["base",a,fl,ur]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[i,SD,bD]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",Cu,de]}],"font-family":[{font:[kD,DD,r]}],"font-features":[{"font-features":[de]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[s,he,de]}],"line-clamp":[{"line-clamp":[Me,"none",he,Ph]}],leading:[{leading:[x,...S()]}],"list-image":[{"list-image":["none",he,de]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",he,de]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:M()}],"text-color":[{text:M()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...Ee(),"wavy"]}],"text-decoration-thickness":[{decoration:[Me,"from-font","auto",he,ur]}],"text-decoration-color":[{decoration:M()}],"underline-offset":[{"underline-offset":[Me,"auto",he,de]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:S()}],"tab-size":[{tab:[Hn,he,de]}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",he,de]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",he,de]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:j()}],"bg-repeat":[{bg:W()}],"bg-size":[{bg:N()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},Hn,he,de],radial:["",he,de],conic:[Hn,he,de]},wD,vD]}],"bg-color":[{bg:M()}],"gradient-from-pos":[{from:ae()}],"gradient-via-pos":[{via:ae()}],"gradient-to-pos":[{to:ae()}],"gradient-from":[{from:M()}],"gradient-via":[{via:M()}],"gradient-to":[{to:M()}],rounded:[{rounded:ce()}],"rounded-s":[{"rounded-s":ce()}],"rounded-e":[{"rounded-e":ce()}],"rounded-t":[{"rounded-t":ce()}],"rounded-r":[{"rounded-r":ce()}],"rounded-b":[{"rounded-b":ce()}],"rounded-l":[{"rounded-l":ce()}],"rounded-ss":[{"rounded-ss":ce()}],"rounded-se":[{"rounded-se":ce()}],"rounded-ee":[{"rounded-ee":ce()}],"rounded-es":[{"rounded-es":ce()}],"rounded-tl":[{"rounded-tl":ce()}],"rounded-tr":[{"rounded-tr":ce()}],"rounded-br":[{"rounded-br":ce()}],"rounded-bl":[{"rounded-bl":ce()}],"border-w":[{border:xe()}],"border-w-x":[{"border-x":xe()}],"border-w-y":[{"border-y":xe()}],"border-w-s":[{"border-s":xe()}],"border-w-e":[{"border-e":xe()}],"border-w-bs":[{"border-bs":xe()}],"border-w-be":[{"border-be":xe()}],"border-w-t":[{"border-t":xe()}],"border-w-r":[{"border-r":xe()}],"border-w-b":[{"border-b":xe()}],"border-w-l":[{"border-l":xe()}],"divide-x":[{"divide-x":xe()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":xe()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...Ee(),"hidden","none"]}],"divide-style":[{divide:[...Ee(),"hidden","none"]}],"border-color":[{border:M()}],"border-color-x":[{"border-x":M()}],"border-color-y":[{"border-y":M()}],"border-color-s":[{"border-s":M()}],"border-color-e":[{"border-e":M()}],"border-color-bs":[{"border-bs":M()}],"border-color-be":[{"border-be":M()}],"border-color-t":[{"border-t":M()}],"border-color-r":[{"border-r":M()}],"border-color-b":[{"border-b":M()}],"border-color-l":[{"border-l":M()}],"divide-color":[{divide:M()}],"outline-style":[{outline:[...Ee(),"none","hidden"]}],"outline-offset":[{"outline-offset":[Me,he,de]}],"outline-w":[{outline:["",Me,fl,ur]}],"outline-color":[{outline:M()}],shadow:[{shadow:["","none",E,io,lo]}],"shadow-color":[{shadow:M()}],"inset-shadow":[{"inset-shadow":["none",p,io,lo]}],"inset-shadow-color":[{"inset-shadow":M()}],"ring-w":[{ring:xe()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:M()}],"ring-offset-w":[{"ring-offset":[Me,ur]}],"ring-offset-color":[{"ring-offset":M()}],"inset-ring-w":[{"inset-ring":xe()}],"inset-ring-color":[{"inset-ring":M()}],"text-shadow":[{"text-shadow":["none",y,io,lo]}],"text-shadow-color":[{"text-shadow":M()}],opacity:[{opacity:[Me,he,de]}],"mix-blend":[{"mix-blend":[...Pe(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":Pe()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[Me]}],"mask-image-linear-from-pos":[{"mask-linear-from":Ce()}],"mask-image-linear-to-pos":[{"mask-linear-to":Ce()}],"mask-image-linear-from-color":[{"mask-linear-from":M()}],"mask-image-linear-to-color":[{"mask-linear-to":M()}],"mask-image-t-from-pos":[{"mask-t-from":Ce()}],"mask-image-t-to-pos":[{"mask-t-to":Ce()}],"mask-image-t-from-color":[{"mask-t-from":M()}],"mask-image-t-to-color":[{"mask-t-to":M()}],"mask-image-r-from-pos":[{"mask-r-from":Ce()}],"mask-image-r-to-pos":[{"mask-r-to":Ce()}],"mask-image-r-from-color":[{"mask-r-from":M()}],"mask-image-r-to-color":[{"mask-r-to":M()}],"mask-image-b-from-pos":[{"mask-b-from":Ce()}],"mask-image-b-to-pos":[{"mask-b-to":Ce()}],"mask-image-b-from-color":[{"mask-b-from":M()}],"mask-image-b-to-color":[{"mask-b-to":M()}],"mask-image-l-from-pos":[{"mask-l-from":Ce()}],"mask-image-l-to-pos":[{"mask-l-to":Ce()}],"mask-image-l-from-color":[{"mask-l-from":M()}],"mask-image-l-to-color":[{"mask-l-to":M()}],"mask-image-x-from-pos":[{"mask-x-from":Ce()}],"mask-image-x-to-pos":[{"mask-x-to":Ce()}],"mask-image-x-from-color":[{"mask-x-from":M()}],"mask-image-x-to-color":[{"mask-x-to":M()}],"mask-image-y-from-pos":[{"mask-y-from":Ce()}],"mask-image-y-to-pos":[{"mask-y-to":Ce()}],"mask-image-y-from-color":[{"mask-y-from":M()}],"mask-image-y-to-color":[{"mask-y-to":M()}],"mask-image-radial":[{"mask-radial":[he,de]}],"mask-image-radial-from-pos":[{"mask-radial-from":Ce()}],"mask-image-radial-to-pos":[{"mask-radial-to":Ce()}],"mask-image-radial-from-color":[{"mask-radial-from":M()}],"mask-image-radial-to-color":[{"mask-radial-to":M()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":_()}],"mask-image-conic-pos":[{"mask-conic":[Me]}],"mask-image-conic-from-pos":[{"mask-conic-from":Ce()}],"mask-image-conic-to-pos":[{"mask-conic-to":Ce()}],"mask-image-conic-from-color":[{"mask-conic-from":M()}],"mask-image-conic-to-color":[{"mask-conic-to":M()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:j()}],"mask-repeat":[{mask:W()}],"mask-size":[{mask:N()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",he,de]}],filter:[{filter:["","none",he,de]}],blur:[{blur:Bt()}],brightness:[{brightness:[Me,he,de]}],contrast:[{contrast:[Me,he,de]}],"drop-shadow":[{"drop-shadow":["","none",C,io,lo]}],"drop-shadow-color":[{"drop-shadow":M()}],grayscale:[{grayscale:["",Me,he,de]}],"hue-rotate":[{"hue-rotate":[Me,he,de]}],invert:[{invert:["",Me,he,de]}],saturate:[{saturate:[Me,he,de]}],sepia:[{sepia:["",Me,he,de]}],"backdrop-filter":[{"backdrop-filter":["","none",he,de]}],"backdrop-blur":[{"backdrop-blur":Bt()}],"backdrop-brightness":[{"backdrop-brightness":[Me,he,de]}],"backdrop-contrast":[{"backdrop-contrast":[Me,he,de]}],"backdrop-grayscale":[{"backdrop-grayscale":["",Me,he,de]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[Me,he,de]}],"backdrop-invert":[{"backdrop-invert":["",Me,he,de]}],"backdrop-opacity":[{"backdrop-opacity":[Me,he,de]}],"backdrop-saturate":[{"backdrop-saturate":[Me,he,de]}],"backdrop-sepia":[{"backdrop-sepia":["",Me,he,de]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":S()}],"border-spacing-x":[{"border-spacing-x":S()}],"border-spacing-y":[{"border-spacing-y":S()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",he,de]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[Me,"initial",he,de]}],ease:[{ease:["linear","initial",F,he,de]}],delay:[{delay:[Me,he,de]}],animate:[{animate:["none",O,he,de]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[b,he,de]}],"perspective-origin":[{"perspective-origin":R()}],rotate:[{rotate:ot()}],"rotate-x":[{"rotate-x":ot()}],"rotate-y":[{"rotate-y":ot()}],"rotate-z":[{"rotate-z":ot()}],scale:[{scale:fn()}],"scale-x":[{"scale-x":fn()}],"scale-y":[{"scale-y":fn()}],"scale-z":[{"scale-z":fn()}],"scale-3d":["scale-3d"],skew:[{skew:Zt()}],"skew-x":[{"skew-x":Zt()}],"skew-y":[{"skew-y":Zt()}],transform:[{transform:[he,de,"","none","gpu","cpu"]}],"transform-origin":[{origin:R()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:ut()}],"translate-x":[{"translate-x":ut()}],"translate-y":[{"translate-y":ut()}],"translate-z":[{"translate-z":ut()}],"translate-none":["translate-none"],zoom:[{zoom:[Hn,he,de]}],accent:[{accent:M()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:M()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",he,de]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scrollbar-thumb-color":[{"scrollbar-thumb":M()}],"scrollbar-track-color":[{"scrollbar-track":M()}],"scrollbar-gutter":[{"scrollbar-gutter":["auto","stable","both"]}],"scrollbar-w":[{scrollbar:["auto","thin","none"]}],"scroll-m":[{"scroll-m":S()}],"scroll-mx":[{"scroll-mx":S()}],"scroll-my":[{"scroll-my":S()}],"scroll-ms":[{"scroll-ms":S()}],"scroll-me":[{"scroll-me":S()}],"scroll-mbs":[{"scroll-mbs":S()}],"scroll-mbe":[{"scroll-mbe":S()}],"scroll-mt":[{"scroll-mt":S()}],"scroll-mr":[{"scroll-mr":S()}],"scroll-mb":[{"scroll-mb":S()}],"scroll-ml":[{"scroll-ml":S()}],"scroll-p":[{"scroll-p":S()}],"scroll-px":[{"scroll-px":S()}],"scroll-py":[{"scroll-py":S()}],"scroll-ps":[{"scroll-ps":S()}],"scroll-pe":[{"scroll-pe":S()}],"scroll-pbs":[{"scroll-pbs":S()}],"scroll-pbe":[{"scroll-pbe":S()}],"scroll-pt":[{"scroll-pt":S()}],"scroll-pr":[{"scroll-pr":S()}],"scroll-pb":[{"scroll-pb":S()}],"scroll-pl":[{"scroll-pl":S()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",he,de]}],fill:[{fill:["none",...M()]}],"stroke-w":[{stroke:[Me,fl,ur,Ph]}],stroke:[{stroke:["none",...M()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{"container-named":["container-type"],overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","inset-bs","inset-be","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pbs","pbe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mbs","mbe","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-bs","border-w-be","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-bs","border-color-be","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mbs","scroll-mbe","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pbs","scroll-pbe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},postfixLookupClassGroups:["container-type"],orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}},_D=xD(ND);function be(...e){return _D(Hb(e))}function TD(e){const r=e??"",i=(r.includes("/")?r.slice(r.indexOf("/")+1):r).replace(/[-_]/g," ").trim();return i?i[0].toUpperCase()+i.slice(1):""}function In(e){return e.workspace_name||e.pr_title||TD(e.branch)||e.directory_name||e.id.slice(0,8)}function zD(e){return e.toLowerCase().match(/[\p{L}\p{N}_]+/gu)??[]}const jD="",RD="";function OD(e){const r=[],a=e.split(jD);for(let i=0;i<a.length;i++){const s=a[i];if(i===0){s&&r.push({text:s,hit:!1});continue}const x=s.indexOf(RD);if(x<0){s&&r.push({text:s,hit:!0});continue}const u=s.slice(0,x),f=s.slice(x+1);u&&r.push({text:u,hit:!0}),f&&r.push({text:f,hit:!1})}return r}function up(e){return e.state==="setting_up"}const LD={merged:"var(--color-pr-merged)",draft:"var(--color-pr-draft)",conflicts:"var(--color-pr-conflicts)",mergeable:"var(--color-pr-mergeable)"};function PD(e){return{color:e.pr_status&&LD[e.pr_status]||"var(--color-accent)",working:e.session_status==="working"}}function UD(e){return e.pr_status==="merged"}function cp(e){return up(e)?"setting-up":e.manual_status||e.derived_status||"in-progress"}const qh=["done","in-review","in-progress","setting-up","backlog","canceled"],HD=["backlog","in-progress","in-review","done","canceled"];function Ku(e){return{done:"Done","in-review":"In review","in-progress":"In progress","setting-up":"Setting up",backlog:"Backlog",canceled:"Canceled"}[e]??e}const qD=["today","yesterday","week","month","older"];function ID(e){return{today:"Today",yesterday:"Yesterday",week:"Past week",month:"Past month",older:"Older"}[e]}function Ih(e){const r=new Date(e);return r.setHours(0,0,0,0),r.getTime()}function VD(e,r=new Date){const a=new Date(e);if(!Number.isFinite(a.getTime()))return"older";const i=Math.round((Ih(r)-Ih(a))/864e5);return i<=0?"today":i===1?"yesterday":i<7?"week":i<30?"month":"older"}const Sc={done:"var(--color-done)","in-review":"var(--color-idle)","in-progress":"var(--color-working)","setting-up":"var(--color-working)"};function Mc(e){return e?e.replace(/^claude-/,"").replace(/-\d{8}$/,"").replace(/-latest$/,""):""}function ko(e,r=120){const i=(e.split(`
12
- `).find(s=>s.trim())??"").replace(/^[\s>#*\-+]+/,"").replace(/`/g,"").replace(/\s+/g," ").trim();return i.length>r?`${i.slice(0,r-1)}…`:i}function $D(e){const r=Math.max(0,Math.floor(e/1e3)),a=r%60,i=Math.floor(r/60)%60,s=Math.floor(r/3600),x=u=>String(u).padStart(2,"0");return s?`${s}h ${x(i)}m ${x(a)}s`:i?`${i}m ${x(a)}s`:`${a}s`}function GD(e){const r=new Date(e);if(!Number.isFinite(r.getTime()))return"";const a=r.toLocaleTimeString(void 0,{hour:"2-digit",minute:"2-digit"}),i=new Date;return r.toDateString()===i.toDateString()?a:`${r.toLocaleDateString(void 0,{month:"short",day:"numeric"})}, ${a}`}function Nc(e){const r=new Date(e).getTime();if(!Number.isFinite(r))return"";const a=Math.round((Date.now()-r)/1e3);if(a<45)return"now";if(a<90)return"1m";const i=Math.round(a/60);if(i<60)return`${i}m`;const s=Math.round(i/60);return s<24?`${s}h`:`${Math.round(s/24)}d`}const QD={activity:M7,anchor:_7,apple:z7,atom:q7,award:V7,banknote:G7,battery:Y7,beer:K7,bell:A2,bike:W7,bird:t3,bluetooth:r3,book:o3,"book-open":l3,bookmark:x3,bot:c3,box:d3,brain:p3,briefcase:E3,brush:y3,bug:b3,"bug-play":B3,building:F3,"building-2":v3,cake:S3,calendar:N3,camera:T3,car:j3,carrot:O3,cat:P3,"chart-bar":H3,"chart-line":I3,"chart-pie":$3,clapperboard:Z3,clock:W3,cloud:lC,code:xC,"code-xml":oC,coffee:cC,cog:dC,compass:pC,cpu:CC,"credit-card":gC,crown:AC,database:DC,dna:kC,dog:wC,"dollar-sign":MC,dumbbell:_C,egg:zC,factory:RC,feather:LC,file:VC,"file-code":UC,film:GC,fish:YC,flag:KC,flame:JC,"flask-conical":ey,folder:ny,"gamepad-2":ay,gem:iy,gift:sy,"git-branch":uy,github:dy,glasses:py,globe:Ey,"graduation-cap":yy,"grid-3x3":By,hammer:by,headphones:vy,heart:Sy,"heart-pulse":Fy,house:Ny,image:Ty,key:Oy,laptop:Py,"layout-grid":Iy,layers:Hy,leaf:$y,lightbulb:Qy,link:Xy,lock:eg,mail:ag,map:sg,"map-pin":ig,martini:ug,medal:fg,"message-circle":hg,"message-square":mg,mic:Cg,microscope:gg,monitor:Ag,moon:Dg,music:kg,orbit:wg,package:Mg,paintbrush:_g,paperclip:Rg,"paw-print":Lg,pen:Ug,pencil:qg,phone:Vg,pill:Gg,pipette:Yg,pizza:Kg,plane:Jg,plug:eB,power:rB,puzzle:lB,rabbit:sB,radio:uB,rocket:dB,ruler:EB,salad:pB,satellite:yB,scissors:BB,server:DB,settings:kB,shell:wB,shield:MB,ship:_B,"shopping-bag":zB,"shopping-cart":RB,smartphone:UB,snail:qB,soup:VB,sparkles:GB,sprout:YB,star:JB,stethoscope:eA,store:nA,sun:w2,tag:lA,tags:oA,target:xA,telescope:cA,terminal:dA,ticket:pA,"train-front":EA,"tree-pine":yA,"trending-up":BA,trophy:DA,turtle:kA,user:wA,users:MA,utensils:_A,video:zA,wallet:RA,"wand-2":bh,"wand-sparkles":bh,warehouse:PA,wheat:HA,wifi:S2,wine:$A,wrench:QA,zap:M2};function YD({w:e,className:r}){const{color:a,working:i}=PD(e);return i?g.jsx("span",{className:be("dot-spinner",r),style:{"--spin-color":a}}):g.jsx("span",{className:be("dot",r),style:{background:a}})}function XD(e){const r=Math.max(0,Math.round(e/1e3));if(r<90)return`${r}s`;const a=Math.round(r/60);return a<60?`${a}m`:`${Math.round(a/60)}h`}function KD(){const e=ke(u=>u.online),r=ke(u=>u.lastSyncAt),a=ke(u=>u.update),i=a?.mode==="auto"&&a.available,[s,x]=z.useState(()=>Date.now());return z.useEffect(()=>{if(e)return;const u=setInterval(()=>x(Date.now()),1e3);return()=>clearInterval(u)},[e]),i?g.jsxs("div",{className:"fade-in flex items-center gap-1.5 bg-accent/10 px-3 py-1.5 text-xs text-accent",children:[g.jsx(bc,{size:13,className:"animate-spin"}),g.jsxs("span",{children:["Updating relay to ",a?.latest??"latest","… reconnecting"]})]}):e?null:g.jsxs("div",{className:"fade-in flex items-center gap-1.5 bg-del/10 px-3 py-1.5 text-xs text-del",children:[g.jsx(vc,{size:13}),g.jsxs("span",{children:["Offline — retrying…",r?` last synced ${XD(s-r)} ago`:""]})]})}function Fo({children:e,className:r}){return g.jsx("span",{className:be("rounded-md bg-surface-2 px-1.5 py-0.5 font-mono text-[11px] text-muted",r),children:e})}function ZD({children:e}){return g.jsx("span",{className:"grid min-w-5 place-items-center rounded-full bg-accent px-1.5 text-[11px] font-bold text-white",children:e})}function JD({error:e}){const r=typeof navigator<"u"&&navigator.onLine===!1,a=e instanceof Error?e.message:String(e??"request failed"),i=!(e instanceof mr)||e.status===0;return r?g.jsxs(Lt,{children:[g.jsx(vc,{size:20,className:"mx-auto mb-3 text-muted"}),g.jsx("div",{className:"font-medium text-text",children:"This phone is offline"}),g.jsx("div",{className:"mt-1",children:"Check Wi-Fi or cellular. The list comes back on its own."})]}):g.jsxs(Lt,{children:[g.jsx(tC,{size:20,className:"mx-auto mb-3 text-del"}),g.jsx("div",{className:"font-medium text-text",children:i?"Can’t reach the relay":"The relay answered with an error"}),g.jsx("div",{className:"mt-1 break-words font-mono text-[11px] text-muted",children:a}),i?g.jsxs("ul",{className:"mt-4 space-y-2 text-left",children:[g.jsx("li",{children:"Is the Mac awake and online?"}),g.jsxs("li",{children:["If the relay is tailnet-only: Tailscale connected on this phone, and"," ",g.jsx("span",{className:"text-text",children:"iCloud Private Relay off"}),". Private Relay routes around the VPN, so the app stays stuck even while Tailscale says Connected."]}),g.jsx("li",{children:"Otherwise the Funnel may be stale after a network change — re-deploy on the Mac."})]}):null]})}function Lt({children:e}){return g.jsx("div",{className:"mx-auto max-w-xs px-6 py-16 text-center text-sm text-muted",children:e})}function ha({label:e}){return g.jsxs("div",{className:"flex items-center justify-center gap-2 py-16 text-sm text-muted",children:[g.jsx("span",{className:"size-4 animate-spin rounded-full border-2 border-border border-t-accent"}),e]})}const Eo="grid size-8 place-items-center overflow-hidden rounded-lg bg-surface-2 font-semibold text-muted";function wo({icon:e,name:r}){const a=g.jsx("div",{className:be(Eo,"text-xs"),children:(r.trim()[0]??"?").toUpperCase()});if(!e)return a;if(e.kind==="emoji")return g.jsx("div",{className:be(Eo,"text-lg leading-none"),children:e.value});if(e.kind==="named"){const i=QD[e.value];return i?g.jsx("div",{className:Eo,children:g.jsx(i,{size:18,className:"text-muted"})}):a}return e.kind==="github"?g.jsx(fp,{src:`https://github.com/${encodeURIComponent(e.owner)}.png?size=64`,fit:"cover",fallback:a}):g.jsx(WD,{repoName:r,fallback:a})}function fp({src:e,fit:r,fallback:a}){const[i,s]=z.useState(!1);return i?g.jsx(g.Fragment,{children:a}):g.jsx("div",{className:Eo,children:g.jsx("img",{src:e,alt:"",loading:"lazy",className:be("size-full",r==="cover"?"object-cover":"object-contain"),onError:()=>s(!0)})})}function WD({repoName:e,fallback:r}){const{data:a,isError:i}=Nb(e);return!e||i||!a?g.jsx(g.Fragment,{children:r}):g.jsx(fp,{src:a,fit:"contain",fallback:r})}function So({title:e,subtitle:r,menu:a,right:i}){const s=ke(x=>x.setSidebarOpen);return g.jsxs("header",{className:"pt-safe sticky top-0 z-10 border-b border-border-soft bg-bg/80 backdrop-blur-xl",children:[g.jsxs("div",{className:"flex items-center gap-2 px-3 pb-2.5",children:[a?g.jsx("button",{type:"button",onClick:()=>s(!0),"aria-label":"Open workspaces",className:"-ml-1 flex size-9 shrink-0 items-center justify-center rounded-full text-muted active:bg-surface-2 md:hidden",children:g.jsx(zg,{size:20})}):g.jsx("span",{className:"w-1"}),g.jsxs("div",{className:"min-w-0 flex-1",children:[g.jsx("div",{className:"truncate text-[15px] font-semibold leading-tight",children:e}),r?g.jsx("div",{className:"truncate text-xs leading-tight text-muted",children:r}):null]}),i]}),g.jsx(KD,{})]})}function ev(e,r){const a={};return(e[e.length-1]===""?[...e,""]:e).join((a.padRight?" ":"")+","+(a.padLeft===!1?"":" ")).trim()}const tv=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,nv=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,rv={};function Vh(e,r){return(rv.jsx?nv:tv).test(e)}const av=/[ \t\n\f\r]/g;function lv(e){return typeof e=="object"?e.type==="text"?$h(e.value):!1:$h(e)}function $h(e){return e.replace(av,"")===""}class Ol{constructor(r,a,i){this.normal=a,this.property=r,i&&(this.space=i)}}Ol.prototype.normal={};Ol.prototype.property={};Ol.prototype.space=void 0;function dp(e,r){const a={},i={};for(const s of e)Object.assign(a,s.property),Object.assign(i,s.normal);return new Ol(a,i,r)}function Zu(e){return e.toLowerCase()}class Kt{constructor(r,a){this.attribute=a,this.property=r}}Kt.prototype.attribute="";Kt.prototype.booleanish=!1;Kt.prototype.boolean=!1;Kt.prototype.commaOrSpaceSeparated=!1;Kt.prototype.commaSeparated=!1;Kt.prototype.defined=!1;Kt.prototype.mustUseProperty=!1;Kt.prototype.number=!1;Kt.prototype.overloadedBoolean=!1;Kt.prototype.property="";Kt.prototype.spaceSeparated=!1;Kt.prototype.space=void 0;let iv=0;const De=Br(),pt=Br(),Ju=Br(),se=Br(),Je=Br(),hr=Br(),sn=Br();function Br(){return 2**++iv}const Wu=Object.freeze(Object.defineProperty({__proto__:null,boolean:De,booleanish:pt,commaOrSpaceSeparated:sn,commaSeparated:hr,number:se,overloadedBoolean:Ju,spaceSeparated:Je},Symbol.toStringTag,{value:"Module"})),yu=Object.keys(Wu);class _c extends Kt{constructor(r,a,i,s){let x=-1;if(super(r,a),Gh(this,"space",s),typeof i=="number")for(;++x<yu.length;){const u=yu[x];Gh(this,yu[x],(i&Wu[u])===Wu[u])}}}_c.prototype.defined=!0;function Gh(e,r,a){a&&(e[r]=a)}function pa(e){const r={},a={};for(const[i,s]of Object.entries(e.properties)){const x=new _c(i,e.transform(e.attributes||{},i),s,e.space);e.mustUseProperty&&e.mustUseProperty.includes(i)&&(x.mustUseProperty=!0),r[i]=x,a[Zu(i)]=i,a[Zu(x.attribute)]=i}return new Ol(r,a,e.space)}const hp=pa({properties:{ariaActiveDescendant:null,ariaAtomic:pt,ariaAutoComplete:null,ariaBusy:pt,ariaChecked:pt,ariaColCount:se,ariaColIndex:se,ariaColSpan:se,ariaControls:Je,ariaCurrent:null,ariaDescribedBy:Je,ariaDetails:null,ariaDisabled:pt,ariaDropEffect:Je,ariaErrorMessage:null,ariaExpanded:pt,ariaFlowTo:Je,ariaGrabbed:pt,ariaHasPopup:null,ariaHidden:pt,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:Je,ariaLevel:se,ariaLive:null,ariaModal:pt,ariaMultiLine:pt,ariaMultiSelectable:pt,ariaOrientation:null,ariaOwns:Je,ariaPlaceholder:null,ariaPosInSet:se,ariaPressed:pt,ariaReadOnly:pt,ariaRelevant:null,ariaRequired:pt,ariaRoleDescription:Je,ariaRowCount:se,ariaRowIndex:se,ariaRowSpan:se,ariaSelected:pt,ariaSetSize:se,ariaSort:null,ariaValueMax:se,ariaValueMin:se,ariaValueNow:se,ariaValueText:null,role:null},transform(e,r){return r==="role"?r:"aria-"+r.slice(4).toLowerCase()}});function pp(e,r){return r in e?e[r]:r}function mp(e,r){return pp(e,r.toLowerCase())}const ov=pa({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:hr,acceptCharset:Je,accessKey:Je,action:null,allow:null,allowFullScreen:De,allowPaymentRequest:De,allowUserMedia:De,alpha:De,alt:null,as:null,async:De,autoCapitalize:null,autoComplete:Je,autoFocus:De,autoPlay:De,blocking:Je,capture:null,charSet:null,checked:De,cite:null,className:Je,closedBy:null,colorSpace:null,cols:se,colSpan:se,command:null,commandFor:null,content:null,contentEditable:pt,controls:De,controlsList:Je,coords:se|hr,crossOrigin:null,data:null,dateTime:null,decoding:null,default:De,defer:De,dir:null,dirName:null,disabled:De,download:Ju,draggable:pt,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:De,formTarget:null,headers:Je,height:se,hidden:Ju,high:se,href:null,hrefLang:null,htmlFor:Je,httpEquiv:Je,id:null,imageSizes:null,imageSrcSet:null,inert:De,inputMode:null,integrity:null,is:null,isMap:De,itemId:null,itemProp:Je,itemRef:Je,itemScope:De,itemType:Je,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:De,low:se,manifest:null,max:null,maxLength:se,media:null,method:null,min:null,minLength:se,multiple:De,muted:De,name:null,nonce:null,noModule:De,noValidate:De,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:De,optimum:se,pattern:null,ping:Je,placeholder:null,playsInline:De,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:De,referrerPolicy:null,rel:Je,required:De,reversed:De,rows:se,rowSpan:se,sandbox:Je,scope:null,scoped:De,seamless:De,selected:De,shadowRootClonable:De,shadowRootCustomElementRegistry:De,shadowRootDelegatesFocus:De,shadowRootMode:null,shadowRootSerializable:De,shape:null,size:se,sizes:null,slot:null,span:se,spellCheck:pt,src:null,srcDoc:null,srcLang:null,srcSet:null,start:se,step:null,style:null,tabIndex:se,target:null,title:null,translate:null,type:null,typeMustMatch:De,useMap:null,value:pt,width:se,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:Je,axis:null,background:null,bgColor:null,border:se,borderColor:null,bottomMargin:se,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:De,declare:De,event:null,face:null,frame:null,frameBorder:null,hSpace:se,leftMargin:se,link:null,longDesc:null,lowSrc:null,marginHeight:se,marginWidth:se,noResize:De,noHref:De,noShade:De,noWrap:De,object:null,profile:null,prompt:null,rev:null,rightMargin:se,rules:null,scheme:null,scrolling:pt,standby:null,summary:null,text:null,topMargin:se,valueType:null,version:null,vAlign:null,vLink:null,vSpace:se,allowTransparency:null,autoCorrect:null,autoSave:null,credentialless:De,disablePictureInPicture:De,disableRemotePlayback:De,exportParts:hr,part:Je,prefix:null,property:null,results:se,security:null,unselectable:null},space:"html",transform:mp}),sv=pa({attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",maskType:"mask-type",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},properties:{about:sn,accentHeight:se,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:se,amplitude:se,arabicForm:null,ascent:se,attributeName:null,attributeType:null,azimuth:se,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:se,by:null,calcMode:null,capHeight:se,className:Je,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:se,diffuseConstant:se,direction:null,display:null,dur:null,divisor:se,dominantBaseline:null,download:De,dx:null,dy:null,edgeMode:null,editable:null,elevation:se,enableBackground:null,end:null,event:null,exponent:se,externalResourcesRequired:null,fill:null,fillOpacity:se,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:hr,g2:hr,glyphName:hr,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:se,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:se,horizOriginX:se,horizOriginY:se,id:null,ideographic:se,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:se,k:se,k1:se,k2:se,k3:se,k4:se,kernelMatrix:sn,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:se,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskType:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:se,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:se,overlineThickness:se,paintOrder:null,panose1:null,path:null,pathLength:se,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:Je,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:se,pointsAtY:se,pointsAtZ:se,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:sn,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:sn,rev:sn,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:sn,requiredFeatures:sn,requiredFonts:sn,requiredFormats:sn,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:se,specularExponent:se,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:se,strikethroughThickness:se,string:null,stroke:null,strokeDashArray:sn,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:se,strokeOpacity:se,strokeWidth:null,style:null,surfaceScale:se,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:sn,tabIndex:se,tableValues:null,target:null,targetX:se,targetY:se,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:sn,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:se,underlineThickness:se,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:se,values:null,vAlphabetic:se,vMathematical:se,vectorEffect:null,vHanging:se,vIdeographic:se,version:null,vertAdvY:se,vertOriginX:se,vertOriginY:se,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:se,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:pp}),Ep=pa({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform(e,r){return"xlink:"+r.slice(5).toLowerCase()}}),Cp=pa({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:mp}),yp=pa({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(e,r){return"xml:"+r.slice(3).toLowerCase()}}),xv={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"},uv=/[A-Z]/g,Qh=/-[a-z]/g,cv=/^data[-\w.:]+$/i;function fv(e,r){const a=Zu(r);let i=r,s=Kt;if(a in e.normal)return e.property[e.normal[a]];if(a.length>4&&a.slice(0,4)==="data"&&cv.test(r)){if(r.charAt(4)==="-"){const x=r.slice(5).replace(Qh,hv);i="data"+x.charAt(0).toUpperCase()+x.slice(1)}else{const x=r.slice(4);if(!Qh.test(x)){let u=x.replace(uv,dv);u.charAt(0)!=="-"&&(u="-"+u),r="data"+u}}s=_c}return new s(i,r)}function dv(e){return"-"+e.toLowerCase()}function hv(e){return e.charAt(1).toUpperCase()}const pv=dp([hp,ov,Ep,Cp,yp],"html"),Tc=dp([hp,sv,Ep,Cp,yp],"svg");function mv(e){return e.join(" ").trim()}var oa={},gu,Yh;function Ev(){if(Yh)return gu;Yh=1;var e=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,r=/\n/g,a=/^\s*/,i=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,s=/^:\s*/,x=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,u=/^[;\s]*/,f=/^\s+|\s+$/g,d=`
13
- `,h="/",E="*",p="",y="comment",C="declaration";function A(D,F){if(typeof D!="string")throw new TypeError("First argument must be a string");if(!D)return[];F=F||{};var O=1,w=1;function _(Z){var $=Z.match(r);$&&(O+=$.length);var P=Z.lastIndexOf(d);w=~P?Z.length-P:w+Z.length}function R(){var Z={line:O,column:w};return function($){return $.position=new k(Z),q(),$}}function k(Z){this.start=Z,this.end={line:O,column:w},this.source=F.source}k.prototype.content=D;function T(Z){var $=new Error(F.source+":"+O+":"+w+": "+Z);if($.reason=Z,$.filename=F.source,$.line=O,$.column=w,$.source=D,!F.silent)throw $}function S(Z){var $=Z.exec(D);if($){var P=$[0];return _(P),D=D.slice(P.length),$}}function q(){S(a)}function L(Z){var $;for(Z=Z||[];$=X();)$!==!1&&Z.push($);return Z}function X(){var Z=R();if(!(h!=D.charAt(0)||E!=D.charAt(1))){for(var $=2;p!=D.charAt($)&&(E!=D.charAt($)||h!=D.charAt($+1));)++$;if($+=2,p===D.charAt($-1))return T("End of comment missing");var P=D.slice(2,$-2);return w+=2,_(P),D=D.slice($),w+=2,Z({type:y,comment:P})}}function K(){var Z=R(),$=S(i);if($){if(X(),!S(s))return T("property missing ':'");var P=S(x),Y=Z({type:C,property:b($[0].replace(e,p)),value:P?b(P[0].replace(e,p)):p});return S(u),Y}}function ie(){var Z=[];L(Z);for(var $;$=K();)$!==!1&&(Z.push($),L(Z));return Z}return q(),ie()}function b(D){return D?D.replace(f,p):p}return gu=A,gu}var Xh;function Cv(){if(Xh)return oa;Xh=1;var e=oa&&oa.__importDefault||function(i){return i&&i.__esModule?i:{default:i}};Object.defineProperty(oa,"__esModule",{value:!0}),oa.default=a;const r=e(Ev());function a(i,s){let x=null;if(!i||typeof i!="string")return x;const u=(0,r.default)(i),f=typeof s=="function";return u.forEach(d=>{if(d.type!=="declaration")return;const{property:h,value:E}=d;f?s(h,E,d):E&&(x=x||{},x[h]=E)}),x}return oa}var dl={},Kh;function yv(){if(Kh)return dl;Kh=1,Object.defineProperty(dl,"__esModule",{value:!0}),dl.camelCase=void 0;var e=/^--[a-zA-Z0-9_-]+$/,r=/-([a-z])/g,a=/^[^-]+$/,i=/^-(webkit|moz|ms|o|khtml)-/,s=/^-(ms)-/,x=function(h){return!h||a.test(h)||e.test(h)},u=function(h,E){return E.toUpperCase()},f=function(h,E){return"".concat(E,"-")},d=function(h,E){return E===void 0&&(E={}),x(h)?h:(h=h.toLowerCase(),E.reactCompat?h=h.replace(s,f):h=h.replace(i,f),h.replace(r,u))};return dl.camelCase=d,dl}var hl,Zh;function gv(){if(Zh)return hl;Zh=1;var e=hl&&hl.__importDefault||function(s){return s&&s.__esModule?s:{default:s}},r=e(Cv()),a=yv();function i(s,x){var u={};return!s||typeof s!="string"||(0,r.default)(s,function(f,d){f&&d&&(u[(0,a.camelCase)(f,x)]=d)}),u}return i.default=i,hl=i,hl}var Bv=gv();const Av=zo(Bv),gp=Bp("end"),zc=Bp("start");function Bp(e){return r;function r(a){const i=a&&a.position&&a.position[e]||{};if(typeof i.line=="number"&&i.line>0&&typeof i.column=="number"&&i.column>0)return{line:i.line,column:i.column,offset:typeof i.offset=="number"&&i.offset>-1?i.offset:void 0}}}function bv(e){const r=zc(e),a=gp(e);if(r&&a)return{start:r,end:a}}function gl(e){return!e||typeof e!="object"?"":"position"in e||"type"in e?Jh(e.position):"start"in e||"end"in e?Jh(e):"line"in e||"column"in e?ec(e):""}function ec(e){return Wh(e&&e.line)+":"+Wh(e&&e.column)}function Jh(e){return ec(e&&e.start)+"-"+ec(e&&e.end)}function Wh(e){return e&&typeof e=="number"?e:1}class _t extends Error{constructor(r,a,i){super(),typeof a=="string"&&(i=a,a=void 0);let s="",x={},u=!1;if(a&&("line"in a&&"column"in a?x={place:a}:"start"in a&&"end"in a?x={place:a}:"type"in a?x={ancestors:[a],place:a.position}:x={...a}),typeof r=="string"?s=r:!x.cause&&r&&(u=!0,s=r.message,x.cause=r),!x.ruleId&&!x.source&&typeof i=="string"){const d=i.indexOf(":");d===-1?x.ruleId=i:(x.source=i.slice(0,d),x.ruleId=i.slice(d+1))}if(!x.place&&x.ancestors&&x.ancestors){const d=x.ancestors[x.ancestors.length-1];d&&(x.place=d.position)}const f=x.place&&"start"in x.place?x.place.start:x.place;this.ancestors=x.ancestors||void 0,this.cause=x.cause||void 0,this.column=f?f.column:void 0,this.fatal=void 0,this.file="",this.message=s,this.line=f?f.line:void 0,this.name=gl(x.place)||"1:1",this.place=x.place||void 0,this.reason=this.message,this.ruleId=x.ruleId||void 0,this.source=x.source||void 0,this.stack=u&&x.cause&&typeof x.cause.stack=="string"?x.cause.stack:"",this.actual=void 0,this.expected=void 0,this.note=void 0,this.url=void 0}}_t.prototype.file="";_t.prototype.name="";_t.prototype.reason="";_t.prototype.message="";_t.prototype.stack="";_t.prototype.column=void 0;_t.prototype.line=void 0;_t.prototype.ancestors=void 0;_t.prototype.cause=void 0;_t.prototype.fatal=void 0;_t.prototype.place=void 0;_t.prototype.ruleId=void 0;_t.prototype.source=void 0;const jc={}.hasOwnProperty,Dv=new Map,vv=/[A-Z]/g,kv=new Set(["table","tbody","thead","tfoot","tr"]),Fv=new Set(["td","th"]),Ap="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function wv(e,r){if(!r||r.Fragment===void 0)throw new TypeError("Expected `Fragment` in options");const a=r.filePath||void 0;let i;if(r.development){if(typeof r.jsxDEV!="function")throw new TypeError("Expected `jsxDEV` in options when `development: true`");i=Rv(a,r.jsxDEV)}else{if(typeof r.jsx!="function")throw new TypeError("Expected `jsx` in production options");if(typeof r.jsxs!="function")throw new TypeError("Expected `jsxs` in production options");i=jv(a,r.jsx,r.jsxs)}const s={Fragment:r.Fragment,ancestors:[],components:r.components||{},create:i,elementAttributeNameCase:r.elementAttributeNameCase||"react",evaluater:r.createEvaluater?r.createEvaluater():void 0,filePath:a,ignoreInvalidStyle:r.ignoreInvalidStyle||!1,passKeys:r.passKeys!==!1,passNode:r.passNode||!1,schema:r.space==="svg"?Tc:pv,stylePropertyNameCase:r.stylePropertyNameCase||"dom",tableCellAlignToStyle:r.tableCellAlignToStyle!==!1},x=bp(s,e,void 0);return x&&typeof x!="string"?x:s.create(e,s.Fragment,{children:x||void 0},void 0)}function bp(e,r,a){if(r.type==="element")return Sv(e,r,a);if(r.type==="mdxFlowExpression"||r.type==="mdxTextExpression")return Mv(e,r);if(r.type==="mdxJsxFlowElement"||r.type==="mdxJsxTextElement")return _v(e,r,a);if(r.type==="mdxjsEsm")return Nv(e,r);if(r.type==="root")return Tv(e,r,a);if(r.type==="text")return zv(e,r)}function Sv(e,r,a){const i=e.schema;let s=i;r.tagName.toLowerCase()==="svg"&&i.space==="html"&&(s=Tc,e.schema=s),e.ancestors.push(r);const x=vp(e,r.tagName,!1),u=Ov(e,r);let f=Oc(e,r);return kv.has(r.tagName)&&(f=f.filter(function(d){return typeof d=="string"?!lv(d):!0})),Dp(e,u,x,r),Rc(u,f),e.ancestors.pop(),e.schema=i,e.create(r,x,u,a)}function Mv(e,r){if(r.data&&r.data.estree&&e.evaluater){const i=r.data.estree.body[0];return i.type,e.evaluater.evaluateExpression(i.expression)}Sl(e,r.position)}function Nv(e,r){if(r.data&&r.data.estree&&e.evaluater)return e.evaluater.evaluateProgram(r.data.estree);Sl(e,r.position)}function _v(e,r,a){const i=e.schema;let s=i;r.name==="svg"&&i.space==="html"&&(s=Tc,e.schema=s),e.ancestors.push(r);const x=r.name===null?e.Fragment:vp(e,r.name,!0),u=Lv(e,r),f=Oc(e,r);return Dp(e,u,x,r),Rc(u,f),e.ancestors.pop(),e.schema=i,e.create(r,x,u,a)}function Tv(e,r,a){const i={};return Rc(i,Oc(e,r)),e.create(r,e.Fragment,i,a)}function zv(e,r){return r.value}function Dp(e,r,a,i){typeof a!="string"&&a!==e.Fragment&&e.passNode&&(r.node=i)}function Rc(e,r){if(r.length>0){const a=r.length>1?r:r[0];a&&(e.children=a)}}function jv(e,r,a){return i;function i(s,x,u,f){const h=Array.isArray(u.children)?a:r;return f?h(x,u,f):h(x,u)}}function Rv(e,r){return a;function a(i,s,x,u){const f=Array.isArray(x.children),d=zc(i);return r(s,x,u,f,{columnNumber:d?d.column-1:void 0,fileName:e,lineNumber:d?d.line:void 0},void 0)}}function Ov(e,r){const a={};let i,s;for(s in r.properties)if(s!=="children"&&jc.call(r.properties,s)){const x=Pv(e,s,r.properties[s]);if(x){const[u,f]=x;e.tableCellAlignToStyle&&u==="align"&&typeof f=="string"&&Fv.has(r.tagName)?i=f:a[u]=f}}if(i){const x=a.style||(a.style={});x[e.stylePropertyNameCase==="css"?"text-align":"textAlign"]=i}return a}function Lv(e,r){const a={};for(const i of r.attributes)if(i.type==="mdxJsxExpressionAttribute")if(i.data&&i.data.estree&&e.evaluater){const x=i.data.estree.body[0];x.type;const u=x.expression;u.type;const f=u.properties[0];f.type,Object.assign(a,e.evaluater.evaluateExpression(f.argument))}else Sl(e,r.position);else{const s=i.name;let x;if(i.value&&typeof i.value=="object")if(i.value.data&&i.value.data.estree&&e.evaluater){const f=i.value.data.estree.body[0];f.type,x=e.evaluater.evaluateExpression(f.expression)}else Sl(e,r.position);else x=i.value===null?!0:i.value;a[s]=x}return a}function Oc(e,r){const a=[];let i=-1;const s=e.passKeys?new Map:Dv;for(;++i<r.children.length;){const x=r.children[i];let u;if(e.passKeys){const d=x.type==="element"?x.tagName:x.type==="mdxJsxFlowElement"||x.type==="mdxJsxTextElement"?x.name:void 0;if(d){const h=s.get(d)||0;u=d+"-"+h,s.set(d,h+1)}}const f=bp(e,x,u);f!==void 0&&a.push(f)}return a}function Pv(e,r,a){const i=fv(e.schema,r);if(!(a==null||typeof a=="number"&&Number.isNaN(a))){if(Array.isArray(a)&&(a=i.commaSeparated?ev(a):mv(a)),i.property==="style"){let s=typeof a=="object"?a:Uv(e,String(a));return e.stylePropertyNameCase==="css"&&(s=Hv(s)),["style",s]}return[e.elementAttributeNameCase==="react"&&i.space?xv[i.property]||i.property:i.attribute,a]}}function Uv(e,r){try{return Av(r,{reactCompat:!0})}catch(a){if(e.ignoreInvalidStyle)return{};const i=a,s=new _t("Cannot parse `style` attribute",{ancestors:e.ancestors,cause:i,ruleId:"style",source:"hast-util-to-jsx-runtime"});throw s.file=e.filePath||void 0,s.url=Ap+"#cannot-parse-style-attribute",s}}function vp(e,r,a){let i;if(!a)i={type:"Literal",value:r};else if(r.includes(".")){const s=r.split(".");let x=-1,u;for(;++x<s.length;){const f=Vh(s[x])?{type:"Identifier",name:s[x]}:{type:"Literal",value:s[x]};u=u?{type:"MemberExpression",object:u,property:f,computed:!!(x&&f.type==="Literal"),optional:!1}:f}i=u}else i=Vh(r)&&!/^[a-z]/.test(r)?{type:"Identifier",name:r}:{type:"Literal",value:r};if(i.type==="Literal"){const s=i.value;return jc.call(e.components,s)?e.components[s]:s}if(e.evaluater)return e.evaluater.evaluateExpression(i);Sl(e)}function Sl(e,r){const a=new _t("Cannot handle MDX estrees without `createEvaluater`",{ancestors:e.ancestors,place:r,ruleId:"mdx-estree",source:"hast-util-to-jsx-runtime"});throw a.file=e.filePath||void 0,a.url=Ap+"#cannot-handle-mdx-estrees-without-createevaluater",a}function Hv(e){const r={};let a;for(a in e)jc.call(e,a)&&(r[qv(a)]=e[a]);return r}function qv(e){let r=e.replace(vv,Iv);return r.slice(0,3)==="ms-"&&(r="-"+r),r}function Iv(e){return"-"+e.toLowerCase()}const Bu={action:["form"],cite:["blockquote","del","ins","q"],data:["object"],formAction:["button","input"],href:["a","area","base","link"],icon:["menuitem"],itemId:null,manifest:["html"],ping:["a","area"],poster:["video"],src:["audio","embed","iframe","img","input","script","source","track","video"]},Vv={};function Lc(e,r){const a=Vv,i=typeof a.includeImageAlt=="boolean"?a.includeImageAlt:!0,s=typeof a.includeHtml=="boolean"?a.includeHtml:!0;return kp(e,i,s)}function kp(e,r,a){if($v(e)){if("value"in e)return e.type==="html"&&!a?"":e.value;if(r&&"alt"in e&&e.alt)return e.alt;if("children"in e)return e8(e.children,r,a)}return Array.isArray(e)?e8(e,r,a):""}function e8(e,r,a){const i=[];let s=-1;for(;++s<e.length;)i[s]=kp(e[s],r,a);return i.join("")}function $v(e){return!!(e&&typeof e=="object")}const t8=document.createElement("i");function Pc(e){const r="&"+e+";";t8.innerHTML=r;const a=t8.textContent;return a.charCodeAt(a.length-1)===59&&e!=="semi"||a===r?!1:a}function un(e,r,a,i){const s=e.length;let x=0,u;if(r<0?r=-r>s?0:s+r:r=r>s?s:r,a=a>0?a:0,i.length<1e4)u=Array.from(i),u.unshift(r,a),e.splice(...u);else for(a&&e.splice(r,a);x<i.length;)u=i.slice(x,x+1e4),u.unshift(r,0),e.splice(...u),x+=1e4,r+=1e4}function Dn(e,r){return e.length>0?(un(e,e.length,0,r),e):r}const n8={}.hasOwnProperty;function Fp(e){const r={};let a=-1;for(;++a<e.length;)Gv(r,e[a]);return r}function Gv(e,r){let a;for(a in r){const s=(n8.call(e,a)?e[a]:void 0)||(e[a]={}),x=r[a];let u;if(x)for(u in x){n8.call(s,u)||(s[u]=[]);const f=x[u];Qv(s[u],Array.isArray(f)?f:f?[f]:[])}}}function Qv(e,r){let a=-1;const i=[];for(;++a<r.length;)(r[a].add==="after"?e:i).push(r[a]);un(e,0,0,i)}function wp(e,r){const a=Number.parseInt(e,r);return a<9||a===11||a>13&&a<32||a>126&&a<160||a>55295&&a<57344||a>64975&&a<65008||(a&65535)===65535||(a&65535)===65534||a>1114111?"�":String.fromCodePoint(a)}function Tn(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const Ot=$0(/[A-Za-z]/),Nt=$0(/[\dA-Za-z]/),Yv=$0(/[#-'*+\--9=?A-Z^-~]/);function Mo(e){return e!==null&&(e<32||e===127)}const tc=$0(/\d/),Xv=$0(/[\dA-Fa-f]/),Kv=$0(/[!-/:-@[-`{-~]/);function ge(e){return e!==null&&e<-2}function We(e){return e!==null&&(e<0||e===32)}function ze(e){return e===-2||e===-1||e===32}const Uo=$0(new RegExp("\\p{P}|\\p{S}","u")),Er=$0(/\s/);function $0(e){return r;function r(a){return a!==null&&a>-1&&e.test(String.fromCharCode(a))}}function ma(e){const r=[];let a=-1,i=0,s=0;for(;++a<e.length;){const x=e.charCodeAt(a);let u="";if(x===37&&Nt(e.charCodeAt(a+1))&&Nt(e.charCodeAt(a+2)))s=2;else if(x<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(x))||(u=String.fromCharCode(x));else if(x>55295&&x<57344){const f=e.charCodeAt(a+1);x<56320&&f>56319&&f<57344?(u=String.fromCharCode(x,f),s=1):u="�"}else u=String.fromCharCode(x);u&&(r.push(e.slice(i,a),encodeURIComponent(u)),i=a+s+1,u=""),s&&(a+=s,s=0)}return r.join("")+e.slice(i)}function Le(e,r,a,i){const s=i?i-1:Number.POSITIVE_INFINITY;let x=0;return u;function u(d){return ze(d)?(e.enter(a),f(d)):r(d)}function f(d){return ze(d)&&x++<s?(e.consume(d),f):(e.exit(a),r(d))}}const Zv={tokenize:Jv};function Jv(e){const r=e.attempt(this.parser.constructs.contentInitial,i,s);let a;return r;function i(f){if(f===null){e.consume(f);return}return e.enter("lineEnding"),e.consume(f),e.exit("lineEnding"),Le(e,r,"linePrefix")}function s(f){return e.enter("paragraph"),x(f)}function x(f){const d=e.enter("chunkText",{contentType:"text",previous:a});return a&&(a.next=d),a=d,u(f)}function u(f){if(f===null){e.exit("chunkText"),e.exit("paragraph"),e.consume(f);return}return ge(f)?(e.consume(f),e.exit("chunkText"),x):(e.consume(f),u)}}const Wv={tokenize:ek},r8={tokenize:tk};function ek(e){const r=this,a=[];let i=0,s,x,u;return f;function f(w){if(i<a.length){const _=a[i];return r.containerState=_[1],e.attempt(_[0].continuation,d,h)(w)}return h(w)}function d(w){if(i++,r.containerState._closeFlow){r.containerState._closeFlow=void 0,s&&O();const _=r.events.length;let R=_,k;for(;R--;)if(r.events[R][0]==="exit"&&r.events[R][1].type==="chunkFlow"){k=r.events[R][1].end;break}F(i);let T=_;for(;T<r.events.length;)r.events[T][1].end={...k},T++;return un(r.events,R+1,0,r.events.slice(_)),r.events.length=T,h(w)}return f(w)}function h(w){if(i===a.length){if(!s)return y(w);if(s.currentConstruct&&s.currentConstruct.concrete)return A(w);r.interrupt=!!(s.currentConstruct&&!s._gfmTableDynamicInterruptHack)}return r.containerState={},e.check(r8,E,p)(w)}function E(w){return s&&O(),F(i),y(w)}function p(w){return r.parser.lazy[r.now().line]=i!==a.length,u=r.now().offset,A(w)}function y(w){return r.containerState={},e.attempt(r8,C,A)(w)}function C(w){return i++,a.push([r.currentConstruct,r.containerState]),y(w)}function A(w){if(w===null){s&&O(),F(0),e.consume(w);return}return s=s||r.parser.flow(r.now()),e.enter("chunkFlow",{_tokenizer:s,contentType:"flow",previous:x}),b(w)}function b(w){if(w===null){D(e.exit("chunkFlow"),!0),F(0),e.consume(w);return}return ge(w)?(e.consume(w),D(e.exit("chunkFlow")),i=0,r.interrupt=void 0,f):(e.consume(w),b)}function D(w,_){const R=r.sliceStream(w);if(_&&R.push(null),w.previous=x,x&&(x.next=w),x=w,s.defineSkip(w.start),s.write(R),r.parser.lazy[w.start.line]){let k=s.events.length;for(;k--;)if(s.events[k][1].start.offset<u&&(!s.events[k][1].end||s.events[k][1].end.offset>u))return;const T=r.events.length;let S=T,q,L;for(;S--;)if(r.events[S][0]==="exit"&&r.events[S][1].type==="chunkFlow"){if(q){L=r.events[S][1].end;break}q=!0}for(F(i),k=T;k<r.events.length;)r.events[k][1].end={...L},k++;un(r.events,S+1,0,r.events.slice(T)),r.events.length=k}}function F(w){let _=a.length;for(;_-- >w;){const R=a[_];r.containerState=R[1],R[0].exit.call(r,e)}a.length=w}function O(){s.write([null]),x=void 0,s=void 0,r.containerState._closeFlow=void 0}}function tk(e,r,a){return Le(e,e.attempt(this.parser.constructs.document,r,a),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function ua(e){if(e===null||We(e)||Er(e))return 1;if(Uo(e))return 2}function Ho(e,r,a){const i=[];let s=-1;for(;++s<e.length;){const x=e[s].resolveAll;x&&!i.includes(x)&&(r=x(r,a),i.push(x))}return r}const nc={name:"attention",resolveAll:nk,tokenize:rk};function nk(e,r){let a=-1,i,s,x,u,f,d,h,E;for(;++a<e.length;)if(e[a][0]==="enter"&&e[a][1].type==="attentionSequence"&&e[a][1]._close){for(i=a;i--;)if(e[i][0]==="exit"&&e[i][1].type==="attentionSequence"&&e[i][1]._open&&r.sliceSerialize(e[i][1]).charCodeAt(0)===r.sliceSerialize(e[a][1]).charCodeAt(0)){if((e[i][1]._close||e[a][1]._open)&&(e[a][1].end.offset-e[a][1].start.offset)%3&&!((e[i][1].end.offset-e[i][1].start.offset+e[a][1].end.offset-e[a][1].start.offset)%3))continue;d=e[i][1].end.offset-e[i][1].start.offset>1&&e[a][1].end.offset-e[a][1].start.offset>1?2:1;const p={...e[i][1].end},y={...e[a][1].start};a8(p,-d),a8(y,d),u={type:d>1?"strongSequence":"emphasisSequence",start:p,end:{...e[i][1].end}},f={type:d>1?"strongSequence":"emphasisSequence",start:{...e[a][1].start},end:y},x={type:d>1?"strongText":"emphasisText",start:{...e[i][1].end},end:{...e[a][1].start}},s={type:d>1?"strong":"emphasis",start:{...u.start},end:{...f.end}},e[i][1].end={...u.start},e[a][1].start={...f.end},h=[],e[i][1].end.offset-e[i][1].start.offset&&(h=Dn(h,[["enter",e[i][1],r],["exit",e[i][1],r]])),h=Dn(h,[["enter",s,r],["enter",u,r],["exit",u,r],["enter",x,r]]),h=Dn(h,Ho(r.parser.constructs.insideSpan.null,e.slice(i+1,a),r)),h=Dn(h,[["exit",x,r],["enter",f,r],["exit",f,r],["exit",s,r]]),e[a][1].end.offset-e[a][1].start.offset?(E=2,h=Dn(h,[["enter",e[a][1],r],["exit",e[a][1],r]])):E=0,un(e,i-1,a-i+3,h),a=i+h.length-E-2;break}}for(a=-1;++a<e.length;)e[a][1].type==="attentionSequence"&&(e[a][1].type="data");return e}function rk(e,r){const a=this.parser.constructs.attentionMarkers.null,i=this.previous,s=ua(i);let x;return u;function u(d){return x=d,e.enter("attentionSequence"),f(d)}function f(d){if(d===x)return e.consume(d),f;const h=e.exit("attentionSequence"),E=ua(d),p=!E||E===2&&s||a.includes(d),y=!s||s===2&&E||a.includes(i);return h._open=!!(x===42?p:p&&(s||!y)),h._close=!!(x===42?y:y&&(E||!p)),r(d)}}function a8(e,r){e.column+=r,e.offset+=r,e._bufferIndex+=r}const ak={name:"autolink",tokenize:lk};function lk(e,r,a){let i=0;return s;function s(C){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(C),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),x}function x(C){return Ot(C)?(e.consume(C),u):C===64?a(C):h(C)}function u(C){return C===43||C===45||C===46||Nt(C)?(i=1,f(C)):h(C)}function f(C){return C===58?(e.consume(C),i=0,d):(C===43||C===45||C===46||Nt(C))&&i++<32?(e.consume(C),f):(i=0,h(C))}function d(C){return C===62?(e.exit("autolinkProtocol"),e.enter("autolinkMarker"),e.consume(C),e.exit("autolinkMarker"),e.exit("autolink"),r):C===null||C===32||C===60||Mo(C)?a(C):(e.consume(C),d)}function h(C){return C===64?(e.consume(C),E):Yv(C)?(e.consume(C),h):a(C)}function E(C){return Nt(C)?p(C):a(C)}function p(C){return C===46?(e.consume(C),i=0,E):C===62?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(C),e.exit("autolinkMarker"),e.exit("autolink"),r):y(C)}function y(C){if((C===45||Nt(C))&&i++<63){const A=C===45?y:p;return e.consume(C),A}return a(C)}}const Ll={partial:!0,tokenize:ik};function ik(e,r,a){return i;function i(x){return ze(x)?Le(e,s,"linePrefix")(x):s(x)}function s(x){return x===null||ge(x)?r(x):a(x)}}const Sp={continuation:{tokenize:sk},exit:xk,name:"blockQuote",tokenize:ok};function ok(e,r,a){const i=this;return s;function s(u){if(u===62){const f=i.containerState;return f.open||(e.enter("blockQuote",{_container:!0}),f.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(u),e.exit("blockQuoteMarker"),x}return a(u)}function x(u){return ze(u)?(e.enter("blockQuotePrefixWhitespace"),e.consume(u),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),r):(e.exit("blockQuotePrefix"),r(u))}}function sk(e,r,a){const i=this;return s;function s(u){return ze(u)?Le(e,x,"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(u):x(u)}function x(u){return e.attempt(Sp,r,a)(u)}}function xk(e){e.exit("blockQuote")}const Mp={name:"characterEscape",tokenize:uk};function uk(e,r,a){return i;function i(x){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(x),e.exit("escapeMarker"),s}function s(x){return Kv(x)?(e.enter("characterEscapeValue"),e.consume(x),e.exit("characterEscapeValue"),e.exit("characterEscape"),r):a(x)}}const Np={name:"characterReference",tokenize:ck};function ck(e,r,a){const i=this;let s=0,x,u;return f;function f(p){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(p),e.exit("characterReferenceMarker"),d}function d(p){return p===35?(e.enter("characterReferenceMarkerNumeric"),e.consume(p),e.exit("characterReferenceMarkerNumeric"),h):(e.enter("characterReferenceValue"),x=31,u=Nt,E(p))}function h(p){return p===88||p===120?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(p),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),x=6,u=Xv,E):(e.enter("characterReferenceValue"),x=7,u=tc,E(p))}function E(p){if(p===59&&s){const y=e.exit("characterReferenceValue");return u===Nt&&!Pc(i.sliceSerialize(y))?a(p):(e.enter("characterReferenceMarker"),e.consume(p),e.exit("characterReferenceMarker"),e.exit("characterReference"),r)}return u(p)&&s++<x?(e.consume(p),E):a(p)}}const l8={partial:!0,tokenize:dk},i8={concrete:!0,name:"codeFenced",tokenize:fk};function fk(e,r,a){const i=this,s={partial:!0,tokenize:R};let x=0,u=0,f;return d;function d(k){return h(k)}function h(k){const T=i.events[i.events.length-1];return x=T&&T[1].type==="linePrefix"?T[2].sliceSerialize(T[1],!0).length:0,f=k,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),E(k)}function E(k){return k===f?(u++,e.consume(k),E):u<3?a(k):(e.exit("codeFencedFenceSequence"),ze(k)?Le(e,p,"whitespace")(k):p(k))}function p(k){return k===null||ge(k)?(e.exit("codeFencedFence"),i.interrupt?r(k):e.check(l8,b,_)(k)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),y(k))}function y(k){return k===null||ge(k)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),p(k)):ze(k)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),Le(e,C,"whitespace")(k)):k===96&&k===f?a(k):(e.consume(k),y)}function C(k){return k===null||ge(k)?p(k):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),A(k))}function A(k){return k===null||ge(k)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),p(k)):k===96&&k===f?a(k):(e.consume(k),A)}function b(k){return e.attempt(s,_,D)(k)}function D(k){return e.enter("lineEnding"),e.consume(k),e.exit("lineEnding"),F}function F(k){return x>0&&ze(k)?Le(e,O,"linePrefix",x+1)(k):O(k)}function O(k){return k===null||ge(k)?e.check(l8,b,_)(k):(e.enter("codeFlowValue"),w(k))}function w(k){return k===null||ge(k)?(e.exit("codeFlowValue"),O(k)):(e.consume(k),w)}function _(k){return e.exit("codeFenced"),r(k)}function R(k,T,S){let q=0;return L;function L($){return k.enter("lineEnding"),k.consume($),k.exit("lineEnding"),X}function X($){return k.enter("codeFencedFence"),ze($)?Le(k,K,"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4)($):K($)}function K($){return $===f?(k.enter("codeFencedFenceSequence"),ie($)):S($)}function ie($){return $===f?(q++,k.consume($),ie):q>=u?(k.exit("codeFencedFenceSequence"),ze($)?Le(k,Z,"whitespace")($):Z($)):S($)}function Z($){return $===null||ge($)?(k.exit("codeFencedFence"),T($)):S($)}}}function dk(e,r,a){const i=this;return s;function s(u){return u===null?a(u):(e.enter("lineEnding"),e.consume(u),e.exit("lineEnding"),x)}function x(u){return i.parser.lazy[i.now().line]?a(u):r(u)}}const Au={name:"codeIndented",tokenize:pk},hk={partial:!0,tokenize:mk};function pk(e,r,a){const i=this;return s;function s(h){return e.enter("codeIndented"),Le(e,x,"linePrefix",5)(h)}function x(h){const E=i.events[i.events.length-1];return E&&E[1].type==="linePrefix"&&E[2].sliceSerialize(E[1],!0).length>=4?u(h):a(h)}function u(h){return h===null?d(h):ge(h)?e.attempt(hk,u,d)(h):(e.enter("codeFlowValue"),f(h))}function f(h){return h===null||ge(h)?(e.exit("codeFlowValue"),u(h)):(e.consume(h),f)}function d(h){return e.exit("codeIndented"),r(h)}}function mk(e,r,a){const i=this;return s;function s(u){return i.parser.lazy[i.now().line]?a(u):ge(u)?(e.enter("lineEnding"),e.consume(u),e.exit("lineEnding"),s):Le(e,x,"linePrefix",5)(u)}function x(u){const f=i.events[i.events.length-1];return f&&f[1].type==="linePrefix"&&f[2].sliceSerialize(f[1],!0).length>=4?r(u):ge(u)?s(u):a(u)}}const Ek={name:"codeText",previous:yk,resolve:Ck,tokenize:gk};function Ck(e){let r=e.length-4,a=3,i,s;if((e[a][1].type==="lineEnding"||e[a][1].type==="space")&&(e[r][1].type==="lineEnding"||e[r][1].type==="space")){for(i=a;++i<r;)if(e[i][1].type==="codeTextData"){e[a][1].type="codeTextPadding",e[r][1].type="codeTextPadding",a+=2,r-=2;break}}for(i=a-1,r++;++i<=r;)s===void 0?i!==r&&e[i][1].type!=="lineEnding"&&(s=i):(i===r||e[i][1].type==="lineEnding")&&(e[s][1].type="codeTextData",i!==s+2&&(e[s][1].end=e[i-1][1].end,e.splice(s+2,i-s-2),r-=i-s-2,i=s+2),s=void 0);return e}function yk(e){return e!==96||this.events[this.events.length-1][1].type==="characterEscape"}function gk(e,r,a){let i=0,s,x;return u;function u(p){return e.enter("codeText"),e.enter("codeTextSequence"),f(p)}function f(p){return p===96?(e.consume(p),i++,f):(e.exit("codeTextSequence"),d(p))}function d(p){return p===null?a(p):p===32?(e.enter("space"),e.consume(p),e.exit("space"),d):p===96?(x=e.enter("codeTextSequence"),s=0,E(p)):ge(p)?(e.enter("lineEnding"),e.consume(p),e.exit("lineEnding"),d):(e.enter("codeTextData"),h(p))}function h(p){return p===null||p===32||p===96||ge(p)?(e.exit("codeTextData"),d(p)):(e.consume(p),h)}function E(p){return p===96?(e.consume(p),s++,E):s===i?(e.exit("codeTextSequence"),e.exit("codeText"),r(p)):(x.type="codeTextData",h(p))}}class Bk{constructor(r){this.left=r?[...r]:[],this.right=[]}get(r){if(r<0||r>=this.left.length+this.right.length)throw new RangeError("Cannot access index `"+r+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return r<this.left.length?this.left[r]:this.right[this.right.length-r+this.left.length-1]}get length(){return this.left.length+this.right.length}shift(){return this.setCursor(0),this.right.pop()}slice(r,a){const i=a??Number.POSITIVE_INFINITY;return i<this.left.length?this.left.slice(r,i):r>this.left.length?this.right.slice(this.right.length-i+this.left.length,this.right.length-r+this.left.length).reverse():this.left.slice(r).concat(this.right.slice(this.right.length-i+this.left.length).reverse())}splice(r,a,i){const s=a||0;this.setCursor(Math.trunc(r));const x=this.right.splice(this.right.length-s,Number.POSITIVE_INFINITY);return i&&pl(this.left,i),x.reverse()}pop(){return this.setCursor(Number.POSITIVE_INFINITY),this.left.pop()}push(r){this.setCursor(Number.POSITIVE_INFINITY),this.left.push(r)}pushMany(r){this.setCursor(Number.POSITIVE_INFINITY),pl(this.left,r)}unshift(r){this.setCursor(0),this.right.push(r)}unshiftMany(r){this.setCursor(0),pl(this.right,r.reverse())}setCursor(r){if(!(r===this.left.length||r>this.left.length&&this.right.length===0||r<0&&this.left.length===0))if(r<this.left.length){const a=this.left.splice(r,Number.POSITIVE_INFINITY);pl(this.right,a.reverse())}else{const a=this.right.splice(this.left.length+this.right.length-r,Number.POSITIVE_INFINITY);pl(this.left,a.reverse())}}}function pl(e,r){let a=0;if(r.length<1e4)e.push(...r);else for(;a<r.length;)e.push(...r.slice(a,a+1e4)),a+=1e4}function _p(e){const r={};let a=-1,i,s,x,u,f,d,h;const E=new Bk(e);for(;++a<E.length;){for(;a in r;)a=r[a];if(i=E.get(a),a&&i[1].type==="chunkFlow"&&E.get(a-1)[1].type==="listItemPrefix"&&(d=i[1]._tokenizer.events,x=0,x<d.length&&d[x][1].type==="lineEndingBlank"&&(x+=2),x<d.length&&d[x][1].type==="content"))for(;++x<d.length&&d[x][1].type!=="content";)d[x][1].type==="chunkText"&&(d[x][1]._isInFirstContentOfListItem=!0,x++);if(i[0]==="enter")i[1].contentType&&(Object.assign(r,Ak(E,a)),a=r[a],h=!0);else if(i[1]._container){for(x=a,s=void 0;x--;)if(u=E.get(x),u[1].type==="lineEnding"||u[1].type==="lineEndingBlank")u[0]==="enter"&&(s&&(E.get(s)[1].type="lineEndingBlank"),u[1].type="lineEnding",s=x);else if(!(u[1].type==="linePrefix"||u[1].type==="listItemIndent"))break;s&&(i[1].end={...E.get(s)[1].start},f=E.slice(s,a),f.unshift(i),E.splice(s,a-s+1,f))}}return un(e,0,Number.POSITIVE_INFINITY,E.slice(0)),!h}function Ak(e,r){const a=e.get(r)[1],i=e.get(r)[2];let s=r-1;const x=[];let u=a._tokenizer;u||(u=i.parser[a.contentType](a.start),a._contentTypeTextTrailing&&(u._contentTypeTextTrailing=!0));const f=u.events,d=[],h={};let E,p,y=-1,C=a,A=0,b=0;const D=[b];for(;C;){for(;e.get(++s)[1]!==C;);x.push(s),C._tokenizer||(E=i.sliceStream(C),C.next||E.push(null),p&&u.defineSkip(C.start),C._isInFirstContentOfListItem&&(u._gfmTasklistFirstContentOfListItem=!0),u.write(E),C._isInFirstContentOfListItem&&(u._gfmTasklistFirstContentOfListItem=void 0)),p=C,C=C.next}for(C=a;++y<f.length;)f[y][0]==="exit"&&f[y-1][0]==="enter"&&f[y][1].type===f[y-1][1].type&&f[y][1].start.line!==f[y][1].end.line&&(b=y+1,D.push(b),C._tokenizer=void 0,C.previous=void 0,C=C.next);for(u.events=[],C?(C._tokenizer=void 0,C.previous=void 0):D.pop(),y=D.length;y--;){const F=f.slice(D[y],D[y+1]),O=x.pop();d.push([O,O+F.length-1]),e.splice(O,2,F)}for(d.reverse(),y=-1;++y<d.length;)h[A+d[y][0]]=A+d[y][1],A+=d[y][1]-d[y][0]-1;return h}const bk={resolve:vk,tokenize:kk},Dk={partial:!0,tokenize:Fk};function vk(e){return _p(e),e}function kk(e,r){let a;return i;function i(f){return e.enter("content"),a=e.enter("chunkContent",{contentType:"content"}),s(f)}function s(f){return f===null?x(f):ge(f)?e.check(Dk,u,x)(f):(e.consume(f),s)}function x(f){return e.exit("chunkContent"),e.exit("content"),r(f)}function u(f){return e.consume(f),e.exit("chunkContent"),a.next=e.enter("chunkContent",{contentType:"content",previous:a}),a=a.next,s}}function Fk(e,r,a){const i=this;return s;function s(u){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(u),e.exit("lineEnding"),Le(e,x,"linePrefix")}function x(u){if(u===null||ge(u))return a(u);const f=i.events[i.events.length-1];return!i.parser.constructs.disable.null.includes("codeIndented")&&f&&f[1].type==="linePrefix"&&f[2].sliceSerialize(f[1],!0).length>=4?r(u):e.interrupt(i.parser.constructs.flow,a,r)(u)}}function Tp(e,r,a,i,s,x,u,f,d){const h=d||Number.POSITIVE_INFINITY;let E=0;return p;function p(F){return F===60?(e.enter(i),e.enter(s),e.enter(x),e.consume(F),e.exit(x),y):F===null||F===32||F===41||Mo(F)?a(F):(e.enter(i),e.enter(u),e.enter(f),e.enter("chunkString",{contentType:"string"}),b(F))}function y(F){return F===62?(e.enter(x),e.consume(F),e.exit(x),e.exit(s),e.exit(i),r):(e.enter(f),e.enter("chunkString",{contentType:"string"}),C(F))}function C(F){return F===62?(e.exit("chunkString"),e.exit(f),y(F)):F===null||F===60||ge(F)?a(F):(e.consume(F),F===92?A:C)}function A(F){return F===60||F===62||F===92?(e.consume(F),C):C(F)}function b(F){return!E&&(F===null||F===41||We(F))?(e.exit("chunkString"),e.exit(f),e.exit(u),e.exit(i),r(F)):E<h&&F===40?(e.consume(F),E++,b):F===41?(e.consume(F),E--,b):F===null||F===32||F===40||Mo(F)?a(F):(e.consume(F),F===92?D:b)}function D(F){return F===40||F===41||F===92?(e.consume(F),b):b(F)}}function zp(e,r,a,i,s,x){const u=this;let f=0,d;return h;function h(C){return e.enter(i),e.enter(s),e.consume(C),e.exit(s),e.enter(x),E}function E(C){return f>999||C===null||C===91||C===93&&!d||C===94&&!f&&"_hiddenFootnoteSupport"in u.parser.constructs?a(C):C===93?(e.exit(x),e.enter(s),e.consume(C),e.exit(s),e.exit(i),r):ge(C)?(e.enter("lineEnding"),e.consume(C),e.exit("lineEnding"),E):(e.enter("chunkString",{contentType:"string"}),p(C))}function p(C){return C===null||C===91||C===93||ge(C)||f++>999?(e.exit("chunkString"),E(C)):(e.consume(C),d||(d=!ze(C)),C===92?y:p)}function y(C){return C===91||C===92||C===93?(e.consume(C),f++,p):p(C)}}function jp(e,r,a,i,s,x){let u;return f;function f(y){return y===34||y===39||y===40?(e.enter(i),e.enter(s),e.consume(y),e.exit(s),u=y===40?41:y,d):a(y)}function d(y){return y===u?(e.enter(s),e.consume(y),e.exit(s),e.exit(i),r):(e.enter(x),h(y))}function h(y){return y===u?(e.exit(x),d(u)):y===null?a(y):ge(y)?(e.enter("lineEnding"),e.consume(y),e.exit("lineEnding"),Le(e,h,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),E(y))}function E(y){return y===u||y===null||ge(y)?(e.exit("chunkString"),h(y)):(e.consume(y),y===92?p:E)}function p(y){return y===u||y===92?(e.consume(y),E):E(y)}}function Bl(e,r){let a;return i;function i(s){return ge(s)?(e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),a=!0,i):ze(s)?Le(e,i,a?"linePrefix":"lineSuffix")(s):r(s)}}const wk={name:"definition",tokenize:Mk},Sk={partial:!0,tokenize:Nk};function Mk(e,r,a){const i=this;let s;return x;function x(C){return e.enter("definition"),u(C)}function u(C){return zp.call(i,e,f,a,"definitionLabel","definitionLabelMarker","definitionLabelString")(C)}function f(C){return s=Tn(i.sliceSerialize(i.events[i.events.length-1][1]).slice(1,-1)),C===58?(e.enter("definitionMarker"),e.consume(C),e.exit("definitionMarker"),d):a(C)}function d(C){return We(C)?Bl(e,h)(C):h(C)}function h(C){return Tp(e,E,a,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(C)}function E(C){return e.attempt(Sk,p,p)(C)}function p(C){return ze(C)?Le(e,y,"whitespace")(C):y(C)}function y(C){return C===null||ge(C)?(e.exit("definition"),i.parser.defined.push(s),r(C)):a(C)}}function Nk(e,r,a){return i;function i(f){return We(f)?Bl(e,s)(f):a(f)}function s(f){return jp(e,x,a,"definitionTitle","definitionTitleMarker","definitionTitleString")(f)}function x(f){return ze(f)?Le(e,u,"whitespace")(f):u(f)}function u(f){return f===null||ge(f)?r(f):a(f)}}const _k={name:"hardBreakEscape",tokenize:Tk};function Tk(e,r,a){return i;function i(x){return e.enter("hardBreakEscape"),e.consume(x),s}function s(x){return ge(x)?(e.exit("hardBreakEscape"),r(x)):a(x)}}const zk={name:"headingAtx",resolve:jk,tokenize:Rk};function jk(e,r){let a=e.length-2,i=3,s,x;return e[i][1].type==="whitespace"&&(i+=2),a-2>i&&e[a][1].type==="whitespace"&&(a-=2),e[a][1].type==="atxHeadingSequence"&&(i===a-1||a-4>i&&e[a-2][1].type==="whitespace")&&(a-=i+1===a?2:4),a>i&&(s={type:"atxHeadingText",start:e[i][1].start,end:e[a][1].end},x={type:"chunkText",start:e[i][1].start,end:e[a][1].end,contentType:"text"},un(e,i,a-i+1,[["enter",s,r],["enter",x,r],["exit",x,r],["exit",s,r]])),e}function Rk(e,r,a){let i=0;return s;function s(E){return e.enter("atxHeading"),x(E)}function x(E){return e.enter("atxHeadingSequence"),u(E)}function u(E){return E===35&&i++<6?(e.consume(E),u):E===null||We(E)?(e.exit("atxHeadingSequence"),f(E)):a(E)}function f(E){return E===35?(e.enter("atxHeadingSequence"),d(E)):E===null||ge(E)?(e.exit("atxHeading"),r(E)):ze(E)?Le(e,f,"whitespace")(E):(e.enter("atxHeadingText"),h(E))}function d(E){return E===35?(e.consume(E),d):(e.exit("atxHeadingSequence"),f(E))}function h(E){return E===null||E===35||We(E)?(e.exit("atxHeadingText"),f(E)):(e.consume(E),h)}}const Ok=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],o8=["pre","script","style","textarea"],Lk={concrete:!0,name:"htmlFlow",resolveTo:Hk,tokenize:qk},Pk={partial:!0,tokenize:Vk},Uk={partial:!0,tokenize:Ik};function Hk(e){let r=e.length;for(;r--&&!(e[r][0]==="enter"&&e[r][1].type==="htmlFlow"););return r>1&&e[r-2][1].type==="linePrefix"&&(e[r][1].start=e[r-2][1].start,e[r+1][1].start=e[r-2][1].start,e.splice(r-2,2)),e}function qk(e,r,a){const i=this;let s,x,u,f,d;return h;function h(N){return E(N)}function E(N){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(N),p}function p(N){return N===33?(e.consume(N),y):N===47?(e.consume(N),x=!0,b):N===63?(e.consume(N),s=3,i.interrupt?r:M):Ot(N)?(e.consume(N),u=String.fromCharCode(N),D):a(N)}function y(N){return N===45?(e.consume(N),s=2,C):N===91?(e.consume(N),s=5,f=0,A):Ot(N)?(e.consume(N),s=4,i.interrupt?r:M):a(N)}function C(N){return N===45?(e.consume(N),i.interrupt?r:M):a(N)}function A(N){const ae="CDATA[";return N===ae.charCodeAt(f++)?(e.consume(N),f===ae.length?i.interrupt?r:K:A):a(N)}function b(N){return Ot(N)?(e.consume(N),u=String.fromCharCode(N),D):a(N)}function D(N){if(N===null||N===47||N===62||We(N)){const ae=N===47,ce=u.toLowerCase();return!ae&&!x&&o8.includes(ce)?(s=1,i.interrupt?r(N):K(N)):Ok.includes(u.toLowerCase())?(s=6,ae?(e.consume(N),F):i.interrupt?r(N):K(N)):(s=7,i.interrupt&&!i.parser.lazy[i.now().line]?a(N):x?O(N):w(N))}return N===45||Nt(N)?(e.consume(N),u+=String.fromCharCode(N),D):a(N)}function F(N){return N===62?(e.consume(N),i.interrupt?r:K):a(N)}function O(N){return ze(N)?(e.consume(N),O):L(N)}function w(N){return N===47?(e.consume(N),L):N===58||N===95||Ot(N)?(e.consume(N),_):ze(N)?(e.consume(N),w):L(N)}function _(N){return N===45||N===46||N===58||N===95||Nt(N)?(e.consume(N),_):R(N)}function R(N){return N===61?(e.consume(N),k):ze(N)?(e.consume(N),R):w(N)}function k(N){return N===null||N===60||N===61||N===62||N===96?a(N):N===34||N===39?(e.consume(N),d=N,T):ze(N)?(e.consume(N),k):S(N)}function T(N){return N===d?(e.consume(N),d=null,q):N===null||ge(N)?a(N):(e.consume(N),T)}function S(N){return N===null||N===34||N===39||N===47||N===60||N===61||N===62||N===96||We(N)?R(N):(e.consume(N),S)}function q(N){return N===47||N===62||ze(N)?w(N):a(N)}function L(N){return N===62?(e.consume(N),X):a(N)}function X(N){return N===null||ge(N)?K(N):ze(N)?(e.consume(N),X):a(N)}function K(N){return N===45&&s===2?(e.consume(N),P):N===60&&s===1?(e.consume(N),Y):N===62&&s===4?(e.consume(N),j):N===63&&s===3?(e.consume(N),M):N===93&&s===5?(e.consume(N),fe):ge(N)&&(s===6||s===7)?(e.exit("htmlFlowData"),e.check(Pk,W,ie)(N)):N===null||ge(N)?(e.exit("htmlFlowData"),ie(N)):(e.consume(N),K)}function ie(N){return e.check(Uk,Z,W)(N)}function Z(N){return e.enter("lineEnding"),e.consume(N),e.exit("lineEnding"),$}function $(N){return N===null||ge(N)?ie(N):(e.enter("htmlFlowData"),K(N))}function P(N){return N===45?(e.consume(N),M):K(N)}function Y(N){return N===47?(e.consume(N),u="",oe):K(N)}function oe(N){if(N===62){const ae=u.toLowerCase();return o8.includes(ae)?(e.consume(N),j):K(N)}return Ot(N)&&u.length<8?(e.consume(N),u+=String.fromCharCode(N),oe):K(N)}function fe(N){return N===93?(e.consume(N),M):K(N)}function M(N){return N===62?(e.consume(N),j):N===45&&s===2?(e.consume(N),M):K(N)}function j(N){return N===null||ge(N)?(e.exit("htmlFlowData"),W(N)):(e.consume(N),j)}function W(N){return e.exit("htmlFlow"),r(N)}}function Ik(e,r,a){const i=this;return s;function s(u){return ge(u)?(e.enter("lineEnding"),e.consume(u),e.exit("lineEnding"),x):a(u)}function x(u){return i.parser.lazy[i.now().line]?a(u):r(u)}}function Vk(e,r,a){return i;function i(s){return e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),e.attempt(Ll,r,a)}}const $k={name:"htmlText",tokenize:Gk};function Gk(e,r,a){const i=this;let s,x,u;return f;function f(M){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(M),d}function d(M){return M===33?(e.consume(M),h):M===47?(e.consume(M),R):M===63?(e.consume(M),w):Ot(M)?(e.consume(M),S):a(M)}function h(M){return M===45?(e.consume(M),E):M===91?(e.consume(M),x=0,A):Ot(M)?(e.consume(M),O):a(M)}function E(M){return M===45?(e.consume(M),C):a(M)}function p(M){return M===null?a(M):M===45?(e.consume(M),y):ge(M)?(u=p,Y(M)):(e.consume(M),p)}function y(M){return M===45?(e.consume(M),C):p(M)}function C(M){return M===62?P(M):M===45?y(M):p(M)}function A(M){const j="CDATA[";return M===j.charCodeAt(x++)?(e.consume(M),x===j.length?b:A):a(M)}function b(M){return M===null?a(M):M===93?(e.consume(M),D):ge(M)?(u=b,Y(M)):(e.consume(M),b)}function D(M){return M===93?(e.consume(M),F):b(M)}function F(M){return M===62?P(M):M===93?(e.consume(M),F):b(M)}function O(M){return M===null||M===62?P(M):ge(M)?(u=O,Y(M)):(e.consume(M),O)}function w(M){return M===null?a(M):M===63?(e.consume(M),_):ge(M)?(u=w,Y(M)):(e.consume(M),w)}function _(M){return M===62?P(M):w(M)}function R(M){return Ot(M)?(e.consume(M),k):a(M)}function k(M){return M===45||Nt(M)?(e.consume(M),k):T(M)}function T(M){return ge(M)?(u=T,Y(M)):ze(M)?(e.consume(M),T):P(M)}function S(M){return M===45||Nt(M)?(e.consume(M),S):M===47||M===62||We(M)?q(M):a(M)}function q(M){return M===47?(e.consume(M),P):M===58||M===95||Ot(M)?(e.consume(M),L):ge(M)?(u=q,Y(M)):ze(M)?(e.consume(M),q):P(M)}function L(M){return M===45||M===46||M===58||M===95||Nt(M)?(e.consume(M),L):X(M)}function X(M){return M===61?(e.consume(M),K):ge(M)?(u=X,Y(M)):ze(M)?(e.consume(M),X):q(M)}function K(M){return M===null||M===60||M===61||M===62||M===96?a(M):M===34||M===39?(e.consume(M),s=M,ie):ge(M)?(u=K,Y(M)):ze(M)?(e.consume(M),K):(e.consume(M),Z)}function ie(M){return M===s?(e.consume(M),s=void 0,$):M===null?a(M):ge(M)?(u=ie,Y(M)):(e.consume(M),ie)}function Z(M){return M===null||M===34||M===39||M===60||M===61||M===96?a(M):M===47||M===62||We(M)?q(M):(e.consume(M),Z)}function $(M){return M===47||M===62||We(M)?q(M):a(M)}function P(M){return M===62?(e.consume(M),e.exit("htmlTextData"),e.exit("htmlText"),r):a(M)}function Y(M){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(M),e.exit("lineEnding"),oe}function oe(M){return ze(M)?Le(e,fe,"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(M):fe(M)}function fe(M){return e.enter("htmlTextData"),u(M)}}const Uc={name:"labelEnd",resolveAll:Kk,resolveTo:Zk,tokenize:Jk},Qk={tokenize:Wk},Yk={tokenize:eF},Xk={tokenize:tF};function Kk(e){let r=-1;const a=[];for(;++r<e.length;){const i=e[r][1];if(a.push(e[r]),i.type==="labelImage"||i.type==="labelLink"||i.type==="labelEnd"){const s=i.type==="labelImage"?4:2;i.type="data",r+=s}}return e.length!==a.length&&un(e,0,e.length,a),e}function Zk(e,r){let a=e.length,i=0,s,x,u,f;for(;a--;)if(s=e[a][1],x){if(s.type==="link"||s.type==="labelLink"&&s._inactive)break;e[a][0]==="enter"&&s.type==="labelLink"&&(s._inactive=!0)}else if(u){if(e[a][0]==="enter"&&(s.type==="labelImage"||s.type==="labelLink")&&!s._balanced&&(x=a,s.type!=="labelLink")){i=2;break}}else s.type==="labelEnd"&&(u=a);const d={type:e[x][1].type==="labelLink"?"link":"image",start:{...e[x][1].start},end:{...e[e.length-1][1].end}},h={type:"label",start:{...e[x][1].start},end:{...e[u][1].end}},E={type:"labelText",start:{...e[x+i+2][1].end},end:{...e[u-2][1].start}};return f=[["enter",d,r],["enter",h,r]],f=Dn(f,e.slice(x+1,x+i+3)),f=Dn(f,[["enter",E,r]]),f=Dn(f,Ho(r.parser.constructs.insideSpan.null,e.slice(x+i+4,u-3),r)),f=Dn(f,[["exit",E,r],e[u-2],e[u-1],["exit",h,r]]),f=Dn(f,e.slice(u+1)),f=Dn(f,[["exit",d,r]]),un(e,x,e.length,f),e}function Jk(e,r,a){const i=this;let s=i.events.length,x,u;for(;s--;)if((i.events[s][1].type==="labelImage"||i.events[s][1].type==="labelLink")&&!i.events[s][1]._balanced){x=i.events[s][1];break}return f;function f(y){return x?x._inactive?p(y):(u=i.parser.defined.includes(Tn(i.sliceSerialize({start:x.end,end:i.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(y),e.exit("labelMarker"),e.exit("labelEnd"),d):a(y)}function d(y){return y===40?e.attempt(Qk,E,u?E:p)(y):y===91?e.attempt(Yk,E,u?h:p)(y):u?E(y):p(y)}function h(y){return e.attempt(Xk,E,p)(y)}function E(y){return r(y)}function p(y){return x._balanced=!0,a(y)}}function Wk(e,r,a){return i;function i(p){return e.enter("resource"),e.enter("resourceMarker"),e.consume(p),e.exit("resourceMarker"),s}function s(p){return We(p)?Bl(e,x)(p):x(p)}function x(p){return p===41?E(p):Tp(e,u,f,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(p)}function u(p){return We(p)?Bl(e,d)(p):E(p)}function f(p){return a(p)}function d(p){return p===34||p===39||p===40?jp(e,h,a,"resourceTitle","resourceTitleMarker","resourceTitleString")(p):E(p)}function h(p){return We(p)?Bl(e,E)(p):E(p)}function E(p){return p===41?(e.enter("resourceMarker"),e.consume(p),e.exit("resourceMarker"),e.exit("resource"),r):a(p)}}function eF(e,r,a){const i=this;return s;function s(f){return zp.call(i,e,x,u,"reference","referenceMarker","referenceString")(f)}function x(f){return i.parser.defined.includes(Tn(i.sliceSerialize(i.events[i.events.length-1][1]).slice(1,-1)))?r(f):a(f)}function u(f){return a(f)}}function tF(e,r,a){return i;function i(x){return e.enter("reference"),e.enter("referenceMarker"),e.consume(x),e.exit("referenceMarker"),s}function s(x){return x===93?(e.enter("referenceMarker"),e.consume(x),e.exit("referenceMarker"),e.exit("reference"),r):a(x)}}const nF={name:"labelStartImage",resolveAll:Uc.resolveAll,tokenize:rF};function rF(e,r,a){const i=this;return s;function s(f){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(f),e.exit("labelImageMarker"),x}function x(f){return f===91?(e.enter("labelMarker"),e.consume(f),e.exit("labelMarker"),e.exit("labelImage"),u):a(f)}function u(f){return f===94&&"_hiddenFootnoteSupport"in i.parser.constructs?a(f):r(f)}}const aF={name:"labelStartLink",resolveAll:Uc.resolveAll,tokenize:lF};function lF(e,r,a){const i=this;return s;function s(u){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(u),e.exit("labelMarker"),e.exit("labelLink"),x}function x(u){return u===94&&"_hiddenFootnoteSupport"in i.parser.constructs?a(u):r(u)}}const bu={name:"lineEnding",tokenize:iF};function iF(e,r){return a;function a(i){return e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),Le(e,r,"linePrefix")}}const Co={name:"thematicBreak",tokenize:oF};function oF(e,r,a){let i=0,s;return x;function x(h){return e.enter("thematicBreak"),u(h)}function u(h){return s=h,f(h)}function f(h){return h===s?(e.enter("thematicBreakSequence"),d(h)):i>=3&&(h===null||ge(h))?(e.exit("thematicBreak"),r(h)):a(h)}function d(h){return h===s?(e.consume(h),i++,d):(e.exit("thematicBreakSequence"),ze(h)?Le(e,f,"whitespace")(h):f(h))}}const Yt={continuation:{tokenize:cF},exit:dF,name:"list",tokenize:uF},sF={partial:!0,tokenize:hF},xF={partial:!0,tokenize:fF};function uF(e,r,a){const i=this,s=i.events[i.events.length-1];let x=s&&s[1].type==="linePrefix"?s[2].sliceSerialize(s[1],!0).length:0,u=0;return f;function f(C){const A=i.containerState.type||(C===42||C===43||C===45?"listUnordered":"listOrdered");if(A==="listUnordered"?!i.containerState.marker||C===i.containerState.marker:tc(C)){if(i.containerState.type||(i.containerState.type=A,e.enter(A,{_container:!0})),A==="listUnordered")return e.enter("listItemPrefix"),C===42||C===45?e.check(Co,a,h)(C):h(C);if(!i.interrupt||C===49)return e.enter("listItemPrefix"),e.enter("listItemValue"),d(C)}return a(C)}function d(C){return tc(C)&&++u<10?(e.consume(C),d):(!i.interrupt||u<2)&&(i.containerState.marker?C===i.containerState.marker:C===41||C===46)?(e.exit("listItemValue"),h(C)):a(C)}function h(C){return e.enter("listItemMarker"),e.consume(C),e.exit("listItemMarker"),i.containerState.marker=i.containerState.marker||C,e.check(Ll,i.interrupt?a:E,e.attempt(sF,y,p))}function E(C){return i.containerState.initialBlankLine=!0,x++,y(C)}function p(C){return ze(C)?(e.enter("listItemPrefixWhitespace"),e.consume(C),e.exit("listItemPrefixWhitespace"),y):a(C)}function y(C){return i.containerState.size=x+i.sliceSerialize(e.exit("listItemPrefix"),!0).length,r(C)}}function cF(e,r,a){const i=this;return i.containerState._closeFlow=void 0,e.check(Ll,s,x);function s(f){return i.containerState.furtherBlankLines=i.containerState.furtherBlankLines||i.containerState.initialBlankLine,Le(e,r,"listItemIndent",i.containerState.size+1)(f)}function x(f){return i.containerState.furtherBlankLines||!ze(f)?(i.containerState.furtherBlankLines=void 0,i.containerState.initialBlankLine=void 0,u(f)):(i.containerState.furtherBlankLines=void 0,i.containerState.initialBlankLine=void 0,e.attempt(xF,r,u)(f))}function u(f){return i.containerState._closeFlow=!0,i.interrupt=void 0,Le(e,e.attempt(Yt,r,a),"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(f)}}function fF(e,r,a){const i=this;return Le(e,s,"listItemIndent",i.containerState.size+1);function s(x){const u=i.events[i.events.length-1];return u&&u[1].type==="listItemIndent"&&u[2].sliceSerialize(u[1],!0).length===i.containerState.size?r(x):a(x)}}function dF(e){e.exit(this.containerState.type)}function hF(e,r,a){const i=this;return Le(e,s,"listItemPrefixWhitespace",i.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function s(x){const u=i.events[i.events.length-1];return!ze(x)&&u&&u[1].type==="listItemPrefixWhitespace"?r(x):a(x)}}const s8={name:"setextUnderline",resolveTo:pF,tokenize:mF};function pF(e,r){let a=e.length,i,s,x;for(;a--;)if(e[a][0]==="enter"){if(e[a][1].type==="content"){i=a;break}e[a][1].type==="paragraph"&&(s=a)}else e[a][1].type==="content"&&e.splice(a,1),!x&&e[a][1].type==="definition"&&(x=a);const u={type:"setextHeading",start:{...e[i][1].start},end:{...e[e.length-1][1].end}};return e[s][1].type="setextHeadingText",x?(e.splice(s,0,["enter",u,r]),e.splice(x+1,0,["exit",e[i][1],r]),e[i][1].end={...e[x][1].end}):e[i][1]=u,e.push(["exit",u,r]),e}function mF(e,r,a){const i=this;let s;return x;function x(h){let E=i.events.length,p;for(;E--;)if(i.events[E][1].type!=="lineEnding"&&i.events[E][1].type!=="linePrefix"&&i.events[E][1].type!=="content"){p=i.events[E][1].type==="paragraph";break}return!i.parser.lazy[i.now().line]&&(i.interrupt||p)?(e.enter("setextHeadingLine"),s=h,u(h)):a(h)}function u(h){return e.enter("setextHeadingLineSequence"),f(h)}function f(h){return h===s?(e.consume(h),f):(e.exit("setextHeadingLineSequence"),ze(h)?Le(e,d,"lineSuffix")(h):d(h))}function d(h){return h===null||ge(h)?(e.exit("setextHeadingLine"),r(h)):a(h)}}const EF={tokenize:CF};function CF(e){const r=this,a=e.attempt(Ll,i,e.attempt(this.parser.constructs.flowInitial,s,Le(e,e.attempt(this.parser.constructs.flow,s,e.attempt(bk,s)),"linePrefix")));return a;function i(x){if(x===null){e.consume(x);return}return e.enter("lineEndingBlank"),e.consume(x),e.exit("lineEndingBlank"),r.currentConstruct=void 0,a}function s(x){if(x===null){e.consume(x);return}return e.enter("lineEnding"),e.consume(x),e.exit("lineEnding"),r.currentConstruct=void 0,a}}const yF={resolveAll:Op()},gF=Rp("string"),BF=Rp("text");function Rp(e){return{resolveAll:Op(e==="text"?AF:void 0),tokenize:r};function r(a){const i=this,s=this.parser.constructs[e],x=a.attempt(s,u,f);return u;function u(E){return h(E)?x(E):f(E)}function f(E){if(E===null){a.consume(E);return}return a.enter("data"),a.consume(E),d}function d(E){return h(E)?(a.exit("data"),x(E)):(a.consume(E),d)}function h(E){if(E===null)return!0;const p=s[E];let y=-1;if(p)for(;++y<p.length;){const C=p[y];if(!C.previous||C.previous.call(i,i.previous))return!0}return!1}}}function Op(e){return r;function r(a,i){let s=-1,x;for(;++s<=a.length;)x===void 0?a[s]&&a[s][1].type==="data"&&(x=s,s++):(!a[s]||a[s][1].type!=="data")&&(s!==x+2&&(a[x][1].end=a[s-1][1].end,a.splice(x+2,s-x-2),s=x+2),x=void 0);return e?e(a,i):a}}function AF(e,r){let a=0;for(;++a<=e.length;)if((a===e.length||e[a][1].type==="lineEnding")&&e[a-1][1].type==="data"){const i=e[a-1][1],s=r.sliceStream(i);let x=s.length,u=-1,f=0,d;for(;x--;){const h=s[x];if(typeof h=="string"){for(u=h.length;h.charCodeAt(u-1)===32;)f++,u--;if(u)break;u=-1}else if(h===-2)d=!0,f++;else if(h!==-1){x++;break}}if(r._contentTypeTextTrailing&&a===e.length&&(f=0),f){const h={type:a===e.length||d||f<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:x?u:i.start._bufferIndex+u,_index:i.start._index+x,line:i.end.line,column:i.end.column-f,offset:i.end.offset-f},end:{...i.end}};i.end={...h.start},i.start.offset===i.end.offset?Object.assign(i,h):(e.splice(a,0,["enter",h,r],["exit",h,r]),a+=2)}a++}return e}const bF={42:Yt,43:Yt,45:Yt,48:Yt,49:Yt,50:Yt,51:Yt,52:Yt,53:Yt,54:Yt,55:Yt,56:Yt,57:Yt,62:Sp},DF={91:wk},vF={[-2]:Au,[-1]:Au,32:Au},kF={35:zk,42:Co,45:[s8,Co],60:Lk,61:s8,95:Co,96:i8,126:i8},FF={38:Np,92:Mp},wF={[-5]:bu,[-4]:bu,[-3]:bu,33:nF,38:Np,42:nc,60:[ak,$k],91:aF,92:[_k,Mp],93:Uc,95:nc,96:Ek},SF={null:[nc,yF]},MF={null:[42,95]},NF={null:[]},_F=Object.freeze(Object.defineProperty({__proto__:null,attentionMarkers:MF,contentInitial:DF,disable:NF,document:bF,flow:kF,flowInitial:vF,insideSpan:SF,string:FF,text:wF},Symbol.toStringTag,{value:"Module"}));function TF(e,r,a){let i={_bufferIndex:-1,_index:0,line:a&&a.line||1,column:a&&a.column||1,offset:a&&a.offset||0};const s={},x=[];let u=[],f=[];const d={attempt:T(R),check:T(k),consume:O,enter:w,exit:_,interrupt:T(k,{interrupt:!0})},h={code:null,containerState:{},defineSkip:b,events:[],now:A,parser:e,previous:null,sliceSerialize:y,sliceStream:C,write:p};let E=r.tokenize.call(h,d);return r.resolveAll&&x.push(r),h;function p(X){return u=Dn(u,X),D(),u[u.length-1]!==null?[]:(S(r,0),h.events=Ho(x,h.events,h),h.events)}function y(X,K){return jF(C(X),K)}function C(X){return zF(u,X)}function A(){const{_bufferIndex:X,_index:K,line:ie,column:Z,offset:$}=i;return{_bufferIndex:X,_index:K,line:ie,column:Z,offset:$}}function b(X){s[X.line]=X.column,L()}function D(){let X;for(;i._index<u.length;){const K=u[i._index];if(typeof K=="string")for(X=i._index,i._bufferIndex<0&&(i._bufferIndex=0);i._index===X&&i._bufferIndex<K.length;)F(K.charCodeAt(i._bufferIndex));else F(K)}}function F(X){E=E(X)}function O(X){ge(X)?(i.line++,i.column=1,i.offset+=X===-3?2:1,L()):X!==-1&&(i.column++,i.offset++),i._bufferIndex<0?i._index++:(i._bufferIndex++,i._bufferIndex===u[i._index].length&&(i._bufferIndex=-1,i._index++)),h.previous=X}function w(X,K){const ie=K||{};return ie.type=X,ie.start=A(),h.events.push(["enter",ie,h]),f.push(ie),ie}function _(X){const K=f.pop();return K.end=A(),h.events.push(["exit",K,h]),K}function R(X,K){S(X,K.from)}function k(X,K){K.restore()}function T(X,K){return ie;function ie(Z,$,P){let Y,oe,fe,M;return Array.isArray(Z)?W(Z):"tokenize"in Z?W([Z]):j(Z);function j(xe){return Ee;function Ee(Pe){const Ce=Pe!==null&&xe[Pe],Bt=Pe!==null&&xe.null,ot=[...Array.isArray(Ce)?Ce:Ce?[Ce]:[],...Array.isArray(Bt)?Bt:Bt?[Bt]:[]];return W(ot)(Pe)}}function W(xe){return Y=xe,oe=0,xe.length===0?P:N(xe[oe])}function N(xe){return Ee;function Ee(Pe){return M=q(),fe=xe,xe.partial||(h.currentConstruct=xe),xe.name&&h.parser.constructs.disable.null.includes(xe.name)?ce():xe.tokenize.call(K?Object.assign(Object.create(h),K):h,d,ae,ce)(Pe)}}function ae(xe){return X(fe,M),$}function ce(xe){return M.restore(),++oe<Y.length?N(Y[oe]):P}}}function S(X,K){X.resolveAll&&!x.includes(X)&&x.push(X),X.resolve&&un(h.events,K,h.events.length-K,X.resolve(h.events.slice(K),h)),X.resolveTo&&(h.events=X.resolveTo(h.events,h))}function q(){const X=A(),K=h.previous,ie=h.currentConstruct,Z=h.events.length,$=Array.from(f);return{from:Z,restore:P};function P(){i=X,h.previous=K,h.currentConstruct=ie,h.events.length=Z,f=$,L()}}function L(){i.line in s&&i.column<2&&(i.column=s[i.line],i.offset+=s[i.line]-1)}}function zF(e,r){const a=r.start._index,i=r.start._bufferIndex,s=r.end._index,x=r.end._bufferIndex;let u;if(a===s)u=[e[a].slice(i,x)];else{if(u=e.slice(a,s),i>-1){const f=u[0];typeof f=="string"?u[0]=f.slice(i):u.shift()}x>0&&u.push(e[s].slice(0,x))}return u}function jF(e,r){let a=-1;const i=[];let s;for(;++a<e.length;){const x=e[a];let u;if(typeof x=="string")u=x;else switch(x){case-5:{u="\r";break}case-4:{u=`
11
+ Please change the parent <Route path="${D}"> to <Route path="${D==="/"?"*":`${D}/*`}">.`)}let E=Fn(),p;if(r){let D=typeof r=="string"?ca(r):r;rt(d==="/"||D.pathname?.startsWith(d),`When overriding the location using \`<Routes location>\` or \`useRoutes(routes, location)\`, the location pathname must begin with the portion of the URL pathname that was matched by all parent routes. The current pathname base is "${d}" but pathname "${D.pathname}" was given in the \`location\` prop.`),p=D}else p=E;let y=p.pathname||"/",C=y;if(d!=="/"){let D=d.replace(/^\//,"").split("/");C="/"+y.replace(/^\//,"").split("/").slice(D.length).join("/")}let A=a&&a.state.matches.length?a.state.matches.map(D=>Object.assign(D,{route:a.manifest[D.route.id]||D.route})):W8(e,{pathname:C});vn(h||A!=null,`No routes matched location "${p.pathname}${p.search}${p.hash}" `),vn(A==null||A[A.length-1].route.element!==void 0||A[A.length-1].route.Component!==void 0||A[A.length-1].route.lazy!==void 0,`Matched leaf route at location "${p.pathname}${p.search}${p.hash}" does not have an element or Component. This means it will render an <Outlet /> with a null value by default resulting in an "empty" page.`);let b=w4(A&&A.map(D=>Object.assign({},D,{params:Object.assign({},u,D.params),pathname:_n([d,i.encodeLocation?i.encodeLocation(D.pathname.replace(/%/g,"%25").replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:D.pathname]),pathnameBase:D.pathnameBase==="/"?d:_n([d,i.encodeLocation?i.encodeLocation(D.pathnameBase.replace(/%/g,"%25").replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:D.pathnameBase])})),s,a);return r&&b?z.createElement(zl.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",mask:void 0,...p},navigationType:"POP"}},b):b}function D4(){let e=T4(),r=l4(e)?`${e.status} ${e.statusText}`:e instanceof Error?e.message:JSON.stringify(e),a=e instanceof Error?e.stack:null,i="rgba(200,200,200, 0.5)",s={padding:"0.5rem",backgroundColor:i},x={padding:"2px 4px",backgroundColor:i},u=null;return console.error("Error handled by React Router default ErrorBoundary:",e),u=z.createElement(z.Fragment,null,z.createElement("p",null,"💿 Hey developer 👋"),z.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",z.createElement("code",{style:x},"ErrorBoundary")," or"," ",z.createElement("code",{style:x},"errorElement")," prop on your route.")),z.createElement(z.Fragment,null,z.createElement("h2",null,"Unexpected Application Error!"),z.createElement("h3",{style:{fontStyle:"italic"}},r),a?z.createElement("pre",{style:s},a):null,u)}var v4=z.createElement(D4,null),p2=class extends z.Component{constructor(e){super(e),this.state={location:e.location,revalidation:e.revalidation,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,r){return r.location!==e.location||r.revalidation!=="idle"&&e.revalidation==="idle"?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:e.error!==void 0?e.error:r.error,location:r.location,revalidation:e.revalidation||r.revalidation}}componentDidCatch(e,r){this.props.onError?this.props.onError(e,r):console.error("React Router caught the following error during render",e)}render(){let e=this.state.error;if(this.context&&typeof e=="object"&&e&&"digest"in e&&typeof e.digest=="string"){const a=m4(e.digest);a&&(e=a)}let r=e!==void 0?z.createElement(kn.Provider,{value:this.props.routeContext},z.createElement(mc.Provider,{value:e,children:this.props.component})):this.props.children;return this.context?z.createElement(k4,{error:e},r):r}};p2.contextType=x2;var hu=new WeakMap;function k4({children:e,error:r}){let{basename:a}=z.useContext(cn);if(typeof r=="object"&&r&&"digest"in r&&typeof r.digest=="string"){let i=p4(r.digest);if(i){let s=hu.get(r);if(s)throw s;let x=o2(i.location,a),u=x.absoluteURL||x.to;if(x4(u))throw new Error("Invalid redirect location");if(i2&&!hu.get(r))if(x.isExternal||i.reloadDocument)window.location.href=u;else{const f=Promise.resolve().then(()=>window.__reactRouterDataRouter.navigate(x.to,{replace:i.replace}));throw hu.set(r,f),f}return z.createElement("meta",{httpEquiv:"refresh",content:`0;url=${u}`})}}return e}function F4({routeContext:e,match:r,children:a}){let i=z.useContext(fa);return i&&i.static&&i.staticContext&&(r.route.errorElement||r.route.ErrorBoundary)&&(i.staticContext._deepestRenderedBoundaryId=r.route.id),z.createElement(kn.Provider,{value:e},a)}function w4(e,r=[],a){let i=a?.state;if(e==null){if(!i)return null;if(i.errors)e=i.matches;else if(r.length===0&&!i.initialized&&i.matches.length>0)e=i.matches;else return null}let s=e,x=i?.errors;if(x!=null){let E=s.findIndex(p=>p.route.id&&x?.[p.route.id]!==void 0);rt(E>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(x).join(",")}`),s=s.slice(0,Math.min(s.length,E+1))}let u=!1,f=-1;if(a&&i){u=i.renderFallback;for(let E=0;E<s.length;E++){let p=s[E];if((p.route.HydrateFallback||p.route.hydrateFallbackElement)&&(f=E),p.route.id){let{loaderData:y,errors:C}=i,A=p.route.loader&&!y.hasOwnProperty(p.route.id)&&(!C||C[p.route.id]===void 0);if(p.route.lazy||A){a.isStatic&&(u=!0),f>=0?s=s.slice(0,f+1):s=[s[0]];break}}}}let d=a?.onError,h=i&&d?(E,p)=>{d(E,{location:i.location,params:i.matches?.[0]?.params??{},pattern:i4(i.matches),errorInfo:p})}:void 0;return s.reduceRight((E,p,y)=>{let C,A=!1,b=null,D=null;i&&(C=x&&p.route.id?x[p.route.id]:void 0,b=p.route.errorElement||v4,u&&(f<0&&y===0?(m2("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),A=!0,D=null):f===y&&(A=!0,D=p.route.hydrateFallbackElement||null)));let F=r.concat(s.slice(0,y+1)),O=()=>{let w;return C?w=b:A?w=D:p.route.Component?w=z.createElement(p.route.Component,null):p.route.element?w=p.route.element:w=E,z.createElement(F4,{match:p,routeContext:{outlet:E,matches:F,isDataRoute:i!=null},children:w})};return i&&(p.route.ErrorBoundary||p.route.errorElement||y===0)?z.createElement(p2,{location:i.location,revalidation:i.revalidation,component:b,error:C,children:O(),routeContext:{outlet:null,matches:F,isDataRoute:!0},onError:h}):O()},null)}function Ec(e){return`${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function S4(e){let r=z.useContext(fa);return rt(r,Ec(e)),r}function M4(e){let r=z.useContext(Ro);return rt(r,Ec(e)),r}function N4(e){let r=z.useContext(kn);return rt(r,Ec(e)),r}function Cc(e){let r=N4(e),a=r.matches[r.matches.length-1];return rt(a.route.id,`${e} can only be used on routes that contain a unique "id"`),a.route.id}function _4(){return Cc("useRouteId")}function T4(){let e=z.useContext(mc),r=M4("useRouteError"),a=Cc("useRouteError");return e!==void 0?e:r.errors?.[a]}function z4(){let{router:e}=S4("useNavigate"),r=Cc("useNavigate"),a=z.useRef(!1);return d2(()=>{a.current=!0}),z.useCallback(async(s,x={})=>{vn(a.current,f2),a.current&&(typeof s=="number"?await e.navigate(s):await e.navigate(s,{fromRouteId:r,...x}))},[e,r])}var yh={};function m2(e,r,a){!r&&!yh[e]&&(yh[e]=!0,vn(!1,a))}z.memo(j4);function j4({routes:e,manifest:r,future:a,state:i,isStatic:s,onError:x}){return h2(e,void 0,{manifest:r,state:i,isStatic:s,onError:x})}function R4({to:e,replace:r,state:a,relative:i}){rt(Cr(),"<Navigate> may be used only in the context of a <Router> component.");let{static:s}=z.useContext(cn);vn(!s,"<Navigate> must not be used on the initial render in a <StaticRouter>. This is a no-op, but you should modify your code so the <Navigate> is only ever rendered in response to some user interaction or state change.");let{matches:x}=z.useContext(kn),{pathname:u}=Fn(),f=da(),d=jo(e,pc(x),u,i==="path"),h=JSON.stringify(d);return z.useEffect(()=>{f(JSON.parse(h),{replace:r,state:a,relative:i})},[f,h,i,r,a]),null}function O4(e){return B4(e.context)}function yl(e){rt(!1,"A <Route> is only ever to be used as the child of <Routes> element, never rendered directly. Please wrap your <Route> in a <Routes>.")}function L4({basename:e="/",children:r=null,location:a,navigationType:i="POP",navigator:s,static:x=!1,useTransitions:u}){rt(!Cr(),"You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let f=e.replace(/^\/*/,"/"),d=z.useMemo(()=>({basename:f,navigator:s,static:x,useTransitions:u,future:{}}),[f,s,x,u]);typeof a=="string"&&(a=ca(a));let{pathname:h="/",search:E="",hash:p="",state:y=null,key:C="default",mask:A}=a,b=z.useMemo(()=>{let D=f0(h,f);return D==null?null:{location:{pathname:D,search:E,hash:p,state:y,key:C,mask:A},navigationType:i}},[f,h,E,p,y,C,i,A]);return vn(b!=null,`<Router basename="${f}"> is not able to match the URL "${h}${E}${p}" because it does not start with the basename, so the <Router> won't render anything.`),b==null?null:z.createElement(cn.Provider,{value:d},z.createElement(zl.Provider,{children:r,value:b}))}function P4({children:e,location:r}){return b4(Qu(e),r)}function Qu(e,r=[]){let a=[];return z.Children.forEach(e,(i,s)=>{if(!z.isValidElement(i))return;let x=[...r,s];if(i.type===z.Fragment){a.push.apply(a,Qu(i.props.children,x));return}rt(i.type===yl,`[${typeof i.type=="string"?i.type:i.type.name}] is not a <Route> component. All component children of <Routes> must be a <Route> or <React.Fragment>`),rt(!i.props.index||!i.props.children,"An index route cannot have child routes.");let u={id:i.props.id||x.join("-"),caseSensitive:i.props.caseSensitive,element:i.props.element,Component:i.props.Component,index:i.props.index,path:i.props.path,middleware:i.props.middleware,loader:i.props.loader,action:i.props.action,hydrateFallbackElement:i.props.hydrateFallbackElement,HydrateFallback:i.props.HydrateFallback,errorElement:i.props.errorElement,ErrorBoundary:i.props.ErrorBoundary,hasErrorBoundary:i.props.hasErrorBoundary===!0||i.props.ErrorBoundary!=null||i.props.errorElement!=null,shouldRevalidate:i.props.shouldRevalidate,handle:i.props.handle,lazy:i.props.lazy};i.props.children&&(u.children=Qu(i.props.children,x)),a.push(u)}),a}var po="get",mo="application/x-www-form-urlencoded";function Oo(e){return typeof HTMLElement<"u"&&e instanceof HTMLElement}function U4(e){return Oo(e)&&e.tagName.toLowerCase()==="button"}function H4(e){return Oo(e)&&e.tagName.toLowerCase()==="form"}function q4(e){return Oo(e)&&e.tagName.toLowerCase()==="input"}function I4(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function V4(e,r){return e.button===0&&(!r||r==="_self")&&!I4(e)}function Yu(e=""){return new URLSearchParams(typeof e=="string"||Array.isArray(e)||e instanceof URLSearchParams?e:Object.keys(e).reduce((r,a)=>{let i=e[a];return r.concat(Array.isArray(i)?i.map(s=>[a,s]):[[a,i]])},[]))}function $4(e,r){let a=Yu(e);return r&&r.forEach((i,s)=>{a.has(s)||r.getAll(s).forEach(x=>{a.append(s,x)})}),a}var ao=null;function G4(){if(ao===null)try{new FormData(document.createElement("form"),0),ao=!1}catch{ao=!0}return ao}var Q4=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function pu(e){return e!=null&&!Q4.has(e)?(vn(!1,`"${e}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${mo}"`),null):e}function Y4(e,r){let a,i,s,x,u;if(H4(e)){let f=e.getAttribute("action");i=f?f0(f,r):null,a=e.getAttribute("method")||po,s=pu(e.getAttribute("enctype"))||mo,x=new FormData(e)}else if(U4(e)||q4(e)&&(e.type==="submit"||e.type==="image")){let f=e.form;if(f==null)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let d=e.getAttribute("formaction")||f.getAttribute("action");if(i=d?f0(d,r):null,a=e.getAttribute("formmethod")||f.getAttribute("method")||po,s=pu(e.getAttribute("formenctype"))||pu(f.getAttribute("enctype"))||mo,x=new FormData(f,e),!G4()){let{name:h,type:E,value:p}=e;if(E==="image"){let y=h?`${h}.`:"";x.append(`${y}x`,"0"),x.append(`${y}y`,"0")}else h&&x.append(h,p)}}else{if(Oo(e))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');a=po,i=null,s=mo,u=e}return x&&s==="text/plain"&&(u=x,x=void 0),{action:i,method:a.toLowerCase(),encType:s,formData:x,body:u}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");function yc(e,r){if(e===!1||e===null||typeof e>"u")throw new Error(r)}function E2(e,r,a,i){let s=typeof e=="string"?new URL(e,typeof window>"u"?"server://singlefetch/":window.location.origin):e;return a?s.pathname.endsWith("/")?s.pathname=`${s.pathname}_.${i}`:s.pathname=`${s.pathname}.${i}`:s.pathname==="/"?s.pathname=`_root.${i}`:r&&f0(s.pathname,r)==="/"?s.pathname=`${Ao(r)}/_root.${i}`:s.pathname=`${Ao(s.pathname)}.${i}`,s}async function X4(e,r){if(e.id in r)return r[e.id];try{let a=await import(e.module);return r[e.id]=a,a}catch(a){return console.error(`Error loading route module \`${e.module}\`, reloading page...`),console.error(a),window.__reactRouterContext&&window.__reactRouterContext.isSpaMode,window.location.reload(),new Promise(()=>{})}}function K4(e){return e==null?!1:e.href==null?e.rel==="preload"&&typeof e.imageSrcSet=="string"&&typeof e.imageSizes=="string":typeof e.rel=="string"&&typeof e.href=="string"}async function Z4(e,r,a){let i=await Promise.all(e.map(async s=>{let x=r.routes[s.route.id];if(x){let u=await X4(x,a);return u.links?u.links():[]}return[]}));return t7(i.flat(1).filter(K4).filter(s=>s.rel==="stylesheet"||s.rel==="preload").map(s=>s.rel==="stylesheet"?{...s,rel:"prefetch",as:"style"}:{...s,rel:"prefetch"}))}function gh(e,r,a,i,s,x){let u=(d,h)=>a[h]?d.route.id!==a[h].route.id:!0,f=(d,h)=>a[h].pathname!==d.pathname||a[h].route.path?.endsWith("*")&&a[h].params["*"]!==d.params["*"];return x==="assets"?r.filter((d,h)=>u(d,h)||f(d,h)):x==="data"?r.filter((d,h)=>{let E=i.routes[d.route.id];if(!E||!E.hasLoader)return!1;if(u(d,h)||f(d,h))return!0;if(d.route.shouldRevalidate){let p=d.route.shouldRevalidate({currentUrl:new URL(s.pathname+s.search+s.hash,window.origin),currentParams:a[0]?.params||{},nextUrl:new URL(e,window.origin),nextParams:d.params,defaultShouldRevalidate:!0});if(typeof p=="boolean")return p}return!0}):[]}function J4(e,r,{includeHydrateFallback:a}={}){return W4(e.map(i=>{let s=r.routes[i.route.id];if(!s)return[];let x=[s.module];return s.clientActionModule&&(x=x.concat(s.clientActionModule)),s.clientLoaderModule&&(x=x.concat(s.clientLoaderModule)),a&&s.hydrateFallbackModule&&(x=x.concat(s.hydrateFallbackModule)),s.imports&&(x=x.concat(s.imports)),x}).flat(1))}function W4(e){return[...new Set(e)]}function e7(e){let r={},a=Object.keys(e).sort();for(let i of a)r[i]=e[i];return r}function t7(e,r){let a=new Set;return new Set(r),e.reduce((i,s)=>{let x=JSON.stringify(e7(s));return a.has(x)||(a.add(x),i.push({key:x,link:s})),i},[])}function gc(){let e=z.useContext(fa);return yc(e,"You must render this element inside a <DataRouterContext.Provider> element"),e}function n7(){let e=z.useContext(Ro);return yc(e,"You must render this element inside a <DataRouterStateContext.Provider> element"),e}var Bc=z.createContext(void 0);Bc.displayName="FrameworkContext";function Lo(){let e=z.useContext(Bc);return yc(e,"You must render this element inside a <HydratedRouter> element"),e}function r7(e,r){let a=z.useContext(Bc),[i,s]=z.useState(!1),[x,u]=z.useState(!1),{onFocus:f,onBlur:d,onMouseEnter:h,onMouseLeave:E,onTouchStart:p}=r,y=z.useRef(null);z.useEffect(()=>{if(e==="render"&&u(!0),e==="viewport"){let b=F=>{F.forEach(O=>{u(O.isIntersecting)})},D=new IntersectionObserver(b,{threshold:.5});return y.current&&D.observe(y.current),()=>{D.disconnect()}}},[e]),z.useEffect(()=>{if(i){let b=setTimeout(()=>{u(!0)},100);return()=>{clearTimeout(b)}}},[i]);let C=()=>{s(!0)},A=()=>{s(!1),u(!1)};return a?e!=="intent"?[x,y,{}]:[x,y,{onFocus:ul(f,C),onBlur:ul(d,A),onMouseEnter:ul(h,C),onMouseLeave:ul(E,A),onTouchStart:ul(p,C)}]:[!1,y,{}]}function ul(e,r){return a=>{e&&e(a),a.defaultPrevented||r(a)}}function a7({page:e,...r}){let a=u4(),{nonce:i}=Lo(),{router:s}=gc(),x=z.useMemo(()=>W8(s.routes,e,s.basename),[s.routes,e,s.basename]);return x?(r.nonce==null&&i&&(r={...r,nonce:i}),a?z.createElement(i7,{page:e,matches:x,...r}):z.createElement(o7,{page:e,matches:x,...r})):null}function l7(e){let{manifest:r,routeModules:a}=Lo(),[i,s]=z.useState([]);return z.useEffect(()=>{let x=!1;return Z4(e,r,a).then(u=>{x||s(u)}),()=>{x=!0}},[e,r,a]),i}function i7({page:e,matches:r,...a}){let i=Fn(),{future:s}=Lo(),{basename:x}=gc(),u=z.useMemo(()=>{if(e===i.pathname+i.search+i.hash)return[];let f=E2(e,x,s.v8_trailingSlashAwareDataRequests,"rsc"),d=!1,h=[];for(let E of r)typeof E.route.shouldRevalidate=="function"?d=!0:h.push(E.route.id);return d&&h.length>0&&f.searchParams.set("_routes",h.join(",")),[f.pathname+f.search]},[x,s.v8_trailingSlashAwareDataRequests,e,i,r]);return z.createElement(z.Fragment,null,u.map(f=>z.createElement("link",{key:f,rel:"prefetch",as:"fetch",href:f,...a})))}function o7({page:e,matches:r,...a}){let i=Fn(),{future:s,manifest:x,routeModules:u}=Lo(),{basename:f}=gc(),{loaderData:d,matches:h}=n7(),E=z.useMemo(()=>gh(e,r,h,x,i,"data"),[e,r,h,x,i]),p=z.useMemo(()=>gh(e,r,h,x,i,"assets"),[e,r,h,x,i]),y=z.useMemo(()=>{if(e===i.pathname+i.search+i.hash)return[];let b=new Set,D=!1;if(r.forEach(O=>{let w=x.routes[O.route.id];!w||!w.hasLoader||(!E.some(_=>_.route.id===O.route.id)&&O.route.id in d&&u[O.route.id]?.shouldRevalidate||w.hasClientLoader?D=!0:b.add(O.route.id))}),b.size===0)return[];let F=E2(e,f,s.v8_trailingSlashAwareDataRequests,"data");return D&&b.size>0&&F.searchParams.set("_routes",r.filter(O=>b.has(O.route.id)).map(O=>O.route.id).join(",")),[F.pathname+F.search]},[f,s.v8_trailingSlashAwareDataRequests,d,i,x,E,r,e,u]),C=z.useMemo(()=>J4(p,x),[p,x]),A=l7(p);return z.createElement(z.Fragment,null,y.map(b=>z.createElement("link",{key:b,rel:"prefetch",as:"fetch",href:b,...a})),C.map(b=>z.createElement("link",{key:b,rel:"modulepreload",href:b,...a})),A.map(({key:b,link:D})=>z.createElement("link",{key:b,nonce:a.nonce,...D,crossOrigin:D.crossOrigin??a.crossOrigin})))}function s7(...e){return r=>{e.forEach(a=>{typeof a=="function"?a(r):a!=null&&(a.current=r)})}}var x7=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";try{x7&&(window.__reactRouterVersion="7.18.1")}catch{}function u7({basename:e,children:r,useTransitions:a,window:i}){let s=z.useRef();s.current==null&&(s.current=O6({window:i,v5Compat:!0}));let x=s.current,[u,f]=z.useState({action:x.action,location:x.location}),d=z.useCallback(h=>{a===!1?f(h):z.startTransition(()=>f(h))},[a]);return z.useLayoutEffect(()=>x.listen(d),[x,d]),z.createElement(L4,{basename:e,children:r,location:u.location,navigationType:u.action,navigator:x,useTransitions:a})}var C2=z.forwardRef(function({onClick:r,discover:a="render",prefetch:i="none",relative:s,reloadDocument:x,replace:u,mask:f,state:d,target:h,to:E,preventScrollReset:p,viewTransition:y,defaultShouldRevalidate:C,...A},b){let{basename:D,navigator:F,useTransitions:O}=z.useContext(cn),w=typeof E=="string"&&hc.test(E),_=o2(E,D);E=_.to;let R=E4(E,{relative:s}),k=Fn(),T=null;if(f){let $=jo(f,[],k.mask?k.mask.pathname:"/",!0);D!=="/"&&($.pathname=$.pathname==="/"?D:_n([D,$.pathname])),T=F.createHref($)}let[S,q,L]=r7(i,A),X=h7(E,{replace:u,mask:f,state:d,target:h,preventScrollReset:p,relative:s,viewTransition:y,defaultShouldRevalidate:C,useTransitions:O});function K($){r&&r($),$.defaultPrevented||X($)}let ie=!(_.isExternal||x),Z=z.createElement("a",{...A,...L,href:(ie?T:void 0)||_.absoluteURL||R,onClick:ie?K:r,ref:s7(b,q),target:h,"data-discover":!w&&a==="render"?"true":void 0});return S&&!w?z.createElement(z.Fragment,null,Z,z.createElement(a7,{page:R})):Z});C2.displayName="Link";var c7=z.forwardRef(function({"aria-current":r="page",caseSensitive:a=!1,className:i="",end:s=!1,style:x,to:u,viewTransition:f,children:d,...h},E){let p=jl(u,{relative:h.relative}),y=Fn(),C=z.useContext(Ro),{navigator:A,basename:b}=z.useContext(cn),D=C!=null&&y7(p)&&f===!0,F=A.encodeLocation?A.encodeLocation(p).pathname:p.pathname,O=y.pathname,w=C&&C.navigation&&C.navigation.location?C.navigation.location.pathname:null;a||(O=O.toLowerCase(),w=w?w.toLowerCase():null,F=F.toLowerCase()),w&&b&&(w=f0(w,b)||w);const _=F!=="/"&&F.endsWith("/")?F.length-1:F.length;let R=O===F||!s&&O.startsWith(F)&&O.charAt(_)==="/",k=w!=null&&(w===F||!s&&w.startsWith(F)&&w.charAt(F.length)==="/"),T={isActive:R,isPending:k,isTransitioning:D},S=R?r:void 0,q;typeof i=="function"?q=i(T):q=[i,R?"active":null,k?"pending":null,D?"transitioning":null].filter(Boolean).join(" ");let L=typeof x=="function"?x(T):x;return z.createElement(C2,{...h,"aria-current":S,className:q,ref:E,style:L,to:u,viewTransition:f},typeof d=="function"?d(T):d)});c7.displayName="NavLink";var f7=z.forwardRef(({discover:e="render",fetcherKey:r,navigate:a,reloadDocument:i,replace:s,state:x,method:u=po,action:f,onSubmit:d,relative:h,preventScrollReset:E,viewTransition:p,defaultShouldRevalidate:y,...C},A)=>{let{useTransitions:b}=z.useContext(cn),D=E7(),F=C7(f,{relative:h}),O=u.toLowerCase()==="get"?"get":"post",w=typeof f=="string"&&hc.test(f),_=R=>{if(d&&d(R),R.defaultPrevented)return;R.preventDefault();let k=R.nativeEvent.submitter,T=k?.getAttribute("formmethod")||u,S=()=>D(k||R.currentTarget,{fetcherKey:r,method:T,navigate:a,replace:s,state:x,relative:h,preventScrollReset:E,viewTransition:p,defaultShouldRevalidate:y});b&&a!==!1?z.startTransition(()=>S()):S()};return z.createElement("form",{ref:A,method:O,action:F,onSubmit:i?d:_,...C,"data-discover":!w&&e==="render"?"true":void 0})});f7.displayName="Form";function d7(e){return`${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function y2(e){let r=z.useContext(fa);return rt(r,d7(e)),r}function h7(e,{target:r,replace:a,mask:i,state:s,preventScrollReset:x,relative:u,viewTransition:f,defaultShouldRevalidate:d,useTransitions:h}={}){let E=da(),p=Fn(),y=jl(e,{relative:u});return z.useCallback(C=>{if(V4(C,r)){C.preventDefault();let A=a!==void 0?a:kl(p)===kl(y),b=()=>E(e,{replace:A,mask:i,state:s,preventScrollReset:x,relative:u,viewTransition:f,defaultShouldRevalidate:d});h?z.startTransition(()=>b()):b()}},[p,E,y,a,i,s,r,e,x,u,f,d,h])}function g2(e){vn(typeof URLSearchParams<"u","You cannot use the `useSearchParams` hook in a browser that does not support the URLSearchParams API. If you need to support Internet Explorer 11, we recommend you load a polyfill such as https://github.com/ungap/url-search-params.");let r=z.useRef(Yu(e)),a=z.useRef(!1),i=Fn(),s=z.useMemo(()=>$4(i.search,a.current?null:r.current),[i.search]),x=da(),u=z.useCallback((f,d)=>{const h=Yu(typeof f=="function"?f(new URLSearchParams(s)):f);a.current=!0,x("?"+h,d)},[x,s]);return[s,u]}var p7=0,m7=()=>`__${String(++p7)}__`;function E7(){let{router:e}=y2("useSubmit"),{basename:r}=z.useContext(cn),a=_4(),i=e.fetch,s=e.navigate;return z.useCallback(async(x,u={})=>{let{action:f,method:d,encType:h,formData:E,body:p}=Y4(x,r);if(u.navigate===!1){let y=u.fetcherKey||m7();await i(y,a,u.action||f,{defaultShouldRevalidate:u.defaultShouldRevalidate,preventScrollReset:u.preventScrollReset,formData:E,body:p,formMethod:u.method||d,formEncType:u.encType||h,flushSync:u.flushSync})}else await s(u.action||f,{defaultShouldRevalidate:u.defaultShouldRevalidate,preventScrollReset:u.preventScrollReset,formData:E,body:p,formMethod:u.method||d,formEncType:u.encType||h,replace:u.replace,state:u.state,fromRouteId:a,flushSync:u.flushSync,viewTransition:u.viewTransition})},[i,s,r,a])}function C7(e,{relative:r}={}){let{basename:a}=z.useContext(cn),i=z.useContext(kn);rt(i,"useFormAction must be used inside a RouteContext");let[s]=i.matches.slice(-1),x={...jl(e||".",{relative:r})},u=Fn();if(e==null){x.search=u.search;let f=new URLSearchParams(x.search),d=f.getAll("index");if(d.some(E=>E==="")){f.delete("index"),d.filter(p=>p).forEach(p=>f.append("index",p));let E=f.toString();x.search=E?`?${E}`:""}}return(!e||e===".")&&s.route.index&&(x.search=x.search?x.search.replace(/^\?/,"?index&"):"?index"),a!=="/"&&(x.pathname=x.pathname==="/"?a:_n([a,x.pathname])),kl(x)}function y7(e,{relative:r}={}){let a=z.useContext(u2);rt(a!=null,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`. Did you accidentally import `RouterProvider` from `react-router`?");let{basename:i}=y2("useViewTransitionState"),s=jl(e,{relative:r});if(!a.isTransitioning)return!1;let x=f0(a.currentLocation.pathname,i)||a.currentLocation.pathname,u=f0(a.nextLocation.pathname,i)||a.nextLocation.pathname;return Fl(s.pathname,u)!=null||Fl(s.pathname,x)!=null}const g7="modulepreload",B7=function(e){return"/"+e},Bh={},A7=function(r,a,i){let s=Promise.resolve();if(a&&a.length>0){let h=function(E){return Promise.all(E.map(p=>Promise.resolve(p).then(y=>({status:"fulfilled",value:y}),y=>({status:"rejected",reason:y}))))};var u=h;document.getElementsByTagName("link");const f=document.querySelector("meta[property=csp-nonce]"),d=f?.nonce||f?.getAttribute("nonce");s=h(a.map(E=>{if(E=B7(E),E in Bh)return;Bh[E]=!0;const p=E.endsWith(".css"),y=p?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${E}"]${y}`))return;const C=document.createElement("link");if(C.rel=p?"stylesheet":g7,p||(C.as="script"),C.crossOrigin="",C.href=E,d&&C.setAttribute("nonce",d),document.head.appendChild(C),p)return new Promise((A,b)=>{C.addEventListener("load",A),C.addEventListener("error",()=>b(new Error(`Unable to preload CSS for ${E}`)))})}))}function x(f){const d=new Event("vite:preloadError",{cancelable:!0});if(d.payload=f,window.dispatchEvent(d),!d.defaultPrevented)throw f}return s.then(f=>{for(const d of f||[])d.status==="rejected"&&x(d.reason);return r().catch(x)})};function b7(e={}){const{immediate:r=!1,onNeedReload:a,onNeedRefresh:i,onOfflineReady:s,onRegistered:x,onRegisteredSW:u,onRegisterError:f}=e;let d,h,E;const p=async(C=!0)=>{await h,E?.()};async function y(){if("serviceWorker"in navigator){if(d=await A7(async()=>{const{Workbox:C}=await import("./workbox-window.prod.es5-BBnX5xw4.js");return{Workbox:C}},[]).then(({Workbox:C})=>new C("/sw.js",{scope:"/",type:"classic"})).catch(C=>{f?.(C)}),!d)return;E=()=>{d?.messageSkipWaiting()};{let C=!1;const A=()=>{C=!0,d?.addEventListener("controlling",b=>{b.isUpdate&&(a?a():window.location.reload())}),i?.()};d.addEventListener("installed",b=>{typeof b.isUpdate>"u"?typeof b.isExternal<"u"&&b.isExternal?A():!C&&s?.():b.isUpdate||s?.()}),d.addEventListener("waiting",A)}d.register({immediate:r}).then(C=>{u?u("/sw.js",C):x?.(C)}).catch(C=>{f?.(C)})}}return h=y(),p}function D7(e={}){const{immediate:r=!0,onNeedReload:a,onNeedRefresh:i,onOfflineReady:s,onRegistered:x,onRegisteredSW:u,onRegisterError:f}=e,[d,h]=z.useState(!1),[E,p]=z.useState(!1),[y]=z.useState(()=>b7({immediate:r,onNeedReload:a,onOfflineReady(){p(!0),s?.()},onNeedRefresh(){h(!0),i?.()},onRegistered:x,onRegisteredSW:u,onRegisterError:f}));return{needRefresh:[d,h],offlineReady:[E,p],updateServiceWorker:y}}const B2=(...e)=>e.filter((r,a,i)=>!!r&&r.trim()!==""&&i.indexOf(r)===a).join(" ").trim();const v7=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase();const k7=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(r,a,i)=>i?i.toUpperCase():a.toLowerCase());const Ah=e=>{const r=k7(e);return r.charAt(0).toUpperCase()+r.slice(1)};var F7={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};const w7=e=>{for(const r in e)if(r.startsWith("aria-")||r==="role"||r==="title")return!0;return!1};const S7=z.forwardRef(({color:e="currentColor",size:r=24,strokeWidth:a=2,absoluteStrokeWidth:i,className:s="",children:x,iconNode:u,...f},d)=>z.createElement("svg",{ref:d,...F7,width:r,height:r,stroke:e,strokeWidth:i?Number(a)*24/Number(r):a,className:B2("lucide",s),...!x&&!w7(f)&&{"aria-hidden":"true"},...f},[...u.map(([h,E])=>z.createElement(h,E)),...Array.isArray(x)?x:[x]]));const I=(e,r)=>{const a=z.forwardRef(({className:i,...s},x)=>z.createElement(S7,{ref:x,iconNode:r,className:B2(`lucide-${v7(Ah(e))}`,`lucide-${e}`,i),...s}));return a.displayName=Ah(e),a};const M7=[["path",{d:"M22 12h-2.48a2 2 0 0 0-1.93 1.46l-2.35 8.36a.25.25 0 0 1-.48 0L9.24 2.18a.25.25 0 0 0-.48 0l-2.35 8.36A2 2 0 0 1 4.49 12H2",key:"169zse"}]],N7=I("activity",M7);const _7=[["path",{d:"M12 6v16",key:"nqf5sj"}],["path",{d:"m19 13 2-1a9 9 0 0 1-18 0l2 1",key:"y7qv08"}],["path",{d:"M9 11h6",key:"1fldmi"}],["circle",{cx:"12",cy:"4",r:"2",key:"muu5ef"}]],T7=I("anchor",_7);const z7=[["path",{d:"M12 6.528V3a1 1 0 0 1 1-1h0",key:"11qiee"}],["path",{d:"M18.237 21A15 15 0 0 0 22 11a6 6 0 0 0-10-4.472A6 6 0 0 0 2 11a15.1 15.1 0 0 0 3.763 10 3 3 0 0 0 3.648.648 5.5 5.5 0 0 1 5.178 0A3 3 0 0 0 18.237 21",key:"110c12"}]],j7=I("apple",z7);const R7=[["rect",{width:"20",height:"5",x:"2",y:"3",rx:"1",key:"1wp1u1"}],["path",{d:"M4 8v11a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8",key:"1s80jp"}],["path",{d:"M10 12h4",key:"a56b0p"}]],O7=I("archive",R7);const L7=[["path",{d:"M7 7h10v10",key:"1tivn9"}],["path",{d:"M7 17 17 7",key:"1vkiza"}]],P7=I("arrow-up-right",L7);const U7=[["path",{d:"m5 12 7-7 7 7",key:"hav0vg"}],["path",{d:"M12 19V5",key:"x0mq9r"}]],H7=I("arrow-up",U7);const q7=[["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}],["path",{d:"M20.2 20.2c2.04-2.03.02-7.36-4.5-11.9-4.54-4.52-9.87-6.54-11.9-4.5-2.04 2.03-.02 7.36 4.5 11.9 4.54 4.52 9.87 6.54 11.9 4.5Z",key:"1l2ple"}],["path",{d:"M15.7 15.7c4.52-4.54 6.54-9.87 4.5-11.9-2.03-2.04-7.36-.02-11.9 4.5-4.52 4.54-6.54 9.87-4.5 11.9 2.03 2.04 7.36.02 11.9-4.5Z",key:"1wam0m"}]],I7=I("atom",q7);const V7=[["path",{d:"m15.477 12.89 1.515 8.526a.5.5 0 0 1-.81.47l-3.58-2.687a1 1 0 0 0-1.197 0l-3.586 2.686a.5.5 0 0 1-.81-.469l1.514-8.526",key:"1yiouv"}],["circle",{cx:"12",cy:"8",r:"6",key:"1vp47v"}]],$7=I("award",V7);const G7=[["rect",{width:"20",height:"12",x:"2",y:"6",rx:"2",key:"9lu3g6"}],["circle",{cx:"12",cy:"12",r:"2",key:"1c9p78"}],["path",{d:"M6 12h.01M18 12h.01",key:"113zkx"}]],Q7=I("banknote",G7);const Y7=[["path",{d:"M 22 14 L 22 10",key:"nqc4tb"}],["rect",{x:"2",y:"6",width:"16",height:"12",rx:"2",key:"13zb55"}]],X7=I("battery",Y7);const K7=[["path",{d:"M17 11h1a3 3 0 0 1 0 6h-1",key:"1yp76v"}],["path",{d:"M9 12v6",key:"1u1cab"}],["path",{d:"M13 12v6",key:"1sugkk"}],["path",{d:"M14 7.5c-1 0-1.44.5-3 .5s-2-.5-3-.5-1.72.5-2.5.5a2.5 2.5 0 0 1 0-5c.78 0 1.57.5 2.5.5S9.44 2 11 2s2 1.5 3 1.5 1.72-.5 2.5-.5a2.5 2.5 0 0 1 0 5c-.78 0-1.5-.5-2.5-.5Z",key:"1510fo"}],["path",{d:"M5 8v12a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V8",key:"19jb7n"}]],Z7=I("beer",K7);const J7=[["path",{d:"M10.268 21a2 2 0 0 0 3.464 0",key:"vwvbt9"}],["path",{d:"M3.262 15.326A1 1 0 0 0 4 17h16a1 1 0 0 0 .74-1.673C19.41 13.956 18 12.499 18 8A6 6 0 0 0 6 8c0 4.499-1.411 5.956-2.738 7.326",key:"11g9vi"}]],A2=I("bell",J7);const W7=[["circle",{cx:"18.5",cy:"17.5",r:"3.5",key:"15x4ox"}],["circle",{cx:"5.5",cy:"17.5",r:"3.5",key:"1noe27"}],["circle",{cx:"15",cy:"5",r:"1",key:"19l28e"}],["path",{d:"M12 17.5V14l-3-3 4-3 2 3h2",key:"1npguv"}]],e3=I("bike",W7);const t3=[["path",{d:"M16 7h.01",key:"1kdx03"}],["path",{d:"M3.4 18H12a8 8 0 0 0 8-8V7a4 4 0 0 0-7.28-2.3L2 20",key:"oj1oa8"}],["path",{d:"m20 7 2 .5-2 .5",key:"12nv4d"}],["path",{d:"M10 18v3",key:"1yea0a"}],["path",{d:"M14 17.75V21",key:"1pymcb"}],["path",{d:"M7 18a6 6 0 0 0 3.84-10.61",key:"1npnn0"}]],n3=I("bird",t3);const r3=[["path",{d:"m7 7 10 10-5 5V2l5 5L7 17",key:"1q5490"}]],a3=I("bluetooth",r3);const l3=[["path",{d:"M12 7v14",key:"1akyts"}],["path",{d:"M3 18a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-6a3 3 0 0 0-3 3 3 3 0 0 0-3-3z",key:"ruj8y"}]],i3=I("book-open",l3);const o3=[["path",{d:"M4 19.5v-15A2.5 2.5 0 0 1 6.5 2H19a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1H6.5a1 1 0 0 1 0-5H20",key:"k3hazp"}]],s3=I("book",o3);const x3=[["path",{d:"M17 3a2 2 0 0 1 2 2v15a1 1 0 0 1-1.496.868l-4.512-2.578a2 2 0 0 0-1.984 0l-4.512 2.578A1 1 0 0 1 5 20V5a2 2 0 0 1 2-2z",key:"oz39mx"}]],u3=I("bookmark",x3);const c3=[["path",{d:"M12 8V4H8",key:"hb8ula"}],["rect",{width:"16",height:"12",x:"4",y:"8",rx:"2",key:"enze0r"}],["path",{d:"M2 14h2",key:"vft8re"}],["path",{d:"M20 14h2",key:"4cs60a"}],["path",{d:"M15 13v2",key:"1xurst"}],["path",{d:"M9 13v2",key:"rq6x2g"}]],f3=I("bot",c3);const d3=[["path",{d:"M21 8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16Z",key:"hh9hay"}],["path",{d:"m3.3 7 8.7 5 8.7-5",key:"g66t2b"}],["path",{d:"M12 22V12",key:"d0xqtd"}]],h3=I("box",d3);const p3=[["path",{d:"M12 18V5",key:"adv99a"}],["path",{d:"M15 13a4.17 4.17 0 0 1-3-4 4.17 4.17 0 0 1-3 4",key:"1e3is1"}],["path",{d:"M17.598 6.5A3 3 0 1 0 12 5a3 3 0 1 0-5.598 1.5",key:"1gqd8o"}],["path",{d:"M17.997 5.125a4 4 0 0 1 2.526 5.77",key:"iwvgf7"}],["path",{d:"M18 18a4 4 0 0 0 2-7.464",key:"efp6ie"}],["path",{d:"M19.967 17.483A4 4 0 1 1 12 18a4 4 0 1 1-7.967-.517",key:"1gq6am"}],["path",{d:"M6 18a4 4 0 0 1-2-7.464",key:"k1g0md"}],["path",{d:"M6.003 5.125a4 4 0 0 0-2.526 5.77",key:"q97ue3"}]],m3=I("brain",p3);const E3=[["path",{d:"M16 20V4a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v16",key:"jecpp"}],["rect",{width:"20",height:"14",x:"2",y:"6",rx:"2",key:"i6l2r4"}]],C3=I("briefcase",E3);const y3=[["path",{d:"m11 10 3 3",key:"fzmg1i"}],["path",{d:"M6.5 21A3.5 3.5 0 1 0 3 17.5a2.62 2.62 0 0 1-.708 1.792A1 1 0 0 0 3 21z",key:"p4q2r7"}],["path",{d:"M9.969 17.031 21.378 5.624a1 1 0 0 0-3.002-3.002L6.967 14.031",key:"wy6l02"}]],g3=I("brush",y3);const B3=[["path",{d:"M10 19.655A6 6 0 0 1 6 14v-3a4 4 0 0 1 4-4h4a4 4 0 0 1 4 3.97",key:"1gnv52"}],["path",{d:"M14 15.003a1 1 0 0 1 1.517-.859l4.997 2.997a1 1 0 0 1 0 1.718l-4.997 2.997a1 1 0 0 1-1.517-.86z",key:"1weqy9"}],["path",{d:"M14.12 3.88 16 2",key:"qol33r"}],["path",{d:"M21 5a4 4 0 0 1-3.55 3.97",key:"5cxbf6"}],["path",{d:"M3 21a4 4 0 0 1 3.81-4",key:"1fjd4g"}],["path",{d:"M3 5a4 4 0 0 0 3.55 3.97",key:"1d7oge"}],["path",{d:"M6 13H2",key:"82j7cp"}],["path",{d:"m8 2 1.88 1.88",key:"fmnt4t"}],["path",{d:"M9 7.13V6a3 3 0 1 1 6 0v1.13",key:"1vgav8"}]],A3=I("bug-play",B3);const b3=[["path",{d:"M12 20v-9",key:"1qisl0"}],["path",{d:"M14 7a4 4 0 0 1 4 4v3a6 6 0 0 1-12 0v-3a4 4 0 0 1 4-4z",key:"uouzyp"}],["path",{d:"M14.12 3.88 16 2",key:"qol33r"}],["path",{d:"M21 21a4 4 0 0 0-3.81-4",key:"1b0z45"}],["path",{d:"M21 5a4 4 0 0 1-3.55 3.97",key:"5cxbf6"}],["path",{d:"M22 13h-4",key:"1jl80f"}],["path",{d:"M3 21a4 4 0 0 1 3.81-4",key:"1fjd4g"}],["path",{d:"M3 5a4 4 0 0 0 3.55 3.97",key:"1d7oge"}],["path",{d:"M6 13H2",key:"82j7cp"}],["path",{d:"m8 2 1.88 1.88",key:"fmnt4t"}],["path",{d:"M9 7.13V6a3 3 0 1 1 6 0v1.13",key:"1vgav8"}]],D3=I("bug",b3);const v3=[["path",{d:"M10 12h4",key:"a56b0p"}],["path",{d:"M10 8h4",key:"1sr2af"}],["path",{d:"M14 21v-3a2 2 0 0 0-4 0v3",key:"1rgiei"}],["path",{d:"M6 10H4a2 2 0 0 0-2 2v7a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2h-2",key:"secmi2"}],["path",{d:"M6 21V5a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v16",key:"16ra0t"}]],k3=I("building-2",v3);const F3=[["path",{d:"M12 10h.01",key:"1nrarc"}],["path",{d:"M12 14h.01",key:"1etili"}],["path",{d:"M12 6h.01",key:"1vi96p"}],["path",{d:"M16 10h.01",key:"1m94wz"}],["path",{d:"M16 14h.01",key:"1gbofw"}],["path",{d:"M16 6h.01",key:"1x0f13"}],["path",{d:"M8 10h.01",key:"19clt8"}],["path",{d:"M8 14h.01",key:"6423bh"}],["path",{d:"M8 6h.01",key:"1dz90k"}],["path",{d:"M9 22v-3a1 1 0 0 1 1-1h4a1 1 0 0 1 1 1v3",key:"cabbwy"}],["rect",{x:"4",y:"2",width:"16",height:"20",rx:"2",key:"1uxh74"}]],w3=I("building",F3);const S3=[["path",{d:"M20 21v-8a2 2 0 0 0-2-2H6a2 2 0 0 0-2 2v8",key:"1w3rig"}],["path",{d:"M4 16s.5-1 2-1 2.5 2 4 2 2.5-2 4-2 2.5 2 4 2 2-1 2-1",key:"n2jgmb"}],["path",{d:"M2 21h20",key:"1nyx9w"}],["path",{d:"M7 8v3",key:"1qtyvj"}],["path",{d:"M12 8v3",key:"hwp4zt"}],["path",{d:"M17 8v3",key:"1i6e5u"}],["path",{d:"M7 4h.01",key:"1bh4kh"}],["path",{d:"M12 4h.01",key:"1ujb9j"}],["path",{d:"M17 4h.01",key:"1upcoc"}]],M3=I("cake",S3);const N3=[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M3 10h18",key:"8toen8"}]],_3=I("calendar",N3);const T3=[["path",{d:"M13.997 4a2 2 0 0 1 1.76 1.05l.486.9A2 2 0 0 0 18.003 7H20a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V9a2 2 0 0 1 2-2h1.997a2 2 0 0 0 1.759-1.048l.489-.904A2 2 0 0 1 10.004 4z",key:"18u6gg"}],["circle",{cx:"12",cy:"13",r:"3",key:"1vg3eu"}]],z3=I("camera",T3);const j3=[["path",{d:"M19 17h2c.6 0 1-.4 1-1v-3c0-.9-.7-1.7-1.5-1.9C18.7 10.6 16 10 16 10s-1.3-1.4-2.2-2.3c-.5-.4-1.1-.7-1.8-.7H5c-.6 0-1.1.4-1.4.9l-1.4 2.9A3.7 3.7 0 0 0 2 12v4c0 .6.4 1 1 1h2",key:"5owen"}],["circle",{cx:"7",cy:"17",r:"2",key:"u2ysq9"}],["path",{d:"M9 17h6",key:"r8uit2"}],["circle",{cx:"17",cy:"17",r:"2",key:"axvx0g"}]],R3=I("car",j3);const O3=[["path",{d:"M2.27 21.7s9.87-3.5 12.73-6.36a4.5 4.5 0 0 0-6.36-6.37C5.77 11.84 2.27 21.7 2.27 21.7zM8.64 14l-2.05-2.04M15.34 15l-2.46-2.46",key:"rfqxbe"}],["path",{d:"M22 9s-1.33-2-3.5-2C16.86 7 15 9 15 9s1.33 2 3.5 2S22 9 22 9z",key:"6b25w4"}],["path",{d:"M15 2s-2 1.33-2 3.5S15 9 15 9s2-1.84 2-3.5C17 3.33 15 2 15 2z",key:"fn65lo"}]],L3=I("carrot",O3);const P3=[["path",{d:"M12 5c.67 0 1.35.09 2 .26 1.78-2 5.03-2.84 6.42-2.26 1.4.58-.42 7-.42 7 .57 1.07 1 2.24 1 3.44C21 17.9 16.97 21 12 21s-9-3-9-7.56c0-1.25.5-2.4 1-3.44 0 0-1.89-6.42-.5-7 1.39-.58 4.72.23 6.5 2.23A9.04 9.04 0 0 1 12 5Z",key:"x6xyqk"}],["path",{d:"M8 14v.5",key:"1nzgdb"}],["path",{d:"M16 14v.5",key:"1lajdz"}],["path",{d:"M11.25 16.25h1.5L12 17l-.75-.75Z",key:"12kq1m"}]],U3=I("cat",P3);const H3=[["path",{d:"M3 3v16a2 2 0 0 0 2 2h16",key:"c24i48"}],["path",{d:"M7 16h8",key:"srdodz"}],["path",{d:"M7 11h12",key:"127s9w"}],["path",{d:"M7 6h3",key:"w9rmul"}]],q3=I("chart-bar",H3);const I3=[["path",{d:"M3 3v16a2 2 0 0 0 2 2h16",key:"c24i48"}],["path",{d:"m19 9-5 5-4-4-3 3",key:"2osh9i"}]],V3=I("chart-line",I3);const $3=[["path",{d:"M21 12c.552 0 1.005-.449.95-.998a10 10 0 0 0-8.953-8.951c-.55-.055-.998.398-.998.95v8a1 1 0 0 0 1 1z",key:"pzmjnu"}],["path",{d:"M21.21 15.89A10 10 0 1 1 8 2.83",key:"k2fpak"}]],G3=I("chart-pie",$3);const Q3=[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]],pr=I("check",Q3);const Y3=[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]],Po=I("chevron-down",Y3);const X3=[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]],K3=I("chevron-up",X3);const Z3=[["path",{d:"M20.2 6 3 11l-.9-2.4c-.3-1.1.3-2.2 1.3-2.5l13.5-4c1.1-.3 2.2.3 2.5 1.3Z",key:"1tn4o7"}],["path",{d:"m6.2 5.3 3.1 3.9",key:"iuk76l"}],["path",{d:"m12.4 3.4 3.1 4",key:"6hsd6n"}],["path",{d:"M3 11h18v8a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2Z",key:"ltgou9"}]],J3=I("clapperboard",Z3);const W3=[["path",{d:"M12 6v6l4 2",key:"mmk7yg"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]],eC=I("clock",W3);const tC=[["path",{d:"M10.94 5.274A7 7 0 0 1 15.71 10h1.79a4.5 4.5 0 0 1 4.222 6.057",key:"1uxyv8"}],["path",{d:"M18.796 18.81A4.5 4.5 0 0 1 17.5 19H9A7 7 0 0 1 5.79 5.78",key:"99tcn7"}],["path",{d:"m2 2 20 20",key:"1ooewy"}]],nC=I("cloud-off",tC);const rC=[["path",{d:"M12 13v8",key:"1l5pq0"}],["path",{d:"M4 14.899A7 7 0 1 1 15.71 8h1.79a4.5 4.5 0 0 1 2.5 8.242",key:"1pljnt"}],["path",{d:"m8 17 4-4 4 4",key:"1quai1"}]],aC=I("cloud-upload",rC);const lC=[["path",{d:"M17.5 19H9a7 7 0 1 1 6.71-9h1.79a4.5 4.5 0 1 1 0 9Z",key:"p7xjir"}]],iC=I("cloud",lC);const oC=[["path",{d:"m18 16 4-4-4-4",key:"1inbqp"}],["path",{d:"m6 8-4 4 4 4",key:"15zrgr"}],["path",{d:"m14.5 4-5 16",key:"e7oirm"}]],sC=I("code-xml",oC);const xC=[["path",{d:"m16 18 6-6-6-6",key:"eg8j8"}],["path",{d:"m8 6-6 6 6 6",key:"ppft3o"}]],uC=I("code",xC);const cC=[["path",{d:"M10 2v2",key:"7u0qdc"}],["path",{d:"M14 2v2",key:"6buw04"}],["path",{d:"M16 8a1 1 0 0 1 1 1v8a4 4 0 0 1-4 4H7a4 4 0 0 1-4-4V9a1 1 0 0 1 1-1h14a4 4 0 1 1 0 8h-1",key:"pwadti"}],["path",{d:"M6 2v2",key:"colzsn"}]],fC=I("coffee",cC);const dC=[["path",{d:"M11 10.27 7 3.34",key:"16pf9h"}],["path",{d:"m11 13.73-4 6.93",key:"794ttg"}],["path",{d:"M12 22v-2",key:"1osdcq"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M14 12h8",key:"4f43i9"}],["path",{d:"m17 20.66-1-1.73",key:"eq3orb"}],["path",{d:"m17 3.34-1 1.73",key:"2wel8s"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"m20.66 17-1.73-1",key:"sg0v6f"}],["path",{d:"m20.66 7-1.73 1",key:"1ow05n"}],["path",{d:"m3.34 17 1.73-1",key:"nuk764"}],["path",{d:"m3.34 7 1.73 1",key:"1ulond"}],["circle",{cx:"12",cy:"12",r:"2",key:"1c9p78"}],["circle",{cx:"12",cy:"12",r:"8",key:"46899m"}]],hC=I("cog",dC);const pC=[["path",{d:"m16.24 7.76-1.804 5.411a2 2 0 0 1-1.265 1.265L7.76 16.24l1.804-5.411a2 2 0 0 1 1.265-1.265z",key:"9ktpf1"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]],mC=I("compass",pC);const EC=[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]],b2=I("copy",EC);const CC=[["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M17 20v2",key:"1rnc9c"}],["path",{d:"M17 2v2",key:"11trls"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M2 17h2",key:"7oei6x"}],["path",{d:"M2 7h2",key:"asdhe0"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"M20 17h2",key:"1fpfkl"}],["path",{d:"M20 7h2",key:"1o8tra"}],["path",{d:"M7 20v2",key:"4gnj0m"}],["path",{d:"M7 2v2",key:"1i4yhu"}],["rect",{x:"4",y:"4",width:"16",height:"16",rx:"2",key:"1vbyd7"}],["rect",{x:"8",y:"8",width:"8",height:"8",rx:"1",key:"z9xiuo"}]],yC=I("cpu",CC);const gC=[["rect",{width:"20",height:"14",x:"2",y:"5",rx:"2",key:"ynyp8z"}],["line",{x1:"2",x2:"22",y1:"10",y2:"10",key:"1b3vmo"}]],BC=I("credit-card",gC);const AC=[["path",{d:"M11.562 3.266a.5.5 0 0 1 .876 0L15.39 8.87a1 1 0 0 0 1.516.294L21.183 5.5a.5.5 0 0 1 .798.519l-2.834 10.246a1 1 0 0 1-.956.734H5.81a1 1 0 0 1-.957-.734L2.02 6.02a.5.5 0 0 1 .798-.519l4.276 3.664a1 1 0 0 0 1.516-.294z",key:"1vdc57"}],["path",{d:"M5 21h14",key:"11awu3"}]],bC=I("crown",AC);const DC=[["ellipse",{cx:"12",cy:"5",rx:"9",ry:"3",key:"msslwz"}],["path",{d:"M3 5V19A9 3 0 0 0 21 19V5",key:"1wlel7"}],["path",{d:"M3 12A9 3 0 0 0 21 12",key:"mv7ke4"}]],vC=I("database",DC);const kC=[["path",{d:"m10 16 1.5 1.5",key:"11lckj"}],["path",{d:"m14 8-1.5-1.5",key:"1ohn8i"}],["path",{d:"M15 2c-1.798 1.998-2.518 3.995-2.807 5.993",key:"80uv8i"}],["path",{d:"m16.5 10.5 1 1",key:"696xn5"}],["path",{d:"m17 6-2.891-2.891",key:"xu6p2f"}],["path",{d:"M2 15c6.667-6 13.333 0 20-6",key:"1pyr53"}],["path",{d:"m20 9 .891.891",key:"3xwk7g"}],["path",{d:"M3.109 14.109 4 15",key:"q76aoh"}],["path",{d:"m6.5 12.5 1 1",key:"cs35ky"}],["path",{d:"m7 18 2.891 2.891",key:"1sisit"}],["path",{d:"M9 22c1.798-1.998 2.518-3.995 2.807-5.993",key:"q3hbxp"}]],FC=I("dna",kC);const wC=[["path",{d:"M11.25 16.25h1.5L12 17z",key:"w7jh35"}],["path",{d:"M16 14v.5",key:"1lajdz"}],["path",{d:"M4.42 11.247A13.152 13.152 0 0 0 4 14.556C4 18.728 7.582 21 12 21s8-2.272 8-6.444a11.702 11.702 0 0 0-.493-3.309",key:"u7s9ue"}],["path",{d:"M8 14v.5",key:"1nzgdb"}],["path",{d:"M8.5 8.5c-.384 1.05-1.083 2.028-2.344 2.5-1.931.722-3.576-.297-3.656-1-.113-.994 1.177-6.53 4-7 1.923-.321 3.651.845 3.651 2.235A7.497 7.497 0 0 1 14 5.277c0-1.39 1.844-2.598 3.767-2.277 2.823.47 4.113 6.006 4 7-.08.703-1.725 1.722-3.656 1-1.261-.472-1.855-1.45-2.239-2.5",key:"v8hric"}]],SC=I("dog",wC);const MC=[["line",{x1:"12",x2:"12",y1:"2",y2:"22",key:"7eqyqh"}],["path",{d:"M17 5H9.5a3.5 3.5 0 0 0 0 7h5a3.5 3.5 0 0 1 0 7H6",key:"1b0p4s"}]],NC=I("dollar-sign",MC);const _C=[["path",{d:"M17.596 12.768a2 2 0 1 0 2.829-2.829l-1.768-1.767a2 2 0 0 0 2.828-2.829l-2.828-2.828a2 2 0 0 0-2.829 2.828l-1.767-1.768a2 2 0 1 0-2.829 2.829z",key:"9m4mmf"}],["path",{d:"m2.5 21.5 1.4-1.4",key:"17g3f0"}],["path",{d:"m20.1 3.9 1.4-1.4",key:"1qn309"}],["path",{d:"M5.343 21.485a2 2 0 1 0 2.829-2.828l1.767 1.768a2 2 0 1 0 2.829-2.829l-6.364-6.364a2 2 0 1 0-2.829 2.829l1.768 1.767a2 2 0 0 0-2.828 2.829z",key:"1t2c92"}],["path",{d:"m9.6 14.4 4.8-4.8",key:"6umqxw"}]],TC=I("dumbbell",_C);const zC=[["path",{d:"M12 2C8 2 4 8 4 14a8 8 0 0 0 16 0c0-6-4-12-8-12",key:"1le142"}]],jC=I("egg",zC);const RC=[["path",{d:"M12 16h.01",key:"1drbdi"}],["path",{d:"M16 16h.01",key:"1f9h7w"}],["path",{d:"M3 19a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V8.5a.5.5 0 0 0-.769-.422l-4.462 2.844A.5.5 0 0 1 15 10.5v-2a.5.5 0 0 0-.769-.422L9.77 10.922A.5.5 0 0 1 9 10.5V5a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2z",key:"1iv0i2"}],["path",{d:"M8 16h.01",key:"18s6g9"}]],OC=I("factory",RC);const LC=[["path",{d:"M12.67 19a2 2 0 0 0 1.416-.588l6.154-6.172a6 6 0 0 0-8.49-8.49L5.586 9.914A2 2 0 0 0 5 11.328V18a1 1 0 0 0 1 1z",key:"18jl4k"}],["path",{d:"M16 8 2 22",key:"vp34q"}],["path",{d:"M17.5 15H9",key:"1oz8nu"}]],PC=I("feather",LC);const UC=[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"M10 12.5 8 15l2 2.5",key:"1tg20x"}],["path",{d:"m14 12.5 2 2.5-2 2.5",key:"yinavb"}]],HC=I("file-code",UC);const qC=[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M9 10h6",key:"9gxzsh"}],["path",{d:"M12 13V7",key:"h0r20n"}],["path",{d:"M9 17h6",key:"r8uit2"}]],IC=I("file-diff",qC);const VC=[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}]],$C=I("file",VC);const GC=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M7 3v18",key:"bbkbws"}],["path",{d:"M3 7.5h4",key:"zfgn84"}],["path",{d:"M3 12h18",key:"1i2n21"}],["path",{d:"M3 16.5h4",key:"1230mu"}],["path",{d:"M17 3v18",key:"in4fa5"}],["path",{d:"M17 7.5h4",key:"myr1c1"}],["path",{d:"M17 16.5h4",key:"go4c1d"}]],QC=I("film",GC);const YC=[["path",{d:"M6.5 12c.94-3.46 4.94-6 8.5-6 3.56 0 6.06 2.54 7 6-.94 3.47-3.44 6-7 6s-7.56-2.53-8.5-6Z",key:"15baut"}],["path",{d:"M18 12v.5",key:"18hhni"}],["path",{d:"M16 17.93a9.77 9.77 0 0 1 0-11.86",key:"16dt7o"}],["path",{d:"M7 10.67C7 8 5.58 5.97 2.73 5.5c-1 1.5-1 5 .23 6.5-1.24 1.5-1.24 5-.23 6.5C5.58 18.03 7 16 7 13.33",key:"l9di03"}],["path",{d:"M10.46 7.26C10.2 5.88 9.17 4.24 8 3h5.8a2 2 0 0 1 1.98 1.67l.23 1.4",key:"1kjonw"}],["path",{d:"m16.01 17.93-.23 1.4A2 2 0 0 1 13.8 21H9.5a5.96 5.96 0 0 0 1.49-3.98",key:"1zlm23"}]],XC=I("fish",YC);const KC=[["path",{d:"M4 22V4a1 1 0 0 1 .4-.8A6 6 0 0 1 8 2c3 0 5 2 7.333 2q2 0 3.067-.8A1 1 0 0 1 20 4v10a1 1 0 0 1-.4.8A6 6 0 0 1 16 16c-3 0-5-2-8-2a6 6 0 0 0-4 1.528",key:"1jaruq"}]],ZC=I("flag",KC);const JC=[["path",{d:"M12 3q1 4 4 6.5t3 5.5a1 1 0 0 1-14 0 5 5 0 0 1 1-3 1 1 0 0 0 5 0c0-2-1.5-3-1.5-5q0-2 2.5-4",key:"1slcih"}]],WC=I("flame",JC);const ey=[["path",{d:"M14 2v6a2 2 0 0 0 .245.96l5.51 10.08A2 2 0 0 1 18 22H6a2 2 0 0 1-1.755-2.96l5.51-10.08A2 2 0 0 0 10 8V2",key:"18mbvz"}],["path",{d:"M6.453 15h11.094",key:"3shlmq"}],["path",{d:"M8.5 2h7",key:"csnxdl"}]],ty=I("flask-conical",ey);const ny=[["path",{d:"M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z",key:"1kt360"}]],ry=I("folder",ny);const ay=[["line",{x1:"6",x2:"10",y1:"11",y2:"11",key:"1gktln"}],["line",{x1:"8",x2:"8",y1:"9",y2:"13",key:"qnk9ow"}],["line",{x1:"15",x2:"15.01",y1:"12",y2:"12",key:"krot7o"}],["line",{x1:"18",x2:"18.01",y1:"10",y2:"10",key:"1lcuu1"}],["path",{d:"M17.32 5H6.68a4 4 0 0 0-3.978 3.59c-.006.052-.01.101-.017.152C2.604 9.416 2 14.456 2 16a3 3 0 0 0 3 3c1 0 1.5-.5 2-1l1.414-1.414A2 2 0 0 1 9.828 16h4.344a2 2 0 0 1 1.414.586L17 18c.5.5 1 1 2 1a3 3 0 0 0 3-3c0-1.545-.604-6.584-.685-7.258-.007-.05-.011-.1-.017-.151A4 4 0 0 0 17.32 5z",key:"mfqc10"}]],ly=I("gamepad-2",ay);const iy=[["path",{d:"M10.5 3 8 9l4 13 4-13-2.5-6",key:"b3dvk1"}],["path",{d:"M17 3a2 2 0 0 1 1.6.8l3 4a2 2 0 0 1 .013 2.382l-7.99 10.986a2 2 0 0 1-3.247 0l-7.99-10.986A2 2 0 0 1 2.4 7.8l2.998-3.997A2 2 0 0 1 7 3z",key:"7w4byz"}],["path",{d:"M2 9h20",key:"16fsjt"}]],oy=I("gem",iy);const sy=[["rect",{x:"3",y:"8",width:"18",height:"4",rx:"1",key:"bkv52"}],["path",{d:"M12 8v13",key:"1c76mn"}],["path",{d:"M19 12v7a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2v-7",key:"6wjy6b"}],["path",{d:"M7.5 8a2.5 2.5 0 0 1 0-5A4.8 8 0 0 1 12 8a4.8 8 0 0 1 4.5-5 2.5 2.5 0 0 1 0 5",key:"1ihvrl"}]],xy=I("gift",sy);const uy=[["line",{x1:"6",x2:"6",y1:"3",y2:"15",key:"17qcm7"}],["circle",{cx:"18",cy:"6",r:"3",key:"1h7g24"}],["circle",{cx:"6",cy:"18",r:"3",key:"fqmcym"}],["path",{d:"M18 9a9 9 0 0 1-9 9",key:"n2h4wq"}]],cy=I("git-branch",uy);const fy=[["circle",{cx:"18",cy:"18",r:"3",key:"1xkwt0"}],["circle",{cx:"6",cy:"6",r:"3",key:"1lh9wr"}],["path",{d:"M6 21V9a9 9 0 0 0 9 9",key:"7kw0sc"}]],D2=I("git-merge",fy);const dy=[["path",{d:"M15 22v-4a4.8 4.8 0 0 0-1-3.5c3 0 6-2 6-5.5.08-1.25-.27-2.48-1-3.5.28-1.15.28-2.35 0-3.5 0 0-1 0-3 1.5-2.64-.5-5.36-.5-8 0C6 2 5 2 5 2c-.3 1.15-.3 2.35 0 3.5A5.403 5.403 0 0 0 4 9c0 3.5 3 5.5 6 5.5-.39.49-.68 1.05-.85 1.65-.17.6-.22 1.23-.15 1.85v4",key:"tonef"}],["path",{d:"M9 18c-4.51 2-5-2-7-2",key:"9comsn"}]],hy=I("github",dy);const py=[["circle",{cx:"6",cy:"15",r:"4",key:"vux9w4"}],["circle",{cx:"18",cy:"15",r:"4",key:"18o8ve"}],["path",{d:"M14 15a2 2 0 0 0-2-2 2 2 0 0 0-2 2",key:"1ag4bs"}],["path",{d:"M2.5 13 5 7c.7-1.3 1.4-2 3-2",key:"1hm1gs"}],["path",{d:"M21.5 13 19 7c-.7-1.3-1.5-2-3-2",key:"1r31ai"}]],my=I("glasses",py);const Ey=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20",key:"13o1zl"}],["path",{d:"M2 12h20",key:"9i4pu4"}]],Cy=I("globe",Ey);const yy=[["path",{d:"M21.42 10.922a1 1 0 0 0-.019-1.838L12.83 5.18a2 2 0 0 0-1.66 0L2.6 9.08a1 1 0 0 0 0 1.832l8.57 3.908a2 2 0 0 0 1.66 0z",key:"j76jl0"}],["path",{d:"M22 10v6",key:"1lu8f3"}],["path",{d:"M6 12.5V16a6 3 0 0 0 12 0v-3.5",key:"1r8lef"}]],gy=I("graduation-cap",yy);const By=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M3 9h18",key:"1pudct"}],["path",{d:"M3 15h18",key:"5xshup"}],["path",{d:"M9 3v18",key:"fh3hqa"}],["path",{d:"M15 3v18",key:"14nvp0"}]],Ay=I("grid-3x3",By);const by=[["path",{d:"m15 12-9.373 9.373a1 1 0 0 1-3.001-3L12 9",key:"1hayfq"}],["path",{d:"m18 15 4-4",key:"16gjal"}],["path",{d:"m21.5 11.5-1.914-1.914A2 2 0 0 1 19 8.172v-.344a2 2 0 0 0-.586-1.414l-1.657-1.657A6 6 0 0 0 12.516 3H9l1.243 1.243A6 6 0 0 1 12 8.485V10l2 2h1.172a2 2 0 0 1 1.414.586L18.5 14.5",key:"15ts47"}]],Dy=I("hammer",by);const vy=[["path",{d:"M3 14h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-7a9 9 0 0 1 18 0v7a2 2 0 0 1-2 2h-1a2 2 0 0 1-2-2v-3a2 2 0 0 1 2-2h3",key:"1xhozi"}]],ky=I("headphones",vy);const Fy=[["path",{d:"M2 9.5a5.5 5.5 0 0 1 9.591-3.676.56.56 0 0 0 .818 0A5.49 5.49 0 0 1 22 9.5c0 2.29-1.5 4-3 5.5l-5.492 5.313a2 2 0 0 1-3 .019L5 15c-1.5-1.5-3-3.2-3-5.5",key:"mvr1a0"}],["path",{d:"M3.22 13H9.5l.5-1 2 4.5 2-7 1.5 3.5h5.27",key:"auskq0"}]],wy=I("heart-pulse",Fy);const Sy=[["path",{d:"M2 9.5a5.5 5.5 0 0 1 9.591-3.676.56.56 0 0 0 .818 0A5.49 5.49 0 0 1 22 9.5c0 2.29-1.5 4-3 5.5l-5.492 5.313a2 2 0 0 1-3 .019L5 15c-1.5-1.5-3-3.2-3-5.5",key:"mvr1a0"}]],My=I("heart",Sy);const Ny=[["path",{d:"M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8",key:"5wwlr5"}],["path",{d:"M3 10a2 2 0 0 1 .709-1.528l7-6a2 2 0 0 1 2.582 0l7 6A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z",key:"r6nss1"}]],_y=I("house",Ny);const Ty=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",ry:"2",key:"1m3agn"}],["circle",{cx:"9",cy:"9",r:"2",key:"af1f0g"}],["path",{d:"m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21",key:"1xmnt7"}]],zy=I("image",Ty);const jy=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]],Ry=I("info",jy);const Oy=[["path",{d:"m15.5 7.5 2.3 2.3a1 1 0 0 0 1.4 0l2.1-2.1a1 1 0 0 0 0-1.4L19 4",key:"g0fldk"}],["path",{d:"m21 2-9.6 9.6",key:"1j0ho8"}],["circle",{cx:"7.5",cy:"15.5",r:"5.5",key:"yqb3hr"}]],Ly=I("key",Oy);const Py=[["path",{d:"M18 5a2 2 0 0 1 2 2v8.526a2 2 0 0 0 .212.897l1.068 2.127a1 1 0 0 1-.9 1.45H3.62a1 1 0 0 1-.9-1.45l1.068-2.127A2 2 0 0 0 4 15.526V7a2 2 0 0 1 2-2z",key:"1pdavp"}],["path",{d:"M20.054 15.987H3.946",key:"14rxg9"}]],Uy=I("laptop",Py);const Hy=[["path",{d:"M12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83z",key:"zw3jo"}],["path",{d:"M2 12a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 12",key:"1wduqc"}],["path",{d:"M2 17a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 17",key:"kqbvx6"}]],qy=I("layers",Hy);const Iy=[["rect",{width:"7",height:"7",x:"3",y:"3",rx:"1",key:"1g98yp"}],["rect",{width:"7",height:"7",x:"14",y:"3",rx:"1",key:"6d4xhi"}],["rect",{width:"7",height:"7",x:"14",y:"14",rx:"1",key:"nxv5o0"}],["rect",{width:"7",height:"7",x:"3",y:"14",rx:"1",key:"1bb6yr"}]],Vy=I("layout-grid",Iy);const $y=[["path",{d:"M11 20A7 7 0 0 1 9.8 6.1C15.5 5 17 4.48 19 2c1 2 2 4.18 2 8 0 5.5-4.78 10-10 10Z",key:"nnexq3"}],["path",{d:"M2 21c0-3 1.85-5.36 5.08-6C9.5 14.52 12 13 13 12",key:"mt58a7"}]],Gy=I("leaf",$y);const Qy=[["path",{d:"M15 14c.2-1 .7-1.7 1.5-2.5 1-.9 1.5-2.2 1.5-3.5A6 6 0 0 0 6 8c0 1 .2 2.2 1.5 3.5.7.7 1.3 1.5 1.5 2.5",key:"1gvzjb"}],["path",{d:"M9 18h6",key:"x1upvd"}],["path",{d:"M10 22h4",key:"ceow96"}]],Yy=I("lightbulb",Qy);const Xy=[["path",{d:"M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71",key:"1cjeqo"}],["path",{d:"M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71",key:"19qd67"}]],Ky=I("link",Xy);const Zy=[["path",{d:"M3 5h.01",key:"18ugdj"}],["path",{d:"M3 12h.01",key:"nlz23k"}],["path",{d:"M3 19h.01",key:"noohij"}],["path",{d:"M8 5h13",key:"1pao27"}],["path",{d:"M8 12h13",key:"1za7za"}],["path",{d:"M8 19h13",key:"m83p4d"}]],Jy=I("list",Zy);const Wy=[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]],Ac=I("loader-circle",Wy);const eg=[["rect",{width:"18",height:"11",x:"3",y:"11",rx:"2",ry:"2",key:"1w4ew1"}],["path",{d:"M7 11V7a5 5 0 0 1 10 0v4",key:"fwvmzm"}]],tg=I("lock",eg);const ng=[["path",{d:"m16 17 5-5-5-5",key:"1bji2h"}],["path",{d:"M21 12H9",key:"dn1m92"}],["path",{d:"M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4",key:"1uf3rs"}]],rg=I("log-out",ng);const ag=[["path",{d:"m22 7-8.991 5.727a2 2 0 0 1-2.009 0L2 7",key:"132q7q"}],["rect",{x:"2",y:"4",width:"20",height:"16",rx:"2",key:"izxlao"}]],lg=I("mail",ag);const ig=[["path",{d:"M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0",key:"1r0f0z"}],["circle",{cx:"12",cy:"10",r:"3",key:"ilqhr7"}]],og=I("map-pin",ig);const sg=[["path",{d:"M14.106 5.553a2 2 0 0 0 1.788 0l3.659-1.83A1 1 0 0 1 21 4.619v12.764a1 1 0 0 1-.553.894l-4.553 2.277a2 2 0 0 1-1.788 0l-4.212-2.106a2 2 0 0 0-1.788 0l-3.659 1.83A1 1 0 0 1 3 19.381V6.618a1 1 0 0 1 .553-.894l4.553-2.277a2 2 0 0 1 1.788 0z",key:"169xi5"}],["path",{d:"M15 5.764v15",key:"1pn4in"}],["path",{d:"M9 3.236v15",key:"1uimfh"}]],xg=I("map",sg);const ug=[["path",{d:"M8 22h8",key:"rmew8v"}],["path",{d:"M12 11v11",key:"ur9y6a"}],["path",{d:"m19 3-7 8-7-8Z",key:"1sgpiw"}]],cg=I("martini",ug);const fg=[["path",{d:"M7.21 15 2.66 7.14a2 2 0 0 1 .13-2.2L4.4 2.8A2 2 0 0 1 6 2h12a2 2 0 0 1 1.6.8l1.6 2.14a2 2 0 0 1 .14 2.2L16.79 15",key:"143lza"}],["path",{d:"M11 12 5.12 2.2",key:"qhuxz6"}],["path",{d:"m13 12 5.88-9.8",key:"hbye0f"}],["path",{d:"M8 7h8",key:"i86dvs"}],["circle",{cx:"12",cy:"17",r:"5",key:"qbz8iq"}],["path",{d:"M12 18v-2h-.5",key:"fawc4q"}]],dg=I("medal",fg);const hg=[["path",{d:"M2.992 16.342a2 2 0 0 1 .094 1.167l-1.065 3.29a1 1 0 0 0 1.236 1.168l3.413-.998a2 2 0 0 1 1.099.092 10 10 0 1 0-4.777-4.719",key:"1sd12s"}]],pg=I("message-circle",hg);const mg=[["path",{d:"M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z",key:"18887p"}]],Eg=I("message-square",mg);const Cg=[["path",{d:"M12 19v3",key:"npa21l"}],["path",{d:"M19 10v2a7 7 0 0 1-14 0v-2",key:"1vc78b"}],["rect",{x:"9",y:"2",width:"6",height:"13",rx:"3",key:"s6n7sd"}]],yg=I("mic",Cg);const gg=[["path",{d:"M6 18h8",key:"1borvv"}],["path",{d:"M3 22h18",key:"8prr45"}],["path",{d:"M14 22a7 7 0 1 0 0-14h-1",key:"1jwaiy"}],["path",{d:"M9 14h2",key:"197e7h"}],["path",{d:"M9 12a2 2 0 0 1-2-2V6h6v4a2 2 0 0 1-2 2Z",key:"1bmzmy"}],["path",{d:"M12 6V3a1 1 0 0 0-1-1H9a1 1 0 0 0-1 1v3",key:"1drr47"}]],Bg=I("microscope",gg);const Ag=[["rect",{width:"20",height:"14",x:"2",y:"3",rx:"2",key:"48i651"}],["line",{x1:"8",x2:"16",y1:"21",y2:"21",key:"1svkeh"}],["line",{x1:"12",x2:"12",y1:"17",y2:"21",key:"vw1qmm"}]],bg=I("monitor",Ag);const Dg=[["path",{d:"M20.985 12.486a9 9 0 1 1-9.473-9.472c.405-.022.617.46.402.803a6 6 0 0 0 8.268 8.268c.344-.215.825-.004.803.401",key:"kfwtm"}]],vg=I("moon",Dg);const kg=[["path",{d:"M9 18V5l12-2v13",key:"1jmyc2"}],["circle",{cx:"6",cy:"18",r:"3",key:"fqmcym"}],["circle",{cx:"18",cy:"16",r:"3",key:"1hluhg"}]],Fg=I("music",kg);const wg=[["path",{d:"M20.341 6.484A10 10 0 0 1 10.266 21.85",key:"1enhxb"}],["path",{d:"M3.659 17.516A10 10 0 0 1 13.74 2.152",key:"1crzgf"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}],["circle",{cx:"19",cy:"5",r:"2",key:"mhkx31"}],["circle",{cx:"5",cy:"19",r:"2",key:"v8kfzx"}]],Sg=I("orbit",wg);const Mg=[["path",{d:"M11 21.73a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73z",key:"1a0edw"}],["path",{d:"M12 22V12",key:"d0xqtd"}],["polyline",{points:"3.29 7 12 12 20.71 7",key:"ousv84"}],["path",{d:"m7.5 4.27 9 5.15",key:"1c824w"}]],Ng=I("package",Mg);const _g=[["path",{d:"m14.622 17.897-10.68-2.913",key:"vj2p1u"}],["path",{d:"M18.376 2.622a1 1 0 1 1 3.002 3.002L17.36 9.643a.5.5 0 0 0 0 .707l.944.944a2.41 2.41 0 0 1 0 3.408l-.944.944a.5.5 0 0 1-.707 0L8.354 7.348a.5.5 0 0 1 0-.707l.944-.944a2.41 2.41 0 0 1 3.408 0l.944.944a.5.5 0 0 0 .707 0z",key:"18tc5c"}],["path",{d:"M9 8c-1.804 2.71-3.97 3.46-6.583 3.948a.507.507 0 0 0-.302.819l7.32 8.883a1 1 0 0 0 1.185.204C12.735 20.405 16 16.792 16 15",key:"ytzfxy"}]],Tg=I("paintbrush",_g);const zg=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M9 3v18",key:"fh3hqa"}]],jg=I("panel-left",zg);const Rg=[["path",{d:"m16 6-8.414 8.586a2 2 0 0 0 2.829 2.829l8.414-8.586a4 4 0 1 0-5.657-5.657l-8.379 8.551a6 6 0 1 0 8.485 8.485l8.379-8.551",key:"1miecu"}]],Og=I("paperclip",Rg);const Lg=[["circle",{cx:"11",cy:"4",r:"2",key:"vol9p0"}],["circle",{cx:"18",cy:"8",r:"2",key:"17gozi"}],["circle",{cx:"20",cy:"16",r:"2",key:"1v9bxh"}],["path",{d:"M9 10a5 5 0 0 1 5 5v3.5a3.5 3.5 0 0 1-6.84 1.045Q6.52 17.48 4.46 16.84A3.5 3.5 0 0 1 5.5 10Z",key:"1ydw1z"}]],Pg=I("paw-print",Lg);const Ug=[["path",{d:"M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z",key:"1a8usu"}]],Hg=I("pen",Ug);const qg=[["path",{d:"M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z",key:"1a8usu"}],["path",{d:"m15 5 4 4",key:"1mk7zo"}]],Ig=I("pencil",qg);const Vg=[["path",{d:"M13.832 16.568a1 1 0 0 0 1.213-.303l.355-.465A2 2 0 0 1 17 15h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2A18 18 0 0 1 2 4a2 2 0 0 1 2-2h3a2 2 0 0 1 2 2v3a2 2 0 0 1-.8 1.6l-.468.351a1 1 0 0 0-.292 1.233 14 14 0 0 0 6.392 6.384",key:"9njp5v"}]],$g=I("phone",Vg);const Gg=[["path",{d:"m10.5 20.5 10-10a4.95 4.95 0 1 0-7-7l-10 10a4.95 4.95 0 1 0 7 7Z",key:"wa1lgi"}],["path",{d:"m8.5 8.5 7 7",key:"rvfmvr"}]],Qg=I("pill",Gg);const Yg=[["path",{d:"m12 9-8.414 8.414A2 2 0 0 0 3 18.828v1.344a2 2 0 0 1-.586 1.414A2 2 0 0 1 3.828 21h1.344a2 2 0 0 0 1.414-.586L15 12",key:"1y3wsu"}],["path",{d:"m18 9 .4.4a1 1 0 1 1-3 3l-3.8-3.8a1 1 0 1 1 3-3l.4.4 3.4-3.4a1 1 0 1 1 3 3z",key:"110lr1"}],["path",{d:"m2 22 .414-.414",key:"jhxm08"}]],Xg=I("pipette",Yg);const Kg=[["path",{d:"m12 14-1 1",key:"11onhr"}],["path",{d:"m13.75 18.25-1.25 1.42",key:"1yisr3"}],["path",{d:"M17.775 5.654a15.68 15.68 0 0 0-12.121 12.12",key:"1qtqk6"}],["path",{d:"M18.8 9.3a1 1 0 0 0 2.1 7.7",key:"fbbbr2"}],["path",{d:"M21.964 20.732a1 1 0 0 1-1.232 1.232l-18-5a1 1 0 0 1-.695-1.232A19.68 19.68 0 0 1 15.732 2.037a1 1 0 0 1 1.232.695z",key:"1hyfdd"}]],Zg=I("pizza",Kg);const Jg=[["path",{d:"M17.8 19.2 16 11l3.5-3.5C21 6 21.5 4 21 3c-1-.5-3 0-4.5 1.5L13 8 4.8 6.2c-.5-.1-.9.1-1.1.5l-.3.5c-.2.5-.1 1 .3 1.3L9 12l-2 3H4l-1 1 3 2 2 3 1-1v-3l3-2 3.5 5.3c.3.4.8.5 1.3.3l.5-.2c.4-.3.6-.7.5-1.2z",key:"1v9wt8"}]],Wg=I("plane",Jg);const eB=[["path",{d:"M12 22v-5",key:"1ega77"}],["path",{d:"M15 8V2",key:"18g5xt"}],["path",{d:"M17 8a1 1 0 0 1 1 1v4a4 4 0 0 1-4 4h-4a4 4 0 0 1-4-4V9a1 1 0 0 1 1-1z",key:"1xoxul"}],["path",{d:"M9 8V2",key:"14iosj"}]],tB=I("plug",eB);const nB=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]],v2=I("plus",nB);const rB=[["path",{d:"M12 2v10",key:"mnfbl"}],["path",{d:"M18.4 6.6a9 9 0 1 1-12.77.04",key:"obofu9"}]],aB=I("power",rB);const lB=[["path",{d:"M15.39 4.39a1 1 0 0 0 1.68-.474 2.5 2.5 0 1 1 3.014 3.015 1 1 0 0 0-.474 1.68l1.683 1.682a2.414 2.414 0 0 1 0 3.414L19.61 15.39a1 1 0 0 1-1.68-.474 2.5 2.5 0 1 0-3.014 3.015 1 1 0 0 1 .474 1.68l-1.683 1.682a2.414 2.414 0 0 1-3.414 0L8.61 19.61a1 1 0 0 0-1.68.474 2.5 2.5 0 1 1-3.014-3.015 1 1 0 0 0 .474-1.68l-1.683-1.682a2.414 2.414 0 0 1 0-3.414L4.39 8.61a1 1 0 0 1 1.68.474 2.5 2.5 0 1 0 3.014-3.015 1 1 0 0 1-.474-1.68l1.683-1.682a2.414 2.414 0 0 1 3.414 0z",key:"w46dr5"}]],iB=I("puzzle",lB);const oB=[["rect",{width:"5",height:"5",x:"3",y:"3",rx:"1",key:"1tu5fj"}],["rect",{width:"5",height:"5",x:"16",y:"3",rx:"1",key:"1v8r4q"}],["rect",{width:"5",height:"5",x:"3",y:"16",rx:"1",key:"1x03jg"}],["path",{d:"M21 16h-3a2 2 0 0 0-2 2v3",key:"177gqh"}],["path",{d:"M21 21v.01",key:"ents32"}],["path",{d:"M12 7v3a2 2 0 0 1-2 2H7",key:"8crl2c"}],["path",{d:"M3 12h.01",key:"nlz23k"}],["path",{d:"M12 3h.01",key:"n36tog"}],["path",{d:"M12 16v.01",key:"133mhm"}],["path",{d:"M16 12h1",key:"1slzba"}],["path",{d:"M21 12v.01",key:"1lwtk9"}],["path",{d:"M12 21v-1",key:"1880an"}]],k2=I("qr-code",oB);const sB=[["path",{d:"M13 16a3 3 0 0 1 2.24 5",key:"1epib5"}],["path",{d:"M18 12h.01",key:"yjnet6"}],["path",{d:"M18 21h-8a4 4 0 0 1-4-4 7 7 0 0 1 7-7h.2L9.6 6.4a1 1 0 1 1 2.8-2.8L15.8 7h.2c3.3 0 6 2.7 6 6v1a2 2 0 0 1-2 2h-1a3 3 0 0 0-3 3",key:"ue9ozu"}],["path",{d:"M20 8.54V4a2 2 0 1 0-4 0v3",key:"49iql8"}],["path",{d:"M7.612 12.524a3 3 0 1 0-1.6 4.3",key:"1e33i0"}]],xB=I("rabbit",sB);const uB=[["path",{d:"M16.247 7.761a6 6 0 0 1 0 8.478",key:"1fwjs5"}],["path",{d:"M19.075 4.933a10 10 0 0 1 0 14.134",key:"ehdyv1"}],["path",{d:"M4.925 19.067a10 10 0 0 1 0-14.134",key:"1q22gi"}],["path",{d:"M7.753 16.239a6 6 0 0 1 0-8.478",key:"r2q7qm"}],["circle",{cx:"12",cy:"12",r:"2",key:"1c9p78"}]],cB=I("radio",uB);const fB=[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]],bc=I("refresh-cw",fB);const dB=[["path",{d:"M4.5 16.5c-1.5 1.26-2 5-2 5s3.74-.5 5-2c.71-.84.7-2.13-.09-2.91a2.18 2.18 0 0 0-2.91-.09z",key:"m3kijz"}],["path",{d:"m12 15-3-3a22 22 0 0 1 2-3.95A12.88 12.88 0 0 1 22 2c0 2.72-.78 7.5-6 11a22.35 22.35 0 0 1-4 2z",key:"1fmvmk"}],["path",{d:"M9 12H4s.55-3.03 2-4c1.62-1.08 5 0 5 0",key:"1f8sc4"}],["path",{d:"M12 15v5s3.03-.55 4-2c1.08-1.62 0-5 0-5",key:"qeys4"}]],hB=I("rocket",dB);const pB=[["path",{d:"M7 21h10",key:"1b0cd5"}],["path",{d:"M12 21a9 9 0 0 0 9-9H3a9 9 0 0 0 9 9Z",key:"4rw317"}],["path",{d:"M11.38 12a2.4 2.4 0 0 1-.4-4.77 2.4 2.4 0 0 1 3.2-2.77 2.4 2.4 0 0 1 3.47-.63 2.4 2.4 0 0 1 3.37 3.37 2.4 2.4 0 0 1-1.1 3.7 2.51 2.51 0 0 1 .03 1.1",key:"10xrj0"}],["path",{d:"m13 12 4-4",key:"1hckqy"}],["path",{d:"M10.9 7.25A3.99 3.99 0 0 0 4 10c0 .73.2 1.41.54 2",key:"1p4srx"}]],mB=I("salad",pB);const EB=[["path",{d:"M21.3 15.3a2.4 2.4 0 0 1 0 3.4l-2.6 2.6a2.4 2.4 0 0 1-3.4 0L2.7 8.7a2.41 2.41 0 0 1 0-3.4l2.6-2.6a2.41 2.41 0 0 1 3.4 0Z",key:"icamh8"}],["path",{d:"m14.5 12.5 2-2",key:"inckbg"}],["path",{d:"m11.5 9.5 2-2",key:"fmmyf7"}],["path",{d:"m8.5 6.5 2-2",key:"vc6u1g"}],["path",{d:"m17.5 15.5 2-2",key:"wo5hmg"}]],CB=I("ruler",EB);const yB=[["path",{d:"m13.5 6.5-3.148-3.148a1.205 1.205 0 0 0-1.704 0L6.352 5.648a1.205 1.205 0 0 0 0 1.704L9.5 10.5",key:"dzhfyz"}],["path",{d:"M16.5 7.5 19 5",key:"1ltcjm"}],["path",{d:"m17.5 10.5 3.148 3.148a1.205 1.205 0 0 1 0 1.704l-2.296 2.296a1.205 1.205 0 0 1-1.704 0L13.5 14.5",key:"nfoymv"}],["path",{d:"M9 21a6 6 0 0 0-6-6",key:"1iajcf"}],["path",{d:"M9.352 10.648a1.205 1.205 0 0 0 0 1.704l2.296 2.296a1.205 1.205 0 0 0 1.704 0l4.296-4.296a1.205 1.205 0 0 0 0-1.704l-2.296-2.296a1.205 1.205 0 0 0-1.704 0z",key:"nv9zqy"}]],gB=I("satellite",yB);const BB=[["circle",{cx:"6",cy:"6",r:"3",key:"1lh9wr"}],["path",{d:"M8.12 8.12 12 12",key:"1alkpv"}],["path",{d:"M20 4 8.12 15.88",key:"xgtan2"}],["circle",{cx:"6",cy:"18",r:"3",key:"fqmcym"}],["path",{d:"M14.8 14.8 20 20",key:"ptml3r"}]],AB=I("scissors",BB);const bB=[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]],F2=I("search",bB);const DB=[["rect",{width:"20",height:"8",x:"2",y:"2",rx:"2",ry:"2",key:"ngkwjq"}],["rect",{width:"20",height:"8",x:"2",y:"14",rx:"2",ry:"2",key:"iecqi9"}],["line",{x1:"6",x2:"6.01",y1:"6",y2:"6",key:"16zg32"}],["line",{x1:"6",x2:"6.01",y1:"18",y2:"18",key:"nzw8ys"}]],vB=I("server",DB);const kB=[["path",{d:"M9.671 4.136a2.34 2.34 0 0 1 4.659 0 2.34 2.34 0 0 0 3.319 1.915 2.34 2.34 0 0 1 2.33 4.033 2.34 2.34 0 0 0 0 3.831 2.34 2.34 0 0 1-2.33 4.033 2.34 2.34 0 0 0-3.319 1.915 2.34 2.34 0 0 1-4.659 0 2.34 2.34 0 0 0-3.32-1.915 2.34 2.34 0 0 1-2.33-4.033 2.34 2.34 0 0 0 0-3.831A2.34 2.34 0 0 1 6.35 6.051a2.34 2.34 0 0 0 3.319-1.915",key:"1i5ecw"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]],FB=I("settings",kB);const wB=[["path",{d:"M14 11a2 2 0 1 1-4 0 4 4 0 0 1 8 0 6 6 0 0 1-12 0 8 8 0 0 1 16 0 10 10 0 1 1-20 0 11.93 11.93 0 0 1 2.42-7.22 2 2 0 1 1 3.16 2.44",key:"1cn552"}]],SB=I("shell",wB);const MB=[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}]],NB=I("shield",MB);const _B=[["path",{d:"M12 10.189V14",key:"1p8cqu"}],["path",{d:"M12 2v3",key:"qbqxhf"}],["path",{d:"M19 13V7a2 2 0 0 0-2-2H7a2 2 0 0 0-2 2v6",key:"qpkstq"}],["path",{d:"M19.38 20A11.6 11.6 0 0 0 21 14l-8.188-3.639a2 2 0 0 0-1.624 0L3 14a11.6 11.6 0 0 0 2.81 7.76",key:"7tigtc"}],["path",{d:"M2 21c.6.5 1.2 1 2.5 1 2.5 0 2.5-2 5-2 1.3 0 1.9.5 2.5 1s1.2 1 2.5 1c2.5 0 2.5-2 5-2 1.3 0 1.9.5 2.5 1",key:"1924j5"}]],TB=I("ship",_B);const zB=[["path",{d:"M16 10a4 4 0 0 1-8 0",key:"1ltviw"}],["path",{d:"M3.103 6.034h17.794",key:"awc11p"}],["path",{d:"M3.4 5.467a2 2 0 0 0-.4 1.2V20a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V6.667a2 2 0 0 0-.4-1.2l-2-2.667A2 2 0 0 0 17 2H7a2 2 0 0 0-1.6.8z",key:"o988cm"}]],jB=I("shopping-bag",zB);const RB=[["circle",{cx:"8",cy:"21",r:"1",key:"jimo8o"}],["circle",{cx:"19",cy:"21",r:"1",key:"13723u"}],["path",{d:"M2.05 2.05h2l2.66 12.42a2 2 0 0 0 2 1.58h9.78a2 2 0 0 0 1.95-1.57l1.65-7.43H5.12",key:"9zh506"}]],OB=I("shopping-cart",RB);const LB=[["path",{d:"M10 5H3",key:"1qgfaw"}],["path",{d:"M12 19H3",key:"yhmn1j"}],["path",{d:"M14 3v4",key:"1sua03"}],["path",{d:"M16 17v4",key:"1q0r14"}],["path",{d:"M21 12h-9",key:"1o4lsq"}],["path",{d:"M21 19h-5",key:"1rlt1p"}],["path",{d:"M21 5h-7",key:"1oszz2"}],["path",{d:"M8 10v4",key:"tgpxqk"}],["path",{d:"M8 12H3",key:"a7s4jb"}]],PB=I("sliders-horizontal",LB);const UB=[["rect",{width:"14",height:"20",x:"5",y:"2",rx:"2",ry:"2",key:"1yt0o3"}],["path",{d:"M12 18h.01",key:"mhygvu"}]],HB=I("smartphone",UB);const qB=[["path",{d:"M2 13a6 6 0 1 0 12 0 4 4 0 1 0-8 0 2 2 0 0 0 4 0",key:"hneq2s"}],["circle",{cx:"10",cy:"13",r:"8",key:"194lz3"}],["path",{d:"M2 21h12c4.4 0 8-3.6 8-8V7a2 2 0 1 0-4 0v6",key:"ixqyt7"}],["path",{d:"M18 3 19.1 5.2",key:"9tjm43"}],["path",{d:"M22 3 20.9 5.2",key:"j3odrs"}]],IB=I("snail",qB);const VB=[["path",{d:"M12 21a9 9 0 0 0 9-9H3a9 9 0 0 0 9 9Z",key:"4rw317"}],["path",{d:"M7 21h10",key:"1b0cd5"}],["path",{d:"M19.5 12 22 6",key:"shfsr5"}],["path",{d:"M16.25 3c.27.1.8.53.75 1.36-.06.83-.93 1.2-1 2.02-.05.78.34 1.24.73 1.62",key:"rpc6vp"}],["path",{d:"M11.25 3c.27.1.8.53.74 1.36-.05.83-.93 1.2-.98 2.02-.06.78.33 1.24.72 1.62",key:"1lf63m"}],["path",{d:"M6.25 3c.27.1.8.53.75 1.36-.06.83-.93 1.2-1 2.02-.05.78.34 1.24.74 1.62",key:"97tijn"}]],$B=I("soup",VB);const GB=[["path",{d:"M11.017 2.814a1 1 0 0 1 1.966 0l1.051 5.558a2 2 0 0 0 1.594 1.594l5.558 1.051a1 1 0 0 1 0 1.966l-5.558 1.051a2 2 0 0 0-1.594 1.594l-1.051 5.558a1 1 0 0 1-1.966 0l-1.051-5.558a2 2 0 0 0-1.594-1.594l-5.558-1.051a1 1 0 0 1 0-1.966l5.558-1.051a2 2 0 0 0 1.594-1.594z",key:"1s2grr"}],["path",{d:"M20 2v4",key:"1rf3ol"}],["path",{d:"M22 4h-4",key:"gwowj6"}],["circle",{cx:"4",cy:"20",r:"2",key:"6kqj1y"}]],QB=I("sparkles",GB);const YB=[["path",{d:"M14 9.536V7a4 4 0 0 1 4-4h1.5a.5.5 0 0 1 .5.5V5a4 4 0 0 1-4 4 4 4 0 0 0-4 4c0 2 1 3 1 5a5 5 0 0 1-1 3",key:"139s4v"}],["path",{d:"M4 9a5 5 0 0 1 8 4 5 5 0 0 1-8-4",key:"1dlkgp"}],["path",{d:"M5 21h14",key:"11awu3"}]],XB=I("sprout",YB);const KB=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}]],ZB=I("square",KB);const JB=[["path",{d:"M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z",key:"r04s7s"}]],WB=I("star",JB);const eA=[["path",{d:"M11 2v2",key:"1539x4"}],["path",{d:"M5 2v2",key:"1yf1q8"}],["path",{d:"M5 3H4a2 2 0 0 0-2 2v4a6 6 0 0 0 12 0V5a2 2 0 0 0-2-2h-1",key:"rb5t3r"}],["path",{d:"M8 15a6 6 0 0 0 12 0v-3",key:"x18d4x"}],["circle",{cx:"20",cy:"10",r:"2",key:"ts1r5v"}]],tA=I("stethoscope",eA);const nA=[["path",{d:"M15 21v-5a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v5",key:"slp6dd"}],["path",{d:"M17.774 10.31a1.12 1.12 0 0 0-1.549 0 2.5 2.5 0 0 1-3.451 0 1.12 1.12 0 0 0-1.548 0 2.5 2.5 0 0 1-3.452 0 1.12 1.12 0 0 0-1.549 0 2.5 2.5 0 0 1-3.77-3.248l2.889-4.184A2 2 0 0 1 7 2h10a2 2 0 0 1 1.653.873l2.895 4.192a2.5 2.5 0 0 1-3.774 3.244",key:"o0xfot"}],["path",{d:"M4 10.95V19a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-8.05",key:"wn3emo"}]],rA=I("store",nA);const aA=[["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"m4.93 4.93 1.41 1.41",key:"149t6j"}],["path",{d:"m17.66 17.66 1.41 1.41",key:"ptbguv"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"m6.34 17.66-1.41 1.41",key:"1m8zz5"}],["path",{d:"m19.07 4.93-1.41 1.41",key:"1shlcs"}]],w2=I("sun",aA);const lA=[["path",{d:"M12.586 2.586A2 2 0 0 0 11.172 2H4a2 2 0 0 0-2 2v7.172a2 2 0 0 0 .586 1.414l8.704 8.704a2.426 2.426 0 0 0 3.42 0l6.58-6.58a2.426 2.426 0 0 0 0-3.42z",key:"vktsd0"}],["circle",{cx:"7.5",cy:"7.5",r:".5",fill:"currentColor",key:"kqv944"}]],iA=I("tag",lA);const oA=[["path",{d:"M13.172 2a2 2 0 0 1 1.414.586l6.71 6.71a2.4 2.4 0 0 1 0 3.408l-4.592 4.592a2.4 2.4 0 0 1-3.408 0l-6.71-6.71A2 2 0 0 1 6 9.172V3a1 1 0 0 1 1-1z",key:"16rjxf"}],["path",{d:"M2 7v6.172a2 2 0 0 0 .586 1.414l6.71 6.71a2.4 2.4 0 0 0 3.191.193",key:"178nd4"}],["circle",{cx:"10.5",cy:"6.5",r:".5",fill:"currentColor",key:"12ikhr"}]],sA=I("tags",oA);const xA=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["circle",{cx:"12",cy:"12",r:"6",key:"1vlfrh"}],["circle",{cx:"12",cy:"12",r:"2",key:"1c9p78"}]],uA=I("target",xA);const cA=[["path",{d:"m10.065 12.493-6.18 1.318a.934.934 0 0 1-1.108-.702l-.537-2.15a1.07 1.07 0 0 1 .691-1.265l13.504-4.44",key:"k4qptu"}],["path",{d:"m13.56 11.747 4.332-.924",key:"19l80z"}],["path",{d:"m16 21-3.105-6.21",key:"7oh9d"}],["path",{d:"M16.485 5.94a2 2 0 0 1 1.455-2.425l1.09-.272a1 1 0 0 1 1.212.727l1.515 6.06a1 1 0 0 1-.727 1.213l-1.09.272a2 2 0 0 1-2.425-1.455z",key:"m7xp4m"}],["path",{d:"m6.158 8.633 1.114 4.456",key:"74o979"}],["path",{d:"m8 21 3.105-6.21",key:"1fvxut"}],["circle",{cx:"12",cy:"13",r:"2",key:"1c1ljs"}]],fA=I("telescope",cA);const dA=[["path",{d:"M12 19h8",key:"baeox8"}],["path",{d:"m4 17 6-6-6-6",key:"1yngyt"}]],hA=I("terminal",dA);const pA=[["path",{d:"M2 9a3 3 0 0 1 0 6v2a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-2a3 3 0 0 1 0-6V7a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2Z",key:"qn84l0"}],["path",{d:"M13 5v2",key:"dyzc3o"}],["path",{d:"M13 17v2",key:"1ont0d"}],["path",{d:"M13 11v2",key:"1wjjxi"}]],mA=I("ticket",pA);const EA=[["path",{d:"M8 3.1V7a4 4 0 0 0 8 0V3.1",key:"1v71zp"}],["path",{d:"m9 15-1-1",key:"1yrq24"}],["path",{d:"m15 15 1-1",key:"1t0d6s"}],["path",{d:"M9 19c-2.8 0-5-2.2-5-5v-4a8 8 0 0 1 16 0v4c0 2.8-2.2 5-5 5Z",key:"1p0hjs"}],["path",{d:"m8 19-2 3",key:"13i0xs"}],["path",{d:"m16 19 2 3",key:"xo31yx"}]],CA=I("train-front",EA);const yA=[["path",{d:"m17 14 3 3.3a1 1 0 0 1-.7 1.7H4.7a1 1 0 0 1-.7-1.7L7 14h-.3a1 1 0 0 1-.7-1.7L9 9h-.2A1 1 0 0 1 8 7.3L12 3l4 4.3a1 1 0 0 1-.8 1.7H15l3 3.3a1 1 0 0 1-.7 1.7H17Z",key:"cpyugq"}],["path",{d:"M12 22v-3",key:"kmzjlo"}]],gA=I("tree-pine",yA);const BA=[["path",{d:"M16 7h6v6",key:"box55l"}],["path",{d:"m22 7-8.5 8.5-5-5L2 17",key:"1t1m79"}]],AA=I("trending-up",BA);const bA=[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]],Dc=I("triangle-alert",bA);const DA=[["path",{d:"M10 14.66v1.626a2 2 0 0 1-.976 1.696A5 5 0 0 0 7 21.978",key:"1n3hpd"}],["path",{d:"M14 14.66v1.626a2 2 0 0 0 .976 1.696A5 5 0 0 1 17 21.978",key:"rfe1zi"}],["path",{d:"M18 9h1.5a1 1 0 0 0 0-5H18",key:"7xy6bh"}],["path",{d:"M4 22h16",key:"57wxv0"}],["path",{d:"M6 9a6 6 0 0 0 12 0V3a1 1 0 0 0-1-1H7a1 1 0 0 0-1 1z",key:"1mhfuq"}],["path",{d:"M6 9H4.5a1 1 0 0 1 0-5H6",key:"tex48p"}]],vA=I("trophy",DA);const kA=[["path",{d:"m12 10 2 4v3a1 1 0 0 0 1 1h2a1 1 0 0 0 1-1v-3a8 8 0 1 0-16 0v3a1 1 0 0 0 1 1h2a1 1 0 0 0 1-1v-3l2-4h4Z",key:"1lbbv7"}],["path",{d:"M4.82 7.9 8 10",key:"m9wose"}],["path",{d:"M15.18 7.9 12 10",key:"p8dp2u"}],["path",{d:"M16.93 10H20a2 2 0 0 1 0 4H2",key:"12nsm7"}]],FA=I("turtle",kA);const wA=[["path",{d:"M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2",key:"975kel"}],["circle",{cx:"12",cy:"7",r:"4",key:"17ys0d"}]],SA=I("user",wA);const MA=[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["path",{d:"M16 3.128a4 4 0 0 1 0 7.744",key:"16gr8j"}],["path",{d:"M22 21v-2a4 4 0 0 0-3-3.87",key:"kshegd"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}]],NA=I("users",MA);const _A=[["path",{d:"M3 2v7c0 1.1.9 2 2 2h4a2 2 0 0 0 2-2V2",key:"cjf0a3"}],["path",{d:"M7 2v20",key:"1473qp"}],["path",{d:"M21 15V2a5 5 0 0 0-5 5v6c0 1.1.9 2 2 2h3Zm0 0v7",key:"j28e5"}]],TA=I("utensils",_A);const zA=[["path",{d:"m16 13 5.223 3.482a.5.5 0 0 0 .777-.416V7.87a.5.5 0 0 0-.752-.432L16 10.5",key:"ftymec"}],["rect",{x:"2",y:"6",width:"14",height:"12",rx:"2",key:"158x01"}]],jA=I("video",zA);const RA=[["path",{d:"M19 7V4a1 1 0 0 0-1-1H5a2 2 0 0 0 0 4h15a1 1 0 0 1 1 1v4h-3a2 2 0 0 0 0 4h3a1 1 0 0 0 1-1v-2a1 1 0 0 0-1-1",key:"18etb6"}],["path",{d:"M3 5v14a2 2 0 0 0 2 2h15a1 1 0 0 0 1-1v-4",key:"xoc0q4"}]],OA=I("wallet",RA);const LA=[["path",{d:"m21.64 3.64-1.28-1.28a1.21 1.21 0 0 0-1.72 0L2.36 18.64a1.21 1.21 0 0 0 0 1.72l1.28 1.28a1.2 1.2 0 0 0 1.72 0L21.64 5.36a1.2 1.2 0 0 0 0-1.72",key:"ul74o6"}],["path",{d:"m14 7 3 3",key:"1r5n42"}],["path",{d:"M5 6v4",key:"ilb8ba"}],["path",{d:"M19 14v4",key:"blhpug"}],["path",{d:"M10 2v2",key:"7u0qdc"}],["path",{d:"M7 8H3",key:"zfb6yr"}],["path",{d:"M21 16h-4",key:"1cnmox"}],["path",{d:"M11 3H9",key:"1obp7u"}]],bh=I("wand-sparkles",LA);const PA=[["path",{d:"M18 21V10a1 1 0 0 0-1-1H7a1 1 0 0 0-1 1v11",key:"pb2vm6"}],["path",{d:"M22 19a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V8a2 2 0 0 1 1.132-1.803l7.95-3.974a2 2 0 0 1 1.837 0l7.948 3.974A2 2 0 0 1 22 8z",key:"doq5xv"}],["path",{d:"M6 13h12",key:"yf64js"}],["path",{d:"M6 17h12",key:"1jwigz"}]],UA=I("warehouse",PA);const HA=[["path",{d:"M2 22 16 8",key:"60hf96"}],["path",{d:"M3.47 12.53 5 11l1.53 1.53a3.5 3.5 0 0 1 0 4.94L5 19l-1.53-1.53a3.5 3.5 0 0 1 0-4.94Z",key:"1rdhi6"}],["path",{d:"M7.47 8.53 9 7l1.53 1.53a3.5 3.5 0 0 1 0 4.94L9 15l-1.53-1.53a3.5 3.5 0 0 1 0-4.94Z",key:"1sdzmb"}],["path",{d:"M11.47 4.53 13 3l1.53 1.53a3.5 3.5 0 0 1 0 4.94L13 11l-1.53-1.53a3.5 3.5 0 0 1 0-4.94Z",key:"eoatbi"}],["path",{d:"M20 2h2v2a4 4 0 0 1-4 4h-2V6a4 4 0 0 1 4-4Z",key:"19rau1"}],["path",{d:"M11.47 17.47 13 19l-1.53 1.53a3.5 3.5 0 0 1-4.94 0L5 19l1.53-1.53a3.5 3.5 0 0 1 4.94 0Z",key:"tc8ph9"}],["path",{d:"M15.47 13.47 17 15l-1.53 1.53a3.5 3.5 0 0 1-4.94 0L9 15l1.53-1.53a3.5 3.5 0 0 1 4.94 0Z",key:"2m8kc5"}],["path",{d:"M19.47 9.47 21 11l-1.53 1.53a3.5 3.5 0 0 1-4.94 0L13 11l1.53-1.53a3.5 3.5 0 0 1 4.94 0Z",key:"vex3ng"}]],qA=I("wheat",HA);const IA=[["path",{d:"M12 20h.01",key:"zekei9"}],["path",{d:"M8.5 16.429a5 5 0 0 1 7 0",key:"1bycff"}],["path",{d:"M5 12.859a10 10 0 0 1 5.17-2.69",key:"1dl1wf"}],["path",{d:"M19 12.859a10 10 0 0 0-2.007-1.523",key:"4k23kn"}],["path",{d:"M2 8.82a15 15 0 0 1 4.177-2.643",key:"1grhjp"}],["path",{d:"M22 8.82a15 15 0 0 0-11.288-3.764",key:"z3jwby"}],["path",{d:"m2 2 20 20",key:"1ooewy"}]],vc=I("wifi-off",IA);const VA=[["path",{d:"M12 20h.01",key:"zekei9"}],["path",{d:"M2 8.82a15 15 0 0 1 20 0",key:"dnpr2z"}],["path",{d:"M5 12.859a10 10 0 0 1 14 0",key:"1x1e6c"}],["path",{d:"M8.5 16.429a5 5 0 0 1 7 0",key:"1bycff"}]],S2=I("wifi",VA);const $A=[["path",{d:"M8 22h8",key:"rmew8v"}],["path",{d:"M7 10h10",key:"1101jm"}],["path",{d:"M12 15v7",key:"t2xh3l"}],["path",{d:"M12 15a5 5 0 0 0 5-5c0-2-.5-4-2-8H9c-1.5 4-2 6-2 8a5 5 0 0 0 5 5Z",key:"10ffi3"}]],GA=I("wine",$A);const QA=[["path",{d:"M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.106-3.105c.32-.322.863-.22.983.218a6 6 0 0 1-8.259 7.057l-7.91 7.91a1 1 0 0 1-2.999-3l7.91-7.91a6 6 0 0 1 7.057-8.259c.438.12.54.662.219.984z",key:"1ngwbx"}]],YA=I("wrench",QA);const XA=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],yr=I("x",XA);const KA=[["path",{d:"M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z",key:"1xq2db"}]],M2=I("zap",KA);function Dh(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function on(e,r){return{method:e,pattern:r,path:()=>r}}function Rt(e,r){const[a,i]=r.split(/:[a-zA-Z]+/);if(i===void 0)throw new Error(`route ${r} declares no :param`);return{method:e,pattern:r,path:s=>`${a}${encodeURIComponent(s)}${i}`,re:new RegExp(`^${Dh(a)}([^/]+)${Dh(i)}$`)}}const we={state:on("GET","/api/state"),search:on("GET","/api/search"),repos:on("GET","/api/repos"),repoIcon:Rt("GET","/api/repos/:repo/icon"),logs:on("GET","/api/logs"),settings:on("GET","/api/settings"),updateSettings:on("PATCH","/api/settings"),armNoSleep:on("POST","/api/nosleep"),disarmNoSleep:on("DELETE","/api/nosleep"),push:on("GET","/api/push"),pushSubscribe:on("POST","/api/push/subscribe"),pushUnsubscribe:on("POST","/api/push/unsubscribe"),pushTest:on("POST","/api/push/test"),createWorkspace:on("POST","/api/workspaces"),workspace:Rt("GET","/api/workspaces/:workspaceId"),sessions:Rt("GET","/api/workspaces/:workspaceId/sessions"),newChat:Rt("POST","/api/workspaces/:workspaceId/sessions"),diff:Rt("GET","/api/workspaces/:workspaceId/diff"),merge:Rt("POST","/api/workspaces/:workspaceId/merge"),workspaceStatus:Rt("POST","/api/workspaces/:workspaceId/status"),dismissFirstPrompt:Rt("DELETE","/api/workspaces/:workspaceId/prompt"),messages:Rt("GET","/api/sessions/:sessionId/messages"),models:Rt("GET","/api/sessions/:sessionId/models"),agent:Rt("POST","/api/sessions/:sessionId/agent"),stop:Rt("POST","/api/sessions/:sessionId/stop"),sendPrompt:Rt("POST","/api/sessions/:sessionId/prompt"),splitChat:Rt("POST","/api/sessions/:sessionId/split"),dismissParkedPrompt:Rt("DELETE","/api/sessions/:sessionId/prompt")},wl="conductor-remote-token";function ZA(){const r=new URLSearchParams(location.hash.slice(1)).get("token");return r&&(localStorage.setItem(wl,r),history.replaceState(null,"",location.pathname+location.search)),localStorage.getItem(wl)}function N2(){return localStorage.getItem(wl)}function JA(){localStorage.removeItem(wl)}function WA(e){localStorage.setItem(wl,e)}function eb(e){const r=e.trim();if(!r)return null;const a=r.match(/token=([^&\s]+)/);return a?decodeURIComponent(a[1]):/\s/.test(r)?null:r}class mr extends Error{constructor(r,a){super(r),this.status=a}status}const _2=6e3,Un=45e3,tb=75e3;async function et(e,r={},a=_2){const i=N2();let s;try{s=await fetch(e,{...r,signal:AbortSignal.timeout(a),headers:{authorization:`Bearer ${i??""}`,"content-type":"application/json","x-client-timeout-ms":String(a),...r.headers}})}catch(x){throw x instanceof DOMException&&x.name==="TimeoutError"?new mr("Request timed out",0):x}if(!s.ok){const x=await s.json().catch(()=>({}));throw new mr(x.error||`HTTP ${s.status}`,s.status)}return s.json()}const mu=new Map;async function nb(e){const r=N2(),a=await fetch(e,{headers:{authorization:`Bearer ${r??""}`},signal:AbortSignal.timeout(_2)});if(!a.ok)throw new mr(`HTTP ${a.status}`,a.status);return URL.createObjectURL(await a.blob())}const Ie={state:()=>et(we.state.path()),repoIcon:e=>{let r=mu.get(e);return r||(r=nb(we.repoIcon.path(e)),r.catch(()=>mu.delete(e)),mu.set(e,r)),r},workspace:e=>et(we.workspace.path(e)),sessions:e=>et(we.sessions.path(e)),messages:(e,r)=>et(`${we.messages.path(e)}?after=${r}`),diff:e=>et(we.diff.path(e)),sendPrompt:(e,r,a,i,s)=>et(we.sendPrompt.path(e),{method:we.sendPrompt.method,body:JSON.stringify({text:r,workspaceId:a,agent:i,clientId:s})},tb),stop:(e,r)=>et(we.stop.path(e),{method:we.stop.method,body:JSON.stringify({workspaceId:r})},Un),newChat:e=>et(we.newChat.path(e),{method:we.newChat.method},Un),repos:()=>et(we.repos.path()),search:e=>et(`${we.search.path()}?q=${encodeURIComponent(e)}`),dismissPrompt:e=>et(we.dismissFirstPrompt.path(e),{method:we.dismissFirstPrompt.method}),dismissParked:e=>et(we.dismissParkedPrompt.path(e),{method:we.dismissParkedPrompt.method}),createWorkspace:(e,r,a=!0)=>et(we.createWorkspace.path(),{method:we.createWorkspace.method,body:JSON.stringify({repo:e,prompt:r,sendImmediately:a})},Un),setAgent:(e,r,a)=>et(we.agent.path(e),{method:we.agent.method,body:JSON.stringify({...r,workspaceId:a})},Un),models:(e,r)=>et(`${we.models.path(e)}?workspaceId=${encodeURIComponent(r)}`,{},Un),logs:(e,r=300)=>et(`${we.logs.path()}?limit=${r}${e?`&file=${encodeURIComponent(e)}`:""}`),push:()=>et(we.push.path()),pushSubscribe:(e,r)=>et(we.pushSubscribe.path(),{method:we.pushSubscribe.method,body:JSON.stringify({subscription:e,label:r})}),pushUnsubscribe:e=>et(we.pushUnsubscribe.path(),{method:we.pushUnsubscribe.method,body:JSON.stringify({endpoint:e})}),pushTest:e=>et(we.pushTest.path(),{method:we.pushTest.method,body:JSON.stringify({id:e})},Un),merge:e=>et(we.merge.path(e),{method:we.merge.method},Un),setStatus:(e,r)=>et(we.workspaceStatus.path(e),{method:we.workspaceStatus.method,body:JSON.stringify({status:r})},Un),settings:()=>et(we.settings.path()),patchSettings:e=>et(we.updateSettings.path(),{method:we.updateSettings.method,body:JSON.stringify(e)}),armNoSleep:e=>et(we.armNoSleep.path(),{method:we.armNoSleep.method,body:JSON.stringify({seconds:e})},Un),disarmNoSleep:()=>et(we.disarmNoSleep.path(),{method:we.disarmNoSleep.method},Un)},vh=e=>{let r;const a=new Set,i=(h,E)=>{const p=typeof h=="function"?h(r):h;if(!Object.is(p,r)){const y=r;r=E??(typeof p!="object"||p===null)?p:Object.assign({},r,p),a.forEach(C=>C(r,y))}},s=()=>r,f={setState:i,getState:s,getInitialState:()=>d,subscribe:h=>(a.add(h),()=>a.delete(h))},d=r=e(i,s,f);return f},rb=(e=>e?vh(e):vh),ab=e=>e;function lb(e,r=ab){const a=ro.useSyncExternalStore(e.subscribe,ro.useCallback(()=>r(e.getState()),[e,r]),ro.useCallback(()=>r(e.getInitialState()),[e,r]));return ro.useDebugValue(a),a}const kh=e=>{const r=rb(e),a=i=>lb(r,i);return Object.assign(a,r),a},ib=(e=>e?kh(e):kh),bo="conductor-remote-agent:";function ob(){const e={};try{for(let r=0;r<localStorage.length;r++){const a=localStorage.key(r);if(!a?.startsWith(bo))continue;const i=localStorage.getItem(a);i&&(e[a.slice(bo.length)]=JSON.parse(i))}}catch{}return e}function Fh(e,r){try{Object.keys(r).length?localStorage.setItem(bo+e,JSON.stringify(r)):localStorage.removeItem(bo+e)}catch{}}const Do="conductor-remote-draft:";function sb(){const e={};try{for(let r=0;r<localStorage.length;r++){const a=localStorage.key(r);if(!a?.startsWith(Do))continue;const i=localStorage.getItem(a);i&&(e[a.slice(Do.length)]=i)}}catch{}return e}function xb(e,r){try{r?localStorage.setItem(Do+e,r):localStorage.removeItem(Do+e)}catch{}}const T2="conductor-remote-read",wh=300;function ub(){try{const e=JSON.parse(localStorage.getItem(T2)??"{}");return!e||typeof e!="object"?{}:Object.fromEntries(Object.entries(e).filter(([,r])=>typeof r=="string"))}catch{return{}}}function cb(e){const r=Object.entries(e),a=r.length>wh?r.sort((s,x)=>x[1].localeCompare(s[1])).slice(0,wh):r,i=Object.fromEntries(a);try{localStorage.setItem(T2,JSON.stringify(i))}catch{}return i}const z2=(e,r,a)=>(e[r]??"")<a;function fb(e,r){return(e.unread_sessions??[]).filter(a=>z2(r,a.id,a.at)).length}function db(e,r){return!!e.unread_count&&z2(r,e.id,e.updated_at)}const j2="conductor-remote-view",Sh={groupBy:"status",repo:null,sortBy:"updated",hideMerged:!1,collapsed:[]};function Mh(e){const r={};return e.model!==void 0&&(r.model=e.model),e.effort!==void 0&&(r.effort=e.effort),e.plan!==void 0&&(r.plan=e.plan),e.fast!==void 0&&(r.fast=e.fast),r}function hb(){try{return{...Sh,...JSON.parse(localStorage.getItem(j2)??"{}")}}catch{return Sh}}const ke=ib((e,r)=>{const a=i=>{localStorage.setItem(j2,JSON.stringify(i)),e({view:i})};return{token:ZA(),online:!0,lastSyncAt:null,update:null,workingHints:{},pending:[],drafts:sb(),agentDrafts:ob(),readMarks:ub(),push:{deviceId:null,devices:0},sidebarOpen:!location.pathname.startsWith("/w/"),view:hb(),setToken:i=>{i?WA(i):JA(),e({token:i})},setOnline:i=>e(i?{online:i,lastSyncAt:Date.now()}:{online:i}),setUpdate:i=>e({update:i}),markWorking:i=>e({workingHints:{...r().workingHints,[i]:Date.now()}}),clearWorking:i=>{const{[i]:s,...x}=r().workingHints;e({workingHints:x})},addPending:i=>e({pending:[...r().pending.filter(s=>s.id!==i.id),{...i,status:"sending",error:void 0,createdAt:Date.now()}]}),failPending:(i,s)=>e({pending:r().pending.map(x=>x.id===i?{...x,status:"error",error:s}:x)}),removePending:i=>e({pending:r().pending.filter(s=>s.id!==i)}),setDraft:(i,s)=>{xb(i,s),e({drafts:{...r().drafts,[i]:s}})},markRead:(i,s)=>{(r().readMarks[i]??"")>=s||e({readMarks:cb({...r().readMarks,[i]:s})})},stageAgent:(i,s)=>{const x=Mh({...r().agentDrafts[i],...s});Fh(i,x),e({agentDrafts:{...r().agentDrafts,[i]:x}})},clearAgentDraft:(i,s)=>{const x=r().agentDrafts[i];if(!x)return;const u=Mh({model:x.model===s.model?void 0:x.model,effort:x.effort===s.effort?void 0:x.effort,plan:x.plan===s.plan?void 0:x.plan,fast:x.fast===s.fast?void 0:x.fast});Fh(i,u),e({agentDrafts:{...r().agentDrafts,[i]:u}})},setPush:i=>e({push:i}),setSidebarOpen:i=>e({sidebarOpen:i}),setView:i=>a({...r().view,...i}),toggleGroup:i=>{const{collapsed:s}=r().view;a({...r().view,collapsed:s.includes(i)?s.filter(x=>x!==i):[...s,i]})}}}),Nh=6e4,pb=1e4,Eu="pwa-update-attempted-at",mb=2500,Eb=30*6e4,cl="pwa-update-snoozed-until";async function Cb(){try{if("serviceWorker"in navigator){const r=await navigator.serviceWorker.getRegistrations();await Promise.all(r.map(a=>a.unregister()))}if("caches"in window){const r=await caches.keys();await Promise.all(r.map(a=>caches.delete(a)))}}catch{}const e=location.search?"&":"?";location.replace(`${location.pathname}${location.search}${e}_v=${Date.now()}`)}function yb(){const e=ke(p=>p.token),r=z.useRef(null),a=z.useRef(!1),{needRefresh:[i,s],updateServiceWorker:x}=D7({onRegisteredSW(p,y){y&&(r.current=y,setInterval(()=>{y.update().catch(()=>{})},Nh))}}),{data:u}=zn({queryKey:["state"],queryFn:()=>Ie.state(),enabled:!!e,refetchInterval:!1}),f=u?.version,d=z.useRef(null);if(z.useEffect(()=>{!f||f==="1.46.2"||d.current===f||(d.current=f,r.current?.update().catch(()=>{}))},[f]),z.useEffect(()=>{if(!i)return;const p=Number(sessionStorage.getItem(Eu));if(sessionStorage.removeItem(Eu),p&&Date.now()-p<pb){s(!1);return}const y=Number(sessionStorage.getItem(cl));y&&Date.now()<y&&s(!1)},[i,s]),z.useEffect(()=>{if(i)return;const p=()=>{const C=Number(sessionStorage.getItem(cl));!C||Date.now()<C||r.current?.waiting&&(sessionStorage.removeItem(cl),s(!0))},y=window.setInterval(p,Nh);return document.addEventListener("visibilitychange",p),()=>{window.clearInterval(y),document.removeEventListener("visibilitychange",p)}},[i,s]),!i)return null;const h=()=>{sessionStorage.setItem(cl,String(Date.now()+Eb)),s(!1)},E=()=>{sessionStorage.removeItem(cl),sessionStorage.setItem(Eu,String(Date.now()));const p=()=>{a.current||(a.current=!0,window.location.reload())},y=r.current?.waiting;y?(navigator.serviceWorker?.addEventListener("controllerchange",p,{once:!0}),y.addEventListener("statechange",()=>{y.state==="activated"&&p()}),y.postMessage({type:"SKIP_WAITING"})):x(!0),window.setTimeout(()=>{a.current||(a.current=!0,Cb())},mb)};return g.jsxs("div",{className:"pb-safe fade-in fixed inset-x-0 bottom-0 z-[60] mx-auto flex max-w-sm items-center gap-3 rounded-t-2xl border border-border-soft bg-surface px-4 py-3 shadow-xl",children:[g.jsx(bc,{size:15,className:"shrink-0 text-accent"}),g.jsx("span",{className:"flex-1 text-sm",children:"New version ready"}),g.jsx("button",{type:"button",onClick:h,className:"rounded-lg px-2 py-1 text-xs text-muted active:bg-surface-2",children:"Later"}),g.jsx("button",{type:"button",onClick:E,className:"rounded-lg bg-accent px-3 py-1 text-xs font-semibold text-black transition active:scale-95",children:"Update"})]})}function gb(e){const r=e??"",i=(r.includes("/")?r.slice(r.indexOf("/")+1):r).replace(/[-_]/g," ").trim();return i?i[0].toUpperCase()+i.slice(1):""}function In(e){return e.workspace_name||e.pr_title||gb(e.branch)||e.directory_name||e.id.slice(0,8)}function Bb(e){return e.toLowerCase().match(/[\p{L}\p{N}_]+/gu)??[]}function Ab(e){return e.endsWith(" NEW")?e.slice(0,-4):e}const bb="",Db="",R2="conductor-remote-models";function O2(){try{return JSON.parse(localStorage.getItem(R2)??"{}")}catch{return{}}}function L2(e){return[...new Set(e.map(Ab).filter(Boolean))]}function _h(e){const r=O2()[e];return r?.models?.length?{...r,models:L2(r.models)}:void 0}function vb(e,r,a){try{localStorage.setItem(R2,JSON.stringify({...O2(),[e]:{models:L2(r),at:a}}))}catch{}}function kb(){return/iP(hone|ad|od)/.test(navigator.userAgent)||navigator.platform==="MacIntel"&&navigator.maxTouchPoints>1}function P2(){return window.matchMedia("(display-mode: standalone)").matches||navigator.standalone===!0}function U2(){return window.isSecureContext?"serviceWorker"in navigator?!("PushManager"in window)||!("Notification"in window)?kb()&&!P2()?"needs-install":"unsupported":"ok":"unsupported":"insecure"}function H2(){const e=navigator.userAgent,r=/iPhone/.test(e)?"iPhone":/iPad/.test(e)||navigator.platform==="MacIntel"&&navigator.maxTouchPoints>1?"iPad":/Android/.test(e)?"Android":/Mac OS X/.test(e)?"Mac":/Windows/.test(e)?"Windows":"Browser";return P2()?r:`${r} (browser)`}function Fb(e){const r=e+"=".repeat((4-e.length%4)%4),a=atob(r.replace(/-/g,"+").replace(/_/g,"/")),i=new Uint8Array(a.length);for(let s=0;s<a.length;s++)i[s]=a.charCodeAt(s);return i}function wb(e){let r="";for(const a of new Uint8Array(e))r+=String.fromCharCode(a);return btoa(r).replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,"")}async function q2(){if(!("serviceWorker"in navigator))return null;const e=await navigator.serviceWorker.getRegistration();return e||Promise.race([navigator.serviceWorker.ready,new Promise(r=>setTimeout(()=>r(null),5e3))])}async function I2(){return await(await q2())?.pushManager.getSubscription()??null}function Sb(e,r){const a=e.options.applicationServerKey;return!!a&&wb(a)===r}async function V2(e){const r=await q2();if(!r)throw new Error("the app’s service worker isn’t running yet — reload and try again");return r.pushManager.subscribe({userVisibleOnly:!0,applicationServerKey:Fb(e)})}function $2(e){const r=e.toJSON(),a=r.keys??{};if(!r.endpoint||!a.p256dh||!a.auth)throw new Error("the browser returned an incomplete subscription");return{endpoint:r.endpoint,keys:{p256dh:a.p256dh,auth:a.auth}}}async function Mb(e){let r=await I2();if(r&&!Sb(r,e)&&(await r.unsubscribe().catch(()=>{}),r=Notification.permission==="granted"?await V2(e):null),!r)return null;const a=await Ie.pushSubscribe($2(r),H2());return{id:a.id??null,devices:a.devices.length}}function Nb(e){const r=ke(s=>s.setSidebarOpen),a=ke(s=>s.sidebarOpen),i=z.useRef(a);i.current=a,z.useEffect(()=>{const s=e.current;s&&(s.style.transition="",s.style.transform="")},[a,e]),z.useEffect(()=>{const u=window.matchMedia("(min-width: 768px)"),f=()=>e.current;let d=!1,h=!1,E=!1,p=0,y=0,C=0,A=0;const b=k=>{const T=f();T&&(T.style.transition="none",T.style.transform=`translateX(${k}px)`,A=k)},D=()=>{const k=f();k&&(k.style.transition="",k.style.transform="")},F=k=>{for(let T=k;T;T=T.parentElement)if(T.scrollLeft>0)return!0;return!1},O=()=>{d&&(d=!1,D())},w=k=>{if(O(),u.matches||k.touches.length!==1)return;const T=k.touches[0];if(i.current){const S=f()?.getBoundingClientRect().right??0;if(T.clientX>S)return}else if(T.clientX>44||F(k.target))return;d=!0,h=!1,E=!1,p=T.clientX,y=T.clientY,C=f()?.offsetWidth??0},_=k=>{if(!d||E)return;const T=k.touches[0],S=T.clientX-p,q=T.clientY-y;if(!h){if(Math.abs(q)>Math.abs(S)&&Math.abs(q)>8){E=!0;return}if(Math.abs(S)<6)return;h=!0}k.preventDefault();const L=i.current?0:-C;b(Math.max(-C,Math.min(0,L+S)))},R=()=>{if(!d)return;if(d=!1,!h||E)return D();const k=C?(A+C)/C:0;D(),r(k>.4)};return window.addEventListener("touchstart",w,{passive:!0}),window.addEventListener("touchmove",_,{passive:!1}),window.addEventListener("touchend",R),window.addEventListener("touchcancel",R),document.addEventListener("visibilitychange",O),()=>{window.removeEventListener("touchstart",w),window.removeEventListener("touchmove",_),window.removeEventListener("touchend",R),window.removeEventListener("touchcancel",R),document.removeEventListener("visibilitychange",O)}},[e,r])}const Th='input, textarea, [contenteditable]:not([contenteditable="false"])';function _b(){z.useEffect(()=>{const e=window.visualViewport;if(!e)return;const r=document.documentElement;(matchMedia("(display-mode: standalone)").matches||navigator.standalone)&&r.setAttribute("data-standalone","");let a=0,i;const s=()=>{r.style.removeProperty("--app-height"),r.removeAttribute("data-keyboard")},x=E=>{E&&!i?i=setInterval(u,300):!E&&i&&(clearInterval(i),i=void 0)},u=()=>{const E=document.activeElement,p=E instanceof HTMLElement&&E.matches(Th),y=e.scale>1.01;!p||y?(!y&&window.innerHeight-e.height<120&&(a=e.height),s()):(a||window.innerHeight)-e.height>40?(r.style.setProperty("--app-height",`${Math.round(e.height+e.offsetTop)}px`),r.setAttribute("data-keyboard","")):s(),x(p||r.hasAttribute("data-keyboard")),window.scrollY!==0&&window.scrollTo(0,0)};let f;const d=()=>{u(),clearTimeout(f),f=setTimeout(u,350)},h=()=>{if(document.visibilityState==="hidden"){const E=document.activeElement;E instanceof HTMLElement&&E.matches(Th)&&E.blur(),s(),x(!1)}else d()};return u(),e.addEventListener("resize",u),e.addEventListener("scroll",u),window.addEventListener("pageshow",d),document.addEventListener("visibilitychange",h),document.addEventListener("focusin",d),document.addEventListener("focusout",d),()=>{clearTimeout(f),x(!1),e.removeEventListener("resize",u),e.removeEventListener("scroll",u),window.removeEventListener("pageshow",d),document.removeEventListener("visibilitychange",h),document.removeEventListener("focusin",d),document.removeEventListener("focusout",d),s()}},[])}function Rl(){const e=ke(a=>a.setOnline),r=ke(a=>a.setToken);return z.useCallback((a,i)=>{e(a),i instanceof mr&&i.status===401&&r(null)},[e,r])}function kc(){const e=Rl(),r=ke(i=>i.setUpdate),a=zn({queryKey:["state"],queryFn:()=>Ie.state(),refetchInterval:2500});return z.useEffect(()=>{a.isSuccess&&(e(!0),r(a.data.update??null)),a.isError&&e(!1,a.error)},[a.isSuccess,a.isError,a.error,a.data,e,r]),a}function Tb(){return zn({queryKey:["repos"],queryFn:()=>Ie.repos(),staleTime:6e4})}function zb(e,r){const[a,i]=z.useState(e);return z.useEffect(()=>{const s=setTimeout(()=>i(e),r);return()=>clearTimeout(s)},[e,r]),a}function jb(e){const r=e.trim();return zn({queryKey:["search",r],queryFn:()=>Ie.search(r),enabled:r.length>=2,staleTime:3e4,placeholderData:JE})}function Rb(e,r){const a=Rl(),i=zn({queryKey:["workspace",e],queryFn:()=>Ie.workspace(e),enabled:r&&!!e,staleTime:Number.POSITIVE_INFINITY,retry:(s,x)=>!(x instanceof mr&&x.status===404)&&s<1});return z.useEffect(()=>{i.isError&&!(i.error instanceof mr&&i.error.status===404)&&a(!1,i.error)},[i.isError,i.error,a]),i}function G2(e,r=!0){const a=Rl(),i=zn({queryKey:["sessions",e],queryFn:()=>Ie.sessions(e),enabled:!!e,refetchInterval:r?2e3:!1});return z.useEffect(()=>{i.isError&&a(!1,i.error)},[i.isError,i.error,a]),i}function Q2(e,r){const a=Rl(),i=zn({queryKey:["diff",e],queryFn:()=>Ie.diff(e),enabled:!!e,refetchInterval:5e3});return z.useEffect(()=>{i.isError&&a(!1,i.error)},[i.isError,i.error,a]),i}function Ob(e){return zn({queryKey:["repoIcon",e],queryFn:()=>Ie.repoIcon(e),enabled:!!e,staleTime:Number.POSITIVE_INFINITY,gcTime:Number.POSITIVE_INFINITY,retry:!1})}function Lb(e,r){return zn({queryKey:["logs",e],queryFn:()=>Ie.logs(e),enabled:r,refetchInterval:3e3,retry:!1})}const Pb=600*1e3;function Ub(e,r,a){const i=e?.agent_type??"claude";return zn({queryKey:["models",i],queryFn:async()=>{const s=await Ie.models(e.id,r);if(!s.ok||!s.models?.length)throw new Error(s.error??"could not read the model list");return vb(i,s.models,Date.now()),s.models},enabled:a&&!!e,initialData:()=>_h(i)?.models,initialDataUpdatedAt:()=>_h(i)?.at,staleTime:Pb,gcTime:Number.POSITIVE_INFINITY,retry:!1})}function Hb(e,r=!0){const a=Rl(),[i,s]=z.useState({entries:[],loading:!0,error:null}),x=z.useRef(0);return z.useEffect(()=>{if(!e){s({entries:[],loading:!1,error:null});return}x.current=0,s({entries:[],loading:!0,error:null});let u=!0,f=!1;const d=async()=>{if(!f){f=!0;try{const{entries:E,cursor:p}=await Ie.messages(e,x.current);if(!u)return;a(!0),E.length?(x.current=p,s(y=>({entries:[...y.entries,...E],loading:!1,error:null}))):s(y=>y.loading?{...y,loading:!1}:y)}catch(E){if(!u)return;a(!1,E),s(p=>({...p,loading:!1,error:E instanceof Error?E.message:String(E)}))}finally{f=!1}}};d();const h=r?setInterval(d,1e3):void 0;return()=>{u=!1,h&&clearInterval(h)}},[e,r,a]),i}function Y2(){const e=I0(),r=ke(u=>u.addPending),a=ke(u=>u.failPending),i=ke(u=>u.removePending),s=ke(u=>u.markWorking),x=ke(u=>u.clearAgentDraft);return z.useCallback(async u=>{const f=u.text.trim();if(!f)return!1;const d=u.id??crypto.randomUUID(),{sessionId:h,workspaceId:E}=u;r({id:d,sessionId:h,workspaceId:E,text:f});try{const p=ke.getState().agentDrafts[h],y=p&&Object.keys(p).length?p:void 0,C=await Ie.sendPrompt(h,f,E,y,d);if(C.ok||C.parked)return y&&(x(h,y),e.invalidateQueries({queryKey:["sessions",E]})),C.ok&&s(h),e.invalidateQueries({queryKey:["state"]}),setTimeout(()=>i(d),4e3),!0;a(d,C.error||"Send failed")}catch(p){a(d,p instanceof Error?p.message:String(p))}return!1},[r,a,i,s,x,e])}function X2(e){return zn({queryKey:["push"],queryFn:()=>Ie.push(),enabled:e,staleTime:3e4})}function qb(){const[e]=z.useState(U2),r=ke(s=>s.setPush),{data:a}=X2(e==="ok"),i=a?.publicKey;z.useEffect(()=>{if(e!=="ok"||!i)return;let s=!0;return Mb(i).then(x=>{s&&r({deviceId:x?.id??null,devices:x?.devices??0})}).catch(()=>{}),()=>{s=!1}},[e,i,r])}function Ib(){const[e]=z.useState(U2),[r,a]=z.useState(()=>"Notification"in window?Notification.permission:"unsupported"),[i,s]=z.useState(!1),[x,u]=z.useState(null),{deviceId:f,devices:d}=ke(b=>b.push),h=ke(b=>b.setPush),E=X2(e==="ok"),p=E.data?.publicKey,y=z.useCallback(async()=>{s(!0),u(null);try{const b=await Notification.requestPermission();if(a(b),b!=="granted"){u(b==="denied"?"Notifications are blocked for this app — allow them in your device settings, then try again.":"Notification permission wasn’t granted.");return}const D=p??(await Ie.push()).publicKey,F=await V2(D),O=await Ie.pushSubscribe($2(F),H2());h({deviceId:O.id??null,devices:O.devices.length})}catch(b){u(b instanceof Error?b.message:String(b))}finally{s(!1)}},[p,h]),C=z.useCallback(async()=>{s(!0),u(null);try{const b=await I2();let D=0;b&&(D=(await Ie.pushUnsubscribe(b.endpoint).catch(()=>null))?.devices.length??0,await b.unsubscribe()),h({deviceId:null,devices:D})}catch(b){u(b instanceof Error?b.message:String(b))}finally{s(!1)}},[h]),A=z.useCallback(async()=>{if(f){s(!0),u(null);try{const b=await Ie.pushTest(f);b.ok||u(b.error??"The push service rejected it.")}catch(b){u(b instanceof Error?b.message:String(b))}finally{s(!1)}}},[f]);return{support:e,permission:r,enabled:!!f,relayDisabled:E.data?.enabled===!1,busy:i,error:x,devices:d,enable:y,disable:C,test:A}}const Vb="push-route",zh="/__push-route",$b=12e4;async function jh(){if(!("caches"in window))return null;try{const e=await caches.open(Vb),r=await e.match(zh);if(!r)return null;await e.delete(zh);const{url:a,ts:i}=await r.json();return typeof a!="string"||!a.startsWith("/")||typeof i!="number"||Date.now()-i>$b?null:a}catch{return null}}function Gb(){const e=da();z.useEffect(()=>{let r=!0;const a=()=>{jh().then(x=>{r&&x&&e(x)})},i=x=>{const u=x.data;u?.type==="push-navigate"&&typeof u.url=="string"&&u.url.startsWith("/")&&(jh(),e(u.url))},s=()=>{document.visibilityState==="visible"&&a()};return"serviceWorker"in navigator&&navigator.serviceWorker.addEventListener("message",i),document.addEventListener("visibilitychange",s),a(),()=>{r=!1,"serviceWorker"in navigator&&navigator.serviceWorker.removeEventListener("message",i),document.removeEventListener("visibilitychange",s)}},[e])}function K2(e){var r,a,i="";if(typeof e=="string"||typeof e=="number")i+=e;else if(typeof e=="object")if(Array.isArray(e)){var s=e.length;for(r=0;r<s;r++)e[r]&&(a=K2(e[r]))&&(i&&(i+=" "),i+=a)}else for(a in e)e[a]&&(i&&(i+=" "),i+=a);return i}function Qb(){for(var e,r,a=0,i="",s=arguments.length;a<s;a++)(e=arguments[a])&&(r=K2(e))&&(i&&(i+=" "),i+=r);return i}const Yb=(e,r)=>{const a=new Array(e.length+r.length);for(let i=0;i<e.length;i++)a[i]=e[i];for(let i=0;i<r.length;i++)a[e.length+i]=r[i];return a},Xb=(e,r)=>({classGroupId:e,validator:r}),Z2=(e=new Map,r=null,a)=>({nextPart:e,validators:r,classGroupId:a}),vo="-",Rh=[],Kb="arbitrary..",Zb=e=>{const r=Wb(e),{conflictingClassGroups:a,conflictingClassGroupModifiers:i}=e;return{getClassGroupId:u=>{if(u.startsWith("[")&&u.endsWith("]"))return Jb(u);const f=u.split(vo),d=f[0]===""&&f.length>1?1:0;return J2(f,d,r)},getConflictingClassGroupIds:(u,f)=>{if(f){const d=i[u],h=a[u];return d?h?Yb(h,d):d:h||Rh}return a[u]||Rh}}},J2=(e,r,a)=>{if(e.length-r===0)return a.classGroupId;const s=e[r],x=a.nextPart.get(s);if(x){const h=J2(e,r+1,x);if(h)return h}const u=a.validators;if(u===null)return;const f=r===0?e.join(vo):e.slice(r).join(vo),d=u.length;for(let h=0;h<d;h++){const E=u[h];if(E.validator(f))return E.classGroupId}},Jb=e=>e.slice(1,-1).indexOf(":")===-1?void 0:(()=>{const r=e.slice(1,-1),a=r.indexOf(":"),i=r.slice(0,a);return i?Kb+i:void 0})(),Wb=e=>{const{theme:r,classGroups:a}=e;return eD(a,r)},eD=(e,r)=>{const a=Z2();for(const i in e){const s=e[i];Fc(s,a,i,r)}return a},Fc=(e,r,a,i)=>{const s=e.length;for(let x=0;x<s;x++){const u=e[x];tD(u,r,a,i)}},tD=(e,r,a,i)=>{if(typeof e=="string"){nD(e,r,a);return}if(typeof e=="function"){rD(e,r,a,i);return}aD(e,r,a,i)},nD=(e,r,a)=>{const i=e===""?r:W2(r,e);i.classGroupId=a},rD=(e,r,a,i)=>{if(lD(e)){Fc(e(i),r,a,i);return}r.validators===null&&(r.validators=[]),r.validators.push(Xb(a,e))},aD=(e,r,a,i)=>{const s=Object.entries(e),x=s.length;for(let u=0;u<x;u++){const[f,d]=s[u];Fc(d,W2(r,f),a,i)}},W2=(e,r)=>{let a=e;const i=r.split(vo),s=i.length;for(let x=0;x<s;x++){const u=i[x];let f=a.nextPart.get(u);f||(f=Z2(),a.nextPart.set(u,f)),a=f}return a},lD=e=>"isThemeGetter"in e&&e.isThemeGetter===!0,iD=e=>{if(e<1)return{get:()=>{},set:()=>{}};let r=0,a=Object.create(null),i=Object.create(null);const s=(x,u)=>{a[x]=u,r++,r>e&&(r=0,i=a,a=Object.create(null))};return{get(x){let u=a[x];if(u!==void 0)return u;if((u=i[x])!==void 0)return s(x,u),u},set(x,u){x in a?a[x]=u:s(x,u)}}},Xu="!",Oh=":",oD=[],Lh=(e,r,a,i,s)=>({modifiers:e,hasImportantModifier:r,baseClassName:a,maybePostfixModifierPosition:i,isExternal:s}),sD=e=>{const{prefix:r,experimentalParseClassName:a}=e;let i=s=>{const x=[];let u=0,f=0,d=0,h;const E=s.length;for(let b=0;b<E;b++){const D=s[b];if(u===0&&f===0){if(D===Oh){x.push(s.slice(d,b)),d=b+1;continue}if(D==="/"){h=b;continue}}D==="["?u++:D==="]"?u--:D==="("?f++:D===")"&&f--}const p=x.length===0?s:s.slice(d);let y=p,C=!1;p.endsWith(Xu)?(y=p.slice(0,-1),C=!0):p.startsWith(Xu)&&(y=p.slice(1),C=!0);const A=h&&h>d?h-d:void 0;return Lh(x,C,y,A)};if(r){const s=r+Oh,x=i;i=u=>u.startsWith(s)?x(u.slice(s.length)):Lh(oD,!1,u,void 0,!0)}if(a){const s=i;i=x=>a({className:x,parseClassName:s})}return i},xD=e=>{const r=new Map;return e.orderSensitiveModifiers.forEach((a,i)=>{r.set(a,1e6+i)}),a=>{const i=[];let s=[];for(let x=0;x<a.length;x++){const u=a[x],f=u[0]==="[",d=r.has(u);f||d?(s.length>0&&(s.sort(),i.push(...s),s=[]),i.push(u)):s.push(u)}return s.length>0&&(s.sort(),i.push(...s)),i}},uD=e=>({cache:iD(e.cacheSize),parseClassName:sD(e),sortModifiers:xD(e),postfixLookupClassGroupIds:cD(e),...Zb(e)}),cD=e=>{const r=Object.create(null),a=e.postfixLookupClassGroups;if(a)for(let i=0;i<a.length;i++)r[a[i]]=!0;return r},fD=/\s+/,dD=(e,r)=>{const{parseClassName:a,getClassGroupId:i,getConflictingClassGroupIds:s,sortModifiers:x,postfixLookupClassGroupIds:u}=r,f=[],d=e.trim().split(fD);let h="";for(let E=d.length-1;E>=0;E-=1){const p=d[E],{isExternal:y,modifiers:C,hasImportantModifier:A,baseClassName:b,maybePostfixModifierPosition:D}=a(p);if(y){h=p+(h.length>0?" "+h:h);continue}let F=!!D,O;if(F){const T=b.substring(0,D);O=i(T);const S=O&&u[O]?i(b):void 0;S&&S!==O&&(O=S,F=!1)}else O=i(b);if(!O){if(!F){h=p+(h.length>0?" "+h:h);continue}if(O=i(b),!O){h=p+(h.length>0?" "+h:h);continue}F=!1}const w=C.length===0?"":C.length===1?C[0]:x(C).join(":"),_=A?w+Xu:w,R=_+O;if(f.indexOf(R)>-1)continue;f.push(R);const k=s(O,F);for(let T=0;T<k.length;++T){const S=k[T];f.push(_+S)}h=p+(h.length>0?" "+h:h)}return h},hD=(...e)=>{let r=0,a,i,s="";for(;r<e.length;)(a=e[r++])&&(i=ep(a))&&(s&&(s+=" "),s+=i);return s},ep=e=>{if(typeof e=="string")return e;let r,a="";for(let i=0;i<e.length;i++)e[i]&&(r=ep(e[i]))&&(a&&(a+=" "),a+=r);return a},pD=(e,...r)=>{let a,i,s,x;const u=d=>{const h=r.reduce((E,p)=>p(E),e());return a=uD(h),i=a.cache.get,s=a.cache.set,x=f,f(d)},f=d=>{const h=i(d);if(h)return h;const E=dD(d,a);return s(d,E),E};return x=u,(...d)=>x(hD(...d))},mD=[],Ct=e=>{const r=a=>a[e]||mD;return r.isThemeGetter=!0,r},tp=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,np=/^\((?:(\w[\w-]*):)?(.+)\)$/i,ED=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,CD=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,yD=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,gD=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,BD=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,AD=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,P0=e=>ED.test(e),Me=e=>!!e&&!Number.isNaN(Number(e)),Hn=e=>!!e&&Number.isInteger(Number(e)),Cu=e=>e.endsWith("%")&&Me(e.slice(0,-1)),c0=e=>CD.test(e),rp=()=>!0,bD=e=>yD.test(e)&&!gD.test(e),wc=()=>!1,DD=e=>BD.test(e),vD=e=>AD.test(e),kD=e=>!de(e)&&!he(e),FD=e=>e.startsWith("@container")&&(e[10]==="/"&&e[11]!==void 0||e[11]==="s"&&e[16]!==void 0&&e.startsWith("-size/",10)||e[11]==="n"&&e[18]!==void 0&&e.startsWith("-normal/",10)),wD=e=>V0(e,ip,wc),de=e=>tp.test(e),ur=e=>V0(e,op,bD),Ph=e=>V0(e,RD,Me),SD=e=>V0(e,xp,rp),MD=e=>V0(e,sp,wc),Uh=e=>V0(e,ap,wc),ND=e=>V0(e,lp,vD),lo=e=>V0(e,up,DD),he=e=>np.test(e),fl=e=>gr(e,op),_D=e=>gr(e,sp),Hh=e=>gr(e,ap),TD=e=>gr(e,ip),zD=e=>gr(e,lp),io=e=>gr(e,up,!0),jD=e=>gr(e,xp,!0),V0=(e,r,a)=>{const i=tp.exec(e);return i?i[1]?r(i[1]):a(i[2]):!1},gr=(e,r,a=!1)=>{const i=np.exec(e);return i?i[1]?r(i[1]):a:!1},ap=e=>e==="position"||e==="percentage",lp=e=>e==="image"||e==="url",ip=e=>e==="length"||e==="size"||e==="bg-size",op=e=>e==="length",RD=e=>e==="number",sp=e=>e==="family-name",xp=e=>e==="number"||e==="weight",up=e=>e==="shadow",OD=()=>{const e=Ct("color"),r=Ct("font"),a=Ct("text"),i=Ct("font-weight"),s=Ct("tracking"),x=Ct("leading"),u=Ct("breakpoint"),f=Ct("container"),d=Ct("spacing"),h=Ct("radius"),E=Ct("shadow"),p=Ct("inset-shadow"),y=Ct("text-shadow"),C=Ct("drop-shadow"),A=Ct("blur"),b=Ct("perspective"),D=Ct("aspect"),F=Ct("ease"),O=Ct("animate"),w=()=>["auto","avoid","all","avoid-page","page","left","right","column"],_=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],R=()=>[..._(),he,de],k=()=>["auto","hidden","clip","visible","scroll"],T=()=>["auto","contain","none"],S=()=>[he,de,d],q=()=>[P0,"full","auto",...S()],L=()=>[Hn,"none","subgrid",he,de],X=()=>["auto",{span:["full",Hn,he,de]},Hn,he,de],K=()=>[Hn,"auto",he,de],ie=()=>["auto","min","max","fr",he,de],Z=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],$=()=>["start","end","center","stretch","center-safe","end-safe"],P=()=>["auto",...S()],Y=()=>[P0,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...S()],oe=()=>[P0,"screen","full","dvw","lvw","svw","min","max","fit",...S()],fe=()=>[P0,"screen","full","lh","dvh","lvh","svh","min","max","fit",...S()],M=()=>[e,he,de],j=()=>[..._(),Hh,Uh,{position:[he,de]}],W=()=>["no-repeat",{repeat:["","x","y","space","round"]}],N=()=>["auto","cover","contain",TD,wD,{size:[he,de]}],ae=()=>[Cu,fl,ur],ce=()=>["","none","full",h,he,de],xe=()=>["",Me,fl,ur],Ee=()=>["solid","dashed","dotted","double"],Pe=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],Ce=()=>[Me,Cu,Hh,Uh],Bt=()=>["","none",A,he,de],ot=()=>["none",Me,he,de],fn=()=>["none",Me,he,de],Zt=()=>[Me,he,de],ut=()=>[P0,"full",...S()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[c0],breakpoint:[c0],color:[rp],container:[c0],"drop-shadow":[c0],ease:["in","out","in-out"],font:[kD],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[c0],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[c0],shadow:[c0],spacing:["px",Me],text:[c0],"text-shadow":[c0],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",P0,de,he,D]}],container:["container"],"container-type":[{"@container":["","normal","size",he,de]}],"container-named":[FD],columns:[{columns:[Me,de,he,f]}],"break-after":[{"break-after":w()}],"break-before":[{"break-before":w()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:R()}],overflow:[{overflow:k()}],"overflow-x":[{"overflow-x":k()}],"overflow-y":[{"overflow-y":k()}],overscroll:[{overscroll:T()}],"overscroll-x":[{"overscroll-x":T()}],"overscroll-y":[{"overscroll-y":T()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:q()}],"inset-x":[{"inset-x":q()}],"inset-y":[{"inset-y":q()}],start:[{"inset-s":q(),start:q()}],end:[{"inset-e":q(),end:q()}],"inset-bs":[{"inset-bs":q()}],"inset-be":[{"inset-be":q()}],top:[{top:q()}],right:[{right:q()}],bottom:[{bottom:q()}],left:[{left:q()}],visibility:["visible","invisible","collapse"],z:[{z:[Hn,"auto",he,de]}],basis:[{basis:[P0,"full","auto",f,...S()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[Me,P0,"auto","initial","none",de]}],grow:[{grow:["",Me,he,de]}],shrink:[{shrink:["",Me,he,de]}],order:[{order:[Hn,"first","last","none",he,de]}],"grid-cols":[{"grid-cols":L()}],"col-start-end":[{col:X()}],"col-start":[{"col-start":K()}],"col-end":[{"col-end":K()}],"grid-rows":[{"grid-rows":L()}],"row-start-end":[{row:X()}],"row-start":[{"row-start":K()}],"row-end":[{"row-end":K()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":ie()}],"auto-rows":[{"auto-rows":ie()}],gap:[{gap:S()}],"gap-x":[{"gap-x":S()}],"gap-y":[{"gap-y":S()}],"justify-content":[{justify:[...Z(),"normal"]}],"justify-items":[{"justify-items":[...$(),"normal"]}],"justify-self":[{"justify-self":["auto",...$()]}],"align-content":[{content:["normal",...Z()]}],"align-items":[{items:[...$(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...$(),{baseline:["","last"]}]}],"place-content":[{"place-content":Z()}],"place-items":[{"place-items":[...$(),"baseline"]}],"place-self":[{"place-self":["auto",...$()]}],p:[{p:S()}],px:[{px:S()}],py:[{py:S()}],ps:[{ps:S()}],pe:[{pe:S()}],pbs:[{pbs:S()}],pbe:[{pbe:S()}],pt:[{pt:S()}],pr:[{pr:S()}],pb:[{pb:S()}],pl:[{pl:S()}],m:[{m:P()}],mx:[{mx:P()}],my:[{my:P()}],ms:[{ms:P()}],me:[{me:P()}],mbs:[{mbs:P()}],mbe:[{mbe:P()}],mt:[{mt:P()}],mr:[{mr:P()}],mb:[{mb:P()}],ml:[{ml:P()}],"space-x":[{"space-x":S()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":S()}],"space-y-reverse":["space-y-reverse"],size:[{size:Y()}],"inline-size":[{inline:["auto",...oe()]}],"min-inline-size":[{"min-inline":["auto",...oe()]}],"max-inline-size":[{"max-inline":["none",...oe()]}],"block-size":[{block:["auto",...fe()]}],"min-block-size":[{"min-block":["auto",...fe()]}],"max-block-size":[{"max-block":["none",...fe()]}],w:[{w:[f,"screen",...Y()]}],"min-w":[{"min-w":[f,"screen","none",...Y()]}],"max-w":[{"max-w":[f,"screen","none","prose",{screen:[u]},...Y()]}],h:[{h:["screen","lh",...Y()]}],"min-h":[{"min-h":["screen","lh","none",...Y()]}],"max-h":[{"max-h":["screen","lh",...Y()]}],"font-size":[{text:["base",a,fl,ur]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[i,jD,SD]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",Cu,de]}],"font-family":[{font:[_D,MD,r]}],"font-features":[{"font-features":[de]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[s,he,de]}],"line-clamp":[{"line-clamp":[Me,"none",he,Ph]}],leading:[{leading:[x,...S()]}],"list-image":[{"list-image":["none",he,de]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",he,de]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:M()}],"text-color":[{text:M()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...Ee(),"wavy"]}],"text-decoration-thickness":[{decoration:[Me,"from-font","auto",he,ur]}],"text-decoration-color":[{decoration:M()}],"underline-offset":[{"underline-offset":[Me,"auto",he,de]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:S()}],"tab-size":[{tab:[Hn,he,de]}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",he,de]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",he,de]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:j()}],"bg-repeat":[{bg:W()}],"bg-size":[{bg:N()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},Hn,he,de],radial:["",he,de],conic:[Hn,he,de]},zD,ND]}],"bg-color":[{bg:M()}],"gradient-from-pos":[{from:ae()}],"gradient-via-pos":[{via:ae()}],"gradient-to-pos":[{to:ae()}],"gradient-from":[{from:M()}],"gradient-via":[{via:M()}],"gradient-to":[{to:M()}],rounded:[{rounded:ce()}],"rounded-s":[{"rounded-s":ce()}],"rounded-e":[{"rounded-e":ce()}],"rounded-t":[{"rounded-t":ce()}],"rounded-r":[{"rounded-r":ce()}],"rounded-b":[{"rounded-b":ce()}],"rounded-l":[{"rounded-l":ce()}],"rounded-ss":[{"rounded-ss":ce()}],"rounded-se":[{"rounded-se":ce()}],"rounded-ee":[{"rounded-ee":ce()}],"rounded-es":[{"rounded-es":ce()}],"rounded-tl":[{"rounded-tl":ce()}],"rounded-tr":[{"rounded-tr":ce()}],"rounded-br":[{"rounded-br":ce()}],"rounded-bl":[{"rounded-bl":ce()}],"border-w":[{border:xe()}],"border-w-x":[{"border-x":xe()}],"border-w-y":[{"border-y":xe()}],"border-w-s":[{"border-s":xe()}],"border-w-e":[{"border-e":xe()}],"border-w-bs":[{"border-bs":xe()}],"border-w-be":[{"border-be":xe()}],"border-w-t":[{"border-t":xe()}],"border-w-r":[{"border-r":xe()}],"border-w-b":[{"border-b":xe()}],"border-w-l":[{"border-l":xe()}],"divide-x":[{"divide-x":xe()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":xe()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...Ee(),"hidden","none"]}],"divide-style":[{divide:[...Ee(),"hidden","none"]}],"border-color":[{border:M()}],"border-color-x":[{"border-x":M()}],"border-color-y":[{"border-y":M()}],"border-color-s":[{"border-s":M()}],"border-color-e":[{"border-e":M()}],"border-color-bs":[{"border-bs":M()}],"border-color-be":[{"border-be":M()}],"border-color-t":[{"border-t":M()}],"border-color-r":[{"border-r":M()}],"border-color-b":[{"border-b":M()}],"border-color-l":[{"border-l":M()}],"divide-color":[{divide:M()}],"outline-style":[{outline:[...Ee(),"none","hidden"]}],"outline-offset":[{"outline-offset":[Me,he,de]}],"outline-w":[{outline:["",Me,fl,ur]}],"outline-color":[{outline:M()}],shadow:[{shadow:["","none",E,io,lo]}],"shadow-color":[{shadow:M()}],"inset-shadow":[{"inset-shadow":["none",p,io,lo]}],"inset-shadow-color":[{"inset-shadow":M()}],"ring-w":[{ring:xe()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:M()}],"ring-offset-w":[{"ring-offset":[Me,ur]}],"ring-offset-color":[{"ring-offset":M()}],"inset-ring-w":[{"inset-ring":xe()}],"inset-ring-color":[{"inset-ring":M()}],"text-shadow":[{"text-shadow":["none",y,io,lo]}],"text-shadow-color":[{"text-shadow":M()}],opacity:[{opacity:[Me,he,de]}],"mix-blend":[{"mix-blend":[...Pe(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":Pe()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[Me]}],"mask-image-linear-from-pos":[{"mask-linear-from":Ce()}],"mask-image-linear-to-pos":[{"mask-linear-to":Ce()}],"mask-image-linear-from-color":[{"mask-linear-from":M()}],"mask-image-linear-to-color":[{"mask-linear-to":M()}],"mask-image-t-from-pos":[{"mask-t-from":Ce()}],"mask-image-t-to-pos":[{"mask-t-to":Ce()}],"mask-image-t-from-color":[{"mask-t-from":M()}],"mask-image-t-to-color":[{"mask-t-to":M()}],"mask-image-r-from-pos":[{"mask-r-from":Ce()}],"mask-image-r-to-pos":[{"mask-r-to":Ce()}],"mask-image-r-from-color":[{"mask-r-from":M()}],"mask-image-r-to-color":[{"mask-r-to":M()}],"mask-image-b-from-pos":[{"mask-b-from":Ce()}],"mask-image-b-to-pos":[{"mask-b-to":Ce()}],"mask-image-b-from-color":[{"mask-b-from":M()}],"mask-image-b-to-color":[{"mask-b-to":M()}],"mask-image-l-from-pos":[{"mask-l-from":Ce()}],"mask-image-l-to-pos":[{"mask-l-to":Ce()}],"mask-image-l-from-color":[{"mask-l-from":M()}],"mask-image-l-to-color":[{"mask-l-to":M()}],"mask-image-x-from-pos":[{"mask-x-from":Ce()}],"mask-image-x-to-pos":[{"mask-x-to":Ce()}],"mask-image-x-from-color":[{"mask-x-from":M()}],"mask-image-x-to-color":[{"mask-x-to":M()}],"mask-image-y-from-pos":[{"mask-y-from":Ce()}],"mask-image-y-to-pos":[{"mask-y-to":Ce()}],"mask-image-y-from-color":[{"mask-y-from":M()}],"mask-image-y-to-color":[{"mask-y-to":M()}],"mask-image-radial":[{"mask-radial":[he,de]}],"mask-image-radial-from-pos":[{"mask-radial-from":Ce()}],"mask-image-radial-to-pos":[{"mask-radial-to":Ce()}],"mask-image-radial-from-color":[{"mask-radial-from":M()}],"mask-image-radial-to-color":[{"mask-radial-to":M()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":_()}],"mask-image-conic-pos":[{"mask-conic":[Me]}],"mask-image-conic-from-pos":[{"mask-conic-from":Ce()}],"mask-image-conic-to-pos":[{"mask-conic-to":Ce()}],"mask-image-conic-from-color":[{"mask-conic-from":M()}],"mask-image-conic-to-color":[{"mask-conic-to":M()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:j()}],"mask-repeat":[{mask:W()}],"mask-size":[{mask:N()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",he,de]}],filter:[{filter:["","none",he,de]}],blur:[{blur:Bt()}],brightness:[{brightness:[Me,he,de]}],contrast:[{contrast:[Me,he,de]}],"drop-shadow":[{"drop-shadow":["","none",C,io,lo]}],"drop-shadow-color":[{"drop-shadow":M()}],grayscale:[{grayscale:["",Me,he,de]}],"hue-rotate":[{"hue-rotate":[Me,he,de]}],invert:[{invert:["",Me,he,de]}],saturate:[{saturate:[Me,he,de]}],sepia:[{sepia:["",Me,he,de]}],"backdrop-filter":[{"backdrop-filter":["","none",he,de]}],"backdrop-blur":[{"backdrop-blur":Bt()}],"backdrop-brightness":[{"backdrop-brightness":[Me,he,de]}],"backdrop-contrast":[{"backdrop-contrast":[Me,he,de]}],"backdrop-grayscale":[{"backdrop-grayscale":["",Me,he,de]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[Me,he,de]}],"backdrop-invert":[{"backdrop-invert":["",Me,he,de]}],"backdrop-opacity":[{"backdrop-opacity":[Me,he,de]}],"backdrop-saturate":[{"backdrop-saturate":[Me,he,de]}],"backdrop-sepia":[{"backdrop-sepia":["",Me,he,de]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":S()}],"border-spacing-x":[{"border-spacing-x":S()}],"border-spacing-y":[{"border-spacing-y":S()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",he,de]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[Me,"initial",he,de]}],ease:[{ease:["linear","initial",F,he,de]}],delay:[{delay:[Me,he,de]}],animate:[{animate:["none",O,he,de]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[b,he,de]}],"perspective-origin":[{"perspective-origin":R()}],rotate:[{rotate:ot()}],"rotate-x":[{"rotate-x":ot()}],"rotate-y":[{"rotate-y":ot()}],"rotate-z":[{"rotate-z":ot()}],scale:[{scale:fn()}],"scale-x":[{"scale-x":fn()}],"scale-y":[{"scale-y":fn()}],"scale-z":[{"scale-z":fn()}],"scale-3d":["scale-3d"],skew:[{skew:Zt()}],"skew-x":[{"skew-x":Zt()}],"skew-y":[{"skew-y":Zt()}],transform:[{transform:[he,de,"","none","gpu","cpu"]}],"transform-origin":[{origin:R()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:ut()}],"translate-x":[{"translate-x":ut()}],"translate-y":[{"translate-y":ut()}],"translate-z":[{"translate-z":ut()}],"translate-none":["translate-none"],zoom:[{zoom:[Hn,he,de]}],accent:[{accent:M()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:M()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",he,de]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scrollbar-thumb-color":[{"scrollbar-thumb":M()}],"scrollbar-track-color":[{"scrollbar-track":M()}],"scrollbar-gutter":[{"scrollbar-gutter":["auto","stable","both"]}],"scrollbar-w":[{scrollbar:["auto","thin","none"]}],"scroll-m":[{"scroll-m":S()}],"scroll-mx":[{"scroll-mx":S()}],"scroll-my":[{"scroll-my":S()}],"scroll-ms":[{"scroll-ms":S()}],"scroll-me":[{"scroll-me":S()}],"scroll-mbs":[{"scroll-mbs":S()}],"scroll-mbe":[{"scroll-mbe":S()}],"scroll-mt":[{"scroll-mt":S()}],"scroll-mr":[{"scroll-mr":S()}],"scroll-mb":[{"scroll-mb":S()}],"scroll-ml":[{"scroll-ml":S()}],"scroll-p":[{"scroll-p":S()}],"scroll-px":[{"scroll-px":S()}],"scroll-py":[{"scroll-py":S()}],"scroll-ps":[{"scroll-ps":S()}],"scroll-pe":[{"scroll-pe":S()}],"scroll-pbs":[{"scroll-pbs":S()}],"scroll-pbe":[{"scroll-pbe":S()}],"scroll-pt":[{"scroll-pt":S()}],"scroll-pr":[{"scroll-pr":S()}],"scroll-pb":[{"scroll-pb":S()}],"scroll-pl":[{"scroll-pl":S()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",he,de]}],fill:[{fill:["none",...M()]}],"stroke-w":[{stroke:[Me,fl,ur,Ph]}],stroke:[{stroke:["none",...M()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{"container-named":["container-type"],overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","inset-bs","inset-be","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pbs","pbe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mbs","mbe","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-bs","border-w-be","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-bs","border-color-be","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mbs","scroll-mbe","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pbs","scroll-pbe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},postfixLookupClassGroups:["container-type"],orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}},LD=pD(OD);function be(...e){return LD(Qb(e))}function PD(e){const r=[],a=e.split(bb);for(let i=0;i<a.length;i++){const s=a[i];if(i===0){s&&r.push({text:s,hit:!1});continue}const x=s.indexOf(Db);if(x<0){s&&r.push({text:s,hit:!0});continue}const u=s.slice(0,x),f=s.slice(x+1);u&&r.push({text:u,hit:!0}),f&&r.push({text:f,hit:!1})}return r}function cp(e){return e.state==="setting_up"}const UD={merged:"var(--color-pr-merged)",draft:"var(--color-pr-draft)",conflicts:"var(--color-pr-conflicts)",mergeable:"var(--color-pr-mergeable)"};function HD(e){return{color:e.pr_status&&UD[e.pr_status]||"var(--color-accent)",working:e.session_status==="working"}}function qD(e){return e.pr_status==="merged"}function fp(e){return cp(e)?"setting-up":e.manual_status||e.derived_status||"in-progress"}const qh=["done","in-review","in-progress","setting-up","backlog","canceled"],ID=["backlog","in-progress","in-review","done","canceled"];function Ku(e){return{done:"Done","in-review":"In review","in-progress":"In progress","setting-up":"Setting up",backlog:"Backlog",canceled:"Canceled"}[e]??e}const VD=["today","yesterday","week","month","older"];function $D(e){return{today:"Today",yesterday:"Yesterday",week:"Past week",month:"Past month",older:"Older"}[e]}function Ih(e){const r=new Date(e);return r.setHours(0,0,0,0),r.getTime()}function GD(e,r=new Date){const a=new Date(e);if(!Number.isFinite(a.getTime()))return"older";const i=Math.round((Ih(r)-Ih(a))/864e5);return i<=0?"today":i===1?"yesterday":i<7?"week":i<30?"month":"older"}const Sc={done:"var(--color-done)","in-review":"var(--color-idle)","in-progress":"var(--color-working)","setting-up":"var(--color-working)"};function Mc(e){return e?e.replace(/^claude-/,"").replace(/-\d{8}$/,"").replace(/-latest$/,""):""}function ko(e,r=120){const i=(e.split(`
12
+ `).find(s=>s.trim())??"").replace(/^[\s>#*\-+]+/,"").replace(/`/g,"").replace(/\s+/g," ").trim();return i.length>r?`${i.slice(0,r-1)}…`:i}function QD(e){const r=Math.max(0,Math.floor(e/1e3)),a=r%60,i=Math.floor(r/60)%60,s=Math.floor(r/3600),x=u=>String(u).padStart(2,"0");return s?`${s}h ${x(i)}m ${x(a)}s`:i?`${i}m ${x(a)}s`:`${a}s`}function YD(e){const r=new Date(e);if(!Number.isFinite(r.getTime()))return"";const a=r.toLocaleTimeString(void 0,{hour:"2-digit",minute:"2-digit"}),i=new Date;return r.toDateString()===i.toDateString()?a:`${r.toLocaleDateString(void 0,{month:"short",day:"numeric"})}, ${a}`}function Nc(e){const r=new Date(e).getTime();if(!Number.isFinite(r))return"";const a=Math.round((Date.now()-r)/1e3);if(a<45)return"now";if(a<90)return"1m";const i=Math.round(a/60);if(i<60)return`${i}m`;const s=Math.round(i/60);return s<24?`${s}h`:`${Math.round(s/24)}d`}const XD={activity:N7,anchor:T7,apple:j7,atom:I7,award:$7,banknote:Q7,battery:X7,beer:Z7,bell:A2,bike:e3,bird:n3,bluetooth:a3,book:s3,"book-open":i3,bookmark:u3,bot:f3,box:h3,brain:m3,briefcase:C3,brush:g3,bug:D3,"bug-play":A3,building:w3,"building-2":k3,cake:M3,calendar:_3,camera:z3,car:R3,carrot:L3,cat:U3,"chart-bar":q3,"chart-line":V3,"chart-pie":G3,clapperboard:J3,clock:eC,cloud:iC,code:uC,"code-xml":sC,coffee:fC,cog:hC,compass:mC,cpu:yC,"credit-card":BC,crown:bC,database:vC,dna:FC,dog:SC,"dollar-sign":NC,dumbbell:TC,egg:jC,factory:OC,feather:PC,file:$C,"file-code":HC,film:QC,fish:XC,flag:ZC,flame:WC,"flask-conical":ty,folder:ry,"gamepad-2":ly,gem:oy,gift:xy,"git-branch":cy,github:hy,glasses:my,globe:Cy,"graduation-cap":gy,"grid-3x3":Ay,hammer:Dy,headphones:ky,heart:My,"heart-pulse":wy,house:_y,image:zy,key:Ly,laptop:Uy,"layout-grid":Vy,layers:qy,leaf:Gy,lightbulb:Yy,link:Ky,lock:tg,mail:lg,map:xg,"map-pin":og,martini:cg,medal:dg,"message-circle":pg,"message-square":Eg,mic:yg,microscope:Bg,monitor:bg,moon:vg,music:Fg,orbit:Sg,package:Ng,paintbrush:Tg,paperclip:Og,"paw-print":Pg,pen:Hg,pencil:Ig,phone:$g,pill:Qg,pipette:Xg,pizza:Zg,plane:Wg,plug:tB,power:aB,puzzle:iB,rabbit:xB,radio:cB,rocket:hB,ruler:CB,salad:mB,satellite:gB,scissors:AB,server:vB,settings:FB,shell:SB,shield:NB,ship:TB,"shopping-bag":jB,"shopping-cart":OB,smartphone:HB,snail:IB,soup:$B,sparkles:QB,sprout:XB,star:WB,stethoscope:tA,store:rA,sun:w2,tag:iA,tags:sA,target:uA,telescope:fA,terminal:hA,ticket:mA,"train-front":CA,"tree-pine":gA,"trending-up":AA,trophy:vA,turtle:FA,user:SA,users:NA,utensils:TA,video:jA,wallet:OA,"wand-2":bh,"wand-sparkles":bh,warehouse:UA,wheat:qA,wifi:S2,wine:GA,wrench:YA,zap:M2};function KD({w:e,className:r}){const{color:a,working:i}=HD(e);return i?g.jsx("span",{className:be("dot-spinner",r),style:{"--spin-color":a}}):g.jsx("span",{className:be("dot",r),style:{background:a}})}function ZD(e){const r=Math.max(0,Math.round(e/1e3));if(r<90)return`${r}s`;const a=Math.round(r/60);return a<60?`${a}m`:`${Math.round(a/60)}h`}function JD(){const e=ke(u=>u.online),r=ke(u=>u.lastSyncAt),a=ke(u=>u.update),i=a?.mode==="auto"&&a.available,[s,x]=z.useState(()=>Date.now());return z.useEffect(()=>{if(e)return;const u=setInterval(()=>x(Date.now()),1e3);return()=>clearInterval(u)},[e]),i?g.jsxs("div",{className:"fade-in flex items-center gap-1.5 bg-accent/10 px-3 py-1.5 text-xs text-accent",children:[g.jsx(bc,{size:13,className:"animate-spin"}),g.jsxs("span",{children:["Updating relay to ",a?.latest??"latest","… reconnecting"]})]}):e?null:g.jsxs("div",{className:"fade-in flex items-center gap-1.5 bg-del/10 px-3 py-1.5 text-xs text-del",children:[g.jsx(vc,{size:13}),g.jsxs("span",{children:["Offline — retrying…",r?` last synced ${ZD(s-r)} ago`:""]})]})}function Fo({children:e,className:r}){return g.jsx("span",{className:be("rounded-md bg-surface-2 px-1.5 py-0.5 font-mono text-[11px] text-muted",r),children:e})}function WD({children:e}){return g.jsx("span",{className:"grid min-w-5 place-items-center rounded-full bg-accent px-1.5 text-[11px] font-bold text-white",children:e})}function ev({error:e}){const r=typeof navigator<"u"&&navigator.onLine===!1,a=e instanceof Error?e.message:String(e??"request failed"),i=!(e instanceof mr)||e.status===0;return r?g.jsxs(Lt,{children:[g.jsx(vc,{size:20,className:"mx-auto mb-3 text-muted"}),g.jsx("div",{className:"font-medium text-text",children:"This phone is offline"}),g.jsx("div",{className:"mt-1",children:"Check Wi-Fi or cellular. The list comes back on its own."})]}):g.jsxs(Lt,{children:[g.jsx(nC,{size:20,className:"mx-auto mb-3 text-del"}),g.jsx("div",{className:"font-medium text-text",children:i?"Can’t reach the relay":"The relay answered with an error"}),g.jsx("div",{className:"mt-1 break-words font-mono text-[11px] text-muted",children:a}),i?g.jsxs("ul",{className:"mt-4 space-y-2 text-left",children:[g.jsx("li",{children:"Is the Mac awake and online?"}),g.jsxs("li",{children:["If the relay is tailnet-only: Tailscale connected on this phone, and"," ",g.jsx("span",{className:"text-text",children:"iCloud Private Relay off"}),". Private Relay routes around the VPN, so the app stays stuck even while Tailscale says Connected."]}),g.jsx("li",{children:"Otherwise the Funnel may be stale after a network change — re-deploy on the Mac."})]}):null]})}function Lt({children:e}){return g.jsx("div",{className:"mx-auto max-w-xs px-6 py-16 text-center text-sm text-muted",children:e})}function ha({label:e}){return g.jsxs("div",{className:"flex items-center justify-center gap-2 py-16 text-sm text-muted",children:[g.jsx("span",{className:"size-4 animate-spin rounded-full border-2 border-border border-t-accent"}),e]})}const Eo="grid size-8 place-items-center overflow-hidden rounded-lg bg-surface-2 font-semibold text-muted";function wo({icon:e,name:r}){const a=g.jsx("div",{className:be(Eo,"text-xs"),children:(r.trim()[0]??"?").toUpperCase()});if(!e)return a;if(e.kind==="emoji")return g.jsx("div",{className:be(Eo,"text-lg leading-none"),children:e.value});if(e.kind==="named"){const i=XD[e.value];return i?g.jsx("div",{className:Eo,children:g.jsx(i,{size:18,className:"text-muted"})}):a}return e.kind==="github"?g.jsx(dp,{src:`https://github.com/${encodeURIComponent(e.owner)}.png?size=64`,fit:"cover",fallback:a}):g.jsx(tv,{repoName:r,fallback:a})}function dp({src:e,fit:r,fallback:a}){const[i,s]=z.useState(!1);return i?g.jsx(g.Fragment,{children:a}):g.jsx("div",{className:Eo,children:g.jsx("img",{src:e,alt:"",loading:"lazy",className:be("size-full",r==="cover"?"object-cover":"object-contain"),onError:()=>s(!0)})})}function tv({repoName:e,fallback:r}){const{data:a,isError:i}=Ob(e);return!e||i||!a?g.jsx(g.Fragment,{children:r}):g.jsx(dp,{src:a,fit:"contain",fallback:r})}function So({title:e,subtitle:r,menu:a,right:i}){const s=ke(x=>x.setSidebarOpen);return g.jsxs("header",{className:"pt-safe sticky top-0 z-10 border-b border-border-soft bg-bg/80 backdrop-blur-xl",children:[g.jsxs("div",{className:"flex items-center gap-2 px-3 pb-2.5",children:[a?g.jsx("button",{type:"button",onClick:()=>s(!0),"aria-label":"Open workspaces",className:"-ml-1 flex size-9 shrink-0 items-center justify-center rounded-full text-muted active:bg-surface-2 md:hidden",children:g.jsx(jg,{size:20})}):g.jsx("span",{className:"w-1"}),g.jsxs("div",{className:"min-w-0 flex-1",children:[g.jsx("div",{className:"truncate text-[15px] font-semibold leading-tight",children:e}),r?g.jsx("div",{className:"truncate text-xs leading-tight text-muted",children:r}):null]}),i]}),g.jsx(JD,{})]})}function nv(e,r){const a={};return(e[e.length-1]===""?[...e,""]:e).join((a.padRight?" ":"")+","+(a.padLeft===!1?"":" ")).trim()}const rv=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,av=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,lv={};function Vh(e,r){return(lv.jsx?av:rv).test(e)}const iv=/[ \t\n\f\r]/g;function ov(e){return typeof e=="object"?e.type==="text"?$h(e.value):!1:$h(e)}function $h(e){return e.replace(iv,"")===""}class Ol{constructor(r,a,i){this.normal=a,this.property=r,i&&(this.space=i)}}Ol.prototype.normal={};Ol.prototype.property={};Ol.prototype.space=void 0;function hp(e,r){const a={},i={};for(const s of e)Object.assign(a,s.property),Object.assign(i,s.normal);return new Ol(a,i,r)}function Zu(e){return e.toLowerCase()}class Kt{constructor(r,a){this.attribute=a,this.property=r}}Kt.prototype.attribute="";Kt.prototype.booleanish=!1;Kt.prototype.boolean=!1;Kt.prototype.commaOrSpaceSeparated=!1;Kt.prototype.commaSeparated=!1;Kt.prototype.defined=!1;Kt.prototype.mustUseProperty=!1;Kt.prototype.number=!1;Kt.prototype.overloadedBoolean=!1;Kt.prototype.property="";Kt.prototype.spaceSeparated=!1;Kt.prototype.space=void 0;let sv=0;const De=Br(),pt=Br(),Ju=Br(),se=Br(),Je=Br(),hr=Br(),sn=Br();function Br(){return 2**++sv}const Wu=Object.freeze(Object.defineProperty({__proto__:null,boolean:De,booleanish:pt,commaOrSpaceSeparated:sn,commaSeparated:hr,number:se,overloadedBoolean:Ju,spaceSeparated:Je},Symbol.toStringTag,{value:"Module"})),yu=Object.keys(Wu);class _c extends Kt{constructor(r,a,i,s){let x=-1;if(super(r,a),Gh(this,"space",s),typeof i=="number")for(;++x<yu.length;){const u=yu[x];Gh(this,yu[x],(i&Wu[u])===Wu[u])}}}_c.prototype.defined=!0;function Gh(e,r,a){a&&(e[r]=a)}function pa(e){const r={},a={};for(const[i,s]of Object.entries(e.properties)){const x=new _c(i,e.transform(e.attributes||{},i),s,e.space);e.mustUseProperty&&e.mustUseProperty.includes(i)&&(x.mustUseProperty=!0),r[i]=x,a[Zu(i)]=i,a[Zu(x.attribute)]=i}return new Ol(r,a,e.space)}const pp=pa({properties:{ariaActiveDescendant:null,ariaAtomic:pt,ariaAutoComplete:null,ariaBusy:pt,ariaChecked:pt,ariaColCount:se,ariaColIndex:se,ariaColSpan:se,ariaControls:Je,ariaCurrent:null,ariaDescribedBy:Je,ariaDetails:null,ariaDisabled:pt,ariaDropEffect:Je,ariaErrorMessage:null,ariaExpanded:pt,ariaFlowTo:Je,ariaGrabbed:pt,ariaHasPopup:null,ariaHidden:pt,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:Je,ariaLevel:se,ariaLive:null,ariaModal:pt,ariaMultiLine:pt,ariaMultiSelectable:pt,ariaOrientation:null,ariaOwns:Je,ariaPlaceholder:null,ariaPosInSet:se,ariaPressed:pt,ariaReadOnly:pt,ariaRelevant:null,ariaRequired:pt,ariaRoleDescription:Je,ariaRowCount:se,ariaRowIndex:se,ariaRowSpan:se,ariaSelected:pt,ariaSetSize:se,ariaSort:null,ariaValueMax:se,ariaValueMin:se,ariaValueNow:se,ariaValueText:null,role:null},transform(e,r){return r==="role"?r:"aria-"+r.slice(4).toLowerCase()}});function mp(e,r){return r in e?e[r]:r}function Ep(e,r){return mp(e,r.toLowerCase())}const xv=pa({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:hr,acceptCharset:Je,accessKey:Je,action:null,allow:null,allowFullScreen:De,allowPaymentRequest:De,allowUserMedia:De,alpha:De,alt:null,as:null,async:De,autoCapitalize:null,autoComplete:Je,autoFocus:De,autoPlay:De,blocking:Je,capture:null,charSet:null,checked:De,cite:null,className:Je,closedBy:null,colorSpace:null,cols:se,colSpan:se,command:null,commandFor:null,content:null,contentEditable:pt,controls:De,controlsList:Je,coords:se|hr,crossOrigin:null,data:null,dateTime:null,decoding:null,default:De,defer:De,dir:null,dirName:null,disabled:De,download:Ju,draggable:pt,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:De,formTarget:null,headers:Je,height:se,hidden:Ju,high:se,href:null,hrefLang:null,htmlFor:Je,httpEquiv:Je,id:null,imageSizes:null,imageSrcSet:null,inert:De,inputMode:null,integrity:null,is:null,isMap:De,itemId:null,itemProp:Je,itemRef:Je,itemScope:De,itemType:Je,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:De,low:se,manifest:null,max:null,maxLength:se,media:null,method:null,min:null,minLength:se,multiple:De,muted:De,name:null,nonce:null,noModule:De,noValidate:De,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:De,optimum:se,pattern:null,ping:Je,placeholder:null,playsInline:De,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:De,referrerPolicy:null,rel:Je,required:De,reversed:De,rows:se,rowSpan:se,sandbox:Je,scope:null,scoped:De,seamless:De,selected:De,shadowRootClonable:De,shadowRootCustomElementRegistry:De,shadowRootDelegatesFocus:De,shadowRootMode:null,shadowRootSerializable:De,shape:null,size:se,sizes:null,slot:null,span:se,spellCheck:pt,src:null,srcDoc:null,srcLang:null,srcSet:null,start:se,step:null,style:null,tabIndex:se,target:null,title:null,translate:null,type:null,typeMustMatch:De,useMap:null,value:pt,width:se,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:Je,axis:null,background:null,bgColor:null,border:se,borderColor:null,bottomMargin:se,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:De,declare:De,event:null,face:null,frame:null,frameBorder:null,hSpace:se,leftMargin:se,link:null,longDesc:null,lowSrc:null,marginHeight:se,marginWidth:se,noResize:De,noHref:De,noShade:De,noWrap:De,object:null,profile:null,prompt:null,rev:null,rightMargin:se,rules:null,scheme:null,scrolling:pt,standby:null,summary:null,text:null,topMargin:se,valueType:null,version:null,vAlign:null,vLink:null,vSpace:se,allowTransparency:null,autoCorrect:null,autoSave:null,credentialless:De,disablePictureInPicture:De,disableRemotePlayback:De,exportParts:hr,part:Je,prefix:null,property:null,results:se,security:null,unselectable:null},space:"html",transform:Ep}),uv=pa({attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",maskType:"mask-type",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},properties:{about:sn,accentHeight:se,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:se,amplitude:se,arabicForm:null,ascent:se,attributeName:null,attributeType:null,azimuth:se,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:se,by:null,calcMode:null,capHeight:se,className:Je,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:se,diffuseConstant:se,direction:null,display:null,dur:null,divisor:se,dominantBaseline:null,download:De,dx:null,dy:null,edgeMode:null,editable:null,elevation:se,enableBackground:null,end:null,event:null,exponent:se,externalResourcesRequired:null,fill:null,fillOpacity:se,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:hr,g2:hr,glyphName:hr,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:se,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:se,horizOriginX:se,horizOriginY:se,id:null,ideographic:se,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:se,k:se,k1:se,k2:se,k3:se,k4:se,kernelMatrix:sn,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:se,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskType:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:se,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:se,overlineThickness:se,paintOrder:null,panose1:null,path:null,pathLength:se,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:Je,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:se,pointsAtY:se,pointsAtZ:se,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:sn,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:sn,rev:sn,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:sn,requiredFeatures:sn,requiredFonts:sn,requiredFormats:sn,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:se,specularExponent:se,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:se,strikethroughThickness:se,string:null,stroke:null,strokeDashArray:sn,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:se,strokeOpacity:se,strokeWidth:null,style:null,surfaceScale:se,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:sn,tabIndex:se,tableValues:null,target:null,targetX:se,targetY:se,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:sn,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:se,underlineThickness:se,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:se,values:null,vAlphabetic:se,vMathematical:se,vectorEffect:null,vHanging:se,vIdeographic:se,version:null,vertAdvY:se,vertOriginX:se,vertOriginY:se,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:se,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:mp}),Cp=pa({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform(e,r){return"xlink:"+r.slice(5).toLowerCase()}}),yp=pa({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:Ep}),gp=pa({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(e,r){return"xml:"+r.slice(3).toLowerCase()}}),cv={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"},fv=/[A-Z]/g,Qh=/-[a-z]/g,dv=/^data[-\w.:]+$/i;function hv(e,r){const a=Zu(r);let i=r,s=Kt;if(a in e.normal)return e.property[e.normal[a]];if(a.length>4&&a.slice(0,4)==="data"&&dv.test(r)){if(r.charAt(4)==="-"){const x=r.slice(5).replace(Qh,mv);i="data"+x.charAt(0).toUpperCase()+x.slice(1)}else{const x=r.slice(4);if(!Qh.test(x)){let u=x.replace(fv,pv);u.charAt(0)!=="-"&&(u="-"+u),r="data"+u}}s=_c}return new s(i,r)}function pv(e){return"-"+e.toLowerCase()}function mv(e){return e.charAt(1).toUpperCase()}const Ev=hp([pp,xv,Cp,yp,gp],"html"),Tc=hp([pp,uv,Cp,yp,gp],"svg");function Cv(e){return e.join(" ").trim()}var oa={},gu,Yh;function yv(){if(Yh)return gu;Yh=1;var e=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,r=/\n/g,a=/^\s*/,i=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,s=/^:\s*/,x=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,u=/^[;\s]*/,f=/^\s+|\s+$/g,d=`
13
+ `,h="/",E="*",p="",y="comment",C="declaration";function A(D,F){if(typeof D!="string")throw new TypeError("First argument must be a string");if(!D)return[];F=F||{};var O=1,w=1;function _(Z){var $=Z.match(r);$&&(O+=$.length);var P=Z.lastIndexOf(d);w=~P?Z.length-P:w+Z.length}function R(){var Z={line:O,column:w};return function($){return $.position=new k(Z),q(),$}}function k(Z){this.start=Z,this.end={line:O,column:w},this.source=F.source}k.prototype.content=D;function T(Z){var $=new Error(F.source+":"+O+":"+w+": "+Z);if($.reason=Z,$.filename=F.source,$.line=O,$.column=w,$.source=D,!F.silent)throw $}function S(Z){var $=Z.exec(D);if($){var P=$[0];return _(P),D=D.slice(P.length),$}}function q(){S(a)}function L(Z){var $;for(Z=Z||[];$=X();)$!==!1&&Z.push($);return Z}function X(){var Z=R();if(!(h!=D.charAt(0)||E!=D.charAt(1))){for(var $=2;p!=D.charAt($)&&(E!=D.charAt($)||h!=D.charAt($+1));)++$;if($+=2,p===D.charAt($-1))return T("End of comment missing");var P=D.slice(2,$-2);return w+=2,_(P),D=D.slice($),w+=2,Z({type:y,comment:P})}}function K(){var Z=R(),$=S(i);if($){if(X(),!S(s))return T("property missing ':'");var P=S(x),Y=Z({type:C,property:b($[0].replace(e,p)),value:P?b(P[0].replace(e,p)):p});return S(u),Y}}function ie(){var Z=[];L(Z);for(var $;$=K();)$!==!1&&(Z.push($),L(Z));return Z}return q(),ie()}function b(D){return D?D.replace(f,p):p}return gu=A,gu}var Xh;function gv(){if(Xh)return oa;Xh=1;var e=oa&&oa.__importDefault||function(i){return i&&i.__esModule?i:{default:i}};Object.defineProperty(oa,"__esModule",{value:!0}),oa.default=a;const r=e(yv());function a(i,s){let x=null;if(!i||typeof i!="string")return x;const u=(0,r.default)(i),f=typeof s=="function";return u.forEach(d=>{if(d.type!=="declaration")return;const{property:h,value:E}=d;f?s(h,E,d):E&&(x=x||{},x[h]=E)}),x}return oa}var dl={},Kh;function Bv(){if(Kh)return dl;Kh=1,Object.defineProperty(dl,"__esModule",{value:!0}),dl.camelCase=void 0;var e=/^--[a-zA-Z0-9_-]+$/,r=/-([a-z])/g,a=/^[^-]+$/,i=/^-(webkit|moz|ms|o|khtml)-/,s=/^-(ms)-/,x=function(h){return!h||a.test(h)||e.test(h)},u=function(h,E){return E.toUpperCase()},f=function(h,E){return"".concat(E,"-")},d=function(h,E){return E===void 0&&(E={}),x(h)?h:(h=h.toLowerCase(),E.reactCompat?h=h.replace(s,f):h=h.replace(i,f),h.replace(r,u))};return dl.camelCase=d,dl}var hl,Zh;function Av(){if(Zh)return hl;Zh=1;var e=hl&&hl.__importDefault||function(s){return s&&s.__esModule?s:{default:s}},r=e(gv()),a=Bv();function i(s,x){var u={};return!s||typeof s!="string"||(0,r.default)(s,function(f,d){f&&d&&(u[(0,a.camelCase)(f,x)]=d)}),u}return i.default=i,hl=i,hl}var bv=Av();const Dv=zo(bv),Bp=Ap("end"),zc=Ap("start");function Ap(e){return r;function r(a){const i=a&&a.position&&a.position[e]||{};if(typeof i.line=="number"&&i.line>0&&typeof i.column=="number"&&i.column>0)return{line:i.line,column:i.column,offset:typeof i.offset=="number"&&i.offset>-1?i.offset:void 0}}}function vv(e){const r=zc(e),a=Bp(e);if(r&&a)return{start:r,end:a}}function gl(e){return!e||typeof e!="object"?"":"position"in e||"type"in e?Jh(e.position):"start"in e||"end"in e?Jh(e):"line"in e||"column"in e?ec(e):""}function ec(e){return Wh(e&&e.line)+":"+Wh(e&&e.column)}function Jh(e){return ec(e&&e.start)+"-"+ec(e&&e.end)}function Wh(e){return e&&typeof e=="number"?e:1}class _t extends Error{constructor(r,a,i){super(),typeof a=="string"&&(i=a,a=void 0);let s="",x={},u=!1;if(a&&("line"in a&&"column"in a?x={place:a}:"start"in a&&"end"in a?x={place:a}:"type"in a?x={ancestors:[a],place:a.position}:x={...a}),typeof r=="string"?s=r:!x.cause&&r&&(u=!0,s=r.message,x.cause=r),!x.ruleId&&!x.source&&typeof i=="string"){const d=i.indexOf(":");d===-1?x.ruleId=i:(x.source=i.slice(0,d),x.ruleId=i.slice(d+1))}if(!x.place&&x.ancestors&&x.ancestors){const d=x.ancestors[x.ancestors.length-1];d&&(x.place=d.position)}const f=x.place&&"start"in x.place?x.place.start:x.place;this.ancestors=x.ancestors||void 0,this.cause=x.cause||void 0,this.column=f?f.column:void 0,this.fatal=void 0,this.file="",this.message=s,this.line=f?f.line:void 0,this.name=gl(x.place)||"1:1",this.place=x.place||void 0,this.reason=this.message,this.ruleId=x.ruleId||void 0,this.source=x.source||void 0,this.stack=u&&x.cause&&typeof x.cause.stack=="string"?x.cause.stack:"",this.actual=void 0,this.expected=void 0,this.note=void 0,this.url=void 0}}_t.prototype.file="";_t.prototype.name="";_t.prototype.reason="";_t.prototype.message="";_t.prototype.stack="";_t.prototype.column=void 0;_t.prototype.line=void 0;_t.prototype.ancestors=void 0;_t.prototype.cause=void 0;_t.prototype.fatal=void 0;_t.prototype.place=void 0;_t.prototype.ruleId=void 0;_t.prototype.source=void 0;const jc={}.hasOwnProperty,kv=new Map,Fv=/[A-Z]/g,wv=new Set(["table","tbody","thead","tfoot","tr"]),Sv=new Set(["td","th"]),bp="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function Mv(e,r){if(!r||r.Fragment===void 0)throw new TypeError("Expected `Fragment` in options");const a=r.filePath||void 0;let i;if(r.development){if(typeof r.jsxDEV!="function")throw new TypeError("Expected `jsxDEV` in options when `development: true`");i=Lv(a,r.jsxDEV)}else{if(typeof r.jsx!="function")throw new TypeError("Expected `jsx` in production options");if(typeof r.jsxs!="function")throw new TypeError("Expected `jsxs` in production options");i=Ov(a,r.jsx,r.jsxs)}const s={Fragment:r.Fragment,ancestors:[],components:r.components||{},create:i,elementAttributeNameCase:r.elementAttributeNameCase||"react",evaluater:r.createEvaluater?r.createEvaluater():void 0,filePath:a,ignoreInvalidStyle:r.ignoreInvalidStyle||!1,passKeys:r.passKeys!==!1,passNode:r.passNode||!1,schema:r.space==="svg"?Tc:Ev,stylePropertyNameCase:r.stylePropertyNameCase||"dom",tableCellAlignToStyle:r.tableCellAlignToStyle!==!1},x=Dp(s,e,void 0);return x&&typeof x!="string"?x:s.create(e,s.Fragment,{children:x||void 0},void 0)}function Dp(e,r,a){if(r.type==="element")return Nv(e,r,a);if(r.type==="mdxFlowExpression"||r.type==="mdxTextExpression")return _v(e,r);if(r.type==="mdxJsxFlowElement"||r.type==="mdxJsxTextElement")return zv(e,r,a);if(r.type==="mdxjsEsm")return Tv(e,r);if(r.type==="root")return jv(e,r,a);if(r.type==="text")return Rv(e,r)}function Nv(e,r,a){const i=e.schema;let s=i;r.tagName.toLowerCase()==="svg"&&i.space==="html"&&(s=Tc,e.schema=s),e.ancestors.push(r);const x=kp(e,r.tagName,!1),u=Pv(e,r);let f=Oc(e,r);return wv.has(r.tagName)&&(f=f.filter(function(d){return typeof d=="string"?!ov(d):!0})),vp(e,u,x,r),Rc(u,f),e.ancestors.pop(),e.schema=i,e.create(r,x,u,a)}function _v(e,r){if(r.data&&r.data.estree&&e.evaluater){const i=r.data.estree.body[0];return i.type,e.evaluater.evaluateExpression(i.expression)}Sl(e,r.position)}function Tv(e,r){if(r.data&&r.data.estree&&e.evaluater)return e.evaluater.evaluateProgram(r.data.estree);Sl(e,r.position)}function zv(e,r,a){const i=e.schema;let s=i;r.name==="svg"&&i.space==="html"&&(s=Tc,e.schema=s),e.ancestors.push(r);const x=r.name===null?e.Fragment:kp(e,r.name,!0),u=Uv(e,r),f=Oc(e,r);return vp(e,u,x,r),Rc(u,f),e.ancestors.pop(),e.schema=i,e.create(r,x,u,a)}function jv(e,r,a){const i={};return Rc(i,Oc(e,r)),e.create(r,e.Fragment,i,a)}function Rv(e,r){return r.value}function vp(e,r,a,i){typeof a!="string"&&a!==e.Fragment&&e.passNode&&(r.node=i)}function Rc(e,r){if(r.length>0){const a=r.length>1?r:r[0];a&&(e.children=a)}}function Ov(e,r,a){return i;function i(s,x,u,f){const h=Array.isArray(u.children)?a:r;return f?h(x,u,f):h(x,u)}}function Lv(e,r){return a;function a(i,s,x,u){const f=Array.isArray(x.children),d=zc(i);return r(s,x,u,f,{columnNumber:d?d.column-1:void 0,fileName:e,lineNumber:d?d.line:void 0},void 0)}}function Pv(e,r){const a={};let i,s;for(s in r.properties)if(s!=="children"&&jc.call(r.properties,s)){const x=Hv(e,s,r.properties[s]);if(x){const[u,f]=x;e.tableCellAlignToStyle&&u==="align"&&typeof f=="string"&&Sv.has(r.tagName)?i=f:a[u]=f}}if(i){const x=a.style||(a.style={});x[e.stylePropertyNameCase==="css"?"text-align":"textAlign"]=i}return a}function Uv(e,r){const a={};for(const i of r.attributes)if(i.type==="mdxJsxExpressionAttribute")if(i.data&&i.data.estree&&e.evaluater){const x=i.data.estree.body[0];x.type;const u=x.expression;u.type;const f=u.properties[0];f.type,Object.assign(a,e.evaluater.evaluateExpression(f.argument))}else Sl(e,r.position);else{const s=i.name;let x;if(i.value&&typeof i.value=="object")if(i.value.data&&i.value.data.estree&&e.evaluater){const f=i.value.data.estree.body[0];f.type,x=e.evaluater.evaluateExpression(f.expression)}else Sl(e,r.position);else x=i.value===null?!0:i.value;a[s]=x}return a}function Oc(e,r){const a=[];let i=-1;const s=e.passKeys?new Map:kv;for(;++i<r.children.length;){const x=r.children[i];let u;if(e.passKeys){const d=x.type==="element"?x.tagName:x.type==="mdxJsxFlowElement"||x.type==="mdxJsxTextElement"?x.name:void 0;if(d){const h=s.get(d)||0;u=d+"-"+h,s.set(d,h+1)}}const f=Dp(e,x,u);f!==void 0&&a.push(f)}return a}function Hv(e,r,a){const i=hv(e.schema,r);if(!(a==null||typeof a=="number"&&Number.isNaN(a))){if(Array.isArray(a)&&(a=i.commaSeparated?nv(a):Cv(a)),i.property==="style"){let s=typeof a=="object"?a:qv(e,String(a));return e.stylePropertyNameCase==="css"&&(s=Iv(s)),["style",s]}return[e.elementAttributeNameCase==="react"&&i.space?cv[i.property]||i.property:i.attribute,a]}}function qv(e,r){try{return Dv(r,{reactCompat:!0})}catch(a){if(e.ignoreInvalidStyle)return{};const i=a,s=new _t("Cannot parse `style` attribute",{ancestors:e.ancestors,cause:i,ruleId:"style",source:"hast-util-to-jsx-runtime"});throw s.file=e.filePath||void 0,s.url=bp+"#cannot-parse-style-attribute",s}}function kp(e,r,a){let i;if(!a)i={type:"Literal",value:r};else if(r.includes(".")){const s=r.split(".");let x=-1,u;for(;++x<s.length;){const f=Vh(s[x])?{type:"Identifier",name:s[x]}:{type:"Literal",value:s[x]};u=u?{type:"MemberExpression",object:u,property:f,computed:!!(x&&f.type==="Literal"),optional:!1}:f}i=u}else i=Vh(r)&&!/^[a-z]/.test(r)?{type:"Identifier",name:r}:{type:"Literal",value:r};if(i.type==="Literal"){const s=i.value;return jc.call(e.components,s)?e.components[s]:s}if(e.evaluater)return e.evaluater.evaluateExpression(i);Sl(e)}function Sl(e,r){const a=new _t("Cannot handle MDX estrees without `createEvaluater`",{ancestors:e.ancestors,place:r,ruleId:"mdx-estree",source:"hast-util-to-jsx-runtime"});throw a.file=e.filePath||void 0,a.url=bp+"#cannot-handle-mdx-estrees-without-createevaluater",a}function Iv(e){const r={};let a;for(a in e)jc.call(e,a)&&(r[Vv(a)]=e[a]);return r}function Vv(e){let r=e.replace(Fv,$v);return r.slice(0,3)==="ms-"&&(r="-"+r),r}function $v(e){return"-"+e.toLowerCase()}const Bu={action:["form"],cite:["blockquote","del","ins","q"],data:["object"],formAction:["button","input"],href:["a","area","base","link"],icon:["menuitem"],itemId:null,manifest:["html"],ping:["a","area"],poster:["video"],src:["audio","embed","iframe","img","input","script","source","track","video"]},Gv={};function Lc(e,r){const a=Gv,i=typeof a.includeImageAlt=="boolean"?a.includeImageAlt:!0,s=typeof a.includeHtml=="boolean"?a.includeHtml:!0;return Fp(e,i,s)}function Fp(e,r,a){if(Qv(e)){if("value"in e)return e.type==="html"&&!a?"":e.value;if(r&&"alt"in e&&e.alt)return e.alt;if("children"in e)return e8(e.children,r,a)}return Array.isArray(e)?e8(e,r,a):""}function e8(e,r,a){const i=[];let s=-1;for(;++s<e.length;)i[s]=Fp(e[s],r,a);return i.join("")}function Qv(e){return!!(e&&typeof e=="object")}const t8=document.createElement("i");function Pc(e){const r="&"+e+";";t8.innerHTML=r;const a=t8.textContent;return a.charCodeAt(a.length-1)===59&&e!=="semi"||a===r?!1:a}function un(e,r,a,i){const s=e.length;let x=0,u;if(r<0?r=-r>s?0:s+r:r=r>s?s:r,a=a>0?a:0,i.length<1e4)u=Array.from(i),u.unshift(r,a),e.splice(...u);else for(a&&e.splice(r,a);x<i.length;)u=i.slice(x,x+1e4),u.unshift(r,0),e.splice(...u),x+=1e4,r+=1e4}function Dn(e,r){return e.length>0?(un(e,e.length,0,r),e):r}const n8={}.hasOwnProperty;function wp(e){const r={};let a=-1;for(;++a<e.length;)Yv(r,e[a]);return r}function Yv(e,r){let a;for(a in r){const s=(n8.call(e,a)?e[a]:void 0)||(e[a]={}),x=r[a];let u;if(x)for(u in x){n8.call(s,u)||(s[u]=[]);const f=x[u];Xv(s[u],Array.isArray(f)?f:f?[f]:[])}}}function Xv(e,r){let a=-1;const i=[];for(;++a<r.length;)(r[a].add==="after"?e:i).push(r[a]);un(e,0,0,i)}function Sp(e,r){const a=Number.parseInt(e,r);return a<9||a===11||a>13&&a<32||a>126&&a<160||a>55295&&a<57344||a>64975&&a<65008||(a&65535)===65535||(a&65535)===65534||a>1114111?"�":String.fromCodePoint(a)}function Tn(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const Ot=$0(/[A-Za-z]/),Nt=$0(/[\dA-Za-z]/),Kv=$0(/[#-'*+\--9=?A-Z^-~]/);function Mo(e){return e!==null&&(e<32||e===127)}const tc=$0(/\d/),Zv=$0(/[\dA-Fa-f]/),Jv=$0(/[!-/:-@[-`{-~]/);function ge(e){return e!==null&&e<-2}function We(e){return e!==null&&(e<0||e===32)}function ze(e){return e===-2||e===-1||e===32}const Uo=$0(new RegExp("\\p{P}|\\p{S}","u")),Er=$0(/\s/);function $0(e){return r;function r(a){return a!==null&&a>-1&&e.test(String.fromCharCode(a))}}function ma(e){const r=[];let a=-1,i=0,s=0;for(;++a<e.length;){const x=e.charCodeAt(a);let u="";if(x===37&&Nt(e.charCodeAt(a+1))&&Nt(e.charCodeAt(a+2)))s=2;else if(x<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(x))||(u=String.fromCharCode(x));else if(x>55295&&x<57344){const f=e.charCodeAt(a+1);x<56320&&f>56319&&f<57344?(u=String.fromCharCode(x,f),s=1):u="�"}else u=String.fromCharCode(x);u&&(r.push(e.slice(i,a),encodeURIComponent(u)),i=a+s+1,u=""),s&&(a+=s,s=0)}return r.join("")+e.slice(i)}function Le(e,r,a,i){const s=i?i-1:Number.POSITIVE_INFINITY;let x=0;return u;function u(d){return ze(d)?(e.enter(a),f(d)):r(d)}function f(d){return ze(d)&&x++<s?(e.consume(d),f):(e.exit(a),r(d))}}const Wv={tokenize:ek};function ek(e){const r=e.attempt(this.parser.constructs.contentInitial,i,s);let a;return r;function i(f){if(f===null){e.consume(f);return}return e.enter("lineEnding"),e.consume(f),e.exit("lineEnding"),Le(e,r,"linePrefix")}function s(f){return e.enter("paragraph"),x(f)}function x(f){const d=e.enter("chunkText",{contentType:"text",previous:a});return a&&(a.next=d),a=d,u(f)}function u(f){if(f===null){e.exit("chunkText"),e.exit("paragraph"),e.consume(f);return}return ge(f)?(e.consume(f),e.exit("chunkText"),x):(e.consume(f),u)}}const tk={tokenize:nk},r8={tokenize:rk};function nk(e){const r=this,a=[];let i=0,s,x,u;return f;function f(w){if(i<a.length){const _=a[i];return r.containerState=_[1],e.attempt(_[0].continuation,d,h)(w)}return h(w)}function d(w){if(i++,r.containerState._closeFlow){r.containerState._closeFlow=void 0,s&&O();const _=r.events.length;let R=_,k;for(;R--;)if(r.events[R][0]==="exit"&&r.events[R][1].type==="chunkFlow"){k=r.events[R][1].end;break}F(i);let T=_;for(;T<r.events.length;)r.events[T][1].end={...k},T++;return un(r.events,R+1,0,r.events.slice(_)),r.events.length=T,h(w)}return f(w)}function h(w){if(i===a.length){if(!s)return y(w);if(s.currentConstruct&&s.currentConstruct.concrete)return A(w);r.interrupt=!!(s.currentConstruct&&!s._gfmTableDynamicInterruptHack)}return r.containerState={},e.check(r8,E,p)(w)}function E(w){return s&&O(),F(i),y(w)}function p(w){return r.parser.lazy[r.now().line]=i!==a.length,u=r.now().offset,A(w)}function y(w){return r.containerState={},e.attempt(r8,C,A)(w)}function C(w){return i++,a.push([r.currentConstruct,r.containerState]),y(w)}function A(w){if(w===null){s&&O(),F(0),e.consume(w);return}return s=s||r.parser.flow(r.now()),e.enter("chunkFlow",{_tokenizer:s,contentType:"flow",previous:x}),b(w)}function b(w){if(w===null){D(e.exit("chunkFlow"),!0),F(0),e.consume(w);return}return ge(w)?(e.consume(w),D(e.exit("chunkFlow")),i=0,r.interrupt=void 0,f):(e.consume(w),b)}function D(w,_){const R=r.sliceStream(w);if(_&&R.push(null),w.previous=x,x&&(x.next=w),x=w,s.defineSkip(w.start),s.write(R),r.parser.lazy[w.start.line]){let k=s.events.length;for(;k--;)if(s.events[k][1].start.offset<u&&(!s.events[k][1].end||s.events[k][1].end.offset>u))return;const T=r.events.length;let S=T,q,L;for(;S--;)if(r.events[S][0]==="exit"&&r.events[S][1].type==="chunkFlow"){if(q){L=r.events[S][1].end;break}q=!0}for(F(i),k=T;k<r.events.length;)r.events[k][1].end={...L},k++;un(r.events,S+1,0,r.events.slice(T)),r.events.length=k}}function F(w){let _=a.length;for(;_-- >w;){const R=a[_];r.containerState=R[1],R[0].exit.call(r,e)}a.length=w}function O(){s.write([null]),x=void 0,s=void 0,r.containerState._closeFlow=void 0}}function rk(e,r,a){return Le(e,e.attempt(this.parser.constructs.document,r,a),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function ua(e){if(e===null||We(e)||Er(e))return 1;if(Uo(e))return 2}function Ho(e,r,a){const i=[];let s=-1;for(;++s<e.length;){const x=e[s].resolveAll;x&&!i.includes(x)&&(r=x(r,a),i.push(x))}return r}const nc={name:"attention",resolveAll:ak,tokenize:lk};function ak(e,r){let a=-1,i,s,x,u,f,d,h,E;for(;++a<e.length;)if(e[a][0]==="enter"&&e[a][1].type==="attentionSequence"&&e[a][1]._close){for(i=a;i--;)if(e[i][0]==="exit"&&e[i][1].type==="attentionSequence"&&e[i][1]._open&&r.sliceSerialize(e[i][1]).charCodeAt(0)===r.sliceSerialize(e[a][1]).charCodeAt(0)){if((e[i][1]._close||e[a][1]._open)&&(e[a][1].end.offset-e[a][1].start.offset)%3&&!((e[i][1].end.offset-e[i][1].start.offset+e[a][1].end.offset-e[a][1].start.offset)%3))continue;d=e[i][1].end.offset-e[i][1].start.offset>1&&e[a][1].end.offset-e[a][1].start.offset>1?2:1;const p={...e[i][1].end},y={...e[a][1].start};a8(p,-d),a8(y,d),u={type:d>1?"strongSequence":"emphasisSequence",start:p,end:{...e[i][1].end}},f={type:d>1?"strongSequence":"emphasisSequence",start:{...e[a][1].start},end:y},x={type:d>1?"strongText":"emphasisText",start:{...e[i][1].end},end:{...e[a][1].start}},s={type:d>1?"strong":"emphasis",start:{...u.start},end:{...f.end}},e[i][1].end={...u.start},e[a][1].start={...f.end},h=[],e[i][1].end.offset-e[i][1].start.offset&&(h=Dn(h,[["enter",e[i][1],r],["exit",e[i][1],r]])),h=Dn(h,[["enter",s,r],["enter",u,r],["exit",u,r],["enter",x,r]]),h=Dn(h,Ho(r.parser.constructs.insideSpan.null,e.slice(i+1,a),r)),h=Dn(h,[["exit",x,r],["enter",f,r],["exit",f,r],["exit",s,r]]),e[a][1].end.offset-e[a][1].start.offset?(E=2,h=Dn(h,[["enter",e[a][1],r],["exit",e[a][1],r]])):E=0,un(e,i-1,a-i+3,h),a=i+h.length-E-2;break}}for(a=-1;++a<e.length;)e[a][1].type==="attentionSequence"&&(e[a][1].type="data");return e}function lk(e,r){const a=this.parser.constructs.attentionMarkers.null,i=this.previous,s=ua(i);let x;return u;function u(d){return x=d,e.enter("attentionSequence"),f(d)}function f(d){if(d===x)return e.consume(d),f;const h=e.exit("attentionSequence"),E=ua(d),p=!E||E===2&&s||a.includes(d),y=!s||s===2&&E||a.includes(i);return h._open=!!(x===42?p:p&&(s||!y)),h._close=!!(x===42?y:y&&(E||!p)),r(d)}}function a8(e,r){e.column+=r,e.offset+=r,e._bufferIndex+=r}const ik={name:"autolink",tokenize:ok};function ok(e,r,a){let i=0;return s;function s(C){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(C),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),x}function x(C){return Ot(C)?(e.consume(C),u):C===64?a(C):h(C)}function u(C){return C===43||C===45||C===46||Nt(C)?(i=1,f(C)):h(C)}function f(C){return C===58?(e.consume(C),i=0,d):(C===43||C===45||C===46||Nt(C))&&i++<32?(e.consume(C),f):(i=0,h(C))}function d(C){return C===62?(e.exit("autolinkProtocol"),e.enter("autolinkMarker"),e.consume(C),e.exit("autolinkMarker"),e.exit("autolink"),r):C===null||C===32||C===60||Mo(C)?a(C):(e.consume(C),d)}function h(C){return C===64?(e.consume(C),E):Kv(C)?(e.consume(C),h):a(C)}function E(C){return Nt(C)?p(C):a(C)}function p(C){return C===46?(e.consume(C),i=0,E):C===62?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(C),e.exit("autolinkMarker"),e.exit("autolink"),r):y(C)}function y(C){if((C===45||Nt(C))&&i++<63){const A=C===45?y:p;return e.consume(C),A}return a(C)}}const Ll={partial:!0,tokenize:sk};function sk(e,r,a){return i;function i(x){return ze(x)?Le(e,s,"linePrefix")(x):s(x)}function s(x){return x===null||ge(x)?r(x):a(x)}}const Mp={continuation:{tokenize:uk},exit:ck,name:"blockQuote",tokenize:xk};function xk(e,r,a){const i=this;return s;function s(u){if(u===62){const f=i.containerState;return f.open||(e.enter("blockQuote",{_container:!0}),f.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(u),e.exit("blockQuoteMarker"),x}return a(u)}function x(u){return ze(u)?(e.enter("blockQuotePrefixWhitespace"),e.consume(u),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),r):(e.exit("blockQuotePrefix"),r(u))}}function uk(e,r,a){const i=this;return s;function s(u){return ze(u)?Le(e,x,"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(u):x(u)}function x(u){return e.attempt(Mp,r,a)(u)}}function ck(e){e.exit("blockQuote")}const Np={name:"characterEscape",tokenize:fk};function fk(e,r,a){return i;function i(x){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(x),e.exit("escapeMarker"),s}function s(x){return Jv(x)?(e.enter("characterEscapeValue"),e.consume(x),e.exit("characterEscapeValue"),e.exit("characterEscape"),r):a(x)}}const _p={name:"characterReference",tokenize:dk};function dk(e,r,a){const i=this;let s=0,x,u;return f;function f(p){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(p),e.exit("characterReferenceMarker"),d}function d(p){return p===35?(e.enter("characterReferenceMarkerNumeric"),e.consume(p),e.exit("characterReferenceMarkerNumeric"),h):(e.enter("characterReferenceValue"),x=31,u=Nt,E(p))}function h(p){return p===88||p===120?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(p),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),x=6,u=Zv,E):(e.enter("characterReferenceValue"),x=7,u=tc,E(p))}function E(p){if(p===59&&s){const y=e.exit("characterReferenceValue");return u===Nt&&!Pc(i.sliceSerialize(y))?a(p):(e.enter("characterReferenceMarker"),e.consume(p),e.exit("characterReferenceMarker"),e.exit("characterReference"),r)}return u(p)&&s++<x?(e.consume(p),E):a(p)}}const l8={partial:!0,tokenize:pk},i8={concrete:!0,name:"codeFenced",tokenize:hk};function hk(e,r,a){const i=this,s={partial:!0,tokenize:R};let x=0,u=0,f;return d;function d(k){return h(k)}function h(k){const T=i.events[i.events.length-1];return x=T&&T[1].type==="linePrefix"?T[2].sliceSerialize(T[1],!0).length:0,f=k,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),E(k)}function E(k){return k===f?(u++,e.consume(k),E):u<3?a(k):(e.exit("codeFencedFenceSequence"),ze(k)?Le(e,p,"whitespace")(k):p(k))}function p(k){return k===null||ge(k)?(e.exit("codeFencedFence"),i.interrupt?r(k):e.check(l8,b,_)(k)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),y(k))}function y(k){return k===null||ge(k)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),p(k)):ze(k)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),Le(e,C,"whitespace")(k)):k===96&&k===f?a(k):(e.consume(k),y)}function C(k){return k===null||ge(k)?p(k):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),A(k))}function A(k){return k===null||ge(k)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),p(k)):k===96&&k===f?a(k):(e.consume(k),A)}function b(k){return e.attempt(s,_,D)(k)}function D(k){return e.enter("lineEnding"),e.consume(k),e.exit("lineEnding"),F}function F(k){return x>0&&ze(k)?Le(e,O,"linePrefix",x+1)(k):O(k)}function O(k){return k===null||ge(k)?e.check(l8,b,_)(k):(e.enter("codeFlowValue"),w(k))}function w(k){return k===null||ge(k)?(e.exit("codeFlowValue"),O(k)):(e.consume(k),w)}function _(k){return e.exit("codeFenced"),r(k)}function R(k,T,S){let q=0;return L;function L($){return k.enter("lineEnding"),k.consume($),k.exit("lineEnding"),X}function X($){return k.enter("codeFencedFence"),ze($)?Le(k,K,"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4)($):K($)}function K($){return $===f?(k.enter("codeFencedFenceSequence"),ie($)):S($)}function ie($){return $===f?(q++,k.consume($),ie):q>=u?(k.exit("codeFencedFenceSequence"),ze($)?Le(k,Z,"whitespace")($):Z($)):S($)}function Z($){return $===null||ge($)?(k.exit("codeFencedFence"),T($)):S($)}}}function pk(e,r,a){const i=this;return s;function s(u){return u===null?a(u):(e.enter("lineEnding"),e.consume(u),e.exit("lineEnding"),x)}function x(u){return i.parser.lazy[i.now().line]?a(u):r(u)}}const Au={name:"codeIndented",tokenize:Ek},mk={partial:!0,tokenize:Ck};function Ek(e,r,a){const i=this;return s;function s(h){return e.enter("codeIndented"),Le(e,x,"linePrefix",5)(h)}function x(h){const E=i.events[i.events.length-1];return E&&E[1].type==="linePrefix"&&E[2].sliceSerialize(E[1],!0).length>=4?u(h):a(h)}function u(h){return h===null?d(h):ge(h)?e.attempt(mk,u,d)(h):(e.enter("codeFlowValue"),f(h))}function f(h){return h===null||ge(h)?(e.exit("codeFlowValue"),u(h)):(e.consume(h),f)}function d(h){return e.exit("codeIndented"),r(h)}}function Ck(e,r,a){const i=this;return s;function s(u){return i.parser.lazy[i.now().line]?a(u):ge(u)?(e.enter("lineEnding"),e.consume(u),e.exit("lineEnding"),s):Le(e,x,"linePrefix",5)(u)}function x(u){const f=i.events[i.events.length-1];return f&&f[1].type==="linePrefix"&&f[2].sliceSerialize(f[1],!0).length>=4?r(u):ge(u)?s(u):a(u)}}const yk={name:"codeText",previous:Bk,resolve:gk,tokenize:Ak};function gk(e){let r=e.length-4,a=3,i,s;if((e[a][1].type==="lineEnding"||e[a][1].type==="space")&&(e[r][1].type==="lineEnding"||e[r][1].type==="space")){for(i=a;++i<r;)if(e[i][1].type==="codeTextData"){e[a][1].type="codeTextPadding",e[r][1].type="codeTextPadding",a+=2,r-=2;break}}for(i=a-1,r++;++i<=r;)s===void 0?i!==r&&e[i][1].type!=="lineEnding"&&(s=i):(i===r||e[i][1].type==="lineEnding")&&(e[s][1].type="codeTextData",i!==s+2&&(e[s][1].end=e[i-1][1].end,e.splice(s+2,i-s-2),r-=i-s-2,i=s+2),s=void 0);return e}function Bk(e){return e!==96||this.events[this.events.length-1][1].type==="characterEscape"}function Ak(e,r,a){let i=0,s,x;return u;function u(p){return e.enter("codeText"),e.enter("codeTextSequence"),f(p)}function f(p){return p===96?(e.consume(p),i++,f):(e.exit("codeTextSequence"),d(p))}function d(p){return p===null?a(p):p===32?(e.enter("space"),e.consume(p),e.exit("space"),d):p===96?(x=e.enter("codeTextSequence"),s=0,E(p)):ge(p)?(e.enter("lineEnding"),e.consume(p),e.exit("lineEnding"),d):(e.enter("codeTextData"),h(p))}function h(p){return p===null||p===32||p===96||ge(p)?(e.exit("codeTextData"),d(p)):(e.consume(p),h)}function E(p){return p===96?(e.consume(p),s++,E):s===i?(e.exit("codeTextSequence"),e.exit("codeText"),r(p)):(x.type="codeTextData",h(p))}}class bk{constructor(r){this.left=r?[...r]:[],this.right=[]}get(r){if(r<0||r>=this.left.length+this.right.length)throw new RangeError("Cannot access index `"+r+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return r<this.left.length?this.left[r]:this.right[this.right.length-r+this.left.length-1]}get length(){return this.left.length+this.right.length}shift(){return this.setCursor(0),this.right.pop()}slice(r,a){const i=a??Number.POSITIVE_INFINITY;return i<this.left.length?this.left.slice(r,i):r>this.left.length?this.right.slice(this.right.length-i+this.left.length,this.right.length-r+this.left.length).reverse():this.left.slice(r).concat(this.right.slice(this.right.length-i+this.left.length).reverse())}splice(r,a,i){const s=a||0;this.setCursor(Math.trunc(r));const x=this.right.splice(this.right.length-s,Number.POSITIVE_INFINITY);return i&&pl(this.left,i),x.reverse()}pop(){return this.setCursor(Number.POSITIVE_INFINITY),this.left.pop()}push(r){this.setCursor(Number.POSITIVE_INFINITY),this.left.push(r)}pushMany(r){this.setCursor(Number.POSITIVE_INFINITY),pl(this.left,r)}unshift(r){this.setCursor(0),this.right.push(r)}unshiftMany(r){this.setCursor(0),pl(this.right,r.reverse())}setCursor(r){if(!(r===this.left.length||r>this.left.length&&this.right.length===0||r<0&&this.left.length===0))if(r<this.left.length){const a=this.left.splice(r,Number.POSITIVE_INFINITY);pl(this.right,a.reverse())}else{const a=this.right.splice(this.left.length+this.right.length-r,Number.POSITIVE_INFINITY);pl(this.left,a.reverse())}}}function pl(e,r){let a=0;if(r.length<1e4)e.push(...r);else for(;a<r.length;)e.push(...r.slice(a,a+1e4)),a+=1e4}function Tp(e){const r={};let a=-1,i,s,x,u,f,d,h;const E=new bk(e);for(;++a<E.length;){for(;a in r;)a=r[a];if(i=E.get(a),a&&i[1].type==="chunkFlow"&&E.get(a-1)[1].type==="listItemPrefix"&&(d=i[1]._tokenizer.events,x=0,x<d.length&&d[x][1].type==="lineEndingBlank"&&(x+=2),x<d.length&&d[x][1].type==="content"))for(;++x<d.length&&d[x][1].type!=="content";)d[x][1].type==="chunkText"&&(d[x][1]._isInFirstContentOfListItem=!0,x++);if(i[0]==="enter")i[1].contentType&&(Object.assign(r,Dk(E,a)),a=r[a],h=!0);else if(i[1]._container){for(x=a,s=void 0;x--;)if(u=E.get(x),u[1].type==="lineEnding"||u[1].type==="lineEndingBlank")u[0]==="enter"&&(s&&(E.get(s)[1].type="lineEndingBlank"),u[1].type="lineEnding",s=x);else if(!(u[1].type==="linePrefix"||u[1].type==="listItemIndent"))break;s&&(i[1].end={...E.get(s)[1].start},f=E.slice(s,a),f.unshift(i),E.splice(s,a-s+1,f))}}return un(e,0,Number.POSITIVE_INFINITY,E.slice(0)),!h}function Dk(e,r){const a=e.get(r)[1],i=e.get(r)[2];let s=r-1;const x=[];let u=a._tokenizer;u||(u=i.parser[a.contentType](a.start),a._contentTypeTextTrailing&&(u._contentTypeTextTrailing=!0));const f=u.events,d=[],h={};let E,p,y=-1,C=a,A=0,b=0;const D=[b];for(;C;){for(;e.get(++s)[1]!==C;);x.push(s),C._tokenizer||(E=i.sliceStream(C),C.next||E.push(null),p&&u.defineSkip(C.start),C._isInFirstContentOfListItem&&(u._gfmTasklistFirstContentOfListItem=!0),u.write(E),C._isInFirstContentOfListItem&&(u._gfmTasklistFirstContentOfListItem=void 0)),p=C,C=C.next}for(C=a;++y<f.length;)f[y][0]==="exit"&&f[y-1][0]==="enter"&&f[y][1].type===f[y-1][1].type&&f[y][1].start.line!==f[y][1].end.line&&(b=y+1,D.push(b),C._tokenizer=void 0,C.previous=void 0,C=C.next);for(u.events=[],C?(C._tokenizer=void 0,C.previous=void 0):D.pop(),y=D.length;y--;){const F=f.slice(D[y],D[y+1]),O=x.pop();d.push([O,O+F.length-1]),e.splice(O,2,F)}for(d.reverse(),y=-1;++y<d.length;)h[A+d[y][0]]=A+d[y][1],A+=d[y][1]-d[y][0]-1;return h}const vk={resolve:Fk,tokenize:wk},kk={partial:!0,tokenize:Sk};function Fk(e){return Tp(e),e}function wk(e,r){let a;return i;function i(f){return e.enter("content"),a=e.enter("chunkContent",{contentType:"content"}),s(f)}function s(f){return f===null?x(f):ge(f)?e.check(kk,u,x)(f):(e.consume(f),s)}function x(f){return e.exit("chunkContent"),e.exit("content"),r(f)}function u(f){return e.consume(f),e.exit("chunkContent"),a.next=e.enter("chunkContent",{contentType:"content",previous:a}),a=a.next,s}}function Sk(e,r,a){const i=this;return s;function s(u){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(u),e.exit("lineEnding"),Le(e,x,"linePrefix")}function x(u){if(u===null||ge(u))return a(u);const f=i.events[i.events.length-1];return!i.parser.constructs.disable.null.includes("codeIndented")&&f&&f[1].type==="linePrefix"&&f[2].sliceSerialize(f[1],!0).length>=4?r(u):e.interrupt(i.parser.constructs.flow,a,r)(u)}}function zp(e,r,a,i,s,x,u,f,d){const h=d||Number.POSITIVE_INFINITY;let E=0;return p;function p(F){return F===60?(e.enter(i),e.enter(s),e.enter(x),e.consume(F),e.exit(x),y):F===null||F===32||F===41||Mo(F)?a(F):(e.enter(i),e.enter(u),e.enter(f),e.enter("chunkString",{contentType:"string"}),b(F))}function y(F){return F===62?(e.enter(x),e.consume(F),e.exit(x),e.exit(s),e.exit(i),r):(e.enter(f),e.enter("chunkString",{contentType:"string"}),C(F))}function C(F){return F===62?(e.exit("chunkString"),e.exit(f),y(F)):F===null||F===60||ge(F)?a(F):(e.consume(F),F===92?A:C)}function A(F){return F===60||F===62||F===92?(e.consume(F),C):C(F)}function b(F){return!E&&(F===null||F===41||We(F))?(e.exit("chunkString"),e.exit(f),e.exit(u),e.exit(i),r(F)):E<h&&F===40?(e.consume(F),E++,b):F===41?(e.consume(F),E--,b):F===null||F===32||F===40||Mo(F)?a(F):(e.consume(F),F===92?D:b)}function D(F){return F===40||F===41||F===92?(e.consume(F),b):b(F)}}function jp(e,r,a,i,s,x){const u=this;let f=0,d;return h;function h(C){return e.enter(i),e.enter(s),e.consume(C),e.exit(s),e.enter(x),E}function E(C){return f>999||C===null||C===91||C===93&&!d||C===94&&!f&&"_hiddenFootnoteSupport"in u.parser.constructs?a(C):C===93?(e.exit(x),e.enter(s),e.consume(C),e.exit(s),e.exit(i),r):ge(C)?(e.enter("lineEnding"),e.consume(C),e.exit("lineEnding"),E):(e.enter("chunkString",{contentType:"string"}),p(C))}function p(C){return C===null||C===91||C===93||ge(C)||f++>999?(e.exit("chunkString"),E(C)):(e.consume(C),d||(d=!ze(C)),C===92?y:p)}function y(C){return C===91||C===92||C===93?(e.consume(C),f++,p):p(C)}}function Rp(e,r,a,i,s,x){let u;return f;function f(y){return y===34||y===39||y===40?(e.enter(i),e.enter(s),e.consume(y),e.exit(s),u=y===40?41:y,d):a(y)}function d(y){return y===u?(e.enter(s),e.consume(y),e.exit(s),e.exit(i),r):(e.enter(x),h(y))}function h(y){return y===u?(e.exit(x),d(u)):y===null?a(y):ge(y)?(e.enter("lineEnding"),e.consume(y),e.exit("lineEnding"),Le(e,h,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),E(y))}function E(y){return y===u||y===null||ge(y)?(e.exit("chunkString"),h(y)):(e.consume(y),y===92?p:E)}function p(y){return y===u||y===92?(e.consume(y),E):E(y)}}function Bl(e,r){let a;return i;function i(s){return ge(s)?(e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),a=!0,i):ze(s)?Le(e,i,a?"linePrefix":"lineSuffix")(s):r(s)}}const Mk={name:"definition",tokenize:_k},Nk={partial:!0,tokenize:Tk};function _k(e,r,a){const i=this;let s;return x;function x(C){return e.enter("definition"),u(C)}function u(C){return jp.call(i,e,f,a,"definitionLabel","definitionLabelMarker","definitionLabelString")(C)}function f(C){return s=Tn(i.sliceSerialize(i.events[i.events.length-1][1]).slice(1,-1)),C===58?(e.enter("definitionMarker"),e.consume(C),e.exit("definitionMarker"),d):a(C)}function d(C){return We(C)?Bl(e,h)(C):h(C)}function h(C){return zp(e,E,a,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(C)}function E(C){return e.attempt(Nk,p,p)(C)}function p(C){return ze(C)?Le(e,y,"whitespace")(C):y(C)}function y(C){return C===null||ge(C)?(e.exit("definition"),i.parser.defined.push(s),r(C)):a(C)}}function Tk(e,r,a){return i;function i(f){return We(f)?Bl(e,s)(f):a(f)}function s(f){return Rp(e,x,a,"definitionTitle","definitionTitleMarker","definitionTitleString")(f)}function x(f){return ze(f)?Le(e,u,"whitespace")(f):u(f)}function u(f){return f===null||ge(f)?r(f):a(f)}}const zk={name:"hardBreakEscape",tokenize:jk};function jk(e,r,a){return i;function i(x){return e.enter("hardBreakEscape"),e.consume(x),s}function s(x){return ge(x)?(e.exit("hardBreakEscape"),r(x)):a(x)}}const Rk={name:"headingAtx",resolve:Ok,tokenize:Lk};function Ok(e,r){let a=e.length-2,i=3,s,x;return e[i][1].type==="whitespace"&&(i+=2),a-2>i&&e[a][1].type==="whitespace"&&(a-=2),e[a][1].type==="atxHeadingSequence"&&(i===a-1||a-4>i&&e[a-2][1].type==="whitespace")&&(a-=i+1===a?2:4),a>i&&(s={type:"atxHeadingText",start:e[i][1].start,end:e[a][1].end},x={type:"chunkText",start:e[i][1].start,end:e[a][1].end,contentType:"text"},un(e,i,a-i+1,[["enter",s,r],["enter",x,r],["exit",x,r],["exit",s,r]])),e}function Lk(e,r,a){let i=0;return s;function s(E){return e.enter("atxHeading"),x(E)}function x(E){return e.enter("atxHeadingSequence"),u(E)}function u(E){return E===35&&i++<6?(e.consume(E),u):E===null||We(E)?(e.exit("atxHeadingSequence"),f(E)):a(E)}function f(E){return E===35?(e.enter("atxHeadingSequence"),d(E)):E===null||ge(E)?(e.exit("atxHeading"),r(E)):ze(E)?Le(e,f,"whitespace")(E):(e.enter("atxHeadingText"),h(E))}function d(E){return E===35?(e.consume(E),d):(e.exit("atxHeadingSequence"),f(E))}function h(E){return E===null||E===35||We(E)?(e.exit("atxHeadingText"),f(E)):(e.consume(E),h)}}const Pk=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],o8=["pre","script","style","textarea"],Uk={concrete:!0,name:"htmlFlow",resolveTo:Ik,tokenize:Vk},Hk={partial:!0,tokenize:Gk},qk={partial:!0,tokenize:$k};function Ik(e){let r=e.length;for(;r--&&!(e[r][0]==="enter"&&e[r][1].type==="htmlFlow"););return r>1&&e[r-2][1].type==="linePrefix"&&(e[r][1].start=e[r-2][1].start,e[r+1][1].start=e[r-2][1].start,e.splice(r-2,2)),e}function Vk(e,r,a){const i=this;let s,x,u,f,d;return h;function h(N){return E(N)}function E(N){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(N),p}function p(N){return N===33?(e.consume(N),y):N===47?(e.consume(N),x=!0,b):N===63?(e.consume(N),s=3,i.interrupt?r:M):Ot(N)?(e.consume(N),u=String.fromCharCode(N),D):a(N)}function y(N){return N===45?(e.consume(N),s=2,C):N===91?(e.consume(N),s=5,f=0,A):Ot(N)?(e.consume(N),s=4,i.interrupt?r:M):a(N)}function C(N){return N===45?(e.consume(N),i.interrupt?r:M):a(N)}function A(N){const ae="CDATA[";return N===ae.charCodeAt(f++)?(e.consume(N),f===ae.length?i.interrupt?r:K:A):a(N)}function b(N){return Ot(N)?(e.consume(N),u=String.fromCharCode(N),D):a(N)}function D(N){if(N===null||N===47||N===62||We(N)){const ae=N===47,ce=u.toLowerCase();return!ae&&!x&&o8.includes(ce)?(s=1,i.interrupt?r(N):K(N)):Pk.includes(u.toLowerCase())?(s=6,ae?(e.consume(N),F):i.interrupt?r(N):K(N)):(s=7,i.interrupt&&!i.parser.lazy[i.now().line]?a(N):x?O(N):w(N))}return N===45||Nt(N)?(e.consume(N),u+=String.fromCharCode(N),D):a(N)}function F(N){return N===62?(e.consume(N),i.interrupt?r:K):a(N)}function O(N){return ze(N)?(e.consume(N),O):L(N)}function w(N){return N===47?(e.consume(N),L):N===58||N===95||Ot(N)?(e.consume(N),_):ze(N)?(e.consume(N),w):L(N)}function _(N){return N===45||N===46||N===58||N===95||Nt(N)?(e.consume(N),_):R(N)}function R(N){return N===61?(e.consume(N),k):ze(N)?(e.consume(N),R):w(N)}function k(N){return N===null||N===60||N===61||N===62||N===96?a(N):N===34||N===39?(e.consume(N),d=N,T):ze(N)?(e.consume(N),k):S(N)}function T(N){return N===d?(e.consume(N),d=null,q):N===null||ge(N)?a(N):(e.consume(N),T)}function S(N){return N===null||N===34||N===39||N===47||N===60||N===61||N===62||N===96||We(N)?R(N):(e.consume(N),S)}function q(N){return N===47||N===62||ze(N)?w(N):a(N)}function L(N){return N===62?(e.consume(N),X):a(N)}function X(N){return N===null||ge(N)?K(N):ze(N)?(e.consume(N),X):a(N)}function K(N){return N===45&&s===2?(e.consume(N),P):N===60&&s===1?(e.consume(N),Y):N===62&&s===4?(e.consume(N),j):N===63&&s===3?(e.consume(N),M):N===93&&s===5?(e.consume(N),fe):ge(N)&&(s===6||s===7)?(e.exit("htmlFlowData"),e.check(Hk,W,ie)(N)):N===null||ge(N)?(e.exit("htmlFlowData"),ie(N)):(e.consume(N),K)}function ie(N){return e.check(qk,Z,W)(N)}function Z(N){return e.enter("lineEnding"),e.consume(N),e.exit("lineEnding"),$}function $(N){return N===null||ge(N)?ie(N):(e.enter("htmlFlowData"),K(N))}function P(N){return N===45?(e.consume(N),M):K(N)}function Y(N){return N===47?(e.consume(N),u="",oe):K(N)}function oe(N){if(N===62){const ae=u.toLowerCase();return o8.includes(ae)?(e.consume(N),j):K(N)}return Ot(N)&&u.length<8?(e.consume(N),u+=String.fromCharCode(N),oe):K(N)}function fe(N){return N===93?(e.consume(N),M):K(N)}function M(N){return N===62?(e.consume(N),j):N===45&&s===2?(e.consume(N),M):K(N)}function j(N){return N===null||ge(N)?(e.exit("htmlFlowData"),W(N)):(e.consume(N),j)}function W(N){return e.exit("htmlFlow"),r(N)}}function $k(e,r,a){const i=this;return s;function s(u){return ge(u)?(e.enter("lineEnding"),e.consume(u),e.exit("lineEnding"),x):a(u)}function x(u){return i.parser.lazy[i.now().line]?a(u):r(u)}}function Gk(e,r,a){return i;function i(s){return e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),e.attempt(Ll,r,a)}}const Qk={name:"htmlText",tokenize:Yk};function Yk(e,r,a){const i=this;let s,x,u;return f;function f(M){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(M),d}function d(M){return M===33?(e.consume(M),h):M===47?(e.consume(M),R):M===63?(e.consume(M),w):Ot(M)?(e.consume(M),S):a(M)}function h(M){return M===45?(e.consume(M),E):M===91?(e.consume(M),x=0,A):Ot(M)?(e.consume(M),O):a(M)}function E(M){return M===45?(e.consume(M),C):a(M)}function p(M){return M===null?a(M):M===45?(e.consume(M),y):ge(M)?(u=p,Y(M)):(e.consume(M),p)}function y(M){return M===45?(e.consume(M),C):p(M)}function C(M){return M===62?P(M):M===45?y(M):p(M)}function A(M){const j="CDATA[";return M===j.charCodeAt(x++)?(e.consume(M),x===j.length?b:A):a(M)}function b(M){return M===null?a(M):M===93?(e.consume(M),D):ge(M)?(u=b,Y(M)):(e.consume(M),b)}function D(M){return M===93?(e.consume(M),F):b(M)}function F(M){return M===62?P(M):M===93?(e.consume(M),F):b(M)}function O(M){return M===null||M===62?P(M):ge(M)?(u=O,Y(M)):(e.consume(M),O)}function w(M){return M===null?a(M):M===63?(e.consume(M),_):ge(M)?(u=w,Y(M)):(e.consume(M),w)}function _(M){return M===62?P(M):w(M)}function R(M){return Ot(M)?(e.consume(M),k):a(M)}function k(M){return M===45||Nt(M)?(e.consume(M),k):T(M)}function T(M){return ge(M)?(u=T,Y(M)):ze(M)?(e.consume(M),T):P(M)}function S(M){return M===45||Nt(M)?(e.consume(M),S):M===47||M===62||We(M)?q(M):a(M)}function q(M){return M===47?(e.consume(M),P):M===58||M===95||Ot(M)?(e.consume(M),L):ge(M)?(u=q,Y(M)):ze(M)?(e.consume(M),q):P(M)}function L(M){return M===45||M===46||M===58||M===95||Nt(M)?(e.consume(M),L):X(M)}function X(M){return M===61?(e.consume(M),K):ge(M)?(u=X,Y(M)):ze(M)?(e.consume(M),X):q(M)}function K(M){return M===null||M===60||M===61||M===62||M===96?a(M):M===34||M===39?(e.consume(M),s=M,ie):ge(M)?(u=K,Y(M)):ze(M)?(e.consume(M),K):(e.consume(M),Z)}function ie(M){return M===s?(e.consume(M),s=void 0,$):M===null?a(M):ge(M)?(u=ie,Y(M)):(e.consume(M),ie)}function Z(M){return M===null||M===34||M===39||M===60||M===61||M===96?a(M):M===47||M===62||We(M)?q(M):(e.consume(M),Z)}function $(M){return M===47||M===62||We(M)?q(M):a(M)}function P(M){return M===62?(e.consume(M),e.exit("htmlTextData"),e.exit("htmlText"),r):a(M)}function Y(M){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(M),e.exit("lineEnding"),oe}function oe(M){return ze(M)?Le(e,fe,"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(M):fe(M)}function fe(M){return e.enter("htmlTextData"),u(M)}}const Uc={name:"labelEnd",resolveAll:Jk,resolveTo:Wk,tokenize:eF},Xk={tokenize:tF},Kk={tokenize:nF},Zk={tokenize:rF};function Jk(e){let r=-1;const a=[];for(;++r<e.length;){const i=e[r][1];if(a.push(e[r]),i.type==="labelImage"||i.type==="labelLink"||i.type==="labelEnd"){const s=i.type==="labelImage"?4:2;i.type="data",r+=s}}return e.length!==a.length&&un(e,0,e.length,a),e}function Wk(e,r){let a=e.length,i=0,s,x,u,f;for(;a--;)if(s=e[a][1],x){if(s.type==="link"||s.type==="labelLink"&&s._inactive)break;e[a][0]==="enter"&&s.type==="labelLink"&&(s._inactive=!0)}else if(u){if(e[a][0]==="enter"&&(s.type==="labelImage"||s.type==="labelLink")&&!s._balanced&&(x=a,s.type!=="labelLink")){i=2;break}}else s.type==="labelEnd"&&(u=a);const d={type:e[x][1].type==="labelLink"?"link":"image",start:{...e[x][1].start},end:{...e[e.length-1][1].end}},h={type:"label",start:{...e[x][1].start},end:{...e[u][1].end}},E={type:"labelText",start:{...e[x+i+2][1].end},end:{...e[u-2][1].start}};return f=[["enter",d,r],["enter",h,r]],f=Dn(f,e.slice(x+1,x+i+3)),f=Dn(f,[["enter",E,r]]),f=Dn(f,Ho(r.parser.constructs.insideSpan.null,e.slice(x+i+4,u-3),r)),f=Dn(f,[["exit",E,r],e[u-2],e[u-1],["exit",h,r]]),f=Dn(f,e.slice(u+1)),f=Dn(f,[["exit",d,r]]),un(e,x,e.length,f),e}function eF(e,r,a){const i=this;let s=i.events.length,x,u;for(;s--;)if((i.events[s][1].type==="labelImage"||i.events[s][1].type==="labelLink")&&!i.events[s][1]._balanced){x=i.events[s][1];break}return f;function f(y){return x?x._inactive?p(y):(u=i.parser.defined.includes(Tn(i.sliceSerialize({start:x.end,end:i.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(y),e.exit("labelMarker"),e.exit("labelEnd"),d):a(y)}function d(y){return y===40?e.attempt(Xk,E,u?E:p)(y):y===91?e.attempt(Kk,E,u?h:p)(y):u?E(y):p(y)}function h(y){return e.attempt(Zk,E,p)(y)}function E(y){return r(y)}function p(y){return x._balanced=!0,a(y)}}function tF(e,r,a){return i;function i(p){return e.enter("resource"),e.enter("resourceMarker"),e.consume(p),e.exit("resourceMarker"),s}function s(p){return We(p)?Bl(e,x)(p):x(p)}function x(p){return p===41?E(p):zp(e,u,f,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(p)}function u(p){return We(p)?Bl(e,d)(p):E(p)}function f(p){return a(p)}function d(p){return p===34||p===39||p===40?Rp(e,h,a,"resourceTitle","resourceTitleMarker","resourceTitleString")(p):E(p)}function h(p){return We(p)?Bl(e,E)(p):E(p)}function E(p){return p===41?(e.enter("resourceMarker"),e.consume(p),e.exit("resourceMarker"),e.exit("resource"),r):a(p)}}function nF(e,r,a){const i=this;return s;function s(f){return jp.call(i,e,x,u,"reference","referenceMarker","referenceString")(f)}function x(f){return i.parser.defined.includes(Tn(i.sliceSerialize(i.events[i.events.length-1][1]).slice(1,-1)))?r(f):a(f)}function u(f){return a(f)}}function rF(e,r,a){return i;function i(x){return e.enter("reference"),e.enter("referenceMarker"),e.consume(x),e.exit("referenceMarker"),s}function s(x){return x===93?(e.enter("referenceMarker"),e.consume(x),e.exit("referenceMarker"),e.exit("reference"),r):a(x)}}const aF={name:"labelStartImage",resolveAll:Uc.resolveAll,tokenize:lF};function lF(e,r,a){const i=this;return s;function s(f){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(f),e.exit("labelImageMarker"),x}function x(f){return f===91?(e.enter("labelMarker"),e.consume(f),e.exit("labelMarker"),e.exit("labelImage"),u):a(f)}function u(f){return f===94&&"_hiddenFootnoteSupport"in i.parser.constructs?a(f):r(f)}}const iF={name:"labelStartLink",resolveAll:Uc.resolveAll,tokenize:oF};function oF(e,r,a){const i=this;return s;function s(u){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(u),e.exit("labelMarker"),e.exit("labelLink"),x}function x(u){return u===94&&"_hiddenFootnoteSupport"in i.parser.constructs?a(u):r(u)}}const bu={name:"lineEnding",tokenize:sF};function sF(e,r){return a;function a(i){return e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),Le(e,r,"linePrefix")}}const Co={name:"thematicBreak",tokenize:xF};function xF(e,r,a){let i=0,s;return x;function x(h){return e.enter("thematicBreak"),u(h)}function u(h){return s=h,f(h)}function f(h){return h===s?(e.enter("thematicBreakSequence"),d(h)):i>=3&&(h===null||ge(h))?(e.exit("thematicBreak"),r(h)):a(h)}function d(h){return h===s?(e.consume(h),i++,d):(e.exit("thematicBreakSequence"),ze(h)?Le(e,f,"whitespace")(h):f(h))}}const Yt={continuation:{tokenize:dF},exit:pF,name:"list",tokenize:fF},uF={partial:!0,tokenize:mF},cF={partial:!0,tokenize:hF};function fF(e,r,a){const i=this,s=i.events[i.events.length-1];let x=s&&s[1].type==="linePrefix"?s[2].sliceSerialize(s[1],!0).length:0,u=0;return f;function f(C){const A=i.containerState.type||(C===42||C===43||C===45?"listUnordered":"listOrdered");if(A==="listUnordered"?!i.containerState.marker||C===i.containerState.marker:tc(C)){if(i.containerState.type||(i.containerState.type=A,e.enter(A,{_container:!0})),A==="listUnordered")return e.enter("listItemPrefix"),C===42||C===45?e.check(Co,a,h)(C):h(C);if(!i.interrupt||C===49)return e.enter("listItemPrefix"),e.enter("listItemValue"),d(C)}return a(C)}function d(C){return tc(C)&&++u<10?(e.consume(C),d):(!i.interrupt||u<2)&&(i.containerState.marker?C===i.containerState.marker:C===41||C===46)?(e.exit("listItemValue"),h(C)):a(C)}function h(C){return e.enter("listItemMarker"),e.consume(C),e.exit("listItemMarker"),i.containerState.marker=i.containerState.marker||C,e.check(Ll,i.interrupt?a:E,e.attempt(uF,y,p))}function E(C){return i.containerState.initialBlankLine=!0,x++,y(C)}function p(C){return ze(C)?(e.enter("listItemPrefixWhitespace"),e.consume(C),e.exit("listItemPrefixWhitespace"),y):a(C)}function y(C){return i.containerState.size=x+i.sliceSerialize(e.exit("listItemPrefix"),!0).length,r(C)}}function dF(e,r,a){const i=this;return i.containerState._closeFlow=void 0,e.check(Ll,s,x);function s(f){return i.containerState.furtherBlankLines=i.containerState.furtherBlankLines||i.containerState.initialBlankLine,Le(e,r,"listItemIndent",i.containerState.size+1)(f)}function x(f){return i.containerState.furtherBlankLines||!ze(f)?(i.containerState.furtherBlankLines=void 0,i.containerState.initialBlankLine=void 0,u(f)):(i.containerState.furtherBlankLines=void 0,i.containerState.initialBlankLine=void 0,e.attempt(cF,r,u)(f))}function u(f){return i.containerState._closeFlow=!0,i.interrupt=void 0,Le(e,e.attempt(Yt,r,a),"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(f)}}function hF(e,r,a){const i=this;return Le(e,s,"listItemIndent",i.containerState.size+1);function s(x){const u=i.events[i.events.length-1];return u&&u[1].type==="listItemIndent"&&u[2].sliceSerialize(u[1],!0).length===i.containerState.size?r(x):a(x)}}function pF(e){e.exit(this.containerState.type)}function mF(e,r,a){const i=this;return Le(e,s,"listItemPrefixWhitespace",i.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function s(x){const u=i.events[i.events.length-1];return!ze(x)&&u&&u[1].type==="listItemPrefixWhitespace"?r(x):a(x)}}const s8={name:"setextUnderline",resolveTo:EF,tokenize:CF};function EF(e,r){let a=e.length,i,s,x;for(;a--;)if(e[a][0]==="enter"){if(e[a][1].type==="content"){i=a;break}e[a][1].type==="paragraph"&&(s=a)}else e[a][1].type==="content"&&e.splice(a,1),!x&&e[a][1].type==="definition"&&(x=a);const u={type:"setextHeading",start:{...e[i][1].start},end:{...e[e.length-1][1].end}};return e[s][1].type="setextHeadingText",x?(e.splice(s,0,["enter",u,r]),e.splice(x+1,0,["exit",e[i][1],r]),e[i][1].end={...e[x][1].end}):e[i][1]=u,e.push(["exit",u,r]),e}function CF(e,r,a){const i=this;let s;return x;function x(h){let E=i.events.length,p;for(;E--;)if(i.events[E][1].type!=="lineEnding"&&i.events[E][1].type!=="linePrefix"&&i.events[E][1].type!=="content"){p=i.events[E][1].type==="paragraph";break}return!i.parser.lazy[i.now().line]&&(i.interrupt||p)?(e.enter("setextHeadingLine"),s=h,u(h)):a(h)}function u(h){return e.enter("setextHeadingLineSequence"),f(h)}function f(h){return h===s?(e.consume(h),f):(e.exit("setextHeadingLineSequence"),ze(h)?Le(e,d,"lineSuffix")(h):d(h))}function d(h){return h===null||ge(h)?(e.exit("setextHeadingLine"),r(h)):a(h)}}const yF={tokenize:gF};function gF(e){const r=this,a=e.attempt(Ll,i,e.attempt(this.parser.constructs.flowInitial,s,Le(e,e.attempt(this.parser.constructs.flow,s,e.attempt(vk,s)),"linePrefix")));return a;function i(x){if(x===null){e.consume(x);return}return e.enter("lineEndingBlank"),e.consume(x),e.exit("lineEndingBlank"),r.currentConstruct=void 0,a}function s(x){if(x===null){e.consume(x);return}return e.enter("lineEnding"),e.consume(x),e.exit("lineEnding"),r.currentConstruct=void 0,a}}const BF={resolveAll:Lp()},AF=Op("string"),bF=Op("text");function Op(e){return{resolveAll:Lp(e==="text"?DF:void 0),tokenize:r};function r(a){const i=this,s=this.parser.constructs[e],x=a.attempt(s,u,f);return u;function u(E){return h(E)?x(E):f(E)}function f(E){if(E===null){a.consume(E);return}return a.enter("data"),a.consume(E),d}function d(E){return h(E)?(a.exit("data"),x(E)):(a.consume(E),d)}function h(E){if(E===null)return!0;const p=s[E];let y=-1;if(p)for(;++y<p.length;){const C=p[y];if(!C.previous||C.previous.call(i,i.previous))return!0}return!1}}}function Lp(e){return r;function r(a,i){let s=-1,x;for(;++s<=a.length;)x===void 0?a[s]&&a[s][1].type==="data"&&(x=s,s++):(!a[s]||a[s][1].type!=="data")&&(s!==x+2&&(a[x][1].end=a[s-1][1].end,a.splice(x+2,s-x-2),s=x+2),x=void 0);return e?e(a,i):a}}function DF(e,r){let a=0;for(;++a<=e.length;)if((a===e.length||e[a][1].type==="lineEnding")&&e[a-1][1].type==="data"){const i=e[a-1][1],s=r.sliceStream(i);let x=s.length,u=-1,f=0,d;for(;x--;){const h=s[x];if(typeof h=="string"){for(u=h.length;h.charCodeAt(u-1)===32;)f++,u--;if(u)break;u=-1}else if(h===-2)d=!0,f++;else if(h!==-1){x++;break}}if(r._contentTypeTextTrailing&&a===e.length&&(f=0),f){const h={type:a===e.length||d||f<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:x?u:i.start._bufferIndex+u,_index:i.start._index+x,line:i.end.line,column:i.end.column-f,offset:i.end.offset-f},end:{...i.end}};i.end={...h.start},i.start.offset===i.end.offset?Object.assign(i,h):(e.splice(a,0,["enter",h,r],["exit",h,r]),a+=2)}a++}return e}const vF={42:Yt,43:Yt,45:Yt,48:Yt,49:Yt,50:Yt,51:Yt,52:Yt,53:Yt,54:Yt,55:Yt,56:Yt,57:Yt,62:Mp},kF={91:Mk},FF={[-2]:Au,[-1]:Au,32:Au},wF={35:Rk,42:Co,45:[s8,Co],60:Uk,61:s8,95:Co,96:i8,126:i8},SF={38:_p,92:Np},MF={[-5]:bu,[-4]:bu,[-3]:bu,33:aF,38:_p,42:nc,60:[ik,Qk],91:iF,92:[zk,Np],93:Uc,95:nc,96:yk},NF={null:[nc,BF]},_F={null:[42,95]},TF={null:[]},zF=Object.freeze(Object.defineProperty({__proto__:null,attentionMarkers:_F,contentInitial:kF,disable:TF,document:vF,flow:wF,flowInitial:FF,insideSpan:NF,string:SF,text:MF},Symbol.toStringTag,{value:"Module"}));function jF(e,r,a){let i={_bufferIndex:-1,_index:0,line:a&&a.line||1,column:a&&a.column||1,offset:a&&a.offset||0};const s={},x=[];let u=[],f=[];const d={attempt:T(R),check:T(k),consume:O,enter:w,exit:_,interrupt:T(k,{interrupt:!0})},h={code:null,containerState:{},defineSkip:b,events:[],now:A,parser:e,previous:null,sliceSerialize:y,sliceStream:C,write:p};let E=r.tokenize.call(h,d);return r.resolveAll&&x.push(r),h;function p(X){return u=Dn(u,X),D(),u[u.length-1]!==null?[]:(S(r,0),h.events=Ho(x,h.events,h),h.events)}function y(X,K){return OF(C(X),K)}function C(X){return RF(u,X)}function A(){const{_bufferIndex:X,_index:K,line:ie,column:Z,offset:$}=i;return{_bufferIndex:X,_index:K,line:ie,column:Z,offset:$}}function b(X){s[X.line]=X.column,L()}function D(){let X;for(;i._index<u.length;){const K=u[i._index];if(typeof K=="string")for(X=i._index,i._bufferIndex<0&&(i._bufferIndex=0);i._index===X&&i._bufferIndex<K.length;)F(K.charCodeAt(i._bufferIndex));else F(K)}}function F(X){E=E(X)}function O(X){ge(X)?(i.line++,i.column=1,i.offset+=X===-3?2:1,L()):X!==-1&&(i.column++,i.offset++),i._bufferIndex<0?i._index++:(i._bufferIndex++,i._bufferIndex===u[i._index].length&&(i._bufferIndex=-1,i._index++)),h.previous=X}function w(X,K){const ie=K||{};return ie.type=X,ie.start=A(),h.events.push(["enter",ie,h]),f.push(ie),ie}function _(X){const K=f.pop();return K.end=A(),h.events.push(["exit",K,h]),K}function R(X,K){S(X,K.from)}function k(X,K){K.restore()}function T(X,K){return ie;function ie(Z,$,P){let Y,oe,fe,M;return Array.isArray(Z)?W(Z):"tokenize"in Z?W([Z]):j(Z);function j(xe){return Ee;function Ee(Pe){const Ce=Pe!==null&&xe[Pe],Bt=Pe!==null&&xe.null,ot=[...Array.isArray(Ce)?Ce:Ce?[Ce]:[],...Array.isArray(Bt)?Bt:Bt?[Bt]:[]];return W(ot)(Pe)}}function W(xe){return Y=xe,oe=0,xe.length===0?P:N(xe[oe])}function N(xe){return Ee;function Ee(Pe){return M=q(),fe=xe,xe.partial||(h.currentConstruct=xe),xe.name&&h.parser.constructs.disable.null.includes(xe.name)?ce():xe.tokenize.call(K?Object.assign(Object.create(h),K):h,d,ae,ce)(Pe)}}function ae(xe){return X(fe,M),$}function ce(xe){return M.restore(),++oe<Y.length?N(Y[oe]):P}}}function S(X,K){X.resolveAll&&!x.includes(X)&&x.push(X),X.resolve&&un(h.events,K,h.events.length-K,X.resolve(h.events.slice(K),h)),X.resolveTo&&(h.events=X.resolveTo(h.events,h))}function q(){const X=A(),K=h.previous,ie=h.currentConstruct,Z=h.events.length,$=Array.from(f);return{from:Z,restore:P};function P(){i=X,h.previous=K,h.currentConstruct=ie,h.events.length=Z,f=$,L()}}function L(){i.line in s&&i.column<2&&(i.column=s[i.line],i.offset+=s[i.line]-1)}}function RF(e,r){const a=r.start._index,i=r.start._bufferIndex,s=r.end._index,x=r.end._bufferIndex;let u;if(a===s)u=[e[a].slice(i,x)];else{if(u=e.slice(a,s),i>-1){const f=u[0];typeof f=="string"?u[0]=f.slice(i):u.shift()}x>0&&u.push(e[s].slice(0,x))}return u}function OF(e,r){let a=-1;const i=[];let s;for(;++a<e.length;){const x=e[a];let u;if(typeof x=="string")u=x;else switch(x){case-5:{u="\r";break}case-4:{u=`
14
14
  `;break}case-3:{u=`\r
15
- `;break}case-2:{u=r?" ":" ";break}case-1:{if(!r&&s)continue;u=" ";break}default:u=String.fromCharCode(x)}s=x===-2,i.push(u)}return i.join("")}function RF(e){const i={constructs:Fp([_F,...(e||{}).extensions||[]]),content:s(Zv),defined:[],document:s(Wv),flow:s(EF),lazy:{},string:s(gF),text:s(BF)};return i;function s(x){return u;function u(f){return TF(i,x,f)}}}function OF(e){for(;!_p(e););return e}const x8=/[\0\t\n\r]/g;function LF(){let e=1,r="",a=!0,i;return s;function s(x,u,f){const d=[];let h,E,p,y,C;for(x=r+(typeof x=="string"?x.toString():new TextDecoder(u||void 0).decode(x)),p=0,r="",a&&(x.charCodeAt(0)===65279&&p++,a=void 0);p<x.length;){if(x8.lastIndex=p,h=x8.exec(x),y=h&&h.index!==void 0?h.index:x.length,C=x.charCodeAt(y),!h){r=x.slice(p);break}if(C===10&&p===y&&i)d.push(-3),i=void 0;else switch(i&&(d.push(-5),i=void 0),p<y&&(d.push(x.slice(p,y)),e+=y-p),C){case 0:{d.push(65533),e++;break}case 9:{for(E=Math.ceil(e/4)*4,d.push(-2);e++<E;)d.push(-1);break}case 10:{d.push(-4),e=1;break}default:i=!0,e=1}p=y+1}return f&&(i&&d.push(-5),r&&d.push(r),d.push(null)),d}}const PF=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function UF(e){return e.replace(PF,HF)}function HF(e,r,a){if(r)return r;if(a.charCodeAt(0)===35){const s=a.charCodeAt(1),x=s===120||s===88;return wp(a.slice(x?2:1),x?16:10)}return Pc(a)||e}const Lp={}.hasOwnProperty;function qF(e,r,a){return r&&typeof r=="object"&&(a=r,r=void 0),IF(a)(OF(RF(a).document().write(LF()(e,r,!0))))}function IF(e){const r={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:x(At),autolinkProtocol:q,autolinkEmail:q,atxHeading:x(Pt),blockQuote:x(Bt),characterEscape:q,characterReference:q,codeFenced:x(ot),codeFencedFenceInfo:u,codeFencedFenceMeta:u,codeIndented:x(ot,u),codeText:x(fn,u),codeTextData:q,data:q,codeFlowValue:q,definition:x(Zt),definitionDestinationString:u,definitionLabelString:u,definitionTitleString:u,emphasis:x(ut),hardBreakEscape:x(dn),hardBreakTrailing:x(dn),htmlFlow:x($n,u),htmlFlowData:q,htmlText:x($n,u),htmlTextData:q,image:x(jn),label:u,link:x(At),listItem:x(St),listItemValue:y,listOrdered:x(Ar,p),listUnordered:x(Ar),paragraph:x(Go),reference:N,referenceString:u,resourceDestinationString:u,resourceTitleString:u,setextHeading:x(Pt),strong:x(Qo),thematicBreak:x(Yo)},exit:{atxHeading:d(),atxHeadingSequence:R,autolink:d(),autolinkEmail:Ce,autolinkProtocol:Pe,blockQuote:d(),characterEscapeValue:L,characterReferenceMarkerHexadecimal:ce,characterReferenceMarkerNumeric:ce,characterReferenceValue:xe,characterReference:Ee,codeFenced:d(D),codeFencedFence:b,codeFencedFenceInfo:C,codeFencedFenceMeta:A,codeFlowValue:L,codeIndented:d(F),codeText:d($),codeTextData:L,data:L,definition:d(),definitionDestinationString:_,definitionLabelString:O,definitionTitleString:w,emphasis:d(),hardBreakEscape:d(K),hardBreakTrailing:d(K),htmlFlow:d(ie),htmlFlowData:L,htmlText:d(Z),htmlTextData:L,image:d(Y),label:fe,labelText:oe,lineEnding:X,link:d(P),listItem:d(),listOrdered:d(),listUnordered:d(),paragraph:d(),referenceString:ae,resourceDestinationString:M,resourceTitleString:j,resource:W,setextHeading:d(S),setextHeadingLineSequence:T,setextHeadingText:k,strong:d(),thematicBreak:d()}};Pp(r,(e||{}).mdastExtensions||[]);const a={};return i;function i(ne){let ue={type:"root",children:[]};const Ae={stack:[ue],tokenStack:[],config:r,enter:f,exit:h,buffer:u,resume:E,data:a},Ne=[];let Ve=-1;for(;++Ve<ne.length;)if(ne[Ve][1].type==="listOrdered"||ne[Ve][1].type==="listUnordered")if(ne[Ve][0]==="enter")Ne.push(Ve);else{const Jt=Ne.pop();Ve=s(ne,Jt,Ve)}for(Ve=-1;++Ve<ne.length;){const Jt=r[ne[Ve][0]];Lp.call(Jt,ne[Ve][1].type)&&Jt[ne[Ve][1].type].call(Object.assign({sliceSerialize:ne[Ve][2].sliceSerialize},Ae),ne[Ve][1])}if(Ae.tokenStack.length>0){const Jt=Ae.tokenStack[Ae.tokenStack.length-1];(Jt[1]||u8).call(Ae,void 0,Jt[0])}for(ue.position={start:U0(ne.length>0?ne[0][1].start:{line:1,column:1,offset:0}),end:U0(ne.length>0?ne[ne.length-2][1].end:{line:1,column:1,offset:0})},Ve=-1;++Ve<r.transforms.length;)ue=r.transforms[Ve](ue)||ue;return ue}function s(ne,ue,Ae){let Ne=ue-1,Ve=-1,Jt=!1,Gn,zt,mt,Ut;for(;++Ne<=Ae;){const Ke=ne[Ne];switch(Ke[1].type){case"listUnordered":case"listOrdered":case"blockQuote":{Ke[0]==="enter"?Ve++:Ve--,Ut=void 0;break}case"lineEndingBlank":{Ke[0]==="enter"&&(Gn&&!Ut&&!Ve&&!mt&&(mt=Ne),Ut=void 0);break}case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:Ut=void 0}if(!Ve&&Ke[0]==="enter"&&Ke[1].type==="listItemPrefix"||Ve===-1&&Ke[0]==="exit"&&(Ke[1].type==="listUnordered"||Ke[1].type==="listOrdered")){if(Gn){let h0=Ne;for(zt=void 0;h0--;){const wn=ne[h0];if(wn[1].type==="lineEnding"||wn[1].type==="lineEndingBlank"){if(wn[0]==="exit")continue;zt&&(ne[zt][1].type="lineEndingBlank",Jt=!0),wn[1].type="lineEnding",zt=h0}else if(!(wn[1].type==="linePrefix"||wn[1].type==="blockQuotePrefix"||wn[1].type==="blockQuotePrefixWhitespace"||wn[1].type==="blockQuoteMarker"||wn[1].type==="listItemIndent"))break}mt&&(!zt||mt<zt)&&(Gn._spread=!0),Gn.end=Object.assign({},zt?ne[zt][1].start:Ke[1].end),ne.splice(zt||Ne,0,["exit",Gn,Ke[2]]),Ne++,Ae++}if(Ke[1].type==="listItemPrefix"){const h0={type:"listItem",_spread:!1,start:Object.assign({},Ke[1].start),end:void 0};Gn=h0,ne.splice(Ne,0,["enter",h0,Ke[2]]),Ne++,Ae++,mt=void 0,Ut=!0}}}return ne[ue][1]._spread=Jt,Ae}function x(ne,ue){return Ae;function Ae(Ne){f.call(this,ne(Ne),Ne),ue&&ue.call(this,Ne)}}function u(){this.stack.push({type:"fragment",children:[]})}function f(ne,ue,Ae){this.stack[this.stack.length-1].children.push(ne),this.stack.push(ne),this.tokenStack.push([ue,Ae||void 0]),ne.position={start:U0(ue.start),end:void 0}}function d(ne){return ue;function ue(Ae){ne&&ne.call(this,Ae),h.call(this,Ae)}}function h(ne,ue){const Ae=this.stack.pop(),Ne=this.tokenStack.pop();if(Ne)Ne[0].type!==ne.type&&(ue?ue.call(this,ne,Ne[0]):(Ne[1]||u8).call(this,ne,Ne[0]));else throw new Error("Cannot close `"+ne.type+"` ("+gl({start:ne.start,end:ne.end})+"): it’s not open");Ae.position.end=U0(ne.end)}function E(){return Lc(this.stack.pop())}function p(){this.data.expectingFirstListItemValue=!0}function y(ne){if(this.data.expectingFirstListItemValue){const ue=this.stack[this.stack.length-2];ue.start=Number.parseInt(this.sliceSerialize(ne),10),this.data.expectingFirstListItemValue=void 0}}function C(){const ne=this.resume(),ue=this.stack[this.stack.length-1];ue.lang=ne}function A(){const ne=this.resume(),ue=this.stack[this.stack.length-1];ue.meta=ne}function b(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function D(){const ne=this.resume(),ue=this.stack[this.stack.length-1];ue.value=ne.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function F(){const ne=this.resume(),ue=this.stack[this.stack.length-1];ue.value=ne.replace(/(\r?\n|\r)$/g,"")}function O(ne){const ue=this.resume(),Ae=this.stack[this.stack.length-1];Ae.label=ue,Ae.identifier=Tn(this.sliceSerialize(ne)).toLowerCase()}function w(){const ne=this.resume(),ue=this.stack[this.stack.length-1];ue.title=ne}function _(){const ne=this.resume(),ue=this.stack[this.stack.length-1];ue.url=ne}function R(ne){const ue=this.stack[this.stack.length-1];if(!ue.depth){const Ae=this.sliceSerialize(ne).length;ue.depth=Ae}}function k(){this.data.setextHeadingSlurpLineEnding=!0}function T(ne){const ue=this.stack[this.stack.length-1];ue.depth=this.sliceSerialize(ne).codePointAt(0)===61?1:2}function S(){this.data.setextHeadingSlurpLineEnding=void 0}function q(ne){const Ae=this.stack[this.stack.length-1].children;let Ne=Ae[Ae.length-1];(!Ne||Ne.type!=="text")&&(Ne=Tt(),Ne.position={start:U0(ne.start),end:void 0},Ae.push(Ne)),this.stack.push(Ne)}function L(ne){const ue=this.stack.pop();ue.value+=this.sliceSerialize(ne),ue.position.end=U0(ne.end)}function X(ne){const ue=this.stack[this.stack.length-1];if(this.data.atHardBreak){const Ae=ue.children[ue.children.length-1];Ae.position.end=U0(ne.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&r.canContainEols.includes(ue.type)&&(q.call(this,ne),L.call(this,ne))}function K(){this.data.atHardBreak=!0}function ie(){const ne=this.resume(),ue=this.stack[this.stack.length-1];ue.value=ne}function Z(){const ne=this.resume(),ue=this.stack[this.stack.length-1];ue.value=ne}function $(){const ne=this.resume(),ue=this.stack[this.stack.length-1];ue.value=ne}function P(){const ne=this.stack[this.stack.length-1];if(this.data.inReference){const ue=this.data.referenceType||"shortcut";ne.type+="Reference",ne.referenceType=ue,delete ne.url,delete ne.title}else delete ne.identifier,delete ne.label;this.data.referenceType=void 0}function Y(){const ne=this.stack[this.stack.length-1];if(this.data.inReference){const ue=this.data.referenceType||"shortcut";ne.type+="Reference",ne.referenceType=ue,delete ne.url,delete ne.title}else delete ne.identifier,delete ne.label;this.data.referenceType=void 0}function oe(ne){const ue=this.sliceSerialize(ne),Ae=this.stack[this.stack.length-2];Ae.label=UF(ue),Ae.identifier=Tn(ue).toLowerCase()}function fe(){const ne=this.stack[this.stack.length-1],ue=this.resume(),Ae=this.stack[this.stack.length-1];if(this.data.inReference=!0,Ae.type==="link"){const Ne=ne.children;Ae.children=Ne}else Ae.alt=ue}function M(){const ne=this.resume(),ue=this.stack[this.stack.length-1];ue.url=ne}function j(){const ne=this.resume(),ue=this.stack[this.stack.length-1];ue.title=ne}function W(){this.data.inReference=void 0}function N(){this.data.referenceType="collapsed"}function ae(ne){const ue=this.resume(),Ae=this.stack[this.stack.length-1];Ae.label=ue,Ae.identifier=Tn(this.sliceSerialize(ne)).toLowerCase(),this.data.referenceType="full"}function ce(ne){this.data.characterReferenceType=ne.type}function xe(ne){const ue=this.sliceSerialize(ne),Ae=this.data.characterReferenceType;let Ne;Ae?(Ne=wp(ue,Ae==="characterReferenceMarkerNumeric"?10:16),this.data.characterReferenceType=void 0):Ne=Pc(ue);const Ve=this.stack[this.stack.length-1];Ve.value+=Ne}function Ee(ne){const ue=this.stack.pop();ue.position.end=U0(ne.end)}function Pe(ne){L.call(this,ne);const ue=this.stack[this.stack.length-1];ue.url=this.sliceSerialize(ne)}function Ce(ne){L.call(this,ne);const ue=this.stack[this.stack.length-1];ue.url="mailto:"+this.sliceSerialize(ne)}function Bt(){return{type:"blockquote",children:[]}}function ot(){return{type:"code",lang:null,meta:null,value:""}}function fn(){return{type:"inlineCode",value:""}}function Zt(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function ut(){return{type:"emphasis",children:[]}}function Pt(){return{type:"heading",depth:0,children:[]}}function dn(){return{type:"break"}}function $n(){return{type:"html",value:""}}function jn(){return{type:"image",title:null,url:"",alt:null}}function At(){return{type:"link",title:null,url:"",children:[]}}function Ar(ne){return{type:"list",ordered:ne.type==="listOrdered",start:null,spread:ne._spread,children:[]}}function St(ne){return{type:"listItem",spread:ne._spread,checked:null,children:[]}}function Go(){return{type:"paragraph",children:[]}}function Qo(){return{type:"strong",children:[]}}function Tt(){return{type:"text",value:""}}function Yo(){return{type:"thematicBreak"}}}function U0(e){return{line:e.line,column:e.column,offset:e.offset}}function Pp(e,r){let a=-1;for(;++a<r.length;){const i=r[a];Array.isArray(i)?Pp(e,i):VF(e,i)}}function VF(e,r){let a;for(a in r)if(Lp.call(r,a))switch(a){case"canContainEols":{const i=r[a];i&&e[a].push(...i);break}case"transforms":{const i=r[a];i&&e[a].push(...i);break}case"enter":case"exit":{const i=r[a];i&&Object.assign(e[a],i);break}}}function u8(e,r){throw e?new Error("Cannot close `"+e.type+"` ("+gl({start:e.start,end:e.end})+"): a different token (`"+r.type+"`, "+gl({start:r.start,end:r.end})+") is open"):new Error("Cannot close document, a token (`"+r.type+"`, "+gl({start:r.start,end:r.end})+") is still open")}function $F(e){const r=this;r.parser=a;function a(i){return qF(i,{...r.data("settings"),...e,extensions:r.data("micromarkExtensions")||[],mdastExtensions:r.data("fromMarkdownExtensions")||[]})}}function GF(e,r){const a={type:"element",tagName:"blockquote",properties:{},children:e.wrap(e.all(r),!0)};return e.patch(r,a),e.applyData(r,a)}function QF(e,r){const a={type:"element",tagName:"br",properties:{},children:[]};return e.patch(r,a),[e.applyData(r,a),{type:"text",value:`
16
- `}]}function YF(e,r){const a=r.value?r.value+`
17
- `:"",i={},s=r.lang?r.lang.split(/\s+/):[];s.length>0&&(i.className=["language-"+s[0]]);let x={type:"element",tagName:"code",properties:i,children:[{type:"text",value:a}]};return r.meta&&(x.data={meta:r.meta}),e.patch(r,x),x=e.applyData(r,x),x={type:"element",tagName:"pre",properties:{},children:[x]},e.patch(r,x),x}function XF(e,r){const a={type:"element",tagName:"del",properties:{},children:e.all(r)};return e.patch(r,a),e.applyData(r,a)}function KF(e,r){const a={type:"element",tagName:"em",properties:{},children:e.all(r)};return e.patch(r,a),e.applyData(r,a)}function ZF(e,r){const a=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",i=String(r.identifier).toUpperCase(),s=ma(i.toLowerCase()),x=e.footnoteOrder.indexOf(i);let u,f=e.footnoteCounts.get(i);f===void 0?(f=0,e.footnoteOrder.push(i),u=e.footnoteOrder.length):u=x+1,f+=1,e.footnoteCounts.set(i,f);const d={type:"element",tagName:"a",properties:{href:"#"+a+"fn-"+s,id:a+"fnref-"+s+(f>1?"-"+f:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(u)}]};e.patch(r,d);const h={type:"element",tagName:"sup",properties:{},children:[d]};return e.patch(r,h),e.applyData(r,h)}function JF(e,r){const a={type:"element",tagName:"h"+r.depth,properties:{},children:e.all(r)};return e.patch(r,a),e.applyData(r,a)}function WF(e,r){if(e.options.allowDangerousHtml){const a={type:"raw",value:r.value};return e.patch(r,a),e.applyData(r,a)}}function Up(e,r){const a=r.referenceType;let i="]";if(a==="collapsed"?i+="[]":a==="full"&&(i+="["+(r.label||r.identifier)+"]"),r.type==="imageReference")return[{type:"text",value:"!["+r.alt+i}];const s=e.all(r),x=s[0];x&&x.type==="text"?x.value="["+x.value:s.unshift({type:"text",value:"["});const u=s[s.length-1];return u&&u.type==="text"?u.value+=i:s.push({type:"text",value:i}),s}function ew(e,r){const a=String(r.identifier).toUpperCase(),i=e.definitionById.get(a);if(!i)return Up(e,r);const s={src:ma(i.url||""),alt:r.alt};i.title!==null&&i.title!==void 0&&(s.title=i.title);const x={type:"element",tagName:"img",properties:s,children:[]};return e.patch(r,x),e.applyData(r,x)}function tw(e,r){const a={src:ma(r.url)};r.alt!==null&&r.alt!==void 0&&(a.alt=r.alt),r.title!==null&&r.title!==void 0&&(a.title=r.title);const i={type:"element",tagName:"img",properties:a,children:[]};return e.patch(r,i),e.applyData(r,i)}function nw(e,r){const a={type:"text",value:r.value.replace(/\r?\n|\r/g," ")};e.patch(r,a);const i={type:"element",tagName:"code",properties:{},children:[a]};return e.patch(r,i),e.applyData(r,i)}function rw(e,r){const a=String(r.identifier).toUpperCase(),i=e.definitionById.get(a);if(!i)return Up(e,r);const s={href:ma(i.url||"")};i.title!==null&&i.title!==void 0&&(s.title=i.title);const x={type:"element",tagName:"a",properties:s,children:e.all(r)};return e.patch(r,x),e.applyData(r,x)}function aw(e,r){const a={href:ma(r.url)};r.title!==null&&r.title!==void 0&&(a.title=r.title);const i={type:"element",tagName:"a",properties:a,children:e.all(r)};return e.patch(r,i),e.applyData(r,i)}function lw(e,r,a){const i=e.all(r),s=a?iw(a):Hp(r),x={},u=[];if(typeof r.checked=="boolean"){const E=i[0];let p;E&&E.type==="element"&&E.tagName==="p"?p=E:(p={type:"element",tagName:"p",properties:{},children:[]},i.unshift(p)),p.children.length>0&&p.children.unshift({type:"text",value:" "}),p.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:r.checked,disabled:!0},children:[]}),x.className=["task-list-item"]}let f=-1;for(;++f<i.length;){const E=i[f];(s||f!==0||E.type!=="element"||E.tagName!=="p")&&u.push({type:"text",value:`
15
+ `;break}case-2:{u=r?" ":" ";break}case-1:{if(!r&&s)continue;u=" ";break}default:u=String.fromCharCode(x)}s=x===-2,i.push(u)}return i.join("")}function LF(e){const i={constructs:wp([zF,...(e||{}).extensions||[]]),content:s(Wv),defined:[],document:s(tk),flow:s(yF),lazy:{},string:s(AF),text:s(bF)};return i;function s(x){return u;function u(f){return jF(i,x,f)}}}function PF(e){for(;!Tp(e););return e}const x8=/[\0\t\n\r]/g;function UF(){let e=1,r="",a=!0,i;return s;function s(x,u,f){const d=[];let h,E,p,y,C;for(x=r+(typeof x=="string"?x.toString():new TextDecoder(u||void 0).decode(x)),p=0,r="",a&&(x.charCodeAt(0)===65279&&p++,a=void 0);p<x.length;){if(x8.lastIndex=p,h=x8.exec(x),y=h&&h.index!==void 0?h.index:x.length,C=x.charCodeAt(y),!h){r=x.slice(p);break}if(C===10&&p===y&&i)d.push(-3),i=void 0;else switch(i&&(d.push(-5),i=void 0),p<y&&(d.push(x.slice(p,y)),e+=y-p),C){case 0:{d.push(65533),e++;break}case 9:{for(E=Math.ceil(e/4)*4,d.push(-2);e++<E;)d.push(-1);break}case 10:{d.push(-4),e=1;break}default:i=!0,e=1}p=y+1}return f&&(i&&d.push(-5),r&&d.push(r),d.push(null)),d}}const HF=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function qF(e){return e.replace(HF,IF)}function IF(e,r,a){if(r)return r;if(a.charCodeAt(0)===35){const s=a.charCodeAt(1),x=s===120||s===88;return Sp(a.slice(x?2:1),x?16:10)}return Pc(a)||e}const Pp={}.hasOwnProperty;function VF(e,r,a){return r&&typeof r=="object"&&(a=r,r=void 0),$F(a)(PF(LF(a).document().write(UF()(e,r,!0))))}function $F(e){const r={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:x(At),autolinkProtocol:q,autolinkEmail:q,atxHeading:x(Pt),blockQuote:x(Bt),characterEscape:q,characterReference:q,codeFenced:x(ot),codeFencedFenceInfo:u,codeFencedFenceMeta:u,codeIndented:x(ot,u),codeText:x(fn,u),codeTextData:q,data:q,codeFlowValue:q,definition:x(Zt),definitionDestinationString:u,definitionLabelString:u,definitionTitleString:u,emphasis:x(ut),hardBreakEscape:x(dn),hardBreakTrailing:x(dn),htmlFlow:x($n,u),htmlFlowData:q,htmlText:x($n,u),htmlTextData:q,image:x(jn),label:u,link:x(At),listItem:x(St),listItemValue:y,listOrdered:x(Ar,p),listUnordered:x(Ar),paragraph:x(Go),reference:N,referenceString:u,resourceDestinationString:u,resourceTitleString:u,setextHeading:x(Pt),strong:x(Qo),thematicBreak:x(Yo)},exit:{atxHeading:d(),atxHeadingSequence:R,autolink:d(),autolinkEmail:Ce,autolinkProtocol:Pe,blockQuote:d(),characterEscapeValue:L,characterReferenceMarkerHexadecimal:ce,characterReferenceMarkerNumeric:ce,characterReferenceValue:xe,characterReference:Ee,codeFenced:d(D),codeFencedFence:b,codeFencedFenceInfo:C,codeFencedFenceMeta:A,codeFlowValue:L,codeIndented:d(F),codeText:d($),codeTextData:L,data:L,definition:d(),definitionDestinationString:_,definitionLabelString:O,definitionTitleString:w,emphasis:d(),hardBreakEscape:d(K),hardBreakTrailing:d(K),htmlFlow:d(ie),htmlFlowData:L,htmlText:d(Z),htmlTextData:L,image:d(Y),label:fe,labelText:oe,lineEnding:X,link:d(P),listItem:d(),listOrdered:d(),listUnordered:d(),paragraph:d(),referenceString:ae,resourceDestinationString:M,resourceTitleString:j,resource:W,setextHeading:d(S),setextHeadingLineSequence:T,setextHeadingText:k,strong:d(),thematicBreak:d()}};Up(r,(e||{}).mdastExtensions||[]);const a={};return i;function i(ne){let ue={type:"root",children:[]};const Ae={stack:[ue],tokenStack:[],config:r,enter:f,exit:h,buffer:u,resume:E,data:a},Ne=[];let Ve=-1;for(;++Ve<ne.length;)if(ne[Ve][1].type==="listOrdered"||ne[Ve][1].type==="listUnordered")if(ne[Ve][0]==="enter")Ne.push(Ve);else{const Jt=Ne.pop();Ve=s(ne,Jt,Ve)}for(Ve=-1;++Ve<ne.length;){const Jt=r[ne[Ve][0]];Pp.call(Jt,ne[Ve][1].type)&&Jt[ne[Ve][1].type].call(Object.assign({sliceSerialize:ne[Ve][2].sliceSerialize},Ae),ne[Ve][1])}if(Ae.tokenStack.length>0){const Jt=Ae.tokenStack[Ae.tokenStack.length-1];(Jt[1]||u8).call(Ae,void 0,Jt[0])}for(ue.position={start:U0(ne.length>0?ne[0][1].start:{line:1,column:1,offset:0}),end:U0(ne.length>0?ne[ne.length-2][1].end:{line:1,column:1,offset:0})},Ve=-1;++Ve<r.transforms.length;)ue=r.transforms[Ve](ue)||ue;return ue}function s(ne,ue,Ae){let Ne=ue-1,Ve=-1,Jt=!1,Gn,zt,mt,Ut;for(;++Ne<=Ae;){const Ke=ne[Ne];switch(Ke[1].type){case"listUnordered":case"listOrdered":case"blockQuote":{Ke[0]==="enter"?Ve++:Ve--,Ut=void 0;break}case"lineEndingBlank":{Ke[0]==="enter"&&(Gn&&!Ut&&!Ve&&!mt&&(mt=Ne),Ut=void 0);break}case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:Ut=void 0}if(!Ve&&Ke[0]==="enter"&&Ke[1].type==="listItemPrefix"||Ve===-1&&Ke[0]==="exit"&&(Ke[1].type==="listUnordered"||Ke[1].type==="listOrdered")){if(Gn){let h0=Ne;for(zt=void 0;h0--;){const wn=ne[h0];if(wn[1].type==="lineEnding"||wn[1].type==="lineEndingBlank"){if(wn[0]==="exit")continue;zt&&(ne[zt][1].type="lineEndingBlank",Jt=!0),wn[1].type="lineEnding",zt=h0}else if(!(wn[1].type==="linePrefix"||wn[1].type==="blockQuotePrefix"||wn[1].type==="blockQuotePrefixWhitespace"||wn[1].type==="blockQuoteMarker"||wn[1].type==="listItemIndent"))break}mt&&(!zt||mt<zt)&&(Gn._spread=!0),Gn.end=Object.assign({},zt?ne[zt][1].start:Ke[1].end),ne.splice(zt||Ne,0,["exit",Gn,Ke[2]]),Ne++,Ae++}if(Ke[1].type==="listItemPrefix"){const h0={type:"listItem",_spread:!1,start:Object.assign({},Ke[1].start),end:void 0};Gn=h0,ne.splice(Ne,0,["enter",h0,Ke[2]]),Ne++,Ae++,mt=void 0,Ut=!0}}}return ne[ue][1]._spread=Jt,Ae}function x(ne,ue){return Ae;function Ae(Ne){f.call(this,ne(Ne),Ne),ue&&ue.call(this,Ne)}}function u(){this.stack.push({type:"fragment",children:[]})}function f(ne,ue,Ae){this.stack[this.stack.length-1].children.push(ne),this.stack.push(ne),this.tokenStack.push([ue,Ae||void 0]),ne.position={start:U0(ue.start),end:void 0}}function d(ne){return ue;function ue(Ae){ne&&ne.call(this,Ae),h.call(this,Ae)}}function h(ne,ue){const Ae=this.stack.pop(),Ne=this.tokenStack.pop();if(Ne)Ne[0].type!==ne.type&&(ue?ue.call(this,ne,Ne[0]):(Ne[1]||u8).call(this,ne,Ne[0]));else throw new Error("Cannot close `"+ne.type+"` ("+gl({start:ne.start,end:ne.end})+"): it’s not open");Ae.position.end=U0(ne.end)}function E(){return Lc(this.stack.pop())}function p(){this.data.expectingFirstListItemValue=!0}function y(ne){if(this.data.expectingFirstListItemValue){const ue=this.stack[this.stack.length-2];ue.start=Number.parseInt(this.sliceSerialize(ne),10),this.data.expectingFirstListItemValue=void 0}}function C(){const ne=this.resume(),ue=this.stack[this.stack.length-1];ue.lang=ne}function A(){const ne=this.resume(),ue=this.stack[this.stack.length-1];ue.meta=ne}function b(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function D(){const ne=this.resume(),ue=this.stack[this.stack.length-1];ue.value=ne.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function F(){const ne=this.resume(),ue=this.stack[this.stack.length-1];ue.value=ne.replace(/(\r?\n|\r)$/g,"")}function O(ne){const ue=this.resume(),Ae=this.stack[this.stack.length-1];Ae.label=ue,Ae.identifier=Tn(this.sliceSerialize(ne)).toLowerCase()}function w(){const ne=this.resume(),ue=this.stack[this.stack.length-1];ue.title=ne}function _(){const ne=this.resume(),ue=this.stack[this.stack.length-1];ue.url=ne}function R(ne){const ue=this.stack[this.stack.length-1];if(!ue.depth){const Ae=this.sliceSerialize(ne).length;ue.depth=Ae}}function k(){this.data.setextHeadingSlurpLineEnding=!0}function T(ne){const ue=this.stack[this.stack.length-1];ue.depth=this.sliceSerialize(ne).codePointAt(0)===61?1:2}function S(){this.data.setextHeadingSlurpLineEnding=void 0}function q(ne){const Ae=this.stack[this.stack.length-1].children;let Ne=Ae[Ae.length-1];(!Ne||Ne.type!=="text")&&(Ne=Tt(),Ne.position={start:U0(ne.start),end:void 0},Ae.push(Ne)),this.stack.push(Ne)}function L(ne){const ue=this.stack.pop();ue.value+=this.sliceSerialize(ne),ue.position.end=U0(ne.end)}function X(ne){const ue=this.stack[this.stack.length-1];if(this.data.atHardBreak){const Ae=ue.children[ue.children.length-1];Ae.position.end=U0(ne.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&r.canContainEols.includes(ue.type)&&(q.call(this,ne),L.call(this,ne))}function K(){this.data.atHardBreak=!0}function ie(){const ne=this.resume(),ue=this.stack[this.stack.length-1];ue.value=ne}function Z(){const ne=this.resume(),ue=this.stack[this.stack.length-1];ue.value=ne}function $(){const ne=this.resume(),ue=this.stack[this.stack.length-1];ue.value=ne}function P(){const ne=this.stack[this.stack.length-1];if(this.data.inReference){const ue=this.data.referenceType||"shortcut";ne.type+="Reference",ne.referenceType=ue,delete ne.url,delete ne.title}else delete ne.identifier,delete ne.label;this.data.referenceType=void 0}function Y(){const ne=this.stack[this.stack.length-1];if(this.data.inReference){const ue=this.data.referenceType||"shortcut";ne.type+="Reference",ne.referenceType=ue,delete ne.url,delete ne.title}else delete ne.identifier,delete ne.label;this.data.referenceType=void 0}function oe(ne){const ue=this.sliceSerialize(ne),Ae=this.stack[this.stack.length-2];Ae.label=qF(ue),Ae.identifier=Tn(ue).toLowerCase()}function fe(){const ne=this.stack[this.stack.length-1],ue=this.resume(),Ae=this.stack[this.stack.length-1];if(this.data.inReference=!0,Ae.type==="link"){const Ne=ne.children;Ae.children=Ne}else Ae.alt=ue}function M(){const ne=this.resume(),ue=this.stack[this.stack.length-1];ue.url=ne}function j(){const ne=this.resume(),ue=this.stack[this.stack.length-1];ue.title=ne}function W(){this.data.inReference=void 0}function N(){this.data.referenceType="collapsed"}function ae(ne){const ue=this.resume(),Ae=this.stack[this.stack.length-1];Ae.label=ue,Ae.identifier=Tn(this.sliceSerialize(ne)).toLowerCase(),this.data.referenceType="full"}function ce(ne){this.data.characterReferenceType=ne.type}function xe(ne){const ue=this.sliceSerialize(ne),Ae=this.data.characterReferenceType;let Ne;Ae?(Ne=Sp(ue,Ae==="characterReferenceMarkerNumeric"?10:16),this.data.characterReferenceType=void 0):Ne=Pc(ue);const Ve=this.stack[this.stack.length-1];Ve.value+=Ne}function Ee(ne){const ue=this.stack.pop();ue.position.end=U0(ne.end)}function Pe(ne){L.call(this,ne);const ue=this.stack[this.stack.length-1];ue.url=this.sliceSerialize(ne)}function Ce(ne){L.call(this,ne);const ue=this.stack[this.stack.length-1];ue.url="mailto:"+this.sliceSerialize(ne)}function Bt(){return{type:"blockquote",children:[]}}function ot(){return{type:"code",lang:null,meta:null,value:""}}function fn(){return{type:"inlineCode",value:""}}function Zt(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function ut(){return{type:"emphasis",children:[]}}function Pt(){return{type:"heading",depth:0,children:[]}}function dn(){return{type:"break"}}function $n(){return{type:"html",value:""}}function jn(){return{type:"image",title:null,url:"",alt:null}}function At(){return{type:"link",title:null,url:"",children:[]}}function Ar(ne){return{type:"list",ordered:ne.type==="listOrdered",start:null,spread:ne._spread,children:[]}}function St(ne){return{type:"listItem",spread:ne._spread,checked:null,children:[]}}function Go(){return{type:"paragraph",children:[]}}function Qo(){return{type:"strong",children:[]}}function Tt(){return{type:"text",value:""}}function Yo(){return{type:"thematicBreak"}}}function U0(e){return{line:e.line,column:e.column,offset:e.offset}}function Up(e,r){let a=-1;for(;++a<r.length;){const i=r[a];Array.isArray(i)?Up(e,i):GF(e,i)}}function GF(e,r){let a;for(a in r)if(Pp.call(r,a))switch(a){case"canContainEols":{const i=r[a];i&&e[a].push(...i);break}case"transforms":{const i=r[a];i&&e[a].push(...i);break}case"enter":case"exit":{const i=r[a];i&&Object.assign(e[a],i);break}}}function u8(e,r){throw e?new Error("Cannot close `"+e.type+"` ("+gl({start:e.start,end:e.end})+"): a different token (`"+r.type+"`, "+gl({start:r.start,end:r.end})+") is open"):new Error("Cannot close document, a token (`"+r.type+"`, "+gl({start:r.start,end:r.end})+") is still open")}function QF(e){const r=this;r.parser=a;function a(i){return VF(i,{...r.data("settings"),...e,extensions:r.data("micromarkExtensions")||[],mdastExtensions:r.data("fromMarkdownExtensions")||[]})}}function YF(e,r){const a={type:"element",tagName:"blockquote",properties:{},children:e.wrap(e.all(r),!0)};return e.patch(r,a),e.applyData(r,a)}function XF(e,r){const a={type:"element",tagName:"br",properties:{},children:[]};return e.patch(r,a),[e.applyData(r,a),{type:"text",value:`
16
+ `}]}function KF(e,r){const a=r.value?r.value+`
17
+ `:"",i={},s=r.lang?r.lang.split(/\s+/):[];s.length>0&&(i.className=["language-"+s[0]]);let x={type:"element",tagName:"code",properties:i,children:[{type:"text",value:a}]};return r.meta&&(x.data={meta:r.meta}),e.patch(r,x),x=e.applyData(r,x),x={type:"element",tagName:"pre",properties:{},children:[x]},e.patch(r,x),x}function ZF(e,r){const a={type:"element",tagName:"del",properties:{},children:e.all(r)};return e.patch(r,a),e.applyData(r,a)}function JF(e,r){const a={type:"element",tagName:"em",properties:{},children:e.all(r)};return e.patch(r,a),e.applyData(r,a)}function WF(e,r){const a=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",i=String(r.identifier).toUpperCase(),s=ma(i.toLowerCase()),x=e.footnoteOrder.indexOf(i);let u,f=e.footnoteCounts.get(i);f===void 0?(f=0,e.footnoteOrder.push(i),u=e.footnoteOrder.length):u=x+1,f+=1,e.footnoteCounts.set(i,f);const d={type:"element",tagName:"a",properties:{href:"#"+a+"fn-"+s,id:a+"fnref-"+s+(f>1?"-"+f:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(u)}]};e.patch(r,d);const h={type:"element",tagName:"sup",properties:{},children:[d]};return e.patch(r,h),e.applyData(r,h)}function ew(e,r){const a={type:"element",tagName:"h"+r.depth,properties:{},children:e.all(r)};return e.patch(r,a),e.applyData(r,a)}function tw(e,r){if(e.options.allowDangerousHtml){const a={type:"raw",value:r.value};return e.patch(r,a),e.applyData(r,a)}}function Hp(e,r){const a=r.referenceType;let i="]";if(a==="collapsed"?i+="[]":a==="full"&&(i+="["+(r.label||r.identifier)+"]"),r.type==="imageReference")return[{type:"text",value:"!["+r.alt+i}];const s=e.all(r),x=s[0];x&&x.type==="text"?x.value="["+x.value:s.unshift({type:"text",value:"["});const u=s[s.length-1];return u&&u.type==="text"?u.value+=i:s.push({type:"text",value:i}),s}function nw(e,r){const a=String(r.identifier).toUpperCase(),i=e.definitionById.get(a);if(!i)return Hp(e,r);const s={src:ma(i.url||""),alt:r.alt};i.title!==null&&i.title!==void 0&&(s.title=i.title);const x={type:"element",tagName:"img",properties:s,children:[]};return e.patch(r,x),e.applyData(r,x)}function rw(e,r){const a={src:ma(r.url)};r.alt!==null&&r.alt!==void 0&&(a.alt=r.alt),r.title!==null&&r.title!==void 0&&(a.title=r.title);const i={type:"element",tagName:"img",properties:a,children:[]};return e.patch(r,i),e.applyData(r,i)}function aw(e,r){const a={type:"text",value:r.value.replace(/\r?\n|\r/g," ")};e.patch(r,a);const i={type:"element",tagName:"code",properties:{},children:[a]};return e.patch(r,i),e.applyData(r,i)}function lw(e,r){const a=String(r.identifier).toUpperCase(),i=e.definitionById.get(a);if(!i)return Hp(e,r);const s={href:ma(i.url||"")};i.title!==null&&i.title!==void 0&&(s.title=i.title);const x={type:"element",tagName:"a",properties:s,children:e.all(r)};return e.patch(r,x),e.applyData(r,x)}function iw(e,r){const a={href:ma(r.url)};r.title!==null&&r.title!==void 0&&(a.title=r.title);const i={type:"element",tagName:"a",properties:a,children:e.all(r)};return e.patch(r,i),e.applyData(r,i)}function ow(e,r,a){const i=e.all(r),s=a?sw(a):qp(r),x={},u=[];if(typeof r.checked=="boolean"){const E=i[0];let p;E&&E.type==="element"&&E.tagName==="p"?p=E:(p={type:"element",tagName:"p",properties:{},children:[]},i.unshift(p)),p.children.length>0&&p.children.unshift({type:"text",value:" "}),p.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:r.checked,disabled:!0},children:[]}),x.className=["task-list-item"]}let f=-1;for(;++f<i.length;){const E=i[f];(s||f!==0||E.type!=="element"||E.tagName!=="p")&&u.push({type:"text",value:`
18
18
  `}),E.type==="element"&&E.tagName==="p"&&!s?u.push(...E.children):u.push(E)}const d=i[i.length-1];d&&(s||d.type!=="element"||d.tagName!=="p")&&u.push({type:"text",value:`
19
- `});const h={type:"element",tagName:"li",properties:x,children:u};return e.patch(r,h),e.applyData(r,h)}function iw(e){let r=!1;if(e.type==="list"){r=e.spread||!1;const a=e.children;let i=-1;for(;!r&&++i<a.length;)r=Hp(a[i])}return r}function Hp(e){const r=e.spread;return r??e.children.length>1}function ow(e,r){const a={},i=e.all(r);let s=-1;for(typeof r.start=="number"&&r.start!==1&&(a.start=r.start);++s<i.length;){const u=i[s];if(u.type==="element"&&u.tagName==="li"&&u.properties&&Array.isArray(u.properties.className)&&u.properties.className.includes("task-list-item")){a.className=["contains-task-list"];break}}const x={type:"element",tagName:r.ordered?"ol":"ul",properties:a,children:e.wrap(i,!0)};return e.patch(r,x),e.applyData(r,x)}function sw(e,r){const a={type:"element",tagName:"p",properties:{},children:e.all(r)};return e.patch(r,a),e.applyData(r,a)}function xw(e,r){const a={type:"root",children:e.wrap(e.all(r))};return e.patch(r,a),e.applyData(r,a)}function uw(e,r){const a={type:"element",tagName:"strong",properties:{},children:e.all(r)};return e.patch(r,a),e.applyData(r,a)}function cw(e,r){const a=e.all(r),i=a.shift(),s=[];if(i){const u={type:"element",tagName:"thead",properties:{},children:e.wrap([i],!0)};e.patch(r.children[0],u),s.push(u)}if(a.length>0){const u={type:"element",tagName:"tbody",properties:{},children:e.wrap(a,!0)},f=zc(r.children[1]),d=gp(r.children[r.children.length-1]);f&&d&&(u.position={start:f,end:d}),s.push(u)}const x={type:"element",tagName:"table",properties:{},children:e.wrap(s,!0)};return e.patch(r,x),e.applyData(r,x)}function fw(e,r,a){const i=a?a.children:void 0,x=(i?i.indexOf(r):1)===0?"th":"td",u=a&&a.type==="table"?a.align:void 0,f=u?u.length:r.children.length;let d=-1;const h=[];for(;++d<f;){const p=r.children[d],y={},C=u?u[d]:void 0;C&&(y.align=C);let A={type:"element",tagName:x,properties:y,children:[]};p&&(A.children=e.all(p),e.patch(p,A),A=e.applyData(p,A)),h.push(A)}const E={type:"element",tagName:"tr",properties:{},children:e.wrap(h,!0)};return e.patch(r,E),e.applyData(r,E)}function dw(e,r){const a={type:"element",tagName:"td",properties:{},children:e.all(r)};return e.patch(r,a),e.applyData(r,a)}const c8=9,f8=32;function hw(e){const r=String(e),a=/\r?\n|\r/g;let i=a.exec(r),s=0;const x=[];for(;i;)x.push(d8(r.slice(s,i.index),s>0,!0),i[0]),s=i.index+i[0].length,i=a.exec(r);return x.push(d8(r.slice(s),s>0,!1)),x.join("")}function d8(e,r,a){let i=0,s=e.length;if(r){let x=e.codePointAt(i);for(;x===c8||x===f8;)i++,x=e.codePointAt(i)}if(a){let x=e.codePointAt(s-1);for(;x===c8||x===f8;)s--,x=e.codePointAt(s-1)}return s>i?e.slice(i,s):""}function pw(e,r){const a={type:"text",value:hw(String(r.value))};return e.patch(r,a),e.applyData(r,a)}function mw(e,r){const a={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(r,a),e.applyData(r,a)}const Ew={blockquote:GF,break:QF,code:YF,delete:XF,emphasis:KF,footnoteReference:ZF,heading:JF,html:WF,imageReference:ew,image:tw,inlineCode:nw,linkReference:rw,link:aw,listItem:lw,list:ow,paragraph:sw,root:xw,strong:uw,table:cw,tableCell:dw,tableRow:fw,text:pw,thematicBreak:mw,toml:oo,yaml:oo,definition:oo,footnoteDefinition:oo};function oo(){}const qp=-1,qo=0,Al=1,No=2,Hc=3,qc=4,Ic=5,Vc=6,Ip=7,Vp=8,$p=typeof self=="object"?self:globalThis,h8=(e,r)=>{switch(e){case"Function":case"SharedWorker":case"Worker":case"eval":case"setInterval":case"setTimeout":throw new TypeError("unable to deserialize "+e)}return new $p[e](r)},Cw=(e,r)=>{const a=(s,x)=>(e.set(x,s),s),i=s=>{if(e.has(s))return e.get(s);const[x,u]=r[s];switch(x){case qo:case qp:return a(u,s);case Al:{const f=a([],s);for(const d of u)f.push(i(d));return f}case No:{const f=a({},s);for(const[d,h]of u)f[i(d)]=i(h);return f}case Hc:return a(new Date(u),s);case qc:{const{source:f,flags:d}=u;return a(new RegExp(f,d),s)}case Ic:{const f=a(new Map,s);for(const[d,h]of u)f.set(i(d),i(h));return f}case Vc:{const f=a(new Set,s);for(const d of u)f.add(i(d));return f}case Ip:{const{name:f,message:d}=u;return a(typeof $p[f]=="function"?h8(f,d):new Error(d),s)}case Vp:return a(BigInt(u),s);case"BigInt":return a(Object(BigInt(u)),s);case"ArrayBuffer":return a(new Uint8Array(u).buffer,u);case"DataView":{const{buffer:f}=new Uint8Array(u);return a(new DataView(f),u)}}return a(h8(x,u),s)};return i},p8=e=>Cw(new Map,e)(0),fr="",{toString:yw}={},{keys:gw}=Object,ml=e=>{const r=typeof e;if(r!=="object"||!e)return[qo,r];const a=yw.call(e).slice(8,-1);switch(a){case"Array":return[Al,fr];case"Object":return[No,fr];case"Date":return[Hc,fr];case"RegExp":return[qc,fr];case"Map":return[Ic,fr];case"Set":return[Vc,fr];case"DataView":return[Al,a]}return a.includes("Array")?[Al,a]:e instanceof Error?[Ip,e.name||"Error"]:[No,a]},so=([e,r])=>e===qo&&(r==="function"||r==="symbol"),Bw=(e,r,a,i)=>{const s=(u,f)=>{const d=i.push(u)-1;return a.set(f,d),d},x=u=>{if(a.has(u))return a.get(u);let[f,d]=ml(u);switch(f){case qo:{let E=u;switch(d){case"bigint":f=Vp,E=u.toString();break;case"function":case"symbol":if(e)throw new TypeError("unable to serialize "+d);E=null;break;case"undefined":return s([qp],u)}return s([f,E],u)}case Al:{if(d){let y=u;return d==="DataView"?y=new Uint8Array(u.buffer):d==="ArrayBuffer"&&(y=new Uint8Array(u)),s([d,[...y]],u)}const E=[],p=s([f,E],u);for(const y of u)E.push(x(y));return p}case No:{if(d)switch(d){case"BigInt":return s([d,u.toString()],u);case"Boolean":case"Number":case"String":return s([d,u.valueOf()],u)}if(r&&"toJSON"in u)return x(u.toJSON());const E=[],p=s([f,E],u);for(const y of gw(u))(e||!so(ml(u[y])))&&E.push([x(y),x(u[y])]);return p}case Hc:return s([f,isNaN(u.getTime())?fr:u.toISOString()],u);case qc:{const{source:E,flags:p}=u;return s([f,{source:E,flags:p}],u)}case Ic:{const E=[],p=s([f,E],u);for(const[y,C]of u)(e||!(so(ml(y))||so(ml(C))))&&E.push([x(y),x(C)]);return p}case Vc:{const E=[],p=s([f,E],u);for(const y of u)(e||!so(ml(y)))&&E.push(x(y));return p}}const{message:h}=u;return s([f,{name:d,message:h}],u)};return x},m8=(e,{json:r,lossy:a}={})=>{const i=[];return Bw(!(r||a),!!r,new Map,i)(e),i},_o=typeof structuredClone=="function"?(e,r)=>r&&("json"in r||"lossy"in r)?p8(m8(e,r)):structuredClone(e):(e,r)=>p8(m8(e,r));function Aw(e,r){const a=[{type:"text",value:"↩"}];return r>1&&a.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(r)}]}),a}function bw(e,r){return"Back to reference "+(e+1)+(r>1?"-"+r:"")}function Dw(e){const r=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",a=e.options.footnoteBackContent||Aw,i=e.options.footnoteBackLabel||bw,s=e.options.footnoteLabel||"Footnotes",x=e.options.footnoteLabelTagName||"h2",u=e.options.footnoteLabelProperties||{className:["sr-only"]},f=[];let d=-1;for(;++d<e.footnoteOrder.length;){const h=e.footnoteById.get(e.footnoteOrder[d]);if(!h)continue;const E=e.all(h),p=String(h.identifier).toUpperCase(),y=ma(p.toLowerCase());let C=0;const A=[],b=e.footnoteCounts.get(p);for(;b!==void 0&&++C<=b;){A.length>0&&A.push({type:"text",value:" "});let O=typeof a=="string"?a:a(d,C);typeof O=="string"&&(O={type:"text",value:O}),A.push({type:"element",tagName:"a",properties:{href:"#"+r+"fnref-"+y+(C>1?"-"+C:""),dataFootnoteBackref:"",ariaLabel:typeof i=="string"?i:i(d,C),className:["data-footnote-backref"]},children:Array.isArray(O)?O:[O]})}const D=E[E.length-1];if(D&&D.type==="element"&&D.tagName==="p"){const O=D.children[D.children.length-1];O&&O.type==="text"?O.value+=" ":D.children.push({type:"text",value:" "}),D.children.push(...A)}else E.push(...A);const F={type:"element",tagName:"li",properties:{id:r+"fn-"+y},children:e.wrap(E,!0)};e.patch(h,F),f.push(F)}if(f.length!==0)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:x,properties:{..._o(u),id:"footnote-label"},children:[{type:"text",value:s}]},{type:"text",value:`
19
+ `});const h={type:"element",tagName:"li",properties:x,children:u};return e.patch(r,h),e.applyData(r,h)}function sw(e){let r=!1;if(e.type==="list"){r=e.spread||!1;const a=e.children;let i=-1;for(;!r&&++i<a.length;)r=qp(a[i])}return r}function qp(e){const r=e.spread;return r??e.children.length>1}function xw(e,r){const a={},i=e.all(r);let s=-1;for(typeof r.start=="number"&&r.start!==1&&(a.start=r.start);++s<i.length;){const u=i[s];if(u.type==="element"&&u.tagName==="li"&&u.properties&&Array.isArray(u.properties.className)&&u.properties.className.includes("task-list-item")){a.className=["contains-task-list"];break}}const x={type:"element",tagName:r.ordered?"ol":"ul",properties:a,children:e.wrap(i,!0)};return e.patch(r,x),e.applyData(r,x)}function uw(e,r){const a={type:"element",tagName:"p",properties:{},children:e.all(r)};return e.patch(r,a),e.applyData(r,a)}function cw(e,r){const a={type:"root",children:e.wrap(e.all(r))};return e.patch(r,a),e.applyData(r,a)}function fw(e,r){const a={type:"element",tagName:"strong",properties:{},children:e.all(r)};return e.patch(r,a),e.applyData(r,a)}function dw(e,r){const a=e.all(r),i=a.shift(),s=[];if(i){const u={type:"element",tagName:"thead",properties:{},children:e.wrap([i],!0)};e.patch(r.children[0],u),s.push(u)}if(a.length>0){const u={type:"element",tagName:"tbody",properties:{},children:e.wrap(a,!0)},f=zc(r.children[1]),d=Bp(r.children[r.children.length-1]);f&&d&&(u.position={start:f,end:d}),s.push(u)}const x={type:"element",tagName:"table",properties:{},children:e.wrap(s,!0)};return e.patch(r,x),e.applyData(r,x)}function hw(e,r,a){const i=a?a.children:void 0,x=(i?i.indexOf(r):1)===0?"th":"td",u=a&&a.type==="table"?a.align:void 0,f=u?u.length:r.children.length;let d=-1;const h=[];for(;++d<f;){const p=r.children[d],y={},C=u?u[d]:void 0;C&&(y.align=C);let A={type:"element",tagName:x,properties:y,children:[]};p&&(A.children=e.all(p),e.patch(p,A),A=e.applyData(p,A)),h.push(A)}const E={type:"element",tagName:"tr",properties:{},children:e.wrap(h,!0)};return e.patch(r,E),e.applyData(r,E)}function pw(e,r){const a={type:"element",tagName:"td",properties:{},children:e.all(r)};return e.patch(r,a),e.applyData(r,a)}const c8=9,f8=32;function mw(e){const r=String(e),a=/\r?\n|\r/g;let i=a.exec(r),s=0;const x=[];for(;i;)x.push(d8(r.slice(s,i.index),s>0,!0),i[0]),s=i.index+i[0].length,i=a.exec(r);return x.push(d8(r.slice(s),s>0,!1)),x.join("")}function d8(e,r,a){let i=0,s=e.length;if(r){let x=e.codePointAt(i);for(;x===c8||x===f8;)i++,x=e.codePointAt(i)}if(a){let x=e.codePointAt(s-1);for(;x===c8||x===f8;)s--,x=e.codePointAt(s-1)}return s>i?e.slice(i,s):""}function Ew(e,r){const a={type:"text",value:mw(String(r.value))};return e.patch(r,a),e.applyData(r,a)}function Cw(e,r){const a={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(r,a),e.applyData(r,a)}const yw={blockquote:YF,break:XF,code:KF,delete:ZF,emphasis:JF,footnoteReference:WF,heading:ew,html:tw,imageReference:nw,image:rw,inlineCode:aw,linkReference:lw,link:iw,listItem:ow,list:xw,paragraph:uw,root:cw,strong:fw,table:dw,tableCell:pw,tableRow:hw,text:Ew,thematicBreak:Cw,toml:oo,yaml:oo,definition:oo,footnoteDefinition:oo};function oo(){}const Ip=-1,qo=0,Al=1,No=2,Hc=3,qc=4,Ic=5,Vc=6,Vp=7,$p=8,Gp=typeof self=="object"?self:globalThis,h8=(e,r)=>{switch(e){case"Function":case"SharedWorker":case"Worker":case"eval":case"setInterval":case"setTimeout":throw new TypeError("unable to deserialize "+e)}return new Gp[e](r)},gw=(e,r)=>{const a=(s,x)=>(e.set(x,s),s),i=s=>{if(e.has(s))return e.get(s);const[x,u]=r[s];switch(x){case qo:case Ip:return a(u,s);case Al:{const f=a([],s);for(const d of u)f.push(i(d));return f}case No:{const f=a({},s);for(const[d,h]of u)f[i(d)]=i(h);return f}case Hc:return a(new Date(u),s);case qc:{const{source:f,flags:d}=u;return a(new RegExp(f,d),s)}case Ic:{const f=a(new Map,s);for(const[d,h]of u)f.set(i(d),i(h));return f}case Vc:{const f=a(new Set,s);for(const d of u)f.add(i(d));return f}case Vp:{const{name:f,message:d}=u;return a(typeof Gp[f]=="function"?h8(f,d):new Error(d),s)}case $p:return a(BigInt(u),s);case"BigInt":return a(Object(BigInt(u)),s);case"ArrayBuffer":return a(new Uint8Array(u).buffer,u);case"DataView":{const{buffer:f}=new Uint8Array(u);return a(new DataView(f),u)}}return a(h8(x,u),s)};return i},p8=e=>gw(new Map,e)(0),fr="",{toString:Bw}={},{keys:Aw}=Object,ml=e=>{const r=typeof e;if(r!=="object"||!e)return[qo,r];const a=Bw.call(e).slice(8,-1);switch(a){case"Array":return[Al,fr];case"Object":return[No,fr];case"Date":return[Hc,fr];case"RegExp":return[qc,fr];case"Map":return[Ic,fr];case"Set":return[Vc,fr];case"DataView":return[Al,a]}return a.includes("Array")?[Al,a]:e instanceof Error?[Vp,e.name||"Error"]:[No,a]},so=([e,r])=>e===qo&&(r==="function"||r==="symbol"),bw=(e,r,a,i)=>{const s=(u,f)=>{const d=i.push(u)-1;return a.set(f,d),d},x=u=>{if(a.has(u))return a.get(u);let[f,d]=ml(u);switch(f){case qo:{let E=u;switch(d){case"bigint":f=$p,E=u.toString();break;case"function":case"symbol":if(e)throw new TypeError("unable to serialize "+d);E=null;break;case"undefined":return s([Ip],u)}return s([f,E],u)}case Al:{if(d){let y=u;return d==="DataView"?y=new Uint8Array(u.buffer):d==="ArrayBuffer"&&(y=new Uint8Array(u)),s([d,[...y]],u)}const E=[],p=s([f,E],u);for(const y of u)E.push(x(y));return p}case No:{if(d)switch(d){case"BigInt":return s([d,u.toString()],u);case"Boolean":case"Number":case"String":return s([d,u.valueOf()],u)}if(r&&"toJSON"in u)return x(u.toJSON());const E=[],p=s([f,E],u);for(const y of Aw(u))(e||!so(ml(u[y])))&&E.push([x(y),x(u[y])]);return p}case Hc:return s([f,isNaN(u.getTime())?fr:u.toISOString()],u);case qc:{const{source:E,flags:p}=u;return s([f,{source:E,flags:p}],u)}case Ic:{const E=[],p=s([f,E],u);for(const[y,C]of u)(e||!(so(ml(y))||so(ml(C))))&&E.push([x(y),x(C)]);return p}case Vc:{const E=[],p=s([f,E],u);for(const y of u)(e||!so(ml(y)))&&E.push(x(y));return p}}const{message:h}=u;return s([f,{name:d,message:h}],u)};return x},m8=(e,{json:r,lossy:a}={})=>{const i=[];return bw(!(r||a),!!r,new Map,i)(e),i},_o=typeof structuredClone=="function"?(e,r)=>r&&("json"in r||"lossy"in r)?p8(m8(e,r)):structuredClone(e):(e,r)=>p8(m8(e,r));function Dw(e,r){const a=[{type:"text",value:"↩"}];return r>1&&a.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(r)}]}),a}function vw(e,r){return"Back to reference "+(e+1)+(r>1?"-"+r:"")}function kw(e){const r=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",a=e.options.footnoteBackContent||Dw,i=e.options.footnoteBackLabel||vw,s=e.options.footnoteLabel||"Footnotes",x=e.options.footnoteLabelTagName||"h2",u=e.options.footnoteLabelProperties||{className:["sr-only"]},f=[];let d=-1;for(;++d<e.footnoteOrder.length;){const h=e.footnoteById.get(e.footnoteOrder[d]);if(!h)continue;const E=e.all(h),p=String(h.identifier).toUpperCase(),y=ma(p.toLowerCase());let C=0;const A=[],b=e.footnoteCounts.get(p);for(;b!==void 0&&++C<=b;){A.length>0&&A.push({type:"text",value:" "});let O=typeof a=="string"?a:a(d,C);typeof O=="string"&&(O={type:"text",value:O}),A.push({type:"element",tagName:"a",properties:{href:"#"+r+"fnref-"+y+(C>1?"-"+C:""),dataFootnoteBackref:"",ariaLabel:typeof i=="string"?i:i(d,C),className:["data-footnote-backref"]},children:Array.isArray(O)?O:[O]})}const D=E[E.length-1];if(D&&D.type==="element"&&D.tagName==="p"){const O=D.children[D.children.length-1];O&&O.type==="text"?O.value+=" ":D.children.push({type:"text",value:" "}),D.children.push(...A)}else E.push(...A);const F={type:"element",tagName:"li",properties:{id:r+"fn-"+y},children:e.wrap(E,!0)};e.patch(h,F),f.push(F)}if(f.length!==0)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:x,properties:{..._o(u),id:"footnote-label"},children:[{type:"text",value:s}]},{type:"text",value:`
20
20
  `},{type:"element",tagName:"ol",properties:{},children:e.wrap(f,!0)},{type:"text",value:`
21
- `}]}}const Io=(function(e){if(e==null)return ww;if(typeof e=="function")return Vo(e);if(typeof e=="object")return Array.isArray(e)?vw(e):kw(e);if(typeof e=="string")return Fw(e);throw new Error("Expected function, string, or object as test")});function vw(e){const r=[];let a=-1;for(;++a<e.length;)r[a]=Io(e[a]);return Vo(i);function i(...s){let x=-1;for(;++x<r.length;)if(r[x].apply(this,s))return!0;return!1}}function kw(e){const r=e;return Vo(a);function a(i){const s=i;let x;for(x in e)if(s[x]!==r[x])return!1;return!0}}function Fw(e){return Vo(r);function r(a){return a&&a.type===e}}function Vo(e){return r;function r(a,i,s){return!!(Sw(a)&&e.call(this,a,typeof i=="number"?i:void 0,s||void 0))}}function ww(){return!0}function Sw(e){return e!==null&&typeof e=="object"&&"type"in e}const Gp=[],Mw=!0,rc=!1,Nw="skip";function Qp(e,r,a,i){let s;typeof r=="function"&&typeof a!="function"?(i=a,a=r):s=r;const x=Io(s),u=i?-1:1;f(e,void 0,[])();function f(d,h,E){const p=d&&typeof d=="object"?d:{};if(typeof p.type=="string"){const C=typeof p.tagName=="string"?p.tagName:typeof p.name=="string"?p.name:void 0;Object.defineProperty(y,"name",{value:"node ("+(d.type+(C?"<"+C+">":""))+")"})}return y;function y(){let C=Gp,A,b,D;if((!r||x(d,h,E[E.length-1]||void 0))&&(C=_w(a(d,E)),C[0]===rc))return C;if("children"in d&&d.children){const F=d;if(F.children&&C[0]!==Nw)for(b=(i?F.children.length:-1)+u,D=E.concat(F);b>-1&&b<F.children.length;){const O=F.children[b];if(A=f(O,b,D)(),A[0]===rc)return A;b=typeof A[1]=="number"?A[1]:b+u}}return C}}}function _w(e){return Array.isArray(e)?e:typeof e=="number"?[Mw,e]:e==null?Gp:[e]}function $c(e,r,a,i){let s,x,u;typeof r=="function"&&typeof a!="function"?(x=void 0,u=r,s=a):(x=r,u=a,s=i),Qp(e,x,f,s);function f(d,h){const E=h[h.length-1],p=E?E.children.indexOf(d):void 0;return u(d,p,E)}}const ac={}.hasOwnProperty,Tw={};function zw(e,r){const a=r||Tw,i=new Map,s=new Map,x=new Map,u={...Ew,...a.handlers},f={all:h,applyData:Rw,definitionById:i,footnoteById:s,footnoteCounts:x,footnoteOrder:[],handlers:u,one:d,options:a,patch:jw,wrap:Lw};return $c(e,function(E){if(E.type==="definition"||E.type==="footnoteDefinition"){const p=E.type==="definition"?i:s,y=String(E.identifier).toUpperCase();p.has(y)||p.set(y,E)}}),f;function d(E,p){const y=E.type,C=f.handlers[y];if(ac.call(f.handlers,y)&&C)return C(f,E,p);if(f.options.passThrough&&f.options.passThrough.includes(y)){if("children"in E){const{children:b,...D}=E,F=_o(D);return F.children=f.all(E),F}return _o(E)}return(f.options.unknownHandler||Ow)(f,E,p)}function h(E){const p=[];if("children"in E){const y=E.children;let C=-1;for(;++C<y.length;){const A=f.one(y[C],E);if(A){if(C&&y[C-1].type==="break"&&(!Array.isArray(A)&&A.type==="text"&&(A.value=E8(A.value)),!Array.isArray(A)&&A.type==="element")){const b=A.children[0];b&&b.type==="text"&&(b.value=E8(b.value))}Array.isArray(A)?p.push(...A):p.push(A)}}}return p}}function jw(e,r){e.position&&(r.position=bv(e))}function Rw(e,r){let a=r;if(e&&e.data){const i=e.data.hName,s=e.data.hChildren,x=e.data.hProperties;if(typeof i=="string")if(a.type==="element")a.tagName=i;else{const u="children"in a?a.children:[a];a={type:"element",tagName:i,properties:{},children:u}}a.type==="element"&&x&&Object.assign(a.properties,_o(x)),"children"in a&&a.children&&s!==null&&s!==void 0&&(a.children=s)}return a}function Ow(e,r){const a=r.data||{},i="value"in r&&!(ac.call(a,"hProperties")||ac.call(a,"hChildren"))?{type:"text",value:r.value}:{type:"element",tagName:"div",properties:{},children:e.all(r)};return e.patch(r,i),e.applyData(r,i)}function Lw(e,r){const a=[];let i=-1;for(r&&a.push({type:"text",value:`
21
+ `}]}}const Io=(function(e){if(e==null)return Mw;if(typeof e=="function")return Vo(e);if(typeof e=="object")return Array.isArray(e)?Fw(e):ww(e);if(typeof e=="string")return Sw(e);throw new Error("Expected function, string, or object as test")});function Fw(e){const r=[];let a=-1;for(;++a<e.length;)r[a]=Io(e[a]);return Vo(i);function i(...s){let x=-1;for(;++x<r.length;)if(r[x].apply(this,s))return!0;return!1}}function ww(e){const r=e;return Vo(a);function a(i){const s=i;let x;for(x in e)if(s[x]!==r[x])return!1;return!0}}function Sw(e){return Vo(r);function r(a){return a&&a.type===e}}function Vo(e){return r;function r(a,i,s){return!!(Nw(a)&&e.call(this,a,typeof i=="number"?i:void 0,s||void 0))}}function Mw(){return!0}function Nw(e){return e!==null&&typeof e=="object"&&"type"in e}const Qp=[],_w=!0,rc=!1,Tw="skip";function Yp(e,r,a,i){let s;typeof r=="function"&&typeof a!="function"?(i=a,a=r):s=r;const x=Io(s),u=i?-1:1;f(e,void 0,[])();function f(d,h,E){const p=d&&typeof d=="object"?d:{};if(typeof p.type=="string"){const C=typeof p.tagName=="string"?p.tagName:typeof p.name=="string"?p.name:void 0;Object.defineProperty(y,"name",{value:"node ("+(d.type+(C?"<"+C+">":""))+")"})}return y;function y(){let C=Qp,A,b,D;if((!r||x(d,h,E[E.length-1]||void 0))&&(C=zw(a(d,E)),C[0]===rc))return C;if("children"in d&&d.children){const F=d;if(F.children&&C[0]!==Tw)for(b=(i?F.children.length:-1)+u,D=E.concat(F);b>-1&&b<F.children.length;){const O=F.children[b];if(A=f(O,b,D)(),A[0]===rc)return A;b=typeof A[1]=="number"?A[1]:b+u}}return C}}}function zw(e){return Array.isArray(e)?e:typeof e=="number"?[_w,e]:e==null?Qp:[e]}function $c(e,r,a,i){let s,x,u;typeof r=="function"&&typeof a!="function"?(x=void 0,u=r,s=a):(x=r,u=a,s=i),Yp(e,x,f,s);function f(d,h){const E=h[h.length-1],p=E?E.children.indexOf(d):void 0;return u(d,p,E)}}const ac={}.hasOwnProperty,jw={};function Rw(e,r){const a=r||jw,i=new Map,s=new Map,x=new Map,u={...yw,...a.handlers},f={all:h,applyData:Lw,definitionById:i,footnoteById:s,footnoteCounts:x,footnoteOrder:[],handlers:u,one:d,options:a,patch:Ow,wrap:Uw};return $c(e,function(E){if(E.type==="definition"||E.type==="footnoteDefinition"){const p=E.type==="definition"?i:s,y=String(E.identifier).toUpperCase();p.has(y)||p.set(y,E)}}),f;function d(E,p){const y=E.type,C=f.handlers[y];if(ac.call(f.handlers,y)&&C)return C(f,E,p);if(f.options.passThrough&&f.options.passThrough.includes(y)){if("children"in E){const{children:b,...D}=E,F=_o(D);return F.children=f.all(E),F}return _o(E)}return(f.options.unknownHandler||Pw)(f,E,p)}function h(E){const p=[];if("children"in E){const y=E.children;let C=-1;for(;++C<y.length;){const A=f.one(y[C],E);if(A){if(C&&y[C-1].type==="break"&&(!Array.isArray(A)&&A.type==="text"&&(A.value=E8(A.value)),!Array.isArray(A)&&A.type==="element")){const b=A.children[0];b&&b.type==="text"&&(b.value=E8(b.value))}Array.isArray(A)?p.push(...A):p.push(A)}}}return p}}function Ow(e,r){e.position&&(r.position=vv(e))}function Lw(e,r){let a=r;if(e&&e.data){const i=e.data.hName,s=e.data.hChildren,x=e.data.hProperties;if(typeof i=="string")if(a.type==="element")a.tagName=i;else{const u="children"in a?a.children:[a];a={type:"element",tagName:i,properties:{},children:u}}a.type==="element"&&x&&Object.assign(a.properties,_o(x)),"children"in a&&a.children&&s!==null&&s!==void 0&&(a.children=s)}return a}function Pw(e,r){const a=r.data||{},i="value"in r&&!(ac.call(a,"hProperties")||ac.call(a,"hChildren"))?{type:"text",value:r.value}:{type:"element",tagName:"div",properties:{},children:e.all(r)};return e.patch(r,i),e.applyData(r,i)}function Uw(e,r){const a=[];let i=-1;for(r&&a.push({type:"text",value:`
22
22
  `});++i<e.length;)i&&a.push({type:"text",value:`
23
23
  `}),a.push(e[i]);return r&&e.length>0&&a.push({type:"text",value:`
24
- `}),a}function E8(e){let r=0,a=e.charCodeAt(r);for(;a===9||a===32;)r++,a=e.charCodeAt(r);return e.slice(r)}function C8(e,r){const a=zw(e,r),i=a.one(e,void 0),s=Dw(a),x=Array.isArray(i)?{type:"root",children:i}:i||{type:"root",children:[]};return s&&x.children.push({type:"text",value:`
25
- `},s),x}function Pw(e,r){return e&&"run"in e?async function(a,i){const s=C8(a,{file:i,...r});await e.run(s,i)}:function(a,i){return C8(a,{file:i,...e||r})}}function y8(e){if(e)throw e}var Du,g8;function Uw(){if(g8)return Du;g8=1;var e=Object.prototype.hasOwnProperty,r=Object.prototype.toString,a=Object.defineProperty,i=Object.getOwnPropertyDescriptor,s=function(h){return typeof Array.isArray=="function"?Array.isArray(h):r.call(h)==="[object Array]"},x=function(h){if(!h||r.call(h)!=="[object Object]")return!1;var E=e.call(h,"constructor"),p=h.constructor&&h.constructor.prototype&&e.call(h.constructor.prototype,"isPrototypeOf");if(h.constructor&&!E&&!p)return!1;var y;for(y in h);return typeof y>"u"||e.call(h,y)},u=function(h,E){a&&E.name==="__proto__"?a(h,E.name,{enumerable:!0,configurable:!0,value:E.newValue,writable:!0}):h[E.name]=E.newValue},f=function(h,E){if(E==="__proto__")if(e.call(h,E)){if(i)return i(h,E).value}else return;return h[E]};return Du=function d(){var h,E,p,y,C,A,b=arguments[0],D=1,F=arguments.length,O=!1;for(typeof b=="boolean"&&(O=b,b=arguments[1]||{},D=2),(b==null||typeof b!="object"&&typeof b!="function")&&(b={});D<F;++D)if(h=arguments[D],h!=null)for(E in h)p=f(b,E),y=f(h,E),b!==y&&(O&&y&&(x(y)||(C=s(y)))?(C?(C=!1,A=p&&s(p)?p:[]):A=p&&x(p)?p:{},u(b,{name:E,newValue:d(O,A,y)})):typeof y<"u"&&u(b,{name:E,newValue:y}));return b},Du}var Hw=Uw();const vu=zo(Hw);function lc(e){if(typeof e!="object"||e===null)return!1;const r=Object.getPrototypeOf(e);return(r===null||r===Object.prototype||Object.getPrototypeOf(r)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function qw(){const e=[],r={run:a,use:i};return r;function a(...s){let x=-1;const u=s.pop();if(typeof u!="function")throw new TypeError("Expected function as last argument, not "+u);f(null,...s);function f(d,...h){const E=e[++x];let p=-1;if(d){u(d);return}for(;++p<s.length;)(h[p]===null||h[p]===void 0)&&(h[p]=s[p]);s=h,E?Iw(E,f)(...h):u(null,...h)}}function i(s){if(typeof s!="function")throw new TypeError("Expected `middelware` to be a function, not "+s);return e.push(s),r}}function Iw(e,r){let a;return i;function i(...u){const f=e.length>u.length;let d;f&&u.push(s);try{d=e.apply(this,u)}catch(h){const E=h;if(f&&a)throw E;return s(E)}f||(d&&d.then&&typeof d.then=="function"?d.then(x,s):d instanceof Error?s(d):x(d))}function s(u,...f){a||(a=!0,r(u,...f))}function x(u){s(null,u)}}const qn={basename:Vw,dirname:$w,extname:Gw,join:Qw,sep:"/"};function Vw(e,r){if(r!==void 0&&typeof r!="string")throw new TypeError('"ext" argument must be a string');Pl(e);let a=0,i=-1,s=e.length,x;if(r===void 0||r.length===0||r.length>e.length){for(;s--;)if(e.codePointAt(s)===47){if(x){a=s+1;break}}else i<0&&(x=!0,i=s+1);return i<0?"":e.slice(a,i)}if(r===e)return"";let u=-1,f=r.length-1;for(;s--;)if(e.codePointAt(s)===47){if(x){a=s+1;break}}else u<0&&(x=!0,u=s+1),f>-1&&(e.codePointAt(s)===r.codePointAt(f--)?f<0&&(i=s):(f=-1,i=u));return a===i?i=u:i<0&&(i=e.length),e.slice(a,i)}function $w(e){if(Pl(e),e.length===0)return".";let r=-1,a=e.length,i;for(;--a;)if(e.codePointAt(a)===47){if(i){r=a;break}}else i||(i=!0);return r<0?e.codePointAt(0)===47?"/":".":r===1&&e.codePointAt(0)===47?"//":e.slice(0,r)}function Gw(e){Pl(e);let r=e.length,a=-1,i=0,s=-1,x=0,u;for(;r--;){const f=e.codePointAt(r);if(f===47){if(u){i=r+1;break}continue}a<0&&(u=!0,a=r+1),f===46?s<0?s=r:x!==1&&(x=1):s>-1&&(x=-1)}return s<0||a<0||x===0||x===1&&s===a-1&&s===i+1?"":e.slice(s,a)}function Qw(...e){let r=-1,a;for(;++r<e.length;)Pl(e[r]),e[r]&&(a=a===void 0?e[r]:a+"/"+e[r]);return a===void 0?".":Yw(a)}function Yw(e){Pl(e);const r=e.codePointAt(0)===47;let a=Xw(e,!r);return a.length===0&&!r&&(a="."),a.length>0&&e.codePointAt(e.length-1)===47&&(a+="/"),r?"/"+a:a}function Xw(e,r){let a="",i=0,s=-1,x=0,u=-1,f,d;for(;++u<=e.length;){if(u<e.length)f=e.codePointAt(u);else{if(f===47)break;f=47}if(f===47){if(!(s===u-1||x===1))if(s!==u-1&&x===2){if(a.length<2||i!==2||a.codePointAt(a.length-1)!==46||a.codePointAt(a.length-2)!==46){if(a.length>2){if(d=a.lastIndexOf("/"),d!==a.length-1){d<0?(a="",i=0):(a=a.slice(0,d),i=a.length-1-a.lastIndexOf("/")),s=u,x=0;continue}}else if(a.length>0){a="",i=0,s=u,x=0;continue}}r&&(a=a.length>0?a+"/..":"..",i=2)}else a.length>0?a+="/"+e.slice(s+1,u):a=e.slice(s+1,u),i=u-s-1;s=u,x=0}else f===46&&x>-1?x++:x=-1}return a}function Pl(e){if(typeof e!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}const Kw={cwd:Zw};function Zw(){return"/"}function ic(e){return!!(e!==null&&typeof e=="object"&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&e.auth===void 0)}function Jw(e){if(typeof e=="string")e=new URL(e);else if(!ic(e)){const r=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");throw r.code="ERR_INVALID_ARG_TYPE",r}if(e.protocol!=="file:"){const r=new TypeError("The URL must be of scheme file");throw r.code="ERR_INVALID_URL_SCHEME",r}return Ww(e)}function Ww(e){if(e.hostname!==""){const i=new TypeError('File URL host must be "localhost" or empty on darwin');throw i.code="ERR_INVALID_FILE_URL_HOST",i}const r=e.pathname;let a=-1;for(;++a<r.length;)if(r.codePointAt(a)===37&&r.codePointAt(a+1)===50){const i=r.codePointAt(a+2);if(i===70||i===102){const s=new TypeError("File URL path must not include encoded / characters");throw s.code="ERR_INVALID_FILE_URL_PATH",s}}return decodeURIComponent(r)}const ku=["history","path","basename","stem","extname","dirname"];class Yp{constructor(r){let a;r?ic(r)?a={path:r}:typeof r=="string"||eS(r)?a={value:r}:a=r:a={},this.cwd="cwd"in a?"":Kw.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let i=-1;for(;++i<ku.length;){const x=ku[i];x in a&&a[x]!==void 0&&a[x]!==null&&(this[x]=x==="history"?[...a[x]]:a[x])}let s;for(s in a)ku.includes(s)||(this[s]=a[s])}get basename(){return typeof this.path=="string"?qn.basename(this.path):void 0}set basename(r){wu(r,"basename"),Fu(r,"basename"),this.path=qn.join(this.dirname||"",r)}get dirname(){return typeof this.path=="string"?qn.dirname(this.path):void 0}set dirname(r){B8(this.basename,"dirname"),this.path=qn.join(r||"",this.basename)}get extname(){return typeof this.path=="string"?qn.extname(this.path):void 0}set extname(r){if(Fu(r,"extname"),B8(this.dirname,"extname"),r){if(r.codePointAt(0)!==46)throw new Error("`extname` must start with `.`");if(r.includes(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=qn.join(this.dirname,this.stem+(r||""))}get path(){return this.history[this.history.length-1]}set path(r){ic(r)&&(r=Jw(r)),wu(r,"path"),this.path!==r&&this.history.push(r)}get stem(){return typeof this.path=="string"?qn.basename(this.path,this.extname):void 0}set stem(r){wu(r,"stem"),Fu(r,"stem"),this.path=qn.join(this.dirname||"",r+(this.extname||""))}fail(r,a,i){const s=this.message(r,a,i);throw s.fatal=!0,s}info(r,a,i){const s=this.message(r,a,i);return s.fatal=void 0,s}message(r,a,i){const s=new _t(r,a,i);return this.path&&(s.name=this.path+":"+s.name,s.file=this.path),s.fatal=!1,this.messages.push(s),s}toString(r){return this.value===void 0?"":typeof this.value=="string"?this.value:new TextDecoder(r||void 0).decode(this.value)}}function Fu(e,r){if(e&&e.includes(qn.sep))throw new Error("`"+r+"` cannot be a path: did not expect `"+qn.sep+"`")}function wu(e,r){if(!e)throw new Error("`"+r+"` cannot be empty")}function B8(e,r){if(!e)throw new Error("Setting `"+r+"` requires `path` to be set too")}function eS(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}const tS=(function(e){const i=this.constructor.prototype,s=i[e],x=function(){return s.apply(x,arguments)};return Object.setPrototypeOf(x,i),x}),nS={}.hasOwnProperty;class Gc extends tS{constructor(){super("copy"),this.Compiler=void 0,this.Parser=void 0,this.attachers=[],this.compiler=void 0,this.freezeIndex=-1,this.frozen=void 0,this.namespace={},this.parser=void 0,this.transformers=qw()}copy(){const r=new Gc;let a=-1;for(;++a<this.attachers.length;){const i=this.attachers[a];r.use(...i)}return r.data(vu(!0,{},this.namespace)),r}data(r,a){return typeof r=="string"?arguments.length===2?(Nu("data",this.frozen),this.namespace[r]=a,this):nS.call(this.namespace,r)&&this.namespace[r]||void 0:r?(Nu("data",this.frozen),this.namespace=r,this):this.namespace}freeze(){if(this.frozen)return this;const r=this;for(;++this.freezeIndex<this.attachers.length;){const[a,...i]=this.attachers[this.freezeIndex];if(i[0]===!1)continue;i[0]===!0&&(i[0]=void 0);const s=a.call(r,...i);typeof s=="function"&&this.transformers.use(s)}return this.frozen=!0,this.freezeIndex=Number.POSITIVE_INFINITY,this}parse(r){this.freeze();const a=xo(r),i=this.parser||this.Parser;return Su("parse",i),i(String(a),a)}process(r,a){const i=this;return this.freeze(),Su("process",this.parser||this.Parser),Mu("process",this.compiler||this.Compiler),a?s(void 0,a):new Promise(s);function s(x,u){const f=xo(r),d=i.parse(f);i.run(d,f,function(E,p,y){if(E||!p||!y)return h(E);const C=p,A=i.stringify(C,y);lS(A)?y.value=A:y.result=A,h(E,y)});function h(E,p){E||!p?u(E):x?x(p):a(void 0,p)}}}processSync(r){let a=!1,i;return this.freeze(),Su("processSync",this.parser||this.Parser),Mu("processSync",this.compiler||this.Compiler),this.process(r,s),b8("processSync","process",a),i;function s(x,u){a=!0,y8(x),i=u}}run(r,a,i){A8(r),this.freeze();const s=this.transformers;return!i&&typeof a=="function"&&(i=a,a=void 0),i?x(void 0,i):new Promise(x);function x(u,f){const d=xo(a);s.run(r,d,h);function h(E,p,y){const C=p||r;E?f(E):u?u(C):i(void 0,C,y)}}}runSync(r,a){let i=!1,s;return this.run(r,a,x),b8("runSync","run",i),s;function x(u,f){y8(u),s=f,i=!0}}stringify(r,a){this.freeze();const i=xo(a),s=this.compiler||this.Compiler;return Mu("stringify",s),A8(r),s(r,i)}use(r,...a){const i=this.attachers,s=this.namespace;if(Nu("use",this.frozen),r!=null)if(typeof r=="function")d(r,a);else if(typeof r=="object")Array.isArray(r)?f(r):u(r);else throw new TypeError("Expected usable value, not `"+r+"`");return this;function x(h){if(typeof h=="function")d(h,[]);else if(typeof h=="object")if(Array.isArray(h)){const[E,...p]=h;d(E,p)}else u(h);else throw new TypeError("Expected usable value, not `"+h+"`")}function u(h){if(!("plugins"in h)&&!("settings"in h))throw new Error("Expected usable value but received an empty preset, which is probably a mistake: presets typically come with `plugins` and sometimes with `settings`, but this has neither");f(h.plugins),h.settings&&(s.settings=vu(!0,s.settings,h.settings))}function f(h){let E=-1;if(h!=null)if(Array.isArray(h))for(;++E<h.length;){const p=h[E];x(p)}else throw new TypeError("Expected a list of plugins, not `"+h+"`")}function d(h,E){let p=-1,y=-1;for(;++p<i.length;)if(i[p][0]===h){y=p;break}if(y===-1)i.push([h,...E]);else if(E.length>0){let[C,...A]=E;const b=i[y][1];lc(b)&&lc(C)&&(C=vu(!0,b,C)),i[y]=[h,C,...A]}}}}const rS=new Gc().freeze();function Su(e,r){if(typeof r!="function")throw new TypeError("Cannot `"+e+"` without `parser`")}function Mu(e,r){if(typeof r!="function")throw new TypeError("Cannot `"+e+"` without `compiler`")}function Nu(e,r){if(r)throw new Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function A8(e){if(!lc(e)||typeof e.type!="string")throw new TypeError("Expected node, got `"+e+"`")}function b8(e,r,a){if(!a)throw new Error("`"+e+"` finished async. Use `"+r+"` instead")}function xo(e){return aS(e)?e:new Yp(e)}function aS(e){return!!(e&&typeof e=="object"&&"message"in e&&"messages"in e)}function lS(e){return typeof e=="string"||iS(e)}function iS(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}const oS="https://github.com/remarkjs/react-markdown/blob/main/changelog.md",D8=[],v8={allowDangerousHtml:!0},sS=/^(https?|ircs?|mailto|xmpp)$/i,xS=[{from:"astPlugins",id:"remove-buggy-html-in-markdown-parser"},{from:"allowDangerousHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"allowNode",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowElement"},{from:"allowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowedElements"},{from:"className",id:"remove-classname"},{from:"disallowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"disallowedElements"},{from:"escapeHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"includeElementIndex",id:"#remove-includeelementindex"},{from:"includeNodeIndex",id:"change-includenodeindex-to-includeelementindex"},{from:"linkTarget",id:"remove-linktarget"},{from:"plugins",id:"change-plugins-to-remarkplugins",to:"remarkPlugins"},{from:"rawSourcePos",id:"#remove-rawsourcepos"},{from:"renderers",id:"change-renderers-to-components",to:"components"},{from:"source",id:"change-source-to-children",to:"children"},{from:"sourcePos",id:"#remove-sourcepos"},{from:"transformImageUri",id:"#add-urltransform",to:"urlTransform"},{from:"transformLinkUri",id:"#add-urltransform",to:"urlTransform"}];function uS(e){const r=cS(e),a=fS(e);return dS(r.runSync(r.parse(a),a),e)}function cS(e){const r=e.rehypePlugins||D8,a=e.remarkPlugins||D8,i=e.remarkRehypeOptions?{...e.remarkRehypeOptions,...v8}:v8;return rS().use($F).use(a).use(Pw,i).use(r)}function fS(e){const r=e.children||"",a=new Yp;return typeof r=="string"&&(a.value=r),a}function dS(e,r){const a=r.allowedElements,i=r.allowElement,s=r.components,x=r.disallowedElements,u=r.skipHtml,f=r.unwrapDisallowed,d=r.urlTransform||hS;for(const E of xS)Object.hasOwn(r,E.from)&&(""+E.from+(E.to?"use `"+E.to+"` instead":"remove it")+oS+E.id,void 0);return $c(e,h),wv(e,{Fragment:g.Fragment,components:s,ignoreInvalidStyle:!0,jsx:g.jsx,jsxs:g.jsxs,passKeys:!0,passNode:!0});function h(E,p,y){if(E.type==="raw"&&y&&typeof p=="number")return u?y.children.splice(p,1):y.children[p]={type:"text",value:E.value},p;if(E.type==="element"){let C;for(C in Bu)if(Object.hasOwn(Bu,C)&&Object.hasOwn(E.properties,C)){const A=E.properties[C],b=Bu[C];(b===null||b.includes(E.tagName))&&(E.properties[C]=d(String(A||""),C,E))}}if(E.type==="element"){let C=a?!a.includes(E.tagName):x?x.includes(E.tagName):!1;if(!C&&i&&typeof p=="number"&&(C=!i(E,p,y)),C&&y&&typeof p=="number")return f&&E.children?y.children.splice(p,1,...E.children):y.children.splice(p,1),p}}}function hS(e){const r=e.indexOf(":"),a=e.indexOf("?"),i=e.indexOf("#"),s=e.indexOf("/");return r===-1||s!==-1&&r>s||a!==-1&&r>a||i!==-1&&r>i||sS.test(e.slice(0,r))?e:""}function pS(e){if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}function Xp(e,r,a){const s=Io((a||{}).ignore||[]),x=mS(r);let u=-1;for(;++u<x.length;)Qp(e,"text",f);function f(h,E){let p=-1,y;for(;++p<E.length;){const C=E[p],A=y?y.children:void 0;if(s(C,A?A.indexOf(C):void 0,y))return;y=C}if(y)return d(h,E)}function d(h,E){const p=E[E.length-1],y=x[u][0],C=x[u][1];let A=0;const D=p.children.indexOf(h);let F=!1,O=[];y.lastIndex=0;let w=y.exec(h.value);for(;w;){const _=w.index,R={index:w.index,input:w.input,stack:[...E,h]};let k=C(...w,R);if(typeof k=="string"&&(k=k.length>0?{type:"text",value:k}:void 0),k===!1?y.lastIndex=_+1:(A!==_&&O.push({type:"text",value:h.value.slice(A,_)}),Array.isArray(k)?O.push(...k):k&&O.push(k),A=_+w[0].length,F=!0),!y.global)break;w=y.exec(h.value)}return F?(A<h.value.length&&O.push({type:"text",value:h.value.slice(A)}),p.children.splice(D,1,...O)):O=[h],D+O.length}}function mS(e){const r=[];if(!Array.isArray(e))throw new TypeError("Expected find and replace tuple or list of tuples");const a=!e[0]||Array.isArray(e[0])?e:[e];let i=-1;for(;++i<a.length;){const s=a[i];r.push([ES(s[0]),CS(s[1])])}return r}function ES(e){return typeof e=="string"?new RegExp(pS(e),"g"):e}function CS(e){return typeof e=="function"?e:function(){return e}}function yS(e){Xp(e,[/\r?\n|\r/g,gS])}function gS(){return{type:"break"}}function BS(){return function(e){yS(e)}}function k8(e,r){const a=String(e);if(typeof r!="string")throw new TypeError("Expected character");let i=0,s=a.indexOf(r);for(;s!==-1;)i++,s=a.indexOf(r,s+r.length);return i}const _u="phrasing",Tu=["autolink","link","image","label"];function AS(){return{transforms:[SS],enter:{literalAutolink:DS,literalAutolinkEmail:zu,literalAutolinkHttp:zu,literalAutolinkWww:zu},exit:{literalAutolink:wS,literalAutolinkEmail:FS,literalAutolinkHttp:vS,literalAutolinkWww:kS}}}function bS(){return{unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:_u,notInConstruct:Tu},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:_u,notInConstruct:Tu},{character:":",before:"[ps]",after:"\\/",inConstruct:_u,notInConstruct:Tu}]}}function DS(e){this.enter({type:"link",title:null,url:"",children:[]},e)}function zu(e){this.config.enter.autolinkProtocol.call(this,e)}function vS(e){this.config.exit.autolinkProtocol.call(this,e)}function kS(e){this.config.exit.data.call(this,e);const r=this.stack[this.stack.length-1];r.type,r.url="http://"+this.sliceSerialize(e)}function FS(e){this.config.exit.autolinkEmail.call(this,e)}function wS(e){this.exit(e)}function SS(e){Xp(e,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,MS],[new RegExp("(?<=^|\\s|\\p{P}|\\p{S})([-.\\w+]+)@([-\\w]+(?:\\.[-\\w]+)+)","gu"),NS]],{ignore:["link","linkReference"]})}function MS(e,r,a,i,s){let x="";if(!Kp(s)||(/^w/i.test(r)&&(a=r+a,r="",x="http://"),!_S(a)))return!1;const u=TS(a+i);if(!u[0])return!1;const f={type:"link",title:null,url:x+r+u[0],children:[{type:"text",value:r+u[0]}]};return u[1]?[f,{type:"text",value:u[1]}]:f}function NS(e,r,a,i){return!Kp(i,!0)||/[-\d_]$/.test(a)?!1:{type:"link",title:null,url:"mailto:"+r+"@"+a,children:[{type:"text",value:r+"@"+a}]}}function _S(e){const r=e.split(".");return!(r.length<2||r[r.length-1]&&(/_/.test(r[r.length-1])||!/[a-zA-Z\d]/.test(r[r.length-1]))||r[r.length-2]&&(/_/.test(r[r.length-2])||!/[a-zA-Z\d]/.test(r[r.length-2])))}function TS(e){const r=/[!"&'),.:;<>?\]}]+$/.exec(e);if(!r)return[e,void 0];e=e.slice(0,r.index);let a=r[0],i=a.indexOf(")");const s=k8(e,"(");let x=k8(e,")");for(;i!==-1&&s>x;)e+=a.slice(0,i+1),a=a.slice(i+1),i=a.indexOf(")"),x++;return[e,a]}function Kp(e,r){const a=e.input.charCodeAt(e.index-1);return(e.index===0||Er(a)||Uo(a))&&(!r||a!==47)}Zp.peek=qS;function zS(){this.buffer()}function jS(e){this.enter({type:"footnoteReference",identifier:"",label:""},e)}function RS(){this.buffer()}function OS(e){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},e)}function LS(e){const r=this.resume(),a=this.stack[this.stack.length-1];a.type,a.identifier=Tn(this.sliceSerialize(e)).toLowerCase(),a.label=r}function PS(e){this.exit(e)}function US(e){const r=this.resume(),a=this.stack[this.stack.length-1];a.type,a.identifier=Tn(this.sliceSerialize(e)).toLowerCase(),a.label=r}function HS(e){this.exit(e)}function qS(){return"["}function Zp(e,r,a,i){const s=a.createTracker(i);let x=s.move("[^");const u=a.enter("footnoteReference"),f=a.enter("reference");return x+=s.move(a.safe(a.associationId(e),{after:"]",before:x})),f(),u(),x+=s.move("]"),x}function IS(){return{enter:{gfmFootnoteCallString:zS,gfmFootnoteCall:jS,gfmFootnoteDefinitionLabelString:RS,gfmFootnoteDefinition:OS},exit:{gfmFootnoteCallString:LS,gfmFootnoteCall:PS,gfmFootnoteDefinitionLabelString:US,gfmFootnoteDefinition:HS}}}function VS(e){let r=!1;return e&&e.firstLineBlank&&(r=!0),{handlers:{footnoteDefinition:a,footnoteReference:Zp},unsafe:[{character:"[",inConstruct:["label","phrasing","reference"]}]};function a(i,s,x,u){const f=x.createTracker(u);let d=f.move("[^");const h=x.enter("footnoteDefinition"),E=x.enter("label");return d+=f.move(x.safe(x.associationId(i),{before:d,after:"]"})),E(),d+=f.move("]:"),i.children&&i.children.length>0&&(f.shift(4),d+=f.move((r?`
26
- `:" ")+x.indentLines(x.containerFlow(i,f.current()),r?Jp:$S))),h(),d}}function $S(e,r,a){return r===0?e:Jp(e,r,a)}function Jp(e,r,a){return(a?"":" ")+e}const GS=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];Wp.peek=ZS;function QS(){return{canContainEols:["delete"],enter:{strikethrough:XS},exit:{strikethrough:KS}}}function YS(){return{unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:GS}],handlers:{delete:Wp}}}function XS(e){this.enter({type:"delete",children:[]},e)}function KS(e){this.exit(e)}function Wp(e,r,a,i){const s=a.createTracker(i),x=a.enter("strikethrough");let u=s.move("~~");return u+=a.containerPhrasing(e,{...s.current(),before:u,after:"~"}),u+=s.move("~~"),x(),u}function ZS(){return"~"}function JS(e){return e.length}function WS(e,r){const a=r||{},i=(a.align||[]).concat(),s=a.stringLength||JS,x=[],u=[],f=[],d=[];let h=0,E=-1;for(;++E<e.length;){const b=[],D=[];let F=-1;for(e[E].length>h&&(h=e[E].length);++F<e[E].length;){const O=eM(e[E][F]);if(a.alignDelimiters!==!1){const w=s(O);D[F]=w,(d[F]===void 0||w>d[F])&&(d[F]=w)}b.push(O)}u[E]=b,f[E]=D}let p=-1;if(typeof i=="object"&&"length"in i)for(;++p<h;)x[p]=F8(i[p]);else{const b=F8(i);for(;++p<h;)x[p]=b}p=-1;const y=[],C=[];for(;++p<h;){const b=x[p];let D="",F="";b===99?(D=":",F=":"):b===108?D=":":b===114&&(F=":");let O=a.alignDelimiters===!1?1:Math.max(1,d[p]-D.length-F.length);const w=D+"-".repeat(O)+F;a.alignDelimiters!==!1&&(O=D.length+O+F.length,O>d[p]&&(d[p]=O),C[p]=O),y[p]=w}u.splice(1,0,y),f.splice(1,0,C),E=-1;const A=[];for(;++E<u.length;){const b=u[E],D=f[E];p=-1;const F=[];for(;++p<h;){const O=b[p]||"";let w="",_="";if(a.alignDelimiters!==!1){const R=d[p]-(D[p]||0),k=x[p];k===114?w=" ".repeat(R):k===99?R%2?(w=" ".repeat(R/2+.5),_=" ".repeat(R/2-.5)):(w=" ".repeat(R/2),_=w):_=" ".repeat(R)}a.delimiterStart!==!1&&!p&&F.push("|"),a.padding!==!1&&!(a.alignDelimiters===!1&&O==="")&&(a.delimiterStart!==!1||p)&&F.push(" "),a.alignDelimiters!==!1&&F.push(w),F.push(O),a.alignDelimiters!==!1&&F.push(_),a.padding!==!1&&F.push(" "),(a.delimiterEnd!==!1||p!==h-1)&&F.push("|")}A.push(a.delimiterEnd===!1?F.join("").replace(/ +$/,""):F.join(""))}return A.join(`
27
- `)}function eM(e){return e==null?"":String(e)}function F8(e){const r=typeof e=="string"?e.codePointAt(0):0;return r===67||r===99?99:r===76||r===108?108:r===82||r===114?114:0}function tM(e,r,a,i){const s=a.enter("blockquote"),x=a.createTracker(i);x.move("> "),x.shift(2);const u=a.indentLines(a.containerFlow(e,x.current()),nM);return s(),u}function nM(e,r,a){return">"+(a?"":" ")+e}function rM(e,r){return w8(e,r.inConstruct,!0)&&!w8(e,r.notInConstruct,!1)}function w8(e,r,a){if(typeof r=="string"&&(r=[r]),!r||r.length===0)return a;let i=-1;for(;++i<r.length;)if(e.includes(r[i]))return!0;return!1}function S8(e,r,a,i){let s=-1;for(;++s<a.unsafe.length;)if(a.unsafe[s].character===`
28
- `&&rM(a.stack,a.unsafe[s]))return/[ \t]/.test(i.before)?"":" ";return`\\
29
- `}function aM(e,r){const a=String(e);let i=a.indexOf(r),s=i,x=0,u=0;if(typeof r!="string")throw new TypeError("Expected substring");for(;i!==-1;)i===s?++x>u&&(u=x):x=1,s=i+r.length,i=a.indexOf(r,s);return u}function lM(e,r){return!!(r.options.fences===!1&&e.value&&!e.lang&&/[^ \r\n]/.test(e.value)&&!/^[\t ]*(?:[\r\n]|$)|(?:^|[\r\n])[\t ]*$/.test(e.value))}function iM(e){const r=e.options.fence||"`";if(r!=="`"&&r!=="~")throw new Error("Cannot serialize code with `"+r+"` for `options.fence`, expected `` ` `` or `~`");return r}function oM(e,r,a,i){const s=iM(a),x=e.value||"",u=s==="`"?"GraveAccent":"Tilde";if(lM(e,a)){const p=a.enter("codeIndented"),y=a.indentLines(x,sM);return p(),y}const f=a.createTracker(i),d=s.repeat(Math.max(aM(x,s)+1,3)),h=a.enter("codeFenced");let E=f.move(d);if(e.lang){const p=a.enter(`codeFencedLang${u}`);E+=f.move(a.safe(e.lang,{before:E,after:" ",encode:["`"],...f.current()})),p()}if(e.lang&&e.meta){const p=a.enter(`codeFencedMeta${u}`);E+=f.move(" "),E+=f.move(a.safe(e.meta,{before:E,after:`
24
+ `}),a}function E8(e){let r=0,a=e.charCodeAt(r);for(;a===9||a===32;)r++,a=e.charCodeAt(r);return e.slice(r)}function C8(e,r){const a=Rw(e,r),i=a.one(e,void 0),s=kw(a),x=Array.isArray(i)?{type:"root",children:i}:i||{type:"root",children:[]};return s&&x.children.push({type:"text",value:`
25
+ `},s),x}function Hw(e,r){return e&&"run"in e?async function(a,i){const s=C8(a,{file:i,...r});await e.run(s,i)}:function(a,i){return C8(a,{file:i,...e||r})}}function y8(e){if(e)throw e}var Du,g8;function qw(){if(g8)return Du;g8=1;var e=Object.prototype.hasOwnProperty,r=Object.prototype.toString,a=Object.defineProperty,i=Object.getOwnPropertyDescriptor,s=function(h){return typeof Array.isArray=="function"?Array.isArray(h):r.call(h)==="[object Array]"},x=function(h){if(!h||r.call(h)!=="[object Object]")return!1;var E=e.call(h,"constructor"),p=h.constructor&&h.constructor.prototype&&e.call(h.constructor.prototype,"isPrototypeOf");if(h.constructor&&!E&&!p)return!1;var y;for(y in h);return typeof y>"u"||e.call(h,y)},u=function(h,E){a&&E.name==="__proto__"?a(h,E.name,{enumerable:!0,configurable:!0,value:E.newValue,writable:!0}):h[E.name]=E.newValue},f=function(h,E){if(E==="__proto__")if(e.call(h,E)){if(i)return i(h,E).value}else return;return h[E]};return Du=function d(){var h,E,p,y,C,A,b=arguments[0],D=1,F=arguments.length,O=!1;for(typeof b=="boolean"&&(O=b,b=arguments[1]||{},D=2),(b==null||typeof b!="object"&&typeof b!="function")&&(b={});D<F;++D)if(h=arguments[D],h!=null)for(E in h)p=f(b,E),y=f(h,E),b!==y&&(O&&y&&(x(y)||(C=s(y)))?(C?(C=!1,A=p&&s(p)?p:[]):A=p&&x(p)?p:{},u(b,{name:E,newValue:d(O,A,y)})):typeof y<"u"&&u(b,{name:E,newValue:y}));return b},Du}var Iw=qw();const vu=zo(Iw);function lc(e){if(typeof e!="object"||e===null)return!1;const r=Object.getPrototypeOf(e);return(r===null||r===Object.prototype||Object.getPrototypeOf(r)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function Vw(){const e=[],r={run:a,use:i};return r;function a(...s){let x=-1;const u=s.pop();if(typeof u!="function")throw new TypeError("Expected function as last argument, not "+u);f(null,...s);function f(d,...h){const E=e[++x];let p=-1;if(d){u(d);return}for(;++p<s.length;)(h[p]===null||h[p]===void 0)&&(h[p]=s[p]);s=h,E?$w(E,f)(...h):u(null,...h)}}function i(s){if(typeof s!="function")throw new TypeError("Expected `middelware` to be a function, not "+s);return e.push(s),r}}function $w(e,r){let a;return i;function i(...u){const f=e.length>u.length;let d;f&&u.push(s);try{d=e.apply(this,u)}catch(h){const E=h;if(f&&a)throw E;return s(E)}f||(d&&d.then&&typeof d.then=="function"?d.then(x,s):d instanceof Error?s(d):x(d))}function s(u,...f){a||(a=!0,r(u,...f))}function x(u){s(null,u)}}const qn={basename:Gw,dirname:Qw,extname:Yw,join:Xw,sep:"/"};function Gw(e,r){if(r!==void 0&&typeof r!="string")throw new TypeError('"ext" argument must be a string');Pl(e);let a=0,i=-1,s=e.length,x;if(r===void 0||r.length===0||r.length>e.length){for(;s--;)if(e.codePointAt(s)===47){if(x){a=s+1;break}}else i<0&&(x=!0,i=s+1);return i<0?"":e.slice(a,i)}if(r===e)return"";let u=-1,f=r.length-1;for(;s--;)if(e.codePointAt(s)===47){if(x){a=s+1;break}}else u<0&&(x=!0,u=s+1),f>-1&&(e.codePointAt(s)===r.codePointAt(f--)?f<0&&(i=s):(f=-1,i=u));return a===i?i=u:i<0&&(i=e.length),e.slice(a,i)}function Qw(e){if(Pl(e),e.length===0)return".";let r=-1,a=e.length,i;for(;--a;)if(e.codePointAt(a)===47){if(i){r=a;break}}else i||(i=!0);return r<0?e.codePointAt(0)===47?"/":".":r===1&&e.codePointAt(0)===47?"//":e.slice(0,r)}function Yw(e){Pl(e);let r=e.length,a=-1,i=0,s=-1,x=0,u;for(;r--;){const f=e.codePointAt(r);if(f===47){if(u){i=r+1;break}continue}a<0&&(u=!0,a=r+1),f===46?s<0?s=r:x!==1&&(x=1):s>-1&&(x=-1)}return s<0||a<0||x===0||x===1&&s===a-1&&s===i+1?"":e.slice(s,a)}function Xw(...e){let r=-1,a;for(;++r<e.length;)Pl(e[r]),e[r]&&(a=a===void 0?e[r]:a+"/"+e[r]);return a===void 0?".":Kw(a)}function Kw(e){Pl(e);const r=e.codePointAt(0)===47;let a=Zw(e,!r);return a.length===0&&!r&&(a="."),a.length>0&&e.codePointAt(e.length-1)===47&&(a+="/"),r?"/"+a:a}function Zw(e,r){let a="",i=0,s=-1,x=0,u=-1,f,d;for(;++u<=e.length;){if(u<e.length)f=e.codePointAt(u);else{if(f===47)break;f=47}if(f===47){if(!(s===u-1||x===1))if(s!==u-1&&x===2){if(a.length<2||i!==2||a.codePointAt(a.length-1)!==46||a.codePointAt(a.length-2)!==46){if(a.length>2){if(d=a.lastIndexOf("/"),d!==a.length-1){d<0?(a="",i=0):(a=a.slice(0,d),i=a.length-1-a.lastIndexOf("/")),s=u,x=0;continue}}else if(a.length>0){a="",i=0,s=u,x=0;continue}}r&&(a=a.length>0?a+"/..":"..",i=2)}else a.length>0?a+="/"+e.slice(s+1,u):a=e.slice(s+1,u),i=u-s-1;s=u,x=0}else f===46&&x>-1?x++:x=-1}return a}function Pl(e){if(typeof e!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}const Jw={cwd:Ww};function Ww(){return"/"}function ic(e){return!!(e!==null&&typeof e=="object"&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&e.auth===void 0)}function eS(e){if(typeof e=="string")e=new URL(e);else if(!ic(e)){const r=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");throw r.code="ERR_INVALID_ARG_TYPE",r}if(e.protocol!=="file:"){const r=new TypeError("The URL must be of scheme file");throw r.code="ERR_INVALID_URL_SCHEME",r}return tS(e)}function tS(e){if(e.hostname!==""){const i=new TypeError('File URL host must be "localhost" or empty on darwin');throw i.code="ERR_INVALID_FILE_URL_HOST",i}const r=e.pathname;let a=-1;for(;++a<r.length;)if(r.codePointAt(a)===37&&r.codePointAt(a+1)===50){const i=r.codePointAt(a+2);if(i===70||i===102){const s=new TypeError("File URL path must not include encoded / characters");throw s.code="ERR_INVALID_FILE_URL_PATH",s}}return decodeURIComponent(r)}const ku=["history","path","basename","stem","extname","dirname"];class Xp{constructor(r){let a;r?ic(r)?a={path:r}:typeof r=="string"||nS(r)?a={value:r}:a=r:a={},this.cwd="cwd"in a?"":Jw.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let i=-1;for(;++i<ku.length;){const x=ku[i];x in a&&a[x]!==void 0&&a[x]!==null&&(this[x]=x==="history"?[...a[x]]:a[x])}let s;for(s in a)ku.includes(s)||(this[s]=a[s])}get basename(){return typeof this.path=="string"?qn.basename(this.path):void 0}set basename(r){wu(r,"basename"),Fu(r,"basename"),this.path=qn.join(this.dirname||"",r)}get dirname(){return typeof this.path=="string"?qn.dirname(this.path):void 0}set dirname(r){B8(this.basename,"dirname"),this.path=qn.join(r||"",this.basename)}get extname(){return typeof this.path=="string"?qn.extname(this.path):void 0}set extname(r){if(Fu(r,"extname"),B8(this.dirname,"extname"),r){if(r.codePointAt(0)!==46)throw new Error("`extname` must start with `.`");if(r.includes(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=qn.join(this.dirname,this.stem+(r||""))}get path(){return this.history[this.history.length-1]}set path(r){ic(r)&&(r=eS(r)),wu(r,"path"),this.path!==r&&this.history.push(r)}get stem(){return typeof this.path=="string"?qn.basename(this.path,this.extname):void 0}set stem(r){wu(r,"stem"),Fu(r,"stem"),this.path=qn.join(this.dirname||"",r+(this.extname||""))}fail(r,a,i){const s=this.message(r,a,i);throw s.fatal=!0,s}info(r,a,i){const s=this.message(r,a,i);return s.fatal=void 0,s}message(r,a,i){const s=new _t(r,a,i);return this.path&&(s.name=this.path+":"+s.name,s.file=this.path),s.fatal=!1,this.messages.push(s),s}toString(r){return this.value===void 0?"":typeof this.value=="string"?this.value:new TextDecoder(r||void 0).decode(this.value)}}function Fu(e,r){if(e&&e.includes(qn.sep))throw new Error("`"+r+"` cannot be a path: did not expect `"+qn.sep+"`")}function wu(e,r){if(!e)throw new Error("`"+r+"` cannot be empty")}function B8(e,r){if(!e)throw new Error("Setting `"+r+"` requires `path` to be set too")}function nS(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}const rS=(function(e){const i=this.constructor.prototype,s=i[e],x=function(){return s.apply(x,arguments)};return Object.setPrototypeOf(x,i),x}),aS={}.hasOwnProperty;class Gc extends rS{constructor(){super("copy"),this.Compiler=void 0,this.Parser=void 0,this.attachers=[],this.compiler=void 0,this.freezeIndex=-1,this.frozen=void 0,this.namespace={},this.parser=void 0,this.transformers=Vw()}copy(){const r=new Gc;let a=-1;for(;++a<this.attachers.length;){const i=this.attachers[a];r.use(...i)}return r.data(vu(!0,{},this.namespace)),r}data(r,a){return typeof r=="string"?arguments.length===2?(Nu("data",this.frozen),this.namespace[r]=a,this):aS.call(this.namespace,r)&&this.namespace[r]||void 0:r?(Nu("data",this.frozen),this.namespace=r,this):this.namespace}freeze(){if(this.frozen)return this;const r=this;for(;++this.freezeIndex<this.attachers.length;){const[a,...i]=this.attachers[this.freezeIndex];if(i[0]===!1)continue;i[0]===!0&&(i[0]=void 0);const s=a.call(r,...i);typeof s=="function"&&this.transformers.use(s)}return this.frozen=!0,this.freezeIndex=Number.POSITIVE_INFINITY,this}parse(r){this.freeze();const a=xo(r),i=this.parser||this.Parser;return Su("parse",i),i(String(a),a)}process(r,a){const i=this;return this.freeze(),Su("process",this.parser||this.Parser),Mu("process",this.compiler||this.Compiler),a?s(void 0,a):new Promise(s);function s(x,u){const f=xo(r),d=i.parse(f);i.run(d,f,function(E,p,y){if(E||!p||!y)return h(E);const C=p,A=i.stringify(C,y);oS(A)?y.value=A:y.result=A,h(E,y)});function h(E,p){E||!p?u(E):x?x(p):a(void 0,p)}}}processSync(r){let a=!1,i;return this.freeze(),Su("processSync",this.parser||this.Parser),Mu("processSync",this.compiler||this.Compiler),this.process(r,s),b8("processSync","process",a),i;function s(x,u){a=!0,y8(x),i=u}}run(r,a,i){A8(r),this.freeze();const s=this.transformers;return!i&&typeof a=="function"&&(i=a,a=void 0),i?x(void 0,i):new Promise(x);function x(u,f){const d=xo(a);s.run(r,d,h);function h(E,p,y){const C=p||r;E?f(E):u?u(C):i(void 0,C,y)}}}runSync(r,a){let i=!1,s;return this.run(r,a,x),b8("runSync","run",i),s;function x(u,f){y8(u),s=f,i=!0}}stringify(r,a){this.freeze();const i=xo(a),s=this.compiler||this.Compiler;return Mu("stringify",s),A8(r),s(r,i)}use(r,...a){const i=this.attachers,s=this.namespace;if(Nu("use",this.frozen),r!=null)if(typeof r=="function")d(r,a);else if(typeof r=="object")Array.isArray(r)?f(r):u(r);else throw new TypeError("Expected usable value, not `"+r+"`");return this;function x(h){if(typeof h=="function")d(h,[]);else if(typeof h=="object")if(Array.isArray(h)){const[E,...p]=h;d(E,p)}else u(h);else throw new TypeError("Expected usable value, not `"+h+"`")}function u(h){if(!("plugins"in h)&&!("settings"in h))throw new Error("Expected usable value but received an empty preset, which is probably a mistake: presets typically come with `plugins` and sometimes with `settings`, but this has neither");f(h.plugins),h.settings&&(s.settings=vu(!0,s.settings,h.settings))}function f(h){let E=-1;if(h!=null)if(Array.isArray(h))for(;++E<h.length;){const p=h[E];x(p)}else throw new TypeError("Expected a list of plugins, not `"+h+"`")}function d(h,E){let p=-1,y=-1;for(;++p<i.length;)if(i[p][0]===h){y=p;break}if(y===-1)i.push([h,...E]);else if(E.length>0){let[C,...A]=E;const b=i[y][1];lc(b)&&lc(C)&&(C=vu(!0,b,C)),i[y]=[h,C,...A]}}}}const lS=new Gc().freeze();function Su(e,r){if(typeof r!="function")throw new TypeError("Cannot `"+e+"` without `parser`")}function Mu(e,r){if(typeof r!="function")throw new TypeError("Cannot `"+e+"` without `compiler`")}function Nu(e,r){if(r)throw new Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function A8(e){if(!lc(e)||typeof e.type!="string")throw new TypeError("Expected node, got `"+e+"`")}function b8(e,r,a){if(!a)throw new Error("`"+e+"` finished async. Use `"+r+"` instead")}function xo(e){return iS(e)?e:new Xp(e)}function iS(e){return!!(e&&typeof e=="object"&&"message"in e&&"messages"in e)}function oS(e){return typeof e=="string"||sS(e)}function sS(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}const xS="https://github.com/remarkjs/react-markdown/blob/main/changelog.md",D8=[],v8={allowDangerousHtml:!0},uS=/^(https?|ircs?|mailto|xmpp)$/i,cS=[{from:"astPlugins",id:"remove-buggy-html-in-markdown-parser"},{from:"allowDangerousHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"allowNode",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowElement"},{from:"allowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowedElements"},{from:"className",id:"remove-classname"},{from:"disallowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"disallowedElements"},{from:"escapeHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"includeElementIndex",id:"#remove-includeelementindex"},{from:"includeNodeIndex",id:"change-includenodeindex-to-includeelementindex"},{from:"linkTarget",id:"remove-linktarget"},{from:"plugins",id:"change-plugins-to-remarkplugins",to:"remarkPlugins"},{from:"rawSourcePos",id:"#remove-rawsourcepos"},{from:"renderers",id:"change-renderers-to-components",to:"components"},{from:"source",id:"change-source-to-children",to:"children"},{from:"sourcePos",id:"#remove-sourcepos"},{from:"transformImageUri",id:"#add-urltransform",to:"urlTransform"},{from:"transformLinkUri",id:"#add-urltransform",to:"urlTransform"}];function fS(e){const r=dS(e),a=hS(e);return pS(r.runSync(r.parse(a),a),e)}function dS(e){const r=e.rehypePlugins||D8,a=e.remarkPlugins||D8,i=e.remarkRehypeOptions?{...e.remarkRehypeOptions,...v8}:v8;return lS().use(QF).use(a).use(Hw,i).use(r)}function hS(e){const r=e.children||"",a=new Xp;return typeof r=="string"&&(a.value=r),a}function pS(e,r){const a=r.allowedElements,i=r.allowElement,s=r.components,x=r.disallowedElements,u=r.skipHtml,f=r.unwrapDisallowed,d=r.urlTransform||mS;for(const E of cS)Object.hasOwn(r,E.from)&&(""+E.from+(E.to?"use `"+E.to+"` instead":"remove it")+xS+E.id,void 0);return $c(e,h),Mv(e,{Fragment:g.Fragment,components:s,ignoreInvalidStyle:!0,jsx:g.jsx,jsxs:g.jsxs,passKeys:!0,passNode:!0});function h(E,p,y){if(E.type==="raw"&&y&&typeof p=="number")return u?y.children.splice(p,1):y.children[p]={type:"text",value:E.value},p;if(E.type==="element"){let C;for(C in Bu)if(Object.hasOwn(Bu,C)&&Object.hasOwn(E.properties,C)){const A=E.properties[C],b=Bu[C];(b===null||b.includes(E.tagName))&&(E.properties[C]=d(String(A||""),C,E))}}if(E.type==="element"){let C=a?!a.includes(E.tagName):x?x.includes(E.tagName):!1;if(!C&&i&&typeof p=="number"&&(C=!i(E,p,y)),C&&y&&typeof p=="number")return f&&E.children?y.children.splice(p,1,...E.children):y.children.splice(p,1),p}}}function mS(e){const r=e.indexOf(":"),a=e.indexOf("?"),i=e.indexOf("#"),s=e.indexOf("/");return r===-1||s!==-1&&r>s||a!==-1&&r>a||i!==-1&&r>i||uS.test(e.slice(0,r))?e:""}function ES(e){if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}function Kp(e,r,a){const s=Io((a||{}).ignore||[]),x=CS(r);let u=-1;for(;++u<x.length;)Yp(e,"text",f);function f(h,E){let p=-1,y;for(;++p<E.length;){const C=E[p],A=y?y.children:void 0;if(s(C,A?A.indexOf(C):void 0,y))return;y=C}if(y)return d(h,E)}function d(h,E){const p=E[E.length-1],y=x[u][0],C=x[u][1];let A=0;const D=p.children.indexOf(h);let F=!1,O=[];y.lastIndex=0;let w=y.exec(h.value);for(;w;){const _=w.index,R={index:w.index,input:w.input,stack:[...E,h]};let k=C(...w,R);if(typeof k=="string"&&(k=k.length>0?{type:"text",value:k}:void 0),k===!1?y.lastIndex=_+1:(A!==_&&O.push({type:"text",value:h.value.slice(A,_)}),Array.isArray(k)?O.push(...k):k&&O.push(k),A=_+w[0].length,F=!0),!y.global)break;w=y.exec(h.value)}return F?(A<h.value.length&&O.push({type:"text",value:h.value.slice(A)}),p.children.splice(D,1,...O)):O=[h],D+O.length}}function CS(e){const r=[];if(!Array.isArray(e))throw new TypeError("Expected find and replace tuple or list of tuples");const a=!e[0]||Array.isArray(e[0])?e:[e];let i=-1;for(;++i<a.length;){const s=a[i];r.push([yS(s[0]),gS(s[1])])}return r}function yS(e){return typeof e=="string"?new RegExp(ES(e),"g"):e}function gS(e){return typeof e=="function"?e:function(){return e}}function BS(e){Kp(e,[/\r?\n|\r/g,AS])}function AS(){return{type:"break"}}function bS(){return function(e){BS(e)}}function k8(e,r){const a=String(e);if(typeof r!="string")throw new TypeError("Expected character");let i=0,s=a.indexOf(r);for(;s!==-1;)i++,s=a.indexOf(r,s+r.length);return i}const _u="phrasing",Tu=["autolink","link","image","label"];function DS(){return{transforms:[NS],enter:{literalAutolink:kS,literalAutolinkEmail:zu,literalAutolinkHttp:zu,literalAutolinkWww:zu},exit:{literalAutolink:MS,literalAutolinkEmail:SS,literalAutolinkHttp:FS,literalAutolinkWww:wS}}}function vS(){return{unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:_u,notInConstruct:Tu},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:_u,notInConstruct:Tu},{character:":",before:"[ps]",after:"\\/",inConstruct:_u,notInConstruct:Tu}]}}function kS(e){this.enter({type:"link",title:null,url:"",children:[]},e)}function zu(e){this.config.enter.autolinkProtocol.call(this,e)}function FS(e){this.config.exit.autolinkProtocol.call(this,e)}function wS(e){this.config.exit.data.call(this,e);const r=this.stack[this.stack.length-1];r.type,r.url="http://"+this.sliceSerialize(e)}function SS(e){this.config.exit.autolinkEmail.call(this,e)}function MS(e){this.exit(e)}function NS(e){Kp(e,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,_S],[new RegExp("(?<=^|\\s|\\p{P}|\\p{S})([-.\\w+]+)@([-\\w]+(?:\\.[-\\w]+)+)","gu"),TS]],{ignore:["link","linkReference"]})}function _S(e,r,a,i,s){let x="";if(!Zp(s)||(/^w/i.test(r)&&(a=r+a,r="",x="http://"),!zS(a)))return!1;const u=jS(a+i);if(!u[0])return!1;const f={type:"link",title:null,url:x+r+u[0],children:[{type:"text",value:r+u[0]}]};return u[1]?[f,{type:"text",value:u[1]}]:f}function TS(e,r,a,i){return!Zp(i,!0)||/[-\d_]$/.test(a)?!1:{type:"link",title:null,url:"mailto:"+r+"@"+a,children:[{type:"text",value:r+"@"+a}]}}function zS(e){const r=e.split(".");return!(r.length<2||r[r.length-1]&&(/_/.test(r[r.length-1])||!/[a-zA-Z\d]/.test(r[r.length-1]))||r[r.length-2]&&(/_/.test(r[r.length-2])||!/[a-zA-Z\d]/.test(r[r.length-2])))}function jS(e){const r=/[!"&'),.:;<>?\]}]+$/.exec(e);if(!r)return[e,void 0];e=e.slice(0,r.index);let a=r[0],i=a.indexOf(")");const s=k8(e,"(");let x=k8(e,")");for(;i!==-1&&s>x;)e+=a.slice(0,i+1),a=a.slice(i+1),i=a.indexOf(")"),x++;return[e,a]}function Zp(e,r){const a=e.input.charCodeAt(e.index-1);return(e.index===0||Er(a)||Uo(a))&&(!r||a!==47)}Jp.peek=VS;function RS(){this.buffer()}function OS(e){this.enter({type:"footnoteReference",identifier:"",label:""},e)}function LS(){this.buffer()}function PS(e){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},e)}function US(e){const r=this.resume(),a=this.stack[this.stack.length-1];a.type,a.identifier=Tn(this.sliceSerialize(e)).toLowerCase(),a.label=r}function HS(e){this.exit(e)}function qS(e){const r=this.resume(),a=this.stack[this.stack.length-1];a.type,a.identifier=Tn(this.sliceSerialize(e)).toLowerCase(),a.label=r}function IS(e){this.exit(e)}function VS(){return"["}function Jp(e,r,a,i){const s=a.createTracker(i);let x=s.move("[^");const u=a.enter("footnoteReference"),f=a.enter("reference");return x+=s.move(a.safe(a.associationId(e),{after:"]",before:x})),f(),u(),x+=s.move("]"),x}function $S(){return{enter:{gfmFootnoteCallString:RS,gfmFootnoteCall:OS,gfmFootnoteDefinitionLabelString:LS,gfmFootnoteDefinition:PS},exit:{gfmFootnoteCallString:US,gfmFootnoteCall:HS,gfmFootnoteDefinitionLabelString:qS,gfmFootnoteDefinition:IS}}}function GS(e){let r=!1;return e&&e.firstLineBlank&&(r=!0),{handlers:{footnoteDefinition:a,footnoteReference:Jp},unsafe:[{character:"[",inConstruct:["label","phrasing","reference"]}]};function a(i,s,x,u){const f=x.createTracker(u);let d=f.move("[^");const h=x.enter("footnoteDefinition"),E=x.enter("label");return d+=f.move(x.safe(x.associationId(i),{before:d,after:"]"})),E(),d+=f.move("]:"),i.children&&i.children.length>0&&(f.shift(4),d+=f.move((r?`
26
+ `:" ")+x.indentLines(x.containerFlow(i,f.current()),r?Wp:QS))),h(),d}}function QS(e,r,a){return r===0?e:Wp(e,r,a)}function Wp(e,r,a){return(a?"":" ")+e}const YS=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];em.peek=WS;function XS(){return{canContainEols:["delete"],enter:{strikethrough:ZS},exit:{strikethrough:JS}}}function KS(){return{unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:YS}],handlers:{delete:em}}}function ZS(e){this.enter({type:"delete",children:[]},e)}function JS(e){this.exit(e)}function em(e,r,a,i){const s=a.createTracker(i),x=a.enter("strikethrough");let u=s.move("~~");return u+=a.containerPhrasing(e,{...s.current(),before:u,after:"~"}),u+=s.move("~~"),x(),u}function WS(){return"~"}function eM(e){return e.length}function tM(e,r){const a=r||{},i=(a.align||[]).concat(),s=a.stringLength||eM,x=[],u=[],f=[],d=[];let h=0,E=-1;for(;++E<e.length;){const b=[],D=[];let F=-1;for(e[E].length>h&&(h=e[E].length);++F<e[E].length;){const O=nM(e[E][F]);if(a.alignDelimiters!==!1){const w=s(O);D[F]=w,(d[F]===void 0||w>d[F])&&(d[F]=w)}b.push(O)}u[E]=b,f[E]=D}let p=-1;if(typeof i=="object"&&"length"in i)for(;++p<h;)x[p]=F8(i[p]);else{const b=F8(i);for(;++p<h;)x[p]=b}p=-1;const y=[],C=[];for(;++p<h;){const b=x[p];let D="",F="";b===99?(D=":",F=":"):b===108?D=":":b===114&&(F=":");let O=a.alignDelimiters===!1?1:Math.max(1,d[p]-D.length-F.length);const w=D+"-".repeat(O)+F;a.alignDelimiters!==!1&&(O=D.length+O+F.length,O>d[p]&&(d[p]=O),C[p]=O),y[p]=w}u.splice(1,0,y),f.splice(1,0,C),E=-1;const A=[];for(;++E<u.length;){const b=u[E],D=f[E];p=-1;const F=[];for(;++p<h;){const O=b[p]||"";let w="",_="";if(a.alignDelimiters!==!1){const R=d[p]-(D[p]||0),k=x[p];k===114?w=" ".repeat(R):k===99?R%2?(w=" ".repeat(R/2+.5),_=" ".repeat(R/2-.5)):(w=" ".repeat(R/2),_=w):_=" ".repeat(R)}a.delimiterStart!==!1&&!p&&F.push("|"),a.padding!==!1&&!(a.alignDelimiters===!1&&O==="")&&(a.delimiterStart!==!1||p)&&F.push(" "),a.alignDelimiters!==!1&&F.push(w),F.push(O),a.alignDelimiters!==!1&&F.push(_),a.padding!==!1&&F.push(" "),(a.delimiterEnd!==!1||p!==h-1)&&F.push("|")}A.push(a.delimiterEnd===!1?F.join("").replace(/ +$/,""):F.join(""))}return A.join(`
27
+ `)}function nM(e){return e==null?"":String(e)}function F8(e){const r=typeof e=="string"?e.codePointAt(0):0;return r===67||r===99?99:r===76||r===108?108:r===82||r===114?114:0}function rM(e,r,a,i){const s=a.enter("blockquote"),x=a.createTracker(i);x.move("> "),x.shift(2);const u=a.indentLines(a.containerFlow(e,x.current()),aM);return s(),u}function aM(e,r,a){return">"+(a?"":" ")+e}function lM(e,r){return w8(e,r.inConstruct,!0)&&!w8(e,r.notInConstruct,!1)}function w8(e,r,a){if(typeof r=="string"&&(r=[r]),!r||r.length===0)return a;let i=-1;for(;++i<r.length;)if(e.includes(r[i]))return!0;return!1}function S8(e,r,a,i){let s=-1;for(;++s<a.unsafe.length;)if(a.unsafe[s].character===`
28
+ `&&lM(a.stack,a.unsafe[s]))return/[ \t]/.test(i.before)?"":" ";return`\\
29
+ `}function iM(e,r){const a=String(e);let i=a.indexOf(r),s=i,x=0,u=0;if(typeof r!="string")throw new TypeError("Expected substring");for(;i!==-1;)i===s?++x>u&&(u=x):x=1,s=i+r.length,i=a.indexOf(r,s);return u}function oM(e,r){return!!(r.options.fences===!1&&e.value&&!e.lang&&/[^ \r\n]/.test(e.value)&&!/^[\t ]*(?:[\r\n]|$)|(?:^|[\r\n])[\t ]*$/.test(e.value))}function sM(e){const r=e.options.fence||"`";if(r!=="`"&&r!=="~")throw new Error("Cannot serialize code with `"+r+"` for `options.fence`, expected `` ` `` or `~`");return r}function xM(e,r,a,i){const s=sM(a),x=e.value||"",u=s==="`"?"GraveAccent":"Tilde";if(oM(e,a)){const p=a.enter("codeIndented"),y=a.indentLines(x,uM);return p(),y}const f=a.createTracker(i),d=s.repeat(Math.max(iM(x,s)+1,3)),h=a.enter("codeFenced");let E=f.move(d);if(e.lang){const p=a.enter(`codeFencedLang${u}`);E+=f.move(a.safe(e.lang,{before:E,after:" ",encode:["`"],...f.current()})),p()}if(e.lang&&e.meta){const p=a.enter(`codeFencedMeta${u}`);E+=f.move(" "),E+=f.move(a.safe(e.meta,{before:E,after:`
30
30
  `,encode:["`"],...f.current()})),p()}return E+=f.move(`
31
31
  `),x&&(E+=f.move(x+`
32
- `)),E+=f.move(d),h(),E}function sM(e,r,a){return(a?"":" ")+e}function Qc(e){const r=e.options.quote||'"';if(r!=='"'&&r!=="'")throw new Error("Cannot serialize title with `"+r+"` for `options.quote`, expected `\"`, or `'`");return r}function xM(e,r,a,i){const s=Qc(a),x=s==='"'?"Quote":"Apostrophe",u=a.enter("definition");let f=a.enter("label");const d=a.createTracker(i);let h=d.move("[");return h+=d.move(a.safe(a.associationId(e),{before:h,after:"]",...d.current()})),h+=d.move("]: "),f(),!e.url||/[\0- \u007F]/.test(e.url)?(f=a.enter("destinationLiteral"),h+=d.move("<"),h+=d.move(a.safe(e.url,{before:h,after:">",...d.current()})),h+=d.move(">")):(f=a.enter("destinationRaw"),h+=d.move(a.safe(e.url,{before:h,after:e.title?" ":`
33
- `,...d.current()}))),f(),e.title&&(f=a.enter(`title${x}`),h+=d.move(" "+s),h+=d.move(a.safe(e.title,{before:h,after:s,...d.current()})),h+=d.move(s),f()),u(),h}function uM(e){const r=e.options.emphasis||"*";if(r!=="*"&&r!=="_")throw new Error("Cannot serialize emphasis with `"+r+"` for `options.emphasis`, expected `*`, or `_`");return r}function Ml(e){return"&#x"+e.toString(16).toUpperCase()+";"}function To(e,r,a){const i=ua(e),s=ua(r);return i===void 0?s===void 0?a==="_"?{inside:!0,outside:!0}:{inside:!1,outside:!1}:s===1?{inside:!0,outside:!0}:{inside:!1,outside:!0}:i===1?s===void 0?{inside:!1,outside:!1}:s===1?{inside:!0,outside:!0}:{inside:!1,outside:!1}:s===void 0?{inside:!1,outside:!1}:s===1?{inside:!0,outside:!1}:{inside:!1,outside:!1}}em.peek=cM;function em(e,r,a,i){const s=uM(a),x=a.enter("emphasis"),u=a.createTracker(i),f=u.move(s);let d=u.move(a.containerPhrasing(e,{after:s,before:f,...u.current()}));const h=d.charCodeAt(0),E=To(i.before.charCodeAt(i.before.length-1),h,s);E.inside&&(d=Ml(h)+d.slice(1));const p=d.charCodeAt(d.length-1),y=To(i.after.charCodeAt(0),p,s);y.inside&&(d=d.slice(0,-1)+Ml(p));const C=u.move(s);return x(),a.attentionEncodeSurroundingInfo={after:y.outside,before:E.outside},f+d+C}function cM(e,r,a){return a.options.emphasis||"*"}function fM(e,r){let a=!1;return $c(e,function(i){if("value"in i&&/\r?\n|\r/.test(i.value)||i.type==="break")return a=!0,rc}),!!((!e.depth||e.depth<3)&&Lc(e)&&(r.options.setext||a))}function dM(e,r,a,i){const s=Math.max(Math.min(6,e.depth||1),1),x=a.createTracker(i);if(fM(e,a)){const E=a.enter("headingSetext"),p=a.enter("phrasing"),y=a.containerPhrasing(e,{...x.current(),before:`
32
+ `)),E+=f.move(d),h(),E}function uM(e,r,a){return(a?"":" ")+e}function Qc(e){const r=e.options.quote||'"';if(r!=='"'&&r!=="'")throw new Error("Cannot serialize title with `"+r+"` for `options.quote`, expected `\"`, or `'`");return r}function cM(e,r,a,i){const s=Qc(a),x=s==='"'?"Quote":"Apostrophe",u=a.enter("definition");let f=a.enter("label");const d=a.createTracker(i);let h=d.move("[");return h+=d.move(a.safe(a.associationId(e),{before:h,after:"]",...d.current()})),h+=d.move("]: "),f(),!e.url||/[\0- \u007F]/.test(e.url)?(f=a.enter("destinationLiteral"),h+=d.move("<"),h+=d.move(a.safe(e.url,{before:h,after:">",...d.current()})),h+=d.move(">")):(f=a.enter("destinationRaw"),h+=d.move(a.safe(e.url,{before:h,after:e.title?" ":`
33
+ `,...d.current()}))),f(),e.title&&(f=a.enter(`title${x}`),h+=d.move(" "+s),h+=d.move(a.safe(e.title,{before:h,after:s,...d.current()})),h+=d.move(s),f()),u(),h}function fM(e){const r=e.options.emphasis||"*";if(r!=="*"&&r!=="_")throw new Error("Cannot serialize emphasis with `"+r+"` for `options.emphasis`, expected `*`, or `_`");return r}function Ml(e){return"&#x"+e.toString(16).toUpperCase()+";"}function To(e,r,a){const i=ua(e),s=ua(r);return i===void 0?s===void 0?a==="_"?{inside:!0,outside:!0}:{inside:!1,outside:!1}:s===1?{inside:!0,outside:!0}:{inside:!1,outside:!0}:i===1?s===void 0?{inside:!1,outside:!1}:s===1?{inside:!0,outside:!0}:{inside:!1,outside:!1}:s===void 0?{inside:!1,outside:!1}:s===1?{inside:!0,outside:!1}:{inside:!1,outside:!1}}tm.peek=dM;function tm(e,r,a,i){const s=fM(a),x=a.enter("emphasis"),u=a.createTracker(i),f=u.move(s);let d=u.move(a.containerPhrasing(e,{after:s,before:f,...u.current()}));const h=d.charCodeAt(0),E=To(i.before.charCodeAt(i.before.length-1),h,s);E.inside&&(d=Ml(h)+d.slice(1));const p=d.charCodeAt(d.length-1),y=To(i.after.charCodeAt(0),p,s);y.inside&&(d=d.slice(0,-1)+Ml(p));const C=u.move(s);return x(),a.attentionEncodeSurroundingInfo={after:y.outside,before:E.outside},f+d+C}function dM(e,r,a){return a.options.emphasis||"*"}function hM(e,r){let a=!1;return $c(e,function(i){if("value"in i&&/\r?\n|\r/.test(i.value)||i.type==="break")return a=!0,rc}),!!((!e.depth||e.depth<3)&&Lc(e)&&(r.options.setext||a))}function pM(e,r,a,i){const s=Math.max(Math.min(6,e.depth||1),1),x=a.createTracker(i);if(hM(e,a)){const E=a.enter("headingSetext"),p=a.enter("phrasing"),y=a.containerPhrasing(e,{...x.current(),before:`
34
34
  `,after:`
35
35
  `});return p(),E(),y+`
36
36
  `+(s===1?"=":"-").repeat(y.length-(Math.max(y.lastIndexOf("\r"),y.lastIndexOf(`
37
37
  `))+1))}const u="#".repeat(s),f=a.enter("headingAtx"),d=a.enter("phrasing");x.move(u+" ");let h=a.containerPhrasing(e,{before:"# ",after:`
38
- `,...x.current()});return/^[\t ]/.test(h)&&(h=Ml(h.charCodeAt(0))+h.slice(1)),h=h?u+" "+h:u,a.options.closeAtx&&(h+=" "+u),d(),f(),h}tm.peek=hM;function tm(e){return e.value||""}function hM(){return"<"}nm.peek=pM;function nm(e,r,a,i){const s=Qc(a),x=s==='"'?"Quote":"Apostrophe",u=a.enter("image");let f=a.enter("label");const d=a.createTracker(i);let h=d.move("![");return h+=d.move(a.safe(e.alt,{before:h,after:"]",...d.current()})),h+=d.move("]("),f(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(f=a.enter("destinationLiteral"),h+=d.move("<"),h+=d.move(a.safe(e.url,{before:h,after:">",...d.current()})),h+=d.move(">")):(f=a.enter("destinationRaw"),h+=d.move(a.safe(e.url,{before:h,after:e.title?" ":")",...d.current()}))),f(),e.title&&(f=a.enter(`title${x}`),h+=d.move(" "+s),h+=d.move(a.safe(e.title,{before:h,after:s,...d.current()})),h+=d.move(s),f()),h+=d.move(")"),u(),h}function pM(){return"!"}rm.peek=mM;function rm(e,r,a,i){const s=e.referenceType,x=a.enter("imageReference");let u=a.enter("label");const f=a.createTracker(i);let d=f.move("![");const h=a.safe(e.alt,{before:d,after:"]",...f.current()});d+=f.move(h+"]["),u();const E=a.stack;a.stack=[],u=a.enter("reference");const p=a.safe(a.associationId(e),{before:d,after:"]",...f.current()});return u(),a.stack=E,x(),s==="full"||!h||h!==p?d+=f.move(p+"]"):s==="shortcut"?d=d.slice(0,-1):d+=f.move("]"),d}function mM(){return"!"}am.peek=EM;function am(e,r,a){let i=e.value||"",s="`",x=-1;for(;new RegExp("(^|[^`])"+s+"([^`]|$)").test(i);)s+="`";for(/[^ \r\n]/.test(i)&&(/^[ \r\n]/.test(i)&&/[ \r\n]$/.test(i)||/^`|`$/.test(i))&&(i=" "+i+" ");++x<a.unsafe.length;){const u=a.unsafe[x],f=a.compilePattern(u);let d;if(u.atBreak)for(;d=f.exec(i);){let h=d.index;i.charCodeAt(h)===10&&i.charCodeAt(h-1)===13&&h--,i=i.slice(0,h)+" "+i.slice(d.index+1)}}return s+i+s}function EM(){return"`"}function lm(e,r){const a=Lc(e);return!!(!r.options.resourceLink&&e.url&&!e.title&&e.children&&e.children.length===1&&e.children[0].type==="text"&&(a===e.url||"mailto:"+a===e.url)&&/^[a-z][a-z+.-]+:/i.test(e.url)&&!/[\0- <>\u007F]/.test(e.url))}im.peek=CM;function im(e,r,a,i){const s=Qc(a),x=s==='"'?"Quote":"Apostrophe",u=a.createTracker(i);let f,d;if(lm(e,a)){const E=a.stack;a.stack=[],f=a.enter("autolink");let p=u.move("<");return p+=u.move(a.containerPhrasing(e,{before:p,after:">",...u.current()})),p+=u.move(">"),f(),a.stack=E,p}f=a.enter("link"),d=a.enter("label");let h=u.move("[");return h+=u.move(a.containerPhrasing(e,{before:h,after:"](",...u.current()})),h+=u.move("]("),d(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(d=a.enter("destinationLiteral"),h+=u.move("<"),h+=u.move(a.safe(e.url,{before:h,after:">",...u.current()})),h+=u.move(">")):(d=a.enter("destinationRaw"),h+=u.move(a.safe(e.url,{before:h,after:e.title?" ":")",...u.current()}))),d(),e.title&&(d=a.enter(`title${x}`),h+=u.move(" "+s),h+=u.move(a.safe(e.title,{before:h,after:s,...u.current()})),h+=u.move(s),d()),h+=u.move(")"),f(),h}function CM(e,r,a){return lm(e,a)?"<":"["}om.peek=yM;function om(e,r,a,i){const s=e.referenceType,x=a.enter("linkReference");let u=a.enter("label");const f=a.createTracker(i);let d=f.move("[");const h=a.containerPhrasing(e,{before:d,after:"]",...f.current()});d+=f.move(h+"]["),u();const E=a.stack;a.stack=[],u=a.enter("reference");const p=a.safe(a.associationId(e),{before:d,after:"]",...f.current()});return u(),a.stack=E,x(),s==="full"||!h||h!==p?d+=f.move(p+"]"):s==="shortcut"?d=d.slice(0,-1):d+=f.move("]"),d}function yM(){return"["}function Yc(e){const r=e.options.bullet||"*";if(r!=="*"&&r!=="+"&&r!=="-")throw new Error("Cannot serialize items with `"+r+"` for `options.bullet`, expected `*`, `+`, or `-`");return r}function gM(e){const r=Yc(e),a=e.options.bulletOther;if(!a)return r==="*"?"-":"*";if(a!=="*"&&a!=="+"&&a!=="-")throw new Error("Cannot serialize items with `"+a+"` for `options.bulletOther`, expected `*`, `+`, or `-`");if(a===r)throw new Error("Expected `bullet` (`"+r+"`) and `bulletOther` (`"+a+"`) to be different");return a}function BM(e){const r=e.options.bulletOrdered||".";if(r!=="."&&r!==")")throw new Error("Cannot serialize items with `"+r+"` for `options.bulletOrdered`, expected `.` or `)`");return r}function sm(e){const r=e.options.rule||"*";if(r!=="*"&&r!=="-"&&r!=="_")throw new Error("Cannot serialize rules with `"+r+"` for `options.rule`, expected `*`, `-`, or `_`");return r}function AM(e,r,a,i){const s=a.enter("list"),x=a.bulletCurrent;let u=e.ordered?BM(a):Yc(a);const f=e.ordered?u==="."?")":".":gM(a);let d=r&&a.bulletLastUsed?u===a.bulletLastUsed:!1;if(!e.ordered){const E=e.children?e.children[0]:void 0;if((u==="*"||u==="-")&&E&&(!E.children||!E.children[0])&&a.stack[a.stack.length-1]==="list"&&a.stack[a.stack.length-2]==="listItem"&&a.stack[a.stack.length-3]==="list"&&a.stack[a.stack.length-4]==="listItem"&&a.indexStack[a.indexStack.length-1]===0&&a.indexStack[a.indexStack.length-2]===0&&a.indexStack[a.indexStack.length-3]===0&&(d=!0),sm(a)===u&&E){let p=-1;for(;++p<e.children.length;){const y=e.children[p];if(y&&y.type==="listItem"&&y.children&&y.children[0]&&y.children[0].type==="thematicBreak"){d=!0;break}}}}d&&(u=f),a.bulletCurrent=u;const h=a.containerFlow(e,i);return a.bulletLastUsed=u,a.bulletCurrent=x,s(),h}function bM(e){const r=e.options.listItemIndent||"one";if(r!=="tab"&&r!=="one"&&r!=="mixed")throw new Error("Cannot serialize items with `"+r+"` for `options.listItemIndent`, expected `tab`, `one`, or `mixed`");return r}function DM(e,r,a,i){const s=bM(a);let x=a.bulletCurrent||Yc(a);r&&r.type==="list"&&r.ordered&&(x=(typeof r.start=="number"&&r.start>-1?r.start:1)+(a.options.incrementListMarker===!1?0:r.children.indexOf(e))+x);let u=x.length+1;(s==="tab"||s==="mixed"&&(r&&r.type==="list"&&r.spread||e.spread))&&(u=Math.ceil(u/4)*4);const f=a.createTracker(i);f.move(x+" ".repeat(u-x.length)),f.shift(u);const d=a.enter("listItem"),h=a.indentLines(a.containerFlow(e,f.current()),E);return d(),h;function E(p,y,C){return y?(C?"":" ".repeat(u))+p:(C?x:x+" ".repeat(u-x.length))+p}}function vM(e,r,a,i){const s=a.enter("paragraph"),x=a.enter("phrasing"),u=a.containerPhrasing(e,i);return x(),s(),u}const kM=Io(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","inlineMath","link","linkReference","mdxJsxTextElement","mdxTextExpression","strong","text","textDirective"]);function FM(e,r,a,i){return(e.children.some(function(u){return kM(u)})?a.containerPhrasing:a.containerFlow).call(a,e,i)}function wM(e){const r=e.options.strong||"*";if(r!=="*"&&r!=="_")throw new Error("Cannot serialize strong with `"+r+"` for `options.strong`, expected `*`, or `_`");return r}xm.peek=SM;function xm(e,r,a,i){const s=wM(a),x=a.enter("strong"),u=a.createTracker(i),f=u.move(s+s);let d=u.move(a.containerPhrasing(e,{after:s,before:f,...u.current()}));const h=d.charCodeAt(0),E=To(i.before.charCodeAt(i.before.length-1),h,s);E.inside&&(d=Ml(h)+d.slice(1));const p=d.charCodeAt(d.length-1),y=To(i.after.charCodeAt(0),p,s);y.inside&&(d=d.slice(0,-1)+Ml(p));const C=u.move(s+s);return x(),a.attentionEncodeSurroundingInfo={after:y.outside,before:E.outside},f+d+C}function SM(e,r,a){return a.options.strong||"*"}function MM(e,r,a,i){return a.safe(e.value,i)}function NM(e){const r=e.options.ruleRepetition||3;if(r<3)throw new Error("Cannot serialize rules with repetition `"+r+"` for `options.ruleRepetition`, expected `3` or more");return r}function _M(e,r,a){const i=(sm(a)+(a.options.ruleSpaces?" ":"")).repeat(NM(a));return a.options.ruleSpaces?i.slice(0,-1):i}const um={blockquote:tM,break:S8,code:oM,definition:xM,emphasis:em,hardBreak:S8,heading:dM,html:tm,image:nm,imageReference:rm,inlineCode:am,link:im,linkReference:om,list:AM,listItem:DM,paragraph:vM,root:FM,strong:xm,text:MM,thematicBreak:_M};function TM(){return{enter:{table:zM,tableData:M8,tableHeader:M8,tableRow:RM},exit:{codeText:OM,table:jM,tableData:ju,tableHeader:ju,tableRow:ju}}}function zM(e){const r=e._align;this.enter({type:"table",align:r.map(function(a){return a==="none"?null:a}),children:[]},e),this.data.inTable=!0}function jM(e){this.exit(e),this.data.inTable=void 0}function RM(e){this.enter({type:"tableRow",children:[]},e)}function ju(e){this.exit(e)}function M8(e){this.enter({type:"tableCell",children:[]},e)}function OM(e){let r=this.resume();this.data.inTable&&(r=r.replace(/\\([\\|])/g,LM));const a=this.stack[this.stack.length-1];a.type,a.value=r,this.exit(e)}function LM(e,r){return r==="|"?r:e}function PM(e){const r=e||{},a=r.tableCellPadding,i=r.tablePipeAlign,s=r.stringLength,x=a?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:`
38
+ `,...x.current()});return/^[\t ]/.test(h)&&(h=Ml(h.charCodeAt(0))+h.slice(1)),h=h?u+" "+h:u,a.options.closeAtx&&(h+=" "+u),d(),f(),h}nm.peek=mM;function nm(e){return e.value||""}function mM(){return"<"}rm.peek=EM;function rm(e,r,a,i){const s=Qc(a),x=s==='"'?"Quote":"Apostrophe",u=a.enter("image");let f=a.enter("label");const d=a.createTracker(i);let h=d.move("![");return h+=d.move(a.safe(e.alt,{before:h,after:"]",...d.current()})),h+=d.move("]("),f(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(f=a.enter("destinationLiteral"),h+=d.move("<"),h+=d.move(a.safe(e.url,{before:h,after:">",...d.current()})),h+=d.move(">")):(f=a.enter("destinationRaw"),h+=d.move(a.safe(e.url,{before:h,after:e.title?" ":")",...d.current()}))),f(),e.title&&(f=a.enter(`title${x}`),h+=d.move(" "+s),h+=d.move(a.safe(e.title,{before:h,after:s,...d.current()})),h+=d.move(s),f()),h+=d.move(")"),u(),h}function EM(){return"!"}am.peek=CM;function am(e,r,a,i){const s=e.referenceType,x=a.enter("imageReference");let u=a.enter("label");const f=a.createTracker(i);let d=f.move("![");const h=a.safe(e.alt,{before:d,after:"]",...f.current()});d+=f.move(h+"]["),u();const E=a.stack;a.stack=[],u=a.enter("reference");const p=a.safe(a.associationId(e),{before:d,after:"]",...f.current()});return u(),a.stack=E,x(),s==="full"||!h||h!==p?d+=f.move(p+"]"):s==="shortcut"?d=d.slice(0,-1):d+=f.move("]"),d}function CM(){return"!"}lm.peek=yM;function lm(e,r,a){let i=e.value||"",s="`",x=-1;for(;new RegExp("(^|[^`])"+s+"([^`]|$)").test(i);)s+="`";for(/[^ \r\n]/.test(i)&&(/^[ \r\n]/.test(i)&&/[ \r\n]$/.test(i)||/^`|`$/.test(i))&&(i=" "+i+" ");++x<a.unsafe.length;){const u=a.unsafe[x],f=a.compilePattern(u);let d;if(u.atBreak)for(;d=f.exec(i);){let h=d.index;i.charCodeAt(h)===10&&i.charCodeAt(h-1)===13&&h--,i=i.slice(0,h)+" "+i.slice(d.index+1)}}return s+i+s}function yM(){return"`"}function im(e,r){const a=Lc(e);return!!(!r.options.resourceLink&&e.url&&!e.title&&e.children&&e.children.length===1&&e.children[0].type==="text"&&(a===e.url||"mailto:"+a===e.url)&&/^[a-z][a-z+.-]+:/i.test(e.url)&&!/[\0- <>\u007F]/.test(e.url))}om.peek=gM;function om(e,r,a,i){const s=Qc(a),x=s==='"'?"Quote":"Apostrophe",u=a.createTracker(i);let f,d;if(im(e,a)){const E=a.stack;a.stack=[],f=a.enter("autolink");let p=u.move("<");return p+=u.move(a.containerPhrasing(e,{before:p,after:">",...u.current()})),p+=u.move(">"),f(),a.stack=E,p}f=a.enter("link"),d=a.enter("label");let h=u.move("[");return h+=u.move(a.containerPhrasing(e,{before:h,after:"](",...u.current()})),h+=u.move("]("),d(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(d=a.enter("destinationLiteral"),h+=u.move("<"),h+=u.move(a.safe(e.url,{before:h,after:">",...u.current()})),h+=u.move(">")):(d=a.enter("destinationRaw"),h+=u.move(a.safe(e.url,{before:h,after:e.title?" ":")",...u.current()}))),d(),e.title&&(d=a.enter(`title${x}`),h+=u.move(" "+s),h+=u.move(a.safe(e.title,{before:h,after:s,...u.current()})),h+=u.move(s),d()),h+=u.move(")"),f(),h}function gM(e,r,a){return im(e,a)?"<":"["}sm.peek=BM;function sm(e,r,a,i){const s=e.referenceType,x=a.enter("linkReference");let u=a.enter("label");const f=a.createTracker(i);let d=f.move("[");const h=a.containerPhrasing(e,{before:d,after:"]",...f.current()});d+=f.move(h+"]["),u();const E=a.stack;a.stack=[],u=a.enter("reference");const p=a.safe(a.associationId(e),{before:d,after:"]",...f.current()});return u(),a.stack=E,x(),s==="full"||!h||h!==p?d+=f.move(p+"]"):s==="shortcut"?d=d.slice(0,-1):d+=f.move("]"),d}function BM(){return"["}function Yc(e){const r=e.options.bullet||"*";if(r!=="*"&&r!=="+"&&r!=="-")throw new Error("Cannot serialize items with `"+r+"` for `options.bullet`, expected `*`, `+`, or `-`");return r}function AM(e){const r=Yc(e),a=e.options.bulletOther;if(!a)return r==="*"?"-":"*";if(a!=="*"&&a!=="+"&&a!=="-")throw new Error("Cannot serialize items with `"+a+"` for `options.bulletOther`, expected `*`, `+`, or `-`");if(a===r)throw new Error("Expected `bullet` (`"+r+"`) and `bulletOther` (`"+a+"`) to be different");return a}function bM(e){const r=e.options.bulletOrdered||".";if(r!=="."&&r!==")")throw new Error("Cannot serialize items with `"+r+"` for `options.bulletOrdered`, expected `.` or `)`");return r}function xm(e){const r=e.options.rule||"*";if(r!=="*"&&r!=="-"&&r!=="_")throw new Error("Cannot serialize rules with `"+r+"` for `options.rule`, expected `*`, `-`, or `_`");return r}function DM(e,r,a,i){const s=a.enter("list"),x=a.bulletCurrent;let u=e.ordered?bM(a):Yc(a);const f=e.ordered?u==="."?")":".":AM(a);let d=r&&a.bulletLastUsed?u===a.bulletLastUsed:!1;if(!e.ordered){const E=e.children?e.children[0]:void 0;if((u==="*"||u==="-")&&E&&(!E.children||!E.children[0])&&a.stack[a.stack.length-1]==="list"&&a.stack[a.stack.length-2]==="listItem"&&a.stack[a.stack.length-3]==="list"&&a.stack[a.stack.length-4]==="listItem"&&a.indexStack[a.indexStack.length-1]===0&&a.indexStack[a.indexStack.length-2]===0&&a.indexStack[a.indexStack.length-3]===0&&(d=!0),xm(a)===u&&E){let p=-1;for(;++p<e.children.length;){const y=e.children[p];if(y&&y.type==="listItem"&&y.children&&y.children[0]&&y.children[0].type==="thematicBreak"){d=!0;break}}}}d&&(u=f),a.bulletCurrent=u;const h=a.containerFlow(e,i);return a.bulletLastUsed=u,a.bulletCurrent=x,s(),h}function vM(e){const r=e.options.listItemIndent||"one";if(r!=="tab"&&r!=="one"&&r!=="mixed")throw new Error("Cannot serialize items with `"+r+"` for `options.listItemIndent`, expected `tab`, `one`, or `mixed`");return r}function kM(e,r,a,i){const s=vM(a);let x=a.bulletCurrent||Yc(a);r&&r.type==="list"&&r.ordered&&(x=(typeof r.start=="number"&&r.start>-1?r.start:1)+(a.options.incrementListMarker===!1?0:r.children.indexOf(e))+x);let u=x.length+1;(s==="tab"||s==="mixed"&&(r&&r.type==="list"&&r.spread||e.spread))&&(u=Math.ceil(u/4)*4);const f=a.createTracker(i);f.move(x+" ".repeat(u-x.length)),f.shift(u);const d=a.enter("listItem"),h=a.indentLines(a.containerFlow(e,f.current()),E);return d(),h;function E(p,y,C){return y?(C?"":" ".repeat(u))+p:(C?x:x+" ".repeat(u-x.length))+p}}function FM(e,r,a,i){const s=a.enter("paragraph"),x=a.enter("phrasing"),u=a.containerPhrasing(e,i);return x(),s(),u}const wM=Io(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","inlineMath","link","linkReference","mdxJsxTextElement","mdxTextExpression","strong","text","textDirective"]);function SM(e,r,a,i){return(e.children.some(function(u){return wM(u)})?a.containerPhrasing:a.containerFlow).call(a,e,i)}function MM(e){const r=e.options.strong||"*";if(r!=="*"&&r!=="_")throw new Error("Cannot serialize strong with `"+r+"` for `options.strong`, expected `*`, or `_`");return r}um.peek=NM;function um(e,r,a,i){const s=MM(a),x=a.enter("strong"),u=a.createTracker(i),f=u.move(s+s);let d=u.move(a.containerPhrasing(e,{after:s,before:f,...u.current()}));const h=d.charCodeAt(0),E=To(i.before.charCodeAt(i.before.length-1),h,s);E.inside&&(d=Ml(h)+d.slice(1));const p=d.charCodeAt(d.length-1),y=To(i.after.charCodeAt(0),p,s);y.inside&&(d=d.slice(0,-1)+Ml(p));const C=u.move(s+s);return x(),a.attentionEncodeSurroundingInfo={after:y.outside,before:E.outside},f+d+C}function NM(e,r,a){return a.options.strong||"*"}function _M(e,r,a,i){return a.safe(e.value,i)}function TM(e){const r=e.options.ruleRepetition||3;if(r<3)throw new Error("Cannot serialize rules with repetition `"+r+"` for `options.ruleRepetition`, expected `3` or more");return r}function zM(e,r,a){const i=(xm(a)+(a.options.ruleSpaces?" ":"")).repeat(TM(a));return a.options.ruleSpaces?i.slice(0,-1):i}const cm={blockquote:rM,break:S8,code:xM,definition:cM,emphasis:tm,hardBreak:S8,heading:pM,html:nm,image:rm,imageReference:am,inlineCode:lm,link:om,linkReference:sm,list:DM,listItem:kM,paragraph:FM,root:SM,strong:um,text:_M,thematicBreak:zM};function jM(){return{enter:{table:RM,tableData:M8,tableHeader:M8,tableRow:LM},exit:{codeText:PM,table:OM,tableData:ju,tableHeader:ju,tableRow:ju}}}function RM(e){const r=e._align;this.enter({type:"table",align:r.map(function(a){return a==="none"?null:a}),children:[]},e),this.data.inTable=!0}function OM(e){this.exit(e),this.data.inTable=void 0}function LM(e){this.enter({type:"tableRow",children:[]},e)}function ju(e){this.exit(e)}function M8(e){this.enter({type:"tableCell",children:[]},e)}function PM(e){let r=this.resume();this.data.inTable&&(r=r.replace(/\\([\\|])/g,UM));const a=this.stack[this.stack.length-1];a.type,a.value=r,this.exit(e)}function UM(e,r){return r==="|"?r:e}function HM(e){const r=e||{},a=r.tableCellPadding,i=r.tablePipeAlign,s=r.stringLength,x=a?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:`
39
39
  `,inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[ :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{inlineCode:y,table:u,tableCell:d,tableRow:f}};function u(C,A,b,D){return h(E(C,b,D),C.align)}function f(C,A,b,D){const F=p(C,b,D),O=h([F]);return O.slice(0,O.indexOf(`
40
- `))}function d(C,A,b,D){const F=b.enter("tableCell"),O=b.enter("phrasing"),w=b.containerPhrasing(C,{...D,before:x,after:x});return O(),F(),w}function h(C,A){return WS(C,{align:A,alignDelimiters:i,padding:a,stringLength:s})}function E(C,A,b){const D=C.children;let F=-1;const O=[],w=A.enter("table");for(;++F<D.length;)O[F]=p(D[F],A,b);return w(),O}function p(C,A,b){const D=C.children;let F=-1;const O=[],w=A.enter("tableRow");for(;++F<D.length;)O[F]=d(D[F],C,A,b);return w(),O}function y(C,A,b){let D=um.inlineCode(C,A,b);return b.stack.includes("tableCell")&&(D=D.replace(/\|/g,"\\$&")),D}}function UM(){return{exit:{taskListCheckValueChecked:N8,taskListCheckValueUnchecked:N8,paragraph:qM}}}function HM(){return{unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:IM}}}function N8(e){const r=this.stack[this.stack.length-2];r.type,r.checked=e.type==="taskListCheckValueChecked"}function qM(e){const r=this.stack[this.stack.length-2];if(r&&r.type==="listItem"&&typeof r.checked=="boolean"){const a=this.stack[this.stack.length-1];a.type;const i=a.children[0];if(i&&i.type==="text"){const s=r.children;let x=-1,u;for(;++x<s.length;){const f=s[x];if(f.type==="paragraph"){u=f;break}}u===a&&(i.value=i.value.slice(1),i.value.length===0?a.children.shift():a.position&&i.position&&typeof i.position.start.offset=="number"&&(i.position.start.column++,i.position.start.offset++,a.position.start=Object.assign({},i.position.start)))}}this.exit(e)}function IM(e,r,a,i){const s=e.children[0],x=typeof e.checked=="boolean"&&s&&s.type==="paragraph",u="["+(e.checked?"x":" ")+"] ",f=a.createTracker(i);x&&f.move(u);let d=um.listItem(e,r,a,{...i,...f.current()});return x&&(d=d.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,h)),d;function h(E){return E+u}}function VM(){return[AS(),IS(),QS(),TM(),UM()]}function $M(e){return{extensions:[bS(),VS(e),YS(),PM(e),HM()]}}const GM={tokenize:JM,partial:!0},cm={tokenize:WM,partial:!0},fm={tokenize:eN,partial:!0},dm={tokenize:tN,partial:!0},QM={tokenize:nN,partial:!0},hm={name:"wwwAutolink",tokenize:KM,previous:mm},pm={name:"protocolAutolink",tokenize:ZM,previous:Em},d0={name:"emailAutolink",tokenize:XM,previous:Cm},Vn={};function YM(){return{text:Vn}}let cr=48;for(;cr<123;)Vn[cr]=d0,cr++,cr===58?cr=65:cr===91&&(cr=97);Vn[43]=d0;Vn[45]=d0;Vn[46]=d0;Vn[95]=d0;Vn[72]=[d0,pm];Vn[104]=[d0,pm];Vn[87]=[d0,hm];Vn[119]=[d0,hm];function XM(e,r,a){const i=this;let s,x;return u;function u(p){return!oc(p)||!Cm.call(i,i.previous)||Xc(i.events)?a(p):(e.enter("literalAutolink"),e.enter("literalAutolinkEmail"),f(p))}function f(p){return oc(p)?(e.consume(p),f):p===64?(e.consume(p),d):a(p)}function d(p){return p===46?e.check(QM,E,h)(p):p===45||p===95||Nt(p)?(x=!0,e.consume(p),d):E(p)}function h(p){return e.consume(p),s=!0,d}function E(p){return x&&s&&Ot(i.previous)?(e.exit("literalAutolinkEmail"),e.exit("literalAutolink"),r(p)):a(p)}}function KM(e,r,a){const i=this;return s;function s(u){return u!==87&&u!==119||!mm.call(i,i.previous)||Xc(i.events)?a(u):(e.enter("literalAutolink"),e.enter("literalAutolinkWww"),e.check(GM,e.attempt(cm,e.attempt(fm,x),a),a)(u))}function x(u){return e.exit("literalAutolinkWww"),e.exit("literalAutolink"),r(u)}}function ZM(e,r,a){const i=this;let s="",x=!1;return u;function u(p){return(p===72||p===104)&&Em.call(i,i.previous)&&!Xc(i.events)?(e.enter("literalAutolink"),e.enter("literalAutolinkHttp"),s+=String.fromCodePoint(p),e.consume(p),f):a(p)}function f(p){if(Ot(p)&&s.length<5)return s+=String.fromCodePoint(p),e.consume(p),f;if(p===58){const y=s.toLowerCase();if(y==="http"||y==="https")return e.consume(p),d}return a(p)}function d(p){return p===47?(e.consume(p),x?h:(x=!0,d)):a(p)}function h(p){return p===null||Mo(p)||We(p)||Er(p)||Uo(p)?a(p):e.attempt(cm,e.attempt(fm,E),a)(p)}function E(p){return e.exit("literalAutolinkHttp"),e.exit("literalAutolink"),r(p)}}function JM(e,r,a){let i=0;return s;function s(u){return(u===87||u===119)&&i<3?(i++,e.consume(u),s):u===46&&i===3?(e.consume(u),x):a(u)}function x(u){return u===null?a(u):r(u)}}function WM(e,r,a){let i,s,x;return u;function u(h){return h===46||h===95?e.check(dm,d,f)(h):h===null||We(h)||Er(h)||h!==45&&Uo(h)?d(h):(x=!0,e.consume(h),u)}function f(h){return h===95?i=!0:(s=i,i=void 0),e.consume(h),u}function d(h){return s||i||!x?a(h):r(h)}}function eN(e,r){let a=0,i=0;return s;function s(u){return u===40?(a++,e.consume(u),s):u===41&&i<a?x(u):u===33||u===34||u===38||u===39||u===41||u===42||u===44||u===46||u===58||u===59||u===60||u===63||u===93||u===95||u===126?e.check(dm,r,x)(u):u===null||We(u)||Er(u)?r(u):(e.consume(u),s)}function x(u){return u===41&&i++,e.consume(u),s}}function tN(e,r,a){return i;function i(f){return f===33||f===34||f===39||f===41||f===42||f===44||f===46||f===58||f===59||f===63||f===95||f===126?(e.consume(f),i):f===38?(e.consume(f),x):f===93?(e.consume(f),s):f===60||f===null||We(f)||Er(f)?r(f):a(f)}function s(f){return f===null||f===40||f===91||We(f)||Er(f)?r(f):i(f)}function x(f){return Ot(f)?u(f):a(f)}function u(f){return f===59?(e.consume(f),i):Ot(f)?(e.consume(f),u):a(f)}}function nN(e,r,a){return i;function i(x){return e.consume(x),s}function s(x){return Nt(x)?a(x):r(x)}}function mm(e){return e===null||e===40||e===42||e===95||e===91||e===93||e===126||We(e)}function Em(e){return!Ot(e)}function Cm(e){return!(e===47||oc(e))}function oc(e){return e===43||e===45||e===46||e===95||Nt(e)}function Xc(e){let r=e.length,a=!1;for(;r--;){const i=e[r][1];if((i.type==="labelLink"||i.type==="labelImage")&&!i._balanced){a=!0;break}if(i._gfmAutolinkLiteralWalkedInto){a=!1;break}}return e.length>0&&!a&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),a}const rN={tokenize:cN,partial:!0};function aN(){return{document:{91:{name:"gfmFootnoteDefinition",tokenize:sN,continuation:{tokenize:xN},exit:uN}},text:{91:{name:"gfmFootnoteCall",tokenize:oN},93:{name:"gfmPotentialFootnoteCall",add:"after",tokenize:lN,resolveTo:iN}}}}function lN(e,r,a){const i=this;let s=i.events.length;const x=i.parser.gfmFootnotes||(i.parser.gfmFootnotes=[]);let u;for(;s--;){const d=i.events[s][1];if(d.type==="labelImage"){u=d;break}if(d.type==="gfmFootnoteCall"||d.type==="labelLink"||d.type==="label"||d.type==="image"||d.type==="link")break}return f;function f(d){if(!u||!u._balanced)return a(d);const h=Tn(i.sliceSerialize({start:u.end,end:i.now()}));return h.codePointAt(0)!==94||!x.includes(h.slice(1))?a(d):(e.enter("gfmFootnoteCallLabelMarker"),e.consume(d),e.exit("gfmFootnoteCallLabelMarker"),r(d))}}function iN(e,r){let a=e.length;for(;a--;)if(e[a][1].type==="labelImage"&&e[a][0]==="enter"){e[a][1];break}e[a+1][1].type="data",e[a+3][1].type="gfmFootnoteCallLabelMarker";const i={type:"gfmFootnoteCall",start:Object.assign({},e[a+3][1].start),end:Object.assign({},e[e.length-1][1].end)},s={type:"gfmFootnoteCallMarker",start:Object.assign({},e[a+3][1].end),end:Object.assign({},e[a+3][1].end)};s.end.column++,s.end.offset++,s.end._bufferIndex++;const x={type:"gfmFootnoteCallString",start:Object.assign({},s.end),end:Object.assign({},e[e.length-1][1].start)},u={type:"chunkString",contentType:"string",start:Object.assign({},x.start),end:Object.assign({},x.end)},f=[e[a+1],e[a+2],["enter",i,r],e[a+3],e[a+4],["enter",s,r],["exit",s,r],["enter",x,r],["enter",u,r],["exit",u,r],["exit",x,r],e[e.length-2],e[e.length-1],["exit",i,r]];return e.splice(a,e.length-a+1,...f),e}function oN(e,r,a){const i=this,s=i.parser.gfmFootnotes||(i.parser.gfmFootnotes=[]);let x=0,u;return f;function f(p){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(p),e.exit("gfmFootnoteCallLabelMarker"),d}function d(p){return p!==94?a(p):(e.enter("gfmFootnoteCallMarker"),e.consume(p),e.exit("gfmFootnoteCallMarker"),e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",h)}function h(p){if(x>999||p===93&&!u||p===null||p===91||We(p))return a(p);if(p===93){e.exit("chunkString");const y=e.exit("gfmFootnoteCallString");return s.includes(Tn(i.sliceSerialize(y)))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(p),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),r):a(p)}return We(p)||(u=!0),x++,e.consume(p),p===92?E:h}function E(p){return p===91||p===92||p===93?(e.consume(p),x++,h):h(p)}}function sN(e,r,a){const i=this,s=i.parser.gfmFootnotes||(i.parser.gfmFootnotes=[]);let x,u=0,f;return d;function d(A){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(A),e.exit("gfmFootnoteDefinitionLabelMarker"),h}function h(A){return A===94?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(A),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),e.enter("chunkString").contentType="string",E):a(A)}function E(A){if(u>999||A===93&&!f||A===null||A===91||We(A))return a(A);if(A===93){e.exit("chunkString");const b=e.exit("gfmFootnoteDefinitionLabelString");return x=Tn(i.sliceSerialize(b)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(A),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),y}return We(A)||(f=!0),u++,e.consume(A),A===92?p:E}function p(A){return A===91||A===92||A===93?(e.consume(A),u++,E):E(A)}function y(A){return A===58?(e.enter("definitionMarker"),e.consume(A),e.exit("definitionMarker"),s.includes(x)||s.push(x),Le(e,C,"gfmFootnoteDefinitionWhitespace")):a(A)}function C(A){return r(A)}}function xN(e,r,a){return e.check(Ll,r,e.attempt(rN,r,a))}function uN(e){e.exit("gfmFootnoteDefinition")}function cN(e,r,a){const i=this;return Le(e,s,"gfmFootnoteDefinitionIndent",5);function s(x){const u=i.events[i.events.length-1];return u&&u[1].type==="gfmFootnoteDefinitionIndent"&&u[2].sliceSerialize(u[1],!0).length===4?r(x):a(x)}}function fN(e){let a=(e||{}).singleTilde;const i={name:"strikethrough",tokenize:x,resolveAll:s};return a==null&&(a=!0),{text:{126:i},insideSpan:{null:[i]},attentionMarkers:{null:[126]}};function s(u,f){let d=-1;for(;++d<u.length;)if(u[d][0]==="enter"&&u[d][1].type==="strikethroughSequenceTemporary"&&u[d][1]._close){let h=d;for(;h--;)if(u[h][0]==="exit"&&u[h][1].type==="strikethroughSequenceTemporary"&&u[h][1]._open&&u[d][1].end.offset-u[d][1].start.offset===u[h][1].end.offset-u[h][1].start.offset){u[d][1].type="strikethroughSequence",u[h][1].type="strikethroughSequence";const E={type:"strikethrough",start:Object.assign({},u[h][1].start),end:Object.assign({},u[d][1].end)},p={type:"strikethroughText",start:Object.assign({},u[h][1].end),end:Object.assign({},u[d][1].start)},y=[["enter",E,f],["enter",u[h][1],f],["exit",u[h][1],f],["enter",p,f]],C=f.parser.constructs.insideSpan.null;C&&un(y,y.length,0,Ho(C,u.slice(h+1,d),f)),un(y,y.length,0,[["exit",p,f],["enter",u[d][1],f],["exit",u[d][1],f],["exit",E,f]]),un(u,h-1,d-h+3,y),d=h+y.length-2;break}}for(d=-1;++d<u.length;)u[d][1].type==="strikethroughSequenceTemporary"&&(u[d][1].type="data");return u}function x(u,f,d){const h=this.previous,E=this.events;let p=0;return y;function y(A){return h===126&&E[E.length-1][1].type!=="characterEscape"?d(A):(u.enter("strikethroughSequenceTemporary"),C(A))}function C(A){const b=ua(h);if(A===126)return p>1?d(A):(u.consume(A),p++,C);if(p<2&&!a)return d(A);const D=u.exit("strikethroughSequenceTemporary"),F=ua(A);return D._open=!F||F===2&&!!b,D._close=!b||b===2&&!!F,f(A)}}}class dN{constructor(){this.map=[]}add(r,a,i){hN(this,r,a,i)}consume(r){if(this.map.sort(function(x,u){return x[0]-u[0]}),this.map.length===0)return;let a=this.map.length;const i=[];for(;a>0;)a-=1,i.push(r.slice(this.map[a][0]+this.map[a][1]),this.map[a][2]),r.length=this.map[a][0];i.push(r.slice()),r.length=0;let s=i.pop();for(;s;){for(const x of s)r.push(x);s=i.pop()}this.map.length=0}}function hN(e,r,a,i){let s=0;if(!(a===0&&i.length===0)){for(;s<e.map.length;){if(e.map[s][0]===r){e.map[s][1]+=a,e.map[s][2].push(...i);return}s+=1}e.map.push([r,a,i])}}function pN(e,r){let a=!1;const i=[];for(;r<e.length;){const s=e[r];if(a){if(s[0]==="enter")s[1].type==="tableContent"&&i.push(e[r+1][1].type==="tableDelimiterMarker"?"left":"none");else if(s[1].type==="tableContent"){if(e[r-1][1].type==="tableDelimiterMarker"){const x=i.length-1;i[x]=i[x]==="left"?"center":"right"}}else if(s[1].type==="tableDelimiterRow")break}else s[0]==="enter"&&s[1].type==="tableDelimiterRow"&&(a=!0);r+=1}return i}function mN(){return{flow:{null:{name:"table",tokenize:EN,resolveAll:CN}}}}function EN(e,r,a){const i=this;let s=0,x=0,u;return f;function f(L){let X=i.events.length-1;for(;X>-1;){const Z=i.events[X][1].type;if(Z==="lineEnding"||Z==="linePrefix")X--;else break}const K=X>-1?i.events[X][1].type:null,ie=K==="tableHead"||K==="tableRow"?k:d;return ie===k&&i.parser.lazy[i.now().line]?a(L):ie(L)}function d(L){return e.enter("tableHead"),e.enter("tableRow"),h(L)}function h(L){return L===124||(u=!0,x+=1),E(L)}function E(L){return L===null?a(L):ge(L)?x>1?(x=0,i.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(L),e.exit("lineEnding"),C):a(L):ze(L)?Le(e,E,"whitespace")(L):(x+=1,u&&(u=!1,s+=1),L===124?(e.enter("tableCellDivider"),e.consume(L),e.exit("tableCellDivider"),u=!0,E):(e.enter("data"),p(L)))}function p(L){return L===null||L===124||We(L)?(e.exit("data"),E(L)):(e.consume(L),L===92?y:p)}function y(L){return L===92||L===124?(e.consume(L),p):p(L)}function C(L){return i.interrupt=!1,i.parser.lazy[i.now().line]?a(L):(e.enter("tableDelimiterRow"),u=!1,ze(L)?Le(e,A,"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(L):A(L))}function A(L){return L===45||L===58?D(L):L===124?(u=!0,e.enter("tableCellDivider"),e.consume(L),e.exit("tableCellDivider"),b):R(L)}function b(L){return ze(L)?Le(e,D,"whitespace")(L):D(L)}function D(L){return L===58?(x+=1,u=!0,e.enter("tableDelimiterMarker"),e.consume(L),e.exit("tableDelimiterMarker"),F):L===45?(x+=1,F(L)):L===null||ge(L)?_(L):R(L)}function F(L){return L===45?(e.enter("tableDelimiterFiller"),O(L)):R(L)}function O(L){return L===45?(e.consume(L),O):L===58?(u=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),e.consume(L),e.exit("tableDelimiterMarker"),w):(e.exit("tableDelimiterFiller"),w(L))}function w(L){return ze(L)?Le(e,_,"whitespace")(L):_(L)}function _(L){return L===124?A(L):L===null||ge(L)?!u||s!==x?R(L):(e.exit("tableDelimiterRow"),e.exit("tableHead"),r(L)):R(L)}function R(L){return a(L)}function k(L){return e.enter("tableRow"),T(L)}function T(L){return L===124?(e.enter("tableCellDivider"),e.consume(L),e.exit("tableCellDivider"),T):L===null||ge(L)?(e.exit("tableRow"),r(L)):ze(L)?Le(e,T,"whitespace")(L):(e.enter("data"),S(L))}function S(L){return L===null||L===124||We(L)?(e.exit("data"),T(L)):(e.consume(L),L===92?q:S)}function q(L){return L===92||L===124?(e.consume(L),S):S(L)}}function CN(e,r){let a=-1,i=!0,s=0,x=[0,0,0,0],u=[0,0,0,0],f=!1,d=0,h,E,p;const y=new dN;for(;++a<e.length;){const C=e[a],A=C[1];C[0]==="enter"?A.type==="tableHead"?(f=!1,d!==0&&(_8(y,r,d,h,E),E=void 0,d=0),h={type:"table",start:Object.assign({},A.start),end:Object.assign({},A.end)},y.add(a,0,[["enter",h,r]])):A.type==="tableRow"||A.type==="tableDelimiterRow"?(i=!0,p=void 0,x=[0,0,0,0],u=[0,a+1,0,0],f&&(f=!1,E={type:"tableBody",start:Object.assign({},A.start),end:Object.assign({},A.end)},y.add(a,0,[["enter",E,r]])),s=A.type==="tableDelimiterRow"?2:E?3:1):s&&(A.type==="data"||A.type==="tableDelimiterMarker"||A.type==="tableDelimiterFiller")?(i=!1,u[2]===0&&(x[1]!==0&&(u[0]=u[1],p=uo(y,r,x,s,void 0,p),x=[0,0,0,0]),u[2]=a)):A.type==="tableCellDivider"&&(i?i=!1:(x[1]!==0&&(u[0]=u[1],p=uo(y,r,x,s,void 0,p)),x=u,u=[x[1],a,0,0])):A.type==="tableHead"?(f=!0,d=a):A.type==="tableRow"||A.type==="tableDelimiterRow"?(d=a,x[1]!==0?(u[0]=u[1],p=uo(y,r,x,s,a,p)):u[1]!==0&&(p=uo(y,r,u,s,a,p)),s=0):s&&(A.type==="data"||A.type==="tableDelimiterMarker"||A.type==="tableDelimiterFiller")&&(u[3]=a)}for(d!==0&&_8(y,r,d,h,E),y.consume(r.events),a=-1;++a<r.events.length;){const C=r.events[a];C[0]==="enter"&&C[1].type==="table"&&(C[1]._align=pN(r.events,a))}return e}function uo(e,r,a,i,s,x){const u=i===1?"tableHeader":i===2?"tableDelimiter":"tableData",f="tableContent";a[0]!==0&&(x.end=Object.assign({},sa(r.events,a[0])),e.add(a[0],0,[["exit",x,r]]));const d=sa(r.events,a[1]);if(x={type:u,start:Object.assign({},d),end:Object.assign({},d)},e.add(a[1],0,[["enter",x,r]]),a[2]!==0){const h=sa(r.events,a[2]),E=sa(r.events,a[3]),p={type:f,start:Object.assign({},h),end:Object.assign({},E)};if(e.add(a[2],0,[["enter",p,r]]),i!==2){const y=r.events[a[2]],C=r.events[a[3]];if(y[1].end=Object.assign({},C[1].end),y[1].type="chunkText",y[1].contentType="text",a[3]>a[2]+1){const A=a[2]+1,b=a[3]-a[2]-1;e.add(A,b,[])}}e.add(a[3]+1,0,[["exit",p,r]])}return s!==void 0&&(x.end=Object.assign({},sa(r.events,s)),e.add(s,0,[["exit",x,r]]),x=void 0),x}function _8(e,r,a,i,s){const x=[],u=sa(r.events,a);s&&(s.end=Object.assign({},u),x.push(["exit",s,r])),i.end=Object.assign({},u),x.push(["exit",i,r]),e.add(a+1,0,x)}function sa(e,r){const a=e[r],i=a[0]==="enter"?"start":"end";return a[1][i]}const yN={name:"tasklistCheck",tokenize:BN};function gN(){return{text:{91:yN}}}function BN(e,r,a){const i=this;return s;function s(d){return i.previous!==null||!i._gfmTasklistFirstContentOfListItem?a(d):(e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(d),e.exit("taskListCheckMarker"),x)}function x(d){return We(d)?(e.enter("taskListCheckValueUnchecked"),e.consume(d),e.exit("taskListCheckValueUnchecked"),u):d===88||d===120?(e.enter("taskListCheckValueChecked"),e.consume(d),e.exit("taskListCheckValueChecked"),u):a(d)}function u(d){return d===93?(e.enter("taskListCheckMarker"),e.consume(d),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),f):a(d)}function f(d){return ge(d)?r(d):ze(d)?e.check({tokenize:AN},r,a)(d):a(d)}}function AN(e,r,a){return Le(e,i,"whitespace");function i(s){return s===null?a(s):r(s)}}function bN(e){return Fp([YM(),aN(),fN(e),mN(),gN()])}const DN={};function vN(e){const r=this,a=e||DN,i=r.data(),s=i.micromarkExtensions||(i.micromarkExtensions=[]),x=i.fromMarkdownExtensions||(i.fromMarkdownExtensions=[]),u=i.toMarkdownExtensions||(i.toMarkdownExtensions=[]);s.push(bN(a)),x.push(VM()),u.push($M(a))}const kN=[vN,BS],xa=z.memo(function({children:r}){return g.jsx("div",{className:"md",children:g.jsx(uS,{remarkPlugins:kN,children:r})})}),FN=2500,ym=12,wN=2,SN=ym+8,MN=2,NN=1.1,_N=200,TN=420,zN=.6,gm=()=>window.matchMedia("(prefers-reduced-motion: reduce)").matches,Ru=(e,r,a)=>Math.min(a,Math.max(r,e)),jN=e=>e.scrollHeight-e.clientHeight-e.scrollTop<=MN?e.scrollTop+e.clientHeight:e.scrollTop+SN,RN=(e,r)=>e.length===r.length&&e.every((a,i)=>a.top===r[i].top&&a.preview===r[i].preview);function ON(e,r,a){const i=Ru(r,0,e.scrollHeight-e.clientHeight);if(gm())return e.scrollTop=i,a(),()=>{};const s=e.clientHeight*NN;Math.abs(i-e.scrollTop)>s&&(e.scrollTop=Ru(i+Math.sign(e.scrollTop-i)*s,0,e.scrollHeight-e.clientHeight));const x=e.scrollTop,u=i-x;if(!u)return a(),()=>{};const f=Ru(Math.abs(u)*zN,_N,TN),d=performance.now();let h=0,E=!1;const p=()=>{E||(E=!0,cancelAnimationFrame(h),e.removeEventListener("touchstart",p),e.removeEventListener("wheel",p))};e.addEventListener("touchstart",p,{passive:!0}),e.addEventListener("wheel",p,{passive:!0});const y=C=>{const A=Math.min(1,(C-d)/f);if(e.scrollTop=x+u*(1-(1-A)**5),A<1){h=requestAnimationFrame(y);return}p(),a()};return h=requestAnimationFrame(y),p}function LN({scroller:e}){const[r,a]=z.useState([]),[i,s]=z.useState(0),[x,u]=z.useState(!1),[f,d]=z.useState(!1),h=z.useRef([]),E=z.useRef(!1),p=z.useRef(!1),y=z.useRef(0),C=z.useRef(0),A=z.useRef(()=>{}),b=z.useCallback(()=>{E.current=!0,u(!0),clearTimeout(y.current),y.current=window.setTimeout(()=>{p.current||(E.current=!1,u(!1))},FN)},[]),D=z.useCallback(()=>{const S=e.current;if(!S)return;const q=S.getBoundingClientRect().top-S.scrollTop,L=Array.from(S.querySelectorAll("[data-user-msg]"),X=>({top:X.getBoundingClientRect().top-q,preview:X.dataset.userMsg??"",ts:X.dataset.msgTs??null,state:X.dataset.msgState??null,node:X}));h.current=RN(h.current,L)?h.current:L,a(h.current),s(jN(S))},[e]),F=z.useCallback(()=>{C.current||(C.current=requestAnimationFrame(()=>{C.current=0,D()}))},[D]);z.useEffect(()=>{const S=e.current;if(!S)return;const q=()=>{b(),F()},L=()=>{E.current&&(b(),F())};S.addEventListener("touchmove",q,{passive:!0}),S.addEventListener("wheel",q,{passive:!0}),S.addEventListener("scroll",L,{passive:!0});const X=()=>{E.current&&F()},K=new ResizeObserver(X);K.observe(S);const ie=new MutationObserver(X);return ie.observe(S,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["open"]}),()=>{S.removeEventListener("touchmove",q),S.removeEventListener("wheel",q),S.removeEventListener("scroll",L),K.disconnect(),ie.disconnect(),A.current(),C.current&&cancelAnimationFrame(C.current),clearTimeout(y.current)}},[e,b,F]);const O=S=>{const q=e.current,L=h.current[S];q&&L&&(A.current(),A.current=ON(q,L.top-ym,()=>{gm()||L.node.firstElementChild?.animate([{boxShadow:"0 0 0 2px var(--color-accent)"},{boxShadow:"0 0 0 2px transparent"}],{duration:700,easing:"ease-out"})}),b())},w=z.useCallback(()=>{p.current=!1,d(!1),b()},[b]);if(r.length<wN)return null;let _=-1;for(let S=0;S<r.length;S++)r[S].top<=i&&(_=S);const R=_>0?_-1:null,k=_+1<r.length?_+1:null,T=x||f;return g.jsxs(g.Fragment,{children:[g.jsx("div",{className:be("pointer-events-none absolute inset-x-0 bottom-0 z-20 flex justify-center pb-3 transition duration-200 ease-out motion-reduce:transition-none",T?"translate-y-0 opacity-100":"translate-y-3 opacity-0"),children:g.jsxs("nav",{"aria-label":"Jump to your messages",onFocus:b,className:be("flex h-12 items-stretch overflow-hidden rounded-full border border-border bg-surface-2 shadow-lg shadow-black/60",T?"pointer-events-auto":"pointer-events-none"),children:[g.jsx(T8,{dir:"up",onClick:()=>R!==null&&O(R),disabled:R===null}),g.jsxs("button",{type:"button",onClick:()=>{D(),p.current=!0,d(!0),b()},"aria-haspopup":"dialog","aria-expanded":f,"aria-label":`Your messages — ${r.length} in this chat`,className:"flex items-center gap-1.5 border-border-soft border-x px-3.5 text-muted transition active:bg-surface active:text-text focus-visible:outline-2 focus-visible:outline-accent focus-visible:-outline-offset-2",children:[g.jsx(Zy,{size:16,className:"shrink-0"}),g.jsxs("span",{className:"font-mono text-[13px] tabular-nums",children:[g.jsx("span",{className:"text-text",children:_+1||"–"}),g.jsxs("span",{className:"text-muted",children:["/",r.length]})]})]}),g.jsx(T8,{dir:"down",onClick:()=>k!==null&&O(k),disabled:k===null})]})}),f?g.jsx(UN,{marks:r,current:_,onPick:S=>{w(),O(S)},onClose:w}):null]})}function PN({mark:e}){if(e.state==="failed")return g.jsx("span",{className:"shrink-0 text-[11px] text-del",children:"didn’t send"});const r=e.state==="sending"?"sending…":e.state==="queued"?"queued":e.ts&&Nc(e.ts);return r?g.jsx("span",{className:"shrink-0 text-[11px] text-muted tabular-nums",children:r}):null}function T8({dir:e,onClick:r,disabled:a}){const i=e==="up"?X3:Po;return g.jsx("button",{type:"button",onClick:r,disabled:a,"aria-label":e==="up"?"Jump to your previous message":"Jump to your next message",className:"flex w-12 items-center justify-center text-muted transition active:bg-surface active:text-text disabled:text-faint/40 focus-visible:outline-2 focus-visible:outline-accent focus-visible:-outline-offset-2",children:g.jsx(i,{size:19})})}function UN({marks:e,current:r,onPick:a,onClose:i}){const s=z.useRef(null),x=z.useRef(null);return z.useEffect(()=>{s.current?.focus({preventScroll:!0}),x.current?.scrollIntoView({block:"center"})},[]),g.jsxs(g.Fragment,{children:[g.jsx("div",{className:"fixed inset-0 z-50 bg-black/60",onClick:i,"aria-hidden":!0}),g.jsxs("div",{ref:s,role:"dialog","aria-modal":"true","aria-label":"Your messages",tabIndex:-1,onKeyDown:u=>u.key==="Escape"&&i(),className:"fade-in pb-safe fixed inset-x-0 bottom-0 z-50 mx-auto flex max-h-[70%] max-w-md flex-col rounded-t-3xl border border-border-soft bg-surface shadow-xl outline-none md:mb-6 md:rounded-3xl",children:[g.jsxs("header",{className:"flex shrink-0 items-center gap-2 border-b border-border-soft px-4 py-2.5",children:[g.jsx("h2",{className:"flex-1 text-[15px] font-semibold",children:"Your messages"}),g.jsx("span",{className:"font-mono text-[12px] text-faint tabular-nums",children:e.length}),g.jsx("button",{type:"button",onClick:i,"aria-label":"Close",className:"-mr-2 flex size-11 items-center justify-center rounded-full text-muted transition active:bg-surface-2 focus-visible:outline-2 focus-visible:outline-accent focus-visible:-outline-offset-2",children:g.jsx(yr,{size:19})})]}),g.jsx("div",{className:"min-h-0 flex-1 overflow-y-auto overscroll-contain py-1",children:e.map((u,f)=>g.jsxs("button",{ref:f===r?x:void 0,type:"button",onClick:()=>a(f),"aria-current":f===r?"true":void 0,className:be("flex min-h-14 w-full items-center gap-3 px-4 py-2.5 text-left transition active:bg-surface-2 focus-visible:outline-2 focus-visible:outline-accent focus-visible:-outline-offset-2",f===r&&"bg-surface-2/60"),children:[g.jsx("span",{className:be("w-5 shrink-0 text-right font-mono text-[11px] tabular-nums",f===r?"text-accent":"text-muted"),children:f+1}),g.jsx("span",{className:"line-clamp-2 min-w-0 flex-1 text-[13.5px] leading-snug text-text [overflow-wrap:anywhere]",children:u.preview||"Empty message"}),g.jsx(PN,{mark:u})]},u.top))})]})]})}function Bm({sessionId:e,workspaceId:r,working:a,workingSince:i,queued:s,poll:x}){const{entries:u,loading:f,error:d}=jb(e,x??!0),h=ke(S=>S.pending),E=ke(S=>S.removePending),p=Q2(),y=I0(),C=z.useRef(null),A=z.useRef(!0),b=z.useMemo(()=>qN(u),[u]),D=async S=>{await(S.sessionId?Ie.dismissParked(S.sessionId):Ie.dismissPrompt(S.workspaceId)).catch(()=>{}),y.invalidateQueries({queryKey:["state"]})},F=new Set(u.filter(S=>S.role==="user").map(S=>S.text.trim())),O=h.filter(S=>S.sessionId===e),w=O.filter(S=>!(S.status==="sending"&&F.has(S.text.trim()))),_=s?.text.trim()||null,R=_&&!F.has(_)&&!O.some(S=>S.text.trim()===_)?s:null;z.useEffect(()=>{const S=new Set(u.filter(q=>q.role==="user").map(q=>q.text.trim()));for(const q of h)q.sessionId===e&&q.status==="sending"&&S.has(q.text.trim())&&E(q.id)},[u,h,e,E]);const k=()=>{const S=C.current;S&&(A.current=S.scrollHeight-S.scrollTop-S.clientHeight<120)};if(z.useLayoutEffect(()=>{const S=C.current;S&&A.current&&(S.scrollTop=S.scrollHeight)},[u,w.length,a]),z.useEffect(()=>{A.current=!0},[e]),z.useEffect(()=>{const S=C.current;if(!S)return;const q=new ResizeObserver(()=>{A.current&&(S.scrollTop=S.scrollHeight)});return q.observe(S),()=>q.disconnect()},[]),!e&&!R)return g.jsx(Lt,{children:"No active session in this workspace."});const T=u.length===0&&w.length===0&&!R;return g.jsxs("div",{className:"relative flex min-h-0 min-w-0 flex-1",children:[g.jsx("div",{ref:C,onScroll:k,className:"min-w-0 flex-1 overflow-y-auto overflow-x-hidden px-3 py-3",children:f&&T?g.jsx(ha,{label:"Loading transcript…"}):d&&T?g.jsx(Lt,{children:d}):T&&!a?g.jsx(Lt,{children:"No messages yet."}):g.jsxs("div",{className:"flex min-w-0 flex-col gap-2.5",children:[b.map(S=>S.kind==="steps"?g.jsx(IN,{entries:S.entries},S.key):g.jsx(Am,{e:S.e},S.key)),w.map(S=>g.jsx(GN,{p:S,onRetry:()=>p({id:S.id,sessionId:S.sessionId,workspaceId:S.workspaceId,text:S.text}),onDismiss:()=>E(S.id)},S.id)),R?g.jsx(VN,{queued:R,onRetry:e?()=>p({id:`queued:${R.sessionId??R.workspaceId}:${R.createdAt}`,sessionId:e,workspaceId:r,text:R.text}):void 0,onDismiss:()=>D(R)}):null,a?g.jsx(QN,{since:i}):null]})}),g.jsx(LN,{scroller:C})]})}const yo=e=>`${e.rowid}-${e.id}`,HN=(e,r)=>e.entries.length===r.entries.length&&e.entries.every((a,i)=>a===r.entries[i]);function qN(e){const r=[];let a=[];const i=()=>{if(a.length>1)r.push({kind:"steps",key:`steps-${yo(a[0])}`,entries:a});else for(const s of a)r.push({kind:"entry",key:yo(s),e:s});a=[]};for(const s of e){if(s.role==="tool"||s.role==="thinking"){a.push(s);continue}i(),r.push({kind:"entry",key:yo(s),e:s})}return i(),r}const IN=z.memo(function({entries:r}){const a=r.filter(x=>x.error).length,i=r[r.length-1],s=i.role==="thinking"?"Thinking":i.text;return g.jsxs("details",{className:"group/steps min-w-0 overflow-hidden rounded-xl border border-border-soft bg-surface/40",children:[g.jsxs("summary",{className:"flex cursor-pointer select-none list-none items-baseline gap-2 overflow-hidden whitespace-nowrap px-3 py-1.5 [&::-webkit-details-marker]:hidden",children:[g.jsx("span",{className:"shrink-0 font-mono text-[11px] text-faint transition-transform group-open/steps:rotate-90",children:"▸"}),g.jsxs("span",{className:"shrink-0 text-[12.5px] text-muted",children:[r.length," steps"]}),g.jsx("span",{className:"min-w-0 flex-1 truncate text-[11px] text-faint group-open/steps:invisible",children:s}),a?g.jsxs("span",{className:"shrink-0 text-[11px] text-del",children:[a," failed"]}):null]}),g.jsx("div",{className:"flex min-w-0 flex-col gap-2.5 border-t border-border-soft px-2 py-2.5",children:r.map(x=>g.jsx(Am,{e:x},yo(x)))})]})},HN);function VN({queued:e,onRetry:r,onDismiss:a}){const i=e.status==="failed",s=!i&&e.sessionId?$N():null;return g.jsxs("div",{className:"flex flex-col items-end gap-1","data-user-msg":ko(e.text),"data-msg-state":"queued",children:[g.jsx(Nl,{className:be("max-w-[85%] bg-accent-soft text-text opacity-60",i&&"border border-del/40"),children:g.jsx(xa,{children:e.text})}),i?g.jsxs("div",{className:"flex items-center gap-2 pr-1 text-[11px] text-del",children:[g.jsx(Dc,{size:11,className:"shrink-0"}),g.jsx("span",{className:"max-w-[55vw] truncate",children:e.error||"Didn’t send"}),r?g.jsx("button",{type:"button",onClick:r,className:"font-semibold underline underline-offset-2",children:"Retry"}):null,g.jsx("button",{type:"button",onClick:a,className:"text-faint underline underline-offset-2",children:"Dismiss"})]}):g.jsxs("span",{className:"flex items-center gap-1 pr-1 text-[11px] text-faint",children:[g.jsx(Ac,{size:11,className:"animate-spin"}),e.reason??"The relay is sending this",s?g.jsx("a",{href:s,className:"ml-1 font-semibold text-accent underline underline-offset-2",children:"Unlock the Mac"}):null]})]})}function $N(){const e=location.hostname;return!e||e==="localhost"||e.startsWith("127.")?null:`vnc://${e}`}function GN({p:e,onRetry:r,onDismiss:a}){return e.status==="error"?g.jsxs("div",{className:"flex flex-col items-end gap-1","data-user-msg":ko(e.text),"data-msg-state":"failed",children:[g.jsx(Nl,{className:"max-w-[85%] border border-del/40 bg-accent-soft text-text",children:g.jsx(xa,{children:e.text})}),g.jsxs("div",{className:"flex items-center gap-2 pr-1 text-[11px] text-del",children:[g.jsx(Dc,{size:11,className:"shrink-0"}),g.jsx("span",{className:"max-w-[55vw] truncate",children:e.error||"Didn’t send"}),g.jsx("button",{type:"button",onClick:r,className:"font-semibold underline underline-offset-2",children:"Retry"}),g.jsx("button",{type:"button",onClick:a,className:"text-faint underline underline-offset-2",children:"Dismiss"})]})]}):g.jsxs("div",{className:"flex flex-col items-end gap-1","data-user-msg":ko(e.text),"data-msg-state":"sending",children:[g.jsx(Nl,{className:"max-w-[85%] bg-accent-soft text-text opacity-60",children:g.jsx(xa,{children:e.text})}),g.jsxs("span",{className:"flex items-center gap-1 pr-1 text-[11px] text-faint",children:[g.jsx(Ac,{size:11,className:"animate-spin"}),"Sending…"]})]})}const Am=z.memo(function({e:r}){return r.role==="user"?g.jsxs("div",{className:"flex flex-col items-end gap-0.5","data-user-msg":ko(r.text),"data-msg-ts":r.ts,children:[g.jsxs(Nl,{className:be("max-w-[85%] bg-accent-soft text-text",r.queued&&"opacity-60"),children:[r.queued?g.jsx(YN,{children:"queued"}):null,g.jsx(xa,{children:r.text})]}),g.jsx("span",{className:"pr-1 text-[11px] text-faint",children:GD(r.ts)})]}):r.role==="tool"?r.error?g.jsx("div",{className:"overflow-hidden rounded-xl border border-del/30 bg-del/5 px-3 py-2",children:g.jsx("pre",{className:"line-clamp-4 whitespace-pre-wrap font-mono text-[11.5px] leading-relaxed text-del/80 [overflow-wrap:anywhere]",children:r.text})}):g.jsxs("div",{className:"flex min-w-0 items-baseline gap-2 overflow-hidden whitespace-nowrap rounded-xl border border-border-soft bg-surface/60 px-3 py-1.5",children:[g.jsx("span",{className:"shrink-0 font-mono text-[11px] text-faint",children:"▸"}),g.jsx("span",{className:"max-w-full truncate text-[12.5px] text-muted",children:r.text}),r.detail?g.jsx("span",{className:"min-w-0 flex-1 truncate font-mono text-[11px] text-faint",children:r.detail}):null]}):r.role==="thinking"?g.jsxs("details",{className:"group/think px-1",children:[g.jsxs("summary",{className:"cursor-pointer select-none list-none text-[11px] font-semibold uppercase tracking-wide text-faint [&::-webkit-details-marker]:hidden",children:[g.jsx("span",{className:"mr-1 inline-block transition-transform group-open/think:rotate-90",children:"▸"}),"Thinking"]}),g.jsx("div",{className:"mt-1 border-l-2 border-border-soft pl-3 text-[13px] italic leading-relaxed text-muted",children:g.jsx(xa,{children:r.text})})]}):r.role==="system"?g.jsx("div",{className:"px-2 text-center text-[11px] text-faint",children:r.text}):g.jsx("div",{className:"flex justify-start",children:g.jsx(Nl,{className:"max-w-[92%] px-0.5",children:g.jsx(xa,{children:r.text})})})});function QN({since:e}){const[r,a]=z.useState(()=>Date.now());return z.useEffect(()=>{if(!e)return;a(Date.now());const i=setInterval(()=>a(Date.now()),1e3);return()=>clearInterval(i)},[e]),g.jsxs("div",{className:"fade-in flex items-center justify-start gap-2",children:[g.jsxs("div",{className:"flex items-center gap-1 px-0.5 py-3",children:[g.jsx("span",{className:"typing-dot"}),g.jsx("span",{className:"typing-dot"}),g.jsx("span",{className:"typing-dot"})]}),e?g.jsx("span",{className:"text-[11px] tabular-nums text-faint",children:$D(r-e)}):null]})}function Nl({children:e,className:r}){return g.jsx("div",{className:be("min-w-0 rounded-2xl px-3.5 py-2.5 text-[14px] leading-relaxed [overflow-wrap:anywhere]",r),children:e})}function YN({children:e}){return g.jsx("div",{className:"mb-1 text-[10px] font-semibold uppercase tracking-wide text-faint",children:e})}function XN({workspace:e}){const[r,a]=g2(),i=r.get("session"),{data:s,isLoading:x}=$2(e.id,!1),u=s?.sessions??[],f=(i&&u.some(h=>h.id===i)?i:null)??u[0]?.id??null,d=[e.repo_name,e.branch].filter(Boolean).join(" · ");return g.jsxs("div",{className:"flex h-full min-w-0 flex-col overflow-hidden",children:[g.jsx(So,{title:In(e),subtitle:d,menu:!0,right:g.jsxs("span",{className:"flex shrink-0 items-center gap-1 rounded-md bg-surface-2 px-2 py-1 text-[10px] font-semibold uppercase tracking-wide text-faint",children:[g.jsx(R7,{size:12}),"Archived"]})}),u.length>1?g.jsx("nav",{className:"flex shrink-0 items-center gap-1 overflow-x-auto border-b border-border-soft bg-bg px-3 py-2",children:u.map(h=>g.jsx("button",{type:"button",onClick:()=>a({session:h.id},{replace:!0}),className:be("pill shrink-0",h.id===f&&"pill-active"),children:g.jsx("span",{className:"max-w-36 truncate",children:h.title||"Untitled"})},h.id))}):null,!x&&!f?g.jsx(Lt,{children:"This workspace was archived with no chat in it."}):g.jsx(Bm,{sessionId:f,workspaceId:e.id,poll:!1}),g.jsx("div",{className:"pb-safe shrink-0 border-t border-border-soft px-4 py-3 text-center text-xs text-faint",children:"Read-only — unarchive it in Conductor to reply."})]})}const bm={low:"Low",medium:"Medium",high:"High",xhigh:"Extra high",max:"Max",ultracode:"Ultracode"},Ou=Object.keys(bm),KN={};function co(e,r){return e===r?void 0:e}function ZN(e){const r=Mc(e.model);return r?r.includes(":")?r.split("/").pop()??r:r:"Model"}function JN({session:e,workspaceId:r}){const[a,i]=z.useState(!1),s=ke(w=>w.agentDrafts[e.id])??KN,x=ke(w=>w.stageAgent),u=ke(w=>w.pending.some(_=>_.sessionId===e.id&&_.status==="sending")),{data:f,isFetching:d,isError:h}=zb(e,r,a),E=w=>x(e.id,w),p=e.claude_effort_level??void 0,y=e.permission_mode==="plan",C=!!e.fast_mode,A=s.effort??p,b=s.plan??y,D=s.fast??C,F=Object.keys(s).length>0,O=()=>Ou[(Ou.indexOf(A??"")+1)%Ou.length];return g.jsxs("div",{className:"min-w-0 flex-1",children:[g.jsxs("div",{className:"flex flex-wrap items-center gap-0.5",children:[g.jsxs("div",{className:"relative",children:[g.jsxs("button",{type:"button",onClick:()=>i(w=>!w),className:be("ctl flex max-w-40 items-center gap-1",s.model&&"ctl-staged"),children:[g.jsx("span",{className:"truncate",children:s.model??ZN(e)}),g.jsx(Po,{size:13,className:"shrink-0"})]}),a?g.jsxs(g.Fragment,{children:[g.jsx("button",{type:"button","aria-label":"Close model picker",onClick:()=>i(!1),className:"fixed inset-0 z-30 cursor-default"}),g.jsxs("div",{className:"absolute bottom-full left-0 z-40 mb-2 max-h-64 w-56 overflow-y-auto rounded-xl border border-border bg-surface-2 py-1 shadow-xl shadow-black/40",children:[g.jsxs("div",{className:"flex items-center gap-1.5 px-3 py-1 text-[11px] text-faint",children:["Model",d?g.jsx(bc,{size:10,className:"animate-spin"}):null]}),f?.length?f.map(w=>g.jsxs("button",{type:"button",onClick:()=>{i(!1),E({model:co(w,s.model)})},className:"flex w-full items-center gap-2 px-3 py-2 text-left text-sm active:bg-surface",children:[g.jsx("span",{className:"min-w-0 flex-1 truncate",children:w}),g.jsx(pr,{size:13,className:be("shrink-0 text-accent",s.model!==w&&"invisible")})]},w)):g.jsx("div",{className:"px-3 py-2 text-sm text-muted",children:h?"Couldn’t read the model list.":"Reading Conductor’s model list…"}),h&&f?.length?g.jsx("div",{className:"px-3 py-1.5 text-[11px] text-del",children:"Couldn’t refresh — showing the last list."}):null]})]}):null]}),A?g.jsx("button",{type:"button",onClick:()=>E({effort:co(O(),p)}),className:be("ctl",s.effort&&"ctl-staged"),children:bm[A]}):null,g.jsx("button",{type:"button",onClick:()=>E({plan:co(!b,y)}),className:be("ctl",b&&"ctl-on",s.plan!==void 0&&"ctl-staged"),children:"Plan"}),g.jsxs("button",{type:"button",onClick:()=>E({fast:co(!D,C)}),className:be("ctl flex items-center gap-1",D&&"ctl-on",s.fast!==void 0&&"ctl-staged"),children:[g.jsx(M2,{size:13}),"Fast"]})]}),F?g.jsx("div",{className:"px-2 pt-0.5 text-[11px] text-faint",children:u?"Applying…":"Applies when you send"}):null]})}function WN({session:e,sessionId:r,workspaceId:a,working:i,actuator:s}){const x=ke(k=>k.drafts[a]??""),u=ke(k=>k.setDraft),f=ke(k=>k.online),d=ke(k=>k.clearWorking),h=Q2(),E=I0(),[p,y]=z.useState(!1),[C,A]=z.useState(null),b=z.useRef(null),D=()=>{const k=b.current;k&&(k.style.height="auto",k.style.height=`${Math.min(k.scrollHeight,160)}px`)};z.useEffect(D,[x]);const F=()=>{const k=x.trim();!k||!r||!f||(h({sessionId:r,workspaceId:a,text:k}),u(a,""))},O=async()=>{if(!(!r||p||!f)){y(!0),A(null);try{const k=await Ie.stop(r,a);k.ok?(d(r),await E.invalidateQueries({queryKey:["sessions",a]}),E.invalidateQueries({queryKey:["state"]})):A(k.error||"Stop failed")}catch(k){A(k instanceof Error?k.message:"Stop failed")}finally{y(!1)}}},w=!r,_=s?.precise&&s.available,R=i&&!!r;return g.jsxs("div",{className:"pb-safe border-t border-border-soft bg-bg px-3 pt-2",children:[f?!_&&g.jsxs("div",{className:"mb-1.5 flex items-center gap-1.5 px-1 text-[11px] text-faint",children:[g.jsx(jy,{size:12}),s?.caveat||"Sends to the focused session"]}):g.jsxs("div",{className:"mb-2 flex items-center gap-1.5 rounded-lg bg-del/10 px-3 py-1.5 text-xs text-del",children:[g.jsx(vc,{size:12}),"Offline — drafts are saved, sending resumes when the relay is back"]}),C?g.jsx("button",{type:"button",onClick:()=>A(null),className:"mb-2 block w-full rounded-lg border border-del/40 bg-del/10 px-3 py-1.5 text-left text-xs text-del",children:C}):null,g.jsxs("div",{className:"rounded-2xl border border-border bg-surface p-2 has-[textarea:focus]:border-accent/60",children:[g.jsx("textarea",{ref:b,rows:1,value:x,disabled:w,placeholder:w?"No active session":"Send a prompt…",className:"block max-h-40 w-full resize-none bg-transparent px-2 py-1 text-base outline-none placeholder:text-faint disabled:opacity-50",onChange:k=>u(a,k.target.value),onKeyDown:k=>{k.key==="Enter"&&(k.metaKey||k.ctrlKey)&&(k.preventDefault(),F())}}),g.jsxs("div",{className:"mt-1 flex items-end gap-2",children:[e?g.jsx(JN,{session:e,workspaceId:a}):g.jsx("span",{className:"flex-1"}),R?g.jsx("button",{type:"button",onClick:O,disabled:p||!f,"aria-label":"Stop the agent",className:"flex size-9 shrink-0 items-center justify-center rounded-full border border-border text-text transition active:scale-90 disabled:text-faint",children:p?g.jsx("span",{className:"size-4 animate-spin rounded-full border-2 border-border border-t-text"}):g.jsx(KB,{size:15,fill:"currentColor"})}):null,R&&!x.trim()?null:g.jsx("button",{type:"button",onClick:F,disabled:w||!x.trim()||!f,"aria-label":"Send",className:"flex size-9 shrink-0 items-center justify-center rounded-full bg-accent text-white transition active:scale-90 disabled:bg-surface-2 disabled:text-faint",children:g.jsx(U7,{size:19})})]})]})]})}function e_(e,r){if(e.pr_status==="merged")return"merged";if(r&&(r.dirty||r.unpushed))return"push";switch(e.pr_status){case"conflicts":return"resolve";case"mergeable":return"merge";case"draft":return"draft";default:return null}}const t_={push:{label:"Uncommitted changes",tone:"text-working",icon:g.jsx(rC,{size:14})},resolve:{label:"Merge conflicts",tone:"text-muted",icon:g.jsx(Dc,{size:14})},merge:{label:"Ready to merge",tone:"text-add"},draft:{label:"Draft",tone:"text-muted"},merged:{label:"Merged",tone:"text-pr-merged",icon:g.jsx(D2,{size:14})}},n_={push:"Commit all outstanding changes with a clear message and push the branch to the remote.",resolve:"This branch has merge conflicts with its base branch. Merge the base branch in, resolve the conflicts, then commit and push."};function r_({ws:e,local:r}){const a=I0(),[i,s]=z.useState(!1),[x,u]=z.useState(!1),[f,d]=z.useState(null);if(f?.ok&&e.pr_status!=="merged")return g.jsxs(z8,{children:[g.jsx(pr,{size:15,className:"shrink-0 text-add"}),g.jsx("span",{className:"truncate font-medium text-add",children:f.msg})]});const h=e_(e,r);if(!h)return null;const{label:E,tone:p,icon:y}=t_[h],C=async()=>{u(!0),d(null);try{const b=await Ie.merge(e.id);b.ok?(d({ok:!0,msg:`Merged${b.method?` (${b.method})`:""}`}),a.invalidateQueries({queryKey:["state"]}),a.invalidateQueries({queryKey:["diff",e.id]})):(d({ok:!1,msg:b.error||"Merge failed"}),s(!1))}catch(b){d({ok:!1,msg:b instanceof Error?b.message:String(b)}),s(!1)}finally{u(!1)}},A=async b=>{if(!e.active_session_id)return d({ok:!1,msg:"No active session to message"});u(!0),d(null);try{const D=await Ie.sendPrompt(e.active_session_id,n_[b],e.id);d(D.ok?{ok:!0,msg:"Asked the agent"}:{ok:!1,msg:D.error||"Send failed"})}catch(D){d({ok:!1,msg:D instanceof Error?D.message:String(D)})}finally{u(!1)}};return g.jsxs(z8,{tint:h==="merge"?"add":h==="merged"?"merged":void 0,children:[e.pr_number?g.jsxs("a",{href:e.pr_url??void 0,target:"_blank",rel:"noreferrer",className:be("flex shrink-0 items-center gap-0.5 rounded-md px-1.5 py-0.5 font-mono text-[11px] active:bg-surface",h==="merged"?"bg-pr-merged/15 text-pr-merged":"bg-surface-2 text-muted"),children:["#",e.pr_number,g.jsx(L7,{size:12})]}):null,g.jsxs("span",{className:be("flex items-center gap-1 truncate font-medium",p),children:[y,E]}),g.jsxs("div",{className:"ml-auto flex shrink-0 items-center gap-2",children:[f&&!f.ok?g.jsx("span",{className:"max-w-36 truncate text-[11px] text-del",children:f.msg}):null,h==="draft"||h==="merged"?null:h==="merge"?i?g.jsxs(g.Fragment,{children:[g.jsx(a_,{onClick:()=>s(!1)}),g.jsx(fo,{onClick:C,busy:x,className:"bg-add text-black",children:"Confirm"})]}):g.jsxs(fo,{onClick:()=>s(!0),className:"bg-add text-black",children:[g.jsx(D2,{size:13}),"Merge"]}):h==="push"?g.jsx(fo,{onClick:()=>A("push"),busy:x,className:"bg-working text-black",children:"Commit & push"}):g.jsx(fo,{onClick:()=>A("resolve"),busy:x,className:"border border-border bg-surface-2 text-text",children:"Resolve"})]})]})}function fo({onClick:e,busy:r,className:a,children:i}){return g.jsxs("button",{type:"button",onClick:e,disabled:r,className:be("flex items-center gap-1.5 rounded-lg px-2.5 py-1 text-xs font-semibold transition active:scale-95 disabled:opacity-60",a),children:[r?g.jsx(Ac,{size:13,className:"animate-spin"}):null,i]})}function a_({onClick:e}){return g.jsx("button",{type:"button",onClick:e,className:"rounded-lg px-2 py-1 text-xs text-muted active:bg-surface-2",children:"Cancel"})}const l_={add:"bg-add/10",merged:"bg-pr-merged/10"};function z8({tint:e,children:r}){return g.jsx("div",{className:be("sticky top-0 z-10 flex items-center gap-2 border-b border-border-soft px-3 py-2 backdrop-blur",e?l_[e]:"bg-surface/95"),children:r})}function i_({workspaceId:e}){const{data:r}=kc(),a=r?.workspaces.find(x=>x.id===e),{data:i}=G2(e),s=i?{dirty:i.dirty,unpushed:i.unpushed}:void 0;return g.jsxs("div",{className:"pb-safe flex flex-1 flex-col overflow-y-auto",children:[a?g.jsx(r_,{ws:a,local:s}):null,g.jsx(o_,{workspaceId:e})]})}function o_({workspaceId:e}){const{data:r,isLoading:a,isError:i,error:s}=G2(e);return a&&!r?g.jsx(ha,{label:"Computing diff…"}):i?g.jsx(Lt,{children:s?.message}):r?r.files.length===0?g.jsxs(Lt,{children:["No changes vs ",g.jsx("span",{className:"font-mono",children:r.base}),"."]}):g.jsxs(g.Fragment,{children:[g.jsxs("div",{className:"border-b border-border-soft px-3 py-2 text-xs text-muted",children:["vs ",g.jsx("span",{className:"font-mono text-faint",children:r.base})," · ",r.files.length," file",r.files.length===1?"":"s"]}),g.jsx("ul",{className:"flex flex-col gap-1 px-3 py-3",children:r.files.map(x=>g.jsxs("li",{className:"flex items-center gap-2 font-mono text-[12px]",children:[g.jsx("span",{className:"truncate text-muted",children:x.path}),g.jsxs("span",{className:"ml-auto shrink-0 text-add",children:["+",x.added]}),g.jsxs("span",{className:"shrink-0 text-del",children:["−",x.removed]})]},x.path))}),g.jsx(s_,{patch:r.patch,truncated:r.truncated})]}):g.jsx(Lt,{children:"No diff."})}function s_({patch:e,truncated:r}){const a=z.useMemo(()=>e.split(`
41
- `),[e]);return g.jsxs("pre",{className:"overflow-x-auto border-t border-border-soft px-3 py-3 font-mono text-[11.5px] leading-[1.5]",children:[a.map((i,s)=>g.jsx("div",{className:be("whitespace-pre",x_(i)),children:i||" "},s)),r?g.jsx("div",{className:"mt-2 text-faint",children:"… diff truncated …"}):null]})}function x_(e){return e.startsWith("+")&&!e.startsWith("+++")?"text-add":e.startsWith("-")&&!e.startsWith("---")?"text-del":e.startsWith("@@")?"text-accent":e.startsWith("diff ")||e.startsWith("index ")||e.startsWith("+++")||e.startsWith("---")?"text-faint":"text-muted"}function u_({workspace:e}){const[r,a]=z.useState(!1),[i,s]=z.useState(null),[x,u]=z.useState(null),f=ke(C=>C.online),d=I0(),h=cp(e),E=async C=>{if(!i&&(a(!1),C!==h)){s(C),u(null);try{const A=await Ie.setStatus(e.id,C);A.ok||u(A.error??"status change failed"),await d.invalidateQueries({queryKey:["workspaces"]})}catch(A){u(A instanceof Error?A.message:"status change failed")}finally{s(null)}}},y=i??null??h;return g.jsxs(g.Fragment,{children:[g.jsx("button",{type:"button",onClick:()=>a(C=>!C),disabled:!f||i!==null,"aria-label":`Workspace status: ${Ku(h)}`,"aria-expanded":r,className:be("flex size-9 shrink-0 items-center justify-center rounded-full text-muted transition active:bg-surface-2 disabled:opacity-40",r&&"bg-surface-2 text-text"),children:i?g.jsx("span",{className:"dot-spinner size-4",style:{"--spin-color":c_(y)}}):g.jsx(j8,{status:y})}),r?g.jsxs(g.Fragment,{children:[g.jsx("button",{type:"button","aria-label":"Close status menu",className:"fixed inset-0 z-20 cursor-default",onClick:()=>a(!1)}),g.jsx("div",{className:"fade-in absolute right-2 top-full z-30 w-44 overflow-hidden rounded-xl border border-border bg-surface shadow-xl",children:HD.map(C=>g.jsxs("button",{type:"button",onClick:()=>E(C),className:"flex w-full items-center gap-2 px-3 py-2.5 text-left text-sm active:bg-surface-2",children:[g.jsx(j8,{status:C}),g.jsx("span",{className:"flex-1",children:Ku(C)}),C===h?g.jsx(pr,{size:15,className:"text-accent"}):null]},C))})]}):null,x?g.jsx("button",{type:"button",onClick:()=>u(null),className:"absolute right-2 top-full z-30 max-w-64 rounded-lg border border-del/40 bg-surface px-3 py-2 text-left text-xs text-del shadow-xl",children:x}):null]})}function c_(e){return Sc[e]??"var(--color-faint)"}function j8({status:e}){const r=Sc[e];return r?g.jsx("span",{className:"dot size-2.5",style:{background:r}}):g.jsx("span",{className:"dot size-2.5 border border-faint bg-transparent"})}function f_(){const{workspaceId:e}=B4(),[r,a]=g2(),i=r.get("session"),s=P=>a({session:P},{replace:!0}),[x,u]=z.useState(!1),[f,d]=z.useState(!1),h=I0(),{data:E,isLoading:p}=kc(),y=E?.workspaces.find(P=>P.id===e),C=!!E&&!y,{data:A}=$2(e,!C),b=ke(P=>P.workingHints),D=ke(P=>P.readMarks),F=ke(P=>P.markRead),O=y,w=E?.actuator,{data:_,isLoading:R}=Mb(e,C),k=A?.sessions??[],T=(i&&k.some(P=>P.id===i)?i:null)??O?.active_session_id??k[0]?.id??null,S=k.find(P=>P.id===T),q=S?.updated_at;if(z.useEffect(()=>{O&&T&&q&&document.visibilityState==="visible"&&F(T,q)},[O,T,q,F]),!O)return _?g.jsx(XN,{workspace:_.workspace}):g.jsxs("div",{className:"flex h-full flex-col overflow-hidden",children:[g.jsx(So,{title:"Session",menu:!0}),p||C&&R?g.jsx(ha,{}):g.jsx("div",{className:"p-6 text-center text-sm text-muted",children:"Workspace not found."})]});const L=T?b[T]:void 0,X=S?.status==="working"||L!==void 0&&Date.now()-L<15e3,K=S?.turn_started_at?Date.parse(S.turn_started_at):null,ie=(S?.status==="working"?K??L:L??K)??null,Z=[O.repo_name,O.branch,Mc(O.model)].filter(Boolean).join(" · "),$=async()=>{if(!f){d(!0);try{const P=await Ie.newChat(O.id);P.ok&&(await h.invalidateQueries({queryKey:["sessions",O.id]}),P.sessionId&&s(P.sessionId))}finally{d(!1)}}};return g.jsxs("div",{className:"flex h-full min-w-0 overflow-hidden",children:[g.jsxs("div",{className:"flex min-w-0 flex-1 flex-col overflow-hidden",children:[g.jsx(So,{title:In(O),subtitle:Z,menu:!0,right:g.jsxs(g.Fragment,{children:[g.jsx(u_,{workspace:O}),g.jsx("button",{type:"button",onClick:()=>u(P=>!P),"aria-label":"Toggle diff panel","aria-pressed":x,className:be("flex size-9 shrink-0 items-center justify-center rounded-full text-muted transition active:bg-surface-2",x&&"bg-surface-2 text-text"),children:g.jsx(qC,{size:19})})]})}),k.length>0?g.jsx(d_,{sessions:k,activeId:T,readMarks:D,onSelect:s,onNewChat:$,creating:f}):null,g.jsx(Bm,{sessionId:T,workspaceId:O.id,working:X,workingSince:ie,queued:O.parked_prompts?.find(P=>P.sessionId===T)??O.pending_prompt}),g.jsx(WN,{session:S,sessionId:T,workspaceId:O.id,working:X,actuator:w},O.id)]}),x?g.jsx(p_,{workspaceId:O.id,onClose:()=>u(!1)}):null]})}function d_({sessions:e,activeId:r,readMarks:a,onSelect:i,onNewChat:s,creating:x}){return g.jsxs("nav",{className:"flex shrink-0 items-center gap-1 border-b border-border-soft bg-bg px-3 py-2",children:[g.jsx("div",{className:"flex min-w-0 flex-1 items-center gap-1 overflow-x-auto",children:e.map(u=>g.jsxs("button",{type:"button",onClick:()=>i(u.id),className:be("pill flex shrink-0 items-center gap-1.5",u.id===r&&"pill-active"),children:[u.status==="working"?g.jsx("span",{className:"dot-spinner size-3"}):null,g.jsx("span",{className:"max-w-36 truncate",children:u.title||"Untitled"}),g.jsx(h_,{used:u.context_used_percent}),fb(u,a)?g.jsx("span",{className:"dot size-1.5 bg-accent"}):null]},u.id))}),g.jsx("button",{type:"button",onClick:s,disabled:x,"aria-label":"New chat, same files",className:"flex size-7 shrink-0 items-center justify-center rounded-full text-muted transition active:bg-surface-2 disabled:opacity-40",children:g.jsx(v2,{size:18})})]})}function h_({used:e}){return typeof e!="number"||e<=0?null:g.jsxs("span",{className:be("shrink-0 text-[11px] tabular-nums",e>=80?"text-working":"text-faint"),children:[Math.round(e),"%"]})}function p_({workspaceId:e,onClose:r}){return g.jsxs("aside",{className:"fixed inset-0 z-40 flex flex-col bg-bg lg:static lg:z-auto lg:w-[380px] lg:shrink-0 lg:border-l lg:border-border-soft xl:w-[460px]",children:[g.jsxs("header",{className:"pt-safe flex items-center gap-2 border-b border-border-soft px-3 pb-2.5",children:[g.jsx("span",{className:"flex-1 text-[15px] font-semibold",children:"Diff"}),g.jsx("button",{type:"button",onClick:r,"aria-label":"Close diff panel",className:"-mr-1 flex size-9 shrink-0 items-center justify-center rounded-full text-muted active:bg-surface-2",children:g.jsx(yr,{size:20})})]}),g.jsx(i_,{workspaceId:e})]})}var go={exports:{}},m_=go.exports,R8;function E_(){return R8||(R8=1,(function(e,r){(function(i,s){e.exports=s()})(typeof self<"u"?self:m_,function(){return(function(a){var i={};function s(x){if(i[x])return i[x].exports;var u=i[x]={i:x,l:!1,exports:{}};return a[x].call(u.exports,u,u.exports,s),u.l=!0,u.exports}return s.m=a,s.c=i,s.d=function(x,u,f){s.o(x,u)||Object.defineProperty(x,u,{configurable:!1,enumerable:!0,get:f})},s.n=function(x){var u=x&&x.__esModule?function(){return x.default}:function(){return x};return s.d(u,"a",u),u},s.o=function(x,u){return Object.prototype.hasOwnProperty.call(x,u)},s.p="",s(s.s=3)})([(function(a,i,s){Object.defineProperty(i,"__esModule",{value:!0});var x=(function(){function u(f,d){this.width=d,this.height=f.length/d,this.data=f}return u.createEmpty=function(f,d){return new u(new Uint8ClampedArray(f*d),f)},u.prototype.get=function(f,d){return f<0||f>=this.width||d<0||d>=this.height?!1:!!this.data[d*this.width+f]},u.prototype.set=function(f,d,h){this.data[d*this.width+f]=h?1:0},u.prototype.setRegion=function(f,d,h,E,p){for(var y=d;y<d+E;y++)for(var C=f;C<f+h;C++)this.set(C,y,!!p)},u})();i.BitMatrix=x}),(function(a,i,s){Object.defineProperty(i,"__esModule",{value:!0});var x=s(2);function u(d,h){return d^h}i.addOrSubtractGF=u;var f=(function(){function d(h,E,p){this.primitive=h,this.size=E,this.generatorBase=p,this.expTable=new Array(this.size),this.logTable=new Array(this.size);for(var y=1,C=0;C<this.size;C++)this.expTable[C]=y,y=y*2,y>=this.size&&(y=(y^this.primitive)&this.size-1);for(var C=0;C<this.size-1;C++)this.logTable[this.expTable[C]]=C;this.zero=new x.default(this,Uint8ClampedArray.from([0])),this.one=new x.default(this,Uint8ClampedArray.from([1]))}return d.prototype.multiply=function(h,E){return h===0||E===0?0:this.expTable[(this.logTable[h]+this.logTable[E])%(this.size-1)]},d.prototype.inverse=function(h){if(h===0)throw new Error("Can't invert 0");return this.expTable[this.size-this.logTable[h]-1]},d.prototype.buildMonomial=function(h,E){if(h<0)throw new Error("Invalid monomial degree less than 0");if(E===0)return this.zero;var p=new Uint8ClampedArray(h+1);return p[0]=E,new x.default(this,p)},d.prototype.log=function(h){if(h===0)throw new Error("Can't take log(0)");return this.logTable[h]},d.prototype.exp=function(h){return this.expTable[h]},d})();i.default=f}),(function(a,i,s){Object.defineProperty(i,"__esModule",{value:!0});var x=s(1),u=(function(){function f(d,h){if(h.length===0)throw new Error("No coefficients.");this.field=d;var E=h.length;if(E>1&&h[0]===0){for(var p=1;p<E&&h[p]===0;)p++;if(p===E)this.coefficients=d.zero.coefficients;else{this.coefficients=new Uint8ClampedArray(E-p);for(var y=0;y<this.coefficients.length;y++)this.coefficients[y]=h[p+y]}}else this.coefficients=h}return f.prototype.degree=function(){return this.coefficients.length-1},f.prototype.isZero=function(){return this.coefficients[0]===0},f.prototype.getCoefficient=function(d){return this.coefficients[this.coefficients.length-1-d]},f.prototype.addOrSubtract=function(d){var h;if(this.isZero())return d;if(d.isZero())return this;var E=this.coefficients,p=d.coefficients;E.length>p.length&&(h=[p,E],E=h[0],p=h[1]);for(var y=new Uint8ClampedArray(p.length),C=p.length-E.length,A=0;A<C;A++)y[A]=p[A];for(var A=C;A<p.length;A++)y[A]=x.addOrSubtractGF(E[A-C],p[A]);return new f(this.field,y)},f.prototype.multiply=function(d){if(d===0)return this.field.zero;if(d===1)return this;for(var h=this.coefficients.length,E=new Uint8ClampedArray(h),p=0;p<h;p++)E[p]=this.field.multiply(this.coefficients[p],d);return new f(this.field,E)},f.prototype.multiplyPoly=function(d){if(this.isZero()||d.isZero())return this.field.zero;for(var h=this.coefficients,E=h.length,p=d.coefficients,y=p.length,C=new Uint8ClampedArray(E+y-1),A=0;A<E;A++)for(var b=h[A],D=0;D<y;D++)C[A+D]=x.addOrSubtractGF(C[A+D],this.field.multiply(b,p[D]));return new f(this.field,C)},f.prototype.multiplyByMonomial=function(d,h){if(d<0)throw new Error("Invalid degree less than 0");if(h===0)return this.field.zero;for(var E=this.coefficients.length,p=new Uint8ClampedArray(E+d),y=0;y<E;y++)p[y]=this.field.multiply(this.coefficients[y],h);return new f(this.field,p)},f.prototype.evaluateAt=function(d){var h=0;if(d===0)return this.getCoefficient(0);var E=this.coefficients.length;if(d===1)return this.coefficients.forEach(function(y){h=x.addOrSubtractGF(h,y)}),h;h=this.coefficients[0];for(var p=1;p<E;p++)h=x.addOrSubtractGF(this.field.multiply(d,h),this.coefficients[p]);return h},f})();i.default=u}),(function(a,i,s){Object.defineProperty(i,"__esModule",{value:!0});var x=s(4),u=s(5),f=s(11),d=s(12);function h(y){var C=d.locate(y);if(!C)return null;for(var A=0,b=C;A<b.length;A++){var D=b[A],F=f.extract(y,D),O=u.decode(F.matrix);if(O)return{binaryData:O.bytes,data:O.text,chunks:O.chunks,version:O.version,location:{topRightCorner:F.mappingFunction(D.dimension,0),topLeftCorner:F.mappingFunction(0,0),bottomRightCorner:F.mappingFunction(D.dimension,D.dimension),bottomLeftCorner:F.mappingFunction(0,D.dimension),topRightFinderPattern:D.topRight,topLeftFinderPattern:D.topLeft,bottomLeftFinderPattern:D.bottomLeft,bottomRightAlignmentPattern:D.alignmentPattern}}}return null}var E={inversionAttempts:"attemptBoth"};function p(y,C,A,b){b===void 0&&(b={});var D=E;Object.keys(D||{}).forEach(function(T){D[T]=b[T]||D[T]});var F=D.inversionAttempts==="attemptBoth"||D.inversionAttempts==="invertFirst",O=D.inversionAttempts==="onlyInvert"||D.inversionAttempts==="invertFirst",w=x.binarize(y,C,A,F),_=w.binarized,R=w.inverted,k=h(O?R:_);return!k&&(D.inversionAttempts==="attemptBoth"||D.inversionAttempts==="invertFirst")&&(k=h(O?_:R)),k}p.default=p,i.default=p}),(function(a,i,s){Object.defineProperty(i,"__esModule",{value:!0});var x=s(0),u=8,f=24;function d(p,y,C){return p<y?y:p>C?C:p}var h=(function(){function p(y,C){this.width=y,this.data=new Uint8ClampedArray(y*C)}return p.prototype.get=function(y,C){return this.data[C*this.width+y]},p.prototype.set=function(y,C,A){this.data[C*this.width+y]=A},p})();function E(p,y,C,A){if(p.length!==y*C*4)throw new Error("Malformed data passed to binarizer.");for(var b=new h(y,C),D=0;D<y;D++)for(var F=0;F<C;F++){var O=p[(F*y+D)*4+0],w=p[(F*y+D)*4+1],_=p[(F*y+D)*4+2];b.set(D,F,.2126*O+.7152*w+.0722*_)}for(var R=Math.ceil(y/u),k=Math.ceil(C/u),T=new h(R,k),S=0;S<k;S++)for(var q=0;q<R;q++){for(var L=0,X=1/0,K=0,F=0;F<u;F++)for(var D=0;D<u;D++){var ie=b.get(q*u+D,S*u+F);L+=ie,X=Math.min(X,ie),K=Math.max(K,ie)}var Z=L/Math.pow(u,2);if(K-X<=f&&(Z=X/2,S>0&&q>0)){var $=(T.get(q,S-1)+2*T.get(q-1,S)+T.get(q-1,S-1))/4;X<$&&(Z=$)}T.set(q,S,Z)}var P=x.BitMatrix.createEmpty(y,C),Y=null;A&&(Y=x.BitMatrix.createEmpty(y,C));for(var S=0;S<k;S++)for(var q=0;q<R;q++){for(var oe=d(q,2,R-3),fe=d(S,2,k-3),L=0,M=-2;M<=2;M++)for(var j=-2;j<=2;j++)L+=T.get(oe+M,fe+j);for(var W=L/25,M=0;M<u;M++)for(var j=0;j<u;j++){var D=q*u+M,F=S*u+j,N=b.get(D,F);P.set(D,F,N<=W),A&&Y.set(D,F,!(N<=W))}}return A?{binarized:P,inverted:Y}:{binarized:P}}i.binarize=E}),(function(a,i,s){Object.defineProperty(i,"__esModule",{value:!0});var x=s(0),u=s(6),f=s(9),d=s(10);function h(_,R){for(var k=_^R,T=0;k;)T++,k&=k-1;return T}function E(_,R){return R<<1|_}var p=[{bits:21522,formatInfo:{errorCorrectionLevel:1,dataMask:0}},{bits:20773,formatInfo:{errorCorrectionLevel:1,dataMask:1}},{bits:24188,formatInfo:{errorCorrectionLevel:1,dataMask:2}},{bits:23371,formatInfo:{errorCorrectionLevel:1,dataMask:3}},{bits:17913,formatInfo:{errorCorrectionLevel:1,dataMask:4}},{bits:16590,formatInfo:{errorCorrectionLevel:1,dataMask:5}},{bits:20375,formatInfo:{errorCorrectionLevel:1,dataMask:6}},{bits:19104,formatInfo:{errorCorrectionLevel:1,dataMask:7}},{bits:30660,formatInfo:{errorCorrectionLevel:0,dataMask:0}},{bits:29427,formatInfo:{errorCorrectionLevel:0,dataMask:1}},{bits:32170,formatInfo:{errorCorrectionLevel:0,dataMask:2}},{bits:30877,formatInfo:{errorCorrectionLevel:0,dataMask:3}},{bits:26159,formatInfo:{errorCorrectionLevel:0,dataMask:4}},{bits:25368,formatInfo:{errorCorrectionLevel:0,dataMask:5}},{bits:27713,formatInfo:{errorCorrectionLevel:0,dataMask:6}},{bits:26998,formatInfo:{errorCorrectionLevel:0,dataMask:7}},{bits:5769,formatInfo:{errorCorrectionLevel:3,dataMask:0}},{bits:5054,formatInfo:{errorCorrectionLevel:3,dataMask:1}},{bits:7399,formatInfo:{errorCorrectionLevel:3,dataMask:2}},{bits:6608,formatInfo:{errorCorrectionLevel:3,dataMask:3}},{bits:1890,formatInfo:{errorCorrectionLevel:3,dataMask:4}},{bits:597,formatInfo:{errorCorrectionLevel:3,dataMask:5}},{bits:3340,formatInfo:{errorCorrectionLevel:3,dataMask:6}},{bits:2107,formatInfo:{errorCorrectionLevel:3,dataMask:7}},{bits:13663,formatInfo:{errorCorrectionLevel:2,dataMask:0}},{bits:12392,formatInfo:{errorCorrectionLevel:2,dataMask:1}},{bits:16177,formatInfo:{errorCorrectionLevel:2,dataMask:2}},{bits:14854,formatInfo:{errorCorrectionLevel:2,dataMask:3}},{bits:9396,formatInfo:{errorCorrectionLevel:2,dataMask:4}},{bits:8579,formatInfo:{errorCorrectionLevel:2,dataMask:5}},{bits:11994,formatInfo:{errorCorrectionLevel:2,dataMask:6}},{bits:11245,formatInfo:{errorCorrectionLevel:2,dataMask:7}}],y=[function(_){return(_.y+_.x)%2===0},function(_){return _.y%2===0},function(_){return _.x%3===0},function(_){return(_.y+_.x)%3===0},function(_){return(Math.floor(_.y/2)+Math.floor(_.x/3))%2===0},function(_){return _.x*_.y%2+_.x*_.y%3===0},function(_){return(_.y*_.x%2+_.y*_.x%3)%2===0},function(_){return((_.y+_.x)%2+_.y*_.x%3)%2===0}];function C(_){var R=17+4*_.versionNumber,k=x.BitMatrix.createEmpty(R,R);k.setRegion(0,0,9,9,!0),k.setRegion(R-8,0,8,9,!0),k.setRegion(0,R-8,9,8,!0);for(var T=0,S=_.alignmentPatternCenters;T<S.length;T++)for(var q=S[T],L=0,X=_.alignmentPatternCenters;L<X.length;L++){var K=X[L];q===6&&K===6||q===6&&K===R-7||q===R-7&&K===6||k.setRegion(q-2,K-2,5,5,!0)}return k.setRegion(6,9,1,R-17,!0),k.setRegion(9,6,R-17,1,!0),_.versionNumber>6&&(k.setRegion(R-11,0,3,6,!0),k.setRegion(0,R-11,6,3,!0)),k}function A(_,R,k){for(var T=y[k.dataMask],S=_.height,q=C(R),L=[],X=0,K=0,ie=!0,Z=S-1;Z>0;Z-=2){Z===6&&Z--;for(var $=0;$<S;$++)for(var P=ie?S-1-$:$,Y=0;Y<2;Y++){var oe=Z-Y;if(!q.get(oe,P)){K++;var fe=_.get(oe,P);T({y:P,x:oe})&&(fe=!fe),X=E(fe,X),K===8&&(L.push(X),K=0,X=0)}}ie=!ie}return L}function b(_){var R=_.height,k=Math.floor((R-17)/4);if(k<=6)return d.VERSIONS[k-1];for(var T=0,S=5;S>=0;S--)for(var q=R-9;q>=R-11;q--)T=E(_.get(q,S),T);for(var L=0,q=5;q>=0;q--)for(var S=R-9;S>=R-11;S--)L=E(_.get(q,S),L);for(var X=1/0,K,ie=0,Z=d.VERSIONS;ie<Z.length;ie++){var $=Z[ie];if($.infoBits===T||$.infoBits===L)return $;var P=h(T,$.infoBits);P<X&&(K=$,X=P),P=h(L,$.infoBits),P<X&&(K=$,X=P)}if(X<=3)return K}function D(_){for(var R=0,k=0;k<=8;k++)k!==6&&(R=E(_.get(k,8),R));for(var T=7;T>=0;T--)T!==6&&(R=E(_.get(8,T),R));for(var S=_.height,q=0,T=S-1;T>=S-7;T--)q=E(_.get(8,T),q);for(var k=S-8;k<S;k++)q=E(_.get(k,8),q);for(var L=1/0,X=null,K=0,ie=p;K<ie.length;K++){var Z=ie[K],$=Z.bits,P=Z.formatInfo;if($===R||$===q)return P;var Y=h(R,$);Y<L&&(X=P,L=Y),R!==q&&(Y=h(q,$),Y<L&&(X=P,L=Y))}return L<=3?X:null}function F(_,R,k){var T=R.errorCorrectionLevels[k],S=[],q=0;if(T.ecBlocks.forEach(function(fe){for(var M=0;M<fe.numBlocks;M++)S.push({numDataCodewords:fe.dataCodewordsPerBlock,codewords:[]}),q+=fe.dataCodewordsPerBlock+T.ecCodewordsPerBlock}),_.length<q)return null;_=_.slice(0,q);for(var L=T.ecBlocks[0].dataCodewordsPerBlock,X=0;X<L;X++)for(var K=0,ie=S;K<ie.length;K++){var Z=ie[K];Z.codewords.push(_.shift())}if(T.ecBlocks.length>1)for(var $=T.ecBlocks[0].numBlocks,P=T.ecBlocks[1].numBlocks,X=0;X<P;X++)S[$+X].codewords.push(_.shift());for(;_.length>0;)for(var Y=0,oe=S;Y<oe.length;Y++){var Z=oe[Y];Z.codewords.push(_.shift())}return S}function O(_){var R=b(_);if(!R)return null;var k=D(_);if(!k)return null;var T=A(_,R,k),S=F(T,R,k.errorCorrectionLevel);if(!S)return null;for(var q=S.reduce(function(Y,oe){return Y+oe.numDataCodewords},0),L=new Uint8ClampedArray(q),X=0,K=0,ie=S;K<ie.length;K++){var Z=ie[K],$=f.decode(Z.codewords,Z.codewords.length-Z.numDataCodewords);if(!$)return null;for(var P=0;P<Z.numDataCodewords;P++)L[X++]=$[P]}try{return u.decode(L,R.versionNumber)}catch{return null}}function w(_){if(_==null)return null;var R=O(_);if(R)return R;for(var k=0;k<_.width;k++)for(var T=k+1;T<_.height;T++)_.get(k,T)!==_.get(T,k)&&(_.set(k,T,!_.get(k,T)),_.set(T,k,!_.get(T,k)));return O(_)}i.decode=w}),(function(a,i,s){Object.defineProperty(i,"__esModule",{value:!0});var x=s(7),u=s(8),f;(function(b){b.Numeric="numeric",b.Alphanumeric="alphanumeric",b.Byte="byte",b.Kanji="kanji",b.ECI="eci"})(f=i.Mode||(i.Mode={}));var d;(function(b){b[b.Terminator=0]="Terminator",b[b.Numeric=1]="Numeric",b[b.Alphanumeric=2]="Alphanumeric",b[b.Byte=4]="Byte",b[b.Kanji=8]="Kanji",b[b.ECI=7]="ECI"})(d||(d={}));function h(b,D){for(var F=[],O="",w=[10,12,14][D],_=b.readBits(w);_>=3;){var R=b.readBits(10);if(R>=1e3)throw new Error("Invalid numeric value above 999");var k=Math.floor(R/100),T=Math.floor(R/10)%10,S=R%10;F.push(48+k,48+T,48+S),O+=k.toString()+T.toString()+S.toString(),_-=3}if(_===2){var R=b.readBits(7);if(R>=100)throw new Error("Invalid numeric value above 99");var k=Math.floor(R/10),T=R%10;F.push(48+k,48+T),O+=k.toString()+T.toString()}else if(_===1){var R=b.readBits(4);if(R>=10)throw new Error("Invalid numeric value above 9");F.push(48+R),O+=R.toString()}return{bytes:F,text:O}}var E=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"," ","$","%","*","+","-",".","/",":"];function p(b,D){for(var F=[],O="",w=[9,11,13][D],_=b.readBits(w);_>=2;){var R=b.readBits(11),k=Math.floor(R/45),T=R%45;F.push(E[k].charCodeAt(0),E[T].charCodeAt(0)),O+=E[k]+E[T],_-=2}if(_===1){var k=b.readBits(6);F.push(E[k].charCodeAt(0)),O+=E[k]}return{bytes:F,text:O}}function y(b,D){for(var F=[],O="",w=[8,16,16][D],_=b.readBits(w),R=0;R<_;R++){var k=b.readBits(8);F.push(k)}try{O+=decodeURIComponent(F.map(function(T){return"%"+("0"+T.toString(16)).substr(-2)}).join(""))}catch{}return{bytes:F,text:O}}function C(b,D){for(var F=[],O="",w=[8,10,12][D],_=b.readBits(w),R=0;R<_;R++){var k=b.readBits(13),T=Math.floor(k/192)<<8|k%192;T<7936?T+=33088:T+=49472,F.push(T>>8,T&255),O+=String.fromCharCode(u.shiftJISTable[T])}return{bytes:F,text:O}}function A(b,D){for(var F,O,w,_,R=new x.BitStream(b),k=D<=9?0:D<=26?1:2,T={text:"",bytes:[],chunks:[],version:D};R.available()>=4;){var S=R.readBits(4);if(S===d.Terminator)return T;if(S===d.ECI)R.readBits(1)===0?T.chunks.push({type:f.ECI,assignmentNumber:R.readBits(7)}):R.readBits(1)===0?T.chunks.push({type:f.ECI,assignmentNumber:R.readBits(14)}):R.readBits(1)===0?T.chunks.push({type:f.ECI,assignmentNumber:R.readBits(21)}):T.chunks.push({type:f.ECI,assignmentNumber:-1});else if(S===d.Numeric){var q=h(R,k);T.text+=q.text,(F=T.bytes).push.apply(F,q.bytes),T.chunks.push({type:f.Numeric,text:q.text})}else if(S===d.Alphanumeric){var L=p(R,k);T.text+=L.text,(O=T.bytes).push.apply(O,L.bytes),T.chunks.push({type:f.Alphanumeric,text:L.text})}else if(S===d.Byte){var X=y(R,k);T.text+=X.text,(w=T.bytes).push.apply(w,X.bytes),T.chunks.push({type:f.Byte,bytes:X.bytes,text:X.text})}else if(S===d.Kanji){var K=C(R,k);T.text+=K.text,(_=T.bytes).push.apply(_,K.bytes),T.chunks.push({type:f.Kanji,bytes:K.bytes,text:K.text})}}if(R.available()===0||R.readBits(R.available())===0)return T}i.decode=A}),(function(a,i,s){Object.defineProperty(i,"__esModule",{value:!0});var x=(function(){function u(f){this.byteOffset=0,this.bitOffset=0,this.bytes=f}return u.prototype.readBits=function(f){if(f<1||f>32||f>this.available())throw new Error("Cannot read "+f.toString()+" bits");var d=0;if(this.bitOffset>0){var h=8-this.bitOffset,E=f<h?f:h,p=h-E,y=255>>8-E<<p;d=(this.bytes[this.byteOffset]&y)>>p,f-=E,this.bitOffset+=E,this.bitOffset===8&&(this.bitOffset=0,this.byteOffset++)}if(f>0){for(;f>=8;)d=d<<8|this.bytes[this.byteOffset]&255,this.byteOffset++,f-=8;if(f>0){var p=8-f,y=255>>p<<p;d=d<<f|(this.bytes[this.byteOffset]&y)>>p,this.bitOffset+=f}}return d},u.prototype.available=function(){return 8*(this.bytes.length-this.byteOffset)-this.bitOffset},u})();i.BitStream=x}),(function(a,i,s){Object.defineProperty(i,"__esModule",{value:!0}),i.shiftJISTable={32:32,33:33,34:34,35:35,36:36,37:37,38:38,39:39,40:40,41:41,42:42,43:43,44:44,45:45,46:46,47:47,48:48,49:49,50:50,51:51,52:52,53:53,54:54,55:55,56:56,57:57,58:58,59:59,60:60,61:61,62:62,63:63,64:64,65:65,66:66,67:67,68:68,69:69,70:70,71:71,72:72,73:73,74:74,75:75,76:76,77:77,78:78,79:79,80:80,81:81,82:82,83:83,84:84,85:85,86:86,87:87,88:88,89:89,90:90,91:91,92:165,93:93,94:94,95:95,96:96,97:97,98:98,99:99,100:100,101:101,102:102,103:103,104:104,105:105,106:106,107:107,108:108,109:109,110:110,111:111,112:112,113:113,114:114,115:115,116:116,117:117,118:118,119:119,120:120,121:121,122:122,123:123,124:124,125:125,126:8254,33088:12288,33089:12289,33090:12290,33091:65292,33092:65294,33093:12539,33094:65306,33095:65307,33096:65311,33097:65281,33098:12443,33099:12444,33100:180,33101:65344,33102:168,33103:65342,33104:65507,33105:65343,33106:12541,33107:12542,33108:12445,33109:12446,33110:12291,33111:20189,33112:12293,33113:12294,33114:12295,33115:12540,33116:8213,33117:8208,33118:65295,33119:92,33120:12316,33121:8214,33122:65372,33123:8230,33124:8229,33125:8216,33126:8217,33127:8220,33128:8221,33129:65288,33130:65289,33131:12308,33132:12309,33133:65339,33134:65341,33135:65371,33136:65373,33137:12296,33138:12297,33139:12298,33140:12299,33141:12300,33142:12301,33143:12302,33144:12303,33145:12304,33146:12305,33147:65291,33148:8722,33149:177,33150:215,33152:247,33153:65309,33154:8800,33155:65308,33156:65310,33157:8806,33158:8807,33159:8734,33160:8756,33161:9794,33162:9792,33163:176,33164:8242,33165:8243,33166:8451,33167:65509,33168:65284,33169:162,33170:163,33171:65285,33172:65283,33173:65286,33174:65290,33175:65312,33176:167,33177:9734,33178:9733,33179:9675,33180:9679,33181:9678,33182:9671,33183:9670,33184:9633,33185:9632,33186:9651,33187:9650,33188:9661,33189:9660,33190:8251,33191:12306,33192:8594,33193:8592,33194:8593,33195:8595,33196:12307,33208:8712,33209:8715,33210:8838,33211:8839,33212:8834,33213:8835,33214:8746,33215:8745,33224:8743,33225:8744,33226:172,33227:8658,33228:8660,33229:8704,33230:8707,33242:8736,33243:8869,33244:8978,33245:8706,33246:8711,33247:8801,33248:8786,33249:8810,33250:8811,33251:8730,33252:8765,33253:8733,33254:8757,33255:8747,33256:8748,33264:8491,33265:8240,33266:9839,33267:9837,33268:9834,33269:8224,33270:8225,33271:182,33276:9711,33359:65296,33360:65297,33361:65298,33362:65299,33363:65300,33364:65301,33365:65302,33366:65303,33367:65304,33368:65305,33376:65313,33377:65314,33378:65315,33379:65316,33380:65317,33381:65318,33382:65319,33383:65320,33384:65321,33385:65322,33386:65323,33387:65324,33388:65325,33389:65326,33390:65327,33391:65328,33392:65329,33393:65330,33394:65331,33395:65332,33396:65333,33397:65334,33398:65335,33399:65336,33400:65337,33401:65338,33409:65345,33410:65346,33411:65347,33412:65348,33413:65349,33414:65350,33415:65351,33416:65352,33417:65353,33418:65354,33419:65355,33420:65356,33421:65357,33422:65358,33423:65359,33424:65360,33425:65361,33426:65362,33427:65363,33428:65364,33429:65365,33430:65366,33431:65367,33432:65368,33433:65369,33434:65370,33439:12353,33440:12354,33441:12355,33442:12356,33443:12357,33444:12358,33445:12359,33446:12360,33447:12361,33448:12362,33449:12363,33450:12364,33451:12365,33452:12366,33453:12367,33454:12368,33455:12369,33456:12370,33457:12371,33458:12372,33459:12373,33460:12374,33461:12375,33462:12376,33463:12377,33464:12378,33465:12379,33466:12380,33467:12381,33468:12382,33469:12383,33470:12384,33471:12385,33472:12386,33473:12387,33474:12388,33475:12389,33476:12390,33477:12391,33478:12392,33479:12393,33480:12394,33481:12395,33482:12396,33483:12397,33484:12398,33485:12399,33486:12400,33487:12401,33488:12402,33489:12403,33490:12404,33491:12405,33492:12406,33493:12407,33494:12408,33495:12409,33496:12410,33497:12411,33498:12412,33499:12413,33500:12414,33501:12415,33502:12416,33503:12417,33504:12418,33505:12419,33506:12420,33507:12421,33508:12422,33509:12423,33510:12424,33511:12425,33512:12426,33513:12427,33514:12428,33515:12429,33516:12430,33517:12431,33518:12432,33519:12433,33520:12434,33521:12435,33600:12449,33601:12450,33602:12451,33603:12452,33604:12453,33605:12454,33606:12455,33607:12456,33608:12457,33609:12458,33610:12459,33611:12460,33612:12461,33613:12462,33614:12463,33615:12464,33616:12465,33617:12466,33618:12467,33619:12468,33620:12469,33621:12470,33622:12471,33623:12472,33624:12473,33625:12474,33626:12475,33627:12476,33628:12477,33629:12478,33630:12479,33631:12480,33632:12481,33633:12482,33634:12483,33635:12484,33636:12485,33637:12486,33638:12487,33639:12488,33640:12489,33641:12490,33642:12491,33643:12492,33644:12493,33645:12494,33646:12495,33647:12496,33648:12497,33649:12498,33650:12499,33651:12500,33652:12501,33653:12502,33654:12503,33655:12504,33656:12505,33657:12506,33658:12507,33659:12508,33660:12509,33661:12510,33662:12511,33664:12512,33665:12513,33666:12514,33667:12515,33668:12516,33669:12517,33670:12518,33671:12519,33672:12520,33673:12521,33674:12522,33675:12523,33676:12524,33677:12525,33678:12526,33679:12527,33680:12528,33681:12529,33682:12530,33683:12531,33684:12532,33685:12533,33686:12534,33695:913,33696:914,33697:915,33698:916,33699:917,33700:918,33701:919,33702:920,33703:921,33704:922,33705:923,33706:924,33707:925,33708:926,33709:927,33710:928,33711:929,33712:931,33713:932,33714:933,33715:934,33716:935,33717:936,33718:937,33727:945,33728:946,33729:947,33730:948,33731:949,33732:950,33733:951,33734:952,33735:953,33736:954,33737:955,33738:956,33739:957,33740:958,33741:959,33742:960,33743:961,33744:963,33745:964,33746:965,33747:966,33748:967,33749:968,33750:969,33856:1040,33857:1041,33858:1042,33859:1043,33860:1044,33861:1045,33862:1025,33863:1046,33864:1047,33865:1048,33866:1049,33867:1050,33868:1051,33869:1052,33870:1053,33871:1054,33872:1055,33873:1056,33874:1057,33875:1058,33876:1059,33877:1060,33878:1061,33879:1062,33880:1063,33881:1064,33882:1065,33883:1066,33884:1067,33885:1068,33886:1069,33887:1070,33888:1071,33904:1072,33905:1073,33906:1074,33907:1075,33908:1076,33909:1077,33910:1105,33911:1078,33912:1079,33913:1080,33914:1081,33915:1082,33916:1083,33917:1084,33918:1085,33920:1086,33921:1087,33922:1088,33923:1089,33924:1090,33925:1091,33926:1092,33927:1093,33928:1094,33929:1095,33930:1096,33931:1097,33932:1098,33933:1099,33934:1100,33935:1101,33936:1102,33937:1103,33951:9472,33952:9474,33953:9484,33954:9488,33955:9496,33956:9492,33957:9500,33958:9516,33959:9508,33960:9524,33961:9532,33962:9473,33963:9475,33964:9487,33965:9491,33966:9499,33967:9495,33968:9507,33969:9523,33970:9515,33971:9531,33972:9547,33973:9504,33974:9519,33975:9512,33976:9527,33977:9535,33978:9501,33979:9520,33980:9509,33981:9528,33982:9538,34975:20124,34976:21782,34977:23043,34978:38463,34979:21696,34980:24859,34981:25384,34982:23030,34983:36898,34984:33909,34985:33564,34986:31312,34987:24746,34988:25569,34989:28197,34990:26093,34991:33894,34992:33446,34993:39925,34994:26771,34995:22311,34996:26017,34997:25201,34998:23451,34999:22992,35e3:34427,35001:39156,35002:32098,35003:32190,35004:39822,35005:25110,35006:31903,35007:34999,35008:23433,35009:24245,35010:25353,35011:26263,35012:26696,35013:38343,35014:38797,35015:26447,35016:20197,35017:20234,35018:20301,35019:20381,35020:20553,35021:22258,35022:22839,35023:22996,35024:23041,35025:23561,35026:24799,35027:24847,35028:24944,35029:26131,35030:26885,35031:28858,35032:30031,35033:30064,35034:31227,35035:32173,35036:32239,35037:32963,35038:33806,35039:34915,35040:35586,35041:36949,35042:36986,35043:21307,35044:20117,35045:20133,35046:22495,35047:32946,35048:37057,35049:30959,35050:19968,35051:22769,35052:28322,35053:36920,35054:31282,35055:33576,35056:33419,35057:39983,35058:20801,35059:21360,35060:21693,35061:21729,35062:22240,35063:23035,35064:24341,35065:39154,35066:28139,35067:32996,35068:34093,35136:38498,35137:38512,35138:38560,35139:38907,35140:21515,35141:21491,35142:23431,35143:28879,35144:32701,35145:36802,35146:38632,35147:21359,35148:40284,35149:31418,35150:19985,35151:30867,35152:33276,35153:28198,35154:22040,35155:21764,35156:27421,35157:34074,35158:39995,35159:23013,35160:21417,35161:28006,35162:29916,35163:38287,35164:22082,35165:20113,35166:36939,35167:38642,35168:33615,35169:39180,35170:21473,35171:21942,35172:23344,35173:24433,35174:26144,35175:26355,35176:26628,35177:27704,35178:27891,35179:27945,35180:29787,35181:30408,35182:31310,35183:38964,35184:33521,35185:34907,35186:35424,35187:37613,35188:28082,35189:30123,35190:30410,35191:39365,35192:24742,35193:35585,35194:36234,35195:38322,35196:27022,35197:21421,35198:20870,35200:22290,35201:22576,35202:22852,35203:23476,35204:24310,35205:24616,35206:25513,35207:25588,35208:27839,35209:28436,35210:28814,35211:28948,35212:29017,35213:29141,35214:29503,35215:32257,35216:33398,35217:33489,35218:34199,35219:36960,35220:37467,35221:40219,35222:22633,35223:26044,35224:27738,35225:29989,35226:20985,35227:22830,35228:22885,35229:24448,35230:24540,35231:25276,35232:26106,35233:27178,35234:27431,35235:27572,35236:29579,35237:32705,35238:35158,35239:40236,35240:40206,35241:40644,35242:23713,35243:27798,35244:33659,35245:20740,35246:23627,35247:25014,35248:33222,35249:26742,35250:29281,35251:20057,35252:20474,35253:21368,35254:24681,35255:28201,35256:31311,35257:38899,35258:19979,35259:21270,35260:20206,35261:20309,35262:20285,35263:20385,35264:20339,35265:21152,35266:21487,35267:22025,35268:22799,35269:23233,35270:23478,35271:23521,35272:31185,35273:26247,35274:26524,35275:26550,35276:27468,35277:27827,35278:28779,35279:29634,35280:31117,35281:31166,35282:31292,35283:31623,35284:33457,35285:33499,35286:33540,35287:33655,35288:33775,35289:33747,35290:34662,35291:35506,35292:22057,35293:36008,35294:36838,35295:36942,35296:38686,35297:34442,35298:20420,35299:23784,35300:25105,35301:29273,35302:30011,35303:33253,35304:33469,35305:34558,35306:36032,35307:38597,35308:39187,35309:39381,35310:20171,35311:20250,35312:35299,35313:22238,35314:22602,35315:22730,35316:24315,35317:24555,35318:24618,35319:24724,35320:24674,35321:25040,35322:25106,35323:25296,35324:25913,35392:39745,35393:26214,35394:26800,35395:28023,35396:28784,35397:30028,35398:30342,35399:32117,35400:33445,35401:34809,35402:38283,35403:38542,35404:35997,35405:20977,35406:21182,35407:22806,35408:21683,35409:23475,35410:23830,35411:24936,35412:27010,35413:28079,35414:30861,35415:33995,35416:34903,35417:35442,35418:37799,35419:39608,35420:28012,35421:39336,35422:34521,35423:22435,35424:26623,35425:34510,35426:37390,35427:21123,35428:22151,35429:21508,35430:24275,35431:25313,35432:25785,35433:26684,35434:26680,35435:27579,35436:29554,35437:30906,35438:31339,35439:35226,35440:35282,35441:36203,35442:36611,35443:37101,35444:38307,35445:38548,35446:38761,35447:23398,35448:23731,35449:27005,35450:38989,35451:38990,35452:25499,35453:31520,35454:27179,35456:27263,35457:26806,35458:39949,35459:28511,35460:21106,35461:21917,35462:24688,35463:25324,35464:27963,35465:28167,35466:28369,35467:33883,35468:35088,35469:36676,35470:19988,35471:39993,35472:21494,35473:26907,35474:27194,35475:38788,35476:26666,35477:20828,35478:31427,35479:33970,35480:37340,35481:37772,35482:22107,35483:40232,35484:26658,35485:33541,35486:33841,35487:31909,35488:21e3,35489:33477,35490:29926,35491:20094,35492:20355,35493:20896,35494:23506,35495:21002,35496:21208,35497:21223,35498:24059,35499:21914,35500:22570,35501:23014,35502:23436,35503:23448,35504:23515,35505:24178,35506:24185,35507:24739,35508:24863,35509:24931,35510:25022,35511:25563,35512:25954,35513:26577,35514:26707,35515:26874,35516:27454,35517:27475,35518:27735,35519:28450,35520:28567,35521:28485,35522:29872,35523:29976,35524:30435,35525:30475,35526:31487,35527:31649,35528:31777,35529:32233,35530:32566,35531:32752,35532:32925,35533:33382,35534:33694,35535:35251,35536:35532,35537:36011,35538:36996,35539:37969,35540:38291,35541:38289,35542:38306,35543:38501,35544:38867,35545:39208,35546:33304,35547:20024,35548:21547,35549:23736,35550:24012,35551:29609,35552:30284,35553:30524,35554:23721,35555:32747,35556:36107,35557:38593,35558:38929,35559:38996,35560:39e3,35561:20225,35562:20238,35563:21361,35564:21916,35565:22120,35566:22522,35567:22855,35568:23305,35569:23492,35570:23696,35571:24076,35572:24190,35573:24524,35574:25582,35575:26426,35576:26071,35577:26082,35578:26399,35579:26827,35580:26820,35648:27231,35649:24112,35650:27589,35651:27671,35652:27773,35653:30079,35654:31048,35655:23395,35656:31232,35657:32e3,35658:24509,35659:35215,35660:35352,35661:36020,35662:36215,35663:36556,35664:36637,35665:39138,35666:39438,35667:39740,35668:20096,35669:20605,35670:20736,35671:22931,35672:23452,35673:25135,35674:25216,35675:25836,35676:27450,35677:29344,35678:30097,35679:31047,35680:32681,35681:34811,35682:35516,35683:35696,35684:25516,35685:33738,35686:38816,35687:21513,35688:21507,35689:21931,35690:26708,35691:27224,35692:35440,35693:30759,35694:26485,35695:40653,35696:21364,35697:23458,35698:33050,35699:34384,35700:36870,35701:19992,35702:20037,35703:20167,35704:20241,35705:21450,35706:21560,35707:23470,35708:24339,35709:24613,35710:25937,35712:26429,35713:27714,35714:27762,35715:27875,35716:28792,35717:29699,35718:31350,35719:31406,35720:31496,35721:32026,35722:31998,35723:32102,35724:26087,35725:29275,35726:21435,35727:23621,35728:24040,35729:25298,35730:25312,35731:25369,35732:28192,35733:34394,35734:35377,35735:36317,35736:37624,35737:28417,35738:31142,35739:39770,35740:20136,35741:20139,35742:20140,35743:20379,35744:20384,35745:20689,35746:20807,35747:31478,35748:20849,35749:20982,35750:21332,35751:21281,35752:21375,35753:21483,35754:21932,35755:22659,35756:23777,35757:24375,35758:24394,35759:24623,35760:24656,35761:24685,35762:25375,35763:25945,35764:27211,35765:27841,35766:29378,35767:29421,35768:30703,35769:33016,35770:33029,35771:33288,35772:34126,35773:37111,35774:37857,35775:38911,35776:39255,35777:39514,35778:20208,35779:20957,35780:23597,35781:26241,35782:26989,35783:23616,35784:26354,35785:26997,35786:29577,35787:26704,35788:31873,35789:20677,35790:21220,35791:22343,35792:24062,35793:37670,35794:26020,35795:27427,35796:27453,35797:29748,35798:31105,35799:31165,35800:31563,35801:32202,35802:33465,35803:33740,35804:34943,35805:35167,35806:35641,35807:36817,35808:37329,35809:21535,35810:37504,35811:20061,35812:20534,35813:21477,35814:21306,35815:29399,35816:29590,35817:30697,35818:33510,35819:36527,35820:39366,35821:39368,35822:39378,35823:20855,35824:24858,35825:34398,35826:21936,35827:31354,35828:20598,35829:23507,35830:36935,35831:38533,35832:20018,35833:27355,35834:37351,35835:23633,35836:23624,35904:25496,35905:31391,35906:27795,35907:38772,35908:36705,35909:31402,35910:29066,35911:38536,35912:31874,35913:26647,35914:32368,35915:26705,35916:37740,35917:21234,35918:21531,35919:34219,35920:35347,35921:32676,35922:36557,35923:37089,35924:21350,35925:34952,35926:31041,35927:20418,35928:20670,35929:21009,35930:20804,35931:21843,35932:22317,35933:29674,35934:22411,35935:22865,35936:24418,35937:24452,35938:24693,35939:24950,35940:24935,35941:25001,35942:25522,35943:25658,35944:25964,35945:26223,35946:26690,35947:28179,35948:30054,35949:31293,35950:31995,35951:32076,35952:32153,35953:32331,35954:32619,35955:33550,35956:33610,35957:34509,35958:35336,35959:35427,35960:35686,35961:36605,35962:38938,35963:40335,35964:33464,35965:36814,35966:39912,35968:21127,35969:25119,35970:25731,35971:28608,35972:38553,35973:26689,35974:20625,35975:27424,35976:27770,35977:28500,35978:31348,35979:32080,35980:34880,35981:35363,35982:26376,35983:20214,35984:20537,35985:20518,35986:20581,35987:20860,35988:21048,35989:21091,35990:21927,35991:22287,35992:22533,35993:23244,35994:24314,35995:25010,35996:25080,35997:25331,35998:25458,35999:26908,36e3:27177,36001:29309,36002:29356,36003:29486,36004:30740,36005:30831,36006:32121,36007:30476,36008:32937,36009:35211,36010:35609,36011:36066,36012:36562,36013:36963,36014:37749,36015:38522,36016:38997,36017:39443,36018:40568,36019:20803,36020:21407,36021:21427,36022:24187,36023:24358,36024:28187,36025:28304,36026:29572,36027:29694,36028:32067,36029:33335,36030:35328,36031:35578,36032:38480,36033:20046,36034:20491,36035:21476,36036:21628,36037:22266,36038:22993,36039:23396,36040:24049,36041:24235,36042:24359,36043:25144,36044:25925,36045:26543,36046:28246,36047:29392,36048:31946,36049:34996,36050:32929,36051:32993,36052:33776,36053:34382,36054:35463,36055:36328,36056:37431,36057:38599,36058:39015,36059:40723,36060:20116,36061:20114,36062:20237,36063:21320,36064:21577,36065:21566,36066:23087,36067:24460,36068:24481,36069:24735,36070:26791,36071:27278,36072:29786,36073:30849,36074:35486,36075:35492,36076:35703,36077:37264,36078:20062,36079:39881,36080:20132,36081:20348,36082:20399,36083:20505,36084:20502,36085:20809,36086:20844,36087:21151,36088:21177,36089:21246,36090:21402,36091:21475,36092:21521,36160:21518,36161:21897,36162:22353,36163:22434,36164:22909,36165:23380,36166:23389,36167:23439,36168:24037,36169:24039,36170:24055,36171:24184,36172:24195,36173:24218,36174:24247,36175:24344,36176:24658,36177:24908,36178:25239,36179:25304,36180:25511,36181:25915,36182:26114,36183:26179,36184:26356,36185:26477,36186:26657,36187:26775,36188:27083,36189:27743,36190:27946,36191:28009,36192:28207,36193:28317,36194:30002,36195:30343,36196:30828,36197:31295,36198:31968,36199:32005,36200:32024,36201:32094,36202:32177,36203:32789,36204:32771,36205:32943,36206:32945,36207:33108,36208:33167,36209:33322,36210:33618,36211:34892,36212:34913,36213:35611,36214:36002,36215:36092,36216:37066,36217:37237,36218:37489,36219:30783,36220:37628,36221:38308,36222:38477,36224:38917,36225:39321,36226:39640,36227:40251,36228:21083,36229:21163,36230:21495,36231:21512,36232:22741,36233:25335,36234:28640,36235:35946,36236:36703,36237:40633,36238:20811,36239:21051,36240:21578,36241:22269,36242:31296,36243:37239,36244:40288,36245:40658,36246:29508,36247:28425,36248:33136,36249:29969,36250:24573,36251:24794,36252:39592,36253:29403,36254:36796,36255:27492,36256:38915,36257:20170,36258:22256,36259:22372,36260:22718,36261:23130,36262:24680,36263:25031,36264:26127,36265:26118,36266:26681,36267:26801,36268:28151,36269:30165,36270:32058,36271:33390,36272:39746,36273:20123,36274:20304,36275:21449,36276:21766,36277:23919,36278:24038,36279:24046,36280:26619,36281:27801,36282:29811,36283:30722,36284:35408,36285:37782,36286:35039,36287:22352,36288:24231,36289:25387,36290:20661,36291:20652,36292:20877,36293:26368,36294:21705,36295:22622,36296:22971,36297:23472,36298:24425,36299:25165,36300:25505,36301:26685,36302:27507,36303:28168,36304:28797,36305:37319,36306:29312,36307:30741,36308:30758,36309:31085,36310:25998,36311:32048,36312:33756,36313:35009,36314:36617,36315:38555,36316:21092,36317:22312,36318:26448,36319:32618,36320:36001,36321:20916,36322:22338,36323:38442,36324:22586,36325:27018,36326:32948,36327:21682,36328:23822,36329:22524,36330:30869,36331:40442,36332:20316,36333:21066,36334:21643,36335:25662,36336:26152,36337:26388,36338:26613,36339:31364,36340:31574,36341:32034,36342:37679,36343:26716,36344:39853,36345:31545,36346:21273,36347:20874,36348:21047,36416:23519,36417:25334,36418:25774,36419:25830,36420:26413,36421:27578,36422:34217,36423:38609,36424:30352,36425:39894,36426:25420,36427:37638,36428:39851,36429:30399,36430:26194,36431:19977,36432:20632,36433:21442,36434:23665,36435:24808,36436:25746,36437:25955,36438:26719,36439:29158,36440:29642,36441:29987,36442:31639,36443:32386,36444:34453,36445:35715,36446:36059,36447:37240,36448:39184,36449:26028,36450:26283,36451:27531,36452:20181,36453:20180,36454:20282,36455:20351,36456:21050,36457:21496,36458:21490,36459:21987,36460:22235,36461:22763,36462:22987,36463:22985,36464:23039,36465:23376,36466:23629,36467:24066,36468:24107,36469:24535,36470:24605,36471:25351,36472:25903,36473:23388,36474:26031,36475:26045,36476:26088,36477:26525,36478:27490,36480:27515,36481:27663,36482:29509,36483:31049,36484:31169,36485:31992,36486:32025,36487:32043,36488:32930,36489:33026,36490:33267,36491:35222,36492:35422,36493:35433,36494:35430,36495:35468,36496:35566,36497:36039,36498:36060,36499:38604,36500:39164,36501:27503,36502:20107,36503:20284,36504:20365,36505:20816,36506:23383,36507:23546,36508:24904,36509:25345,36510:26178,36511:27425,36512:28363,36513:27835,36514:29246,36515:29885,36516:30164,36517:30913,36518:31034,36519:32780,36520:32819,36521:33258,36522:33940,36523:36766,36524:27728,36525:40575,36526:24335,36527:35672,36528:40235,36529:31482,36530:36600,36531:23437,36532:38635,36533:19971,36534:21489,36535:22519,36536:22833,36537:23241,36538:23460,36539:24713,36540:28287,36541:28422,36542:30142,36543:36074,36544:23455,36545:34048,36546:31712,36547:20594,36548:26612,36549:33437,36550:23649,36551:34122,36552:32286,36553:33294,36554:20889,36555:23556,36556:25448,36557:36198,36558:26012,36559:29038,36560:31038,36561:32023,36562:32773,36563:35613,36564:36554,36565:36974,36566:34503,36567:37034,36568:20511,36569:21242,36570:23610,36571:26451,36572:28796,36573:29237,36574:37196,36575:37320,36576:37675,36577:33509,36578:23490,36579:24369,36580:24825,36581:20027,36582:21462,36583:23432,36584:25163,36585:26417,36586:27530,36587:29417,36588:29664,36589:31278,36590:33131,36591:36259,36592:37202,36593:39318,36594:20754,36595:21463,36596:21610,36597:23551,36598:25480,36599:27193,36600:32172,36601:38656,36602:22234,36603:21454,36604:21608,36672:23447,36673:23601,36674:24030,36675:20462,36676:24833,36677:25342,36678:27954,36679:31168,36680:31179,36681:32066,36682:32333,36683:32722,36684:33261,36685:33311,36686:33936,36687:34886,36688:35186,36689:35728,36690:36468,36691:36655,36692:36913,36693:37195,36694:37228,36695:38598,36696:37276,36697:20160,36698:20303,36699:20805,36700:21313,36701:24467,36702:25102,36703:26580,36704:27713,36705:28171,36706:29539,36707:32294,36708:37325,36709:37507,36710:21460,36711:22809,36712:23487,36713:28113,36714:31069,36715:32302,36716:31899,36717:22654,36718:29087,36719:20986,36720:34899,36721:36848,36722:20426,36723:23803,36724:26149,36725:30636,36726:31459,36727:33308,36728:39423,36729:20934,36730:24490,36731:26092,36732:26991,36733:27529,36734:28147,36736:28310,36737:28516,36738:30462,36739:32020,36740:24033,36741:36981,36742:37255,36743:38918,36744:20966,36745:21021,36746:25152,36747:26257,36748:26329,36749:28186,36750:24246,36751:32210,36752:32626,36753:26360,36754:34223,36755:34295,36756:35576,36757:21161,36758:21465,36759:22899,36760:24207,36761:24464,36762:24661,36763:37604,36764:38500,36765:20663,36766:20767,36767:21213,36768:21280,36769:21319,36770:21484,36771:21736,36772:21830,36773:21809,36774:22039,36775:22888,36776:22974,36777:23100,36778:23477,36779:23558,36780:23567,36781:23569,36782:23578,36783:24196,36784:24202,36785:24288,36786:24432,36787:25215,36788:25220,36789:25307,36790:25484,36791:25463,36792:26119,36793:26124,36794:26157,36795:26230,36796:26494,36797:26786,36798:27167,36799:27189,36800:27836,36801:28040,36802:28169,36803:28248,36804:28988,36805:28966,36806:29031,36807:30151,36808:30465,36809:30813,36810:30977,36811:31077,36812:31216,36813:31456,36814:31505,36815:31911,36816:32057,36817:32918,36818:33750,36819:33931,36820:34121,36821:34909,36822:35059,36823:35359,36824:35388,36825:35412,36826:35443,36827:35937,36828:36062,36829:37284,36830:37478,36831:37758,36832:37912,36833:38556,36834:38808,36835:19978,36836:19976,36837:19998,36838:20055,36839:20887,36840:21104,36841:22478,36842:22580,36843:22732,36844:23330,36845:24120,36846:24773,36847:25854,36848:26465,36849:26454,36850:27972,36851:29366,36852:30067,36853:31331,36854:33976,36855:35698,36856:37304,36857:37664,36858:22065,36859:22516,36860:39166,36928:25325,36929:26893,36930:27542,36931:29165,36932:32340,36933:32887,36934:33394,36935:35302,36936:39135,36937:34645,36938:36785,36939:23611,36940:20280,36941:20449,36942:20405,36943:21767,36944:23072,36945:23517,36946:23529,36947:24515,36948:24910,36949:25391,36950:26032,36951:26187,36952:26862,36953:27035,36954:28024,36955:28145,36956:30003,36957:30137,36958:30495,36959:31070,36960:31206,36961:32051,36962:33251,36963:33455,36964:34218,36965:35242,36966:35386,36967:36523,36968:36763,36969:36914,36970:37341,36971:38663,36972:20154,36973:20161,36974:20995,36975:22645,36976:22764,36977:23563,36978:29978,36979:23613,36980:33102,36981:35338,36982:36805,36983:38499,36984:38765,36985:31525,36986:35535,36987:38920,36988:37218,36989:22259,36990:21416,36992:36887,36993:21561,36994:22402,36995:24101,36996:25512,36997:27700,36998:28810,36999:30561,37e3:31883,37001:32736,37002:34928,37003:36930,37004:37204,37005:37648,37006:37656,37007:38543,37008:29790,37009:39620,37010:23815,37011:23913,37012:25968,37013:26530,37014:36264,37015:38619,37016:25454,37017:26441,37018:26905,37019:33733,37020:38935,37021:38592,37022:35070,37023:28548,37024:25722,37025:23544,37026:19990,37027:28716,37028:30045,37029:26159,37030:20932,37031:21046,37032:21218,37033:22995,37034:24449,37035:24615,37036:25104,37037:25919,37038:25972,37039:26143,37040:26228,37041:26866,37042:26646,37043:27491,37044:28165,37045:29298,37046:29983,37047:30427,37048:31934,37049:32854,37050:22768,37051:35069,37052:35199,37053:35488,37054:35475,37055:35531,37056:36893,37057:37266,37058:38738,37059:38745,37060:25993,37061:31246,37062:33030,37063:38587,37064:24109,37065:24796,37066:25114,37067:26021,37068:26132,37069:26512,37070:30707,37071:31309,37072:31821,37073:32318,37074:33034,37075:36012,37076:36196,37077:36321,37078:36447,37079:30889,37080:20999,37081:25305,37082:25509,37083:25666,37084:25240,37085:35373,37086:31363,37087:31680,37088:35500,37089:38634,37090:32118,37091:33292,37092:34633,37093:20185,37094:20808,37095:21315,37096:21344,37097:23459,37098:23554,37099:23574,37100:24029,37101:25126,37102:25159,37103:25776,37104:26643,37105:26676,37106:27849,37107:27973,37108:27927,37109:26579,37110:28508,37111:29006,37112:29053,37113:26059,37114:31359,37115:31661,37116:32218,37184:32330,37185:32680,37186:33146,37187:33307,37188:33337,37189:34214,37190:35438,37191:36046,37192:36341,37193:36984,37194:36983,37195:37549,37196:37521,37197:38275,37198:39854,37199:21069,37200:21892,37201:28472,37202:28982,37203:20840,37204:31109,37205:32341,37206:33203,37207:31950,37208:22092,37209:22609,37210:23720,37211:25514,37212:26366,37213:26365,37214:26970,37215:29401,37216:30095,37217:30094,37218:30990,37219:31062,37220:31199,37221:31895,37222:32032,37223:32068,37224:34311,37225:35380,37226:38459,37227:36961,37228:40736,37229:20711,37230:21109,37231:21452,37232:21474,37233:20489,37234:21930,37235:22766,37236:22863,37237:29245,37238:23435,37239:23652,37240:21277,37241:24803,37242:24819,37243:25436,37244:25475,37245:25407,37246:25531,37248:25805,37249:26089,37250:26361,37251:24035,37252:27085,37253:27133,37254:28437,37255:29157,37256:20105,37257:30185,37258:30456,37259:31379,37260:31967,37261:32207,37262:32156,37263:32865,37264:33609,37265:33624,37266:33900,37267:33980,37268:34299,37269:35013,37270:36208,37271:36865,37272:36973,37273:37783,37274:38684,37275:39442,37276:20687,37277:22679,37278:24974,37279:33235,37280:34101,37281:36104,37282:36896,37283:20419,37284:20596,37285:21063,37286:21363,37287:24687,37288:25417,37289:26463,37290:28204,37291:36275,37292:36895,37293:20439,37294:23646,37295:36042,37296:26063,37297:32154,37298:21330,37299:34966,37300:20854,37301:25539,37302:23384,37303:23403,37304:23562,37305:25613,37306:26449,37307:36956,37308:20182,37309:22810,37310:22826,37311:27760,37312:35409,37313:21822,37314:22549,37315:22949,37316:24816,37317:25171,37318:26561,37319:33333,37320:26965,37321:38464,37322:39364,37323:39464,37324:20307,37325:22534,37326:23550,37327:32784,37328:23729,37329:24111,37330:24453,37331:24608,37332:24907,37333:25140,37334:26367,37335:27888,37336:28382,37337:32974,37338:33151,37339:33492,37340:34955,37341:36024,37342:36864,37343:36910,37344:38538,37345:40667,37346:39899,37347:20195,37348:21488,37349:22823,37350:31532,37351:37261,37352:38988,37353:40441,37354:28381,37355:28711,37356:21331,37357:21828,37358:23429,37359:25176,37360:25246,37361:25299,37362:27810,37363:28655,37364:29730,37365:35351,37366:37944,37367:28609,37368:35582,37369:33592,37370:20967,37371:34552,37372:21482,37440:21481,37441:20294,37442:36948,37443:36784,37444:22890,37445:33073,37446:24061,37447:31466,37448:36799,37449:26842,37450:35895,37451:29432,37452:40008,37453:27197,37454:35504,37455:20025,37456:21336,37457:22022,37458:22374,37459:25285,37460:25506,37461:26086,37462:27470,37463:28129,37464:28251,37465:28845,37466:30701,37467:31471,37468:31658,37469:32187,37470:32829,37471:32966,37472:34507,37473:35477,37474:37723,37475:22243,37476:22727,37477:24382,37478:26029,37479:26262,37480:27264,37481:27573,37482:30007,37483:35527,37484:20516,37485:30693,37486:22320,37487:24347,37488:24677,37489:26234,37490:27744,37491:30196,37492:31258,37493:32622,37494:33268,37495:34584,37496:36933,37497:39347,37498:31689,37499:30044,37500:31481,37501:31569,37502:33988,37504:36880,37505:31209,37506:31378,37507:33590,37508:23265,37509:30528,37510:20013,37511:20210,37512:23449,37513:24544,37514:25277,37515:26172,37516:26609,37517:27880,37518:34411,37519:34935,37520:35387,37521:37198,37522:37619,37523:39376,37524:27159,37525:28710,37526:29482,37527:33511,37528:33879,37529:36015,37530:19969,37531:20806,37532:20939,37533:21899,37534:23541,37535:24086,37536:24115,37537:24193,37538:24340,37539:24373,37540:24427,37541:24500,37542:25074,37543:25361,37544:26274,37545:26397,37546:28526,37547:29266,37548:30010,37549:30522,37550:32884,37551:33081,37552:33144,37553:34678,37554:35519,37555:35548,37556:36229,37557:36339,37558:37530,37559:38263,37560:38914,37561:40165,37562:21189,37563:25431,37564:30452,37565:26389,37566:27784,37567:29645,37568:36035,37569:37806,37570:38515,37571:27941,37572:22684,37573:26894,37574:27084,37575:36861,37576:37786,37577:30171,37578:36890,37579:22618,37580:26626,37581:25524,37582:27131,37583:20291,37584:28460,37585:26584,37586:36795,37587:34086,37588:32180,37589:37716,37590:26943,37591:28528,37592:22378,37593:22775,37594:23340,37595:32044,37596:29226,37597:21514,37598:37347,37599:40372,37600:20141,37601:20302,37602:20572,37603:20597,37604:21059,37605:35998,37606:21576,37607:22564,37608:23450,37609:24093,37610:24213,37611:24237,37612:24311,37613:24351,37614:24716,37615:25269,37616:25402,37617:25552,37618:26799,37619:27712,37620:30855,37621:31118,37622:31243,37623:32224,37624:33351,37625:35330,37626:35558,37627:36420,37628:36883,37696:37048,37697:37165,37698:37336,37699:40718,37700:27877,37701:25688,37702:25826,37703:25973,37704:28404,37705:30340,37706:31515,37707:36969,37708:37841,37709:28346,37710:21746,37711:24505,37712:25764,37713:36685,37714:36845,37715:37444,37716:20856,37717:22635,37718:22825,37719:23637,37720:24215,37721:28155,37722:32399,37723:29980,37724:36028,37725:36578,37726:39003,37727:28857,37728:20253,37729:27583,37730:28593,37731:3e4,37732:38651,37733:20814,37734:21520,37735:22581,37736:22615,37737:22956,37738:23648,37739:24466,37740:26007,37741:26460,37742:28193,37743:30331,37744:33759,37745:36077,37746:36884,37747:37117,37748:37709,37749:30757,37750:30778,37751:21162,37752:24230,37753:22303,37754:22900,37755:24594,37756:20498,37757:20826,37758:20908,37760:20941,37761:20992,37762:21776,37763:22612,37764:22616,37765:22871,37766:23445,37767:23798,37768:23947,37769:24764,37770:25237,37771:25645,37772:26481,37773:26691,37774:26812,37775:26847,37776:30423,37777:28120,37778:28271,37779:28059,37780:28783,37781:29128,37782:24403,37783:30168,37784:31095,37785:31561,37786:31572,37787:31570,37788:31958,37789:32113,37790:21040,37791:33891,37792:34153,37793:34276,37794:35342,37795:35588,37796:35910,37797:36367,37798:36867,37799:36879,37800:37913,37801:38518,37802:38957,37803:39472,37804:38360,37805:20685,37806:21205,37807:21516,37808:22530,37809:23566,37810:24999,37811:25758,37812:27934,37813:30643,37814:31461,37815:33012,37816:33796,37817:36947,37818:37509,37819:23776,37820:40199,37821:21311,37822:24471,37823:24499,37824:28060,37825:29305,37826:30563,37827:31167,37828:31716,37829:27602,37830:29420,37831:35501,37832:26627,37833:27233,37834:20984,37835:31361,37836:26932,37837:23626,37838:40182,37839:33515,37840:23493,37841:37193,37842:28702,37843:22136,37844:23663,37845:24775,37846:25958,37847:27788,37848:35930,37849:36929,37850:38931,37851:21585,37852:26311,37853:37389,37854:22856,37855:37027,37856:20869,37857:20045,37858:20970,37859:34201,37860:35598,37861:28760,37862:25466,37863:37707,37864:26978,37865:39348,37866:32260,37867:30071,37868:21335,37869:26976,37870:36575,37871:38627,37872:27741,37873:20108,37874:23612,37875:24336,37876:36841,37877:21250,37878:36049,37879:32905,37880:34425,37881:24319,37882:26085,37883:20083,37884:20837,37952:22914,37953:23615,37954:38894,37955:20219,37956:22922,37957:24525,37958:35469,37959:28641,37960:31152,37961:31074,37962:23527,37963:33905,37964:29483,37965:29105,37966:24180,37967:24565,37968:25467,37969:25754,37970:29123,37971:31896,37972:20035,37973:24316,37974:20043,37975:22492,37976:22178,37977:24745,37978:28611,37979:32013,37980:33021,37981:33075,37982:33215,37983:36786,37984:35223,37985:34468,37986:24052,37987:25226,37988:25773,37989:35207,37990:26487,37991:27874,37992:27966,37993:29750,37994:30772,37995:23110,37996:32629,37997:33453,37998:39340,37999:20467,38e3:24259,38001:25309,38002:25490,38003:25943,38004:26479,38005:30403,38006:29260,38007:32972,38008:32954,38009:36649,38010:37197,38011:20493,38012:22521,38013:23186,38014:26757,38016:26995,38017:29028,38018:29437,38019:36023,38020:22770,38021:36064,38022:38506,38023:36889,38024:34687,38025:31204,38026:30695,38027:33833,38028:20271,38029:21093,38030:21338,38031:25293,38032:26575,38033:27850,38034:30333,38035:31636,38036:31893,38037:33334,38038:34180,38039:36843,38040:26333,38041:28448,38042:29190,38043:32283,38044:33707,38045:39361,38046:40614,38047:20989,38048:31665,38049:30834,38050:31672,38051:32903,38052:31560,38053:27368,38054:24161,38055:32908,38056:30033,38057:30048,38058:20843,38059:37474,38060:28300,38061:30330,38062:37271,38063:39658,38064:20240,38065:32624,38066:25244,38067:31567,38068:38309,38069:40169,38070:22138,38071:22617,38072:34532,38073:38588,38074:20276,38075:21028,38076:21322,38077:21453,38078:21467,38079:24070,38080:25644,38081:26001,38082:26495,38083:27710,38084:27726,38085:29256,38086:29359,38087:29677,38088:30036,38089:32321,38090:33324,38091:34281,38092:36009,38093:31684,38094:37318,38095:29033,38096:38930,38097:39151,38098:25405,38099:26217,38100:30058,38101:30436,38102:30928,38103:34115,38104:34542,38105:21290,38106:21329,38107:21542,38108:22915,38109:24199,38110:24444,38111:24754,38112:25161,38113:25209,38114:25259,38115:26e3,38116:27604,38117:27852,38118:30130,38119:30382,38120:30865,38121:31192,38122:32203,38123:32631,38124:32933,38125:34987,38126:35513,38127:36027,38128:36991,38129:38750,38130:39131,38131:27147,38132:31800,38133:20633,38134:23614,38135:24494,38136:26503,38137:27608,38138:29749,38139:30473,38140:32654,38208:40763,38209:26570,38210:31255,38211:21305,38212:30091,38213:39661,38214:24422,38215:33181,38216:33777,38217:32920,38218:24380,38219:24517,38220:30050,38221:31558,38222:36924,38223:26727,38224:23019,38225:23195,38226:32016,38227:30334,38228:35628,38229:20469,38230:24426,38231:27161,38232:27703,38233:28418,38234:29922,38235:31080,38236:34920,38237:35413,38238:35961,38239:24287,38240:25551,38241:30149,38242:31186,38243:33495,38244:37672,38245:37618,38246:33948,38247:34541,38248:39981,38249:21697,38250:24428,38251:25996,38252:27996,38253:28693,38254:36007,38255:36051,38256:38971,38257:25935,38258:29942,38259:19981,38260:20184,38261:22496,38262:22827,38263:23142,38264:23500,38265:20904,38266:24067,38267:24220,38268:24598,38269:25206,38270:25975,38272:26023,38273:26222,38274:28014,38275:29238,38276:31526,38277:33104,38278:33178,38279:33433,38280:35676,38281:36e3,38282:36070,38283:36212,38284:38428,38285:38468,38286:20398,38287:25771,38288:27494,38289:33310,38290:33889,38291:34154,38292:37096,38293:23553,38294:26963,38295:39080,38296:33914,38297:34135,38298:20239,38299:21103,38300:24489,38301:24133,38302:26381,38303:31119,38304:33145,38305:35079,38306:35206,38307:28149,38308:24343,38309:25173,38310:27832,38311:20175,38312:29289,38313:39826,38314:20998,38315:21563,38316:22132,38317:22707,38318:24996,38319:25198,38320:28954,38321:22894,38322:31881,38323:31966,38324:32027,38325:38640,38326:25991,38327:32862,38328:19993,38329:20341,38330:20853,38331:22592,38332:24163,38333:24179,38334:24330,38335:26564,38336:20006,38337:34109,38338:38281,38339:38491,38340:31859,38341:38913,38342:20731,38343:22721,38344:30294,38345:30887,38346:21029,38347:30629,38348:34065,38349:31622,38350:20559,38351:22793,38352:29255,38353:31687,38354:32232,38355:36794,38356:36820,38357:36941,38358:20415,38359:21193,38360:23081,38361:24321,38362:38829,38363:20445,38364:33303,38365:37610,38366:22275,38367:25429,38368:27497,38369:29995,38370:35036,38371:36628,38372:31298,38373:21215,38374:22675,38375:24917,38376:25098,38377:26286,38378:27597,38379:31807,38380:33769,38381:20515,38382:20472,38383:21253,38384:21574,38385:22577,38386:22857,38387:23453,38388:23792,38389:23791,38390:23849,38391:24214,38392:25265,38393:25447,38394:25918,38395:26041,38396:26379,38464:27861,38465:27873,38466:28921,38467:30770,38468:32299,38469:32990,38470:33459,38471:33804,38472:34028,38473:34562,38474:35090,38475:35370,38476:35914,38477:37030,38478:37586,38479:39165,38480:40179,38481:40300,38482:20047,38483:20129,38484:20621,38485:21078,38486:22346,38487:22952,38488:24125,38489:24536,38490:24537,38491:25151,38492:26292,38493:26395,38494:26576,38495:26834,38496:20882,38497:32033,38498:32938,38499:33192,38500:35584,38501:35980,38502:36031,38503:37502,38504:38450,38505:21536,38506:38956,38507:21271,38508:20693,38509:21340,38510:22696,38511:25778,38512:26420,38513:29287,38514:30566,38515:31302,38516:37350,38517:21187,38518:27809,38519:27526,38520:22528,38521:24140,38522:22868,38523:26412,38524:32763,38525:20961,38526:30406,38528:25705,38529:30952,38530:39764,38531:40635,38532:22475,38533:22969,38534:26151,38535:26522,38536:27598,38537:21737,38538:27097,38539:24149,38540:33180,38541:26517,38542:39850,38543:26622,38544:40018,38545:26717,38546:20134,38547:20451,38548:21448,38549:25273,38550:26411,38551:27819,38552:36804,38553:20397,38554:32365,38555:40639,38556:19975,38557:24930,38558:28288,38559:28459,38560:34067,38561:21619,38562:26410,38563:39749,38564:24051,38565:31637,38566:23724,38567:23494,38568:34588,38569:28234,38570:34001,38571:31252,38572:33032,38573:22937,38574:31885,38575:27665,38576:30496,38577:21209,38578:22818,38579:28961,38580:29279,38581:30683,38582:38695,38583:40289,38584:26891,38585:23167,38586:23064,38587:20901,38588:21517,38589:21629,38590:26126,38591:30431,38592:36855,38593:37528,38594:40180,38595:23018,38596:29277,38597:28357,38598:20813,38599:26825,38600:32191,38601:32236,38602:38754,38603:40634,38604:25720,38605:27169,38606:33538,38607:22916,38608:23391,38609:27611,38610:29467,38611:30450,38612:32178,38613:32791,38614:33945,38615:20786,38616:26408,38617:40665,38618:30446,38619:26466,38620:21247,38621:39173,38622:23588,38623:25147,38624:31870,38625:36016,38626:21839,38627:24758,38628:32011,38629:38272,38630:21249,38631:20063,38632:20918,38633:22812,38634:29242,38635:32822,38636:37326,38637:24357,38638:30690,38639:21380,38640:24441,38641:32004,38642:34220,38643:35379,38644:36493,38645:38742,38646:26611,38647:34222,38648:37971,38649:24841,38650:24840,38651:27833,38652:30290,38720:35565,38721:36664,38722:21807,38723:20305,38724:20778,38725:21191,38726:21451,38727:23461,38728:24189,38729:24736,38730:24962,38731:25558,38732:26377,38733:26586,38734:28263,38735:28044,38736:29494,38737:29495,38738:30001,38739:31056,38740:35029,38741:35480,38742:36938,38743:37009,38744:37109,38745:38596,38746:34701,38747:22805,38748:20104,38749:20313,38750:19982,38751:35465,38752:36671,38753:38928,38754:20653,38755:24188,38756:22934,38757:23481,38758:24248,38759:25562,38760:25594,38761:25793,38762:26332,38763:26954,38764:27096,38765:27915,38766:28342,38767:29076,38768:29992,38769:31407,38770:32650,38771:32768,38772:33865,38773:33993,38774:35201,38775:35617,38776:36362,38777:36965,38778:38525,38779:39178,38780:24958,38781:25233,38782:27442,38784:27779,38785:28020,38786:32716,38787:32764,38788:28096,38789:32645,38790:34746,38791:35064,38792:26469,38793:33713,38794:38972,38795:38647,38796:27931,38797:32097,38798:33853,38799:37226,38800:20081,38801:21365,38802:23888,38803:27396,38804:28651,38805:34253,38806:34349,38807:35239,38808:21033,38809:21519,38810:23653,38811:26446,38812:26792,38813:29702,38814:29827,38815:30178,38816:35023,38817:35041,38818:37324,38819:38626,38820:38520,38821:24459,38822:29575,38823:31435,38824:33870,38825:25504,38826:30053,38827:21129,38828:27969,38829:28316,38830:29705,38831:30041,38832:30827,38833:31890,38834:38534,38835:31452,38836:40845,38837:20406,38838:24942,38839:26053,38840:34396,38841:20102,38842:20142,38843:20698,38844:20001,38845:20940,38846:23534,38847:26009,38848:26753,38849:28092,38850:29471,38851:30274,38852:30637,38853:31260,38854:31975,38855:33391,38856:35538,38857:36988,38858:37327,38859:38517,38860:38936,38861:21147,38862:32209,38863:20523,38864:21400,38865:26519,38866:28107,38867:29136,38868:29747,38869:33256,38870:36650,38871:38563,38872:40023,38873:40607,38874:29792,38875:22593,38876:28057,38877:32047,38878:39006,38879:20196,38880:20278,38881:20363,38882:20919,38883:21169,38884:23994,38885:24604,38886:29618,38887:31036,38888:33491,38889:37428,38890:38583,38891:38646,38892:38666,38893:40599,38894:40802,38895:26278,38896:27508,38897:21015,38898:21155,38899:28872,38900:35010,38901:24265,38902:24651,38903:24976,38904:28451,38905:29001,38906:31806,38907:32244,38908:32879,38976:34030,38977:36899,38978:37676,38979:21570,38980:39791,38981:27347,38982:28809,38983:36034,38984:36335,38985:38706,38986:21172,38987:23105,38988:24266,38989:24324,38990:26391,38991:27004,38992:27028,38993:28010,38994:28431,38995:29282,38996:29436,38997:31725,38998:32769,38999:32894,39e3:34635,39001:37070,39002:20845,39003:40595,39004:31108,39005:32907,39006:37682,39007:35542,39008:20525,39009:21644,39010:35441,39011:27498,39012:36036,39013:33031,39014:24785,39015:26528,39016:40434,39017:20121,39018:20120,39019:39952,39020:35435,39021:34241,39022:34152,39023:26880,39024:28286,39025:30871,39026:33109,39071:24332,39072:19984,39073:19989,39074:20010,39075:20017,39076:20022,39077:20028,39078:20031,39079:20034,39080:20054,39081:20056,39082:20098,39083:20101,39084:35947,39085:20106,39086:33298,39087:24333,39088:20110,39089:20126,39090:20127,39091:20128,39092:20130,39093:20144,39094:20147,39095:20150,39096:20174,39097:20173,39098:20164,39099:20166,39100:20162,39101:20183,39102:20190,39103:20205,39104:20191,39105:20215,39106:20233,39107:20314,39108:20272,39109:20315,39110:20317,39111:20311,39112:20295,39113:20342,39114:20360,39115:20367,39116:20376,39117:20347,39118:20329,39119:20336,39120:20369,39121:20335,39122:20358,39123:20374,39124:20760,39125:20436,39126:20447,39127:20430,39128:20440,39129:20443,39130:20433,39131:20442,39132:20432,39133:20452,39134:20453,39135:20506,39136:20520,39137:20500,39138:20522,39139:20517,39140:20485,39141:20252,39142:20470,39143:20513,39144:20521,39145:20524,39146:20478,39147:20463,39148:20497,39149:20486,39150:20547,39151:20551,39152:26371,39153:20565,39154:20560,39155:20552,39156:20570,39157:20566,39158:20588,39159:20600,39160:20608,39161:20634,39162:20613,39163:20660,39164:20658,39232:20681,39233:20682,39234:20659,39235:20674,39236:20694,39237:20702,39238:20709,39239:20717,39240:20707,39241:20718,39242:20729,39243:20725,39244:20745,39245:20737,39246:20738,39247:20758,39248:20757,39249:20756,39250:20762,39251:20769,39252:20794,39253:20791,39254:20796,39255:20795,39256:20799,39257:20800,39258:20818,39259:20812,39260:20820,39261:20834,39262:31480,39263:20841,39264:20842,39265:20846,39266:20864,39267:20866,39268:22232,39269:20876,39270:20873,39271:20879,39272:20881,39273:20883,39274:20885,39275:20886,39276:20900,39277:20902,39278:20898,39279:20905,39280:20906,39281:20907,39282:20915,39283:20913,39284:20914,39285:20912,39286:20917,39287:20925,39288:20933,39289:20937,39290:20955,39291:20960,39292:34389,39293:20969,39294:20973,39296:20976,39297:20981,39298:20990,39299:20996,39300:21003,39301:21012,39302:21006,39303:21031,39304:21034,39305:21038,39306:21043,39307:21049,39308:21071,39309:21060,39310:21067,39311:21068,39312:21086,39313:21076,39314:21098,39315:21108,39316:21097,39317:21107,39318:21119,39319:21117,39320:21133,39321:21140,39322:21138,39323:21105,39324:21128,39325:21137,39326:36776,39327:36775,39328:21164,39329:21165,39330:21180,39331:21173,39332:21185,39333:21197,39334:21207,39335:21214,39336:21219,39337:21222,39338:39149,39339:21216,39340:21235,39341:21237,39342:21240,39343:21241,39344:21254,39345:21256,39346:30008,39347:21261,39348:21264,39349:21263,39350:21269,39351:21274,39352:21283,39353:21295,39354:21297,39355:21299,39356:21304,39357:21312,39358:21318,39359:21317,39360:19991,39361:21321,39362:21325,39363:20950,39364:21342,39365:21353,39366:21358,39367:22808,39368:21371,39369:21367,39370:21378,39371:21398,39372:21408,39373:21414,39374:21413,39375:21422,39376:21424,39377:21430,39378:21443,39379:31762,39380:38617,39381:21471,39382:26364,39383:29166,39384:21486,39385:21480,39386:21485,39387:21498,39388:21505,39389:21565,39390:21568,39391:21548,39392:21549,39393:21564,39394:21550,39395:21558,39396:21545,39397:21533,39398:21582,39399:21647,39400:21621,39401:21646,39402:21599,39403:21617,39404:21623,39405:21616,39406:21650,39407:21627,39408:21632,39409:21622,39410:21636,39411:21648,39412:21638,39413:21703,39414:21666,39415:21688,39416:21669,39417:21676,39418:21700,39419:21704,39420:21672,39488:21675,39489:21698,39490:21668,39491:21694,39492:21692,39493:21720,39494:21733,39495:21734,39496:21775,39497:21780,39498:21757,39499:21742,39500:21741,39501:21754,39502:21730,39503:21817,39504:21824,39505:21859,39506:21836,39507:21806,39508:21852,39509:21829,39510:21846,39511:21847,39512:21816,39513:21811,39514:21853,39515:21913,39516:21888,39517:21679,39518:21898,39519:21919,39520:21883,39521:21886,39522:21912,39523:21918,39524:21934,39525:21884,39526:21891,39527:21929,39528:21895,39529:21928,39530:21978,39531:21957,39532:21983,39533:21956,39534:21980,39535:21988,39536:21972,39537:22036,39538:22007,39539:22038,39540:22014,39541:22013,39542:22043,39543:22009,39544:22094,39545:22096,39546:29151,39547:22068,39548:22070,39549:22066,39550:22072,39552:22123,39553:22116,39554:22063,39555:22124,39556:22122,39557:22150,39558:22144,39559:22154,39560:22176,39561:22164,39562:22159,39563:22181,39564:22190,39565:22198,39566:22196,39567:22210,39568:22204,39569:22209,39570:22211,39571:22208,39572:22216,39573:22222,39574:22225,39575:22227,39576:22231,39577:22254,39578:22265,39579:22272,39580:22271,39581:22276,39582:22281,39583:22280,39584:22283,39585:22285,39586:22291,39587:22296,39588:22294,39589:21959,39590:22300,39591:22310,39592:22327,39593:22328,39594:22350,39595:22331,39596:22336,39597:22351,39598:22377,39599:22464,39600:22408,39601:22369,39602:22399,39603:22409,39604:22419,39605:22432,39606:22451,39607:22436,39608:22442,39609:22448,39610:22467,39611:22470,39612:22484,39613:22482,39614:22483,39615:22538,39616:22486,39617:22499,39618:22539,39619:22553,39620:22557,39621:22642,39622:22561,39623:22626,39624:22603,39625:22640,39626:27584,39627:22610,39628:22589,39629:22649,39630:22661,39631:22713,39632:22687,39633:22699,39634:22714,39635:22750,39636:22715,39637:22712,39638:22702,39639:22725,39640:22739,39641:22737,39642:22743,39643:22745,39644:22744,39645:22757,39646:22748,39647:22756,39648:22751,39649:22767,39650:22778,39651:22777,39652:22779,39653:22780,39654:22781,39655:22786,39656:22794,39657:22800,39658:22811,39659:26790,39660:22821,39661:22828,39662:22829,39663:22834,39664:22840,39665:22846,39666:31442,39667:22869,39668:22864,39669:22862,39670:22874,39671:22872,39672:22882,39673:22880,39674:22887,39675:22892,39676:22889,39744:22904,39745:22913,39746:22941,39747:20318,39748:20395,39749:22947,39750:22962,39751:22982,39752:23016,39753:23004,39754:22925,39755:23001,39756:23002,39757:23077,39758:23071,39759:23057,39760:23068,39761:23049,39762:23066,39763:23104,39764:23148,39765:23113,39766:23093,39767:23094,39768:23138,39769:23146,39770:23194,39771:23228,39772:23230,39773:23243,39774:23234,39775:23229,39776:23267,39777:23255,39778:23270,39779:23273,39780:23254,39781:23290,39782:23291,39783:23308,39784:23307,39785:23318,39786:23346,39787:23248,39788:23338,39789:23350,39790:23358,39791:23363,39792:23365,39793:23360,39794:23377,39795:23381,39796:23386,39797:23387,39798:23397,39799:23401,39800:23408,39801:23411,39802:23413,39803:23416,39804:25992,39805:23418,39806:23424,39808:23427,39809:23462,39810:23480,39811:23491,39812:23495,39813:23497,39814:23508,39815:23504,39816:23524,39817:23526,39818:23522,39819:23518,39820:23525,39821:23531,39822:23536,39823:23542,39824:23539,39825:23557,39826:23559,39827:23560,39828:23565,39829:23571,39830:23584,39831:23586,39832:23592,39833:23608,39834:23609,39835:23617,39836:23622,39837:23630,39838:23635,39839:23632,39840:23631,39841:23409,39842:23660,39843:23662,39844:20066,39845:23670,39846:23673,39847:23692,39848:23697,39849:23700,39850:22939,39851:23723,39852:23739,39853:23734,39854:23740,39855:23735,39856:23749,39857:23742,39858:23751,39859:23769,39860:23785,39861:23805,39862:23802,39863:23789,39864:23948,39865:23786,39866:23819,39867:23829,39868:23831,39869:23900,39870:23839,39871:23835,39872:23825,39873:23828,39874:23842,39875:23834,39876:23833,39877:23832,39878:23884,39879:23890,39880:23886,39881:23883,39882:23916,39883:23923,39884:23926,39885:23943,39886:23940,39887:23938,39888:23970,39889:23965,39890:23980,39891:23982,39892:23997,39893:23952,39894:23991,39895:23996,39896:24009,39897:24013,39898:24019,39899:24018,39900:24022,39901:24027,39902:24043,39903:24050,39904:24053,39905:24075,39906:24090,39907:24089,39908:24081,39909:24091,39910:24118,39911:24119,39912:24132,39913:24131,39914:24128,39915:24142,39916:24151,39917:24148,39918:24159,39919:24162,39920:24164,39921:24135,39922:24181,39923:24182,39924:24186,39925:40636,39926:24191,39927:24224,39928:24257,39929:24258,39930:24264,39931:24272,39932:24271,4e4:24278,40001:24291,40002:24285,40003:24282,40004:24283,40005:24290,40006:24289,40007:24296,40008:24297,40009:24300,40010:24305,40011:24307,40012:24304,40013:24308,40014:24312,40015:24318,40016:24323,40017:24329,40018:24413,40019:24412,40020:24331,40021:24337,40022:24342,40023:24361,40024:24365,40025:24376,40026:24385,40027:24392,40028:24396,40029:24398,40030:24367,40031:24401,40032:24406,40033:24407,40034:24409,40035:24417,40036:24429,40037:24435,40038:24439,40039:24451,40040:24450,40041:24447,40042:24458,40043:24456,40044:24465,40045:24455,40046:24478,40047:24473,40048:24472,40049:24480,40050:24488,40051:24493,40052:24508,40053:24534,40054:24571,40055:24548,40056:24568,40057:24561,40058:24541,40059:24755,40060:24575,40061:24609,40062:24672,40064:24601,40065:24592,40066:24617,40067:24590,40068:24625,40069:24603,40070:24597,40071:24619,40072:24614,40073:24591,40074:24634,40075:24666,40076:24641,40077:24682,40078:24695,40079:24671,40080:24650,40081:24646,40082:24653,40083:24675,40084:24643,40085:24676,40086:24642,40087:24684,40088:24683,40089:24665,40090:24705,40091:24717,40092:24807,40093:24707,40094:24730,40095:24708,40096:24731,40097:24726,40098:24727,40099:24722,40100:24743,40101:24715,40102:24801,40103:24760,40104:24800,40105:24787,40106:24756,40107:24560,40108:24765,40109:24774,40110:24757,40111:24792,40112:24909,40113:24853,40114:24838,40115:24822,40116:24823,40117:24832,40118:24820,40119:24826,40120:24835,40121:24865,40122:24827,40123:24817,40124:24845,40125:24846,40126:24903,40127:24894,40128:24872,40129:24871,40130:24906,40131:24895,40132:24892,40133:24876,40134:24884,40135:24893,40136:24898,40137:24900,40138:24947,40139:24951,40140:24920,40141:24921,40142:24922,40143:24939,40144:24948,40145:24943,40146:24933,40147:24945,40148:24927,40149:24925,40150:24915,40151:24949,40152:24985,40153:24982,40154:24967,40155:25004,40156:24980,40157:24986,40158:24970,40159:24977,40160:25003,40161:25006,40162:25036,40163:25034,40164:25033,40165:25079,40166:25032,40167:25027,40168:25030,40169:25018,40170:25035,40171:32633,40172:25037,40173:25062,40174:25059,40175:25078,40176:25082,40177:25076,40178:25087,40179:25085,40180:25084,40181:25086,40182:25088,40183:25096,40184:25097,40185:25101,40186:25100,40187:25108,40188:25115,40256:25118,40257:25121,40258:25130,40259:25134,40260:25136,40261:25138,40262:25139,40263:25153,40264:25166,40265:25182,40266:25187,40267:25179,40268:25184,40269:25192,40270:25212,40271:25218,40272:25225,40273:25214,40274:25234,40275:25235,40276:25238,40277:25300,40278:25219,40279:25236,40280:25303,40281:25297,40282:25275,40283:25295,40284:25343,40285:25286,40286:25812,40287:25288,40288:25308,40289:25292,40290:25290,40291:25282,40292:25287,40293:25243,40294:25289,40295:25356,40296:25326,40297:25329,40298:25383,40299:25346,40300:25352,40301:25327,40302:25333,40303:25424,40304:25406,40305:25421,40306:25628,40307:25423,40308:25494,40309:25486,40310:25472,40311:25515,40312:25462,40313:25507,40314:25487,40315:25481,40316:25503,40317:25525,40318:25451,40320:25449,40321:25534,40322:25577,40323:25536,40324:25542,40325:25571,40326:25545,40327:25554,40328:25590,40329:25540,40330:25622,40331:25652,40332:25606,40333:25619,40334:25638,40335:25654,40336:25885,40337:25623,40338:25640,40339:25615,40340:25703,40341:25711,40342:25718,40343:25678,40344:25898,40345:25749,40346:25747,40347:25765,40348:25769,40349:25736,40350:25788,40351:25818,40352:25810,40353:25797,40354:25799,40355:25787,40356:25816,40357:25794,40358:25841,40359:25831,40360:33289,40361:25824,40362:25825,40363:25260,40364:25827,40365:25839,40366:25900,40367:25846,40368:25844,40369:25842,40370:25850,40371:25856,40372:25853,40373:25880,40374:25884,40375:25861,40376:25892,40377:25891,40378:25899,40379:25908,40380:25909,40381:25911,40382:25910,40383:25912,40384:30027,40385:25928,40386:25942,40387:25941,40388:25933,40389:25944,40390:25950,40391:25949,40392:25970,40393:25976,40394:25986,40395:25987,40396:35722,40397:26011,40398:26015,40399:26027,40400:26039,40401:26051,40402:26054,40403:26049,40404:26052,40405:26060,40406:26066,40407:26075,40408:26073,40409:26080,40410:26081,40411:26097,40412:26482,40413:26122,40414:26115,40415:26107,40416:26483,40417:26165,40418:26166,40419:26164,40420:26140,40421:26191,40422:26180,40423:26185,40424:26177,40425:26206,40426:26205,40427:26212,40428:26215,40429:26216,40430:26207,40431:26210,40432:26224,40433:26243,40434:26248,40435:26254,40436:26249,40437:26244,40438:26264,40439:26269,40440:26305,40441:26297,40442:26313,40443:26302,40444:26300,40512:26308,40513:26296,40514:26326,40515:26330,40516:26336,40517:26175,40518:26342,40519:26345,40520:26352,40521:26357,40522:26359,40523:26383,40524:26390,40525:26398,40526:26406,40527:26407,40528:38712,40529:26414,40530:26431,40531:26422,40532:26433,40533:26424,40534:26423,40535:26438,40536:26462,40537:26464,40538:26457,40539:26467,40540:26468,40541:26505,40542:26480,40543:26537,40544:26492,40545:26474,40546:26508,40547:26507,40548:26534,40549:26529,40550:26501,40551:26551,40552:26607,40553:26548,40554:26604,40555:26547,40556:26601,40557:26552,40558:26596,40559:26590,40560:26589,40561:26594,40562:26606,40563:26553,40564:26574,40565:26566,40566:26599,40567:27292,40568:26654,40569:26694,40570:26665,40571:26688,40572:26701,40573:26674,40574:26702,40576:26803,40577:26667,40578:26713,40579:26723,40580:26743,40581:26751,40582:26783,40583:26767,40584:26797,40585:26772,40586:26781,40587:26779,40588:26755,40589:27310,40590:26809,40591:26740,40592:26805,40593:26784,40594:26810,40595:26895,40596:26765,40597:26750,40598:26881,40599:26826,40600:26888,40601:26840,40602:26914,40603:26918,40604:26849,40605:26892,40606:26829,40607:26836,40608:26855,40609:26837,40610:26934,40611:26898,40612:26884,40613:26839,40614:26851,40615:26917,40616:26873,40617:26848,40618:26863,40619:26920,40620:26922,40621:26906,40622:26915,40623:26913,40624:26822,40625:27001,40626:26999,40627:26972,40628:27e3,40629:26987,40630:26964,40631:27006,40632:26990,40633:26937,40634:26996,40635:26941,40636:26969,40637:26928,40638:26977,40639:26974,40640:26973,40641:27009,40642:26986,40643:27058,40644:27054,40645:27088,40646:27071,40647:27073,40648:27091,40649:27070,40650:27086,40651:23528,40652:27082,40653:27101,40654:27067,40655:27075,40656:27047,40657:27182,40658:27025,40659:27040,40660:27036,40661:27029,40662:27060,40663:27102,40664:27112,40665:27138,40666:27163,40667:27135,40668:27402,40669:27129,40670:27122,40671:27111,40672:27141,40673:27057,40674:27166,40675:27117,40676:27156,40677:27115,40678:27146,40679:27154,40680:27329,40681:27171,40682:27155,40683:27204,40684:27148,40685:27250,40686:27190,40687:27256,40688:27207,40689:27234,40690:27225,40691:27238,40692:27208,40693:27192,40694:27170,40695:27280,40696:27277,40697:27296,40698:27268,40699:27298,40700:27299,40768:27287,40769:34327,40770:27323,40771:27331,40772:27330,40773:27320,40774:27315,40775:27308,40776:27358,40777:27345,40778:27359,40779:27306,40780:27354,40781:27370,40782:27387,40783:27397,40784:34326,40785:27386,40786:27410,40787:27414,40788:39729,40789:27423,40790:27448,40791:27447,40792:30428,40793:27449,40794:39150,40795:27463,40796:27459,40797:27465,40798:27472,40799:27481,40800:27476,40801:27483,40802:27487,40803:27489,40804:27512,40805:27513,40806:27519,40807:27520,40808:27524,40809:27523,40810:27533,40811:27544,40812:27541,40813:27550,40814:27556,40815:27562,40816:27563,40817:27567,40818:27570,40819:27569,40820:27571,40821:27575,40822:27580,40823:27590,40824:27595,40825:27603,40826:27615,40827:27628,40828:27627,40829:27635,40830:27631,40832:40638,40833:27656,40834:27667,40835:27668,40836:27675,40837:27684,40838:27683,40839:27742,40840:27733,40841:27746,40842:27754,40843:27778,40844:27789,40845:27802,40846:27777,40847:27803,40848:27774,40849:27752,40850:27763,40851:27794,40852:27792,40853:27844,40854:27889,40855:27859,40856:27837,40857:27863,40858:27845,40859:27869,40860:27822,40861:27825,40862:27838,40863:27834,40864:27867,40865:27887,40866:27865,40867:27882,40868:27935,40869:34893,40870:27958,40871:27947,40872:27965,40873:27960,40874:27929,40875:27957,40876:27955,40877:27922,40878:27916,40879:28003,40880:28051,40881:28004,40882:27994,40883:28025,40884:27993,40885:28046,40886:28053,40887:28644,40888:28037,40889:28153,40890:28181,40891:28170,40892:28085,40893:28103,40894:28134,40895:28088,40896:28102,40897:28140,40898:28126,40899:28108,40900:28136,40901:28114,40902:28101,40903:28154,40904:28121,40905:28132,40906:28117,40907:28138,40908:28142,40909:28205,40910:28270,40911:28206,40912:28185,40913:28274,40914:28255,40915:28222,40916:28195,40917:28267,40918:28203,40919:28278,40920:28237,40921:28191,40922:28227,40923:28218,40924:28238,40925:28196,40926:28415,40927:28189,40928:28216,40929:28290,40930:28330,40931:28312,40932:28361,40933:28343,40934:28371,40935:28349,40936:28335,40937:28356,40938:28338,40939:28372,40940:28373,40941:28303,40942:28325,40943:28354,40944:28319,40945:28481,40946:28433,40947:28748,40948:28396,40949:28408,40950:28414,40951:28479,40952:28402,40953:28465,40954:28399,40955:28466,40956:28364,161:65377,162:65378,163:65379,164:65380,165:65381,166:65382,167:65383,168:65384,169:65385,170:65386,171:65387,172:65388,173:65389,174:65390,175:65391,176:65392,177:65393,178:65394,179:65395,180:65396,181:65397,182:65398,183:65399,184:65400,185:65401,186:65402,187:65403,188:65404,189:65405,190:65406,191:65407,192:65408,193:65409,194:65410,195:65411,196:65412,197:65413,198:65414,199:65415,200:65416,201:65417,202:65418,203:65419,204:65420,205:65421,206:65422,207:65423,208:65424,209:65425,210:65426,211:65427,212:65428,213:65429,214:65430,215:65431,216:65432,217:65433,218:65434,219:65435,220:65436,221:65437,222:65438,223:65439,57408:28478,57409:28435,57410:28407,57411:28550,57412:28538,57413:28536,57414:28545,57415:28544,57416:28527,57417:28507,57418:28659,57419:28525,57420:28546,57421:28540,57422:28504,57423:28558,57424:28561,57425:28610,57426:28518,57427:28595,57428:28579,57429:28577,57430:28580,57431:28601,57432:28614,57433:28586,57434:28639,57435:28629,57436:28652,57437:28628,57438:28632,57439:28657,57440:28654,57441:28635,57442:28681,57443:28683,57444:28666,57445:28689,57446:28673,57447:28687,57448:28670,57449:28699,57450:28698,57451:28532,57452:28701,57453:28696,57454:28703,57455:28720,57456:28734,57457:28722,57458:28753,57459:28771,57460:28825,57461:28818,57462:28847,57463:28913,57464:28844,57465:28856,57466:28851,57467:28846,57468:28895,57469:28875,57470:28893,57472:28889,57473:28937,57474:28925,57475:28956,57476:28953,57477:29029,57478:29013,57479:29064,57480:29030,57481:29026,57482:29004,57483:29014,57484:29036,57485:29071,57486:29179,57487:29060,57488:29077,57489:29096,57490:29100,57491:29143,57492:29113,57493:29118,57494:29138,57495:29129,57496:29140,57497:29134,57498:29152,57499:29164,57500:29159,57501:29173,57502:29180,57503:29177,57504:29183,57505:29197,57506:29200,57507:29211,57508:29224,57509:29229,57510:29228,57511:29232,57512:29234,57513:29243,57514:29244,57515:29247,57516:29248,57517:29254,57518:29259,57519:29272,57520:29300,57521:29310,57522:29314,57523:29313,57524:29319,57525:29330,57526:29334,57527:29346,57528:29351,57529:29369,57530:29362,57531:29379,57532:29382,57533:29380,57534:29390,57535:29394,57536:29410,57537:29408,57538:29409,57539:29433,57540:29431,57541:20495,57542:29463,57543:29450,57544:29468,57545:29462,57546:29469,57547:29492,57548:29487,57549:29481,57550:29477,57551:29502,57552:29518,57553:29519,57554:40664,57555:29527,57556:29546,57557:29544,57558:29552,57559:29560,57560:29557,57561:29563,57562:29562,57563:29640,57564:29619,57565:29646,57566:29627,57567:29632,57568:29669,57569:29678,57570:29662,57571:29858,57572:29701,57573:29807,57574:29733,57575:29688,57576:29746,57577:29754,57578:29781,57579:29759,57580:29791,57581:29785,57582:29761,57583:29788,57584:29801,57585:29808,57586:29795,57587:29802,57588:29814,57589:29822,57590:29835,57591:29854,57592:29863,57593:29898,57594:29903,57595:29908,57596:29681,57664:29920,57665:29923,57666:29927,57667:29929,57668:29934,57669:29938,57670:29936,57671:29937,57672:29944,57673:29943,57674:29956,57675:29955,57676:29957,57677:29964,57678:29966,57679:29965,57680:29973,57681:29971,57682:29982,57683:29990,57684:29996,57685:30012,57686:30020,57687:30029,57688:30026,57689:30025,57690:30043,57691:30022,57692:30042,57693:30057,57694:30052,57695:30055,57696:30059,57697:30061,57698:30072,57699:30070,57700:30086,57701:30087,57702:30068,57703:30090,57704:30089,57705:30082,57706:30100,57707:30106,57708:30109,57709:30117,57710:30115,57711:30146,57712:30131,57713:30147,57714:30133,57715:30141,57716:30136,57717:30140,57718:30129,57719:30157,57720:30154,57721:30162,57722:30169,57723:30179,57724:30174,57725:30206,57726:30207,57728:30204,57729:30209,57730:30192,57731:30202,57732:30194,57733:30195,57734:30219,57735:30221,57736:30217,57737:30239,57738:30247,57739:30240,57740:30241,57741:30242,57742:30244,57743:30260,57744:30256,57745:30267,57746:30279,57747:30280,57748:30278,57749:30300,57750:30296,57751:30305,57752:30306,57753:30312,57754:30313,57755:30314,57756:30311,57757:30316,57758:30320,57759:30322,57760:30326,57761:30328,57762:30332,57763:30336,57764:30339,57765:30344,57766:30347,57767:30350,57768:30358,57769:30355,57770:30361,57771:30362,57772:30384,57773:30388,57774:30392,57775:30393,57776:30394,57777:30402,57778:30413,57779:30422,57780:30418,57781:30430,57782:30433,57783:30437,57784:30439,57785:30442,57786:34351,57787:30459,57788:30472,57789:30471,57790:30468,57791:30505,57792:30500,57793:30494,57794:30501,57795:30502,57796:30491,57797:30519,57798:30520,57799:30535,57800:30554,57801:30568,57802:30571,57803:30555,57804:30565,57805:30591,57806:30590,57807:30585,57808:30606,57809:30603,57810:30609,57811:30624,57812:30622,57813:30640,57814:30646,57815:30649,57816:30655,57817:30652,57818:30653,57819:30651,57820:30663,57821:30669,57822:30679,57823:30682,57824:30684,57825:30691,57826:30702,57827:30716,57828:30732,57829:30738,57830:31014,57831:30752,57832:31018,57833:30789,57834:30862,57835:30836,57836:30854,57837:30844,57838:30874,57839:30860,57840:30883,57841:30901,57842:30890,57843:30895,57844:30929,57845:30918,57846:30923,57847:30932,57848:30910,57849:30908,57850:30917,57851:30922,57852:30956,57920:30951,57921:30938,57922:30973,57923:30964,57924:30983,57925:30994,57926:30993,57927:31001,57928:31020,57929:31019,57930:31040,57931:31072,57932:31063,57933:31071,57934:31066,57935:31061,57936:31059,57937:31098,57938:31103,57939:31114,57940:31133,57941:31143,57942:40779,57943:31146,57944:31150,57945:31155,57946:31161,57947:31162,57948:31177,57949:31189,57950:31207,57951:31212,57952:31201,57953:31203,57954:31240,57955:31245,57956:31256,57957:31257,57958:31264,57959:31263,57960:31104,57961:31281,57962:31291,57963:31294,57964:31287,57965:31299,57966:31319,57967:31305,57968:31329,57969:31330,57970:31337,57971:40861,57972:31344,57973:31353,57974:31357,57975:31368,57976:31383,57977:31381,57978:31384,57979:31382,57980:31401,57981:31432,57982:31408,57984:31414,57985:31429,57986:31428,57987:31423,57988:36995,57989:31431,57990:31434,57991:31437,57992:31439,57993:31445,57994:31443,57995:31449,57996:31450,57997:31453,57998:31457,57999:31458,58e3:31462,58001:31469,58002:31472,58003:31490,58004:31503,58005:31498,58006:31494,58007:31539,58008:31512,58009:31513,58010:31518,58011:31541,58012:31528,58013:31542,58014:31568,58015:31610,58016:31492,58017:31565,58018:31499,58019:31564,58020:31557,58021:31605,58022:31589,58023:31604,58024:31591,58025:31600,58026:31601,58027:31596,58028:31598,58029:31645,58030:31640,58031:31647,58032:31629,58033:31644,58034:31642,58035:31627,58036:31634,58037:31631,58038:31581,58039:31641,58040:31691,58041:31681,58042:31692,58043:31695,58044:31668,58045:31686,58046:31709,58047:31721,58048:31761,58049:31764,58050:31718,58051:31717,58052:31840,58053:31744,58054:31751,58055:31763,58056:31731,58057:31735,58058:31767,58059:31757,58060:31734,58061:31779,58062:31783,58063:31786,58064:31775,58065:31799,58066:31787,58067:31805,58068:31820,58069:31811,58070:31828,58071:31823,58072:31808,58073:31824,58074:31832,58075:31839,58076:31844,58077:31830,58078:31845,58079:31852,58080:31861,58081:31875,58082:31888,58083:31908,58084:31917,58085:31906,58086:31915,58087:31905,58088:31912,58089:31923,58090:31922,58091:31921,58092:31918,58093:31929,58094:31933,58095:31936,58096:31941,58097:31938,58098:31960,58099:31954,58100:31964,58101:31970,58102:39739,58103:31983,58104:31986,58105:31988,58106:31990,58107:31994,58108:32006,58176:32002,58177:32028,58178:32021,58179:32010,58180:32069,58181:32075,58182:32046,58183:32050,58184:32063,58185:32053,58186:32070,58187:32115,58188:32086,58189:32078,58190:32114,58191:32104,58192:32110,58193:32079,58194:32099,58195:32147,58196:32137,58197:32091,58198:32143,58199:32125,58200:32155,58201:32186,58202:32174,58203:32163,58204:32181,58205:32199,58206:32189,58207:32171,58208:32317,58209:32162,58210:32175,58211:32220,58212:32184,58213:32159,58214:32176,58215:32216,58216:32221,58217:32228,58218:32222,58219:32251,58220:32242,58221:32225,58222:32261,58223:32266,58224:32291,58225:32289,58226:32274,58227:32305,58228:32287,58229:32265,58230:32267,58231:32290,58232:32326,58233:32358,58234:32315,58235:32309,58236:32313,58237:32323,58238:32311,58240:32306,58241:32314,58242:32359,58243:32349,58244:32342,58245:32350,58246:32345,58247:32346,58248:32377,58249:32362,58250:32361,58251:32380,58252:32379,58253:32387,58254:32213,58255:32381,58256:36782,58257:32383,58258:32392,58259:32393,58260:32396,58261:32402,58262:32400,58263:32403,58264:32404,58265:32406,58266:32398,58267:32411,58268:32412,58269:32568,58270:32570,58271:32581,58272:32588,58273:32589,58274:32590,58275:32592,58276:32593,58277:32597,58278:32596,58279:32600,58280:32607,58281:32608,58282:32616,58283:32617,58284:32615,58285:32632,58286:32642,58287:32646,58288:32643,58289:32648,58290:32647,58291:32652,58292:32660,58293:32670,58294:32669,58295:32666,58296:32675,58297:32687,58298:32690,58299:32697,58300:32686,58301:32694,58302:32696,58303:35697,58304:32709,58305:32710,58306:32714,58307:32725,58308:32724,58309:32737,58310:32742,58311:32745,58312:32755,58313:32761,58314:39132,58315:32774,58316:32772,58317:32779,58318:32786,58319:32792,58320:32793,58321:32796,58322:32801,58323:32808,58324:32831,58325:32827,58326:32842,58327:32838,58328:32850,58329:32856,58330:32858,58331:32863,58332:32866,58333:32872,58334:32883,58335:32882,58336:32880,58337:32886,58338:32889,58339:32893,58340:32895,58341:32900,58342:32902,58343:32901,58344:32923,58345:32915,58346:32922,58347:32941,58348:20880,58349:32940,58350:32987,58351:32997,58352:32985,58353:32989,58354:32964,58355:32986,58356:32982,58357:33033,58358:33007,58359:33009,58360:33051,58361:33065,58362:33059,58363:33071,58364:33099,58432:38539,58433:33094,58434:33086,58435:33107,58436:33105,58437:33020,58438:33137,58439:33134,58440:33125,58441:33126,58442:33140,58443:33155,58444:33160,58445:33162,58446:33152,58447:33154,58448:33184,58449:33173,58450:33188,58451:33187,58452:33119,58453:33171,58454:33193,58455:33200,58456:33205,58457:33214,58458:33208,58459:33213,58460:33216,58461:33218,58462:33210,58463:33225,58464:33229,58465:33233,58466:33241,58467:33240,58468:33224,58469:33242,58470:33247,58471:33248,58472:33255,58473:33274,58474:33275,58475:33278,58476:33281,58477:33282,58478:33285,58479:33287,58480:33290,58481:33293,58482:33296,58483:33302,58484:33321,58485:33323,58486:33336,58487:33331,58488:33344,58489:33369,58490:33368,58491:33373,58492:33370,58493:33375,58494:33380,58496:33378,58497:33384,58498:33386,58499:33387,58500:33326,58501:33393,58502:33399,58503:33400,58504:33406,58505:33421,58506:33426,58507:33451,58508:33439,58509:33467,58510:33452,58511:33505,58512:33507,58513:33503,58514:33490,58515:33524,58516:33523,58517:33530,58518:33683,58519:33539,58520:33531,58521:33529,58522:33502,58523:33542,58524:33500,58525:33545,58526:33497,58527:33589,58528:33588,58529:33558,58530:33586,58531:33585,58532:33600,58533:33593,58534:33616,58535:33605,58536:33583,58537:33579,58538:33559,58539:33560,58540:33669,58541:33690,58542:33706,58543:33695,58544:33698,58545:33686,58546:33571,58547:33678,58548:33671,58549:33674,58550:33660,58551:33717,58552:33651,58553:33653,58554:33696,58555:33673,58556:33704,58557:33780,58558:33811,58559:33771,58560:33742,58561:33789,58562:33795,58563:33752,58564:33803,58565:33729,58566:33783,58567:33799,58568:33760,58569:33778,58570:33805,58571:33826,58572:33824,58573:33725,58574:33848,58575:34054,58576:33787,58577:33901,58578:33834,58579:33852,58580:34138,58581:33924,58582:33911,58583:33899,58584:33965,58585:33902,58586:33922,58587:33897,58588:33862,58589:33836,58590:33903,58591:33913,58592:33845,58593:33994,58594:33890,58595:33977,58596:33983,58597:33951,58598:34009,58599:33997,58600:33979,58601:34010,58602:34e3,58603:33985,58604:33990,58605:34006,58606:33953,58607:34081,58608:34047,58609:34036,58610:34071,58611:34072,58612:34092,58613:34079,58614:34069,58615:34068,58616:34044,58617:34112,58618:34147,58619:34136,58620:34120,58688:34113,58689:34306,58690:34123,58691:34133,58692:34176,58693:34212,58694:34184,58695:34193,58696:34186,58697:34216,58698:34157,58699:34196,58700:34203,58701:34282,58702:34183,58703:34204,58704:34167,58705:34174,58706:34192,58707:34249,58708:34234,58709:34255,58710:34233,58711:34256,58712:34261,58713:34269,58714:34277,58715:34268,58716:34297,58717:34314,58718:34323,58719:34315,58720:34302,58721:34298,58722:34310,58723:34338,58724:34330,58725:34352,58726:34367,58727:34381,58728:20053,58729:34388,58730:34399,58731:34407,58732:34417,58733:34451,58734:34467,58735:34473,58736:34474,58737:34443,58738:34444,58739:34486,58740:34479,58741:34500,58742:34502,58743:34480,58744:34505,58745:34851,58746:34475,58747:34516,58748:34526,58749:34537,58750:34540,58752:34527,58753:34523,58754:34543,58755:34578,58756:34566,58757:34568,58758:34560,58759:34563,58760:34555,58761:34577,58762:34569,58763:34573,58764:34553,58765:34570,58766:34612,58767:34623,58768:34615,58769:34619,58770:34597,58771:34601,58772:34586,58773:34656,58774:34655,58775:34680,58776:34636,58777:34638,58778:34676,58779:34647,58780:34664,58781:34670,58782:34649,58783:34643,58784:34659,58785:34666,58786:34821,58787:34722,58788:34719,58789:34690,58790:34735,58791:34763,58792:34749,58793:34752,58794:34768,58795:38614,58796:34731,58797:34756,58798:34739,58799:34759,58800:34758,58801:34747,58802:34799,58803:34802,58804:34784,58805:34831,58806:34829,58807:34814,58808:34806,58809:34807,58810:34830,58811:34770,58812:34833,58813:34838,58814:34837,58815:34850,58816:34849,58817:34865,58818:34870,58819:34873,58820:34855,58821:34875,58822:34884,58823:34882,58824:34898,58825:34905,58826:34910,58827:34914,58828:34923,58829:34945,58830:34942,58831:34974,58832:34933,58833:34941,58834:34997,58835:34930,58836:34946,58837:34967,58838:34962,58839:34990,58840:34969,58841:34978,58842:34957,58843:34980,58844:34992,58845:35007,58846:34993,58847:35011,58848:35012,58849:35028,58850:35032,58851:35033,58852:35037,58853:35065,58854:35074,58855:35068,58856:35060,58857:35048,58858:35058,58859:35076,58860:35084,58861:35082,58862:35091,58863:35139,58864:35102,58865:35109,58866:35114,58867:35115,58868:35137,58869:35140,58870:35131,58871:35126,58872:35128,58873:35148,58874:35101,58875:35168,58876:35166,58944:35174,58945:35172,58946:35181,58947:35178,58948:35183,58949:35188,58950:35191,58951:35198,58952:35203,58953:35208,58954:35210,58955:35219,58956:35224,58957:35233,58958:35241,58959:35238,58960:35244,58961:35247,58962:35250,58963:35258,58964:35261,58965:35263,58966:35264,58967:35290,58968:35292,58969:35293,58970:35303,58971:35316,58972:35320,58973:35331,58974:35350,58975:35344,58976:35340,58977:35355,58978:35357,58979:35365,58980:35382,58981:35393,58982:35419,58983:35410,58984:35398,58985:35400,58986:35452,58987:35437,58988:35436,58989:35426,58990:35461,58991:35458,58992:35460,58993:35496,58994:35489,58995:35473,58996:35493,58997:35494,58998:35482,58999:35491,59e3:35524,59001:35533,59002:35522,59003:35546,59004:35563,59005:35571,59006:35559,59008:35556,59009:35569,59010:35604,59011:35552,59012:35554,59013:35575,59014:35550,59015:35547,59016:35596,59017:35591,59018:35610,59019:35553,59020:35606,59021:35600,59022:35607,59023:35616,59024:35635,59025:38827,59026:35622,59027:35627,59028:35646,59029:35624,59030:35649,59031:35660,59032:35663,59033:35662,59034:35657,59035:35670,59036:35675,59037:35674,59038:35691,59039:35679,59040:35692,59041:35695,59042:35700,59043:35709,59044:35712,59045:35724,59046:35726,59047:35730,59048:35731,59049:35734,59050:35737,59051:35738,59052:35898,59053:35905,59054:35903,59055:35912,59056:35916,59057:35918,59058:35920,59059:35925,59060:35938,59061:35948,59062:35960,59063:35962,59064:35970,59065:35977,59066:35973,59067:35978,59068:35981,59069:35982,59070:35988,59071:35964,59072:35992,59073:25117,59074:36013,59075:36010,59076:36029,59077:36018,59078:36019,59079:36014,59080:36022,59081:36040,59082:36033,59083:36068,59084:36067,59085:36058,59086:36093,59087:36090,59088:36091,59089:36100,59090:36101,59091:36106,59092:36103,59093:36111,59094:36109,59095:36112,59096:40782,59097:36115,59098:36045,59099:36116,59100:36118,59101:36199,59102:36205,59103:36209,59104:36211,59105:36225,59106:36249,59107:36290,59108:36286,59109:36282,59110:36303,59111:36314,59112:36310,59113:36300,59114:36315,59115:36299,59116:36330,59117:36331,59118:36319,59119:36323,59120:36348,59121:36360,59122:36361,59123:36351,59124:36381,59125:36382,59126:36368,59127:36383,59128:36418,59129:36405,59130:36400,59131:36404,59132:36426,59200:36423,59201:36425,59202:36428,59203:36432,59204:36424,59205:36441,59206:36452,59207:36448,59208:36394,59209:36451,59210:36437,59211:36470,59212:36466,59213:36476,59214:36481,59215:36487,59216:36485,59217:36484,59218:36491,59219:36490,59220:36499,59221:36497,59222:36500,59223:36505,59224:36522,59225:36513,59226:36524,59227:36528,59228:36550,59229:36529,59230:36542,59231:36549,59232:36552,59233:36555,59234:36571,59235:36579,59236:36604,59237:36603,59238:36587,59239:36606,59240:36618,59241:36613,59242:36629,59243:36626,59244:36633,59245:36627,59246:36636,59247:36639,59248:36635,59249:36620,59250:36646,59251:36659,59252:36667,59253:36665,59254:36677,59255:36674,59256:36670,59257:36684,59258:36681,59259:36678,59260:36686,59261:36695,59262:36700,59264:36706,59265:36707,59266:36708,59267:36764,59268:36767,59269:36771,59270:36781,59271:36783,59272:36791,59273:36826,59274:36837,59275:36834,59276:36842,59277:36847,59278:36999,59279:36852,59280:36869,59281:36857,59282:36858,59283:36881,59284:36885,59285:36897,59286:36877,59287:36894,59288:36886,59289:36875,59290:36903,59291:36918,59292:36917,59293:36921,59294:36856,59295:36943,59296:36944,59297:36945,59298:36946,59299:36878,59300:36937,59301:36926,59302:36950,59303:36952,59304:36958,59305:36968,59306:36975,59307:36982,59308:38568,59309:36978,59310:36994,59311:36989,59312:36993,59313:36992,59314:37002,59315:37001,59316:37007,59317:37032,59318:37039,59319:37041,59320:37045,59321:37090,59322:37092,59323:25160,59324:37083,59325:37122,59326:37138,59327:37145,59328:37170,59329:37168,59330:37194,59331:37206,59332:37208,59333:37219,59334:37221,59335:37225,59336:37235,59337:37234,59338:37259,59339:37257,59340:37250,59341:37282,59342:37291,59343:37295,59344:37290,59345:37301,59346:37300,59347:37306,59348:37312,59349:37313,59350:37321,59351:37323,59352:37328,59353:37334,59354:37343,59355:37345,59356:37339,59357:37372,59358:37365,59359:37366,59360:37406,59361:37375,59362:37396,59363:37420,59364:37397,59365:37393,59366:37470,59367:37463,59368:37445,59369:37449,59370:37476,59371:37448,59372:37525,59373:37439,59374:37451,59375:37456,59376:37532,59377:37526,59378:37523,59379:37531,59380:37466,59381:37583,59382:37561,59383:37559,59384:37609,59385:37647,59386:37626,59387:37700,59388:37678,59456:37657,59457:37666,59458:37658,59459:37667,59460:37690,59461:37685,59462:37691,59463:37724,59464:37728,59465:37756,59466:37742,59467:37718,59468:37808,59469:37804,59470:37805,59471:37780,59472:37817,59473:37846,59474:37847,59475:37864,59476:37861,59477:37848,59478:37827,59479:37853,59480:37840,59481:37832,59482:37860,59483:37914,59484:37908,59485:37907,59486:37891,59487:37895,59488:37904,59489:37942,59490:37931,59491:37941,59492:37921,59493:37946,59494:37953,59495:37970,59496:37956,59497:37979,59498:37984,59499:37986,59500:37982,59501:37994,59502:37417,59503:38e3,59504:38005,59505:38007,59506:38013,59507:37978,59508:38012,59509:38014,59510:38017,59511:38015,59512:38274,59513:38279,59514:38282,59515:38292,59516:38294,59517:38296,59518:38297,59520:38304,59521:38312,59522:38311,59523:38317,59524:38332,59525:38331,59526:38329,59527:38334,59528:38346,59529:28662,59530:38339,59531:38349,59532:38348,59533:38357,59534:38356,59535:38358,59536:38364,59537:38369,59538:38373,59539:38370,59540:38433,59541:38440,59542:38446,59543:38447,59544:38466,59545:38476,59546:38479,59547:38475,59548:38519,59549:38492,59550:38494,59551:38493,59552:38495,59553:38502,59554:38514,59555:38508,59556:38541,59557:38552,59558:38549,59559:38551,59560:38570,59561:38567,59562:38577,59563:38578,59564:38576,59565:38580,59566:38582,59567:38584,59568:38585,59569:38606,59570:38603,59571:38601,59572:38605,59573:35149,59574:38620,59575:38669,59576:38613,59577:38649,59578:38660,59579:38662,59580:38664,59581:38675,59582:38670,59583:38673,59584:38671,59585:38678,59586:38681,59587:38692,59588:38698,59589:38704,59590:38713,59591:38717,59592:38718,59593:38724,59594:38726,59595:38728,59596:38722,59597:38729,59598:38748,59599:38752,59600:38756,59601:38758,59602:38760,59603:21202,59604:38763,59605:38769,59606:38777,59607:38789,59608:38780,59609:38785,59610:38778,59611:38790,59612:38795,59613:38799,59614:38800,59615:38812,59616:38824,59617:38822,59618:38819,59619:38835,59620:38836,59621:38851,59622:38854,59623:38856,59624:38859,59625:38876,59626:38893,59627:40783,59628:38898,59629:31455,59630:38902,59631:38901,59632:38927,59633:38924,59634:38968,59635:38948,59636:38945,59637:38967,59638:38973,59639:38982,59640:38991,59641:38987,59642:39019,59643:39023,59644:39024,59712:39025,59713:39028,59714:39027,59715:39082,59716:39087,59717:39089,59718:39094,59719:39108,59720:39107,59721:39110,59722:39145,59723:39147,59724:39171,59725:39177,59726:39186,59727:39188,59728:39192,59729:39201,59730:39197,59731:39198,59732:39204,59733:39200,59734:39212,59735:39214,59736:39229,59737:39230,59738:39234,59739:39241,59740:39237,59741:39248,59742:39243,59743:39249,59744:39250,59745:39244,59746:39253,59747:39319,59748:39320,59749:39333,59750:39341,59751:39342,59752:39356,59753:39391,59754:39387,59755:39389,59756:39384,59757:39377,59758:39405,59759:39406,59760:39409,59761:39410,59762:39419,59763:39416,59764:39425,59765:39439,59766:39429,59767:39394,59768:39449,59769:39467,59770:39479,59771:39493,59772:39490,59773:39488,59774:39491,59776:39486,59777:39509,59778:39501,59779:39515,59780:39511,59781:39519,59782:39522,59783:39525,59784:39524,59785:39529,59786:39531,59787:39530,59788:39597,59789:39600,59790:39612,59791:39616,59792:39631,59793:39633,59794:39635,59795:39636,59796:39646,59797:39647,59798:39650,59799:39651,59800:39654,59801:39663,59802:39659,59803:39662,59804:39668,59805:39665,59806:39671,59807:39675,59808:39686,59809:39704,59810:39706,59811:39711,59812:39714,59813:39715,59814:39717,59815:39719,59816:39720,59817:39721,59818:39722,59819:39726,59820:39727,59821:39730,59822:39748,59823:39747,59824:39759,59825:39757,59826:39758,59827:39761,59828:39768,59829:39796,59830:39827,59831:39811,59832:39825,59833:39830,59834:39831,59835:39839,59836:39840,59837:39848,59838:39860,59839:39872,59840:39882,59841:39865,59842:39878,59843:39887,59844:39889,59845:39890,59846:39907,59847:39906,59848:39908,59849:39892,59850:39905,59851:39994,59852:39922,59853:39921,59854:39920,59855:39957,59856:39956,59857:39945,59858:39955,59859:39948,59860:39942,59861:39944,59862:39954,59863:39946,59864:39940,59865:39982,59866:39963,59867:39973,59868:39972,59869:39969,59870:39984,59871:40007,59872:39986,59873:40006,59874:39998,59875:40026,59876:40032,59877:40039,59878:40054,59879:40056,59880:40167,59881:40172,59882:40176,59883:40201,59884:40200,59885:40171,59886:40195,59887:40198,59888:40234,59889:40230,59890:40367,59891:40227,59892:40223,59893:40260,59894:40213,59895:40210,59896:40257,59897:40255,59898:40254,59899:40262,59900:40264,59968:40285,59969:40286,59970:40292,59971:40273,59972:40272,59973:40281,59974:40306,59975:40329,59976:40327,59977:40363,59978:40303,59979:40314,59980:40346,59981:40356,59982:40361,59983:40370,59984:40388,59985:40385,59986:40379,59987:40376,59988:40378,59989:40390,59990:40399,59991:40386,59992:40409,59993:40403,59994:40440,59995:40422,59996:40429,59997:40431,59998:40445,59999:40474,6e4:40475,60001:40478,60002:40565,60003:40569,60004:40573,60005:40577,60006:40584,60007:40587,60008:40588,60009:40594,60010:40597,60011:40593,60012:40605,60013:40613,60014:40617,60015:40632,60016:40618,60017:40621,60018:38753,60019:40652,60020:40654,60021:40655,60022:40656,60023:40660,60024:40668,60025:40670,60026:40669,60027:40672,60028:40677,60029:40680,60030:40687,60032:40692,60033:40694,60034:40695,60035:40697,60036:40699,60037:40700,60038:40701,60039:40711,60040:40712,60041:30391,60042:40725,60043:40737,60044:40748,60045:40766,60046:40778,60047:40786,60048:40788,60049:40803,60050:40799,60051:40800,60052:40801,60053:40806,60054:40807,60055:40812,60056:40810,60057:40823,60058:40818,60059:40822,60060:40853,60061:40860,60062:40864,60063:22575,60064:27079,60065:36953,60066:29796,60067:20956,60068:29081}}),(function(a,i,s){Object.defineProperty(i,"__esModule",{value:!0});var x=s(1),u=s(2);function f(p,y,C,A){var b;y.degree()<C.degree()&&(b=[C,y],y=b[0],C=b[1]);for(var D=y,F=C,O=p.zero,w=p.one;F.degree()>=A/2;){var _=D,R=O;if(D=F,O=w,D.isZero())return null;F=_;for(var k=p.zero,T=D.getCoefficient(D.degree()),S=p.inverse(T);F.degree()>=D.degree()&&!F.isZero();){var q=F.degree()-D.degree(),L=p.multiply(F.getCoefficient(F.degree()),S);k=k.addOrSubtract(p.buildMonomial(q,L)),F=F.addOrSubtract(D.multiplyByMonomial(q,L))}if(w=k.multiplyPoly(O).addOrSubtract(R),F.degree()>=D.degree())return null}var X=w.getCoefficient(0);if(X===0)return null;var K=p.inverse(X);return[w.multiply(K),F.multiply(K)]}function d(p,y){var C=y.degree();if(C===1)return[y.getCoefficient(1)];for(var A=new Array(C),b=0,D=1;D<p.size&&b<C;D++)y.evaluateAt(D)===0&&(A[b]=p.inverse(D),b++);return b!==C?null:A}function h(p,y,C){for(var A=C.length,b=new Array(A),D=0;D<A;D++){for(var F=p.inverse(C[D]),O=1,w=0;w<A;w++)D!==w&&(O=p.multiply(O,x.addOrSubtractGF(1,p.multiply(C[w],F))));b[D]=p.multiply(y.evaluateAt(F),p.inverse(O)),p.generatorBase!==0&&(b[D]=p.multiply(b[D],F))}return b}function E(p,y){var C=new Uint8ClampedArray(p.length);C.set(p);for(var A=new x.default(285,256,0),b=new u.default(A,C),D=new Uint8ClampedArray(y),F=!1,O=0;O<y;O++){var w=b.evaluateAt(A.exp(O+A.generatorBase));D[D.length-1-O]=w,w!==0&&(F=!0)}if(!F)return C;var _=new u.default(A,D),R=f(A,A.buildMonomial(y,1),_,y);if(R===null)return null;var k=d(A,R[0]);if(k==null)return null;for(var T=h(A,R[1],k),S=0;S<k.length;S++){var q=C.length-1-A.log(k[S]);if(q<0)return null;C[q]=x.addOrSubtractGF(C[q],T[S])}return C}i.decode=E}),(function(a,i,s){Object.defineProperty(i,"__esModule",{value:!0}),i.VERSIONS=[{infoBits:null,versionNumber:1,alignmentPatternCenters:[],errorCorrectionLevels:[{ecCodewordsPerBlock:7,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:19}]},{ecCodewordsPerBlock:10,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:16}]},{ecCodewordsPerBlock:13,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:13}]},{ecCodewordsPerBlock:17,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:9}]}]},{infoBits:null,versionNumber:2,alignmentPatternCenters:[6,18],errorCorrectionLevels:[{ecCodewordsPerBlock:10,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:34}]},{ecCodewordsPerBlock:16,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:28}]},{ecCodewordsPerBlock:22,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:22}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:16}]}]},{infoBits:null,versionNumber:3,alignmentPatternCenters:[6,22],errorCorrectionLevels:[{ecCodewordsPerBlock:15,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:55}]},{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:44}]},{ecCodewordsPerBlock:18,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:17}]},{ecCodewordsPerBlock:22,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:13}]}]},{infoBits:null,versionNumber:4,alignmentPatternCenters:[6,26],errorCorrectionLevels:[{ecCodewordsPerBlock:20,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:80}]},{ecCodewordsPerBlock:18,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:32}]},{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:24}]},{ecCodewordsPerBlock:16,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:9}]}]},{infoBits:null,versionNumber:5,alignmentPatternCenters:[6,30],errorCorrectionLevels:[{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:108}]},{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:43}]},{ecCodewordsPerBlock:18,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:15},{numBlocks:2,dataCodewordsPerBlock:16}]},{ecCodewordsPerBlock:22,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:11},{numBlocks:2,dataCodewordsPerBlock:12}]}]},{infoBits:null,versionNumber:6,alignmentPatternCenters:[6,34],errorCorrectionLevels:[{ecCodewordsPerBlock:18,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:68}]},{ecCodewordsPerBlock:16,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:27}]},{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:19}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:15}]}]},{infoBits:31892,versionNumber:7,alignmentPatternCenters:[6,22,38],errorCorrectionLevels:[{ecCodewordsPerBlock:20,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:78}]},{ecCodewordsPerBlock:18,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:31}]},{ecCodewordsPerBlock:18,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:14},{numBlocks:4,dataCodewordsPerBlock:15}]},{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:13},{numBlocks:1,dataCodewordsPerBlock:14}]}]},{infoBits:34236,versionNumber:8,alignmentPatternCenters:[6,24,42],errorCorrectionLevels:[{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:97}]},{ecCodewordsPerBlock:22,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:38},{numBlocks:2,dataCodewordsPerBlock:39}]},{ecCodewordsPerBlock:22,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:18},{numBlocks:2,dataCodewordsPerBlock:19}]},{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:14},{numBlocks:2,dataCodewordsPerBlock:15}]}]},{infoBits:39577,versionNumber:9,alignmentPatternCenters:[6,26,46],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:116}]},{ecCodewordsPerBlock:22,ecBlocks:[{numBlocks:3,dataCodewordsPerBlock:36},{numBlocks:2,dataCodewordsPerBlock:37}]},{ecCodewordsPerBlock:20,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:16},{numBlocks:4,dataCodewordsPerBlock:17}]},{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:12},{numBlocks:4,dataCodewordsPerBlock:13}]}]},{infoBits:42195,versionNumber:10,alignmentPatternCenters:[6,28,50],errorCorrectionLevels:[{ecCodewordsPerBlock:18,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:68},{numBlocks:2,dataCodewordsPerBlock:69}]},{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:43},{numBlocks:1,dataCodewordsPerBlock:44}]},{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:6,dataCodewordsPerBlock:19},{numBlocks:2,dataCodewordsPerBlock:20}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:6,dataCodewordsPerBlock:15},{numBlocks:2,dataCodewordsPerBlock:16}]}]},{infoBits:48118,versionNumber:11,alignmentPatternCenters:[6,30,54],errorCorrectionLevels:[{ecCodewordsPerBlock:20,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:81}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:50},{numBlocks:4,dataCodewordsPerBlock:51}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:22},{numBlocks:4,dataCodewordsPerBlock:23}]},{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:3,dataCodewordsPerBlock:12},{numBlocks:8,dataCodewordsPerBlock:13}]}]},{infoBits:51042,versionNumber:12,alignmentPatternCenters:[6,32,58],errorCorrectionLevels:[{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:92},{numBlocks:2,dataCodewordsPerBlock:93}]},{ecCodewordsPerBlock:22,ecBlocks:[{numBlocks:6,dataCodewordsPerBlock:36},{numBlocks:2,dataCodewordsPerBlock:37}]},{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:20},{numBlocks:6,dataCodewordsPerBlock:21}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:7,dataCodewordsPerBlock:14},{numBlocks:4,dataCodewordsPerBlock:15}]}]},{infoBits:55367,versionNumber:13,alignmentPatternCenters:[6,34,62],errorCorrectionLevels:[{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:107}]},{ecCodewordsPerBlock:22,ecBlocks:[{numBlocks:8,dataCodewordsPerBlock:37},{numBlocks:1,dataCodewordsPerBlock:38}]},{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:8,dataCodewordsPerBlock:20},{numBlocks:4,dataCodewordsPerBlock:21}]},{ecCodewordsPerBlock:22,ecBlocks:[{numBlocks:12,dataCodewordsPerBlock:11},{numBlocks:4,dataCodewordsPerBlock:12}]}]},{infoBits:58893,versionNumber:14,alignmentPatternCenters:[6,26,46,66],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:3,dataCodewordsPerBlock:115},{numBlocks:1,dataCodewordsPerBlock:116}]},{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:40},{numBlocks:5,dataCodewordsPerBlock:41}]},{ecCodewordsPerBlock:20,ecBlocks:[{numBlocks:11,dataCodewordsPerBlock:16},{numBlocks:5,dataCodewordsPerBlock:17}]},{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:11,dataCodewordsPerBlock:12},{numBlocks:5,dataCodewordsPerBlock:13}]}]},{infoBits:63784,versionNumber:15,alignmentPatternCenters:[6,26,48,70],errorCorrectionLevels:[{ecCodewordsPerBlock:22,ecBlocks:[{numBlocks:5,dataCodewordsPerBlock:87},{numBlocks:1,dataCodewordsPerBlock:88}]},{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:5,dataCodewordsPerBlock:41},{numBlocks:5,dataCodewordsPerBlock:42}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:5,dataCodewordsPerBlock:24},{numBlocks:7,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:11,dataCodewordsPerBlock:12},{numBlocks:7,dataCodewordsPerBlock:13}]}]},{infoBits:68472,versionNumber:16,alignmentPatternCenters:[6,26,50,74],errorCorrectionLevels:[{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:5,dataCodewordsPerBlock:98},{numBlocks:1,dataCodewordsPerBlock:99}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:7,dataCodewordsPerBlock:45},{numBlocks:3,dataCodewordsPerBlock:46}]},{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:15,dataCodewordsPerBlock:19},{numBlocks:2,dataCodewordsPerBlock:20}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:3,dataCodewordsPerBlock:15},{numBlocks:13,dataCodewordsPerBlock:16}]}]},{infoBits:70749,versionNumber:17,alignmentPatternCenters:[6,30,54,78],errorCorrectionLevels:[{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:107},{numBlocks:5,dataCodewordsPerBlock:108}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:10,dataCodewordsPerBlock:46},{numBlocks:1,dataCodewordsPerBlock:47}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:22},{numBlocks:15,dataCodewordsPerBlock:23}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:14},{numBlocks:17,dataCodewordsPerBlock:15}]}]},{infoBits:76311,versionNumber:18,alignmentPatternCenters:[6,30,56,82],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:5,dataCodewordsPerBlock:120},{numBlocks:1,dataCodewordsPerBlock:121}]},{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:9,dataCodewordsPerBlock:43},{numBlocks:4,dataCodewordsPerBlock:44}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:17,dataCodewordsPerBlock:22},{numBlocks:1,dataCodewordsPerBlock:23}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:14},{numBlocks:19,dataCodewordsPerBlock:15}]}]},{infoBits:79154,versionNumber:19,alignmentPatternCenters:[6,30,58,86],errorCorrectionLevels:[{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:3,dataCodewordsPerBlock:113},{numBlocks:4,dataCodewordsPerBlock:114}]},{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:3,dataCodewordsPerBlock:44},{numBlocks:11,dataCodewordsPerBlock:45}]},{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:17,dataCodewordsPerBlock:21},{numBlocks:4,dataCodewordsPerBlock:22}]},{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:9,dataCodewordsPerBlock:13},{numBlocks:16,dataCodewordsPerBlock:14}]}]},{infoBits:84390,versionNumber:20,alignmentPatternCenters:[6,34,62,90],errorCorrectionLevels:[{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:3,dataCodewordsPerBlock:107},{numBlocks:5,dataCodewordsPerBlock:108}]},{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:3,dataCodewordsPerBlock:41},{numBlocks:13,dataCodewordsPerBlock:42}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:15,dataCodewordsPerBlock:24},{numBlocks:5,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:15,dataCodewordsPerBlock:15},{numBlocks:10,dataCodewordsPerBlock:16}]}]},{infoBits:87683,versionNumber:21,alignmentPatternCenters:[6,28,50,72,94],errorCorrectionLevels:[{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:116},{numBlocks:4,dataCodewordsPerBlock:117}]},{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:17,dataCodewordsPerBlock:42}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:17,dataCodewordsPerBlock:22},{numBlocks:6,dataCodewordsPerBlock:23}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:19,dataCodewordsPerBlock:16},{numBlocks:6,dataCodewordsPerBlock:17}]}]},{infoBits:92361,versionNumber:22,alignmentPatternCenters:[6,26,50,74,98],errorCorrectionLevels:[{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:111},{numBlocks:7,dataCodewordsPerBlock:112}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:17,dataCodewordsPerBlock:46}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:7,dataCodewordsPerBlock:24},{numBlocks:16,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:34,dataCodewordsPerBlock:13}]}]},{infoBits:96236,versionNumber:23,alignmentPatternCenters:[6,30,54,74,102],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:121},{numBlocks:5,dataCodewordsPerBlock:122}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:47},{numBlocks:14,dataCodewordsPerBlock:48}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:11,dataCodewordsPerBlock:24},{numBlocks:14,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:16,dataCodewordsPerBlock:15},{numBlocks:14,dataCodewordsPerBlock:16}]}]},{infoBits:102084,versionNumber:24,alignmentPatternCenters:[6,28,54,80,106],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:6,dataCodewordsPerBlock:117},{numBlocks:4,dataCodewordsPerBlock:118}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:6,dataCodewordsPerBlock:45},{numBlocks:14,dataCodewordsPerBlock:46}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:11,dataCodewordsPerBlock:24},{numBlocks:16,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:30,dataCodewordsPerBlock:16},{numBlocks:2,dataCodewordsPerBlock:17}]}]},{infoBits:102881,versionNumber:25,alignmentPatternCenters:[6,32,58,84,110],errorCorrectionLevels:[{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:8,dataCodewordsPerBlock:106},{numBlocks:4,dataCodewordsPerBlock:107}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:8,dataCodewordsPerBlock:47},{numBlocks:13,dataCodewordsPerBlock:48}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:7,dataCodewordsPerBlock:24},{numBlocks:22,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:22,dataCodewordsPerBlock:15},{numBlocks:13,dataCodewordsPerBlock:16}]}]},{infoBits:110507,versionNumber:26,alignmentPatternCenters:[6,30,58,86,114],errorCorrectionLevels:[{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:10,dataCodewordsPerBlock:114},{numBlocks:2,dataCodewordsPerBlock:115}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:19,dataCodewordsPerBlock:46},{numBlocks:4,dataCodewordsPerBlock:47}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:28,dataCodewordsPerBlock:22},{numBlocks:6,dataCodewordsPerBlock:23}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:33,dataCodewordsPerBlock:16},{numBlocks:4,dataCodewordsPerBlock:17}]}]},{infoBits:110734,versionNumber:27,alignmentPatternCenters:[6,34,62,90,118],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:8,dataCodewordsPerBlock:122},{numBlocks:4,dataCodewordsPerBlock:123}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:22,dataCodewordsPerBlock:45},{numBlocks:3,dataCodewordsPerBlock:46}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:8,dataCodewordsPerBlock:23},{numBlocks:26,dataCodewordsPerBlock:24}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:12,dataCodewordsPerBlock:15},{numBlocks:28,dataCodewordsPerBlock:16}]}]},{infoBits:117786,versionNumber:28,alignmentPatternCenters:[6,26,50,74,98,122],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:3,dataCodewordsPerBlock:117},{numBlocks:10,dataCodewordsPerBlock:118}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:3,dataCodewordsPerBlock:45},{numBlocks:23,dataCodewordsPerBlock:46}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:24},{numBlocks:31,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:11,dataCodewordsPerBlock:15},{numBlocks:31,dataCodewordsPerBlock:16}]}]},{infoBits:119615,versionNumber:29,alignmentPatternCenters:[6,30,54,78,102,126],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:7,dataCodewordsPerBlock:116},{numBlocks:7,dataCodewordsPerBlock:117}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:21,dataCodewordsPerBlock:45},{numBlocks:7,dataCodewordsPerBlock:46}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:23},{numBlocks:37,dataCodewordsPerBlock:24}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:19,dataCodewordsPerBlock:15},{numBlocks:26,dataCodewordsPerBlock:16}]}]},{infoBits:126325,versionNumber:30,alignmentPatternCenters:[6,26,52,78,104,130],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:5,dataCodewordsPerBlock:115},{numBlocks:10,dataCodewordsPerBlock:116}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:19,dataCodewordsPerBlock:47},{numBlocks:10,dataCodewordsPerBlock:48}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:15,dataCodewordsPerBlock:24},{numBlocks:25,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:23,dataCodewordsPerBlock:15},{numBlocks:25,dataCodewordsPerBlock:16}]}]},{infoBits:127568,versionNumber:31,alignmentPatternCenters:[6,30,56,82,108,134],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:13,dataCodewordsPerBlock:115},{numBlocks:3,dataCodewordsPerBlock:116}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:46},{numBlocks:29,dataCodewordsPerBlock:47}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:42,dataCodewordsPerBlock:24},{numBlocks:1,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:23,dataCodewordsPerBlock:15},{numBlocks:28,dataCodewordsPerBlock:16}]}]},{infoBits:133589,versionNumber:32,alignmentPatternCenters:[6,34,60,86,112,138],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:17,dataCodewordsPerBlock:115}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:10,dataCodewordsPerBlock:46},{numBlocks:23,dataCodewordsPerBlock:47}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:10,dataCodewordsPerBlock:24},{numBlocks:35,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:19,dataCodewordsPerBlock:15},{numBlocks:35,dataCodewordsPerBlock:16}]}]},{infoBits:136944,versionNumber:33,alignmentPatternCenters:[6,30,58,86,114,142],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:17,dataCodewordsPerBlock:115},{numBlocks:1,dataCodewordsPerBlock:116}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:14,dataCodewordsPerBlock:46},{numBlocks:21,dataCodewordsPerBlock:47}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:29,dataCodewordsPerBlock:24},{numBlocks:19,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:11,dataCodewordsPerBlock:15},{numBlocks:46,dataCodewordsPerBlock:16}]}]},{infoBits:141498,versionNumber:34,alignmentPatternCenters:[6,34,62,90,118,146],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:13,dataCodewordsPerBlock:115},{numBlocks:6,dataCodewordsPerBlock:116}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:14,dataCodewordsPerBlock:46},{numBlocks:23,dataCodewordsPerBlock:47}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:44,dataCodewordsPerBlock:24},{numBlocks:7,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:59,dataCodewordsPerBlock:16},{numBlocks:1,dataCodewordsPerBlock:17}]}]},{infoBits:145311,versionNumber:35,alignmentPatternCenters:[6,30,54,78,102,126,150],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:12,dataCodewordsPerBlock:121},{numBlocks:7,dataCodewordsPerBlock:122}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:12,dataCodewordsPerBlock:47},{numBlocks:26,dataCodewordsPerBlock:48}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:39,dataCodewordsPerBlock:24},{numBlocks:14,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:22,dataCodewordsPerBlock:15},{numBlocks:41,dataCodewordsPerBlock:16}]}]},{infoBits:150283,versionNumber:36,alignmentPatternCenters:[6,24,50,76,102,128,154],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:6,dataCodewordsPerBlock:121},{numBlocks:14,dataCodewordsPerBlock:122}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:6,dataCodewordsPerBlock:47},{numBlocks:34,dataCodewordsPerBlock:48}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:46,dataCodewordsPerBlock:24},{numBlocks:10,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:15},{numBlocks:64,dataCodewordsPerBlock:16}]}]},{infoBits:152622,versionNumber:37,alignmentPatternCenters:[6,28,54,80,106,132,158],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:17,dataCodewordsPerBlock:122},{numBlocks:4,dataCodewordsPerBlock:123}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:29,dataCodewordsPerBlock:46},{numBlocks:14,dataCodewordsPerBlock:47}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:49,dataCodewordsPerBlock:24},{numBlocks:10,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:24,dataCodewordsPerBlock:15},{numBlocks:46,dataCodewordsPerBlock:16}]}]},{infoBits:158308,versionNumber:38,alignmentPatternCenters:[6,32,58,84,110,136,162],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:122},{numBlocks:18,dataCodewordsPerBlock:123}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:13,dataCodewordsPerBlock:46},{numBlocks:32,dataCodewordsPerBlock:47}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:48,dataCodewordsPerBlock:24},{numBlocks:14,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:42,dataCodewordsPerBlock:15},{numBlocks:32,dataCodewordsPerBlock:16}]}]},{infoBits:161089,versionNumber:39,alignmentPatternCenters:[6,26,54,82,110,138,166],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:20,dataCodewordsPerBlock:117},{numBlocks:4,dataCodewordsPerBlock:118}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:40,dataCodewordsPerBlock:47},{numBlocks:7,dataCodewordsPerBlock:48}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:43,dataCodewordsPerBlock:24},{numBlocks:22,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:10,dataCodewordsPerBlock:15},{numBlocks:67,dataCodewordsPerBlock:16}]}]},{infoBits:167017,versionNumber:40,alignmentPatternCenters:[6,30,58,86,114,142,170],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:19,dataCodewordsPerBlock:118},{numBlocks:6,dataCodewordsPerBlock:119}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:18,dataCodewordsPerBlock:47},{numBlocks:31,dataCodewordsPerBlock:48}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:34,dataCodewordsPerBlock:24},{numBlocks:34,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:20,dataCodewordsPerBlock:15},{numBlocks:61,dataCodewordsPerBlock:16}]}]}]}),(function(a,i,s){Object.defineProperty(i,"__esModule",{value:!0});var x=s(0);function u(E,p,y,C){var A=E.x-p.x+y.x-C.x,b=E.y-p.y+y.y-C.y;if(A===0&&b===0)return{a11:p.x-E.x,a12:p.y-E.y,a13:0,a21:y.x-p.x,a22:y.y-p.y,a23:0,a31:E.x,a32:E.y,a33:1};var D=p.x-y.x,F=C.x-y.x,O=p.y-y.y,w=C.y-y.y,_=D*w-F*O,R=(A*w-F*b)/_,k=(D*b-A*O)/_;return{a11:p.x-E.x+R*p.x,a12:p.y-E.y+R*p.y,a13:R,a21:C.x-E.x+k*C.x,a22:C.y-E.y+k*C.y,a23:k,a31:E.x,a32:E.y,a33:1}}function f(E,p,y,C){var A=u(E,p,y,C);return{a11:A.a22*A.a33-A.a23*A.a32,a12:A.a13*A.a32-A.a12*A.a33,a13:A.a12*A.a23-A.a13*A.a22,a21:A.a23*A.a31-A.a21*A.a33,a22:A.a11*A.a33-A.a13*A.a31,a23:A.a13*A.a21-A.a11*A.a23,a31:A.a21*A.a32-A.a22*A.a31,a32:A.a12*A.a31-A.a11*A.a32,a33:A.a11*A.a22-A.a12*A.a21}}function d(E,p){return{a11:E.a11*p.a11+E.a21*p.a12+E.a31*p.a13,a12:E.a12*p.a11+E.a22*p.a12+E.a32*p.a13,a13:E.a13*p.a11+E.a23*p.a12+E.a33*p.a13,a21:E.a11*p.a21+E.a21*p.a22+E.a31*p.a23,a22:E.a12*p.a21+E.a22*p.a22+E.a32*p.a23,a23:E.a13*p.a21+E.a23*p.a22+E.a33*p.a23,a31:E.a11*p.a31+E.a21*p.a32+E.a31*p.a33,a32:E.a12*p.a31+E.a22*p.a32+E.a32*p.a33,a33:E.a13*p.a31+E.a23*p.a32+E.a33*p.a33}}function h(E,p){for(var y=f({x:3.5,y:3.5},{x:p.dimension-3.5,y:3.5},{x:p.dimension-6.5,y:p.dimension-6.5},{x:3.5,y:p.dimension-3.5}),C=u(p.topLeft,p.topRight,p.alignmentPattern,p.bottomLeft),A=d(C,y),b=x.BitMatrix.createEmpty(p.dimension,p.dimension),D=function(k,T){var S=A.a13*k+A.a23*T+A.a33;return{x:(A.a11*k+A.a21*T+A.a31)/S,y:(A.a12*k+A.a22*T+A.a32)/S}},F=0;F<p.dimension;F++)for(var O=0;O<p.dimension;O++){var w=O+.5,_=F+.5,R=D(w,_);b.set(O,F,E.get(Math.floor(R.x),Math.floor(R.y)))}return{matrix:b,mappingFunction:D}}i.extract=h}),(function(a,i,s){Object.defineProperty(i,"__esModule",{value:!0});var x=4,u=.5,f=1.5,d=function(w,_){return Math.sqrt(Math.pow(_.x-w.x,2)+Math.pow(_.y-w.y,2))};function h(w){return w.reduce(function(_,R){return _+R})}function E(w,_,R){var k,T,S,q,L=d(w,_),X=d(_,R),K=d(w,R),ie,Z,$;return X>=L&&X>=K?(k=[_,w,R],ie=k[0],Z=k[1],$=k[2]):K>=X&&K>=L?(T=[w,_,R],ie=T[0],Z=T[1],$=T[2]):(S=[w,R,_],ie=S[0],Z=S[1],$=S[2]),($.x-Z.x)*(ie.y-Z.y)-($.y-Z.y)*(ie.x-Z.x)<0&&(q=[$,ie],ie=q[0],$=q[1]),{bottomLeft:ie,topLeft:Z,topRight:$}}function p(w,_,R,k){var T=(h(C(w,R,k,5))/7+h(C(w,_,k,5))/7+h(C(R,w,k,5))/7+h(C(_,w,k,5))/7)/4;if(T<1)throw new Error("Invalid module size");var S=Math.round(d(w,_)/T),q=Math.round(d(w,R)/T),L=Math.floor((S+q)/2)+7;switch(L%4){case 0:L++;break;case 2:L--;break}return{dimension:L,moduleSize:T}}function y(w,_,R,k){var T=[{x:Math.floor(w.x),y:Math.floor(w.y)}],S=Math.abs(_.y-w.y)>Math.abs(_.x-w.x),q,L,X,K;S?(q=Math.floor(w.y),L=Math.floor(w.x),X=Math.floor(_.y),K=Math.floor(_.x)):(q=Math.floor(w.x),L=Math.floor(w.y),X=Math.floor(_.x),K=Math.floor(_.y));for(var ie=Math.abs(X-q),Z=Math.abs(K-L),$=Math.floor(-ie/2),P=q<X?1:-1,Y=L<K?1:-1,oe=!0,fe=q,M=L;fe!==X+P;fe+=P){var j=S?M:fe,W=S?fe:M;if(R.get(j,W)!==oe&&(oe=!oe,T.push({x:j,y:W}),T.length===k+1))break;if($+=Z,$>0){if(M===K)break;M+=Y,$-=ie}}for(var N=[],ae=0;ae<k;ae++)T[ae]&&T[ae+1]?N.push(d(T[ae],T[ae+1])):N.push(0);return N}function C(w,_,R,k){var T,S=_.y-w.y,q=_.x-w.x,L=y(w,_,R,Math.ceil(k/2)),X=y(w,{x:w.x-q,y:w.y-S},R,Math.ceil(k/2)),K=L.shift()+X.shift()-1;return(T=X.concat(K)).concat.apply(T,L)}function A(w,_){var R=h(w)/h(_),k=0;return _.forEach(function(T,S){k+=Math.pow(w[S]-T*R,2)}),{averageSize:R,error:k}}function b(w,_,R){try{var k=C(w,{x:-1,y:w.y},R,_.length),T=C(w,{x:w.x,y:-1},R,_.length),S={x:Math.max(0,w.x-w.y)-1,y:Math.max(0,w.y-w.x)-1},q=C(w,S,R,_.length),L={x:Math.min(R.width,w.x+w.y)+1,y:Math.min(R.height,w.y+w.x)+1},X=C(w,L,R,_.length),K=A(k,_),ie=A(T,_),Z=A(q,_),$=A(X,_),P=Math.sqrt(K.error*K.error+ie.error*ie.error+Z.error*Z.error+$.error*$.error),Y=(K.averageSize+ie.averageSize+Z.averageSize+$.averageSize)/4,oe=(Math.pow(K.averageSize-Y,2)+Math.pow(ie.averageSize-Y,2)+Math.pow(Z.averageSize-Y,2)+Math.pow($.averageSize-Y,2))/Y;return P+oe}catch{return 1/0}}function D(w,_){for(var R=Math.round(_.x);w.get(R,Math.round(_.y));)R--;for(var k=Math.round(_.x);w.get(k,Math.round(_.y));)k++;for(var T=(R+k)/2,S=Math.round(_.y);w.get(Math.round(T),S);)S--;for(var q=Math.round(_.y);w.get(Math.round(T),q);)q++;var L=(S+q)/2;return{x:T,y:L}}function F(w){for(var _=[],R=[],k=[],T=[],S=function(j){for(var W=0,N=!1,ae=[0,0,0,0,0],ce=function(Ee){var Pe=w.get(Ee,j);if(Pe===N)W++;else{ae=[ae[1],ae[2],ae[3],ae[4],W],W=1,N=Pe;var Ce=h(ae)/7,Bt=Math.abs(ae[0]-Ce)<Ce&&Math.abs(ae[1]-Ce)<Ce&&Math.abs(ae[2]-3*Ce)<3*Ce&&Math.abs(ae[3]-Ce)<Ce&&Math.abs(ae[4]-Ce)<Ce&&!Pe,ot=h(ae.slice(-3))/3,fn=Math.abs(ae[2]-ot)<ot&&Math.abs(ae[3]-ot)<ot&&Math.abs(ae[4]-ot)<ot&&Pe;if(Bt){var Zt=Ee-ae[3]-ae[4],ut=Zt-ae[2],Pt={startX:ut,endX:Zt,y:j},dn=R.filter(function(At){return ut>=At.bottom.startX&&ut<=At.bottom.endX||Zt>=At.bottom.startX&&ut<=At.bottom.endX||ut<=At.bottom.startX&&Zt>=At.bottom.endX&&ae[2]/(At.bottom.endX-At.bottom.startX)<f&&ae[2]/(At.bottom.endX-At.bottom.startX)>u});dn.length>0?dn[0].bottom=Pt:R.push({top:Pt,bottom:Pt})}if(fn){var $n=Ee-ae[4],jn=$n-ae[3],Pt={startX:jn,y:j,endX:$n},dn=T.filter(function(St){return jn>=St.bottom.startX&&jn<=St.bottom.endX||$n>=St.bottom.startX&&jn<=St.bottom.endX||jn<=St.bottom.startX&&$n>=St.bottom.endX&&ae[2]/(St.bottom.endX-St.bottom.startX)<f&&ae[2]/(St.bottom.endX-St.bottom.startX)>u});dn.length>0?dn[0].bottom=Pt:T.push({top:Pt,bottom:Pt})}}},xe=-1;xe<=w.width;xe++)ce(xe);_.push.apply(_,R.filter(function(Ee){return Ee.bottom.y!==j&&Ee.bottom.y-Ee.top.y>=2})),R=R.filter(function(Ee){return Ee.bottom.y===j}),k.push.apply(k,T.filter(function(Ee){return Ee.bottom.y!==j})),T=T.filter(function(Ee){return Ee.bottom.y===j})},q=0;q<=w.height;q++)S(q);_.push.apply(_,R.filter(function(j){return j.bottom.y-j.top.y>=2})),k.push.apply(k,T);var L=_.filter(function(j){return j.bottom.y-j.top.y>=2}).map(function(j){var W=(j.top.startX+j.top.endX+j.bottom.startX+j.bottom.endX)/4,N=(j.top.y+j.bottom.y+1)/2;if(w.get(Math.round(W),Math.round(N))){var ae=[j.top.endX-j.top.startX,j.bottom.endX-j.bottom.startX,j.bottom.y-j.top.y+1],ce=h(ae)/ae.length,xe=b({x:Math.round(W),y:Math.round(N)},[1,1,3,1,1],w);return{score:xe,x:W,y:N,size:ce}}}).filter(function(j){return!!j}).sort(function(j,W){return j.score-W.score}).map(function(j,W,N){if(W>x)return null;var ae=N.filter(function(xe,Ee){return W!==Ee}).map(function(xe){return{x:xe.x,y:xe.y,score:xe.score+Math.pow(xe.size-j.size,2)/j.size,size:xe.size}}).sort(function(xe,Ee){return xe.score-Ee.score});if(ae.length<2)return null;var ce=j.score+ae[0].score+ae[1].score;return{points:[j].concat(ae.slice(0,2)),score:ce}}).filter(function(j){return!!j}).sort(function(j,W){return j.score-W.score});if(L.length===0)return null;var X=E(L[0].points[0],L[0].points[1],L[0].points[2]),K=X.topRight,ie=X.topLeft,Z=X.bottomLeft,$=O(w,k,K,ie,Z),P=[];$&&P.push({alignmentPattern:{x:$.alignmentPattern.x,y:$.alignmentPattern.y},bottomLeft:{x:Z.x,y:Z.y},dimension:$.dimension,topLeft:{x:ie.x,y:ie.y},topRight:{x:K.x,y:K.y}});var Y=D(w,K),oe=D(w,ie),fe=D(w,Z),M=O(w,k,Y,oe,fe);return M&&P.push({alignmentPattern:{x:M.alignmentPattern.x,y:M.alignmentPattern.y},bottomLeft:{x:fe.x,y:fe.y},topLeft:{x:oe.x,y:oe.y},topRight:{x:Y.x,y:Y.y},dimension:M.dimension}),P.length===0?null:P}i.locate=F;function O(w,_,R,k,T){var S,q,L;try{S=p(k,R,T,w),q=S.dimension,L=S.moduleSize}catch{return null}var X={x:R.x-k.x+T.x,y:R.y-k.y+T.y},K=(d(k,T)+d(k,R))/2/L,ie=1-3/K,Z={x:k.x+ie*(X.x-k.x),y:k.y+ie*(X.y-k.y)},$=_.map(function(Y){var oe=(Y.top.startX+Y.top.endX+Y.bottom.startX+Y.bottom.endX)/4,fe=(Y.top.y+Y.bottom.y+1)/2;if(w.get(Math.floor(oe),Math.floor(fe))){var M=[Y.top.endX-Y.top.startX,Y.bottom.endX-Y.bottom.startX,Y.bottom.y-Y.top.y+1];h(M)/M.length;var j=b({x:Math.floor(oe),y:Math.floor(fe)},[1,1,1],w),W=j+d({x:oe,y:fe},Z);return{x:oe,y:fe,score:W}}}).filter(function(Y){return!!Y}).sort(function(Y,oe){return Y.score-oe.score}),P=K>=15&&$.length?$[0]:Z;return{alignmentPattern:P,dimension:q}}})]).default})})(go)),go.exports}var C_=E_();const y_=zo(C_);function g_({onResult:e,onClose:r}){const a=z.useRef(null),[i,s]=z.useState(null);return z.useEffect(()=>{let x=null,u=0,f=!1;const d=document.createElement("canvas"),h=d.getContext("2d",{willReadFrequently:!0}),E=()=>{const p=a.current;if(!(f||!p||!h)){if(p.readyState>=p.HAVE_ENOUGH_DATA&&p.videoWidth){d.width=p.videoWidth,d.height=p.videoHeight,h.drawImage(p,0,0,d.width,d.height);const{data:y,width:C,height:A}=h.getImageData(0,0,d.width,d.height),b=y_(y,C,A,{inversionAttempts:"dontInvert"});if(b?.data){f=!0,e(b.data);return}}u=requestAnimationFrame(E)}};return navigator.mediaDevices?.getUserMedia({video:{facingMode:"environment"}}).then(p=>{if(f){for(const C of p.getTracks())C.stop();return}x=p;const y=a.current;y&&(y.srcObject=p,y.play(),u=requestAnimationFrame(E))}).catch(p=>s(B_(p))),()=>{if(f=!0,cancelAnimationFrame(u),x)for(const p of x.getTracks())p.stop()}},[e]),g.jsxs("div",{className:"fixed inset-0 z-[60] bg-black",children:[g.jsx("video",{ref:a,muted:!0,playsInline:!0,className:"h-full w-full object-cover"}),g.jsx("div",{className:"pointer-events-none absolute inset-0 grid place-items-center",children:g.jsx("div",{className:"size-60 max-w-[70vw] rounded-3xl border-2 border-white/80 shadow-[0_0_0_100vmax_rgba(0,0,0,0.5)]"})}),g.jsxs("div",{className:"pt-safe absolute inset-x-0 top-0 flex items-center justify-between p-4",children:[g.jsx("span",{className:"rounded-full bg-black/50 px-3 py-1 text-sm text-white",children:"Point at the relay QR"}),g.jsx("button",{type:"button",onClick:r,"aria-label":"Cancel scan",className:"flex size-9 items-center justify-center rounded-full bg-black/50 text-white active:bg-black/70",children:g.jsx(yr,{size:20})})]}),i?g.jsx("div",{className:"pb-safe absolute inset-x-0 bottom-0 bg-black/75 p-4 text-center text-sm leading-relaxed text-white",children:i}):null]})}function B_(e){const r=e instanceof DOMException?e.name:"";return r==="NotAllowedError"?"Camera permission denied. Allow camera access, or paste the token instead.":r==="NotFoundError"||r==="OverconstrainedError"?"No camera found — paste the token instead.":window.isSecureContext?`Camera unavailable (${e instanceof Error?e.message:String(e)}). Paste the token instead.`:"The camera needs HTTPS. Open the relay’s https:// URL, or paste the token."}function A_(){const e=ke(h=>h.setToken),[r,a]=z.useState(""),[i,s]=z.useState(!1),[x,u]=z.useState(!1),f=h=>{const E=WA(h);u(!1),E?e(E):s(!0)},d=h=>{h.preventDefault(),f(r)};return x?g.jsx(g_,{onResult:f,onClose:()=>u(!1)}):g.jsxs("div",{className:"pt-safe pb-safe flex h-full flex-col items-center justify-center gap-5 overflow-y-auto px-8 text-center",children:[g.jsx("img",{src:"/icon.svg",alt:"",className:"size-20 rounded-3xl"}),g.jsxs("div",{children:[g.jsx("h1",{className:"text-xl font-semibold",children:"Conductor Remote"}),g.jsx("p",{className:"mt-1 text-sm text-muted",children:"Phone control panel for your local agents"})]}),g.jsxs("p",{className:"max-w-xs text-sm leading-relaxed text-muted",children:["Open the URL the relay printed on startup — it carries your access token (",g.jsx("span",{className:"font-mono text-faint",children:"/#token=…"}),"). Then use"," ",g.jsx("b",{className:"text-text",children:"Add to Home Screen"})," to install it."]}),g.jsxs("form",{onSubmit:d,className:"flex w-full max-w-xs flex-col gap-2",children:[g.jsx("input",{type:"text",inputMode:"text",autoCapitalize:"none",autoCorrect:"off",spellCheck:!1,value:r,onChange:h=>{a(h.target.value),s(!1)},placeholder:"Paste token or URL","aria-label":"Access token or URL",className:"rounded-xl border border-border bg-surface-2 px-3 py-2.5 text-center font-mono text-base text-text placeholder:font-sans placeholder:text-faint"}),g.jsx("button",{type:"submit",className:"pill pill-active justify-center py-2.5",children:"Connect"}),g.jsxs("button",{type:"button",onClick:()=>{s(!1),u(!0)},className:"pill justify-center gap-2 py-2.5",children:[g.jsx(k2,{size:16}),"Scan QR"]}),i?g.jsx("p",{className:"text-xs",style:{color:"var(--color-del)"},children:"Couldn’t find a token in that — paste the token or the full URL, or scan the QR."}):null]}),g.jsxs("p",{className:"max-w-xs text-xs leading-relaxed text-faint",children:["Lost it? Run ",g.jsx("span",{className:"font-mono",children:"yarn service status"})," on your Mac to reprint the QR, then scan it above — no need to retype anything."]})]})}var $o=Z8();const _l=new Uint8Array(512),sc=new Uint8Array(256);let El=1;for(let e=0;e<255;e++)_l[e]=El,sc[El]=e,El<<=1,El&256&&(El^=285);for(let e=255;e<512;e++)_l[e]=_l[e-255];function Dm(e,r){return e===0||r===0?0:_l[sc[e]+sc[r]]}function b_(e){let r=[1];for(let a=0;a<e;a++){const i=new Array(r.length+1).fill(0);for(let s=0;s<r.length;s++)i[s]^=r[s],i[s+1]^=Dm(r[s],_l[a]);r=i}return r}function D_(e,r){const a=b_(r),i=new Array(r).fill(0);for(const s of e){const x=s^i[0];if(i.shift(),i.push(0),x!==0)for(let u=0;u<r;u++)i[u]^=Dm(a[u+1],x)}return i}const Kc={1:{align:[],ec:10,groups:[[1,16]]},2:{align:[6,18],ec:16,groups:[[1,28]]},3:{align:[6,22],ec:26,groups:[[1,44]]},4:{align:[6,26],ec:18,groups:[[2,32]]},5:{align:[6,30],ec:24,groups:[[2,43]]},6:{align:[6,34],ec:16,groups:[[4,27]]},7:{align:[6,22,38],ec:18,groups:[[4,31]]},8:{align:[6,24,42],ec:22,groups:[[2,38],[2,39]]},9:{align:[6,26,46],ec:22,groups:[[3,36],[2,37]]},10:{align:[6,28,50],ec:26,groups:[[4,43],[1,44]]}};function O8(e){return Kc[e].groups.reduce((r,[a,i])=>r+a*i,0)}function L8(e){return e<=9?8:16}function Cl(e,r,a){for(let i=a-1;i>=0;i--)e.push(r>>i&1)}function v_(e){const r=Array.from(new TextEncoder().encode(e));let a=0;for(let A=1;A<=10;A++)if(4+L8(A)+8*r.length<=O8(A)*8){a=A;break}if(a===0)throw new Error(`data too long for a v1–10 QR (${r.length} bytes)`);const i=O8(a)*8,s=[];Cl(s,4,4),Cl(s,r.length,L8(a));for(const A of r)Cl(s,A,8);for(let A=0,b=Math.min(4,i-s.length);A<b;A++)s.push(0);for(;s.length%8!==0;)s.push(0);const x=[236,17];for(let A=0;s.length<i;A++)Cl(s,x[A%2],8);const u=[];for(let A=0;A<s.length;A+=8){let b=0;for(let D=0;D<8;D++)b=b<<1|s[A+D];u.push(b)}const{ec:f,groups:d}=Kc[a],h=[];let E=0;for(const[A,b]of d)for(let D=0;D<A;D++){const F=u.slice(E,E+b);E+=b,h.push({data:F,ec:D_(F,f)})}const p=[],y=Math.max(...h.map(A=>A.data.length));for(let A=0;A<y;A++)for(const b of h)A<b.data.length&&p.push(b.data[A]);for(let A=0;A<f;A++)for(const b of h)p.push(b.ec[A]);const C=[];for(const A of p)Cl(C,A,8);return{version:a,bits:C}}function k_(e,r){const a=e*4+17,i=Array.from({length:a},()=>new Array(a).fill(!1)),s=Array.from({length:a},()=>new Array(a).fill(!1)),x=(p,y)=>{for(let C=-1;C<=7;C++)for(let A=-1;A<=7;A++){const b=p+C,D=y+A;if(b<0||b>=a||D<0||D>=a)continue;const F=C>=0&&C<=6&&(A===0||A===6)||A>=0&&A<=6&&(C===0||C===6),O=C>=2&&C<=4&&A>=2&&A<=4;i[b][D]=F||O,s[b][D]=!0}};x(0,0),x(0,a-7),x(a-7,0);for(let p=8;p<a-8;p++){const y=p%2===0;s[6][p]||(i[6][p]=y,s[6][p]=!0),s[p][6]||(i[p][6]=y,s[p][6]=!0)}const u=Kc[e].align;for(let p=0;p<u.length;p++)for(let y=0;y<u.length;y++){if(p===0&&y===0||p===0&&y===u.length-1||p===u.length-1&&y===0)continue;const A=u[p],b=u[y];for(let D=-2;D<=2;D++)for(let F=-2;F<=2;F++)i[A+D][b+F]=Math.max(Math.abs(D),Math.abs(F))!==1,s[A+D][b+F]=!0}for(let p=0;p<=8;p++)p!==6&&(s[8][p]=!0,s[p][8]=!0);for(let p=0;p<8;p++)s[8][a-1-p]=!0,s[a-1-p][8]=!0;if(s[a-8][8]=!0,e>=7)for(let p=0;p<18;p++){const y=a-11+p%3,C=Math.floor(p/3);s[C][y]=!0,s[y][C]=!0}let f=0,d=!0;for(let p=a-1;p>0;p-=2){p===6&&p--;for(let y=0;y<a;y++){const C=d?a-1-y:y;for(let A=0;A<2;A++){const b=p-A;s[C][b]||(i[C][b]=f<r.length?r[f]===1:!1,f++)}}d=!d}e>=7&&S_(i,e,a);let h=null,E=Number.POSITIVE_INFINITY;for(let p=0;p<8;p++){const y=i.map(A=>A.slice());for(let A=0;A<a;A++)for(let b=0;b<a;b++)!s[A][b]&&F_(p,A,b)&&(y[A][b]=!y[A][b]);w_(y,p,a);const C=M_(y);C<E&&(E=C,h=y)}return h}function F_(e,r,a){switch(e){case 0:return(r+a)%2===0;case 1:return r%2===0;case 2:return a%3===0;case 3:return(r+a)%3===0;case 4:return(Math.floor(r/2)+Math.floor(a/3))%2===0;case 5:return r*a%2+r*a%3===0;case 6:return(r*a%2+r*a%3)%2===0;default:return((r+a)%2+r*a%3)%2===0}}function w_(e,r,a){const i=0|r;let s=i;for(let f=0;f<10;f++)s=s<<1^(s>>9&1?1335:0);const x=((i<<10|s&1023)^21522)&32767,u=f=>(x>>f&1)===1;for(let f=0;f<=5;f++)e[f][8]=u(f);e[7][8]=u(6),e[8][8]=u(7),e[8][7]=u(8);for(let f=9;f<15;f++)e[8][14-f]=u(f);for(let f=0;f<8;f++)e[8][a-1-f]=u(f);for(let f=8;f<15;f++)e[a-15+f][8]=u(f);e[a-8][8]=!0}function S_(e,r,a){let i=r;for(let x=0;x<12;x++)i=i<<1^(i>>11&1?7973:0);const s=r<<12|i&4095;for(let x=0;x<18;x++){const u=(s>>x&1)===1,f=a-11+x%3,d=Math.floor(x/3);e[d][f]=u,e[f][d]=u}}function M_(e){const r=e.length;let a=0;const i=d=>{let h=d(0),E=1;for(let p=1;p<r;p++)d(p)===h?E++:(E>=5&&(a+=E-2),h=d(p),E=1);E>=5&&(a+=E-2)};for(let d=0;d<r;d++)i(h=>e[d][h]);for(let d=0;d<r;d++)i(h=>e[h][d]);for(let d=0;d<r-1;d++)for(let h=0;h<r-1;h++){const E=e[d][h];E===e[d][h+1]&&E===e[d+1][h]&&E===e[d+1][h+1]&&(a+=3)}const s=[!0,!1,!0,!0,!0,!1,!0,!1,!1,!1,!1],x=[!1,!1,!1,!1,!0,!1,!0,!0,!0,!1,!0],u=(d,h,E)=>{for(let p=0;p<11;p++)if(d(h+p)!==E[p])return!1;return!0};for(let d=0;d<r;d++)for(let h=0;h<=r-11;h++)(u(E=>e[d][E],h,s)||u(E=>e[d][E],h,x))&&(a+=40);for(let d=0;d<r;d++)for(let h=0;h<=r-11;h++)(u(E=>e[E][d],h,s)||u(E=>e[E][d],h,x))&&(a+=40);let f=0;for(let d=0;d<r;d++)for(let h=0;h<r;h++)e[d][h]&&f++;return a+=Math.floor(Math.abs(f/(r*r)*100-50)/5)*10,a}function N_(e){const{version:r,bits:a}=v_(e);return k_(r,a)}function __({text:e,size:r=220,className:a}){const i=N_(e),s=i.length,x=4,u=s+x*2;let f="";for(let d=0;d<s;d++)for(let h=0;h<s;h++)i[d][h]&&(f+=`M${h+x} ${d+x}h1v1h-1z`);return g.jsxs("svg",{width:r,height:r,viewBox:`0 0 ${u} ${u}`,shapeRendering:"crispEdges",className:a,role:"img","aria-label":"QR code",children:[g.jsx("title",{children:"QR code"}),g.jsx("rect",{width:u,height:u,fill:"#fff"}),g.jsx("path",{d:f,fill:"#000"})]})}function T_({version:e,onLogs:r,onClose:a}){const i=ke(y=>y.token),s=ke(y=>y.setToken),[x,u]=z.useState(!1),[f,d]=z.useState(!1),h=i?`${location.origin}/#token=${i}`:location.origin,E=!!e&&e!=="1.46.1",p=async()=>{try{await navigator.clipboard.writeText(h),u(!0),setTimeout(()=>u(!1),1500)}catch{}};return $o.createPortal(g.jsxs(g.Fragment,{children:[g.jsx("div",{className:"fixed inset-0 z-50 bg-black/60",onClick:a,"aria-hidden":!0}),g.jsxs("div",{role:"dialog","aria-modal":"true","aria-label":"Connect a device",className:"fade-in pb-safe fixed inset-x-0 bottom-0 z-50 mx-auto flex max-h-[85dvh] max-w-sm flex-col items-center gap-4 rounded-t-3xl border border-border-soft bg-surface p-5 shadow-xl md:inset-0 md:m-auto md:h-fit md:rounded-3xl",children:[g.jsxs("div",{className:"flex w-full shrink-0 items-center justify-between",children:[g.jsx("h2",{className:"text-base font-semibold",children:"Connect a device"}),g.jsxs("div",{className:"flex shrink-0 items-center gap-1",children:[g.jsx("button",{type:"button",onClick:()=>d(y=>!y),"aria-label":"Disconnect","aria-expanded":f,title:"Disconnect",className:be("flex size-8 items-center justify-center rounded-full active:bg-surface-2",f?"bg-del/15 text-del":"text-del/80"),children:g.jsx(ng,{size:17})}),g.jsx("button",{type:"button",onClick:a,"aria-label":"Close",className:"flex size-8 items-center justify-center rounded-full text-muted active:bg-surface-2",children:g.jsx(yr,{size:18})})]})]}),f?g.jsxs("div",{className:"fade-in w-full shrink-0 rounded-xl border border-del/40 bg-del/10 px-3 py-2.5 text-left",children:[g.jsx("p",{className:"text-sm font-medium",children:"Disconnect this device?"}),g.jsx("p",{className:"mt-1 text-xs text-muted",children:"This forgets your access token. To get back in you’ll need the link or QR from the Mac running the relay — this screen can’t show it to you again."}),g.jsxs("div",{className:"mt-2.5 flex gap-2",children:[g.jsx("button",{type:"button",onClick:()=>d(!1),className:"flex-1 rounded-lg border border-border bg-surface-2 px-3 py-2 text-sm active:bg-surface",children:"Cancel"}),g.jsx("button",{type:"button",onClick:()=>s(null),className:"flex-1 rounded-lg bg-del px-3 py-2 text-sm font-semibold text-black active:opacity-80",children:"Disconnect"})]})]}):null,g.jsxs("div",{className:"flex w-full min-h-0 flex-1 flex-col items-center gap-4 overflow-y-auto overscroll-contain",children:[g.jsx("p",{className:"text-center text-sm text-muted",children:"Scan on another phone, or re-add this to your home screen. The link carries your access token."}),g.jsx("div",{className:"shrink-0 rounded-2xl bg-white p-3",children:g.jsx(__,{text:h,size:216})}),g.jsxs("button",{type:"button",onClick:p,className:"flex w-full shrink-0 items-center justify-center gap-2 rounded-xl border border-border bg-surface-2 px-3 py-2.5 text-sm active:bg-surface",children:[x?g.jsx(pr,{size:16}):g.jsx(b2,{size:16}),x?"Copied":"Copy link"]}),g.jsx(z_,{}),g.jsx(O_,{}),g.jsxs("div",{className:"flex w-full items-center justify-between text-xs text-faint",children:[g.jsxs("span",{className:"font-mono",children:[e?`relay v${e}`:"relay v?"," · ",g.jsxs("span",{className:E?"text-working":void 0,children:["app v","1.46.1"]}),E?" · update pending":""]}),g.jsx("button",{type:"button",onClick:r,className:"shrink-0 text-muted underline-offset-2 hover:underline",children:"Logs"})]})]})]})]}),document.body)}function z_(){const e=Ob(),r=e.permission==="denied",a=e.support!=="ok"||e.relayDisabled,i=e.relayDisabled?"Turned off on the relay (PUSH_NOTIFY=off).":e.support==="needs-install"?"Add this to your Home Screen first — iOS only allows notifications for installed apps.":e.support==="insecure"?"Needs a secure connection — open the app on its https:// Tailscale URL.":e.support==="unsupported"?"This browser can’t receive push notifications.":r?"Blocked for this app — allow notifications in your device settings, then come back.":e.enabled?`On for this device${e.devices>1?` · ${e.devices} devices subscribed`:""}.`:"Get a ping when an agent finishes its turn or hits an error.";return g.jsxs("div",{className:"w-full shrink-0 rounded-xl border border-border bg-surface-2 px-3 py-2.5",children:[g.jsxs("div",{className:"flex items-center justify-between gap-3",children:[g.jsxs("div",{className:"flex min-w-0 items-center gap-2 text-sm",children:[g.jsx(A2,{size:16,className:be("shrink-0",e.enabled?"text-accent":"text-muted")}),g.jsx("span",{children:"Notifications"})]}),g.jsx("button",{type:"button",role:"switch","aria-checked":e.enabled,"aria-label":"Notifications on this device",disabled:a||r||e.busy,onClick:()=>{e.enabled?e.disable():e.enable()},className:be("relative h-6 w-11 shrink-0 rounded-full transition-colors",e.enabled?"bg-accent":"border border-border bg-surface",(a||r||e.busy)&&"opacity-40"),children:g.jsx("span",{className:be("absolute left-0.5 top-0.5 size-5 rounded-full bg-white transition-transform",e.enabled?"translate-x-5":"translate-x-0")})})]}),g.jsx("p",{className:"mt-1 text-xs text-muted",children:i}),e.error?g.jsx("p",{className:"mt-1 text-xs text-del",children:e.error}):null,e.enabled?g.jsx("button",{type:"button",onClick:()=>{e.test()},disabled:e.busy,className:"mt-1.5 text-xs text-muted underline-offset-2 hover:underline disabled:opacity-50",children:"Send a test notification"}):null]})}const j_=[{label:"1h",seconds:3600},{label:"4h",seconds:4*3600},{label:"8h",seconds:8*3600}];function R_(e){if(!e)return"until you turn it off";const r=new Date(e),a=r.toDateString()===new Date().toDateString(),i=r.toLocaleTimeString([],{hour:"2-digit",minute:"2-digit"});return a?`until ${i}`:`until ${r.toLocaleDateString([],{weekday:"short"})} ${i}`}function O_(){const[e,r]=z.useState(null),[a,i]=z.useState(!1),[s,x]=z.useState(null),[u,f]=z.useState(!1),d=z.useCallback(async()=>{try{r(await Ie.settings()),x(null)}catch(C){x(C instanceof Error?C.message:String(C))}},[]);z.useEffect(()=>{d()},[d]);const h=async C=>{i(!0),x(null);try{await C(),await d()}catch(A){x(A instanceof Error?A.message:String(A))}finally{i(!1)}},E=e?.nosleep,p=e?.wifi.known??[],y=e?.settings.fallbackSsids[0]??"";return g.jsxs("div",{className:"flex w-full shrink-0 flex-col gap-2.5 rounded-xl border border-border bg-surface-2 px-3 py-2.5",children:[g.jsxs("div",{className:"flex items-center justify-between gap-3",children:[g.jsxs("div",{className:"flex min-w-0 items-center gap-2 text-sm",children:[g.jsx(w2,{size:16,className:be("shrink-0",E?.armed?"text-accent":"text-muted")}),g.jsx("span",{children:"Keep the Mac awake"})]}),E?.armed?g.jsx("button",{type:"button",disabled:a,onClick:()=>{h(async()=>{const C=await Ie.disarmNoSleep();f(C.willSleep===!0)})},className:"shrink-0 rounded-lg border border-border px-2.5 py-1 text-xs active:bg-surface disabled:opacity-50",children:"Let it sleep"}):g.jsx("div",{className:"flex shrink-0 gap-1",children:j_.map(C=>g.jsx("button",{type:"button",disabled:a||!E?.available,onClick:()=>{h(()=>(f(!1),Ie.armNoSleep(C.seconds)))},className:"rounded-lg border border-border px-2.5 py-1 text-xs active:bg-surface disabled:opacity-40",children:C.label},C.seconds))})]}),g.jsx("p",{className:"text-xs text-muted",children:e?E?.available?E.armed?`Awake ${R_(E.until)}, lid closed. Sends still park until you unlock.`:u?"The lid is shut, so the Mac is going to sleep now — this app will be unreachable until you wake it.":"Stops the Mac sleeping when you shut the lid. Reads and notifications keep working; sends park until you unlock.":"Run `conductor-remote nosleep setup` on the Mac once to enable this.":"Checking…"}),g.jsxs("div",{className:"border-t border-border pt-2.5",children:[g.jsxs("div",{className:"flex items-center justify-between gap-3",children:[g.jsxs("div",{className:"flex min-w-0 items-center gap-2 text-sm",children:[g.jsx(S2,{size:16,className:be("shrink-0",e?.settings.autoRejoin?"text-accent":"text-muted")}),g.jsx("span",{children:"Fallback network"})]}),y?g.jsx("button",{type:"button",disabled:a,onClick:()=>{h(()=>Ie.patchSettings({fallbackSsids:[],autoRejoin:!1}))},className:"shrink-0 rounded-lg border border-border px-2.5 py-1 text-xs active:bg-surface disabled:opacity-50",children:"Turn off"}):null]}),y?g.jsxs("p",{className:"mt-1 text-xs text-muted",children:["If the Mac loses its connection it joins ",g.jsx("span",{className:"text-fg",children:y})," and re-registers."]}):g.jsx(L_,{known:p,hotspots:e?.wifi.likelyHotspots??[],busy:a,onPick:C=>{h(()=>Ie.patchSettings({fallbackSsids:[C],autoRejoin:!0}))}}),e?.wifi.autoJoinHotspot==="Never"?g.jsx("p",{className:"mt-1 text-xs text-faint",children:"Auto-join Hotspot is off on this Mac (System Settings ▸ Wi-Fi). Your hotspot has to be on and broadcasting before the Mac can join it."}):null]}),s?g.jsx("p",{className:"text-xs text-del",children:s}):null]})}function L_({known:e,hotspots:r,busy:a,onPick:i}){const[s,x]=z.useState("");if(e.length===0)return g.jsx("p",{className:"mt-1 text-xs text-muted",children:"No saved Wi-Fi networks to offer."});const u=new Set(r),f=s.trim().toLowerCase(),d=e.filter(p=>!f||p.toLowerCase().includes(f)),h=d.find(p=>u.has(p)),E=(h?[h,...d.filter(p=>p!==h)]:d).slice(0,6);return g.jsxs(g.Fragment,{children:[g.jsx("p",{className:"mt-1 text-xs text-muted",children:"Turn your hotspot on before you leave, and the Mac can move to it if the office Wi-Fi drops."}),g.jsx("input",{type:"search",value:s,disabled:a,onChange:p=>x(p.target.value),placeholder:`Search ${e.length} saved networks`,className:"mt-2 w-full rounded-lg border border-border bg-surface px-2 py-1.5 text-xs disabled:opacity-40"}),g.jsxs("div",{className:"mt-1.5 flex flex-col gap-1",children:[E.map(p=>g.jsxs("button",{type:"button",disabled:a,onClick:()=>i(p),className:"flex items-center justify-between gap-2 rounded-lg border border-border px-2.5 py-1.5 text-left text-xs active:bg-surface disabled:opacity-50",children:[g.jsx("span",{className:"truncate",children:p}),u.has(p)?g.jsx("span",{className:"shrink-0 text-faint",children:"likely hotspot"}):null]},p)),E.length===0?g.jsxs("p",{className:"text-xs text-faint",children:["Nothing matches “",s,"”."]}):null]}),!f&&e.length>E.length?g.jsxs("p",{className:"mt-1 text-xs text-faint",children:["Most recently joined. Search to reach the other ",e.length-E.length,"."]}):null]})}const P_={info:"text-muted",warn:"text-working",error:"text-del"};function H0(e){return String(e).padStart(2,"0")}function U_(e){if(e==null)return"·";const r=new Date(e);return`${H0(r.getHours())}:${H0(r.getMinutes())}:${H0(r.getSeconds())}`}function P8(e){if(e==null)return" ";const r=new Date(e);return`${r.getFullYear()}-${H0(r.getMonth()+1)}-${H0(r.getDate())} ${H0(r.getHours())}:${H0(r.getMinutes())}:${H0(r.getSeconds())}`}function H_(e){return e<1024?`${e} B`:e<1024*1024?`${Math.round(e/1024)} KB`:`${(e/1024/1024).toFixed(1)} MB`}function U8(e){const r=Math.max(0,Math.round(e/1e3));if(r<90)return`${r}s ago`;const a=Math.round(r/60);if(a<60)return`${a}m ago`;const i=Math.round(a/60);return i<48?`${i}h ago`:`${Math.round(i/24)}d ago`}function q_({onClose:e}){const[r,a]=z.useState(null),[i,s]=z.useState(!1),[x,u]=z.useState(null),{data:f,isLoading:d,isError:h,error:E}=_b(r,!0),p=z.useRef(null),y=z.useRef(!0),C=z.useMemo(()=>(f?.entries??[]).filter(D=>!i||D.level!=="info"),[f,i]);z.useEffect(()=>{const D=p.current;D&&y.current&&C.length&&(D.scrollTop=D.scrollHeight)},[C]);const A=async()=>{const D=`# conductor-remote ${r??"live"} log · app v1.46.1 · copied ${P8(Date.now())}`,F=C.map(O=>`${P8(O.t)} ${O.level==="info"?"":O.level.toUpperCase()} ${O.text}`);try{await navigator.clipboard.writeText([D,...F].join(`
42
- `)),u("ok")}catch{u("failed")}setTimeout(()=>u(null),2e3)},b=[{key:null,label:"Live",hint:f?`since ${U8(f.now-f.startedAt)}`:void 0},...(f?.files??[]).map(D=>({key:D.name,label:D.name,hint:H_(D.size)}))];return $o.createPortal(g.jsxs(g.Fragment,{children:[g.jsx("div",{className:"fixed inset-0 z-50 bg-black/60",onClick:e,"aria-hidden":!0}),g.jsxs("div",{role:"dialog","aria-modal":"true","aria-label":"Relay logs",className:"fade-in pt-safe pb-safe fixed inset-0 z-50 mx-auto flex flex-col bg-bg md:inset-6 md:rounded-3xl md:border md:border-border-soft",children:[g.jsxs("div",{className:"flex items-center justify-between gap-2 border-b border-border-soft px-4 py-3",children:[g.jsxs("div",{className:"min-w-0",children:[g.jsx("h2",{className:"text-base font-semibold",children:"Relay logs"}),g.jsx("p",{className:"truncate text-xs text-muted",children:f?`${C.length} line${C.length===1?"":"s"} · relay started ${U8(f.now-f.startedAt)}`:"Loading…"})]}),g.jsx("button",{type:"button",onClick:e,"aria-label":"Close",className:"flex size-8 shrink-0 items-center justify-center rounded-full text-muted active:bg-surface-2",children:g.jsx(yr,{size:18})})]}),g.jsx("div",{className:"flex gap-1.5 overflow-x-auto border-b border-border-soft px-3 py-2",children:b.map(D=>g.jsxs("button",{type:"button",onClick:()=>{y.current=!0,a(D.key)},className:be("pill shrink-0 whitespace-nowrap",D.key===r&&"pill-active"),children:[D.label,D.hint?g.jsx("span",{className:"ml-1.5 text-[11px] text-faint",children:D.hint}):null]},D.key??"live"))}),r&&f&&!f.managed?g.jsx("p",{className:"border-b border-border-soft bg-working/10 px-4 py-2 text-xs text-working",children:"This file belongs to the installed daemon — this relay isn’t the one writing it. Its own output is under Live."}):null,g.jsx("div",{ref:p,onScroll:D=>{const F=D.currentTarget;y.current=F.scrollHeight-F.scrollTop-F.clientHeight<40},className:"min-h-0 flex-1 overflow-y-auto px-3 py-2 font-mono text-[11px] leading-relaxed",children:d&&!f?g.jsx(ha,{label:"Reading logs…"}):h?g.jsx(Lt,{children:E?.message}):C.length===0?g.jsx(Lt,{children:i?"No warnings or errors logged.":"Nothing logged yet — the relay has been quiet."}):C.map((D,F)=>g.jsxs("div",{className:"flex gap-2 whitespace-pre-wrap break-words py-px",children:[g.jsx("span",{className:"shrink-0 text-faint",children:U_(D.t)}),g.jsx("span",{className:be("min-w-0 flex-1",P_[D.level]),children:D.text})]},F))}),g.jsxs("div",{className:"flex items-center gap-2 border-t border-border-soft px-3 py-2.5",children:[g.jsx("button",{type:"button",onClick:()=>s(D=>!D),className:be("pill shrink-0",i&&"pill-active"),children:"Problems only"}),g.jsxs("button",{type:"button",onClick:A,className:"ml-auto flex items-center justify-center gap-2 rounded-xl border border-border bg-surface-2 px-4 py-2.5 text-sm active:bg-surface",children:[x==="ok"?g.jsx(pr,{size:16}):g.jsx(b2,{size:16}),x==="ok"?"Copied":x==="failed"?"Copy blocked — select by hand":"Copy"]})]})]})]}),document.body)}const vm="conductor-remote-send-immediately";function I_(){try{return localStorage.getItem(vm)!=="off"}catch{return!0}}function V_(e){try{localStorage.setItem(vm,e?"on":"off")}catch{}}function $_({onClose:e}){const{data:r}=Fb(),[a,i]=z.useState(""),[s,x]=z.useState(""),[u,f]=z.useState(!1),[d,h]=z.useState(I_),[E,p]=z.useState(!1),[y,C]=z.useState(null),A=da(),b=I0(),D=r?.repos??[],F=D.find(w=>w.name===a);z.useEffect(()=>{!a&&D.length&&i(D[0].name)},[a,D]);const O=async()=>{const w=s.trim();if(!(!a||E)){p(!0),C(null);try{const _=await Ie.createWorkspace(a,w,d);if(!_.ok||!_.workspaceId){C(_.error??"could not create the workspace");return}await b.invalidateQueries({queryKey:["state"]}),e(),A(`/w/${_.workspaceId}`)}catch(_){C(_ instanceof Error?_.message:"could not create the workspace")}finally{p(!1)}}};return $o.createPortal(g.jsxs("div",{className:"fixed inset-0 z-50 flex flex-col bg-bg",children:[g.jsxs("header",{className:"pt-safe flex items-center gap-2 border-b border-border-soft px-3 pb-2.5",children:[g.jsx("span",{className:"flex-1 text-[15px] font-semibold",children:"New workspace"}),g.jsx("button",{type:"button",onClick:e,"aria-label":"Close",className:"-mr-1 flex size-9 shrink-0 items-center justify-center rounded-full text-muted active:bg-surface-2",children:g.jsx(yr,{size:20})})]}),g.jsxs("div",{className:"flex min-h-0 flex-1 flex-col gap-3 overflow-y-auto p-3",children:[g.jsxs("div",{className:"relative",children:[g.jsxs("button",{type:"button",onClick:()=>f(w=>!w),"aria-haspopup":"menu","aria-expanded":u,className:"flex w-full items-center gap-3 rounded-2xl border border-border bg-surface px-3 py-2.5 text-left transition active:bg-surface-2",children:[F?g.jsx(wo,{icon:F.icon,name:F.name}):null,g.jsx("span",{className:"min-w-0 flex-1 truncate text-[15px] font-medium",children:F?.name??"Choose a repo"}),g.jsx(Po,{size:18,className:be("shrink-0 text-muted transition",u&&"rotate-180")})]}),u?g.jsx("ul",{className:"absolute inset-x-0 top-full z-10 mt-1 max-h-72 overflow-y-auto rounded-2xl border border-border bg-surface py-1 shadow-xl",children:D.map(w=>g.jsx("li",{children:g.jsxs("button",{type:"button",onClick:()=>{i(w.name),f(!1)},className:"flex w-full items-center gap-3 px-3 py-2 text-left active:bg-surface-2",children:[g.jsx(wo,{icon:w.icon,name:w.name}),g.jsx("span",{className:"min-w-0 flex-1 truncate text-[15px]",children:w.name}),w.name===a?g.jsx(pr,{size:16,className:"shrink-0 text-accent"}):null]})},w.name))}):null]}),g.jsx("textarea",{value:s,onChange:w=>x(w.target.value),placeholder:"What should the agent do? (optional)",rows:6,autoFocus:!0,className:"w-full resize-none rounded-2xl border border-border bg-surface px-4 py-3 text-base outline-none placeholder:text-faint"}),g.jsxs("label",{className:be("flex items-start gap-3 rounded-2xl border border-border bg-surface px-3 py-2.5 transition active:bg-surface-2",!s.trim()&&"opacity-40"),children:[g.jsx("input",{type:"checkbox",checked:d,disabled:!s.trim(),onChange:w=>{h(w.target.checked),V_(w.target.checked)},className:"sr-only"}),g.jsx("span",{className:be("mt-0.5 flex size-[18px] shrink-0 items-center justify-center rounded-md border transition",d?"border-accent bg-accent text-bg":"border-border"),children:d?g.jsx(pr,{size:13,strokeWidth:3}):null}),g.jsxs("span",{className:"min-w-0 flex-1",children:[g.jsx("span",{className:"block text-[15px] font-medium",children:"Send immediately"}),g.jsx("span",{className:"block text-xs text-muted",children:d?"The prompt goes as soon as the chat exists, without waiting for setup.":"The prompt waits until the worktree has finished setting up."})]})]}),y?g.jsx("div",{className:"text-xs text-del",children:y}):null]}),g.jsx("div",{className:"pb-safe border-t border-border-soft p-3",children:g.jsx("button",{type:"button",onClick:O,disabled:!a||E,className:"w-full rounded-2xl bg-accent px-4 py-3 text-[15px] font-semibold text-bg transition active:scale-[0.985] disabled:opacity-40",children:E?"Creating…":s.trim()?"Create & start":"Create empty workspace"})})]}),document.body)}function G_({query:e,live:r,selectedId:a,onOpen:i}){const s=wb(e.trim(),250),{data:x,isError:u,error:f,isFetching:d}=Sb(s),h=z.useMemo(()=>zD(e),[e]),E=z.useMemo(()=>{const y=new Map;if(h.length)for(const C of r){const A=[In(C),C.branch,C.repo_name,C.directory_name,C.session_title].filter(Boolean).join(" ").toLowerCase();h.every(b=>A.includes(b))&&y.set(C.id,{workspace:C,archived:!1,sessionId:null,snippets:[],hits:0})}for(const C of x?.results??[]){const A=y.get(C.workspace.id);if(A){A.sessionId=C.sessionId,A.snippets=C.snippets,A.hits=C.hits;continue}y.set(C.workspace.id,{workspace:C.workspace,archived:C.workspace.archived,sessionId:C.sessionId,snippets:C.snippets,hits:C.hits})}return[...y.values()]},[r,x,h]),p=x?.index;return g.jsxs(g.Fragment,{children:[p&&!p.ready?g.jsxs("p",{className:"px-1 pb-2 text-xs text-faint",children:["Indexing chats… ",Math.round(p.progress*100),"% — older conversations aren’t searchable yet."]}):null,p?.error?g.jsxs("p",{className:"px-1 pb-2 text-xs text-del",children:["Chat index unavailable (",p.error,") — searching names only."]}):null,u?g.jsxs("p",{className:"px-1 pb-2 text-xs text-del",children:["Chat search unavailable (",f?.message,") — showing name matches only."]}):null,E.length===0?d||s!==e.trim()?g.jsx(ha,{}):u?null:g.jsxs(Lt,{children:["Nothing matches “",e.trim(),"”."]}):g.jsx("ul",{className:"flex flex-col gap-2 pb-2",children:E.map(y=>g.jsx("li",{className:"fade-in",children:g.jsx(Y_,{row:y,tokens:h,selected:y.workspace.id===a,onOpen:i})},y.workspace.id))})]})}const Q_="card w-full flex-col items-stretch gap-0";function Y_({row:e,tokens:r,selected:a,onOpen:i}){const s=e.workspace,x=s.directory_name?.toLowerCase(),u=`${In(s)} ${s.branch??""} ${s.repo_name??""}`.toLowerCase(),f=!!x&&r.some(h=>x.includes(h)&&!u.includes(h)),d=g.jsxs(g.Fragment,{children:[g.jsxs("div",{className:"flex items-start gap-3",children:[g.jsx(wo,{icon:s.icon,name:s.repo_name||In(s)}),g.jsxs("div",{className:"min-w-0 flex-1 overflow-hidden",children:[g.jsxs("div",{className:"flex items-center gap-2",children:[g.jsx("span",{className:"min-w-0 flex-1 truncate font-medium text-text",children:In(s)}),e.archived?g.jsx("span",{className:"shrink-0 rounded-md bg-surface-2 px-1.5 py-0.5 text-[10px] font-semibold uppercase tracking-wide text-faint",children:"Archived"}):null]}),g.jsxs("div",{className:"mt-1 flex min-w-0 items-center gap-2 text-xs text-muted",children:[s.repo_name?g.jsx("span",{className:"shrink-0 font-mono text-faint",children:s.repo_name}):null,s.branch?g.jsx(Fo,{className:"min-w-0 flex-1 truncate",children:s.branch}):null,f?g.jsxs(Fo,{className:"shrink-0 text-faint",children:["dir ",s.directory_name]}):null,g.jsx("span",{className:"ml-auto shrink-0 pl-2 text-[11px] text-faint",children:Nc(s.updated_at)})]})]})]}),e.snippets.length?g.jsxs("div",{className:"mt-2 flex flex-col gap-1.5 border-l-2 border-border-soft pl-2.5",children:[e.snippets.map(h=>g.jsx(K_,{snippet:h},`${h.sessionId}:${h.at}:${h.text.slice(0,24)}`)),e.hits>e.snippets.length?g.jsxs("span",{className:"text-[11px] text-faint",children:["+",e.hits-e.snippets.length," more messages"]}):null]}):null]});return g.jsx("button",{type:"button",className:be(Q_,a&&"border-accent/50 bg-surface-2"),onClick:()=>i(s.id,e.sessionId),children:d})}const X_={user:"you",assistant:"agent",thinking:"thought"};function K_({snippet:e}){return g.jsxs("p",{className:"line-clamp-2 text-left text-xs leading-snug text-muted",children:[g.jsx("span",{className:`mr-1.5 text-[10px] uppercase tracking-wide ${e.role==="thinking"?"text-faint italic":"text-faint"}`,children:X_[e.role]}),OD(e.text).map((r,a)=>r.hit?g.jsx("mark",{className:"rounded bg-accent/25 px-0.5 text-text",children:r.text},a):g.jsx("span",{children:r.text},a))]})}function Z_({live:e,selectedId:r,onOpen:a,onClose:i}){const[s,x]=z.useState(""),u=z.useRef(null);return z.useEffect(()=>u.current?.focus(),[]),z.useEffect(()=>{const f=d=>{d.key==="Escape"&&i()};return window.addEventListener("keydown",f),()=>window.removeEventListener("keydown",f)},[i]),$o.createPortal(g.jsxs(g.Fragment,{children:[g.jsx("div",{className:"fixed inset-0 z-50 bg-black/50",onClick:i,"aria-hidden":!0}),g.jsxs("div",{role:"dialog","aria-modal":"true","aria-label":"Search workspaces and chats",className:"app-height fade-in pt-safe fixed inset-x-0 top-0 z-50 flex flex-col bg-bg md:inset-x-auto md:left-1/2 md:top-16 md:max-h-[70vh] md:w-[36rem] md:max-w-[92vw] md:-translate-x-1/2 md:rounded-2xl md:border md:border-border md:shadow-2xl",children:[g.jsxs("div",{className:"flex items-center gap-2 border-b border-border-soft px-3 py-2.5",children:[g.jsxs("div",{className:"relative min-w-0 flex-1",children:[g.jsx(F2,{size:15,className:"pointer-events-none absolute left-3 top-1/2 -translate-y-1/2 text-faint"}),g.jsx("input",{ref:u,type:"text",inputMode:"search",enterKeyHint:"search",autoCapitalize:"none",autoCorrect:"off",spellCheck:!1,value:s,onChange:f=>x(f.target.value),placeholder:"Search workspaces and chats","aria-label":"Search workspaces and chats",className:"w-full rounded-xl border border-border bg-surface py-2 pl-8 pr-9 text-sm text-text placeholder:text-faint focus:border-accent/50 focus:outline-none"}),s?g.jsx("button",{type:"button",onClick:()=>{x(""),u.current?.focus()},"aria-label":"Clear search",className:"absolute right-1 top-1/2 flex size-7 -translate-y-1/2 items-center justify-center rounded-full text-muted active:bg-surface-2",children:g.jsx(yr,{size:15})}):null]}),g.jsx("button",{type:"button",onClick:i,className:"shrink-0 rounded-full px-2 py-1.5 text-sm text-muted active:bg-surface-2",children:"Cancel"})]}),g.jsx("div",{className:"pb-safe min-h-0 flex-1 overflow-y-auto overflow-x-hidden px-3 py-3",children:s.trim()?g.jsx(G_,{query:s,live:e,selectedId:r,onOpen:a}):g.jsx(Lt,{children:"Every workspace on this Mac, archived included — by name, or by something said in the chat."})})]})]}),document.body)}function J_(e,r){return[...e].sort((a,i)=>{const s=+!!i.pinned_at-+!!a.pinned_at;return s||(r==="name"?In(a).localeCompare(In(i)):r==="created"?i.created_at.localeCompare(a.created_at):i.updated_at.localeCompare(a.updated_at))})}function W_(e,r){return r==="status"?cp(e):r==="recent"?VD(e.updated_at):e.repo_name??""}function eT(e,r){if(r==="none")return[{key:"all",label:"",items:e}];const a=new Map;for(const i of e){const s=W_(i,r),x=a.get(s);x?x.push(i):a.set(s,[i])}return r==="status"?[...qh,...[...a.keys()].filter(s=>!qh.includes(s))].filter(s=>a.has(s)).map(s=>({key:`status:${s}`,label:Ku(s),status:s,items:a.get(s)??[]})):r==="recent"?qD.filter(i=>a.has(i)).map(i=>({key:`recent:${i}`,label:ID(i),items:a.get(i)??[]})):[...a.keys()].sort((i,s)=>i.localeCompare(s)).map(i=>({key:`repo:${i}`,label:i||"No repo",items:a.get(i)??[]}))}function tT({selectedId:e}){const r=da(),a=ke(Z=>Z.setSidebarOpen),i=ke(Z=>Z.view),s=ke(Z=>Z.readMarks),x=ke(Z=>Z.toggleGroup),[u,f]=z.useState(!1),[d,h]=z.useState(!1),[E,p]=z.useState(!1),[y,C]=z.useState(!1),[A,b]=z.useState(!1),{data:D,isLoading:F,isError:O,error:w}=kc(),_=D?.workspaces??[],R=[...new Set(_.map(Z=>Z.repo_name).filter(Z=>!!Z))].sort();i.repo&&!R.includes(i.repo)&&R.push(i.repo);const k=i.repo?_.filter(Z=>Z.repo_name===i.repo):_,T=i.hideMerged?k.filter(Z=>!UD(Z)||Z.id===e):k,S=k.length-T.length,q=eT(J_(T,i.sortBy),i.groupBy),L=(Z,$=null)=>{r($?`/w/${Z}?session=${encodeURIComponent($)}`:`/w/${Z}`),a(!1)},X=!!i.repo||i.hideMerged,K=!!i.repo||S>0,ie=_.length?K?[`${T.length} of ${_.length}`,i.repo,S?`${S} merged hidden`:null].filter(Boolean).join(" · "):`${_.length} active`:void 0;return g.jsxs("div",{className:"flex h-full min-w-0 flex-col overflow-hidden",children:[g.jsxs("div",{className:"relative",children:[g.jsx(So,{title:"Workspaces",subtitle:ie,right:g.jsxs(g.Fragment,{children:[g.jsx("button",{type:"button",onClick:()=>b(!0),"aria-label":"Search workspaces and chats",className:"flex size-9 shrink-0 items-center justify-center rounded-full text-muted active:bg-surface-2",children:g.jsx(F2,{size:18})}),g.jsxs("button",{type:"button",onClick:()=>f(Z=>!Z),"aria-label":"View options",className:"relative flex size-9 shrink-0 items-center justify-center rounded-full text-muted active:bg-surface-2",children:[g.jsx(LB,{size:18}),X?g.jsx("span",{className:"absolute right-1.5 top-1.5 size-1.5 rounded-full bg-accent"}):null]}),g.jsx("button",{type:"button",onClick:()=>h(!0),"aria-label":"Connect a device",className:"flex size-9 shrink-0 items-center justify-center rounded-full text-muted active:bg-surface-2",children:g.jsx(k2,{size:18})}),g.jsx("button",{type:"button",onClick:()=>p(!0),"aria-label":"New workspace",className:"-mr-1 flex size-9 shrink-0 items-center justify-center rounded-full text-text active:bg-surface-2",children:g.jsx(v2,{size:20})})]})}),u?g.jsx(rT,{repos:R,view:i,onClose:()=>f(!1)}):null]}),g.jsx("nav",{className:"pb-safe min-w-0 flex-1 overflow-y-auto overflow-x-hidden px-3 py-3",children:F&&!D?g.jsx(ha,{label:"Loading workspaces…"}):O?g.jsx(JD,{error:w}):_.length===0?g.jsx(Lt,{children:"No active workspaces. Start one in Conductor and it’ll appear here."}):T.length===0?g.jsxs(Lt,{children:[i.repo?`No workspaces in ${i.repo}`:"No workspaces",S?` — ${S} merged ${S===1?"one is":"ones are"} hidden.`:"."]}):q.map(Z=>{const $=!!Z.label&&i.collapsed.includes(Z.key);return g.jsxs("section",{children:[Z.label?g.jsxs("button",{type:"button",onClick:()=>x(Z.key),className:"flex w-full items-center gap-2 px-1 py-2 text-sm font-semibold",children:[g.jsx(nT,{status:Z.status}),g.jsx("span",{className:"truncate",children:Z.label}),$?g.jsx("span",{className:"font-normal text-muted text-xs",children:Z.items.length}):null,g.jsx(Po,{size:14,className:be("ml-auto shrink-0 text-faint transition-transform",$&&"-rotate-90")})]}):null,$?null:g.jsx("ul",{className:"flex flex-col gap-2 pb-2",children:Z.items.map(P=>{const Y=cb(P,s);return g.jsx("li",{className:"fade-in",children:g.jsx("button",{type:"button",className:be("card w-full",P.id===e?"border-accent/50 bg-surface-2":Y&&"border-l-accent"),onClick:()=>L(P.id),children:g.jsx(lT,{w:P,unread:Y,selected:P.id===e})})},P.id)})})]},Z.key)})}),d?g.jsx(T_,{version:D?.version,onLogs:()=>{h(!1),C(!0)},onClose:()=>h(!1)}):null,E?g.jsx($_,{onClose:()=>p(!1)}):null,A?g.jsx(Z_,{live:_,selectedId:e,onOpen:(Z,$)=>{b(!1),L(Z,$)},onClose:()=>b(!1)}):null,y?g.jsx(q_,{onClose:()=>C(!1)}):null]})}function nT({status:e}){if(!e)return null;const r=Sc[e];return r?g.jsx("span",{className:"dot size-2",style:{background:r}}):g.jsx("span",{className:"dot size-2 border border-faint bg-transparent"})}function rT({repos:e,view:r,onClose:a}){const i=ke(s=>s.setView);return g.jsxs(g.Fragment,{children:[g.jsx("div",{className:"fixed inset-0 z-20",onClick:a,"aria-hidden":!0}),g.jsxs("div",{className:"fade-in absolute right-2 top-full z-30 mt-1 flex w-64 flex-col gap-2.5 rounded-2xl border border-border bg-surface p-3 shadow-xl",children:[g.jsx(ho,{id:"view-group",label:"Group by",children:g.jsx(Lu,{id:"view-group",value:r.groupBy,onChange:s=>i({groupBy:s}),options:[["status","Status"],["recent","Recent"],["repo","Repo"],["none","None"]]})}),g.jsx(ho,{id:"view-repo",label:"Repo",children:g.jsx(Lu,{id:"view-repo",value:r.repo??"all",onChange:s=>i({repo:s==="all"?null:s}),options:[["all","All repos"],...e.map(s=>[s,s])]})}),g.jsx(ho,{id:"view-sort",label:"Sort by",children:g.jsx(Lu,{id:"view-sort",value:r.sortBy,onChange:s=>i({sortBy:s}),options:[["updated","Updated"],["created","Created"],["name","Name"]]})}),g.jsx(ho,{id:"view-hide-merged",label:"Hide merged",children:g.jsx(aT,{id:"view-hide-merged",checked:r.hideMerged,label:"Hide workspaces whose PR has merged",onChange:s=>i({hideMerged:s})})}),g.jsx("p",{className:"-mt-1 text-faint text-xs",children:"By the PR on GitHub, which can trail a merge by up to a minute — not by Conductor’s status."})]})]})}function aT({id:e,checked:r,label:a,onChange:i}){return g.jsx("button",{id:e,type:"button",role:"switch","aria-checked":r,"aria-label":a,onClick:()=>i(!r),className:be("relative h-6 w-11 shrink-0 rounded-full transition-colors",r?"bg-accent":"border border-border bg-surface-2"),children:g.jsx("span",{className:be("absolute left-0.5 top-0.5 size-5 rounded-full bg-white transition-transform",r?"translate-x-5":"translate-x-0")})})}function ho({id:e,label:r,children:a}){return g.jsxs("div",{className:"flex items-center justify-between gap-3 text-sm text-muted",children:[g.jsx("label",{htmlFor:e,children:r}),a]})}function Lu({id:e,value:r,options:a,onChange:i}){return g.jsx("select",{id:e,value:r,onChange:s=>i(s.target.value),className:"max-w-36 truncate rounded-lg border border-border bg-surface-2 px-2 py-1.5 text-sm text-text [color-scheme:dark]",children:a.map(([s,x])=>g.jsx("option",{value:s,children:x},s))})}function lT({w:e,unread:r,selected:a}){const i=Mc(e.model);return g.jsxs(g.Fragment,{children:[g.jsxs("div",{className:"relative shrink-0 self-start",children:[g.jsx(wo,{icon:e.icon,name:e.repo_name||In(e)}),g.jsx(YD,{w:e,className:"absolute -right-0.5 -bottom-0.5 bg-surface ring-2 ring-surface"})]}),g.jsxs("div",{className:"min-w-0 flex-1 overflow-hidden",children:[g.jsxs("div",{className:"flex items-center gap-2",children:[g.jsx("span",{className:be("min-w-0 flex-1 truncate",r?"font-bold":"font-medium",r||a?"text-text":"text-muted"),children:In(e)}),up(e)?g.jsx("span",{className:"shrink-0 rounded-md bg-working/15 px-1.5 py-0.5 text-[10px] font-semibold uppercase tracking-wide text-working",children:"Setting up"}):null,e.pinned_at?g.jsx("span",{className:"shrink-0 text-xs text-faint",children:"📌"}):null,r>1?g.jsx(ZD,{children:r}):r?g.jsx("span",{className:"dot size-2 bg-accent"}):null]}),g.jsxs("div",{className:"mt-1 flex min-w-0 items-center gap-2 text-xs text-muted",children:[e.repo_name?g.jsx("span",{className:"shrink-0 font-mono text-faint",children:e.repo_name}):null,e.branch?g.jsx(Fo,{className:"min-w-0 flex-1 truncate",children:e.branch}):null]}),g.jsxs("div",{className:"mt-1 flex min-w-0 items-center gap-2 text-xs text-muted",children:[i?g.jsx(Fo,{children:i}):null,g.jsx("span",{className:"ml-auto shrink-0 pl-2 text-[11px] text-faint",children:Nc(e.updated_at)})]})]})]})}function iT(){kb();const e=ke(r=>r.token);return g.jsxs(g.Fragment,{children:[g.jsx(Cb,{}),e?g.jsxs(L4,{children:[g.jsxs(yl,{element:g.jsx(oT,{}),children:[g.jsx(yl,{index:!0,element:g.jsx(sT,{})}),g.jsx(yl,{path:"/w/:workspaceId",element:g.jsx(f_,{})})]}),g.jsx(yl,{path:"*",element:g.jsx(j4,{to:"/",replace:!0})})]}):g.jsx(A_,{})]})}function oT(){const e=E4("/w/:workspaceId"),r=ke(s=>s.sidebarOpen),a=ke(s=>s.setSidebarOpen),i=z.useRef(null);return vb(i),Ub(),Rb(),g.jsxs("div",{className:"flex h-full overflow-hidden",children:[r?g.jsx("div",{className:"fixed inset-0 z-40 bg-black/50 md:hidden",onClick:()=>a(!1),"aria-hidden":!0}):null,g.jsx("aside",{ref:i,className:be("fixed inset-y-0 left-0 z-50 flex w-[85%] max-w-80 flex-col border-r border-border-soft bg-bg transition-transform duration-200 ease-out","md:static md:z-auto md:w-72 md:max-w-none md:shrink-0 md:translate-x-0 md:transition-none lg:w-80",r?"translate-x-0":"-translate-x-full"),children:g.jsx(tT,{selectedId:e?.params.workspaceId})}),g.jsx("main",{className:"flex min-w-0 flex-1 flex-col",children:g.jsx(R4,{})})]})}function sT(){const e=ke(r=>r.setSidebarOpen);return g.jsxs("div",{className:"grid h-full place-items-center",children:[g.jsx("button",{type:"button",onClick:()=>e(!0),className:"pill pill-active md:hidden",children:"Browse workspaces"}),g.jsx("span",{className:"hidden text-sm text-muted md:block",children:"Select a workspace"})]})}navigator.storage?.persist&&navigator.storage.persist().catch(()=>{});const xT=new p6({defaultOptions:{queries:{staleTime:1e3,retry:1,refetchOnWindowFocus:!0}}}),km=document.getElementById("root");if(!km)throw new Error("#root missing");z6.createRoot(km).render(g.jsx(z.StrictMode,{children:g.jsx(E6,{client:xT,children:g.jsx(x7,{children:g.jsx(iT,{})})})}));
40
+ `))}function d(C,A,b,D){const F=b.enter("tableCell"),O=b.enter("phrasing"),w=b.containerPhrasing(C,{...D,before:x,after:x});return O(),F(),w}function h(C,A){return tM(C,{align:A,alignDelimiters:i,padding:a,stringLength:s})}function E(C,A,b){const D=C.children;let F=-1;const O=[],w=A.enter("table");for(;++F<D.length;)O[F]=p(D[F],A,b);return w(),O}function p(C,A,b){const D=C.children;let F=-1;const O=[],w=A.enter("tableRow");for(;++F<D.length;)O[F]=d(D[F],C,A,b);return w(),O}function y(C,A,b){let D=cm.inlineCode(C,A,b);return b.stack.includes("tableCell")&&(D=D.replace(/\|/g,"\\$&")),D}}function qM(){return{exit:{taskListCheckValueChecked:N8,taskListCheckValueUnchecked:N8,paragraph:VM}}}function IM(){return{unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:$M}}}function N8(e){const r=this.stack[this.stack.length-2];r.type,r.checked=e.type==="taskListCheckValueChecked"}function VM(e){const r=this.stack[this.stack.length-2];if(r&&r.type==="listItem"&&typeof r.checked=="boolean"){const a=this.stack[this.stack.length-1];a.type;const i=a.children[0];if(i&&i.type==="text"){const s=r.children;let x=-1,u;for(;++x<s.length;){const f=s[x];if(f.type==="paragraph"){u=f;break}}u===a&&(i.value=i.value.slice(1),i.value.length===0?a.children.shift():a.position&&i.position&&typeof i.position.start.offset=="number"&&(i.position.start.column++,i.position.start.offset++,a.position.start=Object.assign({},i.position.start)))}}this.exit(e)}function $M(e,r,a,i){const s=e.children[0],x=typeof e.checked=="boolean"&&s&&s.type==="paragraph",u="["+(e.checked?"x":" ")+"] ",f=a.createTracker(i);x&&f.move(u);let d=cm.listItem(e,r,a,{...i,...f.current()});return x&&(d=d.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,h)),d;function h(E){return E+u}}function GM(){return[DS(),$S(),XS(),jM(),qM()]}function QM(e){return{extensions:[vS(),GS(e),KS(),HM(e),IM()]}}const YM={tokenize:eN,partial:!0},fm={tokenize:tN,partial:!0},dm={tokenize:nN,partial:!0},hm={tokenize:rN,partial:!0},XM={tokenize:aN,partial:!0},pm={name:"wwwAutolink",tokenize:JM,previous:Em},mm={name:"protocolAutolink",tokenize:WM,previous:Cm},d0={name:"emailAutolink",tokenize:ZM,previous:ym},Vn={};function KM(){return{text:Vn}}let cr=48;for(;cr<123;)Vn[cr]=d0,cr++,cr===58?cr=65:cr===91&&(cr=97);Vn[43]=d0;Vn[45]=d0;Vn[46]=d0;Vn[95]=d0;Vn[72]=[d0,mm];Vn[104]=[d0,mm];Vn[87]=[d0,pm];Vn[119]=[d0,pm];function ZM(e,r,a){const i=this;let s,x;return u;function u(p){return!oc(p)||!ym.call(i,i.previous)||Xc(i.events)?a(p):(e.enter("literalAutolink"),e.enter("literalAutolinkEmail"),f(p))}function f(p){return oc(p)?(e.consume(p),f):p===64?(e.consume(p),d):a(p)}function d(p){return p===46?e.check(XM,E,h)(p):p===45||p===95||Nt(p)?(x=!0,e.consume(p),d):E(p)}function h(p){return e.consume(p),s=!0,d}function E(p){return x&&s&&Ot(i.previous)?(e.exit("literalAutolinkEmail"),e.exit("literalAutolink"),r(p)):a(p)}}function JM(e,r,a){const i=this;return s;function s(u){return u!==87&&u!==119||!Em.call(i,i.previous)||Xc(i.events)?a(u):(e.enter("literalAutolink"),e.enter("literalAutolinkWww"),e.check(YM,e.attempt(fm,e.attempt(dm,x),a),a)(u))}function x(u){return e.exit("literalAutolinkWww"),e.exit("literalAutolink"),r(u)}}function WM(e,r,a){const i=this;let s="",x=!1;return u;function u(p){return(p===72||p===104)&&Cm.call(i,i.previous)&&!Xc(i.events)?(e.enter("literalAutolink"),e.enter("literalAutolinkHttp"),s+=String.fromCodePoint(p),e.consume(p),f):a(p)}function f(p){if(Ot(p)&&s.length<5)return s+=String.fromCodePoint(p),e.consume(p),f;if(p===58){const y=s.toLowerCase();if(y==="http"||y==="https")return e.consume(p),d}return a(p)}function d(p){return p===47?(e.consume(p),x?h:(x=!0,d)):a(p)}function h(p){return p===null||Mo(p)||We(p)||Er(p)||Uo(p)?a(p):e.attempt(fm,e.attempt(dm,E),a)(p)}function E(p){return e.exit("literalAutolinkHttp"),e.exit("literalAutolink"),r(p)}}function eN(e,r,a){let i=0;return s;function s(u){return(u===87||u===119)&&i<3?(i++,e.consume(u),s):u===46&&i===3?(e.consume(u),x):a(u)}function x(u){return u===null?a(u):r(u)}}function tN(e,r,a){let i,s,x;return u;function u(h){return h===46||h===95?e.check(hm,d,f)(h):h===null||We(h)||Er(h)||h!==45&&Uo(h)?d(h):(x=!0,e.consume(h),u)}function f(h){return h===95?i=!0:(s=i,i=void 0),e.consume(h),u}function d(h){return s||i||!x?a(h):r(h)}}function nN(e,r){let a=0,i=0;return s;function s(u){return u===40?(a++,e.consume(u),s):u===41&&i<a?x(u):u===33||u===34||u===38||u===39||u===41||u===42||u===44||u===46||u===58||u===59||u===60||u===63||u===93||u===95||u===126?e.check(hm,r,x)(u):u===null||We(u)||Er(u)?r(u):(e.consume(u),s)}function x(u){return u===41&&i++,e.consume(u),s}}function rN(e,r,a){return i;function i(f){return f===33||f===34||f===39||f===41||f===42||f===44||f===46||f===58||f===59||f===63||f===95||f===126?(e.consume(f),i):f===38?(e.consume(f),x):f===93?(e.consume(f),s):f===60||f===null||We(f)||Er(f)?r(f):a(f)}function s(f){return f===null||f===40||f===91||We(f)||Er(f)?r(f):i(f)}function x(f){return Ot(f)?u(f):a(f)}function u(f){return f===59?(e.consume(f),i):Ot(f)?(e.consume(f),u):a(f)}}function aN(e,r,a){return i;function i(x){return e.consume(x),s}function s(x){return Nt(x)?a(x):r(x)}}function Em(e){return e===null||e===40||e===42||e===95||e===91||e===93||e===126||We(e)}function Cm(e){return!Ot(e)}function ym(e){return!(e===47||oc(e))}function oc(e){return e===43||e===45||e===46||e===95||Nt(e)}function Xc(e){let r=e.length,a=!1;for(;r--;){const i=e[r][1];if((i.type==="labelLink"||i.type==="labelImage")&&!i._balanced){a=!0;break}if(i._gfmAutolinkLiteralWalkedInto){a=!1;break}}return e.length>0&&!a&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),a}const lN={tokenize:dN,partial:!0};function iN(){return{document:{91:{name:"gfmFootnoteDefinition",tokenize:uN,continuation:{tokenize:cN},exit:fN}},text:{91:{name:"gfmFootnoteCall",tokenize:xN},93:{name:"gfmPotentialFootnoteCall",add:"after",tokenize:oN,resolveTo:sN}}}}function oN(e,r,a){const i=this;let s=i.events.length;const x=i.parser.gfmFootnotes||(i.parser.gfmFootnotes=[]);let u;for(;s--;){const d=i.events[s][1];if(d.type==="labelImage"){u=d;break}if(d.type==="gfmFootnoteCall"||d.type==="labelLink"||d.type==="label"||d.type==="image"||d.type==="link")break}return f;function f(d){if(!u||!u._balanced)return a(d);const h=Tn(i.sliceSerialize({start:u.end,end:i.now()}));return h.codePointAt(0)!==94||!x.includes(h.slice(1))?a(d):(e.enter("gfmFootnoteCallLabelMarker"),e.consume(d),e.exit("gfmFootnoteCallLabelMarker"),r(d))}}function sN(e,r){let a=e.length;for(;a--;)if(e[a][1].type==="labelImage"&&e[a][0]==="enter"){e[a][1];break}e[a+1][1].type="data",e[a+3][1].type="gfmFootnoteCallLabelMarker";const i={type:"gfmFootnoteCall",start:Object.assign({},e[a+3][1].start),end:Object.assign({},e[e.length-1][1].end)},s={type:"gfmFootnoteCallMarker",start:Object.assign({},e[a+3][1].end),end:Object.assign({},e[a+3][1].end)};s.end.column++,s.end.offset++,s.end._bufferIndex++;const x={type:"gfmFootnoteCallString",start:Object.assign({},s.end),end:Object.assign({},e[e.length-1][1].start)},u={type:"chunkString",contentType:"string",start:Object.assign({},x.start),end:Object.assign({},x.end)},f=[e[a+1],e[a+2],["enter",i,r],e[a+3],e[a+4],["enter",s,r],["exit",s,r],["enter",x,r],["enter",u,r],["exit",u,r],["exit",x,r],e[e.length-2],e[e.length-1],["exit",i,r]];return e.splice(a,e.length-a+1,...f),e}function xN(e,r,a){const i=this,s=i.parser.gfmFootnotes||(i.parser.gfmFootnotes=[]);let x=0,u;return f;function f(p){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(p),e.exit("gfmFootnoteCallLabelMarker"),d}function d(p){return p!==94?a(p):(e.enter("gfmFootnoteCallMarker"),e.consume(p),e.exit("gfmFootnoteCallMarker"),e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",h)}function h(p){if(x>999||p===93&&!u||p===null||p===91||We(p))return a(p);if(p===93){e.exit("chunkString");const y=e.exit("gfmFootnoteCallString");return s.includes(Tn(i.sliceSerialize(y)))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(p),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),r):a(p)}return We(p)||(u=!0),x++,e.consume(p),p===92?E:h}function E(p){return p===91||p===92||p===93?(e.consume(p),x++,h):h(p)}}function uN(e,r,a){const i=this,s=i.parser.gfmFootnotes||(i.parser.gfmFootnotes=[]);let x,u=0,f;return d;function d(A){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(A),e.exit("gfmFootnoteDefinitionLabelMarker"),h}function h(A){return A===94?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(A),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),e.enter("chunkString").contentType="string",E):a(A)}function E(A){if(u>999||A===93&&!f||A===null||A===91||We(A))return a(A);if(A===93){e.exit("chunkString");const b=e.exit("gfmFootnoteDefinitionLabelString");return x=Tn(i.sliceSerialize(b)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(A),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),y}return We(A)||(f=!0),u++,e.consume(A),A===92?p:E}function p(A){return A===91||A===92||A===93?(e.consume(A),u++,E):E(A)}function y(A){return A===58?(e.enter("definitionMarker"),e.consume(A),e.exit("definitionMarker"),s.includes(x)||s.push(x),Le(e,C,"gfmFootnoteDefinitionWhitespace")):a(A)}function C(A){return r(A)}}function cN(e,r,a){return e.check(Ll,r,e.attempt(lN,r,a))}function fN(e){e.exit("gfmFootnoteDefinition")}function dN(e,r,a){const i=this;return Le(e,s,"gfmFootnoteDefinitionIndent",5);function s(x){const u=i.events[i.events.length-1];return u&&u[1].type==="gfmFootnoteDefinitionIndent"&&u[2].sliceSerialize(u[1],!0).length===4?r(x):a(x)}}function hN(e){let a=(e||{}).singleTilde;const i={name:"strikethrough",tokenize:x,resolveAll:s};return a==null&&(a=!0),{text:{126:i},insideSpan:{null:[i]},attentionMarkers:{null:[126]}};function s(u,f){let d=-1;for(;++d<u.length;)if(u[d][0]==="enter"&&u[d][1].type==="strikethroughSequenceTemporary"&&u[d][1]._close){let h=d;for(;h--;)if(u[h][0]==="exit"&&u[h][1].type==="strikethroughSequenceTemporary"&&u[h][1]._open&&u[d][1].end.offset-u[d][1].start.offset===u[h][1].end.offset-u[h][1].start.offset){u[d][1].type="strikethroughSequence",u[h][1].type="strikethroughSequence";const E={type:"strikethrough",start:Object.assign({},u[h][1].start),end:Object.assign({},u[d][1].end)},p={type:"strikethroughText",start:Object.assign({},u[h][1].end),end:Object.assign({},u[d][1].start)},y=[["enter",E,f],["enter",u[h][1],f],["exit",u[h][1],f],["enter",p,f]],C=f.parser.constructs.insideSpan.null;C&&un(y,y.length,0,Ho(C,u.slice(h+1,d),f)),un(y,y.length,0,[["exit",p,f],["enter",u[d][1],f],["exit",u[d][1],f],["exit",E,f]]),un(u,h-1,d-h+3,y),d=h+y.length-2;break}}for(d=-1;++d<u.length;)u[d][1].type==="strikethroughSequenceTemporary"&&(u[d][1].type="data");return u}function x(u,f,d){const h=this.previous,E=this.events;let p=0;return y;function y(A){return h===126&&E[E.length-1][1].type!=="characterEscape"?d(A):(u.enter("strikethroughSequenceTemporary"),C(A))}function C(A){const b=ua(h);if(A===126)return p>1?d(A):(u.consume(A),p++,C);if(p<2&&!a)return d(A);const D=u.exit("strikethroughSequenceTemporary"),F=ua(A);return D._open=!F||F===2&&!!b,D._close=!b||b===2&&!!F,f(A)}}}class pN{constructor(){this.map=[]}add(r,a,i){mN(this,r,a,i)}consume(r){if(this.map.sort(function(x,u){return x[0]-u[0]}),this.map.length===0)return;let a=this.map.length;const i=[];for(;a>0;)a-=1,i.push(r.slice(this.map[a][0]+this.map[a][1]),this.map[a][2]),r.length=this.map[a][0];i.push(r.slice()),r.length=0;let s=i.pop();for(;s;){for(const x of s)r.push(x);s=i.pop()}this.map.length=0}}function mN(e,r,a,i){let s=0;if(!(a===0&&i.length===0)){for(;s<e.map.length;){if(e.map[s][0]===r){e.map[s][1]+=a,e.map[s][2].push(...i);return}s+=1}e.map.push([r,a,i])}}function EN(e,r){let a=!1;const i=[];for(;r<e.length;){const s=e[r];if(a){if(s[0]==="enter")s[1].type==="tableContent"&&i.push(e[r+1][1].type==="tableDelimiterMarker"?"left":"none");else if(s[1].type==="tableContent"){if(e[r-1][1].type==="tableDelimiterMarker"){const x=i.length-1;i[x]=i[x]==="left"?"center":"right"}}else if(s[1].type==="tableDelimiterRow")break}else s[0]==="enter"&&s[1].type==="tableDelimiterRow"&&(a=!0);r+=1}return i}function CN(){return{flow:{null:{name:"table",tokenize:yN,resolveAll:gN}}}}function yN(e,r,a){const i=this;let s=0,x=0,u;return f;function f(L){let X=i.events.length-1;for(;X>-1;){const Z=i.events[X][1].type;if(Z==="lineEnding"||Z==="linePrefix")X--;else break}const K=X>-1?i.events[X][1].type:null,ie=K==="tableHead"||K==="tableRow"?k:d;return ie===k&&i.parser.lazy[i.now().line]?a(L):ie(L)}function d(L){return e.enter("tableHead"),e.enter("tableRow"),h(L)}function h(L){return L===124||(u=!0,x+=1),E(L)}function E(L){return L===null?a(L):ge(L)?x>1?(x=0,i.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(L),e.exit("lineEnding"),C):a(L):ze(L)?Le(e,E,"whitespace")(L):(x+=1,u&&(u=!1,s+=1),L===124?(e.enter("tableCellDivider"),e.consume(L),e.exit("tableCellDivider"),u=!0,E):(e.enter("data"),p(L)))}function p(L){return L===null||L===124||We(L)?(e.exit("data"),E(L)):(e.consume(L),L===92?y:p)}function y(L){return L===92||L===124?(e.consume(L),p):p(L)}function C(L){return i.interrupt=!1,i.parser.lazy[i.now().line]?a(L):(e.enter("tableDelimiterRow"),u=!1,ze(L)?Le(e,A,"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(L):A(L))}function A(L){return L===45||L===58?D(L):L===124?(u=!0,e.enter("tableCellDivider"),e.consume(L),e.exit("tableCellDivider"),b):R(L)}function b(L){return ze(L)?Le(e,D,"whitespace")(L):D(L)}function D(L){return L===58?(x+=1,u=!0,e.enter("tableDelimiterMarker"),e.consume(L),e.exit("tableDelimiterMarker"),F):L===45?(x+=1,F(L)):L===null||ge(L)?_(L):R(L)}function F(L){return L===45?(e.enter("tableDelimiterFiller"),O(L)):R(L)}function O(L){return L===45?(e.consume(L),O):L===58?(u=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),e.consume(L),e.exit("tableDelimiterMarker"),w):(e.exit("tableDelimiterFiller"),w(L))}function w(L){return ze(L)?Le(e,_,"whitespace")(L):_(L)}function _(L){return L===124?A(L):L===null||ge(L)?!u||s!==x?R(L):(e.exit("tableDelimiterRow"),e.exit("tableHead"),r(L)):R(L)}function R(L){return a(L)}function k(L){return e.enter("tableRow"),T(L)}function T(L){return L===124?(e.enter("tableCellDivider"),e.consume(L),e.exit("tableCellDivider"),T):L===null||ge(L)?(e.exit("tableRow"),r(L)):ze(L)?Le(e,T,"whitespace")(L):(e.enter("data"),S(L))}function S(L){return L===null||L===124||We(L)?(e.exit("data"),T(L)):(e.consume(L),L===92?q:S)}function q(L){return L===92||L===124?(e.consume(L),S):S(L)}}function gN(e,r){let a=-1,i=!0,s=0,x=[0,0,0,0],u=[0,0,0,0],f=!1,d=0,h,E,p;const y=new pN;for(;++a<e.length;){const C=e[a],A=C[1];C[0]==="enter"?A.type==="tableHead"?(f=!1,d!==0&&(_8(y,r,d,h,E),E=void 0,d=0),h={type:"table",start:Object.assign({},A.start),end:Object.assign({},A.end)},y.add(a,0,[["enter",h,r]])):A.type==="tableRow"||A.type==="tableDelimiterRow"?(i=!0,p=void 0,x=[0,0,0,0],u=[0,a+1,0,0],f&&(f=!1,E={type:"tableBody",start:Object.assign({},A.start),end:Object.assign({},A.end)},y.add(a,0,[["enter",E,r]])),s=A.type==="tableDelimiterRow"?2:E?3:1):s&&(A.type==="data"||A.type==="tableDelimiterMarker"||A.type==="tableDelimiterFiller")?(i=!1,u[2]===0&&(x[1]!==0&&(u[0]=u[1],p=uo(y,r,x,s,void 0,p),x=[0,0,0,0]),u[2]=a)):A.type==="tableCellDivider"&&(i?i=!1:(x[1]!==0&&(u[0]=u[1],p=uo(y,r,x,s,void 0,p)),x=u,u=[x[1],a,0,0])):A.type==="tableHead"?(f=!0,d=a):A.type==="tableRow"||A.type==="tableDelimiterRow"?(d=a,x[1]!==0?(u[0]=u[1],p=uo(y,r,x,s,a,p)):u[1]!==0&&(p=uo(y,r,u,s,a,p)),s=0):s&&(A.type==="data"||A.type==="tableDelimiterMarker"||A.type==="tableDelimiterFiller")&&(u[3]=a)}for(d!==0&&_8(y,r,d,h,E),y.consume(r.events),a=-1;++a<r.events.length;){const C=r.events[a];C[0]==="enter"&&C[1].type==="table"&&(C[1]._align=EN(r.events,a))}return e}function uo(e,r,a,i,s,x){const u=i===1?"tableHeader":i===2?"tableDelimiter":"tableData",f="tableContent";a[0]!==0&&(x.end=Object.assign({},sa(r.events,a[0])),e.add(a[0],0,[["exit",x,r]]));const d=sa(r.events,a[1]);if(x={type:u,start:Object.assign({},d),end:Object.assign({},d)},e.add(a[1],0,[["enter",x,r]]),a[2]!==0){const h=sa(r.events,a[2]),E=sa(r.events,a[3]),p={type:f,start:Object.assign({},h),end:Object.assign({},E)};if(e.add(a[2],0,[["enter",p,r]]),i!==2){const y=r.events[a[2]],C=r.events[a[3]];if(y[1].end=Object.assign({},C[1].end),y[1].type="chunkText",y[1].contentType="text",a[3]>a[2]+1){const A=a[2]+1,b=a[3]-a[2]-1;e.add(A,b,[])}}e.add(a[3]+1,0,[["exit",p,r]])}return s!==void 0&&(x.end=Object.assign({},sa(r.events,s)),e.add(s,0,[["exit",x,r]]),x=void 0),x}function _8(e,r,a,i,s){const x=[],u=sa(r.events,a);s&&(s.end=Object.assign({},u),x.push(["exit",s,r])),i.end=Object.assign({},u),x.push(["exit",i,r]),e.add(a+1,0,x)}function sa(e,r){const a=e[r],i=a[0]==="enter"?"start":"end";return a[1][i]}const BN={name:"tasklistCheck",tokenize:bN};function AN(){return{text:{91:BN}}}function bN(e,r,a){const i=this;return s;function s(d){return i.previous!==null||!i._gfmTasklistFirstContentOfListItem?a(d):(e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(d),e.exit("taskListCheckMarker"),x)}function x(d){return We(d)?(e.enter("taskListCheckValueUnchecked"),e.consume(d),e.exit("taskListCheckValueUnchecked"),u):d===88||d===120?(e.enter("taskListCheckValueChecked"),e.consume(d),e.exit("taskListCheckValueChecked"),u):a(d)}function u(d){return d===93?(e.enter("taskListCheckMarker"),e.consume(d),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),f):a(d)}function f(d){return ge(d)?r(d):ze(d)?e.check({tokenize:DN},r,a)(d):a(d)}}function DN(e,r,a){return Le(e,i,"whitespace");function i(s){return s===null?a(s):r(s)}}function vN(e){return wp([KM(),iN(),hN(e),CN(),AN()])}const kN={};function FN(e){const r=this,a=e||kN,i=r.data(),s=i.micromarkExtensions||(i.micromarkExtensions=[]),x=i.fromMarkdownExtensions||(i.fromMarkdownExtensions=[]),u=i.toMarkdownExtensions||(i.toMarkdownExtensions=[]);s.push(vN(a)),x.push(GM()),u.push(QM(a))}const wN=[FN,bS],xa=z.memo(function({children:r}){return g.jsx("div",{className:"md",children:g.jsx(fS,{remarkPlugins:wN,children:r})})}),SN=2500,gm=12,MN=2,NN=gm+8,_N=2,TN=1.1,zN=200,jN=420,RN=.6,Bm=()=>window.matchMedia("(prefers-reduced-motion: reduce)").matches,Ru=(e,r,a)=>Math.min(a,Math.max(r,e)),ON=e=>e.scrollHeight-e.clientHeight-e.scrollTop<=_N?e.scrollTop+e.clientHeight:e.scrollTop+NN,LN=(e,r)=>e.length===r.length&&e.every((a,i)=>a.top===r[i].top&&a.preview===r[i].preview);function PN(e,r,a){const i=Ru(r,0,e.scrollHeight-e.clientHeight);if(Bm())return e.scrollTop=i,a(),()=>{};const s=e.clientHeight*TN;Math.abs(i-e.scrollTop)>s&&(e.scrollTop=Ru(i+Math.sign(e.scrollTop-i)*s,0,e.scrollHeight-e.clientHeight));const x=e.scrollTop,u=i-x;if(!u)return a(),()=>{};const f=Ru(Math.abs(u)*RN,zN,jN),d=performance.now();let h=0,E=!1;const p=()=>{E||(E=!0,cancelAnimationFrame(h),e.removeEventListener("touchstart",p),e.removeEventListener("wheel",p))};e.addEventListener("touchstart",p,{passive:!0}),e.addEventListener("wheel",p,{passive:!0});const y=C=>{const A=Math.min(1,(C-d)/f);if(e.scrollTop=x+u*(1-(1-A)**5),A<1){h=requestAnimationFrame(y);return}p(),a()};return h=requestAnimationFrame(y),p}function UN({scroller:e}){const[r,a]=z.useState([]),[i,s]=z.useState(0),[x,u]=z.useState(!1),[f,d]=z.useState(!1),h=z.useRef([]),E=z.useRef(!1),p=z.useRef(!1),y=z.useRef(0),C=z.useRef(0),A=z.useRef(()=>{}),b=z.useCallback(()=>{E.current=!0,u(!0),clearTimeout(y.current),y.current=window.setTimeout(()=>{p.current||(E.current=!1,u(!1))},SN)},[]),D=z.useCallback(()=>{const S=e.current;if(!S)return;const q=S.getBoundingClientRect().top-S.scrollTop,L=Array.from(S.querySelectorAll("[data-user-msg]"),X=>({top:X.getBoundingClientRect().top-q,preview:X.dataset.userMsg??"",ts:X.dataset.msgTs??null,state:X.dataset.msgState??null,node:X}));h.current=LN(h.current,L)?h.current:L,a(h.current),s(ON(S))},[e]),F=z.useCallback(()=>{C.current||(C.current=requestAnimationFrame(()=>{C.current=0,D()}))},[D]);z.useEffect(()=>{const S=e.current;if(!S)return;const q=()=>{b(),F()},L=()=>{E.current&&(b(),F())};S.addEventListener("touchmove",q,{passive:!0}),S.addEventListener("wheel",q,{passive:!0}),S.addEventListener("scroll",L,{passive:!0});const X=()=>{E.current&&F()},K=new ResizeObserver(X);K.observe(S);const ie=new MutationObserver(X);return ie.observe(S,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["open"]}),()=>{S.removeEventListener("touchmove",q),S.removeEventListener("wheel",q),S.removeEventListener("scroll",L),K.disconnect(),ie.disconnect(),A.current(),C.current&&cancelAnimationFrame(C.current),clearTimeout(y.current)}},[e,b,F]);const O=S=>{const q=e.current,L=h.current[S];q&&L&&(A.current(),A.current=PN(q,L.top-gm,()=>{Bm()||L.node.firstElementChild?.animate([{boxShadow:"0 0 0 2px var(--color-accent)"},{boxShadow:"0 0 0 2px transparent"}],{duration:700,easing:"ease-out"})}),b())},w=z.useCallback(()=>{p.current=!1,d(!1),b()},[b]);if(r.length<MN)return null;let _=-1;for(let S=0;S<r.length;S++)r[S].top<=i&&(_=S);const R=_>0?_-1:null,k=_+1<r.length?_+1:null,T=x||f;return g.jsxs(g.Fragment,{children:[g.jsx("div",{className:be("pointer-events-none absolute inset-x-0 bottom-0 z-20 flex justify-center pb-3 transition duration-200 ease-out motion-reduce:transition-none",T?"translate-y-0 opacity-100":"translate-y-3 opacity-0"),children:g.jsxs("nav",{"aria-label":"Jump to your messages",onFocus:b,className:be("flex h-12 items-stretch overflow-hidden rounded-full border border-border bg-surface-2 shadow-lg shadow-black/60",T?"pointer-events-auto":"pointer-events-none"),children:[g.jsx(T8,{dir:"up",onClick:()=>R!==null&&O(R),disabled:R===null}),g.jsxs("button",{type:"button",onClick:()=>{D(),p.current=!0,d(!0),b()},"aria-haspopup":"dialog","aria-expanded":f,"aria-label":`Your messages — ${r.length} in this chat`,className:"flex items-center gap-1.5 border-border-soft border-x px-3.5 text-muted transition active:bg-surface active:text-text focus-visible:outline-2 focus-visible:outline-accent focus-visible:-outline-offset-2",children:[g.jsx(Jy,{size:16,className:"shrink-0"}),g.jsxs("span",{className:"font-mono text-[13px] tabular-nums",children:[g.jsx("span",{className:"text-text",children:_+1||"–"}),g.jsxs("span",{className:"text-muted",children:["/",r.length]})]})]}),g.jsx(T8,{dir:"down",onClick:()=>k!==null&&O(k),disabled:k===null})]})}),f?g.jsx(qN,{marks:r,current:_,onPick:S=>{w(),O(S)},onClose:w}):null]})}function HN({mark:e}){if(e.state==="failed")return g.jsx("span",{className:"shrink-0 text-[11px] text-del",children:"didn’t send"});const r=e.state==="sending"?"sending…":e.state==="queued"?"queued":e.ts&&Nc(e.ts);return r?g.jsx("span",{className:"shrink-0 text-[11px] text-muted tabular-nums",children:r}):null}function T8({dir:e,onClick:r,disabled:a}){const i=e==="up"?K3:Po;return g.jsx("button",{type:"button",onClick:r,disabled:a,"aria-label":e==="up"?"Jump to your previous message":"Jump to your next message",className:"flex w-12 items-center justify-center text-muted transition active:bg-surface active:text-text disabled:text-faint/40 focus-visible:outline-2 focus-visible:outline-accent focus-visible:-outline-offset-2",children:g.jsx(i,{size:19})})}function qN({marks:e,current:r,onPick:a,onClose:i}){const s=z.useRef(null),x=z.useRef(null);return z.useEffect(()=>{s.current?.focus({preventScroll:!0}),x.current?.scrollIntoView({block:"center"})},[]),g.jsxs(g.Fragment,{children:[g.jsx("div",{className:"fixed inset-0 z-50 bg-black/60",onClick:i,"aria-hidden":!0}),g.jsxs("div",{ref:s,role:"dialog","aria-modal":"true","aria-label":"Your messages",tabIndex:-1,onKeyDown:u=>u.key==="Escape"&&i(),className:"fade-in pb-safe fixed inset-x-0 bottom-0 z-50 mx-auto flex max-h-[70%] max-w-md flex-col rounded-t-3xl border border-border-soft bg-surface shadow-xl outline-none md:mb-6 md:rounded-3xl",children:[g.jsxs("header",{className:"flex shrink-0 items-center gap-2 border-b border-border-soft px-4 py-2.5",children:[g.jsx("h2",{className:"flex-1 text-[15px] font-semibold",children:"Your messages"}),g.jsx("span",{className:"font-mono text-[12px] text-faint tabular-nums",children:e.length}),g.jsx("button",{type:"button",onClick:i,"aria-label":"Close",className:"-mr-2 flex size-11 items-center justify-center rounded-full text-muted transition active:bg-surface-2 focus-visible:outline-2 focus-visible:outline-accent focus-visible:-outline-offset-2",children:g.jsx(yr,{size:19})})]}),g.jsx("div",{className:"min-h-0 flex-1 overflow-y-auto overscroll-contain py-1",children:e.map((u,f)=>g.jsxs("button",{ref:f===r?x:void 0,type:"button",onClick:()=>a(f),"aria-current":f===r?"true":void 0,className:be("flex min-h-14 w-full items-center gap-3 px-4 py-2.5 text-left transition active:bg-surface-2 focus-visible:outline-2 focus-visible:outline-accent focus-visible:-outline-offset-2",f===r&&"bg-surface-2/60"),children:[g.jsx("span",{className:be("w-5 shrink-0 text-right font-mono text-[11px] tabular-nums",f===r?"text-accent":"text-muted"),children:f+1}),g.jsx("span",{className:"line-clamp-2 min-w-0 flex-1 text-[13.5px] leading-snug text-text [overflow-wrap:anywhere]",children:u.preview||"Empty message"}),g.jsx(HN,{mark:u})]},u.top))})]})]})}function Am({sessionId:e,workspaceId:r,working:a,workingSince:i,queued:s,poll:x}){const{entries:u,loading:f,error:d}=Hb(e,x??!0),h=ke(S=>S.pending),E=ke(S=>S.removePending),p=Y2(),y=I0(),C=z.useRef(null),A=z.useRef(!0),b=z.useMemo(()=>VN(u),[u]),D=async S=>{await(S.sessionId?Ie.dismissParked(S.sessionId):Ie.dismissPrompt(S.workspaceId)).catch(()=>{}),y.invalidateQueries({queryKey:["state"]})},F=new Set(u.filter(S=>S.role==="user").map(S=>S.text.trim())),O=h.filter(S=>S.sessionId===e),w=O.filter(S=>!(S.status==="sending"&&F.has(S.text.trim()))),_=s?.text.trim()||null,R=_&&!F.has(_)&&!O.some(S=>S.text.trim()===_)?s:null;z.useEffect(()=>{const S=new Set(u.filter(q=>q.role==="user").map(q=>q.text.trim()));for(const q of h)q.sessionId===e&&q.status==="sending"&&S.has(q.text.trim())&&E(q.id)},[u,h,e,E]);const k=()=>{const S=C.current;S&&(A.current=S.scrollHeight-S.scrollTop-S.clientHeight<120)};if(z.useLayoutEffect(()=>{const S=C.current;S&&A.current&&(S.scrollTop=S.scrollHeight)},[u,w.length,a]),z.useEffect(()=>{A.current=!0},[e]),z.useEffect(()=>{const S=C.current;if(!S)return;const q=new ResizeObserver(()=>{A.current&&(S.scrollTop=S.scrollHeight)});return q.observe(S),()=>q.disconnect()},[]),!e&&!R)return g.jsx(Lt,{children:"No active session in this workspace."});const T=u.length===0&&w.length===0&&!R;return g.jsxs("div",{className:"relative flex min-h-0 min-w-0 flex-1",children:[g.jsx("div",{ref:C,onScroll:k,className:"min-w-0 flex-1 overflow-y-auto overflow-x-hidden px-3 py-3",children:f&&T?g.jsx(ha,{label:"Loading transcript…"}):d&&T?g.jsx(Lt,{children:d}):T&&!a?g.jsx(Lt,{children:"No messages yet."}):g.jsxs("div",{className:"flex min-w-0 flex-col gap-2.5",children:[b.map(S=>S.kind==="steps"?g.jsx($N,{entries:S.entries},S.key):g.jsx(bm,{e:S.e},S.key)),w.map(S=>g.jsx(YN,{p:S,onRetry:()=>p({id:S.id,sessionId:S.sessionId,workspaceId:S.workspaceId,text:S.text}),onDismiss:()=>E(S.id)},S.id)),R?g.jsx(GN,{queued:R,onRetry:e?()=>p({id:`queued:${R.sessionId??R.workspaceId}:${R.createdAt}`,sessionId:e,workspaceId:r,text:R.text}):void 0,onDismiss:()=>D(R)}):null,a?g.jsx(XN,{since:i}):null]})}),g.jsx(UN,{scroller:C})]})}const yo=e=>`${e.rowid}-${e.id}`,IN=(e,r)=>e.entries.length===r.entries.length&&e.entries.every((a,i)=>a===r.entries[i]);function VN(e){const r=[];let a=[];const i=()=>{if(a.length>1)r.push({kind:"steps",key:`steps-${yo(a[0])}`,entries:a});else for(const s of a)r.push({kind:"entry",key:yo(s),e:s});a=[]};for(const s of e){if(s.role==="tool"||s.role==="thinking"){a.push(s);continue}i(),r.push({kind:"entry",key:yo(s),e:s})}return i(),r}const $N=z.memo(function({entries:r}){const a=r.filter(x=>x.error).length,i=r[r.length-1],s=i.role==="thinking"?"Thinking":i.text;return g.jsxs("details",{className:"group/steps min-w-0 overflow-hidden rounded-xl border border-border-soft bg-surface/40",children:[g.jsxs("summary",{className:"flex cursor-pointer select-none list-none items-baseline gap-2 overflow-hidden whitespace-nowrap px-3 py-1.5 [&::-webkit-details-marker]:hidden",children:[g.jsx("span",{className:"shrink-0 font-mono text-[11px] text-faint transition-transform group-open/steps:rotate-90",children:"▸"}),g.jsxs("span",{className:"shrink-0 text-[12.5px] text-muted",children:[r.length," steps"]}),g.jsx("span",{className:"min-w-0 flex-1 truncate text-[11px] text-faint group-open/steps:invisible",children:s}),a?g.jsxs("span",{className:"shrink-0 text-[11px] text-del",children:[a," failed"]}):null]}),g.jsx("div",{className:"flex min-w-0 flex-col gap-2.5 border-t border-border-soft px-2 py-2.5",children:r.map(x=>g.jsx(bm,{e:x},yo(x)))})]})},IN);function GN({queued:e,onRetry:r,onDismiss:a}){const i=e.status==="failed",s=!i&&e.sessionId?QN():null;return g.jsxs("div",{className:"flex flex-col items-end gap-1","data-user-msg":ko(e.text),"data-msg-state":"queued",children:[g.jsx(Nl,{className:be("max-w-[85%] bg-accent-soft text-text opacity-60",i&&"border border-del/40"),children:g.jsx(xa,{children:e.text})}),i?g.jsxs("div",{className:"flex items-center gap-2 pr-1 text-[11px] text-del",children:[g.jsx(Dc,{size:11,className:"shrink-0"}),g.jsx("span",{className:"max-w-[55vw] truncate",children:e.error||"Didn’t send"}),r?g.jsx("button",{type:"button",onClick:r,className:"font-semibold underline underline-offset-2",children:"Retry"}):null,g.jsx("button",{type:"button",onClick:a,className:"text-faint underline underline-offset-2",children:"Dismiss"})]}):g.jsxs("span",{className:"flex items-center gap-1 pr-1 text-[11px] text-faint",children:[g.jsx(Ac,{size:11,className:"animate-spin"}),e.reason??"The relay is sending this",s?g.jsx("a",{href:s,className:"ml-1 font-semibold text-accent underline underline-offset-2",children:"Unlock the Mac"}):null]})]})}function QN(){const e=location.hostname;return!e||e==="localhost"||e.startsWith("127.")?null:`vnc://${e}`}function YN({p:e,onRetry:r,onDismiss:a}){return e.status==="error"?g.jsxs("div",{className:"flex flex-col items-end gap-1","data-user-msg":ko(e.text),"data-msg-state":"failed",children:[g.jsx(Nl,{className:"max-w-[85%] border border-del/40 bg-accent-soft text-text",children:g.jsx(xa,{children:e.text})}),g.jsxs("div",{className:"flex items-center gap-2 pr-1 text-[11px] text-del",children:[g.jsx(Dc,{size:11,className:"shrink-0"}),g.jsx("span",{className:"max-w-[55vw] truncate",children:e.error||"Didn’t send"}),g.jsx("button",{type:"button",onClick:r,className:"font-semibold underline underline-offset-2",children:"Retry"}),g.jsx("button",{type:"button",onClick:a,className:"text-faint underline underline-offset-2",children:"Dismiss"})]})]}):g.jsxs("div",{className:"flex flex-col items-end gap-1","data-user-msg":ko(e.text),"data-msg-state":"sending",children:[g.jsx(Nl,{className:"max-w-[85%] bg-accent-soft text-text opacity-60",children:g.jsx(xa,{children:e.text})}),g.jsxs("span",{className:"flex items-center gap-1 pr-1 text-[11px] text-faint",children:[g.jsx(Ac,{size:11,className:"animate-spin"}),"Sending…"]})]})}const bm=z.memo(function({e:r}){return r.role==="user"?g.jsxs("div",{className:"flex flex-col items-end gap-0.5","data-user-msg":ko(r.text),"data-msg-ts":r.ts,children:[g.jsxs(Nl,{className:be("max-w-[85%] bg-accent-soft text-text",r.queued&&"opacity-60"),children:[r.queued?g.jsx(KN,{children:"queued"}):null,g.jsx(xa,{children:r.text})]}),g.jsx("span",{className:"pr-1 text-[11px] text-faint",children:YD(r.ts)})]}):r.role==="tool"?r.error?g.jsx("div",{className:"overflow-hidden rounded-xl border border-del/30 bg-del/5 px-3 py-2",children:g.jsx("pre",{className:"line-clamp-4 whitespace-pre-wrap font-mono text-[11.5px] leading-relaxed text-del/80 [overflow-wrap:anywhere]",children:r.text})}):g.jsxs("div",{className:"flex min-w-0 items-baseline gap-2 overflow-hidden whitespace-nowrap rounded-xl border border-border-soft bg-surface/60 px-3 py-1.5",children:[g.jsx("span",{className:"shrink-0 font-mono text-[11px] text-faint",children:"▸"}),g.jsx("span",{className:"max-w-full truncate text-[12.5px] text-muted",children:r.text}),r.detail?g.jsx("span",{className:"min-w-0 flex-1 truncate font-mono text-[11px] text-faint",children:r.detail}):null]}):r.role==="thinking"?g.jsxs("details",{className:"group/think px-1",children:[g.jsxs("summary",{className:"cursor-pointer select-none list-none text-[11px] font-semibold uppercase tracking-wide text-faint [&::-webkit-details-marker]:hidden",children:[g.jsx("span",{className:"mr-1 inline-block transition-transform group-open/think:rotate-90",children:"▸"}),"Thinking"]}),g.jsx("div",{className:"mt-1 border-l-2 border-border-soft pl-3 text-[13px] italic leading-relaxed text-muted",children:g.jsx(xa,{children:r.text})})]}):r.role==="system"?g.jsx("div",{className:"px-2 text-center text-[11px] text-faint",children:r.text}):g.jsx("div",{className:"flex justify-start",children:g.jsx(Nl,{className:"max-w-[92%] px-0.5",children:g.jsx(xa,{children:r.text})})})});function XN({since:e}){const[r,a]=z.useState(()=>Date.now());return z.useEffect(()=>{if(!e)return;a(Date.now());const i=setInterval(()=>a(Date.now()),1e3);return()=>clearInterval(i)},[e]),g.jsxs("div",{className:"fade-in flex items-center justify-start gap-2",children:[g.jsxs("div",{className:"flex items-center gap-1 px-0.5 py-3",children:[g.jsx("span",{className:"typing-dot"}),g.jsx("span",{className:"typing-dot"}),g.jsx("span",{className:"typing-dot"})]}),e?g.jsx("span",{className:"text-[11px] tabular-nums text-faint",children:QD(r-e)}):null]})}function Nl({children:e,className:r}){return g.jsx("div",{className:be("min-w-0 rounded-2xl px-3.5 py-2.5 text-[14px] leading-relaxed [overflow-wrap:anywhere]",r),children:e})}function KN({children:e}){return g.jsx("div",{className:"mb-1 text-[10px] font-semibold uppercase tracking-wide text-faint",children:e})}function ZN({workspace:e}){const[r,a]=g2(),i=r.get("session"),{data:s,isLoading:x}=G2(e.id,!1),u=s?.sessions??[],f=(i&&u.some(h=>h.id===i)?i:null)??u[0]?.id??null,d=[e.repo_name,e.branch].filter(Boolean).join(" · ");return g.jsxs("div",{className:"flex h-full min-w-0 flex-col overflow-hidden",children:[g.jsx(So,{title:In(e),subtitle:d,menu:!0,right:g.jsxs("span",{className:"flex shrink-0 items-center gap-1 rounded-md bg-surface-2 px-2 py-1 text-[10px] font-semibold uppercase tracking-wide text-faint",children:[g.jsx(O7,{size:12}),"Archived"]})}),u.length>1?g.jsx("nav",{className:"flex shrink-0 items-center gap-1 overflow-x-auto border-b border-border-soft bg-bg px-3 py-2",children:u.map(h=>g.jsx("button",{type:"button",onClick:()=>a({session:h.id},{replace:!0}),className:be("pill shrink-0",h.id===f&&"pill-active"),children:g.jsx("span",{className:"max-w-36 truncate",children:h.title||"Untitled"})},h.id))}):null,!x&&!f?g.jsx(Lt,{children:"This workspace was archived with no chat in it."}):g.jsx(Am,{sessionId:f,workspaceId:e.id,poll:!1}),g.jsx("div",{className:"pb-safe shrink-0 border-t border-border-soft px-4 py-3 text-center text-xs text-faint",children:"Read-only — unarchive it in Conductor to reply."})]})}const Dm={low:"Low",medium:"Medium",high:"High",xhigh:"Extra high",max:"Max",ultracode:"Ultracode"},Ou=Object.keys(Dm),JN={};function co(e,r){return e===r?void 0:e}function WN(e){const r=Mc(e.model);return r?r.includes(":")?r.split("/").pop()??r:r:"Model"}function e_({session:e,workspaceId:r}){const[a,i]=z.useState(!1),s=ke(w=>w.agentDrafts[e.id])??JN,x=ke(w=>w.stageAgent),u=ke(w=>w.pending.some(_=>_.sessionId===e.id&&_.status==="sending")),{data:f,isFetching:d,isError:h}=Ub(e,r,a),E=w=>x(e.id,w),p=e.claude_effort_level??void 0,y=e.permission_mode==="plan",C=!!e.fast_mode,A=s.effort??p,b=s.plan??y,D=s.fast??C,F=Object.keys(s).length>0,O=()=>Ou[(Ou.indexOf(A??"")+1)%Ou.length];return g.jsxs("div",{className:"min-w-0 flex-1",children:[g.jsxs("div",{className:"flex flex-wrap items-center gap-0.5",children:[g.jsxs("div",{className:"relative",children:[g.jsxs("button",{type:"button",onClick:()=>i(w=>!w),className:be("ctl flex max-w-40 items-center gap-1",s.model&&"ctl-staged"),children:[g.jsx("span",{className:"truncate",children:s.model??WN(e)}),g.jsx(Po,{size:13,className:"shrink-0"})]}),a?g.jsxs(g.Fragment,{children:[g.jsx("button",{type:"button","aria-label":"Close model picker",onClick:()=>i(!1),className:"fixed inset-0 z-30 cursor-default"}),g.jsxs("div",{className:"absolute bottom-full left-0 z-40 mb-2 max-h-64 w-56 overflow-y-auto rounded-xl border border-border bg-surface-2 py-1 shadow-xl shadow-black/40",children:[g.jsxs("div",{className:"flex items-center gap-1.5 px-3 py-1 text-[11px] text-faint",children:["Model",d?g.jsx(bc,{size:10,className:"animate-spin"}):null]}),f?.length?f.map(w=>g.jsxs("button",{type:"button",onClick:()=>{i(!1),E({model:co(w,s.model)})},className:"flex w-full items-center gap-2 px-3 py-2 text-left text-sm active:bg-surface",children:[g.jsx("span",{className:"min-w-0 flex-1 truncate",children:w}),g.jsx(pr,{size:13,className:be("shrink-0 text-accent",s.model!==w&&"invisible")})]},w)):g.jsx("div",{className:"px-3 py-2 text-sm text-muted",children:h?"Couldn’t read the model list.":"Reading Conductor’s model list…"}),h&&f?.length?g.jsx("div",{className:"px-3 py-1.5 text-[11px] text-del",children:"Couldn’t refresh — showing the last list."}):null]})]}):null]}),A?g.jsx("button",{type:"button",onClick:()=>E({effort:co(O(),p)}),className:be("ctl",s.effort&&"ctl-staged"),children:Dm[A]}):null,g.jsx("button",{type:"button",onClick:()=>E({plan:co(!b,y)}),className:be("ctl",b&&"ctl-on",s.plan!==void 0&&"ctl-staged"),children:"Plan"}),g.jsxs("button",{type:"button",onClick:()=>E({fast:co(!D,C)}),className:be("ctl flex items-center gap-1",D&&"ctl-on",s.fast!==void 0&&"ctl-staged"),children:[g.jsx(M2,{size:13}),"Fast"]})]}),F?g.jsx("div",{className:"px-2 pt-0.5 text-[11px] text-faint",children:u?"Applying…":"Applies when you send"}):null]})}function t_({session:e,sessionId:r,workspaceId:a,working:i,actuator:s}){const x=ke(k=>k.drafts[a]??""),u=ke(k=>k.setDraft),f=ke(k=>k.online),d=ke(k=>k.clearWorking),h=Y2(),E=I0(),[p,y]=z.useState(!1),[C,A]=z.useState(null),b=z.useRef(null),D=()=>{const k=b.current;k&&(k.style.height="auto",k.style.height=`${Math.min(k.scrollHeight,160)}px`)};z.useEffect(D,[x]);const F=()=>{const k=x.trim();!k||!r||!f||(h({sessionId:r,workspaceId:a,text:k}),u(a,""))},O=async()=>{if(!(!r||p||!f)){y(!0),A(null);try{const k=await Ie.stop(r,a);k.ok?(d(r),await E.invalidateQueries({queryKey:["sessions",a]}),E.invalidateQueries({queryKey:["state"]})):A(k.error||"Stop failed")}catch(k){A(k instanceof Error?k.message:"Stop failed")}finally{y(!1)}}},w=!r,_=s?.precise&&s.available,R=i&&!!r;return g.jsxs("div",{className:"pb-safe border-t border-border-soft bg-bg px-3 pt-2",children:[f?!_&&g.jsxs("div",{className:"mb-1.5 flex items-center gap-1.5 px-1 text-[11px] text-faint",children:[g.jsx(Ry,{size:12}),s?.caveat||"Sends to the focused session"]}):g.jsxs("div",{className:"mb-2 flex items-center gap-1.5 rounded-lg bg-del/10 px-3 py-1.5 text-xs text-del",children:[g.jsx(vc,{size:12}),"Offline — drafts are saved, sending resumes when the relay is back"]}),C?g.jsx("button",{type:"button",onClick:()=>A(null),className:"mb-2 block w-full rounded-lg border border-del/40 bg-del/10 px-3 py-1.5 text-left text-xs text-del",children:C}):null,g.jsxs("div",{className:"rounded-2xl border border-border bg-surface p-2 has-[textarea:focus]:border-accent/60",children:[g.jsx("textarea",{ref:b,rows:1,value:x,disabled:w,placeholder:w?"No active session":"Send a prompt…",className:"block max-h-40 w-full resize-none bg-transparent px-2 py-1 text-base outline-none placeholder:text-faint disabled:opacity-50",onChange:k=>u(a,k.target.value),onKeyDown:k=>{k.key==="Enter"&&(k.metaKey||k.ctrlKey)&&(k.preventDefault(),F())}}),g.jsxs("div",{className:"mt-1 flex items-end gap-2",children:[e?g.jsx(e_,{session:e,workspaceId:a}):g.jsx("span",{className:"flex-1"}),R?g.jsx("button",{type:"button",onClick:O,disabled:p||!f,"aria-label":"Stop the agent",className:"flex size-9 shrink-0 items-center justify-center rounded-full border border-border text-text transition active:scale-90 disabled:text-faint",children:p?g.jsx("span",{className:"size-4 animate-spin rounded-full border-2 border-border border-t-text"}):g.jsx(ZB,{size:15,fill:"currentColor"})}):null,R&&!x.trim()?null:g.jsx("button",{type:"button",onClick:F,disabled:w||!x.trim()||!f,"aria-label":"Send",className:"flex size-9 shrink-0 items-center justify-center rounded-full bg-accent text-white transition active:scale-90 disabled:bg-surface-2 disabled:text-faint",children:g.jsx(H7,{size:19})})]})]})]})}function n_(e,r){if(e.pr_status==="merged")return"merged";if(r&&(r.dirty||r.unpushed))return"push";switch(e.pr_status){case"conflicts":return"resolve";case"mergeable":return"merge";case"draft":return"draft";default:return null}}const r_={push:{label:"Uncommitted changes",tone:"text-working",icon:g.jsx(aC,{size:14})},resolve:{label:"Merge conflicts",tone:"text-muted",icon:g.jsx(Dc,{size:14})},merge:{label:"Ready to merge",tone:"text-add"},draft:{label:"Draft",tone:"text-muted"},merged:{label:"Merged",tone:"text-pr-merged",icon:g.jsx(D2,{size:14})}},a_={push:"Commit all outstanding changes with a clear message and push the branch to the remote.",resolve:"This branch has merge conflicts with its base branch. Merge the base branch in, resolve the conflicts, then commit and push."};function l_({ws:e,local:r}){const a=I0(),[i,s]=z.useState(!1),[x,u]=z.useState(!1),[f,d]=z.useState(null);if(f?.ok&&e.pr_status!=="merged")return g.jsxs(z8,{children:[g.jsx(pr,{size:15,className:"shrink-0 text-add"}),g.jsx("span",{className:"truncate font-medium text-add",children:f.msg})]});const h=n_(e,r);if(!h)return null;const{label:E,tone:p,icon:y}=r_[h],C=async()=>{u(!0),d(null);try{const b=await Ie.merge(e.id);b.ok?(d({ok:!0,msg:`Merged${b.method?` (${b.method})`:""}`}),a.invalidateQueries({queryKey:["state"]}),a.invalidateQueries({queryKey:["diff",e.id]})):(d({ok:!1,msg:b.error||"Merge failed"}),s(!1))}catch(b){d({ok:!1,msg:b instanceof Error?b.message:String(b)}),s(!1)}finally{u(!1)}},A=async b=>{if(!e.active_session_id)return d({ok:!1,msg:"No active session to message"});u(!0),d(null);try{const D=await Ie.sendPrompt(e.active_session_id,a_[b],e.id);d(D.ok?{ok:!0,msg:"Asked the agent"}:{ok:!1,msg:D.error||"Send failed"})}catch(D){d({ok:!1,msg:D instanceof Error?D.message:String(D)})}finally{u(!1)}};return g.jsxs(z8,{tint:h==="merge"?"add":h==="merged"?"merged":void 0,children:[e.pr_number?g.jsxs("a",{href:e.pr_url??void 0,target:"_blank",rel:"noreferrer",className:be("flex shrink-0 items-center gap-0.5 rounded-md px-1.5 py-0.5 font-mono text-[11px] active:bg-surface",h==="merged"?"bg-pr-merged/15 text-pr-merged":"bg-surface-2 text-muted"),children:["#",e.pr_number,g.jsx(P7,{size:12})]}):null,g.jsxs("span",{className:be("flex items-center gap-1 truncate font-medium",p),children:[y,E]}),g.jsxs("div",{className:"ml-auto flex shrink-0 items-center gap-2",children:[f&&!f.ok?g.jsx("span",{className:"max-w-36 truncate text-[11px] text-del",children:f.msg}):null,h==="draft"||h==="merged"?null:h==="merge"?i?g.jsxs(g.Fragment,{children:[g.jsx(i_,{onClick:()=>s(!1)}),g.jsx(fo,{onClick:C,busy:x,className:"bg-add text-black",children:"Confirm"})]}):g.jsxs(fo,{onClick:()=>s(!0),className:"bg-add text-black",children:[g.jsx(D2,{size:13}),"Merge"]}):h==="push"?g.jsx(fo,{onClick:()=>A("push"),busy:x,className:"bg-working text-black",children:"Commit & push"}):g.jsx(fo,{onClick:()=>A("resolve"),busy:x,className:"border border-border bg-surface-2 text-text",children:"Resolve"})]})]})}function fo({onClick:e,busy:r,className:a,children:i}){return g.jsxs("button",{type:"button",onClick:e,disabled:r,className:be("flex items-center gap-1.5 rounded-lg px-2.5 py-1 text-xs font-semibold transition active:scale-95 disabled:opacity-60",a),children:[r?g.jsx(Ac,{size:13,className:"animate-spin"}):null,i]})}function i_({onClick:e}){return g.jsx("button",{type:"button",onClick:e,className:"rounded-lg px-2 py-1 text-xs text-muted active:bg-surface-2",children:"Cancel"})}const o_={add:"bg-add/10",merged:"bg-pr-merged/10"};function z8({tint:e,children:r}){return g.jsx("div",{className:be("sticky top-0 z-10 flex items-center gap-2 border-b border-border-soft px-3 py-2 backdrop-blur",e?o_[e]:"bg-surface/95"),children:r})}function s_({workspaceId:e}){const{data:r}=kc(),a=r?.workspaces.find(x=>x.id===e),{data:i}=Q2(e),s=i?{dirty:i.dirty,unpushed:i.unpushed}:void 0;return g.jsxs("div",{className:"pb-safe flex flex-1 flex-col overflow-y-auto",children:[a?g.jsx(l_,{ws:a,local:s}):null,g.jsx(x_,{workspaceId:e})]})}function x_({workspaceId:e}){const{data:r,isLoading:a,isError:i,error:s}=Q2(e);return a&&!r?g.jsx(ha,{label:"Computing diff…"}):i?g.jsx(Lt,{children:s?.message}):r?r.files.length===0?g.jsxs(Lt,{children:["No changes vs ",g.jsx("span",{className:"font-mono",children:r.base}),"."]}):g.jsxs(g.Fragment,{children:[g.jsxs("div",{className:"border-b border-border-soft px-3 py-2 text-xs text-muted",children:["vs ",g.jsx("span",{className:"font-mono text-faint",children:r.base})," · ",r.files.length," file",r.files.length===1?"":"s"]}),g.jsx("ul",{className:"flex flex-col gap-1 px-3 py-3",children:r.files.map(x=>g.jsxs("li",{className:"flex items-center gap-2 font-mono text-[12px]",children:[g.jsx("span",{className:"truncate text-muted",children:x.path}),g.jsxs("span",{className:"ml-auto shrink-0 text-add",children:["+",x.added]}),g.jsxs("span",{className:"shrink-0 text-del",children:["−",x.removed]})]},x.path))}),g.jsx(u_,{patch:r.patch,truncated:r.truncated})]}):g.jsx(Lt,{children:"No diff."})}function u_({patch:e,truncated:r}){const a=z.useMemo(()=>e.split(`
41
+ `),[e]);return g.jsxs("pre",{className:"overflow-x-auto border-t border-border-soft px-3 py-3 font-mono text-[11.5px] leading-[1.5]",children:[a.map((i,s)=>g.jsx("div",{className:be("whitespace-pre",c_(i)),children:i||" "},s)),r?g.jsx("div",{className:"mt-2 text-faint",children:"… diff truncated …"}):null]})}function c_(e){return e.startsWith("+")&&!e.startsWith("+++")?"text-add":e.startsWith("-")&&!e.startsWith("---")?"text-del":e.startsWith("@@")?"text-accent":e.startsWith("diff ")||e.startsWith("index ")||e.startsWith("+++")||e.startsWith("---")?"text-faint":"text-muted"}function f_({workspace:e}){const[r,a]=z.useState(!1),[i,s]=z.useState(null),[x,u]=z.useState(null),f=ke(C=>C.online),d=I0(),h=fp(e),E=async C=>{if(!i&&(a(!1),C!==h)){s(C),u(null);try{const A=await Ie.setStatus(e.id,C);A.ok||u(A.error??"status change failed"),await d.invalidateQueries({queryKey:["workspaces"]})}catch(A){u(A instanceof Error?A.message:"status change failed")}finally{s(null)}}},y=i??null??h;return g.jsxs(g.Fragment,{children:[g.jsx("button",{type:"button",onClick:()=>a(C=>!C),disabled:!f||i!==null,"aria-label":`Workspace status: ${Ku(h)}`,"aria-expanded":r,className:be("flex size-9 shrink-0 items-center justify-center rounded-full text-muted transition active:bg-surface-2 disabled:opacity-40",r&&"bg-surface-2 text-text"),children:i?g.jsx("span",{className:"dot-spinner size-4",style:{"--spin-color":d_(y)}}):g.jsx(j8,{status:y})}),r?g.jsxs(g.Fragment,{children:[g.jsx("button",{type:"button","aria-label":"Close status menu",className:"fixed inset-0 z-20 cursor-default",onClick:()=>a(!1)}),g.jsx("div",{className:"fade-in absolute right-2 top-full z-30 w-44 overflow-hidden rounded-xl border border-border bg-surface shadow-xl",children:ID.map(C=>g.jsxs("button",{type:"button",onClick:()=>E(C),className:"flex w-full items-center gap-2 px-3 py-2.5 text-left text-sm active:bg-surface-2",children:[g.jsx(j8,{status:C}),g.jsx("span",{className:"flex-1",children:Ku(C)}),C===h?g.jsx(pr,{size:15,className:"text-accent"}):null]},C))})]}):null,x?g.jsx("button",{type:"button",onClick:()=>u(null),className:"absolute right-2 top-full z-30 max-w-64 rounded-lg border border-del/40 bg-surface px-3 py-2 text-left text-xs text-del shadow-xl",children:x}):null]})}function d_(e){return Sc[e]??"var(--color-faint)"}function j8({status:e}){const r=Sc[e];return r?g.jsx("span",{className:"dot size-2.5",style:{background:r}}):g.jsx("span",{className:"dot size-2.5 border border-faint bg-transparent"})}function h_(){const{workspaceId:e}=A4(),[r,a]=g2(),i=r.get("session"),s=P=>a({session:P},{replace:!0}),[x,u]=z.useState(!1),[f,d]=z.useState(!1),h=I0(),{data:E,isLoading:p}=kc(),y=E?.workspaces.find(P=>P.id===e),C=!!E&&!y,{data:A}=G2(e,!C),b=ke(P=>P.workingHints),D=ke(P=>P.readMarks),F=ke(P=>P.markRead),O=y,w=E?.actuator,{data:_,isLoading:R}=Rb(e,C),k=A?.sessions??[],T=(i&&k.some(P=>P.id===i)?i:null)??O?.active_session_id??k[0]?.id??null,S=k.find(P=>P.id===T),q=S?.updated_at;if(z.useEffect(()=>{O&&T&&q&&document.visibilityState==="visible"&&F(T,q)},[O,T,q,F]),!O)return _?g.jsx(ZN,{workspace:_.workspace}):g.jsxs("div",{className:"flex h-full flex-col overflow-hidden",children:[g.jsx(So,{title:"Session",menu:!0}),p||C&&R?g.jsx(ha,{}):g.jsx("div",{className:"p-6 text-center text-sm text-muted",children:"Workspace not found."})]});const L=T?b[T]:void 0,X=S?.status==="working"||L!==void 0&&Date.now()-L<15e3,K=S?.turn_started_at?Date.parse(S.turn_started_at):null,ie=(S?.status==="working"?K??L:L??K)??null,Z=[O.repo_name,O.branch,Mc(O.model)].filter(Boolean).join(" · "),$=async()=>{if(!f){d(!0);try{const P=await Ie.newChat(O.id);P.ok&&(await h.invalidateQueries({queryKey:["sessions",O.id]}),P.sessionId&&s(P.sessionId))}finally{d(!1)}}};return g.jsxs("div",{className:"flex h-full min-w-0 overflow-hidden",children:[g.jsxs("div",{className:"flex min-w-0 flex-1 flex-col overflow-hidden",children:[g.jsx(So,{title:In(O),subtitle:Z,menu:!0,right:g.jsxs(g.Fragment,{children:[g.jsx(f_,{workspace:O}),g.jsx("button",{type:"button",onClick:()=>u(P=>!P),"aria-label":"Toggle diff panel","aria-pressed":x,className:be("flex size-9 shrink-0 items-center justify-center rounded-full text-muted transition active:bg-surface-2",x&&"bg-surface-2 text-text"),children:g.jsx(IC,{size:19})})]})}),k.length>0?g.jsx(p_,{sessions:k,activeId:T,readMarks:D,onSelect:s,onNewChat:$,creating:f}):null,g.jsx(Am,{sessionId:T,workspaceId:O.id,working:X,workingSince:ie,queued:O.parked_prompts?.find(P=>P.sessionId===T)??O.pending_prompt}),g.jsx(t_,{session:S,sessionId:T,workspaceId:O.id,working:X,actuator:w},O.id)]}),x?g.jsx(E_,{workspaceId:O.id,onClose:()=>u(!1)}):null]})}function p_({sessions:e,activeId:r,readMarks:a,onSelect:i,onNewChat:s,creating:x}){return g.jsxs("nav",{className:"flex shrink-0 items-center gap-1 border-b border-border-soft bg-bg px-3 py-2",children:[g.jsx("div",{className:"flex min-w-0 flex-1 items-center gap-1 overflow-x-auto",children:e.map(u=>g.jsxs("button",{type:"button",onClick:()=>i(u.id),className:be("pill flex shrink-0 items-center gap-1.5",u.id===r&&"pill-active"),children:[u.status==="working"?g.jsx("span",{className:"dot-spinner size-3"}):null,g.jsx("span",{className:"max-w-36 truncate",children:u.title||"Untitled"}),g.jsx(m_,{used:u.context_used_percent}),db(u,a)?g.jsx("span",{className:"dot size-1.5 bg-accent"}):null]},u.id))}),g.jsx("button",{type:"button",onClick:s,disabled:x,"aria-label":"New chat, same files",className:"flex size-7 shrink-0 items-center justify-center rounded-full text-muted transition active:bg-surface-2 disabled:opacity-40",children:g.jsx(v2,{size:18})})]})}function m_({used:e}){return typeof e!="number"||e<=0?null:g.jsxs("span",{className:be("shrink-0 text-[11px] tabular-nums",e>=80?"text-working":"text-faint"),children:[Math.round(e),"%"]})}function E_({workspaceId:e,onClose:r}){return g.jsxs("aside",{className:"fixed inset-0 z-40 flex flex-col bg-bg lg:static lg:z-auto lg:w-[380px] lg:shrink-0 lg:border-l lg:border-border-soft xl:w-[460px]",children:[g.jsxs("header",{className:"pt-safe flex items-center gap-2 border-b border-border-soft px-3 pb-2.5",children:[g.jsx("span",{className:"flex-1 text-[15px] font-semibold",children:"Diff"}),g.jsx("button",{type:"button",onClick:r,"aria-label":"Close diff panel",className:"-mr-1 flex size-9 shrink-0 items-center justify-center rounded-full text-muted active:bg-surface-2",children:g.jsx(yr,{size:20})})]}),g.jsx(s_,{workspaceId:e})]})}var go={exports:{}},C_=go.exports,R8;function y_(){return R8||(R8=1,(function(e,r){(function(i,s){e.exports=s()})(typeof self<"u"?self:C_,function(){return(function(a){var i={};function s(x){if(i[x])return i[x].exports;var u=i[x]={i:x,l:!1,exports:{}};return a[x].call(u.exports,u,u.exports,s),u.l=!0,u.exports}return s.m=a,s.c=i,s.d=function(x,u,f){s.o(x,u)||Object.defineProperty(x,u,{configurable:!1,enumerable:!0,get:f})},s.n=function(x){var u=x&&x.__esModule?function(){return x.default}:function(){return x};return s.d(u,"a",u),u},s.o=function(x,u){return Object.prototype.hasOwnProperty.call(x,u)},s.p="",s(s.s=3)})([(function(a,i,s){Object.defineProperty(i,"__esModule",{value:!0});var x=(function(){function u(f,d){this.width=d,this.height=f.length/d,this.data=f}return u.createEmpty=function(f,d){return new u(new Uint8ClampedArray(f*d),f)},u.prototype.get=function(f,d){return f<0||f>=this.width||d<0||d>=this.height?!1:!!this.data[d*this.width+f]},u.prototype.set=function(f,d,h){this.data[d*this.width+f]=h?1:0},u.prototype.setRegion=function(f,d,h,E,p){for(var y=d;y<d+E;y++)for(var C=f;C<f+h;C++)this.set(C,y,!!p)},u})();i.BitMatrix=x}),(function(a,i,s){Object.defineProperty(i,"__esModule",{value:!0});var x=s(2);function u(d,h){return d^h}i.addOrSubtractGF=u;var f=(function(){function d(h,E,p){this.primitive=h,this.size=E,this.generatorBase=p,this.expTable=new Array(this.size),this.logTable=new Array(this.size);for(var y=1,C=0;C<this.size;C++)this.expTable[C]=y,y=y*2,y>=this.size&&(y=(y^this.primitive)&this.size-1);for(var C=0;C<this.size-1;C++)this.logTable[this.expTable[C]]=C;this.zero=new x.default(this,Uint8ClampedArray.from([0])),this.one=new x.default(this,Uint8ClampedArray.from([1]))}return d.prototype.multiply=function(h,E){return h===0||E===0?0:this.expTable[(this.logTable[h]+this.logTable[E])%(this.size-1)]},d.prototype.inverse=function(h){if(h===0)throw new Error("Can't invert 0");return this.expTable[this.size-this.logTable[h]-1]},d.prototype.buildMonomial=function(h,E){if(h<0)throw new Error("Invalid monomial degree less than 0");if(E===0)return this.zero;var p=new Uint8ClampedArray(h+1);return p[0]=E,new x.default(this,p)},d.prototype.log=function(h){if(h===0)throw new Error("Can't take log(0)");return this.logTable[h]},d.prototype.exp=function(h){return this.expTable[h]},d})();i.default=f}),(function(a,i,s){Object.defineProperty(i,"__esModule",{value:!0});var x=s(1),u=(function(){function f(d,h){if(h.length===0)throw new Error("No coefficients.");this.field=d;var E=h.length;if(E>1&&h[0]===0){for(var p=1;p<E&&h[p]===0;)p++;if(p===E)this.coefficients=d.zero.coefficients;else{this.coefficients=new Uint8ClampedArray(E-p);for(var y=0;y<this.coefficients.length;y++)this.coefficients[y]=h[p+y]}}else this.coefficients=h}return f.prototype.degree=function(){return this.coefficients.length-1},f.prototype.isZero=function(){return this.coefficients[0]===0},f.prototype.getCoefficient=function(d){return this.coefficients[this.coefficients.length-1-d]},f.prototype.addOrSubtract=function(d){var h;if(this.isZero())return d;if(d.isZero())return this;var E=this.coefficients,p=d.coefficients;E.length>p.length&&(h=[p,E],E=h[0],p=h[1]);for(var y=new Uint8ClampedArray(p.length),C=p.length-E.length,A=0;A<C;A++)y[A]=p[A];for(var A=C;A<p.length;A++)y[A]=x.addOrSubtractGF(E[A-C],p[A]);return new f(this.field,y)},f.prototype.multiply=function(d){if(d===0)return this.field.zero;if(d===1)return this;for(var h=this.coefficients.length,E=new Uint8ClampedArray(h),p=0;p<h;p++)E[p]=this.field.multiply(this.coefficients[p],d);return new f(this.field,E)},f.prototype.multiplyPoly=function(d){if(this.isZero()||d.isZero())return this.field.zero;for(var h=this.coefficients,E=h.length,p=d.coefficients,y=p.length,C=new Uint8ClampedArray(E+y-1),A=0;A<E;A++)for(var b=h[A],D=0;D<y;D++)C[A+D]=x.addOrSubtractGF(C[A+D],this.field.multiply(b,p[D]));return new f(this.field,C)},f.prototype.multiplyByMonomial=function(d,h){if(d<0)throw new Error("Invalid degree less than 0");if(h===0)return this.field.zero;for(var E=this.coefficients.length,p=new Uint8ClampedArray(E+d),y=0;y<E;y++)p[y]=this.field.multiply(this.coefficients[y],h);return new f(this.field,p)},f.prototype.evaluateAt=function(d){var h=0;if(d===0)return this.getCoefficient(0);var E=this.coefficients.length;if(d===1)return this.coefficients.forEach(function(y){h=x.addOrSubtractGF(h,y)}),h;h=this.coefficients[0];for(var p=1;p<E;p++)h=x.addOrSubtractGF(this.field.multiply(d,h),this.coefficients[p]);return h},f})();i.default=u}),(function(a,i,s){Object.defineProperty(i,"__esModule",{value:!0});var x=s(4),u=s(5),f=s(11),d=s(12);function h(y){var C=d.locate(y);if(!C)return null;for(var A=0,b=C;A<b.length;A++){var D=b[A],F=f.extract(y,D),O=u.decode(F.matrix);if(O)return{binaryData:O.bytes,data:O.text,chunks:O.chunks,version:O.version,location:{topRightCorner:F.mappingFunction(D.dimension,0),topLeftCorner:F.mappingFunction(0,0),bottomRightCorner:F.mappingFunction(D.dimension,D.dimension),bottomLeftCorner:F.mappingFunction(0,D.dimension),topRightFinderPattern:D.topRight,topLeftFinderPattern:D.topLeft,bottomLeftFinderPattern:D.bottomLeft,bottomRightAlignmentPattern:D.alignmentPattern}}}return null}var E={inversionAttempts:"attemptBoth"};function p(y,C,A,b){b===void 0&&(b={});var D=E;Object.keys(D||{}).forEach(function(T){D[T]=b[T]||D[T]});var F=D.inversionAttempts==="attemptBoth"||D.inversionAttempts==="invertFirst",O=D.inversionAttempts==="onlyInvert"||D.inversionAttempts==="invertFirst",w=x.binarize(y,C,A,F),_=w.binarized,R=w.inverted,k=h(O?R:_);return!k&&(D.inversionAttempts==="attemptBoth"||D.inversionAttempts==="invertFirst")&&(k=h(O?_:R)),k}p.default=p,i.default=p}),(function(a,i,s){Object.defineProperty(i,"__esModule",{value:!0});var x=s(0),u=8,f=24;function d(p,y,C){return p<y?y:p>C?C:p}var h=(function(){function p(y,C){this.width=y,this.data=new Uint8ClampedArray(y*C)}return p.prototype.get=function(y,C){return this.data[C*this.width+y]},p.prototype.set=function(y,C,A){this.data[C*this.width+y]=A},p})();function E(p,y,C,A){if(p.length!==y*C*4)throw new Error("Malformed data passed to binarizer.");for(var b=new h(y,C),D=0;D<y;D++)for(var F=0;F<C;F++){var O=p[(F*y+D)*4+0],w=p[(F*y+D)*4+1],_=p[(F*y+D)*4+2];b.set(D,F,.2126*O+.7152*w+.0722*_)}for(var R=Math.ceil(y/u),k=Math.ceil(C/u),T=new h(R,k),S=0;S<k;S++)for(var q=0;q<R;q++){for(var L=0,X=1/0,K=0,F=0;F<u;F++)for(var D=0;D<u;D++){var ie=b.get(q*u+D,S*u+F);L+=ie,X=Math.min(X,ie),K=Math.max(K,ie)}var Z=L/Math.pow(u,2);if(K-X<=f&&(Z=X/2,S>0&&q>0)){var $=(T.get(q,S-1)+2*T.get(q-1,S)+T.get(q-1,S-1))/4;X<$&&(Z=$)}T.set(q,S,Z)}var P=x.BitMatrix.createEmpty(y,C),Y=null;A&&(Y=x.BitMatrix.createEmpty(y,C));for(var S=0;S<k;S++)for(var q=0;q<R;q++){for(var oe=d(q,2,R-3),fe=d(S,2,k-3),L=0,M=-2;M<=2;M++)for(var j=-2;j<=2;j++)L+=T.get(oe+M,fe+j);for(var W=L/25,M=0;M<u;M++)for(var j=0;j<u;j++){var D=q*u+M,F=S*u+j,N=b.get(D,F);P.set(D,F,N<=W),A&&Y.set(D,F,!(N<=W))}}return A?{binarized:P,inverted:Y}:{binarized:P}}i.binarize=E}),(function(a,i,s){Object.defineProperty(i,"__esModule",{value:!0});var x=s(0),u=s(6),f=s(9),d=s(10);function h(_,R){for(var k=_^R,T=0;k;)T++,k&=k-1;return T}function E(_,R){return R<<1|_}var p=[{bits:21522,formatInfo:{errorCorrectionLevel:1,dataMask:0}},{bits:20773,formatInfo:{errorCorrectionLevel:1,dataMask:1}},{bits:24188,formatInfo:{errorCorrectionLevel:1,dataMask:2}},{bits:23371,formatInfo:{errorCorrectionLevel:1,dataMask:3}},{bits:17913,formatInfo:{errorCorrectionLevel:1,dataMask:4}},{bits:16590,formatInfo:{errorCorrectionLevel:1,dataMask:5}},{bits:20375,formatInfo:{errorCorrectionLevel:1,dataMask:6}},{bits:19104,formatInfo:{errorCorrectionLevel:1,dataMask:7}},{bits:30660,formatInfo:{errorCorrectionLevel:0,dataMask:0}},{bits:29427,formatInfo:{errorCorrectionLevel:0,dataMask:1}},{bits:32170,formatInfo:{errorCorrectionLevel:0,dataMask:2}},{bits:30877,formatInfo:{errorCorrectionLevel:0,dataMask:3}},{bits:26159,formatInfo:{errorCorrectionLevel:0,dataMask:4}},{bits:25368,formatInfo:{errorCorrectionLevel:0,dataMask:5}},{bits:27713,formatInfo:{errorCorrectionLevel:0,dataMask:6}},{bits:26998,formatInfo:{errorCorrectionLevel:0,dataMask:7}},{bits:5769,formatInfo:{errorCorrectionLevel:3,dataMask:0}},{bits:5054,formatInfo:{errorCorrectionLevel:3,dataMask:1}},{bits:7399,formatInfo:{errorCorrectionLevel:3,dataMask:2}},{bits:6608,formatInfo:{errorCorrectionLevel:3,dataMask:3}},{bits:1890,formatInfo:{errorCorrectionLevel:3,dataMask:4}},{bits:597,formatInfo:{errorCorrectionLevel:3,dataMask:5}},{bits:3340,formatInfo:{errorCorrectionLevel:3,dataMask:6}},{bits:2107,formatInfo:{errorCorrectionLevel:3,dataMask:7}},{bits:13663,formatInfo:{errorCorrectionLevel:2,dataMask:0}},{bits:12392,formatInfo:{errorCorrectionLevel:2,dataMask:1}},{bits:16177,formatInfo:{errorCorrectionLevel:2,dataMask:2}},{bits:14854,formatInfo:{errorCorrectionLevel:2,dataMask:3}},{bits:9396,formatInfo:{errorCorrectionLevel:2,dataMask:4}},{bits:8579,formatInfo:{errorCorrectionLevel:2,dataMask:5}},{bits:11994,formatInfo:{errorCorrectionLevel:2,dataMask:6}},{bits:11245,formatInfo:{errorCorrectionLevel:2,dataMask:7}}],y=[function(_){return(_.y+_.x)%2===0},function(_){return _.y%2===0},function(_){return _.x%3===0},function(_){return(_.y+_.x)%3===0},function(_){return(Math.floor(_.y/2)+Math.floor(_.x/3))%2===0},function(_){return _.x*_.y%2+_.x*_.y%3===0},function(_){return(_.y*_.x%2+_.y*_.x%3)%2===0},function(_){return((_.y+_.x)%2+_.y*_.x%3)%2===0}];function C(_){var R=17+4*_.versionNumber,k=x.BitMatrix.createEmpty(R,R);k.setRegion(0,0,9,9,!0),k.setRegion(R-8,0,8,9,!0),k.setRegion(0,R-8,9,8,!0);for(var T=0,S=_.alignmentPatternCenters;T<S.length;T++)for(var q=S[T],L=0,X=_.alignmentPatternCenters;L<X.length;L++){var K=X[L];q===6&&K===6||q===6&&K===R-7||q===R-7&&K===6||k.setRegion(q-2,K-2,5,5,!0)}return k.setRegion(6,9,1,R-17,!0),k.setRegion(9,6,R-17,1,!0),_.versionNumber>6&&(k.setRegion(R-11,0,3,6,!0),k.setRegion(0,R-11,6,3,!0)),k}function A(_,R,k){for(var T=y[k.dataMask],S=_.height,q=C(R),L=[],X=0,K=0,ie=!0,Z=S-1;Z>0;Z-=2){Z===6&&Z--;for(var $=0;$<S;$++)for(var P=ie?S-1-$:$,Y=0;Y<2;Y++){var oe=Z-Y;if(!q.get(oe,P)){K++;var fe=_.get(oe,P);T({y:P,x:oe})&&(fe=!fe),X=E(fe,X),K===8&&(L.push(X),K=0,X=0)}}ie=!ie}return L}function b(_){var R=_.height,k=Math.floor((R-17)/4);if(k<=6)return d.VERSIONS[k-1];for(var T=0,S=5;S>=0;S--)for(var q=R-9;q>=R-11;q--)T=E(_.get(q,S),T);for(var L=0,q=5;q>=0;q--)for(var S=R-9;S>=R-11;S--)L=E(_.get(q,S),L);for(var X=1/0,K,ie=0,Z=d.VERSIONS;ie<Z.length;ie++){var $=Z[ie];if($.infoBits===T||$.infoBits===L)return $;var P=h(T,$.infoBits);P<X&&(K=$,X=P),P=h(L,$.infoBits),P<X&&(K=$,X=P)}if(X<=3)return K}function D(_){for(var R=0,k=0;k<=8;k++)k!==6&&(R=E(_.get(k,8),R));for(var T=7;T>=0;T--)T!==6&&(R=E(_.get(8,T),R));for(var S=_.height,q=0,T=S-1;T>=S-7;T--)q=E(_.get(8,T),q);for(var k=S-8;k<S;k++)q=E(_.get(k,8),q);for(var L=1/0,X=null,K=0,ie=p;K<ie.length;K++){var Z=ie[K],$=Z.bits,P=Z.formatInfo;if($===R||$===q)return P;var Y=h(R,$);Y<L&&(X=P,L=Y),R!==q&&(Y=h(q,$),Y<L&&(X=P,L=Y))}return L<=3?X:null}function F(_,R,k){var T=R.errorCorrectionLevels[k],S=[],q=0;if(T.ecBlocks.forEach(function(fe){for(var M=0;M<fe.numBlocks;M++)S.push({numDataCodewords:fe.dataCodewordsPerBlock,codewords:[]}),q+=fe.dataCodewordsPerBlock+T.ecCodewordsPerBlock}),_.length<q)return null;_=_.slice(0,q);for(var L=T.ecBlocks[0].dataCodewordsPerBlock,X=0;X<L;X++)for(var K=0,ie=S;K<ie.length;K++){var Z=ie[K];Z.codewords.push(_.shift())}if(T.ecBlocks.length>1)for(var $=T.ecBlocks[0].numBlocks,P=T.ecBlocks[1].numBlocks,X=0;X<P;X++)S[$+X].codewords.push(_.shift());for(;_.length>0;)for(var Y=0,oe=S;Y<oe.length;Y++){var Z=oe[Y];Z.codewords.push(_.shift())}return S}function O(_){var R=b(_);if(!R)return null;var k=D(_);if(!k)return null;var T=A(_,R,k),S=F(T,R,k.errorCorrectionLevel);if(!S)return null;for(var q=S.reduce(function(Y,oe){return Y+oe.numDataCodewords},0),L=new Uint8ClampedArray(q),X=0,K=0,ie=S;K<ie.length;K++){var Z=ie[K],$=f.decode(Z.codewords,Z.codewords.length-Z.numDataCodewords);if(!$)return null;for(var P=0;P<Z.numDataCodewords;P++)L[X++]=$[P]}try{return u.decode(L,R.versionNumber)}catch{return null}}function w(_){if(_==null)return null;var R=O(_);if(R)return R;for(var k=0;k<_.width;k++)for(var T=k+1;T<_.height;T++)_.get(k,T)!==_.get(T,k)&&(_.set(k,T,!_.get(k,T)),_.set(T,k,!_.get(T,k)));return O(_)}i.decode=w}),(function(a,i,s){Object.defineProperty(i,"__esModule",{value:!0});var x=s(7),u=s(8),f;(function(b){b.Numeric="numeric",b.Alphanumeric="alphanumeric",b.Byte="byte",b.Kanji="kanji",b.ECI="eci"})(f=i.Mode||(i.Mode={}));var d;(function(b){b[b.Terminator=0]="Terminator",b[b.Numeric=1]="Numeric",b[b.Alphanumeric=2]="Alphanumeric",b[b.Byte=4]="Byte",b[b.Kanji=8]="Kanji",b[b.ECI=7]="ECI"})(d||(d={}));function h(b,D){for(var F=[],O="",w=[10,12,14][D],_=b.readBits(w);_>=3;){var R=b.readBits(10);if(R>=1e3)throw new Error("Invalid numeric value above 999");var k=Math.floor(R/100),T=Math.floor(R/10)%10,S=R%10;F.push(48+k,48+T,48+S),O+=k.toString()+T.toString()+S.toString(),_-=3}if(_===2){var R=b.readBits(7);if(R>=100)throw new Error("Invalid numeric value above 99");var k=Math.floor(R/10),T=R%10;F.push(48+k,48+T),O+=k.toString()+T.toString()}else if(_===1){var R=b.readBits(4);if(R>=10)throw new Error("Invalid numeric value above 9");F.push(48+R),O+=R.toString()}return{bytes:F,text:O}}var E=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"," ","$","%","*","+","-",".","/",":"];function p(b,D){for(var F=[],O="",w=[9,11,13][D],_=b.readBits(w);_>=2;){var R=b.readBits(11),k=Math.floor(R/45),T=R%45;F.push(E[k].charCodeAt(0),E[T].charCodeAt(0)),O+=E[k]+E[T],_-=2}if(_===1){var k=b.readBits(6);F.push(E[k].charCodeAt(0)),O+=E[k]}return{bytes:F,text:O}}function y(b,D){for(var F=[],O="",w=[8,16,16][D],_=b.readBits(w),R=0;R<_;R++){var k=b.readBits(8);F.push(k)}try{O+=decodeURIComponent(F.map(function(T){return"%"+("0"+T.toString(16)).substr(-2)}).join(""))}catch{}return{bytes:F,text:O}}function C(b,D){for(var F=[],O="",w=[8,10,12][D],_=b.readBits(w),R=0;R<_;R++){var k=b.readBits(13),T=Math.floor(k/192)<<8|k%192;T<7936?T+=33088:T+=49472,F.push(T>>8,T&255),O+=String.fromCharCode(u.shiftJISTable[T])}return{bytes:F,text:O}}function A(b,D){for(var F,O,w,_,R=new x.BitStream(b),k=D<=9?0:D<=26?1:2,T={text:"",bytes:[],chunks:[],version:D};R.available()>=4;){var S=R.readBits(4);if(S===d.Terminator)return T;if(S===d.ECI)R.readBits(1)===0?T.chunks.push({type:f.ECI,assignmentNumber:R.readBits(7)}):R.readBits(1)===0?T.chunks.push({type:f.ECI,assignmentNumber:R.readBits(14)}):R.readBits(1)===0?T.chunks.push({type:f.ECI,assignmentNumber:R.readBits(21)}):T.chunks.push({type:f.ECI,assignmentNumber:-1});else if(S===d.Numeric){var q=h(R,k);T.text+=q.text,(F=T.bytes).push.apply(F,q.bytes),T.chunks.push({type:f.Numeric,text:q.text})}else if(S===d.Alphanumeric){var L=p(R,k);T.text+=L.text,(O=T.bytes).push.apply(O,L.bytes),T.chunks.push({type:f.Alphanumeric,text:L.text})}else if(S===d.Byte){var X=y(R,k);T.text+=X.text,(w=T.bytes).push.apply(w,X.bytes),T.chunks.push({type:f.Byte,bytes:X.bytes,text:X.text})}else if(S===d.Kanji){var K=C(R,k);T.text+=K.text,(_=T.bytes).push.apply(_,K.bytes),T.chunks.push({type:f.Kanji,bytes:K.bytes,text:K.text})}}if(R.available()===0||R.readBits(R.available())===0)return T}i.decode=A}),(function(a,i,s){Object.defineProperty(i,"__esModule",{value:!0});var x=(function(){function u(f){this.byteOffset=0,this.bitOffset=0,this.bytes=f}return u.prototype.readBits=function(f){if(f<1||f>32||f>this.available())throw new Error("Cannot read "+f.toString()+" bits");var d=0;if(this.bitOffset>0){var h=8-this.bitOffset,E=f<h?f:h,p=h-E,y=255>>8-E<<p;d=(this.bytes[this.byteOffset]&y)>>p,f-=E,this.bitOffset+=E,this.bitOffset===8&&(this.bitOffset=0,this.byteOffset++)}if(f>0){for(;f>=8;)d=d<<8|this.bytes[this.byteOffset]&255,this.byteOffset++,f-=8;if(f>0){var p=8-f,y=255>>p<<p;d=d<<f|(this.bytes[this.byteOffset]&y)>>p,this.bitOffset+=f}}return d},u.prototype.available=function(){return 8*(this.bytes.length-this.byteOffset)-this.bitOffset},u})();i.BitStream=x}),(function(a,i,s){Object.defineProperty(i,"__esModule",{value:!0}),i.shiftJISTable={32:32,33:33,34:34,35:35,36:36,37:37,38:38,39:39,40:40,41:41,42:42,43:43,44:44,45:45,46:46,47:47,48:48,49:49,50:50,51:51,52:52,53:53,54:54,55:55,56:56,57:57,58:58,59:59,60:60,61:61,62:62,63:63,64:64,65:65,66:66,67:67,68:68,69:69,70:70,71:71,72:72,73:73,74:74,75:75,76:76,77:77,78:78,79:79,80:80,81:81,82:82,83:83,84:84,85:85,86:86,87:87,88:88,89:89,90:90,91:91,92:165,93:93,94:94,95:95,96:96,97:97,98:98,99:99,100:100,101:101,102:102,103:103,104:104,105:105,106:106,107:107,108:108,109:109,110:110,111:111,112:112,113:113,114:114,115:115,116:116,117:117,118:118,119:119,120:120,121:121,122:122,123:123,124:124,125:125,126:8254,33088:12288,33089:12289,33090:12290,33091:65292,33092:65294,33093:12539,33094:65306,33095:65307,33096:65311,33097:65281,33098:12443,33099:12444,33100:180,33101:65344,33102:168,33103:65342,33104:65507,33105:65343,33106:12541,33107:12542,33108:12445,33109:12446,33110:12291,33111:20189,33112:12293,33113:12294,33114:12295,33115:12540,33116:8213,33117:8208,33118:65295,33119:92,33120:12316,33121:8214,33122:65372,33123:8230,33124:8229,33125:8216,33126:8217,33127:8220,33128:8221,33129:65288,33130:65289,33131:12308,33132:12309,33133:65339,33134:65341,33135:65371,33136:65373,33137:12296,33138:12297,33139:12298,33140:12299,33141:12300,33142:12301,33143:12302,33144:12303,33145:12304,33146:12305,33147:65291,33148:8722,33149:177,33150:215,33152:247,33153:65309,33154:8800,33155:65308,33156:65310,33157:8806,33158:8807,33159:8734,33160:8756,33161:9794,33162:9792,33163:176,33164:8242,33165:8243,33166:8451,33167:65509,33168:65284,33169:162,33170:163,33171:65285,33172:65283,33173:65286,33174:65290,33175:65312,33176:167,33177:9734,33178:9733,33179:9675,33180:9679,33181:9678,33182:9671,33183:9670,33184:9633,33185:9632,33186:9651,33187:9650,33188:9661,33189:9660,33190:8251,33191:12306,33192:8594,33193:8592,33194:8593,33195:8595,33196:12307,33208:8712,33209:8715,33210:8838,33211:8839,33212:8834,33213:8835,33214:8746,33215:8745,33224:8743,33225:8744,33226:172,33227:8658,33228:8660,33229:8704,33230:8707,33242:8736,33243:8869,33244:8978,33245:8706,33246:8711,33247:8801,33248:8786,33249:8810,33250:8811,33251:8730,33252:8765,33253:8733,33254:8757,33255:8747,33256:8748,33264:8491,33265:8240,33266:9839,33267:9837,33268:9834,33269:8224,33270:8225,33271:182,33276:9711,33359:65296,33360:65297,33361:65298,33362:65299,33363:65300,33364:65301,33365:65302,33366:65303,33367:65304,33368:65305,33376:65313,33377:65314,33378:65315,33379:65316,33380:65317,33381:65318,33382:65319,33383:65320,33384:65321,33385:65322,33386:65323,33387:65324,33388:65325,33389:65326,33390:65327,33391:65328,33392:65329,33393:65330,33394:65331,33395:65332,33396:65333,33397:65334,33398:65335,33399:65336,33400:65337,33401:65338,33409:65345,33410:65346,33411:65347,33412:65348,33413:65349,33414:65350,33415:65351,33416:65352,33417:65353,33418:65354,33419:65355,33420:65356,33421:65357,33422:65358,33423:65359,33424:65360,33425:65361,33426:65362,33427:65363,33428:65364,33429:65365,33430:65366,33431:65367,33432:65368,33433:65369,33434:65370,33439:12353,33440:12354,33441:12355,33442:12356,33443:12357,33444:12358,33445:12359,33446:12360,33447:12361,33448:12362,33449:12363,33450:12364,33451:12365,33452:12366,33453:12367,33454:12368,33455:12369,33456:12370,33457:12371,33458:12372,33459:12373,33460:12374,33461:12375,33462:12376,33463:12377,33464:12378,33465:12379,33466:12380,33467:12381,33468:12382,33469:12383,33470:12384,33471:12385,33472:12386,33473:12387,33474:12388,33475:12389,33476:12390,33477:12391,33478:12392,33479:12393,33480:12394,33481:12395,33482:12396,33483:12397,33484:12398,33485:12399,33486:12400,33487:12401,33488:12402,33489:12403,33490:12404,33491:12405,33492:12406,33493:12407,33494:12408,33495:12409,33496:12410,33497:12411,33498:12412,33499:12413,33500:12414,33501:12415,33502:12416,33503:12417,33504:12418,33505:12419,33506:12420,33507:12421,33508:12422,33509:12423,33510:12424,33511:12425,33512:12426,33513:12427,33514:12428,33515:12429,33516:12430,33517:12431,33518:12432,33519:12433,33520:12434,33521:12435,33600:12449,33601:12450,33602:12451,33603:12452,33604:12453,33605:12454,33606:12455,33607:12456,33608:12457,33609:12458,33610:12459,33611:12460,33612:12461,33613:12462,33614:12463,33615:12464,33616:12465,33617:12466,33618:12467,33619:12468,33620:12469,33621:12470,33622:12471,33623:12472,33624:12473,33625:12474,33626:12475,33627:12476,33628:12477,33629:12478,33630:12479,33631:12480,33632:12481,33633:12482,33634:12483,33635:12484,33636:12485,33637:12486,33638:12487,33639:12488,33640:12489,33641:12490,33642:12491,33643:12492,33644:12493,33645:12494,33646:12495,33647:12496,33648:12497,33649:12498,33650:12499,33651:12500,33652:12501,33653:12502,33654:12503,33655:12504,33656:12505,33657:12506,33658:12507,33659:12508,33660:12509,33661:12510,33662:12511,33664:12512,33665:12513,33666:12514,33667:12515,33668:12516,33669:12517,33670:12518,33671:12519,33672:12520,33673:12521,33674:12522,33675:12523,33676:12524,33677:12525,33678:12526,33679:12527,33680:12528,33681:12529,33682:12530,33683:12531,33684:12532,33685:12533,33686:12534,33695:913,33696:914,33697:915,33698:916,33699:917,33700:918,33701:919,33702:920,33703:921,33704:922,33705:923,33706:924,33707:925,33708:926,33709:927,33710:928,33711:929,33712:931,33713:932,33714:933,33715:934,33716:935,33717:936,33718:937,33727:945,33728:946,33729:947,33730:948,33731:949,33732:950,33733:951,33734:952,33735:953,33736:954,33737:955,33738:956,33739:957,33740:958,33741:959,33742:960,33743:961,33744:963,33745:964,33746:965,33747:966,33748:967,33749:968,33750:969,33856:1040,33857:1041,33858:1042,33859:1043,33860:1044,33861:1045,33862:1025,33863:1046,33864:1047,33865:1048,33866:1049,33867:1050,33868:1051,33869:1052,33870:1053,33871:1054,33872:1055,33873:1056,33874:1057,33875:1058,33876:1059,33877:1060,33878:1061,33879:1062,33880:1063,33881:1064,33882:1065,33883:1066,33884:1067,33885:1068,33886:1069,33887:1070,33888:1071,33904:1072,33905:1073,33906:1074,33907:1075,33908:1076,33909:1077,33910:1105,33911:1078,33912:1079,33913:1080,33914:1081,33915:1082,33916:1083,33917:1084,33918:1085,33920:1086,33921:1087,33922:1088,33923:1089,33924:1090,33925:1091,33926:1092,33927:1093,33928:1094,33929:1095,33930:1096,33931:1097,33932:1098,33933:1099,33934:1100,33935:1101,33936:1102,33937:1103,33951:9472,33952:9474,33953:9484,33954:9488,33955:9496,33956:9492,33957:9500,33958:9516,33959:9508,33960:9524,33961:9532,33962:9473,33963:9475,33964:9487,33965:9491,33966:9499,33967:9495,33968:9507,33969:9523,33970:9515,33971:9531,33972:9547,33973:9504,33974:9519,33975:9512,33976:9527,33977:9535,33978:9501,33979:9520,33980:9509,33981:9528,33982:9538,34975:20124,34976:21782,34977:23043,34978:38463,34979:21696,34980:24859,34981:25384,34982:23030,34983:36898,34984:33909,34985:33564,34986:31312,34987:24746,34988:25569,34989:28197,34990:26093,34991:33894,34992:33446,34993:39925,34994:26771,34995:22311,34996:26017,34997:25201,34998:23451,34999:22992,35e3:34427,35001:39156,35002:32098,35003:32190,35004:39822,35005:25110,35006:31903,35007:34999,35008:23433,35009:24245,35010:25353,35011:26263,35012:26696,35013:38343,35014:38797,35015:26447,35016:20197,35017:20234,35018:20301,35019:20381,35020:20553,35021:22258,35022:22839,35023:22996,35024:23041,35025:23561,35026:24799,35027:24847,35028:24944,35029:26131,35030:26885,35031:28858,35032:30031,35033:30064,35034:31227,35035:32173,35036:32239,35037:32963,35038:33806,35039:34915,35040:35586,35041:36949,35042:36986,35043:21307,35044:20117,35045:20133,35046:22495,35047:32946,35048:37057,35049:30959,35050:19968,35051:22769,35052:28322,35053:36920,35054:31282,35055:33576,35056:33419,35057:39983,35058:20801,35059:21360,35060:21693,35061:21729,35062:22240,35063:23035,35064:24341,35065:39154,35066:28139,35067:32996,35068:34093,35136:38498,35137:38512,35138:38560,35139:38907,35140:21515,35141:21491,35142:23431,35143:28879,35144:32701,35145:36802,35146:38632,35147:21359,35148:40284,35149:31418,35150:19985,35151:30867,35152:33276,35153:28198,35154:22040,35155:21764,35156:27421,35157:34074,35158:39995,35159:23013,35160:21417,35161:28006,35162:29916,35163:38287,35164:22082,35165:20113,35166:36939,35167:38642,35168:33615,35169:39180,35170:21473,35171:21942,35172:23344,35173:24433,35174:26144,35175:26355,35176:26628,35177:27704,35178:27891,35179:27945,35180:29787,35181:30408,35182:31310,35183:38964,35184:33521,35185:34907,35186:35424,35187:37613,35188:28082,35189:30123,35190:30410,35191:39365,35192:24742,35193:35585,35194:36234,35195:38322,35196:27022,35197:21421,35198:20870,35200:22290,35201:22576,35202:22852,35203:23476,35204:24310,35205:24616,35206:25513,35207:25588,35208:27839,35209:28436,35210:28814,35211:28948,35212:29017,35213:29141,35214:29503,35215:32257,35216:33398,35217:33489,35218:34199,35219:36960,35220:37467,35221:40219,35222:22633,35223:26044,35224:27738,35225:29989,35226:20985,35227:22830,35228:22885,35229:24448,35230:24540,35231:25276,35232:26106,35233:27178,35234:27431,35235:27572,35236:29579,35237:32705,35238:35158,35239:40236,35240:40206,35241:40644,35242:23713,35243:27798,35244:33659,35245:20740,35246:23627,35247:25014,35248:33222,35249:26742,35250:29281,35251:20057,35252:20474,35253:21368,35254:24681,35255:28201,35256:31311,35257:38899,35258:19979,35259:21270,35260:20206,35261:20309,35262:20285,35263:20385,35264:20339,35265:21152,35266:21487,35267:22025,35268:22799,35269:23233,35270:23478,35271:23521,35272:31185,35273:26247,35274:26524,35275:26550,35276:27468,35277:27827,35278:28779,35279:29634,35280:31117,35281:31166,35282:31292,35283:31623,35284:33457,35285:33499,35286:33540,35287:33655,35288:33775,35289:33747,35290:34662,35291:35506,35292:22057,35293:36008,35294:36838,35295:36942,35296:38686,35297:34442,35298:20420,35299:23784,35300:25105,35301:29273,35302:30011,35303:33253,35304:33469,35305:34558,35306:36032,35307:38597,35308:39187,35309:39381,35310:20171,35311:20250,35312:35299,35313:22238,35314:22602,35315:22730,35316:24315,35317:24555,35318:24618,35319:24724,35320:24674,35321:25040,35322:25106,35323:25296,35324:25913,35392:39745,35393:26214,35394:26800,35395:28023,35396:28784,35397:30028,35398:30342,35399:32117,35400:33445,35401:34809,35402:38283,35403:38542,35404:35997,35405:20977,35406:21182,35407:22806,35408:21683,35409:23475,35410:23830,35411:24936,35412:27010,35413:28079,35414:30861,35415:33995,35416:34903,35417:35442,35418:37799,35419:39608,35420:28012,35421:39336,35422:34521,35423:22435,35424:26623,35425:34510,35426:37390,35427:21123,35428:22151,35429:21508,35430:24275,35431:25313,35432:25785,35433:26684,35434:26680,35435:27579,35436:29554,35437:30906,35438:31339,35439:35226,35440:35282,35441:36203,35442:36611,35443:37101,35444:38307,35445:38548,35446:38761,35447:23398,35448:23731,35449:27005,35450:38989,35451:38990,35452:25499,35453:31520,35454:27179,35456:27263,35457:26806,35458:39949,35459:28511,35460:21106,35461:21917,35462:24688,35463:25324,35464:27963,35465:28167,35466:28369,35467:33883,35468:35088,35469:36676,35470:19988,35471:39993,35472:21494,35473:26907,35474:27194,35475:38788,35476:26666,35477:20828,35478:31427,35479:33970,35480:37340,35481:37772,35482:22107,35483:40232,35484:26658,35485:33541,35486:33841,35487:31909,35488:21e3,35489:33477,35490:29926,35491:20094,35492:20355,35493:20896,35494:23506,35495:21002,35496:21208,35497:21223,35498:24059,35499:21914,35500:22570,35501:23014,35502:23436,35503:23448,35504:23515,35505:24178,35506:24185,35507:24739,35508:24863,35509:24931,35510:25022,35511:25563,35512:25954,35513:26577,35514:26707,35515:26874,35516:27454,35517:27475,35518:27735,35519:28450,35520:28567,35521:28485,35522:29872,35523:29976,35524:30435,35525:30475,35526:31487,35527:31649,35528:31777,35529:32233,35530:32566,35531:32752,35532:32925,35533:33382,35534:33694,35535:35251,35536:35532,35537:36011,35538:36996,35539:37969,35540:38291,35541:38289,35542:38306,35543:38501,35544:38867,35545:39208,35546:33304,35547:20024,35548:21547,35549:23736,35550:24012,35551:29609,35552:30284,35553:30524,35554:23721,35555:32747,35556:36107,35557:38593,35558:38929,35559:38996,35560:39e3,35561:20225,35562:20238,35563:21361,35564:21916,35565:22120,35566:22522,35567:22855,35568:23305,35569:23492,35570:23696,35571:24076,35572:24190,35573:24524,35574:25582,35575:26426,35576:26071,35577:26082,35578:26399,35579:26827,35580:26820,35648:27231,35649:24112,35650:27589,35651:27671,35652:27773,35653:30079,35654:31048,35655:23395,35656:31232,35657:32e3,35658:24509,35659:35215,35660:35352,35661:36020,35662:36215,35663:36556,35664:36637,35665:39138,35666:39438,35667:39740,35668:20096,35669:20605,35670:20736,35671:22931,35672:23452,35673:25135,35674:25216,35675:25836,35676:27450,35677:29344,35678:30097,35679:31047,35680:32681,35681:34811,35682:35516,35683:35696,35684:25516,35685:33738,35686:38816,35687:21513,35688:21507,35689:21931,35690:26708,35691:27224,35692:35440,35693:30759,35694:26485,35695:40653,35696:21364,35697:23458,35698:33050,35699:34384,35700:36870,35701:19992,35702:20037,35703:20167,35704:20241,35705:21450,35706:21560,35707:23470,35708:24339,35709:24613,35710:25937,35712:26429,35713:27714,35714:27762,35715:27875,35716:28792,35717:29699,35718:31350,35719:31406,35720:31496,35721:32026,35722:31998,35723:32102,35724:26087,35725:29275,35726:21435,35727:23621,35728:24040,35729:25298,35730:25312,35731:25369,35732:28192,35733:34394,35734:35377,35735:36317,35736:37624,35737:28417,35738:31142,35739:39770,35740:20136,35741:20139,35742:20140,35743:20379,35744:20384,35745:20689,35746:20807,35747:31478,35748:20849,35749:20982,35750:21332,35751:21281,35752:21375,35753:21483,35754:21932,35755:22659,35756:23777,35757:24375,35758:24394,35759:24623,35760:24656,35761:24685,35762:25375,35763:25945,35764:27211,35765:27841,35766:29378,35767:29421,35768:30703,35769:33016,35770:33029,35771:33288,35772:34126,35773:37111,35774:37857,35775:38911,35776:39255,35777:39514,35778:20208,35779:20957,35780:23597,35781:26241,35782:26989,35783:23616,35784:26354,35785:26997,35786:29577,35787:26704,35788:31873,35789:20677,35790:21220,35791:22343,35792:24062,35793:37670,35794:26020,35795:27427,35796:27453,35797:29748,35798:31105,35799:31165,35800:31563,35801:32202,35802:33465,35803:33740,35804:34943,35805:35167,35806:35641,35807:36817,35808:37329,35809:21535,35810:37504,35811:20061,35812:20534,35813:21477,35814:21306,35815:29399,35816:29590,35817:30697,35818:33510,35819:36527,35820:39366,35821:39368,35822:39378,35823:20855,35824:24858,35825:34398,35826:21936,35827:31354,35828:20598,35829:23507,35830:36935,35831:38533,35832:20018,35833:27355,35834:37351,35835:23633,35836:23624,35904:25496,35905:31391,35906:27795,35907:38772,35908:36705,35909:31402,35910:29066,35911:38536,35912:31874,35913:26647,35914:32368,35915:26705,35916:37740,35917:21234,35918:21531,35919:34219,35920:35347,35921:32676,35922:36557,35923:37089,35924:21350,35925:34952,35926:31041,35927:20418,35928:20670,35929:21009,35930:20804,35931:21843,35932:22317,35933:29674,35934:22411,35935:22865,35936:24418,35937:24452,35938:24693,35939:24950,35940:24935,35941:25001,35942:25522,35943:25658,35944:25964,35945:26223,35946:26690,35947:28179,35948:30054,35949:31293,35950:31995,35951:32076,35952:32153,35953:32331,35954:32619,35955:33550,35956:33610,35957:34509,35958:35336,35959:35427,35960:35686,35961:36605,35962:38938,35963:40335,35964:33464,35965:36814,35966:39912,35968:21127,35969:25119,35970:25731,35971:28608,35972:38553,35973:26689,35974:20625,35975:27424,35976:27770,35977:28500,35978:31348,35979:32080,35980:34880,35981:35363,35982:26376,35983:20214,35984:20537,35985:20518,35986:20581,35987:20860,35988:21048,35989:21091,35990:21927,35991:22287,35992:22533,35993:23244,35994:24314,35995:25010,35996:25080,35997:25331,35998:25458,35999:26908,36e3:27177,36001:29309,36002:29356,36003:29486,36004:30740,36005:30831,36006:32121,36007:30476,36008:32937,36009:35211,36010:35609,36011:36066,36012:36562,36013:36963,36014:37749,36015:38522,36016:38997,36017:39443,36018:40568,36019:20803,36020:21407,36021:21427,36022:24187,36023:24358,36024:28187,36025:28304,36026:29572,36027:29694,36028:32067,36029:33335,36030:35328,36031:35578,36032:38480,36033:20046,36034:20491,36035:21476,36036:21628,36037:22266,36038:22993,36039:23396,36040:24049,36041:24235,36042:24359,36043:25144,36044:25925,36045:26543,36046:28246,36047:29392,36048:31946,36049:34996,36050:32929,36051:32993,36052:33776,36053:34382,36054:35463,36055:36328,36056:37431,36057:38599,36058:39015,36059:40723,36060:20116,36061:20114,36062:20237,36063:21320,36064:21577,36065:21566,36066:23087,36067:24460,36068:24481,36069:24735,36070:26791,36071:27278,36072:29786,36073:30849,36074:35486,36075:35492,36076:35703,36077:37264,36078:20062,36079:39881,36080:20132,36081:20348,36082:20399,36083:20505,36084:20502,36085:20809,36086:20844,36087:21151,36088:21177,36089:21246,36090:21402,36091:21475,36092:21521,36160:21518,36161:21897,36162:22353,36163:22434,36164:22909,36165:23380,36166:23389,36167:23439,36168:24037,36169:24039,36170:24055,36171:24184,36172:24195,36173:24218,36174:24247,36175:24344,36176:24658,36177:24908,36178:25239,36179:25304,36180:25511,36181:25915,36182:26114,36183:26179,36184:26356,36185:26477,36186:26657,36187:26775,36188:27083,36189:27743,36190:27946,36191:28009,36192:28207,36193:28317,36194:30002,36195:30343,36196:30828,36197:31295,36198:31968,36199:32005,36200:32024,36201:32094,36202:32177,36203:32789,36204:32771,36205:32943,36206:32945,36207:33108,36208:33167,36209:33322,36210:33618,36211:34892,36212:34913,36213:35611,36214:36002,36215:36092,36216:37066,36217:37237,36218:37489,36219:30783,36220:37628,36221:38308,36222:38477,36224:38917,36225:39321,36226:39640,36227:40251,36228:21083,36229:21163,36230:21495,36231:21512,36232:22741,36233:25335,36234:28640,36235:35946,36236:36703,36237:40633,36238:20811,36239:21051,36240:21578,36241:22269,36242:31296,36243:37239,36244:40288,36245:40658,36246:29508,36247:28425,36248:33136,36249:29969,36250:24573,36251:24794,36252:39592,36253:29403,36254:36796,36255:27492,36256:38915,36257:20170,36258:22256,36259:22372,36260:22718,36261:23130,36262:24680,36263:25031,36264:26127,36265:26118,36266:26681,36267:26801,36268:28151,36269:30165,36270:32058,36271:33390,36272:39746,36273:20123,36274:20304,36275:21449,36276:21766,36277:23919,36278:24038,36279:24046,36280:26619,36281:27801,36282:29811,36283:30722,36284:35408,36285:37782,36286:35039,36287:22352,36288:24231,36289:25387,36290:20661,36291:20652,36292:20877,36293:26368,36294:21705,36295:22622,36296:22971,36297:23472,36298:24425,36299:25165,36300:25505,36301:26685,36302:27507,36303:28168,36304:28797,36305:37319,36306:29312,36307:30741,36308:30758,36309:31085,36310:25998,36311:32048,36312:33756,36313:35009,36314:36617,36315:38555,36316:21092,36317:22312,36318:26448,36319:32618,36320:36001,36321:20916,36322:22338,36323:38442,36324:22586,36325:27018,36326:32948,36327:21682,36328:23822,36329:22524,36330:30869,36331:40442,36332:20316,36333:21066,36334:21643,36335:25662,36336:26152,36337:26388,36338:26613,36339:31364,36340:31574,36341:32034,36342:37679,36343:26716,36344:39853,36345:31545,36346:21273,36347:20874,36348:21047,36416:23519,36417:25334,36418:25774,36419:25830,36420:26413,36421:27578,36422:34217,36423:38609,36424:30352,36425:39894,36426:25420,36427:37638,36428:39851,36429:30399,36430:26194,36431:19977,36432:20632,36433:21442,36434:23665,36435:24808,36436:25746,36437:25955,36438:26719,36439:29158,36440:29642,36441:29987,36442:31639,36443:32386,36444:34453,36445:35715,36446:36059,36447:37240,36448:39184,36449:26028,36450:26283,36451:27531,36452:20181,36453:20180,36454:20282,36455:20351,36456:21050,36457:21496,36458:21490,36459:21987,36460:22235,36461:22763,36462:22987,36463:22985,36464:23039,36465:23376,36466:23629,36467:24066,36468:24107,36469:24535,36470:24605,36471:25351,36472:25903,36473:23388,36474:26031,36475:26045,36476:26088,36477:26525,36478:27490,36480:27515,36481:27663,36482:29509,36483:31049,36484:31169,36485:31992,36486:32025,36487:32043,36488:32930,36489:33026,36490:33267,36491:35222,36492:35422,36493:35433,36494:35430,36495:35468,36496:35566,36497:36039,36498:36060,36499:38604,36500:39164,36501:27503,36502:20107,36503:20284,36504:20365,36505:20816,36506:23383,36507:23546,36508:24904,36509:25345,36510:26178,36511:27425,36512:28363,36513:27835,36514:29246,36515:29885,36516:30164,36517:30913,36518:31034,36519:32780,36520:32819,36521:33258,36522:33940,36523:36766,36524:27728,36525:40575,36526:24335,36527:35672,36528:40235,36529:31482,36530:36600,36531:23437,36532:38635,36533:19971,36534:21489,36535:22519,36536:22833,36537:23241,36538:23460,36539:24713,36540:28287,36541:28422,36542:30142,36543:36074,36544:23455,36545:34048,36546:31712,36547:20594,36548:26612,36549:33437,36550:23649,36551:34122,36552:32286,36553:33294,36554:20889,36555:23556,36556:25448,36557:36198,36558:26012,36559:29038,36560:31038,36561:32023,36562:32773,36563:35613,36564:36554,36565:36974,36566:34503,36567:37034,36568:20511,36569:21242,36570:23610,36571:26451,36572:28796,36573:29237,36574:37196,36575:37320,36576:37675,36577:33509,36578:23490,36579:24369,36580:24825,36581:20027,36582:21462,36583:23432,36584:25163,36585:26417,36586:27530,36587:29417,36588:29664,36589:31278,36590:33131,36591:36259,36592:37202,36593:39318,36594:20754,36595:21463,36596:21610,36597:23551,36598:25480,36599:27193,36600:32172,36601:38656,36602:22234,36603:21454,36604:21608,36672:23447,36673:23601,36674:24030,36675:20462,36676:24833,36677:25342,36678:27954,36679:31168,36680:31179,36681:32066,36682:32333,36683:32722,36684:33261,36685:33311,36686:33936,36687:34886,36688:35186,36689:35728,36690:36468,36691:36655,36692:36913,36693:37195,36694:37228,36695:38598,36696:37276,36697:20160,36698:20303,36699:20805,36700:21313,36701:24467,36702:25102,36703:26580,36704:27713,36705:28171,36706:29539,36707:32294,36708:37325,36709:37507,36710:21460,36711:22809,36712:23487,36713:28113,36714:31069,36715:32302,36716:31899,36717:22654,36718:29087,36719:20986,36720:34899,36721:36848,36722:20426,36723:23803,36724:26149,36725:30636,36726:31459,36727:33308,36728:39423,36729:20934,36730:24490,36731:26092,36732:26991,36733:27529,36734:28147,36736:28310,36737:28516,36738:30462,36739:32020,36740:24033,36741:36981,36742:37255,36743:38918,36744:20966,36745:21021,36746:25152,36747:26257,36748:26329,36749:28186,36750:24246,36751:32210,36752:32626,36753:26360,36754:34223,36755:34295,36756:35576,36757:21161,36758:21465,36759:22899,36760:24207,36761:24464,36762:24661,36763:37604,36764:38500,36765:20663,36766:20767,36767:21213,36768:21280,36769:21319,36770:21484,36771:21736,36772:21830,36773:21809,36774:22039,36775:22888,36776:22974,36777:23100,36778:23477,36779:23558,36780:23567,36781:23569,36782:23578,36783:24196,36784:24202,36785:24288,36786:24432,36787:25215,36788:25220,36789:25307,36790:25484,36791:25463,36792:26119,36793:26124,36794:26157,36795:26230,36796:26494,36797:26786,36798:27167,36799:27189,36800:27836,36801:28040,36802:28169,36803:28248,36804:28988,36805:28966,36806:29031,36807:30151,36808:30465,36809:30813,36810:30977,36811:31077,36812:31216,36813:31456,36814:31505,36815:31911,36816:32057,36817:32918,36818:33750,36819:33931,36820:34121,36821:34909,36822:35059,36823:35359,36824:35388,36825:35412,36826:35443,36827:35937,36828:36062,36829:37284,36830:37478,36831:37758,36832:37912,36833:38556,36834:38808,36835:19978,36836:19976,36837:19998,36838:20055,36839:20887,36840:21104,36841:22478,36842:22580,36843:22732,36844:23330,36845:24120,36846:24773,36847:25854,36848:26465,36849:26454,36850:27972,36851:29366,36852:30067,36853:31331,36854:33976,36855:35698,36856:37304,36857:37664,36858:22065,36859:22516,36860:39166,36928:25325,36929:26893,36930:27542,36931:29165,36932:32340,36933:32887,36934:33394,36935:35302,36936:39135,36937:34645,36938:36785,36939:23611,36940:20280,36941:20449,36942:20405,36943:21767,36944:23072,36945:23517,36946:23529,36947:24515,36948:24910,36949:25391,36950:26032,36951:26187,36952:26862,36953:27035,36954:28024,36955:28145,36956:30003,36957:30137,36958:30495,36959:31070,36960:31206,36961:32051,36962:33251,36963:33455,36964:34218,36965:35242,36966:35386,36967:36523,36968:36763,36969:36914,36970:37341,36971:38663,36972:20154,36973:20161,36974:20995,36975:22645,36976:22764,36977:23563,36978:29978,36979:23613,36980:33102,36981:35338,36982:36805,36983:38499,36984:38765,36985:31525,36986:35535,36987:38920,36988:37218,36989:22259,36990:21416,36992:36887,36993:21561,36994:22402,36995:24101,36996:25512,36997:27700,36998:28810,36999:30561,37e3:31883,37001:32736,37002:34928,37003:36930,37004:37204,37005:37648,37006:37656,37007:38543,37008:29790,37009:39620,37010:23815,37011:23913,37012:25968,37013:26530,37014:36264,37015:38619,37016:25454,37017:26441,37018:26905,37019:33733,37020:38935,37021:38592,37022:35070,37023:28548,37024:25722,37025:23544,37026:19990,37027:28716,37028:30045,37029:26159,37030:20932,37031:21046,37032:21218,37033:22995,37034:24449,37035:24615,37036:25104,37037:25919,37038:25972,37039:26143,37040:26228,37041:26866,37042:26646,37043:27491,37044:28165,37045:29298,37046:29983,37047:30427,37048:31934,37049:32854,37050:22768,37051:35069,37052:35199,37053:35488,37054:35475,37055:35531,37056:36893,37057:37266,37058:38738,37059:38745,37060:25993,37061:31246,37062:33030,37063:38587,37064:24109,37065:24796,37066:25114,37067:26021,37068:26132,37069:26512,37070:30707,37071:31309,37072:31821,37073:32318,37074:33034,37075:36012,37076:36196,37077:36321,37078:36447,37079:30889,37080:20999,37081:25305,37082:25509,37083:25666,37084:25240,37085:35373,37086:31363,37087:31680,37088:35500,37089:38634,37090:32118,37091:33292,37092:34633,37093:20185,37094:20808,37095:21315,37096:21344,37097:23459,37098:23554,37099:23574,37100:24029,37101:25126,37102:25159,37103:25776,37104:26643,37105:26676,37106:27849,37107:27973,37108:27927,37109:26579,37110:28508,37111:29006,37112:29053,37113:26059,37114:31359,37115:31661,37116:32218,37184:32330,37185:32680,37186:33146,37187:33307,37188:33337,37189:34214,37190:35438,37191:36046,37192:36341,37193:36984,37194:36983,37195:37549,37196:37521,37197:38275,37198:39854,37199:21069,37200:21892,37201:28472,37202:28982,37203:20840,37204:31109,37205:32341,37206:33203,37207:31950,37208:22092,37209:22609,37210:23720,37211:25514,37212:26366,37213:26365,37214:26970,37215:29401,37216:30095,37217:30094,37218:30990,37219:31062,37220:31199,37221:31895,37222:32032,37223:32068,37224:34311,37225:35380,37226:38459,37227:36961,37228:40736,37229:20711,37230:21109,37231:21452,37232:21474,37233:20489,37234:21930,37235:22766,37236:22863,37237:29245,37238:23435,37239:23652,37240:21277,37241:24803,37242:24819,37243:25436,37244:25475,37245:25407,37246:25531,37248:25805,37249:26089,37250:26361,37251:24035,37252:27085,37253:27133,37254:28437,37255:29157,37256:20105,37257:30185,37258:30456,37259:31379,37260:31967,37261:32207,37262:32156,37263:32865,37264:33609,37265:33624,37266:33900,37267:33980,37268:34299,37269:35013,37270:36208,37271:36865,37272:36973,37273:37783,37274:38684,37275:39442,37276:20687,37277:22679,37278:24974,37279:33235,37280:34101,37281:36104,37282:36896,37283:20419,37284:20596,37285:21063,37286:21363,37287:24687,37288:25417,37289:26463,37290:28204,37291:36275,37292:36895,37293:20439,37294:23646,37295:36042,37296:26063,37297:32154,37298:21330,37299:34966,37300:20854,37301:25539,37302:23384,37303:23403,37304:23562,37305:25613,37306:26449,37307:36956,37308:20182,37309:22810,37310:22826,37311:27760,37312:35409,37313:21822,37314:22549,37315:22949,37316:24816,37317:25171,37318:26561,37319:33333,37320:26965,37321:38464,37322:39364,37323:39464,37324:20307,37325:22534,37326:23550,37327:32784,37328:23729,37329:24111,37330:24453,37331:24608,37332:24907,37333:25140,37334:26367,37335:27888,37336:28382,37337:32974,37338:33151,37339:33492,37340:34955,37341:36024,37342:36864,37343:36910,37344:38538,37345:40667,37346:39899,37347:20195,37348:21488,37349:22823,37350:31532,37351:37261,37352:38988,37353:40441,37354:28381,37355:28711,37356:21331,37357:21828,37358:23429,37359:25176,37360:25246,37361:25299,37362:27810,37363:28655,37364:29730,37365:35351,37366:37944,37367:28609,37368:35582,37369:33592,37370:20967,37371:34552,37372:21482,37440:21481,37441:20294,37442:36948,37443:36784,37444:22890,37445:33073,37446:24061,37447:31466,37448:36799,37449:26842,37450:35895,37451:29432,37452:40008,37453:27197,37454:35504,37455:20025,37456:21336,37457:22022,37458:22374,37459:25285,37460:25506,37461:26086,37462:27470,37463:28129,37464:28251,37465:28845,37466:30701,37467:31471,37468:31658,37469:32187,37470:32829,37471:32966,37472:34507,37473:35477,37474:37723,37475:22243,37476:22727,37477:24382,37478:26029,37479:26262,37480:27264,37481:27573,37482:30007,37483:35527,37484:20516,37485:30693,37486:22320,37487:24347,37488:24677,37489:26234,37490:27744,37491:30196,37492:31258,37493:32622,37494:33268,37495:34584,37496:36933,37497:39347,37498:31689,37499:30044,37500:31481,37501:31569,37502:33988,37504:36880,37505:31209,37506:31378,37507:33590,37508:23265,37509:30528,37510:20013,37511:20210,37512:23449,37513:24544,37514:25277,37515:26172,37516:26609,37517:27880,37518:34411,37519:34935,37520:35387,37521:37198,37522:37619,37523:39376,37524:27159,37525:28710,37526:29482,37527:33511,37528:33879,37529:36015,37530:19969,37531:20806,37532:20939,37533:21899,37534:23541,37535:24086,37536:24115,37537:24193,37538:24340,37539:24373,37540:24427,37541:24500,37542:25074,37543:25361,37544:26274,37545:26397,37546:28526,37547:29266,37548:30010,37549:30522,37550:32884,37551:33081,37552:33144,37553:34678,37554:35519,37555:35548,37556:36229,37557:36339,37558:37530,37559:38263,37560:38914,37561:40165,37562:21189,37563:25431,37564:30452,37565:26389,37566:27784,37567:29645,37568:36035,37569:37806,37570:38515,37571:27941,37572:22684,37573:26894,37574:27084,37575:36861,37576:37786,37577:30171,37578:36890,37579:22618,37580:26626,37581:25524,37582:27131,37583:20291,37584:28460,37585:26584,37586:36795,37587:34086,37588:32180,37589:37716,37590:26943,37591:28528,37592:22378,37593:22775,37594:23340,37595:32044,37596:29226,37597:21514,37598:37347,37599:40372,37600:20141,37601:20302,37602:20572,37603:20597,37604:21059,37605:35998,37606:21576,37607:22564,37608:23450,37609:24093,37610:24213,37611:24237,37612:24311,37613:24351,37614:24716,37615:25269,37616:25402,37617:25552,37618:26799,37619:27712,37620:30855,37621:31118,37622:31243,37623:32224,37624:33351,37625:35330,37626:35558,37627:36420,37628:36883,37696:37048,37697:37165,37698:37336,37699:40718,37700:27877,37701:25688,37702:25826,37703:25973,37704:28404,37705:30340,37706:31515,37707:36969,37708:37841,37709:28346,37710:21746,37711:24505,37712:25764,37713:36685,37714:36845,37715:37444,37716:20856,37717:22635,37718:22825,37719:23637,37720:24215,37721:28155,37722:32399,37723:29980,37724:36028,37725:36578,37726:39003,37727:28857,37728:20253,37729:27583,37730:28593,37731:3e4,37732:38651,37733:20814,37734:21520,37735:22581,37736:22615,37737:22956,37738:23648,37739:24466,37740:26007,37741:26460,37742:28193,37743:30331,37744:33759,37745:36077,37746:36884,37747:37117,37748:37709,37749:30757,37750:30778,37751:21162,37752:24230,37753:22303,37754:22900,37755:24594,37756:20498,37757:20826,37758:20908,37760:20941,37761:20992,37762:21776,37763:22612,37764:22616,37765:22871,37766:23445,37767:23798,37768:23947,37769:24764,37770:25237,37771:25645,37772:26481,37773:26691,37774:26812,37775:26847,37776:30423,37777:28120,37778:28271,37779:28059,37780:28783,37781:29128,37782:24403,37783:30168,37784:31095,37785:31561,37786:31572,37787:31570,37788:31958,37789:32113,37790:21040,37791:33891,37792:34153,37793:34276,37794:35342,37795:35588,37796:35910,37797:36367,37798:36867,37799:36879,37800:37913,37801:38518,37802:38957,37803:39472,37804:38360,37805:20685,37806:21205,37807:21516,37808:22530,37809:23566,37810:24999,37811:25758,37812:27934,37813:30643,37814:31461,37815:33012,37816:33796,37817:36947,37818:37509,37819:23776,37820:40199,37821:21311,37822:24471,37823:24499,37824:28060,37825:29305,37826:30563,37827:31167,37828:31716,37829:27602,37830:29420,37831:35501,37832:26627,37833:27233,37834:20984,37835:31361,37836:26932,37837:23626,37838:40182,37839:33515,37840:23493,37841:37193,37842:28702,37843:22136,37844:23663,37845:24775,37846:25958,37847:27788,37848:35930,37849:36929,37850:38931,37851:21585,37852:26311,37853:37389,37854:22856,37855:37027,37856:20869,37857:20045,37858:20970,37859:34201,37860:35598,37861:28760,37862:25466,37863:37707,37864:26978,37865:39348,37866:32260,37867:30071,37868:21335,37869:26976,37870:36575,37871:38627,37872:27741,37873:20108,37874:23612,37875:24336,37876:36841,37877:21250,37878:36049,37879:32905,37880:34425,37881:24319,37882:26085,37883:20083,37884:20837,37952:22914,37953:23615,37954:38894,37955:20219,37956:22922,37957:24525,37958:35469,37959:28641,37960:31152,37961:31074,37962:23527,37963:33905,37964:29483,37965:29105,37966:24180,37967:24565,37968:25467,37969:25754,37970:29123,37971:31896,37972:20035,37973:24316,37974:20043,37975:22492,37976:22178,37977:24745,37978:28611,37979:32013,37980:33021,37981:33075,37982:33215,37983:36786,37984:35223,37985:34468,37986:24052,37987:25226,37988:25773,37989:35207,37990:26487,37991:27874,37992:27966,37993:29750,37994:30772,37995:23110,37996:32629,37997:33453,37998:39340,37999:20467,38e3:24259,38001:25309,38002:25490,38003:25943,38004:26479,38005:30403,38006:29260,38007:32972,38008:32954,38009:36649,38010:37197,38011:20493,38012:22521,38013:23186,38014:26757,38016:26995,38017:29028,38018:29437,38019:36023,38020:22770,38021:36064,38022:38506,38023:36889,38024:34687,38025:31204,38026:30695,38027:33833,38028:20271,38029:21093,38030:21338,38031:25293,38032:26575,38033:27850,38034:30333,38035:31636,38036:31893,38037:33334,38038:34180,38039:36843,38040:26333,38041:28448,38042:29190,38043:32283,38044:33707,38045:39361,38046:40614,38047:20989,38048:31665,38049:30834,38050:31672,38051:32903,38052:31560,38053:27368,38054:24161,38055:32908,38056:30033,38057:30048,38058:20843,38059:37474,38060:28300,38061:30330,38062:37271,38063:39658,38064:20240,38065:32624,38066:25244,38067:31567,38068:38309,38069:40169,38070:22138,38071:22617,38072:34532,38073:38588,38074:20276,38075:21028,38076:21322,38077:21453,38078:21467,38079:24070,38080:25644,38081:26001,38082:26495,38083:27710,38084:27726,38085:29256,38086:29359,38087:29677,38088:30036,38089:32321,38090:33324,38091:34281,38092:36009,38093:31684,38094:37318,38095:29033,38096:38930,38097:39151,38098:25405,38099:26217,38100:30058,38101:30436,38102:30928,38103:34115,38104:34542,38105:21290,38106:21329,38107:21542,38108:22915,38109:24199,38110:24444,38111:24754,38112:25161,38113:25209,38114:25259,38115:26e3,38116:27604,38117:27852,38118:30130,38119:30382,38120:30865,38121:31192,38122:32203,38123:32631,38124:32933,38125:34987,38126:35513,38127:36027,38128:36991,38129:38750,38130:39131,38131:27147,38132:31800,38133:20633,38134:23614,38135:24494,38136:26503,38137:27608,38138:29749,38139:30473,38140:32654,38208:40763,38209:26570,38210:31255,38211:21305,38212:30091,38213:39661,38214:24422,38215:33181,38216:33777,38217:32920,38218:24380,38219:24517,38220:30050,38221:31558,38222:36924,38223:26727,38224:23019,38225:23195,38226:32016,38227:30334,38228:35628,38229:20469,38230:24426,38231:27161,38232:27703,38233:28418,38234:29922,38235:31080,38236:34920,38237:35413,38238:35961,38239:24287,38240:25551,38241:30149,38242:31186,38243:33495,38244:37672,38245:37618,38246:33948,38247:34541,38248:39981,38249:21697,38250:24428,38251:25996,38252:27996,38253:28693,38254:36007,38255:36051,38256:38971,38257:25935,38258:29942,38259:19981,38260:20184,38261:22496,38262:22827,38263:23142,38264:23500,38265:20904,38266:24067,38267:24220,38268:24598,38269:25206,38270:25975,38272:26023,38273:26222,38274:28014,38275:29238,38276:31526,38277:33104,38278:33178,38279:33433,38280:35676,38281:36e3,38282:36070,38283:36212,38284:38428,38285:38468,38286:20398,38287:25771,38288:27494,38289:33310,38290:33889,38291:34154,38292:37096,38293:23553,38294:26963,38295:39080,38296:33914,38297:34135,38298:20239,38299:21103,38300:24489,38301:24133,38302:26381,38303:31119,38304:33145,38305:35079,38306:35206,38307:28149,38308:24343,38309:25173,38310:27832,38311:20175,38312:29289,38313:39826,38314:20998,38315:21563,38316:22132,38317:22707,38318:24996,38319:25198,38320:28954,38321:22894,38322:31881,38323:31966,38324:32027,38325:38640,38326:25991,38327:32862,38328:19993,38329:20341,38330:20853,38331:22592,38332:24163,38333:24179,38334:24330,38335:26564,38336:20006,38337:34109,38338:38281,38339:38491,38340:31859,38341:38913,38342:20731,38343:22721,38344:30294,38345:30887,38346:21029,38347:30629,38348:34065,38349:31622,38350:20559,38351:22793,38352:29255,38353:31687,38354:32232,38355:36794,38356:36820,38357:36941,38358:20415,38359:21193,38360:23081,38361:24321,38362:38829,38363:20445,38364:33303,38365:37610,38366:22275,38367:25429,38368:27497,38369:29995,38370:35036,38371:36628,38372:31298,38373:21215,38374:22675,38375:24917,38376:25098,38377:26286,38378:27597,38379:31807,38380:33769,38381:20515,38382:20472,38383:21253,38384:21574,38385:22577,38386:22857,38387:23453,38388:23792,38389:23791,38390:23849,38391:24214,38392:25265,38393:25447,38394:25918,38395:26041,38396:26379,38464:27861,38465:27873,38466:28921,38467:30770,38468:32299,38469:32990,38470:33459,38471:33804,38472:34028,38473:34562,38474:35090,38475:35370,38476:35914,38477:37030,38478:37586,38479:39165,38480:40179,38481:40300,38482:20047,38483:20129,38484:20621,38485:21078,38486:22346,38487:22952,38488:24125,38489:24536,38490:24537,38491:25151,38492:26292,38493:26395,38494:26576,38495:26834,38496:20882,38497:32033,38498:32938,38499:33192,38500:35584,38501:35980,38502:36031,38503:37502,38504:38450,38505:21536,38506:38956,38507:21271,38508:20693,38509:21340,38510:22696,38511:25778,38512:26420,38513:29287,38514:30566,38515:31302,38516:37350,38517:21187,38518:27809,38519:27526,38520:22528,38521:24140,38522:22868,38523:26412,38524:32763,38525:20961,38526:30406,38528:25705,38529:30952,38530:39764,38531:40635,38532:22475,38533:22969,38534:26151,38535:26522,38536:27598,38537:21737,38538:27097,38539:24149,38540:33180,38541:26517,38542:39850,38543:26622,38544:40018,38545:26717,38546:20134,38547:20451,38548:21448,38549:25273,38550:26411,38551:27819,38552:36804,38553:20397,38554:32365,38555:40639,38556:19975,38557:24930,38558:28288,38559:28459,38560:34067,38561:21619,38562:26410,38563:39749,38564:24051,38565:31637,38566:23724,38567:23494,38568:34588,38569:28234,38570:34001,38571:31252,38572:33032,38573:22937,38574:31885,38575:27665,38576:30496,38577:21209,38578:22818,38579:28961,38580:29279,38581:30683,38582:38695,38583:40289,38584:26891,38585:23167,38586:23064,38587:20901,38588:21517,38589:21629,38590:26126,38591:30431,38592:36855,38593:37528,38594:40180,38595:23018,38596:29277,38597:28357,38598:20813,38599:26825,38600:32191,38601:32236,38602:38754,38603:40634,38604:25720,38605:27169,38606:33538,38607:22916,38608:23391,38609:27611,38610:29467,38611:30450,38612:32178,38613:32791,38614:33945,38615:20786,38616:26408,38617:40665,38618:30446,38619:26466,38620:21247,38621:39173,38622:23588,38623:25147,38624:31870,38625:36016,38626:21839,38627:24758,38628:32011,38629:38272,38630:21249,38631:20063,38632:20918,38633:22812,38634:29242,38635:32822,38636:37326,38637:24357,38638:30690,38639:21380,38640:24441,38641:32004,38642:34220,38643:35379,38644:36493,38645:38742,38646:26611,38647:34222,38648:37971,38649:24841,38650:24840,38651:27833,38652:30290,38720:35565,38721:36664,38722:21807,38723:20305,38724:20778,38725:21191,38726:21451,38727:23461,38728:24189,38729:24736,38730:24962,38731:25558,38732:26377,38733:26586,38734:28263,38735:28044,38736:29494,38737:29495,38738:30001,38739:31056,38740:35029,38741:35480,38742:36938,38743:37009,38744:37109,38745:38596,38746:34701,38747:22805,38748:20104,38749:20313,38750:19982,38751:35465,38752:36671,38753:38928,38754:20653,38755:24188,38756:22934,38757:23481,38758:24248,38759:25562,38760:25594,38761:25793,38762:26332,38763:26954,38764:27096,38765:27915,38766:28342,38767:29076,38768:29992,38769:31407,38770:32650,38771:32768,38772:33865,38773:33993,38774:35201,38775:35617,38776:36362,38777:36965,38778:38525,38779:39178,38780:24958,38781:25233,38782:27442,38784:27779,38785:28020,38786:32716,38787:32764,38788:28096,38789:32645,38790:34746,38791:35064,38792:26469,38793:33713,38794:38972,38795:38647,38796:27931,38797:32097,38798:33853,38799:37226,38800:20081,38801:21365,38802:23888,38803:27396,38804:28651,38805:34253,38806:34349,38807:35239,38808:21033,38809:21519,38810:23653,38811:26446,38812:26792,38813:29702,38814:29827,38815:30178,38816:35023,38817:35041,38818:37324,38819:38626,38820:38520,38821:24459,38822:29575,38823:31435,38824:33870,38825:25504,38826:30053,38827:21129,38828:27969,38829:28316,38830:29705,38831:30041,38832:30827,38833:31890,38834:38534,38835:31452,38836:40845,38837:20406,38838:24942,38839:26053,38840:34396,38841:20102,38842:20142,38843:20698,38844:20001,38845:20940,38846:23534,38847:26009,38848:26753,38849:28092,38850:29471,38851:30274,38852:30637,38853:31260,38854:31975,38855:33391,38856:35538,38857:36988,38858:37327,38859:38517,38860:38936,38861:21147,38862:32209,38863:20523,38864:21400,38865:26519,38866:28107,38867:29136,38868:29747,38869:33256,38870:36650,38871:38563,38872:40023,38873:40607,38874:29792,38875:22593,38876:28057,38877:32047,38878:39006,38879:20196,38880:20278,38881:20363,38882:20919,38883:21169,38884:23994,38885:24604,38886:29618,38887:31036,38888:33491,38889:37428,38890:38583,38891:38646,38892:38666,38893:40599,38894:40802,38895:26278,38896:27508,38897:21015,38898:21155,38899:28872,38900:35010,38901:24265,38902:24651,38903:24976,38904:28451,38905:29001,38906:31806,38907:32244,38908:32879,38976:34030,38977:36899,38978:37676,38979:21570,38980:39791,38981:27347,38982:28809,38983:36034,38984:36335,38985:38706,38986:21172,38987:23105,38988:24266,38989:24324,38990:26391,38991:27004,38992:27028,38993:28010,38994:28431,38995:29282,38996:29436,38997:31725,38998:32769,38999:32894,39e3:34635,39001:37070,39002:20845,39003:40595,39004:31108,39005:32907,39006:37682,39007:35542,39008:20525,39009:21644,39010:35441,39011:27498,39012:36036,39013:33031,39014:24785,39015:26528,39016:40434,39017:20121,39018:20120,39019:39952,39020:35435,39021:34241,39022:34152,39023:26880,39024:28286,39025:30871,39026:33109,39071:24332,39072:19984,39073:19989,39074:20010,39075:20017,39076:20022,39077:20028,39078:20031,39079:20034,39080:20054,39081:20056,39082:20098,39083:20101,39084:35947,39085:20106,39086:33298,39087:24333,39088:20110,39089:20126,39090:20127,39091:20128,39092:20130,39093:20144,39094:20147,39095:20150,39096:20174,39097:20173,39098:20164,39099:20166,39100:20162,39101:20183,39102:20190,39103:20205,39104:20191,39105:20215,39106:20233,39107:20314,39108:20272,39109:20315,39110:20317,39111:20311,39112:20295,39113:20342,39114:20360,39115:20367,39116:20376,39117:20347,39118:20329,39119:20336,39120:20369,39121:20335,39122:20358,39123:20374,39124:20760,39125:20436,39126:20447,39127:20430,39128:20440,39129:20443,39130:20433,39131:20442,39132:20432,39133:20452,39134:20453,39135:20506,39136:20520,39137:20500,39138:20522,39139:20517,39140:20485,39141:20252,39142:20470,39143:20513,39144:20521,39145:20524,39146:20478,39147:20463,39148:20497,39149:20486,39150:20547,39151:20551,39152:26371,39153:20565,39154:20560,39155:20552,39156:20570,39157:20566,39158:20588,39159:20600,39160:20608,39161:20634,39162:20613,39163:20660,39164:20658,39232:20681,39233:20682,39234:20659,39235:20674,39236:20694,39237:20702,39238:20709,39239:20717,39240:20707,39241:20718,39242:20729,39243:20725,39244:20745,39245:20737,39246:20738,39247:20758,39248:20757,39249:20756,39250:20762,39251:20769,39252:20794,39253:20791,39254:20796,39255:20795,39256:20799,39257:20800,39258:20818,39259:20812,39260:20820,39261:20834,39262:31480,39263:20841,39264:20842,39265:20846,39266:20864,39267:20866,39268:22232,39269:20876,39270:20873,39271:20879,39272:20881,39273:20883,39274:20885,39275:20886,39276:20900,39277:20902,39278:20898,39279:20905,39280:20906,39281:20907,39282:20915,39283:20913,39284:20914,39285:20912,39286:20917,39287:20925,39288:20933,39289:20937,39290:20955,39291:20960,39292:34389,39293:20969,39294:20973,39296:20976,39297:20981,39298:20990,39299:20996,39300:21003,39301:21012,39302:21006,39303:21031,39304:21034,39305:21038,39306:21043,39307:21049,39308:21071,39309:21060,39310:21067,39311:21068,39312:21086,39313:21076,39314:21098,39315:21108,39316:21097,39317:21107,39318:21119,39319:21117,39320:21133,39321:21140,39322:21138,39323:21105,39324:21128,39325:21137,39326:36776,39327:36775,39328:21164,39329:21165,39330:21180,39331:21173,39332:21185,39333:21197,39334:21207,39335:21214,39336:21219,39337:21222,39338:39149,39339:21216,39340:21235,39341:21237,39342:21240,39343:21241,39344:21254,39345:21256,39346:30008,39347:21261,39348:21264,39349:21263,39350:21269,39351:21274,39352:21283,39353:21295,39354:21297,39355:21299,39356:21304,39357:21312,39358:21318,39359:21317,39360:19991,39361:21321,39362:21325,39363:20950,39364:21342,39365:21353,39366:21358,39367:22808,39368:21371,39369:21367,39370:21378,39371:21398,39372:21408,39373:21414,39374:21413,39375:21422,39376:21424,39377:21430,39378:21443,39379:31762,39380:38617,39381:21471,39382:26364,39383:29166,39384:21486,39385:21480,39386:21485,39387:21498,39388:21505,39389:21565,39390:21568,39391:21548,39392:21549,39393:21564,39394:21550,39395:21558,39396:21545,39397:21533,39398:21582,39399:21647,39400:21621,39401:21646,39402:21599,39403:21617,39404:21623,39405:21616,39406:21650,39407:21627,39408:21632,39409:21622,39410:21636,39411:21648,39412:21638,39413:21703,39414:21666,39415:21688,39416:21669,39417:21676,39418:21700,39419:21704,39420:21672,39488:21675,39489:21698,39490:21668,39491:21694,39492:21692,39493:21720,39494:21733,39495:21734,39496:21775,39497:21780,39498:21757,39499:21742,39500:21741,39501:21754,39502:21730,39503:21817,39504:21824,39505:21859,39506:21836,39507:21806,39508:21852,39509:21829,39510:21846,39511:21847,39512:21816,39513:21811,39514:21853,39515:21913,39516:21888,39517:21679,39518:21898,39519:21919,39520:21883,39521:21886,39522:21912,39523:21918,39524:21934,39525:21884,39526:21891,39527:21929,39528:21895,39529:21928,39530:21978,39531:21957,39532:21983,39533:21956,39534:21980,39535:21988,39536:21972,39537:22036,39538:22007,39539:22038,39540:22014,39541:22013,39542:22043,39543:22009,39544:22094,39545:22096,39546:29151,39547:22068,39548:22070,39549:22066,39550:22072,39552:22123,39553:22116,39554:22063,39555:22124,39556:22122,39557:22150,39558:22144,39559:22154,39560:22176,39561:22164,39562:22159,39563:22181,39564:22190,39565:22198,39566:22196,39567:22210,39568:22204,39569:22209,39570:22211,39571:22208,39572:22216,39573:22222,39574:22225,39575:22227,39576:22231,39577:22254,39578:22265,39579:22272,39580:22271,39581:22276,39582:22281,39583:22280,39584:22283,39585:22285,39586:22291,39587:22296,39588:22294,39589:21959,39590:22300,39591:22310,39592:22327,39593:22328,39594:22350,39595:22331,39596:22336,39597:22351,39598:22377,39599:22464,39600:22408,39601:22369,39602:22399,39603:22409,39604:22419,39605:22432,39606:22451,39607:22436,39608:22442,39609:22448,39610:22467,39611:22470,39612:22484,39613:22482,39614:22483,39615:22538,39616:22486,39617:22499,39618:22539,39619:22553,39620:22557,39621:22642,39622:22561,39623:22626,39624:22603,39625:22640,39626:27584,39627:22610,39628:22589,39629:22649,39630:22661,39631:22713,39632:22687,39633:22699,39634:22714,39635:22750,39636:22715,39637:22712,39638:22702,39639:22725,39640:22739,39641:22737,39642:22743,39643:22745,39644:22744,39645:22757,39646:22748,39647:22756,39648:22751,39649:22767,39650:22778,39651:22777,39652:22779,39653:22780,39654:22781,39655:22786,39656:22794,39657:22800,39658:22811,39659:26790,39660:22821,39661:22828,39662:22829,39663:22834,39664:22840,39665:22846,39666:31442,39667:22869,39668:22864,39669:22862,39670:22874,39671:22872,39672:22882,39673:22880,39674:22887,39675:22892,39676:22889,39744:22904,39745:22913,39746:22941,39747:20318,39748:20395,39749:22947,39750:22962,39751:22982,39752:23016,39753:23004,39754:22925,39755:23001,39756:23002,39757:23077,39758:23071,39759:23057,39760:23068,39761:23049,39762:23066,39763:23104,39764:23148,39765:23113,39766:23093,39767:23094,39768:23138,39769:23146,39770:23194,39771:23228,39772:23230,39773:23243,39774:23234,39775:23229,39776:23267,39777:23255,39778:23270,39779:23273,39780:23254,39781:23290,39782:23291,39783:23308,39784:23307,39785:23318,39786:23346,39787:23248,39788:23338,39789:23350,39790:23358,39791:23363,39792:23365,39793:23360,39794:23377,39795:23381,39796:23386,39797:23387,39798:23397,39799:23401,39800:23408,39801:23411,39802:23413,39803:23416,39804:25992,39805:23418,39806:23424,39808:23427,39809:23462,39810:23480,39811:23491,39812:23495,39813:23497,39814:23508,39815:23504,39816:23524,39817:23526,39818:23522,39819:23518,39820:23525,39821:23531,39822:23536,39823:23542,39824:23539,39825:23557,39826:23559,39827:23560,39828:23565,39829:23571,39830:23584,39831:23586,39832:23592,39833:23608,39834:23609,39835:23617,39836:23622,39837:23630,39838:23635,39839:23632,39840:23631,39841:23409,39842:23660,39843:23662,39844:20066,39845:23670,39846:23673,39847:23692,39848:23697,39849:23700,39850:22939,39851:23723,39852:23739,39853:23734,39854:23740,39855:23735,39856:23749,39857:23742,39858:23751,39859:23769,39860:23785,39861:23805,39862:23802,39863:23789,39864:23948,39865:23786,39866:23819,39867:23829,39868:23831,39869:23900,39870:23839,39871:23835,39872:23825,39873:23828,39874:23842,39875:23834,39876:23833,39877:23832,39878:23884,39879:23890,39880:23886,39881:23883,39882:23916,39883:23923,39884:23926,39885:23943,39886:23940,39887:23938,39888:23970,39889:23965,39890:23980,39891:23982,39892:23997,39893:23952,39894:23991,39895:23996,39896:24009,39897:24013,39898:24019,39899:24018,39900:24022,39901:24027,39902:24043,39903:24050,39904:24053,39905:24075,39906:24090,39907:24089,39908:24081,39909:24091,39910:24118,39911:24119,39912:24132,39913:24131,39914:24128,39915:24142,39916:24151,39917:24148,39918:24159,39919:24162,39920:24164,39921:24135,39922:24181,39923:24182,39924:24186,39925:40636,39926:24191,39927:24224,39928:24257,39929:24258,39930:24264,39931:24272,39932:24271,4e4:24278,40001:24291,40002:24285,40003:24282,40004:24283,40005:24290,40006:24289,40007:24296,40008:24297,40009:24300,40010:24305,40011:24307,40012:24304,40013:24308,40014:24312,40015:24318,40016:24323,40017:24329,40018:24413,40019:24412,40020:24331,40021:24337,40022:24342,40023:24361,40024:24365,40025:24376,40026:24385,40027:24392,40028:24396,40029:24398,40030:24367,40031:24401,40032:24406,40033:24407,40034:24409,40035:24417,40036:24429,40037:24435,40038:24439,40039:24451,40040:24450,40041:24447,40042:24458,40043:24456,40044:24465,40045:24455,40046:24478,40047:24473,40048:24472,40049:24480,40050:24488,40051:24493,40052:24508,40053:24534,40054:24571,40055:24548,40056:24568,40057:24561,40058:24541,40059:24755,40060:24575,40061:24609,40062:24672,40064:24601,40065:24592,40066:24617,40067:24590,40068:24625,40069:24603,40070:24597,40071:24619,40072:24614,40073:24591,40074:24634,40075:24666,40076:24641,40077:24682,40078:24695,40079:24671,40080:24650,40081:24646,40082:24653,40083:24675,40084:24643,40085:24676,40086:24642,40087:24684,40088:24683,40089:24665,40090:24705,40091:24717,40092:24807,40093:24707,40094:24730,40095:24708,40096:24731,40097:24726,40098:24727,40099:24722,40100:24743,40101:24715,40102:24801,40103:24760,40104:24800,40105:24787,40106:24756,40107:24560,40108:24765,40109:24774,40110:24757,40111:24792,40112:24909,40113:24853,40114:24838,40115:24822,40116:24823,40117:24832,40118:24820,40119:24826,40120:24835,40121:24865,40122:24827,40123:24817,40124:24845,40125:24846,40126:24903,40127:24894,40128:24872,40129:24871,40130:24906,40131:24895,40132:24892,40133:24876,40134:24884,40135:24893,40136:24898,40137:24900,40138:24947,40139:24951,40140:24920,40141:24921,40142:24922,40143:24939,40144:24948,40145:24943,40146:24933,40147:24945,40148:24927,40149:24925,40150:24915,40151:24949,40152:24985,40153:24982,40154:24967,40155:25004,40156:24980,40157:24986,40158:24970,40159:24977,40160:25003,40161:25006,40162:25036,40163:25034,40164:25033,40165:25079,40166:25032,40167:25027,40168:25030,40169:25018,40170:25035,40171:32633,40172:25037,40173:25062,40174:25059,40175:25078,40176:25082,40177:25076,40178:25087,40179:25085,40180:25084,40181:25086,40182:25088,40183:25096,40184:25097,40185:25101,40186:25100,40187:25108,40188:25115,40256:25118,40257:25121,40258:25130,40259:25134,40260:25136,40261:25138,40262:25139,40263:25153,40264:25166,40265:25182,40266:25187,40267:25179,40268:25184,40269:25192,40270:25212,40271:25218,40272:25225,40273:25214,40274:25234,40275:25235,40276:25238,40277:25300,40278:25219,40279:25236,40280:25303,40281:25297,40282:25275,40283:25295,40284:25343,40285:25286,40286:25812,40287:25288,40288:25308,40289:25292,40290:25290,40291:25282,40292:25287,40293:25243,40294:25289,40295:25356,40296:25326,40297:25329,40298:25383,40299:25346,40300:25352,40301:25327,40302:25333,40303:25424,40304:25406,40305:25421,40306:25628,40307:25423,40308:25494,40309:25486,40310:25472,40311:25515,40312:25462,40313:25507,40314:25487,40315:25481,40316:25503,40317:25525,40318:25451,40320:25449,40321:25534,40322:25577,40323:25536,40324:25542,40325:25571,40326:25545,40327:25554,40328:25590,40329:25540,40330:25622,40331:25652,40332:25606,40333:25619,40334:25638,40335:25654,40336:25885,40337:25623,40338:25640,40339:25615,40340:25703,40341:25711,40342:25718,40343:25678,40344:25898,40345:25749,40346:25747,40347:25765,40348:25769,40349:25736,40350:25788,40351:25818,40352:25810,40353:25797,40354:25799,40355:25787,40356:25816,40357:25794,40358:25841,40359:25831,40360:33289,40361:25824,40362:25825,40363:25260,40364:25827,40365:25839,40366:25900,40367:25846,40368:25844,40369:25842,40370:25850,40371:25856,40372:25853,40373:25880,40374:25884,40375:25861,40376:25892,40377:25891,40378:25899,40379:25908,40380:25909,40381:25911,40382:25910,40383:25912,40384:30027,40385:25928,40386:25942,40387:25941,40388:25933,40389:25944,40390:25950,40391:25949,40392:25970,40393:25976,40394:25986,40395:25987,40396:35722,40397:26011,40398:26015,40399:26027,40400:26039,40401:26051,40402:26054,40403:26049,40404:26052,40405:26060,40406:26066,40407:26075,40408:26073,40409:26080,40410:26081,40411:26097,40412:26482,40413:26122,40414:26115,40415:26107,40416:26483,40417:26165,40418:26166,40419:26164,40420:26140,40421:26191,40422:26180,40423:26185,40424:26177,40425:26206,40426:26205,40427:26212,40428:26215,40429:26216,40430:26207,40431:26210,40432:26224,40433:26243,40434:26248,40435:26254,40436:26249,40437:26244,40438:26264,40439:26269,40440:26305,40441:26297,40442:26313,40443:26302,40444:26300,40512:26308,40513:26296,40514:26326,40515:26330,40516:26336,40517:26175,40518:26342,40519:26345,40520:26352,40521:26357,40522:26359,40523:26383,40524:26390,40525:26398,40526:26406,40527:26407,40528:38712,40529:26414,40530:26431,40531:26422,40532:26433,40533:26424,40534:26423,40535:26438,40536:26462,40537:26464,40538:26457,40539:26467,40540:26468,40541:26505,40542:26480,40543:26537,40544:26492,40545:26474,40546:26508,40547:26507,40548:26534,40549:26529,40550:26501,40551:26551,40552:26607,40553:26548,40554:26604,40555:26547,40556:26601,40557:26552,40558:26596,40559:26590,40560:26589,40561:26594,40562:26606,40563:26553,40564:26574,40565:26566,40566:26599,40567:27292,40568:26654,40569:26694,40570:26665,40571:26688,40572:26701,40573:26674,40574:26702,40576:26803,40577:26667,40578:26713,40579:26723,40580:26743,40581:26751,40582:26783,40583:26767,40584:26797,40585:26772,40586:26781,40587:26779,40588:26755,40589:27310,40590:26809,40591:26740,40592:26805,40593:26784,40594:26810,40595:26895,40596:26765,40597:26750,40598:26881,40599:26826,40600:26888,40601:26840,40602:26914,40603:26918,40604:26849,40605:26892,40606:26829,40607:26836,40608:26855,40609:26837,40610:26934,40611:26898,40612:26884,40613:26839,40614:26851,40615:26917,40616:26873,40617:26848,40618:26863,40619:26920,40620:26922,40621:26906,40622:26915,40623:26913,40624:26822,40625:27001,40626:26999,40627:26972,40628:27e3,40629:26987,40630:26964,40631:27006,40632:26990,40633:26937,40634:26996,40635:26941,40636:26969,40637:26928,40638:26977,40639:26974,40640:26973,40641:27009,40642:26986,40643:27058,40644:27054,40645:27088,40646:27071,40647:27073,40648:27091,40649:27070,40650:27086,40651:23528,40652:27082,40653:27101,40654:27067,40655:27075,40656:27047,40657:27182,40658:27025,40659:27040,40660:27036,40661:27029,40662:27060,40663:27102,40664:27112,40665:27138,40666:27163,40667:27135,40668:27402,40669:27129,40670:27122,40671:27111,40672:27141,40673:27057,40674:27166,40675:27117,40676:27156,40677:27115,40678:27146,40679:27154,40680:27329,40681:27171,40682:27155,40683:27204,40684:27148,40685:27250,40686:27190,40687:27256,40688:27207,40689:27234,40690:27225,40691:27238,40692:27208,40693:27192,40694:27170,40695:27280,40696:27277,40697:27296,40698:27268,40699:27298,40700:27299,40768:27287,40769:34327,40770:27323,40771:27331,40772:27330,40773:27320,40774:27315,40775:27308,40776:27358,40777:27345,40778:27359,40779:27306,40780:27354,40781:27370,40782:27387,40783:27397,40784:34326,40785:27386,40786:27410,40787:27414,40788:39729,40789:27423,40790:27448,40791:27447,40792:30428,40793:27449,40794:39150,40795:27463,40796:27459,40797:27465,40798:27472,40799:27481,40800:27476,40801:27483,40802:27487,40803:27489,40804:27512,40805:27513,40806:27519,40807:27520,40808:27524,40809:27523,40810:27533,40811:27544,40812:27541,40813:27550,40814:27556,40815:27562,40816:27563,40817:27567,40818:27570,40819:27569,40820:27571,40821:27575,40822:27580,40823:27590,40824:27595,40825:27603,40826:27615,40827:27628,40828:27627,40829:27635,40830:27631,40832:40638,40833:27656,40834:27667,40835:27668,40836:27675,40837:27684,40838:27683,40839:27742,40840:27733,40841:27746,40842:27754,40843:27778,40844:27789,40845:27802,40846:27777,40847:27803,40848:27774,40849:27752,40850:27763,40851:27794,40852:27792,40853:27844,40854:27889,40855:27859,40856:27837,40857:27863,40858:27845,40859:27869,40860:27822,40861:27825,40862:27838,40863:27834,40864:27867,40865:27887,40866:27865,40867:27882,40868:27935,40869:34893,40870:27958,40871:27947,40872:27965,40873:27960,40874:27929,40875:27957,40876:27955,40877:27922,40878:27916,40879:28003,40880:28051,40881:28004,40882:27994,40883:28025,40884:27993,40885:28046,40886:28053,40887:28644,40888:28037,40889:28153,40890:28181,40891:28170,40892:28085,40893:28103,40894:28134,40895:28088,40896:28102,40897:28140,40898:28126,40899:28108,40900:28136,40901:28114,40902:28101,40903:28154,40904:28121,40905:28132,40906:28117,40907:28138,40908:28142,40909:28205,40910:28270,40911:28206,40912:28185,40913:28274,40914:28255,40915:28222,40916:28195,40917:28267,40918:28203,40919:28278,40920:28237,40921:28191,40922:28227,40923:28218,40924:28238,40925:28196,40926:28415,40927:28189,40928:28216,40929:28290,40930:28330,40931:28312,40932:28361,40933:28343,40934:28371,40935:28349,40936:28335,40937:28356,40938:28338,40939:28372,40940:28373,40941:28303,40942:28325,40943:28354,40944:28319,40945:28481,40946:28433,40947:28748,40948:28396,40949:28408,40950:28414,40951:28479,40952:28402,40953:28465,40954:28399,40955:28466,40956:28364,161:65377,162:65378,163:65379,164:65380,165:65381,166:65382,167:65383,168:65384,169:65385,170:65386,171:65387,172:65388,173:65389,174:65390,175:65391,176:65392,177:65393,178:65394,179:65395,180:65396,181:65397,182:65398,183:65399,184:65400,185:65401,186:65402,187:65403,188:65404,189:65405,190:65406,191:65407,192:65408,193:65409,194:65410,195:65411,196:65412,197:65413,198:65414,199:65415,200:65416,201:65417,202:65418,203:65419,204:65420,205:65421,206:65422,207:65423,208:65424,209:65425,210:65426,211:65427,212:65428,213:65429,214:65430,215:65431,216:65432,217:65433,218:65434,219:65435,220:65436,221:65437,222:65438,223:65439,57408:28478,57409:28435,57410:28407,57411:28550,57412:28538,57413:28536,57414:28545,57415:28544,57416:28527,57417:28507,57418:28659,57419:28525,57420:28546,57421:28540,57422:28504,57423:28558,57424:28561,57425:28610,57426:28518,57427:28595,57428:28579,57429:28577,57430:28580,57431:28601,57432:28614,57433:28586,57434:28639,57435:28629,57436:28652,57437:28628,57438:28632,57439:28657,57440:28654,57441:28635,57442:28681,57443:28683,57444:28666,57445:28689,57446:28673,57447:28687,57448:28670,57449:28699,57450:28698,57451:28532,57452:28701,57453:28696,57454:28703,57455:28720,57456:28734,57457:28722,57458:28753,57459:28771,57460:28825,57461:28818,57462:28847,57463:28913,57464:28844,57465:28856,57466:28851,57467:28846,57468:28895,57469:28875,57470:28893,57472:28889,57473:28937,57474:28925,57475:28956,57476:28953,57477:29029,57478:29013,57479:29064,57480:29030,57481:29026,57482:29004,57483:29014,57484:29036,57485:29071,57486:29179,57487:29060,57488:29077,57489:29096,57490:29100,57491:29143,57492:29113,57493:29118,57494:29138,57495:29129,57496:29140,57497:29134,57498:29152,57499:29164,57500:29159,57501:29173,57502:29180,57503:29177,57504:29183,57505:29197,57506:29200,57507:29211,57508:29224,57509:29229,57510:29228,57511:29232,57512:29234,57513:29243,57514:29244,57515:29247,57516:29248,57517:29254,57518:29259,57519:29272,57520:29300,57521:29310,57522:29314,57523:29313,57524:29319,57525:29330,57526:29334,57527:29346,57528:29351,57529:29369,57530:29362,57531:29379,57532:29382,57533:29380,57534:29390,57535:29394,57536:29410,57537:29408,57538:29409,57539:29433,57540:29431,57541:20495,57542:29463,57543:29450,57544:29468,57545:29462,57546:29469,57547:29492,57548:29487,57549:29481,57550:29477,57551:29502,57552:29518,57553:29519,57554:40664,57555:29527,57556:29546,57557:29544,57558:29552,57559:29560,57560:29557,57561:29563,57562:29562,57563:29640,57564:29619,57565:29646,57566:29627,57567:29632,57568:29669,57569:29678,57570:29662,57571:29858,57572:29701,57573:29807,57574:29733,57575:29688,57576:29746,57577:29754,57578:29781,57579:29759,57580:29791,57581:29785,57582:29761,57583:29788,57584:29801,57585:29808,57586:29795,57587:29802,57588:29814,57589:29822,57590:29835,57591:29854,57592:29863,57593:29898,57594:29903,57595:29908,57596:29681,57664:29920,57665:29923,57666:29927,57667:29929,57668:29934,57669:29938,57670:29936,57671:29937,57672:29944,57673:29943,57674:29956,57675:29955,57676:29957,57677:29964,57678:29966,57679:29965,57680:29973,57681:29971,57682:29982,57683:29990,57684:29996,57685:30012,57686:30020,57687:30029,57688:30026,57689:30025,57690:30043,57691:30022,57692:30042,57693:30057,57694:30052,57695:30055,57696:30059,57697:30061,57698:30072,57699:30070,57700:30086,57701:30087,57702:30068,57703:30090,57704:30089,57705:30082,57706:30100,57707:30106,57708:30109,57709:30117,57710:30115,57711:30146,57712:30131,57713:30147,57714:30133,57715:30141,57716:30136,57717:30140,57718:30129,57719:30157,57720:30154,57721:30162,57722:30169,57723:30179,57724:30174,57725:30206,57726:30207,57728:30204,57729:30209,57730:30192,57731:30202,57732:30194,57733:30195,57734:30219,57735:30221,57736:30217,57737:30239,57738:30247,57739:30240,57740:30241,57741:30242,57742:30244,57743:30260,57744:30256,57745:30267,57746:30279,57747:30280,57748:30278,57749:30300,57750:30296,57751:30305,57752:30306,57753:30312,57754:30313,57755:30314,57756:30311,57757:30316,57758:30320,57759:30322,57760:30326,57761:30328,57762:30332,57763:30336,57764:30339,57765:30344,57766:30347,57767:30350,57768:30358,57769:30355,57770:30361,57771:30362,57772:30384,57773:30388,57774:30392,57775:30393,57776:30394,57777:30402,57778:30413,57779:30422,57780:30418,57781:30430,57782:30433,57783:30437,57784:30439,57785:30442,57786:34351,57787:30459,57788:30472,57789:30471,57790:30468,57791:30505,57792:30500,57793:30494,57794:30501,57795:30502,57796:30491,57797:30519,57798:30520,57799:30535,57800:30554,57801:30568,57802:30571,57803:30555,57804:30565,57805:30591,57806:30590,57807:30585,57808:30606,57809:30603,57810:30609,57811:30624,57812:30622,57813:30640,57814:30646,57815:30649,57816:30655,57817:30652,57818:30653,57819:30651,57820:30663,57821:30669,57822:30679,57823:30682,57824:30684,57825:30691,57826:30702,57827:30716,57828:30732,57829:30738,57830:31014,57831:30752,57832:31018,57833:30789,57834:30862,57835:30836,57836:30854,57837:30844,57838:30874,57839:30860,57840:30883,57841:30901,57842:30890,57843:30895,57844:30929,57845:30918,57846:30923,57847:30932,57848:30910,57849:30908,57850:30917,57851:30922,57852:30956,57920:30951,57921:30938,57922:30973,57923:30964,57924:30983,57925:30994,57926:30993,57927:31001,57928:31020,57929:31019,57930:31040,57931:31072,57932:31063,57933:31071,57934:31066,57935:31061,57936:31059,57937:31098,57938:31103,57939:31114,57940:31133,57941:31143,57942:40779,57943:31146,57944:31150,57945:31155,57946:31161,57947:31162,57948:31177,57949:31189,57950:31207,57951:31212,57952:31201,57953:31203,57954:31240,57955:31245,57956:31256,57957:31257,57958:31264,57959:31263,57960:31104,57961:31281,57962:31291,57963:31294,57964:31287,57965:31299,57966:31319,57967:31305,57968:31329,57969:31330,57970:31337,57971:40861,57972:31344,57973:31353,57974:31357,57975:31368,57976:31383,57977:31381,57978:31384,57979:31382,57980:31401,57981:31432,57982:31408,57984:31414,57985:31429,57986:31428,57987:31423,57988:36995,57989:31431,57990:31434,57991:31437,57992:31439,57993:31445,57994:31443,57995:31449,57996:31450,57997:31453,57998:31457,57999:31458,58e3:31462,58001:31469,58002:31472,58003:31490,58004:31503,58005:31498,58006:31494,58007:31539,58008:31512,58009:31513,58010:31518,58011:31541,58012:31528,58013:31542,58014:31568,58015:31610,58016:31492,58017:31565,58018:31499,58019:31564,58020:31557,58021:31605,58022:31589,58023:31604,58024:31591,58025:31600,58026:31601,58027:31596,58028:31598,58029:31645,58030:31640,58031:31647,58032:31629,58033:31644,58034:31642,58035:31627,58036:31634,58037:31631,58038:31581,58039:31641,58040:31691,58041:31681,58042:31692,58043:31695,58044:31668,58045:31686,58046:31709,58047:31721,58048:31761,58049:31764,58050:31718,58051:31717,58052:31840,58053:31744,58054:31751,58055:31763,58056:31731,58057:31735,58058:31767,58059:31757,58060:31734,58061:31779,58062:31783,58063:31786,58064:31775,58065:31799,58066:31787,58067:31805,58068:31820,58069:31811,58070:31828,58071:31823,58072:31808,58073:31824,58074:31832,58075:31839,58076:31844,58077:31830,58078:31845,58079:31852,58080:31861,58081:31875,58082:31888,58083:31908,58084:31917,58085:31906,58086:31915,58087:31905,58088:31912,58089:31923,58090:31922,58091:31921,58092:31918,58093:31929,58094:31933,58095:31936,58096:31941,58097:31938,58098:31960,58099:31954,58100:31964,58101:31970,58102:39739,58103:31983,58104:31986,58105:31988,58106:31990,58107:31994,58108:32006,58176:32002,58177:32028,58178:32021,58179:32010,58180:32069,58181:32075,58182:32046,58183:32050,58184:32063,58185:32053,58186:32070,58187:32115,58188:32086,58189:32078,58190:32114,58191:32104,58192:32110,58193:32079,58194:32099,58195:32147,58196:32137,58197:32091,58198:32143,58199:32125,58200:32155,58201:32186,58202:32174,58203:32163,58204:32181,58205:32199,58206:32189,58207:32171,58208:32317,58209:32162,58210:32175,58211:32220,58212:32184,58213:32159,58214:32176,58215:32216,58216:32221,58217:32228,58218:32222,58219:32251,58220:32242,58221:32225,58222:32261,58223:32266,58224:32291,58225:32289,58226:32274,58227:32305,58228:32287,58229:32265,58230:32267,58231:32290,58232:32326,58233:32358,58234:32315,58235:32309,58236:32313,58237:32323,58238:32311,58240:32306,58241:32314,58242:32359,58243:32349,58244:32342,58245:32350,58246:32345,58247:32346,58248:32377,58249:32362,58250:32361,58251:32380,58252:32379,58253:32387,58254:32213,58255:32381,58256:36782,58257:32383,58258:32392,58259:32393,58260:32396,58261:32402,58262:32400,58263:32403,58264:32404,58265:32406,58266:32398,58267:32411,58268:32412,58269:32568,58270:32570,58271:32581,58272:32588,58273:32589,58274:32590,58275:32592,58276:32593,58277:32597,58278:32596,58279:32600,58280:32607,58281:32608,58282:32616,58283:32617,58284:32615,58285:32632,58286:32642,58287:32646,58288:32643,58289:32648,58290:32647,58291:32652,58292:32660,58293:32670,58294:32669,58295:32666,58296:32675,58297:32687,58298:32690,58299:32697,58300:32686,58301:32694,58302:32696,58303:35697,58304:32709,58305:32710,58306:32714,58307:32725,58308:32724,58309:32737,58310:32742,58311:32745,58312:32755,58313:32761,58314:39132,58315:32774,58316:32772,58317:32779,58318:32786,58319:32792,58320:32793,58321:32796,58322:32801,58323:32808,58324:32831,58325:32827,58326:32842,58327:32838,58328:32850,58329:32856,58330:32858,58331:32863,58332:32866,58333:32872,58334:32883,58335:32882,58336:32880,58337:32886,58338:32889,58339:32893,58340:32895,58341:32900,58342:32902,58343:32901,58344:32923,58345:32915,58346:32922,58347:32941,58348:20880,58349:32940,58350:32987,58351:32997,58352:32985,58353:32989,58354:32964,58355:32986,58356:32982,58357:33033,58358:33007,58359:33009,58360:33051,58361:33065,58362:33059,58363:33071,58364:33099,58432:38539,58433:33094,58434:33086,58435:33107,58436:33105,58437:33020,58438:33137,58439:33134,58440:33125,58441:33126,58442:33140,58443:33155,58444:33160,58445:33162,58446:33152,58447:33154,58448:33184,58449:33173,58450:33188,58451:33187,58452:33119,58453:33171,58454:33193,58455:33200,58456:33205,58457:33214,58458:33208,58459:33213,58460:33216,58461:33218,58462:33210,58463:33225,58464:33229,58465:33233,58466:33241,58467:33240,58468:33224,58469:33242,58470:33247,58471:33248,58472:33255,58473:33274,58474:33275,58475:33278,58476:33281,58477:33282,58478:33285,58479:33287,58480:33290,58481:33293,58482:33296,58483:33302,58484:33321,58485:33323,58486:33336,58487:33331,58488:33344,58489:33369,58490:33368,58491:33373,58492:33370,58493:33375,58494:33380,58496:33378,58497:33384,58498:33386,58499:33387,58500:33326,58501:33393,58502:33399,58503:33400,58504:33406,58505:33421,58506:33426,58507:33451,58508:33439,58509:33467,58510:33452,58511:33505,58512:33507,58513:33503,58514:33490,58515:33524,58516:33523,58517:33530,58518:33683,58519:33539,58520:33531,58521:33529,58522:33502,58523:33542,58524:33500,58525:33545,58526:33497,58527:33589,58528:33588,58529:33558,58530:33586,58531:33585,58532:33600,58533:33593,58534:33616,58535:33605,58536:33583,58537:33579,58538:33559,58539:33560,58540:33669,58541:33690,58542:33706,58543:33695,58544:33698,58545:33686,58546:33571,58547:33678,58548:33671,58549:33674,58550:33660,58551:33717,58552:33651,58553:33653,58554:33696,58555:33673,58556:33704,58557:33780,58558:33811,58559:33771,58560:33742,58561:33789,58562:33795,58563:33752,58564:33803,58565:33729,58566:33783,58567:33799,58568:33760,58569:33778,58570:33805,58571:33826,58572:33824,58573:33725,58574:33848,58575:34054,58576:33787,58577:33901,58578:33834,58579:33852,58580:34138,58581:33924,58582:33911,58583:33899,58584:33965,58585:33902,58586:33922,58587:33897,58588:33862,58589:33836,58590:33903,58591:33913,58592:33845,58593:33994,58594:33890,58595:33977,58596:33983,58597:33951,58598:34009,58599:33997,58600:33979,58601:34010,58602:34e3,58603:33985,58604:33990,58605:34006,58606:33953,58607:34081,58608:34047,58609:34036,58610:34071,58611:34072,58612:34092,58613:34079,58614:34069,58615:34068,58616:34044,58617:34112,58618:34147,58619:34136,58620:34120,58688:34113,58689:34306,58690:34123,58691:34133,58692:34176,58693:34212,58694:34184,58695:34193,58696:34186,58697:34216,58698:34157,58699:34196,58700:34203,58701:34282,58702:34183,58703:34204,58704:34167,58705:34174,58706:34192,58707:34249,58708:34234,58709:34255,58710:34233,58711:34256,58712:34261,58713:34269,58714:34277,58715:34268,58716:34297,58717:34314,58718:34323,58719:34315,58720:34302,58721:34298,58722:34310,58723:34338,58724:34330,58725:34352,58726:34367,58727:34381,58728:20053,58729:34388,58730:34399,58731:34407,58732:34417,58733:34451,58734:34467,58735:34473,58736:34474,58737:34443,58738:34444,58739:34486,58740:34479,58741:34500,58742:34502,58743:34480,58744:34505,58745:34851,58746:34475,58747:34516,58748:34526,58749:34537,58750:34540,58752:34527,58753:34523,58754:34543,58755:34578,58756:34566,58757:34568,58758:34560,58759:34563,58760:34555,58761:34577,58762:34569,58763:34573,58764:34553,58765:34570,58766:34612,58767:34623,58768:34615,58769:34619,58770:34597,58771:34601,58772:34586,58773:34656,58774:34655,58775:34680,58776:34636,58777:34638,58778:34676,58779:34647,58780:34664,58781:34670,58782:34649,58783:34643,58784:34659,58785:34666,58786:34821,58787:34722,58788:34719,58789:34690,58790:34735,58791:34763,58792:34749,58793:34752,58794:34768,58795:38614,58796:34731,58797:34756,58798:34739,58799:34759,58800:34758,58801:34747,58802:34799,58803:34802,58804:34784,58805:34831,58806:34829,58807:34814,58808:34806,58809:34807,58810:34830,58811:34770,58812:34833,58813:34838,58814:34837,58815:34850,58816:34849,58817:34865,58818:34870,58819:34873,58820:34855,58821:34875,58822:34884,58823:34882,58824:34898,58825:34905,58826:34910,58827:34914,58828:34923,58829:34945,58830:34942,58831:34974,58832:34933,58833:34941,58834:34997,58835:34930,58836:34946,58837:34967,58838:34962,58839:34990,58840:34969,58841:34978,58842:34957,58843:34980,58844:34992,58845:35007,58846:34993,58847:35011,58848:35012,58849:35028,58850:35032,58851:35033,58852:35037,58853:35065,58854:35074,58855:35068,58856:35060,58857:35048,58858:35058,58859:35076,58860:35084,58861:35082,58862:35091,58863:35139,58864:35102,58865:35109,58866:35114,58867:35115,58868:35137,58869:35140,58870:35131,58871:35126,58872:35128,58873:35148,58874:35101,58875:35168,58876:35166,58944:35174,58945:35172,58946:35181,58947:35178,58948:35183,58949:35188,58950:35191,58951:35198,58952:35203,58953:35208,58954:35210,58955:35219,58956:35224,58957:35233,58958:35241,58959:35238,58960:35244,58961:35247,58962:35250,58963:35258,58964:35261,58965:35263,58966:35264,58967:35290,58968:35292,58969:35293,58970:35303,58971:35316,58972:35320,58973:35331,58974:35350,58975:35344,58976:35340,58977:35355,58978:35357,58979:35365,58980:35382,58981:35393,58982:35419,58983:35410,58984:35398,58985:35400,58986:35452,58987:35437,58988:35436,58989:35426,58990:35461,58991:35458,58992:35460,58993:35496,58994:35489,58995:35473,58996:35493,58997:35494,58998:35482,58999:35491,59e3:35524,59001:35533,59002:35522,59003:35546,59004:35563,59005:35571,59006:35559,59008:35556,59009:35569,59010:35604,59011:35552,59012:35554,59013:35575,59014:35550,59015:35547,59016:35596,59017:35591,59018:35610,59019:35553,59020:35606,59021:35600,59022:35607,59023:35616,59024:35635,59025:38827,59026:35622,59027:35627,59028:35646,59029:35624,59030:35649,59031:35660,59032:35663,59033:35662,59034:35657,59035:35670,59036:35675,59037:35674,59038:35691,59039:35679,59040:35692,59041:35695,59042:35700,59043:35709,59044:35712,59045:35724,59046:35726,59047:35730,59048:35731,59049:35734,59050:35737,59051:35738,59052:35898,59053:35905,59054:35903,59055:35912,59056:35916,59057:35918,59058:35920,59059:35925,59060:35938,59061:35948,59062:35960,59063:35962,59064:35970,59065:35977,59066:35973,59067:35978,59068:35981,59069:35982,59070:35988,59071:35964,59072:35992,59073:25117,59074:36013,59075:36010,59076:36029,59077:36018,59078:36019,59079:36014,59080:36022,59081:36040,59082:36033,59083:36068,59084:36067,59085:36058,59086:36093,59087:36090,59088:36091,59089:36100,59090:36101,59091:36106,59092:36103,59093:36111,59094:36109,59095:36112,59096:40782,59097:36115,59098:36045,59099:36116,59100:36118,59101:36199,59102:36205,59103:36209,59104:36211,59105:36225,59106:36249,59107:36290,59108:36286,59109:36282,59110:36303,59111:36314,59112:36310,59113:36300,59114:36315,59115:36299,59116:36330,59117:36331,59118:36319,59119:36323,59120:36348,59121:36360,59122:36361,59123:36351,59124:36381,59125:36382,59126:36368,59127:36383,59128:36418,59129:36405,59130:36400,59131:36404,59132:36426,59200:36423,59201:36425,59202:36428,59203:36432,59204:36424,59205:36441,59206:36452,59207:36448,59208:36394,59209:36451,59210:36437,59211:36470,59212:36466,59213:36476,59214:36481,59215:36487,59216:36485,59217:36484,59218:36491,59219:36490,59220:36499,59221:36497,59222:36500,59223:36505,59224:36522,59225:36513,59226:36524,59227:36528,59228:36550,59229:36529,59230:36542,59231:36549,59232:36552,59233:36555,59234:36571,59235:36579,59236:36604,59237:36603,59238:36587,59239:36606,59240:36618,59241:36613,59242:36629,59243:36626,59244:36633,59245:36627,59246:36636,59247:36639,59248:36635,59249:36620,59250:36646,59251:36659,59252:36667,59253:36665,59254:36677,59255:36674,59256:36670,59257:36684,59258:36681,59259:36678,59260:36686,59261:36695,59262:36700,59264:36706,59265:36707,59266:36708,59267:36764,59268:36767,59269:36771,59270:36781,59271:36783,59272:36791,59273:36826,59274:36837,59275:36834,59276:36842,59277:36847,59278:36999,59279:36852,59280:36869,59281:36857,59282:36858,59283:36881,59284:36885,59285:36897,59286:36877,59287:36894,59288:36886,59289:36875,59290:36903,59291:36918,59292:36917,59293:36921,59294:36856,59295:36943,59296:36944,59297:36945,59298:36946,59299:36878,59300:36937,59301:36926,59302:36950,59303:36952,59304:36958,59305:36968,59306:36975,59307:36982,59308:38568,59309:36978,59310:36994,59311:36989,59312:36993,59313:36992,59314:37002,59315:37001,59316:37007,59317:37032,59318:37039,59319:37041,59320:37045,59321:37090,59322:37092,59323:25160,59324:37083,59325:37122,59326:37138,59327:37145,59328:37170,59329:37168,59330:37194,59331:37206,59332:37208,59333:37219,59334:37221,59335:37225,59336:37235,59337:37234,59338:37259,59339:37257,59340:37250,59341:37282,59342:37291,59343:37295,59344:37290,59345:37301,59346:37300,59347:37306,59348:37312,59349:37313,59350:37321,59351:37323,59352:37328,59353:37334,59354:37343,59355:37345,59356:37339,59357:37372,59358:37365,59359:37366,59360:37406,59361:37375,59362:37396,59363:37420,59364:37397,59365:37393,59366:37470,59367:37463,59368:37445,59369:37449,59370:37476,59371:37448,59372:37525,59373:37439,59374:37451,59375:37456,59376:37532,59377:37526,59378:37523,59379:37531,59380:37466,59381:37583,59382:37561,59383:37559,59384:37609,59385:37647,59386:37626,59387:37700,59388:37678,59456:37657,59457:37666,59458:37658,59459:37667,59460:37690,59461:37685,59462:37691,59463:37724,59464:37728,59465:37756,59466:37742,59467:37718,59468:37808,59469:37804,59470:37805,59471:37780,59472:37817,59473:37846,59474:37847,59475:37864,59476:37861,59477:37848,59478:37827,59479:37853,59480:37840,59481:37832,59482:37860,59483:37914,59484:37908,59485:37907,59486:37891,59487:37895,59488:37904,59489:37942,59490:37931,59491:37941,59492:37921,59493:37946,59494:37953,59495:37970,59496:37956,59497:37979,59498:37984,59499:37986,59500:37982,59501:37994,59502:37417,59503:38e3,59504:38005,59505:38007,59506:38013,59507:37978,59508:38012,59509:38014,59510:38017,59511:38015,59512:38274,59513:38279,59514:38282,59515:38292,59516:38294,59517:38296,59518:38297,59520:38304,59521:38312,59522:38311,59523:38317,59524:38332,59525:38331,59526:38329,59527:38334,59528:38346,59529:28662,59530:38339,59531:38349,59532:38348,59533:38357,59534:38356,59535:38358,59536:38364,59537:38369,59538:38373,59539:38370,59540:38433,59541:38440,59542:38446,59543:38447,59544:38466,59545:38476,59546:38479,59547:38475,59548:38519,59549:38492,59550:38494,59551:38493,59552:38495,59553:38502,59554:38514,59555:38508,59556:38541,59557:38552,59558:38549,59559:38551,59560:38570,59561:38567,59562:38577,59563:38578,59564:38576,59565:38580,59566:38582,59567:38584,59568:38585,59569:38606,59570:38603,59571:38601,59572:38605,59573:35149,59574:38620,59575:38669,59576:38613,59577:38649,59578:38660,59579:38662,59580:38664,59581:38675,59582:38670,59583:38673,59584:38671,59585:38678,59586:38681,59587:38692,59588:38698,59589:38704,59590:38713,59591:38717,59592:38718,59593:38724,59594:38726,59595:38728,59596:38722,59597:38729,59598:38748,59599:38752,59600:38756,59601:38758,59602:38760,59603:21202,59604:38763,59605:38769,59606:38777,59607:38789,59608:38780,59609:38785,59610:38778,59611:38790,59612:38795,59613:38799,59614:38800,59615:38812,59616:38824,59617:38822,59618:38819,59619:38835,59620:38836,59621:38851,59622:38854,59623:38856,59624:38859,59625:38876,59626:38893,59627:40783,59628:38898,59629:31455,59630:38902,59631:38901,59632:38927,59633:38924,59634:38968,59635:38948,59636:38945,59637:38967,59638:38973,59639:38982,59640:38991,59641:38987,59642:39019,59643:39023,59644:39024,59712:39025,59713:39028,59714:39027,59715:39082,59716:39087,59717:39089,59718:39094,59719:39108,59720:39107,59721:39110,59722:39145,59723:39147,59724:39171,59725:39177,59726:39186,59727:39188,59728:39192,59729:39201,59730:39197,59731:39198,59732:39204,59733:39200,59734:39212,59735:39214,59736:39229,59737:39230,59738:39234,59739:39241,59740:39237,59741:39248,59742:39243,59743:39249,59744:39250,59745:39244,59746:39253,59747:39319,59748:39320,59749:39333,59750:39341,59751:39342,59752:39356,59753:39391,59754:39387,59755:39389,59756:39384,59757:39377,59758:39405,59759:39406,59760:39409,59761:39410,59762:39419,59763:39416,59764:39425,59765:39439,59766:39429,59767:39394,59768:39449,59769:39467,59770:39479,59771:39493,59772:39490,59773:39488,59774:39491,59776:39486,59777:39509,59778:39501,59779:39515,59780:39511,59781:39519,59782:39522,59783:39525,59784:39524,59785:39529,59786:39531,59787:39530,59788:39597,59789:39600,59790:39612,59791:39616,59792:39631,59793:39633,59794:39635,59795:39636,59796:39646,59797:39647,59798:39650,59799:39651,59800:39654,59801:39663,59802:39659,59803:39662,59804:39668,59805:39665,59806:39671,59807:39675,59808:39686,59809:39704,59810:39706,59811:39711,59812:39714,59813:39715,59814:39717,59815:39719,59816:39720,59817:39721,59818:39722,59819:39726,59820:39727,59821:39730,59822:39748,59823:39747,59824:39759,59825:39757,59826:39758,59827:39761,59828:39768,59829:39796,59830:39827,59831:39811,59832:39825,59833:39830,59834:39831,59835:39839,59836:39840,59837:39848,59838:39860,59839:39872,59840:39882,59841:39865,59842:39878,59843:39887,59844:39889,59845:39890,59846:39907,59847:39906,59848:39908,59849:39892,59850:39905,59851:39994,59852:39922,59853:39921,59854:39920,59855:39957,59856:39956,59857:39945,59858:39955,59859:39948,59860:39942,59861:39944,59862:39954,59863:39946,59864:39940,59865:39982,59866:39963,59867:39973,59868:39972,59869:39969,59870:39984,59871:40007,59872:39986,59873:40006,59874:39998,59875:40026,59876:40032,59877:40039,59878:40054,59879:40056,59880:40167,59881:40172,59882:40176,59883:40201,59884:40200,59885:40171,59886:40195,59887:40198,59888:40234,59889:40230,59890:40367,59891:40227,59892:40223,59893:40260,59894:40213,59895:40210,59896:40257,59897:40255,59898:40254,59899:40262,59900:40264,59968:40285,59969:40286,59970:40292,59971:40273,59972:40272,59973:40281,59974:40306,59975:40329,59976:40327,59977:40363,59978:40303,59979:40314,59980:40346,59981:40356,59982:40361,59983:40370,59984:40388,59985:40385,59986:40379,59987:40376,59988:40378,59989:40390,59990:40399,59991:40386,59992:40409,59993:40403,59994:40440,59995:40422,59996:40429,59997:40431,59998:40445,59999:40474,6e4:40475,60001:40478,60002:40565,60003:40569,60004:40573,60005:40577,60006:40584,60007:40587,60008:40588,60009:40594,60010:40597,60011:40593,60012:40605,60013:40613,60014:40617,60015:40632,60016:40618,60017:40621,60018:38753,60019:40652,60020:40654,60021:40655,60022:40656,60023:40660,60024:40668,60025:40670,60026:40669,60027:40672,60028:40677,60029:40680,60030:40687,60032:40692,60033:40694,60034:40695,60035:40697,60036:40699,60037:40700,60038:40701,60039:40711,60040:40712,60041:30391,60042:40725,60043:40737,60044:40748,60045:40766,60046:40778,60047:40786,60048:40788,60049:40803,60050:40799,60051:40800,60052:40801,60053:40806,60054:40807,60055:40812,60056:40810,60057:40823,60058:40818,60059:40822,60060:40853,60061:40860,60062:40864,60063:22575,60064:27079,60065:36953,60066:29796,60067:20956,60068:29081}}),(function(a,i,s){Object.defineProperty(i,"__esModule",{value:!0});var x=s(1),u=s(2);function f(p,y,C,A){var b;y.degree()<C.degree()&&(b=[C,y],y=b[0],C=b[1]);for(var D=y,F=C,O=p.zero,w=p.one;F.degree()>=A/2;){var _=D,R=O;if(D=F,O=w,D.isZero())return null;F=_;for(var k=p.zero,T=D.getCoefficient(D.degree()),S=p.inverse(T);F.degree()>=D.degree()&&!F.isZero();){var q=F.degree()-D.degree(),L=p.multiply(F.getCoefficient(F.degree()),S);k=k.addOrSubtract(p.buildMonomial(q,L)),F=F.addOrSubtract(D.multiplyByMonomial(q,L))}if(w=k.multiplyPoly(O).addOrSubtract(R),F.degree()>=D.degree())return null}var X=w.getCoefficient(0);if(X===0)return null;var K=p.inverse(X);return[w.multiply(K),F.multiply(K)]}function d(p,y){var C=y.degree();if(C===1)return[y.getCoefficient(1)];for(var A=new Array(C),b=0,D=1;D<p.size&&b<C;D++)y.evaluateAt(D)===0&&(A[b]=p.inverse(D),b++);return b!==C?null:A}function h(p,y,C){for(var A=C.length,b=new Array(A),D=0;D<A;D++){for(var F=p.inverse(C[D]),O=1,w=0;w<A;w++)D!==w&&(O=p.multiply(O,x.addOrSubtractGF(1,p.multiply(C[w],F))));b[D]=p.multiply(y.evaluateAt(F),p.inverse(O)),p.generatorBase!==0&&(b[D]=p.multiply(b[D],F))}return b}function E(p,y){var C=new Uint8ClampedArray(p.length);C.set(p);for(var A=new x.default(285,256,0),b=new u.default(A,C),D=new Uint8ClampedArray(y),F=!1,O=0;O<y;O++){var w=b.evaluateAt(A.exp(O+A.generatorBase));D[D.length-1-O]=w,w!==0&&(F=!0)}if(!F)return C;var _=new u.default(A,D),R=f(A,A.buildMonomial(y,1),_,y);if(R===null)return null;var k=d(A,R[0]);if(k==null)return null;for(var T=h(A,R[1],k),S=0;S<k.length;S++){var q=C.length-1-A.log(k[S]);if(q<0)return null;C[q]=x.addOrSubtractGF(C[q],T[S])}return C}i.decode=E}),(function(a,i,s){Object.defineProperty(i,"__esModule",{value:!0}),i.VERSIONS=[{infoBits:null,versionNumber:1,alignmentPatternCenters:[],errorCorrectionLevels:[{ecCodewordsPerBlock:7,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:19}]},{ecCodewordsPerBlock:10,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:16}]},{ecCodewordsPerBlock:13,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:13}]},{ecCodewordsPerBlock:17,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:9}]}]},{infoBits:null,versionNumber:2,alignmentPatternCenters:[6,18],errorCorrectionLevels:[{ecCodewordsPerBlock:10,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:34}]},{ecCodewordsPerBlock:16,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:28}]},{ecCodewordsPerBlock:22,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:22}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:16}]}]},{infoBits:null,versionNumber:3,alignmentPatternCenters:[6,22],errorCorrectionLevels:[{ecCodewordsPerBlock:15,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:55}]},{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:44}]},{ecCodewordsPerBlock:18,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:17}]},{ecCodewordsPerBlock:22,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:13}]}]},{infoBits:null,versionNumber:4,alignmentPatternCenters:[6,26],errorCorrectionLevels:[{ecCodewordsPerBlock:20,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:80}]},{ecCodewordsPerBlock:18,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:32}]},{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:24}]},{ecCodewordsPerBlock:16,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:9}]}]},{infoBits:null,versionNumber:5,alignmentPatternCenters:[6,30],errorCorrectionLevels:[{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:108}]},{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:43}]},{ecCodewordsPerBlock:18,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:15},{numBlocks:2,dataCodewordsPerBlock:16}]},{ecCodewordsPerBlock:22,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:11},{numBlocks:2,dataCodewordsPerBlock:12}]}]},{infoBits:null,versionNumber:6,alignmentPatternCenters:[6,34],errorCorrectionLevels:[{ecCodewordsPerBlock:18,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:68}]},{ecCodewordsPerBlock:16,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:27}]},{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:19}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:15}]}]},{infoBits:31892,versionNumber:7,alignmentPatternCenters:[6,22,38],errorCorrectionLevels:[{ecCodewordsPerBlock:20,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:78}]},{ecCodewordsPerBlock:18,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:31}]},{ecCodewordsPerBlock:18,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:14},{numBlocks:4,dataCodewordsPerBlock:15}]},{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:13},{numBlocks:1,dataCodewordsPerBlock:14}]}]},{infoBits:34236,versionNumber:8,alignmentPatternCenters:[6,24,42],errorCorrectionLevels:[{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:97}]},{ecCodewordsPerBlock:22,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:38},{numBlocks:2,dataCodewordsPerBlock:39}]},{ecCodewordsPerBlock:22,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:18},{numBlocks:2,dataCodewordsPerBlock:19}]},{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:14},{numBlocks:2,dataCodewordsPerBlock:15}]}]},{infoBits:39577,versionNumber:9,alignmentPatternCenters:[6,26,46],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:116}]},{ecCodewordsPerBlock:22,ecBlocks:[{numBlocks:3,dataCodewordsPerBlock:36},{numBlocks:2,dataCodewordsPerBlock:37}]},{ecCodewordsPerBlock:20,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:16},{numBlocks:4,dataCodewordsPerBlock:17}]},{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:12},{numBlocks:4,dataCodewordsPerBlock:13}]}]},{infoBits:42195,versionNumber:10,alignmentPatternCenters:[6,28,50],errorCorrectionLevels:[{ecCodewordsPerBlock:18,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:68},{numBlocks:2,dataCodewordsPerBlock:69}]},{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:43},{numBlocks:1,dataCodewordsPerBlock:44}]},{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:6,dataCodewordsPerBlock:19},{numBlocks:2,dataCodewordsPerBlock:20}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:6,dataCodewordsPerBlock:15},{numBlocks:2,dataCodewordsPerBlock:16}]}]},{infoBits:48118,versionNumber:11,alignmentPatternCenters:[6,30,54],errorCorrectionLevels:[{ecCodewordsPerBlock:20,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:81}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:50},{numBlocks:4,dataCodewordsPerBlock:51}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:22},{numBlocks:4,dataCodewordsPerBlock:23}]},{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:3,dataCodewordsPerBlock:12},{numBlocks:8,dataCodewordsPerBlock:13}]}]},{infoBits:51042,versionNumber:12,alignmentPatternCenters:[6,32,58],errorCorrectionLevels:[{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:92},{numBlocks:2,dataCodewordsPerBlock:93}]},{ecCodewordsPerBlock:22,ecBlocks:[{numBlocks:6,dataCodewordsPerBlock:36},{numBlocks:2,dataCodewordsPerBlock:37}]},{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:20},{numBlocks:6,dataCodewordsPerBlock:21}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:7,dataCodewordsPerBlock:14},{numBlocks:4,dataCodewordsPerBlock:15}]}]},{infoBits:55367,versionNumber:13,alignmentPatternCenters:[6,34,62],errorCorrectionLevels:[{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:107}]},{ecCodewordsPerBlock:22,ecBlocks:[{numBlocks:8,dataCodewordsPerBlock:37},{numBlocks:1,dataCodewordsPerBlock:38}]},{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:8,dataCodewordsPerBlock:20},{numBlocks:4,dataCodewordsPerBlock:21}]},{ecCodewordsPerBlock:22,ecBlocks:[{numBlocks:12,dataCodewordsPerBlock:11},{numBlocks:4,dataCodewordsPerBlock:12}]}]},{infoBits:58893,versionNumber:14,alignmentPatternCenters:[6,26,46,66],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:3,dataCodewordsPerBlock:115},{numBlocks:1,dataCodewordsPerBlock:116}]},{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:40},{numBlocks:5,dataCodewordsPerBlock:41}]},{ecCodewordsPerBlock:20,ecBlocks:[{numBlocks:11,dataCodewordsPerBlock:16},{numBlocks:5,dataCodewordsPerBlock:17}]},{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:11,dataCodewordsPerBlock:12},{numBlocks:5,dataCodewordsPerBlock:13}]}]},{infoBits:63784,versionNumber:15,alignmentPatternCenters:[6,26,48,70],errorCorrectionLevels:[{ecCodewordsPerBlock:22,ecBlocks:[{numBlocks:5,dataCodewordsPerBlock:87},{numBlocks:1,dataCodewordsPerBlock:88}]},{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:5,dataCodewordsPerBlock:41},{numBlocks:5,dataCodewordsPerBlock:42}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:5,dataCodewordsPerBlock:24},{numBlocks:7,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:11,dataCodewordsPerBlock:12},{numBlocks:7,dataCodewordsPerBlock:13}]}]},{infoBits:68472,versionNumber:16,alignmentPatternCenters:[6,26,50,74],errorCorrectionLevels:[{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:5,dataCodewordsPerBlock:98},{numBlocks:1,dataCodewordsPerBlock:99}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:7,dataCodewordsPerBlock:45},{numBlocks:3,dataCodewordsPerBlock:46}]},{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:15,dataCodewordsPerBlock:19},{numBlocks:2,dataCodewordsPerBlock:20}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:3,dataCodewordsPerBlock:15},{numBlocks:13,dataCodewordsPerBlock:16}]}]},{infoBits:70749,versionNumber:17,alignmentPatternCenters:[6,30,54,78],errorCorrectionLevels:[{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:107},{numBlocks:5,dataCodewordsPerBlock:108}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:10,dataCodewordsPerBlock:46},{numBlocks:1,dataCodewordsPerBlock:47}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:22},{numBlocks:15,dataCodewordsPerBlock:23}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:14},{numBlocks:17,dataCodewordsPerBlock:15}]}]},{infoBits:76311,versionNumber:18,alignmentPatternCenters:[6,30,56,82],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:5,dataCodewordsPerBlock:120},{numBlocks:1,dataCodewordsPerBlock:121}]},{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:9,dataCodewordsPerBlock:43},{numBlocks:4,dataCodewordsPerBlock:44}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:17,dataCodewordsPerBlock:22},{numBlocks:1,dataCodewordsPerBlock:23}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:14},{numBlocks:19,dataCodewordsPerBlock:15}]}]},{infoBits:79154,versionNumber:19,alignmentPatternCenters:[6,30,58,86],errorCorrectionLevels:[{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:3,dataCodewordsPerBlock:113},{numBlocks:4,dataCodewordsPerBlock:114}]},{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:3,dataCodewordsPerBlock:44},{numBlocks:11,dataCodewordsPerBlock:45}]},{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:17,dataCodewordsPerBlock:21},{numBlocks:4,dataCodewordsPerBlock:22}]},{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:9,dataCodewordsPerBlock:13},{numBlocks:16,dataCodewordsPerBlock:14}]}]},{infoBits:84390,versionNumber:20,alignmentPatternCenters:[6,34,62,90],errorCorrectionLevels:[{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:3,dataCodewordsPerBlock:107},{numBlocks:5,dataCodewordsPerBlock:108}]},{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:3,dataCodewordsPerBlock:41},{numBlocks:13,dataCodewordsPerBlock:42}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:15,dataCodewordsPerBlock:24},{numBlocks:5,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:15,dataCodewordsPerBlock:15},{numBlocks:10,dataCodewordsPerBlock:16}]}]},{infoBits:87683,versionNumber:21,alignmentPatternCenters:[6,28,50,72,94],errorCorrectionLevels:[{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:116},{numBlocks:4,dataCodewordsPerBlock:117}]},{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:17,dataCodewordsPerBlock:42}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:17,dataCodewordsPerBlock:22},{numBlocks:6,dataCodewordsPerBlock:23}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:19,dataCodewordsPerBlock:16},{numBlocks:6,dataCodewordsPerBlock:17}]}]},{infoBits:92361,versionNumber:22,alignmentPatternCenters:[6,26,50,74,98],errorCorrectionLevels:[{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:111},{numBlocks:7,dataCodewordsPerBlock:112}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:17,dataCodewordsPerBlock:46}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:7,dataCodewordsPerBlock:24},{numBlocks:16,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:34,dataCodewordsPerBlock:13}]}]},{infoBits:96236,versionNumber:23,alignmentPatternCenters:[6,30,54,74,102],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:121},{numBlocks:5,dataCodewordsPerBlock:122}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:47},{numBlocks:14,dataCodewordsPerBlock:48}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:11,dataCodewordsPerBlock:24},{numBlocks:14,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:16,dataCodewordsPerBlock:15},{numBlocks:14,dataCodewordsPerBlock:16}]}]},{infoBits:102084,versionNumber:24,alignmentPatternCenters:[6,28,54,80,106],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:6,dataCodewordsPerBlock:117},{numBlocks:4,dataCodewordsPerBlock:118}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:6,dataCodewordsPerBlock:45},{numBlocks:14,dataCodewordsPerBlock:46}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:11,dataCodewordsPerBlock:24},{numBlocks:16,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:30,dataCodewordsPerBlock:16},{numBlocks:2,dataCodewordsPerBlock:17}]}]},{infoBits:102881,versionNumber:25,alignmentPatternCenters:[6,32,58,84,110],errorCorrectionLevels:[{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:8,dataCodewordsPerBlock:106},{numBlocks:4,dataCodewordsPerBlock:107}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:8,dataCodewordsPerBlock:47},{numBlocks:13,dataCodewordsPerBlock:48}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:7,dataCodewordsPerBlock:24},{numBlocks:22,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:22,dataCodewordsPerBlock:15},{numBlocks:13,dataCodewordsPerBlock:16}]}]},{infoBits:110507,versionNumber:26,alignmentPatternCenters:[6,30,58,86,114],errorCorrectionLevels:[{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:10,dataCodewordsPerBlock:114},{numBlocks:2,dataCodewordsPerBlock:115}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:19,dataCodewordsPerBlock:46},{numBlocks:4,dataCodewordsPerBlock:47}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:28,dataCodewordsPerBlock:22},{numBlocks:6,dataCodewordsPerBlock:23}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:33,dataCodewordsPerBlock:16},{numBlocks:4,dataCodewordsPerBlock:17}]}]},{infoBits:110734,versionNumber:27,alignmentPatternCenters:[6,34,62,90,118],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:8,dataCodewordsPerBlock:122},{numBlocks:4,dataCodewordsPerBlock:123}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:22,dataCodewordsPerBlock:45},{numBlocks:3,dataCodewordsPerBlock:46}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:8,dataCodewordsPerBlock:23},{numBlocks:26,dataCodewordsPerBlock:24}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:12,dataCodewordsPerBlock:15},{numBlocks:28,dataCodewordsPerBlock:16}]}]},{infoBits:117786,versionNumber:28,alignmentPatternCenters:[6,26,50,74,98,122],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:3,dataCodewordsPerBlock:117},{numBlocks:10,dataCodewordsPerBlock:118}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:3,dataCodewordsPerBlock:45},{numBlocks:23,dataCodewordsPerBlock:46}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:24},{numBlocks:31,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:11,dataCodewordsPerBlock:15},{numBlocks:31,dataCodewordsPerBlock:16}]}]},{infoBits:119615,versionNumber:29,alignmentPatternCenters:[6,30,54,78,102,126],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:7,dataCodewordsPerBlock:116},{numBlocks:7,dataCodewordsPerBlock:117}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:21,dataCodewordsPerBlock:45},{numBlocks:7,dataCodewordsPerBlock:46}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:23},{numBlocks:37,dataCodewordsPerBlock:24}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:19,dataCodewordsPerBlock:15},{numBlocks:26,dataCodewordsPerBlock:16}]}]},{infoBits:126325,versionNumber:30,alignmentPatternCenters:[6,26,52,78,104,130],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:5,dataCodewordsPerBlock:115},{numBlocks:10,dataCodewordsPerBlock:116}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:19,dataCodewordsPerBlock:47},{numBlocks:10,dataCodewordsPerBlock:48}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:15,dataCodewordsPerBlock:24},{numBlocks:25,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:23,dataCodewordsPerBlock:15},{numBlocks:25,dataCodewordsPerBlock:16}]}]},{infoBits:127568,versionNumber:31,alignmentPatternCenters:[6,30,56,82,108,134],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:13,dataCodewordsPerBlock:115},{numBlocks:3,dataCodewordsPerBlock:116}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:46},{numBlocks:29,dataCodewordsPerBlock:47}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:42,dataCodewordsPerBlock:24},{numBlocks:1,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:23,dataCodewordsPerBlock:15},{numBlocks:28,dataCodewordsPerBlock:16}]}]},{infoBits:133589,versionNumber:32,alignmentPatternCenters:[6,34,60,86,112,138],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:17,dataCodewordsPerBlock:115}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:10,dataCodewordsPerBlock:46},{numBlocks:23,dataCodewordsPerBlock:47}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:10,dataCodewordsPerBlock:24},{numBlocks:35,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:19,dataCodewordsPerBlock:15},{numBlocks:35,dataCodewordsPerBlock:16}]}]},{infoBits:136944,versionNumber:33,alignmentPatternCenters:[6,30,58,86,114,142],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:17,dataCodewordsPerBlock:115},{numBlocks:1,dataCodewordsPerBlock:116}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:14,dataCodewordsPerBlock:46},{numBlocks:21,dataCodewordsPerBlock:47}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:29,dataCodewordsPerBlock:24},{numBlocks:19,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:11,dataCodewordsPerBlock:15},{numBlocks:46,dataCodewordsPerBlock:16}]}]},{infoBits:141498,versionNumber:34,alignmentPatternCenters:[6,34,62,90,118,146],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:13,dataCodewordsPerBlock:115},{numBlocks:6,dataCodewordsPerBlock:116}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:14,dataCodewordsPerBlock:46},{numBlocks:23,dataCodewordsPerBlock:47}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:44,dataCodewordsPerBlock:24},{numBlocks:7,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:59,dataCodewordsPerBlock:16},{numBlocks:1,dataCodewordsPerBlock:17}]}]},{infoBits:145311,versionNumber:35,alignmentPatternCenters:[6,30,54,78,102,126,150],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:12,dataCodewordsPerBlock:121},{numBlocks:7,dataCodewordsPerBlock:122}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:12,dataCodewordsPerBlock:47},{numBlocks:26,dataCodewordsPerBlock:48}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:39,dataCodewordsPerBlock:24},{numBlocks:14,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:22,dataCodewordsPerBlock:15},{numBlocks:41,dataCodewordsPerBlock:16}]}]},{infoBits:150283,versionNumber:36,alignmentPatternCenters:[6,24,50,76,102,128,154],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:6,dataCodewordsPerBlock:121},{numBlocks:14,dataCodewordsPerBlock:122}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:6,dataCodewordsPerBlock:47},{numBlocks:34,dataCodewordsPerBlock:48}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:46,dataCodewordsPerBlock:24},{numBlocks:10,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:15},{numBlocks:64,dataCodewordsPerBlock:16}]}]},{infoBits:152622,versionNumber:37,alignmentPatternCenters:[6,28,54,80,106,132,158],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:17,dataCodewordsPerBlock:122},{numBlocks:4,dataCodewordsPerBlock:123}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:29,dataCodewordsPerBlock:46},{numBlocks:14,dataCodewordsPerBlock:47}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:49,dataCodewordsPerBlock:24},{numBlocks:10,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:24,dataCodewordsPerBlock:15},{numBlocks:46,dataCodewordsPerBlock:16}]}]},{infoBits:158308,versionNumber:38,alignmentPatternCenters:[6,32,58,84,110,136,162],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:122},{numBlocks:18,dataCodewordsPerBlock:123}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:13,dataCodewordsPerBlock:46},{numBlocks:32,dataCodewordsPerBlock:47}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:48,dataCodewordsPerBlock:24},{numBlocks:14,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:42,dataCodewordsPerBlock:15},{numBlocks:32,dataCodewordsPerBlock:16}]}]},{infoBits:161089,versionNumber:39,alignmentPatternCenters:[6,26,54,82,110,138,166],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:20,dataCodewordsPerBlock:117},{numBlocks:4,dataCodewordsPerBlock:118}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:40,dataCodewordsPerBlock:47},{numBlocks:7,dataCodewordsPerBlock:48}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:43,dataCodewordsPerBlock:24},{numBlocks:22,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:10,dataCodewordsPerBlock:15},{numBlocks:67,dataCodewordsPerBlock:16}]}]},{infoBits:167017,versionNumber:40,alignmentPatternCenters:[6,30,58,86,114,142,170],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:19,dataCodewordsPerBlock:118},{numBlocks:6,dataCodewordsPerBlock:119}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:18,dataCodewordsPerBlock:47},{numBlocks:31,dataCodewordsPerBlock:48}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:34,dataCodewordsPerBlock:24},{numBlocks:34,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:20,dataCodewordsPerBlock:15},{numBlocks:61,dataCodewordsPerBlock:16}]}]}]}),(function(a,i,s){Object.defineProperty(i,"__esModule",{value:!0});var x=s(0);function u(E,p,y,C){var A=E.x-p.x+y.x-C.x,b=E.y-p.y+y.y-C.y;if(A===0&&b===0)return{a11:p.x-E.x,a12:p.y-E.y,a13:0,a21:y.x-p.x,a22:y.y-p.y,a23:0,a31:E.x,a32:E.y,a33:1};var D=p.x-y.x,F=C.x-y.x,O=p.y-y.y,w=C.y-y.y,_=D*w-F*O,R=(A*w-F*b)/_,k=(D*b-A*O)/_;return{a11:p.x-E.x+R*p.x,a12:p.y-E.y+R*p.y,a13:R,a21:C.x-E.x+k*C.x,a22:C.y-E.y+k*C.y,a23:k,a31:E.x,a32:E.y,a33:1}}function f(E,p,y,C){var A=u(E,p,y,C);return{a11:A.a22*A.a33-A.a23*A.a32,a12:A.a13*A.a32-A.a12*A.a33,a13:A.a12*A.a23-A.a13*A.a22,a21:A.a23*A.a31-A.a21*A.a33,a22:A.a11*A.a33-A.a13*A.a31,a23:A.a13*A.a21-A.a11*A.a23,a31:A.a21*A.a32-A.a22*A.a31,a32:A.a12*A.a31-A.a11*A.a32,a33:A.a11*A.a22-A.a12*A.a21}}function d(E,p){return{a11:E.a11*p.a11+E.a21*p.a12+E.a31*p.a13,a12:E.a12*p.a11+E.a22*p.a12+E.a32*p.a13,a13:E.a13*p.a11+E.a23*p.a12+E.a33*p.a13,a21:E.a11*p.a21+E.a21*p.a22+E.a31*p.a23,a22:E.a12*p.a21+E.a22*p.a22+E.a32*p.a23,a23:E.a13*p.a21+E.a23*p.a22+E.a33*p.a23,a31:E.a11*p.a31+E.a21*p.a32+E.a31*p.a33,a32:E.a12*p.a31+E.a22*p.a32+E.a32*p.a33,a33:E.a13*p.a31+E.a23*p.a32+E.a33*p.a33}}function h(E,p){for(var y=f({x:3.5,y:3.5},{x:p.dimension-3.5,y:3.5},{x:p.dimension-6.5,y:p.dimension-6.5},{x:3.5,y:p.dimension-3.5}),C=u(p.topLeft,p.topRight,p.alignmentPattern,p.bottomLeft),A=d(C,y),b=x.BitMatrix.createEmpty(p.dimension,p.dimension),D=function(k,T){var S=A.a13*k+A.a23*T+A.a33;return{x:(A.a11*k+A.a21*T+A.a31)/S,y:(A.a12*k+A.a22*T+A.a32)/S}},F=0;F<p.dimension;F++)for(var O=0;O<p.dimension;O++){var w=O+.5,_=F+.5,R=D(w,_);b.set(O,F,E.get(Math.floor(R.x),Math.floor(R.y)))}return{matrix:b,mappingFunction:D}}i.extract=h}),(function(a,i,s){Object.defineProperty(i,"__esModule",{value:!0});var x=4,u=.5,f=1.5,d=function(w,_){return Math.sqrt(Math.pow(_.x-w.x,2)+Math.pow(_.y-w.y,2))};function h(w){return w.reduce(function(_,R){return _+R})}function E(w,_,R){var k,T,S,q,L=d(w,_),X=d(_,R),K=d(w,R),ie,Z,$;return X>=L&&X>=K?(k=[_,w,R],ie=k[0],Z=k[1],$=k[2]):K>=X&&K>=L?(T=[w,_,R],ie=T[0],Z=T[1],$=T[2]):(S=[w,R,_],ie=S[0],Z=S[1],$=S[2]),($.x-Z.x)*(ie.y-Z.y)-($.y-Z.y)*(ie.x-Z.x)<0&&(q=[$,ie],ie=q[0],$=q[1]),{bottomLeft:ie,topLeft:Z,topRight:$}}function p(w,_,R,k){var T=(h(C(w,R,k,5))/7+h(C(w,_,k,5))/7+h(C(R,w,k,5))/7+h(C(_,w,k,5))/7)/4;if(T<1)throw new Error("Invalid module size");var S=Math.round(d(w,_)/T),q=Math.round(d(w,R)/T),L=Math.floor((S+q)/2)+7;switch(L%4){case 0:L++;break;case 2:L--;break}return{dimension:L,moduleSize:T}}function y(w,_,R,k){var T=[{x:Math.floor(w.x),y:Math.floor(w.y)}],S=Math.abs(_.y-w.y)>Math.abs(_.x-w.x),q,L,X,K;S?(q=Math.floor(w.y),L=Math.floor(w.x),X=Math.floor(_.y),K=Math.floor(_.x)):(q=Math.floor(w.x),L=Math.floor(w.y),X=Math.floor(_.x),K=Math.floor(_.y));for(var ie=Math.abs(X-q),Z=Math.abs(K-L),$=Math.floor(-ie/2),P=q<X?1:-1,Y=L<K?1:-1,oe=!0,fe=q,M=L;fe!==X+P;fe+=P){var j=S?M:fe,W=S?fe:M;if(R.get(j,W)!==oe&&(oe=!oe,T.push({x:j,y:W}),T.length===k+1))break;if($+=Z,$>0){if(M===K)break;M+=Y,$-=ie}}for(var N=[],ae=0;ae<k;ae++)T[ae]&&T[ae+1]?N.push(d(T[ae],T[ae+1])):N.push(0);return N}function C(w,_,R,k){var T,S=_.y-w.y,q=_.x-w.x,L=y(w,_,R,Math.ceil(k/2)),X=y(w,{x:w.x-q,y:w.y-S},R,Math.ceil(k/2)),K=L.shift()+X.shift()-1;return(T=X.concat(K)).concat.apply(T,L)}function A(w,_){var R=h(w)/h(_),k=0;return _.forEach(function(T,S){k+=Math.pow(w[S]-T*R,2)}),{averageSize:R,error:k}}function b(w,_,R){try{var k=C(w,{x:-1,y:w.y},R,_.length),T=C(w,{x:w.x,y:-1},R,_.length),S={x:Math.max(0,w.x-w.y)-1,y:Math.max(0,w.y-w.x)-1},q=C(w,S,R,_.length),L={x:Math.min(R.width,w.x+w.y)+1,y:Math.min(R.height,w.y+w.x)+1},X=C(w,L,R,_.length),K=A(k,_),ie=A(T,_),Z=A(q,_),$=A(X,_),P=Math.sqrt(K.error*K.error+ie.error*ie.error+Z.error*Z.error+$.error*$.error),Y=(K.averageSize+ie.averageSize+Z.averageSize+$.averageSize)/4,oe=(Math.pow(K.averageSize-Y,2)+Math.pow(ie.averageSize-Y,2)+Math.pow(Z.averageSize-Y,2)+Math.pow($.averageSize-Y,2))/Y;return P+oe}catch{return 1/0}}function D(w,_){for(var R=Math.round(_.x);w.get(R,Math.round(_.y));)R--;for(var k=Math.round(_.x);w.get(k,Math.round(_.y));)k++;for(var T=(R+k)/2,S=Math.round(_.y);w.get(Math.round(T),S);)S--;for(var q=Math.round(_.y);w.get(Math.round(T),q);)q++;var L=(S+q)/2;return{x:T,y:L}}function F(w){for(var _=[],R=[],k=[],T=[],S=function(j){for(var W=0,N=!1,ae=[0,0,0,0,0],ce=function(Ee){var Pe=w.get(Ee,j);if(Pe===N)W++;else{ae=[ae[1],ae[2],ae[3],ae[4],W],W=1,N=Pe;var Ce=h(ae)/7,Bt=Math.abs(ae[0]-Ce)<Ce&&Math.abs(ae[1]-Ce)<Ce&&Math.abs(ae[2]-3*Ce)<3*Ce&&Math.abs(ae[3]-Ce)<Ce&&Math.abs(ae[4]-Ce)<Ce&&!Pe,ot=h(ae.slice(-3))/3,fn=Math.abs(ae[2]-ot)<ot&&Math.abs(ae[3]-ot)<ot&&Math.abs(ae[4]-ot)<ot&&Pe;if(Bt){var Zt=Ee-ae[3]-ae[4],ut=Zt-ae[2],Pt={startX:ut,endX:Zt,y:j},dn=R.filter(function(At){return ut>=At.bottom.startX&&ut<=At.bottom.endX||Zt>=At.bottom.startX&&ut<=At.bottom.endX||ut<=At.bottom.startX&&Zt>=At.bottom.endX&&ae[2]/(At.bottom.endX-At.bottom.startX)<f&&ae[2]/(At.bottom.endX-At.bottom.startX)>u});dn.length>0?dn[0].bottom=Pt:R.push({top:Pt,bottom:Pt})}if(fn){var $n=Ee-ae[4],jn=$n-ae[3],Pt={startX:jn,y:j,endX:$n},dn=T.filter(function(St){return jn>=St.bottom.startX&&jn<=St.bottom.endX||$n>=St.bottom.startX&&jn<=St.bottom.endX||jn<=St.bottom.startX&&$n>=St.bottom.endX&&ae[2]/(St.bottom.endX-St.bottom.startX)<f&&ae[2]/(St.bottom.endX-St.bottom.startX)>u});dn.length>0?dn[0].bottom=Pt:T.push({top:Pt,bottom:Pt})}}},xe=-1;xe<=w.width;xe++)ce(xe);_.push.apply(_,R.filter(function(Ee){return Ee.bottom.y!==j&&Ee.bottom.y-Ee.top.y>=2})),R=R.filter(function(Ee){return Ee.bottom.y===j}),k.push.apply(k,T.filter(function(Ee){return Ee.bottom.y!==j})),T=T.filter(function(Ee){return Ee.bottom.y===j})},q=0;q<=w.height;q++)S(q);_.push.apply(_,R.filter(function(j){return j.bottom.y-j.top.y>=2})),k.push.apply(k,T);var L=_.filter(function(j){return j.bottom.y-j.top.y>=2}).map(function(j){var W=(j.top.startX+j.top.endX+j.bottom.startX+j.bottom.endX)/4,N=(j.top.y+j.bottom.y+1)/2;if(w.get(Math.round(W),Math.round(N))){var ae=[j.top.endX-j.top.startX,j.bottom.endX-j.bottom.startX,j.bottom.y-j.top.y+1],ce=h(ae)/ae.length,xe=b({x:Math.round(W),y:Math.round(N)},[1,1,3,1,1],w);return{score:xe,x:W,y:N,size:ce}}}).filter(function(j){return!!j}).sort(function(j,W){return j.score-W.score}).map(function(j,W,N){if(W>x)return null;var ae=N.filter(function(xe,Ee){return W!==Ee}).map(function(xe){return{x:xe.x,y:xe.y,score:xe.score+Math.pow(xe.size-j.size,2)/j.size,size:xe.size}}).sort(function(xe,Ee){return xe.score-Ee.score});if(ae.length<2)return null;var ce=j.score+ae[0].score+ae[1].score;return{points:[j].concat(ae.slice(0,2)),score:ce}}).filter(function(j){return!!j}).sort(function(j,W){return j.score-W.score});if(L.length===0)return null;var X=E(L[0].points[0],L[0].points[1],L[0].points[2]),K=X.topRight,ie=X.topLeft,Z=X.bottomLeft,$=O(w,k,K,ie,Z),P=[];$&&P.push({alignmentPattern:{x:$.alignmentPattern.x,y:$.alignmentPattern.y},bottomLeft:{x:Z.x,y:Z.y},dimension:$.dimension,topLeft:{x:ie.x,y:ie.y},topRight:{x:K.x,y:K.y}});var Y=D(w,K),oe=D(w,ie),fe=D(w,Z),M=O(w,k,Y,oe,fe);return M&&P.push({alignmentPattern:{x:M.alignmentPattern.x,y:M.alignmentPattern.y},bottomLeft:{x:fe.x,y:fe.y},topLeft:{x:oe.x,y:oe.y},topRight:{x:Y.x,y:Y.y},dimension:M.dimension}),P.length===0?null:P}i.locate=F;function O(w,_,R,k,T){var S,q,L;try{S=p(k,R,T,w),q=S.dimension,L=S.moduleSize}catch{return null}var X={x:R.x-k.x+T.x,y:R.y-k.y+T.y},K=(d(k,T)+d(k,R))/2/L,ie=1-3/K,Z={x:k.x+ie*(X.x-k.x),y:k.y+ie*(X.y-k.y)},$=_.map(function(Y){var oe=(Y.top.startX+Y.top.endX+Y.bottom.startX+Y.bottom.endX)/4,fe=(Y.top.y+Y.bottom.y+1)/2;if(w.get(Math.floor(oe),Math.floor(fe))){var M=[Y.top.endX-Y.top.startX,Y.bottom.endX-Y.bottom.startX,Y.bottom.y-Y.top.y+1];h(M)/M.length;var j=b({x:Math.floor(oe),y:Math.floor(fe)},[1,1,1],w),W=j+d({x:oe,y:fe},Z);return{x:oe,y:fe,score:W}}}).filter(function(Y){return!!Y}).sort(function(Y,oe){return Y.score-oe.score}),P=K>=15&&$.length?$[0]:Z;return{alignmentPattern:P,dimension:q}}})]).default})})(go)),go.exports}var g_=y_();const B_=zo(g_);function A_({onResult:e,onClose:r}){const a=z.useRef(null),[i,s]=z.useState(null);return z.useEffect(()=>{let x=null,u=0,f=!1;const d=document.createElement("canvas"),h=d.getContext("2d",{willReadFrequently:!0}),E=()=>{const p=a.current;if(!(f||!p||!h)){if(p.readyState>=p.HAVE_ENOUGH_DATA&&p.videoWidth){d.width=p.videoWidth,d.height=p.videoHeight,h.drawImage(p,0,0,d.width,d.height);const{data:y,width:C,height:A}=h.getImageData(0,0,d.width,d.height),b=B_(y,C,A,{inversionAttempts:"dontInvert"});if(b?.data){f=!0,e(b.data);return}}u=requestAnimationFrame(E)}};return navigator.mediaDevices?.getUserMedia({video:{facingMode:"environment"}}).then(p=>{if(f){for(const C of p.getTracks())C.stop();return}x=p;const y=a.current;y&&(y.srcObject=p,y.play(),u=requestAnimationFrame(E))}).catch(p=>s(b_(p))),()=>{if(f=!0,cancelAnimationFrame(u),x)for(const p of x.getTracks())p.stop()}},[e]),g.jsxs("div",{className:"fixed inset-0 z-[60] bg-black",children:[g.jsx("video",{ref:a,muted:!0,playsInline:!0,className:"h-full w-full object-cover"}),g.jsx("div",{className:"pointer-events-none absolute inset-0 grid place-items-center",children:g.jsx("div",{className:"size-60 max-w-[70vw] rounded-3xl border-2 border-white/80 shadow-[0_0_0_100vmax_rgba(0,0,0,0.5)]"})}),g.jsxs("div",{className:"pt-safe absolute inset-x-0 top-0 flex items-center justify-between p-4",children:[g.jsx("span",{className:"rounded-full bg-black/50 px-3 py-1 text-sm text-white",children:"Point at the relay QR"}),g.jsx("button",{type:"button",onClick:r,"aria-label":"Cancel scan",className:"flex size-9 items-center justify-center rounded-full bg-black/50 text-white active:bg-black/70",children:g.jsx(yr,{size:20})})]}),i?g.jsx("div",{className:"pb-safe absolute inset-x-0 bottom-0 bg-black/75 p-4 text-center text-sm leading-relaxed text-white",children:i}):null]})}function b_(e){const r=e instanceof DOMException?e.name:"";return r==="NotAllowedError"?"Camera permission denied. Allow camera access, or paste the token instead.":r==="NotFoundError"||r==="OverconstrainedError"?"No camera found — paste the token instead.":window.isSecureContext?`Camera unavailable (${e instanceof Error?e.message:String(e)}). Paste the token instead.`:"The camera needs HTTPS. Open the relay’s https:// URL, or paste the token."}function D_(){const e=ke(h=>h.setToken),[r,a]=z.useState(""),[i,s]=z.useState(!1),[x,u]=z.useState(!1),f=h=>{const E=eb(h);u(!1),E?e(E):s(!0)},d=h=>{h.preventDefault(),f(r)};return x?g.jsx(A_,{onResult:f,onClose:()=>u(!1)}):g.jsxs("div",{className:"pt-safe pb-safe flex h-full flex-col items-center justify-center gap-5 overflow-y-auto px-8 text-center",children:[g.jsx("img",{src:"/icon.svg",alt:"",className:"size-20 rounded-3xl"}),g.jsxs("div",{children:[g.jsx("h1",{className:"text-xl font-semibold",children:"Conductor Remote"}),g.jsx("p",{className:"mt-1 text-sm text-muted",children:"Phone control panel for your local agents"})]}),g.jsxs("p",{className:"max-w-xs text-sm leading-relaxed text-muted",children:["Open the URL the relay printed on startup — it carries your access token (",g.jsx("span",{className:"font-mono text-faint",children:"/#token=…"}),"). Then use"," ",g.jsx("b",{className:"text-text",children:"Add to Home Screen"})," to install it."]}),g.jsxs("form",{onSubmit:d,className:"flex w-full max-w-xs flex-col gap-2",children:[g.jsx("input",{type:"text",inputMode:"text",autoCapitalize:"none",autoCorrect:"off",spellCheck:!1,value:r,onChange:h=>{a(h.target.value),s(!1)},placeholder:"Paste token or URL","aria-label":"Access token or URL",className:"rounded-xl border border-border bg-surface-2 px-3 py-2.5 text-center font-mono text-base text-text placeholder:font-sans placeholder:text-faint"}),g.jsx("button",{type:"submit",className:"pill pill-active justify-center py-2.5",children:"Connect"}),g.jsxs("button",{type:"button",onClick:()=>{s(!1),u(!0)},className:"pill justify-center gap-2 py-2.5",children:[g.jsx(k2,{size:16}),"Scan QR"]}),i?g.jsx("p",{className:"text-xs",style:{color:"var(--color-del)"},children:"Couldn’t find a token in that — paste the token or the full URL, or scan the QR."}):null]}),g.jsxs("p",{className:"max-w-xs text-xs leading-relaxed text-faint",children:["Lost it? Run ",g.jsx("span",{className:"font-mono",children:"yarn service status"})," on your Mac to reprint the QR, then scan it above — no need to retype anything."]})]})}var $o=Z8();const _l=new Uint8Array(512),sc=new Uint8Array(256);let El=1;for(let e=0;e<255;e++)_l[e]=El,sc[El]=e,El<<=1,El&256&&(El^=285);for(let e=255;e<512;e++)_l[e]=_l[e-255];function vm(e,r){return e===0||r===0?0:_l[sc[e]+sc[r]]}function v_(e){let r=[1];for(let a=0;a<e;a++){const i=new Array(r.length+1).fill(0);for(let s=0;s<r.length;s++)i[s]^=r[s],i[s+1]^=vm(r[s],_l[a]);r=i}return r}function k_(e,r){const a=v_(r),i=new Array(r).fill(0);for(const s of e){const x=s^i[0];if(i.shift(),i.push(0),x!==0)for(let u=0;u<r;u++)i[u]^=vm(a[u+1],x)}return i}const Kc={1:{align:[],ec:10,groups:[[1,16]]},2:{align:[6,18],ec:16,groups:[[1,28]]},3:{align:[6,22],ec:26,groups:[[1,44]]},4:{align:[6,26],ec:18,groups:[[2,32]]},5:{align:[6,30],ec:24,groups:[[2,43]]},6:{align:[6,34],ec:16,groups:[[4,27]]},7:{align:[6,22,38],ec:18,groups:[[4,31]]},8:{align:[6,24,42],ec:22,groups:[[2,38],[2,39]]},9:{align:[6,26,46],ec:22,groups:[[3,36],[2,37]]},10:{align:[6,28,50],ec:26,groups:[[4,43],[1,44]]}};function O8(e){return Kc[e].groups.reduce((r,[a,i])=>r+a*i,0)}function L8(e){return e<=9?8:16}function Cl(e,r,a){for(let i=a-1;i>=0;i--)e.push(r>>i&1)}function F_(e){const r=Array.from(new TextEncoder().encode(e));let a=0;for(let A=1;A<=10;A++)if(4+L8(A)+8*r.length<=O8(A)*8){a=A;break}if(a===0)throw new Error(`data too long for a v1–10 QR (${r.length} bytes)`);const i=O8(a)*8,s=[];Cl(s,4,4),Cl(s,r.length,L8(a));for(const A of r)Cl(s,A,8);for(let A=0,b=Math.min(4,i-s.length);A<b;A++)s.push(0);for(;s.length%8!==0;)s.push(0);const x=[236,17];for(let A=0;s.length<i;A++)Cl(s,x[A%2],8);const u=[];for(let A=0;A<s.length;A+=8){let b=0;for(let D=0;D<8;D++)b=b<<1|s[A+D];u.push(b)}const{ec:f,groups:d}=Kc[a],h=[];let E=0;for(const[A,b]of d)for(let D=0;D<A;D++){const F=u.slice(E,E+b);E+=b,h.push({data:F,ec:k_(F,f)})}const p=[],y=Math.max(...h.map(A=>A.data.length));for(let A=0;A<y;A++)for(const b of h)A<b.data.length&&p.push(b.data[A]);for(let A=0;A<f;A++)for(const b of h)p.push(b.ec[A]);const C=[];for(const A of p)Cl(C,A,8);return{version:a,bits:C}}function w_(e,r){const a=e*4+17,i=Array.from({length:a},()=>new Array(a).fill(!1)),s=Array.from({length:a},()=>new Array(a).fill(!1)),x=(p,y)=>{for(let C=-1;C<=7;C++)for(let A=-1;A<=7;A++){const b=p+C,D=y+A;if(b<0||b>=a||D<0||D>=a)continue;const F=C>=0&&C<=6&&(A===0||A===6)||A>=0&&A<=6&&(C===0||C===6),O=C>=2&&C<=4&&A>=2&&A<=4;i[b][D]=F||O,s[b][D]=!0}};x(0,0),x(0,a-7),x(a-7,0);for(let p=8;p<a-8;p++){const y=p%2===0;s[6][p]||(i[6][p]=y,s[6][p]=!0),s[p][6]||(i[p][6]=y,s[p][6]=!0)}const u=Kc[e].align;for(let p=0;p<u.length;p++)for(let y=0;y<u.length;y++){if(p===0&&y===0||p===0&&y===u.length-1||p===u.length-1&&y===0)continue;const A=u[p],b=u[y];for(let D=-2;D<=2;D++)for(let F=-2;F<=2;F++)i[A+D][b+F]=Math.max(Math.abs(D),Math.abs(F))!==1,s[A+D][b+F]=!0}for(let p=0;p<=8;p++)p!==6&&(s[8][p]=!0,s[p][8]=!0);for(let p=0;p<8;p++)s[8][a-1-p]=!0,s[a-1-p][8]=!0;if(s[a-8][8]=!0,e>=7)for(let p=0;p<18;p++){const y=a-11+p%3,C=Math.floor(p/3);s[C][y]=!0,s[y][C]=!0}let f=0,d=!0;for(let p=a-1;p>0;p-=2){p===6&&p--;for(let y=0;y<a;y++){const C=d?a-1-y:y;for(let A=0;A<2;A++){const b=p-A;s[C][b]||(i[C][b]=f<r.length?r[f]===1:!1,f++)}}d=!d}e>=7&&N_(i,e,a);let h=null,E=Number.POSITIVE_INFINITY;for(let p=0;p<8;p++){const y=i.map(A=>A.slice());for(let A=0;A<a;A++)for(let b=0;b<a;b++)!s[A][b]&&S_(p,A,b)&&(y[A][b]=!y[A][b]);M_(y,p,a);const C=__(y);C<E&&(E=C,h=y)}return h}function S_(e,r,a){switch(e){case 0:return(r+a)%2===0;case 1:return r%2===0;case 2:return a%3===0;case 3:return(r+a)%3===0;case 4:return(Math.floor(r/2)+Math.floor(a/3))%2===0;case 5:return r*a%2+r*a%3===0;case 6:return(r*a%2+r*a%3)%2===0;default:return((r+a)%2+r*a%3)%2===0}}function M_(e,r,a){const i=0|r;let s=i;for(let f=0;f<10;f++)s=s<<1^(s>>9&1?1335:0);const x=((i<<10|s&1023)^21522)&32767,u=f=>(x>>f&1)===1;for(let f=0;f<=5;f++)e[f][8]=u(f);e[7][8]=u(6),e[8][8]=u(7),e[8][7]=u(8);for(let f=9;f<15;f++)e[8][14-f]=u(f);for(let f=0;f<8;f++)e[8][a-1-f]=u(f);for(let f=8;f<15;f++)e[a-15+f][8]=u(f);e[a-8][8]=!0}function N_(e,r,a){let i=r;for(let x=0;x<12;x++)i=i<<1^(i>>11&1?7973:0);const s=r<<12|i&4095;for(let x=0;x<18;x++){const u=(s>>x&1)===1,f=a-11+x%3,d=Math.floor(x/3);e[d][f]=u,e[f][d]=u}}function __(e){const r=e.length;let a=0;const i=d=>{let h=d(0),E=1;for(let p=1;p<r;p++)d(p)===h?E++:(E>=5&&(a+=E-2),h=d(p),E=1);E>=5&&(a+=E-2)};for(let d=0;d<r;d++)i(h=>e[d][h]);for(let d=0;d<r;d++)i(h=>e[h][d]);for(let d=0;d<r-1;d++)for(let h=0;h<r-1;h++){const E=e[d][h];E===e[d][h+1]&&E===e[d+1][h]&&E===e[d+1][h+1]&&(a+=3)}const s=[!0,!1,!0,!0,!0,!1,!0,!1,!1,!1,!1],x=[!1,!1,!1,!1,!0,!1,!0,!0,!0,!1,!0],u=(d,h,E)=>{for(let p=0;p<11;p++)if(d(h+p)!==E[p])return!1;return!0};for(let d=0;d<r;d++)for(let h=0;h<=r-11;h++)(u(E=>e[d][E],h,s)||u(E=>e[d][E],h,x))&&(a+=40);for(let d=0;d<r;d++)for(let h=0;h<=r-11;h++)(u(E=>e[E][d],h,s)||u(E=>e[E][d],h,x))&&(a+=40);let f=0;for(let d=0;d<r;d++)for(let h=0;h<r;h++)e[d][h]&&f++;return a+=Math.floor(Math.abs(f/(r*r)*100-50)/5)*10,a}function T_(e){const{version:r,bits:a}=F_(e);return w_(r,a)}function z_({text:e,size:r=220,className:a}){const i=T_(e),s=i.length,x=4,u=s+x*2;let f="";for(let d=0;d<s;d++)for(let h=0;h<s;h++)i[d][h]&&(f+=`M${h+x} ${d+x}h1v1h-1z`);return g.jsxs("svg",{width:r,height:r,viewBox:`0 0 ${u} ${u}`,shapeRendering:"crispEdges",className:a,role:"img","aria-label":"QR code",children:[g.jsx("title",{children:"QR code"}),g.jsx("rect",{width:u,height:u,fill:"#fff"}),g.jsx("path",{d:f,fill:"#000"})]})}function j_({version:e,onLogs:r,onClose:a}){const i=ke(y=>y.token),s=ke(y=>y.setToken),[x,u]=z.useState(!1),[f,d]=z.useState(!1),h=i?`${location.origin}/#token=${i}`:location.origin,E=!!e&&e!=="1.46.2",p=async()=>{try{await navigator.clipboard.writeText(h),u(!0),setTimeout(()=>u(!1),1500)}catch{}};return $o.createPortal(g.jsxs(g.Fragment,{children:[g.jsx("div",{className:"fixed inset-0 z-50 bg-black/60",onClick:a,"aria-hidden":!0}),g.jsxs("div",{role:"dialog","aria-modal":"true","aria-label":"Connect a device",className:"fade-in pb-safe fixed inset-x-0 bottom-0 z-50 mx-auto flex max-h-[85dvh] max-w-sm flex-col items-center gap-4 rounded-t-3xl border border-border-soft bg-surface p-5 shadow-xl md:inset-0 md:m-auto md:h-fit md:rounded-3xl",children:[g.jsxs("div",{className:"flex w-full shrink-0 items-center justify-between",children:[g.jsx("h2",{className:"text-base font-semibold",children:"Connect a device"}),g.jsxs("div",{className:"flex shrink-0 items-center gap-1",children:[g.jsx("button",{type:"button",onClick:()=>d(y=>!y),"aria-label":"Disconnect","aria-expanded":f,title:"Disconnect",className:be("flex size-8 items-center justify-center rounded-full active:bg-surface-2",f?"bg-del/15 text-del":"text-del/80"),children:g.jsx(rg,{size:17})}),g.jsx("button",{type:"button",onClick:a,"aria-label":"Close",className:"flex size-8 items-center justify-center rounded-full text-muted active:bg-surface-2",children:g.jsx(yr,{size:18})})]})]}),f?g.jsxs("div",{className:"fade-in w-full shrink-0 rounded-xl border border-del/40 bg-del/10 px-3 py-2.5 text-left",children:[g.jsx("p",{className:"text-sm font-medium",children:"Disconnect this device?"}),g.jsx("p",{className:"mt-1 text-xs text-muted",children:"This forgets your access token. To get back in you’ll need the link or QR from the Mac running the relay — this screen can’t show it to you again."}),g.jsxs("div",{className:"mt-2.5 flex gap-2",children:[g.jsx("button",{type:"button",onClick:()=>d(!1),className:"flex-1 rounded-lg border border-border bg-surface-2 px-3 py-2 text-sm active:bg-surface",children:"Cancel"}),g.jsx("button",{type:"button",onClick:()=>s(null),className:"flex-1 rounded-lg bg-del px-3 py-2 text-sm font-semibold text-black active:opacity-80",children:"Disconnect"})]})]}):null,g.jsxs("div",{className:"flex w-full min-h-0 flex-1 flex-col items-center gap-4 overflow-y-auto overscroll-contain",children:[g.jsx("p",{className:"text-center text-sm text-muted",children:"Scan on another phone, or re-add this to your home screen. The link carries your access token."}),g.jsx("div",{className:"shrink-0 rounded-2xl bg-white p-3",children:g.jsx(z_,{text:h,size:216})}),g.jsxs("button",{type:"button",onClick:p,className:"flex w-full shrink-0 items-center justify-center gap-2 rounded-xl border border-border bg-surface-2 px-3 py-2.5 text-sm active:bg-surface",children:[x?g.jsx(pr,{size:16}):g.jsx(b2,{size:16}),x?"Copied":"Copy link"]}),g.jsx(R_,{}),g.jsx(P_,{}),g.jsxs("div",{className:"flex w-full items-center justify-between text-xs text-faint",children:[g.jsxs("span",{className:"font-mono",children:[e?`relay v${e}`:"relay v?"," · ",g.jsxs("span",{className:E?"text-working":void 0,children:["app v","1.46.2"]}),E?" · update pending":""]}),g.jsx("button",{type:"button",onClick:r,className:"shrink-0 text-muted underline-offset-2 hover:underline",children:"Logs"})]})]})]})]}),document.body)}function R_(){const e=Ib(),r=e.permission==="denied",a=e.support!=="ok"||e.relayDisabled,i=e.relayDisabled?"Turned off on the relay (PUSH_NOTIFY=off).":e.support==="needs-install"?"Add this to your Home Screen first — iOS only allows notifications for installed apps.":e.support==="insecure"?"Needs a secure connection — open the app on its https:// Tailscale URL.":e.support==="unsupported"?"This browser can’t receive push notifications.":r?"Blocked for this app — allow notifications in your device settings, then come back.":e.enabled?`On for this device${e.devices>1?` · ${e.devices} devices subscribed`:""}.`:"Get a ping when an agent finishes its turn or hits an error.";return g.jsxs("div",{className:"w-full shrink-0 rounded-xl border border-border bg-surface-2 px-3 py-2.5",children:[g.jsxs("div",{className:"flex items-center justify-between gap-3",children:[g.jsxs("div",{className:"flex min-w-0 items-center gap-2 text-sm",children:[g.jsx(A2,{size:16,className:be("shrink-0",e.enabled?"text-accent":"text-muted")}),g.jsx("span",{children:"Notifications"})]}),g.jsx("button",{type:"button",role:"switch","aria-checked":e.enabled,"aria-label":"Notifications on this device",disabled:a||r||e.busy,onClick:()=>{e.enabled?e.disable():e.enable()},className:be("relative h-6 w-11 shrink-0 rounded-full transition-colors",e.enabled?"bg-accent":"border border-border bg-surface",(a||r||e.busy)&&"opacity-40"),children:g.jsx("span",{className:be("absolute left-0.5 top-0.5 size-5 rounded-full bg-white transition-transform",e.enabled?"translate-x-5":"translate-x-0")})})]}),g.jsx("p",{className:"mt-1 text-xs text-muted",children:i}),e.error?g.jsx("p",{className:"mt-1 text-xs text-del",children:e.error}):null,e.enabled?g.jsx("button",{type:"button",onClick:()=>{e.test()},disabled:e.busy,className:"mt-1.5 text-xs text-muted underline-offset-2 hover:underline disabled:opacity-50",children:"Send a test notification"}):null]})}const O_=[{label:"1h",seconds:3600},{label:"4h",seconds:4*3600},{label:"8h",seconds:8*3600}];function L_(e){if(!e)return"until you turn it off";const r=new Date(e),a=r.toDateString()===new Date().toDateString(),i=r.toLocaleTimeString([],{hour:"2-digit",minute:"2-digit"});return a?`until ${i}`:`until ${r.toLocaleDateString([],{weekday:"short"})} ${i}`}function P_(){const[e,r]=z.useState(null),[a,i]=z.useState(!1),[s,x]=z.useState(null),[u,f]=z.useState(!1),d=z.useCallback(async()=>{try{r(await Ie.settings()),x(null)}catch(C){x(C instanceof Error?C.message:String(C))}},[]);z.useEffect(()=>{d()},[d]);const h=async C=>{i(!0),x(null);try{await C(),await d()}catch(A){x(A instanceof Error?A.message:String(A))}finally{i(!1)}},E=e?.nosleep,p=e?.wifi.known??[],y=e?.settings.fallbackSsids[0]??"";return g.jsxs("div",{className:"flex w-full shrink-0 flex-col gap-2.5 rounded-xl border border-border bg-surface-2 px-3 py-2.5",children:[g.jsxs("div",{className:"flex items-center justify-between gap-3",children:[g.jsxs("div",{className:"flex min-w-0 items-center gap-2 text-sm",children:[g.jsx(w2,{size:16,className:be("shrink-0",E?.armed?"text-accent":"text-muted")}),g.jsx("span",{children:"Keep the Mac awake"})]}),E?.armed?g.jsx("button",{type:"button",disabled:a,onClick:()=>{h(async()=>{const C=await Ie.disarmNoSleep();f(C.willSleep===!0)})},className:"shrink-0 rounded-lg border border-border px-2.5 py-1 text-xs active:bg-surface disabled:opacity-50",children:"Let it sleep"}):g.jsx("div",{className:"flex shrink-0 gap-1",children:O_.map(C=>g.jsx("button",{type:"button",disabled:a||!E?.available,onClick:()=>{h(()=>(f(!1),Ie.armNoSleep(C.seconds)))},className:"rounded-lg border border-border px-2.5 py-1 text-xs active:bg-surface disabled:opacity-40",children:C.label},C.seconds))})]}),g.jsx("p",{className:"text-xs text-muted",children:e?E?.available?E.armed?`Awake ${L_(E.until)}, lid closed. Sends still park until you unlock.`:u?"The lid is shut, so the Mac is going to sleep now — this app will be unreachable until you wake it.":"Stops the Mac sleeping when you shut the lid. Reads and notifications keep working; sends park until you unlock.":"Run `conductor-remote nosleep setup` on the Mac once to enable this.":"Checking…"}),g.jsxs("div",{className:"border-t border-border pt-2.5",children:[g.jsxs("div",{className:"flex items-center justify-between gap-3",children:[g.jsxs("div",{className:"flex min-w-0 items-center gap-2 text-sm",children:[g.jsx(S2,{size:16,className:be("shrink-0",e?.settings.autoRejoin?"text-accent":"text-muted")}),g.jsx("span",{children:"Fallback network"})]}),y?g.jsx("button",{type:"button",disabled:a,onClick:()=>{h(()=>Ie.patchSettings({fallbackSsids:[],autoRejoin:!1}))},className:"shrink-0 rounded-lg border border-border px-2.5 py-1 text-xs active:bg-surface disabled:opacity-50",children:"Turn off"}):null]}),y?g.jsxs("p",{className:"mt-1 text-xs text-muted",children:["If the Mac loses its connection it joins ",g.jsx("span",{className:"text-fg",children:y})," and re-registers."]}):g.jsx(U_,{known:p,hotspots:e?.wifi.likelyHotspots??[],busy:a,onPick:C=>{h(()=>Ie.patchSettings({fallbackSsids:[C],autoRejoin:!0}))}}),e?.wifi.autoJoinHotspot==="Never"?g.jsx("p",{className:"mt-1 text-xs text-faint",children:"Auto-join Hotspot is off on this Mac (System Settings ▸ Wi-Fi). Your hotspot has to be on and broadcasting before the Mac can join it."}):null]}),s?g.jsx("p",{className:"text-xs text-del",children:s}):null]})}function U_({known:e,hotspots:r,busy:a,onPick:i}){const[s,x]=z.useState("");if(e.length===0)return g.jsx("p",{className:"mt-1 text-xs text-muted",children:"No saved Wi-Fi networks to offer."});const u=new Set(r),f=s.trim().toLowerCase(),d=e.filter(p=>!f||p.toLowerCase().includes(f)),h=d.find(p=>u.has(p)),E=(h?[h,...d.filter(p=>p!==h)]:d).slice(0,6);return g.jsxs(g.Fragment,{children:[g.jsx("p",{className:"mt-1 text-xs text-muted",children:"Turn your hotspot on before you leave, and the Mac can move to it if the office Wi-Fi drops."}),g.jsx("input",{type:"search",value:s,disabled:a,onChange:p=>x(p.target.value),placeholder:`Search ${e.length} saved networks`,className:"mt-2 w-full rounded-lg border border-border bg-surface px-2 py-1.5 text-xs disabled:opacity-40"}),g.jsxs("div",{className:"mt-1.5 flex flex-col gap-1",children:[E.map(p=>g.jsxs("button",{type:"button",disabled:a,onClick:()=>i(p),className:"flex items-center justify-between gap-2 rounded-lg border border-border px-2.5 py-1.5 text-left text-xs active:bg-surface disabled:opacity-50",children:[g.jsx("span",{className:"truncate",children:p}),u.has(p)?g.jsx("span",{className:"shrink-0 text-faint",children:"likely hotspot"}):null]},p)),E.length===0?g.jsxs("p",{className:"text-xs text-faint",children:["Nothing matches “",s,"”."]}):null]}),!f&&e.length>E.length?g.jsxs("p",{className:"mt-1 text-xs text-faint",children:["Most recently joined. Search to reach the other ",e.length-E.length,"."]}):null]})}const H_={info:"text-muted",warn:"text-working",error:"text-del"};function H0(e){return String(e).padStart(2,"0")}function q_(e){if(e==null)return"·";const r=new Date(e);return`${H0(r.getHours())}:${H0(r.getMinutes())}:${H0(r.getSeconds())}`}function P8(e){if(e==null)return" ";const r=new Date(e);return`${r.getFullYear()}-${H0(r.getMonth()+1)}-${H0(r.getDate())} ${H0(r.getHours())}:${H0(r.getMinutes())}:${H0(r.getSeconds())}`}function I_(e){return e<1024?`${e} B`:e<1024*1024?`${Math.round(e/1024)} KB`:`${(e/1024/1024).toFixed(1)} MB`}function U8(e){const r=Math.max(0,Math.round(e/1e3));if(r<90)return`${r}s ago`;const a=Math.round(r/60);if(a<60)return`${a}m ago`;const i=Math.round(a/60);return i<48?`${i}h ago`:`${Math.round(i/24)}d ago`}function V_({onClose:e}){const[r,a]=z.useState(null),[i,s]=z.useState(!1),[x,u]=z.useState(null),{data:f,isLoading:d,isError:h,error:E}=Lb(r,!0),p=z.useRef(null),y=z.useRef(!0),C=z.useMemo(()=>(f?.entries??[]).filter(D=>!i||D.level!=="info"),[f,i]);z.useEffect(()=>{const D=p.current;D&&y.current&&C.length&&(D.scrollTop=D.scrollHeight)},[C]);const A=async()=>{const D=`# conductor-remote ${r??"live"} log · app v1.46.2 · copied ${P8(Date.now())}`,F=C.map(O=>`${P8(O.t)} ${O.level==="info"?"":O.level.toUpperCase()} ${O.text}`);try{await navigator.clipboard.writeText([D,...F].join(`
42
+ `)),u("ok")}catch{u("failed")}setTimeout(()=>u(null),2e3)},b=[{key:null,label:"Live",hint:f?`since ${U8(f.now-f.startedAt)}`:void 0},...(f?.files??[]).map(D=>({key:D.name,label:D.name,hint:I_(D.size)}))];return $o.createPortal(g.jsxs(g.Fragment,{children:[g.jsx("div",{className:"fixed inset-0 z-50 bg-black/60",onClick:e,"aria-hidden":!0}),g.jsxs("div",{role:"dialog","aria-modal":"true","aria-label":"Relay logs",className:"fade-in pt-safe pb-safe fixed inset-0 z-50 mx-auto flex flex-col bg-bg md:inset-6 md:rounded-3xl md:border md:border-border-soft",children:[g.jsxs("div",{className:"flex items-center justify-between gap-2 border-b border-border-soft px-4 py-3",children:[g.jsxs("div",{className:"min-w-0",children:[g.jsx("h2",{className:"text-base font-semibold",children:"Relay logs"}),g.jsx("p",{className:"truncate text-xs text-muted",children:f?`${C.length} line${C.length===1?"":"s"} · relay started ${U8(f.now-f.startedAt)}`:"Loading…"})]}),g.jsx("button",{type:"button",onClick:e,"aria-label":"Close",className:"flex size-8 shrink-0 items-center justify-center rounded-full text-muted active:bg-surface-2",children:g.jsx(yr,{size:18})})]}),g.jsx("div",{className:"flex gap-1.5 overflow-x-auto border-b border-border-soft px-3 py-2",children:b.map(D=>g.jsxs("button",{type:"button",onClick:()=>{y.current=!0,a(D.key)},className:be("pill shrink-0 whitespace-nowrap",D.key===r&&"pill-active"),children:[D.label,D.hint?g.jsx("span",{className:"ml-1.5 text-[11px] text-faint",children:D.hint}):null]},D.key??"live"))}),r&&f&&!f.managed?g.jsx("p",{className:"border-b border-border-soft bg-working/10 px-4 py-2 text-xs text-working",children:"This file belongs to the installed daemon — this relay isn’t the one writing it. Its own output is under Live."}):null,g.jsx("div",{ref:p,onScroll:D=>{const F=D.currentTarget;y.current=F.scrollHeight-F.scrollTop-F.clientHeight<40},className:"min-h-0 flex-1 overflow-y-auto px-3 py-2 font-mono text-[11px] leading-relaxed",children:d&&!f?g.jsx(ha,{label:"Reading logs…"}):h?g.jsx(Lt,{children:E?.message}):C.length===0?g.jsx(Lt,{children:i?"No warnings or errors logged.":"Nothing logged yet — the relay has been quiet."}):C.map((D,F)=>g.jsxs("div",{className:"flex gap-2 whitespace-pre-wrap break-words py-px",children:[g.jsx("span",{className:"shrink-0 text-faint",children:q_(D.t)}),g.jsx("span",{className:be("min-w-0 flex-1",H_[D.level]),children:D.text})]},F))}),g.jsxs("div",{className:"flex items-center gap-2 border-t border-border-soft px-3 py-2.5",children:[g.jsx("button",{type:"button",onClick:()=>s(D=>!D),className:be("pill shrink-0",i&&"pill-active"),children:"Problems only"}),g.jsxs("button",{type:"button",onClick:A,className:"ml-auto flex items-center justify-center gap-2 rounded-xl border border-border bg-surface-2 px-4 py-2.5 text-sm active:bg-surface",children:[x==="ok"?g.jsx(pr,{size:16}):g.jsx(b2,{size:16}),x==="ok"?"Copied":x==="failed"?"Copy blocked — select by hand":"Copy"]})]})]})]}),document.body)}const km="conductor-remote-send-immediately";function $_(){try{return localStorage.getItem(km)!=="off"}catch{return!0}}function G_(e){try{localStorage.setItem(km,e?"on":"off")}catch{}}function Q_({onClose:e}){const{data:r}=Tb(),[a,i]=z.useState(""),[s,x]=z.useState(""),[u,f]=z.useState(!1),[d,h]=z.useState($_),[E,p]=z.useState(!1),[y,C]=z.useState(null),A=da(),b=I0(),D=r?.repos??[],F=D.find(w=>w.name===a);z.useEffect(()=>{!a&&D.length&&i(D[0].name)},[a,D]);const O=async()=>{const w=s.trim();if(!(!a||E)){p(!0),C(null);try{const _=await Ie.createWorkspace(a,w,d);if(!_.ok||!_.workspaceId){C(_.error??"could not create the workspace");return}await b.invalidateQueries({queryKey:["state"]}),e(),A(`/w/${_.workspaceId}`)}catch(_){C(_ instanceof Error?_.message:"could not create the workspace")}finally{p(!1)}}};return $o.createPortal(g.jsxs("div",{className:"fixed inset-0 z-50 flex flex-col bg-bg",children:[g.jsxs("header",{className:"pt-safe flex items-center gap-2 border-b border-border-soft px-3 pb-2.5",children:[g.jsx("span",{className:"flex-1 text-[15px] font-semibold",children:"New workspace"}),g.jsx("button",{type:"button",onClick:e,"aria-label":"Close",className:"-mr-1 flex size-9 shrink-0 items-center justify-center rounded-full text-muted active:bg-surface-2",children:g.jsx(yr,{size:20})})]}),g.jsxs("div",{className:"flex min-h-0 flex-1 flex-col gap-3 overflow-y-auto p-3",children:[g.jsxs("div",{className:"relative",children:[g.jsxs("button",{type:"button",onClick:()=>f(w=>!w),"aria-haspopup":"menu","aria-expanded":u,className:"flex w-full items-center gap-3 rounded-2xl border border-border bg-surface px-3 py-2.5 text-left transition active:bg-surface-2",children:[F?g.jsx(wo,{icon:F.icon,name:F.name}):null,g.jsx("span",{className:"min-w-0 flex-1 truncate text-[15px] font-medium",children:F?.name??"Choose a repo"}),g.jsx(Po,{size:18,className:be("shrink-0 text-muted transition",u&&"rotate-180")})]}),u?g.jsx("ul",{className:"absolute inset-x-0 top-full z-10 mt-1 max-h-72 overflow-y-auto rounded-2xl border border-border bg-surface py-1 shadow-xl",children:D.map(w=>g.jsx("li",{children:g.jsxs("button",{type:"button",onClick:()=>{i(w.name),f(!1)},className:"flex w-full items-center gap-3 px-3 py-2 text-left active:bg-surface-2",children:[g.jsx(wo,{icon:w.icon,name:w.name}),g.jsx("span",{className:"min-w-0 flex-1 truncate text-[15px]",children:w.name}),w.name===a?g.jsx(pr,{size:16,className:"shrink-0 text-accent"}):null]})},w.name))}):null]}),g.jsx("textarea",{value:s,onChange:w=>x(w.target.value),placeholder:"What should the agent do? (optional)",rows:6,autoFocus:!0,className:"w-full resize-none rounded-2xl border border-border bg-surface px-4 py-3 text-base outline-none placeholder:text-faint"}),g.jsxs("label",{className:be("flex items-start gap-3 rounded-2xl border border-border bg-surface px-3 py-2.5 transition active:bg-surface-2",!s.trim()&&"opacity-40"),children:[g.jsx("input",{type:"checkbox",checked:d,disabled:!s.trim(),onChange:w=>{h(w.target.checked),G_(w.target.checked)},className:"sr-only"}),g.jsx("span",{className:be("mt-0.5 flex size-[18px] shrink-0 items-center justify-center rounded-md border transition",d?"border-accent bg-accent text-bg":"border-border"),children:d?g.jsx(pr,{size:13,strokeWidth:3}):null}),g.jsxs("span",{className:"min-w-0 flex-1",children:[g.jsx("span",{className:"block text-[15px] font-medium",children:"Send immediately"}),g.jsx("span",{className:"block text-xs text-muted",children:d?"The prompt goes as soon as the chat exists, without waiting for setup.":"The prompt waits until the worktree has finished setting up."})]})]}),y?g.jsx("div",{className:"text-xs text-del",children:y}):null]}),g.jsx("div",{className:"pb-safe border-t border-border-soft p-3",children:g.jsx("button",{type:"button",onClick:O,disabled:!a||E,className:"w-full rounded-2xl bg-accent px-4 py-3 text-[15px] font-semibold text-bg transition active:scale-[0.985] disabled:opacity-40",children:E?"Creating…":s.trim()?"Create & start":"Create empty workspace"})})]}),document.body)}function Y_({query:e,live:r,selectedId:a,onOpen:i}){const s=zb(e.trim(),250),{data:x,isError:u,error:f,isFetching:d}=jb(s),h=z.useMemo(()=>Bb(e),[e]),E=z.useMemo(()=>{const y=new Map;if(h.length)for(const C of r){const A=[In(C),C.branch,C.repo_name,C.directory_name,C.session_title].filter(Boolean).join(" ").toLowerCase();h.every(b=>A.includes(b))&&y.set(C.id,{workspace:C,archived:!1,sessionId:null,snippets:[],hits:0})}for(const C of x?.results??[]){const A=y.get(C.workspace.id);if(A){A.sessionId=C.sessionId,A.snippets=C.snippets,A.hits=C.hits;continue}y.set(C.workspace.id,{workspace:C.workspace,archived:C.workspace.archived,sessionId:C.sessionId,snippets:C.snippets,hits:C.hits})}return[...y.values()]},[r,x,h]),p=x?.index;return g.jsxs(g.Fragment,{children:[p&&!p.ready?g.jsxs("p",{className:"px-1 pb-2 text-xs text-faint",children:["Indexing chats… ",Math.round(p.progress*100),"% — older conversations aren’t searchable yet."]}):null,p?.error?g.jsxs("p",{className:"px-1 pb-2 text-xs text-del",children:["Chat index unavailable (",p.error,") — searching names only."]}):null,u?g.jsxs("p",{className:"px-1 pb-2 text-xs text-del",children:["Chat search unavailable (",f?.message,") — showing name matches only."]}):null,E.length===0?d||s!==e.trim()?g.jsx(ha,{}):u?null:g.jsxs(Lt,{children:["Nothing matches “",e.trim(),"”."]}):g.jsx("ul",{className:"flex flex-col gap-2 pb-2",children:E.map(y=>g.jsx("li",{className:"fade-in",children:g.jsx(K_,{row:y,tokens:h,selected:y.workspace.id===a,onOpen:i})},y.workspace.id))})]})}const X_="card w-full flex-col items-stretch gap-0";function K_({row:e,tokens:r,selected:a,onOpen:i}){const s=e.workspace,x=s.directory_name?.toLowerCase(),u=`${In(s)} ${s.branch??""} ${s.repo_name??""}`.toLowerCase(),f=!!x&&r.some(h=>x.includes(h)&&!u.includes(h)),d=g.jsxs(g.Fragment,{children:[g.jsxs("div",{className:"flex items-start gap-3",children:[g.jsx(wo,{icon:s.icon,name:s.repo_name||In(s)}),g.jsxs("div",{className:"min-w-0 flex-1 overflow-hidden",children:[g.jsxs("div",{className:"flex items-center gap-2",children:[g.jsx("span",{className:"min-w-0 flex-1 truncate font-medium text-text",children:In(s)}),e.archived?g.jsx("span",{className:"shrink-0 rounded-md bg-surface-2 px-1.5 py-0.5 text-[10px] font-semibold uppercase tracking-wide text-faint",children:"Archived"}):null]}),g.jsxs("div",{className:"mt-1 flex min-w-0 items-center gap-2 text-xs text-muted",children:[s.repo_name?g.jsx("span",{className:"shrink-0 font-mono text-faint",children:s.repo_name}):null,s.branch?g.jsx(Fo,{className:"min-w-0 flex-1 truncate",children:s.branch}):null,f?g.jsxs(Fo,{className:"shrink-0 text-faint",children:["dir ",s.directory_name]}):null,g.jsx("span",{className:"ml-auto shrink-0 pl-2 text-[11px] text-faint",children:Nc(s.updated_at)})]})]})]}),e.snippets.length?g.jsxs("div",{className:"mt-2 flex flex-col gap-1.5 border-l-2 border-border-soft pl-2.5",children:[e.snippets.map(h=>g.jsx(J_,{snippet:h},`${h.sessionId}:${h.at}:${h.text.slice(0,24)}`)),e.hits>e.snippets.length?g.jsxs("span",{className:"text-[11px] text-faint",children:["+",e.hits-e.snippets.length," more messages"]}):null]}):null]});return g.jsx("button",{type:"button",className:be(X_,a&&"border-accent/50 bg-surface-2"),onClick:()=>i(s.id,e.sessionId),children:d})}const Z_={user:"you",assistant:"agent",thinking:"thought"};function J_({snippet:e}){return g.jsxs("p",{className:"line-clamp-2 text-left text-xs leading-snug text-muted",children:[g.jsx("span",{className:`mr-1.5 text-[10px] uppercase tracking-wide ${e.role==="thinking"?"text-faint italic":"text-faint"}`,children:Z_[e.role]}),PD(e.text).map((r,a)=>r.hit?g.jsx("mark",{className:"rounded bg-accent/25 px-0.5 text-text",children:r.text},a):g.jsx("span",{children:r.text},a))]})}function W_({live:e,selectedId:r,onOpen:a,onClose:i}){const[s,x]=z.useState(""),u=z.useRef(null);return z.useEffect(()=>u.current?.focus(),[]),z.useEffect(()=>{const f=d=>{d.key==="Escape"&&i()};return window.addEventListener("keydown",f),()=>window.removeEventListener("keydown",f)},[i]),$o.createPortal(g.jsxs(g.Fragment,{children:[g.jsx("div",{className:"fixed inset-0 z-50 bg-black/50",onClick:i,"aria-hidden":!0}),g.jsxs("div",{role:"dialog","aria-modal":"true","aria-label":"Search workspaces and chats",className:"app-height fade-in pt-safe fixed inset-x-0 top-0 z-50 flex flex-col bg-bg md:inset-x-auto md:left-1/2 md:top-16 md:max-h-[70vh] md:w-[36rem] md:max-w-[92vw] md:-translate-x-1/2 md:rounded-2xl md:border md:border-border md:shadow-2xl",children:[g.jsxs("div",{className:"flex items-center gap-2 border-b border-border-soft px-3 py-2.5",children:[g.jsxs("div",{className:"relative min-w-0 flex-1",children:[g.jsx(F2,{size:15,className:"pointer-events-none absolute left-3 top-1/2 -translate-y-1/2 text-faint"}),g.jsx("input",{ref:u,type:"text",inputMode:"search",enterKeyHint:"search",autoCapitalize:"none",autoCorrect:"off",spellCheck:!1,value:s,onChange:f=>x(f.target.value),placeholder:"Search workspaces and chats","aria-label":"Search workspaces and chats",className:"w-full rounded-xl border border-border bg-surface py-2 pl-8 pr-9 text-sm text-text placeholder:text-faint focus:border-accent/50 focus:outline-none"}),s?g.jsx("button",{type:"button",onClick:()=>{x(""),u.current?.focus()},"aria-label":"Clear search",className:"absolute right-1 top-1/2 flex size-7 -translate-y-1/2 items-center justify-center rounded-full text-muted active:bg-surface-2",children:g.jsx(yr,{size:15})}):null]}),g.jsx("button",{type:"button",onClick:i,className:"shrink-0 rounded-full px-2 py-1.5 text-sm text-muted active:bg-surface-2",children:"Cancel"})]}),g.jsx("div",{className:"pb-safe min-h-0 flex-1 overflow-y-auto overflow-x-hidden px-3 py-3",children:s.trim()?g.jsx(Y_,{query:s,live:e,selectedId:r,onOpen:a}):g.jsx(Lt,{children:"Every workspace on this Mac, archived included — by name, or by something said in the chat."})})]})]}),document.body)}function eT(e,r){return[...e].sort((a,i)=>{const s=+!!i.pinned_at-+!!a.pinned_at;return s||(r==="name"?In(a).localeCompare(In(i)):r==="created"?i.created_at.localeCompare(a.created_at):i.updated_at.localeCompare(a.updated_at))})}function tT(e,r){return r==="status"?fp(e):r==="recent"?GD(e.updated_at):e.repo_name??""}function nT(e,r){if(r==="none")return[{key:"all",label:"",items:e}];const a=new Map;for(const i of e){const s=tT(i,r),x=a.get(s);x?x.push(i):a.set(s,[i])}return r==="status"?[...qh,...[...a.keys()].filter(s=>!qh.includes(s))].filter(s=>a.has(s)).map(s=>({key:`status:${s}`,label:Ku(s),status:s,items:a.get(s)??[]})):r==="recent"?VD.filter(i=>a.has(i)).map(i=>({key:`recent:${i}`,label:$D(i),items:a.get(i)??[]})):[...a.keys()].sort((i,s)=>i.localeCompare(s)).map(i=>({key:`repo:${i}`,label:i||"No repo",items:a.get(i)??[]}))}function rT({selectedId:e}){const r=da(),a=ke(Z=>Z.setSidebarOpen),i=ke(Z=>Z.view),s=ke(Z=>Z.readMarks),x=ke(Z=>Z.toggleGroup),[u,f]=z.useState(!1),[d,h]=z.useState(!1),[E,p]=z.useState(!1),[y,C]=z.useState(!1),[A,b]=z.useState(!1),{data:D,isLoading:F,isError:O,error:w}=kc(),_=D?.workspaces??[],R=[...new Set(_.map(Z=>Z.repo_name).filter(Z=>!!Z))].sort();i.repo&&!R.includes(i.repo)&&R.push(i.repo);const k=i.repo?_.filter(Z=>Z.repo_name===i.repo):_,T=i.hideMerged?k.filter(Z=>!qD(Z)||Z.id===e):k,S=k.length-T.length,q=nT(eT(T,i.sortBy),i.groupBy),L=(Z,$=null)=>{r($?`/w/${Z}?session=${encodeURIComponent($)}`:`/w/${Z}`),a(!1)},X=!!i.repo||i.hideMerged,K=!!i.repo||S>0,ie=_.length?K?[`${T.length} of ${_.length}`,i.repo,S?`${S} merged hidden`:null].filter(Boolean).join(" · "):`${_.length} active`:void 0;return g.jsxs("div",{className:"flex h-full min-w-0 flex-col overflow-hidden",children:[g.jsxs("div",{className:"relative",children:[g.jsx(So,{title:"Workspaces",subtitle:ie,right:g.jsxs(g.Fragment,{children:[g.jsx("button",{type:"button",onClick:()=>b(!0),"aria-label":"Search workspaces and chats",className:"flex size-9 shrink-0 items-center justify-center rounded-full text-muted active:bg-surface-2",children:g.jsx(F2,{size:18})}),g.jsxs("button",{type:"button",onClick:()=>f(Z=>!Z),"aria-label":"View options",className:"relative flex size-9 shrink-0 items-center justify-center rounded-full text-muted active:bg-surface-2",children:[g.jsx(PB,{size:18}),X?g.jsx("span",{className:"absolute right-1.5 top-1.5 size-1.5 rounded-full bg-accent"}):null]}),g.jsx("button",{type:"button",onClick:()=>h(!0),"aria-label":"Connect a device",className:"flex size-9 shrink-0 items-center justify-center rounded-full text-muted active:bg-surface-2",children:g.jsx(k2,{size:18})}),g.jsx("button",{type:"button",onClick:()=>p(!0),"aria-label":"New workspace",className:"-mr-1 flex size-9 shrink-0 items-center justify-center rounded-full text-text active:bg-surface-2",children:g.jsx(v2,{size:20})})]})}),u?g.jsx(lT,{repos:R,view:i,onClose:()=>f(!1)}):null]}),g.jsx("nav",{className:"pb-safe min-w-0 flex-1 overflow-y-auto overflow-x-hidden px-3 py-3",children:F&&!D?g.jsx(ha,{label:"Loading workspaces…"}):O?g.jsx(ev,{error:w}):_.length===0?g.jsx(Lt,{children:"No active workspaces. Start one in Conductor and it’ll appear here."}):T.length===0?g.jsxs(Lt,{children:[i.repo?`No workspaces in ${i.repo}`:"No workspaces",S?` — ${S} merged ${S===1?"one is":"ones are"} hidden.`:"."]}):q.map(Z=>{const $=!!Z.label&&i.collapsed.includes(Z.key);return g.jsxs("section",{children:[Z.label?g.jsxs("button",{type:"button",onClick:()=>x(Z.key),className:"flex w-full items-center gap-2 px-1 py-2 text-sm font-semibold",children:[g.jsx(aT,{status:Z.status}),g.jsx("span",{className:"truncate",children:Z.label}),$?g.jsx("span",{className:"font-normal text-muted text-xs",children:Z.items.length}):null,g.jsx(Po,{size:14,className:be("ml-auto shrink-0 text-faint transition-transform",$&&"-rotate-90")})]}):null,$?null:g.jsx("ul",{className:"flex flex-col gap-2 pb-2",children:Z.items.map(P=>{const Y=fb(P,s);return g.jsx("li",{className:"fade-in",children:g.jsx("button",{type:"button",className:be("card w-full",P.id===e?"border-accent/50 bg-surface-2":Y&&"border-l-accent"),onClick:()=>L(P.id),children:g.jsx(oT,{w:P,unread:Y,selected:P.id===e})})},P.id)})})]},Z.key)})}),d?g.jsx(j_,{version:D?.version,onLogs:()=>{h(!1),C(!0)},onClose:()=>h(!1)}):null,E?g.jsx(Q_,{onClose:()=>p(!1)}):null,A?g.jsx(W_,{live:_,selectedId:e,onOpen:(Z,$)=>{b(!1),L(Z,$)},onClose:()=>b(!1)}):null,y?g.jsx(V_,{onClose:()=>C(!1)}):null]})}function aT({status:e}){if(!e)return null;const r=Sc[e];return r?g.jsx("span",{className:"dot size-2",style:{background:r}}):g.jsx("span",{className:"dot size-2 border border-faint bg-transparent"})}function lT({repos:e,view:r,onClose:a}){const i=ke(s=>s.setView);return g.jsxs(g.Fragment,{children:[g.jsx("div",{className:"fixed inset-0 z-20",onClick:a,"aria-hidden":!0}),g.jsxs("div",{className:"fade-in absolute right-2 top-full z-30 mt-1 flex w-64 flex-col gap-2.5 rounded-2xl border border-border bg-surface p-3 shadow-xl",children:[g.jsx(ho,{id:"view-group",label:"Group by",children:g.jsx(Lu,{id:"view-group",value:r.groupBy,onChange:s=>i({groupBy:s}),options:[["status","Status"],["recent","Recent"],["repo","Repo"],["none","None"]]})}),g.jsx(ho,{id:"view-repo",label:"Repo",children:g.jsx(Lu,{id:"view-repo",value:r.repo??"all",onChange:s=>i({repo:s==="all"?null:s}),options:[["all","All repos"],...e.map(s=>[s,s])]})}),g.jsx(ho,{id:"view-sort",label:"Sort by",children:g.jsx(Lu,{id:"view-sort",value:r.sortBy,onChange:s=>i({sortBy:s}),options:[["updated","Updated"],["created","Created"],["name","Name"]]})}),g.jsx(ho,{id:"view-hide-merged",label:"Hide merged",children:g.jsx(iT,{id:"view-hide-merged",checked:r.hideMerged,label:"Hide workspaces whose PR has merged",onChange:s=>i({hideMerged:s})})}),g.jsx("p",{className:"-mt-1 text-faint text-xs",children:"By the PR on GitHub, which can trail a merge by up to a minute — not by Conductor’s status."})]})]})}function iT({id:e,checked:r,label:a,onChange:i}){return g.jsx("button",{id:e,type:"button",role:"switch","aria-checked":r,"aria-label":a,onClick:()=>i(!r),className:be("relative h-6 w-11 shrink-0 rounded-full transition-colors",r?"bg-accent":"border border-border bg-surface-2"),children:g.jsx("span",{className:be("absolute left-0.5 top-0.5 size-5 rounded-full bg-white transition-transform",r?"translate-x-5":"translate-x-0")})})}function ho({id:e,label:r,children:a}){return g.jsxs("div",{className:"flex items-center justify-between gap-3 text-sm text-muted",children:[g.jsx("label",{htmlFor:e,children:r}),a]})}function Lu({id:e,value:r,options:a,onChange:i}){return g.jsx("select",{id:e,value:r,onChange:s=>i(s.target.value),className:"max-w-36 truncate rounded-lg border border-border bg-surface-2 px-2 py-1.5 text-sm text-text [color-scheme:dark]",children:a.map(([s,x])=>g.jsx("option",{value:s,children:x},s))})}function oT({w:e,unread:r,selected:a}){const i=Mc(e.model);return g.jsxs(g.Fragment,{children:[g.jsxs("div",{className:"relative shrink-0 self-start",children:[g.jsx(wo,{icon:e.icon,name:e.repo_name||In(e)}),g.jsx(KD,{w:e,className:"absolute -right-0.5 -bottom-0.5 bg-surface ring-2 ring-surface"})]}),g.jsxs("div",{className:"min-w-0 flex-1 overflow-hidden",children:[g.jsxs("div",{className:"flex items-center gap-2",children:[g.jsx("span",{className:be("min-w-0 flex-1 truncate",r?"font-bold":"font-medium",r||a?"text-text":"text-muted"),children:In(e)}),cp(e)?g.jsx("span",{className:"shrink-0 rounded-md bg-working/15 px-1.5 py-0.5 text-[10px] font-semibold uppercase tracking-wide text-working",children:"Setting up"}):null,e.pinned_at?g.jsx("span",{className:"shrink-0 text-xs text-faint",children:"📌"}):null,r>1?g.jsx(WD,{children:r}):r?g.jsx("span",{className:"dot size-2 bg-accent"}):null]}),g.jsxs("div",{className:"mt-1 flex min-w-0 items-center gap-2 text-xs text-muted",children:[e.repo_name?g.jsx("span",{className:"shrink-0 font-mono text-faint",children:e.repo_name}):null,e.branch?g.jsx(Fo,{className:"min-w-0 flex-1 truncate",children:e.branch}):null]}),g.jsxs("div",{className:"mt-1 flex min-w-0 items-center gap-2 text-xs text-muted",children:[i?g.jsx(Fo,{children:i}):null,g.jsx("span",{className:"ml-auto shrink-0 pl-2 text-[11px] text-faint",children:Nc(e.updated_at)})]})]})]})}function sT(){_b();const e=ke(r=>r.token);return g.jsxs(g.Fragment,{children:[g.jsx(yb,{}),e?g.jsxs(P4,{children:[g.jsxs(yl,{element:g.jsx(xT,{}),children:[g.jsx(yl,{index:!0,element:g.jsx(uT,{})}),g.jsx(yl,{path:"/w/:workspaceId",element:g.jsx(h_,{})})]}),g.jsx(yl,{path:"*",element:g.jsx(R4,{to:"/",replace:!0})})]}):g.jsx(D_,{})]})}function xT(){const e=C4("/w/:workspaceId"),r=ke(s=>s.sidebarOpen),a=ke(s=>s.setSidebarOpen),i=z.useRef(null);return Nb(i),Gb(),qb(),g.jsxs("div",{className:"flex h-full overflow-hidden",children:[r?g.jsx("div",{className:"fixed inset-0 z-40 bg-black/50 md:hidden",onClick:()=>a(!1),"aria-hidden":!0}):null,g.jsx("aside",{ref:i,className:be("fixed inset-y-0 left-0 z-50 flex w-[85%] max-w-80 flex-col border-r border-border-soft bg-bg transition-transform duration-200 ease-out","md:static md:z-auto md:w-72 md:max-w-none md:shrink-0 md:translate-x-0 md:transition-none lg:w-80",r?"translate-x-0":"-translate-x-full"),children:g.jsx(rT,{selectedId:e?.params.workspaceId})}),g.jsx("main",{className:"flex min-w-0 flex-1 flex-col",children:g.jsx(O4,{})})]})}function uT(){const e=ke(r=>r.setSidebarOpen);return g.jsxs("div",{className:"grid h-full place-items-center",children:[g.jsx("button",{type:"button",onClick:()=>e(!0),className:"pill pill-active md:hidden",children:"Browse workspaces"}),g.jsx("span",{className:"hidden text-sm text-muted md:block",children:"Select a workspace"})]})}navigator.storage?.persist&&navigator.storage.persist().catch(()=>{});const cT=new m6({defaultOptions:{queries:{staleTime:1e3,retry:1,refetchOnWindowFocus:!0}}}),Fm=document.getElementById("root");if(!Fm)throw new Error("#root missing");j6.createRoot(Fm).render(g.jsx(z.StrictMode,{children:g.jsx(C6,{client:cT,children:g.jsx(u7,{children:g.jsx(sT,{})})})}));