Files
bishengWeb/build/assets/reactdrop-61b79f7b.js

73 lines
138 KiB
JavaScript
Raw Normal View History

2024-06-05 14:27:06 +08:00
import{P as W,r as S,R as k,g as no,_ as ao,b as io,c as qe,d as O,e as Dn}from"./acebuilds-fbc0ccc6.js";import{r as oo,R as lo}from"./reactflow-10657c96.js";var Sn=function(){return Sn=Object.assign||function(r){for(var t,n=1,a=arguments.length;n<a;n++){t=arguments[n];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(r[i]=t[i])}return r},Sn.apply(this,arguments)};function zp(e,r){var t={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&r.indexOf(n)<0&&(t[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,n=Object.getOwnPropertySymbols(e);a<n.length;a++)r.indexOf(n[a])<0&&Object.prototype.propertyIsEnumerable.call(e,n[a])&&(t[n[a]]=e[n[a]]);return t}function Je(e,r,t,n){function a(i){return i instanceof t?i:new t(function(o){o(i)})}return new(t||(t=Promise))(function(i,o){function l(p){try{c(n.next(p))}catch(u){o(u)}}function s(p){try{c(n.throw(p))}catch(u){o(u)}}function c(p){p.done?i(p.value):a(p.value).then(l,s)}c((n=n.apply(e,r||[])).next())})}function Xe(e,r){var t={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},n,a,i,o;return o={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(o[Symbol.iterator]=function(){return this}),o;function l(c){return function(p){return s([c,p])}}function s(c){if(n)throw new TypeError("Generator is already executing.");for(;o&&(o=0,c[0]&&(t=0)),t;)try{if(n=1,a&&(i=c[0]&2?a.return:c[0]?a.throw||((i=a.return)&&i.call(a),0):a.next)&&!(i=i.call(a,c[1])).done)return i;switch(a=0,i&&(c=[c[0]&2,i.value]),c[0]){case 0:case 1:i=c;break;case 4:return t.label++,{value:c[1],done:!1};case 5:t.label++,a=c[1],c=[0];continue;case 7:c=t.ops.pop(),t.trys.pop();continue;default:if(i=t.trys,!(i=i.length>0&&i[i.length-1])&&(c[0]===6||c[0]===2)){t=0;continue}if(c[0]===3&&(!i||c[1]>i[0]&&c[1]<i[3])){t.label=c[1];break}if(c[0]===6&&t.label<i[1]){t.label=i[1],i=c;break}if(i&&t.label<i[2]){t.label=i[2],t.ops.push(c);break}i[2]&&t.ops.pop(),t.trys.pop();continue}c=r.call(e,t)}catch(p){c=[6,p],a=0}finally{n=i=0}if(c[0]&5)throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}}function In(e,r){var t=typeof Symbol=="function"&&e[Symbol.iterator];if(!t)return e;var n=t.call(e),a,i=[],o;try{for(;(r===void 0||r-- >0)&&!(a=n.next()).done;)i.push(a.value)}catch(l){o={error:l}}finally{try{a&&!a.done&&(t=n.return)&&t.call(n)}finally{if(o)throw o.error}}return i}function xn(e,r,t){if(t||arguments.length===2)for(var n=0,a=r.length,i;n<a;n++)(i||!(n in r))&&(i||(i=Array.prototype.slice.call(r,0,n)),i[n]=r[n]);return e.concat(i||Array.prototype.slice.call(r))}var so=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","appli
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function xo(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function wo(e){if(Array.isArray(e))return Bt(e)}function Pn(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),t.push.apply(t,n)}return t}function An(e){for(var r=1;r<arguments.length;r++){var t=arguments[r]!=null?arguments[r]:{};r%2?Pn(Object(t),!0).forEach(function(n){Oa(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Pn(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}return e}function Oa(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function sr(e,r){return Po(e)||Eo(e,r)||Ra(e,r)||Co()}function Co(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Ra(e,r){if(e){if(typeof e=="string")return Bt(e,r);var t=Object.prototype.toString.call(e).slice(8,-1);if(t==="Object"&&e.constructor&&(t=e.constructor.name),t==="Map"||t==="Set")return Array.from(e);if(t==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return Bt(e,r)}}function Bt(e,r){(r==null||r>e.length)&&(r=e.length);for(var t=0,n=new Array(r);t<r;t++)n[t]=e[t];return n}function Eo(e,r){var t=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(t!=null){var n=[],a=!0,i=!1,o,l;try{for(t=t.call(e);!(a=(o=t.next()).done)&&(n.push(o.value),!(r&&n.length===r));a=!0);}catch(s){i=!0,l=s}finally{try{!a&&t.return!=null&&t.return()}finally{if(i)throw l}}return n}}function Po(e){if(Array.isArray(e))return e}var Ao="file-invalid-type",Oo="file-too-large",Ro="file-too-small",To="too-many-files",Bo=function(r){r=Array.isArray(r)&&r.length===1?r[0]:r;var t=Array.isArray(r)?"one of ".concat(r.join(", ")):r;return{code:Ao,message:"File type must be ".concat(t)}},On=function(r){return{code:Oo,message:"File is larger than ".concat(r," ").concat(r===1?"byte":"bytes")}},Rn=function(r){return{code:Ro,message:"File is smaller than ".concat(r," ").concat(r===1?"byte":"bytes")}},Mo={code:To,message:"Too many files"};function Ta(e,r){var t=e.type==="application/x-moz-file"||So(e,r);return[t,t?null:Bo(r)]}function Ba(e,r,t){if(Ge(e.size))if(Ge(r)&&Ge(t)){if(e.size>t)return[!1,On(t)];if(e.size<r)return[!1,Rn(r)]}else{if(Ge(r)&&e.size<r)return[!1,Rn(r)];if(Ge(t)&&e.size>t)return[!1,On(t)]}return[!0,null]}function Ge(e){return e!=null}function Fo(e){var r=e.files,t=e.accept,n=e.minSize,a=e.maxSize,i=e.multiple,o=e.maxFiles,l=e.validator;return!i&&r.length>1||i&&o>=1&&r.length>o?!1:r.every(function(s){var c=Ta(s,t),p=sr(c,1),u=p[0],d=Ba(s,n,a),f=sr(d,1),g=f[0],v=l?l(s):null;return u&&g&&!v})}function Fr(e){return typeof e.isPropagationStopped=="function"?e.isPropagationStopped():typeof e.cancelBubble<"u"?e.cancelBubble:!1}function Pr(e){return e.dataTransfer?Array.prototype.some.call(e.dataTransfer.types,function(r){return r==="Files"||r==="application/x-moz-file"}):!!e.target&&!!e.target.files}function Tn(e){e.preventDefault()}function No(e){return e.indexOf("MSIE")!==-1||e.indexOf("Trident/")!==-1}function Lo(e){return e.indexOf("Edge/")!==-1}function Go(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:window.navigator.userAgent;return No(e)||Lo(e)}function xe(){for(var e=arguments.length,r=new Array(e),t=0;t<e;t++)r[t]=arguments[t];return function(n){for(var a=arguments.length,i=new Array(a>1?a-1:0),o=1;o<a;o++)i[o-1]=arguments[o];return r.some(function(l){return!Fr(n)&&l&&l.apply(void 0,[n].concat(i)),Fr(n)})}}function Wo(){return"showOpenFilePicker"in window}function $o(e){if(Ge(e)){var r=Object.entries(e).filter(function(t){var n=sr(t,2),a=n[0],i=n[1],o=!0;return Ma(a)||(console.warn('Skipped "'.concat(a,'" 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(i)||!i.every(Fa))&&(console.warn('Skipped "'.concat(a,'" because an invalid file extension was provided.')),o=!1),o}).reduce(function(t,n){var a=sr(n,2),i=a[0],o=a[1];return An(An({},t),{},Oa({},i,o))},{});return[{description:"Files",accept:r}]}return e}function ko(e){if(Ge(e))return Object.entries(e).reduce(function(r,t){var n=sr(t,2),a=n[0],i=n[1];return[].concat(En(r),[a],En(i))},[]).filter(function(r){return Ma(r)||Fa(r)}).join(",")}function jo(e){return e instanceof DOMException&&(e.name==="AbortError"||e.code===e.ABORT_ERR)}function Uo(e){return e instanceof DOMException&&(e.name==="SecurityError"||e.code===e.SECURITY_ERR)}function Ma(e){return e==="audio/*"||e==="video/*"||e==="image/*"||e==="text/*"||/\w+\/[-+.\w]+/g.test(e)}function Fa(e){return/^.*\.[\w]+$/.test(e)}var zo=["children"],Ho=["open"],qo=["refKey","role","onKeyDown","onFocus","onBlur","onClick","onDragEnter","onDragOver","onDragLeave","onDr
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Jo(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Xo(e){if(Array.isArray(e))return Mt(e)}function mt(e,r){return Zo(e)||Qo(e,r)||Na(e,r)||_o()}function _o(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Na(e,r){if(e){if(typeof e=="string")return Mt(e,r);var t=Object.prototype.toString.call(e).slice(8,-1);if(t==="Object"&&e.constructor&&(t=e.constructor.name),t==="Map"||t==="Set")return Array.from(e);if(t==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return Mt(e,r)}}function Mt(e,r){(r==null||r>e.length)&&(r=e.length);for(var t=0,n=new Array(r);t<r;t++)n[t]=e[t];return n}function Qo(e,r){var t=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(t!=null){var n=[],a=!0,i=!1,o,l;try{for(t=t.call(e);!(a=(o=t.next()).done)&&(n.push(o.value),!(r&&n.length===r));a=!0);}catch(s){i=!0,l=s}finally{try{!a&&t.return!=null&&t.return()}finally{if(i)throw l}}return n}}function Zo(e){if(Array.isArray(e))return e}function Bn(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),t.push.apply(t,n)}return t}function j(e){for(var r=1;r<arguments.length;r++){var t=arguments[r]!=null?arguments[r]:{};r%2?Bn(Object(t),!0).forEach(function(n){Ft(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Bn(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}return e}function Ft(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function Nr(e,r){if(e==null)return{};var t=el(e,r),n,a;if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(a=0;a<i.length;a++)n=i[a],!(r.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(t[n]=e[n])}return t}function el(e,r){if(e==null)return{};var t={},n=Object.keys(e),a,i;for(i=0;i<n.length;i++)a=n[i],!(r.indexOf(a)>=0)&&(t[a]=e[a]);return t}var Ut=S.forwardRef(function(e,r){var t=e.children,n=Nr(e,zo),a=rl(n),i=a.open,o=Nr(a,Ho);return S.useImperativeHandle(r,function(){return{open:i}},[i]),k.createElement(S.Fragment,null,t(j(j({},o),{},{open:i})))});Ut.displayName="Dropzone";var La={disabled:!1,getFilesFromEvent:po,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};Ut.defaultProps=La;Ut.propTypes={children:W.func,accept:W.objectOf(W.arrayOf(W.string)),multiple:W.bool,preventDropOnDocument:W.bool,noClick:W.bool,noKeyboard:W.bool,noDrag:W.bool,noDragEventsBubbling:W.bool,minSize:W.number,maxSize:W.number,maxFiles:W.number,disabled:W.bool,getFilesFromEvent:W.func,onFileDialogCancel:W.func,onFileDialogOpen:W.func,useFsAccessApi:W.bool,autoFocus:W.bool,onDragEnter:W.func,onDragLeave:W.func,onDragOver:W.func,onDrop:W.func,onDropAccepted:W.func,onDropRejected:W.func,onError:W.func,validator:W.func};var Nt={isFocused:!1,isFileDialogActive:!1,isDragActive:!1,isDragAccept:!1,isDragReject:!1,acceptedFiles:[],fileRejections:[]};function rl(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=j(j({},La),e),t=r.accept,n=r.disabled,a=r.getFilesFromEvent,i=r.maxSize,o=r.minSize,l=r.multiple,s=r.maxFiles,c=r.onDragEnter,p=r.onDragLeave,u=r.onDragOver,d=r.onDrop,f=r.onDropAccepted,g=r.onDropRejected,v=r.onFileDialogCancel,m=r.onFileDialogOpen,b=r.useFsAccessApi,h=r.autoFocus,y=r.preventDropOnDocument,D=r.noClick,x=r.noKeyboard,w=r.noDrag,E=r.noDragEventsBubbling,B=r.onError,A=r.validator,F=S.useMemo(function(){return ko(t)},[t]),M=S.useMemo(function(){return $o(t)},[t]),K=S.useMemo(function(){return typeof m=="function"?m:Mn},[m]),V=S.useMemo(function(){return typeof v=="function"?v:Mn},[v]),T=S.useRef(null),G=S.useRef(null),ee=S.useReducer(tl,Nt),de=mt(ee,2),re=de[0],U=de[1],te=re.isFocused,pe=re.isFileDialogActive,H=S.useRef(typeof window<"u"&&window.isSecureContext&&b&&Wo()),be=function(){!H.current&&pe&&setTimeout(function(){if(G.current){var R=G.current.files;R.length||(U({type:"closeDialog"}),V())}},300)};S.useEffect(function(){return window.addEvent
* react-is.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var J=typeof Symbol=="function"&&Symbol.for,zt=J?Symbol.for("react.element"):60103,Ht=J?Symbol.for("react.portal"):60106,Hr=J?Symbol.for("react.fragment"):60107,qr=J?Symbol.for("react.strict_mode"):60108,Vr=J?Symbol.for("react.profiler"):60114,Kr=J?Symbol.for("react.provider"):60109,Yr=J?Symbol.for("react.context"):60110,qt=J?Symbol.for("react.async_mode"):60111,Jr=J?Symbol.for("react.concurrent_mode"):60111,Xr=J?Symbol.for("react.forward_ref"):60112,_r=J?Symbol.for("react.suspense"):60113,nl=J?Symbol.for("react.suspense_list"):60120,Qr=J?Symbol.for("react.memo"):60115,Zr=J?Symbol.for("react.lazy"):60116,al=J?Symbol.for("react.block"):60121,il=J?Symbol.for("react.fundamental"):60117,ol=J?Symbol.for("react.responder"):60118,ll=J?Symbol.for("react.scope"):60119;function ce(e){if(typeof e=="object"&&e!==null){var r=e.$$typeof;switch(r){case zt:switch(e=e.type,e){case qt:case Jr:case Hr:case Vr:case qr:case _r:return e;default:switch(e=e&&e.$$typeof,e){case Yr:case Xr:case Zr:case Qr:case Kr:return e;default:return r}}case Ht:return r}}}function Wa(e){return ce(e)===Jr}L.AsyncMode=qt;L.ConcurrentMode=Jr;L.ContextConsumer=Yr;L.ContextProvider=Kr;L.Element=zt;L.ForwardRef=Xr;L.Fragment=Hr;L.Lazy=Zr;L.Memo=Qr;L.Portal=Ht;L.Profiler=Vr;L.StrictMode=qr;L.Suspense=_r;L.isAsyncMode=function(e){return Wa(e)||ce(e)===qt};L.isConcurrentMode=Wa;L.isContextConsumer=function(e){return ce(e)===Yr};L.isContextProvider=function(e){return ce(e)===Kr};L.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===zt};L.isForwardRef=function(e){return ce(e)===Xr};L.isFragment=function(e){return ce(e)===Hr};L.isLazy=function(e){return ce(e)===Zr};L.isMemo=function(e){return ce(e)===Qr};L.isPortal=function(e){return ce(e)===Ht};L.isProfiler=function(e){return ce(e)===Vr};L.isStrictMode=function(e){return ce(e)===qr};L.isSuspense=function(e){return ce(e)===_r};L.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===Hr||e===Jr||e===Vr||e===qr||e===_r||e===nl||typeof e=="object"&&e!==null&&(e.$$typeof===Zr||e.$$typeof===Qr||e.$$typeof===Kr||e.$$typeof===Yr||e.$$typeof===Xr||e.$$typeof===il||e.$$typeof===ol||e.$$typeof===ll||e.$$typeof===al)};L.typeOf=ce;Ga.exports=L;var sl=Ga.exports,Vt=sl,ul={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},cl={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},dl={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},$a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},Kt={};Kt[Vt.ForwardRef]=dl;Kt[Vt.Memo]=$a;function Fn(e){return Vt.isMemo(e)?$a:Kt[e.$$typeof]||ul}var pl=Object.defineProperty,fl=Object.getOwnPropertyNames,Nn=Object.getOwnPropertySymbols,vl=Object.getOwnPropertyDescriptor,gl=Object.getPrototypeOf,Ln=Object.prototype;function ka(e,r,t){if(typeof r!="string"){if(Ln){var n=gl(r);n&&n!==Ln&&ka(e,n,t)}var a=fl(r);Nn&&(a=a.concat(Nn(r)));for(var i=Fn(e),o=Fn(r),l=0;l<a.length;++l){var s=a[l];if(!cl[s]&&!(t&&t[s])&&!(o&&o[s])&&!(i&&i[s])){var c=vl(r,s);try{pl(e,s,c)}catch{}}}}return e}var ml=ka;const Gn=no(ml);function Yt(e,r){e.prototype=Object.create(r.prototype),e.prototype.constructor=e,ao(e,r)}function Wn(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),t.push.apply(t,n)}return t}function $n(e){for(var r=1;r<arguments.length;r++){var t=arguments[r]!=null?arguments[r]:{};r%2?Wn(Object(t),!0).forEach(function(n){io(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Wn(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}return e}function ie(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 kn=function(){return
* react-is.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var et=60103,rt=60106,gr=60107,mr=60108,br=60114,hr=60109,yr=60110,Dr=60112,Sr=60113,Jt=60120,Ir=60115,xr=60116,Ya=60121,Ja=60122,Xa=60117,_a=60129,Qa=60131;if(typeof Symbol=="function"&&Symbol.for){var Q=Symbol.for;et=Q("react.element"),rt=Q("react.portal"),gr=Q("react.fragment"),mr=Q("react.strict_mode"),br=Q("react.profiler"),hr=Q("react.provider"),yr=Q("react.context"),Dr=Q("react.forward_ref"),Sr=Q("react.suspense"),Jt=Q("react.suspense_list"),Ir=Q("react.memo"),xr=Q("react.lazy"),Ya=Q("react.block"),Ja=Q("react.server.block"),Xa=Q("react.fundamental"),_a=Q("react.debug_trace_mode"),Qa=Q("react.legacy_hidden")}function De(e){if(typeof e=="object"&&e!==null){var r=e.$$typeof;switch(r){case et:switch(e=e.type,e){case gr:case br:case mr:case Sr:case Jt:return e;default:switch(e=e&&e.$$typeof,e){case yr:case Dr:case xr:case Ir:case hr:return e;default:return r}}case rt:return r}}}var wl=hr,Cl=et,El=Dr,Pl=gr,Al=xr,Ol=Ir,Rl=rt,Tl=br,Bl=mr,Ml=Sr;$.ContextConsumer=yr;$.ContextProvider=wl;$.Element=Cl;$.ForwardRef=El;$.Fragment=Pl;$.Lazy=Al;$.Memo=Ol;$.Portal=Rl;$.Profiler=Tl;$.StrictMode=Bl;$.Suspense=Ml;$.isAsyncMode=function(){return!1};$.isConcurrentMode=function(){return!1};$.isContextConsumer=function(e){return De(e)===yr};$.isContextProvider=function(e){return De(e)===hr};$.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===et};$.isForwardRef=function(e){return De(e)===Dr};$.isFragment=function(e){return De(e)===gr};$.isLazy=function(e){return De(e)===xr};$.isMemo=function(e){return De(e)===Ir};$.isPortal=function(e){return De(e)===rt};$.isProfiler=function(e){return De(e)===br};$.isStrictMode=function(e){return De(e)===mr};$.isSuspense=function(e){return De(e)===Sr};$.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===gr||e===br||e===_a||e===mr||e===Sr||e===Jt||e===Qa||typeof e=="object"&&e!==null&&(e.$$typeof===xr||e.$$typeof===Ir||e.$$typeof===hr||e.$$typeof===yr||e.$$typeof===Dr||e.$$typeof===Xa||e.$$typeof===Ya||e[0]===Ja)};$.typeOf=De;Ka.exports=$;var Fl=Ka.exports,Nl=["getDisplayName","methodName","renderCountProp","shouldHandleStateChanges","storeKey","withRef","forwardRef","context"],Ll=["reactReduxForwardedRef"],Gl=[],Wl=[null,null];function $l(e,r){var t=e[1];return[r.payload,t+1]}function qn(e,r,t){Va(function(){return e.apply(void 0,r)},t)}function kl(e,r,t,n,a,i,o){e.current=n,r.current=a,t.current=!1,i.current&&(i.current=null,o())}function jl(e,r,t,n,a,i,o,l,s,c){if(e){var p=!1,u=null,d=function(){if(!p){var v=r.getState(),m,b;try{m=n(v,a.current)}catch(h){b=h,u=h}b||(u=null),m===i.current?o.current||s():(i.current=m,l.current=m,o.current=!0,c({type:"STORE_UPDATED",payload:{error:b}}))}};t.onStateChange=d,t.trySubscribe(),d();var f=function(){if(p=!0,t.tryUnsubscribe(),t.onStateChange=null,u)throw u};return f}}var Ul=function(){return[null,0]};function zl(e,r){r===void 0&&(r={});var t=r,n=t.getDisplayName,a=n===void 0?function(y){return"ConnectAdvanced("+y+")"}:n,i=t.methodName,o=i===void 0?"connectAdvanced":i,l=t.renderCountProp,s=l===void 0?void 0:l,c=t.shouldHandleStateChanges,p=c===void 0?!0:c,u=t.storeKey,d=u===void 0?"store":u;t.withRef;var f=t.forwardRef,g=f===void 0?!1:f,v=t.context,m=v===void 0?za:v,b=qe(t,Nl),h=m;return function(D){var x=D.displayName||D.name||"Component",w=a(x),E=O({},b,{getDisplayName:a,methodName:o,renderCountProp:s,shouldHandleStateChanges:p,storeKey:d,displayName:w,wrappedComponentName:x,WrappedComponent:D}),B=b.pure;function A(T){return e(T.dispatch,E)}var F=B?S.useMemo:function(T){return T()};function M(T){var G=S.useMemo(function(){var Ie=T.reactReduxForwardedRef,Ee=qe(T,Ll);return[T.context,Ie,Ee]},[T]),ee=G[0],de=G[1],re=G[2],U=S.useMemo(function(){return ee&&ee.Consumer&&Fl.isContextConsumer(k.createElement(ee.Consumer,null))?ee:h},[ee,h]),te=S.useContext(U),pe=!!T.store&&!!T.store.getState&&!!T.store.dispatch;te&&te.store;var H=pe?T.store:te.store,be=S.useMemo(function(){return A(H)},[H]),X=S.useMemo(function(){if(!p)return Wl;var Ie=qa(H,pe?null:te.subscription),Ee=Ie.notifyNestedSubs.bind(Ie);return[Ie,Ee
Press space bar to start a drag.
When dragging you can use the arrow keys to move the item around and escape to cancel.
Some screen readers may require you to be in focus mode or to use your pass through key
`,$r=function(r){return r+1},xs=function(r){return`
You have lifted an item in position `+$r(r.source.index)+`
`},ii=function(r,t){var n=r.droppableId===t.droppableId,a=$r(r.index),i=$r(t.index);return n?`
You have moved the item from position `+a+`
to position `+i+`
`:`
You have moved the item from position `+a+`
in list `+r.droppableId+`
to list `+t.droppableId+`
in position `+i+`
`},oi=function(r,t,n){var a=t.droppableId===n.droppableId;return a?`
The item `+r+`
has been combined with `+n.draggableId:`
The item `+r+`
in list `+t.droppableId+`
has been combined with `+n.draggableId+`
in list `+n.droppableId+`
`},ws=function(r){var t=r.destination;if(t)return ii(r.source,t);var n=r.combine;return n?oi(r.draggableId,r.source,n):"You are over an area that cannot be dropped on"},Xn=function(r){return`
The item has returned to its starting position
of `+$r(r.index)+`
`},Cs=function(r){if(r.reason==="CANCEL")return`
Movement cancelled.
`+Xn(r.source)+`
`;var t=r.destination,n=r.combine;return t?`
You have dropped the item.
`+ii(r.source,t)+`
`:n?`
You have dropped the item.
`+oi(r.draggableId,r.source,n)+`
`:`
The item has been dropped while not over a drop area.
`+Xn(r.source)+`
`},Br={dragHandleUsageInstructions:Is,onDragStart:xs,onDragUpdate:ws,onDragEnd:Cs},Y={x:0,y:0},Z=function(r,t){return{x:r.x+t.x,y:r.y+t.y}},le=function(r,t){return{x:r.x-t.x,y:r.y-t.y}},Ae=function(r,t){return r.x===t.x&&r.y===t.y},_e=function(r){return{x:r.x!==0?-r.x:0,y:r.y!==0?-r.y:0}},We=function(r,t,n){var a;return n===void 0&&(n=0),a={},a[r]=t,a[r==="x"?"y":"x"]=n,a},cr=function(r,t){return Math.sqrt(Math.pow(t.x-r.x,2)+Math.pow(t.y-r.y,2))},_n=function(r,t){return Math.min.apply(Math,t.map(function(n){return cr(r,n)}))},li=function(r){return function(t){return{x:r(t.x),y:r(t.y)}}},Es=function(e,r){var t=ye({top:Math.max(r.top,e.top),right:Math.min(r.right,e.right),bottom:Math.min(r.bottom,e.bottom),left:Math.max(r.left,e.left)});return t.width<=0||t.height<=0?null:t},wr=function(r,t){return{top:r.top+t.y,left:r.left+t.x,bottom:r.bottom+t.y,right:r.right+t.x}},Qn=function(r){return[{x:r.left,y:r.top},{x:r.right,y:r.top},{x:r.left,y:r.bottom},{x:r.right,y:r.bottom}]},Ps={top:0,right:0,bottom:0,left:0},As=function(r,t){return t?wr(r,t.scroll.diff.displacement):r},Os=function(r,t,n){if(n&&n.increasedBy){var a;return O({},r,(a={},a[t.end]=r[t.end]+n.increasedBy[t.line],a))}return r},Rs=function(r,t){return t&&t.shouldClipSubject?Es(t.pageMarginBox,r):ye(r)},Ve=function(e){var r=e.page,t=e.withPlaceholder,n=e.axis,a=e.frame,i=As(r.marginBox,a),o=Os(i,n,t),l=Rs(o,a);return{page:r,withPlaceholder:t,active:l}},Zt=function(e,r){e.frame||I(!1);var t=e.frame,n=le(r,t.scroll.initial),a=_e(n),i=O({},t,{scroll:{initial:t.scroll.initial,current:r,diff:{value:n,displacement:a},max:t.scroll.max}}),o=Ve({page:e.subject.page,withPlaceholder:e.subject.withPlaceholder,axis:e.axis,frame:i}),l=O({},e,{frame:i,subject:o});return l};function kr(e){return Object.values?Object.values(e):Object.keys(e).map(function(r){return e[r]})}function en(e,r){if(e.findIndex)return e.findIndex(r);for(var t=0;t<e.length;t++)if(r(e[t]))return t;return-1}function Te(e,r){if(e.find)return e.find(r);var t=en(e,r);if(t!==-1)return e[t]}function si(e){return Array.prototype.slice.call(e)}var ui=z(function(e){return e.reduce(function(r,t){return r[t.descriptor.id]=t,r},{})}),ci=z(function(e){return e.reduce(function(r,t){return r[t.descriptor.id]=t,r},{})}),tt=z(function(e){return kr(e)}),Ts=z(function(e){return kr(e)}),Qe=z(function(e,r){var t=Ts(r).filter(function(n){return e===n.descriptor.droppableId}).sort(function(n,a){return n.descriptor.index-a.descriptor.index});return t});function rn(e){return e.at&&e.at.type==="REORDER"?e.at.destination:null}function nt(e){return e.at&&e.at.type==="COMBINE"?e.at.combine:null}var at=z(function(e,r){return r.filter(function(t){return t.descriptor.id!==e.descriptor.id})}),Bs=function(e){var r=e.isMovingForward,t=e.draggable,n=e.destination,a=e.insideDestination,i=e.previousImpact;if(!n.isCombineEnabled)return null;var o=rn(i);if(!o)return null;function l(v){var m={type:"COMBINE",combine:{draggableId:v,droppableId:n.descriptor.id}};return O({},i,{at:m})}var s=i.displaced.all,c=s.length?s[0]:null;if(r)return c?l(c):null;var p=at(t,a);if(!c){if(!p.length)return null;var u=p[p.length-1];return l(u.descriptor.id)}var d=en(p,function(v){return v.descriptor.id===c});d===-1&&I(!1);var f=d-1;if(f<0)return null;var g=p[f];return l(g.descriptor.id)},Ze=function(e,r){return e.descriptor.droppableId===r.descriptor.id},di={point:Y,value:0},dr={invisible:{},visible:{},all:[]},Ms={displaced:dr,displacedBy:di,at:null},me=function(e,r){return function(t){return e<=t&&t<=r}},pi=function(e){var r=me(e.top,e.bottom),t=me(e.left,e.right);return function(n){var a=r(n.top)&&r(n.bottom)&&t(n.left)&&t(n.right);if(a)return!0;var i=r(n.top)||r(n.bottom),o=t(n.left)||t(n.right),l=i&&o;if(l)return!0;var s=n.top<e.top&&n.bottom>e.bottom,c=n.left<e.left&&n.right>e.right,p=s&&c;if(p)return!0;var u=s&&o||c&&i;return u}},Fs=function(e){var r=me(e.top,e.bottom),t=me(e.left,e.right);return function(n){var a=r(n.top)&&r(n.bottom)&&t(n.left)&&t(n.right);return a}},tn={direction:"vertical",line:"y",crossAxisLine:"x",start:"top",end:"bottom",size:"height",cr
cursor: -webkit-grab;
cursor: grab;
`;return{selector:r(Ye.contextId),styles:{always:`
-webkit-touch-callout: none;
-webkit-tap-highlight-color: rgba(0,0,0,0);
touch-action: manipulation;
`,resting:l,dragging:zc,dropAnimating:l}}}(),n=function(){var l=`
transition: `+lr.outOfTheWay+`;
`;return{selector:r(kt.contextId),styles:{dragging:l,dropAnimating:l,userCancel:l}}}(),a={selector:r(jc.contextId),styles:{always:"overflow-anchor: none;"}},i={selector:"body",styles:{dragging:`
cursor: grabbing;
cursor: -webkit-grabbing;
user-select: none;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
overflow-anchor: none;
`}},o=[n,t,a,i];return{always:ar(o,"always"),resting:ar(o,"resting"),dragging:ar(o,"dragging"),dropAnimating:ar(o,"dropAnimating"),userCancel:ar(o,"userCancel")}},ue=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u"?S.useLayoutEffect:S.useEffect,Et=function(){var r=document.querySelector("head");return r||I(!1),r},va=function(r){var t=document.createElement("style");return r&&t.setAttribute("nonce",r),t.type="text/css",t};function qc(e,r){var t=N(function(){return Hc(e)},[e]),n=S.useRef(null),a=S.useRef(null),i=P(z(function(u){var d=a.current;d||I(!1),d.textContent=u}),[]),o=P(function(u){var d=n.current;d||I(!1),d.textContent=u},[]);ue(function(){!n.current&&!a.current||I(!1);var u=va(r),d=va(r);return n.current=u,a.current=d,u.setAttribute(Ke+"-always",e),d.setAttribute(Ke+"-dynamic",e),Et().appendChild(u),Et().appendChild(d),o(t.always),i(t.resting),function(){var f=function(v){var m=v.current;m||I(!1),Et().removeChild(m),v.current=null};f(n),f(a)}},[r,o,i,t.always,t.resting,e]);var l=P(function(){return i(t.dragging)},[i,t.dragging]),s=P(function(u){if(u==="DROP"){i(t.dropAnimating);return}i(t.userCancel)},[i,t.dropAnimating,t.userCancel]),c=P(function(){a.current&&i(t.resting)},[i,t.resting]),p=N(function(){return{dragging:l,dropping:s,resting:c}},[l,s,c]);return p}var ki=function(e){return e&&e.ownerDocument?e.ownerDocument.defaultView:window};function ot(e){return e instanceof ki(e).HTMLElement}function Vc(e,r){var t="["+Ye.contextId+'="'+e+'"]',n=si(document.querySelectorAll(t));if(!n.length)return null;var a=Te(n,function(i){return i.getAttribute(Ye.draggableId)===r});return!a||!ot(a)?null:a}function Kc(e){var r=S.useRef({}),t=S.useRef(null),n=S.useRef(null),a=S.useRef(!1),i=P(function(d,f){var g={id:d,focus:f};return r.current[d]=g,function(){var m=r.current,b=m[d];b!==g&&delete m[d]}},[]),o=P(function(d){var f=Vc(e,d);f&&f!==document.activeElement&&f.focus()},[e]),l=P(function(d,f){t.current===d&&(t.current=f)},[]),s=P(function(){n.current||a.current&&(n.current=requestAnimationFrame(function(){n.current=null;var d=t.current;d&&o(d)}))},[o]),c=P(function(d){t.current=null;var f=document.activeElement;f&&f.getAttribute(Ye.draggableId)===d&&(t.current=d)},[]);ue(function(){return a.current=!0,function(){a.current=!1;var d=n.current;d&&cancelAnimationFrame(d)}},[]);var p=N(function(){return{register:i,tryRecordFocus:c,tryRestoreFocusRecorded:s,tryShiftRecord:l}},[i,c,s,l]);return p}function Yc(){var e={draggables:{},droppables:{}},r=[];function t(u){return r.push(u),function(){var f=r.indexOf(u);f!==-1&&r.splice(f,1)}}function n(u){r.length&&r.forEach(function(d){return d(u)})}function a(u){return e.draggables[u]||null}function i(u){var d=a(u);return d||I(!1),d}var o={register:function(d){e.draggables[d.descriptor.id]=d,n({type:"ADDITION",value:d})},update:function(d,f){var g=e.draggables[f.descriptor.id];g&&g.uniqueId===d.uniqueId&&(delete e.draggables[f.descriptor.id],e.draggables[d.descriptor.id]=d)},unregister:function(d){var f=d.descriptor.id,g=a(f);g&&d.uniqueId===g.uniqueId&&(delete e.draggables[f],n({type:"REMOVAL",value:d}))},getById:i,findById:a,exists:function(d){return!!a(d)},getAllByType:function(d){return kr(e.draggables).filter(function(f){return f.descriptor.type===d})}};function l(u){return e.droppables[u]||null}function s(u){var d=l(u);return d||I(!1),d}var c={register:function(d){e.droppables[d.descriptor.id]=d},unregister:function(d){var f=l(d.descriptor.id);f&&d.uniqueId===f.uniqueId&&delete e.droppables[d.descriptor.id]},getById:s,findById:l,exists:function(d){return!!l(d)},getAllByType:function(d){return kr(e.droppables).filter(function(f){return f.descriptor.type===d})}};function p(){e.draggables={},e.droppables={},r.length=0}return{draggable:o,droppable:c,subscribe:t,clean:p}}function Jc(){var e=N(Yc,[]);return S.useEffect(function(){return function(){requestAnimationFrame(e.clean)}},[e]),e}var mn=k.createContext(null),Ur=function(){var e=document.body;return e||I(!1),e},Xc={position:"absolute",width:"1px",height:"1px",margin:"-1px",border:"0",