PageSourceSearch

https://www.liberationroute.com/_next/static/chunks/70.e30a5aa543f0c96aec4d.js

js liberationroute.com collected 2026-10-01 10:45:05 UTC 102,559 bytes, 1 lines download raw bytes

1(window.webpackJsonp_N_E=window.webpackJsonp_N_E||[]).push([[70,19,87],{"3qEC":function(e,t,r){"use strict";r.r(t);var n={};r.r(n),r.d(n,"FILE",(function(){return D})),r.d(n,"URL",(function(){return k})),r.d(n,"TEXT",(function(){return C}));var o=r("nKUr"),i=r("cpVT"),a=r("vJKn"),c=r.n(a),u=r("rg98"),s=r("q1tI"),l=r.n(s),d=r("/MKj"),f=r("kvAW");function p(e){var t=null;return function(){return null==t&&(t=e()),t}}function g(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}var h=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.entered=[],this.isNodeInDocument=t}var t,r,n;return t=e,(r=[{key:"enter",value:function(e){var t=this,r=this.entered.length;return this.entered=function(e,t){var r=new Set,n=function(e){return r.add(e)};e.forEach(n),t.forEach(n);var o=[];return r.forEach((function(e){return o.push(e)})),o}(this.entered.filter((function(r){return t.isNodeInDocument(r)&&(!r.contains||r.contains(e))})),[e]),0===r&&this.entered.length>0}},{key:"leave",value:function(e){var t=this.entered.length;return this.entered=function(e,t){return e.filter((function(e){return e!==t}))}(this.entered.filter(this.isNodeInDocument),e),t>0&&0===this.entered.length}},{key:"reset",value:function(){this.entered=[]}}])&&g(t.prototype,r),n&&g(t,n),e}(),v=p((function(){return/firefox/i.test(navigator.userAgent)})),b=p((function(){return Boolean(window.safari)}));function y(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}var O=function(){function e(t,r){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e);for(var n=t.length,o=[],i=0;i<n;i++)o.push(i);o.sort((function(e,r){return t[e]<t[r]?-1:1}));for(var a,c,u=[],s=[],l=[],d=0;d<n-1;d++)a=t[d+1]-t[d],c=r[d+1]-r[d],s.push(a),u.push(c),l.push(c/a);for(var f=[l[0]],p=0;p<s.length-1;p++){var g=l[p],h=l[p+1];if(g*h<=0)f.push(0);else{a=s[p];var v=s[p+1],b=a+v;f.push(3*b/((b+v)/g+(b+a)/h))}}f.push(l[l.length-1]);for(var y,O=[],m=[],j=0;j<f.length-1;j++){y=l[j];var w=f[j],S=1/s[j],D=w+f[j+1]-y-y;O.push((y-w-D)*S),m.push(D*S*S)}this.xs=t,this.ys=r,this.c1s=f,this.c2s=O,this.c3s=m}var t,r,n;return t=e,(r=[{key:"interpolate",value:function(e){var t=this.xs,r=this.ys,n=this.c1s,o=this.c2s,i=this.c3s,a=t.length-1;if(e===t[a])return r[a];for(var c,u=0,s=i.length-1;u<=s;){var l=t[c=Math.floor(.5*(u+s))];if(l<e)u=c+1;else{if(!(l>e))return r[c];s=c-1}}var d=e-t[a=Math.max(0,s)],f=d*d;return r[a]+n[a]*d+o[a]*f+i[a]*d*f}}])&&y(t.prototype,r),n&&y(t,n),e}();function m(e){var t=1===e.nodeType?e:e.parentElement;if(!t)return null;var r=t.getBoundingClientRect(),n=r.top;return{x:r.left,y:n}}function j(e){return{x:e.clientX,y:e.clientY}}function w(e,t,r,n,o){var i=function(e){var t;return"IMG"===e.nodeName&&(v()||!(null===(t=document.documentElement)||void 0===t?void 0:t.contains(e)))}(t),a=m(i?e:t),c={x:r.x-a.x,y:r.y-a.y},u=e.offsetWidth,s=e.offsetHeight,l=n.anchorX,d=n.anchorY,f=function(e,t,r,n){var o=e?t.width:r,i=e?t.height:n;return b()&&e&&(i/=window.devicePixelRatio,o/=window.devicePixelRatio),{dragPreviewWidth:o,dragPreviewHeight:i}}(i,t,u,s),p=f.dragPreviewWidth,g=f.dragPreviewHeight,h=o.offsetX,y=o.offsetY,j=0===y||y;return{x:0===h||h?h:new O([0,.5,1],[c.x,c.x/u*p,c.x+p-u]).interpolate(l),y:j?y:function(){var e=new O([0,.5,1],[c.y,c.y/s*g,c.y+g-s]).interpolate(d);return b()&&i&&(e+=(window.devicePixelRatio-1)*g),e}()}}var S,D="__NATIVE_FILE__",k="__NATIVE_URL__",C="__NATIVE_TEXT__";function P(e,t,r){var n=t.reduce((function(t,r){return t||e.getData(r)}),"");return null!=n?n:r}function T(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var I=(T(S={},D,{exposeProperties:{files:function(e){return Array.prototype.slice.call(e.files)},items:function(e){return e.items}},matchesTypes:["Files"]}),T(S,k,{exposeProperties:{urls:function(e,t){return P(e,t,"").split("\n")}}
1,matchesTypes:["Url","text/uri-list"]}),T(S,C,{exposeProperties:{text:function(e,t){return P(e,t,"")}},matchesTypes:["Text","text/plain"]}),S);function x(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}var E=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.config=t,this.item={},this.initializeExposedProperties()}var t,r,n;return t=e,(r=[{key:"initializeExposedProperties",value:function(){var e=this;Object.keys(this.config.exposeProperties).forEach((function(t){Object.defineProperty(e.item,t,{configurable:!0,enumerable:!0,get:function(){return console.warn("Browser doesn't allow reading \"".concat(t,'" until the drop event.')),null}})}))}},{key:"loadDataTransfer",value:function(e){var t=this;if(e){var r={};Object.keys(this.config.exposeProperties).forEach((function(n){r[n]={value:t.config.exposeProperties[n](e,t.config.matchesTypes),configurable:!0,enumerable:!0}})),Object.defineProperties(this.item,r)}}},{key:"canDrag",value:function(){return!0}},{key:"beginDrag",value:function(){return this.item}},{key:"isDragging",value:function(e,t){return t===e.getSourceId()}},{key:"endDrag",value:function(){}}])&&x(t.prototype,r),n&&x(t,n),e}();function N(e){if(!e)return null;var t=Array.prototype.slice.call(e.types||[]);return Object.keys(I).filter((function(e){return I[e].matchesTypes.some((function(e){return t.indexOf(e)>-1}))}))[0]||null}function M(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}var R=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.globalContext=t}var t,r,n;return t=e,(r=[{key:"window",get:function(){return this.globalContext?this.globalContext:"undefined"!==typeof window?window:void 0}},{key:"document",get:function(){if(this.window)return this.window.document}}])&&M(t.prototype,r),n&&M(t,n),e}();function A(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}function _(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?A(Object(r),!0).forEach((function(t){U(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):A(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function U(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function H(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}var z=function(){function e(t,r){var n=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.sourcePreviewNodes=new Map,this.sourcePreviewNodeOptions=new Map,this.sourceNodes=new Map,this.sourceNodeOptions=new Map,this.dragStartSourceIds=null,this.dropTargetIds=[],this.dragEnterTargetIds=[],this.currentNativeSource=null,this.currentNativeHandle=null,this.currentDragSourceNode=null,this.altKeyPressed=!1,this.mouseMoveTimeoutTimer=null,this.asyncEndDragFrameId=null,this.dragOverTargetIds=null,this.getSourceClientOffset=function(e){var t=n.sourceNodes.get(e);return t&&m(t)||null},this.endDragNativeItem=function(){n.isDraggingNativeItem()&&(n.actions.endDrag(),n.currentNativeHandle&&n.registry.removeSource(n.currentNativeHandle),n.currentNativeHandle=null,n.currentNativeSource=null)},this.isNodeInDocument=function(e){return Boolean(e&&n.document&&n.document.body&&document.body.contains(e))},this.endDragIfSourceWasRemovedFromDOM=function(){var e=n.currentDragSourceNode;n.isNodeInDocument(e)||n.clearCurrentDragSourceNode()&&n.actions.endDrag()},this.handleTopDragStartCapture=function(){n.clearCurrentDragSourceNode(),n.dragStartSourceIds=[]},this.handleTopDragStart=function(e){if(!e.defaultPrevented){var t=n.dragStartSourceIds;n.dragStartSourceIds=null;var r=j(e);
1n.monitor.isDragging()&&n.actions.endDrag(),n.actions.beginDrag(t||[],{publishSource:!1,getSourceClientOffset:n.getSourceClientOffset,clientOffset:r});var o=e.dataTransfer,i=N(o);if(n.monitor.isDragging()){if(o&&"function"===typeof o.setDragImage){var a=n.monitor.getSourceId(),c=n.sourceNodes.get(a),u=n.sourcePreviewNodes.get(a)||c;if(u){var s=n.getCurrentSourcePreviewNodeOptions(),l=w(c,u,r,{anchorX:s.anchorX,anchorY:s.anchorY},{offsetX:s.offsetX,offsetY:s.offsetY});o.setDragImage(u,l.x,l.y)}}try{null===o||void 0===o||o.setData("application/json",{})}catch(d){}n.setCurrentDragSourceNode(e.target),n.getCurrentSourcePreviewNodeOptions().captureDraggingState?n.actions.publishDragSource():setTimeout((function(){return n.actions.publishDragSource()}),0)}else if(i)n.beginDragNativeItem(i);else{if(o&&!o.types&&(e.target&&!e.target.hasAttribute||!e.target.hasAttribute("draggable")))return;e.preventDefault()}}},this.handleTopDragEndCapture=function(){n.clearCurrentDragSourceNode()&&n.actions.endDrag()},this.handleTopDragEnterCapture=function(e){if(n.dragEnterTargetIds=[],n.enterLeaveCounter.enter(e.target)&&!n.monitor.isDragging()){var t=e.dataTransfer,r=N(t);r&&n.beginDragNativeItem(r,t)}},this.handleTopDragEnter=function(e){var t=n.dragEnterTargetIds;(n.dragEnterTargetIds=[],n.monitor.isDragging())&&(n.altKeyPressed=e.altKey,v()||n.actions.hover(t,{clientOffset:j(e)}),t.some((function(e){return n.monitor.canDropOnTarget(e)}))&&(e.preventDefault(),e.dataTransfer&&(e.dataTransfer.dropEffect=n.getCurrentDropEffect())))},this.handleTopDragOverCapture=function(){n.dragOverTargetIds=[]},this.handleTopDragOver=function(e){var t=n.dragOverTargetIds;if(n.dragOverTargetIds=[],!n.monitor.isDragging())return e.preventDefault(),void(e.dataTransfer&&(e.dataTransfer.dropEffect="none"));n.altKeyPressed=e.altKey,n.actions.hover(t||[],{clientOffset:j(e)}),(t||[]).some((function(e){return n.monitor.canDropOnTarget(e)}))?(e.preventDefault(),e.dataTransfer&&(e.dataTransfer.dropEffect=n.getCurrentDropEffect())):n.isDraggingNativeItem()?e.preventDefault():(e.preventDefault(),e.dataTransfer&&(e.dataTransfer.dropEffect="none"))},this.handleTopDragLeaveCapture=function(e){n.isDraggingNativeItem()&&e.preventDefault(),n.enterLeaveCounter.leave(e.target)&&n.isDraggingNativeItem()&&n.endDragNativeItem()},this.handleTopDropCapture=function(e){var t;(n.dropTargetIds=[],e.preventDefault(),n.isDraggingNativeItem())&&(null===(t=n.currentNativeSource)||void 0===t||t.loadDataTransfer(e.dataTransfer));n.enterLeaveCounter.reset()},this.handleTopDrop=function(e){var t=n.dropTargetIds;n.dropTargetIds=[],n.actions.hover(t,{clientOffset:j(e)}),n.actions.drop({dropEffect:n.getCurrentDropEffect()}),n.isDraggingNativeItem()?n.endDragNativeItem():n.endDragIfSourceWasRemovedFromDOM()},this.handleSelectStart=function(e){var t=e.target;"function"===typeof t.dragDrop&&("INPUT"===t.tagName||"SELECT"===t.tagName||"TEXTAREA"===t.tagName||t.isContentEditable||(e.preventDefault(),t.dragDrop()))},this.options=new R(r),this.actions=t.getActions(),this.monitor=t.getMonitor(),this.registry=t.getRegistry(),this.enterLeaveCounter=new h(this.isNodeInDocument)}var t,r,o;return t=e,(r=[{key:"profile",value:function(){var e,t;return{sourcePreviewNodes:this.sourcePreviewNodes.size,sourcePreviewNodeOptions:this.sourcePreviewNodeOptions.size,sourceNodeOptions:this.sourceNodeOptions.size,sourceNodes:this.sourceNodes.size,dragStartSourceIds:(null===(e=this.dragStartSourceIds)||void 0===e?void 0:e.length)||0,dropTargetIds:this.dropTargetIds.length,dragEnterTargetIds:this.dragEnterTargetIds.length,dragOverTargetIds:(null===(t=this.dragOverTargetIds)||void 0===t?void 0:t.length)||0}}},{key:"setup",value:function(){if(void 0!==this.window){if(this.window.__isReactDndBackendSetUp)throw new Error("Cannot have two HTML5 backends at the same time.");this.window.__isReactDndBackendSetUp=!0,this.addEventListeners(this.window)}}},{key:"teardown",value:function(){void 0!==this.window&&(this.window.__isReactDndBackendSetUp=!1,this.removeEventListeners(this.window),this.clearCurrentDragSourceNode(),this.asyncEndDragFrameId&&this.window.cancelAnimationFrame(this.asyncEndDragFrameId))}},{key:"connectDragPreview",value:function(e,t,r){var n=this;return this.sourcePreviewNodeOptions.set(e,r),this.sourcePreviewNodes.set(e,t),function(){n.sourcePreviewNodes.delete(e),n.sourcePreviewNodeOptions.delete(e)}}},{key:"connectDragSource",value:function(e,t,r){var n=this;this.sourceNodes.set(e,t),this.sourceNodeOptions.set(e,r);var o=function(t){return n.handleDragStart(t,e)},i=function(e){return n.handleSelectStart(e)};return t.setAttribute("draggable","true"),t.addEventListener("dragstart",o),t.addEventListener("selectstart",i),function(){n.sourceNodes.delete(e),n.sourceNodeOptions.delete(e),t.removeEventListener("dragstart",o),t.removeEventListener("selectstart",i),t.setAttribute("draggable","false")}}},{key:"connectDropTarget",value:function(e,t){var r=this,n=function(t){return r.handleDragEnter(t,e)},o=function(t){return r.handleDragOver(t,e)},i=function(t){return r.handleDrop(t,e)};return t.addEventListener("dragenter",n),t.addEventListener("dragover",o),t.addEventListener("drop",i),function(){t.removeEventListener("dragenter",n),t.removeEventListener("dragover",o),t.removeEventListener("drop",i)}}},{key:"addEventListeners",value:function(e){e.addEventListener&&(e.addEventListener("dragstart",this.handleTopDragStart),e.addEventListener("dragstart",this.handleTopDragStartCapture,!0),e.addEventListener("dragend",this.handleTopDragEndCapture,!0),e.addEventListener("dragenter",this.handleTopDragEnter),e.addEventListener("dragenter",this.handleTopDragEnterCapture,!0),e.addEventListener("dragleave",this.handleTopDragLeaveCapture,!0),e.addEventListener("dragover",this.handleTopDragOver),e.addEventListener("dragover",this.handleTopDragOverCapture,!0),e.addEventListener("drop",this.handleTopDrop),e.addEventListener("drop",this.handleTopDropCapture,!0))}},{key:"removeEventListeners",value:function(e){e.removeEventListener&&(e.removeEventListener("dragstart",this.handleTopDragStart),e.removeEventListener("dragstart",this.handleTopDragStartCapture,!0),e.removeEventListener("dragend",this.handleTopDragEndCapture,!0),e.removeEventListener("dragenter",this.handleTopDragEnter),e.removeEventListener("dragenter",this.handleTopDragEnterCapture,!0),e.removeEventListener("dragleave",this.handleTopDragLeaveCapture,!0),e.removeEventListener("dragover",this.handleTopDragOver),e.removeEventListener("dragover",this.handleTopDragOverCapture,!0),e.removeEventListener("drop",this.handleTopDrop),e.removeEventListener("drop",this.handleTopDropCapture,!0))}},{key:"getCurrentSourceNodeOptions",value:function(){var e=this.monitor.getSourceId(),t=this.sourceNodeOptions.get(e);return _({dropEffect:this.altKeyPressed?"copy":"move"},t||{})}},{key:"getCurrentDropEffect",value:function(){return this.isDraggingNativeItem()?"copy":this.getCurrentSourceNodeOptions().dropEffect}},{key:"getCurrentSourcePreviewNodeOptions",value:function(){var e=this.monitor.getSourceId();
1return _({anchorX:.5,anchorY:.5,captureDraggingState:!1},this.sourcePreviewNodeOptions.get(e)||{})}},{key:"isDraggingNativeItem",value:function(){var e=this.monitor.getItemType();return Object.keys(n).some((function(t){return n[t]===e}))}},{key:"beginDragNativeItem",value:function(e,t){this.clearCurrentDragSourceNode(),this.currentNativeSource=function(e,t){var r=new E(I[e]);return r.loadDataTransfer(t),r}(e,t),this.currentNativeHandle=this.registry.addSource(e,this.currentNativeSource),this.actions.beginDrag([this.currentNativeHandle])}},{key:"setCurrentDragSourceNode",value:function(e){var t=this;this.clearCurrentDragSourceNode(),this.currentDragSourceNode=e,this.mouseMoveTimeoutTimer=setTimeout((function(){return t.window&&t.window.addEventListener("mousemove",t.endDragIfSourceWasRemovedFromDOM,!0)}),1e3)}},{key:"clearCurrentDragSourceNode",value:function(){return!!this.currentDragSourceNode&&(this.currentDragSourceNode=null,this.window&&(this.window.clearTimeout(this.mouseMoveTimeoutTimer||void 0),this.window.removeEventListener("mousemove",this.endDragIfSourceWasRemovedFromDOM,!0)),this.mouseMoveTimeoutTimer=null,!0)}},{key:"handleDragStart",value:function(e,t){e.defaultPrevented||(this.dragStartSourceIds||(this.dragStartSourceIds=[]),this.dragStartSourceIds.unshift(t))}},{key:"handleDragEnter",value:function(e,t){this.dragEnterTargetIds.unshift(t)}},{key:"handleDragOver",value:function(e,t){null===this.dragOverTargetIds&&(this.dragOverTargetIds=[]),this.dragOverTargetIds.unshift(t)}},{key:"handleDrop",value:function(e,t){this.dropTargetIds.unshift(t)}},{key:"window",get:function(){return this.options.window}},{key:"document",get:function(){return this.options.document}}])&&H(t.prototype,r),o&&H(t,o),e}(),B=function(e,t){return new z(e,t)},$=r("RsOY"),F=r.n($),G=r("8fUQ"),W=r("zM5D"),V=r("l2NH"),K=r("9Xry"),q=r("17x9"),Y=r.n(q);function J(){return(J=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)}function X(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var Z=Object(s.forwardRef)((function(e,t){var r=e.color,n=e.size,o=X(e,["color","size"]);return l.a.createElement("svg",J({ref:t,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",width:n,height:n,fill:r},o),l.a.createElement("path",{fillRule:"evenodd",d:"M12.5 15a.5.5 0 0 1-.5-.5v-13a.5.5 0 0 1 1 0v13a.5.5 0 0 1-.5.5zM10 8a.5.5 0 0 1-.5.5H3.707l2.147 2.146a.5.5 0 0 1-.708.708l-3-3a.5.5 0 0 1 0-.708l3-3a.5.5 0 1 1 .708.708L3.707 7.5H9.5a.5.5 0 0 1 .5.5z"}))}));
1Z.propTypes={color:Y.a.string,size:Y.a.oneOfType([Y.a.string,Y.a.number])},Z.defaultProps={color:"currentColor",size:"1em"};var Q=Z,ee=r("FVWk"),te=r("YFqc"),re=r.n(te),ne=r("xm5f"),oe=r("s3BB"),ie=r("nOLx"),ae=r("LDU0"),ce=r("xvhg"),ue=r("aKzv"),se="undefined"!==typeof window?s.useLayoutEffect:s.useEffect;function le(e,t,r,n){var o=r?r.call(n,e,t):void 0;if(void 0!==o)return!!o;if(e===t)return!0;if("object"!==typeof e||!e||"object"!==typeof t||!t)return!1;var i=Object.keys(e),a=Object.keys(t);if(i.length!==a.length)return!1;for(var c=Object.prototype.hasOwnProperty.bind(t),u=0;u<i.length;u++){var s=i[u];if(!c(s))return!1;var l=e[s],d=t[s];if(!1===(o=r?r.call(n,l,d,s):void 0)||void 0===o&&l!==d)return!1}return!0}function de(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"===typeof Symbol||!(Symbol.iterator in Object(e)))return;var r=[],n=!0,o=!1,i=void 0;try{for(var a,c=e[Symbol.iterator]();!(n=(a=c.next()).done)&&(r.push(a.value),!t||r.length!==t);n=!0);}catch(u){o=!0,i=u}finally{try{n||null==c.return||c.return()}finally{if(o)throw i}}return r}(e,t)||function(e,t){if(!e)return;if("string"===typeof e)return fe(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return fe(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function fe(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function pe(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"===typeof Symbol||!(Symbol.iterator in Object(e)))return;var r=[],n=!0,o=!1,i=void 0;try{for(var a,c=e[Symbol.iterator]();!(n=(a=c.next()).done)&&(r.push(a.value),!t||r.length!==t);n=!0);}catch(u){o=!0,i=u}finally{try{n||null==c.return||c.return()}finally{if(o)throw i}}return r}(e,t)||function(e,t){if(!e)return;if("string"===typeof e)return ge(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return ge(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ge(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function he(e,t,r){var n=pe(function(e,t,r){var n=de(Object(s.useState)((function(){return t(e)})),2),o=n[0],i=n[1],a=Object(s.useCallback)((function(){var n=t(e);le(o,n)||(i(n),r&&r())}),[o,e,r]);return se(a,[]),[o,a]}(e,t,r),2),o=n[0],i=n[1];return se((function(){var t=e.getHandlerId();if(null!=t)return e.subscribeToStateChange(i,{handlerIds:[t]})}),[e,i]),o}var ve=r("Lmng");function be(){var e=Object(s.useContext)(ve.a).dragDropManager;return Object(ue.a)(null!=e,"Expected drag drop context"),e}function ye(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}var Oe=!1,me=!1,je=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.sourceId=null,this.internalMonitor=t.getMonitor()}var t,r,n;return t=e,(r=[{key:"receiveHandlerId",value:function(e){this.sourceId=e}},{key:"getHandlerId",value:function(){return this.sourceId}},{key:"canDrag",value:function(){Object(ue.a)(!Oe,"You may not call monitor.canDrag() inside your canDrag() implementation. Read more: http://react-dnd.github.io/react-dnd/docs/api/drag-source-monitor");try{return Oe=!0,this.internalMonitor.canDragSource(this.sourceId)}finally{Oe=!1}}},{key:"isDragging",value:function(){if(!this.sourceId)return!1;Object(ue.a)(!me,"You may not call monitor.isDragging() inside your isDragging() implementation. Read more: http://react-dnd.github.io/react-dnd/docs/api/drag-source-monitor");try{return me=!0,this.internalMonitor.isDraggingSource(this.sourceId)}finally{me=!1}}},{key:"subscribeToStateChange",value:function(e,t){return this.internalMonitor.subscribeToStateChange(e,t)}},{key:"isDraggingSource",value:function(e){return this.internalMonitor.isDraggingSource(e)}},{key:"isOverTarget",value:function(e,t){return this.internalMonitor.isOverTarget(e,t)}},{key:"getTargetIds",value:function(){return this.internalMonitor.getTargetIds()}},{key:"isSourcePublic",value:function(){return this.internalMonitor.isSourcePublic()}},{key:"getSourceId",value:function(){return this.internalMonitor.getSourceId()}},{key:"subscribeToOffsetChange",value:function(e){return this.internalMonitor.subscribeToOffsetChange(e)}},{key:"canDragSource",value:function(e){return this.internalMonitor.canDragSource(e)}},{key:"canDropOnTarget",value:function(e){return this.internalMonitor.canDropOnTarget(e)}},{key:"getItemType",value:function(){return this.internalMonitor.getItemType()}},{key:"getItem",value:function(){return this.internalMonitor.getItem()}},{key:"getDropResult",value:function(){return this.internalMonitor.getDropResult()}},{key:"didDrop",value:function(){return this.internalMonitor.didDrop()}},{key:"getInitialClientOffset",value:function(){return this.internalMonitor.getInitialClientOffset()}},{key:"getInitialSourceClientOffset",value:function(){return this.internalMonitor.getInitialSourceClientOffset()}},{key:"getSourceClientOffset",value:function(){return this.internalMonitor.getSourceClientOffset()}},{key:"getClientOffset",value:function(){return this.internalMonitor.getClientOffset()}},{key:"getDifferenceFromInitialOffset",value:function(){return this.internalMonitor.getDifferenceFromInitialOffset()}}])&&ye(t.prototype,r),n&&ye(t,n),e}();function we(e,t){"function"===typeof e?e(t):e.current=t}function Se(e,t){var r=e.ref;return Object(ue.a)("string"!==typeof r,"Cannot connect React DnD to an element with an existing string ref. Please convert it to use a callback ref instead, or wrap it into a <span> or <div>. Read more: https://facebook.github.io/react/docs/more-about-refs.html#the-ref-callback-attribute"),r?Object(s.cloneElement)(e,{ref:function(e){we(r,e),we(t,e)}}):Object(s.cloneElement)(e,{ref:t})}function De(e){if("string"!==typeof e.type){var t=e.type.displayName||e.type.name||"the component";throw new Error("Only native element nodes can now be passed to React DnD connectors."+"You can either wrap ".concat(t," into a <div>, or turn it into a ")+"drag source or a drop target itself.")}}function ke(e){var t={};return Object.keys(e).forEach((function(r){var n=e[r];if(r.endsWith("Ref"))t[r]=e[r];else{var o=function(e){return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(!Object(s.isValidElement)(t)){var n=t;return e(n,r),n}var o=t;return De(o),Se(o,r?function(t){return e(t,r)}:e)}}(n);t[r]=function(){return o}}})),t}function Ce(e){return(Ce="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Pe(e){return null!==e&&"object"===Ce(e)&&Object.prototype.hasOwnProperty.call(e,"current")}function Te(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}var Ie=function(){function e(t){var r=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.hooks=ke({dragSource:function(e,t){r.clearDragSource(),r.dragSourceOptions=t||null,Pe(e)?r.dragSourceRef=e:r.dragSourceNode=e,r.reconnectDragSource()},dragPreview:function(e,t){r.clearDragPreview(),r.dragPreviewOptions=t||null,Pe(e)?r.dragPreviewRef=e:r.dragPreviewNode=e,r.reconnectDragPreview()}}),this.handlerId=null,this.dragSourceRef=null,this.dragSourceOptionsInternal=null,this.dragPreviewRef=null,this.dragPreviewOptionsInternal=null,this.lastConnectedHandlerId=null,this.lastConnectedDragSource=null,this.lastConnectedDragSourceOptions=null,this.lastConnectedDragPreview=null,this.lastConnectedDragPreviewOptions=null,this.backend=t}var t,r,n;return t=e,(r=[{key:"receiveHandlerId",value:function(e){this.handlerId!==e&&(this.handlerId=e,this.reconnect())}},{key:"reconnect",value:function(){this.reconnectDragSource(),this.reconnectDragPreview()}},{key:"reconnectDragSource",value:function(){var e=this.dragSource,t=this.didHandlerIdChange()||this.didConnectedDragSourceChange()||this.didDragSourceOptionsChange();t&&this.disconnectDragSource(),this.handlerId&&(e?t&&(this.lastConnectedHandlerId=this.handlerId,this.lastConnectedDragSource=e,this.lastConnectedDragSourceOptions=this.dragSourceOptions,this.dragSourceUnsubscribe=this.backend.connectDragSource(this.handlerId,e,this.dragSourceOptions)):this.lastConnectedDragSource=e)}},{key:"reconnectDragPreview",value:function(){var e=this.dragPreview,t=this.didHandlerIdChange()||this.didConnectedDragPreviewChange()||this.didDragPreviewOptionsChange();t&&this.disconnectDragPreview(),this.handlerId&&(e?t&&(this.lastConnectedHandlerId=this.handlerId,this.lastConnectedDragPreview=e,this.lastConnectedDragPreviewOptions=this.dragPreviewOptions,this.dragPreviewUnsubscribe=this.backend.connectDragPreview(this.handlerId,e,this.dragPreviewOptions)):this.lastConnectedDragPreview=e)}},{key:"didHandlerIdChange",value:function(){return this.lastConnectedHandlerId!==this.handlerId}},{key:"didConnectedDragSourceChange",value:function(){return this.lastConnectedDragSource!==this.dragSource}},{key:"didConnectedDragPreviewChange",value:function(){return this.lastConnectedDragPreview!==this.dragPreview}}
1,{key:"didDragSourceOptionsChange",value:function(){return!le(this.lastConnectedDragSourceOptions,this.dragSourceOptions)}},{key:"didDragPreviewOptionsChange",value:function(){return!le(this.lastConnectedDragPreviewOptions,this.dragPreviewOptions)}},{key:"disconnectDragSource",value:function(){this.dragSourceUnsubscribe&&(this.dragSourceUnsubscribe(),this.dragSourceUnsubscribe=void 0)}},{key:"disconnectDragPreview",value:function(){this.dragPreviewUnsubscribe&&(this.dragPreviewUnsubscribe(),this.dragPreviewUnsubscribe=void 0,this.dragPreviewNode=null,this.dragPreviewRef=null)}},{key:"clearDragSource",value:function(){this.dragSourceNode=null,this.dragSourceRef=null}},{key:"clearDragPreview",value:function(){this.dragPreviewNode=null,this.dragPreviewRef=null}},{key:"connectTarget",get:function(){return this.dragSource}},{key:"dragSourceOptions",get:function(){return this.dragSourceOptionsInternal},set:function(e){this.dragSourceOptionsInternal=e}},{key:"dragPreviewOptions",get:function(){return this.dragPreviewOptionsInternal},set:function(e){this.dragPreviewOptionsInternal=e}},{key:"dragSource",get:function(){return this.dragSourceNode||this.dragSourceRef&&this.dragSourceRef.current}},{key:"dragPreview",get:function(){return this.dragPreviewNode||this.dragPreviewRef&&this.dragPreviewRef.current}}])&&Te(t.prototype,r),n&&Te(t,n),e}();function xe(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"===typeof Symbol||!(Symbol.iterator in Object(e)))return;var r=[],n=!0,o=!1,i=void 0;try{for(var a,c=e[Symbol.iterator]();!(n=(a=c.next()).done)&&(r.push(a.value),!t||r.length!==t);n=!0);}catch(u){o=!0,i=u}finally{try{n||null==c.return||c.return()}finally{if(o)throw i}}return r}(e,t)||function(e,t){if(!e)return;if("string"===typeof e)return Ee(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Ee(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Ee(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function Ne(e){return(Ne="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Le(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"===typeof Symbol||!(Symbol.iterator in Object(e)))return;var r=[],n=!0,o=!1,i=void 0;try{for(var a,c=e[Symbol.iterator]();!(n=(a=c.next()).done)&&(r.push(a.value),!t||r.length!==t);n=!0);}catch(u){o=!0,i=u}finally{try{n||null==c.return||c.return()}finally{if(o)throw i}}return r}(e,t)||function(e,t){if(!e)return;if("string"===typeof e)return Me(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Me(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Me(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function Re(e){var t=Object(s.useRef)(e);t.current=e,Object(ue.a)(null!=e.item,"item must be defined"),Object(ue.a)(null!=e.item.type,"item type must be defined");var r=Le(function(){var e=be();return[Object(s.useMemo)((function(){return new je(e)}),[e]),Object(s.useMemo)((function(){return new Ie(e.getBackend())}),[e])]}(),2),n=r[0],o=r[1];!function(e,t,r){var n=be(),o=Object(s.useMemo)((function(){return{beginDrag:function(){var r=e.current,n=r.begin,o=r.item;if(n){var i=n(t);return Object(ue.a)(null==i||"object"===Ne(i),"dragSpec.begin() must either return an object, undefined, or null"),i||o||{}}return o||{}},canDrag:function(){return"boolean"===typeof e.current.canDrag?e.current.canDrag:"function"!==typeof e.current.canDrag||e.current.canDrag(t)},isDragging:function(r,n){var o=e.current.isDragging;return o?o(t):n===r.getSourceId()},endDrag:function(){var n=e.current.end;n&&n(t.getItem(),t),r.reconnect()}}}),[]);se((function(){var i=xe(function(e,t,r){var n=r.getRegistry(),o=n.addSource(e,t);return[o,function(){return n.removeSource(o)}]}(e.current.item.type,o,n),2),a=i[0],c=i[1];return t.receiveHandlerId(a),r.receiveHandlerId(a),c}),[])}(t,n,o);var i=he(n,t.current.collect||function(){return{}},(function(){return o.reconnect()})),a=Object(s.useMemo)((function(){return o.hooks.dragSource()}),[o]),c=Object(s.useMemo)((function(){return o.hooks.dragPreview()}),[o]);return se((function(){o.dragSourceOptions=t.current.options||null,o.reconnect()}),[o]),se((function(){o.dragPreviewOptions=t.current.previewOptions||null,o.reconnect()}),[o]),[i,a,c]}function Ae(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}var _e=function(){function e(t){var r=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.hooks=ke({dropTarget:function(e,t){r.clearDropTarget(),r.dropTargetOptions=t,Pe(e)?r.dropTargetRef=e:r.dropTargetNode=e,r.reconnect()}}),this.handlerId=null,this.dropTargetRef=null,this.dropTargetOptionsInternal=null,this.lastConnectedHandlerId=null,this.lastConnectedDropTarget=null,this.lastConnectedDropTargetOptions=null,this.backend=t}var t,r,n;return t=e,(r=[{key:"reconnect",value:function(){var e=this.didHandlerIdChange()||this.didDropTargetChange()||this.didOptionsChange();e&&this.disconnectDropTarget();var t=this.dropTarget;this.handlerId&&(t?e&&(this.lastConnectedHandlerId=this.handlerId,this.lastConnectedDropTarget=t,this.lastConnectedDropTargetOptions=this.dropTargetOptions,this.unsubscribeDropTarget=this.backend.connectDropTarget(this.handlerId,t,this.dropTargetOptions)):this.lastConnectedDropTarget=t)}},{key:"receiveHandlerId",value:function(e){e!==this.handlerId&&(this.handlerId=e,this.reconnect())}},{key:"didHandlerIdChange",value:function(){return this.lastConnectedHandlerId!==this.handlerId}},{key:"didDropTargetChange",value:function(){return this.lastConnectedDropTarget!==this.dropTarget}}
1,{key:"didOptionsChange",value:function(){return!le(this.lastConnectedDropTargetOptions,this.dropTargetOptions)}},{key:"disconnectDropTarget",value:function(){this.unsubscribeDropTarget&&(this.unsubscribeDropTarget(),this.unsubscribeDropTarget=void 0)}},{key:"clearDropTarget",value:function(){this.dropTargetRef=null,this.dropTargetNode=null}},{key:"connectTarget",get:function(){return this.dropTarget}},{key:"dropTargetOptions",get:function(){return this.dropTargetOptionsInternal},set:function(e){this.dropTargetOptionsInternal=e}},{key:"dropTarget",get:function(){return this.dropTargetNode||this.dropTargetRef&&this.dropTargetRef.current}}])&&Ae(t.prototype,r),n&&Ae(t,n),e}();function Ue(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}var He=!1,ze=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.targetId=null,this.internalMonitor=t.getMonitor()}var t,r,n;return t=e,(r=[{key:"receiveHandlerId",value:function(e){this.targetId=e}},{key:"getHandlerId",value:function(){return this.targetId}},{key:"subscribeToStateChange",value:function(e,t){return this.internalMonitor.subscribeToStateChange(e,t)}},{key:"canDrop",value:function(){if(!this.targetId)return!1;Object(ue.a)(!He,"You may not call monitor.canDrop() inside your canDrop() implementation. Read more: http://react-dnd.github.io/react-dnd/docs/api/drop-target-monitor");try{return He=!0,this.internalMonitor.canDropOnTarget(this.targetId)}finally{He=!1}}},{key:"isOver",value:function(e){return!!this.targetId&&this.internalMonitor.isOverTarget(this.targetId,e)}},{key:"getItemType",value:function(){return this.internalMonitor.getItemType()}},{key:"getItem",value:function(){return this.internalMonitor.getItem()}},{key:"getDropResult",value:function(){return this.internalMonitor.getDropResult()}},{key:"didDrop",value:function(){return this.internalMonitor.didDrop()}},{key:"getInitialClientOffset",value:function(){return this.internalMonitor.getInitialClientOffset()}},{key:"getInitialSourceClientOffset",value:function(){return this.internalMonitor.getInitialSourceClientOffset()}},{key:"getSourceClientOffset",value:function(){return this.internalMonitor.getSourceClientOffset()}},{key:"getClientOffset",value:function(){return this.internalMonitor.getClientOffset()}},{key:"getDifferenceFromInitialOffset",value:function(){return this.internalMonitor.getDifferenceFromInitialOffset()}}])&&Ue(t.prototype,r),n&&Ue(t,n),e}();function Be(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"===typeof Symbol||!(Symbol.iterator in Object(e)))return;var r=[],n=!0,o=!1,i=void 0;try{for(var a,c=e[Symbol.iterator]();!(n=(a=c.next()).done)&&(r.push(a.value),!t||r.length!==t);n=!0);}catch(u){o=!0,i=u}finally{try{n||null==c.return||c.return()}finally{if(o)throw i}}return r}(e,t)||function(e,t){if(!e)return;if("string"===typeof e)return $e(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return $e(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function $e(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function Fe(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"===typeof Symbol||!(Symbol.iterator in Object(e)))return;var r=[],n=!0,o=!1,i=void 0;try{for(var a,c=e[Symbol.iterator]();!(n=(a=c.next()).done)&&(r.push(a.value),!t||r.length!==t);n=!0);}catch(u){o=!0,i=u}finally{try{n||null==c.return||c.return()}finally{if(o)throw i}}return r}(e,t)||function(e,t){if(!e)return;if("string"===typeof e)return Ge(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Ge(e,t)}
1(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Ge(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function We(e){var t=Object(s.useRef)(e);t.current=e,Object(ue.a)(null!=e.accept,"accept must be defined");var r=Fe(function(){var e=be();return[Object(s.useMemo)((function(){return new ze(e)}),[e]),Object(s.useMemo)((function(){return new _e(e.getBackend())}),[e])]}(),2),n=r[0],o=r[1];!function(e,t,r){var n=be(),o=Object(s.useMemo)((function(){return{canDrop:function(){var r=e.current.canDrop;return!r||r(t.getItem(),t)},hover:function(){var r=e.current.hover;r&&r(t.getItem(),t)},drop:function(){var r=e.current.drop;if(r)return r(t.getItem(),t)}}}),[t]);se((function(){var i=Be(function(e,t,r){var n=r.getRegistry(),o=n.addTarget(e,t);return[o,function(){return n.removeTarget(o)}]}(e.current.accept,o,n),2),a=i[0],c=i[1];return t.receiveHandlerId(a),r.receiveHandlerId(a),c}),[t,r])}(t,n,o);var i=he(n,t.current.collect||function(){return{}},(function(){return o.reconnect()})),a=Object(s.useMemo)((function(){return o.hooks.dropTarget()}),[o]);return se((function(){o.dropTargetOptions=e.options||null,o.reconnect()}),[e.options]),[i,a]}function Ve(){return(Ve=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)}function Ke(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var qe=Object(s.forwardRef)((function(e,t){var r=e.color,n=e.size,o=Ke(e,["color","size"]);return l.a.createElement("svg",Ve({ref:t,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",width:n,height:n,fill:r},o),l.a.createElement("path",{fillRule:"evenodd",d:"M3.646 9.146a.5.5 0 0 1 .708 0L8 12.793l3.646-3.647a.5.5 0 0 1 .708.708l-4 4a.5.5 0 0 1-.708 0l-4-4a.5.5 0 0 1 0-.708zm0-2.292a.5.5 0 0 0 .708 0L8 3.207l3.646 3.647a.5.5 0 0 0 .708-.708l-4-4a.5.5 0 0 0-.708 0l-4 4a.5.5 0 0 0 0 .708z"}))}));
1qe.propTypes={color:Y.a.string,size:Y.a.oneOfType([Y.a.string,Y.a.number])},qe.defaultProps={color:"currentColor",size:"1em"};var Ye=qe,Je=r("LhEY"),Xe=r("v1gn"),Ze=function(e){var t=e.route,r=e.index,n=e.moveCard,i=e.onMouseOver,a=e.onMouseLeave,c=e.onDelete,u=Object(s.useRef)(null),l=Re({item:{type:"card"}}),d=Object(ce.a)(l,2)[1],f=We({accept:"card",hover:function(e,t){var o;if(u.current){var i=e.index,a=r;if(i!==a){var c=null===(o=u.current)||void 0===o?void 0:o.getBoundingClientRect(),s=(c.bottom-c.top)/2,l=t.getClientOffset().y-c.top;i<a&&l<s||i>a&&l>s||(n(i,a),e.index=a)}}}});return d((0,Object(ce.a)(f,2)[1])(u)),Object(o.jsxs)("div",{className:"w-100 d-flex align-items-center",ref:u,children:[Object(o.jsx)("span",{ref:d,role:"button",className:"p-2",children:Object(o.jsx)(Ye,{})}),Object(o.jsx)(Xe.a,{data:t,onMouseOver:function(){return i(t)},onMouseLeave:a,className:"card-hover w-100 m-2"}),Object(o.jsx)("button",{className:"btn btn-circle btn-light-green",onClick:function(){return c(t)},children:Object(o.jsx)(Je.a,{})})]})},Qe=r("FO1b"),et=function(e){var t=e.poi,r=e.index,n=e.moveCard,i=e.onMouseOver,a=e.onMouseLeave,c=e.onDelete,u=Object(s.useRef)(null),l=Re({item:{type:"card"}}),d=Object(ce.a)(l,2)[1],f=We({accept:"card",hover:function(e,t){var o;if(u.current){var i=e.index,a=r;if(i!==a){var c=null===(o=u.current)||void 0===o?void 0:o.getBoundingClientRect(),s=(c.bottom-c.top)/2,l=t.getClientOffset().y-c.top;i<a&&l<s||i>a&&l>s||(n(i,a),e.index=a)}}}});
1return d((0,Object(ce.a)(f,2)[1])(u)),Object(o.jsxs)("div",{className:"w-100 d-flex align-items-center",ref:u,children:[Object(o.jsx)("span",{ref:d,role:"button",className:"p-2",children:Object(o.jsx)(Ye,{})}),Object(o.jsx)(Qe.a,{data:t,onMouseOver:function(){return i(t)},onMouseLeave:a,className:"card-hover w-100 m-2"}),Object(o.jsx)("button",{className:"btn btn-circle btn-light-green",onClick:function(){return c(t)},children:Object(o.jsx)(Je.a,{})})]})},tt=r("NtN5"),rt=r("XtSs"),nt=r("Mvb0"),ot=r("dCQc"),it=r("g/vp"),at=r("bbZ8");function ct(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}function ut(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ct(Object(r),!0).forEach((function(t){Object(i.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ct(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}t.default=function(e){var t,r,n=e.id,i=Object(s.useState)(""),a=i[0],l=i[1],p=Object(s.useState)(),g=p[0],h=p[1],v=Object(s.useState)(),b=v[0],y=v[1],O=Object(s.useState)(!0),m=O[0],j=O[1],w=Object(s.useState)(null),S=w[0],D=w[1],k=Object(s.useState)(null),C=k[0],P=k[1],T=Object(s.useState)(),I=T[0],x=T[1],E=Object(d.c)((function(e){return e.currentTrip})),N=Object(d.b)(),M=Object(ne.b)().t,R=(null===S||void 0===S?void 0:S.properties.Name)||(null===C||void 0===C?void 0:C.title),A=((null===E||void 0===E||null===(t=E.route_ids)||void 0===t?void 0:t.length)||0)+((null===E||void 0===E||null===(r=E.poi_ids)||void 0===r?void 0:r.length)||0),_=(null===E||void 0===E?void 0:E.routes)||[],U=(null===E||void 0===E?void 0:E.pois)||[],H=_.reduce((function(e,t){var r;return e+(null===(r=t.properties)||void 0===r?void 0:r.Length_KM)}),0),z=function(){var e=Object(u.a)(c.a.mark((function e(){var t,r,o,i,a,u,s;return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(ot.y)(n);case 2:o=e.sent,N(Object(tt.h)(o)),l(o.name),x(o),(null===(t=o.routes)||void 0===t?void 0:t.length)+(null===(r=o.pois)||void 0===r?void 0:r.length)>0&&(u=new L.LatLngBounds,(null===(i=o.routes)||void 0===i?void 0:i.length)>0&&(s=o.routes.map((function(e){return{id:e.id,geometry:e.geometry,properties:e,type:"Feature"}})),u=L.geoJson(s).getBounds()),(null===(a=o.pois)||void 0===a?void 0:a.length)>0&&o.pois.forEach((function(e){null!==e&&void 0!==e&&e.lat&&null!==e&&void 0!==e&&e.lng&&u.extend([e.lat,e.lng])})),u&&N(Object(rt.b)({viewport:u})));case 7:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),$=function(){I&&E&&I!==E&&Object(ot.N)(E.id,{name:a,route_ids:E.route_ids||[],poi_ids:E.poi_ids||[]}),x(E)};Object(s.useEffect)((function(){return z(),function(){N(Object(tt.h)(null))}}),[]),Object(s.useEffect)((function(){(null!==E&&void 0!==E&&E.routes||null!==E&&void 0!==E&&E.pois)&&$()}),[E]),Object(s.useEffect)((function(){var e=setTimeout((function(){a.length>0&&(N(Object(tt.h)(ut(ut({},E),{},{name:a}))),$())}),1e3);return function(){clearTimeout(e)}}),[a]);var q=function(e){h("Feature"===e.type?e:{id:e.id,geometry:e.geometry,properties:e,type:"Feature"})},Y=function(){h(null)},J=function(e){N(Object(nt.b)({type:"poi",data:e}))},X=function(){N(Object(nt.b)(null))},Z=function(){var e=Object(u.a)(c.a.mark((function e(){var t,r;return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:null!==S&&void 0!==S&&S.id?(t=E.routes.filter((function(e){return e.id!==S.id})),N(Object(tt.h)(ut(ut({},E),{},{routes:t,route_ids:t.map((function(e){return e.id}))})))):null!==C&&void 0!==C&&C.id&&(r=E.pois.filter((function(e){return e.id!==C.id})),N(Object(tt.h)(ut(ut({},E),{},{pois:r,poi_ids:r.map((function(e){return e.id}))})))),te();case 2:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),te=function(){y(!1),D(null),P(null)},ce=function(e){y(!0),D(e)},ue=function(e){y(!0),P(e)},se=Object(s.useCallback)((function(e,t){if(void 0!==e&&void 0!==t){var r=_[e],n=F()(_,{$splice:[[e,1],[t,0,r]]});N(Object(tt.h)(ut(ut({},E),{},{routes:n,route_ids:n.map((function(e){return e.id}))}))),$()}}),[_]),le=Object(s.useCallback)((function(e,t){if(void 0!==e&&void 0!==t){var r=U[e],n=F()(U,{$splice:[[e,1],[t,0,r]]});N(Object(tt.h)(ut(ut({},E),{},{pois:n,poi_ids:n.map((function(e){return e.id}))}))),$()}}),[U]),de=function(){j((function(e){return!e}))};return Object(o.jsxs)(o.Fragment,{children:[g&&Object(o.jsx)(G.a,{data:g,color:"#9BC978"}),Object(o.jsxs)(oe.default,{position:"left",fullHeight:!0,className:"panel-trip-planner ".concat(m?"active":""),children:[Object(o.jsx)("div",{className:"d-sm-block d-md-none",onClick:de,children:Object(o.jsx)("div",{className:"panel-handler"})}),Object(o.jsx)("div",{className:"panel-trip-planner-toggle",children:m?Object(o.jsx)(V.a,{size:25,onClick:de}):Object(o.jsx)(K.a,{size:25,onClick:de})}),Object(o.jsxs)("div",{className:"row border-bottom",children:[Object(o.jsx)("div",{className:"col-1 col-md-1 py-3",children:Object(o.jsx)(re.a,{href:"/plan",children:Object(o.jsx)("a",{children:Object(o.jsx)(Q,{color:"#000",size:24})})})}),Object(o.jsxs)("div",{className:"col-11 col-md-11",children:[Object(o.jsx)("div",{className:"col-md-12 d-flex justify-content-between px-3",children:Object(o.jsx)("h3",{className:"w-75",children:Object(o.jsx)("input",{type:"text",name:"trip-name",className:"border-0 px-0 py-1 w-100",value:a,onChange:function(e){l(e.target.value)}})})}),(null===E||void 0===E?void 0:E.updated_at)&&Object(o.jsx)("div",{className:"col-md-12 mb-2",children:Object(o.jsxs)("p",{className:"text-small text-uppercase",children:[M("Last update")," ",new Date(null===E||void 0===E?void 0:E.updated_at).toLocaleDateString(void 0,{year:"numeric",month:"short",day:"numeric"})]})}),Object(o.jsxs)("div",{className:"col-md-12 d-flex justify-content-between mb-3 px-3",children:[Object(o.jsx)("h6",{children:Object(o.jsx)(ie.a,{km:H})}),(null===_||void 0===_?void 0:_.length)+U.length>0&&Object(o.jsx)("a",{href:"".concat(it.a,"/trips/").concat(n,"/export.gpx"),children:Object(o.jsx)(ae.a,{icon:Object(o.jsx)(ee.a,{}),onClick:function(){at.b({category:"trip",label:"".concat(null===E||void 0===E?void 0:E.id," - ").concat(null===E||void 0===E?void 0:E.name)})}})})]})]})]}),Object(o.jsx)("div",{className:"container",children:Object(o.jsxs)("div",{className:"row pannel-section",children:[E&&Object(o.jsxs)(o.Fragment,{children:[_.length+U.length>0?Object(o.jsxs)("p",{className:"text-small text-uppercase mt-4 mb-2 mx-2",children:[A||0," ",M(A>1?"places":"place")]}):Object(o.jsxs)("div",{className:"d-flex flex-column align-items-center p-5",children:[Object(o.jsx)("img",{src:"/img/route.svg",alt:"Trip planner"}),Object(o.jsx)("h3",{className:"text-secondary",children:M("You have created a trip!")}),Object(o.jsx)("p",{className:"text-center",children:M("Start by saving places you like, then organize your projects and view them on the map.")})]}),(null===_||void 0===_?void 0:_.length)>0&&Object(o.jsx)(f.a,{backend:B,children:null===_||void 0===_?void 0:_.map((function(e,t){return Object(o.jsx)(Ze,{index:t,route:e,onMouseOver:q,onMouseLeave:Y,onDelete:ce,moveCard:se},"plan_route_".concat(e.id))}))}),(null===U||void 0===U?void 0:U.length)>0&&Object(o.jsx)(f.a,{backend:B,children:null===U||void 0===U?void 0:U.map((function(e,t){if(e)return Object(o.jsx)(et,{index:t,poi:e,onMouseOver:J,onMouseLeave:X,onDelete:ue,moveCard:le},"plan_route_".concat(e.id))}))})]}),Object(o.jsxs)(W.a,{centered:!0,show:b,onHide:te,children:[Object(o.jsxs)(W.a.Body,{children:[Object(o.jsx)("h4",{children:M("Delete?")}),Object(o.jsx)("p",{children:M("Do you really want to delete the item {{item}} from the trip?",{item:R})})]}),Object(o.jsxs)(W.a.Footer,{children:[Object(o.jsx)("button",{className:"btn btn-outline-dark",onClick:te,children:M("Cancel")}),Object(o.jsx)("button",{className:"btn btn-dark",onClick:Z,children:M("Delete")})]})]})]})})]})]})}},"6ig4":function(e,t,r){"use strict";r.d(t,"c",(function(){return o}
1)),r.d(t,"b",(function(){return i}));var n=r("i5nl"),o={belgium:"BE",france:"FR",germany:"DE",italy:"IT",luxembourg:"LU",poland:"PL","czech-republic":"CZ","the-netherlands":"NL","united-kingdom":"UK","great-britain":"GB","united-states":"US",jersey:"JE",guernsey:"GG",nepal:"NP","new-zealand":"NZ"},i=function(e){var t,r;e=null===(t=e)||void 0===t?void 0:t.toUpperCase();var n=Object.keys(o).filter((function(t){return o[t]===e}));return(null===n||void 0===n?void 0:n.length)>0&&(r=n[0]),r};t.a=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"en";return[{name:Object(n.a)("belgium",e),id:"belgium"},{name:Object(n.a)("france",e),id:"france"},{name:Object(n.a)("germany",e),id:"germany"},{name:Object(n.a)("italy",e),id:"italy"},{name:Object(n.a)("luxembourg",e),id:"luxembourg"},{name:Object(n.a)("poland",e),id:"poland"},{name:Object(n.a)("czech-republic",e),id:"czech-republic"},{name:Object(n.a)("the-netherlands",e),id:"the-netherlands"},{name:Object(n.a)("united-kingdom",e),id:"united-kingdom"},{name:Object(n.a)("great-britain",e),id:"great-britain"},{name:Object(n.a)("united-states",e),id:"united-states"},{name:Object(n.a)("jersey",e),id:"jersey"},{name:Object(n.a)("guernsey",e),id:"guernsey"},{name:Object(n.a)("nepal",e),id:"nepal"},{name:Object(n.a)("new-zealand",e),id:"new-zealand"}]}},"6opA":function(e,t,r){"use strict";var n=r("cpVT"),o=r("nKUr");function i(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}function a(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach((function(t){Object(n.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}t.a=function(e){return Object(o.jsxs)("svg",a(a({width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),{},{children:[Object(o.jsx)("path",{d:"M13.3334 6.66671C13.3334 9.61224 8.00008 14.6667 8.00008 14.6667C8.00008 14.6667 2.66675 9.61224 2.66675 6.66671C2.66675 3.72119 5.05456 1.33337 8.00008 1.33337C10.9456 1.33337 13.3334 3.72119 13.3334 6.66671Z",stroke:"currentColor",strokeWidth:"1.5"}),Object(o.jsx)("path",{d:"M7.99992 7.33333C8.36812 7.33333 8.66659 7.03487 8.66659 6.66667C8.66659 6.29848 8.36812 6 7.99992 6C7.63172 6 7.33325 6.29848 7.33325 6.66667C7.33325 7.03487 7.63172 7.33333 7.99992 7.33333Z",fill:"currentColor",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]}))}},"7U46":function(e,t,r){"use strict";var n=r("nKUr"),o=r("cpVT");function i(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}function a(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach((function(t){Object(o.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var c=function(e){var t=e.iconUrl,r=e.color,o=e.variant,i=e.size,c=e.className;if(!t)return null;var u={backgroundColor:r,WebkitMaskImage:'url("'.concat(t,'")'),maskImage:'url("'.concat(t,'")')},s={borderColor:r};return"contained"===o&&(u.backgroundColor="#FFF",s.backgroundColor=r),"default"===o?(u=a(a({},u),{},{WebkitMaskRepeat:"no-repeat",maskRepeat:"no-repeat",WebkitMaskSize:"contain",maskSize:"contain",WebkitMaskPosition:"center",maskPosition:"center"}),Object(n.jsx)("div",{className:"icon ".concat(c),style:u})):Object(n.jsx)("div",{className:"category-icon ".concat("sm"===i&&"category-icon-sm"," ").concat(c),style:s,children:Object(n.jsx)("div",{style:u})})};c.defaultProps={color:"#000",variant:"outlined",className:""},t.a=c},FVWk:function(e,t,r){"use strict";var n=r("q1tI"),o=r.n(n),i=r("17x9"),a=r.n(i);function c(){return(c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];
1for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function u(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var s=Object(n.forwardRef)((function(e,t){var r=e.color,n=e.size,i=u(e,["color","size"]);return o.a.createElement("svg",c({ref:t,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",width:n,height:n,fill:r},i),o.a.createElement("path",{d:"M.5 9.9a.5.5 0 0 1 .5.5v2.5a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1v-2.5a.5.5 0 0 1 1 0v2.5a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2v-2.5a.5.5 0 0 1 .5-.5z"}),o.a.createElement("path",{d:"M7.646 11.854a.5.5 0 0 0 .708 0l3-3a.5.5 0 0 0-.708-.708L8.5 10.293V1.5a.5.5 0 0 0-1 0v8.793L5.354 8.146a.5.5 0 1 0-.708.708l3 3z"}))}));s.propTypes={color:a.a.string,size:a.a.oneOfType([a.a.string,a.a.number])},s.defaultProps={color:"currentColor",size:"1em"},t.a=s},JyEs:function(e,t,r){"use strict";var n=r("cpVT"),o=r("nKUr");function i(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}function a(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach((function(t){Object(n.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}t.a=function(e){return Object(o.jsxs)("svg",a(a({width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),{},{children:[Object(o.jsx)("path",{d:"M11.6667 5.06604L14.4678 7.99035L11.6667 10.7327",stroke:"currentColor",strokeWidth:"0.997143",strokeLinecap:"round",strokeLinejoin:"round"}),Object(o.jsx)("path",{d:"M3.80078 5.06604L0.999758 7.99035L3.80078 10.7327",stroke:"currentColor",strokeWidth:"0.997143",strokeLinecap:"round",strokeLinejoin:"round"}),Object(o.jsx)("path",{d:"M1.35132 8.01282L13.9079 8.01282",stroke:"currentColor"})]}))}},"L3+T":function(e,t,r){"use strict";var n=r("nKUr"),o=r("cpVT"),i=r("dhJC"),a=r("/MKj"),c=r("xm5f"),u=r("20a2"),s=r("LDU0"),l=r("hUk4"),d=r("4p2b"),f=r("bbZ8");function p(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}function g(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?p(Object(r),!0).forEach((function(t){Object(o.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):p(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}t.a=function(e){var t=e.data,r=e.variant,o=Object(i.a)(e,["data","variant"]),p=Object(a.c)((function(e){var r;return!(null===(r=e.bookmarks)||void 0===r||!r.routes.includes(t.id))})),h=Object(a.c)((function(e){return e.auth})),v=Object(u.useRouter)(),b=Object(a.b)(),y=Object(c.b)().t,O=function(){null===h.isAuthenticated||h.currentUser?(b(Object(d.e)({type:"routes",id:t.
1id})),f.a()):v.push({pathname:"/login",query:{next:v.asPath}})},m=function(){null===h.isAuthenticated||h.currentUser?b(Object(d.g)({type:"routes",id:t.id})):v.push({pathname:"/login",query:{next:v.asPath}})};return p?"text"===r?Object(n.jsxs)("div",{className:"px-3 text-center",children:[Object(n.jsx)(s.a,g({className:"active btn-text",icon:Object(n.jsx)(l.a,{}),onClick:m},o)),"text"===r&&Object(n.jsx)("p",{children:y("Bookmark")})]}):Object(n.jsx)(s.a,g({className:"active",icon:Object(n.jsx)(l.a,{width:16,height:16}),onClick:m},o)):"text"===r?Object(n.jsxs)("div",{className:"px-3 text-center",children:[Object(n.jsx)(s.a,g({className:"btn-text",icon:Object(n.jsx)(l.a,{}),onClick:O},o)),"text"===r&&Object(n.jsx)("p",{children:y("Bookmark")})]}):Object(n.jsx)(s.a,g({icon:Object(n.jsx)(l.a,{width:16,height:16}),onClick:O},o))}},LDU0:function(e,t,r){"use strict";var n=r("cpVT"),o=r("nKUr"),i=r("dhJC");function a(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}function c(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?a(Object(r),!0).forEach((function(t){Object(n.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):a(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var u=function(e){var t=e.icon,r=e.color,n=e.className,a=Object(i.a)(e,["icon","color","className"]),u={};return r&&(u={borderColor:r,color:r}),Object(o.jsx)("button",c(c({className:"btn btn-circle btn-white ".concat(n),style:u},a),{},{children:t}))};u.defaultProps={color:null,className:""},t.a=u},LhEY:function(e,t,r){"use strict";var n=r("q1tI"),o=r.n(n),i=r("17x9"),a=r.n(i);function c(){return(c=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)}function u(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var s=Object(n.forwardRef)((function(e,t){var r=e.color,n=e.size,i=u(e,["color","size"]);return o.a.createElement("svg",c({ref:t,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",width:n,height:n,fill:r},i),o.a.createElement("path",{d:"M5.5 5.5A.5.5 0 0 1 6 6v6a.5.5 0 0 1-1 0V6a.5.5 0 0 1 .5-.5zm2.5 0a.5.5 0 0 1 .5.5v6a.5.5 0 0 1-1 0V6a.5.5 0 0 1 .5-.5zm3 .5a.5.5 0 0 0-1 0v6a.5.5 0 0 0 1 0V6z"}),o.a.createElement("path",{fillRule:"evenodd",d:"M14.5 3a1 1 0 0 1-1 1H13v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V4h-.5a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1H6a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1h3.5a1 1 0 0 1 1 1v1zM4.118 4L4 4.059V13a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1V4.059L11.882 4H4.118zM2.5 3V2h11v1h-11z"}))}));s.propTypes={color:a.a.string,size:a.a.oneOfType([a.a.string,a.a.number])},s.defaultProps={color:"currentColor",size:"1em"},t.a=s},LlPR:function(e,t,r){"use strict";var n=r("cpVT"),o=r("nKUr"),i=r("dhJC"),a=r("0S7d");function c(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}function u(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?c(Object(r),!0).forEach((function(t){Object(n.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):c(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var s=function(e){var t=e.withCircle,r=e.colorCircle,n=Object(i.a)(e,["withCircle","colorCircle"]);return Object(o.jsxs)("svg",u(u({width:"40",height:"40",viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n),{},{children:[t&&Object(o.jsx)("circle",{cx:"20",cy:"20",r:"20",fill:r}),Object(o.jsx)("path",{d:"M18.6701 12.7551C19.7602 12.3507 20.3161 11.1392 
119.9118 10.0491C19.5074 8.95897 18.2959 8.40303 17.2058 8.8074C16.1156 9.21177 15.5597 10.4233 15.9641 11.5134C16.3684 12.6035 17.5799 13.1595 18.6701 12.7551Z",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),Object(o.jsx)("path",{d:"M27.7432 25.1077C29.3784 24.5012 30.2123 22.684 29.6057 21.0487C28.9992 19.4135 27.1819 18.5796 25.5467 19.1862C23.9115 19.7927 23.0776 21.61 23.6842 23.2452C24.2907 24.8804 26.1079 25.7143 27.7432 25.1077Z",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),Object(o.jsx)("path",{d:"M15.8999 29.5007C17.5351 28.8942 18.369 27.0769 17.7625 25.4417C17.1559 23.8064 15.3386 22.9726 13.7035 23.5791C12.0683 24.1857 11.2344 26.0029 11.8409 27.6381C12.4475 29.2734 14.2647 30.1072 15.8999 29.5007Z",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),Object(o.jsx)("path",{d:"M20.2299 24.5265L20.2459 20.0296L14.6953 19.8431L16.3751 15.2906L20.251 16.6597L23.7053 15.3785",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),Object(o.jsx)("path",{d:"M18.3218 31.1826L21.2538 27.8489L25.0753 28.9453L31.0154 26.7957",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round"})]}))};s.defaultProps={withCircle:!1,colorCircle:a.a.route.offroad.color},t.a=s},Lmng:function(e,t,r){"use strict";r.d(t,"a",(function(){return _e})),r.d(t,"b",(function(){return Ue}));var n=r("q1tI"),o=r("ANjH"),i="dnd-core/INIT_COORDS",a="dnd-core/BEGIN_DRAG",c="dnd-core/PUBLISH_DRAG_SOURCE",u="dnd-core/HOVER",s="dnd-core/DROP",l="dnd-core/END_DRAG",d=function(e,t){return e===t};function f(e,t){return!e&&!t||!(!e||!t)&&(e.x===t.x&&e.y===t.y)}function p(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:d;if(e.length!==t.length)return!1;for(var n=0;n<e.length;++n)if(!r(e[n],t[n]))return!1;return!0}function g(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}function h(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?g(Object(r),!0).forEach((function(t){v(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):g(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function v(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var b={initialSourceClientOffset:null,initialClientOffset:null,clientOffset:null};function y(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:b,t=arguments.length>1?arguments[1]:void 0,r=t.payload;switch(t.type){case i:case a:return{initialSourceClientOffset:r.sourceClientOffset,initialClientOffset:r.clientOffset,clientOffset:r.clientOffset};case u:return f(e.clientOffset,r.clientOffset)?e:h(h({},e),{},{clientOffset:r.clientOffset});case l:case s:return b;default:return e}}var O="dnd-core/ADD_SOURCE",m="dnd-core/ADD_TARGET",j="dnd-core/REMOVE_SOURCE",w="dnd-core/REMOVE_TARGET";function S(e){return(S="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function D(e,t,r){return t.split(".").reduce((function(e,t){return e&&e[t]?e[t]:r||null}),e)}function k(e,t){return e.filter((function(e){return e!==t}))}function C(e){return"object"===S(e)}function P(e,t){var r=new Map,n=function(e){r.set(e,r.has(e)?r.get(e)+1:1)};e.forEach(n),t.forEach(n);var o=[];return r.forEach((function(e,t){1===e&&o.push(t)})),o}function T(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}function I(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?T(Object(r),!0).forEach((function(t){x(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):T(Object(r)).forEac
vendor: 5,620 bytes, line 1
1h((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function x(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var E={itemType:null,item:null,sourceId:null,targetIds:[],dropResult:null,didDrop:!1,isSourcePublic:null};function N(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:E,t=arguments.length>1?arguments[1]:void 0,r=t.payload;switch(t.type){case a:return I(I({},e),{},{itemType:r.itemType,item:r.item,sourceId:r.sourceId,isSourcePublic:r.isSourcePublic,dropResult:null,didDrop:!1});case c:return I(I({},e),{},{isSourcePublic:!0});case u:return I(I({},e),{},{targetIds:r.targetIds});case w:return-1===e.targetIds.indexOf(r.targetId)?e:I(I({},e),{},{targetIds:k(e.targetIds,r.targetId)});case s:return I(I({},e),{},{dropResult:r.dropResult,didDrop:!0,targetIds:[]});case l:return I(I({},e),{},{itemType:null,item:null,sourceId:null,dropResult:null,didDrop:!1,isSourcePublic:null,targetIds:[]});default:return e}}function L(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case O:case m:return e+1;case j:case w:return e-1;default:return e}}var M=[],R=[];function A(e,t){return e!==M&&(e===R||"undefined"===typeof t||(r=e,t.filter((function(e){return r.indexOf(e)>-1}))).length>0);var r}function _(){var e=arguments.length>1?arguments[1]:void 0;switch(e.type){case u:break;case O:case m:case w:case j:return M;case a:case c:case l:case s:default:return R}var t=e.payload,r=t.targetIds,n=void 0===r?[]:r,o=t.prevTargetIds,i=void 0===o?[]:o,d=P(n,i),f=d.length>0||!p(n,i);if(!f)return M;var g=i[i.length-1],h=n[n.length-1];return g!==h&&(g&&d.push(g),h&&d.push(h)),d}function U(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return e+1}function H(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}function z(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?H(Object(r),!0).forEach((function(t){B(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):H(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function B(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function $(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return{dirtyHandlerIds:_(e.dirtyHandlerIds,{type:t.type,payload:z(z({},t.payload),{},{prevTargetIds:D(e,"dragOperation.targetIds",[])})}),dragOffset:y(e.dragOffset,t),refCount:L(e.refCount,t),dragOperation:N(e.dragOperation,t),stateId:U(e.stateId)}}M.__IS_NONE__=!0,R.__IS_ALL__=!0;var F=r("aKzv");function G(e,t){return{type:i,payload:{sourceClientOffset:t||null,clientOffset:e||null}}}var W={type:i,payload:{clientOffset:null,sourceClientOffset:null}};function V(e){return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{publishSource:!0},n=r.publishSource,o=void 0===n||n,i=r.clientOffset,c=r.getSourceClientOffset,u=e.getMonitor(),s=e.getRegistry();e.dispatch(G(i)),K(t,u,s);var l=J(t,u);if(null!==l){var d=null;if(i){if(!c)throw new Error("getSourceClientOffset must be defined");q(c),d=c(l)}e.dispatch(G(i,d));var f=s.getSource(l),p=f.beginDrag(u,l);Y(p),s.pinSource(l);var g=s.getSourceType(l);return{type:a,payload:{itemType:g,item:p,sourceId:l,clientOffset:i||null,sourceClientOffset:d||null,isSourcePublic:!!o}}}e.dispatch(W)}}function K(e,t,r){Object(F.a)(!t.isDragging(),"Cannot call beginDrag while dragging."),e.forEach((function(e){Object(F.a)(r.getSource(e),"Expected sourceIds to be registered.")}))}function q(e){Object(F.a)("function"===typeof e,"When clientOffset is provided, getSourceClientOffset must be a function.")}function Y(e){Object(F.a)(C(e),"Item must be an object.")}function J(e,t){for(var r=null,n=e.length-1;n>=0;n--)if(t.canDragSource(e[n])){r=e[n];break}return r}function X(e){return function(){if(e.getMonitor().isDragging())return{type:c}}}function Z(e,t){return null===t?null===e:Array.isArray(e)?e.some((function(e){return e===t})):e===t}function Q(e){return function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=r.clientOffset;ee(t);var o=t.slice(0),i=e.getMonitor(),a=e.getRegistry();te(o,i,a);var c=i.getItemType();return re(o,a,c),ne(o,i,a),{type:u,payload:{targetIds:o,clientOffset:n||null}}}}function ee(e){Object(F.a)(Array.isArray(e),"Expected targetIds to be an array.")}function te(e,t,r){Object(F.a)(t.isDragging(),"Cannot call hover while not dragging."),Object(F.a)(!t.didDrop(),"Cannot call hover after drop.");for(var n=0;n<e.length;n++){var o=e[n];Object(F.a)(e.lastIndexOf(o)===n,"Expected targetIds to be unique in the passed array.");var i=r.getTarget(o);Object(F.a)(i,"Expected targetIds to be registered.")}}function re(e,t,r){for(var n=e.length-1;n>=0;n--){var o=e[n];Z(t.getTargetType(o),r)||e.splice(n,1)}}function ne(e,t,r){e.forEach((function(e){r.getTarget(e).hover(t,e)}))}function oe(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}function ie(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
1t%2?oe(Object(r),!0).forEach((function(t){ae(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):oe(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function ae(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ce(e){return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=e.getMonitor(),n=e.getRegistry();ue(r);var o=le(r);o.forEach((function(o,i){var a=se(o,i,n,r),c={type:s,payload:{dropResult:ie(ie({},t),a)}};e.dispatch(c)}))}}function ue(e){Object(F.a)(e.isDragging(),"Cannot call drop while not dragging."),Object(F.a)(!e.didDrop(),"Cannot call drop twice during one drag operation.")}function se(e,t,r,n){var o=r.getTarget(e),i=o?o.drop(n,e):void 0;return function(e){Object(F.a)("undefined"===typeof e||C(e),"Drop result must either be an object or undefined.")}(i),"undefined"===typeof i&&(i=0===t?{}:n.getDropResult()),i}function le(e){var t=e.getTargetIds().filter(e.canDropOnTarget,e);return t.reverse(),t}function de(e){return function(){var t=e.getMonitor(),r=e.getRegistry();!function(e){Object(F.a)(e.isDragging(),"Cannot call endDrag while not dragging.")}(t);var n=t.getSourceId();null!=n&&(r.getSource(n,!0).endDrag(t,n),r.unpinSource());return{type:l}}}function fe(e,t){return{x:e.x-t.x,y:e.y-t.y}}function pe(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}var ge,he=function(){function e(t,r){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.store=t,this.registry=r}var t,r,n;return t=e,(r=[{key:"subscribeToStateChange",value:function(e){var t=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{handlerIds:void 0},n=r.handlerIds;Object(F.a)("function"===typeof e,"listener must be a function."),Object(F.a)("undefined"===typeof n||Array.isArray(n),"handlerIds, when specified, must be an array of strings.");var o=this.store.getState().stateId,i=function(){var r=t.store.getState(),i=r.stateId;try{i===o||i===o+1&&!A(r.dirtyHandlerIds,n)||e()}finally{o=i}};return this.store.subscribe(i)}},{key:"subscribeToOffsetChange",value:function(e){var t=this;Object(F.a)("function"===typeof e,"listener must be a function.");var r=this.store.getState().dragOffset;return this.store.subscribe((function(){var n=t.store.getState().dragOffset;n!==r&&(r=n,e())}))}},{key:"canDragSource",value:function(e){if(!e)return!1;var t=this.registry.getSource(e);return Object(F.a)(t,"Expected to find a valid source."),!this.isDragging()&&t.canDrag(this,e)}},{key:"canDropOnTarget",value:function(e){if(!e)return!1;var t=this.registry.getTarget(e);return Object(F.a)(t,"Expected to find a valid target."),!(!this.isDragging()||this.didDrop())&&Z(this.registry.getTargetType(e),this.getItemType())&&t.canDrop(this,e)}},{key:"isDragging",value:function(){return Boolean(this.getItemType())}},{key:"isDraggingSource",value:function(e){if(!e)return!1;var t=this.registry.getSource(e,!0);return Object(F.a)(t,"Expected to find a valid source."),!(!this.isDragging()||!this.isSourcePublic())&&this.registry.getSourceType(e)===this.getItemType()&&t.isDragging(this,e)}},{key:"isOverTarget",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{shallow:!1};if(!e)return!1;var r=t.shallow;if(!this.isDragging())return!1;var n=this.registry.getTargetType(e),o=this.getItemType();if(o&&!Z(n,o))return!1;var i=this.getTargetIds();if(!i.length)return!1;var a=i.indexOf(e);return r?a===i.length-1:a>-1}},{key:"getItemType",value:function(){return this.store.getState().dragOperation.itemType}},{key:"getItem",value:function(){return this.store.getState().dragOperation.item}},{key:"getSourceId",value:function(){return this.store.getState().dragOperation.sourceId}},{key:"getTargetIds",value:function(){return this.store.getState().dragOperation.targetIds}},{key:"getDropResult",value:function(){return this.store.getState().dragOperation.dropResult}},{key:"didDrop",value:function(){return this.store.getState().dragOperation.didDrop}},{key:"isSourcePublic",value:function(){return Boolean(this.store.getState().dragOperation.isSourcePublic)}},{key:"getInitialClientOffset",value:function(){return this.store.getState().dragOffset.initialClientOffset}},{key:"getInitialSourceClientOffset",value:function(){return this.store.getState().dragOffset.initialSourceClientOffset}},{key:"getClientOffset",value:function(){return this.store.getState().dragOffset.clientOffset}},{key:"getSourceClientOffset",value:function(){return function(e){var t,r,n=e.clientOffset,o=e.initialClientOffset,i=e.initialSourceClientOffset;return n&&o&&i?fe((r=i,{x:(t=n).x+r.x,y:t.y+r.y}),o):null}(this.store.getState().dragOffset)}},{key:"getDifferenceFromInitialOffset",value:function(){return function(e){var t=e.clientOffset,r=e.initialClientOffset;return t&&r?fe(t,r):null}(this.store.getState().dragOffset)}}])&&pe(t.prototype,r),n&&pe(t,n),e}(),ve=0;function be(e){return(be="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function ye(e,t){t&&Array.isArray(e)?e.forEach((function(e){return ye(e,!1)})):Object(F.a)("string"===typeof e||"symbol"===be(e),t?"Type can only be a string, a symbol, or an array of either.":"Type can only be a string or a symbol.")}!function(e){e.SOURCE="SOURCE",e.TARGET="TARGET"}(ge||(ge={}));var Oe=r("b7DX"),me=[],je=[],we=Oe.a.makeRequestCallFromTimer((function(){if(je.length)throw je.shift()}));function Se(e){var t;(t=me.length?me.pop():new De).task=e,Object(Oe.a)(t)}var De=function(){function e(){}return e.prototype.call=function(){try{this.task.call()}catch(e){Se.onerror?Se.onerror(e):(je.push(e),we())}finally{this.task=null,me[me.length]=this}},e}();function ke(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Ce(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"===typeof Symbol||!(Symbol.iterator in Object(e)))return;var r=[],n=!0,o=!1,i=void 0;try{for(var a,c=e[Symbol.iterator]();!(n=(a=c.next()).done)&&(r.push(a.value),!t||r.length!==t);n=!0);}catch(u){o=!0,i=u}finally{try{n||null==c.return||c.return()}finally{if(o)throw i}}return r}(e,t)||function(e,t){if(!e)return;if("string"===typeof e)return Pe(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Pe(e,t)}
1(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Pe(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function Te(e){var t=(ve++).toString();switch(e){case ge.SOURCE:return"S".concat(t);case ge.TARGET:return"T".concat(t);default:throw new Error("Unknown Handler Role: ".concat(e))}}function Ie(e){switch(e[0]){case"S":return ge.SOURCE;case"T":return ge.TARGET;default:Object(F.a)(!1,"Cannot parse handler ID: ".concat(e))}}function xe(e,t){var r=e.entries(),n=!1;do{var o=r.next(),i=o.done;if(Ce(o.value,2)[1]===t)return!0;n=!!i}while(!n);return!1}var Ee=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.types=new Map,this.dragSources=new Map,this.dropTargets=new Map,this.pinnedSourceId=null,this.pinnedSource=null,this.store=t}var t,r,n;return t=e,(r=[{key:"addSource",value:function(e,t){ye(e),function(e){Object(F.a)("function"===typeof e.canDrag,"Expected canDrag to be a function."),Object(F.a)("function"===typeof e.beginDrag,"Expected beginDrag to be a function."),Object(F.a)("function"===typeof e.endDrag,"Expected endDrag to be a function.")}(t);var r=this.addHandler(ge.SOURCE,e,t);return this.store.dispatch(function(e){return{type:O,payload:{sourceId:e}}}(r)),r}},{key:"addTarget",value:function(e,t){ye(e,!0),function(e){Object(F.a)("function"===typeof e.canDrop,"Expected canDrop to be a function."),Object(F.a)("function"===typeof e.hover,"Expected hover to be a function."),Object(F.a)("function"===typeof e.drop,"Expected beginDrag to be a function.")}(t);var r=this.addHandler(ge.TARGET,e,t);return this.store.dispatch(function(e){return{type:m,payload:{targetId:e}}}(r)),r}},{key:"containsHandler",value:function(e){return xe(this.dragSources,e)||xe(this.dropTargets,e)}},{key:"getSource",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];Object(F.a)(this.isSourceId(e),"Expected a valid source ID.");var r=t&&e===this.pinnedSourceId,n=r?this.pinnedSource:this.dragSources.get(e);return n}},{key:"getTarget",value:function(e){return Object(F.a)(this.isTargetId(e),"Expected a valid target ID."),this.dropTargets.get(e)}},{key:"getSourceType",value:function(e){return Object(F.a)(this.isSourceId(e),"Expected a valid source ID."),this.types.get(e)}},{key:"getTargetType",value:function(e){return Object(F.a)(this.isTargetId(e),"Expected a valid target ID."),this.types.get(e)}},{key:"isSourceId",value:function(e){return Ie(e)===ge.SOURCE}},{key:"isTargetId",value:function(e){return Ie(e)===ge.TARGET}},{key:"removeSource",value:function(e){var t=this;Object(F.a)(this.getSource(e),"Expected an existing source."),this.store.dispatch(function(e){return{type:j,payload:{sourceId:e}}}(e)),Se((function(){t.dragSources.delete(e),t.types.delete(e)}))}},{key:"removeTarget",value:function(e){Object(F.a)(this.getTarget(e),"Expected an existing target."),this.store.dispatch(function(e){return{type:w,payload:{targetId:e}}}(e)),this.dropTargets.delete(e),this.types.delete(e)}},{key:"pinSource",value:function(e){var t=this.getSource(e);Object(F.a)(t,"Expected an existing source."),this.pinnedSourceId=e,this.pinnedSource=t}},{key:"unpinSource",value:function(){Object(F.a)(this.pinnedSource,"No source is pinned at the time."),this.pinnedSourceId=null,this.pinnedSource=null}},{key:"addHandler",value:function(e,t,r){var n=Te(e);return this.types.set(n,t),e===ge.SOURCE?this.dragSources.set(n,r):e===ge.TARGET&&this.dropTargets.set(n,r),n}}])&&ke(t.prototype,r),n&&ke(t,n),e}();function Ne(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Le(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Me(e){var t="undefined"!==typeof window&&window.__REDUX_DEVTOOLS_EXTENSION__;return Object(o.e)($,e&&t&&t({name:"dnd-core",instanceId:"dnd-core"}))}var Re=function(){function e(){var t=this,r=arguments.length>0&&void 0!==arguments[0]&&arguments[0];Ne(this,e),this.isSetUp=!1,this.handleRefCountChange=function(){var e=t.store.getState().refCount>0;t.backend&&(e&&!t.isSetUp?(t.backend.setup(),t.isSetUp=!0):!e&&t.isSetUp&&(t.backend.teardown(),t.isSetUp=!1))};var n=Me(r);this.store=n,this.monitor=new he(n,new Ee(n)),n.subscribe(this.handleRefCountChange)}var t,r,n;return t=e,(r=[{key:"receiveBackend",value:function(e){this.backend=e}},{key:"getMonitor",value:function(){return this.monitor}},{key:"getBackend",value:function(){return this.backend}},{key:"getRegistry",value:function(){return this.monitor.registry}},{key:"getActions",value:function(){var e=this,t=this.store.dispatch,r=function(e){return{beginDrag:V(e),publishDragSource:X(e),hover:Q(e),drop:ce(e),endDrag:de(e)}}(this);return Object.keys(r).reduce((function(n,o){var i,a=r[o];return n[o]=(i=a,function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];var a=i.apply(e,n);"undefined"!==typeof a&&t(a)}),n}),{})}},{key:"dispatch",value:function(e){this.store.dispatch(e)}}])&&Le(t.prototype,r),n&&Le(t,n),e}();function Ae(e,t,r,n){var o=new Re(n),i=e(o,t,r);return o.receiveBackend(i),o}var _e=n.createContext({dragDropManager:void 0});function Ue(e,t,r,n){return{dragDropManager:Ae(e,t,r,n)}}}
1,"M/nT":function(e,t,r){"use strict";var n=r("cpVT"),o=r("nKUr"),i=r("dhJC"),a=(r("q1tI"),r("20a2")),c=r("i5nl"),u=r("6ig4");function s(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}function l(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?s(Object(r),!0).forEach((function(t){Object(n.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):s(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var d=function(e){var t,r,n,s,d,f,p,g,h,v=e.record,b=e.iso,y=Object(i.a)(e,["record","iso"]),O=Object(a.useRouter)().locale;b?t=null!==(r=v.country_obj)&&void 0!==r&&r.code?v.country_obj.code:u.c[v.country]:t=null!==(n=v.country_obj)&&void 0!==n&&n.id?null!==(s=v.country_obj)&&void 0!==s&&null!==(d=s.translations)&&void 0!==d&&d.name&&null!==(f=v.country_obj)&&void 0!==f&&null!==(p=f.translations)&&void 0!==p&&p.name[O]?null===(g=v.country_obj)||void 0===g||null===(h=g.translations)||void 0===h?void 0:h.name[O]:v.country_obj.name:Object(c.a)(v._country,O);return!t&&v.country&&(t=Object(c.a)(Object(u.b)(v.country),O)),t?Object(o.jsx)("span",l(l({},y),{},{children:t})):null};d.defaultProps={iso:!1},t.a=d},RsOY:function(e,t,r){"use strict";(function(r){function n(e){return"object"!==typeof e||"toString"in e?e:Object.prototype.toString.call(e).slice(8,-1)}Object.defineProperty(t,"__esModule",{value:!0});var o="object"===typeof r&&!0;function i(e,t){if(!e){if(o)throw new Error("Invariant failed");throw new Error(t())}}t.invariant=i;var a=Object.prototype.hasOwnProperty,c=Array.prototype.splice,u=Object.prototype.toString;function s(e){return u.call(e).slice(8,-1)}var l=Object.assign||function(e,t){return d(t).forEach((function(r){a.call(t,r)&&(e[r]=t[r])})),e},d="function"===typeof Object.getOwnPropertySymbols?function(e){return Object.keys(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.keys(e)};function f(e){return Array.isArray(e)?l(e.constructor(e.length),e):"Map"===s(e)?new Map(e):"Set"===s(e)?new Set(e):e&&"object"===typeof e?l(Object.create(Object.getPrototypeOf(e)),e):e}var p=function(){function e(){this.commands=l({},g),this.update=this.update.bind(this),this.update.extend=this.extend=this.extend.bind(this),this.update.isEquals=function(e,t){return e===t},this.update.newContext=function(){return(new e).update}}return Object.defineProperty(e.prototype,"isEquals",{get:function(){return this.update.isEquals},set:function(e){this.update.isEquals=e},enumerable:!0,configurable:!0}),e.prototype.extend=function(e,t){this.commands[e]=t},e.prototype.update=function(e,t){var r=this,n="function"===typeof t?{$apply:t}:t;Array.isArray(e)&&Array.isArray(n)||i(!Array.isArray(n),(function(){return"update(): You provided an invalid spec to update(). The spec may not contain an array except as the value of $set, $push, $unshift, $splice or any custom command allowing an array value."})),i("object"===typeof n&&null!==n,(function(){return"update(): You provided an invalid spec to update(). The spec and every included key path must be plain objects containing one of the following commands: "+Object.keys(r.commands).join(", ")+"."}));var o=e;
1return d(n).forEach((function(t){if(a.call(r.commands,t)){var i=e===o;o=r.commands[t](n[t],o,n,e),i&&r.isEquals(o,e)&&(o=e)}else{var c="Map"===s(e)?r.update(e.get(t),n[t]):r.update(e[t],n[t]),u="Map"===s(o)?o.get(t):o[t];r.isEquals(c,u)&&("undefined"!==typeof c||a.call(e,t))||(o===e&&(o=f(e)),"Map"===s(o)?o.set(t,c):o[t]=c)}})),o},e}();t.Context=p;var g={$push:function(e,t,r){return v(t,r,"$push"),e.length?t.concat(e):t},$unshift:function(e,t,r){return v(t,r,"$unshift"),e.length?e.concat(t):t},$splice:function(e,t,r,o){return function(e,t){i(Array.isArray(e),(function(){return"Expected $splice target to be an array; got "+n(e)})),y(t.$splice)}(t,r),e.forEach((function(e){y(e),t===o&&e.length&&(t=f(o)),c.apply(t,e)})),t},$set:function(e,t,r){return function(e){i(1===Object.keys(e).length,(function(){return"Cannot have more than one key in an object with $set"}))}(r),e},$toggle:function(e,t){b(e,"$toggle");var r=e.length?f(t):t;return e.forEach((function(e){r[e]=!t[e]})),r},$unset:function(e,t,r,n){return b(e,"$unset"),e.forEach((function(e){Object.hasOwnProperty.call(t,e)&&(t===n&&(t=f(n)),delete t[e])})),t},$add:function(e,t,r,n){return O(t,"$add"),b(e,"$add"),"Map"===s(t)?e.forEach((function(e){var r=e[0],o=e[1];t===n&&t.get(r)!==o&&(t=f(n)),t.set(r,o)})):e.forEach((function(e){t!==n||t.has(e)||(t=f(n)),t.add(e)})),t},$remove:function(e,t,r,n){return O(t,"$remove"),b(e,"$remove"),e.forEach((function(e){t===n&&t.has(e)&&(t=f(n)),t.delete(e)})),t},$merge:function(e,t,r,o){var a,c;return a=t,i((c=e)&&"object"===typeof c,(function(){return"update(): $merge expects a spec of type 'object'; got "+n(c)})),i(a&&"object"===typeof a,(function(){return"update(): $merge expects a target of type 'object'; got "+n(a)})),d(e).forEach((function(r){e[r]!==t[r]&&(t===o&&(t=f(o)),t[r]=e[r])})),t},$apply:function(e,t){var r;return i("function"===typeof(r=e),(function(){return"update(): expected spec of $apply to be a function; got "+n(r)+"."})),e(t)}},h=new p;function v(e,t,r){i(Array.isArray(e),(function(){return"update(): expected target of "+n(r)+" to be an array; got "+n(e)+"."})),b(t[r],r)}function b(e,t){i(Array.isArray(e),(function(){return"update(): expected spec of "+n(t)+" to be an array; got "+n(e)+". Did you forget to wrap your parameter in an array?"}))}function y(e){i(Array.isArray(e),(function(){return"update(): expected spec of $splice to be an array of arrays; got "+n(e)+". Did you forget to wrap your parameters in an array?"}))}function O(e,t){var r=s(e);i("Map"===r||"Set"===r,(function(){return"update(): "+n(t)+" expects a target of type Set or Map; got "+n(r)}))}t.isEquals=h.update.isEquals,t.extend=h.extend,t.default=h.update,t.default.default=e.exports=l(t.default,t)}).call(this,r("8oxB"))},"S+k/":function(e,t,r){"use strict";var n=r("nKUr"),o=function(e){var t=e.color,r=e.children,o=e.className;return Object(n.jsx)("span",{className:"chip ".concat(o),style:{color:t,borderColor:t},children:r})};o.defaultProps={color:"#000000",className:""},t.a=o},aKzv:function(e,t,r){"use strict";function n(e,t){for(var r=arguments.length,n=new Array(r>2?r-2:0),o=2;o<r;o++)n[o-2]=arguments[o];if(!e){var i;if(void 0===t)i=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var a=0;(i=new Error(t.replace(/%s/g,(function(){return n[a++]})))).name="Invariant Violation"}throw i.framesToPop=1,i}}r.d(t,"a",(function(){return n}))},b7DX:function(e,t,r){"use strict";(function(e){function n(e){i.length||(o(),!0),i[i.length]=e}r.d(t,"a",(function(){return n}));var o,i=[],a=0;function c(){for(;a<i.length;){var e=a;if(a+=1,i[e].call(),a>1024){for(var t=0,r=i.length-a;t<r;t++)i[t]=i[t+a];i.length-=a,a=0}}i.length=0,a=0,!1}var u="undefined"!==typeof e?e:self,s=u.MutationObserver||u.WebKitMutationObserver;function l(e){return function(){var t=setTimeout(n,0),r=setInterval(n,50);function n(){clearTimeout(t),clearInterval(r),e()}}}o="function"===typeof s?function(e){var t=1,r=new s(e),n=document.createTextNode("");return r.observe(n,{characterData:!0}),function(){t=-t,n.data=t}}(c):l(c),n.requestFlush=o,n.makeRequestCallFromTimer=l}).call(this,r("ntbh"))},"g/0d":function(e,t,r){"use strict";
1var n=r("cpVT"),o=r("nKUr"),i=r("dhJC"),a=r("0S7d");function c(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}function u(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?c(Object(r),!0).forEach((function(t){Object(n.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):c(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var s=function(e){var t=e.withCircle,r=e.colorCircle,n=Object(i.a)(e,["withCircle","colorCircle"]);return Object(o.jsxs)("svg",u(u({width:"40",height:"40",viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n),{},{children:[t&&Object(o.jsx)("circle",{cx:"20",cy:"20",r:"20",fill:r}),Object(o.jsx)("path",{d:"M22.7366 15.3684C23.8993 15.3684 24.8419 14.4258 24.8419 13.2631C24.8419 12.1004 23.8993 11.1578 22.7366 11.1578C21.5739 11.1578 20.6313 12.1004 20.6313 13.2631C20.6313 14.4258 21.5739 15.3684 22.7366 15.3684Z",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),Object(o.jsx)("path",{d:"M26.9474 30.1052C28.6916 30.1052 30.1053 28.6914 30.1053 26.9473C30.1053 25.2032 28.6916 23.7894 26.9474 23.7894C25.2033 23.7894 23.7896 25.2032 23.7896 26.9473C23.7896 28.6914 25.2033 30.1052 26.9474 30.1052Z",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),Object(o.jsx)("path",{d:"M14.3156 30.1052C16.0597 30.1052 17.4735 28.6914 17.4735 26.9473C17.4735 25.2032 16.0597 23.7894 14.3156 23.7894C12.5716 23.7894 11.1577 25.2032 11.1577 26.9473C11.1577 28.6914 12.5716 30.1052 14.3156 30.1052Z",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),Object(o.jsx)("path",{d:"M20.1053 26.9473L21.6842 22.7368L16.5449 20.6315L19.703 16.9474L22.8609 19.579H26.5452",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]}))};s.defaultProps={withCircle:!1,colorCircle:a.a.route.cycling.color},t.a=s},i5nl:function(e,t,r){"use strict";r.d(t,"a",(function(){return o}));var n={belgium:{en:"Belgium",fr:"Belgique",nl:"Belgi\xeb",de:"Belgien",it:"Belgio",pl:"Belgia"},france:{en:"France",fr:"France",nl:"Frankrijk",de:"Frankreich",it:"Francia",pl:"Francja"},germany:{en:"Germany",fr:"Allemagne",nl:"Duitsland",de:"Deutschland",it:"Germania",pl:"Niemcy"},italy:{en:"Italy",fr:"Italie",nl:"Itali\xeb",de:"Italien",it:"Italia",pl:"W\u0142ochy"},luxembourg:{en:"Luxembourg",fr:"Luxembourg",nl:"Luxemburg",de:"Luxemburg",it:"Lussemburgo",pl:"Luksemburg"},poland:{en:"Poland",fr:"Pologne",nl:"Polen",de:"Polen",it:"Polonia",pl:"Polska"},"czech-republic":{en:"Czech Republic",fr:"R\xe9publique Tch\xe8que",nl:"Tsjechi\xeb",de:"Tschechische Republik",it:"Repubblica Ceca",pl:"Republika Czeska"},"the-netherlands":{en:"The Netherlands",fr:"Pays-Bas",nl:"Nederland",de:"Die Niederlande",it:"Paesi Bassi",pl:"Holandia"},"united-kingdom":{en:"United Kingdom",fr:"Royaume-Uni",nl:"Verenigd Koninkrijk",de:"Vereinigtes K\xf6nigreich",it:"Regno Unito",pl:"Zjednoczone Kr\xf3lestwo"},"great-britain":{en:"Great Britain",fr:"Grande-Bretagne",nl:"Groot-Brittanni\xeb",de:"Gro\xdfbritannien",it:"Gran Bretagna",pl:"Wielka Brytania"},"united-states":{en:"United States",fr:"Etats-Unis",nl:"Verenigde Staten",de:"Vereinigte Staaten",it:"Stati Uniti",pl:"Stany Zjednoczone"},jersey:{en:"Jersey",fr:"Ile de Jersey",nl:"Jersey",de:"Jersey",it:"Jersey",pl:"Jersey"},guernsey:{en:"Guernsey",fr:"Ile de Guernesey",nl:"Guernsey",de:"Guernsey",it:"Guernsey",pl:"Guernsey"},greece:{en:"Greece",fr:"Gr\xe8ce",nl:"Griekenland",de:"Griechenland",it:"Grecia",pl:"Grecja"},nepal:{en:"Nepal"},"new-zealand":{en:"New Zealand"}},o=function(e,t){return n[e]?n[e][t]||n[e].en:e}},kvAW:function(e,t,r){"use strict";(function(e){r.d(t,"a",(function(){return s}));var n=r("q1tI"),o=r("Lmng");function i(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"===typeof Symbol||!(Symbol.iterator in Object(e)))return;var r=[],n=!0,o=!1,i=void 0;try{for(var a,c=e[Symbol.iterator]();!(n=(a=c.next()).done)&&(r.push(a.value),!t||r.length!==t);n=!0);}catch(u){o=!0,i=u}finally{try{n||null==c.return||c.return()}finally{if(o)throw i}}return r}(e,t)||function(e,t){if(!e)return;if("string"===typeof e)return a(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return a(e,t)}
1(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function c(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var u=0,s=Object(n.memo)((function(e){var t=e.children,r=i(function(e){if("manager"in e){return[{dragDropManager:e.manager},!1]}var t=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:d(),r=arguments.length>2?arguments[2]:void 0,n=arguments.length>3?arguments[3]:void 0,i=t;i[l]||(i[l]=Object(o.b)(e,t,r,n));return i[l]}(e.backend,e.context,e.options,e.debugMode),r=!e.context;return[t,r]}(c(e,["children"])),2),a=r[0],s=r[1];return n.useEffect((function(){return s&&u++,function(){s&&(0===--u&&(d()[l]=null))}}),[]),n.createElement(o.a.Provider,{value:a},t)}));s.displayName="DndProvider";var l=Symbol.for("__REACT_DND_CONTEXT_INSTANCE__");function d(){return"undefined"!==typeof e?e:window}}).call(this,r("ntbh"))},ritG:function(e,t,r){"use strict";var n=r("cpVT"),o=r("nKUr"),i=r("dhJC"),a=r("0S7d");function c(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}function u(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?c(Object(r),!0).forEach((function(t){Object(n.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):c(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var s=function(e){var t=e.withCircle,r=e.colorCircle,n=Object(i.a)(e,["withCircle","colorCircle"]);return Object(o.jsxs)("svg",u(u({width:"40",height:"40",viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n),{},{children:[t&&Object(o.jsx)("circle",{cx:"20",cy:"20",r:"20",fill:r}),Object(o.jsx)("path",{d:"M20.4638 16.976L18.981 22.9071L24.1709 29.5798",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),Object(o.jsx)("path",{d:"M18.2393 26.6143L16.0151 29.5798",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),Object(o.jsx)("path",{d:"M16.0151 21.4244C16.0151 17.2725 18.9809 16.976 20.4636 16.976L21.9463 16.976C22.1934 18.2116 23.2808 20.8313 25.6533 21.4243",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),Object(o.jsx)("path",{d:"M21.0525 14.7368C22.2153 14.7368 23.1578 13.7942 23.1578 12.6315C23.1578 11.4688 22.2153 10.5262 21.0525 10.5262C19.8898 10.5262 18.9473 11.4688 18.9473 12.6315C18.9473 13.7942 19.8898 14.7368 21.0525 14.7368Z",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]}))};s.defaultProps={withCircle:!1,colorCircle:a.a.route.walking.color},t.a=s},s3BB:function(e,t,r){"use strict";r.r(t);var n=r("cpVT"),o=r("nKUr"),i=r("dhJC"),a=r("q1tI"),c=r("4R65"),u=r.n(c);function s(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}function l(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?s(Object(r),!0).forEach((function(t){Object(n.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):s(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var d=function(e){var t=e.children,r=e.className,n=e.position,c=e.fullHeight,s=Object(i.a)(e,["children","className","position","fullHeight"]),d=Object(a.useRef)(null);return Object(a.useEffect)((function(){u.a.DomEvent.disableClickPropagation(d.current),u.a.DomEvent.on(d.current,"wheel",u.a.DomEvent.stopPropagation)})),Object(o.jsx)("div",l(l({className:"panel ".concat("right"===n&&"panel-right"," ").concat(c&&"full-height"," ").concat(r),ref:d},s),{},{children:t}))};d.defaultProps={position:null,className:"",fullHeight:!1},t.default=d}}]);

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.