dash-ant-design 0.1.0 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +135 -28
- package/dash_antd_components/async-audio-player.js +1 -0
- package/dash_antd_components/async-chart-ava.js +1 -0
- package/dash_antd_components/async-chart.js +1 -0
- package/dash_antd_components/async-data-entry.js +1 -0
- package/dash_antd_components/async-display.js +1 -1
- package/dash_antd_components/async-dnd-shared.js +1 -0
- package/dash_antd_components/async-dnd.js +1 -1
- package/dash_antd_components/async-feedback.js +1 -1
- package/dash_antd_components/async-form-upload.js +1 -0
- package/dash_antd_components/async-highlight-shared.js +1 -0
- package/dash_antd_components/async-highlight.js +1 -0
- package/dash_antd_components/async-icon-filled.js +1 -0
- package/dash_antd_components/async-icon-outlined.js +1 -0
- package/dash_antd_components/async-icon-twotone.js +1 -0
- package/dash_antd_components/async-infographic.js +1 -1
- package/dash_antd_components/async-locale-ar.js +1 -0
- package/dash_antd_components/async-locale-az.js +1 -0
- package/dash_antd_components/async-locale-bg.js +1 -0
- package/dash_antd_components/async-locale-bn.js +1 -0
- package/dash_antd_components/async-locale-by.js +1 -0
- package/dash_antd_components/async-locale-ca.js +1 -0
- package/dash_antd_components/async-locale-cs.js +1 -0
- package/dash_antd_components/async-locale-da.js +1 -0
- package/dash_antd_components/async-locale-de.js +1 -0
- package/dash_antd_components/async-locale-el.js +1 -0
- package/dash_antd_components/async-locale-en.js +1 -0
- package/dash_antd_components/async-locale-es.js +1 -0
- package/dash_antd_components/async-locale-et.js +1 -0
- package/dash_antd_components/async-locale-eu.js +1 -0
- package/dash_antd_components/async-locale-fa.js +1 -0
- package/dash_antd_components/async-locale-fi.js +1 -0
- package/dash_antd_components/async-locale-fr.js +1 -0
- package/dash_antd_components/async-locale-ga.js +1 -0
- package/dash_antd_components/async-locale-gl.js +1 -0
- package/dash_antd_components/async-locale-he.js +1 -0
- package/dash_antd_components/async-locale-hi.js +1 -0
- package/dash_antd_components/async-locale-hr.js +1 -0
- package/dash_antd_components/async-locale-hu.js +1 -0
- package/dash_antd_components/async-locale-hy.js +1 -0
- package/dash_antd_components/async-locale-id.js +1 -0
- package/dash_antd_components/async-locale-is.js +1 -0
- package/dash_antd_components/async-locale-it.js +1 -0
- package/dash_antd_components/async-locale-ja.js +1 -0
- package/dash_antd_components/async-locale-ka.js +1 -0
- package/dash_antd_components/async-locale-kk.js +1 -0
- package/dash_antd_components/async-locale-km.js +1 -0
- package/dash_antd_components/async-locale-kmr.js +1 -0
- package/dash_antd_components/async-locale-kn.js +1 -0
- package/dash_antd_components/async-locale-ko.js +1 -0
- package/dash_antd_components/async-locale-ku.js +1 -0
- package/dash_antd_components/async-locale-lt.js +1 -0
- package/dash_antd_components/async-locale-lv.js +1 -0
- package/dash_antd_components/async-locale-mk.js +1 -0
- package/dash_antd_components/async-locale-ml.js +1 -0
- package/dash_antd_components/async-locale-mn.js +1 -0
- package/dash_antd_components/async-locale-mr.js +1 -0
- package/dash_antd_components/async-locale-ms.js +1 -0
- package/dash_antd_components/async-locale-my.js +1 -0
- package/dash_antd_components/async-locale-nb.js +1 -0
- package/dash_antd_components/async-locale-ne.js +1 -0
- package/dash_antd_components/async-locale-nl.js +1 -0
- package/dash_antd_components/async-locale-pl.js +1 -0
- package/dash_antd_components/async-locale-pt.js +1 -0
- package/dash_antd_components/async-locale-ro.js +1 -0
- package/dash_antd_components/async-locale-ru.js +1 -0
- package/dash_antd_components/async-locale-si.js +1 -0
- package/dash_antd_components/async-locale-sk.js +1 -0
- package/dash_antd_components/async-locale-sl.js +1 -0
- package/dash_antd_components/async-locale-sq.js +1 -0
- package/dash_antd_components/async-locale-sr.js +1 -0
- package/dash_antd_components/async-locale-sv.js +1 -0
- package/dash_antd_components/async-locale-ta.js +1 -0
- package/dash_antd_components/async-locale-th.js +1 -0
- package/dash_antd_components/async-locale-tk.js +1 -0
- package/dash_antd_components/async-locale-tr.js +1 -0
- package/dash_antd_components/async-locale-uk.js +1 -0
- package/dash_antd_components/async-locale-ur.js +1 -0
- package/dash_antd_components/async-locale-uz.js +1 -0
- package/dash_antd_components/async-locale-vi.js +1 -0
- package/dash_antd_components/async-locale-zh.js +1 -0
- package/dash_antd_components/async-lottie.js +1 -0
- package/dash_antd_components/async-markdown.js +1 -1
- package/dash_antd_components/async-media-shared.js +1 -0
- package/dash_antd_components/async-media.js +1 -1
- package/dash_antd_components/async-navigation.js +1 -0
- package/dash_antd_components/async-picker.js +1 -1
- package/dash_antd_components/async-select.js +1 -1
- package/dash_antd_components/async-sheet.js +1 -0
- package/dash_antd_components/async-socket-io.js +1 -0
- package/dash_antd_components/async-table.js +1 -1
- package/dash_antd_components/async-tree.js +1 -1
- package/dash_antd_components/async-video-dash.js +1 -0
- package/dash_antd_components/async-video-hls.js +1 -0
- package/dash_antd_components/async-video-player.js +1 -0
- package/dash_antd_components/async-viz-canvas-shared.js +1 -0
- package/dash_antd_components/async-viz-shared.js +1 -0
- package/dash_antd_components/dash_antd_components.js +1 -1
- package/package.json +43 -44
- package/dash_antd_components/async-anchor.js +0 -1
- package/dash_antd_components/async-breadcrumb.js +0 -1
- package/dash_antd_components/async-cascader.js +0 -1
- package/dash_antd_components/async-controls.js +0 -1
- package/dash_antd_components/async-count.js +0 -1
- package/dash_antd_components/async-echarts.js +0 -1
- package/dash_antd_components/async-filled-icon.js +0 -1
- package/dash_antd_components/async-floating.js +0 -1
- package/dash_antd_components/async-form.js +0 -1
- package/dash_antd_components/async-g2.js +0 -1
- package/dash_antd_components/async-input.js +0 -1
- package/dash_antd_components/async-layout.js +0 -1
- package/dash_antd_components/async-locale.js +0 -1
- package/dash_antd_components/async-lunar-calendar.js +0 -1
- package/dash_antd_components/async-mentions.js +0 -1
- package/dash_antd_components/async-menu.js +0 -1
- package/dash_antd_components/async-outlined-icon.js +0 -1
- package/dash_antd_components/async-overlay.js +0 -1
- package/dash_antd_components/async-pagination.js +0 -1
- package/dash_antd_components/async-prism.js +0 -1
- package/dash_antd_components/async-s2.js +0 -1
- package/dash_antd_components/async-steps.js +0 -1
- package/dash_antd_components/async-tabs.js +0 -1
- package/dash_antd_components/async-transfer.js +0 -1
- package/dash_antd_components/async-twotone-icon.js +0 -1
- package/dash_antd_components/async-upload.js +0 -1
- package/dash_antd_components/proptypes.js +0 -5051
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunkdash_antd_components=self.webpackChunkdash_antd_components||[]).push([["async-dnd-shared"],{"./node_modules/.pnpm/@dnd-kit+abstract@0.5.1/node_modules/@dnd-kit/abstract/index.js"(e,t,n){n.d(t,{$A:()=>et,Bp:()=>Ue,Zm:()=>tt,_l:()=>nt,cD:()=>L,e6:()=>kt,gL:()=>Re,k_:()=>F,pT:()=>St,rV:()=>Y,sx:()=>We,ti:()=>_t,yu:()=>H,zY:()=>Be});var r,i,s,o,a=n("./node_modules/.pnpm/@dnd-kit+state@0.5.1/node_modules/@dnd-kit/state/dist/index.mjs"),l=n("./node_modules/.pnpm/@preact+signals-core@1.14.4/node_modules/@preact/signals-core/dist/signals-core.module.js"),c=n("./node_modules/.pnpm/@dnd-kit+geometry@0.5.1/node_modules/@dnd-kit/geometry/dist/index.mjs"),d=Object.create,u=Object.defineProperty,h=Object.defineProperties,p=Object.getOwnPropertyDescriptor,f=Object.getOwnPropertyDescriptors,g=Object.getOwnPropertySymbols,m=Object.prototype.hasOwnProperty,v=Object.prototype.propertyIsEnumerable,y=(e,t)=>(t=Symbol[e])?t:Symbol.for("Symbol."+e),b=e=>{throw TypeError(e)},w=(e,t,n)=>t in e?u(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,x=(e,t)=>{for(var n in t||(t={}))m.call(t,n)&&w(e,n,t[n]);if(g)for(var n of g(t))v.call(t,n)&&w(e,n,t[n]);return e},k=(e,t)=>h(e,f(t)),O=(e,t)=>u(e,"name",{value:t,configurable:!0}),E=(e,t)=>{var n={};for(var r in e)m.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&g)for(var r of g(e))t.indexOf(r)<0&&v.call(e,r)&&(n[r]=e[r]);return n},M=e=>{var t;return[,,,d(null!=(t=null==e?void 0:e[y("metadata")])?t:null)]},S=["class","method","getter","setter","accessor","field","value","get","set"],_=e=>void 0!==e&&"function"!=typeof e?b("Function expected"):e,D=(e,t,n,r,i)=>({kind:S[e],name:t,metadata:r,addInitializer:e=>n._?b("Already initialized"):i.push(_(e||null))}),C=(e,t)=>w(t,y("metadata"),e[3]),A=(e,t,n,r)=>{for(var i=0,s=e[t>>1],o=s&&s.length;i<o;i++)1&t?s[i].call(n):r=s[i].call(n,r);return r},P=(e,t,n,r,i,s)=>{var o,a,l,c,d,h=7&t,f=!!(8&t),g=!!(16&t),m=h>3?e.length+1:h?f?1:2:0,v=S[h+5],y=h>3&&(e[m-1]=[]),w=e[m]||(e[m]=[]),x=h&&(!g&&!f&&(i=i.prototype),h<5&&(h>3||!g)&&p(h<4?i:{get[n](){return R(this,s)},set[n](e){return I(this,s,e)}},n));h?g&&h<4&&O(s,(h>2?"set ":h>1?"get ":"")+n):O(i,n);for(var k=r.length-1;k>=0;k--)c=D(h,n,l={},e[3],w),h&&(c.static=f,c.private=g,d=c.access={has:g?e=>W(i,e):e=>n in e},3^h&&(d.get=g?e=>(1^h?R:$)(e,i,4^h?s:x.get):e=>e[n]),h>2&&(d.set=g?(e,t)=>I(e,i,t,4^h?s:x.set):(e,t)=>e[n]=t)),a=(0,r[k])(h?h<4?g?s:x[v]:h>4?void 0:{get:x.get,set:x.set}:i,c),l._=1,4^h||void 0===a?_(a)&&(h>4?y.unshift(a):h?g?s=a:x[v]=a:i=a):"object"!=typeof a||null===a?b("Object expected"):(_(o=a.get)&&(x.get=o),_(o=a.set)&&(x.set=o),_(o=a.init)&&y.unshift(o));return h||C(e,i),x&&u(i,n,x),g?4^h?s:x:i},j=(e,t,n)=>t.has(e)||b("Cannot "+n),W=(e,t)=>Object(t)!==t?b('Cannot use the "in" operator on this value'):e.has(t),R=(e,t,n)=>(j(e,t,"read from private field"),n?n.call(e):t.get(e)),T=(e,t,n)=>t.has(e)?b("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),I=(e,t,n,r)=>(j(e,t,"write to private field"),r?r.call(e,n):t.set(e,n),n),$=(e,t,n)=>(j(e,t,"access private method"),n);function z(e,t){return{plugin:e,options:t}}function L(e){return t=>z(e,t)}function H(e){return"function"==typeof e?{plugin:e,options:void 0}:e}r=[a.Kh];var F=class{constructor(e,t){this.manager=e,this.options=t,T(this,s,A(i,8,this,!1)),A(i,11,this),T(this,o,new Set)}enable(){this.disabled=!1}disable(){this.disabled=!0}isDisabled(){return(0,l.O8)(()=>this.disabled)}configure(e){this.options=e}registerEffect(e){const t=(0,l.QZ)(e.bind(this));return R(this,o).add(t),t}destroy(){R(this,o).forEach(e=>e())}static configure(e){return z(this,e)}};i=M(null),s=new WeakMap,o=new WeakMap,P(i,4,"disabled",r,F,s),C(i,F);var N,Y=class extends F{},K=class{constructor(e){this.manager=e,this.instances=new Map,T(this,N,[])}get values(){return Array.from(this.instances.values())}set values(e){const t=e.map(H).reduce((e,t)=>{const n=e.find(({plugin:e})=>e===t.plugin);return n?(n.options=t.options,e):[...e,t]},[]),n=t.map(({plugin:e})=>e);for(const e of R(this,N))if(!n.includes(e)){if(e.prototype instanceof Y)continue;this.unregister(e)}for(const{plugin:e,options:n}of t)this.register(e,n);I(this,N,n)}get(e){return this.instances.get(e)}register(e,t){const n=this.instances.get(e);if(n)return n.options!==t&&(n.options=t),n;const r=new e(this.manager,t);return this.instances.set(e,r),r}unregister(e){const t=this.instances.get(e);t&&(t.destroy(),this.instances.delete(e))}destroy(){for(const e of this.instances.values())e.destroy();this.instances.clear()}};function q(e,t){return e.priority===t.priority?e.type===t.type?t.value-e.value:t.type-e.type:t.priority-e.priority}N=new WeakMap;var X,V,Z,B,U,G,Q,J,ee,te,ne,re,ie=[],se=class extends F{constructor(e){super(e),T(this,X),T(this,V),this.computeCollisions=this.computeCollisions.bind(this),I(this,V,(0,l.vP)(ie)),this.destroy=(0,a.zb)(()=>{const e=this.computeCollisions(),t=(0,l.O8)(()=>this.manager.dragOperation.position.current);if(e!==ie){const e=R(this,X);if(I(this,X,t),e&&t.x==e.x&&t.y==e.y)return}else I(this,X,void 0);R(this,V).value=e},()=>{const{dragOperation:e}=this.manager;e.status.initialized&&this.forceUpdate()})}forceUpdate(e=!0){(0,l.O8)(()=>{e?R(this,V).value=this.computeCollisions():I(this,X,void 0)})}computeCollisions(e,t){const{registry:n,dragOperation:r}=this.manager,{source:i,shape:s,status:o}=r;if(!o.initialized||!s)return ie;const a=[],c=[];for(const s of null!=e?e:n.droppables){if(s.disabled)continue;if(i&&!s.accepts(i))continue;const e=null!=t?t:s.collisionDetector;if(!e)continue;c.push(s);const n=(0,l.O8)(()=>e({droppable:s,dragOperation:r}));n&&(null!=s.collisionPriority&&(n.priority=s.collisionPriority),a.push(n))}return 0===c.length?ie:(a.sort(q),a)}get collisions(){return R(this,V).value}};X=new WeakMap,V=new WeakMap,U=[a.Kh],B=[a.Kh],Z=[a.Kh];var oe=class e{constructor(e,t){T(this,ee,A(J,8,this)),A(J,11,this),T(this,te),T(this,ne,A(J,12,this)),A(J,15,this),T(this,re,A(J,16,this)),A(J,19,this);const{effects:n,id:r,data:i={},disabled:s=!1,register:o=!0}=e;let a=r;I(this,te,(0,l.vP)(r)),this.manager=t,this.data=i,this.disabled=s,this.effects=()=>{var e;return[()=>{const{id:e,manager:t}=this;if(e!==a)return a=e,null==t||t.registry.register(this),()=>null==t?void 0:t.registry.unregister(this)},...null!=(e=null==n?void 0:n())?e:[]]},this.register=this.register.bind(this),this.unregister=this.unregister.bind(this),this.destroy=this.destroy.bind(this),t&&o&&queueMicrotask(this.register)}get id(){var t,n;const r=R(this,te).value;return null!=(n=null==(t=e.pendingIdChanges)?void 0:t.get(this))?n:r}set id(t){var n,r;t!==(null!=(r=null==(n=e.pendingIdChanges)?void 0:n.get(this))?r:R(this,te).peek())&&(e.pendingIdChanges||(e.pendingIdChanges=new Map,queueMicrotask(()=>{var t;return $(t=e,G,Q).call(t)})),e.pendingIdChanges.set(this,t))}register(){var e;return null==(e=this.manager)?void 0:e.registry.register(this)}unregister(){var e;null==(e=this.manager)||e.registry.unregister(this)}destroy(){var e;null==(e=this.manager)||e.registry.unregister(this)}};J=M(null),G=new WeakSet,Q=function(){const e=oe.pendingIdChanges;oe.pendingIdChanges=null,e&&(0,l.vA)(()=>{for(const[t,n]of e)R(t,te).value=n})},ee=new WeakMap,te=new WeakMap,ne=new WeakMap,re=new WeakMap,P(J,4,"manager",U,oe,ee),P(J,4,"data",B,oe,ne),P(J,4,"disabled",Z,oe,re),T(oe,G),C(J,oe),oe.pendingIdChanges=null;var ae,le,ce,de,ue,he,pe,fe,ge,me,ve,ye,be,we,xe,ke,Oe,Ee,Me,Se,_e,De,Ce,Ae,Pe=oe,je=class{constructor(){this.map=(0,l.vP)(new Map),this.cleanupFunctions=new WeakMap,this.register=(e,t)=>{const n=this.map.peek(),r=n.get(e),i=()=>this.unregister(e,t);if(r===t)return i;if(r&&r.id===e){const e=this.cleanupFunctions.get(r);null==e||e(),this.cleanupFunctions.delete(r)}const s=new Map(n);for(const[r,i]of n)if(i===t&&r!==e){s.delete(r);break}s.set(e,t),this.map.value=s;const o=(0,a.zb)(...t.effects());return this.cleanupFunctions.set(t,o),i},this.unregister=(e,t)=>{const n=this.map.peek();if(n.get(e)!==t)return;const r=this.cleanupFunctions.get(t);null==r||r(),this.cleanupFunctions.delete(t);const i=new Map(n);i.delete(e),this.map.value=i}}[Symbol.iterator](){return this.map.peek().values()}get value(){return this.map.value.values()}has(e){return this.map.value.has(e)}get(e){return this.map.value.get(e)}destroy(){for(const e of this){const t=this.cleanupFunctions.get(e);null==t||t(),e.destroy()}this.map.value=new Map}},We=class extends(pe=Pe,he=[a.Kh],ue=[a.Kh],de=[a.Kh],ce=[a.un],le=[a.un],ae=[a.un],pe){constructor(e,t){var n=e,{modifiers:r,type:i,sensors:s,plugins:o,effects:a}=n,l=E(n,["modifiers","type","sensors","plugins","effects"]);super(k(x({},l),{effects:()=>{var e;return[...null!=(e=null==a?void 0:a())?e:[],()=>{const{manager:e,plugins:t}=this;if(e&&t)for(const n of t){const{plugin:t}=H(n);e.registry.plugins.register(t)}}]}}),t),A(fe,5,this),T(this,ge,A(fe,8,this)),A(fe,11,this),T(this,me,A(fe,12,this)),A(fe,15,this),T(this,ve,A(fe,16,this,this.isDragSource?"dragging":"idle")),A(fe,19,this),this.type=i,this.sensors=s,this.modifiers=r,this.alignment=l.alignment,this.plugins=o}pluginConfig(e){if(this.plugins)for(const t of this.plugins){const n=H(t);if(n.plugin===e)return n.options}}get isDropping(){return"dropping"===this.status&&this.isDragSource}get isDragging(){return"dragging"===this.status&&this.isDragSource}get isDragSource(){var e,t;return(null==(t=null==(e=this.manager)?void 0:e.dragOperation.source)?void 0:t.id)===this.id}};fe=M(pe),ge=new WeakMap,me=new WeakMap,ve=new WeakMap,P(fe,4,"type",he,We,ge),P(fe,4,"modifiers",ue,We,me),P(fe,4,"status",de,We,ve),P(fe,2,"isDropping",ce,We),P(fe,2,"isDragging",le,We),P(fe,2,"isDragSource",ae,We),C(fe,We);var Re=class extends(Ee=Pe,Oe=[a.Kh],ke=[a.Kh],xe=[a.Kh],we=[a.Kh],be=[a.Kh],ye=[a.un],Ee){constructor(e,t){var n=e,{accept:r,collisionDetector:i,collisionPriority:s,type:o}=n;super(E(n,["accept","collisionDetector","collisionPriority","type"]),t),A(Me,5,this),T(this,Se,A(Me,8,this)),A(Me,11,this),T(this,_e,A(Me,12,this)),A(Me,15,this),T(this,De,A(Me,16,this)),A(Me,19,this),T(this,Ce,A(Me,20,this)),A(Me,23,this),T(this,Ae,A(Me,24,this)),A(Me,27,this),this.accept=r,this.collisionDetector=i,this.collisionPriority=s,this.type=o}accepts(e){const{accept:t}=this;return!t||("function"==typeof t?t(e):!!e.type&&(Array.isArray(t)?t.includes(e.type):e.type===t))}get isDropTarget(){var e,t;return(null==(t=null==(e=this.manager)?void 0:e.dragOperation.target)?void 0:t.id)===this.id}};Me=M(Ee),Se=new WeakMap,_e=new WeakMap,De=new WeakMap,Ce=new WeakMap,Ae=new WeakMap,P(Me,4,"accept",Oe,Re,Se),P(Me,4,"type",ke,Re,_e),P(Me,4,"collisionDetector",xe,Re,De),P(Me,4,"collisionPriority",we,Re,Ce),P(Me,4,"shape",be,Re,Ae),P(Me,2,"isDropTarget",ye,Re),C(Me,Re);var Te=class{constructor(){this.registry=new Map}addEventListener(e,t){const{registry:n}=this,r=new Set(n.get(e));return r.add(t),n.set(e,r),()=>this.removeEventListener(e,t)}removeEventListener(e,t){const{registry:n}=this,r=new Set(n.get(e));r.delete(t),n.set(e,r)}dispatch(e,...t){const{registry:n}=this,r=n.get(e);if(r)for(const e of r)e(...t)}},Ie=class extends Te{constructor(e){super(),this.manager=e}dispatch(e,t){super.dispatch(e,...[t,this.manager])}};function $e(e,t=!0){let n=!1;return k(x({},e),{cancelable:t,get defaultPrevented(){return n},preventDefault(){t&&(n=!0)}})}var ze,Le,He,Fe,Ne,Ye,Ke,qe,Xe,Ve,Ze=class extends Y{constructor(e){super(e);let t=[];this.destroy=(0,a.zb)(()=>{const{dragOperation:n,collisionObserver:r}=e;n.status.initializing&&(t=[],r.enable())},()=>{const{collisionObserver:n,monitor:r}=e,{collisions:i}=n;if(n.isDisabled())return;if(Pe.pendingIdChanges)return;const s=$e({collisions:i});if(r.dispatch("collision",s),s.defaultPrevented)return;if(o=t,i.map(({id:e})=>e).join("")===o.map(({id:e})=>e).join(""))return;var o;t=i;const[a]=i;(0,l.O8)(()=>{var t;(null==a?void 0:a.id)!==(null==(t=e.dragOperation.target)?void 0:t.id)&&(n.disable(),e.actions.setDropTarget(null==a?void 0:a.id).then(()=>{n.enable()}))})})}},Be=(e=>(e[e.Lowest=0]="Lowest",e[e.Low=1]="Low",e[e.Normal=2]="Normal",e[e.High=3]="High",e[e.Highest=4]="Highest",e))(Be||{}),Ue=(e=>(e[e.Collision=0]="Collision",e[e.ShapeIntersection=1]="ShapeIntersection",e[e.PointerIntersection=2]="PointerIntersection",e))(Ue||{});qe=[a.Kh],Ke=[a.un],Ye=[a.un],Ne=[a.un],Fe=[a.un],He=[a.un],Le=[a.un],ze=[a.un];var Ge=class{constructor(){A(Xe,5,this),T(this,Ve,A(Xe,8,this,"idle")),A(Xe,11,this)}get current(){return this.value}get idle(){return"idle"===this.value}get initializationPending(){return"initialization-pending"===this.value}get initializing(){return"initializing"===this.value}get initialized(){const{value:e}=this;return"idle"!==e&&"initialization-pending"!==e}get dragging(){return"dragging"===this.value}get dropped(){return"dropped"===this.value}set(e){this.value=e}};Xe=M(null),Ve=new WeakMap,P(Xe,4,"value",qe,Ge,Ve),P(Xe,2,"current",Ke,Ge),P(Xe,2,"idle",Ye,Ge),P(Xe,2,"initializationPending",Ne,Ge),P(Xe,2,"initializing",Fe,Ge),P(Xe,2,"initialized",He,Ge),P(Xe,2,"dragging",Le,Ge),P(Xe,2,"dropped",ze,Ge),C(Xe,Ge);var Qe,Je=class{constructor(e){this.manager=e}setDragSource(e){const{dragOperation:t}=this.manager;t.sourceIdentifier="string"==typeof e||"number"==typeof e?e:e.id}setDropTarget(e){return(0,l.O8)(()=>{const{dragOperation:t}=this.manager,n=null!=e?e:null;if(t.targetIdentifier===n)return Promise.resolve(!1);t.targetIdentifier=n;const r=$e({operation:t.snapshot()});return t.status.dragging&&this.manager.monitor.dispatch("dragover",r),this.manager.renderer.rendering.then(()=>r.defaultPrevented)})}start(e){return(0,l.O8)(()=>{const{dragOperation:t}=this.manager;null!=e.source&&this.setDragSource(e.source);if(!t.source)throw new Error("Cannot start a drag operation without a drag source");if(!t.status.idle)throw new Error("Cannot start a drag operation while another is active");const n=new AbortController,{event:r,coordinates:i}=e;(0,l.vA)(()=>{t.status.set("initialization-pending"),t.shape=null,t.canceled=!1,t.activatorEvent=null!=r?r:null,t.position.reset(i)});const s=$e({operation:t.snapshot()});return this.manager.monitor.dispatch("beforedragstart",s),s.defaultPrevented?(t.reset(),n.abort(),n):(t.status.set("initializing"),t.controller=n,this.manager.renderer.rendering.then(()=>{if(n.signal.aborted)return;const{status:e}=t;"initializing"===e.current&&(0,l.vA)(()=>{t.status.set("dragging"),this.manager.monitor.dispatch("dragstart",{nativeEvent:r,operation:t.snapshot(),cancelable:!1})})}),n)})}move(e){return(0,l.O8)(()=>{var t,n;const{dragOperation:r}=this.manager,{status:i,controller:s}=r;if(!i.dragging||!s||s.signal.aborted)return;const o=$e({nativeEvent:e.event,operation:r.snapshot(),by:e.by,to:e.to},null==(t=e.cancelable)||t);(null==(n=e.propagate)||n)&&this.manager.monitor.dispatch("dragmove",o),queueMicrotask(()=>{var t,n,i,s,a;if(o.defaultPrevented)return;const l=null!=(a=e.to)?a:{x:r.position.current.x+(null!=(n=null==(t=e.by)?void 0:t.x)?n:0),y:r.position.current.y+(null!=(s=null==(i=e.by)?void 0:i.y)?s:0)};r.position.current=l})})}stop(e={}){return(0,l.O8)(()=>{var t,n;const{dragOperation:r}=this.manager,{controller:i}=r;if(!i||i.signal.aborted)return;let s;i.abort();const o=()=>{this.manager.renderer.rendering.then(()=>{r.status.set("dropped");const e=(0,l.O8)(()=>{var e;return"dropping"===(null==(e=r.source)?void 0:e.status)}),t=()=>{r.controller===i&&(r.controller=void 0),r.reset()};if(e){const{source:e}=r,n=(0,l.QZ)(()=>{"idle"===(null==e?void 0:e.status)&&(n(),t())})}else this.manager.renderer.rendering.then(t)})};r.canceled=null!=(t=e.canceled)&&t,this.manager.monitor.dispatch("dragend",{nativeEvent:e.event,operation:r.snapshot(),canceled:null!=(n=e.canceled)&&n,suspend:()=>{const e={resume:()=>{},abort:()=>{}};return s=new Promise((t,n)=>{e.resume=t,e.abort=n}),e}}),s?s.then(o).catch(()=>r.reset()):o()})}},et=class extends F{constructor(e,t){super(e,t),this.manager=e,this.options=t}},tt=class extends AbortController{constructor(e,t){super(),this.constraints=e,this.onActivate=t,this.activated=!1;for(const t of null!=e?e:[])t.controller=this}onEvent(e){var t;if(!this.activated)if(null==(t=this.constraints)?void 0:t.length)for(const t of this.constraints)t.onEvent(e);else this.activate(e)}activate(e){this.activated||(this.activated=!0,this.onActivate(e))}abort(e){this.activated=!1,super.abort(e)}},nt=class{constructor(e){this.options=e,T(this,Qe)}set controller(e){I(this,Qe,e),e.signal.addEventListener("abort",()=>this.abort())}activate(e){var t;null==(t=R(this,Qe))||t.activate(e)}};Qe=new WeakMap;var rt,it,st,ot,at,lt,ct,dt,ut,ht,pt,ft,gt,mt,vt,yt,bt,wt,xt,kt=class extends F{constructor(e,t){super(e,t),this.manager=e,this.options=t}apply(e){return e.transform}},Ot=class{constructor(e){this.draggables=new je,this.droppables=new je,this.plugins=new K(e),this.sensors=new K(e),this.modifiers=new K(e)}register(e,t){if(e instanceof We)return this.draggables.register(e.id,e);if(e instanceof Re)return this.droppables.register(e.id,e);if(e.prototype instanceof kt)return this.modifiers.register(e,t);if(e.prototype instanceof et)return this.sensors.register(e,t);if(e.prototype instanceof F)return this.plugins.register(e,t);throw new Error("Invalid instance type")}unregister(e){if(e instanceof Pe)return e instanceof We?this.draggables.unregister(e.id,e):e instanceof Re?this.droppables.unregister(e.id,e):()=>{};if(e.prototype instanceof kt)return this.modifiers.unregister(e);if(e.prototype instanceof et)return this.sensors.unregister(e);if(e.prototype instanceof F)return this.plugins.unregister(e);throw new Error("Invalid instance type")}destroy(){this.draggables.destroy(),this.droppables.destroy(),this.plugins.destroy(),this.sensors.destroy(),this.modifiers.destroy()}};ut=[a.un],dt=[a.Kh],ct=[a.Kh],lt=[a.Kh],at=[a.Kh],ot=[a.Kh],st=[a.un],it=[a.un],rt=[a.un];var Et=class{constructor(e){A(gt,5,this),T(this,ht),T(this,pt),T(this,ft,new a.Wf(void 0,(e,t)=>e&&t?e.equals(t):e===t)),this.status=new Ge,T(this,mt,A(gt,8,this,!1)),A(gt,11,this),T(this,vt,A(gt,12,this,null)),A(gt,15,this),T(this,yt,A(gt,16,this,null)),A(gt,19,this),T(this,bt,A(gt,20,this,null)),A(gt,23,this),T(this,wt,A(gt,24,this,[])),A(gt,27,this),this.position=new c.yX({x:0,y:0}),T(this,xt,{x:0,y:0}),I(this,ht,e)}get shape(){const{current:e,initial:t,previous:n}=R(this,ft);return e&&t?{current:e,initial:t,previous:n}:null}set shape(e){e?R(this,ft).current=e:R(this,ft).reset()}get source(){var e;const t=this.sourceIdentifier;if(null==t)return null;const n=R(this,ht).registry.draggables.get(t);return n&&I(this,pt,n),null!=(e=null!=n?n:R(this,pt))?e:null}get target(){var e;const t=this.targetIdentifier;return null!=t&&null!=(e=R(this,ht).registry.droppables.get(t))?e:null}get transform(){const{x:e,y:t}=this.position.delta;let n={x:e,y:t};for(const e of this.modifiers)n=e.apply(k(x({},this.snapshot()),{transform:n}));return I(this,xt,n),n}snapshot(){return(0,l.O8)(()=>({source:this.source,target:this.target,activatorEvent:this.activatorEvent,transform:R(this,xt),shape:this.shape?(0,a.P9)(this.shape):null,position:(0,a.P9)(this.position),status:(0,a.P9)(this.status),canceled:this.canceled}))}reset(){(0,l.vA)(()=>{this.status.set("idle"),this.sourceIdentifier=null,this.targetIdentifier=null,R(this,ft).reset(),this.position.reset({x:0,y:0}),I(this,xt,{x:0,y:0}),this.modifiers=[]})}};gt=M(null),ht=new WeakMap,pt=new WeakMap,ft=new WeakMap,mt=new WeakMap,vt=new WeakMap,yt=new WeakMap,bt=new WeakMap,wt=new WeakMap,xt=new WeakMap,P(gt,2,"shape",ut,Et),P(gt,4,"canceled",dt,Et,mt),P(gt,4,"activatorEvent",ct,Et,vt),P(gt,4,"sourceIdentifier",lt,Et,yt),P(gt,4,"targetIdentifier",at,Et,bt),P(gt,4,"modifiers",ot,Et,wt),P(gt,2,"source",st,Et),P(gt,2,"target",it,Et),P(gt,2,"transform",rt,Et),C(gt,Et);var Mt={get rendering(){return Promise.resolve()}};function St(e,t){return"function"==typeof e?e(t):null!=e?e:t}var _t=class{constructor(e){var t;this.destroy=()=>{this.dragOperation.status.idle||this.actions.stop({canceled:!0}),this.dragOperation.modifiers.forEach(e=>e.destroy()),this.registry.destroy(),this.collisionObserver.destroy()};const n=null!=e?e:{},r=St(n.plugins,[]),i=St(n.sensors,[]),s=St(n.modifiers,[]),o=null!=(t=n.renderer)?t:Mt,c=new Ie(this),d=new Ot(this);this.registry=d,this.monitor=c,this.renderer=o,this.actions=new Je(this),this.dragOperation=new Et(this),this.collisionObserver=new se(this),this.plugins=[Ze,...r],this.modifiers=s,this.sensors=i;const{destroy:u}=this,h=(0,a.zb)(()=>{var e,t,n;const r=(0,l.O8)(()=>this.dragOperation.modifiers),i=this.modifiers;for(const e of r)i.includes(e)||e.destroy();this.dragOperation.modifiers=null!=(n=null==(t=null==(e=this.dragOperation.source)?void 0:e.modifiers)?void 0:t.map(e=>{const{plugin:t,options:n}=H(e);return new t(this,n)}))?n:i});this.destroy=()=>{h(),u()}}get plugins(){return this.registry.plugins.values}set plugins(e){this.registry.plugins.values=e}get modifiers(){return this.registry.modifiers.values}set modifiers(e){this.registry.modifiers.values=e}get sensors(){return this.registry.sensors.values}set sensors(e){this.registry.sensors.values=e}}},"./node_modules/.pnpm/@dnd-kit+collision@0.5.1/node_modules/@dnd-kit/collision/dist/index.js"(e,t,n){n.d(t,{V6:()=>s,y$:()=>o});var r=n("./node_modules/.pnpm/@dnd-kit+abstract@0.5.1/node_modules/@dnd-kit/abstract/index.js"),i=n("./node_modules/.pnpm/@dnd-kit+geometry@0.5.1/node_modules/@dnd-kit/geometry/dist/index.mjs"),s=e=>{var t;return null!=(t=(({dragOperation:e,droppable:t})=>{const n=e.position.current;if(!n)return null;const{id:s}=t;if(!t.shape)return null;if(t.shape.containsPoint(n))return{id:s,value:1/i.bR.distance(t.shape.center,n),type:r.Bp.PointerIntersection,priority:r.zY.High};return null})(e))?t:(({dragOperation:e,droppable:t})=>{const{shape:n}=e;if(!t.shape||!(null==n?void 0:n.current))return null;const s=n.current.intersectionArea(t.shape);if(s){const{position:o}=e,a=i.bR.distance(t.shape.center,o.current);return{id:t.id,value:s/(n.current.area+t.shape.area-s)/a,type:r.Bp.ShapeIntersection,priority:r.zY.Normal}}return null})(e)},o=e=>{const{dragOperation:t,droppable:n}=e,{shape:s,position:o}=t;if(!n.shape)return null;const a=s?i.M_.from(s.current.boundingRectangle).corners:void 0,l=i.M_.from(n.shape.boundingRectangle).corners.reduce((e,t,n)=>{var r;return e+i.bR.distance(i.bR.from(t),null!=(r=null==a?void 0:a[n])?r:o.current)},0);return{id:n.id,value:1/(l/4),type:r.Bp.Collision,priority:r.zY.Normal}}},"./node_modules/.pnpm/@dnd-kit+dom@0.5.1/node_modules/@dnd-kit/dom/index.js"(e,t,n){n.d(t,{AN:()=>Ot,FS:()=>Kt,Gb:()=>Fe,HO:()=>et,gL:()=>Vt,il:()=>bt,sx:()=>Xt,ti:()=>qt,uN:()=>yt});var r=n("./node_modules/.pnpm/@dnd-kit+abstract@0.5.1/node_modules/@dnd-kit/abstract/index.js"),i=n("./node_modules/.pnpm/@dnd-kit+dom@0.5.1/node_modules/@dnd-kit/dom/utilities.js"),s=n("./node_modules/.pnpm/@dnd-kit+state@0.5.1/node_modules/@dnd-kit/state/dist/index.mjs"),o=n("./node_modules/.pnpm/@preact+signals-core@1.14.4/node_modules/@preact/signals-core/dist/signals-core.module.js"),a=n("./node_modules/.pnpm/@dnd-kit+geometry@0.5.1/node_modules/@dnd-kit/geometry/dist/index.mjs"),l=n("./node_modules/.pnpm/@dnd-kit+collision@0.5.1/node_modules/@dnd-kit/collision/dist/index.js"),c=Object.create,d=Object.defineProperty,u=Object.defineProperties,h=Object.getOwnPropertyDescriptor,p=Object.getOwnPropertyDescriptors,f=Object.getOwnPropertySymbols,g=Object.prototype.hasOwnProperty,m=Object.prototype.propertyIsEnumerable,v=(e,t)=>(t=Symbol[e])?t:Symbol.for("Symbol."+e),y=e=>{throw TypeError(e)},b=(e,t,n)=>t in e?d(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,w=(e,t)=>{for(var n in t||(t={}))g.call(t,n)&&b(e,n,t[n]);if(f)for(var n of f(t))m.call(t,n)&&b(e,n,t[n]);return e},x=(e,t)=>u(e,p(t)),k=(e,t)=>d(e,"name",{value:t,configurable:!0}),O=(e,t)=>{var n={};for(var r in e)g.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&f)for(var r of f(e))t.indexOf(r)<0&&m.call(e,r)&&(n[r]=e[r]);return n},E=e=>{var t;return[,,,c(null!=(t=null==e?void 0:e[v("metadata")])?t:null)]},M=["class","method","getter","setter","accessor","field","value","get","set"],S=e=>void 0!==e&&"function"!=typeof e?y("Function expected"):e,_=(e,t,n,r,i)=>({kind:M[e],name:t,metadata:r,addInitializer:e=>n._?y("Already initialized"):i.push(S(e||null))}),D=(e,t)=>b(t,v("metadata"),e[3]),C=(e,t,n,r)=>{for(var i=0,s=e[t>>1],o=s&&s.length;i<o;i++)1&t?s[i].call(n):r=s[i].call(n,r);return r},A=(e,t,n,r,i,s)=>{var o,a,l,c,u,p=7&t,f=!!(8&t),g=!!(16&t),m=p>3?e.length+1:p?f?1:2:0,v=M[p+5],b=p>3&&(e[m-1]=[]),w=e[m]||(e[m]=[]),x=p&&(!g&&!f&&(i=i.prototype),p<5&&(p>3||!g)&&h(p<4?i:{get[n](){return W(this,s)},set[n](e){return T(this,s,e)}},n));p?g&&p<4&&k(s,(p>2?"set ":p>1?"get ":"")+n):k(i,n);for(var O=r.length-1;O>=0;O--)c=_(p,n,l={},e[3],w),p&&(c.static=f,c.private=g,u=c.access={has:g?e=>j(i,e):e=>n in e},3^p&&(u.get=g?e=>(1^p?W:I)(e,i,4^p?s:x.get):e=>e[n]),p>2&&(u.set=g?(e,t)=>T(e,i,t,4^p?s:x.set):(e,t)=>e[n]=t)),a=(0,r[O])(p?p<4?g?s:x[v]:p>4?void 0:{get:x.get,set:x.set}:i,c),l._=1,4^p||void 0===a?S(a)&&(p>4?b.unshift(a):p?g?s=a:x[v]=a:i=a):"object"!=typeof a||null===a?y("Object expected"):(S(o=a.get)&&(x.get=o),S(o=a.set)&&(x.set=o),S(o=a.init)&&b.unshift(o));return p||D(e,i),x&&d(i,n,x),g?4^p?s:x:i},P=(e,t,n)=>t.has(e)||y("Cannot "+n),j=(e,t)=>Object(t)!==t?y('Cannot use the "in" operator on this value'):e.has(t),W=(e,t,n)=>(P(e,t,"read from private field"),n?n.call(e):t.get(e)),R=(e,t,n)=>t.has(e)?y("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),T=(e,t,n,r)=>(P(e,t,"write to private field"),r?r.call(e,n):t.set(e,n),n),I=(e,t,n)=>(P(e,t,"access private method"),n),$="button",z="draggable",L="dnd-kit-description",H="dnd-kit-announcement",F={draggable:"To pick up a draggable item, press the space bar. While dragging, use the arrow keys to move the item in a given direction. Press space again to drop the item in its new position, or press escape to cancel."},N={dragstart({operation:{source:e}}){if(e)return`Picked up draggable item ${e.id}.`},dragover({operation:{source:e,target:t}}){if(e&&e.id!==(null==t?void 0:t.id))return t?`Draggable item ${e.id} was moved over droppable target ${t.id}.`:`Draggable item ${e.id} is no longer over a droppable target.`},dragend({operation:{source:e,target:t},canceled:n}){if(e)return n?`Dragging was cancelled. Draggable item ${e.id} was dropped.`:t?`Draggable item ${e.id} was dropped over droppable target ${t.id}`:`Draggable item ${e.id} was dropped.`}};function Y(e){const t=e.tagName.toLowerCase();return["input","select","textarea","a","button"].includes(t)}function K(e){var t;return"button"===(null!=(t=e.getAttribute("role"))?t:"button")}var q=["dragover","dragmove"];var X,V,Z,B,U,G,Q,J,ee,te,ne,re,ie,se,oe,ae,le=new Map;function ce(e){return(0,i.Ng)(e)?e.host.isConnected:null!=e.defaultView}var de=class extends(G=r.rV,U=[s.Kh],B=[s.Kh],Z=[s.un],V=[s.un],X=[s.un],G){constructor(e,t){super(e,t),C(Q,5,this),R(this,re),R(this,J,C(Q,8,this,new Map)),C(Q,11,this),R(this,ee,C(Q,12,this,new Set)),C(Q,15,this),R(this,te,new Set),R(this,ne,new Map),this.registerEffect(I(this,re,ie))}register(e,t){return(0,o.O8)(()=>{var n;const r=new Map(this.registeredRules);r.set(e,null!=(n=null==t?void 0:t.retain)&&n),this.registeredRules=r}),()=>{(0,o.O8)(()=>{const t=new Map(this.registeredRules);t.delete(e),this.registeredRules=t})}}addRoot(e){return(0,o.O8)(()=>{const t=new Set(this.additionalRoots);t.add(e),this.additionalRoots=t}),()=>{(0,o.O8)(()=>{const t=new Set(this.additionalRoots);t.delete(e),this.additionalRoots=t})}}get sourceRoot(){var e;const{source:t}=this.manager.dragOperation;return(0,i.Zn)(null!=(e=null==t?void 0:t.element)?e:null)}get targetRoot(){var e;const{target:t}=this.manager.dragOperation;return(0,i.Zn)(null!=(e=null==t?void 0:t.element)?e:null)}get roots(){const{status:e}=this.manager.dragOperation;if(e.initializing||e.initialized){const e=[this.sourceRoot,this.targetRoot].filter(e=>null!=e);return new Set([...e,...this.additionalRoots])}return new Set}destroy(){for(const e of W(this,ne).values())for(const t of e.values())t();W(this,ne).clear(),W(this,te).clear(),super.destroy()}};Q=E(G),J=new WeakMap,ee=new WeakMap,te=new WeakMap,ne=new WeakMap,re=new WeakSet,ie=function(){const{roots:e,registeredRules:t}=this;for(const t of e)W(this,te).add(t);const n=new Map;for(const r of W(this,te)){const i=e.has(r);if(i||ce(r))for(const[e,s]of t){if(!i&&!s)continue;let t=n.get(r);t||(t=new Set,n.set(r,t)),t.add(e)}else W(this,te).delete(r)}for(const[e,t]of W(this,ne)){const r=n.get(e);for(const[e,n]of t)(null==r?void 0:r.has(e))||(n(),t.delete(e));0===t.size&&W(this,ne).delete(e)}for(const[e,t]of n){let n=W(this,ne).get(e);n||(n=new Map,W(this,ne).set(e,n));for(const r of t)n.has(r)||n.set(r,I(this,re,se).call(this,e,r))}},se=function(e,t){let n=le.get(e);n||(n=new Map,le.set(e,n));let r=n.get(t);if(!r){const s=(0,i.wz)(e)?I(this,re,oe).call(this,e,n,t):I(this,re,ae).call(this,e,n,t);if(!s)return()=>{};r=s,n.set(t,r)}r.refCount++;let s=!1;return()=>{s||(s=!0,r.refCount--,0===r.refCount&&r.cleanup())}},oe=function(e,t,n){var r;const i=e.createElement("style"),{nonce:s}=null!=(r=this.options)?r:{};s&&i.setAttribute("nonce",s),i.textContent=n,e.head.prepend(i);const o=new MutationObserver(t=>{for(const n of t)for(const t of Array.from(n.removedNodes))if(t===i)return void e.head.prepend(i)});return o.observe(e.head,{childList:!0}),{refCount:0,cleanup:()=>{o.disconnect(),i.remove(),t.delete(n),0===t.size&&le.delete(e)}}},ae=function(e,t,n){!("adoptedStyleSheets"in e)||Array.isArray(e.adoptedStyleSheets);const r=e.ownerDocument.defaultView,{CSSStyleSheet:s}=null!=r?r:{};if(!s)return null;const o=new s;return o.replaceSync(n),e.adoptedStyleSheets.push(o),{refCount:0,cleanup:()=>{var r;if((0,i.Ng)(e)&&(null==(r=e.host)?void 0:r.isConnected)){const t=e.adoptedStyleSheets.indexOf(o);-1!==t&&e.adoptedStyleSheets.splice(t,1)}t.delete(n),0===t.size&&le.delete(e)}}},A(Q,4,"registeredRules",U,de,J),A(Q,4,"additionalRoots",B,de,ee),A(Q,2,"sourceRoot",Z,de),A(Q,2,"targetRoot",V,de),A(Q,2,"roots",X,de),D(Q,de),de.configure=(0,r.cD)(de);var ue=de,he="data-dnd-",pe=`${he}dropping`,fe="--dnd-",ge=`${he}dragging`,me=`${he}placeholder`,ve=[ge,me,"popover","aria-pressed","aria-grabbing"],ye=["view-transition-name"],be=`\n :is(:root,:host) [${ge}] {\n position: fixed !important;\n pointer-events: none !important;\n touch-action: none;\n z-index: calc(infinity);\n will-change: translate;\n top: var(${fe}top, 0px) !important;\n left: var(${fe}left, 0px) !important;\n right: unset !important;\n bottom: unset !important;\n width: var(${fe}width, auto);\n max-width: var(${fe}width, auto);\n height: var(${fe}height, auto);\n max-height: var(${fe}height, auto);\n transform: var(${fe}transform, none) !important;\n transition: var(${fe}transition) !important;\n }\n\n :is(:root,:host) [${me}] {\n transition: none;\n }\n\n :is(:root,:host) [${me}='hidden'] {\n visibility: hidden;\n }\n\n [${ge}] * {\n pointer-events: none !important;\n }\n\n [${ge}]:not([${pe}]) {\n translate: var(${fe}translate) !important;\n }\n\n [${ge}][style*='${fe}scale'] {\n scale: var(${fe}scale) !important;\n transform-origin: var(${fe}transform-origin) !important;\n }\n\n @layer dnd-kit {\n :where([${ge}][popover]) {\n overflow: visible;\n background: unset;\n border: unset;\n margin: unset;\n padding: unset;\n color: inherit;\n\n &:is(input, button) {\n border: revert;\n background: revert;\n }\n }\n }\n [${ge}]::backdrop, [${he}overlay]:not([${ge}]) {\n display: none;\n visibility: hidden;\n }\n`.replace(/\n+/g," ").replace(/\s+/g," ").trim();function we(e,t="hidden"){return(0,o.O8)(()=>{const{element:n,manager:r}=e;if(!n||!r)return;const s=function(e,t){const n=new Map;for(const r of t)if(r.element&&(e===r.element||e.contains(r.element))){const e=`${he}${(0,i.Ij)("dom-id")}`;r.element.setAttribute(e,""),n.set(r,e)}return n}(n,r.registry.droppables),o=[],a=(0,i.Ob)(n),{remove:l}=a;return function(e,t,n){for(const[r,s]of e){if(!r.element)continue;const e=`[${s}]`,o=t.matches(e)?t:t.querySelector(e);if(r.element.removeAttribute(s),!o)continue;const a=r.element;r.proxy=o,o.removeAttribute(s),i.hZ.set(a,o),n.push(()=>{i.hZ.delete(a),r.proxy=void 0})}}(s,a,o),function(e,t="hidden"){e.setAttribute("inert","true"),e.setAttribute("tab-index","-1"),e.setAttribute("aria-hidden","true"),e.setAttribute(me,t)}(a,t),a.remove=()=>{o.forEach(e=>e()),l.call(a)},a})}function xe(e,t){return e===t||(0,i._m)(e)===(0,i._m)(t)}function ke(e){const{target:t}=e;"newState"in e&&"closed"===e.newState&&(0,i.vq)(t)&&t.hasAttribute("popover")&&requestAnimationFrame(()=>(0,i.dO)(t))}function Oe(e){return"TR"===e.tagName}var Ee,Me,Se,_e,De,Ce,Ae,Pe=250,je="ease";var We=class extends(Me=r.k_,Ee=[s.Kh],Me){constructor(e,t){super(e,t),R(this,De),R(this,_e,C(Se,8,this)),C(Se,11,this),this.state={initial:{},current:{}};const n=e.registry.plugins.get(ue),r=null==n?void 0:n.register(be,{retain:!0});if(r){const e=this.destroy.bind(this);this.destroy=()=>{r(),e()}}this.registerEffect(I(this,De,Ce).bind(this,n)),this.registerEffect(I(this,De,Ae))}};Se=E(Me),_e=new WeakMap,De=new WeakSet,Ce=function(e){const{overlay:t}=this;if(!t||!e)return;const n=(0,i.Zn)(t);return n?e.addRoot(n):void 0},Ae=function(){var e,t,n,r,l,c,d;const{state:u,manager:h,options:p}=this,{dragOperation:f}=h,{position:g,source:m,status:v}=f;if(v.idle)return u.current={},void(u.initial={});if(!m)return;const{element:y}=m,b=m.pluginConfig(We),k=null!=(t=null!=(e=null==b?void 0:b.feedback)?e:null==p?void 0:p.feedback)?t:"default",O="function"==typeof k?k(m,h):k;if(!y||"none"===O||!v.initialized||v.initializing)return;const{initial:E}=u,M=null!=(n=this.overlay)?n:y,S=(0,i.y4)(M),_=(0,i.y4)(y),D=!xe(y,M),C=new i.yS(y,{frameTransform:D?_:null,ignoreTransforms:!D}),A=_.scaleX/S.scaleX,P=_.scaleY/S.scaleY;let{width:j,height:W,top:R,left:T}=C;D&&(j/=A,W/=P);const I=new i.P_(M),$=(0,i.qt)(y),{transition:z,translate:L,boxSizing:H,paddingBlockStart:F,paddingBlockEnd:N,paddingInlineStart:Y,paddingInlineEnd:K,borderInlineStartWidth:q,borderInlineEndWidth:X,borderBlockStartWidth:V,borderBlockEndWidth:Z}=$,B=z.split(",").filter(e=>!/^\s*(transform|translate|scale)\b/.test(e)).join(","),U=(0,i.ae)($),G=$.transform,Q="clone"===O,J="content-box"===H,ee=J?parseInt(Y)+parseInt(K)+parseInt(q)+parseInt(X):0,te=J?parseInt(F)+parseInt(N)+parseInt(V)+parseInt(Z):0,ne="move"===O||this.overlay?null:we(m,Q?"clone":"hidden"),re=(0,o.O8)(()=>(0,i.kx)(h.dragOperation.activatorEvent));if(!E.translate)if(this.overlay&&U)E.translate={x:U.x,y:U.y};else if("none"!==L){const e=(0,i.g)(L);e&&(E.translate=e)}if(!E.transformOrigin){const e=(0,o.O8)(()=>g.current),t=T+(null!=(r=null==U?void 0:U.x)?r:0),n=R+(null!=(l=null==U?void 0:U.y)?l:0);E.transformOrigin={x:(e.x-t*S.scaleX-S.x)/(j*S.scaleX),y:(e.y-n*S.scaleY-S.y)/(W*S.scaleY)}}const{transformOrigin:ie}=E,se=R*S.scaleY+S.y,oe=T*S.scaleX+S.x;if(!E.coordinates&&(E.coordinates={x:oe,y:se},1!==A||1!==P)){const{scaleX:e,scaleY:t}=_,{x:n,y:r}=ie;E.coordinates.x+=(j*e-j)*n,E.coordinates.y+=(W*t-W)*r}E.dimensions||(E.dimensions={width:j,height:W}),E.frameTransform||(E.frameTransform=S);const ae={x:(E.coordinates.x-oe)/S.scaleX+(E.dimensions.width*E.frameTransform.scaleX-j*S.scaleX)*ie.x,y:(E.coordinates.y-se)/S.scaleY+(E.dimensions.height*E.frameTransform.scaleY-W*S.scaleY)*ie.y},le=T+ae.x,ce=R+ae.y;M.setAttribute(ge,"true");const de=(0,o.O8)(()=>f.transform),ue=null!=(c=E.translate)?c:{x:0,y:0},he=de.x*S.scaleX+ue.x,me=de.y*S.scaleY+ue.y,be=(0,i.hl)();if(I.set({width:j-ee,height:W-te,top:ce+be.y,left:le+be.x,translate:`${he}px ${me}px 0`,transform:this.overlay?"none":G,transition:B?`${B}, translate 0ms linear`:"translate 0ms linear",scale:D?`${A} ${P}`:"","transform-origin":`${100*ie.x}% ${100*ie.y}%`},fe),ne&&(y.insertAdjacentElement("afterend",ne),null==p?void 0:p.rootElement)){("function"==typeof p.rootElement?p.rootElement(m):p.rootElement).appendChild(y)}let Ee,Me,Se;(0,i.Ot)(M)&&(M.hasAttribute("popover")||M.setAttribute("popover","manual"),(0,i.dO)(M),M.addEventListener("beforetoggle",ke));const _e=(De={placeholder:ne,element:y,feedbackElement:M,frameTransform:S,transformOrigin:ie,width:j,height:W,top:R,left:T,widthOffset:ee,heightOffset:te,delta:ae,styles:I,dragOperation:f,getTranslate:()=>u.current.translate,getElementMutationObserver:()=>Ee,getSavedCellWidths:()=>Se,setSavedCellWidths:e=>{Se=e}},new ResizeObserver(()=>{var e,t,n;const r=new i.yS(De.placeholder,{frameTransform:De.frameTransform,ignoreTransforms:!0}),s=null!=(e=De.transformOrigin)?e:{x:1,y:1},o=(De.width-r.width)*s.x+De.delta.x,l=(De.height-r.height)*s.y+De.delta.y,c=(0,i.hl)();if(De.styles.set({width:r.width-De.widthOffset,height:r.height-De.heightOffset,top:De.top+l+c.y,left:De.left+o+c.x},fe),null==(t=De.getElementMutationObserver())||t.takeRecords(),Oe(De.element)&&Oe(De.placeholder)){const e=Array.from(De.element.cells),t=Array.from(De.placeholder.cells);De.getSavedCellWidths()||De.setSavedCellWidths(e.map(e=>e.style.width));for(const[n,r]of e.entries())r.style.width=`${t[n].getBoundingClientRect().width}px`}const d=null!=(n=De.getTranslate())?n:{x:0,y:0},u=De.frameTransform;De.dragOperation.shape=new a.M_((De.left+o+c.x+d.x)*u.scaleX+u.x,(De.top+l+c.y+d.y)*u.scaleY+u.y,(r.width-De.widthOffset)*u.scaleX,(r.height-De.heightOffset)*u.scaleY)}));var De;const Ce=new i.yS(M);(0,o.O8)(()=>f.shape=Ce);const Ae=(0,i.zk)(M),Re=e=>{this.manager.actions.stop({event:e})},Te=(0,i.Oe)(Ae);re&&Ae.addEventListener("resize",Re),"idle"===(0,o.O8)(()=>m.status)&&requestAnimationFrame(()=>m.status="dragging"),ne&&(_e.observe(ne),Ee=function(e,t,n){const r=new MutationObserver(r=>{let s=!1;for(const n of r){if(n.target!==e){s=!0;continue}if("attributes"!==n.type)continue;const r=n.attributeName;if(r.startsWith("aria-")||ve.includes(r))continue;const o=e.getAttribute(r);if("style"===r){if((0,i.o8)(e)&&(0,i.o8)(t)){const n=e.style;for(const e of Array.from(t.style))""===n.getPropertyValue(e)&&t.style.removeProperty(e);for(const e of Array.from(n)){if(ye.includes(e)||e.startsWith(fe))continue;const r=n.getPropertyValue(e);t.style.setProperty(e,r)}}}else null!==o?t.setAttribute(r,o):t.removeAttribute(r)}s&&n&&t.replaceChildren(...e.cloneNode(!0).childNodes)});return r.observe(e,{attributes:!0,subtree:!0,childList:!0}),r}(y,ne,Q),Me=function(e,t,n){const r=new MutationObserver(r=>{for(const s of r)if(0!==s.addedNodes.length)for(const r of Array.from(s.addedNodes)){if(r.contains(e)&&e.nextElementSibling!==t)return e.insertAdjacentElement("afterend",t),void(0,i.dO)(n);if(r.contains(t)&&t.previousElementSibling!==e)return t.insertAdjacentElement("beforebegin",e),void(0,i.dO)(n)}e.isConnected&&t.isConnected&&e.nextElementSibling!==t&&(e.insertAdjacentElement("afterend",t),(0,i.dO)(n))});return r.observe(e.ownerDocument.body,{childList:!0,subtree:!0}),r}(y,ne,M));const Ie=null==(d=h.dragOperation.source)?void 0:d.id,$e=()=>{var e;if(!re||null==Ie)return;const t=h.registry.draggables.get(Ie),n=null!=(e=null==t?void 0:t.handle)?e:null==t?void 0:t.element;(0,i.sb)(n)&&n.focus()},ze=()=>{null==Ee||Ee.disconnect(),null==Me||Me.disconnect(),_e.disconnect(),Ae.removeEventListener("resize",Re),(0,i.Ot)(M)&&(M.removeEventListener("beforetoggle",ke),M.removeAttribute("popover")),M.removeAttribute(ge),I.reset();const e=()=>{var e;if(Se&&Oe(y)){const t=Array.from(y.cells);for(const[n,r]of t.entries())r.style.width=null!=(e=Se[n])?e:""}m.status="idle";ne&&(!f.status.dragging&&null!=u.current.translate||ne.parentElement!==M.parentElement)&&M.isConnected&&ne.replaceWith(M),null==ne||ne.remove()};M===this.overlay?setTimeout(e,0):e()},Le=null==p?void 0:p.dropAnimation,He=this,Fe=(0,s.zb)(()=>{var e,t,n;const{transform:r,status:s}=f;if((r.x||r.y||u.current.translate)&&s.dragging){const s=null!=(e=E.translate)?e:{x:0,y:0},l={x:r.x/S.scaleX+s.x,y:r.y/S.scaleY+s.y},c=u.current.translate,d=(0,o.O8)(()=>f.modifiers),h=(0,o.O8)(()=>{var e;return null==(e=f.shape)?void 0:e.current}),g=null==p?void 0:p.keyboardTransition,m=re&&!Te&&null!==g?`${null!=(t=null==g?void 0:g.duration)?t:250}ms ${null!=(n=null==g?void 0:g.easing)?n:"cubic-bezier(0.25, 1, 0.5, 1)"}`:"0ms linear";if(I.set({transition:B?`${B}, translate ${m}`:`translate ${m}`,translate:`${l.x}px ${l.y}px 0`},fe),null==Ee||Ee.takeRecords(),h&&h!==Ce&&c&&!d.length){const e=a.bR.delta(l,c);f.shape=a.M_.from(h.boundingRectangle).translate(e.x*S.scaleX,e.y*S.scaleY)}else f.shape=new i.yS(M);u.current.translate=l}},function(){if(f.status.dropped){this.dispose(),m.status="dropping";const e=void 0!==(null==b?void 0:b.dropAnimation)?b.dropAnimation:void 0!==He.dropAnimation?He.dropAnimation:Le;let t=u.current.translate;const n=null!=t;if(t||y===M||(t={x:0,y:0}),!t||null===e)return void ze();h.renderer.rendering.then(()=>{!function(e){var t,n,r,s;const{animation:o}=e;if("function"==typeof o){const t=o({source:e.source,element:e.element,feedbackElement:e.feedbackElement,placeholder:e.placeholder,translate:e.translate,moved:e.moved});return void Promise.resolve(t).then(()=>{e.cleanup(),requestAnimationFrame(e.restoreFocus)})}const{duration:l=Pe,easing:c=je}=null!=o?o:{};(0,i.dO)(e.feedbackElement);const[,d]=null!=(t=(0,i.XZ)(e.feedbackElement,e=>"translate"in e))?t:[];null==d||d.pause();const u=null!=(n=e.placeholder)?n:e.element,h={frameTransform:xe(e.feedbackElement,u)?null:void 0},p=new i.yS(e.feedbackElement,h),f=null!=(r=(0,i.g)((0,i.qt)(e.feedbackElement).translate))?r:e.translate,g=new i.yS(u,h),m=a.M_.delta(p,g,e.alignment),v=f.x-m.x,y=f.y-m.y,b=Math.round(p.intrinsicHeight)!==Math.round(g.intrinsicHeight)?{minHeight:[`${p.intrinsicHeight}px`,`${g.intrinsicHeight}px`],maxHeight:[`${p.intrinsicHeight}px`,`${g.intrinsicHeight}px`]}:{},k=Math.round(p.intrinsicWidth)!==Math.round(g.intrinsicWidth)?{minWidth:[`${p.intrinsicWidth}px`,`${g.intrinsicWidth}px`],maxWidth:[`${p.intrinsicWidth}px`,`${g.intrinsicWidth}px`]}:{};e.styles.set({transition:e.transition},fe),e.feedbackElement.setAttribute(pe,""),null==(s=e.getElementMutationObserver())||s.takeRecords(),(0,i.A$)({element:e.feedbackElement,keyframes:x(w(w({},b),k),{translate:[`${f.x}px ${f.y}px 0`,`${v}px ${y}px 0`]}),options:{duration:(0,i.Oe)((0,i.zk)(e.feedbackElement))?0:e.moved||e.feedbackElement!==e.element?l:0,easing:c}}).then(()=>{e.feedbackElement.removeAttribute(pe),null==d||d.finish(),e.cleanup(),requestAnimationFrame(e.restoreFocus)})}({source:m,element:y,feedbackElement:M,placeholder:ne,translate:t,moved:n,transition:z,alignment:m.alignment,styles:I,animation:null!=e?e:void 0,getElementMutationObserver:()=>Ee,cleanup:ze,restoreFocus:$e})})}});return()=>{ze(),Fe()}},A(Se,4,"overlay",Ee,We,_e),D(Se,We),We.configure=(0,r.cD)(We);var Re,Te,Ie,$e,ze,Le,He,Fe=We,Ne=!0;Ie=[s.Kh],$e=i.Dh.Forward,Re=[s.Kh],Te=i.Dh.Reverse;var Ye=class{constructor(){R(this,Le,C(ze,8,this,Ne)),C(ze,11,this),R(this,He,C(ze,12,this,Ne)),C(ze,15,this)}isLocked(e){return e!==i.Dh.Idle&&(null==e?this[i.Dh.Forward]===Ne&&this[i.Dh.Reverse]===Ne:this[e]===Ne)}unlock(e){e!==i.Dh.Idle&&(this[e]=false)}};ze=E(null),Le=new WeakMap,He=new WeakMap,A(ze,4,$e,Ie,Ye,Le),A(ze,4,Te,Re,Ye,He),D(ze,Ye);var Ke,qe,Xe,Ve,Ze,Be,Ue=[i.Dh.Forward,i.Dh.Reverse],Ge=class{constructor(){this.x=new Ye,this.y=new Ye}isLocked(){return this.x.isLocked()&&this.y.isLocked()}},Qe=class extends r.k_{constructor(e){super(e);const t=(0,o.vP)(new Ge);let n=null;this.signal=t,(0,o.QZ)(()=>{const{status:r}=e.dragOperation;if(!r.initialized)return n=null,void(t.value=new Ge);const{delta:i}=e.dragOperation.position;if(n){const e={x:Je(i.x,n.x),y:Je(i.y,n.y)},r=t.peek();(0,o.vA)(()=>{for(const t of a.Y5)for(const n of Ue)e[t]===n&&r[t].unlock(n);t.value=r})}n=i})}get current(){return this.signal.peek()}};function Je(e,t){return Math.sign(e-t)}var et=class extends(qe=r.rV,Ke=[s.Kh],qe){constructor(e){super(e),R(this,Ve,C(Xe,8,this,!1)),C(Xe,11,this),R(this,Ze),R(this,Be,()=>{if(!W(this,Ze))return;const{element:e,by:t}=W(this,Ze);t.y&&(e.scrollTop+=t.y),t.x&&(e.scrollLeft+=t.x)}),this.scroll=(e,t)=>{var n;if(this.disabled)return!1;const r=this.getScrollableElements();if(!r)return T(this,Ze,void 0),!1;const{position:s}=this.manager.dragOperation,o=null==s?void 0:s.current;if(o){const{by:s}=null!=e?e:{},l=s?{x:tt(s.x),y:tt(s.y)}:void 0,c=l?void 0:this.scrollIntentTracker.current;if(null==c?void 0:c.isLocked())return!1;for(const e of r){const r=(0,i.T5)(e),d=(0,i.a_)(e,s,r);if(d.x||d.y){const{speed:d,direction:u}=(0,i.Fk)(e,o,l,null==t?void 0:t.acceleration,null==t?void 0:t.threshold,void 0,r);if(c)for(const e of a.Y5)c[e].isLocked(u[e])&&(d[e]=0,u[e]=0);if(u.x||u.y){const{x:t,y:r}=null!=s?s:u,o=t*d.x,a=r*d.y;if(o||a){const t=null==(n=W(this,Ze))?void 0:n.by;if(this.autoScrolling&&t){if(t.x&&!o||t.y&&!a)continue}return T(this,Ze,{element:e,by:{x:o,y:a}}),i.ck.schedule(W(this,Be)),!0}}}}}return T(this,Ze,void 0),!1};let t=null,n=null;const r=(0,s.EW)(()=>{const{position:n,source:r}=e.dragOperation;if(!n)return null;const s=(0,i.Fm)((0,i.Zn)(null==r?void 0:r.element),n.current);return s&&(t=s),null!=s?s:t}),o=(0,s.EW)(()=>{const t=r.value,{documentElement:s}=(0,i.YE)(t);if(!t||t===s){const{target:t}=e.dragOperation,r=null==t?void 0:t.element;if(r){const e=(0,i.sl)(r,{excludeElement:!1});return n=e,e}}if(t){const e=(0,i.sl)(t,{excludeElement:!1});return this.autoScrolling&&n&&e.size<(null==n?void 0:n.size)?n:(n=e,e)}return n=null,null},s.bD);this.getScrollableElements=()=>o.value,this.scrollIntentTracker=new Qe(e),this.destroy=e.monitor.addEventListener("dragmove",t=>{!this.disabled&&!t.defaultPrevented&&(0,i.kx)(e.dragOperation.activatorEvent)&&t.by&&this.scroll({by:t.by})&&t.preventDefault()})}};function tt(e){return e>0?i.Dh.Forward:e<0?i.Dh.Reverse:i.Dh.Idle}Xe=E(qe),Ve=new WeakMap,Ze=new WeakMap,Be=new WeakMap,A(Xe,4,"autoScrolling",Ke,et,Ve),D(Xe,et);var nt=new class{constructor(e){this.scheduler=e,this.pending=!1,this.tasks=new Set,this.resolvers=new Set,this.flush=()=>{const{tasks:e,resolvers:t}=this;this.pending=!1,this.tasks=new Set,this.resolvers=new Set;for(const t of e)t();for(const e of t)e()}}schedule(e){return this.tasks.add(e),this.pending||(this.pending=!0,this.scheduler(this.flush)),new Promise(e=>this.resolvers.add(e))}}(e=>{"function"==typeof requestAnimationFrame?requestAnimationFrame(e):e()}),rt=class extends r.k_{constructor(e,t){super(e,t);const n=e.registry.plugins.get(et);if(!n)throw new Error("AutoScroller plugin depends on Scroller plugin");this.destroy=(0,o.QZ)(()=>{var t,r,i;if(this.disabled)return;const{status:s}=e.dragOperation;if(s.dragging){const e={acceleration:null==(t=this.options)?void 0:t.acceleration,threshold:"number"==typeof(null==(r=this.options)?void 0:r.threshold)?{x:this.options.threshold,y:this.options.threshold}:null==(i=this.options)?void 0:i.threshold};if(n.scroll(void 0,e)){n.autoScrolling=!0;const t=setInterval(()=>nt.schedule(()=>n.scroll(void 0,e)),10);return()=>{clearInterval(t)}}n.autoScrolling=!1}})}};rt.configure=(0,r.cD)(rt);var it,st=rt,ot={capture:!0,passive:!0},at=class extends r.rV{constructor(e){super(e),R(this,it),this.handleScroll=()=>{null==W(this,it)&&T(this,it,setTimeout(()=>{this.manager.collisionObserver.forceUpdate(!1),T(this,it,void 0)},50))};const{dragOperation:t}=this.manager;this.destroy=(0,o.QZ)(()=>{var e,n,r;if(t.status.dragging){const i=null!=(r=null==(n=null==(e=t.source)?void 0:e.element)?void 0:n.ownerDocument)?r:document;return i.addEventListener("scroll",this.handleScroll,ot),()=>{i.removeEventListener("scroll",this.handleScroll,ot)}}})}};it=new WeakMap;function lt(){var e;null==(e=document.getSelection())||e.removeAllRanges()}function ct(e,t){const n=ut(e.key);return t.some(e=>ut(e)===n)}var dt=new Set(["alt","altgraph","backspace","capslock","control","delete","end","enter","escape","home","insert","meta","pagedown","pageup","pause","printscreen","shift","space","tab","arrowdown","arrowleft","arrowright","arrowup","f1","f2","f3","f4","f5","f6","f7","f8","f9","f10","f11","f12"]);function ut(e){if(" "===e||"Spacebar"===e)return"space";if(/^Key[A-Z]$/.test(e))return e.slice(3).toLowerCase();if(/^Digit[0-9]$/.test(e))return e.slice(5);if(1===e.length)return e.toLowerCase();const t=e.toLowerCase();return dt.has(t)?t:e}var ht,pt=Object.freeze({offset:10,keyboardCodes:{start:["Space","Enter"],cancel:["Escape"],end:["Space","Enter","Tab"],up:["ArrowUp"],down:["ArrowDown"],left:["ArrowLeft"],right:["ArrowRight"]},preventActivation(e,t){var n;const r=null!=(n=t.handle)?n:t.element;return e.target!==r}}),ft=class extends r.$A{constructor(e,t){super(e),this.manager=e,this.options=t,R(this,ht,[]),this.listeners=new i.qR,this.handleSourceKeyDown=(e,t,n)=>{if(this.disabled||e.defaultPrevented)return;if(!(0,i.vq)(e.target))return;if(t.disabled)return;const{keyboardCodes:r=pt.keyboardCodes,preventActivation:s=pt.preventActivation}=null!=n?n:{};ct(e,r.start)&&this.manager.dragOperation.status.idle&&((null==s?void 0:s(e,t))||this.handleStart(e,t,n))}}bind(e,t=this.options){return(0,o.QZ)(()=>{var n;const r=null!=(n=e.handle)?n:e.element,s=n=>{(0,i.kx)(n)&&this.handleSourceKeyDown(n,e,t)};if(r)return r.addEventListener("keydown",s),()=>{r.removeEventListener("keydown",s)}})}handleStart(e,t,n){const{element:r}=t;if(!r)throw new Error("Source draggable does not have an associated element");e.preventDefault(),e.stopImmediatePropagation(),(0,i.$v)(r);const{center:s}=new i.yS(r);if(this.manager.actions.start({event:e,coordinates:{x:s.x,y:s.y},source:t}).signal.aborted)return this.cleanup();this.sideEffects();const o=(0,i.YE)(r),a=[this.listeners.bind(o,[{type:"keydown",listener:e=>this.handleKeyDown(e,t,n),options:{capture:!0}}])];W(this,ht).push(...a)}handleKeyDown(e,t,n){const{keyboardCodes:r=pt.keyboardCodes}=null!=n?n:{};if(ct(e,[...r.end,...r.cancel])){e.preventDefault();const t=ct(e,r.cancel);return void this.handleEnd(e,t)}ct(e,r.up)?this.handleMove("up",e):ct(e,r.down)&&this.handleMove("down",e),ct(e,r.left)?this.handleMove("left",e):ct(e,r.right)&&this.handleMove("right",e)}handleEnd(e,t){this.manager.actions.stop({event:e,canceled:t}),this.cleanup()}handleMove(e,t){var n,r;const{shape:i}=this.manager.dragOperation,s=t.shiftKey?5:1;let o={x:0,y:0},a=null!=(r=null==(n=this.options)?void 0:n.offset)?r:pt.offset;if("number"==typeof a&&(a={x:a,y:a}),i){switch(e){case"up":o={x:0,y:-a.y*s};break;case"down":o={x:0,y:a.y*s};break;case"left":o={x:-a.x*s,y:0};break;case"right":o={x:a.x*s,y:0}}(o.x||o.y)&&(t.preventDefault(),this.manager.actions.move({event:t,by:o}))}}sideEffects(){const e=this.manager.registry.plugins.get(st);!1===(null==e?void 0:e.disabled)&&(e.disable(),W(this,ht).push(()=>{e.enable()}))}cleanup(){W(this,ht).forEach(e=>e()),T(this,ht,[])}destroy(){this.cleanup(),this.listeners.clear()}};ht=new WeakMap,ft.configure=(0,r.cD)(ft),ft.defaults=pt;var gt,mt,vt,yt=ft;gt=new WeakMap;mt=new WeakMap,vt=new WeakMap;var bt=class{};bt.Delay=class extends r._l{constructor(){super(...arguments),R(this,mt),R(this,vt)}onEvent(e){switch(e.type){case"pointerdown":T(this,vt,(0,i.e_)(e)),T(this,mt,setTimeout(()=>this.activate(e),this.options.value));break;case"pointermove":if(!W(this,vt))return;const{x:t,y:n}=(0,i.e_)(e),r={x:t-W(this,vt).x,y:n-W(this,vt).y};(0,a.dq)(r,this.options.tolerance)&&this.abort();break;case"pointerup":this.abort()}}abort(){W(this,mt)&&(clearTimeout(W(this,mt)),T(this,vt,void 0),T(this,mt,void 0))}},bt.Distance=class extends r._l{constructor(){super(...arguments),R(this,gt)}onEvent(e){switch(e.type){case"pointerdown":T(this,gt,(0,i.e_)(e));break;case"pointermove":if(!W(this,gt))return;const{x:t,y:n}=(0,i.e_)(e),r={x:t-W(this,gt).x,y:n-W(this,gt).y},{tolerance:s}=this.options;if(s&&(0,a.dq)(r,s))return void this.abort();(0,a.dq)(r,this.options.value)&&this.activate(e);break;case"pointerup":this.abort()}}abort(){T(this,gt,void 0)}};var wt,xt=Object.freeze({activationConstraints(e,t){var n;const{pointerType:r,target:s}=e;if("mouse"!==r||!(0,i.vq)(s)||t.handle!==s&&!(null==(n=t.handle)?void 0:n.contains(s)))return"touch"===r?[new bt.Delay({value:250,tolerance:5})]:(0,i.AI)(s)&&!e.defaultPrevented?[new bt.Delay({value:200,tolerance:0})]:[new bt.Delay({value:200,tolerance:10}),new bt.Distance({value:5})]},preventActivation(e,t){var n;const{target:r}=e;if(r===t.element)return!1;if(r===t.handle)return!1;if(!(0,i.vq)(r))return!1;if(null==(n=t.handle)?void 0:n.contains(r))return!1;const s=(0,i.vg)(r);return s!==t.element&&Boolean(s)}}),kt=class extends r.$A{constructor(e,t){super(e),this.manager=e,this.options=t,R(this,wt,new Set),this.listeners=new i.qR,this.latest={event:void 0,coordinates:void 0},this.handleMove=()=>{const{event:e,coordinates:t}=this.latest;e&&t&&this.manager.actions.move({event:e,to:t})},this.handleCancel=this.handleCancel.bind(this),this.handlePointerUp=this.handlePointerUp.bind(this),this.handleKeyDown=this.handleKeyDown.bind(this)}activationConstraints(e,t,n=this.options){const{activationConstraints:r=xt.activationConstraints}=null!=n?n:{};return"function"==typeof r?r(e,t):r}bind(e,t=this.options){return(0,o.QZ)(()=>{var n;const r=new AbortController,{signal:s}=r,o=n=>{(0,i.EE)(n)&&this.handlePointerDown(n,e,t)};let a=[null!=(n=e.handle)?n:e.element];(null==t?void 0:t.activatorElements)&&(a=Array.isArray(t.activatorElements)?t.activatorElements:t.activatorElements(e));for(const e of a)e&&(_t(e.ownerDocument.defaultView),e.addEventListener("pointerdown",o,{signal:s}));return()=>r.abort()})}handlePointerDown(e,t,n){if(this.disabled||!e.isPrimary||0!==e.button||!(0,i.vq)(e.target)||t.disabled||function(e){return"sensor"in e}(e)||!this.manager.dragOperation.status.idle)return;const{preventActivation:s=xt.preventActivation}=null!=n?n:{};if(null==s?void 0:s(e,t))return;const{target:o}=e,a=(0,i.sb)(o)&&o.draggable&&"true"===o.getAttribute("draggable"),l=(0,i.y4)(t.element),{x:c,y:d}=(0,i.e_)(e);this.initialCoordinates={x:c*l.scaleX+l.x,y:d*l.scaleY+l.y};const u=this.activationConstraints(e,t,n);e.sensor=this;const h=new r.Zm(u,e=>this.handleStart(t,e));h.signal.onabort=()=>this.handleCancel(e),h.onEvent(e),this.controller=h;const p=(0,i.HK)(),f=this.listeners.bind(p,[{type:"pointermove",listener:e=>this.handlePointerMove(e,t)},{type:"pointerup",listener:this.handlePointerUp,options:{capture:!0}},{type:"pointercancel",listener:this.handleCancel},{type:"dragstart",listener:a?this.handleCancel:Et,options:{capture:!0}}]);W(this,wt).add(()=>{f(),this.initialCoordinates=void 0})}handlePointerMove(e,t){var n,r;!1===(null==(n=this.controller)?void 0:n.activated)&&(null==(r=this.controller)||r.onEvent(e));const{status:s}=this.manager.dragOperation;if(s.initializing||s.dragging){const n=(0,i.e_)(e),r=(0,i.y4)(t.element);n.x=n.x*r.scaleX+r.x,n.y=n.y*r.scaleY+r.y,e.preventDefault(),e.stopPropagation(),this.latest.event=e,this.latest.coordinates=n,s.dragging&&i.ck.schedule(this.handleMove)}}handlePointerUp(e){const{status:t}=this.manager.dragOperation;if(!t.idle){e.preventDefault(),e.stopPropagation();const n=!t.initialized,r=(0,i.YE)(e.target),s=r.defaultView;if(!n&&s){const e=e=>{e.target===r.body&&e.detail>0&&(e.preventDefault(),e.stopImmediatePropagation())};s.addEventListener("click",e,!0),s.setTimeout(()=>{s.removeEventListener("click",e,!0)},0)}this.manager.actions.stop({event:e,canceled:n})}this.cleanup()}handleKeyDown(e){"Escape"===e.key&&(e.preventDefault(),this.handleCancel(e))}handleStart(e,t){const{manager:n,initialCoordinates:r}=this;if(!r||!n.dragOperation.status.idle)return;if(t.defaultPrevented)return;const s=n.actions.start({coordinates:r,event:t,source:e});if(s.signal.aborted)return this.cleanup();t.preventDefault();const o=(0,i.YE)(t.target).body;try{o.setPointerCapture(t.pointerId)}catch(e){return void this.handleCancel(t)}const a=(0,i.vq)(t.target)?[t.target,o]:o,l=this.listeners.bind(a,[{type:"touchmove",listener:Et,options:{passive:!1}},{type:"click",listener:Et},{type:"contextmenu",listener:Et},{type:"keydown",listener:this.handleKeyDown}]);W(this,wt).add(l),n.renderer.rendering.then(()=>{!s.signal.aborted&&n.dragOperation.status.dragging&&i.ck.schedule(this.handleMove)})}handleCancel(e){const{dragOperation:t}=this.manager;t.status.initialized&&this.manager.actions.stop({event:e,canceled:!0}),this.cleanup()}cleanup(){const{controller:e}=this;this.controller=void 0,e&&!e.signal.aborted&&e.abort(),this.latest={event:void 0,coordinates:void 0},W(this,wt).forEach(e=>e()),W(this,wt).clear()}destroy(){this.cleanup(),this.listeners.clear()}};wt=new WeakMap,kt.configure=(0,r.cD)(kt),kt.defaults=xt;var Ot=kt;function Et(e){e.preventDefault()}function Mt(){}var St=new WeakSet;function _t(e){e&&!St.has(e)&&(e.addEventListener("touchmove",Mt,{capture:!1,passive:!1}),St.add(e))}var Dt,Ct,At,Pt,jt,Wt,Rt,Tt,It,$t,zt,Lt,Ht,Ft,Nt,Yt,Kt={modifiers:[],plugins:[class extends r.k_{constructor(e,t){super(e);const{id:n,idPrefix:{description:r=L,announcement:s=H}={},announcements:o=N,screenReaderInstructions:a=F,debounce:l=500}=null!=t?t:{},c=n?`${r}-${n}`:(0,i.Ij)(r),d=n?`${s}-${n}`:(0,i.Ij)(s);let u,h,p,f;const g=(e=f)=>{p&&e&&(null==p?void 0:p.nodeValue)!==e&&(p.nodeValue=e)},m=()=>i.ck.schedule(g),v=function(e,t){let n;const r=()=>{clearTimeout(n),n=setTimeout(e,t)};return r.cancel=()=>clearTimeout(n),r}(m,l),y=Object.entries(o).map(([e,t])=>this.manager.monitor.addEventListener(e,(n,r)=>{const i=p;if(!i)return;const s=null==t?void 0:t(n,r);s&&i.nodeValue!==s&&(f=s,q.includes(e)?v():(m(),v.cancel()))})),b=()=>{let e=[];(null==u?void 0:u.isConnected)||(u=function(e,t){const n=document.createElement("div");return n.id=e,n.style.setProperty("display","none"),n.textContent=t,n}(c,a.draggable),e.push(u)),(null==h?void 0:h.isConnected)||(h=function(e){const t=document.createElement("div");return t.id=e,t.setAttribute("role","status"),t.setAttribute("aria-live","polite"),t.setAttribute("aria-atomic","true"),t.style.setProperty("position","fixed"),t.style.setProperty("width","1px"),t.style.setProperty("height","1px"),t.style.setProperty("margin","-1px"),t.style.setProperty("border","0"),t.style.setProperty("padding","0"),t.style.setProperty("overflow","hidden"),t.style.setProperty("clip","rect(0 0 0 0)"),t.style.setProperty("clip-path","inset(100%)"),t.style.setProperty("white-space","nowrap"),t}(d),p=document.createTextNode(""),h.appendChild(p),e.push(h)),e.length>0&&document.body.append(...e)},w=new Set;function x(){for(const e of w)e()}this.registerEffect(()=>{var e;w.clear();for(const t of this.manager.registry.draggables.value){const n=null!=(e=t.handle)?e:t.element;if(n){u&&h||w.add(b),Y(n)&&!(0,i.nr)()||n.hasAttribute("tabindex")||w.add(()=>n.setAttribute("tabindex","0")),n.hasAttribute("role")||"button"===n.tagName.toLowerCase()||w.add(()=>n.setAttribute("role",$)),n.hasAttribute("aria-roledescription")||w.add(()=>n.setAttribute("aria-roledescription",z)),n.hasAttribute("aria-describedby")||w.add(()=>n.setAttribute("aria-describedby",c));const e=K(n)?["aria-pressed","aria-grabbed"]:["aria-grabbed"];for(const r of e){const e=String(t.isDragging);n.getAttribute(r)!==e&&w.add(()=>n.setAttribute(r,e))}const r=String(t.disabled);n.getAttribute("aria-disabled")!==r&&w.add(()=>n.setAttribute("aria-disabled",r))}}w.size>0&&i.ck.schedule(x)}),this.destroy=()=>{super.destroy(),null==u||u.remove(),null==h||h.remove(),y.forEach(e=>e())}}},st,class extends r.k_{constructor(e,t){super(e,t),this.manager=e;const{cursor:n="grabbing"}=null!=t?t:{},r=e.registry.plugins.get(ue),i=null==r?void 0:r.register(`* { cursor: ${n} !important; }`);if(i){const e=this.destroy.bind(this);this.destroy=()=>{i(),e()}}}},Fe,class extends r.k_{constructor(e){super(e),this.manager=e;const t=e.registry.plugins.get(ue),n=null==t?void 0:t.register("* { user-select: none !important; -webkit-user-select: none !important; }");if(this.destroy=(0,o.QZ)(()=>{const{dragOperation:e}=this.manager;if(e.status.initialized)return lt(),document.addEventListener("selectionchange",lt,{capture:!0}),()=>{document.removeEventListener("selectionchange",lt,{capture:!0})}}),n){const e=this.destroy.bind(this);this.destroy=()=>{n(),e()}}}}],sensors:[Ot,yt]},qt=class extends r.ti{constructor(e={}){const t=(0,r.pT)(e.plugins,Kt.plugins),n=(0,r.pT)(e.sensors,Kt.sensors),i=(0,r.pT)(e.modifiers,Kt.modifiers);super(x(w({},e),{plugins:[at,et,ue,...t],sensors:n,modifiers:i}))}},Xt=class extends(At=r.sx,Ct=[s.Kh],Dt=[s.Kh],At){constructor(e,t){var n=e,{element:i,effects:s=()=>[],handle:o}=n,a=O(n,["element","effects","handle"]);super(w({effects:()=>[...s(),()=>{var e,t;const{manager:n}=this;if(!n)return;const i=(null!=(t=null==(e=this.sensors)?void 0:e.map(r.yu))?t:[...n.sensors]).map(e=>(e instanceof r.$A?e:n.registry.register(e.plugin)).bind(this,e instanceof r.$A?void 0:e.options));return function(){i.forEach(e=>e())}}]},a),t),R(this,jt,C(Pt,8,this)),C(Pt,11,this),R(this,Wt,C(Pt,12,this)),C(Pt,15,this),this.element=i,this.handle=o}};Pt=E(At),jt=new WeakMap,Wt=new WeakMap,A(Pt,4,"handle",Ct,Xt,jt),A(Pt,4,"element",Dt,Xt,Wt),D(Pt,Xt);var Vt=class extends(It=r.gL,Tt=[s.Kh],Rt=[s.Kh],It){constructor(e,t){var n=e,{element:r,effects:s=()=>[]}=n,a=O(n,["element","effects"]);const{collisionDetector:c=l.V6}=a,d=e=>{const{manager:t,element:n}=this;if(!n||null===e)return void(this.shape=void 0);if(!t)return;const r=new i.yS(n),s=(0,o.O8)(()=>this.shape);return r&&(null==s?void 0:s.equals(r))?s:(this.shape=r,r)},u=(0,o.vP)(!1);super(x(w({},a),{collisionDetector:c,effects:()=>[...s(),()=>{const{element:e,manager:t}=this;if(!t)return;const{dragOperation:n}=t,{source:r}=n;u.value=Boolean(r&&n.status.initialized&&e&&!this.disabled&&this.accepts(r))},()=>{const{element:e}=this;if(u.value&&e){const t=new i.UX(e,d);return()=>{t.disconnect(),this.shape=void 0}}},()=>{var e;if(null==(e=this.manager)?void 0:e.dragOperation.status.initialized)return()=>{this.shape=void 0}}]}),t),R(this,Nt),R(this,zt,C($t,8,this)),C($t,11,this),R(this,Yt,C($t,12,this)),C($t,15,this),this.element=r,this.refreshShape=()=>d()}set element(e){T(this,Nt,e,Ft)}get element(){var e;return null!=(e=this.proxy)?e:W(this,Nt,Ht)}};$t=E(It),zt=new WeakMap,Nt=new WeakSet,Yt=new WeakMap,Lt=A($t,20,"#element",Tt,Nt,zt),Ht=Lt.get,Ft=Lt.set,A($t,4,"proxy",Rt,Vt,Yt),D($t,Vt)},"./node_modules/.pnpm/@dnd-kit+dom@0.5.1/node_modules/@dnd-kit/dom/utilities.js"(e,t,n){n.d(t,{$v:()=>je,A:()=>w,A$:()=>Te,AI:()=>Ve,Dh:()=>De,EE:()=>Xe,Fk:()=>Pe,Fm:()=>R,HK:()=>M,Ij:()=>Be,Ks:()=>h,Ng:()=>D,Ob:()=>P,Oe:()=>A,Ot:()=>de,P_:()=>Ye,T5:()=>pe,UX:()=>ce,We:()=>Ie,XZ:()=>u,YE:()=>b,Zn:()=>C,_m:()=>z,a_:()=>fe,ae:()=>_e,ck:()=>me,dO:()=>ue,e_:()=>O,g:()=>Se,hZ:()=>T,hl:()=>_,k$:()=>k,kx:()=>qe,nr:()=>S,o8:()=>Ne,qR:()=>$,qt:()=>we,sb:()=>v,sl:()=>Oe,vg:()=>I,vq:()=>Ke,wz:()=>m,y4:()=>Ee,yS:()=>Fe,zk:()=>g});var r=n("./node_modules/.pnpm/@dnd-kit+geometry@0.5.1/node_modules/@dnd-kit/geometry/dist/index.mjs"),i=e=>{throw TypeError(e)},s=(e,t,n)=>t.has(e)||i("Cannot "+n),o=(e,t,n)=>(s(e,t,"read from private field"),t.get(e)),a=(e,t,n)=>t.has(e)?i("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),l=(e,t,n,r)=>(s(e,t,"write to private field"),t.set(e,n),n),c=(e,t,n)=>(s(e,t,"access private method"),n);function d(e){return!!e&&(e instanceof KeyframeEffect||"getKeyframes"in e&&"function"==typeof e.getKeyframes)}function u(e,t){const n=e.getAnimations();let r=null;for(const e of n){if("running"!==e.playState)continue;const{effect:n}=e,i=(d(n)?n.getKeyframes():[]).filter(t);i.length>0&&(r=[i[i.length-1],e])}return r}function h(e){const{width:t,height:n,top:r,left:i,bottom:s,right:o}=e.getBoundingClientRect();return{width:t,height:n,top:r,left:i,bottom:s,right:o}}function p(e){const t=Object.prototype.toString.call(e);return"[object Window]"===t||"[object global]"===t}function f(e){return"nodeType"in e}function g(e){var t,n,r;return e?p(e)?e:f(e)?"defaultView"in e?null!=(t=e.defaultView)?t:window:null!=(r=null==(n=e.ownerDocument)?void 0:n.defaultView)?r:window:window:window}function m(e){const{Document:t}=g(e);return e instanceof t||"nodeType"in e&&e.nodeType===Node.DOCUMENT_NODE}function v(e){return!(!e||p(e))&&(e instanceof g(e).HTMLElement||"namespaceURI"in e&&"string"==typeof e.namespaceURI&&e.namespaceURI.endsWith("html"))}function y(e){return e instanceof g(e).SVGElement||"namespaceURI"in e&&"string"==typeof e.namespaceURI&&e.namespaceURI.endsWith("svg")}function b(e){return e?p(e)?e.document:f(e)?m(e)?e:v(e)||y(e)?e.ownerDocument:document:document:document}function w(e){var t,n,r,i;const{documentElement:s}=b(e),o=g(e).visualViewport,a=null!=(t=null==o?void 0:o.width)?t:s.clientWidth,l=null!=(n=null==o?void 0:o.height)?n:s.clientHeight,c=null!=(r=null==o?void 0:o.offsetTop)?r:0,d=null!=(i=null==o?void 0:o.offsetLeft)?i:0;return{top:c,left:d,right:d+a,bottom:c+l,width:a,height:l}}function x(e,t){if(function(e){return"DETAILS"===e.tagName}(e)&&!1===e.open)return!1;const{overflow:n,overflowX:r,overflowY:i}=getComputedStyle(e);return"visible"===n&&"visible"===r&&"visible"===i}function k(e,t=e.getBoundingClientRect(),n=0){var r,i,s,o,a;let l=t;const{ownerDocument:c}=e,d=null!=(r=c.defaultView)?r:window;let u=e.parentElement;for(;u&&u!==c.documentElement;){if(!x(u)){const e=u.getBoundingClientRect(),t=n*(e.right-e.left),r=n*(e.bottom-e.top),i=n*(e.right-e.left);l={top:Math.max(l.top,e.top-n*(e.bottom-e.top)),right:Math.min(l.right,e.right+t),bottom:Math.min(l.bottom,e.bottom+r),left:Math.max(l.left,e.left-i),width:0,height:0},l.width=l.right-l.left,l.height=l.bottom-l.top}u=u.parentElement}const h=d.visualViewport,p=null!=(i=null==h?void 0:h.offsetTop)?i:0,f=null!=(s=null==h?void 0:h.offsetLeft)?s:0,g=null!=(o=null==h?void 0:h.width)?o:d.innerWidth,m=null!=(a=null==h?void 0:h.height)?a:d.innerHeight,v=n*m,y=n*g;return l={top:Math.max(l.top,p-v),right:Math.min(l.right,f+g+y),bottom:Math.min(l.bottom,p+m+v),left:Math.max(l.left,f-y),width:0,height:0},l.width=l.right-l.left,l.height=l.bottom-l.top,l.width<0&&(l.width=0),l.height<0&&(l.height=0),l}function O(e){return{x:e.clientX,y:e.clientY}}var E="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement;function M(e=document,t=new Set){if(t.has(e))return[];t.add(e);const n=[e];for(const r of Array.from(e.querySelectorAll("iframe, frame")))try{const e=r.contentDocument;e&&!t.has(e)&&n.push(...M(e,t))}catch(e){}try{const r=e.defaultView;if(r&&r!==window.top){const i=r.parent;i&&i.document&&i.document!==e&&n.push(...M(i.document,t))}}catch(e){}return n}function S(){return/^((?!chrome|android).)*safari/i.test(navigator.userAgent)}function _(){var e,t;const n=S()?window.visualViewport:null;return{x:null!=(e=null==n?void 0:n.offsetLeft)?e:0,y:null!=(t=null==n?void 0:n.offsetTop)?t:0}}function D(e){return!(!e||!f(e))&&e instanceof g(e).ShadowRoot}function C(e){if(e&&f(e)){let t=e.getRootNode();if(D(t))return t;if(t instanceof Document)return t}return b(e)}function A(e){return e.matchMedia("(prefers-reduced-motion: reduce)").matches}function P(e){const t="input, textarea, select, canvas, [contenteditable]",n=e.cloneNode(!0),r=Array.from(e.querySelectorAll(t));return Array.from(n.querySelectorAll(t)).forEach((e,t)=>{const n=r[t];if(j(e)&&j(n)&&("file"!==e.type&&(e.value=n.value),"radio"===e.type&&e.name&&(e.name=`Cloned__${e.name}`)),W(e)&&W(n)&&n.width>0&&n.height>0){const t=e.getContext("2d");null==t||t.drawImage(n,0,0)}}),n}function j(e){return"value"in e}function W(e){return"CANVAS"===e.tagName}function R(e,{x:t,y:n}){const r=e.elementFromPoint(t,n);if(function(e){return"IFRAME"===(null==e?void 0:e.tagName)}(r)){const{contentDocument:e}=r;if(e){const{left:i,top:s}=r.getBoundingClientRect();return R(e,{x:t-i,y:n-s})}}return r}var T=new WeakMap;function I(e){return e.closest('\n input:not([disabled]),\n select:not([disabled]),\n textarea:not([disabled]),\n button:not([disabled]),\n a[href],\n [contenteditable]:not([contenteditable="false"])\n ')}var $=class{constructor(){this.entries=new Set,this.clear=()=>{for(const e of this.entries){const[t,{type:n,listener:r,options:i}]=e;t.removeEventListener(n,r,i)}this.entries.clear()}}bind(e,t){const n=Array.isArray(e)?e:[e],r=Array.isArray(t)?t:[t],i=[];for(const e of n)for(const t of r){const{type:n,listener:r,options:s}=t,o=[e,t];e.addEventListener(n,r,s),this.entries.add(o),i.push(o)}const s=this.entries;return function(){for(const e of i){const[t,{type:n,listener:r,options:i}]=e;t.removeEventListener(n,r,i),s.delete(e)}}}};function z(e){const t=null==e?void 0:e.ownerDocument.defaultView;if(t&&t.self!==t.parent)return t.frameElement}function L(e,t){const n=()=>performance.now();let r,i;return function(...s){const o=this;i?(null==r||r(),r=function(e,t){const n=setTimeout(e,t);return()=>clearTimeout(n)}(()=>{e.apply(o,s),i=n()},t-(n()-i))):(e.apply(o,s),i=n())}}var H,F="undefined"!=typeof ResizeObserver?ResizeObserver:class{observe(){}unobserve(){}disconnect(){}},N=class extends F{constructor(e){super(t=>{o(this,H)?e(t,this):l(this,H,!0)}),a(this,H,!1)}};H=new WeakMap;var Y,K,q,X,V,Z,B,U,G,Q,J,ee=Array.from({length:100},(e,t)=>t/100),te=class{constructor(e,t,n={debug:!1,skipInitial:!1}){this.element=e,this.callback=t,a(this,G),this.disconnect=()=>{var e,t,n;l(this,B,!0),null==(e=o(this,q))||e.disconnect(),null==(t=o(this,X))||t.disconnect(),o(this,V).disconnect(),null==(n=o(this,Z))||n.remove()},a(this,Y,!0),a(this,K),a(this,q),a(this,X),a(this,V),a(this,Z),a(this,B,!1),a(this,U,L(()=>{var e,t,n;const{element:i}=this;if(null==(e=o(this,X))||e.disconnect(),o(this,B)||!o(this,Y)||!i.isConnected)return;const s=null!=(t=i.ownerDocument)?t:document,{innerHeight:a,innerWidth:d}=null!=(n=s.defaultView)?n:window,u=i.getBoundingClientRect(),h=k(i,u),{top:p,left:f,bottom:g,right:m}=h,v=-Math.floor(p),y=-Math.floor(f),b=`${v}px ${-Math.floor(d-m)}px ${-Math.floor(a-g)}px ${y}px`;this.boundingClientRect=u,l(this,X,new IntersectionObserver(e=>{const[t]=e,{intersectionRect:n}=t;1!==(1!==t.intersectionRatio?t.intersectionRatio:r.M_.intersectionRatio(n,k(i)))&&o(this,U).call(this)},{threshold:ee,rootMargin:b,root:s})),o(this,X).observe(i),c(this,G,Q).call(this)},75)),this.boundingClientRect=e.getBoundingClientRect(),l(this,Y,function(e,t=e.getBoundingClientRect()){const{width:n,height:r}=k(e,t);return n>0&&r>0}(e,this.boundingClientRect));let i=!0;this.callback=e=>{i&&(i=!1,n.skipInitial)||t(e)};const s=e.ownerDocument;(null==n?void 0:n.debug)&&(l(this,Z,document.createElement("div")),o(this,Z).style.background="rgba(0,0,0,0.15)",o(this,Z).style.position="fixed",o(this,Z).style.pointerEvents="none",s.body.appendChild(o(this,Z))),l(this,V,new IntersectionObserver(t=>{var n,r;const i=t[t.length-1],{boundingClientRect:s,isIntersecting:a}=i,{width:c,height:d}=s,u=o(this,Y);l(this,Y,a),(c||d)&&(u&&!a?(null==(n=o(this,X))||n.disconnect(),this.callback(null),null==(r=o(this,q))||r.disconnect(),l(this,q,void 0),o(this,Z)&&(o(this,Z).style.visibility="hidden")):o(this,U).call(this),a&&!o(this,q)&&(l(this,q,new N(o(this,U))),o(this,q).observe(e)))},{threshold:ee,root:s})),o(this,Y)&&!n.skipInitial&&this.callback(this.boundingClientRect),o(this,V).observe(e)}};Y=new WeakMap,K=new WeakMap,q=new WeakMap,X=new WeakMap,V=new WeakMap,Z=new WeakMap,B=new WeakMap,U=new WeakMap,G=new WeakSet,Q=function(){var e,t;o(this,B)||(c(this,G,J).call(this),e=this.boundingClientRect,t=o(this,K),e===t||e&&t&&e.top==t.top&&e.left==t.left&&e.right==t.right&&e.bottom==t.bottom||(this.callback(this.boundingClientRect),l(this,K,this.boundingClientRect)))},J=function(){if(o(this,Z)){const{top:e,left:t,width:n,height:r}=k(this.element);o(this,Z).style.overflow="hidden",o(this,Z).style.visibility="visible",o(this,Z).style.top=`${Math.floor(e)}px`,o(this,Z).style.left=`${Math.floor(t)}px`,o(this,Z).style.width=`${Math.floor(n)}px`,o(this,Z).style.height=`${Math.floor(r)}px`}};var ne,re,ie,se,oe=new WeakMap,ae=new WeakMap;function le(e,t){let n=oe.get(e);if(!n){const t=new te(e,t=>{const n=oe.get(e);n&&n.callbacks.forEach(e=>e(t))},{skipInitial:!0});n={disconnect:t.disconnect,callbacks:new Set}}return n.callbacks.add(t),oe.set(e,n),()=>{n.callbacks.delete(t),0===n.callbacks.size&&(oe.delete(e),n.disconnect())}}var ce=class{constructor(e,t,n){this.callback=t,a(this,ne),a(this,re,!1),a(this,ie),a(this,se,L(e=>{if(!o(this,re)&&e.target&&"contains"in e.target&&"function"==typeof e.target.contains)for(const t of o(this,ie))if(e.target.contains(t)){this.callback(o(this,ne).boundingClientRect);break}},75));const r=function(e){const t=new Set;let n=z(e);for(;n;)t.add(n),n=z(n);return t}(e),i=function(e,t){const n=new Set;for(const r of e){const e=le(r,t);n.add(e)}return()=>n.forEach(e=>e())}(r,t),s=function(e,t){var n;const r=e.ownerDocument;if(!ae.has(r)){const e=new AbortController,t=new Set;document.addEventListener("scroll",e=>t.forEach(t=>t(e)),{capture:!0,passive:!0,signal:e.signal}),ae.set(r,{disconnect:()=>e.abort(),listeners:t})}const{listeners:i,disconnect:s}=null!=(n=ae.get(r))?n:{};return i&&s?(i.add(t),()=>{i.delete(t),0===i.size&&(s(),ae.delete(r))}):()=>{}}(e,o(this,se));l(this,ie,r),l(this,ne,new te(e,t,n)),this.disconnect=()=>{o(this,re)||(l(this,re,!0),i(),s(),o(this,ne).disconnect())}}};function de(e){return"showPopover"in e&&"hidePopover"in e&&"function"==typeof e.showPopover&&"function"==typeof e.hidePopover}function ue(e){try{de(e)&&e.isConnected&&e.hasAttribute("popover")&&!e.matches(":popover-open")&&e.showPopover()}catch(e){}}function he(e){return!(!E||!e)&&e===b(e).scrollingElement}function pe(e){var t,n;const r=g(e),i=he(e)?w(e):h(e),s=r.visualViewport,o=he(e)?{height:null!=(t=null==s?void 0:s.height)?t:r.innerHeight,width:null!=(n=null==s?void 0:s.width)?n:r.innerWidth}:{height:e.clientHeight,width:e.clientWidth},a={current:{x:e.scrollLeft,y:e.scrollTop},max:{x:e.scrollWidth-o.width,y:e.scrollHeight-o.height}};return{rect:i,position:a,isTop:a.current.y<=0,isLeft:a.current.x<=0,isBottom:a.current.y>=a.max.y,isRight:a.current.x>=a.max.x}}function fe(e,t,n=pe(e)){const{isTop:r,isBottom:i,isLeft:s,isRight:o,position:a}=n,{x:l,y:c}=null!=t?t:{x:0,y:0},d=!r&&a.current.y+c>0,u=!i&&a.current.y+c<a.max.y,h=!s&&a.current.x+l>0,p=!o&&a.current.x+l<a.max.x;return{top:d,bottom:u,left:h,right:p,x:h||p,y:d||u}}ne=new WeakMap,re=new WeakMap,ie=new WeakMap,se=new WeakMap;var ge=class{constructor(e){this.scheduler=e,this.pending=!1,this.tasks=new Set,this.resolvers=new Set,this.flush=()=>{const{tasks:e,resolvers:t}=this;this.pending=!1,this.tasks=new Set,this.resolvers=new Set;for(const t of e)t();for(const e of t)e()}}schedule(e){return this.tasks.add(e),this.pending||(this.pending=!0,this.scheduler(this.flush)),new Promise(e=>this.resolvers.add(e))}},me=new ge(e=>{"function"==typeof requestAnimationFrame?requestAnimationFrame(e):e()}),ve=new ge(e=>setTimeout(e,50)),ye=new Map,be=ye.clear.bind(ye);function we(e,t=!1){if(!t)return xe(e);let n=ye.get(e);return n||(n=xe(e),ye.set(e,n),ve.schedule(be),n)}function xe(e){return g(e).getComputedStyle(e)}var ke={excludeElement:!0,escapeShadowDOM:!0};function Oe(e,t=ke){const{limit:n,excludeElement:r,escapeShadowDOM:i}=t,s=new Set;return e?function t(o){if(null!=n&&s.size>=n)return s;if(!o)return s;if(m(o)&&null!=o.scrollingElement&&!s.has(o.scrollingElement))return s.add(o.scrollingElement),s;if(i&&D(o))return t(o.host);if(!v(o))return y(o)?t(o.parentElement):s;if(s.has(o))return s;const a=we(o,!0);if(r&&o===e||function(e,t=we(e,!0)){const n=/(auto|scroll|overlay)/;return["overflow","overflowX","overflowY"].some(e=>{const r=t[e];return"string"==typeof r&&n.test(r)})}(o,a)&&s.add(o),function(e,t=we(e,!0)){return"fixed"===t.position||"sticky"===t.position}(o,a)){const{scrollingElement:e}=o.ownerDocument;return e&&s.add(e),s}return t(o.parentNode)}(e):s}function Ee(e,t=window.frameElement){const n={x:0,y:0,scaleX:1,scaleY:1};if(!e)return n;let r=z(e);for(;r;){if(r===t)return n;const e=h(r),{x:i,y:s}=Me(r,e);n.x=n.x+e.left,n.y=n.y+e.top,n.scaleX=n.scaleX*i,n.scaleY=n.scaleY*s,r=z(r)}return n}function Me(e,t=h(e)){const n=Math.round(t.width),r=Math.round(t.height);if(v(e))return{x:n/e.offsetWidth,y:r/e.offsetHeight};const i=we(e,!0);return{x:(parseFloat(i.width)||n)/n,y:(parseFloat(i.height)||r)/r}}function Se(e){if(!e||"none"===e)return null;const[t,n,r="0"]=e.split(" "),i={x:parseFloat(t),y:parseFloat(n),z:parseInt(r,10)};return isNaN(i.x)&&isNaN(i.y)?null:{x:isNaN(i.x)?0:i.x,y:isNaN(i.y)?0:i.y,z:isNaN(i.z)?0:i.z}}function _e(e){var t,n,r,i,s,o,a,l,c;const{scale:d,transform:u,translate:h}=e,p=function(e){if(!e||"none"===e)return null;const t=e.split(" "),n=parseFloat(t[0]),r=parseFloat(t[1]);return isNaN(n)&&isNaN(r)?null:{x:isNaN(n)?r:n,y:isNaN(r)?n:r}}(d),f=Se(h),g=function(e){if(e.startsWith("matrix3d(")){const t=e.slice(9,-1).split(/, /);return{x:+t[12],y:+t[13],scaleX:+t[0],scaleY:+t[5]}}if(e.startsWith("matrix(")){const t=e.slice(7,-1).split(/, /);return{x:+t[4],y:+t[5],scaleX:+t[0],scaleY:+t[3]}}return null}(u);if(!g&&!p&&!f)return null;const m=null!=(t=null==p?void 0:p.x)?t:1,v=null!=(n=null==p?void 0:p.y)?n:1,y=null!=(r=null==f?void 0:f.x)?r:0,b=null!=(i=null==f?void 0:f.y)?i:0,w=null!=(s=null==g?void 0:g.x)?s:0,x=null!=(o=null==g?void 0:g.y)?o:0,k=null!=(a=null==g?void 0:g.scaleX)?a:1,O=null!=(l=null==g?void 0:g.scaleY)?l:1;return{x:y+w,y:b+x,z:null!=(c=null==f?void 0:f.z)?c:0,scaleX:m*k,scaleY:v*O}}var De=(e=>(e[e.Idle=0]="Idle",e[e.Forward=1]="Forward",e[e.Reverse=-1]="Reverse",e))(De||{}),Ce={x:.2,y:.2},Ae={x:10,y:10};function Pe(e,t,n,i=25,s=Ce,o=Ae,a=pe(e)){const{x:l,y:c}=t,{rect:d,isTop:u,isBottom:h,isLeft:p,isRight:f}=a,g=Ee(e),m=_e(we(e,!0)),v=null!==m&&(null==m?void 0:m.scaleX)<0,y=null!==m&&(null==m?void 0:m.scaleY)<0,b=new r.M_(d.left*g.scaleX+g.x,d.top*g.scaleY+g.y,d.width*g.scaleX,d.height*g.scaleY),w={x:0,y:0},x={x:0,y:0},k=b.height*s.y,O=b.width*s.x;return k>0&&(!u||y&&!h)&&c<=b.top+k&&1!==(null==n?void 0:n.y)&&l>=b.left-o.x&&l<=b.right+o.x?(w.y=y?1:-1,x.y=i*Math.abs((b.top+k-c)/k)):k>0&&(!h||y&&!u)&&c>=b.bottom-k&&-1!==(null==n?void 0:n.y)&&l>=b.left-o.x&&l<=b.right+o.x&&(w.y=y?-1:1,x.y=i*Math.abs((b.bottom-k-c)/k)),O>0&&(!f||v&&!p)&&l>=b.right-O&&-1!==(null==n?void 0:n.x)&&c>=b.top-o.y&&c<=b.bottom+o.y?(w.x=v?-1:1,x.x=i*Math.abs((b.right-O-l)/O)):O>0&&(!p||v&&!f)&&l<=b.left+O&&1!==(null==n?void 0:n.x)&&c>=b.top-o.y&&c<=b.bottom+o.y&&(w.x=v?1:-1,x.x=i*Math.abs((b.left+O-l)/O)),{direction:w,speed:x}}function je(e,{block:t="nearest",inline:n="nearest"}={}){if(!v(e))return;const r=Oe(e),i=[];for(const s of r){if(!v(s))continue;const{top:r,left:o}=Re(e,s);let a=r,l=o;for(const e of i)a-=e.scrollTop,l-=e.scrollLeft;if("none"!==t){const n=a<s.scrollTop;n!==a+e.offsetHeight>s.scrollTop+s.clientHeight&&(s.scrollTop="center"===t?a-s.clientHeight/2+e.offsetHeight/2:n?a:a+e.offsetHeight-s.clientHeight)}if("none"!==n){const t=l<s.scrollLeft;t!==l+e.offsetWidth>s.scrollLeft+s.clientWidth&&(s.scrollLeft="center"===n?l-s.clientWidth/2+e.offsetWidth/2:t?l:l+e.offsetWidth-s.clientWidth)}i.push(s)}}function We(e){let t=0,n=0,r=e;for(;r;){t+=r.offsetTop,n+=r.offsetLeft;const e=r.offsetParent;if(!v(e))break;t+=e.clientTop,n+=e.clientLeft,r=e}return{top:t,left:n}}function Re(e,t){const n=We(e),r=We(t);return{top:n.top-r.top-t.clientTop,left:n.left-r.left-t.clientLeft}}function Te({element:e,keyframes:t,options:n}){return e.animate(t,n).finished}function Ie(e,t=we(e).translate,n=!0){if(n){const t=u(e,e=>"translate"in e);if(t){const{translate:e=""}=t[0];if("string"==typeof e){const t=Se(e);if(t)return t}}}if(t){const e=Se(t);if(e)return e}return{x:0,y:0,z:0}}var $e=new ge(e=>setTimeout(e,0)),ze=new Map,Le=ze.clear.bind(ze);function He(e,t){const n=function(e){const t=e.ownerDocument;let n=ze.get(t);if(n)return n;n=t.getAnimations(),ze.set(t,n),$e.schedule(Le);const r=n.filter(t=>d(t.effect)&&t.effect.target===e);return ze.set(e,r),n}(e).filter(e=>{var n,r;if(d(e.effect)){const{target:i}=e.effect;if(null==(r=i&&(null==(n=t.isValidTarget)?void 0:n.call(t,i)))||r)return e.effect.getKeyframes().some(e=>{for(const n of t.properties)if(e[n])return!0})}}).map(e=>{const{effect:t,currentTime:n}=e,r=null==t?void 0:t.getComputedTiming().duration;if(!e.pending&&"finished"!==e.playState)return"number"==typeof r&&"number"==typeof n&&n<r?(e.currentTime=r,()=>{e.currentTime=n}):void 0});if(n.length>0)return()=>n.forEach(e=>null==e?void 0:e())}var Fe=class extends r.M_{constructor(e,t={}){var n,r,i,s;const{frameTransform:o=Ee(e),ignoreTransforms:a,getBoundingClientRect:l=h}=t,c=He(e,{properties:["transform","translate","scale","width","height"],isValidTarget:t=>(t!==e||S())&&t.contains(e)}),u=l(e);let p,{top:f,left:g,width:m,height:v}=u;const y=we(e),b=_e(y),w={x:null!=(n=null==b?void 0:b.scaleX)?n:1,y:null!=(r=null==b?void 0:b.scaleY)?r:1},x=function(e,t){const n=e.getAnimations();if(!n.length)return null;let r,i,s,o=!1;for(const e of n){if("running"!==e.playState)continue;const t=d(e.effect)?e.effect.getKeyframes():[],n=t[t.length-1];if(!n)continue;const{transform:a,translate:l,scale:c}=n;"string"==typeof a&&a&&(r=a,o=!0),"string"==typeof l&&l&&(i=l,o=!0),"string"==typeof c&&c&&(s=c,o=!0)}return o?_e({transform:null!=r?r:t.transform,translate:null!=i?i:t.translate,scale:null!=s?s:t.scale}):null}(e,y);null==c||c(),b&&(p=function(e,t,n){const{scaleX:r,scaleY:i,x:s,y:o}=t,a=e.left-s-(1-r)*parseFloat(n),l=e.top-o-(1-i)*parseFloat(n.slice(n.indexOf(" ")+1)),c=r?e.width/r:e.width,d=i?e.height/i:e.height;return{width:c,height:d,top:l,right:a+c,bottom:l+d,left:a}}(u,b,y.transformOrigin),(a||x)&&(f=p.top,g=p.left,m=p.width,v=p.height));const k={width:null!=(i=null==p?void 0:p.width)?i:m,height:null!=(s=null==p?void 0:p.height)?s:v};if(x&&!a&&p){const e=function(e,t,n){const{scaleX:r,scaleY:i,x:s,y:o}=t,a=e.left+s+(1-r)*parseFloat(n),l=e.top+o+(1-i)*parseFloat(n.slice(n.indexOf(" ")+1)),c=r?e.width*r:e.width,d=i?e.height*i:e.height;return{width:c,height:d,top:l,right:a+c,bottom:l+d,left:a}}(p,x,y.transformOrigin);f=e.top,g=e.left,m=e.width,v=e.height,w.x=x.scaleX,w.y=x.scaleY}o&&(a||(g*=o.scaleX,m*=o.scaleX,f*=o.scaleY,v*=o.scaleY),g+=o.x,f+=o.y),super(g,f,m,v),this.scale=w,this.intrinsicWidth=k.width,this.intrinsicHeight=k.height}};function Ne(e){return"style"in e&&"object"==typeof e.style&&null!==e.style&&"setProperty"in e.style&&"removeProperty"in e.style&&"function"==typeof e.style.setProperty&&"function"==typeof e.style.removeProperty}var Ye=class{constructor(e){this.element=e,this.initial=new Map}set(e,t=""){const{element:n}=this;if(Ne(n))for(const[r,i]of Object.entries(e)){const e=`${t}${r}`;this.initial.has(e)||this.initial.set(e,n.style.getPropertyValue(e)),n.style.setProperty(e,"string"==typeof i?i:`${i}px`)}}remove(e,t=""){const{element:n}=this;if(Ne(n))for(const r of e){n.style.removeProperty(`${t}${r}`)}}reset(){const{element:e}=this;if(Ne(e)){for(const[t,n]of this.initial)e.style.setProperty(t,n);""===e.getAttribute("style")&&e.removeAttribute("style")}}};function Ke(e){return!!e&&(e instanceof g(e).Element||f(e)&&e.nodeType===Node.ELEMENT_NODE)}function qe(e){if(!e)return!1;const{KeyboardEvent:t}=g(e.target);return e instanceof t}function Xe(e){if(!e)return!1;const{PointerEvent:t}=g(e.target);return e instanceof t}function Ve(e){if(!Ke(e))return!1;const{tagName:t}=e;return"INPUT"===t||"TEXTAREA"===t||(n=e).hasAttribute("contenteditable")&&"false"!==n.getAttribute("contenteditable");var n}var Ze={};function Be(e){const t=null==Ze[e]?0:Ze[e]+1;return Ze[e]=t,`${e}-${t}`}},"./node_modules/.pnpm/@dnd-kit+geometry@0.5.1/node_modules/@dnd-kit/geometry/dist/index.mjs"(e,t,n){n.d(t,{M_:()=>j,Y5:()=>z,bR:()=>P,dq:()=>I,yX:()=>T});var r,i,s,o,a,l=n("./node_modules/.pnpm/@dnd-kit+state@0.5.1/node_modules/@dnd-kit/state/dist/index.mjs"),c=n("./node_modules/.pnpm/@preact+signals-core@1.14.4/node_modules/@preact/signals-core/dist/signals-core.module.js"),d=Object.create,u=Object.defineProperty,h=Object.getOwnPropertyDescriptor,p=Object.getOwnPropertySymbols,f=Object.prototype.hasOwnProperty,g=Object.prototype.propertyIsEnumerable,m=(e,t)=>(t=Symbol[e])?t:Symbol.for("Symbol."+e),v=e=>{throw TypeError(e)},y=Math.pow,b=(e,t,n)=>t in e?u(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,w=(e,t)=>u(e,"name",{value:t,configurable:!0}),x=["class","method","getter","setter","accessor","field","value","get","set"],k=e=>void 0!==e&&"function"!=typeof e?v("Function expected"):e,O=(e,t,n,r,i)=>({kind:x[e],name:t,metadata:r,addInitializer:e=>n._?v("Already initialized"):i.push(k(e||null))}),E=(e,t)=>b(t,m("metadata"),e[3]),M=(e,t,n,r,i,s)=>{var o,a,l,c,d,p=7&t,f=!!(8&t),g=!!(16&t),m=p>3?e.length+1:p?f?1:2:0,y=x[p+5],b=p>3&&(e[m-1]=[]),M=e[m]||(e[m]=[]),S=p&&(!g&&!f&&(i=i.prototype),p<5&&(p>3||!g)&&h(p<4?i:{get[n](){return D(this,s)},set[n](e){return C(this,s,e)}},n));p?g&&p<4&&w(s,(p>2?"set ":p>1?"get ":"")+n):w(i,n);for(var P=r.length-1;P>=0;P--)c=O(p,n,l={},e[3],M),p&&(c.static=f,c.private=g,d=c.access={has:g?e=>_(i,e):e=>n in e},3^p&&(d.get=g?e=>(1^p?D:A)(e,i,4^p?s:S.get):e=>e[n]),p>2&&(d.set=g?(e,t)=>C(e,i,t,4^p?s:S.set):(e,t)=>e[n]=t)),a=(0,r[P])(p?p<4?g?s:S[y]:p>4?void 0:{get:S.get,set:S.set}:i,c),l._=1,4^p||void 0===a?k(a)&&(p>4?b.unshift(a):p?g?s=a:S[y]=a:i=a):"object"!=typeof a||null===a?v("Object expected"):(k(o=a.get)&&(S.get=o),k(o=a.set)&&(S.set=o),k(o=a.init)&&b.unshift(o));return p||E(e,i),S&&u(i,n,S),g?4^p?s:S:i},S=(e,t,n)=>t.has(e)||v("Cannot "+n),_=(e,t)=>Object(t)!==t?v('Cannot use the "in" operator on this value'):e.has(t),D=(e,t,n)=>(S(e,t,"read from private field"),n?n.call(e):t.get(e)),C=(e,t,n,r)=>(S(e,t,"write to private field"),r?r.call(e,n):t.set(e,n),n),A=(e,t,n)=>(S(e,t,"access private method"),n),P=class e{constructor(e,t){this.x=e,this.y=t}static delta(t,n){return new e(t.x-n.x,t.y-n.y)}static distance(e,t){return Math.hypot(e.x-t.x,e.y-t.y)}static equals(e,t){return e.x===t.x&&e.y===t.y}static from({x:t,y:n}){return new e(t,n)}},j=class e{constructor(e,t,n,r){this.left=e,this.top=t,this.width=n,this.height=r,this.scale={x:1,y:1}}get inverseScale(){return{x:1/this.scale.x,y:1/this.scale.y}}translate(t,n){const{top:r,left:i,width:s,height:o,scale:a}=this,l=new e(i+t,r+n,s,o);return l.scale=((e,t)=>{for(var n in t||(t={}))f.call(t,n)&&b(e,n,t[n]);if(p)for(var n of p(t))g.call(t,n)&&b(e,n,t[n]);return e})({},a),l}get boundingRectangle(){const{width:e,height:t,left:n,top:r,right:i,bottom:s}=this;return{width:e,height:t,left:n,top:r,right:i,bottom:s}}get center(){const{left:e,top:t,right:n,bottom:r}=this;return new P((e+n)/2,(t+r)/2)}get area(){const{width:e,height:t}=this;return e*t}equals(t){if(!(t instanceof e))return!1;const{left:n,top:r,width:i,height:s}=this;return n===t.left&&r===t.top&&i===t.width&&s===t.height}containsPoint(e){const{top:t,left:n,bottom:r,right:i}=this;return t<=e.y&&e.y<=r&&n<=e.x&&e.x<=i}intersectionArea(t){return t instanceof e?function(e,t){const n=Math.max(t.top,e.top),r=Math.max(t.left,e.left),i=Math.min(t.left+t.width,e.left+e.width),s=Math.min(t.top+t.height,e.top+e.height),o=i-r,a=s-n;if(r<i&&n<s){return o*a}return 0}(this,t):0}intersectionRatio(e){const{area:t}=this,n=this.intersectionArea(e);return n/(e.area+t-n)}get bottom(){const{top:e,height:t}=this;return e+t}get right(){const{left:e,width:t}=this;return e+t}get aspectRatio(){const{width:e,height:t}=this;return e/t}get corners(){return[{x:this.left,y:this.top},{x:this.right,y:this.top},{x:this.left,y:this.bottom},{x:this.right,y:this.bottom}]}static from({top:t,left:n,width:r,height:i}){return new e(n,t,r,i)}static delta(e,t,n={x:"center",y:"center"}){const r=(e,t)=>{const r=n[t],i="x"===t?e.left:e.top,s="x"===t?e.width:e.height;return"start"==r?i:"end"==r?i+s:i+s/2};return P.delta({x:r(e,"x"),y:r(e,"y")},{x:r(t,"x"),y:r(t,"y")})}static intersectionRatio(t,n){return e.from(t).intersectionRatio(e.from(n))}};var W,R,T=class extends(s=l.Wf,i=[l.un],r=[l.un],s){constructor(e){var t,n,r;super(P.from(e),(e,t)=>P.equals(e,t)),((e,t,n,r)=>{for(var i=0,s=e[t>>1],o=s&&s.length;i<o;i++)1&t?s[i].call(n):r=s[i].call(n,r)})(a,5,this),r=0,(n=o).has(t=this)?v("Cannot add the same private member more than once"):n instanceof WeakSet?n.add(t):n.set(t,r),this.velocity={x:0,y:0}}get delta(){return P.delta(this.current,this.initial)}get direction(){const{current:e,previous:t}=this;if(!t)return null;const n={x:e.x-t.x,y:e.y-t.y};return n.x||n.y?Math.abs(n.x)>Math.abs(n.y)?n.x>0?"right":"left":n.y>0?"down":"up":null}get current(){return super.current}set current(e){const{current:t}=this,n=P.from(e),r={x:n.x-t.x,y:n.y-t.y},i=Date.now(),s=i-D(this,o),a=e=>Math.round(e/s*100);(0,c.vA)(()=>{C(this,o,i),this.velocity={x:a(r.x),y:a(r.y)},super.current=n})}reset(e=this.defaultValue){super.reset(P.from(e)),this.velocity={x:0,y:0}}};function I({x:e,y:t},n){const r=Math.abs(e),i=Math.abs(t);return"number"==typeof n?Math.sqrt(y(r,2)+y(i,2))>n:"x"in n&&"y"in n?r>n.x&&i>n.y:"x"in n?r>n.x:"y"in n&&i>n.y}a=[,,,d(null!=(R=null==(W=s)?void 0:W[m("metadata")])?R:null)],o=new WeakMap,M(a,2,"delta",i,T),M(a,2,"direction",r,T),E(a,T);var $=(e=>(e.Horizontal="x",e.Vertical="y",e))($||{}),z=Object.values($)},"./node_modules/.pnpm/@dnd-kit+react@0.5.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@dnd-kit/react/hooks.js"(e,t,n){n.d(t,{CH:()=>f,Es:()=>l,FT:()=>u,HO:()=>d,MS:()=>h,QL:()=>p,T_:()=>g});var r=n("react"),i=n("./node_modules/.pnpm/@dnd-kit+state@0.5.1/node_modules/@dnd-kit/state/dist/index.mjs"),s=n("./node_modules/.pnpm/@preact+signals-core@1.14.4/node_modules/@preact/signals-core/dist/signals-core.module.js"),o=n("react-dom"),a=n("./node_modules/.pnpm/@dnd-kit+react@0.5.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@dnd-kit/react/utilities.js");var l="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement?r.useLayoutEffect:r.useEffect;function c(){const e=(0,r.useState)(0)[1];return(0,r.useCallback)(()=>{e(e=>e+1)},[e])}function d(e,t=[],n=!1){const a=(0,r.useRef)(e);return a.current=e,function(e,t=!1){const n=(0,r.useRef)(e.peek()),i=(0,r.useRef)(!1),a=c();return l(()=>(0,s.QZ)(()=>{const r=e.value;if(n.current!==r){if(n.current=r,!i.current)return;t?(0,o.flushSync)(a):a()}}),[e,t,a]),{get value(){return i.current=!0,e.peek()}}}((0,r.useMemo)(()=>(0,i.EW)(()=>a.current()),t),n)}function u(e){const t=(0,r.useRef)(e);return l(()=>{t.current=e},[e]),t}function h(e,t){const n=c(),i=u(t),a=(0,r.useMemo)(()=>{const t=new Map;return{tracked:t,propertyCount:(0,s.vP)(0),active:!1,proxy:e?new Proxy(e,{get(e,n){const r=e[n];return t.has(n)||t.set(n,r),r}}):e}},[e]);return l(()=>{a.propertyCount.value=a.tracked.size}),l(()=>{if(!e)return;const{tracked:t,propertyCount:r}=a;a.active=!0;const l=(0,s.QZ)(()=>{let r=!1,l=!1;for(const[n,o]of t){const a=e[n];Object.is(o,a)||(r=!0,t.set(n,a),l=!0===(0,s.O8)(()=>{var e;return null==(e=i.current)?void 0:e.call(i,n,o,a)})||l)}r&&(l?queueMicrotask(()=>{a.active&&(0,o.flushSync)(n)}):n())});return()=>{a.active=!1,l()}},[e,a,n,i]),a.proxy}function p(e,t){e()}function f(e,t,n=r.useEffect,i=Object.is){const s=(0,r.useRef)(e);n(()=>{const n=s.current;i(e,n)||(s.current=e,t(e,n))},[t,e])}function g(e,t){const n=(0,r.useRef)((0,a.b)(e));l(()=>{const r=(0,a.b)(e);r!==n.current&&(n.current=r,t(r))})}},"./node_modules/.pnpm/@dnd-kit+react@0.5.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@dnd-kit/react/index.js"(e,t,n){n.d(t,{Hd:()=>C,Nj:()=>S,PM:()=>_,XU:()=>E,nM:()=>ie,zM:()=>re});var r=n("react"),i=n("./node_modules/.pnpm/@dnd-kit+dom@0.5.1/node_modules/@dnd-kit/dom/index.js"),s=n("./node_modules/.pnpm/@dnd-kit+abstract@0.5.1/node_modules/@dnd-kit/abstract/index.js"),o=n("./node_modules/.pnpm/@dnd-kit+react@0.5.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@dnd-kit/react/hooks.js"),a=n("./node_modules/.pnpm/@dnd-kit+state@0.5.1/node_modules/@dnd-kit/state/dist/index.mjs"),l=n("./node_modules/.pnpm/@preact+signals-core@1.14.4/node_modules/@preact/signals-core/dist/signals-core.module.js"),c=n("./src/utils/jsxRuntime.ts"),d=n("./node_modules/.pnpm/@dnd-kit+react@0.5.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@dnd-kit/react/utilities.js"),u=Object.defineProperty,h=Object.defineProperties,p=Object.getOwnPropertyDescriptors,f=Object.getOwnPropertySymbols,g=Object.prototype.hasOwnProperty,m=Object.prototype.propertyIsEnumerable,v=(e,t,n)=>t in e?u(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,y=(e,t)=>{for(var n in t||(t={}))g.call(t,n)&&v(e,n,t[n]);if(f)for(var n of f(t))m.call(t,n)&&v(e,n,t[n]);return e},b=(e,t)=>h(e,p(t)),w=new i.ti,x=(0,r.createContext)(w),k=(0,r.memo)((0,r.forwardRef)(({children:e},t)=>{const[n,i]=(0,r.useState)(0),s=(0,r.useRef)(null),a=(0,r.useRef)(null),l=(0,r.useMemo)(()=>({renderer:{get rendering(){var e;return null!=(e=s.current)?e:Promise.resolve()}},trackRendering(e){s.current||(s.current=new Promise(e=>{a.current=e})),(0,r.startTransition)(()=>{e(),i(e=>e+1)})}}),[]);return(0,o.Es)(()=>{var e;null==(e=a.current)||e.call(a),s.current=null},[e,n]),(0,r.useImperativeHandle)(t,()=>l),null})),O=[void 0,a.bD];function E(e){var t=e,{children:n,onCollision:a,onBeforeDragStart:l,onDragStart:d,onDragMove:u,onDragOver:h,onDragEnd:p}=t,v=((e,t)=>{var n={};for(var r in e)g.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&f)for(var r of f(e))t.indexOf(r)<0&&m.call(e,r)&&(n[r]=e[r]);return n})(t,["children","onCollision","onBeforeDragStart","onDragStart","onDragMove","onDragOver","onDragEnd"]);const y=(0,r.useRef)(null),{plugins:b,modifiers:w,sensors:E}=v,M=(0,s.pT)(b,i.FS.plugins),S=(0,s.pT)(E,i.FS.sensors),_=(0,s.pT)(w,i.FS.modifiers),D=(0,o.FT)(l),C=(0,o.FT)(d),A=(0,o.FT)(h),P=(0,o.FT)(u),j=(0,o.FT)(p),W=(0,o.FT)(a),R=function(e){const t=(0,r.useRef)(null);t.current||(t.current=e());return(0,r.useInsertionEffect)(()=>()=>{var e;return null==(e=t.current)?void 0:e.destroy()},[]),t.current}(()=>{var e;return null!=(e=v.manager)?e:new i.ti(v)});return(0,r.useEffect)(()=>{if(!y.current)throw new Error("Renderer not found");const{renderer:e,trackRendering:t}=y.current,{monitor:n}=R;R.renderer=e;const r=[n.addEventListener("beforedragstart",e=>{const n=D.current;n&&t(()=>n(e,R))}),n.addEventListener("dragstart",e=>{var t;return null==(t=C.current)?void 0:t.call(C,e,R)}),n.addEventListener("dragover",e=>{const n=A.current;n&&t(()=>n(e,R))}),n.addEventListener("dragmove",e=>{const n=P.current;n&&t(()=>n(e,R))}),n.addEventListener("dragend",e=>{const n=j.current;n&&t(()=>n(e,R))}),n.addEventListener("collision",e=>{var t;return null==(t=W.current)?void 0:t.call(W,e,R)})];return()=>r.forEach(e=>e())},[R]),(0,o.CH)(M,()=>R&&(R.plugins=M),...O),(0,o.CH)(S,()=>R&&(R.sensors=S),...O),(0,o.CH)(_,()=>R&&(R.modifiers=_),...O),(0,c.FD)(x.Provider,{value:R,children:[(0,c.Y)(k,{ref:y,children:n}),n]})}function M(){return(0,r.useContext)(x)}function S(e){var t;const n=null!=(t=M())?t:void 0,[i]=(0,r.useState)(()=>e(n));return i.manager!==n&&(i.manager=n),(0,o.Es)(i.register,[n,i]),i}function _(e){const{disabled:t,data:n,element:s,handle:l,id:c,modifiers:u,sensors:h,plugins:p}=e,f=S(t=>new i.sx(b(y({},e),{register:!1,handle:(0,d.b)(l),element:(0,d.b)(s)}),t)),g=(0,o.MS)(f,D);return(0,o.CH)(c,()=>f.id=c),(0,o.T_)(l,e=>f.handle=e),(0,o.T_)(s,e=>f.element=e),(0,o.CH)(n,()=>n&&(f.data=n)),(0,o.CH)(t,()=>f.disabled=!0===t),(0,o.CH)(h,()=>f.sensors=h,void 0,a.bD),(0,o.CH)(u,()=>f.modifiers=u,void 0,a.bD),(0,o.CH)(p,()=>f.plugins=p,void 0,a.bD),(0,o.CH)(e.alignment,()=>f.alignment=e.alignment),{draggable:g,get isDragging(){return g.isDragging},get isDropping(){return g.isDropping},get isDragSource(){return g.isDragSource},handleRef:(0,r.useCallback)(e=>{f.handle=null!=e?e:void 0},[f]),ref:(0,r.useCallback)(e=>{var t,n;(e||!(null==(t=f.element)?void 0:t.isConnected)||(null==(n=f.manager)?void 0:n.dragOperation.status.idle))&&(f.element=null!=e?e:void 0)},[f])}}function D(e,t,n){return!("isDragSource"!==e||n||!t)}function C({children:e,className:t,dropAnimation:n,style:s,tag:a,disabled:l}){var d;const u=(0,r.useRef)(null),h=M(),p=null!=(d=(0,o.HO)(()=>null==h?void 0:h.dragOperation.source,[h]).value)?d:null,f="function"==typeof l?l(p):l;(0,r.useEffect)(()=>{if(!u.current||!h||f)return;const e=h.plugins.find(e=>e instanceof i.Gb);return e?(e.overlay=u.current,()=>{e.overlay=void 0}):void 0},[h,f]),(0,r.useEffect)(()=>{if(!h)return;const e=h.plugins.find(e=>e instanceof i.Gb);return e?(e.dropAnimation=n,()=>{e.dropAnimation=void 0}):void 0},[h,n]);const g=(0,r.useMemo)(()=>{if(!h)return null;const e=new Proxy(h.registry,{get:(e,t)=>"register"===t||"unregister"===t?A:e[t]});return new Proxy(h,{get:(t,n)=>"registry"===n?e:t[n]})},[h]);return(0,c.Y)(x.Provider,{value:g,children:(0,r.createElement)(a||"div",{ref:u,className:t,style:s,"data-dnd-overlay":!0},function(){if(!p||f)return null;if("function"==typeof e)return(0,c.Y)(P,{source:p,children:e});return e}())})}function A(){return()=>{}}function P({children:e,source:t}){return e((0,o.MS)(t))}var j,W,R,T,I,$,z,L,H,F,N,Y=Object.create,K=Object.defineProperty,q=Object.getOwnPropertyDescriptor,X=(e,t)=>(t=Symbol[e])?t:Symbol.for("Symbol."+e),V=e=>{throw TypeError(e)},Z=["class","method","getter","setter","accessor","field","value","get","set"],B=e=>void 0!==e&&"function"!=typeof e?V("Function expected"):e,U=(e,t,n,r,i)=>({kind:Z[e],name:t,metadata:r,addInitializer:e=>n._?V("Already initialized"):i.push(B(e||null))}),G=(e,t,n,r,i,s)=>{for(var o,a,l,c=7&t,d=Z[c+5],u=e[2]||(e[2]=[]),h=q(i=i.prototype,n),p=r.length-1;p>=0;p--)(l=U(c,n,a={},e[3],u)).static=false,l.private=false,(l.access={has:e=>n in e}).get=e=>e[n],o=(0,r[p])(h[d],l),a._=1,B(o)&&(h[d]=o);return h&&K(i,n,h),i},Q=(e,t,n)=>t.has(e)||V("Cannot "+n),J=class e{constructor(e,t){this.x=e,this.y=t}static delta(t,n){return new e(t.x-n.x,t.y-n.y)}static distance(e,t){return Math.hypot(e.x-t.x,e.y-t.y)}static equals(e,t){return e.x===t.x&&e.y===t.y}static from({x:t,y:n}){return new e(t,n)}},ee=class extends(R=a.Wf,W=[a.un],j=[a.un],R){constructor(e){var t,n,r;super(J.from(e),(e,t)=>J.equals(e,t)),((e,t,n)=>{for(var r=0,i=e[t>>1],s=i&&i.length;r<s;r++)i[r].call(n)})(I,5,this),r=0,(n=T).has(t=this)?V("Cannot add the same private member more than once"):n instanceof WeakSet?n.add(t):n.set(t,r),this.velocity={x:0,y:0}}get delta(){return J.delta(this.current,this.initial)}get direction(){const{current:e,previous:t}=this;if(!t)return null;const n={x:e.x-t.x,y:e.y-t.y};return n.x||n.y?Math.abs(n.x)>Math.abs(n.y)?n.x>0?"right":"left":n.y>0?"down":"up":null}get current(){return super.current}set current(e){const{current:t}=this,n=J.from(e),r={x:n.x-t.x,y:n.y-t.y},i=Date.now(),s=i-(Q(o=this,a=T,"read from private field"),a.get(o));var o,a;const c=e=>Math.round(e/s*100);(0,l.vA)(()=>{((e,t,n)=>{Q(e,t,"write to private field"),t.set(e,n)})(this,T,i),this.velocity={x:c(r.x),y:c(r.y)},super.current=n})}reset(e=this.defaultValue){super.reset(J.from(e)),this.velocity={x:0,y:0}}};I=[,,,Y(null!=(z=null==($=R)?void 0:$[X("metadata")])?z:null)],T=new WeakMap,G(I,2,"delta",W,ee),G(I,2,"direction",j,ee),L=I,H=ee,F=X("metadata"),N=L[3],F in H?K(H,F,{enumerable:!0,configurable:!0,writable:!0,value:N}):H[F]=N;var te=(e=>(e.Horizontal="x",e.Vertical="y",e))(te||{});Object.values(te);var ne=e=>{var t;return null!=(t=(({dragOperation:e,droppable:t})=>{const n=e.position.current;if(!n)return null;const{id:r}=t;if(!t.shape)return null;if(t.shape.containsPoint(n))return{id:r,value:1/J.distance(t.shape.center,n),type:s.Bp.PointerIntersection,priority:s.zY.High};return null})(e))?t:(({dragOperation:e,droppable:t})=>{const{shape:n}=e;if(!t.shape||!(null==n?void 0:n.current))return null;const r=n.current.intersectionArea(t.shape);if(r){const{position:i}=e,o=J.distance(t.shape.center,i.current);return{id:t.id,value:r/(n.current.area+t.shape.area-r)/o,type:s.Bp.ShapeIntersection,priority:s.zY.Normal}}return null})(e)};function re(e){const{collisionDetector:t,data:n,disabled:s,element:l,id:c,accept:u,type:h}=e,p=S(t=>new i.gL(b(y({},e),{register:!1,element:(0,d.b)(l)}),t)),f=(0,o.MS)(p);return(0,o.CH)(c,()=>p.id=c),(0,o.T_)(l,e=>p.element=e),(0,o.CH)(u,()=>p.accept=u,void 0,a.bD),(0,o.CH)(t,()=>p.collisionDetector=null!=t?t:ne),(0,o.CH)(n,()=>n&&(p.data=n)),(0,o.CH)(s,()=>p.disabled=!0===s),(0,o.CH)(h,()=>p.type=h),{droppable:f,get isDropTarget(){return f.isDropTarget},ref:(0,r.useCallback)(e=>{var t,n;(e||!(null==(t=p.element)?void 0:t.isConnected)||(null==(n=p.manager)?void 0:n.dragOperation.status.idle))&&(p.element=null!=e?e:void 0)},[p])}}function ie(e){const t=M();(0,r.useEffect)(()=>{if(!t)return void 0;const n=Object.entries(e).reduce((e,[n,r])=>{if(r){const i=n.replace(/^on/,"").toLowerCase(),s=t.monitor.addEventListener(i,r);e.push(s)}return e},[]);return()=>n.forEach(e=>null==e?void 0:e())},[t,e])}},"./node_modules/.pnpm/@dnd-kit+react@0.5.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@dnd-kit/react/sortable.js"(e,t,n){n.d(t,{g:()=>_e});var r=n("react"),i=n("./node_modules/.pnpm/@preact+signals-core@1.14.4/node_modules/@preact/signals-core/dist/signals-core.module.js"),s=n("./node_modules/.pnpm/@dnd-kit+state@0.5.1/node_modules/@dnd-kit/state/dist/index.mjs"),o=n("./node_modules/.pnpm/@dnd-kit+abstract@0.5.1/node_modules/@dnd-kit/abstract/index.js"),a=n("./node_modules/.pnpm/@dnd-kit+collision@0.5.1/node_modules/@dnd-kit/collision/dist/index.js"),l=n("./node_modules/.pnpm/@dnd-kit+dom@0.5.1/node_modules/@dnd-kit/dom/index.js"),c=n("./node_modules/.pnpm/@dnd-kit+dom@0.5.1/node_modules/@dnd-kit/dom/utilities.js"),d=n("./node_modules/.pnpm/@dnd-kit+geometry@0.5.1/node_modules/@dnd-kit/geometry/dist/index.mjs"),u=Object.create,h=Object.defineProperty,p=Object.defineProperties,f=Object.getOwnPropertyDescriptor,g=Object.getOwnPropertyDescriptors,m=Object.getOwnPropertySymbols,v=Object.prototype.hasOwnProperty,y=Object.prototype.propertyIsEnumerable,b=e=>{throw TypeError(e)},w=(e,t,n)=>t in e?h(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,x=(e,t)=>{for(var n in t||(t={}))v.call(t,n)&&w(e,n,t[n]);if(m)for(var n of m(t))y.call(t,n)&&w(e,n,t[n]);return e},k=(e,t)=>p(e,g(t)),O=["class","method","getter","setter","accessor","field","value","get","set"],E=e=>void 0!==e&&"function"!=typeof e?b("Function expected"):e,M=(e,t,n,r,i)=>({kind:O[e],name:t,metadata:r,addInitializer:e=>n._?b("Already initialized"):i.push(E(e||null))}),S=(e,t,n,r)=>{for(var i=0,s=e[t>>1],o=s&&s.length;i<o;i++)1&t?s[i].call(n):r=s[i].call(n,r);return r},_=(e,t,n,r,i,s)=>{for(var o,a,l,c,d,u=7&t,p=e.length+1,g=O[u+5],m=e[p-1]=[],v=e[p]||(e[p]=[]),y=(i=i.prototype,f({get[n](){return C(this,s)},set[n](e){return P(this,s,e)}},n)),w=r.length-1;w>=0;w--)(c=M(u,n,l={},e[3],v)).static=false,c.private=false,(d=c.access={has:e=>n in e}).get=e=>e[n],d.set=(e,t)=>e[n]=t,a=(0,r[w])({get:y.get,set:y.set},c),l._=1,void 0===a?E(a)&&(y[g]=a):"object"!=typeof a||null===a?b("Object expected"):(E(o=a.get)&&(y.get=o),E(o=a.set)&&(y.set=o),E(o=a.init)&&m.unshift(o));return y&&h(i,n,y),i},D=(e,t,n)=>t.has(e)||b("Cannot "+n),C=(e,t,n)=>(D(e,t,"read from private field"),t.get(e)),A=(e,t,n)=>t.has(e)?b("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),P=(e,t,n,r)=>(D(e,t,"write to private field"),t.set(e,n),n);function j(e){return e instanceof me||e instanceof ge}var W=Object.defineProperty,R=Object.defineProperties,T=Object.getOwnPropertyDescriptors,I=Object.getOwnPropertySymbols,$=Object.prototype.hasOwnProperty,z=Object.prototype.propertyIsEnumerable,L=(e,t,n)=>t in e?W(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,H=(e,t)=>{for(var n in t||(t={}))$.call(t,n)&&L(e,n,t[n]);if(I)for(var n of I(t))z.call(t,n)&&L(e,n,t[n]);return e},F=(e,t)=>R(e,T(t));function N(e,t,n){if(t===n)return e;const r=e.slice();return r.splice(n,0,r.splice(t,1)[0]),r}function Y(e,t){const n=String(t);return Object.prototype.hasOwnProperty.call(e,n)?n:void 0}function K(e){return"initialIndex"in e&&"number"==typeof e.initialIndex&&"index"in e&&"number"==typeof e.index}function q(e,t){return function(e,t,n){var r,i;const{source:s,target:o,canceled:a}=t.operation;if(!s||!o||a)return"preventDefault"in t&&t.preventDefault(),e;const l=(e,t)=>e===t||null!==e&&"object"==typeof e&&"id"in e&&e.id===t;if(Array.isArray(e)){const r=e.findIndex(e=>l(e,s.id)),i=e.findIndex(e=>l(e,o.id));if(-1===r||-1===i){if(K(s)){const r=s.initialIndex,i=s.index;return r===i||r<0||r>=e.length?("preventDefault"in t&&t.preventDefault(),e):n(e,r,i)}return e}if(!a&&"index"in s&&"number"==typeof s.index){const t=s.index;if(t!==r)return n(e,r,t)}return n(e,r,i)}const c=Object.entries(e);let d,u,h=-1,p=-1;for(const[e,t]of c)if(-1===h&&(h=t.findIndex(e=>l(e,s.id)),-1!==h&&(d=e)),-1===p&&(p=t.findIndex(e=>l(e,o.id)),-1!==p&&(u=e)),-1!==h&&-1!==p)break;if(-1===h&&K(s)){const r=null==s.initialGroup?void 0:Y(e,s.initialGroup),i=s.initialIndex,o=null==s.group?void 0:Y(e,s.group),a=s.index;if(null==r||null==o)return"preventDefault"in t&&t.preventDefault(),e;if(r===o&&i===a)return"preventDefault"in t&&t.preventDefault(),e;if(r===o)return F(H({},e),{[r]:n(e[r],i,a)});const l=e[r][i];return F(H({},e),{[r]:[...e[r].slice(0,i),...e[r].slice(i+1)],[o]:[...e[o].slice(0,a),l,...e[o].slice(a)]})}if(!s.manager)return e;const{dragOperation:f}=s.manager,g=null!=(i=null==(r=f.shape)?void 0:r.current.center)?i:f.position.current;if(null==u){const t=Y(e,o.id);null!=t&&(u=t,p=o.shape&&g.y>o.shape.center.y?e[t].length:0)}if(null==d||null==u||d===u&&h===p){if(null!=d&&d===u&&h===p&&K(s)){const t=null==s.group?void 0:Y(e,s.group);if(null!=s.group&&t!==d||s.index!==h){const r=null==s.group?d:t;if(null!=r){if(d===r)return F(H({},e),{[d]:n(e[d],h,s.index)});const t=e[d][h];return F(H({},e),{[d]:[...e[d].slice(0,h),...e[d].slice(h+1)],[r]:[...e[r].slice(0,s.index),t,...e[r].slice(s.index)]})}}}return"preventDefault"in t&&t.preventDefault(),e}if(d===u)return F(H({},e),{[d]:n(e[d],h,p)});const m=o.shape&&Math.round(g.y)>Math.round(o.shape.center.y)?1:0,v=e[d][h];return F(H({},e),{[d]:[...e[d].slice(0,h),...e[d].slice(h+1)],[u]:[...e[u].slice(0,p+m),v,...e[u].slice(p+m)]})}(e,t,N)}function X(e){const t=new Map;for(const[,n]of e)for(const e of n)t.set(e.id,e.index);return t}function V(e,t,n){var r;for(const[i,s]of t)for(const t of s){const s=e.get(t.id);if(t.index!==s||t.group!==i||!(null==(r=n.get(i))?void 0:r.has(t)))return!0}return!1}var Z="__default__";function B(e,t,n,r){n.insertAdjacentElement(r<t?"afterend":"beforebegin",e)}function U(e,t){return e.index-t.index}function G(e,t){return e.initialIndex-t.initialIndex}function Q(e,t=U){return Array.from(e).sort(t)}var J=[class extends o.k_{constructor(e){super(e);const t=(0,i.QZ)(()=>{const{dragOperation:t}=e;if((0,c.kx)(t.activatorEvent)&&j(t.source)&&t.status.initialized){const t=e.registry.plugins.get(l.HO);if(t)return t.disable(),()=>t.enable()}}),n=e.monitor.addEventListener("dragmove",(e,t)=>{queueMicrotask(()=>{if(this.disabled||e.defaultPrevented||!e.nativeEvent)return;const{dragOperation:n}=t;if(!(0,c.kx)(e.nativeEvent))return;if(!j(n.source))return;if(!n.shape)return;const{actions:r,collisionObserver:s,registry:o}=t,{by:l}=e;if(!l)return;const u=function(e){const{x:t,y:n}=e;if(t>0)return"right";if(t<0)return"left";if(n>0)return"down";if(n<0)return"up"}(l),{source:h,target:p}=n,{center:f}=n.shape.current,g=[],m=[];(0,i.vA)(()=>{for(const e of o.droppables){const{id:t}=e;if(!e.accepts(h)||t===(null==p?void 0:p.id)&&j(e)||!e.element)continue;let n=e.shape;const r=new c.yS(e.element,{getBoundingClientRect:e=>(0,c.k$)(e,void 0,.2)});r.height&&r.width&&(("down"==u&&f.y+10<r.center.y||"up"==u&&f.y-10>r.center.y||"left"==u&&f.x-10>r.center.x||"right"==u&&f.x+10<r.center.x)&&(g.push(e),e.shape=r,m.push(()=>e.shape=n)))}}),e.preventDefault(),s.disable();const v=s.computeCollisions(g,a.y$);(0,i.vA)(()=>m.forEach(e=>e()));const[y]=v;if(!y)return;const{id:b}=y,{index:w,group:x}=h.sortable;r.setDropTarget(b).then(()=>{const{source:e,target:t,shape:i}=n;if(!e||!j(e)||!i)return;const{index:o,group:a,target:l}=e.sortable,u=w!==o||x!==a,h=u?l:null==t?void 0:t.element;if(!h)return;(0,c.$v)(h);const p=new c.yS(h);if(!p)return;const f=d.M_.delta(p,d.M_.from(i.current.boundingRectangle),e.alignment);r.move({by:f}),u?r.setDropTarget(e.id).then(()=>s.enable()):s.enable()})})});this.destroy=()=>{n(),t()}}},class extends o.k_{constructor(e){super(e);const t=()=>{const t=new Map;for(const n of e.registry.droppables)if(n instanceof me){const{sortable:e}=n,{group:r}=e;let i=t.get(r);i||(i=new Set,t.set(r,i)),i.add(e)}return t},n=[e.monitor.addEventListener("dragover",(e,n)=>{if(this.disabled)return;const{dragOperation:r}=n,{source:s,target:o}=r;if(!j(s)||!j(o))return;if(s.sortable===o.sortable)return;const a=t(),l=X(a),c=s.sortable.group===o.sortable.group,d=a.get(s.sortable.group),u=c?d:a.get(o.sortable.group);d&&u&&queueMicrotask(()=>{e.defaultPrevented||n.renderer.rendering.then(()=>{var r,h;const p=t();if(V(l,a,p))return;const f=s.sortable.element,g=o.sortable.element;if(!g||!f)return;if(!c&&o.id===s.sortable.group)return;const m=Q(d),v=c?m:Q(u),y=null!=(r=s.sortable.group)?r:Z,b=null!=(h=o.sortable.group)?h:Z,w={[y]:m,[b]:v},x=q(w,e);if(w===x)return;const k=x[b].indexOf(s.sortable),O=x[b].indexOf(o.sortable);n.collisionObserver.disable(),B(f,k,g,O),(0,i.vA)(()=>{for(const[e,t]of x[y].entries())t.index=e;if(!c)for(const[e,t]of x[b].entries())t.group=o.sortable.group,t.index=e}),n.actions.setDropTarget(s.id).then(()=>n.collisionObserver.enable())})})}),e.monitor.addEventListener("dragend",(e,n)=>{if(!e.canceled)return;const{dragOperation:r}=n,{source:s}=r;j(s)&&(s.sortable.initialIndex===s.sortable.index&&s.sortable.initialGroup===s.sortable.group||queueMicrotask(()=>{const e=t(),r=X(e),o=e.get(s.sortable.initialGroup);o&&n.renderer.rendering.then(()=>{const n=t();if(V(r,e,n))return;const a=Q(o),l=Q(o,G),c=s.sortable.element,d=a[l.indexOf(s.sortable)],u=null==d?void 0:d.element;d&&u&&c&&(B(c,d.index,u,s.index),(0,i.vA)(()=>{for(const t of e.values()){const e=Array.from(t).values();for(const t of e)t.index=t.initialIndex,t.group=t.initialGroup}}))})}))})];this.destroy=()=>{for(const e of n)e()}}}],ee={duration:250,easing:"cubic-bezier(0.25, 1, 0.5, 1)",idle:!1};function te(e){var t,n;return"boolean"==typeof e?{draggable:e,droppable:e}:{draggable:null!=(t=null==e?void 0:e.draggable)&&t,droppable:null!=(n=null==e?void 0:e.droppable)&&n}}var ne,re,ie,se,oe,ae,le,ce,de=new s._Z;re=[s.Kh],ne=[s.Kh];var ue,he,pe,fe=class{constructor(e,t){A(this,se,S(ie,8,this)),S(ie,11,this),A(this,oe),A(this,ae),A(this,le,S(ie,12,this)),S(ie,15,this),A(this,ce),this.register=()=>((0,i.vA)(()=>{var e,t;null==(e=this.manager)||e.registry.register(this.droppable),null==(t=this.manager)||t.registry.register(this.draggable)}),()=>this.unregister()),this.unregister=()=>{(0,i.vA)(()=>{var e,t;null==(e=this.manager)||e.registry.unregister(this.droppable),null==(t=this.manager)||t.registry.unregister(this.draggable)})},this.destroy=()=>{(0,i.vA)(()=>{this.droppable.destroy(),this.draggable.destroy()})};var n=e,{effects:r=()=>[],disabled:s,group:a,index:c,sensors:d,type:u,transition:h=ee,plugins:p}=n,f=((e,t)=>{var n={};for(var r in e)v.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&m)for(var r of m(e))t.indexOf(r)<0&&y.call(e,r)&&(n[r]=e[r]);return n})(n,["effects","disabled","group","index","sensors","type","transition","plugins"]);const g=(0,o.pT)(p,J),b=te(s);this.droppable=new me(k(x({},f),{disabled:b.droppable}),t,this),this.draggable=new ge(k(x({},f),{disabled:b.draggable,plugins:g,effects:()=>[()=>{var e,t,n;const r=null==(e=this.manager)?void 0:e.dragOperation.status;(null==r?void 0:r.initializationPending)&&this.id===(null==(n=null==(t=this.manager)?void 0:t.dragOperation.source)?void 0:n.id)&&de.clear(this.manager),(null==r?void 0:r.dragging)&&de.set(this.manager,this.id,(0,i.O8)(()=>({initialIndex:this.index,initialGroup:this.group})))},()=>{const{index:e,group:t}=this,n=C(this,ae),r=C(this,oe);e===n&&t===r||(P(this,ae,e),P(this,oe,t),this.animate())},()=>{var e,t;const{target:n}=this,{isDragSource:r}=this.draggable;"move"===(null!=(t=null==(e=this.draggable.pluginConfig(l.Gb))?void 0:e.feedback)?t:"default")&&r&&(this.droppable.disabled=!n)},...r()],type:u,sensors:d}),t,this),P(this,ce,f.element),this.manager=t,this.index=c,P(this,ae,c),this.group=a,P(this,oe,a),this.type=u,this.transition=h}get initialIndex(){var e,t;return null!=(t=null==(e=de.get(this.manager,this.id))?void 0:e.initialIndex)?t:this.index}get initialGroup(){var e,t;return null!=(t=null==(e=de.get(this.manager,this.id))?void 0:e.initialGroup)?t:this.group}animate(){(0,i.O8)(()=>{const{manager:e,transition:t}=this,{shape:n}=this.droppable;if(!e)return;const{idle:r}=e.dragOperation.status;n&&t&&(!r||t.idle)&&e.renderer.rendering.then(()=>{const{element:r}=this;if(!r)return;for(const e of r.getAnimations())!("transitionProperty"in e)||"transform"!==e.transitionProperty&&"translate"!==e.transitionProperty&&"scale"!==e.transitionProperty||e.cancel();const i=this.refreshShape();if(!i)return;const s=n.boundingRectangle.left-i.boundingRectangle.left,o=n.boundingRectangle.top-i.boundingRectangle.top,{translate:a}=(0,c.qt)(r),l=(0,c.We)(r,a,!1),d=(0,c.We)(r,a);if(s||o){const n=(0,c.Oe)((0,c.zk)(r))?k(x({},t),{duration:0}):t;(0,c.A$)({element:r,keyframes:{translate:[`${l.x+s}px ${l.y+o}px ${l.z}`,`${d.x}px ${d.y}px ${d.z}`]},options:n}).then(()=>{e.dragOperation.status.dragging||(this.droppable.shape=void 0)})}})})}get manager(){return this.draggable.manager}set manager(e){(0,i.vA)(()=>{this.draggable.manager=e,this.droppable.manager=e})}set element(e){(0,i.vA)(()=>{const t=C(this,ce),n=this.droppable.element,r=this.draggable.element;n&&n!==t||(this.droppable.element=e),r&&r!==t||(this.draggable.element=e),P(this,ce,e)})}get element(){var e,t;const n=C(this,ce);if(n)return null!=(t=null!=(e=c.hZ.get(n))?e:n)?t:this.droppable.element}set target(e){this.droppable.element=e}get target(){return this.droppable.element}set source(e){this.draggable.element=e}get source(){return this.draggable.element}get disabled(){const{disabled:e}=this.draggable,{disabled:t}=this.droppable;return e===t?e:{draggable:e,droppable:t}}set plugins(e){this.draggable.plugins=(0,o.pT)(e,J)}set disabled(e){const t=te(e);(0,i.vA)(()=>{this.droppable.disabled=t.droppable,this.draggable.disabled=t.draggable})}set data(e){(0,i.vA)(()=>{this.droppable.data=e,this.draggable.data=e})}set handle(e){this.draggable.handle=e}set id(e){this.droppable.id=e,this.draggable.id=e}get id(){return this.droppable.id}set sensors(e){this.draggable.sensors=e}set modifiers(e){this.draggable.modifiers=e}set collisionPriority(e){this.droppable.collisionPriority=e}set collisionDetector(e){this.droppable.collisionDetector=null!=e?e:a.V6}set alignment(e){this.draggable.alignment=e}get alignment(){return this.draggable.alignment}set type(e){(0,i.vA)(()=>{this.droppable.type=e,this.draggable.type=e})}get type(){return this.draggable.type}set accept(e){this.droppable.accept=e}get accept(){return this.droppable.accept}get isDropTarget(){return this.droppable.isDropTarget}get isDragSource(){return this.draggable.isDragSource}get isDragging(){return this.draggable.isDragging}get isDropping(){return this.draggable.isDropping}get status(){return this.draggable.status}refreshShape(){return this.droppable.refreshShape()}accepts(e){return this.droppable.accepts(e)}};ie=[,,,u(null)],se=new WeakMap,oe=new WeakMap,ae=new WeakMap,le=new WeakMap,ce=new WeakMap,_(ie,4,"index",re,fe,se),_(ie,4,"group",ne,fe,le),ue=ie,w(fe,(he="metadata",(pe=Symbol[he])?pe:Symbol.for("Symbol."+he)),ue[3]);var ge=class extends l.sx{constructor(e,t,n){super(e,t),this.sortable=n}get index(){return this.sortable.index}get initialIndex(){return this.sortable.initialIndex}get group(){return this.sortable.group}get initialGroup(){return this.sortable.initialGroup}},me=class extends l.gL{constructor(e,t,n){super(e,t),this.sortable=n}get index(){return this.sortable.index}get group(){return this.sortable.group}},ve=n("./node_modules/.pnpm/@dnd-kit+react@0.5.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@dnd-kit/react/index.js"),ye=n("./node_modules/.pnpm/@dnd-kit+react@0.5.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@dnd-kit/react/hooks.js"),be=n("./node_modules/.pnpm/@dnd-kit+react@0.5.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@dnd-kit/react/utilities.js"),we=Object.defineProperty,xe=Object.defineProperties,ke=Object.getOwnPropertyDescriptors,Oe=Object.getOwnPropertySymbols,Ee=Object.prototype.hasOwnProperty,Me=Object.prototype.propertyIsEnumerable,Se=(e,t,n)=>t in e?we(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;function _e(e){const{accept:t,collisionDetector:n,collisionPriority:o,id:a,data:l,element:c,handle:d,index:u,group:h,disabled:p,modifiers:f,sensors:g,target:m,type:v,plugins:y}=e,b=function(e){return null===e?null:x(x({},ee),e)}(e.transition),w=(0,ve.Nj)(t=>{return new fe((n=((e,t)=>{for(var n in t||(t={}))Ee.call(t,n)&&Se(e,n,t[n]);if(Oe)for(var n of Oe(t))Me.call(t,n)&&Se(e,n,t[n]);return e})({},e),r={transition:b,register:!1,handle:(0,be.b)(d),element:(0,be.b)(c),target:(0,be.b)(m)},xe(n,ke(r))),t);var n,r}),k=(0,ye.MS)(w,De);return(0,ye.CH)(a,()=>w.id=a),(0,ye.Es)(()=>{(0,i.vA)(()=>{w.group=h,w.index=u})},[w,h,u]),(0,ye.CH)(v,()=>w.type=v),(0,ye.CH)(t,()=>w.accept=t,void 0,s.bD),(0,ye.CH)(l,()=>l&&(w.data=l)),(0,ye.CH)(u,()=>{var e;(null==(e=w.manager)?void 0:e.dragOperation.status.idle)&&(null==b?void 0:b.idle)&&w.refreshShape()},ye.QL),(0,ye.T_)(d,e=>w.handle=e),(0,ye.T_)(c,e=>w.element=e),(0,ye.T_)(m,e=>w.target=e),(0,ye.CH)(p,()=>w.disabled=null!=p&&p,void 0,s.bD),(0,ye.CH)(g,()=>w.sensors=g,void 0,s.bD),(0,ye.CH)(n,()=>w.collisionDetector=n),(0,ye.CH)(o,()=>w.collisionPriority=o),(0,ye.CH)(y,()=>w.plugins=y,void 0,s.bD),(0,ye.CH)(b,()=>w.transition=b,void 0,s.bD),(0,ye.CH)(f,()=>w.modifiers=f,void 0,s.bD),(0,ye.CH)(e.alignment,()=>w.alignment=e.alignment),{sortable:k,get isDragging(){return k.isDragging},get isDropping(){return k.isDropping},get isDragSource(){return k.isDragSource},get isDropTarget(){return k.isDropTarget},handleRef:(0,r.useCallback)(e=>{w.handle=null!=e?e:void 0},[w]),ref:(0,r.useCallback)(e=>{var t,n;(e||!(null==(t=w.element)?void 0:t.isConnected)||(null==(n=w.manager)?void 0:n.dragOperation.status.idle))&&(w.element=null!=e?e:void 0)},[w]),sourceRef:(0,r.useCallback)(e=>{var t,n;(e||!(null==(t=w.source)?void 0:t.isConnected)||(null==(n=w.manager)?void 0:n.dragOperation.status.idle))&&(w.source=null!=e?e:void 0)},[w]),targetRef:(0,r.useCallback)(e=>{var t,n;(e||!(null==(t=w.target)?void 0:t.isConnected)||(null==(n=w.manager)?void 0:n.dragOperation.status.idle))&&(w.target=null!=e?e:void 0)},[w])}}function De(e,t,n){return!("isDragSource"!==e||n||!t)}},"./node_modules/.pnpm/@dnd-kit+react@0.5.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@dnd-kit/react/utilities.js"(e,t,n){function r(e){var t;if(null!=e)return function(e){return null!=e&&"object"==typeof e&&"current"in e}(e)?null!=(t=e.current)?t:void 0:e}n.d(t,{b:()=>r})},"./node_modules/.pnpm/@dnd-kit+state@0.5.1/node_modules/@dnd-kit/state/dist/index.mjs"(e,t,n){n.d(t,{EW:()=>Z,Kh:()=>U,P9:()=>ie,Wf:()=>re,_Z:()=>se,bD:()=>B,un:()=>G,zb:()=>J});var r,i,s,o,a,l,c,d,u,h,p,f,g,m,v,y,b,w,x,k,O=n("./node_modules/.pnpm/@preact+signals-core@1.14.4/node_modules/@preact/signals-core/dist/signals-core.module.js"),E=Object.create,M=Object.defineProperty,S=Object.defineProperties,_=Object.getOwnPropertyDescriptor,D=Object.getOwnPropertyDescriptors,C=Object.getOwnPropertySymbols,A=Object.prototype.hasOwnProperty,P=Object.prototype.propertyIsEnumerable,j=(e,t)=>(t=Symbol[e])?t:Symbol.for("Symbol."+e),W=e=>{throw TypeError(e)},R=(e,t,n)=>t in e?M(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,T=(e,t)=>M(e,"name",{value:t,configurable:!0}),I=["class","method","getter","setter","accessor","field","value","get","set"],$=e=>void 0!==e&&"function"!=typeof e?W("Function expected"):e,z=(e,t,n,r,i)=>({kind:I[e],name:t,metadata:r,addInitializer:e=>n._?W("Already initialized"):i.push($(e||null))}),L=(e,t)=>R(t,j("metadata"),e[3]),H=(e,t,n,r)=>{for(var i=0,s=e[t>>1],o=s&&s.length;i<o;i++)1&t?s[i].call(n):r=s[i].call(n,r);return r},F=(e,t,n,r,i,s)=>{var o,a,l,c,d,u=7&t,h=!!(8&t),p=!!(16&t),f=u>3?e.length+1:u?h?1:2:0,g=I[u+5],m=u>3&&(e[f-1]=[]),v=e[f]||(e[f]=[]),y=u&&(!p&&!h&&(i=i.prototype),u<5&&(u>3||!p)&&_(u<4?i:{get[n](){return K(this,s)},set[n](e){return X(this,s,e)}},n));u?p&&u<4&&T(s,(u>2?"set ":u>1?"get ":"")+n):T(i,n);for(var b=r.length-1;b>=0;b--)c=z(u,n,l={},e[3],v),u&&(c.static=h,c.private=p,d=c.access={has:p?e=>Y(i,e):e=>n in e},3^u&&(d.get=p?e=>(1^u?K:V)(e,i,4^u?s:y.get):e=>e[n]),u>2&&(d.set=p?(e,t)=>X(e,i,t,4^u?s:y.set):(e,t)=>e[n]=t)),a=(0,r[b])(u?u<4?p?s:y[g]:u>4?void 0:{get:y.get,set:y.set}:i,c),l._=1,4^u||void 0===a?$(a)&&(u>4?m.unshift(a):u?p?s=a:y[g]=a:i=a):"object"!=typeof a||null===a?W("Object expected"):($(o=a.get)&&(y.get=o),$(o=a.set)&&(y.set=o),$(o=a.init)&&m.unshift(o));return u||L(e,i),y&&M(i,n,y),p?4^u?s:y:i},N=(e,t,n)=>t.has(e)||W("Cannot "+n),Y=(e,t)=>Object(t)!==t?W('Cannot use the "in" operator on this value'):e.has(t),K=(e,t,n)=>(N(e,t,"read from private field"),n?n.call(e):t.get(e)),q=(e,t,n)=>t.has(e)?W("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),X=(e,t,n,r)=>(N(e,t,"write to private field"),r?r.call(e,n):t.set(e,n),n),V=(e,t,n)=>(N(e,t,"access private method"),n);function Z(e,t){if(t){let n;return(0,O.EW)(()=>{const r=e();return r&&n&&t(n,r)?n:(n=r,r)})}return(0,O.EW)(e)}function B(e,t){if(Object.is(e,t))return!0;if(null===e||null===t)return!1;if("function"==typeof e&&"function"==typeof t)return e===t;if(e instanceof Set&&t instanceof Set){if(e.size!==t.size)return!1;for(const n of e)if(!t.has(n))return!1;return!0}if(Array.isArray(e)){if(!Array.isArray(t)||e.length!==t.length)return!1;return!e.some((e,n)=>!B(e,t[n]))}if("object"==typeof e&&"object"==typeof t){const n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;return!n.some(n=>!B(e[n],t[n]))}return!1}function U({get:e},t){return{init:e=>(0,O.vP)(e),get(){return e.call(this).value},set(t){const n=e.call(this);n.peek()!==t&&(n.value=t)}}}function G(e,t){const n=new WeakMap;return function(){let t=n.get(this);return t||(t=Z(e.bind(this)),n.set(this,t)),t.value}}function Q(e=!0){return function(t,n){n.addInitializer(function(){const t="field"===n.kind||n.static?this:Object.getPrototypeOf(this),r=Object.getOwnPropertyDescriptor(t,n.name);var i;r&&Object.defineProperty(t,n.name,(i=((e,t)=>{for(var n in t||(t={}))A.call(t,n)&&R(e,n,t[n]);if(C)for(var n of C(t))P.call(t,n)&&R(e,n,t[n]);return e})({},r),S(i,D({enumerable:e}))))})}}function J(...e){const t=e.map(e=>(0,O.QZ)(e));return()=>t.forEach(e=>e())}l=[U],a=[U],o=[U],s=[Q()],i=[Q()],r=[Q()];var ee,te,ne,re=class{constructor(e,t=Object.is){this.defaultValue=e,this.equals=t,H(c,5,this),q(this,f),q(this,d,H(c,8,this)),H(c,11,this),q(this,g,H(c,12,this)),H(c,15,this),q(this,b,H(c,16,this)),H(c,19,this),this.reset=this.reset.bind(this),this.reset()}get current(){return K(this,f,x)}get initial(){return K(this,f,h)}get previous(){return K(this,f,v)}set current(e){const t=(0,O.O8)(()=>K(this,f,x));e&&t&&this.equals(t,e)||(0,O.vA)(()=>{K(this,f,h)||X(this,f,e,p),X(this,f,t,y),X(this,f,e,k)})}reset(e=this.defaultValue){(0,O.vA)(()=>{X(this,f,void 0,y),X(this,f,e,p),X(this,f,e,k)})}};function ie(e){return(0,O.O8)(()=>{const t={};for(const n in e)t[n]=e[n];return t})}c=[,,,E(null!=(te=null==(ee=null)?void 0:ee[j("metadata")])?te:null)],d=new WeakMap,f=new WeakSet,g=new WeakMap,b=new WeakMap,u=F(c,20,"#initial",l,f,d),h=u.get,p=u.set,m=F(c,20,"#previous",a,f,g),v=m.get,y=m.set,w=F(c,20,"#current",o,f,b),x=w.get,k=w.set,F(c,2,"current",s,re),F(c,2,"initial",i,re),F(c,2,"previous",r,re),L(c,re);var se=class{constructor(){q(this,ne,new WeakMap)}get(e,t){var n;return e?null==(n=K(this,ne).get(e))?void 0:n.get(t):void 0}set(e,t,n){var r;if(e)return K(this,ne).has(e)||K(this,ne).set(e,new Map),null==(r=K(this,ne).get(e))?void 0:r.set(t,n)}clear(e){var t;return e?null==(t=K(this,ne).get(e))?void 0:t.clear():void 0}};ne=new WeakMap}}]);
|