1!function(){try{var e="u">typeof window?window:"u">typeof global?global:"u">typeof globalThis?globalThis:"u">typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="75d4af1c-66d2-4271-9633-3ea41128957f",e._sentryDebugIdIdentifier="sentry-dbid-75d4af1c-66d2-4271-9633-3ea41128957f")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8704],{5920:(e,t,r)=>{"use strict";r.d(t,{t1:()=>l});var n=r(66352),i=r(95132),s=r(16156);let o="label";function a(e,t){"function"==typeof e?e(t):e&&(e.current=t)}function u(e,t,r=o){let n=[];e.datasets=t.map(t=>{let i=e.datasets.find(e=>e[r]===t[r]);return!i||!t.data||n.includes(i)?{...t}:(n.push(i),Object.assign(i,t),i)})}let l=(0,i.forwardRef)(function(e,t){let{height:r=150,width:l=300,redraw:c=!1,datasetIdKey:d,type:g,data:h,options:f,plugins:p=[],fallbackContent:v,updateMode:D,...m}=e,y=(0,i.useRef)(null),O=(0,i.useRef)(null),b=()=>{y.current&&(O.current=new s.t1(y.current,{type:g,data:function(e,t=o){let r={labels:[],datasets:[]};return r.labels=e.labels,u(r,e.datasets,t),r}(h,d),options:f&&{...f},plugins:p}),a(t,O.current))},S=()=>{a(t,null),O.current&&(O.current.destroy(),O.current=null)};return(0,i.useEffect)(()=>{var e;let t;!c&&O.current&&f&&(e=O.current,(t=e.options)&&f&&Object.assign(t,f))},[c,f]),(0,i.useEffect)(()=>{!c&&O.current&&(O.current.config.data.labels=h.labels)},[c,h.labels]),(0,i.useEffect)(()=>{!c&&O.current&&h.datasets&&u(O.current.config.data,h.datasets,d)},[c,h.datasets]),(0,i.useEffect)(()=>{O.current&&(c?(S(),setTimeout(b)):O.current.update(D))},[c,f,h.labels,h.datasets,D]),(0,i.useEffect)(()=>{O.current&&(S(),setTimeout(b))},[g]),(0,i.useEffect)(()=>(b(),()=>S()),[]),(0,n.jsx)("canvas",{ref:y,role:"img",height:r,width:l,...m,children:v})})},12257:(e,t,r)=>{"use strict";r.d(t,{j:()=>o});var n=r(81206),i=r(95132),s=r(32542);function o(e,t,r){return function(e,t,r){let[o,a]=function(e,t,r){let[o,a]=(0,i.useState)(()=>t(e)),u=(0,i.useCallback)(()=>{let i=t(e);!n(o,i)&&(a(i),r&&r())},[o,e,r]);return(0,s.E)(u),[o,u]}(e,t,r);return(0,s.E)(function(){let t=e.getHandlerId();if(null!=t)return e.subscribeToStateChange(a,{handlerIds:[t]})},[e,a]),o}(t,e||(()=>({})),()=>r.reconnect())}},15418:(e,t,r)=>{"use strict";r.d(t,{Q:()=>J});var n,i,s=r(66352);function o(e){return"Minified Redux error #"+e+"; visit https://redux.js.org/Errors?code="+e+" for the full message or use the non-minified dev environment for full errors. "}var a="function"==typeof Symbol&&Symbol.observable||"@@observable",u=function(){return Math.random().toString(36).substring(7).split("").join(".")},l={INIT:"@@redux/INIT"+u(),REPLACE:"@@redux/REPLACE"+u(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+u()}},c=r(85454);function d(e){return"object"==typeof e}let g="dnd-core/INIT_COORDS",h="dnd-core/BEGIN_DRAG",f="dnd-core/PUBLISH_DRAG_SOURCE",p="dnd-core/HOVER",v="dnd-core/DROP",D="dnd-core/END_DRAG";function m(e,t){return{type:g,payload:{sourceClientOffset:t||null,clientOffset:e||null}}}let y={type:g,payload:{clientOffset:null,sourceClientOffset:null}};function O(e,t){return null===t?null===e:Array.isArray(e)?e.some(e=>e===t):e===t}class b{receiveBackend(e){this.backend=e}getMonitor(){return this.monitor}getBackend(){return this.backend}getRegistry(){return this.monitor.registry}getActions(){var e,t,r,n,i;let s=this,{dispatch:o}=this.store,a={beginDrag:(e=this,function(t=[],r={publishSource:!0}){var n,i,s,o,a;let{publishSource:u=!0,clientOffset:l,getSourceClientOffset:g}=r,f=e.getMonitor(),p=e.getRegistry();e.dispatch(m(l)),n=t,i=f,s=p,(0,c.V)(!i.isDragging(),"Cannot call beginDrag while dragging."),n.forEach(function(e){(0,c.V)(s.getSource(e),"Expected sourceIds to be registered.")});let v=function(e,t){let r=null;for(let n=e.length-1;n>=0;n--)if(t.canDragSource(e[n])){r=e[n];break}return r}(t,f);if(null==v)return void e.dispatch(y);let D=null;if(l){if(!g)throw Error("getSourceClientOffset must be defined");o=g,(0,c.V)("function"==typeof o,"When clientOffset is provided, getSourceClientOffset must be a function."),D=g(v)}
1e.dispatch(m(l,D));let O=p.getSource(v).beginDrag(f,v);if(null!=O){return a=O,(0,c.V)(d(a),"Item must be an object."),p.pinSource(v),{type:h,payload:{itemType:p.getSourceType(v),item:O,sourceId:v,clientOffset:l||null,sourceClientOffset:D||null,isSourcePublic:!!u}}}}),publishDragSource:(t=this,function(){if(t.getMonitor().isDragging())return{type:f}}),hover:(r=this,function(e,{clientOffset:t}={}){var n,i,s,o;n=e,(0,c.V)(Array.isArray(n),"Expected targetIds to be an array.");let a=e.slice(0),u=r.getMonitor(),l=r.getRegistry();return function(e,t,r){for(let n=e.length-1;n>=0;n--){let i=e[n];O(t.getTargetType(i),r)||e.splice(n,1)}}(a,l,u.getItemType()),function(e,t,r){(0,c.V)(t.isDragging(),"Cannot call hover while not dragging."),(0,c.V)(!t.didDrop(),"Cannot call hover after drop.");for(let t=0;t<e.length;t++){let n=e[t];(0,c.V)(e.lastIndexOf(n)===t,"Expected targetIds to be unique in the passed array.");let i=r.getTarget(n);(0,c.V)(i,"Expected targetIds to be registered.")}}(a,u,l),i=a,s=u,o=l,i.forEach(function(e){o.getTarget(e).hover(s,e)}),{type:p,payload:{targetIds:a,clientOffset:t||null}}}),drop:(n=this,function(e={}){var t,r;let i,s=n.getMonitor(),o=n.getRegistry();t=s,(0,c.V)(t.isDragging(),"Cannot call drop while not dragging."),(0,c.V)(!t.didDrop(),"Cannot call drop twice during one drag operation."),((i=(r=s).getTargetIds().filter(r.canDropOnTarget,r)).reverse(),i).forEach((t,r)=>{var i,a,u,l,g;let h,f,p={type:v,payload:{dropResult:function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),n.forEach(function(t){var n;n=r[t],t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n})}return e}({},e,(i=t,a=r,u=o,l=s,g=f=(h=u.getTarget(i))?h.drop(l,i):void 0,(0,c.V)(void 0===g||d(g),"Drop result must either be an object or undefined."),void 0===f&&(f=0===a?{}:l.getDropResult()),f))}};n.dispatch(p)})}),endDrag:(i=this,function(){var e;let t=i.getMonitor(),r=i.getRegistry();e=t,(0,c.V)(e.isDragging(),"Cannot call endDrag while not dragging.");let n=t.getSourceId();return null!=n&&(r.getSource(n,!0).endDrag(t,n),r.unpinSource()),{type:D}})};return Object.keys(a).reduce((e,t)=>{let r=a[t];return e[t]=(...e)=>{let t=r.apply(s,e);void 0!==t&&o(t)},e},{})}dispatch(e){this.store.dispatch(e)}constructor(e,t){this.isSetUp=!1,this.handleRefCountChange=()=>{let e=this.store.getState().refCount>0;this.backend&&(e&&!this.isSetUp?(this.backend.setup(),this.isSetUp=!0):!e&&this.isSetUp&&(this.backend.teardown(),this.isSetUp=!1))},this.store=e,this.monitor=t,e.subscribe(this.handleRefCountChange)}}function S(e,t){return{x:e.x-t.x,y:e.y-t.y}}let T=[],I=[];T.__IS_NONE__=!0,I.__IS_ALL__=!0;class E{subscribeToStateChange(e,t={}){let{handlerIds:r}=t;(0,c.V)("function"==typeof e,"listener must be a function."),(0,c.V)(void 0===r||Array.isArray(r),"handlerIds, when specified, must be an array of strings.");let n=this.store.getState().stateId,i=()=>{let t=this.store.getState(),i=t.stateId;try{i===n||i===n+1&&!function(e,t){return e!==T&&(e===I||void 0===t||t.filter(t=>e.indexOf(t)>-1).length>0)}(t.dirtyHandlerIds,r)||e()}finally{n=i}};return this.store.subscribe(i)}subscribeToOffsetChange(e){(0,c.V)("function"==typeof e,"listener must be a function.");let t=this.store.getState().dragOffset,r=()=>{let r=this.store.getState().dragOffset;r!==t&&(t=r,e())};return this.store.subscribe(r)}canDragSource(e){if(!e)return!1;let t=this.registry.getSource(e);return(0,c.V)(t,`Expected to find a valid source. sourceId=${e}`),!this.isDragging()&&t.canDrag(this,e)}canDropOnTarget(e){if(!e)return!1;let t=this.registry.getTarget(e);return(0,c.V)(t,`Expected to find a valid target. targetId=${e}`),!(!this.isDragging()||this.didDrop())&&O(this.registry.getTargetType(e),this.getItemType())&&t.canDrop(this,e)}isDragging(){return!!this.getItemType()}isDraggingSource(e){if(!e)return!1;let t=this.registry.getSource(e,!0);return(0,c.V)(t,`Expected to find a valid source. sourceId=${e}`),!!this.isDragging()&&!!this.isSourcePublic()&&this.registry.getSourceType(e)===this.getItemType()&&t.isDragging(this,e)}isOverTarget(e,t={shallow:!1}){if(!e)return!1;let{shallow:r}=t;if(!this.isDragging())return!1;let n=this.registry.getTargetType(e),i=this.getItemType();if(i&&!O(n,i))return!1;let s=this.getTargetIds();if(!s.length)return!1;let o=s.indexOf(e);return r?o===s.length-1:o>-1}getItemType(){return this.store.getState().dragOperation.itemType}
1getItem(){return this.store.getState().dragOperation.item}getSourceId(){return this.store.getState().dragOperation.sourceId}getTargetIds(){return this.store.getState().dragOperation.targetIds}getDropResult(){return this.store.getState().dragOperation.dropResult}didDrop(){return this.store.getState().dragOperation.didDrop}isSourcePublic(){return!!this.store.getState().dragOperation.isSourcePublic}getInitialClientOffset(){return this.store.getState().dragOffset.initialClientOffset}getInitialSourceClientOffset(){return this.store.getState().dragOffset.initialSourceClientOffset}getClientOffset(){return this.store.getState().dragOffset.clientOffset}getSourceClientOffset(){return function(e){let{clientOffset:t,initialClientOffset:r,initialSourceClientOffset:n}=e;return t&&r&&n?S({x:t.x+n.x,y:t.y+n.y},r):null}(this.store.getState().dragOffset)}getDifferenceFromInitialOffset(){return function(e){let{clientOffset:t,initialClientOffset:r}=e;return t&&r?S(t,r):null}(this.store.getState().dragOffset)}constructor(e,t){this.store=e,this.registry=t}}let w="u">typeof global?global:self,C=w.MutationObserver||w.WebKitMutationObserver;function P(e){return function(){let t=setTimeout(n,0),r=setInterval(n,50);function n(){clearTimeout(t),clearInterval(r),e()}}}let N="function"==typeof C?function(e){let t=1,r=new C(e),n=document.createTextNode("");return r.observe(n,{characterData:!0}),function(){n.data=t=-t}}:P;class R{enqueueTask(e){let{queue:t,requestFlush:r}=this;t.length||(r(),this.flushing=!0),t[t.length]=e}constructor(){this.queue=[],this.pendingErrors=[],this.flushing=!1,this.index=0,this.capacity=1024,this.flush=()=>{let{queue:e}=this;for(;this.index<e.length;){let t=this.index;if(this.index++,e[t].call(),this.index>this.capacity){for(let t=0,r=e.length-this.index;t<r;t++)e[t]=e[t+this.index];e.length-=this.index,this.index=0}}e.length=0,this.index=0,this.flushing=!1},this.registerPendingError=e=>{this.pendingErrors.push(e),this.requestErrorThrow()},this.requestFlush=N(this.flush),this.requestErrorThrow=P(()=>{if(this.pendingErrors.length)throw this.pendingErrors.shift()})}}class x{call(){try{this.task&&this.task()}catch(e){this.onError(e)}finally{this.task=null,this.release(this)}}constructor(e,t){this.onError=e,this.release=t,this.task=null}}class M{create(e){let t=this.freeTasks,r=t.length?t.pop():new x(this.onError,e=>t[t.length]=e);return r.task=e,r}constructor(e){this.onError=e,this.freeTasks=[]}}let j=new R,_=new M(j.registerPendingError),k="dnd-core/ADD_SOURCE",L="dnd-core/ADD_TARGET",A="dnd-core/REMOVE_SOURCE",V="dnd-core/REMOVE_TARGET";function H(e,t){t&&Array.isArray(e)?e.forEach(e=>H(e,!1)):(0,c.V)("string"==typeof e||"symbol"==typeof e,t?"Type can only be a string, a symbol, or an array of either.":"Type can only be a string or a symbol.")}(n=i||(i={})).SOURCE="SOURCE",n.TARGET="TARGET";let U=0;function F(e){switch(e[0]){case"S":return i.SOURCE;case"T":return i.TARGET;default:throw Error(`Cannot parse handler ID: ${e}`)}}function B(e,t){let r=e.entries(),n=!1;do{let{done:e,value:[,i]}=r.next();if(i===t)return!0;n=!!e}while(!n);return!1}class G{addSource(e,t){H(e),(0,c.V)("function"==typeof t.canDrag,"Expected canDrag to be a function."),(0,c.V)("function"==typeof t.beginDrag,"Expected beginDrag to be a function."),(0,c.V)("function"==typeof t.endDrag,"Expected endDrag to be a function.");let r=this.addHandler(i.SOURCE,e,t);return this.store.dispatch({type:k,payload:{sourceId:r}}),r}addTarget(e,t){H(e,!0),(0,c.V)("function"==typeof t.canDrop,"Expected canDrop to be a function."),(0,c.V)("function"==typeof t.hover,"Expected hover to be a function."),(0,c.V)("function"==typeof t.drop,"Expected beginDrag to be a function.");let r=this.addHandler(i.TARGET,e,t);return this.store.dispatch({type:L,payload:{targetId:r}}),r}containsHandler(e){return B(this.dragSources,e)||B(this.dropTargets,e)}getSource(e,t=!1){return(0,c.V)(this.isSourceId(e),"Expected a valid source ID."),t&&e===this.pinnedSourceId?this.pinnedSource:this.dragSources.get(e)}getTarget(e){return(0,c.V)(this.isTargetId(e),"Expected a valid target ID."),this.dropTargets.get(e)}getSourceType(e){return(0,c.V)(this.isSourceId(e),"Expected a valid source ID."),this.types.get(e)}getTargetType(e){return(0,c.V)(this.isTargetId(e),"Expected a valid target ID."),this.types.get(e)}isSourceId(e){return F(e)===i.SOURCE}isTargetId(e){return F(e)===i.TARGET}removeSource(e){var t;(0,c.V)(this.getSource(e),"Expected an existing source."),this.store.dispatch({type:A,payload:{sourceId:e}}),t=()=>{this.dragSources.delete(e),this.types.delete(e)},j.enqueueTask(_.create(t))}removeTarget(e){(0,c.V)(this.getTarget(e),"Expected an existing target."),this.store.dispatch({type:V,payload:{targetId:e}}),this.dropTargets.delete(e),this.types.delete(e)}pinSource(e){let t=this.getSource(e);(0,c.V)(t,"Expected an existing source."),this.pinnedSourceId=e,this.pinnedSource=t}unpinSource(){(0,c.V)(this.pinnedSource,"No source is pinned at the time."),this.pinnedSourceId=null,this.pinnedSource=null}addHandler(e,t,r){let n=function(e){let t=(U++).toString();switch(e){case i.SOURCE:return`S${t}`;case i.TARGET:return`T${t}`;default:throw Error(`Unknown Handler Role: ${e}`)}}(e);return this.types.set(n,t),e===i.SOURCE?this.dragSources.set(n,r):e===i.TARGET&&this.dropTargets.set(n,r),n}constructor(e){this.types=new Map,this.dragSources=new Map,this.dropTargets=new Map,this.pinnedSourceId=null,this.pinnedSource=null,this.store=e}}let q={initialSourceClientOffset:null,initialClientOffset:null,clientOffset:null};function $(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}
1))),n.forEach(function(t){var n;n=r[t],t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n})}return e}let K={itemType:null,item:null,sourceId:null,targetIds:[],dropResult:null,didDrop:!1,isSourcePublic:null};function W(e={},t){var r;return{dirtyHandlerIds:function(e=T,t){let r,n,i;switch(t.type){case p:break;case k:case L:case V:case A:return T;default:return I}let{targetIds:s=[],prevTargetIds:o=[]}=t.payload,a=(r=new Map,n=e=>{r.set(e,r.has(e)?r.get(e)+1:1)},s.forEach(n),o.forEach(n),i=[],r.forEach((e,t)=>{1===e&&i.push(t)}),i);if(!(a.length>0||!function(e,t,r=(e,t)=>e===t){if(e.length!==t.length)return!1;for(let n=0;n<e.length;++n)if(!r(e[n],t[n]))return!1;return!0}(s,o)))return T;let u=o[o.length-1],l=s[s.length-1];return u!==l&&(u&&a.push(u),l&&a.push(l)),a}(e.dirtyHandlerIds,{type:t.type,payload:function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),n.forEach(function(t){var n;n=r[t],t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n})}return e}({},t.payload,{prevTargetIds:(r=[],"dragOperation.targetIds".split(".").reduce((e,t)=>e&&e[t]?e[t]:r||null,e))})}),dragOffset:function(e=q,t){let{payload:r}=t;switch(t.type){case g:case h:return{initialSourceClientOffset:r.sourceClientOffset,initialClientOffset:r.clientOffset,clientOffset:r.clientOffset};case p:var n,i;if(n=e.clientOffset,i=r.clientOffset,!n&&!i||n&&i&&n.x===i.x&&n.y===i.y)return e;return function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),n.forEach(function(t){var n;n=r[t],t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n})}return e}({},e,{clientOffset:r.clientOffset});case D:case v:return q;default:return e}}(e.dragOffset,t),refCount:function(e=0,t){switch(t.type){case k:case L:return e+1;case A:case V:return e-1;default:return e}}(e.refCount,t),dragOperation:function(e=K,t){let{payload:r}=t;switch(t.type){case h:return $({},e,{itemType:r.itemType,item:r.item,sourceId:r.sourceId,isSourcePublic:r.isSourcePublic,dropResult:null,didDrop:!1});case f:return $({},e,{isSourcePublic:!0});case p:return $({},e,{targetIds:r.targetIds});case V:var n,i;if(-1===e.targetIds.indexOf(r.targetId))return e;return $({},e,{targetIds:(n=e.targetIds,i=r.targetId,n.filter(e=>e!==i))});case v:return $({},e,{dropResult:r.dropResult,didDrop:!0,targetIds:[]});case D:return $({},e,{itemType:null,item:null,sourceId:null,dropResult:null,didDrop:!1,isSourcePublic:null,targetIds:[]});default:return e}}(e.dragOperation,t),stateId:function(e=0){return e+1}(e.stateId)}}var X=r(95132),z=r(99713);let Y=0,Q=Symbol.for("__REACT_DND_CONTEXT_INSTANCE__");var J=(0,X.memo)(function(e){var t,{children:r}=e;let[n,i]="manager"in(t=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},s=Object.keys(e);for(n=0;n<s.length;n++)r=s[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(n=0;n<s.length;n++)r=s[n],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(e,["children"]))?[{dragDropManager:t.manager},!1]:[function(e,t=Z(),r,n){return t[Q]||(t[Q]={dragDropManager:function(e,t,r={},n=!1){var i;let s,u=(i=n,s="u">typeof window&&window.__REDUX_DEVTOOLS_EXTENSION__,function e(t,r,n){if("function"==typeof r&&"function"==typeof n||"function"==typeof n&&"function"==typeof arguments[3])throw Error(o(0));if("function"==typeof r&&void 0===n&&(n=r,r=void 0),void 0!==n){if("function"!=typeof n)throw Error(o(1));return n(e)(t,r)}if("function"!=typeof t)throw Error(o(2));var i,s=t,u=r,c=[],d=c,g=!1;function h(){d===c&&(d=c.slice())}function f(){if(g)throw Error(o(3));return u}function p(e){if("function"!=typeof e)throw Error(o(4));if(g)throw Error(o(5));var t=!0;return h(),d.push(e),function(){if(t){if(g)throw Error(o(6));t=!1,h();var r=d.indexOf(e);d.splice(r,1),c=null}}}function v(e){if(!function(e){if("object"!=typeof e||null===e)return!1;for(var t=e;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}(e))throw Error(o(7));if(void 0===e.type)throw Error(o(8));if(g)throw Error(o(9));try{g=!0,u=s(u,e)}finally{g=!1}for(var t=c=d,r=0;r<t.length;r++)(0,t[r])();return e}return v({type:l.INIT}),(i={dispatch:v,subscribe:p,getState:f,replaceReducer:function(e){if("function"!=typeof e)throw Error(o(10));s=e,v({type:l.REPLACE})}})[a]=function(){var e;return(e={subscribe:function(e){if("object"!=typeof e||null===e)throw Error(o(11));function t(){e.next&&e.next(f())}return t(),{unsubscribe:p(t)}}})[a]=function(){return this},e},i}(W,i&&s&&s({name:"dnd-core",instanceId:"dnd-core"}))),c=new E(u,new G(u)),d=new b(u,c),g=e(d,t,r);return d.receiveBackend(g),d}(e,t,r,n)}),t[Q]}(t.backend,t.context,t.options,t.debugMode),!t.context];return(0,X.useEffect)(()=>
1{if(i){let e=Z();return++Y,()=>{0==--Y&&(e[Q]=null)}}},[]),(0,s.jsx)(z.M.Provider,{value:n,children:r})});function Z(){return"u">typeof global?global:window}},27648:(e,t,r)=>{"use strict";function n(e){return null!==e&&"object"==typeof e&&Object.prototype.hasOwnProperty.call(e,"current")}r.d(t,{i:()=>n})},28950:(e,t,r)=>{"use strict";r.d(t,{u:()=>o});var n=r(85454),i=r(95132),s=r(99713);function o(){let{dragDropManager:e}=(0,i.useContext)(s.M);return(0,n.V)(null!=e,"Expected drag drop context"),e}},32542:(e,t,r)=>{"use strict";r.d(t,{E:()=>i});var n=r(95132);let i="u">typeof window?n.useLayoutEffect:n.useEffect},35308:(e,t,r)=>{"use strict";r.d(t,{t2:()=>S});var n={};function i(e){let t=null;return()=>(null==t&&(t=e()),t)}r.r(n),r.d(n,{FILE:()=>a,HTML:()=>c,TEXT:()=>l,URL:()=>u});class s{enter(e){var t,r;let n,i,s,o=this.entered.length,a=t=>this.isNodeInDocument(t)&&(!t.contains||t.contains(e));return this.entered=(t=this.entered.filter(a),r=[e],n=new Set,i=e=>n.add(e),t.forEach(i),r.forEach(i),s=[],n.forEach(e=>s.push(e)),s),0===o&&this.entered.length>0}leave(e){var t;let r=this.entered.length;return this.entered=(t=this.entered.filter(this.isNodeInDocument),t.filter(t=>t!==e)),r>0&&0===this.entered.length}reset(){this.entered=[]}constructor(e){this.entered=[],this.isNodeInDocument=e}}class o{initializeExposedProperties(){Object.keys(this.config.exposeProperties).forEach(e=>{Object.defineProperty(this.item,e,{configurable:!0,enumerable:!0,get:()=>(console.warn(`Browser doesn't allow reading "${e}" until the drop event.`),null)})})}loadDataTransfer(e){if(e){let t={};Object.keys(this.config.exposeProperties).forEach(r=>{let n=this.config.exposeProperties[r];null!=n&&(t[r]={value:n(e,this.config.matchesTypes),configurable:!0,enumerable:!0})}),Object.defineProperties(this.item,t)}}canDrag(){return!0}beginDrag(){return this.item}isDragging(e,t){return t===e.getSourceId()}endDrag(){}constructor(e){this.config=e,this.item={},this.initializeExposedProperties()}}let a="__NATIVE_FILE__",u="__NATIVE_URL__",l="__NATIVE_TEXT__",c="__NATIVE_HTML__";function d(e,t,r){let n=t.reduce((t,r)=>t||e.getData(r),"");return null!=n?n:r}let g={[a]:{exposeProperties:{files:e=>Array.prototype.slice.call(e.files),items:e=>e.items,dataTransfer:e=>e},matchesTypes:["Files"]},[c]:{exposeProperties:{html:(e,t)=>
1d(e,t,""),dataTransfer:e=>e},matchesTypes:["Html","text/html"]},[u]:{exposeProperties:{urls:(e,t)=>d(e,t,"").split("\n"),dataTransfer:e=>e},matchesTypes:["Url","text/uri-list"]},[l]:{exposeProperties:{text:(e,t)=>d(e,t,""),dataTransfer:e=>e},matchesTypes:["Text","text/plain"]}};function h(e){if(!e)return null;let t=Array.prototype.slice.call(e.types||[]);return Object.keys(g).filter(e=>{let r=g[e];return!!(null==r?void 0:r.matchesTypes)&&r.matchesTypes.some(e=>t.indexOf(e)>-1)})[0]||null}let f=i(()=>/firefox/i.test(navigator.userAgent)),p=i(()=>!!window.safari);class v{interpolate(e){let t,{xs:r,ys:n,c1s:i,c2s:s,c3s:o}=this,a=r.length-1;if(e===r[a])return n[a];let u=0,l=o.length-1;for(;u<=l;){let i=r[t=Math.floor(.5*(u+l))];if(i<e)u=t+1;else{if(!(i>e))return n[t];l=t-1}}let c=e-r[a=Math.max(0,l)],d=c*c;return n[a]+i[a]*c+s[a]*d+o[a]*c*d}constructor(e,t){let r,n,i;const{length:s}=e,o=[];for(let e=0;e<s;e++)o.push(e);o.sort((t,r)=>e[t]<e[r]?-1:1);const a=[],u=[],l=[];for(let i=0;i<s-1;i++)r=e[i+1]-e[i],n=t[i+1]-t[i],u.push(r),a.push(n),l.push(n/r);const c=[l[0]];for(let e=0;e<u.length-1;e++){const t=l[e],n=l[e+1];if(t*n<=0)c.push(0);else{r=u[e];const i=u[e+1],s=r+i;c.push(3*s/((s+i)/t+(s+r)/n))}}c.push(l[l.length-1]);const d=[],g=[];for(let e=0;e<c.length-1;e++){i=l[e];const t=c[e],r=1/u[e],n=t+c[e+1]-i-i;d.push((i-t-n)*r),g.push(n*r*r)}this.xs=e,this.ys=t,this.c1s=c,this.c2s=d,this.c3s=g}}function D(e){let t=1===e.nodeType?e:e.parentElement;if(!t)return null;let{top:r,left:n}=t.getBoundingClientRect();return{x:n,y:r}}function m(e){return{x:e.clientX,y:e.clientY}}class y{get window(){return this.globalContext?this.globalContext:"u">typeof window?window:void 0}get document(){var e;return(null==(e=this.globalContext)?void 0:e.document)?this.globalContext.document:this.window?this.window.document:void 0}get rootElement(){var e;return(null==(e=this.optionsArgs)?void 0:e.rootElement)||this.window}constructor(e,t){this.ownerDocument=null,this.globalContext=e,this.optionsArgs=t}}function O(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),n.forEach(function(t){var n;n=r[t],t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n})}return e}class b{profile(){var e,t;return{sourcePreviewNodes:this.sourcePreviewNodes.size,sourcePreviewNodeOptions:this.sourcePreviewNodeOptions.size,sourceNodeOptions:this.sourceNodeOptions.size,sourceNodes:this.sourceNodes.size,dragStartSourceIds:(null==(e=this.dragStartSourceIds)?void 0:e.length)||0,dropTargetIds:this.dropTargetIds.length,dragEnterTargetIds:this.dragEnterTargetIds.length,dragOverTargetIds:(null==(t=this.dragOverTargetIds)?void 0:t.length)||0}}get window(){return this.options.window}get document(){return this.options.document}get rootElement(){return this.options.rootElement}setup(){let e=this.rootElement;if(void 0!==e){if(e.__isReactDndBackendSetUp)throw Error("Cannot have two HTML5 backends at the same time.");e.__isReactDndBackendSetUp=!0,this.addEventListeners(e)}}teardown(){let e=this.rootElement;if(void 0!==e&&(e.__isReactDndBackendSetUp=!1,this.removeEventListeners(this.rootElement),this.clearCurrentDragSourceNode(),this.asyncEndDragFrameId)){var t;null==(t=this.window)||t.cancelAnimationFrame(this.asyncEndDragFrameId)}}connectDragPreview(e,t,r){return this.sourcePreviewNodeOptions.set(e,r),this.sourcePreviewNodes.set(e,t),()=>{this.sourcePreviewNodes.delete(e),this.sourcePreviewNodeOptions.delete(e)}}connectDragSource(e,t,r){this.sourceNodes.set(e,t),this.sourceNodeOptions.set(e,r);let n=t=>this.handleDragStart(t,e),i=e=>this.handleSelectStart(e);return t.setAttribute("draggable","true"),t.addEventListener("dragstart",n),t.addEventListener("selectstart",i),()=>{this.sourceNodes.delete(e),this.sourceNodeOptions.delete(e),t.removeEventListener("dragstart",n),t.removeEventListener("selectstart",i),t.setAttribute("draggable","false")}}connectDropTarget(e,t){let r=t=>this.handleDragEnter(t,e),n=t=>this.handleDragOver(t,e),i=t=>this.handleDrop(t,e);return t.addEventListener("dragenter",r),t.addEventListener("dragover",n
1),t.addEventListener("drop",i),()=>{t.removeEventListener("dragenter",r),t.removeEventListener("dragover",n),t.removeEventListener("drop",i)}}addEventListeners(e){e.addEventListener&&(e.addEventListener("dragstart",this.handleTopDragStart),e.addEventListener("dragstart",this.handleTopDragStartCapture,!0),e.addEventListener("dragend",this.handleTopDragEndCapture,!0),e.addEventListener("dragenter",this.handleTopDragEnter),e.addEventListener("dragenter",this.handleTopDragEnterCapture,!0),e.addEventListener("dragleave",this.handleTopDragLeaveCapture,!0),e.addEventListener("dragover",this.handleTopDragOver),e.addEventListener("dragover",this.handleTopDragOverCapture,!0),e.addEventListener("drop",this.handleTopDrop),e.addEventListener("drop",this.handleTopDropCapture,!0))}removeEventListeners(e){e.removeEventListener&&(e.removeEventListener("dragstart",this.handleTopDragStart),e.removeEventListener("dragstart",this.handleTopDragStartCapture,!0),e.removeEventListener("dragend",this.handleTopDragEndCapture,!0),e.removeEventListener("dragenter",this.handleTopDragEnter),e.removeEventListener("dragenter",this.handleTopDragEnterCapture,!0),e.removeEventListener("dragleave",this.handleTopDragLeaveCapture,!0),e.removeEventListener("dragover",this.handleTopDragOver),e.removeEventListener("dragover",this.handleTopDragOverCapture,!0),e.removeEventListener("drop",this.handleTopDrop),e.removeEventListener("drop",this.handleTopDropCapture,!0))}getCurrentSourceNodeOptions(){let e=this.monitor.getSourceId(),t=this.sourceNodeOptions.get(e);return O({dropEffect:this.altKeyPressed?"copy":"move"},t||{})}getCurrentDropEffect(){return this.isDraggingNativeItem()?"copy":this.getCurrentSourceNodeOptions().dropEffect}getCurrentSourcePreviewNodeOptions(){let e=this.monitor.getSourceId();return O({anchorX:.5,anchorY:.5,captureDraggingState:!1},this.sourcePreviewNodeOptions.get(e)||{})}isDraggingNativeItem(){let e=this.monitor.getItemType();return Object.keys(n).some(t=>n[t]===e)}beginDragNativeItem(e,t){this.clearCurrentDragSourceNode(),this.currentNativeSource=function(e,t){let r=g[e];if(!r)throw Error(`native type ${e} has no configuration`);let n=new o(r);return n.loadDataTransfer(t),n}(e,t),this.currentNativeHandle=this.registry.addSource(e,this.currentNativeSource),this.actions.beginDrag([this.currentNativeHandle])}setCurrentDragSourceNode(e){this.clearCurrentDragSourceNode(),this.currentDragSourceNode=e,this.mouseMoveTimeoutTimer=setTimeout(()=>{var e;return null==(e=this.rootElement)?void 0:e.addEventListener("mousemove",this.endDragIfSourceWasRemovedFromDOM,!0)},1e3)}clearCurrentDragSourceNode(){if(this.currentDragSourceNode){if(this.currentDragSourceNode=null,this.rootElement){var e;null==(e=this.window)||e.clearTimeout(this.mouseMoveTimeoutTimer||void 0),this.rootElement.removeEventListener("mousemove",this.endDragIfSourceWasRemovedFromDOM,!0)}return this.mouseMoveTimeoutTimer=null,!0}return!1}handleDragStart(e,t){e.defaultPrevented||(this.dragStartSourceIds||(this.dragStartSourceIds=[]),this.dragStartSourceIds.unshift(t))}handleDragEnter(e,t){this.dragEnterTargetIds.unshift(t)}handleDragOver(e,t){null===this.dragOverTargetIds&&(this.dragOverTargetIds=[]),this.dragOverTargetIds.unshift(t)}handleDrop(e,t){this.dropTargetIds.unshift(t)}constructor(e,t,r){this.sourcePreviewNodes=new Map,this.sourcePreviewNodeOptions=new Map,this.sourceNodes=new Map,this.sourceNodeOptions=new Map,this.dragStartSourceIds=null,this.dropTargetIds=[],this.dragEnterTargetIds=[],this.currentNativeSource=null,this.currentNativeHandle=null,this.currentDragSourceNode=null,this.altKeyPressed=!1,this.mouseMoveTimeoutTimer=null,this.asyncEndDragFrameId=null,this.dragOverTargetIds=null,this.lastClientOffset=null,this.hoverRafId=null,this.getSourceClientOffset=e=>{let t=this.sourceNodes.get(e);return t&&D(t)||null},this.endDragNativeItem=()=>{this.isDraggingNativeItem()&&(this.actions.endDrag(),this.currentNativeHandle&&this.registry.removeSource(this.currentNativeHandle),this.currentNativeHandle=null,this.currentNativeSource=null)},this.isNodeInDocument=e=>!!(e&&this.document&&this.document.body&&this.document.body.contains(e)),this.endDragIfSourceWasRemovedFromDOM=()=>{let e=this.currentDragSourceNode;null==e||this.isNodeInDocument(e)||(this.clearCurrentDragSourceNode()&&this.monitor.isDragging()&&this.actions.endDrag(
1),this.cancelHover())},this.scheduleHover=e=>{null===this.hoverRafId&&"u">typeof requestAnimationFrame&&(this.hoverRafId=requestAnimationFrame(()=>{this.monitor.isDragging()&&this.actions.hover(e||[],{clientOffset:this.lastClientOffset}),this.hoverRafId=null}))},this.cancelHover=()=>{null!==this.hoverRafId&&"u">typeof cancelAnimationFrame&&(cancelAnimationFrame(this.hoverRafId),this.hoverRafId=null)},this.handleTopDragStartCapture=()=>{this.clearCurrentDragSourceNode(),this.dragStartSourceIds=[]},this.handleTopDragStart=e=>{if(e.defaultPrevented)return;let{dragStartSourceIds:t}=this;this.dragStartSourceIds=null;let r=m(e);this.monitor.isDragging()&&(this.actions.endDrag(),this.cancelHover()),this.actions.beginDrag(t||[],{publishSource:!1,getSourceClientOffset:this.getSourceClientOffset,clientOffset:r});let{dataTransfer:n}=e,i=h(n);if(this.monitor.isDragging()){if(n&&"function"==typeof n.setDragImage){let e=this.monitor.getSourceId(),t=this.sourceNodes.get(e),i=this.sourcePreviewNodes.get(e)||t;if(i){let{anchorX:e,anchorY:s,offsetX:o,offsetY:a}=this.getCurrentSourcePreviewNodeOptions(),u=function(e,t,r,n,i){var s;let o,a,u,l="IMG"===t.nodeName&&(f()||!(null==(s=document.documentElement)?void 0:s.contains(t))),c=D(l?e:t),d={x:r.x-c.x,y:r.y-c.y},{offsetWidth:g,offsetHeight:h}=e,{anchorX:m,anchorY:y}=n,{dragPreviewWidth:O,dragPreviewHeight:b}=(o=l?t.width:g,a=l?t.height:h,p()&&l&&(a/=window.devicePixelRatio,o/=window.devicePixelRatio),{dragPreviewWidth:o,dragPreviewHeight:a}),{offsetX:S,offsetY:T}=i;return{x:0===S||S?S:new v([0,.5,1],[d.x,d.x/g*O,d.x+O-g]).interpolate(m),y:0===T||T?T:(u=new v([0,.5,1],[d.y,d.y/h*b,d.y+b-h]).interpolate(y),p()&&l&&(u+=(window.devicePixelRatio-1)*b),u)}}(t,i,r,{anchorX:e,anchorY:s},{offsetX:o,offsetY:a});n.setDragImage(i,u.x,u.y)}}try{null==n||n.setData("application/json",{})}catch(e){}this.setCurrentDragSourceNode(e.target);let{captureDraggingState:t}=this.getCurrentSourcePreviewNodeOptions();t?this.actions.publishDragSource():setTimeout(()=>this.actions.publishDragSource(),0)}else if(i)this.beginDragNativeItem(i);else{if(n&&!n.types&&(e.target&&!e.target.hasAttribute||!e.target.hasAttribute("draggable")))return;e.preventDefault()}},this.handleTopDragEndCapture=()=>{this.clearCurrentDragSourceNode()&&this.monitor.isDragging()&&this.actions.endDrag(),this.cancelHover()},this.handleTopDragEnterCapture=e=>{if(this.dragEnterTargetIds=[],this.isDraggingNativeItem()){var t;null==(t=this.currentNativeSource)||t.loadDataTransfer(e.dataTransfer)}if(!this.enterLeaveCounter.enter(e.target)||this.monitor.isDragging())return;let{dataTransfer:r}=e,n=h(r);n&&this.beginDragNativeItem(n,r)},this.handleTopDragEnter=e=>{let{dragEnterTargetIds:t}=this;this.dragEnterTargetIds=[],!this.monitor.isDragging()||(this.altKeyPressed=e.altKey,t.length>0&&this.actions.hover(t,{clientOffset:m(e)}),t.some(e=>this.monitor.canDropOnTarget(e))&&(e.preventDefault(),e.dataTransfer&&(e.dataTransfer.dropEffect=this.getCurrentDropEffect())))},this.handleTopDragOverCapture=e=>{if(this.dragOverTargetIds=[],this.isDraggingNativeItem()){var t;null==(t=this.currentNativeSource)||t.loadDataTransfer(e.dataTransfer)}},this.handleTopDragOver=e=>{let{dragOverTargetIds:t}=this;if(this.dragOverTargetIds=[],!this.monitor.isDragging()){e.preventDefault(),e.dataTransfer&&(e.dataTransfer.dropEffect="none");return}this.altKeyPressed=e.altKey,this.lastClientOffset=m(e),this.scheduleHover(t),(t||[]).some(e=>this.monitor.canDropOnTarget(e))?(e.preventDefault(),e.dataTransfer&&(e.dataTransfer.dropEffect=this.getCurrentDropEffect())):this.isDraggingNativeItem()?e.preventDefault():(e.preventDefault(),e.dataTransfer&&(e.dataTransfer.dropEffect="none"))},this.handleTopDragLeaveCapture=e=>{this.isDraggingNativeItem()&&e.preventDefault(),this.enterLeaveCounter.leave(e.target)&&(this.isDraggingNativeItem()&&setTimeout(()=>this.endDragNativeItem(),0),this.cancelHover())},this.handleTopDropCapture=e=>{if(this.dropTargetIds=[],this.isDraggingNativeItem()){var t;e.preventDefault(),null==(t=this.currentNativeSource)||t.loadDataTransfer(e.dataTransfer)}else h(e.dataTransfer)&&e.preventDefault();this.enterLeaveCounter.reset()},this.handleTopDrop=e=>{let{dropTargetIds:t}=this;this.dropTargetIds=[],this.actions.hover(t,{clientOffset:m(e)}),this.actions.drop({dropEffect:this.getCurrentDropEffect()}),this.isDraggingNativeItem()?this.endDragNativeItem():this.monitor.isDragging()&&this.actions.endDrag(
1),this.cancelHover()},this.handleSelectStart=e=>{let t=e.target;"function"!=typeof t.dragDrop||"INPUT"===t.tagName||"SELECT"===t.tagName||"TEXTAREA"===t.tagName||t.isContentEditable||(e.preventDefault(),t.dragDrop())},this.options=new y(t,r),this.actions=e.getActions(),this.monitor=e.getMonitor(),this.registry=e.getRegistry(),this.enterLeaveCounter=new s(this.isNodeInDocument)}}let S=function(e,t,r){return new b(e,t,r)}},39520:(e,t,r)=>{"use strict";function n(e,t,r,n){let i=r?r.call(n,e,t):void 0;if(void 0!==i)return!!i;if(e===t)return!0;if("object"!=typeof e||!e||"object"!=typeof t||!t)return!1;let s=Object.keys(e),o=Object.keys(t);if(s.length!==o.length)return!1;let a=Object.prototype.hasOwnProperty.bind(t);for(let o=0;o<s.length;o++){let u=s[o];if(!a(u))return!1;let l=e[u],c=t[u];if(!1===(i=r?r.call(n,l,c,u):void 0)||void 0===i&&l!==c)return!1}return!0}r.d(t,{b:()=>n})},42522:(e,t,r)=>{"use strict";r.d(t,{i:()=>s});var n=r(85454),i=r(95132);function s(e){let t={};return Object.keys(e).forEach(r=>{let s=e[r];if(r.endsWith("Ref"))t[r]=e[r];else{let e=(e=null,t=null)=>{var r,a;let u;return(0,i.isValidElement)(e)?(!function(e){if("string"==typeof e.type)return;let t=e.type.displayName||e.type.name||"the component";throw Error(`Only native element nodes can now be passed to React DnD connectors.You can either wrap ${t} into a <div>, or turn it into a drag source or a drop target itself.`)}(e),r=e,a=t?e=>s(e,t):s,u=r.ref,((0,n.V)("string"!=typeof u,"Cannot connect React DnD to an element with an existing string ref. Please convert it to use a callback ref instead, or wrap it into a <span> or <div>. Read more: https://reactjs.org/docs/refs-and-the-dom.html#callback-refs"),u)?(0,i.cloneElement)(r,{ref:e=>{o(u,e),o(a,e)}}):(0,i.cloneElement)(r,{ref:a})):(s(e,t),e)};t[r]=()=>e}}),t}function o(e,t){"function"==typeof e?e(t):e.current=t}},49417:()=>{},66393:(e,t,r)=>{"use strict";r.d(t,{H:()=>D});var n=r(12257),i=r(86282),s=r(95132),o=r(39520),a=r(27648),u=r(42522);class l{get connectTarget(){return this.dropTarget}reconnect(){let e=this.didHandlerIdChange()||this.didDropTargetChange()||this.didOptionsChange();e&&this.disconnectDropTarget();let t=this.dropTarget;if(this.handlerId){if(!t){this.lastConnectedDropTarget=t;return}e&&(this.lastConnectedHandlerId=this.handlerId,this.lastConnectedDropTarget=t,this.lastConnectedDropTargetOptions=this.dropTargetOptions,this.unsubscribeDropTarget=this.backend.connectDropTarget(this.handlerId,t,this.dropTargetOptions))}}receiveHandlerId(e){e!==this.handlerId&&(this.handlerId=e,this.reconnect())}get dropTargetOptions(){return this.dropTargetOptionsInternal}set dropTargetOptions(e){this.dropTargetOptionsInternal=e}didHandlerIdChange(){return this.lastConnectedHandlerId!==this.handlerId}didDropTargetChange(){return this.lastConnectedDropTarget!==this.dropTarget}didOptionsChange(){return!(0,o.b)(this.lastConnectedDropTargetOptions,this.dropTargetOptions)}disconnectDropTarget(){this.unsubscribeDropTarget&&(this.unsubscribeDropTarget(),this.unsubscribeDropTarget=void 0)}get dropTarget(){return this.dropTargetNode||this.dropTargetRef&&this.dropTargetRef.current}clearDropTarget(){this.dropTargetRef=null,this.dropTargetNode=null}constructor(e){this.hooks=(0,u.i)({dropTarget:(e,t)=>{this.clearDropTarget(),this.dropTargetOptions=t,(0,a.i)(e)?this.dropTargetRef=e:this.dropTargetNode=e,this.reconnect()}}),this.handlerId=null,this.dropTargetRef=null,this.dropTargetOptionsInternal=null,this.lastConnectedHandlerId=null,this.lastConnectedDropTarget=null,this.lastConnectedDropTargetOptions=null,this.backend=e}}var c=r(28950),d=r(32542),g=r(85454);let h=!1;class f{receiveHandlerId(e){this.targetId=e}getHandlerId(){return this.targetId}subscribeToStateChange(e,t){return this.internalMonitor.subscribeToStateChange(e,t)}canDrop(){if(!this.targetId)return!1;(0,g.V)(!h,"You may not call monitor.canDrop() inside your canDrop() implementation. Read more: http://react-dnd.github.io/react-dnd/docs/api/drop-target-monitor");try{return h=!0,this.internalMonitor.canDropOnTarget(this.targetId)}finally{h=!1}}isOver(e){return!!this.targetId&&this.internalMonitor.isOverTarget(this.targetId,e)}getItemType(){return this.internalMonitor.getItemType()}
1getItem(){return this.internalMonitor.getItem()}getDropResult(){return this.internalMonitor.getDropResult()}didDrop(){return this.internalMonitor.didDrop()}getInitialClientOffset(){return this.internalMonitor.getInitialClientOffset()}getInitialSourceClientOffset(){return this.internalMonitor.getInitialSourceClientOffset()}getSourceClientOffset(){return this.internalMonitor.getSourceClientOffset()}getClientOffset(){return this.internalMonitor.getClientOffset()}getDifferenceFromInitialOffset(){return this.internalMonitor.getDifferenceFromInitialOffset()}constructor(e){this.targetId=null,this.internalMonitor=e.getMonitor()}}var p=r(97294);class v{canDrop(){let e=this.spec,t=this.monitor;return!e.canDrop||e.canDrop(t.getItem(),t)}hover(){let e=this.spec,t=this.monitor;e.hover&&e.hover(t.getItem(),t)}drop(){let e=this.spec,t=this.monitor;if(e.drop)return e.drop(t.getItem(),t)}constructor(e,t){this.spec=e,this.monitor=t}}function D(e,t){var r;let o,a,u,h,D,m,y,O=(0,i.I)(e,t),b=(o=(0,c.u)(),(0,s.useMemo)(()=>new f(o),[o])),S=(r=O.options,a=(0,c.u)(),u=(0,s.useMemo)(()=>new l(a.getBackend()),[a]),(0,d.E)(()=>(u.dropTargetOptions=r||null,u.reconnect(),()=>u.disconnectDropTarget()),[r]),u);return h=(0,c.u)(),D=(0,s.useMemo)(()=>new v(O,b),[b]),(0,s.useEffect)(()=>{D.spec=O},[O]),m=D,y=function(e){let{accept:t}=e;return(0,s.useMemo)(()=>((0,g.V)(null!=e.accept,"accept must be defined"),Array.isArray(t)?t:[t]),[t])}(O),(0,d.E)(function(){let[e,t]=(0,p.l)(y,m,h);return b.receiveHandlerId(e),S.receiveHandlerId(e),t},[h,b,m,S,y.map(e=>e.toString()).join("|")]),[(0,n.j)(O.collect,b,S),(0,s.useMemo)(()=>S.hooks.dropTarget(),[S])]}},81206:e=>{"use strict";e.exports=function e(t,r){if(t===r)return!0;if(t&&r&&"object"==typeof t&&"object"==typeof r){if(t.constructor!==r.constructor)return!1;if(Array.isArray(t)){if((n=t.length)!=r.length)return!1;for(i=n;0!=i--;)if(!e(t[i],r[i]))return!1;return!0}if(t.constructor===RegExp)return t.source===r.source&&t.flags===r.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===r.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===r.toString();if((n=(s=Object.keys(t)).length)!==Object.keys(r).length)return!1;for(i=n;0!=i--;)if(!Object.prototype.hasOwnProperty.call(r,s[i]))return!1;for(i=n;0!=i--;){var n,i,s,o=s[i];if(!e(t[o],r[o]))return!1}return!0}return t!=t&&r!=r}},85454:(e,t,r)=>{"use strict";r.d(t,{V:()=>i});var n=r(2272);function i(e,t,...r){if(void 0!==n&&void 0===t)throw Error("invariant requires an error message argument");if(!e){let e;if(void 0===t)e=Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{let n=0;(e=Error(t.replace(/%s/g,function(){return r[n++]}))).name="Invariant Violation"}throw e.framesToPop=1,e}}},86282:(e,t,r)=>{"use strict";r.d(t,{I:()=>i});var n=r(95132);function i(e,t){let r=[...t||[]];return null==t&&"function"!=typeof e&&r.push(e),(0,n.useMemo)(()=>"function"==typeof e?e():e,r)}},89453:(e,t,r)=>{"use strict";r.d(t,{i:()=>m});var n=r(85454),i=r(12257),s=r(86282),o=r(95132),a=r(39520),u=r(27648),l=r(42522);class c{receiveHandlerId(e){this.handlerId!==e&&(this.handlerId=e,this.reconnect())}get connectTarget(){return this.dragSource}get dragSourceOptions(){return this.dragSourceOptionsInternal}set dragSourceOptions(e){this.dragSourceOptionsInternal=e}get dragPreviewOptions(){return this.dragPreviewOptionsInternal}set dragPreviewOptions(e){this.dragPreviewOptionsInternal=e}reconnect(){let e=this.reconnectDragSource();this.reconnectDragPreview(e)}reconnectDragSource(){let e=this.dragSource,t=this.didHandlerIdChange()||this.didConnectedDragSourceChange()||this.didDragSourceOptionsChange();return t&&this.disconnectDragSource(),this.handlerId&&(e?t&&(this.lastConnectedHandlerId=this.handlerId,this.lastConnectedDragSource=e,this.lastConnectedDragSourceOptions=this.dragSourceOptions,this.dragSourceUnsubscribe=this.backend.connectDragSource(this.handlerId,e,this.dragSourceOptions)):this.lastConnectedDragSource=e),t}reconnectDragPreview(e=!1){let t=this.dragPreview,r=e||this.didHandlerIdChange()||this.didConnectedDragPreviewChange()||this.didDragPreviewOptionsChange();if(r&&this.disconnectDragPreview(),this.handlerId){if(!t){this.lastConnectedDragPreview=t;return}r&&(this.lastConnectedHandlerId=this.handlerId,this.lastConnectedDragPreview=t,this.lastConnectedDragPreviewOptions=this.dragPreviewOptions,this.dragPreviewUnsubscribe=this.backend.connectDragPreview(this.handlerId,t,this.dragPreviewOptions))}}didHandlerIdChange(){return this.lastConnectedHandlerId!==this.handlerId}didConnectedDragSourceChange(){return this.lastConnectedDragSource!==this.dragSource}didConnectedDragPreviewChange(){return this.lastConnectedDragPreview!==this.dragPreview}didDragSourceOptionsChange(){return!(0,a.b)(this.lastConnectedDragSourceOptions,this.dragSourceOptions)}didDragPreviewOptionsChange(){return!(0,a.b)(this.lastConnectedDragPreviewOptions,this.dragPreviewOptions)}disconnectDragSource(){this.dragSourceUnsubscribe&&(this.dragSourceUnsubscribe(),this.dragSourceUnsubscribe=void 0)}disconnectDragPreview(){this.dragPreviewUnsubscribe&&(this.dragPreviewUnsubscribe(),this.dragPreviewUnsubscribe=void 0,this.dragPreviewNode=null,this.dragPreviewRef=null)}get dragSource(){return this.dragSourceNode||this.dragSourceRef&&this.dragSourceRef.current}get dragPreview(){return this.dragPreviewNode||this.dragPreviewRef&&this.dragPreviewRef.current}clearDragSource(){this.dragSourceNode=null,this.dragSourceRef=null}clearDragPreview(){this.dragPreviewNode=null,this.dragPreviewRef=null}constructor(e){this.hooks=(0,l.i)({dragSource:(e,t)=>{this.clearDragSource(),this.dragSourceOptions=t||null,(0,u.i)(e)?this.dragSourceRef=e:this.dragSourceNode=e,this.reconnectDragSource()},dragPreview:(e,t)=>{this.clearDragPreview(),this.dragPreviewOptions=t||null,(0,u.i)(e)?this.dragPreviewRef=e:this.dragPreviewNode=e,this.reconnectDragPreview()}}),this.handlerId=null,this.dragSourceRef=null,this.dragSourceOptionsInternal=null,this.dragPreviewRef=null,this.dragPreviewOptionsInternal=null,this.lastConnectedHandlerId=null,this.lastConnectedDragSource=null,this.lastConnectedDragSourceOptions=null,this.lastConnectedDragPreview=null,this.lastConnectedDragPreviewOptions=null,this.backend=e}}var d=r(28950),g=r(32542);let h=!1,f=!1;class p{receiveHandlerId(e){this.sourceId=e}getHandlerId(){return this.sourceId}canDrag(){(0,n.V)(!h,"You may not call monitor.canDrag() inside your canDrag() implementation. Read more: http://react-dnd.github.io/react-dnd/docs/api/drag-source-monitor");try{return h=!0,this.internalMonitor.canDragSource(this.sourceId)}finally{h=!1}}isDragging(){if(!this.sourceId)return!1;(0,n.V)(!f,"You may not call monitor.isDragging() inside your isDragging() implementation. Read more: http://react-dnd.github.io/react-dnd/docs/api/drag-source-monitor");try{return f=!0,this.internalMonitor.isDraggingSource(this.sourceId)}finally{f=!1}}subscribeToStateChange(e,t){return this.internalMonitor.subscribeToStateChange(e,t)}isDraggingSource(e){return this.internalMonitor.isDraggingSource(e)}isOverTarget(e,t){return this.internalMonitor.isOverTarget(e,t)}getTargetIds(){return this.internalMonitor.getTargetIds()}isSourcePublic(){return this.internalMonitor.isSourcePublic()}getSourceId(){return this.internalMonitor.getSourceId()}subscribeToOffsetChange(e){return this.internalMonitor.subscribeToOffsetChange(e)}canDragSource(e){return this.internalMonitor.canDragSource(e)}canDropOnTarget(e){return this.internalMonitor.canDropOnTarget(e)}getItemType(){return this.internalMonitor.getItemType()}
1getItem(){return this.internalMonitor.getItem()}getDropResult(){return this.internalMonitor.getDropResult()}didDrop(){return this.internalMonitor.didDrop()}getInitialClientOffset(){return this.internalMonitor.getInitialClientOffset()}getInitialSourceClientOffset(){return this.internalMonitor.getInitialSourceClientOffset()}getSourceClientOffset(){return this.internalMonitor.getSourceClientOffset()}getClientOffset(){return this.internalMonitor.getClientOffset()}getDifferenceFromInitialOffset(){return this.internalMonitor.getDifferenceFromInitialOffset()}constructor(e){this.sourceId=null,this.internalMonitor=e.getMonitor()}}var v=r(97294);class D{beginDrag(){let e=this.spec,t=this.monitor,r=null;return null!=(r="object"==typeof e.item?e.item:"function"==typeof e.item?e.item(t):{})?r:null}canDrag(){let e=this.spec,t=this.monitor;return"boolean"==typeof e.canDrag?e.canDrag:"function"!=typeof e.canDrag||e.canDrag(t)}isDragging(e,t){let r=this.spec,n=this.monitor,{isDragging:i}=r;return i?i(n):t===e.getSourceId()}endDrag(){let e=this.spec,t=this.monitor,r=this.connector,{end:n}=e;n&&n(t.getItem(),t),r.reconnect()}constructor(e,t,r){this.spec=e,this.monitor=t,this.connector=r}}function m(e,t){var r,a;let u,l,h,f,m,y,O,b=(0,s.I)(e,t);(0,n.V)(!b.begin,"useDrag::spec.begin was deprecated in v14. Replace spec.begin() with spec.item(). (see more here - https://react-dnd.github.io/react-dnd/docs/api/use-drag)");let S=(u=(0,d.u)(),(0,o.useMemo)(()=>new p(u),[u])),T=(r=b.options,a=b.previewOptions,l=(0,d.u)(),h=(0,o.useMemo)(()=>new c(l.getBackend()),[l]),(0,g.E)(()=>(h.dragSourceOptions=r||null,h.reconnect(),()=>h.disconnectDragSource()),[h,r]),(0,g.E)(()=>(h.dragPreviewOptions=a||null,h.reconnect(),()=>h.disconnectDragPreview()),[h,a]),h);return f=(0,d.u)(),m=(0,o.useMemo)(()=>new D(b,S,T),[S,T]),(0,o.useEffect)(()=>{m.spec=b},[b]),y=m,O=(0,o.useMemo)(()=>{let e=b.type;return(0,n.V)(null!=e,"spec.type must be defined"),e},[b]),(0,g.E)(function(){if(null!=O){let[e,t]=(0,v.V)(O,y,f);return S.receiveHandlerId(e),T.receiveHandlerId(e),t}},[f,S,T,y,O]),[(0,i.j)(b.collect,S,T),(0,o.useMemo)(()=>T.hooks.dragSource(),[T]),(0,o.useMemo)(()=>T.hooks.dragPreview(),[T])]}},97294:(e,t,r)=>{"use strict";function n(e,t,r){let n=r.getRegistry(),i=n.addTarget(e,t);return[i,()=>n.removeTarget(i)]}function i(e,t,r){let n=r.getRegistry(),i=n.addSource(e,t);return[i,()=>n.removeSource(i)]}r.d(t,{V:()=>i,l:()=>n})},99713:(e,t,r)=>{"use strict";r.d(t,{M:()=>n});let n=(0,r(95132).createContext)({dragDropManager:void 0})}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.