PageSourceSearch

https://www.hometesterclub.com/_next/static/chunks/5272-d6ff6ba1eee0b41f.js

js hometesterclub.com collected 2026-10-03 20:16:54 UTC 79,390 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5272],{8085:(e,t,r)=>{r.d(t,{A:()=>O});var n=r(40670),i=r(44501),o=r(14232),a=r(69241),s=r(4697),l=r(65921),u=r(98428),c=r(49454),d=r(48282),g=r(77573),h=r(35268),f=r(47951),p=r(45879);function v(e){return(0,p.Ay)("MuiTableCell",e)}let y=(0,f.A)("MuiTableCell",["root","head","body","footer","sizeSmall","sizeMedium","paddingCheckbox","paddingNone","alignLeft","alignCenter","alignRight","alignJustify","stickyHeader"]);var m=r(37876);let b=["align","className","component","padding","scope","size","sortDirection","variant"],T=(0,h.Ay)("td",{name:"MuiTableCell",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.root,t[r.variant],t["size".concat((0,u.A)(r.size))],"normal"!==r.padding&&t["padding".concat((0,u.A)(r.padding))],"inherit"!==r.align&&t["align".concat((0,u.A)(r.align))],r.stickyHeader&&t.stickyHeader]}})(e=>{let{theme:t,ownerState:r}=e;return(0,i.A)({},t.typography.body2,{display:"table-cell",verticalAlign:"inherit",borderBottom:t.vars?"1px solid ".concat(t.vars.palette.TableCell.border):"1px solid\n    ".concat("light"===t.palette.mode?(0,l.a)((0,l.X4)(t.palette.divider,1),.88):(0,l.e$)((0,l.X4)(t.palette.divider,1),.68)),textAlign:"left",padding:16},"head"===r.variant&&{color:(t.vars||t).palette.text.primary,lineHeight:t.typography.pxToRem(24),fontWeight:t.typography.fontWeightMedium},"body"===r.variant&&{color:(t.vars||t).palette.text.primary},"footer"===r.variant&&{color:(t.vars||t).palette.text.secondary,lineHeight:t.typography.pxToRem(21),fontSize:t.typography.pxToRem(12)},"small"===r.size&&{padding:"6px 16px",["&.".concat(y.paddingCheckbox)]:{width:24,padding:"0 12px 0 16px","& > *":{padding:0}}},"checkbox"===r.padding&&{width:48,padding:"0 0 0 4px"},"none"===r.padding&&{padding:0},"left"===r.align&&{textAlign:"left"},"center"===r.align&&{textAlign:"center"},"right"===r.align&&{textAlign:"right",flexDirection:"row-reverse"},"justify"===r.align&&{textAlign:"justify"},r.stickyHeader&&{position:"sticky",top:0,zIndex:2,backgroundColor:(t.vars||t).palette.background.default})}),O=o.forwardRef(function(e,t){let r,l=(0,g.b)({props:e,name:"MuiTableCell"}),{align:h="inherit",className:f,component:p,padding:y,scope:O,size:D,sortDirection:S,variant:w}=l,I=(0,n.A)(l,b),C=o.useContext(c.A),E=o.useContext(d.A),_=E&&"head"===E.variant,x=O;"td"===(r=p||(_?"th":"td"))?x=void 0:!x&&_&&(x="col");let j=w||E&&E.variant,A=(0,i.A)({},l,{align:h,component:r,padding:y||(C&&C.padding?C.padding:"normal"),size:D||(C&&C.size?C.size:"medium"),sortDirection:S,stickyHeader:"head"===j&&C&&C.stickyHeader,variant:j}),P=(e=>{let{classes:t,variant:r,align:n,padding:i,size:o,stickyHeader:a}=e,l={root:["root",r,a&&"stickyHeader","inherit"!==n&&"align".concat((0,u.A)(n)),"normal"!==i&&"padding".concat((0,u.A)(i)),"size".concat((0,u.A)(o))]};return(0,s.A)(l,v,t)})(A),R=null;return S&&(R="asc"===S?"ascending":"descending"),(0,m.jsx)(T,(0,i.A)({as:r,ref:t,className:(0,a.A)(P.root,f),"aria-sort":R,scope:x,ownerState:A},I))})},37161:(e,t,r)=>{r.d(t,{A:()=>b});var n=r(44501),i=r(40670),o=r(14232),a=r(69241),s=r(4697),l=r(48282),u=r(77573),c=r(35268),d=r(47951),g=r(45879);function h(e){return(0,g.Ay)("MuiTableBody",e)}(0,d.A)("MuiTableBody",["root"]);var f=r(37876);let p=["className","component"],v=(0,c.Ay)("tbody",{name:"MuiTableBody",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"table-row-group"}),y={variant:"body"},m="tbody",b=o.forwardRef(function(e,t){let r=(0,u.b)({props:e,name:"MuiTableBody"}),{className:o,component:c=m}=r,d=(0,i.A)(r,p),g=(0,n.A)({},r,{component:c}),b=(e=>{let{classes:t}=e;return(0,s.A)({root:["root"]},h,t)})(g);return(0,f.jsx)(l.A.Provider,{value:y,children:(0,f.jsx)(v,(0,n.A)({className:(0,a.A)(b.root,o),as:c,ref:t,role:c===m?null:"rowgroup",ownerState:g},d))})})},40532:(e,t,r)=>{r.d(t,{A:()=>b});var n=r(44501),i=r(40670),o=r(14232),a=r(69241),s=r(4697),l=r(65921),u=r(48282),c=r(77573),d=r(35268),g=r(47951),h=r(45879);function f(e){return(0,h.Ay)("MuiTableRow",e)}let p=(0,g.A)("MuiTableRow",["root","selected","hover","head","footer"]);var v=r(37876);let y=["className","component","hover","selected"],m=(0,d.Ay)("tr",{name:"MuiTableRow",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.root,r.head&&t.head,r.footer&&t.footer]}})(e=>{let{theme:t}=e;return{color:"inherit",display:"table-row",verticalAlign:"middle",outline:0,["&.".concat(p.hover,":hover")]:{backgroundColor:(t.vars||t).palette.action.hover},["&.".concat(p.selected)]:{backgroundColor:t.vars?"rgba(".concat(t.vars.palette.primary.mainChannel," / ").concat(t.vars.palette.action.selectedOpacity,")"):(0,l.X4)(t.palette.primary.main,t.palette.action.selectedOpacity),"&:hover":{backgroundColor:t.vars?"rgba(".concat(t.vars.palette.primary.mainChannel," / calc(").concat(t.vars.palette.action.selectedOpacity," + ").concat(t.vars.palette.action.hoverOpacity,"))"):(0,l.X4)(t.palette.primary.main,t.palette.action.selectedOpacity+t.palette.action.hoverOpacity)}}}}),b=o.forwardRef(function(e,t){let r=(0,c.b)({props:e,name:"MuiTableRow"}),{className:l,component:d="tr",hover:g=!1,selected:h=!1}=r,p=(0,i.A)(r,y),b=o.useContext(u.A),T=(0,n.A)({},r,{component:d,hover:g,selected:h,head:b&&"head"===b.variant,footer
1:b&&"footer"===b.variant}),O=(e=>{let{classes:t,selected:r,hover:n,head:i,footer:o}=e;return(0,s.A)({root:["root",r&&"selected",n&&"hover",i&&"head",o&&"footer"]},f,t)})(T);return(0,v.jsx)(m,(0,n.A)({as:d,ref:t,className:(0,a.A)(O.root,l),role:"tr"===d?null:"row",ownerState:T},p))})},48282:(e,t,r)=>{r.d(t,{A:()=>n});let n=r(14232).createContext()},49454:(e,t,r)=>{r.d(t,{A:()=>n});let n=r(14232).createContext()},55272:e=>{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=(o=Object.keys(t)).length)!==Object.keys(r).length)return!1;for(i=n;0!=i--;)if(!Object.prototype.hasOwnProperty.call(r,o[i]))return!1;for(i=n;0!=i--;){var n,i,o,a=o[i];if(!e(t[a],r[a]))return!1}return!0}return t!=t&&r!=r}},56952:(e,t,r)=>{r.d(t,{A:()=>b});var n=r(44501),i=r(40670),o=r(14232),a=r(69241),s=r(4697),l=r(48282),u=r(77573),c=r(35268),d=r(47951),g=r(45879);function h(e){return(0,g.Ay)("MuiTableHead",e)}(0,d.A)("MuiTableHead",["root"]);var f=r(37876);let p=["className","component"],v=(0,c.Ay)("thead",{name:"MuiTableHead",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"table-header-group"}),y={variant:"head"},m="thead",b=o.forwardRef(function(e,t){let r=(0,u.b)({props:e,name:"MuiTableHead"}),{className:o,component:c=m}=r,d=(0,i.A)(r,p),g=(0,n.A)({},r,{component:c}),b=(e=>{let{classes:t}=e;return(0,s.A)({root:["root"]},h,t)})(g);return(0,f.jsx)(l.A.Provider,{value:y,children:(0,f.jsx)(v,(0,n.A)({as:c,className:(0,a.A)(b.root,o),ref:t,role:c===m?null:"rowgroup",ownerState:g},d))})})},58836:(e,t,r)=>{r.d(t,{A:()=>v});var n=r(44501),i=r(40670),o=r(14232),a=r(69241),s=r(4697),l=r(77573),u=r(35268),c=r(47951),d=r(45879);function g(e){return(0,d.Ay)("MuiTableContainer",e)}(0,c.A)("MuiTableContainer",["root"]);var h=r(37876);let f=["className","component"],p=(0,u.Ay)("div",{name:"MuiTableContainer",slot:"Root",overridesResolver:(e,t)=>t.root})({width:"100%",overflowX:"auto"}),v=o.forwardRef(function(e,t){let r=(0,l.b)({props:e,name:"MuiTableContainer"}),{className:o,component:u="div"}=r,c=(0,i.A)(r,f),d=(0,n.A)({},r,{component:u}),v=(e=>{let{classes:t}=e;return(0,s.A)({root:["root"]},g,t)})(d);return(0,h.jsx)(p,(0,n.A)({ref:t,as:u,className:(0,a.A)(v.root,o),ownerState:d},c))})},67830:(e,t,r)=>{r.d(t,{ID:()=>r7});var n,i,o,a={};r.r(a),r.d(a,{FILE:()=>en,HTML:()=>ea,TEXT:()=>eo,URL:()=>ei});var s=r(37876),l=r(1290),u=r(65364);function c(e,t,...r){if(void 0!==u&&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}}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",y="dnd-core/END_DRAG";function m(e,t){return{type:g,payload:{sourceClientOffset:t||null,clientOffset:e||null}}}let b={type:g,payload:{clientOffset:null,sourceClientOffset:null}};function T(e,t){return null===t?null===e:Array.isArray(e)?e.some(e=>e===t):e===t}class O{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 o=this,{dispatch:a}=this.store,s={beginDrag:(e=this,function(t=[],r={publishSource:!0}){var n,i,o;let{publishSource:a=!0,clientOffset:s,getSourceClientOffset:l}=r,u=e.getMonitor(),g=e.getRegistry();e.dispatch(m(s)),n=t,i=u,o=g,c(!i.isDragging(),"Cannot call beginDrag while dragging."),n.forEach(function(e){c(o.getSource(e),"Expected sourceIds to be registered.")});let f=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,u);if(null==f)return void e.dispatch(b);let p=null;if(s){if(!l)throw Error("getSourceClientOffset must be defined");c("function"==typeof l,"When clientOffset is provided, getSourceClientOffset must be a function."),p=l(f)}e.dispatch(m(s,p));let v=g.getSource(f).beginDrag(u,f);if(null!=v)return c(d(v),"Item must be an object."),g.pinSource(f),{type:h,payload:{itemType:g.getSourceType(f),item:v,sourceId:f,clientOffset:s||null,sourceClientOffset:p||null,isSourcePublic:!!a}}}),publishDragSource:(t=this,function(){if(t.getMonitor().isDragging())return{type:f}}),hover:(r=this,function(e,{clientOffset:t}={}){var n,i,o;c(Array.isArray(e),"Expected targetIds to be an array.");let a=e.slice(0),s=r.getMonitor(),l=r.getRegistry();return function(e,t,r){for(let n=e.length-1;n>=0;n--){let i=e[n];T(t.getTargetType(i),r)||e.splice(n,1)}}(a,l,s.getItemType()),function(e,t,r){c(t.isDragging(),"Cannot call hover while not dragging."),c(!t.didDrop(),"Cannot call hover after drop.");for(let t=0;t<e.length;t++){let n=e[t];c(e.lastIndexOf(n)===t,"Expected targetIds to be unique in the passed array."),c(r.getTarget(n),"Expected targetIds to be registered.")}}
1(a,s,l),n=a,i=s,o=l,n.forEach(function(e){o.getTarget(e).hover(i,e)}),{type:p,payload:{targetIds:a,clientOffset:t||null}}}),drop:(n=this,function(e={}){var t;let r=n.getMonitor(),i=n.getRegistry();c((t=r).isDragging(),"Cannot call drop while not dragging."),c(!t.didDrop(),"Cannot call drop twice during one drag operation."),(function(e){let t=e.getTargetIds().filter(e.canDropOnTarget,e);return t.reverse(),t})(r).forEach((t,o)=>{let a={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,function(e,t,r,n){var i;let o=r.getTarget(e),a=o?o.drop(n,e):void 0;return c(void 0===(i=a)||d(i),"Drop result must either be an object or undefined."),void 0===a&&(a=0===t?{}:n.getDropResult()),a}(t,o,i,r))}};n.dispatch(a)})}),endDrag:(i=this,function(){let e=i.getMonitor(),t=i.getRegistry();c(e.isDragging(),"Cannot call endDrag while not dragging.");let r=e.getSourceId();return null!=r&&(t.getSource(r,!0).endDrag(e,r),t.unpinSource()),{type:y}})};return Object.keys(s).reduce((e,t)=>{let r=s[t];return e[t]=(...e)=>{let t=r.apply(o,e);void 0!==t&&a(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 D(e,t){return{x:e.x-t.x,y:e.y-t.y}}let S=[],w=[];S.__IS_NONE__=!0,w.__IS_ALL__=!0;class I{subscribeToStateChange(e,t={}){let{handlerIds:r}=t;c("function"==typeof e,"listener must be a function."),c(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!==S&&(e===w||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){c("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 c(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 c(t,`Expected to find a valid target. targetId=${e}`),!(!this.isDragging()||this.didDrop())&&T(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 c(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&&!T(n,i))return!1;let o=this.getTargetIds();if(!o.length)return!1;let a=o.indexOf(e);return r?a===o.length-1:a>-1}getItemType(){return this.store.getState().dragOperation.itemType}getItem(){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?D({x:t.x+n.x,y:t.y+n.y},r):null}(this.store.getState().dragOffset)}getDifferenceFromInitialOffset(){let{clientOffset:e,initialClientOffset:t}=this.store.getState().dragOffset;return e&&t?D(e,t):null}constructor(e,t){this.store=e,this.registry=t}}let C="undefined"!=typeof global?global:self,E=C.MutationObserver||C.WebKitMutationObserver;function _(e){return function(){let t=setTimeout(n,0),r=setInterval(n,50);function n(){clearTimeout(t),clearInterval(r),e()}}}let x="function"==typeof E?function(e){let t=1,r=new E(e),n=document.createTextNode("");return r.observe(n,{characterData:!0}
1),function(){n.data=t=-t}}:_;class j{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=x(this.flush),this.requestErrorThrow=_(()=>{if(this.pendingErrors.length)throw this.pendingErrors.shift()})}}class A{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 P{create(e){let t=this.freeTasks,r=t.length?t.pop():new A(this.onError,e=>t[t.length]=e);return r.task=e,r}constructor(e){this.onError=e,this.freeTasks=[]}}let R=new j,N=new P(R.registerPendingError),M="dnd-core/ADD_SOURCE",k="dnd-core/ADD_TARGET",L="dnd-core/REMOVE_SOURCE",H="dnd-core/REMOVE_TARGET";function z(e,t){if(t&&Array.isArray(e))return void e.forEach(e=>z(e,!1));c("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.")}!function(e){e.SOURCE="SOURCE",e.TARGET="TARGET"}(o||(o={}));let F=0;function U(e){switch(e[0]){case"S":return o.SOURCE;case"T":return o.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 ${addSource(e,t){z(e),c("function"==typeof t.canDrag,"Expected canDrag to be a function."),c("function"==typeof t.beginDrag,"Expected beginDrag to be a function."),c("function"==typeof t.endDrag,"Expected endDrag to be a function.");let r=this.addHandler(o.SOURCE,e,t);return this.store.dispatch({type:M,payload:{sourceId:r}}),r}addTarget(e,t){z(e,!0),c("function"==typeof t.canDrop,"Expected canDrop to be a function."),c("function"==typeof t.hover,"Expected hover to be a function."),c("function"==typeof t.drop,"Expected beginDrag to be a function.");let r=this.addHandler(o.TARGET,e,t);return this.store.dispatch({type:k,payload:{targetId:r}}),r}containsHandler(e){return B(this.dragSources,e)||B(this.dropTargets,e)}getSource(e,t=!1){return c(this.isSourceId(e),"Expected a valid source ID."),t&&e===this.pinnedSourceId?this.pinnedSource:this.dragSources.get(e)}getTarget(e){return c(this.isTargetId(e),"Expected a valid target ID."),this.dropTargets.get(e)}getSourceType(e){return c(this.isSourceId(e),"Expected a valid source ID."),this.types.get(e)}getTargetType(e){return c(this.isTargetId(e),"Expected a valid target ID."),this.types.get(e)}isSourceId(e){return U(e)===o.SOURCE}isTargetId(e){return U(e)===o.TARGET}removeSource(e){var t;c(this.getSource(e),"Expected an existing source."),this.store.dispatch({type:L,payload:{sourceId:e}}),t=()=>{this.dragSources.delete(e),this.types.delete(e)},R.enqueueTask(N.create(t))}removeTarget(e){c(this.getTarget(e),"Expected an existing target."),this.store.dispatch({type:H,payload:{targetId:e}}),this.dropTargets.delete(e),this.types.delete(e)}pinSource(e){let t=this.getSource(e);c(t,"Expected an existing source."),this.pinnedSourceId=e,this.pinnedSource=t}unpinSource(){c(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=(F++).toString();switch(e){case o.SOURCE:return`S${t}`;case o.TARGET:return`T${t}`;default:throw Error(`Unknown Handler Role: ${e}`)}}(e);return this.types.set(n,t),e===o.SOURCE?this.dragSources.set(n,r):e===o.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 G={initialSourceClientOffset:null,initialClientOffset:null,clientOffset:null};function q(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 W={itemType:null,item:null,sourceId:null,targetIds:[],dropResult:null,didDrop:!1,isSourcePublic:null};function V(e={},t){var r;return{dirtyHandlerIds:function(e=S,t){switch(t.type){case p:break;case M:case k:case H:case L:return S;default:return w}let{targetIds:r=[],prevTargetIds:n=[]}=t.payload,i=function(e,t){let r=new Map,n=e=>{r.set(e,r.has(e)?r.get(e)+1:1)};e.forEach(n),t.forEach(n);let i=[];return r.forEach((e,t)=>{1===e&&i.push(t)}),i}(r,n);if(!(i.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}(r,n)))return S;let o=n[n.length-1],a=r[r.length-1];return o!==a&&(o&&i.push(o),a&&i.push(a)),i}(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=G,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 y:case v:return G;default:return e}}(e.dragOffset,t),refCount:function(e=0,t){switch(t.type){case M:case k:return e+1;case L:case H:return e-1;default:return e}}(e.refCount,t),dragOperation:function(e=W,t){let{payload:r}=t;switch(t.type){case h:return q({},e,{itemType:r.itemType,item:r.item,sourceId:r.sourceId,isSourcePublic:r.isSourcePublic,dropResult:null,didDrop:!1});case f:return q({},e,{isSourcePublic:!0});case p:return q({},e,{targetIds:r.targetIds});case H:var n,i;if(-1===e.targetIds.indexOf(r.targetId))return e;return q({},e,{targetIds:(n=e.targetIds,i=r.targetId,n.filter(e=>e!==i))});case v:return q({},e,{dropResult:r.dropResult,didDrop:!0,targetIds:[]});case y:return q({},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 K=r(14232);let X=(0,K.createContext)({dragDropManager:void 0}),Y=0,J=Symbol.for("__REACT_DND_CONTEXT_INSTANCE__");var Q=(0,K.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={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[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[J]||(t[J]={dragDropManager:function(e,t,r={},n=!1){let i=function(e){let t="undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION__;return(0,l.y$)(V,e&&t&&t({name:"dnd-core",instanceId:"dnd-core"}))}(n),o=new I(i,new $(i)),a=new O(i,o),s=e(a,t,r);return a.receiveBackend(s),a}(e,t,r,n)}),t[J]}(t.backend,t.context,t.options,t.debugMode),!t.context];return(0,K.useEffect)(()=>{if(i){let e=Z();return++Y,()=>{0==--Y&&(e[J]=null)}}},[]),(0,s.jsx)(X.Provider,{value:n,children:r})});function Z(){return"undefined"!=typeof global?global:window}function ee(e){let t=null;return()=>(null==t&&(t=e()),t)}class et{enter(e){let t=this.entered.length,r=t=>this.isNodeInDocument(t)&&(!t.contains||t.contains(e));return this.entered=function(e,t){let r=new Set,n=e=>r.add(e);e.forEach(n),t.forEach(n);let i=[];
1return r.forEach(e=>i.push(e)),i}(this.entered.filter(r),[e]),0===t&&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 er{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 en="__NATIVE_FILE__",ei="__NATIVE_URL__",eo="__NATIVE_TEXT__",ea="__NATIVE_HTML__";function es(e,t,r){let n=t.reduce((t,r)=>t||e.getData(r),"");return null!=n?n:r}let el={[en]:{exposeProperties:{files:e=>Array.prototype.slice.call(e.files),items:e=>e.items,dataTransfer:e=>e},matchesTypes:["Files"]},[ea]:{exposeProperties:{html:(e,t)=>
1es(e,t,""),dataTransfer:e=>e},matchesTypes:["Html","text/html"]},[ei]:{exposeProperties:{urls:(e,t)=>es(e,t,"").split("\n"),dataTransfer:e=>e},matchesTypes:["Url","text/uri-list"]},[eo]:{exposeProperties:{text:(e,t)=>es(e,t,""),dataTransfer:e=>e},matchesTypes:["Text","text/plain"]}};function eu(e){if(!e)return null;let t=Array.prototype.slice.call(e.types||[]);return Object.keys(el).filter(e=>{let r=el[e];return!!(null==r?void 0:r.matchesTypes)&&r.matchesTypes.some(e=>t.indexOf(e)>-1)})[0]||null}let ec=ee(()=>/firefox/i.test(navigator.userAgent)),ed=ee(()=>!!window.safari);class eg{interpolate(e){let t,{xs:r,ys:n,c1s:i,c2s:o,c3s:a}=this,s=r.length-1;if(e===r[s])return n[s];let l=0,u=a.length-1;for(;l<=u;){let i=r[t=Math.floor(.5*(l+u))];if(i<e)l=t+1;else{if(!(i>e))return n[t];u=t-1}}let c=e-r[s=Math.max(0,u)],d=c*c;return n[s]+i[s]*c+o[s]*d+a[s]*c*d}constructor(e,t){let r,n,i,{length:o}=e,a=[];for(let e=0;e<o;e++)a.push(e);a.sort((t,r)=>e[t]<e[r]?-1:1);let s=[],l=[],u=[];for(let i=0;i<o-1;i++)r=e[i+1]-e[i],n=t[i+1]-t[i],l.push(r),s.push(n),u.push(n/r);let c=[u[0]];for(let e=0;e<l.length-1;e++){let t=u[e],n=u[e+1];if(t*n<=0)c.push(0);else{r=l[e];let i=l[e+1],o=r+i;c.push(3*o/((o+i)/t+(o+r)/n))}}c.push(u[u.length-1]);let d=[],g=[];for(let e=0;e<c.length-1;e++){i=u[e];let t=c[e],r=1/l[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 eh(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 ef(e){return{x:e.clientX,y:e.clientY}}class ep{get window(){return this.globalContext?this.globalContext:"undefined"!=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 ev(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 ey{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 ev({dropEffect:this.altKeyPressed?"copy":"move"},t||{})}getCurrentDropEffect(){return this.isDraggingNativeItem()?"copy":this.getCurrentSourceNodeOptions().dropEffect}getCurrentSourcePreviewNodeOptions(){let e=this.monitor.getSourceId();return ev({anchorX:.5,anchorY:.5,captureDraggingState:!1},this.sourcePreviewNodeOptions.get(e)||{})}isDraggingNativeItem(){let e=this.monitor.getItemType();return Object.keys(a).some(t=>a[t]===e)}beginDragNativeItem(e,t){this.clearCurrentDragSourceNode(),this.currentNativeSource=function(e,t){let r=el[e];if(!r)throw Error(`native type ${e} has no configuration`);let n=new er(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&&eh(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&&"undefined"!=typeof requestAnimationFrame&&(this.hoverRafId=requestAnimationFrame(()=>{this.monitor.isDragging()&&this.actions.hover(e||[],{clientOffset:this.lastClientOffset}),this.hoverRafId=null}))},this.cancelHover=()=>{null!==this.hoverRafId&&"undefined"!=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=ef(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=eu(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:o,offsetX:a,offsetY:s}=this.getCurrentSourcePreviewNodeOptions(),l=function(e,t,r,n,i){var o;let a,s,l,u="IMG"===t.nodeName&&(ec()||!(null==(o=document.documentElement)?void 0:o.contains(t))),c=eh(u?e:t),d={x:r.x-c.x,y:r.y-c.y},{offsetWidth:g,offsetHeight:h}=e,{anchorX:f,anchorY:p}=n,{dragPreviewWidth:v,dragPreviewHeight:y}=(a=u?t.width:g,s=u?t.height:h,ed()&&u&&(s/=window.devicePixelRatio,a/=window.devicePixelRatio),{dragPreviewWidth:a,dragPreviewHeight:s}),{offsetX:m,offsetY:b}=i;return{x:0===m||m?m:new eg([0,.5,1],[d.x,d.x/g*v,d.x+v-g]).interpolate(f),y:0===b||b?b:(l=new eg([0,.5,1],[d.y,d.y/h*y,d.y+y-h]).interpolate(p),ed()&&u&&(l+=(window.devicePixelRatio-1)*y),l)}}(t,i,r,{anchorX:e,anchorY:o},{offsetX:a,offsetY:s});n.setDragImage(i,l.x,l.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=eu(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:ef(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=ef(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 eu(e.dataTransfer)&&e.preventDefault();this.enterLeaveCounter.reset()},this.handleTopDrop=e=>{let{dropTargetIds:t}=this;this.dropTargetIds=[],this.actions.hover(t,{clientOffset:ef(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 ep(t,r),this.actions=e.getActions(),this.monitor=e.getMonitor(),this.registry=e.getRegistry(),this.enterLeaveCounter=new et(this.isNodeInDocument)}}let em=function(e,t,r){return new ey(e,t,r)};var eb=r(55272);let eT="undefined"!=typeof window?K.useLayoutEffect:K.useEffect;function eO(e,t,r){return function(e,t,r){let[n,i]=function(e,t,r){let[n,i]=(0,K.useState)(()=>t(e)),o=(0,K.useCallback)(()=>{let o=t(e);!eb(n,o)&&(i(o),r&&r())},[n,e,r]);return eT(o),[n,o]}(e,t,r);return eT(function(){let t=e.getHandlerId();if(null!=t)return e.subscribeToStateChange(i,{handlerIds:[t]})},[e,i]),n}(t,e||(()=>({})),()=>r.reconnect())}function eD(e,t){let r=[...t||[]];return null==t&&"function"!=typeof e&&r.push(e),(0,K.useMemo)(()=>"function"==typeof e?e():e,r)}function eS(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 o=Object.keys(e),a=Object.keys(t);if(o.length!==a.length)return!1;let s=Object.prototype.hasOwnProperty.bind(t);for(let a=0;a<o.length;a++){let l=o[a];if(!s(l))return!1;let u=e[l],c=t[l];if(!1===(i=r?r.call(n,u,c,l):void 0)||void 0===i&&u!==c)return!1}return!0}function ew(e){return null!==e&&"object"==typeof e&&Object.prototype.hasOwnProperty.call(e,"current")}function eI(e){let t={};return Object.keys(e).forEach(r=>{let n=e[r];if(r.endsWith("Ref"))t[r]=e[r];else{let e=(e=null,t=null)=>(0,K.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),function(e,t){let r=e.ref;return(c("string"!=typeof r,"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"),r)?(0,K.cloneElement)(e,{ref:e=>{eC(r,e),eC(t,e)}}):(0,K.cloneElement)(e,{ref:t})}(e,t?e=>n(e,t):n)):(n(e,t),e);t[r]=()=>e}}),t}function eC(e,t){"function"==typeof e?e(t):e.current=t}class eE{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!eS(this.lastConnectedDragSourceOptions,this.dragSourceOptions)}didDragPreviewOptionsChange(){return!eS(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=eI({dragSource:(e,t)=>{this.clearDragSource(),this.dragSourceOptions=t||null,ew(e)?this.dragSourceRef=e:this.dragSourceNode=e,this.reconnectDragSource()},dragPreview:(e,t)=>{this.clearDragPreview(),this.dragPreviewOptions=t||null,ew(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}}function e_(){let{dragDropManager:e}=(0,K.useContext)(X);return c(null!=e,"Expected drag drop context"),e}let ex=!1,ej=!1;class eA{receiveHandlerId(e){this.sourceId=e}getHandlerId(){return this.sourceId}canDrag(){c(!ex,"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 ex=!0,this.internalMonitor.canDragSource(this.sourceId)}finally{ex=!1}}isDragging(){if(!this.sourceId)return!1;c(!ej,"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 ej=!0,this.internalMonitor.isDraggingSource(this.sourceId)}finally{ej=!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()}}class eP{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}}class eR{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!eS(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=eI({dropTarget:(e,t)=>{this.clearDropTarget(),this.dropTargetOptions=t,ew(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}}let eN=!1;class eM{receiveHandlerId(e){this.targetId=e}getHandlerId(){return this.targetId}subscribeToStateChange(e,t){return this.internalMonitor.subscribeToStateChange(e,t)}canDrop(){if(!this.targetId)return!1;c(!eN,"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 eN=!0,this.internalMonitor.canDropOnTarget(this.targetId)}finally{eN=!1}}isOver(e){return!!this.targetId&&this.internalMonitor.isOverTarget(this.targetId,e)}getItemType(){return this.internalMonitor.getItemType()}getItem(){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()}}class ek{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}}var eL=Object.create,eH=Object.defineProperty,ez=Object.getOwnPropertyDescriptor,eF=Object.getOwnPropertyNames,eU=Object.getPrototypeOf,eB=Object.prototype.hasOwnProperty,e$=(e,t,r)=>(r=null!=e?eL(eU(e)):{},((e,t,r,n)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let i of eF(t))eB.call(e,i)||i===r||eH(e,i,{get:()=>t[i],enumerable:!(n=ez(t,i))||n.enumerable});return e}
1)(!t&&e&&e.__esModule?r:eH(r,"default",{value:e,enumerable:!0}),e)),eG=((e,t)=>function(){return t||(0,e[eF(e)[0]])((t={exports:{}}).exports,t),t.exports})({"node_modules/classnames/index.js"(e,t){var r={}.hasOwnProperty;function n(){for(var e=[],t=0;t<arguments.length;t++){var i=arguments[t];if(i){var o=typeof i;if("string"===o||"number"===o)e.push(i);else if(Array.isArray(i)){if(i.length){var a=n.apply(null,i);a&&e.push(a)}}else if("object"===o){if(i.toString!==Object.prototype.toString&&!i.toString.toString().includes("[native code]")){e.push(i.toString());continue}for(var s in i)r.call(i,s)&&i[s]&&e.push(s)}}}return e.join(" ")}void 0!==t&&t.exports?(n.default=n,t.exports=n):"function"==typeof define&&"object"==typeof define.amd&&define.amd?define("classnames",[],function(){return n}):window.classNames=n}}),eq=e$(eG(),1),eW="object"==typeof global&&global&&global.Object===Object&&global,eV="object"==typeof self&&self&&self.Object===Object&&self,eK=eW||eV||Function("return this")(),eX=eK.Symbol,eY=Object.prototype,eJ=eY.hasOwnProperty,eQ=eY.toString,eZ=eX?eX.toStringTag:void 0,e0=function(e){var t=eJ.call(e,eZ),r=e[eZ];try{e[eZ]=void 0;var n=!0}catch(e){}var i=eQ.call(e);return n&&(t?e[eZ]=r:delete e[eZ]),i},e1=Object.prototype.toString,e4=eX?eX.toStringTag:void 0,e2=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":e4&&e4 in Object(e)?e0(e):e1.call(e)},e3=function(e){return null!=e&&"object"==typeof e},e7=function(e,t){for(var r=-1,n=null==e?0:e.length,i=Array(n);++r<n;)i[r]=t(e[r],r,e);return i},e5=Array.isArray,e6=1/0,e8=eX?eX.prototype:void 0,e9=e8?e8.toString:void 0,te=function e(t){if("string"==typeof t)return t;if(e5(t))return e7(t,e)+"";if("symbol"==typeof t||e3(t)&&"[object Symbol]"==e2(t))return e9?e9.call(t):"";var r=t+"";return"0"==r&&1/t==-e6?"-0":r},tt=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)},tr=function(e){if(!tt(e))return!1;var t=e2(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t},tn=eK["__core-js_shared__"],ti=function(){var e=/[^.]+$/.exec(tn&&tn.
1keys&&tn.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),to=Function.prototype.toString,ta=function(e){if(null!=e){try{return to.call(e)}catch(e){}try{return e+""}catch(e){}}return""},ts=/^\[object .+?Constructor\]$/,tl=Object.prototype,tu=Function.prototype.toString,tc=tl.hasOwnProperty,td=RegExp("^"+tu.call(tc).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),tg=function(e){return!!tt(e)&&(!ti||!(ti in e))&&(tr(e)?td:ts).test(ta(e))},th=function(e,t){var r=null==e?void 0:e[t];return tg(r)?r:void 0},tf=th(eK,"WeakMap"),tp=function(e,t,r,n){for(var i=e.length,o=r+(n?1:-1);n?o--:++o<i;)if(t(e[o],o,e))return o;return -1},tv=function(e){return e!=e},ty=function(e,t,r){for(var n=r-1,i=e.length;++n<i;)if(e[n]===t)return n;return -1},tm=function(e,t){return!!(null==e?0:e.length)&&(t==t?ty(e,t,0):tp(e,tv,0))>-1},tb=/^(?:0|[1-9]\d*)$/,tT=function(e,t){var r=typeof e;return!!(t=null==t?0x1fffffffffffff:t)&&("number"==r||"symbol"!=r&&tb.test(e))&&e>-1&&e%1==0&&e<t},tO=function(e,t){return e===t||e!=e&&t!=t},tD=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=0x1fffffffffffff},tS=Object.prototype,tw=function(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||tS)},tI=function(e,t){for(var r=-1,n=Array(e);++r<e;)n[r]=t(r);return n},tC=function(e){return e3(e)&&"[object Arguments]"==e2(e)},tE=Object.prototype,t_=tE.hasOwnProperty,tx=tE.propertyIsEnumerable,tj=tC(function(){return arguments}())?tC:function(e){return e3(e)&&t_.call(e,"callee")&&!tx.call(e,"callee")},tA="object"==typeof exports&&exports&&!exports.nodeType&&exports,tP=tA&&"object"==typeof module&&module&&!module.nodeType&&module,tR=tP&&tP.exports===tA?eK.Buffer:void 0,tN=(tR?tR.isBuffer:void 0)||function(){return!1},tM={};tM["[object Float32Array]"]=tM["[object Float64Array]"]=tM["[object Int8Array]"]=tM["[object Int16Array]"]=tM["[object Int32Array]"]=tM["[object Uint8Array]"]=tM["[object Uint8ClampedArray]"]=tM["[object Uint16Array]"]=tM["[object Uint32Array]"]=!0,tM["[object Arguments]"]=tM["[object Array]"]=tM["[object ArrayBuffer]"]=tM["[object Boolean]"]=tM["[object DataView]"]=tM["[object Date]"]=tM["[object Error]"]=tM["[object Function]"]=tM["[object Map]"]=tM["[object Number]"]=tM["[object Object]"]=tM["[object RegExp]"]=tM["[object Set]"]=tM["[object String]"]=tM["[object WeakMap]"]=!1;var tk="object"==typeof exports&&exports&&!exports.nodeType&&exports,tL=tk&&"object"==typeof module&&module&&!module.nodeType&&module,tH=tL&&tL.exports===tk&&eW.process,tz=function(){try{var e=tL&&tL.require&&tL.require("util").types;if(e)return e;return tH&&tH.binding&&tH.binding("util")}catch(e){}}(),tF=tz&&tz.isTypedArray,tU=tF?function(e){return tF(e)}:function(e){return e3(e)&&tD(e.length)&&!!tM[e2(e)]},tB=Object.prototype.hasOwnProperty,t$=function(e,t){var r=e5(e),n=!r&&tj(e),i=!r&&!n&&tN(e),o=!r&&!n&&!i&&tU(e),a=r||n||i||o,s=a?tI(e.length,String):[],l=s.length;for(var u in e)(t||tB.call(e,u))&&!(a&&("length"==u||i&&("offset"==u||"parent"==u)||o&&("buffer"==u||"byteLength"==u||"byteOffset"==u)||tT(u,l)))&&s.push(u);return s},tG=(n=Object.keys,i=Object,function(e){return n(i(e))}),tq=Object.prototype.hasOwnProperty,tW=function(e){if(!tw(e))return tG(e);var t=[];for(var r in Object(e))tq.call(e,r)&&"constructor"!=r&&t.push(r);return t},tV=function(e){return null!=e&&tD(e.length)&&!tr(e)?t$(e):tW(e)},tK=th(Object,"create"),tX=Object.prototype.hasOwnProperty,tY=Object.prototype.hasOwnProperty;function tJ(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}tJ.prototype.clear=function(){this.__data__=tK?tK(null):{},this.size=0},tJ.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=!!t,t},tJ.prototype.get=function(e){var t=this.__data__;if(tK){var r=t[e];return"__lodash_hash_undefined__"===r?void 0:r}return tX.call(t,e)?t[e]:void 0},tJ.prototype.has=function(e){var t=this.__data__;return tK?void 0!==t[e]:tY.call(t,e)},tJ.prototype.set=function(e,t){var r=this.__data__;return this.size+=+!this.has(e),r[e]=tK&&void 0===t?"__lodash_hash_undefined__":t,this};var tQ=function(e,t){for(var r=e.length;r--;)if(tO(e[r][0],t))return r;return -1},tZ=Array.prototype.splice;function t0(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}t0.prototype.clear=function(){this.__data__=[],this.size=0},t0.prototype.delete=function(e){var t=this.__data__,r=tQ(t,e);return!(r<0)&&(r==t.length-1?t.pop():tZ.call(t,r,1),--this.size,!0)},t0.prototype.get=function(e){var t=this.__data__,r=tQ(t,e);return r<0?void 0:t[r][1]},t0.prototype.has=function(e){return tQ(this.__data__,e)>-1},t0.prototype.set=function(e,t){var r=this.__data__,n=tQ(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this};var t1=th(eK,"Map"),t4=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e},t2=function(e,t){var r=e.__data__;return t4(t)?r["string"==typeof t?"string":"hash"]:r.map};function t3(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}t3.prototype.clear=function(){this.size=0,this.__data__={hash:new tJ,map:new(t1||t0),string:new tJ}},t3.prototype.delete=function(e){var t=t2(this,e).delete(e);return this.size-=!!t,t},t3.prototype.get=function(e){return t2(this,e).get(e)},t3.prototype.has=function(e){return t2(this,e).has(e)},t3.prototype.set=function(e,t){var r=t2(this,e),n=r.size;return r.set(e,t),this.size+=+(r.size!=n),this};var t7=function(e){return null==e?"":te(e)},t5=function(e,t){for(var r=-1,n=t.length,i=e.length;++r<n;
1)e[i+r]=t[r];return e};function t6(e){var t=this.__data__=new t0(e);this.size=t.size}t6.prototype.clear=function(){this.__data__=new t0,this.size=0},t6.prototype.delete=function(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r},t6.prototype.get=function(e){return this.__data__.get(e)},t6.prototype.has=function(e){return this.__data__.has(e)},t6.prototype.set=function(e,t){var r=this.__data__;if(r instanceof t0){var n=r.__data__;if(!t1||n.length<199)return n.push([e,t]),this.size=++r.size,this;r=this.__data__=new t3(n)}return r.set(e,t),this.size=r.size,this};var t8=function(e,t){for(var r=-1,n=null==e?0:e.length,i=0,o=[];++r<n;){var a=e[r];t(a,r,e)&&(o[i++]=a)}return o},t9=Object.prototype.propertyIsEnumerable,re=Object.getOwnPropertySymbols,rt=re?function(e){return null==e?[]:t8(re(e=Object(e)),function(t){return t9.call(e,t)})}:function(){return[]},rr=function(e,t,r){var n=t(e);return e5(e)?n:t5(n,r(e))},rn=function(e){return rr(e,tV,rt)},ri=th(eK,"DataView"),ro=th(eK,"Promise"),ra=th(eK,"Set"),rs="[object Map]",rl="[object Promise]",ru="[object Set]",rc="[object WeakMap]",rd="[object DataView]",rg=ta(ri),rh=ta(t1),rf=ta(ro),rp=ta(ra),rv=ta(tf),ry=e2;(ri&&ry(new ri(new ArrayBuffer(1)))!=rd||t1&&ry(new t1)!=rs||ro&&ry(ro.resolve())!=rl||ra&&ry(new ra)!=ru||tf&&ry(new tf)!=rc)&&(ry=function(e){var t=e2(e),r="[object Object]"==t?e.constructor:void 0,n=r?ta(r):"";if(n)switch(n){case rg:return rd;case rh:return rs;case rf:return rl;case rp:return ru;case rv:return rc}return t});var rm=ry,rb=eK.Uint8Array;function rT(e){var t=-1,r=null==e?0:e.length;for(this.__data__=new t3;++t<r;)this.add(e[t])}rT.prototype.add=rT.prototype.push=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this},rT.prototype.has=function(e){return this.__data__.has(e)};var rO=function(e,t){for(var r=-1,n=null==e?0:e.length;++r<n;)if(t(e[r],r,e))return!0;return!1},rD=function(e,t){return e.has(t)},rS=function(e,t,r,n,i,o){var a=1&r,s=e.length,l=t.length;if(s!=l&&!(a&&l>s))return!1;var u=o.get(e),c=o.get(t);if(u&&c)return u==t&&c==e;var d=-1,g=!0,h=2&r?new rT:void 0;for(o.set(e,t),o.set(t,e);++d<s;){var f=e[d],p=t[d];if(n)var v=a?n(p,f,d,t,e,o):n(f,p,d,e,t,o);if(void 0!==v){if(v)continue;g=!1;break}if(h){if(!rO(t,function(e,t){if(!rD(h,t)&&(f===e||i(f,e,r,n,o)))return h.push(t)})){g=!1;break}}else if(!(f===p||i(f,p,r,n,o))){g=!1;break}}return o.delete(e),o.delete(t),g},rw=function(e){var t=-1,r=Array(e.size);return e.forEach(function(e,n){r[++t]=[n,e]}),r},rI=function(e){var t=-1,r=Array(e.size);return e.forEach(function(e){r[++t]=e}),r}
vendor: 1,816 bytes, line 1
1,rC=eX?eX.prototype:void 0,rE=rC?rC.valueOf:void 0,r_=function(e,t,r,n,i,o,a){switch(r){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)break;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":if(e.byteLength!=t.byteLength||!o(new rb(e),new rb(t)))break;return!0;case"[object Boolean]":case"[object Date]":case"[object Number]":return tO(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var s=rw;case"[object Set]":var l=1&n;if(s||(s=rI),e.size!=t.size&&!l)break;var u=a.get(e);if(u)return u==t;n|=2,a.set(e,t);var c=rS(s(e),s(t),n,i,o,a);return a.delete(e),c;case"[object Symbol]":if(rE)return rE.call(e)==rE.call(t)}return!1},rx=Object.prototype.hasOwnProperty,rj=function(e,t,r,n,i,o){var a=1&r,s=rn(e),l=s.length;if(l!=rn(t).length&&!a)return!1;for(var u=l;u--;){var c=s[u];if(!(a?c in t:rx.call(t,c)))return!1}var d=o.get(e),g=o.get(t);if(d&&g)return d==t&&g==e;var h=!0;o.set(e,t),o.set(t,e);for(var f=a;++u<l;){var p=e[c=s[u]],v=t[c];if(n)var y=a?n(v,p,c,t,e,o):n(p,v,c,e,t,o);if(!(void 0===y?p===v||i(p,v,r,n,o):y)){h=!1;break}f||(f="constructor"==c)}if(h&&!f){var m=e.constructor,b=t.constructor;m!=b&&"constructor"in e&&"constructor"in t&&!("function"==typeof m&&m instanceof m&&"function"==typeof b&&b instanceof b)&&(h=!1)}return o.delete(e),o.delete(t),h},rA="[object Arguments]",rP="[object Array]",rR="[object Object]",rN=Object.prototype.hasOwnProperty,rM=function(e,t,r,n,i,o){var a=e5(e),s=e5(t),l=a?rP:rm(e),u=s?rP:rm(t);l=l==rA?rR:l,u=u==rA?rR:u;var c=l==rR,d=u==rR,g=l==u;if(g&&tN(e)){if(!tN(t))return!1;a=!0,c=!1}if(g&&!c)return o||(o=new t6),a||tU(e)?rS(e,t,r,n,i,o):r_(e,t,l,r,n,i,o);if(!(1&r)){var h=c&&rN.call(e,"__wrapped__"),f=d&&rN.call(t,"__wrapped__");
1if(h||f){var p=h?e.value():e,v=f?t.value():t;return o||(o=new t6),i(p,v,r,n,o)}}return!!g&&(o||(o=new t6),rj(e,t,r,n,i,o))},rk=function(e,t,r){for(var n=-1,i=null==e?0:e.length;++n<i;)if(r(t,e[n]))return!0;return!1},rL=function(e){return function(t){return null==e?void 0:e[t]}}({"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"}),rH=/[&<>"']/g,rz=RegExp(rH.source),rF=/[\\^$.*+?()[\]{}|]/g,rU=RegExp(rF.source),rB=ra&&1/rI(new ra([,-0]))[1]==1/0?function(e){return new ra(e)}:function(){},r$=function(e,t,r){var n=-1,i=tm,o=e.length,a=!0,s=[],l=s;if(r)a=!1,i=rk;else if(o>=200){var u=t?null:rB(e);if(u)return rI(u);a=!1,i=rD,l=new rT}else l=t?[]:s;e:for(;++n<o;){var c=e[n],d=t?t(c):c;if(c=r||0!==c?c:0,a&&d==d){for(var g=l.length;g--;)if(l[g]===d)continue e;t&&l.push(d),s.push(c)}else i(l,d,r)||(l!==s&&l.push(d),s.push(c))}return s},rG={ENTER:[10,13],TAB:9,BACKSPACE:8,UP_ARROW:38,DOWN_ARROW:40,SPACE:32},rq={ENTER:"Enter",TAB:"Tab",COMMA:",",SPACE:" ",SEMICOLON:";"},rW={tags:"ReactTags__tags",tagInput:"ReactTags__tagInput",tagInputField:"ReactTags__tagInputField",selected:"ReactTags__selected",tag:"ReactTags__tag",remove:"ReactTags__remove",suggestions:"ReactTags__suggestions",activeSuggestion:"ReactTags__activeSuggestion",editTagInput:"ReactTags__editTagInput",editTagInputField:"ReactTags__editTagInputField",clearAll:"ReactTags__clearAll"},rV={INLINE:"inline",TOP:"top",BOTTOM:"bottom"},rK={TAG_LIMIT:"Tag limit reached!"};function rX(e){let{moveTag:t,readOnly:r,allowDragDrop:n}=e;return void 0!==t&&!r&&n}var rY=e=>{let{readOnly:t,removeComponent:r,onRemove:n,className:i,tag:o,index:a}=e,l=e=>{if(rG.ENTER.includes(e.keyCode)||e.keyCode===rG.SPACE){e.preventDefault(),e.stopPropagation();return}e.keyCode===rG.BACKSPACE&&n(e)};if(t)return(0,s.jsx)("span",{});let u=`Tag at index ${a} with value ${o.id} focussed. Press backspace to remove`;return r?(0,s.jsx)(r,{"data-testid":"remove",onRemove:n,onKeyDown:l,className:i,"aria-label":u,tag:o,index:a}):(0,s.jsx)("button",{"data-testid":"remove",onClick:n,onKeyDown:l,className:i,type:"button","aria-label":u,children:(0,s.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",height:"12",width:"12",fill:"#fff",children:(0,s.jsx)("path",{d:"M376.6 84.5c11.3-13.6 9.5-33.8-4.1-45.1s-33.8-9.5-45.1 4.1L192 206 56.6 43.5C45.3 29.9 25.1 28.1 11.5 39.4S-3.9 70.9 7.4 84.5L150.3 256 7.4 427.5c-11.3 13.6-9.5 33.8 4.1 45.1s33.8 9.5 45.1-4.1L192 306 327.4 468.5c11.3 13.6 31.5 15.4 45.1 4.1s15.4-31.5 4.1-45.1L233.7 256 376.6 84.5z"})})})},rJ={TAG:"tag"},rQ=e=>{let t=(0,K.useRef)(null),{readOnly:r=!1,tag:n,classNames:i,index:o,moveTag:a,allowDragDrop:l=!0,labelField:u="text",tags:d}=e,[{isDragging:g},h]=function(e,t){let r=eD(e,t);c(!r.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 n=function(){let e=e_();return(0,K.useMemo)(()=>new eA(e),[e])}(),i=function(e,t){let r=e_(),n=(0,K.useMemo)(()=>new eE(r.getBackend()),[r]);return eT(()=>(n.dragSourceOptions=e||null,n.reconnect(),()=>n.disconnectDragSource()),[n,e]),eT(()=>(n.dragPreviewOptions=t||null,n.reconnect(),()=>n.disconnectDragPreview()),[n,t]),n}(r.options,r.previewOptions),o=e_(),a=function(e,t,r){let n=(0,K.useMemo)(()=>new eP(e,t,r),[t,r]);return(0,K.useEffect)(()=>{n.spec=e},[e]),n}(r,n,i),s=(0,K.useMemo)(()=>{let e=r.type;return c(null!=e,"spec.type must be defined"),e},[r]);return eT(function(){if(null!=s){let[e,t]=function(e,t,r){let n=r.getRegistry(),i=n.addSource(e,t);return[i,()=>n.removeSource(i)]}(s,a,o);return n.receiveHandlerId(e),i.receiveHandlerId(e),t}},[o,n,i,a,s]),[eO(r.collect,n,i),(0,K.useMemo)(()=>i.hooks.dragSource(),[i]),(0,K.useMemo)(()=>i.hooks.dragPreview(),[i])]}(()=>({type:rJ.TAG,collect:e=>({isDragging:!!e.isDragging()}),item:e,canDrag:()=>rX({moveTag:a,readOnly:r,allowDragDrop:l})}),[d]),[,f]=function(e,t){let r=eD(e,t),n=function(){let e=e_();return(0,K.useMemo)(()=>new eM(e),[e])}(),i=function(e){let t=e_(),r=(0,K.useMemo)(()=>new eR(t.getBackend()),[t]);return eT(()=>(r.dropTargetOptions=e||null,r.reconnect(),()=>r.disconnectDropTarget()),[e]),r}(r.options),o=e_(),a=function(e,t){let r=(0,K.useMemo)(()=>new ek(e,t),[t]);return(0,K.useEffect)(()=>{r.spec=e},[e]),r}(r,n),s=function(e){let{accept:t}=e;return(0,K.useMemo)(()=>(c(null!=e.accept,"accept must be defined"),Array.isArray(t)?t:[t]),[t])}(r);return eT(function(){let[e,t]=function(e,t,r){let n=r.getRegistry(),i=n.addTarget(e,t);return[i,()=>n.removeTarget(i)]}(s,a,o);return n.receiveHandlerId(e),i.receiveHandlerId(e),t},[o,n,a,i,s.map(e=>e.toString()).join("|")]),[eO(r.collect,n,i),(0,K.useMemo)(()=>i.hooks.dropTarget(),[i])]}(()=>({accept:rJ.TAG,drop:t=>{let r=t.index;r!==o&&e?.moveTag?.(r,o)},canDrop:e=>(function(e){let{readOnly:t,allowDragDrop:r}=e;return!t&&r})(e)}),[d]);h(f(t));let p=e.tag[u],{className:v=""}=n;return(0,s.jsxs)("span",{ref:t,className:(0,eq.default)("tag-wrapper",i.tag,v),style:{opacity:+!g,cursor:rX({moveTag:a,readOnly:r,allowDragDrop:l})?"move":"auto"},"data-testid":"tag",onClick:e.onTagClicked,onTouchStart:e.onTagClicked,children:[p,(0,s.jsx)(rY,{tag:e.tag,className:i.remove,removeComponent:e.removeComponent,onRemove:e.onDelete,readOnly:r,index:o})]})},rZ=e=>(0,s.jsx)("button",{"aria-label":e["aria-label"],className:e.classNames.clearAll,onClick:e.onClick,children:"Clear all"}),r0=(e,t,r,n)=>"function"==typeof n?n(e):e.length>=t&&r,r1=(0,K.memo)(e=>{let t=(0,K.createRef)(),{labelField:r,minQueryLength:n,isFocused:i,classNames:o,selectedIndex:a,query:l}=e;(0,K.useEffect)(()=>
1{if(!t.current)return;let e=t.current.querySelector(`.${o.activeSuggestion}`);e&&((e,t)=>{let r=t.offsetHeight,n=e.offsetHeight,i=e.offsetTop-t.scrollTop;i+n>=r?t.scrollTop+=i-r+n:i<0&&(t.scrollTop+=i)})(e,t.current)},[a]);let u=e.suggestions.map((t,n)=>(0,s.jsx)("li",{onMouseDown:e.handleClick.bind(null,n),onTouchStart:e.handleClick.bind(null,n),onMouseOver:e.handleHover.bind(null,n),className:n===e.selectedIndex?e.classNames.activeSuggestion:"",children:((t,n)=>"function"==typeof e.renderSuggestion?e.renderSuggestion(t,n):(0,s.jsx)("span",{dangerouslySetInnerHTML:((e,t)=>{let n=t.trim().replace(/[-\\^$*+?.()|[\]{}]/g,"\\$&"),{[r]:i}=e;return{__html:i.replace(RegExp(n,"gi"),e=>`<mark>${function(e){return(e=t7(e))&&rz.test(e)?e.replace(rH,rL):e}(e)}</mark>`)}})(t,n)}))(t,e.query)},n));return 0!==u.length&&r0(l,n||2,i,e.shouldRenderSuggestions)?(0,s.jsx)("div",{ref:t,className:o.suggestions,"data-testid":"suggestions",children:(0,s.jsxs)("ul",{children:[" ",u," "]})}):null},(e,t)=>{let{query:r,minQueryLength:n=2,isFocused:i,suggestions:o}=t;return!!(e.isFocused===i&&function e(t,r,n,i,o){return t===r||(null!=t&&null!=r&&(e3(t)||e3(r))?rM(t,r,n,i,e,o):t!=t&&r!=r)}(e.suggestions,o))&&r0(r,n,i,t.shouldRenderSuggestions)===r0(e.query,e.minQueryLength??2,e.isFocused,e.shouldRenderSuggestions)&&e.selectedIndex===t.selectedIndex}),r4=e$(eG(),1),r2=e=>{let{autofocus:t,autoFocus:r,readOnly:n,labelField:i,allowDeleteFromEmptyInput:o,allowAdditionFromPaste:a,allowDragDrop:l,minQueryLength:u,shouldRenderSuggestions:c,removeComponent:d,autocomplete:g,inline:h,maxTags:f,allowUnique:p,editable:v,placeholder:y,delimiters:m,separators:b,tags:T,inputFieldPosition:O,inputProps:D,classNames:S,maxLength:w,inputValue:I,clearAll:C,ariaAttrs:E}=e,[_,x]=(0,K.useState)(e.suggestions),[j,A]=(0,K.useState)(""),[P,R]=(0,K.useState)(!1),[N,M]=(0,K.useState)(-1),[k,L]=(0,K.useState)(!1),[H,z]=(0,K.useState)(""),[F,U]=(0,K.useState)(-1),[B,$]=(0,K.useState)(""),G=(0,K.createRef)(),q=(0,K.useRef)(null),W=(0,K.useRef)(null);(0,K.useEffect)(()=>{m.length&&console.warn("[Deprecation] The delimiters prop is deprecated and will be removed in v7.x.x, please use separators instead. If you have any concerns regarding this, please share your thoughts in https://github.com/react-tags/react-tags/issues/960")},[]),(0,K.useEffect)(()=>{void 0!==h&&console.warn("[Deprecation] The inline attribute is deprecated and will be removed in v7.x.x, please use inputFieldPosition instead.")},[h]),(0,K.useEffect)(()=>{void 0!==t&&console.warn("[Deprecated] autofocus prop will be removed in 7.x so please migrate to autoFocus prop."),(t||r&&!1!==t)&&!n&&Y()},[r,r,n]),(0,K.useEffect)(()=>{ee()},[j,e.suggestions]);let V=t=>{let r=e.suggestions.slice();if(p){let e=T.map(e=>e.id.trim().toLowerCase());r=r.filter(t=>!e.includes(t.id.toLowerCase()))}if(e.handleFilterSuggestions)return e.handleFilterSuggestions(t,r);let n=r.filter(e=>0===X(t,e)),i=r.filter(e=>X(t,e)>0);return n.concat(i)},X=(e,t)=>t[i].toLowerCase().indexOf(e.toLowerCase()),Y=()=>{A(""),q.current&&(q.current.value="",q.current.focus())},J=(t,r)=>{r.preventDefault(),r.stopPropagation();let n=T.slice();0!==n.length&&($(""),e?.handleDelete?.(t,r),Q(t,n))},Q=(e,t)=>{if(!G?.current)return;let r=G.current.querySelectorAll(".ReactTags__remove"),n="";0===e&&t.length>1?(n=`Tag at index ${e} with value ${t[e].id} deleted. Tag at index 0 with value ${t[1].id} focussed. Press backspace to remove`,r[0].focus()):e>0?(n=`Tag at index ${e} with value ${t[e].id} deleted. Tag at index ${e-1} with value ${t[e-1].id} focussed. Press backspace to remove`,r[e-1].focus()):(n=`Tag at index ${e} with value ${t[e].id} deleted. Input focussed. Press enter to add a new tag`,q.current?.focus()),z(n)},Z=t=>{e.handleInputChange&&e.handleInputChange(t.target.value,t),A(t.target.value.trim())},ee=()=>{let e=V(j);x(e),M(N>=e.length?e.length-1:N)},et=t=>{let r=t.target.value;e.handleInputFocus&&e.handleInputFocus(r,t),R(!0)},er=t=>{let r=t.target.value;e.handleInputBlur&&(e.handleInputBlur(r,t),q.current&&(q.current.value="")),R(!1),U(-1)},en=e=>{if(!e.nativeEvent.isComposing){if("Escape"===e.key&&(e.preventDefault(),e.stopPropagation(),M(-1),L(!1),x([]),U(-1)),(-1!==b.indexOf(e.key)||-1!==m.indexOf(e.keyCode))&&!e.shiftKey){(e.keyCode!==rG.TAB||""!==j)&&e.preventDefault();let t=k&&-1!==N?_[N]:{id:j.trim(),[i]:j.trim(),className:""};Object.keys(t)&&ea(t)}"Backspace"===e.key&&""===j&&(o||O===rV.INLINE)&&J(T.length-1,e),e.keyCode===rG.UP_ARROW&&(e.preventDefault(),M(N<=0?_.length-1:N-1),L(!0)),e.keyCode===rG.DOWN_ARROW&&(e.preventDefault(),L(!0),0===_.length?M(-1):M((N+1)%_.length))}},ei=()=>f&&T.length>=f,eo=t=>{if(!a)return;if(ei()){$(rK.TAG_LIMIT),Y();return}$(""),t.preventDefault();let r=t.clipboardData||window.clipboardData,n=r.getData("text"),{maxLength:o=n.length}=e,s=Math.min(o,n.length),l=r.getData("text").substr(0,s),u=m;
1b.length&&(u=[],b.forEach(e=>{let t=function(e){switch(e){case rq.ENTER:return[10,13];case rq.TAB:return 9;case rq.COMMA:return 188;case rq.SPACE:return 32;case rq.SEMICOLON:return 186;default:return 0}}(e);Array.isArray(t)?u=[...u,...t]:u.push(t)}));let c=function(e){var t;let r=(t=t7(t=e.map(e=>{let t=e-48*Math.floor(e/48);return String.fromCharCode(96<=e?t:e)}).join("")))&&rU.test(t)?t.replace(rF,"\\$&"):t;return RegExp(`[${r}]+`)}(u);(function(e){return e&&e.length?r$(e):[]})(l.split(c).map(e=>e.trim())).forEach(e=>ea({id:e.trim(),[i]:e.trim(),className:""}))},ea=t=>{if(!t.id||!t[i])return;if(-1===F){if(ei()){$(rK.TAG_LIMIT),Y();return}$("")}let r=T.map(e=>e.id.toLowerCase());if(!(p&&r.indexOf(t.id.trim().toLowerCase())>=0)){if(g){let e=V(t[i]);console.warn("[Deprecation] The autocomplete prop will be removed in 7.x to simplify the integration and make it more intutive. If you have any concerns regarding this, please share your thoughts in https://github.com/react-tags/react-tags/issues/949"),(1===g&&1===e.length||!0===g&&e.length)&&(t=e[0])}-1!==F&&e.onTagUpdate?e.onTagUpdate(F,t):e?.handleAddition?.(t),A(""),L(!1),M(-1),U(-1),Y()}},es=(t,r)=>{let n=T[t];e?.handleDrag?.(n,t,r)},el=(()=>{let t={...rW,...e.classNames};return T.map((r,o)=>(0,s.jsx)(K.Fragment,{children:F===o?(0,s.jsx)("div",{className:t.editTagInput,children:(0,s.jsx)("input",{ref:e=>{W.current=e},onFocus:et,value:j,onChange:Z,onKeyDown:en,onBlur:er,className:t.editTagInputField,onPaste:eo,"data-testid":"tag-edit"})}):(0,s.jsx)(rQ,{index:o,tag:r,tags:T,labelField:i,onDelete:e=>J(o,e),moveTag:l?es:void 0,removeComponent:d,onTagClicked:t=>((t,r,o)=>{n||(v&&(U(t),A(r[i]),W.current?.focus()),e.handleTagClick?.(t,o))})(o,r,t),readOnly:n,classNames:t,allowDragDrop:l})},o))})(),eu={...rW,...S},{name:ec,id:ed}=e,eg=!1===h?rV.BOTTOM:O,eh=n?null:(0,s.jsxs)("div",{className:eu.tagInput,children:[(0,s.jsx)("input",{...D,ref:e=>{q.current=e},className:eu.tagInputField,type:"text",placeholder:y,"aria-label":y,onFocus:et,onBlur:er,onChange:Z,onKeyDown:en,onPaste:eo,name:ec,id:ed,maxLength:w,value:I,"data-automation":"input","data-testid":"input"}),(0,s.jsx)(r1,{query:j.trim(),suggestions:_,labelField:i,selectedIndex:N,handleClick:e=>{ea(_[e])},handleHover:e=>{M(e),L(!0)},minQueryLength:u,shouldRenderSuggestions:c,isFocused:P,classNames:eu,renderSuggestion:e.renderSuggestion}),C&&T.length>0&&(0,s.jsx)(rZ,{"aria-label":E?.clearAllLabel,classNames:eu,onClick:()=>{e.onClearAll&&e.onClearAll(),$(""),Y()}}),B&&(0,s.jsxs)("div",{"data-testid":"error",className:"ReactTags__error",children:[(0,s.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",height:"24",width:"24",fill:"#e03131",children:(0,s.jsx)("path",{d:"M256 32c14.2 0 27.3 7.5 34.5 19.8l216 368c7.3 12.4 7.3 27.7 .2 40.1S486.3 480 472 480H40c-14.3 0-27.6-7.7-34.7-20.1s-7-27.8 .2-40.1l216-368C228.7 39.5 241.8 32 256 32zm0 128c-13.3 0-24 10.7-24 24V296c0 13.3 10.7 24 24 24s24-10.7 24-24V184c0-13.3-10.7-24-24-24zm32 224a32 32 0 1 0 -64 0 32 32 0 1 0 64 0z"})}),B]})]});return(0,s.jsxs)("div",{className:(0,r4.default)(eu.tags,"react-tags-wrapper"),ref:G,children:[(0,s.jsx)("p",{role:"alert",className:"sr-only",style:{position:"absolute",overflow:"hidden",clip:"rect(0 0 0 0)",margin:"-1px",padding:0,width:"1px",height:"1px",border:0},children:H}),eg===rV.TOP&&eh,(0,s.jsxs)("div",{className:eu.selected,children:[el,eg===rV.INLINE&&eh]}),eg===rV.BOTTOM&&eh]})},r3=e=>{let{placeholder:t="Press enter to add new tag",labelField:r="text",suggestions:n=[],delimiters:i=[],separators:o=e.delimiters?.length?[]:[rq.ENTER,rq.TAB],autofocus:a,autoFocus:l=!0,inline:u,inputFieldPosition:c="inline",allowDeleteFromEmptyInput:d=!1,allowAdditionFromPaste:g=!0,autocomplete:h=!1,readOnly:f=!1,allowUnique:p=!0,allowDragDrop:v=!0,tags:y=[],inputProps:m={},editable:b=!1,clearAll:T=!1,ariaAttrs:O={clearAllLabel:"clear all tags"},handleDelete:D,handleAddition:S,onTagUpdate:w,handleDrag:I,handleFilterSuggestions:C,handleTagClick:E,handleInputChange:_,handleInputFocus:x,handleInputBlur:j,minQueryLength:A,shouldRenderSuggestions:P,removeComponent:R,onClearAll:N,classNames:M,name:k,id:L,maxLength:H,inputValue:z,maxTags:F,renderSuggestion:U}=e;return(0,s.jsx)(r2,{placeholder:t,labelField:r,suggestions:n,delimiters:i,separators:o,autofocus:a,autoFocus:l,inline:u,inputFieldPosition:c,allowDeleteFromEmptyInput:d,allowAdditionFromPaste:g,autocomplete:h,readOnly:f,allowUnique:p,allowDragDrop:v,tags:y,inputProps:m,editable:b,clearAll:T,ariaAttrs:O,handleDelete:D,handleAddition:S,onTagUpdate:w,handleDrag:I,handleFilterSuggestions:C,handleTag
1Click:E,handleInputChange:_,handleInputFocus:x,handleInputBlur:j,minQueryLength:A,shouldRenderSuggestions:P,removeComponent:R,onClearAll:N,classNames:M,name:k,id:L,maxLength:H,inputValue:z,maxTags:F,renderSuggestion:U})},r7=({...e})=>(0,s.jsx)(Q,{backend:em,children:(0,s.jsx)(r3,{...e})})},75774:(e,t,r)=>{r.d(t,{A:()=>m});var n=r(40670),i=r(44501),o=r(14232),a=r(69241),s=r(4697),l=r(49454),u=r(77573),c=r(35268),d=r(47951),g=r(45879);function h(e){return(0,g.Ay)("MuiTable",e)}(0,d.A)("MuiTable",["root","stickyHeader"]);var f=r(37876);let p=["className","component","padding","size","stickyHeader"],v=(0,c.Ay)("table",{name:"MuiTable",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.root,r.stickyHeader&&t.stickyHeader]}})(e=>{let{theme:t,ownerState:r}=e;return(0,i.A)({display:"table",width:"100%",borderCollapse:"collapse",borderSpacing:0,"& caption":(0,i.A)({},t.typography.body2,{padding:t.spacing(2),color:(t.vars||t).palette.text.secondary,textAlign:"left",captionSide:"bottom"})},r.stickyHeader&&{borderCollapse:"separate"})}),y="table",m=o.forwardRef(function(e,t){let r=(0,u.b)({props:e,name:"MuiTable"}),{className:c,component:d=y,padding:g="normal",size:m="medium",stickyHeader:b=!1}=r,T=(0,n.A)(r,p),O=(0,i.A)({},r,{component:d,padding:g,size:m,stickyHeader:b}),D=(e=>{let{classes:t,stickyHeader:r}=e;return(0,s.A)({root:["root",r&&"stickyHeader"]},h,t)})(O),S=o.useMemo(()=>({padding:g,size:m,stickyHeader:b}),[g,m,b]);return(0,f.jsx)(l.A.Provider,{value:S,children:(0,f.jsx)(v,(0,i.A)({as:d,role:d===y?null:"table",ref:t,className:(0,a.A)(D.root,c),ownerState:O},T))})})}}]);

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.