conductor-remote 1.10.0 → 1.12.0
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.
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
(function(){const r=document.createElement("link").relList;if(r&&r.supports&&r.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))a(o);new MutationObserver(o=>{for(const u of o)if(u.type==="childList")for(const s of u.addedNodes)s.tagName==="LINK"&&s.rel==="modulepreload"&&a(s)}).observe(document,{childList:!0,subtree:!0});function i(o){const u={};return o.integrity&&(u.integrity=o.integrity),o.referrerPolicy&&(u.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?u.credentials="include":o.crossOrigin==="anonymous"?u.credentials="omit":u.credentials="same-origin",u}function a(o){if(o.ep)return;o.ep=!0;const u=i(o);fetch(o.href,u)}})();function ax(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var _u={exports:{}},Xl={};var fd;function p5(){if(fd)return Xl;fd=1;var t=Symbol.for("react.transitional.element"),r=Symbol.for("react.fragment");function i(a,o,u){var s=null;if(u!==void 0&&(s=""+u),o.key!==void 0&&(s=""+o.key),"key"in o){u={};for(var f in o)f!=="key"&&(u[f]=o[f])}else u=o;return o=u.ref,{$$typeof:t,type:a,key:s,ref:o!==void 0?o:null,props:u}}return Xl.Fragment=r,Xl.jsx=i,Xl.jsxs=i,Xl}var dd;function C5(){return dd||(dd=1,_u.exports=p5()),_u.exports}var O=C5();const B5="modulepreload",A5=function(t){return"/"+t},Ed={},g5=function(r,i,a){let o=Promise.resolve();if(i&&i.length>0){let E=function(p){return Promise.all(p.map(m=>Promise.resolve(m).then(C=>({status:"fulfilled",value:C}),C=>({status:"rejected",reason:C}))))};var s=E;document.getElementsByTagName("link");const f=document.querySelector("meta[property=csp-nonce]"),d=f?.nonce||f?.getAttribute("nonce");o=E(i.map(p=>{if(p=A5(p),p in Ed)return;Ed[p]=!0;const m=p.endsWith(".css"),C=m?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${p}"]${C}`))return;const B=document.createElement("link");if(B.rel=m?"stylesheet":B5,m||(B.as="script"),B.crossOrigin="",B.href=p,d&&B.setAttribute("nonce",d),document.head.appendChild(B),m)return new Promise((g,y)=>{B.addEventListener("load",g),B.addEventListener("error",()=>y(new Error(`Unable to preload CSS for ${p}`)))})}))}function u(f){const d=new Event("vite:preloadError",{cancelable:!0});if(d.payload=f,window.dispatchEvent(d),!d.defaultPrevented)throw f}return o.then(f=>{for(const d of f||[])d.status==="rejected"&&u(d.reason);return r().catch(u)})};function D5(t={}){const{immediate:r=!1,onNeedReload:i,onNeedRefresh:a,onOfflineReady:o,onRegistered:u,onRegisteredSW:s,onRegisterError:f}=t;let d,E;const p=async(C=!0)=>{await E};async function m(){if("serviceWorker"in navigator){if(d=await g5(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;d.addEventListener("activated",C=>{(C.isUpdate||C.isExternal)&&(i?i():window.location.reload())}),d.addEventListener("installed",C=>{C.isUpdate||o?.()}),d.register({immediate:r}).then(C=>{s?s("/sw.js",C):u?.(C)}).catch(C=>{f?.(C)})}}return E=m(),p}var Ci=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(t){return this.listeners.add(t),this.onSubscribe(),()=>{this.listeners.delete(t),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},y5=class extends Ci{#e;#t;#n;constructor(){super(),this.#n=t=>{if(typeof window<"u"&&window.addEventListener){const r=()=>t();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(t){this.#n=t,this.#t?.(),this.#t=t(r=>{typeof r=="boolean"?this.setFocused(r):this.onFocus()})}setFocused(t){this.#e!==t&&(this.#e=t,this.onFocus())}onFocus(){const t=this.isFocused();this.listeners.forEach(r=>{r(t)})}isFocused(){return typeof this.#e=="boolean"?this.#e:globalThis.document?.visibilityState!=="hidden"}},Rs=new y5,F5={setTimeout:(t,r)=>setTimeout(t,r),clearTimeout:t=>clearTimeout(t),setInterval:(t,r)=>setInterval(t,r),clearInterval:t=>clearInterval(t)},v5=class{#e=F5;#t=!1;setTimeoutProvider(t){this.#e=t}setTimeout(t,r){return this.#e.setTimeout(t,r)}clearTimeout(t){this.#e.clearTimeout(t)}setInterval(t,r){return this.#e.setInterval(t,r)}clearInterval(t){this.#e.clearInterval(t)}},rr=new v5;function b5(t){setTimeout(t,0)}var k5=typeof window>"u"||"Deno"in globalThis;function qt(){}function w5(t,r){return typeof t=="function"?t(r):t}function ss(t){return typeof t=="number"&&t>=0&&t!==1/0}function YE(t,r){return Math.max(t+(r||0)-Date.now(),0)}function R0(t,r){return typeof t=="function"?t(r):t}function en(t,r){return typeof t=="function"?t(r):t}function hd(t,r){const{type:i="all",exact:a,fetchStatus:o,predicate:u,queryKey:s,stale:f}=t;if(s){if(a){if(r.queryHash!==Os(s,r.options))return!1}else if(!ui(r.queryKey,s))return!1}if(i!=="all"){const d=r.isActive();if(i==="active"&&!d||i==="inactive"&&d)return!1}return!(typeof f=="boolean"&&r.isStale()!==f||o&&o!==r.state.fetchStatus||u&&!u(r))}function md(t,r){const{exact:i,status:a,predicate:o,mutationKey:u}=t;if(u){if(!r.options.mutationKey)return!1;if(i){if(oi(r.options.mutationKey)!==oi(u))return!1}else if(!ui(r.options.mutationKey,u))return!1}return!(a&&r.state.status!==a||o&&!o(r))}function Os(t,r){return(r?.queryKeyHashFn||oi)(t)}function oi(t){return JSON.stringify(t,(r,i)=>fs(i)?Object.keys(i).sort().reduce((a,o)=>(a[o]=i[o],a),{}):i)}function ui(t,r){return t===r?!0:typeof t!=typeof r?!1:t&&r&&typeof t=="object"&&typeof r=="object"?Object.keys(r).every(i=>ui(t[i],r[i])):!1}var S5=Object.prototype.hasOwnProperty;function IE(t,r,i=0){if(t===r)return t;if(i>500)return r;const a=pd(t)&&pd(r);if(!a&&!(fs(t)&&fs(r)))return r;const u=(a?t:Object.keys(t)).length,s=a?r:Object.keys(r),f=s.length,d=a?new Array(f):{};let E=0;for(let p=0;p<f;p++){const m=a?p:s[p],C=t[m],B=r[m];if(C===B){d[m]=C,(a?p<u:S5.call(t,m))&&E++;continue}if(C===null||B===null||typeof C!="object"||typeof B!="object"){d[m]=B;continue}const g=IE(C,B,i+1);d[m]=g,g===C&&E++}return u===f&&E===u?t:d}function cs(t,r){if(!r||Object.keys(t).length!==Object.keys(r).length)return!1;for(const i in t)if(t[i]!==r[i])return!1;return!0}function pd(t){return Array.isArray(t)&&t.length===Object.keys(t).length}function fs(t){if(!Cd(t))return!1;const r=t.constructor;if(r===void 0)return!0;const i=r.prototype;return!(!Cd(i)||!i.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(t)!==Object.prototype)}function Cd(t){return Object.prototype.toString.call(t)==="[object Object]"}function T5(t){return new Promise(r=>{rr.setTimeout(r,t)})}function ds(t,r,i){return typeof i.structuralSharing=="function"?i.structuralSharing(t,r):i.structuralSharing!==!1?IE(t,r):r}function z5(t,r,i=0){const a=[...t,r];return i&&a.length>i?a.slice(1):a}function M5(t,r,i=0){const a=[r,...t];return i&&a.length>i?a.slice(0,-1):a}var _s=Symbol();function XE(t,r){return!t.queryFn&&r?.initialPromise?()=>r.initialPromise:!t.queryFn||t.queryFn===_s?()=>Promise.reject(new Error(`Missing queryFn: '${t.queryHash}'`)):t.queryFn}function ZE(t,r){return typeof t=="function"?t(...r):!!t}function R5(t,r,i){let a=!1,o;return Object.defineProperty(t,"signal",{enumerable:!0,get:()=>(o??=r(),a||(a=!0,o.aborted?i():o.addEventListener("abort",i,{once:!0})),o)}),t}var si=(()=>{let t=()=>k5;return{isServer(){return t()},setIsServer(r){t=r}}})();function Es(){let t,r;const i=new Promise((o,u)=>{t=o,r=u});i.status="pending",i.catch(()=>{});function a(o){Object.assign(i,o),delete i.resolve,delete i.reject}return i.resolve=o=>{a({status:"fulfilled",value:o}),t(o)},i.reject=o=>{a({status:"rejected",reason:o}),r(o)},i}var O5=b5;function _5(){let t=[],r=0,i=f=>{f()},a=f=>{f()},o=O5;const u=f=>{r?t.push(f):o(()=>{i(f)})},s=()=>{const f=t;t=[],f.length&&o(()=>{a(()=>{f.forEach(d=>{i(d)})})})};return{batch:f=>{let d;r++;try{d=f()}finally{r--,r||s()}return d},batchCalls:f=>(...d)=>{u(()=>{f(...d)})},schedule:u,setNotifyFunction:f=>{i=f},setBatchNotifyFunction:f=>{a=f},setScheduler:f=>{o=f}}}var Dt=_5(),N5=class extends Ci{#e=!0;#t;#n;constructor(){super(),this.#n=t=>{if(typeof window<"u"&&window.addEventListener){const r=()=>t(!0),i=()=>t(!1);return window.addEventListener("online",r,!1),window.addEventListener("offline",i,!1),()=>{window.removeEventListener("online",r),window.removeEventListener("offline",i)}}}}onSubscribe(){this.#t||this.setEventListener(this.#n)}onUnsubscribe(){this.hasListeners()||(this.#t?.(),this.#t=void 0)}setEventListener(t){this.#n=t,this.#t?.(),this.#t=t(this.setOnline.bind(this))}setOnline(t){this.#e!==t&&(this.#e=t,this.listeners.forEach(i=>{i(t)}))}isOnline(){return this.#e}},Wa=new N5;function j5(t){return Math.min(1e3*2**t,3e4)}function KE(t){return(t??"online")==="online"?Wa.isOnline():!0}var hs=class extends Error{constructor(t){super("CancelledError"),this.revert=t?.revert,this.silent=t?.silent}};function JE(t){let r=!1,i=0,a;const o=Es(),u=()=>o.status!=="pending",s=y=>{if(!u()){const F=new hs(y);C(F),t.onCancel?.(F)}},f=()=>{r=!0},d=()=>{r=!1},E=()=>Rs.isFocused()&&(t.networkMode==="always"||Wa.isOnline())&&t.canRun(),p=()=>KE(t.networkMode)&&t.canRun(),m=y=>{u()||(a?.(),o.resolve(y))},C=y=>{u()||(a?.(),o.reject(y))},B=()=>new Promise(y=>{a=F=>{(u()||E())&&y(F)},t.onPause?.()}).then(()=>{a=void 0,u()||t.onContinue?.()}),g=()=>{if(u())return;let y;const F=i===0?t.initialPromise:void 0;try{y=F??t.fn()}catch(b){y=Promise.reject(b)}Promise.resolve(y).then(m).catch(b=>{if(u())return;const L=t.retry??(si.isServer()?0:3),w=t.retryDelay??j5,z=typeof w=="function"?w(i,b):w,R=L===!0||typeof L=="number"&&i<L||typeof L=="function"&&L(i,b);if(r||!R){C(b);return}i++,t.onFail?.(i,b),T5(z).then(()=>E()?void 0:B()).then(()=>{r?C(b):g()})})};return{promise:o,status:()=>o.status,cancel:s,continue:()=>(a?.(),o),cancelRetry:f,continueRetry:d,canStart:p,start:()=>(p()?g():B().then(g),o)}}var $E=class{#e;destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),ss(this.gcTime)&&(this.#e=rr.setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(t){this.gcTime=Math.max(this.gcTime||0,t??(si.isServer()?1/0:300*1e3))}clearGcTimeout(){this.#e!==void 0&&(rr.clearTimeout(this.#e),this.#e=void 0)}};function L5(t){return{onFetch:(r,i)=>{const a=r.options,o=r.fetchOptions?.meta?.fetchMore?.direction,u=r.state.data?.pages||[],s=r.state.data?.pageParams||[];let f={pages:[],pageParams:[]},d=0;const E=async()=>{let p=!1;const m=g=>{R5(g,()=>r.signal,()=>p=!0)},C=XE(r.options,r.fetchOptions),B=async(g,y,F)=>{if(p)return Promise.reject(r.signal.reason);if(y==null&&g.pages.length)return Promise.resolve(g);const L=(()=>{const S={client:r.client,queryKey:r.queryKey,pageParam:y,direction:F?"backward":"forward",meta:r.options.meta};return m(S),S})(),w=await C(L),{maxPages:z}=r.options,R=F?M5:z5;return{pages:R(g.pages,w,z),pageParams:R(g.pageParams,y,z)}};if(o&&u.length){const g=o==="backward",y=g?P5:Bd,F={pages:u,pageParams:s},b=y(a,F);f=await B(F,b,g)}else{const g=t??u.length;do{const y=d===0?s[0]??a.initialPageParam:Bd(a,f);if(d>0&&y==null)break;f=await B(f,y),d++}while(d<g)}return f};r.options.persister?r.fetchFn=()=>r.options.persister?.(E,{client:r.client,queryKey:r.queryKey,meta:r.options.meta,signal:r.signal},i):r.fetchFn=E}}}function Bd(t,{pages:r,pageParams:i}){const a=r.length-1;return r.length>0?t.getNextPageParam(r[a],r,i[a],i):void 0}function P5(t,{pages:r,pageParams:i}){return r.length>0?t.getPreviousPageParam?.(r[0],r,i[0],i):void 0}var U5=class extends $E{#e;#t;#n;#r;#i;#l;#x;#a;constructor(t){super(),this.#a=!1,this.#x=t.defaultOptions,this.setOptions(t.options),this.observers=[],this.#i=t.client,this.#r=this.#i.getQueryCache(),this.queryKey=t.queryKey,this.queryHash=t.queryHash,this.#t=gd(this.options),this.state=t.state??this.#t,this.scheduleGc()}get meta(){return this.options.meta}get queryType(){return this.#e}get promise(){return this.#l?.promise}setOptions(t){if(this.options={...this.#x,...t},t?._type&&(this.#e=t._type),this.updateGcTime(this.options.gcTime),this.state&&this.state.data===void 0){const r=gd(this.options);r.data!==void 0&&(this.setState(Ad(r.data,r.dataUpdatedAt)),this.#t=r)}}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&this.#r.remove(this)}setData(t,r){const i=ds(this.state.data,t,this.options);return this.#o({data:i,type:"success",dataUpdatedAt:r?.updatedAt,manual:r?.manual}),i}setState(t){this.#o({type:"setState",state:t})}cancel(t){const r=this.#l?.promise;return this.#l?.cancel(t),r?r.then(qt).catch(qt):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(t=>en(t.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===_s||!this.isFetched()}isFetched(){return this.state.dataUpdateCount+this.state.errorUpdateCount>0}isStatic(){return this.getObserversCount()>0?this.observers.some(t=>R0(t.options.staleTime,this)==="static"):!1}isStale(){return this.getObserversCount()>0?this.observers.some(t=>t.getCurrentResult().isStale):this.state.data===void 0||this.state.isInvalidated}isStaleByTime(t=0){return this.state.data===void 0?!0:t==="static"?!1:this.state.isInvalidated?!0:!YE(this.state.dataUpdatedAt,t)}onFocus(){this.observers.find(r=>r.shouldFetchOnWindowFocus())?.refetch({cancelRefetch:!1}),this.#l?.continue()}onOnline(){this.observers.find(r=>r.shouldFetchOnReconnect())?.refetch({cancelRefetch:!1}),this.#l?.continue()}addObserver(t){this.observers.includes(t)||(this.observers.push(t),this.clearGcTimeout(),this.#r.notify({type:"observerAdded",query:this,observer:t}))}removeObserver(t){this.observers.includes(t)&&(this.observers=this.observers.filter(r=>r!==t),this.observers.length||(this.#l&&(this.#a||this.#s()?this.#l.cancel({revert:!0}):this.#l.cancelRetry()),this.scheduleGc()),this.#r.notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return this.observers.length}#s(){return this.state.fetchStatus==="paused"&&this.state.status==="pending"}invalidate(){this.state.isInvalidated||this.#o({type:"invalidate"})}async fetch(t,r){if(this.state.fetchStatus!=="idle"&&this.#l?.status()!=="rejected"){if(this.state.data!==void 0&&r?.cancelRefetch)this.cancel({silent:!0});else if(this.#l)return this.#l.continueRetry(),this.#l.promise}if(t&&this.setOptions(t),!this.options.queryFn){const d=this.observers.find(E=>E.options.queryFn);d&&this.setOptions(d.options)}const i=new AbortController,a=d=>{Object.defineProperty(d,"signal",{enumerable:!0,get:()=>(this.#a=!0,i.signal)})},o=()=>{const d=XE(this.options,r),p=(()=>{const m={client:this.#i,queryKey:this.queryKey,meta:this.meta};return a(m),m})();return this.#a=!1,this.options.persister?this.options.persister(d,p,this):d(p)},s=(()=>{const d={fetchOptions:r,options:this.options,queryKey:this.queryKey,client:this.#i,state:this.state,fetchFn:o};return a(d),d})();(this.#e==="infinite"?L5(this.options.pages):this.options.behavior)?.onFetch(s,this),this.#n=this.state,(this.state.fetchStatus==="idle"||this.state.fetchMeta!==s.fetchOptions?.meta)&&this.#o({type:"fetch",meta:s.fetchOptions?.meta}),this.#l=JE({initialPromise:r?.initialPromise,fn:s.fetchFn,onCancel:d=>{d instanceof hs&&d.revert&&this.setState({...this.#n,fetchStatus:"idle"}),i.abort()},onFail:(d,E)=>{this.#o({type:"failed",failureCount:d,error:E})},onPause:()=>{this.#o({type:"pause"})},onContinue:()=>{this.#o({type:"continue"})},retry:s.options.retry,retryDelay:s.options.retryDelay,networkMode:s.options.networkMode,canRun:()=>!0});try{const d=await this.#l.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 hs){if(d.silent)return this.#l.promise;if(d.revert){if(this.state.data===void 0)throw d;return this.state.data}}throw this.#o({type:"error",error:d}),this.#r.config.onError?.(d,this),this.#r.config.onSettled?.(this.state.data,d,this),d}finally{this.scheduleGc()}}#o(t){const r=i=>{switch(t.type){case"failed":return{...i,fetchFailureCount:t.failureCount,fetchFailureReason:t.error};case"pause":return{...i,fetchStatus:"paused"};case"continue":return{...i,fetchStatus:"fetching"};case"fetch":return{...i,...WE(i.data,this.options),fetchMeta:t.meta??null};case"success":const a={...i,...Ad(t.data,t.dataUpdatedAt),dataUpdateCount:i.dataUpdateCount+1,...!t.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};return this.#n=t.manual?a:void 0,a;case"error":const o=t.error;return{...i,error:o,errorUpdateCount:i.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:i.fetchFailureCount+1,fetchFailureReason:o,fetchStatus:"idle",status:"error",isInvalidated:!0};case"invalidate":return{...i,isInvalidated:!0};case"setState":return{...i,...t.state}}};this.state=r(this.state),Dt.batch(()=>{this.observers.forEach(i=>{i.onQueryUpdate()}),this.#r.notify({query:this,type:"updated",action:t})})}};function WE(t,r){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:KE(r.networkMode)?"fetching":"paused",...t===void 0&&{error:null,status:"pending"}}}function Ad(t,r){return{data:t,dataUpdatedAt:r??Date.now(),error:null,isInvalidated:!1,status:"success"}}function gd(t){const r=typeof t.initialData=="function"?t.initialData():t.initialData,i=r!==void 0,a=i?typeof t.initialDataUpdatedAt=="function"?t.initialDataUpdatedAt():t.initialDataUpdatedAt:0;return{data:r,dataUpdateCount:0,dataUpdatedAt:i?a??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:i?"success":"pending",fetchStatus:"idle"}}var H5=class extends Ci{constructor(t,r){super(),this.options=r,this.#e=t,this.#a=null,this.#x=Es(),this.bindMethods(),this.setOptions(r)}#e;#t=void 0;#n=void 0;#r=void 0;#i;#l;#x;#a;#s;#o;#E;#c;#f;#u;#h=new Set;bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){this.listeners.size===1&&(this.#t.addObserver(this),Dd(this.#t,this.options)?this.#d():this.updateResult(),this.#B())}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return ms(this.#t,this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return ms(this.#t,this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,this.#A(),this.#g(),this.#t.removeObserver(this)}setOptions(t){const r=this.options,i=this.#t;if(this.options=this.#e.defaultQueryOptions(t),this.options.enabled!==void 0&&typeof this.options.enabled!="boolean"&&typeof this.options.enabled!="function"&&typeof en(this.options.enabled,this.#t)!="boolean")throw new Error("Expected enabled to be a boolean or a callback that returns a boolean");this.#D(),this.#t.setOptions(this.options),r._defaulted&&!cs(this.options,r)&&this.#e.getQueryCache().notify({type:"observerOptionsUpdated",query:this.#t,observer:this});const a=this.hasListeners();a&&yd(this.#t,i,this.options,r)&&this.#d(),this.updateResult(),a&&(this.#t!==i||en(this.options.enabled,this.#t)!==en(r.enabled,this.#t)||R0(this.options.staleTime,this.#t)!==R0(r.staleTime,this.#t))&&this.#m();const o=this.#p();a&&(this.#t!==i||en(this.options.enabled,this.#t)!==en(r.enabled,this.#t)||o!==this.#u)&&this.#C(o)}getOptimisticResult(t){const r=this.#e.getQueryCache().build(this.#e,t),i=this.createResult(r,t);return Q5(this,i)&&(this.#r=i,this.#l=this.options,this.#i=this.#t.state),i}getCurrentResult(){return this.#r}trackResult(t,r){return new Proxy(t,{get:(i,a)=>(this.trackProp(a),r?.(a),a==="promise"&&(this.trackProp("data"),!this.options.experimental_prefetchInRender&&this.#x.status==="pending"&&this.#x.reject(new Error("experimental_prefetchInRender feature flag is not enabled"))),Reflect.get(i,a))})}trackProp(t){this.#h.add(t)}getCurrentQuery(){return this.#t}refetch({...t}={}){return this.fetch({...t})}fetchOptimistic(t){const r=this.#e.defaultQueryOptions(t),i=this.#e.getQueryCache().build(this.#e,r);return i.fetch().then(()=>this.createResult(i,r))}fetch(t){return this.#d({...t,cancelRefetch:t.cancelRefetch??!0}).then(()=>(this.updateResult(),this.#r))}#d(t){this.#D();let r=this.#t.fetch(this.options,t);return t?.throwOnError||(r=r.catch(qt)),r}#m(){this.#A();const t=R0(this.options.staleTime,this.#t);if(si.isServer()||this.#r.isStale||!ss(t))return;const i=YE(this.#r.dataUpdatedAt,t)+1;this.#c=rr.setTimeout(()=>{this.#r.isStale||this.updateResult()},i)}#p(){return(typeof this.options.refetchInterval=="function"?this.options.refetchInterval(this.#t):this.options.refetchInterval)??!1}#C(t){this.#g(),this.#u=t,!(si.isServer()||en(this.options.enabled,this.#t)===!1||!ss(this.#u)||this.#u===0)&&(this.#f=rr.setInterval(()=>{(this.options.refetchIntervalInBackground||Rs.isFocused())&&this.#d()},this.#u))}#B(){this.#m(),this.#C(this.#p())}#A(){this.#c!==void 0&&(rr.clearTimeout(this.#c),this.#c=void 0)}#g(){this.#f!==void 0&&(rr.clearInterval(this.#f),this.#f=void 0)}createResult(t,r){const i=this.#t,a=this.options,o=this.#r,u=this.#i,s=this.#l,d=t!==i?t.state:this.#n,{state:E}=t;let p={...E},m=!1,C;if(r._optimisticResults){const j=this.hasListeners(),I=!j&&Dd(t,r),N=j&&yd(t,i,r,a);(I||N)&&(p={...p,...WE(E.data,t.options)}),r._optimisticResults==="isRestoring"&&(p.fetchStatus="idle")}let{error:B,errorUpdatedAt:g,status:y}=p;C=p.data;let F=!1;if(r.placeholderData!==void 0&&C===void 0&&y==="pending"){let j;o?.isPlaceholderData&&r.placeholderData===s?.placeholderData?(j=o.data,F=!0):j=typeof r.placeholderData=="function"?r.placeholderData(this.#E?.state.data,this.#E):r.placeholderData,j!==void 0&&(y="success",C=ds(o?.data,j,r),m=!0)}if(r.select&&C!==void 0&&!F)if(o&&C===u?.data&&r.select===this.#s)C=this.#o;else try{this.#s=r.select,C=r.select(C),C=ds(o?.data,C,r),this.#o=C,this.#a=null}catch(j){this.#a=j}this.#a&&(B=this.#a,C=this.#o,g=Date.now(),y="error");const b=p.fetchStatus==="fetching",L=y==="pending",w=y==="error",z=L&&b,R=C!==void 0,M={status:y,fetchStatus:p.fetchStatus,isPending:L,isSuccess:y==="success",isError:w,isInitialLoading:z,isLoading:z,data:C,dataUpdatedAt:p.dataUpdatedAt,error:B,errorUpdatedAt:g,failureCount:p.fetchFailureCount,failureReason:p.fetchFailureReason,errorUpdateCount:p.errorUpdateCount,isFetched:t.isFetched(),isFetchedAfterMount:p.dataUpdateCount>d.dataUpdateCount||p.errorUpdateCount>d.errorUpdateCount,isFetching:b,isRefetching:b&&!L,isLoadingError:w&&!R,isPaused:p.fetchStatus==="paused",isPlaceholderData:m,isRefetchError:w&&R,isStale:Ns(t,r),refetch:this.refetch,promise:this.#x,isEnabled:en(r.enabled,t)!==!1};if(this.options.experimental_prefetchInRender){const j=M.data!==void 0,I=M.status==="error"&&!j,N=ie=>{I?ie.reject(M.error):j&&ie.resolve(M.data)},J=()=>{const ie=this.#x=M.promise=Es();N(ie)},K=this.#x;switch(K.status){case"pending":t.queryHash===i.queryHash&&N(K);break;case"fulfilled":(I||M.data!==K.value)&&J();break;case"rejected":(!I||M.error!==K.reason)&&J();break}}return M}updateResult(){const t=this.#r,r=this.createResult(this.#t,this.options);if(this.#i=this.#t.state,this.#l=this.options,this.#i.data!==void 0&&(this.#E=this.#t),cs(r,t))return;this.#r=r;const i=()=>{if(!t)return!0;const{notifyOnChangeProps:a}=this.options,o=typeof a=="function"?a():a;if(o==="all"||!o&&!this.#h.size)return!0;const u=new Set(o??this.#h);return this.options.throwOnError&&u.add("error"),Object.keys(this.#r).some(s=>{const f=s;return this.#r[f]!==t[f]&&u.has(f)})};this.#y({listeners:i()})}#D(){const t=this.#e.getQueryCache().build(this.#e,this.options);if(t===this.#t)return;const r=this.#t;this.#t=t,this.#n=t.state,this.hasListeners()&&(r?.removeObserver(this),t.addObserver(this))}onQueryUpdate(){this.updateResult(),this.hasListeners()&&this.#B()}#y(t){Dt.batch(()=>{t.listeners&&this.listeners.forEach(r=>{r(this.#r)}),this.#e.getQueryCache().notify({query:this.#t,type:"observerResultsUpdated"})})}};function q5(t,r){return en(r.enabled,t)!==!1&&t.state.data===void 0&&!(t.state.status==="error"&&en(r.retryOnMount,t)===!1)}function Dd(t,r){return q5(t,r)||t.state.data!==void 0&&ms(t,r,r.refetchOnMount)}function ms(t,r,i){if(en(r.enabled,t)!==!1&&R0(r.staleTime,t)!=="static"){const a=typeof i=="function"?i(t):i;return a==="always"||a!==!1&&Ns(t,r)}return!1}function yd(t,r,i,a){return(t!==r||en(a.enabled,t)===!1)&&(!i.suspense||t.state.status!=="error")&&Ns(t,i)}function Ns(t,r){return en(r.enabled,t)!==!1&&t.isStaleByTime(R0(r.staleTime,t))}function Q5(t,r){return!cs(t.getCurrentResult(),r)}var G5=class extends $E{#e;#t;#n;#r;constructor(t){super(),this.#e=t.client,this.mutationId=t.mutationId,this.#n=t.mutationCache,this.#t=[],this.state=t.state||V5(),this.setOptions(t.options),this.scheduleGc()}setOptions(t){this.options=t,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(t){this.#t.includes(t)||(this.#t.push(t),this.clearGcTimeout(),this.#n.notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){this.#t=this.#t.filter(r=>r!==t),this.scheduleGc(),this.#n.notify({type:"observerRemoved",mutation:this,observer:t})}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(t){const r=()=>{this.#i({type:"continue"})},i={client:this.#e,meta:this.options.meta,mutationKey:this.options.mutationKey};this.#r=JE({fn:()=>this.options.mutationFn?this.options.mutationFn(t,i):Promise.reject(new Error("No mutationFn found")),onFail:(u,s)=>{this.#i({type:"failed",failureCount:u,error:s})},onPause:()=>{this.#i({type:"pause"})},onContinue:r,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>this.#n.canRun(this)});const a=this.state.status==="pending",o=!this.#r.canStart();try{if(a)r();else{this.#i({type:"pending",variables:t,isPaused:o}),this.#n.config.onMutate&&await this.#n.config.onMutate(t,this,i);const s=await this.options.onMutate?.(t,i);s!==this.state.context&&this.#i({type:"pending",context:s,variables:t,isPaused:o})}const u=await this.#r.start();return await this.#n.config.onSuccess?.(u,t,this.state.context,this,i),await this.options.onSuccess?.(u,t,this.state.context,i),await this.#n.config.onSettled?.(u,null,this.state.variables,this.state.context,this,i),await this.options.onSettled?.(u,null,t,this.state.context,i),this.#i({type:"success",data:u}),u}catch(u){try{await this.#n.config.onError?.(u,t,this.state.context,this,i)}catch(s){Promise.reject(s)}try{await this.options.onError?.(u,t,this.state.context,i)}catch(s){Promise.reject(s)}try{await this.#n.config.onSettled?.(void 0,u,this.state.variables,this.state.context,this,i)}catch(s){Promise.reject(s)}try{await this.options.onSettled?.(void 0,u,t,this.state.context,i)}catch(s){Promise.reject(s)}throw this.#i({type:"error",error:u}),u}finally{this.#n.runNext(this)}}#i(t){const r=i=>{switch(t.type){case"failed":return{...i,failureCount:t.failureCount,failureReason:t.error};case"pause":return{...i,isPaused:!0};case"continue":return{...i,isPaused:!1};case"pending":return{...i,context:t.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:t.isPaused,status:"pending",variables:t.variables,submittedAt:Date.now()};case"success":return{...i,data:t.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...i,data:void 0,error:t.error,failureCount:i.failureCount+1,failureReason:t.error,isPaused:!1,status:"error"}}};this.state=r(this.state),Dt.batch(()=>{this.#t.forEach(i=>{i.onMutationUpdate(t)}),this.#n.notify({mutation:this,type:"updated",action:t})})}};function V5(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var Y5=class extends Ci{constructor(t={}){super(),this.config=t,this.#e=new Set,this.#t=new Map,this.#n=0}#e;#t;#n;build(t,r,i){const a=new G5({client:t,mutationCache:this,mutationId:++this.#n,options:t.defaultMutationOptions(r),state:i});return this.add(a),a}add(t){this.#e.add(t);const r=Ua(t);if(typeof r=="string"){const i=this.#t.get(r);i?i.push(t):this.#t.set(r,[t])}this.notify({type:"added",mutation:t})}remove(t){if(this.#e.delete(t)){const r=Ua(t);if(typeof r=="string"){const i=this.#t.get(r);if(i)if(i.length>1){const a=i.indexOf(t);a!==-1&&i.splice(a,1)}else i[0]===t&&this.#t.delete(r)}}this.notify({type:"removed",mutation:t})}canRun(t){const r=Ua(t);if(typeof r=="string"){const a=this.#t.get(r)?.find(o=>o.state.status==="pending");return!a||a===t}else return!0}runNext(t){const r=Ua(t);return typeof r=="string"?this.#t.get(r)?.find(a=>a!==t&&a.state.isPaused)?.continue()??Promise.resolve():Promise.resolve()}clear(){Dt.batch(()=>{this.#e.forEach(t=>{this.notify({type:"removed",mutation:t})}),this.#e.clear(),this.#t.clear()})}getAll(){return Array.from(this.#e)}find(t){const r={exact:!0,...t};return this.getAll().find(i=>md(r,i))}findAll(t={}){return this.getAll().filter(r=>md(t,r))}notify(t){Dt.batch(()=>{this.listeners.forEach(r=>{r(t)})})}resumePausedMutations(){const t=this.getAll().filter(r=>r.state.isPaused);return Dt.batch(()=>Promise.all(t.map(r=>r.continue().catch(qt))))}};function Ua(t){return t.options.scope?.id}var I5=class extends Ci{constructor(t={}){super(),this.config=t,this.#e=new Map}#e;build(t,r,i){const a=r.queryKey,o=r.queryHash??Os(a,r);let u=this.get(o);return u||(u=new U5({client:t,queryKey:a,queryHash:o,options:t.defaultQueryOptions(r),state:i,defaultOptions:t.getQueryDefaults(a)}),this.add(u)),u}add(t){this.#e.has(t.queryHash)||(this.#e.set(t.queryHash,t),this.notify({type:"added",query:t}))}remove(t){const r=this.#e.get(t.queryHash);r&&(t.destroy(),r===t&&this.#e.delete(t.queryHash),this.notify({type:"removed",query:t}))}clear(){Dt.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}get(t){return this.#e.get(t)}getAll(){return[...this.#e.values()]}find(t){const r={exact:!0,...t};return this.getAll().find(i=>hd(r,i))}findAll(t={}){const r=this.getAll();return Object.keys(t).length>0?r.filter(i=>hd(t,i)):r}notify(t){Dt.batch(()=>{this.listeners.forEach(r=>{r(t)})})}onFocus(){Dt.batch(()=>{this.getAll().forEach(t=>{t.onFocus()})})}onOnline(){Dt.batch(()=>{this.getAll().forEach(t=>{t.onOnline()})})}},X5=class{#e;#t;#n;#r;#i;#l;#x;#a;constructor(t={}){this.#e=t.queryCache||new I5,this.#t=t.mutationCache||new Y5,this.#n=t.defaultOptions||{},this.#r=new Map,this.#i=new Map,this.#l=0}mount(){this.#l++,this.#l===1&&(this.#x=Rs.subscribe(async t=>{t&&(await this.resumePausedMutations(),this.#e.onFocus())}),this.#a=Wa.subscribe(async t=>{t&&(await this.resumePausedMutations(),this.#e.onOnline())}))}unmount(){this.#l--,this.#l===0&&(this.#x?.(),this.#x=void 0,this.#a?.(),this.#a=void 0)}isFetching(t){return this.#e.findAll({...t,fetchStatus:"fetching"}).length}isMutating(t){return this.#t.findAll({...t,status:"pending"}).length}getQueryData(t){const r=this.defaultQueryOptions({queryKey:t});return this.#e.get(r.queryHash)?.state.data}ensureQueryData(t){const r=this.defaultQueryOptions(t),i=this.#e.build(this,r),a=i.state.data;return a===void 0?this.fetchQuery(t):(t.revalidateIfStale&&i.isStaleByTime(R0(r.staleTime,i))&&this.prefetchQuery(r),Promise.resolve(a))}getQueriesData(t){return this.#e.findAll(t).map(({queryKey:r,state:i})=>{const a=i.data;return[r,a]})}setQueryData(t,r,i){const a=this.defaultQueryOptions({queryKey:t}),u=this.#e.get(a.queryHash)?.state.data,s=w5(r,u);if(s!==void 0)return this.#e.build(this,a).setData(s,{...i,manual:!0})}setQueriesData(t,r,i){return Dt.batch(()=>this.#e.findAll(t).map(({queryKey:a})=>[a,this.setQueryData(a,r,i)]))}getQueryState(t){const r=this.defaultQueryOptions({queryKey:t});return this.#e.get(r.queryHash)?.state}removeQueries(t){const r=this.#e;Dt.batch(()=>{r.findAll(t).forEach(i=>{r.remove(i)})})}resetQueries(t,r){const i=this.#e;return Dt.batch(()=>(i.findAll(t).forEach(a=>{a.reset()}),this.refetchQueries({type:"active",...t},r)))}cancelQueries(t,r={}){const i={revert:!0,...r},a=Dt.batch(()=>this.#e.findAll(t).map(o=>o.cancel(i)));return Promise.all(a).then(qt).catch(qt)}invalidateQueries(t,r={}){return Dt.batch(()=>(this.#e.findAll(t).forEach(i=>{i.invalidate()}),t?.refetchType==="none"?Promise.resolve():this.refetchQueries({...t,type:t?.refetchType??t?.type??"active"},r)))}refetchQueries(t,r={}){const i={...r,cancelRefetch:r.cancelRefetch??!0},a=Dt.batch(()=>this.#e.findAll(t).filter(o=>!o.isDisabled()&&!o.isStatic()).map(o=>{let u=o.fetch(void 0,i);return i.throwOnError||(u=u.catch(qt)),o.state.fetchStatus==="paused"?Promise.resolve():u}));return Promise.all(a).then(qt)}fetchQuery(t){const r=this.defaultQueryOptions(t);r.retry===void 0&&(r.retry=!1);const i=this.#e.build(this,r);return i.isStaleByTime(R0(r.staleTime,i))?i.fetch(r):Promise.resolve(i.state.data)}prefetchQuery(t){return this.fetchQuery(t).then(qt).catch(qt)}fetchInfiniteQuery(t){return t._type="infinite",this.fetchQuery(t)}prefetchInfiniteQuery(t){return this.fetchInfiniteQuery(t).then(qt).catch(qt)}ensureInfiniteQueryData(t){return t._type="infinite",this.ensureQueryData(t)}resumePausedMutations(){return Wa.isOnline()?this.#t.resumePausedMutations():Promise.resolve()}getQueryCache(){return this.#e}getMutationCache(){return this.#t}getDefaultOptions(){return this.#n}setDefaultOptions(t){this.#n=t}setQueryDefaults(t,r){this.#r.set(oi(t),{queryKey:t,defaultOptions:r})}getQueryDefaults(t){const r=[...this.#r.values()],i={};return r.forEach(a=>{ui(t,a.queryKey)&&Object.assign(i,a.defaultOptions)}),i}setMutationDefaults(t,r){this.#i.set(oi(t),{mutationKey:t,defaultOptions:r})}getMutationDefaults(t){const r=[...this.#i.values()],i={};return r.forEach(a=>{ui(t,a.mutationKey)&&Object.assign(i,a.defaultOptions)}),i}defaultQueryOptions(t){if(t._defaulted)return t;const r={...this.#n.queries,...this.getQueryDefaults(t.queryKey),...t,_defaulted:!0};return r.queryHash||(r.queryHash=Os(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===_s&&(r.enabled=!1),r}defaultMutationOptions(t){return t?._defaulted?t:{...this.#n.mutations,...t?.mutationKey&&this.getMutationDefaults(t.mutationKey),...t,_defaulted:!0}}clear(){this.#e.clear(),this.#t.clear()}},Nu={exports:{}},ye={};var Fd;function Z5(){if(Fd)return ye;Fd=1;var t=Symbol.for("react.transitional.element"),r=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),u=Symbol.for("react.consumer"),s=Symbol.for("react.context"),f=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),E=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),m=Symbol.for("react.activity"),C=Symbol.iterator;function B(T){return T===null||typeof T!="object"?null:(T=C&&T[C]||T["@@iterator"],typeof T=="function"?T:null)}var g={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},y=Object.assign,F={};function b(T,Z,k){this.props=T,this.context=Z,this.refs=F,this.updater=k||g}b.prototype.isReactComponent={},b.prototype.setState=function(T,Z){if(typeof T!="object"&&typeof T!="function"&&T!=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,T,Z,"setState")},b.prototype.forceUpdate=function(T){this.updater.enqueueForceUpdate(this,T,"forceUpdate")};function L(){}L.prototype=b.prototype;function w(T,Z,k){this.props=T,this.context=Z,this.refs=F,this.updater=k||g}var z=w.prototype=new L;z.constructor=w,y(z,b.prototype),z.isPureReactComponent=!0;var R=Array.isArray;function S(){}var M={H:null,A:null,T:null,S:null},j=Object.prototype.hasOwnProperty;function I(T,Z,k){var ne=k.ref;return{$$typeof:t,type:T,key:Z,ref:ne!==void 0?ne:null,props:k}}function N(T,Z){return I(T.type,Z,T.props)}function J(T){return typeof T=="object"&&T!==null&&T.$$typeof===t}function K(T){var Z={"=":"=0",":":"=2"};return"$"+T.replace(/[=:]/g,function(k){return Z[k]})}var ie=/\/+/g;function re(T,Z){return typeof T=="object"&&T!==null&&T.key!=null?K(""+T.key):Z.toString(36)}function X(T){switch(T.status){case"fulfilled":return T.value;case"rejected":throw T.reason;default:switch(typeof T.status=="string"?T.then(S,S):(T.status="pending",T.then(function(Z){T.status==="pending"&&(T.status="fulfilled",T.value=Z)},function(Z){T.status==="pending"&&(T.status="rejected",T.reason=Z)})),T.status){case"fulfilled":return T.value;case"rejected":throw T.reason}}throw T}function U(T,Z,k,ne,se){var oe=typeof T;(oe==="undefined"||oe==="boolean")&&(T=null);var me=!1;if(T===null)me=!0;else switch(oe){case"bigint":case"string":case"number":me=!0;break;case"object":switch(T.$$typeof){case t:case r:me=!0;break;case p:return me=T._init,U(me(T._payload),Z,k,ne,se)}}if(me)return se=se(T),me=ne===""?"."+re(T,0):ne,R(se)?(k="",me!=null&&(k=me.replace(ie,"$&/")+"/"),U(se,Z,k,"",function(ht){return ht})):se!=null&&(J(se)&&(se=N(se,k+(se.key==null||T&&T.key===se.key?"":(""+se.key).replace(ie,"$&/")+"/")+me)),Z.push(se)),1;me=0;var _e=ne===""?".":ne+":";if(R(T))for(var pe=0;pe<T.length;pe++)ne=T[pe],oe=_e+re(ne,pe),me+=U(ne,Z,k,oe,se);else if(pe=B(T),typeof pe=="function")for(T=pe.call(T),pe=0;!(ne=T.next()).done;)ne=ne.value,oe=_e+re(ne,pe++),me+=U(ne,Z,k,oe,se);else if(oe==="object"){if(typeof T.then=="function")return U(X(T),Z,k,ne,se);throw Z=String(T),Error("Objects are not valid as a React child (found: "+(Z==="[object Object]"?"object with keys {"+Object.keys(T).join(", ")+"}":Z)+"). If you meant to render a collection of children, use an array instead.")}return me}function V(T,Z,k){if(T==null)return T;var ne=[],se=0;return U(T,ne,"","",function(oe){return Z.call(k,oe,se++)}),ne}function ae(T){if(T._status===-1){var Z=T._result;Z=Z(),Z.then(function(k){(T._status===0||T._status===-1)&&(T._status=1,T._result=k)},function(k){(T._status===0||T._status===-1)&&(T._status=2,T._result=k)}),T._status===-1&&(T._status=0,T._result=Z)}if(T._status===1)return T._result.default;throw T._result}var ce=typeof reportError=="function"?reportError:function(T){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var Z=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(Z))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",T);return}console.error(T)},v={map:V,forEach:function(T,Z,k){V(T,function(){Z.apply(this,arguments)},k)},count:function(T){var Z=0;return V(T,function(){Z++}),Z},toArray:function(T){return V(T,function(Z){return Z})||[]},only:function(T){if(!J(T))throw Error("React.Children.only expected to receive a single React element child.");return T}};return ye.Activity=m,ye.Children=v,ye.Component=b,ye.Fragment=i,ye.Profiler=o,ye.PureComponent=w,ye.StrictMode=a,ye.Suspense=d,ye.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=M,ye.__COMPILER_RUNTIME={__proto__:null,c:function(T){return M.H.useMemoCache(T)}},ye.cache=function(T){return function(){return T.apply(null,arguments)}},ye.cacheSignal=function(){return null},ye.cloneElement=function(T,Z,k){if(T==null)throw Error("The argument must be a React element, but you passed "+T+".");var ne=y({},T.props),se=T.key;if(Z!=null)for(oe in Z.key!==void 0&&(se=""+Z.key),Z)!j.call(Z,oe)||oe==="key"||oe==="__self"||oe==="__source"||oe==="ref"&&Z.ref===void 0||(ne[oe]=Z[oe]);var oe=arguments.length-2;if(oe===1)ne.children=k;else if(1<oe){for(var me=Array(oe),_e=0;_e<oe;_e++)me[_e]=arguments[_e+2];ne.children=me}return I(T.type,se,ne)},ye.createContext=function(T){return T={$$typeof:s,_currentValue:T,_currentValue2:T,_threadCount:0,Provider:null,Consumer:null},T.Provider=T,T.Consumer={$$typeof:u,_context:T},T},ye.createElement=function(T,Z,k){var ne,se={},oe=null;if(Z!=null)for(ne in Z.key!==void 0&&(oe=""+Z.key),Z)j.call(Z,ne)&&ne!=="key"&&ne!=="__self"&&ne!=="__source"&&(se[ne]=Z[ne]);var me=arguments.length-2;if(me===1)se.children=k;else if(1<me){for(var _e=Array(me),pe=0;pe<me;pe++)_e[pe]=arguments[pe+2];se.children=_e}if(T&&T.defaultProps)for(ne in me=T.defaultProps,me)se[ne]===void 0&&(se[ne]=me[ne]);return I(T,oe,se)},ye.createRef=function(){return{current:null}},ye.forwardRef=function(T){return{$$typeof:f,render:T}},ye.isValidElement=J,ye.lazy=function(T){return{$$typeof:p,_payload:{_status:-1,_result:T},_init:ae}},ye.memo=function(T,Z){return{$$typeof:E,type:T,compare:Z===void 0?null:Z}},ye.startTransition=function(T){var Z=M.T,k={};M.T=k;try{var ne=T(),se=M.S;se!==null&&se(k,ne),typeof ne=="object"&&ne!==null&&typeof ne.then=="function"&&ne.then(S,ce)}catch(oe){ce(oe)}finally{Z!==null&&k.types!==null&&(Z.types=k.types),M.T=Z}},ye.unstable_useCacheRefresh=function(){return M.H.useCacheRefresh()},ye.use=function(T){return M.H.use(T)},ye.useActionState=function(T,Z,k){return M.H.useActionState(T,Z,k)},ye.useCallback=function(T,Z){return M.H.useCallback(T,Z)},ye.useContext=function(T){return M.H.useContext(T)},ye.useDebugValue=function(){},ye.useDeferredValue=function(T,Z){return M.H.useDeferredValue(T,Z)},ye.useEffect=function(T,Z){return M.H.useEffect(T,Z)},ye.useEffectEvent=function(T){return M.H.useEffectEvent(T)},ye.useId=function(){return M.H.useId()},ye.useImperativeHandle=function(T,Z,k){return M.H.useImperativeHandle(T,Z,k)},ye.useInsertionEffect=function(T,Z){return M.H.useInsertionEffect(T,Z)},ye.useLayoutEffect=function(T,Z){return M.H.useLayoutEffect(T,Z)},ye.useMemo=function(T,Z){return M.H.useMemo(T,Z)},ye.useOptimistic=function(T,Z){return M.H.useOptimistic(T,Z)},ye.useReducer=function(T,Z,k){return M.H.useReducer(T,Z,k)},ye.useRef=function(T){return M.H.useRef(T)},ye.useState=function(T){return M.H.useState(T)},ye.useSyncExternalStore=function(T,Z,k){return M.H.useSyncExternalStore(T,Z,k)},ye.useTransition=function(){return M.H.useTransition()},ye.version="19.2.7",ye}var vd;function js(){return vd||(vd=1,Nu.exports=Z5()),Nu.exports}var H=js();const Ha=ax(H);var eh=H.createContext(void 0),th=t=>{const r=H.useContext(eh);if(!r)throw new Error("No QueryClient set, use QueryClientProvider to set one");return r},K5=({client:t,children:r})=>(H.useEffect(()=>(t.mount(),()=>{t.unmount()}),[t]),O.jsx(eh.Provider,{value:t,children:r})),nh=H.createContext(!1),J5=()=>H.useContext(nh);nh.Provider;function $5(){let t=!1;return{clearReset:()=>{t=!1},reset:()=>{t=!0},isReset:()=>t}}var W5=H.createContext($5()),ep=()=>H.useContext(W5),tp=(t,r,i)=>{const a=i?.state.error&&typeof t.throwOnError=="function"?ZE(t.throwOnError,[i.state.error,i]):t.throwOnError;(t.suspense||t.experimental_prefetchInRender||a)&&(r.isReset()||(t.retryOnMount=!1))},np=t=>{H.useEffect(()=>{t.clearReset()},[t])},rp=({result:t,errorResetBoundary:r,throwOnError:i,query:a,suspense:o})=>t.isError&&!r.isReset()&&!t.isFetching&&a&&(o&&t.data===void 0||ZE(i,[t.error,a])),lp=t=>{if(t.suspense){const i=o=>o==="static"?o:Math.max(o??1e3,1e3),a=t.staleTime;t.staleTime=typeof a=="function"?(...o)=>i(a(...o)):i(a),typeof t.gcTime=="number"&&(t.gcTime=Math.max(t.gcTime,1e3))}},ip=(t,r)=>t.isLoading&&t.isFetching&&!r,ap=(t,r)=>t?.suspense&&r.isPending,bd=(t,r,i)=>r.fetchOptimistic(t).catch(()=>{i.clearReset()});function xp(t,r,i){const a=J5(),o=ep(),u=th(),s=u.defaultQueryOptions(t);u.getDefaultOptions().queries?._experimental_beforeQuery?.(s);const f=u.getQueryCache().get(s.queryHash),d=t.subscribed!==!1;s._optimisticResults=a?"isRestoring":d?"optimistic":void 0,lp(s),tp(s,o,f),np(o);const E=!u.getQueryCache().get(s.queryHash),[p]=H.useState(()=>new r(u,s)),m=p.getOptimisticResult(s),C=!a&&d;if(H.useSyncExternalStore(H.useCallback(B=>{const g=C?p.subscribe(Dt.batchCalls(B)):qt;return p.updateResult(),g},[p,C]),()=>p.getCurrentResult(),()=>p.getCurrentResult()),H.useEffect(()=>{p.setOptions(s)},[s,p]),ap(s,m))throw bd(s,p,o);if(rp({result:m,errorResetBoundary:o,throwOnError:s.throwOnError,query:f,suspense:s.suspense}))throw m.error;return u.getDefaultOptions().queries?._experimental_afterQuery?.(s,m),s.experimental_prefetchInRender&&!si.isServer()&&ip(m,a)&&(E?bd(s,p,o):f?.promise)?.catch(qt).finally(()=>{p.updateResult()}),s.notifyOnChangeProps?m:p.trackResult(m)}function Ls(t,r){return xp(t,H5)}var ju={exports:{}},Zl={},Lu={exports:{}},Pu={};var kd;function op(){return kd||(kd=1,(function(t){function r(U,V){var ae=U.length;U.push(V);e:for(;0<ae;){var ce=ae-1>>>1,v=U[ce];if(0<o(v,V))U[ce]=V,U[ae]=v,ae=ce;else break e}}function i(U){return U.length===0?null:U[0]}function a(U){if(U.length===0)return null;var V=U[0],ae=U.pop();if(ae!==V){U[0]=ae;e:for(var ce=0,v=U.length,T=v>>>1;ce<T;){var Z=2*(ce+1)-1,k=U[Z],ne=Z+1,se=U[ne];if(0>o(k,ae))ne<v&&0>o(se,k)?(U[ce]=se,U[ne]=ae,ce=ne):(U[ce]=k,U[Z]=ae,ce=Z);else if(ne<v&&0>o(se,ae))U[ce]=se,U[ne]=ae,ce=ne;else break e}}return V}function o(U,V){var ae=U.sortIndex-V.sortIndex;return ae!==0?ae:U.id-V.id}if(t.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var u=performance;t.unstable_now=function(){return u.now()}}else{var s=Date,f=s.now();t.unstable_now=function(){return s.now()-f}}var d=[],E=[],p=1,m=null,C=3,B=!1,g=!1,y=!1,F=!1,b=typeof setTimeout=="function"?setTimeout:null,L=typeof clearTimeout=="function"?clearTimeout:null,w=typeof setImmediate<"u"?setImmediate:null;function z(U){for(var V=i(E);V!==null;){if(V.callback===null)a(E);else if(V.startTime<=U)a(E),V.sortIndex=V.expirationTime,r(d,V);else break;V=i(E)}}function R(U){if(y=!1,z(U),!g)if(i(d)!==null)g=!0,S||(S=!0,K());else{var V=i(E);V!==null&&X(R,V.startTime-U)}}var S=!1,M=-1,j=5,I=-1;function N(){return F?!0:!(t.unstable_now()-I<j)}function J(){if(F=!1,S){var U=t.unstable_now();I=U;var V=!0;try{e:{g=!1,y&&(y=!1,L(M),M=-1),B=!0;var ae=C;try{t:{for(z(U),m=i(d);m!==null&&!(m.expirationTime>U&&N());){var ce=m.callback;if(typeof ce=="function"){m.callback=null,C=m.priorityLevel;var v=ce(m.expirationTime<=U);if(U=t.unstable_now(),typeof v=="function"){m.callback=v,z(U),V=!0;break t}m===i(d)&&a(d),z(U)}else a(d);m=i(d)}if(m!==null)V=!0;else{var T=i(E);T!==null&&X(R,T.startTime-U),V=!1}}break e}finally{m=null,C=ae,B=!1}V=void 0}}finally{V?K():S=!1}}}var K;if(typeof w=="function")K=function(){w(J)};else if(typeof MessageChannel<"u"){var ie=new MessageChannel,re=ie.port2;ie.port1.onmessage=J,K=function(){re.postMessage(null)}}else K=function(){b(J,0)};function X(U,V){M=b(function(){U(t.unstable_now())},V)}t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(U){U.callback=null},t.unstable_forceFrameRate=function(U){0>U||125<U?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):j=0<U?Math.floor(1e3/U):5},t.unstable_getCurrentPriorityLevel=function(){return C},t.unstable_next=function(U){switch(C){case 1:case 2:case 3:var V=3;break;default:V=C}var ae=C;C=V;try{return U()}finally{C=ae}},t.unstable_requestPaint=function(){F=!0},t.unstable_runWithPriority=function(U,V){switch(U){case 1:case 2:case 3:case 4:case 5:break;default:U=3}var ae=C;C=U;try{return V()}finally{C=ae}},t.unstable_scheduleCallback=function(U,V,ae){var ce=t.unstable_now();switch(typeof ae=="object"&&ae!==null?(ae=ae.delay,ae=typeof ae=="number"&&0<ae?ce+ae:ce):ae=ce,U){case 1:var v=-1;break;case 2:v=250;break;case 5:v=1073741823;break;case 4:v=1e4;break;default:v=5e3}return v=ae+v,U={id:p++,callback:V,priorityLevel:U,startTime:ae,expirationTime:v,sortIndex:-1},ae>ce?(U.sortIndex=ae,r(E,U),i(d)===null&&U===i(E)&&(y?(L(M),M=-1):y=!0,X(R,ae-ce))):(U.sortIndex=v,r(d,U),g||B||(g=!0,S||(S=!0,K()))),U},t.unstable_shouldYield=N,t.unstable_wrapCallback=function(U){var V=C;return function(){var ae=C;C=V;try{return U.apply(this,arguments)}finally{C=ae}}}})(Pu)),Pu}var wd;function up(){return wd||(wd=1,Lu.exports=op()),Lu.exports}var Uu={exports:{}},Ft={};var Sd;function sp(){if(Sd)return Ft;Sd=1;var t=js();function r(d){var E="https://react.dev/errors/"+d;if(1<arguments.length){E+="?args[]="+encodeURIComponent(arguments[1]);for(var p=2;p<arguments.length;p++)E+="&args[]="+encodeURIComponent(arguments[p])}return"Minified React error #"+d+"; visit "+E+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function i(){}var a={d:{f:i,r:function(){throw Error(r(522))},D:i,C:i,L:i,m:i,X:i,S:i,M:i},p:0,findDOMNode:null},o=Symbol.for("react.portal");function u(d,E,p){var m=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:o,key:m==null?null:""+m,children:d,containerInfo:E,implementation:p}}var s=t.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function f(d,E){if(d==="font")return"";if(typeof E=="string")return E==="use-credentials"?E:""}return Ft.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=a,Ft.createPortal=function(d,E){var p=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!E||E.nodeType!==1&&E.nodeType!==9&&E.nodeType!==11)throw Error(r(299));return u(d,E,null,p)},Ft.flushSync=function(d){var E=s.T,p=a.p;try{if(s.T=null,a.p=2,d)return d()}finally{s.T=E,a.p=p,a.d.f()}},Ft.preconnect=function(d,E){typeof d=="string"&&(E?(E=E.crossOrigin,E=typeof E=="string"?E==="use-credentials"?E:"":void 0):E=null,a.d.C(d,E))},Ft.prefetchDNS=function(d){typeof d=="string"&&a.d.D(d)},Ft.preinit=function(d,E){if(typeof d=="string"&&E&&typeof E.as=="string"){var p=E.as,m=f(p,E.crossOrigin),C=typeof E.integrity=="string"?E.integrity:void 0,B=typeof E.fetchPriority=="string"?E.fetchPriority:void 0;p==="style"?a.d.S(d,typeof E.precedence=="string"?E.precedence:void 0,{crossOrigin:m,integrity:C,fetchPriority:B}):p==="script"&&a.d.X(d,{crossOrigin:m,integrity:C,fetchPriority:B,nonce:typeof E.nonce=="string"?E.nonce:void 0})}},Ft.preinitModule=function(d,E){if(typeof d=="string")if(typeof E=="object"&&E!==null){if(E.as==null||E.as==="script"){var p=f(E.as,E.crossOrigin);a.d.M(d,{crossOrigin:p,integrity:typeof E.integrity=="string"?E.integrity:void 0,nonce:typeof E.nonce=="string"?E.nonce:void 0})}}else E==null&&a.d.M(d)},Ft.preload=function(d,E){if(typeof d=="string"&&typeof E=="object"&&E!==null&&typeof E.as=="string"){var p=E.as,m=f(p,E.crossOrigin);a.d.L(d,p,{crossOrigin:m,integrity:typeof E.integrity=="string"?E.integrity:void 0,nonce:typeof E.nonce=="string"?E.nonce:void 0,type:typeof E.type=="string"?E.type:void 0,fetchPriority:typeof E.fetchPriority=="string"?E.fetchPriority:void 0,referrerPolicy:typeof E.referrerPolicy=="string"?E.referrerPolicy:void 0,imageSrcSet:typeof E.imageSrcSet=="string"?E.imageSrcSet:void 0,imageSizes:typeof E.imageSizes=="string"?E.imageSizes:void 0,media:typeof E.media=="string"?E.media:void 0})}},Ft.preloadModule=function(d,E){if(typeof d=="string")if(E){var p=f(E.as,E.crossOrigin);a.d.m(d,{as:typeof E.as=="string"&&E.as!=="script"?E.as:void 0,crossOrigin:p,integrity:typeof E.integrity=="string"?E.integrity:void 0})}else a.d.m(d)},Ft.requestFormReset=function(d){a.d.r(d)},Ft.unstable_batchedUpdates=function(d,E){return d(E)},Ft.useFormState=function(d,E,p){return s.H.useFormState(d,E,p)},Ft.useFormStatus=function(){return s.H.useHostTransitionStatus()},Ft.version="19.2.7",Ft}var Td;function cp(){if(Td)return Uu.exports;Td=1;function t(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(t)}catch(r){console.error(r)}}return t(),Uu.exports=sp(),Uu.exports}var zd;function fp(){if(zd)return Zl;zd=1;var t=up(),r=js(),i=cp();function a(e){var n="https://react.dev/errors/"+e;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 #"+e+"; visit "+n+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function o(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function u(e){var n=e,l=e;if(e.alternate)for(;n.return;)n=n.return;else{e=n;do n=e,(n.flags&4098)!==0&&(l=n.return),e=n.return;while(e)}return n.tag===3?l:null}function s(e){if(e.tag===13){var n=e.memoizedState;if(n===null&&(e=e.alternate,e!==null&&(n=e.memoizedState)),n!==null)return n.dehydrated}return null}function f(e){if(e.tag===31){var n=e.memoizedState;if(n===null&&(e=e.alternate,e!==null&&(n=e.memoizedState)),n!==null)return n.dehydrated}return null}function d(e){if(u(e)!==e)throw Error(a(188))}function E(e){var n=e.alternate;if(!n){if(n=u(e),n===null)throw Error(a(188));return n!==e?null:e}for(var l=e,x=n;;){var c=l.return;if(c===null)break;var h=c.alternate;if(h===null){if(x=c.return,x!==null){l=x;continue}break}if(c.child===h.child){for(h=c.child;h;){if(h===l)return d(c),e;if(h===x)return d(c),n;h=h.sibling}throw Error(a(188))}if(l.return!==x.return)l=c,x=h;else{for(var A=!1,D=c.child;D;){if(D===l){A=!0,l=c,x=h;break}if(D===x){A=!0,x=c,l=h;break}D=D.sibling}if(!A){for(D=h.child;D;){if(D===l){A=!0,l=h,x=c;break}if(D===x){A=!0,x=h,l=c;break}D=D.sibling}if(!A)throw Error(a(189))}}if(l.alternate!==x)throw Error(a(190))}if(l.tag!==3)throw Error(a(188));return l.stateNode.current===l?e:n}function p(e){var n=e.tag;if(n===5||n===26||n===27||n===6)return e;for(e=e.child;e!==null;){if(n=p(e),n!==null)return n;e=e.sibling}return null}var m=Object.assign,C=Symbol.for("react.element"),B=Symbol.for("react.transitional.element"),g=Symbol.for("react.portal"),y=Symbol.for("react.fragment"),F=Symbol.for("react.strict_mode"),b=Symbol.for("react.profiler"),L=Symbol.for("react.consumer"),w=Symbol.for("react.context"),z=Symbol.for("react.forward_ref"),R=Symbol.for("react.suspense"),S=Symbol.for("react.suspense_list"),M=Symbol.for("react.memo"),j=Symbol.for("react.lazy"),I=Symbol.for("react.activity"),N=Symbol.for("react.memo_cache_sentinel"),J=Symbol.iterator;function K(e){return e===null||typeof e!="object"?null:(e=J&&e[J]||e["@@iterator"],typeof e=="function"?e:null)}var ie=Symbol.for("react.client.reference");function re(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===ie?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case y:return"Fragment";case b:return"Profiler";case F:return"StrictMode";case R:return"Suspense";case S:return"SuspenseList";case I:return"Activity"}if(typeof e=="object")switch(e.$$typeof){case g:return"Portal";case w:return e.displayName||"Context";case L:return(e._context.displayName||"Context")+".Consumer";case z:var n=e.render;return e=e.displayName,e||(e=n.displayName||n.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case M:return n=e.displayName||null,n!==null?n:re(e.type)||"Memo";case j:n=e._payload,e=e._init;try{return re(e(n))}catch{}}return null}var X=Array.isArray,U=r.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,V=i.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,ae={pending:!1,data:null,method:null,action:null},ce=[],v=-1;function T(e){return{current:e}}function Z(e){0>v||(e.current=ce[v],ce[v]=null,v--)}function k(e,n){v++,ce[v]=e.current,e.current=n}var ne=T(null),se=T(null),oe=T(null),me=T(null);function _e(e,n){switch(k(oe,n),k(se,e),k(ne,null),n.nodeType){case 9:case 11:e=(e=n.documentElement)&&(e=e.namespaceURI)?_8(e):0;break;default:if(e=n.tagName,n=n.namespaceURI)n=_8(n),e=N8(n,e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}Z(ne),k(ne,e)}function pe(){Z(ne),Z(se),Z(oe)}function ht(e){e.memoizedState!==null&&k(me,e);var n=ne.current,l=N8(n,e.type);n!==l&&(k(se,e),k(ne,l))}function tt(e){se.current===e&&(Z(ne),Z(se)),me.current===e&&(Z(me),Gl._currentValue=ae)}var rn,Gt;function lt(e){if(rn===void 0)try{throw Error()}catch(l){var n=l.stack.trim().match(/\n( *(at )?)/);rn=n&&n[1]||"",Gt=-1<l.stack.indexOf(`
|
|
2
|
+
at`)?" (<anonymous>)":-1<l.stack.indexOf("@")?"@unknown:0:0":""}return`
|
|
3
|
+
`+rn+e+Gt}var Mt=!1;function ln(e,n){if(!e||Mt)return"";Mt=!0;var l=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var x={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($){var Y=$}Reflect.construct(e,[],le)}else{try{le.call()}catch($){Y=$}e.call(le.prototype)}}else{try{throw Error()}catch($){Y=$}(le=e())&&typeof le.catch=="function"&&le.catch(function(){})}}catch($){if($&&Y&&typeof $.stack=="string")return[$.stack,Y.stack]}return[null,null]}};x.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var c=Object.getOwnPropertyDescriptor(x.DetermineComponentFrameRoot,"name");c&&c.configurable&&Object.defineProperty(x.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var h=x.DetermineComponentFrameRoot(),A=h[0],D=h[1];if(A&&D){var _=A.split(`
|
|
4
|
+
`),G=D.split(`
|
|
5
|
+
`);for(c=x=0;x<_.length&&!_[x].includes("DetermineComponentFrameRoot");)x++;for(;c<G.length&&!G[c].includes("DetermineComponentFrameRoot");)c++;if(x===_.length||c===G.length)for(x=_.length-1,c=G.length-1;1<=x&&0<=c&&_[x]!==G[c];)c--;for(;1<=x&&0<=c;x--,c--)if(_[x]!==G[c]){if(x!==1||c!==1)do if(x--,c--,0>c||_[x]!==G[c]){var W=`
|
|
6
|
+
`+_[x].replace(" at new "," at ");return e.displayName&&W.includes("<anonymous>")&&(W=W.replace("<anonymous>",e.displayName)),W}while(1<=x&&0<=c);break}}}finally{Mt=!1,Error.prepareStackTrace=l}return(l=e?e.displayName||e.name:"")?lt(l):""}function Nn(e,n){switch(e.tag){case 26:case 27:case 5:return lt(e.type);case 16:return lt("Lazy");case 13:return e.child!==n&&n!==null?lt("Suspense Fallback"):lt("Suspense");case 19:return lt("SuspenseList");case 0:case 15:return ln(e.type,!1);case 11:return ln(e.type.render,!1);case 1:return ln(e.type,!0);case 31:return lt("Activity");default:return""}}function wn(e){try{var n="",l=null;do n+=Nn(e,l),l=e,e=e.return;while(e);return n}catch(x){return`
|
|
7
|
+
Error generating stack: `+x.message+`
|
|
8
|
+
`+x.stack}}var mt=Object.prototype.hasOwnProperty,sr=t.unstable_scheduleCallback,yt=t.unstable_cancelCallback,Bx=t.unstable_shouldYield,Ax=t.unstable_requestPaint,kt=t.unstable_now,gx=t.unstable_getCurrentPriorityLevel,ee=t.unstable_ImmediatePriority,ue=t.unstable_UserBlockingPriority,ge=t.unstable_NormalPriority,ke=t.unstable_LowPriority,Pe=t.unstable_IdlePriority,Vt=t.log,jn=t.unstable_setDisableYieldValue,wt=null,st=null;function Rt(e){if(typeof Vt=="function"&&jn(e),st&&typeof st.setStrictMode=="function")try{st.setStrictMode(wt,e)}catch{}}var Ve=Math.clz32?Math.clz32:r1,a0=Math.log,Bn=Math.LN2;function r1(e){return e>>>=0,e===0?32:31-(a0(e)/Bn|0)|0}var Fi=256,vi=262144,bi=4194304;function N0(e){var n=e&42;if(n!==0)return n;switch(e&-e){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 e&261888;case 262144:case 524288:case 1048576:case 2097152:return e&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return e&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return e}}function ki(e,n,l){var x=e.pendingLanes;if(x===0)return 0;var c=0,h=e.suspendedLanes,A=e.pingedLanes;e=e.warmLanes;var D=x&134217727;return D!==0?(x=D&~h,x!==0?c=N0(x):(A&=D,A!==0?c=N0(A):l||(l=D&~e,l!==0&&(c=N0(l))))):(D=x&~h,D!==0?c=N0(D):A!==0?c=N0(A):l||(l=x&~e,l!==0&&(c=N0(l)))),c===0?0:n!==0&&n!==c&&(n&h)===0&&(h=c&-c,l=n&-n,h>=l||h===32&&(l&4194048)!==0)?n:c}function rl(e,n){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&n)===0}function l1(e,n){switch(e){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 hc(){var e=bi;return bi<<=1,(bi&62914560)===0&&(bi=4194304),e}function Dx(e){for(var n=[],l=0;31>l;l++)n.push(e);return n}function ll(e,n){e.pendingLanes|=n,n!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function i1(e,n,l,x,c,h){var A=e.pendingLanes;e.pendingLanes=l,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=l,e.entangledLanes&=l,e.errorRecoveryDisabledLanes&=l,e.shellSuspendCounter=0;var D=e.entanglements,_=e.expirationTimes,G=e.hiddenUpdates;for(l=A&~l;0<l;){var W=31-Ve(l),le=1<<W;D[W]=0,_[W]=-1;var Y=G[W];if(Y!==null)for(G[W]=null,W=0;W<Y.length;W++){var $=Y[W];$!==null&&($.lane&=-536870913)}l&=~le}x!==0&&mc(e,x,0),h!==0&&c===0&&e.tag!==0&&(e.suspendedLanes|=h&~(A&~n))}function mc(e,n,l){e.pendingLanes|=n,e.suspendedLanes&=~n;var x=31-Ve(n);e.entangledLanes|=n,e.entanglements[x]=e.entanglements[x]|1073741824|l&261930}function pc(e,n){var l=e.entangledLanes|=n;for(e=e.entanglements;l;){var x=31-Ve(l),c=1<<x;c&n|e[x]&n&&(e[x]|=n),l&=~c}}function Cc(e,n){var l=n&-n;return l=(l&42)!==0?1:yx(l),(l&(e.suspendedLanes|n))!==0?0:l}function yx(e){switch(e){case 2:e=1;break;case 8:e=4;break;case 32:e=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:e=128;break;case 268435456:e=134217728;break;default:e=0}return e}function Fx(e){return e&=-e,2<e?8<e?(e&134217727)!==0?32:268435456:8:2}function Bc(){var e=V.p;return e!==0?e:(e=window.event,e===void 0?32:id(e.type))}function Ac(e,n){var l=V.p;try{return V.p=e,n()}finally{V.p=l}}var x0=Math.random().toString(36).slice(2),pt="__reactFiber$"+x0,Ot="__reactProps$"+x0,cr="__reactContainer$"+x0,vx="__reactEvents$"+x0,a1="__reactListeners$"+x0,x1="__reactHandles$"+x0,gc="__reactResources$"+x0,il="__reactMarker$"+x0;function bx(e){delete e[pt],delete e[Ot],delete e[vx],delete e[a1],delete e[x1]}function fr(e){var n=e[pt];if(n)return n;for(var l=e.parentNode;l;){if(n=l[cr]||l[pt]){if(l=n.alternate,n.child!==null||l!==null&&l.child!==null)for(e=Q8(e);e!==null;){if(l=e[pt])return l;e=Q8(e)}return n}e=l,l=e.parentNode}return null}function dr(e){if(e=e[pt]||e[cr]){var n=e.tag;if(n===5||n===6||n===13||n===31||n===26||n===27||n===3)return e}return null}function al(e){var n=e.tag;if(n===5||n===26||n===27||n===6)return e.stateNode;throw Error(a(33))}function Er(e){var n=e[gc];return n||(n=e[gc]={hoistableStyles:new Map,hoistableScripts:new Map}),n}function dt(e){e[il]=!0}var Dc=new Set,yc={};function j0(e,n){hr(e,n),hr(e+"Capture",n)}function hr(e,n){for(yc[e]=n,e=0;e<n.length;e++)Dc.add(n[e])}var o1=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]*$"),Fc={},vc={};function u1(e){return mt.call(vc,e)?!0:mt.call(Fc,e)?!1:o1.test(e)?vc[e]=!0:(Fc[e]=!0,!1)}function wi(e,n,l){if(u1(n))if(l===null)e.removeAttribute(n);else{switch(typeof l){case"undefined":case"function":case"symbol":e.removeAttribute(n);return;case"boolean":var x=n.toLowerCase().slice(0,5);if(x!=="data-"&&x!=="aria-"){e.removeAttribute(n);return}}e.setAttribute(n,""+l)}}function Si(e,n,l){if(l===null)e.removeAttribute(n);else{switch(typeof l){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(n);return}e.setAttribute(n,""+l)}}function Ln(e,n,l,x){if(x===null)e.removeAttribute(l);else{switch(typeof x){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(l);return}e.setAttributeNS(n,l,""+x)}}function an(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function bc(e){var n=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(n==="checkbox"||n==="radio")}function s1(e,n,l){var x=Object.getOwnPropertyDescriptor(e.constructor.prototype,n);if(!e.hasOwnProperty(n)&&typeof x<"u"&&typeof x.get=="function"&&typeof x.set=="function"){var c=x.get,h=x.set;return Object.defineProperty(e,n,{configurable:!0,get:function(){return c.call(this)},set:function(A){l=""+A,h.call(this,A)}}),Object.defineProperty(e,n,{enumerable:x.enumerable}),{getValue:function(){return l},setValue:function(A){l=""+A},stopTracking:function(){e._valueTracker=null,delete e[n]}}}}function kx(e){if(!e._valueTracker){var n=bc(e)?"checked":"value";e._valueTracker=s1(e,n,""+e[n])}}function kc(e){if(!e)return!1;var n=e._valueTracker;if(!n)return!0;var l=n.getValue(),x="";return e&&(x=bc(e)?e.checked?"true":"false":e.value),e=x,e!==l?(n.setValue(e),!0):!1}function Ti(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}var c1=/[\n"\\]/g;function xn(e){return e.replace(c1,function(n){return"\\"+n.charCodeAt(0).toString(16)+" "})}function wx(e,n,l,x,c,h,A,D){e.name="",A!=null&&typeof A!="function"&&typeof A!="symbol"&&typeof A!="boolean"?e.type=A:e.removeAttribute("type"),n!=null?A==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+an(n)):e.value!==""+an(n)&&(e.value=""+an(n)):A!=="submit"&&A!=="reset"||e.removeAttribute("value"),n!=null?Sx(e,A,an(n)):l!=null?Sx(e,A,an(l)):x!=null&&e.removeAttribute("value"),c==null&&h!=null&&(e.defaultChecked=!!h),c!=null&&(e.checked=c&&typeof c!="function"&&typeof c!="symbol"),D!=null&&typeof D!="function"&&typeof D!="symbol"&&typeof D!="boolean"?e.name=""+an(D):e.removeAttribute("name")}function wc(e,n,l,x,c,h,A,D){if(h!=null&&typeof h!="function"&&typeof h!="symbol"&&typeof h!="boolean"&&(e.type=h),n!=null||l!=null){if(!(h!=="submit"&&h!=="reset"||n!=null)){kx(e);return}l=l!=null?""+an(l):"",n=n!=null?""+an(n):l,D||n===e.value||(e.value=n),e.defaultValue=n}x=x??c,x=typeof x!="function"&&typeof x!="symbol"&&!!x,e.checked=D?e.checked:!!x,e.defaultChecked=!!x,A!=null&&typeof A!="function"&&typeof A!="symbol"&&typeof A!="boolean"&&(e.name=A),kx(e)}function Sx(e,n,l){n==="number"&&Ti(e.ownerDocument)===e||e.defaultValue===""+l||(e.defaultValue=""+l)}function mr(e,n,l,x){if(e=e.options,n){n={};for(var c=0;c<l.length;c++)n["$"+l[c]]=!0;for(l=0;l<e.length;l++)c=n.hasOwnProperty("$"+e[l].value),e[l].selected!==c&&(e[l].selected=c),c&&x&&(e[l].defaultSelected=!0)}else{for(l=""+an(l),n=null,c=0;c<e.length;c++){if(e[c].value===l){e[c].selected=!0,x&&(e[c].defaultSelected=!0);return}n!==null||e[c].disabled||(n=e[c])}n!==null&&(n.selected=!0)}}function Sc(e,n,l){if(n!=null&&(n=""+an(n),n!==e.value&&(e.value=n),l==null)){e.defaultValue!==n&&(e.defaultValue=n);return}e.defaultValue=l!=null?""+an(l):""}function Tc(e,n,l,x){if(n==null){if(x!=null){if(l!=null)throw Error(a(92));if(X(x)){if(1<x.length)throw Error(a(93));x=x[0]}l=x}l==null&&(l=""),n=l}l=an(n),e.defaultValue=l,x=e.textContent,x===l&&x!==""&&x!==null&&(e.value=x),kx(e)}function pr(e,n){if(n){var l=e.firstChild;if(l&&l===e.lastChild&&l.nodeType===3){l.nodeValue=n;return}}e.textContent=n}var f1=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 zc(e,n,l){var x=n.indexOf("--")===0;l==null||typeof l=="boolean"||l===""?x?e.setProperty(n,""):n==="float"?e.cssFloat="":e[n]="":x?e.setProperty(n,l):typeof l!="number"||l===0||f1.has(n)?n==="float"?e.cssFloat=l:e[n]=(""+l).trim():e[n]=l+"px"}function Mc(e,n,l){if(n!=null&&typeof n!="object")throw Error(a(62));if(e=e.style,l!=null){for(var x in l)!l.hasOwnProperty(x)||n!=null&&n.hasOwnProperty(x)||(x.indexOf("--")===0?e.setProperty(x,""):x==="float"?e.cssFloat="":e[x]="");for(var c in n)x=n[c],n.hasOwnProperty(c)&&l[c]!==x&&zc(e,c,x)}else for(var h in n)n.hasOwnProperty(h)&&zc(e,h,n[h])}function Tx(e){if(e.indexOf("-")===-1)return!1;switch(e){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 d1=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"]]),E1=/^[\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 zi(e){return E1.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}function Pn(){}var zx=null;function Mx(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Cr=null,Br=null;function Rc(e){var n=dr(e);if(n&&(e=n.stateNode)){var l=e[Ot]||null;e:switch(e=n.stateNode,n.type){case"input":if(wx(e,l.value,l.defaultValue,l.defaultValue,l.checked,l.defaultChecked,l.type,l.name),n=l.name,l.type==="radio"&&n!=null){for(l=e;l.parentNode;)l=l.parentNode;for(l=l.querySelectorAll('input[name="'+xn(""+n)+'"][type="radio"]'),n=0;n<l.length;n++){var x=l[n];if(x!==e&&x.form===e.form){var c=x[Ot]||null;if(!c)throw Error(a(90));wx(x,c.value,c.defaultValue,c.defaultValue,c.checked,c.defaultChecked,c.type,c.name)}}for(n=0;n<l.length;n++)x=l[n],x.form===e.form&&kc(x)}break e;case"textarea":Sc(e,l.value,l.defaultValue);break e;case"select":n=l.value,n!=null&&mr(e,!!l.multiple,n,!1)}}}var Rx=!1;function Oc(e,n,l){if(Rx)return e(n,l);Rx=!0;try{var x=e(n);return x}finally{if(Rx=!1,(Cr!==null||Br!==null)&&(Ca(),Cr&&(n=Cr,e=Br,Br=Cr=null,Rc(n),e)))for(n=0;n<e.length;n++)Rc(e[n])}}function xl(e,n){var l=e.stateNode;if(l===null)return null;var x=l[Ot]||null;if(x===null)return null;l=x[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":(x=!x.disabled)||(e=e.type,x=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!x;break e;default:e=!1}if(e)return null;if(l&&typeof l!="function")throw Error(a(231,n,typeof l));return l}var Un=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Ox=!1;if(Un)try{var ol={};Object.defineProperty(ol,"passive",{get:function(){Ox=!0}}),window.addEventListener("test",ol,ol),window.removeEventListener("test",ol,ol)}catch{Ox=!1}var o0=null,_x=null,Mi=null;function _c(){if(Mi)return Mi;var e,n=_x,l=n.length,x,c="value"in o0?o0.value:o0.textContent,h=c.length;for(e=0;e<l&&n[e]===c[e];e++);var A=l-e;for(x=1;x<=A&&n[l-x]===c[h-x];x++);return Mi=c.slice(e,1<x?1-x:void 0)}function Ri(e){var n=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&n===13&&(e=13)):e=n,e===10&&(e=13),32<=e||e===13?e:0}function Oi(){return!0}function Nc(){return!1}function _t(e){function n(l,x,c,h,A){this._reactName=l,this._targetInst=c,this.type=x,this.nativeEvent=h,this.target=A,this.currentTarget=null;for(var D in e)e.hasOwnProperty(D)&&(l=e[D],this[D]=l?l(h):h[D]);return this.isDefaultPrevented=(h.defaultPrevented!=null?h.defaultPrevented:h.returnValue===!1)?Oi:Nc,this.isPropagationStopped=Nc,this}return m(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=Oi)},stopPropagation:function(){var l=this.nativeEvent;l&&(l.stopPropagation?l.stopPropagation():typeof l.cancelBubble!="unknown"&&(l.cancelBubble=!0),this.isPropagationStopped=Oi)},persist:function(){},isPersistent:Oi}),n}var L0={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},_i=_t(L0),ul=m({},L0,{view:0,detail:0}),h1=_t(ul),Nx,jx,sl,Ni=m({},ul,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Px,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==sl&&(sl&&e.type==="mousemove"?(Nx=e.screenX-sl.screenX,jx=e.screenY-sl.screenY):jx=Nx=0,sl=e),Nx)},movementY:function(e){return"movementY"in e?e.movementY:jx}}),jc=_t(Ni),m1=m({},Ni,{dataTransfer:0}),p1=_t(m1),C1=m({},ul,{relatedTarget:0}),Lx=_t(C1),B1=m({},L0,{animationName:0,elapsedTime:0,pseudoElement:0}),A1=_t(B1),g1=m({},L0,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),D1=_t(g1),y1=m({},L0,{data:0}),Lc=_t(y1),F1={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},v1={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"},b1={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function k1(e){var n=this.nativeEvent;return n.getModifierState?n.getModifierState(e):(e=b1[e])?!!n[e]:!1}function Px(){return k1}var w1=m({},ul,{key:function(e){if(e.key){var n=F1[e.key]||e.key;if(n!=="Unidentified")return n}return e.type==="keypress"?(e=Ri(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?v1[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Px,charCode:function(e){return e.type==="keypress"?Ri(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Ri(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),S1=_t(w1),T1=m({},Ni,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Pc=_t(T1),z1=m({},ul,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Px}),M1=_t(z1),R1=m({},L0,{propertyName:0,elapsedTime:0,pseudoElement:0}),O1=_t(R1),_1=m({},Ni,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),N1=_t(_1),j1=m({},L0,{newState:0,oldState:0}),L1=_t(j1),P1=[9,13,27,32],Ux=Un&&"CompositionEvent"in window,cl=null;Un&&"documentMode"in document&&(cl=document.documentMode);var U1=Un&&"TextEvent"in window&&!cl,Uc=Un&&(!Ux||cl&&8<cl&&11>=cl),Hc=" ",qc=!1;function Qc(e,n){switch(e){case"keyup":return P1.indexOf(n.keyCode)!==-1;case"keydown":return n.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Gc(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Ar=!1;function H1(e,n){switch(e){case"compositionend":return Gc(n);case"keypress":return n.which!==32?null:(qc=!0,Hc);case"textInput":return e=n.data,e===Hc&&qc?null:e;default:return null}}function q1(e,n){if(Ar)return e==="compositionend"||!Ux&&Qc(e,n)?(e=_c(),Mi=_x=o0=null,Ar=!1,e):null;switch(e){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 Uc&&n.locale!=="ko"?null:n.data;default:return null}}var Q1={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 Vc(e){var n=e&&e.nodeName&&e.nodeName.toLowerCase();return n==="input"?!!Q1[e.type]:n==="textarea"}function Yc(e,n,l,x){Cr?Br?Br.push(x):Br=[x]:Cr=x,n=va(n,"onChange"),0<n.length&&(l=new _i("onChange","change",null,l,x),e.push({event:l,listeners:n}))}var fl=null,dl=null;function G1(e){S8(e,0)}function ji(e){var n=al(e);if(kc(n))return e}function Ic(e,n){if(e==="change")return n}var Xc=!1;if(Un){var Hx;if(Un){var qx="oninput"in document;if(!qx){var Zc=document.createElement("div");Zc.setAttribute("oninput","return;"),qx=typeof Zc.oninput=="function"}Hx=qx}else Hx=!1;Xc=Hx&&(!document.documentMode||9<document.documentMode)}function Kc(){fl&&(fl.detachEvent("onpropertychange",Jc),dl=fl=null)}function Jc(e){if(e.propertyName==="value"&&ji(dl)){var n=[];Yc(n,dl,e,Mx(e)),Oc(G1,n)}}function V1(e,n,l){e==="focusin"?(Kc(),fl=n,dl=l,fl.attachEvent("onpropertychange",Jc)):e==="focusout"&&Kc()}function Y1(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return ji(dl)}function I1(e,n){if(e==="click")return ji(n)}function X1(e,n){if(e==="input"||e==="change")return ji(n)}function Z1(e,n){return e===n&&(e!==0||1/e===1/n)||e!==e&&n!==n}var Yt=typeof Object.is=="function"?Object.is:Z1;function El(e,n){if(Yt(e,n))return!0;if(typeof e!="object"||e===null||typeof n!="object"||n===null)return!1;var l=Object.keys(e),x=Object.keys(n);if(l.length!==x.length)return!1;for(x=0;x<l.length;x++){var c=l[x];if(!mt.call(n,c)||!Yt(e[c],n[c]))return!1}return!0}function $c(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Wc(e,n){var l=$c(e);e=0;for(var x;l;){if(l.nodeType===3){if(x=e+l.textContent.length,e<=n&&x>=n)return{node:l,offset:n-e};e=x}e:{for(;l;){if(l.nextSibling){l=l.nextSibling;break e}l=l.parentNode}l=void 0}l=$c(l)}}function ef(e,n){return e&&n?e===n?!0:e&&e.nodeType===3?!1:n&&n.nodeType===3?ef(e,n.parentNode):"contains"in e?e.contains(n):e.compareDocumentPosition?!!(e.compareDocumentPosition(n)&16):!1:!1}function tf(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var n=Ti(e.document);n instanceof e.HTMLIFrameElement;){try{var l=typeof n.contentWindow.location.href=="string"}catch{l=!1}if(l)e=n.contentWindow;else break;n=Ti(e.document)}return n}function Qx(e){var n=e&&e.nodeName&&e.nodeName.toLowerCase();return n&&(n==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||n==="textarea"||e.contentEditable==="true")}var K1=Un&&"documentMode"in document&&11>=document.documentMode,gr=null,Gx=null,hl=null,Vx=!1;function nf(e,n,l){var x=l.window===l?l.document:l.nodeType===9?l:l.ownerDocument;Vx||gr==null||gr!==Ti(x)||(x=gr,"selectionStart"in x&&Qx(x)?x={start:x.selectionStart,end:x.selectionEnd}:(x=(x.ownerDocument&&x.ownerDocument.defaultView||window).getSelection(),x={anchorNode:x.anchorNode,anchorOffset:x.anchorOffset,focusNode:x.focusNode,focusOffset:x.focusOffset}),hl&&El(hl,x)||(hl=x,x=va(Gx,"onSelect"),0<x.length&&(n=new _i("onSelect","select",null,n,l),e.push({event:n,listeners:x}),n.target=gr)))}function P0(e,n){var l={};return l[e.toLowerCase()]=n.toLowerCase(),l["Webkit"+e]="webkit"+n,l["Moz"+e]="moz"+n,l}var Dr={animationend:P0("Animation","AnimationEnd"),animationiteration:P0("Animation","AnimationIteration"),animationstart:P0("Animation","AnimationStart"),transitionrun:P0("Transition","TransitionRun"),transitionstart:P0("Transition","TransitionStart"),transitioncancel:P0("Transition","TransitionCancel"),transitionend:P0("Transition","TransitionEnd")},Yx={},rf={};Un&&(rf=document.createElement("div").style,"AnimationEvent"in window||(delete Dr.animationend.animation,delete Dr.animationiteration.animation,delete Dr.animationstart.animation),"TransitionEvent"in window||delete Dr.transitionend.transition);function U0(e){if(Yx[e])return Yx[e];if(!Dr[e])return e;var n=Dr[e],l;for(l in n)if(n.hasOwnProperty(l)&&l in rf)return Yx[e]=n[l];return e}var lf=U0("animationend"),af=U0("animationiteration"),xf=U0("animationstart"),J1=U0("transitionrun"),$1=U0("transitionstart"),W1=U0("transitioncancel"),of=U0("transitionend"),uf=new Map,Ix="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(" ");Ix.push("scrollEnd");function An(e,n){uf.set(e,n),j0(n,[e])}var Li=typeof reportError=="function"?reportError:function(e){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var n=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof e=="object"&&e!==null&&typeof e.message=="string"?String(e.message):String(e),error:e});if(!window.dispatchEvent(n))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",e);return}console.error(e)},on=[],yr=0,Xx=0;function Pi(){for(var e=yr,n=Xx=yr=0;n<e;){var l=on[n];on[n++]=null;var x=on[n];on[n++]=null;var c=on[n];on[n++]=null;var h=on[n];if(on[n++]=null,x!==null&&c!==null){var A=x.pending;A===null?c.next=c:(c.next=A.next,A.next=c),x.pending=c}h!==0&&sf(l,c,h)}}function Ui(e,n,l,x){on[yr++]=e,on[yr++]=n,on[yr++]=l,on[yr++]=x,Xx|=x,e.lanes|=x,e=e.alternate,e!==null&&(e.lanes|=x)}function Zx(e,n,l,x){return Ui(e,n,l,x),Hi(e)}function H0(e,n){return Ui(e,null,null,n),Hi(e)}function sf(e,n,l){e.lanes|=l;var x=e.alternate;x!==null&&(x.lanes|=l);for(var c=!1,h=e.return;h!==null;)h.childLanes|=l,x=h.alternate,x!==null&&(x.childLanes|=l),h.tag===22&&(e=h.stateNode,e===null||e._visibility&1||(c=!0)),e=h,h=h.return;return e.tag===3?(h=e.stateNode,c&&n!==null&&(c=31-Ve(l),e=h.hiddenUpdates,x=e[c],x===null?e[c]=[n]:x.push(n),n.lane=l|536870912),h):null}function Hi(e){if(50<jl)throw jl=0,iu=null,Error(a(185));for(var n=e.return;n!==null;)e=n,n=e.return;return e.tag===3?e.stateNode:null}var Fr={};function em(e,n,l,x){this.tag=e,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=x,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function It(e,n,l,x){return new em(e,n,l,x)}function Kx(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Hn(e,n){var l=e.alternate;return l===null?(l=It(e.tag,n,e.key,e.mode),l.elementType=e.elementType,l.type=e.type,l.stateNode=e.stateNode,l.alternate=e,e.alternate=l):(l.pendingProps=n,l.type=e.type,l.flags=0,l.subtreeFlags=0,l.deletions=null),l.flags=e.flags&65011712,l.childLanes=e.childLanes,l.lanes=e.lanes,l.child=e.child,l.memoizedProps=e.memoizedProps,l.memoizedState=e.memoizedState,l.updateQueue=e.updateQueue,n=e.dependencies,l.dependencies=n===null?null:{lanes:n.lanes,firstContext:n.firstContext},l.sibling=e.sibling,l.index=e.index,l.ref=e.ref,l.refCleanup=e.refCleanup,l}function cf(e,n){e.flags&=65011714;var l=e.alternate;return l===null?(e.childLanes=0,e.lanes=n,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null):(e.childLanes=l.childLanes,e.lanes=l.lanes,e.child=l.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=l.memoizedProps,e.memoizedState=l.memoizedState,e.updateQueue=l.updateQueue,e.type=l.type,n=l.dependencies,e.dependencies=n===null?null:{lanes:n.lanes,firstContext:n.firstContext}),e}function qi(e,n,l,x,c,h){var A=0;if(x=e,typeof e=="function")Kx(e)&&(A=1);else if(typeof e=="string")A=i5(e,l,ne.current)?26:e==="html"||e==="head"||e==="body"?27:5;else e:switch(e){case I:return e=It(31,l,n,c),e.elementType=I,e.lanes=h,e;case y:return q0(l.children,c,h,n);case F:A=8,c|=24;break;case b:return e=It(12,l,n,c|2),e.elementType=b,e.lanes=h,e;case R:return e=It(13,l,n,c),e.elementType=R,e.lanes=h,e;case S:return e=It(19,l,n,c),e.elementType=S,e.lanes=h,e;default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case w:A=10;break e;case L:A=9;break e;case z:A=11;break e;case M:A=14;break e;case j:A=16,x=null;break e}A=29,l=Error(a(130,e===null?"null":typeof e,"")),x=null}return n=It(A,l,n,c),n.elementType=e,n.type=x,n.lanes=h,n}function q0(e,n,l,x){return e=It(7,e,x,n),e.lanes=l,e}function Jx(e,n,l){return e=It(6,e,null,n),e.lanes=l,e}function ff(e){var n=It(18,null,null,0);return n.stateNode=e,n}function $x(e,n,l){return n=It(4,e.children!==null?e.children:[],e.key,n),n.lanes=l,n.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},n}var df=new WeakMap;function un(e,n){if(typeof e=="object"&&e!==null){var l=df.get(e);return l!==void 0?l:(n={value:e,source:n,stack:wn(n)},df.set(e,n),n)}return{value:e,source:n,stack:wn(n)}}var vr=[],br=0,Qi=null,ml=0,sn=[],cn=0,u0=null,Sn=1,Tn="";function qn(e,n){vr[br++]=ml,vr[br++]=Qi,Qi=e,ml=n}function Ef(e,n,l){sn[cn++]=Sn,sn[cn++]=Tn,sn[cn++]=u0,u0=e;var x=Sn;e=Tn;var c=32-Ve(x)-1;x&=~(1<<c),l+=1;var h=32-Ve(n)+c;if(30<h){var A=c-c%5;h=(x&(1<<A)-1).toString(32),x>>=A,c-=A,Sn=1<<32-Ve(n)+c|l<<c|x,Tn=h+e}else Sn=1<<h|l<<c|x,Tn=e}function Wx(e){e.return!==null&&(qn(e,1),Ef(e,1,0))}function eo(e){for(;e===Qi;)Qi=vr[--br],vr[br]=null,ml=vr[--br],vr[br]=null;for(;e===u0;)u0=sn[--cn],sn[cn]=null,Tn=sn[--cn],sn[cn]=null,Sn=sn[--cn],sn[cn]=null}function hf(e,n){sn[cn++]=Sn,sn[cn++]=Tn,sn[cn++]=u0,Sn=n.id,Tn=n.overflow,u0=e}var Ct=null,Ze=null,Re=!1,s0=null,fn=!1,to=Error(a(519));function c0(e){var n=Error(a(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw pl(un(n,e)),to}function mf(e){var n=e.stateNode,l=e.type,x=e.memoizedProps;switch(n[pt]=e,n[Ot]=x,l){case"dialog":Se("cancel",n),Se("close",n);break;case"iframe":case"object":case"embed":Se("load",n);break;case"video":case"audio":for(l=0;l<Pl.length;l++)Se(Pl[l],n);break;case"source":Se("error",n);break;case"img":case"image":case"link":Se("error",n),Se("load",n);break;case"details":Se("toggle",n);break;case"input":Se("invalid",n),wc(n,x.value,x.defaultValue,x.checked,x.defaultChecked,x.type,x.name,!0);break;case"select":Se("invalid",n);break;case"textarea":Se("invalid",n),Tc(n,x.value,x.defaultValue,x.children)}l=x.children,typeof l!="string"&&typeof l!="number"&&typeof l!="bigint"||n.textContent===""+l||x.suppressHydrationWarning===!0||R8(n.textContent,l)?(x.popover!=null&&(Se("beforetoggle",n),Se("toggle",n)),x.onScroll!=null&&Se("scroll",n),x.onScrollEnd!=null&&Se("scrollend",n),x.onClick!=null&&(n.onclick=Pn),n=!0):n=!1,n||c0(e,!0)}function pf(e){for(Ct=e.return;Ct;)switch(Ct.tag){case 5:case 31:case 13:fn=!1;return;case 27:case 3:fn=!0;return;default:Ct=Ct.return}}function kr(e){if(e!==Ct)return!1;if(!Re)return pf(e),Re=!0,!1;var n=e.tag,l;if((l=n!==3&&n!==27)&&((l=n===5)&&(l=e.type,l=!(l!=="form"&&l!=="button")||Au(e.type,e.memoizedProps)),l=!l),l&&Ze&&c0(e),pf(e),n===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(a(317));Ze=q8(e)}else if(n===31){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(a(317));Ze=q8(e)}else n===27?(n=Ze,v0(e.type)?(e=vu,vu=null,Ze=e):Ze=n):Ze=Ct?En(e.stateNode.nextSibling):null;return!0}function Q0(){Ze=Ct=null,Re=!1}function no(){var e=s0;return e!==null&&(Pt===null?Pt=e:Pt.push.apply(Pt,e),s0=null),e}function pl(e){s0===null?s0=[e]:s0.push(e)}var ro=T(null),G0=null,Qn=null;function f0(e,n,l){k(ro,n._currentValue),n._currentValue=l}function Gn(e){e._currentValue=ro.current,Z(ro)}function lo(e,n,l){for(;e!==null;){var x=e.alternate;if((e.childLanes&n)!==n?(e.childLanes|=n,x!==null&&(x.childLanes|=n)):x!==null&&(x.childLanes&n)!==n&&(x.childLanes|=n),e===l)break;e=e.return}}function io(e,n,l,x){var c=e.child;for(c!==null&&(c.return=e);c!==null;){var h=c.dependencies;if(h!==null){var A=c.child;h=h.firstContext;e:for(;h!==null;){var D=h;h=c;for(var _=0;_<n.length;_++)if(D.context===n[_]){h.lanes|=l,D=h.alternate,D!==null&&(D.lanes|=l),lo(h.return,l,e),x||(A=null);break e}h=D.next}}else if(c.tag===18){if(A=c.return,A===null)throw Error(a(341));A.lanes|=l,h=A.alternate,h!==null&&(h.lanes|=l),lo(A,l,e),A=null}else A=c.child;if(A!==null)A.return=c;else for(A=c;A!==null;){if(A===e){A=null;break}if(c=A.sibling,c!==null){c.return=A.return,A=c;break}A=A.return}c=A}}function wr(e,n,l,x){e=null;for(var c=n,h=!1;c!==null;){if(!h){if((c.flags&524288)!==0)h=!0;else if((c.flags&262144)!==0)break}if(c.tag===10){var A=c.alternate;if(A===null)throw Error(a(387));if(A=A.memoizedProps,A!==null){var D=c.type;Yt(c.pendingProps.value,A.value)||(e!==null?e.push(D):e=[D])}}else if(c===me.current){if(A=c.alternate,A===null)throw Error(a(387));A.memoizedState.memoizedState!==c.memoizedState.memoizedState&&(e!==null?e.push(Gl):e=[Gl])}c=c.return}e!==null&&io(n,e,l,x),n.flags|=262144}function Gi(e){for(e=e.firstContext;e!==null;){if(!Yt(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function V0(e){G0=e,Qn=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function Bt(e){return Cf(G0,e)}function Vi(e,n){return G0===null&&V0(e),Cf(e,n)}function Cf(e,n){var l=n._currentValue;if(n={context:n,memoizedValue:l,next:null},Qn===null){if(e===null)throw Error(a(308));Qn=n,e.dependencies={lanes:0,firstContext:n},e.flags|=524288}else Qn=Qn.next=n;return l}var tm=typeof AbortController<"u"?AbortController:function(){var e=[],n=this.signal={aborted:!1,addEventListener:function(l,x){e.push(x)}};this.abort=function(){n.aborted=!0,e.forEach(function(l){return l()})}},nm=t.unstable_scheduleCallback,rm=t.unstable_NormalPriority,it={$$typeof:w,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function ao(){return{controller:new tm,data:new Map,refCount:0}}function Cl(e){e.refCount--,e.refCount===0&&nm(rm,function(){e.controller.abort()})}var Bl=null,xo=0,Sr=0,Tr=null;function lm(e,n){if(Bl===null){var l=Bl=[];xo=0,Sr=cu(),Tr={status:"pending",value:void 0,then:function(x){l.push(x)}}}return xo++,n.then(Bf,Bf),n}function Bf(){if(--xo===0&&Bl!==null){Tr!==null&&(Tr.status="fulfilled");var e=Bl;Bl=null,Sr=0,Tr=null;for(var n=0;n<e.length;n++)(0,e[n])()}}function im(e,n){var l=[],x={status:"pending",value:null,reason:null,then:function(c){l.push(c)}};return e.then(function(){x.status="fulfilled",x.value=n;for(var c=0;c<l.length;c++)(0,l[c])(n)},function(c){for(x.status="rejected",x.reason=c,c=0;c<l.length;c++)(0,l[c])(void 0)}),x}var Af=U.S;U.S=function(e,n){r8=kt(),typeof n=="object"&&n!==null&&typeof n.then=="function"&&lm(e,n),Af!==null&&Af(e,n)};var Y0=T(null);function oo(){var e=Y0.current;return e!==null?e:Ye.pooledCache}function Yi(e,n){n===null?k(Y0,Y0.current):k(Y0,n.pool)}function gf(){var e=oo();return e===null?null:{parent:it._currentValue,pool:e}}var zr=Error(a(460)),uo=Error(a(474)),Ii=Error(a(542)),Xi={then:function(){}};function Df(e){return e=e.status,e==="fulfilled"||e==="rejected"}function yf(e,n,l){switch(l=e[l],l===void 0?e.push(n):l!==n&&(n.then(Pn,Pn),n=l),n.status){case"fulfilled":return n.value;case"rejected":throw e=n.reason,vf(e),e;default:if(typeof n.status=="string")n.then(Pn,Pn);else{if(e=Ye,e!==null&&100<e.shellSuspendCounter)throw Error(a(482));e=n,e.status="pending",e.then(function(x){if(n.status==="pending"){var c=n;c.status="fulfilled",c.value=x}},function(x){if(n.status==="pending"){var c=n;c.status="rejected",c.reason=x}})}switch(n.status){case"fulfilled":return n.value;case"rejected":throw e=n.reason,vf(e),e}throw X0=n,zr}}function I0(e){try{var n=e._init;return n(e._payload)}catch(l){throw l!==null&&typeof l=="object"&&typeof l.then=="function"?(X0=l,zr):l}}var X0=null;function Ff(){if(X0===null)throw Error(a(459));var e=X0;return X0=null,e}function vf(e){if(e===zr||e===Ii)throw Error(a(483))}var Mr=null,Al=0;function Zi(e){var n=Al;return Al+=1,Mr===null&&(Mr=[]),yf(Mr,e,n)}function gl(e,n){n=n.props.ref,e.ref=n!==void 0?n:null}function Ki(e,n){throw n.$$typeof===C?Error(a(525)):(e=Object.prototype.toString.call(n),Error(a(31,e==="[object Object]"?"object with keys {"+Object.keys(n).join(", ")+"}":e)))}function bf(e){function n(q,P){if(e){var Q=q.deletions;Q===null?(q.deletions=[P],q.flags|=16):Q.push(P)}}function l(q,P){if(!e)return null;for(;P!==null;)n(q,P),P=P.sibling;return null}function x(q){for(var P=new Map;q!==null;)q.key!==null?P.set(q.key,q):P.set(q.index,q),q=q.sibling;return P}function c(q,P){return q=Hn(q,P),q.index=0,q.sibling=null,q}function h(q,P,Q){return q.index=Q,e?(Q=q.alternate,Q!==null?(Q=Q.index,Q<P?(q.flags|=67108866,P):Q):(q.flags|=67108866,P)):(q.flags|=1048576,P)}function A(q){return e&&q.alternate===null&&(q.flags|=67108866),q}function D(q,P,Q,te){return P===null||P.tag!==6?(P=Jx(Q,q.mode,te),P.return=q,P):(P=c(P,Q),P.return=q,P)}function _(q,P,Q,te){var Ce=Q.type;return Ce===y?W(q,P,Q.props.children,te,Q.key):P!==null&&(P.elementType===Ce||typeof Ce=="object"&&Ce!==null&&Ce.$$typeof===j&&I0(Ce)===P.type)?(P=c(P,Q.props),gl(P,Q),P.return=q,P):(P=qi(Q.type,Q.key,Q.props,null,q.mode,te),gl(P,Q),P.return=q,P)}function G(q,P,Q,te){return P===null||P.tag!==4||P.stateNode.containerInfo!==Q.containerInfo||P.stateNode.implementation!==Q.implementation?(P=$x(Q,q.mode,te),P.return=q,P):(P=c(P,Q.children||[]),P.return=q,P)}function W(q,P,Q,te,Ce){return P===null||P.tag!==7?(P=q0(Q,q.mode,te,Ce),P.return=q,P):(P=c(P,Q),P.return=q,P)}function le(q,P,Q){if(typeof P=="string"&&P!==""||typeof P=="number"||typeof P=="bigint")return P=Jx(""+P,q.mode,Q),P.return=q,P;if(typeof P=="object"&&P!==null){switch(P.$$typeof){case B:return Q=qi(P.type,P.key,P.props,null,q.mode,Q),gl(Q,P),Q.return=q,Q;case g:return P=$x(P,q.mode,Q),P.return=q,P;case j:return P=I0(P),le(q,P,Q)}if(X(P)||K(P))return P=q0(P,q.mode,Q,null),P.return=q,P;if(typeof P.then=="function")return le(q,Zi(P),Q);if(P.$$typeof===w)return le(q,Vi(q,P),Q);Ki(q,P)}return null}function Y(q,P,Q,te){var Ce=P!==null?P.key:null;if(typeof Q=="string"&&Q!==""||typeof Q=="number"||typeof Q=="bigint")return Ce!==null?null:D(q,P,""+Q,te);if(typeof Q=="object"&&Q!==null){switch(Q.$$typeof){case B:return Q.key===Ce?_(q,P,Q,te):null;case g:return Q.key===Ce?G(q,P,Q,te):null;case j:return Q=I0(Q),Y(q,P,Q,te)}if(X(Q)||K(Q))return Ce!==null?null:W(q,P,Q,te,null);if(typeof Q.then=="function")return Y(q,P,Zi(Q),te);if(Q.$$typeof===w)return Y(q,P,Vi(q,Q),te);Ki(q,Q)}return null}function $(q,P,Q,te,Ce){if(typeof te=="string"&&te!==""||typeof te=="number"||typeof te=="bigint")return q=q.get(Q)||null,D(P,q,""+te,Ce);if(typeof te=="object"&&te!==null){switch(te.$$typeof){case B:return q=q.get(te.key===null?Q:te.key)||null,_(P,q,te,Ce);case g:return q=q.get(te.key===null?Q:te.key)||null,G(P,q,te,Ce);case j:return te=I0(te),$(q,P,Q,te,Ce)}if(X(te)||K(te))return q=q.get(Q)||null,W(P,q,te,Ce,null);if(typeof te.then=="function")return $(q,P,Q,Zi(te),Ce);if(te.$$typeof===w)return $(q,P,Q,Vi(P,te),Ce);Ki(P,te)}return null}function Ee(q,P,Q,te){for(var Ce=null,Ne=null,he=P,ve=P=0,Me=null;he!==null&&ve<Q.length;ve++){he.index>ve?(Me=he,he=null):Me=he.sibling;var je=Y(q,he,Q[ve],te);if(je===null){he===null&&(he=Me);break}e&&he&&je.alternate===null&&n(q,he),P=h(je,P,ve),Ne===null?Ce=je:Ne.sibling=je,Ne=je,he=Me}if(ve===Q.length)return l(q,he),Re&&qn(q,ve),Ce;if(he===null){for(;ve<Q.length;ve++)he=le(q,Q[ve],te),he!==null&&(P=h(he,P,ve),Ne===null?Ce=he:Ne.sibling=he,Ne=he);return Re&&qn(q,ve),Ce}for(he=x(he);ve<Q.length;ve++)Me=$(he,q,ve,Q[ve],te),Me!==null&&(e&&Me.alternate!==null&&he.delete(Me.key===null?ve:Me.key),P=h(Me,P,ve),Ne===null?Ce=Me:Ne.sibling=Me,Ne=Me);return e&&he.forEach(function(T0){return n(q,T0)}),Re&&qn(q,ve),Ce}function Ae(q,P,Q,te){if(Q==null)throw Error(a(151));for(var Ce=null,Ne=null,he=P,ve=P=0,Me=null,je=Q.next();he!==null&&!je.done;ve++,je=Q.next()){he.index>ve?(Me=he,he=null):Me=he.sibling;var T0=Y(q,he,je.value,te);if(T0===null){he===null&&(he=Me);break}e&&he&&T0.alternate===null&&n(q,he),P=h(T0,P,ve),Ne===null?Ce=T0:Ne.sibling=T0,Ne=T0,he=Me}if(je.done)return l(q,he),Re&&qn(q,ve),Ce;if(he===null){for(;!je.done;ve++,je=Q.next())je=le(q,je.value,te),je!==null&&(P=h(je,P,ve),Ne===null?Ce=je:Ne.sibling=je,Ne=je);return Re&&qn(q,ve),Ce}for(he=x(he);!je.done;ve++,je=Q.next())je=$(he,q,ve,je.value,te),je!==null&&(e&&je.alternate!==null&&he.delete(je.key===null?ve:je.key),P=h(je,P,ve),Ne===null?Ce=je:Ne.sibling=je,Ne=je);return e&&he.forEach(function(m5){return n(q,m5)}),Re&&qn(q,ve),Ce}function Ge(q,P,Q,te){if(typeof Q=="object"&&Q!==null&&Q.type===y&&Q.key===null&&(Q=Q.props.children),typeof Q=="object"&&Q!==null){switch(Q.$$typeof){case B:e:{for(var Ce=Q.key;P!==null;){if(P.key===Ce){if(Ce=Q.type,Ce===y){if(P.tag===7){l(q,P.sibling),te=c(P,Q.props.children),te.return=q,q=te;break e}}else if(P.elementType===Ce||typeof Ce=="object"&&Ce!==null&&Ce.$$typeof===j&&I0(Ce)===P.type){l(q,P.sibling),te=c(P,Q.props),gl(te,Q),te.return=q,q=te;break e}l(q,P);break}else n(q,P);P=P.sibling}Q.type===y?(te=q0(Q.props.children,q.mode,te,Q.key),te.return=q,q=te):(te=qi(Q.type,Q.key,Q.props,null,q.mode,te),gl(te,Q),te.return=q,q=te)}return A(q);case g:e:{for(Ce=Q.key;P!==null;){if(P.key===Ce)if(P.tag===4&&P.stateNode.containerInfo===Q.containerInfo&&P.stateNode.implementation===Q.implementation){l(q,P.sibling),te=c(P,Q.children||[]),te.return=q,q=te;break e}else{l(q,P);break}else n(q,P);P=P.sibling}te=$x(Q,q.mode,te),te.return=q,q=te}return A(q);case j:return Q=I0(Q),Ge(q,P,Q,te)}if(X(Q))return Ee(q,P,Q,te);if(K(Q)){if(Ce=K(Q),typeof Ce!="function")throw Error(a(150));return Q=Ce.call(Q),Ae(q,P,Q,te)}if(typeof Q.then=="function")return Ge(q,P,Zi(Q),te);if(Q.$$typeof===w)return Ge(q,P,Vi(q,Q),te);Ki(q,Q)}return typeof Q=="string"&&Q!==""||typeof Q=="number"||typeof Q=="bigint"?(Q=""+Q,P!==null&&P.tag===6?(l(q,P.sibling),te=c(P,Q),te.return=q,q=te):(l(q,P),te=Jx(Q,q.mode,te),te.return=q,q=te),A(q)):l(q,P)}return function(q,P,Q,te){try{Al=0;var Ce=Ge(q,P,Q,te);return Mr=null,Ce}catch(he){if(he===zr||he===Ii)throw he;var Ne=It(29,he,null,q.mode);return Ne.lanes=te,Ne.return=q,Ne}}}var Z0=bf(!0),kf=bf(!1),d0=!1;function so(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function co(e,n){e=e.updateQueue,n.updateQueue===e&&(n.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function E0(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function h0(e,n,l){var x=e.updateQueue;if(x===null)return null;if(x=x.shared,(Le&2)!==0){var c=x.pending;return c===null?n.next=n:(n.next=c.next,c.next=n),x.pending=n,n=Hi(e),sf(e,null,l),n}return Ui(e,x,n,l),Hi(e)}function Dl(e,n,l){if(n=n.updateQueue,n!==null&&(n=n.shared,(l&4194048)!==0)){var x=n.lanes;x&=e.pendingLanes,l|=x,n.lanes=l,pc(e,l)}}function fo(e,n){var l=e.updateQueue,x=e.alternate;if(x!==null&&(x=x.updateQueue,l===x)){var c=null,h=null;if(l=l.firstBaseUpdate,l!==null){do{var A={lane:l.lane,tag:l.tag,payload:l.payload,callback:null,next:null};h===null?c=h=A:h=h.next=A,l=l.next}while(l!==null);h===null?c=h=n:h=h.next=n}else c=h=n;l={baseState:x.baseState,firstBaseUpdate:c,lastBaseUpdate:h,shared:x.shared,callbacks:x.callbacks},e.updateQueue=l;return}e=l.lastBaseUpdate,e===null?l.firstBaseUpdate=n:e.next=n,l.lastBaseUpdate=n}var Eo=!1;function yl(){if(Eo){var e=Tr;if(e!==null)throw e}}function Fl(e,n,l,x){Eo=!1;var c=e.updateQueue;d0=!1;var h=c.firstBaseUpdate,A=c.lastBaseUpdate,D=c.shared.pending;if(D!==null){c.shared.pending=null;var _=D,G=_.next;_.next=null,A===null?h=G:A.next=G,A=_;var W=e.alternate;W!==null&&(W=W.updateQueue,D=W.lastBaseUpdate,D!==A&&(D===null?W.firstBaseUpdate=G:D.next=G,W.lastBaseUpdate=_))}if(h!==null){var le=c.baseState;A=0,W=G=_=null,D=h;do{var Y=D.lane&-536870913,$=Y!==D.lane;if($?(ze&Y)===Y:(x&Y)===Y){Y!==0&&Y===Sr&&(Eo=!0),W!==null&&(W=W.next={lane:0,tag:D.tag,payload:D.payload,callback:null,next:null});e:{var Ee=e,Ae=D;Y=n;var Ge=l;switch(Ae.tag){case 1:if(Ee=Ae.payload,typeof Ee=="function"){le=Ee.call(Ge,le,Y);break e}le=Ee;break e;case 3:Ee.flags=Ee.flags&-65537|128;case 0:if(Ee=Ae.payload,Y=typeof Ee=="function"?Ee.call(Ge,le,Y):Ee,Y==null)break e;le=m({},le,Y);break e;case 2:d0=!0}}Y=D.callback,Y!==null&&(e.flags|=64,$&&(e.flags|=8192),$=c.callbacks,$===null?c.callbacks=[Y]:$.push(Y))}else $={lane:Y,tag:D.tag,payload:D.payload,callback:D.callback,next:null},W===null?(G=W=$,_=le):W=W.next=$,A|=Y;if(D=D.next,D===null){if(D=c.shared.pending,D===null)break;$=D,D=$.next,$.next=null,c.lastBaseUpdate=$,c.shared.pending=null}}while(!0);W===null&&(_=le),c.baseState=_,c.firstBaseUpdate=G,c.lastBaseUpdate=W,h===null&&(c.shared.lanes=0),A0|=A,e.lanes=A,e.memoizedState=le}}function wf(e,n){if(typeof e!="function")throw Error(a(191,e));e.call(n)}function Sf(e,n){var l=e.callbacks;if(l!==null)for(e.callbacks=null,e=0;e<l.length;e++)wf(l[e],n)}var Rr=T(null),Ji=T(0);function Tf(e,n){e=Wn,k(Ji,e),k(Rr,n),Wn=e|n.baseLanes}function ho(){k(Ji,Wn),k(Rr,Rr.current)}function mo(){Wn=Ji.current,Z(Rr),Z(Ji)}var Xt=T(null),dn=null;function m0(e){var n=e.alternate;k(nt,nt.current&1),k(Xt,e),dn===null&&(n===null||Rr.current!==null||n.memoizedState!==null)&&(dn=e)}function po(e){k(nt,nt.current),k(Xt,e),dn===null&&(dn=e)}function zf(e){e.tag===22?(k(nt,nt.current),k(Xt,e),dn===null&&(dn=e)):p0()}function p0(){k(nt,nt.current),k(Xt,Xt.current)}function Zt(e){Z(Xt),dn===e&&(dn=null),Z(nt)}var nt=T(0);function $i(e){for(var n=e;n!==null;){if(n.tag===13){var l=n.memoizedState;if(l!==null&&(l=l.dehydrated,l===null||yu(l)||Fu(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===e)break;for(;n.sibling===null;){if(n.return===null||n.return===e)return null;n=n.return}n.sibling.return=n.return,n=n.sibling}return null}var Vn=0,Fe=null,qe=null,at=null,Wi=!1,Or=!1,K0=!1,ea=0,vl=0,_r=null,am=0;function We(){throw Error(a(321))}function Co(e,n){if(n===null)return!1;for(var l=0;l<n.length&&l<e.length;l++)if(!Yt(e[l],n[l]))return!1;return!0}function Bo(e,n,l,x,c,h){return Vn=h,Fe=n,n.memoizedState=null,n.updateQueue=null,n.lanes=0,U.H=e===null||e.memoizedState===null?E9:Oo,K0=!1,h=l(x,c),K0=!1,Or&&(h=Rf(n,l,x,c)),Mf(e),h}function Mf(e){U.H=wl;var n=qe!==null&&qe.next!==null;if(Vn=0,at=qe=Fe=null,Wi=!1,vl=0,_r=null,n)throw Error(a(300));e===null||xt||(e=e.dependencies,e!==null&&Gi(e)&&(xt=!0))}function Rf(e,n,l,x){Fe=e;var c=0;do{if(Or&&(_r=null),vl=0,Or=!1,25<=c)throw Error(a(301));if(c+=1,at=qe=null,e.updateQueue!=null){var h=e.updateQueue;h.lastEffect=null,h.events=null,h.stores=null,h.memoCache!=null&&(h.memoCache.index=0)}U.H=h9,h=n(l,x)}while(Or);return h}function xm(){var e=U.H,n=e.useState()[0];return n=typeof n.then=="function"?bl(n):n,e=e.useState()[0],(qe!==null?qe.memoizedState:null)!==e&&(Fe.flags|=1024),n}function Ao(){var e=ea!==0;return ea=0,e}function go(e,n,l){n.updateQueue=e.updateQueue,n.flags&=-2053,e.lanes&=~l}function Do(e){if(Wi){for(e=e.memoizedState;e!==null;){var n=e.queue;n!==null&&(n.pending=null),e=e.next}Wi=!1}Vn=0,at=qe=Fe=null,Or=!1,vl=ea=0,_r=null}function St(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return at===null?Fe.memoizedState=at=e:at=at.next=e,at}function rt(){if(qe===null){var e=Fe.alternate;e=e!==null?e.memoizedState:null}else e=qe.next;var n=at===null?Fe.memoizedState:at.next;if(n!==null)at=n,qe=e;else{if(e===null)throw Fe.alternate===null?Error(a(467)):Error(a(310));qe=e,e={memoizedState:qe.memoizedState,baseState:qe.baseState,baseQueue:qe.baseQueue,queue:qe.queue,next:null},at===null?Fe.memoizedState=at=e:at=at.next=e}return at}function ta(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function bl(e){var n=vl;return vl+=1,_r===null&&(_r=[]),e=yf(_r,e,n),n=Fe,(at===null?n.memoizedState:at.next)===null&&(n=n.alternate,U.H=n===null||n.memoizedState===null?E9:Oo),e}function na(e){if(e!==null&&typeof e=="object"){if(typeof e.then=="function")return bl(e);if(e.$$typeof===w)return Bt(e)}throw Error(a(438,String(e)))}function yo(e){var n=null,l=Fe.updateQueue;if(l!==null&&(n=l.memoCache),n==null){var x=Fe.alternate;x!==null&&(x=x.updateQueue,x!==null&&(x=x.memoCache,x!=null&&(n={data:x.data.map(function(c){return c.slice()}),index:0})))}if(n==null&&(n={data:[],index:0}),l===null&&(l=ta(),Fe.updateQueue=l),l.memoCache=n,l=n.data[n.index],l===void 0)for(l=n.data[n.index]=Array(e),x=0;x<e;x++)l[x]=N;return n.index++,l}function Yn(e,n){return typeof n=="function"?n(e):n}function ra(e){var n=rt();return Fo(n,qe,e)}function Fo(e,n,l){var x=e.queue;if(x===null)throw Error(a(311));x.lastRenderedReducer=l;var c=e.baseQueue,h=x.pending;if(h!==null){if(c!==null){var A=c.next;c.next=h.next,h.next=A}n.baseQueue=c=h,x.pending=null}if(h=e.baseState,c===null)e.memoizedState=h;else{n=c.next;var D=A=null,_=null,G=n,W=!1;do{var le=G.lane&-536870913;if(le!==G.lane?(ze&le)===le:(Vn&le)===le){var Y=G.revertLane;if(Y===0)_!==null&&(_=_.next={lane:0,revertLane:0,gesture:null,action:G.action,hasEagerState:G.hasEagerState,eagerState:G.eagerState,next:null}),le===Sr&&(W=!0);else if((Vn&Y)===Y){G=G.next,Y===Sr&&(W=!0);continue}else le={lane:0,revertLane:G.revertLane,gesture:null,action:G.action,hasEagerState:G.hasEagerState,eagerState:G.eagerState,next:null},_===null?(D=_=le,A=h):_=_.next=le,Fe.lanes|=Y,A0|=Y;le=G.action,K0&&l(h,le),h=G.hasEagerState?G.eagerState:l(h,le)}else Y={lane:le,revertLane:G.revertLane,gesture:G.gesture,action:G.action,hasEagerState:G.hasEagerState,eagerState:G.eagerState,next:null},_===null?(D=_=Y,A=h):_=_.next=Y,Fe.lanes|=le,A0|=le;G=G.next}while(G!==null&&G!==n);if(_===null?A=h:_.next=D,!Yt(h,e.memoizedState)&&(xt=!0,W&&(l=Tr,l!==null)))throw l;e.memoizedState=h,e.baseState=A,e.baseQueue=_,x.lastRenderedState=h}return c===null&&(x.lanes=0),[e.memoizedState,x.dispatch]}function vo(e){var n=rt(),l=n.queue;if(l===null)throw Error(a(311));l.lastRenderedReducer=e;var x=l.dispatch,c=l.pending,h=n.memoizedState;if(c!==null){l.pending=null;var A=c=c.next;do h=e(h,A.action),A=A.next;while(A!==c);Yt(h,n.memoizedState)||(xt=!0),n.memoizedState=h,n.baseQueue===null&&(n.baseState=h),l.lastRenderedState=h}return[h,x]}function Of(e,n,l){var x=Fe,c=rt(),h=Re;if(h){if(l===void 0)throw Error(a(407));l=l()}else l=n();var A=!Yt((qe||c).memoizedState,l);if(A&&(c.memoizedState=l,xt=!0),c=c.queue,wo(jf.bind(null,x,c,e),[e]),c.getSnapshot!==n||A||at!==null&&at.memoizedState.tag&1){if(x.flags|=2048,Nr(9,{destroy:void 0},Nf.bind(null,x,c,l,n),null),Ye===null)throw Error(a(349));h||(Vn&127)!==0||_f(x,n,l)}return l}function _f(e,n,l){e.flags|=16384,e={getSnapshot:n,value:l},n=Fe.updateQueue,n===null?(n=ta(),Fe.updateQueue=n,n.stores=[e]):(l=n.stores,l===null?n.stores=[e]:l.push(e))}function Nf(e,n,l,x){n.value=l,n.getSnapshot=x,Lf(n)&&Pf(e)}function jf(e,n,l){return l(function(){Lf(n)&&Pf(e)})}function Lf(e){var n=e.getSnapshot;e=e.value;try{var l=n();return!Yt(e,l)}catch{return!0}}function Pf(e){var n=H0(e,2);n!==null&&Ut(n,e,2)}function bo(e){var n=St();if(typeof e=="function"){var l=e;if(e=l(),K0){Rt(!0);try{l()}finally{Rt(!1)}}}return n.memoizedState=n.baseState=e,n.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Yn,lastRenderedState:e},n}function Uf(e,n,l,x){return e.baseState=l,Fo(e,qe,typeof x=="function"?x:Yn)}function om(e,n,l,x,c){if(aa(e))throw Error(a(485));if(e=n.action,e!==null){var h={payload:c,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(A){h.listeners.push(A)}};U.T!==null?l(!0):h.isTransition=!1,x(h),l=n.pending,l===null?(h.next=n.pending=h,Hf(n,h)):(h.next=l.next,n.pending=l.next=h)}}function Hf(e,n){var l=n.action,x=n.payload,c=e.state;if(n.isTransition){var h=U.T,A={};U.T=A;try{var D=l(c,x),_=U.S;_!==null&&_(A,D),qf(e,n,D)}catch(G){ko(e,n,G)}finally{h!==null&&A.types!==null&&(h.types=A.types),U.T=h}}else try{h=l(c,x),qf(e,n,h)}catch(G){ko(e,n,G)}}function qf(e,n,l){l!==null&&typeof l=="object"&&typeof l.then=="function"?l.then(function(x){Qf(e,n,x)},function(x){return ko(e,n,x)}):Qf(e,n,l)}function Qf(e,n,l){n.status="fulfilled",n.value=l,Gf(n),e.state=l,n=e.pending,n!==null&&(l=n.next,l===n?e.pending=null:(l=l.next,n.next=l,Hf(e,l)))}function ko(e,n,l){var x=e.pending;if(e.pending=null,x!==null){x=x.next;do n.status="rejected",n.reason=l,Gf(n),n=n.next;while(n!==x)}e.action=null}function Gf(e){e=e.listeners;for(var n=0;n<e.length;n++)(0,e[n])()}function Vf(e,n){return n}function Yf(e,n){if(Re){var l=Ye.formState;if(l!==null){e:{var x=Fe;if(Re){if(Ze){t:{for(var c=Ze,h=fn;c.nodeType!==8;){if(!h){c=null;break t}if(c=En(c.nextSibling),c===null){c=null;break t}}h=c.data,c=h==="F!"||h==="F"?c:null}if(c){Ze=En(c.nextSibling),x=c.data==="F!";break e}}c0(x)}x=!1}x&&(n=l[0])}}return l=St(),l.memoizedState=l.baseState=n,x={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Vf,lastRenderedState:n},l.queue=x,l=c9.bind(null,Fe,x),x.dispatch=l,x=bo(!1),h=Ro.bind(null,Fe,!1,x.queue),x=St(),c={state:n,dispatch:null,action:e,pending:null},x.queue=c,l=om.bind(null,Fe,c,h,l),c.dispatch=l,x.memoizedState=e,[n,l,!1]}function If(e){var n=rt();return Xf(n,qe,e)}function Xf(e,n,l){if(n=Fo(e,n,Vf)[0],e=ra(Yn)[0],typeof n=="object"&&n!==null&&typeof n.then=="function")try{var x=bl(n)}catch(A){throw A===zr?Ii:A}else x=n;n=rt();var c=n.queue,h=c.dispatch;return l!==n.memoizedState&&(Fe.flags|=2048,Nr(9,{destroy:void 0},um.bind(null,c,l),null)),[x,h,e]}function um(e,n){e.action=n}function Zf(e){var n=rt(),l=qe;if(l!==null)return Xf(n,l,e);rt(),n=n.memoizedState,l=rt();var x=l.queue.dispatch;return l.memoizedState=e,[n,x,!1]}function Nr(e,n,l,x){return e={tag:e,create:l,deps:x,inst:n,next:null},n=Fe.updateQueue,n===null&&(n=ta(),Fe.updateQueue=n),l=n.lastEffect,l===null?n.lastEffect=e.next=e:(x=l.next,l.next=e,e.next=x,n.lastEffect=e),e}function Kf(){return rt().memoizedState}function la(e,n,l,x){var c=St();Fe.flags|=e,c.memoizedState=Nr(1|n,{destroy:void 0},l,x===void 0?null:x)}function ia(e,n,l,x){var c=rt();x=x===void 0?null:x;var h=c.memoizedState.inst;qe!==null&&x!==null&&Co(x,qe.memoizedState.deps)?c.memoizedState=Nr(n,h,l,x):(Fe.flags|=e,c.memoizedState=Nr(1|n,h,l,x))}function Jf(e,n){la(8390656,8,e,n)}function wo(e,n){ia(2048,8,e,n)}function sm(e){Fe.flags|=4;var n=Fe.updateQueue;if(n===null)n=ta(),Fe.updateQueue=n,n.events=[e];else{var l=n.events;l===null?n.events=[e]:l.push(e)}}function $f(e){var n=rt().memoizedState;return sm({ref:n,nextImpl:e}),function(){if((Le&2)!==0)throw Error(a(440));return n.impl.apply(void 0,arguments)}}function Wf(e,n){return ia(4,2,e,n)}function e9(e,n){return ia(4,4,e,n)}function t9(e,n){if(typeof n=="function"){e=e();var l=n(e);return function(){typeof l=="function"?l():n(null)}}if(n!=null)return e=e(),n.current=e,function(){n.current=null}}function n9(e,n,l){l=l!=null?l.concat([e]):null,ia(4,4,t9.bind(null,n,e),l)}function So(){}function r9(e,n){var l=rt();n=n===void 0?null:n;var x=l.memoizedState;return n!==null&&Co(n,x[1])?x[0]:(l.memoizedState=[e,n],e)}function l9(e,n){var l=rt();n=n===void 0?null:n;var x=l.memoizedState;if(n!==null&&Co(n,x[1]))return x[0];if(x=e(),K0){Rt(!0);try{e()}finally{Rt(!1)}}return l.memoizedState=[x,n],x}function To(e,n,l){return l===void 0||(Vn&1073741824)!==0&&(ze&261930)===0?e.memoizedState=n:(e.memoizedState=l,e=i8(),Fe.lanes|=e,A0|=e,l)}function i9(e,n,l,x){return Yt(l,n)?l:Rr.current!==null?(e=To(e,l,x),Yt(e,n)||(xt=!0),e):(Vn&42)===0||(Vn&1073741824)!==0&&(ze&261930)===0?(xt=!0,e.memoizedState=l):(e=i8(),Fe.lanes|=e,A0|=e,n)}function a9(e,n,l,x,c){var h=V.p;V.p=h!==0&&8>h?h:8;var A=U.T,D={};U.T=D,Ro(e,!1,n,l);try{var _=c(),G=U.S;if(G!==null&&G(D,_),_!==null&&typeof _=="object"&&typeof _.then=="function"){var W=im(_,x);kl(e,n,W,$t(e))}else kl(e,n,x,$t(e))}catch(le){kl(e,n,{then:function(){},status:"rejected",reason:le},$t())}finally{V.p=h,A!==null&&D.types!==null&&(A.types=D.types),U.T=A}}function cm(){}function zo(e,n,l,x){if(e.tag!==5)throw Error(a(476));var c=x9(e).queue;a9(e,c,n,ae,l===null?cm:function(){return o9(e),l(x)})}function x9(e){var n=e.memoizedState;if(n!==null)return n;n={memoizedState:ae,baseState:ae,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Yn,lastRenderedState:ae},next:null};var l={};return n.next={memoizedState:l,baseState:l,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Yn,lastRenderedState:l},next:null},e.memoizedState=n,e=e.alternate,e!==null&&(e.memoizedState=n),n}function o9(e){var n=x9(e);n.next===null&&(n=e.alternate.memoizedState),kl(e,n.next.queue,{},$t())}function Mo(){return Bt(Gl)}function u9(){return rt().memoizedState}function s9(){return rt().memoizedState}function fm(e){for(var n=e.return;n!==null;){switch(n.tag){case 24:case 3:var l=$t();e=E0(l);var x=h0(n,e,l);x!==null&&(Ut(x,n,l),Dl(x,n,l)),n={cache:ao()},e.payload=n;return}n=n.return}}function dm(e,n,l){var x=$t();l={lane:x,revertLane:0,gesture:null,action:l,hasEagerState:!1,eagerState:null,next:null},aa(e)?f9(n,l):(l=Zx(e,n,l,x),l!==null&&(Ut(l,e,x),d9(l,n,x)))}function c9(e,n,l){var x=$t();kl(e,n,l,x)}function kl(e,n,l,x){var c={lane:x,revertLane:0,gesture:null,action:l,hasEagerState:!1,eagerState:null,next:null};if(aa(e))f9(n,c);else{var h=e.alternate;if(e.lanes===0&&(h===null||h.lanes===0)&&(h=n.lastRenderedReducer,h!==null))try{var A=n.lastRenderedState,D=h(A,l);if(c.hasEagerState=!0,c.eagerState=D,Yt(D,A))return Ui(e,n,c,0),Ye===null&&Pi(),!1}catch{}if(l=Zx(e,n,c,x),l!==null)return Ut(l,e,x),d9(l,n,x),!0}return!1}function Ro(e,n,l,x){if(x={lane:2,revertLane:cu(),gesture:null,action:x,hasEagerState:!1,eagerState:null,next:null},aa(e)){if(n)throw Error(a(479))}else n=Zx(e,l,x,2),n!==null&&Ut(n,e,2)}function aa(e){var n=e.alternate;return e===Fe||n!==null&&n===Fe}function f9(e,n){Or=Wi=!0;var l=e.pending;l===null?n.next=n:(n.next=l.next,l.next=n),e.pending=n}function d9(e,n,l){if((l&4194048)!==0){var x=n.lanes;x&=e.pendingLanes,l|=x,n.lanes=l,pc(e,l)}}var wl={readContext:Bt,use:na,useCallback:We,useContext:We,useEffect:We,useImperativeHandle:We,useLayoutEffect:We,useInsertionEffect:We,useMemo:We,useReducer:We,useRef:We,useState:We,useDebugValue:We,useDeferredValue:We,useTransition:We,useSyncExternalStore:We,useId:We,useHostTransitionStatus:We,useFormState:We,useActionState:We,useOptimistic:We,useMemoCache:We,useCacheRefresh:We};wl.useEffectEvent=We;var E9={readContext:Bt,use:na,useCallback:function(e,n){return St().memoizedState=[e,n===void 0?null:n],e},useContext:Bt,useEffect:Jf,useImperativeHandle:function(e,n,l){l=l!=null?l.concat([e]):null,la(4194308,4,t9.bind(null,n,e),l)},useLayoutEffect:function(e,n){return la(4194308,4,e,n)},useInsertionEffect:function(e,n){la(4,2,e,n)},useMemo:function(e,n){var l=St();n=n===void 0?null:n;var x=e();if(K0){Rt(!0);try{e()}finally{Rt(!1)}}return l.memoizedState=[x,n],x},useReducer:function(e,n,l){var x=St();if(l!==void 0){var c=l(n);if(K0){Rt(!0);try{l(n)}finally{Rt(!1)}}}else c=n;return x.memoizedState=x.baseState=c,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:c},x.queue=e,e=e.dispatch=dm.bind(null,Fe,e),[x.memoizedState,e]},useRef:function(e){var n=St();return e={current:e},n.memoizedState=e},useState:function(e){e=bo(e);var n=e.queue,l=c9.bind(null,Fe,n);return n.dispatch=l,[e.memoizedState,l]},useDebugValue:So,useDeferredValue:function(e,n){var l=St();return To(l,e,n)},useTransition:function(){var e=bo(!1);return e=a9.bind(null,Fe,e.queue,!0,!1),St().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,n,l){var x=Fe,c=St();if(Re){if(l===void 0)throw Error(a(407));l=l()}else{if(l=n(),Ye===null)throw Error(a(349));(ze&127)!==0||_f(x,n,l)}c.memoizedState=l;var h={value:l,getSnapshot:n};return c.queue=h,Jf(jf.bind(null,x,h,e),[e]),x.flags|=2048,Nr(9,{destroy:void 0},Nf.bind(null,x,h,l,n),null),l},useId:function(){var e=St(),n=Ye.identifierPrefix;if(Re){var l=Tn,x=Sn;l=(x&~(1<<32-Ve(x)-1)).toString(32)+l,n="_"+n+"R_"+l,l=ea++,0<l&&(n+="H"+l.toString(32)),n+="_"}else l=am++,n="_"+n+"r_"+l.toString(32)+"_";return e.memoizedState=n},useHostTransitionStatus:Mo,useFormState:Yf,useActionState:Yf,useOptimistic:function(e){var n=St();n.memoizedState=n.baseState=e;var l={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return n.queue=l,n=Ro.bind(null,Fe,!0,l),l.dispatch=n,[e,n]},useMemoCache:yo,useCacheRefresh:function(){return St().memoizedState=fm.bind(null,Fe)},useEffectEvent:function(e){var n=St(),l={impl:e};return n.memoizedState=l,function(){if((Le&2)!==0)throw Error(a(440));return l.impl.apply(void 0,arguments)}}},Oo={readContext:Bt,use:na,useCallback:r9,useContext:Bt,useEffect:wo,useImperativeHandle:n9,useInsertionEffect:Wf,useLayoutEffect:e9,useMemo:l9,useReducer:ra,useRef:Kf,useState:function(){return ra(Yn)},useDebugValue:So,useDeferredValue:function(e,n){var l=rt();return i9(l,qe.memoizedState,e,n)},useTransition:function(){var e=ra(Yn)[0],n=rt().memoizedState;return[typeof e=="boolean"?e:bl(e),n]},useSyncExternalStore:Of,useId:u9,useHostTransitionStatus:Mo,useFormState:If,useActionState:If,useOptimistic:function(e,n){var l=rt();return Uf(l,qe,e,n)},useMemoCache:yo,useCacheRefresh:s9};Oo.useEffectEvent=$f;var h9={readContext:Bt,use:na,useCallback:r9,useContext:Bt,useEffect:wo,useImperativeHandle:n9,useInsertionEffect:Wf,useLayoutEffect:e9,useMemo:l9,useReducer:vo,useRef:Kf,useState:function(){return vo(Yn)},useDebugValue:So,useDeferredValue:function(e,n){var l=rt();return qe===null?To(l,e,n):i9(l,qe.memoizedState,e,n)},useTransition:function(){var e=vo(Yn)[0],n=rt().memoizedState;return[typeof e=="boolean"?e:bl(e),n]},useSyncExternalStore:Of,useId:u9,useHostTransitionStatus:Mo,useFormState:Zf,useActionState:Zf,useOptimistic:function(e,n){var l=rt();return qe!==null?Uf(l,qe,e,n):(l.baseState=e,[e,l.queue.dispatch])},useMemoCache:yo,useCacheRefresh:s9};h9.useEffectEvent=$f;function _o(e,n,l,x){n=e.memoizedState,l=l(x,n),l=l==null?n:m({},n,l),e.memoizedState=l,e.lanes===0&&(e.updateQueue.baseState=l)}var No={enqueueSetState:function(e,n,l){e=e._reactInternals;var x=$t(),c=E0(x);c.payload=n,l!=null&&(c.callback=l),n=h0(e,c,x),n!==null&&(Ut(n,e,x),Dl(n,e,x))},enqueueReplaceState:function(e,n,l){e=e._reactInternals;var x=$t(),c=E0(x);c.tag=1,c.payload=n,l!=null&&(c.callback=l),n=h0(e,c,x),n!==null&&(Ut(n,e,x),Dl(n,e,x))},enqueueForceUpdate:function(e,n){e=e._reactInternals;var l=$t(),x=E0(l);x.tag=2,n!=null&&(x.callback=n),n=h0(e,x,l),n!==null&&(Ut(n,e,l),Dl(n,e,l))}};function m9(e,n,l,x,c,h,A){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(x,h,A):n.prototype&&n.prototype.isPureReactComponent?!El(l,x)||!El(c,h):!0}function p9(e,n,l,x){e=n.state,typeof n.componentWillReceiveProps=="function"&&n.componentWillReceiveProps(l,x),typeof n.UNSAFE_componentWillReceiveProps=="function"&&n.UNSAFE_componentWillReceiveProps(l,x),n.state!==e&&No.enqueueReplaceState(n,n.state,null)}function J0(e,n){var l=n;if("ref"in n){l={};for(var x in n)x!=="ref"&&(l[x]=n[x])}if(e=e.defaultProps){l===n&&(l=m({},l));for(var c in e)l[c]===void 0&&(l[c]=e[c])}return l}function C9(e){Li(e)}function B9(e){console.error(e)}function A9(e){Li(e)}function xa(e,n){try{var l=e.onUncaughtError;l(n.value,{componentStack:n.stack})}catch(x){setTimeout(function(){throw x})}}function g9(e,n,l){try{var x=e.onCaughtError;x(l.value,{componentStack:l.stack,errorBoundary:n.tag===1?n.stateNode:null})}catch(c){setTimeout(function(){throw c})}}function jo(e,n,l){return l=E0(l),l.tag=3,l.payload={element:null},l.callback=function(){xa(e,n)},l}function D9(e){return e=E0(e),e.tag=3,e}function y9(e,n,l,x){var c=l.type.getDerivedStateFromError;if(typeof c=="function"){var h=x.value;e.payload=function(){return c(h)},e.callback=function(){g9(n,l,x)}}var A=l.stateNode;A!==null&&typeof A.componentDidCatch=="function"&&(e.callback=function(){g9(n,l,x),typeof c!="function"&&(g0===null?g0=new Set([this]):g0.add(this));var D=x.stack;this.componentDidCatch(x.value,{componentStack:D!==null?D:""})})}function Em(e,n,l,x,c){if(l.flags|=32768,x!==null&&typeof x=="object"&&typeof x.then=="function"){if(n=l.alternate,n!==null&&wr(n,l,c,!0),l=Xt.current,l!==null){switch(l.tag){case 31:case 13:return dn===null?Ba():l.alternate===null&&et===0&&(et=3),l.flags&=-257,l.flags|=65536,l.lanes=c,x===Xi?l.flags|=16384:(n=l.updateQueue,n===null?l.updateQueue=new Set([x]):n.add(x),ou(e,x,c)),!1;case 22:return l.flags|=65536,x===Xi?l.flags|=16384:(n=l.updateQueue,n===null?(n={transitions:null,markerInstances:null,retryQueue:new Set([x])},l.updateQueue=n):(l=n.retryQueue,l===null?n.retryQueue=new Set([x]):l.add(x)),ou(e,x,c)),!1}throw Error(a(435,l.tag))}return ou(e,x,c),Ba(),!1}if(Re)return n=Xt.current,n!==null?((n.flags&65536)===0&&(n.flags|=256),n.flags|=65536,n.lanes=c,x!==to&&(e=Error(a(422),{cause:x}),pl(un(e,l)))):(x!==to&&(n=Error(a(423),{cause:x}),pl(un(n,l))),e=e.current.alternate,e.flags|=65536,c&=-c,e.lanes|=c,x=un(x,l),c=jo(e.stateNode,x,c),fo(e,c),et!==4&&(et=2)),!1;var h=Error(a(520),{cause:x});if(h=un(h,l),Nl===null?Nl=[h]:Nl.push(h),et!==4&&(et=2),n===null)return!0;x=un(x,l),l=n;do{switch(l.tag){case 3:return l.flags|=65536,e=c&-c,l.lanes|=e,e=jo(l.stateNode,x,e),fo(l,e),!1;case 1:if(n=l.type,h=l.stateNode,(l.flags&128)===0&&(typeof n.getDerivedStateFromError=="function"||h!==null&&typeof h.componentDidCatch=="function"&&(g0===null||!g0.has(h))))return l.flags|=65536,c&=-c,l.lanes|=c,c=D9(c),y9(c,e,l,x),fo(l,c),!1}l=l.return}while(l!==null);return!1}var Lo=Error(a(461)),xt=!1;function At(e,n,l,x){n.child=e===null?kf(n,null,l,x):Z0(n,e.child,l,x)}function F9(e,n,l,x,c){l=l.render;var h=n.ref;if("ref"in x){var A={};for(var D in x)D!=="ref"&&(A[D]=x[D])}else A=x;return V0(n),x=Bo(e,n,l,A,h,c),D=Ao(),e!==null&&!xt?(go(e,n,c),In(e,n,c)):(Re&&D&&Wx(n),n.flags|=1,At(e,n,x,c),n.child)}function v9(e,n,l,x,c){if(e===null){var h=l.type;return typeof h=="function"&&!Kx(h)&&h.defaultProps===void 0&&l.compare===null?(n.tag=15,n.type=h,b9(e,n,h,x,c)):(e=qi(l.type,null,x,n,n.mode,c),e.ref=n.ref,e.return=n,n.child=e)}if(h=e.child,!Yo(e,c)){var A=h.memoizedProps;if(l=l.compare,l=l!==null?l:El,l(A,x)&&e.ref===n.ref)return In(e,n,c)}return n.flags|=1,e=Hn(h,x),e.ref=n.ref,e.return=n,n.child=e}function b9(e,n,l,x,c){if(e!==null){var h=e.memoizedProps;if(El(h,x)&&e.ref===n.ref)if(xt=!1,n.pendingProps=x=h,Yo(e,c))(e.flags&131072)!==0&&(xt=!0);else return n.lanes=e.lanes,In(e,n,c)}return Po(e,n,l,x,c)}function k9(e,n,l,x){var c=x.children,h=e!==null?e.memoizedState:null;if(e===null&&n.stateNode===null&&(n.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),x.mode==="hidden"){if((n.flags&128)!==0){if(h=h!==null?h.baseLanes|l:l,e!==null){for(x=n.child=e.child,c=0;x!==null;)c=c|x.lanes|x.childLanes,x=x.sibling;x=c&~h}else x=0,n.child=null;return w9(e,n,h,l,x)}if((l&536870912)!==0)n.memoizedState={baseLanes:0,cachePool:null},e!==null&&Yi(n,h!==null?h.cachePool:null),h!==null?Tf(n,h):ho(),zf(n);else return x=n.lanes=536870912,w9(e,n,h!==null?h.baseLanes|l:l,l,x)}else h!==null?(Yi(n,h.cachePool),Tf(n,h),p0(),n.memoizedState=null):(e!==null&&Yi(n,null),ho(),p0());return At(e,n,c,l),n.child}function Sl(e,n){return e!==null&&e.tag===22||n.stateNode!==null||(n.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),n.sibling}function w9(e,n,l,x,c){var h=oo();return h=h===null?null:{parent:it._currentValue,pool:h},n.memoizedState={baseLanes:l,cachePool:h},e!==null&&Yi(n,null),ho(),zf(n),e!==null&&wr(e,n,x,!0),n.childLanes=c,null}function oa(e,n){return n=sa({mode:n.mode,children:n.children},e.mode),n.ref=e.ref,e.child=n,n.return=e,n}function S9(e,n,l){return Z0(n,e.child,null,l),e=oa(n,n.pendingProps),e.flags|=2,Zt(n),n.memoizedState=null,e}function hm(e,n,l){var x=n.pendingProps,c=(n.flags&128)!==0;if(n.flags&=-129,e===null){if(Re){if(x.mode==="hidden")return e=oa(n,x),n.lanes=536870912,Sl(null,e);if(po(n),(e=Ze)?(e=H8(e,fn),e=e!==null&&e.data==="&"?e:null,e!==null&&(n.memoizedState={dehydrated:e,treeContext:u0!==null?{id:Sn,overflow:Tn}:null,retryLane:536870912,hydrationErrors:null},l=ff(e),l.return=n,n.child=l,Ct=n,Ze=null)):e=null,e===null)throw c0(n);return n.lanes=536870912,null}return oa(n,x)}var h=e.memoizedState;if(h!==null){var A=h.dehydrated;if(po(n),c)if(n.flags&256)n.flags&=-257,n=S9(e,n,l);else if(n.memoizedState!==null)n.child=e.child,n.flags|=128,n=null;else throw Error(a(558));else if(xt||wr(e,n,l,!1),c=(l&e.childLanes)!==0,xt||c){if(x=Ye,x!==null&&(A=Cc(x,l),A!==0&&A!==h.retryLane))throw h.retryLane=A,H0(e,A),Ut(x,e,A),Lo;Ba(),n=S9(e,n,l)}else e=h.treeContext,Ze=En(A.nextSibling),Ct=n,Re=!0,s0=null,fn=!1,e!==null&&hf(n,e),n=oa(n,x),n.flags|=4096;return n}return e=Hn(e.child,{mode:x.mode,children:x.children}),e.ref=n.ref,n.child=e,e.return=n,e}function ua(e,n){var l=n.ref;if(l===null)e!==null&&e.ref!==null&&(n.flags|=4194816);else{if(typeof l!="function"&&typeof l!="object")throw Error(a(284));(e===null||e.ref!==l)&&(n.flags|=4194816)}}function Po(e,n,l,x,c){return V0(n),l=Bo(e,n,l,x,void 0,c),x=Ao(),e!==null&&!xt?(go(e,n,c),In(e,n,c)):(Re&&x&&Wx(n),n.flags|=1,At(e,n,l,c),n.child)}function T9(e,n,l,x,c,h){return V0(n),n.updateQueue=null,l=Rf(n,x,l,c),Mf(e),x=Ao(),e!==null&&!xt?(go(e,n,h),In(e,n,h)):(Re&&x&&Wx(n),n.flags|=1,At(e,n,l,h),n.child)}function z9(e,n,l,x,c){if(V0(n),n.stateNode===null){var h=Fr,A=l.contextType;typeof A=="object"&&A!==null&&(h=Bt(A)),h=new l(x,h),n.memoizedState=h.state!==null&&h.state!==void 0?h.state:null,h.updater=No,n.stateNode=h,h._reactInternals=n,h=n.stateNode,h.props=x,h.state=n.memoizedState,h.refs={},so(n),A=l.contextType,h.context=typeof A=="object"&&A!==null?Bt(A):Fr,h.state=n.memoizedState,A=l.getDerivedStateFromProps,typeof A=="function"&&(_o(n,l,A,x),h.state=n.memoizedState),typeof l.getDerivedStateFromProps=="function"||typeof h.getSnapshotBeforeUpdate=="function"||typeof h.UNSAFE_componentWillMount!="function"&&typeof h.componentWillMount!="function"||(A=h.state,typeof h.componentWillMount=="function"&&h.componentWillMount(),typeof h.UNSAFE_componentWillMount=="function"&&h.UNSAFE_componentWillMount(),A!==h.state&&No.enqueueReplaceState(h,h.state,null),Fl(n,x,h,c),yl(),h.state=n.memoizedState),typeof h.componentDidMount=="function"&&(n.flags|=4194308),x=!0}else if(e===null){h=n.stateNode;var D=n.memoizedProps,_=J0(l,D);h.props=_;var G=h.context,W=l.contextType;A=Fr,typeof W=="object"&&W!==null&&(A=Bt(W));var le=l.getDerivedStateFromProps;W=typeof le=="function"||typeof h.getSnapshotBeforeUpdate=="function",D=n.pendingProps!==D,W||typeof h.UNSAFE_componentWillReceiveProps!="function"&&typeof h.componentWillReceiveProps!="function"||(D||G!==A)&&p9(n,h,x,A),d0=!1;var Y=n.memoizedState;h.state=Y,Fl(n,x,h,c),yl(),G=n.memoizedState,D||Y!==G||d0?(typeof le=="function"&&(_o(n,l,le,x),G=n.memoizedState),(_=d0||m9(n,l,_,x,Y,G,A))?(W||typeof h.UNSAFE_componentWillMount!="function"&&typeof h.componentWillMount!="function"||(typeof h.componentWillMount=="function"&&h.componentWillMount(),typeof h.UNSAFE_componentWillMount=="function"&&h.UNSAFE_componentWillMount()),typeof h.componentDidMount=="function"&&(n.flags|=4194308)):(typeof h.componentDidMount=="function"&&(n.flags|=4194308),n.memoizedProps=x,n.memoizedState=G),h.props=x,h.state=G,h.context=A,x=_):(typeof h.componentDidMount=="function"&&(n.flags|=4194308),x=!1)}else{h=n.stateNode,co(e,n),A=n.memoizedProps,W=J0(l,A),h.props=W,le=n.pendingProps,Y=h.context,G=l.contextType,_=Fr,typeof G=="object"&&G!==null&&(_=Bt(G)),D=l.getDerivedStateFromProps,(G=typeof D=="function"||typeof h.getSnapshotBeforeUpdate=="function")||typeof h.UNSAFE_componentWillReceiveProps!="function"&&typeof h.componentWillReceiveProps!="function"||(A!==le||Y!==_)&&p9(n,h,x,_),d0=!1,Y=n.memoizedState,h.state=Y,Fl(n,x,h,c),yl();var $=n.memoizedState;A!==le||Y!==$||d0||e!==null&&e.dependencies!==null&&Gi(e.dependencies)?(typeof D=="function"&&(_o(n,l,D,x),$=n.memoizedState),(W=d0||m9(n,l,W,x,Y,$,_)||e!==null&&e.dependencies!==null&&Gi(e.dependencies))?(G||typeof h.UNSAFE_componentWillUpdate!="function"&&typeof h.componentWillUpdate!="function"||(typeof h.componentWillUpdate=="function"&&h.componentWillUpdate(x,$,_),typeof h.UNSAFE_componentWillUpdate=="function"&&h.UNSAFE_componentWillUpdate(x,$,_)),typeof h.componentDidUpdate=="function"&&(n.flags|=4),typeof h.getSnapshotBeforeUpdate=="function"&&(n.flags|=1024)):(typeof h.componentDidUpdate!="function"||A===e.memoizedProps&&Y===e.memoizedState||(n.flags|=4),typeof h.getSnapshotBeforeUpdate!="function"||A===e.memoizedProps&&Y===e.memoizedState||(n.flags|=1024),n.memoizedProps=x,n.memoizedState=$),h.props=x,h.state=$,h.context=_,x=W):(typeof h.componentDidUpdate!="function"||A===e.memoizedProps&&Y===e.memoizedState||(n.flags|=4),typeof h.getSnapshotBeforeUpdate!="function"||A===e.memoizedProps&&Y===e.memoizedState||(n.flags|=1024),x=!1)}return h=x,ua(e,n),x=(n.flags&128)!==0,h||x?(h=n.stateNode,l=x&&typeof l.getDerivedStateFromError!="function"?null:h.render(),n.flags|=1,e!==null&&x?(n.child=Z0(n,e.child,null,c),n.child=Z0(n,null,l,c)):At(e,n,l,c),n.memoizedState=h.state,e=n.child):e=In(e,n,c),e}function M9(e,n,l,x){return Q0(),n.flags|=256,At(e,n,l,x),n.child}var Uo={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function Ho(e){return{baseLanes:e,cachePool:gf()}}function qo(e,n,l){return e=e!==null?e.childLanes&~l:0,n&&(e|=Jt),e}function R9(e,n,l){var x=n.pendingProps,c=!1,h=(n.flags&128)!==0,A;if((A=h)||(A=e!==null&&e.memoizedState===null?!1:(nt.current&2)!==0),A&&(c=!0,n.flags&=-129),A=(n.flags&32)!==0,n.flags&=-33,e===null){if(Re){if(c?m0(n):p0(),(e=Ze)?(e=H8(e,fn),e=e!==null&&e.data!=="&"?e:null,e!==null&&(n.memoizedState={dehydrated:e,treeContext:u0!==null?{id:Sn,overflow:Tn}:null,retryLane:536870912,hydrationErrors:null},l=ff(e),l.return=n,n.child=l,Ct=n,Ze=null)):e=null,e===null)throw c0(n);return Fu(e)?n.lanes=32:n.lanes=536870912,null}var D=x.children;return x=x.fallback,c?(p0(),c=n.mode,D=sa({mode:"hidden",children:D},c),x=q0(x,c,l,null),D.return=n,x.return=n,D.sibling=x,n.child=D,x=n.child,x.memoizedState=Ho(l),x.childLanes=qo(e,A,l),n.memoizedState=Uo,Sl(null,x)):(m0(n),Qo(n,D))}var _=e.memoizedState;if(_!==null&&(D=_.dehydrated,D!==null)){if(h)n.flags&256?(m0(n),n.flags&=-257,n=Go(e,n,l)):n.memoizedState!==null?(p0(),n.child=e.child,n.flags|=128,n=null):(p0(),D=x.fallback,c=n.mode,x=sa({mode:"visible",children:x.children},c),D=q0(D,c,l,null),D.flags|=2,x.return=n,D.return=n,x.sibling=D,n.child=x,Z0(n,e.child,null,l),x=n.child,x.memoizedState=Ho(l),x.childLanes=qo(e,A,l),n.memoizedState=Uo,n=Sl(null,x));else if(m0(n),Fu(D)){if(A=D.nextSibling&&D.nextSibling.dataset,A)var G=A.dgst;A=G,x=Error(a(419)),x.stack="",x.digest=A,pl({value:x,source:null,stack:null}),n=Go(e,n,l)}else if(xt||wr(e,n,l,!1),A=(l&e.childLanes)!==0,xt||A){if(A=Ye,A!==null&&(x=Cc(A,l),x!==0&&x!==_.retryLane))throw _.retryLane=x,H0(e,x),Ut(A,e,x),Lo;yu(D)||Ba(),n=Go(e,n,l)}else yu(D)?(n.flags|=192,n.child=e.child,n=null):(e=_.treeContext,Ze=En(D.nextSibling),Ct=n,Re=!0,s0=null,fn=!1,e!==null&&hf(n,e),n=Qo(n,x.children),n.flags|=4096);return n}return c?(p0(),D=x.fallback,c=n.mode,_=e.child,G=_.sibling,x=Hn(_,{mode:"hidden",children:x.children}),x.subtreeFlags=_.subtreeFlags&65011712,G!==null?D=Hn(G,D):(D=q0(D,c,l,null),D.flags|=2),D.return=n,x.return=n,x.sibling=D,n.child=x,Sl(null,x),x=n.child,D=e.child.memoizedState,D===null?D=Ho(l):(c=D.cachePool,c!==null?(_=it._currentValue,c=c.parent!==_?{parent:_,pool:_}:c):c=gf(),D={baseLanes:D.baseLanes|l,cachePool:c}),x.memoizedState=D,x.childLanes=qo(e,A,l),n.memoizedState=Uo,Sl(e.child,x)):(m0(n),l=e.child,e=l.sibling,l=Hn(l,{mode:"visible",children:x.children}),l.return=n,l.sibling=null,e!==null&&(A=n.deletions,A===null?(n.deletions=[e],n.flags|=16):A.push(e)),n.child=l,n.memoizedState=null,l)}function Qo(e,n){return n=sa({mode:"visible",children:n},e.mode),n.return=e,e.child=n}function sa(e,n){return e=It(22,e,null,n),e.lanes=0,e}function Go(e,n,l){return Z0(n,e.child,null,l),e=Qo(n,n.pendingProps.children),e.flags|=2,n.memoizedState=null,e}function O9(e,n,l){e.lanes|=n;var x=e.alternate;x!==null&&(x.lanes|=n),lo(e.return,n,l)}function Vo(e,n,l,x,c,h){var A=e.memoizedState;A===null?e.memoizedState={isBackwards:n,rendering:null,renderingStartTime:0,last:x,tail:l,tailMode:c,treeForkCount:h}:(A.isBackwards=n,A.rendering=null,A.renderingStartTime=0,A.last=x,A.tail=l,A.tailMode=c,A.treeForkCount=h)}function _9(e,n,l){var x=n.pendingProps,c=x.revealOrder,h=x.tail;x=x.children;var A=nt.current,D=(A&2)!==0;if(D?(A=A&1|2,n.flags|=128):A&=1,k(nt,A),At(e,n,x,l),x=Re?ml:0,!D&&e!==null&&(e.flags&128)!==0)e:for(e=n.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&O9(e,l,n);else if(e.tag===19)O9(e,l,n);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===n)break e;for(;e.sibling===null;){if(e.return===null||e.return===n)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}switch(c){case"forwards":for(l=n.child,c=null;l!==null;)e=l.alternate,e!==null&&$i(e)===null&&(c=l),l=l.sibling;l=c,l===null?(c=n.child,n.child=null):(c=l.sibling,l.sibling=null),Vo(n,!1,c,l,h,x);break;case"backwards":case"unstable_legacy-backwards":for(l=null,c=n.child,n.child=null;c!==null;){if(e=c.alternate,e!==null&&$i(e)===null){n.child=c;break}e=c.sibling,c.sibling=l,l=c,c=e}Vo(n,!0,l,null,h,x);break;case"together":Vo(n,!1,null,null,void 0,x);break;default:n.memoizedState=null}return n.child}function In(e,n,l){if(e!==null&&(n.dependencies=e.dependencies),A0|=n.lanes,(l&n.childLanes)===0)if(e!==null){if(wr(e,n,l,!1),(l&n.childLanes)===0)return null}else return null;if(e!==null&&n.child!==e.child)throw Error(a(153));if(n.child!==null){for(e=n.child,l=Hn(e,e.pendingProps),n.child=l,l.return=n;e.sibling!==null;)e=e.sibling,l=l.sibling=Hn(e,e.pendingProps),l.return=n;l.sibling=null}return n.child}function Yo(e,n){return(e.lanes&n)!==0?!0:(e=e.dependencies,!!(e!==null&&Gi(e)))}function mm(e,n,l){switch(n.tag){case 3:_e(n,n.stateNode.containerInfo),f0(n,it,e.memoizedState.cache),Q0();break;case 27:case 5:ht(n);break;case 4:_e(n,n.stateNode.containerInfo);break;case 10:f0(n,n.type,n.memoizedProps.value);break;case 31:if(n.memoizedState!==null)return n.flags|=128,po(n),null;break;case 13:var x=n.memoizedState;if(x!==null)return x.dehydrated!==null?(m0(n),n.flags|=128,null):(l&n.child.childLanes)!==0?R9(e,n,l):(m0(n),e=In(e,n,l),e!==null?e.sibling:null);m0(n);break;case 19:var c=(e.flags&128)!==0;if(x=(l&n.childLanes)!==0,x||(wr(e,n,l,!1),x=(l&n.childLanes)!==0),c){if(x)return _9(e,n,l);n.flags|=128}if(c=n.memoizedState,c!==null&&(c.rendering=null,c.tail=null,c.lastEffect=null),k(nt,nt.current),x)break;return null;case 22:return n.lanes=0,k9(e,n,l,n.pendingProps);case 24:f0(n,it,e.memoizedState.cache)}return In(e,n,l)}function N9(e,n,l){if(e!==null)if(e.memoizedProps!==n.pendingProps)xt=!0;else{if(!Yo(e,l)&&(n.flags&128)===0)return xt=!1,mm(e,n,l);xt=(e.flags&131072)!==0}else xt=!1,Re&&(n.flags&1048576)!==0&&Ef(n,ml,n.index);switch(n.lanes=0,n.tag){case 16:e:{var x=n.pendingProps;if(e=I0(n.elementType),n.type=e,typeof e=="function")Kx(e)?(x=J0(e,x),n.tag=1,n=z9(null,n,e,x,l)):(n.tag=0,n=Po(null,n,e,x,l));else{if(e!=null){var c=e.$$typeof;if(c===z){n.tag=11,n=F9(null,n,e,x,l);break e}else if(c===M){n.tag=14,n=v9(null,n,e,x,l);break e}}throw n=re(e)||e,Error(a(306,n,""))}}return n;case 0:return Po(e,n,n.type,n.pendingProps,l);case 1:return x=n.type,c=J0(x,n.pendingProps),z9(e,n,x,c,l);case 3:e:{if(_e(n,n.stateNode.containerInfo),e===null)throw Error(a(387));x=n.pendingProps;var h=n.memoizedState;c=h.element,co(e,n),Fl(n,x,null,l);var A=n.memoizedState;if(x=A.cache,f0(n,it,x),x!==h.cache&&io(n,[it],l,!0),yl(),x=A.element,h.isDehydrated)if(h={element:x,isDehydrated:!1,cache:A.cache},n.updateQueue.baseState=h,n.memoizedState=h,n.flags&256){n=M9(e,n,x,l);break e}else if(x!==c){c=un(Error(a(424)),n),pl(c),n=M9(e,n,x,l);break e}else for(e=n.stateNode.containerInfo,e.nodeType===9?e=e.body:e=e.nodeName==="HTML"?e.ownerDocument.body:e,Ze=En(e.firstChild),Ct=n,Re=!0,s0=null,fn=!0,l=kf(n,null,x,l),n.child=l;l;)l.flags=l.flags&-3|4096,l=l.sibling;else{if(Q0(),x===c){n=In(e,n,l);break e}At(e,n,x,l)}n=n.child}return n;case 26:return ua(e,n),e===null?(l=I8(n.type,null,n.pendingProps,null))?n.memoizedState=l:Re||(l=n.type,e=n.pendingProps,x=ba(oe.current).createElement(l),x[pt]=n,x[Ot]=e,gt(x,l,e),dt(x),n.stateNode=x):n.memoizedState=I8(n.type,e.memoizedProps,n.pendingProps,e.memoizedState),null;case 27:return ht(n),e===null&&Re&&(x=n.stateNode=G8(n.type,n.pendingProps,oe.current),Ct=n,fn=!0,c=Ze,v0(n.type)?(vu=c,Ze=En(x.firstChild)):Ze=c),At(e,n,n.pendingProps.children,l),ua(e,n),e===null&&(n.flags|=4194304),n.child;case 5:return e===null&&Re&&((c=x=Ze)&&(x=Ym(x,n.type,n.pendingProps,fn),x!==null?(n.stateNode=x,Ct=n,Ze=En(x.firstChild),fn=!1,c=!0):c=!1),c||c0(n)),ht(n),c=n.type,h=n.pendingProps,A=e!==null?e.memoizedProps:null,x=h.children,Au(c,h)?x=null:A!==null&&Au(c,A)&&(n.flags|=32),n.memoizedState!==null&&(c=Bo(e,n,xm,null,null,l),Gl._currentValue=c),ua(e,n),At(e,n,x,l),n.child;case 6:return e===null&&Re&&((e=l=Ze)&&(l=Im(l,n.pendingProps,fn),l!==null?(n.stateNode=l,Ct=n,Ze=null,e=!0):e=!1),e||c0(n)),null;case 13:return R9(e,n,l);case 4:return _e(n,n.stateNode.containerInfo),x=n.pendingProps,e===null?n.child=Z0(n,null,x,l):At(e,n,x,l),n.child;case 11:return F9(e,n,n.type,n.pendingProps,l);case 7:return At(e,n,n.pendingProps,l),n.child;case 8:return At(e,n,n.pendingProps.children,l),n.child;case 12:return At(e,n,n.pendingProps.children,l),n.child;case 10:return x=n.pendingProps,f0(n,n.type,x.value),At(e,n,x.children,l),n.child;case 9:return c=n.type._context,x=n.pendingProps.children,V0(n),c=Bt(c),x=x(c),n.flags|=1,At(e,n,x,l),n.child;case 14:return v9(e,n,n.type,n.pendingProps,l);case 15:return b9(e,n,n.type,n.pendingProps,l);case 19:return _9(e,n,l);case 31:return hm(e,n,l);case 22:return k9(e,n,l,n.pendingProps);case 24:return V0(n),x=Bt(it),e===null?(c=oo(),c===null&&(c=Ye,h=ao(),c.pooledCache=h,h.refCount++,h!==null&&(c.pooledCacheLanes|=l),c=h),n.memoizedState={parent:x,cache:c},so(n),f0(n,it,c)):((e.lanes&l)!==0&&(co(e,n),Fl(n,null,null,l),yl()),c=e.memoizedState,h=n.memoizedState,c.parent!==x?(c={parent:x,cache:x},n.memoizedState=c,n.lanes===0&&(n.memoizedState=n.updateQueue.baseState=c),f0(n,it,x)):(x=h.cache,f0(n,it,x),x!==c.cache&&io(n,[it],l,!0))),At(e,n,n.pendingProps.children,l),n.child;case 29:throw n.pendingProps}throw Error(a(156,n.tag))}function Xn(e){e.flags|=4}function Io(e,n,l,x,c){if((n=(e.mode&32)!==0)&&(n=!1),n){if(e.flags|=16777216,(c&335544128)===c)if(e.stateNode.complete)e.flags|=8192;else if(u8())e.flags|=8192;else throw X0=Xi,uo}else e.flags&=-16777217}function j9(e,n){if(n.type!=="stylesheet"||(n.state.loading&4)!==0)e.flags&=-16777217;else if(e.flags|=16777216,!$8(n))if(u8())e.flags|=8192;else throw X0=Xi,uo}function ca(e,n){n!==null&&(e.flags|=4),e.flags&16384&&(n=e.tag!==22?hc():536870912,e.lanes|=n,Ur|=n)}function Tl(e,n){if(!Re)switch(e.tailMode){case"hidden":n=e.tail;for(var l=null;n!==null;)n.alternate!==null&&(l=n),n=n.sibling;l===null?e.tail=null:l.sibling=null;break;case"collapsed":l=e.tail;for(var x=null;l!==null;)l.alternate!==null&&(x=l),l=l.sibling;x===null?n||e.tail===null?e.tail=null:e.tail.sibling=null:x.sibling=null}}function Ke(e){var n=e.alternate!==null&&e.alternate.child===e.child,l=0,x=0;if(n)for(var c=e.child;c!==null;)l|=c.lanes|c.childLanes,x|=c.subtreeFlags&65011712,x|=c.flags&65011712,c.return=e,c=c.sibling;else for(c=e.child;c!==null;)l|=c.lanes|c.childLanes,x|=c.subtreeFlags,x|=c.flags,c.return=e,c=c.sibling;return e.subtreeFlags|=x,e.childLanes=l,n}function pm(e,n,l){var x=n.pendingProps;switch(eo(n),n.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Ke(n),null;case 1:return Ke(n),null;case 3:return l=n.stateNode,x=null,e!==null&&(x=e.memoizedState.cache),n.memoizedState.cache!==x&&(n.flags|=2048),Gn(it),pe(),l.pendingContext&&(l.context=l.pendingContext,l.pendingContext=null),(e===null||e.child===null)&&(kr(n)?Xn(n):e===null||e.memoizedState.isDehydrated&&(n.flags&256)===0||(n.flags|=1024,no())),Ke(n),null;case 26:var c=n.type,h=n.memoizedState;return e===null?(Xn(n),h!==null?(Ke(n),j9(n,h)):(Ke(n),Io(n,c,null,x,l))):h?h!==e.memoizedState?(Xn(n),Ke(n),j9(n,h)):(Ke(n),n.flags&=-16777217):(e=e.memoizedProps,e!==x&&Xn(n),Ke(n),Io(n,c,e,x,l)),null;case 27:if(tt(n),l=oe.current,c=n.type,e!==null&&n.stateNode!=null)e.memoizedProps!==x&&Xn(n);else{if(!x){if(n.stateNode===null)throw Error(a(166));return Ke(n),null}e=ne.current,kr(n)?mf(n):(e=G8(c,x,l),n.stateNode=e,Xn(n))}return Ke(n),null;case 5:if(tt(n),c=n.type,e!==null&&n.stateNode!=null)e.memoizedProps!==x&&Xn(n);else{if(!x){if(n.stateNode===null)throw Error(a(166));return Ke(n),null}if(h=ne.current,kr(n))mf(n);else{var A=ba(oe.current);switch(h){case 1:h=A.createElementNS("http://www.w3.org/2000/svg",c);break;case 2:h=A.createElementNS("http://www.w3.org/1998/Math/MathML",c);break;default:switch(c){case"svg":h=A.createElementNS("http://www.w3.org/2000/svg",c);break;case"math":h=A.createElementNS("http://www.w3.org/1998/Math/MathML",c);break;case"script":h=A.createElement("div"),h.innerHTML="<script><\/script>",h=h.removeChild(h.firstChild);break;case"select":h=typeof x.is=="string"?A.createElement("select",{is:x.is}):A.createElement("select"),x.multiple?h.multiple=!0:x.size&&(h.size=x.size);break;default:h=typeof x.is=="string"?A.createElement(c,{is:x.is}):A.createElement(c)}}h[pt]=n,h[Ot]=x;e:for(A=n.child;A!==null;){if(A.tag===5||A.tag===6)h.appendChild(A.stateNode);else if(A.tag!==4&&A.tag!==27&&A.child!==null){A.child.return=A,A=A.child;continue}if(A===n)break e;for(;A.sibling===null;){if(A.return===null||A.return===n)break e;A=A.return}A.sibling.return=A.return,A=A.sibling}n.stateNode=h;e:switch(gt(h,c,x),c){case"button":case"input":case"select":case"textarea":x=!!x.autoFocus;break e;case"img":x=!0;break e;default:x=!1}x&&Xn(n)}}return Ke(n),Io(n,n.type,e===null?null:e.memoizedProps,n.pendingProps,l),null;case 6:if(e&&n.stateNode!=null)e.memoizedProps!==x&&Xn(n);else{if(typeof x!="string"&&n.stateNode===null)throw Error(a(166));if(e=oe.current,kr(n)){if(e=n.stateNode,l=n.memoizedProps,x=null,c=Ct,c!==null)switch(c.tag){case 27:case 5:x=c.memoizedProps}e[pt]=n,e=!!(e.nodeValue===l||x!==null&&x.suppressHydrationWarning===!0||R8(e.nodeValue,l)),e||c0(n,!0)}else e=ba(e).createTextNode(x),e[pt]=n,n.stateNode=e}return Ke(n),null;case 31:if(l=n.memoizedState,e===null||e.memoizedState!==null){if(x=kr(n),l!==null){if(e===null){if(!x)throw Error(a(318));if(e=n.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(a(557));e[pt]=n}else Q0(),(n.flags&128)===0&&(n.memoizedState=null),n.flags|=4;Ke(n),e=!1}else l=no(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=l),e=!0;if(!e)return n.flags&256?(Zt(n),n):(Zt(n),null);if((n.flags&128)!==0)throw Error(a(558))}return Ke(n),null;case 13:if(x=n.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(c=kr(n),x!==null&&x.dehydrated!==null){if(e===null){if(!c)throw Error(a(318));if(c=n.memoizedState,c=c!==null?c.dehydrated:null,!c)throw Error(a(317));c[pt]=n}else Q0(),(n.flags&128)===0&&(n.memoizedState=null),n.flags|=4;Ke(n),c=!1}else c=no(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=c),c=!0;if(!c)return n.flags&256?(Zt(n),n):(Zt(n),null)}return Zt(n),(n.flags&128)!==0?(n.lanes=l,n):(l=x!==null,e=e!==null&&e.memoizedState!==null,l&&(x=n.child,c=null,x.alternate!==null&&x.alternate.memoizedState!==null&&x.alternate.memoizedState.cachePool!==null&&(c=x.alternate.memoizedState.cachePool.pool),h=null,x.memoizedState!==null&&x.memoizedState.cachePool!==null&&(h=x.memoizedState.cachePool.pool),h!==c&&(x.flags|=2048)),l!==e&&l&&(n.child.flags|=8192),ca(n,n.updateQueue),Ke(n),null);case 4:return pe(),e===null&&hu(n.stateNode.containerInfo),Ke(n),null;case 10:return Gn(n.type),Ke(n),null;case 19:if(Z(nt),x=n.memoizedState,x===null)return Ke(n),null;if(c=(n.flags&128)!==0,h=x.rendering,h===null)if(c)Tl(x,!1);else{if(et!==0||e!==null&&(e.flags&128)!==0)for(e=n.child;e!==null;){if(h=$i(e),h!==null){for(n.flags|=128,Tl(x,!1),e=h.updateQueue,n.updateQueue=e,ca(n,e),n.subtreeFlags=0,e=l,l=n.child;l!==null;)cf(l,e),l=l.sibling;return k(nt,nt.current&1|2),Re&&qn(n,x.treeForkCount),n.child}e=e.sibling}x.tail!==null&&kt()>ma&&(n.flags|=128,c=!0,Tl(x,!1),n.lanes=4194304)}else{if(!c)if(e=$i(h),e!==null){if(n.flags|=128,c=!0,e=e.updateQueue,n.updateQueue=e,ca(n,e),Tl(x,!0),x.tail===null&&x.tailMode==="hidden"&&!h.alternate&&!Re)return Ke(n),null}else 2*kt()-x.renderingStartTime>ma&&l!==536870912&&(n.flags|=128,c=!0,Tl(x,!1),n.lanes=4194304);x.isBackwards?(h.sibling=n.child,n.child=h):(e=x.last,e!==null?e.sibling=h:n.child=h,x.last=h)}return x.tail!==null?(e=x.tail,x.rendering=e,x.tail=e.sibling,x.renderingStartTime=kt(),e.sibling=null,l=nt.current,k(nt,c?l&1|2:l&1),Re&&qn(n,x.treeForkCount),e):(Ke(n),null);case 22:case 23:return Zt(n),mo(),x=n.memoizedState!==null,e!==null?e.memoizedState!==null!==x&&(n.flags|=8192):x&&(n.flags|=8192),x?(l&536870912)!==0&&(n.flags&128)===0&&(Ke(n),n.subtreeFlags&6&&(n.flags|=8192)):Ke(n),l=n.updateQueue,l!==null&&ca(n,l.retryQueue),l=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(l=e.memoizedState.cachePool.pool),x=null,n.memoizedState!==null&&n.memoizedState.cachePool!==null&&(x=n.memoizedState.cachePool.pool),x!==l&&(n.flags|=2048),e!==null&&Z(Y0),null;case 24:return l=null,e!==null&&(l=e.memoizedState.cache),n.memoizedState.cache!==l&&(n.flags|=2048),Gn(it),Ke(n),null;case 25:return null;case 30:return null}throw Error(a(156,n.tag))}function Cm(e,n){switch(eo(n),n.tag){case 1:return e=n.flags,e&65536?(n.flags=e&-65537|128,n):null;case 3:return Gn(it),pe(),e=n.flags,(e&65536)!==0&&(e&128)===0?(n.flags=e&-65537|128,n):null;case 26:case 27:case 5:return tt(n),null;case 31:if(n.memoizedState!==null){if(Zt(n),n.alternate===null)throw Error(a(340));Q0()}return e=n.flags,e&65536?(n.flags=e&-65537|128,n):null;case 13:if(Zt(n),e=n.memoizedState,e!==null&&e.dehydrated!==null){if(n.alternate===null)throw Error(a(340));Q0()}return e=n.flags,e&65536?(n.flags=e&-65537|128,n):null;case 19:return Z(nt),null;case 4:return pe(),null;case 10:return Gn(n.type),null;case 22:case 23:return Zt(n),mo(),e!==null&&Z(Y0),e=n.flags,e&65536?(n.flags=e&-65537|128,n):null;case 24:return Gn(it),null;case 25:return null;default:return null}}function L9(e,n){switch(eo(n),n.tag){case 3:Gn(it),pe();break;case 26:case 27:case 5:tt(n);break;case 4:pe();break;case 31:n.memoizedState!==null&&Zt(n);break;case 13:Zt(n);break;case 19:Z(nt);break;case 10:Gn(n.type);break;case 22:case 23:Zt(n),mo(),e!==null&&Z(Y0);break;case 24:Gn(it)}}function zl(e,n){try{var l=n.updateQueue,x=l!==null?l.lastEffect:null;if(x!==null){var c=x.next;l=c;do{if((l.tag&e)===e){x=void 0;var h=l.create,A=l.inst;x=h(),A.destroy=x}l=l.next}while(l!==c)}}catch(D){He(n,n.return,D)}}function C0(e,n,l){try{var x=n.updateQueue,c=x!==null?x.lastEffect:null;if(c!==null){var h=c.next;x=h;do{if((x.tag&e)===e){var A=x.inst,D=A.destroy;if(D!==void 0){A.destroy=void 0,c=n;var _=l,G=D;try{G()}catch(W){He(c,_,W)}}}x=x.next}while(x!==h)}}catch(W){He(n,n.return,W)}}function P9(e){var n=e.updateQueue;if(n!==null){var l=e.stateNode;try{Sf(n,l)}catch(x){He(e,e.return,x)}}}function U9(e,n,l){l.props=J0(e.type,e.memoizedProps),l.state=e.memoizedState;try{l.componentWillUnmount()}catch(x){He(e,n,x)}}function Ml(e,n){try{var l=e.ref;if(l!==null){switch(e.tag){case 26:case 27:case 5:var x=e.stateNode;break;case 30:x=e.stateNode;break;default:x=e.stateNode}typeof l=="function"?e.refCleanup=l(x):l.current=x}}catch(c){He(e,n,c)}}function zn(e,n){var l=e.ref,x=e.refCleanup;if(l!==null)if(typeof x=="function")try{x()}catch(c){He(e,n,c)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof l=="function")try{l(null)}catch(c){He(e,n,c)}else l.current=null}function H9(e){var n=e.type,l=e.memoizedProps,x=e.stateNode;try{e:switch(n){case"button":case"input":case"select":case"textarea":l.autoFocus&&x.focus();break e;case"img":l.src?x.src=l.src:l.srcSet&&(x.srcset=l.srcSet)}}catch(c){He(e,e.return,c)}}function Xo(e,n,l){try{var x=e.stateNode;Um(x,e.type,l,n),x[Ot]=n}catch(c){He(e,e.return,c)}}function q9(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&v0(e.type)||e.tag===4}function Zo(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||q9(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.tag===27&&v0(e.type)||e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function Ko(e,n,l){var x=e.tag;if(x===5||x===6)e=e.stateNode,n?(l.nodeType===9?l.body:l.nodeName==="HTML"?l.ownerDocument.body:l).insertBefore(e,n):(n=l.nodeType===9?l.body:l.nodeName==="HTML"?l.ownerDocument.body:l,n.appendChild(e),l=l._reactRootContainer,l!=null||n.onclick!==null||(n.onclick=Pn));else if(x!==4&&(x===27&&v0(e.type)&&(l=e.stateNode,n=null),e=e.child,e!==null))for(Ko(e,n,l),e=e.sibling;e!==null;)Ko(e,n,l),e=e.sibling}function fa(e,n,l){var x=e.tag;if(x===5||x===6)e=e.stateNode,n?l.insertBefore(e,n):l.appendChild(e);else if(x!==4&&(x===27&&v0(e.type)&&(l=e.stateNode),e=e.child,e!==null))for(fa(e,n,l),e=e.sibling;e!==null;)fa(e,n,l),e=e.sibling}function Q9(e){var n=e.stateNode,l=e.memoizedProps;try{for(var x=e.type,c=n.attributes;c.length;)n.removeAttributeNode(c[0]);gt(n,x,l),n[pt]=e,n[Ot]=l}catch(h){He(e,e.return,h)}}var Zn=!1,ot=!1,Jo=!1,G9=typeof WeakSet=="function"?WeakSet:Set,Et=null;function Bm(e,n){if(e=e.containerInfo,Cu=Ra,e=tf(e),Qx(e)){if("selectionStart"in e)var l={start:e.selectionStart,end:e.selectionEnd};else e:{l=(l=e.ownerDocument)&&l.defaultView||window;var x=l.getSelection&&l.getSelection();if(x&&x.rangeCount!==0){l=x.anchorNode;var c=x.anchorOffset,h=x.focusNode;x=x.focusOffset;try{l.nodeType,h.nodeType}catch{l=null;break e}var A=0,D=-1,_=-1,G=0,W=0,le=e,Y=null;t:for(;;){for(var $;le!==l||c!==0&&le.nodeType!==3||(D=A+c),le!==h||x!==0&&le.nodeType!==3||(_=A+x),le.nodeType===3&&(A+=le.nodeValue.length),($=le.firstChild)!==null;)Y=le,le=$;for(;;){if(le===e)break t;if(Y===l&&++G===c&&(D=A),Y===h&&++W===x&&(_=A),($=le.nextSibling)!==null)break;le=Y,Y=le.parentNode}le=$}l=D===-1||_===-1?null:{start:D,end:_}}else l=null}l=l||{start:0,end:0}}else l=null;for(Bu={focusedElem:e,selectionRange:l},Ra=!1,Et=n;Et!==null;)if(n=Et,e=n.child,(n.subtreeFlags&1028)!==0&&e!==null)e.return=n,Et=e;else for(;Et!==null;){switch(n=Et,h=n.alternate,e=n.flags,n.tag){case 0:if((e&4)!==0&&(e=n.updateQueue,e=e!==null?e.events:null,e!==null))for(l=0;l<e.length;l++)c=e[l],c.ref.impl=c.nextImpl;break;case 11:case 15:break;case 1:if((e&1024)!==0&&h!==null){e=void 0,l=n,c=h.memoizedProps,h=h.memoizedState,x=l.stateNode;try{var Ee=J0(l.type,c);e=x.getSnapshotBeforeUpdate(Ee,h),x.__reactInternalSnapshotBeforeUpdate=e}catch(Ae){He(l,l.return,Ae)}}break;case 3:if((e&1024)!==0){if(e=n.stateNode.containerInfo,l=e.nodeType,l===9)Du(e);else if(l===1)switch(e.nodeName){case"HEAD":case"HTML":case"BODY":Du(e);break;default:e.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((e&1024)!==0)throw Error(a(163))}if(e=n.sibling,e!==null){e.return=n.return,Et=e;break}Et=n.return}}function V9(e,n,l){var x=l.flags;switch(l.tag){case 0:case 11:case 15:Jn(e,l),x&4&&zl(5,l);break;case 1:if(Jn(e,l),x&4)if(e=l.stateNode,n===null)try{e.componentDidMount()}catch(A){He(l,l.return,A)}else{var c=J0(l.type,n.memoizedProps);n=n.memoizedState;try{e.componentDidUpdate(c,n,e.__reactInternalSnapshotBeforeUpdate)}catch(A){He(l,l.return,A)}}x&64&&P9(l),x&512&&Ml(l,l.return);break;case 3:if(Jn(e,l),x&64&&(e=l.updateQueue,e!==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{Sf(e,n)}catch(A){He(l,l.return,A)}}break;case 27:n===null&&x&4&&Q9(l);case 26:case 5:Jn(e,l),n===null&&x&4&&H9(l),x&512&&Ml(l,l.return);break;case 12:Jn(e,l);break;case 31:Jn(e,l),x&4&&X9(e,l);break;case 13:Jn(e,l),x&4&&Z9(e,l),x&64&&(e=l.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(l=wm.bind(null,l),Xm(e,l))));break;case 22:if(x=l.memoizedState!==null||Zn,!x){n=n!==null&&n.memoizedState!==null||ot,c=Zn;var h=ot;Zn=x,(ot=n)&&!h?$n(e,l,(l.subtreeFlags&8772)!==0):Jn(e,l),Zn=c,ot=h}break;case 30:break;default:Jn(e,l)}}function Y9(e){var n=e.alternate;n!==null&&(e.alternate=null,Y9(n)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(n=e.stateNode,n!==null&&bx(n)),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}var $e=null,Nt=!1;function Kn(e,n,l){for(l=l.child;l!==null;)I9(e,n,l),l=l.sibling}function I9(e,n,l){if(st&&typeof st.onCommitFiberUnmount=="function")try{st.onCommitFiberUnmount(wt,l)}catch{}switch(l.tag){case 26:ot||zn(l,n),Kn(e,n,l),l.memoizedState?l.memoizedState.count--:l.stateNode&&(l=l.stateNode,l.parentNode.removeChild(l));break;case 27:ot||zn(l,n);var x=$e,c=Nt;v0(l.type)&&($e=l.stateNode,Nt=!1),Kn(e,n,l),Hl(l.stateNode),$e=x,Nt=c;break;case 5:ot||zn(l,n);case 6:if(x=$e,c=Nt,$e=null,Kn(e,n,l),$e=x,Nt=c,$e!==null)if(Nt)try{($e.nodeType===9?$e.body:$e.nodeName==="HTML"?$e.ownerDocument.body:$e).removeChild(l.stateNode)}catch(h){He(l,n,h)}else try{$e.removeChild(l.stateNode)}catch(h){He(l,n,h)}break;case 18:$e!==null&&(Nt?(e=$e,P8(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,l.stateNode),Xr(e)):P8($e,l.stateNode));break;case 4:x=$e,c=Nt,$e=l.stateNode.containerInfo,Nt=!0,Kn(e,n,l),$e=x,Nt=c;break;case 0:case 11:case 14:case 15:C0(2,l,n),ot||C0(4,l,n),Kn(e,n,l);break;case 1:ot||(zn(l,n),x=l.stateNode,typeof x.componentWillUnmount=="function"&&U9(l,n,x)),Kn(e,n,l);break;case 21:Kn(e,n,l);break;case 22:ot=(x=ot)||l.memoizedState!==null,Kn(e,n,l),ot=x;break;default:Kn(e,n,l)}}function X9(e,n){if(n.memoizedState===null&&(e=n.alternate,e!==null&&(e=e.memoizedState,e!==null))){e=e.dehydrated;try{Xr(e)}catch(l){He(n,n.return,l)}}}function Z9(e,n){if(n.memoizedState===null&&(e=n.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{Xr(e)}catch(l){He(n,n.return,l)}}function Am(e){switch(e.tag){case 31:case 13:case 19:var n=e.stateNode;return n===null&&(n=e.stateNode=new G9),n;case 22:return e=e.stateNode,n=e._retryCache,n===null&&(n=e._retryCache=new G9),n;default:throw Error(a(435,e.tag))}}function da(e,n){var l=Am(e);n.forEach(function(x){if(!l.has(x)){l.add(x);var c=Sm.bind(null,e,x);x.then(c,c)}})}function jt(e,n){var l=n.deletions;if(l!==null)for(var x=0;x<l.length;x++){var c=l[x],h=e,A=n,D=A;e:for(;D!==null;){switch(D.tag){case 27:if(v0(D.type)){$e=D.stateNode,Nt=!1;break e}break;case 5:$e=D.stateNode,Nt=!1;break e;case 3:case 4:$e=D.stateNode.containerInfo,Nt=!0;break e}D=D.return}if($e===null)throw Error(a(160));I9(h,A,c),$e=null,Nt=!1,h=c.alternate,h!==null&&(h.return=null),c.return=null}if(n.subtreeFlags&13886)for(n=n.child;n!==null;)K9(n,e),n=n.sibling}var gn=null;function K9(e,n){var l=e.alternate,x=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:jt(n,e),Lt(e),x&4&&(C0(3,e,e.return),zl(3,e),C0(5,e,e.return));break;case 1:jt(n,e),Lt(e),x&512&&(ot||l===null||zn(l,l.return)),x&64&&Zn&&(e=e.updateQueue,e!==null&&(x=e.callbacks,x!==null&&(l=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=l===null?x:l.concat(x))));break;case 26:var c=gn;if(jt(n,e),Lt(e),x&512&&(ot||l===null||zn(l,l.return)),x&4){var h=l!==null?l.memoizedState:null;if(x=e.memoizedState,l===null)if(x===null)if(e.stateNode===null){e:{x=e.type,l=e.memoizedProps,c=c.ownerDocument||c;t:switch(x){case"title":h=c.getElementsByTagName("title")[0],(!h||h[il]||h[pt]||h.namespaceURI==="http://www.w3.org/2000/svg"||h.hasAttribute("itemprop"))&&(h=c.createElement(x),c.head.insertBefore(h,c.querySelector("head > title"))),gt(h,x,l),h[pt]=e,dt(h),x=h;break e;case"link":var A=K8("link","href",c).get(x+(l.href||""));if(A){for(var D=0;D<A.length;D++)if(h=A[D],h.getAttribute("href")===(l.href==null||l.href===""?null:l.href)&&h.getAttribute("rel")===(l.rel==null?null:l.rel)&&h.getAttribute("title")===(l.title==null?null:l.title)&&h.getAttribute("crossorigin")===(l.crossOrigin==null?null:l.crossOrigin)){A.splice(D,1);break t}}h=c.createElement(x),gt(h,x,l),c.head.appendChild(h);break;case"meta":if(A=K8("meta","content",c).get(x+(l.content||""))){for(D=0;D<A.length;D++)if(h=A[D],h.getAttribute("content")===(l.content==null?null:""+l.content)&&h.getAttribute("name")===(l.name==null?null:l.name)&&h.getAttribute("property")===(l.property==null?null:l.property)&&h.getAttribute("http-equiv")===(l.httpEquiv==null?null:l.httpEquiv)&&h.getAttribute("charset")===(l.charSet==null?null:l.charSet)){A.splice(D,1);break t}}h=c.createElement(x),gt(h,x,l),c.head.appendChild(h);break;default:throw Error(a(468,x))}h[pt]=e,dt(h),x=h}e.stateNode=x}else J8(c,e.type,e.stateNode);else e.stateNode=Z8(c,x,e.memoizedProps);else h!==x?(h===null?l.stateNode!==null&&(l=l.stateNode,l.parentNode.removeChild(l)):h.count--,x===null?J8(c,e.type,e.stateNode):Z8(c,x,e.memoizedProps)):x===null&&e.stateNode!==null&&Xo(e,e.memoizedProps,l.memoizedProps)}break;case 27:jt(n,e),Lt(e),x&512&&(ot||l===null||zn(l,l.return)),l!==null&&x&4&&Xo(e,e.memoizedProps,l.memoizedProps);break;case 5:if(jt(n,e),Lt(e),x&512&&(ot||l===null||zn(l,l.return)),e.flags&32){c=e.stateNode;try{pr(c,"")}catch(Ee){He(e,e.return,Ee)}}x&4&&e.stateNode!=null&&(c=e.memoizedProps,Xo(e,c,l!==null?l.memoizedProps:c)),x&1024&&(Jo=!0);break;case 6:if(jt(n,e),Lt(e),x&4){if(e.stateNode===null)throw Error(a(162));x=e.memoizedProps,l=e.stateNode;try{l.nodeValue=x}catch(Ee){He(e,e.return,Ee)}}break;case 3:if(Sa=null,c=gn,gn=ka(n.containerInfo),jt(n,e),gn=c,Lt(e),x&4&&l!==null&&l.memoizedState.isDehydrated)try{Xr(n.containerInfo)}catch(Ee){He(e,e.return,Ee)}Jo&&(Jo=!1,J9(e));break;case 4:x=gn,gn=ka(e.stateNode.containerInfo),jt(n,e),Lt(e),gn=x;break;case 12:jt(n,e),Lt(e);break;case 31:jt(n,e),Lt(e),x&4&&(x=e.updateQueue,x!==null&&(e.updateQueue=null,da(e,x)));break;case 13:jt(n,e),Lt(e),e.child.flags&8192&&e.memoizedState!==null!=(l!==null&&l.memoizedState!==null)&&(ha=kt()),x&4&&(x=e.updateQueue,x!==null&&(e.updateQueue=null,da(e,x)));break;case 22:c=e.memoizedState!==null;var _=l!==null&&l.memoizedState!==null,G=Zn,W=ot;if(Zn=G||c,ot=W||_,jt(n,e),ot=W,Zn=G,Lt(e),x&8192)e:for(n=e.stateNode,n._visibility=c?n._visibility&-2:n._visibility|1,c&&(l===null||_||Zn||ot||$0(e)),l=null,n=e;;){if(n.tag===5||n.tag===26){if(l===null){_=l=n;try{if(h=_.stateNode,c)A=h.style,typeof A.setProperty=="function"?A.setProperty("display","none","important"):A.display="none";else{D=_.stateNode;var le=_.memoizedProps.style,Y=le!=null&&le.hasOwnProperty("display")?le.display:null;D.style.display=Y==null||typeof Y=="boolean"?"":(""+Y).trim()}}catch(Ee){He(_,_.return,Ee)}}}else if(n.tag===6){if(l===null){_=n;try{_.stateNode.nodeValue=c?"":_.memoizedProps}catch(Ee){He(_,_.return,Ee)}}}else if(n.tag===18){if(l===null){_=n;try{var $=_.stateNode;c?U8($,!0):U8(_.stateNode,!1)}catch(Ee){He(_,_.return,Ee)}}}else if((n.tag!==22&&n.tag!==23||n.memoizedState===null||n===e)&&n.child!==null){n.child.return=n,n=n.child;continue}if(n===e)break e;for(;n.sibling===null;){if(n.return===null||n.return===e)break e;l===n&&(l=null),n=n.return}l===n&&(l=null),n.sibling.return=n.return,n=n.sibling}x&4&&(x=e.updateQueue,x!==null&&(l=x.retryQueue,l!==null&&(x.retryQueue=null,da(e,l))));break;case 19:jt(n,e),Lt(e),x&4&&(x=e.updateQueue,x!==null&&(e.updateQueue=null,da(e,x)));break;case 30:break;case 21:break;default:jt(n,e),Lt(e)}}function Lt(e){var n=e.flags;if(n&2){try{for(var l,x=e.return;x!==null;){if(q9(x)){l=x;break}x=x.return}if(l==null)throw Error(a(160));switch(l.tag){case 27:var c=l.stateNode,h=Zo(e);fa(e,h,c);break;case 5:var A=l.stateNode;l.flags&32&&(pr(A,""),l.flags&=-33);var D=Zo(e);fa(e,D,A);break;case 3:case 4:var _=l.stateNode.containerInfo,G=Zo(e);Ko(e,G,_);break;default:throw Error(a(161))}}catch(W){He(e,e.return,W)}e.flags&=-3}n&4096&&(e.flags&=-4097)}function J9(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var n=e;J9(n),n.tag===5&&n.flags&1024&&n.stateNode.reset(),e=e.sibling}}function Jn(e,n){if(n.subtreeFlags&8772)for(n=n.child;n!==null;)V9(e,n.alternate,n),n=n.sibling}function $0(e){for(e=e.child;e!==null;){var n=e;switch(n.tag){case 0:case 11:case 14:case 15:C0(4,n,n.return),$0(n);break;case 1:zn(n,n.return);var l=n.stateNode;typeof l.componentWillUnmount=="function"&&U9(n,n.return,l),$0(n);break;case 27:Hl(n.stateNode);case 26:case 5:zn(n,n.return),$0(n);break;case 22:n.memoizedState===null&&$0(n);break;case 30:$0(n);break;default:$0(n)}e=e.sibling}}function $n(e,n,l){for(l=l&&(n.subtreeFlags&8772)!==0,n=n.child;n!==null;){var x=n.alternate,c=e,h=n,A=h.flags;switch(h.tag){case 0:case 11:case 15:$n(c,h,l),zl(4,h);break;case 1:if($n(c,h,l),x=h,c=x.stateNode,typeof c.componentDidMount=="function")try{c.componentDidMount()}catch(G){He(x,x.return,G)}if(x=h,c=x.updateQueue,c!==null){var D=x.stateNode;try{var _=c.shared.hiddenCallbacks;if(_!==null)for(c.shared.hiddenCallbacks=null,c=0;c<_.length;c++)wf(_[c],D)}catch(G){He(x,x.return,G)}}l&&A&64&&P9(h),Ml(h,h.return);break;case 27:Q9(h);case 26:case 5:$n(c,h,l),l&&x===null&&A&4&&H9(h),Ml(h,h.return);break;case 12:$n(c,h,l);break;case 31:$n(c,h,l),l&&A&4&&X9(c,h);break;case 13:$n(c,h,l),l&&A&4&&Z9(c,h);break;case 22:h.memoizedState===null&&$n(c,h,l),Ml(h,h.return);break;case 30:break;default:$n(c,h,l)}n=n.sibling}}function $o(e,n){var l=null;e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(l=e.memoizedState.cachePool.pool),e=null,n.memoizedState!==null&&n.memoizedState.cachePool!==null&&(e=n.memoizedState.cachePool.pool),e!==l&&(e!=null&&e.refCount++,l!=null&&Cl(l))}function Wo(e,n){e=null,n.alternate!==null&&(e=n.alternate.memoizedState.cache),n=n.memoizedState.cache,n!==e&&(n.refCount++,e!=null&&Cl(e))}function Dn(e,n,l,x){if(n.subtreeFlags&10256)for(n=n.child;n!==null;)$9(e,n,l,x),n=n.sibling}function $9(e,n,l,x){var c=n.flags;switch(n.tag){case 0:case 11:case 15:Dn(e,n,l,x),c&2048&&zl(9,n);break;case 1:Dn(e,n,l,x);break;case 3:Dn(e,n,l,x),c&2048&&(e=null,n.alternate!==null&&(e=n.alternate.memoizedState.cache),n=n.memoizedState.cache,n!==e&&(n.refCount++,e!=null&&Cl(e)));break;case 12:if(c&2048){Dn(e,n,l,x),e=n.stateNode;try{var h=n.memoizedProps,A=h.id,D=h.onPostCommit;typeof D=="function"&&D(A,n.alternate===null?"mount":"update",e.passiveEffectDuration,-0)}catch(_){He(n,n.return,_)}}else Dn(e,n,l,x);break;case 31:Dn(e,n,l,x);break;case 13:Dn(e,n,l,x);break;case 23:break;case 22:h=n.stateNode,A=n.alternate,n.memoizedState!==null?h._visibility&2?Dn(e,n,l,x):Rl(e,n):h._visibility&2?Dn(e,n,l,x):(h._visibility|=2,jr(e,n,l,x,(n.subtreeFlags&10256)!==0||!1)),c&2048&&$o(A,n);break;case 24:Dn(e,n,l,x),c&2048&&Wo(n.alternate,n);break;default:Dn(e,n,l,x)}}function jr(e,n,l,x,c){for(c=c&&((n.subtreeFlags&10256)!==0||!1),n=n.child;n!==null;){var h=e,A=n,D=l,_=x,G=A.flags;switch(A.tag){case 0:case 11:case 15:jr(h,A,D,_,c),zl(8,A);break;case 23:break;case 22:var W=A.stateNode;A.memoizedState!==null?W._visibility&2?jr(h,A,D,_,c):Rl(h,A):(W._visibility|=2,jr(h,A,D,_,c)),c&&G&2048&&$o(A.alternate,A);break;case 24:jr(h,A,D,_,c),c&&G&2048&&Wo(A.alternate,A);break;default:jr(h,A,D,_,c)}n=n.sibling}}function Rl(e,n){if(n.subtreeFlags&10256)for(n=n.child;n!==null;){var l=e,x=n,c=x.flags;switch(x.tag){case 22:Rl(l,x),c&2048&&$o(x.alternate,x);break;case 24:Rl(l,x),c&2048&&Wo(x.alternate,x);break;default:Rl(l,x)}n=n.sibling}}var Ol=8192;function Lr(e,n,l){if(e.subtreeFlags&Ol)for(e=e.child;e!==null;)W9(e,n,l),e=e.sibling}function W9(e,n,l){switch(e.tag){case 26:Lr(e,n,l),e.flags&Ol&&e.memoizedState!==null&&a5(l,gn,e.memoizedState,e.memoizedProps);break;case 5:Lr(e,n,l);break;case 3:case 4:var x=gn;gn=ka(e.stateNode.containerInfo),Lr(e,n,l),gn=x;break;case 22:e.memoizedState===null&&(x=e.alternate,x!==null&&x.memoizedState!==null?(x=Ol,Ol=16777216,Lr(e,n,l),Ol=x):Lr(e,n,l));break;default:Lr(e,n,l)}}function e8(e){var n=e.alternate;if(n!==null&&(e=n.child,e!==null)){n.child=null;do n=e.sibling,e.sibling=null,e=n;while(e!==null)}}function _l(e){var n=e.deletions;if((e.flags&16)!==0){if(n!==null)for(var l=0;l<n.length;l++){var x=n[l];Et=x,n8(x,e)}e8(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)t8(e),e=e.sibling}function t8(e){switch(e.tag){case 0:case 11:case 15:_l(e),e.flags&2048&&C0(9,e,e.return);break;case 3:_l(e);break;case 12:_l(e);break;case 22:var n=e.stateNode;e.memoizedState!==null&&n._visibility&2&&(e.return===null||e.return.tag!==13)?(n._visibility&=-3,Ea(e)):_l(e);break;default:_l(e)}}function Ea(e){var n=e.deletions;if((e.flags&16)!==0){if(n!==null)for(var l=0;l<n.length;l++){var x=n[l];Et=x,n8(x,e)}e8(e)}for(e=e.child;e!==null;){switch(n=e,n.tag){case 0:case 11:case 15:C0(8,n,n.return),Ea(n);break;case 22:l=n.stateNode,l._visibility&2&&(l._visibility&=-3,Ea(n));break;default:Ea(n)}e=e.sibling}}function n8(e,n){for(;Et!==null;){var l=Et;switch(l.tag){case 0:case 11:case 15:C0(8,l,n);break;case 23:case 22:if(l.memoizedState!==null&&l.memoizedState.cachePool!==null){var x=l.memoizedState.cachePool.pool;x!=null&&x.refCount++}break;case 24:Cl(l.memoizedState.cache)}if(x=l.child,x!==null)x.return=l,Et=x;else e:for(l=e;Et!==null;){x=Et;var c=x.sibling,h=x.return;if(Y9(x),x===l){Et=null;break e}if(c!==null){c.return=h,Et=c;break e}Et=h}}}var gm={getCacheForType:function(e){var n=Bt(it),l=n.data.get(e);return l===void 0&&(l=e(),n.data.set(e,l)),l},cacheSignal:function(){return Bt(it).controller.signal}},Dm=typeof WeakMap=="function"?WeakMap:Map,Le=0,Ye=null,we=null,ze=0,Ue=0,Kt=null,B0=!1,Pr=!1,eu=!1,Wn=0,et=0,A0=0,W0=0,tu=0,Jt=0,Ur=0,Nl=null,Pt=null,nu=!1,ha=0,r8=0,ma=1/0,pa=null,g0=null,ct=0,D0=null,Hr=null,e0=0,ru=0,lu=null,l8=null,jl=0,iu=null;function $t(){return(Le&2)!==0&&ze!==0?ze&-ze:U.T!==null?cu():Bc()}function i8(){if(Jt===0)if((ze&536870912)===0||Re){var e=vi;vi<<=1,(vi&3932160)===0&&(vi=262144),Jt=e}else Jt=536870912;return e=Xt.current,e!==null&&(e.flags|=32),Jt}function Ut(e,n,l){(e===Ye&&(Ue===2||Ue===9)||e.cancelPendingCommit!==null)&&(qr(e,0),y0(e,ze,Jt,!1)),ll(e,l),((Le&2)===0||e!==Ye)&&(e===Ye&&((Le&2)===0&&(W0|=l),et===4&&y0(e,ze,Jt,!1)),Mn(e))}function a8(e,n,l){if((Le&6)!==0)throw Error(a(327));var x=!l&&(n&127)===0&&(n&e.expiredLanes)===0||rl(e,n),c=x?vm(e,n):xu(e,n,!0),h=x;do{if(c===0){Pr&&!x&&y0(e,n,0,!1);break}else{if(l=e.current.alternate,h&&!ym(l)){c=xu(e,n,!1),h=!1;continue}if(c===2){if(h=n,e.errorRecoveryDisabledLanes&h)var A=0;else A=e.pendingLanes&-536870913,A=A!==0?A:A&536870912?536870912:0;if(A!==0){n=A;e:{var D=e;c=Nl;var _=D.current.memoizedState.isDehydrated;if(_&&(qr(D,A).flags|=256),A=xu(D,A,!1),A!==2){if(eu&&!_){D.errorRecoveryDisabledLanes|=h,W0|=h,c=4;break e}h=Pt,Pt=c,h!==null&&(Pt===null?Pt=h:Pt.push.apply(Pt,h))}c=A}if(h=!1,c!==2)continue}}if(c===1){qr(e,0),y0(e,n,0,!0);break}e:{switch(x=e,h=c,h){case 0:case 1:throw Error(a(345));case 4:if((n&4194048)!==n)break;case 6:y0(x,n,Jt,!B0);break e;case 2:Pt=null;break;case 3:case 5:break;default:throw Error(a(329))}if((n&62914560)===n&&(c=ha+300-kt(),10<c)){if(y0(x,n,Jt,!B0),ki(x,0,!0)!==0)break e;e0=n,x.timeoutHandle=j8(x8.bind(null,x,l,Pt,pa,nu,n,Jt,W0,Ur,B0,h,"Throttled",-0,0),c);break e}x8(x,l,Pt,pa,nu,n,Jt,W0,Ur,B0,h,null,-0,0)}}break}while(!0);Mn(e)}function x8(e,n,l,x,c,h,A,D,_,G,W,le,Y,$){if(e.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:Pn},W9(n,h,le);var Ee=(h&62914560)===h?ha-kt():(h&4194048)===h?r8-kt():0;if(Ee=x5(le,Ee),Ee!==null){e0=h,e.cancelPendingCommit=Ee(h8.bind(null,e,n,h,l,x,c,A,D,_,W,le,null,Y,$)),y0(e,h,A,!G);return}}h8(e,n,h,l,x,c,A,D,_)}function ym(e){for(var n=e;;){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 x=0;x<l.length;x++){var c=l[x],h=c.getSnapshot;c=c.value;try{if(!Yt(h(),c))return!1}catch{return!1}}if(l=n.child,n.subtreeFlags&16384&&l!==null)l.return=n,n=l;else{if(n===e)break;for(;n.sibling===null;){if(n.return===null||n.return===e)return!0;n=n.return}n.sibling.return=n.return,n=n.sibling}}return!0}function y0(e,n,l,x){n&=~tu,n&=~W0,e.suspendedLanes|=n,e.pingedLanes&=~n,x&&(e.warmLanes|=n),x=e.expirationTimes;for(var c=n;0<c;){var h=31-Ve(c),A=1<<h;x[h]=-1,c&=~A}l!==0&&mc(e,l,n)}function Ca(){return(Le&6)===0?(Ll(0),!1):!0}function au(){if(we!==null){if(Ue===0)var e=we.return;else e=we,Qn=G0=null,Do(e),Mr=null,Al=0,e=we;for(;e!==null;)L9(e.alternate,e),e=e.return;we=null}}function qr(e,n){var l=e.timeoutHandle;l!==-1&&(e.timeoutHandle=-1,Qm(l)),l=e.cancelPendingCommit,l!==null&&(e.cancelPendingCommit=null,l()),e0=0,au(),Ye=e,we=l=Hn(e.current,null),ze=n,Ue=0,Kt=null,B0=!1,Pr=rl(e,n),eu=!1,Ur=Jt=tu=W0=A0=et=0,Pt=Nl=null,nu=!1,(n&8)!==0&&(n|=n&32);var x=e.entangledLanes;if(x!==0)for(e=e.entanglements,x&=n;0<x;){var c=31-Ve(x),h=1<<c;n|=e[c],x&=~h}return Wn=n,Pi(),l}function o8(e,n){Fe=null,U.H=wl,n===zr||n===Ii?(n=Ff(),Ue=3):n===uo?(n=Ff(),Ue=4):Ue=n===Lo?8:n!==null&&typeof n=="object"&&typeof n.then=="function"?6:1,Kt=n,we===null&&(et=1,xa(e,un(n,e.current)))}function u8(){var e=Xt.current;return e===null?!0:(ze&4194048)===ze?dn===null:(ze&62914560)===ze||(ze&536870912)!==0?e===dn:!1}function s8(){var e=U.H;return U.H=wl,e===null?wl:e}function c8(){var e=U.A;return U.A=gm,e}function Ba(){et=4,B0||(ze&4194048)!==ze&&Xt.current!==null||(Pr=!0),(A0&134217727)===0&&(W0&134217727)===0||Ye===null||y0(Ye,ze,Jt,!1)}function xu(e,n,l){var x=Le;Le|=2;var c=s8(),h=c8();(Ye!==e||ze!==n)&&(pa=null,qr(e,n)),n=!1;var A=et;e:do try{if(Ue!==0&&we!==null){var D=we,_=Kt;switch(Ue){case 8:au(),A=6;break e;case 3:case 2:case 9:case 6:Xt.current===null&&(n=!0);var G=Ue;if(Ue=0,Kt=null,Qr(e,D,_,G),l&&Pr){A=0;break e}break;default:G=Ue,Ue=0,Kt=null,Qr(e,D,_,G)}}Fm(),A=et;break}catch(W){o8(e,W)}while(!0);return n&&e.shellSuspendCounter++,Qn=G0=null,Le=x,U.H=c,U.A=h,we===null&&(Ye=null,ze=0,Pi()),A}function Fm(){for(;we!==null;)f8(we)}function vm(e,n){var l=Le;Le|=2;var x=s8(),c=c8();Ye!==e||ze!==n?(pa=null,ma=kt()+500,qr(e,n)):Pr=rl(e,n);e:do try{if(Ue!==0&&we!==null){n=we;var h=Kt;t:switch(Ue){case 1:Ue=0,Kt=null,Qr(e,n,h,1);break;case 2:case 9:if(Df(h)){Ue=0,Kt=null,d8(n);break}n=function(){Ue!==2&&Ue!==9||Ye!==e||(Ue=7),Mn(e)},h.then(n,n);break e;case 3:Ue=7;break e;case 4:Ue=5;break e;case 7:Df(h)?(Ue=0,Kt=null,d8(n)):(Ue=0,Kt=null,Qr(e,n,h,7));break;case 5:var A=null;switch(we.tag){case 26:A=we.memoizedState;case 5:case 27:var D=we;if(A?$8(A):D.stateNode.complete){Ue=0,Kt=null;var _=D.sibling;if(_!==null)we=_;else{var G=D.return;G!==null?(we=G,Aa(G)):we=null}break t}}Ue=0,Kt=null,Qr(e,n,h,5);break;case 6:Ue=0,Kt=null,Qr(e,n,h,6);break;case 8:au(),et=6;break e;default:throw Error(a(462))}}bm();break}catch(W){o8(e,W)}while(!0);return Qn=G0=null,U.H=x,U.A=c,Le=l,we!==null?0:(Ye=null,ze=0,Pi(),et)}function bm(){for(;we!==null&&!Bx();)f8(we)}function f8(e){var n=N9(e.alternate,e,Wn);e.memoizedProps=e.pendingProps,n===null?Aa(e):we=n}function d8(e){var n=e,l=n.alternate;switch(n.tag){case 15:case 0:n=T9(l,n,n.pendingProps,n.type,void 0,ze);break;case 11:n=T9(l,n,n.pendingProps,n.type.render,n.ref,ze);break;case 5:Do(n);default:L9(l,n),n=we=cf(n,Wn),n=N9(l,n,Wn)}e.memoizedProps=e.pendingProps,n===null?Aa(e):we=n}function Qr(e,n,l,x){Qn=G0=null,Do(n),Mr=null,Al=0;var c=n.return;try{if(Em(e,c,n,l,ze)){et=1,xa(e,un(l,e.current)),we=null;return}}catch(h){if(c!==null)throw we=c,h;et=1,xa(e,un(l,e.current)),we=null;return}n.flags&32768?(Re||x===1?e=!0:Pr||(ze&536870912)!==0?e=!1:(B0=e=!0,(x===2||x===9||x===3||x===6)&&(x=Xt.current,x!==null&&x.tag===13&&(x.flags|=16384))),E8(n,e)):Aa(n)}function Aa(e){var n=e;do{if((n.flags&32768)!==0){E8(n,B0);return}e=n.return;var l=pm(n.alternate,n,Wn);if(l!==null){we=l;return}if(n=n.sibling,n!==null){we=n;return}we=n=e}while(n!==null);et===0&&(et=5)}function E8(e,n){do{var l=Cm(e.alternate,e);if(l!==null){l.flags&=32767,we=l;return}if(l=e.return,l!==null&&(l.flags|=32768,l.subtreeFlags=0,l.deletions=null),!n&&(e=e.sibling,e!==null)){we=e;return}we=e=l}while(e!==null);et=6,we=null}function h8(e,n,l,x,c,h,A,D,_){e.cancelPendingCommit=null;do ga();while(ct!==0);if((Le&6)!==0)throw Error(a(327));if(n!==null){if(n===e.current)throw Error(a(177));if(h=n.lanes|n.childLanes,h|=Xx,i1(e,l,h,A,D,_),e===Ye&&(we=Ye=null,ze=0),Hr=n,D0=e,e0=l,ru=h,lu=c,l8=x,(n.subtreeFlags&10256)!==0||(n.flags&10256)!==0?(e.callbackNode=null,e.callbackPriority=0,Tm(ge,function(){return A8(),null})):(e.callbackNode=null,e.callbackPriority=0),x=(n.flags&13878)!==0,(n.subtreeFlags&13878)!==0||x){x=U.T,U.T=null,c=V.p,V.p=2,A=Le,Le|=4;try{Bm(e,n,l)}finally{Le=A,V.p=c,U.T=x}}ct=1,m8(),p8(),C8()}}function m8(){if(ct===1){ct=0;var e=D0,n=Hr,l=(n.flags&13878)!==0;if((n.subtreeFlags&13878)!==0||l){l=U.T,U.T=null;var x=V.p;V.p=2;var c=Le;Le|=4;try{K9(n,e);var h=Bu,A=tf(e.containerInfo),D=h.focusedElem,_=h.selectionRange;if(A!==D&&D&&D.ownerDocument&&ef(D.ownerDocument.documentElement,D)){if(_!==null&&Qx(D)){var G=_.start,W=_.end;if(W===void 0&&(W=G),"selectionStart"in D)D.selectionStart=G,D.selectionEnd=Math.min(W,D.value.length);else{var le=D.ownerDocument||document,Y=le&&le.defaultView||window;if(Y.getSelection){var $=Y.getSelection(),Ee=D.textContent.length,Ae=Math.min(_.start,Ee),Ge=_.end===void 0?Ae:Math.min(_.end,Ee);!$.extend&&Ae>Ge&&(A=Ge,Ge=Ae,Ae=A);var q=Wc(D,Ae),P=Wc(D,Ge);if(q&&P&&($.rangeCount!==1||$.anchorNode!==q.node||$.anchorOffset!==q.offset||$.focusNode!==P.node||$.focusOffset!==P.offset)){var Q=le.createRange();Q.setStart(q.node,q.offset),$.removeAllRanges(),Ae>Ge?($.addRange(Q),$.extend(P.node,P.offset)):(Q.setEnd(P.node,P.offset),$.addRange(Q))}}}}for(le=[],$=D;$=$.parentNode;)$.nodeType===1&&le.push({element:$,left:$.scrollLeft,top:$.scrollTop});for(typeof D.focus=="function"&&D.focus(),D=0;D<le.length;D++){var te=le[D];te.element.scrollLeft=te.left,te.element.scrollTop=te.top}}Ra=!!Cu,Bu=Cu=null}finally{Le=c,V.p=x,U.T=l}}e.current=n,ct=2}}function p8(){if(ct===2){ct=0;var e=D0,n=Hr,l=(n.flags&8772)!==0;if((n.subtreeFlags&8772)!==0||l){l=U.T,U.T=null;var x=V.p;V.p=2;var c=Le;Le|=4;try{V9(e,n.alternate,n)}finally{Le=c,V.p=x,U.T=l}}ct=3}}function C8(){if(ct===4||ct===3){ct=0,Ax();var e=D0,n=Hr,l=e0,x=l8;(n.subtreeFlags&10256)!==0||(n.flags&10256)!==0?ct=5:(ct=0,Hr=D0=null,B8(e,e.pendingLanes));var c=e.pendingLanes;if(c===0&&(g0=null),Fx(l),n=n.stateNode,st&&typeof st.onCommitFiberRoot=="function")try{st.onCommitFiberRoot(wt,n,void 0,(n.current.flags&128)===128)}catch{}if(x!==null){n=U.T,c=V.p,V.p=2,U.T=null;try{for(var h=e.onRecoverableError,A=0;A<x.length;A++){var D=x[A];h(D.value,{componentStack:D.stack})}}finally{U.T=n,V.p=c}}(e0&3)!==0&&ga(),Mn(e),c=e.pendingLanes,(l&261930)!==0&&(c&42)!==0?e===iu?jl++:(jl=0,iu=e):jl=0,Ll(0)}}function B8(e,n){(e.pooledCacheLanes&=n)===0&&(n=e.pooledCache,n!=null&&(e.pooledCache=null,Cl(n)))}function ga(){return m8(),p8(),C8(),A8()}function A8(){if(ct!==5)return!1;var e=D0,n=ru;ru=0;var l=Fx(e0),x=U.T,c=V.p;try{V.p=32>l?32:l,U.T=null,l=lu,lu=null;var h=D0,A=e0;if(ct=0,Hr=D0=null,e0=0,(Le&6)!==0)throw Error(a(331));var D=Le;if(Le|=4,t8(h.current),$9(h,h.current,A,l),Le=D,Ll(0,!1),st&&typeof st.onPostCommitFiberRoot=="function")try{st.onPostCommitFiberRoot(wt,h)}catch{}return!0}finally{V.p=c,U.T=x,B8(e,n)}}function g8(e,n,l){n=un(l,n),n=jo(e.stateNode,n,2),e=h0(e,n,2),e!==null&&(ll(e,2),Mn(e))}function He(e,n,l){if(e.tag===3)g8(e,e,l);else for(;n!==null;){if(n.tag===3){g8(n,e,l);break}else if(n.tag===1){var x=n.stateNode;if(typeof n.type.getDerivedStateFromError=="function"||typeof x.componentDidCatch=="function"&&(g0===null||!g0.has(x))){e=un(l,e),l=D9(2),x=h0(n,l,2),x!==null&&(y9(l,x,n,e),ll(x,2),Mn(x));break}}n=n.return}}function ou(e,n,l){var x=e.pingCache;if(x===null){x=e.pingCache=new Dm;var c=new Set;x.set(n,c)}else c=x.get(n),c===void 0&&(c=new Set,x.set(n,c));c.has(l)||(eu=!0,c.add(l),e=km.bind(null,e,n,l),n.then(e,e))}function km(e,n,l){var x=e.pingCache;x!==null&&x.delete(n),e.pingedLanes|=e.suspendedLanes&l,e.warmLanes&=~l,Ye===e&&(ze&l)===l&&(et===4||et===3&&(ze&62914560)===ze&&300>kt()-ha?(Le&2)===0&&qr(e,0):tu|=l,Ur===ze&&(Ur=0)),Mn(e)}function D8(e,n){n===0&&(n=hc()),e=H0(e,n),e!==null&&(ll(e,n),Mn(e))}function wm(e){var n=e.memoizedState,l=0;n!==null&&(l=n.retryLane),D8(e,l)}function Sm(e,n){var l=0;switch(e.tag){case 31:case 13:var x=e.stateNode,c=e.memoizedState;c!==null&&(l=c.retryLane);break;case 19:x=e.stateNode;break;case 22:x=e.stateNode._retryCache;break;default:throw Error(a(314))}x!==null&&x.delete(n),D8(e,l)}function Tm(e,n){return sr(e,n)}var Da=null,Gr=null,uu=!1,ya=!1,su=!1,F0=0;function Mn(e){e!==Gr&&e.next===null&&(Gr===null?Da=Gr=e:Gr=Gr.next=e),ya=!0,uu||(uu=!0,Mm())}function Ll(e,n){if(!su&&ya){su=!0;do for(var l=!1,x=Da;x!==null;){if(e!==0){var c=x.pendingLanes;if(c===0)var h=0;else{var A=x.suspendedLanes,D=x.pingedLanes;h=(1<<31-Ve(42|e)+1)-1,h&=c&~(A&~D),h=h&201326741?h&201326741|1:h?h|2:0}h!==0&&(l=!0,b8(x,h))}else h=ze,h=ki(x,x===Ye?h:0,x.cancelPendingCommit!==null||x.timeoutHandle!==-1),(h&3)===0||rl(x,h)||(l=!0,b8(x,h));x=x.next}while(l);su=!1}}function zm(){y8()}function y8(){ya=uu=!1;var e=0;F0!==0&&qm()&&(e=F0);for(var n=kt(),l=null,x=Da;x!==null;){var c=x.next,h=F8(x,n);h===0?(x.next=null,l===null?Da=c:l.next=c,c===null&&(Gr=l)):(l=x,(e!==0||(h&3)!==0)&&(ya=!0)),x=c}ct!==0&&ct!==5||Ll(e),F0!==0&&(F0=0)}function F8(e,n){for(var l=e.suspendedLanes,x=e.pingedLanes,c=e.expirationTimes,h=e.pendingLanes&-62914561;0<h;){var A=31-Ve(h),D=1<<A,_=c[A];_===-1?((D&l)===0||(D&x)!==0)&&(c[A]=l1(D,n)):_<=n&&(e.expiredLanes|=D),h&=~D}if(n=Ye,l=ze,l=ki(e,e===n?l:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),x=e.callbackNode,l===0||e===n&&(Ue===2||Ue===9)||e.cancelPendingCommit!==null)return x!==null&&x!==null&&yt(x),e.callbackNode=null,e.callbackPriority=0;if((l&3)===0||rl(e,l)){if(n=l&-l,n===e.callbackPriority)return n;switch(x!==null&&yt(x),Fx(l)){case 2:case 8:l=ue;break;case 32:l=ge;break;case 268435456:l=Pe;break;default:l=ge}return x=v8.bind(null,e),l=sr(l,x),e.callbackPriority=n,e.callbackNode=l,n}return x!==null&&x!==null&&yt(x),e.callbackPriority=2,e.callbackNode=null,2}function v8(e,n){if(ct!==0&&ct!==5)return e.callbackNode=null,e.callbackPriority=0,null;var l=e.callbackNode;if(ga()&&e.callbackNode!==l)return null;var x=ze;return x=ki(e,e===Ye?x:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),x===0?null:(a8(e,x,n),F8(e,kt()),e.callbackNode!=null&&e.callbackNode===l?v8.bind(null,e):null)}function b8(e,n){if(ga())return null;a8(e,n,!0)}function Mm(){Gm(function(){(Le&6)!==0?sr(ee,zm):y8()})}function cu(){if(F0===0){var e=Sr;e===0&&(e=Fi,Fi<<=1,(Fi&261888)===0&&(Fi=256)),F0=e}return F0}function k8(e){return e==null||typeof e=="symbol"||typeof e=="boolean"?null:typeof e=="function"?e:zi(""+e)}function w8(e,n){var l=n.ownerDocument.createElement("input");return l.name=n.name,l.value=n.value,e.id&&l.setAttribute("form",e.id),n.parentNode.insertBefore(l,n),e=new FormData(e),l.parentNode.removeChild(l),e}function Rm(e,n,l,x,c){if(n==="submit"&&l&&l.stateNode===c){var h=k8((c[Ot]||null).action),A=x.submitter;A&&(n=(n=A[Ot]||null)?k8(n.formAction):A.getAttribute("formAction"),n!==null&&(h=n,A=null));var D=new _i("action","action",null,x,c);e.push({event:D,listeners:[{instance:null,listener:function(){if(x.defaultPrevented){if(F0!==0){var _=A?w8(c,A):new FormData(c);zo(l,{pending:!0,data:_,method:c.method,action:h},null,_)}}else typeof h=="function"&&(D.preventDefault(),_=A?w8(c,A):new FormData(c),zo(l,{pending:!0,data:_,method:c.method,action:h},h,_))},currentTarget:c}]})}}for(var fu=0;fu<Ix.length;fu++){var du=Ix[fu],Om=du.toLowerCase(),_m=du[0].toUpperCase()+du.slice(1);An(Om,"on"+_m)}An(lf,"onAnimationEnd"),An(af,"onAnimationIteration"),An(xf,"onAnimationStart"),An("dblclick","onDoubleClick"),An("focusin","onFocus"),An("focusout","onBlur"),An(J1,"onTransitionRun"),An($1,"onTransitionStart"),An(W1,"onTransitionCancel"),An(of,"onTransitionEnd"),hr("onMouseEnter",["mouseout","mouseover"]),hr("onMouseLeave",["mouseout","mouseover"]),hr("onPointerEnter",["pointerout","pointerover"]),hr("onPointerLeave",["pointerout","pointerover"]),j0("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),j0("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),j0("onBeforeInput",["compositionend","keypress","textInput","paste"]),j0("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),j0("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),j0("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Pl="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(" "),Nm=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Pl));function S8(e,n){n=(n&4)!==0;for(var l=0;l<e.length;l++){var x=e[l],c=x.event;x=x.listeners;e:{var h=void 0;if(n)for(var A=x.length-1;0<=A;A--){var D=x[A],_=D.instance,G=D.currentTarget;if(D=D.listener,_!==h&&c.isPropagationStopped())break e;h=D,c.currentTarget=G;try{h(c)}catch(W){Li(W)}c.currentTarget=null,h=_}else for(A=0;A<x.length;A++){if(D=x[A],_=D.instance,G=D.currentTarget,D=D.listener,_!==h&&c.isPropagationStopped())break e;h=D,c.currentTarget=G;try{h(c)}catch(W){Li(W)}c.currentTarget=null,h=_}}}}function Se(e,n){var l=n[vx];l===void 0&&(l=n[vx]=new Set);var x=e+"__bubble";l.has(x)||(T8(n,e,2,!1),l.add(x))}function Eu(e,n,l){var x=0;n&&(x|=4),T8(l,e,x,n)}var Fa="_reactListening"+Math.random().toString(36).slice(2);function hu(e){if(!e[Fa]){e[Fa]=!0,Dc.forEach(function(l){l!=="selectionchange"&&(Nm.has(l)||Eu(l,!1,e),Eu(l,!0,e))});var n=e.nodeType===9?e:e.ownerDocument;n===null||n[Fa]||(n[Fa]=!0,Eu("selectionchange",!1,n))}}function T8(e,n,l,x){switch(id(n)){case 2:var c=s5;break;case 8:c=c5;break;default:c=Tu}l=c.bind(null,n,l,e),c=void 0,!Ox||n!=="touchstart"&&n!=="touchmove"&&n!=="wheel"||(c=!0),x?c!==void 0?e.addEventListener(n,l,{capture:!0,passive:c}):e.addEventListener(n,l,!0):c!==void 0?e.addEventListener(n,l,{passive:c}):e.addEventListener(n,l,!1)}function mu(e,n,l,x,c){var h=x;if((n&1)===0&&(n&2)===0&&x!==null)e:for(;;){if(x===null)return;var A=x.tag;if(A===3||A===4){var D=x.stateNode.containerInfo;if(D===c)break;if(A===4)for(A=x.return;A!==null;){var _=A.tag;if((_===3||_===4)&&A.stateNode.containerInfo===c)return;A=A.return}for(;D!==null;){if(A=fr(D),A===null)return;if(_=A.tag,_===5||_===6||_===26||_===27){x=h=A;continue e}D=D.parentNode}}x=x.return}Oc(function(){var G=h,W=Mx(l),le=[];e:{var Y=uf.get(e);if(Y!==void 0){var $=_i,Ee=e;switch(e){case"keypress":if(Ri(l)===0)break e;case"keydown":case"keyup":$=S1;break;case"focusin":Ee="focus",$=Lx;break;case"focusout":Ee="blur",$=Lx;break;case"beforeblur":case"afterblur":$=Lx;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":$=jc;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":$=p1;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":$=M1;break;case lf:case af:case xf:$=A1;break;case of:$=O1;break;case"scroll":case"scrollend":$=h1;break;case"wheel":$=N1;break;case"copy":case"cut":case"paste":$=D1;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":$=Pc;break;case"toggle":case"beforetoggle":$=L1}var Ae=(n&4)!==0,Ge=!Ae&&(e==="scroll"||e==="scrollend"),q=Ae?Y!==null?Y+"Capture":null:Y;Ae=[];for(var P=G,Q;P!==null;){var te=P;if(Q=te.stateNode,te=te.tag,te!==5&&te!==26&&te!==27||Q===null||q===null||(te=xl(P,q),te!=null&&Ae.push(Ul(P,te,Q))),Ge)break;P=P.return}0<Ae.length&&(Y=new $(Y,Ee,null,l,W),le.push({event:Y,listeners:Ae}))}}if((n&7)===0){e:{if(Y=e==="mouseover"||e==="pointerover",$=e==="mouseout"||e==="pointerout",Y&&l!==zx&&(Ee=l.relatedTarget||l.fromElement)&&(fr(Ee)||Ee[cr]))break e;if(($||Y)&&(Y=W.window===W?W:(Y=W.ownerDocument)?Y.defaultView||Y.parentWindow:window,$?(Ee=l.relatedTarget||l.toElement,$=G,Ee=Ee?fr(Ee):null,Ee!==null&&(Ge=u(Ee),Ae=Ee.tag,Ee!==Ge||Ae!==5&&Ae!==27&&Ae!==6)&&(Ee=null)):($=null,Ee=G),$!==Ee)){if(Ae=jc,te="onMouseLeave",q="onMouseEnter",P="mouse",(e==="pointerout"||e==="pointerover")&&(Ae=Pc,te="onPointerLeave",q="onPointerEnter",P="pointer"),Ge=$==null?Y:al($),Q=Ee==null?Y:al(Ee),Y=new Ae(te,P+"leave",$,l,W),Y.target=Ge,Y.relatedTarget=Q,te=null,fr(W)===G&&(Ae=new Ae(q,P+"enter",Ee,l,W),Ae.target=Q,Ae.relatedTarget=Ge,te=Ae),Ge=te,$&&Ee)t:{for(Ae=jm,q=$,P=Ee,Q=0,te=q;te;te=Ae(te))Q++;te=0;for(var Ce=P;Ce;Ce=Ae(Ce))te++;for(;0<Q-te;)q=Ae(q),Q--;for(;0<te-Q;)P=Ae(P),te--;for(;Q--;){if(q===P||P!==null&&q===P.alternate){Ae=q;break t}q=Ae(q),P=Ae(P)}Ae=null}else Ae=null;$!==null&&z8(le,Y,$,Ae,!1),Ee!==null&&Ge!==null&&z8(le,Ge,Ee,Ae,!0)}}e:{if(Y=G?al(G):window,$=Y.nodeName&&Y.nodeName.toLowerCase(),$==="select"||$==="input"&&Y.type==="file")var Ne=Ic;else if(Vc(Y))if(Xc)Ne=X1;else{Ne=Y1;var he=V1}else $=Y.nodeName,!$||$.toLowerCase()!=="input"||Y.type!=="checkbox"&&Y.type!=="radio"?G&&Tx(G.elementType)&&(Ne=Ic):Ne=I1;if(Ne&&(Ne=Ne(e,G))){Yc(le,Ne,l,W);break e}he&&he(e,Y,G),e==="focusout"&&G&&Y.type==="number"&&G.memoizedProps.value!=null&&Sx(Y,"number",Y.value)}switch(he=G?al(G):window,e){case"focusin":(Vc(he)||he.contentEditable==="true")&&(gr=he,Gx=G,hl=null);break;case"focusout":hl=Gx=gr=null;break;case"mousedown":Vx=!0;break;case"contextmenu":case"mouseup":case"dragend":Vx=!1,nf(le,l,W);break;case"selectionchange":if(K1)break;case"keydown":case"keyup":nf(le,l,W)}var ve;if(Ux)e:{switch(e){case"compositionstart":var Me="onCompositionStart";break e;case"compositionend":Me="onCompositionEnd";break e;case"compositionupdate":Me="onCompositionUpdate";break e}Me=void 0}else Ar?Qc(e,l)&&(Me="onCompositionEnd"):e==="keydown"&&l.keyCode===229&&(Me="onCompositionStart");Me&&(Uc&&l.locale!=="ko"&&(Ar||Me!=="onCompositionStart"?Me==="onCompositionEnd"&&Ar&&(ve=_c()):(o0=W,_x="value"in o0?o0.value:o0.textContent,Ar=!0)),he=va(G,Me),0<he.length&&(Me=new Lc(Me,e,null,l,W),le.push({event:Me,listeners:he}),ve?Me.data=ve:(ve=Gc(l),ve!==null&&(Me.data=ve)))),(ve=U1?H1(e,l):q1(e,l))&&(Me=va(G,"onBeforeInput"),0<Me.length&&(he=new Lc("onBeforeInput","beforeinput",null,l,W),le.push({event:he,listeners:Me}),he.data=ve)),Rm(le,e,G,l,W)}S8(le,n)})}function Ul(e,n,l){return{instance:e,listener:n,currentTarget:l}}function va(e,n){for(var l=n+"Capture",x=[];e!==null;){var c=e,h=c.stateNode;if(c=c.tag,c!==5&&c!==26&&c!==27||h===null||(c=xl(e,l),c!=null&&x.unshift(Ul(e,c,h)),c=xl(e,n),c!=null&&x.push(Ul(e,c,h))),e.tag===3)return x;e=e.return}return[]}function jm(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function z8(e,n,l,x,c){for(var h=n._reactName,A=[];l!==null&&l!==x;){var D=l,_=D.alternate,G=D.stateNode;if(D=D.tag,_!==null&&_===x)break;D!==5&&D!==26&&D!==27||G===null||(_=G,c?(G=xl(l,h),G!=null&&A.unshift(Ul(l,G,_))):c||(G=xl(l,h),G!=null&&A.push(Ul(l,G,_)))),l=l.return}A.length!==0&&e.push({event:n,listeners:A})}var Lm=/\r\n?/g,Pm=/\u0000|\uFFFD/g;function M8(e){return(typeof e=="string"?e:""+e).replace(Lm,`
|
|
9
|
+
`).replace(Pm,"")}function R8(e,n){return n=M8(n),M8(e)===n}function Qe(e,n,l,x,c,h){switch(l){case"children":typeof x=="string"?n==="body"||n==="textarea"&&x===""||pr(e,x):(typeof x=="number"||typeof x=="bigint")&&n!=="body"&&pr(e,""+x);break;case"className":Si(e,"class",x);break;case"tabIndex":Si(e,"tabindex",x);break;case"dir":case"role":case"viewBox":case"width":case"height":Si(e,l,x);break;case"style":Mc(e,x,h);break;case"data":if(n!=="object"){Si(e,"data",x);break}case"src":case"href":if(x===""&&(n!=="a"||l!=="href")){e.removeAttribute(l);break}if(x==null||typeof x=="function"||typeof x=="symbol"||typeof x=="boolean"){e.removeAttribute(l);break}x=zi(""+x),e.setAttribute(l,x);break;case"action":case"formAction":if(typeof x=="function"){e.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 h=="function"&&(l==="formAction"?(n!=="input"&&Qe(e,n,"name",c.name,c,null),Qe(e,n,"formEncType",c.formEncType,c,null),Qe(e,n,"formMethod",c.formMethod,c,null),Qe(e,n,"formTarget",c.formTarget,c,null)):(Qe(e,n,"encType",c.encType,c,null),Qe(e,n,"method",c.method,c,null),Qe(e,n,"target",c.target,c,null)));if(x==null||typeof x=="symbol"||typeof x=="boolean"){e.removeAttribute(l);break}x=zi(""+x),e.setAttribute(l,x);break;case"onClick":x!=null&&(e.onclick=Pn);break;case"onScroll":x!=null&&Se("scroll",e);break;case"onScrollEnd":x!=null&&Se("scrollend",e);break;case"dangerouslySetInnerHTML":if(x!=null){if(typeof x!="object"||!("__html"in x))throw Error(a(61));if(l=x.__html,l!=null){if(c.children!=null)throw Error(a(60));e.innerHTML=l}}break;case"multiple":e.multiple=x&&typeof x!="function"&&typeof x!="symbol";break;case"muted":e.muted=x&&typeof x!="function"&&typeof x!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(x==null||typeof x=="function"||typeof x=="boolean"||typeof x=="symbol"){e.removeAttribute("xlink:href");break}l=zi(""+x),e.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":x!=null&&typeof x!="function"&&typeof x!="symbol"?e.setAttribute(l,""+x):e.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":x&&typeof x!="function"&&typeof x!="symbol"?e.setAttribute(l,""):e.removeAttribute(l);break;case"capture":case"download":x===!0?e.setAttribute(l,""):x!==!1&&x!=null&&typeof x!="function"&&typeof x!="symbol"?e.setAttribute(l,x):e.removeAttribute(l);break;case"cols":case"rows":case"size":case"span":x!=null&&typeof x!="function"&&typeof x!="symbol"&&!isNaN(x)&&1<=x?e.setAttribute(l,x):e.removeAttribute(l);break;case"rowSpan":case"start":x==null||typeof x=="function"||typeof x=="symbol"||isNaN(x)?e.removeAttribute(l):e.setAttribute(l,x);break;case"popover":Se("beforetoggle",e),Se("toggle",e),wi(e,"popover",x);break;case"xlinkActuate":Ln(e,"http://www.w3.org/1999/xlink","xlink:actuate",x);break;case"xlinkArcrole":Ln(e,"http://www.w3.org/1999/xlink","xlink:arcrole",x);break;case"xlinkRole":Ln(e,"http://www.w3.org/1999/xlink","xlink:role",x);break;case"xlinkShow":Ln(e,"http://www.w3.org/1999/xlink","xlink:show",x);break;case"xlinkTitle":Ln(e,"http://www.w3.org/1999/xlink","xlink:title",x);break;case"xlinkType":Ln(e,"http://www.w3.org/1999/xlink","xlink:type",x);break;case"xmlBase":Ln(e,"http://www.w3.org/XML/1998/namespace","xml:base",x);break;case"xmlLang":Ln(e,"http://www.w3.org/XML/1998/namespace","xml:lang",x);break;case"xmlSpace":Ln(e,"http://www.w3.org/XML/1998/namespace","xml:space",x);break;case"is":wi(e,"is",x);break;case"innerText":case"textContent":break;default:(!(2<l.length)||l[0]!=="o"&&l[0]!=="O"||l[1]!=="n"&&l[1]!=="N")&&(l=d1.get(l)||l,wi(e,l,x))}}function pu(e,n,l,x,c,h){switch(l){case"style":Mc(e,x,h);break;case"dangerouslySetInnerHTML":if(x!=null){if(typeof x!="object"||!("__html"in x))throw Error(a(61));if(l=x.__html,l!=null){if(c.children!=null)throw Error(a(60));e.innerHTML=l}}break;case"children":typeof x=="string"?pr(e,x):(typeof x=="number"||typeof x=="bigint")&&pr(e,""+x);break;case"onScroll":x!=null&&Se("scroll",e);break;case"onScrollEnd":x!=null&&Se("scrollend",e);break;case"onClick":x!=null&&(e.onclick=Pn);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!yc.hasOwnProperty(l))e:{if(l[0]==="o"&&l[1]==="n"&&(c=l.endsWith("Capture"),n=l.slice(2,c?l.length-7:void 0),h=e[Ot]||null,h=h!=null?h[l]:null,typeof h=="function"&&e.removeEventListener(n,h,c),typeof x=="function")){typeof h!="function"&&h!==null&&(l in e?e[l]=null:e.hasAttribute(l)&&e.removeAttribute(l)),e.addEventListener(n,x,c);break e}l in e?e[l]=x:x===!0?e.setAttribute(l,""):wi(e,l,x)}}}function gt(e,n,l){switch(n){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":Se("error",e),Se("load",e);var x=!1,c=!1,h;for(h in l)if(l.hasOwnProperty(h)){var A=l[h];if(A!=null)switch(h){case"src":x=!0;break;case"srcSet":c=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(a(137,n));default:Qe(e,n,h,A,l,null)}}c&&Qe(e,n,"srcSet",l.srcSet,l,null),x&&Qe(e,n,"src",l.src,l,null);return;case"input":Se("invalid",e);var D=h=A=c=null,_=null,G=null;for(x in l)if(l.hasOwnProperty(x)){var W=l[x];if(W!=null)switch(x){case"name":c=W;break;case"type":A=W;break;case"checked":_=W;break;case"defaultChecked":G=W;break;case"value":h=W;break;case"defaultValue":D=W;break;case"children":case"dangerouslySetInnerHTML":if(W!=null)throw Error(a(137,n));break;default:Qe(e,n,x,W,l,null)}}wc(e,h,D,_,G,A,c,!1);return;case"select":Se("invalid",e),x=A=h=null;for(c in l)if(l.hasOwnProperty(c)&&(D=l[c],D!=null))switch(c){case"value":h=D;break;case"defaultValue":A=D;break;case"multiple":x=D;default:Qe(e,n,c,D,l,null)}n=h,l=A,e.multiple=!!x,n!=null?mr(e,!!x,n,!1):l!=null&&mr(e,!!x,l,!0);return;case"textarea":Se("invalid",e),h=c=x=null;for(A in l)if(l.hasOwnProperty(A)&&(D=l[A],D!=null))switch(A){case"value":x=D;break;case"defaultValue":c=D;break;case"children":h=D;break;case"dangerouslySetInnerHTML":if(D!=null)throw Error(a(91));break;default:Qe(e,n,A,D,l,null)}Tc(e,x,c,h);return;case"option":for(_ in l)l.hasOwnProperty(_)&&(x=l[_],x!=null)&&(_==="selected"?e.selected=x&&typeof x!="function"&&typeof x!="symbol":Qe(e,n,_,x,l,null));return;case"dialog":Se("beforetoggle",e),Se("toggle",e),Se("cancel",e),Se("close",e);break;case"iframe":case"object":Se("load",e);break;case"video":case"audio":for(x=0;x<Pl.length;x++)Se(Pl[x],e);break;case"image":Se("error",e),Se("load",e);break;case"details":Se("toggle",e);break;case"embed":case"source":case"link":Se("error",e),Se("load",e);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(G in l)if(l.hasOwnProperty(G)&&(x=l[G],x!=null))switch(G){case"children":case"dangerouslySetInnerHTML":throw Error(a(137,n));default:Qe(e,n,G,x,l,null)}return;default:if(Tx(n)){for(W in l)l.hasOwnProperty(W)&&(x=l[W],x!==void 0&&pu(e,n,W,x,l,void 0));return}}for(D in l)l.hasOwnProperty(D)&&(x=l[D],x!=null&&Qe(e,n,D,x,l,null))}function Um(e,n,l,x){switch(n){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var c=null,h=null,A=null,D=null,_=null,G=null,W=null;for($ in l){var le=l[$];if(l.hasOwnProperty($)&&le!=null)switch($){case"checked":break;case"value":break;case"defaultValue":_=le;default:x.hasOwnProperty($)||Qe(e,n,$,null,x,le)}}for(var Y in x){var $=x[Y];if(le=l[Y],x.hasOwnProperty(Y)&&($!=null||le!=null))switch(Y){case"type":h=$;break;case"name":c=$;break;case"checked":G=$;break;case"defaultChecked":W=$;break;case"value":A=$;break;case"defaultValue":D=$;break;case"children":case"dangerouslySetInnerHTML":if($!=null)throw Error(a(137,n));break;default:$!==le&&Qe(e,n,Y,$,x,le)}}wx(e,A,D,_,G,W,h,c);return;case"select":$=A=D=Y=null;for(h in l)if(_=l[h],l.hasOwnProperty(h)&&_!=null)switch(h){case"value":break;case"multiple":$=_;default:x.hasOwnProperty(h)||Qe(e,n,h,null,x,_)}for(c in x)if(h=x[c],_=l[c],x.hasOwnProperty(c)&&(h!=null||_!=null))switch(c){case"value":Y=h;break;case"defaultValue":D=h;break;case"multiple":A=h;default:h!==_&&Qe(e,n,c,h,x,_)}n=D,l=A,x=$,Y!=null?mr(e,!!l,Y,!1):!!x!=!!l&&(n!=null?mr(e,!!l,n,!0):mr(e,!!l,l?[]:"",!1));return;case"textarea":$=Y=null;for(D in l)if(c=l[D],l.hasOwnProperty(D)&&c!=null&&!x.hasOwnProperty(D))switch(D){case"value":break;case"children":break;default:Qe(e,n,D,null,x,c)}for(A in x)if(c=x[A],h=l[A],x.hasOwnProperty(A)&&(c!=null||h!=null))switch(A){case"value":Y=c;break;case"defaultValue":$=c;break;case"children":break;case"dangerouslySetInnerHTML":if(c!=null)throw Error(a(91));break;default:c!==h&&Qe(e,n,A,c,x,h)}Sc(e,Y,$);return;case"option":for(var Ee in l)Y=l[Ee],l.hasOwnProperty(Ee)&&Y!=null&&!x.hasOwnProperty(Ee)&&(Ee==="selected"?e.selected=!1:Qe(e,n,Ee,null,x,Y));for(_ in x)Y=x[_],$=l[_],x.hasOwnProperty(_)&&Y!==$&&(Y!=null||$!=null)&&(_==="selected"?e.selected=Y&&typeof Y!="function"&&typeof Y!="symbol":Qe(e,n,_,Y,x,$));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 Ae in l)Y=l[Ae],l.hasOwnProperty(Ae)&&Y!=null&&!x.hasOwnProperty(Ae)&&Qe(e,n,Ae,null,x,Y);for(G in x)if(Y=x[G],$=l[G],x.hasOwnProperty(G)&&Y!==$&&(Y!=null||$!=null))switch(G){case"children":case"dangerouslySetInnerHTML":if(Y!=null)throw Error(a(137,n));break;default:Qe(e,n,G,Y,x,$)}return;default:if(Tx(n)){for(var Ge in l)Y=l[Ge],l.hasOwnProperty(Ge)&&Y!==void 0&&!x.hasOwnProperty(Ge)&&pu(e,n,Ge,void 0,x,Y);for(W in x)Y=x[W],$=l[W],!x.hasOwnProperty(W)||Y===$||Y===void 0&&$===void 0||pu(e,n,W,Y,x,$);return}}for(var q in l)Y=l[q],l.hasOwnProperty(q)&&Y!=null&&!x.hasOwnProperty(q)&&Qe(e,n,q,null,x,Y);for(le in x)Y=x[le],$=l[le],!x.hasOwnProperty(le)||Y===$||Y==null&&$==null||Qe(e,n,le,Y,x,$)}function O8(e){switch(e){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function Hm(){if(typeof performance.getEntriesByType=="function"){for(var e=0,n=0,l=performance.getEntriesByType("resource"),x=0;x<l.length;x++){var c=l[x],h=c.transferSize,A=c.initiatorType,D=c.duration;if(h&&D&&O8(A)){for(A=0,D=c.responseEnd,x+=1;x<l.length;x++){var _=l[x],G=_.startTime;if(G>D)break;var W=_.transferSize,le=_.initiatorType;W&&O8(le)&&(_=_.responseEnd,A+=W*(_<D?1:(D-G)/(_-G)))}if(--x,n+=8*(h+A)/(c.duration/1e3),e++,10<e)break}}if(0<e)return n/e/1e6}return navigator.connection&&(e=navigator.connection.downlink,typeof e=="number")?e:5}var Cu=null,Bu=null;function ba(e){return e.nodeType===9?e:e.ownerDocument}function _8(e){switch(e){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function N8(e,n){if(e===0)switch(n){case"svg":return 1;case"math":return 2;default:return 0}return e===1&&n==="foreignObject"?0:e}function Au(e,n){return e==="textarea"||e==="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 gu=null;function qm(){var e=window.event;return e&&e.type==="popstate"?e===gu?!1:(gu=e,!0):(gu=null,!1)}var j8=typeof setTimeout=="function"?setTimeout:void 0,Qm=typeof clearTimeout=="function"?clearTimeout:void 0,L8=typeof Promise=="function"?Promise:void 0,Gm=typeof queueMicrotask=="function"?queueMicrotask:typeof L8<"u"?function(e){return L8.resolve(null).then(e).catch(Vm)}:j8;function Vm(e){setTimeout(function(){throw e})}function v0(e){return e==="head"}function P8(e,n){var l=n,x=0;do{var c=l.nextSibling;if(e.removeChild(l),c&&c.nodeType===8)if(l=c.data,l==="/$"||l==="/&"){if(x===0){e.removeChild(c),Xr(n);return}x--}else if(l==="$"||l==="$?"||l==="$~"||l==="$!"||l==="&")x++;else if(l==="html")Hl(e.ownerDocument.documentElement);else if(l==="head"){l=e.ownerDocument.head,Hl(l);for(var h=l.firstChild;h;){var A=h.nextSibling,D=h.nodeName;h[il]||D==="SCRIPT"||D==="STYLE"||D==="LINK"&&h.rel.toLowerCase()==="stylesheet"||l.removeChild(h),h=A}}else l==="body"&&Hl(e.ownerDocument.body);l=c}while(l);Xr(n)}function U8(e,n){var l=e;e=0;do{var x=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||""),x&&x.nodeType===8)if(l=x.data,l==="/$"){if(e===0)break;e--}else l!=="$"&&l!=="$?"&&l!=="$~"&&l!=="$!"||e++;l=x}while(l)}function Du(e){var n=e.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":Du(l),bx(l);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(l.rel.toLowerCase()==="stylesheet")continue}e.removeChild(l)}}function Ym(e,n,l,x){for(;e.nodeType===1;){var c=l;if(e.nodeName.toLowerCase()!==n.toLowerCase()){if(!x&&(e.nodeName!=="INPUT"||e.type!=="hidden"))break}else if(x){if(!e[il])switch(n){case"meta":if(!e.hasAttribute("itemprop"))break;return e;case"link":if(h=e.getAttribute("rel"),h==="stylesheet"&&e.hasAttribute("data-precedence"))break;if(h!==c.rel||e.getAttribute("href")!==(c.href==null||c.href===""?null:c.href)||e.getAttribute("crossorigin")!==(c.crossOrigin==null?null:c.crossOrigin)||e.getAttribute("title")!==(c.title==null?null:c.title))break;return e;case"style":if(e.hasAttribute("data-precedence"))break;return e;case"script":if(h=e.getAttribute("src"),(h!==(c.src==null?null:c.src)||e.getAttribute("type")!==(c.type==null?null:c.type)||e.getAttribute("crossorigin")!==(c.crossOrigin==null?null:c.crossOrigin))&&h&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}}else if(n==="input"&&e.type==="hidden"){var h=c.name==null?null:""+c.name;if(c.type==="hidden"&&e.getAttribute("name")===h)return e}else return e;if(e=En(e.nextSibling),e===null)break}return null}function Im(e,n,l){if(n==="")return null;for(;e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!l||(e=En(e.nextSibling),e===null))return null;return e}function H8(e,n){for(;e.nodeType!==8;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!n||(e=En(e.nextSibling),e===null))return null;return e}function yu(e){return e.data==="$?"||e.data==="$~"}function Fu(e){return e.data==="$!"||e.data==="$?"&&e.ownerDocument.readyState!=="loading"}function Xm(e,n){var l=e.ownerDocument;if(e.data==="$~")e._reactRetry=n;else if(e.data!=="$?"||l.readyState!=="loading")n();else{var x=function(){n(),l.removeEventListener("DOMContentLoaded",x)};l.addEventListener("DOMContentLoaded",x),e._reactRetry=x}}function En(e){for(;e!=null;e=e.nextSibling){var n=e.nodeType;if(n===1||n===3)break;if(n===8){if(n=e.data,n==="$"||n==="$!"||n==="$?"||n==="$~"||n==="&"||n==="F!"||n==="F")break;if(n==="/$"||n==="/&")return null}}return e}var vu=null;function q8(e){e=e.nextSibling;for(var n=0;e;){if(e.nodeType===8){var l=e.data;if(l==="/$"||l==="/&"){if(n===0)return En(e.nextSibling);n--}else l!=="$"&&l!=="$!"&&l!=="$?"&&l!=="$~"&&l!=="&"||n++}e=e.nextSibling}return null}function Q8(e){e=e.previousSibling;for(var n=0;e;){if(e.nodeType===8){var l=e.data;if(l==="$"||l==="$!"||l==="$?"||l==="$~"||l==="&"){if(n===0)return e;n--}else l!=="/$"&&l!=="/&"||n++}e=e.previousSibling}return null}function G8(e,n,l){switch(n=ba(l),e){case"html":if(e=n.documentElement,!e)throw Error(a(452));return e;case"head":if(e=n.head,!e)throw Error(a(453));return e;case"body":if(e=n.body,!e)throw Error(a(454));return e;default:throw Error(a(451))}}function Hl(e){for(var n=e.attributes;n.length;)e.removeAttributeNode(n[0]);bx(e)}var hn=new Map,V8=new Set;function ka(e){return typeof e.getRootNode=="function"?e.getRootNode():e.nodeType===9?e:e.ownerDocument}var t0=V.d;V.d={f:Zm,r:Km,D:Jm,C:$m,L:Wm,m:e5,X:n5,S:t5,M:r5};function Zm(){var e=t0.f(),n=Ca();return e||n}function Km(e){var n=dr(e);n!==null&&n.tag===5&&n.type==="form"?o9(n):t0.r(e)}var Vr=typeof document>"u"?null:document;function Y8(e,n,l){var x=Vr;if(x&&typeof n=="string"&&n){var c=xn(n);c='link[rel="'+e+'"][href="'+c+'"]',typeof l=="string"&&(c+='[crossorigin="'+l+'"]'),V8.has(c)||(V8.add(c),e={rel:e,crossOrigin:l,href:n},x.querySelector(c)===null&&(n=x.createElement("link"),gt(n,"link",e),dt(n),x.head.appendChild(n)))}}function Jm(e){t0.D(e),Y8("dns-prefetch",e,null)}function $m(e,n){t0.C(e,n),Y8("preconnect",e,n)}function Wm(e,n,l){t0.L(e,n,l);var x=Vr;if(x&&e&&n){var c='link[rel="preload"][as="'+xn(n)+'"]';n==="image"&&l&&l.imageSrcSet?(c+='[imagesrcset="'+xn(l.imageSrcSet)+'"]',typeof l.imageSizes=="string"&&(c+='[imagesizes="'+xn(l.imageSizes)+'"]')):c+='[href="'+xn(e)+'"]';var h=c;switch(n){case"style":h=Yr(e);break;case"script":h=Ir(e)}hn.has(h)||(e=m({rel:"preload",href:n==="image"&&l&&l.imageSrcSet?void 0:e,as:n},l),hn.set(h,e),x.querySelector(c)!==null||n==="style"&&x.querySelector(ql(h))||n==="script"&&x.querySelector(Ql(h))||(n=x.createElement("link"),gt(n,"link",e),dt(n),x.head.appendChild(n)))}}function e5(e,n){t0.m(e,n);var l=Vr;if(l&&e){var x=n&&typeof n.as=="string"?n.as:"script",c='link[rel="modulepreload"][as="'+xn(x)+'"][href="'+xn(e)+'"]',h=c;switch(x){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":h=Ir(e)}if(!hn.has(h)&&(e=m({rel:"modulepreload",href:e},n),hn.set(h,e),l.querySelector(c)===null)){switch(x){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(l.querySelector(Ql(h)))return}x=l.createElement("link"),gt(x,"link",e),dt(x),l.head.appendChild(x)}}}function t5(e,n,l){t0.S(e,n,l);var x=Vr;if(x&&e){var c=Er(x).hoistableStyles,h=Yr(e);n=n||"default";var A=c.get(h);if(!A){var D={loading:0,preload:null};if(A=x.querySelector(ql(h)))D.loading=5;else{e=m({rel:"stylesheet",href:e,"data-precedence":n},l),(l=hn.get(h))&&bu(e,l);var _=A=x.createElement("link");dt(_),gt(_,"link",e),_._p=new Promise(function(G,W){_.onload=G,_.onerror=W}),_.addEventListener("load",function(){D.loading|=1}),_.addEventListener("error",function(){D.loading|=2}),D.loading|=4,wa(A,n,x)}A={type:"stylesheet",instance:A,count:1,state:D},c.set(h,A)}}}function n5(e,n){t0.X(e,n);var l=Vr;if(l&&e){var x=Er(l).hoistableScripts,c=Ir(e),h=x.get(c);h||(h=l.querySelector(Ql(c)),h||(e=m({src:e,async:!0},n),(n=hn.get(c))&&ku(e,n),h=l.createElement("script"),dt(h),gt(h,"link",e),l.head.appendChild(h)),h={type:"script",instance:h,count:1,state:null},x.set(c,h))}}function r5(e,n){t0.M(e,n);var l=Vr;if(l&&e){var x=Er(l).hoistableScripts,c=Ir(e),h=x.get(c);h||(h=l.querySelector(Ql(c)),h||(e=m({src:e,async:!0,type:"module"},n),(n=hn.get(c))&&ku(e,n),h=l.createElement("script"),dt(h),gt(h,"link",e),l.head.appendChild(h)),h={type:"script",instance:h,count:1,state:null},x.set(c,h))}}function I8(e,n,l,x){var c=(c=oe.current)?ka(c):null;if(!c)throw Error(a(446));switch(e){case"meta":case"title":return null;case"style":return typeof l.precedence=="string"&&typeof l.href=="string"?(n=Yr(l.href),l=Er(c).hoistableStyles,x=l.get(n),x||(x={type:"style",instance:null,count:0,state:null},l.set(n,x)),x):{type:"void",instance:null,count:0,state:null};case"link":if(l.rel==="stylesheet"&&typeof l.href=="string"&&typeof l.precedence=="string"){e=Yr(l.href);var h=Er(c).hoistableStyles,A=h.get(e);if(A||(c=c.ownerDocument||c,A={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},h.set(e,A),(h=c.querySelector(ql(e)))&&!h._p&&(A.instance=h,A.state.loading=5),hn.has(e)||(l={rel:"preload",as:"style",href:l.href,crossOrigin:l.crossOrigin,integrity:l.integrity,media:l.media,hrefLang:l.hrefLang,referrerPolicy:l.referrerPolicy},hn.set(e,l),h||l5(c,e,l,A.state))),n&&x===null)throw Error(a(528,""));return A}if(n&&x!==null)throw Error(a(529,""));return null;case"script":return n=l.async,l=l.src,typeof l=="string"&&n&&typeof n!="function"&&typeof n!="symbol"?(n=Ir(l),l=Er(c).hoistableScripts,x=l.get(n),x||(x={type:"script",instance:null,count:0,state:null},l.set(n,x)),x):{type:"void",instance:null,count:0,state:null};default:throw Error(a(444,e))}}function Yr(e){return'href="'+xn(e)+'"'}function ql(e){return'link[rel="stylesheet"]['+e+"]"}function X8(e){return m({},e,{"data-precedence":e.precedence,precedence:null})}function l5(e,n,l,x){e.querySelector('link[rel="preload"][as="style"]['+n+"]")?x.loading=1:(n=e.createElement("link"),x.preload=n,n.addEventListener("load",function(){return x.loading|=1}),n.addEventListener("error",function(){return x.loading|=2}),gt(n,"link",l),dt(n),e.head.appendChild(n))}function Ir(e){return'[src="'+xn(e)+'"]'}function Ql(e){return"script[async]"+e}function Z8(e,n,l){if(n.count++,n.instance===null)switch(n.type){case"style":var x=e.querySelector('style[data-href~="'+xn(l.href)+'"]');if(x)return n.instance=x,dt(x),x;var c=m({},l,{"data-href":l.href,"data-precedence":l.precedence,href:null,precedence:null});return x=(e.ownerDocument||e).createElement("style"),dt(x),gt(x,"style",c),wa(x,l.precedence,e),n.instance=x;case"stylesheet":c=Yr(l.href);var h=e.querySelector(ql(c));if(h)return n.state.loading|=4,n.instance=h,dt(h),h;x=X8(l),(c=hn.get(c))&&bu(x,c),h=(e.ownerDocument||e).createElement("link"),dt(h);var A=h;return A._p=new Promise(function(D,_){A.onload=D,A.onerror=_}),gt(h,"link",x),n.state.loading|=4,wa(h,l.precedence,e),n.instance=h;case"script":return h=Ir(l.src),(c=e.querySelector(Ql(h)))?(n.instance=c,dt(c),c):(x=l,(c=hn.get(h))&&(x=m({},l),ku(x,c)),e=e.ownerDocument||e,c=e.createElement("script"),dt(c),gt(c,"link",x),e.head.appendChild(c),n.instance=c);case"void":return null;default:throw Error(a(443,n.type))}else n.type==="stylesheet"&&(n.state.loading&4)===0&&(x=n.instance,n.state.loading|=4,wa(x,l.precedence,e));return n.instance}function wa(e,n,l){for(var x=l.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),c=x.length?x[x.length-1]:null,h=c,A=0;A<x.length;A++){var D=x[A];if(D.dataset.precedence===n)h=D;else if(h!==c)break}h?h.parentNode.insertBefore(e,h.nextSibling):(n=l.nodeType===9?l.head:l,n.insertBefore(e,n.firstChild))}function bu(e,n){e.crossOrigin==null&&(e.crossOrigin=n.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=n.referrerPolicy),e.title==null&&(e.title=n.title)}function ku(e,n){e.crossOrigin==null&&(e.crossOrigin=n.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=n.referrerPolicy),e.integrity==null&&(e.integrity=n.integrity)}var Sa=null;function K8(e,n,l){if(Sa===null){var x=new Map,c=Sa=new Map;c.set(l,x)}else c=Sa,x=c.get(l),x||(x=new Map,c.set(l,x));if(x.has(e))return x;for(x.set(e,null),l=l.getElementsByTagName(e),c=0;c<l.length;c++){var h=l[c];if(!(h[il]||h[pt]||e==="link"&&h.getAttribute("rel")==="stylesheet")&&h.namespaceURI!=="http://www.w3.org/2000/svg"){var A=h.getAttribute(n)||"";A=e+A;var D=x.get(A);D?D.push(h):x.set(A,[h])}}return x}function J8(e,n,l){e=e.ownerDocument||e,e.head.insertBefore(l,n==="title"?e.querySelector("head > title"):null)}function i5(e,n,l){if(l===1||n.itemProp!=null)return!1;switch(e){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"?(e=n.disabled,typeof n.precedence=="string"&&e==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 $8(e){return!(e.type==="stylesheet"&&(e.state.loading&3)===0)}function a5(e,n,l,x){if(l.type==="stylesheet"&&(typeof x.media!="string"||matchMedia(x.media).matches!==!1)&&(l.state.loading&4)===0){if(l.instance===null){var c=Yr(x.href),h=n.querySelector(ql(c));if(h){n=h._p,n!==null&&typeof n=="object"&&typeof n.then=="function"&&(e.count++,e=Ta.bind(e),n.then(e,e)),l.state.loading|=4,l.instance=h,dt(h);return}h=n.ownerDocument||n,x=X8(x),(c=hn.get(c))&&bu(x,c),h=h.createElement("link"),dt(h);var A=h;A._p=new Promise(function(D,_){A.onload=D,A.onerror=_}),gt(h,"link",x),l.instance=h}e.stylesheets===null&&(e.stylesheets=new Map),e.stylesheets.set(l,n),(n=l.state.preload)&&(l.state.loading&3)===0&&(e.count++,l=Ta.bind(e),n.addEventListener("load",l),n.addEventListener("error",l))}}var wu=0;function x5(e,n){return e.stylesheets&&e.count===0&&Ma(e,e.stylesheets),0<e.count||0<e.imgCount?function(l){var x=setTimeout(function(){if(e.stylesheets&&Ma(e,e.stylesheets),e.unsuspend){var h=e.unsuspend;e.unsuspend=null,h()}},6e4+n);0<e.imgBytes&&wu===0&&(wu=62500*Hm());var c=setTimeout(function(){if(e.waitingForImages=!1,e.count===0&&(e.stylesheets&&Ma(e,e.stylesheets),e.unsuspend)){var h=e.unsuspend;e.unsuspend=null,h()}},(e.imgBytes>wu?50:800)+n);return e.unsuspend=l,function(){e.unsuspend=null,clearTimeout(x),clearTimeout(c)}}:null}function Ta(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)Ma(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}var za=null;function Ma(e,n){e.stylesheets=null,e.unsuspend!==null&&(e.count++,za=new Map,n.forEach(o5,e),za=null,Ta.call(e))}function o5(e,n){if(!(n.state.loading&4)){var l=za.get(e);if(l)var x=l.get(null);else{l=new Map,za.set(e,l);for(var c=e.querySelectorAll("link[data-precedence],style[data-precedence]"),h=0;h<c.length;h++){var A=c[h];(A.nodeName==="LINK"||A.getAttribute("media")!=="not all")&&(l.set(A.dataset.precedence,A),x=A)}x&&l.set(null,x)}c=n.instance,A=c.getAttribute("data-precedence"),h=l.get(A)||x,h===x&&l.set(null,c),l.set(A,c),this.count++,x=Ta.bind(this),c.addEventListener("load",x),c.addEventListener("error",x),h?h.parentNode.insertBefore(c,h.nextSibling):(e=e.nodeType===9?e.head:e,e.insertBefore(c,e.firstChild)),n.state.loading|=4}}var Gl={$$typeof:w,Provider:null,Consumer:null,_currentValue:ae,_currentValue2:ae,_threadCount:0};function u5(e,n,l,x,c,h,A,D,_){this.tag=1,this.containerInfo=e,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=Dx(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Dx(0),this.hiddenUpdates=Dx(null),this.identifierPrefix=x,this.onUncaughtError=c,this.onCaughtError=h,this.onRecoverableError=A,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=_,this.incompleteTransitions=new Map}function W8(e,n,l,x,c,h,A,D,_,G,W,le){return e=new u5(e,n,l,A,_,G,W,le,D),n=1,h===!0&&(n|=24),h=It(3,null,null,n),e.current=h,h.stateNode=e,n=ao(),n.refCount++,e.pooledCache=n,n.refCount++,h.memoizedState={element:x,isDehydrated:l,cache:n},so(h),e}function ed(e){return e?(e=Fr,e):Fr}function td(e,n,l,x,c,h){c=ed(c),x.context===null?x.context=c:x.pendingContext=c,x=E0(n),x.payload={element:l},h=h===void 0?null:h,h!==null&&(x.callback=h),l=h0(e,x,n),l!==null&&(Ut(l,e,n),Dl(l,e,n))}function nd(e,n){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var l=e.retryLane;e.retryLane=l!==0&&l<n?l:n}}function Su(e,n){nd(e,n),(e=e.alternate)&&nd(e,n)}function rd(e){if(e.tag===13||e.tag===31){var n=H0(e,67108864);n!==null&&Ut(n,e,67108864),Su(e,67108864)}}function ld(e){if(e.tag===13||e.tag===31){var n=$t();n=yx(n);var l=H0(e,n);l!==null&&Ut(l,e,n),Su(e,n)}}var Ra=!0;function s5(e,n,l,x){var c=U.T;U.T=null;var h=V.p;try{V.p=2,Tu(e,n,l,x)}finally{V.p=h,U.T=c}}function c5(e,n,l,x){var c=U.T;U.T=null;var h=V.p;try{V.p=8,Tu(e,n,l,x)}finally{V.p=h,U.T=c}}function Tu(e,n,l,x){if(Ra){var c=zu(x);if(c===null)mu(e,n,x,Oa,l),ad(e,x);else if(d5(c,e,n,l,x))x.stopPropagation();else if(ad(e,x),n&4&&-1<f5.indexOf(e)){for(;c!==null;){var h=dr(c);if(h!==null)switch(h.tag){case 3:if(h=h.stateNode,h.current.memoizedState.isDehydrated){var A=N0(h.pendingLanes);if(A!==0){var D=h;for(D.pendingLanes|=2,D.entangledLanes|=2;A;){var _=1<<31-Ve(A);D.entanglements[1]|=_,A&=~_}Mn(h),(Le&6)===0&&(ma=kt()+500,Ll(0))}}break;case 31:case 13:D=H0(h,2),D!==null&&Ut(D,h,2),Ca(),Su(h,2)}if(h=zu(x),h===null&&mu(e,n,x,Oa,l),h===c)break;c=h}c!==null&&x.stopPropagation()}else mu(e,n,x,null,l)}}function zu(e){return e=Mx(e),Mu(e)}var Oa=null;function Mu(e){if(Oa=null,e=fr(e),e!==null){var n=u(e);if(n===null)e=null;else{var l=n.tag;if(l===13){if(e=s(n),e!==null)return e;e=null}else if(l===31){if(e=f(n),e!==null)return e;e=null}else if(l===3){if(n.stateNode.current.memoizedState.isDehydrated)return n.tag===3?n.stateNode.containerInfo:null;e=null}else n!==e&&(e=null)}}return Oa=e,null}function id(e){switch(e){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(gx()){case ee:return 2;case ue:return 8;case ge:case ke:return 32;case Pe:return 268435456;default:return 32}default:return 32}}var Ru=!1,b0=null,k0=null,w0=null,Vl=new Map,Yl=new Map,S0=[],f5="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 ad(e,n){switch(e){case"focusin":case"focusout":b0=null;break;case"dragenter":case"dragleave":k0=null;break;case"mouseover":case"mouseout":w0=null;break;case"pointerover":case"pointerout":Vl.delete(n.pointerId);break;case"gotpointercapture":case"lostpointercapture":Yl.delete(n.pointerId)}}function Il(e,n,l,x,c,h){return e===null||e.nativeEvent!==h?(e={blockedOn:n,domEventName:l,eventSystemFlags:x,nativeEvent:h,targetContainers:[c]},n!==null&&(n=dr(n),n!==null&&rd(n)),e):(e.eventSystemFlags|=x,n=e.targetContainers,c!==null&&n.indexOf(c)===-1&&n.push(c),e)}function d5(e,n,l,x,c){switch(n){case"focusin":return b0=Il(b0,e,n,l,x,c),!0;case"dragenter":return k0=Il(k0,e,n,l,x,c),!0;case"mouseover":return w0=Il(w0,e,n,l,x,c),!0;case"pointerover":var h=c.pointerId;return Vl.set(h,Il(Vl.get(h)||null,e,n,l,x,c)),!0;case"gotpointercapture":return h=c.pointerId,Yl.set(h,Il(Yl.get(h)||null,e,n,l,x,c)),!0}return!1}function xd(e){var n=fr(e.target);if(n!==null){var l=u(n);if(l!==null){if(n=l.tag,n===13){if(n=s(l),n!==null){e.blockedOn=n,Ac(e.priority,function(){ld(l)});return}}else if(n===31){if(n=f(l),n!==null){e.blockedOn=n,Ac(e.priority,function(){ld(l)});return}}else if(n===3&&l.stateNode.current.memoizedState.isDehydrated){e.blockedOn=l.tag===3?l.stateNode.containerInfo:null;return}}}e.blockedOn=null}function _a(e){if(e.blockedOn!==null)return!1;for(var n=e.targetContainers;0<n.length;){var l=zu(e.nativeEvent);if(l===null){l=e.nativeEvent;var x=new l.constructor(l.type,l);zx=x,l.target.dispatchEvent(x),zx=null}else return n=dr(l),n!==null&&rd(n),e.blockedOn=l,!1;n.shift()}return!0}function od(e,n,l){_a(e)&&l.delete(n)}function E5(){Ru=!1,b0!==null&&_a(b0)&&(b0=null),k0!==null&&_a(k0)&&(k0=null),w0!==null&&_a(w0)&&(w0=null),Vl.forEach(od),Yl.forEach(od)}function Na(e,n){e.blockedOn===n&&(e.blockedOn=null,Ru||(Ru=!0,t.unstable_scheduleCallback(t.unstable_NormalPriority,E5)))}var ja=null;function ud(e){ja!==e&&(ja=e,t.unstable_scheduleCallback(t.unstable_NormalPriority,function(){ja===e&&(ja=null);for(var n=0;n<e.length;n+=3){var l=e[n],x=e[n+1],c=e[n+2];if(typeof x!="function"){if(Mu(x||l)===null)continue;break}var h=dr(l);h!==null&&(e.splice(n,3),n-=3,zo(h,{pending:!0,data:c,method:l.method,action:x},x,c))}}))}function Xr(e){function n(_){return Na(_,e)}b0!==null&&Na(b0,e),k0!==null&&Na(k0,e),w0!==null&&Na(w0,e),Vl.forEach(n),Yl.forEach(n);for(var l=0;l<S0.length;l++){var x=S0[l];x.blockedOn===e&&(x.blockedOn=null)}for(;0<S0.length&&(l=S0[0],l.blockedOn===null);)xd(l),l.blockedOn===null&&S0.shift();if(l=(e.ownerDocument||e).$$reactFormReplay,l!=null)for(x=0;x<l.length;x+=3){var c=l[x],h=l[x+1],A=c[Ot]||null;if(typeof h=="function")A||ud(l);else if(A){var D=null;if(h&&h.hasAttribute("formAction")){if(c=h,A=h[Ot]||null)D=A.formAction;else if(Mu(c)!==null)continue}else D=A.action;typeof D=="function"?l[x+1]=D:(l.splice(x,3),x-=3),ud(l)}}}function sd(){function e(h){h.canIntercept&&h.info==="react-transition"&&h.intercept({handler:function(){return new Promise(function(A){return c=A})},focusReset:"manual",scroll:"manual"})}function n(){c!==null&&(c(),c=null),x||setTimeout(l,20)}function l(){if(!x&&!navigation.transition){var h=navigation.currentEntry;h&&h.url!=null&&navigation.navigate(h.url,{state:h.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var x=!1,c=null;return navigation.addEventListener("navigate",e),navigation.addEventListener("navigatesuccess",n),navigation.addEventListener("navigateerror",n),setTimeout(l,100),function(){x=!0,navigation.removeEventListener("navigate",e),navigation.removeEventListener("navigatesuccess",n),navigation.removeEventListener("navigateerror",n),c!==null&&(c(),c=null)}}}function Ou(e){this._internalRoot=e}La.prototype.render=Ou.prototype.render=function(e){var n=this._internalRoot;if(n===null)throw Error(a(409));var l=n.current,x=$t();td(l,x,e,n,null,null)},La.prototype.unmount=Ou.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var n=e.containerInfo;td(e.current,2,null,e,null,null),Ca(),n[cr]=null}};function La(e){this._internalRoot=e}La.prototype.unstable_scheduleHydration=function(e){if(e){var n=Bc();e={blockedOn:null,target:e,priority:n};for(var l=0;l<S0.length&&n!==0&&n<S0[l].priority;l++);S0.splice(l,0,e),l===0&&xd(e)}};var cd=r.version;if(cd!=="19.2.7")throw Error(a(527,cd,"19.2.7"));V.findDOMNode=function(e){var n=e._reactInternals;if(n===void 0)throw typeof e.render=="function"?Error(a(188)):(e=Object.keys(e).join(","),Error(a(268,e)));return e=E(n),e=e!==null?p(e):null,e=e===null?null:e.stateNode,e};var h5={bundleType:0,version:"19.2.7",rendererPackageName:"react-dom",currentDispatcherRef:U,reconcilerVersion:"19.2.7"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Pa=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Pa.isDisabled&&Pa.supportsFiber)try{wt=Pa.inject(h5),st=Pa}catch{}}return Zl.createRoot=function(e,n){if(!o(e))throw Error(a(299));var l=!1,x="",c=C9,h=B9,A=A9;return n!=null&&(n.unstable_strictMode===!0&&(l=!0),n.identifierPrefix!==void 0&&(x=n.identifierPrefix),n.onUncaughtError!==void 0&&(c=n.onUncaughtError),n.onCaughtError!==void 0&&(h=n.onCaughtError),n.onRecoverableError!==void 0&&(A=n.onRecoverableError)),n=W8(e,1,!1,null,null,l,x,null,c,h,A,sd),e[cr]=n.current,hu(e),new Ou(n)},Zl.hydrateRoot=function(e,n,l){if(!o(e))throw Error(a(299));var x=!1,c="",h=C9,A=B9,D=A9,_=null;return l!=null&&(l.unstable_strictMode===!0&&(x=!0),l.identifierPrefix!==void 0&&(c=l.identifierPrefix),l.onUncaughtError!==void 0&&(h=l.onUncaughtError),l.onCaughtError!==void 0&&(A=l.onCaughtError),l.onRecoverableError!==void 0&&(D=l.onRecoverableError),l.formState!==void 0&&(_=l.formState)),n=W8(e,1,!0,n,l??null,x,c,_,h,A,D,sd),n.context=ed(null),l=n.current,x=$t(),x=yx(x),c=E0(x),c.callback=null,h0(l,c,x),l=x,n.current.lanes=l,ll(n,l),Mn(n),e[cr]=n.current,hu(e),new La(n)},Zl.version="19.2.7",Zl}var Md;function dp(){if(Md)return ju.exports;Md=1;function t(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(t)}catch(r){console.error(r)}}return t(),ju.exports=fp(),ju.exports}var Ep=dp();var Ps=/^(?:[a-z][a-z0-9+.-]*:|[\\/]{2})/i,rh=/^[\\/]{2}/;function hp(t,r){return r+t.replace(/\\/g,"/")}var Rd="popstate";function Od(t){return typeof t=="object"&&t!=null&&"pathname"in t&&"search"in t&&"hash"in t&&"state"in t&&"key"in t}function mp(t={}){function r(a,o){let u=o.state?.masked,{pathname:s,search:f,hash:d}=u||a.location;return ps("",{pathname:s,search:f,hash:d},o.state&&o.state.usr||null,o.state&&o.state.key||"default",u?{pathname:a.location.pathname,search:a.location.search,hash:a.location.hash}:void 0)}function i(a,o){return typeof o=="string"?o:ci(o)}return Cp(r,i,null,t)}function Je(t,r){if(t===!1||t===null||typeof t>"u")throw new Error(r)}function vn(t,r){if(!t){typeof console<"u"&&console.warn(r);try{throw new Error(r)}catch{}}}function pp(){return Math.random().toString(36).substring(2,10)}function _d(t,r){return{usr:t.state,key:t.key,idx:r,masked:t.mask?{pathname:t.pathname,search:t.search,hash:t.hash}:void 0}}function ps(t,r,i=null,a,o){return{pathname:typeof t=="string"?t:t.pathname,search:"",hash:"",...typeof r=="string"?Wr(r):r,state:i,key:r&&r.key||a||pp(),mask:o}}function ci({pathname:t="/",search:r="",hash:i=""}){return r&&r!=="?"&&(t+=r.charAt(0)==="?"?r:"?"+r),i&&i!=="#"&&(t+=i.charAt(0)==="#"?i:"#"+i),t}function Wr(t){let r={};if(t){let i=t.indexOf("#");i>=0&&(r.hash=t.substring(i),t=t.substring(0,i));let a=t.indexOf("?");a>=0&&(r.search=t.substring(a),t=t.substring(0,a)),t&&(r.pathname=t)}return r}function Cp(t,r,i,a={}){let{window:o=document.defaultView,v5Compat:u=!1}=a,s=o.history,f="POP",d=null,E=p();E==null&&(E=0,s.replaceState({...s.state,idx:E},""));function p(){return(s.state||{idx:null}).idx}function m(){f="POP";let F=p(),b=F==null?null:F-E;E=F,d&&d({action:f,location:y.location,delta:b})}function C(F,b){f="PUSH";let L=Od(F)?F:ps(y.location,F,b);E=p()+1;let w=_d(L,E),z=y.createHref(L.mask||L);try{s.pushState(w,"",z)}catch(R){if(R instanceof DOMException&&R.name==="DataCloneError")throw R;o.location.assign(z)}u&&d&&d({action:f,location:y.location,delta:1})}function B(F,b){f="REPLACE";let L=Od(F)?F:ps(y.location,F,b);E=p();let w=_d(L,E),z=y.createHref(L.mask||L);s.replaceState(w,"",z),u&&d&&d({action:f,location:y.location,delta:0})}function g(F){return Bp(o,F)}let y={get action(){return f},get location(){return t(o,s)},listen(F){if(d)throw new Error("A history only accepts one active listener");return o.addEventListener(Rd,m),d=F,()=>{o.removeEventListener(Rd,m),d=null}},createHref(F){return r(o,F)},createURL:g,encodeLocation(F){let b=g(F);return{pathname:b.pathname,search:b.search,hash:b.hash}},push:C,replace:B,go(F){return s.go(F)}};return y}function Bp(t,r,i=!1){let a="http://localhost";t&&(a=t.location.origin!=="null"?t.location.origin:t.location.href),Je(a,"No window.location.(origin|href) available to create URL");let o=typeof r=="string"?r:ci(r);return o=o.replace(/ $/,"%20"),!i&&rh.test(o)&&(o=a+o),new URL(o,a)}function lh(t,r,i="/"){return Ap(t,r,i,!1)}function Ap(t,r,i,a,o){let u=typeof r=="string"?Wr(r):r,s=l0(u.pathname||"/",i);if(s==null)return null;let f=gp(t),d=null,E=uh(s);for(let p=0;d==null&&p<f.length;++p)d=zp(f[p],E,a);return d}function gp(t){let r=ih(t);return Dp(r),r}function ih(t,r=[],i=[],a="",o=!1){let u=(s,f,d=o,E)=>{let p={relativePath:E===void 0?s.path||"":E,caseSensitive:s.caseSensitive===!0,childrenIndex:f,route:s};if(p.relativePath.startsWith("/")){if(!p.relativePath.startsWith(a)&&d)return;Je(p.relativePath.startsWith(a),`Absolute route path "${p.relativePath}" nested under path "${a}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),p.relativePath=p.relativePath.slice(a.length)}let m=yn([a,p.relativePath]),C=i.concat(p);s.children&&s.children.length>0&&(Je(s.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${m}".`),ih(s.children,r,C,m,d)),!(s.path==null&&!s.index)&&r.push({path:m,score:Sp(m,s.index),routesMeta:C.map((B,g)=>{let[y,F]=oh(B.relativePath,B.caseSensitive,g===C.length-1);return{...B,matcher:y,compiledParams:F}})})};return t.forEach((s,f)=>{if(s.path===""||!s.path?.includes("?"))u(s,f);else for(let d of ah(s.path))u(s,f,!0,d)}),r}function ah(t){let r=t.split("/");if(r.length===0)return[];let[i,...a]=r,o=i.endsWith("?"),u=i.replace(/\?$/,"");if(a.length===0)return o?[u,""]:[u];let s=ah(a.join("/")),f=[];return f.push(...s.map(d=>d===""?u:[u,d].join("/"))),o&&f.push(...s),f.map(d=>t.startsWith("/")&&d===""?"/":d)}function Dp(t){t.sort((r,i)=>r.score!==i.score?i.score-r.score:Tp(r.routesMeta.map(a=>a.childrenIndex),i.routesMeta.map(a=>a.childrenIndex)))}var yp=/^:[\w-]+$/,Fp=3,vp=2,bp=1,kp=10,wp=-2,Nd=t=>t==="*";function Sp(t,r){let i=t.split("/"),a=i.length;return i.some(Nd)&&(a+=wp),r&&(a+=vp),i.filter(o=>!Nd(o)).reduce((o,u)=>o+(yp.test(u)?Fp:u===""?bp:kp),a)}function Tp(t,r){return t.length===r.length&&t.slice(0,-1).every((a,o)=>a===r[o])?t[t.length-1]-r[r.length-1]:0}function zp(t,r,i=!1){let{routesMeta:a}=t,o={},u="/",s=[];for(let f=0;f<a.length;++f){let d=a[f],E=f===a.length-1,p=u==="/"?r:r.slice(u.length)||"/",m={path:d.relativePath,caseSensitive:d.caseSensitive,end:E},C=d.matcher&&d.compiledParams?xh(m,p,d.matcher,d.compiledParams):fi(m,p),B=d.route;if(!C&&E&&i&&!a[a.length-1].route.index&&(C=fi({path:d.relativePath,caseSensitive:d.caseSensitive,end:!1},p)),!C)return null;Object.assign(o,C.params),s.push({params:o,pathname:yn([u,C.pathname]),pathnameBase:Op(yn([u,C.pathnameBase])),route:B}),C.pathnameBase!=="/"&&(u=yn([u,C.pathnameBase]))}return s}function fi(t,r){typeof t=="string"&&(t={path:t,caseSensitive:!1,end:!0});let[i,a]=oh(t.path,t.caseSensitive,t.end);return xh(t,r,i,a)}function xh(t,r,i,a){let o=r.match(i);if(!o)return null;let u=o[0],s=u.replace(/(.)\/+$/,"$1"),f=o.slice(1);return{params:a.reduce((E,{paramName:p,isOptional:m},C)=>{if(p==="*"){let g=f[C]||"";s=u.slice(0,u.length-g.length).replace(/(.)\/+$/,"$1")}const B=f[C];return m&&!B?E[p]=void 0:E[p]=(B||"").replace(/%2F/g,"/"),E},{}),pathname:u,pathnameBase:s,pattern:t}}function oh(t,r=!1,i=!0){vn(t==="*"||!t.endsWith("*")||t.endsWith("/*"),`Route path "${t}" will be treated as if it were "${t.replace(/\*$/,"/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${t.replace(/\*$/,"/*")}".`);let a=[],o="^"+t.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(s,f,d,E,p)=>{if(a.push({paramName:f,isOptional:d!=null}),d){let m=p.charAt(E+s.length);return m&&m!=="/"?"/([^\\/]*)":"(?:/([^\\/]*))?"}return"/([^\\/]+)"}).replace(/\/([\w-]+)\?(\/|$)/g,"(/$1)?$2");return t.endsWith("*")?(a.push({paramName:"*"}),o+=t==="*"||t==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):i?o+="\\/*$":t!==""&&t!=="/"&&(o+="(?:(?=\\/|$))"),[new RegExp(o,r?void 0:"i"),a]}function uh(t){try{return t.split("/").map(r=>decodeURIComponent(r).replace(/\//g,"%2F")).join("/")}catch(r){return vn(!1,`The URL path "${t}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${r}).`),t}}function l0(t,r){if(r==="/")return t;if(!t.toLowerCase().startsWith(r.toLowerCase()))return null;let i=r.endsWith("/")?r.length-1:r.length,a=t.charAt(i);return a&&a!=="/"?null:t.slice(i)||"/"}function Mp(t,r="/"){let{pathname:i,search:a="",hash:o=""}=typeof t=="string"?Wr(t):t,u;return i?(i=sh(i),i.startsWith("/")?u=jd(i.substring(1),"/"):u=jd(i,r)):u=r,{pathname:u,search:_p(a),hash:Np(o)}}function jd(t,r){let i=ex(r).split("/");return t.split("/").forEach(o=>{o===".."?i.length>1&&i.pop():o!=="."&&i.push(o)}),i.length>1?i.join("/"):"/"}function Hu(t,r,i,a){return`Cannot include a '${t}' character in a manually specified \`to.${r}\` field [${JSON.stringify(a)}]. Please separate it out to the \`to.${i}\` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.`}function Rp(t){return t.filter((r,i)=>i===0||r.route.path&&r.route.path.length>0)}function Us(t){let r=Rp(t);return r.map((i,a)=>a===r.length-1?i.pathname:i.pathnameBase)}function xx(t,r,i,a=!1){let o;typeof t=="string"?o=Wr(t):(o={...t},Je(!o.pathname||!o.pathname.includes("?"),Hu("?","pathname","search",o)),Je(!o.pathname||!o.pathname.includes("#"),Hu("#","pathname","hash",o)),Je(!o.search||!o.search.includes("#"),Hu("#","search","hash",o)));let u=t===""||o.pathname==="",s=u?"/":o.pathname,f;if(s==null)f=i;else{let m=r.length-1;if(!a&&s.startsWith("..")){let C=s.split("/");for(;C[0]==="..";)C.shift(),m-=1;o.pathname=C.join("/")}f=m>=0?r[m]:"/"}let d=Mp(o,f),E=s&&s!=="/"&&s.endsWith("/"),p=(u||s===".")&&i.endsWith("/");return!d.pathname.endsWith("/")&&(E||p)&&(d.pathname+="/"),d}var sh=t=>t.replace(/[\\/]{2,}/g,"/"),yn=t=>sh(t.join("/")),ex=t=>t.replace(/\/+$/,""),Op=t=>ex(t).replace(/^\/*/,"/"),_p=t=>!t||t==="?"?"":t.startsWith("?")?t:"?"+t,Np=t=>!t||t==="#"?"":t.startsWith("#")?t:"#"+t,jp=class{constructor(t,r,i,a=!1){this.status=t,this.statusText=r||"",this.internal=a,i instanceof Error?(this.data=i.toString(),this.error=i):this.data=i}};function Lp(t){return t!=null&&typeof t.status=="number"&&typeof t.statusText=="string"&&typeof t.internal=="boolean"&&"data"in t}function Pp(t){let r=t.map(i=>i.route.path).filter(Boolean);return yn(r)||"/"}var ch=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";function fh(t,r){let i=t;if(typeof i!="string"||!Ps.test(i))return{absoluteURL:void 0,isExternal:!1,to:i};let a=i,o=!1;if(ch)try{let u=new URL(window.location.href),s=rh.test(i)?new URL(hp(i,u.protocol)):new URL(i),f=l0(s.pathname,r);s.origin===u.origin&&f!=null?i=f+s.search+s.hash:o=!0}catch{vn(!1,`<Link to="${i}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}return{absoluteURL:a,isExternal:o,to:i}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");var dh=["POST","PUT","PATCH","DELETE"];new Set(dh);var Up=["GET",...dh];new Set(Up);var Hp=["about:","blob:","chrome:","chrome-untrusted:","content:","data:","devtools:","file:","filesystem:","javascript:"];function qp(t){try{return Hp.includes(new URL(t).protocol)}catch{return!1}}var el=H.createContext(null);el.displayName="DataRouter";var ox=H.createContext(null);ox.displayName="DataRouterState";var Eh=H.createContext(!1);function Qp(){return H.useContext(Eh)}var hh=H.createContext({isTransitioning:!1});hh.displayName="ViewTransition";var Gp=H.createContext(new Map);Gp.displayName="Fetchers";var Vp=H.createContext(null);Vp.displayName="Await";var nn=H.createContext(null);nn.displayName="Navigation";var Bi=H.createContext(null);Bi.displayName="Location";var Cn=H.createContext({outlet:null,matches:[],isDataRoute:!1});Cn.displayName="Route";var Hs=H.createContext(null);Hs.displayName="RouteError";var mh="REACT_ROUTER_ERROR",Yp="REDIRECT",Ip="ROUTE_ERROR_RESPONSE";function Xp(t){if(t.startsWith(`${mh}:${Yp}:{`))try{let r=JSON.parse(t.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 Zp(t){if(t.startsWith(`${mh}:${Ip}:{`))try{let r=JSON.parse(t.slice(40));if(typeof r=="object"&&r&&typeof r.status=="number"&&typeof r.statusText=="string")return new jp(r.status,r.statusText,r.data)}catch{}}function Kp(t,{relative:r}={}){Je(ar(),"useHref() may be used only in the context of a <Router> component.");let{basename:i,navigator:a}=H.useContext(nn),{hash:o,pathname:u,search:s}=Ai(t,{relative:r}),f=u;return i!=="/"&&(f=u==="/"?i:yn([i,u])),a.createHref({pathname:f,search:s,hash:o})}function ar(){return H.useContext(Bi)!=null}function bn(){return Je(ar(),"useLocation() may be used only in the context of a <Router> component."),H.useContext(Bi).location}function Jp(t){Je(ar(),"useMatch() may be used only in the context of a <Router> component.");let{pathname:r}=bn();return H.useMemo(()=>fi(t,uh(r)),[r,t])}var ph="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function Ch(t){H.useContext(nn).static||H.useLayoutEffect(t)}function qs(){let{isDataRoute:t}=H.useContext(Cn);return t?dC():$p()}function $p(){Je(ar(),"useNavigate() may be used only in the context of a <Router> component.");let t=H.useContext(el),{basename:r,navigator:i}=H.useContext(nn),{matches:a}=H.useContext(Cn),{pathname:o}=bn(),u=JSON.stringify(Us(a)),s=H.useRef(!1);return Ch(()=>{s.current=!0}),H.useCallback((d,E={})=>{if(vn(s.current,ph),!s.current)return;if(typeof d=="number"){i.go(d);return}let p=xx(d,JSON.parse(u),o,E.relative==="path");t==null&&r!=="/"&&(p.pathname=p.pathname==="/"?r:yn([r,p.pathname])),(E.replace?i.replace:i.push)(p,E.state,E)},[r,i,u,o,t])}var Wp=H.createContext(null);function eC(t){let r=H.useContext(Cn).outlet;return H.useMemo(()=>r&&H.createElement(Wp.Provider,{value:t},r),[r,t])}function tC(){let{matches:t}=H.useContext(Cn);return t[t.length-1]?.params??{}}function Ai(t,{relative:r}={}){let{matches:i}=H.useContext(Cn),{pathname:a}=bn(),o=JSON.stringify(Us(i));return H.useMemo(()=>xx(t,JSON.parse(o),a,r==="path"),[t,o,a,r])}function nC(t,r){return Bh(t,r)}function Bh(t,r,i){Je(ar(),"useRoutes() may be used only in the context of a <Router> component.");let{navigator:a}=H.useContext(nn),{matches:o}=H.useContext(Cn),u=o[o.length-1],s=u?u.params:{},f=u?u.pathname:"/",d=u?u.pathnameBase:"/",E=u&&u.route;{let F=E&&E.path||"";gh(f,!E||F.endsWith("*")||F.endsWith("*?"),`You rendered descendant <Routes> (or called \`useRoutes()\`) at "${f}" (under <Route path="${F}">) 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
|
+
|
|
11
|
+
Please change the parent <Route path="${F}"> to <Route path="${F==="/"?"*":`${F}/*`}">.`)}let p=bn(),m;if(r){let F=typeof r=="string"?Wr(r):r;Je(d==="/"||F.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 "${F.pathname}" was given in the \`location\` prop.`),m=F}else m=p;let C=m.pathname||"/",B=C;if(d!=="/"){let F=d.replace(/^\//,"").split("/");B="/"+C.replace(/^\//,"").split("/").slice(F.length).join("/")}let g=i&&i.state.matches.length?i.state.matches.map(F=>Object.assign(F,{route:i.manifest[F.route.id]||F.route})):lh(t,{pathname:B});vn(E||g!=null,`No routes matched location "${m.pathname}${m.search}${m.hash}" `),vn(g==null||g[g.length-1].route.element!==void 0||g[g.length-1].route.Component!==void 0||g[g.length-1].route.lazy!==void 0,`Matched leaf route at location "${m.pathname}${m.search}${m.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 y=xC(g&&g.map(F=>Object.assign({},F,{params:Object.assign({},s,F.params),pathname:yn([d,a.encodeLocation?a.encodeLocation(F.pathname.replace(/%/g,"%25").replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:F.pathname]),pathnameBase:F.pathnameBase==="/"?d:yn([d,a.encodeLocation?a.encodeLocation(F.pathnameBase.replace(/%/g,"%25").replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:F.pathnameBase])})),o,i);return r&&y?H.createElement(Bi.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",mask:void 0,...m},navigationType:"POP"}},y):y}function rC(){let t=fC(),r=Lp(t)?`${t.status} ${t.statusText}`:t instanceof Error?t.message:JSON.stringify(t),i=t instanceof Error?t.stack:null,a="rgba(200,200,200, 0.5)",o={padding:"0.5rem",backgroundColor:a},u={padding:"2px 4px",backgroundColor:a},s=null;return console.error("Error handled by React Router default ErrorBoundary:",t),s=H.createElement(H.Fragment,null,H.createElement("p",null,"💿 Hey developer 👋"),H.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",H.createElement("code",{style:u},"ErrorBoundary")," or"," ",H.createElement("code",{style:u},"errorElement")," prop on your route.")),H.createElement(H.Fragment,null,H.createElement("h2",null,"Unexpected Application Error!"),H.createElement("h3",{style:{fontStyle:"italic"}},r),i?H.createElement("pre",{style:o},i):null,s)}var lC=H.createElement(rC,null),Ah=class extends H.Component{constructor(t){super(t),this.state={location:t.location,revalidation:t.revalidation,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,r){return r.location!==t.location||r.revalidation!=="idle"&&t.revalidation==="idle"?{error:t.error,location:t.location,revalidation:t.revalidation}:{error:t.error!==void 0?t.error:r.error,location:r.location,revalidation:t.revalidation||r.revalidation}}componentDidCatch(t,r){this.props.onError?this.props.onError(t,r):console.error("React Router caught the following error during render",t)}render(){let t=this.state.error;if(this.context&&typeof t=="object"&&t&&"digest"in t&&typeof t.digest=="string"){const i=Zp(t.digest);i&&(t=i)}let r=t!==void 0?H.createElement(Cn.Provider,{value:this.props.routeContext},H.createElement(Hs.Provider,{value:t,children:this.props.component})):this.props.children;return this.context?H.createElement(iC,{error:t},r):r}};Ah.contextType=Eh;var qu=new WeakMap;function iC({children:t,error:r}){let{basename:i}=H.useContext(nn);if(typeof r=="object"&&r&&"digest"in r&&typeof r.digest=="string"){let a=Xp(r.digest);if(a){let o=qu.get(r);if(o)throw o;let u=fh(a.location,i),s=u.absoluteURL||u.to;if(qp(s))throw new Error("Invalid redirect location");if(ch&&!qu.get(r))if(u.isExternal||a.reloadDocument)window.location.href=s;else{const f=Promise.resolve().then(()=>window.__reactRouterDataRouter.navigate(u.to,{replace:a.replace}));throw qu.set(r,f),f}return H.createElement("meta",{httpEquiv:"refresh",content:`0;url=${s}`})}}return t}function aC({routeContext:t,match:r,children:i}){let a=H.useContext(el);return a&&a.static&&a.staticContext&&(r.route.errorElement||r.route.ErrorBoundary)&&(a.staticContext._deepestRenderedBoundaryId=r.route.id),H.createElement(Cn.Provider,{value:t},i)}function xC(t,r=[],i){let a=i?.state;if(t==null){if(!a)return null;if(a.errors)t=a.matches;else if(r.length===0&&!a.initialized&&a.matches.length>0)t=a.matches;else return null}let o=t,u=a?.errors;if(u!=null){let p=o.findIndex(m=>m.route.id&&u?.[m.route.id]!==void 0);Je(p>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(u).join(",")}`),o=o.slice(0,Math.min(o.length,p+1))}let s=!1,f=-1;if(i&&a){s=a.renderFallback;for(let p=0;p<o.length;p++){let m=o[p];if((m.route.HydrateFallback||m.route.hydrateFallbackElement)&&(f=p),m.route.id){let{loaderData:C,errors:B}=a,g=m.route.loader&&!C.hasOwnProperty(m.route.id)&&(!B||B[m.route.id]===void 0);if(m.route.lazy||g){i.isStatic&&(s=!0),f>=0?o=o.slice(0,f+1):o=[o[0]];break}}}}let d=i?.onError,E=a&&d?(p,m)=>{d(p,{location:a.location,params:a.matches?.[0]?.params??{},pattern:Pp(a.matches),errorInfo:m})}:void 0;return o.reduceRight((p,m,C)=>{let B,g=!1,y=null,F=null;a&&(B=u&&m.route.id?u[m.route.id]:void 0,y=m.route.errorElement||lC,s&&(f<0&&C===0?(gh("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),g=!0,F=null):f===C&&(g=!0,F=m.route.hydrateFallbackElement||null)));let b=r.concat(o.slice(0,C+1)),L=()=>{let w;return B?w=y:g?w=F:m.route.Component?w=H.createElement(m.route.Component,null):m.route.element?w=m.route.element:w=p,H.createElement(aC,{match:m,routeContext:{outlet:p,matches:b,isDataRoute:a!=null},children:w})};return a&&(m.route.ErrorBoundary||m.route.errorElement||C===0)?H.createElement(Ah,{location:a.location,revalidation:a.revalidation,component:y,error:B,children:L(),routeContext:{outlet:null,matches:b,isDataRoute:!0},onError:E}):L()},null)}function Qs(t){return`${t} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function oC(t){let r=H.useContext(el);return Je(r,Qs(t)),r}function uC(t){let r=H.useContext(ox);return Je(r,Qs(t)),r}function sC(t){let r=H.useContext(Cn);return Je(r,Qs(t)),r}function Gs(t){let r=sC(t),i=r.matches[r.matches.length-1];return Je(i.route.id,`${t} can only be used on routes that contain a unique "id"`),i.route.id}function cC(){return Gs("useRouteId")}function fC(){let t=H.useContext(Hs),r=uC("useRouteError"),i=Gs("useRouteError");return t!==void 0?t:r.errors?.[i]}function dC(){let{router:t}=oC("useNavigate"),r=Gs("useNavigate"),i=H.useRef(!1);return Ch(()=>{i.current=!0}),H.useCallback(async(o,u={})=>{vn(i.current,ph),i.current&&(typeof o=="number"?await t.navigate(o):await t.navigate(o,{fromRouteId:r,...u}))},[t,r])}var Ld={};function gh(t,r,i){!r&&!Ld[t]&&(Ld[t]=!0,vn(!1,i))}H.memo(EC);function EC({routes:t,manifest:r,future:i,state:a,isStatic:o,onError:u}){return Bh(t,void 0,{manifest:r,state:a,isStatic:o,onError:u})}function hC({to:t,replace:r,state:i,relative:a}){Je(ar(),"<Navigate> may be used only in the context of a <Router> component.");let{static:o}=H.useContext(nn);vn(!o,"<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:u}=H.useContext(Cn),{pathname:s}=bn(),f=qs(),d=xx(t,Us(u),s,a==="path"),E=JSON.stringify(d);return H.useEffect(()=>{f(JSON.parse(E),{replace:r,state:i,relative:a})},[f,E,a,r,i]),null}function mC(t){return eC(t.context)}function li(t){Je(!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 pC({basename:t="/",children:r=null,location:i,navigationType:a="POP",navigator:o,static:u=!1,useTransitions:s}){Je(!ar(),"You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let f=t.replace(/^\/*/,"/"),d=H.useMemo(()=>({basename:f,navigator:o,static:u,useTransitions:s,future:{}}),[f,o,u,s]);typeof i=="string"&&(i=Wr(i));let{pathname:E="/",search:p="",hash:m="",state:C=null,key:B="default",mask:g}=i,y=H.useMemo(()=>{let F=l0(E,f);return F==null?null:{location:{pathname:F,search:p,hash:m,state:C,key:B,mask:g},navigationType:a}},[f,E,p,m,C,B,a,g]);return vn(y!=null,`<Router basename="${f}"> is not able to match the URL "${E}${p}${m}" because it does not start with the basename, so the <Router> won't render anything.`),y==null?null:H.createElement(nn.Provider,{value:d},H.createElement(Bi.Provider,{children:r,value:y}))}function CC({children:t,location:r}){return nC(Cs(t),r)}function Cs(t,r=[]){let i=[];return H.Children.forEach(t,(a,o)=>{if(!H.isValidElement(a))return;let u=[...r,o];if(a.type===H.Fragment){i.push.apply(i,Cs(a.props.children,u));return}Je(a.type===li,`[${typeof a.type=="string"?a.type:a.type.name}] is not a <Route> component. All component children of <Routes> must be a <Route> or <React.Fragment>`),Je(!a.props.index||!a.props.children,"An index route cannot have child routes.");let s={id:a.props.id||u.join("-"),caseSensitive:a.props.caseSensitive,element:a.props.element,Component:a.props.Component,index:a.props.index,path:a.props.path,middleware:a.props.middleware,loader:a.props.loader,action:a.props.action,hydrateFallbackElement:a.props.hydrateFallbackElement,HydrateFallback:a.props.HydrateFallback,errorElement:a.props.errorElement,ErrorBoundary:a.props.ErrorBoundary,hasErrorBoundary:a.props.hasErrorBoundary===!0||a.props.ErrorBoundary!=null||a.props.errorElement!=null,shouldRevalidate:a.props.shouldRevalidate,handle:a.props.handle,lazy:a.props.lazy};a.props.children&&(s.children=Cs(a.props.children,u)),i.push(s)}),i}var Za="get",Ka="application/x-www-form-urlencoded";function ux(t){return typeof HTMLElement<"u"&&t instanceof HTMLElement}function BC(t){return ux(t)&&t.tagName.toLowerCase()==="button"}function AC(t){return ux(t)&&t.tagName.toLowerCase()==="form"}function gC(t){return ux(t)&&t.tagName.toLowerCase()==="input"}function DC(t){return!!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)}function yC(t,r){return t.button===0&&(!r||r==="_self")&&!DC(t)}var qa=null;function FC(){if(qa===null)try{new FormData(document.createElement("form"),0),qa=!1}catch{qa=!0}return qa}var vC=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function Qu(t){return t!=null&&!vC.has(t)?(vn(!1,`"${t}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${Ka}"`),null):t}function bC(t,r){let i,a,o,u,s;if(AC(t)){let f=t.getAttribute("action");a=f?l0(f,r):null,i=t.getAttribute("method")||Za,o=Qu(t.getAttribute("enctype"))||Ka,u=new FormData(t)}else if(BC(t)||gC(t)&&(t.type==="submit"||t.type==="image")){let f=t.form;if(f==null)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let d=t.getAttribute("formaction")||f.getAttribute("action");if(a=d?l0(d,r):null,i=t.getAttribute("formmethod")||f.getAttribute("method")||Za,o=Qu(t.getAttribute("formenctype"))||Qu(f.getAttribute("enctype"))||Ka,u=new FormData(f,t),!FC()){let{name:E,type:p,value:m}=t;if(p==="image"){let C=E?`${E}.`:"";u.append(`${C}x`,"0"),u.append(`${C}y`,"0")}else E&&u.append(E,m)}}else{if(ux(t))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');i=Za,a=null,o=Ka,s=t}return u&&o==="text/plain"&&(s=u,u=void 0),{action:a,method:i.toLowerCase(),encType:o,formData:u,body:s}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");function Vs(t,r){if(t===!1||t===null||typeof t>"u")throw new Error(r)}function Dh(t,r,i,a){let o=typeof t=="string"?new URL(t,typeof window>"u"?"server://singlefetch/":window.location.origin):t;return i?o.pathname.endsWith("/")?o.pathname=`${o.pathname}_.${a}`:o.pathname=`${o.pathname}.${a}`:o.pathname==="/"?o.pathname=`_root.${a}`:r&&l0(o.pathname,r)==="/"?o.pathname=`${ex(r)}/_root.${a}`:o.pathname=`${ex(o.pathname)}.${a}`,o}async function kC(t,r){if(t.id in r)return r[t.id];try{let i=await import(t.module);return r[t.id]=i,i}catch(i){return console.error(`Error loading route module \`${t.module}\`, reloading page...`),console.error(i),window.__reactRouterContext&&window.__reactRouterContext.isSpaMode,window.location.reload(),new Promise(()=>{})}}function wC(t){return t==null?!1:t.href==null?t.rel==="preload"&&typeof t.imageSrcSet=="string"&&typeof t.imageSizes=="string":typeof t.rel=="string"&&typeof t.href=="string"}async function SC(t,r,i){let a=await Promise.all(t.map(async o=>{let u=r.routes[o.route.id];if(u){let s=await kC(u,i);return s.links?s.links():[]}return[]}));return RC(a.flat(1).filter(wC).filter(o=>o.rel==="stylesheet"||o.rel==="preload").map(o=>o.rel==="stylesheet"?{...o,rel:"prefetch",as:"style"}:{...o,rel:"prefetch"}))}function Pd(t,r,i,a,o,u){let s=(d,E)=>i[E]?d.route.id!==i[E].route.id:!0,f=(d,E)=>i[E].pathname!==d.pathname||i[E].route.path?.endsWith("*")&&i[E].params["*"]!==d.params["*"];return u==="assets"?r.filter((d,E)=>s(d,E)||f(d,E)):u==="data"?r.filter((d,E)=>{let p=a.routes[d.route.id];if(!p||!p.hasLoader)return!1;if(s(d,E)||f(d,E))return!0;if(d.route.shouldRevalidate){let m=d.route.shouldRevalidate({currentUrl:new URL(o.pathname+o.search+o.hash,window.origin),currentParams:i[0]?.params||{},nextUrl:new URL(t,window.origin),nextParams:d.params,defaultShouldRevalidate:!0});if(typeof m=="boolean")return m}return!0}):[]}function TC(t,r,{includeHydrateFallback:i}={}){return zC(t.map(a=>{let o=r.routes[a.route.id];if(!o)return[];let u=[o.module];return o.clientActionModule&&(u=u.concat(o.clientActionModule)),o.clientLoaderModule&&(u=u.concat(o.clientLoaderModule)),i&&o.hydrateFallbackModule&&(u=u.concat(o.hydrateFallbackModule)),o.imports&&(u=u.concat(o.imports)),u}).flat(1))}function zC(t){return[...new Set(t)]}function MC(t){let r={},i=Object.keys(t).sort();for(let a of i)r[a]=t[a];return r}function RC(t,r){let i=new Set;return new Set(r),t.reduce((a,o)=>{let u=JSON.stringify(MC(o));return i.has(u)||(i.add(u),a.push({key:u,link:o})),a},[])}function Ys(){let t=H.useContext(el);return Vs(t,"You must render this element inside a <DataRouterContext.Provider> element"),t}function OC(){let t=H.useContext(ox);return Vs(t,"You must render this element inside a <DataRouterStateContext.Provider> element"),t}var Is=H.createContext(void 0);Is.displayName="FrameworkContext";function sx(){let t=H.useContext(Is);return Vs(t,"You must render this element inside a <HydratedRouter> element"),t}function _C(t,r){let i=H.useContext(Is),[a,o]=H.useState(!1),[u,s]=H.useState(!1),{onFocus:f,onBlur:d,onMouseEnter:E,onMouseLeave:p,onTouchStart:m}=r,C=H.useRef(null);H.useEffect(()=>{if(t==="render"&&s(!0),t==="viewport"){let y=b=>{b.forEach(L=>{s(L.isIntersecting)})},F=new IntersectionObserver(y,{threshold:.5});return C.current&&F.observe(C.current),()=>{F.disconnect()}}},[t]),H.useEffect(()=>{if(a){let y=setTimeout(()=>{s(!0)},100);return()=>{clearTimeout(y)}}},[a]);let B=()=>{o(!0)},g=()=>{o(!1),s(!1)};return i?t!=="intent"?[u,C,{}]:[u,C,{onFocus:Kl(f,B),onBlur:Kl(d,g),onMouseEnter:Kl(E,B),onMouseLeave:Kl(p,g),onTouchStart:Kl(m,B)}]:[!1,C,{}]}function Kl(t,r){return i=>{t&&t(i),i.defaultPrevented||r(i)}}function NC({page:t,...r}){let i=Qp(),{nonce:a}=sx(),{router:o}=Ys(),u=H.useMemo(()=>lh(o.routes,t,o.basename),[o.routes,t,o.basename]);return u?(r.nonce==null&&a&&(r={...r,nonce:a}),i?H.createElement(LC,{page:t,matches:u,...r}):H.createElement(PC,{page:t,matches:u,...r})):null}function jC(t){let{manifest:r,routeModules:i}=sx(),[a,o]=H.useState([]);return H.useEffect(()=>{let u=!1;return SC(t,r,i).then(s=>{u||o(s)}),()=>{u=!0}},[t,r,i]),a}function LC({page:t,matches:r,...i}){let a=bn(),{future:o}=sx(),{basename:u}=Ys(),s=H.useMemo(()=>{if(t===a.pathname+a.search+a.hash)return[];let f=Dh(t,u,o.v8_trailingSlashAwareDataRequests,"rsc"),d=!1,E=[];for(let p of r)typeof p.route.shouldRevalidate=="function"?d=!0:E.push(p.route.id);return d&&E.length>0&&f.searchParams.set("_routes",E.join(",")),[f.pathname+f.search]},[u,o.v8_trailingSlashAwareDataRequests,t,a,r]);return H.createElement(H.Fragment,null,s.map(f=>H.createElement("link",{key:f,rel:"prefetch",as:"fetch",href:f,...i})))}function PC({page:t,matches:r,...i}){let a=bn(),{future:o,manifest:u,routeModules:s}=sx(),{basename:f}=Ys(),{loaderData:d,matches:E}=OC(),p=H.useMemo(()=>Pd(t,r,E,u,a,"data"),[t,r,E,u,a]),m=H.useMemo(()=>Pd(t,r,E,u,a,"assets"),[t,r,E,u,a]),C=H.useMemo(()=>{if(t===a.pathname+a.search+a.hash)return[];let y=new Set,F=!1;if(r.forEach(L=>{let w=u.routes[L.route.id];!w||!w.hasLoader||(!p.some(z=>z.route.id===L.route.id)&&L.route.id in d&&s[L.route.id]?.shouldRevalidate||w.hasClientLoader?F=!0:y.add(L.route.id))}),y.size===0)return[];let b=Dh(t,f,o.v8_trailingSlashAwareDataRequests,"data");return F&&y.size>0&&b.searchParams.set("_routes",r.filter(L=>y.has(L.route.id)).map(L=>L.route.id).join(",")),[b.pathname+b.search]},[f,o.v8_trailingSlashAwareDataRequests,d,a,u,p,r,t,s]),B=H.useMemo(()=>TC(m,u),[m,u]),g=jC(m);return H.createElement(H.Fragment,null,C.map(y=>H.createElement("link",{key:y,rel:"prefetch",as:"fetch",href:y,...i})),B.map(y=>H.createElement("link",{key:y,rel:"modulepreload",href:y,...i})),g.map(({key:y,link:F})=>H.createElement("link",{key:y,nonce:i.nonce,...F,crossOrigin:F.crossOrigin??i.crossOrigin})))}function UC(...t){return r=>{t.forEach(i=>{typeof i=="function"?i(r):i!=null&&(i.current=r)})}}var HC=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";try{HC&&(window.__reactRouterVersion="7.18.1")}catch{}function qC({basename:t,children:r,useTransitions:i,window:a}){let o=H.useRef();o.current==null&&(o.current=mp({window:a,v5Compat:!0}));let u=o.current,[s,f]=H.useState({action:u.action,location:u.location}),d=H.useCallback(E=>{i===!1?f(E):H.startTransition(()=>f(E))},[i]);return H.useLayoutEffect(()=>u.listen(d),[u,d]),H.createElement(pC,{basename:t,children:r,location:s.location,navigationType:s.action,navigator:u,useTransitions:i})}var yh=H.forwardRef(function({onClick:r,discover:i="render",prefetch:a="none",relative:o,reloadDocument:u,replace:s,mask:f,state:d,target:E,to:p,preventScrollReset:m,viewTransition:C,defaultShouldRevalidate:B,...g},y){let{basename:F,navigator:b,useTransitions:L}=H.useContext(nn),w=typeof p=="string"&&Ps.test(p),z=fh(p,F);p=z.to;let R=Kp(p,{relative:o}),S=bn(),M=null;if(f){let X=xx(f,[],S.mask?S.mask.pathname:"/",!0);F!=="/"&&(X.pathname=X.pathname==="/"?F:yn([F,X.pathname])),M=b.createHref(X)}let[j,I,N]=_C(a,g),J=YC(p,{replace:s,mask:f,state:d,target:E,preventScrollReset:m,relative:o,viewTransition:C,defaultShouldRevalidate:B,useTransitions:L});function K(X){r&&r(X),X.defaultPrevented||J(X)}let ie=!(z.isExternal||u),re=H.createElement("a",{...g,...N,href:(ie?M:void 0)||z.absoluteURL||R,onClick:ie?K:r,ref:UC(y,I),target:E,"data-discover":!w&&i==="render"?"true":void 0});return j&&!w?H.createElement(H.Fragment,null,re,H.createElement(NC,{page:R})):re});yh.displayName="Link";var QC=H.forwardRef(function({"aria-current":r="page",caseSensitive:i=!1,className:a="",end:o=!1,style:u,to:s,viewTransition:f,children:d,...E},p){let m=Ai(s,{relative:E.relative}),C=bn(),B=H.useContext(ox),{navigator:g,basename:y}=H.useContext(nn),F=B!=null&&JC(m)&&f===!0,b=g.encodeLocation?g.encodeLocation(m).pathname:m.pathname,L=C.pathname,w=B&&B.navigation&&B.navigation.location?B.navigation.location.pathname:null;i||(L=L.toLowerCase(),w=w?w.toLowerCase():null,b=b.toLowerCase()),w&&y&&(w=l0(w,y)||w);const z=b!=="/"&&b.endsWith("/")?b.length-1:b.length;let R=L===b||!o&&L.startsWith(b)&&L.charAt(z)==="/",S=w!=null&&(w===b||!o&&w.startsWith(b)&&w.charAt(b.length)==="/"),M={isActive:R,isPending:S,isTransitioning:F},j=R?r:void 0,I;typeof a=="function"?I=a(M):I=[a,R?"active":null,S?"pending":null,F?"transitioning":null].filter(Boolean).join(" ");let N=typeof u=="function"?u(M):u;return H.createElement(yh,{...E,"aria-current":j,className:I,ref:p,style:N,to:s,viewTransition:f},typeof d=="function"?d(M):d)});QC.displayName="NavLink";var GC=H.forwardRef(({discover:t="render",fetcherKey:r,navigate:i,reloadDocument:a,replace:o,state:u,method:s=Za,action:f,onSubmit:d,relative:E,preventScrollReset:p,viewTransition:m,defaultShouldRevalidate:C,...B},g)=>{let{useTransitions:y}=H.useContext(nn),F=ZC(),b=KC(f,{relative:E}),L=s.toLowerCase()==="get"?"get":"post",w=typeof f=="string"&&Ps.test(f),z=R=>{if(d&&d(R),R.defaultPrevented)return;R.preventDefault();let S=R.nativeEvent.submitter,M=S?.getAttribute("formmethod")||s,j=()=>F(S||R.currentTarget,{fetcherKey:r,method:M,navigate:i,replace:o,state:u,relative:E,preventScrollReset:p,viewTransition:m,defaultShouldRevalidate:C});y&&i!==!1?H.startTransition(()=>j()):j()};return H.createElement("form",{ref:g,method:L,action:b,onSubmit:a?d:z,...B,"data-discover":!w&&t==="render"?"true":void 0})});GC.displayName="Form";function VC(t){return`${t} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function Fh(t){let r=H.useContext(el);return Je(r,VC(t)),r}function YC(t,{target:r,replace:i,mask:a,state:o,preventScrollReset:u,relative:s,viewTransition:f,defaultShouldRevalidate:d,useTransitions:E}={}){let p=qs(),m=bn(),C=Ai(t,{relative:s});return H.useCallback(B=>{if(yC(B,r)){B.preventDefault();let g=i!==void 0?i:ci(m)===ci(C),y=()=>p(t,{replace:g,mask:a,state:o,preventScrollReset:u,relative:s,viewTransition:f,defaultShouldRevalidate:d});E?H.startTransition(()=>y()):y()}},[m,p,C,i,a,o,r,t,u,s,f,d,E])}var IC=0,XC=()=>`__${String(++IC)}__`;function ZC(){let{router:t}=Fh("useSubmit"),{basename:r}=H.useContext(nn),i=cC(),a=t.fetch,o=t.navigate;return H.useCallback(async(u,s={})=>{let{action:f,method:d,encType:E,formData:p,body:m}=bC(u,r);if(s.navigate===!1){let C=s.fetcherKey||XC();await a(C,i,s.action||f,{defaultShouldRevalidate:s.defaultShouldRevalidate,preventScrollReset:s.preventScrollReset,formData:p,body:m,formMethod:s.method||d,formEncType:s.encType||E,flushSync:s.flushSync})}else await o(s.action||f,{defaultShouldRevalidate:s.defaultShouldRevalidate,preventScrollReset:s.preventScrollReset,formData:p,body:m,formMethod:s.method||d,formEncType:s.encType||E,replace:s.replace,state:s.state,fromRouteId:i,flushSync:s.flushSync,viewTransition:s.viewTransition})},[a,o,r,i])}function KC(t,{relative:r}={}){let{basename:i}=H.useContext(nn),a=H.useContext(Cn);Je(a,"useFormAction must be used inside a RouteContext");let[o]=a.matches.slice(-1),u={...Ai(t||".",{relative:r})},s=bn();if(t==null){u.search=s.search;let f=new URLSearchParams(u.search),d=f.getAll("index");if(d.some(p=>p==="")){f.delete("index"),d.filter(m=>m).forEach(m=>f.append("index",m));let p=f.toString();u.search=p?`?${p}`:""}}return(!t||t===".")&&o.route.index&&(u.search=u.search?u.search.replace(/^\?/,"?index&"):"?index"),i!=="/"&&(u.pathname=u.pathname==="/"?i:yn([i,u.pathname])),ci(u)}function JC(t,{relative:r}={}){let i=H.useContext(hh);Je(i!=null,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`. Did you accidentally import `RouterProvider` from `react-router`?");let{basename:a}=Fh("useViewTransitionState"),o=Ai(t,{relative:r});if(!i.isTransitioning)return!1;let u=l0(i.currentLocation.pathname,a)||i.currentLocation.pathname,s=l0(i.nextLocation.pathname,a)||i.nextLocation.pathname;return fi(o.pathname,s)!=null||fi(o.pathname,u)!=null}const vh=(...t)=>t.filter((r,i,a)=>!!r&&r.trim()!==""&&a.indexOf(r)===i).join(" ").trim();const $C=t=>t.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase();const WC=t=>t.replace(/^([A-Z])|[\s-_]+(\w)/g,(r,i,a)=>a?a.toUpperCase():i.toLowerCase());const Ud=t=>{const r=WC(t);return r.charAt(0).toUpperCase()+r.slice(1)};var e7={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 t7=t=>{for(const r in t)if(r.startsWith("aria-")||r==="role"||r==="title")return!0;return!1};const n7=H.forwardRef(({color:t="currentColor",size:r=24,strokeWidth:i=2,absoluteStrokeWidth:a,className:o="",children:u,iconNode:s,...f},d)=>H.createElement("svg",{ref:d,...e7,width:r,height:r,stroke:t,strokeWidth:a?Number(i)*24/Number(r):i,className:vh("lucide",o),...!u&&!t7(f)&&{"aria-hidden":"true"},...f},[...s.map(([E,p])=>H.createElement(E,p)),...Array.isArray(u)?u:[u]]));const kn=(t,r)=>{const i=H.forwardRef(({className:a,...o},u)=>H.createElement(n7,{ref:u,iconNode:r,className:vh(`lucide-${$C(Ud(t))}`,`lucide-${t}`,a),...o}));return i.displayName=Ud(t),i};const r7=[["path",{d:"m5 12 7-7 7 7",key:"hav0vg"}],["path",{d:"M12 19V5",key:"x0mq9r"}]],l7=kn("arrow-up",r7);const i7=[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]],a7=kn("check",i7);const x7=[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]],o7=kn("chevron-down",x7);const u7=[["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"}]],s7=kn("copy",u7);const c7=[["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"}]],f7=kn("file-diff",c7);const d7=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]],E7=kn("info",d7);const h7=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M9 3v18",key:"fh3hqa"}]],m7=kn("panel-left",h7);const p7=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]],C7=kn("plus",p7);const B7=[["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"}]],bh=kn("qr-code",B7);const A7=[["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"}]],g7=kn("sliders-horizontal",A7);const D7=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],cx=kn("x",D7),di="conductor-remote-token";function y7(){const r=new URLSearchParams(location.hash.slice(1)).get("token");return r&&(localStorage.setItem(di,r),history.replaceState(null,"",location.pathname+location.search)),localStorage.getItem(di)}function kh(){return localStorage.getItem(di)}function F7(){localStorage.removeItem(di)}function v7(t){localStorage.setItem(di,t)}function b7(t){const r=t.trim();if(!r)return null;const i=r.match(/token=([^&\s]+)/);return i?decodeURIComponent(i[1]):/\s/.test(r)?null:r}class wh extends Error{constructor(r,i){super(r),this.status=i}status}async function Zr(t,r={}){const i=kh(),a=await fetch(t,{...r,headers:{authorization:`Bearer ${i??""}`,"content-type":"application/json",...r.headers}});if(!a.ok){const o=await a.json().catch(()=>({}));throw new wh(o.error||`HTTP ${a.status}`,a.status)}return a.json()}const xr={state:()=>Zr("/api/state"),repoIconUrl:t=>`/api/repos/${encodeURIComponent(t)}/icon?token=${encodeURIComponent(kh()??"")}`,sessions:t=>Zr(`/api/workspaces/${encodeURIComponent(t)}/sessions`),messages:(t,r)=>Zr(`/api/sessions/${encodeURIComponent(t)}/messages?after=${r}`),diff:t=>Zr(`/api/workspaces/${encodeURIComponent(t)}/diff`),sendPrompt:(t,r,i)=>Zr(`/api/sessions/${encodeURIComponent(t)}/prompt`,{method:"POST",body:JSON.stringify({text:r,workspaceId:i})}),newChat:t=>Zr(`/api/workspaces/${encodeURIComponent(t)}/sessions`,{method:"POST"})},Hd=t=>{let r;const i=new Set,a=(E,p)=>{const m=typeof E=="function"?E(r):E;if(!Object.is(m,r)){const C=r;r=p??(typeof m!="object"||m===null)?m:Object.assign({},r,m),i.forEach(B=>B(r,C))}},o=()=>r,f={setState:a,getState:o,getInitialState:()=>d,subscribe:E=>(i.add(E),()=>i.delete(E))},d=r=t(a,o,f);return f},k7=(t=>t?Hd(t):Hd),w7=t=>t;function S7(t,r=w7){const i=Ha.useSyncExternalStore(t.subscribe,Ha.useCallback(()=>r(t.getState()),[t,r]),Ha.useCallback(()=>r(t.getInitialState()),[t,r]));return Ha.useDebugValue(i),i}const qd=t=>{const r=k7(t),i=a=>S7(r,a);return Object.assign(i,r),i},T7=(t=>t?qd(t):qd),Sh="conductor-remote-view",Qd={groupBy:"status",repo:null,sortBy:"updated",collapsed:[]};function z7(){try{return{...Qd,...JSON.parse(localStorage.getItem(Sh)??"{}")}}catch{return Qd}}const zt=T7((t,r)=>{const i=a=>{localStorage.setItem(Sh,JSON.stringify(a)),t({view:a})};return{token:y7(),online:!0,sidebarOpen:!location.pathname.startsWith("/w/"),view:z7(),setToken:a=>{a?v7(a):F7(),t({token:a})},setOnline:a=>t({online:a}),setSidebarOpen:a=>t({sidebarOpen:a}),setView:a=>i({...r().view,...a}),toggleGroup:a=>{const{collapsed:o}=r().view;i({...r().view,collapsed:o.includes(a)?o.filter(u=>u!==a):[...o,a]})}}});function fx(){const t=zt(i=>i.setOnline),r=zt(i=>i.setToken);return H.useCallback((i,a)=>{t(i),a instanceof wh&&a.status===401&&r(null)},[t,r])}function Th(){const t=fx(),r=Ls({queryKey:["state"],queryFn:()=>xr.state(),refetchInterval:2500});return H.useEffect(()=>{r.isSuccess&&t(!0),r.isError&&t(!1,r.error)},[r.isSuccess,r.isError,r.error,t]),r}function M7(t){const r=fx(),i=Ls({queryKey:["sessions",t],queryFn:()=>xr.sessions(t),enabled:!!t,refetchInterval:4e3});return H.useEffect(()=>{i.isError&&r(!1,i.error)},[i.isError,i.error,r]),i}function R7(t,r){const i=fx(),a=Ls({queryKey:["diff",t],queryFn:()=>xr.diff(t),enabled:!!t,refetchInterval:5e3});return H.useEffect(()=>{a.isError&&i(!1,a.error)},[a.isError,a.error,i]),a}function O7(t){const r=fx(),[i,a]=H.useState({entries:[],loading:!0,error:null}),o=H.useRef(0);return H.useEffect(()=>{if(!t){a({entries:[],loading:!1,error:null});return}o.current=0,a({entries:[],loading:!0,error:null});let u=!0;const s=async()=>{try{const{entries:d,cursor:E}=await xr.messages(t,o.current);if(!u)return;r(!0),d.length?(o.current=E,a(p=>({entries:[...p.entries,...d],loading:!1,error:null}))):a(p=>p.loading?{...p,loading:!1}:p)}catch(d){if(!u)return;r(!1,d),a(E=>({...E,loading:!1,error:d instanceof Error?d.message:String(d)}))}};s();const f=setInterval(s,1800);return()=>{u=!1,clearInterval(f)}},[t,r]),i}function zh(t){var r,i,a="";if(typeof t=="string"||typeof t=="number")a+=t;else if(typeof t=="object")if(Array.isArray(t)){var o=t.length;for(r=0;r<o;r++)t[r]&&(i=zh(t[r]))&&(a&&(a+=" "),a+=i)}else for(i in t)t[i]&&(a&&(a+=" "),a+=i);return a}function _7(){for(var t,r,i=0,a="",o=arguments.length;i<o;i++)(t=arguments[i])&&(r=zh(t))&&(a&&(a+=" "),a+=r);return a}const N7=(t,r)=>{const i=new Array(t.length+r.length);for(let a=0;a<t.length;a++)i[a]=t[a];for(let a=0;a<r.length;a++)i[t.length+a]=r[a];return i},j7=(t,r)=>({classGroupId:t,validator:r}),Mh=(t=new Map,r=null,i)=>({nextPart:t,validators:r,classGroupId:i}),tx="-",Gd=[],L7="arbitrary..",P7=t=>{const r=H7(t),{conflictingClassGroups:i,conflictingClassGroupModifiers:a}=t;return{getClassGroupId:s=>{if(s.startsWith("[")&&s.endsWith("]"))return U7(s);const f=s.split(tx),d=f[0]===""&&f.length>1?1:0;return Rh(f,d,r)},getConflictingClassGroupIds:(s,f)=>{if(f){const d=a[s],E=i[s];return d?E?N7(E,d):d:E||Gd}return i[s]||Gd}}},Rh=(t,r,i)=>{if(t.length-r===0)return i.classGroupId;const o=t[r],u=i.nextPart.get(o);if(u){const E=Rh(t,r+1,u);if(E)return E}const s=i.validators;if(s===null)return;const f=r===0?t.join(tx):t.slice(r).join(tx),d=s.length;for(let E=0;E<d;E++){const p=s[E];if(p.validator(f))return p.classGroupId}},U7=t=>t.slice(1,-1).indexOf(":")===-1?void 0:(()=>{const r=t.slice(1,-1),i=r.indexOf(":"),a=r.slice(0,i);return a?L7+a:void 0})(),H7=t=>{const{theme:r,classGroups:i}=t;return q7(i,r)},q7=(t,r)=>{const i=Mh();for(const a in t){const o=t[a];Xs(o,i,a,r)}return i},Xs=(t,r,i,a)=>{const o=t.length;for(let u=0;u<o;u++){const s=t[u];Q7(s,r,i,a)}},Q7=(t,r,i,a)=>{if(typeof t=="string"){G7(t,r,i);return}if(typeof t=="function"){V7(t,r,i,a);return}Y7(t,r,i,a)},G7=(t,r,i)=>{const a=t===""?r:Oh(r,t);a.classGroupId=i},V7=(t,r,i,a)=>{if(I7(t)){Xs(t(a),r,i,a);return}r.validators===null&&(r.validators=[]),r.validators.push(j7(i,t))},Y7=(t,r,i,a)=>{const o=Object.entries(t),u=o.length;for(let s=0;s<u;s++){const[f,d]=o[s];Xs(d,Oh(r,f),i,a)}},Oh=(t,r)=>{let i=t;const a=r.split(tx),o=a.length;for(let u=0;u<o;u++){const s=a[u];let f=i.nextPart.get(s);f||(f=Mh(),i.nextPart.set(s,f)),i=f}return i},I7=t=>"isThemeGetter"in t&&t.isThemeGetter===!0,X7=t=>{if(t<1)return{get:()=>{},set:()=>{}};let r=0,i=Object.create(null),a=Object.create(null);const o=(u,s)=>{i[u]=s,r++,r>t&&(r=0,a=i,i=Object.create(null))};return{get(u){let s=i[u];if(s!==void 0)return s;if((s=a[u])!==void 0)return o(u,s),s},set(u,s){u in i?i[u]=s:o(u,s)}}},Bs="!",Vd=":",Z7=[],Yd=(t,r,i,a,o)=>({modifiers:t,hasImportantModifier:r,baseClassName:i,maybePostfixModifierPosition:a,isExternal:o}),K7=t=>{const{prefix:r,experimentalParseClassName:i}=t;let a=o=>{const u=[];let s=0,f=0,d=0,E;const p=o.length;for(let y=0;y<p;y++){const F=o[y];if(s===0&&f===0){if(F===Vd){u.push(o.slice(d,y)),d=y+1;continue}if(F==="/"){E=y;continue}}F==="["?s++:F==="]"?s--:F==="("?f++:F===")"&&f--}const m=u.length===0?o:o.slice(d);let C=m,B=!1;m.endsWith(Bs)?(C=m.slice(0,-1),B=!0):m.startsWith(Bs)&&(C=m.slice(1),B=!0);const g=E&&E>d?E-d:void 0;return Yd(u,B,C,g)};if(r){const o=r+Vd,u=a;a=s=>s.startsWith(o)?u(s.slice(o.length)):Yd(Z7,!1,s,void 0,!0)}if(i){const o=a;a=u=>i({className:u,parseClassName:o})}return a},J7=t=>{const r=new Map;return t.orderSensitiveModifiers.forEach((i,a)=>{r.set(i,1e6+a)}),i=>{const a=[];let o=[];for(let u=0;u<i.length;u++){const s=i[u],f=s[0]==="[",d=r.has(s);f||d?(o.length>0&&(o.sort(),a.push(...o),o=[]),a.push(s)):o.push(s)}return o.length>0&&(o.sort(),a.push(...o)),a}},$7=t=>({cache:X7(t.cacheSize),parseClassName:K7(t),sortModifiers:J7(t),postfixLookupClassGroupIds:W7(t),...P7(t)}),W7=t=>{const r=Object.create(null),i=t.postfixLookupClassGroups;if(i)for(let a=0;a<i.length;a++)r[i[a]]=!0;return r},eB=/\s+/,tB=(t,r)=>{const{parseClassName:i,getClassGroupId:a,getConflictingClassGroupIds:o,sortModifiers:u,postfixLookupClassGroupIds:s}=r,f=[],d=t.trim().split(eB);let E="";for(let p=d.length-1;p>=0;p-=1){const m=d[p],{isExternal:C,modifiers:B,hasImportantModifier:g,baseClassName:y,maybePostfixModifierPosition:F}=i(m);if(C){E=m+(E.length>0?" "+E:E);continue}let b=!!F,L;if(b){const M=y.substring(0,F);L=a(M);const j=L&&s[L]?a(y):void 0;j&&j!==L&&(L=j,b=!1)}else L=a(y);if(!L){if(!b){E=m+(E.length>0?" "+E:E);continue}if(L=a(y),!L){E=m+(E.length>0?" "+E:E);continue}b=!1}const w=B.length===0?"":B.length===1?B[0]:u(B).join(":"),z=g?w+Bs:w,R=z+L;if(f.indexOf(R)>-1)continue;f.push(R);const S=o(L,b);for(let M=0;M<S.length;++M){const j=S[M];f.push(z+j)}E=m+(E.length>0?" "+E:E)}return E},nB=(...t)=>{let r=0,i,a,o="";for(;r<t.length;)(i=t[r++])&&(a=_h(i))&&(o&&(o+=" "),o+=a);return o},_h=t=>{if(typeof t=="string")return t;let r,i="";for(let a=0;a<t.length;a++)t[a]&&(r=_h(t[a]))&&(i&&(i+=" "),i+=r);return i},rB=(t,...r)=>{let i,a,o,u;const s=d=>{const E=r.reduce((p,m)=>m(p),t());return i=$7(E),a=i.cache.get,o=i.cache.set,u=f,f(d)},f=d=>{const E=a(d);if(E)return E;const p=tB(d,i);return o(d,p),p};return u=s,(...d)=>u(nB(...d))},lB=[],ft=t=>{const r=i=>i[t]||lB;return r.isThemeGetter=!0,r},Nh=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,jh=/^\((?:(\w[\w-]*):)?(.+)\)$/i,iB=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,aB=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,xB=/\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$/,oB=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,uB=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,sB=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,z0=t=>iB.test(t),be=t=>!!t&&!Number.isNaN(Number(t)),Rn=t=>!!t&&Number.isInteger(Number(t)),Gu=t=>t.endsWith("%")&&be(t.slice(0,-1)),n0=t=>aB.test(t),Lh=()=>!0,cB=t=>xB.test(t)&&!oB.test(t),Zs=()=>!1,fB=t=>uB.test(t),dB=t=>sB.test(t),EB=t=>!fe(t)&&!de(t),hB=t=>t.startsWith("@container")&&(t[10]==="/"&&t[11]!==void 0||t[11]==="s"&&t[16]!==void 0&&t.startsWith("-size/",10)||t[11]==="n"&&t[18]!==void 0&&t.startsWith("-normal/",10)),mB=t=>O0(t,Hh,Zs),fe=t=>Nh.test(t),er=t=>O0(t,qh,cB),Id=t=>O0(t,FB,be),pB=t=>O0(t,Gh,Lh),CB=t=>O0(t,Qh,Zs),Xd=t=>O0(t,Ph,Zs),BB=t=>O0(t,Uh,dB),Qa=t=>O0(t,Vh,fB),de=t=>jh.test(t),Jl=t=>or(t,qh),AB=t=>or(t,Qh),Zd=t=>or(t,Ph),gB=t=>or(t,Hh),DB=t=>or(t,Uh),Ga=t=>or(t,Vh,!0),yB=t=>or(t,Gh,!0),O0=(t,r,i)=>{const a=Nh.exec(t);return a?a[1]?r(a[1]):i(a[2]):!1},or=(t,r,i=!1)=>{const a=jh.exec(t);return a?a[1]?r(a[1]):i:!1},Ph=t=>t==="position"||t==="percentage",Uh=t=>t==="image"||t==="url",Hh=t=>t==="length"||t==="size"||t==="bg-size",qh=t=>t==="length",FB=t=>t==="number",Qh=t=>t==="family-name",Gh=t=>t==="number"||t==="weight",Vh=t=>t==="shadow",vB=()=>{const t=ft("color"),r=ft("font"),i=ft("text"),a=ft("font-weight"),o=ft("tracking"),u=ft("leading"),s=ft("breakpoint"),f=ft("container"),d=ft("spacing"),E=ft("radius"),p=ft("shadow"),m=ft("inset-shadow"),C=ft("text-shadow"),B=ft("drop-shadow"),g=ft("blur"),y=ft("perspective"),F=ft("aspect"),b=ft("ease"),L=ft("animate"),w=()=>["auto","avoid","all","avoid-page","page","left","right","column"],z=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],R=()=>[...z(),de,fe],S=()=>["auto","hidden","clip","visible","scroll"],M=()=>["auto","contain","none"],j=()=>[de,fe,d],I=()=>[z0,"full","auto",...j()],N=()=>[Rn,"none","subgrid",de,fe],J=()=>["auto",{span:["full",Rn,de,fe]},Rn,de,fe],K=()=>[Rn,"auto",de,fe],ie=()=>["auto","min","max","fr",de,fe],re=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],X=()=>["start","end","center","stretch","center-safe","end-safe"],U=()=>["auto",...j()],V=()=>[z0,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...j()],ae=()=>[z0,"screen","full","dvw","lvw","svw","min","max","fit",...j()],ce=()=>[z0,"screen","full","lh","dvh","lvh","svh","min","max","fit",...j()],v=()=>[t,de,fe],T=()=>[...z(),Zd,Xd,{position:[de,fe]}],Z=()=>["no-repeat",{repeat:["","x","y","space","round"]}],k=()=>["auto","cover","contain",gB,mB,{size:[de,fe]}],ne=()=>[Gu,Jl,er],se=()=>["","none","full",E,de,fe],oe=()=>["",be,Jl,er],me=()=>["solid","dashed","dotted","double"],_e=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],pe=()=>[be,Gu,Zd,Xd],ht=()=>["","none",g,de,fe],tt=()=>["none",be,de,fe],rn=()=>["none",be,de,fe],Gt=()=>[be,de,fe],lt=()=>[z0,"full",...j()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[n0],breakpoint:[n0],color:[Lh],container:[n0],"drop-shadow":[n0],ease:["in","out","in-out"],font:[EB],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[n0],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[n0],shadow:[n0],spacing:["px",be],text:[n0],"text-shadow":[n0],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",z0,fe,de,F]}],container:["container"],"container-type":[{"@container":["","normal","size",de,fe]}],"container-named":[hB],columns:[{columns:[be,fe,de,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:S()}],"overflow-x":[{"overflow-x":S()}],"overflow-y":[{"overflow-y":S()}],overscroll:[{overscroll:M()}],"overscroll-x":[{"overscroll-x":M()}],"overscroll-y":[{"overscroll-y":M()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:I()}],"inset-x":[{"inset-x":I()}],"inset-y":[{"inset-y":I()}],start:[{"inset-s":I(),start:I()}],end:[{"inset-e":I(),end:I()}],"inset-bs":[{"inset-bs":I()}],"inset-be":[{"inset-be":I()}],top:[{top:I()}],right:[{right:I()}],bottom:[{bottom:I()}],left:[{left:I()}],visibility:["visible","invisible","collapse"],z:[{z:[Rn,"auto",de,fe]}],basis:[{basis:[z0,"full","auto",f,...j()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[be,z0,"auto","initial","none",fe]}],grow:[{grow:["",be,de,fe]}],shrink:[{shrink:["",be,de,fe]}],order:[{order:[Rn,"first","last","none",de,fe]}],"grid-cols":[{"grid-cols":N()}],"col-start-end":[{col:J()}],"col-start":[{"col-start":K()}],"col-end":[{"col-end":K()}],"grid-rows":[{"grid-rows":N()}],"row-start-end":[{row:J()}],"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:j()}],"gap-x":[{"gap-x":j()}],"gap-y":[{"gap-y":j()}],"justify-content":[{justify:[...re(),"normal"]}],"justify-items":[{"justify-items":[...X(),"normal"]}],"justify-self":[{"justify-self":["auto",...X()]}],"align-content":[{content:["normal",...re()]}],"align-items":[{items:[...X(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...X(),{baseline:["","last"]}]}],"place-content":[{"place-content":re()}],"place-items":[{"place-items":[...X(),"baseline"]}],"place-self":[{"place-self":["auto",...X()]}],p:[{p:j()}],px:[{px:j()}],py:[{py:j()}],ps:[{ps:j()}],pe:[{pe:j()}],pbs:[{pbs:j()}],pbe:[{pbe:j()}],pt:[{pt:j()}],pr:[{pr:j()}],pb:[{pb:j()}],pl:[{pl:j()}],m:[{m:U()}],mx:[{mx:U()}],my:[{my:U()}],ms:[{ms:U()}],me:[{me:U()}],mbs:[{mbs:U()}],mbe:[{mbe:U()}],mt:[{mt:U()}],mr:[{mr:U()}],mb:[{mb:U()}],ml:[{ml:U()}],"space-x":[{"space-x":j()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":j()}],"space-y-reverse":["space-y-reverse"],size:[{size:V()}],"inline-size":[{inline:["auto",...ae()]}],"min-inline-size":[{"min-inline":["auto",...ae()]}],"max-inline-size":[{"max-inline":["none",...ae()]}],"block-size":[{block:["auto",...ce()]}],"min-block-size":[{"min-block":["auto",...ce()]}],"max-block-size":[{"max-block":["none",...ce()]}],w:[{w:[f,"screen",...V()]}],"min-w":[{"min-w":[f,"screen","none",...V()]}],"max-w":[{"max-w":[f,"screen","none","prose",{screen:[s]},...V()]}],h:[{h:["screen","lh",...V()]}],"min-h":[{"min-h":["screen","lh","none",...V()]}],"max-h":[{"max-h":["screen","lh",...V()]}],"font-size":[{text:["base",i,Jl,er]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[a,yB,pB]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",Gu,fe]}],"font-family":[{font:[AB,CB,r]}],"font-features":[{"font-features":[fe]}],"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:[o,de,fe]}],"line-clamp":[{"line-clamp":[be,"none",de,Id]}],leading:[{leading:[u,...j()]}],"list-image":[{"list-image":["none",de,fe]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",de,fe]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:v()}],"text-color":[{text:v()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...me(),"wavy"]}],"text-decoration-thickness":[{decoration:[be,"from-font","auto",de,er]}],"text-decoration-color":[{decoration:v()}],"underline-offset":[{"underline-offset":[be,"auto",de,fe]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:j()}],"tab-size":[{tab:[Rn,de,fe]}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",de,fe]}],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",de,fe]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:T()}],"bg-repeat":[{bg:Z()}],"bg-size":[{bg:k()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},Rn,de,fe],radial:["",de,fe],conic:[Rn,de,fe]},DB,BB]}],"bg-color":[{bg:v()}],"gradient-from-pos":[{from:ne()}],"gradient-via-pos":[{via:ne()}],"gradient-to-pos":[{to:ne()}],"gradient-from":[{from:v()}],"gradient-via":[{via:v()}],"gradient-to":[{to:v()}],rounded:[{rounded:se()}],"rounded-s":[{"rounded-s":se()}],"rounded-e":[{"rounded-e":se()}],"rounded-t":[{"rounded-t":se()}],"rounded-r":[{"rounded-r":se()}],"rounded-b":[{"rounded-b":se()}],"rounded-l":[{"rounded-l":se()}],"rounded-ss":[{"rounded-ss":se()}],"rounded-se":[{"rounded-se":se()}],"rounded-ee":[{"rounded-ee":se()}],"rounded-es":[{"rounded-es":se()}],"rounded-tl":[{"rounded-tl":se()}],"rounded-tr":[{"rounded-tr":se()}],"rounded-br":[{"rounded-br":se()}],"rounded-bl":[{"rounded-bl":se()}],"border-w":[{border:oe()}],"border-w-x":[{"border-x":oe()}],"border-w-y":[{"border-y":oe()}],"border-w-s":[{"border-s":oe()}],"border-w-e":[{"border-e":oe()}],"border-w-bs":[{"border-bs":oe()}],"border-w-be":[{"border-be":oe()}],"border-w-t":[{"border-t":oe()}],"border-w-r":[{"border-r":oe()}],"border-w-b":[{"border-b":oe()}],"border-w-l":[{"border-l":oe()}],"divide-x":[{"divide-x":oe()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":oe()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...me(),"hidden","none"]}],"divide-style":[{divide:[...me(),"hidden","none"]}],"border-color":[{border:v()}],"border-color-x":[{"border-x":v()}],"border-color-y":[{"border-y":v()}],"border-color-s":[{"border-s":v()}],"border-color-e":[{"border-e":v()}],"border-color-bs":[{"border-bs":v()}],"border-color-be":[{"border-be":v()}],"border-color-t":[{"border-t":v()}],"border-color-r":[{"border-r":v()}],"border-color-b":[{"border-b":v()}],"border-color-l":[{"border-l":v()}],"divide-color":[{divide:v()}],"outline-style":[{outline:[...me(),"none","hidden"]}],"outline-offset":[{"outline-offset":[be,de,fe]}],"outline-w":[{outline:["",be,Jl,er]}],"outline-color":[{outline:v()}],shadow:[{shadow:["","none",p,Ga,Qa]}],"shadow-color":[{shadow:v()}],"inset-shadow":[{"inset-shadow":["none",m,Ga,Qa]}],"inset-shadow-color":[{"inset-shadow":v()}],"ring-w":[{ring:oe()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:v()}],"ring-offset-w":[{"ring-offset":[be,er]}],"ring-offset-color":[{"ring-offset":v()}],"inset-ring-w":[{"inset-ring":oe()}],"inset-ring-color":[{"inset-ring":v()}],"text-shadow":[{"text-shadow":["none",C,Ga,Qa]}],"text-shadow-color":[{"text-shadow":v()}],opacity:[{opacity:[be,de,fe]}],"mix-blend":[{"mix-blend":[..._e(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":_e()}],"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":[be]}],"mask-image-linear-from-pos":[{"mask-linear-from":pe()}],"mask-image-linear-to-pos":[{"mask-linear-to":pe()}],"mask-image-linear-from-color":[{"mask-linear-from":v()}],"mask-image-linear-to-color":[{"mask-linear-to":v()}],"mask-image-t-from-pos":[{"mask-t-from":pe()}],"mask-image-t-to-pos":[{"mask-t-to":pe()}],"mask-image-t-from-color":[{"mask-t-from":v()}],"mask-image-t-to-color":[{"mask-t-to":v()}],"mask-image-r-from-pos":[{"mask-r-from":pe()}],"mask-image-r-to-pos":[{"mask-r-to":pe()}],"mask-image-r-from-color":[{"mask-r-from":v()}],"mask-image-r-to-color":[{"mask-r-to":v()}],"mask-image-b-from-pos":[{"mask-b-from":pe()}],"mask-image-b-to-pos":[{"mask-b-to":pe()}],"mask-image-b-from-color":[{"mask-b-from":v()}],"mask-image-b-to-color":[{"mask-b-to":v()}],"mask-image-l-from-pos":[{"mask-l-from":pe()}],"mask-image-l-to-pos":[{"mask-l-to":pe()}],"mask-image-l-from-color":[{"mask-l-from":v()}],"mask-image-l-to-color":[{"mask-l-to":v()}],"mask-image-x-from-pos":[{"mask-x-from":pe()}],"mask-image-x-to-pos":[{"mask-x-to":pe()}],"mask-image-x-from-color":[{"mask-x-from":v()}],"mask-image-x-to-color":[{"mask-x-to":v()}],"mask-image-y-from-pos":[{"mask-y-from":pe()}],"mask-image-y-to-pos":[{"mask-y-to":pe()}],"mask-image-y-from-color":[{"mask-y-from":v()}],"mask-image-y-to-color":[{"mask-y-to":v()}],"mask-image-radial":[{"mask-radial":[de,fe]}],"mask-image-radial-from-pos":[{"mask-radial-from":pe()}],"mask-image-radial-to-pos":[{"mask-radial-to":pe()}],"mask-image-radial-from-color":[{"mask-radial-from":v()}],"mask-image-radial-to-color":[{"mask-radial-to":v()}],"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":z()}],"mask-image-conic-pos":[{"mask-conic":[be]}],"mask-image-conic-from-pos":[{"mask-conic-from":pe()}],"mask-image-conic-to-pos":[{"mask-conic-to":pe()}],"mask-image-conic-from-color":[{"mask-conic-from":v()}],"mask-image-conic-to-color":[{"mask-conic-to":v()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:T()}],"mask-repeat":[{mask:Z()}],"mask-size":[{mask:k()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",de,fe]}],filter:[{filter:["","none",de,fe]}],blur:[{blur:ht()}],brightness:[{brightness:[be,de,fe]}],contrast:[{contrast:[be,de,fe]}],"drop-shadow":[{"drop-shadow":["","none",B,Ga,Qa]}],"drop-shadow-color":[{"drop-shadow":v()}],grayscale:[{grayscale:["",be,de,fe]}],"hue-rotate":[{"hue-rotate":[be,de,fe]}],invert:[{invert:["",be,de,fe]}],saturate:[{saturate:[be,de,fe]}],sepia:[{sepia:["",be,de,fe]}],"backdrop-filter":[{"backdrop-filter":["","none",de,fe]}],"backdrop-blur":[{"backdrop-blur":ht()}],"backdrop-brightness":[{"backdrop-brightness":[be,de,fe]}],"backdrop-contrast":[{"backdrop-contrast":[be,de,fe]}],"backdrop-grayscale":[{"backdrop-grayscale":["",be,de,fe]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[be,de,fe]}],"backdrop-invert":[{"backdrop-invert":["",be,de,fe]}],"backdrop-opacity":[{"backdrop-opacity":[be,de,fe]}],"backdrop-saturate":[{"backdrop-saturate":[be,de,fe]}],"backdrop-sepia":[{"backdrop-sepia":["",be,de,fe]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":j()}],"border-spacing-x":[{"border-spacing-x":j()}],"border-spacing-y":[{"border-spacing-y":j()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",de,fe]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[be,"initial",de,fe]}],ease:[{ease:["linear","initial",b,de,fe]}],delay:[{delay:[be,de,fe]}],animate:[{animate:["none",L,de,fe]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[y,de,fe]}],"perspective-origin":[{"perspective-origin":R()}],rotate:[{rotate:tt()}],"rotate-x":[{"rotate-x":tt()}],"rotate-y":[{"rotate-y":tt()}],"rotate-z":[{"rotate-z":tt()}],scale:[{scale:rn()}],"scale-x":[{"scale-x":rn()}],"scale-y":[{"scale-y":rn()}],"scale-z":[{"scale-z":rn()}],"scale-3d":["scale-3d"],skew:[{skew:Gt()}],"skew-x":[{"skew-x":Gt()}],"skew-y":[{"skew-y":Gt()}],transform:[{transform:[de,fe,"","none","gpu","cpu"]}],"transform-origin":[{origin:R()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:lt()}],"translate-x":[{"translate-x":lt()}],"translate-y":[{"translate-y":lt()}],"translate-z":[{"translate-z":lt()}],"translate-none":["translate-none"],zoom:[{zoom:[Rn,de,fe]}],accent:[{accent:v()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:v()}],"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",de,fe]}],"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":v()}],"scrollbar-track-color":[{"scrollbar-track":v()}],"scrollbar-gutter":[{"scrollbar-gutter":["auto","stable","both"]}],"scrollbar-w":[{scrollbar:["auto","thin","none"]}],"scroll-m":[{"scroll-m":j()}],"scroll-mx":[{"scroll-mx":j()}],"scroll-my":[{"scroll-my":j()}],"scroll-ms":[{"scroll-ms":j()}],"scroll-me":[{"scroll-me":j()}],"scroll-mbs":[{"scroll-mbs":j()}],"scroll-mbe":[{"scroll-mbe":j()}],"scroll-mt":[{"scroll-mt":j()}],"scroll-mr":[{"scroll-mr":j()}],"scroll-mb":[{"scroll-mb":j()}],"scroll-ml":[{"scroll-ml":j()}],"scroll-p":[{"scroll-p":j()}],"scroll-px":[{"scroll-px":j()}],"scroll-py":[{"scroll-py":j()}],"scroll-ps":[{"scroll-ps":j()}],"scroll-pe":[{"scroll-pe":j()}],"scroll-pbs":[{"scroll-pbs":j()}],"scroll-pbe":[{"scroll-pbe":j()}],"scroll-pt":[{"scroll-pt":j()}],"scroll-pr":[{"scroll-pr":j()}],"scroll-pb":[{"scroll-pb":j()}],"scroll-pl":[{"scroll-pl":j()}],"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",de,fe]}],fill:[{fill:["none",...v()]}],"stroke-w":[{stroke:[be,Jl,er,Id]}],stroke:[{stroke:["none",...v()]}],"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"]}},bB=rB(vB);function pn(...t){return bB(_7(t))}function Ei(t){return t.workspace_name||t.pr_title||kB(t.branch)||t.directory_name||t.id.slice(0,8)}function kB(t){if(!t)return"";const i=(t.includes("/")?t.slice(t.indexOf("/")+1):t).replace(/[-_]/g," ").trim();return i?i[0].toUpperCase()+i.slice(1):""}function wB(t){return((t.repo_name||Ei(t)).trim()[0]??"?").toUpperCase()}function Yh(t){return t.session_status==="working"?"working":t.derived_status==="done"||t.manual_status==="done"?"done":"idle"}function SB(t){const r=Yh(t);return r==="working"?"working":r==="done"?"done":t.session_status||"idle"}function TB(t){return t.manual_status||t.derived_status||"in-progress"}const Kd=["done","in-review","in-progress","backlog"];function zB(t){return{done:"Done","in-review":"In review","in-progress":"In progress",backlog:"Backlog"}[t]??t}function Ih(t){return t?t.replace(/^claude-/,"").replace(/-\d{8}$/,"").replace(/-latest$/,""):""}function MB(t){const r=new Date(t).getTime();if(!Number.isFinite(r))return"";const i=Math.round((Date.now()-r)/1e3);if(i<45)return"now";if(i<90)return"1m";const a=Math.round(i/60);if(a<60)return`${a}m`;const o=Math.round(a/60);return o<24?`${o}h`:`${Math.round(o/24)}d`}function RB({sessionId:t,workspaceId:r,actuator:i}){const[a,o]=H.useState(""),[u,s]=H.useState(!1),[f,d]=H.useState(null),E=H.useRef(null);H.useEffect(()=>{if(!f)return;const g=setTimeout(()=>d(null),f.kind==="err"?5e3:2800);return()=>clearTimeout(g)},[f]);const p=()=>{const g=E.current;g&&(g.style.height="auto",g.style.height=`${Math.min(g.scrollHeight,160)}px`)},m=async()=>{const g=a.trim();if(!(!g||!t||u)){s(!0);try{const y=await xr.sendPrompt(t,g,r);y.ok?(o(""),requestAnimationFrame(p),d({kind:y.warning?"warn":"ok",msg:y.warning||"Sent"})):d({kind:"err",msg:y.error||"Send failed"})}catch(y){d({kind:"err",msg:y instanceof Error?y.message:String(y)})}finally{s(!1)}}},C=!t,B=i?.precise&&i.available;return O.jsxs("div",{className:"pb-safe border-t border-border-soft bg-bg px-3 pt-2",children:[f?O.jsx("div",{className:pn("mb-2 rounded-lg px-3 py-1.5 text-xs",f.kind==="ok"&&"bg-idle/10 text-idle",f.kind==="warn"&&"bg-working/10 text-working",f.kind==="err"&&"bg-del/10 text-del"),children:f.msg}):O.jsxs("div",{className:"mb-1.5 flex items-center gap-1.5 px-1 text-[11px] text-faint",children:[O.jsx(E7,{size:12}),B?"Precise send — targets this session directly":i?.caveat||"Sends to the focused session"]}),O.jsxs("div",{className:"flex items-end gap-2 rounded-2xl border border-border bg-surface px-2.5 py-1.5 focus-within:border-accent/60",children:[O.jsx("textarea",{ref:E,rows:1,value:a,disabled:C,placeholder:C?"No active session":"Send a prompt…",className:"max-h-40 flex-1 resize-none bg-transparent py-1.5 text-[15px] outline-none placeholder:text-faint disabled:opacity-50",onChange:g=>{o(g.target.value),p()},onKeyDown:g=>{g.key==="Enter"&&(g.metaKey||g.ctrlKey)&&(g.preventDefault(),m())}}),O.jsx("button",{type:"button",onClick:m,disabled:C||u||!a.trim(),"aria-label":"Send",className:"mb-0.5 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:O.jsx(l7,{size:19})})]})]})}function OB({status:t,className:r}){return O.jsx("span",{className:pn("dot",`dot-${t}`,r)})}function _B(){const t=zt(r=>r.online);return O.jsx("span",{title:t?"connected":"offline",className:"dot",style:{background:t?"var(--color-idle)":"var(--color-del)"}})}function Jd({children:t,className:r}){return O.jsx("span",{className:pn("rounded-md bg-surface-2 px-1.5 py-0.5 font-mono text-[11px] text-muted",r),children:t})}function Xh({children:t}){return O.jsx("span",{className:"grid min-w-5 place-items-center rounded-full bg-accent px-1.5 text-[11px] font-bold text-white",children:t})}function r0({children:t}){return O.jsx("div",{className:"mx-auto max-w-xs px-6 py-16 text-center text-sm text-muted",children:t})}function dx({label:t}){return O.jsxs("div",{className:"flex items-center justify-center gap-2 py-16 text-sm text-muted",children:[O.jsx("span",{className:"size-4 animate-spin rounded-full border-2 border-border border-t-accent"}),t]})}function NB({workspaceId:t}){const{data:r,isLoading:i,isError:a,error:o}=R7(t);return i&&!r?O.jsx(dx,{label:"Computing diff…"}):a?O.jsx(r0,{children:o?.message}):r?r.files.length===0?O.jsxs(r0,{children:["No changes vs ",O.jsx("span",{className:"font-mono",children:r.base}),"."]}):O.jsxs("div",{className:"pb-safe flex-1 overflow-y-auto",children:[O.jsxs("div",{className:"border-b border-border-soft px-3 py-2 text-xs text-muted",children:["vs ",O.jsx("span",{className:"font-mono text-faint",children:r.base})," · ",r.files.length," file",r.files.length===1?"":"s"]}),O.jsx("ul",{className:"flex flex-col gap-1 px-3 py-3",children:r.files.map(u=>O.jsxs("li",{className:"flex items-center gap-2 font-mono text-[12px]",children:[O.jsx("span",{className:"truncate text-muted",children:u.path}),O.jsxs("span",{className:"ml-auto shrink-0 text-add",children:["+",u.added]}),O.jsxs("span",{className:"shrink-0 text-del",children:["−",u.removed]})]},u.path))}),O.jsx(jB,{patch:r.patch,truncated:r.truncated})]}):O.jsx(r0,{children:"No diff."})}function jB({patch:t,truncated:r}){const i=H.useMemo(()=>t.split(`
|
|
12
|
+
`),[t]);return O.jsxs("pre",{className:"overflow-x-auto border-t border-border-soft px-3 py-3 font-mono text-[11.5px] leading-[1.5]",children:[i.map((a,o)=>O.jsx("div",{className:pn("whitespace-pre",LB(a)),children:a||" "},o)),r?O.jsx("div",{className:"mt-2 text-faint",children:"… diff truncated …"}):null]})}function LB(t){return t.startsWith("+")&&!t.startsWith("+++")?"text-add":t.startsWith("-")&&!t.startsWith("---")?"text-del":t.startsWith("@@")?"text-accent":t.startsWith("diff ")||t.startsWith("index ")||t.startsWith("+++")||t.startsWith("---")?"text-faint":"text-muted"}function As({title:t,subtitle:r,menu:i,right:a}){const o=zt(u=>u.setSidebarOpen);return O.jsxs("header",{className:"pt-safe sticky top-0 z-10 flex items-center gap-2 border-b border-border-soft bg-bg/80 px-3 pb-2.5 backdrop-blur-xl",children:[i?O.jsx("button",{type:"button",onClick:()=>o(!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:O.jsx(m7,{size:20})}):O.jsx("span",{className:"w-1"}),O.jsxs("div",{className:"min-w-0 flex-1",children:[O.jsx("div",{className:"truncate text-[15px] font-semibold leading-tight",children:t}),r?O.jsx("div",{className:"truncate text-xs leading-tight text-muted",children:r}):null]}),a,O.jsx(_B,{})]})}function PB(t,r){const i={};return(t[t.length-1]===""?[...t,""]:t).join((i.padRight?" ":"")+","+(i.padLeft===!1?"":" ")).trim()}const UB=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,HB=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,qB={};function $d(t,r){return(qB.jsx?HB:UB).test(t)}const QB=/[ \t\n\f\r]/g;function GB(t){return typeof t=="object"?t.type==="text"?Wd(t.value):!1:Wd(t)}function Wd(t){return t.replace(QB,"")===""}class gi{constructor(r,i,a){this.normal=i,this.property=r,a&&(this.space=a)}}gi.prototype.normal={};gi.prototype.property={};gi.prototype.space=void 0;function Zh(t,r){const i={},a={};for(const o of t)Object.assign(i,o.property),Object.assign(a,o.normal);return new gi(i,a,r)}function gs(t){return t.toLowerCase()}class Qt{constructor(r,i){this.attribute=i,this.property=r}}Qt.prototype.attribute="";Qt.prototype.booleanish=!1;Qt.prototype.boolean=!1;Qt.prototype.commaOrSpaceSeparated=!1;Qt.prototype.commaSeparated=!1;Qt.prototype.defined=!1;Qt.prototype.mustUseProperty=!1;Qt.prototype.number=!1;Qt.prototype.overloadedBoolean=!1;Qt.prototype.property="";Qt.prototype.spaceSeparated=!1;Qt.prototype.space=void 0;let VB=0;const De=ur(),ut=ur(),Ds=ur(),xe=ur(),Ie=ur(),lr=ur(),Wt=ur();function ur(){return 2**++VB}const ys=Object.freeze(Object.defineProperty({__proto__:null,boolean:De,booleanish:ut,commaOrSpaceSeparated:Wt,commaSeparated:lr,number:xe,overloadedBoolean:Ds,spaceSeparated:Ie},Symbol.toStringTag,{value:"Module"})),Vu=Object.keys(ys);class Ks extends Qt{constructor(r,i,a,o){let u=-1;if(super(r,i),eE(this,"space",o),typeof a=="number")for(;++u<Vu.length;){const s=Vu[u];eE(this,Vu[u],(a&ys[s])===ys[s])}}}Ks.prototype.defined=!0;function eE(t,r,i){i&&(t[r]=i)}function tl(t){const r={},i={};for(const[a,o]of Object.entries(t.properties)){const u=new Ks(a,t.transform(t.attributes||{},a),o,t.space);t.mustUseProperty&&t.mustUseProperty.includes(a)&&(u.mustUseProperty=!0),r[a]=u,i[gs(a)]=a,i[gs(u.attribute)]=a}return new gi(r,i,t.space)}const Kh=tl({properties:{ariaActiveDescendant:null,ariaAtomic:ut,ariaAutoComplete:null,ariaBusy:ut,ariaChecked:ut,ariaColCount:xe,ariaColIndex:xe,ariaColSpan:xe,ariaControls:Ie,ariaCurrent:null,ariaDescribedBy:Ie,ariaDetails:null,ariaDisabled:ut,ariaDropEffect:Ie,ariaErrorMessage:null,ariaExpanded:ut,ariaFlowTo:Ie,ariaGrabbed:ut,ariaHasPopup:null,ariaHidden:ut,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:Ie,ariaLevel:xe,ariaLive:null,ariaModal:ut,ariaMultiLine:ut,ariaMultiSelectable:ut,ariaOrientation:null,ariaOwns:Ie,ariaPlaceholder:null,ariaPosInSet:xe,ariaPressed:ut,ariaReadOnly:ut,ariaRelevant:null,ariaRequired:ut,ariaRoleDescription:Ie,ariaRowCount:xe,ariaRowIndex:xe,ariaRowSpan:xe,ariaSelected:ut,ariaSetSize:xe,ariaSort:null,ariaValueMax:xe,ariaValueMin:xe,ariaValueNow:xe,ariaValueText:null,role:null},transform(t,r){return r==="role"?r:"aria-"+r.slice(4).toLowerCase()}});function Jh(t,r){return r in t?t[r]:r}function $h(t,r){return Jh(t,r.toLowerCase())}const YB=tl({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:lr,acceptCharset:Ie,accessKey:Ie,action:null,allow:null,allowFullScreen:De,allowPaymentRequest:De,allowUserMedia:De,alpha:De,alt:null,as:null,async:De,autoCapitalize:null,autoComplete:Ie,autoFocus:De,autoPlay:De,blocking:Ie,capture:null,charSet:null,checked:De,cite:null,className:Ie,closedBy:null,colorSpace:null,cols:xe,colSpan:xe,command:null,commandFor:null,content:null,contentEditable:ut,controls:De,controlsList:Ie,coords:xe|lr,crossOrigin:null,data:null,dateTime:null,decoding:null,default:De,defer:De,dir:null,dirName:null,disabled:De,download:Ds,draggable:ut,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:De,formTarget:null,headers:Ie,height:xe,hidden:Ds,high:xe,href:null,hrefLang:null,htmlFor:Ie,httpEquiv:Ie,id:null,imageSizes:null,imageSrcSet:null,inert:De,inputMode:null,integrity:null,is:null,isMap:De,itemId:null,itemProp:Ie,itemRef:Ie,itemScope:De,itemType:Ie,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:De,low:xe,manifest:null,max:null,maxLength:xe,media:null,method:null,min:null,minLength:xe,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:xe,pattern:null,ping:Ie,placeholder:null,playsInline:De,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:De,referrerPolicy:null,rel:Ie,required:De,reversed:De,rows:xe,rowSpan:xe,sandbox:Ie,scope:null,scoped:De,seamless:De,selected:De,shadowRootClonable:De,shadowRootCustomElementRegistry:De,shadowRootDelegatesFocus:De,shadowRootMode:null,shadowRootSerializable:De,shape:null,size:xe,sizes:null,slot:null,span:xe,spellCheck:ut,src:null,srcDoc:null,srcLang:null,srcSet:null,start:xe,step:null,style:null,tabIndex:xe,target:null,title:null,translate:null,type:null,typeMustMatch:De,useMap:null,value:ut,width:xe,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:Ie,axis:null,background:null,bgColor:null,border:xe,borderColor:null,bottomMargin:xe,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:xe,leftMargin:xe,link:null,longDesc:null,lowSrc:null,marginHeight:xe,marginWidth:xe,noResize:De,noHref:De,noShade:De,noWrap:De,object:null,profile:null,prompt:null,rev:null,rightMargin:xe,rules:null,scheme:null,scrolling:ut,standby:null,summary:null,text:null,topMargin:xe,valueType:null,version:null,vAlign:null,vLink:null,vSpace:xe,allowTransparency:null,autoCorrect:null,autoSave:null,credentialless:De,disablePictureInPicture:De,disableRemotePlayback:De,exportParts:lr,part:Ie,prefix:null,property:null,results:xe,security:null,unselectable:null},space:"html",transform:$h}),IB=tl({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:Wt,accentHeight:xe,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:xe,amplitude:xe,arabicForm:null,ascent:xe,attributeName:null,attributeType:null,azimuth:xe,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:xe,by:null,calcMode:null,capHeight:xe,className:Ie,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:xe,diffuseConstant:xe,direction:null,display:null,dur:null,divisor:xe,dominantBaseline:null,download:De,dx:null,dy:null,edgeMode:null,editable:null,elevation:xe,enableBackground:null,end:null,event:null,exponent:xe,externalResourcesRequired:null,fill:null,fillOpacity:xe,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:lr,g2:lr,glyphName:lr,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:xe,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:xe,horizOriginX:xe,horizOriginY:xe,id:null,ideographic:xe,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:xe,k:xe,k1:xe,k2:xe,k3:xe,k4:xe,kernelMatrix:Wt,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:xe,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:xe,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:xe,overlineThickness:xe,paintOrder:null,panose1:null,path:null,pathLength:xe,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:Ie,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:xe,pointsAtY:xe,pointsAtZ:xe,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:Wt,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:Wt,rev:Wt,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:Wt,requiredFeatures:Wt,requiredFonts:Wt,requiredFormats:Wt,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:xe,specularExponent:xe,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:xe,strikethroughThickness:xe,string:null,stroke:null,strokeDashArray:Wt,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:xe,strokeOpacity:xe,strokeWidth:null,style:null,surfaceScale:xe,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:Wt,tabIndex:xe,tableValues:null,target:null,targetX:xe,targetY:xe,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:Wt,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:xe,underlineThickness:xe,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:xe,values:null,vAlphabetic:xe,vMathematical:xe,vectorEffect:null,vHanging:xe,vIdeographic:xe,version:null,vertAdvY:xe,vertOriginX:xe,vertOriginY:xe,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:xe,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:Jh}),Wh=tl({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform(t,r){return"xlink:"+r.slice(5).toLowerCase()}}),e6=tl({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:$h}),t6=tl({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(t,r){return"xml:"+r.slice(3).toLowerCase()}}),XB={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"},ZB=/[A-Z]/g,tE=/-[a-z]/g,KB=/^data[-\w.:]+$/i;function JB(t,r){const i=gs(r);let a=r,o=Qt;if(i in t.normal)return t.property[t.normal[i]];if(i.length>4&&i.slice(0,4)==="data"&&KB.test(r)){if(r.charAt(4)==="-"){const u=r.slice(5).replace(tE,WB);a="data"+u.charAt(0).toUpperCase()+u.slice(1)}else{const u=r.slice(4);if(!tE.test(u)){let s=u.replace(ZB,$B);s.charAt(0)!=="-"&&(s="-"+s),r="data"+s}}o=Ks}return new o(a,r)}function $B(t){return"-"+t.toLowerCase()}function WB(t){return t.charAt(1).toUpperCase()}const e2=Zh([Kh,YB,Wh,e6,t6],"html"),Js=Zh([Kh,IB,Wh,e6,t6],"svg");function t2(t){return t.join(" ").trim()}var Kr={},Yu,nE;function n2(){if(nE)return Yu;nE=1;var t=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,r=/\n/g,i=/^\s*/,a=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,o=/^:\s*/,u=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,s=/^[;\s]*/,f=/^\s+|\s+$/g,d=`
|
|
13
|
+
`,E="/",p="*",m="",C="comment",B="declaration";function g(F,b){if(typeof F!="string")throw new TypeError("First argument must be a string");if(!F)return[];b=b||{};var L=1,w=1;function z(re){var X=re.match(r);X&&(L+=X.length);var U=re.lastIndexOf(d);w=~U?re.length-U:w+re.length}function R(){var re={line:L,column:w};return function(X){return X.position=new S(re),I(),X}}function S(re){this.start=re,this.end={line:L,column:w},this.source=b.source}S.prototype.content=F;function M(re){var X=new Error(b.source+":"+L+":"+w+": "+re);if(X.reason=re,X.filename=b.source,X.line=L,X.column=w,X.source=F,!b.silent)throw X}function j(re){var X=re.exec(F);if(X){var U=X[0];return z(U),F=F.slice(U.length),X}}function I(){j(i)}function N(re){var X;for(re=re||[];X=J();)X!==!1&&re.push(X);return re}function J(){var re=R();if(!(E!=F.charAt(0)||p!=F.charAt(1))){for(var X=2;m!=F.charAt(X)&&(p!=F.charAt(X)||E!=F.charAt(X+1));)++X;if(X+=2,m===F.charAt(X-1))return M("End of comment missing");var U=F.slice(2,X-2);return w+=2,z(U),F=F.slice(X),w+=2,re({type:C,comment:U})}}function K(){var re=R(),X=j(a);if(X){if(J(),!j(o))return M("property missing ':'");var U=j(u),V=re({type:B,property:y(X[0].replace(t,m)),value:U?y(U[0].replace(t,m)):m});return j(s),V}}function ie(){var re=[];N(re);for(var X;X=K();)X!==!1&&(re.push(X),N(re));return re}return I(),ie()}function y(F){return F?F.replace(f,m):m}return Yu=g,Yu}var rE;function r2(){if(rE)return Kr;rE=1;var t=Kr&&Kr.__importDefault||function(a){return a&&a.__esModule?a:{default:a}};Object.defineProperty(Kr,"__esModule",{value:!0}),Kr.default=i;const r=t(n2());function i(a,o){let u=null;if(!a||typeof a!="string")return u;const s=(0,r.default)(a),f=typeof o=="function";return s.forEach(d=>{if(d.type!=="declaration")return;const{property:E,value:p}=d;f?o(E,p,d):p&&(u=u||{},u[E]=p)}),u}return Kr}var $l={},lE;function l2(){if(lE)return $l;lE=1,Object.defineProperty($l,"__esModule",{value:!0}),$l.camelCase=void 0;var t=/^--[a-zA-Z0-9_-]+$/,r=/-([a-z])/g,i=/^[^-]+$/,a=/^-(webkit|moz|ms|o|khtml)-/,o=/^-(ms)-/,u=function(E){return!E||i.test(E)||t.test(E)},s=function(E,p){return p.toUpperCase()},f=function(E,p){return"".concat(p,"-")},d=function(E,p){return p===void 0&&(p={}),u(E)?E:(E=E.toLowerCase(),p.reactCompat?E=E.replace(o,f):E=E.replace(a,f),E.replace(r,s))};return $l.camelCase=d,$l}var Wl,iE;function i2(){if(iE)return Wl;iE=1;var t=Wl&&Wl.__importDefault||function(o){return o&&o.__esModule?o:{default:o}},r=t(r2()),i=l2();function a(o,u){var s={};return!o||typeof o!="string"||(0,r.default)(o,function(f,d){f&&d&&(s[(0,i.camelCase)(f,u)]=d)}),s}return a.default=a,Wl=a,Wl}var a2=i2();const x2=ax(a2),n6=r6("end"),$s=r6("start");function r6(t){return r;function r(i){const a=i&&i.position&&i.position[t]||{};if(typeof a.line=="number"&&a.line>0&&typeof a.column=="number"&&a.column>0)return{line:a.line,column:a.column,offset:typeof a.offset=="number"&&a.offset>-1?a.offset:void 0}}}function o2(t){const r=$s(t),i=n6(t);if(r&&i)return{start:r,end:i}}function ii(t){return!t||typeof t!="object"?"":"position"in t||"type"in t?aE(t.position):"start"in t||"end"in t?aE(t):"line"in t||"column"in t?Fs(t):""}function Fs(t){return xE(t&&t.line)+":"+xE(t&&t.column)}function aE(t){return Fs(t&&t.start)+"-"+Fs(t&&t.end)}function xE(t){return t&&typeof t=="number"?t:1}class bt extends Error{constructor(r,i,a){super(),typeof i=="string"&&(a=i,i=void 0);let o="",u={},s=!1;if(i&&("line"in i&&"column"in i?u={place:i}:"start"in i&&"end"in i?u={place:i}:"type"in i?u={ancestors:[i],place:i.position}:u={...i}),typeof r=="string"?o=r:!u.cause&&r&&(s=!0,o=r.message,u.cause=r),!u.ruleId&&!u.source&&typeof a=="string"){const d=a.indexOf(":");d===-1?u.ruleId=a:(u.source=a.slice(0,d),u.ruleId=a.slice(d+1))}if(!u.place&&u.ancestors&&u.ancestors){const d=u.ancestors[u.ancestors.length-1];d&&(u.place=d.position)}const f=u.place&&"start"in u.place?u.place.start:u.place;this.ancestors=u.ancestors||void 0,this.cause=u.cause||void 0,this.column=f?f.column:void 0,this.fatal=void 0,this.file="",this.message=o,this.line=f?f.line:void 0,this.name=ii(u.place)||"1:1",this.place=u.place||void 0,this.reason=this.message,this.ruleId=u.ruleId||void 0,this.source=u.source||void 0,this.stack=s&&u.cause&&typeof u.cause.stack=="string"?u.cause.stack:"",this.actual=void 0,this.expected=void 0,this.note=void 0,this.url=void 0}}bt.prototype.file="";bt.prototype.name="";bt.prototype.reason="";bt.prototype.message="";bt.prototype.stack="";bt.prototype.column=void 0;bt.prototype.line=void 0;bt.prototype.ancestors=void 0;bt.prototype.cause=void 0;bt.prototype.fatal=void 0;bt.prototype.place=void 0;bt.prototype.ruleId=void 0;bt.prototype.source=void 0;const Ws={}.hasOwnProperty,u2=new Map,s2=/[A-Z]/g,c2=new Set(["table","tbody","thead","tfoot","tr"]),f2=new Set(["td","th"]),l6="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function d2(t,r){if(!r||r.Fragment===void 0)throw new TypeError("Expected `Fragment` in options");const i=r.filePath||void 0;let a;if(r.development){if(typeof r.jsxDEV!="function")throw new TypeError("Expected `jsxDEV` in options when `development: true`");a=g2(i,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");a=A2(i,r.jsx,r.jsxs)}const o={Fragment:r.Fragment,ancestors:[],components:r.components||{},create:a,elementAttributeNameCase:r.elementAttributeNameCase||"react",evaluater:r.createEvaluater?r.createEvaluater():void 0,filePath:i,ignoreInvalidStyle:r.ignoreInvalidStyle||!1,passKeys:r.passKeys!==!1,passNode:r.passNode||!1,schema:r.space==="svg"?Js:e2,stylePropertyNameCase:r.stylePropertyNameCase||"dom",tableCellAlignToStyle:r.tableCellAlignToStyle!==!1},u=i6(o,t,void 0);return u&&typeof u!="string"?u:o.create(t,o.Fragment,{children:u||void 0},void 0)}function i6(t,r,i){if(r.type==="element")return E2(t,r,i);if(r.type==="mdxFlowExpression"||r.type==="mdxTextExpression")return h2(t,r);if(r.type==="mdxJsxFlowElement"||r.type==="mdxJsxTextElement")return p2(t,r,i);if(r.type==="mdxjsEsm")return m2(t,r);if(r.type==="root")return C2(t,r,i);if(r.type==="text")return B2(t,r)}function E2(t,r,i){const a=t.schema;let o=a;r.tagName.toLowerCase()==="svg"&&a.space==="html"&&(o=Js,t.schema=o),t.ancestors.push(r);const u=x6(t,r.tagName,!1),s=D2(t,r);let f=tc(t,r);return c2.has(r.tagName)&&(f=f.filter(function(d){return typeof d=="string"?!GB(d):!0})),a6(t,s,u,r),ec(s,f),t.ancestors.pop(),t.schema=a,t.create(r,u,s,i)}function h2(t,r){if(r.data&&r.data.estree&&t.evaluater){const a=r.data.estree.body[0];return a.type,t.evaluater.evaluateExpression(a.expression)}hi(t,r.position)}function m2(t,r){if(r.data&&r.data.estree&&t.evaluater)return t.evaluater.evaluateProgram(r.data.estree);hi(t,r.position)}function p2(t,r,i){const a=t.schema;let o=a;r.name==="svg"&&a.space==="html"&&(o=Js,t.schema=o),t.ancestors.push(r);const u=r.name===null?t.Fragment:x6(t,r.name,!0),s=y2(t,r),f=tc(t,r);return a6(t,s,u,r),ec(s,f),t.ancestors.pop(),t.schema=a,t.create(r,u,s,i)}function C2(t,r,i){const a={};return ec(a,tc(t,r)),t.create(r,t.Fragment,a,i)}function B2(t,r){return r.value}function a6(t,r,i,a){typeof i!="string"&&i!==t.Fragment&&t.passNode&&(r.node=a)}function ec(t,r){if(r.length>0){const i=r.length>1?r:r[0];i&&(t.children=i)}}function A2(t,r,i){return a;function a(o,u,s,f){const E=Array.isArray(s.children)?i:r;return f?E(u,s,f):E(u,s)}}function g2(t,r){return i;function i(a,o,u,s){const f=Array.isArray(u.children),d=$s(a);return r(o,u,s,f,{columnNumber:d?d.column-1:void 0,fileName:t,lineNumber:d?d.line:void 0},void 0)}}function D2(t,r){const i={};let a,o;for(o in r.properties)if(o!=="children"&&Ws.call(r.properties,o)){const u=F2(t,o,r.properties[o]);if(u){const[s,f]=u;t.tableCellAlignToStyle&&s==="align"&&typeof f=="string"&&f2.has(r.tagName)?a=f:i[s]=f}}if(a){const u=i.style||(i.style={});u[t.stylePropertyNameCase==="css"?"text-align":"textAlign"]=a}return i}function y2(t,r){const i={};for(const a of r.attributes)if(a.type==="mdxJsxExpressionAttribute")if(a.data&&a.data.estree&&t.evaluater){const u=a.data.estree.body[0];u.type;const s=u.expression;s.type;const f=s.properties[0];f.type,Object.assign(i,t.evaluater.evaluateExpression(f.argument))}else hi(t,r.position);else{const o=a.name;let u;if(a.value&&typeof a.value=="object")if(a.value.data&&a.value.data.estree&&t.evaluater){const f=a.value.data.estree.body[0];f.type,u=t.evaluater.evaluateExpression(f.expression)}else hi(t,r.position);else u=a.value===null?!0:a.value;i[o]=u}return i}function tc(t,r){const i=[];let a=-1;const o=t.passKeys?new Map:u2;for(;++a<r.children.length;){const u=r.children[a];let s;if(t.passKeys){const d=u.type==="element"?u.tagName:u.type==="mdxJsxFlowElement"||u.type==="mdxJsxTextElement"?u.name:void 0;if(d){const E=o.get(d)||0;s=d+"-"+E,o.set(d,E+1)}}const f=i6(t,u,s);f!==void 0&&i.push(f)}return i}function F2(t,r,i){const a=JB(t.schema,r);if(!(i==null||typeof i=="number"&&Number.isNaN(i))){if(Array.isArray(i)&&(i=a.commaSeparated?PB(i):t2(i)),a.property==="style"){let o=typeof i=="object"?i:v2(t,String(i));return t.stylePropertyNameCase==="css"&&(o=b2(o)),["style",o]}return[t.elementAttributeNameCase==="react"&&a.space?XB[a.property]||a.property:a.attribute,i]}}function v2(t,r){try{return x2(r,{reactCompat:!0})}catch(i){if(t.ignoreInvalidStyle)return{};const a=i,o=new bt("Cannot parse `style` attribute",{ancestors:t.ancestors,cause:a,ruleId:"style",source:"hast-util-to-jsx-runtime"});throw o.file=t.filePath||void 0,o.url=l6+"#cannot-parse-style-attribute",o}}function x6(t,r,i){let a;if(!i)a={type:"Literal",value:r};else if(r.includes(".")){const o=r.split(".");let u=-1,s;for(;++u<o.length;){const f=$d(o[u])?{type:"Identifier",name:o[u]}:{type:"Literal",value:o[u]};s=s?{type:"MemberExpression",object:s,property:f,computed:!!(u&&f.type==="Literal"),optional:!1}:f}a=s}else a=$d(r)&&!/^[a-z]/.test(r)?{type:"Identifier",name:r}:{type:"Literal",value:r};if(a.type==="Literal"){const o=a.value;return Ws.call(t.components,o)?t.components[o]:o}if(t.evaluater)return t.evaluater.evaluateExpression(a);hi(t)}function hi(t,r){const i=new bt("Cannot handle MDX estrees without `createEvaluater`",{ancestors:t.ancestors,place:r,ruleId:"mdx-estree",source:"hast-util-to-jsx-runtime"});throw i.file=t.filePath||void 0,i.url=l6+"#cannot-handle-mdx-estrees-without-createevaluater",i}function b2(t){const r={};let i;for(i in t)Ws.call(t,i)&&(r[k2(i)]=t[i]);return r}function k2(t){let r=t.replace(s2,w2);return r.slice(0,3)==="ms-"&&(r="-"+r),r}function w2(t){return"-"+t.toLowerCase()}const Iu={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"]},S2={};function nc(t,r){const i=S2,a=typeof i.includeImageAlt=="boolean"?i.includeImageAlt:!0,o=typeof i.includeHtml=="boolean"?i.includeHtml:!0;return o6(t,a,o)}function o6(t,r,i){if(T2(t)){if("value"in t)return t.type==="html"&&!i?"":t.value;if(r&&"alt"in t&&t.alt)return t.alt;if("children"in t)return oE(t.children,r,i)}return Array.isArray(t)?oE(t,r,i):""}function oE(t,r,i){const a=[];let o=-1;for(;++o<t.length;)a[o]=o6(t[o],r,i);return a.join("")}function T2(t){return!!(t&&typeof t=="object")}const uE=document.createElement("i");function rc(t){const r="&"+t+";";uE.innerHTML=r;const i=uE.textContent;return i.charCodeAt(i.length-1)===59&&t!=="semi"||i===r?!1:i}function tn(t,r,i,a){const o=t.length;let u=0,s;if(r<0?r=-r>o?0:o+r:r=r>o?o:r,i=i>0?i:0,a.length<1e4)s=Array.from(a),s.unshift(r,i),t.splice(...s);else for(i&&t.splice(r,i);u<a.length;)s=a.slice(u,u+1e4),s.unshift(r,0),t.splice(...s),u+=1e4,r+=1e4}function mn(t,r){return t.length>0?(tn(t,t.length,0,r),t):r}const sE={}.hasOwnProperty;function u6(t){const r={};let i=-1;for(;++i<t.length;)z2(r,t[i]);return r}function z2(t,r){let i;for(i in r){const o=(sE.call(t,i)?t[i]:void 0)||(t[i]={}),u=r[i];let s;if(u)for(s in u){sE.call(o,s)||(o[s]=[]);const f=u[s];M2(o[s],Array.isArray(f)?f:f?[f]:[])}}}function M2(t,r){let i=-1;const a=[];for(;++i<r.length;)(r[i].add==="after"?t:a).push(r[i]);tn(t,0,0,a)}function s6(t,r){const i=Number.parseInt(t,r);return i<9||i===11||i>13&&i<32||i>126&&i<160||i>55295&&i<57344||i>64975&&i<65008||(i&65535)===65535||(i&65535)===65534||i>1114111?"�":String.fromCodePoint(i)}function Fn(t){return t.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const Tt=_0(/[A-Za-z]/),vt=_0(/[\dA-Za-z]/),R2=_0(/[#-'*+\--9=?A-Z^-~]/);function nx(t){return t!==null&&(t<32||t===127)}const vs=_0(/\d/),O2=_0(/[\dA-Fa-f]/),_2=_0(/[!-/:-@[-`{-~]/);function Be(t){return t!==null&&t<-2}function Xe(t){return t!==null&&(t<0||t===32)}function Te(t){return t===-2||t===-1||t===32}const Ex=_0(new RegExp("\\p{P}|\\p{S}","u")),ir=_0(/\s/);function _0(t){return r;function r(i){return i!==null&&i>-1&&t.test(String.fromCharCode(i))}}function nl(t){const r=[];let i=-1,a=0,o=0;for(;++i<t.length;){const u=t.charCodeAt(i);let s="";if(u===37&&vt(t.charCodeAt(i+1))&&vt(t.charCodeAt(i+2)))o=2;else if(u<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(u))||(s=String.fromCharCode(u));else if(u>55295&&u<57344){const f=t.charCodeAt(i+1);u<56320&&f>56319&&f<57344?(s=String.fromCharCode(u,f),o=1):s="�"}else s=String.fromCharCode(u);s&&(r.push(t.slice(a,i),encodeURIComponent(s)),a=i+o+1,s=""),o&&(i+=o,o=0)}return r.join("")+t.slice(a)}function Oe(t,r,i,a){const o=a?a-1:Number.POSITIVE_INFINITY;let u=0;return s;function s(d){return Te(d)?(t.enter(i),f(d)):r(d)}function f(d){return Te(d)&&u++<o?(t.consume(d),f):(t.exit(i),r(d))}}const N2={tokenize:j2};function j2(t){const r=t.attempt(this.parser.constructs.contentInitial,a,o);let i;return r;function a(f){if(f===null){t.consume(f);return}return t.enter("lineEnding"),t.consume(f),t.exit("lineEnding"),Oe(t,r,"linePrefix")}function o(f){return t.enter("paragraph"),u(f)}function u(f){const d=t.enter("chunkText",{contentType:"text",previous:i});return i&&(i.next=d),i=d,s(f)}function s(f){if(f===null){t.exit("chunkText"),t.exit("paragraph"),t.consume(f);return}return Be(f)?(t.consume(f),t.exit("chunkText"),u):(t.consume(f),s)}}const L2={tokenize:P2},cE={tokenize:U2};function P2(t){const r=this,i=[];let a=0,o,u,s;return f;function f(w){if(a<i.length){const z=i[a];return r.containerState=z[1],t.attempt(z[0].continuation,d,E)(w)}return E(w)}function d(w){if(a++,r.containerState._closeFlow){r.containerState._closeFlow=void 0,o&&L();const z=r.events.length;let R=z,S;for(;R--;)if(r.events[R][0]==="exit"&&r.events[R][1].type==="chunkFlow"){S=r.events[R][1].end;break}b(a);let M=z;for(;M<r.events.length;)r.events[M][1].end={...S},M++;return tn(r.events,R+1,0,r.events.slice(z)),r.events.length=M,E(w)}return f(w)}function E(w){if(a===i.length){if(!o)return C(w);if(o.currentConstruct&&o.currentConstruct.concrete)return g(w);r.interrupt=!!(o.currentConstruct&&!o._gfmTableDynamicInterruptHack)}return r.containerState={},t.check(cE,p,m)(w)}function p(w){return o&&L(),b(a),C(w)}function m(w){return r.parser.lazy[r.now().line]=a!==i.length,s=r.now().offset,g(w)}function C(w){return r.containerState={},t.attempt(cE,B,g)(w)}function B(w){return a++,i.push([r.currentConstruct,r.containerState]),C(w)}function g(w){if(w===null){o&&L(),b(0),t.consume(w);return}return o=o||r.parser.flow(r.now()),t.enter("chunkFlow",{_tokenizer:o,contentType:"flow",previous:u}),y(w)}function y(w){if(w===null){F(t.exit("chunkFlow"),!0),b(0),t.consume(w);return}return Be(w)?(t.consume(w),F(t.exit("chunkFlow")),a=0,r.interrupt=void 0,f):(t.consume(w),y)}function F(w,z){const R=r.sliceStream(w);if(z&&R.push(null),w.previous=u,u&&(u.next=w),u=w,o.defineSkip(w.start),o.write(R),r.parser.lazy[w.start.line]){let S=o.events.length;for(;S--;)if(o.events[S][1].start.offset<s&&(!o.events[S][1].end||o.events[S][1].end.offset>s))return;const M=r.events.length;let j=M,I,N;for(;j--;)if(r.events[j][0]==="exit"&&r.events[j][1].type==="chunkFlow"){if(I){N=r.events[j][1].end;break}I=!0}for(b(a),S=M;S<r.events.length;)r.events[S][1].end={...N},S++;tn(r.events,j+1,0,r.events.slice(M)),r.events.length=S}}function b(w){let z=i.length;for(;z-- >w;){const R=i[z];r.containerState=R[1],R[0].exit.call(r,t)}i.length=w}function L(){o.write([null]),u=void 0,o=void 0,r.containerState._closeFlow=void 0}}function U2(t,r,i){return Oe(t,t.attempt(this.parser.constructs.document,r,i),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function $r(t){if(t===null||Xe(t)||ir(t))return 1;if(Ex(t))return 2}function hx(t,r,i){const a=[];let o=-1;for(;++o<t.length;){const u=t[o].resolveAll;u&&!a.includes(u)&&(r=u(r,i),a.push(u))}return r}const bs={name:"attention",resolveAll:H2,tokenize:q2};function H2(t,r){let i=-1,a,o,u,s,f,d,E,p;for(;++i<t.length;)if(t[i][0]==="enter"&&t[i][1].type==="attentionSequence"&&t[i][1]._close){for(a=i;a--;)if(t[a][0]==="exit"&&t[a][1].type==="attentionSequence"&&t[a][1]._open&&r.sliceSerialize(t[a][1]).charCodeAt(0)===r.sliceSerialize(t[i][1]).charCodeAt(0)){if((t[a][1]._close||t[i][1]._open)&&(t[i][1].end.offset-t[i][1].start.offset)%3&&!((t[a][1].end.offset-t[a][1].start.offset+t[i][1].end.offset-t[i][1].start.offset)%3))continue;d=t[a][1].end.offset-t[a][1].start.offset>1&&t[i][1].end.offset-t[i][1].start.offset>1?2:1;const m={...t[a][1].end},C={...t[i][1].start};fE(m,-d),fE(C,d),s={type:d>1?"strongSequence":"emphasisSequence",start:m,end:{...t[a][1].end}},f={type:d>1?"strongSequence":"emphasisSequence",start:{...t[i][1].start},end:C},u={type:d>1?"strongText":"emphasisText",start:{...t[a][1].end},end:{...t[i][1].start}},o={type:d>1?"strong":"emphasis",start:{...s.start},end:{...f.end}},t[a][1].end={...s.start},t[i][1].start={...f.end},E=[],t[a][1].end.offset-t[a][1].start.offset&&(E=mn(E,[["enter",t[a][1],r],["exit",t[a][1],r]])),E=mn(E,[["enter",o,r],["enter",s,r],["exit",s,r],["enter",u,r]]),E=mn(E,hx(r.parser.constructs.insideSpan.null,t.slice(a+1,i),r)),E=mn(E,[["exit",u,r],["enter",f,r],["exit",f,r],["exit",o,r]]),t[i][1].end.offset-t[i][1].start.offset?(p=2,E=mn(E,[["enter",t[i][1],r],["exit",t[i][1],r]])):p=0,tn(t,a-1,i-a+3,E),i=a+E.length-p-2;break}}for(i=-1;++i<t.length;)t[i][1].type==="attentionSequence"&&(t[i][1].type="data");return t}function q2(t,r){const i=this.parser.constructs.attentionMarkers.null,a=this.previous,o=$r(a);let u;return s;function s(d){return u=d,t.enter("attentionSequence"),f(d)}function f(d){if(d===u)return t.consume(d),f;const E=t.exit("attentionSequence"),p=$r(d),m=!p||p===2&&o||i.includes(d),C=!o||o===2&&p||i.includes(a);return E._open=!!(u===42?m:m&&(o||!C)),E._close=!!(u===42?C:C&&(p||!m)),r(d)}}function fE(t,r){t.column+=r,t.offset+=r,t._bufferIndex+=r}const Q2={name:"autolink",tokenize:G2};function G2(t,r,i){let a=0;return o;function o(B){return t.enter("autolink"),t.enter("autolinkMarker"),t.consume(B),t.exit("autolinkMarker"),t.enter("autolinkProtocol"),u}function u(B){return Tt(B)?(t.consume(B),s):B===64?i(B):E(B)}function s(B){return B===43||B===45||B===46||vt(B)?(a=1,f(B)):E(B)}function f(B){return B===58?(t.consume(B),a=0,d):(B===43||B===45||B===46||vt(B))&&a++<32?(t.consume(B),f):(a=0,E(B))}function d(B){return B===62?(t.exit("autolinkProtocol"),t.enter("autolinkMarker"),t.consume(B),t.exit("autolinkMarker"),t.exit("autolink"),r):B===null||B===32||B===60||nx(B)?i(B):(t.consume(B),d)}function E(B){return B===64?(t.consume(B),p):R2(B)?(t.consume(B),E):i(B)}function p(B){return vt(B)?m(B):i(B)}function m(B){return B===46?(t.consume(B),a=0,p):B===62?(t.exit("autolinkProtocol").type="autolinkEmail",t.enter("autolinkMarker"),t.consume(B),t.exit("autolinkMarker"),t.exit("autolink"),r):C(B)}function C(B){if((B===45||vt(B))&&a++<63){const g=B===45?C:m;return t.consume(B),g}return i(B)}}const Di={partial:!0,tokenize:V2};function V2(t,r,i){return a;function a(u){return Te(u)?Oe(t,o,"linePrefix")(u):o(u)}function o(u){return u===null||Be(u)?r(u):i(u)}}const c6={continuation:{tokenize:I2},exit:X2,name:"blockQuote",tokenize:Y2};function Y2(t,r,i){const a=this;return o;function o(s){if(s===62){const f=a.containerState;return f.open||(t.enter("blockQuote",{_container:!0}),f.open=!0),t.enter("blockQuotePrefix"),t.enter("blockQuoteMarker"),t.consume(s),t.exit("blockQuoteMarker"),u}return i(s)}function u(s){return Te(s)?(t.enter("blockQuotePrefixWhitespace"),t.consume(s),t.exit("blockQuotePrefixWhitespace"),t.exit("blockQuotePrefix"),r):(t.exit("blockQuotePrefix"),r(s))}}function I2(t,r,i){const a=this;return o;function o(s){return Te(s)?Oe(t,u,"linePrefix",a.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(s):u(s)}function u(s){return t.attempt(c6,r,i)(s)}}function X2(t){t.exit("blockQuote")}const f6={name:"characterEscape",tokenize:Z2};function Z2(t,r,i){return a;function a(u){return t.enter("characterEscape"),t.enter("escapeMarker"),t.consume(u),t.exit("escapeMarker"),o}function o(u){return _2(u)?(t.enter("characterEscapeValue"),t.consume(u),t.exit("characterEscapeValue"),t.exit("characterEscape"),r):i(u)}}const d6={name:"characterReference",tokenize:K2};function K2(t,r,i){const a=this;let o=0,u,s;return f;function f(m){return t.enter("characterReference"),t.enter("characterReferenceMarker"),t.consume(m),t.exit("characterReferenceMarker"),d}function d(m){return m===35?(t.enter("characterReferenceMarkerNumeric"),t.consume(m),t.exit("characterReferenceMarkerNumeric"),E):(t.enter("characterReferenceValue"),u=31,s=vt,p(m))}function E(m){return m===88||m===120?(t.enter("characterReferenceMarkerHexadecimal"),t.consume(m),t.exit("characterReferenceMarkerHexadecimal"),t.enter("characterReferenceValue"),u=6,s=O2,p):(t.enter("characterReferenceValue"),u=7,s=vs,p(m))}function p(m){if(m===59&&o){const C=t.exit("characterReferenceValue");return s===vt&&!rc(a.sliceSerialize(C))?i(m):(t.enter("characterReferenceMarker"),t.consume(m),t.exit("characterReferenceMarker"),t.exit("characterReference"),r)}return s(m)&&o++<u?(t.consume(m),p):i(m)}}const dE={partial:!0,tokenize:$2},EE={concrete:!0,name:"codeFenced",tokenize:J2};function J2(t,r,i){const a=this,o={partial:!0,tokenize:R};let u=0,s=0,f;return d;function d(S){return E(S)}function E(S){const M=a.events[a.events.length-1];return u=M&&M[1].type==="linePrefix"?M[2].sliceSerialize(M[1],!0).length:0,f=S,t.enter("codeFenced"),t.enter("codeFencedFence"),t.enter("codeFencedFenceSequence"),p(S)}function p(S){return S===f?(s++,t.consume(S),p):s<3?i(S):(t.exit("codeFencedFenceSequence"),Te(S)?Oe(t,m,"whitespace")(S):m(S))}function m(S){return S===null||Be(S)?(t.exit("codeFencedFence"),a.interrupt?r(S):t.check(dE,y,z)(S)):(t.enter("codeFencedFenceInfo"),t.enter("chunkString",{contentType:"string"}),C(S))}function C(S){return S===null||Be(S)?(t.exit("chunkString"),t.exit("codeFencedFenceInfo"),m(S)):Te(S)?(t.exit("chunkString"),t.exit("codeFencedFenceInfo"),Oe(t,B,"whitespace")(S)):S===96&&S===f?i(S):(t.consume(S),C)}function B(S){return S===null||Be(S)?m(S):(t.enter("codeFencedFenceMeta"),t.enter("chunkString",{contentType:"string"}),g(S))}function g(S){return S===null||Be(S)?(t.exit("chunkString"),t.exit("codeFencedFenceMeta"),m(S)):S===96&&S===f?i(S):(t.consume(S),g)}function y(S){return t.attempt(o,z,F)(S)}function F(S){return t.enter("lineEnding"),t.consume(S),t.exit("lineEnding"),b}function b(S){return u>0&&Te(S)?Oe(t,L,"linePrefix",u+1)(S):L(S)}function L(S){return S===null||Be(S)?t.check(dE,y,z)(S):(t.enter("codeFlowValue"),w(S))}function w(S){return S===null||Be(S)?(t.exit("codeFlowValue"),L(S)):(t.consume(S),w)}function z(S){return t.exit("codeFenced"),r(S)}function R(S,M,j){let I=0;return N;function N(X){return S.enter("lineEnding"),S.consume(X),S.exit("lineEnding"),J}function J(X){return S.enter("codeFencedFence"),Te(X)?Oe(S,K,"linePrefix",a.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(X):K(X)}function K(X){return X===f?(S.enter("codeFencedFenceSequence"),ie(X)):j(X)}function ie(X){return X===f?(I++,S.consume(X),ie):I>=s?(S.exit("codeFencedFenceSequence"),Te(X)?Oe(S,re,"whitespace")(X):re(X)):j(X)}function re(X){return X===null||Be(X)?(S.exit("codeFencedFence"),M(X)):j(X)}}}function $2(t,r,i){const a=this;return o;function o(s){return s===null?i(s):(t.enter("lineEnding"),t.consume(s),t.exit("lineEnding"),u)}function u(s){return a.parser.lazy[a.now().line]?i(s):r(s)}}const Xu={name:"codeIndented",tokenize:e4},W2={partial:!0,tokenize:t4};function e4(t,r,i){const a=this;return o;function o(E){return t.enter("codeIndented"),Oe(t,u,"linePrefix",5)(E)}function u(E){const p=a.events[a.events.length-1];return p&&p[1].type==="linePrefix"&&p[2].sliceSerialize(p[1],!0).length>=4?s(E):i(E)}function s(E){return E===null?d(E):Be(E)?t.attempt(W2,s,d)(E):(t.enter("codeFlowValue"),f(E))}function f(E){return E===null||Be(E)?(t.exit("codeFlowValue"),s(E)):(t.consume(E),f)}function d(E){return t.exit("codeIndented"),r(E)}}function t4(t,r,i){const a=this;return o;function o(s){return a.parser.lazy[a.now().line]?i(s):Be(s)?(t.enter("lineEnding"),t.consume(s),t.exit("lineEnding"),o):Oe(t,u,"linePrefix",5)(s)}function u(s){const f=a.events[a.events.length-1];return f&&f[1].type==="linePrefix"&&f[2].sliceSerialize(f[1],!0).length>=4?r(s):Be(s)?o(s):i(s)}}const n4={name:"codeText",previous:l4,resolve:r4,tokenize:i4};function r4(t){let r=t.length-4,i=3,a,o;if((t[i][1].type==="lineEnding"||t[i][1].type==="space")&&(t[r][1].type==="lineEnding"||t[r][1].type==="space")){for(a=i;++a<r;)if(t[a][1].type==="codeTextData"){t[i][1].type="codeTextPadding",t[r][1].type="codeTextPadding",i+=2,r-=2;break}}for(a=i-1,r++;++a<=r;)o===void 0?a!==r&&t[a][1].type!=="lineEnding"&&(o=a):(a===r||t[a][1].type==="lineEnding")&&(t[o][1].type="codeTextData",a!==o+2&&(t[o][1].end=t[a-1][1].end,t.splice(o+2,a-o-2),r-=a-o-2,a=o+2),o=void 0);return t}function l4(t){return t!==96||this.events[this.events.length-1][1].type==="characterEscape"}function i4(t,r,i){let a=0,o,u;return s;function s(m){return t.enter("codeText"),t.enter("codeTextSequence"),f(m)}function f(m){return m===96?(t.consume(m),a++,f):(t.exit("codeTextSequence"),d(m))}function d(m){return m===null?i(m):m===32?(t.enter("space"),t.consume(m),t.exit("space"),d):m===96?(u=t.enter("codeTextSequence"),o=0,p(m)):Be(m)?(t.enter("lineEnding"),t.consume(m),t.exit("lineEnding"),d):(t.enter("codeTextData"),E(m))}function E(m){return m===null||m===32||m===96||Be(m)?(t.exit("codeTextData"),d(m)):(t.consume(m),E)}function p(m){return m===96?(t.consume(m),o++,p):o===a?(t.exit("codeTextSequence"),t.exit("codeText"),r(m)):(u.type="codeTextData",E(m))}}class a4{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,i){const a=i??Number.POSITIVE_INFINITY;return a<this.left.length?this.left.slice(r,a):r>this.left.length?this.right.slice(this.right.length-a+this.left.length,this.right.length-r+this.left.length).reverse():this.left.slice(r).concat(this.right.slice(this.right.length-a+this.left.length).reverse())}splice(r,i,a){const o=i||0;this.setCursor(Math.trunc(r));const u=this.right.splice(this.right.length-o,Number.POSITIVE_INFINITY);return a&&ei(this.left,a),u.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),ei(this.left,r)}unshift(r){this.setCursor(0),this.right.push(r)}unshiftMany(r){this.setCursor(0),ei(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 i=this.left.splice(r,Number.POSITIVE_INFINITY);ei(this.right,i.reverse())}else{const i=this.right.splice(this.left.length+this.right.length-r,Number.POSITIVE_INFINITY);ei(this.left,i.reverse())}}}function ei(t,r){let i=0;if(r.length<1e4)t.push(...r);else for(;i<r.length;)t.push(...r.slice(i,i+1e4)),i+=1e4}function E6(t){const r={};let i=-1,a,o,u,s,f,d,E;const p=new a4(t);for(;++i<p.length;){for(;i in r;)i=r[i];if(a=p.get(i),i&&a[1].type==="chunkFlow"&&p.get(i-1)[1].type==="listItemPrefix"&&(d=a[1]._tokenizer.events,u=0,u<d.length&&d[u][1].type==="lineEndingBlank"&&(u+=2),u<d.length&&d[u][1].type==="content"))for(;++u<d.length&&d[u][1].type!=="content";)d[u][1].type==="chunkText"&&(d[u][1]._isInFirstContentOfListItem=!0,u++);if(a[0]==="enter")a[1].contentType&&(Object.assign(r,x4(p,i)),i=r[i],E=!0);else if(a[1]._container){for(u=i,o=void 0;u--;)if(s=p.get(u),s[1].type==="lineEnding"||s[1].type==="lineEndingBlank")s[0]==="enter"&&(o&&(p.get(o)[1].type="lineEndingBlank"),s[1].type="lineEnding",o=u);else if(!(s[1].type==="linePrefix"||s[1].type==="listItemIndent"))break;o&&(a[1].end={...p.get(o)[1].start},f=p.slice(o,i),f.unshift(a),p.splice(o,i-o+1,f))}}return tn(t,0,Number.POSITIVE_INFINITY,p.slice(0)),!E}function x4(t,r){const i=t.get(r)[1],a=t.get(r)[2];let o=r-1;const u=[];let s=i._tokenizer;s||(s=a.parser[i.contentType](i.start),i._contentTypeTextTrailing&&(s._contentTypeTextTrailing=!0));const f=s.events,d=[],E={};let p,m,C=-1,B=i,g=0,y=0;const F=[y];for(;B;){for(;t.get(++o)[1]!==B;);u.push(o),B._tokenizer||(p=a.sliceStream(B),B.next||p.push(null),m&&s.defineSkip(B.start),B._isInFirstContentOfListItem&&(s._gfmTasklistFirstContentOfListItem=!0),s.write(p),B._isInFirstContentOfListItem&&(s._gfmTasklistFirstContentOfListItem=void 0)),m=B,B=B.next}for(B=i;++C<f.length;)f[C][0]==="exit"&&f[C-1][0]==="enter"&&f[C][1].type===f[C-1][1].type&&f[C][1].start.line!==f[C][1].end.line&&(y=C+1,F.push(y),B._tokenizer=void 0,B.previous=void 0,B=B.next);for(s.events=[],B?(B._tokenizer=void 0,B.previous=void 0):F.pop(),C=F.length;C--;){const b=f.slice(F[C],F[C+1]),L=u.pop();d.push([L,L+b.length-1]),t.splice(L,2,b)}for(d.reverse(),C=-1;++C<d.length;)E[g+d[C][0]]=g+d[C][1],g+=d[C][1]-d[C][0]-1;return E}const o4={resolve:s4,tokenize:c4},u4={partial:!0,tokenize:f4};function s4(t){return E6(t),t}function c4(t,r){let i;return a;function a(f){return t.enter("content"),i=t.enter("chunkContent",{contentType:"content"}),o(f)}function o(f){return f===null?u(f):Be(f)?t.check(u4,s,u)(f):(t.consume(f),o)}function u(f){return t.exit("chunkContent"),t.exit("content"),r(f)}function s(f){return t.consume(f),t.exit("chunkContent"),i.next=t.enter("chunkContent",{contentType:"content",previous:i}),i=i.next,o}}function f4(t,r,i){const a=this;return o;function o(s){return t.exit("chunkContent"),t.enter("lineEnding"),t.consume(s),t.exit("lineEnding"),Oe(t,u,"linePrefix")}function u(s){if(s===null||Be(s))return i(s);const f=a.events[a.events.length-1];return!a.parser.constructs.disable.null.includes("codeIndented")&&f&&f[1].type==="linePrefix"&&f[2].sliceSerialize(f[1],!0).length>=4?r(s):t.interrupt(a.parser.constructs.flow,i,r)(s)}}function h6(t,r,i,a,o,u,s,f,d){const E=d||Number.POSITIVE_INFINITY;let p=0;return m;function m(b){return b===60?(t.enter(a),t.enter(o),t.enter(u),t.consume(b),t.exit(u),C):b===null||b===32||b===41||nx(b)?i(b):(t.enter(a),t.enter(s),t.enter(f),t.enter("chunkString",{contentType:"string"}),y(b))}function C(b){return b===62?(t.enter(u),t.consume(b),t.exit(u),t.exit(o),t.exit(a),r):(t.enter(f),t.enter("chunkString",{contentType:"string"}),B(b))}function B(b){return b===62?(t.exit("chunkString"),t.exit(f),C(b)):b===null||b===60||Be(b)?i(b):(t.consume(b),b===92?g:B)}function g(b){return b===60||b===62||b===92?(t.consume(b),B):B(b)}function y(b){return!p&&(b===null||b===41||Xe(b))?(t.exit("chunkString"),t.exit(f),t.exit(s),t.exit(a),r(b)):p<E&&b===40?(t.consume(b),p++,y):b===41?(t.consume(b),p--,y):b===null||b===32||b===40||nx(b)?i(b):(t.consume(b),b===92?F:y)}function F(b){return b===40||b===41||b===92?(t.consume(b),y):y(b)}}function m6(t,r,i,a,o,u){const s=this;let f=0,d;return E;function E(B){return t.enter(a),t.enter(o),t.consume(B),t.exit(o),t.enter(u),p}function p(B){return f>999||B===null||B===91||B===93&&!d||B===94&&!f&&"_hiddenFootnoteSupport"in s.parser.constructs?i(B):B===93?(t.exit(u),t.enter(o),t.consume(B),t.exit(o),t.exit(a),r):Be(B)?(t.enter("lineEnding"),t.consume(B),t.exit("lineEnding"),p):(t.enter("chunkString",{contentType:"string"}),m(B))}function m(B){return B===null||B===91||B===93||Be(B)||f++>999?(t.exit("chunkString"),p(B)):(t.consume(B),d||(d=!Te(B)),B===92?C:m)}function C(B){return B===91||B===92||B===93?(t.consume(B),f++,m):m(B)}}function p6(t,r,i,a,o,u){let s;return f;function f(C){return C===34||C===39||C===40?(t.enter(a),t.enter(o),t.consume(C),t.exit(o),s=C===40?41:C,d):i(C)}function d(C){return C===s?(t.enter(o),t.consume(C),t.exit(o),t.exit(a),r):(t.enter(u),E(C))}function E(C){return C===s?(t.exit(u),d(s)):C===null?i(C):Be(C)?(t.enter("lineEnding"),t.consume(C),t.exit("lineEnding"),Oe(t,E,"linePrefix")):(t.enter("chunkString",{contentType:"string"}),p(C))}function p(C){return C===s||C===null||Be(C)?(t.exit("chunkString"),E(C)):(t.consume(C),C===92?m:p)}function m(C){return C===s||C===92?(t.consume(C),p):p(C)}}function ai(t,r){let i;return a;function a(o){return Be(o)?(t.enter("lineEnding"),t.consume(o),t.exit("lineEnding"),i=!0,a):Te(o)?Oe(t,a,i?"linePrefix":"lineSuffix")(o):r(o)}}const d4={name:"definition",tokenize:h4},E4={partial:!0,tokenize:m4};function h4(t,r,i){const a=this;let o;return u;function u(B){return t.enter("definition"),s(B)}function s(B){return m6.call(a,t,f,i,"definitionLabel","definitionLabelMarker","definitionLabelString")(B)}function f(B){return o=Fn(a.sliceSerialize(a.events[a.events.length-1][1]).slice(1,-1)),B===58?(t.enter("definitionMarker"),t.consume(B),t.exit("definitionMarker"),d):i(B)}function d(B){return Xe(B)?ai(t,E)(B):E(B)}function E(B){return h6(t,p,i,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(B)}function p(B){return t.attempt(E4,m,m)(B)}function m(B){return Te(B)?Oe(t,C,"whitespace")(B):C(B)}function C(B){return B===null||Be(B)?(t.exit("definition"),a.parser.defined.push(o),r(B)):i(B)}}function m4(t,r,i){return a;function a(f){return Xe(f)?ai(t,o)(f):i(f)}function o(f){return p6(t,u,i,"definitionTitle","definitionTitleMarker","definitionTitleString")(f)}function u(f){return Te(f)?Oe(t,s,"whitespace")(f):s(f)}function s(f){return f===null||Be(f)?r(f):i(f)}}const p4={name:"hardBreakEscape",tokenize:C4};function C4(t,r,i){return a;function a(u){return t.enter("hardBreakEscape"),t.consume(u),o}function o(u){return Be(u)?(t.exit("hardBreakEscape"),r(u)):i(u)}}const B4={name:"headingAtx",resolve:A4,tokenize:g4};function A4(t,r){let i=t.length-2,a=3,o,u;return t[a][1].type==="whitespace"&&(a+=2),i-2>a&&t[i][1].type==="whitespace"&&(i-=2),t[i][1].type==="atxHeadingSequence"&&(a===i-1||i-4>a&&t[i-2][1].type==="whitespace")&&(i-=a+1===i?2:4),i>a&&(o={type:"atxHeadingText",start:t[a][1].start,end:t[i][1].end},u={type:"chunkText",start:t[a][1].start,end:t[i][1].end,contentType:"text"},tn(t,a,i-a+1,[["enter",o,r],["enter",u,r],["exit",u,r],["exit",o,r]])),t}function g4(t,r,i){let a=0;return o;function o(p){return t.enter("atxHeading"),u(p)}function u(p){return t.enter("atxHeadingSequence"),s(p)}function s(p){return p===35&&a++<6?(t.consume(p),s):p===null||Xe(p)?(t.exit("atxHeadingSequence"),f(p)):i(p)}function f(p){return p===35?(t.enter("atxHeadingSequence"),d(p)):p===null||Be(p)?(t.exit("atxHeading"),r(p)):Te(p)?Oe(t,f,"whitespace")(p):(t.enter("atxHeadingText"),E(p))}function d(p){return p===35?(t.consume(p),d):(t.exit("atxHeadingSequence"),f(p))}function E(p){return p===null||p===35||Xe(p)?(t.exit("atxHeadingText"),f(p)):(t.consume(p),E)}}const D4=["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"],hE=["pre","script","style","textarea"],y4={concrete:!0,name:"htmlFlow",resolveTo:b4,tokenize:k4},F4={partial:!0,tokenize:S4},v4={partial:!0,tokenize:w4};function b4(t){let r=t.length;for(;r--&&!(t[r][0]==="enter"&&t[r][1].type==="htmlFlow"););return r>1&&t[r-2][1].type==="linePrefix"&&(t[r][1].start=t[r-2][1].start,t[r+1][1].start=t[r-2][1].start,t.splice(r-2,2)),t}function k4(t,r,i){const a=this;let o,u,s,f,d;return E;function E(k){return p(k)}function p(k){return t.enter("htmlFlow"),t.enter("htmlFlowData"),t.consume(k),m}function m(k){return k===33?(t.consume(k),C):k===47?(t.consume(k),u=!0,y):k===63?(t.consume(k),o=3,a.interrupt?r:v):Tt(k)?(t.consume(k),s=String.fromCharCode(k),F):i(k)}function C(k){return k===45?(t.consume(k),o=2,B):k===91?(t.consume(k),o=5,f=0,g):Tt(k)?(t.consume(k),o=4,a.interrupt?r:v):i(k)}function B(k){return k===45?(t.consume(k),a.interrupt?r:v):i(k)}function g(k){const ne="CDATA[";return k===ne.charCodeAt(f++)?(t.consume(k),f===ne.length?a.interrupt?r:K:g):i(k)}function y(k){return Tt(k)?(t.consume(k),s=String.fromCharCode(k),F):i(k)}function F(k){if(k===null||k===47||k===62||Xe(k)){const ne=k===47,se=s.toLowerCase();return!ne&&!u&&hE.includes(se)?(o=1,a.interrupt?r(k):K(k)):D4.includes(s.toLowerCase())?(o=6,ne?(t.consume(k),b):a.interrupt?r(k):K(k)):(o=7,a.interrupt&&!a.parser.lazy[a.now().line]?i(k):u?L(k):w(k))}return k===45||vt(k)?(t.consume(k),s+=String.fromCharCode(k),F):i(k)}function b(k){return k===62?(t.consume(k),a.interrupt?r:K):i(k)}function L(k){return Te(k)?(t.consume(k),L):N(k)}function w(k){return k===47?(t.consume(k),N):k===58||k===95||Tt(k)?(t.consume(k),z):Te(k)?(t.consume(k),w):N(k)}function z(k){return k===45||k===46||k===58||k===95||vt(k)?(t.consume(k),z):R(k)}function R(k){return k===61?(t.consume(k),S):Te(k)?(t.consume(k),R):w(k)}function S(k){return k===null||k===60||k===61||k===62||k===96?i(k):k===34||k===39?(t.consume(k),d=k,M):Te(k)?(t.consume(k),S):j(k)}function M(k){return k===d?(t.consume(k),d=null,I):k===null||Be(k)?i(k):(t.consume(k),M)}function j(k){return k===null||k===34||k===39||k===47||k===60||k===61||k===62||k===96||Xe(k)?R(k):(t.consume(k),j)}function I(k){return k===47||k===62||Te(k)?w(k):i(k)}function N(k){return k===62?(t.consume(k),J):i(k)}function J(k){return k===null||Be(k)?K(k):Te(k)?(t.consume(k),J):i(k)}function K(k){return k===45&&o===2?(t.consume(k),U):k===60&&o===1?(t.consume(k),V):k===62&&o===4?(t.consume(k),T):k===63&&o===3?(t.consume(k),v):k===93&&o===5?(t.consume(k),ce):Be(k)&&(o===6||o===7)?(t.exit("htmlFlowData"),t.check(F4,Z,ie)(k)):k===null||Be(k)?(t.exit("htmlFlowData"),ie(k)):(t.consume(k),K)}function ie(k){return t.check(v4,re,Z)(k)}function re(k){return t.enter("lineEnding"),t.consume(k),t.exit("lineEnding"),X}function X(k){return k===null||Be(k)?ie(k):(t.enter("htmlFlowData"),K(k))}function U(k){return k===45?(t.consume(k),v):K(k)}function V(k){return k===47?(t.consume(k),s="",ae):K(k)}function ae(k){if(k===62){const ne=s.toLowerCase();return hE.includes(ne)?(t.consume(k),T):K(k)}return Tt(k)&&s.length<8?(t.consume(k),s+=String.fromCharCode(k),ae):K(k)}function ce(k){return k===93?(t.consume(k),v):K(k)}function v(k){return k===62?(t.consume(k),T):k===45&&o===2?(t.consume(k),v):K(k)}function T(k){return k===null||Be(k)?(t.exit("htmlFlowData"),Z(k)):(t.consume(k),T)}function Z(k){return t.exit("htmlFlow"),r(k)}}function w4(t,r,i){const a=this;return o;function o(s){return Be(s)?(t.enter("lineEnding"),t.consume(s),t.exit("lineEnding"),u):i(s)}function u(s){return a.parser.lazy[a.now().line]?i(s):r(s)}}function S4(t,r,i){return a;function a(o){return t.enter("lineEnding"),t.consume(o),t.exit("lineEnding"),t.attempt(Di,r,i)}}const T4={name:"htmlText",tokenize:z4};function z4(t,r,i){const a=this;let o,u,s;return f;function f(v){return t.enter("htmlText"),t.enter("htmlTextData"),t.consume(v),d}function d(v){return v===33?(t.consume(v),E):v===47?(t.consume(v),R):v===63?(t.consume(v),w):Tt(v)?(t.consume(v),j):i(v)}function E(v){return v===45?(t.consume(v),p):v===91?(t.consume(v),u=0,g):Tt(v)?(t.consume(v),L):i(v)}function p(v){return v===45?(t.consume(v),B):i(v)}function m(v){return v===null?i(v):v===45?(t.consume(v),C):Be(v)?(s=m,V(v)):(t.consume(v),m)}function C(v){return v===45?(t.consume(v),B):m(v)}function B(v){return v===62?U(v):v===45?C(v):m(v)}function g(v){const T="CDATA[";return v===T.charCodeAt(u++)?(t.consume(v),u===T.length?y:g):i(v)}function y(v){return v===null?i(v):v===93?(t.consume(v),F):Be(v)?(s=y,V(v)):(t.consume(v),y)}function F(v){return v===93?(t.consume(v),b):y(v)}function b(v){return v===62?U(v):v===93?(t.consume(v),b):y(v)}function L(v){return v===null||v===62?U(v):Be(v)?(s=L,V(v)):(t.consume(v),L)}function w(v){return v===null?i(v):v===63?(t.consume(v),z):Be(v)?(s=w,V(v)):(t.consume(v),w)}function z(v){return v===62?U(v):w(v)}function R(v){return Tt(v)?(t.consume(v),S):i(v)}function S(v){return v===45||vt(v)?(t.consume(v),S):M(v)}function M(v){return Be(v)?(s=M,V(v)):Te(v)?(t.consume(v),M):U(v)}function j(v){return v===45||vt(v)?(t.consume(v),j):v===47||v===62||Xe(v)?I(v):i(v)}function I(v){return v===47?(t.consume(v),U):v===58||v===95||Tt(v)?(t.consume(v),N):Be(v)?(s=I,V(v)):Te(v)?(t.consume(v),I):U(v)}function N(v){return v===45||v===46||v===58||v===95||vt(v)?(t.consume(v),N):J(v)}function J(v){return v===61?(t.consume(v),K):Be(v)?(s=J,V(v)):Te(v)?(t.consume(v),J):I(v)}function K(v){return v===null||v===60||v===61||v===62||v===96?i(v):v===34||v===39?(t.consume(v),o=v,ie):Be(v)?(s=K,V(v)):Te(v)?(t.consume(v),K):(t.consume(v),re)}function ie(v){return v===o?(t.consume(v),o=void 0,X):v===null?i(v):Be(v)?(s=ie,V(v)):(t.consume(v),ie)}function re(v){return v===null||v===34||v===39||v===60||v===61||v===96?i(v):v===47||v===62||Xe(v)?I(v):(t.consume(v),re)}function X(v){return v===47||v===62||Xe(v)?I(v):i(v)}function U(v){return v===62?(t.consume(v),t.exit("htmlTextData"),t.exit("htmlText"),r):i(v)}function V(v){return t.exit("htmlTextData"),t.enter("lineEnding"),t.consume(v),t.exit("lineEnding"),ae}function ae(v){return Te(v)?Oe(t,ce,"linePrefix",a.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(v):ce(v)}function ce(v){return t.enter("htmlTextData"),s(v)}}const lc={name:"labelEnd",resolveAll:_4,resolveTo:N4,tokenize:j4},M4={tokenize:L4},R4={tokenize:P4},O4={tokenize:U4};function _4(t){let r=-1;const i=[];for(;++r<t.length;){const a=t[r][1];if(i.push(t[r]),a.type==="labelImage"||a.type==="labelLink"||a.type==="labelEnd"){const o=a.type==="labelImage"?4:2;a.type="data",r+=o}}return t.length!==i.length&&tn(t,0,t.length,i),t}function N4(t,r){let i=t.length,a=0,o,u,s,f;for(;i--;)if(o=t[i][1],u){if(o.type==="link"||o.type==="labelLink"&&o._inactive)break;t[i][0]==="enter"&&o.type==="labelLink"&&(o._inactive=!0)}else if(s){if(t[i][0]==="enter"&&(o.type==="labelImage"||o.type==="labelLink")&&!o._balanced&&(u=i,o.type!=="labelLink")){a=2;break}}else o.type==="labelEnd"&&(s=i);const d={type:t[u][1].type==="labelLink"?"link":"image",start:{...t[u][1].start},end:{...t[t.length-1][1].end}},E={type:"label",start:{...t[u][1].start},end:{...t[s][1].end}},p={type:"labelText",start:{...t[u+a+2][1].end},end:{...t[s-2][1].start}};return f=[["enter",d,r],["enter",E,r]],f=mn(f,t.slice(u+1,u+a+3)),f=mn(f,[["enter",p,r]]),f=mn(f,hx(r.parser.constructs.insideSpan.null,t.slice(u+a+4,s-3),r)),f=mn(f,[["exit",p,r],t[s-2],t[s-1],["exit",E,r]]),f=mn(f,t.slice(s+1)),f=mn(f,[["exit",d,r]]),tn(t,u,t.length,f),t}function j4(t,r,i){const a=this;let o=a.events.length,u,s;for(;o--;)if((a.events[o][1].type==="labelImage"||a.events[o][1].type==="labelLink")&&!a.events[o][1]._balanced){u=a.events[o][1];break}return f;function f(C){return u?u._inactive?m(C):(s=a.parser.defined.includes(Fn(a.sliceSerialize({start:u.end,end:a.now()}))),t.enter("labelEnd"),t.enter("labelMarker"),t.consume(C),t.exit("labelMarker"),t.exit("labelEnd"),d):i(C)}function d(C){return C===40?t.attempt(M4,p,s?p:m)(C):C===91?t.attempt(R4,p,s?E:m)(C):s?p(C):m(C)}function E(C){return t.attempt(O4,p,m)(C)}function p(C){return r(C)}function m(C){return u._balanced=!0,i(C)}}function L4(t,r,i){return a;function a(m){return t.enter("resource"),t.enter("resourceMarker"),t.consume(m),t.exit("resourceMarker"),o}function o(m){return Xe(m)?ai(t,u)(m):u(m)}function u(m){return m===41?p(m):h6(t,s,f,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(m)}function s(m){return Xe(m)?ai(t,d)(m):p(m)}function f(m){return i(m)}function d(m){return m===34||m===39||m===40?p6(t,E,i,"resourceTitle","resourceTitleMarker","resourceTitleString")(m):p(m)}function E(m){return Xe(m)?ai(t,p)(m):p(m)}function p(m){return m===41?(t.enter("resourceMarker"),t.consume(m),t.exit("resourceMarker"),t.exit("resource"),r):i(m)}}function P4(t,r,i){const a=this;return o;function o(f){return m6.call(a,t,u,s,"reference","referenceMarker","referenceString")(f)}function u(f){return a.parser.defined.includes(Fn(a.sliceSerialize(a.events[a.events.length-1][1]).slice(1,-1)))?r(f):i(f)}function s(f){return i(f)}}function U4(t,r,i){return a;function a(u){return t.enter("reference"),t.enter("referenceMarker"),t.consume(u),t.exit("referenceMarker"),o}function o(u){return u===93?(t.enter("referenceMarker"),t.consume(u),t.exit("referenceMarker"),t.exit("reference"),r):i(u)}}const H4={name:"labelStartImage",resolveAll:lc.resolveAll,tokenize:q4};function q4(t,r,i){const a=this;return o;function o(f){return t.enter("labelImage"),t.enter("labelImageMarker"),t.consume(f),t.exit("labelImageMarker"),u}function u(f){return f===91?(t.enter("labelMarker"),t.consume(f),t.exit("labelMarker"),t.exit("labelImage"),s):i(f)}function s(f){return f===94&&"_hiddenFootnoteSupport"in a.parser.constructs?i(f):r(f)}}const Q4={name:"labelStartLink",resolveAll:lc.resolveAll,tokenize:G4};function G4(t,r,i){const a=this;return o;function o(s){return t.enter("labelLink"),t.enter("labelMarker"),t.consume(s),t.exit("labelMarker"),t.exit("labelLink"),u}function u(s){return s===94&&"_hiddenFootnoteSupport"in a.parser.constructs?i(s):r(s)}}const Zu={name:"lineEnding",tokenize:V4};function V4(t,r){return i;function i(a){return t.enter("lineEnding"),t.consume(a),t.exit("lineEnding"),Oe(t,r,"linePrefix")}}const Ja={name:"thematicBreak",tokenize:Y4};function Y4(t,r,i){let a=0,o;return u;function u(E){return t.enter("thematicBreak"),s(E)}function s(E){return o=E,f(E)}function f(E){return E===o?(t.enter("thematicBreakSequence"),d(E)):a>=3&&(E===null||Be(E))?(t.exit("thematicBreak"),r(E)):i(E)}function d(E){return E===o?(t.consume(E),a++,d):(t.exit("thematicBreakSequence"),Te(E)?Oe(t,f,"whitespace")(E):f(E))}}const Ht={continuation:{tokenize:K4},exit:$4,name:"list",tokenize:Z4},I4={partial:!0,tokenize:W4},X4={partial:!0,tokenize:J4};function Z4(t,r,i){const a=this,o=a.events[a.events.length-1];let u=o&&o[1].type==="linePrefix"?o[2].sliceSerialize(o[1],!0).length:0,s=0;return f;function f(B){const g=a.containerState.type||(B===42||B===43||B===45?"listUnordered":"listOrdered");if(g==="listUnordered"?!a.containerState.marker||B===a.containerState.marker:vs(B)){if(a.containerState.type||(a.containerState.type=g,t.enter(g,{_container:!0})),g==="listUnordered")return t.enter("listItemPrefix"),B===42||B===45?t.check(Ja,i,E)(B):E(B);if(!a.interrupt||B===49)return t.enter("listItemPrefix"),t.enter("listItemValue"),d(B)}return i(B)}function d(B){return vs(B)&&++s<10?(t.consume(B),d):(!a.interrupt||s<2)&&(a.containerState.marker?B===a.containerState.marker:B===41||B===46)?(t.exit("listItemValue"),E(B)):i(B)}function E(B){return t.enter("listItemMarker"),t.consume(B),t.exit("listItemMarker"),a.containerState.marker=a.containerState.marker||B,t.check(Di,a.interrupt?i:p,t.attempt(I4,C,m))}function p(B){return a.containerState.initialBlankLine=!0,u++,C(B)}function m(B){return Te(B)?(t.enter("listItemPrefixWhitespace"),t.consume(B),t.exit("listItemPrefixWhitespace"),C):i(B)}function C(B){return a.containerState.size=u+a.sliceSerialize(t.exit("listItemPrefix"),!0).length,r(B)}}function K4(t,r,i){const a=this;return a.containerState._closeFlow=void 0,t.check(Di,o,u);function o(f){return a.containerState.furtherBlankLines=a.containerState.furtherBlankLines||a.containerState.initialBlankLine,Oe(t,r,"listItemIndent",a.containerState.size+1)(f)}function u(f){return a.containerState.furtherBlankLines||!Te(f)?(a.containerState.furtherBlankLines=void 0,a.containerState.initialBlankLine=void 0,s(f)):(a.containerState.furtherBlankLines=void 0,a.containerState.initialBlankLine=void 0,t.attempt(X4,r,s)(f))}function s(f){return a.containerState._closeFlow=!0,a.interrupt=void 0,Oe(t,t.attempt(Ht,r,i),"linePrefix",a.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(f)}}function J4(t,r,i){const a=this;return Oe(t,o,"listItemIndent",a.containerState.size+1);function o(u){const s=a.events[a.events.length-1];return s&&s[1].type==="listItemIndent"&&s[2].sliceSerialize(s[1],!0).length===a.containerState.size?r(u):i(u)}}function $4(t){t.exit(this.containerState.type)}function W4(t,r,i){const a=this;return Oe(t,o,"listItemPrefixWhitespace",a.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function o(u){const s=a.events[a.events.length-1];return!Te(u)&&s&&s[1].type==="listItemPrefixWhitespace"?r(u):i(u)}}const mE={name:"setextUnderline",resolveTo:eA,tokenize:tA};function eA(t,r){let i=t.length,a,o,u;for(;i--;)if(t[i][0]==="enter"){if(t[i][1].type==="content"){a=i;break}t[i][1].type==="paragraph"&&(o=i)}else t[i][1].type==="content"&&t.splice(i,1),!u&&t[i][1].type==="definition"&&(u=i);const s={type:"setextHeading",start:{...t[a][1].start},end:{...t[t.length-1][1].end}};return t[o][1].type="setextHeadingText",u?(t.splice(o,0,["enter",s,r]),t.splice(u+1,0,["exit",t[a][1],r]),t[a][1].end={...t[u][1].end}):t[a][1]=s,t.push(["exit",s,r]),t}function tA(t,r,i){const a=this;let o;return u;function u(E){let p=a.events.length,m;for(;p--;)if(a.events[p][1].type!=="lineEnding"&&a.events[p][1].type!=="linePrefix"&&a.events[p][1].type!=="content"){m=a.events[p][1].type==="paragraph";break}return!a.parser.lazy[a.now().line]&&(a.interrupt||m)?(t.enter("setextHeadingLine"),o=E,s(E)):i(E)}function s(E){return t.enter("setextHeadingLineSequence"),f(E)}function f(E){return E===o?(t.consume(E),f):(t.exit("setextHeadingLineSequence"),Te(E)?Oe(t,d,"lineSuffix")(E):d(E))}function d(E){return E===null||Be(E)?(t.exit("setextHeadingLine"),r(E)):i(E)}}const nA={tokenize:rA};function rA(t){const r=this,i=t.attempt(Di,a,t.attempt(this.parser.constructs.flowInitial,o,Oe(t,t.attempt(this.parser.constructs.flow,o,t.attempt(o4,o)),"linePrefix")));return i;function a(u){if(u===null){t.consume(u);return}return t.enter("lineEndingBlank"),t.consume(u),t.exit("lineEndingBlank"),r.currentConstruct=void 0,i}function o(u){if(u===null){t.consume(u);return}return t.enter("lineEnding"),t.consume(u),t.exit("lineEnding"),r.currentConstruct=void 0,i}}const lA={resolveAll:B6()},iA=C6("string"),aA=C6("text");function C6(t){return{resolveAll:B6(t==="text"?xA:void 0),tokenize:r};function r(i){const a=this,o=this.parser.constructs[t],u=i.attempt(o,s,f);return s;function s(p){return E(p)?u(p):f(p)}function f(p){if(p===null){i.consume(p);return}return i.enter("data"),i.consume(p),d}function d(p){return E(p)?(i.exit("data"),u(p)):(i.consume(p),d)}function E(p){if(p===null)return!0;const m=o[p];let C=-1;if(m)for(;++C<m.length;){const B=m[C];if(!B.previous||B.previous.call(a,a.previous))return!0}return!1}}}function B6(t){return r;function r(i,a){let o=-1,u;for(;++o<=i.length;)u===void 0?i[o]&&i[o][1].type==="data"&&(u=o,o++):(!i[o]||i[o][1].type!=="data")&&(o!==u+2&&(i[u][1].end=i[o-1][1].end,i.splice(u+2,o-u-2),o=u+2),u=void 0);return t?t(i,a):i}}function xA(t,r){let i=0;for(;++i<=t.length;)if((i===t.length||t[i][1].type==="lineEnding")&&t[i-1][1].type==="data"){const a=t[i-1][1],o=r.sliceStream(a);let u=o.length,s=-1,f=0,d;for(;u--;){const E=o[u];if(typeof E=="string"){for(s=E.length;E.charCodeAt(s-1)===32;)f++,s--;if(s)break;s=-1}else if(E===-2)d=!0,f++;else if(E!==-1){u++;break}}if(r._contentTypeTextTrailing&&i===t.length&&(f=0),f){const E={type:i===t.length||d||f<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:u?s:a.start._bufferIndex+s,_index:a.start._index+u,line:a.end.line,column:a.end.column-f,offset:a.end.offset-f},end:{...a.end}};a.end={...E.start},a.start.offset===a.end.offset?Object.assign(a,E):(t.splice(i,0,["enter",E,r],["exit",E,r]),i+=2)}i++}return t}const oA={42:Ht,43:Ht,45:Ht,48:Ht,49:Ht,50:Ht,51:Ht,52:Ht,53:Ht,54:Ht,55:Ht,56:Ht,57:Ht,62:c6},uA={91:d4},sA={[-2]:Xu,[-1]:Xu,32:Xu},cA={35:B4,42:Ja,45:[mE,Ja],60:y4,61:mE,95:Ja,96:EE,126:EE},fA={38:d6,92:f6},dA={[-5]:Zu,[-4]:Zu,[-3]:Zu,33:H4,38:d6,42:bs,60:[Q2,T4],91:Q4,92:[p4,f6],93:lc,95:bs,96:n4},EA={null:[bs,lA]},hA={null:[42,95]},mA={null:[]},pA=Object.freeze(Object.defineProperty({__proto__:null,attentionMarkers:hA,contentInitial:uA,disable:mA,document:oA,flow:cA,flowInitial:sA,insideSpan:EA,string:fA,text:dA},Symbol.toStringTag,{value:"Module"}));function CA(t,r,i){let a={_bufferIndex:-1,_index:0,line:i&&i.line||1,column:i&&i.column||1,offset:i&&i.offset||0};const o={},u=[];let s=[],f=[];const d={attempt:M(R),check:M(S),consume:L,enter:w,exit:z,interrupt:M(S,{interrupt:!0})},E={code:null,containerState:{},defineSkip:y,events:[],now:g,parser:t,previous:null,sliceSerialize:C,sliceStream:B,write:m};let p=r.tokenize.call(E,d);return r.resolveAll&&u.push(r),E;function m(J){return s=mn(s,J),F(),s[s.length-1]!==null?[]:(j(r,0),E.events=hx(u,E.events,E),E.events)}function C(J,K){return AA(B(J),K)}function B(J){return BA(s,J)}function g(){const{_bufferIndex:J,_index:K,line:ie,column:re,offset:X}=a;return{_bufferIndex:J,_index:K,line:ie,column:re,offset:X}}function y(J){o[J.line]=J.column,N()}function F(){let J;for(;a._index<s.length;){const K=s[a._index];if(typeof K=="string")for(J=a._index,a._bufferIndex<0&&(a._bufferIndex=0);a._index===J&&a._bufferIndex<K.length;)b(K.charCodeAt(a._bufferIndex));else b(K)}}function b(J){p=p(J)}function L(J){Be(J)?(a.line++,a.column=1,a.offset+=J===-3?2:1,N()):J!==-1&&(a.column++,a.offset++),a._bufferIndex<0?a._index++:(a._bufferIndex++,a._bufferIndex===s[a._index].length&&(a._bufferIndex=-1,a._index++)),E.previous=J}function w(J,K){const ie=K||{};return ie.type=J,ie.start=g(),E.events.push(["enter",ie,E]),f.push(ie),ie}function z(J){const K=f.pop();return K.end=g(),E.events.push(["exit",K,E]),K}function R(J,K){j(J,K.from)}function S(J,K){K.restore()}function M(J,K){return ie;function ie(re,X,U){let V,ae,ce,v;return Array.isArray(re)?Z(re):"tokenize"in re?Z([re]):T(re);function T(oe){return me;function me(_e){const pe=_e!==null&&oe[_e],ht=_e!==null&&oe.null,tt=[...Array.isArray(pe)?pe:pe?[pe]:[],...Array.isArray(ht)?ht:ht?[ht]:[]];return Z(tt)(_e)}}function Z(oe){return V=oe,ae=0,oe.length===0?U:k(oe[ae])}function k(oe){return me;function me(_e){return v=I(),ce=oe,oe.partial||(E.currentConstruct=oe),oe.name&&E.parser.constructs.disable.null.includes(oe.name)?se():oe.tokenize.call(K?Object.assign(Object.create(E),K):E,d,ne,se)(_e)}}function ne(oe){return J(ce,v),X}function se(oe){return v.restore(),++ae<V.length?k(V[ae]):U}}}function j(J,K){J.resolveAll&&!u.includes(J)&&u.push(J),J.resolve&&tn(E.events,K,E.events.length-K,J.resolve(E.events.slice(K),E)),J.resolveTo&&(E.events=J.resolveTo(E.events,E))}function I(){const J=g(),K=E.previous,ie=E.currentConstruct,re=E.events.length,X=Array.from(f);return{from:re,restore:U};function U(){a=J,E.previous=K,E.currentConstruct=ie,E.events.length=re,f=X,N()}}function N(){a.line in o&&a.column<2&&(a.column=o[a.line],a.offset+=o[a.line]-1)}}function BA(t,r){const i=r.start._index,a=r.start._bufferIndex,o=r.end._index,u=r.end._bufferIndex;let s;if(i===o)s=[t[i].slice(a,u)];else{if(s=t.slice(i,o),a>-1){const f=s[0];typeof f=="string"?s[0]=f.slice(a):s.shift()}u>0&&s.push(t[o].slice(0,u))}return s}function AA(t,r){let i=-1;const a=[];let o;for(;++i<t.length;){const u=t[i];let s;if(typeof u=="string")s=u;else switch(u){case-5:{s="\r";break}case-4:{s=`
|
|
14
|
+
`;break}case-3:{s=`\r
|
|
15
|
+
`;break}case-2:{s=r?" ":" ";break}case-1:{if(!r&&o)continue;s=" ";break}default:s=String.fromCharCode(u)}o=u===-2,a.push(s)}return a.join("")}function gA(t){const a={constructs:u6([pA,...(t||{}).extensions||[]]),content:o(N2),defined:[],document:o(L2),flow:o(nA),lazy:{},string:o(iA),text:o(aA)};return a;function o(u){return s;function s(f){return CA(a,u,f)}}}function DA(t){for(;!E6(t););return t}const pE=/[\0\t\n\r]/g;function yA(){let t=1,r="",i=!0,a;return o;function o(u,s,f){const d=[];let E,p,m,C,B;for(u=r+(typeof u=="string"?u.toString():new TextDecoder(s||void 0).decode(u)),m=0,r="",i&&(u.charCodeAt(0)===65279&&m++,i=void 0);m<u.length;){if(pE.lastIndex=m,E=pE.exec(u),C=E&&E.index!==void 0?E.index:u.length,B=u.charCodeAt(C),!E){r=u.slice(m);break}if(B===10&&m===C&&a)d.push(-3),a=void 0;else switch(a&&(d.push(-5),a=void 0),m<C&&(d.push(u.slice(m,C)),t+=C-m),B){case 0:{d.push(65533),t++;break}case 9:{for(p=Math.ceil(t/4)*4,d.push(-2);t++<p;)d.push(-1);break}case 10:{d.push(-4),t=1;break}default:a=!0,t=1}m=C+1}return f&&(a&&d.push(-5),r&&d.push(r),d.push(null)),d}}const FA=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function vA(t){return t.replace(FA,bA)}function bA(t,r,i){if(r)return r;if(i.charCodeAt(0)===35){const o=i.charCodeAt(1),u=o===120||o===88;return s6(i.slice(u?2:1),u?16:10)}return rc(i)||t}const A6={}.hasOwnProperty;function kA(t,r,i){return r&&typeof r=="object"&&(i=r,r=void 0),wA(i)(DA(gA(i).document().write(yA()(t,r,!0))))}function wA(t){const r={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:u(mt),autolinkProtocol:I,autolinkEmail:I,atxHeading:u(Mt),blockQuote:u(ht),characterEscape:I,characterReference:I,codeFenced:u(tt),codeFencedFenceInfo:s,codeFencedFenceMeta:s,codeIndented:u(tt,s),codeText:u(rn,s),codeTextData:I,data:I,codeFlowValue:I,definition:u(Gt),definitionDestinationString:s,definitionLabelString:s,definitionTitleString:s,emphasis:u(lt),hardBreakEscape:u(ln),hardBreakTrailing:u(ln),htmlFlow:u(Nn,s),htmlFlowData:I,htmlText:u(Nn,s),htmlTextData:I,image:u(wn),label:s,link:u(mt),listItem:u(yt),listItemValue:C,listOrdered:u(sr,m),listUnordered:u(sr),paragraph:u(Bx),reference:k,referenceString:s,resourceDestinationString:s,resourceTitleString:s,setextHeading:u(Mt),strong:u(Ax),thematicBreak:u(gx)},exit:{atxHeading:d(),atxHeadingSequence:R,autolink:d(),autolinkEmail:pe,autolinkProtocol:_e,blockQuote:d(),characterEscapeValue:N,characterReferenceMarkerHexadecimal:se,characterReferenceMarkerNumeric:se,characterReferenceValue:oe,characterReference:me,codeFenced:d(F),codeFencedFence:y,codeFencedFenceInfo:B,codeFencedFenceMeta:g,codeFlowValue:N,codeIndented:d(b),codeText:d(X),codeTextData:N,data:N,definition:d(),definitionDestinationString:z,definitionLabelString:L,definitionTitleString:w,emphasis:d(),hardBreakEscape:d(K),hardBreakTrailing:d(K),htmlFlow:d(ie),htmlFlowData:N,htmlText:d(re),htmlTextData:N,image:d(V),label:ce,labelText:ae,lineEnding:J,link:d(U),listItem:d(),listOrdered:d(),listUnordered:d(),paragraph:d(),referenceString:ne,resourceDestinationString:v,resourceTitleString:T,resource:Z,setextHeading:d(j),setextHeadingLineSequence:M,setextHeadingText:S,strong:d(),thematicBreak:d()}};g6(r,(t||{}).mdastExtensions||[]);const i={};return a;function a(ee){let ue={type:"root",children:[]};const ge={stack:[ue],tokenStack:[],config:r,enter:f,exit:E,buffer:s,resume:p,data:i},ke=[];let Pe=-1;for(;++Pe<ee.length;)if(ee[Pe][1].type==="listOrdered"||ee[Pe][1].type==="listUnordered")if(ee[Pe][0]==="enter")ke.push(Pe);else{const Vt=ke.pop();Pe=o(ee,Vt,Pe)}for(Pe=-1;++Pe<ee.length;){const Vt=r[ee[Pe][0]];A6.call(Vt,ee[Pe][1].type)&&Vt[ee[Pe][1].type].call(Object.assign({sliceSerialize:ee[Pe][2].sliceSerialize},ge),ee[Pe][1])}if(ge.tokenStack.length>0){const Vt=ge.tokenStack[ge.tokenStack.length-1];(Vt[1]||CE).call(ge,void 0,Vt[0])}for(ue.position={start:M0(ee.length>0?ee[0][1].start:{line:1,column:1,offset:0}),end:M0(ee.length>0?ee[ee.length-2][1].end:{line:1,column:1,offset:0})},Pe=-1;++Pe<r.transforms.length;)ue=r.transforms[Pe](ue)||ue;return ue}function o(ee,ue,ge){let ke=ue-1,Pe=-1,Vt=!1,jn,wt,st,Rt;for(;++ke<=ge;){const Ve=ee[ke];switch(Ve[1].type){case"listUnordered":case"listOrdered":case"blockQuote":{Ve[0]==="enter"?Pe++:Pe--,Rt=void 0;break}case"lineEndingBlank":{Ve[0]==="enter"&&(jn&&!Rt&&!Pe&&!st&&(st=ke),Rt=void 0);break}case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:Rt=void 0}if(!Pe&&Ve[0]==="enter"&&Ve[1].type==="listItemPrefix"||Pe===-1&&Ve[0]==="exit"&&(Ve[1].type==="listUnordered"||Ve[1].type==="listOrdered")){if(jn){let a0=ke;for(wt=void 0;a0--;){const Bn=ee[a0];if(Bn[1].type==="lineEnding"||Bn[1].type==="lineEndingBlank"){if(Bn[0]==="exit")continue;wt&&(ee[wt][1].type="lineEndingBlank",Vt=!0),Bn[1].type="lineEnding",wt=a0}else if(!(Bn[1].type==="linePrefix"||Bn[1].type==="blockQuotePrefix"||Bn[1].type==="blockQuotePrefixWhitespace"||Bn[1].type==="blockQuoteMarker"||Bn[1].type==="listItemIndent"))break}st&&(!wt||st<wt)&&(jn._spread=!0),jn.end=Object.assign({},wt?ee[wt][1].start:Ve[1].end),ee.splice(wt||ke,0,["exit",jn,Ve[2]]),ke++,ge++}if(Ve[1].type==="listItemPrefix"){const a0={type:"listItem",_spread:!1,start:Object.assign({},Ve[1].start),end:void 0};jn=a0,ee.splice(ke,0,["enter",a0,Ve[2]]),ke++,ge++,st=void 0,Rt=!0}}}return ee[ue][1]._spread=Vt,ge}function u(ee,ue){return ge;function ge(ke){f.call(this,ee(ke),ke),ue&&ue.call(this,ke)}}function s(){this.stack.push({type:"fragment",children:[]})}function f(ee,ue,ge){this.stack[this.stack.length-1].children.push(ee),this.stack.push(ee),this.tokenStack.push([ue,ge||void 0]),ee.position={start:M0(ue.start),end:void 0}}function d(ee){return ue;function ue(ge){ee&&ee.call(this,ge),E.call(this,ge)}}function E(ee,ue){const ge=this.stack.pop(),ke=this.tokenStack.pop();if(ke)ke[0].type!==ee.type&&(ue?ue.call(this,ee,ke[0]):(ke[1]||CE).call(this,ee,ke[0]));else throw new Error("Cannot close `"+ee.type+"` ("+ii({start:ee.start,end:ee.end})+"): it’s not open");ge.position.end=M0(ee.end)}function p(){return nc(this.stack.pop())}function m(){this.data.expectingFirstListItemValue=!0}function C(ee){if(this.data.expectingFirstListItemValue){const ue=this.stack[this.stack.length-2];ue.start=Number.parseInt(this.sliceSerialize(ee),10),this.data.expectingFirstListItemValue=void 0}}function B(){const ee=this.resume(),ue=this.stack[this.stack.length-1];ue.lang=ee}function g(){const ee=this.resume(),ue=this.stack[this.stack.length-1];ue.meta=ee}function y(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function F(){const ee=this.resume(),ue=this.stack[this.stack.length-1];ue.value=ee.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function b(){const ee=this.resume(),ue=this.stack[this.stack.length-1];ue.value=ee.replace(/(\r?\n|\r)$/g,"")}function L(ee){const ue=this.resume(),ge=this.stack[this.stack.length-1];ge.label=ue,ge.identifier=Fn(this.sliceSerialize(ee)).toLowerCase()}function w(){const ee=this.resume(),ue=this.stack[this.stack.length-1];ue.title=ee}function z(){const ee=this.resume(),ue=this.stack[this.stack.length-1];ue.url=ee}function R(ee){const ue=this.stack[this.stack.length-1];if(!ue.depth){const ge=this.sliceSerialize(ee).length;ue.depth=ge}}function S(){this.data.setextHeadingSlurpLineEnding=!0}function M(ee){const ue=this.stack[this.stack.length-1];ue.depth=this.sliceSerialize(ee).codePointAt(0)===61?1:2}function j(){this.data.setextHeadingSlurpLineEnding=void 0}function I(ee){const ge=this.stack[this.stack.length-1].children;let ke=ge[ge.length-1];(!ke||ke.type!=="text")&&(ke=kt(),ke.position={start:M0(ee.start),end:void 0},ge.push(ke)),this.stack.push(ke)}function N(ee){const ue=this.stack.pop();ue.value+=this.sliceSerialize(ee),ue.position.end=M0(ee.end)}function J(ee){const ue=this.stack[this.stack.length-1];if(this.data.atHardBreak){const ge=ue.children[ue.children.length-1];ge.position.end=M0(ee.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&r.canContainEols.includes(ue.type)&&(I.call(this,ee),N.call(this,ee))}function K(){this.data.atHardBreak=!0}function ie(){const ee=this.resume(),ue=this.stack[this.stack.length-1];ue.value=ee}function re(){const ee=this.resume(),ue=this.stack[this.stack.length-1];ue.value=ee}function X(){const ee=this.resume(),ue=this.stack[this.stack.length-1];ue.value=ee}function U(){const ee=this.stack[this.stack.length-1];if(this.data.inReference){const ue=this.data.referenceType||"shortcut";ee.type+="Reference",ee.referenceType=ue,delete ee.url,delete ee.title}else delete ee.identifier,delete ee.label;this.data.referenceType=void 0}function V(){const ee=this.stack[this.stack.length-1];if(this.data.inReference){const ue=this.data.referenceType||"shortcut";ee.type+="Reference",ee.referenceType=ue,delete ee.url,delete ee.title}else delete ee.identifier,delete ee.label;this.data.referenceType=void 0}function ae(ee){const ue=this.sliceSerialize(ee),ge=this.stack[this.stack.length-2];ge.label=vA(ue),ge.identifier=Fn(ue).toLowerCase()}function ce(){const ee=this.stack[this.stack.length-1],ue=this.resume(),ge=this.stack[this.stack.length-1];if(this.data.inReference=!0,ge.type==="link"){const ke=ee.children;ge.children=ke}else ge.alt=ue}function v(){const ee=this.resume(),ue=this.stack[this.stack.length-1];ue.url=ee}function T(){const ee=this.resume(),ue=this.stack[this.stack.length-1];ue.title=ee}function Z(){this.data.inReference=void 0}function k(){this.data.referenceType="collapsed"}function ne(ee){const ue=this.resume(),ge=this.stack[this.stack.length-1];ge.label=ue,ge.identifier=Fn(this.sliceSerialize(ee)).toLowerCase(),this.data.referenceType="full"}function se(ee){this.data.characterReferenceType=ee.type}function oe(ee){const ue=this.sliceSerialize(ee),ge=this.data.characterReferenceType;let ke;ge?(ke=s6(ue,ge==="characterReferenceMarkerNumeric"?10:16),this.data.characterReferenceType=void 0):ke=rc(ue);const Pe=this.stack[this.stack.length-1];Pe.value+=ke}function me(ee){const ue=this.stack.pop();ue.position.end=M0(ee.end)}function _e(ee){N.call(this,ee);const ue=this.stack[this.stack.length-1];ue.url=this.sliceSerialize(ee)}function pe(ee){N.call(this,ee);const ue=this.stack[this.stack.length-1];ue.url="mailto:"+this.sliceSerialize(ee)}function ht(){return{type:"blockquote",children:[]}}function tt(){return{type:"code",lang:null,meta:null,value:""}}function rn(){return{type:"inlineCode",value:""}}function Gt(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function lt(){return{type:"emphasis",children:[]}}function Mt(){return{type:"heading",depth:0,children:[]}}function ln(){return{type:"break"}}function Nn(){return{type:"html",value:""}}function wn(){return{type:"image",title:null,url:"",alt:null}}function mt(){return{type:"link",title:null,url:"",children:[]}}function sr(ee){return{type:"list",ordered:ee.type==="listOrdered",start:null,spread:ee._spread,children:[]}}function yt(ee){return{type:"listItem",spread:ee._spread,checked:null,children:[]}}function Bx(){return{type:"paragraph",children:[]}}function Ax(){return{type:"strong",children:[]}}function kt(){return{type:"text",value:""}}function gx(){return{type:"thematicBreak"}}}function M0(t){return{line:t.line,column:t.column,offset:t.offset}}function g6(t,r){let i=-1;for(;++i<r.length;){const a=r[i];Array.isArray(a)?g6(t,a):SA(t,a)}}function SA(t,r){let i;for(i in r)if(A6.call(r,i))switch(i){case"canContainEols":{const a=r[i];a&&t[i].push(...a);break}case"transforms":{const a=r[i];a&&t[i].push(...a);break}case"enter":case"exit":{const a=r[i];a&&Object.assign(t[i],a);break}}}function CE(t,r){throw t?new Error("Cannot close `"+t.type+"` ("+ii({start:t.start,end:t.end})+"): a different token (`"+r.type+"`, "+ii({start:r.start,end:r.end})+") is open"):new Error("Cannot close document, a token (`"+r.type+"`, "+ii({start:r.start,end:r.end})+") is still open")}function TA(t){const r=this;r.parser=i;function i(a){return kA(a,{...r.data("settings"),...t,extensions:r.data("micromarkExtensions")||[],mdastExtensions:r.data("fromMarkdownExtensions")||[]})}}function zA(t,r){const i={type:"element",tagName:"blockquote",properties:{},children:t.wrap(t.all(r),!0)};return t.patch(r,i),t.applyData(r,i)}function MA(t,r){const i={type:"element",tagName:"br",properties:{},children:[]};return t.patch(r,i),[t.applyData(r,i),{type:"text",value:`
|
|
16
|
+
`}]}function RA(t,r){const i=r.value?r.value+`
|
|
17
|
+
`:"",a={},o=r.lang?r.lang.split(/\s+/):[];o.length>0&&(a.className=["language-"+o[0]]);let u={type:"element",tagName:"code",properties:a,children:[{type:"text",value:i}]};return r.meta&&(u.data={meta:r.meta}),t.patch(r,u),u=t.applyData(r,u),u={type:"element",tagName:"pre",properties:{},children:[u]},t.patch(r,u),u}function OA(t,r){const i={type:"element",tagName:"del",properties:{},children:t.all(r)};return t.patch(r,i),t.applyData(r,i)}function _A(t,r){const i={type:"element",tagName:"em",properties:{},children:t.all(r)};return t.patch(r,i),t.applyData(r,i)}function NA(t,r){const i=typeof t.options.clobberPrefix=="string"?t.options.clobberPrefix:"user-content-",a=String(r.identifier).toUpperCase(),o=nl(a.toLowerCase()),u=t.footnoteOrder.indexOf(a);let s,f=t.footnoteCounts.get(a);f===void 0?(f=0,t.footnoteOrder.push(a),s=t.footnoteOrder.length):s=u+1,f+=1,t.footnoteCounts.set(a,f);const d={type:"element",tagName:"a",properties:{href:"#"+i+"fn-"+o,id:i+"fnref-"+o+(f>1?"-"+f:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(s)}]};t.patch(r,d);const E={type:"element",tagName:"sup",properties:{},children:[d]};return t.patch(r,E),t.applyData(r,E)}function jA(t,r){const i={type:"element",tagName:"h"+r.depth,properties:{},children:t.all(r)};return t.patch(r,i),t.applyData(r,i)}function LA(t,r){if(t.options.allowDangerousHtml){const i={type:"raw",value:r.value};return t.patch(r,i),t.applyData(r,i)}}function D6(t,r){const i=r.referenceType;let a="]";if(i==="collapsed"?a+="[]":i==="full"&&(a+="["+(r.label||r.identifier)+"]"),r.type==="imageReference")return[{type:"text",value:"!["+r.alt+a}];const o=t.all(r),u=o[0];u&&u.type==="text"?u.value="["+u.value:o.unshift({type:"text",value:"["});const s=o[o.length-1];return s&&s.type==="text"?s.value+=a:o.push({type:"text",value:a}),o}function PA(t,r){const i=String(r.identifier).toUpperCase(),a=t.definitionById.get(i);if(!a)return D6(t,r);const o={src:nl(a.url||""),alt:r.alt};a.title!==null&&a.title!==void 0&&(o.title=a.title);const u={type:"element",tagName:"img",properties:o,children:[]};return t.patch(r,u),t.applyData(r,u)}function UA(t,r){const i={src:nl(r.url)};r.alt!==null&&r.alt!==void 0&&(i.alt=r.alt),r.title!==null&&r.title!==void 0&&(i.title=r.title);const a={type:"element",tagName:"img",properties:i,children:[]};return t.patch(r,a),t.applyData(r,a)}function HA(t,r){const i={type:"text",value:r.value.replace(/\r?\n|\r/g," ")};t.patch(r,i);const a={type:"element",tagName:"code",properties:{},children:[i]};return t.patch(r,a),t.applyData(r,a)}function qA(t,r){const i=String(r.identifier).toUpperCase(),a=t.definitionById.get(i);if(!a)return D6(t,r);const o={href:nl(a.url||"")};a.title!==null&&a.title!==void 0&&(o.title=a.title);const u={type:"element",tagName:"a",properties:o,children:t.all(r)};return t.patch(r,u),t.applyData(r,u)}function QA(t,r){const i={href:nl(r.url)};r.title!==null&&r.title!==void 0&&(i.title=r.title);const a={type:"element",tagName:"a",properties:i,children:t.all(r)};return t.patch(r,a),t.applyData(r,a)}function GA(t,r,i){const a=t.all(r),o=i?VA(i):y6(r),u={},s=[];if(typeof r.checked=="boolean"){const p=a[0];let m;p&&p.type==="element"&&p.tagName==="p"?m=p:(m={type:"element",tagName:"p",properties:{},children:[]},a.unshift(m)),m.children.length>0&&m.children.unshift({type:"text",value:" "}),m.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:r.checked,disabled:!0},children:[]}),u.className=["task-list-item"]}let f=-1;for(;++f<a.length;){const p=a[f];(o||f!==0||p.type!=="element"||p.tagName!=="p")&&s.push({type:"text",value:`
|
|
18
|
+
`}),p.type==="element"&&p.tagName==="p"&&!o?s.push(...p.children):s.push(p)}const d=a[a.length-1];d&&(o||d.type!=="element"||d.tagName!=="p")&&s.push({type:"text",value:`
|
|
19
|
+
`});const E={type:"element",tagName:"li",properties:u,children:s};return t.patch(r,E),t.applyData(r,E)}function VA(t){let r=!1;if(t.type==="list"){r=t.spread||!1;const i=t.children;let a=-1;for(;!r&&++a<i.length;)r=y6(i[a])}return r}function y6(t){const r=t.spread;return r??t.children.length>1}function YA(t,r){const i={},a=t.all(r);let o=-1;for(typeof r.start=="number"&&r.start!==1&&(i.start=r.start);++o<a.length;){const s=a[o];if(s.type==="element"&&s.tagName==="li"&&s.properties&&Array.isArray(s.properties.className)&&s.properties.className.includes("task-list-item")){i.className=["contains-task-list"];break}}const u={type:"element",tagName:r.ordered?"ol":"ul",properties:i,children:t.wrap(a,!0)};return t.patch(r,u),t.applyData(r,u)}function IA(t,r){const i={type:"element",tagName:"p",properties:{},children:t.all(r)};return t.patch(r,i),t.applyData(r,i)}function XA(t,r){const i={type:"root",children:t.wrap(t.all(r))};return t.patch(r,i),t.applyData(r,i)}function ZA(t,r){const i={type:"element",tagName:"strong",properties:{},children:t.all(r)};return t.patch(r,i),t.applyData(r,i)}function KA(t,r){const i=t.all(r),a=i.shift(),o=[];if(a){const s={type:"element",tagName:"thead",properties:{},children:t.wrap([a],!0)};t.patch(r.children[0],s),o.push(s)}if(i.length>0){const s={type:"element",tagName:"tbody",properties:{},children:t.wrap(i,!0)},f=$s(r.children[1]),d=n6(r.children[r.children.length-1]);f&&d&&(s.position={start:f,end:d}),o.push(s)}const u={type:"element",tagName:"table",properties:{},children:t.wrap(o,!0)};return t.patch(r,u),t.applyData(r,u)}function JA(t,r,i){const a=i?i.children:void 0,u=(a?a.indexOf(r):1)===0?"th":"td",s=i&&i.type==="table"?i.align:void 0,f=s?s.length:r.children.length;let d=-1;const E=[];for(;++d<f;){const m=r.children[d],C={},B=s?s[d]:void 0;B&&(C.align=B);let g={type:"element",tagName:u,properties:C,children:[]};m&&(g.children=t.all(m),t.patch(m,g),g=t.applyData(m,g)),E.push(g)}const p={type:"element",tagName:"tr",properties:{},children:t.wrap(E,!0)};return t.patch(r,p),t.applyData(r,p)}function $A(t,r){const i={type:"element",tagName:"td",properties:{},children:t.all(r)};return t.patch(r,i),t.applyData(r,i)}const BE=9,AE=32;function WA(t){const r=String(t),i=/\r?\n|\r/g;let a=i.exec(r),o=0;const u=[];for(;a;)u.push(gE(r.slice(o,a.index),o>0,!0),a[0]),o=a.index+a[0].length,a=i.exec(r);return u.push(gE(r.slice(o),o>0,!1)),u.join("")}function gE(t,r,i){let a=0,o=t.length;if(r){let u=t.codePointAt(a);for(;u===BE||u===AE;)a++,u=t.codePointAt(a)}if(i){let u=t.codePointAt(o-1);for(;u===BE||u===AE;)o--,u=t.codePointAt(o-1)}return o>a?t.slice(a,o):""}function e3(t,r){const i={type:"text",value:WA(String(r.value))};return t.patch(r,i),t.applyData(r,i)}function t3(t,r){const i={type:"element",tagName:"hr",properties:{},children:[]};return t.patch(r,i),t.applyData(r,i)}const n3={blockquote:zA,break:MA,code:RA,delete:OA,emphasis:_A,footnoteReference:NA,heading:jA,html:LA,imageReference:PA,image:UA,inlineCode:HA,linkReference:qA,link:QA,listItem:GA,list:YA,paragraph:IA,root:XA,strong:ZA,table:KA,tableCell:$A,tableRow:JA,text:e3,thematicBreak:t3,toml:Va,yaml:Va,definition:Va,footnoteDefinition:Va};function Va(){}const F6=-1,mx=0,xi=1,rx=2,ic=3,ac=4,xc=5,oc=6,v6=7,b6=8,k6=typeof self=="object"?self:globalThis,DE=(t,r)=>{switch(t){case"Function":case"SharedWorker":case"Worker":case"eval":case"setInterval":case"setTimeout":throw new TypeError("unable to deserialize "+t)}return new k6[t](r)},r3=(t,r)=>{const i=(o,u)=>(t.set(u,o),o),a=o=>{if(t.has(o))return t.get(o);const[u,s]=r[o];switch(u){case mx:case F6:return i(s,o);case xi:{const f=i([],o);for(const d of s)f.push(a(d));return f}case rx:{const f=i({},o);for(const[d,E]of s)f[a(d)]=a(E);return f}case ic:return i(new Date(s),o);case ac:{const{source:f,flags:d}=s;return i(new RegExp(f,d),o)}case xc:{const f=i(new Map,o);for(const[d,E]of s)f.set(a(d),a(E));return f}case oc:{const f=i(new Set,o);for(const d of s)f.add(a(d));return f}case v6:{const{name:f,message:d}=s;return i(typeof k6[f]=="function"?DE(f,d):new Error(d),o)}case b6:return i(BigInt(s),o);case"BigInt":return i(Object(BigInt(s)),o);case"ArrayBuffer":return i(new Uint8Array(s).buffer,s);case"DataView":{const{buffer:f}=new Uint8Array(s);return i(new DataView(f),s)}}return i(DE(u,s),o)};return a},yE=t=>r3(new Map,t)(0),nr="",{toString:l3}={},{keys:i3}=Object,ti=t=>{const r=typeof t;if(r!=="object"||!t)return[mx,r];const i=l3.call(t).slice(8,-1);switch(i){case"Array":return[xi,nr];case"Object":return[rx,nr];case"Date":return[ic,nr];case"RegExp":return[ac,nr];case"Map":return[xc,nr];case"Set":return[oc,nr];case"DataView":return[xi,i]}return i.includes("Array")?[xi,i]:t instanceof Error?[v6,t.name||"Error"]:[rx,i]},Ya=([t,r])=>t===mx&&(r==="function"||r==="symbol"),a3=(t,r,i,a)=>{const o=(s,f)=>{const d=a.push(s)-1;return i.set(f,d),d},u=s=>{if(i.has(s))return i.get(s);let[f,d]=ti(s);switch(f){case mx:{let p=s;switch(d){case"bigint":f=b6,p=s.toString();break;case"function":case"symbol":if(t)throw new TypeError("unable to serialize "+d);p=null;break;case"undefined":return o([F6],s)}return o([f,p],s)}case xi:{if(d){let C=s;return d==="DataView"?C=new Uint8Array(s.buffer):d==="ArrayBuffer"&&(C=new Uint8Array(s)),o([d,[...C]],s)}const p=[],m=o([f,p],s);for(const C of s)p.push(u(C));return m}case rx:{if(d)switch(d){case"BigInt":return o([d,s.toString()],s);case"Boolean":case"Number":case"String":return o([d,s.valueOf()],s)}if(r&&"toJSON"in s)return u(s.toJSON());const p=[],m=o([f,p],s);for(const C of i3(s))(t||!Ya(ti(s[C])))&&p.push([u(C),u(s[C])]);return m}case ic:return o([f,isNaN(s.getTime())?nr:s.toISOString()],s);case ac:{const{source:p,flags:m}=s;return o([f,{source:p,flags:m}],s)}case xc:{const p=[],m=o([f,p],s);for(const[C,B]of s)(t||!(Ya(ti(C))||Ya(ti(B))))&&p.push([u(C),u(B)]);return m}case oc:{const p=[],m=o([f,p],s);for(const C of s)(t||!Ya(ti(C)))&&p.push(u(C));return m}}const{message:E}=s;return o([f,{name:d,message:E}],s)};return u},FE=(t,{json:r,lossy:i}={})=>{const a=[];return a3(!(r||i),!!r,new Map,a)(t),a},lx=typeof structuredClone=="function"?(t,r)=>r&&("json"in r||"lossy"in r)?yE(FE(t,r)):structuredClone(t):(t,r)=>yE(FE(t,r));function x3(t,r){const i=[{type:"text",value:"↩"}];return r>1&&i.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(r)}]}),i}function o3(t,r){return"Back to reference "+(t+1)+(r>1?"-"+r:"")}function u3(t){const r=typeof t.options.clobberPrefix=="string"?t.options.clobberPrefix:"user-content-",i=t.options.footnoteBackContent||x3,a=t.options.footnoteBackLabel||o3,o=t.options.footnoteLabel||"Footnotes",u=t.options.footnoteLabelTagName||"h2",s=t.options.footnoteLabelProperties||{className:["sr-only"]},f=[];let d=-1;for(;++d<t.footnoteOrder.length;){const E=t.footnoteById.get(t.footnoteOrder[d]);if(!E)continue;const p=t.all(E),m=String(E.identifier).toUpperCase(),C=nl(m.toLowerCase());let B=0;const g=[],y=t.footnoteCounts.get(m);for(;y!==void 0&&++B<=y;){g.length>0&&g.push({type:"text",value:" "});let L=typeof i=="string"?i:i(d,B);typeof L=="string"&&(L={type:"text",value:L}),g.push({type:"element",tagName:"a",properties:{href:"#"+r+"fnref-"+C+(B>1?"-"+B:""),dataFootnoteBackref:"",ariaLabel:typeof a=="string"?a:a(d,B),className:["data-footnote-backref"]},children:Array.isArray(L)?L:[L]})}const F=p[p.length-1];if(F&&F.type==="element"&&F.tagName==="p"){const L=F.children[F.children.length-1];L&&L.type==="text"?L.value+=" ":F.children.push({type:"text",value:" "}),F.children.push(...g)}else p.push(...g);const b={type:"element",tagName:"li",properties:{id:r+"fn-"+C},children:t.wrap(p,!0)};t.patch(E,b),f.push(b)}if(f.length!==0)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:u,properties:{...lx(s),id:"footnote-label"},children:[{type:"text",value:o}]},{type:"text",value:`
|
|
20
|
+
`},{type:"element",tagName:"ol",properties:{},children:t.wrap(f,!0)},{type:"text",value:`
|
|
21
|
+
`}]}}const px=(function(t){if(t==null)return d3;if(typeof t=="function")return Cx(t);if(typeof t=="object")return Array.isArray(t)?s3(t):c3(t);if(typeof t=="string")return f3(t);throw new Error("Expected function, string, or object as test")});function s3(t){const r=[];let i=-1;for(;++i<t.length;)r[i]=px(t[i]);return Cx(a);function a(...o){let u=-1;for(;++u<r.length;)if(r[u].apply(this,o))return!0;return!1}}function c3(t){const r=t;return Cx(i);function i(a){const o=a;let u;for(u in t)if(o[u]!==r[u])return!1;return!0}}function f3(t){return Cx(r);function r(i){return i&&i.type===t}}function Cx(t){return r;function r(i,a,o){return!!(E3(i)&&t.call(this,i,typeof a=="number"?a:void 0,o||void 0))}}function d3(){return!0}function E3(t){return t!==null&&typeof t=="object"&&"type"in t}const w6=[],h3=!0,ks=!1,m3="skip";function S6(t,r,i,a){let o;typeof r=="function"&&typeof i!="function"?(a=i,i=r):o=r;const u=px(o),s=a?-1:1;f(t,void 0,[])();function f(d,E,p){const m=d&&typeof d=="object"?d:{};if(typeof m.type=="string"){const B=typeof m.tagName=="string"?m.tagName:typeof m.name=="string"?m.name:void 0;Object.defineProperty(C,"name",{value:"node ("+(d.type+(B?"<"+B+">":""))+")"})}return C;function C(){let B=w6,g,y,F;if((!r||u(d,E,p[p.length-1]||void 0))&&(B=p3(i(d,p)),B[0]===ks))return B;if("children"in d&&d.children){const b=d;if(b.children&&B[0]!==m3)for(y=(a?b.children.length:-1)+s,F=p.concat(b);y>-1&&y<b.children.length;){const L=b.children[y];if(g=f(L,y,F)(),g[0]===ks)return g;y=typeof g[1]=="number"?g[1]:y+s}}return B}}}function p3(t){return Array.isArray(t)?t:typeof t=="number"?[h3,t]:t==null?w6:[t]}function uc(t,r,i,a){let o,u,s;typeof r=="function"&&typeof i!="function"?(u=void 0,s=r,o=i):(u=r,s=i,o=a),S6(t,u,f,o);function f(d,E){const p=E[E.length-1],m=p?p.children.indexOf(d):void 0;return s(d,m,p)}}const ws={}.hasOwnProperty,C3={};function B3(t,r){const i=r||C3,a=new Map,o=new Map,u=new Map,s={...n3,...i.handlers},f={all:E,applyData:g3,definitionById:a,footnoteById:o,footnoteCounts:u,footnoteOrder:[],handlers:s,one:d,options:i,patch:A3,wrap:y3};return uc(t,function(p){if(p.type==="definition"||p.type==="footnoteDefinition"){const m=p.type==="definition"?a:o,C=String(p.identifier).toUpperCase();m.has(C)||m.set(C,p)}}),f;function d(p,m){const C=p.type,B=f.handlers[C];if(ws.call(f.handlers,C)&&B)return B(f,p,m);if(f.options.passThrough&&f.options.passThrough.includes(C)){if("children"in p){const{children:y,...F}=p,b=lx(F);return b.children=f.all(p),b}return lx(p)}return(f.options.unknownHandler||D3)(f,p,m)}function E(p){const m=[];if("children"in p){const C=p.children;let B=-1;for(;++B<C.length;){const g=f.one(C[B],p);if(g){if(B&&C[B-1].type==="break"&&(!Array.isArray(g)&&g.type==="text"&&(g.value=vE(g.value)),!Array.isArray(g)&&g.type==="element")){const y=g.children[0];y&&y.type==="text"&&(y.value=vE(y.value))}Array.isArray(g)?m.push(...g):m.push(g)}}}return m}}function A3(t,r){t.position&&(r.position=o2(t))}function g3(t,r){let i=r;if(t&&t.data){const a=t.data.hName,o=t.data.hChildren,u=t.data.hProperties;if(typeof a=="string")if(i.type==="element")i.tagName=a;else{const s="children"in i?i.children:[i];i={type:"element",tagName:a,properties:{},children:s}}i.type==="element"&&u&&Object.assign(i.properties,lx(u)),"children"in i&&i.children&&o!==null&&o!==void 0&&(i.children=o)}return i}function D3(t,r){const i=r.data||{},a="value"in r&&!(ws.call(i,"hProperties")||ws.call(i,"hChildren"))?{type:"text",value:r.value}:{type:"element",tagName:"div",properties:{},children:t.all(r)};return t.patch(r,a),t.applyData(r,a)}function y3(t,r){const i=[];let a=-1;for(r&&i.push({type:"text",value:`
|
|
22
|
+
`});++a<t.length;)a&&i.push({type:"text",value:`
|
|
23
|
+
`}),i.push(t[a]);return r&&t.length>0&&i.push({type:"text",value:`
|
|
24
|
+
`}),i}function vE(t){let r=0,i=t.charCodeAt(r);for(;i===9||i===32;)r++,i=t.charCodeAt(r);return t.slice(r)}function bE(t,r){const i=B3(t,r),a=i.one(t,void 0),o=u3(i),u=Array.isArray(a)?{type:"root",children:a}:a||{type:"root",children:[]};return o&&u.children.push({type:"text",value:`
|
|
25
|
+
`},o),u}function F3(t,r){return t&&"run"in t?async function(i,a){const o=bE(i,{file:a,...r});await t.run(o,a)}:function(i,a){return bE(i,{file:a,...t||r})}}function kE(t){if(t)throw t}var Ku,wE;function v3(){if(wE)return Ku;wE=1;var t=Object.prototype.hasOwnProperty,r=Object.prototype.toString,i=Object.defineProperty,a=Object.getOwnPropertyDescriptor,o=function(E){return typeof Array.isArray=="function"?Array.isArray(E):r.call(E)==="[object Array]"},u=function(E){if(!E||r.call(E)!=="[object Object]")return!1;var p=t.call(E,"constructor"),m=E.constructor&&E.constructor.prototype&&t.call(E.constructor.prototype,"isPrototypeOf");if(E.constructor&&!p&&!m)return!1;var C;for(C in E);return typeof C>"u"||t.call(E,C)},s=function(E,p){i&&p.name==="__proto__"?i(E,p.name,{enumerable:!0,configurable:!0,value:p.newValue,writable:!0}):E[p.name]=p.newValue},f=function(E,p){if(p==="__proto__")if(t.call(E,p)){if(a)return a(E,p).value}else return;return E[p]};return Ku=function d(){var E,p,m,C,B,g,y=arguments[0],F=1,b=arguments.length,L=!1;for(typeof y=="boolean"&&(L=y,y=arguments[1]||{},F=2),(y==null||typeof y!="object"&&typeof y!="function")&&(y={});F<b;++F)if(E=arguments[F],E!=null)for(p in E)m=f(y,p),C=f(E,p),y!==C&&(L&&C&&(u(C)||(B=o(C)))?(B?(B=!1,g=m&&o(m)?m:[]):g=m&&u(m)?m:{},s(y,{name:p,newValue:d(L,g,C)})):typeof C<"u"&&s(y,{name:p,newValue:C}));return y},Ku}var b3=v3();const Ju=ax(b3);function Ss(t){if(typeof t!="object"||t===null)return!1;const r=Object.getPrototypeOf(t);return(r===null||r===Object.prototype||Object.getPrototypeOf(r)===null)&&!(Symbol.toStringTag in t)&&!(Symbol.iterator in t)}function k3(){const t=[],r={run:i,use:a};return r;function i(...o){let u=-1;const s=o.pop();if(typeof s!="function")throw new TypeError("Expected function as last argument, not "+s);f(null,...o);function f(d,...E){const p=t[++u];let m=-1;if(d){s(d);return}for(;++m<o.length;)(E[m]===null||E[m]===void 0)&&(E[m]=o[m]);o=E,p?w3(p,f)(...E):s(null,...E)}}function a(o){if(typeof o!="function")throw new TypeError("Expected `middelware` to be a function, not "+o);return t.push(o),r}}function w3(t,r){let i;return a;function a(...s){const f=t.length>s.length;let d;f&&s.push(o);try{d=t.apply(this,s)}catch(E){const p=E;if(f&&i)throw p;return o(p)}f||(d&&d.then&&typeof d.then=="function"?d.then(u,o):d instanceof Error?o(d):u(d))}function o(s,...f){i||(i=!0,r(s,...f))}function u(s){o(null,s)}}const On={basename:S3,dirname:T3,extname:z3,join:M3,sep:"/"};function S3(t,r){if(r!==void 0&&typeof r!="string")throw new TypeError('"ext" argument must be a string');yi(t);let i=0,a=-1,o=t.length,u;if(r===void 0||r.length===0||r.length>t.length){for(;o--;)if(t.codePointAt(o)===47){if(u){i=o+1;break}}else a<0&&(u=!0,a=o+1);return a<0?"":t.slice(i,a)}if(r===t)return"";let s=-1,f=r.length-1;for(;o--;)if(t.codePointAt(o)===47){if(u){i=o+1;break}}else s<0&&(u=!0,s=o+1),f>-1&&(t.codePointAt(o)===r.codePointAt(f--)?f<0&&(a=o):(f=-1,a=s));return i===a?a=s:a<0&&(a=t.length),t.slice(i,a)}function T3(t){if(yi(t),t.length===0)return".";let r=-1,i=t.length,a;for(;--i;)if(t.codePointAt(i)===47){if(a){r=i;break}}else a||(a=!0);return r<0?t.codePointAt(0)===47?"/":".":r===1&&t.codePointAt(0)===47?"//":t.slice(0,r)}function z3(t){yi(t);let r=t.length,i=-1,a=0,o=-1,u=0,s;for(;r--;){const f=t.codePointAt(r);if(f===47){if(s){a=r+1;break}continue}i<0&&(s=!0,i=r+1),f===46?o<0?o=r:u!==1&&(u=1):o>-1&&(u=-1)}return o<0||i<0||u===0||u===1&&o===i-1&&o===a+1?"":t.slice(o,i)}function M3(...t){let r=-1,i;for(;++r<t.length;)yi(t[r]),t[r]&&(i=i===void 0?t[r]:i+"/"+t[r]);return i===void 0?".":R3(i)}function R3(t){yi(t);const r=t.codePointAt(0)===47;let i=O3(t,!r);return i.length===0&&!r&&(i="."),i.length>0&&t.codePointAt(t.length-1)===47&&(i+="/"),r?"/"+i:i}function O3(t,r){let i="",a=0,o=-1,u=0,s=-1,f,d;for(;++s<=t.length;){if(s<t.length)f=t.codePointAt(s);else{if(f===47)break;f=47}if(f===47){if(!(o===s-1||u===1))if(o!==s-1&&u===2){if(i.length<2||a!==2||i.codePointAt(i.length-1)!==46||i.codePointAt(i.length-2)!==46){if(i.length>2){if(d=i.lastIndexOf("/"),d!==i.length-1){d<0?(i="",a=0):(i=i.slice(0,d),a=i.length-1-i.lastIndexOf("/")),o=s,u=0;continue}}else if(i.length>0){i="",a=0,o=s,u=0;continue}}r&&(i=i.length>0?i+"/..":"..",a=2)}else i.length>0?i+="/"+t.slice(o+1,s):i=t.slice(o+1,s),a=s-o-1;o=s,u=0}else f===46&&u>-1?u++:u=-1}return i}function yi(t){if(typeof t!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(t))}const _3={cwd:N3};function N3(){return"/"}function Ts(t){return!!(t!==null&&typeof t=="object"&&"href"in t&&t.href&&"protocol"in t&&t.protocol&&t.auth===void 0)}function j3(t){if(typeof t=="string")t=new URL(t);else if(!Ts(t)){const r=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+t+"`");throw r.code="ERR_INVALID_ARG_TYPE",r}if(t.protocol!=="file:"){const r=new TypeError("The URL must be of scheme file");throw r.code="ERR_INVALID_URL_SCHEME",r}return L3(t)}function L3(t){if(t.hostname!==""){const a=new TypeError('File URL host must be "localhost" or empty on darwin');throw a.code="ERR_INVALID_FILE_URL_HOST",a}const r=t.pathname;let i=-1;for(;++i<r.length;)if(r.codePointAt(i)===37&&r.codePointAt(i+1)===50){const a=r.codePointAt(i+2);if(a===70||a===102){const o=new TypeError("File URL path must not include encoded / characters");throw o.code="ERR_INVALID_FILE_URL_PATH",o}}return decodeURIComponent(r)}const $u=["history","path","basename","stem","extname","dirname"];class T6{constructor(r){let i;r?Ts(r)?i={path:r}:typeof r=="string"||P3(r)?i={value:r}:i=r:i={},this.cwd="cwd"in i?"":_3.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let a=-1;for(;++a<$u.length;){const u=$u[a];u in i&&i[u]!==void 0&&i[u]!==null&&(this[u]=u==="history"?[...i[u]]:i[u])}let o;for(o in i)$u.includes(o)||(this[o]=i[o])}get basename(){return typeof this.path=="string"?On.basename(this.path):void 0}set basename(r){es(r,"basename"),Wu(r,"basename"),this.path=On.join(this.dirname||"",r)}get dirname(){return typeof this.path=="string"?On.dirname(this.path):void 0}set dirname(r){SE(this.basename,"dirname"),this.path=On.join(r||"",this.basename)}get extname(){return typeof this.path=="string"?On.extname(this.path):void 0}set extname(r){if(Wu(r,"extname"),SE(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=On.join(this.dirname,this.stem+(r||""))}get path(){return this.history[this.history.length-1]}set path(r){Ts(r)&&(r=j3(r)),es(r,"path"),this.path!==r&&this.history.push(r)}get stem(){return typeof this.path=="string"?On.basename(this.path,this.extname):void 0}set stem(r){es(r,"stem"),Wu(r,"stem"),this.path=On.join(this.dirname||"",r+(this.extname||""))}fail(r,i,a){const o=this.message(r,i,a);throw o.fatal=!0,o}info(r,i,a){const o=this.message(r,i,a);return o.fatal=void 0,o}message(r,i,a){const o=new bt(r,i,a);return this.path&&(o.name=this.path+":"+o.name,o.file=this.path),o.fatal=!1,this.messages.push(o),o}toString(r){return this.value===void 0?"":typeof this.value=="string"?this.value:new TextDecoder(r||void 0).decode(this.value)}}function Wu(t,r){if(t&&t.includes(On.sep))throw new Error("`"+r+"` cannot be a path: did not expect `"+On.sep+"`")}function es(t,r){if(!t)throw new Error("`"+r+"` cannot be empty")}function SE(t,r){if(!t)throw new Error("Setting `"+r+"` requires `path` to be set too")}function P3(t){return!!(t&&typeof t=="object"&&"byteLength"in t&&"byteOffset"in t)}const U3=(function(t){const a=this.constructor.prototype,o=a[t],u=function(){return o.apply(u,arguments)};return Object.setPrototypeOf(u,a),u}),H3={}.hasOwnProperty;class sc extends U3{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=k3()}copy(){const r=new sc;let i=-1;for(;++i<this.attachers.length;){const a=this.attachers[i];r.use(...a)}return r.data(Ju(!0,{},this.namespace)),r}data(r,i){return typeof r=="string"?arguments.length===2?(rs("data",this.frozen),this.namespace[r]=i,this):H3.call(this.namespace,r)&&this.namespace[r]||void 0:r?(rs("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[i,...a]=this.attachers[this.freezeIndex];if(a[0]===!1)continue;a[0]===!0&&(a[0]=void 0);const o=i.call(r,...a);typeof o=="function"&&this.transformers.use(o)}return this.frozen=!0,this.freezeIndex=Number.POSITIVE_INFINITY,this}parse(r){this.freeze();const i=Ia(r),a=this.parser||this.Parser;return ts("parse",a),a(String(i),i)}process(r,i){const a=this;return this.freeze(),ts("process",this.parser||this.Parser),ns("process",this.compiler||this.Compiler),i?o(void 0,i):new Promise(o);function o(u,s){const f=Ia(r),d=a.parse(f);a.run(d,f,function(p,m,C){if(p||!m||!C)return E(p);const B=m,g=a.stringify(B,C);G3(g)?C.value=g:C.result=g,E(p,C)});function E(p,m){p||!m?s(p):u?u(m):i(void 0,m)}}}processSync(r){let i=!1,a;return this.freeze(),ts("processSync",this.parser||this.Parser),ns("processSync",this.compiler||this.Compiler),this.process(r,o),zE("processSync","process",i),a;function o(u,s){i=!0,kE(u),a=s}}run(r,i,a){TE(r),this.freeze();const o=this.transformers;return!a&&typeof i=="function"&&(a=i,i=void 0),a?u(void 0,a):new Promise(u);function u(s,f){const d=Ia(i);o.run(r,d,E);function E(p,m,C){const B=m||r;p?f(p):s?s(B):a(void 0,B,C)}}}runSync(r,i){let a=!1,o;return this.run(r,i,u),zE("runSync","run",a),o;function u(s,f){kE(s),o=f,a=!0}}stringify(r,i){this.freeze();const a=Ia(i),o=this.compiler||this.Compiler;return ns("stringify",o),TE(r),o(r,a)}use(r,...i){const a=this.attachers,o=this.namespace;if(rs("use",this.frozen),r!=null)if(typeof r=="function")d(r,i);else if(typeof r=="object")Array.isArray(r)?f(r):s(r);else throw new TypeError("Expected usable value, not `"+r+"`");return this;function u(E){if(typeof E=="function")d(E,[]);else if(typeof E=="object")if(Array.isArray(E)){const[p,...m]=E;d(p,m)}else s(E);else throw new TypeError("Expected usable value, not `"+E+"`")}function s(E){if(!("plugins"in E)&&!("settings"in E))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(E.plugins),E.settings&&(o.settings=Ju(!0,o.settings,E.settings))}function f(E){let p=-1;if(E!=null)if(Array.isArray(E))for(;++p<E.length;){const m=E[p];u(m)}else throw new TypeError("Expected a list of plugins, not `"+E+"`")}function d(E,p){let m=-1,C=-1;for(;++m<a.length;)if(a[m][0]===E){C=m;break}if(C===-1)a.push([E,...p]);else if(p.length>0){let[B,...g]=p;const y=a[C][1];Ss(y)&&Ss(B)&&(B=Ju(!0,y,B)),a[C]=[E,B,...g]}}}}const q3=new sc().freeze();function ts(t,r){if(typeof r!="function")throw new TypeError("Cannot `"+t+"` without `parser`")}function ns(t,r){if(typeof r!="function")throw new TypeError("Cannot `"+t+"` without `compiler`")}function rs(t,r){if(r)throw new Error("Cannot call `"+t+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function TE(t){if(!Ss(t)||typeof t.type!="string")throw new TypeError("Expected node, got `"+t+"`")}function zE(t,r,i){if(!i)throw new Error("`"+t+"` finished async. Use `"+r+"` instead")}function Ia(t){return Q3(t)?t:new T6(t)}function Q3(t){return!!(t&&typeof t=="object"&&"message"in t&&"messages"in t)}function G3(t){return typeof t=="string"||V3(t)}function V3(t){return!!(t&&typeof t=="object"&&"byteLength"in t&&"byteOffset"in t)}const Y3="https://github.com/remarkjs/react-markdown/blob/main/changelog.md",ME=[],RE={allowDangerousHtml:!0},I3=/^(https?|ircs?|mailto|xmpp)$/i,X3=[{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 Z3(t){const r=K3(t),i=J3(t);return $3(r.runSync(r.parse(i),i),t)}function K3(t){const r=t.rehypePlugins||ME,i=t.remarkPlugins||ME,a=t.remarkRehypeOptions?{...t.remarkRehypeOptions,...RE}:RE;return q3().use(TA).use(i).use(F3,a).use(r)}function J3(t){const r=t.children||"",i=new T6;return typeof r=="string"&&(i.value=r),i}function $3(t,r){const i=r.allowedElements,a=r.allowElement,o=r.components,u=r.disallowedElements,s=r.skipHtml,f=r.unwrapDisallowed,d=r.urlTransform||W3;for(const p of X3)Object.hasOwn(r,p.from)&&(""+p.from+(p.to?"use `"+p.to+"` instead":"remove it")+Y3+p.id,void 0);return uc(t,E),d2(t,{Fragment:O.Fragment,components:o,ignoreInvalidStyle:!0,jsx:O.jsx,jsxs:O.jsxs,passKeys:!0,passNode:!0});function E(p,m,C){if(p.type==="raw"&&C&&typeof m=="number")return s?C.children.splice(m,1):C.children[m]={type:"text",value:p.value},m;if(p.type==="element"){let B;for(B in Iu)if(Object.hasOwn(Iu,B)&&Object.hasOwn(p.properties,B)){const g=p.properties[B],y=Iu[B];(y===null||y.includes(p.tagName))&&(p.properties[B]=d(String(g||""),B,p))}}if(p.type==="element"){let B=i?!i.includes(p.tagName):u?u.includes(p.tagName):!1;if(!B&&a&&typeof m=="number"&&(B=!a(p,m,C)),B&&C&&typeof m=="number")return f&&p.children?C.children.splice(m,1,...p.children):C.children.splice(m,1),m}}}function W3(t){const r=t.indexOf(":"),i=t.indexOf("?"),a=t.indexOf("#"),o=t.indexOf("/");return r===-1||o!==-1&&r>o||i!==-1&&r>i||a!==-1&&r>a||I3.test(t.slice(0,r))?t:""}function eg(t){if(typeof t!="string")throw new TypeError("Expected a string");return t.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}function z6(t,r,i){const o=px((i||{}).ignore||[]),u=tg(r);let s=-1;for(;++s<u.length;)S6(t,"text",f);function f(E,p){let m=-1,C;for(;++m<p.length;){const B=p[m],g=C?C.children:void 0;if(o(B,g?g.indexOf(B):void 0,C))return;C=B}if(C)return d(E,p)}function d(E,p){const m=p[p.length-1],C=u[s][0],B=u[s][1];let g=0;const F=m.children.indexOf(E);let b=!1,L=[];C.lastIndex=0;let w=C.exec(E.value);for(;w;){const z=w.index,R={index:w.index,input:w.input,stack:[...p,E]};let S=B(...w,R);if(typeof S=="string"&&(S=S.length>0?{type:"text",value:S}:void 0),S===!1?C.lastIndex=z+1:(g!==z&&L.push({type:"text",value:E.value.slice(g,z)}),Array.isArray(S)?L.push(...S):S&&L.push(S),g=z+w[0].length,b=!0),!C.global)break;w=C.exec(E.value)}return b?(g<E.value.length&&L.push({type:"text",value:E.value.slice(g)}),m.children.splice(F,1,...L)):L=[E],F+L.length}}function tg(t){const r=[];if(!Array.isArray(t))throw new TypeError("Expected find and replace tuple or list of tuples");const i=!t[0]||Array.isArray(t[0])?t:[t];let a=-1;for(;++a<i.length;){const o=i[a];r.push([ng(o[0]),rg(o[1])])}return r}function ng(t){return typeof t=="string"?new RegExp(eg(t),"g"):t}function rg(t){return typeof t=="function"?t:function(){return t}}function lg(t){z6(t,[/\r?\n|\r/g,ig])}function ig(){return{type:"break"}}function ag(){return function(t){lg(t)}}function OE(t,r){const i=String(t);if(typeof r!="string")throw new TypeError("Expected character");let a=0,o=i.indexOf(r);for(;o!==-1;)a++,o=i.indexOf(r,o+r.length);return a}const ls="phrasing",is=["autolink","link","image","label"];function xg(){return{transforms:[Eg],enter:{literalAutolink:ug,literalAutolinkEmail:as,literalAutolinkHttp:as,literalAutolinkWww:as},exit:{literalAutolink:dg,literalAutolinkEmail:fg,literalAutolinkHttp:sg,literalAutolinkWww:cg}}}function og(){return{unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:ls,notInConstruct:is},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:ls,notInConstruct:is},{character:":",before:"[ps]",after:"\\/",inConstruct:ls,notInConstruct:is}]}}function ug(t){this.enter({type:"link",title:null,url:"",children:[]},t)}function as(t){this.config.enter.autolinkProtocol.call(this,t)}function sg(t){this.config.exit.autolinkProtocol.call(this,t)}function cg(t){this.config.exit.data.call(this,t);const r=this.stack[this.stack.length-1];r.type,r.url="http://"+this.sliceSerialize(t)}function fg(t){this.config.exit.autolinkEmail.call(this,t)}function dg(t){this.exit(t)}function Eg(t){z6(t,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,hg],[new RegExp("(?<=^|\\s|\\p{P}|\\p{S})([-.\\w+]+)@([-\\w]+(?:\\.[-\\w]+)+)","gu"),mg]],{ignore:["link","linkReference"]})}function hg(t,r,i,a,o){let u="";if(!M6(o)||(/^w/i.test(r)&&(i=r+i,r="",u="http://"),!pg(i)))return!1;const s=Cg(i+a);if(!s[0])return!1;const f={type:"link",title:null,url:u+r+s[0],children:[{type:"text",value:r+s[0]}]};return s[1]?[f,{type:"text",value:s[1]}]:f}function mg(t,r,i,a){return!M6(a,!0)||/[-\d_]$/.test(i)?!1:{type:"link",title:null,url:"mailto:"+r+"@"+i,children:[{type:"text",value:r+"@"+i}]}}function pg(t){const r=t.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 Cg(t){const r=/[!"&'),.:;<>?\]}]+$/.exec(t);if(!r)return[t,void 0];t=t.slice(0,r.index);let i=r[0],a=i.indexOf(")");const o=OE(t,"(");let u=OE(t,")");for(;a!==-1&&o>u;)t+=i.slice(0,a+1),i=i.slice(a+1),a=i.indexOf(")"),u++;return[t,i]}function M6(t,r){const i=t.input.charCodeAt(t.index-1);return(t.index===0||ir(i)||Ex(i))&&(!r||i!==47)}R6.peek=kg;function Bg(){this.buffer()}function Ag(t){this.enter({type:"footnoteReference",identifier:"",label:""},t)}function gg(){this.buffer()}function Dg(t){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},t)}function yg(t){const r=this.resume(),i=this.stack[this.stack.length-1];i.type,i.identifier=Fn(this.sliceSerialize(t)).toLowerCase(),i.label=r}function Fg(t){this.exit(t)}function vg(t){const r=this.resume(),i=this.stack[this.stack.length-1];i.type,i.identifier=Fn(this.sliceSerialize(t)).toLowerCase(),i.label=r}function bg(t){this.exit(t)}function kg(){return"["}function R6(t,r,i,a){const o=i.createTracker(a);let u=o.move("[^");const s=i.enter("footnoteReference"),f=i.enter("reference");return u+=o.move(i.safe(i.associationId(t),{after:"]",before:u})),f(),s(),u+=o.move("]"),u}function wg(){return{enter:{gfmFootnoteCallString:Bg,gfmFootnoteCall:Ag,gfmFootnoteDefinitionLabelString:gg,gfmFootnoteDefinition:Dg},exit:{gfmFootnoteCallString:yg,gfmFootnoteCall:Fg,gfmFootnoteDefinitionLabelString:vg,gfmFootnoteDefinition:bg}}}function Sg(t){let r=!1;return t&&t.firstLineBlank&&(r=!0),{handlers:{footnoteDefinition:i,footnoteReference:R6},unsafe:[{character:"[",inConstruct:["label","phrasing","reference"]}]};function i(a,o,u,s){const f=u.createTracker(s);let d=f.move("[^");const E=u.enter("footnoteDefinition"),p=u.enter("label");return d+=f.move(u.safe(u.associationId(a),{before:d,after:"]"})),p(),d+=f.move("]:"),a.children&&a.children.length>0&&(f.shift(4),d+=f.move((r?`
|
|
26
|
+
`:" ")+u.indentLines(u.containerFlow(a,f.current()),r?O6:Tg))),E(),d}}function Tg(t,r,i){return r===0?t:O6(t,r,i)}function O6(t,r,i){return(i?"":" ")+t}const zg=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];_6.peek=Ng;function Mg(){return{canContainEols:["delete"],enter:{strikethrough:Og},exit:{strikethrough:_g}}}function Rg(){return{unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:zg}],handlers:{delete:_6}}}function Og(t){this.enter({type:"delete",children:[]},t)}function _g(t){this.exit(t)}function _6(t,r,i,a){const o=i.createTracker(a),u=i.enter("strikethrough");let s=o.move("~~");return s+=i.containerPhrasing(t,{...o.current(),before:s,after:"~"}),s+=o.move("~~"),u(),s}function Ng(){return"~"}function jg(t){return t.length}function Lg(t,r){const i=r||{},a=(i.align||[]).concat(),o=i.stringLength||jg,u=[],s=[],f=[],d=[];let E=0,p=-1;for(;++p<t.length;){const y=[],F=[];let b=-1;for(t[p].length>E&&(E=t[p].length);++b<t[p].length;){const L=Pg(t[p][b]);if(i.alignDelimiters!==!1){const w=o(L);F[b]=w,(d[b]===void 0||w>d[b])&&(d[b]=w)}y.push(L)}s[p]=y,f[p]=F}let m=-1;if(typeof a=="object"&&"length"in a)for(;++m<E;)u[m]=_E(a[m]);else{const y=_E(a);for(;++m<E;)u[m]=y}m=-1;const C=[],B=[];for(;++m<E;){const y=u[m];let F="",b="";y===99?(F=":",b=":"):y===108?F=":":y===114&&(b=":");let L=i.alignDelimiters===!1?1:Math.max(1,d[m]-F.length-b.length);const w=F+"-".repeat(L)+b;i.alignDelimiters!==!1&&(L=F.length+L+b.length,L>d[m]&&(d[m]=L),B[m]=L),C[m]=w}s.splice(1,0,C),f.splice(1,0,B),p=-1;const g=[];for(;++p<s.length;){const y=s[p],F=f[p];m=-1;const b=[];for(;++m<E;){const L=y[m]||"";let w="",z="";if(i.alignDelimiters!==!1){const R=d[m]-(F[m]||0),S=u[m];S===114?w=" ".repeat(R):S===99?R%2?(w=" ".repeat(R/2+.5),z=" ".repeat(R/2-.5)):(w=" ".repeat(R/2),z=w):z=" ".repeat(R)}i.delimiterStart!==!1&&!m&&b.push("|"),i.padding!==!1&&!(i.alignDelimiters===!1&&L==="")&&(i.delimiterStart!==!1||m)&&b.push(" "),i.alignDelimiters!==!1&&b.push(w),b.push(L),i.alignDelimiters!==!1&&b.push(z),i.padding!==!1&&b.push(" "),(i.delimiterEnd!==!1||m!==E-1)&&b.push("|")}g.push(i.delimiterEnd===!1?b.join("").replace(/ +$/,""):b.join(""))}return g.join(`
|
|
27
|
+
`)}function Pg(t){return t==null?"":String(t)}function _E(t){const r=typeof t=="string"?t.codePointAt(0):0;return r===67||r===99?99:r===76||r===108?108:r===82||r===114?114:0}function Ug(t,r,i,a){const o=i.enter("blockquote"),u=i.createTracker(a);u.move("> "),u.shift(2);const s=i.indentLines(i.containerFlow(t,u.current()),Hg);return o(),s}function Hg(t,r,i){return">"+(i?"":" ")+t}function qg(t,r){return NE(t,r.inConstruct,!0)&&!NE(t,r.notInConstruct,!1)}function NE(t,r,i){if(typeof r=="string"&&(r=[r]),!r||r.length===0)return i;let a=-1;for(;++a<r.length;)if(t.includes(r[a]))return!0;return!1}function jE(t,r,i,a){let o=-1;for(;++o<i.unsafe.length;)if(i.unsafe[o].character===`
|
|
28
|
+
`&&qg(i.stack,i.unsafe[o]))return/[ \t]/.test(a.before)?"":" ";return`\\
|
|
29
|
+
`}function Qg(t,r){const i=String(t);let a=i.indexOf(r),o=a,u=0,s=0;if(typeof r!="string")throw new TypeError("Expected substring");for(;a!==-1;)a===o?++u>s&&(s=u):u=1,o=a+r.length,a=i.indexOf(r,o);return s}function Gg(t,r){return!!(r.options.fences===!1&&t.value&&!t.lang&&/[^ \r\n]/.test(t.value)&&!/^[\t ]*(?:[\r\n]|$)|(?:^|[\r\n])[\t ]*$/.test(t.value))}function Vg(t){const r=t.options.fence||"`";if(r!=="`"&&r!=="~")throw new Error("Cannot serialize code with `"+r+"` for `options.fence`, expected `` ` `` or `~`");return r}function Yg(t,r,i,a){const o=Vg(i),u=t.value||"",s=o==="`"?"GraveAccent":"Tilde";if(Gg(t,i)){const m=i.enter("codeIndented"),C=i.indentLines(u,Ig);return m(),C}const f=i.createTracker(a),d=o.repeat(Math.max(Qg(u,o)+1,3)),E=i.enter("codeFenced");let p=f.move(d);if(t.lang){const m=i.enter(`codeFencedLang${s}`);p+=f.move(i.safe(t.lang,{before:p,after:" ",encode:["`"],...f.current()})),m()}if(t.lang&&t.meta){const m=i.enter(`codeFencedMeta${s}`);p+=f.move(" "),p+=f.move(i.safe(t.meta,{before:p,after:`
|
|
30
|
+
`,encode:["`"],...f.current()})),m()}return p+=f.move(`
|
|
31
|
+
`),u&&(p+=f.move(u+`
|
|
32
|
+
`)),p+=f.move(d),E(),p}function Ig(t,r,i){return(i?"":" ")+t}function cc(t){const r=t.options.quote||'"';if(r!=='"'&&r!=="'")throw new Error("Cannot serialize title with `"+r+"` for `options.quote`, expected `\"`, or `'`");return r}function Xg(t,r,i,a){const o=cc(i),u=o==='"'?"Quote":"Apostrophe",s=i.enter("definition");let f=i.enter("label");const d=i.createTracker(a);let E=d.move("[");return E+=d.move(i.safe(i.associationId(t),{before:E,after:"]",...d.current()})),E+=d.move("]: "),f(),!t.url||/[\0- \u007F]/.test(t.url)?(f=i.enter("destinationLiteral"),E+=d.move("<"),E+=d.move(i.safe(t.url,{before:E,after:">",...d.current()})),E+=d.move(">")):(f=i.enter("destinationRaw"),E+=d.move(i.safe(t.url,{before:E,after:t.title?" ":`
|
|
33
|
+
`,...d.current()}))),f(),t.title&&(f=i.enter(`title${u}`),E+=d.move(" "+o),E+=d.move(i.safe(t.title,{before:E,after:o,...d.current()})),E+=d.move(o),f()),s(),E}function Zg(t){const r=t.options.emphasis||"*";if(r!=="*"&&r!=="_")throw new Error("Cannot serialize emphasis with `"+r+"` for `options.emphasis`, expected `*`, or `_`");return r}function mi(t){return"&#x"+t.toString(16).toUpperCase()+";"}function ix(t,r,i){const a=$r(t),o=$r(r);return a===void 0?o===void 0?i==="_"?{inside:!0,outside:!0}:{inside:!1,outside:!1}:o===1?{inside:!0,outside:!0}:{inside:!1,outside:!0}:a===1?o===void 0?{inside:!1,outside:!1}:o===1?{inside:!0,outside:!0}:{inside:!1,outside:!1}:o===void 0?{inside:!1,outside:!1}:o===1?{inside:!0,outside:!1}:{inside:!1,outside:!1}}N6.peek=Kg;function N6(t,r,i,a){const o=Zg(i),u=i.enter("emphasis"),s=i.createTracker(a),f=s.move(o);let d=s.move(i.containerPhrasing(t,{after:o,before:f,...s.current()}));const E=d.charCodeAt(0),p=ix(a.before.charCodeAt(a.before.length-1),E,o);p.inside&&(d=mi(E)+d.slice(1));const m=d.charCodeAt(d.length-1),C=ix(a.after.charCodeAt(0),m,o);C.inside&&(d=d.slice(0,-1)+mi(m));const B=s.move(o);return u(),i.attentionEncodeSurroundingInfo={after:C.outside,before:p.outside},f+d+B}function Kg(t,r,i){return i.options.emphasis||"*"}function Jg(t,r){let i=!1;return uc(t,function(a){if("value"in a&&/\r?\n|\r/.test(a.value)||a.type==="break")return i=!0,ks}),!!((!t.depth||t.depth<3)&&nc(t)&&(r.options.setext||i))}function $g(t,r,i,a){const o=Math.max(Math.min(6,t.depth||1),1),u=i.createTracker(a);if(Jg(t,i)){const p=i.enter("headingSetext"),m=i.enter("phrasing"),C=i.containerPhrasing(t,{...u.current(),before:`
|
|
34
|
+
`,after:`
|
|
35
|
+
`});return m(),p(),C+`
|
|
36
|
+
`+(o===1?"=":"-").repeat(C.length-(Math.max(C.lastIndexOf("\r"),C.lastIndexOf(`
|
|
37
|
+
`))+1))}const s="#".repeat(o),f=i.enter("headingAtx"),d=i.enter("phrasing");u.move(s+" ");let E=i.containerPhrasing(t,{before:"# ",after:`
|
|
38
|
+
`,...u.current()});return/^[\t ]/.test(E)&&(E=mi(E.charCodeAt(0))+E.slice(1)),E=E?s+" "+E:s,i.options.closeAtx&&(E+=" "+s),d(),f(),E}j6.peek=Wg;function j6(t){return t.value||""}function Wg(){return"<"}L6.peek=eD;function L6(t,r,i,a){const o=cc(i),u=o==='"'?"Quote":"Apostrophe",s=i.enter("image");let f=i.enter("label");const d=i.createTracker(a);let E=d.move("![");return E+=d.move(i.safe(t.alt,{before:E,after:"]",...d.current()})),E+=d.move("]("),f(),!t.url&&t.title||/[\0- \u007F]/.test(t.url)?(f=i.enter("destinationLiteral"),E+=d.move("<"),E+=d.move(i.safe(t.url,{before:E,after:">",...d.current()})),E+=d.move(">")):(f=i.enter("destinationRaw"),E+=d.move(i.safe(t.url,{before:E,after:t.title?" ":")",...d.current()}))),f(),t.title&&(f=i.enter(`title${u}`),E+=d.move(" "+o),E+=d.move(i.safe(t.title,{before:E,after:o,...d.current()})),E+=d.move(o),f()),E+=d.move(")"),s(),E}function eD(){return"!"}P6.peek=tD;function P6(t,r,i,a){const o=t.referenceType,u=i.enter("imageReference");let s=i.enter("label");const f=i.createTracker(a);let d=f.move("![");const E=i.safe(t.alt,{before:d,after:"]",...f.current()});d+=f.move(E+"]["),s();const p=i.stack;i.stack=[],s=i.enter("reference");const m=i.safe(i.associationId(t),{before:d,after:"]",...f.current()});return s(),i.stack=p,u(),o==="full"||!E||E!==m?d+=f.move(m+"]"):o==="shortcut"?d=d.slice(0,-1):d+=f.move("]"),d}function tD(){return"!"}U6.peek=nD;function U6(t,r,i){let a=t.value||"",o="`",u=-1;for(;new RegExp("(^|[^`])"+o+"([^`]|$)").test(a);)o+="`";for(/[^ \r\n]/.test(a)&&(/^[ \r\n]/.test(a)&&/[ \r\n]$/.test(a)||/^`|`$/.test(a))&&(a=" "+a+" ");++u<i.unsafe.length;){const s=i.unsafe[u],f=i.compilePattern(s);let d;if(s.atBreak)for(;d=f.exec(a);){let E=d.index;a.charCodeAt(E)===10&&a.charCodeAt(E-1)===13&&E--,a=a.slice(0,E)+" "+a.slice(d.index+1)}}return o+a+o}function nD(){return"`"}function H6(t,r){const i=nc(t);return!!(!r.options.resourceLink&&t.url&&!t.title&&t.children&&t.children.length===1&&t.children[0].type==="text"&&(i===t.url||"mailto:"+i===t.url)&&/^[a-z][a-z+.-]+:/i.test(t.url)&&!/[\0- <>\u007F]/.test(t.url))}q6.peek=rD;function q6(t,r,i,a){const o=cc(i),u=o==='"'?"Quote":"Apostrophe",s=i.createTracker(a);let f,d;if(H6(t,i)){const p=i.stack;i.stack=[],f=i.enter("autolink");let m=s.move("<");return m+=s.move(i.containerPhrasing(t,{before:m,after:">",...s.current()})),m+=s.move(">"),f(),i.stack=p,m}f=i.enter("link"),d=i.enter("label");let E=s.move("[");return E+=s.move(i.containerPhrasing(t,{before:E,after:"](",...s.current()})),E+=s.move("]("),d(),!t.url&&t.title||/[\0- \u007F]/.test(t.url)?(d=i.enter("destinationLiteral"),E+=s.move("<"),E+=s.move(i.safe(t.url,{before:E,after:">",...s.current()})),E+=s.move(">")):(d=i.enter("destinationRaw"),E+=s.move(i.safe(t.url,{before:E,after:t.title?" ":")",...s.current()}))),d(),t.title&&(d=i.enter(`title${u}`),E+=s.move(" "+o),E+=s.move(i.safe(t.title,{before:E,after:o,...s.current()})),E+=s.move(o),d()),E+=s.move(")"),f(),E}function rD(t,r,i){return H6(t,i)?"<":"["}Q6.peek=lD;function Q6(t,r,i,a){const o=t.referenceType,u=i.enter("linkReference");let s=i.enter("label");const f=i.createTracker(a);let d=f.move("[");const E=i.containerPhrasing(t,{before:d,after:"]",...f.current()});d+=f.move(E+"]["),s();const p=i.stack;i.stack=[],s=i.enter("reference");const m=i.safe(i.associationId(t),{before:d,after:"]",...f.current()});return s(),i.stack=p,u(),o==="full"||!E||E!==m?d+=f.move(m+"]"):o==="shortcut"?d=d.slice(0,-1):d+=f.move("]"),d}function lD(){return"["}function fc(t){const r=t.options.bullet||"*";if(r!=="*"&&r!=="+"&&r!=="-")throw new Error("Cannot serialize items with `"+r+"` for `options.bullet`, expected `*`, `+`, or `-`");return r}function iD(t){const r=fc(t),i=t.options.bulletOther;if(!i)return r==="*"?"-":"*";if(i!=="*"&&i!=="+"&&i!=="-")throw new Error("Cannot serialize items with `"+i+"` for `options.bulletOther`, expected `*`, `+`, or `-`");if(i===r)throw new Error("Expected `bullet` (`"+r+"`) and `bulletOther` (`"+i+"`) to be different");return i}function aD(t){const r=t.options.bulletOrdered||".";if(r!=="."&&r!==")")throw new Error("Cannot serialize items with `"+r+"` for `options.bulletOrdered`, expected `.` or `)`");return r}function G6(t){const r=t.options.rule||"*";if(r!=="*"&&r!=="-"&&r!=="_")throw new Error("Cannot serialize rules with `"+r+"` for `options.rule`, expected `*`, `-`, or `_`");return r}function xD(t,r,i,a){const o=i.enter("list"),u=i.bulletCurrent;let s=t.ordered?aD(i):fc(i);const f=t.ordered?s==="."?")":".":iD(i);let d=r&&i.bulletLastUsed?s===i.bulletLastUsed:!1;if(!t.ordered){const p=t.children?t.children[0]:void 0;if((s==="*"||s==="-")&&p&&(!p.children||!p.children[0])&&i.stack[i.stack.length-1]==="list"&&i.stack[i.stack.length-2]==="listItem"&&i.stack[i.stack.length-3]==="list"&&i.stack[i.stack.length-4]==="listItem"&&i.indexStack[i.indexStack.length-1]===0&&i.indexStack[i.indexStack.length-2]===0&&i.indexStack[i.indexStack.length-3]===0&&(d=!0),G6(i)===s&&p){let m=-1;for(;++m<t.children.length;){const C=t.children[m];if(C&&C.type==="listItem"&&C.children&&C.children[0]&&C.children[0].type==="thematicBreak"){d=!0;break}}}}d&&(s=f),i.bulletCurrent=s;const E=i.containerFlow(t,a);return i.bulletLastUsed=s,i.bulletCurrent=u,o(),E}function oD(t){const r=t.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 uD(t,r,i,a){const o=oD(i);let u=i.bulletCurrent||fc(i);r&&r.type==="list"&&r.ordered&&(u=(typeof r.start=="number"&&r.start>-1?r.start:1)+(i.options.incrementListMarker===!1?0:r.children.indexOf(t))+u);let s=u.length+1;(o==="tab"||o==="mixed"&&(r&&r.type==="list"&&r.spread||t.spread))&&(s=Math.ceil(s/4)*4);const f=i.createTracker(a);f.move(u+" ".repeat(s-u.length)),f.shift(s);const d=i.enter("listItem"),E=i.indentLines(i.containerFlow(t,f.current()),p);return d(),E;function p(m,C,B){return C?(B?"":" ".repeat(s))+m:(B?u:u+" ".repeat(s-u.length))+m}}function sD(t,r,i,a){const o=i.enter("paragraph"),u=i.enter("phrasing"),s=i.containerPhrasing(t,a);return u(),o(),s}const cD=px(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","inlineMath","link","linkReference","mdxJsxTextElement","mdxTextExpression","strong","text","textDirective"]);function fD(t,r,i,a){return(t.children.some(function(s){return cD(s)})?i.containerPhrasing:i.containerFlow).call(i,t,a)}function dD(t){const r=t.options.strong||"*";if(r!=="*"&&r!=="_")throw new Error("Cannot serialize strong with `"+r+"` for `options.strong`, expected `*`, or `_`");return r}V6.peek=ED;function V6(t,r,i,a){const o=dD(i),u=i.enter("strong"),s=i.createTracker(a),f=s.move(o+o);let d=s.move(i.containerPhrasing(t,{after:o,before:f,...s.current()}));const E=d.charCodeAt(0),p=ix(a.before.charCodeAt(a.before.length-1),E,o);p.inside&&(d=mi(E)+d.slice(1));const m=d.charCodeAt(d.length-1),C=ix(a.after.charCodeAt(0),m,o);C.inside&&(d=d.slice(0,-1)+mi(m));const B=s.move(o+o);return u(),i.attentionEncodeSurroundingInfo={after:C.outside,before:p.outside},f+d+B}function ED(t,r,i){return i.options.strong||"*"}function hD(t,r,i,a){return i.safe(t.value,a)}function mD(t){const r=t.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 pD(t,r,i){const a=(G6(i)+(i.options.ruleSpaces?" ":"")).repeat(mD(i));return i.options.ruleSpaces?a.slice(0,-1):a}const Y6={blockquote:Ug,break:jE,code:Yg,definition:Xg,emphasis:N6,hardBreak:jE,heading:$g,html:j6,image:L6,imageReference:P6,inlineCode:U6,link:q6,linkReference:Q6,list:xD,listItem:uD,paragraph:sD,root:fD,strong:V6,text:hD,thematicBreak:pD};function CD(){return{enter:{table:BD,tableData:LE,tableHeader:LE,tableRow:gD},exit:{codeText:DD,table:AD,tableData:xs,tableHeader:xs,tableRow:xs}}}function BD(t){const r=t._align;this.enter({type:"table",align:r.map(function(i){return i==="none"?null:i}),children:[]},t),this.data.inTable=!0}function AD(t){this.exit(t),this.data.inTable=void 0}function gD(t){this.enter({type:"tableRow",children:[]},t)}function xs(t){this.exit(t)}function LE(t){this.enter({type:"tableCell",children:[]},t)}function DD(t){let r=this.resume();this.data.inTable&&(r=r.replace(/\\([\\|])/g,yD));const i=this.stack[this.stack.length-1];i.type,i.value=r,this.exit(t)}function yD(t,r){return r==="|"?r:t}function FD(t){const r=t||{},i=r.tableCellPadding,a=r.tablePipeAlign,o=r.stringLength,u=i?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:`
|
|
39
|
+
`,inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[ :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{inlineCode:C,table:s,tableCell:d,tableRow:f}};function s(B,g,y,F){return E(p(B,y,F),B.align)}function f(B,g,y,F){const b=m(B,y,F),L=E([b]);return L.slice(0,L.indexOf(`
|
|
40
|
+
`))}function d(B,g,y,F){const b=y.enter("tableCell"),L=y.enter("phrasing"),w=y.containerPhrasing(B,{...F,before:u,after:u});return L(),b(),w}function E(B,g){return Lg(B,{align:g,alignDelimiters:a,padding:i,stringLength:o})}function p(B,g,y){const F=B.children;let b=-1;const L=[],w=g.enter("table");for(;++b<F.length;)L[b]=m(F[b],g,y);return w(),L}function m(B,g,y){const F=B.children;let b=-1;const L=[],w=g.enter("tableRow");for(;++b<F.length;)L[b]=d(F[b],B,g,y);return w(),L}function C(B,g,y){let F=Y6.inlineCode(B,g,y);return y.stack.includes("tableCell")&&(F=F.replace(/\|/g,"\\$&")),F}}function vD(){return{exit:{taskListCheckValueChecked:PE,taskListCheckValueUnchecked:PE,paragraph:kD}}}function bD(){return{unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:wD}}}function PE(t){const r=this.stack[this.stack.length-2];r.type,r.checked=t.type==="taskListCheckValueChecked"}function kD(t){const r=this.stack[this.stack.length-2];if(r&&r.type==="listItem"&&typeof r.checked=="boolean"){const i=this.stack[this.stack.length-1];i.type;const a=i.children[0];if(a&&a.type==="text"){const o=r.children;let u=-1,s;for(;++u<o.length;){const f=o[u];if(f.type==="paragraph"){s=f;break}}s===i&&(a.value=a.value.slice(1),a.value.length===0?i.children.shift():i.position&&a.position&&typeof a.position.start.offset=="number"&&(a.position.start.column++,a.position.start.offset++,i.position.start=Object.assign({},a.position.start)))}}this.exit(t)}function wD(t,r,i,a){const o=t.children[0],u=typeof t.checked=="boolean"&&o&&o.type==="paragraph",s="["+(t.checked?"x":" ")+"] ",f=i.createTracker(a);u&&f.move(s);let d=Y6.listItem(t,r,i,{...a,...f.current()});return u&&(d=d.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,E)),d;function E(p){return p+s}}function SD(){return[xg(),wg(),Mg(),CD(),vD()]}function TD(t){return{extensions:[og(),Sg(t),Rg(),FD(t),bD()]}}const zD={tokenize:jD,partial:!0},I6={tokenize:LD,partial:!0},X6={tokenize:PD,partial:!0},Z6={tokenize:UD,partial:!0},MD={tokenize:HD,partial:!0},K6={name:"wwwAutolink",tokenize:_D,previous:$6},J6={name:"protocolAutolink",tokenize:ND,previous:W6},i0={name:"emailAutolink",tokenize:OD,previous:e1},_n={};function RD(){return{text:_n}}let tr=48;for(;tr<123;)_n[tr]=i0,tr++,tr===58?tr=65:tr===91&&(tr=97);_n[43]=i0;_n[45]=i0;_n[46]=i0;_n[95]=i0;_n[72]=[i0,J6];_n[104]=[i0,J6];_n[87]=[i0,K6];_n[119]=[i0,K6];function OD(t,r,i){const a=this;let o,u;return s;function s(m){return!zs(m)||!e1.call(a,a.previous)||dc(a.events)?i(m):(t.enter("literalAutolink"),t.enter("literalAutolinkEmail"),f(m))}function f(m){return zs(m)?(t.consume(m),f):m===64?(t.consume(m),d):i(m)}function d(m){return m===46?t.check(MD,p,E)(m):m===45||m===95||vt(m)?(u=!0,t.consume(m),d):p(m)}function E(m){return t.consume(m),o=!0,d}function p(m){return u&&o&&Tt(a.previous)?(t.exit("literalAutolinkEmail"),t.exit("literalAutolink"),r(m)):i(m)}}function _D(t,r,i){const a=this;return o;function o(s){return s!==87&&s!==119||!$6.call(a,a.previous)||dc(a.events)?i(s):(t.enter("literalAutolink"),t.enter("literalAutolinkWww"),t.check(zD,t.attempt(I6,t.attempt(X6,u),i),i)(s))}function u(s){return t.exit("literalAutolinkWww"),t.exit("literalAutolink"),r(s)}}function ND(t,r,i){const a=this;let o="",u=!1;return s;function s(m){return(m===72||m===104)&&W6.call(a,a.previous)&&!dc(a.events)?(t.enter("literalAutolink"),t.enter("literalAutolinkHttp"),o+=String.fromCodePoint(m),t.consume(m),f):i(m)}function f(m){if(Tt(m)&&o.length<5)return o+=String.fromCodePoint(m),t.consume(m),f;if(m===58){const C=o.toLowerCase();if(C==="http"||C==="https")return t.consume(m),d}return i(m)}function d(m){return m===47?(t.consume(m),u?E:(u=!0,d)):i(m)}function E(m){return m===null||nx(m)||Xe(m)||ir(m)||Ex(m)?i(m):t.attempt(I6,t.attempt(X6,p),i)(m)}function p(m){return t.exit("literalAutolinkHttp"),t.exit("literalAutolink"),r(m)}}function jD(t,r,i){let a=0;return o;function o(s){return(s===87||s===119)&&a<3?(a++,t.consume(s),o):s===46&&a===3?(t.consume(s),u):i(s)}function u(s){return s===null?i(s):r(s)}}function LD(t,r,i){let a,o,u;return s;function s(E){return E===46||E===95?t.check(Z6,d,f)(E):E===null||Xe(E)||ir(E)||E!==45&&Ex(E)?d(E):(u=!0,t.consume(E),s)}function f(E){return E===95?a=!0:(o=a,a=void 0),t.consume(E),s}function d(E){return o||a||!u?i(E):r(E)}}function PD(t,r){let i=0,a=0;return o;function o(s){return s===40?(i++,t.consume(s),o):s===41&&a<i?u(s):s===33||s===34||s===38||s===39||s===41||s===42||s===44||s===46||s===58||s===59||s===60||s===63||s===93||s===95||s===126?t.check(Z6,r,u)(s):s===null||Xe(s)||ir(s)?r(s):(t.consume(s),o)}function u(s){return s===41&&a++,t.consume(s),o}}function UD(t,r,i){return a;function a(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?(t.consume(f),a):f===38?(t.consume(f),u):f===93?(t.consume(f),o):f===60||f===null||Xe(f)||ir(f)?r(f):i(f)}function o(f){return f===null||f===40||f===91||Xe(f)||ir(f)?r(f):a(f)}function u(f){return Tt(f)?s(f):i(f)}function s(f){return f===59?(t.consume(f),a):Tt(f)?(t.consume(f),s):i(f)}}function HD(t,r,i){return a;function a(u){return t.consume(u),o}function o(u){return vt(u)?i(u):r(u)}}function $6(t){return t===null||t===40||t===42||t===95||t===91||t===93||t===126||Xe(t)}function W6(t){return!Tt(t)}function e1(t){return!(t===47||zs(t))}function zs(t){return t===43||t===45||t===46||t===95||vt(t)}function dc(t){let r=t.length,i=!1;for(;r--;){const a=t[r][1];if((a.type==="labelLink"||a.type==="labelImage")&&!a._balanced){i=!0;break}if(a._gfmAutolinkLiteralWalkedInto){i=!1;break}}return t.length>0&&!i&&(t[t.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),i}const qD={tokenize:KD,partial:!0};function QD(){return{document:{91:{name:"gfmFootnoteDefinition",tokenize:ID,continuation:{tokenize:XD},exit:ZD}},text:{91:{name:"gfmFootnoteCall",tokenize:YD},93:{name:"gfmPotentialFootnoteCall",add:"after",tokenize:GD,resolveTo:VD}}}}function GD(t,r,i){const a=this;let o=a.events.length;const u=a.parser.gfmFootnotes||(a.parser.gfmFootnotes=[]);let s;for(;o--;){const d=a.events[o][1];if(d.type==="labelImage"){s=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(!s||!s._balanced)return i(d);const E=Fn(a.sliceSerialize({start:s.end,end:a.now()}));return E.codePointAt(0)!==94||!u.includes(E.slice(1))?i(d):(t.enter("gfmFootnoteCallLabelMarker"),t.consume(d),t.exit("gfmFootnoteCallLabelMarker"),r(d))}}function VD(t,r){let i=t.length;for(;i--;)if(t[i][1].type==="labelImage"&&t[i][0]==="enter"){t[i][1];break}t[i+1][1].type="data",t[i+3][1].type="gfmFootnoteCallLabelMarker";const a={type:"gfmFootnoteCall",start:Object.assign({},t[i+3][1].start),end:Object.assign({},t[t.length-1][1].end)},o={type:"gfmFootnoteCallMarker",start:Object.assign({},t[i+3][1].end),end:Object.assign({},t[i+3][1].end)};o.end.column++,o.end.offset++,o.end._bufferIndex++;const u={type:"gfmFootnoteCallString",start:Object.assign({},o.end),end:Object.assign({},t[t.length-1][1].start)},s={type:"chunkString",contentType:"string",start:Object.assign({},u.start),end:Object.assign({},u.end)},f=[t[i+1],t[i+2],["enter",a,r],t[i+3],t[i+4],["enter",o,r],["exit",o,r],["enter",u,r],["enter",s,r],["exit",s,r],["exit",u,r],t[t.length-2],t[t.length-1],["exit",a,r]];return t.splice(i,t.length-i+1,...f),t}function YD(t,r,i){const a=this,o=a.parser.gfmFootnotes||(a.parser.gfmFootnotes=[]);let u=0,s;return f;function f(m){return t.enter("gfmFootnoteCall"),t.enter("gfmFootnoteCallLabelMarker"),t.consume(m),t.exit("gfmFootnoteCallLabelMarker"),d}function d(m){return m!==94?i(m):(t.enter("gfmFootnoteCallMarker"),t.consume(m),t.exit("gfmFootnoteCallMarker"),t.enter("gfmFootnoteCallString"),t.enter("chunkString").contentType="string",E)}function E(m){if(u>999||m===93&&!s||m===null||m===91||Xe(m))return i(m);if(m===93){t.exit("chunkString");const C=t.exit("gfmFootnoteCallString");return o.includes(Fn(a.sliceSerialize(C)))?(t.enter("gfmFootnoteCallLabelMarker"),t.consume(m),t.exit("gfmFootnoteCallLabelMarker"),t.exit("gfmFootnoteCall"),r):i(m)}return Xe(m)||(s=!0),u++,t.consume(m),m===92?p:E}function p(m){return m===91||m===92||m===93?(t.consume(m),u++,E):E(m)}}function ID(t,r,i){const a=this,o=a.parser.gfmFootnotes||(a.parser.gfmFootnotes=[]);let u,s=0,f;return d;function d(g){return t.enter("gfmFootnoteDefinition")._container=!0,t.enter("gfmFootnoteDefinitionLabel"),t.enter("gfmFootnoteDefinitionLabelMarker"),t.consume(g),t.exit("gfmFootnoteDefinitionLabelMarker"),E}function E(g){return g===94?(t.enter("gfmFootnoteDefinitionMarker"),t.consume(g),t.exit("gfmFootnoteDefinitionMarker"),t.enter("gfmFootnoteDefinitionLabelString"),t.enter("chunkString").contentType="string",p):i(g)}function p(g){if(s>999||g===93&&!f||g===null||g===91||Xe(g))return i(g);if(g===93){t.exit("chunkString");const y=t.exit("gfmFootnoteDefinitionLabelString");return u=Fn(a.sliceSerialize(y)),t.enter("gfmFootnoteDefinitionLabelMarker"),t.consume(g),t.exit("gfmFootnoteDefinitionLabelMarker"),t.exit("gfmFootnoteDefinitionLabel"),C}return Xe(g)||(f=!0),s++,t.consume(g),g===92?m:p}function m(g){return g===91||g===92||g===93?(t.consume(g),s++,p):p(g)}function C(g){return g===58?(t.enter("definitionMarker"),t.consume(g),t.exit("definitionMarker"),o.includes(u)||o.push(u),Oe(t,B,"gfmFootnoteDefinitionWhitespace")):i(g)}function B(g){return r(g)}}function XD(t,r,i){return t.check(Di,r,t.attempt(qD,r,i))}function ZD(t){t.exit("gfmFootnoteDefinition")}function KD(t,r,i){const a=this;return Oe(t,o,"gfmFootnoteDefinitionIndent",5);function o(u){const s=a.events[a.events.length-1];return s&&s[1].type==="gfmFootnoteDefinitionIndent"&&s[2].sliceSerialize(s[1],!0).length===4?r(u):i(u)}}function JD(t){let i=(t||{}).singleTilde;const a={name:"strikethrough",tokenize:u,resolveAll:o};return i==null&&(i=!0),{text:{126:a},insideSpan:{null:[a]},attentionMarkers:{null:[126]}};function o(s,f){let d=-1;for(;++d<s.length;)if(s[d][0]==="enter"&&s[d][1].type==="strikethroughSequenceTemporary"&&s[d][1]._close){let E=d;for(;E--;)if(s[E][0]==="exit"&&s[E][1].type==="strikethroughSequenceTemporary"&&s[E][1]._open&&s[d][1].end.offset-s[d][1].start.offset===s[E][1].end.offset-s[E][1].start.offset){s[d][1].type="strikethroughSequence",s[E][1].type="strikethroughSequence";const p={type:"strikethrough",start:Object.assign({},s[E][1].start),end:Object.assign({},s[d][1].end)},m={type:"strikethroughText",start:Object.assign({},s[E][1].end),end:Object.assign({},s[d][1].start)},C=[["enter",p,f],["enter",s[E][1],f],["exit",s[E][1],f],["enter",m,f]],B=f.parser.constructs.insideSpan.null;B&&tn(C,C.length,0,hx(B,s.slice(E+1,d),f)),tn(C,C.length,0,[["exit",m,f],["enter",s[d][1],f],["exit",s[d][1],f],["exit",p,f]]),tn(s,E-1,d-E+3,C),d=E+C.length-2;break}}for(d=-1;++d<s.length;)s[d][1].type==="strikethroughSequenceTemporary"&&(s[d][1].type="data");return s}function u(s,f,d){const E=this.previous,p=this.events;let m=0;return C;function C(g){return E===126&&p[p.length-1][1].type!=="characterEscape"?d(g):(s.enter("strikethroughSequenceTemporary"),B(g))}function B(g){const y=$r(E);if(g===126)return m>1?d(g):(s.consume(g),m++,B);if(m<2&&!i)return d(g);const F=s.exit("strikethroughSequenceTemporary"),b=$r(g);return F._open=!b||b===2&&!!y,F._close=!y||y===2&&!!b,f(g)}}}class $D{constructor(){this.map=[]}add(r,i,a){WD(this,r,i,a)}consume(r){if(this.map.sort(function(u,s){return u[0]-s[0]}),this.map.length===0)return;let i=this.map.length;const a=[];for(;i>0;)i-=1,a.push(r.slice(this.map[i][0]+this.map[i][1]),this.map[i][2]),r.length=this.map[i][0];a.push(r.slice()),r.length=0;let o=a.pop();for(;o;){for(const u of o)r.push(u);o=a.pop()}this.map.length=0}}function WD(t,r,i,a){let o=0;if(!(i===0&&a.length===0)){for(;o<t.map.length;){if(t.map[o][0]===r){t.map[o][1]+=i,t.map[o][2].push(...a);return}o+=1}t.map.push([r,i,a])}}function ey(t,r){let i=!1;const a=[];for(;r<t.length;){const o=t[r];if(i){if(o[0]==="enter")o[1].type==="tableContent"&&a.push(t[r+1][1].type==="tableDelimiterMarker"?"left":"none");else if(o[1].type==="tableContent"){if(t[r-1][1].type==="tableDelimiterMarker"){const u=a.length-1;a[u]=a[u]==="left"?"center":"right"}}else if(o[1].type==="tableDelimiterRow")break}else o[0]==="enter"&&o[1].type==="tableDelimiterRow"&&(i=!0);r+=1}return a}function ty(){return{flow:{null:{name:"table",tokenize:ny,resolveAll:ry}}}}function ny(t,r,i){const a=this;let o=0,u=0,s;return f;function f(N){let J=a.events.length-1;for(;J>-1;){const re=a.events[J][1].type;if(re==="lineEnding"||re==="linePrefix")J--;else break}const K=J>-1?a.events[J][1].type:null,ie=K==="tableHead"||K==="tableRow"?S:d;return ie===S&&a.parser.lazy[a.now().line]?i(N):ie(N)}function d(N){return t.enter("tableHead"),t.enter("tableRow"),E(N)}function E(N){return N===124||(s=!0,u+=1),p(N)}function p(N){return N===null?i(N):Be(N)?u>1?(u=0,a.interrupt=!0,t.exit("tableRow"),t.enter("lineEnding"),t.consume(N),t.exit("lineEnding"),B):i(N):Te(N)?Oe(t,p,"whitespace")(N):(u+=1,s&&(s=!1,o+=1),N===124?(t.enter("tableCellDivider"),t.consume(N),t.exit("tableCellDivider"),s=!0,p):(t.enter("data"),m(N)))}function m(N){return N===null||N===124||Xe(N)?(t.exit("data"),p(N)):(t.consume(N),N===92?C:m)}function C(N){return N===92||N===124?(t.consume(N),m):m(N)}function B(N){return a.interrupt=!1,a.parser.lazy[a.now().line]?i(N):(t.enter("tableDelimiterRow"),s=!1,Te(N)?Oe(t,g,"linePrefix",a.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(N):g(N))}function g(N){return N===45||N===58?F(N):N===124?(s=!0,t.enter("tableCellDivider"),t.consume(N),t.exit("tableCellDivider"),y):R(N)}function y(N){return Te(N)?Oe(t,F,"whitespace")(N):F(N)}function F(N){return N===58?(u+=1,s=!0,t.enter("tableDelimiterMarker"),t.consume(N),t.exit("tableDelimiterMarker"),b):N===45?(u+=1,b(N)):N===null||Be(N)?z(N):R(N)}function b(N){return N===45?(t.enter("tableDelimiterFiller"),L(N)):R(N)}function L(N){return N===45?(t.consume(N),L):N===58?(s=!0,t.exit("tableDelimiterFiller"),t.enter("tableDelimiterMarker"),t.consume(N),t.exit("tableDelimiterMarker"),w):(t.exit("tableDelimiterFiller"),w(N))}function w(N){return Te(N)?Oe(t,z,"whitespace")(N):z(N)}function z(N){return N===124?g(N):N===null||Be(N)?!s||o!==u?R(N):(t.exit("tableDelimiterRow"),t.exit("tableHead"),r(N)):R(N)}function R(N){return i(N)}function S(N){return t.enter("tableRow"),M(N)}function M(N){return N===124?(t.enter("tableCellDivider"),t.consume(N),t.exit("tableCellDivider"),M):N===null||Be(N)?(t.exit("tableRow"),r(N)):Te(N)?Oe(t,M,"whitespace")(N):(t.enter("data"),j(N))}function j(N){return N===null||N===124||Xe(N)?(t.exit("data"),M(N)):(t.consume(N),N===92?I:j)}function I(N){return N===92||N===124?(t.consume(N),j):j(N)}}function ry(t,r){let i=-1,a=!0,o=0,u=[0,0,0,0],s=[0,0,0,0],f=!1,d=0,E,p,m;const C=new $D;for(;++i<t.length;){const B=t[i],g=B[1];B[0]==="enter"?g.type==="tableHead"?(f=!1,d!==0&&(UE(C,r,d,E,p),p=void 0,d=0),E={type:"table",start:Object.assign({},g.start),end:Object.assign({},g.end)},C.add(i,0,[["enter",E,r]])):g.type==="tableRow"||g.type==="tableDelimiterRow"?(a=!0,m=void 0,u=[0,0,0,0],s=[0,i+1,0,0],f&&(f=!1,p={type:"tableBody",start:Object.assign({},g.start),end:Object.assign({},g.end)},C.add(i,0,[["enter",p,r]])),o=g.type==="tableDelimiterRow"?2:p?3:1):o&&(g.type==="data"||g.type==="tableDelimiterMarker"||g.type==="tableDelimiterFiller")?(a=!1,s[2]===0&&(u[1]!==0&&(s[0]=s[1],m=Xa(C,r,u,o,void 0,m),u=[0,0,0,0]),s[2]=i)):g.type==="tableCellDivider"&&(a?a=!1:(u[1]!==0&&(s[0]=s[1],m=Xa(C,r,u,o,void 0,m)),u=s,s=[u[1],i,0,0])):g.type==="tableHead"?(f=!0,d=i):g.type==="tableRow"||g.type==="tableDelimiterRow"?(d=i,u[1]!==0?(s[0]=s[1],m=Xa(C,r,u,o,i,m)):s[1]!==0&&(m=Xa(C,r,s,o,i,m)),o=0):o&&(g.type==="data"||g.type==="tableDelimiterMarker"||g.type==="tableDelimiterFiller")&&(s[3]=i)}for(d!==0&&UE(C,r,d,E,p),C.consume(r.events),i=-1;++i<r.events.length;){const B=r.events[i];B[0]==="enter"&&B[1].type==="table"&&(B[1]._align=ey(r.events,i))}return t}function Xa(t,r,i,a,o,u){const s=a===1?"tableHeader":a===2?"tableDelimiter":"tableData",f="tableContent";i[0]!==0&&(u.end=Object.assign({},Jr(r.events,i[0])),t.add(i[0],0,[["exit",u,r]]));const d=Jr(r.events,i[1]);if(u={type:s,start:Object.assign({},d),end:Object.assign({},d)},t.add(i[1],0,[["enter",u,r]]),i[2]!==0){const E=Jr(r.events,i[2]),p=Jr(r.events,i[3]),m={type:f,start:Object.assign({},E),end:Object.assign({},p)};if(t.add(i[2],0,[["enter",m,r]]),a!==2){const C=r.events[i[2]],B=r.events[i[3]];if(C[1].end=Object.assign({},B[1].end),C[1].type="chunkText",C[1].contentType="text",i[3]>i[2]+1){const g=i[2]+1,y=i[3]-i[2]-1;t.add(g,y,[])}}t.add(i[3]+1,0,[["exit",m,r]])}return o!==void 0&&(u.end=Object.assign({},Jr(r.events,o)),t.add(o,0,[["exit",u,r]]),u=void 0),u}function UE(t,r,i,a,o){const u=[],s=Jr(r.events,i);o&&(o.end=Object.assign({},s),u.push(["exit",o,r])),a.end=Object.assign({},s),u.push(["exit",a,r]),t.add(i+1,0,u)}function Jr(t,r){const i=t[r],a=i[0]==="enter"?"start":"end";return i[1][a]}const ly={name:"tasklistCheck",tokenize:ay};function iy(){return{text:{91:ly}}}function ay(t,r,i){const a=this;return o;function o(d){return a.previous!==null||!a._gfmTasklistFirstContentOfListItem?i(d):(t.enter("taskListCheck"),t.enter("taskListCheckMarker"),t.consume(d),t.exit("taskListCheckMarker"),u)}function u(d){return Xe(d)?(t.enter("taskListCheckValueUnchecked"),t.consume(d),t.exit("taskListCheckValueUnchecked"),s):d===88||d===120?(t.enter("taskListCheckValueChecked"),t.consume(d),t.exit("taskListCheckValueChecked"),s):i(d)}function s(d){return d===93?(t.enter("taskListCheckMarker"),t.consume(d),t.exit("taskListCheckMarker"),t.exit("taskListCheck"),f):i(d)}function f(d){return Be(d)?r(d):Te(d)?t.check({tokenize:xy},r,i)(d):i(d)}}function xy(t,r,i){return Oe(t,a,"whitespace");function a(o){return o===null?i(o):r(o)}}function oy(t){return u6([RD(),QD(),JD(t),ty(),iy()])}const uy={};function sy(t){const r=this,i=t||uy,a=r.data(),o=a.micromarkExtensions||(a.micromarkExtensions=[]),u=a.fromMarkdownExtensions||(a.fromMarkdownExtensions=[]),s=a.toMarkdownExtensions||(a.toMarkdownExtensions=[]);o.push(oy(i)),u.push(SD()),s.push(TD(i))}function HE({children:t}){return O.jsx("div",{className:"md",children:O.jsx(Z3,{remarkPlugins:[sy,ag],children:t})})}function cy({sessionId:t}){const{entries:r,loading:i,error:a}=O7(t),o=H.useRef(null),u=H.useRef(!0),s=()=>{const f=o.current;f&&(u.current=f.scrollHeight-f.scrollTop-f.clientHeight<120)};return H.useLayoutEffect(()=>{const f=o.current;f&&u.current&&(f.scrollTop=f.scrollHeight)},[r]),H.useEffect(()=>{u.current=!0},[t]),t?O.jsx("div",{ref:o,onScroll:s,className:"min-w-0 flex-1 overflow-y-auto overflow-x-hidden px-3 py-3",children:i&&r.length===0?O.jsx(dx,{label:"Loading transcript…"}):a&&r.length===0?O.jsx(r0,{children:a}):r.length===0?O.jsx(r0,{children:"No messages yet."}):O.jsx("div",{className:"flex min-w-0 flex-col gap-2.5",children:r.map(f=>O.jsx(fy,{e:f},`${f.rowid}-${f.id}`))})}):O.jsx(r0,{children:"No active session in this workspace."})}function fy({e:t}){return t.role==="user"?O.jsx("div",{className:"flex justify-end",children:O.jsxs(qE,{className:pn("max-w-[85%] bg-accent-soft text-text",t.queued&&"opacity-60"),children:[t.queued?O.jsx(dy,{children:"queued"}):null,O.jsx(HE,{children:t.text})]})}):t.role==="tool"?O.jsx("div",{className:"overflow-hidden rounded-xl border border-border-soft bg-surface/60 px-3 py-2",children:O.jsx("pre",{className:"whitespace-pre-wrap font-mono text-[12px] leading-relaxed text-muted [overflow-wrap:anywhere]",children:t.text})}):t.role==="system"?O.jsx("div",{className:"px-2 text-center text-[11px] text-faint",children:t.text}):O.jsx("div",{className:"flex justify-start",children:O.jsx(qE,{className:pn("max-w-[92%] bg-surface",t.role==="thinking"&&"italic text-muted"),children:O.jsx(HE,{children:t.text})})})}function qE({children:t,className:r}){return O.jsx("div",{className:pn("min-w-0 rounded-2xl px-3.5 py-2.5 text-[14px] leading-relaxed [overflow-wrap:anywhere]",r),children:t})}function dy({children:t}){return O.jsx("div",{className:"mb-1 text-[10px] font-semibold uppercase tracking-wide text-faint",children:t})}function Ey(){const{workspaceId:t}=tC(),[r,i]=H.useState(!1),[a,o]=H.useState(null),[u,s]=H.useState(!1),f=th(),{data:d,isLoading:E}=Th(),{data:p}=M7(t);H.useEffect(()=>o(null),[t]);const m=d?.workspaces.find(b=>b.id===t),C=d?.actuator;if(!m)return O.jsxs("div",{className:"flex h-full flex-col overflow-hidden",children:[O.jsx(As,{title:"Session",menu:!0}),E?O.jsx(dx,{}):O.jsx("div",{className:"p-6 text-center text-sm text-muted",children:"Workspace not found."})]});const B=p?.sessions??[],g=(a&&B.some(b=>b.id===a)?a:null)??m.active_session_id??B[0]?.id??null,y=[m.repo_name,m.branch,Ih(m.model)].filter(Boolean).join(" · "),F=async()=>{if(!u){s(!0);try{const b=await xr.newChat(m.id);b.ok&&(await f.invalidateQueries({queryKey:["sessions",m.id]}),b.sessionId&&o(b.sessionId))}finally{s(!1)}}};return O.jsxs("div",{className:"flex h-full min-w-0 overflow-hidden",children:[O.jsxs("div",{className:"flex min-w-0 flex-1 flex-col overflow-hidden",children:[O.jsx(As,{title:Ei(m),subtitle:y,menu:!0,right:O.jsxs("div",{className:"flex items-center gap-1",children:[O.jsx("button",{type:"button",onClick:F,disabled:u,"aria-label":"New chat, same files",className:"flex size-9 shrink-0 items-center justify-center rounded-full text-muted transition active:bg-surface-2 disabled:opacity-40",children:O.jsx(C7,{size:20})}),O.jsx("button",{type:"button",onClick:()=>i(b=>!b),"aria-label":"Toggle diff panel","aria-pressed":r,className:pn("flex size-9 shrink-0 items-center justify-center rounded-full text-muted transition active:bg-surface-2",r&&"bg-surface-2 text-text"),children:O.jsx(f7,{size:19})})]})}),B.length>1?O.jsx(hy,{sessions:B,activeId:g,onSelect:o}):null,O.jsx(cy,{sessionId:g}),O.jsx(RB,{sessionId:g,workspaceId:m.id,actuator:C})]}),r?O.jsx(my,{workspaceId:m.id,onClose:()=>i(!1)}):null]})}function hy({sessions:t,activeId:r,onSelect:i}){return O.jsx("nav",{className:"flex shrink-0 gap-1 overflow-x-auto border-b border-border-soft bg-bg px-3 py-2",children:t.map(a=>O.jsxs("button",{type:"button",onClick:()=>i(a.id),className:pn("pill flex shrink-0 items-center gap-1.5",a.id===r&&"pill-active"),children:[a.status==="working"?O.jsx("span",{className:"dot dot-working size-1.5!"}):null,O.jsx("span",{className:"max-w-36 truncate",children:a.title||"Untitled"}),a.unread_count?O.jsx(Xh,{children:a.unread_count}):null]},a.id))})}function my({workspaceId:t,onClose:r}){return O.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:[O.jsxs("header",{className:"pt-safe flex items-center gap-2 border-b border-border-soft px-3 pb-2.5",children:[O.jsx("span",{className:"flex-1 text-[15px] font-semibold",children:"Diff"}),O.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:O.jsx(cx,{size:20})})]}),O.jsx(NB,{workspaceId:t})]})}var $a={exports:{}},py=$a.exports,QE;function Cy(){return QE||(QE=1,(function(t,r){(function(a,o){t.exports=o()})(typeof self<"u"?self:py,function(){return(function(i){var a={};function o(u){if(a[u])return a[u].exports;var s=a[u]={i:u,l:!1,exports:{}};return i[u].call(s.exports,s,s.exports,o),s.l=!0,s.exports}return o.m=i,o.c=a,o.d=function(u,s,f){o.o(u,s)||Object.defineProperty(u,s,{configurable:!1,enumerable:!0,get:f})},o.n=function(u){var s=u&&u.__esModule?function(){return u.default}:function(){return u};return o.d(s,"a",s),s},o.o=function(u,s){return Object.prototype.hasOwnProperty.call(u,s)},o.p="",o(o.s=3)})([(function(i,a,o){Object.defineProperty(a,"__esModule",{value:!0});var u=(function(){function s(f,d){this.width=d,this.height=f.length/d,this.data=f}return s.createEmpty=function(f,d){return new s(new Uint8ClampedArray(f*d),f)},s.prototype.get=function(f,d){return f<0||f>=this.width||d<0||d>=this.height?!1:!!this.data[d*this.width+f]},s.prototype.set=function(f,d,E){this.data[d*this.width+f]=E?1:0},s.prototype.setRegion=function(f,d,E,p,m){for(var C=d;C<d+p;C++)for(var B=f;B<f+E;B++)this.set(B,C,!!m)},s})();a.BitMatrix=u}),(function(i,a,o){Object.defineProperty(a,"__esModule",{value:!0});var u=o(2);function s(d,E){return d^E}a.addOrSubtractGF=s;var f=(function(){function d(E,p,m){this.primitive=E,this.size=p,this.generatorBase=m,this.expTable=new Array(this.size),this.logTable=new Array(this.size);for(var C=1,B=0;B<this.size;B++)this.expTable[B]=C,C=C*2,C>=this.size&&(C=(C^this.primitive)&this.size-1);for(var B=0;B<this.size-1;B++)this.logTable[this.expTable[B]]=B;this.zero=new u.default(this,Uint8ClampedArray.from([0])),this.one=new u.default(this,Uint8ClampedArray.from([1]))}return d.prototype.multiply=function(E,p){return E===0||p===0?0:this.expTable[(this.logTable[E]+this.logTable[p])%(this.size-1)]},d.prototype.inverse=function(E){if(E===0)throw new Error("Can't invert 0");return this.expTable[this.size-this.logTable[E]-1]},d.prototype.buildMonomial=function(E,p){if(E<0)throw new Error("Invalid monomial degree less than 0");if(p===0)return this.zero;var m=new Uint8ClampedArray(E+1);return m[0]=p,new u.default(this,m)},d.prototype.log=function(E){if(E===0)throw new Error("Can't take log(0)");return this.logTable[E]},d.prototype.exp=function(E){return this.expTable[E]},d})();a.default=f}),(function(i,a,o){Object.defineProperty(a,"__esModule",{value:!0});var u=o(1),s=(function(){function f(d,E){if(E.length===0)throw new Error("No coefficients.");this.field=d;var p=E.length;if(p>1&&E[0]===0){for(var m=1;m<p&&E[m]===0;)m++;if(m===p)this.coefficients=d.zero.coefficients;else{this.coefficients=new Uint8ClampedArray(p-m);for(var C=0;C<this.coefficients.length;C++)this.coefficients[C]=E[m+C]}}else this.coefficients=E}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 E;if(this.isZero())return d;if(d.isZero())return this;var p=this.coefficients,m=d.coefficients;p.length>m.length&&(E=[m,p],p=E[0],m=E[1]);for(var C=new Uint8ClampedArray(m.length),B=m.length-p.length,g=0;g<B;g++)C[g]=m[g];for(var g=B;g<m.length;g++)C[g]=u.addOrSubtractGF(p[g-B],m[g]);return new f(this.field,C)},f.prototype.multiply=function(d){if(d===0)return this.field.zero;if(d===1)return this;for(var E=this.coefficients.length,p=new Uint8ClampedArray(E),m=0;m<E;m++)p[m]=this.field.multiply(this.coefficients[m],d);return new f(this.field,p)},f.prototype.multiplyPoly=function(d){if(this.isZero()||d.isZero())return this.field.zero;for(var E=this.coefficients,p=E.length,m=d.coefficients,C=m.length,B=new Uint8ClampedArray(p+C-1),g=0;g<p;g++)for(var y=E[g],F=0;F<C;F++)B[g+F]=u.addOrSubtractGF(B[g+F],this.field.multiply(y,m[F]));return new f(this.field,B)},f.prototype.multiplyByMonomial=function(d,E){if(d<0)throw new Error("Invalid degree less than 0");if(E===0)return this.field.zero;for(var p=this.coefficients.length,m=new Uint8ClampedArray(p+d),C=0;C<p;C++)m[C]=this.field.multiply(this.coefficients[C],E);return new f(this.field,m)},f.prototype.evaluateAt=function(d){var E=0;if(d===0)return this.getCoefficient(0);var p=this.coefficients.length;if(d===1)return this.coefficients.forEach(function(C){E=u.addOrSubtractGF(E,C)}),E;E=this.coefficients[0];for(var m=1;m<p;m++)E=u.addOrSubtractGF(this.field.multiply(d,E),this.coefficients[m]);return E},f})();a.default=s}),(function(i,a,o){Object.defineProperty(a,"__esModule",{value:!0});var u=o(4),s=o(5),f=o(11),d=o(12);function E(C){var B=d.locate(C);if(!B)return null;for(var g=0,y=B;g<y.length;g++){var F=y[g],b=f.extract(C,F),L=s.decode(b.matrix);if(L)return{binaryData:L.bytes,data:L.text,chunks:L.chunks,version:L.version,location:{topRightCorner:b.mappingFunction(F.dimension,0),topLeftCorner:b.mappingFunction(0,0),bottomRightCorner:b.mappingFunction(F.dimension,F.dimension),bottomLeftCorner:b.mappingFunction(0,F.dimension),topRightFinderPattern:F.topRight,topLeftFinderPattern:F.topLeft,bottomLeftFinderPattern:F.bottomLeft,bottomRightAlignmentPattern:F.alignmentPattern}}}return null}var p={inversionAttempts:"attemptBoth"};function m(C,B,g,y){y===void 0&&(y={});var F=p;Object.keys(F||{}).forEach(function(M){F[M]=y[M]||F[M]});var b=F.inversionAttempts==="attemptBoth"||F.inversionAttempts==="invertFirst",L=F.inversionAttempts==="onlyInvert"||F.inversionAttempts==="invertFirst",w=u.binarize(C,B,g,b),z=w.binarized,R=w.inverted,S=E(L?R:z);return!S&&(F.inversionAttempts==="attemptBoth"||F.inversionAttempts==="invertFirst")&&(S=E(L?z:R)),S}m.default=m,a.default=m}),(function(i,a,o){Object.defineProperty(a,"__esModule",{value:!0});var u=o(0),s=8,f=24;function d(m,C,B){return m<C?C:m>B?B:m}var E=(function(){function m(C,B){this.width=C,this.data=new Uint8ClampedArray(C*B)}return m.prototype.get=function(C,B){return this.data[B*this.width+C]},m.prototype.set=function(C,B,g){this.data[B*this.width+C]=g},m})();function p(m,C,B,g){if(m.length!==C*B*4)throw new Error("Malformed data passed to binarizer.");for(var y=new E(C,B),F=0;F<C;F++)for(var b=0;b<B;b++){var L=m[(b*C+F)*4+0],w=m[(b*C+F)*4+1],z=m[(b*C+F)*4+2];y.set(F,b,.2126*L+.7152*w+.0722*z)}for(var R=Math.ceil(C/s),S=Math.ceil(B/s),M=new E(R,S),j=0;j<S;j++)for(var I=0;I<R;I++){for(var N=0,J=1/0,K=0,b=0;b<s;b++)for(var F=0;F<s;F++){var ie=y.get(I*s+F,j*s+b);N+=ie,J=Math.min(J,ie),K=Math.max(K,ie)}var re=N/Math.pow(s,2);if(K-J<=f&&(re=J/2,j>0&&I>0)){var X=(M.get(I,j-1)+2*M.get(I-1,j)+M.get(I-1,j-1))/4;J<X&&(re=X)}M.set(I,j,re)}var U=u.BitMatrix.createEmpty(C,B),V=null;g&&(V=u.BitMatrix.createEmpty(C,B));for(var j=0;j<S;j++)for(var I=0;I<R;I++){for(var ae=d(I,2,R-3),ce=d(j,2,S-3),N=0,v=-2;v<=2;v++)for(var T=-2;T<=2;T++)N+=M.get(ae+v,ce+T);for(var Z=N/25,v=0;v<s;v++)for(var T=0;T<s;T++){var F=I*s+v,b=j*s+T,k=y.get(F,b);U.set(F,b,k<=Z),g&&V.set(F,b,!(k<=Z))}}return g?{binarized:U,inverted:V}:{binarized:U}}a.binarize=p}),(function(i,a,o){Object.defineProperty(a,"__esModule",{value:!0});var u=o(0),s=o(6),f=o(9),d=o(10);function E(z,R){for(var S=z^R,M=0;S;)M++,S&=S-1;return M}function p(z,R){return R<<1|z}var m=[{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}}],C=[function(z){return(z.y+z.x)%2===0},function(z){return z.y%2===0},function(z){return z.x%3===0},function(z){return(z.y+z.x)%3===0},function(z){return(Math.floor(z.y/2)+Math.floor(z.x/3))%2===0},function(z){return z.x*z.y%2+z.x*z.y%3===0},function(z){return(z.y*z.x%2+z.y*z.x%3)%2===0},function(z){return((z.y+z.x)%2+z.y*z.x%3)%2===0}];function B(z){var R=17+4*z.versionNumber,S=u.BitMatrix.createEmpty(R,R);S.setRegion(0,0,9,9,!0),S.setRegion(R-8,0,8,9,!0),S.setRegion(0,R-8,9,8,!0);for(var M=0,j=z.alignmentPatternCenters;M<j.length;M++)for(var I=j[M],N=0,J=z.alignmentPatternCenters;N<J.length;N++){var K=J[N];I===6&&K===6||I===6&&K===R-7||I===R-7&&K===6||S.setRegion(I-2,K-2,5,5,!0)}return S.setRegion(6,9,1,R-17,!0),S.setRegion(9,6,R-17,1,!0),z.versionNumber>6&&(S.setRegion(R-11,0,3,6,!0),S.setRegion(0,R-11,6,3,!0)),S}function g(z,R,S){for(var M=C[S.dataMask],j=z.height,I=B(R),N=[],J=0,K=0,ie=!0,re=j-1;re>0;re-=2){re===6&&re--;for(var X=0;X<j;X++)for(var U=ie?j-1-X:X,V=0;V<2;V++){var ae=re-V;if(!I.get(ae,U)){K++;var ce=z.get(ae,U);M({y:U,x:ae})&&(ce=!ce),J=p(ce,J),K===8&&(N.push(J),K=0,J=0)}}ie=!ie}return N}function y(z){var R=z.height,S=Math.floor((R-17)/4);if(S<=6)return d.VERSIONS[S-1];for(var M=0,j=5;j>=0;j--)for(var I=R-9;I>=R-11;I--)M=p(z.get(I,j),M);for(var N=0,I=5;I>=0;I--)for(var j=R-9;j>=R-11;j--)N=p(z.get(I,j),N);for(var J=1/0,K,ie=0,re=d.VERSIONS;ie<re.length;ie++){var X=re[ie];if(X.infoBits===M||X.infoBits===N)return X;var U=E(M,X.infoBits);U<J&&(K=X,J=U),U=E(N,X.infoBits),U<J&&(K=X,J=U)}if(J<=3)return K}function F(z){for(var R=0,S=0;S<=8;S++)S!==6&&(R=p(z.get(S,8),R));for(var M=7;M>=0;M--)M!==6&&(R=p(z.get(8,M),R));for(var j=z.height,I=0,M=j-1;M>=j-7;M--)I=p(z.get(8,M),I);for(var S=j-8;S<j;S++)I=p(z.get(S,8),I);for(var N=1/0,J=null,K=0,ie=m;K<ie.length;K++){var re=ie[K],X=re.bits,U=re.formatInfo;if(X===R||X===I)return U;var V=E(R,X);V<N&&(J=U,N=V),R!==I&&(V=E(I,X),V<N&&(J=U,N=V))}return N<=3?J:null}function b(z,R,S){var M=R.errorCorrectionLevels[S],j=[],I=0;if(M.ecBlocks.forEach(function(ce){for(var v=0;v<ce.numBlocks;v++)j.push({numDataCodewords:ce.dataCodewordsPerBlock,codewords:[]}),I+=ce.dataCodewordsPerBlock+M.ecCodewordsPerBlock}),z.length<I)return null;z=z.slice(0,I);for(var N=M.ecBlocks[0].dataCodewordsPerBlock,J=0;J<N;J++)for(var K=0,ie=j;K<ie.length;K++){var re=ie[K];re.codewords.push(z.shift())}if(M.ecBlocks.length>1)for(var X=M.ecBlocks[0].numBlocks,U=M.ecBlocks[1].numBlocks,J=0;J<U;J++)j[X+J].codewords.push(z.shift());for(;z.length>0;)for(var V=0,ae=j;V<ae.length;V++){var re=ae[V];re.codewords.push(z.shift())}return j}function L(z){var R=y(z);if(!R)return null;var S=F(z);if(!S)return null;var M=g(z,R,S),j=b(M,R,S.errorCorrectionLevel);if(!j)return null;for(var I=j.reduce(function(V,ae){return V+ae.numDataCodewords},0),N=new Uint8ClampedArray(I),J=0,K=0,ie=j;K<ie.length;K++){var re=ie[K],X=f.decode(re.codewords,re.codewords.length-re.numDataCodewords);if(!X)return null;for(var U=0;U<re.numDataCodewords;U++)N[J++]=X[U]}try{return s.decode(N,R.versionNumber)}catch{return null}}function w(z){if(z==null)return null;var R=L(z);if(R)return R;for(var S=0;S<z.width;S++)for(var M=S+1;M<z.height;M++)z.get(S,M)!==z.get(M,S)&&(z.set(S,M,!z.get(S,M)),z.set(M,S,!z.get(M,S)));return L(z)}a.decode=w}),(function(i,a,o){Object.defineProperty(a,"__esModule",{value:!0});var u=o(7),s=o(8),f;(function(y){y.Numeric="numeric",y.Alphanumeric="alphanumeric",y.Byte="byte",y.Kanji="kanji",y.ECI="eci"})(f=a.Mode||(a.Mode={}));var d;(function(y){y[y.Terminator=0]="Terminator",y[y.Numeric=1]="Numeric",y[y.Alphanumeric=2]="Alphanumeric",y[y.Byte=4]="Byte",y[y.Kanji=8]="Kanji",y[y.ECI=7]="ECI"})(d||(d={}));function E(y,F){for(var b=[],L="",w=[10,12,14][F],z=y.readBits(w);z>=3;){var R=y.readBits(10);if(R>=1e3)throw new Error("Invalid numeric value above 999");var S=Math.floor(R/100),M=Math.floor(R/10)%10,j=R%10;b.push(48+S,48+M,48+j),L+=S.toString()+M.toString()+j.toString(),z-=3}if(z===2){var R=y.readBits(7);if(R>=100)throw new Error("Invalid numeric value above 99");var S=Math.floor(R/10),M=R%10;b.push(48+S,48+M),L+=S.toString()+M.toString()}else if(z===1){var R=y.readBits(4);if(R>=10)throw new Error("Invalid numeric value above 9");b.push(48+R),L+=R.toString()}return{bytes:b,text:L}}var p=["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 m(y,F){for(var b=[],L="",w=[9,11,13][F],z=y.readBits(w);z>=2;){var R=y.readBits(11),S=Math.floor(R/45),M=R%45;b.push(p[S].charCodeAt(0),p[M].charCodeAt(0)),L+=p[S]+p[M],z-=2}if(z===1){var S=y.readBits(6);b.push(p[S].charCodeAt(0)),L+=p[S]}return{bytes:b,text:L}}function C(y,F){for(var b=[],L="",w=[8,16,16][F],z=y.readBits(w),R=0;R<z;R++){var S=y.readBits(8);b.push(S)}try{L+=decodeURIComponent(b.map(function(M){return"%"+("0"+M.toString(16)).substr(-2)}).join(""))}catch{}return{bytes:b,text:L}}function B(y,F){for(var b=[],L="",w=[8,10,12][F],z=y.readBits(w),R=0;R<z;R++){var S=y.readBits(13),M=Math.floor(S/192)<<8|S%192;M<7936?M+=33088:M+=49472,b.push(M>>8,M&255),L+=String.fromCharCode(s.shiftJISTable[M])}return{bytes:b,text:L}}function g(y,F){for(var b,L,w,z,R=new u.BitStream(y),S=F<=9?0:F<=26?1:2,M={text:"",bytes:[],chunks:[],version:F};R.available()>=4;){var j=R.readBits(4);if(j===d.Terminator)return M;if(j===d.ECI)R.readBits(1)===0?M.chunks.push({type:f.ECI,assignmentNumber:R.readBits(7)}):R.readBits(1)===0?M.chunks.push({type:f.ECI,assignmentNumber:R.readBits(14)}):R.readBits(1)===0?M.chunks.push({type:f.ECI,assignmentNumber:R.readBits(21)}):M.chunks.push({type:f.ECI,assignmentNumber:-1});else if(j===d.Numeric){var I=E(R,S);M.text+=I.text,(b=M.bytes).push.apply(b,I.bytes),M.chunks.push({type:f.Numeric,text:I.text})}else if(j===d.Alphanumeric){var N=m(R,S);M.text+=N.text,(L=M.bytes).push.apply(L,N.bytes),M.chunks.push({type:f.Alphanumeric,text:N.text})}else if(j===d.Byte){var J=C(R,S);M.text+=J.text,(w=M.bytes).push.apply(w,J.bytes),M.chunks.push({type:f.Byte,bytes:J.bytes,text:J.text})}else if(j===d.Kanji){var K=B(R,S);M.text+=K.text,(z=M.bytes).push.apply(z,K.bytes),M.chunks.push({type:f.Kanji,bytes:K.bytes,text:K.text})}}if(R.available()===0||R.readBits(R.available())===0)return M}a.decode=g}),(function(i,a,o){Object.defineProperty(a,"__esModule",{value:!0});var u=(function(){function s(f){this.byteOffset=0,this.bitOffset=0,this.bytes=f}return s.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 E=8-this.bitOffset,p=f<E?f:E,m=E-p,C=255>>8-p<<m;d=(this.bytes[this.byteOffset]&C)>>m,f-=p,this.bitOffset+=p,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 m=8-f,C=255>>m<<m;d=d<<f|(this.bytes[this.byteOffset]&C)>>m,this.bitOffset+=f}}return d},s.prototype.available=function(){return 8*(this.bytes.length-this.byteOffset)-this.bitOffset},s})();a.BitStream=u}),(function(i,a,o){Object.defineProperty(a,"__esModule",{value:!0}),a.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(i,a,o){Object.defineProperty(a,"__esModule",{value:!0});var u=o(1),s=o(2);function f(m,C,B,g){var y;C.degree()<B.degree()&&(y=[B,C],C=y[0],B=y[1]);for(var F=C,b=B,L=m.zero,w=m.one;b.degree()>=g/2;){var z=F,R=L;if(F=b,L=w,F.isZero())return null;b=z;for(var S=m.zero,M=F.getCoefficient(F.degree()),j=m.inverse(M);b.degree()>=F.degree()&&!b.isZero();){var I=b.degree()-F.degree(),N=m.multiply(b.getCoefficient(b.degree()),j);S=S.addOrSubtract(m.buildMonomial(I,N)),b=b.addOrSubtract(F.multiplyByMonomial(I,N))}if(w=S.multiplyPoly(L).addOrSubtract(R),b.degree()>=F.degree())return null}var J=w.getCoefficient(0);if(J===0)return null;var K=m.inverse(J);return[w.multiply(K),b.multiply(K)]}function d(m,C){var B=C.degree();if(B===1)return[C.getCoefficient(1)];for(var g=new Array(B),y=0,F=1;F<m.size&&y<B;F++)C.evaluateAt(F)===0&&(g[y]=m.inverse(F),y++);return y!==B?null:g}function E(m,C,B){for(var g=B.length,y=new Array(g),F=0;F<g;F++){for(var b=m.inverse(B[F]),L=1,w=0;w<g;w++)F!==w&&(L=m.multiply(L,u.addOrSubtractGF(1,m.multiply(B[w],b))));y[F]=m.multiply(C.evaluateAt(b),m.inverse(L)),m.generatorBase!==0&&(y[F]=m.multiply(y[F],b))}return y}function p(m,C){var B=new Uint8ClampedArray(m.length);B.set(m);for(var g=new u.default(285,256,0),y=new s.default(g,B),F=new Uint8ClampedArray(C),b=!1,L=0;L<C;L++){var w=y.evaluateAt(g.exp(L+g.generatorBase));F[F.length-1-L]=w,w!==0&&(b=!0)}if(!b)return B;var z=new s.default(g,F),R=f(g,g.buildMonomial(C,1),z,C);if(R===null)return null;var S=d(g,R[0]);if(S==null)return null;for(var M=E(g,R[1],S),j=0;j<S.length;j++){var I=B.length-1-g.log(S[j]);if(I<0)return null;B[I]=u.addOrSubtractGF(B[I],M[j])}return B}a.decode=p}),(function(i,a,o){Object.defineProperty(a,"__esModule",{value:!0}),a.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(i,a,o){Object.defineProperty(a,"__esModule",{value:!0});var u=o(0);function s(p,m,C,B){var g=p.x-m.x+C.x-B.x,y=p.y-m.y+C.y-B.y;if(g===0&&y===0)return{a11:m.x-p.x,a12:m.y-p.y,a13:0,a21:C.x-m.x,a22:C.y-m.y,a23:0,a31:p.x,a32:p.y,a33:1};var F=m.x-C.x,b=B.x-C.x,L=m.y-C.y,w=B.y-C.y,z=F*w-b*L,R=(g*w-b*y)/z,S=(F*y-g*L)/z;return{a11:m.x-p.x+R*m.x,a12:m.y-p.y+R*m.y,a13:R,a21:B.x-p.x+S*B.x,a22:B.y-p.y+S*B.y,a23:S,a31:p.x,a32:p.y,a33:1}}function f(p,m,C,B){var g=s(p,m,C,B);return{a11:g.a22*g.a33-g.a23*g.a32,a12:g.a13*g.a32-g.a12*g.a33,a13:g.a12*g.a23-g.a13*g.a22,a21:g.a23*g.a31-g.a21*g.a33,a22:g.a11*g.a33-g.a13*g.a31,a23:g.a13*g.a21-g.a11*g.a23,a31:g.a21*g.a32-g.a22*g.a31,a32:g.a12*g.a31-g.a11*g.a32,a33:g.a11*g.a22-g.a12*g.a21}}function d(p,m){return{a11:p.a11*m.a11+p.a21*m.a12+p.a31*m.a13,a12:p.a12*m.a11+p.a22*m.a12+p.a32*m.a13,a13:p.a13*m.a11+p.a23*m.a12+p.a33*m.a13,a21:p.a11*m.a21+p.a21*m.a22+p.a31*m.a23,a22:p.a12*m.a21+p.a22*m.a22+p.a32*m.a23,a23:p.a13*m.a21+p.a23*m.a22+p.a33*m.a23,a31:p.a11*m.a31+p.a21*m.a32+p.a31*m.a33,a32:p.a12*m.a31+p.a22*m.a32+p.a32*m.a33,a33:p.a13*m.a31+p.a23*m.a32+p.a33*m.a33}}function E(p,m){for(var C=f({x:3.5,y:3.5},{x:m.dimension-3.5,y:3.5},{x:m.dimension-6.5,y:m.dimension-6.5},{x:3.5,y:m.dimension-3.5}),B=s(m.topLeft,m.topRight,m.alignmentPattern,m.bottomLeft),g=d(B,C),y=u.BitMatrix.createEmpty(m.dimension,m.dimension),F=function(S,M){var j=g.a13*S+g.a23*M+g.a33;return{x:(g.a11*S+g.a21*M+g.a31)/j,y:(g.a12*S+g.a22*M+g.a32)/j}},b=0;b<m.dimension;b++)for(var L=0;L<m.dimension;L++){var w=L+.5,z=b+.5,R=F(w,z);y.set(L,b,p.get(Math.floor(R.x),Math.floor(R.y)))}return{matrix:y,mappingFunction:F}}a.extract=E}),(function(i,a,o){Object.defineProperty(a,"__esModule",{value:!0});var u=4,s=.5,f=1.5,d=function(w,z){return Math.sqrt(Math.pow(z.x-w.x,2)+Math.pow(z.y-w.y,2))};function E(w){return w.reduce(function(z,R){return z+R})}function p(w,z,R){var S,M,j,I,N=d(w,z),J=d(z,R),K=d(w,R),ie,re,X;return J>=N&&J>=K?(S=[z,w,R],ie=S[0],re=S[1],X=S[2]):K>=J&&K>=N?(M=[w,z,R],ie=M[0],re=M[1],X=M[2]):(j=[w,R,z],ie=j[0],re=j[1],X=j[2]),(X.x-re.x)*(ie.y-re.y)-(X.y-re.y)*(ie.x-re.x)<0&&(I=[X,ie],ie=I[0],X=I[1]),{bottomLeft:ie,topLeft:re,topRight:X}}function m(w,z,R,S){var M=(E(B(w,R,S,5))/7+E(B(w,z,S,5))/7+E(B(R,w,S,5))/7+E(B(z,w,S,5))/7)/4;if(M<1)throw new Error("Invalid module size");var j=Math.round(d(w,z)/M),I=Math.round(d(w,R)/M),N=Math.floor((j+I)/2)+7;switch(N%4){case 0:N++;break;case 2:N--;break}return{dimension:N,moduleSize:M}}function C(w,z,R,S){var M=[{x:Math.floor(w.x),y:Math.floor(w.y)}],j=Math.abs(z.y-w.y)>Math.abs(z.x-w.x),I,N,J,K;j?(I=Math.floor(w.y),N=Math.floor(w.x),J=Math.floor(z.y),K=Math.floor(z.x)):(I=Math.floor(w.x),N=Math.floor(w.y),J=Math.floor(z.x),K=Math.floor(z.y));for(var ie=Math.abs(J-I),re=Math.abs(K-N),X=Math.floor(-ie/2),U=I<J?1:-1,V=N<K?1:-1,ae=!0,ce=I,v=N;ce!==J+U;ce+=U){var T=j?v:ce,Z=j?ce:v;if(R.get(T,Z)!==ae&&(ae=!ae,M.push({x:T,y:Z}),M.length===S+1))break;if(X+=re,X>0){if(v===K)break;v+=V,X-=ie}}for(var k=[],ne=0;ne<S;ne++)M[ne]&&M[ne+1]?k.push(d(M[ne],M[ne+1])):k.push(0);return k}function B(w,z,R,S){var M,j=z.y-w.y,I=z.x-w.x,N=C(w,z,R,Math.ceil(S/2)),J=C(w,{x:w.x-I,y:w.y-j},R,Math.ceil(S/2)),K=N.shift()+J.shift()-1;return(M=J.concat(K)).concat.apply(M,N)}function g(w,z){var R=E(w)/E(z),S=0;return z.forEach(function(M,j){S+=Math.pow(w[j]-M*R,2)}),{averageSize:R,error:S}}function y(w,z,R){try{var S=B(w,{x:-1,y:w.y},R,z.length),M=B(w,{x:w.x,y:-1},R,z.length),j={x:Math.max(0,w.x-w.y)-1,y:Math.max(0,w.y-w.x)-1},I=B(w,j,R,z.length),N={x:Math.min(R.width,w.x+w.y)+1,y:Math.min(R.height,w.y+w.x)+1},J=B(w,N,R,z.length),K=g(S,z),ie=g(M,z),re=g(I,z),X=g(J,z),U=Math.sqrt(K.error*K.error+ie.error*ie.error+re.error*re.error+X.error*X.error),V=(K.averageSize+ie.averageSize+re.averageSize+X.averageSize)/4,ae=(Math.pow(K.averageSize-V,2)+Math.pow(ie.averageSize-V,2)+Math.pow(re.averageSize-V,2)+Math.pow(X.averageSize-V,2))/V;return U+ae}catch{return 1/0}}function F(w,z){for(var R=Math.round(z.x);w.get(R,Math.round(z.y));)R--;for(var S=Math.round(z.x);w.get(S,Math.round(z.y));)S++;for(var M=(R+S)/2,j=Math.round(z.y);w.get(Math.round(M),j);)j--;for(var I=Math.round(z.y);w.get(Math.round(M),I);)I++;var N=(j+I)/2;return{x:M,y:N}}function b(w){for(var z=[],R=[],S=[],M=[],j=function(T){for(var Z=0,k=!1,ne=[0,0,0,0,0],se=function(me){var _e=w.get(me,T);if(_e===k)Z++;else{ne=[ne[1],ne[2],ne[3],ne[4],Z],Z=1,k=_e;var pe=E(ne)/7,ht=Math.abs(ne[0]-pe)<pe&&Math.abs(ne[1]-pe)<pe&&Math.abs(ne[2]-3*pe)<3*pe&&Math.abs(ne[3]-pe)<pe&&Math.abs(ne[4]-pe)<pe&&!_e,tt=E(ne.slice(-3))/3,rn=Math.abs(ne[2]-tt)<tt&&Math.abs(ne[3]-tt)<tt&&Math.abs(ne[4]-tt)<tt&&_e;if(ht){var Gt=me-ne[3]-ne[4],lt=Gt-ne[2],Mt={startX:lt,endX:Gt,y:T},ln=R.filter(function(mt){return lt>=mt.bottom.startX&<<=mt.bottom.endX||Gt>=mt.bottom.startX&<<=mt.bottom.endX||lt<=mt.bottom.startX&&Gt>=mt.bottom.endX&&ne[2]/(mt.bottom.endX-mt.bottom.startX)<f&&ne[2]/(mt.bottom.endX-mt.bottom.startX)>s});ln.length>0?ln[0].bottom=Mt:R.push({top:Mt,bottom:Mt})}if(rn){var Nn=me-ne[4],wn=Nn-ne[3],Mt={startX:wn,y:T,endX:Nn},ln=M.filter(function(yt){return wn>=yt.bottom.startX&&wn<=yt.bottom.endX||Nn>=yt.bottom.startX&&wn<=yt.bottom.endX||wn<=yt.bottom.startX&&Nn>=yt.bottom.endX&&ne[2]/(yt.bottom.endX-yt.bottom.startX)<f&&ne[2]/(yt.bottom.endX-yt.bottom.startX)>s});ln.length>0?ln[0].bottom=Mt:M.push({top:Mt,bottom:Mt})}}},oe=-1;oe<=w.width;oe++)se(oe);z.push.apply(z,R.filter(function(me){return me.bottom.y!==T&&me.bottom.y-me.top.y>=2})),R=R.filter(function(me){return me.bottom.y===T}),S.push.apply(S,M.filter(function(me){return me.bottom.y!==T})),M=M.filter(function(me){return me.bottom.y===T})},I=0;I<=w.height;I++)j(I);z.push.apply(z,R.filter(function(T){return T.bottom.y-T.top.y>=2})),S.push.apply(S,M);var N=z.filter(function(T){return T.bottom.y-T.top.y>=2}).map(function(T){var Z=(T.top.startX+T.top.endX+T.bottom.startX+T.bottom.endX)/4,k=(T.top.y+T.bottom.y+1)/2;if(w.get(Math.round(Z),Math.round(k))){var ne=[T.top.endX-T.top.startX,T.bottom.endX-T.bottom.startX,T.bottom.y-T.top.y+1],se=E(ne)/ne.length,oe=y({x:Math.round(Z),y:Math.round(k)},[1,1,3,1,1],w);return{score:oe,x:Z,y:k,size:se}}}).filter(function(T){return!!T}).sort(function(T,Z){return T.score-Z.score}).map(function(T,Z,k){if(Z>u)return null;var ne=k.filter(function(oe,me){return Z!==me}).map(function(oe){return{x:oe.x,y:oe.y,score:oe.score+Math.pow(oe.size-T.size,2)/T.size,size:oe.size}}).sort(function(oe,me){return oe.score-me.score});if(ne.length<2)return null;var se=T.score+ne[0].score+ne[1].score;return{points:[T].concat(ne.slice(0,2)),score:se}}).filter(function(T){return!!T}).sort(function(T,Z){return T.score-Z.score});if(N.length===0)return null;var J=p(N[0].points[0],N[0].points[1],N[0].points[2]),K=J.topRight,ie=J.topLeft,re=J.bottomLeft,X=L(w,S,K,ie,re),U=[];X&&U.push({alignmentPattern:{x:X.alignmentPattern.x,y:X.alignmentPattern.y},bottomLeft:{x:re.x,y:re.y},dimension:X.dimension,topLeft:{x:ie.x,y:ie.y},topRight:{x:K.x,y:K.y}});var V=F(w,K),ae=F(w,ie),ce=F(w,re),v=L(w,S,V,ae,ce);return v&&U.push({alignmentPattern:{x:v.alignmentPattern.x,y:v.alignmentPattern.y},bottomLeft:{x:ce.x,y:ce.y},topLeft:{x:ae.x,y:ae.y},topRight:{x:V.x,y:V.y},dimension:v.dimension}),U.length===0?null:U}a.locate=b;function L(w,z,R,S,M){var j,I,N;try{j=m(S,R,M,w),I=j.dimension,N=j.moduleSize}catch{return null}var J={x:R.x-S.x+M.x,y:R.y-S.y+M.y},K=(d(S,M)+d(S,R))/2/N,ie=1-3/K,re={x:S.x+ie*(J.x-S.x),y:S.y+ie*(J.y-S.y)},X=z.map(function(V){var ae=(V.top.startX+V.top.endX+V.bottom.startX+V.bottom.endX)/4,ce=(V.top.y+V.bottom.y+1)/2;if(w.get(Math.floor(ae),Math.floor(ce))){var v=[V.top.endX-V.top.startX,V.bottom.endX-V.bottom.startX,V.bottom.y-V.top.y+1];E(v)/v.length;var T=y({x:Math.floor(ae),y:Math.floor(ce)},[1,1,1],w),Z=T+d({x:ae,y:ce},re);return{x:ae,y:ce,score:Z}}}).filter(function(V){return!!V}).sort(function(V,ae){return V.score-ae.score}),U=K>=15&&X.length?X[0]:re;return{alignmentPattern:U,dimension:I}}})]).default})})($a)),$a.exports}var By=Cy();const Ay=ax(By);function gy({onResult:t,onClose:r}){const i=H.useRef(null),[a,o]=H.useState(null);return H.useEffect(()=>{let u=null,s=0,f=!1;const d=document.createElement("canvas"),E=d.getContext("2d",{willReadFrequently:!0}),p=()=>{const m=i.current;if(!(f||!m||!E)){if(m.readyState>=m.HAVE_ENOUGH_DATA&&m.videoWidth){d.width=m.videoWidth,d.height=m.videoHeight,E.drawImage(m,0,0,d.width,d.height);const{data:C,width:B,height:g}=E.getImageData(0,0,d.width,d.height),y=Ay(C,B,g,{inversionAttempts:"dontInvert"});if(y?.data){f=!0,t(y.data);return}}s=requestAnimationFrame(p)}};return navigator.mediaDevices?.getUserMedia({video:{facingMode:"environment"}}).then(m=>{if(f){for(const B of m.getTracks())B.stop();return}u=m;const C=i.current;C&&(C.srcObject=m,C.play(),s=requestAnimationFrame(p))}).catch(m=>o(Dy(m))),()=>{if(f=!0,cancelAnimationFrame(s),u)for(const m of u.getTracks())m.stop()}},[t]),O.jsxs("div",{className:"fixed inset-0 z-[60] bg-black",children:[O.jsx("video",{ref:i,muted:!0,playsInline:!0,className:"h-full w-full object-cover"}),O.jsx("div",{className:"pointer-events-none absolute inset-0 grid place-items-center",children:O.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)]"})}),O.jsxs("div",{className:"pt-safe absolute inset-x-0 top-0 flex items-center justify-between p-4",children:[O.jsx("span",{className:"rounded-full bg-black/50 px-3 py-1 text-sm text-white",children:"Point at the relay QR"}),O.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:O.jsx(cx,{size:20})})]}),a?O.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:a}):null]})}function Dy(t){const r=t instanceof DOMException?t.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 (${t instanceof Error?t.message:String(t)}). Paste the token instead.`:"The camera needs HTTPS. Open the relay’s https:// URL, or paste the token."}function yy(){const t=zt(E=>E.setToken),[r,i]=H.useState(""),[a,o]=H.useState(!1),[u,s]=H.useState(!1),f=E=>{const p=b7(E);s(!1),p?t(p):o(!0)},d=E=>{E.preventDefault(),f(r)};return u?O.jsx(gy,{onResult:f,onClose:()=>s(!1)}):O.jsxs("div",{className:"pt-safe pb-safe flex h-full flex-col items-center justify-center gap-5 px-8 text-center",children:[O.jsx("img",{src:"/icon.svg",alt:"",className:"size-20 rounded-3xl"}),O.jsxs("div",{children:[O.jsx("h1",{className:"text-xl font-semibold",children:"Conductor Remote"}),O.jsx("p",{className:"mt-1 text-sm text-muted",children:"Phone control panel for your local agents"})]}),O.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 (",O.jsx("span",{className:"font-mono text-faint",children:"/#token=…"}),"). Then use"," ",O.jsx("b",{className:"text-text",children:"Add to Home Screen"})," to install it."]}),O.jsxs("form",{onSubmit:d,className:"flex w-full max-w-xs flex-col gap-2",children:[O.jsx("input",{type:"text",inputMode:"text",autoCapitalize:"none",autoCorrect:"off",spellCheck:!1,value:r,onChange:E=>{i(E.target.value),o(!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-sm text-text placeholder:font-sans placeholder:text-faint"}),O.jsx("button",{type:"submit",className:"pill pill-active justify-center py-2.5",children:"Connect"}),O.jsxs("button",{type:"button",onClick:()=>{o(!1),s(!0)},className:"pill justify-center gap-2 py-2.5",children:[O.jsx(bh,{size:16}),"Scan QR"]}),a?O.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]}),O.jsxs("p",{className:"max-w-xs text-xs leading-relaxed text-faint",children:["Lost it? Run ",O.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."]})]})}const pi=new Uint8Array(512),Ms=new Uint8Array(256);let ni=1;for(let t=0;t<255;t++)pi[t]=ni,Ms[ni]=t,ni<<=1,ni&256&&(ni^=285);for(let t=255;t<512;t++)pi[t]=pi[t-255];function t1(t,r){return t===0||r===0?0:pi[Ms[t]+Ms[r]]}function Fy(t){let r=[1];for(let i=0;i<t;i++){const a=new Array(r.length+1).fill(0);for(let o=0;o<r.length;o++)a[o]^=r[o],a[o+1]^=t1(r[o],pi[i]);r=a}return r}function vy(t,r){const i=Fy(r),a=new Array(r).fill(0);for(const o of t){const u=o^a[0];if(a.shift(),a.push(0),u!==0)for(let s=0;s<r;s++)a[s]^=t1(i[s+1],u)}return a}const Ec={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 GE(t){return Ec[t].groups.reduce((r,[i,a])=>r+i*a,0)}function VE(t){return t<=9?8:16}function ri(t,r,i){for(let a=i-1;a>=0;a--)t.push(r>>a&1)}function by(t){const r=Array.from(new TextEncoder().encode(t));let i=0;for(let g=1;g<=10;g++)if(4+VE(g)+8*r.length<=GE(g)*8){i=g;break}if(i===0)throw new Error(`data too long for a v1–10 QR (${r.length} bytes)`);const a=GE(i)*8,o=[];ri(o,4,4),ri(o,r.length,VE(i));for(const g of r)ri(o,g,8);for(let g=0,y=Math.min(4,a-o.length);g<y;g++)o.push(0);for(;o.length%8!==0;)o.push(0);const u=[236,17];for(let g=0;o.length<a;g++)ri(o,u[g%2],8);const s=[];for(let g=0;g<o.length;g+=8){let y=0;for(let F=0;F<8;F++)y=y<<1|o[g+F];s.push(y)}const{ec:f,groups:d}=Ec[i],E=[];let p=0;for(const[g,y]of d)for(let F=0;F<g;F++){const b=s.slice(p,p+y);p+=y,E.push({data:b,ec:vy(b,f)})}const m=[],C=Math.max(...E.map(g=>g.data.length));for(let g=0;g<C;g++)for(const y of E)g<y.data.length&&m.push(y.data[g]);for(let g=0;g<f;g++)for(const y of E)m.push(y.ec[g]);const B=[];for(const g of m)ri(B,g,8);return{version:i,bits:B}}function ky(t,r){const i=t*4+17,a=Array.from({length:i},()=>new Array(i).fill(!1)),o=Array.from({length:i},()=>new Array(i).fill(!1)),u=(m,C)=>{for(let B=-1;B<=7;B++)for(let g=-1;g<=7;g++){const y=m+B,F=C+g;if(y<0||y>=i||F<0||F>=i)continue;const b=B>=0&&B<=6&&(g===0||g===6)||g>=0&&g<=6&&(B===0||B===6),L=B>=2&&B<=4&&g>=2&&g<=4;a[y][F]=b||L,o[y][F]=!0}};u(0,0),u(0,i-7),u(i-7,0);for(let m=8;m<i-8;m++){const C=m%2===0;o[6][m]||(a[6][m]=C,o[6][m]=!0),o[m][6]||(a[m][6]=C,o[m][6]=!0)}const s=Ec[t].align;for(let m=0;m<s.length;m++)for(let C=0;C<s.length;C++){if(m===0&&C===0||m===0&&C===s.length-1||m===s.length-1&&C===0)continue;const g=s[m],y=s[C];for(let F=-2;F<=2;F++)for(let b=-2;b<=2;b++)a[g+F][y+b]=Math.max(Math.abs(F),Math.abs(b))!==1,o[g+F][y+b]=!0}for(let m=0;m<=8;m++)m!==6&&(o[8][m]=!0,o[m][8]=!0);for(let m=0;m<8;m++)o[8][i-1-m]=!0,o[i-1-m][8]=!0;if(o[i-8][8]=!0,t>=7)for(let m=0;m<18;m++){const C=i-11+m%3,B=Math.floor(m/3);o[B][C]=!0,o[C][B]=!0}let f=0,d=!0;for(let m=i-1;m>0;m-=2){m===6&&m--;for(let C=0;C<i;C++){const B=d?i-1-C:C;for(let g=0;g<2;g++){const y=m-g;o[B][y]||(a[B][y]=f<r.length?r[f]===1:!1,f++)}}d=!d}t>=7&&Ty(a,t,i);let E=null,p=Number.POSITIVE_INFINITY;for(let m=0;m<8;m++){const C=a.map(g=>g.slice());for(let g=0;g<i;g++)for(let y=0;y<i;y++)!o[g][y]&&wy(m,g,y)&&(C[g][y]=!C[g][y]);Sy(C,m,i);const B=zy(C);B<p&&(p=B,E=C)}return E}function wy(t,r,i){switch(t){case 0:return(r+i)%2===0;case 1:return r%2===0;case 2:return i%3===0;case 3:return(r+i)%3===0;case 4:return(Math.floor(r/2)+Math.floor(i/3))%2===0;case 5:return r*i%2+r*i%3===0;case 6:return(r*i%2+r*i%3)%2===0;default:return((r+i)%2+r*i%3)%2===0}}function Sy(t,r,i){const a=0|r;let o=a;for(let f=0;f<10;f++)o=o<<1^(o>>9&1?1335:0);const u=((a<<10|o&1023)^21522)&32767,s=f=>(u>>f&1)===1;for(let f=0;f<=5;f++)t[f][8]=s(f);t[7][8]=s(6),t[8][8]=s(7),t[8][7]=s(8);for(let f=9;f<15;f++)t[8][14-f]=s(f);for(let f=0;f<8;f++)t[8][i-1-f]=s(f);for(let f=8;f<15;f++)t[i-15+f][8]=s(f);t[i-8][8]=!0}function Ty(t,r,i){let a=r;for(let u=0;u<12;u++)a=a<<1^(a>>11&1?7973:0);const o=r<<12|a&4095;for(let u=0;u<18;u++){const s=(o>>u&1)===1,f=i-11+u%3,d=Math.floor(u/3);t[d][f]=s,t[f][d]=s}}function zy(t){const r=t.length;let i=0;const a=d=>{let E=d(0),p=1;for(let m=1;m<r;m++)d(m)===E?p++:(p>=5&&(i+=p-2),E=d(m),p=1);p>=5&&(i+=p-2)};for(let d=0;d<r;d++)a(E=>t[d][E]);for(let d=0;d<r;d++)a(E=>t[E][d]);for(let d=0;d<r-1;d++)for(let E=0;E<r-1;E++){const p=t[d][E];p===t[d][E+1]&&p===t[d+1][E]&&p===t[d+1][E+1]&&(i+=3)}const o=[!0,!1,!0,!0,!0,!1,!0,!1,!1,!1,!1],u=[!1,!1,!1,!1,!0,!1,!0,!0,!0,!1,!0],s=(d,E,p)=>{for(let m=0;m<11;m++)if(d(E+m)!==p[m])return!1;return!0};for(let d=0;d<r;d++)for(let E=0;E<=r-11;E++)(s(p=>t[d][p],E,o)||s(p=>t[d][p],E,u))&&(i+=40);for(let d=0;d<r;d++)for(let E=0;E<=r-11;E++)(s(p=>t[p][d],E,o)||s(p=>t[p][d],E,u))&&(i+=40);let f=0;for(let d=0;d<r;d++)for(let E=0;E<r;E++)t[d][E]&&f++;return i+=Math.floor(Math.abs(f/(r*r)*100-50)/5)*10,i}function My(t){const{version:r,bits:i}=by(t);return ky(r,i)}function Ry({text:t,size:r=220,className:i}){const a=My(t),o=a.length,u=4,s=o+u*2;let f="";for(let d=0;d<o;d++)for(let E=0;E<o;E++)a[d][E]&&(f+=`M${E+u} ${d+u}h1v1h-1z`);return O.jsxs("svg",{width:r,height:r,viewBox:`0 0 ${s} ${s}`,shapeRendering:"crispEdges",className:i,role:"img","aria-label":"QR code",children:[O.jsx("title",{children:"QR code"}),O.jsx("rect",{width:s,height:s,fill:"#fff"}),O.jsx("path",{d:f,fill:"#000"})]})}function Oy({version:t,onClose:r}){const i=zt(d=>d.token),a=zt(d=>d.setToken),[o,u]=H.useState(!1),s=i?`${location.origin}/#token=${i}`:location.origin,f=async()=>{try{await navigator.clipboard.writeText(s),u(!0),setTimeout(()=>u(!1),1500)}catch{}};return O.jsxs(O.Fragment,{children:[O.jsx("div",{className:"fixed inset-0 z-50 bg-black/60",onClick:r,"aria-hidden":!0}),O.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-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:[O.jsxs("div",{className:"flex w-full items-center justify-between",children:[O.jsx("h2",{className:"text-base font-semibold",children:"Connect a device"}),O.jsx("button",{type:"button",onClick:r,"aria-label":"Close",className:"flex size-8 items-center justify-center rounded-full text-muted active:bg-surface-2",children:O.jsx(cx,{size:18})})]}),O.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."}),O.jsx("div",{className:"rounded-2xl bg-white p-3",children:O.jsx(Ry,{text:s,size:216})}),O.jsxs("button",{type:"button",onClick:f,className:"flex w-full 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:[o?O.jsx(a7,{size:16}):O.jsx(s7,{size:16}),o?"Copied":"Copy link"]}),O.jsxs("div",{className:"flex w-full items-center justify-between text-xs text-faint",children:[O.jsx("span",{className:"font-mono",children:t?`relay v${t}`:""}),O.jsx("button",{type:"button",onClick:()=>a(null),className:"text-muted underline-offset-2 hover:underline",children:"Disconnect"})]})]})]})}function _y(t,r){return[...t].sort((i,a)=>{const o=+!!a.pinned_at-+!!i.pinned_at;return o||(r==="name"?Ei(i).localeCompare(Ei(a)):r==="created"?a.created_at.localeCompare(i.created_at):a.updated_at.localeCompare(i.updated_at))})}function Ny(t,r){if(r==="none")return[{key:"all",label:"",items:t}];const i=new Map;for(const a of t){const o=r==="status"?TB(a):a.repo_name??"",u=i.get(o);u?u.push(a):i.set(o,[a])}return r==="status"?[...Kd,...[...i.keys()].filter(o=>!Kd.includes(o))].filter(o=>i.has(o)).map(o=>({key:`status:${o}`,label:zB(o),status:o,items:i.get(o)??[]})):[...i.keys()].sort((a,o)=>a.localeCompare(o)).map(a=>({key:`repo:${a}`,label:a||"No repo",items:i.get(a)??[]}))}function jy({selectedId:t}){const r=qs(),i=zt(w=>w.setSidebarOpen),a=zt(w=>w.view),o=zt(w=>w.toggleGroup),[u,s]=H.useState(!1),[f,d]=H.useState(!1),{data:E,isLoading:p,isError:m,error:C}=Th(),B=E?.workspaces??[],g=[...new Set(B.map(w=>w.repo_name).filter(w=>!!w))].sort();a.repo&&!g.includes(a.repo)&&g.push(a.repo);const y=a.repo?B.filter(w=>w.repo_name===a.repo):B,F=Ny(_y(y,a.sortBy),a.groupBy),b=w=>{r(`/w/${w}`),i(!1)},L=B.length?a.repo?`${y.length} of ${B.length} · ${a.repo}`:`${B.length} active`:void 0;return O.jsxs("div",{className:"flex h-full min-w-0 flex-col overflow-hidden",children:[O.jsxs("div",{className:"relative",children:[O.jsx(As,{title:"Workspaces",subtitle:L,right:O.jsxs(O.Fragment,{children:[O.jsxs("button",{type:"button",onClick:()=>s(w=>!w),"aria-label":"View options",className:"relative flex size-9 shrink-0 items-center justify-center rounded-full text-muted active:bg-surface-2",children:[O.jsx(g7,{size:18}),a.repo?O.jsx("span",{className:"absolute right-1.5 top-1.5 size-1.5 rounded-full bg-accent"}):null]}),O.jsx("button",{type:"button",onClick:()=>d(!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:O.jsx(bh,{size:18})}),O.jsx("button",{type:"button",onClick:()=>i(!1),"aria-label":"Close workspaces",className:"flex size-9 shrink-0 items-center justify-center rounded-full text-muted active:bg-surface-2 md:hidden",children:O.jsx(cx,{size:20})})]})}),u?O.jsx(Py,{repos:g,view:a,onClose:()=>s(!1)}):null]}),O.jsx("nav",{className:"pb-safe min-w-0 flex-1 overflow-y-auto overflow-x-hidden px-3 py-3",children:p&&!E?O.jsx(dx,{label:"Loading workspaces…"}):m?O.jsxs(r0,{children:[C?.message,O.jsx("br",{}),O.jsx("br",{}),"Check the relay is running and the token is correct."]}):B.length===0?O.jsx(r0,{children:"No active workspaces. Start one in Conductor and it’ll appear here."}):y.length===0?O.jsxs(r0,{children:["No workspaces in ",a.repo,"."]}):F.map(w=>{const z=!!w.label&&a.collapsed.includes(w.key);return O.jsxs("section",{children:[w.label?O.jsxs("button",{type:"button",onClick:()=>o(w.key),className:"flex w-full items-center gap-2 px-1 py-2 text-sm font-semibold",children:[O.jsx(Ly,{status:w.status}),O.jsx("span",{className:"truncate",children:w.label}),z?O.jsx("span",{className:"font-normal text-muted text-xs",children:w.items.length}):null,O.jsx(o7,{size:14,className:pn("ml-auto shrink-0 text-faint transition-transform",z&&"-rotate-90")})]}):null,z?null:O.jsx("ul",{className:"flex flex-col gap-2 pb-2",children:w.items.map(R=>O.jsx("li",{className:"fade-in",children:O.jsx("button",{type:"button",className:pn("card w-full",R.id===t&&"border-accent/50 bg-surface-2"),onClick:()=>b(R.id),children:O.jsx(Hy,{w:R})})},R.id))})]},w.key)})}),f?O.jsx(Oy,{version:E?.version,onClose:()=>d(!1)}):null]})}function Ly({status:t}){if(!t)return null;const i={done:"var(--color-done)","in-review":"var(--color-idle)","in-progress":"var(--color-working)"}[t];return i?O.jsx("span",{className:"dot size-2",style:{background:i}}):O.jsx("span",{className:"dot size-2 border border-faint bg-transparent"})}function Py({repos:t,view:r,onClose:i}){const a=zt(o=>o.setView);return O.jsxs(O.Fragment,{children:[O.jsx("div",{className:"fixed inset-0 z-20",onClick:i,"aria-hidden":!0}),O.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:[O.jsx(os,{id:"view-group",label:"Group by",children:O.jsx(us,{id:"view-group",value:r.groupBy,onChange:o=>a({groupBy:o}),options:[["status","Status"],["repo","Repo"],["none","None"]]})}),O.jsx(os,{id:"view-repo",label:"Repo",children:O.jsx(us,{id:"view-repo",value:r.repo??"all",onChange:o=>a({repo:o==="all"?null:o}),options:[["all","All repos"],...t.map(o=>[o,o])]})}),O.jsx(os,{id:"view-sort",label:"Sort by",children:O.jsx(us,{id:"view-sort",value:r.sortBy,onChange:o=>a({sortBy:o}),options:[["updated","Updated"],["created","Created"],["name","Name"]]})})]})]})}function os({id:t,label:r,children:i}){return O.jsxs("div",{className:"flex items-center justify-between gap-3 text-sm text-muted",children:[O.jsx("label",{htmlFor:t,children:r}),i]})}function us({id:t,value:r,options:i,onChange:a}){return O.jsx("select",{id:t,value:r,onChange:o=>a(o.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:i.map(([o,u])=>O.jsx("option",{value:o,children:u},o))})}function Uy({w:t}){const[r,i]=H.useState(!1),a=t.hasRepoIcon&&!!t.repo_name&&!r;return O.jsx("div",{className:"grid size-8 place-items-center overflow-hidden rounded-lg bg-surface-2 text-xs font-semibold text-muted",children:a?O.jsx("img",{src:xr.repoIconUrl(t.repo_name),alt:"",loading:"lazy",className:"size-full object-contain",onError:()=>i(!0)}):wB(t)})}function Hy({w:t}){const r=Yh(t),i=Ih(t.model),a=t.context_used_percent;return O.jsxs(O.Fragment,{children:[O.jsxs("div",{className:"relative shrink-0 self-start",children:[O.jsx(Uy,{w:t}),O.jsx(OB,{status:r,className:"absolute -right-0.5 -bottom-0.5 ring-2 ring-surface"})]}),O.jsxs("div",{className:"min-w-0 flex-1 overflow-hidden",children:[O.jsxs("div",{className:"flex items-center gap-2",children:[O.jsx("span",{className:"min-w-0 flex-1 truncate font-medium",children:Ei(t)}),t.pinned_at?O.jsx("span",{className:"shrink-0 text-xs text-faint",children:"📌"}):null,t.unread?O.jsx(Xh,{children:t.unread}):null,O.jsx("span",{className:"shrink-0 text-xs capitalize text-muted",children:SB(t)})]}),O.jsxs("div",{className:"mt-1 flex min-w-0 items-center gap-2 text-xs text-muted",children:[t.repo_name?O.jsx("span",{className:"shrink-0 font-mono text-faint",children:t.repo_name}):null,t.branch?O.jsx(Jd,{className:"min-w-0 flex-1 truncate",children:t.branch}):null]}),O.jsxs("div",{className:"mt-1 flex min-w-0 items-center gap-2 text-xs text-muted",children:[i?O.jsx(Jd,{children:i}):null,typeof a=="number"&&a>0?O.jsxs("span",{className:"shrink-0 text-faint",children:[Math.round(a),"% ctx"]}):null,O.jsx("span",{className:"ml-auto shrink-0 pl-2 text-[11px] text-faint",children:MB(t.updated_at)})]})]})]})}function qy(){return zt(r=>r.token)?O.jsxs(CC,{children:[O.jsxs(li,{element:O.jsx(Qy,{}),children:[O.jsx(li,{index:!0,element:O.jsx(Gy,{})}),O.jsx(li,{path:"/w/:workspaceId",element:O.jsx(Ey,{})})]}),O.jsx(li,{path:"*",element:O.jsx(hC,{to:"/",replace:!0})})]}):O.jsx(yy,{})}function Qy(){const t=Jp("/w/:workspaceId"),r=zt(a=>a.sidebarOpen),i=zt(a=>a.setSidebarOpen);return O.jsxs("div",{className:"flex h-full overflow-hidden",children:[r?O.jsx("div",{className:"fixed inset-0 z-40 bg-black/50 md:hidden",onClick:()=>i(!1),"aria-hidden":!0}):null,O.jsx("aside",{className:pn("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:O.jsx(jy,{selectedId:t?.params.workspaceId})}),O.jsx("main",{className:"flex min-w-0 flex-1 flex-col",children:O.jsx(mC,{})})]})}function Gy(){const t=zt(r=>r.setSidebarOpen);return O.jsxs("div",{className:"grid h-full place-items-center",children:[O.jsx("button",{type:"button",onClick:()=>t(!0),className:"pill pill-active md:hidden",children:"Browse workspaces"}),O.jsx("span",{className:"hidden text-sm text-muted md:block",children:"Select a workspace"})]})}D5({immediate:!0});navigator.storage?.persist&&navigator.storage.persist().catch(()=>{});const Vy=new X5({defaultOptions:{queries:{staleTime:1e3,retry:1,refetchOnWindowFocus:!0}}}),n1=document.getElementById("root");if(!n1)throw new Error("#root missing");Ep.createRoot(n1).render(O.jsx(H.StrictMode,{children:O.jsx(K5,{client:Vy,children:O.jsx(qC,{children:O.jsx(qy,{})})})}));
|