1try{!function(){var e="u">typeof window?window:"u">typeof global?global:"u">typeof globalThis?globalThis:"u">typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="47561bb0-410b-48ad-bdb3-0428bd2d43b6",e._sentryDebugIdIdentifier="sentry-dbid-47561bb0-410b-48ad-bdb3-0428bd2d43b6")}()}catch(e){}try{("u">typeof window?window:"u">typeof global?global:"u">typeof globalThis?globalThis:"u">typeof self?self:{}).SENTRY_RELEASE={id:"bcdbdce2870cd45d56228836b05c7d4fefac18d5"}}catch(e){}"use strict";(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([[79774],{543470:function(e,t,n){n.d(t,{V:function(){return J}});var r=n(835076),o=n(228300),i=n.n(o),a=n(712317),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 s(e,t){var n=function(e){var t=e.name;if(t&&-1!==t.lastIndexOf(".")&&!e.type){var n=t.split(".").pop().toLowerCase(),r=l.get(n);r&&Object.defineProperty(e,"type",{value:r,writable:!1,configurable:!1,enumerable:!0})}return e}(e);if("string"!=typeof n.path){var r=e.webkitRelativePath;Object.defineProperty(n,"path",{value:"string"==typeof t?t:"string"==typeof r&&r.length>0?r:e.name,writable:!1,configurable:!1,enumerable:!0})}return n}var c=[".DS_Store","Thumbs.db"];function u(e){return"object"==typeof e&&null!==e}function f(e){return e.filter(function(e){return -1===c.indexOf(e.name)})}function d(e){if(null===e)return[];for(var t=[],n=0;n<e.length;n++){var r=e[n];t.push(r)}return t}function p(e){if("function"!=typeof e.webkitGetAsEntry)return h(e);var t=e.webkitGetAsEntry();return t&&t.isDirectory?y(t):h(e)}function h(e){var t=e.getAsFile();return t?Promise.resolve(s(t)):Promise.reject("".concat(e," is not a File"))}function g(e){return(0,a.sH)(this,void 0,void 0,function(){return(0,a.YH)(this,function(t){return[2,e.isDirectory?y(e):function(e){return(0,a.sH)(this,void 0,void 0,function(){return(0,a.YH)(this,function(t){return[2,new Promise(function(t,n){e.file(function(n){t(s(n,e.fullPath))},function(e){n(e)})})]})})}(e)]})})}function y(e){var t=e.createReader();return new Promise(function(e,n){var r=[];!function o(){var i=this;t.readEntries(function(t){return(0,a.sH)(i,void 0,void 0,function(){var i;return(0,a.YH)(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(r)];case 2:return e(a.sent()),[3,4];case 3:return n(a.sent()),[3,4];case 4:return[3,6];case 5:i=Promise.all(t.map(g)),r.push(i),o(),a.label=6;case 6:return[2]}})})},function(e){n(e)})}()})}var m=n(540132);function v(e){return function(e){if(Array.isArray(e))return S(e)}(e)||function(e){if("u">typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||O(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 b(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function x(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
1t%2?b(Object(n),!0).forEach(function(t){w(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):b(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function w(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function A(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n,r,o=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var i=[],a=!0,l=!1;try{for(o=o.call(e);!(a=(n=o.next()).done)&&(i.push(n.value),!t||i.length!==t);a=!0);}catch(e){l=!0,r=e}finally{try{a||null==o.return||o.return()}finally{if(l)throw r}}return i}}(e,t)||O(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 O(e,t){if(e){if("string"==typeof e)return S(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return S(e,t)}}function S(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var D=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)}},E=function(e){return{code:"file-too-large",message:"File is larger than ".concat(e," ").concat(1===e?"byte":"bytes")}},C=function(e){return{code:"file-too-small",message:"File is smaller than ".concat(e," ").concat(1===e?"byte":"bytes")}},k={code:"too-many-files",message:"Too many files"};function T(e,t){var n="application/x-moz-file"===e.type||(0,m.A)(e,t);return[n,n?null:D(t)]}function I(e,t,n){if(j(e.size)){if(j(t)&&j(n)){if(e.size>n)return[!1,E(n)];if(e.size<t)return[!1,C(t)]}else if(j(t)&&e.size<t)return[!1,C(t)];else if(j(n)&&e.size>n)return[!1,E(n)]}return[!0,null]}function j(e){return null!=e}function P(e){return"function"==typeof e.isPropagationStopped?e.isPropagationStopped():void 0!==e.cancelBubble&&e.cancelBubble}function R(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 F(e){e.preventDefault()}function L(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){for(var n=arguments.length,r=Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return t.some(function(t){return!P(e)&&t&&t.apply(void 0,[e].concat(r)),P(e)})}}function M(e){return"audio/*"===e||"video/*"===e||"image/*"===e||"text/*"===e||/\w+\/[-+.\w]+/g.test(e)}function N(e){return/^.*\.[\w]+$/.test(e)}var z=["children"],_=["open"],H=["refKey","role","onKeyDown","onFocus","onBlur","onClick","onDragEnter","onDragOver","onDragLeave","onDrop"],W=["refKey","onChange","onClick"];function K(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n,r,o=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var i=[],a=!0,l=!1;try{for(o=o.call(e);!(a=(n=o.next()).done)&&(i.push(n.value),!t||i.length!==t);a=!0);}catch(e){l=!0,r=e}finally{try{a||null==o.return||o.return()}finally{if(l)throw r}}return i}}(e,t)||B(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 B(e,t){if(e){if("string"==typeof e)return G(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return G(e,t)}}function G(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function U(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Y(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
1t%2?U(Object(n),!0).forEach(function(t){X(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):U(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function X(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function V(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var $=(0,r.forwardRef)(function(e,t){var n=e.children,o=J(V(e,z)),i=o.open,a=V(o,_);return(0,r.useImperativeHandle)(t,function(){return{open:i}},[i]),r.createElement(r.Fragment,null,n(Y(Y({},a),{},{open:i})))});$.displayName="Dropzone";var q={disabled:!1,getFilesFromEvent:function(e){return(0,a.sH)(this,void 0,void 0,function(){return(0,a.YH)(this,function(t){var n;if(u(e)&&u(e.dataTransfer))return[2,function(e,t){return(0,a.sH)(this,void 0,void 0,function(){var n;return(0,a.YH)(this,function(r){switch(r.label){case 0:if(!e.items)return[3,2];if(n=d(e.items).filter(function(e){return"file"===e.kind}),"drop"!==t)return[2,n];return[4,Promise.all(n.map(p))];case 1:return[2,f(function e(t){return t.reduce(function(t,n){return(0,a.fX)((0,a.fX)([],(0,a.zs)(t),!1),(0,a.zs)(Array.isArray(n)?e(n):[n]),!1)},[])}(r.sent()))];case 2:return[2,f(d(e.files).map(function(e){return s(e)}))]}})})}(e.dataTransfer,e.type)];if(u(n=e)&&u(n.target))return[2,d(e.target.files).map(function(e){return s(e)})];return Array.isArray(e)&&e.every(function(e){return"getFile"in e&&"function"==typeof e.getFile})?[2,function(e){return(0,a.sH)(this,void 0,void 0,function(){return(0,a.YH)(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 s(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};$.defaultProps=q,$.propTypes={children:i().func,accept:i().objectOf(i().arrayOf(i().string)),multiple:i().bool,preventDropOnDocument:i().bool,noClick:i().bool,noKeyboard:i().bool,noDrag:i().bool,noDragEventsBubbling:i().bool,minSize:i().number,maxSize:i().number,maxFiles:i().number,disabled:i().bool,getFilesFromEvent:i().func,onFileDialogCancel:i().func,onFileDialogOpen:i().func,useFsAccessApi:i().bool,autoFocus:i().bool,onDragEnter:i().func,onDragLeave:i().func,onDragOver:i().func,onDrop:i().func,onDropAccepted:i().func,onDropRejected:i().func,onError:i().func,validator:i().func};var Z={isFocused:!1,isFileDialogActive:!1,isDragActive:!1,isDragAccept:!1,isDragReject:!1,acceptedFiles:[],fileRejections:[]};function J(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=Y(Y({},q),e),n=t.accept,o=t.disabled,i=t.getFilesFromEvent,a=t.maxSize,l=t.minSize,s=t.multiple,c=t.maxFiles,u=t.onDragEnter,f=t.onDragLeave,d=t.onDragOver,p=t.onDrop,h=t.onDropAccepted,g=t.onDropRejected,y=t.onFileDialogCancel,m=t.onFileDialogOpen,b=t.useFsAccessApi,O=t.autoFocus,S=t.preventDropOnDocument,D=t.noClick,E=t.noKeyboard,C=t.noDrag,z=t.noDragEventsBubbling,_=t.onError,U=t.validator,$=(0,r.useMemo)(function(){return j(n)?Object.entries(n).reduce(function(e,t){var n=A(t,2),r=n[0],o=n[1];return[].concat(v(e),[r],v(o))},[]).filter(function(e){return M(e)||N(e)}).join(","):void 0},[n]),J=(0,r.useMemo)(function(){return j(n)?[{description:"Files",accept:Object.entries(n).filter(function(e){var t=A(e,2),n=t[0],r=t[1],o=!0;return M(n)||(console.warn('Skipped "'.concat(n,'" 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.')),o=!1),Array.isArray(r)&&r.every(N)||(console.warn('Skipped "'.concat(n,'" because an invali
1d file extension was provided.')),o=!1),o}).reduce(function(e,t){var n=A(t,2),r=n[0],o=n[1];return x(x({},e),{},w({},r,o))},{})}]:n},[n]),et=(0,r.useMemo)(function(){return"function"==typeof m?m:ee},[m]),en=(0,r.useMemo)(function(){return"function"==typeof y?y:ee},[y]),er=(0,r.useRef)(null),eo=(0,r.useRef)(null),ei=K((0,r.useReducer)(Q,Z),2),ea=ei[0],el=ei[1],es=ea.isFocused,ec=ea.isFileDialogActive,eu=(0,r.useRef)("u">typeof window&&window.isSecureContext&&b&&"showOpenFilePicker"in window),ef=function(){!eu.current&&ec&&setTimeout(function(){eo.current&&(eo.current.files.length||(el({type:"closeDialog"}),en()))},300)};(0,r.useEffect)(function(){return window.addEventListener("focus",ef,!1),function(){window.removeEventListener("focus",ef,!1)}},[eo,ec,en,eu]);var ed=(0,r.useRef)([]),ep=function(e){er.current&&er.current.contains(e.target)||(e.preventDefault(),ed.current=[])};(0,r.useEffect)(function(){return S&&(document.addEventListener("dragover",F,!1),document.addEventListener("drop",ep,!1)),function(){S&&(document.removeEventListener("dragover",F),document.removeEventListener("drop",ep))}},[er,S]),(0,r.useEffect)(function(){return!o&&O&&er.current&&er.current.focus(),function(){}},[er,O,o]);var eh=(0,r.useCallback)(function(e){_?_(e):console.error(e)},[_]),eg=(0,r.useCallback)(function(e){var t;e.preventDefault(),e.persist(),ek(e),ed.current=[].concat(function(e){if(Array.isArray(e))return G(e)}(t=ed.current)||function(e){if("u">typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(t)||B(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]),R(e)&&Promise.resolve(i(e)).then(function(t){if(!P(e)||z){var n,r,o,i,f,d,p,h,g=t.length,y=g>0&&(r=(n={files:t,accept:$,minSize:l,maxSize:a,multiple:s,maxFiles:c,validator:U}).files,o=n.accept,i=n.minSize,f=n.maxSize,d=n.multiple,p=n.maxFiles,h=n.validator,(!!d||!(r.length>1))&&(!d||!(p>=1)||!(r.length>p))&&r.every(function(e){var t=A(T(e,o),1)[0],n=A(I(e,i,f),1)[0],r=h?h(e):null;return t&&n&&!r}));el({isDragAccept:y,isDragReject:g>0&&!y,isDragActive:!0,type:"setDraggedFiles"}),u&&u(e)}}).catch(function(e){return eh(e)})},[i,u,eh,z,$,l,a,s,c,U]),ey=(0,r.useCallback)(function(e){e.preventDefault(),e.persist(),ek(e);var t=R(e);if(t&&e.dataTransfer)try{e.dataTransfer.dropEffect="copy"}catch(e){}return t&&d&&d(e),!1},[d,z]),em=(0,r.useCallback)(function(e){e.preventDefault(),e.persist(),ek(e);var t=ed.current.filter(function(e){return er.current&&er.current.contains(e)}),n=t.indexOf(e.target);-1!==n&&t.splice(n,1),ed.current=t,!(t.length>0)&&(el({type:"setDraggedFiles",isDragActive:!1,isDragAccept:!1,isDragReject:!1}),R(e)&&f&&f(e))},[er,f,z]),ev=(0,r.useCallback)(function(e,t){var n=[],r=[];e.forEach(function(e){var t=K(T(e,$),2),o=t[0],i=t[1],s=K(I(e,l,a),2),c=s[0],u=s[1],f=U?U(e):null;if(o&&c&&!f)n.push(e);else{var d=[i,u];f&&(d=d.concat(f)),r.push({file:e,errors:d.filter(function(e){return e})})}}),(!s&&n.length>1||s&&c>=1&&n.length>c)&&(n.forEach(function(e){r.push({file:e,errors:[k]})}),n.splice(0)),el({acceptedFiles:n,fileRejections:r,type:"setFiles"}),p&&p(n,r,t),r.length>0&&g&&g(r,t),n.length>0&&h&&h(n,t)},[el,s,$,l,a,c,p,h,g,U]),eb=(0,r.useCallback)(function(e){e.preventDefault(),e.persist(),ek(e),ed.current=[],R(e)&&Promise.resolve(i(e)).then(function(t){(!P(e)||z)&&ev(t,e)}).catch(function(e){return eh(e)}),el({type:"reset"})},[i,ev,eh,z]),ex=(0,r.useCallback)(function(){if(eu.current){el({type:"openDialog"}),et(),window.showOpenFilePicker({multiple:s,types:J}).then(function(e){return i(e)}).then(function(e){ev(e,null),el({type:"closeDialog"})}).catch(function(e){e instanceof DOMException&&("AbortError"===e.name||e.code===e.ABORT_ERR)?(en(e),el({type:"closeDialog"})):e instanceof DOMException&&("SecurityError"===e.name||e.code===e.SECURITY_ERR)?(eu.current=!1,eo.current?(eo.current.value=null,eo.current.click()):eh(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."))):eh(e)});return}
1eo.current&&(el({type:"openDialog"}),et(),eo.current.value=null,eo.current.click())},[el,et,en,b,ev,eh,J,s]),ew=(0,r.useCallback)(function(e){er.current&&er.current.isEqualNode(e.target)&&(" "===e.key||"Enter"===e.key||32===e.keyCode||13===e.keyCode)&&(e.preventDefault(),ex())},[er,ex]),eA=(0,r.useCallback)(function(){el({type:"focus"})},[]),eO=(0,r.useCallback)(function(){el({type:"blur"})},[]),eS=(0,r.useCallback)(function(){D||(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(ex,0):ex())},[D,ex]),eD=function(e){return o?null:e},eE=function(e){return E?null:eD(e)},eC=function(e){return C?null:eD(e)},ek=function(e){z&&e.stopPropagation()},eT=(0,r.useMemo)(function(){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.refKey,n=e.role,r=e.onKeyDown,i=e.onFocus,a=e.onBlur,l=e.onClick,s=e.onDragEnter,c=e.onDragOver,u=e.onDragLeave,f=e.onDrop,d=V(e,H);return Y(Y(X({onKeyDown:eE(L(r,ew)),onFocus:eE(L(i,eA)),onBlur:eE(L(a,eO)),onClick:eD(L(l,eS)),onDragEnter:eC(L(s,eg)),onDragOver:eC(L(c,ey)),onDragLeave:eC(L(u,em)),onDrop:eC(L(f,eb)),role:"string"==typeof n&&""!==n?n:"presentation"},void 0===t?"ref":t,er),o||E?{}:{tabIndex:0}),d)}},[er,ew,eA,eO,eS,eg,ey,em,eb,E,C,o]),eI=(0,r.useCallback)(function(e){e.stopPropagation()},[]),ej=(0,r.useMemo)(function(){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.refKey,n=e.onChange,r=e.onClick,o=V(e,W);return Y(Y({},X({accept:$,multiple:s,type:"file",style:{display:"none"},onChange:eD(L(n,eb)),onClick:eD(L(r,eI)),tabIndex:-1},void 0===t?"ref":t,eo)),o)}},[eo,n,s,eb,o]);return Y(Y({},ea),{},{isFocused:es&&!o,getRootProps:eT,getInputProps:ej,rootRef:er,inputRef:eo,open:eD(ex)})}function Q(e,t){switch(t.type){case"focus":return Y(Y({},e),{},{isFocused:!0});case"blur":return Y(Y({},e),{},{isFocused:!1});case"openDialog":return Y(Y({},Z),{},{isFileDialogActive:!0});case"closeDialog":return Y(Y({},e),{},{isFileDialogActive:!1});case"setDraggedFiles":return Y(Y({},e),{},{isDragActive:t.isDragActive,isDragAccept:t.isDragAccept,isDragReject:t.isDragReject});case"setFiles":return Y(Y({},e),{},{acceptedFiles:t.acceptedFiles,fileRejections:t.fileRejections});case"reset":return Y({},Z);default:return e}}function ee(){}},995165:function(e,t,n){var r=n(791497),o=n(346896),i=n(919554),a=n(437866),l=n(749068),s=n(357283),c=n(953913),u=n(903994),f=n(944652),d=n(493588),p=n(835076),h=n(558623),g=n(600469),y=n.n(g),m=n(614969),v=n(228300),b=n.n(v),x=function(){function e(){(0,a.A)(this,e),(0,d.A)(this,"refs",{})}return(0,l.A)(e,[{key:"add",value:function(e,t){this.refs[e]||(this.refs[e]=[]),this.refs[e].push(t)}},{key:"remove",value:function(e,t){var n=this.getIndex(e,t);-1!==n&&this.refs[e].splice(n,1)}},{key:"isActive",value:function(){return this.active}},{key:"getActive",value:function(){var e=this;return this.refs[this.active.collection].find(function(t){return t.node.sortableInfo.index==e.active.index})}},{key:"getIndex",value:function(e,t){return this.refs[e].indexOf(t)}},{key:"getOrderedRefs",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.active.collection;return this.refs[e].sort(w)}}]),e}();function w(e,t){return e.node.sortableInfo.index-t.node.sortableInfo.index}function A(e,t){return Object.keys(e).reduce(function(n,r){return -1===t.indexOf(r)&&(n[r]=e[r]),n},{})}var O={end:["touchend","touchcancel","mouseup"],move:["touchmove","mousemove"],start:["touchstart","mousedown"]},S=function(){if("u"<typeof window||"u"<typeof document)return"";var e=window.getComputedStyle(document.documentElement,"")||["-moz-hidden-iframe"],t=(Array.prototype.slice.call(e).join("").match(/-(moz|webkit|ms)-/)||""===e.OLink&&["","o"])[1];return"ms"===t?"ms":t&&t.length?t[0].toUpperCase()+t.substr(1):""}();function D(e,t){Object.keys(t).forEach(function(n){e.style[n]=t[n]})}function E(e,t){e.style["".concat(S,"Transform")]=null==t?"":"translate3d(".concat(t.x,"px,").concat(t.y,"px,0)")}function C(e,t){e.style["".concat(S,"TransitionDuration")]=null==t?"":"".concat(t,"ms")}function k(e,t){for(;e;){if(t(e))return e;e=e.parentNode}return null}function T(e,t,n){return Math.max(e,Math.min(n,t))}function I(e){return"px"===e.substr(-2)?parseFloat(e):0}function j(e,t){var n=t.displayName||t.name;return n?"".concat(e,"(").concat(n,")"):e}function P(e,t){var n=e.getBoundingClientRect();
1return{top:n.top+t.top,left:n.left+t.left}}function R(e){return e.touches&&e.touches.length?{x:e.touches[0].pageX,y:e.touches[0].pageY}:e.changedTouches&&e.changedTouches.length?{x:e.changedTouches[0].pageX,y:e.changedTouches[0].pageY}:{x:e.pageX,y:e.pageY}}function F(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{left:0,top:0};if(e){var r={left:n.left+e.offsetLeft,top:n.top+e.offsetTop};return e.parentNode===t?r:F(e.parentNode,t,r)}}function L(e){var t=e.lockOffset,n=e.width,r=e.height,o=t,i=t,a="px";if("string"==typeof t){var l=/^[+-]?\d*(?:\.\d*)?(px|%)$/.exec(t);y()(null!==l,'lockOffset value should be a number or a string of a number followed by "px" or "%". Given %s',t),o=parseFloat(t),i=parseFloat(t),a=l[1]}return y()(isFinite(o)&&isFinite(i),"lockOffset value should be a finite. Given %s",t),"%"===a&&(o=o*n/100,i=i*r/100),{x:o,y:i}}function M(e){return null!=e.sortableHandle}var N=function(){function e(t,n){(0,a.A)(this,e),this.container=t,this.onScrollCallback=n}return(0,l.A)(e,[{key:"clear",value:function(){null!=this.interval&&(clearInterval(this.interval),this.interval=null)}},{key:"update",value:function(e){var t=this,n=e.translate,r=e.minTranslate,o=e.maxTranslate,i=e.width,a=e.height,l={x:0,y:0},s={x:1,y:1},c=this.container,u=c.scrollTop,f=c.scrollLeft,d=c.scrollHeight,p=c.scrollWidth,h=c.clientHeight,g=c.clientWidth;n.y>=o.y-a/2&&d-u-h!=0?(l.y=1,s.y=10*Math.abs((o.y-a/2-n.y)/a)):n.x>=o.x-i/2&&p-f-g!=0?(l.x=1,s.x=10*Math.abs((o.x-i/2-n.x)/i)):n.y<=r.y+a/2&&0!==u?(l.y=-1,s.y=10*Math.abs((n.y-a/2-r.y)/a)):n.x<=r.x+i/2&&0!==f&&(l.x=-1,s.x=10*Math.abs((n.x-i/2-r.x)/i)),this.interval&&(this.clear(),this.isAutoScrolling=!1),(0!==l.x||0!==l.y)&&(this.interval=setInterval(function(){t.isAutoScrolling=!0;var e={left:s.x*l.x,top:s.y*l.y};t.container.scrollTop+=e.top,t.container.scrollLeft+=e.left,t.onScrollCallback(e)},5))}}]),e}(),z={axis:b().oneOf(["x","y","xy"]),contentWindow:b().any,disableAutoscroll:b().bool,distance:b().number,getContainer:b().func,getHelperDimensions:b().func,helperClass:b().string,helperContainer:b().oneOfType([b().func,"u"<typeof HTMLElement?b().any:b().instanceOf(HTMLElement)]),hideSortableGhost:b().bool,keyboardSortingTransitionDuration:b().number,lockAxis:b().string,lockOffset:b().oneOfType([b().number,b().string,b().arrayOf(b().oneOfType([b().number,b().string]))]),lockToContainerEdges:b().bool,onSortEnd:b().func,onSortMove:b().func,onSortOver:b().func,onSortStart:b().func,pressDelay:b().number,pressThreshold:b().number,keyCodes:b().shape({lift:b().arrayOf(b().number),drop:b().arrayOf(b().number),cancel:b().arrayOf(b().number),up:b().arrayOf(b().number),down:b().arrayOf(b().number)}),shouldCancelStart:b().func,transitionDuration:b().number,updateBeforeSortStart:b().func,useDragHandle:b().bool,useWindowAsScrollContainer:b().bool},_={lift:[32],drop:[32],cancel:[27],up:[38,37],down:[40,39]},H={axis:"y",disableAutoscroll:!1,distance:0,getHelperDimensions:function(e){var t=e.node;return{height:t.offsetHeight,width:t.offsetWidth}},hideSortableGhost:!0,lockOffset:"50%",lockToContainerEdges:!1,pressDelay:0,pressThreshold:5,keyCodes:_,shouldCancelStart:function(e){return!!(-1!==["INPUT","TEXTAREA","SELECT","OPTION","BUTTON"].indexOf(e.target.tagName)||k(e.target,function(e){return"true"===e.contentEditable}))},transitionDuration:300,useWindowAsScrollContainer:!1},W=Object.keys(z),K=(0,p.createContext)({manager:{}});function B(e){var t,n,g=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{withRef:!1};return n=t=function(t){function n(e){(0,a.A)(this,n),t=(0,s.A)(this,(0,c.A)(n).call(this,e)),(0,d.A)((0,f.A)((0,f.A)(t)),"state",{}),(0,d.A)((0,f.A)((0,f.A)(t)),"handleStart",function(e){var n=t.props,r=n.distance,o=n.shouldCancelStart;if(!(2===e.button||o(e))){t.touched=!0,t.position=R(e);var i=k(e.target,function(e){return null!=e.sortableInfo});if(i&&i.sortableInfo&&t.nodeIsChild(i)&&!t.state.sorting){var a=t.props.useDragHandle,l=i.sortableInfo,s=l.index,c=l.collection;if(l.disabled||a&&!k(e.target,M))return;t.manager.active={collection:c,index:s},e.touches&&e.touches.length||e.changedTouches&&e.changedTouches.length||"A"!==e.target.tagName||e.preventDefault(),r||(0===t.props.pressDelay?t.handlePress(e):t.pressTimer=setTimeout(function(){return t.handlePress(e)},t.props.pressDelay))}}}),(0,d.A)((0,f.A)((0,f.A)(t)),"nodeIsChild",function(e){return e.sortableInfo.manager===t.manager}),(0,d.A)((0,f.A)((0,f.A)(t)),"handleMove",function(e){var n=t.props,r=n.distance,o=n.pressThreshold;if(!t.state.sorting&&t.touched&&!t._awaitingUpdateBeforeSortStart){var i=R(e),a={x:t.position.x-i.x,y:t.position.y-i.y},l=Math.abs(a.x)+Math.abs(a.y);t.delta=a,r||o&&!(l>=o)?r&&l>=r&&t.manager.isActive()&&t.handlePress(e):(clearTimeout(t.cancelTimer),t.cancelTimer=setTimeout(t.cancel,0))}}),(0,d.A)((0,f.A)((0,f.A)(t)),"handleEnd",function(){t.touched=!1,t.cancel()}),(0,d.A)((0,f.A)((0,f.A)(t)),"cancel",function(){var e=t.props.distance;t.state.sorting||(e||clearTimeout(t.pressTimer),t.manager.active=null)}),(0,d.A)((0,f.A)((0,f.A)(t)),"handlePress",function(e){try{var n=t.manager.getActive(),r=function(){if(n){var r=function(){var n,r,o,u,y,v,b=p.sortableInfo.index,x={bottom:I((n=window.getComputedStyle(p)).marginBottom),left:I(n.marginLeft),right:I(n.marginRight),top:I(n.marginTop)},w=(r=t.container,"grid"===(o=window.getComputedStyle(r)).display?{x:I(o.gridColumnGap
1),y:I(o.gridRowGap)}:{x:0,y:0}),A=t.scrollContainer.getBoundingClientRect(),S=l({index:b,node:p,collection:h});if(t.node=p,t.margin=x,t.gridGap=w,t.width=S.width,t.height=S.height,t.marginOffset={x:t.margin.left+t.margin.right+t.gridGap.x,y:Math.max(t.margin.top,t.margin.bottom,t.gridGap.y)},t.boundingClientRect=p.getBoundingClientRect(),t.containerBoundingRect=A,t.index=b,t.newIndex=b,t.axis={x:a.indexOf("x")>=0,y:a.indexOf("y")>=0},t.offsetEdge=F(p,t.container),g?t.initialOffset=R((0,i.A)({},e,{pageX:t.boundingClientRect.left,pageY:t.boundingClientRect.top})):t.initialOffset=R(e),t.initialScroll={left:t.scrollContainer.scrollLeft,top:t.scrollContainer.scrollTop},t.initialWindowScroll={left:window.pageXOffset,top:window.pageYOffset},t.helper=t.helperContainer.appendChild((u="input, textarea, select, canvas, [contenteditable]",y=p.querySelectorAll(u),v=p.cloneNode(!0),(0,m.A)(v.querySelectorAll(u)).forEach(function(e,t){"file"!==e.type&&(e.value=y[t].value),"radio"===e.type&&e.name&&(e.name="__sortableClone__".concat(e.name)),"CANVAS"===e.tagName&&y[t].width>0&&y[t].height>0&&e.getContext("2d").drawImage(y[t],0,0)}),v)),D(t.helper,{boxSizing:"border-box",height:"".concat(t.height,"px"),left:"".concat(t.boun
1dingClientRect.left-x.left,"px"),pointerEvents:"none",position:"fixed",top:"".concat(t.boundingClientRect.top-x.top,"px"),width:"".concat(t.width,"px")}),g&&t.helper.focus(),c&&(t.sortableGhost=p,D(p,{opacity:0,visibility:"hidden"})),t.minTranslate={},t.maxTranslate={},g){var E=d?{top:0,left:0,width:t.contentWindow.innerWidth,height:t.contentWindow.innerHeight}:t.containerBoundingRect,C=E.top,k=E.left,T=E.width,j=E.height;t.axis.x&&(t.minTranslate.x=k-t.boundingClientRect.left,t.maxTranslate.x=k+T-(t.boundingClientRect.left+t.width)),t.axis.y&&(t.minTranslate.y=C-t.boundingClientRect.top,t.maxTranslate.y=C+j-(t.boundingClientRect.top+t.height))}else t.axis.x&&(t.minTranslate.x=(d?0:A.left)-t.boundingClientRect.left-t.width/2,t.maxTranslate.x=(d?t.contentWindow.innerWidth:A.left+A.width)-t.boundingClientRect.left-t.width/2),t.axis.y&&(t.minTranslate.y=(d?0:A.top)-t.boundingClientRect.top-t.height/2,t.maxTranslate.y=(d?t.contentWindow.innerHeight:A.top+A.height)-t.boundingClientRect.top-t.height/2);s&&s.split(" ").forEach(function(e){return t.helper.classList.add(e)}),t.listenerNode=e.touches?e.target:t.contentWindow,g?(t.listenerNode.addEventListener("wheel",t.handleKeyEnd,!0),t.listenerNode.addEventListener("mousedown",t.handleKeyEnd,!0),t.listenerNode.addEventListener("keydown",t.handleKeyDown)):(O.move.forEach(function(e){return t.listenerNode.addEventListener(e,t.handleSortMove,!1)}),O.end.forEach(function(e){return t.listenerNode.addEventListener(e,t.handleSortEnd,!1)})),t.setState({sorting:!0,sortingIndex:b}),f&&f({node:p,index:b,collection:h,isKeySorting:g,nodes:t.manager.getOrderedRefs(),helper:t.helper},e),g&&t.keyMove(0)},o=t.props,a=o.axis,l=o.getHelperDimensions,s=o.helperClass,c=o.hideSortableGhost,u=o.updateBeforeSortStart,f=o.onSortStart,d=o.useWindowAsScrollContainer,p=n.node,h=n.collection,g=t.manager.isKeySorting,y=function(){if("function"==typeof u){t._awaitingUpdateBeforeSortStart=!0;var n=function(e,t){try{var n=e()}catch(e){return t(!0,e)}return n&&n.then?n.then(t.bind(null,!1),t.bind(null,!0)):t(!1,value)}(function(){return Promise.resolve(u({collection:h,index:p.sortableInfo.index,node:p,isKeySorting:g},e)).then(function(){})},function(e,n){if(t._awaitingUpdateBeforeSortStart=!1,e)throw n;return n});if(n&&n.then)return n.then(function(){})}}();return y&&y.then?y.then(r):r()}}();return Promise.resolve(r&&r.then?r.then(function(){}):void 0)}catch(e){return Promise.reject(e)}}),(0,d.A)((0,f.A)((0,f.A)(t)),"handleSortMove",function(e){var n=t.props.onSortMove;"function"==typeof e.preventDefault&&e.cancelable&&e.preventDefault(),t.updateHelperPosition(e),t.animateNodes(),t.autoscroll(),n&&n(e)}),(0,d.A)((0,f.A)((0,f.A)(t)),"handleSortEnd",function(e){var n=t.props,r=n.hideSortableGhost,o=n.onSortEnd,i=t.manager,a=i.active.collection,l=i.isKeySorting,s=t.manager.getOrderedRefs();t.listenerNode&&(l?(t.listenerNode.removeEventListener("wheel",t.handleKeyEnd,!0),t.listenerNode.removeEventListener("mousedown",t.handleKeyEnd,!0),t.listenerNode.removeEventListener("keydown",t.handleKeyDown)):(O.move.forEach(function(e){return t.listenerNode.removeEventListener(e,t.handleSortMove)}),O.end.forEach(function(e){return t.listenerNode.removeEventListener(e,t.handleSortEnd)}))),t.helper.parentNode.removeChild(t.helper),r&&t.sortableGhost&&D(t.sortableGhost,{opacity:"",visibility:""});for(var c=0,u=s.length;c<u;c++){var f=s[c],d=f.node;f.edgeOffset=null,f.boundingClientRect=null,E(d,null),C(d,null),f.translate=null}t.autoScroller.clear(),t.manager.active=null,t.manager.isKeySorting=!1,t.setState({sorting:!1,sortingIndex:null}),"function"==typeof o&&o({collection:a,newIndex:t.newIndex,oldIndex:t.index,isKeySorting:l,nodes:s},e),t.touched=!1}),(0,d.A)((0,f.A)((0,f.A)(t)),"autoscroll",function(){var e=t.props.disableAutoscroll,n=t.manager.isKeySorting;if(e)return void t.autoScroller.clear();if(n){var r=(0,i.A)({},t.translate),o=0,a=0;t.axis.x&&(r.x=Math.min(t.maxTranslate.x,Math.max(t.minTranslate.x,t.translate.x)),o=t.translate.x-r.x),t.axis.y&&(r.y=Math.min(t.maxTranslate.y,Math.max(t.minTranslate.y,t.translate.y)),a=t.translate.y-r.y
1),t.translate=r,E(t.helper,t.translate),t.scrollContainer.scrollLeft+=o,t.scrollContainer.scrollTop+=a;return}t.autoScroller.update({height:t.height,maxTranslate:t.maxTranslate,minTranslate:t.minTranslate,translate:t.translate,width:t.width})}),(0,d.A)((0,f.A)((0,f.A)(t)),"onAutoScroll",function(e){t.translate.x+=e.left,t.translate.y+=e.top,t.animateNodes()}),(0,d.A)((0,f.A)((0,f.A)(t)),"handleKeyDown",function(e){var n=e.keyCode,r=t.props,o=r.shouldCancelStart,a=r.keyCodes,l=(0,i.A)({},_,void 0===a?{}:a);!(t.manager.active&&!t.manager.isKeySorting||!t.manager.active&&(!l.lift.includes(n)||o(e)||!t.isValidSortingTarget(e)))&&(e.stopPropagation(),e.preventDefault(),l.lift.includes(n)&&!t.manager.active?t.keyLift(e):l.drop.includes(n)&&t.manager.active?t.keyDrop(e):l.cancel.includes(n)?(t.newIndex=t.manager.active.index,t.keyDrop(e)):l.up.includes(n)?t.keyMove(-1):l.down.includes(n)&&t.keyMove(1))}),(0,d.A)((0,f.A)((0,f.A)(t)),"keyLift",function(e){var n=e.target,r=k(n,function(e){return null!=e.sortableInfo}).sortableInfo,o=r.index,i=r.collection;t.initialFocusedNode=n,t.manager.isKeySorting=!0,t.manager.active={index:o,collection:i},t.handlePress(e)}),(0,d.A)((0,f.A)((0,f.A)(t)),"keyMove",function(e){var n=t.manager.getOrderedRefs(),r=n[n.length-1].node.sortableInfo.index,o=t.newIndex+e,i=t.newIndex;if(!(o<0)&&!(o>r)){t.prevIndex=i,t.newIndex=o;var a,l,s,c=(a=t.newIndex,l=t.prevIndex,a<(s=t.index)&&a>l?a-1:a>s&&a<l?a+1:a),u=n.find(function(e){return e.node.sortableInfo.index===c}),f=u.node,d=t.containerScrollDelta,p=u.boundingClientRect||P(f,d),h=u.translate||{x:0,y:0},g={top:p.top+h.y-d.top,left:p.left+h.x-d.left},y=i<o,m={x:y&&t.axis.x?f.offsetWidth-t.width:0,y:y&&t.axis.y?f.offsetHeight-t.height:0};t.handleSortMove({pageX:g.left+m.x,pageY:g.top+m.y,ignoreTransition:0===e})}}),(0,d.A)((0,f.A)((0,f.A)(t)),"keyDrop",function(e){t.handleSortEnd(e),t.initialFocusedNode&&t.initialFocusedNode.focus()}),(0,d.A)((0,f.A)((0,f.A)(t)),"handleKeyEnd",function(e){t.manager.active&&t.keyDrop(e)}),(0,d.A)((0,f.A)((0,f.A)(t)),"isValidSortingTarget",function(e){var n=t.props.useDragHandle,r=e.target,o=k(r,function(e){return null!=e.sortableInfo});return o&&o.sortableInfo&&!o.sortableInfo.disabled&&(n?M(r):r.sortableInfo)});var t,r=new x;return y()(!(e.distance&&e.pressDelay),"Attempted to set both `pressDelay` and `distance` on SortableContainer, you may only use one or the other, not both at the same time."),t.manager=r,t.wrappedInstance=(0,p.createRef)(),t.sortableContextValue={manager:r},t.events={end:t.handleEnd,move:t.handleMove,start:t.handleStart},t}return(0,u.A)(n,t),(0,l.A)(n,[{key:"componentDidMount",value:function(){var e=this,t=this.props.useWindowAsScrollContainer;Promise.resolve(this.getContainer()).then(function(n){e.container=n,e.document=e.container.ownerDocument||document;var r=e.props.contentWindow||e.document.defaultView||window;e.contentWindow="function"==typeof r?r():r,e.scrollContainer=t?e.document.scrollingElement||e.document.documentElement:function e(t){var n,r;return t instanceof HTMLElement?(n=window.getComputedStyle(t),r=/(auto|scroll)/,["overflow","overflowX","overflowY"].find(function(e){return r.test(n[e])}))?t:e(t.parentNode):null}(e.container)||e.container,e.autoScroller=new N(e.scrollContainer,e.onAutoScroll),Object.keys(e.events).forEach(function(t){return O[t].forEach(function(n){return e.container.addEventListener(n,e.events[t],!1)})}),e.container.addEventListener("keydown",e.handleKeyDown)})}},{key:"componentWillUnmount",value:function(){var e=this;this.helper&&this.helper.parentNode&&this.helper.parentNode.removeChild(this.helper),this.container&&(Object.keys(this.events).forEach(function(t){return O[t].forEach(function(n){return e.container.removeEventListener(n,e.events[t])})}),this.container.removeEventListener("keydown",this.handleKeyDown))}},{key:"updateHelperPosition",value:function(e){var t=this.props,n=t.lockAxis,r=t.lockOffset,i=t.lockToContainerEdges,a=t.transitionDuration,l=t.keyboardSortingTransitionDuration,s=void 0===l?a:l,c=this.manager.isKeySorting,u=e.ignoreTransition,f=R(e),d={x:f.x-this.initialOffset.x,y:f.y-this.initialOffset.y};if(d.y-=window.pageYOffset-this.initialWindowScroll.top,d.x-=window.pageXOffset-this.initialWindowScroll.left,this.translate=d,i){var p,h,g,m,v,b,x,w,A=(h=(p={height:this.height,lockOffset:r,width:this.width}).height,g=p.width,v=Array.isArray(m=p.lockOffset)?m:[m,m],y()(2===v.length,"lockOffset prop of SortableContainer should be a single value or an array of exactly two values. Given %s",m),x=(b=(0,o.A)(v,2))[0],w=b[1],[L({height:h,lockOffset:x,width:g}
1),L({height:h,lockOffset:w,width:g})]),O=(0,o.A)(A,2),S=O[0],D=O[1],k={x:this.width/2-S.x,y:this.height/2-S.y},I={x:this.width/2-D.x,y:this.height/2-D.y};d.x=T(this.minTranslate.x+k.x,this.maxTranslate.x-I.x,d.x),d.y=T(this.minTranslate.y+k.y,this.maxTranslate.y-I.y,d.y)}"x"===n?d.y=0:"y"===n&&(d.x=0),c&&s&&!u&&C(this.helper,s),E(this.helper,d)}},{key:"animateNodes",value:function(){var e=this.props,t=e.transitionDuration,n=e.hideSortableGhost,r=e.onSortOver,o=this.containerScrollDelta,i=this.windowScrollDelta,a=this.manager.getOrderedRefs(),l={left:this.offsetEdge.left+this.translate.x+o.left,top:this.offsetEdge.top+this.translate.y+o.top},s=this.manager.isKeySorting,c=this.newIndex;this.newIndex=null;for(var u=0,f=a.length;u<f;u++){var d=a[u].node,p=d.sortableInfo.index,h=d.offsetWidth,g=d.offsetHeight,y={height:this.height>g?g/2:this.height/2,width:this.width>h?h/2:this.width/2},m=s&&p>this.index&&p<=c,v=s&&p<this.index&&p>=c,b={x:0,y:0},x=a[u].edgeOffset;!x&&(x=F(d,this.container),a[u].edgeOffset=x,s&&(a[u].boundingClientRect=P(d,o)));var w=u<a.length-1&&a[u+1],A=u>0&&a[u-1];if(w&&!w.edgeOffset&&(w.edgeOffset=F(w.node,this.container),s&&(w.boundingClientRect=P(w.node,o))),p===this.index){n&&
1(this.sortableGhost=d,D(d,{opacity:0,visibility:"hidden"}));continue}t&&C(d,t),this.axis.x?this.axis.y?v||p<this.index&&(l.left+i.left-y.width<=x.left&&l.top+i.top<=x.top+y.height||l.top+i.top+y.height<=x.top)?(b.x=this.width+this.marginOffset.x,x.left+b.x>this.containerBoundingRect.width-y.width&&w&&(b.x=w.edgeOffset.left-x.left,b.y=w.edgeOffset.top-x.top),null===this.newIndex&&(this.newIndex=p)):(m||p>this.index&&(l.left+i.left+y.width>=x.left&&l.top+i.top+y.height>=x.top||l.top+i.top+y.height>=x.top+g))&&(b.x=-(this.width+this.marginOffset.x),x.left+b.x<this.containerBoundingRect.left+y.width&&A&&(b.x=A.edgeOffset.left-x.left,b.y=A.edgeOffset.top-x.top),this.newIndex=p):m||p>this.index&&l.left+i.left+y.width>=x.left?(b.x=-(this.width+this.marginOffset.x),this.newIndex=p):(v||p<this.index&&l.left+i.left<=x.left+y.width)&&(b.x=this.width+this.marginOffset.x,null==this.newIndex&&(this.newIndex=p)):this.axis.y&&(m||p>this.index&&l.top+i.top+y.height>=x.top?(b.y=-(this.height+this.marginOffset.y),this.newIndex=p):(v||p<this.index&&l.top+i.top<=x.top+y.height)&&(b.y=this.height+this.marginOffset.y,null==this.newIndex&&(this.newIndex=p))),E(d,b),a[u].translate=b}null==this.newIndex&&(this.newIndex=this.index),s&&(this.newIndex=c);var O=s?this.prevIndex:c;r&&this.newIndex!==O&&r({collection:this.manager.active.collection,index:this.index,newIndex:this.newIndex,oldIndex:O,isKeySorting:s,nodes:a,helper:this.helper})}},{key:"getWrappedInstance",value:function(){return y()(g.withRef,"To access the wrapped instance, you need to pass in {withRef: true} as the second argument of the SortableContainer() call"),this.wrappedInstance.current}},{key:"getContainer",value:function(){var e=this.props.getContainer;return"function"!=typeof e?(0,h.findDOMNode)(this):e(g.withRef?this.getWrappedInstance():void 0)}},{key:"render",value:function(){var t=g.withRef?this.wrappedInstance:null;return(0,p.createElement)(K.Provider,{value:this.sortableContextValue},(0,p.createElement)(e,(0,r.A)({ref:t},A(this.props,W))))}},{key:"helperContainer",get:function(){var e=this.props.helperContainer;return"function"==typeof e?e():this.props.helperContainer||this.document.body}},{key:"containerScrollDelta",get:function(){return this.props.useWindowAsScrollContainer?{left:0,top:0}:{left:this.scrollContainer.scrollLeft-this.initialScroll.left,top:this.scrollContainer.scrollTop-this.initialScroll.top}}},{key:"windowScrollDelta",get:function(){return{left:this.contentWindow.pageXOffset-this.initialWindowScroll.left,top:this.contentWindow.pageYOffset-this.initialWindowScroll.top}}}]),n}(p.Component),(0,d.A)(t,"displayName",j("sortableList",e)),(0,d.A)(t,"defaultProps",H),(0,d.A)(t,"propTypes",z),n}var G={index:b().number.isRequired,collection:b().oneOfType([b().number,b().string]),disabled:b().bool},U=Object.keys(G);function Y(e){var t,n,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{withRef:!1};return n=t=function(t){function n(){(0,a.A)(this,n);for(var e,t,r=arguments.length,o=Array(r),i=0;i<r;i++)o[i]=arguments[i];return t=(0,s.A)(this,(e=(0,c.A)(n)).call.apply(e,[this].concat(o))),(0,d.A)((0,f.A)((0,f.A)(t)),"wrappedInstance",(0,p.createRef)()),t}return(0,u.A)(n,t),(0,l.A)(n,[{key:"componentDidMount",value:function(){this.register()}},{key:"componentDidUpdate",value:function(e){this.node&&(e.index!==this.props.index&&(this.node.sortableInfo.index=this.props.index),e.disabled!==this.props.disabled&&(this.node.sortableInfo.disabled=this.props.disabled)),e.collection!==this.props.collection&&(this.unregister(e.collection),this.register())}},{key:"componentWillUnmount",value:function(){this.unregister()}},{key:"register",value:function(){var e=this.props,t=e.collection,n=e.disabled,r=e.index,o=(0,h.findDOMNode)(this);o.sortableInfo={collection:t,disabled:n,index:r,manager:this.context.manager},this.node=o,this.ref={node:o},this.context.manager.add(t,this.ref)}},{key:"unregister",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props.collection;this.context.manager.remove(e,this.ref)}},{key:"getWrappedInstance",value:function(){return y()(o.withRef,"To access the wrapped instance, you need to pass in {withRef: true} as the second argument of the SortableElement() call"),this.wrappedInstance.current}},{key:"render",value:function(){var t=o.withRef?this.wrappedInstance:null;return(0,p.createElement)(e,(0,r.A)({ref:t},A(this.props,U)))}}]),n}(p.Component),(0,d.A)(t,"displayName",j("sortableElement",e)),(0,d.A)(t,"contextType",K),(0,d.A)(t,"propTypes",G),(0,d.A)(t,"defaultProps",{collection:0}),n}n.d(t,{Zj:function(){return Y},q6:function(){return B}})},890010:function(e,t){t.tB=t.b5=t.ec=void 0,t.ec="8px",t.b5="12px",t.tB="24px"},540132:function(e,t){t.A=function(e,t){if(e&&t){var n=Array.isArray(t)?t:t.split(","),r=e.name||"",o=(e.type||"").toLowerCase(),i=o.replace(/\/.*$/,"");return n.some(function(e){var t=e.trim().toLowerCase();return"."===t.charAt(0)?r.toLowerCase().endsWith(t):t.endsWith("/*")?i===t.replace(/\/.*$/,""):o===t})}return!0}},600469:function(e){e.exports=function(e,t,n,r,o,i,a,l){if(!e){var s;if(void 0===t)s=Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[n,r,o,i,a,l],u=0;(s=Error(t.replace(/%s/g,function(){return c[u++]}))).name="Invariant Violation"}throw s.framesToPop=1,s}}},519290:function(e,t,n){function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}n.d(t,{A:function(){return r}})},965250:function(e,t,n){function r(e){if(Array.isArray(e))return e}n.d(t,{A:function(){return r}})},437866:function(e,t,n){function r(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}n.d(t,{A:function(){return r}})},749068:function(e,t,n){var r=n(874336);function o(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,(0,r.A)(o.key),o)}}function i(e,t,n){return t&&o(e.prototype,t),n&&o(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}n.d(t,{A:function(){return i}})},953913:function(e,t,n){function r(e){return(r=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}n.d(t,{A:function(){return r}})},903994:function(e,t,n){var r=n(583733);function o(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&(0,r.A)(e,t)}n.d(t,{A:function(){return o}})},394364:function(e,t,n){function r(e){if("u">typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}n.d(t,{A:function(){return r}})},635043:function(e,t,n){function r(){throw TypeError("Invalid attempt to de
1structure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}n.d(t,{A:function(){return r}})},919554:function(e,t,n){var r=n(493588);function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},o=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&o.push.apply(o,Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})),o.forEach(function(t){(0,r.A)(e,t,n[t])})}return e}n.d(t,{A:function(){return o}})},357283:function(e,t,n){var r=n(696991),o=n(944652);function i(e,t){if(t&&("object"==(0,r.A)(t)||"function"==typeof t))return t;if(void 0!==t)throw TypeError("Derived constructors may only return object or undefined");return(0,o.A)(e)}n.d(t,{A:function(){return i}})},346896:function(e,t,n){n.d(t,{A:function(){return a}});var r=n(965250),o=n(665683),i=n(635043);function a(e,t){return(0,r.A)(e)||function(e,t){var n=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,l=[],s=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=i.call(n)).done)&&(l.push(r.value),l.length!==t);s=!0);}catch(e){c=!0,o=e}finally{try{if(!s&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return l}}(e,t)||(0,o.A)(e,t)||(0,i.A)()}},614969:function(e,t,n){n.d(t,{A:function(){return a}});var r=n(519290),o=n(394364),i=n(665683);function a(e){return function(e){if(Array.isArray(e))return(0,r.A)(e)}(e)||(0,o.A)(e)||(0,i.A)(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.")}()}},665683:function(e,t,n){var r=n(519290);function o(e,t){if(e){if("string"==typeof e)return(0,r.A)(e,t);var n=({}).toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?(0,r.A)(e,t):void 0}}n.d(t,{A:function(){return o}})}}]);
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.