1import{r as U,l as Vt,j as s,c as Ne,m as Dt,n as zt,$ as Tt,y as Lt,C as Ve,I as _t,R as We,o as Ht,a as Gt,u as Bt,g as M,p as qt,d as Ut,T as oe,q as Zt,i as Kt}from"../chunks/chunk-7c95c149.js";import{_ as Ze}from"../chunks/chunk-cf010ec4.js";import{P as me,a as Y,I as Ae,b as _e,u as ht,l as Wt}from"../chunks/chunk-a256095a.js";import{z as Q,b as pt,R as mt,F as Xt,P as Qt,a as z,T as I,D as De}from"../chunks/chunk-7e6dec72.js";import{u as Yt,V as vt,a as Jt}from"../chunks/chunk-c92baa57.js";import{S as ke,a as en}from"../chunks/chunk-ab25de1f.js";import"../chunks/chunk-56865e9e.js";import"../chunks/chunk-bd799850.js";import"../chunks/chunk-ab9dfbfe.js";const tn=["Adornment","Coprolite","Child","Fauna","Lithic","Sample"],nn=["Child","Lithic","Charcoal","Fauna","Sample","Other"],rn=Q.object({ID:Q.coerce.number(),Level:Q.string().nullish().transform(e=>e||void 0),Sq1:Q.string(),Sq2:Q.coerce.number(),Category:Q.enum(tn),Sort:Q.enum(nn),Subcategory:Q.string().nullish().transform(e=>e||void 0),Material:Q.string().nullish().transform(e=>e||void 0),Part:Q.string().nullish().transform(e=>e||void 0),Conservation:Q.string().nullish().transform(e=>e||void 0),Taphonomy:Q.string().nullish().transform(e=>e||void 0),Date:Q.union([Q.coerce.date(),Q.string().nullish().transform(()=>{})]),X:Q.coerce.number(),Y:Q.coerce.number(),Z:Q.coerce.number()});/** 2 * table-core 3 * 4 * Copyright (c) TanStack 5 * 6 * This source code is licensed under the MIT license found in the 7 * LICENSE.md file in the root directory of this source tree. 8 * 9 * @license MIT 10 */function Fe(e,r){return typeof e=="function"?e(r):e}function ue(e,r){return t=>{r.setState(n=>({...n,[e]:Fe(t,n[e])}))}}function Be(e){return e instanceof Function}function sn(e){return Array.isArray(e)&&e.every(r=>typeof r=="number")}function on(e,r){const t=[],n=i=>{i.forEach(o=>{t.push(o);const l=r(o);l!=null&&l.length&&n(l)})};return n(e),t}function $(e,r,t){let n=[],i;return()=>{let o;t.key&&t.debug&&(o=Date.now());const l=e();if(!(l.length!==n.length||l.some((f,g)=>n[g]!==f)))return i;n=l;let a;if(t.key&&t.debug&&(a=Date.now()),i=r(...l),t==null||t.onChange==null||t.onChange(i),t.key&&t.debug&&t!=null&&t.debug()){const f=Math.round((Date.now()-o)*100)/100,g=Math.round((Date.now()-a)*100)/100,h=g/16,p=(m,S)=>{for(m=String(m);m.length<S;)m=" "+m;return m};console.info(`%câ± ${p(g,5)} /${p(f,5)} ms`,` 11 font-size: .6rem; 12 font-weight: bold; 13 color: hsl(${Math.max(0,Math.min(120-120*h,120))}deg 100% 31%);`,t==null?void 0:t.key)}return i}}function ln(e,r,t,n){var i,o;const u={...e._getDefaultColumnDef(),...r},a=u.accessorKey;let f=(i=(o=u.id)!=null?o:a?a.replace(".","_"):void 0)!=null?i:typeof u.header=="string"?u.header:void 0,g;if(u.accessorFn?g=u.accessorFn:a&&(a.includes(".")?g=p=>{let m=p;for(const x of a.split(".")){var S;m=(S=m)==null?void 0:S[x]}return m}:g=p=>p[u.accessorKey]),!f)throw new Error;let h={id:`${String(f)}`,accessorFn:g,parent:n,depth:t,columnDef:u,columns:[],getFlatColumns:$(()=>[!0],()=>{var p;return[h,...(p=h.columns)==null?void 0:p.flatMap(m=>m.getFlatColumns())]},{key:"column.getFlatColumns",debug:()=>{var p;return(p=e.options.debugAll)!=null?p:e.options.debugColumns}}),getLeafColumns:$(()=>[e._getOrderColumnsFn()],p=>{var m;if((m=h.columns)!=null&&m.length){let S=h.columns.flatMap(x=>x.getLeafColumns());return p(S)}return[h]},{key:"column.getLeafColumns",debug:()=>{var p;return(p=e.options.debugAll)!=null?p:e.options.debugColumns}})};for(const p of e._features)p.createColumn==null||p.createColumn(h,e);return h}function xt(e,r,t){var n;let o={id:(n=t.id)!=null?n:r.id,column:r,index:t.index,isPlaceholder:!!t.isPlaceholder,placeholderId:t.placeholderId,depth:t.depth,subHeaders:[],colSpan:0,rowSpan:0,headerGroup:null,getLeafHeaders:()=>{const l=[],u=a=>{a.subHeaders&&a.subHeaders.length&&a.subHeaders.map(u),l.push(a)};return u(o),l},getContext:()=>({table:e,header:o,column:r})};return e._features.forEach(l=>{l.createHeader==null||l.createHeader(o,e)}),o}const an={createTable:e=>{e.getHeaderGroups=$(()=>[e.getAllColumns(),e.getVisibleLeafColumns(),e.getState().columnPinning.left,e.getState().columnPinning.right],(r,t,n,i)=>{var o,l;const u=(o=n==null?void 0:n.map(h=>t.find(p=>
13p.id===h)).filter(Boolean))!=null?o:[],a=(l=i==null?void 0:i.map(h=>t.find(p=>p.id===h)).filter(Boolean))!=null?l:[],f=t.filter(h=>!(n!=null&&n.includes(h.id))&&!(i!=null&&i.includes(h.id)));return Le(r,[...u,...f,...a],e)},{key:!1,debug:()=>{var r;return(r=e.options.debugAll)!=null?r:e.options.debugHeaders}}),e.getCenterHeaderGroups=$(()=>[e.getAllColumns(),e.getVisibleLeafColumns(),e.getState().columnPinning.left,e.getState().columnPinning.right],(r,t,n,i)=>(t=t.filter(o=>!(n!=null&&n.includes(o.id))&&!(i!=null&&i.includes(o.id))),Le(r,t,e,"center")),{key:!1,debug:()=>{var r;return(r=e.options.debugAll)!=null?r:e.options.debugHeaders}}),e.getLeftHeaderGroups=$(()=>[e.getAllColumns(),e.getVisibleLeafColumns(),e.getState().columnPinning.left],(r,t,n)=>{var i;const o=(i=n==null?void 0:n.map(l=>t.find(u=>u.id===l)).filter(Boolean))!=null?i:[];return Le(r,o,e,"left")},{key:!1,debug:()=>{var r;return(r=e.options.debugAll)!=null?r:e.options.debugHeaders}}),e.getRightHeaderGroups=$(()=>[e.getAllColumns(),e.getVisibleLeafColumns(),e.getState().columnPinning.right],(r,t,n)=>{var i;const o=(i=n==null?void 0:n.map(l=>t.find(u=>u.id===l)).filter(Boolean))!=null?i:[];return Le(r,o,e,"right")},{key:!1,debug:()=>{var r;return(r=e.options.debugAll)!=null?r:e.options.debugHeaders}}),e.getFooterGroups=$(()=>[e.getHeaderGroups()],r=>[...r].reverse(),{key:!1,debug:()=>{var r;return(r=e.options.debugAll)!=null?r:e.options.debugHeaders}}),e.getLeftFooterGroups=$(()=>[e.getLeftHeaderGroups()],r=>[...r].reverse(),{key:!1,debug:()=>{var r;return(r=e.options.debugAll)!=null?r:e.options.debugHeaders}}),e.getCenterFooterGroups=$(()=>[e.getCenterHeaderGroups()],r=>[...r].reverse(),{key:!1,debug:()=>{var r;return(r=e.options.debugAll)!=null?r:e.options.debugHeaders}}),e.getRightFooterGroups=$(()=>[e.getRightHeaderGroups()],r=>[...r].reverse(),{key:!1,debug:()=>{var r;return(r=e.options.debugAll)!=null?r:e.options.debugHeaders}}),e.getFlatHeaders=$(()=>[e.getHeaderGroups()],r=>r.map(t=>t.headers).flat(),{key:!1,debug:()=>{var r;return(r=e.options.debugAll)!=null?r:e.options.debugHeaders}}),e.getLeftFlatHeaders=$(()=>[e.getLeftHeaderGroups()],r=>r.map(t=>t.headers).flat(),{key:!1,debug:()=>{var r;return(r=e.options.debugAll)!=null?r:e.options.debugHeaders}}),e.getCenterFlatHeaders=$(()=>[e.getCenterHeaderGroups()],r=>r.map(t=>t.headers).flat(),{key:!1,debug:()=>{var r;return(r=e.options.debugAll)!=null?r:e.options.debugHeaders}}),e.getRightFlatHeaders=$(()=>[e.getRightHeaderGroups()],r=>r.map(t=>t.headers).flat(),{key:!1,debug:()=>{var r;return(r=e.options.debugAll)!=null?r:e.options.debugHeaders}}),e.getCenterLeafHeaders=$(()=>[e.getCenterFlatHeaders()],r=>r.filter(t=>{var n;return!((n=t.subHeaders)!=null&&n.length)}),{key:!1,debug:()=>{var r;return(r=e.options.debugAll)!=null?r:e.options.debugHeaders}}),e.getLeftLeafHeaders=$(()=>[e.getLeftFlatHeaders()],r=>r.filter(t=>{var n;return!((n=t.subHeaders)!=null&&n.length)}),{key:!1,debug:()=>{var r;return(r=e.options.debugAll)!=null?r:e.options.debugHeaders}}),e.getRightLeafHeaders=$(()=>[e.getRightFlatHeaders()],r=>r.filter(t=>{var n;return!((n=t.subHeaders)!=null&&n.length)}),{key:!1,debug:()=>{var r;return(r=e.options.debugAll)!=null?r:e.options.debugHeaders}}),e.getLeafHeaders=$(()=>[e.getLeftHeaderGroups(),e.getCenterHeaderGroups(),e.getRightHeaderGroups()],(r,t,n)=>{var i,o,l,u,a,f;return[...(i=(o=r[0])==null?void 0:o.headers)!=null?i:[],...(l=(u=t[0])==null?void 0:u.headers)!=null?l:[],...(a=(f=n[0])==null?void 0:f.headers)!=null?a:[]].map(g=>g.getLeafHeaders()).flat()},{key:!1,debug:()=>{var r;return(r=e.options.debugAll)!=null?r:e.options.debugHeaders}})}};function Le(e,r,t,n){var i,o;let l=0;const u=function(p,m){m===void 0&&(m=1),l=Math.max(l,m),p.filter(S=>S.getIsVisible()).forEach(S=>{var x;(x=S.columns)!=null&&x.length&&u(S.columns,m+1)},0)};u(e);let a=[];const f=(p,m)=>{const S={depth:m,id:[n,`${m}`].filter(Boolean).join("_"),headers:[]},x=[];p.forEach(k=>{const F=[...x].reverse()[0],ce=k.column.depth===S.depth;let te,se=!1;if(ce&&k.column.parent?te=k.column.parent:(te=k.column,se=!0),F&&(F==null?void 0:F.column)===te)F.subHeaders.push(k);else{const le=xt(t,te,{id:[n,m,te.id,k==null?void 0:k.id].filter(
vendor: 4,961 bytes, line 13
13Boolean).join("_"),isPlaceholder:se,placeholderId:se?`${x.filter(de=>de.column===te).length}`:void 0,depth:m,index:x.length});le.subHeaders.push(k),x.push(le)}S.headers.push(k),k.headerGroup=S}),a.push(S),m>0&&f(x,m-1)},g=r.map((p,m)=>xt(t,p,{depth:l,index:m}));f(g,l-1),a.reverse();const h=p=>p.filter(S=>S.column.getIsVisible()).map(S=>{let x=0,k=0,F=[0];S.subHeaders&&S.subHeaders.length?(F=[],h(S.subHeaders).forEach(te=>{let{colSpan:se,rowSpan:le}=te;x+=se,F.push(le)})):x=1;const ce=Math.min(...F);return k=k+ce,S.colSpan=x,S.rowSpan=k,{colSpan:x,rowSpan:k}});return h((i=(o=a[0])==null?void 0:o.headers)!=null?i:[]),a}const He={size:150,minSize:20,maxSize:Number.MAX_SAFE_INTEGER},Xe=()=>({startOffset:null,startSize:null,deltaOffset:null,deltaPercentage:null,isResizingColumn:!1,columnSizingStart:[]}),un={getDefaultColumnDef:()=>He,getInitialState:e=>({columnSizing:{},columnSizingInfo:Xe(),...e}),getDefaultOptions:e=>({columnResizeMode:"onEnd",onColumnSizingChange:ue("columnSizing",e),onColumnSizingInfoChange:ue("columnSizingInfo",e)}),createColumn:(e,r)=>{e.getSize=()=>{var t,n,i;const o=r.getState().columnSizing[e.id];return Math.min(Math.max((t=e.columnDef.minSize)!=null?t:He.minSize,(n=o??e.columnDef.size)!=null?n:He.size),(i=e.columnDef.maxSize)!=null?i:He.maxSize)},e.getStart=t=>{const n=t?t==="left"?r.getLeftVisibleLeafColumns():r.getRightVisibleLeafColumns():r.getVisibleLeafColumns(),i=n.findIndex(o=>o.id===e.id);if(i>0){const o=n[i-1];return o.getStart(t)+o.getSize()}return 0},e.resetSize=()=>{r.setColumnSizing(t=>{let{[e.id]:n,...i}=t;return i})},e.getCanResize=()=>{var t,n;return((t=e.columnDef.enableResizing)!=null?t:!0)&&((n=r.options.enableColumnResizing)!=null?n:!0)},e.getIsResizing=()=>r.getState().columnSizingInfo.isResizingColumn===e.id},createHeader:(e,r)=>{e.getSize=()=>{let t=0;const n=i=>{if(i.subHeaders.length)i.subHeaders.forEach(n);else{var o;t+=(o=i.column.getSize())!=null?o:0}};return n(e),t},e.getStart=()=>{if(e.index>0){const t=e.headerGroup.headers[e.index-1];return t.getStart()+t.getSize()}return 0},e.getResizeHandler=()=>{const t=r.getColumn(e.column.id),n=t==null?void 0:t.getCanResize();return i=>{if(!t||!n||(i.persist==null||i.persist(),Qe(i)&&i.touches&&i.touches.length>1))return;const o=e.getSize(),l=e?e.getLeafHeaders().map(x=>[x.column.id,x.column.getSize()]):[[t.id,t.getSize()]],u=Qe(i)?Math.round(i.touches[0].clientX):i.clientX,a={},f=(x,k)=>{typeof k=="number"&&(r.setColumnSizingInfo(F=>{var ce,te;const se=k-((ce=F==null?void 0:F.startOffset)!=null?ce:0),le=Math.max(se/((te=F==null?void 0:F.startSize)!=null?te:0),-.999999);return F.columnSizingStart.forEach(de=>{let[A,d]=de;a[A]=Math.round(Math.max(d+d*le,0)*100)/100}),{...F,deltaOffset:se,deltaPercentage:le}}),(r.options.columnResizeMode==="onChange"||x==="end")&&r.setColumnSizing(F=>({...F,...a})))},g=x=>f("move",x),h=x=>{f("end",x),r.setColumnSizingInfo(k=>({...k,isResizingColumn:!1,startOffset:null,startSize:null,deltaOffset:null,deltaPercentage:null,columnSizingStart:[]}))},p={moveHandler:x=>g(x.clientX),upHandler:x=>{document.removeEventListener("mousemove",p.moveHandler),document.removeEventListener("mouseup",p.upHandler),h(x.clientX)}},m={moveHandler:x=>(x.cancelable&&(x.preventDefault(),x.stopPropagation()),g(x.touches[0].clientX),!1),upHandler:x=>{var k;document.removeEventListener("touchmove",m.moveHandler),document.removeEventListener("touchend",m.upHandler),x.cancelable&&(x.preventDefault(),x.stopPropagation()),h((k=x.touches[0])==null?void 0:k.clientX)}},S=cn()?{passive:!1}:!1;Qe(i)?(document.addEventListener("touchmove",m.moveHandler,S),document.addEventListener("touchend",m.upHandler,S)):(document.addEventListener("mousemove",p.moveHandler,S),document.addEventListener("mouseup",p.upHandler,S)),r.setColumnSizingInfo(x=>({...x,startOffset:u,startSize:o,deltaOffset:0,deltaPercentage:0,columnSizingStart:l,isResizingColumn:t.id}))}}},createTable:e=>{e.setColumnSizing=r=>e.options.onColumnSizingChange==null?void 0:e.options.onColumnSizingChange(r),e.setColumnSizingInfo=r=>e.options.onColumnSizingInfoChange==null?void 0:e.options.onColumnSizingInfoChange(r),e.resetColumnSizing=r=>{var t;e.setColumnSizing(r?{}:(t=e.initialState.columnSizing)!=null?t:{})},e.resetHeaderSizeInfo=r=>{var t;e.setColumnSizingInfo(r?Xe():(t=e.initialState.columnSizingInfo)!=null?t:Xe())},e.getTotalSize=()=>{var r,t;return(r=(t=e.getHeaderGroups()[0])==null?void 0:t.headers.reduce((n,i)=>n+i.getSize(),0))!=null?r:0},e.getLeftTotalSize=()=>{var r,t;return(r=(t=e.getLeftHeaderGroups()[0])==null?void 0:t.headers.reduce((n,i)=>n+i.getSize(),0))!=null?r:0},e.getCenterTotalSize=()=>{var r,t;return(r=(t=e.getCenterHeaderGroups()[0])==null?void 0:t.headers.reduce((n,i)=>n+i.getSize(),0))!=null?r:0},e.getRightTotalSize=()=>{var r,t;return(r=(t=e.getRightHeaderGroups()[0])==null?void 0:t.headers.reduce((n,i)=>n+i.getSize(),0))!=null?r:0}}};let Ge=null;function cn(){if(typeof Ge=="boolean")return Ge;let e=!1;
vendor: 13,950 bytes, line 13
13try{const r={get passive(){return e=!0,!1}},t=()=>{};window.addEventListener("test",t,r),window.removeEventListener("test",t)}catch{e=!1}return Ge=e,Ge}function Qe(e){return e.type==="touchstart"}const dn={getInitialState:e=>({expanded:{},...e}),getDefaultOptions:e=>({onExpandedChange:ue("expanded",e),paginateExpandedRows:!0}),createTable:e=>{let r=!1,t=!1;e._autoResetExpanded=()=>{var n,i;if(!r){e._queue(()=>{r=!0});return}if((n=(i=e.options.autoResetAll)!=null?i:e.options.autoResetExpanded)!=null?n:!e.options.manualExpanding){if(t)return;t=!0,e._queue(()=>{e.resetExpanded(),t=!1})}},e.setExpanded=n=>e.options.onExpandedChange==null?void 0:e.options.onExpandedChange(n),e.toggleAllRowsExpanded=n=>{n??!e.getIsAllRowsExpanded()?e.setExpanded(!0):e.setExpanded({})},e.resetExpanded=n=>{var i,o;e.setExpanded(n?{}:(i=(o=e.initialState)==null?void 0:o.expanded)!=null?i:{})},e.getCanSomeRowsExpand=()=>e.getPrePaginationRowModel().flatRows.some(n=>n.getCanExpand()),e.getToggleAllRowsExpandedHandler=()=>n=>{n.persist==null||n.persist(),e.toggleAllRowsExpanded()},e.getIsSomeRowsExpanded=()=>{const n=e.getState().expanded;return n===!0||Object.values(n).some(Boolean)},e.getIsAllRowsExpanded=()=>{const n=e.getState().expanded;return typeof n=="boolean"?n===!0:!(!Object.keys(n).length||e.getRowModel().flatRows.some(i=>!i.getIsExpanded()))},e.getExpandedDepth=()=>{let n=0;return(e.getState().expanded===!0?Object.keys(e.getRowModel().rowsById):Object.keys(e.getState().expanded)).forEach(o=>{const l=o.split(".");n=Math.max(n,l.length)}),n},e.getPreExpandedRowModel=()=>e.getSortedRowModel(),e.getExpandedRowModel=()=>(!e._getExpandedRowModel&&e.options.getExpandedRowModel&&(e._getExpandedRowModel=e.options.getExpandedRowModel(e)),e.options.manualExpanding||!e._getExpandedRowModel?e.getPreExpandedRowModel():e._getExpandedRowModel())},createRow:(e,r)=>{e.toggleExpanded=t=>{r.setExpanded(n=>{var i;const o=n===!0?!0:!!(n!=null&&n[e.id]);let l={};if(n===!0?Object.keys(r.getRowModel().rowsById).forEach(u=>{l[u]=!0}):l=n,t=(i=t)!=null?i:!o,!o&&t)return{...l,[e.id]:!0};if(o&&!t){const{[e.id]:u,...a}=l;return a}return n})},e.getIsExpanded=()=>{var t;const n=r.getState().expanded;return!!((t=r.options.getIsRowExpanded==null?void 0:r.options.getIsRowExpanded(e))!=null?t:n===!0||n!=null&&n[e.id])},e.getCanExpand=()=>{var t,n,i;return(t=r.options.getRowCanExpand==null?void 0:r.options.getRowCanExpand(e))!=null?t:((n=r.options.enableExpanding)!=null?n:!0)&&!!((i=e.subRows)!=null&&i.length)},e.getIsAllParentsExpanded=()=>{let t=!0,n=e;for(;t&&n.parentId;)n=r.getRow(n.parentId,!0),t=n.getIsExpanded();return t},e.getToggleExpandedHandler=()=>{const t=e.getCanExpand();return()=>{t&&e.toggleExpanded()}}}},yt=(e,r,t)=>{var n;const i=t.toLowerCase();return!!(!((n=e.getValue(r))==null||(n=n.toString())==null||(n=n.toLowerCase())==null)&&n.includes(i))};yt.autoRemove=e=>Se(e);const Rt=(e,r,t)=>{var n;return!!(!((n=e.getValue(r))==null||(n=n.toString())==null)&&n.includes(t))};Rt.autoRemove=e=>Se(e);const jt=(e,r,t)=>{var n;return((n=e.getValue(r))==null||(n=n.toString())==null?void 0:n.toLowerCase())===(t==null?void 0:t.toLowerCase())};jt.autoRemove=e=>Se(e);const $t=(e,r,t)=>{var n;return(n=e.getValue(r))==null?void 0:n.includes(t)};$t.autoRemove=e=>Se(e)||!(e!=null&&e.length);const kt=(e,r,t)=>!t.some(n=>{var i;return!((i=e.getValue(r))!=null&&i.includes(n))});kt.autoRemove=e=>Se(e)||!(e!=null&&e.length);const Ft=(e,r,t)=>t.some(n=>{var i;return(i=e.getValue(r))==null?void 0:i.includes(n)});Ft.autoRemove=e=>Se(e)||!(e!=null&&e.length);const Nt=(e,r,t)=>e.getValue(r)===t;Nt.autoRemove=e=>Se(e);const It=(e,r,t)=>e.getValue(r)==t;It.autoRemove=e=>Se(e);const ct=(e,r,t)=>{let[n,i]=t;const o=e.getValue(r);return o>=n&&o<=i};ct.resolveFilterValue=e=>{let[r,t]=e,n=typeof r!="number"?parseFloat(r):r,i=typeof t!="number"?parseFloat(t):t,o=r===null||Number.isNaN(n)?-1/0:n,l=t===null||Number.isNaN(i)?1/0:i;if(o>l){const u=o;o=l,l=u}return[o,l]};ct.autoRemove=e=>Se(e)||Se(e[0])&&Se(e[1]);const ye={includesString:yt,includesStringSensitive:Rt,equalsString:jt,arrIncludes:$t,arrIncludesAll:kt,arrIncludesSome:Ft,equals:Nt,weakEquals:It,inNumberRange:ct};function Se(e){return e==null||e===""}const gn={getDefaultColumnDef:()=>({filterFn:"auto"}),getInitialState:e=>({columnFilters:[],globalFilter:void 0,...e}),getDefaultOptions:e=>({onColumnFiltersChange:ue("columnFilters",e),onGlobalFilterChange:ue("globalFilter",e),filterFromLeafRows:!1,maxLeafRowFilterDepth:100,globalFilterFn:"auto",getColumnCanGlobalFilter:r=>{var t;const n=(t=e.getCoreRowModel().flatRows[0])==null||(t=t._getAllCellsByColumnId()[r.id])==null?void 0:t.getValue();return typeof n=="string"||typeof n=="number"}}),createColumn:(e,r)=>{e.getAutoFilterFn=()=>{const t=r.getCoreRowModel().flatRows[0],n=t==null?void 0:t.getValue(e.id);return typeof n=="string"?ye.includesString:typeof n=="number"?ye.inNumberRange:typeof n=="boolean"||n!==null&&typeof n=="object"?ye.equals:Array.isArray(n)?ye.arrIncludes:ye.weakEquals},e.getFilterFn=()=>{var t,n;return Be(e.columnDef.filterFn)?e.columnDef.filterFn:e.columnDef.filterFn==="auto"?e.getAutoFilterFn():(t=(n=r.options.filterFns)==null?void 0:n[e.columnDef.filterFn])!=null?t:ye[e.columnDef.filterFn]},e.getCanFilter=()=>{var t,n,i;return((t=e.columnDef.enableColumnFilter)!=null?t:!0)&&((n=r.options.enableColumnFilters)!=null?n:!0)&&((i=r.options.enableFilters)!=null?i:!0)&&!!e.accessorFn},e.getCanGlobalFilter=()=>{var t,n,i,o;return((t=e.columnDef.enableGlobalFilter)!=null?t:!0)&&((n=r.options.enableGlobalFilter)!=null?n:!0)&&((i=r.options.enableFilters)!=null?i:!0)&&((o=r.options.getColumnCanGlobalFilter==null?void 0:r.options.getColumnCanGlobalFilter(e))!=null?o:!0)&&!!e.accessorFn},e.getIsFiltered=()=>e.getFilterIndex()>-1,e.getFilterValue=()=>{var t;return(t=r.getState().columnFilters)==null||(t=t.find(n=>n.id===e.id))==null?void 0:t.value},e.getFilterIndex=()=>{var t,n;return(t=(n=r.getState().columnFilters)==null?void 0:n.findIndex(i=>i.id===e.id))!=null?t:-1},e.setFilterValue=t=>{r.setColumnFilters(n=>{const i=e.getFilterFn(),o=n==null?void 0:n.find(g=>g.id===e.id),l=Fe(t,o?o.value:void 0);if(St(i,l,e)){var u;return(u=n==null?void 0:n.filter(g=>g.id!==e.id))!=null?u:[]}const a={id:e.id,value:l};if(o){var f;return(f=n==null?void 0:n.map(g=>g.id===e.id?a:g))!=null?f:[]}return n!=null&&n.length?[...n,a]:[a]})},e._getFacetedRowModel=r.options.getFacetedRowModel&&r.options.getFacetedRowModel(r,e.id),e.getFacetedRowModel=()=>e._getFacetedRowModel?e._getFacetedRowModel():r.getPreFilteredRowModel(),e._getFacetedUniqueValues=r.options.getFacetedUniqueValues&&r.options.getFacetedUniqueValues(r,e.id),e.getFacetedUniqueValues=()=>e._getFacetedUniqueValues?e._getFacetedUniqueValues():new Map,e._getFacetedMinMaxValues=r.options.getFacetedMinMaxValues&&r.options.getFacetedMinMaxValues(r,e.id),e.getFacetedMinMaxValues=()=>{if(e._getFacetedMinMaxValues)return e._getFacetedMinMaxValues()}},createRow:(e,r)=>{e.columnFilters={},e.columnFiltersMeta={}},createTable:e=>{e.getGlobalAutoFilterFn=()=>ye.includesString,e.getGlobalFilterFn=()=>{var r,t;const{globalFilterFn:n}=e.options;return Be(n)?n:n==="auto"?e.getGlobalAutoFilterFn():(r=(t=e.options.filterFns)==null?void 0:t[n])!=null?r:ye[n]},e.setColumnFilters=r=>{const t=e.getAllLeafColumns(),n=i=>{var o;return(o=Fe(r,i))==null?void 0:o.filter(l=>{const u=t.find(a=>a.id===l.id);if(u){const a=u.getFilterFn();if(St(a,l.value,u))return!1}return!0})};e.options.onColumnFiltersChange==null||e.options.onColumnFiltersChange(n)},e.setGlobalFilter=r=>{e.options.onGlobalFilterChange==null||e.options.onGlobalFilterChange(r)},e.resetGlobalFilter=r=>{e.setGlobalFilter(r?void 0:e.initialState.globalFilter)},e.resetColumnFilters=r=>{var t,n;e.setColumnFilters(r?[]:(t=(n=e.initialState)==null?void 0:n.columnFilters)!=null?t:[])},e.getPreFilteredRowModel=()=>e.getCoreRowModel(),e.getFilteredRowModel=()=>(!e._getFilteredRowModel&&e.options.getFilteredRowModel&&(e._getFilteredRowModel=e.options.getFilteredRowModel(e)),e.options.manualFiltering||!e._getFilteredRowModel?e.getPreFilteredRowModel():e._getFilteredRowModel()),e._getGlobalFacetedRowModel=e.options.getFacetedRowModel&&e.options.getFacetedRowModel(e,"__global__"),e.getGlobalFacetedRowModel=()=>e.options.manualFiltering||!e._getGlobalFacetedRowModel?e.getPreFilteredRowModel():e._getGlobalFacetedRowModel(),e._getGlobalFacetedUniqueValues=e.options.getFacetedUniqueValues&&e.options.getFacetedUniqueValues(e,"__global__"),e.getGlobalFacetedUniqueValues=()=>e._getGlobalFacetedUniqueValues?e._getGlobalFacetedUniqueValues():new Map,e._getGlobalFacetedMinMaxValues=e.options.getFacetedMinMaxValues&&e.options.getFacetedMinMaxValues(e,"__global__"),e.getGlobalFacetedMinMaxValues=()=>{if(e._getGlobalFacetedMinMaxValues)return e._getGlobalFacetedMinMaxValues()}}};function St(e,r,t){return(e&&e.autoRemove?e.autoRemove(r,t):!1)||typeof r>"u"||typeof r=="string"&&!r}const fn=(e,r,t)=>t.reduce((n,i)=>{const o=i.getValue(e);return n+(typeof o=="number"?o:0)},0),hn=(e,r,t)=>{let n;return t.forEach(i=>{const o=i.getValue(e);o!=null&&(n>o||n===void 0&&o>=o)&&(n=o)}),n},pn=(e,r,t)=>{let n;return t.forEach(i=>{const o=i.getValue(e);o!=null&&(n<o||n===void 0&&o>=o)&&(n=o)}),n},mn=(e,r,t)=>{let n,i;return t.forEach(o=>{const l=o.getValue(e);l!=null&&(n===void 0?l>=l&&(n=i=l):(n>l&&(n=l),i<l&&(i=l)))}),[n,i]},vn=(e,r)=>{let t=0,n=0;if(r.forEach(i=>{let o=i.getValue(e);o!=null&&(o=+o)>=o&&(++t,n+=o)}),t)return n/t},xn=(e,r)=>{if(!r.length)return;const t=r.map(o=>o.getValue(e));if(!sn(t))return;if(t.length===1)return t[0];const n=Math.floor(t.length/2),i=t.sort((o,l)=>o-l);return t.length%2!==0?i[n]:(i[n-1]+i[n])/2},Sn=(e,r)=>Array.from(new Set(r.map(t=>t.getValue(e))).values()),Cn=(e,r)=>new Set(r.map(t=>t.getValue(e))).size,wn=(e,r)=>r.length,Ye={sum:fn,min:hn,max:pn,extent:mn,mean:vn,median:xn,unique:Sn,uniqueCount:Cn,count:wn},bn={getDefaultColumnDef:()=>({aggregatedCell:e=>{var r,t;return(r=(t=e.getValue())==null||t.toString==null?void 0:t.toString())!=null?r:null},aggregationFn:"auto"}),getInitialState:e=>({grouping:[],...e}),getDefaultOptions:e=>({onGroupingChange:ue("grouping",e),groupedColumnMode:"reorder"}),createColumn:(e,r)=>{e.toggleGrouping=()=>{r.setGrouping(t=>t!=null&&t.includes(e.id)?t.filter(n=>n!==e.id):[...t??[],e.id])},e.getCanGroup=()=>{var t,n,i,o;return(t=(n=(i=(o=e.columnDef.enableGrouping)!=null?o:!0)!=null?i:r.options.enableGrouping)!=null?n:!0)!=null?t:!!e.accessorFn},e.getIsGrouped=()=>{var t;return(t=r.getState().grouping)==null?void 0:t.includes(e.id)},e.getGroupedIndex=()=>{var t;return(t=r.getState().grouping)==null?void 0:t.indexOf(e.id)},e.getToggleGroupingHandler=()=>{const t=e.getCanGroup();return()=>{t&&e.toggleGrouping()}},e.getAutoAggregationFn=()=>{const t=r.getCoreRowModel().flatRows[0],n=t==null?void 0:t.getValue(e.id);if(typeof n=="number")return Ye.sum;if(Object.prototype.toString.call(n)==="[object Date]")return Ye.extent},e.getAggregationFn=()=>{var t,n;if(!e)throw new Error;return Be(e.columnDef.aggregationFn)?e.columnDef.aggregationFn:e.columnDef.aggregationFn==="auto"?e.getAutoAggregationFn():(t=(n=r.options.aggregationFns)==null?void 0:n[e.columnDef.aggregationFn])!=null?t:Ye[e.columnDef.aggregationFn]}},createTable:e=>{e.setGrouping=r=>e.options.onGroupingChange==null?void 0:e.options.onGroupingChange(r),e.resetGrouping=r=>{var t,n;e.setGrouping(r?[]:(t=(n=e.initialState)==null?void 0:n.grouping)!=null?t:[])},e.getPreGroupedRowModel=()=>e.getFilteredRowModel(),e.getGroupedRowModel=()=>(!e._getGroupedRowModel&&e.options.getGroupedRowModel&&(e._getGroupedRowModel=e.options.getGroupedRowModel(e)),e.options.manualGrouping||!e._getGroupedRowModel?e.getPreGroupedRowModel():e._getGroupedRowModel())},createRow:(e,r)=>{e.getIsGrouped=()=>!!e.groupingColumnId,e.getGroupingValue=t=>{if(e._groupingValuesCache.hasOwnProperty(t))return e._groupingValuesCache[t];const n=r.getColumn(t);return n!=null&&n.columnDef.getGroupingValue?(e._groupingValuesCache[t]=n.columnDef.getGroupingValue(e.original),e._groupingValuesCache[t]):e.getValue(t)},e._groupingValuesCache={}},createCell:(e,r,t,n)=>{e.getIsGrouped=()=>r.getIsGrouped()&&r.id===t.groupingColumnId,e.getIsPlaceholder=()=>!e.getIsGrouped()&&r.getIsGrouped(),e.getIsAggregated=()=>{var i;return!e.getIsGrouped()&&!e.getIsPlaceholder()&&!!((i=t.subRows)!=null&&i.length)}}};function _n(e,r,t){if(!(r!=null&&r.length)||!t)return e;const n=e.filter(o=>!r.includes(o.id));return t==="remove"?n:[...r.map(o=>e.find(l=>l.id===o)).filter(Boolean),...n]}const yn={getInitialState:e=>({columnOrder:[],...e}),getDefaultOptions:e=>({onColumnOrderChange:ue("columnOrder",e)}),createTable:e=>{e.setColumnOrder=r=>e.options.onColumnOrderChange==null?void 0:e.options.onColumnOrderChange(r),e.resetColumnOrder=r=>{var t;e.setColumnOrder(r?[]:(t=e.initialState.columnOrder)!=null?t:[])},e._getOrderColumnsFn=$(()=>[e.getState().columnOrder,e.getState().grouping,e.options.groupedColumnMode],(r,t,n)=>i=>{let o=[];if(!(r!=null&&r.length))o=i;else{const l=[...r],u=[...i];for(;u.length&&l.length;){const a=l.shift(),f=u.findIndex(g=>g.id===a);f>-1&&o.push(u.splice(f,1)[0])}o=[...o,...u]}return _n(o,t,n)},{key:!1})}},it=0,st=10,Je=()=>({pageIndex:it,pageSize:st}),Rn={getInitialState:e=>({...e,pagination:{...Je(),...e==null?void 0:e.pagination}}),getDefaultOptions:e=>({onPaginationChange:ue("pagination",e)}),createTable:e=>{let r=!1,t=!1;e._autoResetPageIndex=()=>{var n,i;if(!r){e._queue(()=>{r=!0});return}if((n=(i=e.options.autoResetAll)!=null?i:e.options.autoResetPageIndex)!=null?n:!e.options.manualPagination){if(t)return;t=!0,e._queue(()=>{e.resetPageIndex(),t=!1})}},e.setPagination=n=>{const i=o=>Fe(n,o);return e.options.onPaginationChange==null?void 0:e.options.onPaginationChange(i)},e.resetPagination=n=>{var i;e.setPagination(n?Je():(i=e.initialState.pagination)!=null?i:Je())},e.setPageIndex=n=>{e.setPagination(i=>{let o=Fe(n,i.pageIndex);
13const l=typeof e.options.pageCount>"u"||e.options.pageCount===-1?Number.MAX_SAFE_INTEGER:e.options.pageCount-1;return o=Math.max(0,Math.min(o,l)),{...i,pageIndex:o}})},e.resetPageIndex=n=>{var i,o;e.setPageIndex(n?it:(i=(o=e.initialState)==null||(o=o.pagination)==null?void 0:o.pageIndex)!=null?i:it)},e.resetPageSize=n=>{var i,o;e.setPageSize(n?st:(i=(o=e.initialState)==null||(o=o.pagination)==null?void 0:o.pageSize)!=null?i:st)},e.setPageSize=n=>{e.setPagination(i=>{const o=Math.max(1,Fe(n,i.pageSize)),l=i.pageSize*i.pageIndex,u=Math.floor(l/o);return{...i,pageIndex:u,pageSize:o}})},e.setPageCount=n=>e.setPagination(i=>{var o;let l=Fe(n,(o=e.options.pageCount)!=null?o:-1);return typeof l=="number"&&(l=Math.max(-1,l)),{...i,pageCount:l}}),e.getPageOptions=$(()=>[e.getPageCount()],n=>{let i=[];return n&&n>0&&(i=[...new Array(n)].fill(null).map((o,l)=>l)),i},{key:!1,debug:()=>{var n;return(n=e.options.debugAll)!=null?n:e.options.debugTable}}),e.getCanPreviousPage=()=>e.getState().pagination.pageIndex>0,e.getCanNextPage=()=>{const{pageIndex:n}=e.getState().pagination,i=e.getPageCount();return i===-1?!0:i===0?!1:n<i-1},e.previousPage=()=>e.setPageIndex(n=>n-1),e.nextPage=()=>e.setPageIndex(n=>n+1),e.getPrePaginationRowModel=()=>e.getExpandedRowModel(),e.getPaginationRowModel=()=>(!e._getPaginationRowModel&&e.options.getPaginationRowModel&&(e._getPaginationRowModel=e.options.getPaginationRowModel(e)),e.options.manualPagination||!e._getPaginationRowModel?e.getPrePaginationRowModel():e._getPaginationRowModel()),e.getPageCount=()=>{var n;return(n=e.options.pageCount)!=null?n:Math.ceil(e.getPrePaginationRowModel().rows.length/e.getState().pagination.pageSize)}}},et=()=>({left:[],right:[]}),tt=()=>({top:[],bottom:[]}),jn={getInitialState:e=>({columnPinning:et(),rowPinning:tt(),...e}),getDefaultOptions:e=>({onColumnPinningChange:ue("columnPinning",e),onRowPinningChange:ue("rowPinning",e)}),createColumn:(e,r)=>{e.pin=t=>{const n=e.getLeafColumns().map(i=>i.id).filter(Boolean);r.setColumnPinning(i=>{var o,l;if(t==="right"){var u,a;return{left:((u=i==null?void 0:i.left)!=null?u:[]).filter(h=>!(n!=null&&n.includes(h))),right:[...((a=i==null?void 0:i.right)!=null?a:[]).filter(h=>!(n!=null&&n.includes(h))),...n]}}if(t==="left"){var f,g;return{left:[...((f=i==null?void 0:i.left)!=null?f:[]).filter(h=>!(n!=null&&n.includes(h))),...n],right:((g=i==null?void 0:i.right)!=null?g:[]).filter(h=>!(n!=null&&n.includes(h)))}}return{left:((o=i==null?void 0:i.left)!=null?o:[]).filter(h=>!(n!=null&&n.includes(h))),right:((l=i==null?void 0:i.right)!=null?l:[]).filter(h=>!(n!=null&&n.includes(h)))}})},e.getCanPin=()=>e.getLeafColumns().some(n=>{var i,o,l;return((i=n.columnDef.enablePinning)!=null?i:!0)&&((o=(l=r.options.enableColumnPinning)!=null?l:r.options.enablePinning)!=null?o:!0)}),e.getIsPinned=()=>{const t=e.getLeafColumns().map(u=>u.id),{left:n,right:i}=r.getState().columnPinning,o=t.some(u=>n==null?void 0:n.includes(u)),l=t.some(u=>i==null?void 0:i.includes(u));return o?"left":l?"right":!1},e.getPinnedIndex=()=>{var t,n;const i=e.getIsPinned();return i?(t=(n=r.getState().columnPinning)==null||(n=n[i])==null?void 0:n.indexOf(e.id))!=null?t:-1:0}},createRow:(e,r)=>{e.pin=(t,n,i)=>{const o=n?e.getLeafRows().map(a=>{let{id:f}=a;return f}):[],l=i?e.getParentRows().map(a=>{let{id:f}=a;return f}):[],u=new Set([...l,e.id,...o]);r.setRowPinning(a=>{var f,g;if(t==="bottom"){var h,p;return{top:((h=a==null?void 0:a.top)!=null?h:[]).filter(x=>!(u!=null&&u.has(x))),bottom:[...((p=a==null?void 0:a.bottom)!=null?p:[]).filter(x=>!(u!=null&&u.has(x))),...Array.from(u)]}}if(t==="top"){var m,S;return{top:[...((m=a==null?void 0:a.top)!=null?m:[]).filter(x=>!(u!=null&&u.has(x))),...Array.from(u)],bottom:((S=a==null?void 0:a.bottom)!=null?S:[]).filter(x=>!(u!=null&&u.has(x)))}}return{top:((f=a==null?void 0:a.top)!=null?f:[]).filter(x=>!(u!=null&&u.has(x))),bottom:((g=a==null?void 0:a.bottom)!=null?g:[]).filter(x=>!(u!=null&&u.has(x)))}})},e.getCanPin=()=>{var t;const{enableRowPinning:n,enablePinning:i}=r.options;return typeof n=="function"?n(e):(t=n??i)!=null?t:!0},e.getIsPinned=()=>{const t=[e.id],{top:n,bottom:i}=r.getState().rowPinning,o=t.some(u=>n==null?void 0:n.includes(u)),l=t.some(u=>i==null?void 0:i.includes(u));return o?"top":l?"bottom":!1},e.getPinnedIndex=()=>{var t,n;const i=e.getIsPinned();if(!i)return-1;const o=(t=r._getPinnedRows(i))==null?void 0:t.map(l=>{let{id:u}=l;return u});return(n=o==null?void 0:o.indexOf(e.id))!=null?n:-1},e.getCenterVisibleCells=$(()=>[e._getAllVisibleCells(),r.getState().columnPinning.left,r.getState().columnPinning.right],(t,n,i)=>{const o=[...n??[],...i??[]];return t.filter(l=>!o.includes(l.column.id))},{key:!1,debug:()=>{var t;return(t=r.options.debugAll)!=null?t:r.options.debugRows}}),e.getLeftVisibleCells=$(()=>[e._getAllVisibleCells(),r.getState().columnPinning.left,,],(t,n)=>(n??[]).map(o=>t.find(l=>
vendor: 10,242 bytes, line 13
13l.column.id===o)).filter(Boolean).map(o=>({...o,position:"left"})),{key:!1,debug:()=>{var t;return(t=r.options.debugAll)!=null?t:r.options.debugRows}}),e.getRightVisibleCells=$(()=>[e._getAllVisibleCells(),r.getState().columnPinning.right],(t,n)=>(n??[]).map(o=>t.find(l=>l.column.id===o)).filter(Boolean).map(o=>({...o,position:"right"})),{key:!1,debug:()=>{var t;return(t=r.options.debugAll)!=null?t:r.options.debugRows}})},createTable:e=>{e.setColumnPinning=r=>e.options.onColumnPinningChange==null?void 0:e.options.onColumnPinningChange(r),e.resetColumnPinning=r=>{var t,n;return e.setColumnPinning(r?et():(t=(n=e.initialState)==null?void 0:n.columnPinning)!=null?t:et())},e.getIsSomeColumnsPinned=r=>{var t;const n=e.getState().columnPinning;if(!r){var i,o;return!!((i=n.left)!=null&&i.length||(o=n.right)!=null&&o.length)}return!!((t=n[r])!=null&&t.length)},e.getLeftLeafColumns=$(()=>[e.getAllLeafColumns(),e.getState().columnPinning.left],(r,t)=>(t??[]).map(n=>r.find(i=>i.id===n)).filter(Boolean),{key:!1,debug:()=>{var r;return(r=e.options.debugAll)!=null?r:e.options.debugColumns}}),e.getRightLeafColumns=$(()=>[e.getAllLeafColumns(),e.getState().columnPinning.right],(r,t)=>(t??[]).map(n=>r.find(i=>i.id===n)).filter(Boolean),{key:!1,debug:()=>{var r;return(r=e.options.debugAll)!=null?r:e.options.debugColumns}}),e.getCenterLeafColumns=$(()=>[e.getAllLeafColumns(),e.getState().columnPinning.left,e.getState().columnPinning.right],(r,t,n)=>{const i=[...t??[],...n??[]];return r.filter(o=>!i.includes(o.id))},{key:!1,debug:()=>{var r;return(r=e.options.debugAll)!=null?r:e.options.debugColumns}}),e.setRowPinning=r=>e.options.onRowPinningChange==null?void 0:e.options.onRowPinningChange(r),e.resetRowPinning=r=>{var t,n;return e.setRowPinning(r?tt():(t=(n=e.initialState)==null?void 0:n.rowPinning)!=null?t:tt())},e.getIsSomeRowsPinned=r=>{var t;const n=e.getState().rowPinning;if(!r){var i,o;return!!((i=n.top)!=null&&i.length||(o=n.bottom)!=null&&o.length)}return!!((t=n[r])!=null&&t.length)},e._getPinnedRows=r=>$(()=>[e.getRowModel().rows,e.getState().rowPinning[r]],(t,n)=>{var i;return((i=e.options.keepPinnedRows)==null||i?(n??[]).map(l=>{const u=e.getRow(l,!0);return u.getIsAllParentsExpanded()?u:null}):(n??[]).map(l=>t.find(u=>u.id===l))).filter(Boolean).map(l=>({...l,position:r}))},{key:!1,debug:()=>{var t;return(t=e.options.debugAll)!=null?t:e.options.debugRows}})(),e.getTopRows=()=>e._getPinnedRows("top"),e.getBottomRows=()=>e._getPinnedRows("bottom"),e.getCenterRows=$(()=>[e.getRowModel().rows,e.getState().rowPinning.top,e.getState().rowPinning.bottom],(r,t,n)=>{const i=new Set([...t??[],...n??[]]);return r.filter(o=>!i.has(o.id))},{key:!1,debug:()=>{var r;return(r=e.options.debugAll)!=null?r:e.options.debugRows}})}},$n={getInitialState:e=>({rowSelection:{},...e}),getDefaultOptions:e=>({onRowSelectionChange:ue("rowSelection",e),enableRowSelection:!0,enableMultiRowSelection:!0,enableSubRowSelection:!0}),createTable:e=>{e.setRowSelection=r=>e.options.onRowSelectionChange==null?void 0:e.options.onRowSelectionChange(r),e.resetRowSelection=r=>{var t;return e.setRowSelection(r?{}:(t=e.initialState.rowSelection)!=null?t:{})},e.toggleAllRowsSelected=r=>{e.setRowSelection(t=>{r=typeof r<"u"?r:!e.getIsAllRowsSelected();const n={...t},i=e.getPreGroupedRowModel().flatRows;return r?i.forEach(o=>{o.getCanSelect()&&(n[o.id]=!0)}):i.forEach(o=>{delete n[o.id]}),n})},e.toggleAllPageRowsSelected=r=>e.setRowSelection(t=>{const n=typeof r<"u"?r:!e.getIsAllPageRowsSelected(),i={...t};return e.getRowModel().rows.forEach(o=>{ot(i,o.id,n,!0,e)}),i}),e.getPreSelectedRowModel=()=>e.getCoreRowModel(),e.getSelectedRowModel=$(()=>[e.getState().rowSelection,e.getCoreRowModel()],(r,t)=>Object.keys(r).length?nt(e,t):{rows:[],flatRows:[],rowsById:{}},{key:!1,debug:()=>{var r;return(r=e.options.debugAll)!=null?r:e.options.debugTable}}),e.getFilteredSelectedRowModel=$(()=>[e.getState().rowSelection,e.getFilteredRowModel()],(r,t)=>Object.keys(r).length?nt(e,t):{rows:[],flatRows:[],rowsById:{}},{key:"getFilteredSelectedRowModel",debug:()=>{var r;return(r=e.options.debugAll)!=null?r:e.options.debugTable}}),e.getGroupedSelectedRowModel=$(()=>[e.getState().rowSelection,e.getSortedRowModel()],(r,t)=>Object.keys(r).length?nt(e,t):{rows:[],flatRows:[],rowsById:{}},{key:"getGroupedSelectedRowModel",debug:()=>{var r;return(r=e.options.debugAll)!=null?r:e.options.debugTable}}),e.getIsAllRowsSelected=()=>{const r=e.getFilteredRowModel().flatRows,{rowSelection:t}=e.getState();let n=!!(r.length&&Object.keys(t).length);return n&&r.some(i=>i.getCanSelect()&&!t[i.id])&&(n=!1),n},e.getIsAllPageRowsSelected=()=>{const r=e.getPaginationRowModel().flatRows.filter(i=>i.getCanSelect()),{rowSelection:t}=e.getState();let n=!!r.length;return n&&r.some(i=>!t[i.id])&&(n=!1),n},e.getIsSomeRowsSelected=()=>{var r;const t=Object.keys((r=e.getState().rowSelection)!=null?r:{}).length;return t>0&&t<e.getFilteredRowModel().flatRows.length},e.getIsSomePageRowsSelected=()=>{const r=e.getPaginationRowModel().flatRows;return e.getIsAllPageRowsSelected()?!1:r.filter(t=>t.getCanSelect()).some(t=>t.getIsSelected()||t.getIsSomeSelected())},e.getToggleAllRowsSelectedHandler=()=>r=>{e.toggleAllRowsSelected(r.target.checked)},e.getToggleAllPageRowsSelectedHandler=()=>r=>{e.toggleAllPageRowsSelected(r.target.checked)}},createRow:(e,r)=>{e.toggleSelected=(t,n)=>{const i=e.getIsSelected();r.setRowSelection(o=>{var l;if(t=typeof t<"u"?t:!i,e.getCanSelect()&&i===t)return o;const u={...o};return ot(u,e.id,t,(l=n==null?void 0:n.selectChildren)!=null?l:!0,r),u})},e.getIsSelected=()=>{const{rowSelection:t}=r.getState();return dt(e,t)},e.getIsSomeSelected=()=>{const{rowSelection:t}=r.getState();return lt(e,t)==="some"},e.getIsAllSubRowsSelected=()=>{const{rowSelection:t}=r.getState();return lt(e,t)==="all"},e.getCanSelect=()=>{var t;return typeof r.options.enableRowSelection=="function"?r.options.enableRowSelection(e):(t=r.options.enableRowSelection)!=null?t:!0},e.getCanSelectSubRows=()=>{var t;return typeof r.options.enableSubRowSelection=="function"?r.options.enableSubRowSelection(e):(t=r.options.enableSubRowSelection)!=null?t:!0},e.getCanMultiSelect=()=>{var t;return typeof r.options.enableMultiRowSelection=="function"?r.options.enableMultiRowSelection(e):(t=r.options.enableMultiRowSelection)!=null?t:!0},e.getToggleSelectedHandler=()=>{const t=e.getCanSelect();return n=>{var i;t&&e.toggleSelected((i=n.target)==null?void 0:i.checked)}}}},ot=(e,r,t,n,i)=>{var o;const l=i.getRow(r);t?(l.getCanMultiSelect()||Object.keys(e).forEach(u=>delete e[u]),l.getCanSelect()&&(e[r]=!0)):delete e[r],n&&(o=l.subRows)!=null&&o.length&&l.getCanSelectSubRows()&&l.subRows.forEach(u=>ot(e,u.id,t,n,i))};function nt(e,r){const t=e.getState().rowSelection,n=[],i={},o=function(l,u){return l.map(a=>{var f;const g=dt(a,t);if(g&&(n.push(a),i[a.id]=a),(f=a.subRows)!=null&&f.length&&(a={...a,subRows:o(a.subRows)}),g)return a}).filter(Boolean)};return{rows:o(r.rows),flatRows:n,rowsById:i}}function dt(e,r){var t;return(t=r[e.id])!=null?t:!1}function lt(e,r,t){var n;if(!((n=e.subRows)!=null&&n.length))return!1;let i=!0,o=!1;return e.subRows.forEach(l=>{if(!(o&&!i)&&(l.getCanSelect()&&(dt(l,r)?o=!0:i=!1),l.subRows&&l.subRows.length)){const u=lt(l,r);u==="all"?o=!0:(u==="some"&&(o=!0),i=!1)}}),i?"all":o?"some":!1}const at=/([0-9]+)/gm,kn=(e,r,t)=>Et(Ie(e.getValue(t)).toLowerCase(),Ie(r.getValue(t)).toLowerCase()),Fn=(e,r,t)=>Et(Ie(e.getValue(t)),Ie(r.getValue(t))),Nn=(e,r,t)=>gt(Ie(e.getValue(t)).toLowerCase(),Ie(r.getValue(t)).toLowerCase()),In=(e,r,t)=>gt(Ie(e.getValue(t)),Ie(r.getValue(t))),En=(e,r,t)=>{const n=e.getValue(t),i=r.getValue(t);return n>i?1:n<i?-1:0},Mn=(e,r,t)=>gt(e.getValue(t),r.getValue(t));function gt(e,r){return e===r?0:e>r?1:-1}function Ie(e){return typeof e=="number"?isNaN(e)||e===1/0||e===-1/0?"":String(e):typeof e=="string"?e:""}function Et(e,r){const t=e.split(at).filter(Boolean),n=r.split(at).filter(Boolean);for(;t.length&&n.length;){const i=t.shift(),o=n.shift(),l=parseInt(i,10),u=parseInt(o,10),a=[l,u].sort();if(isNaN(a[0])){if(i>o)return 1;if(o>i)return-1;continue}if(isNaN(a[1]))return isNaN(l)?-1:1;if(l>u)return 1;if(u>l)return-1}return t.length-n.length}const ze={alphanumeric:kn,alphanumericCaseSensitive:Fn,text:Nn,textCaseSensitive:In,datetime:En,basic:Mn},An={getInitialState:e=>({sorting:[],...e}),getDefaultColumnDef:()=>({sortingFn:"auto",sortUndefined:1}),getDefaultOptions:e=>({onSortingChange:ue("sorting",e),isMultiSortEvent:r=>r.shiftKey}),createColumn:(e,r)=>{e.getAutoSortingFn=()=>{const t=r.getFilteredRowModel().flatRows.slice(10);let n=!1;for(const i of t){const o=i==null?void 0:i.getValue(e.id);if(Object.prototype.toString.call(o)==="[object Date]")return ze.datetime;if(typeof o=="string"&&(n=!0,o.split(at).length>1))return ze.alphanumeric}return n?ze.text:ze.basic},e.getAutoSortDir=()=>{const t=r.getFilteredRowModel().flatRows[0];return typeof(t==null?void 0:t.getValue(e.id))=="string"?"asc":"desc"},e.getSortingFn=()=>{var t,n;if(!e)throw new Error;return Be(e.columnDef.sortingFn)?e.columnDef.sortingFn:e.columnDef.sortingFn==="auto"?e.getAutoSortingFn():(t=(n=r.options.sortingFns)==null?void 0:n[e.columnDef.sortingFn])!=null?t:ze[e.columnDef.sortingFn]},e.toggleSorting=(t,n)=>{const i=e.getNextSortingOrder(),o=typeof t<"u"&&t!==null;r.setSorting(l=>{const u=l==null?void 0:l.find(m=>m.id===e.id),a=l==null?void 0:l.findIndex(m=>m.id===e.id);let f=[],g,h=o?t:i==="desc";if(l!=null&&l.length&&e.getCanMultiSort()&&n?u?g="toggle":g="add":l!=null&&l.length&&a!==l.length-1?g="replace":u?g="toggle":g="replace",g==="toggle"&&(o||i||(g="remove")),g==="add"){var p;f=[...l,{id:e.id,desc:h}],f.splice(0,f.length-((p=r.options.maxMultiSortColCount)!=null?p:Number.MAX_SAFE_INTEGER))}else g==="toggle"?f=l.map(m=>m.id===e.id?{...m,desc:h}:m):g==="remove"?f=l.filter(m=>m.id!==e.id):f=[{id:e.id,desc:h}];return f})},e.getFirstSortDir=()=>{var t,n;return((t=(n=e.columnDef.sortDescFirst)!=null?n:r.options.sortDescFirst)!=null?t:e.getAutoSortDir()==="desc")?"desc":"asc"},e.getNextSortingOrder=t=>{var n,i;const o=e.getFirstSortDir(),l=e.getIsSorted();return l?l!==o&&((n=r.options.enableSortingRemoval)==null||n)&&(!(t&&(i=r.options.enableMultiRemove)!=null)||i)?!1:l
13==="desc"?"asc":"desc":o},e.getCanSort=()=>{var t,n;return((t=e.columnDef.enableSorting)!=null?t:!0)&&((n=r.options.enableSorting)!=null?n:!0)&&!!e.accessorFn},e.getCanMultiSort=()=>{var t,n;return(t=(n=e.columnDef.enableMultiSort)!=null?n:r.options.enableMultiSort)!=null?t:!!e.accessorFn},e.getIsSorted=()=>{var t;const n=(t=r.getState().sorting)==null?void 0:t.find(i=>i.id===e.id);return n?n.desc?"desc":"asc":!1},e.getSortIndex=()=>{var t,n;return(t=(n=r.getState().sorting)==null?void 0:n.findIndex(i=>i.id===e.id))!=null?t:-1},e.clearSorting=()=>{r.setSorting(t=>t!=null&&t.length?t.filter(n=>n.id!==e.id):[])},e.getToggleSortingHandler=()=>{const t=e.getCanSort();return n=>{t&&(n.persist==null||n.persist(),e.toggleSorting==null||e.toggleSorting(void 0,e.getCanMultiSort()?r.options.isMultiSortEvent==null?void 0:r.options.isMultiSortEvent(n):!1))}}},createTable:e=>{e.setSorting=r=>e.options.onSortingChange==null?void 0:e.options.onSortingChange(r),e.resetSorting=r=>{var t,n;e.setSorting(r?[]:(t=(n=e.initialState)==null?void 0:n.sorting)!=null?t:[])},e.getPreSortedRowModel=()=>e.getGroupedRowModel(),e.getSortedRowModel=()=>(!e._getSortedRowModel&&e.options.getSortedRowModel&&(e._getSortedRowModel=e.options.getSortedRowModel(e)),e.options.manualSorting||!e._getSortedRowModel?e.getPreSortedRowModel():e._getSortedRowModel())}},Pn={getInitialState:e=>({columnVisibility:{},...e}),getDefaultOptions:e=>({onColumnVisibilityChange:ue("columnVisibility",e)}),createColumn:(e,r)=>{e.toggleVisibility=t=>{e.getCanHide()&&r.setColumnVisibility(n=>({...n,[e.id]:t??!e.getIsVisible()}))},e.getIsVisible=()=>{var t,n;return(t=(n=r.getState().columnVisibility)==null?void 0:n[e.id])!=null?t:!0},e.getCanHide=()=>{var t,n;return((t=e.columnDef.enableHiding)!=null?t:!0)&&((n=r.options.enableHiding)!=null?n:!0)},e.getToggleVisibilityHandler=()=>t=>{e.toggleVisibility==null||e.toggleVisibility(t.target.checked)}},createRow:(e,r)=>{e._getAllVisibleCells=$(()=>[e.getAllCells(),r.getState().columnVisibility],t=>t.filter(n=>n.column.getIsVisible()),{key:"row._getAllVisibleCells",debug:()=>{var t;return(t=r.options.debugAll)!=null?t:r.options.debugRows}}),e.getVisibleCells=$(()=>[e.getLeftVisibleCells(),e.getCenterVisibleCells(),e.getRightVisibleCells()],(t,n,i)=>[...t,...n,...i],{key:!1,debug:()=>{var t;return(t=r.options.debugAll)!=null?t:r.options.debugRows}})},createTable:e=>{const r=(t,n)=>$(()=>[n(),n().filter(i=>i.getIsVisible()).map(i=>i.id).join("_")],i=>i.filter(o=>o.getIsVisible==null?void 0:o.getIsVisible()),{key:t,debug:()=>{var i;return(i=e.options.debugAll)!=null?i:e.options.debugColumns}});e.getVisibleFlatColumns=r("getVisibleFlatColumns",()=>e.getAllFlatColumns()),e.getVisibleLeafColumns=r("getVisibleLeafColumns",()=>e.getAllLeafColumns()),e.getLeftVisibleLeafColumns=r("getLeftVisibleLeafColumns",()=>e.getLeftLeafColumns()),e.getRightVisibleLeafColumns=r("getRightVisibleLeafColumns",()=>e.getRightLeafColumns()),e.getCenterVisibleLeafColumns=r("getCenterVisibleLeafColumns",()=>e.getCenterLeafColumns()),e.setColumnVisibility=t=>e.options.onColumnVisibilityChange==null?void 0:e.options.onColumnVisibilityChange(t),e.resetColumnVisibility=t=>{var n;e.setColumnVisibility(t?{}:(n=e.initialState.columnVisibility)!=null?n:{})},e.toggleAllColumnsVisible=t=>{var n;t=(n=t)!=null?n:!e.getIsAllColumnsVisible(),e.setColumnVisibility(e.getAllLeafColumns().reduce((i,o)=>({...i,[o.id]:t||!(o.getCanHide!=null&&o.getCanHide())}),{}))},e.getIsAllColumnsVisible=()=>!e.getAllLeafColumns().some(t=>!(t.getIsVisible!=null&&t.getIsVisible())),e.getIsSomeColumnsVisible=()=>e.getAllLeafColumns().some(t=>t.getIsVisible==null?void 0:t.getIsVisible()),e.getToggleAllColumnsVisibilityHandler=()=>t=>{var n;e.toggleAllColumnsVisible((n=t.target)==null?void 0:n.checked)}}},Ct=[an,Pn,yn,jn,gn,An,bn,dn,Rn,$n,un];function On(e){var r;(e.debugAll||e.debugTable)&&console.info("Creating Table Instance...");let t={_features:Ct};const n=t._features.reduce((g,h)=>Object.assign(g,h.getDefaultOptions==null?void 0:h.getDefaultOptions(t)),{}),i=g=>t.options.mergeOptions?t.options.mergeOptions(n,g):{...n,...g};let l={...{},...(r=e.initialState)!=null?r:{}};
13t._features.forEach(g=>{var h;l=(h=g.getInitialState==null?void 0:g.getInitialState(l))!=null?h:l});const u=[];let a=!1;const f={_features:Ct,options:{...n,...e},initialState:l,_queue:g=>{u.push(g),a||(a=!0,Promise.resolve().then(()=>{for(;u.length;)u.shift()();a=!1}).catch(h=>setTimeout(()=>{throw h})))},reset:()=>{t.setState(t.initialState)},setOptions:g=>{const h=Fe(g,t.options);t.options=i(h)},getState:()=>t.options.state,setState:g=>{t.options.onStateChange==null||t.options.onStateChange(g)},_getRowId:(g,h,p)=>{var m;return(m=t.options.getRowId==null?void 0:t.options.getRowId(g,h,p))!=null?m:`${p?[p.id,h].join("."):h}`},getCoreRowModel:()=>(t._getCoreRowModel||(t._getCoreRowModel=t.options.getCoreRowModel(t)),t._getCoreRowModel()),getRowModel:()=>t.getPaginationRowModel(),getRow:(g,h)=>{const p=(h?t.getCoreRowModel():t.getRowModel()).rowsById[g];if(!p)throw new Error;return p},_getDefaultColumnDef:$(()=>[t.options.defaultColumn],g=>{var h;return g=(h=g)!=null?h:{},{header:p=>{const m=p.header.column.columnDef;return m.accessorKey?m.accessorKey:m.accessorFn?m.id:null},cell:p=>{var m,S;return(m=(S=p.renderValue())==null||S.toString==null?void 0:S.toString())!=null?m:null},...t._features.reduce((p,m)=>Object.assign(p,m.getDefaultColumnDef==null?void 0:m.getDefaultColumnDef()),{}),...g}},{debug:()=>{var g;return(g=t.options.debugAll)!=null?g:t.options.debugColumns},key:!1}),_getColumnDefs:()=>t.options.columns,getAllColumns:$(()=>[t._getColumnDefs()],g=>{const h=function(p,m,S){return S===void 0&&(S=0),p.map(x=>{const k=ln(t,x,S,m),F=x;return k.columns=F.columns?h(F.columns,k,S+1):[],k})};return h(g)},{key:!1,debug:()=>{var g;return(g=t.options.debugAll)!=null?g:t.options.debugColumns}}),getAllFlatColumns:$(()=>[t.getAllColumns()],g=>g.flatMap(h=>h.getFlatColumns()),{key:!1,debug:()=>{var g;return(g=t.options.debugAll)!=null?g:t.options.debugColumns}}),_getAllFlatColumnsById:$(()=>[t.getAllFlatColumns()],g=>g.reduce((h,p)=>(h[p.id]=p,h),{}),{key:!1,debug:()=>{var g;return(g=t.options.debugAll)!=null?g:t.options.debugColumns}}),getAllLeafColumns:$(()=>[t.getAllColumns(),t._getOrderColumnsFn()],(g,h)=>{let p=g.flatMap(m=>m.getLeafColumns());return h(p)},{key:!1,debug:()=>{var g;return(g=t.options.debugAll)!=null?g:t.options.debugColumns}}),getColumn:g=>t._getAllFlatColumnsById()[g]};Object.assign(t,f);for(let g=0;g<t._features.length;g++){const h=t._features[g];h==null||h.createTable==null||h.createTable(t)}return t}function Vn(e,r,t,n){const i=()=>{var l;return(l=o.getValue())!=null?l:e.options.renderFallbackValue},o={id:`${r.id}_${t.id}`,row:r,column:t,getValue:()=>r.getValue(n),renderValue:i,getContext:$(()=>[e,t,r,o],(l,u,a,f)=>({table:l,column:u,row:a,cell:f,getValue:f.getValue,renderValue:f.renderValue}),{key:!1,debug:()=>e.options.debugAll})};return e._features.forEach(l=>{l.createCell==null||l.createCell(o,t,r,e)},{}),o}const Dn=(e,r,t,n,i,o,l)=>{let u={id:r,index:n,original:t,depth:i,parentId:l,_valuesCache:{},_uniqueValuesCache:{},getValue:a=>{if(u._valuesCache.hasOwnProperty(a))return u._valuesCache[a];const f=e.getColumn(a);if(f!=null&&f.accessorFn)return u._valuesCache[a]=f.accessorFn(u.original,n),u._valuesCache[a]},getUniqueValues:a=>{if(u._uniqueValuesCache.hasOwnProperty(a))return u._uniqueValuesCache[a];const f=e.getColumn(a);if(f!=null&&f.accessorFn)return f.columnDef.getUniqueValues?(u._uniqueValuesCache[a]=f.columnDef.getUniqueValues(u.original,n),u._uniqueValuesCache[a]):(u._uniqueValuesCache[a]=[u.getValue(a)],u._uniqueValuesCache[a])},renderValue:a=>{var f;return(f=u.getValue(a))!=null?f:e.options.renderFallbackValue},subRows:o??[],getLeafRows:()=>on(u.subRows,a=>a.subRows),getParentRow:()=>u.parentId?e.getRow(u.parentId,!0):void 0,getParentRows:()=>{let a=[],f=u;for(;;){const g=f.getParentRow();if(!g)break;a.push(g),f=g}return a.reverse()},getAllCells:$(()=>[e.getAllLeafColumns()],a=>a.map(f=>Vn(e,u,f,f.id)),{key:!1,debug:()=>{var a;return(a=e.options.debugAll)!=null?a:e.options.debugRows}}),_getAllCellsByColumnId:$(()=>[u.getAllCells()],a=>a.reduce((f,g)=>(f[g.column.id]=g,f),{}),{key:"row.getAllCellsByColumnId",debug:()=>{var a;return(a=e.options.debugAll)!=null?a:e.options.debugRows}})};for(let a=0;a<e._features.length;a++){const f=e._features[a];f==null||f.createRow==null||f.createRow(u,e)}return u};function zn(){return e=>$(()=>[e.options.data],r=>{const t={rows:[],flatRows:[],rowsById:{}},n=function(i,o,l){o===void 0&&(o=0);const u=[];for(let f=0;f<i.length;f++){const g=Dn(e,e._getRowId(i[f],f,l),i[f],f,o,void 0,l==null?void 0:l.id);if(t.flatRows.push(g),t.rowsById[g.id]=g,u.push(g),e.options.getSubRows){var a;g.originalSubRows=e.options.getSubRows(i[f],f),(a=g.originalSubRows)!=null&&a.length&&(g.subRows=n(g.originalSubRows,o+1,g))}}return u};return t.rows=n(r),t},{key:!1,debug:()=>{var r;return(r=e.options.debugAll)!=null?r:e.options.debugTable},onChange:()=>{e._autoResetPageIndex()}})}function Tn(){return e=>$(()=>[e.getState().sorting,e.getPreSortedRowModel()],(r,t)=>{if(!t.rows.length||!(r!=null&&r.length))return t;const n=e.getState().sorting,i=[],o=n.filter(a=>{var f;return(f=e.getColumn(a.id))==null?void 0:f.getCanSort()}),l={};o.forEach(a=>{const f=e.getColumn(a.id);f&&(l[a.id]={sortUndefined:f.columnDef.sortUndefined,invertSorting:f.columnDef.invertSorting,sortingFn:f.getSortingFn()})});const u=a=>{const f=a.map(g=>({...g}));return f.sort((g,h)=>{for(let m=0;m<o.length;m+=1){var p;const S=o[m],x=l[S.id],k=(p=S==null?void 0:S.desc)!=null?p:!1;let F=0;if(x.sortUndefined){const ce=g.getValue(S.id),te=h.getValue(S.id),se=ce===void 0,le=te===void 0;(se||le)&&(F=se&&le?0:se?x.sortUndefined:-x.sortUndefined)}if(F===0&&(F=x.sortingFn(g,h,S.id)),F!==0)return k&&(F*=-1),x.invertSorting&&(F*=-1),F}return g.index-h.index}),f.forEach(g=>{var h;i.push(g),(h=g.subRows)!=null&&h.length&&(g.subRows=u(g.subRows))}),f};return{rows:u(t.rows),flatRows:i,rowsById:t.rowsById}},{key:!1,debug:()=>{var r;return(r=e.options.debugAll)!=null?r:e.options.debugTable},onChange:()=>{e._autoResetPageIndex()}})}/** 14 * react-table 15 * 16 * Copyright (c) TanStack 17 * 18 * This source code is licensed under the MIT license found in the 19 * LICENSE.md file in the root directory of this source tree. 20 * 21 * @license MIT 22 */function wt(e,r){return e?Ln(e)?U.createElement(e,r):e:null}function Ln(e){return Hn(e)||typeof e=="function"||Gn(e)}function Hn(e){return typeof e=="function"&&(()=>{const r=Object.getPrototypeOf(e);return r.prototype&&r.prototype.isReactComponent})()}function Gn(e){return typeof e=="object"&&typeof e.$$typeof=="symbol"&&["react.memo","react.forward_ref"].includes(e.$$typeof.description)}function Bn(e){const r={state:{},onStateChange:()=>{},renderFallbackValue:null,...e},[t]=U.useState(()=>({current:On(r)})),[n,i]=U.useState(()=>t.current.initialState);return t.current.setOptions(o=>({...o,...e,state:{...n,...e.state},onStateChange:l=>{i(l),e.onStateChange==null||e.onStateChange(l)}})),t.current}/** 23 * react-virtual 24 * 25 * Copyright (c) TanStack 26 * 27 * This source code is licensed under the MIT license found in the 28 * LICENSE.md file in the root directory of this source tree. 29 * 30 * @license MIT 31 */function qe(){return qe=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},qe.apply(this,arguments)}/** 32 * virtual-core 33 * 34 * Copyright (c) TanStack 35 * 36 * This source code is licensed under the MIT license found in the 37 * LICENSE.md file in the root directory of this source tree. 38 * 39 * @license MIT 40 */function Ue(){return Ue=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},Ue.apply(this,arguments)}/** 41 * virtual-core 42 * 43 * Copyright (c) TanStack 44 * 45 * This source code is licensed under the MIT license found in the 46 * LICENSE.md file in the root directory of this source tree. 47 * 48 * @license MIT 49 */function Oe(e,r,t){var n,i=(n=t.initialDeps)!=null?n:[],o;return function(){var l;t.key&&t.debug!=null&&t.debug()&&(l=Date.now());var u=e(),a=u.length!==i.length||u.some(function(S,x){return i[x]!==S});if(!a)return o;i=u;var f;if(t.key&&t.debug!=null&&t.debug()&&(f=Date.now()),o=r.apply(void 0,u),t.key&&t.debug!=null&&t.debug()){var g=Math.round((Date.now()-l)*100)/100,h=Math.round((Date.now()-f)*100)/100,p=h/16,m=function(x,k){for(x=String(x);x.length<k;)x=" "+x;return x};console.info("%câ± "+m(h,5)+" /"+m(g,5)+" ms",` 50 font-size: .6rem; 51 font-weight: bold; 52 color: hsl(`+Math.max(0,Math.min(120-120*p,120))+"deg 100% 31%);",t==null?void 0:t.key)}return t==null||t.onChange==null||t.onChange(o),o}}function rt(e,r){if(e===void 0)throw new Error("Unexpected undefined"+(r?": "+r:""));return e}var qn=function(r,t){return Math.abs(r-t)<1};/** 53 * virtual-core 54 * 55 * Copyright (c) TanStack 56 * 57 * This source code is licensed under the MIT license found in the 58 * LICENSE.md file in the root directory of this source tree. 59 * 60 * @license MIT 61 */var Un=function(r){return r},Zn=function(r){for(var t=Math.max(r.startIndex-r.overscan,0),n=Math.min(r.endIndex+r.overscan,r.count-1),i=[],o=t;o<=n;o++)i.push(o);return i},Kn=function(r,t){var n=r.scrollElement;if(n){var i=function(u){var a=u.width,f=u.height;t({width:Math.round(a),height:Math.round(f)})};i(n.getBoundingClientRect());var o=new ResizeObserver(function(l){var u=l[0];if(u!=null&&u.borderBoxSize){var a=u.borderBoxSize[0];if(a){i({width:a.inlineSize,height:a.blockSize});return}}i(n.getBoundingClientRect())});return o.observe(n,{box:"border-box"}),function(){o.unobserve(n)}}},Wn=function(r,t){var n=r.scrollElement;if(n){var i=function(){t(n[r.options.horizontal?"scrollLeft":"scrollTop"])};return i(),n.addEventListener("scroll",i,{passive:!0}),function(){n.removeEventListener("scroll",i)}}},Xn=function(r,t,n){if(t!=null&&t.borderBoxSize){var i=t.borderBoxSize[0];if(i){var o=Math.round(i[n.options.horizontal?"inlineSize":"blockSize"]);return o}}return Math.round(r.getBoundingClientRect()[n.options.horizontal?"width":"height"])},Qn=function(r,t,n){var i,o,l=t.adjustments,u=l===void 0?0:l,a=t.behavior,f=r+u;(i=n.scrollElement)==null||i.scrollTo==null||i.scrollTo((o={}
61,o[n.options.horizontal?"left":"top"]=f,o.behavior=a,o))},Yn=function(r){var t=this;this.unsubs=[],this.scrollElement=null,this.isScrolling=!1,this.isScrollingTimeoutId=null,this.scrollToIndexTimeoutId=null,this.measurementsCache=[],this.itemSizeCache=new Map,this.pendingMeasuredCacheIndexes=[],this.scrollDirection=null,this.scrollAdjustments=0,this.measureElementCache=new Map,this.observer=function(){var n=null,i=function(){return n||(typeof ResizeObserver<"u"?n=new ResizeObserver(function(l){l.forEach(function(u){t._measureElement(u.target,u)})}):null)};return{disconnect:function(){var l;return(l=i())==null?void 0:l.disconnect()},observe:function(l){var u;return(u=i())==null?void 0:u.observe(l,{box:"border-box"})},unobserve:function(l){var u;return(u=i())==null?void 0:u.unobserve(l)}}}(),this.range=null,this.setOptions=function(n){Object.entries(n).forEach(function(i){var o=i[0],l=i[1];typeof l>"u"&&delete n[o]}),t.options=Ue({debug:!1,initialOffset:0,overscan:1,paddingStart:0,paddingEnd:0,scrollPaddingStart:0,scrollPaddingEnd:0,horizontal:!1,getItemKey:Un,rangeExtractor:Zn,onChange:function(){},measureElement:Xn,initialRect:{width:0,height:0},scrollMargin:0,scrollingDelay:150,indexAttribute:"data-index",initialMeasurementsCache:[],lanes:1},n)},this.notify=function(n){t.options.onChange==null||t.options.onChange(t,n)},this.maybeNotify=Oe(function(){return t.calculateRange(),[t.isScrolling,t.range?t.range.startIndex:null,t.range?t.range.endIndex:null]},function(n){t.notify(n)},{key:!1,debug:function(){return t.options.debug},initialDeps:[this.isScrolling,this.range?this.range.startIndex:null,this.range?this.range.endIndex:null]}),this.cleanup=function(){t.unsubs.filter(Boolean).forEach(function(n){return n()}),t.unsubs=[],t.scrollElement=null},this._didMount=function(){return t.measureElementCache.forEach(t.observer.observe),function(){t.observer.disconnect(),t.cleanup()}},this._willUpdate=function(){var n=t.options.getScrollElement();t.scrollElement!==n&&(t.cleanup(),t.scrollElement=n,t._scrollToOffset(t.scrollOffset,{adjustments:void 0,behavior:void 0}),t.unsubs.push(t.options.observeElementRect(t,function(i){t.scrollRect=i,t.maybeNotify()})),t.unsubs.push(t.options.observeElementOffset(t,function(i){t.scrollAdjustments=0,t.scrollOffset!==i&&(t.isScrollingTimeoutId!==null&&(clearTimeout(t.isScrollingTimeoutId),t.isScrollingTimeoutId=null),t.isScrolling=!0,t.scrollDirection=t.scrollOffset<i?"forward":"backward",t.scrollOffset=i,t.maybeNotify(),t.isScrollingTimeoutId=setTimeout(function(){t.isScrollingTimeoutId=null,t.isScrolling=!1,t.scrollDirection=null,t.maybeNotify()},t.options.scrollingDelay))})))},this.getSize=function(){return t.scrollRect[t.options.horizontal?"width":"height"]},this.memoOptions=Oe(function(){return[t.options.count,t.options.paddingStart,t.options.scrollMargin,t.options.getItemKey]},function(n,i,o,l){return t.pendingMeasuredCacheIndexes=[],{count:n,paddingStart:i,scrollMargin:o,getItemKey:l}},{key:!1}),this.getFurthestMeasurement=function(n,i){for(var o=new Map,l=new Map,u=i-1;u>=0;u--){var a=n[u];if(!o.has(a.lane)){var f=l.get(a.lane);if(f==null||a.end>f.end?l.set(a.lane,a):a.end<f.end&&o.set(a.lane,!0),o.size===t.options.lanes)break}}return l.size===t.options.lanes?Array.from(l.values()).sort(function(g,h){return g.end-h.end})[0]:void 0},this.getMeasurements=Oe(function(){return[t.memoOptions(),t.itemSizeCache]},function(n,i){var o=n.count,l=n.paddingStart,u=n.scrollMargin,a=n.getItemKey,f=t.pendingMeasuredCacheIndexes.length>0?Math.min.apply(Math,t.pendingMeasuredCacheIndexes):0;t.pendingMeasuredCacheIndexes=[];for(var g=t.measurementsCache.slice(0,f),h=f;h<o;h++){var p=a(h),m=t.options.lanes===1?g[h-1]:t.getFurthestMeasurement(g,h),S=m?m.end:l+u,x=i.get(p),k=typeof x=="number"?x:t.options.estimateSize(h),F=S+k,ce=m?m.lane:h%t.options.lanes;g[h]={index:h,start:S,size:k,end:F,key:p,lane:ce}}return t.measurementsCache=g,g},{key:!1,debug:function(){return t.options.debug}}),this.calculateRange=Oe(function(){return[t.getMeasurements(),t.getSize(),t.scrollOffset]},function(n,i,o){return t.range=n.length>0&&i>0?Jn({measurements:n,outerSize:i,scrollOffset:o}):null},{key:!1,debug:function(){return t.options.debug}}),this.getIndexes=Oe(function(){return[t.options.rangeExtractor,t.calculateRange(),t.options.overscan,t.options.count]},function(n,i,o,l){return i===null?[]:n(Ue({},i,{overscan:o,count:l}))},{key:!1,debug:function(){return t.options.debug}}
61),this.indexFromElement=function(n){var i=t.options.indexAttribute,o=n.getAttribute(i);return o?parseInt(o,10):(console.warn("Missing attribute name '"+i+"={index}' on measured element."),-1)},this._measureElement=function(n,i){var o=t.measurementsCache[t.indexFromElement(n)];if(!o||!n.isConnected){t.measureElementCache.forEach(function(a,f){a===n&&(t.observer.unobserve(n),t.measureElementCache.delete(f))});return}var l=t.measureElementCache.get(o.key);l!==n&&(l&&t.observer.unobserve(l),t.observer.observe(n),t.measureElementCache.set(o.key,n));var u=t.options.measureElement(n,i,t);t.resizeItem(o,u)},this.resizeItem=function(n,i){var o,l=(o=t.itemSizeCache.get(n.key))!=null?o:n.size,u=i-l;u!==0&&(n.start<t.scrollOffset&&t._scrollToOffset(t.scrollOffset,{adjustments:t.scrollAdjustments+=u,behavior:void 0}),t.pendingMeasuredCacheIndexes.push(n.index),t.itemSizeCache=new Map(t.itemSizeCache.set(n.key,i)),t.notify(!1))},this.measureElement=function(n){n&&t._measureElement(n,void 0)},this.getVirtualItems=Oe(function(){return[t.getIndexes(),t.getMeasurements()]},function(n,i){for(var o=[],l=0,u=n.length;l<u;l++){var a=n[l],f=i[a];o.push(f)}return o},{key:!1,debug:function(){return t.options.debug}}),this.getVirtualItemForOffset=function(n){var i=t.getMeasurements();return rt(i[Mt(0,i.length-1,function(o){return rt(i[o]).start},n)])},this.getOffsetForAlignment=function(n,i){var o=t.getSize();i==="auto"&&(n<=t.scrollOffset?i="start":n>=t.scrollOffset+o?i="end":i="start"),i==="start"?n=n:i==="end"?n=n-o:i==="center"&&(n=n-o/2);var l=t.options.horizontal?"scrollWidth":"scrollHeight",u=t.scrollElement?"document"in t.scrollElement?t.scrollElement.document.documentElement[l]:t.scrollElement[l]:0,a=u-t.getSize();return Math.max(Math.min(a,n),0)},this.getOffsetForIndex=function(n,i){i===void 0&&(i="auto"),n=Math.max(0,Math.min(n,t.options.count-1));var o=rt(t.getMeasurements()[n]);if(i==="auto")if(o.end>=t.scrollOffset+t.getSize()-t.options.scrollPaddingEnd)i="end";else if(o.start<=t.scrollOffset+t.options.scrollPaddingStart)i="start";else return[t.scrollOffset,i];var l=i==="end"?o.end+t.options.scrollPaddingEnd:o.start-t.options.scrollPaddingStart;return[t.getOffsetForAlignment(l,i),i]},this.isDynamicMode=function(){return t.measureElementCache.size>0},this.cancelScrollToIndex=function(){t.scrollToIndexTimeoutId!==null&&(clearTimeout(t.scrollToIndexTimeoutId),t.scrollToIndexTimeoutId=null)},this.scrollToOffset=function(n,i){var o=i===void 0?{}:i,l=o.align,u=l===void 0?"start":l,a=o.behavior;t.cancelScrollToIndex(),a==="smooth"&&t.isDynamicMode()&&console.warn("The `smooth` scroll behavior is not fully supported with dynamic size."),t._scrollToOffset(t.getOffsetForAlignment(n,u),{adjustments:void 0,behavior:a})},this.scrollToIndex=function(n,i){var o=i===void 0?{}:i,l=o.align,u=l===void 0?"auto":l,a=o.behavior;n=Math.max(0,Math.min(n,t.options.count-1)),t.cancelScrollToIndex(),a==="smooth"&&t.isDynamicMode()&&console.warn("The `smooth` scroll behavior is not fully supported with dynamic size.");var f=t.getOffsetForIndex(n,u),g=f[0],h=f[1];t._scrollToOffset(g,{adjustments:void 0,behavior:a}),a!=="smooth"&&t.isDynamicMode()&&(t.scrollToIndexTimeoutId=setTimeout(function(){t.scrollToIndexTimeoutId=null;var p=t.measureElementCache.has(t.options.getItemKey(n));if(p){var m=t.getOffsetForIndex(n,h),S=m[0];qn(S,t.scrollOffset)||t.scrollToIndex(n,{align:h,behavior:a})}else t.scrollToIndex(n,{align:h,behavior:a})}))},this.scrollBy=function(n,i){var o=i===void 0?{}:i,l=o.behavior;t.cancelScrollToIndex(),l==="smooth"&&t.isDynamicMode()&&console.warn("The `smooth` scroll behavior is not fully supported with dynamic size."),t._scrollToOffset(t.scrollOffset+n,{adjustments:void 0,behavior:l})},this.getTotalSize=function(){var n;return(((n=t.getMeasurements()[t.options.count-1])==null?void 0:n.end)||t.options.paddingStart)-t.options.scrollMargin+t.options.paddingEnd},this._scrollToOffset=function(n,i){var o=i.adjustments,l=i.behavior;t.options.scrollToFn(n,{behavior:l,adjustments:o},t)},this.measure=function(){t.itemSizeCache=new Map,t.notify(!1)},this.setOptions(r),this.scrollRect=this.options.initialRect,this.scrollOffset=this.options.initialOffset,this.measurementsCache=this.options.initialMeasurementsCache,this.measurementsCache.forEach(function(n){t.itemSizeCache.set(n.key,n.size)}),this.maybeNotify()},Mt=function(r,t,n,i){for(;r<=t;){var o=(r+t)/2|0,l=n(o);if(l<i)r=o+1;else if(l>i)t=o-1;else return o}return r>0?r-1:0};function Jn(e){for(var r=e.measurements,t=e.outerSize,n=e.scrollOffset,i=r.length-1,o=function(f){return r[f].start},l=Mt(0,i,o,n),u=l;u<i&&r[u].end<n+t;)u++;return{startIndex:l,endIndex:u}}/** 62 * react-virtual 63 * 64 * Copyright (c) TanStack 65 * 66 * This source code is licensed under the MIT license found in the 67 * LICENSE.md file in the root directory of this source tree. 68 * 69 * @license MIT 70 */var er=typeof document<"u"?U.useLayoutEffect:U.useEffect;function tr(e){var r=U.useReducer(function(){return{}},{})[1],t=qe({}
70,e,{onChange:function(l,u){u?Vt.flushSync(r):r(),e.onChange==null||e.onChange(l,u)}}),n=U.useState(function(){return new Yn(t)}),i=n[0];return i.setOptions(t),U.useEffect(function(){return i._didMount()},[]),er(function(){return i._willUpdate()}),i}function nr(e){return tr(qe({observeElementRect:Kn,observeElementOffset:Wn,scrollToFn:Qn},e))}function rr({className:e,num:r,...t}){return s.jsxs("svg",{className:Ne("w-12 h-12",e),viewBox:"0 0 216 216",xmlns:"http://www.w3.org/2000/svg",...t,children:[s.jsx("path",{className:"fill-current",d:"m134.64,111.61c1.7-1.74,3.69-4.13,5.24-6.05,2.13-2.63,3.82-5.56,5.79-8.31,3.88-5.4,4.17-7.71,5.28-7.54,2.39.36,2.92,11.38,2.51,19.1-.43,8.28-2.36,15.83-4.89,23.66-2.66,8.22-4.99,16.67-9.43,24.16-5.1,8.6-12.85,15.54-21.78,20.03-18.48,9.29-43.54,9.05-57.17-8.52-2.08-2.68-8.94-12.35-7.29-23.63.86-5.9,3.19-6.29,3.77-13.32.22-2.64.72-8.7-2.26-14.83-3.07-6.29-8.01-8.97-7.29-10.06.74-1.1,6.12,1.27,7.79,2.01,2.96,1.31,5.36,2.37,7.79,4.78,3,2.97,4.29,6.26,5.28,8.8.64,1.63,1.01,3.35,1.51,5.03.54,1.83.74,2.49,1.07,2.51.9.04,1.78-4.72,1.82-4.98.32-1.79.77-4.31.24-7.53-.62-3.81-2.26-6.4-3.77-8.75-2.98-4.62-4.11-4.14-6.68-7.9-4.18-6.11-4.65-12.48-4.74-14.21-.23-4.77.88-8.37,1.46-10.2,1.97-6.23,5.47-11.79,6.44-11.42.6.23-.23,2.58-.61,9.6-.25,4.63,1.41,10.09,3.84,14.23,2.27,3.88,4.67,5.85,8.49,8.22,2.29,1.42,4.44,3.05,6.43,4.86,1.02.93,4,5.26,5.53,4.76,1.45-.48,1.68-4.42,1.09-7.29-.72-3.52-2.77-5.87-5.22-8.62-2.85-3.19-3.57-2.95-6.92-6.56-2.67-2.87-4.17-4.48-5.34-7.17-1.79-4.09-1.57-7.8-1.46-9.35.26-3.67,1.38-6.1,3.4-10.45,1.31-2.83,3.16-6.74,6.8-10.81,2.74-3.07,5.9-5.55,6.44-5.1.4.33-.11,1.95-.67,5.1-.2,1.1-.22,2.01,0,5.1.33,4.66,1.41,6.99,1.76,8.5.42,1.76,1.12,4.63,3.16,7.77,1.3,2,2.88,4.43,5.83,5.95,2.09,1.08.78.53,4.98,2.19,2,.79,3.21,1.28,4.62,2.31.51.37,2.4,1.82,4.01,4.5.78,1.31,5.32,11.99,6.92,7.31,1.54-4.49,2.82-8.52,3.28-13.27.81-8.37,1.22-12.55.73-16.88-.33-2.9-.91-5.81,0-6.19.69-.29,1.89,1.04,2.79,2.06,2.67,3.03,3.93,6.03,4.49,7.41,2.38,5.79,3.56,8.69,4.01,10.32.38,1.38,1.82,6.93,1.82,14.58,0,7.3-1.31,14.28-1.94,17.61-.36,1.89-.79,3.78-1.1,5.68-.06.4-.38,1.9-.04,2.19.4.35,1.22-.36,1.53-.72.2-.23.41-.46.63-.68Z"}),s.jsx("path",{className:"fill-current",d:"m100.57,38.69c-.75-.22-2.88,3.72-4.01,7.9-.38,1.41-1.52,6.06-.45,12.13.61,3.47,1.31,7.45,3.45,7.9,1.85.4,4.28-1.93,5.12-4.34.7-1.98.07-4.13-1.22-8.35-1.43-4.69-2.07-4.89-2.56-7.68-.79-4.53.29-7.39-.33-7.57Z"}),s.jsx("path",{className:"fill-current",d:"m112.13,58.49c-.54.33,1.09,2.55.67,5.68-.19,1.44-.6,1.44-1.45,4.12-.96,3.03-1.44,4.54-.67,5.57.85,1.13,2.91,1.3,4.34.67,2.43-1.07,2.78-4.36,2.89-5.46.44-4.18-2.12-7.24-3.23-8.57-.82-.98-2.12-2.27-2.56-2Z"})]})}function ir({className:e,num:r,...t}){return s.jsxs("svg",{className:Ne("w-12 h-12",e),viewBox:"0 0 216 216",xmlns:"http://www.w3.org/2000/svg",...t,children:[s.jsxs("g",{children:[s.jsx("path",{className:"fill-current",d:"m147.46,141.26c.45,1.27.74,3.82,0,5.46-.15.55-.6.91-1.04,1.09-1.05.37-2.24.37-2.98.37h-1.04c-.45,0-1.04.18-1.64.18-.89,0-1.64-.18-1.94-1.09-.44-1.28-.29-3.46-.14-6.2v-.54c.14-1.46-.15-4.19-.3-4.74-.3-.73-1.49-4-1.64-5.46,0-.37,0-.73-.15-1.09-.3-1.1-.59-2.55,0-3.46.15-.37.6-.73,1.34-.73s1.34,0,1.94.18c.74.18,1.49.36,1.78,0,1.19-1.28,2.68-2.55,3.72-2,.3.18.75.54.9,1.63.3,1.83.15,2.37.15,3.65-.15.54-.15,1.09-.15,2-.15,2.91.74,9.11,1.19,10.75Z"}),s.jsx("path",{className:"fill-current",d:"m139.23,151.64c.5-1.64,1.66-1.64,2.16-1.64.99.18,2.16.18,2.99,0s1.99-.18,2.65.18c.33.36.5.91.33,1.82,0,.55-.16.91-.33,1.46-.16,1.09-.5,2.37-.5,2.91v.73c.17,1.28.5,3.1-.16,4.19-.5,1.09-1.66,3.28-3.32,3.28h-.5c-1-.18-2.82-.73-2.82-3.1,0-1.46,0-2.91.16-4.19,0-.54-.33-2.37-.49-3.46-.12-1.03-.24-1.51-.24-1.83,0-.14.02-.24.07-.35Z"}),s.jsx("path",{className:"fill-current",d:"m143.48,111.02c1.83,4.37,1.5,7.11,1,8.93-.33,1.64-1.17,2.36-3.17,3.09h-.17c-.83.37-1.5.55-2.17.55-1.17,0-2.33-.55-4.5-1.82-3.51-2.73-3.51-9.84-3.51-15.12v-.36c0-4.56-1-9.84-1.67-11.29-.83-1.64-2.5-7.65-2.67-8.02-.33-1.27-.33-2.18,0-2.91.5-1.09,1.67-1.46,2.84-1.64.67-.18,1.5-.36,2.17-.91.83-.73,1.34-1.28,1.84-1.82.66-.73,1.33-1.46,2.5-1.82.33-.19,1-.37,1.67.18.67.73.67,1.82.5,3.28-.17.36-.17.91-.17,1.45,0,2.55.84,12.75,1.34,15.12.5,2.19,2.33,8.56,4.17,13.11Z"}),s.jsx("path",{className:"fill-current",d:"m129.09,159.65c.47,1.82,1.42,6.92.32,8.56-.32.36-.63.55-1.11.55-.47-.19-.78-.19-1.1-.37-.47-.18-.63-.18-1.26,0-.31.18-.63.37-.94.55-.64.36-1.42.91-2.21.91-.32,0-.79-.18-1.1-.55-1.11-.91-1.58-1.82-1.42-4.91.16-2.92.16-9.11,0-10.75-.16-.73-.79-2.37-1.26-3.82-.79-2.19-1.26-3.65-1.26-4.38,0-.18-.16-.72-.32-1.09-.31-1.09-.63-2.18,0-3.09.24-.41.66-.62,1.11-.62.16,0,.31.03.47.07,1.89.36,5.2.73,6.3.36.16,0,.47-.18.63-.18.95-.36,1.73-.55,2.36,0,.48.37.48,1.28.48,1.82l-.16,1.46c0,1.82-.16,4.19-.16,5.46,0,2.01.16,7.65.63,10.02Z"}),s.jsx("path",{className:"fill-current",d:"m127.78,170.76c1.44.73,1.76,1.27,1.6,3.1l-.16.36c-.32.91-.8,2.73-.8,3.64v1.1c.32,2.91.48,6.01-.48,7.64l-.32.55c-.64,1.28-1.12,2-2.4,2-.16,0-.64-.18-.96-.18-1.6-.36-3.2-1.09-3.04-4,0-.55,0-1.28.16-1.83.16-1.27.32-2.73.32-4.55,0-.91-.16-4.01,0-4.92v-.36c.16-1.09.64-1.82,2.24-2,.48,0,.8-.19,1.28-.37.64-.36,1.44-.73,2.56-.18Z"}),s.jsx("path",{className:"fill-current",d:"m128.64,129.96c.66,2.19.33,3.28.16,4.19-.16.37-.16.55-.16.91,0,1.28-1,2.74-2.66,4.01-.66.55-1.83.73-2.82.73-1.5,0-2.83-.37-3.66-.55-1.66-.54-2.15-1.82-3.65-4.37-1.16-2.73-1-9.47-1-9.83,0-.19-.99-21.31-1.32-23.68-.17-1.27-.67-2.73-1.17-4.01-.33-.91-.83-2-.99-2.91-.5-2.19,0-6.74,0-7.1,0-.73.33-1.28.99-1.82,1-.91,2.49-1.28,3.49-1.1,1.33.19,2.16.19,4.82,0,3.15-.18,4.65,3.28,4.81,5.47.17.54,0,1.45-.33,2.73-.5,2.37-1.33,6.55-1.33,12.57,0,8.37,1.83,15.48,2.49,17.84v.19c.33,1.09.67,2.18,1.16,3.46.5,1.09.84,2.18,1.17,3.27Z"}),s.jsx("path",{className:"fill-current",d:"m108.06,135.79c.95,3.46.95,
706.92.79,8.38-.31,1.64-2.52,3.46-6.45,3.46-.79,0-1.58,0-2.52-.18-1.58-.18-2.68-1.09-3.47-2.37-1.57-2.91-.94-7.1-.79-7.83v-34.6c0-2.74-.31-3.65-.78-4.92-.32-.55-.63-1.46-.95-2.55-.79-3.46,0-7.65,0-7.83v-.19c.95-2.18,2.36-2,4.25-1.82,1.11.19,2.37.19,4.1.19,1.89,0,3.31.36,4.25,1.45,1.26,1.64,1.26,4.01,1.26,5.65v.54c0,2.37-1.73,7.29-2.05,8.38,0,1.82.32,18.4.63,23.31.32,5.47.79,8.02,1.73,10.93Z"}),s.jsx("path",{className:"fill-current",d:"m108.77,172.76c.32,1.1.16,2.01-.48,2.73-.63.73-1.59,1.28-2.7,1.28h-.64c-1.43-.36-1.75-.36-3.02-.18-.48.18-.96.18-1.44.18-.79,0-1.27-.55-1.59-.91-.95-1.46-.16-4.74.16-5.65v-9.47c0-1-.4-2.46-.87-3.85-.48-1.39-1.04-2.71-1.36-3.43-.63-1.64-.16-3.28,1.12-4.37,1.27-1.1,2.23-.37,3.02,0,.16.18.32.18.64.36.63.18,2.07.55,3.98,0,1.27-.36,1.91.18,2.23.55.79,1.09.63,2.73.31,4-.47,1.28-.31,8.75-.31,11.66v1.64c0,1.64.31,2.91.79,4.37l.16,1.09Z"}),s.jsx("path",{className:"fill-current",d:"m107.08,178.41c.56.73,1.4,1.82.56,4.19-.14.91-.14,3.09,0,4.91.14,2.92.28,4.56-.14,5.29,0,.36-.14.73-.14,1.09-.14.91-.42,2.37-1.83,2.91l-.42.19c-.71.18-1.69.54-2.53.54-.57,0-1.13-.18-1.55-.54-.56-.55-.85-1.28-.85-2.37s0-2.92.14-4.74c.15-2.37.43-6.01.15-6.74v-.18c0-.18-.57-2.37.28-3.82.56-.73,1.26-1.1,2.39-.91,1.69.18,2.25,0,2.67-.19.28,0,.84-.18,1.27.37Z"}),s.jsx("path",{className:"fill-current",d:"m89.85,89.35c0,4.92-.61,9.83-1.51,12.93-.75,2.92-1.2,18.4-1.35,26.23.15.73.9,5.28,1.35,7.83s.75,5.28-1.65,7.28c-1.2,1.1-2.56,2.19-4.21,2.19-.9,0-1.8-.18-2.86-.91l-.9-.55c-2.25-1.27-3.3-2-3.3-5.64,0-2.01.3-3.65.6-5.29.15-1.09.3-2.36.45-3.82.15-2,.6-3.82.9-5.46.3-1.1.45-2.01.45-2.55,0-.19.15-12.57,0-16.03,0-1.46-.3-2.55-.6-3.64-.45-1.46-.9-3.28-.9-6.01,0-4.74.3-9.84,3.15-10.38,1.36-.19,3.31,0,4.81,0h2.86c.6-.19,1.35-.19,1.95.36.46.55.76,1.64.76,3.46Z"}),s.jsx("path",{className:"fill-current",d:"m86.38,146.72c.29.36.43.73.43,1.46,0,1.64-.58,3.27-1.15,5.28l-.14.54c-.15.73-.15,4.19,0,6.92.14,7.11.14,10.39-.86,11.3-1.3,1.09-2.73,2.18-4.74,2.18-.43,0-1.01,0-1.58-.18-2.44-.73-3.59-1.64-3.3-4.55.29-2.37.72-7.29.29-12.57-.15-.91-.29-1.82-.29-2.73-.29-4.55-.58-7.47.86-8.74h.14c.15-.19,2.16-1.1,3.45.18.86,1.09,1.58,1.64,3.3,1.64.57-.18,1.15-.37,1.72-.55.72-.36,1.44-.54,1.87-.18Z"}),s.jsx("path",{className:"fill-current",d:"m84.51,177.5c.28,1.09,0,2.18-.13,3.09-.14.37-.27.91-.27,1.46v2.73c.13,3.46.13,5.1-.54,5.83-.54.55-1.36,1.09-2.31,1.09h-.27c-.67-.18-1.22-.54-1.62-1.27-.95-1.64-1.63-6.92-1.76-7.65-.41-1.82-.81-4.92-.14-6.01.14-.36.54-.55.82-.55.4,0,.81,0,1.21.19.68.18,1.49.36,2.31.18.54,0,.81-.18,1.08-.37.27-.18.68-.36,1.08-.18.41.18.54.73.54,1.46Z"}),s.jsx("path",{className:"fill-current",d:"m71.69,89.99c.77,2.18,1.08,3.46-.46,5.28-.15.37-.46.91-.92,1.46-1.69,2.55-4.92,7.28-6.15,12.2-.77,2.55-.92,4.19-1.07,5.46-.16,1.83-.31,3.1-1.85,3.65-.61.36-1.69.54-2.76.54-1.39,0-2.92-.36-3.84-1.09-.62-.55-1.08-1.46-1.08-2.37v-1.45c0-2.37,0-4.01.92-6.01,1.23-2.19,2.31-5.83,3.08-9.29.15-.73.3-1.64.46-2.73.76-4.74,1.84-11.11,4.45-12.94.92-.54,1.69-.54,2.61-.18l.16.18.15.37s.77,2,2,3.09c.46.37.92.55,1.38.73.92.37,2.15.73,2.77,2.74l.15.36Z"}),s.jsx("path",{className:"fill-current",d:"m62.35,121.5c0,.73-.16,1.27-.32,1.82-.33.54-.33,1.09-.17,1.27.33.55,2.26,5.65,0,7.11-.32.36-.64.36-.96.36-.64,0-1.29-.18-1.93-.55-1.93-1.09-4.02-3.46-4.35-6.19-.16-1.46-.48-2.37-.64-2.91-.32-.91-.64-2.01.64-2.73l.49-.19.32.37c.16.18.96.54,2.73.54.65,0,1.29,0,1.77-.18.81-.18,1.45-.18,1.93.18.33.19.49.55.49,1.1Z"})]}),s.jsx("path",{className:"fill-current",d:"m97.63,54.62c1.02-2.04,2.87-3.04,4.39-3.86,3.92-2.12,5.77-.87,7.2-2.63,1.49-1.84,1.21-5.31-.53-7.2-1.27-1.38-2.98-1.53-5.97-1.76-3.63-.27-6.73.25-9.13.88-3.68.96-7.54,1.97-9.66,5.27-.34.54-1.58,2.47-.88,3.69.74,1.29,2.76.25,4.74,1.58,2.19,1.47,1.2,3.73,3.69,6.32,1.32,1.38,3.55,2.77,4.74,2.11,1.04-.58.31-2.21,1.4-4.39Z"}),s.jsx("path",{className:"fill-current",d:"m92.35,60.94c.83-.28,1.28.99,2.78.92,1.75-.07,2.38-1.86,3.37-1.5.83.3.71,1.68,1.69,3.81,1.03,2.25,1.81,2.13,2.78,3.93.25.46,2.24,4.31.69,8.09-1.46,3.56-4.91,4.2-5.08,4.23-.4.07-2.8.42-4.83-1.34-2.17-1.89-2.44-4.91-2.78-8.66-.3-3.37-.25-8.92,1.39-9.47Z"}),s.jsx("path",{className:"fill-current",d:"m110.26,49.8c-.58-.19-1.98.22-4.76,1.06-1.65.5-2.43.78-3.27,1.16-2.65,1.2-3.06,2.06-3.17,2.32-.42.99-.2,2-.1,2.43.32,1.42,1.04,1.67,1.98,3.27.47.8.42.96,1.49,4.01.45,1.27.87,2.56,1.39,3.8.34.82.51,1.16.59,1.8.16,1.27.7,1.78,1,2.53.19.48-1.46,8.38-.16,8.94,2.34,1.02,4.73-.51,5.82.09,2,1.09,1.53-2.21,3.39-1.43.19.08,1.26-.63,2.24-1.48,1.62-1.41-1.34-5.48-2.18-13.62-.36-3.47-.11-5.53-1.19-9.5-1.19-4.41-2.39-5.16-3.07-5.39Z"}),s.jsx("path",{className:"fill-current",d:"m116,59.46c-1.01.96-.46,3.04.5,6.64,1,3.75,1.52,3.6,1.59,5.45.09,2.64-.95,3.87,0,5.35.74,1.15,2.16,1.65,2.28,1.69,1.03.35,1.36.01,2.68.4,1.33.39,1.5.88,2.18.79.93-.12,1.09-1.08,2.08-2.08,1.87-1.89,3.7-.88,5.06-2.48,1.38-1.63.73-4.13.69-4.26-.12-.45-.51-1.6-4.26-4.46-3.2-2.44-3.46-2.02-5.16-3.67-1.73-1.68-1.93-2.58-3.47-3.27-1.04-.47-3.15-1.06-4.16-.1Z"}),s.jsx("path",{className:"fill-current",d:"m124.91,45.32c-.81.67-.3,1.6-.79,3.27-.56,1.89-1.54,1.86-3.37,4.86-1,1.64-1.5,2.46-1.39,3.37.2,1.66,1.95,2.71,3.87,3.87,2.22,1.33,2.86,1.03,5.25,2.58,1.52.98,1.73,1.41,2.18,1.29,1.69-.44,1.36-6.98.75-10.98-.54-3.56-1.19-7.48-3.72-8.45-.78-.3-2.02-.43-2.78.2Z"}),s.jsx("path",{className:"fill-current",d:"m83.45,51.13c1.19-.3,2.24.18,2.41.27,2.67,1.29,2.95,5.69,3.08,7.75.29,4.66-1.14,4.25-.67,7.49.57,3.92,2.89,6.16,3.08,11.23.03.84-.02,1.05-.14,1.25-1.34,2.38-8.61-1.37-13.26,1.82-.48.33-1.03.8-2,1.05-1.71.43-4.39.07-5.29-1.46-1.18-2.02,1.85-4.2,2-9.93.05-1.88-.28-1.53-.18-2.96.33-4.86,3.89-5.25,7.34-11.97,1.05-2.05,1.78-4.07,3.63-4.54Z"}),s.jsx("path",{className:"fill-current",d:"m115.15,56.61c-.04.26-.19.92.18,1.34.48.56,1.71.56,2.37,0,.62-.52.39-1.24.67-2.37.35-1.45,1.01-1.47,2.6-3.81,1-1.47,1.52-2.6,2.33-4.34,1.01-2.18,1.05-2.78,1.03-3.22,0-.15-.12-2.05-1.57-3.27-1.4-1.18-2.39-.31-5.06-1.16-2.78-.89-3.25-2.32-4.97-2.02-1.06.19-2.14.96-2.46,1.97-.29.9.1,1.75.27,2.15,1.29,2.99.23,2.76,1.84,7.12,1.65,4.47,3.11,5.66,2.78,7.61Z"})]})}function sr({className:e,num:r,...t}){return s.jsxs("svg",{className:Ne("w-12 h-12",e),viewBox:"0 0 216 216",xmlns:"http://www.w3.org/2000/svg",...t,children:[s.jsx("path",{className:"fill-current",d:"m55.89,87.32c3.47,2.76,5.03,6.13,5.04,6.15,1.21,2.61,3.07,4.1,16.84,15.83,16.9,14.41,17.96,15.46,22.19,18.36,6.08,4.16,9.21,6.28,14.02,8.07,7.06,2.62,16.25,6.35,22.39,2.52,1.42-.89,3.55-2.71,5.55-2.02,1.28.45,1.61,1.62,2.92,3.43,1.77,2.44,3.67,3.78,5.75,5.24,2.63,1.85,5.34,3.75,8.98,4.03,4.23.33,7.25-1.73,8.37-.3.6.77-.09,1.59.5,2.92.71,1.59,2.47,2.16,4.34,2.82,5.85,2.07,8.77,3.11,8.77,4.03,0,1.46-6.9,2.55-7.36,2.62-4.89.75-8.69.38-10.59.2-16.1-1.51-17.03-.36-23.9-2.22-4.64-1.25-4.31-1.8-9.78-3.63-19.43-6.5-36.21-3.83-40.65-2.02-2.34.96-4.86,1.47-7.16,2.52-1.01.46-1.85.9-3.03.81-1.62-.13-2.54-1.15-4.34-2.52-2.21-1.68-3.08-1.86-4.84-3.03-2.34-1.54-8.27-6.15-12.3-13.01-2.96-5.03-3.69-9.22-4.94-16.34-2.28-13.02.93-12.8-.81-27.94-.29-2.54-.94-7.36.71-8.07.91-.39,2.2.61,3.33,1.51Z"}),s.jsx("path",{className:"fill-current",d:"m188.78,135.71c-1.49-2.32-3.05-3.67-5-5.33-4.65-3.95-8.13-5.24-18.72-11.62-1.33-.8-4.12-2.52-5.81-5.81-.49-.95-1.12-2.36-.12-3.71,1.13-1.52,1.72-1.41,4.44-.57,5.89,1.8,10.86,2.96,11.17,2.5.27-.39-1.85-2.39-4.52-4.52-4.13-3.29-7.56-4.11-12.11-5.81-6.76-2.53-11.53-5.34-17.27-8.72-1.3-.76-4.59-2.94-11.14-7.26-11.34-7.49-12.04-8.07-14.69-9.52-6.29-3.45-11.49-5.22-15.17-6.46-6.38-2.14-12.14-3.12-23.4-5,0,0-15.48-2.59-28.57-.48-1.38.22-4.03.72-5.03,2.68-1.07,2.12.36,4.84,1.09,6.23,1.85,3.53,4.5,5.44,6.45,6.89,3.72,2.76,7.24,5.77,10.87,8.63,7.85,6.18,6.06,7.01,14.86,14.28,4.98,4.12,10.39,7.84,12.18,9.06,3.12,2.13,3.53,2.25,5.44,3.58,7.89,5.47,8.49,8.46,13.38,12.12,9.47,7.09,21.74,6.77,24.22,6.65,4.07-.19,5.74-1.04,11.44-.87,1.64.05,6.85.27,13.07,2.26,4.83,1.54,6,2.79,6.62,3.87,1.26,2.22.29,4.03,1.61,5,1.57,1.16,3.43-1.04,7.59-.81.82.05,4.62.26,6.29,2.74,1.02,1.51.19,2.28,1.13,4.04,1.29,2.4,4.58,4.19,7.59,3.55,2.41-.51,3.79-2.4,4.04-2.74,3.04-4.29.47-11.11-1.94-14.85Zm-88.76-39c-.15.1-.28.21-.46.28-3.72,2.3-10.37,1.42-18.35-5.29-4.64-3.9-5.24-6.66-1.86-9.52.1-.08.21-.18.34-.28,1.65-1.29,4.15-2.66,7.46-4.15,3.33-1.5,4.36-1.19,7.48-.26.36-.03.75.08,1.06.31,8.36,7.56,8.75,15.69,4.34,18.91Z"})," "]})}function or({className:e,num:r,...t}){return s.jsxs("svg",{className:Ne("w-12 h-12",e),viewBox:"0 0 216 216",xmlns:"http://www.w3.org/2000/svg",...t,children:[s.jsx("path",{className:"fill-current",d:"m101.27,61.66c.86-2.32,4.97-1.51,11.32-3.41,7.01-2.09,11.77-5.99,14.12-7.91,7.56-6.19,9.51-12.24,12.42-11.56,2.5.58,3.26,5.39,3.41,6.33.7,4.42-1.19,8.05-3.29,12.05-1.67,3.2-3.44,5.44-4.38,6.57-2.01,2.4-4.53,4.35-9.49,8.15-5.58,4.28-7.17,5.04-9.25,5.23-.8.07-2.97.25-5.23-.85-1.62-.79-2.58-1.88-5.6-6.69-2.91-4.64-4.36-6.98-4.02-7.91Z"}),s.jsx("path",{className:"fill-current",d:"m117.94,79.43c.48-2.3,4.55-2.54,8.4-4.38,2.91-1.4,4.74-3.49,8.4-7.67,3.73-4.27,6.27-7.16,7.91-11.81.72-2.03,1.17-4.1,2.07-4.14.97-.04,1.18,2.31,3.16,5.23,2.64,3.88,5.06,3.86,5.6,6.21.55,2.43-1.51,4.75-3.77,7.3-4.53,5.1-9.64,7.45-13.39,9.13-1.14.51-5.33,2.34-10.95,3.04-5.11.64-6.51-.26-7.06-1.1-.05-.08-.56-.88-.37-1.83Z"}),s.jsx("path",{className:"fill-current",d:"m124.88,86.61c-.06.41,0,1.45,6.57,5.36,5.62,3.34,9.43,4.87,12.29,5.84,3.56,1.21,6.8,2.29,7.55,1.22.7-1-1.61-2.65-2.43-6.45-.47-2.14-.03-2.97.61-8.15.78-6.37,1.15-9.56,0-10.22-.97-.56-2.14.72-6.69,3.53-2.78,1.72-6.31,3.89-10.47,5.6-4.89,2.01-7.22,1.97-7.42,3.29Z"}),s.jsx("path",{className:"fill-current",d:"m96.62,66.33c-2.93,4.82-4.33,8.99-5.01,10.64-1.79,4.37-4.86,6.75-10.44,11.06-4.62,3.57-6.98,5.4-10.85,6.26-2.7.6-5.67.63-5.84,1.67-.09.56.7.86,2.5,2.5,1.91,1.75,1.85,2.18,4.17,4.38,1.65,1.57,2.5,2.36,3.34,2.5,1.4.25,2.44-.5,5.01-2.09,4.78-2.95,3.98-2.09,6.05-3.55,2.08-1.47,5.54-3.9,8.56-8.14,1.46-2.05,2.36-4.08,4.17-8.14.22-.5.07-.17,3.34-8.97.55-1.47.79-2.12.83-3.13.16-3.34-1.97-6.96-3.76-6.89-.94.04-1.6,1.08-2.09,1.88Z"}),s.jsx("path",{className:"fill-current",d:"m104.76,76.55c-2.73,1.14-1.1,5.36-4.8,12.31-2.55,4.79-5.95,7.74-8.35,9.81-7.66,6.63-12.92,6.46-12.94,8.97-.03,3.91,12.72,6.67,23.38,8.97,0,0,3.01.65,9.6.42,3.03-.11,4.45-.39,4.8-1.25.4-.99-.94-1.95-2.3-5.01,0,0-.64-1.43-1.25-3.76-1.24-4.68-.12-9.32.83-13.15,1.5-5.97,2.57-5.89,2.3-8.14-.68-5.55-7.77-10.65-11.27-9.18Z"}),s.jsx("path",{className:"fill-current",d:"m117.91,88.87c-2.32-1.19-1.97,5.24-1.67,12.73.21,5.26.42,10.24,2.5,10.85,1.09.32,2.11-.73,6.89-5.64,7.36-7.56,8.93-8.66,7.93-9.39-7.47-5.47-6.68-3.97-15.65-8.56Z"}),s.jsx("path",{className:"fill-current",d:"m136.7,99.57c-1.11.08-4.34.61-11.12,11.63-3.76,6.11-3.82,7.67-3.42,8.9.45,1.36,1.84,2.35,4.62,4.28,3.59,2.49,7.66,5.32,9.24,4.11.83-.64.15-1.77,1.03-4.28.63-1.79,1.54-2.85,2.4-3.94,2.17-2.75,1.08-2,5.48-8.38,4.32-6.28,6.01-7.94,5.3-9.24-.2-.37-1.39-.71-3.76-1.37-4.4-1.22-6.45-1.46-7.19-1.54-1.33-.14-2-.21-2.57-.17Z"}),s.jsx("path",{className:"fill-current",d:"m99.06,120.79c-.43.69.11,2.01,1.2,4.62,1.47,3.5,3.05,5.94,3.42,6.5,1.59,2.42,3.84,5.34,7.01,8.21,2.46,2.23,4.22,3.78,5.3,3.25,1.18-.57.12-2.87,1.03
70-6.33,1.31-4.97,4.81-5.23,5.13-9.07.26-3.1-1.73-6.44-4.28-7.53-1.7-.73-2.68-.04-5.82.34-7.56.93-11.87-1.83-13,0Z"}),s.jsx("path",{className:"fill-current",d:"m124.72,129.69c-1.51.83-1.21,2.21-2.74,8.04-1.81,6.92-3.46,9.64-1.88,11.81.18.25.86.74,2.22,1.71,3.14,2.25,4.71,3.37,5.48,2.91.74-.45.09-1.99,0-4.79-.13-4.26,1.17-7.7,1.88-9.58,1.72-4.55,3.43-5.22,2.91-7.01-.76-2.6-5.33-4.47-7.87-3.08Z"}),s.jsx("path",{className:"fill-current",d:"m60.22,100.09c-6.12,8.22-8.55,23.44-8.55,23.44-1.93,12.06-2.89,18.16-2.74,21.73,0,0,.31,7.39,4.62,18.31.57,1.46,1.53,3.69,3.76,5.13,1.46.94,3.06,1.29,6.67,1.37,3.81.08,6.72.14,10.61-.68,8.3-1.75,14.25-6.07,24.98-14.03,8.44-6.26,10.59-8.85,10.09-11.12-.33-1.52-1.56-1.61-4.62-4.45-1.35-1.25-5.49-5.1-7.53-10.27-2.12-5.39.05-7.11-2.22-10.09-1.82-2.39-3.81-2.08-10.44-4.45-6.77-2.42-10.16-3.63-13.17-6.33-5.22-4.68-6.12-10.54-9.07-10.27-1.15.11-1.93,1.09-2.4,1.71Z"}),s.jsx("path",{className:"fill-current",d:"m70.34,175.27c2.73,1.56,5.34,1.81,5.75,1.84,10.44.87,19.33-1.96,19.33-1.96,4.24-1.35,8.77-3.97,17.83-9.2,9.06-5.23,11.53-7.36,11.16-8.97-.17-.74-1.06-.56-3.57-2.19-2.24-1.45-3.88-3.07-4.6-3.8-2.44-2.44-2.98-3.82-4.03-3.68-.91.12-1.27,1.28-2.07,2.65-.94,1.6-2.51,2.91-5.64,5.52-1.55,1.29-4.97,4.05-11.39,8.17-4.44,2.85-8.1,4.93-11.97,6.79-4.39,2.11-6.14,2.52-7.82,2.65-2.57.2-4.88-.28-5.06.35-.17.56,1.52,1.53,2.07,1.84Z"})]})}var At={exports:{}};/* @license
71Papa Parse 72v5.4.1 73https://github.com/mholt/PapaParse 74License: MIT 75*/(function(e,r){(function(t,n){e.exports=n()})(Dt,function t(){var n=typeof self<"u"?self:typeof window<"u"?window:n!==void 0?n:{},i=!n.document&&!!n.postMessage,o=n.IS_PAPA_WORKER||!1,l={},u=0,a={parse:function(d,c){var v=(c=c||{}).dynamicTyping||!1;if(A(v)&&(c.dynamicTypingFunction=v,v={}),c.dynamicTyping=v,c.transform=!!A(c.transform)&&c.transform,c.worker&&a.WORKERS_SUPPORTED){var C=function(){if(!a.WORKERS_SUPPORTED)return!1;var j=(J=n.URL||n.webkitURL||null,H=t.toString(),a.BLOB_URL||(a.BLOB_URL=J.createObjectURL(new Blob(["var global = (function() { if (typeof self !== 'undefined') { return self; } if (typeof window !== 'undefined') { return window; } if (typeof global !== 'undefined') { return global; } return {}; })(); global.IS_PAPA_WORKER=true; ","(",H,")();"],{type:"text/javascript"})))),N=new n.Worker(j),J,H;return N.onmessage=ce,N.id=u++,l[N.id]=N}();return C.userStep=c.step,C.userChunk=c.chunk,C.userComplete=c.complete,C.userError=c.error,c.step=A(c.step),c.chunk=A(c.chunk),c.complete=A(c.complete),c.error=A(c.error),delete c.worker,void C.postMessage({input:d,config:c,workerId:C.id})}var b=null;return a.NODE_STREAM_INPUT,typeof d=="string"?(d=function(j){return j.charCodeAt(0)===65279?j.slice(1):j}(d),b=c.download?new h(c):new m(c)):d.readable===!0&&A(d.read)&&A(d.on)?b=new S(c):(n.File&&d instanceof File||d instanceof Object)&&(b=new p(c)),b.stream(d)},unparse:function(d,c){var v=!1,C=!0,b=",",j=`\r 76`,N='"',J=N+N,H=!1,_=null,B=!1;(function(){if(typeof c=="object"){if(typeof c.delimiter!="string"||a.BAD_DELIMITERS.filter(function(w){return c.delimiter.indexOf(w)!==-1}).length||(b=c.delimiter),(typeof c.quotes=="boolean"||typeof c.quotes=="function"||Array.isArray(c.quotes))&&(v=c.quotes),typeof c.skipEmptyLines!="boolean"&&typeof c.skipEmptyLines!="string"||(H=c.skipEmptyLines),typeof c.newline=="string"&&(j=c.newline),typeof c.quoteChar=="string"&&(N=c.quoteChar),typeof c.header=="boolean"&&(C=c.header),Array.isArray(c.columns)){if(c.columns.length===0)throw new Error("Option columns is empty");_=c.columns}c.escapeChar!==void 0&&(J=c.escapeChar+N),(typeof c.escapeFormulae=="boolean"||c.escapeFormulae instanceof RegExp)&&(B=c.escapeFormulae instanceof RegExp?c.escapeFormulae:/^[=+\-@\t\r].*$/)}})();var R=new RegExp(k(N),"g");if(typeof d=="string"&&(d=JSON.parse(d)),Array.isArray(d)){if(!d.length||Array.isArray(d[0]))return ve(null,d,H);if(typeof d[0]=="object")return ve(_||Object.keys(d[0]),d,H)}else if(typeof d=="object")return typeof d.data=="string"&&(d.data=JSON.parse(d.data)),Array.isArray(d.data)&&(d.fields||(d.fields=d.meta&&d.meta.fields||_),d.fields||(d.fields=Array.isArray(d.data[0])?d.fields:typeof d.data[0]=="object"?Object.keys(d.data[0]):[]),Array.isArray(d.data[0])||typeof d.data[0]=="object"||(d.data=[d.data])),ve(d.fields||[],d.data||[],H);throw new Error("Unable to serialize unrecognized input");function ve(w,D,re){var G="";
76typeof w=="string"&&(w=JSON.parse(w)),typeof D=="string"&&(D=JSON.parse(D));var ee=Array.isArray(w)&&0<w.length,W=!Array.isArray(D[0]);if(ee&&C){for(var X=0;X<w.length;X++)0<X&&(G+=b),G+=ne(w[X],X);0<D.length&&(G+=j)}for(var y=0;y<D.length;y++){var E=ee?w.length:D[y].length,T=!1,K=ee?Object.keys(D[y]).length===0:D[y].length===0;if(re&&!ee&&(T=re==="greedy"?D[y].join("").trim()==="":D[y].length===1&&D[y][0].length===0),re==="greedy"&&ee){for(var O=[],ie=0;ie<E;ie++){var q=W?w[ie]:ie;O.push(D[y][q])}T=O.join("").trim()===""}if(!T){for(var V=0;V<E;V++){0<V&&!K&&(G+=b);var xe=ee&&W?w[V]:V;G+=ne(D[y][xe],V)}y<D.length-1&&(!re||0<E&&!K)&&(G+=j)}}return G}function ne(w,D){if(w==null)return"";if(w.constructor===Date)return JSON.stringify(w).slice(1,25);var re=!1;B&&typeof w=="string"&&B.test(w)&&(w="'"+w,re=!0);var G=w.toString().replace(R,J);return(re=re||v===!0||typeof v=="function"&&v(w,D)||Array.isArray(v)&&v[D]||function(ee,W){for(var X=0;X<W.length;X++)if(-1<ee.indexOf(W[X]))return!0;return!1}(G,a.BAD_DELIMITERS)||-1<G.indexOf(b)||G.charAt(0)===" "||G.charAt(G.length-1)===" ")?N+G+N:G}}};if(a.RECORD_SEP=String.fromCharCode(30),a.UNIT_SEP=String.fromCharCode(31),a.BYTE_ORDER_MARK="\uFEFF",a.BAD_DELIMITERS=["\r",` 77`,'"',a.BYTE_ORDER_MARK],a.WORKERS_SUPPORTED=!i&&!!n.Worker,a.NODE_STREAM_INPUT=1,a.LocalChunkSize=10485760,a.RemoteChunkSize=5242880,a.DefaultDelimiter=",",a.Parser=F,a.ParserHandle=x,a.NetworkStreamer=h,a.FileStreamer=p,a.StringStreamer=m,a.ReadableStreamStreamer=S,n.jQuery){var f=n.jQuery;f.fn.parse=function(d){var c=d.config||{},v=[];return this.each(function(j){if(!(f(this).prop("tagName").toUpperCase()==="INPUT"&&f(this).attr("type").toLowerCase()==="file"&&n.FileReader)||!this.files||this.files.length===0)return!0;for(var N=0;N<this.files.length;N++)v.push({file:this.files[N],inputElem:this,instanceConfig:f.extend({},c)})}),C(),this;function C(){if(v.length!==0){var j,N,J,H,_=v[0];if(A(d.before)){var B=d.before(_.file,_.inputElem);if(typeof B=="object"){if(B.action==="abort")return j="AbortError",N=_.file,J=_.inputElem,H=B.reason,void(A(d.error)&&d.error({name:j},N,J,H));if(B.action==="skip")return void b();typeof B.config=="object"&&(_.instanceConfig=f.extend(_.instanceConfig,B.config))}else if(B==="skip")return void b()}var R=_.instanceConfig.complete;_.instanceConfig.complete=function(ve){A(R)&&R(ve,_.file,_.inputElem),b()},a.parse(_.file,_.instanceConfig)}else A(d.complete)&&d.complete()}function b(){v.splice(0,1),C()}}}function g(d){this._handle=null,this._finished=!1,this._completed=!1,this._halted=!1,this._input=null,this._baseIndex=0,this._partialLine="",this._rowCount=0,this._start=0,this._nextChunk=null,this.isFirstChunk=!0,this._completeResults={data:[],errors:[],meta:{}},(function(c){var v=le(c);v.chunkSize=parseInt(v.chunkSize),c.step||c.chunk||(v.chunkSize=null),this._handle=new x(v),(this._handle.streamer=this)._config=v}).call(this,d),this.parseChunk=function(c,v){if(this.isFirstChunk&&A(this._config.beforeFirstChunk)){var C=this._config.beforeFirstChunk(c);C!==void 0&&(c=C)}this.isFirstChunk=!1,this._halted=!1;var b=this._partialLine+c;this._partialLine="";var j=this._handle.parse(b,this._baseIndex,!this._finished);if(!this._handle.paused()&&!this._handle.aborted()){var N=j.meta.cursor;this._finished||(this._partialLine=b.substring(N-this._baseIndex),this._baseIndex=N),j&&j.data&&(this._rowCount+=j.data.length);var J=this._finished||this._config.preview&&this._rowCount>=this._config.preview;if(o)n.postMessage({results:j,workerId:a.WORKER_ID,finished:J});else if(A(this._config.chunk)&&!v){if(this._config.chunk(j,this._handle),this._handle.paused()||this._handle.aborted())return void(this._halted=!0);j=void 0,this._completeResults=void 0}return this._config.step||this._config.chunk||(this._completeResults.data=this._completeResults.data.concat(j.data),this._completeResults.errors=this._completeResults.errors.concat(j.errors),this._completeResults.meta=j.meta),this._completed||!J||!A(this._config.complete)||j&&j.meta.aborted||(this._config.complete(this._completeResults,this._input),this._completed=!0),J||j&&j.meta.paused||this._nextChunk(),j}this._halted=!0},this._sendError=function(c){A(this._config.error)?this._config.error(c):o&&this._config.error&&n.postMessage({workerId:a.WORKER_ID,error:c,finished:!1})}}function h(d){var c;(d=d||{}).chunkSize||(d.chunkSize=a.RemoteChunkSize),g.call(this,d),this._nextChunk=i?function(){this._readChunk(),this._chunkLoaded()}:function(){this._readChunk()},this.stream=function(v){this._input=v,this._nextChunk()},this._readChunk=function(){if(this._finished)this._chunkLoaded();else{if(c=new XMLHttpRequest,this._config.withCredentials&&(c.withCredentials=this._config.withCredentials),i||(c.onload=de(this._chunkLoaded,this),c.onerror=de(this._chunkError,this)),c.open(this._config.downloadRequestBody?"POST":"GET",this._input,!i),this._config.downloadRequestHeaders){var v=this._config.downloadRequestHeaders;for(var C in v)c.setRequestHeader(C,v[C])}if(this._config.chunkSize){var b=this._start+this._config.chunkSize-1;c.setRequestHeader("Range","bytes="+this._start+"-"+b)}try{c.send(this._config.downloadRequestBody)}catch(j){this._chunkError(j.message)}i&&c.status===0&&this._chunkError()}},this._chunkLoaded=function(){c.readyState===4&&(c.status<200||400<=c.status?this._chunkError():(this._start+=this._config.chunkSize?this._config.chunkSize:c.responseText.length,this._finished=!this._config.chunkSize||this._start>
77=function(v){var C=v.getResponseHeader("Content-Range");return C===null?-1:parseInt(C.substring(C.lastIndexOf("/")+1))}(c),this.parseChunk(c.responseText)))},this._chunkError=function(v){var C=c.statusText||v;this._sendError(new Error(C))}}function p(d){var c,v;(d=d||{}).chunkSize||(d.chunkSize=a.LocalChunkSize),g.call(this,d);var C=typeof FileReader<"u";this.stream=function(b){this._input=b,v=b.slice||b.webkitSlice||b.mozSlice,C?((c=new FileReader).onload=de(this._chunkLoaded,this),c.onerror=de(this._chunkError,this)):c=new FileReaderSync,this._nextChunk()},this._nextChunk=function(){this._finished||this._config.preview&&!(this._rowCount<this._config.preview)||this._readChunk()},this._readChunk=function(){var b=this._input;if(this._config.chunkSize){var j=Math.min(this._start+this._config.chunkSize,this._input.size);b=v.call(b,this._start,j)}var N=c.readAsText(b,this._config.encoding);C||this._chunkLoaded({target:{result:N}})},this._chunkLoaded=function(b){this._start+=this._config.chunkSize,this._finished=!this._config.chunkSize||this._start>=this._input.size,this.parseChunk(b.target.result)},this._chunkError=function(){this._sendError(c.error)}}function m(d){var c;g.call(this,d=d||{}),this.stream=function(v){return c=v,this._nextChunk()},this._nextChunk=function(){if(!this._finished){var v,C=this._config.chunkSize;return C?(v=c.substring(0,C),c=c.substring(C)):(v=c,c=""),this._finished=!c,this.parseChunk(v)}}}function S(d){g.call(this,d=d||{});var c=[],v=!0,C=!1;this.pause=function(){g.prototype.pause.apply(this,arguments),this._input.pause()},this.resume=function(){g.prototype.resume.apply(this,arguments),this._input.resume()},this.stream=function(b){this._input=b,this._input.on("data",this._streamData),this._input.on("end",this._streamEnd),this._input.on("error",this._streamError)},this._checkIsFinished=function(){C&&c.length===1&&(this._finished=!0)},this._nextChunk=function(){this._checkIsFinished(),c.length?this.parseChunk(c.shift()):v=!0},this._streamData=de(function(b){try{c.push(typeof b=="string"?b:b.toString(this._config.encoding)),v&&(v=!1,this._checkIsFinished(),this.parseChunk(c.shift()))}catch(j){this._streamError(j)}},this),this._streamError=de(function(b){this._streamCleanUp(),this._sendError(b)},this),this._streamEnd=de(function(){this._streamCleanUp(),C=!0,this._streamData("")},this),this._streamCleanUp=de(function(){this._input.removeListener("data",this._streamData),this._input.removeListener("end",this._streamEnd),this._input.removeListener("error",this._streamError)},this)}function x(d){var c,v,C,b=Math.pow(2,53),j=-b,N=/^\s*-?(\d+\.?|\.\d+|\d+\.\d+)([eE][-+]?\d+)?\s*$/,J=/^((\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z)))$/,H=this,_=0,B=0,R=!1,ve=!1,ne=[],w={data:[],errors:[],meta:{}};if(A(d.step)){var D=d.step;d.step=function(y){if(w=y,ee())G();else{if(G(),w.data.length===0)return;_+=y.data.length,d.preview&&_>d.preview?v.abort():(w.data=w.data[0],D(w,H))}}}function re(y){return d.skipEmptyLines==="greedy"?y.join("").trim()==="":y.length===1&&y[0].length===0}function G(){return w&&C&&(X("Delimiter","UndetectableDelimiter","Unable to auto-detect delimiting character; defaulted to '"+a.DefaultDelimiter+"'"),C=!1),d.skipEmptyLines&&(w.data=w.data.filter(function(y){return!re(y)})),ee()&&function(){if(!w)return;function y(T,K){A(d.transformHeader)&&(T=d.transformHeader(T,K)),ne.push(T)}if(Array.isArray(w.data[0])){for(var E=0;ee()&&E<w.data.length;E++)w.data[E].forEach(y);w.data.splice(0,1)}else w.data.forEach(y)}(),function(){if(!w||!d.header&&!d.dynamicTyping&&!d.transform)return w;function y(T,K){var O,ie=d.header?{}:[];for(O=0;O<T.length;O++){var q=O,V=T[O];d.header&&(q=O>=ne.length?"__parsed_extra":ne[O]),d.transform&&(V=d.transform(V,q)),V=W(q,V),q==="__parsed_extra"?(ie[q]=ie[q]||[],ie[q].push(V)):ie[q]=V}return d.header&&(O>ne.length?X("FieldMismatch","TooManyFields","Too many fields: expected "+ne.length+" fields but parsed "+O,B+K):O<ne.length&&X("FieldMismatch","TooFewFields","Too few fields: expected "+ne.length+" fields but parsed "+O,B+K)),ie}var E=1;return!w.data.length||Array.isArray(w.data[0])?(w.data=w.data.map(y),E=w.data.length):w.data=y(w.data,0),d.header&&w.meta&&(w.meta.fields=ne),B+=E,w}()}function ee(){return d.header&&ne.length===0}function W(y,E){return T=y,d.dynamicTypingFunction&&d.dynamicTyping[T]===void 0&&(d.dynamicTyping[T]=d.dynamicTypingFunction(T)),(d.dynamicTyping[T]||d.dynamicTyping)===!0?E==="true"||E==="TRUE"||E!=="false"&&E!=="FALSE"&&(function(K){if(N.test(K)){var O=parseFloat(K);if(j<O&&O<b)return!0}return!1}(E)?parseFloat(E):J.test(E)?new Date(E):E===""?null:E):E;var T}function X(y,E,T,K){var O={type:y,code:E,message:T};K!==void 0&&(O.row=K),w.errors.push(O)}this.parse=function(y,E,T){var K=d.quoteChar||'"';if(d.newline||(d.newline=function(q,V){q=q.substring(0,1048576);var xe=new RegExp(k(V)+"([^]*?)"+k(V),"gm"),ge=(q=q.replace(xe,"")).split("\r"),Ce=q.split(` 78`),we=1<Ce.length&&Ce[0].length<ge[0].length;if(ge.length===1||we)return` 79`;for(var fe=0,L=0;L<ge.length;L++)ge[L][0]===` 80`&&fe++;return fe>=ge.length/2?`\r 81`:"\r"}(y,K)),C=!1,d.delimiter)A(d.delimiter)&&(d.delimiter=d.delimiter(y),w.meta.delimiter=d.delimiter);else{var O=function(q,V,xe,ge,Ce){var we,fe,L,Z;Ce=Ce||[","," ","|",";",a.RECORD_SEP,a.UNIT_SEP];for(var Ee=0;Ee<Ce.length;Ee++){var P=Ce[Ee],Pe=0,be=0,Me=0;L=void 0;for(var Re=new F({comments:ge,delimiter:P,newline:V,preview:10}).parse(q),je=0;je<Re.data.length;je++)if(xe&&re(Re.data[je]))Me++;else{var $e=Re.data[je].length;be+=$e,L!==void 0?0<$e&&(Pe+=Math.abs($e-L),L=$e):L=$e}0<Re.data.length&&(be/=Re.data.length-Me),(fe===void 0||Pe<=fe)&&(Z===void 0||Z<be)&&1.99<be&&(fe=Pe,we=P,Z=be)}return{successful:!!(d.delimiter=we),bestDelimiter:we}}(y,d.newline,d.skipEmptyLines,d.comments,d.delimitersToGuess);O.successful?d.delimiter=O.bestDelimiter:(C=!0,d.delimiter=a.DefaultDelimiter),w.meta.delimiter=d.delimiter}var ie=le(d);return d.preview&&d.header&&ie.preview++,c=y,v=new F(ie),w=v.parse(c,E,T),G(),R?{meta:{paused:!0}}:w||{meta:{paused:!1}}},this.paused=function(){return R},this.pause=function(){R=!0,v.abort(),c=A(d.chunk)?"":c.substring(v.getCharIndex())},this.resume=function(){H.streamer._halted?(R=!1,H.streamer.parseChunk(c,!0)):setTimeout(H.resume,3)},this.aborted=function(){return ve},this.abort=function(){ve=!0,v.abort(),w.meta.aborted=!0,A(d.complete)&&d.complete(w),c=""}}function k(d){return d.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function F(d){var c,v=(d=d||{}).delimiter,C=d.newline,b=d.comments,j=d.step,N=d.preview,J=d.fastMode,H=c=d.quoteChar===void 0||d.quoteChar===null?'"':d.quoteChar;if(d.escapeChar!==void 0&&(H=d.escapeChar),(typeof v!="string"||-1<a.BAD_DELIMITERS.indexOf(v))&&(v=","),b===v)throw new Error("Comment character same as delimiter");b===!0?b="#":(typeof b!="string"||-1<a.BAD_DELIMITERS.indexOf(b))&&(b=!1),C!==` 82`&&C!=="\r"&&C!==`\r 83`&&(C=` 84`);var _=0,B=!1;this.parse=function(R,ve,ne){if(typeof R!="string")throw new Error("Input must be a string");var w=R.length,D=v.length,re=C.length,G=b.length,ee=A(j),W=[],X=[],y=[],E=_=0;if(!R)return he();if(d.header&&!ve){var T=R.split(C)[0].split(v),K=[],O={},ie=!1;for(var q in T){var V=T[q];
84A(d.transformHeader)&&(V=d.transformHeader(V,q));var xe=V,ge=O[V]||0;for(0<ge&&(ie=!0,xe=V+"_"+ge),O[V]=ge+1;K.includes(xe);)xe=xe+"_"+ge;K.push(xe)}if(ie){var Ce=R.split(C);Ce[0]=K.join(v),R=Ce.join(C)}}if(J||J!==!1&&R.indexOf(c)===-1){for(var we=R.split(C),fe=0;fe<we.length;fe++){if(y=we[fe],_+=y.length,fe!==we.length-1)_+=C.length;else if(ne)return he();if(!b||y.substring(0,G)!==b){if(ee){if(W=[],Me(y.split(v)),Te(),B)return he()}else Me(y.split(v));if(N&&N<=fe)return W=W.slice(0,N),he(!0)}}return he()}for(var L=R.indexOf(v,_),Z=R.indexOf(C,_),Ee=new RegExp(k(H)+k(c),"g"),P=R.indexOf(c,_);;)if(R[_]!==c)if(b&&y.length===0&&R.substring(_,_+G)===b){if(Z===-1)return he();_=Z+re,Z=R.indexOf(C,_),L=R.indexOf(v,_)}else if(L!==-1&&(L<Z||Z===-1))y.push(R.substring(_,L)),_=L+D,L=R.indexOf(v,_);else{if(Z===-1)break;if(y.push(R.substring(_,Z)),$e(Z+re),ee&&(Te(),B))return he();if(N&&W.length>=N)return he(!0)}else for(P=_,_++;;){if((P=R.indexOf(c,P+1))===-1)return ne||X.push({type:"Quotes",code:"MissingQuotes",message:"Quoted field unterminated",row:W.length,index:_}),je();if(P===w-1)return je(R.substring(_,P).replace(Ee,c));if(c!==H||R[P+1]!==H){if(c===H||P===0||R[P-1]!==H){L!==-1&&L<P+1&&(L=R.indexOf(v,P+1)),Z!==-1&&Z<P+1&&(Z=R.indexOf(C,P+1));var Pe=Re(Z===-1?L:Math.min(L,Z));if(R.substr(P+1+Pe,D)===v){y.push(R.substring(_,P).replace(Ee,c)),R[_=P+1+Pe+D]!==c&&(P=R.indexOf(c,_)),L=R.indexOf(v,_),Z=R.indexOf(C,_);break}var be=Re(Z);if(R.substring(P+1+be,P+1+be+re)===C){if(y.push(R.substring(_,P).replace(Ee,c)),$e(P+1+be+re),L=R.indexOf(v,_),P=R.indexOf(c,_),ee&&(Te(),B))return he();if(N&&W.length>=N)return he(!0);break}X.push({type:"Quotes",code:"InvalidQuotes",message:"Trailing quote on quoted field is malformed",row:W.length,index:_}),P++}}else P++}return je();function Me(pe){W.push(pe),E=_}function Re(pe){var ft=0;if(pe!==-1){var Ke=R.substring(P+1,pe);Ke&&Ke.trim()===""&&(ft=Ke.length)}return ft}function je(pe){return ne||(pe===void 0&&(pe=R.substring(_)),y.push(pe),_=w,Me(y),ee&&Te()),he()}function $e(pe){_=pe,Me(y),y=[],Z=R.indexOf(C,_)}function he(pe){return{data:W,errors:X,meta:{delimiter:v,linebreak:C,aborted:B,truncated:!!pe,curs
84or:E+(ve||0)}}}function Te(){j(he()),W=[],X=[]}},this.abort=function(){B=!0},this.getCharIndex=function(){return _}}function ce(d){var c=d.data,v=l[c.workerId],C=!1;if(c.error)v.userError(c.error,c.file);else if(c.results&&c.results.data){var b={abort:function(){C=!0,te(c.workerId,{data:[],errors:[],meta:{aborted:!0}})},pause:se,resume:se};if(A(v.userStep)){for(var j=0;j<c.results.data.length&&(v.userStep({data:c.results.data[j],errors:c.results.errors,meta:c.results.meta},b),!C);j++);delete c.results}else A(v.userChunk)&&(v.userChunk(c.results,b,c.file),delete c.results)}c.finished&&!C&&te(c.workerId,c.results)}function te(d,c){var v=l[d];A(v.userComplete)&&v.userComplete(c),v.terminate(),delete l[d]}function se(){throw new Error("Not implemented.")}function le(d){if(typeof d!="object"||d===null)return d;var c=Array.isArray(d)?[]:{};for(var v in d)c[v]=le(d[v]);return c}function de(d,c){return function(){d.apply(c,arguments)}}function A(d){return typeof d=="function"}return o&&(n.onmessage=function(d){var c=d.data;if(a.WORKER_ID===void 0&&c&&(a.WORKER_ID=c.workerId),typeof c.input=="string")n.postMessage({workerId:a.WORKER_ID,results:a.parse(c.input,c.config),finished:!0});else if(n.File&&c.input instanceof File||c.input instanceof Object){var v=a.parse(c.input,c.config);v&&n.postMessage({workerId:a.WORKER_ID,results:v,finished:!0})}}),(h.prototype=Object.create(g.prototype)).constructor=h,(p.prototype=Object.create(g.prototype)).constructor=p,(m.prototype=Object.create(m.prototype)).constructor=m,(S.prototype=Object.create(g.prototype)).constructor=S,a})})(At);var lr=At.exports;const ar=zt(lr),Pt=U.createContext(void 0);function ae(e){const r=U.useContext(Pt);if(!r)throw new Error("Missing ArtifactsModalContext.Provider in the tree");return r(e)}function ur(){const e=ae(o=>typeof o.active<"u"?o.artifacts[o.active]:void 0),r=ae(o=>typeof o.hovered<"u"?o.artifacts[o.hovered]:void 0),t=r||e,n=e&&(!r||r.ID==e.ID);let i=null;switch(t==null?void 0:t.Sort){case"Child":i=ir;break;case"Lithic":i=or;break;case"Charcoal":i=rr;break;case"Fauna":i=sr;break}return s.jsx(s.Fragment,{children:t&&s.jsxs("div",{className:" space-y-8",children:[s.jsx("h5",{className:"font-serif text-lg",children:`#${t.ID} ${t.Subcategory?`${t.Category} (${t.Subcategory})`:t.Category}`}),n&&s.jsxs("div",{className:"grid grid-cols-2 gap-8",children:[s.jsxs("div",{className:"space-y-3",children:[e.Material&&s.jsxs("div",{children:[s.jsx("h6",{className:"text-foreground/50",children:"Material"}),s.jsx("p",{children:e.Material})]}),e.Part&&s.jsxs("div",{children:[s.jsx("h6",{className:"text-foreground/50",children:"Part"}),s.jsx("p",{children:e.Part})]}),e.Conservation&&s.jsxs("div",{children:[s.jsx("h6",{className:"text-foreground/50",children:"Conservation"}),s.jsx("p",{children:e.Conservation})]}),e.Taphonomy&&s.jsxs("div",{children:[s.jsx("h6",{className:"text-foreground/50",children:"Taphonomy"}),s.jsx("p",{children:e.Taphonomy})]})]}),s.jsxs("div",{className:"space-y-3",children:[s.jsxs("div",{className:"flex space-x-4",children:[s.jsxs("div",{children:[s.jsx("h6",{className:"text-foreground/50",children:"X"}),s.jsx("p",{children:`${e.X}`})]}),s.jsxs("div",{children:[s.jsx("h6",{className:"text-foreground/50",children:"Y"}),s.jsx("p",{children:`${e.Y}`})]}),s.jsxs("div",{children:[s.jsx("h6",{className:"text-foreground/50",children:"Z"}),s.jsx("p",{children:`${e.Z}`})]})]}),e.Sq1&&e.Sq2&&s.jsxs("div",{children:[s.jsx("h6",{className:"text-foreground/50",children:"Location"}),s.jsx("p",{children:`${e.Sq1}${e.Sq2}`})]}),i&&s.jsx(i,{})]})]})]})})}function ut(e,r){return r.includes(e)}function cr(){const e=ae(t=>t.toggleFilter),r=ae(t=>t.filters);return s.jsx("div",{children:s.jsx("ul",{children:["Child","Lithic","Charcoal","Fauna","Other"].map(t=>s.jsx("li",{children:s.jsx("button",{onClick:()=>e(t),className:`${ut(t,r)?"text-foreground":"text-foreground/50"}`,children:t})},t))})})}function dr({artifacts:e}){const r=ae(p=>p.setActive),t=ae(p=>p.active),n=ae(p=>p.filters),[i,o]=We.useState([]),l=We.useMemo(()=>[{accessorKey:"ID",header:"#",meta:{className:"w-1/12"}},{accessorFn:p=>p.Sq1&&p.Sq2&&`${p.Sq1}${p.Sq2}`,header:"Loc",meta:{className:"w-1/12"}},{accessorFn:p=>p.Subcategory?`${p.Category} (${p.Subcategory})`:p.Category,header:"Category",meta:{className:"w-1/3"}},{accessorKey:"Material",header:"Material",meta:{className:"w-1/6"}},{accessorKey:"Part",header:"Part",meta:{className:"w-1/6"}},{accessorKey:"Date",header:"Date",sortingFn:"datetime",cell:p=>new Intl.DateTimeFormat("en-US").format(p.getValue()),meta:{className:"w-1/6"}}],[]),u=Bn({data:e,columns:l,state:{sorting:i},onSortingChange:o,getCoreRowModel:zn(),getSortedRowModel:Tn()}),{rows:a,rowsById:f}=u.getRowModel(),g=We.useRef(null),h=nr({count:a.length,getScrollElement:()=>g.current,estimateSize:()=>17.82,overscan:20});return U.useEffect(()=>{if(t){const p=f[t],m=a.findIndex(S=>S.index==p.index);h.scrollToIndex(m,{align:"auto"})}},[t]),s.jsxs(s.Fragment,{children:[s.jsx("div",{children:u.getHeaderGroups().map(p=>s.jsx("div",{className:"flex w-full",children:p.headers.map(m=>{var S;return s.jsxs("h4",{className:Ne("text-accent",m.column.getCanSort()?"cursor-pointer select-none":"",(S=m.column.columnDef.meta)==null?void 0:S.className),onClick:m.column.getToggleSortingHandler(),children:[wt(m.column.columnDef.header,m.getContext()),{asc:" â²",desc:" â¼"}[m.column.getIsSorted()]??null]},m.id)})},p.id))}),s.jsx("div",{ref:g,className:"relative h-[25vh] min-h-full overflow-auto",children:s.jsx("div",{style:{height:`${h.getTotalSize()}px`},children:s.jsx("div",{children:h.getVirtualItems().map((p,m)=>{const S=a[p.index];return s.jsx("button",{className:Ne("w-full flex text-left",ut(S.original.Sort,n)?"text-foreground":"text-foreground
84/50",t==S.index&&"text-accent"),disabled:!ut(S.original.Sort,n),onClick:()=>r(S.index),style:{height:`${p.size}px`,transform:`translateY(${p.start-m*p.size}px)`},children:S.getVisibleCells().map(x=>{var k;return s.jsx("div",{className:Ne("whitespace-nowrap overflow-hidden overflow-ellipsis",(k=x.column.columnDef.meta)==null?void 0:k.className),children:wt(x.column.columnDef.cell,x.getContext())},x.id)})},S.id)})})})})]})}function gr(){const e=ae(r=>r.setView);return s.jsxs("div",{className:"flex space-x-2 pointer-events-auto",children:[s.jsx("button",{onClick:()=>e("perspective"),children:"Perspective"}),s.jsx("button",{onClick:()=>e("top"),children:"Top"}),s.jsx("button",{onClick:()=>e("front"),children:"Front"}),s.jsx("button",{onClick:()=>e("left"),children:"Left"})]})}function Ot(){const e=U.useRef(null),r=ae(o=>o.close),t=ae(o=>o.isOpen),n=ae(o=>o.artifacts);Tt({isDisabled:!t});const i=U.useCallback(o=>{var l,u;o?(e.current=o,e.current.on("hide",r),t?(l=e.current)==null||l.show():(u=e.current)==null||u.hide()):e.current&&e.current.off("hide",r)},[r,e]);return U.useEffect(()=>{var o,l;return t?(o=e.current)==null||o.show():(l=e.current)==null||l.hide(),()=>{var u;(u=e.current)==null||u.hide()}},[t]),s.jsxs(Lt,{dialogRef:i,id:"artifacts-modal",title:"Artifacts Modal",classNames:{container:"fixed inset-0 z-30 flex aria-hidden:invisible pointer-events-none",dialog:"fixed inset-0 z-30 font-mono text-sm flex flex-col items-stretch",closeButton:"hidden",title:"hidden"},children:[s.jsxs("div",{className:"flex-1 relative text-accent",children:[s.jsx("div",{className:"absolute inset-0 bg-gradient-to-b from-black/0 to-black/50 from-70%"}),s.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-black/0 to-black/50 from-70%"}),s.jsx(Ve,{className:"relative h-full w-full p-2",children:s.jsxs("div",{className:"relative h-full w-full border-2 border-accent flex flex-col items-stretch justify-between",children:[s.jsx("div",{className:"p-2",children:s.jsx("h4",{className:"pointer-events-auto",children:"Artifacts"})}),s.jsxs("div",{className:"p-2 flex space-x-4 justify-between items-end",children:[s.jsx(gr,{}),s.jsxs("div",{className:"text-foreground/70 pointer-events-auto",children:[s.jsx("div",{children:"Zoom: Scroll Wheel"}),s.jsx("div",{children:"Orbit: Left Mouse Button"}),s.jsx("div",{children:"Pan: Right Mouse Button"})]})]}),s.jsx("div",{className:"pointer-events-auto absolute top-0 right-0",children:s.jsx("button",{onClick:r,className:"-m-2 p-2",children:s.jsx(_t,{className:"w-12 h-12 stroke-[0.75]",name:"x"})})})]})})]}),s.jsx("div",{className:"pointer-events-auto bg-black",children:s.jsxs(Ve,{className:"h-full w-full pt-2 grid grid-cols-6 gap-8",children:[s.jsxs("div",{className:"col-span-2 space-y-4",children:[s.jsx("h4",{className:"text-accent",children:"Artifact"}),s.jsx(ur,{})]}),s.jsx("div",{className:"col-span-3 space-y-4",children:n&&s.jsx(dr,{artifacts:n})}),s.jsxs("div",{className:"space-y-4",children:[s.jsx("h4",{className:"text-accent",children:"Filters"}),s.jsx(cr,{})]})]})})]})}Ot.Provider=({children:e})=>{const r=Ht(i=>i.setHide),[t]=U.useState(()=>Gt()((i,o)=>({view:"perspective",setView:l=>{i({view:l})},artifacts:[],filters:["Child","Lithic","Charcoal"],isOpen:!1,toggleFilter:l=>{i(u=>{const a=u.filters.indexOf(l);return a<0?{filters:[...u.filters,l]}:{filters:[...u.filters.slice(0,a),...u.filters.slice(a+1)]}})},setActive:l=>{i({active:l})},setHovered:l=>{i({hovered:l})},open:()=>{i({isOpen:!0}),r(!0)},close:()=>{i({isOpen:!1}),r(!1)}}))),{data:n}=Bt("/sites/abrigo/artifacts.csv",async i=>{const l=await(await fetch(i)).text(),{data:u}=ar.parse(l,{header:!0});return u.map(f=>{const g=rn.safeParse(f);return g.success?g.data:null}).filter((f,g)=>f!==null&&f.Sort!=="Sample"&&f.X!==0&&f.Y!==0&&f.Z!==0)});return U.useEffect(()=>{n&&t.setState({artifacts:n})},[n]),s.jsx(Pt.Provider,{value:t,children:e})};function fr({className:e,...r}){const t=ae(i=>i.open),n=ae(i=>i.isOpen);return s.jsx(s.Fragment,{children:!n&&s.jsx("button",{className:Ne("relative w-full h-full text-left pointer-events-auto group hidden lg:block",e),onClick:i=>{i.currentTarget.scrollIntoView(),t()},...r,children:s.jsx("div",{className:"absolute left-0 top-0 right-0 h-[50vh] p-4 flex flex-col justify-between items-stretch border-2 border-accent bg-accent text-black font-mono text-sm group-hover:bg-transparent group-hover:text-accent",children:s.jsxs("div",{className:"flex justify-between items-start",children:[s.jsx("div",{children:s.jsx("h4",{children:"Explore Artifacts"})}),s.jsx(_t,{className:"w-12 h-12 stroke-[0.75]",name:"arrow-right"})]})})})})}function hr({data:e}){return s.jsx(Ve,{children:s.jsxs("div",{className:"py-24 space-y-12",children:[s.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-3 gap-x-8 gap-y-12 items-stretch",children:[s.jsx("div",{className:"w-5/6 mx-auto lg:w-auto lg:mx-0 flex flex-col justify-center",children:s.jsx(pt,{content:e.archaeologists})}),s.jsx("div",{className:"lg:col-start-2 lg:col-span-2",style:{aspectRatio:"2844 / 2152"},children:s.jsx(me,{className:"h-full",imageClassName:"!object-contain",src:M("/sites/abrigo/taped/1.jpg"),imageProps:{layout:"constrained",width:2844,height:2152,sizes:"50vw"}})})]}),s.jsxs("div",{className:"grid grid-cols-3 gap-x-8 gap-y-12 items-stretch -mx-[25%] sm:mx-0",children:[s.jsx("div",{className:"col-start-1 col-span-2",style:{aspectRatio:"2657 / 1638"},children:s.jsx(me,{className:"h-full",imageClassName:"!object-contain",src:M("/sites/abrigo/taped/4.jpg"),imageProps:{layout:"constrained",width:2657,height:1638,sizes:"50vw"}})}),s.jsx("div",{className:"col-start-2 col-span-2",style:{aspectRatio:"2844 / 2152"},children:s.jsx(me,{className:"h-full",imageClassName:"!object-contain",src:M("/sites/abrigo/taped/2.jpg"),imageProps:{layout:"constrained",width:2844,height:2152,sizes:"50vw"}})})]}),s.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-3 gap-x-8 gap-y-12 items-stretch -mx-[5%] sm:mx-0",children:[s.jsx("div",{className:"w-5/6 mx-auto lg:w-auto lg:mx-0 flex flex-col justify-center",children:s.jsx(pt,{content:e.archaeologists2})}),s.jsxs("div",{className:"lg:col-start-2 lg:col-span-2 grid grid-cols-2 gap-x-8 gap-y-12 -mx-[10%] sm:mx-0",children:[s.jsx("div",{style:{aspectRatio:"2350 / 2921"},children:s.jsx(me,{className:"h-full",imageClassName:"!object-contain",src:M("/sites/abrigo/taped/3.jpg"),imageProps:{layout:"constrained",width:2350,height:2921,sizes:"33vw"}})}),s.jsx("div",{style:{aspectRatio:"1821 / 2440"},children:s.jsx(me,{className:"h-full",imageClassName:"!object-contain",src:M("/sites/abrigo/taped/5.jpg"),imageProps:{layout:"constrained",width:1821,height:2440,sizes:"33vw"}})})]})]}),s.jsxs("div",{className:"grid grid-cols-3 gap-x-8 gap-y-12 items-start -mx-[25%] sm:mx-0",children:[s.jsx("div",{className:"col-span-2",style:{aspectRatio:"2618 / 2078"},children:s.jsx(me,{className:"h-full",imageClassName:"!object-contain",src:M("/sites/abrigo/taped/6.jpg"),imageProps:{layout:"constrained",width:2618,height:2078,sizes:"50vw"}})}),s.jsx("div",{className:"col-start-2 col-span-2",style:{aspectRatio:"2914 / 1788"},children:s.jsx(me,{className:"h-full",imageClassName:"!object-contain",src:M("/sites/abrigo/taped/7.jpg"),imageProps:{layout:"constrained",width:2914,height:1788,sizes:"50vw"}})})]}),s.jsxs("div",{className:"grid grid-cols-3 gap-x-8 gap-y-12 items-start -mx-[10%] sm:mx-0",children:[s.jsx("div",{className:"col-span-2",style:{aspectRatio:"2844 / 2152"},children:s.jsx(me,{className:"h-full",imageClassName:"!object-contain",src:M("/sites/abrigo/taped/8.jpg"),imageProps:{layout:"constrained",width:2844,height:2152,sizes:"33vw"}})}),s.jsx("div",{style:{aspectRatio:"1822 / 1832"},children:s.jsx(me,{className:"h-full",imageClassName:"!object-contain",src:M("/sites/abrigo/taped/9.jpg"),imageProps:{layout:"constrained",width:1822,height:1832,sizes:"33vw"}})})]}),s.jsx(Y.Provider,{children:s.jsx(Y,{resolution:20,mapping:"outset",children:s.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-3 gap-x-8 gap-y-12 items-stretch",children:[s.jsx("div",{className:"w-5/6 mx-auto lg:w-auto lg:mx-0 flex flex-col justify-center"}),s.jsx("div",{className:"lg:col-start-2 lg:col-span-2",style:{aspectRatio:"2951 / 1856"},children:s.jsx(me,{className:"h-full",imageClassName:"!object-contain",src:M("/sites/abrigo/taped/quote.jpg"),imageProps:{layout:"constrained",width:2951,height:1856,sizes:"50vw"}})})]})})})]})})}function pr(e){return s.jsxs("div",{children:[s.jsx("h3",{className:"text-white/40",children:e.role}),e.people.map((r,t)=>s.jsxs("div",{className:"text-white",children:[r.person,r.title&&s.jsxs("span",{children:[", ",r.title]})]},t))]})}function mr({data:e}){return s.jsx("div",{id:"credits",className:"min-h-[100vh] bg-black font-sans py-12",children:s.jsx(Ve,{className:"space-y-8",children:s.jsxs("div",{className:"grid md:grid-cols-3 lg:grid-cols-2 gap-8",children:[s.jsxs("div",{className:"space-y-12",children:[s.jsxs("div",{className:"text-sm font-mono",children:[s.jsx("h2",{children:e.title}),s.jsx("div",{children:e.coordinatesFormatted}),s.jsx("div",{children:"Twelve Earths c. 2017-2029"})]}),s.jsx("div",{children:s.jsx(qt,{})}),s.jsxs("div",{className:"font-sans text-base",children:[s.jsx("h3",{className:"text-white/40",children:"Announcement Materials"}),e.announcementPdfs.map((r,t)=>{var n;return s.jsx("div",{children:s.jsx("a",{href:(n=r.pdf)==null?void 0:n.url,target:"_blank",children:r.language})},t)})]})]}),s.jsxs("div",{className:"md:col-span-2 lg:col-span-1 space-y-4",children:[s.jsx("div",{className:"space-y-4",children:e.credits.map((r,t)=>s.jsx("div",{children:s.jsx(pr,{...r})},t))}),s.jsxs("div",{className:"text-sm text-mono text-white/40",children:[s.jsx("h4",{children:"Image Credits"}),s.jsx("div",{className:"uppercase",children:e.imageCredits.map(r=>r.credit).join(", ")})]})]})]})})})}const vr=U.lazy(()=>Ze(()=>import("../chunks/chunk-763e25de.js"),["assets/chunks/chunk-763e25de.js","assets/chunks/chunk-7c95c149.js","assets/chunks/chunk-56865e9e.js","assets/static/onRenderClient.0aa528fc.css","assets/chunks/chunk-87cee1fa.js","assets/chunks/chunk-5e59878c.js","assets/chunks/chunk-aa898620.js","assets/chunks/chunk-c7147f70.js","assets/chunks/chunk-a256095a.js","assets/chunks/chunk-bd799850.js","assets/chunks/chunk-ab25de1f.js","assets/chunks/chunk-cf010ec4.js","assets/chunks/chunk-8b458796.js","assets/chunks/chunk-7e6dec72.js","assets/chunks/chunk-ab9dfbfe.js","assets/chunks/chunk-c92baa57.js"])),xr=U.lazy(()=>Ze(()=>import("../chunks/chunk-044c84f9.js"),["assets/chunks/chunk-044c84f9.js","assets/chunks/chunk-7c95c149.js","assets/chunks/chunk-56865e9e.js","assets/static/onRenderClient.0aa528fc.css","assets/chunks/chunk-87cee1fa.js","assets/chunks/chunk-5e59878c.js","assets/chunks/chunk-c7147f70.js","assets/chunks/chunk-a256095a.js","assets/chunks/chunk-bd799850.js","assets/chunks/chunk-ab25de1f.js","assets/chunks/chunk-cf010ec4.js"])),Sr=U.lazy(()=>Ze(()=>import("../chunks/chunk-e2284a4a.js"),["assets/chunks/chunk-e2284a4a.js","assets/chunks/chunk-7c95c149.js","assets/chunks/chunk-56865e9e.js","assets/static/onRenderClient.0aa528fc.css","assets/chunks/chunk-87cee1fa.js","assets/chunks/chunk-5e59878c.js","assets/chunks/chunk-6b9675d7.js","assets/chunks/chunk-7e6dec72.js","assets/chunks/chunk-ab25de1f.js","assets/chunks/chunk-cf010ec4.js","assets/chunks/chunk-ab9dfbfe.js","assets/chunks/chunk-bd799850.js","assets/chunks/chunk-a256095a.js","assets/chunks/chunk-c92baa57.js","assets/chunks/chunk-c7147f70.js","assets/chunks/chunk-aa898620.js"])),Cr=U.lazy(()=>Ze(()=>import("../chunks/chunk-a8acef22.js"),["assets/chunks/chunk-a8acef22.js","assets/chunks/chunk-7c95c149.js","assets/chunks/chunk-56865e9e.js","assets/static/onRenderClient.0aa528fc.css","assets/chunks/chunk-87cee1fa.js","assets/chunks/chunk-5e59878c.js","assets/chunks/chunk-6b9675d7.js","assets/chunks/chunk-d120f533.js","assets/chunks/chunk-a256095a.js","assets/chunks/chunk-bd799850.js","assets/chunks/chunk-ab25de1f.js","assets/chunks/chunk-cf010ec4.js","assets/chunks/chunk-8b458796.js","assets/chunks/chunk-09156800.js","assets/chunks/chunk-aa898620.js"]).then(e=>({default:e.ApproachOverlay}))),wr=[{id:"intro",linkText:"Intro"},{id:"excavation-hi8",linkText:"Discovery"},{id:"excavation-timelapse-2",linkText:"The Bones"},{id:"burial",linkText:"A Child"},{id:"site-model",linkText:"Artifacts"},{id:"taped-images",linkText:"Archeology"},{id:"pendant",linkText:"Love"},{id:"credits",linkText:"Credits"}],bt=e=>`/sites/abrigo/approach/abrigo-approach_${(e+1).toString().padStart(4,"0")}.webp`;function br(){const e=ht(t=>t.progress),r=ht(t=>t.toAbsolute);return s.jsx(Zt.div,{className:"h-[100vh] w-[344vh]",style:{x:e.to(t=>`-${Wt([1.5,3.75],[0,1.1])(r(t))*100}
84vh`)},children:s.jsx(Ae,{src:M("/sites/abrigo/lidar.jpg"),width:6404,height:1863,alt:"Lidar"})})}function _r({data:e}){Ut(wr);const r=Yt(t=>t.started);return s.jsxs(mt.Provider,{research:e.research.data,children:[s.jsxs("div",{className:"overflow-clip",children:[s.jsx(oe,{id:"intro",config:{background:"black",invert:!0,accent:"lightgreen"},className:"bg-background",children:s.jsx(ke,{extendSticky:1,sticky:s.jsxs("div",{className:"relative w-full h-full animate-fadein",children:[s.jsx(vt,{position:"bottom",stream:{playback:{hls:"https://customer-jfexqkkiqyoyv68t.cloudflarestream.com/6e8c9905c53266786f2fd91eab3d35f7/manifest/video.m3u8"},input:{width:3840,height:2160}},poster:"https://customer-jfexqkkiqyoyv68t.cloudflarestream.com/6e8c9905c53266786f2fd91eab3d35f7/thumbnails/thumbnail.jpg?time=0s&width=1280",className:"h-full pb-[15vh]"}),s.jsx("div",{className:"absolute inset-0 bg-gradient-to-b from-[#0D3A0E]/0 from-70% to-[#0D3A0E]/50"}),s.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-[#616C32]/0 from-80% to-[#616C32]/50"})]}),children:s.jsx(en,{className:"relative",data:e})})}),s.jsx(oe,{id:"description",config:{background:"black",invert:!0,accent:"lightgreen"},className:"relative bg-background text-foreground",children:s.jsx(Ve,{className:"relative grid grid-cols-1 md:grid-cols-2 gap-8",children:s.jsx("div",{className:"md:col-start-2 font-serif text-lg pb-48",dangerouslySetInnerHTML:{__html:e.description}})})}),s.jsx(oe,{id:"approach",config:{background:"#91c0e2",invert:!0,accent:"blue"},className:"relative bg-background text-foreground",children:s.jsx(Y.Provider,{children:s.jsx(ke,{scrollClassName:"pointer-events-none",sticky:s.jsxs(s.Fragment,{children:[s.jsx("div",{className:"absolute inset-0 bg-cover",style:{backgroundImage:`url('${M(bt(0),Xt)}')`},children:s.jsx(Qt,{framePath:bt,count:214,waitForOverlay:!0,waitForHeroVideo:!0})}),s.jsx(z,{className:"absolute inset-0",enter:3,leave:5,children:r&&s.jsx(U.Suspense,{fallback:null,children:s.jsx(Cr,{})})}),s.jsx(z,{className:"absolute inset-0",enter:1.5,leave:3,enterClassName:"pointer-events-auto",leaveClassName:"pointer-events-none",children:s.jsx(I,{align:"top",position:"left",content:e.landscapeRing})}),s.jsx(z,{className:"absolute inset-0",enter:3.5,leave:5,enterClassName:"pointer-events-auto",leaveClassName:"pointer-events-none",children:s.jsx(I,{align:"top",position:"left",content:e.landscapeApproach})})]}),children:s.jsx(Y,{mapping:"outset",children:s.jsx("div",{className:"h-[500vh]"})})})})}),s.jsx(oe,{id:"limestone",config:{background:"black",invert:!0,accent:"lightgreen"},className:"relative bg-background text-foreground",children:s.jsx(Y.Provider,{children:s.jsx(ke,{sticky:s.jsxs(s.Fragment,{children:[s.jsxs("div",{className:"absolute inset-0",children:[s.jsx(Ae,{src:M("/sites/abrigo/limestone.jpg"),width:2390,height:1600,alt:"Limestone cliffs"}),s.jsx("div",{className:"absolute inset-0 bg-gradient-to-r from-[#2A3B29]/0 to-50% to-[#2A3B29]/50"})]}),s.jsxs(z,{enter:1.5,className:"absolute inset-0",children:[s.jsx(br,{}),s.jsx("div",{className:"absolute inset-0 bg-gradient-to-l from-[#634522]/0 to-75% to-[#634522]/30"})]}),s.jsxs(z,{enter:4.25,className:"absolute inset-0",children:[s.jsx(Ae,{src:M("/sites/abrigo/cidalia.jpg"),width:1024,height:679,alt:"Cidalia digging"}),s.jsx("div",{className:"absolute inset-0 bg-gradient-to-l from-[#634522]/0 to-75% to-[#634522]/30"})]})]}),children:s.jsxs(Y,{children:[s.jsx("div",{className:"h-[100vh]"}),s.jsx(I,{content:e.lushLimestoneCliffs,textClassName:"bg-black/30"}),s.jsx("div",{className:"relative h-[275vh]",children:s.jsxs(I,{content:e.lidarScan,inline:!0,position:"left",className:"sticky top-0",textClassName:"bg-black/30",children:[" ",s.jsx(z,{inline:!0,enter:2.3,children:e.lidarWord1})," ",s.jsx(z,{inline:!0,enter:2.6,children:e.lidarWord2})," ",s.jsx(z,{inline:!0,enter:2.9,children:e.lidarWord3})," ",s.jsx(z,{inline:!0,enter:3.2,children:e.lidarWord4})," ",s.jsx(z,{inline:!0,enter:3.5,children:e.lidarWord5})]})}),s.jsx(I,{content:e.cidaliaDigging,position:"left",textClassName:"bg-black/30"})]})})})}),s.jsx(oe,{id:"excavation-hi8",config:{accent:"green"},className:"relative bg-background text-foreground",children:s.jsx(Y.Provider,{children:s.jsx(ke,{sticky:s.jsx(s.Fragment,{children:s.jsx(De,{children:s.jsx(Jt,{position:"right",src:"https://customer-jfexqkkiqyoyv68t.cloudflarestream.com/b152561cd3e1962f4671e5b31919dd52/downloads/default.mp4",poster:"https://customer-jfexqkkiqyoyv68t.cloudflarestream.com/b152561cd3e1962f4671e5b31919dd52/thumbn
84ails/thumbnail.jpg?time=0s&width=786",width:786,height:576})})}),children:s.jsxs(Y,{resolution:20,children:[s.jsx("div",{className:"h-[100vh]"}),s.jsx(I,{position:"left",content:e.hi8Excavation1,textClassName:"bg-background"}),s.jsx(I,{position:"left",content:e.hi8Excavation2,textClassName:"bg-background"}),s.jsx(I,{position:"left",content:e.hi8Excavation3,textClassName:"bg-background"}),s.jsx(I,{position:"left",content:e.hi8Excavation4,textClassName:"bg-background"})]})})})}),s.jsx(oe,{id:"excavation-timelapse",config:{accent:"green"},className:"relative bg-background text-foreground",updateBody:!1,children:s.jsx(Y.Provider,{children:s.jsx(ke,{sticky:s.jsxs(s.Fragment,{children:[s.jsx("div",{className:"absolute inset-0",children:s.jsx(Ae,{imageClassName:"!object-contain",src:M("/sites/abrigo/excavation/1.png"),width:2722,height:1967,alt:"Excavation 1"})}),s.jsx(z,{enter:1.5,className:"absolute inset-0",slow:!0,children:s.jsx(Ae,{imageClassName:"!object-contain",src:M("/sites/abrigo/excavation/2.png"),width:2722,height:1967,alt:"Excavation 2"})}),s.jsx(z,{enter:2.5,className:"absolute inset-0",slow:!0,children:s.jsx(Ae,{imageClassName:"!object-contain",src:M("/sites/abrigo/excavation/3.png"),width:2722,height:1967,alt:"Excavation 3"})}),s.jsx(z,{enter:3.5,className:"bg-black absolute inset-0",slow:!0,children:s.jsx(De,{children:s.jsx(xr,{})})}),s.jsx(z,{enter:9,className:"bg-black absolute inset-0",slow:!0,children:s.jsx(Ae,{imageClassName:"!object-contain",src:M("/sites/abrigo/bones-black.jpg"),width:5725,height:3458,alt:"Bones on black table"})})]}),children:s.jsxs(Y,{children:[s.jsxs(oe,{config:{accent:"green"},className:"relative text-foreground",children:[s.jsx("div",{className:"h-[100vh]"}),s.jsx(I,{position:"center",content:e.excavationTimelapse1,textClassName:"bg-background"}),s.jsx(I,{position:"center",content:e.excavationTimelapse2,textClassName:"bg-background"}),s.jsx(I,{position:"center",content:e.excavationTimelapse3,textClassName:"bg-background"})]}),s.jsxs(oe,{id:"excavation-timelapse-2",config:{background:"black",invert:!0,accent:"lightgreen"},className:"relative text-foreground",children:[s.jsx("div",{className:"h-[600vh]"}),s.jsx(I,{position:"left",align:"top",content:e.bonesOnBlack})]})]})})})}),s.jsx(oe,{id:"bones",config:{background:"black",invert:!0,accent:"lightgreen"},className:"relative bg-background text-foreground",children:s.jsx(Y.Provider,{children:s.jsxs(Y,{resolution:20,className:"relative",children:[s.jsx(me,{className:"w-full !h-[400vh]",imageClassName:"!object-contain",src:M("/sites/abrigo/bones-color-measure.png"),imageProps:{layout:"fullWidth",aspectRatio:1e3/3200}}),s.jsx("div",{className:"absolute inset-0",children:s.jsx("div",{className:"sticky top-0 h-[100vh]",children:s.jsx(z,{enter:1.5,children:s.jsx(I,{position:"left",align:"bottom",content:e.longBonesOnBlack})})})})]})})}),s.jsx(oe,{id:"burial-intro",config:{background:"black",invert:!0,accent:"lightgreen"},className:"relative bg-background text-foreground",children:s.jsx(I,{position:"left",align:"bottom",content:e.allBlack})}),s.jsx(oe,{id:"burial",config:{accent:"green"},className:"relative bg-background text-foreground",children:s.jsx(Y.Provider,{children:s.jsx(ke,{sticky:s.jsxs(s.Fragment,{children:[s.jsx(z,{className:"bg-background absolute inset-0",enter:1.5,children:s.jsx(_e,{src:M("/sites/abrigo/burial/hands-drawing.png"),width:2700,height:2700,alt:"Hands"})}),s.jsx(z,{className:"bg-background absolute inset-0",enter:2.5,children:s.jsx(_e,{src:M("/sites/abrigo/burial/child-in-arms.png"),width:2700,height:2700,alt:"Child in arms"})}),s.jsx(z,{className:"bg-background absolute inset-0",enter:3.5,children:s.jsx(_e,{src:M("/sites/abrigo/burial/rock-wall-shadow.png"),width:2700,height:2700,alt:"Rock wall shadow"})}),s.jsx(z,{className:"bg-background absolute inset-0",enter:4.5,children:s.jsx(_e,{src:M("/sites/abrigo/burial/fire.png"),width:2700,height:2700,alt:"Fire"})}),s.jsx(z,{className:"bg-background absolute inset-0",enter:5.5,children:s.jsx(_e,{src:M("/sites/abrigo/burial/pendant-profile.png"),width:2700,height:2700,alt:"Pendant Profile"})}),s.jsx(z,{className:"bg-background absolute inset-0",enter:6.5,children:s.jsx(_e,{src:M("/sites/abrigo/burial/aerial-child.png"),width:2700,height:2700,alt:"Aerial Child"})}),s.jsx(z,{className:"bg-background absolute inset-0",enter:7.5,children:s.jsx(_e,{src:M("/sites/abrigo/burial/hovering.png"),width:2700,height:2700,alt:"Hovering"})}),s.jsx(z,{className:"bg-background absolute inset-0",enter:8.5,children:s.jsx(_e,{src:M("/sites/abrigo/burial/rabbit.png"),width:2700,height:2700,alt:"Rabbit"})}),s.jsx(z,{className:"bg-background absolute inset-0",slow:!0,enter
84:9.5,children:s.jsx(_e,{src:M("/sites/abrigo/leg-bones.jpg"),width:2e3,height:1424,alt:"Leg Bones"})})]}),children:s.jsxs(Y,{resolution:20,children:[s.jsx(I,{content:e.allWhite,position:"left",align:"top",textClassName:"bg-background"}),s.jsx(I,{content:e.allWhite2,position:"left",align:"top",textClassName:"bg-background"}),s.jsx(I,{content:e.handsDrawings,textClassName:"bg-background"}),s.jsx(I,{content:e.childInArms,textClassName:"bg-background"}),s.jsx(I,{content:e.rockWallShadow,textClassName:"bg-background"}),s.jsx(I,{content:e.fire,textClassName:"bg-background"}),s.jsx(I,{content:e.pendantProfile,textClassName:"bg-background"}),s.jsx(I,{content:e.aerialChild,textClassName:"bg-background"}),s.jsx(I,{content:e.hovering,textClassName:"bg-background"}),s.jsx(I,{content:e.rabbit,textClassName:"bg-background"}),s.jsx(I,{content:e.tapedLegBones,textClassName:"bg-background"})]})})})}),s.jsx(oe,{id:"site-model",config:{background:"black",invert:!0,accent:"lightgreen"},className:"relative bg-background text-foreground",children:s.jsx(Ot.Provider,{children:s.jsx(Y.Provider,{children:s.jsx(ke,{sticky:s.jsx(De,{children:s.jsx(vr,{})}),scrollClassName:"pointer-events-none",children:s.jsxs(Y,{children:[s.jsx("div",{className:"h-[400vh]"}),s.jsx(I,{position:"left",content:e.siteApproach,textClassName:"bg-black/30"}),s.jsx("div",{className:"h-[200vh]"}),s.jsx("div",{className:"h-[100vh]",children:s.jsx(Ve,{className:"h-full py-4 grid grid-cols-4 ",children:s.jsx(fr,{})})})]})})})})}),s.jsx(oe,{id:"taped-images",config:{accent:"green"},className:"relative bg-background text-foreground",children:s.jsx(hr,{data:e})}),s.jsx(me,{className:"w-full",src:M("/sites/abrigo/long-artifact-scroll.jpg"),imageProps:{id:"artifact-scroll",layout:"fullWidth",aspectRatio:2048/4501}}),s.jsx(oe,{id:"pendant",config:{accent:"green"},className:"relative bg-background text-foreground",children:s.jsx(Y.Provider,{children:s.jsx(ke,{scrollClassName:"pointer-events-none",sticky:s.jsx(s.Fragment,{children:s.jsx(De,{children:s.jsx(Sr,{})})}),children:s.jsxs(Y,{children:[s.jsx("div",{className:"h-[150vh]"}),s.jsx(I,{position:"center",content:e.pendantsIntro,textClassName:"pointer-events-auto"}),s.jsx(I,{position:"center",content:e.pendantsString,textClassName:"pointer-events-auto"}),s.jsx("div",{className:"h-[450vh]"})]})})})}),s.jsxs(oe,{id:"conclusion",config:{background:"black",invert:!0,accent:"lightgreen"},className:"relative bg-background text-foreground",children:[s.jsx(De,{className:"w-full h-[100vh]",children:s.jsx(vt,{src:"https://customer-jfexqkkiqyoyv68t.cloudflarestream.com/618b4566c7c4bc140fcd74c093b9d79c/downloads/default.mp4",poster:"https://customer-jfexqkkiqyoyv68t.cloudflarestream.com/618b4566c7c4bc140fcd74c093b9d79c/thumbnails/thumbnail.jpg?time=0s&width=1280",width:3840,height:2160})}),s.jsx(I,{position:"center",align:"center",content:e.conclusion,className:"absolute inset-0"})]}),s.jsx(mr,{data:e})]}),s.jsx(mt,{})]})}const yr=Object.freeze(Object.defineProperty({__proto__:null,default:_r},Symbol.toStringTag,{value:"Module"})),Rr=[{configName:"onRenderClient",importPath:"/renderer/+onRenderClient.tsx",isValueFile:!0,exportValues:Kt},{configName:"Page",importPath:"/pages/sites/abrigo/+Page.tsx",isValueFile:!0,exportValues:yr}],Pr=Object.freeze(Object.defineProperty({__proto__:null,default:Rr},Symbol.toStringTag,{value:"Module"}));export{Ot as A,Pr as a,ae as u};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.