@stonecrop/desktop 0.2.65 → 0.2.67

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -47,7 +47,7 @@ ${JSON.stringify(S,null,2)}
47
47
  state: () => new MyClass()
48
48
  Found in store "${w.$id}".`),m&&a&&n.hydrate&&n.hydrate(w.$state,m),p=!0,d=!0,w}/*! #__NO_SIDE_EFFECTS__ */function Li(e,t,n){let o,s;const a=typeof t=="function";if(typeof e=="string")o=e,s=a?n:t;else if(s=e,o=e.id,process.env.NODE_ENV!=="production"&&typeof o!="string")throw new Error('[🍍]: "defineStore()" must be passed a store id as its first argument.');function i(c,l){const p=r.hasInjectionContext();if(c=(process.env.NODE_ENV==="test"&&Te&&Te._testing?null:c)||(p?r.inject(Ai,null):null),c&&ot(c),process.env.NODE_ENV!=="production"&&!Te)throw new Error(`[🍍]: "getActivePinia()" was called but there was no active Pinia. Are you trying to use a store before calling "app.use(pinia)"?
49
49
  See https://pinia.vuejs.org/core-concepts/outside-component-usage.html for help.
50
- This will fail in production.`);c=Te,c._s.has(o)||(a?zt(o,t,s,c):Uo(o,s,c),process.env.NODE_ENV!=="production"&&(i._pinia=c));const d=c._s.get(o);if(process.env.NODE_ENV!=="production"&&l){const u="__hot:"+o,f=a?zt(u,t,s,c,!0):Uo(u,Q({},s),c,!0);l._hotUpdate(f),delete c.state.value[u],c._s.delete(u)}if(process.env.NODE_ENV!=="production"&&Be){const u=r.getCurrentInstance();if(u&&u.proxy&&!l){const f=u.proxy,h="_pStores"in f?f._pStores:f._pStores={};h[o]=d}}return d}return i.$id=o,i}function Fo(e){return r.getCurrentScope()?(r.onScopeDispose(e),!0):!1}function Ht(e){return typeof e=="function"?e():r.unref(e)}const Mi=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const Wi=e=>e!=null,Ui=Object.prototype.toString,Fi=e=>Ui.call(e)==="[object Object]",zi=()=>{},Le=Mi?window:void 0;function Me(e){var t;const n=Ht(e);return(t=n==null?void 0:n.$el)!=null?t:n}function We(...e){let t,n,o,s;if(typeof e[0]=="string"||Array.isArray(e[0])?([n,o,s]=e,t=Le):[t,n,o,s]=e,!t)return zi;Array.isArray(n)||(n=[n]),Array.isArray(o)||(o=[o]);const a=[],i=()=>{a.forEach(d=>d()),a.length=0},c=(d,u,f,h)=>(d.addEventListener(u,f,h),()=>d.removeEventListener(u,f,h)),l=r.watch(()=>[Me(t),Ht(s)],([d,u])=>{if(i(),!d)return;const f=Fi(u)?{...u}:u;a.push(...n.flatMap(h=>o.map(m=>c(d,h,m,f))))},{immediate:!0,flush:"post"}),p=()=>{l(),i()};return Fo(p),p}function Hi(){const e=r.ref(!1),t=r.getCurrentInstance();return t&&r.onMounted(()=>{e.value=!0},t),e}function qi(e){const t=Hi();return r.computed(()=>(t.value,!!e()))}function Gi(e,t,n={}){const{window:o=Le,...s}=n;let a;const i=qi(()=>o&&"MutationObserver"in o),c=()=>{a&&(a.disconnect(),a=void 0)},l=r.computed(()=>{const f=Ht(e),h=(Array.isArray(f)?f:[f]).map(Me).filter(Wi);return new Set(h)}),p=r.watch(()=>l.value,f=>{c(),i.value&&f.size&&(a=new MutationObserver(t),f.forEach(h=>a.observe(h,s)))},{immediate:!0,flush:"post"}),d=()=>a==null?void 0:a.takeRecords(),u=()=>{p(),c()};return Fo(u),{isSupported:i,stop:u,takeRecords:d}}function Ji(e={}){var t;const{window:n=Le,deep:o=!0,triggerOnRemoval:s=!1}=e,a=(t=e.document)!=null?t:n==null?void 0:n.document,i=()=>{var p;let d=a==null?void 0:a.activeElement;if(o)for(;d!=null&&d.shadowRoot;)d=(p=d==null?void 0:d.shadowRoot)==null?void 0:p.activeElement;return d},c=r.ref(),l=()=>{c.value=i()};return n&&(We(n,"blur",p=>{p.relatedTarget===null&&l()},!0),We(n,"focus",l,!0)),s&&Gi(a,p=>{p.filter(d=>d.removedNodes.length).map(d=>Array.from(d.removedNodes)).flat().forEach(d=>{d===c.value&&l()})},{childList:!0,subtree:!0}),l(),c}const Yi="focusin",Ki="focusout";function Qi(e,t={}){const{window:n=Le}=t,o=r.computed(()=>Me(e)),s=r.ref(!1),a=r.computed(()=>s.value),i=Ji(t);return!n||!i.value?{focused:a}:(We(o,Yi,()=>s.value=!0),We(o,Ki,()=>s.value=!1),{focused:a})}function Xi(e,{window:t=Le,scrollTarget:n}={}){const o=r.ref(!1),s=()=>{if(!t)return;const a=t.document,i=Me(e);if(!i)o.value=!1;else{const c=i.getBoundingClientRect();o.value=c.top<=(t.innerHeight||a.documentElement.clientHeight)&&c.left<=(t.innerWidth||a.documentElement.clientWidth)&&c.bottom>=0&&c.right>=0}};return r.watch(()=>Me(e),()=>s(),{immediate:!0,flush:"post"}),t&&We(n||t,"scroll",s,{capture:!1,passive:!0}),o}const ae=e=>{let t=Xi(e).value;return t=t&&e.offsetHeight>0,t},ie=e=>e.tabIndex>=0,zo=e=>{const t=e.target;return qt(t)},qt=e=>{var t;let n;if(e instanceof HTMLTableCellElement){const o=(t=e.parentElement)==null?void 0:t.previousElementSibling;if(o){const s=Array.from(o.children)[e.cellIndex];s&&(n=s)}}else if(e instanceof HTMLTableRowElement){const o=e.previousElementSibling;o&&(n=o)}return n&&(!ie(n)||!ae(n))?qt(n):n},Zi=e=>{var t;const n=e.target;let o;if(n instanceof HTMLTableCellElement){const s=(t=n.parentElement)==null?void 0:t.parentElement;if(s){const a=s.firstElementChild.children[n.cellIndex];a&&(o=a)}}else if(n instanceof HTMLTableRowElement){const s=n.parentElement;if(s){const a=s.firstElementChild;a&&(o=a)}}return o&&(!ie(o)||!ae(o))?Gt(o):o},Ho=e=>{const t=e.target;return Gt(t)},Gt=e=>{var t;let n;if(e instanceof HTMLTableCellElement){const o=(t=e.parentElement)==null?void 0:t.nextElementSibling;if(o){const s=Array.from(o.children)[e.cellIndex];s&&(n=s)}}else if(e instanceof HTMLTableRowElement){const o=e.nextElementSibling;o&&(n=o)}return n&&(!ie(n)||!ae(n))?Gt(n):n},ec=e=>{var t;const n=e.target;let o;if(n instanceof HTMLTableCellElement){const s=(t=n.parentElement)==null?void 0:t.parentElement;if(s){const a=s.lastElementChild.children[n.cellIndex];a&&(o=a)}}else if(n instanceof HTMLTableRowElement){const s=n.parentElement;if(s){const a=s.lastElementChild;a&&(o=a)}}return o&&(!ie(o)||!ae(o))?qt(o):o},qo=e=>{const t=e.target;return Jt(t)},Jt=e=>{var t;let n;if(e.previousElementSibling)n=e.previousElementSibling;else{const o=(t=e.parentElement)==null?void 0:t.previousElementSibling;n=o==null?void 0:o.lastElementChild}return n&&(!ie(n)||!ae(n))?Jt(n):n},Go=e=>{const t=e.target;return Yt(t)},Yt=e=>{var t;let n;if(e.nextElementSibling)n=e.nextElementSibling;else{const o=(t=e.parentElement)==null?void 0:t.nextElementSibling;n=o==null?void 0:o.firstElementChild}return n&&(!ie(n)||!ae(n))?Yt(n):n},Jo=e=>{const t=e.target.parentElement.firstElementChild;return t&&(!ie(t)||!ae(t))?Yt(t):t},Yo=e=>{const t=e.target.parentElement.lastElementChild;return t&&(!ie(t)||!ae(t))?Jt(t):t},rt=["alt","control","shift","meta"],tc={ArrowUp:"up",ArrowDown:"down",ArrowLeft:"left",ArrowRight:"right"},Kt={"keydown.up":e=>{const t=zo(e);t&&(e.preventDefault(),e.stopPropagation(),t.focus())},"keydown.down":e=>{const t=Ho(e);t&&(e.preventDefault(),e.stopPropagation(),t.focus())},"keydown.left":e=>{const t=qo(e);e.preventDefault(),e.stopPropagation(),t&&t.focus()},"keydown.right":e=>{const t=Go(e);e.preventDefault(),e.stopPropagation(),t&&t.focus()},"keydown.control.up":e=>{const t=Zi(e);t&&(e.preventDefault(),e.stopPropagation(),t.focus())},"keydown.control.down":e=>{const t=ec(e);t&&(e.preventDefault(),e.stopPropagation(),t.focus())},"keydown.control.left":e=>{const t=Jo(e);t&&(e.preventDefault(),e.stopPropagation(),t.focus())},"keydown.control.right":e=>{const t=Yo(e);t&&(e.preventDefault(),e.stopPropagation(),t.focus())},"keydown.end":e=>{const t=Yo(e);t&&(e.preventDefault(),e.stopPropagation(),t.focus())},"keydown.enter":e=>{if(e.target instanceof HTMLTableCellElement){e.preventDefault(),e.stopPropagation();const t=Ho(e);t&&t.focus()}},"keydown.shift.enter":e=>{if(e.target instanceof HTMLTableCellElement){e.preventDefault(),e.stopPropagation();const t=zo(e);t&&t.focus()}},"keydown.home":e=>{const t=Jo(e);t&&(e.preventDefault(),e.stopPropagation(),t.focus())},"keydown.tab":e=>{const t=Go(e);t&&(e.preventDefault(),e.stopPropagation(),t.focus())},"keydown.shift.tab":e=>{const t=qo(e);t&&(e.preventDefault(),e.stopPropagation(),t.focus())}};function Ko(e){const t=i=>{let c=null;return i.parent&&(typeof i.parent=="string"?c=document.querySelector(i.parent):i.parent instanceof HTMLElement?c=i.parent:c=i.parent.value),c},n=i=>{const c=t(i);let l=[];if(typeof i.selectors=="string")l=c?Array.from(c.querySelectorAll(i.selectors)):Array.from(document.querySelectorAll(i.selectors));else if(Array.isArray(i.selectors))for(const p of i.selectors)p instanceof HTMLElement?l.push(p):l.push(p.$el);else if(i.selectors instanceof HTMLElement)l.push(i.selectors);else if(Array.isArray(i.selectors.value))for(const p of i.selectors.value)p instanceof HTMLElement?l.push(p):l.push(p.$el);else l.push(i.selectors.value);return l},o=i=>{const c=t(i);let l=[];return i.selectors?l=n(i):c&&(l=Array.from(c.children).filter(p=>ie(p)&&ae(p))),l},s=i=>c=>{const l=tc[c.key]||c.key.toLowerCase();if(rt.includes(l))return;const p=i.handlers||Kt;for(const d of Object.keys(p)){const[u,...f]=d.split(".");if(u==="keydown"&&f.includes(l)){const h=p[d],m=f.filter(O=>rt.includes(O)),E=rt.some(O=>{const N=O.charAt(0).toUpperCase()+O.slice(1);return c.getModifierState(N)});if(m.length>0){if(E){for(const O of rt)if(f.includes(O)){const N=O.charAt(0).toUpperCase()+O.slice(1);c.getModifierState(N)&&h(c)}}}else E||h(c)}}},a=[];r.onMounted(()=>{for(const i of e){const c=t(i),l=o(i),p=s(i),d=c?[c]:l;for(const u of d){const{focused:f}=Qi(r.ref(u)),h=r.watch(f,m=>{m?u.addEventListener("keydown",p):u.removeEventListener("keydown",p)});a.push(h)}}}),r.onBeforeUnmount(()=>{for(const i of a)i()})}function Qo(e){return r.getCurrentScope()?(r.onScopeDispose(e),!0):!1}function Ue(e){return typeof e=="function"?e():r.unref(e)}const Xo=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const nc=Object.prototype.toString,oc=e=>nc.call(e)==="[object Object]",Fe=()=>{},Qt=rc();function rc(){var e,t;return Xo&&((e=window==null?void 0:window.navigator)==null?void 0:e.userAgent)&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||((t=window==null?void 0:window.navigator)==null?void 0:t.maxTouchPoints)>2&&/iPad|Macintosh/.test(window==null?void 0:window.navigator.userAgent))}const Zo={mounted:"mounted",updated:"updated",unmounted:"unmounted"};function sc(...e){if(e.length!==1)return r.toRef(...e);const t=e[0];return typeof t=="function"?r.readonly(r.customRef(()=>({get:t,set:Fe}))):r.ref(t)}function ze(e){var t;const n=Ue(e);return(t=n==null?void 0:n.$el)!=null?t:n}const er=Xo?window:void 0;function st(...e){let t,n,o,s;if(typeof e[0]=="string"||Array.isArray(e[0])?([n,o,s]=e,t=er):[t,n,o,s]=e,!t)return Fe;Array.isArray(n)||(n=[n]),Array.isArray(o)||(o=[o]);const a=[],i=()=>{a.forEach(d=>d()),a.length=0},c=(d,u,f,h)=>(d.addEventListener(u,f,h),()=>d.removeEventListener(u,f,h)),l=r.watch(()=>[ze(t),Ue(s)],([d,u])=>{if(i(),!d)return;const f=oc(u)?{...u}:u;a.push(...n.flatMap(h=>o.map(m=>c(d,h,m,f))))},{immediate:!0,flush:"post"}),p=()=>{l(),i()};return Qo(p),p}let tr=!1;function nr(e,t,n={}){const{window:o=er,ignore:s=[],capture:a=!0,detectIframe:i=!1}=n;if(!o)return Fe;Qt&&!tr&&(tr=!0,Array.from(o.document.body.children).forEach(d=>d.addEventListener("click",Fe)),o.document.documentElement.addEventListener("click",Fe));let c=!0;const l=d=>s.some(u=>{if(typeof u=="string")return Array.from(o.document.querySelectorAll(u)).some(f=>f===d.target||d.composedPath().includes(f));{const f=ze(u);return f&&(d.target===f||d.composedPath().includes(f))}}),p=[st(o,"click",d=>{const u=ze(e);if(!(!u||u===d.target||d.composedPath().includes(u))){if(d.detail===0&&(c=!l(d)),!c){c=!0;return}t(d)}},{passive:!0,capture:a}),st(o,"pointerdown",d=>{const u=ze(e);c=!l(d)&&!!(u&&!d.composedPath().includes(u))},{passive:!0}),i&&st(o,"blur",d=>{setTimeout(()=>{var u;const f=ze(e);((u=o.document.activeElement)==null?void 0:u.tagName)==="IFRAME"&&!(f!=null&&f.contains(o.document.activeElement))&&t(d)},0)})].filter(Boolean);return()=>p.forEach(d=>d())}const ac={[Zo.mounted](e,t){const n=!t.modifiers.bubble;if(typeof t.value=="function")e.__onClickOutside_stop=nr(e,t.value,{capture:n});else{const[o,s]=t.value;e.__onClickOutside_stop=nr(e,o,Object.assign({capture:n},s))}},[Zo.unmounted](e){e.__onClickOutside_stop()}};function Xt(e){return typeof Window<"u"&&e instanceof Window?e.document.documentElement:typeof Document<"u"&&e instanceof Document?e.documentElement:e}function or(e){const t=window.getComputedStyle(e);if(t.overflowX==="scroll"||t.overflowY==="scroll"||t.overflowX==="auto"&&e.clientWidth<e.scrollWidth||t.overflowY==="auto"&&e.clientHeight<e.scrollHeight)return!0;{const n=e.parentNode;return!n||n.tagName==="BODY"?!1:or(n)}}function ic(e){const t=e||window.event,n=t.target;return or(n)?!1:t.touches.length>1?!0:(t.preventDefault&&t.preventDefault(),!1)}const Zt=new WeakMap;function cc(e,t=!1){const n=r.ref(t);let o=null,s="";r.watch(sc(e),c=>{const l=Xt(Ue(c));if(l){const p=l;if(Zt.get(p)||Zt.set(p,p.style.overflow),p.style.overflow!=="hidden"&&(s=p.style.overflow),p.style.overflow==="hidden")return n.value=!0;if(n.value)return p.style.overflow="hidden"}},{immediate:!0});const a=()=>{const c=Xt(Ue(e));!c||n.value||(Qt&&(o=st(c,"touchmove",l=>{ic(l)},{passive:!1})),c.style.overflow="hidden",n.value=!0)},i=()=>{const c=Xt(Ue(e));!c||!n.value||(Qt&&(o==null||o()),c.style.overflow=s,Zt.delete(c),n.value=!1)};return Qo(i),r.computed({get(){return n.value},set(c){c?a():i()}})}function lc(){let e=!1;const t=r.ref(!1);return(n,o)=>{if(t.value=o.value,e)return;e=!0;const s=cc(n,o.value);r.watch(t,a=>s.value=a)}}lc();function en(e){return r.getCurrentScope()?(r.onScopeDispose(e),!0):!1}function at(e){return typeof e=="function"?e():r.unref(e)}const uc=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const dc=e=>e!=null,pc=Object.prototype.toString,fc=e=>pc.call(e)==="[object Object]",hc=()=>{};function mc(e){return r.getCurrentInstance()}function gc(e,t=!0,n){mc()?r.onMounted(e,n):t?e():r.nextTick(e)}const tn=uc?window:void 0;function $e(e){var t;const n=at(e);return(t=n==null?void 0:n.$el)!=null?t:n}function rr(...e){let t,n,o,s;if(typeof e[0]=="string"||Array.isArray(e[0])?([n,o,s]=e,t=tn):[t,n,o,s]=e,!t)return hc;Array.isArray(n)||(n=[n]),Array.isArray(o)||(o=[o]);const a=[],i=()=>{a.forEach(d=>d()),a.length=0},c=(d,u,f,h)=>(d.addEventListener(u,f,h),()=>d.removeEventListener(u,f,h)),l=r.watch(()=>[$e(t),at(s)],([d,u])=>{if(i(),!d)return;const f=fc(u)?{...u}:u;a.push(...n.flatMap(h=>o.map(m=>c(d,h,m,f))))},{immediate:!0,flush:"post"}),p=()=>{l(),i()};return en(p),p}function yc(){const e=r.ref(!1),t=r.getCurrentInstance();return t&&r.onMounted(()=>{e.value=!0},t),e}function sr(e){const t=yc();return r.computed(()=>(t.value,!!e()))}function ar(e,t,n={}){const{window:o=tn,...s}=n;let a;const i=sr(()=>o&&"MutationObserver"in o),c=()=>{a&&(a.disconnect(),a=void 0)},l=r.computed(()=>{const f=at(e),h=(Array.isArray(f)?f:[f]).map($e).filter(dc);return new Set(h)}),p=r.watch(()=>l.value,f=>{c(),i.value&&f.size&&(a=new MutationObserver(t),f.forEach(h=>a.observe(h,s)))},{immediate:!0,flush:"post"}),d=()=>a==null?void 0:a.takeRecords(),u=()=>{p(),c()};return en(u),{isSupported:i,stop:u,takeRecords:d}}function wc(e,t,n={}){const{window:o=tn,...s}=n;let a;const i=sr(()=>o&&"ResizeObserver"in o),c=()=>{a&&(a.disconnect(),a=void 0)},l=r.computed(()=>{const u=at(e);return Array.isArray(u)?u.map(f=>$e(f)):[$e(u)]}),p=r.watch(l,u=>{if(c(),i.value&&o){a=new ResizeObserver(t);for(const f of u)f&&a.observe(f,s)}},{immediate:!0,flush:"post"}),d=()=>{c(),p()};return en(d),{isSupported:i,stop:d}}function bc(e,t={}){const{reset:n=!0,windowResize:o=!0,windowScroll:s=!0,immediate:a=!0,updateTiming:i="sync"}=t,c=r.ref(0),l=r.ref(0),p=r.ref(0),d=r.ref(0),u=r.ref(0),f=r.ref(0),h=r.ref(0),m=r.ref(0);function E(){const N=$e(e);if(!N){n&&(c.value=0,l.value=0,p.value=0,d.value=0,u.value=0,f.value=0,h.value=0,m.value=0);return}const x=N.getBoundingClientRect();c.value=x.height,l.value=x.bottom,p.value=x.left,d.value=x.right,u.value=x.top,f.value=x.width,h.value=x.x,m.value=x.y}function O(){i==="sync"?E():i==="next-frame"&&requestAnimationFrame(()=>E())}return wc(e,O),r.watch(()=>$e(e),N=>!N&&O()),ar(e,O,{attributeFilter:["style","class"]}),s&&rr("scroll",O,{capture:!0,passive:!0}),o&&rr("resize",O,{passive:!0}),gc(()=>{a&&O()}),{height:c,bottom:l,left:p,right:d,top:u,width:f,x:h,y:m,update:O}}const vc=e=>{const t=new DOMParser().parseFromString(e,"text/html");return Array.from(t.body.childNodes).some(n=>n.nodeType===1)},Ec=["data-colindex","data-rowindex","data-editable","contenteditable","tabindex"],_c=["innerHTML"],kc={key:2},Nc=r.defineComponent({__name:"ACell",props:{colIndex:{},rowIndex:{},store:{},addNavigation:{type:[Boolean,Object],default:!0},tabIndex:{default:0},pinned:{type:Boolean}},setup(e){const t=r.useTemplateRef("cell"),{bottom:n,left:o}=bc(t),s=e.store.getCellData(e.colIndex,e.rowIndex),a=e.store.getCellDisplayValue(e.colIndex,e.rowIndex),i=r.ref(""),c=r.ref(!1),l=e.store.columns[e.colIndex],p=e.store.rows[e.rowIndex],d=l.align||"center",u=l.width||"40ch",f=r.computed(()=>typeof a=="string"?vc(a):!1),h=r.computed(()=>{var N;return{textAlign:d,width:u,backgroundColor:c.value?"var(--sc-cell-modified)":"inherit",fontWeight:c.value?"bold":"inherit",paddingLeft:e.store.getIndent(e.colIndex,(N=e.store.display[e.rowIndex])==null?void 0:N.indent)}}),m=()=>{l.mask,l.modalComponent&&e.store.$patch(N=>{N.modal.visible=!0,N.modal.colIndex=e.colIndex,N.modal.rowIndex=e.rowIndex,N.modal.parent=t.value,N.modal.top=n.value,N.modal.left=o.value,N.modal.width=u,typeof l.modalComponent=="function"?N.modal.component=l.modalComponent({table:N.table,row:p,column:l}):N.modal.component=l.modalComponent,N.modal.componentProps=l.modalComponentExtraProps})};if(e.addNavigation){let N={...Kt,"keydown.f2":m,"keydown.alt.up":m,"keydown.alt.down":m,"keydown.alt.left":m,"keydown.alt.right":m};typeof e.addNavigation=="object"&&(N={...N,...e.addNavigation}),Ko([{selectors:t,handlers:N}])}const E=()=>{t.value&&(i.value=t.value.textContent)},O=()=>{t.value&&(l.format?c.value=t.value.textContent!==e.store.getFormattedValue(e.colIndex,e.rowIndex,s):c.value=t.value.textContent!==s,t.value.textContent!==i.value&&(i.value=t.value.textContent,t.value.dispatchEvent(new Event("change")),l.format||e.store.setCellData(e.colIndex,e.rowIndex,i.value)))};return(N,x)=>r.withDirectives((r.openBlock(),r.createElementBlock("td",{ref:"cell","data-colindex":N.colIndex,"data-rowindex":N.rowIndex,"data-editable":r.unref(l).edit,contenteditable:r.unref(l).edit,tabindex:N.tabIndex,spellcheck:!1,style:r.normalizeStyle(h.value),onFocus:E,onPaste:O,onBlur:O,onInput:O,onClick:m,class:r.normalizeClass(["atable-cell",N.pinned?"sticky-column":""])},[r.unref(l).cellComponent?(r.openBlock(),r.createBlock(r.resolveDynamicComponent(r.unref(l).cellComponent),r.mergeProps({key:0,value:r.unref(a)},r.unref(l).cellComponentProps),null,16,["value"])):f.value?(r.openBlock(),r.createElementBlock("span",{key:1,innerHTML:r.unref(a)},null,8,_c)):(r.openBlock(),r.createElementBlock("span",kc,r.toDisplayString(r.unref(a)),1))],46,Ec)),[[r.unref(ac),N.store.closeModal]])}}),$c=["tabindex"],Oc=r.defineComponent({__name:"ARow",props:{rowIndex:{},store:{},tabIndex:{default:()=>-1},addNavigation:{type:[Boolean,Object],default:!1}},setup(e){const t=r.useTemplateRef("rowEl"),n=e.store.isRowVisible(e.rowIndex),o=e.store.getRowExpandSymbol(e.rowIndex);if(e.addNavigation){let s=Kt;typeof e.addNavigation=="object"&&(s={...s,...e.addNavigation}),Ko([{selectors:t,handlers:s}])}return(s,a)=>r.withDirectives((r.openBlock(),r.createElementBlock("tr",{ref:"rowEl",tabindex:s.tabIndex,class:"table-row"},[s.store.config.view!=="uncounted"?r.renderSlot(s.$slots,"index",{key:0},()=>[s.store.config.view==="list"?(r.openBlock(),r.createElementBlock("td",{key:0,tabIndex:-1,class:r.normalizeClass(["list-index",s.store.hasPinnedColumns?"sticky-index":""])},r.toDisplayString(s.rowIndex+1),3)):s.store.config.view==="tree"?(r.openBlock(),r.createElementBlock("td",{key:1,tabIndex:-1,class:r.normalizeClass(["tree-index",s.store.hasPinnedColumns?"sticky-index":""]),onClick:a[0]||(a[0]=i=>s.store.toggleRowExpand(s.rowIndex))},r.toDisplayString(r.unref(o)),3)):r.createCommentVNode("",!0)]):r.createCommentVNode("",!0),r.renderSlot(s.$slots,"default")],8,$c)),[[r.vShow,r.unref(n)]])}}),Sc={key:0,id:"resizable"},xc={class:"atable-header-row",tabindex:"-1"},Cc=r.defineComponent({__name:"ATableHeader",props:{columns:{},store:{}},setup(e){return(t,n)=>t.columns.length?(r.openBlock(),r.createElementBlock("thead",Sc,[r.createElementVNode("tr",xc,[t.store.zeroColumn?(r.openBlock(),r.createElementBlock("th",{key:0,id:"header-index",class:r.normalizeClass([[t.store.hasPinnedColumns?"sticky-index":"",t.store.config.view==="tree"?"tree-index":"",t.store.config.view==="list-expansion"?"list-expansion-index":""],"list-index"])},null,2)):r.createCommentVNode("",!0),(r.openBlock(!0),r.createElementBlock(r.Fragment,null,r.renderList(t.columns,(o,s)=>(r.openBlock(),r.createElementBlock("th",{key:o.name,tabindex:"-1",style:r.normalizeStyle(t.store.getHeaderCellStyle(o)),class:r.normalizeClass(o.pinned?"sticky-column":"")},[r.renderSlot(t.$slots,"default",{},()=>[r.createTextVNode(r.toDisplayString(o.label||String.fromCharCode(s+97).toUpperCase()),1)])],6))),128))])])):r.createCommentVNode("",!0)}}),Pc=r.defineComponent({__name:"ATableModal",props:{colIndex:{},rowIndex:{},store:{}},setup(e){const t=n=>{n.stopPropagation()};return(n,o)=>(r.openBlock(),r.createElementBlock("div",{class:"amodal",tabindex:"-1",onClick:t,onInput:t},[r.renderSlot(n.$slots,"default")],32))}}),Vc=e=>{const t=e.id||crypto.randomUUID();return Li(`table-${t}`,()=>{const n=()=>{const $={};for(const[C,w]of s.value.entries())for(const[j,v]of a.value.entries())$[`${C}:${j}`]=v[w.name];return $},o=$=>{const C=[Object.assign({},{rowModified:!1})];if($&&"0:0"in $)return $;const w=new Set;for(let j=a.value.length-1;j>=0;j--){const v=a.value[j];v.parent&&w.add(v.parent),C[j]={childrenOpen:!1,expanded:!1,indent:v.indent||null,isParent:w.has(j),isRoot:v.parent===null||v.parent===void 0,rowModified:!1,open:v.parent===null||v.parent===void 0,parent:v.parent}}return C},s=r.ref(e.columns),a=r.ref(e.rows),i=r.ref(e.config||{}),c=r.ref(e.table||n()),l=r.ref(o(e.display)),p=r.ref(e.modal||{visible:!1}),d=r.computed(()=>s.value.some($=>$.pinned)),u=r.computed(()=>`${Math.ceil(a.value.length/100+1)}ch`),f=r.computed(()=>["list","tree","list-expansion"].includes(i.value.view)),h=($,C)=>c.value[`${$}:${C}`],m=($,C,w)=>{const j=`${$}:${C}`,v=s.value[$];c.value[j]!==w&&(l.value[C].rowModified=!0),c.value[j]=w,a.value[C][v.name]=w},E=$=>({minWidth:$.width||"40ch",textAlign:$.align||"center",width:i.value.fullWidth?"auto":null}),O=$=>i.value.view!=="tree"||l.value[$].isRoot||l.value[$].open,N=$=>i.value.view!=="tree"?"":l.value[$].isRoot||l.value[$].isParent?l.value[$].childrenOpen?"-":"+":"",x=$=>{if(i.value.view==="tree"){l.value[$].childrenOpen=!l.value[$].childrenOpen;for(let C=a.value.length-1;C>=0;C--)l.value[C].parent===$&&(l.value[C].open=!l.value[C].open,l.value[C].childrenOpen&&x(C))}else i.value.view==="list-expansion"&&(l.value[$].expanded=!l.value[$].expanded)},I=($,C)=>{const w=h($,C);return B($,C,w)},B=($,C,w)=>{const j=s.value[$],v=a.value[C],g=j.format;return g?typeof g=="function"?g(w,{table:c.value,row:v,column:j}):typeof g=="string"?Function(`"use strict";return (${g})`)()(w,{table:c.value,row:v,column:j}):w:w};return{columns:s,rows:a,config:i,table:c,display:l,modal:p,hasPinnedColumns:d,numberedRowWidth:u,zeroColumn:f,closeModal:$=>{var C;$.target instanceof Node&&(C=p.value.parent)!=null&&C.contains($.target)||p.value.visible&&(p.value.visible=!1)},getCellData:h,getCellDisplayValue:I,getFormattedValue:B,getHeaderCellStyle:E,getIndent:($,C)=>C&&$===0&&C>0?`${C}ch`:"inherit",getRowExpandSymbol:N,isRowVisible:O,setCellData:m,toggleRowExpand:x}})()},Dc=r.defineComponent({__name:"ATable",props:{id:{},modelValue:{},columns:{},rows:{default:()=>[]},config:{default:()=>new Object}},emits:["update:modelValue","cellUpdate"],setup(e,{expose:t,emit:n}){const o=n,s=r.useTemplateRef("table"),a=e.modelValue?e.modelValue:e.rows,i=Vc({columns:e.columns,rows:a,id:e.id,config:e.config});i.$onAction(({name:l,store:p,args:d})=>{if(l==="setCellData"){const[u,f,h]=d,m=p.getCellData(u,f);o("cellUpdate",[u,f,h,m])}}),r.watch(()=>i.rows,l=>{o("update:modelValue",l)},{deep:!0}),r.onMounted(()=>{e.columns.some(l=>l.pinned)&&(c(),i.config.view==="tree"&&ar(s,c,{childList:!0,subtree:!0}))});const c=()=>{const l=s.value,p=l.rows[0],d=l.rows[1],u=p?Array.from(p.cells):[];for(const[f,h]of u.entries()){const m=d.cells[f];m&&(h.style.width=`${m.offsetWidth}px`)}for(const f of l.rows){let h=0;const m=[];for(const E of f.cells)(E.classList.contains("sticky-column")||E.classList.contains("sticky-index"))&&(E.style.left=`${h}px`,h+=E.offsetWidth,m.push(E));m.length>0&&m[m.length-1].classList.add("sticky-column-edge")}};return window.addEventListener("keydown",l=>{if(l.key==="Escape"&&i.modal.visible){i.modal.visible=!1;const p=i.modal.parent;p&&r.nextTick().then(()=>{p.focus()})}}),t({store:i}),(l,p)=>(r.openBlock(),r.createElementBlock("table",{ref:"table",class:"atable",style:r.normalizeStyle({width:r.unref(i).config.fullWidth?"100%":"auto"})},[r.renderSlot(l.$slots,"header",{data:r.unref(i)},()=>[r.createVNode(Cc,{columns:r.unref(i).columns,store:r.unref(i)},null,8,["columns","store"])],!0),r.createElementVNode("tbody",null,[r.renderSlot(l.$slots,"body",{data:r.unref(i)},()=>[(r.openBlock(!0),r.createElementBlock(r.Fragment,null,r.renderList(r.unref(i).rows,(d,u)=>(r.openBlock(),r.createBlock(Oc,{key:d.id,row:d,rowIndex:u,store:r.unref(i)},{default:r.withCtx(()=>[(r.openBlock(!0),r.createElementBlock(r.Fragment,null,r.renderList(r.unref(i).columns,(f,h)=>(r.openBlock(),r.createBlock(Nc,{key:f.name,store:r.unref(i),col:f,spellcheck:"false",pinned:f.pinned,rowIndex:u,colIndex:h,component:f.cellComponent,style:r.normalizeStyle({textAlign:(f==null?void 0:f.align)||"center",minWidth:(f==null?void 0:f.width)||"40ch",width:r.unref(i).config.fullWidth?"auto":null})},null,8,["store","col","pinned","rowIndex","colIndex","component","style"]))),128))]),_:2},1032,["row","rowIndex","store"]))),128))],!0)]),r.renderSlot(l.$slots,"footer",{data:r.unref(i)},void 0,!0),r.renderSlot(l.$slots,"modal",{data:r.unref(i)},()=>[r.withDirectives(r.createVNode(Pc,{colIndex:r.unref(i).modal.colIndex,rowIndex:r.unref(i).modal.rowIndex,store:r.unref(i),style:r.normalizeStyle({left:r.unref(i).modal.left+"px",top:r.unref(i).modal.top+"px",maxWidth:r.unref(i).modal.width+"px"})},{default:r.withCtx(()=>[(r.openBlock(),r.createBlock(r.resolveDynamicComponent(r.unref(i).modal.component),r.mergeProps({key:`${r.unref(i).modal.rowIndex}:${r.unref(i).modal.colIndex}`,colIndex:r.unref(i).modal.colIndex,rowIndex:r.unref(i).modal.rowIndex,store:r.unref(i)},r.unref(i).modal.componentProps),null,16,["colIndex","rowIndex","store"]))]),_:1},8,["colIndex","rowIndex","store","style"]),[[r.vShow,r.unref(i).modal.visible]])],!0)],4))}}),Ic=(e,t)=>{const n=e.__vccOpts||e;for(const[o,s]of t)n[o]=s;return n},Rc=Ic(Dc,[["__scopeId","data-v-20244978"]]),ir=r.defineComponent({__name:"Records",setup(e){const{stonecrop:t,isReady:n}=xn(),o={view:"list"};return(s,a)=>r.unref(n)?(r.openBlock(),r.createBlock(r.unref(Rc),{key:0,columns:r.unref(t).schema.schema.toArray(),rows:r.unref(t).store.records,config:o},null,8,["columns","rows"])):r.createCommentVNode("",!0)}}),Ac={class:"tabs"},Tc={tabindex:"0"},jc={version:"1.1",id:"Capa_1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0px",y:"0px",viewBox:"0 0 424.098 424.098",style:{"enable-background":"new 0 0 424.098 424.098"},"xml:space":"preserve"},Bc={tabindex:"0"},Lc={style:{width:"11pt"}},cr=ut(r.defineComponent({__name:"SheetNav",props:{breadcrumbs:{default:()=>[]}},setup(e){const t=r.ref(!0),n=r.ref(!1),o=r.ref(""),s=r.useTemplateRef("searchinput"),a=r.computed(()=>t.value?"unrotated":"rotated"),i=()=>{t.value=!t.value},c=async()=>{n.value=!n.value,await r.nextTick(()=>{s.value.focus()})},l=u=>{u.preventDefault(),u.stopPropagation()},p=async u=>{u.preventDefault(),u.stopPropagation(),await c()},d=()=>{};return(u,f)=>{const h=r.resolveComponent("router-link");return r.openBlock(),r.createElementBlock("footer",null,[r.createElementVNode("ul",Ac,[r.createElementVNode("li",{class:"hidebreadcrumbs",onClick:i,onKeydown:r.withKeys(i,["enter"])},[r.createElementVNode("a",Tc,[r.createElementVNode("div",{class:r.normalizeClass(a.value)},"×",2)])],32),r.createElementVNode("li",{class:"hometab",onClick:d,onKeydown:r.withKeys(d,["enter"]),style:r.normalizeStyle({display:t.value?"block":"none"})},[r.createVNode(h,{to:"/home",tabindex:"0"},{default:r.withCtx(()=>[(r.openBlock(),r.createElementBlock("svg",jc,f[5]||(f[5]=[r.createElementVNode("g",null,[r.createElementVNode("path",{style:{fill:"#010002"},d:`M351.191,401.923H72.901c-4.487,0-8.129-3.633-8.129-8.129V242.262l-56.664-0.114
50
+ This will fail in production.`);c=Te,c._s.has(o)||(a?zt(o,t,s,c):Uo(o,s,c),process.env.NODE_ENV!=="production"&&(i._pinia=c));const d=c._s.get(o);if(process.env.NODE_ENV!=="production"&&l){const u="__hot:"+o,f=a?zt(u,t,s,c,!0):Uo(u,Q({},s),c,!0);l._hotUpdate(f),delete c.state.value[u],c._s.delete(u)}if(process.env.NODE_ENV!=="production"&&Be){const u=r.getCurrentInstance();if(u&&u.proxy&&!l){const f=u.proxy,h="_pStores"in f?f._pStores:f._pStores={};h[o]=d}}return d}return i.$id=o,i}function Fo(e){return r.getCurrentScope()?(r.onScopeDispose(e),!0):!1}function Ht(e){return typeof e=="function"?e():r.unref(e)}const Mi=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const Wi=e=>e!=null,Ui=Object.prototype.toString,Fi=e=>Ui.call(e)==="[object Object]",zi=()=>{},Le=Mi?window:void 0;function Me(e){var t;const n=Ht(e);return(t=n==null?void 0:n.$el)!=null?t:n}function We(...e){let t,n,o,s;if(typeof e[0]=="string"||Array.isArray(e[0])?([n,o,s]=e,t=Le):[t,n,o,s]=e,!t)return zi;Array.isArray(n)||(n=[n]),Array.isArray(o)||(o=[o]);const a=[],i=()=>{a.forEach(d=>d()),a.length=0},c=(d,u,f,h)=>(d.addEventListener(u,f,h),()=>d.removeEventListener(u,f,h)),l=r.watch(()=>[Me(t),Ht(s)],([d,u])=>{if(i(),!d)return;const f=Fi(u)?{...u}:u;a.push(...n.flatMap(h=>o.map(m=>c(d,h,m,f))))},{immediate:!0,flush:"post"}),p=()=>{l(),i()};return Fo(p),p}function Hi(){const e=r.ref(!1),t=r.getCurrentInstance();return t&&r.onMounted(()=>{e.value=!0},t),e}function qi(e){const t=Hi();return r.computed(()=>(t.value,!!e()))}function Gi(e,t,n={}){const{window:o=Le,...s}=n;let a;const i=qi(()=>o&&"MutationObserver"in o),c=()=>{a&&(a.disconnect(),a=void 0)},l=r.computed(()=>{const f=Ht(e),h=(Array.isArray(f)?f:[f]).map(Me).filter(Wi);return new Set(h)}),p=r.watch(()=>l.value,f=>{c(),i.value&&f.size&&(a=new MutationObserver(t),f.forEach(h=>a.observe(h,s)))},{immediate:!0,flush:"post"}),d=()=>a==null?void 0:a.takeRecords(),u=()=>{p(),c()};return Fo(u),{isSupported:i,stop:u,takeRecords:d}}function Ji(e={}){var t;const{window:n=Le,deep:o=!0,triggerOnRemoval:s=!1}=e,a=(t=e.document)!=null?t:n==null?void 0:n.document,i=()=>{var p;let d=a==null?void 0:a.activeElement;if(o)for(;d!=null&&d.shadowRoot;)d=(p=d==null?void 0:d.shadowRoot)==null?void 0:p.activeElement;return d},c=r.ref(),l=()=>{c.value=i()};return n&&(We(n,"blur",p=>{p.relatedTarget===null&&l()},!0),We(n,"focus",l,!0)),s&&Gi(a,p=>{p.filter(d=>d.removedNodes.length).map(d=>Array.from(d.removedNodes)).flat().forEach(d=>{d===c.value&&l()})},{childList:!0,subtree:!0}),l(),c}const Yi="focusin",Ki="focusout";function Qi(e,t={}){const{window:n=Le}=t,o=r.computed(()=>Me(e)),s=r.ref(!1),a=r.computed(()=>s.value),i=Ji(t);return!n||!i.value?{focused:a}:(We(o,Yi,()=>s.value=!0),We(o,Ki,()=>s.value=!1),{focused:a})}function Xi(e,{window:t=Le,scrollTarget:n}={}){const o=r.ref(!1),s=()=>{if(!t)return;const a=t.document,i=Me(e);if(!i)o.value=!1;else{const c=i.getBoundingClientRect();o.value=c.top<=(t.innerHeight||a.documentElement.clientHeight)&&c.left<=(t.innerWidth||a.documentElement.clientWidth)&&c.bottom>=0&&c.right>=0}};return r.watch(()=>Me(e),()=>s(),{immediate:!0,flush:"post"}),t&&We(n||t,"scroll",s,{capture:!1,passive:!0}),o}const ae=e=>{let t=Xi(e).value;return t=t&&e.offsetHeight>0,t},ie=e=>e.tabIndex>=0,zo=e=>{const t=e.target;return qt(t)},qt=e=>{var t;let n;if(e instanceof HTMLTableCellElement){const o=(t=e.parentElement)==null?void 0:t.previousElementSibling;if(o){const s=Array.from(o.children)[e.cellIndex];s&&(n=s)}}else if(e instanceof HTMLTableRowElement){const o=e.previousElementSibling;o&&(n=o)}return n&&(!ie(n)||!ae(n))?qt(n):n},Zi=e=>{var t;const n=e.target;let o;if(n instanceof HTMLTableCellElement){const s=(t=n.parentElement)==null?void 0:t.parentElement;if(s){const a=s.firstElementChild.children[n.cellIndex];a&&(o=a)}}else if(n instanceof HTMLTableRowElement){const s=n.parentElement;if(s){const a=s.firstElementChild;a&&(o=a)}}return o&&(!ie(o)||!ae(o))?Gt(o):o},Ho=e=>{const t=e.target;return Gt(t)},Gt=e=>{var t;let n;if(e instanceof HTMLTableCellElement){const o=(t=e.parentElement)==null?void 0:t.nextElementSibling;if(o){const s=Array.from(o.children)[e.cellIndex];s&&(n=s)}}else if(e instanceof HTMLTableRowElement){const o=e.nextElementSibling;o&&(n=o)}return n&&(!ie(n)||!ae(n))?Gt(n):n},ec=e=>{var t;const n=e.target;let o;if(n instanceof HTMLTableCellElement){const s=(t=n.parentElement)==null?void 0:t.parentElement;if(s){const a=s.lastElementChild.children[n.cellIndex];a&&(o=a)}}else if(n instanceof HTMLTableRowElement){const s=n.parentElement;if(s){const a=s.lastElementChild;a&&(o=a)}}return o&&(!ie(o)||!ae(o))?qt(o):o},qo=e=>{const t=e.target;return Jt(t)},Jt=e=>{var t;let n;if(e.previousElementSibling)n=e.previousElementSibling;else{const o=(t=e.parentElement)==null?void 0:t.previousElementSibling;n=o==null?void 0:o.lastElementChild}return n&&(!ie(n)||!ae(n))?Jt(n):n},Go=e=>{const t=e.target;return Yt(t)},Yt=e=>{var t;let n;if(e.nextElementSibling)n=e.nextElementSibling;else{const o=(t=e.parentElement)==null?void 0:t.nextElementSibling;n=o==null?void 0:o.firstElementChild}return n&&(!ie(n)||!ae(n))?Yt(n):n},Jo=e=>{const t=e.target.parentElement.firstElementChild;return t&&(!ie(t)||!ae(t))?Yt(t):t},Yo=e=>{const t=e.target.parentElement.lastElementChild;return t&&(!ie(t)||!ae(t))?Jt(t):t},rt=["alt","control","shift","meta"],tc={ArrowUp:"up",ArrowDown:"down",ArrowLeft:"left",ArrowRight:"right"},Kt={"keydown.up":e=>{const t=zo(e);t&&(e.preventDefault(),e.stopPropagation(),t.focus())},"keydown.down":e=>{const t=Ho(e);t&&(e.preventDefault(),e.stopPropagation(),t.focus())},"keydown.left":e=>{const t=qo(e);e.preventDefault(),e.stopPropagation(),t&&t.focus()},"keydown.right":e=>{const t=Go(e);e.preventDefault(),e.stopPropagation(),t&&t.focus()},"keydown.control.up":e=>{const t=Zi(e);t&&(e.preventDefault(),e.stopPropagation(),t.focus())},"keydown.control.down":e=>{const t=ec(e);t&&(e.preventDefault(),e.stopPropagation(),t.focus())},"keydown.control.left":e=>{const t=Jo(e);t&&(e.preventDefault(),e.stopPropagation(),t.focus())},"keydown.control.right":e=>{const t=Yo(e);t&&(e.preventDefault(),e.stopPropagation(),t.focus())},"keydown.end":e=>{const t=Yo(e);t&&(e.preventDefault(),e.stopPropagation(),t.focus())},"keydown.enter":e=>{if(e.target instanceof HTMLTableCellElement){e.preventDefault(),e.stopPropagation();const t=Ho(e);t&&t.focus()}},"keydown.shift.enter":e=>{if(e.target instanceof HTMLTableCellElement){e.preventDefault(),e.stopPropagation();const t=zo(e);t&&t.focus()}},"keydown.home":e=>{const t=Jo(e);t&&(e.preventDefault(),e.stopPropagation(),t.focus())},"keydown.tab":e=>{const t=Go(e);t&&(e.preventDefault(),e.stopPropagation(),t.focus())},"keydown.shift.tab":e=>{const t=qo(e);t&&(e.preventDefault(),e.stopPropagation(),t.focus())}};function Ko(e){const t=i=>{let c=null;return i.parent&&(typeof i.parent=="string"?c=document.querySelector(i.parent):i.parent instanceof HTMLElement?c=i.parent:c=i.parent.value),c},n=i=>{const c=t(i);let l=[];if(typeof i.selectors=="string")l=c?Array.from(c.querySelectorAll(i.selectors)):Array.from(document.querySelectorAll(i.selectors));else if(Array.isArray(i.selectors))for(const p of i.selectors)p instanceof HTMLElement?l.push(p):l.push(p.$el);else if(i.selectors instanceof HTMLElement)l.push(i.selectors);else if(Array.isArray(i.selectors.value))for(const p of i.selectors.value)p instanceof HTMLElement?l.push(p):l.push(p.$el);else l.push(i.selectors.value);return l},o=i=>{const c=t(i);let l=[];return i.selectors?l=n(i):c&&(l=Array.from(c.children).filter(p=>ie(p)&&ae(p))),l},s=i=>c=>{const l=tc[c.key]||c.key.toLowerCase();if(rt.includes(l))return;const p=i.handlers||Kt;for(const d of Object.keys(p)){const[u,...f]=d.split(".");if(u==="keydown"&&f.includes(l)){const h=p[d],m=f.filter(O=>rt.includes(O)),E=rt.some(O=>{const N=O.charAt(0).toUpperCase()+O.slice(1);return c.getModifierState(N)});if(m.length>0){if(E){for(const O of rt)if(f.includes(O)){const N=O.charAt(0).toUpperCase()+O.slice(1);c.getModifierState(N)&&h(c)}}}else E||h(c)}}},a=[];r.onMounted(()=>{for(const i of e){const c=t(i),l=o(i),p=s(i),d=c?[c]:l;for(const u of d){const{focused:f}=Qi(r.ref(u)),h=r.watch(f,m=>{m?u.addEventListener("keydown",p):u.removeEventListener("keydown",p)});a.push(h)}}}),r.onBeforeUnmount(()=>{for(const i of a)i()})}function Qo(e){return r.getCurrentScope()?(r.onScopeDispose(e),!0):!1}function Ue(e){return typeof e=="function"?e():r.unref(e)}const Xo=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const nc=Object.prototype.toString,oc=e=>nc.call(e)==="[object Object]",Fe=()=>{},Qt=rc();function rc(){var e,t;return Xo&&((e=window==null?void 0:window.navigator)==null?void 0:e.userAgent)&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||((t=window==null?void 0:window.navigator)==null?void 0:t.maxTouchPoints)>2&&/iPad|Macintosh/.test(window==null?void 0:window.navigator.userAgent))}const Zo={mounted:"mounted",updated:"updated",unmounted:"unmounted"};function sc(...e){if(e.length!==1)return r.toRef(...e);const t=e[0];return typeof t=="function"?r.readonly(r.customRef(()=>({get:t,set:Fe}))):r.ref(t)}function ze(e){var t;const n=Ue(e);return(t=n==null?void 0:n.$el)!=null?t:n}const er=Xo?window:void 0;function st(...e){let t,n,o,s;if(typeof e[0]=="string"||Array.isArray(e[0])?([n,o,s]=e,t=er):[t,n,o,s]=e,!t)return Fe;Array.isArray(n)||(n=[n]),Array.isArray(o)||(o=[o]);const a=[],i=()=>{a.forEach(d=>d()),a.length=0},c=(d,u,f,h)=>(d.addEventListener(u,f,h),()=>d.removeEventListener(u,f,h)),l=r.watch(()=>[ze(t),Ue(s)],([d,u])=>{if(i(),!d)return;const f=oc(u)?{...u}:u;a.push(...n.flatMap(h=>o.map(m=>c(d,h,m,f))))},{immediate:!0,flush:"post"}),p=()=>{l(),i()};return Qo(p),p}let tr=!1;function nr(e,t,n={}){const{window:o=er,ignore:s=[],capture:a=!0,detectIframe:i=!1}=n;if(!o)return Fe;Qt&&!tr&&(tr=!0,Array.from(o.document.body.children).forEach(d=>d.addEventListener("click",Fe)),o.document.documentElement.addEventListener("click",Fe));let c=!0;const l=d=>s.some(u=>{if(typeof u=="string")return Array.from(o.document.querySelectorAll(u)).some(f=>f===d.target||d.composedPath().includes(f));{const f=ze(u);return f&&(d.target===f||d.composedPath().includes(f))}}),p=[st(o,"click",d=>{const u=ze(e);if(!(!u||u===d.target||d.composedPath().includes(u))){if(d.detail===0&&(c=!l(d)),!c){c=!0;return}t(d)}},{passive:!0,capture:a}),st(o,"pointerdown",d=>{const u=ze(e);c=!l(d)&&!!(u&&!d.composedPath().includes(u))},{passive:!0}),i&&st(o,"blur",d=>{setTimeout(()=>{var u;const f=ze(e);((u=o.document.activeElement)==null?void 0:u.tagName)==="IFRAME"&&!(f!=null&&f.contains(o.document.activeElement))&&t(d)},0)})].filter(Boolean);return()=>p.forEach(d=>d())}const ac={[Zo.mounted](e,t){const n=!t.modifiers.bubble;if(typeof t.value=="function")e.__onClickOutside_stop=nr(e,t.value,{capture:n});else{const[o,s]=t.value;e.__onClickOutside_stop=nr(e,o,Object.assign({capture:n},s))}},[Zo.unmounted](e){e.__onClickOutside_stop()}};function Xt(e){return typeof Window<"u"&&e instanceof Window?e.document.documentElement:typeof Document<"u"&&e instanceof Document?e.documentElement:e}function or(e){const t=window.getComputedStyle(e);if(t.overflowX==="scroll"||t.overflowY==="scroll"||t.overflowX==="auto"&&e.clientWidth<e.scrollWidth||t.overflowY==="auto"&&e.clientHeight<e.scrollHeight)return!0;{const n=e.parentNode;return!n||n.tagName==="BODY"?!1:or(n)}}function ic(e){const t=e||window.event,n=t.target;return or(n)?!1:t.touches.length>1?!0:(t.preventDefault&&t.preventDefault(),!1)}const Zt=new WeakMap;function cc(e,t=!1){const n=r.ref(t);let o=null,s="";r.watch(sc(e),c=>{const l=Xt(Ue(c));if(l){const p=l;if(Zt.get(p)||Zt.set(p,p.style.overflow),p.style.overflow!=="hidden"&&(s=p.style.overflow),p.style.overflow==="hidden")return n.value=!0;if(n.value)return p.style.overflow="hidden"}},{immediate:!0});const a=()=>{const c=Xt(Ue(e));!c||n.value||(Qt&&(o=st(c,"touchmove",l=>{ic(l)},{passive:!1})),c.style.overflow="hidden",n.value=!0)},i=()=>{const c=Xt(Ue(e));!c||!n.value||(Qt&&(o==null||o()),c.style.overflow=s,Zt.delete(c),n.value=!1)};return Qo(i),r.computed({get(){return n.value},set(c){c?a():i()}})}function lc(){let e=!1;const t=r.ref(!1);return(n,o)=>{if(t.value=o.value,e)return;e=!0;const s=cc(n,o.value);r.watch(t,a=>s.value=a)}}lc();function en(e){return r.getCurrentScope()?(r.onScopeDispose(e),!0):!1}function at(e){return typeof e=="function"?e():r.unref(e)}const uc=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const dc=e=>e!=null,pc=Object.prototype.toString,fc=e=>pc.call(e)==="[object Object]",hc=()=>{};function mc(e){return r.getCurrentInstance()}function gc(e,t=!0,n){mc()?r.onMounted(e,n):t?e():r.nextTick(e)}const tn=uc?window:void 0;function $e(e){var t;const n=at(e);return(t=n==null?void 0:n.$el)!=null?t:n}function rr(...e){let t,n,o,s;if(typeof e[0]=="string"||Array.isArray(e[0])?([n,o,s]=e,t=tn):[t,n,o,s]=e,!t)return hc;Array.isArray(n)||(n=[n]),Array.isArray(o)||(o=[o]);const a=[],i=()=>{a.forEach(d=>d()),a.length=0},c=(d,u,f,h)=>(d.addEventListener(u,f,h),()=>d.removeEventListener(u,f,h)),l=r.watch(()=>[$e(t),at(s)],([d,u])=>{if(i(),!d)return;const f=fc(u)?{...u}:u;a.push(...n.flatMap(h=>o.map(m=>c(d,h,m,f))))},{immediate:!0,flush:"post"}),p=()=>{l(),i()};return en(p),p}function yc(){const e=r.ref(!1),t=r.getCurrentInstance();return t&&r.onMounted(()=>{e.value=!0},t),e}function sr(e){const t=yc();return r.computed(()=>(t.value,!!e()))}function ar(e,t,n={}){const{window:o=tn,...s}=n;let a;const i=sr(()=>o&&"MutationObserver"in o),c=()=>{a&&(a.disconnect(),a=void 0)},l=r.computed(()=>{const f=at(e),h=(Array.isArray(f)?f:[f]).map($e).filter(dc);return new Set(h)}),p=r.watch(()=>l.value,f=>{c(),i.value&&f.size&&(a=new MutationObserver(t),f.forEach(h=>a.observe(h,s)))},{immediate:!0,flush:"post"}),d=()=>a==null?void 0:a.takeRecords(),u=()=>{p(),c()};return en(u),{isSupported:i,stop:u,takeRecords:d}}function wc(e,t,n={}){const{window:o=tn,...s}=n;let a;const i=sr(()=>o&&"ResizeObserver"in o),c=()=>{a&&(a.disconnect(),a=void 0)},l=r.computed(()=>{const u=at(e);return Array.isArray(u)?u.map(f=>$e(f)):[$e(u)]}),p=r.watch(l,u=>{if(c(),i.value&&o){a=new ResizeObserver(t);for(const f of u)f&&a.observe(f,s)}},{immediate:!0,flush:"post"}),d=()=>{c(),p()};return en(d),{isSupported:i,stop:d}}function bc(e,t={}){const{reset:n=!0,windowResize:o=!0,windowScroll:s=!0,immediate:a=!0,updateTiming:i="sync"}=t,c=r.ref(0),l=r.ref(0),p=r.ref(0),d=r.ref(0),u=r.ref(0),f=r.ref(0),h=r.ref(0),m=r.ref(0);function E(){const N=$e(e);if(!N){n&&(c.value=0,l.value=0,p.value=0,d.value=0,u.value=0,f.value=0,h.value=0,m.value=0);return}const x=N.getBoundingClientRect();c.value=x.height,l.value=x.bottom,p.value=x.left,d.value=x.right,u.value=x.top,f.value=x.width,h.value=x.x,m.value=x.y}function O(){i==="sync"?E():i==="next-frame"&&requestAnimationFrame(()=>E())}return wc(e,O),r.watch(()=>$e(e),N=>!N&&O()),ar(e,O,{attributeFilter:["style","class"]}),s&&rr("scroll",O,{capture:!0,passive:!0}),o&&rr("resize",O,{passive:!0}),gc(()=>{a&&O()}),{height:c,bottom:l,left:p,right:d,top:u,width:f,x:h,y:m,update:O}}const vc=e=>{const t=new DOMParser().parseFromString(e,"text/html");return Array.from(t.body.childNodes).some(n=>n.nodeType===1)},Ec=["data-colindex","data-rowindex","data-editable","contenteditable","tabindex"],_c=["innerHTML"],kc={key:2},Nc=r.defineComponent({__name:"ACell",props:{colIndex:{},rowIndex:{},store:{},addNavigation:{type:[Boolean,Object],default:!0},tabIndex:{default:0},pinned:{type:Boolean}},setup(e){const t=r.useTemplateRef("cell"),{bottom:n,left:o}=bc(t),s=e.store.getCellData(e.colIndex,e.rowIndex),a=e.store.getCellDisplayValue(e.colIndex,e.rowIndex),i=r.ref(""),c=r.ref(!1),l=e.store.columns[e.colIndex],p=e.store.rows[e.rowIndex],d=l.align||"center",u=l.width||"40ch",f=r.computed(()=>typeof a=="string"?vc(a):!1),h=r.computed(()=>{var N;return{textAlign:d,width:u,backgroundColor:c.value?"var(--sc-cell-changed-color)":"inherit",fontWeight:c.value?"bold":"inherit",paddingLeft:e.store.getIndent(e.colIndex,(N=e.store.display[e.rowIndex])==null?void 0:N.indent)}}),m=()=>{l.mask,l.modalComponent&&e.store.$patch(N=>{N.modal.visible=!0,N.modal.colIndex=e.colIndex,N.modal.rowIndex=e.rowIndex,N.modal.parent=t.value,N.modal.top=n.value,N.modal.left=o.value,N.modal.width=u,typeof l.modalComponent=="function"?N.modal.component=l.modalComponent({table:N.table,row:p,column:l}):N.modal.component=l.modalComponent,N.modal.componentProps=l.modalComponentExtraProps})};if(e.addNavigation){let N={...Kt,"keydown.f2":m,"keydown.alt.up":m,"keydown.alt.down":m,"keydown.alt.left":m,"keydown.alt.right":m};typeof e.addNavigation=="object"&&(N={...N,...e.addNavigation}),Ko([{selectors:t,handlers:N}])}const E=()=>{t.value&&(i.value=t.value.textContent)},O=()=>{t.value&&(l.format?c.value=t.value.textContent!==e.store.getFormattedValue(e.colIndex,e.rowIndex,s):c.value=t.value.textContent!==s,t.value.textContent!==i.value&&(i.value=t.value.textContent,t.value.dispatchEvent(new Event("change")),l.format||e.store.setCellData(e.colIndex,e.rowIndex,i.value)))};return(N,x)=>r.withDirectives((r.openBlock(),r.createElementBlock("td",{ref:"cell","data-colindex":N.colIndex,"data-rowindex":N.rowIndex,"data-editable":r.unref(l).edit,contenteditable:r.unref(l).edit,tabindex:N.tabIndex,spellcheck:!1,style:r.normalizeStyle(h.value),onFocus:E,onPaste:O,onBlur:O,onInput:O,onClick:m,class:r.normalizeClass(["atable-cell",N.pinned?"sticky-column":""])},[r.unref(l).cellComponent?(r.openBlock(),r.createBlock(r.resolveDynamicComponent(r.unref(l).cellComponent),r.mergeProps({key:0,value:r.unref(a)},r.unref(l).cellComponentProps),null,16,["value"])):f.value?(r.openBlock(),r.createElementBlock("span",{key:1,innerHTML:r.unref(a)},null,8,_c)):(r.openBlock(),r.createElementBlock("span",kc,r.toDisplayString(r.unref(a)),1))],46,Ec)),[[r.unref(ac),N.store.closeModal]])}}),$c=["tabindex"],Oc=r.defineComponent({__name:"ARow",props:{rowIndex:{},store:{},tabIndex:{default:()=>-1},addNavigation:{type:[Boolean,Object],default:!1}},setup(e){const t=r.useTemplateRef("rowEl"),n=e.store.isRowVisible(e.rowIndex),o=e.store.getRowExpandSymbol(e.rowIndex);if(e.addNavigation){let s=Kt;typeof e.addNavigation=="object"&&(s={...s,...e.addNavigation}),Ko([{selectors:t,handlers:s}])}return(s,a)=>r.withDirectives((r.openBlock(),r.createElementBlock("tr",{ref:"rowEl",tabindex:s.tabIndex,class:"table-row"},[s.store.config.view!=="uncounted"?r.renderSlot(s.$slots,"index",{key:0},()=>[s.store.config.view==="list"?(r.openBlock(),r.createElementBlock("td",{key:0,tabIndex:-1,class:r.normalizeClass(["list-index",s.store.hasPinnedColumns?"sticky-index":""])},r.toDisplayString(s.rowIndex+1),3)):s.store.config.view==="tree"?(r.openBlock(),r.createElementBlock("td",{key:1,tabIndex:-1,class:r.normalizeClass(["tree-index",s.store.hasPinnedColumns?"sticky-index":""]),onClick:a[0]||(a[0]=i=>s.store.toggleRowExpand(s.rowIndex))},r.toDisplayString(r.unref(o)),3)):r.createCommentVNode("",!0)]):r.createCommentVNode("",!0),r.renderSlot(s.$slots,"default")],8,$c)),[[r.vShow,r.unref(n)]])}}),Sc={key:0,id:"resizable"},xc={class:"atable-header-row",tabindex:"-1"},Cc=r.defineComponent({__name:"ATableHeader",props:{columns:{},store:{}},setup(e){return(t,n)=>t.columns.length?(r.openBlock(),r.createElementBlock("thead",Sc,[r.createElementVNode("tr",xc,[t.store.zeroColumn?(r.openBlock(),r.createElementBlock("th",{key:0,id:"header-index",class:r.normalizeClass([[t.store.hasPinnedColumns?"sticky-index":"",t.store.config.view==="tree"?"tree-index":"",t.store.config.view==="list-expansion"?"list-expansion-index":""],"list-index"])},null,2)):r.createCommentVNode("",!0),(r.openBlock(!0),r.createElementBlock(r.Fragment,null,r.renderList(t.columns,(o,s)=>(r.openBlock(),r.createElementBlock("th",{key:o.name,tabindex:"-1",style:r.normalizeStyle(t.store.getHeaderCellStyle(o)),class:r.normalizeClass(o.pinned?"sticky-column":"")},[r.renderSlot(t.$slots,"default",{},()=>[r.createTextVNode(r.toDisplayString(o.label||String.fromCharCode(s+97).toUpperCase()),1)])],6))),128))])])):r.createCommentVNode("",!0)}}),Pc=r.defineComponent({__name:"ATableModal",props:{colIndex:{},rowIndex:{},store:{}},setup(e){const t=n=>{n.stopPropagation()};return(n,o)=>(r.openBlock(),r.createElementBlock("div",{class:"amodal",tabindex:"-1",onClick:t,onInput:t},[r.renderSlot(n.$slots,"default")],32))}}),Vc=e=>{const t=e.id||crypto.randomUUID();return Li(`table-${t}`,()=>{const n=()=>{const $={};for(const[C,w]of s.value.entries())for(const[j,v]of a.value.entries())$[`${C}:${j}`]=v[w.name];return $},o=$=>{const C=[Object.assign({},{rowModified:!1})];if($&&"0:0"in $)return $;const w=new Set;for(let j=a.value.length-1;j>=0;j--){const v=a.value[j];v.parent&&w.add(v.parent),C[j]={childrenOpen:!1,expanded:!1,indent:v.indent||null,isParent:w.has(j),isRoot:v.parent===null||v.parent===void 0,rowModified:!1,open:v.parent===null||v.parent===void 0,parent:v.parent}}return C},s=r.ref(e.columns),a=r.ref(e.rows),i=r.ref(e.config||{}),c=r.ref(e.table||n()),l=r.ref(o(e.display)),p=r.ref(e.modal||{visible:!1}),d=r.computed(()=>s.value.some($=>$.pinned)),u=r.computed(()=>`${Math.ceil(a.value.length/100+1)}ch`),f=r.computed(()=>["list","tree","list-expansion"].includes(i.value.view)),h=($,C)=>c.value[`${$}:${C}`],m=($,C,w)=>{const j=`${$}:${C}`,v=s.value[$];c.value[j]!==w&&(l.value[C].rowModified=!0),c.value[j]=w,a.value[C][v.name]=w},E=$=>({minWidth:$.width||"40ch",textAlign:$.align||"center",width:i.value.fullWidth?"auto":null}),O=$=>i.value.view!=="tree"||l.value[$].isRoot||l.value[$].open,N=$=>i.value.view!=="tree"?"":l.value[$].isRoot||l.value[$].isParent?l.value[$].childrenOpen?"-":"+":"",x=$=>{if(i.value.view==="tree"){l.value[$].childrenOpen=!l.value[$].childrenOpen;for(let C=a.value.length-1;C>=0;C--)l.value[C].parent===$&&(l.value[C].open=!l.value[C].open,l.value[C].childrenOpen&&x(C))}else i.value.view==="list-expansion"&&(l.value[$].expanded=!l.value[$].expanded)},I=($,C)=>{const w=h($,C);return B($,C,w)},B=($,C,w)=>{const j=s.value[$],v=a.value[C],g=j.format;return g?typeof g=="function"?g(w,{table:c.value,row:v,column:j}):typeof g=="string"?Function(`"use strict";return (${g})`)()(w,{table:c.value,row:v,column:j}):w:w};return{columns:s,rows:a,config:i,table:c,display:l,modal:p,hasPinnedColumns:d,numberedRowWidth:u,zeroColumn:f,closeModal:$=>{var C;$.target instanceof Node&&(C=p.value.parent)!=null&&C.contains($.target)||p.value.visible&&(p.value.visible=!1)},getCellData:h,getCellDisplayValue:I,getFormattedValue:B,getHeaderCellStyle:E,getIndent:($,C)=>C&&$===0&&C>0?`${C}ch`:"inherit",getRowExpandSymbol:N,isRowVisible:O,setCellData:m,toggleRowExpand:x}})()},Dc=r.defineComponent({__name:"ATable",props:{id:{},modelValue:{},columns:{},rows:{default:()=>[]},config:{default:()=>new Object}},emits:["update:modelValue","cellUpdate"],setup(e,{expose:t,emit:n}){const o=n,s=r.useTemplateRef("table"),a=e.modelValue?e.modelValue:e.rows,i=Vc({columns:e.columns,rows:a,id:e.id,config:e.config});i.$onAction(({name:l,store:p,args:d})=>{if(l==="setCellData"){const[u,f,h]=d,m=p.getCellData(u,f);o("cellUpdate",[u,f,h,m])}}),r.watch(()=>i.rows,l=>{o("update:modelValue",l)},{deep:!0}),r.onMounted(()=>{e.columns.some(l=>l.pinned)&&(c(),i.config.view==="tree"&&ar(s,c,{childList:!0,subtree:!0}))});const c=()=>{const l=s.value,p=l.rows[0],d=l.rows[1],u=p?Array.from(p.cells):[];for(const[f,h]of u.entries()){const m=d.cells[f];m&&(h.style.width=`${m.offsetWidth}px`)}for(const f of l.rows){let h=0;const m=[];for(const E of f.cells)(E.classList.contains("sticky-column")||E.classList.contains("sticky-index"))&&(E.style.left=`${h}px`,h+=E.offsetWidth,m.push(E));m.length>0&&m[m.length-1].classList.add("sticky-column-edge")}};return window.addEventListener("keydown",l=>{if(l.key==="Escape"&&i.modal.visible){i.modal.visible=!1;const p=i.modal.parent;p&&r.nextTick().then(()=>{p.focus()})}}),t({store:i}),(l,p)=>(r.openBlock(),r.createElementBlock("table",{ref:"table",class:"atable",style:r.normalizeStyle({width:r.unref(i).config.fullWidth?"100%":"auto"})},[r.renderSlot(l.$slots,"header",{data:r.unref(i)},()=>[r.createVNode(Cc,{columns:r.unref(i).columns,store:r.unref(i)},null,8,["columns","store"])],!0),r.createElementVNode("tbody",null,[r.renderSlot(l.$slots,"body",{data:r.unref(i)},()=>[(r.openBlock(!0),r.createElementBlock(r.Fragment,null,r.renderList(r.unref(i).rows,(d,u)=>(r.openBlock(),r.createBlock(Oc,{key:d.id,row:d,rowIndex:u,store:r.unref(i)},{default:r.withCtx(()=>[(r.openBlock(!0),r.createElementBlock(r.Fragment,null,r.renderList(r.unref(i).columns,(f,h)=>(r.openBlock(),r.createBlock(Nc,{key:f.name,store:r.unref(i),col:f,spellcheck:"false",pinned:f.pinned,rowIndex:u,colIndex:h,component:f.cellComponent,style:r.normalizeStyle({textAlign:(f==null?void 0:f.align)||"center",minWidth:(f==null?void 0:f.width)||"40ch",width:r.unref(i).config.fullWidth?"auto":null})},null,8,["store","col","pinned","rowIndex","colIndex","component","style"]))),128))]),_:2},1032,["row","rowIndex","store"]))),128))],!0)]),r.renderSlot(l.$slots,"footer",{data:r.unref(i)},void 0,!0),r.renderSlot(l.$slots,"modal",{data:r.unref(i)},()=>[r.withDirectives(r.createVNode(Pc,{colIndex:r.unref(i).modal.colIndex,rowIndex:r.unref(i).modal.rowIndex,store:r.unref(i),style:r.normalizeStyle({left:r.unref(i).modal.left+"px",top:r.unref(i).modal.top+"px",maxWidth:r.unref(i).modal.width+"px"})},{default:r.withCtx(()=>[(r.openBlock(),r.createBlock(r.resolveDynamicComponent(r.unref(i).modal.component),r.mergeProps({key:`${r.unref(i).modal.rowIndex}:${r.unref(i).modal.colIndex}`,colIndex:r.unref(i).modal.colIndex,rowIndex:r.unref(i).modal.rowIndex,store:r.unref(i)},r.unref(i).modal.componentProps),null,16,["colIndex","rowIndex","store"]))]),_:1},8,["colIndex","rowIndex","store","style"]),[[r.vShow,r.unref(i).modal.visible]])],!0)],4))}}),Ic=(e,t)=>{const n=e.__vccOpts||e;for(const[o,s]of t)n[o]=s;return n},Rc=Ic(Dc,[["__scopeId","data-v-930d16dc"]]),ir=r.defineComponent({__name:"Records",setup(e){const{stonecrop:t,isReady:n}=xn(),o={view:"list"};return(s,a)=>r.unref(n)?(r.openBlock(),r.createBlock(r.unref(Rc),{key:0,columns:r.unref(t).schema.schema.toArray(),rows:r.unref(t).store.records,config:o},null,8,["columns","rows"])):r.createCommentVNode("",!0)}}),Ac={class:"tabs"},Tc={tabindex:"0"},jc={version:"1.1",id:"Capa_1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0px",y:"0px",viewBox:"0 0 424.098 424.098",style:{"enable-background":"new 0 0 424.098 424.098"},"xml:space":"preserve"},Bc={tabindex:"0"},Lc={style:{width:"11pt"}},cr=ut(r.defineComponent({__name:"SheetNav",props:{breadcrumbs:{default:()=>[]}},setup(e){const t=r.ref(!0),n=r.ref(!1),o=r.ref(""),s=r.useTemplateRef("searchinput"),a=r.computed(()=>t.value?"unrotated":"rotated"),i=()=>{t.value=!t.value},c=async()=>{n.value=!n.value,await r.nextTick(()=>{s.value.focus()})},l=u=>{u.preventDefault(),u.stopPropagation()},p=async u=>{u.preventDefault(),u.stopPropagation(),await c()},d=()=>{};return(u,f)=>{const h=r.resolveComponent("router-link");return r.openBlock(),r.createElementBlock("footer",null,[r.createElementVNode("ul",Ac,[r.createElementVNode("li",{class:"hidebreadcrumbs",onClick:i,onKeydown:r.withKeys(i,["enter"])},[r.createElementVNode("a",Tc,[r.createElementVNode("div",{class:r.normalizeClass(a.value)},"×",2)])],32),r.createElementVNode("li",{class:"hometab",onClick:d,onKeydown:r.withKeys(d,["enter"]),style:r.normalizeStyle({display:t.value?"block":"none"})},[r.createVNode(h,{to:"/home",tabindex:"0"},{default:r.withCtx(()=>[(r.openBlock(),r.createElementBlock("svg",jc,f[5]||(f[5]=[r.createElementVNode("g",null,[r.createElementVNode("path",{style:{fill:"#010002"},d:`M351.191,401.923H72.901c-4.487,0-8.129-3.633-8.129-8.129V242.262l-56.664-0.114
51
51
  c-3.284-0.008-6.243-1.992-7.495-5.023c-1.252-3.04-0.553-6.527,1.764-8.852L206.104,24.546c1.853-1.845,4.503-2.666,7.047-2.276
52
52
  c2.414,0.39,4.511,1.845,5.731,3.942l47.43,47.43V58.499c0-4.487,3.633-8.129,8.129-8.129h47.755c4.495,0,8.129,3.642,8.129,8.129
53
53
  v79.156l91.39,91.398c2.325,2.325,3.024,5.828,1.764,8.868c-1.26,3.032-4.227,5.007-7.511,5.007c-0.008,0-0.008,0-0.016,0