PageSourceSearch

https://www.lesamoureuses.paris/_next/static/chunks/875-2d8801f5e24fd8f4.js

js lesamoureuses.paris collected 2026-10-08 20:01:57 UTC 82,484 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[875],{6907:function(e,t,r){"use strict";var n=r(4836);t.Z=void 0;var i=n(r(4938)),o=r(5893),a=(0,i.default)((0,o.jsx)("path",{d:"M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6v12zM8 9h8v10H8V9zm7.5-5-1-1h-5l-1 1H5v2h14V4z"}),"DeleteOutline");t.Z=a},9661:function(e,t,r){"use strict";r.d(t,{Z:function(){return w}});var n=r(3366),i=r(7462),o=r(7294),a=r(6010),s=r(4780),u=r(948),c=r(7623),l=r(8169),d=r(5893),f=(0,l.Z)((0,d.jsx)("path",{d:"M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"}),"Person"),g=r(1588),p=r(4867);function h(e){return(0,p.Z)("MuiAvatar",e)}(0,g.Z)("MuiAvatar",["root","colorDefault","circular","rounded","square","img","fallback"]);let v=["alt","children","className","component","imgProps","sizes","src","srcSet","variant"],m=e=>{let{classes:t,variant:r,colorDefault:n}=e;return(0,s.Z)({root:["root",r,n&&"colorDefault"],img:["img"],fallback:["fallback"]},h,t)},y=(0,u.ZP)("div",{name:"MuiAvatar",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.root,t[r.variant],r.colorDefault&&t.colorDefault]}})(({theme:e,ownerState:t})=>(0,i.Z)({position:"relative",display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0,width:40,height:40,fontFamily:e.typography.fontFamily,fontSize:e.typography.pxToRem(20),lineHeight:1,borderRadius:"50%",overflow:"hidden",userSelect:"none"},"rounded"===t.variant&&{borderRadius:(e.vars||e).shape.borderRadius},"square"===t.variant&&{borderRadius:0},t.colorDefault&&(0,i.Z)({color:(e.vars||e).palette.background.default},e.vars?{backgroundColor:e.vars.palette.Avatar.defaultBg}:{backgroundColor:"light"===e.palette.mode?e.palette.grey[400]:e.palette.grey[600]}))),b=(0,u.ZP)("img",{name:"MuiAvatar",slot:"Img",overridesResolver:(e,t)=>t.img})({width:"100%",height:"100%",textAlign:"center",objectFit:"cover",color:"transparent",textIndent:1e4}),D=(0,u.ZP)(f,{name:"MuiAvatar",slot:"Fallback",overridesResolver:(e,t)=>t.fallback})({width:"75%",height:"75%"}),O=o.forwardRef(function(e,t){let r=(0,c.Z)({props:e,name:"MuiAvatar"}),{alt:s,children:u,className:l,component:f="div",imgProps:g,sizes:p,src:h,srcSet:O,variant:w="circular"}=r,S=(0,n.Z)(r,v),E=null,T=function({crossOrigin:e,referrerPolicy:t,src:r,srcSet:n}){let[i,a]=o.useState(!1);return o.useEffect(()=>{if(!r&&!n)return;a(!1);let i=!0,o=new Image;return o.onload=()=>{i&&a("loaded")},o.onerror=()=>{i&&a("error")},o.crossOrigin=e,o.referrerPolicy=t,o.src=r,n&&(o.srcset=n),()=>{i=!1}},[e,t,r,n]),i}((0,i.Z)({},g,{src:h,srcSet:O})),I=h||O,C=I&&"error"!==T,x=(0,i.Z)({},r,{colorDefault:!C,component:f,variant:w}),P=m(x);return E=C?(0,d.jsx)(b,(0,i.Z)({alt:s,src:h,srcSet:O,sizes:p,ownerState:x,className:P.img},g)):null!=u?u:I&&s?s[0]:(0,d.jsx)(D,{className:P.fallback}),(0,d.jsx)(y,(0,i.Z)({as:f,ownerState:x,className:(0,a.Z)(P.root,l),ref:t},S,{children:E}))});var w=O},3264:function(e,t,r){"use strict";var n=r(182);let i=(0,n.ZP)();t.Z=i},8363:function(e,t){"use strict";t.Z=function(e,t){if(e&&t){var r=Array.isArray(t)?t:t.split(","),n=e.name||"",i=(e.type||"").toLowerCase(),o=i.replace(/\/.*$/,"");return r.some(function(e){var t=e.trim().toLowerCase();return"."===t.charAt(0)?n.toLowerCase().endsWith(t):t.endsWith("/*")?o===t.replace(/\/.*$/,""):i===t})}return!0}},4063:function(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=(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}},7145:function(e,t,r){"use strict";var n=r(4155);function i(e){return"object"!=typeof e||"toString"in e?e:Object.prototype.toString.call(e).slice(8,-1)}
1Object.defineProperty(t,"__esModule",{value:!0});var o="object"==typeof n;function a(e,t){if(!e){if(o)throw Error("Invariant failed");throw Error(t())}}t.invariant=a;var s=Object.prototype.hasOwnProperty,u=Array.prototype.splice,c=Object.prototype.toString;function l(e){return c.call(e).slice(8,-1)}var d=Object.assign||function(e,t){return f(t).forEach(function(r){s.call(t,r)&&(e[r]=t[r])}),e},f="function"==typeof Object.getOwnPropertySymbols?function(e){return Object.keys(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.keys(e)};function g(e){return Array.isArray(e)?d(e.constructor(e.length),e):"Map"===l(e)?new Map(e):"Set"===l(e)?new Set(e):e&&"object"==typeof e?d(Object.create(Object.getPrototypeOf(e)),e):e}var p=function(){function e(){this.commands=d({},h),this.update=this.update.bind(this),this.update.extend=this.extend=this.extend.bind(this),this.update.isEquals=function(e,t){return e===t},this.update.newContext=function(){return new e().update}}return Object.defineProperty(e.prototype,"isEquals",{get:function(){return this.update.isEquals},set:function(e){this.update.isEquals=e},enumerable:!0,configurable:!0}),e.prototype.extend=function(e,t){this.commands[e]=t},e.prototype.update=function(e,t){var r=this,n="function"==typeof t?{$apply:t}:t;Array.isArray(e)&&Array.isArray(n)||a(!Array.isArray(n),function(){return"update(): You provided an invalid spec to update(). The spec may not contain an array except as the value of $set, $push, $unshift, $splice or any custom command allowing an array value."}),a("object"==typeof n&&null!==n,function(){return"update(): You provided an invalid spec to update(). The spec and every included key path must be plain objects containing one of the following commands: "+Object.keys(r.commands).join(", ")+"."});var i=e;return f(n).forEach(function(t){if(s.call(r.commands,t)){var o=e===i;i=r.commands[t](n[t],i,n,e),o&&r.isEquals(i,e)&&(i=e)}else{var a="Map"===l(e)?r.update(e.get(t),n[t]):r.update(e[t],n[t]),u="Map"===l(i)?i.get(t):i[t];r.isEquals(a,u)&&(void 0!==a||s.call(e,t))||(i===e&&(i=g(e)),"Map"===l(i)?i.set(t,a):i[t]=a)}}),i},e}();t.Context=p;var h={$push:function(e,t,r){return m(t,r,"$push"),e.length?t.concat(e):t},$unshift:function(e,t,r){return m(t,r,"$unshift"),e.length?e.concat(t):t},$splice:function(e,t,r,n){var o;return a(Array.isArray(o=t),function(){return"Expected $splice target to be an array; got "+i(o)}),b(r.$splice),e.forEach(function(e){b(e),t===n&&e.length&&(t=g(n)),u.a
1pply(t,e)}),t},$set:function(e,t,r){return a(1===Object.keys(r).length,function(){return"Cannot have more than one key in an object with $set"}),e},$toggle:function(e,t){y(e,"$toggle");var r=e.length?g(t):t;return e.forEach(function(e){r[e]=!t[e]}),r},$unset:function(e,t,r,n){return y(e,"$unset"),e.forEach(function(e){Object.hasOwnProperty.call(t,e)&&(t===n&&(t=g(n)),delete t[e])}),t},$add:function(e,t,r,n){return D(t,"$add"),y(e,"$add"),"Map"===l(t)?e.forEach(function(e){var r=e[0],i=e[1];t===n&&t.get(r)!==i&&(t=g(n)),t.set(r,i)}):e.forEach(function(e){t!==n||t.has(e)||(t=g(n)),t.add(e)}),t},$remove:function(e,t,r,n){return D(t,"$remove"),y(e,"$remove"),e.forEach(function(e){t===n&&t.has(e)&&(t=g(n)),t.delete(e)}),t},$merge:function(e,t,r,n){var o;return o=t,a(e&&"object"==typeof e,function(){return"update(): $merge expects a spec of type 'object'; got "+i(e)}),a(o&&"object"==typeof o,function(){return"update(): $merge expects a target of type 'object'; got "+i(o)}),f(e).forEach(function(r){e[r]!==t[r]&&(t===n&&(t=g(n)),t[r]=e[r])}),t},$apply:function(e,t){return a("function"==typeof e,function(){return"update(): expected spec of $apply to be a function; got "+i(e)+"."}),e(t)}},v=new p;function m(e,t,r){a(Array.isArray(e),function(){return"update(): expected target of "+i(r)+" to be an array; got "+i(e)+"."}),y(t[r],r)}function y(e,t){a(Array.isArray(e),function(){return"update(): expected spec of "+i(t)+" to be an array; got "+i(e)+". Did you forget to wrap your parameter in an array?"})}function b(e){a(Array.isArray(e),function(){return"update(): expected spec of $splice to be an array of arrays; got "+i(e)+". Did you forget to wrap your parameters in an array?"})}function D(e,t){var r=l(e);a("Map"===r||"Set"===r,function(){return"update(): "+i(t)+" expects a target of type Set or Map; got "+i(r)})}t.isEquals=v.update.isEquals,t.extend=v.extend,t.default=v.update,t.default.default=e.exports=d(t.default,t)},5677:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){let r=o.default,i={loading:e=>{let{error:t,isLoading:r,pastDelay:n}=e;return null}};e instanceof Promise?i.loader=()=>e:"function"==typeof e?i.loader=e:"object"==typeof e&&(i=n({},i,e)),i=n({},i,t);let u=i.loader,c=()=>null!=u?u().then(a):Promise.resolve(a(()=>null));return(i.loadableGenerated&&delete(i=n({},i,i.loadableGenerated)).loadableGenerated,"boolean"!=typeof i.ssr||i.ssr)?r(n({},i,{loader:c})):(delete i.webpack,delete i.modules,s(r,i))},t.noSSR=s;var n=r(6495).Z,i=r(2648).Z,o=(i(r(7294)),i(r(8976)));function a(e){return{default:(null==e?void 0:e.default)||e}}function s(e,t){return delete t.webpack,delete t.modules,e(t)}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},2254:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LoadableContext=void 0;var n=(0,r(2648).Z)(r(7294));let i=n.default.createContext(null);t.LoadableContext=i},8976:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(6495).Z,i=(0,r(2648).Z)(r(7294)),o=r(2254);let a=[],s=[],u=!1;function c(e){let t=e(),r={loading:!0,loaded:null,error:null};return r.promise=t.then(e=>(r.loading=!1,r.loaded=e,e)).catch(e=>{throw r.loading=!1,r.error=e,e}),r}class l{promise(){return this._res.promise}retry(){this._clearTimeouts(),this._res=this._loadFn(this._opts.loader),this._state={pastDelay:!1,timedOut:!1};let{_res:e,_opts:t}=this;e.loading&&("number"==typeof t.delay&&(0===t.delay?this._state.pastDelay=!0:this._delay=setTimeout(()=>{this._update({pastDelay:!0})},t.delay)),"number"==typeof t.timeout&&(this._timeout=setTimeout(()=>{this._update({timedOut:!0})},t.timeout))),this._res.promise.then(()=>{this._update({}),this._clearTimeouts()}).catch(e=>{this._update({}),this._clearTimeouts()}),this._update({})}_update(e){this._state=n({},this._state,{error:this._res.error,loaded:this._res.loaded,loading:this._res.loading}
1,e),this._callbacks.forEach(e=>e())}_clearTimeouts(){clearTimeout(this._delay),clearTimeout(this._timeout)}getCurrentValue(){return this._state}subscribe(e){return this._callbacks.add(e),()=>{this._callbacks.delete(e)}}constructor(e,t){this._loadFn=e,this._opts=t,this._callbacks=new Set,this._delay=null,this._timeout=null,this.retry()}}function d(e){return function(e,t){let r=Object.assign({loader:null,loading:null,delay:200,timeout:null,webpack:null,modules:null},t),n=null;function a(){if(!n){let t=new l(e,r);n={getCurrentValue:t.getCurrentValue.bind(t),subscribe:t.subscribe.bind(t),retry:t.retry.bind(t),promise:t.promise.bind(t)}}return n.promise()}if(!u){let e=r.webpack?r.webpack():r.modules;e&&s.push(t=>{for(let r of e)if(-1!==t.indexOf(r))return a()})}function c(e,t){!function(){a();let e=i.default.useContext(o.LoadableContext);e&&Array.isArray(r.modules)&&r.modules.forEach(t=>{e(t)})}();let s=i.default.useSyncExternalStore(n.subscribe,n.getCurrentValue,n.getCurrentValue);return i.default.useImperativeHandle(t,()=>({retry:n.retry}),[]),i.default.useMemo(()=>{var t;return s.loading||s.error?i.default.createElement(r.loading,{isLoading:s.loading,pastDelay:s.pastDelay,timedOut:s.timedOut,error:s.error,retry:n.retry}):s.loaded?i.default.createElement((t=s.loaded)&&t.default?t.default:t,e):null},[e,s])}return c.preload=()=>a(),c.displayName="LoadableComponent",i.default.forwardRef(c)}(c,e)}function f(e,t){let r=[];for(;e.length;){let n=e.pop();r.push(n(t))}return Promise.all(r).then(()=>{if(e.length)return f(e,t)})}d.preloadAll=()=>new Promise((e,t)=>{f(a).then(e,t)}),d.preloadReady=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return new Promise(t=>{let r=()=>(u=!0,t());f(s,e).then(r,r)})},window.__NEXT_PRELOADREADY=d.preloadReady,t.default=d},5152:function(e,t,r){e.exports=r(5677)},8523:function(e,t,r){"use strict";r.d(t,{uI:function(){return et}});var n=r(7294),i=r(5697),o=r.n(i);function a(e,t,r,n){return new(r||(r=Promise))(function(i,o){function a(e){try{u(n.next(e))}catch(e){o(e)}}function s(e){try{u(n.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?i(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t)})).then(a,s)}u((n=n.apply(e,t||[])).next())})}function s(e,t){var r,n,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(s){return function(u){return function(s){if(r)throw TypeError("Generator is already executing.");for(;o&&(o=0,s[0]&&(a=0)),a;)try{if(r=1,n&&(i=2&s[0]?n.return:s[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,s[1])).done)return i;switch(n=0,i&&(s=[2&s[0],i.value]),s[0]){case 0:case 1:i=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,n=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!(i=(i=a.trys).length>0&&i[i.length-1])&&(6===s[0]||2===s[0])){a=0;continue}if(3===s[0]&&(!i||s[1]>i[0]&&s[1]<i[3])){a.label=s[1];break}if(6===s[0]&&a.label<i[1]){a.label=i[1],i=s;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(s);break}i[2]&&a.ops.pop(),a.trys.pop();continue}s=t.call(e,a)}catch(e){s=[6,e],n=0}finally{r=i=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,u])}}}function u(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,o=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=o.next()).done;)a.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a}function c(e,t,r){if(r||2==arguments.length)for(var n,i=0,o=t.length;i<o;i++)!n&&i in t||(n||(n=Array.prototype.slice.call(t,0,i)),n[i]=t[i]);return e.concat(n||Array.prototype.slice.call(t))}var l=new Map([["aac","audio/aac"],["abw","application/x-abiword"],["arc","application/x-freearc"],["avif","image/avif"],["avi","video/x-msvideo"],["azw","application/vnd.amazon.ebook"],["bin","application/octet-stream"],["bmp","image/bmp"],["bz","application/x-bzip"],["bz2","application/x-bzip2"],["cda","application/x-cdf"],["csh","application/x-csh"],["css","text/css"],["csv","text/csv"],["doc","application/msword"],["docx","application/vnd.openxmlformats-officedocument.wordprocessingml.document"],["eot","application/vnd.ms-fontobject"],["epub","application/epub+zip"],["gz","application/gzip"],["gif","image/gif"],["heic","image/heic"],["heif","image/heif"],["htm","text/html"],["html","text/html"],["ico","image/vnd.microsoft.icon"],["ics","text/calendar"],["jar","application/java-archive"],["jpeg","image/jpeg"],["jpg","image/jpeg"],["js","text/javascript"],["json","application/json"],["jsonld","application/ld+json"],["mid","audio/midi"],["midi","audio/midi"],["mjs","text/javascript"],["mp3","audio/mpeg"],["mp4","video/mp4"],["mpeg","video/mpeg"],["mpkg","application/vnd.apple.installer+xml"],["odp","application/vnd.oasis.opendocument.presentation"],["ods","application/vnd.oasis.opendocument.spreadsheet"],["odt","application/vnd.oasis.opendocument.text"],["oga","audio/ogg"],["ogv","video/ogg"],["ogx","application/ogg"],["opus","audio/opus"],["otf","font/otf"],["png","image/png"],["pdf","application/pdf"],["php","application/x-httpd-php"],["ppt","application/vnd.ms-powerpoint"],["pptx","application/vnd.openxmlformats-officedocument.presentationml.presentation"],["rar","application/vnd.rar"],["rtf","application/rtf"],["sh","application/x-sh"],["svg","image/svg+xml"],["swf","application/x-shockwave-flash"],["tar","application/x-tar"],["tif","image/tiff"],["tiff","image/tiff"],["ts","video/mp2t"],["ttf","font/ttf"],["txt","text/plain"],["vsd","application/vnd.visio"],["wav","audio/wav"],["weba","audio/webm"],["webm","video/webm"],["webp","image/webp"],["woff","font/woff"],["woff2","font/woff2"],["xhtml","application/xhtml+xml"],["xls","application/vnd.ms-excel"],["xlsx","application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"],["xml","application/xml"],["xul","application/vnd.mozilla.xul+xml"],["zip","application/zip"],["7z","application/x-7z-compressed"],["mkv","video/x-matroska"],["mov","video/quicktime"],["msg","application/vnd.ms-outlook"]]);function d(e,t){var r=function(e){var t=e.name;if(t&&-1!==t.lastIndexOf(".")&&!e.type){var r=t.split(".").pop().toLowerCase(),n=l.get(r);
1n&&Object.defineProperty(e,"type",{value:n,writable:!1,configurable:!1,enumerable:!0})}return e}(e);if("string"!=typeof r.path){var n=e.webkitRelativePath;Object.defineProperty(r,"path",{value:"string"==typeof t?t:"string"==typeof n&&n.length>0?n:e.name,writable:!1,configurable:!1,enumerable:!0})}return r}var f=[".DS_Store","Thumbs.db"];function g(e){return"object"==typeof e&&null!==e}function p(e){return e.filter(function(e){return -1===f.indexOf(e.name)})}function h(e){if(null===e)return[];for(var t=[],r=0;r<e.length;r++){var n=e[r];t.push(n)}return t}function v(e){if("function"!=typeof e.webkitGetAsEntry)return m(e);var t=e.webkitGetAsEntry();return t&&t.isDirectory?b(t):m(e)}function m(e){var t=e.getAsFile();return t?Promise.resolve(d(t)):Promise.reject("".concat(e," is not a File"))}function y(e){return a(this,void 0,void 0,function(){return s(this,function(t){return[2,e.isDirectory?b(e):function(e){return a(this,void 0,void 0,function(){return s(this,function(t){return[2,new Promise(function(t,r){e.file(function(r){t(d(r,e.fullPath))},function(e){r(e)})})]})})}(e)]})})}function b(e){var t=e.createReader();return new Promise(function(e,r){var n=[];!function i(){var o=this;t.readEntries(function(t){return a(o,void 0,void 0,function(){var o;return s(this,function(a){switch(a.label){case 0:if(t.length)return[3,5];a.label=1;case 1:return a.trys.push([1,3,,4]),[4,Promise.all(n)];case 2:return e(a.sent()),[3,4];case 3:return r(a.sent()),[3,4];case 4:return[3,6];case 5:o=Promise.all(t.map(y)),n.push(o),i(),a.label=6;case 6:return[2]}})})},function(e){r(e)})}()})}var D=r(8363);function O(e){return function(e){if(Array.isArray(e))return C(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||I(e)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function w(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function S(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?w(Object(r),!0).forEach(function(t){E(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):w(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function E(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function T(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r,n,i=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=i){var o=[],a=!0,s=!1;try{for(i=i.call(e);!(a=(r=i.next()).done)&&(o.push(r.value),!t||o.length!==t);a=!0);}catch(e){s=!0,n=e}finally{try{a||null==i.return||i.return()}finally{if(s)throw n}}return o}}(e,t)||I(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function I(e,t){if(e){if("string"==typeof e)return C(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return C(e,t)}}function C(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}var x=function(e){var t=Array.isArray(e=Array.isArray(e)&&1===e.length?e[0]:e)?"one of ".concat(e.join(", ")):e;return{code:"file-invalid-type",message:"File type must be ".concat(t)}},P=function(e){return{code:"file-too-large",message:"File is larger than ".concat(e," ").concat(1===e?"byte":"bytes")}},k=function(e){return{code:"file-too-small",message:"File is smaller than ".concat(e," ").concat(1===e?"byte":"bytes")}},j={code:"too-many-files",message:"Too many files"};function A(e,t){var r="application/x-moz-file"===e.type||(0,D.Z)(e,t);return[r,r?null:x(t)]}function R(e,t,r){if(N(e.size)){if(N(t)&&N(r)){if(e.size>r)return[!1,P(r)];if(e.size<t)return[!1,k(t)]}else if(N(t)&&e.size<t)return[!1,k(t)];else if(N(r)&&e.size>r)return[!1,P(r)]}return[!0,null]}function N(e){return null!=e}function M(e){return"function"==typeof e.isPropagationStopped?e.isPropagationStopped():void 0!==e.cancelBubble&&e.cancelBubble}function _(e){return e.dataTransfer?Array.prototype.some.call(e.dataTransfer.types,function(e){return"Files"===e||"application/x-moz-file"===e}):!!e.target&&!!e.target.files}function L(e){e.preventDefault()}function F(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return function(e){for(var r=arguments.length,n=Array(r>1?r-1:0),i=1;i<r;i++)n[i-1]=arguments[i];return t.some(function(t){return!M(e)&&t&&t.apply(void 0,[e].concat(n)),M(e)})}}function H(e){return"audio/*"===e||"video/*"===e||"image/*"===e||"text/*"===e||/\w+\/[-+.\w]+/g.test(e)}function z(e){return/^.*\.[\w]+$/.test(e)}var $=["children"],U=["open"],B=["refKey","role","onKeyDown","onFocus","onBlur","onClick","onDragEnter","onDragOver","onDragLeave","onDrop"],Z=["refKey","onChange","onClick"];function q(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r,n,i=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=i){var o=[],a=!0,s=!1;try{for(i=i.call(e);!(a=(r=i.next()).done)&&(o.push(r.value),!t||o.length!==t);a=!0);}catch(e){s=!0,n=e}finally{try{a||null==i.return||i.return()}finally{if(s)throw n}}return o}}(e,t)||G(e,t)||function(){throw TypeError("Invalid attempt to de
1structure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function G(e,t){if(e){if("string"==typeof e)return K(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return K(e,t)}}function K(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function V(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function W(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?V(Object(r),!0).forEach(function(t){Y(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):V(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function Y(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function X(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}var J=(0,n.forwardRef)(function(e,t){var r=e.children,i=et(X(e,$)),o=i.open,a=X(i,U);return(0,n.useImperativeHandle)(t,function(){return{open:o}},[o]),n.createElement(n.Fragment,null,r(W(W({},a),{},{open:o})))});J.displayName="Dropzone";var Q={disabled:!1,getFilesFromEvent:function(e){return a(this,void 0,void 0,function(){return s(this,function(t){return g(e)&&g(e.dataTransfer)?[2,function(e,t){return a(this,void 0,void 0,function(){var r;return s(this,function(n){switch(n.label){case 0:if(!e.items)return[3,2];if(r=h(e.items).filter(function(e){return"file"===e.kind}),"drop"!==t)return[2,r];return[4,Promise.all(r.map(v))];case 1:return[2,p(function e(t){return t.reduce(function(t,r){return c(c([],u(t),!1),u(Array.isArray(r)?e(r):[r]),!1)},[])}(n.sent()))];case 2:return[2,p(h(e.files).map(function(e){return d(e)}))]}})})}(e.dataTransfer,e.type)]:g(e)&&g(e.target)?[2,h(e.target.files).map(function(e){return d(e)})]:Array.isArray(e)&&e.every(function(e){return"getFile"in e&&"function"==typeof e.getFile})?[2,function(e){return a(this,void 0,void 0,function(){return s(this,function(t){switch(t.label){case 0:return[4,Promise.all(e.map(function(e){return e.getFile()}))];case 1:return[2,t.sent().map(function(e){return d(e)})]}})})}(e)]:[2,[]]})})},maxSize:1/0,minSize:0,multiple:!0,maxFiles:0,preventDropOnDocument:!0,noClick:!1,noKeyboard:!1,noDrag:!1,noDragEventsBubbling:!1,validator:null,useFsAccessApi:!0,autoFocus:!1};J.defaultProps=Q,J.propTypes={children:o().func,accept:o().objectOf(o().arrayOf(o().string)),multiple:o().bool,preventDropOnDocument:o().bool,noClick:o().bool,noKeyboard:o().bool,noDrag:o().bool,noDragEventsBubbling:o().bool,minSize:o().number,maxSize:o().number,maxFiles:o().number,disabled:o().bool,getFilesFromEvent:o().func,onFileDialogCancel:o().func,onFileDialogOpen:o().func,useFsAccessApi:o().bool,autoFocus:o().bool,onDragEnter:o().func,onDragLeave:o().func,onDragOver:o().func,onDrop:o().func,onDropAccepted:o().func,onDropRejected:o().func,onError:o().func,validator:o().func};var ee={isFocused:!1,isFileDialogActive:!1,isDragActive:!1,isDragAccept:!1,isDragReject:!1,acceptedFiles:[],fileRejections:[]};function et(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=W(W({},Q),e),r=t.accept,i=t.disabled,o=t.getFilesFromEvent,a=t.maxSize,s=t.minSize,u=t.multiple,c=t.maxFiles,l=t.onDragEnter,d=t.onDragLeave,f=t.onDragOver,g=t.onDrop,p=t.onDropAccepted,h=t.onDropRejected,v=t.onFileDialogCancel,m=t.onFileDialogOpen,y=t.useFsAccessApi,b=t.autoFocus,D=t.preventDropOnDocument,w=t.noClick,I=t.noKeyboard,C=t.noDrag,x=t.noDragEventsBubbling,P=t.onError,k=t.validator,$=(0,n.useMemo)(function(){return function(e){if(N(e))return Object.entries(e).reduce(function(e,t){var r=T(t,2),n=r[0],i=r[1];return[].concat(O(e),[n],O(i))},[]).filter(function(e){return H(e)||z(e)}).join(",")}(r)},[r]),U=(0,n.useMemo)(function(){return N(r)?[{description:"Files",accept:Object.entries(r).filter(function(e){var t=T(e,2),r=t[0],n=t[1],i=!0;return H(r)||(console.warn('Skipped "'.concat(r,'" because it is not a valid MIME type. Check https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types/Common_types for a list of valid MIME types.')),i=!1),Array.isArray(n)&&n.every(z)||(console.warn('Skipped "'.concat(r,'" because an invali
1d file extension was provided.')),i=!1),i}).reduce(function(e,t){var r=T(t,2),n=r[0],i=r[1];return S(S({},e),{},E({},n,i))},{})}]:r},[r]),V=(0,n.useMemo)(function(){return"function"==typeof m?m:en},[m]),J=(0,n.useMemo)(function(){return"function"==typeof v?v:en},[v]),et=(0,n.useRef)(null),ei=(0,n.useRef)(null),eo=q((0,n.useReducer)(er,ee),2),ea=eo[0],es=eo[1],eu=ea.isFocused,ec=ea.isFileDialogActive,el=(0,n.useRef)("undefined"!=typeof window&&window.isSecureContext&&y&&"showOpenFilePicker"in window),ed=function(){!el.current&&ec&&setTimeout(function(){ei.current&&!ei.current.files.length&&(es({type:"closeDialog"}),J())},300)};(0,n.useEffect)(function(){return window.addEventListener("focus",ed,!1),function(){window.removeEventListener("focus",ed,!1)}},[ei,ec,J,el]);var ef=(0,n.useRef)([]),eg=function(e){et.current&&et.current.contains(e.target)||(e.preventDefault(),ef.current=[])};(0,n.useEffect)(function(){return D&&(document.addEventListener("dragover",L,!1),document.addEventListener("drop",eg,!1)),function(){D&&(document.removeEventListener("dragover",L),document.removeEventListener("drop",eg))}},[et,D]),(0,n.useEffect)(function(){return!i&&b&&et.current&&et.current.focus(),function(){}},[et,b,i]);var ep=(0,n.useCallback)(function(e){P?P(e):console.error(e)},[P]),eh=(0,n.useCallback)(function(e){var t;e.preventDefault(),e.persist(),ex(e),ef.current=[].concat(function(e){if(Array.isArray(e))return K(e)}(t=ef.current)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(t)||G(t)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),[e.target]),_(e)&&Promise.resolve(o(e)).then(function(t){if(!M(e)||x){var r,n,i,o,d,f,g,p,h=t.length,v=h>0&&(n=(r={files:t,accept:$,minSize:s,maxSize:a,multiple:u,maxFiles:c,validator:k}).files,i=r.accept,o=r.minSize,d=r.maxSize,f=r.multiple,g=r.maxFiles,p=r.validator,(!!f||!(n.length>1))&&(!f||!(g>=1)||!(n.length>g))&&n.every(function(e){var t=T(A(e,i),1)[0],r=T(R(e,o,d),1)[0],n=p?p(e):null;return t&&r&&!n}));es({isDragAccept:v,isDragReject:h>0&&!v,isDragActive:!0,type:"setDraggedFiles"}),l&&l(e)}}).catch(function(e){return ep(e)})},[o,l,ep,x,$,s,a,u,c,k]),ev=(0,n.useCallback)(function(e){e.preventDefault(),e.persist(),ex(e);var t=_(e);if(t&&e.dataTransfer)try{e.dataTransfer.dropEffect="copy"}catch(e){}return t&&f&&f(e),!1},[f,x]),em=(0,n.useCallback)(function(e){e.preventDefault(),e.persist(),ex(e);var t=ef.current.filter(function(e){return et.current&&et.current.contains(e)}),r=t.indexOf(e.target);-1!==r&&t.splice(r,1),ef.current=t,!(t.length>0)&&(es({type:"setDraggedFiles",isDragActive:!1,isDragAccept:!1,isDragReject:!1}),_(e)&&d&&d(e))},[et,d,x]),ey=(0,n.useCallback)(function(e,t){var r=[],n=[];e.forEach(function(e){var t=q(A(e,$),2),i=t[0],o=t[1],u=q(R(e,s,a),2),c=u[0],l=u[1],d=k?k(e):null;if(i&&c&&!d)r.push(e);else{var f=[o,l];d&&(f=f.concat(d)),n.push({file:e,errors:f.filter(function(e){return e})})}}),(!u&&r.length>1||u&&c>=1&&r.length>c)&&(r.forEach(function(e){n.push({file:e,errors:[j]})}),r.splice(0)),es({acceptedFiles:r,fileRejections:n,type:"setFiles"}),g&&g(r,n,t),n.length>0&&h&&h(n,t),r.length>0&&p&&p(r,t)},[es,u,$,s,a,c,g,p,h,k]),eb=(0,n.useCallback)(function(e){e.preventDefault(),e.persist(),ex(e),ef.current=[],_(e)&&Promise.resolve(o(e)).then(function(t){(!M(e)||x)&&ey(t,e)}).catch(function(e){return ep(e)}),es({type:"reset"})},[o,ey,ep,x]),eD=(0,n.useCallback)(function(){if(el.current){es({type:"openDialog"}),V(),window.showOpenFilePicker({multiple:u,types:U}).then(function(e){return o(e)}).then(function(e){ey(e,null),es({type:"closeDialog"})}).catch(function(e){e instanceof DOMException&&("AbortError"===e.name||e.code===e.ABORT_ERR)?(J(e),es({type:"closeDialog"})):e instanceof DOMException&&("SecurityError"===e.name||e.code===e.SECURITY_ERR)?(el.current=!1,ei.current?(ei.current.value=null,ei.current.click()):ep(Error("Cannot open the file picker because the https://developer.mozilla.org/en-US/docs/Web/API/File_System_Access_API is not supported and no <input> was provided."))):ep(e)});return}ei.current&&(es({type:"openDialog"}),V(),ei.current.value=null,ei.current.click())}
1,[es,V,J,y,ey,ep,U,u]),eO=(0,n.useCallback)(function(e){et.current&&et.current.isEqualNode(e.target)&&(" "===e.key||"Enter"===e.key||32===e.keyCode||13===e.keyCode)&&(e.preventDefault(),eD())},[et,eD]),ew=(0,n.useCallback)(function(){es({type:"focus"})},[]),eS=(0,n.useCallback)(function(){es({type:"blur"})},[]),eE=(0,n.useCallback)(function(){w||(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.navigator.userAgent;return -1!==e.indexOf("MSIE")||-1!==e.indexOf("Trident/")||-1!==e.indexOf("Edge/")}()?setTimeout(eD,0):eD())},[w,eD]),eT=function(e){return i?null:e},eI=function(e){return I?null:eT(e)},eC=function(e){return C?null:eT(e)},ex=function(e){x&&e.stopPropagation()},eP=(0,n.useMemo)(function(){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.refKey,r=e.role,n=e.onKeyDown,o=e.onFocus,a=e.onBlur,s=e.onClick,u=e.onDragEnter,c=e.onDragOver,l=e.onDragLeave,d=e.onDrop,f=X(e,B);return W(W(Y({onKeyDown:eI(F(n,eO)),onFocus:eI(F(o,ew)),onBlur:eI(F(a,eS)),onClick:eT(F(s,eE)),onDragEnter:eC(F(u,eh)),onDragOver:eC(F(c,ev)),onDragLeave:eC(F(l,em)),onDrop:eC(F(d,eb)),role:"string"==typeof r&&""!==r?r:"presentation"},void 0===t?"ref":t,et),i||I?{}:{tabIndex:0}),f)}},[et,eO,ew,eS,eE,eh,ev,em,eb,I,C,i]),ek=(0,n.useCallback)(function(e){e.stopPropagation()},[]),ej=(0,n.useMemo)(function(){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.refKey,r=e.onChange,n=e.onClick,i=X(e,Z);return W(W({},Y({accept:$,multiple:u,type:"file",style:{display:"none"},onChange:eT(F(r,eb)),onClick:eT(F(n,ek)),tabIndex:-1},void 0===t?"ref":t,ei)),i)}},[ei,r,u,eb,i]);return W(W({},ea),{},{isFocused:eu&&!i,getRootProps:eP,getInputProps:ej,rootRef:et,inputRef:ei,open:eT(eD)})}function er(e,t){switch(t.type){case"focus":return W(W({},e),{},{isFocused:!0});case"blur":return W(W({},e),{},{isFocused:!1});case"openDialog":return W(W({},ee),{},{isFileDialogActive:!0});case"closeDialog":return W(W({},e),{},{isFileDialogActive:!1});case"setDraggedFiles":return W(W({},e),{},{isDragActive:t.isDragActive,isDragAccept:t.isDragAccept,isDragReject:t.isDragReject});case"setFiles":return W(W({},e),{},{acceptedFiles:t.acceptedFiles,fileRejections:t.fileRejections});case"reset":return W({},ee);default:return e}}function en(){}},4912:function(e,t,r){"use strict";r.d(t,{k:function(){return i}});var n=r(4155);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}}},6580:function(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 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 u=o[a];if(!s(u))return!1;let c=e[u],l=t[u];if(!1===(i=r?r.call(n,c,l,u):void 0)||void 0===i&&c!==l)return!1}return!0}r.d(t,{w:function(){return n}})},6963:function(e,t,r){"use strict";r.d(t,{PD:function(){return w}});var n={};function i(e){let t=null,r=()=>(null==t&&(t=e()),t);return r}r.r(n),r.d(n,{FILE:function(){return s},HTML:function(){return l},TEXT:function(){return c},URL:function(){return u}});class o{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=[];return r.forEach(e=>i.push(e)),i}(this.entered.filter(r),[e]),0===t&&this.entered.length>0}leave(e){let t=this.entered.length;return this.entered=this.entered.filter(this.isNodeInDocument).filter(t=>t!==e),t>0&&0===this.entered.length}reset(){this.entered=[]}constructor(e){this.entered=[],this.isNodeInDocument=e}}class a{initializeExposedProperties(){Object.keys(this.config.exposeProperties).forEac
1h(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 s="__NATIVE_FILE__",u="__NATIVE_URL__",c="__NATIVE_TEXT__",l="__NATIVE_HTML__";function d(e,t,r){let n=t.reduce((t,r)=>t||e.getData(r),"");return null!=n?n:r}let f={[s]:{exposeProperties:{files:e=>Array.prototype.slice.call(e.files),items:e=>e.items,dataTransfer:e=>e},matchesTypes:["Files"]},[l]:{exposeProperties:{html:(e,t)=>d(e,t,""),dataTransfer:e=>e},matchesTypes:["Html","text/html"]},[u]:{exposeProperties:{urls:(e,t)=>d(e,t,"").split("\n"),dataTransfer:e=>e}
1,matchesTypes:["Url","text/uri-list"]},[c]:{exposeProperties:{text:(e,t)=>d(e,t,""),dataTransfer:e=>e},matchesTypes:["Text","text/plain"]}};function g(e){if(!e)return null;let t=Array.prototype.slice.call(e.types||[]);return Object.keys(f).filter(e=>{let r=f[e];return null!=r&&!!r.matchesTypes&&r.matchesTypes.some(e=>t.indexOf(e)>-1)})[0]||null}let p=i(()=>/firefox/i.test(navigator.userAgent)),h=i(()=>Boolean(window.safari));class v{interpolate(e){let t;let{xs:r,ys:n,c1s:i,c2s:o,c3s:a}=this,s=r.length-1;if(e===r[s])return n[s];let u=0,c=a.length-1;for(;u<=c;){t=Math.floor(.5*(u+c));let i=r[t];if(i<e)u=t+1;else{if(!(i>e))return n[t];c=t-1}}s=Math.max(0,c);let l=e-r[s],d=l*l;return n[s]+i[s]*l+o[s]*d+a[s]*l*d}constructor(e,t){let r,n,i;let{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=[],u=[],c=[];for(let i=0;i<o-1;i++)r=e[i+1]-e[i],n=t[i+1]-t[i],u.push(r),s.push(n),c.push(n/r);let l=[c[0]];for(let e=0;e<u.length-1;e++){let t=c[e],n=c[e+1];if(t*n<=0)l.push(0);else{r=u[e];let i=u[e+1],o=r+i;l.push(3*o/((o+i)/t+(o+r)/n))}}l.push(c[c.length-1]);let d=[],f=[];for(let e=0;e<l.length-1;e++){i=c[e];let t=l[e],r=1/u[e],n=t+l[e+1]-i-i;d.push((i-t-n)*r),f.push(n*r*r)}this.xs=e,this.ys=t,this.c1s=l,this.c2s=d,this.c3s=f}}function m(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 y(e){return{x:e.clientX,y:e.clientY}}class b{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?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?void 0:e.rootElement)||this.window}constructor(e,t){this.ownerDocument=null,this.globalContext=e,this.optionsArgs=t}}function D(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,i;n=e,i=r[t],t in n?Object.defineProperty(n,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[t]=i})}return e}class O{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?void 0:e.length)||0,dropTargetIds:this.dropTargetIds.length,dragEnterTargetIds:this.dragEnterTargetIds.length,dragOverTargetIds:(null===(t=this.dragOverTargetIds)||void 0===t?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)||void 0===t||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 D({dropEffect:this.altKeyPressed?"copy":"move"},t||{})}getCurrentDropEffect(){return this.isDraggingNativeItem()?"copy":this.getCurrentSourceNodeOptions().dropEffect}getCurrentSourcePreviewNodeOptions(){let e=this.monitor.getSourceId(),t=this.sourcePreviewNodeOptions.get(e);return D({anchorX:.5,anchorY:.5,captureDraggingState:!1},t||{})}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=f[e];if(!r)throw Error(`native type ${e} has no configuration`);let n=new a(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?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)||void 0===e||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&&m(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=>Boolean(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=y(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=g(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(),u=function(e,t,r,n,i){var o;let a,s;let u="IMG"===t.nodeName&&(p()||!(null===(o=document.documentElement)||void 0===o?void 0:o.contains(t))),c=m(u?e:t),l={x:r.x-c.x,y:r.y-c.y},{offsetWidth:d,offsetHeight:f}=e,{anchorX:g,anchorY:y}=n,{dragPreviewWidth:b,dragPreviewHeight:D}=(a=u?t.width:d,s=u?t.height:f,h()&&u&&(s/=window.devicePixelRatio,a/=window.devicePixelRatio),{dragPreviewWidth:a,dragPreviewHeight:s}),{offsetX:O,offsetY:w}=i;return{x:0===O||O?O:(()=>{let e=new v([0,.5,1],[l.x,l.x/d*b,l.x+b-d]);return e.interpolate(g)})(),y:0===w||w?w:(()=>{let e=new v([0,.5,1],[l.y,l.y/f*D,l.y+D-f]),t=e.interpolate(y);return h()&&u&&(t+=(window.devicePixelRatio-1)*D),t})()}}(t,i,r,{anchorX:e,anchorY:o},{offsetX:a,offsetY:s});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)||void 0===t||t.loadDataTransfer(e.dataTransfer)}let r=this.enterLeaveCounter.enter(e.target);if(!r||this.monitor.isDragging())return;let{dataTransfer:n}=e,i=g(n);i&&this.beginDragNativeItem(i,n)},this.handleTopDragEnter=e=>{let{dragEnterTargetIds:t}=this;if(this.dragEnterTargetIds=[],!this.monitor.isDragging())return;this.altKeyPressed=e.altKey,t.length>0&&this.actions.hover(t,{clientOffset:y(e)});let r=t.some(e=>this.monitor.canDropOnTarget(e));r&&(e.preventDefault(),e.dataTransfer&&(e.dataTransfer.dropEffect=this.getCurrentDropEffect()))},this.handleTopDragOverCapture=e=>{if(this.dragOverTargetIds=[],this.isDraggingNativeItem()){var t;null===(t=this.currentNativeSource)||void 0===t||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=y(e),this.scheduleHover(t);let r=(t||[]).some(e=>this.monitor.canDropOnTarget(e));r?(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();let t=this.enterLeaveCounter.leave(e.target);t&&(this.isDraggingNativeItem()&&setTimeout(()=>this.endDragNativeItem(),0),this.cancelHover())},this.handleTopDropCapture=e=>{if(this.dropTargetIds=[],this.isDraggingNativeItem()){var t;e.preventDefault(),null===(t=this.currentNativeSource)||void 0===t||t.loadDataTransfer(e.dataTransfer)}else g(e.dataTransfer)&&e.preventDefault();this.enterLeaveCounter.reset()},this.handleTopDrop=e=>{let{dropTargetIds:t}=this;this.dropTargetIds=[],this.actions.hover(t,{clientOffset:y(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 b(t,r),this.actions=e.getActions(),this.monitor=e.getMonitor(),this.registry=e.getRegistry(),this.enterLeaveCounter=new o(this.isNodeInDocument)}}let w=function(e,t,r){return new O(e,t,r)}},2667:function(e,t,r){"use strict";r.d(t,{L:function(){return i}});var n=r(7294);let i=(0,n.createContext)({dragDropManager:void 0})},8493:function(e,t,r){"use strict";r.d(t,{W:function(){return X}});var n,i,o=r(5893);function a(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 s="function"==typeof Symbol&&Symbol.observable||"@@observable",u=function(){return Math.random().toString(36).substring(7).split("").join(".")},c={INIT:"@@redux/INIT"+u(),REPLACE:"@@redux/REPLACE"+u(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+u()}},l=r(4912);function d(e){return"object"==typeof e}let f="dnd-core/INIT_COORDS",g="dnd-core/BEGIN_DRAG",p="dnd-core/PUBLISH_DRAG_SOURCE",h="dnd-core/HOVER",v="dnd-core/DROP",m="dnd-core/END_DRAG";function y(e,t){return{type:f,payload:{sourceClientOffset:t||null,clientOffset:e||null}}}let b={type:f,payload:{clientOffset:null,sourceClientOffset:null}};function D(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}){let{publishSource:n=!0,clientOffset:i,getSourceClientOffset:o}=r,a=e.getMonitor(),s=e.getRegistry();e.dispatch(y(i)),(0,l.k)(!a.isDragging(),"Cannot call beginDrag while dragging."),t.forEach(function(e){(0,l.k)(s.getSource(e),"Expected sourceIds to be registered.")});let u=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,a);if(null==u){e.dispatch(b);return}let c=null;if(i){if(!o)throw Error("getSourceClientOffset must be defined");(0,l.k)("function"==typeof o,"When clientOffset is provided, getSourceClientOffset must be a function."),c=o(u)}e.dispatch(y(i,c));let f=s.getSource(u),p=f.beginDrag(a,u);if(null==p)return;(0,l.k)(d(p),"Item must be an object."),s.pinSource(u);let h=s.getSourceType(u);return{type:g,payload:{itemType:h,item:p,sourceId:u,clientOffset:i||null,sourceClientOffset:c||null,isSourcePublic:!!n}}}),publishDragSource:(t=this,function(){let e=t.getMonitor();if(e.isDragging())return{type:p}}),hover:(r=this,function(e,{clientOffset:t}={}){(0,l.k)(Array.isArray(e),"Expected targetIds to be an array.");let n=e.slice(0),i=r.getMonitor(),o=r.getRegistry(),a=i.getItemType();return function(e,t,r){for(let n=e.length-1;n>=0;n--){let i=e[n],o=t.getTargetType(i);D(o,r)||e.splice(n,1)}}(n,o,a),function(e,t,r){(0,l.k)(t.isDragging(),"Cannot call hover while not dragging."),(0,l.k)(!t.didDrop(),"Cannot call hover after drop.");for(let t=0;t<e.length;t++){let n=e[t];(0,l.k)(e.lastIndexOf(n)===t,"Expected targetIds to be unique in the passed array.");let i=r.getTarget(n);(0,l.k)(i,"Expected targetIds to be registered.")}}(n,i,o),function(e,t,r){e.forEach(function(e){let n=r.getTarget(e);n.hover(t,e)})}(n,i,o),{type:h,payload:{targetIds:n,clientOffset:t||null}}}),drop:(n=this,function(e={}){let t=n.getMonitor(),r=n.getRegistry();(0,l.k)(t.isDragging(),"Cannot call drop while not dragging."),(0,l.k)(!t.didDrop(),"Cannot call drop twice during one drag operation.");let i=function(e){let t=e.getTargetIds().filter(e.canDropOnTarget,e);return t.reverse(),t}(t);i.forEach((i,o)=>{let a=function(e,t,r,n){var i;let o=r.getTarget(e),a=o?o.drop(n,e):void 0;return i=a,(0,l.k)(void 0===i||d(i),"Drop result must either be an object or undefined."),void 0===a&&(a=0===t?{}:n.getDropResult()),a}(i,o,r,t),s={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}
1))),n.forEach(function(t){var n,i;n=e,i=r[t],t in n?Object.defineProperty(n,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[t]=i})}return e}({},e,a)}};n.dispatch(s)})}),endDrag:(i=this,function(){let e=i.getMonitor(),t=i.getRegistry();(0,l.k)(e.isDragging(),"Cannot call endDrag while not dragging.");let r=e.getSourceId();if(null!=r){let n=t.getSource(r,!0);n.endDrag(e,r),t.unpinSource()}return{type:m}})};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 w(e,t){return{x:e.x-t.x,y:e.y-t.y}}let S=[],E=[];S.__IS_NONE__=!0,E.__IS_ALL__=!0;class T{subscribeToStateChange(e,t={}){let{handlerIds:r}=t;(0,l.k)("function"==typeof e,"listener must be a function."),(0,l.k)(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{let o=i===n||i===n+1&&!function(e,t){if(e===S)return!1;if(e===E||void 0===t)return!0;let r=t.filter(t=>e.indexOf(t)>-1);return r.length>0}(t.dirtyHandlerIds,r);o||e()}finally{n=i}};return this.store.subscribe(i)}subscribeToOffsetChange(e){(0,l.k)("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,l.k)(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);if((0,l.k)(t,`Expected to find a valid target. targetId=${e}`),!this.isDragging()||this.didDrop())return!1;let r=this.registry.getTargetType(e),n=this.getItemType();return D(r,n)&&t.canDrop(this,e)}isDragging(){return Boolean(this.getItemType())}isDraggingSource(e){if(!e)return!1;let t=this.registry.getSource(e,!0);if((0,l.k)(t,`Expected to find a valid source. sourceId=${e}`),!this.isDragging()||!this.isSourcePublic())return!1;let r=this.registry.getSourceType(e),n=this.getItemType();return r===n&&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&&!D(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 Boolean(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?w({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?w(t,r):null}(this.store.getState().dragOffset)}constructor(e,t){this.store=e,this.registry=t}}let I="undefined"!=typeof global?global:self,C=I.MutationObserver||I.WebKitMutationObserver;function x(e){return function(){let t=setTimeout(n,0),r=setInterval(n,50);function n(){clearTimeout(t),clearInterval(r),e()}}}let P="function"==typeof C?function(e){let t=1,r=new C(e),n=document.createTextNode("");return r.observe(n,{characterData:!0}
1),function(){t=-t,n.data=t}}:x;class k{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}}let j=new class{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=P(this.flush),this.requestErrorThrow=x(()=>{if(this.pendingErrors.length)throw this.pendingErrors.shift()})}},A=new class{create(e){let t=this.freeTasks,r=t.length?t.pop():new k(this.onError,e=>t[t.length]=e);return r.task=e,r}constructor(e){this.onError=e,this.freeTasks=[]}}(j.registerPendingError),R="dnd-core/ADD_SOURCE",N="dnd-core/ADD_TARGET",M="dnd-core/REMOVE_SOURCE",_="dnd-core/REMOVE_TARGET";function L(e,t){if(t&&Array.isArray(e)){e.forEach(e=>L(e,!1));return}(0,l.k)("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 F=0;function H(e){switch(e[0]){case"S":return i.SOURCE;case"T":return i.TARGET;default:throw Error(`Cannot parse handler ID: ${e}`)}}function z(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){L(e),(0,l.k)("function"==typeof t.canDrag,"Expected canDrag to be a function."),(0,l.k)("function"==typeof t.beginDrag,"Expected beginDrag to be a function."),(0,l.k)("function"==typeof t.endDrag,"Expected endDrag to be a function.");let r=this.addHandler(i.SOURCE,e,t);return this.store.dispatch({type:R,payload:{sourceId:r}}),r}addTarget(e,t){L(e,!0),(0,l.k)("function"==typeof t.canDrop,"Expected canDrop to be a function."),(0,l.k)("function"==typeof t.hover,"Expected hover to be a function."),(0,l.k)("function"==typeof t.drop,"Expected beginDrag to be a function.");let r=this.addHandler(i.TARGET,e,t);return this.store.dispatch({type:N,payload:{targetId:r}}),r}containsHandler(e){return z(this.dragSources,e)||z(this.dropTargets,e)}getSource(e,t=!1){(0,l.k)(this.isSourceId(e),"Expected a valid source ID.");let r=t&&e===this.pinnedSourceId,n=r?this.pinnedSource:this.dragSources.get(e);return n}getTarget(e){return(0,l.k)(this.isTargetId(e),"Expected a valid target ID."),this.dropTargets.get(e)}getSourceType(e){return(0,l.k)(this.isSourceId(e),"Expected a valid source ID."),this.types.get(e)}getTargetType(e){return(0,l.k)(this.isTargetId(e),"Expected a valid target ID."),this.types.get(e)}isSourceId(e){let t=H(e);return t===i.SOURCE}isTargetId(e){let t=H(e);return t===i.TARGET}removeSource(e){var t;(0,l.k)(this.getSource(e),"Expected an existing source."),this.store.dispatch({type:M,payload:{sourceId:e}}),t=()=>{this.dragSources.delete(e),this.types.delete(e)},j.enqueueTask(A.create(t))}removeTarget(e){(0,l.k)(this.getTarget(e),"Expected an existing target."),this.store.dispatch({type:_,payload:{targetId:e}}),this.dropTargets.delete(e),this.types.delete(e)}pinSource(e){let t=this.getSource(e);(0,l.k)(t,"Expected an existing source."),this.pinnedSourceId=e,this.pinnedSource=t}unpinSource(){(0,l.k)(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 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 U=(e,t)=>e===t,B={initialSourceClientOffset:null,initialClientOffset:null,clientOffset:null};function Z(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,i;n=e,i=r[t],t in n?Object.defineProperty(n,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[t]=i})}return e}let q={itemType:null,item:null,sourceId:null,targetIds:[],dropResult:null,didDrop:!1,isSourcePublic:null};function G(e={},t){var r;return{dirtyHandlerIds:function(e=S,t){switch(t.type){case h:break;case R:case N:case _:case M:return S;default:return E}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),o=i.length>0||!function(e,t,r=U){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);if(!o)return S;let a=n[n.length-1],s=r[r.length-1];return a!==s&&(a&&i.push(a),s&&i.push(s)),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,i;n=e,i=r[t],t in n?Object.defineProperty(n,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[t]=i})}return e}({},t.payload,{prevTargetIds:(r=[],"dragOperation.targetIds".split(".").reduce((e,t)=>e&&e[t]?e[t]:r||null,e))})}),dragOffset:function(e=B,t){let{payload:r}=t;switch(t.type){case f:case g:return{initialSourceClientOffset:r.sourceClientOffset,initialClientOffset:r.clientOffset,clientOffset:r.clientOffset};case h: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,i;n=e,i=r[t],t in n?Object.defineProperty(n,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[t]=i})}return e}({},e,{clientOffset:r.clientOffset});case m:case v:return B;default:return e}}(e.dragOffset,t),refCount:function(e=0,t){switch(t.type){case R:case N:return e+1;case M:case _:return e-1;default:return e}}(e.refCount,t),dragOperation:function(e=q,t){let{payload:r}=t;switch(t.type){case g:return Z({},e,{itemType:r.itemType,item:r.item,sourceId:r.sourceId,isSourcePublic:r.isSourcePublic,dropResult:null,didDrop:!1});case p:return Z({},e,{isSourcePublic:!0});case h:return Z({},e,{targetIds:r.targetIds});case _:var n,i;if(-1===e.targetIds.indexOf(r.targetId))return e;return Z({},e,{targetIds:(n=e.targetIds,i=r.targetId,n.filter(e=>e!==i))});case v:return Z({},e,{dropResult:r.dropResult,didDrop:!0,targetIds:[]});case m:return Z({},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(7294),V=r(2667);let W=0,Y=Symbol.for("__REACT_DND_CONTEXT_INSTANCE__");var X=(0,K.memo)(function(e){var{children:t}=e,r=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"]);let[n,i]=function(e){if("manager"in e){let t={dragDropManager:e.manager};return[t,!1]}let t=function(e,t=J(),r,n){let i=t;return i[Y]||(i[Y]={dragDropManager:function(e,t,r={},n=!1){let i=function(e){let t="undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION__;return function e(t,r,n){if("function"==typeof r&&"function"==typeof n||"function"==typeof n&&"function"==typeof arguments[3])throw Error(a(0));if("function"==typeof r&&void 0===n&&(n=r,r=void 0),void 0!==n){if("function"!=typeof n)throw Error(a(1));return n(e)(t,r)}if("function"!=typeof t)throw Error(a(2));var i,o=t,u=r,l=[],d=l,f=!1;function g(){d===l&&(d=l.slice())}function p(){if(f)throw Error(a(3));return u}function h(e){if("function"!=typeof e)throw Error(a(4));if(f)throw Error(a(5));var t=!0;return g(),d.push(e),function(){if(t){if(f)throw Error(a(6));t=!1,g();var r=d.indexOf(e);d.splice(r,1),l=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(a(7));if(void 0===e.type)throw Error(a(8));if(f)throw Error(a(9));try{f=!0,u=o(u,e)}finally{f=!1}for(var t=l=d,r=0;r<t.length;r++)(0,t[r])();return e}return v({type:c.INIT}),(i={dispatch:v,subscribe:h,getState:p,replaceReducer:function(e){if("function"!=typeof e)throw Error(a(10));o=e,v({type:c.REPLACE})}})[s]=function(){var e;return(e={subscribe:function(e){if("object"!=typeof e||null===e)throw Error(a(11));function t(){e.next&&e.next(p())}return t(),{unsubscribe:h(t)}}})[s]=function(){return this},e},i}(G,e&&t&&t({name:"dnd-core",instanceId:"dnd-core"}))}(n),o=new T(i,new $(i)),u=new O(i,o),l=e(u,t,r);return u.receiveBackend(l),u}(e,t,r,n)}),i[Y]}(e.backend,e.context,e.options,e.debugMode),r=!e.context;return[t,r]}(r);return(0,K.useEffect)(()=>
1{if(i){let e=J();return++W,()=>{0==--W&&(e[Y]=null)}}},[]),(0,o.jsx)(V.L.Provider,{value:n,children:t})});function J(){return"undefined"!=typeof global?global:window}},8672:function(e,t,r){"use strict";r.d(t,{J:function(){return a}});var n=r(4063),i=r(7294),o=r(6618);function a(e,t,r){return function(e,t,r){let[a,s]=function(e,t,r){let[a,s]=(0,i.useState)(()=>t(e)),u=(0,i.useCallback)(()=>{let i=t(e);!n(a,i)&&(s(i),r&&r())},[a,e,r]);return(0,o.L)(u),[a,u]}(e,t,r);return(0,o.L)(function(){let t=e.getHandlerId();if(null!=t)return e.subscribeToStateChange(s,{handlerIds:[t]})},[e,s]),a}(t,e||(()=>({})),()=>r.reconnect())}},9294:function(e,t,r){"use strict";r.d(t,{c:function(){return y}});var n=r(4912),i=r(8672),o=r(2203),a=r(7294),s=r(6580),u=r(8697),c=r(1317);class l{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)),t):(this.lastConnectedDragSource=e,t):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,s.w)(this.lastConnectedDragSourceOptions,this.dragSourceOptions)}didDragPreviewOptionsChange(){return!(0,s.w)(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,c.p)({dragSource:(e,t)=>{this.clearDragSource(),this.dragSourceOptions=t||null,(0,u.d)(e)?this.dragSourceRef=e:this.dragSourceNode=e,this.reconnectDragSource()},dragPreview:(e,t)=>{this.clearDragPreview(),this.dragPreviewOptions=t||null,(0,u.d)(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(5109),f=r(6618);let g=!1,p=!1;class h{receiveHandlerId(e){this.sourceId=e}getHandlerId(){return this.sourceId}canDrag(){(0,n.k)(!g,"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 g=!0,this.internalMonitor.canDragSource(this.sourceId)}finally{g=!1}}isDragging(){if(!this.sourceId)return!1;(0,n.k)(!p,"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 p=!0,this.internalMonitor.isDraggingSource(this.sourceId)}finally{p=!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(5872);class m{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 y(e,t){let r=(0,o.w)(e,t);(0,n.k)(!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 s=function(){let e=(0,d.N)();return(0,a.useMemo)(()=>new h(e),[e])}(),u=function(e,t){let r=(0,d.N)(),n=(0,a.useMemo)(()=>new l(r.getBackend()),[r]);return(0,f.L)(()=>(n.dragSourceOptions=e||null,n.reconnect(),()=>n.disconnectDragSource()),[n,e]),(0,f.L)(()=>(n.dragPreviewOptions=t||null,n.reconnect(),()=>n.disconnectDragPreview()),[n,t]),n}(r.options,r.previewOptions);return!function(e,t,r){let i=(0,d.N)(),o=function(e,t,r){let n=(0,a.useMemo)(()=>new m(e,t,r),[t,r]);return(0,a.useEffect)(()=>{n.spec=e},[e]),n}(e,t,r),s=(0,a.useMemo)(()=>{let t=e.type;return(0,n.k)(null!=t,"spec.type must be defined"),t},[e]);(0,f.L)(function(){if(null!=s){let[e,n]=(0,v.w)(s,o,i);return t.receiveHandlerId(e),r.receiveHandlerId(e),n}},[i,t,r,o,s])}(r,s,u),[(0,i.J)(r.collect,s,u),(0,a.useMemo)(()=>u.hooks.dragSource(),[u]),(0,a.useMemo)(()=>u.hooks.dragPreview(),[u])]}},5109:function(e,t,r){"use strict";r.d(t,{N:function(){return a}});var n=r(4912),i=r(7294),o=r(2667);function a(){let{dragDropManager:e}=(0,i.useContext)(o.L);return(0,n.k)(null!=e,"Expected drag drop context"),e}},9272:function(e,t,r){"use strict";r.d(t,{L:function(){return m}});var n=r(8672),i=r(2203),o=r(7294),a=r(6580),s=r(8697),u=r(1317);class c{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,a.w)(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.p)({dropTarget:(e,t)=>{this.clearDropTarget(),this.dropTargetOptions=t,(0,s.d)(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 l=r(5109),d=r(6618),f=r(4912);let g=!1;class p{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,f.k)(!g,"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 g=!0,this.internalMonitor.canDropOnTarget(this.targetId)}finally{g=!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 h=r(5872);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 m(e,t){let r=(0,i.w)(e,t),a=function(){let e=(0,l.N)();return(0,o.useMemo)(()=>new p(e),[e])}(),s=function(e){let t=(0,l.N)(),r=(0,o.useMemo)(()=>new c(t.getBackend()),[t]);return(0,d.L)(()=>(r.dropTargetOptions=e||null,r.reconnect(),()=>r.disconnectDropTarget()),[e]),r}(r.options);return!function(e,t,r){let n=(0,l.N)(),i=function(e,t){let r=(0,o.useMemo)(()=>new v(e,t),[t]);return(0,o.useEffect)(()=>{r.spec=e},[e]),r}(e,t),a=function(e){let{accept:t}=e;return(0,o.useMemo)(()=>((0,f.k)(null!=e.accept,"accept must be defined"),Array.isArray(t)?t:[t]),[t])}(e);(0,d.L)(function(){let[e,o]=(0,h.n)(a,i,n);return t.receiveHandlerId(e),r.receiveHandlerId(e),o},[n,t,i,r,a.map(e=>e.toString()).join("|")])}(r,a,s),[(0,n.J)(r.collect,a,s),(0,o.useMemo)(()=>s.hooks.dropTarget(),[s])]}},6618:function(e,t,r){"use strict";r.d(t,{L:function(){return i}});var n=r(7294);let i="undefined"!=typeof window?n.useLayoutEffect:n.useEffect},2203:function(e,t,r){"use strict";r.d(t,{w:function(){return i}});var n=r(7294);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)}},8697:function(e,t,r){"use strict";function n(e){return null!==e&&"object"==typeof e&&Object.prototype.hasOwnProperty.call(e,"current")}r.d(t,{d:function(){return n}})},5872:function(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,{n:function(){return n},w:function(){return i}})},1317:function(e,t,r){"use strict";r.d(t,{p:function(){return o}});var n=r(4912),i=r(7294);function o(e){let t={};return Object.keys(e).forEach(r=>{let o=e[r];if(r.endsWith("Ref"))t[r]=e[r];else{let e=(e=null,t=null)=>(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),function(e,t){let r=e.ref;return((0,n.k)("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,i.cloneElement)(e,{ref:e=>{a(r,e),a(t,e)}}):(0,i.cloneElement)(e,{ref:t})}(e,t?e=>o(e,t):o)):(o(e,t),e);t[r]=()=>e}}),t}function a(e,t){"function"==typeof e?e(t):e.current=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.