1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1326],{98005:function(e){e.exports=function(){"use strict";function e(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function t(t){for(var n=1;n<arguments.length;n++){var r=null!=arguments[n]?arguments[n]:{};n%2?e(Object(r),!0).forEach((function(e){i(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):e(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function o(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(){return(a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var s={exports:{}};!function(e){"undefined"!==typeof window&&function(t){var n=t.HTMLCanvasElement&&t.HTMLCanvasElement.prototype,r=t.Blob&&function(){try{return Boolean(new Blob)}catch(e){return!1}}(),o=r&&t.Uint8Array&&function(){try{return 100===new Blob([new Uint8Array(100)]).size}catch(e){return!1}}(),i=t.BlobBuilder||t.WebKitBlobBuilder||t.MozBlobBuilder||t.MSBlobBuilder,a=/^data:((.*?)(;charset=.*?)?)(;base64)?,/,s=(r||i)&&t.atob&&t.ArrayBuffer&&t.Uint8Array&&function(e){var t,n,s,c,l,u,f,d,h;if(!(t=e.match(a)))throw new Error("invalid data URI");for(n=t[2]?t[1]:"text/plain"+(t[3]||";charset=US-ASCII"),s=!!t[4],c=e.slice(t[0].length),l=s?atob(c):decodeURIComponent(c),u=new ArrayBuffer(l.length),f=new Uint8Array(u),d=0;d<l.length;d+=1)f[d]=l.charCodeAt(d);return r?new Blob([o?f:u],{type:n}):((h=new i).append(u),h.getBlob(n))};t.HTMLCanvasElement&&!n.toBlob&&(n.mozGetAsFile?n.toBlob=function(e,t,r){var o=this;setTimeout((function(){r&&n.toDataURL&&s?e(s(o.toDataURL(t,r))):e(o.mozGetAsFile("blob",t))}))}:n.toDataURL&&s&&(n.msToBlob?n.toBlob=function(e,t,r){var o=this;setTimeout((function(){(t&&"image/png"!==t||r)&&n.toDataURL&&s?e(s(o.toDataURL(t,r))):e(o.msToBlob(t))}))}:n.toBlob=function(e,t,n){var r=this;setTimeout((function(){e(s(r.toDataURL(t,n)))}))})),e.exports?e.exports=s:t.dataURLtoBlob=s}(window)}(s);var c=s.exports,l=function(e){return"undefined"!==typeof Blob&&(e instanceof Blob||"[object Blob]"===Object.prototype.toString.call(e))},u={strict:!0,checkOrientation:!0,maxWidth:1/0,maxHeight:1/0,minWidth:0,minHeight:0,width:void 0,height:void 0,resize:"none",quality:.8,mimeType:"auto",convertTypes:["image/png"],convertSize:5e6,beforeDraw:null,drew:null,success:null,error:null},f="undefined"!==typeof window&&"undefined"!==typeof window.document?window:{},d=function(e){return e>0&&e<1/0},h=Array.prototype.slice;function p(e){return Array.from?Array.from(e):h.call(e)}var g=/^image\/.+$/;function m(e){return g.test(e)}function v(e){var t=m(e)?e.substr(6):"";return"jpeg"===t&&(t="jpg"),".".concat(t)}var b=String.fromCharCode;function y(e,t,n){var r,o="";for(n+=t,r=t;r<n;r+=1)o+=b(e.getUint8(r));return o}var w=f.btoa;function O(e,t){for(var n=[],r=8192,o=new Uint8Array(e);o.length>0;)n.push(b.apply(null,p(o.subarray(0,r)))),o=o.subarray(r);return"data:".concat(t,";base64,").concat(w(n.join("")))}function I(e){var t,n=new DataView(e);try{var r,o,i;if(255===n.getUint8(0)&&216===n.getUint8(1))for(var a=n.byteLength,s=2;s+1<a;){if(255===n.getUint8(s)&&225===n.getUint8(s+1)){o=s;break}s+=1}if(o){var c=o+10;if("Exif"===y(n,o+4,4)){var l=n.getUint16(c);if(((r=18761===l)||19789===l)&&42===n.getUint16(c+2,r)){var u=n.getUint32(c+4,r);u>=8&&(i=c+u)}}}if(i){var f,d,h=n.getUint16(i,r);for(d=0;d<h;d+=1)if(f=i+12*d+2,274===n.getUint16(f,r)){f+=8,t=n.getUint16(f,r),n.setUint16(f,1,r);break}}}catch(p){t=1}return t}function T(e){var t=0,n=1,r=1;switch(e){case 2:n=-1;break;case 3:t=-180;break;case 4:r=-1;break;case 5:t=90,r=-1;break;case 6:t=90;break;case 7:t=90,n=-1;break;case 8:t=-90}return{rotate:t,scaleX:n,scaleY:r}}var D=/\.\d*(?:0|9){12}\d*$/;function S(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1e11;return D.test(e)?Math.round(e*t)/t:e}function x(e){var t=e.aspectRatio,n=e.height,r=e.width,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"none",i=d(r),a=d(n);if(i&&a){var s=n*t;("contain"===o||"none"===o)&&s>r||"cover"===o&&s<r?n=r/t:r=n*t}else i?n=r/t:a&&(r=n*t);return{width:r,height:n}}var R=f.ArrayBuffer,M=f.FileReader,B=f.URL||f.webkitURL,E=/\.\w+$/,j=f.Compressor;return function(){function e(r,o){n(this,e),this.file=r,this.image=new Image,this.options=t(t({},u),o),this.aborted=!1,this.result=null,this.init()}return o(e,[{key:"init",value:function(){var e=this,t=this.file,n=this.options;if(l(t)){var r=t.type;if(m(r))if(B&&M)if(R||(n.checkOrientation=!1),B&&!n.checkOrientation)this.load({url:B.createObjectURL(t)});else{var o=new M,i=n.checkOrientation&&"image/jpeg"===r;this.reader=o,o.onload=function(n){var o=n.target.result,s={};if(i){var c=I(o);c>1||!B?(s.url=O(o,r),c>1&&a(s,T(c))):s.url=B.createObjectURL(t)}else s.url=o;e.load(s)},o.onabort=function(){e.fail(new Error("Aborted to read the image with FileReader."))},o.onerror=function(){e.fail(new Error("Failed to read the image with FileReader."))},o.onloadend=function(){e.reader=null},i?o.readAsArrayBuffer(t):o.readAsDataURL(t)}else this.fail(new Error("The current browser does not support image compression."));else this.fail(new Error("The first argument must be an image File or Blob object."))}else this.fail(new Error("The first argument must be a File or Blob object."))}},{key:"load",value:function(e){var n=this,r=this.file,o=this.image;o.onload=function(){n.draw(t(t({},e),{}
1,{naturalWidth:o.naturalWidth,naturalHeight:o.naturalHeight}))},o.onabort=function(){n.fail(new Error("Aborted to load the image."))},o.onerror=function(){n.fail(new Error("Failed to load the image."))},f.navigator&&/(?:iPad|iPhone|iPod).*?AppleWebKit/i.test(f.navigator.userAgent)&&(o.crossOrigin="anonymous"),o.alt=r.name,o.src=e.url}},{key:"draw",value:function(e){var t=this,n=e.naturalWidth,r=e.naturalHeight,o=e.rotate,i=void 0===o?0:o,a=e.scaleX,s=void 0===a?1:a,l=e.scaleY,u=void 0===l?1:l,f=this.file,h=this.image,p=this.options,g=document.createElement("canvas"),v=g.getContext("2d"),b=Math.abs(i)%180===90,y=("contain"===p.resize||"cover"===p.resize)&&d(p.width)&&d(p.height),w=Math.max(p.maxWidth,0)||1/0,O=Math.max(p.maxHeight,0)||1/0,I=Math.max(p.minWidth,0)||0,T=Math.max(p.minHeight,0)||0,D=n/r,R=p.width,M=p.height;if(b){var B=[O,w];w=B[0],O=B[1];var E=[T,I];I=E[0],T=E[1];var j=[M,R];R=j[0],M=j[1]}y&&(D=R/M);var k=x({aspectRatio:D,width:w,height:O},"contain");w=k.width,O=k.height;var C=x({aspectRatio:D,width:I,height:T},"cover");if(I=C.width,T=C.height,y){var L=x({aspectRatio:D,width:R,height:M},p.resize);R=L.width,M=L.height}else{var U=x({aspectRatio:D,width:R,height:M}),Y=U.width;R=void 0===Y?n:Y;var A=U.height;M=void 0===A?r:A}var _=-(R=Math.floor(S(Math.min(Math.max(R,I),w))))/2,P=-(M=Math.floor(S(Math.min(Math.max(M,T),O))))/2,W=R,H=M,z=[];if(y){var X=0,F=0,q=n,N=r,K=x({aspectRatio:D,width:n,height:r},{contain:"cover",cover:"contain"}[p.resize]);q=K.width,N=K.height,X=(n-q)/2,F=(r-N)/2,z.push(X,F,q,N)}if(z.push(_,P,W,H),b){var V=[M,R];R=V[0],M=V[1]}g.width=R,g.height=M,m(p.mimeType)||(p.mimeType=f.type);var $="transparent";if(f.size>p.convertSize&&p.convertTypes.indexOf(p.mimeType)>=0&&(p.mimeType="image/jpeg"),"image/jpeg"===p.mimeType&&($="#fff"),v.fillStyle=$,v.fillRect(0,0,R,M),p.beforeDraw&&p.beforeDraw.call(this,v,g),!this.aborted&&(v.save(),v.translate(R/2,M/2),v.rotate(i*Math.PI/180),v.scale(s,u),v.drawImage.apply(v,[h].concat(z)),v.restore(),p.drew&&p.drew.call(this,v,g),!this.aborted)){var G=function(e){t.aborted||t.done({naturalWidth:n,naturalHeight:r,result:e})};g.toBlob?g.toBlob(G,p.mimeType,p.quality):G(c(g.toDataURL(p.mimeType,p.quality)))}}},{key:"done",value:function(e){var t=e.naturalWidth,n=e.naturalHeight,r=e.result,o=this.file,i=this.image,a=this.options;if(B&&!a.checkOrientation&&B.revokeObjectURL(i.src),r)if(a.strict&&r.size>o.size&&a.mimeType===o.type&&!(a.width>t||a.height>n||a.minWidth>t||a.minHeight>n||a.maxWidth<t||a.maxHeight<n))r=o;else{var s=new Date;r.lastModified=s.getTime(),r.lastModifiedDate=s,r.name=o.name,r.name&&r.type!==o.type&&(r.name=r.name.replace(E,v(r.type)))}else r=o;this.result=r,a.success&&a.success.call(this,r)}},{key:"fail",value:function(e){var t=this.options;if(!t.error)throw e;t.error.call(this,e)}},{key:"abort",value:function(){this.aborted||(this.aborted=!0,this.reader?this.reader.abort():this.image.complete?this.fail(new Error("The compression process has been aborted.")):(this.image.onload=null,this.image.onabort()))}}],[{key:"noConflict",value:function(){return window.Compressor=j,e}},{key:"setDefaults",value:function(e){a(u,e)}}]),e}()}()},57423:function(e,t,n){"use strict";var r=this&&this.__extends||function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),o=this&&this.__assign||function(){return(o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},i=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),a=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}
1),s=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&i(t,e,n);return a(t,e),t};Object.defineProperty(t,"__esModule",{value:!0});var c=s(n(67294)),l=s(n(73935)),u=n(316),f=200,d=function(e){function t(t){var n=e.call(this,t)||this;return n.listRef=c.createRef(),n.ghostRef=c.createRef(),n.topOffsets=[],n.itemTranslateOffsets=[],n.initialYOffset=0,n.lastScroll=0,n.lastYOffset=0,n.lastListYOffset=0,n.needle=-1,n.afterIndex=-2,n.state={itemDragged:-1,itemDraggedOutOfBounds:-1,selectedItem:-1,initialX:0,initialY:0,targetX:0,targetY:0,targetHeight:0,targetWidth:0,liveText:"",scrollingSpeed:0,scrollWindow:!1},n.doScrolling=function(){var e=n.state,t=e.scrollingSpeed,r=e.scrollWindow,o=n.listRef.current;window.requestAnimationFrame((function(){r?window.scrollTo(window.pageXOffset,window.pageYOffset+1.5*t):o.scrollTop+=t,0!==t&&n.doScrolling()}))},n.getChildren=function(){return n.listRef&&n.listRef.current?Array.from(n.listRef.current.children):(console.warn("No items found in the List container. Did you forget to pass & spread the `props` param in renderList?"),[])},n.calculateOffsets=function(){n.topOffsets=n.getChildren().map((function(e){return e.getBoundingClientRect().top})),n.itemTranslateOffsets=n.getChildren().map((function(e){return u.getTranslateOffset(e)}))},n.getTargetIndex=function(e){return n.getChildren().findIndex((function(t){return t===e.target||t.contains(e.target)}))},n.onMouseOrTouchStart=function(e){n.dropTimeout&&n.state.itemDragged>-1&&(window.clearTimeout(n.dropTimeout),n.finishDrop());var t=u.isTouchEvent(e);
1if(t||0===e.button){var r=n.getTargetIndex(e);if(-1===r||n.props.values[r]&&n.props.values[r].disabled)-1!==n.state.selectedItem&&(n.setState({selectedItem:-1}),n.finishDrop());else{var o=n.getChildren()[r],i=o.querySelector("[data-movable-handle]");if((!i||i.contains(e.target))&&!u.checkIfInteractive(e.target,o)){if(e.preventDefault(),n.props.beforeDrag&&n.props.beforeDrag({elements:n.getChildren(),index:r}),t){var a={passive:!1};o.style.touchAction="none",document.addEventListener("touchend",n.schdOnEnd,a),document.addEventListener("touchmove",n.schdOnTouchMove,a),document.addEventListener("touchcancel",n.schdOnEnd,a)}else{document.addEventListener("mousemove",n.schdOnMouseMove),document.addEventListener("mouseup",n.schdOnEnd);var s=n.getChildren()[n.state.itemDragged];s&&s.style&&(s.style.touchAction="")}n.onStart(o,t?e.touches[0].clientX:e.clientX,t?e.touches[0].clientY:e.clientY,r)}}}},n.getYOffset=function(){var e=n.listRef.current?n.listRef.current.scrollTop:0;return window.pageYOffset+e},n.onStart=function(e,t,r,o){n.state.selectedItem>-1&&(n.setState({selectedItem:-1}),n.needle=-1);var i=e.getBoundingClientRect(),a=window.getComputedStyle(e);n.calculateOffsets(),n.initialYOffset=n.getYOffset(),n.lastYOffset=window.pageYOffset,n.lastListYOffset=n.listRef.current.scrollTop,n.setState({itemDragged:o,targetX:i.left-parseInt(a["margin-left"],10),targetY:i.top-parseInt(a["margin-top"],10),targetHeight:i.height,targetWidth:i.width,initialX:t,initialY:r})},n.onMouseMove=function(e){e.cancelable&&e.preventDefault(),n.onMove(e.clientX,e.clientY)},n.onTouchMove=function(e){e.cancelable&&e.preventDefault(),n.onMove(e.touches[0].clientX,e.touches[0].clientY)},n.onWheel=function(e){n.state.itemDragged<0||(n.lastScroll=n.listRef.current.scrollTop+=e.deltaY,n.moveOtherItems())},n.onMove=function(e,t){if(-1===n.state.itemDragged)return null;u.transformItem(n.ghostRef.current,t-n.state.initialY,n.props.lockVertically?0:e-n.state.initialX),n.autoScrolling(t),n.moveOtherItems()},n.moveOtherItems=function(){var e=n.ghostRef.current.getBoundingClientRect(),t=e.top+e.height/2,r=u.getTranslateOffset(n.getChildren()[n.state.itemDragged]),o=n.getYOffset();n.initialYOffset!==o&&(n.topOffsets=n.topOffsets.map((function(e){return e-(o-n.initialYOffset)})),n.initialYOffset=o),n.isDraggedItemOutOfBounds()&&n.props.removableByMove?n.afterIndex=n.topOffsets.length+1:n.afterIndex=u.binarySearch(n.topOffsets,t),n.animateItems(-1===n.afterIndex?0:n.afterIndex,n.state.itemDragged,r)},n.autoScrolling=function(e){var t=n.listRef.current.getBoundingClientRect(),r=t.top,o=t.bottom,i=t.height,a=window.innerHeight||document.documentElement.clientHeight;if(o>a&&a-e<f)n.setState({scrollingSpeed:Math.round((f-(a-e))/10),scrollWindow:!0});else if(r<0&&e<f)n.setState({scrollingSpeed:Math.round((f-e)/-10),scrollWindow:!0});else if(n.state.scrollWindow&&0!==n.state.scrollingSpeed&&n.setState({scrollingSpeed:0,scrollWindow:!1}),i+20<n.listRef.current.scrollHeight){var s=0;e-r<f?s=Math.round((f-(e-r))/-10):o-e<f&&(s=Math.round((f-(o-e))/10)),n.state.scrollingSpeed!==s&&n.setState({scrollingSpeed:s})}},n.animateItems=function(e,t,r,o){void 0===o&&(o=!1),n.getChildren().forEac
1h((function(i,a){if(u.setItemTransition(i,n.props.transitionDuration),t===a&&o){if(t===e)return u.transformItem(i,null);u.transformItem(i,t<e?n.itemTranslateOffsets.slice(t+1,e+1).reduce((function(e,t){return e+t}),0):-1*n.itemTranslateOffsets.slice(e,t).reduce((function(e,t){return e+t}),0))}else t<e&&a>t&&a<=e?u.transformItem(i,-r):a<t&&t>e&&a>=e?u.transformItem(i,r):u.transformItem(i,null)}))},n.isDraggedItemOutOfBounds=function(){var e=n.getChildren()[n.state.itemDragged].getBoundingClientRect(),t=n.ghostRef.current.getBoundingClientRect();return Math.abs(e.left-t.left)>t.width?(-1===n.state.itemDraggedOutOfBounds&&n.setState({itemDraggedOutOfBounds:n.state.itemDragged}),!0):(n.state.itemDraggedOutOfBounds>-1&&n.setState({itemDraggedOutOfBounds:-1}),!1)},n.onEnd=function(e){e.cancelable&&e.preventDefault(),document.removeEventListener("mousemove",n.schdOnMouseMove),document.removeEventListener("touchmove",n.schdOnTouchMove),document.removeEventListener("mouseup",n.schdOnEnd),document.removeEventListener("touchup",n.schdOnEnd),document.removeEventListener("touchcancel",n.schdOnEnd);var t=n.props.removableByMove&&n.isDraggedItemOutOfBounds();!t&&n.props.transitionDuration>0&&-2!==n.afterIndex&&u.schd((function(){u.setItemTransition(n.ghostRef.current,n.props.transitionDuration,"cubic-bezier(.2,1,.1,1)"),n.afterIndex<1&&0===n.state.itemDragged?u.transformItem(n.ghostRef.current,0,0):u.transformItem(n.ghostRef.current,-(window.pageYOffset-n.lastYOffset)-(n.listRef.current.scrollTop-n.lastListYOffset)+(n.state.itemDragged<n.afterIndex?n.itemTranslateOffsets.slice(n.state.itemDragged+1,n.afterIndex+1).reduce((function(e,t){return e+t}),0):-1*n.itemTranslateOffsets.slice(n.afterIndex<0?0:n.afterIndex,n.state.itemDragged).reduce((function(e,t){return e+t}),0)),0)}))(),n.dropTimeout=window.setTimeout(n.finishDrop,t||-2===n.afterIndex?0:n.props.transitionDuration)},n.finishDrop=function(){var e=n.props.removableByMove&&n.isDraggedItemOutOfBounds();(e||n.afterIndex>-2&&n.state.itemDragged!==n.afterIndex)&&n.props.onChange({oldIndex:n.state.itemDragged,newIndex:e?-1:Math.max(n.afterIndex,0),targetRect:n.ghostRef.current.getBoundingClientRect()}
1),n.getChildren().forEach((function(e){u.setItemTransition(e,0),u.transformItem(e,null),e.style.touchAction=""})),n.setState({itemDragged:-1,scrollingSpeed:0}),n.afterIndex=-2,n.lastScroll>0&&(n.listRef.current.scrollTop=n.lastScroll,n.lastScroll=0)},n.onKeyDown=function(e){var t=n.state.selectedItem,r=n.getTargetIndex(e);if(!u.checkIfInteractive(e.target,e.currentTarget)&&-1!==r){if(" "===e.key&&(e.preventDefault(),t===r?(t!==n.needle&&(n.getChildren().forEach((function(e){u.setItemTransition(e,0),u.transformItem(e,null)})),n.props.onChange({oldIndex:t,newIndex:n.needle,targetRect:n.getChildren()[n.needle].getBoundingClientRect()}),n.getChildren()[n.needle].focus()),n.setState({selectedItem:-1,liveText:n.props.voiceover.dropped(t+1,n.needle+1)}),n.needle=-1):(n.setState({selectedItem:r,liveText:n.props.voiceover.lifted(r+1)}),n.needle=r,n.calculateOffsets())),("ArrowDown"===e.key||"j"===e.key)&&t>-1&&n.needle<n.props.values.length-1){e.preventDefault();var o=u.getTranslateOffset(n.getChildren()[t]);n.needle++,n.animateItems(n.needle,t,o,!0),n.setState({liveText:n.props.voiceover.moved(n.needle+1,!1)})}if(("ArrowUp"===e.key||"k"===e.key)&&t>-1&&n.needle>0){e.preventDefault();o=u.getTranslateOffset(n.getChildren()[t]);n.needle--,n.animateItems(n.needle,t,o,!0),n.setState({liveText:n.props.voiceover.moved(n.needle+1,!0)})}"Escape"===e.key&&t>
1-1&&(n.getChildren().forEach((function(e){u.setItemTransition(e,0),u.transformItem(e,null)})),n.setState({selectedItem:-1,liveText:n.props.voiceover.canceled(t+1)}),n.needle=-1),("Tab"===e.key||"Enter"===e.key)&&t>-1&&e.preventDefault()}},n.schdOnMouseMove=u.schd(n.onMouseMove),n.schdOnTouchMove=u.schd(n.onTouchMove),n.schdOnEnd=u.schd(n.onEnd),n}return r(t,e),t.prototype.componentDidMount=function(){this.calculateOffsets(),document.addEventListener("touchstart",this.onMouseOrTouchStart,{passive:!1,capture:!1}),document.addEventListener("mousedown",this.onMouseOrTouchStart)},t.prototype.componentDidUpdate=function(e,t){t.scrollingSpeed!==this.state.scrollingSpeed&&0===t.scrollingSpeed&&this.doScrolling()},t.prototype.componentWillUnmount=function(){document.removeEventListener("touchstart",this.onMouseOrTouchStart),document.removeEventListener("mousedown",this.onMouseOrTouchStart)},t.prototype.render=function(){var e=this,t={userSelect:"none",WebkitUserSelect:"none",MozUserSelect:"none",msUserSelect:"none",boxSizing:"border-box",position:"relative"},n=o(o({},t),{top:this.state.targetY,left:this.state.targetX,width:this.state.targetWidth,height:this.state.targetHeight,position:"fixed",marginTop:0});return c.createElement(c.Fragment,null,this.props.renderList({children:this.props.values.map((function(n,r){var i=r===e.state.itemDragged,a=r===e.state.selectedItem,s={key:r,tabIndex:e.props.values[r]&&e.props.values[r].disabled?-1:0,"aria-roledescription":e.props.voiceover.item(r+1),onKeyDown:e.onKeyDown,style:o(o({},t),{visibility:i?"hidden":void 0,zIndex:a?5e3:0}
1)};return e.props.renderItem({value:n,props:s,index:r,isDragged:!1,isSelected:a,isOutOfBounds:!1})})),isDragged:this.state.itemDragged>-1,props:{ref:this.listRef}}),this.state.itemDragged>-1&&l.createPortal(this.props.renderItem({value:this.props.values[this.state.itemDragged],props:{ref:this.ghostRef,style:n,onWheel:this.onWheel},index:this.state.itemDragged,isDragged:!0,isSelected:!1,isOutOfBounds:this.state.itemDraggedOutOfBounds>-1}),this.props.container||document.body),c.createElement("div",{"aria-live":"assertive",role:"log","aria-atomic":"true",style:{position:"absolute",width:"1px",height:"1px",margin:"-1px",border:"0px",padding:"0px",overflow:"hidden",clip:"rect(0px, 0px, 0px, 0px)",clipPath:"inset(100%)"}},this.state.liveText))},t.defaultProps={transitionDuration:300,lockVertically:!1,removableByMove:!1,voiceover:{item:function(e){return"You are currently at a draggable item at position "+e+". Press space bar to lift."},lifted:function(e){return"You have lifted item at position "+e+". Press j to move down, k to move up, space bar to drop and escape to cancel."},moved:function(e,t){return"You have moved the lifted item "+(t?"up":"down")+" to position "+e+". Press j to move down, k to move up, space bar to drop and escape to cancel."},dropped:function(e,t){return"You have dropped the item. It has moved from position "+e+" to "+t+"."},canceled:function(e){return"You have cancelled the movement. The item has returned to its starting position of "+e+"."}}},t}(c.Component);t.default=d},68231:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.arrayRemove=t.arrayMove=t.List=void 0;var o=r(n(57423));t.List=o.default;var i=n(316);Object.defineProperty(t,"arrayMove",{enumerable:!0,get:function(){return i.arrayMove}}),Object.defineProperty(t,"arrayRemove",{enumerable:!0,get:function(){return i.arrayRemove}})},316:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.checkIfInteractive=t.schd=t.binarySearch=t.setItemTransition=t.isItemTransformed=t.transformItem=t.isTouchEvent=t.getTranslateOffset=t.arrayRemove=t.arrayMove=void 0,t.arrayMove=function(e,t,n){return(e=e.slice()).splice(n<0?e.length+n:n,0,e.splice(t,1)[0]),e},t.arrayRemove=function(e,t){return(e=e.slice()).splice(t,1),e},t.getTranslateOffset=function(e){var t=window.getComputedStyle(e);return Math.max(parseInt(t["margin-top"],10),parseInt(t["margin-bottom"],10))+e.getBoundingClientRect().height},t.isTouchEvent=function(e){return e.touches&&e.touches.length||e.changedTouches&&e.changedTouches.length},t.transformItem=function(e,t,n){void 0===t&&(t=0),void 0===n&&(n=0),e&&(null!==t&&null!==n?e.style.transform="translate("+n+"px, "+t+"px)":e.style.removeProperty("transform"))},t.isItemTransformed=function(e){return!!e.style.transform},t.setItemTransition=function(e,t,n){e&&(e.style.transition="transform "+t+"ms"+(n?" "+n:""))},t.binarySearch=function(e,t){for(var n,r=0,o=e.length-1;r<=o;){if(!e[(n=Math.floor((o+r)/2))+1]||e[n]<=t&&e[n+1]>=t)return n;e[n]<t&&e[n+1]<t?r=n+1:o=n-1}return-1};t.schd=function(e){var t=[],n=null;return function(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];t=r,n||(n=requestAnimationFrame((function(){n=null,e.apply(void 0,t)})))}},t.checkIfInteractive=function(e,t){for(var n=["input","textarea","select","option","optgroup","video","audio","button","a"],r=["button","link","checkbox","tab"];e!==t;){if(e.getAttribute("data-movable-handle"))return!1;if(n.includes(e.tagName.toLowerCase()))return!0;var o=e.getAttribute("role");if(o&&r.includes(o.toLowerCase()))return!0;if("label"===e.tagName.toLowerCase()&&e.hasAttribute("for"))return!0;e.tagName&&(e=e.parentElement)}return!1}},14671:function(e,t,n){"use strict";var r=n(67294);function o(e){let t;const n=new Set,r=(e,r)=>{const o="function"===typeof e?e(t):e;if(o!==t){const e=t;t=r?o:Object.assign({}
1,t,o),n.forEach((n=>n(t,e)))}},o=()=>t,i={setState:r,getState:o,subscribe:(e,r,i)=>r||i?((e,r=o,i=Object.is)=>{let a=r(t);function s(){const n=r(t);if(!i(a,n)){const t=a;e(a=n,t)}}return n.add(s),()=>n.delete(s)})(e,r,i):(n.add(e),()=>n.delete(e)),destroy:()=>n.clear()};return t=e(r,o,i),i}const i="undefined"===typeof window||!window.navigator||/ServerSideRendering|^Deno\//.test(window.navigator.userAgent)?r.useEffect:r.useLayoutEffect;t.Z=function(e){const t="function"===typeof e?o(e):e,n=(e=t.getState,n=Object.is)=>{const[,o]=(0,r.useReducer)((e=>e+1),0),a=t.getState(),s=(0,r.useRef)(a),c=(0,r.useRef)(e),l=(0,r.useRef)(n),u=(0,r.useRef)(!1),f=(0,r.useRef)();let d;void 0===f.current&&(f.current=e(a));let h=!1;(s.current!==a||c.current!==e||l.current!==n||u.current)&&(d=e(a),h=!n(f.current,d)),i((()=>{h&&(f.current=d),s.current=a,c.current=e,l.current=n,u.current=!1}));const p=(0,r.useRef)(a);return i((()=>{const e=()=>{try{const e=t.getState(),n=c.current(e);l.current(f.current,n)||(s.current=e,f.current=n,o())}catch(e){u.current=!0,o()}},n=t.subscribe(e);return t.getState()!==p.current&&e(),n}),[]),h?d:f.current};return Object.assign(n,t),n[Symbol.iterator]=function(){console.warn("[useStore, api] = create() is deprecated and will be removed in v4");const e=[n,t];return{next(){const t=e.length<=0;return{value:e.shift(),done:t}}}},n}}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.