@inkeep/open-knowledge 0.11.0-beta.2 → 0.11.0-beta.3
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.
- package/dist/assets/skills/discovery/SKILL.md +1 -1
- package/dist/assets/skills/project/SKILL.md +1 -1
- package/dist/cli.mjs +13 -13
- package/dist/constants-DyydeB4j.mjs +2 -0
- package/dist/dist-BQ2eKPri.mjs +1 -0
- package/dist/{dist-C0xnaEtj.mjs → dist-CCyYJGQt.mjs} +8 -9
- package/dist/{gh-detect-CA44spgV.mjs → gh-detect-BVhbpmu_.mjs} +2 -2
- package/dist/index.mjs +1 -1
- package/dist/init-BZjQ37CC.mjs +1 -0
- package/dist/{init-Ciq04XPD.mjs → init-T36y4VG4.mjs} +4 -4
- package/dist/loader-CFHyMNhM.mjs +1 -0
- package/dist/{loader-Bz9ASXI0.mjs → loader-DhtMuXAX.mjs} +3 -3
- package/dist/preview-BZshejrR.mjs +1 -0
- package/dist/{preview-Cqve46h4.mjs → preview-CquRg_CE.mjs} +2 -2
- package/dist/public/assets/{ActivityModeContent-CqOdmRDQ.js → ActivityModeContent-ZoZKf6Gm.js} +1 -1
- package/dist/public/assets/{DocumentContext-9X09oG0N.js → DocumentContext-DBiTzPPp.js} +2 -2
- package/dist/public/assets/{GraphPanel-_BCbvLM6.js → GraphPanel-CFpfVJ4w.js} +1 -1
- package/dist/public/assets/{SettingsDialogBody-CJBYdFNy.js → SettingsDialogBody-Cm5As9uw.js} +2 -2
- package/dist/public/assets/SourceEditor-CxKHLkny.js +2 -0
- package/dist/public/assets/{config-validation-events-CTKSLfrC.js → config-validation-events-Co2Fzxvd.js} +5 -5
- package/dist/public/assets/index-A7P-olmm.js +1915 -0
- package/dist/public/assets/{keyboard-shortcuts-D1ntCgJI.js → keyboard-shortcuts-B7RaCLwK.js} +1 -1
- package/dist/public/assets/{prop-types-3UnRySkO.js → prop-types-DfshR72P.js} +1 -1
- package/dist/public/assets/{target-navigation-intent-SROx-nlb.js → target-navigation-intent-o4RtIHjG.js} +1 -1
- package/dist/public/assets/{typing-burst-detector-D4PNvLF3.js → typing-burst-detector-Hj7RQFt0.js} +2 -2
- package/dist/public/index.html +7 -7
- package/dist/{repair-launch-json-XAE_JN-m.mjs → repair-launch-json-D2ZvteMx.mjs} +2 -2
- package/dist/{repair-mcp-configs-DF6fmbaO.mjs → repair-mcp-configs-B0Zod3GV.mjs} +2 -2
- package/dist/repair-skills-D4XmoSSA.mjs +1 -0
- package/dist/{repair-skills-BRxi0rRb.mjs → repair-skills-PR-WFCoP.mjs} +2 -2
- package/dist/{server-lock-BpjJj3OD-BYyEdzAD.mjs → server-lock-BpjJj3OD-BIHTaNk6.mjs} +2 -2
- package/dist/server-lock-CyhBidkz-D8p-oBU3.mjs +1 -0
- package/dist/{src-DQCQ-Lah.mjs → src-BsLpq-yj.mjs} +2 -2
- package/dist/{start-CJV2plXo.mjs → start-CuUWVawW.mjs} +2 -2
- package/dist/start-DLaD9UkH.mjs +1 -0
- package/dist/{write-project-skill-AEaG6bcq.mjs → write-project-skill-IhCllMlm.mjs} +2 -2
- package/package.json +1 -1
- package/dist/constants-tinfqGlt.mjs +0 -2
- package/dist/dist-DglAcTUx.mjs +0 -1
- package/dist/init-DPzXuaty.mjs +0 -1
- package/dist/loader-Cqxopf9k.mjs +0 -1
- package/dist/preview-BhwNW-yC.mjs +0 -1
- package/dist/public/assets/SourceEditor-C1jfu96D.js +0 -2
- package/dist/public/assets/index-DJYXzJag.js +0 -1915
- package/dist/repair-skills-LlCrfK-2.mjs +0 -1
- package/dist/server-lock-CyhBidkz-BKGV8zdF.mjs +0 -1
- package/dist/start-DKjEKF15.mjs +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{o as e}from"./chunk-CFjPhJqf.js";import{a as n,i as r,o as i,r as a,t as o}from"./compiler-runtime-Cs91PcD2.js";import{a as s,c,i as l,n as u,o as d,r as f,s as p,t as m}from"./panel-BNBODYwB.js";import{$i as h,Bt as g,Dr as _,I as v,Kt as y,L as b,N as x,Qi as S,Xt as C,Yt as w,Zi as T,_ as E,ea as ee,i as te,na as D,nn as ne,t as re,z as ie}from"./prop-types-3UnRySkO.js";import{C as ae,S as oe,t as se}from"./button-DenIdY-r.js";import{i as ce,n as le,t as ue}from"./toggle-group-Cs-1L92l.js";import{t as de}from"./target-navigation-intent-SROx-nlb.js";import{n as O}from"./isObjectLike-DFnkciUU.js";import{t as fe}from"./ordinal-BLFwWMHf.js";import{n as pe,t as me}from"./min-BiwsSkbB.js";import{C as he,S as ge,_ as _e,b as k,g as ve,n as A,r as ye,t as be,v as xe,w as Se,x as Ce,y as we}from"./src-L3wpjxBL.js";import{t as j}from"./colors-D6LRuSY-.js";import{n as M,t as N}from"./now-D_m-3Vjm.js";var Te=ae(`maximize-2`,[[`path`,{d:`M15 3h6v6`,key:`1q9fwt`}],[`path`,{d:`m21 3-7 7`,key:`1l2asr`}],[`path`,{d:`m3 21 7-7`,key:`tjx5ai`}],[`path`,{d:`M9 21H3v-6`,key:`wtvkvv`}]]),Ee=ae(`minimize-2`,[[`path`,{d:`m14 10 7-7`,key:`oa77jy`}],[`path`,{d:`M20 10h-6V4`,key:`mjg0md`}],[`path`,{d:`m3 21 7-7`,key:`tjx5ai`}],[`path`,{d:`M4 14h6v6`,key:`rmj7iw`}]]);function De(e,n){let r=0;if(n===void 0)for(let n of e)(n=+n)&&(r+=n);else{let i=-1;for(let a of e)(a=+n(a,++i,e))&&(r+=a)}return r}var Oe=e=>()=>e;function ke(e,{sourceEvent:n,subject:r,target:i,identifier:a,active:o,x:s,y:c,dx:l,dy:u,dispatch:d}){Object.defineProperties(this,{type:{value:e,enumerable:!0,configurable:!0},sourceEvent:{value:n,enumerable:!0,configurable:!0},subject:{value:r,enumerable:!0,configurable:!0},target:{value:i,enumerable:!0,configurable:!0},identifier:{value:a,enumerable:!0,configurable:!0},active:{value:o,enumerable:!0,configurable:!0},x:{value:s,enumerable:!0,configurable:!0},y:{value:c,enumerable:!0,configurable:!0},dx:{value:l,enumerable:!0,configurable:!0},dy:{value:u,enumerable:!0,configurable:!0},_:{value:d}})}ke.prototype.on=function(){var e=this._.on.apply(this._,arguments);return e===this._?this:e};function P(e){return!e.ctrlKey&&!e.button}function Ae(){return this.parentNode}function je(e,n){return n??{x:e.x,y:e.y}}function Me(){return navigator.maxTouchPoints||`ontouchstart`in this}function Ne(){var e=P,n=Ae,r=je,i=Me,a={},o=Se(`start`,`drag`,`end`),s=0,c,l,u,d,f=0;function p(e){e.on(`mousedown.drag`,m).filter(i).on(`touchstart.drag`,_).on(`touchmove.drag`,v,we).on(`touchend.drag touchcancel.drag`,y).style(`touch-action`,`none`).style(`-webkit-tap-highlight-color`,`rgba(0,0,0,0)`)}function m(r,i){if(!(d||!e.call(this,r,i))){var a=b(this,n.call(this,r,i),r,i,`mouse`);a&&(he(r.view).on(`mousemove.drag`,h,k).on(`mouseup.drag`,g,k),ve(r.view),Ce(r),u=!1,c=r.clientX,l=r.clientY,a(`start`,r))}}function h(e){if(xe(e),!u){var n=e.clientX-c,r=e.clientY-l;u=n*n+r*r>f}a.mouse(`drag`,e)}function g(e){he(e.view).on(`mousemove.drag mouseup.drag`,null),_e(e.view,u),xe(e),a.mouse(`end`,e)}function _(r,i){if(e.call(this,r,i)){var a=r.changedTouches,o=n.call(this,r,i),s=a.length,c,l;for(c=0;c<s;++c)(l=b(this,o,r,i,a[c].identifier,a[c]))&&(Ce(r),l(`start`,r,a[c]))}}function v(e){var n=e.changedTouches,r=n.length,i,o;for(i=0;i<r;++i)(o=a[n[i].identifier])&&(xe(e),o(`drag`,e,n[i]))}function y(e){var n=e.changedTouches,r=n.length,i,o;for(d&&clearTimeout(d),d=setTimeout(function(){d=null},500),i=0;i<r;++i)(o=a[n[i].identifier])&&(Ce(e),o(`end`,e,n[i]))}function b(e,n,i,c,l,u){var d=o.copy(),f=ge(u||i,n),m,h,g;if((g=r.call(e,new ke(`beforestart`,{sourceEvent:i,target:p,identifier:l,active:s,x:f[0],y:f[1],dx:0,dy:0,dispatch:d}),c))!=null)return m=g.x-f[0]||0,h=g.y-f[1]||0,function r(i,o,u){var _=f,v;switch(i){case`start`:a[l]=r,v=s++;break;case`end`:delete a[l],--s;case`drag`:f=ge(u||o,n),v=s;break}d.call(i,e,new ke(i,{sourceEvent:o,subject:g,target:p,identifier:l,active:v,x:f[0]+m,y:f[1]+h,dx:f[0]-_[0],dy:f[1]-_[1],dispatch:d}),c)}}return p.filter=function(n){return arguments.length?(e=typeof n==`function`?n:Oe(!!n),p):e},p.container=function(e){return arguments.length?(n=typeof e==`function`?e:Oe(e),p):n},p.subject=function(e){return arguments.length?(r=typeof e==`function`?e:Oe(e),p):r},p.touchable=function(e){return arguments.length?(i=typeof e==`function`?e:Oe(!!e),p):i},p.on=function(){var e=o.on.apply(o,arguments);return e===o?p:e},p.clickDistance=function(e){return arguments.length?(f=(e=+e)*e,p):Math.sqrt(f)},p}function Pe(e){let n=+this._x.call(null,e),r=+this._y.call(null,e);return Fe(this.cover(n,r),n,r,e)}function Fe(e,n,r,i){if(isNaN(n)||isNaN(r))return e;var a,o=e._root,s={data:i},c=e._x0,l=e._y0,u=e._x1,d=e._y1,f,p,m,h,g,_,v,y;if(!o)return e._root=s,e;for(;o.length;)if((g=n>=(f=(c+u)/2))?c=f:u=f,(_=r>=(p=(l+d)/2))?l=p:d=p,a=o,!(o=o[v=_<<1|g]))return a[v]=s,e;if(m=+e._x.call(null,o.data),h=+e._y.call(null,o.data),n===m&&r===h)return s.next=o,a?a[v]=s:e._root=s,e;do a=a?a[v]=[,,,,]:e._root=[,,,,],(g=n>=(f=(c+u)/2))?c=f:u=f,(_=r>=(p=(l+d)/2))?l=p:d=p;while((v=_<<1|g)==(y=(h>=p)<<1|m>=f));return a[y]=o,a[v]=s,e}function Ie(e){var n,r,i=e.length,a,o,s=Array(i),c=Array(i),l=1/0,u=1/0,d=-1/0,f=-1/0;for(r=0;r<i;++r)isNaN(a=+this._x.call(null,n=e[r]))||isNaN(o=+this._y.call(null,n))||(s[r]=a,c[r]=o,a<l&&(l=a),a>d&&(d=a),o<u&&(u=o),o>f&&(f=o));if(l>d||u>f)return this;for(this.cover(l,u).cover(d,f),r=0;r<i;++r)Fe(this,s[r],c[r],e[r]);return this}function Le(e,n){if(isNaN(e=+e)||isNaN(n=+n))return this;var r=this._x0,i=this._y0,a=this._x1,o=this._y1;if(isNaN(r))a=(r=Math.floor(e))+1,o=(i=Math.floor(n))+1;else{for(var s=a-r||1,c=this._root,l,u;r>e||e>=a||i>n||n>=o;)switch(u=(n<i)<<1|e<r,l=[,,,,],l[u]=c,c=l,s*=2,u){case 0:a=r+s,o=i+s;break;case 1:r=a-s,o=i+s;break;case 2:a=r+s,i=o-s;break;case 3:r=a-s,i=o-s;break}this._root&&this._root.length&&(this._root=c)}return this._x0=r,this._y0=i,this._x1=a,this._y1=o,this}function Re(){var e=[];return this.visit(function(n){if(!n.length)do e.push(n.data);while(n=n.next)}),e}function ze(e){return arguments.length?this.cover(+e[0][0],+e[0][1]).cover(+e[1][0],+e[1][1]):isNaN(this._x0)?void 0:[[this._x0,this._y0],[this._x1,this._y1]]}function F(e,n,r,i,a){this.node=e,this.x0=n,this.y0=r,this.x1=i,this.y1=a}function I(e,n,r){var i,a=this._x0,o=this._y0,s,c,l,u,d=this._x1,f=this._y1,p=[],m=this._root,h,g;for(m&&p.push(new F(m,a,o,d,f)),r==null?r=1/0:(a=e-r,o=n-r,d=e+r,f=n+r,r*=r);h=p.pop();)if(!(!(m=h.node)||(s=h.x0)>d||(c=h.y0)>f||(l=h.x1)<a||(u=h.y1)<o))if(m.length){var _=(s+l)/2,v=(c+u)/2;p.push(new F(m[3],_,v,l,u),new F(m[2],s,v,_,u),new F(m[1],_,c,l,v),new F(m[0],s,c,_,v)),(g=(n>=v)<<1|e>=_)&&(h=p[p.length-1],p[p.length-1]=p[p.length-1-g],p[p.length-1-g]=h)}else{var y=e-+this._x.call(null,m.data),b=n-+this._y.call(null,m.data),x=y*y+b*b;if(x<r){var S=Math.sqrt(r=x);a=e-S,o=n-S,d=e+S,f=n+S,i=m.data}}return i}function Be(e){if(isNaN(d=+this._x.call(null,e))||isNaN(f=+this._y.call(null,e)))return this;var n,r=this._root,i,a,o,s=this._x0,c=this._y0,l=this._x1,u=this._y1,d,f,p,m,h,g,_,v;if(!r)return this;if(r.length)for(;;){if((h=d>=(p=(s+l)/2))?s=p:l=p,(g=f>=(m=(c+u)/2))?c=m:u=m,n=r,!(r=r[_=g<<1|h]))return this;if(!r.length)break;(n[_+1&3]||n[_+2&3]||n[_+3&3])&&(i=n,v=_)}for(;r.data!==e;)if(a=r,!(r=r.next))return this;return(o=r.next)&&delete r.next,a?(o?a.next=o:delete a.next,this):n?(o?n[_]=o:delete n[_],(r=n[0]||n[1]||n[2]||n[3])&&r===(n[3]||n[2]||n[1]||n[0])&&!r.length&&(i?i[v]=r:this._root=r),this):(this._root=o,this)}function Ve(e){for(var n=0,r=e.length;n<r;++n)this.remove(e[n]);return this}function He(){return this._root}function L(){var e=0;return this.visit(function(n){if(!n.length)do++e;while(n=n.next)}),e}function Ue(e){var n=[],r,i=this._root,a,o,s,c,l;for(i&&n.push(new F(i,this._x0,this._y0,this._x1,this._y1));r=n.pop();)if(!e(i=r.node,o=r.x0,s=r.y0,c=r.x1,l=r.y1)&&i.length){var u=(o+c)/2,d=(s+l)/2;(a=i[3])&&n.push(new F(a,u,d,c,l)),(a=i[2])&&n.push(new F(a,o,d,u,l)),(a=i[1])&&n.push(new F(a,u,s,c,d)),(a=i[0])&&n.push(new F(a,o,s,u,d))}return this}function We(e){var n=[],r=[],i;for(this._root&&n.push(new F(this._root,this._x0,this._y0,this._x1,this._y1));i=n.pop();){var a=i.node;if(a.length){var o,s=i.x0,c=i.y0,l=i.x1,u=i.y1,d=(s+l)/2,f=(c+u)/2;(o=a[0])&&n.push(new F(o,s,c,d,f)),(o=a[1])&&n.push(new F(o,d,c,l,f)),(o=a[2])&&n.push(new F(o,s,f,d,u)),(o=a[3])&&n.push(new F(o,d,f,l,u))}r.push(i)}for(;i=r.pop();)e(i.node,i.x0,i.y0,i.x1,i.y1);return this}function Ge(e){return e[0]}function Ke(e){return arguments.length?(this._x=e,this):this._x}function R(e){return e[1]}function qe(e){return arguments.length?(this._y=e,this):this._y}function z(e,n,r){var i=new Je(n??Ge,r??R,NaN,NaN,NaN,NaN);return e==null?i:i.addAll(e)}function Je(e,n,r,i,a,o){this._x=e,this._y=n,this._x0=r,this._y0=i,this._x1=a,this._y1=o,this._root=void 0}function Ye(e){for(var n={data:e.data},r=n;e=e.next;)r=r.next={data:e.data};return n}var B=z.prototype=Je.prototype;B.copy=function(){var e=new Je(this._x,this._y,this._x0,this._y0,this._x1,this._y1),n=this._root,r,i;if(!n)return e;if(!n.length)return e._root=Ye(n),e;for(r=[{source:n,target:e._root=[,,,,]}];n=r.pop();)for(var a=0;a<4;++a)(i=n.source[a])&&(i.length?r.push({source:i,target:n.target[a]=[,,,,]}):n.target[a]=Ye(i));return e},B.add=Pe,B.addAll=Ie,B.cover=Le,B.data=Re,B.extent=ze,B.find=I,B.remove=Be,B.removeAll=Ve,B.root=He,B.size=L,B.visit=Ue,B.visitAfter=We,B.x=Ke,B.y=qe;var Xe=j(`a6cee31f78b4b2df8a33a02cfb9a99e31a1cfdbf6fff7f00cab2d66a3d9affff99b15928`),V=i(),H=e(n(),1),Ze=o(),Qe=`Expected a function`,$e=Math.max,et=Math.min;function tt(e,n,r){var i,a,o,s,c,l,u=0,d=!1,f=!1,p=!0;if(typeof e!=`function`)throw TypeError(Qe);n=M(n)||0,O(r)&&(d=!!r.leading,f=`maxWait`in r,o=f?$e(M(r.maxWait)||0,n):o,p=`trailing`in r?!!r.trailing:p);function m(n){var r=i,o=a;return i=a=void 0,u=n,s=e.apply(o,r),s}function h(e){return u=e,c=setTimeout(v,n),d?m(e):s}function g(e){var r=e-l,i=e-u,a=n-r;return f?et(a,o-i):a}function _(e){var r=e-l,i=e-u;return l===void 0||r>=n||r<0||f&&i>=o}function v(){var e=N();if(_(e))return y(e);c=setTimeout(v,g(e))}function y(e){return c=void 0,p&&i?m(e):(i=a=void 0,s)}function b(){c!==void 0&&clearTimeout(c),u=0,i=l=a=c=void 0}function x(){return c===void 0?s:y(N())}function S(){var e=N(),r=_(e);if(i=arguments,a=this,l=e,r){if(c===void 0)return h(l);if(f)return clearTimeout(c),c=setTimeout(v,n),m(l)}return c===void 0&&(c=setTimeout(v,n)),s}return S.cancel=b,S.flush=x,S}var nt=`Expected a function`;function rt(e,n,r){var i=!0,a=!0;if(typeof e!=`function`)throw TypeError(nt);return O(r)&&(i=`leading`in r?!!r.leading:i,a=`trailing`in r?!!r.trailing:a),tt(e,n,{leading:i,maxWait:n,trailing:a})}var it=[`#60a5fa`,`#a78bfa`,`#34d399`,`#f472b6`,`#fb923c`,`#22d3ee`,`#c084fc`,`#4ade80`,`#f87171`,`#eab308`,`#ec4899`,`#06b67f`,`#8b5cf6`,`#f43f5e`,`#0ea5e9`,`#a855f7`],at=[`#1e40af`,`#6b21a8`,`#166534`,`#9f1239`,`#9a3412`,`#164e63`,`#581c87`,`#166534`,`#991b1b`,`#854d0e`,`#831843`,`#0f766e`,`#312e81`,`#9f1239`,`#0c4a6e`,`#6b21a8`];function ot(e){let n=2;for(let r=0;r<e.length;r++)n=Math.imul(n^e.charCodeAt(r),1540483477),n^=n>>>13,n=Math.imul(n,1540483477),n^=n>>>15;return n>>>0}function st(e,n){let r=n?it:at;return r[ot(e)%r.length]}var ct={fullscreen:{maxEntries:10,containerClassName:`bottom-3 left-3 gap-1 rounded-lg px-3 py-2 text-xs`,titleClassName:`mb-1.5`,rowClassName:`gap-2`,swatchClassName:`size-2.5`,labelClassName:`max-w-[140px]`,overflowClassName:`pl-[18px]`},docked:{maxEntries:6,containerClassName:`bottom-2 left-2 gap-0.5 rounded-md px-2 py-1.5 text-[11px]`,titleClassName:`mb-1`,rowClassName:`gap-1.5`,swatchClassName:`size-2`,labelClassName:`max-w-[112px]`,overflowClassName:`pl-[14px]`}};function lt(e){return ct[e]}function ut(e){let n=(0,Ze.c)(6),{clusters:r,variant:i}=e,o=i===void 0?`fullscreen`:i,{resolvedTheme:s}=D(),c=s===`dark`,l,u;if(n[0]!==r||n[1]!==c||n[2]!==o){u=Symbol.for(`react.early_return_sentinel`);bb0:{let e=lt(o);if(r.length===0){u=null;break bb0}let i=r.slice(0,e.maxEntries),s=r.length-i.length,d;n[5]===Symbol.for(`react.memo_cache_sentinel`)?(d=(0,V.jsx)(a,{id:`kmKqZg`}),n[5]=d):d=n[5],l=(0,V.jsxs)(`div`,{className:oe(`pointer-events-none absolute z-10 flex flex-col backdrop-blur-sm`,e.containerClassName,c?`bg-black/70 text-gray-200`:`bg-white/80 text-gray-800 ring-1 ring-black/5`),children:[(0,V.jsx)(`div`,{className:oe(`font-medium`,e.titleClassName,c?`text-slate-300`:`text-slate-700`),children:d}),i.map(n=>(0,V.jsxs)(`div`,{className:oe(`flex items-center`,e.rowClassName),children:[(0,V.jsx)(`span`,{className:oe(`inline-block shrink-0 rounded-full`,e.swatchClassName),style:{backgroundColor:st(n,c)}}),(0,V.jsx)(`span`,{className:oe(`truncate`,e.labelClassName),children:n})]},n)),s>0&&(0,V.jsx)(`div`,{className:oe(`text-muted-foreground`,e.overflowClassName),children:(0,V.jsx)(a,{id:`lrhetp`,values:{overflow:s}})})]})}n[0]=r,n[1]=c,n[2]=o,n[3]=l,n[4]=u}else l=n[3],u=n[4];return u===Symbol.for(`react.early_return_sentinel`)?l:u}function dt(e,n){var r=e==null?null:typeof Symbol<`u`&&e[Symbol.iterator]||e[`@@iterator`];if(r!=null){var i,a,o,s,c=[],l=!0,u=!1;try{if(o=(r=r.call(e)).next,n===0){if(Object(r)!==r)return;l=!1}else for(;!(l=(i=o.call(r)).done)&&(c.push(i.value),c.length!==n);l=!0);}catch(e){u=!0,a=e}finally{try{if(!l&&r.return!=null&&(s=r.return(),Object(s)!==s))return}finally{if(u)throw a}}return c}}function ft(e,n,r){return n=Ct(n),n in e?Object.defineProperty(e,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[n]=r,e}function pt(e,n){return gt(e)||dt(e,n)||vt(e,n)||xt()}function mt(e){return ht(e)||_t(e)||vt(e)||bt()}function ht(e){if(Array.isArray(e))return yt(e)}function gt(e){if(Array.isArray(e))return e}function _t(e){if(typeof Symbol<`u`&&e[Symbol.iterator]!=null||e[`@@iterator`]!=null)return Array.from(e)}function vt(e,n){if(e){if(typeof e==`string`)return yt(e,n);var r=Object.prototype.toString.call(e).slice(8,-1);if(r===`Object`&&e.constructor&&(r=e.constructor.name),r===`Map`||r===`Set`)return Array.from(e);if(r===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return yt(e,n)}}function yt(e,n){(n==null||n>e.length)&&(n=e.length);for(var r=0,i=Array(n);r<n;r++)i[r]=e[r];return i}function bt(){throw TypeError(`Invalid attempt to spread non-iterable instance.
|
|
1
|
+
import{o as e}from"./chunk-CFjPhJqf.js";import{a as n,i as r,o as i,r as a,t as o}from"./compiler-runtime-Cs91PcD2.js";import{a as s,c,i as l,n as u,o as d,r as f,s as p,t as m}from"./panel-BNBODYwB.js";import{$i as h,Bt as g,Dr as _,I as v,Kt as y,L as b,N as x,Qi as S,Xt as C,Yt as w,Zi as T,_ as E,ea as ee,i as te,na as D,nn as ne,t as re,z as ie}from"./prop-types-DfshR72P.js";import{C as ae,S as oe,t as se}from"./button-DenIdY-r.js";import{i as ce,n as le,t as ue}from"./toggle-group-Cs-1L92l.js";import{t as de}from"./target-navigation-intent-o4RtIHjG.js";import{n as O}from"./isObjectLike-DFnkciUU.js";import{t as fe}from"./ordinal-BLFwWMHf.js";import{n as pe,t as me}from"./min-BiwsSkbB.js";import{C as he,S as ge,_ as _e,b as k,g as ve,n as A,r as ye,t as be,v as xe,w as Se,x as Ce,y as we}from"./src-L3wpjxBL.js";import{t as j}from"./colors-D6LRuSY-.js";import{n as M,t as N}from"./now-D_m-3Vjm.js";var Te=ae(`maximize-2`,[[`path`,{d:`M15 3h6v6`,key:`1q9fwt`}],[`path`,{d:`m21 3-7 7`,key:`1l2asr`}],[`path`,{d:`m3 21 7-7`,key:`tjx5ai`}],[`path`,{d:`M9 21H3v-6`,key:`wtvkvv`}]]),Ee=ae(`minimize-2`,[[`path`,{d:`m14 10 7-7`,key:`oa77jy`}],[`path`,{d:`M20 10h-6V4`,key:`mjg0md`}],[`path`,{d:`m3 21 7-7`,key:`tjx5ai`}],[`path`,{d:`M4 14h6v6`,key:`rmj7iw`}]]);function De(e,n){let r=0;if(n===void 0)for(let n of e)(n=+n)&&(r+=n);else{let i=-1;for(let a of e)(a=+n(a,++i,e))&&(r+=a)}return r}var Oe=e=>()=>e;function ke(e,{sourceEvent:n,subject:r,target:i,identifier:a,active:o,x:s,y:c,dx:l,dy:u,dispatch:d}){Object.defineProperties(this,{type:{value:e,enumerable:!0,configurable:!0},sourceEvent:{value:n,enumerable:!0,configurable:!0},subject:{value:r,enumerable:!0,configurable:!0},target:{value:i,enumerable:!0,configurable:!0},identifier:{value:a,enumerable:!0,configurable:!0},active:{value:o,enumerable:!0,configurable:!0},x:{value:s,enumerable:!0,configurable:!0},y:{value:c,enumerable:!0,configurable:!0},dx:{value:l,enumerable:!0,configurable:!0},dy:{value:u,enumerable:!0,configurable:!0},_:{value:d}})}ke.prototype.on=function(){var e=this._.on.apply(this._,arguments);return e===this._?this:e};function P(e){return!e.ctrlKey&&!e.button}function Ae(){return this.parentNode}function je(e,n){return n??{x:e.x,y:e.y}}function Me(){return navigator.maxTouchPoints||`ontouchstart`in this}function Ne(){var e=P,n=Ae,r=je,i=Me,a={},o=Se(`start`,`drag`,`end`),s=0,c,l,u,d,f=0;function p(e){e.on(`mousedown.drag`,m).filter(i).on(`touchstart.drag`,_).on(`touchmove.drag`,v,we).on(`touchend.drag touchcancel.drag`,y).style(`touch-action`,`none`).style(`-webkit-tap-highlight-color`,`rgba(0,0,0,0)`)}function m(r,i){if(!(d||!e.call(this,r,i))){var a=b(this,n.call(this,r,i),r,i,`mouse`);a&&(he(r.view).on(`mousemove.drag`,h,k).on(`mouseup.drag`,g,k),ve(r.view),Ce(r),u=!1,c=r.clientX,l=r.clientY,a(`start`,r))}}function h(e){if(xe(e),!u){var n=e.clientX-c,r=e.clientY-l;u=n*n+r*r>f}a.mouse(`drag`,e)}function g(e){he(e.view).on(`mousemove.drag mouseup.drag`,null),_e(e.view,u),xe(e),a.mouse(`end`,e)}function _(r,i){if(e.call(this,r,i)){var a=r.changedTouches,o=n.call(this,r,i),s=a.length,c,l;for(c=0;c<s;++c)(l=b(this,o,r,i,a[c].identifier,a[c]))&&(Ce(r),l(`start`,r,a[c]))}}function v(e){var n=e.changedTouches,r=n.length,i,o;for(i=0;i<r;++i)(o=a[n[i].identifier])&&(xe(e),o(`drag`,e,n[i]))}function y(e){var n=e.changedTouches,r=n.length,i,o;for(d&&clearTimeout(d),d=setTimeout(function(){d=null},500),i=0;i<r;++i)(o=a[n[i].identifier])&&(Ce(e),o(`end`,e,n[i]))}function b(e,n,i,c,l,u){var d=o.copy(),f=ge(u||i,n),m,h,g;if((g=r.call(e,new ke(`beforestart`,{sourceEvent:i,target:p,identifier:l,active:s,x:f[0],y:f[1],dx:0,dy:0,dispatch:d}),c))!=null)return m=g.x-f[0]||0,h=g.y-f[1]||0,function r(i,o,u){var _=f,v;switch(i){case`start`:a[l]=r,v=s++;break;case`end`:delete a[l],--s;case`drag`:f=ge(u||o,n),v=s;break}d.call(i,e,new ke(i,{sourceEvent:o,subject:g,target:p,identifier:l,active:v,x:f[0]+m,y:f[1]+h,dx:f[0]-_[0],dy:f[1]-_[1],dispatch:d}),c)}}return p.filter=function(n){return arguments.length?(e=typeof n==`function`?n:Oe(!!n),p):e},p.container=function(e){return arguments.length?(n=typeof e==`function`?e:Oe(e),p):n},p.subject=function(e){return arguments.length?(r=typeof e==`function`?e:Oe(e),p):r},p.touchable=function(e){return arguments.length?(i=typeof e==`function`?e:Oe(!!e),p):i},p.on=function(){var e=o.on.apply(o,arguments);return e===o?p:e},p.clickDistance=function(e){return arguments.length?(f=(e=+e)*e,p):Math.sqrt(f)},p}function Pe(e){let n=+this._x.call(null,e),r=+this._y.call(null,e);return Fe(this.cover(n,r),n,r,e)}function Fe(e,n,r,i){if(isNaN(n)||isNaN(r))return e;var a,o=e._root,s={data:i},c=e._x0,l=e._y0,u=e._x1,d=e._y1,f,p,m,h,g,_,v,y;if(!o)return e._root=s,e;for(;o.length;)if((g=n>=(f=(c+u)/2))?c=f:u=f,(_=r>=(p=(l+d)/2))?l=p:d=p,a=o,!(o=o[v=_<<1|g]))return a[v]=s,e;if(m=+e._x.call(null,o.data),h=+e._y.call(null,o.data),n===m&&r===h)return s.next=o,a?a[v]=s:e._root=s,e;do a=a?a[v]=[,,,,]:e._root=[,,,,],(g=n>=(f=(c+u)/2))?c=f:u=f,(_=r>=(p=(l+d)/2))?l=p:d=p;while((v=_<<1|g)==(y=(h>=p)<<1|m>=f));return a[y]=o,a[v]=s,e}function Ie(e){var n,r,i=e.length,a,o,s=Array(i),c=Array(i),l=1/0,u=1/0,d=-1/0,f=-1/0;for(r=0;r<i;++r)isNaN(a=+this._x.call(null,n=e[r]))||isNaN(o=+this._y.call(null,n))||(s[r]=a,c[r]=o,a<l&&(l=a),a>d&&(d=a),o<u&&(u=o),o>f&&(f=o));if(l>d||u>f)return this;for(this.cover(l,u).cover(d,f),r=0;r<i;++r)Fe(this,s[r],c[r],e[r]);return this}function Le(e,n){if(isNaN(e=+e)||isNaN(n=+n))return this;var r=this._x0,i=this._y0,a=this._x1,o=this._y1;if(isNaN(r))a=(r=Math.floor(e))+1,o=(i=Math.floor(n))+1;else{for(var s=a-r||1,c=this._root,l,u;r>e||e>=a||i>n||n>=o;)switch(u=(n<i)<<1|e<r,l=[,,,,],l[u]=c,c=l,s*=2,u){case 0:a=r+s,o=i+s;break;case 1:r=a-s,o=i+s;break;case 2:a=r+s,i=o-s;break;case 3:r=a-s,i=o-s;break}this._root&&this._root.length&&(this._root=c)}return this._x0=r,this._y0=i,this._x1=a,this._y1=o,this}function Re(){var e=[];return this.visit(function(n){if(!n.length)do e.push(n.data);while(n=n.next)}),e}function ze(e){return arguments.length?this.cover(+e[0][0],+e[0][1]).cover(+e[1][0],+e[1][1]):isNaN(this._x0)?void 0:[[this._x0,this._y0],[this._x1,this._y1]]}function F(e,n,r,i,a){this.node=e,this.x0=n,this.y0=r,this.x1=i,this.y1=a}function I(e,n,r){var i,a=this._x0,o=this._y0,s,c,l,u,d=this._x1,f=this._y1,p=[],m=this._root,h,g;for(m&&p.push(new F(m,a,o,d,f)),r==null?r=1/0:(a=e-r,o=n-r,d=e+r,f=n+r,r*=r);h=p.pop();)if(!(!(m=h.node)||(s=h.x0)>d||(c=h.y0)>f||(l=h.x1)<a||(u=h.y1)<o))if(m.length){var _=(s+l)/2,v=(c+u)/2;p.push(new F(m[3],_,v,l,u),new F(m[2],s,v,_,u),new F(m[1],_,c,l,v),new F(m[0],s,c,_,v)),(g=(n>=v)<<1|e>=_)&&(h=p[p.length-1],p[p.length-1]=p[p.length-1-g],p[p.length-1-g]=h)}else{var y=e-+this._x.call(null,m.data),b=n-+this._y.call(null,m.data),x=y*y+b*b;if(x<r){var S=Math.sqrt(r=x);a=e-S,o=n-S,d=e+S,f=n+S,i=m.data}}return i}function Be(e){if(isNaN(d=+this._x.call(null,e))||isNaN(f=+this._y.call(null,e)))return this;var n,r=this._root,i,a,o,s=this._x0,c=this._y0,l=this._x1,u=this._y1,d,f,p,m,h,g,_,v;if(!r)return this;if(r.length)for(;;){if((h=d>=(p=(s+l)/2))?s=p:l=p,(g=f>=(m=(c+u)/2))?c=m:u=m,n=r,!(r=r[_=g<<1|h]))return this;if(!r.length)break;(n[_+1&3]||n[_+2&3]||n[_+3&3])&&(i=n,v=_)}for(;r.data!==e;)if(a=r,!(r=r.next))return this;return(o=r.next)&&delete r.next,a?(o?a.next=o:delete a.next,this):n?(o?n[_]=o:delete n[_],(r=n[0]||n[1]||n[2]||n[3])&&r===(n[3]||n[2]||n[1]||n[0])&&!r.length&&(i?i[v]=r:this._root=r),this):(this._root=o,this)}function Ve(e){for(var n=0,r=e.length;n<r;++n)this.remove(e[n]);return this}function He(){return this._root}function L(){var e=0;return this.visit(function(n){if(!n.length)do++e;while(n=n.next)}),e}function Ue(e){var n=[],r,i=this._root,a,o,s,c,l;for(i&&n.push(new F(i,this._x0,this._y0,this._x1,this._y1));r=n.pop();)if(!e(i=r.node,o=r.x0,s=r.y0,c=r.x1,l=r.y1)&&i.length){var u=(o+c)/2,d=(s+l)/2;(a=i[3])&&n.push(new F(a,u,d,c,l)),(a=i[2])&&n.push(new F(a,o,d,u,l)),(a=i[1])&&n.push(new F(a,u,s,c,d)),(a=i[0])&&n.push(new F(a,o,s,u,d))}return this}function We(e){var n=[],r=[],i;for(this._root&&n.push(new F(this._root,this._x0,this._y0,this._x1,this._y1));i=n.pop();){var a=i.node;if(a.length){var o,s=i.x0,c=i.y0,l=i.x1,u=i.y1,d=(s+l)/2,f=(c+u)/2;(o=a[0])&&n.push(new F(o,s,c,d,f)),(o=a[1])&&n.push(new F(o,d,c,l,f)),(o=a[2])&&n.push(new F(o,s,f,d,u)),(o=a[3])&&n.push(new F(o,d,f,l,u))}r.push(i)}for(;i=r.pop();)e(i.node,i.x0,i.y0,i.x1,i.y1);return this}function Ge(e){return e[0]}function Ke(e){return arguments.length?(this._x=e,this):this._x}function R(e){return e[1]}function qe(e){return arguments.length?(this._y=e,this):this._y}function z(e,n,r){var i=new Je(n??Ge,r??R,NaN,NaN,NaN,NaN);return e==null?i:i.addAll(e)}function Je(e,n,r,i,a,o){this._x=e,this._y=n,this._x0=r,this._y0=i,this._x1=a,this._y1=o,this._root=void 0}function Ye(e){for(var n={data:e.data},r=n;e=e.next;)r=r.next={data:e.data};return n}var B=z.prototype=Je.prototype;B.copy=function(){var e=new Je(this._x,this._y,this._x0,this._y0,this._x1,this._y1),n=this._root,r,i;if(!n)return e;if(!n.length)return e._root=Ye(n),e;for(r=[{source:n,target:e._root=[,,,,]}];n=r.pop();)for(var a=0;a<4;++a)(i=n.source[a])&&(i.length?r.push({source:i,target:n.target[a]=[,,,,]}):n.target[a]=Ye(i));return e},B.add=Pe,B.addAll=Ie,B.cover=Le,B.data=Re,B.extent=ze,B.find=I,B.remove=Be,B.removeAll=Ve,B.root=He,B.size=L,B.visit=Ue,B.visitAfter=We,B.x=Ke,B.y=qe;var Xe=j(`a6cee31f78b4b2df8a33a02cfb9a99e31a1cfdbf6fff7f00cab2d66a3d9affff99b15928`),V=i(),H=e(n(),1),Ze=o(),Qe=`Expected a function`,$e=Math.max,et=Math.min;function tt(e,n,r){var i,a,o,s,c,l,u=0,d=!1,f=!1,p=!0;if(typeof e!=`function`)throw TypeError(Qe);n=M(n)||0,O(r)&&(d=!!r.leading,f=`maxWait`in r,o=f?$e(M(r.maxWait)||0,n):o,p=`trailing`in r?!!r.trailing:p);function m(n){var r=i,o=a;return i=a=void 0,u=n,s=e.apply(o,r),s}function h(e){return u=e,c=setTimeout(v,n),d?m(e):s}function g(e){var r=e-l,i=e-u,a=n-r;return f?et(a,o-i):a}function _(e){var r=e-l,i=e-u;return l===void 0||r>=n||r<0||f&&i>=o}function v(){var e=N();if(_(e))return y(e);c=setTimeout(v,g(e))}function y(e){return c=void 0,p&&i?m(e):(i=a=void 0,s)}function b(){c!==void 0&&clearTimeout(c),u=0,i=l=a=c=void 0}function x(){return c===void 0?s:y(N())}function S(){var e=N(),r=_(e);if(i=arguments,a=this,l=e,r){if(c===void 0)return h(l);if(f)return clearTimeout(c),c=setTimeout(v,n),m(l)}return c===void 0&&(c=setTimeout(v,n)),s}return S.cancel=b,S.flush=x,S}var nt=`Expected a function`;function rt(e,n,r){var i=!0,a=!0;if(typeof e!=`function`)throw TypeError(nt);return O(r)&&(i=`leading`in r?!!r.leading:i,a=`trailing`in r?!!r.trailing:a),tt(e,n,{leading:i,maxWait:n,trailing:a})}var it=[`#60a5fa`,`#a78bfa`,`#34d399`,`#f472b6`,`#fb923c`,`#22d3ee`,`#c084fc`,`#4ade80`,`#f87171`,`#eab308`,`#ec4899`,`#06b67f`,`#8b5cf6`,`#f43f5e`,`#0ea5e9`,`#a855f7`],at=[`#1e40af`,`#6b21a8`,`#166534`,`#9f1239`,`#9a3412`,`#164e63`,`#581c87`,`#166534`,`#991b1b`,`#854d0e`,`#831843`,`#0f766e`,`#312e81`,`#9f1239`,`#0c4a6e`,`#6b21a8`];function ot(e){let n=2;for(let r=0;r<e.length;r++)n=Math.imul(n^e.charCodeAt(r),1540483477),n^=n>>>13,n=Math.imul(n,1540483477),n^=n>>>15;return n>>>0}function st(e,n){let r=n?it:at;return r[ot(e)%r.length]}var ct={fullscreen:{maxEntries:10,containerClassName:`bottom-3 left-3 gap-1 rounded-lg px-3 py-2 text-xs`,titleClassName:`mb-1.5`,rowClassName:`gap-2`,swatchClassName:`size-2.5`,labelClassName:`max-w-[140px]`,overflowClassName:`pl-[18px]`},docked:{maxEntries:6,containerClassName:`bottom-2 left-2 gap-0.5 rounded-md px-2 py-1.5 text-[11px]`,titleClassName:`mb-1`,rowClassName:`gap-1.5`,swatchClassName:`size-2`,labelClassName:`max-w-[112px]`,overflowClassName:`pl-[14px]`}};function lt(e){return ct[e]}function ut(e){let n=(0,Ze.c)(6),{clusters:r,variant:i}=e,o=i===void 0?`fullscreen`:i,{resolvedTheme:s}=D(),c=s===`dark`,l,u;if(n[0]!==r||n[1]!==c||n[2]!==o){u=Symbol.for(`react.early_return_sentinel`);bb0:{let e=lt(o);if(r.length===0){u=null;break bb0}let i=r.slice(0,e.maxEntries),s=r.length-i.length,d;n[5]===Symbol.for(`react.memo_cache_sentinel`)?(d=(0,V.jsx)(a,{id:`kmKqZg`}),n[5]=d):d=n[5],l=(0,V.jsxs)(`div`,{className:oe(`pointer-events-none absolute z-10 flex flex-col backdrop-blur-sm`,e.containerClassName,c?`bg-black/70 text-gray-200`:`bg-white/80 text-gray-800 ring-1 ring-black/5`),children:[(0,V.jsx)(`div`,{className:oe(`font-medium`,e.titleClassName,c?`text-slate-300`:`text-slate-700`),children:d}),i.map(n=>(0,V.jsxs)(`div`,{className:oe(`flex items-center`,e.rowClassName),children:[(0,V.jsx)(`span`,{className:oe(`inline-block shrink-0 rounded-full`,e.swatchClassName),style:{backgroundColor:st(n,c)}}),(0,V.jsx)(`span`,{className:oe(`truncate`,e.labelClassName),children:n})]},n)),s>0&&(0,V.jsx)(`div`,{className:oe(`text-muted-foreground`,e.overflowClassName),children:(0,V.jsx)(a,{id:`lrhetp`,values:{overflow:s}})})]})}n[0]=r,n[1]=c,n[2]=o,n[3]=l,n[4]=u}else l=n[3],u=n[4];return u===Symbol.for(`react.early_return_sentinel`)?l:u}function dt(e,n){var r=e==null?null:typeof Symbol<`u`&&e[Symbol.iterator]||e[`@@iterator`];if(r!=null){var i,a,o,s,c=[],l=!0,u=!1;try{if(o=(r=r.call(e)).next,n===0){if(Object(r)!==r)return;l=!1}else for(;!(l=(i=o.call(r)).done)&&(c.push(i.value),c.length!==n);l=!0);}catch(e){u=!0,a=e}finally{try{if(!l&&r.return!=null&&(s=r.return(),Object(s)!==s))return}finally{if(u)throw a}}return c}}function ft(e,n,r){return n=Ct(n),n in e?Object.defineProperty(e,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[n]=r,e}function pt(e,n){return gt(e)||dt(e,n)||vt(e,n)||xt()}function mt(e){return ht(e)||_t(e)||vt(e)||bt()}function ht(e){if(Array.isArray(e))return yt(e)}function gt(e){if(Array.isArray(e))return e}function _t(e){if(typeof Symbol<`u`&&e[Symbol.iterator]!=null||e[`@@iterator`]!=null)return Array.from(e)}function vt(e,n){if(e){if(typeof e==`string`)return yt(e,n);var r=Object.prototype.toString.call(e).slice(8,-1);if(r===`Object`&&e.constructor&&(r=e.constructor.name),r===`Map`||r===`Set`)return Array.from(e);if(r===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return yt(e,n)}}function yt(e,n){(n==null||n>e.length)&&(n=e.length);for(var r=0,i=Array(n);r<n;r++)i[r]=e[r];return i}function bt(){throw TypeError(`Invalid attempt to spread non-iterable instance.
|
|
2
2
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function xt(){throw TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
3
3
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function St(e,n){if(typeof e!=`object`||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var i=r.call(e,n||`default`);if(typeof i!=`object`)return i;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(n===`string`?String:Number)(e)}function Ct(e){var n=St(e,`string`);return typeof n==`symbol`?n:String(n)}var wt=function(e,n){var r=new Set(n);return Object.assign.apply(Object,[{}].concat(mt(Object.entries(e).filter(function(e){var n=pt(e,1)[0];return!r.has(n)}).map(function(e){var n=pt(e,2),r=n[0],i=n[1];return ft({},r,i)}))))};function Tt(e,n){(n==null||n>e.length)&&(n=e.length);for(var r=0,i=Array(n);r<n;r++)i[r]=e[r];return i}function Et(e){if(Array.isArray(e))return e}function Dt(e){if(Array.isArray(e))return Tt(e)}function Ot(e){if(typeof Symbol<`u`&&e[Symbol.iterator]!=null||e[`@@iterator`]!=null)return Array.from(e)}function kt(e,n){var r=e==null?null:typeof Symbol<`u`&&e[Symbol.iterator]||e[`@@iterator`];if(r!=null){var i,a,o,s,c=[],l=!0,u=!1;try{if(o=(r=r.call(e)).next,n!==0)for(;!(l=(i=o.call(r)).done)&&(c.push(i.value),c.length!==n);l=!0);}catch(e){u=!0,a=e}finally{try{if(!l&&r.return!=null&&(s=r.return(),Object(s)!==s))return}finally{if(u)throw a}}return c}}function At(){throw TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
4
4
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function jt(){throw TypeError(`Invalid attempt to spread non-iterable instance.
|