/*! For license information please see 7707.d32bdcf8038b7eebaa97.js.LICENSE.txt */ !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},r=(new Error).stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="4c822564-d282-4514-a2b4-be612a6802cb",e._sentryDebugIdIdentifier="sentry-dbid-4c822564-d282-4514-a2b4-be612a6802cb")}catch(e){}}();var _global="undefined"!==typeof window?window:"undefined"!==typeof global?global:"undefined"!==typeof self?self:{};_global.SENTRY_RELEASE={id:"6845f9ce010d5a446e5d4a40f17204cb8341a07a"},(self.webpackChunkcloud_frontend=self.webpackChunkcloud_frontend||[]).push([[7707],{17563:function(e,r,t){const n=t(70610),i=t(44020),a=t(80500),o=t(92806),l=Symbol("encodeFragmentIdentifier");function c(e){if("string"!==typeof e||1!==e.length)throw new TypeError("arrayFormatSeparator must be single character string")}function u(e,r){return r.encode?r.strict?n(e):encodeURIComponent(e):e}function s(e,r){return r.decode?i(e):e}function d(e){return Array.isArray(e)?e.sort():"object"===typeof e?d(Object.keys(e)).sort(((e,r)=>Number(e)-Number(r))).map((r=>e[r])):e}function p(e){const r=e.indexOf("#");return-1!==r&&(e=e.slice(0,r)),e}function f(e){const r=(e=p(e)).indexOf("?");return-1===r?"":e.slice(r+1)}function g(e,r){return r.parseNumbers&&!Number.isNaN(Number(e))&&"string"===typeof e&&""!==e.trim()?e=Number(e):!r.parseBooleans||null===e||"true"!==e.toLowerCase()&&"false"!==e.toLowerCase()||(e="true"===e.toLowerCase()),e}function v(e,r){c((r=Object.assign({decode:!0,sort:!0,arrayFormat:"none",arrayFormatSeparator:",",parseNumbers:!1,parseBooleans:!1},r)).arrayFormatSeparator);const t=function(e){let r;switch(e.arrayFormat){case"index":return(e,t,n)=>{r=/\[(\d*)\]$/.exec(e),e=e.replace(/\[\d*\]$/,""),r?(void 0===n[e]&&(n[e]={}),n[e][r[1]]=t):n[e]=t};case"bracket":return(e,t,n)=>{r=/(\[\])$/.exec(e),e=e.replace(/\[\]$/,""),r?void 0!==n[e]?n[e]=[].concat(n[e],t):n[e]=[t]:n[e]=t};case"colon-list-separator":return(e,t,n)=>{r=/(:list)$/.exec(e),e=e.replace(/:list$/,""),r?void 0!==n[e]?n[e]=[].concat(n[e],t):n[e]=[t]:n[e]=t};case"comma":case"separator":return(r,t,n)=>{const i="string"===typeof t&&t.includes(e.arrayFormatSeparator),a="string"===typeof t&&!i&&s(t,e).includes(e.arrayFormatSeparator);t=a?s(t,e):t;const o=i||a?t.split(e.arrayFormatSeparator).map((r=>s(r,e))):null===t?t:s(t,e);n[r]=o};case"bracket-separator":return(r,t,n)=>{const i=/(\[\])$/.test(r);if(r=r.replace(/\[\]$/,""),!i)return void(n[r]=t?s(t,e):t);const a=null===t?[]:t.split(e.arrayFormatSeparator).map((r=>s(r,e)));void 0!==n[r]?n[r]=[].concat(n[r],a):n[r]=a};default:return(e,r,t)=>{void 0!==t[e]?t[e]=[].concat(t[e],r):t[e]=r}}}(r),n=Object.create(null);if("string"!==typeof e)return n;if(!(e=e.trim().replace(/^[?#&]/,"")))return n;for(const i of e.split("&")){if(""===i)continue;let[e,o]=a(r.decode?i.replace(/\+/g," "):i,"=");o=void 0===o?null:["comma","separator","bracket-separator"].includes(r.arrayFormat)?o:s(o,r),t(s(e,r),o,n)}for(const i of Object.keys(n)){const e=n[i];if("object"===typeof e&&null!==e)for(const t of Object.keys(e))e[t]=g(e[t],r);else n[i]=g(e,r)}return!1===r.sort?n:(!0===r.sort?Object.keys(n).sort():Object.keys(n).sort(r.sort)).reduce(((e,r)=>{const t=n[r];return Boolean(t)&&"object"===typeof t&&!Array.isArray(t)?e[r]=d(t):e[r]=t,e}),Object.create(null))}r.extract=f,r.parse=v,r.stringify=(e,r)=>{if(!e)return"";c((r=Object.assign({encode:!0,strict:!0,arrayFormat:"none",arrayFormatSeparator:","},r)).arrayFormatSeparator);const t=t=>{return r.skipNull&&(null===(n=e[t])||void 0===n)||r.skipEmptyString&&""===e[t];var n},n=function(e){switch(e.arrayFormat){case"index":return r=>(t,n)=>{const i=t.length;return void 0===n||e.skipNull&&null===n||e.skipEmptyString&&""===n?t:null===n?[...t,[u(r,e),"[",i,"]"].join("")]:[...t,[u(r,e),"[",u(i,e),"]=",u(n,e)].join("")]};case"bracket":return r=>(t,n)=>void 0===n||e.skipNull&&null===n||e.skipEmptyString&&""===n?t:null===n?[...t,[u(r,e),"[]"].join("")]:[...t,[u(r,e),"[]=",u(n,e)].join("")];case"colon-list-separator":return r=>(t,n)=>void 0===n||e.skipNull&&null===n||e.skipEmptyString&&""===n?t:null===n?[...t,[u(r,e),":list="].join("")]:[...t,[u(r,e),":list=",u(n,e)].join("")];case"comma":case"separator":case"bracket-separator":{const r="bracket-separator"===e.arrayFormat?"[]=":"=";return t=>(n,i)=>void 0===i||e.skipNull&&null===i||e.skipEmptyString&&""===i?n:(i=null===i?"":i,0===n.length?[[u(t,e),r,u(i,e)].join("")]:[[n,u(i,e)].join(e.arrayFormatSeparator)])}default:return r=>(t,n)=>void 0===n||e.skipNull&&null===n||e.skipEmptyString&&""===n?t:null===n?[...t,u(r,e)]:[...t,[u(r,e),"=",u(n,e)].join("")]}}(r),i={};for(const o of Object.keys(e))t(o)||(i[o]=e[o]);const a=Object.keys(i);return!1!==r.sort&&a.sort(r.sort),a.map((t=>{const i=e[t];return void 0===i?"":null===i?u(t,r):Array.isArray(i)?0===i.length&&"bracket-separator"===r.arrayFormat?u(t,r)+"[]":i.reduce(n(t),[]).join("&"):u(t,r)+"="+u(i,r)})).filter((e=>e.length>0)).join("&")},r.parseUrl=(e,r)=>{r=Object.assign({decode:!0},r);const[t,n]=a(e,"#");return Object.assign({url:t.split("?")[0]||"",query:v(f(e),r)},r&&r.parseFragmentIdentifier&&n?{fragmentIdentifier:s(n,r)}:{})},r.stringifyUrl=(e,t)=>{t=Object.assign({encode:!0,strict:!0,[l]:!0},t);const n=p(e.url).split("?")[0]||"",i=r.extract(e.url),a=r.parse(i,{sort:!1}),o=Object.assign(a,e.query);let c=r.stringify(o,t);c&&(c=`?${c}`);let s=function(e){let r="";const t=e.indexOf("#");return-1!==t&&(r=e.slice(t)),r}(e.url);return e.fragmentIdentifier&&(s=`#${t[l]?u(e.fragmentIdentifier,t):e.fragmentIdentifier}`),`${n}${c}${s}`},r.pick=(e,t,n)=>{n=Object.assign({parseFragmentIdentifier:!0,[l]:!1},n);const{url:i,query:a,fragmentIdentifier:c}=r.parseUrl(e,n);return r.stringifyUrl({url:i,query:o(a,t),fragmentIdentifier:c},n)},r.exclude=(e,t,n)=>{const i=Array.isArray(t)?e=>!t.includes(e):(e,r)=>!t(e,r);return r.pick(e,i,n)}},97554:function(e,r,t){t.d(r,{Z5:function(){return Bn},_l:function(){return fi},bK:function(){return yi}});var n=t(67294),i=t(94578),a=t(87462),o=t(14890),l=t(28216),c=t(51163),u=t(27642),s=t(30845),d=function(e){var r=[],t=null,n=function(){for(var n=arguments.length,i=new Array(n),a=0;a");return r.callbacks},r.setCallbacks=function(e){r.callbacks=e},r}(0,i.Z)(r,e);var t=r.prototype;return t.componentDidMount=function(){this.unbind=v(window,[{eventName:"error",fn:this.onWindowError}])},t.componentDidCatch=function(e){if(!(e instanceof y))throw e;this.setState({})},t.componentWillUnmount=function(){this.unbind()},t.render=function(){return this.props.children(this.setCallbacks)},r}(n.Component),D=function(e){return e+1},x=function(e,r){var t=e.droppableId===r.droppableId,n=D(e.index),i=D(r.index);return t?"\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 "+r.droppableId+"\n in position "+i+"\n "},w=function(e,r,t){return r.droppableId===t.droppableId?"\n The item "+e+"\n has been combined with "+t.draggableId:"\n The item "+e+"\n in list "+r.droppableId+"\n has been combined with "+t.draggableId+"\n in list "+t.droppableId+"\n "},E=function(e){return"\n The item has returned to its starting position\n of "+D(e.index)+"\n"},A={dragHandleUsageInstructions:"\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",onDragStart:function(e){return"\n You have lifted an item in position "+D(e.source.index)+"\n"},onDragUpdate:function(e){var r=e.destination;if(r)return x(e.source,r);var t=e.combine;return t?w(e.draggableId,e.source,t):"You are over an area that cannot be dropped on"},onDragEnd:function(e){if("CANCEL"===e.reason)return"\n Movement cancelled.\n "+E(e.source)+"\n ";var r=e.destination,t=e.combine;return r?"\n You have dropped the item.\n "+x(e.source,r)+"\n ":t?"\n You have dropped the item.\n "+w(e.draggableId,e.source,t)+"\n ":"\n The item has been dropped while not over a drop area.\n "+E(e.source)+"\n "}},C={x:0,y:0},S=function(e,r){return{x:e.x+r.x,y:e.y+r.y}},O=function(e,r){return{x:e.x-r.x,y:e.y-r.y}},N=function(e,r){return e.x===r.x&&e.y===r.y},B=function(e){return{x:0!==e.x?-e.x:0,y:0!==e.y?-e.y:0}},R=function(e,r,t){var n;return void 0===t&&(t=0),(n={})[e]=r,n["x"===e?"y":"x"]=t,n},P=function(e,r){return Math.sqrt(Math.pow(r.x-e.x,2)+Math.pow(r.y-e.y,2))},T=function(e,r){return Math.min.apply(Math,r.map((function(r){return P(e,r)})))},L=function(e){return function(r){return{x:e(r.x),y:e(r.y)}}},G=function(e,r){return{top:e.top+r.y,left:e.left+r.x,bottom:e.bottom+r.y,right:e.right+r.x}},M=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}]},F=function(e,r){return r&&r.shouldClipSubject?function(e,r){var t=(0,u.Dz)({top:Math.max(r.top,e.top),right:Math.min(r.right,e.right),bottom:Math.min(r.bottom,e.bottom),left:Math.max(r.left,e.left)});return t.width<=0||t.height<=0?null:t}(r.pageMarginBox,e):(0,u.Dz)(e)},_=function(e){var r=e.page,t=e.withPlaceholder,n=e.axis,i=e.frame,o=function(e,r){return r?G(e,r.scroll.diff.displacement):e}(r.marginBox,i),l=function(e,r,t){var n;return t&&t.increasedBy?(0,a.Z)({},e,((n={})[r.end]=e[r.end]+t.increasedBy[r.line],n)):e}(o,n,t);return{page:r,withPlaceholder:t,active:F(l,i)}},j=function(e,r){e.frame||h(!1);var t=e.frame,n=O(r,t.scroll.initial),i=B(n),o=(0,a.Z)({},t,{scroll:{initial:t.scroll.initial,current:r,diff:{value:n,displacement:i},max:t.scroll.max}}),l=_({page:e.subject.page,withPlaceholder:e.subject.withPlaceholder,axis:e.axis,frame:o});return(0,a.Z)({},e,{frame:o,subject:l})};function k(e){return Object.values?Object.values(e):Object.keys(e).map((function(r){return e[r]}))}function U(e,r){if(e.findIndex)return e.findIndex(r);for(var t=0;te.bottom,l=n.lefte.right;return!(!o||!l)||(o&&a||l&&i)}},ie=function(e){var r=te(e.top,e.bottom),t=te(e.left,e.right);return function(e){return r(e.top)&&r(e.bottom)&&t(e.left)&&t(e.right)}},ae={direction:"vertical",line:"y",crossAxisLine:"x",start:"top",end:"bottom",size:"height",crossAxisStart:"left",crossAxisEnd:"right",crossAxisSize:"width"},oe={direction:"horizontal",line:"x",crossAxisLine:"y",start:"left",end:"right",size:"width",crossAxisStart:"top",crossAxisEnd:"bottom",crossAxisSize:"height"},le=function(e){var r=e.target,t=e.destination,n=e.viewport,i=e.withDroppableDisplacement,a=e.isVisibleThroughFrameFn,o=i?function(e,r){var t=r.frame?r.frame.scroll.diff.displacement:C;return G(e,t)}(r,t):r;return function(e,r,t){return!!r.subject.active&&t(r.subject.active)(e)}(o,t,a)&&function(e,r,t){return t(r)(e)}(o,n,a)},ce=function(e){return le((0,a.Z)({},e,{isVisibleThroughFrameFn:ne}))},ue=function(e){return le((0,a.Z)({},e,{isVisibleThroughFrameFn:ie}))},se=function(e,r,t){if("boolean"===typeof t)return t;if(!r)return!0;var n=r.invisible,i=r.visible;if(n[e])return!1;var a=i[e];return!a||a.shouldAnimate};function de(e){var r=e.afterDragging,t=e.destination,n=e.displacedBy,i=e.viewport,a=e.forceShouldAnimate,o=e.last;return r.reduce((function(e,r){var l=function(e,r){var t=e.page.marginBox,n={top:r.point.y,right:0,bottom:0,left:r.point.x};return(0,u.Dz)((0,u.jn)(t,n))}(r,n),c=r.descriptor.id;if(e.all.push(c),!ce({target:l,destination:t,viewport:i,withDroppableDisplacement:!0}))return e.invisible[r.descriptor.id]=!0,e;var s={draggableId:c,shouldAnimate:se(c,o,a)};return e.visible[c]=s,e}),{all:[],visible:{},invisible:{}})}function pe(e){var r=e.insideDestination,t=e.inHomeList,n=e.displacedBy,i=e.destination,a=function(e,r){if(!e.length)return 0;var t=e[e.length-1].descriptor.index;return r.inHomeList?t:t+1}(r,{inHomeList:t});return{displaced:ee,displacedBy:n,at:{type:"REORDER",destination:{droppableId:i.descriptor.id,index:a}}}}function fe(e){var r=e.draggable,t=e.insideDestination,n=e.destination,i=e.viewport,a=e.displacedBy,o=e.last,l=e.index,c=e.forceShouldAnimate,u=K(r,n);if(null==l)return pe({insideDestination:t,inHomeList:u,displacedBy:a,destination:n});var s=W(t,(function(e){return e.descriptor.index===l}));if(!s)return pe({insideDestination:t,inHomeList:u,displacedBy:a,destination:n});var d=X(r,t),p=t.indexOf(s);return{displaced:de({afterDragging:d.slice(p),destination:n,displacedBy:a,last:o,viewport:i.frame,forceShouldAnimate:c}),displacedBy:a,at:{type:"REORDER",destination:{droppableId:n.descriptor.id,index:l}}}}function ge(e,r){return Boolean(r.effected[e])}var ve=function(e){var r=e.isMovingForward,t=e.isInHomeList,n=e.draggable,i=e.draggables,a=e.destination,o=e.insideDestination,l=e.previousImpact,c=e.viewport,u=e.afterCritical,s=l.at;if(s||h(!1),"REORDER"===s.type){var d=function(e){var r=e.isMovingForward,t=e.isInHomeList,n=e.insideDestination,i=e.location;if(!n.length)return null;var a=i.index,o=r?a+1:a-1,l=n[0].descriptor.index,c=n[n.length-1].descriptor.index;return o(t?c:c+1)?null:o}({isMovingForward:r,isInHomeList:t,location:s.destination,insideDestination:o});return null==d?null:fe({draggable:n,insideDestination:o,destination:a,viewport:c,last:l.displaced,displacedBy:l.displacedBy,index:d})}var p=function(e){var r=e.isMovingForward,t=e.destination,n=e.draggables,i=e.combine,a=e.afterCritical;if(!t.isCombineEnabled)return null;var o=i.draggableId,l=n[o].descriptor.index;return ge(o,a)?r?l:l-1:r?l+1:l}({isMovingForward:r,destination:a,displaced:l.displaced,draggables:i,combine:s.combine,afterCritical:u});return null==p?null:fe({draggable:n,insideDestination:o,destination:a,viewport:c,last:l.displaced,displacedBy:l.displacedBy,index:p})},me=function(e){var r=e.afterCritical,t=e.impact,n=e.draggables,i=J(t);i||h(!1);var a=i.draggableId,o=n[a].page.borderBox.center,l=function(e){var r=e.displaced,t=e.afterCritical,n=e.combineWith,i=e.displacedBy,a=Boolean(r.visible[n]||r.invisible[n]);return ge(n,t)?a?C:B(i.point):a?i.point:C}({displaced:t.displaced,afterCritical:r,combineWith:a,displacedBy:t.displacedBy});return S(o,l)},be=function(e,r){return r.margin[e.start]+r.borderBox[e.size]/2},ye=function(e,r,t){return r[e.crossAxisStart]+t.margin[e.crossAxisStart]+t.borderBox[e.crossAxisSize]/2},he=function(e){var r=e.axis,t=e.moveRelativeTo,n=e.isMoving;return R(r.line,t.marginBox[r.end]+be(r,n),ye(r,t.marginBox,n))},Ie=function(e){var r=e.axis,t=e.moveRelativeTo,n=e.isMoving;return R(r.line,t.marginBox[r.start]-function(e,r){return r.margin[e.end]+r.borderBox[e.size]/2}(r,n),ye(r,t.marginBox,n))},De=function(e){var r=e.impact,t=e.draggable,n=e.draggables,i=e.droppable,a=e.afterCritical,o=V(i.descriptor.id,n),l=t.page,c=i.axis;if(!o.length)return function(e){var r=e.axis,t=e.moveInto,n=e.isMoving;return R(r.line,t.contentBox[r.start]+be(r,n),ye(r,t.contentBox,n))}({axis:c,moveInto:i.page,isMoving:l});var s=r.displaced,d=r.displacedBy,p=s.all[0];if(p){var f=n[p];if(ge(p,a))return Ie({axis:c,moveRelativeTo:f.page,isMoving:l});var g=(0,u.cv)(f.page,d.point);return Ie({axis:c,moveRelativeTo:g,isMoving:l})}var v=o[o.length-1];if(v.descriptor.id===t.descriptor.id)return l.borderBox.center;if(ge(v.descriptor.id,a)){var m=(0,u.cv)(v.page,B(a.displacedBy.point));return he({axis:c,moveRelativeTo:m,isMoving:l})}return he({axis:c,moveRelativeTo:v.page,isMoving:l})},xe=function(e,r){var t=e.frame;return t?S(r,t.scroll.diff.displacement):r},we=function(e){var r=function(e){var r=e.impact,t=e.draggable,n=e.droppable,i=e.draggables,a=e.afterCritical,o=t.page.borderBox.center,l=r.at;return n&&l?"REORDER"===l.type?De({impact:r,draggable:t,draggables:i,droppable:n,afterCritical:a}):me({impact:r,draggables:i,afterCritical:a}):o}(e),t=e.droppable;return t?xe(t,r):r},Ee=function(e,r){var t=O(r,e.scroll.initial),n=B(t);return{frame:(0,u.Dz)({top:r.y,bottom:r.y+e.frame.height,left:r.x,right:r.x+e.frame.width}),scroll:{initial:e.scroll.initial,max:e.scroll.max,current:r,diff:{value:t,displacement:n}}}};function Ae(e,r){return e.map((function(e){return r[e]}))}var Ce=function(e){var r=e.pageBorderBoxCenter,t=e.draggable,n=function(e,r){return S(e.scroll.diff.displacement,r)}(e.viewport,r),i=O(n,t.page.borderBox.center);return S(t.client.borderBox.center,i)},Se=function(e){var r=e.draggable,t=e.destination,n=e.newPageBorderBoxCenter,i=e.viewport,o=e.withDroppableDisplacement,l=e.onlyOnMainAxis,c=void 0!==l&&l,u=O(n,r.page.borderBox.center),s={target:G(r.page.borderBox,u),destination:t,withDroppableDisplacement:o,viewport:i};return c?function(e){return le((0,a.Z)({},e,{isVisibleThroughFrameFn:(r=e.destination.axis,function(e){var t=te(e.top,e.bottom),n=te(e.left,e.right);return function(e){return r===ae?t(e.top)&&t(e.bottom):n(e.left)&&n(e.right)}})}));var r}(s):ue(s)},Oe=function(e){var r=e.isMovingForward,t=e.draggable,n=e.destination,i=e.draggables,o=e.previousImpact,l=e.viewport,c=e.previousPageBorderBoxCenter,u=e.previousClientSelection,s=e.afterCritical;if(!n.isEnabled)return null;var d=V(n.descriptor.id,i),p=K(t,n),f=function(e){var r=e.isMovingForward,t=e.draggable,n=e.destination,i=e.insideDestination,o=e.previousImpact;if(!n.isCombineEnabled)return null;if(!$(o))return null;function l(e){var r={type:"COMBINE",combine:{draggableId:e,droppableId:n.descriptor.id}};return(0,a.Z)({},o,{at:r})}var c=o.displaced.all,u=c.length?c[0]:null;if(r)return u?l(u):null;var s=X(t,i);if(!u)return s.length?l(s[s.length-1].descriptor.id):null;var d=U(s,(function(e){return e.descriptor.id===u}));-1===d&&h(!1);var p=d-1;return p<0?null:l(s[p].descriptor.id)}({isMovingForward:r,draggable:t,destination:n,insideDestination:d,previousImpact:o})||ve({isMovingForward:r,isInHomeList:p,draggable:t,draggables:i,destination:n,insideDestination:d,previousImpact:o,viewport:l,afterCritical:s});if(!f)return null;var g=we({impact:f,draggable:t,droppable:n,draggables:i,afterCritical:s});if(Se({draggable:t,destination:n,newPageBorderBoxCenter:g,viewport:l.frame,withDroppableDisplacement:!1,onlyOnMainAxis:!0}))return{clientSelection:Ce({pageBorderBoxCenter:g,draggable:t,viewport:l}),impact:f,scrollJumpRequest:null};var v=O(g,c),m=function(e){var r=e.impact,t=e.viewport,n=e.destination,i=e.draggables,o=e.maxScrollChange,l=Ee(t,S(t.scroll.current,o)),c=n.frame?j(n,S(n.frame.scroll.current,o)):n,u=r.displaced,s=de({afterDragging:Ae(u.all,i),destination:n,displacedBy:r.displacedBy,viewport:l.frame,last:u,forceShouldAnimate:!1}),d=de({afterDragging:Ae(u.all,i),destination:c,displacedBy:r.displacedBy,viewport:t.frame,last:u,forceShouldAnimate:!1}),p={},f={},g=[u,s,d];return u.all.forEach((function(e){var r=function(e,r){for(var t=0;t1?s.sort((function(e,r){return Ne(e)[l.start]-Ne(r)[l.start]}))[0]:u.sort((function(e,r){var n=T(t,M(Ne(e))),i=T(t,M(Ne(r)));return n!==i?n-i:Ne(e)[l.start]-Ne(r)[l.start]}))[0]}({isMovingForward:r,pageBorderBoxCenter:t,source:i,droppables:o,viewport:l});if(!u)return null;var s=V(u.descriptor.id,a),d=function(e){var r=e.pageBorderBoxCenter,t=e.viewport,n=e.destination,i=e.insideDestination,a=e.afterCritical,o=i.filter((function(e){return ue({target:Re(e,a),destination:n,viewport:t.frame,withDroppableDisplacement:!0})})).sort((function(e,t){var i=P(r,xe(n,Be(e,a))),o=P(r,xe(n,Be(t,a)));return in.left&&t.topn.top))return!1;if(je(i)(r.center))return!0;var a=e.axis,o=i.center[a.crossAxisLine],l=r[a.crossAxisStart],c=r[a.crossAxisEnd],u=te(i[a.crossAxisStart],i[a.crossAxisEnd]),s=u(l),d=u(c);return!s&&!d||(s?lo)}));return i.length?1===i.length?i[0].descriptor.id:function(e){var r=e.pageBorderBox,t=e.draggable,n=e.candidates,i=t.page.borderBox.center,a=n.map((function(e){var t=e.axis,n=R(e.axis.line,r.center[t.line],e.page.borderBox.center[t.crossAxisLine]);return{id:e.descriptor.id,distance:P(i,n)}})).sort((function(e,r){return r.distance-e.distance}));return a[0]?a[0].id:null}({pageBorderBox:r,draggable:t,candidates:i}):null}var Ue=function(e,r){return(0,u.Dz)(G(e,r))};function We(e){var r=e.displaced,t=e.id;return Boolean(r.visible[t]||r.invisible[t])}var He=function(e){var r=e.pageOffset,t=e.draggable,n=e.draggables,i=e.droppables,a=e.previousImpact,o=e.viewport,l=e.afterCritical,c=Ue(t.page.borderBox,r),u=ke({pageBorderBox:c,draggable:t,droppables:i});if(!u)return re;var s=i[u],d=V(s.descriptor.id,n),p=function(e,r){var t=e.frame;return t?Ue(r,t.scroll.diff.value):r}(s,c);return function(e){var r=e.draggable,t=e.pageBorderBoxWithDroppableScroll,n=e.previousImpact,i=e.destination,a=e.insideDestination,o=e.afterCritical;if(!i.isCombineEnabled)return null;var l=i.axis,c=Pe(i.axis,r.displaceBy),u=c.value,s=t[l.start],d=t[l.end],p=W(X(r,a),(function(e){var r=e.descriptor.id,t=e.page.borderBox,i=t[l.size]/4,a=ge(r,o),c=We({displaced:n.displaced,id:r});return a?c?d>t[l.start]+i&&dt[l.start]-u+i&&st[l.start]+u+i&&dt[l.start]+i&&sr.descriptor.index?t.descriptor.index-1:t.descriptor.index:null}({draggable:t,closest:W(X(t,i),(function(e){var r=e.descriptor.id,t=e.page.borderBox.center[c.line],n=ge(r,l),i=We({displaced:a,id:r});return n?i?p<=t:d=1500)return Or;var a=Sr+Nr*(i/1500);return Number(("CANCEL"===n?.6*a:a).toFixed(2))}({current:i.current.client.offset,destination:b,reason:o});t(function(e){return{type:"DROP_ANIMATE",payload:e}}({newHomeClientOffset:b,dropDuration:I,completed:y}))}else t(br({completed:y}))}}else t(function(e){return{type:"DROP_PENDING",payload:e}}({reason:o}))}else e(n)}}},Rr=function(){return{x:window.pageXOffset,y:window.pageYOffset}};function Pr(e){var r=e.onWindowScroll;var t=d((function(){r(Rr())})),n=function(e){return{eventName:"scroll",options:{passive:!0,capture:!1},fn:function(r){r.target!==window&&r.target!==window.document||e()}}}(t),i=g;function a(){return i!==g}return{start:function(){a()&&h(!1),i=v(window,[n])},stop:function(){a()||h(!1),t.cancel(),i(),i=g},isActive:a}}var Tr=function(e){var r=Pr({onWindowScroll:function(r){e.dispatch({type:"MOVE_BY_WINDOW_SCROLL",payload:{newScroll:r}})}});return function(e){return function(t){r.isActive()||"INITIAL_PUBLISH"!==t.type||r.start(),r.isActive()&&function(e){return"DROP_COMPLETE"===e.type||"DROP_ANIMATE"===e.type||"FLUSH"===e.type}(t)&&r.stop(),e(t)}}},Lr=function(){var e=[];return{add:function(r){var t=setTimeout((function(){return function(r){var t=U(e,(function(e){return e.timerId===r}));-1===t&&h(!1),e.splice(t,1)[0].callback()}(t)})),n={timerId:t,callback:r};e.push(n)},flush:function(){if(e.length){var r=[].concat(e);e.length=0,r.forEach((function(e){clearTimeout(e.timerId),e.callback()}))}}}},Gr=function(e,r){Xe(),r(),Ke()},Mr=function(e,r){return{draggableId:e.draggable.id,type:e.droppable.type,source:{droppableId:e.droppable.id,index:e.draggable.index},mode:r}},Fr=function(e,r,t,n){if(e){var i=function(e){var r=!1,t=!1,n=setTimeout((function(){t=!0})),i=function(i){r||t||(r=!0,e(i),clearTimeout(n))};return i.wasCalled=function(){return r},i}(t);e(r,{announce:i}),i.wasCalled()||t(n(r))}else t(n(r))},_r=function(e,r){var t=function(e,r){var t=Lr(),n=null,i=function(t){n||h(!1),n=null,Gr(0,(function(){return Fr(e().onDragEnd,t,r,A.onDragEnd)}))};return{beforeCapture:function(r,t){n&&h(!1),Gr(0,(function(){var n=e().onBeforeCapture;n&&n({draggableId:r,mode:t})}))},beforeStart:function(r,t){n&&h(!1),Gr(0,(function(){var n=e().onBeforeDragStart;n&&n(Mr(r,t))}))},start:function(i,a){n&&h(!1);var o=Mr(i,a);n={mode:a,lastCritical:i,lastLocation:o.source,lastCombine:null},t.add((function(){Gr(0,(function(){return Fr(e().onDragStart,o,r,A.onDragStart)}))}))},update:function(i,o){var l=$(o),c=J(o);n||h(!1);var u=!function(e,r){if(e===r)return!0;var t=e.draggable.id===r.draggable.id&&e.draggable.droppableId===r.draggable.droppableId&&e.draggable.type===r.draggable.type&&e.draggable.index===r.draggable.index,n=e.droppable.id===r.droppable.id&&e.droppable.type===r.droppable.type;return t&&n}(i,n.lastCritical);u&&(n.lastCritical=i);var s,d,p=(d=l,!(null==(s=n.lastLocation)&&null==d||null!=s&&null!=d&&s.droppableId===d.droppableId&&s.index===d.index));p&&(n.lastLocation=l);var f=!function(e,r){return null==e&&null==r||null!=e&&null!=r&&e.draggableId===r.draggableId&&e.droppableId===r.droppableId}(n.lastCombine,c);if(f&&(n.lastCombine=c),u||p||f){var g=(0,a.Z)({},Mr(i,n.mode),{combine:c,destination:l});t.add((function(){Gr(0,(function(){return Fr(e().onDragUpdate,g,r,A.onDragUpdate)}))}))}},flush:function(){n||h(!1),t.flush()},drop:i,abort:function(){if(n){var e=(0,a.Z)({},Mr(n.lastCritical,n.mode),{combine:null,destination:null,reason:"CANCEL"});i(e)}}}}(e,r);return function(e){return function(r){return function(n){if("BEFORE_INITIAL_CAPTURE"!==n.type){if("INITIAL_PUBLISH"===n.type){var i=n.payload.critical;return t.beforeStart(i,n.payload.movementMode),r(n),void t.start(i,n.payload.movementMode)}if("DROP_COMPLETE"===n.type){var a=n.payload.completed.result;return t.flush(),r(n),void t.drop(a)}if(r(n),"FLUSH"!==n.type){var o=e.getState();"DRAGGING"===o.phase&&t.update(o.critical,o.impact)}else t.abort()}else t.beforeCapture(n.payload.draggableId,n.payload.movementMode)}}}},jr=function(e){return function(r){return function(t){if("DROP_ANIMATION_FINISHED"===t.type){var n=e.getState();"DROP_ANIMATING"!==n.phase&&h(!1),e.dispatch(br({completed:n.completed}))}else r(t)}}},kr=function(e){var r=null,t=null;return function(n){return function(i){if("FLUSH"!==i.type&&"DROP_COMPLETE"!==i.type&&"DROP_ANIMATION_FINISHED"!==i.type||(t&&(cancelAnimationFrame(t),t=null),r&&(r(),r=null)),n(i),"DROP_ANIMATE"===i.type){var a={eventName:"scroll",options:{capture:!0,passive:!1,once:!0},fn:function(){"DROP_ANIMATING"===e.getState().phase&&e.dispatch({type:"DROP_ANIMATION_FINISHED",payload:null})}};t=requestAnimationFrame((function(){t=null,r=v(window,[a])}))}}}},Ur=function(e){return function(r){return function(t){if(r(t),"PUBLISH_WHILE_DRAGGING"===t.type){var n=e.getState();"DROP_PENDING"===n.phase&&(n.isWaiting||e.dispatch(yr({reason:n.reason})))}}}},Wr=o.qC,Hr=function(e){var r,t=e.dimensionMarshal,n=e.focusMarshal,i=e.styleMarshal,a=e.getResponders,l=e.announce,c=e.autoScroller;return(0,o.MT)(ir,Wr((0,o.md)((r=i,function(){return function(e){return function(t){"INITIAL_PUBLISH"===t.type&&r.dragging(),"DROP_ANIMATE"===t.type&&r.dropping(t.payload.completed.result.reason),"FLUSH"!==t.type&&"DROP_COMPLETE"!==t.type||r.resting(),e(t)}}}),function(e){return function(){return function(r){return function(t){"DROP_COMPLETE"!==t.type&&"FLUSH"!==t.type&&"DROP_ANIMATE"!==t.type||e.stopPublishing(),r(t)}}}}(t),function(e){return function(r){var t=r.getState,n=r.dispatch;return function(r){return function(i){if("LIFT"===i.type){var a=i.payload,o=a.id,l=a.clientSelection,c=a.movementMode,u=t();"DROP_ANIMATING"===u.phase&&n(br({completed:u.completed})),"IDLE"!==t().phase&&h(!1),n(mr()),n({type:"BEFORE_INITIAL_CAPTURE",payload:{draggableId:o,movementMode:c}});var s={draggableId:o,scrollOptions:{shouldPublishImmediately:"SNAP"===c}},d=e.startPublishing(s),p=d.critical,f=d.dimensions,g=d.viewport;n({type:"INITIAL_PUBLISH",payload:{critical:p,dimensions:f,clientSelection:l,movementMode:c,viewport:g}})}else r(i)}}}}(t),Br,jr,kr,Ur,function(e){return function(r){return function(t){return function(n){if(function(e){return"DROP_COMPLETE"===e.type||"DROP_ANIMATE"===e.type||"FLUSH"===e.type}(n))return e.stop(),void t(n);if("INITIAL_PUBLISH"===n.type){t(n);var i=r.getState();return"DRAGGING"!==i.phase&&h(!1),void e.start(i)}t(n),e.scroll(r.getState())}}}}(c),Tr,function(e){var r=!1;return function(){return function(t){return function(n){if("INITIAL_PUBLISH"===n.type)return r=!0,e.tryRecordFocus(n.payload.critical.draggable.id),t(n),void e.tryRestoreFocusRecorded();if(t(n),r){if("FLUSH"===n.type)return r=!1,void e.tryRestoreFocusRecorded();if("DROP_COMPLETE"===n.type){r=!1;var i=n.payload.completed.result;i.combine&&e.tryShiftRecord(i.draggableId,i.combine.draggableId),e.tryRestoreFocusRecorded()}}}}}}(n),_r(a,l))))};var Zr=function(e){var r=e.scrollHeight,t=e.scrollWidth,n=e.height,i=e.width,a=O({x:t,y:r},{x:i,y:n});return{x:Math.max(0,a.x),y:Math.max(0,a.y)}},Yr=function(){var e=document.documentElement;return e||h(!1),e},qr=function(){var e=Yr();return Zr({scrollHeight:e.scrollHeight,scrollWidth:e.scrollWidth,width:e.clientWidth,height:e.clientHeight})},zr=function(e){var r=e.critical,t=e.scrollOptions,n=e.registry;Xe();var i=function(){var e=Rr(),r=qr(),t=e.y,n=e.x,i=Yr(),a=n+i.clientWidth,o=t+i.clientHeight;return{frame:(0,u.Dz)({top:t,left:n,right:a,bottom:o}),scroll:{initial:e,current:e,max:r,diff:{value:C,displacement:C}}}}(),a=i.scroll.current,o=r.droppable,l=n.droppable.getAllByType(o.type).map((function(e){return e.callbacks.getDimensionAndWatchScroll(a,t)})),c=n.draggable.getAllByType(r.draggable.type).map((function(e){return e.getDimension(a)})),s={draggables:Y(c),droppables:Z(l)};return Ke(),{dimensions:s,critical:r,viewport:i}};function Vr(e,r,t){return t.descriptor.id!==r.id&&(t.descriptor.type===r.type&&"virtual"===e.droppable.getById(t.descriptor.droppableId).descriptor.mode)}var $r=function(e,r){var t=null,n=function(e){var r=e.registry,t=e.callbacks,n={additions:{},removals:{},modified:{}},i=null,a=function(){i||(t.collectionStarting(),i=requestAnimationFrame((function(){i=null,Xe();var e=n,a=e.additions,o=e.removals,l=e.modified,c=Object.keys(a).map((function(e){return r.draggable.getById(e).getDimension(C)})).sort((function(e,r){return e.descriptor.index-r.descriptor.index})),u=Object.keys(l).map((function(e){return{droppableId:e,scroll:r.droppable.getById(e).callbacks.getScrollWhileDragging()}})),s={additions:c,removals:Object.keys(o),modified:u};n={additions:{},removals:{},modified:{}},Ke(),t.publish(s)})))};return{add:function(e){var r=e.descriptor.id;n.additions[r]=e,n.modified[e.descriptor.droppableId]=!0,n.removals[r]&&delete n.removals[r],a()},remove:function(e){var r=e.descriptor;n.removals[r.id]=!0,n.modified[r.droppableId]=!0,n.additions[r.id]&&delete n.additions[r.id],a()},stop:function(){i&&(cancelAnimationFrame(i),i=null,n={additions:{},removals:{},modified:{}})}}}({callbacks:{publish:r.publishWhileDragging,collectionStarting:r.collectionStarting},registry:e}),i=function(r){t||h(!1);var i=t.critical.draggable;"ADDITION"===r.type&&Vr(e,i,r.value)&&n.add(r.value),"REMOVAL"===r.type&&Vr(e,i,r.value)&&n.remove(r.value)},a={updateDroppableIsEnabled:function(n,i){e.droppable.exists(n)||h(!1),t&&r.updateDroppableIsEnabled({id:n,isEnabled:i})},updateDroppableIsCombineEnabled:function(n,i){t&&(e.droppable.exists(n)||h(!1),r.updateDroppableIsCombineEnabled({id:n,isCombineEnabled:i}))},scrollDroppable:function(r,n){t&&e.droppable.getById(r).callbacks.scroll(n)},updateDroppableScroll:function(n,i){t&&(e.droppable.exists(n)||h(!1),r.updateDroppableScroll({id:n,newScroll:i}))},startPublishing:function(r){t&&h(!1);var n=e.draggable.getById(r.draggableId),a=e.droppable.getById(n.descriptor.droppableId),o={draggable:n.descriptor,droppable:a.descriptor},l=e.subscribe(i);return t={critical:o,unsubscribe:l},zr({critical:o,registry:e,scrollOptions:r.scrollOptions})},stopPublishing:function(){if(t){n.stop();var r=t.critical.droppable;e.droppable.getAllByType(r.type).forEach((function(e){return e.callbacks.dragStopped()})),t.unsubscribe(),t=null}}};return a},Jr=function(e,r){return"IDLE"===e.phase||"DROP_ANIMATING"===e.phase&&(e.completed.result.draggableId!==r&&"DROP"===e.completed.result.reason)},Xr=function(e){window.scrollBy(e.x,e.y)},Kr=(0,s.Z)((function(e){return q(e).filter((function(e){return!!e.isEnabled&&!!e.frame}))})),Qr=function(e){var r=e.center,t=e.destination,n=e.droppables;if(t){var i=n[t];return i.frame?i:null}var a=function(e,r){var t=W(Kr(r),(function(r){return r.frame||h(!1),je(r.frame.pageMarginBox)(e)}));return t}(r,n);return a},et=.25,rt=.05,tt=28,nt=function(e){return Math.pow(e,2)},it={stopDampeningAt:1200,accelerateAt:360},at=function(e){var r=e.startOfRange,t=e.endOfRange,n=e.current,i=t-r;return 0===i?0:(n-r)/i},ot=it.accelerateAt,lt=it.stopDampeningAt,ct=function(e){var r=e.distanceToEdge,t=e.thresholds,n=e.dragStartTime,i=e.shouldUseTimeDampening,a=function(e,r){if(e>r.startScrollingFrom)return 0;if(e<=r.maxScrollValueAt)return tt;if(e===r.startScrollingFrom)return 1;var t=at({startOfRange:r.maxScrollValueAt,endOfRange:r.startScrollingFrom,current:e}),n=tt*nt(1-t);return Math.ceil(n)}(r,t);return 0===a?0:i?Math.max(function(e,r){var t=r,n=lt,i=Date.now()-t;if(i>=lt)return e;if(ir.height,a=t.width>r.width;return a||i?a&&i?null:{x:a?0:n.x,y:i?0:n.y}:n}({container:t,subject:n,proposedScroll:u});return s?N(s,C)?null:s:null},pt=L((function(e){return 0===e?0:e>0?1:-1})),ft=function(){var e=function(e,r){return e<0?e:e>r?e-r:0};return function(r){var t=r.current,n=r.max,i=r.change,a=S(t,i),o={x:e(a.x,n.x),y:e(a.y,n.y)};return N(o,C)?null:o}}(),gt=function(e){var r=e.max,t=e.current,n=e.change,i={x:Math.max(t.x,r.x),y:Math.max(t.y,r.y)},a=pt(n),o=ft({max:i,current:t,change:a});return!o||(0!==a.x&&0===o.x||0!==a.y&&0===o.y)},vt=function(e,r){return gt({current:e.scroll.current,max:e.scroll.max,change:r})},mt=function(e,r){var t=e.frame;return!!t&>({current:t.scroll.current,max:t.scroll.max,change:r})},bt=function(e){var r=e.state,t=e.dragStartTime,n=e.shouldUseTimeDampening,i=e.scrollWindow,a=e.scrollDroppable,o=r.current.page.borderBoxCenter,l=r.dimensions.draggables[r.critical.draggable.id].page.marginBox;if(r.isWindowScrollAllowed){var c=function(e){var r=e.viewport,t=e.subject,n=e.center,i=e.dragStartTime,a=e.shouldUseTimeDampening,o=dt({dragStartTime:i,container:r.frame,subject:t,center:n,shouldUseTimeDampening:a});return o&&vt(r,o)?o:null}({dragStartTime:t,viewport:r.viewport,subject:l,center:o,shouldUseTimeDampening:n});if(c)return void i(c)}var u=Qr({center:o,destination:Me(r.impact),droppables:r.dimensions.droppables});if(u){var s=function(e){var r=e.droppable,t=e.subject,n=e.center,i=e.dragStartTime,a=e.shouldUseTimeDampening,o=r.frame;if(!o)return null;var l=dt({dragStartTime:i,container:o.pageMarginBox,subject:t,center:n,shouldUseTimeDampening:a});return l&&mt(r,l)?l:null}({dragStartTime:t,droppable:u,subject:l,center:o,shouldUseTimeDampening:n});s&&a(u.descriptor.id,s)}},yt=function(e){var r=e.move,t=e.scrollDroppable,n=e.scrollWindow,i=function(e,r){if(!mt(e,r))return r;var n=function(e,r){var t=e.frame;return t&&mt(e,r)?ft({current:t.scroll.current,max:t.scroll.max,change:r}):null}(e,r);if(!n)return t(e.descriptor.id,r),null;var i=O(r,n);return t(e.descriptor.id,i),O(r,i)},a=function(e,r,t){if(!e)return t;if(!vt(r,t))return t;var i=function(e,r){if(!vt(e,r))return null;var t=e.scroll.max,n=e.scroll.current;return ft({current:n,max:t,change:r})}(r,t);if(!i)return n(t),null;var a=O(t,i);return n(a),O(t,a)};return function(e){var t=e.scrollJumpRequest;if(t){var n=Me(e.impact);n||h(!1);var o=i(e.dimensions.droppables[n],t);if(o){var l=e.viewport,c=a(e.isWindowScrollAllowed,l,o);c&&function(e,t){var n=S(e.current.client.selection,t);r({client:n})}(e,c)}}}},ht=function(e){var r=e.scrollDroppable,t=e.scrollWindow,n=e.move,i=function(e){var r=e.scrollWindow,t=e.scrollDroppable,n=d(r),i=d(t),a=null,o=function(e){a||h(!1);var r=a,t=r.shouldUseTimeDampening,o=r.dragStartTime;bt({state:e,scrollWindow:n,scrollDroppable:i,dragStartTime:o,shouldUseTimeDampening:t})};return{start:function(e){Xe(),a&&h(!1);var r=Date.now(),t=!1,n=function(){t=!0};bt({state:e,dragStartTime:0,shouldUseTimeDampening:!1,scrollWindow:n,scrollDroppable:n}),a={dragStartTime:r,shouldUseTimeDampening:t},Ke(),t&&o(e)},stop:function(){a&&(n.cancel(),i.cancel(),a=null)},scroll:o}}({scrollWindow:t,scrollDroppable:r}),a=yt({move:n,scrollWindow:t,scrollDroppable:r});return{scroll:function(e){"DRAGGING"===e.phase&&("FLUID"!==e.movementMode?e.scrollJumpRequest&&a(e):i.scroll(e))},start:i.start,stop:i.stop}},It="data-rbd",Dt=function(){var e=It+"-drag-handle";return{base:e,draggableId:e+"-draggable-id",contextId:e+"-context-id"}}(),xt=function(){var e=It+"-draggable";return{base:e,contextId:e+"-context-id",id:e+"-id"}}(),wt=function(){var e=It+"-droppable";return{base:e,contextId:e+"-context-id",id:e+"-id"}}(),Et={contextId:It+"-scroll-container-context-id"},At=function(e,r){return e.map((function(e){var t=e.styles[r];return t?e.selector+" { "+t+" }":""})).join(" ")},Ct=function(e){var r,t=(r=e,function(e){return"["+e+'="'+r+'"]'}),n=function(){var e="\n cursor: -webkit-grab;\n cursor: grab;\n ";return{selector:t(Dt.contextId),styles:{always:"\n -webkit-touch-callout: none;\n -webkit-tap-highlight-color: rgba(0,0,0,0);\n touch-action: manipulation;\n ",resting:e,dragging:"pointer-events: none;",dropAnimating:e}}}(),i=[function(){var e="\n transition: "+Er.outOfTheWay+";\n ";return{selector:t(xt.contextId),styles:{dragging:e,dropAnimating:e,userCancel:e}}}(),n,{selector:t(wt.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:At(i,"always"),resting:At(i,"resting"),dragging:At(i,"dragging"),dropAnimating:At(i,"dropAnimating"),userCancel:At(i,"userCancel")}},St="undefined"!==typeof window&&"undefined"!==typeof window.document&&"undefined"!==typeof window.document.createElement?n.useLayoutEffect:n.useEffect,Ot=function(){var e=document.querySelector("head");return e||h(!1),e},Nt=function(e){var r=document.createElement("style");return e&&r.setAttribute("nonce",e),r.type="text/css",r};var Bt=function(e){return e&&e.ownerDocument?e.ownerDocument.defaultView:window};function Rt(e){return e instanceof Bt(e).HTMLElement}function Pt(e,r){var t="["+Dt.contextId+'="'+e+'"]',n=H(document.querySelectorAll(t));if(!n.length)return null;var i=W(n,(function(e){return e.getAttribute(Dt.draggableId)===r}));return i&&Rt(i)?i:null}function Tt(){var e={draggables:{},droppables:{}},r=[];function t(e){r.length&&r.forEach((function(r){return r(e)}))}function n(r){return e.draggables[r]||null}function i(r){return e.droppables[r]||null}return{draggable:{register:function(r){e.draggables[r.descriptor.id]=r,t({type:"ADDITION",value:r})},update:function(r,t){var n=e.draggables[t.descriptor.id];n&&n.uniqueId===r.uniqueId&&(delete e.draggables[t.descriptor.id],e.draggables[r.descriptor.id]=r)},unregister:function(r){var i=r.descriptor.id,a=n(i);a&&r.uniqueId===a.uniqueId&&(delete e.draggables[i],t({type:"REMOVAL",value:r}))},getById:function(e){var r=n(e);return r||h(!1),r},findById:n,exists:function(e){return Boolean(n(e))},getAllByType:function(r){return k(e.draggables).filter((function(e){return e.descriptor.type===r}))}},droppable:{register:function(r){e.droppables[r.descriptor.id]=r},unregister:function(r){var t=i(r.descriptor.id);t&&r.uniqueId===t.uniqueId&&delete e.droppables[r.descriptor.id]},getById:function(e){var r=i(e);return r||h(!1),r},findById:i,exists:function(e){return Boolean(i(e))},getAllByType:function(r){return k(e.droppables).filter((function(e){return e.descriptor.type===r}))}},subscribe:function(e){return r.push(e),function(){var t=r.indexOf(e);-1!==t&&r.splice(t,1)}},clean:function(){e.draggables={},e.droppables={},r.length=0}}}var Lt=n.createContext(null),Gt=function(){var e=document.body;return e||h(!1),e},Mt={position:"absolute",width:"1px",height:"1px",margin:"-1px",border:"0",padding:"0",overflow:"hidden",clip:"rect(0 0 0 0)","clip-path":"inset(100%)"},Ft=function(e){return"rbd-announcement-"+e};var _t=0,jt={separator:"::"};function kt(e,r){return void 0===r&&(r=jt),(0,c.Ye)((function(){return""+e+r.separator+_t++}),[r.separator,e])}var Ut=n.createContext(null);function Wt(e){0}function Ht(e,r){Wt()}function Zt(e){var r=(0,n.useRef)(e);return(0,n.useEffect)((function(){r.current=e})),r}var Yt,qt=27,zt=32,Vt=37,$t=38,Jt=39,Xt=40,Kt=((Yt={})[13]=!0,Yt[9]=!0,Yt),Qt=function(e){Kt[e.keyCode]&&e.preventDefault()},en=function(){var e="visibilitychange";return"undefined"===typeof document?e:W([e,"ms"+e,"webkit"+e,"moz"+e,"o"+e],(function(e){return"on"+e in document}))||e}(),rn=0,tn=5;var nn,an={type:"IDLE"};function on(e){var r=e.cancel,t=e.completed,n=e.getPhase,i=e.setPhase;return[{eventName:"mousemove",fn:function(e){var r=e.button,t=e.clientX,a=e.clientY;if(r===rn){var o={x:t,y:a},l=n();if("DRAGGING"===l.type)return e.preventDefault(),void l.actions.move(o);"PENDING"!==l.type&&h(!1);var c=l.point;if(u=c,s=o,Math.abs(s.x-u.x)>=tn||Math.abs(s.y-u.y)>=tn){var u,s;e.preventDefault();var d=l.actions.fluidLift(o);i({type:"DRAGGING",actions:d})}}}},{eventName:"mouseup",fn:function(e){var i=n();"DRAGGING"===i.type?(e.preventDefault(),i.actions.drop({shouldBlockNextClick:!0}),t()):r()}},{eventName:"mousedown",fn:function(e){"DRAGGING"===n().type&&e.preventDefault(),r()}},{eventName:"keydown",fn:function(e){if("PENDING"!==n().type)return e.keyCode===qt?(e.preventDefault(),void r()):void Qt(e);r()}},{eventName:"resize",fn:r},{eventName:"scroll",options:{passive:!0,capture:!1},fn:function(){"PENDING"===n().type&&r()}},{eventName:"webkitmouseforcedown",fn:function(e){var t=n();"IDLE"===t.type&&h(!1),t.actions.shouldRespectForcePress()?r():e.preventDefault()}},{eventName:en,fn:r}]}function ln(){}var cn=((nn={})[34]=!0,nn[33]=!0,nn[36]=!0,nn[35]=!0,nn);function un(e,r){function t(){r(),e.cancel()}return[{eventName:"keydown",fn:function(n){return n.keyCode===qt?(n.preventDefault(),void t()):n.keyCode===zt?(n.preventDefault(),r(),void e.drop()):n.keyCode===Xt?(n.preventDefault(),void e.moveDown()):n.keyCode===$t?(n.preventDefault(),void e.moveUp()):n.keyCode===Jt?(n.preventDefault(),void e.moveRight()):n.keyCode===Vt?(n.preventDefault(),void e.moveLeft()):void(cn[n.keyCode]?n.preventDefault():Qt(n))}},{eventName:"mousedown",fn:t},{eventName:"mouseup",fn:t},{eventName:"click",fn:t},{eventName:"touchstart",fn:t},{eventName:"resize",fn:t},{eventName:"wheel",fn:t,options:{passive:!0}},{eventName:en,fn:t}]}var sn={type:"IDLE"},dn=.15;var pn={input:!0,button:!0,textarea:!0,select:!0,option:!0,optgroup:!0,video:!0,audio:!0};function fn(e,r){if(null==r)return!1;if(Boolean(pn[r.tagName.toLowerCase()]))return!0;var t=r.getAttribute("contenteditable");return"true"===t||""===t||r!==e&&fn(e,r.parentElement)}function gn(e,r){var t=r.target;return!!Rt(t)&&fn(e,t)}var vn=function(e){return(0,u.Dz)(e.getBoundingClientRect()).center};var mn=function(){var e="matches";return"undefined"===typeof document?e:W([e,"msMatchesSelector","webkitMatchesSelector"],(function(e){return e in Element.prototype}))||e}();function bn(e,r){return null==e?null:e[mn](r)?e:bn(e.parentElement,r)}function yn(e,r){return e.closest?e.closest(r):bn(e,r)}function hn(e,r){var t,n=r.target;if(!((t=n)instanceof Bt(t).Element))return null;var i=function(e){return"["+Dt.contextId+'="'+e+'"]'}(e),a=yn(n,i);return a&&Rt(a)?a:null}function In(e){e.preventDefault()}function Dn(e){var r=e.expected,t=e.phase,n=e.isLockActive;e.shouldWarn;return!!n()&&r===t}function xn(e){var r=e.lockAPI,t=e.store,n=e.registry,i=e.draggableId;if(r.isClaimed())return!1;var a=n.draggable.findById(i);return!!a&&(!!a.options.isEnabled&&!!Jr(t.getState(),i))}function wn(e){var r=e.lockAPI,t=e.contextId,n=e.store,i=e.registry,o=e.draggableId,l=e.forceSensorStop,c=e.sourceEvent;if(!xn({lockAPI:r,store:n,registry:i,draggableId:o}))return null;var u=i.draggable.getById(o),s=function(e,r){var t="["+xt.contextId+'="'+e+'"]',n=W(H(document.querySelectorAll(t)),(function(e){return e.getAttribute(xt.id)===r}));return n&&Rt(n)?n:null}(t,u.descriptor.id);if(!s)return null;if(c&&!u.options.canDragInteractiveElements&&gn(s,c))return null;var p=r.claim(l||g),f="PRE_DRAG";function m(){return u.options.shouldRespectForcePress}function b(){return r.isActive(p)}var y=function(e,r){Dn({expected:e,phase:f,isLockActive:b,shouldWarn:!0})&&n.dispatch(r())}.bind(null,"DRAGGING");function I(e){function t(){r.release(),f="COMPLETED"}function i(r,i){if(void 0===i&&(i={shouldBlockNextClick:!1}),e.cleanup(),i.shouldBlockNextClick){var a=v(window,[{eventName:"click",fn:In,options:{once:!0,passive:!1,capture:!0}}]);setTimeout(a)}t(),n.dispatch(yr({reason:r}))}return"PRE_DRAG"!==f&&(t(),"PRE_DRAG"!==f&&h(!1)),n.dispatch(ar(e.liftActionArgs)),f="DRAGGING",(0,a.Z)({isActive:function(){return Dn({expected:"DRAGGING",phase:f,isLockActive:b,shouldWarn:!1})},shouldRespectForcePress:m,drop:function(e){return i("DROP",e)},cancel:function(e){return i("CANCEL",e)}},e.actions)}return{isActive:function(){return Dn({expected:"PRE_DRAG",phase:f,isLockActive:b,shouldWarn:!1})},shouldRespectForcePress:m,fluidLift:function(e){var r=d((function(e){y((function(){return dr({client:e})}))})),t=I({liftActionArgs:{id:o,clientSelection:e,movementMode:"FLUID"},cleanup:function(){return r.cancel()},actions:{move:r}});return(0,a.Z)({},t,{move:r})},snapLift:function(){var e={moveUp:function(){return y(pr)},moveRight:function(){return y(gr)},moveDown:function(){return y(fr)},moveLeft:function(){return y(vr)}};return I({liftActionArgs:{id:o,clientSelection:vn(s),movementMode:"SNAP"},cleanup:g,actions:e})},abort:function(){Dn({expected:"PRE_DRAG",phase:f,isLockActive:b,shouldWarn:!0})&&r.release()}}}var En=[function(e){var r=(0,n.useRef)(an),t=(0,n.useRef)(g),i=(0,c.Ye)((function(){return{eventName:"mousedown",fn:function(r){if(!r.defaultPrevented&&r.button===rn&&!(r.ctrlKey||r.metaKey||r.shiftKey||r.altKey)){var n=e.findClosestDraggableId(r);if(n){var i=e.tryGetLock(n,l,{sourceEvent:r});if(i){r.preventDefault();var a={x:r.clientX,y:r.clientY};t.current(),d(i,a)}}}}}}),[e]),a=(0,c.Ye)((function(){return{eventName:"webkitmouseforcewillbegin",fn:function(r){if(!r.defaultPrevented){var t=e.findClosestDraggableId(r);if(t){var n=e.findOptionsForDraggable(t);n&&(n.shouldRespectForcePress||e.canGetLock(t)&&r.preventDefault())}}}}}),[e]),o=(0,c.I4)((function(){t.current=v(window,[a,i],{passive:!1,capture:!0})}),[a,i]),l=(0,c.I4)((function(){"IDLE"!==r.current.type&&(r.current=an,t.current(),o())}),[o]),u=(0,c.I4)((function(){var e=r.current;l(),"DRAGGING"===e.type&&e.actions.cancel({shouldBlockNextClick:!0}),"PENDING"===e.type&&e.actions.abort()}),[l]),s=(0,c.I4)((function(){var e=on({cancel:u,completed:l,getPhase:function(){return r.current},setPhase:function(e){r.current=e}});t.current=v(window,e,{capture:!0,passive:!1})}),[u,l]),d=(0,c.I4)((function(e,t){"IDLE"!==r.current.type&&h(!1),r.current={type:"PENDING",point:t,actions:e},s()}),[s]);St((function(){return o(),function(){t.current()}}),[o])},function(e){var r=(0,n.useRef)(ln),t=(0,c.Ye)((function(){return{eventName:"keydown",fn:function(t){if(!t.defaultPrevented&&t.keyCode===zt){var n=e.findClosestDraggableId(t);if(n){var a=e.tryGetLock(n,c,{sourceEvent:t});if(a){t.preventDefault();var o=!0,l=a.snapLift();r.current(),r.current=v(window,un(l,c),{capture:!0,passive:!1})}}}function c(){o||h(!1),o=!1,r.current(),i()}}}}),[e]),i=(0,c.I4)((function(){r.current=v(window,[t],{passive:!1,capture:!0})}),[t]);St((function(){return i(),function(){r.current()}}),[i])},function(e){var r=(0,n.useRef)(sn),t=(0,n.useRef)(g),i=(0,c.I4)((function(){return r.current}),[]),a=(0,c.I4)((function(e){r.current=e}),[]),o=(0,c.Ye)((function(){return{eventName:"touchstart",fn:function(r){if(!r.defaultPrevented){var n=e.findClosestDraggableId(r);if(n){var i=e.tryGetLock(n,u,{sourceEvent:r});if(i){var a=r.touches[0],o={x:a.clientX,y:a.clientY};t.current(),f(i,o)}}}}}}),[e]),l=(0,c.I4)((function(){t.current=v(window,[o],{capture:!0,passive:!1})}),[o]),u=(0,c.I4)((function(){var e=r.current;"IDLE"!==e.type&&("PENDING"===e.type&&clearTimeout(e.longPressTimerId),a(sn),t.current(),l())}),[l,a]),s=(0,c.I4)((function(){var e=r.current;u(),"DRAGGING"===e.type&&e.actions.cancel({shouldBlockNextClick:!0}),"PENDING"===e.type&&e.actions.abort()}),[u]),d=(0,c.I4)((function(){var e={capture:!0,passive:!1},r={cancel:s,completed:u,getPhase:i},n=v(window,function(e){var r=e.cancel,t=e.completed,n=e.getPhase;return[{eventName:"touchmove",options:{capture:!1},fn:function(e){var t=n();if("DRAGGING"===t.type){t.hasMoved=!0;var i=e.touches[0],a={x:i.clientX,y:i.clientY};e.preventDefault(),t.actions.move(a)}else r()}},{eventName:"touchend",fn:function(e){var i=n();"DRAGGING"===i.type?(e.preventDefault(),i.actions.drop({shouldBlockNextClick:!0}),t()):r()}},{eventName:"touchcancel",fn:function(e){"DRAGGING"===n().type?(e.preventDefault(),r()):r()}},{eventName:"touchforcechange",fn:function(e){var t=n();"IDLE"===t.type&&h(!1);var i=e.touches[0];if(i&&i.force>=dn){var a=t.actions.shouldRespectForcePress();if("PENDING"!==t.type)return a?t.hasMoved?void e.preventDefault():void r():void e.preventDefault();a&&r()}}},{eventName:en,fn:r}]}(r),e),a=v(window,function(e){var r=e.cancel,t=e.getPhase;return[{eventName:"orientationchange",fn:r},{eventName:"resize",fn:r},{eventName:"contextmenu",fn:function(e){e.preventDefault()}},{eventName:"keydown",fn:function(e){"DRAGGING"===t().type?(e.keyCode===qt&&e.preventDefault(),r()):r()}},{eventName:en,fn:r}]}(r),e);t.current=function(){n(),a()}}),[s,i,u]),p=(0,c.I4)((function(){var e=i();"PENDING"!==e.type&&h(!1);var r=e.actions.fluidLift(e.point);a({type:"DRAGGING",actions:r,hasMoved:!1})}),[i,a]),f=(0,c.I4)((function(e,r){"IDLE"!==i().type&&h(!1);var t=setTimeout(p,120);a({type:"PENDING",point:r,actions:e,longPressTimerId:t}),d()}),[d,i,a,p]);St((function(){return l(),function(){t.current();var e=i();"PENDING"===e.type&&(clearTimeout(e.longPressTimerId),a(sn))}}),[i,l,a]),St((function(){return v(window,[{eventName:"touchmove",fn:function(){},options:{capture:!1,passive:!1}}])}),[])}];function An(e){var r=e.contextId,t=e.store,i=e.registry,a=e.customSensors,o=e.enableDefaultSensors,l=[].concat(o?En:[],a||[]),u=(0,n.useState)((function(){return function(){var e=null;function r(){e||h(!1),e=null}return{isClaimed:function(){return Boolean(e)},isActive:function(r){return r===e},claim:function(r){e&&h(!1);var t={abandon:r};return e=t,t},release:r,tryAbandon:function(){e&&(e.abandon(),r())}}}()}))[0],s=(0,c.I4)((function(e,r){e.isDragging&&!r.isDragging&&u.tryAbandon()}),[u]);St((function(){var e=t.getState();return t.subscribe((function(){var r=t.getState();s(e,r),e=r}))}),[u,t,s]),St((function(){return u.tryAbandon}),[u.tryAbandon]);var d=(0,c.I4)((function(e){return xn({lockAPI:u,registry:i,store:t,draggableId:e})}),[u,i,t]),p=(0,c.I4)((function(e,n,a){return wn({lockAPI:u,registry:i,contextId:r,store:t,draggableId:e,forceSensorStop:n,sourceEvent:a&&a.sourceEvent?a.sourceEvent:null})}),[r,u,i,t]),f=(0,c.I4)((function(e){return function(e,r){var t=hn(e,r);return t?t.getAttribute(Dt.draggableId):null}(r,e)}),[r]),g=(0,c.I4)((function(e){var r=i.draggable.findById(e);return r?r.options:null}),[i.draggable]),v=(0,c.I4)((function(){u.isClaimed()&&(u.tryAbandon(),"IDLE"!==t.getState().phase&&t.dispatch(mr()))}),[u,t]),m=(0,c.I4)(u.isClaimed,[u]),b=(0,c.Ye)((function(){return{canGetLock:d,tryGetLock:p,findClosestDraggableId:f,findOptionsForDraggable:g,tryReleaseLock:v,isLockClaimed:m}}),[d,p,f,g,v,m]);Wt();for(var y=0;y=0&&"[object Array]"===Object.prototype.toString.call(e)};function i(e,r,t){return function(){if(0===arguments.length)return t();var i=arguments[arguments.length-1];if(!n(i)){for(var a=0;a=0;)p(r=y[t],e)&&!I(n,r)&&(n[n.length]=r),t-=1;return n})):c((function(e){return Object(e)!==e?[]:Object.keys(e)})),x=c((function(e){return null===e?"Null":void 0===e?"Undefined":Object.prototype.toString.call(e).slice(8,-1)}));function w(e,r,t,n){var i=s(e);function a(e,r){return E(e,r,t.slice(),n.slice())}return!d((function(e,r){return!d(a,r,e)}),s(r),i)}function E(e,r,t,n){if(f(e,r))return!0;var i=x(e);if(i!==x(r))return!1;if("function"===typeof e["fantasy-land/equals"]||"function"===typeof r["fantasy-land/equals"])return"function"===typeof e["fantasy-land/equals"]&&e["fantasy-land/equals"](r)&&"function"===typeof r["fantasy-land/equals"]&&r["fantasy-land/equals"](e);if("function"===typeof e.equals||"function"===typeof r.equals)return"function"===typeof e.equals&&e.equals(r)&&"function"===typeof r.equals&&r.equals(e);switch(i){case"Arguments":case"Array":case"Object":if("function"===typeof e.constructor&&"Promise"===function(e){var r=String(e).match(/^function (\w*)/);return null==r?"":r[1]}(e.constructor))return e===r;break;case"Boolean":case"Number":case"String":if(typeof e!==typeof r||!f(e.valueOf(),r.valueOf()))return!1;break;case"Date":if(!f(e.valueOf(),r.valueOf()))return!1;break;case"Error":return e.name===r.name&&e.message===r.message;case"RegExp":if(e.source!==r.source||e.global!==r.global||e.ignoreCase!==r.ignoreCase||e.multiline!==r.multiline||e.sticky!==r.sticky||e.unicode!==r.unicode)return!1}for(var a=t.length-1;a>=0;){if(t[a]===e)return n[a]===r;a-=1}switch(i){case"Map":return e.size===r.size&&w(e.entries(),r.entries(),t.concat([e]),n.concat([r]));case"Set":return e.size===r.size&&w(e.values(),r.values(),t.concat([e]),n.concat([r]));case"Arguments":case"Array":case"Object":case"Boolean":case"Number":case"String":case"Date":case"Error":case"RegExp":case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"ArrayBuffer":break;default:return!1}var o=D(e);if(o.length!==D(r).length)return!1;var l=t.concat([e]),c=n.concat([r]);for(a=o.length-1;a>=0;){var u=o[a];if(!p(u,r)||!E(r[u],e[u],l,c))return!1;a-=1}return!0}var A=u((function(e,r){return E(e,r,[],[])}));function C(e,r){return function(e,r,t){var n,i;if("function"===typeof e.indexOf)switch(typeof r){case"number":if(0===r){for(n=1/r;t=0}function S(e,r){for(var t=0,n=r.length,i=Array(n);t":_(t,n)},n=function(e,r){return S((function(r){return O(r)+": "+t(e[r])}),r.slice().sort())};switch(Object.prototype.toString.call(e)){case"[object Arguments]":return"(function() { return arguments; }("+S(t,e).join(", ")+"))";case"[object Array]":return"["+S(t,e).concat(n(e,F((function(e){return/^\d+$/.test(e)}),D(e)))).join(", ")+"]";case"[object Boolean]":return"object"===typeof e?"new Boolean("+t(e.valueOf())+")":e.toString();case"[object Date]":return"new Date("+(isNaN(e.valueOf())?t(NaN):O(B(e)))+")";case"[object Map]":return"new Map("+t(Array.from(e))+")";case"[object Null]":return"null";case"[object Number]":return"object"===typeof e?"new Number("+t(e.valueOf())+")":1/e===-1/0?"-0":e.toString(10);case"[object Set]":return"new Set("+t(Array.from(e).sort())+")";case"[object String]":return"object"===typeof e?"new String("+t(e.valueOf())+")":O(e);case"[object Undefined]":return"undefined";default:if("function"===typeof e.toString){var i=e.toString();if("[object Object]"!==i)return i}return"{"+n(e,D(e)).join(", ")+"}"}}var j=c((function(e){return _(e,[])})),k=function(){function e(e,r){this.xf=r,this.f=e}return e.prototype["@@transducer/init"]=a,e.prototype["@@transducer/result"]=o,e.prototype["@@transducer/step"]=function(e,r){return this.xf["@@transducer/step"](e,this.f(r))},e}(),U=function(e){return function(r){return new k(e,r)}};function W(e,r){switch(e){case 0:return function(){return r.apply(this,arguments)};case 1:return function(e){return r.apply(this,arguments)};case 2:return function(e,t){return r.apply(this,arguments)};case 3:return function(e,t,n){return r.apply(this,arguments)};case 4:return function(e,t,n,i){return r.apply(this,arguments)};case 5:return function(e,t,n,i,a){return r.apply(this,arguments)};case 6:return function(e,t,n,i,a,o){return r.apply(this,arguments)};case 7:return function(e,t,n,i,a,o,l){return r.apply(this,arguments)};case 8:return function(e,t,n,i,a,o,l,c){return r.apply(this,arguments)};case 9:return function(e,t,n,i,a,o,l,c,u){return r.apply(this,arguments)};case 10:return function(e,t,n,i,a,o,l,c,u,s){return r.apply(this,arguments)};default:throw new Error("First argument to _arity must be a non-negative integer no greater than ten")}}function H(e,r,t){return function(){for(var n=[],i=0,a=e,o=0;o=arguments.length)?c=r[o]:(c=arguments[i],i+=1),n[o]=c,l(c)||(a-=1),o+=1}return a<=0?t.apply(this,n):W(a,H(e,n,t))}}var Z=u((function(e,r){return 1===e?c(r):W(e,H(e,[],r))})),Y=u(i(["fantasy-land/map","map"],U,(function(e,r){switch(Object.prototype.toString.call(r)){case"[object Function]":return Z(r.length,(function(){return e.call(this,r.apply(this,arguments))}));case"[object Object]":return R((function(t,n){return t[n]=e(r[n]),t}),{},D(r));default:return S(e,r)}}))),q=Y,z=Number.isInteger||function(e){return e<<0===e};function V(e){return"[object String]"===Object.prototype.toString.call(e)}var $=u((function(e,r){var t=e<0?r.length+e:e;return V(r)?r.charAt(t):r[t]}));function J(e){return function r(t,n,i){switch(arguments.length){case 0:return r;case 1:return l(t)?r:u((function(r,n){return e(t,r,n)}));case 2:return l(t)&&l(n)?r:l(t)?u((function(r,t){return e(r,n,t)})):l(n)?u((function(r,n){return e(t,r,n)})):c((function(r){return e(t,n,r)}));default:return l(t)&&l(n)&&l(i)?r:l(t)&&l(n)?u((function(r,t){return e(r,t,i)})):l(t)&&l(i)?u((function(r,t){return e(r,n,t)})):l(n)&&l(i)?u((function(r,n){return e(t,r,n)})):l(t)?c((function(r){return e(r,n,i)})):l(n)?c((function(r){return e(t,r,i)})):l(i)?c((function(r){return e(t,n,r)})):e(t,n,i)}}}var X=c((function(e){return!!n(e)||!!e&&("object"===typeof e&&(!V(e)&&(0===e.length||e.length>0&&(e.hasOwnProperty(0)&&e.hasOwnProperty(e.length-1)))))})),K="undefined"!==typeof Symbol?Symbol.iterator:"@@iterator";function Q(e,r,t){return function(n,i,a){if(X(a))return e(n,i,a);if(null==a)return i;if("function"===typeof a["fantasy-land/reduce"])return r(n,i,a,"fantasy-land/reduce");if(null!=a[K])return t(n,i,a[K]());if("function"===typeof a.next)return t(n,i,a);if("function"===typeof a.reduce)return r(n,i,a,"reduce");throw new TypeError("reduce: list must be array or iterable")}}function ee(e,r,t){for(var n=0,i=t.length;n