Plugin Directory

Changeset 2356396


Ignore:
Timestamp:
08/10/2020 06:02:08 PM (6 years ago)
Author:
blockhandbook
Message:

Update to version 1.0.1 from GitHub

Location:
movable
Files:
30 added
4 deleted
18 edited
1 copied

Legend:

Unmodified
Added
Removed
  • movable/tags/1.0.1/build/index.asset.php

    r2286614 r2356396  
    1 <?php return array('dependencies' => array('react', 'react-dom', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-data', 'wp-edit-post', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-plugins', 'wp-polyfill'), 'version' => 'a6baa74c8997290f3301d77332b5c657');
     1<?php return array('dependencies' => array('react', 'react-dom', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-data', 'wp-edit-post', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-plugins', 'wp-polyfill', 'wp-rich-text'), 'version' => '59a4f04a8008ca877952299122c6bacd');
  • movable/tags/1.0.1/build/index.js

    r2286614 r2356396  
    1 !function(e){var t={};function r(n){if(t[n])return t[n].exports;var i=t[n]={i:n,l:!1,exports:{}};return e[n].call(i.exports,i,i.exports,r),i.l=!0,i.exports}r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)r.d(n,i,function(t){return e[t]}.bind(null,i));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=20)}([function(e,t){!function(){e.exports=this.React}()},function(e,t){!function(){e.exports=this.wp.element}()},function(e,t){!function(){e.exports=this.wp.data}()},function(e,t){e.exports=function(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}},function(e,t){!function(){e.exports=this.wp.blocks}()},function(e,t){!function(){e.exports=this.wp.i18n}()},function(e,t){!function(){e.exports=this.ReactDOM}()},function(e,t){!function(){e.exports=this.wp.plugins}()},function(e,t){!function(){e.exports=this.wp.hooks}()},function(e,t){!function(){e.exports=this.wp.components}()},function(e,t,r){"use strict";e.exports=r(26)},function(e,t){function r(){return e.exports=r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},r.apply(this,arguments)}e.exports=r},function(e,t){!function(){e.exports=this.wp.blockEditor}()},function(e,t,r){"use strict";var n=r(10),i={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},o={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},c={};function l(e){return n.isMemo(e)?a:c[e.$$typeof]||i}c[n.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},c[n.Memo]=a;var u=Object.defineProperty,s=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,p=Object.getOwnPropertyDescriptor,f=Object.getPrototypeOf,g=Object.prototype;e.exports=function e(t,r,n){if("string"!=typeof r){if(g){var i=f(r);i&&i!==g&&e(t,i,n)}var a=s(r);d&&(a=a.concat(d(r)));for(var c=l(t),b=l(r),v=0;v<a.length;++v){var m=a[v];if(!(o[m]||n&&n[m]||b&&b[m]||c&&c[m])){var h=p(r,m);try{u(t,m,h)}catch(e){}}}}return t}},function(e,t,r){"use strict";(function(e,n){var i,o=r(19);i="undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==e?e:n;var a=Object(o.a)(i);t.a=a}).call(this,r(27),r(15)(e))},function(e,t){e.exports=function(e){if(!e.webpackPolyfill){var t=Object.create(e);t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),Object.defineProperty(t,"exports",{enumerable:!0}),t.webpackPolyfill=1}return t}},function(e,t,r){"use strict";r.d(t,"a",(function(){return i}));r(4),r(1);var n=r(7);r(2),r(8);const i=({getContext:e})=>{const t=e();for(const e of t.keys()){const r=t(e),i=r.name,o=r.settings;Object(n.registerPlugin)(i,o)}return t}},function(e,t){!function(){e.exports=this.wp.editPost}()},function(e,t){!function(){e.exports=this.wp.compose}()},function(e,t,r){"use strict";function n(e){var t,r=e.Symbol;return"function"==typeof r?r.observable?t=r.observable:(t=r("observable"),r.observable=t):t="@@observable",t}r.d(t,"a",(function(){return n}))},function(e,t,r){e.exports=r(21)},function(e,t,r){"use strict";r.r(t),function(e){var t=r(16);Object(t.a)({getContext:function(){return r(22)},module:e})}.call(this,r(15)(e))},function(e,t,r){var n={"./index.js":28};function i(e){var t=o(e);return r(t)}function o(e){if(!r.o(n,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return n[e]}i.keys=function(){return Object.keys(n)},i.resolve=o,e.exports=i,i.id=22},function(e,t,r){e.exports=r(24)()},function(e,t,r){"use strict";var n=r(25);function i(){}function o(){}o.resetWarningCache=i,e.exports=function(){function e(e,t,r,i,o,a){if(a!==n){var c=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw c.name="Invariant Violation",c}}function t(){return e}e.isRequired=e;var r={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:o,resetWarningCache:i};return r.PropTypes=r,r}},function(e,t,r){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,r){"use strict";
    2 /** @license React v16.13.1
    3  * react-is.production.min.js
    4  *
    5  * Copyright (c) Facebook, Inc. and its affiliates.
    6  *
    7  * This source code is licensed under the MIT license found in the
    8  * LICENSE file in the root directory of this source tree.
    9  */var n="function"==typeof Symbol&&Symbol.for,i=n?Symbol.for("react.element"):60103,o=n?Symbol.for("react.portal"):60106,a=n?Symbol.for("react.fragment"):60107,c=n?Symbol.for("react.strict_mode"):60108,l=n?Symbol.for("react.profiler"):60114,u=n?Symbol.for("react.provider"):60109,s=n?Symbol.for("react.context"):60110,d=n?Symbol.for("react.async_mode"):60111,p=n?Symbol.for("react.concurrent_mode"):60111,f=n?Symbol.for("react.forward_ref"):60112,g=n?Symbol.for("react.suspense"):60113,b=n?Symbol.for("react.suspense_list"):60120,v=n?Symbol.for("react.memo"):60115,m=n?Symbol.for("react.lazy"):60116,h=n?Symbol.for("react.block"):60121,y=n?Symbol.for("react.fundamental"):60117,x=n?Symbol.for("react.responder"):60118,I=n?Symbol.for("react.scope"):60119;function D(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case i:switch(e=e.type){case d:case p:case a:case l:case c:case g:return e;default:switch(e=e&&e.$$typeof){case s:case f:case m:case v:case u:return e;default:return t}}case o:return t}}}function w(e){return D(e)===p}t.AsyncMode=d,t.ConcurrentMode=p,t.ContextConsumer=s,t.ContextProvider=u,t.Element=i,t.ForwardRef=f,t.Fragment=a,t.Lazy=m,t.Memo=v,t.Portal=o,t.Profiler=l,t.StrictMode=c,t.Suspense=g,t.isAsyncMode=function(e){return w(e)||D(e)===d},t.isConcurrentMode=w,t.isContextConsumer=function(e){return D(e)===s},t.isContextProvider=function(e){return D(e)===u},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===i},t.isForwardRef=function(e){return D(e)===f},t.isFragment=function(e){return D(e)===a},t.isLazy=function(e){return D(e)===m},t.isMemo=function(e){return D(e)===v},t.isPortal=function(e){return D(e)===o},t.isProfiler=function(e){return D(e)===l},t.isStrictMode=function(e){return D(e)===c},t.isSuspense=function(e){return D(e)===g},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===a||e===p||e===l||e===c||e===g||e===b||"object"==typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===v||e.$$typeof===u||e.$$typeof===s||e.$$typeof===f||e.$$typeof===y||e.$$typeof===x||e.$$typeof===I||e.$$typeof===h)},t.typeOf=D},function(e,t){var r;r=function(){return this}();try{r=r||new Function("return this")()}catch(e){"object"==typeof window&&(r=window)}e.exports=r},function(e,t,r){"use strict";r.r(t),r.d(t,"name",(function(){return To})),r.d(t,"settings",(function(){return jo}));var n=r(11),i=r.n(n),o=r(3),a=r.n(o),c=r(1),l=r(0),u=r.n(l);function s(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function d(){return(d=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}var p=r(14),f=function(){return Math.random().toString(36).substring(7).split("").join(".")},g={INIT:"@@redux/INIT"+f(),REPLACE:"@@redux/REPLACE"+f(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+f()}};function b(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}function v(e,t,r){var n;if("function"==typeof t&&"function"==typeof r||"function"==typeof r&&"function"==typeof arguments[3])throw new Error("It looks like you are passing several store enhancers to createStore(). This is not supported. Instead, compose them together to a single function.");if("function"==typeof t&&void 0===r&&(r=t,t=void 0),void 0!==r){if("function"!=typeof r)throw new Error("Expected the enhancer to be a function.");return r(v)(e,t)}if("function"!=typeof e)throw new Error("Expected the reducer to be a function.");var i=e,o=t,a=[],c=a,l=!1;function u(){c===a&&(c=a.slice())}function s(){if(l)throw new Error("You may not call store.getState() while the reducer is executing. The reducer has already received the state as an argument. Pass it down from the top reducer instead of reading it from the store.");return o}function d(e){if("function"!=typeof e)throw new Error("Expected the listener to be a function.");if(l)throw new Error("You may not call store.subscribe() while the reducer is executing. If you would like to be notified after the store has been updated, subscribe from a component and invoke store.getState() in the callback to access the latest state. See https://redux.js.org/api-reference/store#subscribelistener for more details.");var t=!0;return u(),c.push(e),function(){if(t){if(l)throw new Error("You may not unsubscribe from a store listener while the reducer is executing. See https://redux.js.org/api-reference/store#subscribelistener for more details.");t=!1,u();var r=c.indexOf(e);c.splice(r,1),a=null}}}function f(e){if(!b(e))throw new Error("Actions must be plain objects. Use custom middleware for async actions.");if(void 0===e.type)throw new Error('Actions may not have an undefined "type" property. Have you misspelled a constant?');if(l)throw new Error("Reducers may not dispatch actions.");try{l=!0,o=i(o,e)}finally{l=!1}for(var t=a=c,r=0;r<t.length;r++){(0,t[r])()}return e}function m(e){if("function"!=typeof e)throw new Error("Expected the nextReducer to be a function.");i=e,f({type:g.REPLACE})}function h(){var e,t=d;return(e={subscribe:function(e){if("object"!=typeof e||null===e)throw new TypeError("Expected the observer to be an object.");function r(){e.next&&e.next(s())}return r(),{unsubscribe:t(r)}}})[p.a]=function(){return this},e}return f({type:g.INIT}),(n={dispatch:f,subscribe:d,getState:s,replaceReducer:m})[p.a]=h,n}function m(e,t){return function(){return t(e.apply(this,arguments))}}function h(e,t){if("function"==typeof e)return m(e,t);if("object"!=typeof e||null===e)throw new Error("bindActionCreators expected an object or a function, instead received "+(null===e?"null":typeof e)+'. Did you write "import ActionCreators from" instead of "import * as ActionCreators from"?');var r={};for(var n in e){var i=e[n];"function"==typeof i&&(r[n]=m(i,t))}return r}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){var r=Object.keys(e);return Object.getOwnPropertySymbols&&r.push.apply(r,Object.getOwnPropertySymbols(e)),t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r}function I(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?x(r,!0).forEach((function(t){y(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):x(r).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function D(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return 0===t.length?function(e){return e}:1===t.length?t[0]:t.reduce((function(e,t){return function(){return e(t.apply(void 0,arguments))}}))}r(23);var w=u.a.createContext(null);var O=function(e){e()},E={notify:function(){}};function C(){var e=O,t=null,r=null;return{clear:function(){t=null,r=null},notify:function(){e((function(){for(var e=t;e;)e.callback(),e=e.next}))},get:function(){for(var e=[],r=t;r;)e.push(r),r=r.next;return e},subscribe:function(e){var n=!0,i=r={callback:e,next:null,prev:r};return i.prev?i.prev.next=i:t=i,function(){n&&null!==t&&(n=!1,i.next?i.next.prev=i.prev:r=i.prev,i.prev?i.prev.next=i.next:t=i.next)}}}}var P=function(){function e(e,t){this.store=e,this.parentSub=t,this.unsubscribe=null,this.listeners=E,this.handleChangeWrapper=this.handleChangeWrapper.bind(this)}var t=e.prototype;return t.addNestedSub=function(e){return this.trySubscribe(),this.listeners.subscribe(e)},t.notifyNestedSubs=function(){this.listeners.notify()},t.handleChangeWrapper=function(){this.onStateChange&&this.onStateChange()},t.isSubscribed=function(){return Boolean(this.unsubscribe)},t.trySubscribe=function(){this.unsubscribe||(this.unsubscribe=this.parentSub?this.parentSub.addNestedSub(this.handleChangeWrapper):this.store.subscribe(this.handleChangeWrapper),this.listeners=C())},t.tryUnsubscribe=function(){this.unsubscribe&&(this.unsubscribe(),this.unsubscribe=null,this.listeners.clear(),this.listeners=E)},e}();var S=function(e){var t=e.store,r=e.context,n=e.children,i=Object(l.useMemo)((function(){var e=new P(t);return e.onStateChange=e.notifyNestedSubs,{store:t,subscription:e}}),[t]),o=Object(l.useMemo)((function(){return t.getState()}),[t]);Object(l.useEffect)((function(){var e=i.subscription;return e.trySubscribe(),o!==t.getState()&&e.notifyNestedSubs(),function(){e.tryUnsubscribe(),e.onStateChange=null}}),[i,o]);var a=r||w;return u.a.createElement(a.Provider,{value:i},n)};function A(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}var N=r(13),B=r.n(N),R=r(10),T="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement?l.useLayoutEffect:l.useEffect,j=[],L=[null,null];function M(e,t){var r=e[1];return[t.payload,r+1]}function G(e,t,r){T((function(){return e.apply(void 0,t)}),r)}function _(e,t,r,n,i,o,a){e.current=n,t.current=i,r.current=!1,o.current&&(o.current=null,a())}function k(e,t,r,n,i,o,a,c,l,u){if(e){var s=!1,d=null,p=function(){if(!s){var e,r,p=t.getState();try{e=n(p,i.current)}catch(e){r=e,d=e}r||(d=null),e===o.current?a.current||l():(o.current=e,c.current=e,a.current=!0,u({type:"STORE_UPDATED",payload:{error:r}}))}};r.onStateChange=p,r.trySubscribe(),p();return function(){if(s=!0,r.tryUnsubscribe(),r.onStateChange=null,d)throw d}}}var F=function(){return[null,0]};function W(e,t){void 0===t&&(t={});var r=t,n=r.getDisplayName,i=void 0===n?function(e){return"ConnectAdvanced("+e+")"}:n,o=r.methodName,a=void 0===o?"connectAdvanced":o,c=r.renderCountProp,s=void 0===c?void 0:c,p=r.shouldHandleStateChanges,f=void 0===p||p,g=r.storeKey,b=void 0===g?"store":g,v=(r.withRef,r.forwardRef),m=void 0!==v&&v,h=r.context,y=void 0===h?w:h,x=A(r,["getDisplayName","methodName","renderCountProp","shouldHandleStateChanges","storeKey","withRef","forwardRef","context"]),I=y;return function(t){var r=t.displayName||t.name||"Component",n=i(r),o=d({},x,{getDisplayName:i,methodName:a,renderCountProp:s,shouldHandleStateChanges:f,storeKey:b,displayName:n,wrappedComponentName:r,WrappedComponent:t}),c=x.pure;var p=c?l.useMemo:function(e){return e()};function g(r){var n=Object(l.useMemo)((function(){var e=r.forwardedRef,t=A(r,["forwardedRef"]);return[r.context,e,t]}),[r]),i=n[0],a=n[1],c=n[2],s=Object(l.useMemo)((function(){return i&&i.Consumer&&Object(R.isContextConsumer)(u.a.createElement(i.Consumer,null))?i:I}),[i,I]),g=Object(l.useContext)(s),b=Boolean(r.store)&&Boolean(r.store.getState)&&Boolean(r.store.dispatch);Boolean(g)&&Boolean(g.store);var v=b?r.store:g.store,m=Object(l.useMemo)((function(){return function(t){return e(t.dispatch,o)}(v)}),[v]),h=Object(l.useMemo)((function(){if(!f)return L;var e=new P(v,b?null:g.subscription),t=e.notifyNestedSubs.bind(e);return[e,t]}),[v,b,g]),y=h[0],x=h[1],D=Object(l.useMemo)((function(){return b?g:d({},g,{subscription:y})}),[b,g,y]),w=Object(l.useReducer)(M,j,F),O=w[0][0],E=w[1];if(O&&O.error)throw O.error;var C=Object(l.useRef)(),S=Object(l.useRef)(c),N=Object(l.useRef)(),B=Object(l.useRef)(!1),T=p((function(){return N.current&&c===S.current?N.current:m(v.getState(),c)}),[v,O,c]);G(_,[S,C,B,c,T,N,x]),G(k,[f,v,y,m,S,C,B,N,x,E],[v,y,m]);var W=Object(l.useMemo)((function(){return u.a.createElement(t,d({},T,{ref:a}))}),[a,t,T]);return Object(l.useMemo)((function(){return f?u.a.createElement(s.Provider,{value:D},W):W}),[s,W,D])}var v=c?u.a.memo(g):g;if(v.WrappedComponent=t,v.displayName=n,m){var h=u.a.forwardRef((function(e,t){return u.a.createElement(v,d({},e,{forwardedRef:t}))}));return h.displayName=n,h.WrappedComponent=t,B()(h,t)}return B()(v,t)}}function U(e,t){return e===t?0!==e||0!==t||1/e==1/t:e!=e&&t!=t}function H(e,t){if(U(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var r=Object.keys(e),n=Object.keys(t);if(r.length!==n.length)return!1;for(var i=0;i<r.length;i++)if(!Object.prototype.hasOwnProperty.call(t,r[i])||!U(e[r[i]],t[r[i]]))return!1;return!0}function q(e){return function(t,r){var n=e(t,r);function i(){return n}return i.dependsOnOwnProps=!1,i}}function V(e){return null!==e.dependsOnOwnProps&&void 0!==e.dependsOnOwnProps?Boolean(e.dependsOnOwnProps):1!==e.length}function z(e,t){return function(t,r){r.displayName;var n=function(e,t){return n.dependsOnOwnProps?n.mapToProps(e,t):n.mapToProps(e)};return n.dependsOnOwnProps=!0,n.mapToProps=function(t,r){n.mapToProps=e,n.dependsOnOwnProps=V(e);var i=n(t,r);return"function"==typeof i&&(n.mapToProps=i,n.dependsOnOwnProps=V(i),i=n(t,r)),i},n}}var $=[function(e){return"function"==typeof e?z(e):void 0},function(e){return e?void 0:q((function(e){return{dispatch:e}}))},function(e){return e&&"object"==typeof e?q((function(t){return h(e,t)})):void 0}];var Y=[function(e){return"function"==typeof e?z(e):void 0},function(e){return e?void 0:q((function(){return{}}))}];function J(e,t,r){return d({},r,{},e,{},t)}var X=[function(e){return"function"==typeof e?function(e){return function(t,r){r.displayName;var n,i=r.pure,o=r.areMergedPropsEqual,a=!1;return function(t,r,c){var l=e(t,r,c);return a?i&&o(l,n)||(n=l):(a=!0,n=l),n}}}(e):void 0},function(e){return e?void 0:function(){return J}}];function K(e,t,r,n){return function(i,o){return r(e(i,o),t(n,o),o)}}function Q(e,t,r,n,i){var o,a,c,l,u,s=i.areStatesEqual,d=i.areOwnPropsEqual,p=i.areStatePropsEqual,f=!1;function g(i,f){var g,b,v=!d(f,a),m=!s(i,o);return o=i,a=f,v&&m?(c=e(o,a),t.dependsOnOwnProps&&(l=t(n,a)),u=r(c,l,a)):v?(e.dependsOnOwnProps&&(c=e(o,a)),t.dependsOnOwnProps&&(l=t(n,a)),u=r(c,l,a)):m?(g=e(o,a),b=!p(g,c),c=g,b&&(u=r(c,l,a)),u):u}return function(i,s){return f?g(i,s):(c=e(o=i,a=s),l=t(n,a),u=r(c,l,a),f=!0,u)}}function Z(e,t){var r=t.initMapStateToProps,n=t.initMapDispatchToProps,i=t.initMergeProps,o=A(t,["initMapStateToProps","initMapDispatchToProps","initMergeProps"]),a=r(e,o),c=n(e,o),l=i(e,o);return(o.pure?Q:K)(a,c,l,e,o)}function ee(e,t,r){for(var n=t.length-1;n>=0;n--){var i=t[n](e);if(i)return i}return function(t,n){throw new Error("Invalid value of type "+typeof e+" for "+r+" argument when connecting component "+n.wrappedComponentName+".")}}function te(e,t){return e===t}function re(e){var t=void 0===e?{}:e,r=t.connectHOC,n=void 0===r?W:r,i=t.mapStateToPropsFactories,o=void 0===i?Y:i,a=t.mapDispatchToPropsFactories,c=void 0===a?$:a,l=t.mergePropsFactories,u=void 0===l?X:l,s=t.selectorFactory,p=void 0===s?Z:s;return function(e,t,r,i){void 0===i&&(i={});var a=i,l=a.pure,s=void 0===l||l,f=a.areStatesEqual,g=void 0===f?te:f,b=a.areOwnPropsEqual,v=void 0===b?H:b,m=a.areStatePropsEqual,h=void 0===m?H:m,y=a.areMergedPropsEqual,x=void 0===y?H:y,I=A(a,["pure","areStatesEqual","areOwnPropsEqual","areStatePropsEqual","areMergedPropsEqual"]),D=ee(e,o,"mapStateToProps"),w=ee(t,c,"mapDispatchToProps"),O=ee(r,u,"mergeProps");return n(p,d({methodName:"connect",getDisplayName:function(e){return"Connect("+e+")"},shouldHandleStateChanges:Boolean(e),initMapStateToProps:D,initMapDispatchToProps:w,initMergeProps:O,pure:s,areStatesEqual:g,areOwnPropsEqual:v,areStatePropsEqual:h,areMergedPropsEqual:x},I))}}var ne=re();var ie,oe=r(6),ae=r.n(oe);function ce(e,t){var r=Object(l.useState)((function(){return{inputs:t,result:e()}}))[0],n=Object(l.useRef)(r),i=Boolean(t&&n.current.inputs&&function(e,t){if(e.length!==t.length)return!1;for(var r=0;r<e.length;r++)if(e[r]!==t[r])return!1;return!0}(t,n.current.inputs))?n.current:{inputs:t,result:e()};return Object(l.useEffect)((function(){n.current=i}),[i]),i.result}ie=oe.unstable_batchedUpdates,O=ie;var le=ce,ue=function(e,t){return ce((function(){return e}),t)};var se=function(e,t){if(!e)throw new Error("Invariant failed")},de=function(e){var t=e.top,r=e.right,n=e.bottom,i=e.left;return{top:t,right:r,bottom:n,left:i,width:r-i,height:n-t,x:i,y:t,center:{x:(r+i)/2,y:(n+t)/2}}},pe=function(e,t){return{top:e.top-t.top,left:e.left-t.left,bottom:e.bottom+t.bottom,right:e.right+t.right}},fe=function(e,t){return{top:e.top+t.top,left:e.left+t.left,bottom:e.bottom-t.bottom,right:e.right-t.right}},ge={top:0,right:0,bottom:0,left:0},be=function(e){var t=e.borderBox,r=e.margin,n=void 0===r?ge:r,i=e.border,o=void 0===i?ge:i,a=e.padding,c=void 0===a?ge:a,l=de(pe(t,n)),u=de(fe(t,o)),s=de(fe(u,c));return{marginBox:l,borderBox:de(t),paddingBox:u,contentBox:s,margin:n,border:o,padding:c}},ve=function(e){var t=e.slice(0,-2);if("px"!==e.slice(-2))return 0;var r=Number(t);return isNaN(r)&&se(!1),r},me=function(e,t){var r,n,i=e.borderBox,o=e.border,a=e.margin,c=e.padding,l=(n=t,{top:(r=i).top+n.y,left:r.left+n.x,bottom:r.bottom+n.y,right:r.right+n.x});return be({borderBox:l,border:o,margin:a,padding:c})},he=function(e,t){return void 0===t&&(t={x:window.pageXOffset,y:window.pageYOffset}),me(e,t)},ye=function(e,t){var r={top:ve(t.marginTop),right:ve(t.marginRight),bottom:ve(t.marginBottom),left:ve(t.marginLeft)},n={top:ve(t.paddingTop),right:ve(t.paddingRight),bottom:ve(t.paddingBottom),left:ve(t.paddingLeft)},i={top:ve(t.borderTopWidth),right:ve(t.borderRightWidth),bottom:ve(t.borderBottomWidth),left:ve(t.borderLeftWidth)};return be({borderBox:e,margin:r,padding:n,border:i})},xe=function(e){var t=e.getBoundingClientRect(),r=window.getComputedStyle(e);return ye(t,r)};function Ie(e,t){if(e.length!==t.length)return!1;for(var r=0;r<e.length;r++)if(e[r]!==t[r])return!1;return!0}var De=function(e,t){var r;void 0===t&&(t=Ie);var n,i=[],o=!1;return function(){for(var a=[],c=0;c<arguments.length;c++)a[c]=arguments[c];return o&&r===this&&t(a,i)||(n=e.apply(this,a),o=!0,r=this,i=a),n}},we=function(e){var t=[],r=null,n=function(){for(var n=arguments.length,i=new Array(n),o=0;o<n;o++)i[o]=arguments[o];t=i,r||(r=requestAnimationFrame((function(){r=null,e.apply(void 0,t)})))};return n.cancel=function(){r&&(cancelAnimationFrame(r),r=null)},n};function Oe(e,t){}Oe.bind(null,"warn"),Oe.bind(null,"error");function Ee(){}function Ce(e,t,r){var n=t.map((function(t){var n,i,o=(n=r,i=t.options,d({},n,{},i));return e.addEventListener(t.eventName,t.fn,o),function(){e.removeEventListener(t.eventName,t.fn,o)}}));return function(){n.forEach((function(e){e()}))}}function Pe(e){this.message=e}function Se(e,t){if(!e)throw new Pe("Invariant failed")}Pe.prototype.toString=function(){return this.message};var Ae=function(e){function t(){for(var t,r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];return(t=e.call.apply(e,[this].concat(n))||this).callbacks=null,t.unbind=Ee,t.onWindowError=function(e){var r=t.getCallbacks();r.isDragging()&&r.tryAbort(),e.error instanceof Pe&&e.preventDefault()},t.getCallbacks=function(){if(!t.callbacks)throw new Error("Unable to find AppCallbacks in <ErrorBoundary/>");return t.callbacks},t.setCallbacks=function(e){t.callbacks=e},t}s(t,e);var r=t.prototype;return r.componentDidMount=function(){this.unbind=Ce(window,[{eventName:"error",fn:this.onWindowError}])},r.componentWillUnmount=function(){this.unbind()},r.componentDidCatch=function(e){if(!(e instanceof Pe))throw e;this.setState({})},r.render=function(){return this.props.children(this.setCallbacks)},t}(u.a.Component),Ne=function(e){return e+1},Be=function(e,t){var r=e.droppableId===t.droppableId,n=Ne(e.index),i=Ne(t.index);return r?"\n      You have moved the item from position "+n+"\n      to position "+i+"\n    ":"\n    You have moved the item from position "+n+"\n    in list "+e.droppableId+"\n    to list "+t.droppableId+"\n    in position "+i+"\n  "},Re=function(e,t,r){return t.droppableId===r.droppableId?"\n      The item "+e+"\n      has been combined with "+r.draggableId:"\n      The item "+e+"\n      in list "+t.droppableId+"\n      has been combined with "+r.draggableId+"\n      in list "+r.droppableId+"\n    "},Te=function(e){return"\n  The item has returned to its starting position\n  of "+Ne(e.index)+"\n"},je="\n  Press space bar to start a drag.\n  When dragging you can use the arrow keys to move the item around and escape to cancel.\n  Some screen readers may require you to be in focus mode or to use your pass through key\n",Le=function(e){return"\n  You have lifted an item in position "+Ne(e.source.index)+"\n"},Me=function(e){var t=e.destination;if(t)return Be(e.source,t);var r=e.combine;return r?Re(e.draggableId,e.source,r):"You are over an area that cannot be dropped on"},Ge=function(e){if("CANCEL"===e.reason)return"\n      Movement cancelled.\n      "+Te(e.source)+"\n    ";var t=e.destination,r=e.combine;return t?"\n      You have dropped the item.\n      "+Be(e.source,t)+"\n    ":r?"\n      You have dropped the item.\n      "+Re(e.draggableId,e.source,r)+"\n    ":"\n    The item has been dropped while not over a drop area.\n    "+Te(e.source)+"\n  "},_e={x:0,y:0},ke=function(e,t){return{x:e.x+t.x,y:e.y+t.y}},Fe=function(e,t){return{x:e.x-t.x,y:e.y-t.y}},We=function(e,t){return e.x===t.x&&e.y===t.y},Ue=function(e){return{x:0!==e.x?-e.x:0,y:0!==e.y?-e.y:0}},He=function(e,t,r){var n;return void 0===r&&(r=0),(n={})[e]=t,n["x"===e?"y":"x"]=r,n},qe=function(e,t){return Math.sqrt(Math.pow(t.x-e.x,2)+Math.pow(t.y-e.y,2))},Ve=function(e,t){return Math.min.apply(Math,t.map((function(t){return qe(e,t)})))},ze=function(e){return function(t){return{x:e(t.x),y:e(t.y)}}},$e=function(e,t){return{top:e.top+t.y,left:e.left+t.x,bottom:e.bottom+t.y,right:e.right+t.x}},Ye=function(e){return[{x:e.left,y:e.top},{x:e.right,y:e.top},{x:e.left,y:e.bottom},{x:e.right,y:e.bottom}]},Je=function(e,t){return t&&t.shouldClipSubject?function(e,t){var r=de({top:Math.max(t.top,e.top),right:Math.min(t.right,e.right),bottom:Math.min(t.bottom,e.bottom),left:Math.max(t.left,e.left)});return r.width<=0||r.height<=0?null:r}(t.pageMarginBox,e):de(e)},Xe=function(e){var t=e.page,r=e.withPlaceholder,n=e.axis,i=e.frame,o=function(e,t,r){var n;return r&&r.increasedBy?d({},e,((n={})[t.end]=e[t.end]+r.increasedBy[t.line],n)):e}(function(e,t){return t?$e(e,t.scroll.diff.displacement):e}(t.marginBox,i),n,r);return{page:t,withPlaceholder:r,active:Je(o,i)}},Ke=function(e,t){e.frame||Se(!1);var r=e.frame,n=Fe(t,r.scroll.initial),i=Ue(n),o=d({},r,{scroll:{initial:r.scroll.initial,current:t,diff:{value:n,displacement:i},max:r.scroll.max}});return d({},e,{frame:o,subject:Xe({page:e.subject.page,withPlaceholder:e.subject.withPlaceholder,axis:e.axis,frame:o})})};function Qe(e){return Object.values?Object.values(e):Object.keys(e).map((function(t){return e[t]}))}function Ze(e,t){if(e.findIndex)return e.findIndex(t);for(var r=0;r<e.length;r++)if(t(e[r]))return r;return-1}function et(e,t){if(e.find)return e.find(t);var r=Ze(e,t);return-1!==r?e[r]:void 0}function tt(e){return Array.prototype.slice.call(e)}var rt=De((function(e){return e.reduce((function(e,t){return e[t.descriptor.id]=t,e}),{})})),nt=De((function(e){return e.reduce((function(e,t){return e[t.descriptor.id]=t,e}),{})})),it=De((function(e){return Qe(e)})),ot=De((function(e){return Qe(e)})),at=De((function(e,t){return ot(t).filter((function(t){return e===t.descriptor.droppableId})).sort((function(e,t){return e.descriptor.index-t.descriptor.index}))}));function ct(e){return e.at&&"REORDER"===e.at.type?e.at.destination:null}function lt(e){return e.at&&"COMBINE"===e.at.type?e.at.combine:null}var ut=De((function(e,t){return t.filter((function(t){return t.descriptor.id!==e.descriptor.id}))})),st=function(e,t){return e.descriptor.droppableId===t.descriptor.id},dt={point:_e,value:0},pt={invisible:{},visible:{},all:[]},ft={displaced:pt,displacedBy:dt,at:null},gt=function(e,t){return function(r){return e<=r&&r<=t}},bt=function(e){var t=gt(e.top,e.bottom),r=gt(e.left,e.right);return function(n){if(t(n.top)&&t(n.bottom)&&r(n.left)&&r(n.right))return!0;var i=t(n.top)||t(n.bottom),o=r(n.left)||r(n.right);if(i&&o)return!0;var a=n.top<e.top&&n.bottom>e.bottom,c=n.left<e.left&&n.right>e.right;return!(!a||!c)||(a&&o||c&&i)}},vt=function(e){var t=gt(e.top,e.bottom),r=gt(e.left,e.right);return function(e){return t(e.top)&&t(e.bottom)&&r(e.left)&&r(e.right)}},mt={direction:"vertical",line:"y",crossAxisLine:"x",start:"top",end:"bottom",size:"height",crossAxisStart:"left",crossAxisEnd:"right",crossAxisSize:"width"},ht={direction:"horizontal",line:"x",crossAxisLine:"y",start:"left",end:"right",size:"width",crossAxisStart:"top",crossAxisEnd:"bottom",crossAxisSize:"height"},yt=function(e){var t=e.target,r=e.destination,n=e.viewport,i=e.withDroppableDisplacement,o=e.isVisibleThroughFrameFn,a=i?function(e,t){var r=t.frame?t.frame.scroll.diff.displacement:_e;return $e(e,r)}(t,r):t;return function(e,t,r){return!!t.subject.active&&r(t.subject.active)(e)}(a,r,o)&&function(e,t,r){return r(t)(e)}(a,n,o)},xt=function(e){return yt(d({},e,{isVisibleThroughFrameFn:bt}))},It=function(e){return yt(d({},e,{isVisibleThroughFrameFn:vt}))};function Dt(e){var t=e.afterDragging,r=e.destination,n=e.displacedBy,i=e.viewport,o=e.forceShouldAnimate,a=e.last;return t.reduce((function(e,t){var c=function(e,t){var r=e.page.marginBox,n={top:t.point.y,right:0,bottom:0,left:t.point.x};return de(pe(r,n))}(t,n),l=t.descriptor.id;if(e.all.push(l),!xt({target:c,destination:r,viewport:i,withDroppableDisplacement:!0}))return e.invisible[t.descriptor.id]=!0,e;var u={draggableId:l,shouldAnimate:function(e,t,r){if("boolean"==typeof r)return r;if(!t)return!0;var n=t.invisible,i=t.visible;if(n[e])return!1;var o=i[e];return!o||o.shouldAnimate}(l,a,o)};return e.visible[l]=u,e}),{all:[],visible:{},invisible:{}})}function wt(e){var t=e.insideDestination,r=e.inHomeList,n=e.displacedBy,i=e.destination,o=function(e,t){if(!e.length)return 0;var r=e[e.length-1].descriptor.index;return t.inHomeList?r:r+1}(t,{inHomeList:r});return{displaced:pt,displacedBy:n,at:{type:"REORDER",destination:{droppableId:i.descriptor.id,index:o}}}}function Ot(e){var t=e.draggable,r=e.insideDestination,n=e.destination,i=e.viewport,o=e.displacedBy,a=e.last,c=e.index,l=e.forceShouldAnimate,u=st(t,n);if(null==c)return wt({insideDestination:r,inHomeList:u,displacedBy:o,destination:n});var s=et(r,(function(e){return e.descriptor.index===c}));if(!s)return wt({insideDestination:r,inHomeList:u,displacedBy:o,destination:n});var d=ut(t,r),p=r.indexOf(s);return{displaced:Dt({afterDragging:d.slice(p),destination:n,displacedBy:o,last:a,viewport:i.frame,forceShouldAnimate:l}),displacedBy:o,at:{type:"REORDER",destination:{droppableId:n.descriptor.id,index:c}}}}function Et(e,t){return Boolean(t.effected[e])}var Ct=function(e){var t=e.isMovingForward,r=e.isInHomeList,n=e.draggable,i=e.draggables,o=e.destination,a=e.insideDestination,c=e.previousImpact,l=e.viewport,u=e.afterCritical,s=c.at;if(s||Se(!1),"REORDER"===s.type){var d=function(e){var t=e.isMovingForward,r=e.isInHomeList,n=e.insideDestination,i=e.location;if(!n.length)return null;var o=i.index,a=t?o+1:o-1,c=n[0].descriptor.index,l=n[n.length-1].descriptor.index;return a<c||a>(r?l:l+1)?null:a}({isMovingForward:t,isInHomeList:r,location:s.destination,insideDestination:a});return null==d?null:Ot({draggable:n,insideDestination:a,destination:o,viewport:l,last:c.displaced,displacedBy:c.displacedBy,index:d})}var p=function(e){var t=e.isMovingForward,r=e.destination,n=e.draggables,i=e.combine,o=e.afterCritical;if(!r.isCombineEnabled)return null;var a=i.draggableId,c=n[a].descriptor.index;return Et(a,o)?t?c:c-1:t?c+1:c}({isMovingForward:t,destination:o,displaced:c.displaced,draggables:i,combine:s.combine,afterCritical:u});return null==p?null:Ot({draggable:n,insideDestination:a,destination:o,viewport:l,last:c.displaced,displacedBy:c.displacedBy,index:p})},Pt=function(e){var t=e.afterCritical,r=e.impact,n=e.draggables,i=lt(r);i||Se(!1);var o=i.draggableId,a=n[o].page.borderBox.center,c=function(e){var t=e.displaced,r=e.afterCritical,n=e.combineWith,i=e.displacedBy,o=Boolean(t.visible[n]||t.invisible[n]);return Et(n,r)?o?_e:Ue(i.point):o?i.point:_e}({displaced:r.displaced,afterCritical:t,combineWith:o,displacedBy:r.displacedBy});return ke(a,c)},St=function(e,t){return t.margin[e.start]+t.borderBox[e.size]/2},At=function(e,t,r){return t[e.crossAxisStart]+r.margin[e.crossAxisStart]+r.borderBox[e.crossAxisSize]/2},Nt=function(e){var t=e.axis,r=e.moveRelativeTo,n=e.isMoving;return He(t.line,r.marginBox[t.end]+St(t,n),At(t,r.marginBox,n))},Bt=function(e){var t=e.axis,r=e.moveRelativeTo,n=e.isMoving;return He(t.line,r.marginBox[t.start]-function(e,t){return t.margin[e.end]+t.borderBox[e.size]/2}(t,n),At(t,r.marginBox,n))},Rt=function(e){var t=e.impact,r=e.draggable,n=e.draggables,i=e.droppable,o=e.afterCritical,a=at(i.descriptor.id,n),c=r.page,l=i.axis;if(!a.length)return function(e){var t=e.axis,r=e.moveInto,n=e.isMoving;return He(t.line,r.contentBox[t.start]+St(t,n),At(t,r.contentBox,n))}({axis:l,moveInto:i.page,isMoving:c});var u=t.displaced,s=t.displacedBy,d=u.all[0];if(d){var p=n[d];if(Et(d,o))return Bt({axis:l,moveRelativeTo:p.page,isMoving:c});var f=me(p.page,s.point);return Bt({axis:l,moveRelativeTo:f,isMoving:c})}var g=a[a.length-1];if(g.descriptor.id===r.descriptor.id)return c.borderBox.center;if(Et(g.descriptor.id,o)){var b=me(g.page,Ue(o.displacedBy.point));return Nt({axis:l,moveRelativeTo:b,isMoving:c})}return Nt({axis:l,moveRelativeTo:g.page,isMoving:c})},Tt=function(e,t){var r=e.frame;return r?ke(t,r.scroll.diff.displacement):t},jt=function(e){var t=function(e){var t=e.impact,r=e.draggable,n=e.droppable,i=e.draggables,o=e.afterCritical,a=r.page.borderBox.center,c=t.at;return n&&c?"REORDER"===c.type?Rt({impact:t,draggable:r,draggables:i,droppable:n,afterCritical:o}):Pt({impact:t,draggables:i,afterCritical:o}):a}(e),r=e.droppable;return r?Tt(r,t):t},Lt=function(e,t){var r=Fe(t,e.scroll.initial),n=Ue(r);return{frame:de({top:t.y,bottom:t.y+e.frame.height,left:t.x,right:t.x+e.frame.width}),scroll:{initial:e.scroll.initial,max:e.scroll.max,current:t,diff:{value:r,displacement:n}}}};function Mt(e,t){return e.map((function(e){return t[e]}))}var Gt=function(e){var t=e.pageBorderBoxCenter,r=e.draggable,n=function(e,t){return ke(e.scroll.diff.displacement,t)}(e.viewport,t),i=Fe(n,r.page.borderBox.center);return ke(r.client.borderBox.center,i)},_t=function(e){var t=e.draggable,r=e.destination,n=e.newPageBorderBoxCenter,i=e.viewport,o=e.withDroppableDisplacement,a=e.onlyOnMainAxis,c=void 0!==a&&a,l=Fe(n,t.page.borderBox.center),u={target:$e(t.page.borderBox,l),destination:r,withDroppableDisplacement:o,viewport:i};return c?function(e){return yt(d({},e,{isVisibleThroughFrameFn:(t=e.destination.axis,function(e){var r=gt(e.top,e.bottom),n=gt(e.left,e.right);return function(e){return t===mt?r(e.top)&&r(e.bottom):n(e.left)&&n(e.right)}})}));var t}(u):It(u)},kt=function(e){var t=e.isMovingForward,r=e.draggable,n=e.destination,i=e.draggables,o=e.previousImpact,a=e.viewport,c=e.previousPageBorderBoxCenter,l=e.previousClientSelection,u=e.afterCritical;if(!n.isEnabled)return null;var s=at(n.descriptor.id,i),p=st(r,n),f=function(e){var t=e.isMovingForward,r=e.draggable,n=e.destination,i=e.insideDestination,o=e.previousImpact;if(!n.isCombineEnabled)return null;if(!ct(o))return null;function a(e){var t={type:"COMBINE",combine:{draggableId:e,droppableId:n.descriptor.id}};return d({},o,{at:t})}var c=o.displaced.all,l=c.length?c[0]:null;if(t)return l?a(l):null;var u=ut(r,i);if(!l)return u.length?a(u[u.length-1].descriptor.id):null;var s=Ze(u,(function(e){return e.descriptor.id===l}));-1===s&&Se(!1);var p=s-1;return p<0?null:a(u[p].descriptor.id)}({isMovingForward:t,draggable:r,destination:n,insideDestination:s,previousImpact:o})||Ct({isMovingForward:t,isInHomeList:p,draggable:r,draggables:i,destination:n,insideDestination:s,previousImpact:o,viewport:a,afterCritical:u});if(!f)return null;var g=jt({impact:f,draggable:r,droppable:n,draggables:i,afterCritical:u});if(_t({draggable:r,destination:n,newPageBorderBoxCenter:g,viewport:a.frame,withDroppableDisplacement:!1,onlyOnMainAxis:!0}))return{clientSelection:Gt({pageBorderBoxCenter:g,draggable:r,viewport:a}),impact:f,scrollJumpRequest:null};var b=Fe(g,c);return{clientSelection:l,impact:function(e){var t=e.impact,r=e.viewport,n=e.destination,i=e.draggables,o=e.maxScrollChange,a=Lt(r,ke(r.scroll.current,o)),c=n.frame?Ke(n,ke(n.frame.scroll.current,o)):n,l=t.displaced,u=Dt({afterDragging:Mt(l.all,i),destination:n,displacedBy:t.displacedBy,viewport:a.frame,last:l,forceShouldAnimate:!1}),s=Dt({afterDragging:Mt(l.all,i),destination:c,displacedBy:t.displacedBy,viewport:r.frame,last:l,forceShouldAnimate:!1}),p={},f={},g=[l,u,s];return l.all.forEach((function(e){var t=function(e,t){for(var r=0;r<t.length;r++){var n=t[r].visible[e];if(n)return n}return null}(e,g);t?f[e]=t:p[e]=!0})),d({},t,{displaced:{all:l.all,invisible:p,visible:f}})}({impact:f,viewport:a,destination:n,draggables:i,maxScrollChange:b}),scrollJumpRequest:b}},Ft=function(e){var t=e.subject.active;return t||Se(!1),t},Wt=function(e,t){var r=e.page.borderBox.center;return Et(e.descriptor.id,t)?Fe(r,t.displacedBy.point):r},Ut=function(e,t){var r=e.page.borderBox;return Et(e.descriptor.id,t)?$e(r,Ue(t.displacedBy.point)):r},Ht=De((function(e,t){var r=t[e.line];return{value:r,point:He(e.line,r)}})),qt=function(e,t){return d({},e,{scroll:d({},e.scroll,{max:t})})},Vt=function(e,t,r){var n=e.frame;st(t,e)&&Se(!1),e.subject.withPlaceholder&&Se(!1);var i=Ht(e.axis,t.displaceBy).point,o=function(e,t,r){var n=e.axis;if("virtual"===e.descriptor.mode)return He(n.line,t[n.line]);var i=e.subject.page.contentBox[n.size],o=at(e.descriptor.id,r).reduce((function(e,t){return e+t.client.marginBox[n.size]}),0)+t[n.line]-i;return o<=0?null:He(n.line,o)}(e,i,r),a={placeholderSize:i,increasedBy:o,oldFrameMaxScroll:e.frame?e.frame.scroll.max:null};if(!n)return d({},e,{subject:Xe({page:e.subject.page,withPlaceholder:a,axis:e.axis,frame:e.frame})});var c=o?ke(n.scroll.max,o):n.scroll.max,l=qt(n,c);return d({},e,{subject:Xe({page:e.subject.page,withPlaceholder:a,axis:e.axis,frame:l}),frame:l})},zt=function(e){var t=e.isMovingForward,r=e.previousPageBorderBoxCenter,n=e.draggable,i=e.isOver,o=e.draggables,a=e.droppables,c=e.viewport,l=e.afterCritical,u=function(e){var t=e.isMovingForward,r=e.pageBorderBoxCenter,n=e.source,i=e.droppables,o=e.viewport,a=n.subject.active;if(!a)return null;var c=n.axis,l=gt(a[c.start],a[c.end]),u=it(i).filter((function(e){return e!==n})).filter((function(e){return e.isEnabled})).filter((function(e){return Boolean(e.subject.active)})).filter((function(e){return bt(o.frame)(Ft(e))})).filter((function(e){var r=Ft(e);return t?a[c.crossAxisEnd]<r[c.crossAxisEnd]:r[c.crossAxisStart]<a[c.crossAxisStart]})).filter((function(e){var t=Ft(e),r=gt(t[c.start],t[c.end]);return l(t[c.start])||l(t[c.end])||r(a[c.start])||r(a[c.end])})).sort((function(e,r){var n=Ft(e)[c.crossAxisStart],i=Ft(r)[c.crossAxisStart];return t?n-i:i-n})).filter((function(e,t,r){return Ft(e)[c.crossAxisStart]===Ft(r[0])[c.crossAxisStart]}));if(!u.length)return null;if(1===u.length)return u[0];var s=u.filter((function(e){return gt(Ft(e)[c.start],Ft(e)[c.end])(r[c.line])}));return 1===s.length?s[0]:s.length>1?s.sort((function(e,t){return Ft(e)[c.start]-Ft(t)[c.start]}))[0]:u.sort((function(e,t){var n=Ve(r,Ye(Ft(e))),i=Ve(r,Ye(Ft(t)));return n!==i?n-i:Ft(e)[c.start]-Ft(t)[c.start]}))[0]}({isMovingForward:t,pageBorderBoxCenter:r,source:i,droppables:a,viewport:c});if(!u)return null;var s=at(u.descriptor.id,o),d=function(e){var t=e.previousPageBorderBoxCenter,r=e.moveRelativeTo,n=e.insideDestination,i=e.draggable,o=e.draggables,a=e.destination,c=e.viewport,l=e.afterCritical;if(!r){if(n.length)return null;var u={displaced:pt,displacedBy:dt,at:{type:"REORDER",destination:{droppableId:a.descriptor.id,index:0}}},s=jt({impact:u,draggable:i,droppable:a,draggables:o,afterCritical:l}),d=st(i,a)?a:Vt(a,i,o);return _t({draggable:i,destination:d,newPageBorderBoxCenter:s,viewport:c.frame,withDroppableDisplacement:!1,onlyOnMainAxis:!0})?u:null}var p,f=Boolean(t[a.axis.line]<=r.page.borderBox.center[a.axis.line]),g=(p=r.descriptor.index,r.descriptor.id===i.descriptor.id||f?p:p+1),b=Ht(a.axis,i.displaceBy);return Ot({draggable:i,insideDestination:n,destination:a,viewport:c,displacedBy:b,last:pt,index:g})}({previousPageBorderBoxCenter:r,destination:u,draggable:n,draggables:o,moveRelativeTo:function(e){var t=e.pageBorderBoxCenter,r=e.viewport,n=e.destination,i=e.insideDestination,o=e.afterCritical;return i.filter((function(e){return It({target:Ut(e,o),destination:n,viewport:r.frame,withDroppableDisplacement:!0})})).sort((function(e,r){var i=qe(t,Tt(n,Wt(e,o))),a=qe(t,Tt(n,Wt(r,o)));return i<a?-1:a<i?1:e.descriptor.index-r.descriptor.index}))[0]||null}({pageBorderBoxCenter:r,viewport:c,destination:u,insideDestination:s,afterCritical:l}),insideDestination:s,viewport:c,afterCritical:l});if(!d)return null;var p=jt({impact:d,draggable:n,droppable:u,draggables:o,afterCritical:l});return{clientSelection:Gt({pageBorderBoxCenter:p,draggable:n,viewport:c}),impact:d,scrollJumpRequest:null}},$t=function(e){var t=e.at;return t?"REORDER"===t.type?t.destination.droppableId:t.combine.droppableId:null},Yt=function(e){var t=e.state,r=e.type,n=function(e,t){var r=$t(e);return r?t[r]:null}(t.impact,t.dimensions.droppables),i=Boolean(n),o=t.dimensions.droppables[t.critical.droppable.id],a=n||o,c=a.axis.direction,l="vertical"===c&&("MOVE_UP"===r||"MOVE_DOWN"===r)||"horizontal"===c&&("MOVE_LEFT"===r||"MOVE_RIGHT"===r);if(l&&!i)return null;var u="MOVE_DOWN"===r||"MOVE_RIGHT"===r,s=t.dimensions.draggables[t.critical.draggable.id],d=t.current.page.borderBoxCenter,p=t.dimensions,f=p.draggables,g=p.droppables;return l?kt({isMovingForward:u,previousPageBorderBoxCenter:d,draggable:s,destination:a,draggables:f,viewport:t.viewport,previousClientSelection:t.current.client.selection,previousImpact:t.impact,afterCritical:t.afterCritical}):zt({isMovingForward:u,previousPageBorderBoxCenter:d,draggable:s,isOver:a,draggables:f,droppables:g,viewport:t.viewport,afterCritical:t.afterCritical})};function Jt(e){return"DRAGGING"===e.phase||"COLLECTING"===e.phase}function Xt(e){var t=gt(e.top,e.bottom),r=gt(e.left,e.right);return function(e){return t(e.y)&&r(e.x)}}function Kt(e){var t=e.pageBorderBox,r=e.draggable,n=e.droppables,i=it(n).filter((function(e){if(!e.isEnabled)return!1;var r,n,i=e.subject.active;if(!i)return!1;if(n=i,!((r=t).left<n.right&&r.right>n.left&&r.top<n.bottom&&r.bottom>n.top))return!1;if(Xt(i)(t.center))return!0;var o=e.axis,a=i.center[o.crossAxisLine],c=t[o.crossAxisStart],l=t[o.crossAxisEnd],u=gt(i[o.crossAxisStart],i[o.crossAxisEnd]),s=u(c),d=u(l);return!s&&!d||(s?c<a:l>a)}));return i.length?1===i.length?i[0].descriptor.id:function(e){var t=e.pageBorderBox,r=e.draggable,n=e.candidates,i=r.page.borderBox.center,o=n.map((function(e){var r=e.axis,n=He(e.axis.line,t.center[r.line],e.page.borderBox.center[r.crossAxisLine]);return{id:e.descriptor.id,distance:qe(i,n)}})).sort((function(e,t){return t.distance-e.distance}));return o[0]?o[0].id:null}({pageBorderBox:t,draggable:r,candidates:i}):null}var Qt=function(e,t){return de($e(e,t))};function Zt(e){var t=e.displaced,r=e.id;return Boolean(t.visible[r]||t.invisible[r])}var er=function(e){var t=e.pageOffset,r=e.draggable,n=e.draggables,i=e.droppables,o=e.previousImpact,a=e.viewport,c=e.afterCritical,l=Qt(r.page.borderBox,t),u=Kt({pageBorderBox:l,draggable:r,droppables:i});if(!u)return ft;var s,d,p=i[u],f=at(p.descriptor.id,n),g=(s=l,(d=p.frame)?Qt(s,d.scroll.diff.value):s);return function(e){var t=e.draggable,r=e.pageBorderBoxWithDroppableScroll,n=e.previousImpact,i=e.destination,o=e.insideDestination,a=e.afterCritical;if(!i.isCombineEnabled)return null;var c=i.axis,l=Ht(i.axis,t.displaceBy),u=l.value,s=r[c.start],d=r[c.end],p=et(ut(t,o),(function(e){var t=e.descriptor.id,r=e.page.borderBox,i=r[c.size]/4,o=Et(t,a),l=Zt({displaced:n.displaced,id:t});return o?l?d>r[c.start]+i&&d<r[c.end]-i:s>r[c.start]-u+i&&s<r[c.end]-u-i:l?d>r[c.start]+u+i&&d<r[c.end]+u-i:s>r[c.start]+i&&s<r[c.end]-i}));return p?{displacedBy:l,displaced:n.displaced,at:{type:"COMBINE",combine:{draggableId:p.descriptor.id,droppableId:i.descriptor.id}}}:null}({pageBorderBoxWithDroppableScroll:g,draggable:r,previousImpact:o,destination:p,insideDestination:f,afterCritical:c})||function(e){var t=e.pageBorderBoxWithDroppableScroll,r=e.draggable,n=e.destination,i=e.insideDestination,o=e.last,a=e.viewport,c=e.afterCritical,l=n.axis,u=Ht(n.axis,r.displaceBy),s=u.value,d=t[l.start],p=t[l.end],f=function(e){var t=e.draggable,r=e.closest,n=e.inHomeList;return r?n&&r.descriptor.index>t.descriptor.index?r.descriptor.index-1:r.descriptor.index:null}({draggable:r,closest:et(ut(r,i),(function(e){var t=e.descriptor.id,r=e.page.borderBox.center[l.line],n=Et(t,c),i=Zt({displaced:o,id:t});return n?i?p<=r:d<r-s:i?p<=r+s:d<r})),inHomeList:st(r,n)});return Ot({draggable:r,insideDestination:i,destination:n,viewport:a,last:o,displacedBy:u,index:f})}({pageBorderBoxWithDroppableScroll:g,draggable:r,destination:p,insideDestination:f,last:o.displaced,viewport:a,afterCritical:c})},tr=function(e,t){var r;return d({},e,((r={})[t.descriptor.id]=t,r))},rr=function(e){var t=e.previousImpact,r=e.impact,n=e.droppables,i=$t(t),o=$t(r);if(!i)return n;if(i===o)return n;var a=n[i];if(!a.subject.withPlaceholder)return n;var c=function(e){var t=e.subject.withPlaceholder;t||Se(!1);var r=e.frame;if(!r)return d({},e,{subject:Xe({page:e.subject.page,axis:e.axis,frame:null,withPlaceholder:null})});var n=t.oldFrameMaxScroll;n||Se(!1);var i=qt(r,n);return d({},e,{subject:Xe({page:e.subject.page,axis:e.axis,frame:i,withPlaceholder:null}),frame:i})}(a);return tr(n,c)},nr=function(e){var t=e.state,r=e.clientSelection,n=e.dimensions,i=e.viewport,o=e.impact,a=e.scrollJumpRequest,c=i||t.viewport,l=n||t.dimensions,u=r||t.current.client.selection,s=Fe(u,t.initial.client.selection),p={offset:s,selection:u,borderBoxCenter:ke(t.initial.client.borderBoxCenter,s)},f={selection:ke(p.selection,c.scroll.current),borderBoxCenter:ke(p.borderBoxCenter,c.scroll.current),offset:ke(p.offset,c.scroll.diff.value)},g={client:p,page:f};if("COLLECTING"===t.phase)return d({phase:"COLLECTING"},t,{dimensions:l,viewport:c,current:g});var b=l.draggables[t.critical.draggable.id],v=o||er({pageOffset:f.offset,draggable:b,draggables:l.draggables,droppables:l.droppables,previousImpact:t.impact,viewport:c,afterCritical:t.afterCritical}),m=function(e){var t=e.draggable,r=e.draggables,n=e.droppables,i=e.previousImpact,o=e.impact,a=rr({previousImpact:i,impact:o,droppables:n}),c=$t(o);if(!c)return a;var l=n[c];if(st(t,l))return a;if(l.subject.withPlaceholder)return a;var u=Vt(l,t,r);return tr(a,u)}({draggable:b,impact:v,previousImpact:t.impact,draggables:l.draggables,droppables:l.droppables});return d({},t,{current:g,dimensions:{draggables:l.draggables,droppables:m},impact:v,viewport:c,scrollJumpRequest:a||null,forceShouldAnimate:!a&&null})};var ir=function(e){var t=e.impact,r=e.viewport,n=e.draggables,i=e.destination,o=e.forceShouldAnimate,a=t.displaced;return d({},t,{displaced:Dt({afterDragging:function(e,t){return e.map((function(e){return t[e]}))}(a.all,n),destination:i,displacedBy:t.displacedBy,viewport:r.frame,forceShouldAnimate:o,last:a})})},or=function(e){var t=e.impact,r=e.draggable,n=e.droppable,i=e.draggables,o=e.viewport,a=e.afterCritical,c=jt({impact:t,draggable:r,draggables:i,droppable:n,afterCritical:a});return Gt({pageBorderBoxCenter:c,draggable:r,viewport:o})},ar=function(e){var t=e.state,r=e.dimensions,n=e.viewport;"SNAP"!==t.movementMode&&Se(!1);var i=t.impact,o=n||t.viewport,a=r||t.dimensions,c=a.draggables,l=a.droppables,u=c[t.critical.draggable.id],s=$t(i);s||Se(!1);var d=l[s],p=ir({impact:i,viewport:o,destination:d,draggables:c}),f=or({impact:p,draggable:u,droppable:d,draggables:c,viewport:o,afterCritical:t.afterCritical});return nr({impact:p,clientSelection:f,state:t,dimensions:a,viewport:o})},cr=function(e){var t=e.draggable,r=e.home,n=e.draggables,i=e.viewport,o=Ht(r.axis,t.displaceBy),a=at(r.descriptor.id,n),c=a.indexOf(t);-1===c&&Se(!1);var l,u=a.slice(c+1),s=u.reduce((function(e,t){return e[t.descriptor.id]=!0,e}),{}),d={inVirtualList:"virtual"===r.descriptor.mode,displacedBy:o,effected:s};return{impact:{displaced:Dt({afterDragging:u,destination:r,displacedBy:o,last:null,viewport:i.frame,forceShouldAnimate:!1}),displacedBy:o,at:{type:"REORDER",destination:(l=t.descriptor,{index:l.index,droppableId:l.droppableId})}},afterCritical:d}},lr=function(e){0},ur=function(e){0},sr=function(e){var t=e.additions,r=e.updatedDroppables,n=e.viewport,i=n.scroll.diff.value;return t.map((function(e){var t=e.descriptor.droppableId,o=function(e){var t=e.frame;return t||Se(!1),t}(r[t]).scroll.diff.value;return function(e){var t=e.draggable,r=e.offset,n=e.initialWindowScroll,i=me(t.client,r),o=he(i,n);return d({},t,{placeholder:d({},t.placeholder,{client:i}),client:i,page:o})}({draggable:e,offset:ke(i,o),initialWindowScroll:n.scroll.initial})}))},dr=function(e){return"SNAP"===e.movementMode},pr=function(e,t,r){var n=function(e,t){return{draggables:e.draggables,droppables:tr(e.droppables,t)}}(e.dimensions,t);return!dr(e)||r?nr({state:e,dimensions:n}):ar({state:e,dimensions:n})};function fr(e){return e.isDragging&&"SNAP"===e.movementMode?d({phase:"DRAGGING"},e,{scrollJumpRequest:null}):e}var gr={phase:"IDLE",completed:null,shouldFlush:!1},br=function(e,t){if(void 0===e&&(e=gr),"FLUSH"===t.type)return d({},gr,{shouldFlush:!0});if("INITIAL_PUBLISH"===t.type){"IDLE"!==e.phase&&Se(!1);var r=t.payload,n=r.critical,i=r.clientSelection,o=r.viewport,a=r.dimensions,c=r.movementMode,l=a.draggables[n.draggable.id],u=a.droppables[n.droppable.id],s={selection:i,borderBoxCenter:l.client.borderBox.center,offset:_e},p={client:s,page:{selection:ke(s.selection,o.scroll.initial),borderBoxCenter:ke(s.selection,o.scroll.initial),offset:ke(s.selection,o.scroll.diff.value)}},f=it(a.droppables).every((function(e){return!e.isFixedOnPage})),g=cr({draggable:l,home:u,draggables:a.draggables,viewport:o}),b=g.impact;return{phase:"DRAGGING",isDragging:!0,critical:n,movementMode:c,dimensions:a,initial:p,current:p,isWindowScrollAllowed:f,impact:b,afterCritical:g.afterCritical,onLiftImpact:b,viewport:o,scrollJumpRequest:null,forceShouldAnimate:null}}if("COLLECTION_STARTING"===t.type)return"COLLECTING"===e.phase||"DROP_PENDING"===e.phase?e:("DRAGGING"!==e.phase&&Se(!1),d({phase:"COLLECTING"},e,{phase:"COLLECTING"}));if("PUBLISH_WHILE_DRAGGING"===t.type)return"COLLECTING"!==e.phase&&"DROP_PENDING"!==e.phase&&Se(!1),function(e){var t=e.state,r=e.published;lr();var n=r.modified.map((function(e){var r=t.dimensions.droppables[e.droppableId];return Ke(r,e.scroll)})),i=d({},t.dimensions.droppables,{},rt(n)),o=nt(sr({additions:r.additions,updatedDroppables:i,viewport:t.viewport})),a=d({},t.dimensions.draggables,{},o);r.removals.forEach((function(e){delete a[e]}));var c={droppables:i,draggables:a},l=$t(t.impact),u=l?c.droppables[l]:null,s=c.draggables[t.critical.draggable.id],p=c.droppables[t.critical.droppable.id],f=cr({draggable:s,home:p,draggables:a,viewport:t.viewport}),g=f.impact,b=f.afterCritical,v=u&&u.isCombineEnabled?t.impact:g,m=er({pageOffset:t.current.page.offset,draggable:c.draggables[t.critical.draggable.id],draggables:c.draggables,droppables:c.droppables,previousImpact:v,viewport:t.viewport,afterCritical:b});ur();var h=d({phase:"DRAGGING"},t,{phase:"DRAGGING",impact:m,onLiftImpact:g,dimensions:c,afterCritical:b,forceShouldAnimate:!1});return"COLLECTING"===t.phase?h:d({phase:"DROP_PENDING"},h,{phase:"DROP_PENDING",reason:t.reason,isWaiting:!1})}({state:e,published:t.payload});if("MOVE"===t.type){if("DROP_PENDING"===e.phase)return e;Jt(e)||Se(!1);var v=t.payload.client;return We(v,e.current.client.selection)?e:nr({state:e,clientSelection:v,impact:dr(e)?e.impact:null})}if("UPDATE_DROPPABLE_SCROLL"===t.type){if("DROP_PENDING"===e.phase)return fr(e);if("COLLECTING"===e.phase)return fr(e);Jt(e)||Se(!1);var m=t.payload,h=m.id,y=m.newScroll,x=e.dimensions.droppables[h];if(!x)return e;var I=Ke(x,y);return pr(e,I,!1)}if("UPDATE_DROPPABLE_IS_ENABLED"===t.type){if("DROP_PENDING"===e.phase)return e;Jt(e)||Se(!1);var D=t.payload,w=D.id,O=D.isEnabled,E=e.dimensions.droppables[w];E||Se(!1),E.isEnabled===O&&Se(!1);var C=d({},E,{isEnabled:O});return pr(e,C,!0)}if("UPDATE_DROPPABLE_IS_COMBINE_ENABLED"===t.type){if("DROP_PENDING"===e.phase)return e;Jt(e)||Se(!1);var P=t.payload,S=P.id,A=P.isCombineEnabled,N=e.dimensions.droppables[S];N||Se(!1),N.isCombineEnabled===A&&Se(!1);var B=d({},N,{isCombineEnabled:A});return pr(e,B,!0)}if("MOVE_BY_WINDOW_SCROLL"===t.type){if("DROP_PENDING"===e.phase||"DROP_ANIMATING"===e.phase)return e;Jt(e)||Se(!1),e.isWindowScrollAllowed||Se(!1);var R=t.payload.newScroll;if(We(e.viewport.scroll.current,R))return fr(e);var T=Lt(e.viewport,R);return dr(e)?ar({state:e,viewport:T}):nr({state:e,viewport:T})}if("UPDATE_VIEWPORT_MAX_SCROLL"===t.type){if(!Jt(e))return e;var j=t.payload.maxScroll;if(We(j,e.viewport.scroll.max))return e;var L=d({},e.viewport,{scroll:d({},e.viewport.scroll,{max:j})});return d({phase:"DRAGGING"},e,{viewport:L})}if("MOVE_UP"===t.type||"MOVE_DOWN"===t.type||"MOVE_LEFT"===t.type||"MOVE_RIGHT"===t.type){if("COLLECTING"===e.phase||"DROP_PENDING"===e.phase)return e;"DRAGGING"!==e.phase&&Se(!1);var M=Yt({state:e,type:t.type});return M?nr({state:e,impact:M.impact,clientSelection:M.clientSelection,scrollJumpRequest:M.scrollJumpRequest}):e}if("DROP_PENDING"===t.type){var G=t.payload.reason;return"COLLECTING"!==e.phase&&Se(!1),d({phase:"DROP_PENDING"},e,{phase:"DROP_PENDING",isWaiting:!0,reason:G})}if("DROP_ANIMATE"===t.type){var _=t.payload,k=_.completed,F=_.dropDuration,W=_.newHomeClientOffset;return"DRAGGING"!==e.phase&&"DROP_PENDING"!==e.phase&&Se(!1),{phase:"DROP_ANIMATING",completed:k,dropDuration:F,newHomeClientOffset:W,dimensions:e.dimensions}}return"DROP_COMPLETE"===t.type?{phase:"IDLE",completed:t.payload.completed,shouldFlush:!1}:e},vr=function(e){return{type:"PUBLISH_WHILE_DRAGGING",payload:e}},mr=function(){return{type:"COLLECTION_STARTING",payload:null}},hr=function(e){return{type:"UPDATE_DROPPABLE_SCROLL",payload:e}},yr=function(e){return{type:"UPDATE_DROPPABLE_IS_ENABLED",payload:e}},xr=function(e){return{type:"UPDATE_DROPPABLE_IS_COMBINE_ENABLED",payload:e}},Ir=function(e){return{type:"MOVE",payload:e}},Dr=function(){return{type:"MOVE_UP",payload:null}},wr=function(){return{type:"MOVE_DOWN",payload:null}},Or=function(){return{type:"MOVE_RIGHT",payload:null}},Er=function(){return{type:"MOVE_LEFT",payload:null}},Cr=function(e){return{type:"DROP_COMPLETE",payload:e}},Pr=function(e){return{type:"DROP",payload:e}},Sr=function(){return{type:"DROP_ANIMATION_FINISHED",payload:null}};var Ar="cubic-bezier(.2,1,.1,1)",Nr={drop:0,combining:.7},Br={drop:.75},Rr=.2+"s "+"cubic-bezier(0.2, 0, 0, 1)",Tr={fluid:"opacity "+Rr,snap:"transform "+Rr+", opacity "+Rr,drop:function(e){var t=e+"s "+Ar;return"transform "+t+", opacity "+t},outOfTheWay:"transform "+Rr,placeholder:"height "+Rr+", width "+Rr+", margin "+Rr},jr=function(e){return We(e,_e)?null:"translate("+e.x+"px, "+e.y+"px)"},Lr=jr,Mr=function(e,t){var r=jr(e);return r?t?r+" scale("+Br.drop+")":r:null},Gr=.33,_r=.55,kr=_r-Gr,Fr=function(e){var t=e.getState,r=e.dispatch;return function(e){return function(n){if("DROP"===n.type){var i=t(),o=n.payload.reason;if("COLLECTING"!==i.phase){if("IDLE"!==i.phase){"DROP_PENDING"===i.phase&&i.isWaiting&&Se(!1),"DRAGGING"!==i.phase&&"DROP_PENDING"!==i.phase&&Se(!1);var a=i.critical,c=i.dimensions,l=c.draggables[i.critical.draggable.id],u=function(e){var t=e.draggables,r=e.reason,n=e.lastImpact,i=e.home,o=e.viewport,a=e.onLiftImpact;return n.at&&"DROP"===r?"REORDER"===n.at.type?{impact:n,didDropInsideDroppable:!0}:{impact:d({},n,{displaced:pt}),didDropInsideDroppable:!0}:{impact:ir({draggables:t,impact:a,destination:i,viewport:o,forceShouldAnimate:!0}),didDropInsideDroppable:!1}}({reason:o,lastImpact:i.impact,afterCritical:i.afterCritical,onLiftImpact:i.onLiftImpact,home:i.dimensions.droppables[i.critical.droppable.id],viewport:i.viewport,draggables:i.dimensions.draggables}),s=u.impact,p=u.didDropInsideDroppable,f=p?ct(s):null,g=p?lt(s):null,b={index:a.draggable.index,droppableId:a.droppable.id},v={draggableId:l.descriptor.id,type:l.descriptor.type,source:b,reason:o,mode:i.movementMode,destination:f,combine:g},m=function(e){var t=e.impact,r=e.draggable,n=e.dimensions,i=e.viewport,o=e.afterCritical,a=n.draggables,c=n.droppables,l=$t(t),u=l?c[l]:null,s=c[r.descriptor.droppableId],d=or({impact:t,draggable:r,draggables:a,afterCritical:o,droppable:u||s,viewport:i});return Fe(d,r.client.borderBox.center)}({impact:s,draggable:l,dimensions:c,viewport:i.viewport,afterCritical:i.afterCritical}),h={critical:i.critical,afterCritical:i.afterCritical,result:v,impact:s};if(!We(i.current.client.offset,m)||Boolean(v.combine)){var y=function(e){var t=e.current,r=e.destination,n=e.reason,i=qe(t,r);if(i<=0)return Gr;if(i>=1500)return _r;var o=Gr+kr*(i/1500);return Number(("CANCEL"===n?.6*o:o).toFixed(2))}({current:i.current.client.offset,destination:m,reason:o});r(function(e){return{type:"DROP_ANIMATE",payload:e}}({newHomeClientOffset:m,dropDuration:y,completed:h}))}else r(Cr({completed:h}))}}else r(function(e){return{type:"DROP_PENDING",payload:e}}({reason:o}))}else e(n)}}},Wr=function(){return{x:window.pageXOffset,y:window.pageYOffset}};function Ur(e){var t=e.onWindowScroll;var r,n=we((function(){t(Wr())})),i=(r=n,{eventName:"scroll",options:{passive:!0,capture:!1},fn:function(e){e.target!==window&&e.target!==window.document||r()}}),o=Ee;function a(){return o!==Ee}return{start:function(){a()&&Se(!1),o=Ce(window,[i])},stop:function(){a()||Se(!1),n.cancel(),o(),o=Ee},isActive:a}}var Hr=function(e){var t=Ur({onWindowScroll:function(t){e.dispatch({type:"MOVE_BY_WINDOW_SCROLL",payload:{newScroll:t}})}});return function(e){return function(r){t.isActive()||"INITIAL_PUBLISH"!==r.type||t.start(),t.isActive()&&function(e){return"DROP_COMPLETE"===e.type||"DROP_ANIMATE"===e.type||"FLUSH"===e.type}(r)&&t.stop(),e(r)}}},qr=function(){var e=[];return{add:function(t){var r=setTimeout((function(){return function(t){var r=Ze(e,(function(e){return e.timerId===t}));-1===r&&Se(!1),e.splice(r,1)[0].callback()}(r)})),n={timerId:r,callback:t};e.push(n)},flush:function(){if(e.length){var t=[].concat(e);e.length=0,t.forEach((function(e){clearTimeout(e.timerId),e.callback()}))}}}},Vr=function(e,t){lr(),t(),ur()},zr=function(e,t){return{draggableId:e.draggable.id,type:e.droppable.type,source:{droppableId:e.droppable.id,index:e.draggable.index},mode:t}},$r=function(e,t,r,n){if(e){var i=function(e){var t=!1,r=!1,n=setTimeout((function(){r=!0})),i=function(i){t||r||(t=!0,e(i),clearTimeout(n))};return i.wasCalled=function(){return t},i}(r);e(t,{announce:i}),i.wasCalled()||r(n(t))}else r(n(t))},Yr=function(e,t){var r=function(e,t){var r=qr(),n=null,i=function(r){n||Se(!1),n=null,Vr(0,(function(){return $r(e().onDragEnd,r,t,Ge)}))};return{beforeCapture:function(t,r){n&&Se(!1),Vr(0,(function(){var n=e().onBeforeCapture;n&&n({draggableId:t,mode:r})}))},beforeStart:function(t,r){n&&Se(!1),Vr(0,(function(){var n=e().onBeforeDragStart;n&&n(zr(t,r))}))},start:function(i,o){n&&Se(!1);var a=zr(i,o);n={mode:o,lastCritical:i,lastLocation:a.source,lastCombine:null},r.add((function(){Vr(0,(function(){return $r(e().onDragStart,a,t,Le)}))}))},update:function(i,o){var a=ct(o),c=lt(o);n||Se(!1);var l=!function(e,t){if(e===t)return!0;var r=e.draggable.id===t.draggable.id&&e.draggable.droppableId===t.draggable.droppableId&&e.draggable.type===t.draggable.type&&e.draggable.index===t.draggable.index,n=e.droppable.id===t.droppable.id&&e.droppable.type===t.droppable.type;return r&&n}(i,n.lastCritical);l&&(n.lastCritical=i);var u,s,p=(u=n.lastLocation,s=a,!(null==u&&null==s||null!=u&&null!=s&&u.droppableId===s.droppableId&&u.index===s.index));p&&(n.lastLocation=a);var f=!function(e,t){return null==e&&null==t||null!=e&&null!=t&&(e.draggableId===t.draggableId&&e.droppableId===t.droppableId)}(n.lastCombine,c);if(f&&(n.lastCombine=c),l||p||f){var g=d({},zr(i,n.mode),{combine:c,destination:a});r.add((function(){Vr(0,(function(){return $r(e().onDragUpdate,g,t,Me)}))}))}},flush:function(){n||Se(!1),r.flush()},drop:i,abort:function(){if(n){var e=d({},zr(n.lastCritical,n.mode),{combine:null,destination:null,reason:"CANCEL"});i(e)}}}}(e,t);return function(e){return function(t){return function(n){if("BEFORE_INITIAL_CAPTURE"!==n.type){if("INITIAL_PUBLISH"===n.type){var i=n.payload.critical;return r.beforeStart(i,n.payload.movementMode),t(n),void r.start(i,n.payload.movementMode)}if("DROP_COMPLETE"===n.type){var o=n.payload.completed.result;return r.flush(),t(n),void r.drop(o)}if(t(n),"FLUSH"!==n.type){var a=e.getState();"DRAGGING"===a.phase&&r.update(a.critical,a.impact)}else r.abort()}else r.beforeCapture(n.payload.draggableId,n.payload.movementMode)}}}},Jr=function(e){return function(t){return function(r){if("DROP_ANIMATION_FINISHED"===r.type){var n=e.getState();"DROP_ANIMATING"!==n.phase&&Se(!1),e.dispatch(Cr({completed:n.completed}))}else t(r)}}},Xr=function(e){var t=null,r=null;return function(n){return function(i){if("FLUSH"!==i.type&&"DROP_COMPLETE"!==i.type&&"DROP_ANIMATION_FINISHED"!==i.type||(r&&(cancelAnimationFrame(r),r=null),t&&(t(),t=null)),n(i),"DROP_ANIMATE"===i.type){var o={eventName:"scroll",options:{capture:!0,passive:!1,once:!0},fn:function(){"DROP_ANIMATING"===e.getState().phase&&e.dispatch({type:"DROP_ANIMATION_FINISHED",payload:null})}};r=requestAnimationFrame((function(){r=null,t=Ce(window,[o])}))}}}},Kr=function(e){return function(t){return function(r){if(t(r),"PUBLISH_WHILE_DRAGGING"===r.type){var n=e.getState();"DROP_PENDING"===n.phase&&(n.isWaiting||e.dispatch(Pr({reason:n.reason})))}}}},Qr=D,Zr=function(e){var t,r=e.dimensionMarshal,n=e.focusMarshal,i=e.styleMarshal,o=e.getResponders,a=e.announce,c=e.autoScroller;return v(br,Qr(function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return function(e){return function(){var r=e.apply(void 0,arguments),n=function(){throw new Error("Dispatching while constructing your middleware is not allowed. Other middleware would not be applied to this dispatch.")},i={getState:r.getState,dispatch:function(){return n.apply(void 0,arguments)}},o=t.map((function(e){return e(i)}));return I({},r,{dispatch:n=D.apply(void 0,o)(r.dispatch)})}}}((t=i,function(){return function(e){return function(r){"INITIAL_PUBLISH"===r.type&&t.dragging(),"DROP_ANIMATE"===r.type&&t.dropping(r.payload.completed.result.reason),"FLUSH"!==r.type&&"DROP_COMPLETE"!==r.type||t.resting(),e(r)}}}),function(e){return function(){return function(t){return function(r){"DROP_COMPLETE"!==r.type&&"FLUSH"!==r.type&&"DROP_ANIMATE"!==r.type||e.stopPublishing(),t(r)}}}}(r),function(e){return function(t){var r=t.getState,n=t.dispatch;return function(t){return function(i){if("LIFT"===i.type){var o=i.payload,a=o.id,c=o.clientSelection,l=o.movementMode,u=r();"DROP_ANIMATING"===u.phase&&n(Cr({completed:u.completed})),"IDLE"!==r().phase&&Se(!1),n({type:"FLUSH",payload:null}),n({type:"BEFORE_INITIAL_CAPTURE",payload:{draggableId:a,movementMode:l}});var s={draggableId:a,scrollOptions:{shouldPublishImmediately:"SNAP"===l}},d=e.startPublishing(s),p=d.critical,f=d.dimensions,g=d.viewport;n(function(e){return{type:"INITIAL_PUBLISH",payload:e}}({critical:p,dimensions:f,clientSelection:c,movementMode:l,viewport:g}))}else t(i)}}}}(r),Fr,Jr,Xr,Kr,function(e){return function(t){return function(r){return function(n){if(function(e){return"DROP_COMPLETE"===e.type||"DROP_ANIMATE"===e.type||"FLUSH"===e.type}(n))return e.stop(),void r(n);if("INITIAL_PUBLISH"===n.type){r(n);var i=t.getState();return"DRAGGING"!==i.phase&&Se(!1),void e.start(i)}r(n),e.scroll(t.getState())}}}}(c),Hr,function(e){var t=!1;return function(){return function(r){return function(n){if("INITIAL_PUBLISH"===n.type)return t=!0,e.tryRecordFocus(n.payload.critical.draggable.id),r(n),void e.tryRestoreFocusRecorded();if(r(n),t){if("FLUSH"===n.type)return t=!1,void e.tryRestoreFocusRecorded();if("DROP_COMPLETE"===n.type){t=!1;var i=n.payload.completed.result;i.combine&&e.tryShiftRecord(i.draggableId,i.combine.draggableId),e.tryRestoreFocusRecorded()}}}}}}(n),Yr(o,a))))};var en=function(e){var t=e.scrollHeight,r=e.scrollWidth,n=e.height,i=e.width,o=Fe({x:r,y:t},{x:i,y:n});return{x:Math.max(0,o.x),y:Math.max(0,o.y)}},tn=function(){var e=document.documentElement;return e||Se(!1),e},rn=function(){var e=tn();return en({scrollHeight:e.scrollHeight,scrollWidth:e.scrollWidth,width:e.clientWidth,height:e.clientHeight})},nn=function(e){var t=e.critical,r=e.scrollOptions,n=e.registry;lr();var i,o,a,c,l,u,s,d=(i=Wr(),o=rn(),a=i.y,c=i.x,l=tn(),u=l.clientWidth,s=l.clientHeight,{frame:de({top:a,left:c,right:c+u,bottom:a+s}),scroll:{initial:i,current:i,max:o,diff:{value:_e,displacement:_e}}}),p=d.scroll.current,f=t.droppable,g=n.droppable.getAllByType(f.type).map((function(e){return e.callbacks.getDimensionAndWatchScroll(p,r)})),b=n.draggable.getAllByType(t.draggable.type).map((function(e){return e.getDimension(p)})),v={draggables:nt(b),droppables:rt(g)};return ur(),{dimensions:v,critical:t,viewport:d}};function on(e,t,r){return r.descriptor.id!==t.id&&(r.descriptor.type===t.type&&"virtual"===e.droppable.getById(r.descriptor.droppableId).descriptor.mode)}var an,cn,ln=function(e,t){var r=null,n=function(e){var t=e.registry,r=e.callbacks,n={additions:{},removals:{},modified:{}},i=null,o=function(){i||(r.collectionStarting(),i=requestAnimationFrame((function(){i=null,lr();var e=n,o=e.additions,a=e.removals,c=e.modified,l=Object.keys(o).map((function(e){return t.draggable.getById(e).getDimension(_e)})).sort((function(e,t){return e.descriptor.index-t.descriptor.index})),u=Object.keys(c).map((function(e){return{droppableId:e,scroll:t.droppable.getById(e).callbacks.getScrollWhileDragging()}})),s={additions:l,removals:Object.keys(a),modified:u};n={additions:{},removals:{},modified:{}},ur(),r.publish(s)})))};return{add:function(e){var t=e.descriptor.id;n.additions[t]=e,n.modified[e.descriptor.droppableId]=!0,n.removals[t]&&delete n.removals[t],o()},remove:function(e){var t=e.descriptor;n.removals[t.id]=!0,n.modified[t.droppableId]=!0,n.additions[t.id]&&delete n.additions[t.id],o()},stop:function(){i&&(cancelAnimationFrame(i),i=null,n={additions:{},removals:{},modified:{}})}}}({callbacks:{publish:t.publishWhileDragging,collectionStarting:t.collectionStarting},registry:e}),i=function(t){r||Se(!1);var i=r.critical.draggable;"ADDITION"===t.type&&on(e,i,t.value)&&n.add(t.value),"REMOVAL"===t.type&&on(e,i,t.value)&&n.remove(t.value)};return{updateDroppableIsEnabled:function(n,i){e.droppable.exists(n)||Se(!1),r&&t.updateDroppableIsEnabled({id:n,isEnabled:i})},updateDroppableIsCombineEnabled:function(n,i){r&&(e.droppable.exists(n)||Se(!1),t.updateDroppableIsCombineEnabled({id:n,isCombineEnabled:i}))},scrollDroppable:function(t,n){r&&e.droppable.getById(t).callbacks.scroll(n)},updateDroppableScroll:function(n,i){r&&(e.droppable.exists(n)||Se(!1),t.updateDroppableScroll({id:n,newScroll:i}))},startPublishing:function(t){r&&Se(!1);var n=e.draggable.getById(t.draggableId),o=e.droppable.getById(n.descriptor.droppableId),a={draggable:n.descriptor,droppable:o.descriptor},c=e.subscribe(i);return r={critical:a,unsubscribe:c},nn({critical:a,registry:e,scrollOptions:t.scrollOptions})},stopPublishing:function(){if(r){n.stop();var t=r.critical.droppable;e.droppable.getAllByType(t.type).forEach((function(e){return e.callbacks.dragStopped()})),r.unsubscribe(),r=null}}}},un=function(e,t){return"IDLE"===e.phase||"DROP_ANIMATING"===e.phase&&(e.completed.result.draggableId!==t&&"DROP"===e.completed.result.reason)},sn=function(e){window.scrollBy(e.x,e.y)},dn=De((function(e){return it(e).filter((function(e){return!!e.isEnabled&&!!e.frame}))})),pn=function(e){var t=e.center,r=e.destination,n=e.droppables;if(r){var i=n[r];return i.frame?i:null}return function(e,t){return et(dn(t),(function(t){return t.frame||Se(!1),Xt(t.frame.pageMarginBox)(e)}))}(t,n)},fn=.25,gn=.05,bn=28,vn=function(e){return Math.pow(e,2)},mn={stopDampeningAt:1200,accelerateAt:360},hn=function(e){var t=e.startOfRange,r=e.endOfRange,n=e.current,i=r-t;return 0===i?0:(n-t)/i},yn=mn.accelerateAt,xn=mn.stopDampeningAt,In=function(e){var t=e.distanceToEdge,r=e.thresholds,n=e.dragStartTime,i=e.shouldUseTimeDampening,o=function(e,t){if(e>t.startScrollingFrom)return 0;if(e<=t.maxScrollValueAt)return bn;if(e===t.startScrollingFrom)return 1;var r=hn({startOfRange:t.maxScrollValueAt,endOfRange:t.startScrollingFrom,current:e}),n=bn*vn(1-r);return Math.ceil(n)}(t,r);return 0===o?0:i?Math.max(function(e,t){var r=t,n=xn,i=Date.now()-r;if(i>=xn)return e;if(i<yn)return 1;var o=hn({startOfRange:yn,endOfRange:n,current:i}),a=e*vn(o);return Math.ceil(a)}(o,n),1):o},Dn=function(e){var t=e.container,r=e.distanceToEdges,n=e.dragStartTime,i=e.axis,o=e.shouldUseTimeDampening,a=function(e,t){return{startScrollingFrom:e[t.size]*fn,maxScrollValueAt:e[t.size]*gn}}(t,i);return r[i.end]<r[i.start]?In({distanceToEdge:r[i.end],thresholds:a,dragStartTime:n,shouldUseTimeDampening:o}):-1*In({distanceToEdge:r[i.start],thresholds:a,dragStartTime:n,shouldUseTimeDampening:o})},wn=ze((function(e){return 0===e?0:e})),On=function(e){var t=e.dragStartTime,r=e.container,n=e.subject,i=e.center,o=e.shouldUseTimeDampening,a={top:i.y-r.top,right:r.right-i.x,bottom:r.bottom-i.y,left:i.x-r.left},c=Dn({container:r,distanceToEdges:a,dragStartTime:t,axis:mt,shouldUseTimeDampening:o}),l=Dn({container:r,distanceToEdges:a,dragStartTime:t,axis:ht,shouldUseTimeDampening:o}),u=wn({x:l,y:c});if(We(u,_e))return null;var s=function(e){var t=e.container,r=e.subject,n=e.proposedScroll,i=r.height>t.height,o=r.width>t.width;return o||i?o&&i?null:{x:o?0:n.x,y:i?0:n.y}:n}({container:r,subject:n,proposedScroll:u});return s?We(s,_e)?null:s:null},En=ze((function(e){return 0===e?0:e>0?1:-1})),Cn=(an=function(e,t){return e<0?e:e>t?e-t:0},function(e){var t=e.current,r=e.max,n=e.change,i=ke(t,n),o={x:an(i.x,r.x),y:an(i.y,r.y)};return We(o,_e)?null:o}),Pn=function(e){var t=e.max,r=e.current,n=e.change,i={x:Math.max(r.x,t.x),y:Math.max(r.y,t.y)},o=En(n),a=Cn({max:i,current:r,change:o});return!a||(0!==o.x&&0===a.x||0!==o.y&&0===a.y)},Sn=function(e,t){return Pn({current:e.scroll.current,max:e.scroll.max,change:t})},An=function(e,t){var r=e.frame;return!!r&&Pn({current:r.scroll.current,max:r.scroll.max,change:t})},Nn=function(e){var t=e.state,r=e.dragStartTime,n=e.shouldUseTimeDampening,i=e.scrollWindow,o=e.scrollDroppable,a=t.current.page.borderBoxCenter,c=t.dimensions.draggables[t.critical.draggable.id].page.marginBox;if(t.isWindowScrollAllowed){var l=function(e){var t=e.viewport,r=e.subject,n=e.center,i=e.dragStartTime,o=e.shouldUseTimeDampening,a=On({dragStartTime:i,container:t.frame,subject:r,center:n,shouldUseTimeDampening:o});return a&&Sn(t,a)?a:null}({dragStartTime:r,viewport:t.viewport,subject:c,center:a,shouldUseTimeDampening:n});if(l)return void i(l)}var u=pn({center:a,destination:$t(t.impact),droppables:t.dimensions.droppables});if(u){var s=function(e){var t=e.droppable,r=e.subject,n=e.center,i=e.dragStartTime,o=e.shouldUseTimeDampening,a=t.frame;if(!a)return null;var c=On({dragStartTime:i,container:a.pageMarginBox,subject:r,center:n,shouldUseTimeDampening:o});return c&&An(t,c)?c:null}({dragStartTime:r,droppable:u,subject:c,center:a,shouldUseTimeDampening:n});s&&o(u.descriptor.id,s)}},Bn=function(e){var t=e.move,r=e.scrollDroppable,n=e.scrollWindow,i=function(e,t){if(!An(e,t))return t;var n=function(e,t){var r=e.frame;return r&&An(e,t)?Cn({current:r.scroll.current,max:r.scroll.max,change:t}):null}(e,t);if(!n)return r(e.descriptor.id,t),null;var i=Fe(t,n);return r(e.descriptor.id,i),Fe(t,i)},o=function(e,t,r){if(!e)return r;if(!Sn(t,r))return r;var i=function(e,t){if(!Sn(e,t))return null;var r=e.scroll.max,n=e.scroll.current;return Cn({current:n,max:r,change:t})}(t,r);if(!i)return n(r),null;var o=Fe(r,i);return n(o),Fe(r,o)};return function(e){var r=e.scrollJumpRequest;if(r){var n=$t(e.impact);n||Se(!1);var a=i(e.dimensions.droppables[n],r);if(a){var c=e.viewport,l=o(e.isWindowScrollAllowed,c,a);l&&function(e,r){var n=ke(e.current.client.selection,r);t({client:n})}(e,l)}}}},Rn=function(e){var t=e.scrollDroppable,r=e.scrollWindow,n=e.move,i=function(e){var t=e.scrollWindow,r=e.scrollDroppable,n=we(t),i=we(r),o=null,a=function(e){o||Se(!1);var t=o,r=t.shouldUseTimeDampening,a=t.dragStartTime;Nn({state:e,scrollWindow:n,scrollDroppable:i,dragStartTime:a,shouldUseTimeDampening:r})};return{start:function(e){lr(),o&&Se(!1);var t=Date.now(),r=!1,n=function(){r=!0};Nn({state:e,dragStartTime:0,shouldUseTimeDampening:!1,scrollWindow:n,scrollDroppable:n}),o={dragStartTime:t,shouldUseTimeDampening:r},ur(),r&&a(e)},stop:function(){o&&(n.cancel(),i.cancel(),o=null)},scroll:a}}({scrollWindow:r,scrollDroppable:t}),o=Bn({move:n,scrollWindow:r,scrollDroppable:t});return{scroll:function(e){"DRAGGING"===e.phase&&("FLUID"!==e.movementMode?e.scrollJumpRequest&&o(e):i.scroll(e))},start:i.start,stop:i.stop}},Tn={base:cn="data-rbd-drag-handle",draggableId:cn+"-draggable-id",contextId:cn+"-context-id"},jn=function(){var e="data-rbd-draggable";return{base:e,contextId:e+"-context-id",id:e+"-id"}}(),Ln=function(){var e="data-rbd-droppable";return{base:e,contextId:e+"-context-id",id:e+"-id"}}(),Mn={contextId:"data-rbd-scroll-container-context-id"},Gn=function(e,t){return e.map((function(e){var r=e.styles[t];return r?e.selector+" { "+r+" }":""})).join(" ")},_n="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement?l.useLayoutEffect:l.useEffect,kn=function(){var e=document.querySelector("head");return e||Se(!1),e},Fn=function(e){var t=document.createElement("style");return e&&t.setAttribute("nonce",e),t.type="text/css",t};function Wn(e,t){var r=le((function(){return function(e){var t,r,n,i=(t=e,function(e){return"["+e+'="'+t+'"]'}),o=(r="\n      cursor: -webkit-grab;\n      cursor: grab;\n    ",{selector:i(Tn.contextId),styles:{always:"\n          -webkit-touch-callout: none;\n          -webkit-tap-highlight-color: rgba(0,0,0,0);\n          touch-action: manipulation;\n        ",resting:r,dragging:"pointer-events: none;",dropAnimating:r}}),a=[(n="\n      transition: "+Tr.outOfTheWay+";\n    ",{selector:i(jn.contextId),styles:{dragging:n,dropAnimating:n,userCancel:n}}),o,{selector:i(Ln.contextId),styles:{always:"overflow-anchor: none;"}},{selector:"body",styles:{dragging:"\n        cursor: grabbing;\n        cursor: -webkit-grabbing;\n        user-select: none;\n        -webkit-user-select: none;\n        -moz-user-select: none;\n        -ms-user-select: none;\n        overflow-anchor: none;\n      "}}];return{always:Gn(a,"always"),resting:Gn(a,"resting"),dragging:Gn(a,"dragging"),dropAnimating:Gn(a,"dropAnimating"),userCancel:Gn(a,"userCancel")}}(e)}),[e]),n=Object(l.useRef)(null),i=Object(l.useRef)(null),o=ue(De((function(e){var t=i.current;t||Se(!1),t.textContent=e})),[]),a=ue((function(e){var t=n.current;t||Se(!1),t.textContent=e}),[]);_n((function(){(n.current||i.current)&&Se(!1);var c=Fn(t),l=Fn(t);return n.current=c,i.current=l,c.setAttribute("data-rbd-always",e),l.setAttribute("data-rbd-dynamic",e),kn().appendChild(c),kn().appendChild(l),a(r.always),o(r.resting),function(){var e=function(e){var t=e.current;t||Se(!1),kn().removeChild(t),e.current=null};e(n),e(i)}}),[t,a,o,r.always,r.resting,e]);var c=ue((function(){return o(r.dragging)}),[o,r.dragging]),u=ue((function(e){o("DROP"!==e?r.userCancel:r.dropAnimating)}),[o,r.dropAnimating,r.userCancel]),s=ue((function(){i.current&&o(r.resting)}),[o,r.resting]);return le((function(){return{dragging:c,dropping:u,resting:s}}),[c,u,s])}var Un=function(e){return e&&e.ownerDocument?e.ownerDocument.defaultView:window};function Hn(e){return e instanceof Un(e).HTMLElement}function qn(e,t){var r="["+Tn.contextId+'="'+e+'"]',n=tt(document.querySelectorAll(r));if(!n.length)return null;var i=et(n,(function(e){return e.getAttribute(Tn.draggableId)===t}));return i&&Hn(i)?i:null}function Vn(){var e={draggables:{},droppables:{}},t=[];function r(e){t.length&&t.forEach((function(t){return t(e)}))}function n(t){return e.draggables[t]||null}function i(t){return e.droppables[t]||null}return{draggable:{register:function(t){e.draggables[t.descriptor.id]=t,r({type:"ADDITION",value:t})},update:function(t,r){var n=e.draggables[r.descriptor.id];n&&n.uniqueId===t.uniqueId&&(delete e.draggables[r.descriptor.id],e.draggables[t.descriptor.id]=t)},unregister:function(t){var i=t.descriptor.id,o=n(i);o&&t.uniqueId===o.uniqueId&&(delete e.draggables[i],r({type:"REMOVAL",value:t}))},getById:function(e){var t=n(e);return t||Se(!1),t},findById:n,exists:function(e){return Boolean(n(e))},getAllByType:function(t){return Qe(e.draggables).filter((function(e){return e.descriptor.type===t}))}},droppable:{register:function(t){e.droppables[t.descriptor.id]=t},unregister:function(t){var r=i(t.descriptor.id);r&&t.uniqueId===r.uniqueId&&delete e.droppables[t.descriptor.id]},getById:function(e){var t=i(e);return t||Se(!1),t},findById:i,exists:function(e){return Boolean(i(e))},getAllByType:function(t){return Qe(e.droppables).filter((function(e){return e.descriptor.type===t}))}},subscribe:function(e){return t.push(e),function(){var r=t.indexOf(e);-1!==r&&t.splice(r,1)}},clean:function(){e.draggables={},e.droppables={},t.length=0}}}var zn=u.a.createContext(null),$n=function(){var e=document.body;return e||Se(!1),e},Yn={position:"absolute",width:"1px",height:"1px",margin:"-1px",border:"0",padding:"0",overflow:"hidden",clip:"rect(0 0 0 0)","clip-path":"inset(100%)"};var Jn=0,Xn={separator:"::"};function Kn(e,t){return void 0===t&&(t=Xn),le((function(){return""+e+t.separator+Jn++}),[t.separator,e])}var Qn=u.a.createContext(null);function Zn(e){0}function ei(e,t){Zn()}function ti(){ei()}function ri(e){var t=Object(l.useRef)(e);return Object(l.useEffect)((function(){t.current=e})),t}var ni,ii=((ni={})[13]=!0,ni[9]=!0,ni),oi=function(e){ii[e.keyCode]&&e.preventDefault()},ai=function(){var e="visibilitychange";return"undefined"==typeof document?e:et([e,"ms"+e,"webkit"+e,"moz"+e,"o"+e],(function(e){return"on"+e in document}))||e}();var ci,li={type:"IDLE"};function ui(e){var t=e.cancel,r=e.completed,n=e.getPhase,i=e.setPhase;return[{eventName:"mousemove",fn:function(e){var t=e.button,r=e.clientX,o=e.clientY;if(0===t){var a={x:r,y:o},c=n();if("DRAGGING"===c.type)return e.preventDefault(),void c.actions.move(a);"PENDING"!==c.type&&Se(!1);var l=c.point;if(u=l,s=a,Math.abs(s.x-u.x)>=5||Math.abs(s.y-u.y)>=5){var u,s;e.preventDefault();var d=c.actions.fluidLift(a);i({type:"DRAGGING",actions:d})}}}},{eventName:"mouseup",fn:function(e){var i=n();"DRAGGING"===i.type?(e.preventDefault(),i.actions.drop({shouldBlockNextClick:!0}),r()):t()}},{eventName:"mousedown",fn:function(e){"DRAGGING"===n().type&&e.preventDefault(),t()}},{eventName:"keydown",fn:function(e){if("PENDING"!==n().type)return 27===e.keyCode?(e.preventDefault(),void t()):void oi(e);t()}},{eventName:"resize",fn:t},{eventName:"scroll",options:{passive:!0,capture:!1},fn:function(){"PENDING"===n().type&&t()}},{eventName:"webkitmouseforcedown",fn:function(e){var r=n();"IDLE"===r.type&&Se(!1),r.actions.shouldRespectForcePress()?t():e.preventDefault()}},{eventName:ai,fn:t}]}function si(){}var di=((ci={})[34]=!0,ci[33]=!0,ci[36]=!0,ci[35]=!0,ci);function pi(e,t){function r(){t(),e.cancel()}return[{eventName:"keydown",fn:function(n){return 27===n.keyCode?(n.preventDefault(),void r()):32===n.keyCode?(n.preventDefault(),t(),void e.drop()):40===n.keyCode?(n.preventDefault(),void e.moveDown()):38===n.keyCode?(n.preventDefault(),void e.moveUp()):39===n.keyCode?(n.preventDefault(),void e.moveRight()):37===n.keyCode?(n.preventDefault(),void e.moveLeft()):void(di[n.keyCode]?n.preventDefault():oi(n))}},{eventName:"mousedown",fn:r},{eventName:"mouseup",fn:r},{eventName:"click",fn:r},{eventName:"touchstart",fn:r},{eventName:"resize",fn:r},{eventName:"wheel",fn:r,options:{passive:!0}},{eventName:ai,fn:r}]}var fi={type:"IDLE"};var gi={input:!0,button:!0,textarea:!0,select:!0,option:!0,optgroup:!0,video:!0,audio:!0};function bi(e,t){var r=t.target;return!!Hn(r)&&function e(t,r){if(null==r)return!1;if(Boolean(gi[r.tagName.toLowerCase()]))return!0;var n=r.getAttribute("contenteditable");return"true"===n||""===n||r!==t&&e(t,r.parentElement)}(e,r)}var vi=function(e){return de(e.getBoundingClientRect()).center};var mi="undefined"==typeof document?"matches":et(["matches","msMatchesSelector","webkitMatchesSelector"],(function(e){return e in Element.prototype}))||"matches";function hi(e,t){return e.closest?e.closest(t):function e(t,r){return null==t?null:t[mi](r)?t:e(t.parentElement,r)}(e,t)}function yi(e,t){var r,n=t.target;if(!((r=n)instanceof Un(r).Element))return null;var i=hi(n,function(e){return"["+Tn.contextId+'="'+e+'"]'}(e));return i&&Hn(i)?i:null}function xi(e){e.preventDefault()}function Ii(e){var t=e.expected,r=e.phase,n=e.isLockActive;e.shouldWarn;return!!n()&&t===r}function Di(e){var t=e.lockAPI,r=e.store,n=e.registry,i=e.draggableId;if(t.isClaimed())return!1;var o=n.draggable.findById(i);return!!o&&(!!o.options.isEnabled&&!!un(r.getState(),i))}function wi(e){var t=e.lockAPI,r=e.contextId,n=e.store,i=e.registry,o=e.draggableId,a=e.forceSensorStop,c=e.sourceEvent;if(!Di({lockAPI:t,store:n,registry:i,draggableId:o}))return null;var l=i.draggable.getById(o),u=function(e,t){var r="["+jn.contextId+'="'+e+'"]',n=et(tt(document.querySelectorAll(r)),(function(e){return e.getAttribute(jn.id)===t}));return n&&Hn(n)?n:null}(r,l.descriptor.id);if(!u)return null;if(c&&!l.options.canDragInteractiveElements&&bi(u,c))return null;var s=t.claim(a||Ee),p="PRE_DRAG";function f(){return l.options.shouldRespectForcePress}function g(){return t.isActive(s)}var b=function(e,t){Ii({expected:e,phase:p,isLockActive:g,shouldWarn:!0})&&n.dispatch(t())}.bind(null,"DRAGGING");function v(e){function r(){t.release(),p="COMPLETED"}function i(t,i){if(void 0===i&&(i={shouldBlockNextClick:!1}),e.cleanup(),i.shouldBlockNextClick){var o=Ce(window,[{eventName:"click",fn:xi,options:{once:!0,passive:!1,capture:!0}}]);setTimeout(o)}r(),n.dispatch(Pr({reason:t}))}return"PRE_DRAG"!==p&&(r(),"PRE_DRAG"!==p&&Se(!1)),n.dispatch(function(e){return{type:"LIFT",payload:e}}(e.liftActionArgs)),p="DRAGGING",d({isActive:function(){return Ii({expected:"DRAGGING",phase:p,isLockActive:g,shouldWarn:!1})},shouldRespectForcePress:f,drop:function(e){return i("DROP",e)},cancel:function(e){return i("CANCEL",e)}},e.actions)}return{isActive:function(){return Ii({expected:"PRE_DRAG",phase:p,isLockActive:g,shouldWarn:!1})},shouldRespectForcePress:f,fluidLift:function(e){var t=we((function(e){b((function(){return Ir({client:e})}))}));return d({},v({liftActionArgs:{id:o,clientSelection:e,movementMode:"FLUID"},cleanup:function(){return t.cancel()},actions:{move:t}}),{move:t})},snapLift:function(){var e={moveUp:function(){return b(Dr)},moveRight:function(){return b(Or)},moveDown:function(){return b(wr)},moveLeft:function(){return b(Er)}};return v({liftActionArgs:{id:o,clientSelection:vi(u),movementMode:"SNAP"},cleanup:Ee,actions:e})},abort:function(){Ii({expected:"PRE_DRAG",phase:p,isLockActive:g,shouldWarn:!0})&&t.release()}}}var Oi=[function(e){var t=Object(l.useRef)(li),r=Object(l.useRef)(Ee),n=le((function(){return{eventName:"mousedown",fn:function(t){if(!t.defaultPrevented&&0===t.button&&!(t.ctrlKey||t.metaKey||t.shiftKey||t.altKey)){var n=e.findClosestDraggableId(t);if(n){var i=e.tryGetLock(n,a,{sourceEvent:t});if(i){t.preventDefault();var o={x:t.clientX,y:t.clientY};r.current(),s(i,o)}}}}}}),[e]),i=le((function(){return{eventName:"webkitmouseforcewillbegin",fn:function(t){if(!t.defaultPrevented){var r=e.findClosestDraggableId(t);if(r){var n=e.findOptionsForDraggable(r);n&&(n.shouldRespectForcePress||e.canGetLock(r)&&t.preventDefault())}}}}}),[e]),o=ue((function(){r.current=Ce(window,[i,n],{passive:!1,capture:!0})}),[i,n]),a=ue((function(){"IDLE"!==t.current.type&&(t.current=li,r.current(),o())}),[o]),c=ue((function(){var e=t.current;a(),"DRAGGING"===e.type&&e.actions.cancel({shouldBlockNextClick:!0}),"PENDING"===e.type&&e.actions.abort()}),[a]),u=ue((function(){var e=ui({cancel:c,completed:a,getPhase:function(){return t.current},setPhase:function(e){t.current=e}});r.current=Ce(window,e,{capture:!0,passive:!1})}),[c,a]),s=ue((function(e,r){"IDLE"!==t.current.type&&Se(!1),t.current={type:"PENDING",point:r,actions:e},u()}),[u]);_n((function(){return o(),function(){r.current()}}),[o])},function(e){var t=Object(l.useRef)(si),r=le((function(){return{eventName:"keydown",fn:function(r){if(!r.defaultPrevented&&32===r.keyCode){var i=e.findClosestDraggableId(r);if(i){var o=e.tryGetLock(i,l,{sourceEvent:r});if(o){r.preventDefault();var a=!0,c=o.snapLift();t.current(),t.current=Ce(window,pi(c,l),{capture:!0,passive:!1})}}}function l(){a||Se(!1),a=!1,t.current(),n()}}}}),[e]),n=ue((function(){t.current=Ce(window,[r],{passive:!1,capture:!0})}),[r]);_n((function(){return n(),function(){t.current()}}),[n])},function(e){var t=Object(l.useRef)(fi),r=Object(l.useRef)(Ee),n=ue((function(){return t.current}),[]),i=ue((function(e){t.current=e}),[]),o=le((function(){return{eventName:"touchstart",fn:function(t){if(!t.defaultPrevented){var n=e.findClosestDraggableId(t);if(n){var i=e.tryGetLock(n,c,{sourceEvent:t});if(i){var o=t.touches[0],a={x:o.clientX,y:o.clientY};r.current(),p(i,a)}}}}}}),[e]),a=ue((function(){r.current=Ce(window,[o],{capture:!0,passive:!1})}),[o]),c=ue((function(){var e=t.current;"IDLE"!==e.type&&("PENDING"===e.type&&clearTimeout(e.longPressTimerId),i(fi),r.current(),a())}),[a,i]),u=ue((function(){var e=t.current;c(),"DRAGGING"===e.type&&e.actions.cancel({shouldBlockNextClick:!0}),"PENDING"===e.type&&e.actions.abort()}),[c]),s=ue((function(){var e={capture:!0,passive:!1},t={cancel:u,completed:c,getPhase:n},i=Ce(window,function(e){var t=e.cancel,r=e.completed,n=e.getPhase;return[{eventName:"touchmove",options:{capture:!1},fn:function(e){var r=n();if("DRAGGING"===r.type){r.hasMoved=!0;var i=e.touches[0],o={x:i.clientX,y:i.clientY};e.preventDefault(),r.actions.move(o)}else t()}},{eventName:"touchend",fn:function(e){var i=n();"DRAGGING"===i.type?(e.preventDefault(),i.actions.drop({shouldBlockNextClick:!0}),r()):t()}},{eventName:"touchcancel",fn:function(e){"DRAGGING"===n().type?(e.preventDefault(),t()):t()}},{eventName:"touchforcechange",fn:function(e){var r=n();"IDLE"===r.type&&Se(!1);var i=e.touches[0];if(i&&i.force>=.15){var o=r.actions.shouldRespectForcePress();if("PENDING"!==r.type)return o?r.hasMoved?void e.preventDefault():void t():void e.preventDefault();o&&t()}}},{eventName:ai,fn:t}]}(t),e),o=Ce(window,function(e){var t=e.cancel,r=e.getPhase;return[{eventName:"orientationchange",fn:t},{eventName:"resize",fn:t},{eventName:"contextmenu",fn:function(e){e.preventDefault()}},{eventName:"keydown",fn:function(e){"DRAGGING"===r().type?(27===e.keyCode&&e.preventDefault(),t()):t()}},{eventName:ai,fn:t}]}(t),e);r.current=function(){i(),o()}}),[u,n,c]),d=ue((function(){var e=n();"PENDING"!==e.type&&Se(!1);var t=e.actions.fluidLift(e.point);i({type:"DRAGGING",actions:t,hasMoved:!1})}),[n,i]),p=ue((function(e,t){"IDLE"!==n().type&&Se(!1);var r=setTimeout(d,120);i({type:"PENDING",point:t,actions:e,longPressTimerId:r}),s()}),[s,n,i,d]);_n((function(){return a(),function(){r.current();var e=n();"PENDING"===e.type&&(clearTimeout(e.longPressTimerId),i(fi))}}),[n,a,i]),_n((function(){return Ce(window,[{eventName:"touchmove",fn:function(){},options:{capture:!1,passive:!1}}])}),[])}];function Ei(e){var t=e.contextId,r=e.store,n=e.registry,i=e.customSensors,o=e.enableDefaultSensors,a=[].concat(o?Oi:[],i||[]),c=Object(l.useState)((function(){return function(){var e=null;function t(){e||Se(!1),e=null}return{isClaimed:function(){return Boolean(e)},isActive:function(t){return t===e},claim:function(t){e&&Se(!1);var r={abandon:t};return e=r,r},release:t,tryAbandon:function(){e&&(e.abandon(),t())}}}()}))[0],u=ue((function(e,t){e.isDragging&&!t.isDragging&&c.tryAbandon()}),[c]);_n((function(){var e=r.getState();return r.subscribe((function(){var t=r.getState();u(e,t),e=t}))}),[c,r,u]),_n((function(){return c.tryAbandon}),[c.tryAbandon]);var s=ue((function(e){return Di({lockAPI:c,registry:n,store:r,draggableId:e})}),[c,n,r]),d=ue((function(e,i,o){return wi({lockAPI:c,registry:n,contextId:t,store:r,draggableId:e,forceSensorStop:i,sourceEvent:o&&o.sourceEvent?o.sourceEvent:null})}),[t,c,n,r]),p=ue((function(e){return function(e,t){var r=yi(e,t);return r?r.getAttribute(Tn.draggableId):null}(t,e)}),[t]),f=ue((function(e){var t=n.draggable.findById(e);return t?t.options:null}),[n.draggable]),g=ue((function(){c.isClaimed()&&(c.tryAbandon(),"IDLE"!==r.getState().phase&&r.dispatch({type:"FLUSH",payload:null}))}),[c,r]),b=ue(c.isClaimed,[c]),v=le((function(){return{canGetLock:s,tryGetLock:d,findClosestDraggableId:p,findOptionsForDraggable:f,tryReleaseLock:g,isLockClaimed:b}}),[s,d,p,f,g,b]);Zn();for(var m=0;m<a.length;m++)a[m](v)}function Ci(e){return e.current||Se(!1),e.current}function Pi(e){var t=e.contextId,r=e.setCallbacks,n=e.sensors,i=e.nonce,o=e.dragHandleUsageInstructions,a=Object(l.useRef)(null);ti();var c=ri(e),s=ue((function(){return function(e){return{onBeforeCapture:e.onBeforeCapture,onBeforeDragStart:e.onBeforeDragStart,onDragStart:e.onDragStart,onDragEnd:e.onDragEnd,onDragUpdate:e.onDragUpdate}}(c.current)}),[c]),p=function(e){var t=le((function(){return function(e){return"rbd-announcement-"+e}(e)}),[e]),r=Object(l.useRef)(null);return Object(l.useEffect)((function(){var e=document.createElement("div");return r.current=e,e.id=t,e.setAttribute("aria-live","assertive"),e.setAttribute("aria-atomic","true"),d(e.style,Yn),$n().appendChild(e),function(){setTimeout((function(){var t=$n();t.contains(e)&&t.removeChild(e),e===r.current&&(r.current=null)}))}}),[t]),ue((function(e){var t=r.current;t&&(t.textContent=e)}),[])}(t),f=function(e){var t=e.contextId,r=e.text,n=Kn("hidden-text",{separator:"-"}),i=le((function(){return"rbd-hidden-text-"+(e={contextId:t,uniqueId:n}).contextId+"-"+e.uniqueId;var e}),[n,t]);return Object(l.useEffect)((function(){var e=document.createElement("div");return e.id=i,e.textContent=r,e.style.display="none",$n().appendChild(e),function(){var t=$n();t.contains(e)&&t.removeChild(e)}}),[i,r]),i}({contextId:t,text:o}),g=Wn(t,i),b=ue((function(e){Ci(a).dispatch(e)}),[]),v=le((function(){return h({publishWhileDragging:vr,updateDroppableScroll:hr,updateDroppableIsEnabled:yr,updateDroppableIsCombineEnabled:xr,collectionStarting:mr},b)}),[b]),m=function(){var e=le(Vn,[]);return Object(l.useEffect)((function(){return function(){requestAnimationFrame(e.clean)}}),[e]),e}(),y=le((function(){return ln(m,v)}),[m,v]),x=le((function(){return Rn(d({scrollWindow:sn,scrollDroppable:y.scrollDroppable},h({move:Ir},b)))}),[y.scrollDroppable,b]),I=function(e){var t=Object(l.useRef)({}),r=Object(l.useRef)(null),n=Object(l.useRef)(null),i=Object(l.useRef)(!1),o=ue((function(e,r){var n={id:e,focus:r};return t.current[e]=n,function(){var r=t.current;r[e]!==n&&delete r[e]}}),[]),a=ue((function(t){var r=qn(e,t);r&&r!==document.activeElement&&r.focus()}),[e]),c=ue((function(e,t){r.current===e&&(r.current=t)}),[]),u=ue((function(){n.current||i.current&&(n.current=requestAnimationFrame((function(){n.current=null;var e=r.current;e&&a(e)})))}),[a]),s=ue((function(e){r.current=null;var t=document.activeElement;t&&t.getAttribute(Tn.draggableId)===e&&(r.current=e)}),[]);return _n((function(){return i.current=!0,function(){i.current=!1;var e=n.current;e&&cancelAnimationFrame(e)}}),[]),le((function(){return{register:o,tryRecordFocus:s,tryRestoreFocusRecorded:u,tryShiftRecord:c}}),[o,s,u,c])}(t),D=le((function(){return Zr({announce:p,autoScroller:x,dimensionMarshal:y,focusMarshal:I,getResponders:s,styleMarshal:g})}),[p,x,y,I,s,g]);a.current=D;var w=ue((function(){var e=Ci(a);"IDLE"!==e.getState().phase&&e.dispatch({type:"FLUSH",payload:null})}),[]),O=ue((function(){var e=Ci(a).getState();return e.isDragging||"DROP_ANIMATING"===e.phase}),[]);r(le((function(){return{isDragging:O,tryAbort:w}}),[O,w]));var E=ue((function(e){return un(Ci(a).getState(),e)}),[]),C=ue((function(){return Jt(Ci(a).getState())}),[]),P=le((function(){return{marshal:y,focus:I,contextId:t,canLift:E,isMovementAllowed:C,dragHandleUsageInstructionsId:f,registry:m}}),[t,y,f,I,E,C,m]);return Ei({contextId:t,store:D,registry:m,customSensors:n,enableDefaultSensors:!1!==e.enableDefaultSensors}),Object(l.useEffect)((function(){return w}),[w]),u.a.createElement(Qn.Provider,{value:P},u.a.createElement(S,{context:zn,store:D},e.children))}var Si=0;function Ai(e){var t=le((function(){return""+Si++}),[]),r=e.dragHandleUsageInstructions||je;return u.a.createElement(Ae,null,(function(n){return u.a.createElement(Pi,{nonce:e.nonce,contextId:t,setCallbacks:n,dragHandleUsageInstructions:r,enableDefaultSensors:e.enableDefaultSensors,sensors:e.sensors,onBeforeCapture:e.onBeforeCapture,onBeforeDragStart:e.onBeforeDragStart,onDragStart:e.onDragStart,onDragUpdate:e.onDragUpdate,onDragEnd:e.onDragEnd},e.children)}))}var Ni=function(e){return function(t){return e===t}},Bi=Ni("scroll"),Ri=Ni("auto"),Ti=(Ni("visible"),function(e,t){return t(e.overflowX)||t(e.overflowY)}),ji=function(e){var t=window.getComputedStyle(e),r={overflowX:t.overflowX,overflowY:t.overflowY};return Ti(r,Bi)||Ti(r,Ri)},Li=function e(t){return null==t||t===document.body||t===document.documentElement?null:ji(t)?t:e(t.parentElement)},Mi=function(e){return{x:e.scrollLeft,y:e.scrollTop}},Gi=function(e){return{closestScrollable:Li(e),isFixedOnPage:function e(t){return!!t&&("fixed"===window.getComputedStyle(t).position||e(t.parentElement))}(e)}},_i=function(e){var t=e.ref,r=e.descriptor,n=e.env,i=e.windowScroll,o=e.direction,a=e.isDropDisabled,c=e.isCombineEnabled,l=e.shouldClipSubject,u=n.closestScrollable,s=function(e,t){var r=xe(e);if(!t)return r;if(e!==t)return r;var n=r.paddingBox.top-t.scrollTop,i=r.paddingBox.left-t.scrollLeft,o=n+t.scrollHeight,a=i+t.scrollWidth,c=pe({top:n,right:a,bottom:o,left:i},r.border);return be({borderBox:c,margin:r.margin,border:r.border,padding:r.padding})}(t,u),d=he(s,i),p=function(){if(!u)return null;var e=xe(u),t={scrollHeight:u.scrollHeight,scrollWidth:u.scrollWidth};return{client:e,page:he(e,i),scroll:Mi(u),scrollSize:t,shouldClipSubject:l}}();return function(e){var t=e.descriptor,r=e.isEnabled,n=e.isCombineEnabled,i=e.isFixedOnPage,o=e.direction,a=e.client,c=e.page,l=e.closest,u=function(){if(!l)return null;var e=l.scrollSize,t=l.client,r=en({scrollHeight:e.scrollHeight,scrollWidth:e.scrollWidth,height:t.paddingBox.height,width:t.paddingBox.width});return{pageMarginBox:l.page.marginBox,frameClient:t,scrollSize:e,shouldClipSubject:l.shouldClipSubject,scroll:{initial:l.scroll,current:l.scroll,max:r,diff:{value:_e,displacement:_e}}}}(),s="vertical"===o?mt:ht;return{descriptor:t,isCombineEnabled:n,isFixedOnPage:i,axis:s,isEnabled:r,client:a,page:c,frame:u,subject:Xe({page:c,withPlaceholder:null,axis:s,frame:u})}}({descriptor:r,isEnabled:!a,isCombineEnabled:c,isFixedOnPage:n.isFixedOnPage,direction:o,client:s,page:d,closest:p})},ki={passive:!1},Fi={passive:!0},Wi=function(e){return e.shouldPublishImmediately?ki:Fi};function Ui(e){var t=Object(l.useContext)(e);return t||Se(!1),t}var Hi=function(e){return e&&e.env.closestScrollable||null};function qi(){}var Vi={width:0,height:0,margin:{top:0,right:0,bottom:0,left:0}},zi=function(e){var t=e.isAnimatingOpenOnMount,r=e.placeholder,n=e.animate,i=function(e){var t=e.isAnimatingOpenOnMount,r=e.placeholder,n=e.animate;return t||"close"===n?Vi:{height:r.client.borderBox.height,width:r.client.borderBox.width,margin:r.client.margin}}({isAnimatingOpenOnMount:t,placeholder:r,animate:n});return{display:r.display,boxSizing:"border-box",width:i.width,height:i.height,marginTop:i.margin.top,marginRight:i.margin.right,marginBottom:i.margin.bottom,marginLeft:i.margin.left,flexShrink:"0",flexGrow:"0",pointerEvents:"none",transition:"none"!==n?Tr.placeholder:null}};var $i=u.a.memo((function(e){var t=Object(l.useRef)(null),r=ue((function(){t.current&&(clearTimeout(t.current),t.current=null)}),[]),n=e.animate,i=e.onTransitionEnd,o=e.onClose,a=e.contextId,c=Object(l.useState)("open"===e.animate),s=c[0],d=c[1];Object(l.useEffect)((function(){return s?"open"!==n?(r(),d(!1),qi):t.current?qi:(t.current=setTimeout((function(){t.current=null,d(!1)})),r):qi}),[n,s,r]);var p=ue((function(e){"height"===e.propertyName&&(i(),"close"===n&&o())}),[n,o,i]),f=zi({isAnimatingOpenOnMount:s,animate:e.animate,placeholder:e.placeholder});return u.a.createElement(e.placeholder.tagName,{style:f,"data-rbd-placeholder-context-id":a,onTransitionEnd:p,ref:e.innerRef})})),Yi=u.a.createContext(null);var Ji=function(e){function t(){for(var t,r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];return(t=e.call.apply(e,[this].concat(n))||this).state={isVisible:Boolean(t.props.on),data:t.props.on,animate:t.props.shouldAnimate&&t.props.on?"open":"none"},t.onClose=function(){"close"===t.state.animate&&t.setState({isVisible:!1})},t}return s(t,e),t.getDerivedStateFromProps=function(e,t){return e.shouldAnimate?e.on?{isVisible:!0,data:e.on,animate:"open"}:t.isVisible?{isVisible:!0,data:t.data,animate:"close"}:{isVisible:!1,animate:"close",data:null}:{isVisible:Boolean(e.on),data:e.on,animate:"none"}},t.prototype.render=function(){if(!this.state.isVisible)return null;var e={onClose:this.onClose,data:this.state.data,animate:this.state.animate};return this.props.children(e)},t}(u.a.PureComponent),Xi=5e3,Ki=4500,Qi=function(e,t){return t?Tr.drop(t.duration):e?Tr.snap:Tr.fluid},Zi=function(e,t){return e?t?Nr.drop:Nr.combining:null};function eo(e){return"DRAGGING"===e.type?(n=(r=e).dimension.client,i=r.offset,o=r.combineWith,a=r.dropping,c=Boolean(o),l=function(e){return null!=e.forceShouldAnimate?e.forceShouldAnimate:"SNAP"===e.mode}(r),u=Boolean(a),s=u?Mr(i,c):Lr(i),{position:"fixed",top:n.marginBox.top,left:n.marginBox.left,boxSizing:"border-box",width:n.borderBox.width,height:n.borderBox.height,transition:Qi(l,a),transform:s,opacity:Zi(c,u),zIndex:u?Ki:Xi,pointerEvents:"none"}):{transform:Lr((t=e).offset),transition:t.shouldAnimateDisplacement?null:"none"};var t,r,n,i,o,a,c,l,u,s}function to(e){var t=Kn("draggable"),r=e.descriptor,n=e.registry,i=e.getDraggableRef,o=e.canDragInteractiveElements,a=e.shouldRespectForcePress,c=e.isEnabled,u=le((function(){return{canDragInteractiveElements:o,shouldRespectForcePress:a,isEnabled:c}}),[o,c,a]),s=ue((function(e){var t=i();return t||Se(!1),function(e,t,r){void 0===r&&(r=_e);var n=window.getComputedStyle(t),i=t.getBoundingClientRect(),o=ye(i,n),a=he(o,r);return{descriptor:e,placeholder:{client:o,tagName:t.tagName.toLowerCase(),display:n.display},displaceBy:{x:o.marginBox.width,y:o.marginBox.height},client:o,page:a}}(r,t,e)}),[r,i]),d=le((function(){return{uniqueId:t,descriptor:r,options:u,getDimension:s}}),[r,s,u,t]),p=Object(l.useRef)(d),f=Object(l.useRef)(!0);_n((function(){return n.draggable.register(p.current),function(){return n.draggable.unregister(p.current)}}),[n.draggable]),_n((function(){if(f.current)f.current=!1;else{var e=p.current;p.current=d,n.draggable.update(d,e)}}),[d,n.draggable])}function ro(e,t,r){ei()}function no(e){e.preventDefault()}var io=function(e,t){return e===t},oo=function(e){var t=e.combine,r=e.destination;return r?r.droppableId:t?t.droppableId:null};function ao(e){return{isDragging:!1,isDropAnimating:!1,isClone:!1,dropAnimation:null,mode:null,draggingOver:null,combineTargetFor:e,combineWith:null}}var co={mapped:{type:"SECONDARY",offset:_e,combineTargetFor:null,shouldAnimateDisplacement:!0,snapshot:ao(null)}};var lo=ne((function(){var e,t,r,n=(e=De((function(e,t){return{x:e,y:t}})),t=De((function(e,t,r,n,i){return{isDragging:!0,isClone:t,isDropAnimating:Boolean(i),dropAnimation:i,mode:e,draggingOver:r,combineWith:n,combineTargetFor:null}})),r=De((function(e,r,n,i,o,a,c){return{mapped:{type:"DRAGGING",dropping:null,draggingOver:o,combineWith:a,mode:r,offset:e,dimension:n,forceShouldAnimate:c,snapshot:t(r,i,o,a,null)}}})),function(n,i){if(n.isDragging){if(n.critical.draggable.id!==i.draggableId)return null;var o=n.current.client.offset,a=n.dimensions.draggables[i.draggableId],c=$t(n.impact),l=(s=n.impact).at&&"COMBINE"===s.at.type?s.at.combine.draggableId:null,u=n.forceShouldAnimate;return r(e(o.x,o.y),n.movementMode,a,i.isClone,c,l,u)}var s;if("DROP_ANIMATING"===n.phase){var d=n.completed;if(d.result.draggableId!==i.draggableId)return null;var p=i.isClone,f=n.dimensions.draggables[i.draggableId],g=d.result,b=g.mode,v=oo(g),m=function(e){return e.combine?e.combine.draggableId:null}(g),h={duration:n.dropDuration,curve:Ar,moveTo:n.newHomeClientOffset,opacity:m?Nr.drop:null,scale:m?Br.drop:null};return{mapped:{type:"DRAGGING",offset:n.newHomeClientOffset,dimension:f,dropping:h,draggingOver:v,combineWith:m,mode:b,forceShouldAnimate:null,snapshot:t(b,p,v,m,h)}}}return null}),i=function(){var e=De((function(e,t){return{x:e,y:t}})),t=De(ao),r=De((function(e,r,n){return void 0===r&&(r=null),{mapped:{type:"SECONDARY",offset:e,combineTargetFor:r,shouldAnimateDisplacement:n,snapshot:t(r)}}})),n=function(e){return e?r(_e,e,!0):null},i=function(t,i,o,a){var c=o.displaced.visible[t],l=Boolean(a.inVirtualList&&a.effected[t]),u=lt(o),s=u&&u.draggableId===t?i:null;if(!c){if(!l)return n(s);if(o.displaced.invisible[t])return null;var d=Ue(a.displacedBy.point),p=e(d.x,d.y);return r(p,s,!0)}if(l)return n(s);var f=o.displacedBy.point,g=e(f.x,f.y);return r(g,s,c.shouldAnimate)};return function(e,t){if(e.isDragging)return e.critical.draggable.id===t.draggableId?null:i(t.draggableId,e.critical.draggable.id,e.impact,e.afterCritical);if("DROP_ANIMATING"===e.phase){var r=e.completed;return r.result.draggableId===t.draggableId?null:i(t.draggableId,r.result.draggableId,r.impact,r.afterCritical)}return null}}();return function(e,t){return n(e,t)||i(e,t)||co}}),{dropAnimationFinished:Sr},null,{context:zn,pure:!0,areStatePropsEqual:io})((function(e){var t=Object(l.useRef)(null),r=ue((function(e){t.current=e}),[]),n=ue((function(){return t.current}),[]),i=Ui(Qn),o=i.contextId,a=i.dragHandleUsageInstructionsId,c=i.registry,u=Ui(Yi),s=u.type,d=u.droppableId,p=le((function(){return{id:e.draggableId,index:e.index,type:s,droppableId:d}}),[e.draggableId,e.index,s,d]),f=e.children,g=e.draggableId,b=e.isEnabled,v=e.shouldRespectForcePress,m=e.canDragInteractiveElements,h=e.isClone,y=e.mapped,x=e.dropAnimationFinished;ro(),Zn(),h||to(le((function(){return{descriptor:p,registry:c,getDraggableRef:n,canDragInteractiveElements:m,shouldRespectForcePress:v,isEnabled:b}}),[p,c,n,m,v,b]));var I=le((function(){return b?{tabIndex:0,role:"button","aria-describedby":a,"data-rbd-drag-handle-draggable-id":g,"data-rbd-drag-handle-context-id":o,draggable:!1,onDragStart:no}:null}),[o,a,g,b]),D=ue((function(e){"DRAGGING"===y.type&&y.dropping&&"transform"===e.propertyName&&x()}),[x,y]),w=le((function(){var e=eo(y),t="DRAGGING"===y.type&&y.dropping?D:null;return{innerRef:r,draggableProps:{"data-rbd-draggable-context-id":o,"data-rbd-draggable-id":g,style:e,onTransitionEnd:t},dragHandleProps:I}}),[o,I,g,y,D,r]),O=le((function(){return{draggableId:p.id,type:p.type,source:{index:p.index,droppableId:p.droppableId}}}),[p.droppableId,p.id,p.index,p.type]);return f(w,y.snapshot,O)}));function uo(e){return Ui(Yi).isUsingCloneFor!==e.draggableId||e.isClone?u.a.createElement(lo,e):null}function so(e){var t="boolean"!=typeof e.isDragDisabled||!e.isDragDisabled,r=Boolean(e.disableInteractiveElementBlocking),n=Boolean(e.shouldRespectForcePress);return u.a.createElement(uo,d({},e,{isClone:!1,isEnabled:t,canDragInteractiveElements:r,shouldRespectForcePress:n}))}var po=function(e,t){return e===t.droppable.type},fo=function(e,t){return t.draggables[e.draggable.id]};var go={mode:"standard",type:"DEFAULT",direction:"vertical",isDropDisabled:!1,isCombineEnabled:!1,ignoreContainerClipping:!1,renderClone:null,getContainerForClone:function(){return document.body||Se(!1),document.body}},bo=ne((function(){var e={placeholder:null,shouldAnimatePlaceholder:!0,snapshot:{isDraggingOver:!1,draggingOverWith:null,draggingFromThisWith:null,isUsingPlaceholder:!1},useClone:null},t=d({},e,{shouldAnimatePlaceholder:!1}),r=De((function(e){return{draggableId:e.id,type:e.type,source:{index:e.index,droppableId:e.droppableId}}})),n=De((function(n,i,o,a,c,l){var u=c.descriptor.id;if(c.descriptor.droppableId===n){var s=l?{render:l,dragging:r(c.descriptor)}:null,d={isDraggingOver:o,draggingOverWith:o?u:null,draggingFromThisWith:u,isUsingPlaceholder:!0};return{placeholder:c.placeholder,shouldAnimatePlaceholder:!1,snapshot:d,useClone:s}}if(!i)return t;if(!a)return e;var p={isDraggingOver:o,draggingOverWith:u,draggingFromThisWith:null,isUsingPlaceholder:!0};return{placeholder:c.placeholder,shouldAnimatePlaceholder:!0,snapshot:p,useClone:null}}));return function(r,i){var o=i.droppableId,a=i.type,c=!i.isDropDisabled,l=i.renderClone;if(r.isDragging){var u=r.critical;if(!po(a,u))return t;var s=fo(u,r.dimensions),d=$t(r.impact)===o;return n(o,c,d,d,s,l)}if("DROP_ANIMATING"===r.phase){var p=r.completed;if(!po(a,p.critical))return t;var f=fo(p.critical,r.dimensions);return n(o,c,oo(p.result)===o,$t(p.impact)===o,f,l)}if("IDLE"===r.phase&&r.completed&&!r.shouldFlush){var g=r.completed;if(!po(a,g.critical))return t;var b=$t(g.impact)===o,v=Boolean(g.impact.at&&"COMBINE"===g.impact.at.type),m=g.critical.droppable.id===o;return b?v?e:t:m?e:t}return t}}),{updateViewportMaxScroll:function(e){return{type:"UPDATE_VIEWPORT_MAX_SCROLL",payload:e}}},null,{context:zn,pure:!0,areStatePropsEqual:io})((function(e){var t=Object(l.useContext)(Qn);t||Se(!1);var r=t.contextId,n=t.isMovementAllowed,i=Object(l.useRef)(null),o=Object(l.useRef)(null),a=e.children,c=e.droppableId,s=e.type,d=e.mode,p=e.direction,f=e.ignoreContainerClipping,g=e.isDropDisabled,b=e.isCombineEnabled,v=e.snapshot,m=e.useClone,h=e.updateViewportMaxScroll,y=e.getContainerForClone,x=ue((function(){return i.current}),[]),I=ue((function(e){i.current=e}),[]),D=(ue((function(){return o.current}),[]),ue((function(e){o.current=e}),[]));ei();var w=ue((function(){n()&&h({maxScroll:rn()})}),[n,h]);!function(e){var t=Object(l.useRef)(null),r=Ui(Qn),n=Kn("droppable"),i=r.registry,o=r.marshal,a=ri(e),c=le((function(){return{id:e.droppableId,type:e.type,mode:e.mode}}),[e.droppableId,e.mode,e.type]),u=Object(l.useRef)(c),s=le((function(){return De((function(e,r){t.current||Se(!1);var n={x:e,y:r};o.updateDroppableScroll(c.id,n)}))}),[c.id,o]),d=ue((function(){var e=t.current;return e&&e.env.closestScrollable?Mi(e.env.closestScrollable):_e}),[]),p=ue((function(){var e=d();s(e.x,e.y)}),[d,s]),f=le((function(){return we(p)}),[p]),g=ue((function(){var e=t.current,r=Hi(e);e&&r||Se(!1),e.scrollOptions.shouldPublishImmediately?p():f()}),[f,p]),b=ue((function(e,n){t.current&&Se(!1);var i=a.current,o=i.getDroppableRef();o||Se(!1);var l=Gi(o),u={ref:o,descriptor:c,env:l,scrollOptions:n};t.current=u;var s=_i({ref:o,descriptor:c,env:l,windowScroll:e,direction:i.direction,isDropDisabled:i.isDropDisabled,isCombineEnabled:i.isCombineEnabled,shouldClipSubject:!i.ignoreContainerClipping}),d=l.closestScrollable;return d&&(d.setAttribute(Mn.contextId,r.contextId),d.addEventListener("scroll",g,Wi(u.scrollOptions))),s}),[r.contextId,c,g,a]),v=ue((function(){var e=t.current,r=Hi(e);return e&&r||Se(!1),Mi(r)}),[]),m=ue((function(){var e=t.current;e||Se(!1);var r=Hi(e);t.current=null,r&&(f.cancel(),r.removeAttribute(Mn.contextId),r.removeEventListener("scroll",g,Wi(e.scrollOptions)))}),[g,f]),h=ue((function(e){var r=t.current;r||Se(!1);var n=Hi(r);n||Se(!1),n.scrollTop+=e.y,n.scrollLeft+=e.x}),[]),y=le((function(){return{getDimensionAndWatchScroll:b,getScrollWhileDragging:v,dragStopped:m,scroll:h}}),[m,b,v,h]),x=le((function(){return{uniqueId:n,descriptor:c,callbacks:y}}),[y,c,n]);_n((function(){return u.current=x.descriptor,i.droppable.register(x),function(){t.current&&m(),i.droppable.unregister(x)}}),[y,c,m,x,o,i.droppable]),_n((function(){t.current&&o.updateDroppableIsEnabled(u.current.id,!e.isDropDisabled)}),[e.isDropDisabled,o]),_n((function(){t.current&&o.updateDroppableIsCombineEnabled(u.current.id,e.isCombineEnabled)}),[e.isCombineEnabled,o])}({droppableId:c,type:s,mode:d,direction:p,isDropDisabled:g,isCombineEnabled:b,ignoreContainerClipping:f,getDroppableRef:x});var O=u.a.createElement(Ji,{on:e.placeholder,shouldAnimate:e.shouldAnimatePlaceholder},(function(e){var t=e.onClose,n=e.data,i=e.animate;return u.a.createElement($i,{placeholder:n,onClose:t,innerRef:D,animate:i,contextId:r,onTransitionEnd:w})})),E=le((function(){return{innerRef:I,placeholder:O,droppableProps:{"data-rbd-droppable-id":c,"data-rbd-droppable-context-id":r}}}),[r,c,O,I]),C=m?m.dragging.draggableId:null,P=le((function(){return{droppableId:c,type:s,isUsingCloneFor:C}}),[c,C,s]);return u.a.createElement(Yi.Provider,{value:P},a(E,v),function(){if(!m)return null;var e=m.dragging,t=m.render,r=u.a.createElement(uo,{draggableId:e.draggableId,index:e.source.index,isClone:!0,isEnabled:!0,shouldRespectForcePress:!1,canDragInteractiveElements:!0},(function(r,n){return t(r,n,e)}));return ae.a.createPortal(r,y())}())}));bo.defaultProps=go;var vo=r(5),mo=r(17),ho=r(12),yo=r(4),xo=r(9),Io=r(2),Do=r(18);r(29);function wo(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}var Oo=Object(Io.dispatch)("core/block-editor"),Eo=Oo.clearSelectedBlock,Co=Oo.duplicateBlocks,Po=Oo.moveBlockToPosition,So=Oo.removeBlock,Ao=Oo.selectBlock,No=Object(Io.select)("core/block-editor").getBlockRootClientId,Bo=function(e,t){var r;return function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?wo(Object(r),!0).forEach((function(t){a()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):wo(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}((r={userSelect:"none",padding:6,margin:"0 0 ".concat(6,"px 0"),borderRadius:2,border:e?"1px solid #007cba":"1px solid rgba(30,30,30, .3)",background:e?"#007cba":"#fff"},a()(r,"background","#fff"),a()(r,"color",e?"#007cba":""),r),t)},Ro=Object(Do.compose)([Object(Io.withSelect)((function(e,t){return{rootBlocks:(0,e("core/block-editor").getBlocks)()}}))])((function(e){var t=e.rootBlocks.map((function(e){return e.id="".concat(e.clientId),e}));return Object(c.createElement)(mo.PluginDocumentSettingPanel,{name:"custom-panel",title:Object(vo.__)("Drag & Drop","movable"),text:"text",className:"custom-panel"},Object(c.createElement)(xo.BaseControl,{label:Object(vo.__)("Drag, Drop, Duplicate, Delete, Select & Insert blocks from the sidebar.","movable")}),Object(c.createElement)(Ai,{onDragEnd:function(e){var t=e.draggableId,r=No(t);e.destination&&Po(t,r,"",e.destination.index)}},Object(c.createElement)(bo,{droppableId:"droppable"},(function(e,r){return Object(c.createElement)("div",i()({},e.droppableProps,{ref:e.innerRef,style:(n=r.isDraggingOver,o={background:n?"lightblue":"#fff"},a()(o,"background","#fff"),a()(o,"padding",0),a()(o,"paddingBottom",1),a()(o,"width",250),o)}),t.map((function(e,t){var r=Object(yo.getBlockType)(e.name);return Object(c.createElement)(so,{key:e.id,draggableId:e.id,index:t},(function(t,n){return Object(c.createElement)("div",i()({onClick:function(){Ao(e.id)},onMouseOver:function(){document.querySelector("#block-".concat(e.id)).classList.add("hover:movable")},onMouseOut:function(){document.querySelector("#block-".concat(e.id)).classList.remove("hover:movable")},ref:t.innerRef},t.draggableProps,t.dragHandleProps,{style:Bo(n.isDragging,t.draggableProps.style)}),Object(c.createElement)("div",{className:"movable"},Object(c.createElement)("div",{className:"flex justify-between"},Object(c.createElement)("div",{className:"w-3/4 items-center flex"},Object(c.createElement)(ho.BlockIcon,{icon:r.icon,showColors:!0}),Object(c.createElement)("p",{className:"mb-0 ml-1"},Object(yo.__experimentalGetBlockLabel)(r,e.attributes))),Object(c.createElement)("div",{className:"flex justify-end"},Object(c.createElement)(xo.Button,{label:Object(vo.__)("Duplicate","movable"),onClick:function(t){t.stopPropagation(),Co([e.id]),Eo()},className:"invisible hover:opacity-100",icon:"admin-page"}),Object(c.createElement)(xo.Button,{label:Object(vo.__)("Delete","movable"),onClick:function(t){t.stopPropagation(),So(e.id),Eo()},className:"invisible hover:opacity-100",icon:"no-alt"})))))}))})),e.placeholder);var n,o}))),Object(c.createElement)("div",{className:"movable"},Object(c.createElement)("div",{className:"text-center"},Object(c.createElement)(ho.Inserter,{__experimentalSelectBlockOnInsert:!1}))))})),To="movable",jo={icon:"",render:Ro}},function(e,t){}]);
    10 //# sourceMappingURL=index.js.map
     1!function(e){var t={};function r(n){if(t[n])return t[n].exports;var i=t[n]={i:n,l:!1,exports:{}};return e[n].call(i.exports,i,i.exports,r),i.l=!0,i.exports}r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)r.d(n,i,function(t){return e[t]}.bind(null,i));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=21)}([function(e,t){!function(){e.exports=this.React}()},function(e,t){!function(){e.exports=this.wp.element}()},function(e,t){!function(){e.exports=this.wp.data}()},function(e,t){!function(){e.exports=this.wp.blocks}()},function(e,t){e.exports=function(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}},function(e,t){!function(){e.exports=this.wp.i18n}()},function(e,t){!function(){e.exports=this.ReactDOM}()},function(e,t){!function(){e.exports=this.wp.richText}()},function(e,t){!function(){e.exports=this.wp.plugins}()},function(e,t){!function(){e.exports=this.wp.hooks}()},function(e,t){!function(){e.exports=this.wp.components}()},function(e,t,r){"use strict";e.exports=r(27)},function(e,t){function r(){return e.exports=r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},r.apply(this,arguments)}e.exports=r},function(e,t){!function(){e.exports=this.wp.blockEditor}()},function(e,t,r){"use strict";var n=r(11),i={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},o={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},c={};function l(e){return n.isMemo(e)?a:c[e.$$typeof]||i}c[n.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},c[n.Memo]=a;var u=Object.defineProperty,s=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,p=Object.getOwnPropertyDescriptor,f=Object.getPrototypeOf,g=Object.prototype;e.exports=function e(t,r,n){if("string"!=typeof r){if(g){var i=f(r);i&&i!==g&&e(t,i,n)}var a=s(r);d&&(a=a.concat(d(r)));for(var c=l(t),b=l(r),v=0;v<a.length;++v){var m=a[v];if(!(o[m]||n&&n[m]||b&&b[m]||c&&c[m])){var h=p(r,m);try{u(t,m,h)}catch(e){}}}}return t}},function(e,t,r){"use strict";(function(e,n){var i,o=r(20);i="undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==e?e:n;var a=Object(o.a)(i);t.a=a}).call(this,r(28),r(16)(e))},function(e,t){e.exports=function(e){if(!e.webpackPolyfill){var t=Object.create(e);t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),Object.defineProperty(t,"exports",{enumerable:!0}),t.webpackPolyfill=1}return t}},function(e,t,r){"use strict";r.d(t,"a",(function(){return i}));r(3),r(7),r(1);var n=r(8);r(2),r(9);const i=({getContext:e})=>{const t=e();for(const e of t.keys()){const r=t(e),i=r.name,o=r.settings;Object(n.registerPlugin)(i,o)}return t}},function(e,t){!function(){e.exports=this.wp.editPost}()},function(e,t){!function(){e.exports=this.wp.compose}()},function(e,t,r){"use strict";function n(e){var t,r=e.Symbol;return"function"==typeof r?r.observable?t=r.observable:(t=r("observable"),r.observable=t):t="@@observable",t}r.d(t,"a",(function(){return n}))},function(e,t,r){e.exports=r(22)},function(e,t,r){"use strict";r.r(t),function(e){var t=r(17);Object(t.a)({getContext:function(){return r(23)},module:e})}.call(this,r(16)(e))},function(e,t,r){var n={"./index.js":29};function i(e){var t=o(e);return r(t)}function o(e){if(!r.o(n,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return n[e]}i.keys=function(){return Object.keys(n)},i.resolve=o,e.exports=i,i.id=23},function(e,t,r){e.exports=r(25)()},function(e,t,r){"use strict";var n=r(26);function i(){}function o(){}o.resetWarningCache=i,e.exports=function(){function e(e,t,r,i,o,a){if(a!==n){var c=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw c.name="Invariant Violation",c}}function t(){return e}e.isRequired=e;var r={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:o,resetWarningCache:i};return r.PropTypes=r,r}},function(e,t,r){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,r){"use strict";var n="function"==typeof Symbol&&Symbol.for,i=n?Symbol.for("react.element"):60103,o=n?Symbol.for("react.portal"):60106,a=n?Symbol.for("react.fragment"):60107,c=n?Symbol.for("react.strict_mode"):60108,l=n?Symbol.for("react.profiler"):60114,u=n?Symbol.for("react.provider"):60109,s=n?Symbol.for("react.context"):60110,d=n?Symbol.for("react.async_mode"):60111,p=n?Symbol.for("react.concurrent_mode"):60111,f=n?Symbol.for("react.forward_ref"):60112,g=n?Symbol.for("react.suspense"):60113,b=n?Symbol.for("react.suspense_list"):60120,v=n?Symbol.for("react.memo"):60115,m=n?Symbol.for("react.lazy"):60116,h=n?Symbol.for("react.block"):60121,y=n?Symbol.for("react.fundamental"):60117,x=n?Symbol.for("react.responder"):60118,I=n?Symbol.for("react.scope"):60119;function D(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case i:switch(e=e.type){case d:case p:case a:case l:case c:case g:return e;default:switch(e=e&&e.$$typeof){case s:case f:case m:case v:case u:return e;default:return t}}case o:return t}}}function w(e){return D(e)===p}t.AsyncMode=d,t.ConcurrentMode=p,t.ContextConsumer=s,t.ContextProvider=u,t.Element=i,t.ForwardRef=f,t.Fragment=a,t.Lazy=m,t.Memo=v,t.Portal=o,t.Profiler=l,t.StrictMode=c,t.Suspense=g,t.isAsyncMode=function(e){return w(e)||D(e)===d},t.isConcurrentMode=w,t.isContextConsumer=function(e){return D(e)===s},t.isContextProvider=function(e){return D(e)===u},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===i},t.isForwardRef=function(e){return D(e)===f},t.isFragment=function(e){return D(e)===a},t.isLazy=function(e){return D(e)===m},t.isMemo=function(e){return D(e)===v},t.isPortal=function(e){return D(e)===o},t.isProfiler=function(e){return D(e)===l},t.isStrictMode=function(e){return D(e)===c},t.isSuspense=function(e){return D(e)===g},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===a||e===p||e===l||e===c||e===g||e===b||"object"==typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===v||e.$$typeof===u||e.$$typeof===s||e.$$typeof===f||e.$$typeof===y||e.$$typeof===x||e.$$typeof===I||e.$$typeof===h)},t.typeOf=D},function(e,t){var r;r=function(){return this}();try{r=r||new Function("return this")()}catch(e){"object"==typeof window&&(r=window)}e.exports=r},function(e,t,r){"use strict";r.r(t),r.d(t,"name",(function(){return To})),r.d(t,"settings",(function(){return jo}));var n=r(12),i=r.n(n),o=r(4),a=r.n(o),c=r(1),l=r(0),u=r.n(l);function s(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function d(){return(d=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}var p=r(15),f=function(){return Math.random().toString(36).substring(7).split("").join(".")},g={INIT:"@@redux/INIT"+f(),REPLACE:"@@redux/REPLACE"+f(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+f()}};function b(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}function v(e,t,r){var n;if("function"==typeof t&&"function"==typeof r||"function"==typeof r&&"function"==typeof arguments[3])throw new Error("It looks like you are passing several store enhancers to createStore(). This is not supported. Instead, compose them together to a single function.");if("function"==typeof t&&void 0===r&&(r=t,t=void 0),void 0!==r){if("function"!=typeof r)throw new Error("Expected the enhancer to be a function.");return r(v)(e,t)}if("function"!=typeof e)throw new Error("Expected the reducer to be a function.");var i=e,o=t,a=[],c=a,l=!1;function u(){c===a&&(c=a.slice())}function s(){if(l)throw new Error("You may not call store.getState() while the reducer is executing. The reducer has already received the state as an argument. Pass it down from the top reducer instead of reading it from the store.");return o}function d(e){if("function"!=typeof e)throw new Error("Expected the listener to be a function.");if(l)throw new Error("You may not call store.subscribe() while the reducer is executing. If you would like to be notified after the store has been updated, subscribe from a component and invoke store.getState() in the callback to access the latest state. See https://redux.js.org/api-reference/store#subscribelistener for more details.");var t=!0;return u(),c.push(e),function(){if(t){if(l)throw new Error("You may not unsubscribe from a store listener while the reducer is executing. See https://redux.js.org/api-reference/store#subscribelistener for more details.");t=!1,u();var r=c.indexOf(e);c.splice(r,1),a=null}}}function f(e){if(!b(e))throw new Error("Actions must be plain objects. Use custom middleware for async actions.");if(void 0===e.type)throw new Error('Actions may not have an undefined "type" property. Have you misspelled a constant?');if(l)throw new Error("Reducers may not dispatch actions.");try{l=!0,o=i(o,e)}finally{l=!1}for(var t=a=c,r=0;r<t.length;r++){(0,t[r])()}return e}function m(e){if("function"!=typeof e)throw new Error("Expected the nextReducer to be a function.");i=e,f({type:g.REPLACE})}function h(){var e,t=d;return(e={subscribe:function(e){if("object"!=typeof e||null===e)throw new TypeError("Expected the observer to be an object.");function r(){e.next&&e.next(s())}return r(),{unsubscribe:t(r)}}})[p.a]=function(){return this},e}return f({type:g.INIT}),(n={dispatch:f,subscribe:d,getState:s,replaceReducer:m})[p.a]=h,n}function m(e,t){return function(){return t(e.apply(this,arguments))}}function h(e,t){if("function"==typeof e)return m(e,t);if("object"!=typeof e||null===e)throw new Error("bindActionCreators expected an object or a function, instead received "+(null===e?"null":typeof e)+'. Did you write "import ActionCreators from" instead of "import * as ActionCreators from"?');var r={};for(var n in e){var i=e[n];"function"==typeof i&&(r[n]=m(i,t))}return r}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){var r=Object.keys(e);return Object.getOwnPropertySymbols&&r.push.apply(r,Object.getOwnPropertySymbols(e)),t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r}function I(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?x(r,!0).forEach((function(t){y(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):x(r).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function D(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return 0===t.length?function(e){return e}:1===t.length?t[0]:t.reduce((function(e,t){return function(){return e(t.apply(void 0,arguments))}}))}r(24);var w=u.a.createContext(null);var O=function(e){e()},E={notify:function(){}};function C(){var e=O,t=null,r=null;return{clear:function(){t=null,r=null},notify:function(){e((function(){for(var e=t;e;)e.callback(),e=e.next}))},get:function(){for(var e=[],r=t;r;)e.push(r),r=r.next;return e},subscribe:function(e){var n=!0,i=r={callback:e,next:null,prev:r};return i.prev?i.prev.next=i:t=i,function(){n&&null!==t&&(n=!1,i.next?i.next.prev=i.prev:r=i.prev,i.prev?i.prev.next=i.next:t=i.next)}}}}var P=function(){function e(e,t){this.store=e,this.parentSub=t,this.unsubscribe=null,this.listeners=E,this.handleChangeWrapper=this.handleChangeWrapper.bind(this)}var t=e.prototype;return t.addNestedSub=function(e){return this.trySubscribe(),this.listeners.subscribe(e)},t.notifyNestedSubs=function(){this.listeners.notify()},t.handleChangeWrapper=function(){this.onStateChange&&this.onStateChange()},t.isSubscribed=function(){return Boolean(this.unsubscribe)},t.trySubscribe=function(){this.unsubscribe||(this.unsubscribe=this.parentSub?this.parentSub.addNestedSub(this.handleChangeWrapper):this.store.subscribe(this.handleChangeWrapper),this.listeners=C())},t.tryUnsubscribe=function(){this.unsubscribe&&(this.unsubscribe(),this.unsubscribe=null,this.listeners.clear(),this.listeners=E)},e}();var S=function(e){var t=e.store,r=e.context,n=e.children,i=Object(l.useMemo)((function(){var e=new P(t);return e.onStateChange=e.notifyNestedSubs,{store:t,subscription:e}}),[t]),o=Object(l.useMemo)((function(){return t.getState()}),[t]);Object(l.useEffect)((function(){var e=i.subscription;return e.trySubscribe(),o!==t.getState()&&e.notifyNestedSubs(),function(){e.tryUnsubscribe(),e.onStateChange=null}}),[i,o]);var a=r||w;return u.a.createElement(a.Provider,{value:i},n)};function A(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}var N=r(14),R=r.n(N),B=r(11),T="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement?l.useLayoutEffect:l.useEffect,j=[],L=[null,null];function M(e,t){var r=e[1];return[t.payload,r+1]}function G(e,t,r){T((function(){return e.apply(void 0,t)}),r)}function _(e,t,r,n,i,o,a){e.current=n,t.current=i,r.current=!1,o.current&&(o.current=null,a())}function k(e,t,r,n,i,o,a,c,l,u){if(e){var s=!1,d=null,p=function(){if(!s){var e,r,p=t.getState();try{e=n(p,i.current)}catch(e){r=e,d=e}r||(d=null),e===o.current?a.current||l():(o.current=e,c.current=e,a.current=!0,u({type:"STORE_UPDATED",payload:{error:r}}))}};r.onStateChange=p,r.trySubscribe(),p();return function(){if(s=!0,r.tryUnsubscribe(),r.onStateChange=null,d)throw d}}}var F=function(){return[null,0]};function W(e,t){void 0===t&&(t={});var r=t,n=r.getDisplayName,i=void 0===n?function(e){return"ConnectAdvanced("+e+")"}:n,o=r.methodName,a=void 0===o?"connectAdvanced":o,c=r.renderCountProp,s=void 0===c?void 0:c,p=r.shouldHandleStateChanges,f=void 0===p||p,g=r.storeKey,b=void 0===g?"store":g,v=(r.withRef,r.forwardRef),m=void 0!==v&&v,h=r.context,y=void 0===h?w:h,x=A(r,["getDisplayName","methodName","renderCountProp","shouldHandleStateChanges","storeKey","withRef","forwardRef","context"]),I=y;return function(t){var r=t.displayName||t.name||"Component",n=i(r),o=d({},x,{getDisplayName:i,methodName:a,renderCountProp:s,shouldHandleStateChanges:f,storeKey:b,displayName:n,wrappedComponentName:r,WrappedComponent:t}),c=x.pure;var p=c?l.useMemo:function(e){return e()};function g(r){var n=Object(l.useMemo)((function(){var e=r.reactReduxForwardedRef,t=A(r,["reactReduxForwardedRef"]);return[r.context,e,t]}),[r]),i=n[0],a=n[1],c=n[2],s=Object(l.useMemo)((function(){return i&&i.Consumer&&Object(B.isContextConsumer)(u.a.createElement(i.Consumer,null))?i:I}),[i,I]),g=Object(l.useContext)(s),b=Boolean(r.store)&&Boolean(r.store.getState)&&Boolean(r.store.dispatch);Boolean(g)&&Boolean(g.store);var v=b?r.store:g.store,m=Object(l.useMemo)((function(){return function(t){return e(t.dispatch,o)}(v)}),[v]),h=Object(l.useMemo)((function(){if(!f)return L;var e=new P(v,b?null:g.subscription),t=e.notifyNestedSubs.bind(e);return[e,t]}),[v,b,g]),y=h[0],x=h[1],D=Object(l.useMemo)((function(){return b?g:d({},g,{subscription:y})}),[b,g,y]),w=Object(l.useReducer)(M,j,F),O=w[0][0],E=w[1];if(O&&O.error)throw O.error;var C=Object(l.useRef)(),S=Object(l.useRef)(c),N=Object(l.useRef)(),R=Object(l.useRef)(!1),T=p((function(){return N.current&&c===S.current?N.current:m(v.getState(),c)}),[v,O,c]);G(_,[S,C,R,c,T,N,x]),G(k,[f,v,y,m,S,C,R,N,x,E],[v,y,m]);var W=Object(l.useMemo)((function(){return u.a.createElement(t,d({},T,{ref:a}))}),[a,t,T]);return Object(l.useMemo)((function(){return f?u.a.createElement(s.Provider,{value:D},W):W}),[s,W,D])}var v=c?u.a.memo(g):g;if(v.WrappedComponent=t,v.displayName=n,m){var h=u.a.forwardRef((function(e,t){return u.a.createElement(v,d({},e,{reactReduxForwardedRef:t}))}));return h.displayName=n,h.WrappedComponent=t,R()(h,t)}return R()(v,t)}}function U(e,t){return e===t?0!==e||0!==t||1/e==1/t:e!=e&&t!=t}function H(e,t){if(U(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var r=Object.keys(e),n=Object.keys(t);if(r.length!==n.length)return!1;for(var i=0;i<r.length;i++)if(!Object.prototype.hasOwnProperty.call(t,r[i])||!U(e[r[i]],t[r[i]]))return!1;return!0}function q(e){return function(t,r){var n=e(t,r);function i(){return n}return i.dependsOnOwnProps=!1,i}}function V(e){return null!==e.dependsOnOwnProps&&void 0!==e.dependsOnOwnProps?Boolean(e.dependsOnOwnProps):1!==e.length}function z(e,t){return function(t,r){r.displayName;var n=function(e,t){return n.dependsOnOwnProps?n.mapToProps(e,t):n.mapToProps(e)};return n.dependsOnOwnProps=!0,n.mapToProps=function(t,r){n.mapToProps=e,n.dependsOnOwnProps=V(e);var i=n(t,r);return"function"==typeof i&&(n.mapToProps=i,n.dependsOnOwnProps=V(i),i=n(t,r)),i},n}}var $=[function(e){return"function"==typeof e?z(e):void 0},function(e){return e?void 0:q((function(e){return{dispatch:e}}))},function(e){return e&&"object"==typeof e?q((function(t){return h(e,t)})):void 0}];var Y=[function(e){return"function"==typeof e?z(e):void 0},function(e){return e?void 0:q((function(){return{}}))}];function J(e,t,r){return d({},r,{},e,{},t)}var X=[function(e){return"function"==typeof e?function(e){return function(t,r){r.displayName;var n,i=r.pure,o=r.areMergedPropsEqual,a=!1;return function(t,r,c){var l=e(t,r,c);return a?i&&o(l,n)||(n=l):(a=!0,n=l),n}}}(e):void 0},function(e){return e?void 0:function(){return J}}];function K(e,t,r,n){return function(i,o){return r(e(i,o),t(n,o),o)}}function Q(e,t,r,n,i){var o,a,c,l,u,s=i.areStatesEqual,d=i.areOwnPropsEqual,p=i.areStatePropsEqual,f=!1;function g(i,f){var g,b,v=!d(f,a),m=!s(i,o);return o=i,a=f,v&&m?(c=e(o,a),t.dependsOnOwnProps&&(l=t(n,a)),u=r(c,l,a)):v?(e.dependsOnOwnProps&&(c=e(o,a)),t.dependsOnOwnProps&&(l=t(n,a)),u=r(c,l,a)):m?(g=e(o,a),b=!p(g,c),c=g,b&&(u=r(c,l,a)),u):u}return function(i,s){return f?g(i,s):(c=e(o=i,a=s),l=t(n,a),u=r(c,l,a),f=!0,u)}}function Z(e,t){var r=t.initMapStateToProps,n=t.initMapDispatchToProps,i=t.initMergeProps,o=A(t,["initMapStateToProps","initMapDispatchToProps","initMergeProps"]),a=r(e,o),c=n(e,o),l=i(e,o);return(o.pure?Q:K)(a,c,l,e,o)}function ee(e,t,r){for(var n=t.length-1;n>=0;n--){var i=t[n](e);if(i)return i}return function(t,n){throw new Error("Invalid value of type "+typeof e+" for "+r+" argument when connecting component "+n.wrappedComponentName+".")}}function te(e,t){return e===t}function re(e){var t=void 0===e?{}:e,r=t.connectHOC,n=void 0===r?W:r,i=t.mapStateToPropsFactories,o=void 0===i?Y:i,a=t.mapDispatchToPropsFactories,c=void 0===a?$:a,l=t.mergePropsFactories,u=void 0===l?X:l,s=t.selectorFactory,p=void 0===s?Z:s;return function(e,t,r,i){void 0===i&&(i={});var a=i,l=a.pure,s=void 0===l||l,f=a.areStatesEqual,g=void 0===f?te:f,b=a.areOwnPropsEqual,v=void 0===b?H:b,m=a.areStatePropsEqual,h=void 0===m?H:m,y=a.areMergedPropsEqual,x=void 0===y?H:y,I=A(a,["pure","areStatesEqual","areOwnPropsEqual","areStatePropsEqual","areMergedPropsEqual"]),D=ee(e,o,"mapStateToProps"),w=ee(t,c,"mapDispatchToProps"),O=ee(r,u,"mergeProps");return n(p,d({methodName:"connect",getDisplayName:function(e){return"Connect("+e+")"},shouldHandleStateChanges:Boolean(e),initMapStateToProps:D,initMapDispatchToProps:w,initMergeProps:O,pure:s,areStatesEqual:g,areOwnPropsEqual:v,areStatePropsEqual:h,areMergedPropsEqual:x},I))}}var ne=re();var ie,oe=r(6),ae=r.n(oe);function ce(e,t){var r=Object(l.useState)((function(){return{inputs:t,result:e()}}))[0],n=Object(l.useRef)(r),i=Boolean(t&&n.current.inputs&&function(e,t){if(e.length!==t.length)return!1;for(var r=0;r<e.length;r++)if(e[r]!==t[r])return!1;return!0}(t,n.current.inputs))?n.current:{inputs:t,result:e()};return Object(l.useEffect)((function(){n.current=i}),[i]),i.result}ie=oe.unstable_batchedUpdates,O=ie;var le=ce,ue=function(e,t){return ce((function(){return e}),t)};var se=function(e,t){if(!e)throw new Error("Invariant failed")},de=function(e){var t=e.top,r=e.right,n=e.bottom,i=e.left;return{top:t,right:r,bottom:n,left:i,width:r-i,height:n-t,x:i,y:t,center:{x:(r+i)/2,y:(n+t)/2}}},pe=function(e,t){return{top:e.top-t.top,left:e.left-t.left,bottom:e.bottom+t.bottom,right:e.right+t.right}},fe=function(e,t){return{top:e.top+t.top,left:e.left+t.left,bottom:e.bottom-t.bottom,right:e.right-t.right}},ge={top:0,right:0,bottom:0,left:0},be=function(e){var t=e.borderBox,r=e.margin,n=void 0===r?ge:r,i=e.border,o=void 0===i?ge:i,a=e.padding,c=void 0===a?ge:a,l=de(pe(t,n)),u=de(fe(t,o)),s=de(fe(u,c));return{marginBox:l,borderBox:de(t),paddingBox:u,contentBox:s,margin:n,border:o,padding:c}},ve=function(e){var t=e.slice(0,-2);if("px"!==e.slice(-2))return 0;var r=Number(t);return isNaN(r)&&se(!1),r},me=function(e,t){var r,n,i=e.borderBox,o=e.border,a=e.margin,c=e.padding,l=(n=t,{top:(r=i).top+n.y,left:r.left+n.x,bottom:r.bottom+n.y,right:r.right+n.x});return be({borderBox:l,border:o,margin:a,padding:c})},he=function(e,t){return void 0===t&&(t={x:window.pageXOffset,y:window.pageYOffset}),me(e,t)},ye=function(e,t){var r={top:ve(t.marginTop),right:ve(t.marginRight),bottom:ve(t.marginBottom),left:ve(t.marginLeft)},n={top:ve(t.paddingTop),right:ve(t.paddingRight),bottom:ve(t.paddingBottom),left:ve(t.paddingLeft)},i={top:ve(t.borderTopWidth),right:ve(t.borderRightWidth),bottom:ve(t.borderBottomWidth),left:ve(t.borderLeftWidth)};return be({borderBox:e,margin:r,padding:n,border:i})},xe=function(e){var t=e.getBoundingClientRect(),r=window.getComputedStyle(e);return ye(t,r)};function Ie(e,t){if(e.length!==t.length)return!1;for(var r=0;r<e.length;r++)if(e[r]!==t[r])return!1;return!0}var De=function(e,t){var r;void 0===t&&(t=Ie);var n,i=[],o=!1;return function(){for(var a=[],c=0;c<arguments.length;c++)a[c]=arguments[c];return o&&r===this&&t(a,i)||(n=e.apply(this,a),o=!0,r=this,i=a),n}},we=function(e){var t=[],r=null,n=function(){for(var n=arguments.length,i=new Array(n),o=0;o<n;o++)i[o]=arguments[o];t=i,r||(r=requestAnimationFrame((function(){r=null,e.apply(void 0,t)})))};return n.cancel=function(){r&&(cancelAnimationFrame(r),r=null)},n};function Oe(e,t){}Oe.bind(null,"warn"),Oe.bind(null,"error");function Ee(){}function Ce(e,t,r){var n=t.map((function(t){var n,i,o=(n=r,i=t.options,d({},n,{},i));return e.addEventListener(t.eventName,t.fn,o),function(){e.removeEventListener(t.eventName,t.fn,o)}}));return function(){n.forEach((function(e){e()}))}}function Pe(e){this.message=e}function Se(e,t){if(!e)throw new Pe("Invariant failed")}Pe.prototype.toString=function(){return this.message};var Ae=function(e){function t(){for(var t,r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];return(t=e.call.apply(e,[this].concat(n))||this).callbacks=null,t.unbind=Ee,t.onWindowError=function(e){var r=t.getCallbacks();r.isDragging()&&r.tryAbort(),e.error instanceof Pe&&e.preventDefault()},t.getCallbacks=function(){if(!t.callbacks)throw new Error("Unable to find AppCallbacks in <ErrorBoundary/>");return t.callbacks},t.setCallbacks=function(e){t.callbacks=e},t}s(t,e);var r=t.prototype;return r.componentDidMount=function(){this.unbind=Ce(window,[{eventName:"error",fn:this.onWindowError}])},r.componentWillUnmount=function(){this.unbind()},r.componentDidCatch=function(e){if(!(e instanceof Pe))throw e;this.setState({})},r.render=function(){return this.props.children(this.setCallbacks)},t}(u.a.Component),Ne=function(e){return e+1},Re=function(e,t){var r=e.droppableId===t.droppableId,n=Ne(e.index),i=Ne(t.index);return r?"\n      You have moved the item from position "+n+"\n      to position "+i+"\n    ":"\n    You have moved the item from position "+n+"\n    in list "+e.droppableId+"\n    to list "+t.droppableId+"\n    in position "+i+"\n  "},Be=function(e,t,r){return t.droppableId===r.droppableId?"\n      The item "+e+"\n      has been combined with "+r.draggableId:"\n      The item "+e+"\n      in list "+t.droppableId+"\n      has been combined with "+r.draggableId+"\n      in list "+r.droppableId+"\n    "},Te=function(e){return"\n  The item has returned to its starting position\n  of "+Ne(e.index)+"\n"},je="\n  Press space bar to start a drag.\n  When dragging you can use the arrow keys to move the item around and escape to cancel.\n  Some screen readers may require you to be in focus mode or to use your pass through key\n",Le=function(e){return"\n  You have lifted an item in position "+Ne(e.source.index)+"\n"},Me=function(e){var t=e.destination;if(t)return Re(e.source,t);var r=e.combine;return r?Be(e.draggableId,e.source,r):"You are over an area that cannot be dropped on"},Ge=function(e){if("CANCEL"===e.reason)return"\n      Movement cancelled.\n      "+Te(e.source)+"\n    ";var t=e.destination,r=e.combine;return t?"\n      You have dropped the item.\n      "+Re(e.source,t)+"\n    ":r?"\n      You have dropped the item.\n      "+Be(e.draggableId,e.source,r)+"\n    ":"\n    The item has been dropped while not over a drop area.\n    "+Te(e.source)+"\n  "},_e={x:0,y:0},ke=function(e,t){return{x:e.x+t.x,y:e.y+t.y}},Fe=function(e,t){return{x:e.x-t.x,y:e.y-t.y}},We=function(e,t){return e.x===t.x&&e.y===t.y},Ue=function(e){return{x:0!==e.x?-e.x:0,y:0!==e.y?-e.y:0}},He=function(e,t,r){var n;return void 0===r&&(r=0),(n={})[e]=t,n["x"===e?"y":"x"]=r,n},qe=function(e,t){return Math.sqrt(Math.pow(t.x-e.x,2)+Math.pow(t.y-e.y,2))},Ve=function(e,t){return Math.min.apply(Math,t.map((function(t){return qe(e,t)})))},ze=function(e){return function(t){return{x:e(t.x),y:e(t.y)}}},$e=function(e,t){return{top:e.top+t.y,left:e.left+t.x,bottom:e.bottom+t.y,right:e.right+t.x}},Ye=function(e){return[{x:e.left,y:e.top},{x:e.right,y:e.top},{x:e.left,y:e.bottom},{x:e.right,y:e.bottom}]},Je=function(e,t){return t&&t.shouldClipSubject?function(e,t){var r=de({top:Math.max(t.top,e.top),right:Math.min(t.right,e.right),bottom:Math.min(t.bottom,e.bottom),left:Math.max(t.left,e.left)});return r.width<=0||r.height<=0?null:r}(t.pageMarginBox,e):de(e)},Xe=function(e){var t=e.page,r=e.withPlaceholder,n=e.axis,i=e.frame,o=function(e,t,r){var n;return r&&r.increasedBy?d({},e,((n={})[t.end]=e[t.end]+r.increasedBy[t.line],n)):e}(function(e,t){return t?$e(e,t.scroll.diff.displacement):e}(t.marginBox,i),n,r);return{page:t,withPlaceholder:r,active:Je(o,i)}},Ke=function(e,t){e.frame||Se(!1);var r=e.frame,n=Fe(t,r.scroll.initial),i=Ue(n),o=d({},r,{scroll:{initial:r.scroll.initial,current:t,diff:{value:n,displacement:i},max:r.scroll.max}});return d({},e,{frame:o,subject:Xe({page:e.subject.page,withPlaceholder:e.subject.withPlaceholder,axis:e.axis,frame:o})})};function Qe(e){return Object.values?Object.values(e):Object.keys(e).map((function(t){return e[t]}))}function Ze(e,t){if(e.findIndex)return e.findIndex(t);for(var r=0;r<e.length;r++)if(t(e[r]))return r;return-1}function et(e,t){if(e.find)return e.find(t);var r=Ze(e,t);return-1!==r?e[r]:void 0}function tt(e){return Array.prototype.slice.call(e)}var rt=De((function(e){return e.reduce((function(e,t){return e[t.descriptor.id]=t,e}),{})})),nt=De((function(e){return e.reduce((function(e,t){return e[t.descriptor.id]=t,e}),{})})),it=De((function(e){return Qe(e)})),ot=De((function(e){return Qe(e)})),at=De((function(e,t){return ot(t).filter((function(t){return e===t.descriptor.droppableId})).sort((function(e,t){return e.descriptor.index-t.descriptor.index}))}));function ct(e){return e.at&&"REORDER"===e.at.type?e.at.destination:null}function lt(e){return e.at&&"COMBINE"===e.at.type?e.at.combine:null}var ut=De((function(e,t){return t.filter((function(t){return t.descriptor.id!==e.descriptor.id}))})),st=function(e,t){return e.descriptor.droppableId===t.descriptor.id},dt={point:_e,value:0},pt={invisible:{},visible:{},all:[]},ft={displaced:pt,displacedBy:dt,at:null},gt=function(e,t){return function(r){return e<=r&&r<=t}},bt=function(e){var t=gt(e.top,e.bottom),r=gt(e.left,e.right);return function(n){if(t(n.top)&&t(n.bottom)&&r(n.left)&&r(n.right))return!0;var i=t(n.top)||t(n.bottom),o=r(n.left)||r(n.right);if(i&&o)return!0;var a=n.top<e.top&&n.bottom>e.bottom,c=n.left<e.left&&n.right>e.right;return!(!a||!c)||(a&&o||c&&i)}},vt=function(e){var t=gt(e.top,e.bottom),r=gt(e.left,e.right);return function(e){return t(e.top)&&t(e.bottom)&&r(e.left)&&r(e.right)}},mt={direction:"vertical",line:"y",crossAxisLine:"x",start:"top",end:"bottom",size:"height",crossAxisStart:"left",crossAxisEnd:"right",crossAxisSize:"width"},ht={direction:"horizontal",line:"x",crossAxisLine:"y",start:"left",end:"right",size:"width",crossAxisStart:"top",crossAxisEnd:"bottom",crossAxisSize:"height"},yt=function(e){var t=e.target,r=e.destination,n=e.viewport,i=e.withDroppableDisplacement,o=e.isVisibleThroughFrameFn,a=i?function(e,t){var r=t.frame?t.frame.scroll.diff.displacement:_e;return $e(e,r)}(t,r):t;return function(e,t,r){return!!t.subject.active&&r(t.subject.active)(e)}(a,r,o)&&function(e,t,r){return r(t)(e)}(a,n,o)},xt=function(e){return yt(d({},e,{isVisibleThroughFrameFn:bt}))},It=function(e){return yt(d({},e,{isVisibleThroughFrameFn:vt}))};function Dt(e){var t=e.afterDragging,r=e.destination,n=e.displacedBy,i=e.viewport,o=e.forceShouldAnimate,a=e.last;return t.reduce((function(e,t){var c=function(e,t){var r=e.page.marginBox,n={top:t.point.y,right:0,bottom:0,left:t.point.x};return de(pe(r,n))}(t,n),l=t.descriptor.id;if(e.all.push(l),!xt({target:c,destination:r,viewport:i,withDroppableDisplacement:!0}))return e.invisible[t.descriptor.id]=!0,e;var u={draggableId:l,shouldAnimate:function(e,t,r){if("boolean"==typeof r)return r;if(!t)return!0;var n=t.invisible,i=t.visible;if(n[e])return!1;var o=i[e];return!o||o.shouldAnimate}(l,a,o)};return e.visible[l]=u,e}),{all:[],visible:{},invisible:{}})}function wt(e){var t=e.insideDestination,r=e.inHomeList,n=e.displacedBy,i=e.destination,o=function(e,t){if(!e.length)return 0;var r=e[e.length-1].descriptor.index;return t.inHomeList?r:r+1}(t,{inHomeList:r});return{displaced:pt,displacedBy:n,at:{type:"REORDER",destination:{droppableId:i.descriptor.id,index:o}}}}function Ot(e){var t=e.draggable,r=e.insideDestination,n=e.destination,i=e.viewport,o=e.displacedBy,a=e.last,c=e.index,l=e.forceShouldAnimate,u=st(t,n);if(null==c)return wt({insideDestination:r,inHomeList:u,displacedBy:o,destination:n});var s=et(r,(function(e){return e.descriptor.index===c}));if(!s)return wt({insideDestination:r,inHomeList:u,displacedBy:o,destination:n});var d=ut(t,r),p=r.indexOf(s);return{displaced:Dt({afterDragging:d.slice(p),destination:n,displacedBy:o,last:a,viewport:i.frame,forceShouldAnimate:l}),displacedBy:o,at:{type:"REORDER",destination:{droppableId:n.descriptor.id,index:c}}}}function Et(e,t){return Boolean(t.effected[e])}var Ct=function(e){var t=e.isMovingForward,r=e.isInHomeList,n=e.draggable,i=e.draggables,o=e.destination,a=e.insideDestination,c=e.previousImpact,l=e.viewport,u=e.afterCritical,s=c.at;if(s||Se(!1),"REORDER"===s.type){var d=function(e){var t=e.isMovingForward,r=e.isInHomeList,n=e.insideDestination,i=e.location;if(!n.length)return null;var o=i.index,a=t?o+1:o-1,c=n[0].descriptor.index,l=n[n.length-1].descriptor.index;return a<c||a>(r?l:l+1)?null:a}({isMovingForward:t,isInHomeList:r,location:s.destination,insideDestination:a});return null==d?null:Ot({draggable:n,insideDestination:a,destination:o,viewport:l,last:c.displaced,displacedBy:c.displacedBy,index:d})}var p=function(e){var t=e.isMovingForward,r=e.destination,n=e.draggables,i=e.combine,o=e.afterCritical;if(!r.isCombineEnabled)return null;var a=i.draggableId,c=n[a].descriptor.index;return Et(a,o)?t?c:c-1:t?c+1:c}({isMovingForward:t,destination:o,displaced:c.displaced,draggables:i,combine:s.combine,afterCritical:u});return null==p?null:Ot({draggable:n,insideDestination:a,destination:o,viewport:l,last:c.displaced,displacedBy:c.displacedBy,index:p})},Pt=function(e){var t=e.afterCritical,r=e.impact,n=e.draggables,i=lt(r);i||Se(!1);var o=i.draggableId,a=n[o].page.borderBox.center,c=function(e){var t=e.displaced,r=e.afterCritical,n=e.combineWith,i=e.displacedBy,o=Boolean(t.visible[n]||t.invisible[n]);return Et(n,r)?o?_e:Ue(i.point):o?i.point:_e}({displaced:r.displaced,afterCritical:t,combineWith:o,displacedBy:r.displacedBy});return ke(a,c)},St=function(e,t){return t.margin[e.start]+t.borderBox[e.size]/2},At=function(e,t,r){return t[e.crossAxisStart]+r.margin[e.crossAxisStart]+r.borderBox[e.crossAxisSize]/2},Nt=function(e){var t=e.axis,r=e.moveRelativeTo,n=e.isMoving;return He(t.line,r.marginBox[t.end]+St(t,n),At(t,r.marginBox,n))},Rt=function(e){var t=e.axis,r=e.moveRelativeTo,n=e.isMoving;return He(t.line,r.marginBox[t.start]-function(e,t){return t.margin[e.end]+t.borderBox[e.size]/2}(t,n),At(t,r.marginBox,n))},Bt=function(e){var t=e.impact,r=e.draggable,n=e.draggables,i=e.droppable,o=e.afterCritical,a=at(i.descriptor.id,n),c=r.page,l=i.axis;if(!a.length)return function(e){var t=e.axis,r=e.moveInto,n=e.isMoving;return He(t.line,r.contentBox[t.start]+St(t,n),At(t,r.contentBox,n))}({axis:l,moveInto:i.page,isMoving:c});var u=t.displaced,s=t.displacedBy,d=u.all[0];if(d){var p=n[d];if(Et(d,o))return Rt({axis:l,moveRelativeTo:p.page,isMoving:c});var f=me(p.page,s.point);return Rt({axis:l,moveRelativeTo:f,isMoving:c})}var g=a[a.length-1];if(g.descriptor.id===r.descriptor.id)return c.borderBox.center;if(Et(g.descriptor.id,o)){var b=me(g.page,Ue(o.displacedBy.point));return Nt({axis:l,moveRelativeTo:b,isMoving:c})}return Nt({axis:l,moveRelativeTo:g.page,isMoving:c})},Tt=function(e,t){var r=e.frame;return r?ke(t,r.scroll.diff.displacement):t},jt=function(e){var t=function(e){var t=e.impact,r=e.draggable,n=e.droppable,i=e.draggables,o=e.afterCritical,a=r.page.borderBox.center,c=t.at;return n&&c?"REORDER"===c.type?Bt({impact:t,draggable:r,draggables:i,droppable:n,afterCritical:o}):Pt({impact:t,draggables:i,afterCritical:o}):a}(e),r=e.droppable;return r?Tt(r,t):t},Lt=function(e,t){var r=Fe(t,e.scroll.initial),n=Ue(r);return{frame:de({top:t.y,bottom:t.y+e.frame.height,left:t.x,right:t.x+e.frame.width}),scroll:{initial:e.scroll.initial,max:e.scroll.max,current:t,diff:{value:r,displacement:n}}}};function Mt(e,t){return e.map((function(e){return t[e]}))}var Gt=function(e){var t=e.pageBorderBoxCenter,r=e.draggable,n=function(e,t){return ke(e.scroll.diff.displacement,t)}(e.viewport,t),i=Fe(n,r.page.borderBox.center);return ke(r.client.borderBox.center,i)},_t=function(e){var t=e.draggable,r=e.destination,n=e.newPageBorderBoxCenter,i=e.viewport,o=e.withDroppableDisplacement,a=e.onlyOnMainAxis,c=void 0!==a&&a,l=Fe(n,t.page.borderBox.center),u={target:$e(t.page.borderBox,l),destination:r,withDroppableDisplacement:o,viewport:i};return c?function(e){return yt(d({},e,{isVisibleThroughFrameFn:(t=e.destination.axis,function(e){var r=gt(e.top,e.bottom),n=gt(e.left,e.right);return function(e){return t===mt?r(e.top)&&r(e.bottom):n(e.left)&&n(e.right)}})}));var t}(u):It(u)},kt=function(e){var t=e.isMovingForward,r=e.draggable,n=e.destination,i=e.draggables,o=e.previousImpact,a=e.viewport,c=e.previousPageBorderBoxCenter,l=e.previousClientSelection,u=e.afterCritical;if(!n.isEnabled)return null;var s=at(n.descriptor.id,i),p=st(r,n),f=function(e){var t=e.isMovingForward,r=e.draggable,n=e.destination,i=e.insideDestination,o=e.previousImpact;if(!n.isCombineEnabled)return null;if(!ct(o))return null;function a(e){var t={type:"COMBINE",combine:{draggableId:e,droppableId:n.descriptor.id}};return d({},o,{at:t})}var c=o.displaced.all,l=c.length?c[0]:null;if(t)return l?a(l):null;var u=ut(r,i);if(!l)return u.length?a(u[u.length-1].descriptor.id):null;var s=Ze(u,(function(e){return e.descriptor.id===l}));-1===s&&Se(!1);var p=s-1;return p<0?null:a(u[p].descriptor.id)}({isMovingForward:t,draggable:r,destination:n,insideDestination:s,previousImpact:o})||Ct({isMovingForward:t,isInHomeList:p,draggable:r,draggables:i,destination:n,insideDestination:s,previousImpact:o,viewport:a,afterCritical:u});if(!f)return null;var g=jt({impact:f,draggable:r,droppable:n,draggables:i,afterCritical:u});if(_t({draggable:r,destination:n,newPageBorderBoxCenter:g,viewport:a.frame,withDroppableDisplacement:!1,onlyOnMainAxis:!0}))return{clientSelection:Gt({pageBorderBoxCenter:g,draggable:r,viewport:a}),impact:f,scrollJumpRequest:null};var b=Fe(g,c);return{clientSelection:l,impact:function(e){var t=e.impact,r=e.viewport,n=e.destination,i=e.draggables,o=e.maxScrollChange,a=Lt(r,ke(r.scroll.current,o)),c=n.frame?Ke(n,ke(n.frame.scroll.current,o)):n,l=t.displaced,u=Dt({afterDragging:Mt(l.all,i),destination:n,displacedBy:t.displacedBy,viewport:a.frame,last:l,forceShouldAnimate:!1}),s=Dt({afterDragging:Mt(l.all,i),destination:c,displacedBy:t.displacedBy,viewport:r.frame,last:l,forceShouldAnimate:!1}),p={},f={},g=[l,u,s];return l.all.forEach((function(e){var t=function(e,t){for(var r=0;r<t.length;r++){var n=t[r].visible[e];if(n)return n}return null}(e,g);t?f[e]=t:p[e]=!0})),d({},t,{displaced:{all:l.all,invisible:p,visible:f}})}({impact:f,viewport:a,destination:n,draggables:i,maxScrollChange:b}),scrollJumpRequest:b}},Ft=function(e){var t=e.subject.active;return t||Se(!1),t},Wt=function(e,t){var r=e.page.borderBox.center;return Et(e.descriptor.id,t)?Fe(r,t.displacedBy.point):r},Ut=function(e,t){var r=e.page.borderBox;return Et(e.descriptor.id,t)?$e(r,Ue(t.displacedBy.point)):r},Ht=De((function(e,t){var r=t[e.line];return{value:r,point:He(e.line,r)}})),qt=function(e,t){return d({},e,{scroll:d({},e.scroll,{max:t})})},Vt=function(e,t,r){var n=e.frame;st(t,e)&&Se(!1),e.subject.withPlaceholder&&Se(!1);var i=Ht(e.axis,t.displaceBy).point,o=function(e,t,r){var n=e.axis;if("virtual"===e.descriptor.mode)return He(n.line,t[n.line]);var i=e.subject.page.contentBox[n.size],o=at(e.descriptor.id,r).reduce((function(e,t){return e+t.client.marginBox[n.size]}),0)+t[n.line]-i;return o<=0?null:He(n.line,o)}(e,i,r),a={placeholderSize:i,increasedBy:o,oldFrameMaxScroll:e.frame?e.frame.scroll.max:null};if(!n)return d({},e,{subject:Xe({page:e.subject.page,withPlaceholder:a,axis:e.axis,frame:e.frame})});var c=o?ke(n.scroll.max,o):n.scroll.max,l=qt(n,c);return d({},e,{subject:Xe({page:e.subject.page,withPlaceholder:a,axis:e.axis,frame:l}),frame:l})},zt=function(e){var t=e.isMovingForward,r=e.previousPageBorderBoxCenter,n=e.draggable,i=e.isOver,o=e.draggables,a=e.droppables,c=e.viewport,l=e.afterCritical,u=function(e){var t=e.isMovingForward,r=e.pageBorderBoxCenter,n=e.source,i=e.droppables,o=e.viewport,a=n.subject.active;if(!a)return null;var c=n.axis,l=gt(a[c.start],a[c.end]),u=it(i).filter((function(e){return e!==n})).filter((function(e){return e.isEnabled})).filter((function(e){return Boolean(e.subject.active)})).filter((function(e){return bt(o.frame)(Ft(e))})).filter((function(e){var r=Ft(e);return t?a[c.crossAxisEnd]<r[c.crossAxisEnd]:r[c.crossAxisStart]<a[c.crossAxisStart]})).filter((function(e){var t=Ft(e),r=gt(t[c.start],t[c.end]);return l(t[c.start])||l(t[c.end])||r(a[c.start])||r(a[c.end])})).sort((function(e,r){var n=Ft(e)[c.crossAxisStart],i=Ft(r)[c.crossAxisStart];return t?n-i:i-n})).filter((function(e,t,r){return Ft(e)[c.crossAxisStart]===Ft(r[0])[c.crossAxisStart]}));if(!u.length)return null;if(1===u.length)return u[0];var s=u.filter((function(e){return gt(Ft(e)[c.start],Ft(e)[c.end])(r[c.line])}));return 1===s.length?s[0]:s.length>1?s.sort((function(e,t){return Ft(e)[c.start]-Ft(t)[c.start]}))[0]:u.sort((function(e,t){var n=Ve(r,Ye(Ft(e))),i=Ve(r,Ye(Ft(t)));return n!==i?n-i:Ft(e)[c.start]-Ft(t)[c.start]}))[0]}({isMovingForward:t,pageBorderBoxCenter:r,source:i,droppables:a,viewport:c});if(!u)return null;var s=at(u.descriptor.id,o),d=function(e){var t=e.previousPageBorderBoxCenter,r=e.moveRelativeTo,n=e.insideDestination,i=e.draggable,o=e.draggables,a=e.destination,c=e.viewport,l=e.afterCritical;if(!r){if(n.length)return null;var u={displaced:pt,displacedBy:dt,at:{type:"REORDER",destination:{droppableId:a.descriptor.id,index:0}}},s=jt({impact:u,draggable:i,droppable:a,draggables:o,afterCritical:l}),d=st(i,a)?a:Vt(a,i,o);return _t({draggable:i,destination:d,newPageBorderBoxCenter:s,viewport:c.frame,withDroppableDisplacement:!1,onlyOnMainAxis:!0})?u:null}var p,f=Boolean(t[a.axis.line]<=r.page.borderBox.center[a.axis.line]),g=(p=r.descriptor.index,r.descriptor.id===i.descriptor.id||f?p:p+1),b=Ht(a.axis,i.displaceBy);return Ot({draggable:i,insideDestination:n,destination:a,viewport:c,displacedBy:b,last:pt,index:g})}({previousPageBorderBoxCenter:r,destination:u,draggable:n,draggables:o,moveRelativeTo:function(e){var t=e.pageBorderBoxCenter,r=e.viewport,n=e.destination,i=e.insideDestination,o=e.afterCritical;return i.filter((function(e){return It({target:Ut(e,o),destination:n,viewport:r.frame,withDroppableDisplacement:!0})})).sort((function(e,r){var i=qe(t,Tt(n,Wt(e,o))),a=qe(t,Tt(n,Wt(r,o)));return i<a?-1:a<i?1:e.descriptor.index-r.descriptor.index}))[0]||null}({pageBorderBoxCenter:r,viewport:c,destination:u,insideDestination:s,afterCritical:l}),insideDestination:s,viewport:c,afterCritical:l});if(!d)return null;var p=jt({impact:d,draggable:n,droppable:u,draggables:o,afterCritical:l});return{clientSelection:Gt({pageBorderBoxCenter:p,draggable:n,viewport:c}),impact:d,scrollJumpRequest:null}},$t=function(e){var t=e.at;return t?"REORDER"===t.type?t.destination.droppableId:t.combine.droppableId:null},Yt=function(e){var t=e.state,r=e.type,n=function(e,t){var r=$t(e);return r?t[r]:null}(t.impact,t.dimensions.droppables),i=Boolean(n),o=t.dimensions.droppables[t.critical.droppable.id],a=n||o,c=a.axis.direction,l="vertical"===c&&("MOVE_UP"===r||"MOVE_DOWN"===r)||"horizontal"===c&&("MOVE_LEFT"===r||"MOVE_RIGHT"===r);if(l&&!i)return null;var u="MOVE_DOWN"===r||"MOVE_RIGHT"===r,s=t.dimensions.draggables[t.critical.draggable.id],d=t.current.page.borderBoxCenter,p=t.dimensions,f=p.draggables,g=p.droppables;return l?kt({isMovingForward:u,previousPageBorderBoxCenter:d,draggable:s,destination:a,draggables:f,viewport:t.viewport,previousClientSelection:t.current.client.selection,previousImpact:t.impact,afterCritical:t.afterCritical}):zt({isMovingForward:u,previousPageBorderBoxCenter:d,draggable:s,isOver:a,draggables:f,droppables:g,viewport:t.viewport,afterCritical:t.afterCritical})};function Jt(e){return"DRAGGING"===e.phase||"COLLECTING"===e.phase}function Xt(e){var t=gt(e.top,e.bottom),r=gt(e.left,e.right);return function(e){return t(e.y)&&r(e.x)}}function Kt(e){var t=e.pageBorderBox,r=e.draggable,n=e.droppables,i=it(n).filter((function(e){if(!e.isEnabled)return!1;var r,n,i=e.subject.active;if(!i)return!1;if(n=i,!((r=t).left<n.right&&r.right>n.left&&r.top<n.bottom&&r.bottom>n.top))return!1;if(Xt(i)(t.center))return!0;var o=e.axis,a=i.center[o.crossAxisLine],c=t[o.crossAxisStart],l=t[o.crossAxisEnd],u=gt(i[o.crossAxisStart],i[o.crossAxisEnd]),s=u(c),d=u(l);return!s&&!d||(s?c<a:l>a)}));return i.length?1===i.length?i[0].descriptor.id:function(e){var t=e.pageBorderBox,r=e.draggable,n=e.candidates,i=r.page.borderBox.center,o=n.map((function(e){var r=e.axis,n=He(e.axis.line,t.center[r.line],e.page.borderBox.center[r.crossAxisLine]);return{id:e.descriptor.id,distance:qe(i,n)}})).sort((function(e,t){return t.distance-e.distance}));return o[0]?o[0].id:null}({pageBorderBox:t,draggable:r,candidates:i}):null}var Qt=function(e,t){return de($e(e,t))};function Zt(e){var t=e.displaced,r=e.id;return Boolean(t.visible[r]||t.invisible[r])}var er=function(e){var t=e.pageOffset,r=e.draggable,n=e.draggables,i=e.droppables,o=e.previousImpact,a=e.viewport,c=e.afterCritical,l=Qt(r.page.borderBox,t),u=Kt({pageBorderBox:l,draggable:r,droppables:i});if(!u)return ft;var s,d,p=i[u],f=at(p.descriptor.id,n),g=(s=l,(d=p.frame)?Qt(s,d.scroll.diff.value):s);return function(e){var t=e.draggable,r=e.pageBorderBoxWithDroppableScroll,n=e.previousImpact,i=e.destination,o=e.insideDestination,a=e.afterCritical;if(!i.isCombineEnabled)return null;var c=i.axis,l=Ht(i.axis,t.displaceBy),u=l.value,s=r[c.start],d=r[c.end],p=et(ut(t,o),(function(e){var t=e.descriptor.id,r=e.page.borderBox,i=r[c.size]/4,o=Et(t,a),l=Zt({displaced:n.displaced,id:t});return o?l?d>r[c.start]+i&&d<r[c.end]-i:s>r[c.start]-u+i&&s<r[c.end]-u-i:l?d>r[c.start]+u+i&&d<r[c.end]+u-i:s>r[c.start]+i&&s<r[c.end]-i}));return p?{displacedBy:l,displaced:n.displaced,at:{type:"COMBINE",combine:{draggableId:p.descriptor.id,droppableId:i.descriptor.id}}}:null}({pageBorderBoxWithDroppableScroll:g,draggable:r,previousImpact:o,destination:p,insideDestination:f,afterCritical:c})||function(e){var t=e.pageBorderBoxWithDroppableScroll,r=e.draggable,n=e.destination,i=e.insideDestination,o=e.last,a=e.viewport,c=e.afterCritical,l=n.axis,u=Ht(n.axis,r.displaceBy),s=u.value,d=t[l.start],p=t[l.end],f=function(e){var t=e.draggable,r=e.closest,n=e.inHomeList;return r?n&&r.descriptor.index>t.descriptor.index?r.descriptor.index-1:r.descriptor.index:null}({draggable:r,closest:et(ut(r,i),(function(e){var t=e.descriptor.id,r=e.page.borderBox.center[l.line],n=Et(t,c),i=Zt({displaced:o,id:t});return n?i?p<=r:d<r-s:i?p<=r+s:d<r})),inHomeList:st(r,n)});return Ot({draggable:r,insideDestination:i,destination:n,viewport:a,last:o,displacedBy:u,index:f})}({pageBorderBoxWithDroppableScroll:g,draggable:r,destination:p,insideDestination:f,last:o.displaced,viewport:a,afterCritical:c})},tr=function(e,t){var r;return d({},e,((r={})[t.descriptor.id]=t,r))},rr=function(e){var t=e.previousImpact,r=e.impact,n=e.droppables,i=$t(t),o=$t(r);if(!i)return n;if(i===o)return n;var a=n[i];if(!a.subject.withPlaceholder)return n;var c=function(e){var t=e.subject.withPlaceholder;t||Se(!1);var r=e.frame;if(!r)return d({},e,{subject:Xe({page:e.subject.page,axis:e.axis,frame:null,withPlaceholder:null})});var n=t.oldFrameMaxScroll;n||Se(!1);var i=qt(r,n);return d({},e,{subject:Xe({page:e.subject.page,axis:e.axis,frame:i,withPlaceholder:null}),frame:i})}(a);return tr(n,c)},nr=function(e){var t=e.state,r=e.clientSelection,n=e.dimensions,i=e.viewport,o=e.impact,a=e.scrollJumpRequest,c=i||t.viewport,l=n||t.dimensions,u=r||t.current.client.selection,s=Fe(u,t.initial.client.selection),p={offset:s,selection:u,borderBoxCenter:ke(t.initial.client.borderBoxCenter,s)},f={selection:ke(p.selection,c.scroll.current),borderBoxCenter:ke(p.borderBoxCenter,c.scroll.current),offset:ke(p.offset,c.scroll.diff.value)},g={client:p,page:f};if("COLLECTING"===t.phase)return d({phase:"COLLECTING"},t,{dimensions:l,viewport:c,current:g});var b=l.draggables[t.critical.draggable.id],v=o||er({pageOffset:f.offset,draggable:b,draggables:l.draggables,droppables:l.droppables,previousImpact:t.impact,viewport:c,afterCritical:t.afterCritical}),m=function(e){var t=e.draggable,r=e.draggables,n=e.droppables,i=e.previousImpact,o=e.impact,a=rr({previousImpact:i,impact:o,droppables:n}),c=$t(o);if(!c)return a;var l=n[c];if(st(t,l))return a;if(l.subject.withPlaceholder)return a;var u=Vt(l,t,r);return tr(a,u)}({draggable:b,impact:v,previousImpact:t.impact,draggables:l.draggables,droppables:l.droppables});return d({},t,{current:g,dimensions:{draggables:l.draggables,droppables:m},impact:v,viewport:c,scrollJumpRequest:a||null,forceShouldAnimate:!a&&null})};var ir=function(e){var t=e.impact,r=e.viewport,n=e.draggables,i=e.destination,o=e.forceShouldAnimate,a=t.displaced;return d({},t,{displaced:Dt({afterDragging:function(e,t){return e.map((function(e){return t[e]}))}(a.all,n),destination:i,displacedBy:t.displacedBy,viewport:r.frame,forceShouldAnimate:o,last:a})})},or=function(e){var t=e.impact,r=e.draggable,n=e.droppable,i=e.draggables,o=e.viewport,a=e.afterCritical,c=jt({impact:t,draggable:r,draggables:i,droppable:n,afterCritical:a});return Gt({pageBorderBoxCenter:c,draggable:r,viewport:o})},ar=function(e){var t=e.state,r=e.dimensions,n=e.viewport;"SNAP"!==t.movementMode&&Se(!1);var i=t.impact,o=n||t.viewport,a=r||t.dimensions,c=a.draggables,l=a.droppables,u=c[t.critical.draggable.id],s=$t(i);s||Se(!1);var d=l[s],p=ir({impact:i,viewport:o,destination:d,draggables:c}),f=or({impact:p,draggable:u,droppable:d,draggables:c,viewport:o,afterCritical:t.afterCritical});return nr({impact:p,clientSelection:f,state:t,dimensions:a,viewport:o})},cr=function(e){var t=e.draggable,r=e.home,n=e.draggables,i=e.viewport,o=Ht(r.axis,t.displaceBy),a=at(r.descriptor.id,n),c=a.indexOf(t);-1===c&&Se(!1);var l,u=a.slice(c+1),s=u.reduce((function(e,t){return e[t.descriptor.id]=!0,e}),{}),d={inVirtualList:"virtual"===r.descriptor.mode,displacedBy:o,effected:s};return{impact:{displaced:Dt({afterDragging:u,destination:r,displacedBy:o,last:null,viewport:i.frame,forceShouldAnimate:!1}),displacedBy:o,at:{type:"REORDER",destination:(l=t.descriptor,{index:l.index,droppableId:l.droppableId})}},afterCritical:d}},lr=function(e){0},ur=function(e){0},sr=function(e){var t=e.additions,r=e.updatedDroppables,n=e.viewport,i=n.scroll.diff.value;return t.map((function(e){var t=e.descriptor.droppableId,o=function(e){var t=e.frame;return t||Se(!1),t}(r[t]).scroll.diff.value;return function(e){var t=e.draggable,r=e.offset,n=e.initialWindowScroll,i=me(t.client,r),o=he(i,n);return d({},t,{placeholder:d({},t.placeholder,{client:i}),client:i,page:o})}({draggable:e,offset:ke(i,o),initialWindowScroll:n.scroll.initial})}))},dr=function(e){return"SNAP"===e.movementMode},pr=function(e,t,r){var n=function(e,t){return{draggables:e.draggables,droppables:tr(e.droppables,t)}}(e.dimensions,t);return!dr(e)||r?nr({state:e,dimensions:n}):ar({state:e,dimensions:n})};function fr(e){return e.isDragging&&"SNAP"===e.movementMode?d({phase:"DRAGGING"},e,{scrollJumpRequest:null}):e}var gr={phase:"IDLE",completed:null,shouldFlush:!1},br=function(e,t){if(void 0===e&&(e=gr),"FLUSH"===t.type)return d({},gr,{shouldFlush:!0});if("INITIAL_PUBLISH"===t.type){"IDLE"!==e.phase&&Se(!1);var r=t.payload,n=r.critical,i=r.clientSelection,o=r.viewport,a=r.dimensions,c=r.movementMode,l=a.draggables[n.draggable.id],u=a.droppables[n.droppable.id],s={selection:i,borderBoxCenter:l.client.borderBox.center,offset:_e},p={client:s,page:{selection:ke(s.selection,o.scroll.initial),borderBoxCenter:ke(s.selection,o.scroll.initial),offset:ke(s.selection,o.scroll.diff.value)}},f=it(a.droppables).every((function(e){return!e.isFixedOnPage})),g=cr({draggable:l,home:u,draggables:a.draggables,viewport:o}),b=g.impact;return{phase:"DRAGGING",isDragging:!0,critical:n,movementMode:c,dimensions:a,initial:p,current:p,isWindowScrollAllowed:f,impact:b,afterCritical:g.afterCritical,onLiftImpact:b,viewport:o,scrollJumpRequest:null,forceShouldAnimate:null}}if("COLLECTION_STARTING"===t.type)return"COLLECTING"===e.phase||"DROP_PENDING"===e.phase?e:("DRAGGING"!==e.phase&&Se(!1),d({phase:"COLLECTING"},e,{phase:"COLLECTING"}));if("PUBLISH_WHILE_DRAGGING"===t.type)return"COLLECTING"!==e.phase&&"DROP_PENDING"!==e.phase&&Se(!1),function(e){var t=e.state,r=e.published;lr();var n=r.modified.map((function(e){var r=t.dimensions.droppables[e.droppableId];return Ke(r,e.scroll)})),i=d({},t.dimensions.droppables,{},rt(n)),o=nt(sr({additions:r.additions,updatedDroppables:i,viewport:t.viewport})),a=d({},t.dimensions.draggables,{},o);r.removals.forEach((function(e){delete a[e]}));var c={droppables:i,draggables:a},l=$t(t.impact),u=l?c.droppables[l]:null,s=c.draggables[t.critical.draggable.id],p=c.droppables[t.critical.droppable.id],f=cr({draggable:s,home:p,draggables:a,viewport:t.viewport}),g=f.impact,b=f.afterCritical,v=u&&u.isCombineEnabled?t.impact:g,m=er({pageOffset:t.current.page.offset,draggable:c.draggables[t.critical.draggable.id],draggables:c.draggables,droppables:c.droppables,previousImpact:v,viewport:t.viewport,afterCritical:b});ur();var h=d({phase:"DRAGGING"},t,{phase:"DRAGGING",impact:m,onLiftImpact:g,dimensions:c,afterCritical:b,forceShouldAnimate:!1});return"COLLECTING"===t.phase?h:d({phase:"DROP_PENDING"},h,{phase:"DROP_PENDING",reason:t.reason,isWaiting:!1})}({state:e,published:t.payload});if("MOVE"===t.type){if("DROP_PENDING"===e.phase)return e;Jt(e)||Se(!1);var v=t.payload.client;return We(v,e.current.client.selection)?e:nr({state:e,clientSelection:v,impact:dr(e)?e.impact:null})}if("UPDATE_DROPPABLE_SCROLL"===t.type){if("DROP_PENDING"===e.phase)return fr(e);if("COLLECTING"===e.phase)return fr(e);Jt(e)||Se(!1);var m=t.payload,h=m.id,y=m.newScroll,x=e.dimensions.droppables[h];if(!x)return e;var I=Ke(x,y);return pr(e,I,!1)}if("UPDATE_DROPPABLE_IS_ENABLED"===t.type){if("DROP_PENDING"===e.phase)return e;Jt(e)||Se(!1);var D=t.payload,w=D.id,O=D.isEnabled,E=e.dimensions.droppables[w];E||Se(!1),E.isEnabled===O&&Se(!1);var C=d({},E,{isEnabled:O});return pr(e,C,!0)}if("UPDATE_DROPPABLE_IS_COMBINE_ENABLED"===t.type){if("DROP_PENDING"===e.phase)return e;Jt(e)||Se(!1);var P=t.payload,S=P.id,A=P.isCombineEnabled,N=e.dimensions.droppables[S];N||Se(!1),N.isCombineEnabled===A&&Se(!1);var R=d({},N,{isCombineEnabled:A});return pr(e,R,!0)}if("MOVE_BY_WINDOW_SCROLL"===t.type){if("DROP_PENDING"===e.phase||"DROP_ANIMATING"===e.phase)return e;Jt(e)||Se(!1),e.isWindowScrollAllowed||Se(!1);var B=t.payload.newScroll;if(We(e.viewport.scroll.current,B))return fr(e);var T=Lt(e.viewport,B);return dr(e)?ar({state:e,viewport:T}):nr({state:e,viewport:T})}if("UPDATE_VIEWPORT_MAX_SCROLL"===t.type){if(!Jt(e))return e;var j=t.payload.maxScroll;if(We(j,e.viewport.scroll.max))return e;var L=d({},e.viewport,{scroll:d({},e.viewport.scroll,{max:j})});return d({phase:"DRAGGING"},e,{viewport:L})}if("MOVE_UP"===t.type||"MOVE_DOWN"===t.type||"MOVE_LEFT"===t.type||"MOVE_RIGHT"===t.type){if("COLLECTING"===e.phase||"DROP_PENDING"===e.phase)return e;"DRAGGING"!==e.phase&&Se(!1);var M=Yt({state:e,type:t.type});return M?nr({state:e,impact:M.impact,clientSelection:M.clientSelection,scrollJumpRequest:M.scrollJumpRequest}):e}if("DROP_PENDING"===t.type){var G=t.payload.reason;return"COLLECTING"!==e.phase&&Se(!1),d({phase:"DROP_PENDING"},e,{phase:"DROP_PENDING",isWaiting:!0,reason:G})}if("DROP_ANIMATE"===t.type){var _=t.payload,k=_.completed,F=_.dropDuration,W=_.newHomeClientOffset;return"DRAGGING"!==e.phase&&"DROP_PENDING"!==e.phase&&Se(!1),{phase:"DROP_ANIMATING",completed:k,dropDuration:F,newHomeClientOffset:W,dimensions:e.dimensions}}return"DROP_COMPLETE"===t.type?{phase:"IDLE",completed:t.payload.completed,shouldFlush:!1}:e},vr=function(e){return{type:"PUBLISH_WHILE_DRAGGING",payload:e}},mr=function(){return{type:"COLLECTION_STARTING",payload:null}},hr=function(e){return{type:"UPDATE_DROPPABLE_SCROLL",payload:e}},yr=function(e){return{type:"UPDATE_DROPPABLE_IS_ENABLED",payload:e}},xr=function(e){return{type:"UPDATE_DROPPABLE_IS_COMBINE_ENABLED",payload:e}},Ir=function(e){return{type:"MOVE",payload:e}},Dr=function(){return{type:"MOVE_UP",payload:null}},wr=function(){return{type:"MOVE_DOWN",payload:null}},Or=function(){return{type:"MOVE_RIGHT",payload:null}},Er=function(){return{type:"MOVE_LEFT",payload:null}},Cr=function(e){return{type:"DROP_COMPLETE",payload:e}},Pr=function(e){return{type:"DROP",payload:e}},Sr=function(){return{type:"DROP_ANIMATION_FINISHED",payload:null}};var Ar="cubic-bezier(.2,1,.1,1)",Nr={drop:0,combining:.7},Rr={drop:.75},Br=.2+"s "+"cubic-bezier(0.2, 0, 0, 1)",Tr={fluid:"opacity "+Br,snap:"transform "+Br+", opacity "+Br,drop:function(e){var t=e+"s "+Ar;return"transform "+t+", opacity "+t},outOfTheWay:"transform "+Br,placeholder:"height "+Br+", width "+Br+", margin "+Br},jr=function(e){return We(e,_e)?null:"translate("+e.x+"px, "+e.y+"px)"},Lr=jr,Mr=function(e,t){var r=jr(e);return r?t?r+" scale("+Rr.drop+")":r:null},Gr=.33,_r=.55,kr=_r-Gr,Fr=function(e){var t=e.getState,r=e.dispatch;return function(e){return function(n){if("DROP"===n.type){var i=t(),o=n.payload.reason;if("COLLECTING"!==i.phase){if("IDLE"!==i.phase){"DROP_PENDING"===i.phase&&i.isWaiting&&Se(!1),"DRAGGING"!==i.phase&&"DROP_PENDING"!==i.phase&&Se(!1);var a=i.critical,c=i.dimensions,l=c.draggables[i.critical.draggable.id],u=function(e){var t=e.draggables,r=e.reason,n=e.lastImpact,i=e.home,o=e.viewport,a=e.onLiftImpact;return n.at&&"DROP"===r?"REORDER"===n.at.type?{impact:n,didDropInsideDroppable:!0}:{impact:d({},n,{displaced:pt}),didDropInsideDroppable:!0}:{impact:ir({draggables:t,impact:a,destination:i,viewport:o,forceShouldAnimate:!0}),didDropInsideDroppable:!1}}({reason:o,lastImpact:i.impact,afterCritical:i.afterCritical,onLiftImpact:i.onLiftImpact,home:i.dimensions.droppables[i.critical.droppable.id],viewport:i.viewport,draggables:i.dimensions.draggables}),s=u.impact,p=u.didDropInsideDroppable,f=p?ct(s):null,g=p?lt(s):null,b={index:a.draggable.index,droppableId:a.droppable.id},v={draggableId:l.descriptor.id,type:l.descriptor.type,source:b,reason:o,mode:i.movementMode,destination:f,combine:g},m=function(e){var t=e.impact,r=e.draggable,n=e.dimensions,i=e.viewport,o=e.afterCritical,a=n.draggables,c=n.droppables,l=$t(t),u=l?c[l]:null,s=c[r.descriptor.droppableId],d=or({impact:t,draggable:r,draggables:a,afterCritical:o,droppable:u||s,viewport:i});return Fe(d,r.client.borderBox.center)}({impact:s,draggable:l,dimensions:c,viewport:i.viewport,afterCritical:i.afterCritical}),h={critical:i.critical,afterCritical:i.afterCritical,result:v,impact:s};if(!We(i.current.client.offset,m)||Boolean(v.combine)){var y=function(e){var t=e.current,r=e.destination,n=e.reason,i=qe(t,r);if(i<=0)return Gr;if(i>=1500)return _r;var o=Gr+kr*(i/1500);return Number(("CANCEL"===n?.6*o:o).toFixed(2))}({current:i.current.client.offset,destination:m,reason:o});r(function(e){return{type:"DROP_ANIMATE",payload:e}}({newHomeClientOffset:m,dropDuration:y,completed:h}))}else r(Cr({completed:h}))}}else r(function(e){return{type:"DROP_PENDING",payload:e}}({reason:o}))}else e(n)}}},Wr=function(){return{x:window.pageXOffset,y:window.pageYOffset}};function Ur(e){var t=e.onWindowScroll;var r,n=we((function(){t(Wr())})),i=(r=n,{eventName:"scroll",options:{passive:!0,capture:!1},fn:function(e){e.target!==window&&e.target!==window.document||r()}}),o=Ee;function a(){return o!==Ee}return{start:function(){a()&&Se(!1),o=Ce(window,[i])},stop:function(){a()||Se(!1),n.cancel(),o(),o=Ee},isActive:a}}var Hr=function(e){var t=Ur({onWindowScroll:function(t){e.dispatch({type:"MOVE_BY_WINDOW_SCROLL",payload:{newScroll:t}})}});return function(e){return function(r){t.isActive()||"INITIAL_PUBLISH"!==r.type||t.start(),t.isActive()&&function(e){return"DROP_COMPLETE"===e.type||"DROP_ANIMATE"===e.type||"FLUSH"===e.type}(r)&&t.stop(),e(r)}}},qr=function(){var e=[];return{add:function(t){var r=setTimeout((function(){return function(t){var r=Ze(e,(function(e){return e.timerId===t}));-1===r&&Se(!1),e.splice(r,1)[0].callback()}(r)})),n={timerId:r,callback:t};e.push(n)},flush:function(){if(e.length){var t=[].concat(e);e.length=0,t.forEach((function(e){clearTimeout(e.timerId),e.callback()}))}}}},Vr=function(e,t){lr(),t(),ur()},zr=function(e,t){return{draggableId:e.draggable.id,type:e.droppable.type,source:{droppableId:e.droppable.id,index:e.draggable.index},mode:t}},$r=function(e,t,r,n){if(e){var i=function(e){var t=!1,r=!1,n=setTimeout((function(){r=!0})),i=function(i){t||r||(t=!0,e(i),clearTimeout(n))};return i.wasCalled=function(){return t},i}(r);e(t,{announce:i}),i.wasCalled()||r(n(t))}else r(n(t))},Yr=function(e,t){var r=function(e,t){var r=qr(),n=null,i=function(r){n||Se(!1),n=null,Vr(0,(function(){return $r(e().onDragEnd,r,t,Ge)}))};return{beforeCapture:function(t,r){n&&Se(!1),Vr(0,(function(){var n=e().onBeforeCapture;n&&n({draggableId:t,mode:r})}))},beforeStart:function(t,r){n&&Se(!1),Vr(0,(function(){var n=e().onBeforeDragStart;n&&n(zr(t,r))}))},start:function(i,o){n&&Se(!1);var a=zr(i,o);n={mode:o,lastCritical:i,lastLocation:a.source,lastCombine:null},r.add((function(){Vr(0,(function(){return $r(e().onDragStart,a,t,Le)}))}))},update:function(i,o){var a=ct(o),c=lt(o);n||Se(!1);var l=!function(e,t){if(e===t)return!0;var r=e.draggable.id===t.draggable.id&&e.draggable.droppableId===t.draggable.droppableId&&e.draggable.type===t.draggable.type&&e.draggable.index===t.draggable.index,n=e.droppable.id===t.droppable.id&&e.droppable.type===t.droppable.type;return r&&n}(i,n.lastCritical);l&&(n.lastCritical=i);var u,s,p=(u=n.lastLocation,s=a,!(null==u&&null==s||null!=u&&null!=s&&u.droppableId===s.droppableId&&u.index===s.index));p&&(n.lastLocation=a);var f=!function(e,t){return null==e&&null==t||null!=e&&null!=t&&(e.draggableId===t.draggableId&&e.droppableId===t.droppableId)}(n.lastCombine,c);if(f&&(n.lastCombine=c),l||p||f){var g=d({},zr(i,n.mode),{combine:c,destination:a});r.add((function(){Vr(0,(function(){return $r(e().onDragUpdate,g,t,Me)}))}))}},flush:function(){n||Se(!1),r.flush()},drop:i,abort:function(){if(n){var e=d({},zr(n.lastCritical,n.mode),{combine:null,destination:null,reason:"CANCEL"});i(e)}}}}(e,t);return function(e){return function(t){return function(n){if("BEFORE_INITIAL_CAPTURE"!==n.type){if("INITIAL_PUBLISH"===n.type){var i=n.payload.critical;return r.beforeStart(i,n.payload.movementMode),t(n),void r.start(i,n.payload.movementMode)}if("DROP_COMPLETE"===n.type){var o=n.payload.completed.result;return r.flush(),t(n),void r.drop(o)}if(t(n),"FLUSH"!==n.type){var a=e.getState();"DRAGGING"===a.phase&&r.update(a.critical,a.impact)}else r.abort()}else r.beforeCapture(n.payload.draggableId,n.payload.movementMode)}}}},Jr=function(e){return function(t){return function(r){if("DROP_ANIMATION_FINISHED"===r.type){var n=e.getState();"DROP_ANIMATING"!==n.phase&&Se(!1),e.dispatch(Cr({completed:n.completed}))}else t(r)}}},Xr=function(e){var t=null,r=null;return function(n){return function(i){if("FLUSH"!==i.type&&"DROP_COMPLETE"!==i.type&&"DROP_ANIMATION_FINISHED"!==i.type||(r&&(cancelAnimationFrame(r),r=null),t&&(t(),t=null)),n(i),"DROP_ANIMATE"===i.type){var o={eventName:"scroll",options:{capture:!0,passive:!1,once:!0},fn:function(){"DROP_ANIMATING"===e.getState().phase&&e.dispatch({type:"DROP_ANIMATION_FINISHED",payload:null})}};r=requestAnimationFrame((function(){r=null,t=Ce(window,[o])}))}}}},Kr=function(e){return function(t){return function(r){if(t(r),"PUBLISH_WHILE_DRAGGING"===r.type){var n=e.getState();"DROP_PENDING"===n.phase&&(n.isWaiting||e.dispatch(Pr({reason:n.reason})))}}}},Qr=D,Zr=function(e){var t,r=e.dimensionMarshal,n=e.focusMarshal,i=e.styleMarshal,o=e.getResponders,a=e.announce,c=e.autoScroller;return v(br,Qr(function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return function(e){return function(){var r=e.apply(void 0,arguments),n=function(){throw new Error("Dispatching while constructing your middleware is not allowed. Other middleware would not be applied to this dispatch.")},i={getState:r.getState,dispatch:function(){return n.apply(void 0,arguments)}},o=t.map((function(e){return e(i)}));return I({},r,{dispatch:n=D.apply(void 0,o)(r.dispatch)})}}}((t=i,function(){return function(e){return function(r){"INITIAL_PUBLISH"===r.type&&t.dragging(),"DROP_ANIMATE"===r.type&&t.dropping(r.payload.completed.result.reason),"FLUSH"!==r.type&&"DROP_COMPLETE"!==r.type||t.resting(),e(r)}}}),function(e){return function(){return function(t){return function(r){"DROP_COMPLETE"!==r.type&&"FLUSH"!==r.type&&"DROP_ANIMATE"!==r.type||e.stopPublishing(),t(r)}}}}(r),function(e){return function(t){var r=t.getState,n=t.dispatch;return function(t){return function(i){if("LIFT"===i.type){var o=i.payload,a=o.id,c=o.clientSelection,l=o.movementMode,u=r();"DROP_ANIMATING"===u.phase&&n(Cr({completed:u.completed})),"IDLE"!==r().phase&&Se(!1),n({type:"FLUSH",payload:null}),n({type:"BEFORE_INITIAL_CAPTURE",payload:{draggableId:a,movementMode:l}});var s={draggableId:a,scrollOptions:{shouldPublishImmediately:"SNAP"===l}},d=e.startPublishing(s),p=d.critical,f=d.dimensions,g=d.viewport;n(function(e){return{type:"INITIAL_PUBLISH",payload:e}}({critical:p,dimensions:f,clientSelection:c,movementMode:l,viewport:g}))}else t(i)}}}}(r),Fr,Jr,Xr,Kr,function(e){return function(t){return function(r){return function(n){if(function(e){return"DROP_COMPLETE"===e.type||"DROP_ANIMATE"===e.type||"FLUSH"===e.type}(n))return e.stop(),void r(n);if("INITIAL_PUBLISH"===n.type){r(n);var i=t.getState();return"DRAGGING"!==i.phase&&Se(!1),void e.start(i)}r(n),e.scroll(t.getState())}}}}(c),Hr,function(e){var t=!1;return function(){return function(r){return function(n){if("INITIAL_PUBLISH"===n.type)return t=!0,e.tryRecordFocus(n.payload.critical.draggable.id),r(n),void e.tryRestoreFocusRecorded();if(r(n),t){if("FLUSH"===n.type)return t=!1,void e.tryRestoreFocusRecorded();if("DROP_COMPLETE"===n.type){t=!1;var i=n.payload.completed.result;i.combine&&e.tryShiftRecord(i.draggableId,i.combine.draggableId),e.tryRestoreFocusRecorded()}}}}}}(n),Yr(o,a))))};var en=function(e){var t=e.scrollHeight,r=e.scrollWidth,n=e.height,i=e.width,o=Fe({x:r,y:t},{x:i,y:n});return{x:Math.max(0,o.x),y:Math.max(0,o.y)}},tn=function(){var e=document.documentElement;return e||Se(!1),e},rn=function(){var e=tn();return en({scrollHeight:e.scrollHeight,scrollWidth:e.scrollWidth,width:e.clientWidth,height:e.clientHeight})},nn=function(e){var t=e.critical,r=e.scrollOptions,n=e.registry;lr();var i,o,a,c,l,u,s,d=(i=Wr(),o=rn(),a=i.y,c=i.x,l=tn(),u=l.clientWidth,s=l.clientHeight,{frame:de({top:a,left:c,right:c+u,bottom:a+s}),scroll:{initial:i,current:i,max:o,diff:{value:_e,displacement:_e}}}),p=d.scroll.current,f=t.droppable,g=n.droppable.getAllByType(f.type).map((function(e){return e.callbacks.getDimensionAndWatchScroll(p,r)})),b=n.draggable.getAllByType(t.draggable.type).map((function(e){return e.getDimension(p)})),v={draggables:nt(b),droppables:rt(g)};return ur(),{dimensions:v,critical:t,viewport:d}};function on(e,t,r){return r.descriptor.id!==t.id&&(r.descriptor.type===t.type&&"virtual"===e.droppable.getById(r.descriptor.droppableId).descriptor.mode)}var an,cn,ln=function(e,t){var r=null,n=function(e){var t=e.registry,r=e.callbacks,n={additions:{},removals:{},modified:{}},i=null,o=function(){i||(r.collectionStarting(),i=requestAnimationFrame((function(){i=null,lr();var e=n,o=e.additions,a=e.removals,c=e.modified,l=Object.keys(o).map((function(e){return t.draggable.getById(e).getDimension(_e)})).sort((function(e,t){return e.descriptor.index-t.descriptor.index})),u=Object.keys(c).map((function(e){return{droppableId:e,scroll:t.droppable.getById(e).callbacks.getScrollWhileDragging()}})),s={additions:l,removals:Object.keys(a),modified:u};n={additions:{},removals:{},modified:{}},ur(),r.publish(s)})))};return{add:function(e){var t=e.descriptor.id;n.additions[t]=e,n.modified[e.descriptor.droppableId]=!0,n.removals[t]&&delete n.removals[t],o()},remove:function(e){var t=e.descriptor;n.removals[t.id]=!0,n.modified[t.droppableId]=!0,n.additions[t.id]&&delete n.additions[t.id],o()},stop:function(){i&&(cancelAnimationFrame(i),i=null,n={additions:{},removals:{},modified:{}})}}}({callbacks:{publish:t.publishWhileDragging,collectionStarting:t.collectionStarting},registry:e}),i=function(t){r||Se(!1);var i=r.critical.draggable;"ADDITION"===t.type&&on(e,i,t.value)&&n.add(t.value),"REMOVAL"===t.type&&on(e,i,t.value)&&n.remove(t.value)};return{updateDroppableIsEnabled:function(n,i){e.droppable.exists(n)||Se(!1),r&&t.updateDroppableIsEnabled({id:n,isEnabled:i})},updateDroppableIsCombineEnabled:function(n,i){r&&(e.droppable.exists(n)||Se(!1),t.updateDroppableIsCombineEnabled({id:n,isCombineEnabled:i}))},scrollDroppable:function(t,n){r&&e.droppable.getById(t).callbacks.scroll(n)},updateDroppableScroll:function(n,i){r&&(e.droppable.exists(n)||Se(!1),t.updateDroppableScroll({id:n,newScroll:i}))},startPublishing:function(t){r&&Se(!1);var n=e.draggable.getById(t.draggableId),o=e.droppable.getById(n.descriptor.droppableId),a={draggable:n.descriptor,droppable:o.descriptor},c=e.subscribe(i);return r={critical:a,unsubscribe:c},nn({critical:a,registry:e,scrollOptions:t.scrollOptions})},stopPublishing:function(){if(r){n.stop();var t=r.critical.droppable;e.droppable.getAllByType(t.type).forEach((function(e){return e.callbacks.dragStopped()})),r.unsubscribe(),r=null}}}},un=function(e,t){return"IDLE"===e.phase||"DROP_ANIMATING"===e.phase&&(e.completed.result.draggableId!==t&&"DROP"===e.completed.result.reason)},sn=function(e){window.scrollBy(e.x,e.y)},dn=De((function(e){return it(e).filter((function(e){return!!e.isEnabled&&!!e.frame}))})),pn=function(e){var t=e.center,r=e.destination,n=e.droppables;if(r){var i=n[r];return i.frame?i:null}return function(e,t){return et(dn(t),(function(t){return t.frame||Se(!1),Xt(t.frame.pageMarginBox)(e)}))}(t,n)},fn=.25,gn=.05,bn=28,vn=function(e){return Math.pow(e,2)},mn={stopDampeningAt:1200,accelerateAt:360},hn=function(e){var t=e.startOfRange,r=e.endOfRange,n=e.current,i=r-t;return 0===i?0:(n-t)/i},yn=mn.accelerateAt,xn=mn.stopDampeningAt,In=function(e){var t=e.distanceToEdge,r=e.thresholds,n=e.dragStartTime,i=e.shouldUseTimeDampening,o=function(e,t){if(e>t.startScrollingFrom)return 0;if(e<=t.maxScrollValueAt)return bn;if(e===t.startScrollingFrom)return 1;var r=hn({startOfRange:t.maxScrollValueAt,endOfRange:t.startScrollingFrom,current:e}),n=bn*vn(1-r);return Math.ceil(n)}(t,r);return 0===o?0:i?Math.max(function(e,t){var r=t,n=xn,i=Date.now()-r;if(i>=xn)return e;if(i<yn)return 1;var o=hn({startOfRange:yn,endOfRange:n,current:i}),a=e*vn(o);return Math.ceil(a)}(o,n),1):o},Dn=function(e){var t=e.container,r=e.distanceToEdges,n=e.dragStartTime,i=e.axis,o=e.shouldUseTimeDampening,a=function(e,t){return{startScrollingFrom:e[t.size]*fn,maxScrollValueAt:e[t.size]*gn}}(t,i);return r[i.end]<r[i.start]?In({distanceToEdge:r[i.end],thresholds:a,dragStartTime:n,shouldUseTimeDampening:o}):-1*In({distanceToEdge:r[i.start],thresholds:a,dragStartTime:n,shouldUseTimeDampening:o})},wn=ze((function(e){return 0===e?0:e})),On=function(e){var t=e.dragStartTime,r=e.container,n=e.subject,i=e.center,o=e.shouldUseTimeDampening,a={top:i.y-r.top,right:r.right-i.x,bottom:r.bottom-i.y,left:i.x-r.left},c=Dn({container:r,distanceToEdges:a,dragStartTime:t,axis:mt,shouldUseTimeDampening:o}),l=Dn({container:r,distanceToEdges:a,dragStartTime:t,axis:ht,shouldUseTimeDampening:o}),u=wn({x:l,y:c});if(We(u,_e))return null;var s=function(e){var t=e.container,r=e.subject,n=e.proposedScroll,i=r.height>t.height,o=r.width>t.width;return o||i?o&&i?null:{x:o?0:n.x,y:i?0:n.y}:n}({container:r,subject:n,proposedScroll:u});return s?We(s,_e)?null:s:null},En=ze((function(e){return 0===e?0:e>0?1:-1})),Cn=(an=function(e,t){return e<0?e:e>t?e-t:0},function(e){var t=e.current,r=e.max,n=e.change,i=ke(t,n),o={x:an(i.x,r.x),y:an(i.y,r.y)};return We(o,_e)?null:o}),Pn=function(e){var t=e.max,r=e.current,n=e.change,i={x:Math.max(r.x,t.x),y:Math.max(r.y,t.y)},o=En(n),a=Cn({max:i,current:r,change:o});return!a||(0!==o.x&&0===a.x||0!==o.y&&0===a.y)},Sn=function(e,t){return Pn({current:e.scroll.current,max:e.scroll.max,change:t})},An=function(e,t){var r=e.frame;return!!r&&Pn({current:r.scroll.current,max:r.scroll.max,change:t})},Nn=function(e){var t=e.state,r=e.dragStartTime,n=e.shouldUseTimeDampening,i=e.scrollWindow,o=e.scrollDroppable,a=t.current.page.borderBoxCenter,c=t.dimensions.draggables[t.critical.draggable.id].page.marginBox;if(t.isWindowScrollAllowed){var l=function(e){var t=e.viewport,r=e.subject,n=e.center,i=e.dragStartTime,o=e.shouldUseTimeDampening,a=On({dragStartTime:i,container:t.frame,subject:r,center:n,shouldUseTimeDampening:o});return a&&Sn(t,a)?a:null}({dragStartTime:r,viewport:t.viewport,subject:c,center:a,shouldUseTimeDampening:n});if(l)return void i(l)}var u=pn({center:a,destination:$t(t.impact),droppables:t.dimensions.droppables});if(u){var s=function(e){var t=e.droppable,r=e.subject,n=e.center,i=e.dragStartTime,o=e.shouldUseTimeDampening,a=t.frame;if(!a)return null;var c=On({dragStartTime:i,container:a.pageMarginBox,subject:r,center:n,shouldUseTimeDampening:o});return c&&An(t,c)?c:null}({dragStartTime:r,droppable:u,subject:c,center:a,shouldUseTimeDampening:n});s&&o(u.descriptor.id,s)}},Rn=function(e){var t=e.move,r=e.scrollDroppable,n=e.scrollWindow,i=function(e,t){if(!An(e,t))return t;var n=function(e,t){var r=e.frame;return r&&An(e,t)?Cn({current:r.scroll.current,max:r.scroll.max,change:t}):null}(e,t);if(!n)return r(e.descriptor.id,t),null;var i=Fe(t,n);return r(e.descriptor.id,i),Fe(t,i)},o=function(e,t,r){if(!e)return r;if(!Sn(t,r))return r;var i=function(e,t){if(!Sn(e,t))return null;var r=e.scroll.max,n=e.scroll.current;return Cn({current:n,max:r,change:t})}(t,r);if(!i)return n(r),null;var o=Fe(r,i);return n(o),Fe(r,o)};return function(e){var r=e.scrollJumpRequest;if(r){var n=$t(e.impact);n||Se(!1);var a=i(e.dimensions.droppables[n],r);if(a){var c=e.viewport,l=o(e.isWindowScrollAllowed,c,a);l&&function(e,r){var n=ke(e.current.client.selection,r);t({client:n})}(e,l)}}}},Bn=function(e){var t=e.scrollDroppable,r=e.scrollWindow,n=e.move,i=function(e){var t=e.scrollWindow,r=e.scrollDroppable,n=we(t),i=we(r),o=null,a=function(e){o||Se(!1);var t=o,r=t.shouldUseTimeDampening,a=t.dragStartTime;Nn({state:e,scrollWindow:n,scrollDroppable:i,dragStartTime:a,shouldUseTimeDampening:r})};return{start:function(e){lr(),o&&Se(!1);var t=Date.now(),r=!1,n=function(){r=!0};Nn({state:e,dragStartTime:0,shouldUseTimeDampening:!1,scrollWindow:n,scrollDroppable:n}),o={dragStartTime:t,shouldUseTimeDampening:r},ur(),r&&a(e)},stop:function(){o&&(n.cancel(),i.cancel(),o=null)},scroll:a}}({scrollWindow:r,scrollDroppable:t}),o=Rn({move:n,scrollWindow:r,scrollDroppable:t});return{scroll:function(e){"DRAGGING"===e.phase&&("FLUID"!==e.movementMode?e.scrollJumpRequest&&o(e):i.scroll(e))},start:i.start,stop:i.stop}},Tn={base:cn="data-rbd-drag-handle",draggableId:cn+"-draggable-id",contextId:cn+"-context-id"},jn=function(){var e="data-rbd-draggable";return{base:e,contextId:e+"-context-id",id:e+"-id"}}(),Ln=function(){var e="data-rbd-droppable";return{base:e,contextId:e+"-context-id",id:e+"-id"}}(),Mn={contextId:"data-rbd-scroll-container-context-id"},Gn=function(e,t){return e.map((function(e){var r=e.styles[t];return r?e.selector+" { "+r+" }":""})).join(" ")},_n="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement?l.useLayoutEffect:l.useEffect,kn=function(){var e=document.querySelector("head");return e||Se(!1),e},Fn=function(e){var t=document.createElement("style");return e&&t.setAttribute("nonce",e),t.type="text/css",t};function Wn(e,t){var r=le((function(){return function(e){var t,r,n,i=(t=e,function(e){return"["+e+'="'+t+'"]'}),o=(r="\n      cursor: -webkit-grab;\n      cursor: grab;\n    ",{selector:i(Tn.contextId),styles:{always:"\n          -webkit-touch-callout: none;\n          -webkit-tap-highlight-color: rgba(0,0,0,0);\n          touch-action: manipulation;\n        ",resting:r,dragging:"pointer-events: none;",dropAnimating:r}}),a=[(n="\n      transition: "+Tr.outOfTheWay+";\n    ",{selector:i(jn.contextId),styles:{dragging:n,dropAnimating:n,userCancel:n}}),o,{selector:i(Ln.contextId),styles:{always:"overflow-anchor: none;"}},{selector:"body",styles:{dragging:"\n        cursor: grabbing;\n        cursor: -webkit-grabbing;\n        user-select: none;\n        -webkit-user-select: none;\n        -moz-user-select: none;\n        -ms-user-select: none;\n        overflow-anchor: none;\n      "}}];return{always:Gn(a,"always"),resting:Gn(a,"resting"),dragging:Gn(a,"dragging"),dropAnimating:Gn(a,"dropAnimating"),userCancel:Gn(a,"userCancel")}}(e)}),[e]),n=Object(l.useRef)(null),i=Object(l.useRef)(null),o=ue(De((function(e){var t=i.current;t||Se(!1),t.textContent=e})),[]),a=ue((function(e){var t=n.current;t||Se(!1),t.textContent=e}),[]);_n((function(){(n.current||i.current)&&Se(!1);var c=Fn(t),l=Fn(t);return n.current=c,i.current=l,c.setAttribute("data-rbd-always",e),l.setAttribute("data-rbd-dynamic",e),kn().appendChild(c),kn().appendChild(l),a(r.always),o(r.resting),function(){var e=function(e){var t=e.current;t||Se(!1),kn().removeChild(t),e.current=null};e(n),e(i)}}),[t,a,o,r.always,r.resting,e]);var c=ue((function(){return o(r.dragging)}),[o,r.dragging]),u=ue((function(e){o("DROP"!==e?r.userCancel:r.dropAnimating)}),[o,r.dropAnimating,r.userCancel]),s=ue((function(){i.current&&o(r.resting)}),[o,r.resting]);return le((function(){return{dragging:c,dropping:u,resting:s}}),[c,u,s])}var Un=function(e){return e&&e.ownerDocument?e.ownerDocument.defaultView:window};function Hn(e){return e instanceof Un(e).HTMLElement}function qn(e,t){var r="["+Tn.contextId+'="'+e+'"]',n=tt(document.querySelectorAll(r));if(!n.length)return null;var i=et(n,(function(e){return e.getAttribute(Tn.draggableId)===t}));return i&&Hn(i)?i:null}function Vn(){var e={draggables:{},droppables:{}},t=[];function r(e){t.length&&t.forEach((function(t){return t(e)}))}function n(t){return e.draggables[t]||null}function i(t){return e.droppables[t]||null}return{draggable:{register:function(t){e.draggables[t.descriptor.id]=t,r({type:"ADDITION",value:t})},update:function(t,r){var n=e.draggables[r.descriptor.id];n&&n.uniqueId===t.uniqueId&&(delete e.draggables[r.descriptor.id],e.draggables[t.descriptor.id]=t)},unregister:function(t){var i=t.descriptor.id,o=n(i);o&&t.uniqueId===o.uniqueId&&(delete e.draggables[i],r({type:"REMOVAL",value:t}))},getById:function(e){var t=n(e);return t||Se(!1),t},findById:n,exists:function(e){return Boolean(n(e))},getAllByType:function(t){return Qe(e.draggables).filter((function(e){return e.descriptor.type===t}))}},droppable:{register:function(t){e.droppables[t.descriptor.id]=t},unregister:function(t){var r=i(t.descriptor.id);r&&t.uniqueId===r.uniqueId&&delete e.droppables[t.descriptor.id]},getById:function(e){var t=i(e);return t||Se(!1),t},findById:i,exists:function(e){return Boolean(i(e))},getAllByType:function(t){return Qe(e.droppables).filter((function(e){return e.descriptor.type===t}))}},subscribe:function(e){return t.push(e),function(){var r=t.indexOf(e);-1!==r&&t.splice(r,1)}},clean:function(){e.draggables={},e.droppables={},t.length=0}}}var zn=u.a.createContext(null),$n=function(){var e=document.body;return e||Se(!1),e},Yn={position:"absolute",width:"1px",height:"1px",margin:"-1px",border:"0",padding:"0",overflow:"hidden",clip:"rect(0 0 0 0)","clip-path":"inset(100%)"};var Jn=0,Xn={separator:"::"};function Kn(e,t){return void 0===t&&(t=Xn),le((function(){return""+e+t.separator+Jn++}),[t.separator,e])}var Qn=u.a.createContext(null);function Zn(e){0}function ei(e,t){Zn()}function ti(){ei()}function ri(e){var t=Object(l.useRef)(e);return Object(l.useEffect)((function(){t.current=e})),t}var ni,ii=((ni={})[13]=!0,ni[9]=!0,ni),oi=function(e){ii[e.keyCode]&&e.preventDefault()},ai=function(){var e="visibilitychange";return"undefined"==typeof document?e:et([e,"ms"+e,"webkit"+e,"moz"+e,"o"+e],(function(e){return"on"+e in document}))||e}();var ci,li={type:"IDLE"};function ui(e){var t=e.cancel,r=e.completed,n=e.getPhase,i=e.setPhase;return[{eventName:"mousemove",fn:function(e){var t=e.button,r=e.clientX,o=e.clientY;if(0===t){var a={x:r,y:o},c=n();if("DRAGGING"===c.type)return e.preventDefault(),void c.actions.move(a);"PENDING"!==c.type&&Se(!1);var l=c.point;if(u=l,s=a,Math.abs(s.x-u.x)>=5||Math.abs(s.y-u.y)>=5){var u,s;e.preventDefault();var d=c.actions.fluidLift(a);i({type:"DRAGGING",actions:d})}}}},{eventName:"mouseup",fn:function(e){var i=n();"DRAGGING"===i.type?(e.preventDefault(),i.actions.drop({shouldBlockNextClick:!0}),r()):t()}},{eventName:"mousedown",fn:function(e){"DRAGGING"===n().type&&e.preventDefault(),t()}},{eventName:"keydown",fn:function(e){if("PENDING"!==n().type)return 27===e.keyCode?(e.preventDefault(),void t()):void oi(e);t()}},{eventName:"resize",fn:t},{eventName:"scroll",options:{passive:!0,capture:!1},fn:function(){"PENDING"===n().type&&t()}},{eventName:"webkitmouseforcedown",fn:function(e){var r=n();"IDLE"===r.type&&Se(!1),r.actions.shouldRespectForcePress()?t():e.preventDefault()}},{eventName:ai,fn:t}]}function si(){}var di=((ci={})[34]=!0,ci[33]=!0,ci[36]=!0,ci[35]=!0,ci);function pi(e,t){function r(){t(),e.cancel()}return[{eventName:"keydown",fn:function(n){return 27===n.keyCode?(n.preventDefault(),void r()):32===n.keyCode?(n.preventDefault(),t(),void e.drop()):40===n.keyCode?(n.preventDefault(),void e.moveDown()):38===n.keyCode?(n.preventDefault(),void e.moveUp()):39===n.keyCode?(n.preventDefault(),void e.moveRight()):37===n.keyCode?(n.preventDefault(),void e.moveLeft()):void(di[n.keyCode]?n.preventDefault():oi(n))}},{eventName:"mousedown",fn:r},{eventName:"mouseup",fn:r},{eventName:"click",fn:r},{eventName:"touchstart",fn:r},{eventName:"resize",fn:r},{eventName:"wheel",fn:r,options:{passive:!0}},{eventName:ai,fn:r}]}var fi={type:"IDLE"};var gi={input:!0,button:!0,textarea:!0,select:!0,option:!0,optgroup:!0,video:!0,audio:!0};function bi(e,t){var r=t.target;return!!Hn(r)&&function e(t,r){if(null==r)return!1;if(Boolean(gi[r.tagName.toLowerCase()]))return!0;var n=r.getAttribute("contenteditable");return"true"===n||""===n||r!==t&&e(t,r.parentElement)}(e,r)}var vi=function(e){return de(e.getBoundingClientRect()).center};var mi="undefined"==typeof document?"matches":et(["matches","msMatchesSelector","webkitMatchesSelector"],(function(e){return e in Element.prototype}))||"matches";function hi(e,t){return e.closest?e.closest(t):function e(t,r){return null==t?null:t[mi](r)?t:e(t.parentElement,r)}(e,t)}function yi(e,t){var r,n=t.target;if(!((r=n)instanceof Un(r).Element))return null;var i=hi(n,function(e){return"["+Tn.contextId+'="'+e+'"]'}(e));return i&&Hn(i)?i:null}function xi(e){e.preventDefault()}function Ii(e){var t=e.expected,r=e.phase,n=e.isLockActive;e.shouldWarn;return!!n()&&t===r}function Di(e){var t=e.lockAPI,r=e.store,n=e.registry,i=e.draggableId;if(t.isClaimed())return!1;var o=n.draggable.findById(i);return!!o&&(!!o.options.isEnabled&&!!un(r.getState(),i))}function wi(e){var t=e.lockAPI,r=e.contextId,n=e.store,i=e.registry,o=e.draggableId,a=e.forceSensorStop,c=e.sourceEvent;if(!Di({lockAPI:t,store:n,registry:i,draggableId:o}))return null;var l=i.draggable.getById(o),u=function(e,t){var r="["+jn.contextId+'="'+e+'"]',n=et(tt(document.querySelectorAll(r)),(function(e){return e.getAttribute(jn.id)===t}));return n&&Hn(n)?n:null}(r,l.descriptor.id);if(!u)return null;if(c&&!l.options.canDragInteractiveElements&&bi(u,c))return null;var s=t.claim(a||Ee),p="PRE_DRAG";function f(){return l.options.shouldRespectForcePress}function g(){return t.isActive(s)}var b=function(e,t){Ii({expected:e,phase:p,isLockActive:g,shouldWarn:!0})&&n.dispatch(t())}.bind(null,"DRAGGING");function v(e){function r(){t.release(),p="COMPLETED"}function i(t,i){if(void 0===i&&(i={shouldBlockNextClick:!1}),e.cleanup(),i.shouldBlockNextClick){var o=Ce(window,[{eventName:"click",fn:xi,options:{once:!0,passive:!1,capture:!0}}]);setTimeout(o)}r(),n.dispatch(Pr({reason:t}))}return"PRE_DRAG"!==p&&(r(),"PRE_DRAG"!==p&&Se(!1)),n.dispatch(function(e){return{type:"LIFT",payload:e}}(e.liftActionArgs)),p="DRAGGING",d({isActive:function(){return Ii({expected:"DRAGGING",phase:p,isLockActive:g,shouldWarn:!1})},shouldRespectForcePress:f,drop:function(e){return i("DROP",e)},cancel:function(e){return i("CANCEL",e)}},e.actions)}return{isActive:function(){return Ii({expected:"PRE_DRAG",phase:p,isLockActive:g,shouldWarn:!1})},shouldRespectForcePress:f,fluidLift:function(e){var t=we((function(e){b((function(){return Ir({client:e})}))}));return d({},v({liftActionArgs:{id:o,clientSelection:e,movementMode:"FLUID"},cleanup:function(){return t.cancel()},actions:{move:t}}),{move:t})},snapLift:function(){var e={moveUp:function(){return b(Dr)},moveRight:function(){return b(Or)},moveDown:function(){return b(wr)},moveLeft:function(){return b(Er)}};return v({liftActionArgs:{id:o,clientSelection:vi(u),movementMode:"SNAP"},cleanup:Ee,actions:e})},abort:function(){Ii({expected:"PRE_DRAG",phase:p,isLockActive:g,shouldWarn:!0})&&t.release()}}}var Oi=[function(e){var t=Object(l.useRef)(li),r=Object(l.useRef)(Ee),n=le((function(){return{eventName:"mousedown",fn:function(t){if(!t.defaultPrevented&&0===t.button&&!(t.ctrlKey||t.metaKey||t.shiftKey||t.altKey)){var n=e.findClosestDraggableId(t);if(n){var i=e.tryGetLock(n,a,{sourceEvent:t});if(i){t.preventDefault();var o={x:t.clientX,y:t.clientY};r.current(),s(i,o)}}}}}}),[e]),i=le((function(){return{eventName:"webkitmouseforcewillbegin",fn:function(t){if(!t.defaultPrevented){var r=e.findClosestDraggableId(t);if(r){var n=e.findOptionsForDraggable(r);n&&(n.shouldRespectForcePress||e.canGetLock(r)&&t.preventDefault())}}}}}),[e]),o=ue((function(){r.current=Ce(window,[i,n],{passive:!1,capture:!0})}),[i,n]),a=ue((function(){"IDLE"!==t.current.type&&(t.current=li,r.current(),o())}),[o]),c=ue((function(){var e=t.current;a(),"DRAGGING"===e.type&&e.actions.cancel({shouldBlockNextClick:!0}),"PENDING"===e.type&&e.actions.abort()}),[a]),u=ue((function(){var e=ui({cancel:c,completed:a,getPhase:function(){return t.current},setPhase:function(e){t.current=e}});r.current=Ce(window,e,{capture:!0,passive:!1})}),[c,a]),s=ue((function(e,r){"IDLE"!==t.current.type&&Se(!1),t.current={type:"PENDING",point:r,actions:e},u()}),[u]);_n((function(){return o(),function(){r.current()}}),[o])},function(e){var t=Object(l.useRef)(si),r=le((function(){return{eventName:"keydown",fn:function(r){if(!r.defaultPrevented&&32===r.keyCode){var i=e.findClosestDraggableId(r);if(i){var o=e.tryGetLock(i,l,{sourceEvent:r});if(o){r.preventDefault();var a=!0,c=o.snapLift();t.current(),t.current=Ce(window,pi(c,l),{capture:!0,passive:!1})}}}function l(){a||Se(!1),a=!1,t.current(),n()}}}}),[e]),n=ue((function(){t.current=Ce(window,[r],{passive:!1,capture:!0})}),[r]);_n((function(){return n(),function(){t.current()}}),[n])},function(e){var t=Object(l.useRef)(fi),r=Object(l.useRef)(Ee),n=ue((function(){return t.current}),[]),i=ue((function(e){t.current=e}),[]),o=le((function(){return{eventName:"touchstart",fn:function(t){if(!t.defaultPrevented){var n=e.findClosestDraggableId(t);if(n){var i=e.tryGetLock(n,c,{sourceEvent:t});if(i){var o=t.touches[0],a={x:o.clientX,y:o.clientY};r.current(),p(i,a)}}}}}}),[e]),a=ue((function(){r.current=Ce(window,[o],{capture:!0,passive:!1})}),[o]),c=ue((function(){var e=t.current;"IDLE"!==e.type&&("PENDING"===e.type&&clearTimeout(e.longPressTimerId),i(fi),r.current(),a())}),[a,i]),u=ue((function(){var e=t.current;c(),"DRAGGING"===e.type&&e.actions.cancel({shouldBlockNextClick:!0}),"PENDING"===e.type&&e.actions.abort()}),[c]),s=ue((function(){var e={capture:!0,passive:!1},t={cancel:u,completed:c,getPhase:n},i=Ce(window,function(e){var t=e.cancel,r=e.completed,n=e.getPhase;return[{eventName:"touchmove",options:{capture:!1},fn:function(e){var r=n();if("DRAGGING"===r.type){r.hasMoved=!0;var i=e.touches[0],o={x:i.clientX,y:i.clientY};e.preventDefault(),r.actions.move(o)}else t()}},{eventName:"touchend",fn:function(e){var i=n();"DRAGGING"===i.type?(e.preventDefault(),i.actions.drop({shouldBlockNextClick:!0}),r()):t()}},{eventName:"touchcancel",fn:function(e){"DRAGGING"===n().type?(e.preventDefault(),t()):t()}},{eventName:"touchforcechange",fn:function(e){var r=n();"IDLE"===r.type&&Se(!1);var i=e.touches[0];if(i&&i.force>=.15){var o=r.actions.shouldRespectForcePress();if("PENDING"!==r.type)return o?r.hasMoved?void e.preventDefault():void t():void e.preventDefault();o&&t()}}},{eventName:ai,fn:t}]}(t),e),o=Ce(window,function(e){var t=e.cancel,r=e.getPhase;return[{eventName:"orientationchange",fn:t},{eventName:"resize",fn:t},{eventName:"contextmenu",fn:function(e){e.preventDefault()}},{eventName:"keydown",fn:function(e){"DRAGGING"===r().type?(27===e.keyCode&&e.preventDefault(),t()):t()}},{eventName:ai,fn:t}]}(t),e);r.current=function(){i(),o()}}),[u,n,c]),d=ue((function(){var e=n();"PENDING"!==e.type&&Se(!1);var t=e.actions.fluidLift(e.point);i({type:"DRAGGING",actions:t,hasMoved:!1})}),[n,i]),p=ue((function(e,t){"IDLE"!==n().type&&Se(!1);var r=setTimeout(d,120);i({type:"PENDING",point:t,actions:e,longPressTimerId:r}),s()}),[s,n,i,d]);_n((function(){return a(),function(){r.current();var e=n();"PENDING"===e.type&&(clearTimeout(e.longPressTimerId),i(fi))}}),[n,a,i]),_n((function(){return Ce(window,[{eventName:"touchmove",fn:function(){},options:{capture:!1,passive:!1}}])}),[])}];function Ei(e){var t=e.contextId,r=e.store,n=e.registry,i=e.customSensors,o=e.enableDefaultSensors,a=[].concat(o?Oi:[],i||[]),c=Object(l.useState)((function(){return function(){var e=null;function t(){e||Se(!1),e=null}return{isClaimed:function(){return Boolean(e)},isActive:function(t){return t===e},claim:function(t){e&&Se(!1);var r={abandon:t};return e=r,r},release:t,tryAbandon:function(){e&&(e.abandon(),t())}}}()}))[0],u=ue((function(e,t){e.isDragging&&!t.isDragging&&c.tryAbandon()}),[c]);_n((function(){var e=r.getState();return r.subscribe((function(){var t=r.getState();u(e,t),e=t}))}),[c,r,u]),_n((function(){return c.tryAbandon}),[c.tryAbandon]);var s=ue((function(e){return Di({lockAPI:c,registry:n,store:r,draggableId:e})}),[c,n,r]),d=ue((function(e,i,o){return wi({lockAPI:c,registry:n,contextId:t,store:r,draggableId:e,forceSensorStop:i,sourceEvent:o&&o.sourceEvent?o.sourceEvent:null})}),[t,c,n,r]),p=ue((function(e){return function(e,t){var r=yi(e,t);return r?r.getAttribute(Tn.draggableId):null}(t,e)}),[t]),f=ue((function(e){var t=n.draggable.findById(e);return t?t.options:null}),[n.draggable]),g=ue((function(){c.isClaimed()&&(c.tryAbandon(),"IDLE"!==r.getState().phase&&r.dispatch({type:"FLUSH",payload:null}))}),[c,r]),b=ue(c.isClaimed,[c]),v=le((function(){return{canGetLock:s,tryGetLock:d,findClosestDraggableId:p,findOptionsForDraggable:f,tryReleaseLock:g,isLockClaimed:b}}),[s,d,p,f,g,b]);Zn();for(var m=0;m<a.length;m++)a[m](v)}function Ci(e){return e.current||Se(!1),e.current}function Pi(e){var t=e.contextId,r=e.setCallbacks,n=e.sensors,i=e.nonce,o=e.dragHandleUsageInstructions,a=Object(l.useRef)(null);ti();var c=ri(e),s=ue((function(){return function(e){return{onBeforeCapture:e.onBeforeCapture,onBeforeDragStart:e.onBeforeDragStart,onDragStart:e.onDragStart,onDragEnd:e.onDragEnd,onDragUpdate:e.onDragUpdate}}(c.current)}),[c]),p=function(e){var t=le((function(){return function(e){return"rbd-announcement-"+e}(e)}),[e]),r=Object(l.useRef)(null);return Object(l.useEffect)((function(){var e=document.createElement("div");return r.current=e,e.id=t,e.setAttribute("aria-live","assertive"),e.setAttribute("aria-atomic","true"),d(e.style,Yn),$n().appendChild(e),function(){setTimeout((function(){var t=$n();t.contains(e)&&t.removeChild(e),e===r.current&&(r.current=null)}))}}),[t]),ue((function(e){var t=r.current;t&&(t.textContent=e)}),[])}(t),f=function(e){var t=e.contextId,r=e.text,n=Kn("hidden-text",{separator:"-"}),i=le((function(){return"rbd-hidden-text-"+(e={contextId:t,uniqueId:n}).contextId+"-"+e.uniqueId;var e}),[n,t]);return Object(l.useEffect)((function(){var e=document.createElement("div");return e.id=i,e.textContent=r,e.style.display="none",$n().appendChild(e),function(){var t=$n();t.contains(e)&&t.removeChild(e)}}),[i,r]),i}({contextId:t,text:o}),g=Wn(t,i),b=ue((function(e){Ci(a).dispatch(e)}),[]),v=le((function(){return h({publishWhileDragging:vr,updateDroppableScroll:hr,updateDroppableIsEnabled:yr,updateDroppableIsCombineEnabled:xr,collectionStarting:mr},b)}),[b]),m=function(){var e=le(Vn,[]);return Object(l.useEffect)((function(){return function(){requestAnimationFrame(e.clean)}}),[e]),e}(),y=le((function(){return ln(m,v)}),[m,v]),x=le((function(){return Bn(d({scrollWindow:sn,scrollDroppable:y.scrollDroppable},h({move:Ir},b)))}),[y.scrollDroppable,b]),I=function(e){var t=Object(l.useRef)({}),r=Object(l.useRef)(null),n=Object(l.useRef)(null),i=Object(l.useRef)(!1),o=ue((function(e,r){var n={id:e,focus:r};return t.current[e]=n,function(){var r=t.current;r[e]!==n&&delete r[e]}}),[]),a=ue((function(t){var r=qn(e,t);r&&r!==document.activeElement&&r.focus()}),[e]),c=ue((function(e,t){r.current===e&&(r.current=t)}),[]),u=ue((function(){n.current||i.current&&(n.current=requestAnimationFrame((function(){n.current=null;var e=r.current;e&&a(e)})))}),[a]),s=ue((function(e){r.current=null;var t=document.activeElement;t&&t.getAttribute(Tn.draggableId)===e&&(r.current=e)}),[]);return _n((function(){return i.current=!0,function(){i.current=!1;var e=n.current;e&&cancelAnimationFrame(e)}}),[]),le((function(){return{register:o,tryRecordFocus:s,tryRestoreFocusRecorded:u,tryShiftRecord:c}}),[o,s,u,c])}(t),D=le((function(){return Zr({announce:p,autoScroller:x,dimensionMarshal:y,focusMarshal:I,getResponders:s,styleMarshal:g})}),[p,x,y,I,s,g]);a.current=D;var w=ue((function(){var e=Ci(a);"IDLE"!==e.getState().phase&&e.dispatch({type:"FLUSH",payload:null})}),[]),O=ue((function(){var e=Ci(a).getState();return e.isDragging||"DROP_ANIMATING"===e.phase}),[]);r(le((function(){return{isDragging:O,tryAbort:w}}),[O,w]));var E=ue((function(e){return un(Ci(a).getState(),e)}),[]),C=ue((function(){return Jt(Ci(a).getState())}),[]),P=le((function(){return{marshal:y,focus:I,contextId:t,canLift:E,isMovementAllowed:C,dragHandleUsageInstructionsId:f,registry:m}}),[t,y,f,I,E,C,m]);return Ei({contextId:t,store:D,registry:m,customSensors:n,enableDefaultSensors:!1!==e.enableDefaultSensors}),Object(l.useEffect)((function(){return w}),[w]),u.a.createElement(Qn.Provider,{value:P},u.a.createElement(S,{context:zn,store:D},e.children))}var Si=0;function Ai(e){var t=le((function(){return""+Si++}),[]),r=e.dragHandleUsageInstructions||je;return u.a.createElement(Ae,null,(function(n){return u.a.createElement(Pi,{nonce:e.nonce,contextId:t,setCallbacks:n,dragHandleUsageInstructions:r,enableDefaultSensors:e.enableDefaultSensors,sensors:e.sensors,onBeforeCapture:e.onBeforeCapture,onBeforeDragStart:e.onBeforeDragStart,onDragStart:e.onDragStart,onDragUpdate:e.onDragUpdate,onDragEnd:e.onDragEnd},e.children)}))}var Ni=function(e){return function(t){return e===t}},Ri=Ni("scroll"),Bi=Ni("auto"),Ti=(Ni("visible"),function(e,t){return t(e.overflowX)||t(e.overflowY)}),ji=function(e){var t=window.getComputedStyle(e),r={overflowX:t.overflowX,overflowY:t.overflowY};return Ti(r,Ri)||Ti(r,Bi)},Li=function e(t){return null==t||t===document.body||t===document.documentElement?null:ji(t)?t:e(t.parentElement)},Mi=function(e){return{x:e.scrollLeft,y:e.scrollTop}},Gi=function(e){return{closestScrollable:Li(e),isFixedOnPage:function e(t){return!!t&&("fixed"===window.getComputedStyle(t).position||e(t.parentElement))}(e)}},_i=function(e){var t=e.ref,r=e.descriptor,n=e.env,i=e.windowScroll,o=e.direction,a=e.isDropDisabled,c=e.isCombineEnabled,l=e.shouldClipSubject,u=n.closestScrollable,s=function(e,t){var r=xe(e);if(!t)return r;if(e!==t)return r;var n=r.paddingBox.top-t.scrollTop,i=r.paddingBox.left-t.scrollLeft,o=n+t.scrollHeight,a=i+t.scrollWidth,c=pe({top:n,right:a,bottom:o,left:i},r.border);return be({borderBox:c,margin:r.margin,border:r.border,padding:r.padding})}(t,u),d=he(s,i),p=function(){if(!u)return null;var e=xe(u),t={scrollHeight:u.scrollHeight,scrollWidth:u.scrollWidth};return{client:e,page:he(e,i),scroll:Mi(u),scrollSize:t,shouldClipSubject:l}}();return function(e){var t=e.descriptor,r=e.isEnabled,n=e.isCombineEnabled,i=e.isFixedOnPage,o=e.direction,a=e.client,c=e.page,l=e.closest,u=function(){if(!l)return null;var e=l.scrollSize,t=l.client,r=en({scrollHeight:e.scrollHeight,scrollWidth:e.scrollWidth,height:t.paddingBox.height,width:t.paddingBox.width});return{pageMarginBox:l.page.marginBox,frameClient:t,scrollSize:e,shouldClipSubject:l.shouldClipSubject,scroll:{initial:l.scroll,current:l.scroll,max:r,diff:{value:_e,displacement:_e}}}}(),s="vertical"===o?mt:ht;return{descriptor:t,isCombineEnabled:n,isFixedOnPage:i,axis:s,isEnabled:r,client:a,page:c,frame:u,subject:Xe({page:c,withPlaceholder:null,axis:s,frame:u})}}({descriptor:r,isEnabled:!a,isCombineEnabled:c,isFixedOnPage:n.isFixedOnPage,direction:o,client:s,page:d,closest:p})},ki={passive:!1},Fi={passive:!0},Wi=function(e){return e.shouldPublishImmediately?ki:Fi};function Ui(e){var t=Object(l.useContext)(e);return t||Se(!1),t}var Hi=function(e){return e&&e.env.closestScrollable||null};function qi(){}var Vi={width:0,height:0,margin:{top:0,right:0,bottom:0,left:0}},zi=function(e){var t=e.isAnimatingOpenOnMount,r=e.placeholder,n=e.animate,i=function(e){var t=e.isAnimatingOpenOnMount,r=e.placeholder,n=e.animate;return t||"close"===n?Vi:{height:r.client.borderBox.height,width:r.client.borderBox.width,margin:r.client.margin}}({isAnimatingOpenOnMount:t,placeholder:r,animate:n});return{display:r.display,boxSizing:"border-box",width:i.width,height:i.height,marginTop:i.margin.top,marginRight:i.margin.right,marginBottom:i.margin.bottom,marginLeft:i.margin.left,flexShrink:"0",flexGrow:"0",pointerEvents:"none",transition:"none"!==n?Tr.placeholder:null}};var $i=u.a.memo((function(e){var t=Object(l.useRef)(null),r=ue((function(){t.current&&(clearTimeout(t.current),t.current=null)}),[]),n=e.animate,i=e.onTransitionEnd,o=e.onClose,a=e.contextId,c=Object(l.useState)("open"===e.animate),s=c[0],d=c[1];Object(l.useEffect)((function(){return s?"open"!==n?(r(),d(!1),qi):t.current?qi:(t.current=setTimeout((function(){t.current=null,d(!1)})),r):qi}),[n,s,r]);var p=ue((function(e){"height"===e.propertyName&&(i(),"close"===n&&o())}),[n,o,i]),f=zi({isAnimatingOpenOnMount:s,animate:e.animate,placeholder:e.placeholder});return u.a.createElement(e.placeholder.tagName,{style:f,"data-rbd-placeholder-context-id":a,onTransitionEnd:p,ref:e.innerRef})})),Yi=u.a.createContext(null);var Ji=function(e){function t(){for(var t,r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];return(t=e.call.apply(e,[this].concat(n))||this).state={isVisible:Boolean(t.props.on),data:t.props.on,animate:t.props.shouldAnimate&&t.props.on?"open":"none"},t.onClose=function(){"close"===t.state.animate&&t.setState({isVisible:!1})},t}return s(t,e),t.getDerivedStateFromProps=function(e,t){return e.shouldAnimate?e.on?{isVisible:!0,data:e.on,animate:"open"}:t.isVisible?{isVisible:!0,data:t.data,animate:"close"}:{isVisible:!1,animate:"close",data:null}:{isVisible:Boolean(e.on),data:e.on,animate:"none"}},t.prototype.render=function(){if(!this.state.isVisible)return null;var e={onClose:this.onClose,data:this.state.data,animate:this.state.animate};return this.props.children(e)},t}(u.a.PureComponent),Xi=5e3,Ki=4500,Qi=function(e,t){return t?Tr.drop(t.duration):e?Tr.snap:Tr.fluid},Zi=function(e,t){return e?t?Nr.drop:Nr.combining:null};function eo(e){return"DRAGGING"===e.type?(n=(r=e).dimension.client,i=r.offset,o=r.combineWith,a=r.dropping,c=Boolean(o),l=function(e){return null!=e.forceShouldAnimate?e.forceShouldAnimate:"SNAP"===e.mode}(r),u=Boolean(a),s=u?Mr(i,c):Lr(i),{position:"fixed",top:n.marginBox.top,left:n.marginBox.left,boxSizing:"border-box",width:n.borderBox.width,height:n.borderBox.height,transition:Qi(l,a),transform:s,opacity:Zi(c,u),zIndex:u?Ki:Xi,pointerEvents:"none"}):{transform:Lr((t=e).offset),transition:t.shouldAnimateDisplacement?null:"none"};var t,r,n,i,o,a,c,l,u,s}function to(e){var t=Kn("draggable"),r=e.descriptor,n=e.registry,i=e.getDraggableRef,o=e.canDragInteractiveElements,a=e.shouldRespectForcePress,c=e.isEnabled,u=le((function(){return{canDragInteractiveElements:o,shouldRespectForcePress:a,isEnabled:c}}),[o,c,a]),s=ue((function(e){var t=i();return t||Se(!1),function(e,t,r){void 0===r&&(r=_e);var n=window.getComputedStyle(t),i=t.getBoundingClientRect(),o=ye(i,n),a=he(o,r);return{descriptor:e,placeholder:{client:o,tagName:t.tagName.toLowerCase(),display:n.display},displaceBy:{x:o.marginBox.width,y:o.marginBox.height},client:o,page:a}}(r,t,e)}),[r,i]),d=le((function(){return{uniqueId:t,descriptor:r,options:u,getDimension:s}}),[r,s,u,t]),p=Object(l.useRef)(d),f=Object(l.useRef)(!0);_n((function(){return n.draggable.register(p.current),function(){return n.draggable.unregister(p.current)}}),[n.draggable]),_n((function(){if(f.current)f.current=!1;else{var e=p.current;p.current=d,n.draggable.update(d,e)}}),[d,n.draggable])}function ro(e,t,r){ei()}function no(e){e.preventDefault()}var io=function(e,t){return e===t},oo=function(e){var t=e.combine,r=e.destination;return r?r.droppableId:t?t.droppableId:null};function ao(e){return{isDragging:!1,isDropAnimating:!1,isClone:!1,dropAnimation:null,mode:null,draggingOver:null,combineTargetFor:e,combineWith:null}}var co={mapped:{type:"SECONDARY",offset:_e,combineTargetFor:null,shouldAnimateDisplacement:!0,snapshot:ao(null)}};var lo=ne((function(){var e,t,r,n=(e=De((function(e,t){return{x:e,y:t}})),t=De((function(e,t,r,n,i){return{isDragging:!0,isClone:t,isDropAnimating:Boolean(i),dropAnimation:i,mode:e,draggingOver:r,combineWith:n,combineTargetFor:null}})),r=De((function(e,r,n,i,o,a,c){return{mapped:{type:"DRAGGING",dropping:null,draggingOver:o,combineWith:a,mode:r,offset:e,dimension:n,forceShouldAnimate:c,snapshot:t(r,i,o,a,null)}}})),function(n,i){if(n.isDragging){if(n.critical.draggable.id!==i.draggableId)return null;var o=n.current.client.offset,a=n.dimensions.draggables[i.draggableId],c=$t(n.impact),l=(s=n.impact).at&&"COMBINE"===s.at.type?s.at.combine.draggableId:null,u=n.forceShouldAnimate;return r(e(o.x,o.y),n.movementMode,a,i.isClone,c,l,u)}var s;if("DROP_ANIMATING"===n.phase){var d=n.completed;if(d.result.draggableId!==i.draggableId)return null;var p=i.isClone,f=n.dimensions.draggables[i.draggableId],g=d.result,b=g.mode,v=oo(g),m=function(e){return e.combine?e.combine.draggableId:null}(g),h={duration:n.dropDuration,curve:Ar,moveTo:n.newHomeClientOffset,opacity:m?Nr.drop:null,scale:m?Rr.drop:null};return{mapped:{type:"DRAGGING",offset:n.newHomeClientOffset,dimension:f,dropping:h,draggingOver:v,combineWith:m,mode:b,forceShouldAnimate:null,snapshot:t(b,p,v,m,h)}}}return null}),i=function(){var e=De((function(e,t){return{x:e,y:t}})),t=De(ao),r=De((function(e,r,n){return void 0===r&&(r=null),{mapped:{type:"SECONDARY",offset:e,combineTargetFor:r,shouldAnimateDisplacement:n,snapshot:t(r)}}})),n=function(e){return e?r(_e,e,!0):null},i=function(t,i,o,a){var c=o.displaced.visible[t],l=Boolean(a.inVirtualList&&a.effected[t]),u=lt(o),s=u&&u.draggableId===t?i:null;if(!c){if(!l)return n(s);if(o.displaced.invisible[t])return null;var d=Ue(a.displacedBy.point),p=e(d.x,d.y);return r(p,s,!0)}if(l)return n(s);var f=o.displacedBy.point,g=e(f.x,f.y);return r(g,s,c.shouldAnimate)};return function(e,t){if(e.isDragging)return e.critical.draggable.id===t.draggableId?null:i(t.draggableId,e.critical.draggable.id,e.impact,e.afterCritical);if("DROP_ANIMATING"===e.phase){var r=e.completed;return r.result.draggableId===t.draggableId?null:i(t.draggableId,r.result.draggableId,r.impact,r.afterCritical)}return null}}();return function(e,t){return n(e,t)||i(e,t)||co}}),{dropAnimationFinished:Sr},null,{context:zn,pure:!0,areStatePropsEqual:io})((function(e){var t=Object(l.useRef)(null),r=ue((function(e){t.current=e}),[]),n=ue((function(){return t.current}),[]),i=Ui(Qn),o=i.contextId,a=i.dragHandleUsageInstructionsId,c=i.registry,u=Ui(Yi),s=u.type,d=u.droppableId,p=le((function(){return{id:e.draggableId,index:e.index,type:s,droppableId:d}}),[e.draggableId,e.index,s,d]),f=e.children,g=e.draggableId,b=e.isEnabled,v=e.shouldRespectForcePress,m=e.canDragInteractiveElements,h=e.isClone,y=e.mapped,x=e.dropAnimationFinished;ro(),Zn(),h||to(le((function(){return{descriptor:p,registry:c,getDraggableRef:n,canDragInteractiveElements:m,shouldRespectForcePress:v,isEnabled:b}}),[p,c,n,m,v,b]));var I=le((function(){return b?{tabIndex:0,role:"button","aria-describedby":a,"data-rbd-drag-handle-draggable-id":g,"data-rbd-drag-handle-context-id":o,draggable:!1,onDragStart:no}:null}),[o,a,g,b]),D=ue((function(e){"DRAGGING"===y.type&&y.dropping&&"transform"===e.propertyName&&x()}),[x,y]),w=le((function(){var e=eo(y),t="DRAGGING"===y.type&&y.dropping?D:null;return{innerRef:r,draggableProps:{"data-rbd-draggable-context-id":o,"data-rbd-draggable-id":g,style:e,onTransitionEnd:t},dragHandleProps:I}}),[o,I,g,y,D,r]),O=le((function(){return{draggableId:p.id,type:p.type,source:{index:p.index,droppableId:p.droppableId}}}),[p.droppableId,p.id,p.index,p.type]);return f(w,y.snapshot,O)}));function uo(e){return Ui(Yi).isUsingCloneFor!==e.draggableId||e.isClone?u.a.createElement(lo,e):null}function so(e){var t="boolean"!=typeof e.isDragDisabled||!e.isDragDisabled,r=Boolean(e.disableInteractiveElementBlocking),n=Boolean(e.shouldRespectForcePress);return u.a.createElement(uo,d({},e,{isClone:!1,isEnabled:t,canDragInteractiveElements:r,shouldRespectForcePress:n}))}var po=function(e,t){return e===t.droppable.type},fo=function(e,t){return t.draggables[e.draggable.id]};var go={mode:"standard",type:"DEFAULT",direction:"vertical",isDropDisabled:!1,isCombineEnabled:!1,ignoreContainerClipping:!1,renderClone:null,getContainerForClone:function(){return document.body||Se(!1),document.body}},bo=ne((function(){var e={placeholder:null,shouldAnimatePlaceholder:!0,snapshot:{isDraggingOver:!1,draggingOverWith:null,draggingFromThisWith:null,isUsingPlaceholder:!1},useClone:null},t=d({},e,{shouldAnimatePlaceholder:!1}),r=De((function(e){return{draggableId:e.id,type:e.type,source:{index:e.index,droppableId:e.droppableId}}})),n=De((function(n,i,o,a,c,l){var u=c.descriptor.id;if(c.descriptor.droppableId===n){var s=l?{render:l,dragging:r(c.descriptor)}:null,d={isDraggingOver:o,draggingOverWith:o?u:null,draggingFromThisWith:u,isUsingPlaceholder:!0};return{placeholder:c.placeholder,shouldAnimatePlaceholder:!1,snapshot:d,useClone:s}}if(!i)return t;if(!a)return e;var p={isDraggingOver:o,draggingOverWith:u,draggingFromThisWith:null,isUsingPlaceholder:!0};return{placeholder:c.placeholder,shouldAnimatePlaceholder:!0,snapshot:p,useClone:null}}));return function(r,i){var o=i.droppableId,a=i.type,c=!i.isDropDisabled,l=i.renderClone;if(r.isDragging){var u=r.critical;if(!po(a,u))return t;var s=fo(u,r.dimensions),d=$t(r.impact)===o;return n(o,c,d,d,s,l)}if("DROP_ANIMATING"===r.phase){var p=r.completed;if(!po(a,p.critical))return t;var f=fo(p.critical,r.dimensions);return n(o,c,oo(p.result)===o,$t(p.impact)===o,f,l)}if("IDLE"===r.phase&&r.completed&&!r.shouldFlush){var g=r.completed;if(!po(a,g.critical))return t;var b=$t(g.impact)===o,v=Boolean(g.impact.at&&"COMBINE"===g.impact.at.type),m=g.critical.droppable.id===o;return b?v?e:t:m?e:t}return t}}),{updateViewportMaxScroll:function(e){return{type:"UPDATE_VIEWPORT_MAX_SCROLL",payload:e}}},null,{context:zn,pure:!0,areStatePropsEqual:io})((function(e){var t=Object(l.useContext)(Qn);t||Se(!1);var r=t.contextId,n=t.isMovementAllowed,i=Object(l.useRef)(null),o=Object(l.useRef)(null),a=e.children,c=e.droppableId,s=e.type,d=e.mode,p=e.direction,f=e.ignoreContainerClipping,g=e.isDropDisabled,b=e.isCombineEnabled,v=e.snapshot,m=e.useClone,h=e.updateViewportMaxScroll,y=e.getContainerForClone,x=ue((function(){return i.current}),[]),I=ue((function(e){i.current=e}),[]),D=(ue((function(){return o.current}),[]),ue((function(e){o.current=e}),[]));ei();var w=ue((function(){n()&&h({maxScroll:rn()})}),[n,h]);!function(e){var t=Object(l.useRef)(null),r=Ui(Qn),n=Kn("droppable"),i=r.registry,o=r.marshal,a=ri(e),c=le((function(){return{id:e.droppableId,type:e.type,mode:e.mode}}),[e.droppableId,e.mode,e.type]),u=Object(l.useRef)(c),s=le((function(){return De((function(e,r){t.current||Se(!1);var n={x:e,y:r};o.updateDroppableScroll(c.id,n)}))}),[c.id,o]),d=ue((function(){var e=t.current;return e&&e.env.closestScrollable?Mi(e.env.closestScrollable):_e}),[]),p=ue((function(){var e=d();s(e.x,e.y)}),[d,s]),f=le((function(){return we(p)}),[p]),g=ue((function(){var e=t.current,r=Hi(e);e&&r||Se(!1),e.scrollOptions.shouldPublishImmediately?p():f()}),[f,p]),b=ue((function(e,n){t.current&&Se(!1);var i=a.current,o=i.getDroppableRef();o||Se(!1);var l=Gi(o),u={ref:o,descriptor:c,env:l,scrollOptions:n};t.current=u;var s=_i({ref:o,descriptor:c,env:l,windowScroll:e,direction:i.direction,isDropDisabled:i.isDropDisabled,isCombineEnabled:i.isCombineEnabled,shouldClipSubject:!i.ignoreContainerClipping}),d=l.closestScrollable;return d&&(d.setAttribute(Mn.contextId,r.contextId),d.addEventListener("scroll",g,Wi(u.scrollOptions))),s}),[r.contextId,c,g,a]),v=ue((function(){var e=t.current,r=Hi(e);return e&&r||Se(!1),Mi(r)}),[]),m=ue((function(){var e=t.current;e||Se(!1);var r=Hi(e);t.current=null,r&&(f.cancel(),r.removeAttribute(Mn.contextId),r.removeEventListener("scroll",g,Wi(e.scrollOptions)))}),[g,f]),h=ue((function(e){var r=t.current;r||Se(!1);var n=Hi(r);n||Se(!1),n.scrollTop+=e.y,n.scrollLeft+=e.x}),[]),y=le((function(){return{getDimensionAndWatchScroll:b,getScrollWhileDragging:v,dragStopped:m,scroll:h}}),[m,b,v,h]),x=le((function(){return{uniqueId:n,descriptor:c,callbacks:y}}),[y,c,n]);_n((function(){return u.current=x.descriptor,i.droppable.register(x),function(){t.current&&m(),i.droppable.unregister(x)}}),[y,c,m,x,o,i.droppable]),_n((function(){t.current&&o.updateDroppableIsEnabled(u.current.id,!e.isDropDisabled)}),[e.isDropDisabled,o]),_n((function(){t.current&&o.updateDroppableIsCombineEnabled(u.current.id,e.isCombineEnabled)}),[e.isCombineEnabled,o])}({droppableId:c,type:s,mode:d,direction:p,isDropDisabled:g,isCombineEnabled:b,ignoreContainerClipping:f,getDroppableRef:x});var O=u.a.createElement(Ji,{on:e.placeholder,shouldAnimate:e.shouldAnimatePlaceholder},(function(e){var t=e.onClose,n=e.data,i=e.animate;return u.a.createElement($i,{placeholder:n,onClose:t,innerRef:D,animate:i,contextId:r,onTransitionEnd:w})})),E=le((function(){return{innerRef:I,placeholder:O,droppableProps:{"data-rbd-droppable-id":c,"data-rbd-droppable-context-id":r}}}),[r,c,O,I]),C=m?m.dragging.draggableId:null,P=le((function(){return{droppableId:c,type:s,isUsingCloneFor:C}}),[c,C,s]);return u.a.createElement(Yi.Provider,{value:P},a(E,v),function(){if(!m)return null;var e=m.dragging,t=m.render,r=u.a.createElement(uo,{draggableId:e.draggableId,index:e.source.index,isClone:!0,isEnabled:!0,shouldRespectForcePress:!1,canDragInteractiveElements:!0},(function(r,n){return t(r,n,e)}));return ae.a.createPortal(r,y())}())}));bo.defaultProps=go;var vo=r(5),mo=r(18),ho=r(13),yo=r(3),xo=r(10),Io=r(2),Do=r(19);r(30);function wo(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}var Oo=Object(Io.dispatch)("core/block-editor"),Eo=Oo.clearSelectedBlock,Co=Oo.duplicateBlocks,Po=Oo.moveBlockToPosition,So=Oo.removeBlock,Ao=Oo.selectBlock,No=Object(Io.select)("core/block-editor").getBlockRootClientId,Ro=function(e,t){var r;return function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?wo(Object(r),!0).forEach((function(t){a()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):wo(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}((r={userSelect:"none",padding:6,margin:"0 0 ".concat(6,"px 0"),borderRadius:2,border:e?"1px solid #007cba":"1px solid rgba(30,30,30, .3)",background:e?"#007cba":"#fff"},a()(r,"background","#fff"),a()(r,"color",e?"#007cba":""),r),t)},Bo=Object(Do.compose)([Object(Io.withSelect)((function(e,t){return{rootBlocks:(0,e("core/block-editor").getBlocks)()}}))])((function(e){var t=e.rootBlocks.map((function(e){return e.id="".concat(e.clientId),e}));return Object(c.createElement)(mo.PluginDocumentSettingPanel,{name:"custom-panel",title:Object(vo.__)("Drag & Drop","movable"),text:"text",className:"custom-panel"},Object(c.createElement)(xo.BaseControl,{label:Object(vo.__)("Drag, Drop, Duplicate, Delete, Select & Insert blocks from the sidebar.","movable")}),Object(c.createElement)(Ai,{onDragEnd:function(e){var t=e.draggableId,r=No(t);e.destination&&Po(t,r,"",e.destination.index)}},Object(c.createElement)(bo,{droppableId:"droppable"},(function(e,r){return Object(c.createElement)("div",i()({},e.droppableProps,{ref:e.innerRef,style:(n=r.isDraggingOver,o={background:n?"lightblue":"#fff"},a()(o,"background","#fff"),a()(o,"padding",0),a()(o,"paddingBottom",1),a()(o,"width",250),o)}),t.map((function(e,t){var r=Object(yo.getBlockType)(e.name);return Object(c.createElement)(so,{key:e.id,draggableId:e.id,index:t},(function(t,n){return Object(c.createElement)("div",i()({onClick:function(){Ao(e.id)},onMouseOver:function(){document.querySelector("#block-".concat(e.id)).classList.add("hover:movable")},onMouseOut:function(){document.querySelector("#block-".concat(e.id)).classList.remove("hover:movable")},ref:t.innerRef},t.draggableProps,t.dragHandleProps,{style:Ro(n.isDragging,t.draggableProps.style)}),Object(c.createElement)("div",{className:"movable"},Object(c.createElement)("div",{className:"flex justify-between"},Object(c.createElement)("div",{className:"w-3/4 items-center flex"},Object(c.createElement)(ho.BlockIcon,{icon:r.icon,showColors:!0}),Object(c.createElement)("p",{className:"mb-0 ml-1"},Object(yo.__experimentalGetBlockLabel)(r,e.attributes))),Object(c.createElement)("div",{className:"flex justify-end"},Object(c.createElement)(xo.Button,{label:Object(vo.__)("Duplicate","movable"),onClick:function(t){t.stopPropagation(),Co([e.id]),Eo()},className:"invisible hover:opacity-100",icon:"admin-page"}),Object(c.createElement)(xo.Button,{label:Object(vo.__)("Delete","movable"),onClick:function(t){t.stopPropagation(),So(e.id),Eo()},className:"invisible hover:opacity-100",icon:"no-alt"})))))}))})),e.placeholder);var n,o}))),Object(c.createElement)("div",{className:"movable"},Object(c.createElement)("div",{className:"text-center"},Object(c.createElement)(ho.Inserter,{__experimentalSelectBlockOnInsert:!1}))))})),To="movable",jo={icon:"",render:Bo}},function(e,t){}]);
  • movable/tags/1.0.1/build/tailwind.css

    r2286614 r2356396  
    6363  transform: translateX(var(--transform-translate-x)) translateY(var(--transform-translate-y)) rotate(var(--transform-rotate)) skewX(var(--transform-skew-x)) skewY(var(--transform-skew-y)) scaleX(var(--transform-scale-x)) scaleY(var(--transform-scale-y))
    6464}
     65
     66@-webkit-keyframes spin {
     67  from {
     68    transform: rotate(0deg)
     69  }
     70
     71  to {
     72    transform: rotate(360deg)
     73  }
     74}
     75
     76@keyframes spin {
     77  from {
     78    transform: rotate(0deg)
     79  }
     80
     81  to {
     82    transform: rotate(360deg)
     83  }
     84}
     85
     86@keyframes ping {
     87  0% {
     88    transform: scale(1);
     89    opacity: 1
     90  }
     91
     92  75%, 100% {
     93    transform: scale(2);
     94    opacity: 0
     95  }
     96}
     97
     98@keyframes pulse {
     99  0%, 100% {
     100    opacity: 1
     101  }
     102
     103  50% {
     104    opacity: .5
     105  }
     106}
     107
     108@keyframes bounce {
     109  0%, 100% {
     110    transform: translateY(-25%);
     111    -webkit-animation-timing-function: cubic-bezier(0.8,0,1,1);
     112            animation-timing-function: cubic-bezier(0.8,0,1,1)
     113  }
     114
     115  50% {
     116    transform: translateY(0);
     117    -webkit-animation-timing-function: cubic-bezier(0,0,0.2,1);
     118            animation-timing-function: cubic-bezier(0,0,0.2,1)
     119  }
     120}
  • movable/tags/1.0.1/class-plugin.php

    r2286609 r2356396  
    44 * Plugin URI: https://blockhandbook.com/plugins/movable
    55 * Description: Drag, Drop, Duplicate, Delete, Select & Insert blocks from the block editor sidebar.
    6  * Author: Block Handbook
     6 * Author: BlockHandbook
    77 * Author URI: https://blockhandbook.com
    88 * Text Domain: movable
     
    1010 * License: GPLv2 or later
    1111 * License URI: https://www.gnu.org/licenses/gpl-2.0.html
    12  * Tested up to: 5.4
    13  * Version: 1.0.0
     12 * Tested up to: 5.5
     13 * Version: 1.0.1
    1414 * Requires at least: 5.0
    1515 * Requires PHP: 5.6
     
    2020namespace Movable;
    2121
     22use \Movable\Load_Translations as Load_Translations;
    2223use \Movable\Plugin as Plugin;
    2324use \Movable\Register_Blocks as Register_Blocks;
    24 use \Movable\Load_Translations as Load_Translations;
    2525
    2626// Stop the hackers if accessed directly.
    27 if ( ! defined( 'ABSPATH' ) ) {
    28     exit;
     27if (!defined('ABSPATH')) {
     28    exit;
    2929}
    3030
    31 if ( ! class_exists( 'Plugin' ) ) :
    32     /**
    33      * Plugin Class.
    34      *
    35      * @since 1.0.0
    36      */
    37     class Plugin {
     31if (!class_exists('Plugin')):
     32    /**
     33     * Plugin Class.
     34     *
     35     * @since 1.0.0
     36     */
     37    class Plugin
     38{
    3839
    39         /**
    40         * Class instance.
    41         *
    42         * @var Plugin
    43         */
    44         private static $instance = null;
     40        /**
     41        * Class instance.
     42        *
     43        * @var Plugin
     44        */
     45        private static $instance = null;
    4546
    46         /**
    47         * Plugin Path.
    48         *
    49         * @var string
    50         */
    51         public $plugin_dir_path;
     47        /**
     48        * Plugin Path.
     49        *
     50        * @var string
     51        */
     52        public $plugin_dir_path;
    5253
    53         /**
    54         * Plugin URL.
    55         *
    56         * @var string
    57         */
    58         public $plugin_dir_url;
     54        /**
     55        * Plugin URL.
     56        *
     57        * @var string
     58        */
     59        public $plugin_dir_url;
    5960
    60         /**
    61         * Plugin Slug.
    62         *
    63         * @var string
    64         */
    65         public $slug;
     61        /**
     62        * Plugin Slug.
     63        *
     64        * @var string
     65        */
     66        public $slug;
    6667
    67         /**
    68         * Plugin text-domain.
    69         *
    70         * @var string
    71         */
    72         public $text_domain;
     68        /**
     69        * Plugin text-domain.
     70        *
     71        * @var string
     72        */
     73        public $text_domain;
    7374
    74         /**
    75         * Plugin version.
    76         *
    77         * @var string
    78         */
    79         public $version;
     75        /**
     76        * Plugin version.
     77        *
     78        * @var string
     79        */
     80        public $version;
    8081
    81         /**
    82          * Plugin constructor.
    83          * Called immediately when you instantiate a class.
    84          * Really good article on setting up constructors for WP classes.
    85          * https://carlalexander.ca/designing-class-wordpress-hooks/
    86          */
    87         private function __construct() {
    88             // filesystem directory i.e. /var/home/www/blockhandbook/wp-content/plugins/.
    89             $this->plugin_dir_path = plugin_dir_path( __FILE__ );
    90             // web address w/ trailing slash.
    91             // i.e. - http://blockhandbook.com/wp-content/plugins/.
    92             $this->plugin_dir_url = plugin_dir_url( __FILE__ );
    93             $this->slug           = 'movable';
    94             $this->text_domain    = 'movable';
    95             $this->version        = '1.0.0';
    96         }
     82        /**
     83         * Plugin constructor.
     84         * Called immediately when you instantiate a class.
     85         * Really good article on setting up constructors for WP classes.
     86         * https://carlalexander.ca/designing-class-wordpress-hooks/
     87         */
     88        private function __construct()
     89    {
     90            // filesystem directory i.e. /var/home/www/blockhandbook/wp-content/plugins/.
     91            $this->plugin_dir_path = plugin_dir_path(__FILE__);
     92            // web address w/ trailing slash.
     93            // i.e. - http://blockhandbook.com/wp-content/plugins/.
     94            $this->plugin_dir_url = plugin_dir_url(__FILE__);
     95            $this->slug = 'movable';
     96            $this->text_domain = 'movable';
     97            $this->version = '1.0.1';
     98        }
    9799
    98         /**
    99          * Return Plugin Instance.
    100          *
    101          * @return object\Plugin
    102          */
    103         public static function get_instance() {
    104             if ( null === self::$instance ) {
    105                 self::$instance = new self();
    106             }
     100        /**
     101         * Return Plugin Instance.
     102         *
     103         * @return object\Plugin
     104         */
     105        public static function get_instance()
     106    {
     107            if (null === self::$instance) {
     108                self::$instance = new self();
     109            }
    107110
    108             return self::$instance;
    109         }
     111            return self::$instance;
     112        }
    110113
    111         /**
    112          * Load the plugin.
    113          *
    114          * @return void
    115          */
    116         public static function load() {
    117             require __DIR__ . '/vendor/autoload.php';
     114        /**
     115         * Load the plugin.
     116         *
     117         * @return void
     118         */
     119        public static function load()
     120    {
     121            require __DIR__ . '/vendor/autoload.php';
    118122
    119             Load_Translations::register();
    120             Register_Blocks::register();
    121         }
    122     }
     123            Load_Translations::register();
     124            Register_Blocks::register();
     125        }
     126    }
    123127endif;
    124128
  • movable/tags/1.0.1/includes/class-register-blocks.php

    r2286609 r2356396  
    1111
    1212// Stop the hackers if accessed directly.
    13 if ( ! defined( 'ABSPATH' ) ) {
    14     exit;
     13if (!defined('ABSPATH')) {
     14    exit;
    1515}
    1616
     
    2020 * @since 1.0.0
    2121 */
    22 class Register_Blocks {
     22class Register_Blocks
     23{
    2324
    24     /**
    25      * Register class with appropriate WordPress hooks
    26      */
    27     public static function register() {
    28         $instance = new self();
    29         add_action( 'init', array( $instance, 'register_blocks' ) );
    30     }
     25    /**
     26     * Register class with appropriate WordPress hooks
     27     */
     28    public static function register()
     29    {
     30        $instance = new self();
     31        add_action('init', array($instance, 'register_blocks'));
     32    }
    3133
    32     /**
    33      * Registers all block assets so they can be enqueued through Gutenberg.
    34      *
    35      * @return void
    36      */
    37     public function register_blocks() {
     34    /**
     35     * Registers all block assets so they can be enqueued through Gutenberg.
     36     *
     37     * @return void
     38     */
     39    public function register_blocks()
     40    {
    3841
    39         if ( ! function_exists( 'register_block_type' ) ) {
    40             // Gutenberg is not active.
    41             return;
    42         }
     42        if (!function_exists('register_block_type')) {
     43            // Gutenberg is not active.
     44            return;
     45        }
    4346
    44         // Shortcuts for variables.
    45         $instance        = Plugin::get_instance();
    46         $slug            = $instance->slug;
    47         $text_domain    = $instance->text_domain;
    48         $plugin_dir_path = $instance->plugin_dir_path;
    49         $plugin_dir_url = $instance->plugin_dir_url;
    50         $version        = $instance->version;
     47        // Shortcuts for variables.
     48        $instance = Plugin::get_instance();
     49        $slug = $instance->slug;
     50        $text_domain = $instance->text_domain;
     51        $plugin_dir_path = $instance->plugin_dir_path;
     52        $plugin_dir_url = $instance->plugin_dir_url;
     53        $version = $instance->version;
    5154
    52         // Register editor-only block styles.
    53         wp_enqueue_style(
    54             $slug . '-editor-style',
    55             $plugin_dir_url . 'build/editor.css',
    56             array( 'wp-edit-blocks' ),
    57             $version
    58         );
     55        // Register editor-only block styles.
     56        wp_enqueue_style(
     57            $slug . '-editor-style',
     58            $plugin_dir_url . 'build/index.css',
     59            array('wp-edit-blocks'),
     60            $version
     61        );
    5962
    60         // Enqueue tailwind styles.
    61         wp_enqueue_style(
    62             $slug . '-tailwind-style',
    63             $plugin_dir_url . 'build/tailwind.css',
    64             array(),
    65             $version
    66         );
     63        // Enqueue tailwind styles.
     64        wp_enqueue_style(
     65            $slug . '-tailwind-style',
     66            $plugin_dir_url . 'build/tailwind.css',
     67            array(),
     68            $version
     69        );
    6770
    68         $script_asset_path = "$plugin_dir_path/build/index.asset.php";
    69         if ( ! file_exists( $script_asset_path ) ) {
    70             throw new Error(
    71                 'You need to run `npm start` or `npm run build` for the "movable/testimonial" block first.'
    72             );
    73         }
     71        $script_asset_path = "$plugin_dir_path/build/index.asset.php";
     72        if (!file_exists($script_asset_path)) {
     73            throw new Error(
     74                'You need to run `npm start` or `npm run build` for the "movable/testimonial" block first.'
     75            );
     76        }
    7477
    75         // Register editor-only block scripts.
    76         // Dynamically load dependencies using index.build.asset.php generated by
    77         // @wordpress/dependency-extraction-webpack-plugin.
    78         $script_asset = require "$plugin_dir_path/build/index.asset.php";
     78        // Register editor-only block scripts.
     79        // Dynamically load dependencies using index.build.asset.php generated by
     80        // @wordpress/dependency-extraction-webpack-plugin.
     81        $script_asset = require "$plugin_dir_path/build/index.asset.php";
    7982
    80         wp_enqueue_script(
    81             $slug . '-editor-script',
    82             $plugin_dir_url . 'build/index.js',
    83             $script_asset['dependencies'],
    84             $script_asset['version'],
    85             true
    86         );
    87     }
     83        wp_enqueue_script(
     84            $slug . '-editor-script',
     85            $plugin_dir_url . 'build/index.js',
     86            $script_asset['dependencies'],
     87            $script_asset['version'],
     88            true
     89        );
     90    }
    8891}
  • movable/tags/1.0.1/readme.txt

    r2286609 r2356396  
    55Tags: movable, drag and drop, blockhandbook, block, blocks, duplicate blocks, insert blocks, delete blocks, select blocks, insert blocks, gutenberg
    66Requires at least: 5.0
    7 Tested up to: 5.4
    8 Stable tag: 1.0.0
     7Tested up to: 5.5
     8Stable tag: 1.0.1
    99Requires PHP: 5.6
    1010License: GPLv2 or later
     
    5252== Changelog ==
    5353
     54= 1.0.1 =
     55* Tested up to WordPress 5.5
     56
    5457= 1.0.0 =
    5558* Initial Release
  • movable/tags/1.0.1/vendor/autoload.php

    r2286616 r2356396  
    55require_once __DIR__ . '/composer/autoload_real.php';
    66
    7 return ComposerAutoloaderInit9c2801fa11679c12919806180ac6e4aa::getLoader();
     7return ComposerAutoloaderInit75c54ecc54ef90bf55f7a06af69c5b1f::getLoader();
  • movable/tags/1.0.1/vendor/composer/autoload_real.php

    r2286616 r2356396  
    33// autoload_real.php @generated by Composer
    44
    5 class ComposerAutoloaderInit9c2801fa11679c12919806180ac6e4aa
     5class ComposerAutoloaderInit75c54ecc54ef90bf55f7a06af69c5b1f
    66{
    77    private static $loader;
     
    1414    }
    1515
     16    /**
     17     * @return \Composer\Autoload\ClassLoader
     18     */
    1619    public static function getLoader()
    1720    {
     
    2023        }
    2124
    22         spl_autoload_register(array('ComposerAutoloaderInit9c2801fa11679c12919806180ac6e4aa', 'loadClassLoader'), true, true);
     25        spl_autoload_register(array('ComposerAutoloaderInit75c54ecc54ef90bf55f7a06af69c5b1f', 'loadClassLoader'), true, true);
    2326        self::$loader = $loader = new \Composer\Autoload\ClassLoader();
    24         spl_autoload_unregister(array('ComposerAutoloaderInit9c2801fa11679c12919806180ac6e4aa', 'loadClassLoader'));
     27        spl_autoload_unregister(array('ComposerAutoloaderInit75c54ecc54ef90bf55f7a06af69c5b1f', 'loadClassLoader'));
    2528
    2629        $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
     
    2831            require_once __DIR__ . '/autoload_static.php';
    2932
    30             call_user_func(\Composer\Autoload\ComposerStaticInit9c2801fa11679c12919806180ac6e4aa::getInitializer($loader));
     33            call_user_func(\Composer\Autoload\ComposerStaticInit75c54ecc54ef90bf55f7a06af69c5b1f::getInitializer($loader));
    3134        } else {
    3235            $map = require __DIR__ . '/autoload_namespaces.php';
  • movable/tags/1.0.1/vendor/composer/autoload_static.php

    r2286616 r2356396  
    55namespace Composer\Autoload;
    66
    7 class ComposerStaticInit9c2801fa11679c12919806180ac6e4aa
     7class ComposerStaticInit75c54ecc54ef90bf55f7a06af69c5b1f
    88{
    99    public static $prefixLengthsPsr4 = array (
     
    2929    {
    3030        return \Closure::bind(function () use ($loader) {
    31             $loader->prefixLengthsPsr4 = ComposerStaticInit9c2801fa11679c12919806180ac6e4aa::$prefixLengthsPsr4;
    32             $loader->prefixDirsPsr4 = ComposerStaticInit9c2801fa11679c12919806180ac6e4aa::$prefixDirsPsr4;
    33             $loader->classMap = ComposerStaticInit9c2801fa11679c12919806180ac6e4aa::$classMap;
     31            $loader->prefixLengthsPsr4 = ComposerStaticInit75c54ecc54ef90bf55f7a06af69c5b1f::$prefixLengthsPsr4;
     32            $loader->prefixDirsPsr4 = ComposerStaticInit75c54ecc54ef90bf55f7a06af69c5b1f::$prefixDirsPsr4;
     33            $loader->classMap = ComposerStaticInit75c54ecc54ef90bf55f7a06af69c5b1f::$classMap;
    3434
    3535        }, null, ClassLoader::class);
  • movable/trunk/build/index.asset.php

    r2286614 r2356396  
    1 <?php return array('dependencies' => array('react', 'react-dom', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-data', 'wp-edit-post', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-plugins', 'wp-polyfill'), 'version' => 'a6baa74c8997290f3301d77332b5c657');
     1<?php return array('dependencies' => array('react', 'react-dom', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-data', 'wp-edit-post', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-plugins', 'wp-polyfill', 'wp-rich-text'), 'version' => '59a4f04a8008ca877952299122c6bacd');
  • movable/trunk/build/index.js

    r2286614 r2356396  
    1 !function(e){var t={};function r(n){if(t[n])return t[n].exports;var i=t[n]={i:n,l:!1,exports:{}};return e[n].call(i.exports,i,i.exports,r),i.l=!0,i.exports}r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)r.d(n,i,function(t){return e[t]}.bind(null,i));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=20)}([function(e,t){!function(){e.exports=this.React}()},function(e,t){!function(){e.exports=this.wp.element}()},function(e,t){!function(){e.exports=this.wp.data}()},function(e,t){e.exports=function(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}},function(e,t){!function(){e.exports=this.wp.blocks}()},function(e,t){!function(){e.exports=this.wp.i18n}()},function(e,t){!function(){e.exports=this.ReactDOM}()},function(e,t){!function(){e.exports=this.wp.plugins}()},function(e,t){!function(){e.exports=this.wp.hooks}()},function(e,t){!function(){e.exports=this.wp.components}()},function(e,t,r){"use strict";e.exports=r(26)},function(e,t){function r(){return e.exports=r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},r.apply(this,arguments)}e.exports=r},function(e,t){!function(){e.exports=this.wp.blockEditor}()},function(e,t,r){"use strict";var n=r(10),i={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},o={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},c={};function l(e){return n.isMemo(e)?a:c[e.$$typeof]||i}c[n.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},c[n.Memo]=a;var u=Object.defineProperty,s=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,p=Object.getOwnPropertyDescriptor,f=Object.getPrototypeOf,g=Object.prototype;e.exports=function e(t,r,n){if("string"!=typeof r){if(g){var i=f(r);i&&i!==g&&e(t,i,n)}var a=s(r);d&&(a=a.concat(d(r)));for(var c=l(t),b=l(r),v=0;v<a.length;++v){var m=a[v];if(!(o[m]||n&&n[m]||b&&b[m]||c&&c[m])){var h=p(r,m);try{u(t,m,h)}catch(e){}}}}return t}},function(e,t,r){"use strict";(function(e,n){var i,o=r(19);i="undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==e?e:n;var a=Object(o.a)(i);t.a=a}).call(this,r(27),r(15)(e))},function(e,t){e.exports=function(e){if(!e.webpackPolyfill){var t=Object.create(e);t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),Object.defineProperty(t,"exports",{enumerable:!0}),t.webpackPolyfill=1}return t}},function(e,t,r){"use strict";r.d(t,"a",(function(){return i}));r(4),r(1);var n=r(7);r(2),r(8);const i=({getContext:e})=>{const t=e();for(const e of t.keys()){const r=t(e),i=r.name,o=r.settings;Object(n.registerPlugin)(i,o)}return t}},function(e,t){!function(){e.exports=this.wp.editPost}()},function(e,t){!function(){e.exports=this.wp.compose}()},function(e,t,r){"use strict";function n(e){var t,r=e.Symbol;return"function"==typeof r?r.observable?t=r.observable:(t=r("observable"),r.observable=t):t="@@observable",t}r.d(t,"a",(function(){return n}))},function(e,t,r){e.exports=r(21)},function(e,t,r){"use strict";r.r(t),function(e){var t=r(16);Object(t.a)({getContext:function(){return r(22)},module:e})}.call(this,r(15)(e))},function(e,t,r){var n={"./index.js":28};function i(e){var t=o(e);return r(t)}function o(e){if(!r.o(n,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return n[e]}i.keys=function(){return Object.keys(n)},i.resolve=o,e.exports=i,i.id=22},function(e,t,r){e.exports=r(24)()},function(e,t,r){"use strict";var n=r(25);function i(){}function o(){}o.resetWarningCache=i,e.exports=function(){function e(e,t,r,i,o,a){if(a!==n){var c=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw c.name="Invariant Violation",c}}function t(){return e}e.isRequired=e;var r={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:o,resetWarningCache:i};return r.PropTypes=r,r}},function(e,t,r){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,r){"use strict";
    2 /** @license React v16.13.1
    3  * react-is.production.min.js
    4  *
    5  * Copyright (c) Facebook, Inc. and its affiliates.
    6  *
    7  * This source code is licensed under the MIT license found in the
    8  * LICENSE file in the root directory of this source tree.
    9  */var n="function"==typeof Symbol&&Symbol.for,i=n?Symbol.for("react.element"):60103,o=n?Symbol.for("react.portal"):60106,a=n?Symbol.for("react.fragment"):60107,c=n?Symbol.for("react.strict_mode"):60108,l=n?Symbol.for("react.profiler"):60114,u=n?Symbol.for("react.provider"):60109,s=n?Symbol.for("react.context"):60110,d=n?Symbol.for("react.async_mode"):60111,p=n?Symbol.for("react.concurrent_mode"):60111,f=n?Symbol.for("react.forward_ref"):60112,g=n?Symbol.for("react.suspense"):60113,b=n?Symbol.for("react.suspense_list"):60120,v=n?Symbol.for("react.memo"):60115,m=n?Symbol.for("react.lazy"):60116,h=n?Symbol.for("react.block"):60121,y=n?Symbol.for("react.fundamental"):60117,x=n?Symbol.for("react.responder"):60118,I=n?Symbol.for("react.scope"):60119;function D(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case i:switch(e=e.type){case d:case p:case a:case l:case c:case g:return e;default:switch(e=e&&e.$$typeof){case s:case f:case m:case v:case u:return e;default:return t}}case o:return t}}}function w(e){return D(e)===p}t.AsyncMode=d,t.ConcurrentMode=p,t.ContextConsumer=s,t.ContextProvider=u,t.Element=i,t.ForwardRef=f,t.Fragment=a,t.Lazy=m,t.Memo=v,t.Portal=o,t.Profiler=l,t.StrictMode=c,t.Suspense=g,t.isAsyncMode=function(e){return w(e)||D(e)===d},t.isConcurrentMode=w,t.isContextConsumer=function(e){return D(e)===s},t.isContextProvider=function(e){return D(e)===u},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===i},t.isForwardRef=function(e){return D(e)===f},t.isFragment=function(e){return D(e)===a},t.isLazy=function(e){return D(e)===m},t.isMemo=function(e){return D(e)===v},t.isPortal=function(e){return D(e)===o},t.isProfiler=function(e){return D(e)===l},t.isStrictMode=function(e){return D(e)===c},t.isSuspense=function(e){return D(e)===g},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===a||e===p||e===l||e===c||e===g||e===b||"object"==typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===v||e.$$typeof===u||e.$$typeof===s||e.$$typeof===f||e.$$typeof===y||e.$$typeof===x||e.$$typeof===I||e.$$typeof===h)},t.typeOf=D},function(e,t){var r;r=function(){return this}();try{r=r||new Function("return this")()}catch(e){"object"==typeof window&&(r=window)}e.exports=r},function(e,t,r){"use strict";r.r(t),r.d(t,"name",(function(){return To})),r.d(t,"settings",(function(){return jo}));var n=r(11),i=r.n(n),o=r(3),a=r.n(o),c=r(1),l=r(0),u=r.n(l);function s(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function d(){return(d=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}var p=r(14),f=function(){return Math.random().toString(36).substring(7).split("").join(".")},g={INIT:"@@redux/INIT"+f(),REPLACE:"@@redux/REPLACE"+f(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+f()}};function b(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}function v(e,t,r){var n;if("function"==typeof t&&"function"==typeof r||"function"==typeof r&&"function"==typeof arguments[3])throw new Error("It looks like you are passing several store enhancers to createStore(). This is not supported. Instead, compose them together to a single function.");if("function"==typeof t&&void 0===r&&(r=t,t=void 0),void 0!==r){if("function"!=typeof r)throw new Error("Expected the enhancer to be a function.");return r(v)(e,t)}if("function"!=typeof e)throw new Error("Expected the reducer to be a function.");var i=e,o=t,a=[],c=a,l=!1;function u(){c===a&&(c=a.slice())}function s(){if(l)throw new Error("You may not call store.getState() while the reducer is executing. The reducer has already received the state as an argument. Pass it down from the top reducer instead of reading it from the store.");return o}function d(e){if("function"!=typeof e)throw new Error("Expected the listener to be a function.");if(l)throw new Error("You may not call store.subscribe() while the reducer is executing. If you would like to be notified after the store has been updated, subscribe from a component and invoke store.getState() in the callback to access the latest state. See https://redux.js.org/api-reference/store#subscribelistener for more details.");var t=!0;return u(),c.push(e),function(){if(t){if(l)throw new Error("You may not unsubscribe from a store listener while the reducer is executing. See https://redux.js.org/api-reference/store#subscribelistener for more details.");t=!1,u();var r=c.indexOf(e);c.splice(r,1),a=null}}}function f(e){if(!b(e))throw new Error("Actions must be plain objects. Use custom middleware for async actions.");if(void 0===e.type)throw new Error('Actions may not have an undefined "type" property. Have you misspelled a constant?');if(l)throw new Error("Reducers may not dispatch actions.");try{l=!0,o=i(o,e)}finally{l=!1}for(var t=a=c,r=0;r<t.length;r++){(0,t[r])()}return e}function m(e){if("function"!=typeof e)throw new Error("Expected the nextReducer to be a function.");i=e,f({type:g.REPLACE})}function h(){var e,t=d;return(e={subscribe:function(e){if("object"!=typeof e||null===e)throw new TypeError("Expected the observer to be an object.");function r(){e.next&&e.next(s())}return r(),{unsubscribe:t(r)}}})[p.a]=function(){return this},e}return f({type:g.INIT}),(n={dispatch:f,subscribe:d,getState:s,replaceReducer:m})[p.a]=h,n}function m(e,t){return function(){return t(e.apply(this,arguments))}}function h(e,t){if("function"==typeof e)return m(e,t);if("object"!=typeof e||null===e)throw new Error("bindActionCreators expected an object or a function, instead received "+(null===e?"null":typeof e)+'. Did you write "import ActionCreators from" instead of "import * as ActionCreators from"?');var r={};for(var n in e){var i=e[n];"function"==typeof i&&(r[n]=m(i,t))}return r}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){var r=Object.keys(e);return Object.getOwnPropertySymbols&&r.push.apply(r,Object.getOwnPropertySymbols(e)),t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r}function I(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?x(r,!0).forEach((function(t){y(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):x(r).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function D(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return 0===t.length?function(e){return e}:1===t.length?t[0]:t.reduce((function(e,t){return function(){return e(t.apply(void 0,arguments))}}))}r(23);var w=u.a.createContext(null);var O=function(e){e()},E={notify:function(){}};function C(){var e=O,t=null,r=null;return{clear:function(){t=null,r=null},notify:function(){e((function(){for(var e=t;e;)e.callback(),e=e.next}))},get:function(){for(var e=[],r=t;r;)e.push(r),r=r.next;return e},subscribe:function(e){var n=!0,i=r={callback:e,next:null,prev:r};return i.prev?i.prev.next=i:t=i,function(){n&&null!==t&&(n=!1,i.next?i.next.prev=i.prev:r=i.prev,i.prev?i.prev.next=i.next:t=i.next)}}}}var P=function(){function e(e,t){this.store=e,this.parentSub=t,this.unsubscribe=null,this.listeners=E,this.handleChangeWrapper=this.handleChangeWrapper.bind(this)}var t=e.prototype;return t.addNestedSub=function(e){return this.trySubscribe(),this.listeners.subscribe(e)},t.notifyNestedSubs=function(){this.listeners.notify()},t.handleChangeWrapper=function(){this.onStateChange&&this.onStateChange()},t.isSubscribed=function(){return Boolean(this.unsubscribe)},t.trySubscribe=function(){this.unsubscribe||(this.unsubscribe=this.parentSub?this.parentSub.addNestedSub(this.handleChangeWrapper):this.store.subscribe(this.handleChangeWrapper),this.listeners=C())},t.tryUnsubscribe=function(){this.unsubscribe&&(this.unsubscribe(),this.unsubscribe=null,this.listeners.clear(),this.listeners=E)},e}();var S=function(e){var t=e.store,r=e.context,n=e.children,i=Object(l.useMemo)((function(){var e=new P(t);return e.onStateChange=e.notifyNestedSubs,{store:t,subscription:e}}),[t]),o=Object(l.useMemo)((function(){return t.getState()}),[t]);Object(l.useEffect)((function(){var e=i.subscription;return e.trySubscribe(),o!==t.getState()&&e.notifyNestedSubs(),function(){e.tryUnsubscribe(),e.onStateChange=null}}),[i,o]);var a=r||w;return u.a.createElement(a.Provider,{value:i},n)};function A(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}var N=r(13),B=r.n(N),R=r(10),T="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement?l.useLayoutEffect:l.useEffect,j=[],L=[null,null];function M(e,t){var r=e[1];return[t.payload,r+1]}function G(e,t,r){T((function(){return e.apply(void 0,t)}),r)}function _(e,t,r,n,i,o,a){e.current=n,t.current=i,r.current=!1,o.current&&(o.current=null,a())}function k(e,t,r,n,i,o,a,c,l,u){if(e){var s=!1,d=null,p=function(){if(!s){var e,r,p=t.getState();try{e=n(p,i.current)}catch(e){r=e,d=e}r||(d=null),e===o.current?a.current||l():(o.current=e,c.current=e,a.current=!0,u({type:"STORE_UPDATED",payload:{error:r}}))}};r.onStateChange=p,r.trySubscribe(),p();return function(){if(s=!0,r.tryUnsubscribe(),r.onStateChange=null,d)throw d}}}var F=function(){return[null,0]};function W(e,t){void 0===t&&(t={});var r=t,n=r.getDisplayName,i=void 0===n?function(e){return"ConnectAdvanced("+e+")"}:n,o=r.methodName,a=void 0===o?"connectAdvanced":o,c=r.renderCountProp,s=void 0===c?void 0:c,p=r.shouldHandleStateChanges,f=void 0===p||p,g=r.storeKey,b=void 0===g?"store":g,v=(r.withRef,r.forwardRef),m=void 0!==v&&v,h=r.context,y=void 0===h?w:h,x=A(r,["getDisplayName","methodName","renderCountProp","shouldHandleStateChanges","storeKey","withRef","forwardRef","context"]),I=y;return function(t){var r=t.displayName||t.name||"Component",n=i(r),o=d({},x,{getDisplayName:i,methodName:a,renderCountProp:s,shouldHandleStateChanges:f,storeKey:b,displayName:n,wrappedComponentName:r,WrappedComponent:t}),c=x.pure;var p=c?l.useMemo:function(e){return e()};function g(r){var n=Object(l.useMemo)((function(){var e=r.forwardedRef,t=A(r,["forwardedRef"]);return[r.context,e,t]}),[r]),i=n[0],a=n[1],c=n[2],s=Object(l.useMemo)((function(){return i&&i.Consumer&&Object(R.isContextConsumer)(u.a.createElement(i.Consumer,null))?i:I}),[i,I]),g=Object(l.useContext)(s),b=Boolean(r.store)&&Boolean(r.store.getState)&&Boolean(r.store.dispatch);Boolean(g)&&Boolean(g.store);var v=b?r.store:g.store,m=Object(l.useMemo)((function(){return function(t){return e(t.dispatch,o)}(v)}),[v]),h=Object(l.useMemo)((function(){if(!f)return L;var e=new P(v,b?null:g.subscription),t=e.notifyNestedSubs.bind(e);return[e,t]}),[v,b,g]),y=h[0],x=h[1],D=Object(l.useMemo)((function(){return b?g:d({},g,{subscription:y})}),[b,g,y]),w=Object(l.useReducer)(M,j,F),O=w[0][0],E=w[1];if(O&&O.error)throw O.error;var C=Object(l.useRef)(),S=Object(l.useRef)(c),N=Object(l.useRef)(),B=Object(l.useRef)(!1),T=p((function(){return N.current&&c===S.current?N.current:m(v.getState(),c)}),[v,O,c]);G(_,[S,C,B,c,T,N,x]),G(k,[f,v,y,m,S,C,B,N,x,E],[v,y,m]);var W=Object(l.useMemo)((function(){return u.a.createElement(t,d({},T,{ref:a}))}),[a,t,T]);return Object(l.useMemo)((function(){return f?u.a.createElement(s.Provider,{value:D},W):W}),[s,W,D])}var v=c?u.a.memo(g):g;if(v.WrappedComponent=t,v.displayName=n,m){var h=u.a.forwardRef((function(e,t){return u.a.createElement(v,d({},e,{forwardedRef:t}))}));return h.displayName=n,h.WrappedComponent=t,B()(h,t)}return B()(v,t)}}function U(e,t){return e===t?0!==e||0!==t||1/e==1/t:e!=e&&t!=t}function H(e,t){if(U(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var r=Object.keys(e),n=Object.keys(t);if(r.length!==n.length)return!1;for(var i=0;i<r.length;i++)if(!Object.prototype.hasOwnProperty.call(t,r[i])||!U(e[r[i]],t[r[i]]))return!1;return!0}function q(e){return function(t,r){var n=e(t,r);function i(){return n}return i.dependsOnOwnProps=!1,i}}function V(e){return null!==e.dependsOnOwnProps&&void 0!==e.dependsOnOwnProps?Boolean(e.dependsOnOwnProps):1!==e.length}function z(e,t){return function(t,r){r.displayName;var n=function(e,t){return n.dependsOnOwnProps?n.mapToProps(e,t):n.mapToProps(e)};return n.dependsOnOwnProps=!0,n.mapToProps=function(t,r){n.mapToProps=e,n.dependsOnOwnProps=V(e);var i=n(t,r);return"function"==typeof i&&(n.mapToProps=i,n.dependsOnOwnProps=V(i),i=n(t,r)),i},n}}var $=[function(e){return"function"==typeof e?z(e):void 0},function(e){return e?void 0:q((function(e){return{dispatch:e}}))},function(e){return e&&"object"==typeof e?q((function(t){return h(e,t)})):void 0}];var Y=[function(e){return"function"==typeof e?z(e):void 0},function(e){return e?void 0:q((function(){return{}}))}];function J(e,t,r){return d({},r,{},e,{},t)}var X=[function(e){return"function"==typeof e?function(e){return function(t,r){r.displayName;var n,i=r.pure,o=r.areMergedPropsEqual,a=!1;return function(t,r,c){var l=e(t,r,c);return a?i&&o(l,n)||(n=l):(a=!0,n=l),n}}}(e):void 0},function(e){return e?void 0:function(){return J}}];function K(e,t,r,n){return function(i,o){return r(e(i,o),t(n,o),o)}}function Q(e,t,r,n,i){var o,a,c,l,u,s=i.areStatesEqual,d=i.areOwnPropsEqual,p=i.areStatePropsEqual,f=!1;function g(i,f){var g,b,v=!d(f,a),m=!s(i,o);return o=i,a=f,v&&m?(c=e(o,a),t.dependsOnOwnProps&&(l=t(n,a)),u=r(c,l,a)):v?(e.dependsOnOwnProps&&(c=e(o,a)),t.dependsOnOwnProps&&(l=t(n,a)),u=r(c,l,a)):m?(g=e(o,a),b=!p(g,c),c=g,b&&(u=r(c,l,a)),u):u}return function(i,s){return f?g(i,s):(c=e(o=i,a=s),l=t(n,a),u=r(c,l,a),f=!0,u)}}function Z(e,t){var r=t.initMapStateToProps,n=t.initMapDispatchToProps,i=t.initMergeProps,o=A(t,["initMapStateToProps","initMapDispatchToProps","initMergeProps"]),a=r(e,o),c=n(e,o),l=i(e,o);return(o.pure?Q:K)(a,c,l,e,o)}function ee(e,t,r){for(var n=t.length-1;n>=0;n--){var i=t[n](e);if(i)return i}return function(t,n){throw new Error("Invalid value of type "+typeof e+" for "+r+" argument when connecting component "+n.wrappedComponentName+".")}}function te(e,t){return e===t}function re(e){var t=void 0===e?{}:e,r=t.connectHOC,n=void 0===r?W:r,i=t.mapStateToPropsFactories,o=void 0===i?Y:i,a=t.mapDispatchToPropsFactories,c=void 0===a?$:a,l=t.mergePropsFactories,u=void 0===l?X:l,s=t.selectorFactory,p=void 0===s?Z:s;return function(e,t,r,i){void 0===i&&(i={});var a=i,l=a.pure,s=void 0===l||l,f=a.areStatesEqual,g=void 0===f?te:f,b=a.areOwnPropsEqual,v=void 0===b?H:b,m=a.areStatePropsEqual,h=void 0===m?H:m,y=a.areMergedPropsEqual,x=void 0===y?H:y,I=A(a,["pure","areStatesEqual","areOwnPropsEqual","areStatePropsEqual","areMergedPropsEqual"]),D=ee(e,o,"mapStateToProps"),w=ee(t,c,"mapDispatchToProps"),O=ee(r,u,"mergeProps");return n(p,d({methodName:"connect",getDisplayName:function(e){return"Connect("+e+")"},shouldHandleStateChanges:Boolean(e),initMapStateToProps:D,initMapDispatchToProps:w,initMergeProps:O,pure:s,areStatesEqual:g,areOwnPropsEqual:v,areStatePropsEqual:h,areMergedPropsEqual:x},I))}}var ne=re();var ie,oe=r(6),ae=r.n(oe);function ce(e,t){var r=Object(l.useState)((function(){return{inputs:t,result:e()}}))[0],n=Object(l.useRef)(r),i=Boolean(t&&n.current.inputs&&function(e,t){if(e.length!==t.length)return!1;for(var r=0;r<e.length;r++)if(e[r]!==t[r])return!1;return!0}(t,n.current.inputs))?n.current:{inputs:t,result:e()};return Object(l.useEffect)((function(){n.current=i}),[i]),i.result}ie=oe.unstable_batchedUpdates,O=ie;var le=ce,ue=function(e,t){return ce((function(){return e}),t)};var se=function(e,t){if(!e)throw new Error("Invariant failed")},de=function(e){var t=e.top,r=e.right,n=e.bottom,i=e.left;return{top:t,right:r,bottom:n,left:i,width:r-i,height:n-t,x:i,y:t,center:{x:(r+i)/2,y:(n+t)/2}}},pe=function(e,t){return{top:e.top-t.top,left:e.left-t.left,bottom:e.bottom+t.bottom,right:e.right+t.right}},fe=function(e,t){return{top:e.top+t.top,left:e.left+t.left,bottom:e.bottom-t.bottom,right:e.right-t.right}},ge={top:0,right:0,bottom:0,left:0},be=function(e){var t=e.borderBox,r=e.margin,n=void 0===r?ge:r,i=e.border,o=void 0===i?ge:i,a=e.padding,c=void 0===a?ge:a,l=de(pe(t,n)),u=de(fe(t,o)),s=de(fe(u,c));return{marginBox:l,borderBox:de(t),paddingBox:u,contentBox:s,margin:n,border:o,padding:c}},ve=function(e){var t=e.slice(0,-2);if("px"!==e.slice(-2))return 0;var r=Number(t);return isNaN(r)&&se(!1),r},me=function(e,t){var r,n,i=e.borderBox,o=e.border,a=e.margin,c=e.padding,l=(n=t,{top:(r=i).top+n.y,left:r.left+n.x,bottom:r.bottom+n.y,right:r.right+n.x});return be({borderBox:l,border:o,margin:a,padding:c})},he=function(e,t){return void 0===t&&(t={x:window.pageXOffset,y:window.pageYOffset}),me(e,t)},ye=function(e,t){var r={top:ve(t.marginTop),right:ve(t.marginRight),bottom:ve(t.marginBottom),left:ve(t.marginLeft)},n={top:ve(t.paddingTop),right:ve(t.paddingRight),bottom:ve(t.paddingBottom),left:ve(t.paddingLeft)},i={top:ve(t.borderTopWidth),right:ve(t.borderRightWidth),bottom:ve(t.borderBottomWidth),left:ve(t.borderLeftWidth)};return be({borderBox:e,margin:r,padding:n,border:i})},xe=function(e){var t=e.getBoundingClientRect(),r=window.getComputedStyle(e);return ye(t,r)};function Ie(e,t){if(e.length!==t.length)return!1;for(var r=0;r<e.length;r++)if(e[r]!==t[r])return!1;return!0}var De=function(e,t){var r;void 0===t&&(t=Ie);var n,i=[],o=!1;return function(){for(var a=[],c=0;c<arguments.length;c++)a[c]=arguments[c];return o&&r===this&&t(a,i)||(n=e.apply(this,a),o=!0,r=this,i=a),n}},we=function(e){var t=[],r=null,n=function(){for(var n=arguments.length,i=new Array(n),o=0;o<n;o++)i[o]=arguments[o];t=i,r||(r=requestAnimationFrame((function(){r=null,e.apply(void 0,t)})))};return n.cancel=function(){r&&(cancelAnimationFrame(r),r=null)},n};function Oe(e,t){}Oe.bind(null,"warn"),Oe.bind(null,"error");function Ee(){}function Ce(e,t,r){var n=t.map((function(t){var n,i,o=(n=r,i=t.options,d({},n,{},i));return e.addEventListener(t.eventName,t.fn,o),function(){e.removeEventListener(t.eventName,t.fn,o)}}));return function(){n.forEach((function(e){e()}))}}function Pe(e){this.message=e}function Se(e,t){if(!e)throw new Pe("Invariant failed")}Pe.prototype.toString=function(){return this.message};var Ae=function(e){function t(){for(var t,r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];return(t=e.call.apply(e,[this].concat(n))||this).callbacks=null,t.unbind=Ee,t.onWindowError=function(e){var r=t.getCallbacks();r.isDragging()&&r.tryAbort(),e.error instanceof Pe&&e.preventDefault()},t.getCallbacks=function(){if(!t.callbacks)throw new Error("Unable to find AppCallbacks in <ErrorBoundary/>");return t.callbacks},t.setCallbacks=function(e){t.callbacks=e},t}s(t,e);var r=t.prototype;return r.componentDidMount=function(){this.unbind=Ce(window,[{eventName:"error",fn:this.onWindowError}])},r.componentWillUnmount=function(){this.unbind()},r.componentDidCatch=function(e){if(!(e instanceof Pe))throw e;this.setState({})},r.render=function(){return this.props.children(this.setCallbacks)},t}(u.a.Component),Ne=function(e){return e+1},Be=function(e,t){var r=e.droppableId===t.droppableId,n=Ne(e.index),i=Ne(t.index);return r?"\n      You have moved the item from position "+n+"\n      to position "+i+"\n    ":"\n    You have moved the item from position "+n+"\n    in list "+e.droppableId+"\n    to list "+t.droppableId+"\n    in position "+i+"\n  "},Re=function(e,t,r){return t.droppableId===r.droppableId?"\n      The item "+e+"\n      has been combined with "+r.draggableId:"\n      The item "+e+"\n      in list "+t.droppableId+"\n      has been combined with "+r.draggableId+"\n      in list "+r.droppableId+"\n    "},Te=function(e){return"\n  The item has returned to its starting position\n  of "+Ne(e.index)+"\n"},je="\n  Press space bar to start a drag.\n  When dragging you can use the arrow keys to move the item around and escape to cancel.\n  Some screen readers may require you to be in focus mode or to use your pass through key\n",Le=function(e){return"\n  You have lifted an item in position "+Ne(e.source.index)+"\n"},Me=function(e){var t=e.destination;if(t)return Be(e.source,t);var r=e.combine;return r?Re(e.draggableId,e.source,r):"You are over an area that cannot be dropped on"},Ge=function(e){if("CANCEL"===e.reason)return"\n      Movement cancelled.\n      "+Te(e.source)+"\n    ";var t=e.destination,r=e.combine;return t?"\n      You have dropped the item.\n      "+Be(e.source,t)+"\n    ":r?"\n      You have dropped the item.\n      "+Re(e.draggableId,e.source,r)+"\n    ":"\n    The item has been dropped while not over a drop area.\n    "+Te(e.source)+"\n  "},_e={x:0,y:0},ke=function(e,t){return{x:e.x+t.x,y:e.y+t.y}},Fe=function(e,t){return{x:e.x-t.x,y:e.y-t.y}},We=function(e,t){return e.x===t.x&&e.y===t.y},Ue=function(e){return{x:0!==e.x?-e.x:0,y:0!==e.y?-e.y:0}},He=function(e,t,r){var n;return void 0===r&&(r=0),(n={})[e]=t,n["x"===e?"y":"x"]=r,n},qe=function(e,t){return Math.sqrt(Math.pow(t.x-e.x,2)+Math.pow(t.y-e.y,2))},Ve=function(e,t){return Math.min.apply(Math,t.map((function(t){return qe(e,t)})))},ze=function(e){return function(t){return{x:e(t.x),y:e(t.y)}}},$e=function(e,t){return{top:e.top+t.y,left:e.left+t.x,bottom:e.bottom+t.y,right:e.right+t.x}},Ye=function(e){return[{x:e.left,y:e.top},{x:e.right,y:e.top},{x:e.left,y:e.bottom},{x:e.right,y:e.bottom}]},Je=function(e,t){return t&&t.shouldClipSubject?function(e,t){var r=de({top:Math.max(t.top,e.top),right:Math.min(t.right,e.right),bottom:Math.min(t.bottom,e.bottom),left:Math.max(t.left,e.left)});return r.width<=0||r.height<=0?null:r}(t.pageMarginBox,e):de(e)},Xe=function(e){var t=e.page,r=e.withPlaceholder,n=e.axis,i=e.frame,o=function(e,t,r){var n;return r&&r.increasedBy?d({},e,((n={})[t.end]=e[t.end]+r.increasedBy[t.line],n)):e}(function(e,t){return t?$e(e,t.scroll.diff.displacement):e}(t.marginBox,i),n,r);return{page:t,withPlaceholder:r,active:Je(o,i)}},Ke=function(e,t){e.frame||Se(!1);var r=e.frame,n=Fe(t,r.scroll.initial),i=Ue(n),o=d({},r,{scroll:{initial:r.scroll.initial,current:t,diff:{value:n,displacement:i},max:r.scroll.max}});return d({},e,{frame:o,subject:Xe({page:e.subject.page,withPlaceholder:e.subject.withPlaceholder,axis:e.axis,frame:o})})};function Qe(e){return Object.values?Object.values(e):Object.keys(e).map((function(t){return e[t]}))}function Ze(e,t){if(e.findIndex)return e.findIndex(t);for(var r=0;r<e.length;r++)if(t(e[r]))return r;return-1}function et(e,t){if(e.find)return e.find(t);var r=Ze(e,t);return-1!==r?e[r]:void 0}function tt(e){return Array.prototype.slice.call(e)}var rt=De((function(e){return e.reduce((function(e,t){return e[t.descriptor.id]=t,e}),{})})),nt=De((function(e){return e.reduce((function(e,t){return e[t.descriptor.id]=t,e}),{})})),it=De((function(e){return Qe(e)})),ot=De((function(e){return Qe(e)})),at=De((function(e,t){return ot(t).filter((function(t){return e===t.descriptor.droppableId})).sort((function(e,t){return e.descriptor.index-t.descriptor.index}))}));function ct(e){return e.at&&"REORDER"===e.at.type?e.at.destination:null}function lt(e){return e.at&&"COMBINE"===e.at.type?e.at.combine:null}var ut=De((function(e,t){return t.filter((function(t){return t.descriptor.id!==e.descriptor.id}))})),st=function(e,t){return e.descriptor.droppableId===t.descriptor.id},dt={point:_e,value:0},pt={invisible:{},visible:{},all:[]},ft={displaced:pt,displacedBy:dt,at:null},gt=function(e,t){return function(r){return e<=r&&r<=t}},bt=function(e){var t=gt(e.top,e.bottom),r=gt(e.left,e.right);return function(n){if(t(n.top)&&t(n.bottom)&&r(n.left)&&r(n.right))return!0;var i=t(n.top)||t(n.bottom),o=r(n.left)||r(n.right);if(i&&o)return!0;var a=n.top<e.top&&n.bottom>e.bottom,c=n.left<e.left&&n.right>e.right;return!(!a||!c)||(a&&o||c&&i)}},vt=function(e){var t=gt(e.top,e.bottom),r=gt(e.left,e.right);return function(e){return t(e.top)&&t(e.bottom)&&r(e.left)&&r(e.right)}},mt={direction:"vertical",line:"y",crossAxisLine:"x",start:"top",end:"bottom",size:"height",crossAxisStart:"left",crossAxisEnd:"right",crossAxisSize:"width"},ht={direction:"horizontal",line:"x",crossAxisLine:"y",start:"left",end:"right",size:"width",crossAxisStart:"top",crossAxisEnd:"bottom",crossAxisSize:"height"},yt=function(e){var t=e.target,r=e.destination,n=e.viewport,i=e.withDroppableDisplacement,o=e.isVisibleThroughFrameFn,a=i?function(e,t){var r=t.frame?t.frame.scroll.diff.displacement:_e;return $e(e,r)}(t,r):t;return function(e,t,r){return!!t.subject.active&&r(t.subject.active)(e)}(a,r,o)&&function(e,t,r){return r(t)(e)}(a,n,o)},xt=function(e){return yt(d({},e,{isVisibleThroughFrameFn:bt}))},It=function(e){return yt(d({},e,{isVisibleThroughFrameFn:vt}))};function Dt(e){var t=e.afterDragging,r=e.destination,n=e.displacedBy,i=e.viewport,o=e.forceShouldAnimate,a=e.last;return t.reduce((function(e,t){var c=function(e,t){var r=e.page.marginBox,n={top:t.point.y,right:0,bottom:0,left:t.point.x};return de(pe(r,n))}(t,n),l=t.descriptor.id;if(e.all.push(l),!xt({target:c,destination:r,viewport:i,withDroppableDisplacement:!0}))return e.invisible[t.descriptor.id]=!0,e;var u={draggableId:l,shouldAnimate:function(e,t,r){if("boolean"==typeof r)return r;if(!t)return!0;var n=t.invisible,i=t.visible;if(n[e])return!1;var o=i[e];return!o||o.shouldAnimate}(l,a,o)};return e.visible[l]=u,e}),{all:[],visible:{},invisible:{}})}function wt(e){var t=e.insideDestination,r=e.inHomeList,n=e.displacedBy,i=e.destination,o=function(e,t){if(!e.length)return 0;var r=e[e.length-1].descriptor.index;return t.inHomeList?r:r+1}(t,{inHomeList:r});return{displaced:pt,displacedBy:n,at:{type:"REORDER",destination:{droppableId:i.descriptor.id,index:o}}}}function Ot(e){var t=e.draggable,r=e.insideDestination,n=e.destination,i=e.viewport,o=e.displacedBy,a=e.last,c=e.index,l=e.forceShouldAnimate,u=st(t,n);if(null==c)return wt({insideDestination:r,inHomeList:u,displacedBy:o,destination:n});var s=et(r,(function(e){return e.descriptor.index===c}));if(!s)return wt({insideDestination:r,inHomeList:u,displacedBy:o,destination:n});var d=ut(t,r),p=r.indexOf(s);return{displaced:Dt({afterDragging:d.slice(p),destination:n,displacedBy:o,last:a,viewport:i.frame,forceShouldAnimate:l}),displacedBy:o,at:{type:"REORDER",destination:{droppableId:n.descriptor.id,index:c}}}}function Et(e,t){return Boolean(t.effected[e])}var Ct=function(e){var t=e.isMovingForward,r=e.isInHomeList,n=e.draggable,i=e.draggables,o=e.destination,a=e.insideDestination,c=e.previousImpact,l=e.viewport,u=e.afterCritical,s=c.at;if(s||Se(!1),"REORDER"===s.type){var d=function(e){var t=e.isMovingForward,r=e.isInHomeList,n=e.insideDestination,i=e.location;if(!n.length)return null;var o=i.index,a=t?o+1:o-1,c=n[0].descriptor.index,l=n[n.length-1].descriptor.index;return a<c||a>(r?l:l+1)?null:a}({isMovingForward:t,isInHomeList:r,location:s.destination,insideDestination:a});return null==d?null:Ot({draggable:n,insideDestination:a,destination:o,viewport:l,last:c.displaced,displacedBy:c.displacedBy,index:d})}var p=function(e){var t=e.isMovingForward,r=e.destination,n=e.draggables,i=e.combine,o=e.afterCritical;if(!r.isCombineEnabled)return null;var a=i.draggableId,c=n[a].descriptor.index;return Et(a,o)?t?c:c-1:t?c+1:c}({isMovingForward:t,destination:o,displaced:c.displaced,draggables:i,combine:s.combine,afterCritical:u});return null==p?null:Ot({draggable:n,insideDestination:a,destination:o,viewport:l,last:c.displaced,displacedBy:c.displacedBy,index:p})},Pt=function(e){var t=e.afterCritical,r=e.impact,n=e.draggables,i=lt(r);i||Se(!1);var o=i.draggableId,a=n[o].page.borderBox.center,c=function(e){var t=e.displaced,r=e.afterCritical,n=e.combineWith,i=e.displacedBy,o=Boolean(t.visible[n]||t.invisible[n]);return Et(n,r)?o?_e:Ue(i.point):o?i.point:_e}({displaced:r.displaced,afterCritical:t,combineWith:o,displacedBy:r.displacedBy});return ke(a,c)},St=function(e,t){return t.margin[e.start]+t.borderBox[e.size]/2},At=function(e,t,r){return t[e.crossAxisStart]+r.margin[e.crossAxisStart]+r.borderBox[e.crossAxisSize]/2},Nt=function(e){var t=e.axis,r=e.moveRelativeTo,n=e.isMoving;return He(t.line,r.marginBox[t.end]+St(t,n),At(t,r.marginBox,n))},Bt=function(e){var t=e.axis,r=e.moveRelativeTo,n=e.isMoving;return He(t.line,r.marginBox[t.start]-function(e,t){return t.margin[e.end]+t.borderBox[e.size]/2}(t,n),At(t,r.marginBox,n))},Rt=function(e){var t=e.impact,r=e.draggable,n=e.draggables,i=e.droppable,o=e.afterCritical,a=at(i.descriptor.id,n),c=r.page,l=i.axis;if(!a.length)return function(e){var t=e.axis,r=e.moveInto,n=e.isMoving;return He(t.line,r.contentBox[t.start]+St(t,n),At(t,r.contentBox,n))}({axis:l,moveInto:i.page,isMoving:c});var u=t.displaced,s=t.displacedBy,d=u.all[0];if(d){var p=n[d];if(Et(d,o))return Bt({axis:l,moveRelativeTo:p.page,isMoving:c});var f=me(p.page,s.point);return Bt({axis:l,moveRelativeTo:f,isMoving:c})}var g=a[a.length-1];if(g.descriptor.id===r.descriptor.id)return c.borderBox.center;if(Et(g.descriptor.id,o)){var b=me(g.page,Ue(o.displacedBy.point));return Nt({axis:l,moveRelativeTo:b,isMoving:c})}return Nt({axis:l,moveRelativeTo:g.page,isMoving:c})},Tt=function(e,t){var r=e.frame;return r?ke(t,r.scroll.diff.displacement):t},jt=function(e){var t=function(e){var t=e.impact,r=e.draggable,n=e.droppable,i=e.draggables,o=e.afterCritical,a=r.page.borderBox.center,c=t.at;return n&&c?"REORDER"===c.type?Rt({impact:t,draggable:r,draggables:i,droppable:n,afterCritical:o}):Pt({impact:t,draggables:i,afterCritical:o}):a}(e),r=e.droppable;return r?Tt(r,t):t},Lt=function(e,t){var r=Fe(t,e.scroll.initial),n=Ue(r);return{frame:de({top:t.y,bottom:t.y+e.frame.height,left:t.x,right:t.x+e.frame.width}),scroll:{initial:e.scroll.initial,max:e.scroll.max,current:t,diff:{value:r,displacement:n}}}};function Mt(e,t){return e.map((function(e){return t[e]}))}var Gt=function(e){var t=e.pageBorderBoxCenter,r=e.draggable,n=function(e,t){return ke(e.scroll.diff.displacement,t)}(e.viewport,t),i=Fe(n,r.page.borderBox.center);return ke(r.client.borderBox.center,i)},_t=function(e){var t=e.draggable,r=e.destination,n=e.newPageBorderBoxCenter,i=e.viewport,o=e.withDroppableDisplacement,a=e.onlyOnMainAxis,c=void 0!==a&&a,l=Fe(n,t.page.borderBox.center),u={target:$e(t.page.borderBox,l),destination:r,withDroppableDisplacement:o,viewport:i};return c?function(e){return yt(d({},e,{isVisibleThroughFrameFn:(t=e.destination.axis,function(e){var r=gt(e.top,e.bottom),n=gt(e.left,e.right);return function(e){return t===mt?r(e.top)&&r(e.bottom):n(e.left)&&n(e.right)}})}));var t}(u):It(u)},kt=function(e){var t=e.isMovingForward,r=e.draggable,n=e.destination,i=e.draggables,o=e.previousImpact,a=e.viewport,c=e.previousPageBorderBoxCenter,l=e.previousClientSelection,u=e.afterCritical;if(!n.isEnabled)return null;var s=at(n.descriptor.id,i),p=st(r,n),f=function(e){var t=e.isMovingForward,r=e.draggable,n=e.destination,i=e.insideDestination,o=e.previousImpact;if(!n.isCombineEnabled)return null;if(!ct(o))return null;function a(e){var t={type:"COMBINE",combine:{draggableId:e,droppableId:n.descriptor.id}};return d({},o,{at:t})}var c=o.displaced.all,l=c.length?c[0]:null;if(t)return l?a(l):null;var u=ut(r,i);if(!l)return u.length?a(u[u.length-1].descriptor.id):null;var s=Ze(u,(function(e){return e.descriptor.id===l}));-1===s&&Se(!1);var p=s-1;return p<0?null:a(u[p].descriptor.id)}({isMovingForward:t,draggable:r,destination:n,insideDestination:s,previousImpact:o})||Ct({isMovingForward:t,isInHomeList:p,draggable:r,draggables:i,destination:n,insideDestination:s,previousImpact:o,viewport:a,afterCritical:u});if(!f)return null;var g=jt({impact:f,draggable:r,droppable:n,draggables:i,afterCritical:u});if(_t({draggable:r,destination:n,newPageBorderBoxCenter:g,viewport:a.frame,withDroppableDisplacement:!1,onlyOnMainAxis:!0}))return{clientSelection:Gt({pageBorderBoxCenter:g,draggable:r,viewport:a}),impact:f,scrollJumpRequest:null};var b=Fe(g,c);return{clientSelection:l,impact:function(e){var t=e.impact,r=e.viewport,n=e.destination,i=e.draggables,o=e.maxScrollChange,a=Lt(r,ke(r.scroll.current,o)),c=n.frame?Ke(n,ke(n.frame.scroll.current,o)):n,l=t.displaced,u=Dt({afterDragging:Mt(l.all,i),destination:n,displacedBy:t.displacedBy,viewport:a.frame,last:l,forceShouldAnimate:!1}),s=Dt({afterDragging:Mt(l.all,i),destination:c,displacedBy:t.displacedBy,viewport:r.frame,last:l,forceShouldAnimate:!1}),p={},f={},g=[l,u,s];return l.all.forEach((function(e){var t=function(e,t){for(var r=0;r<t.length;r++){var n=t[r].visible[e];if(n)return n}return null}(e,g);t?f[e]=t:p[e]=!0})),d({},t,{displaced:{all:l.all,invisible:p,visible:f}})}({impact:f,viewport:a,destination:n,draggables:i,maxScrollChange:b}),scrollJumpRequest:b}},Ft=function(e){var t=e.subject.active;return t||Se(!1),t},Wt=function(e,t){var r=e.page.borderBox.center;return Et(e.descriptor.id,t)?Fe(r,t.displacedBy.point):r},Ut=function(e,t){var r=e.page.borderBox;return Et(e.descriptor.id,t)?$e(r,Ue(t.displacedBy.point)):r},Ht=De((function(e,t){var r=t[e.line];return{value:r,point:He(e.line,r)}})),qt=function(e,t){return d({},e,{scroll:d({},e.scroll,{max:t})})},Vt=function(e,t,r){var n=e.frame;st(t,e)&&Se(!1),e.subject.withPlaceholder&&Se(!1);var i=Ht(e.axis,t.displaceBy).point,o=function(e,t,r){var n=e.axis;if("virtual"===e.descriptor.mode)return He(n.line,t[n.line]);var i=e.subject.page.contentBox[n.size],o=at(e.descriptor.id,r).reduce((function(e,t){return e+t.client.marginBox[n.size]}),0)+t[n.line]-i;return o<=0?null:He(n.line,o)}(e,i,r),a={placeholderSize:i,increasedBy:o,oldFrameMaxScroll:e.frame?e.frame.scroll.max:null};if(!n)return d({},e,{subject:Xe({page:e.subject.page,withPlaceholder:a,axis:e.axis,frame:e.frame})});var c=o?ke(n.scroll.max,o):n.scroll.max,l=qt(n,c);return d({},e,{subject:Xe({page:e.subject.page,withPlaceholder:a,axis:e.axis,frame:l}),frame:l})},zt=function(e){var t=e.isMovingForward,r=e.previousPageBorderBoxCenter,n=e.draggable,i=e.isOver,o=e.draggables,a=e.droppables,c=e.viewport,l=e.afterCritical,u=function(e){var t=e.isMovingForward,r=e.pageBorderBoxCenter,n=e.source,i=e.droppables,o=e.viewport,a=n.subject.active;if(!a)return null;var c=n.axis,l=gt(a[c.start],a[c.end]),u=it(i).filter((function(e){return e!==n})).filter((function(e){return e.isEnabled})).filter((function(e){return Boolean(e.subject.active)})).filter((function(e){return bt(o.frame)(Ft(e))})).filter((function(e){var r=Ft(e);return t?a[c.crossAxisEnd]<r[c.crossAxisEnd]:r[c.crossAxisStart]<a[c.crossAxisStart]})).filter((function(e){var t=Ft(e),r=gt(t[c.start],t[c.end]);return l(t[c.start])||l(t[c.end])||r(a[c.start])||r(a[c.end])})).sort((function(e,r){var n=Ft(e)[c.crossAxisStart],i=Ft(r)[c.crossAxisStart];return t?n-i:i-n})).filter((function(e,t,r){return Ft(e)[c.crossAxisStart]===Ft(r[0])[c.crossAxisStart]}));if(!u.length)return null;if(1===u.length)return u[0];var s=u.filter((function(e){return gt(Ft(e)[c.start],Ft(e)[c.end])(r[c.line])}));return 1===s.length?s[0]:s.length>1?s.sort((function(e,t){return Ft(e)[c.start]-Ft(t)[c.start]}))[0]:u.sort((function(e,t){var n=Ve(r,Ye(Ft(e))),i=Ve(r,Ye(Ft(t)));return n!==i?n-i:Ft(e)[c.start]-Ft(t)[c.start]}))[0]}({isMovingForward:t,pageBorderBoxCenter:r,source:i,droppables:a,viewport:c});if(!u)return null;var s=at(u.descriptor.id,o),d=function(e){var t=e.previousPageBorderBoxCenter,r=e.moveRelativeTo,n=e.insideDestination,i=e.draggable,o=e.draggables,a=e.destination,c=e.viewport,l=e.afterCritical;if(!r){if(n.length)return null;var u={displaced:pt,displacedBy:dt,at:{type:"REORDER",destination:{droppableId:a.descriptor.id,index:0}}},s=jt({impact:u,draggable:i,droppable:a,draggables:o,afterCritical:l}),d=st(i,a)?a:Vt(a,i,o);return _t({draggable:i,destination:d,newPageBorderBoxCenter:s,viewport:c.frame,withDroppableDisplacement:!1,onlyOnMainAxis:!0})?u:null}var p,f=Boolean(t[a.axis.line]<=r.page.borderBox.center[a.axis.line]),g=(p=r.descriptor.index,r.descriptor.id===i.descriptor.id||f?p:p+1),b=Ht(a.axis,i.displaceBy);return Ot({draggable:i,insideDestination:n,destination:a,viewport:c,displacedBy:b,last:pt,index:g})}({previousPageBorderBoxCenter:r,destination:u,draggable:n,draggables:o,moveRelativeTo:function(e){var t=e.pageBorderBoxCenter,r=e.viewport,n=e.destination,i=e.insideDestination,o=e.afterCritical;return i.filter((function(e){return It({target:Ut(e,o),destination:n,viewport:r.frame,withDroppableDisplacement:!0})})).sort((function(e,r){var i=qe(t,Tt(n,Wt(e,o))),a=qe(t,Tt(n,Wt(r,o)));return i<a?-1:a<i?1:e.descriptor.index-r.descriptor.index}))[0]||null}({pageBorderBoxCenter:r,viewport:c,destination:u,insideDestination:s,afterCritical:l}),insideDestination:s,viewport:c,afterCritical:l});if(!d)return null;var p=jt({impact:d,draggable:n,droppable:u,draggables:o,afterCritical:l});return{clientSelection:Gt({pageBorderBoxCenter:p,draggable:n,viewport:c}),impact:d,scrollJumpRequest:null}},$t=function(e){var t=e.at;return t?"REORDER"===t.type?t.destination.droppableId:t.combine.droppableId:null},Yt=function(e){var t=e.state,r=e.type,n=function(e,t){var r=$t(e);return r?t[r]:null}(t.impact,t.dimensions.droppables),i=Boolean(n),o=t.dimensions.droppables[t.critical.droppable.id],a=n||o,c=a.axis.direction,l="vertical"===c&&("MOVE_UP"===r||"MOVE_DOWN"===r)||"horizontal"===c&&("MOVE_LEFT"===r||"MOVE_RIGHT"===r);if(l&&!i)return null;var u="MOVE_DOWN"===r||"MOVE_RIGHT"===r,s=t.dimensions.draggables[t.critical.draggable.id],d=t.current.page.borderBoxCenter,p=t.dimensions,f=p.draggables,g=p.droppables;return l?kt({isMovingForward:u,previousPageBorderBoxCenter:d,draggable:s,destination:a,draggables:f,viewport:t.viewport,previousClientSelection:t.current.client.selection,previousImpact:t.impact,afterCritical:t.afterCritical}):zt({isMovingForward:u,previousPageBorderBoxCenter:d,draggable:s,isOver:a,draggables:f,droppables:g,viewport:t.viewport,afterCritical:t.afterCritical})};function Jt(e){return"DRAGGING"===e.phase||"COLLECTING"===e.phase}function Xt(e){var t=gt(e.top,e.bottom),r=gt(e.left,e.right);return function(e){return t(e.y)&&r(e.x)}}function Kt(e){var t=e.pageBorderBox,r=e.draggable,n=e.droppables,i=it(n).filter((function(e){if(!e.isEnabled)return!1;var r,n,i=e.subject.active;if(!i)return!1;if(n=i,!((r=t).left<n.right&&r.right>n.left&&r.top<n.bottom&&r.bottom>n.top))return!1;if(Xt(i)(t.center))return!0;var o=e.axis,a=i.center[o.crossAxisLine],c=t[o.crossAxisStart],l=t[o.crossAxisEnd],u=gt(i[o.crossAxisStart],i[o.crossAxisEnd]),s=u(c),d=u(l);return!s&&!d||(s?c<a:l>a)}));return i.length?1===i.length?i[0].descriptor.id:function(e){var t=e.pageBorderBox,r=e.draggable,n=e.candidates,i=r.page.borderBox.center,o=n.map((function(e){var r=e.axis,n=He(e.axis.line,t.center[r.line],e.page.borderBox.center[r.crossAxisLine]);return{id:e.descriptor.id,distance:qe(i,n)}})).sort((function(e,t){return t.distance-e.distance}));return o[0]?o[0].id:null}({pageBorderBox:t,draggable:r,candidates:i}):null}var Qt=function(e,t){return de($e(e,t))};function Zt(e){var t=e.displaced,r=e.id;return Boolean(t.visible[r]||t.invisible[r])}var er=function(e){var t=e.pageOffset,r=e.draggable,n=e.draggables,i=e.droppables,o=e.previousImpact,a=e.viewport,c=e.afterCritical,l=Qt(r.page.borderBox,t),u=Kt({pageBorderBox:l,draggable:r,droppables:i});if(!u)return ft;var s,d,p=i[u],f=at(p.descriptor.id,n),g=(s=l,(d=p.frame)?Qt(s,d.scroll.diff.value):s);return function(e){var t=e.draggable,r=e.pageBorderBoxWithDroppableScroll,n=e.previousImpact,i=e.destination,o=e.insideDestination,a=e.afterCritical;if(!i.isCombineEnabled)return null;var c=i.axis,l=Ht(i.axis,t.displaceBy),u=l.value,s=r[c.start],d=r[c.end],p=et(ut(t,o),(function(e){var t=e.descriptor.id,r=e.page.borderBox,i=r[c.size]/4,o=Et(t,a),l=Zt({displaced:n.displaced,id:t});return o?l?d>r[c.start]+i&&d<r[c.end]-i:s>r[c.start]-u+i&&s<r[c.end]-u-i:l?d>r[c.start]+u+i&&d<r[c.end]+u-i:s>r[c.start]+i&&s<r[c.end]-i}));return p?{displacedBy:l,displaced:n.displaced,at:{type:"COMBINE",combine:{draggableId:p.descriptor.id,droppableId:i.descriptor.id}}}:null}({pageBorderBoxWithDroppableScroll:g,draggable:r,previousImpact:o,destination:p,insideDestination:f,afterCritical:c})||function(e){var t=e.pageBorderBoxWithDroppableScroll,r=e.draggable,n=e.destination,i=e.insideDestination,o=e.last,a=e.viewport,c=e.afterCritical,l=n.axis,u=Ht(n.axis,r.displaceBy),s=u.value,d=t[l.start],p=t[l.end],f=function(e){var t=e.draggable,r=e.closest,n=e.inHomeList;return r?n&&r.descriptor.index>t.descriptor.index?r.descriptor.index-1:r.descriptor.index:null}({draggable:r,closest:et(ut(r,i),(function(e){var t=e.descriptor.id,r=e.page.borderBox.center[l.line],n=Et(t,c),i=Zt({displaced:o,id:t});return n?i?p<=r:d<r-s:i?p<=r+s:d<r})),inHomeList:st(r,n)});return Ot({draggable:r,insideDestination:i,destination:n,viewport:a,last:o,displacedBy:u,index:f})}({pageBorderBoxWithDroppableScroll:g,draggable:r,destination:p,insideDestination:f,last:o.displaced,viewport:a,afterCritical:c})},tr=function(e,t){var r;return d({},e,((r={})[t.descriptor.id]=t,r))},rr=function(e){var t=e.previousImpact,r=e.impact,n=e.droppables,i=$t(t),o=$t(r);if(!i)return n;if(i===o)return n;var a=n[i];if(!a.subject.withPlaceholder)return n;var c=function(e){var t=e.subject.withPlaceholder;t||Se(!1);var r=e.frame;if(!r)return d({},e,{subject:Xe({page:e.subject.page,axis:e.axis,frame:null,withPlaceholder:null})});var n=t.oldFrameMaxScroll;n||Se(!1);var i=qt(r,n);return d({},e,{subject:Xe({page:e.subject.page,axis:e.axis,frame:i,withPlaceholder:null}),frame:i})}(a);return tr(n,c)},nr=function(e){var t=e.state,r=e.clientSelection,n=e.dimensions,i=e.viewport,o=e.impact,a=e.scrollJumpRequest,c=i||t.viewport,l=n||t.dimensions,u=r||t.current.client.selection,s=Fe(u,t.initial.client.selection),p={offset:s,selection:u,borderBoxCenter:ke(t.initial.client.borderBoxCenter,s)},f={selection:ke(p.selection,c.scroll.current),borderBoxCenter:ke(p.borderBoxCenter,c.scroll.current),offset:ke(p.offset,c.scroll.diff.value)},g={client:p,page:f};if("COLLECTING"===t.phase)return d({phase:"COLLECTING"},t,{dimensions:l,viewport:c,current:g});var b=l.draggables[t.critical.draggable.id],v=o||er({pageOffset:f.offset,draggable:b,draggables:l.draggables,droppables:l.droppables,previousImpact:t.impact,viewport:c,afterCritical:t.afterCritical}),m=function(e){var t=e.draggable,r=e.draggables,n=e.droppables,i=e.previousImpact,o=e.impact,a=rr({previousImpact:i,impact:o,droppables:n}),c=$t(o);if(!c)return a;var l=n[c];if(st(t,l))return a;if(l.subject.withPlaceholder)return a;var u=Vt(l,t,r);return tr(a,u)}({draggable:b,impact:v,previousImpact:t.impact,draggables:l.draggables,droppables:l.droppables});return d({},t,{current:g,dimensions:{draggables:l.draggables,droppables:m},impact:v,viewport:c,scrollJumpRequest:a||null,forceShouldAnimate:!a&&null})};var ir=function(e){var t=e.impact,r=e.viewport,n=e.draggables,i=e.destination,o=e.forceShouldAnimate,a=t.displaced;return d({},t,{displaced:Dt({afterDragging:function(e,t){return e.map((function(e){return t[e]}))}(a.all,n),destination:i,displacedBy:t.displacedBy,viewport:r.frame,forceShouldAnimate:o,last:a})})},or=function(e){var t=e.impact,r=e.draggable,n=e.droppable,i=e.draggables,o=e.viewport,a=e.afterCritical,c=jt({impact:t,draggable:r,draggables:i,droppable:n,afterCritical:a});return Gt({pageBorderBoxCenter:c,draggable:r,viewport:o})},ar=function(e){var t=e.state,r=e.dimensions,n=e.viewport;"SNAP"!==t.movementMode&&Se(!1);var i=t.impact,o=n||t.viewport,a=r||t.dimensions,c=a.draggables,l=a.droppables,u=c[t.critical.draggable.id],s=$t(i);s||Se(!1);var d=l[s],p=ir({impact:i,viewport:o,destination:d,draggables:c}),f=or({impact:p,draggable:u,droppable:d,draggables:c,viewport:o,afterCritical:t.afterCritical});return nr({impact:p,clientSelection:f,state:t,dimensions:a,viewport:o})},cr=function(e){var t=e.draggable,r=e.home,n=e.draggables,i=e.viewport,o=Ht(r.axis,t.displaceBy),a=at(r.descriptor.id,n),c=a.indexOf(t);-1===c&&Se(!1);var l,u=a.slice(c+1),s=u.reduce((function(e,t){return e[t.descriptor.id]=!0,e}),{}),d={inVirtualList:"virtual"===r.descriptor.mode,displacedBy:o,effected:s};return{impact:{displaced:Dt({afterDragging:u,destination:r,displacedBy:o,last:null,viewport:i.frame,forceShouldAnimate:!1}),displacedBy:o,at:{type:"REORDER",destination:(l=t.descriptor,{index:l.index,droppableId:l.droppableId})}},afterCritical:d}},lr=function(e){0},ur=function(e){0},sr=function(e){var t=e.additions,r=e.updatedDroppables,n=e.viewport,i=n.scroll.diff.value;return t.map((function(e){var t=e.descriptor.droppableId,o=function(e){var t=e.frame;return t||Se(!1),t}(r[t]).scroll.diff.value;return function(e){var t=e.draggable,r=e.offset,n=e.initialWindowScroll,i=me(t.client,r),o=he(i,n);return d({},t,{placeholder:d({},t.placeholder,{client:i}),client:i,page:o})}({draggable:e,offset:ke(i,o),initialWindowScroll:n.scroll.initial})}))},dr=function(e){return"SNAP"===e.movementMode},pr=function(e,t,r){var n=function(e,t){return{draggables:e.draggables,droppables:tr(e.droppables,t)}}(e.dimensions,t);return!dr(e)||r?nr({state:e,dimensions:n}):ar({state:e,dimensions:n})};function fr(e){return e.isDragging&&"SNAP"===e.movementMode?d({phase:"DRAGGING"},e,{scrollJumpRequest:null}):e}var gr={phase:"IDLE",completed:null,shouldFlush:!1},br=function(e,t){if(void 0===e&&(e=gr),"FLUSH"===t.type)return d({},gr,{shouldFlush:!0});if("INITIAL_PUBLISH"===t.type){"IDLE"!==e.phase&&Se(!1);var r=t.payload,n=r.critical,i=r.clientSelection,o=r.viewport,a=r.dimensions,c=r.movementMode,l=a.draggables[n.draggable.id],u=a.droppables[n.droppable.id],s={selection:i,borderBoxCenter:l.client.borderBox.center,offset:_e},p={client:s,page:{selection:ke(s.selection,o.scroll.initial),borderBoxCenter:ke(s.selection,o.scroll.initial),offset:ke(s.selection,o.scroll.diff.value)}},f=it(a.droppables).every((function(e){return!e.isFixedOnPage})),g=cr({draggable:l,home:u,draggables:a.draggables,viewport:o}),b=g.impact;return{phase:"DRAGGING",isDragging:!0,critical:n,movementMode:c,dimensions:a,initial:p,current:p,isWindowScrollAllowed:f,impact:b,afterCritical:g.afterCritical,onLiftImpact:b,viewport:o,scrollJumpRequest:null,forceShouldAnimate:null}}if("COLLECTION_STARTING"===t.type)return"COLLECTING"===e.phase||"DROP_PENDING"===e.phase?e:("DRAGGING"!==e.phase&&Se(!1),d({phase:"COLLECTING"},e,{phase:"COLLECTING"}));if("PUBLISH_WHILE_DRAGGING"===t.type)return"COLLECTING"!==e.phase&&"DROP_PENDING"!==e.phase&&Se(!1),function(e){var t=e.state,r=e.published;lr();var n=r.modified.map((function(e){var r=t.dimensions.droppables[e.droppableId];return Ke(r,e.scroll)})),i=d({},t.dimensions.droppables,{},rt(n)),o=nt(sr({additions:r.additions,updatedDroppables:i,viewport:t.viewport})),a=d({},t.dimensions.draggables,{},o);r.removals.forEach((function(e){delete a[e]}));var c={droppables:i,draggables:a},l=$t(t.impact),u=l?c.droppables[l]:null,s=c.draggables[t.critical.draggable.id],p=c.droppables[t.critical.droppable.id],f=cr({draggable:s,home:p,draggables:a,viewport:t.viewport}),g=f.impact,b=f.afterCritical,v=u&&u.isCombineEnabled?t.impact:g,m=er({pageOffset:t.current.page.offset,draggable:c.draggables[t.critical.draggable.id],draggables:c.draggables,droppables:c.droppables,previousImpact:v,viewport:t.viewport,afterCritical:b});ur();var h=d({phase:"DRAGGING"},t,{phase:"DRAGGING",impact:m,onLiftImpact:g,dimensions:c,afterCritical:b,forceShouldAnimate:!1});return"COLLECTING"===t.phase?h:d({phase:"DROP_PENDING"},h,{phase:"DROP_PENDING",reason:t.reason,isWaiting:!1})}({state:e,published:t.payload});if("MOVE"===t.type){if("DROP_PENDING"===e.phase)return e;Jt(e)||Se(!1);var v=t.payload.client;return We(v,e.current.client.selection)?e:nr({state:e,clientSelection:v,impact:dr(e)?e.impact:null})}if("UPDATE_DROPPABLE_SCROLL"===t.type){if("DROP_PENDING"===e.phase)return fr(e);if("COLLECTING"===e.phase)return fr(e);Jt(e)||Se(!1);var m=t.payload,h=m.id,y=m.newScroll,x=e.dimensions.droppables[h];if(!x)return e;var I=Ke(x,y);return pr(e,I,!1)}if("UPDATE_DROPPABLE_IS_ENABLED"===t.type){if("DROP_PENDING"===e.phase)return e;Jt(e)||Se(!1);var D=t.payload,w=D.id,O=D.isEnabled,E=e.dimensions.droppables[w];E||Se(!1),E.isEnabled===O&&Se(!1);var C=d({},E,{isEnabled:O});return pr(e,C,!0)}if("UPDATE_DROPPABLE_IS_COMBINE_ENABLED"===t.type){if("DROP_PENDING"===e.phase)return e;Jt(e)||Se(!1);var P=t.payload,S=P.id,A=P.isCombineEnabled,N=e.dimensions.droppables[S];N||Se(!1),N.isCombineEnabled===A&&Se(!1);var B=d({},N,{isCombineEnabled:A});return pr(e,B,!0)}if("MOVE_BY_WINDOW_SCROLL"===t.type){if("DROP_PENDING"===e.phase||"DROP_ANIMATING"===e.phase)return e;Jt(e)||Se(!1),e.isWindowScrollAllowed||Se(!1);var R=t.payload.newScroll;if(We(e.viewport.scroll.current,R))return fr(e);var T=Lt(e.viewport,R);return dr(e)?ar({state:e,viewport:T}):nr({state:e,viewport:T})}if("UPDATE_VIEWPORT_MAX_SCROLL"===t.type){if(!Jt(e))return e;var j=t.payload.maxScroll;if(We(j,e.viewport.scroll.max))return e;var L=d({},e.viewport,{scroll:d({},e.viewport.scroll,{max:j})});return d({phase:"DRAGGING"},e,{viewport:L})}if("MOVE_UP"===t.type||"MOVE_DOWN"===t.type||"MOVE_LEFT"===t.type||"MOVE_RIGHT"===t.type){if("COLLECTING"===e.phase||"DROP_PENDING"===e.phase)return e;"DRAGGING"!==e.phase&&Se(!1);var M=Yt({state:e,type:t.type});return M?nr({state:e,impact:M.impact,clientSelection:M.clientSelection,scrollJumpRequest:M.scrollJumpRequest}):e}if("DROP_PENDING"===t.type){var G=t.payload.reason;return"COLLECTING"!==e.phase&&Se(!1),d({phase:"DROP_PENDING"},e,{phase:"DROP_PENDING",isWaiting:!0,reason:G})}if("DROP_ANIMATE"===t.type){var _=t.payload,k=_.completed,F=_.dropDuration,W=_.newHomeClientOffset;return"DRAGGING"!==e.phase&&"DROP_PENDING"!==e.phase&&Se(!1),{phase:"DROP_ANIMATING",completed:k,dropDuration:F,newHomeClientOffset:W,dimensions:e.dimensions}}return"DROP_COMPLETE"===t.type?{phase:"IDLE",completed:t.payload.completed,shouldFlush:!1}:e},vr=function(e){return{type:"PUBLISH_WHILE_DRAGGING",payload:e}},mr=function(){return{type:"COLLECTION_STARTING",payload:null}},hr=function(e){return{type:"UPDATE_DROPPABLE_SCROLL",payload:e}},yr=function(e){return{type:"UPDATE_DROPPABLE_IS_ENABLED",payload:e}},xr=function(e){return{type:"UPDATE_DROPPABLE_IS_COMBINE_ENABLED",payload:e}},Ir=function(e){return{type:"MOVE",payload:e}},Dr=function(){return{type:"MOVE_UP",payload:null}},wr=function(){return{type:"MOVE_DOWN",payload:null}},Or=function(){return{type:"MOVE_RIGHT",payload:null}},Er=function(){return{type:"MOVE_LEFT",payload:null}},Cr=function(e){return{type:"DROP_COMPLETE",payload:e}},Pr=function(e){return{type:"DROP",payload:e}},Sr=function(){return{type:"DROP_ANIMATION_FINISHED",payload:null}};var Ar="cubic-bezier(.2,1,.1,1)",Nr={drop:0,combining:.7},Br={drop:.75},Rr=.2+"s "+"cubic-bezier(0.2, 0, 0, 1)",Tr={fluid:"opacity "+Rr,snap:"transform "+Rr+", opacity "+Rr,drop:function(e){var t=e+"s "+Ar;return"transform "+t+", opacity "+t},outOfTheWay:"transform "+Rr,placeholder:"height "+Rr+", width "+Rr+", margin "+Rr},jr=function(e){return We(e,_e)?null:"translate("+e.x+"px, "+e.y+"px)"},Lr=jr,Mr=function(e,t){var r=jr(e);return r?t?r+" scale("+Br.drop+")":r:null},Gr=.33,_r=.55,kr=_r-Gr,Fr=function(e){var t=e.getState,r=e.dispatch;return function(e){return function(n){if("DROP"===n.type){var i=t(),o=n.payload.reason;if("COLLECTING"!==i.phase){if("IDLE"!==i.phase){"DROP_PENDING"===i.phase&&i.isWaiting&&Se(!1),"DRAGGING"!==i.phase&&"DROP_PENDING"!==i.phase&&Se(!1);var a=i.critical,c=i.dimensions,l=c.draggables[i.critical.draggable.id],u=function(e){var t=e.draggables,r=e.reason,n=e.lastImpact,i=e.home,o=e.viewport,a=e.onLiftImpact;return n.at&&"DROP"===r?"REORDER"===n.at.type?{impact:n,didDropInsideDroppable:!0}:{impact:d({},n,{displaced:pt}),didDropInsideDroppable:!0}:{impact:ir({draggables:t,impact:a,destination:i,viewport:o,forceShouldAnimate:!0}),didDropInsideDroppable:!1}}({reason:o,lastImpact:i.impact,afterCritical:i.afterCritical,onLiftImpact:i.onLiftImpact,home:i.dimensions.droppables[i.critical.droppable.id],viewport:i.viewport,draggables:i.dimensions.draggables}),s=u.impact,p=u.didDropInsideDroppable,f=p?ct(s):null,g=p?lt(s):null,b={index:a.draggable.index,droppableId:a.droppable.id},v={draggableId:l.descriptor.id,type:l.descriptor.type,source:b,reason:o,mode:i.movementMode,destination:f,combine:g},m=function(e){var t=e.impact,r=e.draggable,n=e.dimensions,i=e.viewport,o=e.afterCritical,a=n.draggables,c=n.droppables,l=$t(t),u=l?c[l]:null,s=c[r.descriptor.droppableId],d=or({impact:t,draggable:r,draggables:a,afterCritical:o,droppable:u||s,viewport:i});return Fe(d,r.client.borderBox.center)}({impact:s,draggable:l,dimensions:c,viewport:i.viewport,afterCritical:i.afterCritical}),h={critical:i.critical,afterCritical:i.afterCritical,result:v,impact:s};if(!We(i.current.client.offset,m)||Boolean(v.combine)){var y=function(e){var t=e.current,r=e.destination,n=e.reason,i=qe(t,r);if(i<=0)return Gr;if(i>=1500)return _r;var o=Gr+kr*(i/1500);return Number(("CANCEL"===n?.6*o:o).toFixed(2))}({current:i.current.client.offset,destination:m,reason:o});r(function(e){return{type:"DROP_ANIMATE",payload:e}}({newHomeClientOffset:m,dropDuration:y,completed:h}))}else r(Cr({completed:h}))}}else r(function(e){return{type:"DROP_PENDING",payload:e}}({reason:o}))}else e(n)}}},Wr=function(){return{x:window.pageXOffset,y:window.pageYOffset}};function Ur(e){var t=e.onWindowScroll;var r,n=we((function(){t(Wr())})),i=(r=n,{eventName:"scroll",options:{passive:!0,capture:!1},fn:function(e){e.target!==window&&e.target!==window.document||r()}}),o=Ee;function a(){return o!==Ee}return{start:function(){a()&&Se(!1),o=Ce(window,[i])},stop:function(){a()||Se(!1),n.cancel(),o(),o=Ee},isActive:a}}var Hr=function(e){var t=Ur({onWindowScroll:function(t){e.dispatch({type:"MOVE_BY_WINDOW_SCROLL",payload:{newScroll:t}})}});return function(e){return function(r){t.isActive()||"INITIAL_PUBLISH"!==r.type||t.start(),t.isActive()&&function(e){return"DROP_COMPLETE"===e.type||"DROP_ANIMATE"===e.type||"FLUSH"===e.type}(r)&&t.stop(),e(r)}}},qr=function(){var e=[];return{add:function(t){var r=setTimeout((function(){return function(t){var r=Ze(e,(function(e){return e.timerId===t}));-1===r&&Se(!1),e.splice(r,1)[0].callback()}(r)})),n={timerId:r,callback:t};e.push(n)},flush:function(){if(e.length){var t=[].concat(e);e.length=0,t.forEach((function(e){clearTimeout(e.timerId),e.callback()}))}}}},Vr=function(e,t){lr(),t(),ur()},zr=function(e,t){return{draggableId:e.draggable.id,type:e.droppable.type,source:{droppableId:e.droppable.id,index:e.draggable.index},mode:t}},$r=function(e,t,r,n){if(e){var i=function(e){var t=!1,r=!1,n=setTimeout((function(){r=!0})),i=function(i){t||r||(t=!0,e(i),clearTimeout(n))};return i.wasCalled=function(){return t},i}(r);e(t,{announce:i}),i.wasCalled()||r(n(t))}else r(n(t))},Yr=function(e,t){var r=function(e,t){var r=qr(),n=null,i=function(r){n||Se(!1),n=null,Vr(0,(function(){return $r(e().onDragEnd,r,t,Ge)}))};return{beforeCapture:function(t,r){n&&Se(!1),Vr(0,(function(){var n=e().onBeforeCapture;n&&n({draggableId:t,mode:r})}))},beforeStart:function(t,r){n&&Se(!1),Vr(0,(function(){var n=e().onBeforeDragStart;n&&n(zr(t,r))}))},start:function(i,o){n&&Se(!1);var a=zr(i,o);n={mode:o,lastCritical:i,lastLocation:a.source,lastCombine:null},r.add((function(){Vr(0,(function(){return $r(e().onDragStart,a,t,Le)}))}))},update:function(i,o){var a=ct(o),c=lt(o);n||Se(!1);var l=!function(e,t){if(e===t)return!0;var r=e.draggable.id===t.draggable.id&&e.draggable.droppableId===t.draggable.droppableId&&e.draggable.type===t.draggable.type&&e.draggable.index===t.draggable.index,n=e.droppable.id===t.droppable.id&&e.droppable.type===t.droppable.type;return r&&n}(i,n.lastCritical);l&&(n.lastCritical=i);var u,s,p=(u=n.lastLocation,s=a,!(null==u&&null==s||null!=u&&null!=s&&u.droppableId===s.droppableId&&u.index===s.index));p&&(n.lastLocation=a);var f=!function(e,t){return null==e&&null==t||null!=e&&null!=t&&(e.draggableId===t.draggableId&&e.droppableId===t.droppableId)}(n.lastCombine,c);if(f&&(n.lastCombine=c),l||p||f){var g=d({},zr(i,n.mode),{combine:c,destination:a});r.add((function(){Vr(0,(function(){return $r(e().onDragUpdate,g,t,Me)}))}))}},flush:function(){n||Se(!1),r.flush()},drop:i,abort:function(){if(n){var e=d({},zr(n.lastCritical,n.mode),{combine:null,destination:null,reason:"CANCEL"});i(e)}}}}(e,t);return function(e){return function(t){return function(n){if("BEFORE_INITIAL_CAPTURE"!==n.type){if("INITIAL_PUBLISH"===n.type){var i=n.payload.critical;return r.beforeStart(i,n.payload.movementMode),t(n),void r.start(i,n.payload.movementMode)}if("DROP_COMPLETE"===n.type){var o=n.payload.completed.result;return r.flush(),t(n),void r.drop(o)}if(t(n),"FLUSH"!==n.type){var a=e.getState();"DRAGGING"===a.phase&&r.update(a.critical,a.impact)}else r.abort()}else r.beforeCapture(n.payload.draggableId,n.payload.movementMode)}}}},Jr=function(e){return function(t){return function(r){if("DROP_ANIMATION_FINISHED"===r.type){var n=e.getState();"DROP_ANIMATING"!==n.phase&&Se(!1),e.dispatch(Cr({completed:n.completed}))}else t(r)}}},Xr=function(e){var t=null,r=null;return function(n){return function(i){if("FLUSH"!==i.type&&"DROP_COMPLETE"!==i.type&&"DROP_ANIMATION_FINISHED"!==i.type||(r&&(cancelAnimationFrame(r),r=null),t&&(t(),t=null)),n(i),"DROP_ANIMATE"===i.type){var o={eventName:"scroll",options:{capture:!0,passive:!1,once:!0},fn:function(){"DROP_ANIMATING"===e.getState().phase&&e.dispatch({type:"DROP_ANIMATION_FINISHED",payload:null})}};r=requestAnimationFrame((function(){r=null,t=Ce(window,[o])}))}}}},Kr=function(e){return function(t){return function(r){if(t(r),"PUBLISH_WHILE_DRAGGING"===r.type){var n=e.getState();"DROP_PENDING"===n.phase&&(n.isWaiting||e.dispatch(Pr({reason:n.reason})))}}}},Qr=D,Zr=function(e){var t,r=e.dimensionMarshal,n=e.focusMarshal,i=e.styleMarshal,o=e.getResponders,a=e.announce,c=e.autoScroller;return v(br,Qr(function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return function(e){return function(){var r=e.apply(void 0,arguments),n=function(){throw new Error("Dispatching while constructing your middleware is not allowed. Other middleware would not be applied to this dispatch.")},i={getState:r.getState,dispatch:function(){return n.apply(void 0,arguments)}},o=t.map((function(e){return e(i)}));return I({},r,{dispatch:n=D.apply(void 0,o)(r.dispatch)})}}}((t=i,function(){return function(e){return function(r){"INITIAL_PUBLISH"===r.type&&t.dragging(),"DROP_ANIMATE"===r.type&&t.dropping(r.payload.completed.result.reason),"FLUSH"!==r.type&&"DROP_COMPLETE"!==r.type||t.resting(),e(r)}}}),function(e){return function(){return function(t){return function(r){"DROP_COMPLETE"!==r.type&&"FLUSH"!==r.type&&"DROP_ANIMATE"!==r.type||e.stopPublishing(),t(r)}}}}(r),function(e){return function(t){var r=t.getState,n=t.dispatch;return function(t){return function(i){if("LIFT"===i.type){var o=i.payload,a=o.id,c=o.clientSelection,l=o.movementMode,u=r();"DROP_ANIMATING"===u.phase&&n(Cr({completed:u.completed})),"IDLE"!==r().phase&&Se(!1),n({type:"FLUSH",payload:null}),n({type:"BEFORE_INITIAL_CAPTURE",payload:{draggableId:a,movementMode:l}});var s={draggableId:a,scrollOptions:{shouldPublishImmediately:"SNAP"===l}},d=e.startPublishing(s),p=d.critical,f=d.dimensions,g=d.viewport;n(function(e){return{type:"INITIAL_PUBLISH",payload:e}}({critical:p,dimensions:f,clientSelection:c,movementMode:l,viewport:g}))}else t(i)}}}}(r),Fr,Jr,Xr,Kr,function(e){return function(t){return function(r){return function(n){if(function(e){return"DROP_COMPLETE"===e.type||"DROP_ANIMATE"===e.type||"FLUSH"===e.type}(n))return e.stop(),void r(n);if("INITIAL_PUBLISH"===n.type){r(n);var i=t.getState();return"DRAGGING"!==i.phase&&Se(!1),void e.start(i)}r(n),e.scroll(t.getState())}}}}(c),Hr,function(e){var t=!1;return function(){return function(r){return function(n){if("INITIAL_PUBLISH"===n.type)return t=!0,e.tryRecordFocus(n.payload.critical.draggable.id),r(n),void e.tryRestoreFocusRecorded();if(r(n),t){if("FLUSH"===n.type)return t=!1,void e.tryRestoreFocusRecorded();if("DROP_COMPLETE"===n.type){t=!1;var i=n.payload.completed.result;i.combine&&e.tryShiftRecord(i.draggableId,i.combine.draggableId),e.tryRestoreFocusRecorded()}}}}}}(n),Yr(o,a))))};var en=function(e){var t=e.scrollHeight,r=e.scrollWidth,n=e.height,i=e.width,o=Fe({x:r,y:t},{x:i,y:n});return{x:Math.max(0,o.x),y:Math.max(0,o.y)}},tn=function(){var e=document.documentElement;return e||Se(!1),e},rn=function(){var e=tn();return en({scrollHeight:e.scrollHeight,scrollWidth:e.scrollWidth,width:e.clientWidth,height:e.clientHeight})},nn=function(e){var t=e.critical,r=e.scrollOptions,n=e.registry;lr();var i,o,a,c,l,u,s,d=(i=Wr(),o=rn(),a=i.y,c=i.x,l=tn(),u=l.clientWidth,s=l.clientHeight,{frame:de({top:a,left:c,right:c+u,bottom:a+s}),scroll:{initial:i,current:i,max:o,diff:{value:_e,displacement:_e}}}),p=d.scroll.current,f=t.droppable,g=n.droppable.getAllByType(f.type).map((function(e){return e.callbacks.getDimensionAndWatchScroll(p,r)})),b=n.draggable.getAllByType(t.draggable.type).map((function(e){return e.getDimension(p)})),v={draggables:nt(b),droppables:rt(g)};return ur(),{dimensions:v,critical:t,viewport:d}};function on(e,t,r){return r.descriptor.id!==t.id&&(r.descriptor.type===t.type&&"virtual"===e.droppable.getById(r.descriptor.droppableId).descriptor.mode)}var an,cn,ln=function(e,t){var r=null,n=function(e){var t=e.registry,r=e.callbacks,n={additions:{},removals:{},modified:{}},i=null,o=function(){i||(r.collectionStarting(),i=requestAnimationFrame((function(){i=null,lr();var e=n,o=e.additions,a=e.removals,c=e.modified,l=Object.keys(o).map((function(e){return t.draggable.getById(e).getDimension(_e)})).sort((function(e,t){return e.descriptor.index-t.descriptor.index})),u=Object.keys(c).map((function(e){return{droppableId:e,scroll:t.droppable.getById(e).callbacks.getScrollWhileDragging()}})),s={additions:l,removals:Object.keys(a),modified:u};n={additions:{},removals:{},modified:{}},ur(),r.publish(s)})))};return{add:function(e){var t=e.descriptor.id;n.additions[t]=e,n.modified[e.descriptor.droppableId]=!0,n.removals[t]&&delete n.removals[t],o()},remove:function(e){var t=e.descriptor;n.removals[t.id]=!0,n.modified[t.droppableId]=!0,n.additions[t.id]&&delete n.additions[t.id],o()},stop:function(){i&&(cancelAnimationFrame(i),i=null,n={additions:{},removals:{},modified:{}})}}}({callbacks:{publish:t.publishWhileDragging,collectionStarting:t.collectionStarting},registry:e}),i=function(t){r||Se(!1);var i=r.critical.draggable;"ADDITION"===t.type&&on(e,i,t.value)&&n.add(t.value),"REMOVAL"===t.type&&on(e,i,t.value)&&n.remove(t.value)};return{updateDroppableIsEnabled:function(n,i){e.droppable.exists(n)||Se(!1),r&&t.updateDroppableIsEnabled({id:n,isEnabled:i})},updateDroppableIsCombineEnabled:function(n,i){r&&(e.droppable.exists(n)||Se(!1),t.updateDroppableIsCombineEnabled({id:n,isCombineEnabled:i}))},scrollDroppable:function(t,n){r&&e.droppable.getById(t).callbacks.scroll(n)},updateDroppableScroll:function(n,i){r&&(e.droppable.exists(n)||Se(!1),t.updateDroppableScroll({id:n,newScroll:i}))},startPublishing:function(t){r&&Se(!1);var n=e.draggable.getById(t.draggableId),o=e.droppable.getById(n.descriptor.droppableId),a={draggable:n.descriptor,droppable:o.descriptor},c=e.subscribe(i);return r={critical:a,unsubscribe:c},nn({critical:a,registry:e,scrollOptions:t.scrollOptions})},stopPublishing:function(){if(r){n.stop();var t=r.critical.droppable;e.droppable.getAllByType(t.type).forEach((function(e){return e.callbacks.dragStopped()})),r.unsubscribe(),r=null}}}},un=function(e,t){return"IDLE"===e.phase||"DROP_ANIMATING"===e.phase&&(e.completed.result.draggableId!==t&&"DROP"===e.completed.result.reason)},sn=function(e){window.scrollBy(e.x,e.y)},dn=De((function(e){return it(e).filter((function(e){return!!e.isEnabled&&!!e.frame}))})),pn=function(e){var t=e.center,r=e.destination,n=e.droppables;if(r){var i=n[r];return i.frame?i:null}return function(e,t){return et(dn(t),(function(t){return t.frame||Se(!1),Xt(t.frame.pageMarginBox)(e)}))}(t,n)},fn=.25,gn=.05,bn=28,vn=function(e){return Math.pow(e,2)},mn={stopDampeningAt:1200,accelerateAt:360},hn=function(e){var t=e.startOfRange,r=e.endOfRange,n=e.current,i=r-t;return 0===i?0:(n-t)/i},yn=mn.accelerateAt,xn=mn.stopDampeningAt,In=function(e){var t=e.distanceToEdge,r=e.thresholds,n=e.dragStartTime,i=e.shouldUseTimeDampening,o=function(e,t){if(e>t.startScrollingFrom)return 0;if(e<=t.maxScrollValueAt)return bn;if(e===t.startScrollingFrom)return 1;var r=hn({startOfRange:t.maxScrollValueAt,endOfRange:t.startScrollingFrom,current:e}),n=bn*vn(1-r);return Math.ceil(n)}(t,r);return 0===o?0:i?Math.max(function(e,t){var r=t,n=xn,i=Date.now()-r;if(i>=xn)return e;if(i<yn)return 1;var o=hn({startOfRange:yn,endOfRange:n,current:i}),a=e*vn(o);return Math.ceil(a)}(o,n),1):o},Dn=function(e){var t=e.container,r=e.distanceToEdges,n=e.dragStartTime,i=e.axis,o=e.shouldUseTimeDampening,a=function(e,t){return{startScrollingFrom:e[t.size]*fn,maxScrollValueAt:e[t.size]*gn}}(t,i);return r[i.end]<r[i.start]?In({distanceToEdge:r[i.end],thresholds:a,dragStartTime:n,shouldUseTimeDampening:o}):-1*In({distanceToEdge:r[i.start],thresholds:a,dragStartTime:n,shouldUseTimeDampening:o})},wn=ze((function(e){return 0===e?0:e})),On=function(e){var t=e.dragStartTime,r=e.container,n=e.subject,i=e.center,o=e.shouldUseTimeDampening,a={top:i.y-r.top,right:r.right-i.x,bottom:r.bottom-i.y,left:i.x-r.left},c=Dn({container:r,distanceToEdges:a,dragStartTime:t,axis:mt,shouldUseTimeDampening:o}),l=Dn({container:r,distanceToEdges:a,dragStartTime:t,axis:ht,shouldUseTimeDampening:o}),u=wn({x:l,y:c});if(We(u,_e))return null;var s=function(e){var t=e.container,r=e.subject,n=e.proposedScroll,i=r.height>t.height,o=r.width>t.width;return o||i?o&&i?null:{x:o?0:n.x,y:i?0:n.y}:n}({container:r,subject:n,proposedScroll:u});return s?We(s,_e)?null:s:null},En=ze((function(e){return 0===e?0:e>0?1:-1})),Cn=(an=function(e,t){return e<0?e:e>t?e-t:0},function(e){var t=e.current,r=e.max,n=e.change,i=ke(t,n),o={x:an(i.x,r.x),y:an(i.y,r.y)};return We(o,_e)?null:o}),Pn=function(e){var t=e.max,r=e.current,n=e.change,i={x:Math.max(r.x,t.x),y:Math.max(r.y,t.y)},o=En(n),a=Cn({max:i,current:r,change:o});return!a||(0!==o.x&&0===a.x||0!==o.y&&0===a.y)},Sn=function(e,t){return Pn({current:e.scroll.current,max:e.scroll.max,change:t})},An=function(e,t){var r=e.frame;return!!r&&Pn({current:r.scroll.current,max:r.scroll.max,change:t})},Nn=function(e){var t=e.state,r=e.dragStartTime,n=e.shouldUseTimeDampening,i=e.scrollWindow,o=e.scrollDroppable,a=t.current.page.borderBoxCenter,c=t.dimensions.draggables[t.critical.draggable.id].page.marginBox;if(t.isWindowScrollAllowed){var l=function(e){var t=e.viewport,r=e.subject,n=e.center,i=e.dragStartTime,o=e.shouldUseTimeDampening,a=On({dragStartTime:i,container:t.frame,subject:r,center:n,shouldUseTimeDampening:o});return a&&Sn(t,a)?a:null}({dragStartTime:r,viewport:t.viewport,subject:c,center:a,shouldUseTimeDampening:n});if(l)return void i(l)}var u=pn({center:a,destination:$t(t.impact),droppables:t.dimensions.droppables});if(u){var s=function(e){var t=e.droppable,r=e.subject,n=e.center,i=e.dragStartTime,o=e.shouldUseTimeDampening,a=t.frame;if(!a)return null;var c=On({dragStartTime:i,container:a.pageMarginBox,subject:r,center:n,shouldUseTimeDampening:o});return c&&An(t,c)?c:null}({dragStartTime:r,droppable:u,subject:c,center:a,shouldUseTimeDampening:n});s&&o(u.descriptor.id,s)}},Bn=function(e){var t=e.move,r=e.scrollDroppable,n=e.scrollWindow,i=function(e,t){if(!An(e,t))return t;var n=function(e,t){var r=e.frame;return r&&An(e,t)?Cn({current:r.scroll.current,max:r.scroll.max,change:t}):null}(e,t);if(!n)return r(e.descriptor.id,t),null;var i=Fe(t,n);return r(e.descriptor.id,i),Fe(t,i)},o=function(e,t,r){if(!e)return r;if(!Sn(t,r))return r;var i=function(e,t){if(!Sn(e,t))return null;var r=e.scroll.max,n=e.scroll.current;return Cn({current:n,max:r,change:t})}(t,r);if(!i)return n(r),null;var o=Fe(r,i);return n(o),Fe(r,o)};return function(e){var r=e.scrollJumpRequest;if(r){var n=$t(e.impact);n||Se(!1);var a=i(e.dimensions.droppables[n],r);if(a){var c=e.viewport,l=o(e.isWindowScrollAllowed,c,a);l&&function(e,r){var n=ke(e.current.client.selection,r);t({client:n})}(e,l)}}}},Rn=function(e){var t=e.scrollDroppable,r=e.scrollWindow,n=e.move,i=function(e){var t=e.scrollWindow,r=e.scrollDroppable,n=we(t),i=we(r),o=null,a=function(e){o||Se(!1);var t=o,r=t.shouldUseTimeDampening,a=t.dragStartTime;Nn({state:e,scrollWindow:n,scrollDroppable:i,dragStartTime:a,shouldUseTimeDampening:r})};return{start:function(e){lr(),o&&Se(!1);var t=Date.now(),r=!1,n=function(){r=!0};Nn({state:e,dragStartTime:0,shouldUseTimeDampening:!1,scrollWindow:n,scrollDroppable:n}),o={dragStartTime:t,shouldUseTimeDampening:r},ur(),r&&a(e)},stop:function(){o&&(n.cancel(),i.cancel(),o=null)},scroll:a}}({scrollWindow:r,scrollDroppable:t}),o=Bn({move:n,scrollWindow:r,scrollDroppable:t});return{scroll:function(e){"DRAGGING"===e.phase&&("FLUID"!==e.movementMode?e.scrollJumpRequest&&o(e):i.scroll(e))},start:i.start,stop:i.stop}},Tn={base:cn="data-rbd-drag-handle",draggableId:cn+"-draggable-id",contextId:cn+"-context-id"},jn=function(){var e="data-rbd-draggable";return{base:e,contextId:e+"-context-id",id:e+"-id"}}(),Ln=function(){var e="data-rbd-droppable";return{base:e,contextId:e+"-context-id",id:e+"-id"}}(),Mn={contextId:"data-rbd-scroll-container-context-id"},Gn=function(e,t){return e.map((function(e){var r=e.styles[t];return r?e.selector+" { "+r+" }":""})).join(" ")},_n="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement?l.useLayoutEffect:l.useEffect,kn=function(){var e=document.querySelector("head");return e||Se(!1),e},Fn=function(e){var t=document.createElement("style");return e&&t.setAttribute("nonce",e),t.type="text/css",t};function Wn(e,t){var r=le((function(){return function(e){var t,r,n,i=(t=e,function(e){return"["+e+'="'+t+'"]'}),o=(r="\n      cursor: -webkit-grab;\n      cursor: grab;\n    ",{selector:i(Tn.contextId),styles:{always:"\n          -webkit-touch-callout: none;\n          -webkit-tap-highlight-color: rgba(0,0,0,0);\n          touch-action: manipulation;\n        ",resting:r,dragging:"pointer-events: none;",dropAnimating:r}}),a=[(n="\n      transition: "+Tr.outOfTheWay+";\n    ",{selector:i(jn.contextId),styles:{dragging:n,dropAnimating:n,userCancel:n}}),o,{selector:i(Ln.contextId),styles:{always:"overflow-anchor: none;"}},{selector:"body",styles:{dragging:"\n        cursor: grabbing;\n        cursor: -webkit-grabbing;\n        user-select: none;\n        -webkit-user-select: none;\n        -moz-user-select: none;\n        -ms-user-select: none;\n        overflow-anchor: none;\n      "}}];return{always:Gn(a,"always"),resting:Gn(a,"resting"),dragging:Gn(a,"dragging"),dropAnimating:Gn(a,"dropAnimating"),userCancel:Gn(a,"userCancel")}}(e)}),[e]),n=Object(l.useRef)(null),i=Object(l.useRef)(null),o=ue(De((function(e){var t=i.current;t||Se(!1),t.textContent=e})),[]),a=ue((function(e){var t=n.current;t||Se(!1),t.textContent=e}),[]);_n((function(){(n.current||i.current)&&Se(!1);var c=Fn(t),l=Fn(t);return n.current=c,i.current=l,c.setAttribute("data-rbd-always",e),l.setAttribute("data-rbd-dynamic",e),kn().appendChild(c),kn().appendChild(l),a(r.always),o(r.resting),function(){var e=function(e){var t=e.current;t||Se(!1),kn().removeChild(t),e.current=null};e(n),e(i)}}),[t,a,o,r.always,r.resting,e]);var c=ue((function(){return o(r.dragging)}),[o,r.dragging]),u=ue((function(e){o("DROP"!==e?r.userCancel:r.dropAnimating)}),[o,r.dropAnimating,r.userCancel]),s=ue((function(){i.current&&o(r.resting)}),[o,r.resting]);return le((function(){return{dragging:c,dropping:u,resting:s}}),[c,u,s])}var Un=function(e){return e&&e.ownerDocument?e.ownerDocument.defaultView:window};function Hn(e){return e instanceof Un(e).HTMLElement}function qn(e,t){var r="["+Tn.contextId+'="'+e+'"]',n=tt(document.querySelectorAll(r));if(!n.length)return null;var i=et(n,(function(e){return e.getAttribute(Tn.draggableId)===t}));return i&&Hn(i)?i:null}function Vn(){var e={draggables:{},droppables:{}},t=[];function r(e){t.length&&t.forEach((function(t){return t(e)}))}function n(t){return e.draggables[t]||null}function i(t){return e.droppables[t]||null}return{draggable:{register:function(t){e.draggables[t.descriptor.id]=t,r({type:"ADDITION",value:t})},update:function(t,r){var n=e.draggables[r.descriptor.id];n&&n.uniqueId===t.uniqueId&&(delete e.draggables[r.descriptor.id],e.draggables[t.descriptor.id]=t)},unregister:function(t){var i=t.descriptor.id,o=n(i);o&&t.uniqueId===o.uniqueId&&(delete e.draggables[i],r({type:"REMOVAL",value:t}))},getById:function(e){var t=n(e);return t||Se(!1),t},findById:n,exists:function(e){return Boolean(n(e))},getAllByType:function(t){return Qe(e.draggables).filter((function(e){return e.descriptor.type===t}))}},droppable:{register:function(t){e.droppables[t.descriptor.id]=t},unregister:function(t){var r=i(t.descriptor.id);r&&t.uniqueId===r.uniqueId&&delete e.droppables[t.descriptor.id]},getById:function(e){var t=i(e);return t||Se(!1),t},findById:i,exists:function(e){return Boolean(i(e))},getAllByType:function(t){return Qe(e.droppables).filter((function(e){return e.descriptor.type===t}))}},subscribe:function(e){return t.push(e),function(){var r=t.indexOf(e);-1!==r&&t.splice(r,1)}},clean:function(){e.draggables={},e.droppables={},t.length=0}}}var zn=u.a.createContext(null),$n=function(){var e=document.body;return e||Se(!1),e},Yn={position:"absolute",width:"1px",height:"1px",margin:"-1px",border:"0",padding:"0",overflow:"hidden",clip:"rect(0 0 0 0)","clip-path":"inset(100%)"};var Jn=0,Xn={separator:"::"};function Kn(e,t){return void 0===t&&(t=Xn),le((function(){return""+e+t.separator+Jn++}),[t.separator,e])}var Qn=u.a.createContext(null);function Zn(e){0}function ei(e,t){Zn()}function ti(){ei()}function ri(e){var t=Object(l.useRef)(e);return Object(l.useEffect)((function(){t.current=e})),t}var ni,ii=((ni={})[13]=!0,ni[9]=!0,ni),oi=function(e){ii[e.keyCode]&&e.preventDefault()},ai=function(){var e="visibilitychange";return"undefined"==typeof document?e:et([e,"ms"+e,"webkit"+e,"moz"+e,"o"+e],(function(e){return"on"+e in document}))||e}();var ci,li={type:"IDLE"};function ui(e){var t=e.cancel,r=e.completed,n=e.getPhase,i=e.setPhase;return[{eventName:"mousemove",fn:function(e){var t=e.button,r=e.clientX,o=e.clientY;if(0===t){var a={x:r,y:o},c=n();if("DRAGGING"===c.type)return e.preventDefault(),void c.actions.move(a);"PENDING"!==c.type&&Se(!1);var l=c.point;if(u=l,s=a,Math.abs(s.x-u.x)>=5||Math.abs(s.y-u.y)>=5){var u,s;e.preventDefault();var d=c.actions.fluidLift(a);i({type:"DRAGGING",actions:d})}}}},{eventName:"mouseup",fn:function(e){var i=n();"DRAGGING"===i.type?(e.preventDefault(),i.actions.drop({shouldBlockNextClick:!0}),r()):t()}},{eventName:"mousedown",fn:function(e){"DRAGGING"===n().type&&e.preventDefault(),t()}},{eventName:"keydown",fn:function(e){if("PENDING"!==n().type)return 27===e.keyCode?(e.preventDefault(),void t()):void oi(e);t()}},{eventName:"resize",fn:t},{eventName:"scroll",options:{passive:!0,capture:!1},fn:function(){"PENDING"===n().type&&t()}},{eventName:"webkitmouseforcedown",fn:function(e){var r=n();"IDLE"===r.type&&Se(!1),r.actions.shouldRespectForcePress()?t():e.preventDefault()}},{eventName:ai,fn:t}]}function si(){}var di=((ci={})[34]=!0,ci[33]=!0,ci[36]=!0,ci[35]=!0,ci);function pi(e,t){function r(){t(),e.cancel()}return[{eventName:"keydown",fn:function(n){return 27===n.keyCode?(n.preventDefault(),void r()):32===n.keyCode?(n.preventDefault(),t(),void e.drop()):40===n.keyCode?(n.preventDefault(),void e.moveDown()):38===n.keyCode?(n.preventDefault(),void e.moveUp()):39===n.keyCode?(n.preventDefault(),void e.moveRight()):37===n.keyCode?(n.preventDefault(),void e.moveLeft()):void(di[n.keyCode]?n.preventDefault():oi(n))}},{eventName:"mousedown",fn:r},{eventName:"mouseup",fn:r},{eventName:"click",fn:r},{eventName:"touchstart",fn:r},{eventName:"resize",fn:r},{eventName:"wheel",fn:r,options:{passive:!0}},{eventName:ai,fn:r}]}var fi={type:"IDLE"};var gi={input:!0,button:!0,textarea:!0,select:!0,option:!0,optgroup:!0,video:!0,audio:!0};function bi(e,t){var r=t.target;return!!Hn(r)&&function e(t,r){if(null==r)return!1;if(Boolean(gi[r.tagName.toLowerCase()]))return!0;var n=r.getAttribute("contenteditable");return"true"===n||""===n||r!==t&&e(t,r.parentElement)}(e,r)}var vi=function(e){return de(e.getBoundingClientRect()).center};var mi="undefined"==typeof document?"matches":et(["matches","msMatchesSelector","webkitMatchesSelector"],(function(e){return e in Element.prototype}))||"matches";function hi(e,t){return e.closest?e.closest(t):function e(t,r){return null==t?null:t[mi](r)?t:e(t.parentElement,r)}(e,t)}function yi(e,t){var r,n=t.target;if(!((r=n)instanceof Un(r).Element))return null;var i=hi(n,function(e){return"["+Tn.contextId+'="'+e+'"]'}(e));return i&&Hn(i)?i:null}function xi(e){e.preventDefault()}function Ii(e){var t=e.expected,r=e.phase,n=e.isLockActive;e.shouldWarn;return!!n()&&t===r}function Di(e){var t=e.lockAPI,r=e.store,n=e.registry,i=e.draggableId;if(t.isClaimed())return!1;var o=n.draggable.findById(i);return!!o&&(!!o.options.isEnabled&&!!un(r.getState(),i))}function wi(e){var t=e.lockAPI,r=e.contextId,n=e.store,i=e.registry,o=e.draggableId,a=e.forceSensorStop,c=e.sourceEvent;if(!Di({lockAPI:t,store:n,registry:i,draggableId:o}))return null;var l=i.draggable.getById(o),u=function(e,t){var r="["+jn.contextId+'="'+e+'"]',n=et(tt(document.querySelectorAll(r)),(function(e){return e.getAttribute(jn.id)===t}));return n&&Hn(n)?n:null}(r,l.descriptor.id);if(!u)return null;if(c&&!l.options.canDragInteractiveElements&&bi(u,c))return null;var s=t.claim(a||Ee),p="PRE_DRAG";function f(){return l.options.shouldRespectForcePress}function g(){return t.isActive(s)}var b=function(e,t){Ii({expected:e,phase:p,isLockActive:g,shouldWarn:!0})&&n.dispatch(t())}.bind(null,"DRAGGING");function v(e){function r(){t.release(),p="COMPLETED"}function i(t,i){if(void 0===i&&(i={shouldBlockNextClick:!1}),e.cleanup(),i.shouldBlockNextClick){var o=Ce(window,[{eventName:"click",fn:xi,options:{once:!0,passive:!1,capture:!0}}]);setTimeout(o)}r(),n.dispatch(Pr({reason:t}))}return"PRE_DRAG"!==p&&(r(),"PRE_DRAG"!==p&&Se(!1)),n.dispatch(function(e){return{type:"LIFT",payload:e}}(e.liftActionArgs)),p="DRAGGING",d({isActive:function(){return Ii({expected:"DRAGGING",phase:p,isLockActive:g,shouldWarn:!1})},shouldRespectForcePress:f,drop:function(e){return i("DROP",e)},cancel:function(e){return i("CANCEL",e)}},e.actions)}return{isActive:function(){return Ii({expected:"PRE_DRAG",phase:p,isLockActive:g,shouldWarn:!1})},shouldRespectForcePress:f,fluidLift:function(e){var t=we((function(e){b((function(){return Ir({client:e})}))}));return d({},v({liftActionArgs:{id:o,clientSelection:e,movementMode:"FLUID"},cleanup:function(){return t.cancel()},actions:{move:t}}),{move:t})},snapLift:function(){var e={moveUp:function(){return b(Dr)},moveRight:function(){return b(Or)},moveDown:function(){return b(wr)},moveLeft:function(){return b(Er)}};return v({liftActionArgs:{id:o,clientSelection:vi(u),movementMode:"SNAP"},cleanup:Ee,actions:e})},abort:function(){Ii({expected:"PRE_DRAG",phase:p,isLockActive:g,shouldWarn:!0})&&t.release()}}}var Oi=[function(e){var t=Object(l.useRef)(li),r=Object(l.useRef)(Ee),n=le((function(){return{eventName:"mousedown",fn:function(t){if(!t.defaultPrevented&&0===t.button&&!(t.ctrlKey||t.metaKey||t.shiftKey||t.altKey)){var n=e.findClosestDraggableId(t);if(n){var i=e.tryGetLock(n,a,{sourceEvent:t});if(i){t.preventDefault();var o={x:t.clientX,y:t.clientY};r.current(),s(i,o)}}}}}}),[e]),i=le((function(){return{eventName:"webkitmouseforcewillbegin",fn:function(t){if(!t.defaultPrevented){var r=e.findClosestDraggableId(t);if(r){var n=e.findOptionsForDraggable(r);n&&(n.shouldRespectForcePress||e.canGetLock(r)&&t.preventDefault())}}}}}),[e]),o=ue((function(){r.current=Ce(window,[i,n],{passive:!1,capture:!0})}),[i,n]),a=ue((function(){"IDLE"!==t.current.type&&(t.current=li,r.current(),o())}),[o]),c=ue((function(){var e=t.current;a(),"DRAGGING"===e.type&&e.actions.cancel({shouldBlockNextClick:!0}),"PENDING"===e.type&&e.actions.abort()}),[a]),u=ue((function(){var e=ui({cancel:c,completed:a,getPhase:function(){return t.current},setPhase:function(e){t.current=e}});r.current=Ce(window,e,{capture:!0,passive:!1})}),[c,a]),s=ue((function(e,r){"IDLE"!==t.current.type&&Se(!1),t.current={type:"PENDING",point:r,actions:e},u()}),[u]);_n((function(){return o(),function(){r.current()}}),[o])},function(e){var t=Object(l.useRef)(si),r=le((function(){return{eventName:"keydown",fn:function(r){if(!r.defaultPrevented&&32===r.keyCode){var i=e.findClosestDraggableId(r);if(i){var o=e.tryGetLock(i,l,{sourceEvent:r});if(o){r.preventDefault();var a=!0,c=o.snapLift();t.current(),t.current=Ce(window,pi(c,l),{capture:!0,passive:!1})}}}function l(){a||Se(!1),a=!1,t.current(),n()}}}}),[e]),n=ue((function(){t.current=Ce(window,[r],{passive:!1,capture:!0})}),[r]);_n((function(){return n(),function(){t.current()}}),[n])},function(e){var t=Object(l.useRef)(fi),r=Object(l.useRef)(Ee),n=ue((function(){return t.current}),[]),i=ue((function(e){t.current=e}),[]),o=le((function(){return{eventName:"touchstart",fn:function(t){if(!t.defaultPrevented){var n=e.findClosestDraggableId(t);if(n){var i=e.tryGetLock(n,c,{sourceEvent:t});if(i){var o=t.touches[0],a={x:o.clientX,y:o.clientY};r.current(),p(i,a)}}}}}}),[e]),a=ue((function(){r.current=Ce(window,[o],{capture:!0,passive:!1})}),[o]),c=ue((function(){var e=t.current;"IDLE"!==e.type&&("PENDING"===e.type&&clearTimeout(e.longPressTimerId),i(fi),r.current(),a())}),[a,i]),u=ue((function(){var e=t.current;c(),"DRAGGING"===e.type&&e.actions.cancel({shouldBlockNextClick:!0}),"PENDING"===e.type&&e.actions.abort()}),[c]),s=ue((function(){var e={capture:!0,passive:!1},t={cancel:u,completed:c,getPhase:n},i=Ce(window,function(e){var t=e.cancel,r=e.completed,n=e.getPhase;return[{eventName:"touchmove",options:{capture:!1},fn:function(e){var r=n();if("DRAGGING"===r.type){r.hasMoved=!0;var i=e.touches[0],o={x:i.clientX,y:i.clientY};e.preventDefault(),r.actions.move(o)}else t()}},{eventName:"touchend",fn:function(e){var i=n();"DRAGGING"===i.type?(e.preventDefault(),i.actions.drop({shouldBlockNextClick:!0}),r()):t()}},{eventName:"touchcancel",fn:function(e){"DRAGGING"===n().type?(e.preventDefault(),t()):t()}},{eventName:"touchforcechange",fn:function(e){var r=n();"IDLE"===r.type&&Se(!1);var i=e.touches[0];if(i&&i.force>=.15){var o=r.actions.shouldRespectForcePress();if("PENDING"!==r.type)return o?r.hasMoved?void e.preventDefault():void t():void e.preventDefault();o&&t()}}},{eventName:ai,fn:t}]}(t),e),o=Ce(window,function(e){var t=e.cancel,r=e.getPhase;return[{eventName:"orientationchange",fn:t},{eventName:"resize",fn:t},{eventName:"contextmenu",fn:function(e){e.preventDefault()}},{eventName:"keydown",fn:function(e){"DRAGGING"===r().type?(27===e.keyCode&&e.preventDefault(),t()):t()}},{eventName:ai,fn:t}]}(t),e);r.current=function(){i(),o()}}),[u,n,c]),d=ue((function(){var e=n();"PENDING"!==e.type&&Se(!1);var t=e.actions.fluidLift(e.point);i({type:"DRAGGING",actions:t,hasMoved:!1})}),[n,i]),p=ue((function(e,t){"IDLE"!==n().type&&Se(!1);var r=setTimeout(d,120);i({type:"PENDING",point:t,actions:e,longPressTimerId:r}),s()}),[s,n,i,d]);_n((function(){return a(),function(){r.current();var e=n();"PENDING"===e.type&&(clearTimeout(e.longPressTimerId),i(fi))}}),[n,a,i]),_n((function(){return Ce(window,[{eventName:"touchmove",fn:function(){},options:{capture:!1,passive:!1}}])}),[])}];function Ei(e){var t=e.contextId,r=e.store,n=e.registry,i=e.customSensors,o=e.enableDefaultSensors,a=[].concat(o?Oi:[],i||[]),c=Object(l.useState)((function(){return function(){var e=null;function t(){e||Se(!1),e=null}return{isClaimed:function(){return Boolean(e)},isActive:function(t){return t===e},claim:function(t){e&&Se(!1);var r={abandon:t};return e=r,r},release:t,tryAbandon:function(){e&&(e.abandon(),t())}}}()}))[0],u=ue((function(e,t){e.isDragging&&!t.isDragging&&c.tryAbandon()}),[c]);_n((function(){var e=r.getState();return r.subscribe((function(){var t=r.getState();u(e,t),e=t}))}),[c,r,u]),_n((function(){return c.tryAbandon}),[c.tryAbandon]);var s=ue((function(e){return Di({lockAPI:c,registry:n,store:r,draggableId:e})}),[c,n,r]),d=ue((function(e,i,o){return wi({lockAPI:c,registry:n,contextId:t,store:r,draggableId:e,forceSensorStop:i,sourceEvent:o&&o.sourceEvent?o.sourceEvent:null})}),[t,c,n,r]),p=ue((function(e){return function(e,t){var r=yi(e,t);return r?r.getAttribute(Tn.draggableId):null}(t,e)}),[t]),f=ue((function(e){var t=n.draggable.findById(e);return t?t.options:null}),[n.draggable]),g=ue((function(){c.isClaimed()&&(c.tryAbandon(),"IDLE"!==r.getState().phase&&r.dispatch({type:"FLUSH",payload:null}))}),[c,r]),b=ue(c.isClaimed,[c]),v=le((function(){return{canGetLock:s,tryGetLock:d,findClosestDraggableId:p,findOptionsForDraggable:f,tryReleaseLock:g,isLockClaimed:b}}),[s,d,p,f,g,b]);Zn();for(var m=0;m<a.length;m++)a[m](v)}function Ci(e){return e.current||Se(!1),e.current}function Pi(e){var t=e.contextId,r=e.setCallbacks,n=e.sensors,i=e.nonce,o=e.dragHandleUsageInstructions,a=Object(l.useRef)(null);ti();var c=ri(e),s=ue((function(){return function(e){return{onBeforeCapture:e.onBeforeCapture,onBeforeDragStart:e.onBeforeDragStart,onDragStart:e.onDragStart,onDragEnd:e.onDragEnd,onDragUpdate:e.onDragUpdate}}(c.current)}),[c]),p=function(e){var t=le((function(){return function(e){return"rbd-announcement-"+e}(e)}),[e]),r=Object(l.useRef)(null);return Object(l.useEffect)((function(){var e=document.createElement("div");return r.current=e,e.id=t,e.setAttribute("aria-live","assertive"),e.setAttribute("aria-atomic","true"),d(e.style,Yn),$n().appendChild(e),function(){setTimeout((function(){var t=$n();t.contains(e)&&t.removeChild(e),e===r.current&&(r.current=null)}))}}),[t]),ue((function(e){var t=r.current;t&&(t.textContent=e)}),[])}(t),f=function(e){var t=e.contextId,r=e.text,n=Kn("hidden-text",{separator:"-"}),i=le((function(){return"rbd-hidden-text-"+(e={contextId:t,uniqueId:n}).contextId+"-"+e.uniqueId;var e}),[n,t]);return Object(l.useEffect)((function(){var e=document.createElement("div");return e.id=i,e.textContent=r,e.style.display="none",$n().appendChild(e),function(){var t=$n();t.contains(e)&&t.removeChild(e)}}),[i,r]),i}({contextId:t,text:o}),g=Wn(t,i),b=ue((function(e){Ci(a).dispatch(e)}),[]),v=le((function(){return h({publishWhileDragging:vr,updateDroppableScroll:hr,updateDroppableIsEnabled:yr,updateDroppableIsCombineEnabled:xr,collectionStarting:mr},b)}),[b]),m=function(){var e=le(Vn,[]);return Object(l.useEffect)((function(){return function(){requestAnimationFrame(e.clean)}}),[e]),e}(),y=le((function(){return ln(m,v)}),[m,v]),x=le((function(){return Rn(d({scrollWindow:sn,scrollDroppable:y.scrollDroppable},h({move:Ir},b)))}),[y.scrollDroppable,b]),I=function(e){var t=Object(l.useRef)({}),r=Object(l.useRef)(null),n=Object(l.useRef)(null),i=Object(l.useRef)(!1),o=ue((function(e,r){var n={id:e,focus:r};return t.current[e]=n,function(){var r=t.current;r[e]!==n&&delete r[e]}}),[]),a=ue((function(t){var r=qn(e,t);r&&r!==document.activeElement&&r.focus()}),[e]),c=ue((function(e,t){r.current===e&&(r.current=t)}),[]),u=ue((function(){n.current||i.current&&(n.current=requestAnimationFrame((function(){n.current=null;var e=r.current;e&&a(e)})))}),[a]),s=ue((function(e){r.current=null;var t=document.activeElement;t&&t.getAttribute(Tn.draggableId)===e&&(r.current=e)}),[]);return _n((function(){return i.current=!0,function(){i.current=!1;var e=n.current;e&&cancelAnimationFrame(e)}}),[]),le((function(){return{register:o,tryRecordFocus:s,tryRestoreFocusRecorded:u,tryShiftRecord:c}}),[o,s,u,c])}(t),D=le((function(){return Zr({announce:p,autoScroller:x,dimensionMarshal:y,focusMarshal:I,getResponders:s,styleMarshal:g})}),[p,x,y,I,s,g]);a.current=D;var w=ue((function(){var e=Ci(a);"IDLE"!==e.getState().phase&&e.dispatch({type:"FLUSH",payload:null})}),[]),O=ue((function(){var e=Ci(a).getState();return e.isDragging||"DROP_ANIMATING"===e.phase}),[]);r(le((function(){return{isDragging:O,tryAbort:w}}),[O,w]));var E=ue((function(e){return un(Ci(a).getState(),e)}),[]),C=ue((function(){return Jt(Ci(a).getState())}),[]),P=le((function(){return{marshal:y,focus:I,contextId:t,canLift:E,isMovementAllowed:C,dragHandleUsageInstructionsId:f,registry:m}}),[t,y,f,I,E,C,m]);return Ei({contextId:t,store:D,registry:m,customSensors:n,enableDefaultSensors:!1!==e.enableDefaultSensors}),Object(l.useEffect)((function(){return w}),[w]),u.a.createElement(Qn.Provider,{value:P},u.a.createElement(S,{context:zn,store:D},e.children))}var Si=0;function Ai(e){var t=le((function(){return""+Si++}),[]),r=e.dragHandleUsageInstructions||je;return u.a.createElement(Ae,null,(function(n){return u.a.createElement(Pi,{nonce:e.nonce,contextId:t,setCallbacks:n,dragHandleUsageInstructions:r,enableDefaultSensors:e.enableDefaultSensors,sensors:e.sensors,onBeforeCapture:e.onBeforeCapture,onBeforeDragStart:e.onBeforeDragStart,onDragStart:e.onDragStart,onDragUpdate:e.onDragUpdate,onDragEnd:e.onDragEnd},e.children)}))}var Ni=function(e){return function(t){return e===t}},Bi=Ni("scroll"),Ri=Ni("auto"),Ti=(Ni("visible"),function(e,t){return t(e.overflowX)||t(e.overflowY)}),ji=function(e){var t=window.getComputedStyle(e),r={overflowX:t.overflowX,overflowY:t.overflowY};return Ti(r,Bi)||Ti(r,Ri)},Li=function e(t){return null==t||t===document.body||t===document.documentElement?null:ji(t)?t:e(t.parentElement)},Mi=function(e){return{x:e.scrollLeft,y:e.scrollTop}},Gi=function(e){return{closestScrollable:Li(e),isFixedOnPage:function e(t){return!!t&&("fixed"===window.getComputedStyle(t).position||e(t.parentElement))}(e)}},_i=function(e){var t=e.ref,r=e.descriptor,n=e.env,i=e.windowScroll,o=e.direction,a=e.isDropDisabled,c=e.isCombineEnabled,l=e.shouldClipSubject,u=n.closestScrollable,s=function(e,t){var r=xe(e);if(!t)return r;if(e!==t)return r;var n=r.paddingBox.top-t.scrollTop,i=r.paddingBox.left-t.scrollLeft,o=n+t.scrollHeight,a=i+t.scrollWidth,c=pe({top:n,right:a,bottom:o,left:i},r.border);return be({borderBox:c,margin:r.margin,border:r.border,padding:r.padding})}(t,u),d=he(s,i),p=function(){if(!u)return null;var e=xe(u),t={scrollHeight:u.scrollHeight,scrollWidth:u.scrollWidth};return{client:e,page:he(e,i),scroll:Mi(u),scrollSize:t,shouldClipSubject:l}}();return function(e){var t=e.descriptor,r=e.isEnabled,n=e.isCombineEnabled,i=e.isFixedOnPage,o=e.direction,a=e.client,c=e.page,l=e.closest,u=function(){if(!l)return null;var e=l.scrollSize,t=l.client,r=en({scrollHeight:e.scrollHeight,scrollWidth:e.scrollWidth,height:t.paddingBox.height,width:t.paddingBox.width});return{pageMarginBox:l.page.marginBox,frameClient:t,scrollSize:e,shouldClipSubject:l.shouldClipSubject,scroll:{initial:l.scroll,current:l.scroll,max:r,diff:{value:_e,displacement:_e}}}}(),s="vertical"===o?mt:ht;return{descriptor:t,isCombineEnabled:n,isFixedOnPage:i,axis:s,isEnabled:r,client:a,page:c,frame:u,subject:Xe({page:c,withPlaceholder:null,axis:s,frame:u})}}({descriptor:r,isEnabled:!a,isCombineEnabled:c,isFixedOnPage:n.isFixedOnPage,direction:o,client:s,page:d,closest:p})},ki={passive:!1},Fi={passive:!0},Wi=function(e){return e.shouldPublishImmediately?ki:Fi};function Ui(e){var t=Object(l.useContext)(e);return t||Se(!1),t}var Hi=function(e){return e&&e.env.closestScrollable||null};function qi(){}var Vi={width:0,height:0,margin:{top:0,right:0,bottom:0,left:0}},zi=function(e){var t=e.isAnimatingOpenOnMount,r=e.placeholder,n=e.animate,i=function(e){var t=e.isAnimatingOpenOnMount,r=e.placeholder,n=e.animate;return t||"close"===n?Vi:{height:r.client.borderBox.height,width:r.client.borderBox.width,margin:r.client.margin}}({isAnimatingOpenOnMount:t,placeholder:r,animate:n});return{display:r.display,boxSizing:"border-box",width:i.width,height:i.height,marginTop:i.margin.top,marginRight:i.margin.right,marginBottom:i.margin.bottom,marginLeft:i.margin.left,flexShrink:"0",flexGrow:"0",pointerEvents:"none",transition:"none"!==n?Tr.placeholder:null}};var $i=u.a.memo((function(e){var t=Object(l.useRef)(null),r=ue((function(){t.current&&(clearTimeout(t.current),t.current=null)}),[]),n=e.animate,i=e.onTransitionEnd,o=e.onClose,a=e.contextId,c=Object(l.useState)("open"===e.animate),s=c[0],d=c[1];Object(l.useEffect)((function(){return s?"open"!==n?(r(),d(!1),qi):t.current?qi:(t.current=setTimeout((function(){t.current=null,d(!1)})),r):qi}),[n,s,r]);var p=ue((function(e){"height"===e.propertyName&&(i(),"close"===n&&o())}),[n,o,i]),f=zi({isAnimatingOpenOnMount:s,animate:e.animate,placeholder:e.placeholder});return u.a.createElement(e.placeholder.tagName,{style:f,"data-rbd-placeholder-context-id":a,onTransitionEnd:p,ref:e.innerRef})})),Yi=u.a.createContext(null);var Ji=function(e){function t(){for(var t,r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];return(t=e.call.apply(e,[this].concat(n))||this).state={isVisible:Boolean(t.props.on),data:t.props.on,animate:t.props.shouldAnimate&&t.props.on?"open":"none"},t.onClose=function(){"close"===t.state.animate&&t.setState({isVisible:!1})},t}return s(t,e),t.getDerivedStateFromProps=function(e,t){return e.shouldAnimate?e.on?{isVisible:!0,data:e.on,animate:"open"}:t.isVisible?{isVisible:!0,data:t.data,animate:"close"}:{isVisible:!1,animate:"close",data:null}:{isVisible:Boolean(e.on),data:e.on,animate:"none"}},t.prototype.render=function(){if(!this.state.isVisible)return null;var e={onClose:this.onClose,data:this.state.data,animate:this.state.animate};return this.props.children(e)},t}(u.a.PureComponent),Xi=5e3,Ki=4500,Qi=function(e,t){return t?Tr.drop(t.duration):e?Tr.snap:Tr.fluid},Zi=function(e,t){return e?t?Nr.drop:Nr.combining:null};function eo(e){return"DRAGGING"===e.type?(n=(r=e).dimension.client,i=r.offset,o=r.combineWith,a=r.dropping,c=Boolean(o),l=function(e){return null!=e.forceShouldAnimate?e.forceShouldAnimate:"SNAP"===e.mode}(r),u=Boolean(a),s=u?Mr(i,c):Lr(i),{position:"fixed",top:n.marginBox.top,left:n.marginBox.left,boxSizing:"border-box",width:n.borderBox.width,height:n.borderBox.height,transition:Qi(l,a),transform:s,opacity:Zi(c,u),zIndex:u?Ki:Xi,pointerEvents:"none"}):{transform:Lr((t=e).offset),transition:t.shouldAnimateDisplacement?null:"none"};var t,r,n,i,o,a,c,l,u,s}function to(e){var t=Kn("draggable"),r=e.descriptor,n=e.registry,i=e.getDraggableRef,o=e.canDragInteractiveElements,a=e.shouldRespectForcePress,c=e.isEnabled,u=le((function(){return{canDragInteractiveElements:o,shouldRespectForcePress:a,isEnabled:c}}),[o,c,a]),s=ue((function(e){var t=i();return t||Se(!1),function(e,t,r){void 0===r&&(r=_e);var n=window.getComputedStyle(t),i=t.getBoundingClientRect(),o=ye(i,n),a=he(o,r);return{descriptor:e,placeholder:{client:o,tagName:t.tagName.toLowerCase(),display:n.display},displaceBy:{x:o.marginBox.width,y:o.marginBox.height},client:o,page:a}}(r,t,e)}),[r,i]),d=le((function(){return{uniqueId:t,descriptor:r,options:u,getDimension:s}}),[r,s,u,t]),p=Object(l.useRef)(d),f=Object(l.useRef)(!0);_n((function(){return n.draggable.register(p.current),function(){return n.draggable.unregister(p.current)}}),[n.draggable]),_n((function(){if(f.current)f.current=!1;else{var e=p.current;p.current=d,n.draggable.update(d,e)}}),[d,n.draggable])}function ro(e,t,r){ei()}function no(e){e.preventDefault()}var io=function(e,t){return e===t},oo=function(e){var t=e.combine,r=e.destination;return r?r.droppableId:t?t.droppableId:null};function ao(e){return{isDragging:!1,isDropAnimating:!1,isClone:!1,dropAnimation:null,mode:null,draggingOver:null,combineTargetFor:e,combineWith:null}}var co={mapped:{type:"SECONDARY",offset:_e,combineTargetFor:null,shouldAnimateDisplacement:!0,snapshot:ao(null)}};var lo=ne((function(){var e,t,r,n=(e=De((function(e,t){return{x:e,y:t}})),t=De((function(e,t,r,n,i){return{isDragging:!0,isClone:t,isDropAnimating:Boolean(i),dropAnimation:i,mode:e,draggingOver:r,combineWith:n,combineTargetFor:null}})),r=De((function(e,r,n,i,o,a,c){return{mapped:{type:"DRAGGING",dropping:null,draggingOver:o,combineWith:a,mode:r,offset:e,dimension:n,forceShouldAnimate:c,snapshot:t(r,i,o,a,null)}}})),function(n,i){if(n.isDragging){if(n.critical.draggable.id!==i.draggableId)return null;var o=n.current.client.offset,a=n.dimensions.draggables[i.draggableId],c=$t(n.impact),l=(s=n.impact).at&&"COMBINE"===s.at.type?s.at.combine.draggableId:null,u=n.forceShouldAnimate;return r(e(o.x,o.y),n.movementMode,a,i.isClone,c,l,u)}var s;if("DROP_ANIMATING"===n.phase){var d=n.completed;if(d.result.draggableId!==i.draggableId)return null;var p=i.isClone,f=n.dimensions.draggables[i.draggableId],g=d.result,b=g.mode,v=oo(g),m=function(e){return e.combine?e.combine.draggableId:null}(g),h={duration:n.dropDuration,curve:Ar,moveTo:n.newHomeClientOffset,opacity:m?Nr.drop:null,scale:m?Br.drop:null};return{mapped:{type:"DRAGGING",offset:n.newHomeClientOffset,dimension:f,dropping:h,draggingOver:v,combineWith:m,mode:b,forceShouldAnimate:null,snapshot:t(b,p,v,m,h)}}}return null}),i=function(){var e=De((function(e,t){return{x:e,y:t}})),t=De(ao),r=De((function(e,r,n){return void 0===r&&(r=null),{mapped:{type:"SECONDARY",offset:e,combineTargetFor:r,shouldAnimateDisplacement:n,snapshot:t(r)}}})),n=function(e){return e?r(_e,e,!0):null},i=function(t,i,o,a){var c=o.displaced.visible[t],l=Boolean(a.inVirtualList&&a.effected[t]),u=lt(o),s=u&&u.draggableId===t?i:null;if(!c){if(!l)return n(s);if(o.displaced.invisible[t])return null;var d=Ue(a.displacedBy.point),p=e(d.x,d.y);return r(p,s,!0)}if(l)return n(s);var f=o.displacedBy.point,g=e(f.x,f.y);return r(g,s,c.shouldAnimate)};return function(e,t){if(e.isDragging)return e.critical.draggable.id===t.draggableId?null:i(t.draggableId,e.critical.draggable.id,e.impact,e.afterCritical);if("DROP_ANIMATING"===e.phase){var r=e.completed;return r.result.draggableId===t.draggableId?null:i(t.draggableId,r.result.draggableId,r.impact,r.afterCritical)}return null}}();return function(e,t){return n(e,t)||i(e,t)||co}}),{dropAnimationFinished:Sr},null,{context:zn,pure:!0,areStatePropsEqual:io})((function(e){var t=Object(l.useRef)(null),r=ue((function(e){t.current=e}),[]),n=ue((function(){return t.current}),[]),i=Ui(Qn),o=i.contextId,a=i.dragHandleUsageInstructionsId,c=i.registry,u=Ui(Yi),s=u.type,d=u.droppableId,p=le((function(){return{id:e.draggableId,index:e.index,type:s,droppableId:d}}),[e.draggableId,e.index,s,d]),f=e.children,g=e.draggableId,b=e.isEnabled,v=e.shouldRespectForcePress,m=e.canDragInteractiveElements,h=e.isClone,y=e.mapped,x=e.dropAnimationFinished;ro(),Zn(),h||to(le((function(){return{descriptor:p,registry:c,getDraggableRef:n,canDragInteractiveElements:m,shouldRespectForcePress:v,isEnabled:b}}),[p,c,n,m,v,b]));var I=le((function(){return b?{tabIndex:0,role:"button","aria-describedby":a,"data-rbd-drag-handle-draggable-id":g,"data-rbd-drag-handle-context-id":o,draggable:!1,onDragStart:no}:null}),[o,a,g,b]),D=ue((function(e){"DRAGGING"===y.type&&y.dropping&&"transform"===e.propertyName&&x()}),[x,y]),w=le((function(){var e=eo(y),t="DRAGGING"===y.type&&y.dropping?D:null;return{innerRef:r,draggableProps:{"data-rbd-draggable-context-id":o,"data-rbd-draggable-id":g,style:e,onTransitionEnd:t},dragHandleProps:I}}),[o,I,g,y,D,r]),O=le((function(){return{draggableId:p.id,type:p.type,source:{index:p.index,droppableId:p.droppableId}}}),[p.droppableId,p.id,p.index,p.type]);return f(w,y.snapshot,O)}));function uo(e){return Ui(Yi).isUsingCloneFor!==e.draggableId||e.isClone?u.a.createElement(lo,e):null}function so(e){var t="boolean"!=typeof e.isDragDisabled||!e.isDragDisabled,r=Boolean(e.disableInteractiveElementBlocking),n=Boolean(e.shouldRespectForcePress);return u.a.createElement(uo,d({},e,{isClone:!1,isEnabled:t,canDragInteractiveElements:r,shouldRespectForcePress:n}))}var po=function(e,t){return e===t.droppable.type},fo=function(e,t){return t.draggables[e.draggable.id]};var go={mode:"standard",type:"DEFAULT",direction:"vertical",isDropDisabled:!1,isCombineEnabled:!1,ignoreContainerClipping:!1,renderClone:null,getContainerForClone:function(){return document.body||Se(!1),document.body}},bo=ne((function(){var e={placeholder:null,shouldAnimatePlaceholder:!0,snapshot:{isDraggingOver:!1,draggingOverWith:null,draggingFromThisWith:null,isUsingPlaceholder:!1},useClone:null},t=d({},e,{shouldAnimatePlaceholder:!1}),r=De((function(e){return{draggableId:e.id,type:e.type,source:{index:e.index,droppableId:e.droppableId}}})),n=De((function(n,i,o,a,c,l){var u=c.descriptor.id;if(c.descriptor.droppableId===n){var s=l?{render:l,dragging:r(c.descriptor)}:null,d={isDraggingOver:o,draggingOverWith:o?u:null,draggingFromThisWith:u,isUsingPlaceholder:!0};return{placeholder:c.placeholder,shouldAnimatePlaceholder:!1,snapshot:d,useClone:s}}if(!i)return t;if(!a)return e;var p={isDraggingOver:o,draggingOverWith:u,draggingFromThisWith:null,isUsingPlaceholder:!0};return{placeholder:c.placeholder,shouldAnimatePlaceholder:!0,snapshot:p,useClone:null}}));return function(r,i){var o=i.droppableId,a=i.type,c=!i.isDropDisabled,l=i.renderClone;if(r.isDragging){var u=r.critical;if(!po(a,u))return t;var s=fo(u,r.dimensions),d=$t(r.impact)===o;return n(o,c,d,d,s,l)}if("DROP_ANIMATING"===r.phase){var p=r.completed;if(!po(a,p.critical))return t;var f=fo(p.critical,r.dimensions);return n(o,c,oo(p.result)===o,$t(p.impact)===o,f,l)}if("IDLE"===r.phase&&r.completed&&!r.shouldFlush){var g=r.completed;if(!po(a,g.critical))return t;var b=$t(g.impact)===o,v=Boolean(g.impact.at&&"COMBINE"===g.impact.at.type),m=g.critical.droppable.id===o;return b?v?e:t:m?e:t}return t}}),{updateViewportMaxScroll:function(e){return{type:"UPDATE_VIEWPORT_MAX_SCROLL",payload:e}}},null,{context:zn,pure:!0,areStatePropsEqual:io})((function(e){var t=Object(l.useContext)(Qn);t||Se(!1);var r=t.contextId,n=t.isMovementAllowed,i=Object(l.useRef)(null),o=Object(l.useRef)(null),a=e.children,c=e.droppableId,s=e.type,d=e.mode,p=e.direction,f=e.ignoreContainerClipping,g=e.isDropDisabled,b=e.isCombineEnabled,v=e.snapshot,m=e.useClone,h=e.updateViewportMaxScroll,y=e.getContainerForClone,x=ue((function(){return i.current}),[]),I=ue((function(e){i.current=e}),[]),D=(ue((function(){return o.current}),[]),ue((function(e){o.current=e}),[]));ei();var w=ue((function(){n()&&h({maxScroll:rn()})}),[n,h]);!function(e){var t=Object(l.useRef)(null),r=Ui(Qn),n=Kn("droppable"),i=r.registry,o=r.marshal,a=ri(e),c=le((function(){return{id:e.droppableId,type:e.type,mode:e.mode}}),[e.droppableId,e.mode,e.type]),u=Object(l.useRef)(c),s=le((function(){return De((function(e,r){t.current||Se(!1);var n={x:e,y:r};o.updateDroppableScroll(c.id,n)}))}),[c.id,o]),d=ue((function(){var e=t.current;return e&&e.env.closestScrollable?Mi(e.env.closestScrollable):_e}),[]),p=ue((function(){var e=d();s(e.x,e.y)}),[d,s]),f=le((function(){return we(p)}),[p]),g=ue((function(){var e=t.current,r=Hi(e);e&&r||Se(!1),e.scrollOptions.shouldPublishImmediately?p():f()}),[f,p]),b=ue((function(e,n){t.current&&Se(!1);var i=a.current,o=i.getDroppableRef();o||Se(!1);var l=Gi(o),u={ref:o,descriptor:c,env:l,scrollOptions:n};t.current=u;var s=_i({ref:o,descriptor:c,env:l,windowScroll:e,direction:i.direction,isDropDisabled:i.isDropDisabled,isCombineEnabled:i.isCombineEnabled,shouldClipSubject:!i.ignoreContainerClipping}),d=l.closestScrollable;return d&&(d.setAttribute(Mn.contextId,r.contextId),d.addEventListener("scroll",g,Wi(u.scrollOptions))),s}),[r.contextId,c,g,a]),v=ue((function(){var e=t.current,r=Hi(e);return e&&r||Se(!1),Mi(r)}),[]),m=ue((function(){var e=t.current;e||Se(!1);var r=Hi(e);t.current=null,r&&(f.cancel(),r.removeAttribute(Mn.contextId),r.removeEventListener("scroll",g,Wi(e.scrollOptions)))}),[g,f]),h=ue((function(e){var r=t.current;r||Se(!1);var n=Hi(r);n||Se(!1),n.scrollTop+=e.y,n.scrollLeft+=e.x}),[]),y=le((function(){return{getDimensionAndWatchScroll:b,getScrollWhileDragging:v,dragStopped:m,scroll:h}}),[m,b,v,h]),x=le((function(){return{uniqueId:n,descriptor:c,callbacks:y}}),[y,c,n]);_n((function(){return u.current=x.descriptor,i.droppable.register(x),function(){t.current&&m(),i.droppable.unregister(x)}}),[y,c,m,x,o,i.droppable]),_n((function(){t.current&&o.updateDroppableIsEnabled(u.current.id,!e.isDropDisabled)}),[e.isDropDisabled,o]),_n((function(){t.current&&o.updateDroppableIsCombineEnabled(u.current.id,e.isCombineEnabled)}),[e.isCombineEnabled,o])}({droppableId:c,type:s,mode:d,direction:p,isDropDisabled:g,isCombineEnabled:b,ignoreContainerClipping:f,getDroppableRef:x});var O=u.a.createElement(Ji,{on:e.placeholder,shouldAnimate:e.shouldAnimatePlaceholder},(function(e){var t=e.onClose,n=e.data,i=e.animate;return u.a.createElement($i,{placeholder:n,onClose:t,innerRef:D,animate:i,contextId:r,onTransitionEnd:w})})),E=le((function(){return{innerRef:I,placeholder:O,droppableProps:{"data-rbd-droppable-id":c,"data-rbd-droppable-context-id":r}}}),[r,c,O,I]),C=m?m.dragging.draggableId:null,P=le((function(){return{droppableId:c,type:s,isUsingCloneFor:C}}),[c,C,s]);return u.a.createElement(Yi.Provider,{value:P},a(E,v),function(){if(!m)return null;var e=m.dragging,t=m.render,r=u.a.createElement(uo,{draggableId:e.draggableId,index:e.source.index,isClone:!0,isEnabled:!0,shouldRespectForcePress:!1,canDragInteractiveElements:!0},(function(r,n){return t(r,n,e)}));return ae.a.createPortal(r,y())}())}));bo.defaultProps=go;var vo=r(5),mo=r(17),ho=r(12),yo=r(4),xo=r(9),Io=r(2),Do=r(18);r(29);function wo(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}var Oo=Object(Io.dispatch)("core/block-editor"),Eo=Oo.clearSelectedBlock,Co=Oo.duplicateBlocks,Po=Oo.moveBlockToPosition,So=Oo.removeBlock,Ao=Oo.selectBlock,No=Object(Io.select)("core/block-editor").getBlockRootClientId,Bo=function(e,t){var r;return function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?wo(Object(r),!0).forEach((function(t){a()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):wo(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}((r={userSelect:"none",padding:6,margin:"0 0 ".concat(6,"px 0"),borderRadius:2,border:e?"1px solid #007cba":"1px solid rgba(30,30,30, .3)",background:e?"#007cba":"#fff"},a()(r,"background","#fff"),a()(r,"color",e?"#007cba":""),r),t)},Ro=Object(Do.compose)([Object(Io.withSelect)((function(e,t){return{rootBlocks:(0,e("core/block-editor").getBlocks)()}}))])((function(e){var t=e.rootBlocks.map((function(e){return e.id="".concat(e.clientId),e}));return Object(c.createElement)(mo.PluginDocumentSettingPanel,{name:"custom-panel",title:Object(vo.__)("Drag & Drop","movable"),text:"text",className:"custom-panel"},Object(c.createElement)(xo.BaseControl,{label:Object(vo.__)("Drag, Drop, Duplicate, Delete, Select & Insert blocks from the sidebar.","movable")}),Object(c.createElement)(Ai,{onDragEnd:function(e){var t=e.draggableId,r=No(t);e.destination&&Po(t,r,"",e.destination.index)}},Object(c.createElement)(bo,{droppableId:"droppable"},(function(e,r){return Object(c.createElement)("div",i()({},e.droppableProps,{ref:e.innerRef,style:(n=r.isDraggingOver,o={background:n?"lightblue":"#fff"},a()(o,"background","#fff"),a()(o,"padding",0),a()(o,"paddingBottom",1),a()(o,"width",250),o)}),t.map((function(e,t){var r=Object(yo.getBlockType)(e.name);return Object(c.createElement)(so,{key:e.id,draggableId:e.id,index:t},(function(t,n){return Object(c.createElement)("div",i()({onClick:function(){Ao(e.id)},onMouseOver:function(){document.querySelector("#block-".concat(e.id)).classList.add("hover:movable")},onMouseOut:function(){document.querySelector("#block-".concat(e.id)).classList.remove("hover:movable")},ref:t.innerRef},t.draggableProps,t.dragHandleProps,{style:Bo(n.isDragging,t.draggableProps.style)}),Object(c.createElement)("div",{className:"movable"},Object(c.createElement)("div",{className:"flex justify-between"},Object(c.createElement)("div",{className:"w-3/4 items-center flex"},Object(c.createElement)(ho.BlockIcon,{icon:r.icon,showColors:!0}),Object(c.createElement)("p",{className:"mb-0 ml-1"},Object(yo.__experimentalGetBlockLabel)(r,e.attributes))),Object(c.createElement)("div",{className:"flex justify-end"},Object(c.createElement)(xo.Button,{label:Object(vo.__)("Duplicate","movable"),onClick:function(t){t.stopPropagation(),Co([e.id]),Eo()},className:"invisible hover:opacity-100",icon:"admin-page"}),Object(c.createElement)(xo.Button,{label:Object(vo.__)("Delete","movable"),onClick:function(t){t.stopPropagation(),So(e.id),Eo()},className:"invisible hover:opacity-100",icon:"no-alt"})))))}))})),e.placeholder);var n,o}))),Object(c.createElement)("div",{className:"movable"},Object(c.createElement)("div",{className:"text-center"},Object(c.createElement)(ho.Inserter,{__experimentalSelectBlockOnInsert:!1}))))})),To="movable",jo={icon:"",render:Ro}},function(e,t){}]);
    10 //# sourceMappingURL=index.js.map
     1!function(e){var t={};function r(n){if(t[n])return t[n].exports;var i=t[n]={i:n,l:!1,exports:{}};return e[n].call(i.exports,i,i.exports,r),i.l=!0,i.exports}r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)r.d(n,i,function(t){return e[t]}.bind(null,i));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=21)}([function(e,t){!function(){e.exports=this.React}()},function(e,t){!function(){e.exports=this.wp.element}()},function(e,t){!function(){e.exports=this.wp.data}()},function(e,t){!function(){e.exports=this.wp.blocks}()},function(e,t){e.exports=function(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}},function(e,t){!function(){e.exports=this.wp.i18n}()},function(e,t){!function(){e.exports=this.ReactDOM}()},function(e,t){!function(){e.exports=this.wp.richText}()},function(e,t){!function(){e.exports=this.wp.plugins}()},function(e,t){!function(){e.exports=this.wp.hooks}()},function(e,t){!function(){e.exports=this.wp.components}()},function(e,t,r){"use strict";e.exports=r(27)},function(e,t){function r(){return e.exports=r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},r.apply(this,arguments)}e.exports=r},function(e,t){!function(){e.exports=this.wp.blockEditor}()},function(e,t,r){"use strict";var n=r(11),i={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},o={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},c={};function l(e){return n.isMemo(e)?a:c[e.$$typeof]||i}c[n.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},c[n.Memo]=a;var u=Object.defineProperty,s=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,p=Object.getOwnPropertyDescriptor,f=Object.getPrototypeOf,g=Object.prototype;e.exports=function e(t,r,n){if("string"!=typeof r){if(g){var i=f(r);i&&i!==g&&e(t,i,n)}var a=s(r);d&&(a=a.concat(d(r)));for(var c=l(t),b=l(r),v=0;v<a.length;++v){var m=a[v];if(!(o[m]||n&&n[m]||b&&b[m]||c&&c[m])){var h=p(r,m);try{u(t,m,h)}catch(e){}}}}return t}},function(e,t,r){"use strict";(function(e,n){var i,o=r(20);i="undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==e?e:n;var a=Object(o.a)(i);t.a=a}).call(this,r(28),r(16)(e))},function(e,t){e.exports=function(e){if(!e.webpackPolyfill){var t=Object.create(e);t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),Object.defineProperty(t,"exports",{enumerable:!0}),t.webpackPolyfill=1}return t}},function(e,t,r){"use strict";r.d(t,"a",(function(){return i}));r(3),r(7),r(1);var n=r(8);r(2),r(9);const i=({getContext:e})=>{const t=e();for(const e of t.keys()){const r=t(e),i=r.name,o=r.settings;Object(n.registerPlugin)(i,o)}return t}},function(e,t){!function(){e.exports=this.wp.editPost}()},function(e,t){!function(){e.exports=this.wp.compose}()},function(e,t,r){"use strict";function n(e){var t,r=e.Symbol;return"function"==typeof r?r.observable?t=r.observable:(t=r("observable"),r.observable=t):t="@@observable",t}r.d(t,"a",(function(){return n}))},function(e,t,r){e.exports=r(22)},function(e,t,r){"use strict";r.r(t),function(e){var t=r(17);Object(t.a)({getContext:function(){return r(23)},module:e})}.call(this,r(16)(e))},function(e,t,r){var n={"./index.js":29};function i(e){var t=o(e);return r(t)}function o(e){if(!r.o(n,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return n[e]}i.keys=function(){return Object.keys(n)},i.resolve=o,e.exports=i,i.id=23},function(e,t,r){e.exports=r(25)()},function(e,t,r){"use strict";var n=r(26);function i(){}function o(){}o.resetWarningCache=i,e.exports=function(){function e(e,t,r,i,o,a){if(a!==n){var c=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw c.name="Invariant Violation",c}}function t(){return e}e.isRequired=e;var r={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:o,resetWarningCache:i};return r.PropTypes=r,r}},function(e,t,r){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,r){"use strict";var n="function"==typeof Symbol&&Symbol.for,i=n?Symbol.for("react.element"):60103,o=n?Symbol.for("react.portal"):60106,a=n?Symbol.for("react.fragment"):60107,c=n?Symbol.for("react.strict_mode"):60108,l=n?Symbol.for("react.profiler"):60114,u=n?Symbol.for("react.provider"):60109,s=n?Symbol.for("react.context"):60110,d=n?Symbol.for("react.async_mode"):60111,p=n?Symbol.for("react.concurrent_mode"):60111,f=n?Symbol.for("react.forward_ref"):60112,g=n?Symbol.for("react.suspense"):60113,b=n?Symbol.for("react.suspense_list"):60120,v=n?Symbol.for("react.memo"):60115,m=n?Symbol.for("react.lazy"):60116,h=n?Symbol.for("react.block"):60121,y=n?Symbol.for("react.fundamental"):60117,x=n?Symbol.for("react.responder"):60118,I=n?Symbol.for("react.scope"):60119;function D(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case i:switch(e=e.type){case d:case p:case a:case l:case c:case g:return e;default:switch(e=e&&e.$$typeof){case s:case f:case m:case v:case u:return e;default:return t}}case o:return t}}}function w(e){return D(e)===p}t.AsyncMode=d,t.ConcurrentMode=p,t.ContextConsumer=s,t.ContextProvider=u,t.Element=i,t.ForwardRef=f,t.Fragment=a,t.Lazy=m,t.Memo=v,t.Portal=o,t.Profiler=l,t.StrictMode=c,t.Suspense=g,t.isAsyncMode=function(e){return w(e)||D(e)===d},t.isConcurrentMode=w,t.isContextConsumer=function(e){return D(e)===s},t.isContextProvider=function(e){return D(e)===u},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===i},t.isForwardRef=function(e){return D(e)===f},t.isFragment=function(e){return D(e)===a},t.isLazy=function(e){return D(e)===m},t.isMemo=function(e){return D(e)===v},t.isPortal=function(e){return D(e)===o},t.isProfiler=function(e){return D(e)===l},t.isStrictMode=function(e){return D(e)===c},t.isSuspense=function(e){return D(e)===g},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===a||e===p||e===l||e===c||e===g||e===b||"object"==typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===v||e.$$typeof===u||e.$$typeof===s||e.$$typeof===f||e.$$typeof===y||e.$$typeof===x||e.$$typeof===I||e.$$typeof===h)},t.typeOf=D},function(e,t){var r;r=function(){return this}();try{r=r||new Function("return this")()}catch(e){"object"==typeof window&&(r=window)}e.exports=r},function(e,t,r){"use strict";r.r(t),r.d(t,"name",(function(){return To})),r.d(t,"settings",(function(){return jo}));var n=r(12),i=r.n(n),o=r(4),a=r.n(o),c=r(1),l=r(0),u=r.n(l);function s(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function d(){return(d=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}var p=r(15),f=function(){return Math.random().toString(36).substring(7).split("").join(".")},g={INIT:"@@redux/INIT"+f(),REPLACE:"@@redux/REPLACE"+f(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+f()}};function b(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}function v(e,t,r){var n;if("function"==typeof t&&"function"==typeof r||"function"==typeof r&&"function"==typeof arguments[3])throw new Error("It looks like you are passing several store enhancers to createStore(). This is not supported. Instead, compose them together to a single function.");if("function"==typeof t&&void 0===r&&(r=t,t=void 0),void 0!==r){if("function"!=typeof r)throw new Error("Expected the enhancer to be a function.");return r(v)(e,t)}if("function"!=typeof e)throw new Error("Expected the reducer to be a function.");var i=e,o=t,a=[],c=a,l=!1;function u(){c===a&&(c=a.slice())}function s(){if(l)throw new Error("You may not call store.getState() while the reducer is executing. The reducer has already received the state as an argument. Pass it down from the top reducer instead of reading it from the store.");return o}function d(e){if("function"!=typeof e)throw new Error("Expected the listener to be a function.");if(l)throw new Error("You may not call store.subscribe() while the reducer is executing. If you would like to be notified after the store has been updated, subscribe from a component and invoke store.getState() in the callback to access the latest state. See https://redux.js.org/api-reference/store#subscribelistener for more details.");var t=!0;return u(),c.push(e),function(){if(t){if(l)throw new Error("You may not unsubscribe from a store listener while the reducer is executing. See https://redux.js.org/api-reference/store#subscribelistener for more details.");t=!1,u();var r=c.indexOf(e);c.splice(r,1),a=null}}}function f(e){if(!b(e))throw new Error("Actions must be plain objects. Use custom middleware for async actions.");if(void 0===e.type)throw new Error('Actions may not have an undefined "type" property. Have you misspelled a constant?');if(l)throw new Error("Reducers may not dispatch actions.");try{l=!0,o=i(o,e)}finally{l=!1}for(var t=a=c,r=0;r<t.length;r++){(0,t[r])()}return e}function m(e){if("function"!=typeof e)throw new Error("Expected the nextReducer to be a function.");i=e,f({type:g.REPLACE})}function h(){var e,t=d;return(e={subscribe:function(e){if("object"!=typeof e||null===e)throw new TypeError("Expected the observer to be an object.");function r(){e.next&&e.next(s())}return r(),{unsubscribe:t(r)}}})[p.a]=function(){return this},e}return f({type:g.INIT}),(n={dispatch:f,subscribe:d,getState:s,replaceReducer:m})[p.a]=h,n}function m(e,t){return function(){return t(e.apply(this,arguments))}}function h(e,t){if("function"==typeof e)return m(e,t);if("object"!=typeof e||null===e)throw new Error("bindActionCreators expected an object or a function, instead received "+(null===e?"null":typeof e)+'. Did you write "import ActionCreators from" instead of "import * as ActionCreators from"?');var r={};for(var n in e){var i=e[n];"function"==typeof i&&(r[n]=m(i,t))}return r}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){var r=Object.keys(e);return Object.getOwnPropertySymbols&&r.push.apply(r,Object.getOwnPropertySymbols(e)),t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r}function I(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?x(r,!0).forEach((function(t){y(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):x(r).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function D(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return 0===t.length?function(e){return e}:1===t.length?t[0]:t.reduce((function(e,t){return function(){return e(t.apply(void 0,arguments))}}))}r(24);var w=u.a.createContext(null);var O=function(e){e()},E={notify:function(){}};function C(){var e=O,t=null,r=null;return{clear:function(){t=null,r=null},notify:function(){e((function(){for(var e=t;e;)e.callback(),e=e.next}))},get:function(){for(var e=[],r=t;r;)e.push(r),r=r.next;return e},subscribe:function(e){var n=!0,i=r={callback:e,next:null,prev:r};return i.prev?i.prev.next=i:t=i,function(){n&&null!==t&&(n=!1,i.next?i.next.prev=i.prev:r=i.prev,i.prev?i.prev.next=i.next:t=i.next)}}}}var P=function(){function e(e,t){this.store=e,this.parentSub=t,this.unsubscribe=null,this.listeners=E,this.handleChangeWrapper=this.handleChangeWrapper.bind(this)}var t=e.prototype;return t.addNestedSub=function(e){return this.trySubscribe(),this.listeners.subscribe(e)},t.notifyNestedSubs=function(){this.listeners.notify()},t.handleChangeWrapper=function(){this.onStateChange&&this.onStateChange()},t.isSubscribed=function(){return Boolean(this.unsubscribe)},t.trySubscribe=function(){this.unsubscribe||(this.unsubscribe=this.parentSub?this.parentSub.addNestedSub(this.handleChangeWrapper):this.store.subscribe(this.handleChangeWrapper),this.listeners=C())},t.tryUnsubscribe=function(){this.unsubscribe&&(this.unsubscribe(),this.unsubscribe=null,this.listeners.clear(),this.listeners=E)},e}();var S=function(e){var t=e.store,r=e.context,n=e.children,i=Object(l.useMemo)((function(){var e=new P(t);return e.onStateChange=e.notifyNestedSubs,{store:t,subscription:e}}),[t]),o=Object(l.useMemo)((function(){return t.getState()}),[t]);Object(l.useEffect)((function(){var e=i.subscription;return e.trySubscribe(),o!==t.getState()&&e.notifyNestedSubs(),function(){e.tryUnsubscribe(),e.onStateChange=null}}),[i,o]);var a=r||w;return u.a.createElement(a.Provider,{value:i},n)};function A(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}var N=r(14),R=r.n(N),B=r(11),T="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement?l.useLayoutEffect:l.useEffect,j=[],L=[null,null];function M(e,t){var r=e[1];return[t.payload,r+1]}function G(e,t,r){T((function(){return e.apply(void 0,t)}),r)}function _(e,t,r,n,i,o,a){e.current=n,t.current=i,r.current=!1,o.current&&(o.current=null,a())}function k(e,t,r,n,i,o,a,c,l,u){if(e){var s=!1,d=null,p=function(){if(!s){var e,r,p=t.getState();try{e=n(p,i.current)}catch(e){r=e,d=e}r||(d=null),e===o.current?a.current||l():(o.current=e,c.current=e,a.current=!0,u({type:"STORE_UPDATED",payload:{error:r}}))}};r.onStateChange=p,r.trySubscribe(),p();return function(){if(s=!0,r.tryUnsubscribe(),r.onStateChange=null,d)throw d}}}var F=function(){return[null,0]};function W(e,t){void 0===t&&(t={});var r=t,n=r.getDisplayName,i=void 0===n?function(e){return"ConnectAdvanced("+e+")"}:n,o=r.methodName,a=void 0===o?"connectAdvanced":o,c=r.renderCountProp,s=void 0===c?void 0:c,p=r.shouldHandleStateChanges,f=void 0===p||p,g=r.storeKey,b=void 0===g?"store":g,v=(r.withRef,r.forwardRef),m=void 0!==v&&v,h=r.context,y=void 0===h?w:h,x=A(r,["getDisplayName","methodName","renderCountProp","shouldHandleStateChanges","storeKey","withRef","forwardRef","context"]),I=y;return function(t){var r=t.displayName||t.name||"Component",n=i(r),o=d({},x,{getDisplayName:i,methodName:a,renderCountProp:s,shouldHandleStateChanges:f,storeKey:b,displayName:n,wrappedComponentName:r,WrappedComponent:t}),c=x.pure;var p=c?l.useMemo:function(e){return e()};function g(r){var n=Object(l.useMemo)((function(){var e=r.reactReduxForwardedRef,t=A(r,["reactReduxForwardedRef"]);return[r.context,e,t]}),[r]),i=n[0],a=n[1],c=n[2],s=Object(l.useMemo)((function(){return i&&i.Consumer&&Object(B.isContextConsumer)(u.a.createElement(i.Consumer,null))?i:I}),[i,I]),g=Object(l.useContext)(s),b=Boolean(r.store)&&Boolean(r.store.getState)&&Boolean(r.store.dispatch);Boolean(g)&&Boolean(g.store);var v=b?r.store:g.store,m=Object(l.useMemo)((function(){return function(t){return e(t.dispatch,o)}(v)}),[v]),h=Object(l.useMemo)((function(){if(!f)return L;var e=new P(v,b?null:g.subscription),t=e.notifyNestedSubs.bind(e);return[e,t]}),[v,b,g]),y=h[0],x=h[1],D=Object(l.useMemo)((function(){return b?g:d({},g,{subscription:y})}),[b,g,y]),w=Object(l.useReducer)(M,j,F),O=w[0][0],E=w[1];if(O&&O.error)throw O.error;var C=Object(l.useRef)(),S=Object(l.useRef)(c),N=Object(l.useRef)(),R=Object(l.useRef)(!1),T=p((function(){return N.current&&c===S.current?N.current:m(v.getState(),c)}),[v,O,c]);G(_,[S,C,R,c,T,N,x]),G(k,[f,v,y,m,S,C,R,N,x,E],[v,y,m]);var W=Object(l.useMemo)((function(){return u.a.createElement(t,d({},T,{ref:a}))}),[a,t,T]);return Object(l.useMemo)((function(){return f?u.a.createElement(s.Provider,{value:D},W):W}),[s,W,D])}var v=c?u.a.memo(g):g;if(v.WrappedComponent=t,v.displayName=n,m){var h=u.a.forwardRef((function(e,t){return u.a.createElement(v,d({},e,{reactReduxForwardedRef:t}))}));return h.displayName=n,h.WrappedComponent=t,R()(h,t)}return R()(v,t)}}function U(e,t){return e===t?0!==e||0!==t||1/e==1/t:e!=e&&t!=t}function H(e,t){if(U(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var r=Object.keys(e),n=Object.keys(t);if(r.length!==n.length)return!1;for(var i=0;i<r.length;i++)if(!Object.prototype.hasOwnProperty.call(t,r[i])||!U(e[r[i]],t[r[i]]))return!1;return!0}function q(e){return function(t,r){var n=e(t,r);function i(){return n}return i.dependsOnOwnProps=!1,i}}function V(e){return null!==e.dependsOnOwnProps&&void 0!==e.dependsOnOwnProps?Boolean(e.dependsOnOwnProps):1!==e.length}function z(e,t){return function(t,r){r.displayName;var n=function(e,t){return n.dependsOnOwnProps?n.mapToProps(e,t):n.mapToProps(e)};return n.dependsOnOwnProps=!0,n.mapToProps=function(t,r){n.mapToProps=e,n.dependsOnOwnProps=V(e);var i=n(t,r);return"function"==typeof i&&(n.mapToProps=i,n.dependsOnOwnProps=V(i),i=n(t,r)),i},n}}var $=[function(e){return"function"==typeof e?z(e):void 0},function(e){return e?void 0:q((function(e){return{dispatch:e}}))},function(e){return e&&"object"==typeof e?q((function(t){return h(e,t)})):void 0}];var Y=[function(e){return"function"==typeof e?z(e):void 0},function(e){return e?void 0:q((function(){return{}}))}];function J(e,t,r){return d({},r,{},e,{},t)}var X=[function(e){return"function"==typeof e?function(e){return function(t,r){r.displayName;var n,i=r.pure,o=r.areMergedPropsEqual,a=!1;return function(t,r,c){var l=e(t,r,c);return a?i&&o(l,n)||(n=l):(a=!0,n=l),n}}}(e):void 0},function(e){return e?void 0:function(){return J}}];function K(e,t,r,n){return function(i,o){return r(e(i,o),t(n,o),o)}}function Q(e,t,r,n,i){var o,a,c,l,u,s=i.areStatesEqual,d=i.areOwnPropsEqual,p=i.areStatePropsEqual,f=!1;function g(i,f){var g,b,v=!d(f,a),m=!s(i,o);return o=i,a=f,v&&m?(c=e(o,a),t.dependsOnOwnProps&&(l=t(n,a)),u=r(c,l,a)):v?(e.dependsOnOwnProps&&(c=e(o,a)),t.dependsOnOwnProps&&(l=t(n,a)),u=r(c,l,a)):m?(g=e(o,a),b=!p(g,c),c=g,b&&(u=r(c,l,a)),u):u}return function(i,s){return f?g(i,s):(c=e(o=i,a=s),l=t(n,a),u=r(c,l,a),f=!0,u)}}function Z(e,t){var r=t.initMapStateToProps,n=t.initMapDispatchToProps,i=t.initMergeProps,o=A(t,["initMapStateToProps","initMapDispatchToProps","initMergeProps"]),a=r(e,o),c=n(e,o),l=i(e,o);return(o.pure?Q:K)(a,c,l,e,o)}function ee(e,t,r){for(var n=t.length-1;n>=0;n--){var i=t[n](e);if(i)return i}return function(t,n){throw new Error("Invalid value of type "+typeof e+" for "+r+" argument when connecting component "+n.wrappedComponentName+".")}}function te(e,t){return e===t}function re(e){var t=void 0===e?{}:e,r=t.connectHOC,n=void 0===r?W:r,i=t.mapStateToPropsFactories,o=void 0===i?Y:i,a=t.mapDispatchToPropsFactories,c=void 0===a?$:a,l=t.mergePropsFactories,u=void 0===l?X:l,s=t.selectorFactory,p=void 0===s?Z:s;return function(e,t,r,i){void 0===i&&(i={});var a=i,l=a.pure,s=void 0===l||l,f=a.areStatesEqual,g=void 0===f?te:f,b=a.areOwnPropsEqual,v=void 0===b?H:b,m=a.areStatePropsEqual,h=void 0===m?H:m,y=a.areMergedPropsEqual,x=void 0===y?H:y,I=A(a,["pure","areStatesEqual","areOwnPropsEqual","areStatePropsEqual","areMergedPropsEqual"]),D=ee(e,o,"mapStateToProps"),w=ee(t,c,"mapDispatchToProps"),O=ee(r,u,"mergeProps");return n(p,d({methodName:"connect",getDisplayName:function(e){return"Connect("+e+")"},shouldHandleStateChanges:Boolean(e),initMapStateToProps:D,initMapDispatchToProps:w,initMergeProps:O,pure:s,areStatesEqual:g,areOwnPropsEqual:v,areStatePropsEqual:h,areMergedPropsEqual:x},I))}}var ne=re();var ie,oe=r(6),ae=r.n(oe);function ce(e,t){var r=Object(l.useState)((function(){return{inputs:t,result:e()}}))[0],n=Object(l.useRef)(r),i=Boolean(t&&n.current.inputs&&function(e,t){if(e.length!==t.length)return!1;for(var r=0;r<e.length;r++)if(e[r]!==t[r])return!1;return!0}(t,n.current.inputs))?n.current:{inputs:t,result:e()};return Object(l.useEffect)((function(){n.current=i}),[i]),i.result}ie=oe.unstable_batchedUpdates,O=ie;var le=ce,ue=function(e,t){return ce((function(){return e}),t)};var se=function(e,t){if(!e)throw new Error("Invariant failed")},de=function(e){var t=e.top,r=e.right,n=e.bottom,i=e.left;return{top:t,right:r,bottom:n,left:i,width:r-i,height:n-t,x:i,y:t,center:{x:(r+i)/2,y:(n+t)/2}}},pe=function(e,t){return{top:e.top-t.top,left:e.left-t.left,bottom:e.bottom+t.bottom,right:e.right+t.right}},fe=function(e,t){return{top:e.top+t.top,left:e.left+t.left,bottom:e.bottom-t.bottom,right:e.right-t.right}},ge={top:0,right:0,bottom:0,left:0},be=function(e){var t=e.borderBox,r=e.margin,n=void 0===r?ge:r,i=e.border,o=void 0===i?ge:i,a=e.padding,c=void 0===a?ge:a,l=de(pe(t,n)),u=de(fe(t,o)),s=de(fe(u,c));return{marginBox:l,borderBox:de(t),paddingBox:u,contentBox:s,margin:n,border:o,padding:c}},ve=function(e){var t=e.slice(0,-2);if("px"!==e.slice(-2))return 0;var r=Number(t);return isNaN(r)&&se(!1),r},me=function(e,t){var r,n,i=e.borderBox,o=e.border,a=e.margin,c=e.padding,l=(n=t,{top:(r=i).top+n.y,left:r.left+n.x,bottom:r.bottom+n.y,right:r.right+n.x});return be({borderBox:l,border:o,margin:a,padding:c})},he=function(e,t){return void 0===t&&(t={x:window.pageXOffset,y:window.pageYOffset}),me(e,t)},ye=function(e,t){var r={top:ve(t.marginTop),right:ve(t.marginRight),bottom:ve(t.marginBottom),left:ve(t.marginLeft)},n={top:ve(t.paddingTop),right:ve(t.paddingRight),bottom:ve(t.paddingBottom),left:ve(t.paddingLeft)},i={top:ve(t.borderTopWidth),right:ve(t.borderRightWidth),bottom:ve(t.borderBottomWidth),left:ve(t.borderLeftWidth)};return be({borderBox:e,margin:r,padding:n,border:i})},xe=function(e){var t=e.getBoundingClientRect(),r=window.getComputedStyle(e);return ye(t,r)};function Ie(e,t){if(e.length!==t.length)return!1;for(var r=0;r<e.length;r++)if(e[r]!==t[r])return!1;return!0}var De=function(e,t){var r;void 0===t&&(t=Ie);var n,i=[],o=!1;return function(){for(var a=[],c=0;c<arguments.length;c++)a[c]=arguments[c];return o&&r===this&&t(a,i)||(n=e.apply(this,a),o=!0,r=this,i=a),n}},we=function(e){var t=[],r=null,n=function(){for(var n=arguments.length,i=new Array(n),o=0;o<n;o++)i[o]=arguments[o];t=i,r||(r=requestAnimationFrame((function(){r=null,e.apply(void 0,t)})))};return n.cancel=function(){r&&(cancelAnimationFrame(r),r=null)},n};function Oe(e,t){}Oe.bind(null,"warn"),Oe.bind(null,"error");function Ee(){}function Ce(e,t,r){var n=t.map((function(t){var n,i,o=(n=r,i=t.options,d({},n,{},i));return e.addEventListener(t.eventName,t.fn,o),function(){e.removeEventListener(t.eventName,t.fn,o)}}));return function(){n.forEach((function(e){e()}))}}function Pe(e){this.message=e}function Se(e,t){if(!e)throw new Pe("Invariant failed")}Pe.prototype.toString=function(){return this.message};var Ae=function(e){function t(){for(var t,r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];return(t=e.call.apply(e,[this].concat(n))||this).callbacks=null,t.unbind=Ee,t.onWindowError=function(e){var r=t.getCallbacks();r.isDragging()&&r.tryAbort(),e.error instanceof Pe&&e.preventDefault()},t.getCallbacks=function(){if(!t.callbacks)throw new Error("Unable to find AppCallbacks in <ErrorBoundary/>");return t.callbacks},t.setCallbacks=function(e){t.callbacks=e},t}s(t,e);var r=t.prototype;return r.componentDidMount=function(){this.unbind=Ce(window,[{eventName:"error",fn:this.onWindowError}])},r.componentWillUnmount=function(){this.unbind()},r.componentDidCatch=function(e){if(!(e instanceof Pe))throw e;this.setState({})},r.render=function(){return this.props.children(this.setCallbacks)},t}(u.a.Component),Ne=function(e){return e+1},Re=function(e,t){var r=e.droppableId===t.droppableId,n=Ne(e.index),i=Ne(t.index);return r?"\n      You have moved the item from position "+n+"\n      to position "+i+"\n    ":"\n    You have moved the item from position "+n+"\n    in list "+e.droppableId+"\n    to list "+t.droppableId+"\n    in position "+i+"\n  "},Be=function(e,t,r){return t.droppableId===r.droppableId?"\n      The item "+e+"\n      has been combined with "+r.draggableId:"\n      The item "+e+"\n      in list "+t.droppableId+"\n      has been combined with "+r.draggableId+"\n      in list "+r.droppableId+"\n    "},Te=function(e){return"\n  The item has returned to its starting position\n  of "+Ne(e.index)+"\n"},je="\n  Press space bar to start a drag.\n  When dragging you can use the arrow keys to move the item around and escape to cancel.\n  Some screen readers may require you to be in focus mode or to use your pass through key\n",Le=function(e){return"\n  You have lifted an item in position "+Ne(e.source.index)+"\n"},Me=function(e){var t=e.destination;if(t)return Re(e.source,t);var r=e.combine;return r?Be(e.draggableId,e.source,r):"You are over an area that cannot be dropped on"},Ge=function(e){if("CANCEL"===e.reason)return"\n      Movement cancelled.\n      "+Te(e.source)+"\n    ";var t=e.destination,r=e.combine;return t?"\n      You have dropped the item.\n      "+Re(e.source,t)+"\n    ":r?"\n      You have dropped the item.\n      "+Be(e.draggableId,e.source,r)+"\n    ":"\n    The item has been dropped while not over a drop area.\n    "+Te(e.source)+"\n  "},_e={x:0,y:0},ke=function(e,t){return{x:e.x+t.x,y:e.y+t.y}},Fe=function(e,t){return{x:e.x-t.x,y:e.y-t.y}},We=function(e,t){return e.x===t.x&&e.y===t.y},Ue=function(e){return{x:0!==e.x?-e.x:0,y:0!==e.y?-e.y:0}},He=function(e,t,r){var n;return void 0===r&&(r=0),(n={})[e]=t,n["x"===e?"y":"x"]=r,n},qe=function(e,t){return Math.sqrt(Math.pow(t.x-e.x,2)+Math.pow(t.y-e.y,2))},Ve=function(e,t){return Math.min.apply(Math,t.map((function(t){return qe(e,t)})))},ze=function(e){return function(t){return{x:e(t.x),y:e(t.y)}}},$e=function(e,t){return{top:e.top+t.y,left:e.left+t.x,bottom:e.bottom+t.y,right:e.right+t.x}},Ye=function(e){return[{x:e.left,y:e.top},{x:e.right,y:e.top},{x:e.left,y:e.bottom},{x:e.right,y:e.bottom}]},Je=function(e,t){return t&&t.shouldClipSubject?function(e,t){var r=de({top:Math.max(t.top,e.top),right:Math.min(t.right,e.right),bottom:Math.min(t.bottom,e.bottom),left:Math.max(t.left,e.left)});return r.width<=0||r.height<=0?null:r}(t.pageMarginBox,e):de(e)},Xe=function(e){var t=e.page,r=e.withPlaceholder,n=e.axis,i=e.frame,o=function(e,t,r){var n;return r&&r.increasedBy?d({},e,((n={})[t.end]=e[t.end]+r.increasedBy[t.line],n)):e}(function(e,t){return t?$e(e,t.scroll.diff.displacement):e}(t.marginBox,i),n,r);return{page:t,withPlaceholder:r,active:Je(o,i)}},Ke=function(e,t){e.frame||Se(!1);var r=e.frame,n=Fe(t,r.scroll.initial),i=Ue(n),o=d({},r,{scroll:{initial:r.scroll.initial,current:t,diff:{value:n,displacement:i},max:r.scroll.max}});return d({},e,{frame:o,subject:Xe({page:e.subject.page,withPlaceholder:e.subject.withPlaceholder,axis:e.axis,frame:o})})};function Qe(e){return Object.values?Object.values(e):Object.keys(e).map((function(t){return e[t]}))}function Ze(e,t){if(e.findIndex)return e.findIndex(t);for(var r=0;r<e.length;r++)if(t(e[r]))return r;return-1}function et(e,t){if(e.find)return e.find(t);var r=Ze(e,t);return-1!==r?e[r]:void 0}function tt(e){return Array.prototype.slice.call(e)}var rt=De((function(e){return e.reduce((function(e,t){return e[t.descriptor.id]=t,e}),{})})),nt=De((function(e){return e.reduce((function(e,t){return e[t.descriptor.id]=t,e}),{})})),it=De((function(e){return Qe(e)})),ot=De((function(e){return Qe(e)})),at=De((function(e,t){return ot(t).filter((function(t){return e===t.descriptor.droppableId})).sort((function(e,t){return e.descriptor.index-t.descriptor.index}))}));function ct(e){return e.at&&"REORDER"===e.at.type?e.at.destination:null}function lt(e){return e.at&&"COMBINE"===e.at.type?e.at.combine:null}var ut=De((function(e,t){return t.filter((function(t){return t.descriptor.id!==e.descriptor.id}))})),st=function(e,t){return e.descriptor.droppableId===t.descriptor.id},dt={point:_e,value:0},pt={invisible:{},visible:{},all:[]},ft={displaced:pt,displacedBy:dt,at:null},gt=function(e,t){return function(r){return e<=r&&r<=t}},bt=function(e){var t=gt(e.top,e.bottom),r=gt(e.left,e.right);return function(n){if(t(n.top)&&t(n.bottom)&&r(n.left)&&r(n.right))return!0;var i=t(n.top)||t(n.bottom),o=r(n.left)||r(n.right);if(i&&o)return!0;var a=n.top<e.top&&n.bottom>e.bottom,c=n.left<e.left&&n.right>e.right;return!(!a||!c)||(a&&o||c&&i)}},vt=function(e){var t=gt(e.top,e.bottom),r=gt(e.left,e.right);return function(e){return t(e.top)&&t(e.bottom)&&r(e.left)&&r(e.right)}},mt={direction:"vertical",line:"y",crossAxisLine:"x",start:"top",end:"bottom",size:"height",crossAxisStart:"left",crossAxisEnd:"right",crossAxisSize:"width"},ht={direction:"horizontal",line:"x",crossAxisLine:"y",start:"left",end:"right",size:"width",crossAxisStart:"top",crossAxisEnd:"bottom",crossAxisSize:"height"},yt=function(e){var t=e.target,r=e.destination,n=e.viewport,i=e.withDroppableDisplacement,o=e.isVisibleThroughFrameFn,a=i?function(e,t){var r=t.frame?t.frame.scroll.diff.displacement:_e;return $e(e,r)}(t,r):t;return function(e,t,r){return!!t.subject.active&&r(t.subject.active)(e)}(a,r,o)&&function(e,t,r){return r(t)(e)}(a,n,o)},xt=function(e){return yt(d({},e,{isVisibleThroughFrameFn:bt}))},It=function(e){return yt(d({},e,{isVisibleThroughFrameFn:vt}))};function Dt(e){var t=e.afterDragging,r=e.destination,n=e.displacedBy,i=e.viewport,o=e.forceShouldAnimate,a=e.last;return t.reduce((function(e,t){var c=function(e,t){var r=e.page.marginBox,n={top:t.point.y,right:0,bottom:0,left:t.point.x};return de(pe(r,n))}(t,n),l=t.descriptor.id;if(e.all.push(l),!xt({target:c,destination:r,viewport:i,withDroppableDisplacement:!0}))return e.invisible[t.descriptor.id]=!0,e;var u={draggableId:l,shouldAnimate:function(e,t,r){if("boolean"==typeof r)return r;if(!t)return!0;var n=t.invisible,i=t.visible;if(n[e])return!1;var o=i[e];return!o||o.shouldAnimate}(l,a,o)};return e.visible[l]=u,e}),{all:[],visible:{},invisible:{}})}function wt(e){var t=e.insideDestination,r=e.inHomeList,n=e.displacedBy,i=e.destination,o=function(e,t){if(!e.length)return 0;var r=e[e.length-1].descriptor.index;return t.inHomeList?r:r+1}(t,{inHomeList:r});return{displaced:pt,displacedBy:n,at:{type:"REORDER",destination:{droppableId:i.descriptor.id,index:o}}}}function Ot(e){var t=e.draggable,r=e.insideDestination,n=e.destination,i=e.viewport,o=e.displacedBy,a=e.last,c=e.index,l=e.forceShouldAnimate,u=st(t,n);if(null==c)return wt({insideDestination:r,inHomeList:u,displacedBy:o,destination:n});var s=et(r,(function(e){return e.descriptor.index===c}));if(!s)return wt({insideDestination:r,inHomeList:u,displacedBy:o,destination:n});var d=ut(t,r),p=r.indexOf(s);return{displaced:Dt({afterDragging:d.slice(p),destination:n,displacedBy:o,last:a,viewport:i.frame,forceShouldAnimate:l}),displacedBy:o,at:{type:"REORDER",destination:{droppableId:n.descriptor.id,index:c}}}}function Et(e,t){return Boolean(t.effected[e])}var Ct=function(e){var t=e.isMovingForward,r=e.isInHomeList,n=e.draggable,i=e.draggables,o=e.destination,a=e.insideDestination,c=e.previousImpact,l=e.viewport,u=e.afterCritical,s=c.at;if(s||Se(!1),"REORDER"===s.type){var d=function(e){var t=e.isMovingForward,r=e.isInHomeList,n=e.insideDestination,i=e.location;if(!n.length)return null;var o=i.index,a=t?o+1:o-1,c=n[0].descriptor.index,l=n[n.length-1].descriptor.index;return a<c||a>(r?l:l+1)?null:a}({isMovingForward:t,isInHomeList:r,location:s.destination,insideDestination:a});return null==d?null:Ot({draggable:n,insideDestination:a,destination:o,viewport:l,last:c.displaced,displacedBy:c.displacedBy,index:d})}var p=function(e){var t=e.isMovingForward,r=e.destination,n=e.draggables,i=e.combine,o=e.afterCritical;if(!r.isCombineEnabled)return null;var a=i.draggableId,c=n[a].descriptor.index;return Et(a,o)?t?c:c-1:t?c+1:c}({isMovingForward:t,destination:o,displaced:c.displaced,draggables:i,combine:s.combine,afterCritical:u});return null==p?null:Ot({draggable:n,insideDestination:a,destination:o,viewport:l,last:c.displaced,displacedBy:c.displacedBy,index:p})},Pt=function(e){var t=e.afterCritical,r=e.impact,n=e.draggables,i=lt(r);i||Se(!1);var o=i.draggableId,a=n[o].page.borderBox.center,c=function(e){var t=e.displaced,r=e.afterCritical,n=e.combineWith,i=e.displacedBy,o=Boolean(t.visible[n]||t.invisible[n]);return Et(n,r)?o?_e:Ue(i.point):o?i.point:_e}({displaced:r.displaced,afterCritical:t,combineWith:o,displacedBy:r.displacedBy});return ke(a,c)},St=function(e,t){return t.margin[e.start]+t.borderBox[e.size]/2},At=function(e,t,r){return t[e.crossAxisStart]+r.margin[e.crossAxisStart]+r.borderBox[e.crossAxisSize]/2},Nt=function(e){var t=e.axis,r=e.moveRelativeTo,n=e.isMoving;return He(t.line,r.marginBox[t.end]+St(t,n),At(t,r.marginBox,n))},Rt=function(e){var t=e.axis,r=e.moveRelativeTo,n=e.isMoving;return He(t.line,r.marginBox[t.start]-function(e,t){return t.margin[e.end]+t.borderBox[e.size]/2}(t,n),At(t,r.marginBox,n))},Bt=function(e){var t=e.impact,r=e.draggable,n=e.draggables,i=e.droppable,o=e.afterCritical,a=at(i.descriptor.id,n),c=r.page,l=i.axis;if(!a.length)return function(e){var t=e.axis,r=e.moveInto,n=e.isMoving;return He(t.line,r.contentBox[t.start]+St(t,n),At(t,r.contentBox,n))}({axis:l,moveInto:i.page,isMoving:c});var u=t.displaced,s=t.displacedBy,d=u.all[0];if(d){var p=n[d];if(Et(d,o))return Rt({axis:l,moveRelativeTo:p.page,isMoving:c});var f=me(p.page,s.point);return Rt({axis:l,moveRelativeTo:f,isMoving:c})}var g=a[a.length-1];if(g.descriptor.id===r.descriptor.id)return c.borderBox.center;if(Et(g.descriptor.id,o)){var b=me(g.page,Ue(o.displacedBy.point));return Nt({axis:l,moveRelativeTo:b,isMoving:c})}return Nt({axis:l,moveRelativeTo:g.page,isMoving:c})},Tt=function(e,t){var r=e.frame;return r?ke(t,r.scroll.diff.displacement):t},jt=function(e){var t=function(e){var t=e.impact,r=e.draggable,n=e.droppable,i=e.draggables,o=e.afterCritical,a=r.page.borderBox.center,c=t.at;return n&&c?"REORDER"===c.type?Bt({impact:t,draggable:r,draggables:i,droppable:n,afterCritical:o}):Pt({impact:t,draggables:i,afterCritical:o}):a}(e),r=e.droppable;return r?Tt(r,t):t},Lt=function(e,t){var r=Fe(t,e.scroll.initial),n=Ue(r);return{frame:de({top:t.y,bottom:t.y+e.frame.height,left:t.x,right:t.x+e.frame.width}),scroll:{initial:e.scroll.initial,max:e.scroll.max,current:t,diff:{value:r,displacement:n}}}};function Mt(e,t){return e.map((function(e){return t[e]}))}var Gt=function(e){var t=e.pageBorderBoxCenter,r=e.draggable,n=function(e,t){return ke(e.scroll.diff.displacement,t)}(e.viewport,t),i=Fe(n,r.page.borderBox.center);return ke(r.client.borderBox.center,i)},_t=function(e){var t=e.draggable,r=e.destination,n=e.newPageBorderBoxCenter,i=e.viewport,o=e.withDroppableDisplacement,a=e.onlyOnMainAxis,c=void 0!==a&&a,l=Fe(n,t.page.borderBox.center),u={target:$e(t.page.borderBox,l),destination:r,withDroppableDisplacement:o,viewport:i};return c?function(e){return yt(d({},e,{isVisibleThroughFrameFn:(t=e.destination.axis,function(e){var r=gt(e.top,e.bottom),n=gt(e.left,e.right);return function(e){return t===mt?r(e.top)&&r(e.bottom):n(e.left)&&n(e.right)}})}));var t}(u):It(u)},kt=function(e){var t=e.isMovingForward,r=e.draggable,n=e.destination,i=e.draggables,o=e.previousImpact,a=e.viewport,c=e.previousPageBorderBoxCenter,l=e.previousClientSelection,u=e.afterCritical;if(!n.isEnabled)return null;var s=at(n.descriptor.id,i),p=st(r,n),f=function(e){var t=e.isMovingForward,r=e.draggable,n=e.destination,i=e.insideDestination,o=e.previousImpact;if(!n.isCombineEnabled)return null;if(!ct(o))return null;function a(e){var t={type:"COMBINE",combine:{draggableId:e,droppableId:n.descriptor.id}};return d({},o,{at:t})}var c=o.displaced.all,l=c.length?c[0]:null;if(t)return l?a(l):null;var u=ut(r,i);if(!l)return u.length?a(u[u.length-1].descriptor.id):null;var s=Ze(u,(function(e){return e.descriptor.id===l}));-1===s&&Se(!1);var p=s-1;return p<0?null:a(u[p].descriptor.id)}({isMovingForward:t,draggable:r,destination:n,insideDestination:s,previousImpact:o})||Ct({isMovingForward:t,isInHomeList:p,draggable:r,draggables:i,destination:n,insideDestination:s,previousImpact:o,viewport:a,afterCritical:u});if(!f)return null;var g=jt({impact:f,draggable:r,droppable:n,draggables:i,afterCritical:u});if(_t({draggable:r,destination:n,newPageBorderBoxCenter:g,viewport:a.frame,withDroppableDisplacement:!1,onlyOnMainAxis:!0}))return{clientSelection:Gt({pageBorderBoxCenter:g,draggable:r,viewport:a}),impact:f,scrollJumpRequest:null};var b=Fe(g,c);return{clientSelection:l,impact:function(e){var t=e.impact,r=e.viewport,n=e.destination,i=e.draggables,o=e.maxScrollChange,a=Lt(r,ke(r.scroll.current,o)),c=n.frame?Ke(n,ke(n.frame.scroll.current,o)):n,l=t.displaced,u=Dt({afterDragging:Mt(l.all,i),destination:n,displacedBy:t.displacedBy,viewport:a.frame,last:l,forceShouldAnimate:!1}),s=Dt({afterDragging:Mt(l.all,i),destination:c,displacedBy:t.displacedBy,viewport:r.frame,last:l,forceShouldAnimate:!1}),p={},f={},g=[l,u,s];return l.all.forEach((function(e){var t=function(e,t){for(var r=0;r<t.length;r++){var n=t[r].visible[e];if(n)return n}return null}(e,g);t?f[e]=t:p[e]=!0})),d({},t,{displaced:{all:l.all,invisible:p,visible:f}})}({impact:f,viewport:a,destination:n,draggables:i,maxScrollChange:b}),scrollJumpRequest:b}},Ft=function(e){var t=e.subject.active;return t||Se(!1),t},Wt=function(e,t){var r=e.page.borderBox.center;return Et(e.descriptor.id,t)?Fe(r,t.displacedBy.point):r},Ut=function(e,t){var r=e.page.borderBox;return Et(e.descriptor.id,t)?$e(r,Ue(t.displacedBy.point)):r},Ht=De((function(e,t){var r=t[e.line];return{value:r,point:He(e.line,r)}})),qt=function(e,t){return d({},e,{scroll:d({},e.scroll,{max:t})})},Vt=function(e,t,r){var n=e.frame;st(t,e)&&Se(!1),e.subject.withPlaceholder&&Se(!1);var i=Ht(e.axis,t.displaceBy).point,o=function(e,t,r){var n=e.axis;if("virtual"===e.descriptor.mode)return He(n.line,t[n.line]);var i=e.subject.page.contentBox[n.size],o=at(e.descriptor.id,r).reduce((function(e,t){return e+t.client.marginBox[n.size]}),0)+t[n.line]-i;return o<=0?null:He(n.line,o)}(e,i,r),a={placeholderSize:i,increasedBy:o,oldFrameMaxScroll:e.frame?e.frame.scroll.max:null};if(!n)return d({},e,{subject:Xe({page:e.subject.page,withPlaceholder:a,axis:e.axis,frame:e.frame})});var c=o?ke(n.scroll.max,o):n.scroll.max,l=qt(n,c);return d({},e,{subject:Xe({page:e.subject.page,withPlaceholder:a,axis:e.axis,frame:l}),frame:l})},zt=function(e){var t=e.isMovingForward,r=e.previousPageBorderBoxCenter,n=e.draggable,i=e.isOver,o=e.draggables,a=e.droppables,c=e.viewport,l=e.afterCritical,u=function(e){var t=e.isMovingForward,r=e.pageBorderBoxCenter,n=e.source,i=e.droppables,o=e.viewport,a=n.subject.active;if(!a)return null;var c=n.axis,l=gt(a[c.start],a[c.end]),u=it(i).filter((function(e){return e!==n})).filter((function(e){return e.isEnabled})).filter((function(e){return Boolean(e.subject.active)})).filter((function(e){return bt(o.frame)(Ft(e))})).filter((function(e){var r=Ft(e);return t?a[c.crossAxisEnd]<r[c.crossAxisEnd]:r[c.crossAxisStart]<a[c.crossAxisStart]})).filter((function(e){var t=Ft(e),r=gt(t[c.start],t[c.end]);return l(t[c.start])||l(t[c.end])||r(a[c.start])||r(a[c.end])})).sort((function(e,r){var n=Ft(e)[c.crossAxisStart],i=Ft(r)[c.crossAxisStart];return t?n-i:i-n})).filter((function(e,t,r){return Ft(e)[c.crossAxisStart]===Ft(r[0])[c.crossAxisStart]}));if(!u.length)return null;if(1===u.length)return u[0];var s=u.filter((function(e){return gt(Ft(e)[c.start],Ft(e)[c.end])(r[c.line])}));return 1===s.length?s[0]:s.length>1?s.sort((function(e,t){return Ft(e)[c.start]-Ft(t)[c.start]}))[0]:u.sort((function(e,t){var n=Ve(r,Ye(Ft(e))),i=Ve(r,Ye(Ft(t)));return n!==i?n-i:Ft(e)[c.start]-Ft(t)[c.start]}))[0]}({isMovingForward:t,pageBorderBoxCenter:r,source:i,droppables:a,viewport:c});if(!u)return null;var s=at(u.descriptor.id,o),d=function(e){var t=e.previousPageBorderBoxCenter,r=e.moveRelativeTo,n=e.insideDestination,i=e.draggable,o=e.draggables,a=e.destination,c=e.viewport,l=e.afterCritical;if(!r){if(n.length)return null;var u={displaced:pt,displacedBy:dt,at:{type:"REORDER",destination:{droppableId:a.descriptor.id,index:0}}},s=jt({impact:u,draggable:i,droppable:a,draggables:o,afterCritical:l}),d=st(i,a)?a:Vt(a,i,o);return _t({draggable:i,destination:d,newPageBorderBoxCenter:s,viewport:c.frame,withDroppableDisplacement:!1,onlyOnMainAxis:!0})?u:null}var p,f=Boolean(t[a.axis.line]<=r.page.borderBox.center[a.axis.line]),g=(p=r.descriptor.index,r.descriptor.id===i.descriptor.id||f?p:p+1),b=Ht(a.axis,i.displaceBy);return Ot({draggable:i,insideDestination:n,destination:a,viewport:c,displacedBy:b,last:pt,index:g})}({previousPageBorderBoxCenter:r,destination:u,draggable:n,draggables:o,moveRelativeTo:function(e){var t=e.pageBorderBoxCenter,r=e.viewport,n=e.destination,i=e.insideDestination,o=e.afterCritical;return i.filter((function(e){return It({target:Ut(e,o),destination:n,viewport:r.frame,withDroppableDisplacement:!0})})).sort((function(e,r){var i=qe(t,Tt(n,Wt(e,o))),a=qe(t,Tt(n,Wt(r,o)));return i<a?-1:a<i?1:e.descriptor.index-r.descriptor.index}))[0]||null}({pageBorderBoxCenter:r,viewport:c,destination:u,insideDestination:s,afterCritical:l}),insideDestination:s,viewport:c,afterCritical:l});if(!d)return null;var p=jt({impact:d,draggable:n,droppable:u,draggables:o,afterCritical:l});return{clientSelection:Gt({pageBorderBoxCenter:p,draggable:n,viewport:c}),impact:d,scrollJumpRequest:null}},$t=function(e){var t=e.at;return t?"REORDER"===t.type?t.destination.droppableId:t.combine.droppableId:null},Yt=function(e){var t=e.state,r=e.type,n=function(e,t){var r=$t(e);return r?t[r]:null}(t.impact,t.dimensions.droppables),i=Boolean(n),o=t.dimensions.droppables[t.critical.droppable.id],a=n||o,c=a.axis.direction,l="vertical"===c&&("MOVE_UP"===r||"MOVE_DOWN"===r)||"horizontal"===c&&("MOVE_LEFT"===r||"MOVE_RIGHT"===r);if(l&&!i)return null;var u="MOVE_DOWN"===r||"MOVE_RIGHT"===r,s=t.dimensions.draggables[t.critical.draggable.id],d=t.current.page.borderBoxCenter,p=t.dimensions,f=p.draggables,g=p.droppables;return l?kt({isMovingForward:u,previousPageBorderBoxCenter:d,draggable:s,destination:a,draggables:f,viewport:t.viewport,previousClientSelection:t.current.client.selection,previousImpact:t.impact,afterCritical:t.afterCritical}):zt({isMovingForward:u,previousPageBorderBoxCenter:d,draggable:s,isOver:a,draggables:f,droppables:g,viewport:t.viewport,afterCritical:t.afterCritical})};function Jt(e){return"DRAGGING"===e.phase||"COLLECTING"===e.phase}function Xt(e){var t=gt(e.top,e.bottom),r=gt(e.left,e.right);return function(e){return t(e.y)&&r(e.x)}}function Kt(e){var t=e.pageBorderBox,r=e.draggable,n=e.droppables,i=it(n).filter((function(e){if(!e.isEnabled)return!1;var r,n,i=e.subject.active;if(!i)return!1;if(n=i,!((r=t).left<n.right&&r.right>n.left&&r.top<n.bottom&&r.bottom>n.top))return!1;if(Xt(i)(t.center))return!0;var o=e.axis,a=i.center[o.crossAxisLine],c=t[o.crossAxisStart],l=t[o.crossAxisEnd],u=gt(i[o.crossAxisStart],i[o.crossAxisEnd]),s=u(c),d=u(l);return!s&&!d||(s?c<a:l>a)}));return i.length?1===i.length?i[0].descriptor.id:function(e){var t=e.pageBorderBox,r=e.draggable,n=e.candidates,i=r.page.borderBox.center,o=n.map((function(e){var r=e.axis,n=He(e.axis.line,t.center[r.line],e.page.borderBox.center[r.crossAxisLine]);return{id:e.descriptor.id,distance:qe(i,n)}})).sort((function(e,t){return t.distance-e.distance}));return o[0]?o[0].id:null}({pageBorderBox:t,draggable:r,candidates:i}):null}var Qt=function(e,t){return de($e(e,t))};function Zt(e){var t=e.displaced,r=e.id;return Boolean(t.visible[r]||t.invisible[r])}var er=function(e){var t=e.pageOffset,r=e.draggable,n=e.draggables,i=e.droppables,o=e.previousImpact,a=e.viewport,c=e.afterCritical,l=Qt(r.page.borderBox,t),u=Kt({pageBorderBox:l,draggable:r,droppables:i});if(!u)return ft;var s,d,p=i[u],f=at(p.descriptor.id,n),g=(s=l,(d=p.frame)?Qt(s,d.scroll.diff.value):s);return function(e){var t=e.draggable,r=e.pageBorderBoxWithDroppableScroll,n=e.previousImpact,i=e.destination,o=e.insideDestination,a=e.afterCritical;if(!i.isCombineEnabled)return null;var c=i.axis,l=Ht(i.axis,t.displaceBy),u=l.value,s=r[c.start],d=r[c.end],p=et(ut(t,o),(function(e){var t=e.descriptor.id,r=e.page.borderBox,i=r[c.size]/4,o=Et(t,a),l=Zt({displaced:n.displaced,id:t});return o?l?d>r[c.start]+i&&d<r[c.end]-i:s>r[c.start]-u+i&&s<r[c.end]-u-i:l?d>r[c.start]+u+i&&d<r[c.end]+u-i:s>r[c.start]+i&&s<r[c.end]-i}));return p?{displacedBy:l,displaced:n.displaced,at:{type:"COMBINE",combine:{draggableId:p.descriptor.id,droppableId:i.descriptor.id}}}:null}({pageBorderBoxWithDroppableScroll:g,draggable:r,previousImpact:o,destination:p,insideDestination:f,afterCritical:c})||function(e){var t=e.pageBorderBoxWithDroppableScroll,r=e.draggable,n=e.destination,i=e.insideDestination,o=e.last,a=e.viewport,c=e.afterCritical,l=n.axis,u=Ht(n.axis,r.displaceBy),s=u.value,d=t[l.start],p=t[l.end],f=function(e){var t=e.draggable,r=e.closest,n=e.inHomeList;return r?n&&r.descriptor.index>t.descriptor.index?r.descriptor.index-1:r.descriptor.index:null}({draggable:r,closest:et(ut(r,i),(function(e){var t=e.descriptor.id,r=e.page.borderBox.center[l.line],n=Et(t,c),i=Zt({displaced:o,id:t});return n?i?p<=r:d<r-s:i?p<=r+s:d<r})),inHomeList:st(r,n)});return Ot({draggable:r,insideDestination:i,destination:n,viewport:a,last:o,displacedBy:u,index:f})}({pageBorderBoxWithDroppableScroll:g,draggable:r,destination:p,insideDestination:f,last:o.displaced,viewport:a,afterCritical:c})},tr=function(e,t){var r;return d({},e,((r={})[t.descriptor.id]=t,r))},rr=function(e){var t=e.previousImpact,r=e.impact,n=e.droppables,i=$t(t),o=$t(r);if(!i)return n;if(i===o)return n;var a=n[i];if(!a.subject.withPlaceholder)return n;var c=function(e){var t=e.subject.withPlaceholder;t||Se(!1);var r=e.frame;if(!r)return d({},e,{subject:Xe({page:e.subject.page,axis:e.axis,frame:null,withPlaceholder:null})});var n=t.oldFrameMaxScroll;n||Se(!1);var i=qt(r,n);return d({},e,{subject:Xe({page:e.subject.page,axis:e.axis,frame:i,withPlaceholder:null}),frame:i})}(a);return tr(n,c)},nr=function(e){var t=e.state,r=e.clientSelection,n=e.dimensions,i=e.viewport,o=e.impact,a=e.scrollJumpRequest,c=i||t.viewport,l=n||t.dimensions,u=r||t.current.client.selection,s=Fe(u,t.initial.client.selection),p={offset:s,selection:u,borderBoxCenter:ke(t.initial.client.borderBoxCenter,s)},f={selection:ke(p.selection,c.scroll.current),borderBoxCenter:ke(p.borderBoxCenter,c.scroll.current),offset:ke(p.offset,c.scroll.diff.value)},g={client:p,page:f};if("COLLECTING"===t.phase)return d({phase:"COLLECTING"},t,{dimensions:l,viewport:c,current:g});var b=l.draggables[t.critical.draggable.id],v=o||er({pageOffset:f.offset,draggable:b,draggables:l.draggables,droppables:l.droppables,previousImpact:t.impact,viewport:c,afterCritical:t.afterCritical}),m=function(e){var t=e.draggable,r=e.draggables,n=e.droppables,i=e.previousImpact,o=e.impact,a=rr({previousImpact:i,impact:o,droppables:n}),c=$t(o);if(!c)return a;var l=n[c];if(st(t,l))return a;if(l.subject.withPlaceholder)return a;var u=Vt(l,t,r);return tr(a,u)}({draggable:b,impact:v,previousImpact:t.impact,draggables:l.draggables,droppables:l.droppables});return d({},t,{current:g,dimensions:{draggables:l.draggables,droppables:m},impact:v,viewport:c,scrollJumpRequest:a||null,forceShouldAnimate:!a&&null})};var ir=function(e){var t=e.impact,r=e.viewport,n=e.draggables,i=e.destination,o=e.forceShouldAnimate,a=t.displaced;return d({},t,{displaced:Dt({afterDragging:function(e,t){return e.map((function(e){return t[e]}))}(a.all,n),destination:i,displacedBy:t.displacedBy,viewport:r.frame,forceShouldAnimate:o,last:a})})},or=function(e){var t=e.impact,r=e.draggable,n=e.droppable,i=e.draggables,o=e.viewport,a=e.afterCritical,c=jt({impact:t,draggable:r,draggables:i,droppable:n,afterCritical:a});return Gt({pageBorderBoxCenter:c,draggable:r,viewport:o})},ar=function(e){var t=e.state,r=e.dimensions,n=e.viewport;"SNAP"!==t.movementMode&&Se(!1);var i=t.impact,o=n||t.viewport,a=r||t.dimensions,c=a.draggables,l=a.droppables,u=c[t.critical.draggable.id],s=$t(i);s||Se(!1);var d=l[s],p=ir({impact:i,viewport:o,destination:d,draggables:c}),f=or({impact:p,draggable:u,droppable:d,draggables:c,viewport:o,afterCritical:t.afterCritical});return nr({impact:p,clientSelection:f,state:t,dimensions:a,viewport:o})},cr=function(e){var t=e.draggable,r=e.home,n=e.draggables,i=e.viewport,o=Ht(r.axis,t.displaceBy),a=at(r.descriptor.id,n),c=a.indexOf(t);-1===c&&Se(!1);var l,u=a.slice(c+1),s=u.reduce((function(e,t){return e[t.descriptor.id]=!0,e}),{}),d={inVirtualList:"virtual"===r.descriptor.mode,displacedBy:o,effected:s};return{impact:{displaced:Dt({afterDragging:u,destination:r,displacedBy:o,last:null,viewport:i.frame,forceShouldAnimate:!1}),displacedBy:o,at:{type:"REORDER",destination:(l=t.descriptor,{index:l.index,droppableId:l.droppableId})}},afterCritical:d}},lr=function(e){0},ur=function(e){0},sr=function(e){var t=e.additions,r=e.updatedDroppables,n=e.viewport,i=n.scroll.diff.value;return t.map((function(e){var t=e.descriptor.droppableId,o=function(e){var t=e.frame;return t||Se(!1),t}(r[t]).scroll.diff.value;return function(e){var t=e.draggable,r=e.offset,n=e.initialWindowScroll,i=me(t.client,r),o=he(i,n);return d({},t,{placeholder:d({},t.placeholder,{client:i}),client:i,page:o})}({draggable:e,offset:ke(i,o),initialWindowScroll:n.scroll.initial})}))},dr=function(e){return"SNAP"===e.movementMode},pr=function(e,t,r){var n=function(e,t){return{draggables:e.draggables,droppables:tr(e.droppables,t)}}(e.dimensions,t);return!dr(e)||r?nr({state:e,dimensions:n}):ar({state:e,dimensions:n})};function fr(e){return e.isDragging&&"SNAP"===e.movementMode?d({phase:"DRAGGING"},e,{scrollJumpRequest:null}):e}var gr={phase:"IDLE",completed:null,shouldFlush:!1},br=function(e,t){if(void 0===e&&(e=gr),"FLUSH"===t.type)return d({},gr,{shouldFlush:!0});if("INITIAL_PUBLISH"===t.type){"IDLE"!==e.phase&&Se(!1);var r=t.payload,n=r.critical,i=r.clientSelection,o=r.viewport,a=r.dimensions,c=r.movementMode,l=a.draggables[n.draggable.id],u=a.droppables[n.droppable.id],s={selection:i,borderBoxCenter:l.client.borderBox.center,offset:_e},p={client:s,page:{selection:ke(s.selection,o.scroll.initial),borderBoxCenter:ke(s.selection,o.scroll.initial),offset:ke(s.selection,o.scroll.diff.value)}},f=it(a.droppables).every((function(e){return!e.isFixedOnPage})),g=cr({draggable:l,home:u,draggables:a.draggables,viewport:o}),b=g.impact;return{phase:"DRAGGING",isDragging:!0,critical:n,movementMode:c,dimensions:a,initial:p,current:p,isWindowScrollAllowed:f,impact:b,afterCritical:g.afterCritical,onLiftImpact:b,viewport:o,scrollJumpRequest:null,forceShouldAnimate:null}}if("COLLECTION_STARTING"===t.type)return"COLLECTING"===e.phase||"DROP_PENDING"===e.phase?e:("DRAGGING"!==e.phase&&Se(!1),d({phase:"COLLECTING"},e,{phase:"COLLECTING"}));if("PUBLISH_WHILE_DRAGGING"===t.type)return"COLLECTING"!==e.phase&&"DROP_PENDING"!==e.phase&&Se(!1),function(e){var t=e.state,r=e.published;lr();var n=r.modified.map((function(e){var r=t.dimensions.droppables[e.droppableId];return Ke(r,e.scroll)})),i=d({},t.dimensions.droppables,{},rt(n)),o=nt(sr({additions:r.additions,updatedDroppables:i,viewport:t.viewport})),a=d({},t.dimensions.draggables,{},o);r.removals.forEach((function(e){delete a[e]}));var c={droppables:i,draggables:a},l=$t(t.impact),u=l?c.droppables[l]:null,s=c.draggables[t.critical.draggable.id],p=c.droppables[t.critical.droppable.id],f=cr({draggable:s,home:p,draggables:a,viewport:t.viewport}),g=f.impact,b=f.afterCritical,v=u&&u.isCombineEnabled?t.impact:g,m=er({pageOffset:t.current.page.offset,draggable:c.draggables[t.critical.draggable.id],draggables:c.draggables,droppables:c.droppables,previousImpact:v,viewport:t.viewport,afterCritical:b});ur();var h=d({phase:"DRAGGING"},t,{phase:"DRAGGING",impact:m,onLiftImpact:g,dimensions:c,afterCritical:b,forceShouldAnimate:!1});return"COLLECTING"===t.phase?h:d({phase:"DROP_PENDING"},h,{phase:"DROP_PENDING",reason:t.reason,isWaiting:!1})}({state:e,published:t.payload});if("MOVE"===t.type){if("DROP_PENDING"===e.phase)return e;Jt(e)||Se(!1);var v=t.payload.client;return We(v,e.current.client.selection)?e:nr({state:e,clientSelection:v,impact:dr(e)?e.impact:null})}if("UPDATE_DROPPABLE_SCROLL"===t.type){if("DROP_PENDING"===e.phase)return fr(e);if("COLLECTING"===e.phase)return fr(e);Jt(e)||Se(!1);var m=t.payload,h=m.id,y=m.newScroll,x=e.dimensions.droppables[h];if(!x)return e;var I=Ke(x,y);return pr(e,I,!1)}if("UPDATE_DROPPABLE_IS_ENABLED"===t.type){if("DROP_PENDING"===e.phase)return e;Jt(e)||Se(!1);var D=t.payload,w=D.id,O=D.isEnabled,E=e.dimensions.droppables[w];E||Se(!1),E.isEnabled===O&&Se(!1);var C=d({},E,{isEnabled:O});return pr(e,C,!0)}if("UPDATE_DROPPABLE_IS_COMBINE_ENABLED"===t.type){if("DROP_PENDING"===e.phase)return e;Jt(e)||Se(!1);var P=t.payload,S=P.id,A=P.isCombineEnabled,N=e.dimensions.droppables[S];N||Se(!1),N.isCombineEnabled===A&&Se(!1);var R=d({},N,{isCombineEnabled:A});return pr(e,R,!0)}if("MOVE_BY_WINDOW_SCROLL"===t.type){if("DROP_PENDING"===e.phase||"DROP_ANIMATING"===e.phase)return e;Jt(e)||Se(!1),e.isWindowScrollAllowed||Se(!1);var B=t.payload.newScroll;if(We(e.viewport.scroll.current,B))return fr(e);var T=Lt(e.viewport,B);return dr(e)?ar({state:e,viewport:T}):nr({state:e,viewport:T})}if("UPDATE_VIEWPORT_MAX_SCROLL"===t.type){if(!Jt(e))return e;var j=t.payload.maxScroll;if(We(j,e.viewport.scroll.max))return e;var L=d({},e.viewport,{scroll:d({},e.viewport.scroll,{max:j})});return d({phase:"DRAGGING"},e,{viewport:L})}if("MOVE_UP"===t.type||"MOVE_DOWN"===t.type||"MOVE_LEFT"===t.type||"MOVE_RIGHT"===t.type){if("COLLECTING"===e.phase||"DROP_PENDING"===e.phase)return e;"DRAGGING"!==e.phase&&Se(!1);var M=Yt({state:e,type:t.type});return M?nr({state:e,impact:M.impact,clientSelection:M.clientSelection,scrollJumpRequest:M.scrollJumpRequest}):e}if("DROP_PENDING"===t.type){var G=t.payload.reason;return"COLLECTING"!==e.phase&&Se(!1),d({phase:"DROP_PENDING"},e,{phase:"DROP_PENDING",isWaiting:!0,reason:G})}if("DROP_ANIMATE"===t.type){var _=t.payload,k=_.completed,F=_.dropDuration,W=_.newHomeClientOffset;return"DRAGGING"!==e.phase&&"DROP_PENDING"!==e.phase&&Se(!1),{phase:"DROP_ANIMATING",completed:k,dropDuration:F,newHomeClientOffset:W,dimensions:e.dimensions}}return"DROP_COMPLETE"===t.type?{phase:"IDLE",completed:t.payload.completed,shouldFlush:!1}:e},vr=function(e){return{type:"PUBLISH_WHILE_DRAGGING",payload:e}},mr=function(){return{type:"COLLECTION_STARTING",payload:null}},hr=function(e){return{type:"UPDATE_DROPPABLE_SCROLL",payload:e}},yr=function(e){return{type:"UPDATE_DROPPABLE_IS_ENABLED",payload:e}},xr=function(e){return{type:"UPDATE_DROPPABLE_IS_COMBINE_ENABLED",payload:e}},Ir=function(e){return{type:"MOVE",payload:e}},Dr=function(){return{type:"MOVE_UP",payload:null}},wr=function(){return{type:"MOVE_DOWN",payload:null}},Or=function(){return{type:"MOVE_RIGHT",payload:null}},Er=function(){return{type:"MOVE_LEFT",payload:null}},Cr=function(e){return{type:"DROP_COMPLETE",payload:e}},Pr=function(e){return{type:"DROP",payload:e}},Sr=function(){return{type:"DROP_ANIMATION_FINISHED",payload:null}};var Ar="cubic-bezier(.2,1,.1,1)",Nr={drop:0,combining:.7},Rr={drop:.75},Br=.2+"s "+"cubic-bezier(0.2, 0, 0, 1)",Tr={fluid:"opacity "+Br,snap:"transform "+Br+", opacity "+Br,drop:function(e){var t=e+"s "+Ar;return"transform "+t+", opacity "+t},outOfTheWay:"transform "+Br,placeholder:"height "+Br+", width "+Br+", margin "+Br},jr=function(e){return We(e,_e)?null:"translate("+e.x+"px, "+e.y+"px)"},Lr=jr,Mr=function(e,t){var r=jr(e);return r?t?r+" scale("+Rr.drop+")":r:null},Gr=.33,_r=.55,kr=_r-Gr,Fr=function(e){var t=e.getState,r=e.dispatch;return function(e){return function(n){if("DROP"===n.type){var i=t(),o=n.payload.reason;if("COLLECTING"!==i.phase){if("IDLE"!==i.phase){"DROP_PENDING"===i.phase&&i.isWaiting&&Se(!1),"DRAGGING"!==i.phase&&"DROP_PENDING"!==i.phase&&Se(!1);var a=i.critical,c=i.dimensions,l=c.draggables[i.critical.draggable.id],u=function(e){var t=e.draggables,r=e.reason,n=e.lastImpact,i=e.home,o=e.viewport,a=e.onLiftImpact;return n.at&&"DROP"===r?"REORDER"===n.at.type?{impact:n,didDropInsideDroppable:!0}:{impact:d({},n,{displaced:pt}),didDropInsideDroppable:!0}:{impact:ir({draggables:t,impact:a,destination:i,viewport:o,forceShouldAnimate:!0}),didDropInsideDroppable:!1}}({reason:o,lastImpact:i.impact,afterCritical:i.afterCritical,onLiftImpact:i.onLiftImpact,home:i.dimensions.droppables[i.critical.droppable.id],viewport:i.viewport,draggables:i.dimensions.draggables}),s=u.impact,p=u.didDropInsideDroppable,f=p?ct(s):null,g=p?lt(s):null,b={index:a.draggable.index,droppableId:a.droppable.id},v={draggableId:l.descriptor.id,type:l.descriptor.type,source:b,reason:o,mode:i.movementMode,destination:f,combine:g},m=function(e){var t=e.impact,r=e.draggable,n=e.dimensions,i=e.viewport,o=e.afterCritical,a=n.draggables,c=n.droppables,l=$t(t),u=l?c[l]:null,s=c[r.descriptor.droppableId],d=or({impact:t,draggable:r,draggables:a,afterCritical:o,droppable:u||s,viewport:i});return Fe(d,r.client.borderBox.center)}({impact:s,draggable:l,dimensions:c,viewport:i.viewport,afterCritical:i.afterCritical}),h={critical:i.critical,afterCritical:i.afterCritical,result:v,impact:s};if(!We(i.current.client.offset,m)||Boolean(v.combine)){var y=function(e){var t=e.current,r=e.destination,n=e.reason,i=qe(t,r);if(i<=0)return Gr;if(i>=1500)return _r;var o=Gr+kr*(i/1500);return Number(("CANCEL"===n?.6*o:o).toFixed(2))}({current:i.current.client.offset,destination:m,reason:o});r(function(e){return{type:"DROP_ANIMATE",payload:e}}({newHomeClientOffset:m,dropDuration:y,completed:h}))}else r(Cr({completed:h}))}}else r(function(e){return{type:"DROP_PENDING",payload:e}}({reason:o}))}else e(n)}}},Wr=function(){return{x:window.pageXOffset,y:window.pageYOffset}};function Ur(e){var t=e.onWindowScroll;var r,n=we((function(){t(Wr())})),i=(r=n,{eventName:"scroll",options:{passive:!0,capture:!1},fn:function(e){e.target!==window&&e.target!==window.document||r()}}),o=Ee;function a(){return o!==Ee}return{start:function(){a()&&Se(!1),o=Ce(window,[i])},stop:function(){a()||Se(!1),n.cancel(),o(),o=Ee},isActive:a}}var Hr=function(e){var t=Ur({onWindowScroll:function(t){e.dispatch({type:"MOVE_BY_WINDOW_SCROLL",payload:{newScroll:t}})}});return function(e){return function(r){t.isActive()||"INITIAL_PUBLISH"!==r.type||t.start(),t.isActive()&&function(e){return"DROP_COMPLETE"===e.type||"DROP_ANIMATE"===e.type||"FLUSH"===e.type}(r)&&t.stop(),e(r)}}},qr=function(){var e=[];return{add:function(t){var r=setTimeout((function(){return function(t){var r=Ze(e,(function(e){return e.timerId===t}));-1===r&&Se(!1),e.splice(r,1)[0].callback()}(r)})),n={timerId:r,callback:t};e.push(n)},flush:function(){if(e.length){var t=[].concat(e);e.length=0,t.forEach((function(e){clearTimeout(e.timerId),e.callback()}))}}}},Vr=function(e,t){lr(),t(),ur()},zr=function(e,t){return{draggableId:e.draggable.id,type:e.droppable.type,source:{droppableId:e.droppable.id,index:e.draggable.index},mode:t}},$r=function(e,t,r,n){if(e){var i=function(e){var t=!1,r=!1,n=setTimeout((function(){r=!0})),i=function(i){t||r||(t=!0,e(i),clearTimeout(n))};return i.wasCalled=function(){return t},i}(r);e(t,{announce:i}),i.wasCalled()||r(n(t))}else r(n(t))},Yr=function(e,t){var r=function(e,t){var r=qr(),n=null,i=function(r){n||Se(!1),n=null,Vr(0,(function(){return $r(e().onDragEnd,r,t,Ge)}))};return{beforeCapture:function(t,r){n&&Se(!1),Vr(0,(function(){var n=e().onBeforeCapture;n&&n({draggableId:t,mode:r})}))},beforeStart:function(t,r){n&&Se(!1),Vr(0,(function(){var n=e().onBeforeDragStart;n&&n(zr(t,r))}))},start:function(i,o){n&&Se(!1);var a=zr(i,o);n={mode:o,lastCritical:i,lastLocation:a.source,lastCombine:null},r.add((function(){Vr(0,(function(){return $r(e().onDragStart,a,t,Le)}))}))},update:function(i,o){var a=ct(o),c=lt(o);n||Se(!1);var l=!function(e,t){if(e===t)return!0;var r=e.draggable.id===t.draggable.id&&e.draggable.droppableId===t.draggable.droppableId&&e.draggable.type===t.draggable.type&&e.draggable.index===t.draggable.index,n=e.droppable.id===t.droppable.id&&e.droppable.type===t.droppable.type;return r&&n}(i,n.lastCritical);l&&(n.lastCritical=i);var u,s,p=(u=n.lastLocation,s=a,!(null==u&&null==s||null!=u&&null!=s&&u.droppableId===s.droppableId&&u.index===s.index));p&&(n.lastLocation=a);var f=!function(e,t){return null==e&&null==t||null!=e&&null!=t&&(e.draggableId===t.draggableId&&e.droppableId===t.droppableId)}(n.lastCombine,c);if(f&&(n.lastCombine=c),l||p||f){var g=d({},zr(i,n.mode),{combine:c,destination:a});r.add((function(){Vr(0,(function(){return $r(e().onDragUpdate,g,t,Me)}))}))}},flush:function(){n||Se(!1),r.flush()},drop:i,abort:function(){if(n){var e=d({},zr(n.lastCritical,n.mode),{combine:null,destination:null,reason:"CANCEL"});i(e)}}}}(e,t);return function(e){return function(t){return function(n){if("BEFORE_INITIAL_CAPTURE"!==n.type){if("INITIAL_PUBLISH"===n.type){var i=n.payload.critical;return r.beforeStart(i,n.payload.movementMode),t(n),void r.start(i,n.payload.movementMode)}if("DROP_COMPLETE"===n.type){var o=n.payload.completed.result;return r.flush(),t(n),void r.drop(o)}if(t(n),"FLUSH"!==n.type){var a=e.getState();"DRAGGING"===a.phase&&r.update(a.critical,a.impact)}else r.abort()}else r.beforeCapture(n.payload.draggableId,n.payload.movementMode)}}}},Jr=function(e){return function(t){return function(r){if("DROP_ANIMATION_FINISHED"===r.type){var n=e.getState();"DROP_ANIMATING"!==n.phase&&Se(!1),e.dispatch(Cr({completed:n.completed}))}else t(r)}}},Xr=function(e){var t=null,r=null;return function(n){return function(i){if("FLUSH"!==i.type&&"DROP_COMPLETE"!==i.type&&"DROP_ANIMATION_FINISHED"!==i.type||(r&&(cancelAnimationFrame(r),r=null),t&&(t(),t=null)),n(i),"DROP_ANIMATE"===i.type){var o={eventName:"scroll",options:{capture:!0,passive:!1,once:!0},fn:function(){"DROP_ANIMATING"===e.getState().phase&&e.dispatch({type:"DROP_ANIMATION_FINISHED",payload:null})}};r=requestAnimationFrame((function(){r=null,t=Ce(window,[o])}))}}}},Kr=function(e){return function(t){return function(r){if(t(r),"PUBLISH_WHILE_DRAGGING"===r.type){var n=e.getState();"DROP_PENDING"===n.phase&&(n.isWaiting||e.dispatch(Pr({reason:n.reason})))}}}},Qr=D,Zr=function(e){var t,r=e.dimensionMarshal,n=e.focusMarshal,i=e.styleMarshal,o=e.getResponders,a=e.announce,c=e.autoScroller;return v(br,Qr(function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return function(e){return function(){var r=e.apply(void 0,arguments),n=function(){throw new Error("Dispatching while constructing your middleware is not allowed. Other middleware would not be applied to this dispatch.")},i={getState:r.getState,dispatch:function(){return n.apply(void 0,arguments)}},o=t.map((function(e){return e(i)}));return I({},r,{dispatch:n=D.apply(void 0,o)(r.dispatch)})}}}((t=i,function(){return function(e){return function(r){"INITIAL_PUBLISH"===r.type&&t.dragging(),"DROP_ANIMATE"===r.type&&t.dropping(r.payload.completed.result.reason),"FLUSH"!==r.type&&"DROP_COMPLETE"!==r.type||t.resting(),e(r)}}}),function(e){return function(){return function(t){return function(r){"DROP_COMPLETE"!==r.type&&"FLUSH"!==r.type&&"DROP_ANIMATE"!==r.type||e.stopPublishing(),t(r)}}}}(r),function(e){return function(t){var r=t.getState,n=t.dispatch;return function(t){return function(i){if("LIFT"===i.type){var o=i.payload,a=o.id,c=o.clientSelection,l=o.movementMode,u=r();"DROP_ANIMATING"===u.phase&&n(Cr({completed:u.completed})),"IDLE"!==r().phase&&Se(!1),n({type:"FLUSH",payload:null}),n({type:"BEFORE_INITIAL_CAPTURE",payload:{draggableId:a,movementMode:l}});var s={draggableId:a,scrollOptions:{shouldPublishImmediately:"SNAP"===l}},d=e.startPublishing(s),p=d.critical,f=d.dimensions,g=d.viewport;n(function(e){return{type:"INITIAL_PUBLISH",payload:e}}({critical:p,dimensions:f,clientSelection:c,movementMode:l,viewport:g}))}else t(i)}}}}(r),Fr,Jr,Xr,Kr,function(e){return function(t){return function(r){return function(n){if(function(e){return"DROP_COMPLETE"===e.type||"DROP_ANIMATE"===e.type||"FLUSH"===e.type}(n))return e.stop(),void r(n);if("INITIAL_PUBLISH"===n.type){r(n);var i=t.getState();return"DRAGGING"!==i.phase&&Se(!1),void e.start(i)}r(n),e.scroll(t.getState())}}}}(c),Hr,function(e){var t=!1;return function(){return function(r){return function(n){if("INITIAL_PUBLISH"===n.type)return t=!0,e.tryRecordFocus(n.payload.critical.draggable.id),r(n),void e.tryRestoreFocusRecorded();if(r(n),t){if("FLUSH"===n.type)return t=!1,void e.tryRestoreFocusRecorded();if("DROP_COMPLETE"===n.type){t=!1;var i=n.payload.completed.result;i.combine&&e.tryShiftRecord(i.draggableId,i.combine.draggableId),e.tryRestoreFocusRecorded()}}}}}}(n),Yr(o,a))))};var en=function(e){var t=e.scrollHeight,r=e.scrollWidth,n=e.height,i=e.width,o=Fe({x:r,y:t},{x:i,y:n});return{x:Math.max(0,o.x),y:Math.max(0,o.y)}},tn=function(){var e=document.documentElement;return e||Se(!1),e},rn=function(){var e=tn();return en({scrollHeight:e.scrollHeight,scrollWidth:e.scrollWidth,width:e.clientWidth,height:e.clientHeight})},nn=function(e){var t=e.critical,r=e.scrollOptions,n=e.registry;lr();var i,o,a,c,l,u,s,d=(i=Wr(),o=rn(),a=i.y,c=i.x,l=tn(),u=l.clientWidth,s=l.clientHeight,{frame:de({top:a,left:c,right:c+u,bottom:a+s}),scroll:{initial:i,current:i,max:o,diff:{value:_e,displacement:_e}}}),p=d.scroll.current,f=t.droppable,g=n.droppable.getAllByType(f.type).map((function(e){return e.callbacks.getDimensionAndWatchScroll(p,r)})),b=n.draggable.getAllByType(t.draggable.type).map((function(e){return e.getDimension(p)})),v={draggables:nt(b),droppables:rt(g)};return ur(),{dimensions:v,critical:t,viewport:d}};function on(e,t,r){return r.descriptor.id!==t.id&&(r.descriptor.type===t.type&&"virtual"===e.droppable.getById(r.descriptor.droppableId).descriptor.mode)}var an,cn,ln=function(e,t){var r=null,n=function(e){var t=e.registry,r=e.callbacks,n={additions:{},removals:{},modified:{}},i=null,o=function(){i||(r.collectionStarting(),i=requestAnimationFrame((function(){i=null,lr();var e=n,o=e.additions,a=e.removals,c=e.modified,l=Object.keys(o).map((function(e){return t.draggable.getById(e).getDimension(_e)})).sort((function(e,t){return e.descriptor.index-t.descriptor.index})),u=Object.keys(c).map((function(e){return{droppableId:e,scroll:t.droppable.getById(e).callbacks.getScrollWhileDragging()}})),s={additions:l,removals:Object.keys(a),modified:u};n={additions:{},removals:{},modified:{}},ur(),r.publish(s)})))};return{add:function(e){var t=e.descriptor.id;n.additions[t]=e,n.modified[e.descriptor.droppableId]=!0,n.removals[t]&&delete n.removals[t],o()},remove:function(e){var t=e.descriptor;n.removals[t.id]=!0,n.modified[t.droppableId]=!0,n.additions[t.id]&&delete n.additions[t.id],o()},stop:function(){i&&(cancelAnimationFrame(i),i=null,n={additions:{},removals:{},modified:{}})}}}({callbacks:{publish:t.publishWhileDragging,collectionStarting:t.collectionStarting},registry:e}),i=function(t){r||Se(!1);var i=r.critical.draggable;"ADDITION"===t.type&&on(e,i,t.value)&&n.add(t.value),"REMOVAL"===t.type&&on(e,i,t.value)&&n.remove(t.value)};return{updateDroppableIsEnabled:function(n,i){e.droppable.exists(n)||Se(!1),r&&t.updateDroppableIsEnabled({id:n,isEnabled:i})},updateDroppableIsCombineEnabled:function(n,i){r&&(e.droppable.exists(n)||Se(!1),t.updateDroppableIsCombineEnabled({id:n,isCombineEnabled:i}))},scrollDroppable:function(t,n){r&&e.droppable.getById(t).callbacks.scroll(n)},updateDroppableScroll:function(n,i){r&&(e.droppable.exists(n)||Se(!1),t.updateDroppableScroll({id:n,newScroll:i}))},startPublishing:function(t){r&&Se(!1);var n=e.draggable.getById(t.draggableId),o=e.droppable.getById(n.descriptor.droppableId),a={draggable:n.descriptor,droppable:o.descriptor},c=e.subscribe(i);return r={critical:a,unsubscribe:c},nn({critical:a,registry:e,scrollOptions:t.scrollOptions})},stopPublishing:function(){if(r){n.stop();var t=r.critical.droppable;e.droppable.getAllByType(t.type).forEach((function(e){return e.callbacks.dragStopped()})),r.unsubscribe(),r=null}}}},un=function(e,t){return"IDLE"===e.phase||"DROP_ANIMATING"===e.phase&&(e.completed.result.draggableId!==t&&"DROP"===e.completed.result.reason)},sn=function(e){window.scrollBy(e.x,e.y)},dn=De((function(e){return it(e).filter((function(e){return!!e.isEnabled&&!!e.frame}))})),pn=function(e){var t=e.center,r=e.destination,n=e.droppables;if(r){var i=n[r];return i.frame?i:null}return function(e,t){return et(dn(t),(function(t){return t.frame||Se(!1),Xt(t.frame.pageMarginBox)(e)}))}(t,n)},fn=.25,gn=.05,bn=28,vn=function(e){return Math.pow(e,2)},mn={stopDampeningAt:1200,accelerateAt:360},hn=function(e){var t=e.startOfRange,r=e.endOfRange,n=e.current,i=r-t;return 0===i?0:(n-t)/i},yn=mn.accelerateAt,xn=mn.stopDampeningAt,In=function(e){var t=e.distanceToEdge,r=e.thresholds,n=e.dragStartTime,i=e.shouldUseTimeDampening,o=function(e,t){if(e>t.startScrollingFrom)return 0;if(e<=t.maxScrollValueAt)return bn;if(e===t.startScrollingFrom)return 1;var r=hn({startOfRange:t.maxScrollValueAt,endOfRange:t.startScrollingFrom,current:e}),n=bn*vn(1-r);return Math.ceil(n)}(t,r);return 0===o?0:i?Math.max(function(e,t){var r=t,n=xn,i=Date.now()-r;if(i>=xn)return e;if(i<yn)return 1;var o=hn({startOfRange:yn,endOfRange:n,current:i}),a=e*vn(o);return Math.ceil(a)}(o,n),1):o},Dn=function(e){var t=e.container,r=e.distanceToEdges,n=e.dragStartTime,i=e.axis,o=e.shouldUseTimeDampening,a=function(e,t){return{startScrollingFrom:e[t.size]*fn,maxScrollValueAt:e[t.size]*gn}}(t,i);return r[i.end]<r[i.start]?In({distanceToEdge:r[i.end],thresholds:a,dragStartTime:n,shouldUseTimeDampening:o}):-1*In({distanceToEdge:r[i.start],thresholds:a,dragStartTime:n,shouldUseTimeDampening:o})},wn=ze((function(e){return 0===e?0:e})),On=function(e){var t=e.dragStartTime,r=e.container,n=e.subject,i=e.center,o=e.shouldUseTimeDampening,a={top:i.y-r.top,right:r.right-i.x,bottom:r.bottom-i.y,left:i.x-r.left},c=Dn({container:r,distanceToEdges:a,dragStartTime:t,axis:mt,shouldUseTimeDampening:o}),l=Dn({container:r,distanceToEdges:a,dragStartTime:t,axis:ht,shouldUseTimeDampening:o}),u=wn({x:l,y:c});if(We(u,_e))return null;var s=function(e){var t=e.container,r=e.subject,n=e.proposedScroll,i=r.height>t.height,o=r.width>t.width;return o||i?o&&i?null:{x:o?0:n.x,y:i?0:n.y}:n}({container:r,subject:n,proposedScroll:u});return s?We(s,_e)?null:s:null},En=ze((function(e){return 0===e?0:e>0?1:-1})),Cn=(an=function(e,t){return e<0?e:e>t?e-t:0},function(e){var t=e.current,r=e.max,n=e.change,i=ke(t,n),o={x:an(i.x,r.x),y:an(i.y,r.y)};return We(o,_e)?null:o}),Pn=function(e){var t=e.max,r=e.current,n=e.change,i={x:Math.max(r.x,t.x),y:Math.max(r.y,t.y)},o=En(n),a=Cn({max:i,current:r,change:o});return!a||(0!==o.x&&0===a.x||0!==o.y&&0===a.y)},Sn=function(e,t){return Pn({current:e.scroll.current,max:e.scroll.max,change:t})},An=function(e,t){var r=e.frame;return!!r&&Pn({current:r.scroll.current,max:r.scroll.max,change:t})},Nn=function(e){var t=e.state,r=e.dragStartTime,n=e.shouldUseTimeDampening,i=e.scrollWindow,o=e.scrollDroppable,a=t.current.page.borderBoxCenter,c=t.dimensions.draggables[t.critical.draggable.id].page.marginBox;if(t.isWindowScrollAllowed){var l=function(e){var t=e.viewport,r=e.subject,n=e.center,i=e.dragStartTime,o=e.shouldUseTimeDampening,a=On({dragStartTime:i,container:t.frame,subject:r,center:n,shouldUseTimeDampening:o});return a&&Sn(t,a)?a:null}({dragStartTime:r,viewport:t.viewport,subject:c,center:a,shouldUseTimeDampening:n});if(l)return void i(l)}var u=pn({center:a,destination:$t(t.impact),droppables:t.dimensions.droppables});if(u){var s=function(e){var t=e.droppable,r=e.subject,n=e.center,i=e.dragStartTime,o=e.shouldUseTimeDampening,a=t.frame;if(!a)return null;var c=On({dragStartTime:i,container:a.pageMarginBox,subject:r,center:n,shouldUseTimeDampening:o});return c&&An(t,c)?c:null}({dragStartTime:r,droppable:u,subject:c,center:a,shouldUseTimeDampening:n});s&&o(u.descriptor.id,s)}},Rn=function(e){var t=e.move,r=e.scrollDroppable,n=e.scrollWindow,i=function(e,t){if(!An(e,t))return t;var n=function(e,t){var r=e.frame;return r&&An(e,t)?Cn({current:r.scroll.current,max:r.scroll.max,change:t}):null}(e,t);if(!n)return r(e.descriptor.id,t),null;var i=Fe(t,n);return r(e.descriptor.id,i),Fe(t,i)},o=function(e,t,r){if(!e)return r;if(!Sn(t,r))return r;var i=function(e,t){if(!Sn(e,t))return null;var r=e.scroll.max,n=e.scroll.current;return Cn({current:n,max:r,change:t})}(t,r);if(!i)return n(r),null;var o=Fe(r,i);return n(o),Fe(r,o)};return function(e){var r=e.scrollJumpRequest;if(r){var n=$t(e.impact);n||Se(!1);var a=i(e.dimensions.droppables[n],r);if(a){var c=e.viewport,l=o(e.isWindowScrollAllowed,c,a);l&&function(e,r){var n=ke(e.current.client.selection,r);t({client:n})}(e,l)}}}},Bn=function(e){var t=e.scrollDroppable,r=e.scrollWindow,n=e.move,i=function(e){var t=e.scrollWindow,r=e.scrollDroppable,n=we(t),i=we(r),o=null,a=function(e){o||Se(!1);var t=o,r=t.shouldUseTimeDampening,a=t.dragStartTime;Nn({state:e,scrollWindow:n,scrollDroppable:i,dragStartTime:a,shouldUseTimeDampening:r})};return{start:function(e){lr(),o&&Se(!1);var t=Date.now(),r=!1,n=function(){r=!0};Nn({state:e,dragStartTime:0,shouldUseTimeDampening:!1,scrollWindow:n,scrollDroppable:n}),o={dragStartTime:t,shouldUseTimeDampening:r},ur(),r&&a(e)},stop:function(){o&&(n.cancel(),i.cancel(),o=null)},scroll:a}}({scrollWindow:r,scrollDroppable:t}),o=Rn({move:n,scrollWindow:r,scrollDroppable:t});return{scroll:function(e){"DRAGGING"===e.phase&&("FLUID"!==e.movementMode?e.scrollJumpRequest&&o(e):i.scroll(e))},start:i.start,stop:i.stop}},Tn={base:cn="data-rbd-drag-handle",draggableId:cn+"-draggable-id",contextId:cn+"-context-id"},jn=function(){var e="data-rbd-draggable";return{base:e,contextId:e+"-context-id",id:e+"-id"}}(),Ln=function(){var e="data-rbd-droppable";return{base:e,contextId:e+"-context-id",id:e+"-id"}}(),Mn={contextId:"data-rbd-scroll-container-context-id"},Gn=function(e,t){return e.map((function(e){var r=e.styles[t];return r?e.selector+" { "+r+" }":""})).join(" ")},_n="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement?l.useLayoutEffect:l.useEffect,kn=function(){var e=document.querySelector("head");return e||Se(!1),e},Fn=function(e){var t=document.createElement("style");return e&&t.setAttribute("nonce",e),t.type="text/css",t};function Wn(e,t){var r=le((function(){return function(e){var t,r,n,i=(t=e,function(e){return"["+e+'="'+t+'"]'}),o=(r="\n      cursor: -webkit-grab;\n      cursor: grab;\n    ",{selector:i(Tn.contextId),styles:{always:"\n          -webkit-touch-callout: none;\n          -webkit-tap-highlight-color: rgba(0,0,0,0);\n          touch-action: manipulation;\n        ",resting:r,dragging:"pointer-events: none;",dropAnimating:r}}),a=[(n="\n      transition: "+Tr.outOfTheWay+";\n    ",{selector:i(jn.contextId),styles:{dragging:n,dropAnimating:n,userCancel:n}}),o,{selector:i(Ln.contextId),styles:{always:"overflow-anchor: none;"}},{selector:"body",styles:{dragging:"\n        cursor: grabbing;\n        cursor: -webkit-grabbing;\n        user-select: none;\n        -webkit-user-select: none;\n        -moz-user-select: none;\n        -ms-user-select: none;\n        overflow-anchor: none;\n      "}}];return{always:Gn(a,"always"),resting:Gn(a,"resting"),dragging:Gn(a,"dragging"),dropAnimating:Gn(a,"dropAnimating"),userCancel:Gn(a,"userCancel")}}(e)}),[e]),n=Object(l.useRef)(null),i=Object(l.useRef)(null),o=ue(De((function(e){var t=i.current;t||Se(!1),t.textContent=e})),[]),a=ue((function(e){var t=n.current;t||Se(!1),t.textContent=e}),[]);_n((function(){(n.current||i.current)&&Se(!1);var c=Fn(t),l=Fn(t);return n.current=c,i.current=l,c.setAttribute("data-rbd-always",e),l.setAttribute("data-rbd-dynamic",e),kn().appendChild(c),kn().appendChild(l),a(r.always),o(r.resting),function(){var e=function(e){var t=e.current;t||Se(!1),kn().removeChild(t),e.current=null};e(n),e(i)}}),[t,a,o,r.always,r.resting,e]);var c=ue((function(){return o(r.dragging)}),[o,r.dragging]),u=ue((function(e){o("DROP"!==e?r.userCancel:r.dropAnimating)}),[o,r.dropAnimating,r.userCancel]),s=ue((function(){i.current&&o(r.resting)}),[o,r.resting]);return le((function(){return{dragging:c,dropping:u,resting:s}}),[c,u,s])}var Un=function(e){return e&&e.ownerDocument?e.ownerDocument.defaultView:window};function Hn(e){return e instanceof Un(e).HTMLElement}function qn(e,t){var r="["+Tn.contextId+'="'+e+'"]',n=tt(document.querySelectorAll(r));if(!n.length)return null;var i=et(n,(function(e){return e.getAttribute(Tn.draggableId)===t}));return i&&Hn(i)?i:null}function Vn(){var e={draggables:{},droppables:{}},t=[];function r(e){t.length&&t.forEach((function(t){return t(e)}))}function n(t){return e.draggables[t]||null}function i(t){return e.droppables[t]||null}return{draggable:{register:function(t){e.draggables[t.descriptor.id]=t,r({type:"ADDITION",value:t})},update:function(t,r){var n=e.draggables[r.descriptor.id];n&&n.uniqueId===t.uniqueId&&(delete e.draggables[r.descriptor.id],e.draggables[t.descriptor.id]=t)},unregister:function(t){var i=t.descriptor.id,o=n(i);o&&t.uniqueId===o.uniqueId&&(delete e.draggables[i],r({type:"REMOVAL",value:t}))},getById:function(e){var t=n(e);return t||Se(!1),t},findById:n,exists:function(e){return Boolean(n(e))},getAllByType:function(t){return Qe(e.draggables).filter((function(e){return e.descriptor.type===t}))}},droppable:{register:function(t){e.droppables[t.descriptor.id]=t},unregister:function(t){var r=i(t.descriptor.id);r&&t.uniqueId===r.uniqueId&&delete e.droppables[t.descriptor.id]},getById:function(e){var t=i(e);return t||Se(!1),t},findById:i,exists:function(e){return Boolean(i(e))},getAllByType:function(t){return Qe(e.droppables).filter((function(e){return e.descriptor.type===t}))}},subscribe:function(e){return t.push(e),function(){var r=t.indexOf(e);-1!==r&&t.splice(r,1)}},clean:function(){e.draggables={},e.droppables={},t.length=0}}}var zn=u.a.createContext(null),$n=function(){var e=document.body;return e||Se(!1),e},Yn={position:"absolute",width:"1px",height:"1px",margin:"-1px",border:"0",padding:"0",overflow:"hidden",clip:"rect(0 0 0 0)","clip-path":"inset(100%)"};var Jn=0,Xn={separator:"::"};function Kn(e,t){return void 0===t&&(t=Xn),le((function(){return""+e+t.separator+Jn++}),[t.separator,e])}var Qn=u.a.createContext(null);function Zn(e){0}function ei(e,t){Zn()}function ti(){ei()}function ri(e){var t=Object(l.useRef)(e);return Object(l.useEffect)((function(){t.current=e})),t}var ni,ii=((ni={})[13]=!0,ni[9]=!0,ni),oi=function(e){ii[e.keyCode]&&e.preventDefault()},ai=function(){var e="visibilitychange";return"undefined"==typeof document?e:et([e,"ms"+e,"webkit"+e,"moz"+e,"o"+e],(function(e){return"on"+e in document}))||e}();var ci,li={type:"IDLE"};function ui(e){var t=e.cancel,r=e.completed,n=e.getPhase,i=e.setPhase;return[{eventName:"mousemove",fn:function(e){var t=e.button,r=e.clientX,o=e.clientY;if(0===t){var a={x:r,y:o},c=n();if("DRAGGING"===c.type)return e.preventDefault(),void c.actions.move(a);"PENDING"!==c.type&&Se(!1);var l=c.point;if(u=l,s=a,Math.abs(s.x-u.x)>=5||Math.abs(s.y-u.y)>=5){var u,s;e.preventDefault();var d=c.actions.fluidLift(a);i({type:"DRAGGING",actions:d})}}}},{eventName:"mouseup",fn:function(e){var i=n();"DRAGGING"===i.type?(e.preventDefault(),i.actions.drop({shouldBlockNextClick:!0}),r()):t()}},{eventName:"mousedown",fn:function(e){"DRAGGING"===n().type&&e.preventDefault(),t()}},{eventName:"keydown",fn:function(e){if("PENDING"!==n().type)return 27===e.keyCode?(e.preventDefault(),void t()):void oi(e);t()}},{eventName:"resize",fn:t},{eventName:"scroll",options:{passive:!0,capture:!1},fn:function(){"PENDING"===n().type&&t()}},{eventName:"webkitmouseforcedown",fn:function(e){var r=n();"IDLE"===r.type&&Se(!1),r.actions.shouldRespectForcePress()?t():e.preventDefault()}},{eventName:ai,fn:t}]}function si(){}var di=((ci={})[34]=!0,ci[33]=!0,ci[36]=!0,ci[35]=!0,ci);function pi(e,t){function r(){t(),e.cancel()}return[{eventName:"keydown",fn:function(n){return 27===n.keyCode?(n.preventDefault(),void r()):32===n.keyCode?(n.preventDefault(),t(),void e.drop()):40===n.keyCode?(n.preventDefault(),void e.moveDown()):38===n.keyCode?(n.preventDefault(),void e.moveUp()):39===n.keyCode?(n.preventDefault(),void e.moveRight()):37===n.keyCode?(n.preventDefault(),void e.moveLeft()):void(di[n.keyCode]?n.preventDefault():oi(n))}},{eventName:"mousedown",fn:r},{eventName:"mouseup",fn:r},{eventName:"click",fn:r},{eventName:"touchstart",fn:r},{eventName:"resize",fn:r},{eventName:"wheel",fn:r,options:{passive:!0}},{eventName:ai,fn:r}]}var fi={type:"IDLE"};var gi={input:!0,button:!0,textarea:!0,select:!0,option:!0,optgroup:!0,video:!0,audio:!0};function bi(e,t){var r=t.target;return!!Hn(r)&&function e(t,r){if(null==r)return!1;if(Boolean(gi[r.tagName.toLowerCase()]))return!0;var n=r.getAttribute("contenteditable");return"true"===n||""===n||r!==t&&e(t,r.parentElement)}(e,r)}var vi=function(e){return de(e.getBoundingClientRect()).center};var mi="undefined"==typeof document?"matches":et(["matches","msMatchesSelector","webkitMatchesSelector"],(function(e){return e in Element.prototype}))||"matches";function hi(e,t){return e.closest?e.closest(t):function e(t,r){return null==t?null:t[mi](r)?t:e(t.parentElement,r)}(e,t)}function yi(e,t){var r,n=t.target;if(!((r=n)instanceof Un(r).Element))return null;var i=hi(n,function(e){return"["+Tn.contextId+'="'+e+'"]'}(e));return i&&Hn(i)?i:null}function xi(e){e.preventDefault()}function Ii(e){var t=e.expected,r=e.phase,n=e.isLockActive;e.shouldWarn;return!!n()&&t===r}function Di(e){var t=e.lockAPI,r=e.store,n=e.registry,i=e.draggableId;if(t.isClaimed())return!1;var o=n.draggable.findById(i);return!!o&&(!!o.options.isEnabled&&!!un(r.getState(),i))}function wi(e){var t=e.lockAPI,r=e.contextId,n=e.store,i=e.registry,o=e.draggableId,a=e.forceSensorStop,c=e.sourceEvent;if(!Di({lockAPI:t,store:n,registry:i,draggableId:o}))return null;var l=i.draggable.getById(o),u=function(e,t){var r="["+jn.contextId+'="'+e+'"]',n=et(tt(document.querySelectorAll(r)),(function(e){return e.getAttribute(jn.id)===t}));return n&&Hn(n)?n:null}(r,l.descriptor.id);if(!u)return null;if(c&&!l.options.canDragInteractiveElements&&bi(u,c))return null;var s=t.claim(a||Ee),p="PRE_DRAG";function f(){return l.options.shouldRespectForcePress}function g(){return t.isActive(s)}var b=function(e,t){Ii({expected:e,phase:p,isLockActive:g,shouldWarn:!0})&&n.dispatch(t())}.bind(null,"DRAGGING");function v(e){function r(){t.release(),p="COMPLETED"}function i(t,i){if(void 0===i&&(i={shouldBlockNextClick:!1}),e.cleanup(),i.shouldBlockNextClick){var o=Ce(window,[{eventName:"click",fn:xi,options:{once:!0,passive:!1,capture:!0}}]);setTimeout(o)}r(),n.dispatch(Pr({reason:t}))}return"PRE_DRAG"!==p&&(r(),"PRE_DRAG"!==p&&Se(!1)),n.dispatch(function(e){return{type:"LIFT",payload:e}}(e.liftActionArgs)),p="DRAGGING",d({isActive:function(){return Ii({expected:"DRAGGING",phase:p,isLockActive:g,shouldWarn:!1})},shouldRespectForcePress:f,drop:function(e){return i("DROP",e)},cancel:function(e){return i("CANCEL",e)}},e.actions)}return{isActive:function(){return Ii({expected:"PRE_DRAG",phase:p,isLockActive:g,shouldWarn:!1})},shouldRespectForcePress:f,fluidLift:function(e){var t=we((function(e){b((function(){return Ir({client:e})}))}));return d({},v({liftActionArgs:{id:o,clientSelection:e,movementMode:"FLUID"},cleanup:function(){return t.cancel()},actions:{move:t}}),{move:t})},snapLift:function(){var e={moveUp:function(){return b(Dr)},moveRight:function(){return b(Or)},moveDown:function(){return b(wr)},moveLeft:function(){return b(Er)}};return v({liftActionArgs:{id:o,clientSelection:vi(u),movementMode:"SNAP"},cleanup:Ee,actions:e})},abort:function(){Ii({expected:"PRE_DRAG",phase:p,isLockActive:g,shouldWarn:!0})&&t.release()}}}var Oi=[function(e){var t=Object(l.useRef)(li),r=Object(l.useRef)(Ee),n=le((function(){return{eventName:"mousedown",fn:function(t){if(!t.defaultPrevented&&0===t.button&&!(t.ctrlKey||t.metaKey||t.shiftKey||t.altKey)){var n=e.findClosestDraggableId(t);if(n){var i=e.tryGetLock(n,a,{sourceEvent:t});if(i){t.preventDefault();var o={x:t.clientX,y:t.clientY};r.current(),s(i,o)}}}}}}),[e]),i=le((function(){return{eventName:"webkitmouseforcewillbegin",fn:function(t){if(!t.defaultPrevented){var r=e.findClosestDraggableId(t);if(r){var n=e.findOptionsForDraggable(r);n&&(n.shouldRespectForcePress||e.canGetLock(r)&&t.preventDefault())}}}}}),[e]),o=ue((function(){r.current=Ce(window,[i,n],{passive:!1,capture:!0})}),[i,n]),a=ue((function(){"IDLE"!==t.current.type&&(t.current=li,r.current(),o())}),[o]),c=ue((function(){var e=t.current;a(),"DRAGGING"===e.type&&e.actions.cancel({shouldBlockNextClick:!0}),"PENDING"===e.type&&e.actions.abort()}),[a]),u=ue((function(){var e=ui({cancel:c,completed:a,getPhase:function(){return t.current},setPhase:function(e){t.current=e}});r.current=Ce(window,e,{capture:!0,passive:!1})}),[c,a]),s=ue((function(e,r){"IDLE"!==t.current.type&&Se(!1),t.current={type:"PENDING",point:r,actions:e},u()}),[u]);_n((function(){return o(),function(){r.current()}}),[o])},function(e){var t=Object(l.useRef)(si),r=le((function(){return{eventName:"keydown",fn:function(r){if(!r.defaultPrevented&&32===r.keyCode){var i=e.findClosestDraggableId(r);if(i){var o=e.tryGetLock(i,l,{sourceEvent:r});if(o){r.preventDefault();var a=!0,c=o.snapLift();t.current(),t.current=Ce(window,pi(c,l),{capture:!0,passive:!1})}}}function l(){a||Se(!1),a=!1,t.current(),n()}}}}),[e]),n=ue((function(){t.current=Ce(window,[r],{passive:!1,capture:!0})}),[r]);_n((function(){return n(),function(){t.current()}}),[n])},function(e){var t=Object(l.useRef)(fi),r=Object(l.useRef)(Ee),n=ue((function(){return t.current}),[]),i=ue((function(e){t.current=e}),[]),o=le((function(){return{eventName:"touchstart",fn:function(t){if(!t.defaultPrevented){var n=e.findClosestDraggableId(t);if(n){var i=e.tryGetLock(n,c,{sourceEvent:t});if(i){var o=t.touches[0],a={x:o.clientX,y:o.clientY};r.current(),p(i,a)}}}}}}),[e]),a=ue((function(){r.current=Ce(window,[o],{capture:!0,passive:!1})}),[o]),c=ue((function(){var e=t.current;"IDLE"!==e.type&&("PENDING"===e.type&&clearTimeout(e.longPressTimerId),i(fi),r.current(),a())}),[a,i]),u=ue((function(){var e=t.current;c(),"DRAGGING"===e.type&&e.actions.cancel({shouldBlockNextClick:!0}),"PENDING"===e.type&&e.actions.abort()}),[c]),s=ue((function(){var e={capture:!0,passive:!1},t={cancel:u,completed:c,getPhase:n},i=Ce(window,function(e){var t=e.cancel,r=e.completed,n=e.getPhase;return[{eventName:"touchmove",options:{capture:!1},fn:function(e){var r=n();if("DRAGGING"===r.type){r.hasMoved=!0;var i=e.touches[0],o={x:i.clientX,y:i.clientY};e.preventDefault(),r.actions.move(o)}else t()}},{eventName:"touchend",fn:function(e){var i=n();"DRAGGING"===i.type?(e.preventDefault(),i.actions.drop({shouldBlockNextClick:!0}),r()):t()}},{eventName:"touchcancel",fn:function(e){"DRAGGING"===n().type?(e.preventDefault(),t()):t()}},{eventName:"touchforcechange",fn:function(e){var r=n();"IDLE"===r.type&&Se(!1);var i=e.touches[0];if(i&&i.force>=.15){var o=r.actions.shouldRespectForcePress();if("PENDING"!==r.type)return o?r.hasMoved?void e.preventDefault():void t():void e.preventDefault();o&&t()}}},{eventName:ai,fn:t}]}(t),e),o=Ce(window,function(e){var t=e.cancel,r=e.getPhase;return[{eventName:"orientationchange",fn:t},{eventName:"resize",fn:t},{eventName:"contextmenu",fn:function(e){e.preventDefault()}},{eventName:"keydown",fn:function(e){"DRAGGING"===r().type?(27===e.keyCode&&e.preventDefault(),t()):t()}},{eventName:ai,fn:t}]}(t),e);r.current=function(){i(),o()}}),[u,n,c]),d=ue((function(){var e=n();"PENDING"!==e.type&&Se(!1);var t=e.actions.fluidLift(e.point);i({type:"DRAGGING",actions:t,hasMoved:!1})}),[n,i]),p=ue((function(e,t){"IDLE"!==n().type&&Se(!1);var r=setTimeout(d,120);i({type:"PENDING",point:t,actions:e,longPressTimerId:r}),s()}),[s,n,i,d]);_n((function(){return a(),function(){r.current();var e=n();"PENDING"===e.type&&(clearTimeout(e.longPressTimerId),i(fi))}}),[n,a,i]),_n((function(){return Ce(window,[{eventName:"touchmove",fn:function(){},options:{capture:!1,passive:!1}}])}),[])}];function Ei(e){var t=e.contextId,r=e.store,n=e.registry,i=e.customSensors,o=e.enableDefaultSensors,a=[].concat(o?Oi:[],i||[]),c=Object(l.useState)((function(){return function(){var e=null;function t(){e||Se(!1),e=null}return{isClaimed:function(){return Boolean(e)},isActive:function(t){return t===e},claim:function(t){e&&Se(!1);var r={abandon:t};return e=r,r},release:t,tryAbandon:function(){e&&(e.abandon(),t())}}}()}))[0],u=ue((function(e,t){e.isDragging&&!t.isDragging&&c.tryAbandon()}),[c]);_n((function(){var e=r.getState();return r.subscribe((function(){var t=r.getState();u(e,t),e=t}))}),[c,r,u]),_n((function(){return c.tryAbandon}),[c.tryAbandon]);var s=ue((function(e){return Di({lockAPI:c,registry:n,store:r,draggableId:e})}),[c,n,r]),d=ue((function(e,i,o){return wi({lockAPI:c,registry:n,contextId:t,store:r,draggableId:e,forceSensorStop:i,sourceEvent:o&&o.sourceEvent?o.sourceEvent:null})}),[t,c,n,r]),p=ue((function(e){return function(e,t){var r=yi(e,t);return r?r.getAttribute(Tn.draggableId):null}(t,e)}),[t]),f=ue((function(e){var t=n.draggable.findById(e);return t?t.options:null}),[n.draggable]),g=ue((function(){c.isClaimed()&&(c.tryAbandon(),"IDLE"!==r.getState().phase&&r.dispatch({type:"FLUSH",payload:null}))}),[c,r]),b=ue(c.isClaimed,[c]),v=le((function(){return{canGetLock:s,tryGetLock:d,findClosestDraggableId:p,findOptionsForDraggable:f,tryReleaseLock:g,isLockClaimed:b}}),[s,d,p,f,g,b]);Zn();for(var m=0;m<a.length;m++)a[m](v)}function Ci(e){return e.current||Se(!1),e.current}function Pi(e){var t=e.contextId,r=e.setCallbacks,n=e.sensors,i=e.nonce,o=e.dragHandleUsageInstructions,a=Object(l.useRef)(null);ti();var c=ri(e),s=ue((function(){return function(e){return{onBeforeCapture:e.onBeforeCapture,onBeforeDragStart:e.onBeforeDragStart,onDragStart:e.onDragStart,onDragEnd:e.onDragEnd,onDragUpdate:e.onDragUpdate}}(c.current)}),[c]),p=function(e){var t=le((function(){return function(e){return"rbd-announcement-"+e}(e)}),[e]),r=Object(l.useRef)(null);return Object(l.useEffect)((function(){var e=document.createElement("div");return r.current=e,e.id=t,e.setAttribute("aria-live","assertive"),e.setAttribute("aria-atomic","true"),d(e.style,Yn),$n().appendChild(e),function(){setTimeout((function(){var t=$n();t.contains(e)&&t.removeChild(e),e===r.current&&(r.current=null)}))}}),[t]),ue((function(e){var t=r.current;t&&(t.textContent=e)}),[])}(t),f=function(e){var t=e.contextId,r=e.text,n=Kn("hidden-text",{separator:"-"}),i=le((function(){return"rbd-hidden-text-"+(e={contextId:t,uniqueId:n}).contextId+"-"+e.uniqueId;var e}),[n,t]);return Object(l.useEffect)((function(){var e=document.createElement("div");return e.id=i,e.textContent=r,e.style.display="none",$n().appendChild(e),function(){var t=$n();t.contains(e)&&t.removeChild(e)}}),[i,r]),i}({contextId:t,text:o}),g=Wn(t,i),b=ue((function(e){Ci(a).dispatch(e)}),[]),v=le((function(){return h({publishWhileDragging:vr,updateDroppableScroll:hr,updateDroppableIsEnabled:yr,updateDroppableIsCombineEnabled:xr,collectionStarting:mr},b)}),[b]),m=function(){var e=le(Vn,[]);return Object(l.useEffect)((function(){return function(){requestAnimationFrame(e.clean)}}),[e]),e}(),y=le((function(){return ln(m,v)}),[m,v]),x=le((function(){return Bn(d({scrollWindow:sn,scrollDroppable:y.scrollDroppable},h({move:Ir},b)))}),[y.scrollDroppable,b]),I=function(e){var t=Object(l.useRef)({}),r=Object(l.useRef)(null),n=Object(l.useRef)(null),i=Object(l.useRef)(!1),o=ue((function(e,r){var n={id:e,focus:r};return t.current[e]=n,function(){var r=t.current;r[e]!==n&&delete r[e]}}),[]),a=ue((function(t){var r=qn(e,t);r&&r!==document.activeElement&&r.focus()}),[e]),c=ue((function(e,t){r.current===e&&(r.current=t)}),[]),u=ue((function(){n.current||i.current&&(n.current=requestAnimationFrame((function(){n.current=null;var e=r.current;e&&a(e)})))}),[a]),s=ue((function(e){r.current=null;var t=document.activeElement;t&&t.getAttribute(Tn.draggableId)===e&&(r.current=e)}),[]);return _n((function(){return i.current=!0,function(){i.current=!1;var e=n.current;e&&cancelAnimationFrame(e)}}),[]),le((function(){return{register:o,tryRecordFocus:s,tryRestoreFocusRecorded:u,tryShiftRecord:c}}),[o,s,u,c])}(t),D=le((function(){return Zr({announce:p,autoScroller:x,dimensionMarshal:y,focusMarshal:I,getResponders:s,styleMarshal:g})}),[p,x,y,I,s,g]);a.current=D;var w=ue((function(){var e=Ci(a);"IDLE"!==e.getState().phase&&e.dispatch({type:"FLUSH",payload:null})}),[]),O=ue((function(){var e=Ci(a).getState();return e.isDragging||"DROP_ANIMATING"===e.phase}),[]);r(le((function(){return{isDragging:O,tryAbort:w}}),[O,w]));var E=ue((function(e){return un(Ci(a).getState(),e)}),[]),C=ue((function(){return Jt(Ci(a).getState())}),[]),P=le((function(){return{marshal:y,focus:I,contextId:t,canLift:E,isMovementAllowed:C,dragHandleUsageInstructionsId:f,registry:m}}),[t,y,f,I,E,C,m]);return Ei({contextId:t,store:D,registry:m,customSensors:n,enableDefaultSensors:!1!==e.enableDefaultSensors}),Object(l.useEffect)((function(){return w}),[w]),u.a.createElement(Qn.Provider,{value:P},u.a.createElement(S,{context:zn,store:D},e.children))}var Si=0;function Ai(e){var t=le((function(){return""+Si++}),[]),r=e.dragHandleUsageInstructions||je;return u.a.createElement(Ae,null,(function(n){return u.a.createElement(Pi,{nonce:e.nonce,contextId:t,setCallbacks:n,dragHandleUsageInstructions:r,enableDefaultSensors:e.enableDefaultSensors,sensors:e.sensors,onBeforeCapture:e.onBeforeCapture,onBeforeDragStart:e.onBeforeDragStart,onDragStart:e.onDragStart,onDragUpdate:e.onDragUpdate,onDragEnd:e.onDragEnd},e.children)}))}var Ni=function(e){return function(t){return e===t}},Ri=Ni("scroll"),Bi=Ni("auto"),Ti=(Ni("visible"),function(e,t){return t(e.overflowX)||t(e.overflowY)}),ji=function(e){var t=window.getComputedStyle(e),r={overflowX:t.overflowX,overflowY:t.overflowY};return Ti(r,Ri)||Ti(r,Bi)},Li=function e(t){return null==t||t===document.body||t===document.documentElement?null:ji(t)?t:e(t.parentElement)},Mi=function(e){return{x:e.scrollLeft,y:e.scrollTop}},Gi=function(e){return{closestScrollable:Li(e),isFixedOnPage:function e(t){return!!t&&("fixed"===window.getComputedStyle(t).position||e(t.parentElement))}(e)}},_i=function(e){var t=e.ref,r=e.descriptor,n=e.env,i=e.windowScroll,o=e.direction,a=e.isDropDisabled,c=e.isCombineEnabled,l=e.shouldClipSubject,u=n.closestScrollable,s=function(e,t){var r=xe(e);if(!t)return r;if(e!==t)return r;var n=r.paddingBox.top-t.scrollTop,i=r.paddingBox.left-t.scrollLeft,o=n+t.scrollHeight,a=i+t.scrollWidth,c=pe({top:n,right:a,bottom:o,left:i},r.border);return be({borderBox:c,margin:r.margin,border:r.border,padding:r.padding})}(t,u),d=he(s,i),p=function(){if(!u)return null;var e=xe(u),t={scrollHeight:u.scrollHeight,scrollWidth:u.scrollWidth};return{client:e,page:he(e,i),scroll:Mi(u),scrollSize:t,shouldClipSubject:l}}();return function(e){var t=e.descriptor,r=e.isEnabled,n=e.isCombineEnabled,i=e.isFixedOnPage,o=e.direction,a=e.client,c=e.page,l=e.closest,u=function(){if(!l)return null;var e=l.scrollSize,t=l.client,r=en({scrollHeight:e.scrollHeight,scrollWidth:e.scrollWidth,height:t.paddingBox.height,width:t.paddingBox.width});return{pageMarginBox:l.page.marginBox,frameClient:t,scrollSize:e,shouldClipSubject:l.shouldClipSubject,scroll:{initial:l.scroll,current:l.scroll,max:r,diff:{value:_e,displacement:_e}}}}(),s="vertical"===o?mt:ht;return{descriptor:t,isCombineEnabled:n,isFixedOnPage:i,axis:s,isEnabled:r,client:a,page:c,frame:u,subject:Xe({page:c,withPlaceholder:null,axis:s,frame:u})}}({descriptor:r,isEnabled:!a,isCombineEnabled:c,isFixedOnPage:n.isFixedOnPage,direction:o,client:s,page:d,closest:p})},ki={passive:!1},Fi={passive:!0},Wi=function(e){return e.shouldPublishImmediately?ki:Fi};function Ui(e){var t=Object(l.useContext)(e);return t||Se(!1),t}var Hi=function(e){return e&&e.env.closestScrollable||null};function qi(){}var Vi={width:0,height:0,margin:{top:0,right:0,bottom:0,left:0}},zi=function(e){var t=e.isAnimatingOpenOnMount,r=e.placeholder,n=e.animate,i=function(e){var t=e.isAnimatingOpenOnMount,r=e.placeholder,n=e.animate;return t||"close"===n?Vi:{height:r.client.borderBox.height,width:r.client.borderBox.width,margin:r.client.margin}}({isAnimatingOpenOnMount:t,placeholder:r,animate:n});return{display:r.display,boxSizing:"border-box",width:i.width,height:i.height,marginTop:i.margin.top,marginRight:i.margin.right,marginBottom:i.margin.bottom,marginLeft:i.margin.left,flexShrink:"0",flexGrow:"0",pointerEvents:"none",transition:"none"!==n?Tr.placeholder:null}};var $i=u.a.memo((function(e){var t=Object(l.useRef)(null),r=ue((function(){t.current&&(clearTimeout(t.current),t.current=null)}),[]),n=e.animate,i=e.onTransitionEnd,o=e.onClose,a=e.contextId,c=Object(l.useState)("open"===e.animate),s=c[0],d=c[1];Object(l.useEffect)((function(){return s?"open"!==n?(r(),d(!1),qi):t.current?qi:(t.current=setTimeout((function(){t.current=null,d(!1)})),r):qi}),[n,s,r]);var p=ue((function(e){"height"===e.propertyName&&(i(),"close"===n&&o())}),[n,o,i]),f=zi({isAnimatingOpenOnMount:s,animate:e.animate,placeholder:e.placeholder});return u.a.createElement(e.placeholder.tagName,{style:f,"data-rbd-placeholder-context-id":a,onTransitionEnd:p,ref:e.innerRef})})),Yi=u.a.createContext(null);var Ji=function(e){function t(){for(var t,r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];return(t=e.call.apply(e,[this].concat(n))||this).state={isVisible:Boolean(t.props.on),data:t.props.on,animate:t.props.shouldAnimate&&t.props.on?"open":"none"},t.onClose=function(){"close"===t.state.animate&&t.setState({isVisible:!1})},t}return s(t,e),t.getDerivedStateFromProps=function(e,t){return e.shouldAnimate?e.on?{isVisible:!0,data:e.on,animate:"open"}:t.isVisible?{isVisible:!0,data:t.data,animate:"close"}:{isVisible:!1,animate:"close",data:null}:{isVisible:Boolean(e.on),data:e.on,animate:"none"}},t.prototype.render=function(){if(!this.state.isVisible)return null;var e={onClose:this.onClose,data:this.state.data,animate:this.state.animate};return this.props.children(e)},t}(u.a.PureComponent),Xi=5e3,Ki=4500,Qi=function(e,t){return t?Tr.drop(t.duration):e?Tr.snap:Tr.fluid},Zi=function(e,t){return e?t?Nr.drop:Nr.combining:null};function eo(e){return"DRAGGING"===e.type?(n=(r=e).dimension.client,i=r.offset,o=r.combineWith,a=r.dropping,c=Boolean(o),l=function(e){return null!=e.forceShouldAnimate?e.forceShouldAnimate:"SNAP"===e.mode}(r),u=Boolean(a),s=u?Mr(i,c):Lr(i),{position:"fixed",top:n.marginBox.top,left:n.marginBox.left,boxSizing:"border-box",width:n.borderBox.width,height:n.borderBox.height,transition:Qi(l,a),transform:s,opacity:Zi(c,u),zIndex:u?Ki:Xi,pointerEvents:"none"}):{transform:Lr((t=e).offset),transition:t.shouldAnimateDisplacement?null:"none"};var t,r,n,i,o,a,c,l,u,s}function to(e){var t=Kn("draggable"),r=e.descriptor,n=e.registry,i=e.getDraggableRef,o=e.canDragInteractiveElements,a=e.shouldRespectForcePress,c=e.isEnabled,u=le((function(){return{canDragInteractiveElements:o,shouldRespectForcePress:a,isEnabled:c}}),[o,c,a]),s=ue((function(e){var t=i();return t||Se(!1),function(e,t,r){void 0===r&&(r=_e);var n=window.getComputedStyle(t),i=t.getBoundingClientRect(),o=ye(i,n),a=he(o,r);return{descriptor:e,placeholder:{client:o,tagName:t.tagName.toLowerCase(),display:n.display},displaceBy:{x:o.marginBox.width,y:o.marginBox.height},client:o,page:a}}(r,t,e)}),[r,i]),d=le((function(){return{uniqueId:t,descriptor:r,options:u,getDimension:s}}),[r,s,u,t]),p=Object(l.useRef)(d),f=Object(l.useRef)(!0);_n((function(){return n.draggable.register(p.current),function(){return n.draggable.unregister(p.current)}}),[n.draggable]),_n((function(){if(f.current)f.current=!1;else{var e=p.current;p.current=d,n.draggable.update(d,e)}}),[d,n.draggable])}function ro(e,t,r){ei()}function no(e){e.preventDefault()}var io=function(e,t){return e===t},oo=function(e){var t=e.combine,r=e.destination;return r?r.droppableId:t?t.droppableId:null};function ao(e){return{isDragging:!1,isDropAnimating:!1,isClone:!1,dropAnimation:null,mode:null,draggingOver:null,combineTargetFor:e,combineWith:null}}var co={mapped:{type:"SECONDARY",offset:_e,combineTargetFor:null,shouldAnimateDisplacement:!0,snapshot:ao(null)}};var lo=ne((function(){var e,t,r,n=(e=De((function(e,t){return{x:e,y:t}})),t=De((function(e,t,r,n,i){return{isDragging:!0,isClone:t,isDropAnimating:Boolean(i),dropAnimation:i,mode:e,draggingOver:r,combineWith:n,combineTargetFor:null}})),r=De((function(e,r,n,i,o,a,c){return{mapped:{type:"DRAGGING",dropping:null,draggingOver:o,combineWith:a,mode:r,offset:e,dimension:n,forceShouldAnimate:c,snapshot:t(r,i,o,a,null)}}})),function(n,i){if(n.isDragging){if(n.critical.draggable.id!==i.draggableId)return null;var o=n.current.client.offset,a=n.dimensions.draggables[i.draggableId],c=$t(n.impact),l=(s=n.impact).at&&"COMBINE"===s.at.type?s.at.combine.draggableId:null,u=n.forceShouldAnimate;return r(e(o.x,o.y),n.movementMode,a,i.isClone,c,l,u)}var s;if("DROP_ANIMATING"===n.phase){var d=n.completed;if(d.result.draggableId!==i.draggableId)return null;var p=i.isClone,f=n.dimensions.draggables[i.draggableId],g=d.result,b=g.mode,v=oo(g),m=function(e){return e.combine?e.combine.draggableId:null}(g),h={duration:n.dropDuration,curve:Ar,moveTo:n.newHomeClientOffset,opacity:m?Nr.drop:null,scale:m?Rr.drop:null};return{mapped:{type:"DRAGGING",offset:n.newHomeClientOffset,dimension:f,dropping:h,draggingOver:v,combineWith:m,mode:b,forceShouldAnimate:null,snapshot:t(b,p,v,m,h)}}}return null}),i=function(){var e=De((function(e,t){return{x:e,y:t}})),t=De(ao),r=De((function(e,r,n){return void 0===r&&(r=null),{mapped:{type:"SECONDARY",offset:e,combineTargetFor:r,shouldAnimateDisplacement:n,snapshot:t(r)}}})),n=function(e){return e?r(_e,e,!0):null},i=function(t,i,o,a){var c=o.displaced.visible[t],l=Boolean(a.inVirtualList&&a.effected[t]),u=lt(o),s=u&&u.draggableId===t?i:null;if(!c){if(!l)return n(s);if(o.displaced.invisible[t])return null;var d=Ue(a.displacedBy.point),p=e(d.x,d.y);return r(p,s,!0)}if(l)return n(s);var f=o.displacedBy.point,g=e(f.x,f.y);return r(g,s,c.shouldAnimate)};return function(e,t){if(e.isDragging)return e.critical.draggable.id===t.draggableId?null:i(t.draggableId,e.critical.draggable.id,e.impact,e.afterCritical);if("DROP_ANIMATING"===e.phase){var r=e.completed;return r.result.draggableId===t.draggableId?null:i(t.draggableId,r.result.draggableId,r.impact,r.afterCritical)}return null}}();return function(e,t){return n(e,t)||i(e,t)||co}}),{dropAnimationFinished:Sr},null,{context:zn,pure:!0,areStatePropsEqual:io})((function(e){var t=Object(l.useRef)(null),r=ue((function(e){t.current=e}),[]),n=ue((function(){return t.current}),[]),i=Ui(Qn),o=i.contextId,a=i.dragHandleUsageInstructionsId,c=i.registry,u=Ui(Yi),s=u.type,d=u.droppableId,p=le((function(){return{id:e.draggableId,index:e.index,type:s,droppableId:d}}),[e.draggableId,e.index,s,d]),f=e.children,g=e.draggableId,b=e.isEnabled,v=e.shouldRespectForcePress,m=e.canDragInteractiveElements,h=e.isClone,y=e.mapped,x=e.dropAnimationFinished;ro(),Zn(),h||to(le((function(){return{descriptor:p,registry:c,getDraggableRef:n,canDragInteractiveElements:m,shouldRespectForcePress:v,isEnabled:b}}),[p,c,n,m,v,b]));var I=le((function(){return b?{tabIndex:0,role:"button","aria-describedby":a,"data-rbd-drag-handle-draggable-id":g,"data-rbd-drag-handle-context-id":o,draggable:!1,onDragStart:no}:null}),[o,a,g,b]),D=ue((function(e){"DRAGGING"===y.type&&y.dropping&&"transform"===e.propertyName&&x()}),[x,y]),w=le((function(){var e=eo(y),t="DRAGGING"===y.type&&y.dropping?D:null;return{innerRef:r,draggableProps:{"data-rbd-draggable-context-id":o,"data-rbd-draggable-id":g,style:e,onTransitionEnd:t},dragHandleProps:I}}),[o,I,g,y,D,r]),O=le((function(){return{draggableId:p.id,type:p.type,source:{index:p.index,droppableId:p.droppableId}}}),[p.droppableId,p.id,p.index,p.type]);return f(w,y.snapshot,O)}));function uo(e){return Ui(Yi).isUsingCloneFor!==e.draggableId||e.isClone?u.a.createElement(lo,e):null}function so(e){var t="boolean"!=typeof e.isDragDisabled||!e.isDragDisabled,r=Boolean(e.disableInteractiveElementBlocking),n=Boolean(e.shouldRespectForcePress);return u.a.createElement(uo,d({},e,{isClone:!1,isEnabled:t,canDragInteractiveElements:r,shouldRespectForcePress:n}))}var po=function(e,t){return e===t.droppable.type},fo=function(e,t){return t.draggables[e.draggable.id]};var go={mode:"standard",type:"DEFAULT",direction:"vertical",isDropDisabled:!1,isCombineEnabled:!1,ignoreContainerClipping:!1,renderClone:null,getContainerForClone:function(){return document.body||Se(!1),document.body}},bo=ne((function(){var e={placeholder:null,shouldAnimatePlaceholder:!0,snapshot:{isDraggingOver:!1,draggingOverWith:null,draggingFromThisWith:null,isUsingPlaceholder:!1},useClone:null},t=d({},e,{shouldAnimatePlaceholder:!1}),r=De((function(e){return{draggableId:e.id,type:e.type,source:{index:e.index,droppableId:e.droppableId}}})),n=De((function(n,i,o,a,c,l){var u=c.descriptor.id;if(c.descriptor.droppableId===n){var s=l?{render:l,dragging:r(c.descriptor)}:null,d={isDraggingOver:o,draggingOverWith:o?u:null,draggingFromThisWith:u,isUsingPlaceholder:!0};return{placeholder:c.placeholder,shouldAnimatePlaceholder:!1,snapshot:d,useClone:s}}if(!i)return t;if(!a)return e;var p={isDraggingOver:o,draggingOverWith:u,draggingFromThisWith:null,isUsingPlaceholder:!0};return{placeholder:c.placeholder,shouldAnimatePlaceholder:!0,snapshot:p,useClone:null}}));return function(r,i){var o=i.droppableId,a=i.type,c=!i.isDropDisabled,l=i.renderClone;if(r.isDragging){var u=r.critical;if(!po(a,u))return t;var s=fo(u,r.dimensions),d=$t(r.impact)===o;return n(o,c,d,d,s,l)}if("DROP_ANIMATING"===r.phase){var p=r.completed;if(!po(a,p.critical))return t;var f=fo(p.critical,r.dimensions);return n(o,c,oo(p.result)===o,$t(p.impact)===o,f,l)}if("IDLE"===r.phase&&r.completed&&!r.shouldFlush){var g=r.completed;if(!po(a,g.critical))return t;var b=$t(g.impact)===o,v=Boolean(g.impact.at&&"COMBINE"===g.impact.at.type),m=g.critical.droppable.id===o;return b?v?e:t:m?e:t}return t}}),{updateViewportMaxScroll:function(e){return{type:"UPDATE_VIEWPORT_MAX_SCROLL",payload:e}}},null,{context:zn,pure:!0,areStatePropsEqual:io})((function(e){var t=Object(l.useContext)(Qn);t||Se(!1);var r=t.contextId,n=t.isMovementAllowed,i=Object(l.useRef)(null),o=Object(l.useRef)(null),a=e.children,c=e.droppableId,s=e.type,d=e.mode,p=e.direction,f=e.ignoreContainerClipping,g=e.isDropDisabled,b=e.isCombineEnabled,v=e.snapshot,m=e.useClone,h=e.updateViewportMaxScroll,y=e.getContainerForClone,x=ue((function(){return i.current}),[]),I=ue((function(e){i.current=e}),[]),D=(ue((function(){return o.current}),[]),ue((function(e){o.current=e}),[]));ei();var w=ue((function(){n()&&h({maxScroll:rn()})}),[n,h]);!function(e){var t=Object(l.useRef)(null),r=Ui(Qn),n=Kn("droppable"),i=r.registry,o=r.marshal,a=ri(e),c=le((function(){return{id:e.droppableId,type:e.type,mode:e.mode}}),[e.droppableId,e.mode,e.type]),u=Object(l.useRef)(c),s=le((function(){return De((function(e,r){t.current||Se(!1);var n={x:e,y:r};o.updateDroppableScroll(c.id,n)}))}),[c.id,o]),d=ue((function(){var e=t.current;return e&&e.env.closestScrollable?Mi(e.env.closestScrollable):_e}),[]),p=ue((function(){var e=d();s(e.x,e.y)}),[d,s]),f=le((function(){return we(p)}),[p]),g=ue((function(){var e=t.current,r=Hi(e);e&&r||Se(!1),e.scrollOptions.shouldPublishImmediately?p():f()}),[f,p]),b=ue((function(e,n){t.current&&Se(!1);var i=a.current,o=i.getDroppableRef();o||Se(!1);var l=Gi(o),u={ref:o,descriptor:c,env:l,scrollOptions:n};t.current=u;var s=_i({ref:o,descriptor:c,env:l,windowScroll:e,direction:i.direction,isDropDisabled:i.isDropDisabled,isCombineEnabled:i.isCombineEnabled,shouldClipSubject:!i.ignoreContainerClipping}),d=l.closestScrollable;return d&&(d.setAttribute(Mn.contextId,r.contextId),d.addEventListener("scroll",g,Wi(u.scrollOptions))),s}),[r.contextId,c,g,a]),v=ue((function(){var e=t.current,r=Hi(e);return e&&r||Se(!1),Mi(r)}),[]),m=ue((function(){var e=t.current;e||Se(!1);var r=Hi(e);t.current=null,r&&(f.cancel(),r.removeAttribute(Mn.contextId),r.removeEventListener("scroll",g,Wi(e.scrollOptions)))}),[g,f]),h=ue((function(e){var r=t.current;r||Se(!1);var n=Hi(r);n||Se(!1),n.scrollTop+=e.y,n.scrollLeft+=e.x}),[]),y=le((function(){return{getDimensionAndWatchScroll:b,getScrollWhileDragging:v,dragStopped:m,scroll:h}}),[m,b,v,h]),x=le((function(){return{uniqueId:n,descriptor:c,callbacks:y}}),[y,c,n]);_n((function(){return u.current=x.descriptor,i.droppable.register(x),function(){t.current&&m(),i.droppable.unregister(x)}}),[y,c,m,x,o,i.droppable]),_n((function(){t.current&&o.updateDroppableIsEnabled(u.current.id,!e.isDropDisabled)}),[e.isDropDisabled,o]),_n((function(){t.current&&o.updateDroppableIsCombineEnabled(u.current.id,e.isCombineEnabled)}),[e.isCombineEnabled,o])}({droppableId:c,type:s,mode:d,direction:p,isDropDisabled:g,isCombineEnabled:b,ignoreContainerClipping:f,getDroppableRef:x});var O=u.a.createElement(Ji,{on:e.placeholder,shouldAnimate:e.shouldAnimatePlaceholder},(function(e){var t=e.onClose,n=e.data,i=e.animate;return u.a.createElement($i,{placeholder:n,onClose:t,innerRef:D,animate:i,contextId:r,onTransitionEnd:w})})),E=le((function(){return{innerRef:I,placeholder:O,droppableProps:{"data-rbd-droppable-id":c,"data-rbd-droppable-context-id":r}}}),[r,c,O,I]),C=m?m.dragging.draggableId:null,P=le((function(){return{droppableId:c,type:s,isUsingCloneFor:C}}),[c,C,s]);return u.a.createElement(Yi.Provider,{value:P},a(E,v),function(){if(!m)return null;var e=m.dragging,t=m.render,r=u.a.createElement(uo,{draggableId:e.draggableId,index:e.source.index,isClone:!0,isEnabled:!0,shouldRespectForcePress:!1,canDragInteractiveElements:!0},(function(r,n){return t(r,n,e)}));return ae.a.createPortal(r,y())}())}));bo.defaultProps=go;var vo=r(5),mo=r(18),ho=r(13),yo=r(3),xo=r(10),Io=r(2),Do=r(19);r(30);function wo(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}var Oo=Object(Io.dispatch)("core/block-editor"),Eo=Oo.clearSelectedBlock,Co=Oo.duplicateBlocks,Po=Oo.moveBlockToPosition,So=Oo.removeBlock,Ao=Oo.selectBlock,No=Object(Io.select)("core/block-editor").getBlockRootClientId,Ro=function(e,t){var r;return function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?wo(Object(r),!0).forEach((function(t){a()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):wo(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}((r={userSelect:"none",padding:6,margin:"0 0 ".concat(6,"px 0"),borderRadius:2,border:e?"1px solid #007cba":"1px solid rgba(30,30,30, .3)",background:e?"#007cba":"#fff"},a()(r,"background","#fff"),a()(r,"color",e?"#007cba":""),r),t)},Bo=Object(Do.compose)([Object(Io.withSelect)((function(e,t){return{rootBlocks:(0,e("core/block-editor").getBlocks)()}}))])((function(e){var t=e.rootBlocks.map((function(e){return e.id="".concat(e.clientId),e}));return Object(c.createElement)(mo.PluginDocumentSettingPanel,{name:"custom-panel",title:Object(vo.__)("Drag & Drop","movable"),text:"text",className:"custom-panel"},Object(c.createElement)(xo.BaseControl,{label:Object(vo.__)("Drag, Drop, Duplicate, Delete, Select & Insert blocks from the sidebar.","movable")}),Object(c.createElement)(Ai,{onDragEnd:function(e){var t=e.draggableId,r=No(t);e.destination&&Po(t,r,"",e.destination.index)}},Object(c.createElement)(bo,{droppableId:"droppable"},(function(e,r){return Object(c.createElement)("div",i()({},e.droppableProps,{ref:e.innerRef,style:(n=r.isDraggingOver,o={background:n?"lightblue":"#fff"},a()(o,"background","#fff"),a()(o,"padding",0),a()(o,"paddingBottom",1),a()(o,"width",250),o)}),t.map((function(e,t){var r=Object(yo.getBlockType)(e.name);return Object(c.createElement)(so,{key:e.id,draggableId:e.id,index:t},(function(t,n){return Object(c.createElement)("div",i()({onClick:function(){Ao(e.id)},onMouseOver:function(){document.querySelector("#block-".concat(e.id)).classList.add("hover:movable")},onMouseOut:function(){document.querySelector("#block-".concat(e.id)).classList.remove("hover:movable")},ref:t.innerRef},t.draggableProps,t.dragHandleProps,{style:Ro(n.isDragging,t.draggableProps.style)}),Object(c.createElement)("div",{className:"movable"},Object(c.createElement)("div",{className:"flex justify-between"},Object(c.createElement)("div",{className:"w-3/4 items-center flex"},Object(c.createElement)(ho.BlockIcon,{icon:r.icon,showColors:!0}),Object(c.createElement)("p",{className:"mb-0 ml-1"},Object(yo.__experimentalGetBlockLabel)(r,e.attributes))),Object(c.createElement)("div",{className:"flex justify-end"},Object(c.createElement)(xo.Button,{label:Object(vo.__)("Duplicate","movable"),onClick:function(t){t.stopPropagation(),Co([e.id]),Eo()},className:"invisible hover:opacity-100",icon:"admin-page"}),Object(c.createElement)(xo.Button,{label:Object(vo.__)("Delete","movable"),onClick:function(t){t.stopPropagation(),So(e.id),Eo()},className:"invisible hover:opacity-100",icon:"no-alt"})))))}))})),e.placeholder);var n,o}))),Object(c.createElement)("div",{className:"movable"},Object(c.createElement)("div",{className:"text-center"},Object(c.createElement)(ho.Inserter,{__experimentalSelectBlockOnInsert:!1}))))})),To="movable",jo={icon:"",render:Bo}},function(e,t){}]);
  • movable/trunk/build/tailwind.css

    r2286614 r2356396  
    6363  transform: translateX(var(--transform-translate-x)) translateY(var(--transform-translate-y)) rotate(var(--transform-rotate)) skewX(var(--transform-skew-x)) skewY(var(--transform-skew-y)) scaleX(var(--transform-scale-x)) scaleY(var(--transform-scale-y))
    6464}
     65
     66@-webkit-keyframes spin {
     67  from {
     68    transform: rotate(0deg)
     69  }
     70
     71  to {
     72    transform: rotate(360deg)
     73  }
     74}
     75
     76@keyframes spin {
     77  from {
     78    transform: rotate(0deg)
     79  }
     80
     81  to {
     82    transform: rotate(360deg)
     83  }
     84}
     85
     86@keyframes ping {
     87  0% {
     88    transform: scale(1);
     89    opacity: 1
     90  }
     91
     92  75%, 100% {
     93    transform: scale(2);
     94    opacity: 0
     95  }
     96}
     97
     98@keyframes pulse {
     99  0%, 100% {
     100    opacity: 1
     101  }
     102
     103  50% {
     104    opacity: .5
     105  }
     106}
     107
     108@keyframes bounce {
     109  0%, 100% {
     110    transform: translateY(-25%);
     111    -webkit-animation-timing-function: cubic-bezier(0.8,0,1,1);
     112            animation-timing-function: cubic-bezier(0.8,0,1,1)
     113  }
     114
     115  50% {
     116    transform: translateY(0);
     117    -webkit-animation-timing-function: cubic-bezier(0,0,0.2,1);
     118            animation-timing-function: cubic-bezier(0,0,0.2,1)
     119  }
     120}
  • movable/trunk/class-plugin.php

    r2286609 r2356396  
    44 * Plugin URI: https://blockhandbook.com/plugins/movable
    55 * Description: Drag, Drop, Duplicate, Delete, Select & Insert blocks from the block editor sidebar.
    6  * Author: Block Handbook
     6 * Author: BlockHandbook
    77 * Author URI: https://blockhandbook.com
    88 * Text Domain: movable
     
    1010 * License: GPLv2 or later
    1111 * License URI: https://www.gnu.org/licenses/gpl-2.0.html
    12  * Tested up to: 5.4
    13  * Version: 1.0.0
     12 * Tested up to: 5.5
     13 * Version: 1.0.1
    1414 * Requires at least: 5.0
    1515 * Requires PHP: 5.6
     
    2020namespace Movable;
    2121
     22use \Movable\Load_Translations as Load_Translations;
    2223use \Movable\Plugin as Plugin;
    2324use \Movable\Register_Blocks as Register_Blocks;
    24 use \Movable\Load_Translations as Load_Translations;
    2525
    2626// Stop the hackers if accessed directly.
    27 if ( ! defined( 'ABSPATH' ) ) {
    28     exit;
     27if (!defined('ABSPATH')) {
     28    exit;
    2929}
    3030
    31 if ( ! class_exists( 'Plugin' ) ) :
    32     /**
    33      * Plugin Class.
    34      *
    35      * @since 1.0.0
    36      */
    37     class Plugin {
     31if (!class_exists('Plugin')):
     32    /**
     33     * Plugin Class.
     34     *
     35     * @since 1.0.0
     36     */
     37    class Plugin
     38{
    3839
    39         /**
    40         * Class instance.
    41         *
    42         * @var Plugin
    43         */
    44         private static $instance = null;
     40        /**
     41        * Class instance.
     42        *
     43        * @var Plugin
     44        */
     45        private static $instance = null;
    4546
    46         /**
    47         * Plugin Path.
    48         *
    49         * @var string
    50         */
    51         public $plugin_dir_path;
     47        /**
     48        * Plugin Path.
     49        *
     50        * @var string
     51        */
     52        public $plugin_dir_path;
    5253
    53         /**
    54         * Plugin URL.
    55         *
    56         * @var string
    57         */
    58         public $plugin_dir_url;
     54        /**
     55        * Plugin URL.
     56        *
     57        * @var string
     58        */
     59        public $plugin_dir_url;
    5960
    60         /**
    61         * Plugin Slug.
    62         *
    63         * @var string
    64         */
    65         public $slug;
     61        /**
     62        * Plugin Slug.
     63        *
     64        * @var string
     65        */
     66        public $slug;
    6667
    67         /**
    68         * Plugin text-domain.
    69         *
    70         * @var string
    71         */
    72         public $text_domain;
     68        /**
     69        * Plugin text-domain.
     70        *
     71        * @var string
     72        */
     73        public $text_domain;
    7374
    74         /**
    75         * Plugin version.
    76         *
    77         * @var string
    78         */
    79         public $version;
     75        /**
     76        * Plugin version.
     77        *
     78        * @var string
     79        */
     80        public $version;
    8081
    81         /**
    82          * Plugin constructor.
    83          * Called immediately when you instantiate a class.
    84          * Really good article on setting up constructors for WP classes.
    85          * https://carlalexander.ca/designing-class-wordpress-hooks/
    86          */
    87         private function __construct() {
    88             // filesystem directory i.e. /var/home/www/blockhandbook/wp-content/plugins/.
    89             $this->plugin_dir_path = plugin_dir_path( __FILE__ );
    90             // web address w/ trailing slash.
    91             // i.e. - http://blockhandbook.com/wp-content/plugins/.
    92             $this->plugin_dir_url = plugin_dir_url( __FILE__ );
    93             $this->slug           = 'movable';
    94             $this->text_domain    = 'movable';
    95             $this->version        = '1.0.0';
    96         }
     82        /**
     83         * Plugin constructor.
     84         * Called immediately when you instantiate a class.
     85         * Really good article on setting up constructors for WP classes.
     86         * https://carlalexander.ca/designing-class-wordpress-hooks/
     87         */
     88        private function __construct()
     89    {
     90            // filesystem directory i.e. /var/home/www/blockhandbook/wp-content/plugins/.
     91            $this->plugin_dir_path = plugin_dir_path(__FILE__);
     92            // web address w/ trailing slash.
     93            // i.e. - http://blockhandbook.com/wp-content/plugins/.
     94            $this->plugin_dir_url = plugin_dir_url(__FILE__);
     95            $this->slug = 'movable';
     96            $this->text_domain = 'movable';
     97            $this->version = '1.0.1';
     98        }
    9799
    98         /**
    99          * Return Plugin Instance.
    100          *
    101          * @return object\Plugin
    102          */
    103         public static function get_instance() {
    104             if ( null === self::$instance ) {
    105                 self::$instance = new self();
    106             }
     100        /**
     101         * Return Plugin Instance.
     102         *
     103         * @return object\Plugin
     104         */
     105        public static function get_instance()
     106    {
     107            if (null === self::$instance) {
     108                self::$instance = new self();
     109            }
    107110
    108             return self::$instance;
    109         }
     111            return self::$instance;
     112        }
    110113
    111         /**
    112          * Load the plugin.
    113          *
    114          * @return void
    115          */
    116         public static function load() {
    117             require __DIR__ . '/vendor/autoload.php';
     114        /**
     115         * Load the plugin.
     116         *
     117         * @return void
     118         */
     119        public static function load()
     120    {
     121            require __DIR__ . '/vendor/autoload.php';
    118122
    119             Load_Translations::register();
    120             Register_Blocks::register();
    121         }
    122     }
     123            Load_Translations::register();
     124            Register_Blocks::register();
     125        }
     126    }
    123127endif;
    124128
  • movable/trunk/includes/class-register-blocks.php

    r2286609 r2356396  
    1111
    1212// Stop the hackers if accessed directly.
    13 if ( ! defined( 'ABSPATH' ) ) {
    14     exit;
     13if (!defined('ABSPATH')) {
     14    exit;
    1515}
    1616
     
    2020 * @since 1.0.0
    2121 */
    22 class Register_Blocks {
     22class Register_Blocks
     23{
    2324
    24     /**
    25      * Register class with appropriate WordPress hooks
    26      */
    27     public static function register() {
    28         $instance = new self();
    29         add_action( 'init', array( $instance, 'register_blocks' ) );
    30     }
     25    /**
     26     * Register class with appropriate WordPress hooks
     27     */
     28    public static function register()
     29    {
     30        $instance = new self();
     31        add_action('init', array($instance, 'register_blocks'));
     32    }
    3133
    32     /**
    33      * Registers all block assets so they can be enqueued through Gutenberg.
    34      *
    35      * @return void
    36      */
    37     public function register_blocks() {
     34    /**
     35     * Registers all block assets so they can be enqueued through Gutenberg.
     36     *
     37     * @return void
     38     */
     39    public function register_blocks()
     40    {
    3841
    39         if ( ! function_exists( 'register_block_type' ) ) {
    40             // Gutenberg is not active.
    41             return;
    42         }
     42        if (!function_exists('register_block_type')) {
     43            // Gutenberg is not active.
     44            return;
     45        }
    4346
    44         // Shortcuts for variables.
    45         $instance        = Plugin::get_instance();
    46         $slug            = $instance->slug;
    47         $text_domain    = $instance->text_domain;
    48         $plugin_dir_path = $instance->plugin_dir_path;
    49         $plugin_dir_url = $instance->plugin_dir_url;
    50         $version        = $instance->version;
     47        // Shortcuts for variables.
     48        $instance = Plugin::get_instance();
     49        $slug = $instance->slug;
     50        $text_domain = $instance->text_domain;
     51        $plugin_dir_path = $instance->plugin_dir_path;
     52        $plugin_dir_url = $instance->plugin_dir_url;
     53        $version = $instance->version;
    5154
    52         // Register editor-only block styles.
    53         wp_enqueue_style(
    54             $slug . '-editor-style',
    55             $plugin_dir_url . 'build/editor.css',
    56             array( 'wp-edit-blocks' ),
    57             $version
    58         );
     55        // Register editor-only block styles.
     56        wp_enqueue_style(
     57            $slug . '-editor-style',
     58            $plugin_dir_url . 'build/index.css',
     59            array('wp-edit-blocks'),
     60            $version
     61        );
    5962
    60         // Enqueue tailwind styles.
    61         wp_enqueue_style(
    62             $slug . '-tailwind-style',
    63             $plugin_dir_url . 'build/tailwind.css',
    64             array(),
    65             $version
    66         );
     63        // Enqueue tailwind styles.
     64        wp_enqueue_style(
     65            $slug . '-tailwind-style',
     66            $plugin_dir_url . 'build/tailwind.css',
     67            array(),
     68            $version
     69        );
    6770
    68         $script_asset_path = "$plugin_dir_path/build/index.asset.php";
    69         if ( ! file_exists( $script_asset_path ) ) {
    70             throw new Error(
    71                 'You need to run `npm start` or `npm run build` for the "movable/testimonial" block first.'
    72             );
    73         }
     71        $script_asset_path = "$plugin_dir_path/build/index.asset.php";
     72        if (!file_exists($script_asset_path)) {
     73            throw new Error(
     74                'You need to run `npm start` or `npm run build` for the "movable/testimonial" block first.'
     75            );
     76        }
    7477
    75         // Register editor-only block scripts.
    76         // Dynamically load dependencies using index.build.asset.php generated by
    77         // @wordpress/dependency-extraction-webpack-plugin.
    78         $script_asset = require "$plugin_dir_path/build/index.asset.php";
     78        // Register editor-only block scripts.
     79        // Dynamically load dependencies using index.build.asset.php generated by
     80        // @wordpress/dependency-extraction-webpack-plugin.
     81        $script_asset = require "$plugin_dir_path/build/index.asset.php";
    7982
    80         wp_enqueue_script(
    81             $slug . '-editor-script',
    82             $plugin_dir_url . 'build/index.js',
    83             $script_asset['dependencies'],
    84             $script_asset['version'],
    85             true
    86         );
    87     }
     83        wp_enqueue_script(
     84            $slug . '-editor-script',
     85            $plugin_dir_url . 'build/index.js',
     86            $script_asset['dependencies'],
     87            $script_asset['version'],
     88            true
     89        );
     90    }
    8891}
  • movable/trunk/readme.txt

    r2286609 r2356396  
    55Tags: movable, drag and drop, blockhandbook, block, blocks, duplicate blocks, insert blocks, delete blocks, select blocks, insert blocks, gutenberg
    66Requires at least: 5.0
    7 Tested up to: 5.4
    8 Stable tag: 1.0.0
     7Tested up to: 5.5
     8Stable tag: 1.0.1
    99Requires PHP: 5.6
    1010License: GPLv2 or later
     
    5252== Changelog ==
    5353
     54= 1.0.1 =
     55* Tested up to WordPress 5.5
     56
    5457= 1.0.0 =
    5558* Initial Release
  • movable/trunk/vendor/autoload.php

    r2286616 r2356396  
    55require_once __DIR__ . '/composer/autoload_real.php';
    66
    7 return ComposerAutoloaderInit9c2801fa11679c12919806180ac6e4aa::getLoader();
     7return ComposerAutoloaderInit75c54ecc54ef90bf55f7a06af69c5b1f::getLoader();
  • movable/trunk/vendor/composer/autoload_real.php

    r2286616 r2356396  
    33// autoload_real.php @generated by Composer
    44
    5 class ComposerAutoloaderInit9c2801fa11679c12919806180ac6e4aa
     5class ComposerAutoloaderInit75c54ecc54ef90bf55f7a06af69c5b1f
    66{
    77    private static $loader;
     
    1414    }
    1515
     16    /**
     17     * @return \Composer\Autoload\ClassLoader
     18     */
    1619    public static function getLoader()
    1720    {
     
    2023        }
    2124
    22         spl_autoload_register(array('ComposerAutoloaderInit9c2801fa11679c12919806180ac6e4aa', 'loadClassLoader'), true, true);
     25        spl_autoload_register(array('ComposerAutoloaderInit75c54ecc54ef90bf55f7a06af69c5b1f', 'loadClassLoader'), true, true);
    2326        self::$loader = $loader = new \Composer\Autoload\ClassLoader();
    24         spl_autoload_unregister(array('ComposerAutoloaderInit9c2801fa11679c12919806180ac6e4aa', 'loadClassLoader'));
     27        spl_autoload_unregister(array('ComposerAutoloaderInit75c54ecc54ef90bf55f7a06af69c5b1f', 'loadClassLoader'));
    2528
    2629        $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
     
    2831            require_once __DIR__ . '/autoload_static.php';
    2932
    30             call_user_func(\Composer\Autoload\ComposerStaticInit9c2801fa11679c12919806180ac6e4aa::getInitializer($loader));
     33            call_user_func(\Composer\Autoload\ComposerStaticInit75c54ecc54ef90bf55f7a06af69c5b1f::getInitializer($loader));
    3134        } else {
    3235            $map = require __DIR__ . '/autoload_namespaces.php';
  • movable/trunk/vendor/composer/autoload_static.php

    r2286616 r2356396  
    55namespace Composer\Autoload;
    66
    7 class ComposerStaticInit9c2801fa11679c12919806180ac6e4aa
     7class ComposerStaticInit75c54ecc54ef90bf55f7a06af69c5b1f
    88{
    99    public static $prefixLengthsPsr4 = array (
     
    2929    {
    3030        return \Closure::bind(function () use ($loader) {
    31             $loader->prefixLengthsPsr4 = ComposerStaticInit9c2801fa11679c12919806180ac6e4aa::$prefixLengthsPsr4;
    32             $loader->prefixDirsPsr4 = ComposerStaticInit9c2801fa11679c12919806180ac6e4aa::$prefixDirsPsr4;
    33             $loader->classMap = ComposerStaticInit9c2801fa11679c12919806180ac6e4aa::$classMap;
     31            $loader->prefixLengthsPsr4 = ComposerStaticInit75c54ecc54ef90bf55f7a06af69c5b1f::$prefixLengthsPsr4;
     32            $loader->prefixDirsPsr4 = ComposerStaticInit75c54ecc54ef90bf55f7a06af69c5b1f::$prefixDirsPsr4;
     33            $loader->classMap = ComposerStaticInit75c54ecc54ef90bf55f7a06af69c5b1f::$classMap;
    3434
    3535        }, null, ClassLoader::class);
Note: See TracChangeset for help on using the changeset viewer.