1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3959],{4465:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r,o=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|inert|itemProp|itemScope|itemType|itemID|itemRef|on|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,i=(r={},function(e){return void 0===r[e]&&(r[e]=o.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&91>e.charCodeAt(2)),r[e]})},861:function(e,t,n){"use strict";n.d(t,{FT:function(){return a}});var r=n(7294),o=n(5893);let i=["as","disabled"];function a({tagName:e,disabled:t,href:n,target:r,rel:o,role:i,onClick:a,tabIndex:s=0,type:u}){e||(e=null!=n||null!=r||null!=o?"a":"button");let l={tagName:e};if("button"===e)return[{type:u||"button",disabled:t},l];let c=r=>{var o;if(!t&&("a"!==e||(o=n)&&"#"!==o.trim())||r.preventDefault(),t){r.stopPropagation();return}null==a||a(r)},f=e=>{" "===e.key&&(e.preventDefault(),c(e))};return"a"===e&&(n||(n="#"),t&&(n=void 0)),[{role:null!=i?i:"button",disabled:void 0,tabIndex:t?void 0:s,href:n,target:"a"===e?r:void 0,"aria-disabled":t||void 0,rel:"a"===e?o:void 0,onClick:c,onKeyDown:f},l]}let s=r.forwardRef((e,t)=>
1{let{as:n,disabled:r}=e,s=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,i),[u,{tagName:l}]=a(Object.assign({tagName:n,disabled:r},s));return(0,o.jsx)(l,Object.assign({},s,u,{ref:t}))});s.displayName="Button",t.ZP=s},8875:function(e,t,n){var r,o,i;i={canUseDOM:o=!!("undefined"!=typeof window&&window.document&&window.document.createElement),canUseWorkers:"undefined"!=typeof Worker,canUseEventListeners:o&&!!(window.addEventListener||window.attachEvent),canUseViewport:o&&!!window.screen},void 0!==(r=(function(){return i}).call(t,n,t,e))&&(e.exports=r)},8102:function(e,t,n){var r,o;void 0!==(r="function"==typeof(o=function(){"use strict";function t(e,t,n){var r=new XMLHttpRequest;r.open("GET",e),r.responseType="blob",r.onload=function(){s(r.response,t,n)},r.onerror=function(){console.error("could not download file")},r.send()}function r(e){var t=new XMLHttpRequest;t.open("HEAD",e,!1);try{t.send()}catch(e){}return 200<=t.status&&299>=t.status}function o(e){try{e.dispatchEvent(new MouseEvent("click"))}catch(n){var t=document.createEvent("MouseEvents");
1t.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),e.dispatchEvent(t)}}var i="object"==typeof window&&window.window===window?window:"object"==typeof self&&self.self===self?self:"object"==typeof n.g&&n.g.global===n.g?n.g:void 0,a=i.navigator&&/Macintosh/.test(navigator.userAgent)&&/AppleWebKit/.test(navigator.userAgent)&&!/Safari/.test(navigator.userAgent),s=i.saveAs||("object"!=typeof window||window!==i?function(){}:"download"in HTMLAnchorElement.prototype&&!a?function(e,n,a){var s=i.URL||i.webkitURL,u=document.createElement("a");n=n||e.name||"download",u.download=n,u.rel="noopener","string"==typeof e?(u.href=e,u.origin===location.origin?o(u):r(u.href)?t(e,n,a):o(u,u.target="_blank")):(u.href=s.createObjectURL(e),setTimeout(function(){s.revokeObjectURL(u.href)},4e4),setTimeout(function(){o(u)},0))}:"msSaveOrOpenBlob"in navigator?function(e,n,i){if(n=n||e.name||"download","string"!=typeof e){var a;navigator.msSaveOrOpenBlob((void 0===(a=i)?a={autoBom:!1}:"object"!=typeof a&&(console.warn("Deprecated: Expected third argument to be a object"),a={autoBom:!a}),a.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(e.type)?new Blob(["\uFEFF",e],{type:e.type}):e),n)}else if(r(e))t(e,n,i);else{var s=document.createElement("a");s.href=e,s.target="_blank",setTimeout(function(){o(s)})}}:function(e,n,r,o){if((o=o||open("","_blank"))&&(o.document.title=o.document.body.innerText="downloading..."),"string"==typeof e)return t(e,n,r);var s="application/octet-stream"===e.type,u=/constructor/i.test(i.HTMLElement)||i.safari,l=/CriOS\/[\d]+/.test(navigator.userAgent);if((l||s&&u||a)&&"undefined"!=typeof FileReader){var c=new FileReader;c.onloadend=function(){var e=c.result;e=l?e:e.replace(/^data:[^;]*;/,"data:attachment/file;"),o?o.location.href=e:location=e,o=null},c.readAsDataURL(e)}else{var f=i.URL||i.webkitURL,d=f.createObjectURL(e);o?o.location=d:location.href=d,o=null,setTimeout(function(){f.revokeObjectURL(d)},4e4)}});i.saveAs=s.saveAs=s,e.exports=s})?o.apply(t,[]):o)&&(e.exports=r)},6374:function(e,t,n){"use strict";n.d(t,{A2:function(){return sO},D7:function(){return sC}});var r=n(6154),o=n(7294),i=function(e,t){return(i=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};function a(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var s=function(){return(s=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};function u(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)0>t.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n}function l(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a}function c(e,t,n){if(n||2==arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))}(ib=iO||(iO={}))[ib.Entering=0]="Entering",ib[ib.Present=1]="Present",ib[ib.Exiting=2]="Exiting",(iw=iC||(iC={}))[iw.Hide=0]="Hide",iw[iw.Show=1]="Show";var f=function(){},d=function(){};function p(e){return"undefined"!=typeof PointerEvent&&e instanceof PointerEvent?!("mouse"!==e.pointerType):e instanceof MouseEvent}var v={pageX:0,pageY:0};function m(e,t){var n,r,o;return void 0===t&&(t="page"),{point:e.touches?(void 0===(n=t)&&(n="page"),{x:(r=e.touches[0]||e.changedTouches[0]||v)[n+"X"],y:r[n+"Y"]}):(void 0===(o=t)&&(o="page"),{x:e[o+"X"],y:e[o+"Y"]})}}var h=function(e,t){void 0===t&&(t=!1);var n=function(t){return e(t,m(t))};return t?function(e){var t=e instanceof MouseEvent;(!t||t&&0===e.button)&&n(e)}:n},g=1/60*1e3,y="undefined"!=typeof performance?function(){return performance.now()}:function(){return Date.now()},b="undefined"!=typeof window?function(e){return window.requestAnimationFrame(e)}:function(e){return setTimeout(function(){return e(y())},g)},w=!0,x=!1,E=!1,S={delta:0,timestamp:0},P=["read","update","preRender","render","postRender"],O=P.reduce(function(e,t){var n,r,o,i,a,s;return e[t]=(n=[],r=[],o=0,i=!1,a=new WeakSet,s={schedule:function(e,t,s){void 0===t&&(t=!1),void 0===s&&(s=!1);var u=s&&i,l=u?n:r;return t&&a.add(e),-1===l.indexOf(e)&&(l.push(e),u&&i&&(o=n.length)),e},cancel:function(e){var t=r.indexOf(e);-1!==t&&r.splice(t,1),a.delete(e)},process:function(e){var t;if(i=!0,n=(t=[r,n])[0],(r=t[1]).length=0,o=n.length)for(var u=0;u<o;u++){var l=n[u];l(e),a.has(l)&&(s.schedule(l),x=!0)}i=!1}}),e},{}),C=P.reduce(function(e,t){var n=O[t];return e[t]=function(e,t,r){return void 0===t&&(t=!1),void 0===r&&(r=!1),x||j(),n.schedule(e,t,r)},e},{}),T=P.reduce(function(e,t){return e[t]=O[t].cancel,e},{}
1),k=P.reduce(function(e,t){return e[t]=function(){return O[t].process(S)},e},{}),A=function(e){return O[e].process(S)},_=function(e){x=!1,S.delta=w?g:Math.max(Math.min(e-S.timestamp,40),1),S.timestamp=e,E=!0,P.forEach(A),E=!1,x&&(w=!1,b(_))},j=function(){x=!0,w=!0,E||b(_)},M=function(){return S},L=function(e){return 1e3*e};function R(e,t,n,r){return e.addEventListener(t,n,r),function(){return e.removeEventListener(t,n,r)}}function z(e,t,n,r){(0,o.useEffect)(function(){var o=e.current;if(n&&o)return R(o,t,n,r)},[e,t,n,r])}var D="undefined"!=typeof window,I={pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointercancel:"mousecancel",pointerover:"mouseover",pointerout:"mouseout",pointerenter:"mouseenter",pointerleave:"mouseleave"},V={pointerdown:"touchstart",pointermove:"touchmove",pointerup:"touchend",pointercancel:"touchcancel"};function N(e){if(D&&null===window.onpointerdown);else if(D&&null===window.ontouchstart)return V[e];else if(D&&null===window.onmousedown)return I[e];return e}function B(e,t,n,r){return R(e,N(t),h(n,"pointerdown"===t),r)}function F(e,t,n,r){return z(e,N(t),n&&h(n,"pointerdown"===t),r)}var Y=function(e){return e.hasOwnProperty("x")&&e.hasOwnProperty("y")},X=function(e){return Y(e)&&e.hasOwnProperty("z")},U=function(e){return"number"==typeof e},W=function(e,t){return Math.abs(e-t)};function H(e,t){return U(e)&&U(t)?W(e,t):Y(e)&&Y(t)?Math.sqrt(Math.pow(W(e.x,t.x),2)+Math.pow(W(e.y,t.y),2)+Math.pow(X(e)&&X(t)?W(e.z,t.z):0,2)):void 0}var Z=function(e,t){return function(n){return t(e(n))}},K=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return e.reduce(Z)},q=function(){function e(e,t,n){var r=this,o=(void 0===n?{}:n).transformPagePoint;if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.updatePoint=function(){if(r.lastMoveEvent&&r.lastMoveEventInfo){var e=Q(r.lastMoveEventInfo,r.history),t=null!==r.startEvent,n=H(e.offset,{x:0,y:0})>=3;if(t||n){var o=e.point,i=M().timestamp;r.history.push(s(s({},o),{timestamp:i}));var a=r.handlers,u=a.onStart,l=a.onMove;t||(u&&u(r.lastMoveEvent,e),r.startEvent=r.lastMoveEvent),l&&l(r.lastMoveEvent,e)}}},this.handlePointerMove=function(e,t){if(r.lastMoveEvent=e,r.lastMoveEventInfo=$(t,r.transformPagePoint),p(e)&&0===e.buttons){r.handlePointerUp(e,t);return}C.update(r.updatePoint,!0)},this.handlePointerUp=function(e,t){r.end();var n=r.handlers,o=n.onEnd,i=n.onSessionEnd,a=Q($(t,r.transformPagePoint),r.history);r.startEvent&&o&&o(e,a),i&&i(e,a)},!e.touches||!(e.touches.length>1)){this.handlers=t,this.transformPagePoint=o;var i=$(m(e),this.transformPagePoint),a=i.point,u=M().timestamp;this.history=[s(s({},a),{timestamp:u})];var l=t.onSessionStart;l&&l(e,Q(i,this.history)),this.removeListeners=K(B(window,"pointermove",this.handlePointerMove),B(window,"pointerup",this.handlePointerUp),B(window,"pointercancel",this.handlePointerUp))}}return e.prototype.updateHandlers=function(e){this.handlers=e},e.prototype.end=function(){this.removeListeners&&this.removeListeners(),T.update(this.updatePoint)},e}();function $(e,t){return t?{point:t(e.point)}:e}function G(e,t){return{x:e.x-t.x,y:e.y-t.y}}function Q(e,t){var n=e.point;return{point:n,delta:G(n,J(t)),offset:G(n,t[0]),velocity:function(e,t){if(e.length<2)return{x:0,y:0};for(var n=e.length-1,r=null,o=J(e);n>=0&&(r=e[n],!(o.timestamp-r.timestamp>L(.1)));)n--;if(!r)return{x:0,y:0};var i=(o.timestamp-r.timestamp)/1e3;if(0===i)return{x:0,y:0};var a={x:(o.x-r.x)/i,y:(o.y-r.y)/i};return a.x===1/0&&(a.x=0),a.y===1/0&&(a.y=0),a}(t,0)}}function J(e){return e[e.length-1]}function ee(e){var t=null;return function(){return null===t&&(t=e,function(){t=null})}}var et=ee("dragHorizontal"),en=ee("dragVertical");function er(e){var t=!1;if("y"===e)t=en();else if("x"===e)t=et();else{var n=et(),r=en();n&&r?t=function(){n(),r()}:(n&&n(),r&&r())}return t}function eo(){var e=er(!0);return!e||(e(),!1)}function ei(e){return"object"==typeof e&&Object.prototype.hasOwnProperty.call(e,"current")}function ea(e){return e}function es(e){var t=e.top;return{x:{min:e.left,max:e.right},y:{min:t,max:e.bottom}}}function eu(){return{x:{min:0,max:1},y:{min:0,max:1}}}var el={translate:0,scale:1,origin:0,originPoint:0};function ec(){return{x:s({},el),y:s({},el)}}function ef(e){return[e("x"),e("y")]}var ed=function(e,t,n){return-n*e+n*t+e};function ep(e,t,n){var r=t.min,o=t.max;return void 0!==r&&e<r?e=n?ed(r,e,n.min):Math.max(e,r):void 0!==o&&e>o&&(e=n?ed(o,e,n.max):Math.min(e,o)),e}function ev(e,t,n){return{min:void 0!==t?e.min+t:void 0,max:void 0!==n?e.max+n-(e.max-e.min):void 0}}function em(e,t){var n,r=t.min-e.min,o=t.max-e.max;return t.max-t.min<e.max-e.min&&(r=(n=l([o,r],2))[0],o=n[1]),{min:e.min+r,max:e.min+o}}function eh(e,t,n){return{min:eg(e,t),max:eg(e,n)}}function eg(e,t){var n;return"number"==typeof e?e:null!==(n=e[t])&&void 0!==n?n:0}function ey(e,t){var n,r,o,i,a,s,u,l;return es((n=e.getBoundingClientRect(),r=t,o=n.top,i=n.left,a=n.bottom,s=n.right,void 0===r&&(r=ea),u=r({x:i,y:o}),l=r({x:s,y:a}
1),{top:u.y,left:u.x,bottom:l.y,right:l.x}))}var eb=function(e,t,n){return Math.min(Math.max(n,e),t)},ew=function(e,t,n){var r=t-e;return 0===r?1:(n-e)/r};function ex(e,t,n){return void 0===t&&(t=0),void 0===n&&(n=.01),H(e,t)<n}function eE(e){return e.max-e.min}function eS(e,t,n,r){void 0===r&&(r=.5),e.origin=r,e.originPoint=ed(t.min,t.max,e.origin),e.scale=eE(n)/eE(t),ex(e.scale,1,1e-4)&&(e.scale=1),e.translate=ed(n.min,n.max,e.origin)-e.originPoint,ex(e.translate)&&(e.translate=0)}function eP(e,t,n,r){eS(e.x,t.x,n.x,eO(r.originX)),eS(e.y,t.y,n.y,eO(r.originY))}function eO(e){return"number"==typeof e?e:.5}function eC(e,t,n){e.min=n.min+t.min,e.max=e.min+eE(t)}function eT(e,t){return e*Math.sqrt(1-t*t)}var ek=["duration","bounce"],eA=["stiffness","damping","mass"];function e_(e,t){return t.some(function(t){return void 0!==e[t]})}function ej(e){var t=e.from,n=void 0===t?0:t,r=e.to,o=void 0===r?1:r,i=e.restSpeed,a=void 0===i?2:i,l=e.restDelta,c=u(e,["from","to","restSpeed","restDelta"]),d={done:!1,value:n},p=function(e){var t=s({velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1},e);if(!e_(e,eA)&&e_(e,ek)){var n=function(e){var t,n,r=e.duration,o=void 0===r?800:r,i=e.bounce,a=e.velocity,s=void 0===a?0:a,u=e.mass,l=void 0===u?1:u;f(o<=1e4,"Spring duration must be 10 seconds or less");var c=1-(void 0===i?.25:i);c=eb(.05,1,c),o=eb(.01,10,o/1e3),c<1?(t=function(e){var t=e*c,n=t*o;return .001-(t-s)/eT(e,c)*Math.exp(-n)},n=function(e){var n=e*c*o,r=Math.pow(c,2)*Math.pow(e,2)*o,i=eT(Math.pow(e,2),c);return(-t(e)+.001>0?-1:1)*((n*s+s-r)*Math.exp(-n))/i}):(t=function(e){return -.001+Math.exp(-e*o)*((e-s)*o+1)},n=function(e){return Math.exp(-e*o)*((s-e)*(o*o))});var d=function(e,t,n){for(var r=n,o=1;o<12;o++)r-=e(r)/t(r);return r}(t,n,5/o);if(o*=1e3,isNaN(d))return{stiffness:100,damping:10,duration:o};var p=Math.pow(d,2)*l;return{stiffness:p,damping:2*c*Math.sqrt(l*p),duration:o}}(e);(t=s(s(s({},t),n),{velocity:0,mass:1})).isResolvedFromDuration=!0}return t}(c),v=p.stiffness,m=p.damping,h=p.mass,g=p.velocity,y=p.duration,b=p.isResolvedFromDuration,w=eM,x=eM;function E(){var e=g?-(g/1e3):0,t=o-n,r=m/(2*Math.sqrt(v*h)),i=Math.sqrt(v/h)/1e3;if(null!=l||(l=1>=Math.abs(o-n)?.01:.4),r<1){var a=eT(i,r);w=function(n){return o-Math.exp(-r*i*n)*((e+r*i*t)/a*Math.sin(a*n)+t*Math.cos(a*n))},x=function(n){var o=Math.exp(-r*i*n);return r*i*o*(Math.sin(a*n)*(e+r*i*t)/a+t*Math.cos(a*n))-o*(Math.cos(a*n)*(e+r*i*t)-a*t*Math.sin(a*n))}}else if(1===r)w=function(n){return o-Math.exp(-i*n)*(t+(e+i*t)*n)};else{var s=i*Math.sqrt(r*r-1);w=function(n){var a=Math.min(s*n,300);return o-Math.exp(-r*i*n)*((e+r*i*t)*Math.sinh(a)+s*t*Math.cosh(a))/s}}}return E(),{next:function(e){var t=w(e);if(b)d.done=e>=y;else{var n=1e3*x(e),r=Math.abs(o-t)<=l;d.done=Math.abs(n)<=a&&r}return d.value=d.done?o:t,d},flipTarget:function(){var e;g=-g,n=(e=[o,n])[0],o=e[1],E()}}}ej.needsInterpolation=function(e,t){return"string"==typeof e||"string"==typeof t};var eM=function(e){return 0},eL=function(e,t){return function(n){return Math.max(Math.min(n,t),e)}},eR=function(e){return e%1?Number(e.toFixed(5)):e},ez=/(-)?([\d]*\.?[\d])+/g,eD=/(#[0-9a-f]{6}|#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2,3}\s*\/*\s*[\d\.]+%?\))/gi,eI=/^(#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2,3}\s*\/*\s*[\d\.]+%?\))$/i;function eV(e){return"string"==typeof e}var eN={test:function(e){return"number"==typeof e},parse:parseFloat,transform:function(e){return e}},eB=s(s({},eN),{transform:eL(0,1)}),eF=s(s({},eN),{default:1}),eY=function(e,t){return function(n){return!!(eV(n)&&eI.test(n)&&n.startsWith(e)||t&&Object.prototype.hasOwnProperty.call(n,t))}},eX=function(e,t,n){return function(r){if(!eV(r))return r;var o,i=r.match(ez),a=i[0],s=i[1],u=i[2],l=i[3];return(o={})[e]=parseFloat(a),o[t]=parseFloat(s),o[n]=parseFloat(u),o.alpha=void 0!==l?parseFloat(l):1,o}},eU=eL(0,255),eW=s(s({},eN),{transform:function(e){return Math.round(eU(e))}}),eH={test:eY("rgb","red"),parse:eX("red","green","blue"),transform:function(e){var t=e.red,n=e.green,r=e.blue,o=e.alpha;return"rgba("+eW.transform(t)+", "+eW.transform(n)+", "+eW.transform(r)+", "+eR(eB.transform(void 0===o?1:o))+")"}},eZ={test:eY("#"),parse:function(e){var t="",n="",r="",o="";return e.length>5?(t=e.substr(1,2),n=e.substr(3,2),r=e.substr(5,2),o=e.substr(7,2)):(t=e.substr(1,1),n=e.substr(2,1),r=e.substr(3,1),o=e.substr(4,1),t+=t,n+=n,r+=r,o+=o),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alph
1a:o?parseInt(o,16)/255:1}},transform:eH.transform},eK=function(e){return{test:function(t){return eV(t)&&t.endsWith(e)&&1===t.split(" ").length},parse:parseFloat,transform:function(t){return""+t+e}}},eq=eK("deg"),e$=eK("%"),eG=eK("px"),eQ=eK("vh"),eJ=eK("vw"),e0=s(s({},e$),{parse:function(e){return e$.parse(e)/100},transform:function(e){return e$.transform(100*e)}}),e1={test:eY("hsl","hue"),parse:eX("hue","saturation","lightness"),transform:function(e){var t=e.hue,n=e.saturation,r=e.lightness,o=e.alpha;return"hsla("+Math.round(t)+", "+e$.transform(eR(n))+", "+e$.transform(eR(r))+", "+eR(eB.transform(void 0===o?1:o))+")"}},e5=function(e,t,n){var r=e*e;return Math.sqrt(Math.max(0,n*(t*t-r)+r))},e2=[eZ,eH,e1],e3=function(e){return e2.find(function(t){return t.test(e)})},e4=function(e){return"'"+e+"' is not an animatable color. Use the equivalent color code instead."},e6=function(e,t){var n=e3(e),r=e3(t);d(!!n,e4(e)),d(!!r,e4(t)),d(n.transform===r.transform,"Both colors must be hex/RGBA, OR both must be HSLA.");var o=n.parse(e),i=r.parse(t),a=s({},o),u=n===e1?ed:e5;return function(e){for(var t in a)"alpha"!==t&&(a[t]=u(o[t],i[t],e));return a.alpha=ed(o.alpha,i.alpha,e),n.transform(a)}},e8={test:function(e){return eH.test(e)||eZ.test(e)||e1.test(e)},parse:function(e){return eH.test(e)?eH.parse(e):e1.test(e)?e1.parse(e):eZ.parse(e)},transform:function(e){return eV(e)?e:e.hasOwnProperty("red")?eH.transform(e):e1.transform(e)}},e7="${c}",e9="${n}";function te(e){var t=[],n=0,r=e.match(eD);r&&(n=r.length,e=e.replace(eD,e7),t.push.apply(t,r.map(e8.parse)));var o=e.match(ez);return o&&(e=e.replace(ez,e9),t.push.apply(t,o.map(eN.parse))),{values:t,numColors:n,tokenised:e}}function tt(e){return te(e).values}function tn(e){var t=te(e),n=t.values,r=t.numColors,o=t.tokenised,i=n.length;return function(e){for(var t=o,n=0;n<i;n++)t=t.replace(n<r?e7:e9,n<r?e8.transform(e[n]):eR(e[n]));return t}}var tr=function(e){return"number"==typeof e?0:e},to={test:function(e){var t,n,r,o;return isNaN(e)&&eV(e)&&(null!==(n=null===(t=e.match(ez))||void 0===t?void 0:t.length)&&void 0!==n?n:0)+(null!==(o=null===(r=e.match(eD))||void 0===r?void 0:r.length)&&void 0!==o?o:0)>0},parse:tt,createTransformer:tn,getAnimatableNone:function(e){var t=tt(e);return tn(e)(t.map(tr))}};function ti(e,t){return U(e)?function(n){return ed(e,t,n)}:e8.test(e)?e6(e,t):tl(e,t)}var ta=function(e,t){var n=c([],e),r=n.length,o=e.map(function(e,n){return ti(e,t[n])});return function(e){for(var t=0;t<r;t++)n[t]=o[t](e);return n}},ts=function(e,t){var n=s(s({},e),t),r={};for(var o in n)void 0!==e[o]&&void 0!==t[o]&&(r[o]=ti(e[o],t[o]));return function(e){for(var t in r)n[t]=r[t](e);return n}};function tu(e){for(var t=to.parse(e),n=t.length,r=0,o=0,i=0,a=0;a<n;a++)r||"number"==typeof t[a]?r++:void 0!==t[a].hue?i++:o++;return{parsed:t,numNumbers:r,numRGB:o,numHSL:i}}var tl=function(e,t){var n=to.createTransformer(t),r=tu(e),o=tu(t);return d(r.numHSL===o.numHSL&&r.numRGB===o.numRGB&&r.numNumbers>=o.numNumbers,"Complex values '"+e+"' and '"+t+"' too different to mix. Ensure all colors are of the same type."),K(ta(r.parsed,o.parsed),n)},tc=function(e,t){return function(n){return ed(e,t,n)}};function tf(e,t,n){var r,o,i,a,s,u,l,c=void 0===n?{}:n,f=c.clamp,p=c.ease,v=c.mixer,m=e.length;d(m===t.length,"Both input and output ranges must be the same length"),d(!p||!Array.isArray(p)||p.length===m-1,"Array of easing functions must be of length `input.length - 1`, as it applies to the transitions **between** the defined values."),e[0]>e[m-1]&&(e=[].concat(e),t=[].concat(t),e.reverse(),t.reverse());var h=function(e,t,n){for(var r,o=[],i=n||("number"==typeof(r=e[0])?tc:"string"==typeof r?e8.test(r)?e6:tl:Array.isArray(r)?ta:"object"==typeof r?ts:void 0),a=e.length-1,s=0;s<a;s++){var u=i(e[s],e[s+1]);t&&(u=K(Array.isArray(t)?t[s]:t,u)),o.push(u)}return o}(t,p,v),g=2===m?(o=(r=e)[0],i=r[1],a=h[0],function(e){return a(ew(o,i,e))}):(l=(u=(s=e).length)-1,function(e){var t=0,n=!1;if(e<=s[0]?n=!0:e>=s[l]&&(t=l-1,n=!0),!n){for(var r=1;r<u&&!(s[r]>e)&&r!==l;r++);t=r-1}var o=ew(s[t],s[t+1],e);return h[t](o)});return void 0===f||f?function(t){return g(eb(e[0],e[m-1],t))}:g}var td=function(e){return function(t){return 1-e(1-t)}}
1,tp=function(e){return function(t){return t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2}},tv=function(e){return function(t){return t*t*((e+1)*t-e)}},tm=4/11,th=8/11,tg=function(e){return e},ty=function(e){return Math.pow(e,2)},tb=td(ty),tw=tp(ty),tx=function(e){return 1-Math.sin(Math.acos(e))},tE=td(tx),tS=tp(tE),tP=tv(1.525),tO=td(tP),tC=tp(tP),tT=(ix=tv(1.525),function(e){return(e*=2)<1?.5*ix(e):.5*(2-Math.pow(2,-10*(e-1)))}),tk=4356/361,tA=35442/1805,t_=16061/1805,tj=function(e){if(1===e||0===e)return e;var t=e*e;return e<tm?7.5625*t:e<th?9.075*t-9.9*e+3.4:e<.9?tk*t-tA*e+t_:10.8*e*e-20.52*e+10.72},tM=td(tj);function tL(e){var t,n=e.from,r=void 0===n?0:n,o=e.to,i=void 0===o?1:o,a=e.ease,s=e.offset,u=e.duration,l=void 0===u?300:u,c={done:!1,value:r},f=Array.isArray(i)?i:[r,i],d=(s&&s.length===f.length?s:(t=f.length,f.map(function(e,n){return 0!==n?n/(t-1):0}))).map(function(e){return e*l});function p(){return tf(d,f,{ease:Array.isArray(a)?a:f.map(function(){return a||tw}).splice(0,f.length-1)})}var v=p();return{next:function(e){return c.value=v(e),c.done=e>=l,c},flipTarget:function(){f.reverse(),v=p()}}}var tR={keyframes:tL,spring:ej,decay:function(e){var t=e.velocity,n=e.from,r=void 0===n?0:n,o=e.power,i=e.timeConstant,a=void 0===i?350:i,s=e.restDelta,u=void 0===s?.5:s,l=e.modifyTarget,c={done:!1,value:r},f=(void 0===o?.8:o)*(void 0===t?0:t),d=r+f,p=void 0===l?d:l(d);return p!==d&&(f=p-r),{next:function(e){var t=-f*Math.exp(-e/a);return c.done=!(t>u||t<-u),c.value=c.done?p:p+t,c},flipTarget:function(){}}}};function tz(e,t,n){return void 0===n&&(n=0),e-t-n}var tD=function(e){var t=function(t){return e(t.delta)};return{start:function(){return C.update(t,!0)},stop:function(){return T.update(t)}}};function tI(e){var t,n,r,o,i=e.from,a=e.autoplay,l=e.driver,c=e.elapsed,f=void 0===c?0:c,d=e.repeat,p=void 0===d?0:d,v=e.repeatType,m=void 0===v?"loop":v,h=e.repeatDelay,g=void 0===h?0:h,y=e.onPlay,b=e.onStop,w=e.onComplete,x=e.onRepeat,E=e.onUpdate,S=u(e,["from","autoplay","driver","elapsed","repeat","repeatType","repeatDelay","onPlay","onStop","onComplete","onRepeat","onUpdate"]),P=S.to,O=0,C=S.duration,T=!1,k=!0,A=function(e){if(Array.isArray(e.to))return tL;if(tR[e.type])return tR[e.type];var t=new Set(Object.keys(e));if(t.has("ease")||t.has("duration")&&!t.has("dampingRatio"));else if(t.has("dampingRatio")||t.has("stiffness")||t.has("mass")||t.has("damping")||t.has("restSpeed")||t.has("restDelta"))return ej;return tL}(S);(null===(t=A.needsInterpolation)||void 0===t?void 0:t.call(A,i,P))&&(o=tf([0,100],[i,P],{clamp:!1}),i=0,P=100);var _=A(s(s({},S),{from:i,to:P}));return(void 0===a||a)&&(null==y||y(),(n=(void 0===l?tD:l)(function(e){if(k||(e=-e),f+=e,!T){var t,i,a=_.next(Math.max(0,f));r=a.value,o&&(r=o(r)),T=k?a.done:f<=0}null==E||E(r),T&&((0===O&&(null!=C||(C=f)),O<p)?(t=f,i=C,(k?t>=i+g:t<=-g)&&function(){if(O++,"reverse"===m){var e,t,n,r;k=O%2==0,e=f,t=C,void 0===(n=g)&&(n=0),void 0===(r=k)&&(r=!0),f=r?tz(t+-e,t,n):t-(e-t)+n}else f=tz(f,C,g),"mirror"===m&&_.flipTarget();T=!1,x&&x()}()):(n.stop(),w&&w()))})).start()),{stop:function(){null==b||b(),n.stop()}}}var tV=function(e,t){return 1-3*t+3*e},tN=function(e,t){return 3*t-6*e},tB=function(e){return 3*e},tF=function(e,t,n){return((tV(t,n)*e+tN(t,n))*e+tB(t))*e},tY=function(e,t,n){return 3*tV(t,n)*e*e+2*tN(t,n)*e+tB(t)},tX={linear:tg,easeIn:ty,easeInOut:tw,easeOut:tb,circIn:tx,circInOut:tS,circOut:tE,backIn:tP,backInOut:tC,backOut:tO,anticipate:tT,bounceIn:tM,bounceInOut:function(e){return e<.5?.5*(1-tj(1-2*e)):.5*tj(2*e-1)+.5},bounceOut:tj},tU=function(e){if(Array.isArray(e)){d(4===e.length,"Cubic bezier arrays must contain four numerical values.");var t=l(e,4);return function(e,t,n,r){if(e===t&&n===r)return tg;for(var o=new Float32Array(11),i=0;i<11;++i)o[i]=tF(.1*i,e,n);return function(i){return 0===i||1===i?i:tF(function(t){for(var r=0,i=1;10!==i&&o[i]<=t;++i)r+=.1;var a=r+(t-o[--i])/(o[i+1]-o[i])*.1,s=tY(a,e,n);return s>=.001?function(e,t,n,r){for(var o=0;o<8;++o){var i=tY(t,n,r);if(0===i)break;var a=tF(t,n,r)-e;t-=a/i}return t}(t,a,e,n):0===s?a:function(e,t,n,r,o){var i,a,s=0;do(i=tF(a=t+(n-t)/2,r,o)-e)>0?n=a:t=a;while(Math.abs(i)>1e-7&&++s<10);return a}(t,r,r+.1,e,n)}(i),t,r)}}(t[0],t[1],t[2],t[3])}return"string"==typeof e?(d(void 0!==tX[e],"Invalid easing type '"+e+"'"),tX[e]):e},tW=function(e,t){return"zIndex"!==e&&!!("number"==typeof t||Array.isArray(t)||"string"==typeof t&&to.test(t)&&!t.startsWith("url("))},tH=function(e){return Array.isArray(e)},tZ=function(){return{type:"spring",stiffness:500,damping:25,restDelta:.5,restSpeed:10}},tK=function(e){return{type:"spring",stiffness:550,damping:0===e?2*Math.sqrt(550):30,restDelta:.01,restSpeed:10}},tq=function(){return{type:"keyframes",ease:"linear",duration:.3}},t$=function(e){return{type:"keyframes",duration:.8,values:e}},tG={x:tZ,y:tZ,z:tZ,rotate:tZ,rotateX:tZ,rotateY:tZ,rotateZ:tZ,scaleX:tK,scaleY:tK,scale:tK,opacity:tq,backgroundColor:tq,color:tq,default:tK},tQ=function(e,t){var n;return n=tH(t)?t$:tG[e]||tG.default,s({to:t},n(t))},tJ=new Set(["brightness","contrast","saturate","opacity"]);function t0(e){var t=e.slice(0,-1).split("("),n=t[0],r=t[1];if("drop-shadow"===n)return e;var o=(r.match(ez)||[])[0];if(!o)return e;var i=r.replace(o,""),a=tJ.has(n)?1:0;
1return o!==r&&(a*=100),n+"("+a+i+")"}var t1=/([a-z-]*)\(.*?\)/g,t5=s(s({},to),{getAnimatableNone:function(e){var t=e.match(t1);return t?t.map(t0).join(" "):e}}),t2=s(s({},eN),{transform:Math.round}),t3={borderWidth:eG,borderTopWidth:eG,borderRightWidth:eG,borderBottomWidth:eG,borderLeftWidth:eG,borderRadius:eG,radius:eG,borderTopLeftRadius:eG,borderTopRightRadius:eG,borderBottomRightRadius:eG,borderBottomLeftRadius:eG,width:eG,maxWidth:eG,height:eG,maxHeight:eG,size:eG,top:eG,right:eG,bottom:eG,left:eG,padding:eG,paddingTop:eG,paddingRight:eG,paddingBottom:eG,paddingLeft:eG,margin:eG,marginTop:eG,marginRight:eG,marginBottom:eG,marginLeft:eG,rotate:eq,rotateX:eq,rotateY:eq,rotateZ:eq,scale:eF,scaleX:eF,scaleY:eF,scaleZ:eF,skew:eq,skewX:eq,skewY:eq,distance:eG,translateX:eG,translateY:eG,translateZ:eG,x:eG,y:eG,z:eG,perspective:eG,transformPerspective:eG,opacity:eB,originX:e0,originY:e0,originZ:eG,zIndex:t2,fillOpacity:eB,strokeOpacity:eB,numOctaves:t2},t4=s(s({},t3),{color:e8,backgroundColor:e8,outlineColor:e8,fill:e8,stroke:e8,borderColor:e8,borderTopColor:e8,borderRightColor:e8,borderBottomColor:e8,borderLeftColor:e8,filter:t5,WebkitFilter:t5}),t6=function(e){return t4[e]};function t8(e,t){var n,r=t6(e);return r!==t5&&(r=to),null===(n=r.getAnimatableNone)||void 0===n?void 0:n.call(r,t)}var t7=!1;function t9(e){return 0===e||"string"==typeof e&&0===parseFloat(e)&&-1===e.indexOf(" ")}function ne(e){return"number"==typeof e?0:t8("",e)}function nt(e,t){return e[t]||e.default||e}function nn(e,t,n,r){return void 0===r&&(r={}),t.start(function(o){var i,a,d,p,v,m,h,g,y,b=(a=n,v=null!==(d=(p=nt(r,e)).from)&&void 0!==d?d:t.get(),m=tW(e,a),"none"===v&&m&&"string"==typeof a?v=t8(e,a):t9(v)&&"string"==typeof a?v=ne(a):!Array.isArray(a)&&t9(a)&&"string"==typeof v&&(a=ne(v)),f((h=tW(e,v))===m,"You are trying to animate "+e+' from "'+v+'" to "'+a+'". '+v+" is not an animatable value - to enable this animation set "+v+" to a value animatable to "+a+" via the `style` property."),h&&m&&!1!==p.type?function(){var n,r,i,d,m,h,g,y,b,w,x,E,S={from:v,to:a,velocity:t.getVelocity(),onComplete:o,onUpdate:function(e){return t.set(e)}};return"inertia"===p.type||"decay"===p.type?function(e){var t=e.from,n=void 0===t?0:t,r=e.velocity,o=void 0===r?0:r,i=e.min,a=e.max,u=e.power,l=void 0===u?.8:u,c=e.timeConstant,f=e.bounceStiffness,d=void 0===f?500:f,p=e.bounceDamping,v=void 0===p?10:p,m=e.restDelta,h=void 0===m?1:m,g=e.modifyTarget,y=e.driver,b=e.onUpdate,w=e.onComplete;function x(e){return void 0!==i&&e<i||void 0!==a&&e>a}function E(e){return void 0===i?a:void 0===a?i:Math.abs(i-e)<Math.abs(a-e)?i:a}function S(e){null==O||O.stop(),O=tI(s(s({},e),{driver:y,onUpdate:function(t){var n;null==b||b(t),null===(n=e.onUpdate)||void 0===n||n.call(e,t)},onComplete:w}))}function P(e){S(s({type:"spring",stiffness:d,damping:v,restDelta:h},e))}if(x(n))P({from:n,velocity:o,to:E(n)});else{var O,C,T,k=l*o+n;void 0!==g&&(k=g(k));var A=E(k),_=A===i?-1:1;S({type:"decay",from:n,velocity:o,timeConstant:void 0===c?750:c,power:l,restDelta:h,modifyTarget:g,onUpdate:x(k)?function(e){var t;C=T,T=e,o=(t=M().delta)?(e-C)*(1e3/t):0,(1===_&&e>A||-1===_&&e<A)&&P({from:e,to:A,velocity:o})}:void 0})}return{stop:function(){return null==O?void 0:O.stop()}}}(s(s({},S),p)):tI(s(s({},(b=p,Array.isArray(S.to)&&(null!==(w=b.duration)&&void 0!==w||(b.duration=.8)),Array.isArray((x=S).to)&&null===x.to[0]&&(x.to=c([],l(x.to)),x.to[0]=x.from),(E=b).when,E.delay,E.delayChildren,E.staggerChildren,E.staggerDirection,E.repeat,E.repeatType,E.repeatDelay,E.from,Object.keys(u(E,["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from"])).length||(b=s(s({},b),tQ(e,S.to))),s(s({},S),(r=(n=b).ease,i=n.times,d=n.yoyo,m=n.flip,h=n.loop,g=u(n,["ease","times","yoyo","flip","loop"]),y=s({},g),i&&(y.offset=i),g.duration&&(y.duration=L(g.duration)),g.repeatDelay&&(y.repeatDelay=L(g.repeatDelay)),r&&(y.ease=Array.isArray(r)&&"number"!=typeof r[0]?r.map(tU):tU(r)),"tween"===g.type&&(y.type="keyframes"),(d||h||m)&&(f(!t7,"yoyo, loop and flip have been removed from the API. Replace with repeat and repeatType options."),t7=!0,d?y.repeatType="reverse":h?y.repeatType="loop":m&&(y.repeatType="mirror"),y.repeat=h||d||m||g.repeat),"spring"!==g.type&&(y.type="keyframes"),y)))),{onUpdate:function(e){var t;S.onUpdate(e),null===(t=p.onUpdate)||void 0===t||t.call(p,e)},onComplete:function(){var e;S.onComplete(),null===(e=p.onComplete)||void 0===e||e.call(p)}}))}:function(){var e;return t.set(a),o(),null===(e=null==p?void 0:p.onComplete)||void 0===e||e.call(p),{stop:function(){}}}),w=null!==(i=(nt(r,e)||{}).delay)&&void 0!==i?i:0,x=function(){return y=b()};return w?g=setTimeout(x,L(w)):x(),function(){clearTimeout(g),null==y||y.stop()}})}(iE=iT||(iT={})).Animate="animate",iE.Hover="whileHover",iE.Tap="whileTap",iE.Drag="whileDrag",iE.Focus="whileFocus",iE.Exit="exit";var nr=function(e,t){return e.depth-t.depth};function no(e){return e.projection.isEnabled||e.shouldResetTransform()}function ni(e,t){void 0===t&&(t=[]);var n=e.parent;return n&&ni(n,t),no(e)&&t.push(e),t}function na(e){if(!e.shouldResetTransform()){var t,n=e.getLayoutState();e.notifyBeforeLayoutMeasure(n.layout),n.isHydrated=!0,n.layout=e.measureViewportBox(),n.layoutCorrected={x:s({},(t=n.layout).x),y:s({},t.y)},e.notifyLayoutMeasure(n.layout,e.prevViewportBox||n.layout),C.update(function(){return e.rebaseProjectionTarget()})}}function ns(e){e.shouldResetTransform()||(e.prevViewportBox=e.measureViewportBox(!1),e.rebaseProjectionTarget(!1,e.prevViewportBox))}function nu(e,t){return{min:t.min-e.min,max:t.max-e.min}}function nl(e,t){return{x:nu(e.x,t.x),y:nu(e.y,t.y)}}function nc(e){var t=e.getProps(),n=t.drag,r=t._dragX;return n&&!r}function nf(e,t){e.min=t.min,e.max=t.max}
1function nd(e,t,n,r,o){return void 0!==o&&(e=r+o*(e-r)),r+n*(e-r)+t}function np(e,t,n,r,o){void 0===t&&(t=0),void 0===n&&(n=1),e.min=nd(e.min,t,n,r,o),e.max=nd(e.max,t,n,r,o)}function nv(e,t,n,r){var o=l(r,3),i=o[0],a=o[1],s=o[2];e.min=t.min,e.max=t.max;var u=void 0!==n[s]?n[s]:.5,c=ed(t.min,t.max,u);np(e,n[i],n[a],c,n.scale)}var nm=["x","scaleX","originX"],nh=["y","scaleY","originY"];function ng(e,t,n){nv(e.x,t.x,n,nm),nv(e.y,t.y,n,nh)}function ny(e,t,n,r,o){return e-=t,e=r+1/n*(e-r),void 0!==o&&(e=r+1/o*(e-r)),e}function nb(e,t,n){var r,o,i,a,s,u,c=l(n,3),f=c[0],d=c[1],p=c[2];r=e,o=t[f],i=t[d],a=t[p],s=t.scale,void 0===o&&(o=0),void 0===i&&(i=1),void 0===a&&(a=.5),u=ed(r.min,r.max,a)-o,r.min=ny(r.min,o,i,u,s),r.max=ny(r.max,o,i,u,s)}function nw(e,t){nb(e.x,t,nm),nb(e.y,t,nh)}var nx=new Set;function nE(e,t,n){e[n]||(e[n]=[]),e[n].push(t)}function nS(e){return nx.add(e),function(){return nx.delete(e)}}function nP(){if(nx.size){var e=0,t=[[]],n=[],r=function(n){return nE(t,n,e)},o=function(t){nE(n,t,e),e++};nx.forEach(function(t){t(r,o),e=0}),nx.clear();for(var i=n.length,a=0;a<=i;a++)t[a]&&t[a].forEach(nO),n[a]&&n[a].forEach(nO)}}var nO=function(e){return e()},nC=new WeakMap,nT=function(){function e(e){var t=e.visualElement;this.isDragging=!1,this.currentDirection=null,this.constraints=!1,this.elastic=eu(),this.props={},this.hasMutatedConstraints=!1,this.cursorProgress={x:.5,y:.5},this.originPoint={},this.openGlobalLock=null,this.panSession=null,this.visualElement=t,this.visualElement.enableLayoutProjection(),nC.set(t,this)}return e.prototype.start=function(e,t){var n=this,r=void 0===t?{}:t,o=r.snapToCursor,i=void 0!==o&&o,a=r.cursorProgress,s=this.props.transformPagePoint;this.panSession=new q(e,{onSessionStart:function(e){n.stopMotion();var t,r=m(e,"client").point;null===(t=n.cancelLayout)||void 0===t||t.call(n),n.cancelLayout=nS(function(e,t){var o,s,u,f=ni(n.visualElement),d=(o=n.visualElement,s=[],u=function(e){no(e)&&s.push(e),e.children.forEach(u)},o.children.forEach(u),s.sort(nr)),p=c(c([],l(f)),l(d)),v=!1;n.isLayoutDrag()&&n.visualElement.lockProjectionTarget(),t(function(){p.forEach(function(e){return e.resetTransform()})}),e(function(){na(n.visualElement),d.forEach(na)}),t(function(){p.forEach(function(e){return e.restoreTransform()}),i&&(v=n.snapToCursor(r))}),e(function(){n.getAxisMotionValue("x")&&!n.isExternalDrag()||n.visualElement.rebaseProjectionTarget(!0,n.visualElement.measureViewportBox(!1)),n.visualElement.scheduleUpdateLayoutProjection();var e=n.visualElement.projection;ef(function(t){if(!v){var o=e.target[t],i=o.min,s=o.max;n.cursorProgress[t]=a?a[t]:ew(i,s,r[t])}var u=n.getAxisMotionValue(t);u&&(n.originPoint[t]=u.get())})}),t(function(){k.update(),k.preRender(),k.render(),k.postRender()}),e(function(){return n.resolveDragConstraints()})})},onStart:function(e,t){var r,o,i,a=n.props,s=a.drag,u=a.dragPropagation;(!s||u||(n.openGlobalLock&&n.openGlobalLock(),n.openGlobalLock=er(s),n.openGlobalLock))&&(nP(),n.isDragging=!0,n.currentDirection=null,null===(o=(r=n.props).onDragStart)||void 0===o||o.call(r,e,t),null===(i=n.visualElement.animationState)||void 0===i||i.setActive(iT.Drag,!0))},onMove:function(e,t){var r,o,i,a,s=n.props,u=s.dragPropagation,l=s.dragDirectionLock;if(u||n.openGlobalLock){var c,f,d=t.offset;if(l&&null===n.currentDirection){n.currentDirection=(void 0===c&&(c=10),f=null,Math.abs(d.y)>c?f="y":Math.abs(d.x)>c&&(f="x"),f),null!==n.currentDirection&&(null===(o=(r=n.props).onDirectionLock)||void 0===o||o.call(r,n.currentDirection));return}n.updateAxis("x",t.point,d),n.updateAxis("y",t.point,d),null===(a=(i=n.props).onDrag)||void 0===a||a.call(i,e,t),ik=e}},onSessionEnd:function(e,t){return n.stop(e,t)}},{transformPagePoint:s})},e.prototype.resolveDragConstraints=function(){var e,t,n,r,o,i=this,a=this.props,s=a.dragConstraints,u=a.dragElastic,l=this.visualElement.getLayoutState().layoutCorrected;s?this.constraints=ei(s)?this.resolveRefConstraints(l,s):(e=s.top,t=s.left,n=s.bottom,r=s.right,{x:ev(l.x,t,r),y:ev(l.y,e,n)}):this.constraints=!1,this.elastic=(!1===(o=u)?o=0:!0===o&&(o=.35),{x:eh(o,"left","right"),y:eh(o,"top","bottom")}),this.constraints&&!this.hasMutatedConstraints&&ef(function(e){if(i.getAxisMotionValue(e)){var t,n,r;
1i.constraints[e]=(t=l[e],n=i.constraints[e],r={},void 0!==n.min&&(r.min=n.min-t.min),void 0!==n.max&&(r.max=n.max-t.min),r)}})},e.prototype.resolveRefConstraints=function(e,t){var n=this.props,r=n.onMeasureDragConstraints,o=n.transformPagePoint,i=t.current;d(null!==i,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop."),this.constraintsBox=ey(i,o);var a=(s=this.constraintsBox,{x:em(e.x,s.x),y:em(e.y,s.y)});if(r){var s,u,l,c,f=r((l=(u=a).x,{top:(c=u.y).min,bottom:c.max,left:l.min,right:l.max}));this.hasMutatedConstraints=!!f,f&&(a=es(f))}return a},e.prototype.cancelDrag=function(){var e,t;this.visualElement.unlockProjectionTarget(),null===(e=this.cancelLayout)||void 0===e||e.call(this),this.isDragging=!1,this.panSession&&this.panSession.end(),this.panSession=null,!this.props.dragPropagation&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),null===(t=this.visualElement.animationState)||void 0===t||t.setActive(iT.Drag,!1)},e.prototype.stop=function(e,t){null===(n=this.panSession)||void 0===n||n.end(),this.panSession=null;var n,r,o,i=this.isDragging;if(this.cancelDrag(),i){var a=t.velocity;this.animateDragEnd(a),null===(o=(r=this.props).onDragEnd)||void 0===o||o.call(r,e,t)}},e.prototype.snapToCursor=function(e){var t=this;return ef(function(n){if(nk(n,t.props.drag,t.currentDirection)){var r=t.getAxisMotionValue(n);if(!r)return t.cursorProgress[n]=.5,!0;var o=t.visualElement.getLayoutState().layout,i=o[n].max-o[n].min,a=o[n].min+i/2,s=e[n]-a;t.originPoint[n]=e[n],r.set(s)}}).includes(!0)},e.prototype.updateAxis=function(e,t,n){if(nk(e,this.props.drag,this.currentDirection))return this.getAxisMotionValue(e)?this.updateAxisMotionValue(e,n):this.updateVisualElementAxis(e,t)},e.prototype.updateAxisMotionValue=function(e,t){var n=this.getAxisMotionValue(e);if(t&&n){var r=this.originPoint[e]+t[e],o=this.constraints?ep(r,this.constraints[e],this.elastic[e]):r;n.set(o)}},e.prototype.updateVisualElementAxis=function(e,t){var n,r,o,i,a,s=this.visualElement.getLayoutState().layout[e],u=s.max-s.min,l=this.cursorProgress[e],c=(n=t[e],r=null===(a=this.constraints)||void 0===a?void 0:a[e],o=this.elastic[e],i=n-u*l,r?ep(i,r,o):i);this.visualElement.setProjectionTargetAxis(e,c,c+u)},e.prototype.setProps=function(e){var t=e.drag,n=e.dragDirectionLock,r=e.dragPropagation,o=e.dragConstraints,i=e.dragElastic,a=e.dragMomentum,l=u(e,["drag","dragDirectionLock","dragPropagation","dragConstraints","dragElastic","dragMomentum"]);this.props=s({drag:void 0!==t&&t,dragDirectionLock:void 0!==n&&n,dragPropagation:void 0!==r&&r,dragConstraints:void 0!==o&&o,dragElastic:void 0===i?.35:i,dragMomentum:void 0===a||a},l)},e.prototype.getAxisMotionValue=function(e){var t=this.props,n=t.layout,r=t.layoutId,o="_drag"+e.toUpperCase();return this.props[o]?this.props[o]:n||void 0!==r?void 0:this.visualElement.getValue(e,0)},e.prototype.isLayoutDrag=function(){return!this.getAxisMotionValue("x")},e.prototype.isExternalDrag=function(){var e=this.props,t=e._dragX,n=e._dragY;return t||n},e.prototype.animateDragEnd=function(e){var t,n,r,o,i=this,a=this.props,u=a.drag,l=a.dragMomentum,c=a.dragElastic,f=a.dragTransition,d=(t=this.visualElement,void 0===(n=this.isLayoutDrag()&&!this.isExternalDrag())&&(n=!0),!!(o=t.getProjectionParent())&&(n?nw(r=nl(o.projection.target,t.projection.target),o.getLatestValues()):r=nl(o.getLayoutState().layout,t.getLayoutState().layout),ef(function(e){return t.setProjectionTargetAxis(e,r[e].min,r[e].max,!0)}),!0)),p=this.constraints||{};if(d&&Object.keys(p).length&&this.isLayoutDrag()){var v=this.visualElement.getProjectionParent();if(v){var m=nl(v.projection.targetFinal,p);ef(function(e){var t=m[e],n=t.min,r=t.max;p[e]={min:isNaN(n)?void 0:n,max:isNaN(r)?void 0:r}})}}return Promise.all(ef(function(t){if(nk(t,u,i.currentDirection)){var n,r=null!==(n=null==p?void 0:p[t])&&void 0!==n?n:{},o=s(s({type:"inertia",velocity:l?e[t]:0,bounceStiffness:c?200:1e6,bounceDamping:c?40:1e7,timeConstant:750,restDelta:1,restSpeed:10},f),r);return i.getAxisMotionValue(t)?i.startAxisValueAnimation(t,o):i.visualElement.startLayoutAnimation(t,o,d)}})).then(function(){var e,t;null===(t=(e=i.props).onDragTransitionEnd)||void 0===t||t.call(e)})},e.prototype.stopMotion=function(){var e=this;ef(function(t){var n=e.getAxisMotionValue(t);n?n.stop():e.visualElement.stopLayoutAnimation()})},e.prototype.startAxisValueAnimation=function(e,t){var n=this.getAxisMotionValue(e);if(n){var r=n.get();return n.set(r),n.set(r),nn(e,n,0,t)}},e.prototype.scalePoint=function(){var e=this,t=this.props,n=t.drag;if(ei(t.dragConstraints)&&this.constraintsBox){this.stopMotion();var r={x:0,y:0};ef(function(t){var n,o,i,a,s;r[t]=(n=e.visualElement.projection.target[t],o=e.constraintsBox[t],i=.5,a=eE(n),(s=eE(o))>a?i=ew(o.min,o.max-a,n.min):a>s&&(i=ew(n.min,n.max-s,o.min)),eb(0,1,i))}),this.updateConstraints(function(){ef(function(t){if(nk(t,n,null)){var o,i,a,s,u,l=(o=e.visualElement.projection.target[t],i=e.constraintsBox[t],a=r[t],s=o.max-o.min,{min:u=ed(i.min,i.max-s,a),max:u+s}),c=l.min,f=l.max;e.visualElement.setProjectionTargetAxis(t,c,f)}})}),setTimeout(nP,1)}},e.prototype.updateConstraints=function(e){var t=this;this.cancelLayout=nS(function(n,r){var o=ni(t.visualElement);r(function(){return o.forEach(function(e){return e.resetTransform()})}),n(function(){return na(t.visualElement)}),r(function(){return o.forEach(function(e){return e.restoreTransform()})}),n(function(){t.resolveDragConstraints()}),e&&r(e)})},e.prototype.mount=function(e){var t=this,n=B(e.getInstance(),"pointerdown",function(e){var n=t.props,r=n.drag,o=n.dragListener;r&&(void 0===o||o)&&t.start(e)}),r=R(window,"resize",function(){t.scalePoint()}),o=e.onLayoutUpdate(function(){t.isDragging&&t.resolveDragConstraints()}),i=e.prevDragCursor;return i&&this.start(ik,{cursorProgress:i}),function(){null==n||n(),null==r||r(),null==o||o(),t.cancelDrag()}},e}();function nk(e,t,n){return(!0===t||t===e)&&(null===n||n===e)}function nA(e,t){-1===e.indexOf(t)&&e.push(t)}function n_(e,t){var n=e.indexOf(t);n>-1&&e.splice(n,1)}var nj=function(){function e(){this.subscriptions=[]}return e.prototype.add=function(e){var t=this;return nA(this.subscriptions,e),function(){return n_(t.subscriptions,e)}},e.prototype.notify=function(e,t,n){var r=this.subscriptions.length;
1if(r){if(1===r)this.subscriptions[0](e,t,n);else for(var o=0;o<r;o++){var i=this.subscriptions[o];i&&i(e,t,n)}}},e.prototype.getSize=function(){return this.subscriptions.length},e.prototype.clear=function(){this.subscriptions.length=0},e}(),nM=function(){function e(e){var t=this;this.timeDelta=0,this.lastUpdated=0,this.updateSubscribers=new nj,this.velocityUpdateSubscribers=new nj,this.renderSubscribers=new nj,this.canTrackVelocity=!1,this.updateAndNotify=function(e,n){void 0===n&&(n=!0),t.prev=t.current,t.current=e;var r=M(),o=r.delta,i=r.timestamp;t.lastUpdated!==i&&(t.timeDelta=o,t.lastUpdated=i,C.postRender(t.scheduleVelocityCheck)),t.prev!==t.current&&t.updateSubscribers.notify(t.current),t.velocityUpdateSubscribers.getSize()&&t.velocityUpdateSubscribers.notify(t.getVelocity()),n&&t.renderSubscribers.notify(t.current)},this.scheduleVelocityCheck=function(){return C.postRender(t.velocityCheck)},this.velocityCheck=function(e){e.timestamp!==t.lastUpdated&&(t.prev=t.current,t.velocityUpdateSubscribers.notify(t.getVelocity()))},this.hasAnimated=!1,this.prev=this.current=e,this.canTrackVelocity=!isNaN(parseFloat(this.current))}return e.prototype.onChange=function(e){return this.updateSubscribers.add(e)},e.prototype.clearListeners=function(){this.updateSubscribers.clear()},e.prototype.onRenderRequest=function(e){return e(this.get()),this.renderSubscribers.add(e)},e.prototype.attach=function(e){this.passiveEffect=e},e.prototype.set=function(e,t){void 0===t&&(t=!0),t&&this.passiveEffect?this.passiveEffect(e,this.updateAndNotify):this.updateAndNotify(e,t)},e.prototype.get=function(){return this.current},e.prototype.getPrevious=function(){return this.prev},e.prototype.getVelocity=function(){var e,t;return this.canTrackVelocity?(e=parseFloat(this.current)-parseFloat(this.prev),(t=this.timeDelta)?e*(1e3/t):0):0},e.prototype.start=function(e){var t=this;return this.stop(),new Promise(function(n){t.hasAnimated=!0,t.stopAnimation=e(n)}).then(function(){return t.clearAnimation()})},e.prototype.stop=function(){this.stopAnimation&&this.stopAnimation(),this.clearAnimation()},e.prototype.isAnimating=function(){return!!this.stopAnimation},e.prototype.clearAnimation=function(){this.stopAnimation=null},e.prototype.destroy=function(){this.updateSubscribers.clear(),this.renderSubscribers.clear(),this.stop()},e}();function nL(e){return new nM(e)}var nR=function(e){return null!==e&&"object"==typeof e&&e.getVelocity},nz=nI(0,.5,tE),nD=nI(.5,.95,tg);function nI(e,t,n){return function(r){return r<e?0:r>t?1:n(ew(e,t,r))}}var nV=["TopLeft","TopRight","BottomLeft","BottomRight"],nN=nV.length;function nB(e,t){var n;return null!==(n=e[t])&&void 0!==n?n:e.borderRadius}var nF={layoutReady:function(e){return e.notifyLayoutReady()}};function nY(){var e=new Set;return{add:function(t){return e.add(t)},flush:function(t){var n=void 0===t?nF:t,r=n.layoutReady,o=n.parent;nS(function(t,n){var i=Array.from(e).sort(nr),a=o?ni(o):[];n(function(){c(c([],l(a)),l(i)).forEach(function(e){return e.resetTransform()})}),t(function(){i.forEach(na)}),n(function(){a.forEach(function(e){return e.restoreTransform()}
1),i.forEach(r)}),t(function(){i.forEach(function(e){e.isPresent&&(e.presence=iO.Present)})}),n(function(){k.preRender(),k.render()}),t(function(){C.postRender(function(){return i.forEach(nX)}),e.clear()})}),nP()}}}function nX(e){e.prevViewportBox=e.projection.target}var nU=(0,o.createContext)(nY()),nW=(0,o.createContext)(nY());function nH(e){return!!e.forceUpdate}var nZ=(0,o.createContext)({}),nK=["","X","Y","Z"],nq=["transformPerspective","x","y","z"];function n$(e,t){return nq.indexOf(e)-nq.indexOf(t)}["translate","scale","rotate","skew"].forEach(function(e){return nK.forEach(function(t){return nq.push(e+t)})});var nG=new Set(nq);function nQ(e){return nG.has(e)}var nJ=new Set(["originX","originY","originZ"]),n0=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.children=new Set,t.stacks=new Map,t.hasMounted=!1,t.updateScheduled=!1,t.renderScheduled=!1,t.syncContext=s(s({},nY()),{syncUpdate:function(e){return t.scheduleUpdate(e)},forceUpdate:function(){t.syncContext=s({},t.syncContext),t.scheduleUpdate(!0)},register:function(e){return t.addChild(e)},remove:function(e){return t.removeChild(e)}}),t}return a(t,e),t.prototype.componentDidMount=function(){this.hasMounted=!0},t.prototype.componentDidUpdate=function(){this.startLayoutAnimation()},t.prototype.shouldComponentUpdate=function(){return this.renderScheduled=!0,!0},t.prototype.startLayoutAnimation=function(){var e=this;this.renderScheduled=this.updateScheduled=!1;var t=this.props.type;this.children.forEach(function(e){e.isPresent?e.presence!==iO.Entering&&(e.presence=e.presence===iO.Exiting?iO.Entering:iO.Present):e.presence=iO.Exiting}),this.updateStacks();var n={layoutReady:function(n){void 0!==n.getLayoutId()?e.getStack(n).animate(n,"crossfade"===t):n.notifyLayoutReady()},parent:this.context.visualElement};this.children.forEach(function(t){return e.syncContext.add(t)}),this.syncContext.flush(n),this.stacks.forEach(function(e){return e.clearSnapshot()})},t.prototype.updateStacks=function(){this.stacks.forEach(function(e){return e.updateLeadAndFollow()})},t.prototype.scheduleUpdate=function(e){void 0===e&&(e=!1),(e||!this.updateScheduled)&&(this.updateScheduled=!0,this.children.forEach(function(e){(function(e){for(var t=!1,n={},r=0;r<nK.length;r++){var o="rotate"+nK[r];e.hasValue(o)&&0!==e.getStaticValue(o)&&(t=!0,n[o]=e.getStaticValue(o),e.setStaticValue(o,0))}if(t){for(var o in e.syncRender(),n)e.setStaticValue(o,n[o]);e.scheduleRender()}})(e),e.shouldResetTransform()&&e.resetTransform()}),this.children.forEach(ns),this.stacks.forEach(function(e){return e.updateSnapshot()}),(e||!this.renderScheduled)&&(this.renderScheduled=!0,this.forceUpdate()))},t.prototype.addChild=function(e){this.children.add(e),this.addToStack(e),e.presence=this.hasMounted?iO.Entering:iO.Present},t.prototype.removeChild=function(e){this.scheduleUpdate(),this.children.delete(e),this.removeFromStack(e)},t.prototype.addToStack=function(e){var t=this.getStack(e);null==t||t.add(e)},t.prototype.removeFromStack=function(e){var t=this.getStack(e);null==t||t.remove(e)},t.prototype.getStack=function(e){var t,n,r,o,i,a,u,l,c=e.getLayoutId();if(void 0!==c)return this.stacks.has(c)||this.stacks.set(c,(o=new Set,a=s({},i={leadIsExiting:!1}),u=function(){var e=nL(1),t={lead:void 0,follow:void 0,crossfadeOpacity:!1,preserveFollowOpacity:!1},n=s({},t),r={},o={},i=!1,a=null,u=0;function l(n,r){var o,u,l=t.lead,c=t.follow;i=!0,a=null;var f=!1,d=function(){f=!0,l&&l.scheduleRender(),c&&c.scheduleRender()},p=function(){i=!1,a=M().timestamp};return void 0===(o=s(s({},r=r&&nt(r,"crossfade")),{onUpdate:d,onComplete:function(){f?p():(e.set(n),C.read(p)),d()}}))&&(o={}),nn("",u=nR(e)?e:nL(e),n,o),{stop:function(){return u.stop()}}}return{isActive:function(){return r&&(i||M().timestamp===a)},fromLead:function(e){return l(0,e)},toLead:function(r){var o=0;return t.prevValues||t.follow?n.lead===t.follow&&n.follow===t.lead&&(o=1-e.get()):o=1,e.set(o),l(1,r)},reset:function(){return e.set(1)},stop:function(){return e.stop()},getCrossfadeState:function(n){return(function(){var n,i,a=M().timestamp,s=t.lead,l=t.follow;
1if(a!==u&&s){u=a;var c=s.getLatestValues();Object.assign(r,c);var f=l?l.getLatestValues():t.prevValues;Object.assign(o,f);var d=e.get(),p=null!==(n=c.opacity)&&void 0!==n?n:1,v=null!==(i=null==f?void 0:f.opacity)&&void 0!==i?i:1;t.crossfadeOpacity&&l?(r.opacity=ed(!1!==l.isVisible?0:v,p,nz(d)),o.opacity=t.preserveFollowOpacity?v:ed(v,0,nD(d))):l||(r.opacity=ed(v,p,d)),function(e,t,n,r,o,i){for(var a=0;a<nN;a++){var s="border"+nV[a]+"Radius",u=nB(r,s),l=nB(n,s);if((void 0!==u||void 0!==l)&&(u||(u=0),l||(l=0),"number"==typeof u&&"number"==typeof l)){var c=Math.max(ed(u,l,i),0);e[s]=t[s]=c}}if(r.rotate||n.rotate){var f=ed(r.rotate||0,n.rotate||0,i);e.rotate=t.rotate=f}!o&&n.backgroundColor&&r.backgroundColor&&(e.backgroundColor=t.backgroundColor=e6(r.backgroundColor,n.backgroundColor)(i))}(r,o,c,f||{},!!l,d)}}(),n===t.lead)?r:n===t.follow?o:void 0},setOptions:function(e){n=t,t=e,r={},o={}},getLatestValues:function(){return r}}}(),l=!1,{add:function(e){e.setCrossfader(u),o.add(e),r&&(e.prevDragCursor=r),i.lead||(i.lead=e)},remove:function(e){o.delete(e)},getLead:function(){return i.lead},updateSnapshot:function(){if(i.lead){t=u.isActive()?u.getLatestValues():i.lead.getLatestValues(),n=i.lead.prevViewportBox;var e=nC.get(i.lead);e&&e.isDragging&&(r=e.cursorProgress)}},clearSnapshot:function(){r=n=void 0},updateLeadAndFollow:function(){a=s({},i);for(var e,n,r,c=Array.from(o),f=c.length;f--;f){var d=c[f];if(n&&(null!=r||(r=d)),null!=n||(n=d),n&&r)break}i.lead=n,i.follow=r,i.leadIsExiting=(null===(e=i.lead)||void 0===e?void 0:e.presence)===iO.Exiting,u.setOptions({lead:n,follow:r,prevValues:t,crossfadeOpacity:(null==r?void 0:r.isPresenceRoot)||(null==n?void 0:n.isPresenceRoot)}),i.lead!==a.follow&&(a.lead!==i.lead||a.leadIsExiting!==i.leadIsExiting)&&(l=!0)},animate:function(e,t){var r;if(void 0===t&&(t=!1),e===i.lead){t?e.pointTo(i.lead):e.setVisibility(!0);var o,a={},s=null===(r=i.follow)||void 0===r?void 0:r.getProjectionParent();if((s&&(a.prevParent=s),e.presence===iO.Entering)?a.originBox=i.follow?i.follow.prevViewportBox:n:e.presence===iO.Exiting&&(a.targetBox=null===(o=i.follow)||void 0===o?void 0:o.getLayoutState().layout),l){l=!1;var c=e.getDefaultTransition();e.presence===iO.Entering?u.toLead(c):u.fromLead(c)}e.notifyLayoutReady(a)}else t?i.lead&&e.pointTo(i.lead):e.setVisibility(!1)}})),this.stacks.get(c)},t.prototype.render=function(){return o.createElement(nU.Provider,{value:this.syncContext},this.props.children)},t.contextType=nZ,t}(o.Component);function n1(e){return(0,o.useEffect)(function(){return function(){return e()}},[])}var n5=(0,o.createContext)(null);function n2(e){var t=(0,o.useRef)(null);return null===t.current&&(t.current=e()),t.current}var n3=0;function n4(){var e=n3;return n3++,e}var n6=function(e){var t=e.children,n=e.initial,r=e.isPresent,i=e.onExitComplete,a=e.custom,s=e.presenceAffectsLayout,u=n2(n8),l=n2(n4),c=(0,o.useMemo)(function(){return{id:l,initial:n,isPresent:r,custom:a,onExitComplete:function(e){u.set(e,!0);var t=!0;u.forEach(function(e){e||(t=!1)}),t&&(null==i||i())},register:function(e){return u.set(e,!1),function(){return u.delete(e)}}}},s?void 0:[r]);return(0,o.useMemo)(function(){u.forEach(function(e,t){return u.set(t,!1)})},[r]),o.useEffect(function(){r||u.size||null==i||i()},[r]),o.createElement(n5.Provider,{value:c},t)};function n8(){return new Map}function n7(e){return e.key||""}var n9=function(e){var t,n,r,i,a,s=e.children,u=e.custom,f=e.initial,d=void 0===f||f,p=e.onExitComplete,v=e.exitBeforeEnter,m=e.presenceAffectsLayout,h=void 0===m||m,g=(t=(0,o.useRef)(!1),r=(n=l((0,o.useState)(0),2))[0],i=n[1],n1(function(){return t.current=!0}),(0,o.useCallback)(function(){t.current||i(r+1)},[r])),y=(0,o.useContext)(nU);nH(y)&&(g=y.forceUpdate);var b=(0,o.useRef)(!0),w=(a=[],o.Children.forEach(s,function(e){(0,o.isValidElement)(e)&&a.push(e)}),a),x=(0,o.useRef)(w),E=(0,o.useRef)(new Map).current,S=(0,o.useRef)(new Set).current;if(!function(e,t){e.forEach(function(e){var n=n7(e);t.set(n,e)})}(w,E),b.current)return b.current=!1,o.createElement(o.Fragment,null,w.map(function(e){return o.createElement(n6,{key:n7(e),isPresent:!0,initial:!!d&&void 0,presenceAffectsLayout:h},e)}));for(var P=c([],l(w)),O=x.current.map(n7),C=w.map(n7),T=O.length,k=0;k<T;k++){var A=O[k];-1===C.indexOf(A)?S.add(A):S.delete(A)}
1return v&&S.size&&(P=[]),S.forEach(function(e){if(-1===C.indexOf(e)){var t=E.get(e);if(t){var n=O.indexOf(e);P.splice(n,0,o.createElement(n6,{key:n7(t),isPresent:!1,onExitComplete:function(){E.delete(e),S.delete(e);var t=x.current.findIndex(function(t){return t.key===e});x.current.splice(t,1),!S.size&&(x.current=w,g(),p&&p())},custom:u,presenceAffectsLayout:h},t))}}}),P=P.map(function(e){var t=e.key;return S.has(t)?e:o.createElement(n6,{key:n7(e),isPresent:!0,presenceAffectsLayout:h},e)}),x.current=P,o.createElement(o.Fragment,null,S.size?P:P.map(function(e){return(0,o.cloneElement)(e)}))},re=function(e){return{isEnabled:function(t){return e.some(function(e){return!!t[e]})}}},rt={measureLayout:re(["layout","layoutId","drag","_layoutResetTransform"]),animation:re(["animate","exit","variants","whileHover","whileTap","whileFocus","whileDrag"]),exit:re(["exit"]),drag:re(["drag","dragControls"]),focus:re(["whileFocus"]),hover:re(["whileHover","onHoverStart","onHoverEnd"]),tap:re(["whileTap","onTap","onTapStart","onTapCancel"]),pan:re(["onPan","onPanStart","onPanSessionStart","onPanEnd"]),layoutAnimation:re(["layout","layoutId"])},rn=(0,o.createContext)({strict:!1}),rr=Object.keys(rt),ro=rr.length,ri=(0,o.createContext)({transformPagePoint:function(e){return e},isStatic:!1});function ra(){var e=(0,o.useContext)(n5);if(null===e)return[!0,null];var t=e.isPresent,n=e.onExitComplete,r=e.register,i=rl();return(0,o.useEffect)(function(){return r(i)},[]),!t&&n?[!1,function(){return null==n?void 0:n(i)}]:[!0]}var rs=0,ru=function(){return rs++},rl=function(){return n2(ru)},rc=(0,o.createContext)(null),rf=D?o.useLayoutEffect:o.useEffect;function rd(e){return Array.isArray(e)}function rp(e){return"string"==typeof e||rd(e)}function rv(e,t,n,r,o){var i;return void 0===r&&(r={}),void 0===o&&(o={}),"string"==typeof t&&(t=null===(i=e.variants)||void 0===i?void 0:i[t]),"function"==typeof t?t(null!=n?n:e.custom,r,o):t}function rm(e,t,n){var r,o,i=e.getProps();return rv(i,t,null!=n?n:i.custom,(r={},e.forEachValue(function(e,t){return r[t]=e.get()}),r),(o={},e.forEachValue(function(e,t){return o[t]=e.getVelocity()}),o))}function rh(e){var t;return"function"==typeof(null===(t=e.animate)||void 0===t?void 0:t.start)||rp(e.initial)||rp(e.animate)||rp(e.whileHover)||rp(e.whileDrag)||rp(e.whileTap)||rp(e.whileFocus)||rp(e.exit)}function rg(e){return!!(rh(e)||e.variants)}function ry(e){return Array.isArray(e)?e.join(" "):e}var rb=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","svg","switch","symbol","text","tspan","use","view"];function rw(e){if("string"!=typeof e||e.includes("-"));else if(rb.indexOf(e)>-1||/[A-Z]/.test(e))return!0;return!1}var rx={};function rE(e,t){var n=t.layout,r=t.layoutId;return nQ(e)||nJ.has(e)||(n||void 0!==r)&&(!!rx[e]||"opacity"===e)}var rS={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"};function rP(e){return e.startsWith("--")}function rO(e,t,n,r,o,i,a,s){var u,l,c,f,d=e.style,p=e.vars,v=e.transform,m=e.transformKeys,h=e.transformOrigin;m.length=0;var g=!1,y=!1,b=!0;for(var w in t){var x,E=t[w];if(rP(w)){p[w]=E;continue}var S=t3[w],P=S&&"number"==typeof E?S.transform(E):E;if(nQ(w)){if(g=!0,v[w]=P,m.push(w),!b)continue;E!==(null!==(f=S.default)&&void 0!==f?f:0)&&(b=!1)}else if(x=w,nJ.has(x))h[w]=P,y=!0;else if((null==n?void 0:n.isHydrated)&&(null==r?void 0:r.isHydrated)&&rx[w]){var O=rx[w].process(E,r,n),C=rx[w].applyTo;if(C)for(var T=C.length,k=0;k<T;k++)d[C[k]]=O;else d[w]=O}else d[w]=P}r&&n&&a&&s?(d.transform=a(r.deltaFinal,r.treeScale,g?v:void 0),i&&(d.transform=i(v,d.transform)),d.transformOrigin=s(r)):(g&&(d.transform=function(e,t,n,r){var o=e.transform,i=e.transformKeys,a=t.enableHardwareAcceleration,s=t.allowTransformNone,u="";i.sort(n$);for(var l=!1,c=i.length,f=0;f<c;f++){var d=i[f];u+=(rS[d]||d)+"("+o[d]+") ","z"===d&&(l=!0)}return!l&&(void 0===a||a)?u+="translateZ(0)":u=u.trim(),r?u=r(o,n?"":u):(void 0===s||s)&&n&&(u="none"),u}(e,o,b,i)),y&&(d.transformOrigin=(u=h.originX,(void 0===u?"50%":u)+" "+(void 0===(l=h.originY)?"50%":l)+" "+(void 0===(c=h.originZ)?0:c))))}var rC=function(){return{style:{},transform:{},transformKeys:[],transformOrigin:{},vars:{}}};function rT(e,t,n){for(var r in t)nR(t[r])||rE(r,n)||(e[r]=t[r])}
1function rk(e,t,n){var r,i,a={},u=(rT(r={},e.style||{},e),Object.assign(r,(i=e.transformTemplate,(0,o.useMemo)(function(){var e=rC();rO(e,t,void 0,void 0,{enableHardwareAcceleration:!n},i);var r=e.vars,o=e.style;return s(s({},r),o)},[t]))),e.transformValues&&(r=e.transformValues(r)),r);return e.drag&&(a.draggable=!1,u.userSelect=u.WebkitUserSelect=u.WebkitTouchCallout="none",u.touchAction=!0===e.drag?"none":"pan-"+("x"===e.drag?"y":"x")),a.style=u,a}var rA=new Set(["initial","animate","exit","style","variants","transition","transformTemplate","transformValues","custom","inherit","layout","layoutId","_layoutResetTransform","onLayoutAnimationComplete","onViewportBoxUpdate","onLayoutMeasure","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","drag","dragControls","dragListener","dragConstraints","dragDirectionLock","_dragX","_dragY","dragElastic","dragMomentum","dragPropagation","dragTransition","whileDrag","onPan","onPanStart","onPanEnd","onPanSessionStart","onTap","onTapStart","onTapCancel","onHoverStart","onHoverEnd","whileFocus","whileTap","whileHover"]);function r_(e){return rA.has(e)}var rj=function(e){return!r_(e)};try{var rM=n(4465).Z;rj=function(e){return e.startsWith("on")?!r_(e):rM(e)}}catch(e){}function rL(e,t,n){return"string"==typeof e?e:eG.transform(t+n*e)}var rR=function(e,t){return eG.transform(e*t)},rz={offset:"stroke-dashoffset",array:"stroke-dasharray"},rD={offset:"strokeDashoffset",array:"strokeDasharray"};function rI(e,t,n,r,o,i,a,s){var l,c,f,d,p,v,m,h=t.attrX,g=t.attrY,y=t.originX,b=t.originY,w=t.pathLength,x=t.pathSpacing,E=t.pathOffset;rO(e,u(t,["attrX","attrY","originX","originY","pathLength","pathSpacing","pathOffset"]),n,r,o,i,a,s),e.attrs=e.style,e.style={};var S=e.attrs,P=e.style,O=e.dimensions,C=e.totalPathLength;S.transform&&(O&&(P.transform=S.transform),delete S.transform),O&&(void 0!==y||void 0!==b||P.transform)&&(P.transformOrigin=rL(void 0!==y?y:.5,O.x,O.width)+" "+rL(void 0!==b?b:.5,O.y,O.height)),void 0!==h&&(S.x=h),void 0!==g&&(S.y=g),void 0!==C&&void 0!==w&&(l=S,d=!1,void 0===(c=void 0===x?1:x)&&(c=1),void 0===(f=void 0===E?0:E)&&(f=0),void 0===d&&(d=!0),l[(p=d?rz:rD).offset]=rR(-f,C),v=rR(w,C),m=rR(c,C),l[p.array]=v+" "+m)}var rV=function(){return s(s({},rC()),{attrs:{}})};function rN(e,t){var n=(0,o.useMemo)(function(){var n=rV();return rI(n,t,void 0,void 0,{enableHardwareAcceleration:!1},e.transformTemplate),s(s({},n.attrs),{style:s({},n.style)})},[t]);if(e.style){var r={};rT(r,e.style,e),n.style=s(s({},r),n.style)}return n}var rB=/([a-z])([A-Z])/g,rF=function(e){return e.replace(rB,"$1-$2").toLowerCase()};function rY(e,t){var n=t.style,r=t.vars;for(var o in Object.assign(e.style,n),r)e.style.setProperty(o,r[o])}var rX=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform"]);function rU(e,t){for(var n in rY(e,t),t.attrs)e.setAttribute(rX.has(n)?n:rF(n),t.attrs[n])}function rW(e){var t=e.style,n={};for(var r in t)(nR(t[r])||rE(r,e))&&(n[r]=t[r]);return n}function rH(e){var t=rW(e);for(var n in e)nR(e[n])&&(t["x"===n||"y"===n?"attr"+n.toUpperCase():n]=e[n]);return t}function rZ(e){return"object"==typeof e&&"function"==typeof e.start}function rK(e,t,n,r){var o=e.scrapeMotionValuesFromProps,i=e.createRenderState,a=e.onMount,s={latestValues:function(e,t,n,r){var o={},i=(null==n?void 0:n.initial)===!1,a=r(e);for(var s in a)o[s]=function(e){var t=nR(e)?e.get():e;return t&&"object"==typeof t&&t.mix&&t.toValue?t.toValue():t}(a[s]);var l=e.initial,c=e.animate,f=rh(e),d=rg(e);t&&d&&!f&&!1!==e.inherit&&(null!=l||(l=t.initial),null!=c||(c=t.animate));var p=i||!1===l?c:l;return p&&"boolean"!=typeof p&&!rZ(p)&&(Array.isArray(p)?p:[p]).forEach(function(t){var n=rv(e,t);if(n){var r=n.transitionEnd;n.transition;var i=u(n,["transitionEnd","transition"]);for(var a in i)o[a]=i[a];for(var a in r)o[a]=r[a]}}),o}(t,n,r,o),renderState:i()};return a&&(s.mount=function(e){return a(t,e,s)}),s}var rq=function(e){return function(t,n){var r=(0,o.useContext)(nZ),i=(0,o.useContext)(n5);return n?rK(e,t,r,i):n2(function(){return rK(e,t,r,i)})}},r$={useVisualState:rq({scrapeMotionValuesFromProps:rH,createRenderState:rV,onMount:function(e,t,n){var r=n.renderState,o=n.latestValues;try{r.dimensions="function"==typeof t.getBBox?t.getBBox():t.getBoundingClientRect()}catch(e){r.dimensions={x:0,y:0,width:0,height:0}}"path"===t.tagName&&(r.totalPathLength=t.getTotalLength()),rI(r,o,void 0,void 0,{enableHardwareAcceleration:!1},e.transformTemplate),rU(t,r)}})},rG={useVisualState:rq({scrapeMotionValuesFromProps:rW,createRenderState:rC})};function rQ(e,t,n){return function(r,o){var i;!p(r)||eo()||(null==n||n(r,o),null===(i=e.animationState)||void 0===i||i.setActive(iT.Hover,t))}}var rJ=function(e,t){return!!t&&(e===t||rJ(e,t.parentElement))},r0=function(e){return function(t){return e(t),null}}
1,r1={tap:r0(function(e){var t=e.onTap,n=e.onTapStart,r=e.onTapCancel,i=e.whileTap,a=e.visualElement,s=(0,o.useRef)(!1),u=(0,o.useRef)(null);function l(){var e;null===(e=u.current)||void 0===e||e.call(u),u.current=null}function c(){var e;return l(),s.current=!1,null===(e=a.animationState)||void 0===e||e.setActive(iT.Tap,!1),!eo()}function f(e,n){c()&&(rJ(a.getInstance(),e.target)?null==t||t(e,n):null==r||r(e,n))}function d(e,t){c()&&(null==r||r(e,t))}F(a,"pointerdown",t||n||r||i?function(e,t){var r;l(),s.current||(s.current=!0,u.current=K(B(window,"pointerup",f),B(window,"pointercancel",d)),null==n||n(e,t),null===(r=a.animationState)||void 0===r||r.setActive(iT.Tap,!0))}:void 0),n1(l)}),focus:r0(function(e){var t=e.whileFocus,n=e.visualElement;z(n,"focus",t?function(){var e;null===(e=n.animationState)||void 0===e||e.setActive(iT.Focus,!0)}:void 0),z(n,"blur",t?function(){var e;null===(e=n.animationState)||void 0===e||e.setActive(iT.Focus,!1)}:void 0)}),hover:r0(function(e){var t=e.onHoverStart,n=e.onHoverEnd,r=e.whileHover,o=e.visualElement;F(o,"pointerenter",t||r?rQ(o,!0,t):void 0),F(o,"pointerleave",n||r?rQ(o,!1,n):void 0)})};function r5(e,t){if(!Array.isArray(t))return!1;var n=t.length;if(n!==e.length)return!1;for(var r=0;r<n;r++)if(t[r]!==e[r])return!1;return!0}var r2=function(e){return function(t){return t.test(e)}},r3=[eN,eG,e$,eq,eJ,eQ,{test:function(e){return"auto"===e},parse:function(e){return e}}],r4=function(e){return r3.find(r2(e))},r6=c(c([],l(r3)),[e8,to]);function r8(e,t,n){void 0===n&&(n={});var r,o=rm(e,t,n.custom),i=(o||{}).transition,a=void 0===i?e.getDefaultTransition()||{}:i;n.transitionOverride&&(a=n.transitionOverride);var u=o?function(){return r7(e,o,n)}:function(){return Promise.resolve()},c=(null===(r=e.variantChildren)||void 0===r?void 0:r.size)?function(r){void 0===r&&(r=0);var o,i,u,l,c,f,d,p=a.delayChildren,v=a.staggerChildren,m=a.staggerDirection;return o=(void 0===p?0:p)+r,i=v,u=m,l=n,void 0===o&&(o=0),void 0===i&&(i=0),void 0===u&&(u=1),c=[],f=(e.variantChildren.size-1)*i,d=1===u?function(e){return void 0===e&&(e=0),e*i}:function(e){return void 0===e&&(e=0),f-e*i},Array.from(e.variantChildren).sort(r9).forEach(function(e,n){c.push(r8(e,t,s(s({},l),{delay:o+d(n)})).then(function(){return e.notifyAnimationComplete(t)}))}),Promise.all(c)}:function(){return Promise.resolve()},f=a.when;if(!f)return Promise.all([u(),c(n.delay)]);var d=l("beforeChildren"===f?[u,c]:[c,u],2),p=d[0],v=d[1];return p().then(v)}function r7(e,t,n){var r,o=void 0===n?{}:n,i=o.delay,a=void 0===i?0:i,l=o.transitionOverride,c=o.type,f=e.makeTargetAnimatable(t),d=f.transition,p=void 0===d?e.getDefaultTransition():d,v=f.transitionEnd,m=u(f,["transition","transitionEnd"]);l&&(p=l);var h=[],g=c&&(null===(r=e.animationState)||void 0===r?void 0:r.getState()[c]);for(var y in m){var b=e.getValue(y),w=m[y];if(!(!b||void 0===w||g&&function(e,t){var n=e.protectedKeys,r=e.needsAnimating,o=n.hasOwnProperty(t)&&!0!==r[t];return r[t]=!1,o}(g,y))){var x=nn(y,b,w,s({delay:a},p));h.push(x)}}return Promise.all(h).then(function(){v&&function(e,t){var n=rm(e,t),r=n?e.makeTargetAnimatable(n,!1):{},o=r.transitionEnd;r.transition;var i=u(r,["transitionEnd","transition"]);for(var a in i=s(s({},i),void 0===o?{}:o)){var l,c,f=tH(l=i[a])?l[l.length-1]||0:l;c=a,e.hasValue(c)?e.getValue(c).set(f):e.addValue(c,nL(f))}}(e,v)})}function r9(e,t){return e.sortNodePosition(t)}var oe=[iT.Animate,iT.Hover,iT.Tap,iT.Drag,iT.Focus,iT.Exit],ot=c([],l(oe)).reverse(),on=oe.length;function or(e){return void 0===e&&(e=!1),{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}var oo={animation:r0(function(e){var t=e.visualElement,n=e.animate;t.animationState||(t.animationState=function(e){var t,n=function(t){return Promise.all(t.map(function(t){return function(e,t,n){if(void 0===n&&(n={}),e.notifyAnimationStart(),Array.isArray(t)){var r;r=Promise.all(t.map(function(t){return r8(e,t,n)}))}else if("string"==typeof t)r=r8(e,t,n);else{var o="function"==typeof t?rm(e,t,n.custom):t;r=r7(e,o,n)}return r.then(function(){return e.notifyAnimationComplete(t)})}(e,t.animation,t.options)}))},r=((t={})[iT.Animate]=or(!0),t[iT.Hover]=or(),t[iT.Tap]=or(),t[iT.Drag]=or(),t[iT.Focus]=or(),t[iT.Exit]=or(),t),o={},i=!0,a=function(t,n){var r=rm(e,n);if(r){r.transition;var o=r.transitionEnd,i=u(r,["transition","transitionEnd"]);t=s(s(s({},t),i),o)}return t};function f(t,u){for(var f,d=e.getProps(),p=e.getVariantContext(!0)||{},v=[],m=new Set,h={},g=1/0,y=0;y<on;y++)!function(n){var o,y=ot[n],b=r[y],w=null!==(f=d[y])&&void 0!==f?f:p[y],x=rp(w),E=y===u?b.isActive:null;!1===E&&(g=n);var S=w===p[y]&&w!==d[y]&&x;if(S&&i&&e.manuallyAnimateOnMount&&(S=!1),b.protectedKeys=s({},h),!(!b.isActive&&null===E||!w&&!b.prevProp||rZ(w))&&"boolean"!=typeof w){var P=(o=b.prevProp,("string"==typeof w?w!==o:!!rd(w)&&!r5(w,o))||y===u&&b.isActive&&!S&&x||n>g&&x),O=Array.isArray(w)?w:[w],C=O.reduce(a,{});!1===E&&(C={});var T=b.prevResolvedValues,k=void 0===T?{}:T,A=s(s({},k),C),_=function(e){P=!0,m.delete(e),b.needsAnimating[e]=!0};for(var j in A){var M=C[j],L=k[j];h.hasOwnProperty(j)||(M!==L?tH(M)&&tH(L)?r5(M,L)?b.protectedKeys[j]=!0:_(j):void 0!==M?_(j):m.add(j):void 0!==M&&m.has(j)?_(j):b.protectedKeys[j]=!0)}b.prevProp=w,b.prevResolvedValues=C,b.isActive&&(h=s(s({},h),C)),i&&e.blockInitialAnimation&&(P=!1),P&&!S&&v.push.apply(v,c([],l(O.map(function(e){return{animation:e,options:s({type:y},t)}}))))}}(y);if(o=s({},h),m.size){var b={};m.forEach(function(t){var n=e.getBaseTarget(t);void 0!==n&&(b[t]=n)}),v.push({animation:b})}var w=!!v.length;return i&&!1===d.initial&&!e.manuallyAnimateOnMount&&(w=!1),i=!1,w?n(v):Promise.resolve()}return{isAnimated:function(e){return void 0!==o[e]},animateChanges:f,setActive:function(t,n,o){var i;return r[t].isActive===n?Promise.resolve():(null===(i=e.variantChildren)||void 0===i||i.forEac
1h(function(e){var r;return null===(r=e.animationState)||void 0===r?void 0:r.setActive(t,n)}),r[t].isActive=n,f(o,t))},setAnimateFunction:function(t){n=t(e)},getState:function(){return r}}}(t)),rZ(n)&&(0,o.useEffect)(function(){return n.subscribe(t)},[n])}),exit:r0(function(e){var t=e.custom,n=e.visualElement,r=l(ra(),2),i=r[0],a=r[1],s=(0,o.useContext)(n5);(0,o.useEffect)(function(){var e,r,o=null===(e=n.animationState)||void 0===e?void 0:e.setActive(iT.Exit,!i,{custom:null!==(r=null==s?void 0:s.custom)&&void 0!==r?r:t});i||null==o||o.then(a)},[i])})},oi={pan:r0(function(e){var t=e.onPan,n=e.onPanStart,r=e.onPanEnd,i=e.onPanSessionStart,a=e.visualElement,s=(0,o.useRef)(null),u=(0,o.useContext)(ri).transformPagePoint,l={onSessionStart:i,onStart:n,onMove:t,onEnd:function(e,t){s.current=null,r&&r(e,t)}};(0,o.useEffect)(function(){null!==s.current&&s.current.updateHandlers(l)}),F(a,"pointerdown",(t||n||r||i)&&function(e){s.current=new q(e,l,{transformPagePoint:u})}),n1(function(){return s.current&&s.current.end()})}),drag:r0(function(e){var t=e.dragControls,n=e.visualElement,r=(0,o.useContext)(ri).transformPagePoint,i=n2(function(){return new nT({visualElement:n})});i.setProps(s(s({},e),{transformPagePoint:r})),(0,o.useEffect)(function(){return t&&t.subscribe(i)},[i]),(0,o.useEffect)(function(){return i.mount(n)},[])})};function oa(e){return"string"==typeof e&&e.startsWith("var(--")}var os=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;function ou(e,t,n){void 0===n&&(n=1),d(n<=4,'Max CSS variable fallback depth detected in property "'+e+'". This may indicate a circular fallback dependency.');var r=l(function(e){var t=os.exec(e);if(!t)return[,];var n=l(t,3);return[n[1],n[2]]}(e),2),o=r[0],i=r[1];if(o){var a=window.getComputedStyle(t).getPropertyValue(o);return a?a.trim():oa(i)?ou(i,t,n+1):i}}function ol(e,t){return e/(t.max-t.min)*100}var oc="_$css",of={process:function(e,t,n){var r=n.target;if("string"==typeof e){if(!eG.test(e))return e;e=parseFloat(e)}return ol(e,r.x)+"% "+ol(e,r.y)+"%"}},od={borderRadius:s(s({},of),{applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]}),borderTopLeftRadius:of,borderTopRightRadius:of,borderBottomLeftRadius:of,borderBottomRightRadius:of,boxShadow:{process:function(e,t){var n=t.delta,r=t.treeScale,o=e,i=e.includes("var("),a=[];i&&(e=e.replace(os,function(e){return a.push(e),oc}));var s=to.parse(e);if(s.length>5)return o;var u=to.createTransformer(e),l="number"!=typeof s[0]?1:0,c=n.x.scale*r.x,f=n.y.scale*r.y;s[0+l]/=c,s[1+l]/=f;var d=ed(c,f,.5);"number"==typeof s[2+l]&&(s[2+l]/=d),"number"==typeof s[3+l]&&(s[3+l]/=d);var p=u(s);if(i){var v=0;p=p.replace(oc,function(){var e=a[v];return v++,e})}return p}}},op=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.frameTarget=eu(),t.currentAnimationTarget=eu(),t.isAnimating={x:!1,y:!1},t.stopAxisAnimation={x:void 0,y:void 0},t.isAnimatingTree=!1,t.animate=function(e,n,r){void 0===r&&(r={});var o=r.originBox,i=r.targetBox,a=r.visibilityAction,l=r.shouldStackAnimate,c=r.onComplete,f=r.prevParent,d=u(r,["originBox","targetBox","visibilityAction","shouldStackAnimate","onComplete","prevParent"]),p=t.props,v=p.visualElement,m=p.layout;if(!1===l)return t.isAnimatingTree=!1,t.safeToRemove();if(!t.isAnimatingTree||!0===l){l&&(t.isAnimatingTree=!0),n=o||n,e=i||e;var h,g,y=!1,b=v.getProjectionParent();if(b){var w,x=b.prevViewportBox,E=b.getLayoutState().layout;f&&(i&&(E=f.getLayoutState().layout),o&&f.getLayoutId()===(w=b.getLayoutId())&&(void 0!==w||f===b)&&f.prevViewportBox&&(x=f.prevViewportBox)),x&&(f||!f&&!(o||i))&&(y=!0,n=nl(x,n),e=nl(E,e))}var S=(h=n,g=e,!om(h)&&!om(g)&&(!oh(h.x,g.x)||!oh(h.y,g.y))),P=ef(function(r){var o,i;if("position"===m){var u=e[r].max-e[r].min;n[r].max=n[r].min+u}if(!v.projection.isTargetLocked){if(void 0!==a)v.setVisibility(a===iC.Show);else if(S)return t.animateAxis(r,e[r],n[r],s(s({},d),{isRelative:y}));else return null===(i=(o=t.stopAxisAnimation)[r])||void 0===i||i.call(o),v.setProjectionTargetAxis(r,e[r].min,e[r].max,y)}});return v.syncRender(),Promise.all(P).then(function(){t.isAnimatingTree=!1,c&&c(),v.notifyLayoutAnimationComplete()})}},t}return a(t,e),t.prototype.componentDidMount=function(){var e=this,t=this.props.visualElement;t.animateMotionValue=nn,t.enableLayoutProjection(),this.unsubLayoutReady=t.onLayoutUpdate(this.animate),t.layoutSafeToRemove=function(){return e.safeToRemove()},function(e){for(var t in e)rx[t]=e[t]}(od)},t.prototype.componentWillUnmount=function(){var e=this;this.unsubLayoutReady(),ef(function(t){var n,r;return null===(r=(n=e.stopAxisAnimation)[t])||void 0===r?void 0:r.call(n)})},t.prototype.animateAxis=function(e,t,n,r){var o,i,a=this,s=void 0===r?{}:r,u=s.transition,l=s.isRelative;
1if(!(this.isAnimating[e]&&oh(t,this.currentAnimationTarget[e]))){null===(i=(o=this.stopAxisAnimation)[e])||void 0===i||i.call(o),this.isAnimating[e]=!0;var c=this.props.visualElement,f=this.frameTarget[e],d=c.getProjectionAnimationProgress()[e];d.clearListeners(),d.set(0),d.set(0);var p=function(){var r,o=d.get()/1e3;(r=f).min=ed(n.min,t.min,o),r.max=ed(n.max,t.max,o),c.setProjectionTargetAxis(e,f.min,f.max,l)};p();var v=d.onChange(p);this.stopAxisAnimation[e]=function(){a.isAnimating[e]=!1,d.stop(),v()},this.currentAnimationTarget[e]=t;var m=u||c.getDefaultTransition()||og;return nn("x"===e?"layoutX":"layoutY",d,1e3,m&&nt(m,"layout")).then(this.stopAxisAnimation[e])}},t.prototype.safeToRemove=function(){var e,t;null===(t=(e=this.props).safeToRemove)||void 0===t||t.call(e)},t.prototype.render=function(){return null},t}(o.Component),ov={min:0,max:0};function om(e){return oh(e.x,ov)&&oh(e.y,ov)}function oh(e,t){return e.min===t.min&&e.max===t.max}var og={duration:.45,ease:[.4,0,.1,1]},oy=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return a(t,e),t.prototype.componentDidMount=function(){var e=this.props,t=e.syncLayout,n=e.framerSyncLayout,r=e.visualElement;nH(t)&&t.register(r),nH(n)&&n.register(r),r.onUnmount(function(){nH(t)&&t.remove(r),nH(n)&&n.remove(r)})},t.prototype.getSnapshotBeforeUpdate=function(){var e=this.props,t=e.syncLayout,n=e.visualElement;return nH(t)?t.syncUpdate():(ns(n),t.add(n)),null},t.prototype.componentDidUpdate=function(){var e=this.props.syncLayout;nH(e)||e.flush()},t.prototype.render=function(){return null},t}(o.Component);function ob(){return{isHydrated:!1,layout:eu(),layoutCorrected:eu(),treeScale:{x:1,y:1},delta:ec(),deltaFinal:ec(),deltaTransform:""}}var ow=ob();function ox(e,t,n){var r=e.x,o=e.y,i="translate3d("+r.translate/t.x+"px, "+o.translate/t.y+"px, 0) ";if(n){var a=n.rotate,s=n.rotateX,u=n.rotateY;a&&(i+="rotate("+a+") "),s&&(i+="rotateX("+s+") "),u&&(i+="rotateY("+u+") ")}return i+="scale("+r.scale+", "+o.scale+")",n||i!==oS?i:""}function oE(e){var t=e.deltaFinal;return 100*t.x.origin+"% "+100*t.y.origin+"% 0"}var oS=ox(ow.delta,ow.treeScale,{x:1,y:1}),oP=["LayoutMeasure","BeforeLayoutMeasure","LayoutUpdate","ViewportBoxUpdate","Update","Render","AnimationComplete","LayoutAnimationComplete","AnimationStart","SetAxisTarget","Unmount"],oO=function(){function e(){this.children=[],this.isDirty=!1}return e.prototype.add=function(e){nA(this.children,e),this.isDirty=!0},e.prototype.remove=function(e){n_(this.children,e),this.isDirty=!0},e.prototype.forEach=function(e){this.isDirty&&this.children.sort(nr),this.isDirty=!1,this.children.forEach(e)},e}(),oC=function(e){var t=e.treeType,n=void 0===t?"":t,r=e.build,o=e.getBaseTarget,i=e.makeTargetAnimatable,a=e.measureViewportBox,u=e.render,f=e.readValueFromInstance,d=e.resetTransform,p=e.restoreTransform,v=e.removeValueFromRenderState,m=e.sortNodePosition,h=e.scrapeMotionValuesFromProps;return function(e,t){var g,y,b,w,x,E,S,P,O,k=e.parent,A=e.props,_=e.presenceId,j=e.blockInitialAnimation,M=e.visualState;void 0===t&&(t={});var L=M.latestValues,R=M.renderState,z=(g=oP.map(function(){return new nj}),y={},b={clearAllListeners:function(){return g.forEach(function(e){return e.clear()})},updatePropListeners:function(e){return oP.forEach(function(t){null===(n=y[t])||void 0===n||n.call(y);var n,r="on"+t,o=e[r];o&&(y[t]=b[r](o))})}},g.forEach(function(e,t){b["on"+oP[t]]=function(t){return e.add(t)},b["notify"+oP[t]]=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return e.notify.apply(e,c([],l(t)))}}),b),D={isEnabled:!1,isHydrated:!1,isTargetLocked:!1,target:eu(),targetFinal:eu()},I=D,V=L,N=ob(),B=!1,F=new Map,Y=new Map,X={},U=s({},L);function W(){w&&(et.isProjectionReady()&&(ng(I.targetFinal,I.target,V),eP(N.deltaFinal,N.layoutCorrected,I.targetFinal,L)),H(),u(w,R))}function H(){var e=L;if(S&&S.isActive()){var n=S.getCrossfadeState(et);n&&(e=n)}r(et,R,e,I,N,t,A)}function Z(){z.notifyUpdate(L)}function q(){et.layoutTree.forEach(ok)}var $=h(A);for(var G in $){var Q=$[G];void 0!==L[G]&&nR(Q)&&Q.set(L[G],!1)}var J=rh(A),ee=rg(A),et=s(s({treeType:n,current:null,depth:k?k.depth+1:0,parent:k,children:new Set,path:k?c(c([],l(k.path)),[k]):[],layoutTree:k?k.layoutTree:new oO,presenceId:_,projection:D,variantChildren:ee?new Set:void 0,isVisible:void 0,manuallyAnimateOnMount:!!(null==k?void 0:k.isMounted()),blockInitialAnimation:j,isMounted:function(){return!!w},mount:function(e){w=et.current=e,et.pointTo(et),ee&&k&&!J&&(O=null==k?void 0:k.addVariantChild(et)),null==k||k.children.add(et)},unmount:function(){T.update(Z),T.render(W),T.preRender(et.updateLayoutProjection),Y.forEach(function(e){return e()}),et.stopLayoutAnimation(),et.layoutTree.remove(et),null==O||O(),null==k||k.children.delete(et),null==E||E(),z.clearAllListeners()},addVariantChild:function(e){var t,n=et.getClosestVariantNode();if(n)return null===(t=n.variantChildren)||void 0===t||t.add(e),function(){return n.variantChildren.delete(e)}},sortNodePosition:function(e){return m&&n===e.treeType?m(et.getInstance(),e.getInstance()):0},getClosestVariantNode:function(){return ee?et:null==k?void 0:k.getClosestVariantNode()},scheduleUpdateLayoutProjection:k?k.scheduleUpdateLayoutProjection:function(){return C.preRender(et.updateTreeLayoutProjection,!1,!0)},getLayoutId:function(){return A.layoutId},getInstance:function(){return w},getStaticValue:function(e){return L[e]},setStaticValue:function(e,t){return L[e]=t},getLatestValues:function(){return L},setVisibility:function(e){et.isVisible!==e&&(et.isVisible=e,et.scheduleRender())},makeTargetAnimatable:function(e,t){return void 0===t&&(t=!0),i(et,e,A,t)},addValue:function(e,t){var n,r;et.hasValue(e)&&et.removeValue(e),F.set(e,t),L[e]=t.get(),n=t.onChange(function(t){L[e]=t,A.onUpdate&&C.update(Z,!1,!0)}
1),r=t.onRenderRequest(et.scheduleRender),Y.set(e,function(){n(),r()})},removeValue:function(e){var t;F.delete(e),null===(t=Y.get(e))||void 0===t||t(),Y.delete(e),delete L[e],v(e,R)},hasValue:function(e){return F.has(e)},getValue:function(e,t){var n=F.get(e);return void 0===n&&void 0!==t&&(n=nL(t),et.addValue(e,n)),n},forEachValue:function(e){return F.forEach(e)},readValue:function(e){var n;return null!==(n=L[e])&&void 0!==n?n:f(w,e,t)},setBaseTarget:function(e,t){U[e]=t},getBaseTarget:function(e){if(o){var t=o(A,e);if(void 0!==t&&!nR(t))return t}return U[e]}},z),{build:function(){return H(),R},scheduleRender:function(){C.render(W,!1,!0)},syncRender:W,setProps:function(e){A=e,z.updatePropListeners(e),X=function(e,t,n){var r;for(var o in t){var i=t[o],a=n[o];if(nR(i))e.addValue(o,i);else if(nR(a))e.addValue(o,nL(i));else if(a!==i){if(e.hasValue(o)){var s=e.getValue(o);s.hasAnimated||s.set(i)}else e.addValue(o,nL(null!==(r=e.getStaticValue(o))&&void 0!==r?r:i))}}for(var o in n)void 0===t[o]&&e.removeValue(o);return t}(et,h(A),X)},getProps:function(){return A},getVariant:function(e){var t;return null===(t=A.variants)||void 0===t?void 0:t[e]},getDefaultTransition:function(){return A.transition},getVariantContext:function(e){if(void 0===e&&(e=!1),e)return null==k?void 0:k.getVariantContext();if(!J){var t=(null==k?void 0:k.getVariantContext())||{};return void 0!==A.initial&&(t.initial=A.initial),t}for(var n={},r=0;r<o_;r++){var o=oA[r],i=A[o];(rp(i)||!1===i)&&(n[o]=i)}return n},enableLayoutProjection:function(){D.isEnabled=!0,et.layoutTree.add(et)},lockProjectionTarget:function(){D.isTargetLocked=!0},unlockProjectionTarget:function(){et.stopLayoutAnimation(),D.isTargetLocked=!1},getLayoutState:function(){return N},setCrossfader:function(e){S=e},isProjectionReady:function(){return D.isEnabled&&D.isHydrated&&N.isHydrated},startLayoutAnimation:function(e,t,n){void 0===n&&(n=!1);var r=et.getProjectionAnimationProgress()[e],o=n?D.relativeTarget[e]:D.target[e],i=o.min,a=o.max-i;return r.clearListeners(),r.set(i),r.set(i),r.onChange(function(t){et.setProjectionTargetAxis(e,t,t+a,n)}),et.animateMotionValue(e,r,0,t)},stopLayoutAnimation:function(){ef(function(e){return et.getProjectionAnimationProgress()[e].stop()})},measureViewportBox:function(e){void 0===e&&(e=!0);var n=a(w,t);return e||nw(n,L),n},getProjectionAnimationProgress:function(){return P||(P={x:nL(0),y:nL(0)}),P},setProjectionTargetAxis:function(e,t,n,r){var o;void 0===r&&(r=!1),r?(D.relativeTarget||(D.relativeTarget=eu()),o=D.relativeTarget[e]):(D.relativeTarget=void 0,o=D.target[e]),D.isHydrated=!0,o.min=t,o.max=n,B=!0,z.notifySetAxisTarget()},rebaseProjectionTarget:function(e,t){void 0===t&&(t=N.layout);var n=et.getProjectionAnimationProgress(),r=n.x,o=n.y,i=!D.relativeTarget&&!D.isTargetLocked&&!r.isAnimating()&&!o.isAnimating();(e||i)&&ef(function(e){var n=t[e],r=n.min,o=n.max;et.setProjectionTargetAxis(e,r,o)})},notifyLayoutReady:function(e){!function(e){var t=e.getProjectionParent();if(!t){e.rebaseProjectionTarget();return}var n=nl(t.getLayoutState().layout,e.getLayoutState().layout);ef(function(t){e.setProjectionTargetAxis(t,n[t].min,n[t].max,!0)})}(et),et.notifyLayoutUpdate(N.layout,et.prevViewportBox||N.layout,e)},resetTransform:function(){return d(et,w,A)},restoreTransform:function(){return p(w,R)},updateLayoutProjection:function(){if(et.isProjectionReady()){var e,t,n,r,o,i,a,s=N.delta,u=N.treeScale,l=u.x,c=u.y,f=N.deltaTransform;e=I,t=et.path,n=N.delta,r=N.layout,o=N.layoutCorrected,i=N.treeScale,a=e.target,nf(o.x,r.x),nf(o.y,r.y),function(e,t,n){var r,o,i=n.length;if(i){t.x=t.y=1;for(var a=0;a<i;a++)o=(r=n[a]).getLayoutState().delta,t.x*=o.x.scale,t.y*=o.y.scale,function(e,t){var n=t.x,r=t.y;np(e.x,n.translate,n.scale,n.originPoint),np(e.y,r.translate,r.scale,r.originPoint)}(e,o),nc(r)&&ng(e,e,r.getLatestValues())}}(o,i,t),eP(n,o,a,L),B&&et.notifyViewportBoxUpdate(I.target,s),B=!1;var d=ox(s,u);(d!==f||l!==u.x||c!==u.y)&&et.scheduleRender(),N.deltaTransform=d}},updateTreeLayoutProjection:function(){et.layoutTree.forEach(oT),C.preRender(q,!1,!0)},getProjectionParent:function(){if(void 0===x){for(var e=!1,t=et.path.length-1;t>=0;t--){var n=et.path[t];if(n.projection.isEnabled){e=n;break}}x=e}return x},resolveRelativeTargetBox:function(){var e,t=et.getProjectionParent();if(D.relativeTarget&&t&&(e=t.projection,eC(D.target.x,D.relativeTarget.x,e.target.x),eC(D.target.y,D.relativeTarget.y,e.target.y),nc(t))){var n=D.target;ng(n,n,t.getLatestValues())}}
1,shouldResetTransform:function(){return!!A._layoutResetTransform},pointTo:function(e){I=e.projection,V=e.getLatestValues(),null==E||E(),E=K(e.onSetAxisTarget(et.scheduleUpdateLayoutProjection),e.onLayoutAnimationComplete(function(){var e;et.isPresent?et.presence=iO.Present:null===(e=et.layoutSafeToRemove)||void 0===e||e.call(et)}))},isPresent:!0,presence:iO.Entering});return et}};function oT(e){e.resolveRelativeTargetBox()}function ok(e){e.updateLayoutProjection()}var oA=c(["initial"],l(oe)),o_=oA.length,oj=new Set(["width","height","top","left","right","bottom","x","y"]),oM=function(e){return oj.has(e)},oL=function(e,t){e.set(t,!1),e.set(t)},oR=function(e){return e===eN||e===eG};(iS=iA||(iA={})).width="width",iS.height="height",iS.left="left",iS.right="right",iS.top="top",iS.bottom="bottom";var oz=function(e,t){return parseFloat(e.split(", ")[t])},oD=function(e,t){return function(n,r){var o=r.transform;if("none"===o||!o)return 0;var i=o.match(/^matrix3d\((.+)\)$/);if(i)return oz(i[1],t);var a=o.match(/^matrix\((.+)\)$/);return a?oz(a[1],e):0}},oI=new Set(["x","y","z"]),oV=nq.filter(function(e){return!oI.has(e)}),oN={width:function(e){var t=e.x;return t.max-t.min},height:function(e){var t=e.y;return t.max-t.min},top:function(e,t){return parseFloat(t.top)},left:function(e,t){return parseFloat(t.left)},bottom:function(e,t){var n=e.y;return parseFloat(t.top)+(n.max-n.min)},right:function(e,t){var n=e.x;return parseFloat(t.left)+(n.max-n.min)},x:oD(4,13),y:oD(5,14)},oB=function(e,t,n){var r=t.measureViewportBox(),o=t.getInstance(),i=getComputedStyle(o),a=i.display,s={top:i.top,left:i.left,bottom:i.bottom,right:i.right,transform:i.transform};"none"===a&&t.setStaticValue("display",e.display||"block"),t.syncRender();var u=t.measureViewportBox();return n.forEach(function(n){oL(t.getValue(n),oN[n](r,s)),e[n]=oN[n](u,i)}),e},oF=function(e,t,n,r){void 0===n&&(n={}),void 0===r&&(r={}),t=s({},t),r=s({},r);var o=Object.keys(t).filter(oM),i=[],a=!1,u=[];if(o.forEach(function(o){var s,l=e.getValue(o);if(e.hasValue(o)){var c=n[o],f=t[o],p=r4(c);if(tH(f))for(var v=f.length,m=null===f[0]?1:0;m<v;m++)s?d(r4(f[m])===s,"All keyframes must be of the same type"):d((s=r4(f[m]))===p||oR(p)&&oR(s),"Keyframes must be of the same dimension as the current value");else s=r4(f);if(p!==s){if(oR(p)&&oR(s)){var h,g=l.get();"string"==typeof g&&l.set(parseFloat(g)),"string"==typeof f?t[o]=parseFloat(f):Array.isArray(f)&&s===eG&&(t[o]=f.map(parseFloat))}else(null==p?void 0:p.transform)&&(null==s?void 0:s.transform)&&(0===c||0===f)?0===c?l.set(s.transform(c)):t[o]=p.transform(f):(a||(h=[],oV.forEach(function(t){var n=e.getValue(t);void 0!==n&&(h.push([t,n.get()]),n.set(t.startsWith("scale")?1:0))}),h.length&&e.syncRender(),i=h,a=!0),u.push(o),r[o]=void 0!==r[o]?r[o]:t[o],oL(l,f))}}}),!u.length)return{target:t,transitionEnd:r};var c=oB(t,e,u);return i.length&&i.forEach(function(t){var n=l(t,2),r=n[0],o=n[1];e.getValue(r).set(o)}),e.syncRender(),{target:c,transitionEnd:r}},oY=function(e,t,n,r){var o,i,a=function(e,t,n){var r,o=u(t,[]),i=e.getInstance();if(!(i instanceof HTMLElement))return{target:o,transitionEnd:n};for(var a in n&&(n=s({},n)),e.forEachValue(function(e){var t=e.get();if(oa(t)){var n=ou(t,i);n&&e.set(n)}}),o){var l=o[a];if(oa(l)){var c=ou(l,i);c&&(o[a]=c,n&&(null!==(r=n[a])&&void 0!==r||(n[a]=l)))}}return{target:o,transitionEnd:n}}(e,t,r);return t=a.target,r=a.transitionEnd,o=t,i=r,Object.keys(o).some(oM)?oF(e,o,n,i):{target:o,transitionEnd:i}},oX={treeType:"dom",readValueFromInstance:function(e,t){if(nQ(t)){var n=t6(t);return n&&n.default||0}var r=window.getComputedStyle(e);return(rP(t)?r.getPropertyValue(t):r[t])||0},sortNodePosition:function(e,t){return 2&e.compareDocumentPosition(t)?1:-1},getBaseTarget:function(e,t){var n;return null===(n=e.style)||void 0===n?void 0:n[t]},measureViewportBox:function(e,t){return ey(e,t.transformPagePoint)},resetTransform:function(e,t,n){var r=n.transformTemplate;t.style.transform=r?r({},""):"none",e.scheduleRender()},restoreTransform:function(e,t){e.style.transform=t.style.transform},removeValueFromRenderState:function(e,t){var n=t.vars,r=t.style;delete n[e],delete r[e]},makeTargetAnimatable:function(e,t,n,r){var o=n.transformValues;void 0===r&&(r=!0);var i=t.transition,a=t.transitionEnd,l=u(t,["transition","transitionEnd"]),c=function(e,t,n){var r,o,i={};for(var a in e)i[a]=null!==(r=function(e,t){if(t)return(t[e]||t.default||t).from}(a,t))&&void 0!==r?r:null===(o=n.getValue(a))||void 0===o?void 0:o.get();return i}(l,i||{},e);
1if(o&&(a&&(a=o(a)),l&&(l=o(l)),c&&(c=o(c))),r){!function(e,t,n){var r,o,i,a,s=Object.keys(t).filter(function(t){return!e.hasValue(t)}),u=s.length;if(u)for(var l=0;l<u;l++){var c,f,d=s[l],p=t[d],v=null;Array.isArray(p)&&(v=p[0]),null===v&&(v=null!==(o=null!==(r=n[d])&&void 0!==r?r:e.readValue(d))&&void 0!==o?o:t[d]),null!=v&&("string"==typeof v&&(c=v,/^\-?\d*\.?\d+$/.test(c))?v=parseFloat(v):(f=v,!r6.find(r2(f))&&to.test(p)&&(v=t8(d,p))),e.addValue(d,nL(v)),null!==(i=(a=n)[d])&&void 0!==i||(a[d]=v),e.setBaseTarget(d,v))}}(e,l,c);var f=oY(e,l,c,a);a=f.transitionEnd,l=f.target}return s({transition:i,transitionEnd:a},l)},scrapeMotionValuesFromProps:rW,build:function(e,t,n,r,o,i,a){void 0!==e.isVisible&&(t.style.visibility=e.isVisible?"visible":"hidden");var s=r.isEnabled&&o.isHydrated;rO(t,n,r,o,i,a.transformTemplate,s?ox:void 0,s?oE:void 0)},render:rY},oU=oC(oX),oW=oC(s(s({},oX),{getBaseTarget:function(e,t){return e[t]},readValueFromInstance:function(e,t){var n;return nQ(t)?(null===(n=t6(t))||void 0===n?void 0:n.default)||0:(t=rX.has(t)?t:rF(t),e.getAttribute(t))},scrapeMotionValuesFromProps:rH,build:function(e,t,n,r,o,i,a){var s=r.isEnabled&&o.isHydrated;rI(t,n,r,o,i,a.transformTemplate,s?ox:void 0,s?oE:void 0)},render:rU})),oH=function(e,t){return rw(e)?oW(t,{enableHardwareAcceleration:!1}):oU(t,{enableHardwareAcceleration:!0})},oZ=s(s(s(s({},oo),r1),oi),{measureLayout:function(e){var t=(0,o.useContext)(nU),n=(0,o.useContext)(nW);return o.createElement(oy,s({},e,{syncLayout:t,framerSyncLayout:n}))},layoutAnimation:function(e){var t=l(ra(),2)[1];return o.createElement(op,s({},e,{safeToRemove:t}))}}),oK=function(e){function t(t,n){var r,i,a,u,l,c;return void 0===n&&(n={}),i=(r=e(t,n)).preloadedFeatures,a=r.createVisualElement,u=r.useRender,l=r.useVisualState,c=r.Component,i&&function(e){for(var t in e){var n=e[t];null!==n&&(rt[t].Component=n)}}(i),(0,o.forwardRef)(function(e,t){var n,r,i,f,d,p,v,m,h,g,y,b,w,x,E,S=(0,o.useContext)(ri).isStatic,P=null,O=(b=(y=function(e,t){if(rh(e)){var n=e.initial,r=e.animate;return{initial:!1===n||rp(n)?n:void 0,animate:rp(r)?r:void 0}}return!1!==e.inherit?t:{}}(e,(0,o.useContext)(nZ))).initial,w=y.animate,(0,o.useMemo)(function(){return{initial:b,animate:w}},S?[ry(b),ry(w)]:[])),C=l(e,S);return!S&&D&&(O.visualElement=(n=a,f=(0,o.useContext)(ri),d=(0,o.useContext)(rn),p=(0,o.useContext)(nZ).visualElement,v=(0,o.useContext)(n5),r=e.layoutId,m=(i=(0,o.useContext)(rc))&&void 0!==r?i+"-"+r:r,h=(0,o.useRef)(void 0),n||(n=d.renderer),!h.current&&n&&(h.current=n(c,{visualState:C,parent:p,props:s(s({},e),{layoutId:m}),presenceId:null==v?void 0:v.id,blockInitialAnimation:(null==v?void 0:v.initial)===!1})),g=h.current,rf(function(){g&&(g.setProps(s(s(s({},f),e),{layoutId:m})),g.isPresent=null===v||v.isPresent,g.isPresenceRoot=!p||p.presenceId!==(null==v?void 0:v.id),g.syncRender())}),(0,o.useEffect)(function(){var e;g&&(null===(e=g.animationState)||void 0===e||e.animateChanges())}),rf(function(){return function(){return null==g?void 0:g.notifyUnmount()}},[]),g),P=function(e,t,n){var r=[];if((0,o.useContext)(rn),!t)return null;for(var i=0;i<ro;i++){var a=rr[i],u=rt[a],l=u.isEnabled,c=u.Component;l(e)&&c&&r.push(o.createElement(c,s({key:a},e,{visualElement:t})))}return r}(e,O.visualElement,0)),o.createElement(o.Fragment,null,o.createElement(nZ.Provider,{value:O},u(c,e,(x=O.visualElement,E=t,(0,o.useCallback)(function(e){var t;e&&(null===(t=C.mount)||void 0===t||t.call(C,e)),x&&(e?x.mount(e):x.unmount()),E&&("function"==typeof E?E(e):ei(E)&&(E.current=e))},[x])),C,S)),P)})}var n=new Map;return new Proxy(t,{get:function(e,r){return n.has(r)||n.set(r,t(r)),n.get(r)}})}(function(e,t){var n,r;return n=t.forwardMotionProps,s(s({},rw(e)?r$:rG),{preloadedFeatures:oZ,useRender:(void 0===(r=void 0!==n&&n)&&(r=!1),function(e,t,n,i,a){var u=i.latestValues,l=(rw(e)?rN:rk)(t,u,a),c=s(s(s({},function(e,t,n){var r={};for(var o in e)(rj(o)||!0===n&&r_(o)||!t&&!r_(o))&&(r[o]=e[o]);return r}(t,"string"==typeof e,r)),l),{ref:n});return(0,o.createElement)(e,c)}),createVisualElement:oH,Component:e})}),oq=n(5697),o$=n.n(oq),oG=["color","size","title"];function oQ(){return(oQ=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var oJ=(0,o.forwardRef)(function(e,t){var n=e.color,r=e.size,i=e.title,a=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,oG);return o.createElement("svg",oQ({ref:t,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",width:r,height:r,fill:n},a),i?o.createElement("title",null,i):null,o.createElement("path",{fillRule:"evenodd",d:"M6.5 12a5.5 5.5 0 1 0 0-11 5.5 5.5 0 0 0 0 11zM13 6.5a6.5 6.5 0 1 1-13 0 6.5 6.5 0 0 1 13 0z"}),o.createElement("path",{d:"M10.344 11.742c.03.04.062.078.098.115l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85a1.007 1.007 0 0 0-.115-.1 6.538 6.538 0 0 1-1.398 1.4z"}),o.createElement("path",{fillRule:"evenodd",d:"M6.5 3a.5.5 0 0 1 .5.5V6h2.5a.5.5 0 0 1 0 1H7v2.5a.5.5 0 0 1-1 0V7H3.5a.5.5 0 0 1 0-1H6V3.5a.5.5 0 0 1 .5-.5z"}))});
1oJ.propTypes={color:o$().string,size:o$().oneOfType([o$().string,o$().number]),title:o$().string},oJ.defaultProps={color:"currentColor",size:"1em",title:null};var o0=["color","size","title"];function o1(){return(o1=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var o5=(0,o.forwardRef)(function(e,t){var n=e.color,r=e.size,i=e.title,a=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,o0);return o.createElement("svg",o1({ref:t,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",width:r,height:r,fill:n},a),i?o.createElement("title",null,i):null,o.createElement("path",{fillRule:"evenodd",d:"M6.5 12a5.5 5.5 0 1 0 0-11 5.5 5.5 0 0 0 0 11zM13 6.5a6.5 6.5 0 1 1-13 0 6.5 6.5 0 0 1 13 0z"}),o.createElement("path",{d:"M10.344 11.742c.03.04.062.078.098.115l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85a1.007 1.007 0 0 0-.115-.1 6.538 6.538 0 0 1-1.398 1.4z"}),o.createElement("path",{fillRule:"evenodd",d:"M3 6.5a.5.5 0 0 1 .5-.5h6a.5.5 0 0 1 0 1h-6a.5.5 0 0 1-.5-.5z"}))});o5.propTypes={color:o$().string,size:o$().oneOfType([o$().string,o$().number]),title:o$().string},o5.defaultProps={color:"currentColor",size:"1em",title:null};var o2=["color","size","title"];function o3(){return(o3=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var o4=(0,o.forwardRef)(function(e,t){var n=e.color,r=e.size,i=e.title,a=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,o2);return o.createElement("svg",o3({ref:t,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",width:r,height:r,fill:n},a),i?o.createElement("title",null,i):null,o.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.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"}))});o4.propTypes={color:o$().string,size:o$().oneOfType([o$().string,o$().number]),title:o$().string},o4.defaultProps={color:"currentColor",size:"1em",title:null};var o6=["color","size","title"];function o8(){return(o8=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var o7=(0,o.forwardRef)(function(e,t){var n=e.color,r=e.size,i=e.title,a=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,o6);return o.createElement("svg",o8({ref:t,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",width:r,height:r,fill:n},a),i?o.createElement("title",null,i):null,o.createElement("path",{d:"M5.5 0a.5.5 0 0 1 .5.5v4A1.5 1.5 0 0 1 4.5 6h-4a.5.5 0 0 1 0-1h4a.5.5 0 0 0 .5-.5v-4a.5.5 0 0 1 .5-.5zm5 0a.5.5 0 0 1 .5.5v4a.5.5 0 0 0 .5.5h4a.5.5 0 0 1 0 1h-4A1.5 1.5 0 0 1 10 4.5v-4a.5.5 0 0 1 .5-.5zM0 10.5a.5.5 0 0 1 .5-.5h4A1.5 1.5 0 0 1 6 11.5v4a.5.5 0 0 1-1 0v-4a.5.5 0 0 0-.5-.5h-4a.5.5 0 0 1-.5-.5zm10 1a1.5 1.5 0 0 1 1.5-1.5h4a.5.5 0 0 1 0 1h-4a.5.5 0 0 0-.5.5v4a.5.5 0 0 1-1 0v-4z"}))});
1o7.propTypes={color:o$().string,size:o$().oneOfType([o$().string,o$().number]),title:o$().string},o7.defaultProps={color:"currentColor",size:"1em",title:null};var o9=["color","size","title"];function ie(){return(ie=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var it=(0,o.forwardRef)(function(e,t){var n=e.color,r=e.size,i=e.title,a=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,o9);return o.createElement("svg",ie({ref:t,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",width:r,height:r,fill:n},a),i?o.createElement("title",null,i):null,o.createElement("path",{d:"M1.5 1a.5.5 0 0 0-.5.5v4a.5.5 0 0 1-1 0v-4A1.5 1.5 0 0 1 1.5 0h4a.5.5 0 0 1 0 1h-4zM10 .5a.5.5 0 0 1 .5-.5h4A1.5 1.5 0 0 1 16 1.5v4a.5.5 0 0 1-1 0v-4a.5.5 0 0 0-.5-.5h-4a.5.5 0 0 1-.5-.5zM.5 10a.5.5 0 0 1 .5.5v4a.5.5 0 0 0 .5.5h4a.5.5 0 0 1 0 1h-4A1.5 1.5 0 0 1 0 14.5v-4a.5.5 0 0 1 .5-.5zm15 0a.5.5 0 0 1 .5.5v4a1.5 1.5 0 0 1-1.5 1.5h-4a.5.5 0 0 1 0-1h4a.5.5 0 0 0 .5-.5v-4a.5.5 0 0 1 .5-.5z"}))});it.propTypes={color:o$().string,size:o$().oneOfType([o$().string,o$().number]),title:o$().string},it.defaultProps={color:"currentColor",size:"1em",title:null};var ir=["color","size","title"];function io(){return(io=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var ii=(0,o.forwardRef)(function(e,t){var n=e.color,r=e.size,i=e.title,a=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,ir);return o.createElement("svg",io({ref:t,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",width:r,height:r,fill:n},a),i?o.createElement("title",null,i):null,o.createElement("path",{d:"M1 2.5A1.5 1.5 0 0 1 2.5 1h3A1.5 1.5 0 0 1 7 2.5v3A1.5 1.5 0 0 1 5.5 7h-3A1.5 1.5 0 0 1 1 5.5v-3zm8 0A1.5 1.5 0 0 1 10.5 1h3A1.5 1.5 0 0 1 15 2.5v3A1.5 1.5 0 0 1 13.5 7h-3A1.5 1.5 0 0 1 9 5.5v-3zm-8 8A1.5 1.5 0 0 1 2.5 9h3A1.5 1.5 0 0 1 7 10.5v3A1.5 1.5 0 0 1 5.5 15h-3A1.5 1.5 0 0 1 1 13.5v-3zm8 0A1.5 1.5 0 0 1 10.5 9h3a1.5 1.5 0 0 1 1.5 1.5v3a1.5 1.5 0 0 1-1.5 1.5h-3A1.5 1.5 0 0 1 9 13.5v-3z"}))});ii.propTypes={color:o$().string,size:o$().oneOfType([o$().string,o$().number]),title:o$().string},ii.defaultProps={color:"currentColor",size:"1em",title:null};var ia=["color","size","title"];function is(){return(is=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var iu=(0,o.forwardRef)(function(e,t){var n=e.color,r=e.size,i=e.title,a=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,ia);return o.createElement("svg",is({ref:t,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",width:r,height:r,fill:n},a),i?o.createElement("title",null,i):null,o.createElement("path",{d:"M11.742 10.344a6.5 6.5 0 1 0-1.397 1.398h-.001c.03.04.062.078.098.115l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85a1.007 1.007 0 0 0-.115-.1zM12 6.5a5.5 5.5 0 1 1-11 0 5.5 5.5 0 0 1 11 0z"}))});
1iu.propTypes={color:o$().string,size:o$().oneOfType([o$().string,o$().number]),title:o$().string},iu.defaultProps={color:"currentColor",size:"1em",title:null};var il=["color","size","title"];function ic(){return(ic=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var id=(0,o.forwardRef)(function(e,t){var n=e.color,r=e.size,i=e.title,a=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,il);return o.createElement("svg",ic({ref:t,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",width:r,height:r,fill:n},a),i?o.createElement("title",null,i):null,o.createElement("path",{d:"M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0zM6.25 5C5.56 5 5 5.56 5 6.25v3.5a1.25 1.25 0 1 0 2.5 0v-3.5C7.5 5.56 6.94 5 6.25 5zm3.5 0c-.69 0-1.25.56-1.25 1.25v3.5a1.25 1.25 0 1 0 2.5 0v-3.5C11 5.56 10.44 5 9.75 5z"}))});id.propTypes={color:o$().string,size:o$().oneOfType([o$().string,o$().number]),title:o$().string},id.defaultProps={color:"currentColor",size:"1em",title:null};var ip=["color","size","title"];function iv(){return(iv=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var im=(0,o.forwardRef)(function(e,t){var n=e.color,r=e.size,i=e.title,a=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,ip);return o.createElement("svg",iv({ref:t,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",width:r,height:r,fill:n},a),i?o.createElement("title",null,i):null,o.createElement("path",{d:"M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0zM6.79 5.093A.5.5 0 0 0 6 5.5v5a.5.5 0 0 0 .79.407l3.5-2.5a.5.5 0 0 0 0-.814l-3.5-2.5z"}))});im.propTypes={color:o$().string,size:o$().oneOfType([o$().string,o$().number]),title:o$().string},im.defaultProps={color:"currentColor",size:"1em",title:null};var ih=["color","size","title"];function ig(){return(ig=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var iy=(0,o.forwardRef)(function(e,t){var n=e.color,r=e.size,i=e.title,a=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,ih);return o.createElement("svg",ig({ref:t,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",width:r,height:r,fill:n},a),i?o.createElement("title",null,i):null,o.createElement("path",{d:"M2.146 2.854a.5.5 0 1 1 .708-.708L8 7.293l5.146-5.147a.5.5 0 0 1 .708.708L8.707 8l5.147 5.146a.5.5 0 0 1-.708.708L8 8.707l-5.146 5.147a.5.5 0 0 1-.708-.708L7.293 8 2.146 2.854Z"}))});iy.propTypes={color:o$().string,size:o$().oneOfType([o$().string,o$().number]),title:o$().string},iy.defaultProps={color:"currentColor",size:"1em",title:null};/*! ***************************************************************************** 2Copyright (c) Microsoft Corporation. 3 4Permission to use, copy, modify, and/or distribute this software for any 5purpose with or without fee is hereby granted. 6 7THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH 8REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY 9AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, 10INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM 11LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR 12OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR 13PERFORMANCE OF THIS SOFTWARE. 14***************************************************************************** */var ib,iw,ix,iE,iS,iP,iO,iC,iT,ik,iA,i_,ij=function(e,t){return(ij=Object.
14setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},iM=(iP=i_={path:void 0,exports:{},require:function(e,t){return function(){throw Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}(null==t&&i_.path)}},i_.exports,function(){var e={}.hasOwnProperty;function t(){for(var n=[],r=0;r<arguments.length;r++){var o=arguments[r];if(o){var i=typeof o;if("string"===i||"number"===i)n.push(o);else if(Array.isArray(o)&&o.length){var a=t.apply(null,o);a&&n.push(a)}else if("object"===i)for(var s in o)e.call(o,s)&&o[s]&&n.push(s)}}return n.join(" ")}iP.exports?(t.default=t,iP.exports=t):window.classNames=t}(),i_.exports);function iL(e,t,n){function r(){var l=Date.now()-s;l<t&&l>=0?o=setTimeout(r,t-l):(o=null,n||(u=e.apply(a,i),a=i=null))}null==t&&(t=100);var o,i,a,s,u,l=function(){a=this,i=arguments,s=Date.now();var l=n&&!o;return o||(o=setTimeout(r,t)),l&&(u=e.apply(a,i),a=i=null),u};return l.clear=function(){o&&(clearTimeout(o),o=null)},l.flush=function(){o&&(u=e.apply(a,i),a=i=null,clearTimeout(o),o=null)},l}iL.debounce=iL,function(e,t){void 0===t&&(t={});var n=t.insertAt;if(e&&"undefined"!=typeof document){var r=document.head||document.getElementsByTagName("head")[0],o=document.createElement("style");o.type="text/css","top"===n&&r.firstChild?r.insertBefore(o,r.firstChild):r.appendChild(o),o.styleSheet?o.styleSheet.cssText=e:o.appendChild(document.createTextNode(e))}}(".indiana-scroll-container {\n overflow: auto; }\n .indiana-scroll-container--dragging {\n scroll-behavior: auto !important; }\n .indiana-scroll-container--dragging > * {\n pointer-events: none;\n cursor: -webkit-grab;\n cursor: grab; }\n .indiana-scroll-container--hide-scrollbars {\n overflow: hidden;\n overflow: -moz-scrollbars-none;\n -ms-overflow-style: none;\n scrollbar-width: none; }\n .indiana-scroll-container--hide-scrollbars::-webkit-scrollbar {\n display: none !important;\n height: 0 !important;\n width: 0 !important;\n background: transparent !important;\n -webkit-appearance: none !important; }\n .indiana-scroll-container--native-scroll {\n overflow: auto; }\n\n.indiana-dragging {\n cursor: -webkit-grab;\n cursor: grab; }\n");var iR,iz=(iR="indiana-scroll-container",function(e,t){if(!e)return iR;"string"==typeof e?n=e:t=e;var n,r=iR;return n&&(r+="__"+n),r+(t?Object.keys(t).reduce(function(e,n){var o=t[n];return o&&(e+=" "+("boolean"==typeof o?r+"--"+n:r+"--"+n+"_"+o)),e},""):"")}),iD=function(e){function t(t){var n=e.call(this,t)||this;return n.onEndScroll=function(){n.scrolling=!1,!n.pressed&&n.started&&n.processEnd()},n.onScroll=function(e){var t=n.container.current;t.scrollLeft===n.scrollLeft&&t.scrollTop===n.scrollTop||(n.scrolling=!0,n.processScroll(e),n.onEndScroll())},n.onTouchStart=function(e){var t=n.props.nativeMobileScroll;if(n.isDraggable(e.target)){if(n.internal=!0,t&&n.scrolling)n.pressed=!0;else{var r=e.touches[0];n.processClick(e,r.clientX,r.clientY),!t&&n.props.stopPropagation&&e.stopPropagation()}}},n.onTouchEnd=function(e){var t=n.props.nativeMobileScroll;n.pressed&&(!n.started||n.scrolling&&t?n.pressed=!1:n.processEnd(),n.forceUpdate())},n.onTouchMove=function(e){var t=n.props.nativeMobileScroll;if(n.pressed&&(!t||!n.isMobile)){var r=e.touches[0];r&&n.processMove(e,r.clientX,r.clientY),e.preventDefault(),n.props.stopPropagation&&e.stopPropagation()}},n.onMouseDown=function(e){n.isDraggable(e.target)&&n.isScrollable()&&(n.internal=!0,-1!==n.props.buttons.indexOf(e.button)&&(n.processClick(e,e.clientX,e.clientY),e.preventDefault(),n.props.stopPropagation&&e.stopPropagation()))},n.onMouseMove=function(e){n.pressed&&(n.processMove(e,e.clientX,e.clientY),e.preventDefault(),n.props.stopPropagation&&e.stopPropagation())},n.onMouseUp=function(e){n.pressed&&(n.started?n.processEnd():(n.internal=!1,n.pressed=!1,n.forceUpdate(),n.props.onClick&&n.props.onClick(e)),e.preventDefault(),n.props.stopPropagation&&e.stopPropagation())},n.container=o.createRef(),n.onEndScroll=iL(n.onEndScroll,300),n.scrolling=!1,n.started=!1,n.pressed=!1,n.internal=!1,n.getRef=n.getRef.bind(n),n}return function(e,t){function n(){this.constructor=e}ij(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}(t,e),t.prototype.componentDidMount=function(){var e=this.props.nativeMobileScroll,t=this.container.current;window.addEventListener("mouseup",this.onMouseUp),window.addEventListener("mousemove",this.onMouseMove),window.addEventListener("touchmove",this.onTouchMove,{passive:!1}),window.addEventListener("touchend",this.onTouchEnd),t.addEventListener("touchstart",this.onTouchStart,{passive:!1}),t.addEventListener("mousedown",this.onMouseDown,{passive:!1}),e&&(this.isMobile=this.isMobileDevice(),this.isMobile&&this.forceUpdate())},t.prototype.componentWillUnmount=function(){window.removeEventListener("mouseup",this.onMouseUp),window.removeEventListener("mousemove",this.onMouseMove),window.removeEventListener("touchmove",this.onTouchMove),window.removeEventListener("touchend",this.onTouchEnd)},t.prototype.getElement=function(){return this.container.current},t.prototype.isMobileDevice=function(){return void 0!==window.orientation||-1!==navigator.userAgent.indexOf("IEMobile")},t.prototype.isDraggable=function(e){var t=this.props.ignoreElements;if(t){var n=e.closest(t);return null===n||n.contains(this.getElement())}return!0},t.prototype.isScrollable=function(){var e=this.container.current;return e&&(e.scrollWidth>e.clientWidth||e.scrollHeight>e.clientHeight)},t.prototype.processClick=function(e,t,n){var r=this.container.current;this.scrollLeft=r.scrollLeft,this.scrollTop=r.scrollTop,this.clientX=t,this.clientY=n,this.pressed=!0},t.prototype.processStart=function(e){void 0===e&&(e=!0);var t=this.props.onStartScroll;this.started=!0,e&&document.body.classList.add("indiana-dragging"),t&&t({external:!this.internal}),this.forceUpdate()},t.prototype.processScroll=function(e){if(this.started){var t=this.props.onScroll;t&&t({external:!this.internal})}else this.processStart(!1)},t.prototype.processMove=function(e,t,n){var r=this.props,o=r.horizontal,i=r.vertical,a=r.activationDistance,s=r.onScroll,u=this.container.current;this.started?(o&&(u.scrollLeft-=t-this.clientX),i&&(u.scrollTop-=n-this.clientY),s&&s({external:!this.internal}),this.clientX=t,this.clientY=n,this.scrollLeft=u.scrollLeft,this.scrollTop=u.scrollTop):(o&&Math.abs(t-this.clientX)>a||i&&Math.abs(n-this.clientY)>
14a)&&(this.clientX=t,this.clientY=n,this.processStart())},t.prototype.processEnd=function(){var e=this.props.onEndScroll;this.container.current&&e&&e({external:!this.internal}),this.pressed=!1,this.started=!1,this.scrolling=!1,this.internal=!1,document.body.classList.remove("indiana-dragging"),this.forceUpdate()},t.prototype.getRef=function(e){[this.container,this.props.innerRef].forEach(function(t){t&&("function"==typeof t?t(e):t.current=e)})},t.prototype.render=function(){var e=this.props,t=e.children,n=e.draggingClassName,r=e.className,i=e.style,a=e.hideScrollbars,s=e.component;return o.createElement(s,{className:iM(r,this.pressed&&n,iz({dragging:this.pressed,"hide-scrollbars":a,"native-scroll":this.isMobile})),style:i,ref:this.getRef,onScroll:this.onScroll},t)},t.defaultProps={nativeMobileScroll:!0,hideScrollbars:!0,activationDistance:10,vertical:!0,horizontal:!0,stopPropagation:!1,style:{},component:"div",buttons:[0]},t}(o.PureComponent),iI=n(1296),iV=n.n(iI),iN=n(3096),iB=n.n(iN),iF=function(e,t){return(iF=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},iY=function(){return(iY=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};!function(e,t){void 0===t&&(t={});var n=t.insertAt;if(e&&"undefined"!=typeof document){var r=document.head||document.getElementsByTagName("head")[0],o=document.createElement("style");o.type="text/css","top"===n&&r.firstChild?r.insertBefore(o,r.firstChild):r.appendChild(o),o.styleSheet?o.styleSheet.cssText=e:o.appendChild(document.createTextNode(e))}}(".magnifier {\n position: relative;\n display: inline-block;\n line-height: 0; }\n\n.magnifier-image {\n cursor: none; }\n\n.magnifying-glass {\n position: absolute;\n z-index: 1;\n background: #e5e5e5 no-repeat;\n border: solid #ebebeb;\n box-shadow: 2px 2px 3px rgba(0, 0, 0, 0.3);\n opacity: 0;\n transition: opacity 0.3s;\n pointer-events: none; }\n .magnifying-glass.circle {\n border-radius: 50%; }\n .magnifying-glass.visible {\n opacity: 1; }\n");var iX=function(e){function t(t){var n=e.call(this,t)||this;return n.state={showZoom:!1,mgOffsetX:0,mgOffsetY:0,relX:0,relY:0},n.componentDidMount=function(){n.img.addEventListener("mouseenter",n.onMouseEnter,{passive:!1}),n.img.addEventListener("mousemove",n.onMouseMove,{passive:!1}),n.img.addEventListener("mouseout",n.onMouseOut,{passive:!1}),n.img.addEventListener("touchstart",n.onTouchStart,{passive:!1}),n.img.addEventListener("touchmove",n.onTouchMove,{passive:!1}),n.img.addEventListener("touchend",n.onTouchEnd,{passive:!1}),window.addEventListener("resize",n.calcImgBoundsDebounced),window.addEventListener("scroll",n.calcImgBoundsDebounced,!0)},n.componentWillUnmount=function(){n.img.removeEventListener("mouseenter",n.onMouseEnter),n.img.removeEventListener("mousemove",n.onMouseMove),n.img.removeEventListener("mouseout",n.onMouseOut),n.img.removeEventListener("touchstart",n.onTouchStart),n.img.removeEventListener("touchmove",n.onTouchMove),n.img.removeEventListener("touchend",n.onTouchEnd),window.removeEventListener("resize",n.calcImgBoundsDebounced),window.removeEventListener("scroll",n.calcImgBoundsDebounced,!0)},n.onMouseEnter=function(){n.calcImgBounds()},n.onMouseMove=function(e){var t=n.props,r=t.mgMouseOffsetX,o=t.mgMouseOffsetY;if(n.imgBounds){var i=e.target,a=(e.clientX-n.imgBounds.left)/i.clientWidth,s=(e.clientY-n.imgBounds.top)/i.clientHeight;n.setState({mgOffsetX:r,mgOffsetY:o,relX:a,relY:s,showZoom:!0})}},n.onMouseOut=function(){n.setState({showZoom:!1})},n.onTouchStart=function(e){e.preventDefault(),n.calcImgBounds()},n.onTouchMove=function(e){if(e.preventDefault(),n.imgBounds){var t=e.target,r=n.props,o=r.mgTouchOffsetX,i=r.mgTouchOffsetY,a=(e.targetTouches[0].clientX-n.imgBounds.left)/t.clientWidth,s=(e.targetTouches[0].clientY-n.imgBounds.top)/t.clientHeight;a>=0&&s>=0&&a<=1&&s<=1?n.setState({mgOffsetX:o,mgOffsetY:i,relX:a,relY:s,showZoom:!0}):n.setState({showZoom:!1})}},n.onTouchEnd=function(){n.setState({showZoom:!1})},n.calcImgBounds=function(){n.img&&(n.imgBounds=n.img.getBoundingClientRect())}
14,n.render=function(){var e=n.props,t=e.src,r=e.width,i=e.height,a=e.className,s=e.zoomImgSrc,u=e.zoomFactor,l=e.mgHeight,c=e.mgWidth,f=e.mgBorderWidth,d=(e.mgMouseOffsetX,e.mgMouseOffsetY,e.mgTouchOffsetX,e.mgTouchOffsetY,e.mgShape),p=e.mgShowOverflow,v=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)0>t.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n}(e,["src","width","height","className","zoomImgSrc","zoomFactor","mgHeight","mgWidth","mgBorderWidth","mgMouseOffsetX","mgMouseOffsetY","mgTouchOffsetX","mgTouchOffsetY","mgShape","mgShowOverflow"]),m=n.state,h=m.mgOffsetX,g=m.mgOffsetY,y=m.relX,b=m.relY,w=m.showZoom,x="magnifying-glass";return w&&(x+=" visible"),"circle"===d&&(x+=" circle"),o.createElement("div",{className:"magnifier "+a,style:{width:r,height:i,overflow:p?"visible":"hidden"}},o.createElement("img",iY({className:"magnifier-image",src:t,width:"100%",height:"100%"},v,{onLoad:function(){n.calcImgBounds()},ref:function(e){n.img=e}})),n.imgBounds&&o.createElement("div",{className:x,style:{width:c,height:l,left:"calc("+100*y+"% - "+c/2+"px + "+h+"px - "+f+"px)",top:"calc("+100*b+"% - "+l/2+"px + "+g+"px - "+f+"px)",backgroundImage:'url("'+(s||t)+'")',backgroundPosition:"calc("+100*y+"% + "+c/2+"px - "+y*c+"px) calc("+100*b+"% + "+l/2+"px - "+b*c+"px)",backgroundSize:u*n.imgBounds.width+"% "+u*n.imgBounds.height+"%",borderWidth:f}}))},n.onMouseMove=iB()(n.onMouseMove.bind(n),20,{trailing:!1}),n.onTouchMove=iB()(n.onTouchMove.bind(n),20,{trailing:!1}),n.calcImgBoundsDebounced=iV()(n.calcImgBounds,200),n}return!function(e,t){function n(){this.constructor=e}iF(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}(t,e),t.defaultProps={width:"100%",height:"auto",className:"",zoomImgSrc:"",zoomFactor:1.5,mgWidth:150,mgHeight:150,mgBorderWidth:2,mgShape:"circle",mgShowOverflow:!0,mgMouseOffsetX:0,mgMouseOffsetY:0,mgTouchOffsetX:-50,mgTouchOffsetY:-50},t}(o.PureComponent),iU=n(3935),iW=!!("undefined"!=typeof window&&window.document&&window.document.createElement),iH=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),iZ=function(e){function t(){return!function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&("object"==typeof t||"function"==typeof t)?t:e}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return!function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),iH(t,[{key:"componentWillUnmount",value:function(){this.defaultNode&&document.body.removeChild(this.defaultNode),this.defaultNode=null}},{key:"render",value:function(){return iW?(this.props.node||this.defaultNode||(this.defaultNode=document.createElement("div"),document.body.appendChild(this.defaultNode)),iU.createPortal(this.props.children,this.props.node||this.defaultNode)):null}}]),t}(o.Component);iZ.propTypes={children:o$().node.isRequired,node:o$().any};var iK=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),iq=function(e){function t(){return!function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&("object"==typeof t||"function"==typeof t)?t:e}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return!function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}
14(t,e),iK(t,[{key:"componentDidMount",value:function(){this.renderPortal()}},{key:"componentDidUpdate",value:function(e){this.renderPortal()}},{key:"componentWillUnmount",value:function(){iU.unmountComponentAtNode(this.defaultNode||this.props.node),this.defaultNode&&document.body.removeChild(this.defaultNode),this.defaultNode=null,this.portal=null}},{key:"renderPortal",value:function(e){this.props.node||this.defaultNode||(this.defaultNode=document.createElement("div"),document.body.appendChild(this.defaultNode));var t=this.props.children;"function"==typeof this.props.children.type&&(t=o.cloneElement(this.props.children)),this.portal=iU.unstable_renderSubtreeIntoContainer(this,t,this.props.node||this.defaultNode)}},{key:"render",value:function(){return null}}]),t}(o.Component);iq.propTypes={children:o$().node.isRequired,node:o$().any};var i$=iU.createPortal?iZ:iq,iG=function(e,t){return Number(e.toFixed(t))},iQ=function(e,t,n){n&&"function"==typeof n&&n(e,t)},iJ={easeOut:function(e){return-Math.cos(e*Math.PI)/2+.5},linear:function(e){return e},easeInQuad:function(e){return e*e},easeOutQuad:function(e){return e*(2-e)},easeInOutQuad:function(e){return e<.5?2*e*e:-1+(4-2*e)*e},easeInCubic:function(e){return e*e*e},easeOutCubic:function(e){return--e*e*e+1},easeInOutCubic:function(e){return e<.5?4*e*e*e:(e-1)*(2*e-2)*(2*e-2)+1},easeInQuart:function(e){return e*e*e*e},easeOutQuart:function(e){return 1- --e*e*e*e},easeInOutQuart:function(e){return e<.5?8*e*e*e*e:1-8*--e*e*e*e},easeInQuint:function(e){return e*e*e*e*e},easeOutQuint:function(e){return 1+--e*e*e*e*e},easeInOutQuint:function(e){return e<.5?16*e*e*e*e*e:1+16*--e*e*e*e*e}},i0=function(e){"number"==typeof e&&cancelAnimationFrame(e)},i1=function(e){e.mounted&&(i0(e.animation),e.animate=!1,e.animation=null,e.velocity=null)};function i5(e,t,n,r){if(e.mounted){var o=new Date().getTime();i1(e),e.animation=function(){if(!e.mounted)return i0(e.animation);var i=new Date().getTime()-o,a=(0,iJ[t])(i/n);i>=n?(r(1),e.animation=null):e.animation&&(r(a),requestAnimationFrame(e.animation))},requestAnimationFrame(e.animation)}}function i2(e,t,n,r){var o,i,a,s=(o=t.scale,i=t.positionX,a=t.positionY,!(Number.isNaN(o)||Number.isNaN(i)||Number.isNaN(a)));if(e.mounted&&s){var u=e.setTransformState,l=e.transformState,c=l.scale,f=l.positionX,d=l.positionY,p=t.scale-c,v=t.positionX-f,m=t.positionY-d;0===n?u(t.scale,t.positionX,t.positionY):i5(e,r,n,function(e){u(c+p*e,f+v*e,d+m*e)})}}var i3=function(e,t,n,r,o,i,a){var s=e>t?n*(a?1:.5):0,u=r>o?i*(a?1:.5):0;return{minPositionX:e-t-s,maxPositionX:s,minPositionY:r-o-u,maxPositionY:u}},i4=function(e,t){var n,r,o,i,a,s,u=e.wrapperComponent,l=e.contentComponent,c=e.setup.centerZoomedOut;if(!u||!l)throw Error("Components are not mounted");var f=(n=u.offsetWidth,r=u.offsetHeight,o=l.offsetWidth,i=l.offsetHeight,{wrapperWidth:n,wrapperHeight:r,newContentWidth:a=o*t,newDiffWidth:n-a,newContentHeight:s=i*t,newDiffHeight:r-s}),d=f.wrapperWidth,p=f.wrapperHeight;return i3(d,f.newContentWidth,f.newDiffWidth,p,f.newContentHeight,f.newDiffHeight,!!c)},i6=function(e,t,n,r){return r?e<t?iG(t,2):e>n?iG(n,2):iG(e,2):iG(e,2)},i8=function(e,t){var n=i4(e,t);return e.bounds=n,n};function i7(e,t,n,r,o,i,a){var s=n.minPositionX,u=n.minPositionY,l=n.maxPositionX,c=n.maxPositionY,f=0,d=0;return a&&(f=o,d=i),{x:i6(e,s-f,l+f,r),y:i6(t,u-d,c+d,r)}}function i9(e,t,n,r,o,i){var a=e.transformState,s=a.scale,u=a.positionX,l=a.positionY,c=r-s;return"number"!=typeof t||"number"!=typeof n?(console.error("Mouse X and Y position were not provided!"),{x:u,y:l}):i7(u-t*c,l-n*c,o,i,0,0,null)}function ae(e,t,n,r,o){var i=t-(o?r:0);return!Number.isNaN(n)&&e>=n?n:!Number.isNaN(t)&&e<=i?i:e}var at=function(e,t){var n=e.setup.panning.excluded,r=e.isInitialized,o=e.wrapperComponent,i=t.target,a=null==o?void 0:o.contains(i);return!(!(r&&i&&a)||aC(i,n))},an=function(e){var t=e.isInitialized,n=e.isPanning,r=e.setup.panning.disabled;return!!t&&!!n&&!r},ar=function(e,t){var n=e.transformState,r=n.positionX,o=n.positionY;e.isPanning=!0;var i=t.clientX,a=t.clientY;e.startCoords={x:i-r,y:a-o}},ao=function(e,t){var n=t.touches,r=e.transformState,o=r.positionX,i=r.positionY;if(e.isPanning=!0,1===n.length){var a=n[0].clientX,s=n[0].clientY;e.startCoords={x:a-o,y:s-i}}},ai=function(e,t,n){var r=e.startCoords,o=e.transformState,i=e.setup.panning,a=i.lockAxisX,s=i.lockAxisY,u=o.positionX,l=o.positionY;if(!r)return{x:u,y:l};var c=t-r.x,f=n-r.y;return{x:a?u:c,y:s?l:f}},aa=function(e,t){var n=e.setup,r=e.transformState.scale,o=n.minScale,i=n.disablePadding;return t>0&&r>=o&&!i?t:0},as=function(e){var t=e.mounted,n=e.setup,r=n.disabled,o=n.velocityAnimation,i=e.transformState.scale;return!o.disabled||i>1||!r||!!t},au=function(e){var t=e.mounted,n=e.velocity,r=e.bounds,o=e.setup,i=o.disabled,a=o.velocityAnimation,s=e.transformState.scale;return(!a.disabled||s>1||!i||!!t)&&!!n&&!!r};function al(e,t,n,r,o,i,a,s,u,l){if(o){if(t>a&&n>a){var c=a+(e-a)*l;return c>u?u:c<a?a:c}if(t<i&&n<i){var c=i+(e-i)*l;return c<s?s:c>i?i:c}}return r?t:i6(e,i,a,o)}function ac(e,t){var n=e.transformState.scale;i1(e),i8(e,n),void 0!==window.TouchEvent&&t instanceof TouchEvent?ao(e,t):ar(e,t)}function af(e){var t=e.transformState.scale,n=e.setup,r=n.minScale,o=n.alignmentAnimation,i=o.disabled,a=o.sizeX,s=o.sizeY,u=o.animationTime,l=o.animationType;if(!(i||t<r||!a&&!s)){var c=function(e){var t=e.transformState,n=t.positionX,r=t.positionY,o=t.scale,i=e.setup,a=i.disabled,s=i.limitToBounds,u=i.centerZoomedOut,l=e.wrapperComponent;if(!a&&l&&e.bounds){var c=e.bounds,f=c.maxPositionX,d=c.minPositionX,p=c.maxPositionY,v=c.minPositionY,m=n>f?l.offsetWidth:e.setup.minPositionX||0,h=r>p?l.offsetHeight:e.setup.minPositionY||0,g=i9(e,m,h,o,e.bounds,s||u),y=g.x,b=g.y;return{scale:o,positionX:n>f||n<d?y:n,positionY:r>p||r<v?b:r}}}(e);c&&i2(e,c,u,l)}}
14function ad(e,t,n){var r=e.startCoords,o=e.setup.alignmentAnimation,i=o.sizeX,a=o.sizeY;if(r){var s=ai(e,t,n),u=s.x,l=s.y,c=aa(e,i),f=aa(e,a);!function(e,t){if(as(e)){var n=e.lastMousePosition,r=e.velocityTime,o=e.setup,i=e.wrapperComponent,a=o.velocityAnimation.equalToMove,s=Date.now();if(n&&r&&i){var u=a?Math.min(1,i.offsetWidth/window.innerWidth):1,l=t.x-n.x,c=t.y-n.y;e.velocity={velocityX:l/u,velocityY:c/u,total:Math.sqrt(l*l+c*c)/(s-r)}}e.lastMousePosition=t,e.velocityTime=s}}(e,{x:u,y:l}),function(e,t,n,r,o){var i=e.setup.limitToBounds,a=e.wrapperComponent,s=e.bounds,u=e.transformState,l=u.scale,c=u.positionX,f=u.positionY;if(null!==a&&null!==s&&(t!==c||n!==f)){var d=i7(t,n,s,i,r,o,a),p=d.x,v=d.y;e.setTransformState(l,p,v)}}(e,u,l,c,f)}}function ap(e,t,n,r){var o=e.setup,i=o.minScale,a=o.maxScale,s=o.limitToBounds,u=ae(iG(t,2),i,a,0,!1),l=i8(e,u),c=i9(e,n,r,u,l,s),f=c.x,d=c.y;return{scale:u,positionX:f,positionY:d}}function av(e,t,n){var r=e.transformState.scale,o=e.wrapperComponent,i=e.setup,a=i.minScale,s=i.limitToBounds,u=i.zoomAnimation,l=u.disabled,c=u.animationTime,f=u.animationType;if((r>=1||s)&&af(e),!(l||r>=a)&&o&&e.mounted){var d=ap(e,a,t||o.offsetWidth/2,n||o.offsetHeight/2);d&&i2(e,d,c,f)}}var am=function(){return(am=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};function ah(e,t,n){if(n||2==arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))}var ag={previousScale:1,scale:1,positionX:0,positionY:0},ay={disabled:!1,minPositionX:null,maxPositionX:null,minPositionY:null,maxPositionY:null,minScale:1,maxScale:8,limitToBounds:!0,centerZoomedOut:!1,centerOnInit:!1,disablePadding:!1,wheel:{step:.2,disabled:!1,wheelDisabled:!1,touchPadDisabled:!1,activationKeys:[],excluded:[]},panning:{disabled:!1,velocityDisabled:!1,lockAxisX:!1,lockAxisY:!1,activationKeys:[],excluded:[]},pinch:{step:5,disabled:!1,excluded:[]},doubleClick:{disabled:!1,step:.7,mode:"zoomIn",animationType:"easeOut",animationTime:200,excluded:[]},zoomAnimation:{disabled:!1,size:.4,animationTime:200,animationType:"easeOut"},alignmentAnimation:{disabled:!1,sizeX:100,sizeY:100,animationTime:200,velocityAlignmentTime:400,animationType:"easeOut"},velocityAnimation:{disabled:!1,sensitivity:1,animationTime:400,animationType:"easeOut",equalToMove:!0}},ab=function(e){var t,n,r,o;return{previousScale:null!==(t=e.initialScale)&&void 0!==t?t:ag.scale,scale:null!==(n=e.initialScale)&&void 0!==n?n:ag.scale,positionX:null!==(r=e.initialPositionX)&&void 0!==r?r:ag.positionX,positionY:null!==(o=e.initialPositionY)&&void 0!==o?o:ag.positionY}},aw=function(e){var t=am({},ay);return Object.keys(e).forEach(function(n){var r=void 0!==e[n];if(void 0!==ay[n]&&r){var o=Object.prototype.toString.call(ay[n]);"[object Object]"===o?t[n]=am(am({},ay[n]),e[n]):"[object Array]"===o?t[n]=ah(ah([],ay[n],!0),e[n],!0):t[n]=e[n]}}),t},ax=function(e,t,n){var r=e.transformState.scale,o=e.wrapperComponent,i=e.setup,a=i.maxScale,s=i.minScale,u=i.zoomAnimation.size;if(!o)throw Error("Wrapper is not mounted");return ae(iG(r*Math.exp(t*n),3),s,a,u,!1)};function aE(e,t,n,r,o){var i=e.wrapperComponent,a=e.transformState,s=a.scale,u=a.positionX,l=a.positionY;if(!i)return console.error("No WrapperComponent found");var c=i.offsetWidth,f=i.offsetHeight,d=ax(e,t,n),p=ap(e,d,(c/2-u)/s,(f/2-l)/s);if(!p)return console.error("Error during zoom event. New transformation state was not calculated.");i2(e,p,r,o)}function aS(e,t,n,r){var o=e.setup,i=e.wrapperComponent,a=o.limitToBounds,s=ab(e.props),u=e.transformState,l=u.scale,c=u.positionX,f=u.positionY;if(i){var d=i4(e,s.scale),p=i7(s.positionX,s.positionY,d,a,0,0,i),v={scale:s.scale,positionX:p.x,positionY:p.y};if(l===s.scale&&c===s.positionX&&f===s.positionY)return;null==r||r(),i2(e,v,t,n)}}var aP=function(e){return{instance:e,state:e.transformState,zoomIn:function(t,n,r){void 0===t&&(t=.5),void 0===n&&(n=300),void 0===r&&(r="easeOut"),aE(e,1,t,n,r)},zoomOut:function(t,n,r){void 0===t&&(t=.5),void 0===n&&(n=300),void 0===r&&(r="easeOut"),aE(e,-1,t,n,r)},setTransform:function(t,n,r,o,i){void 0===o&&(o=300),void 0===i&&(i="easeOut");var a=e.transformState,s=a.positionX,u=a.positionY,l=a.scale,c=e.wrapperComponent,f=e.contentComponent;!e.setup.disabled&&c&&f&&i2(e,{positionX:Number.isNaN(t)?s:t,positionY:Number.isNaN(n)?u:n,scale:Number.isNaN(r)?l:r},o,i)},resetTransform:function(t,n){void 0===t&&(t=200),void 0===n&&(n="easeOut"),aS(e,t,n)},centerView:function(t,n,r){void 0===n&&(n=200),void 0===r&&(r="easeOut");var o=e.transformState,i=e.wrapperComponent,a=e.contentComponent;i&&a&&i2(e,ak(t||o.scale,i,a),n,r)},zoomToElement:function(t,n,r,o){void 0===r&&(r=600),void 0===o&&(o="easeOut"),i1(e);var i=e.wrapperComponent,a="string"==typeof t?document.getElementById(t):t;if(i&&a&&i.contains(a)){var s=function(e,t,n){var r,o,i,a,s,u=e.wrapperComponent,l=e.contentComponent,c=e.transformState,f=e.setup,d=f.limitToBounds,p=f.minScale,v=f.maxScale;if(!u||!l)return c;var m=u.getBoundingClientRect(),h=t.getBoundingClientRect(),g=(r=t.getBoundingClientRect(),o=u.getBoundingClientRect(),i=l.getBoundingClientRect(),a=o.x*c.scale,s=o.y*c.scale,{x:(r.x-i.x+a)/c.scale,y:(r.y-i.y+s)/c.scale}),y=g.x,b=g.y,w=h.width/c.scale,x=h.height/c.scale,E=u.offsetWidth/w,S=u.offsetHeight/x,P=ae(n||Math.min(E,S),p,v,0,!1),O=(m.width-w*P)/2,C=(m.height-x*P)/2,T=i7((m.left-y)*P+O,(m.top-b)*P+C,i4(e,P),d,0,0,u);return{positionX:T.x,positionY:T.y,scale:P}}(e,a,n);i2(e,s,r,o)}}}};
14function aO(){try{return{get passive(){return!1}}}catch(e){return!1}}var aC=function(e,t){var n=e.tagName.toUpperCase();return!!(t.find(function(e){return e.toUpperCase()===n})||t.find(function(t){return e.classList.contains(t)}))},aT=function(e){e&&clearTimeout(e)},ak=function(e,t,n){var r=n.offsetWidth*e,o=n.offsetHeight*e;return{scale:e,positionX:(t.offsetWidth-r)/2,positionY:(t.offsetHeight-o)/2}},aA=function(e,t){var n=e.setup.wheel,r=n.disabled,o=n.wheelDisabled,i=n.touchPadDisabled,a=n.excluded,s=e.isInitialized,u=e.isPanning,l=t.target;return!(!(s&&!u&&!r&&l)||o&&!t.ctrlKey||i&&t.ctrlKey||aC(l,a))};function a_(e,t,n){var r=t.getBoundingClientRect(),o=0,i=0;if("clientX"in e)o=(e.clientX-r.left)/n,i=(e.clientY-r.top)/n;else{var a=e.touches[0];o=(a.clientX-r.left)/n,i=(a.clientY-r.top)/n}return(Number.isNaN(o)||Number.isNaN(i))&&console.error("No mouse or touch offset found"),{x:o,y:i}}var aj=function(e,t,n,r,o){var i=e.transformState.scale,a=e.wrapperComponent,s=e.setup,u=s.maxScale,l=s.minScale,c=s.zoomAnimation,f=s.disablePadding,d=c.size,p=c.disabled;if(!a)throw Error("Wrapper is not mounted");var v=i+t*(i-i*n)*n;return o?v:ae(iG(v,3),l,u,d,!r&&!p&&!f)},aM=function(e,t){var n=e.previousWheelEvent,r=e.transformState.scale,o=e.setup,i=o.maxScale,a=o.minScale;return!!n&&(r<i||r>a||Math.sign(n.deltaY)!==Math.sign(t.deltaY)||n.deltaY>0&&n.deltaY<t.deltaY||n.deltaY<0&&n.deltaY>t.deltaY||Math.sign(n.deltaY)!==Math.sign(t.deltaY))},aL=function(e,t){var n=e.setup.pinch,r=n.disabled,o=n.excluded,i=e.isInitialized,a=t.target;return!(!(i&&!r&&a)||aC(a,o))},aR=function(e){var t=e.setup.pinch.disabled,n=e.isInitialized,r=e.pinchStartDistance;return!!n&&!t&&!!r},az=function(e,t,n){var r=n.getBoundingClientRect(),o=e.touches,i=iG(o[0].clientX-r.left,5),a=iG(o[0].clientY-r.top,5);return{x:(i+iG(o[1].clientX-r.left,5))/2/t,y:(a+iG(o[1].clientY-r.top,5))/2/t}},aD=function(e){return Math.sqrt(Math.pow(e.touches[0].pageX-e.touches[1].pageX,2)+Math.pow(e.touches[0].pageY-e.touches[1].pageY,2))},aI=function(e,t){var n=e.pinchStartScale,r=e.pinchStartDistance,o=e.setup,i=o.maxScale,a=o.minScale,s=o.zoomAnimation,u=o.disablePadding,l=s.size,c=s.disabled;if(!n||null===r||!t)throw Error("Pinch touches distance was not provided");return t<0?e.transformState.scale:ae(iG(t/r*n,2),a,i,l,!c&&!u)},aV=function(e,t){var n=e.props,r=n.onWheelStart,o=n.onZoomStart;e.wheelStopEventTimer||(i1(e),iQ(aP(e),t,r),iQ(aP(e),t,o))},aN=function(e,t){var n,r=e.props,o=r.onWheel,i=r.onZoom,a=e.contentComponent,s=e.setup,u=e.transformState.scale,l=s.limitToBounds,c=s.centerZoomedOut,f=s.zoomAnimation,d=s.wheel,p=s.disablePadding,v=f.size,m=f.disabled,h=d.step;if(!a)throw Error("Component not mounted");t.preventDefault(),t.stopPropagation();var g=aj(e,n=t?t.deltaY<0?1:-1:0,h,!t.ctrlKey);if(u!==g){var y=i8(e,g),b=a_(t,a,u),w=i9(e,b.x,b.y,g,y,l&&(m||0===v||c||p)),x=w.x,E=w.y;e.previousWheelEvent=t,e.setTransformState(g,x,E),iQ(aP(e),t,o),iQ(aP(e),t,i)}},aB=function(e,t){var n=e.props,r=n.onWheelStop,o=n.onZoomStop;aT(e.wheelAnimationTimer),e.wheelAnimationTimer=setTimeout(function(){e.mounted&&(av(e,t.x,t.y),e.wheelAnimationTimer=null)},100),aM(e,t)&&(aT(e.wheelStopEventTimer),e.wheelStopEventTimer=setTimeout(function(){e.mounted&&(e.wheelStopEventTimer=null,iQ(aP(e),t,r),iQ(aP(e),t,o))},160))},aF=function(e,t){var n=aD(t);e.pinchStartDistance=n,e.lastDistance=n,e.pinchStartScale=e.transformState.scale,e.isPanning=!1,i1(e)},aY=function(e,t){var n=e.contentComponent,r=e.pinchStartDistance,o=e.transformState.scale,i=e.setup,a=i.limitToBounds,s=i.centerZoomedOut,u=i.zoomAnimation,l=u.disabled,c=u.size;if(null!==r&&n){var f=az(t,o,n);if(Number.isFinite(f.x)&&Number.isFinite(f.y)){var d=aD(t),p=aI(e,d);if(p!==o){var v=i8(e,p),m=i9(e,f.x,f.y,p,v,a&&(l||0===c||s)),h=m.x,g=m.y;e.pinchMidpoint=f,e.lastDistance=d,e.setTransformState(p,h,g)}}}},aX=function(e){var t=e.pinchMidpoint;e.velocity=null,e.lastDistance=null,e.pinchMidpoint=null,e.pinchStartScale=null,e.pinchStartDistance=null,av(e,null==t?void 0:t.x,null==t?void 0:t.y)},aU=function(e,t){var n=e.props.onZoomStop,r=e.setup.doubleClick.animationTime;aT(e.doubleClickStopEventTimer),e.doubleClickStopEventTimer=setTimeout(function(){e.doubleClickStopEventTimer=null,iQ(aP(e),t,n)},r)},aW=function(e,t){var n=e.props,r=n.onZoomStart,o=n.onZoom,i=e.setup.doubleClick,a=i.animationTime,s=i.animationType;iQ(aP(e),t,r),aS(e,a,s,function(){return iQ(aP(e),t,o)}),aU(e,t)},aH=function(e,t){var n=e.isInitialized,r=e.setup,o=e.wrapperComponent,i=r.doubleClick,a=i.disabled,s=i.excluded,u=t.target,l=null==o?void 0:o.contains(u);return!(!(n&&u&&l&&!a)||aC(u,s))},aZ=function(e){var t=this;this.mounted=!0,this.onChangeCallbacks=new Set,this.wrapperComponent=null,this.contentComponent=null,this.isInitialized=!1,this.bounds=null,this.previousWheelEvent=null,this.wheelStopEventTimer=null,this.wheelAnimationTimer=null,this.isPanning=!1,this.startCoords=null,this.lastTouch=null,this.distance=null,this.lastDistance=null,this.pinchStartDistance=null,this.pinchStartScale=null,this.pinchMidpoint=null,this.doubleClickStopEventTimer=null,this.velocity=null,this.velocityTime=null,this.lastMousePosition=null,this.animate=!1,this.animation=null,this.maxBounds=null,this.pressedKeys={},this.mount=function(){t.initializeWindowEvents()},this.unmount=function(){t.cleanupWindowEvents()},this.update=function(e){i8(t,t.transformState.scale),t.setup=aw(e)},this.initializeWindowEvents=function(){var e,n=aO(),r=null===(e=t.wrapperComponent)||void 0===e?void 0:e.ownerDocument,o=null==r?void 0:r.defaultView;null==o||o.addEventListener("mousedown",t.onPanningStart,n),null==o||o.addEventListener("mousemove",t.onPanning,n),null==o||o.addEventListener("mouseup",t.onPanningStop,n),null==r||r.addEventListener("mouseleave",t.clearPanning,n),null==o||o.addEventListener("keyup",t.setKeyUnPressed,n),null==o||o.addEventListener("keydown",t.setKeyPressed,n)},this.cleanupWindowEvents=function(){var e,n,r=aO(),o=null===(e=t.wrapperComponent)||void 0===e?void 0:e.ownerDocument,i=null==o?void 0:o.defaultView;null==i||i.removeEventListener("mousedown",t.onPanningStart,r),null==i||i.removeEventListener("mousemove",t.onPanning,r),null==i||i.removeEventListener("mouseup",t.onPanningStop,r),null==o||o.removeEventListener("mouseleave",t.clearPanning,r),null==i||i.removeEventListener("keyup",t.setKeyUnPressed,r),null==i||i.removeEventListener("keydown",t.setKeyPressed,r),document.removeEventListener("mouseleave",t.clearPanning,r),i1(t),null===(n=t.observer)||void 0===n||n.disconnect()},this.handleInitializeWrapperEvents=function(e){var n=aO();e.addEventListener("wheel",t.onWheelZoom,n),e.addEventListener("dblclick",t.onDoubleClick,n),e.addEventListener("touchstart",t.onTouchPanningStart,n),e.addEventListener("touchmove",t.onTouchPanning,n),e.addEventListener("touchend",t.onTouchPanningStop,n)},this.handleInitialize=function(e){var n=t.setup.centerOnInit;t.applyTransformation(),n&&(t.setCenter(),t.observer=new ResizeObserver(function(){var e;t.setCenter(),null===(e=t.observer)||void 0===e||e.disconnect()}),t.observer.observe(e))},this.onWheelZoom=function(e){!t.setup.disabled&&aA(t,e)&&t.isPressingKeys(t.setup.wheel.activationKeys)&&(aV(t,e),aN(t,e),aB(t,e))},this.onPanningStart=function(e){var n=t.setup.disabled,r=t.props.onPanningStart;!n&&at(t,e)&&t.isPressingKeys(t.setup.panning.activationKeys)&&(e.preventDefault(),e.stopPropagation(),i1(t),ac(t,e),iQ(aP(t),e,r))},this.onPanning=function(e){var n=t.setup.disabled,r=t.props.onPanning;!n&&an(t)&&t.isPressingKeys(t.setup.panning.activationKeys)&&(e.preventDefault(),e.stopPropagation(),ad(t,e.clientX,e.clientY),iQ(aP(t),e,r))},this.onPanningStop=function(e){var n=t.props.onPanningStop;t.isPanning&&(function(e){if(e.isPanning){var t=e.setup.panning.velocityDisabled,n=e.velocity,r=e.wrapperComponent,o=e.contentComponent;e.isPanning=!1,e.animate=!1,e.animation=null;var i=null==r?void 0:r.getBoundingClientRect(),a=null==o?void 0:o.getBoundingClientRect(),s=(null==i?void 0:i.width)||0,u=(null==i?void 0:i.height)||0,l=(null==a?void 0:a.width)||0,c=(null==a?void 0:a.height)||0;!t&&n&&(null==n?void 0:n.total)>.1&&(s<l||u<c)?function(e){var t,n,r,o,i=e.velocity,a=e.bounds,s=e.setup,u=e.wrapperComponent;if(au(e)&&i&&a&&u){var l=i.velocityX,c=i.velocityY,f=i.total,d=a.maxPositionX,p=a.minPositionX,v=a.maxPositionY,m=a.minPositionY,h=s.limitToBounds,g=s.alignmentAnimation,y=s.zoomAnimation,b=s.panning,w=b.lockAxisY,x=b.lockAxisX,E=y.animationType,S=g.sizeX,P=g.sizeY,O=g.velocityAlignmentTime,C=(n=(t=e.setup.velocityAnimation).equalToMove,r=t.animationTime,o=t.sensitivity,n?r*f*o:r),T=a
14a(e,S),k=aa(e,P),A=T*u.offsetWidth/100,_=k*u.offsetHeight/100,j=d+A,M=p-A,L=v+_,R=m-_,z=e.transformState,D=new Date().getTime();i5(e,E,Math.max(C,O),function(t){var n=e.transformState,r=n.scale,o=n.positionX,i=n.positionY,a=new Date().getTime()-D,s=1-(0,iJ[g.animationType])(Math.min(1,a/O)),u=1-t,f=o+l*u,y=i+c*u,b=al(f,z.positionX,o,x,h,p,d,M,j,s),E=al(y,z.positionY,i,w,h,m,v,R,L,s);(o!==f||i!==y)&&e.setTransformState(r,b,E)})}}(e):af(e)}}(t),iQ(aP(t),e,n))},this.onPinchStart=function(e){var n=t.setup.disabled,r=t.props,o=r.onPinchingStart,i=r.onZoomStart;!n&&aL(t,e)&&(aF(t,e),i1(t),iQ(aP(t),e,o),iQ(aP(t),e,i))},this.onPinch=function(e){var n=t.setup.disabled,r=t.props,o=r.onPinching,i=r.onZoom;!n&&aR(t)&&(e.preventDefault(),e.stopPropagation(),aY(t,e),iQ(aP(t),e,o),iQ(aP(t),e,i))},this.onPinchStop=function(e){var n=t.props,r=n.onPinchingStop,o=n.onZoomStop;t.pinchStartScale&&(aX(t),iQ(aP(t),e,r),iQ(aP(t),e,o))},this.onTouchPanningStart=function(e){var n=t.setup.disabled,r=t.props.onPanningStart;if(!n&&at(t,e)){if(t.lastTouch&&+new Date-t.lastTouch<200&&1===e.touches.length)t.onDoubleClick(e);else{t.lastTouch=+new Date,i1(t);var o=e.touches,i=1===o.length,a=2===o.length;i&&(i1(t),ac(t,e),iQ(aP(t),e,r)),a&&t.onPinchStart(e)}}},this.onTouchPanning=function(e){var n=t.setup.disabled,r=t.props.onPanning;if(t.isPanning&&1===e.touches.length){if(n||!an(t))return;e.preventDefault(),e.stopPropagation();var o=e.touches[0];ad(t,o.clientX,o.clientY),iQ(aP(t),e,r)}else e.touches.length>1&&t.onPinch(e)},this.onTouchPanningStop=function(e){t.onPanningStop(e),t.onPinchStop(e)},this.onDoubleClick=function(e){!t.setup.disabled&&aH(t,e)&&function(e,t){var n=e.setup,r=e.doubleClickStopEventTimer,o=e.transformState,i=e.contentComponent,a=o.scale,s=e.props,u=s.onZoomStart,l=s.onZoom,c=n.doubleClick,f=c.disabled,d=c.mode,p=c.step,v=c.animationTime,m=c.animationType;if(!f&&!r){if("reset"===d)return aW(e,t);if(!i)return console.error("No ContentComponent found");var h=ax(e,"zoomOut"===d?-1:1,p);if(a!==h){iQ(aP(e),t,u);var g=a_(t,i,a),y=ap(e,h,g.x,g.y);if(!y)return console.error("Error during zoom event. New transformation state was not calculated.");iQ(aP(e),t,l),i2(e,y,v,m),aU(e,t)}}}(t,e)},this.clearPanning=function(e){t.isPanning&&t.onPanningStop(e)},this.setKeyPressed=function(e){t.pressedKeys[e.key]=!0},this.setKeyUnPressed=function(e){t.pressedKeys[e.key]=!1},this.isPressingKeys=function(e){return!e.length||!!e.find(function(e){return t.pressedKeys[e]})},this.setTransformState=function(e,n,r){var o=t.props.onTransformed;if(Number.isNaN(e)||Number.isNaN(n)||Number.isNaN(r))console.error("Detected NaN set state values");else{e!==t.transformState.scale&&(t.transformState.previousScale=t.transformState.scale,t.transformState.scale=e),t.transformState.positionX=n,t.transformState.positionY=r;var i=aP(t);
14t.onChangeCallbacks.forEach(function(e){return e(i)}),iQ(i,{scale:e,positionX:n,positionY:r},o),t.applyTransformation()}},this.setCenter=function(){if(t.wrapperComponent&&t.contentComponent){var e=ak(t.transformState.scale,t.wrapperComponent,t.contentComponent);t.setTransformState(e.scale,e.positionX,e.positionY)}},this.handleTransformStyles=function(e,n,r){return t.props.customTransform?t.props.customTransform(e,n,r):"translate(".concat(e,"px, ").concat(n,"px) scale(").concat(r,")")},this.applyTransformation=function(){if(t.mounted&&t.contentComponent){var e=t.transformState,n=e.scale,r=e.positionX,o=e.positionY,i=t.handleTransformStyles(r,o,n);t.contentComponent.style.transform=i}},this.getContext=function(){return aP(t)},this.onChange=function(e){return t.onChangeCallbacks.has(e)||t.onChangeCallbacks.add(e),function(){t.onChangeCallbacks.delete(e)}},this.init=function(e,n){t.cleanupWindowEvents(),t.wrapperComponent=e,t.contentComponent=n,i8(t,t.transformState.scale),t.handleInitializeWrapperEvents(e),t.handleInitialize(n),t.initializeWindowEvents(),t.isInitialized=!0,iQ(aP(t),void 0,t.props.onInit)},this.props=e,this.setup=aw(this.props),this.transformState=ab(this.props)},aK=o.createContext(null),aq=o.forwardRef(function(e,t){var n,r,i=(0,o.useState)(0)[1],a=e.children,s=(0,o.useRef)(new aZ(e)).current,u=(n=e.children,r=aP(s),"function"==typeof n?n(r):n),l=(0,o.useCallback)(function(){"function"==typeof a&&i(function(e){return e+1})},[a]);return(0,o.useImperativeHandle)(t,function(){return aP(s)},[s]),(0,o.useEffect)(function(){s.update(e)},[s,e]),(0,o.useEffect)(function(){return s.onChange(l)},[s,e,l]),o.createElement(aK.Provider,{value:s},u)}),a$={wrapper:"transform-component-module_wrapper__7HFJe",content:"transform-component-module_content__uCDPE"};!function(e,t){void 0===t&&(t={});var n=t.insertAt;if(e&&"undefined"!=typeof document){var r=document.head||document.getElementsByTagName("head")[0],o=document.createElement("style");o.type="text/css","top"===n&&r.firstChild?r.insertBefore(o,r.firstChild):r.appendChild(o),o.styleSheet?o.styleSheet.cssText=e:o.appendChild(document.createTextNode(e))}}(".transform-component-module_wrapper__7HFJe {\n position: relative;\n width: -moz-fit-content;\n width: fit-content;\n height: -moz-fit-content;\n height: fit-content;\n overflow: hidden;\n -webkit-touch-callout: none; /* iOS Safari */\n -webkit-user-select: none; /* Safari */\n -khtml-user-select: none; /* Konqueror HTML */\n -moz-user-select: none; /* Firefox */\n -ms-user-select: none; /* Internet Explorer/Edge */\n user-select: none;\n margin: 0;\n padding: 0;\n}\n.transform-component-module_content__uCDPE {\n display: flex;\n flex-wrap: wrap;\n width: -moz-fit-content;\n width: fit-content;\n height: -moz-fit-content;\n height: fit-content;\n margin: 0;\n padding: 0;\n transform-origin: 0% 0%;\n}\n.transform-component-module_content__uCDPE img {\n pointer-events: none;\n}\n");var aG=function(e){var t=e.children,n=e.wrapperClass,r=e.contentClass,i=e.wrapperStyle,a=e.contentStyle,s=e.wrapperProps,u=e.contentProps,l=(0,o.useContext)(aK).init,c=(0,o.useRef)(null),f=(0,o.useRef)(null);return(0,o.useEffect)(function(){var e=c.current,t=f.current;null!==e&&null!==t&&l&&l(e,t)},[]),o.createElement("div",am({},void 0===s?{}:s,{ref:c,className:"react-transform-wrapper ".concat(a$.wrapper," ").concat(void 0===n?"":n),style:i}),o.createElement("div",am({},void 0===u?{}:u,{ref:f,className:"react-transform-component ".concat(a$.content," ").concat(void 0===r?"":r),style:a}),t))};o.forwardRef(function(e,t){var n,r=(0,o.useRef)(null),i=(0,o.useContext)(aK);return(0,o.useEffect)(function(){return i.onChange(function(e){r.current&&(r.current.style.transform=i.handleTransformStyles(0,0,1/e.state.scale))})},[i]),o.createElement("div",am({},e,{ref:(n=[r,t],function(e){n.forEach(function(t){"function"==typeof t?t(e):null!=t&&(t.current=e)})})}))});var aQ=n(5607),aJ=n.n(aQ),a0=n(8102),a1=function(){return(a1=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},a5=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)0>t.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},a2=!1,a3=(0,o.forwardRef)(function(e,t){var n,r,i,a,s,u,l=e.style,c=a5(e,["style"]),f=(s=(a=(0,o.useState)(a4))[0],u=a[1],r=(n=(0,o.useState)(!1))[0],i=n[1],(0,o.useEffect)(function(){a6()&&i(!0)},[]),(0,o.useEffect)(function(){if(r)return window.addEventListener("resize",e),function(){return window.removeEventListener("resize",e)};function e(){u(a4())}},[r]),r?s:null);!a2&&(null==l?void 0:l.height)&&(a2=!0,console.warn("<Div100vh /> overrides the height property of the style prop"));var d=a1(a1({},l),{height:f?f+"px":"100vh"});return o.createElement("div",a1({ref:t,style:d},c))});function a4(){return a6()?window.innerHeight:null}function a6(){return"undefined"!=typeof window&&"undefined"!=typeof document}a3.displayName="Div100vh";var a8=n(8875),a7="keydown",a9="keypress",se="keyup",st={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},sn={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"};function sr(e,t){return Array.isArray(e)?e.includes(t):e===t}function so(e,t){var n=t.keyCode,r=t.keyValue,o=t.code;return!!(null!=r&&sr(r,si(e))||null!=o&&sr(o,e.code)||null!=n&&sr(n,e.keyCode||e.which))}function si(e){var t=e.key,n=e.keyCode,r=e.type;if(t){var o=st[t]||t;if("Unidentified"!==o)return o}if(r===a9){var i=function(e){var t=e.charCode,n=e.keyCode;if("charCode"in e){if(0===t&&13===n)return 13}else t=n;return t>=32||13===t?t:0}(e);return 13===i?"Enter":String.fromCharCode(i)}return r===a7||r===se?sn[String(n)]||"Unidentified":""}var sa=function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")},ss=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),su=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},sl=function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)},sc=function(e,t){if(!e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&("object"==typeof t||"function"==typeof t)?t:e},sf=function(e){function t(e){sa(this,t);var n=sc(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.handleKey=function(e){var t=n.props,r=t.keyValue,o=t.keyCode,i=t.code,a=t.onKeyHandle;if(a){var s=e.target;!(s instanceof window.HTMLElement&&function(e){if(!e)return!1;var t=e.tagName,n="function"==typeof e.getAttribute&&!!e.getAttribute("contenteditable");return"INPUT"===t||"TEXTAREA"===t||n}(s))&&so(e,{keyValue:r,keyCode:o,code:i}
14)&&a(e)}},e.keyCode&&console.warn("Warning: Deprecated propType: `keyCode` is deprecated in favour of `code` for `KeyHandler`."),e.keyValue||e.keyCode||e.code||console.error("Warning: Failed propType: Missing prop `code`, `keyValue` or `keyCode` for `KeyHandler`."),n}return sl(t,e),ss(t,[{key:"shouldComponentUpdate",value:function(){return!1}}]),ss(t,[{key:"componentDidMount",value:function(){a8.canUseDOM&&window.document.addEventListener(this.props.keyEventName,this.handleKey)}},{key:"componentWillUnmount",value:function(){a8.canUseDOM&&window.document.removeEventListener(this.props.keyEventName,this.handleKey)}},{key:"render",value:function(){return null}}]),t}(o.Component);function sd(e){return function(t){var n=t||{},r=n.keyValue,i=n.keyCode,a=n.code,s=n.keyEventName;return function(t){return function(n){function u(){sa(this,u);for(var t,n,r,o=arguments.length,i=Array(o),a=0;a<o;a++)i[a]=arguments[a];return n=r=sc(this,(t=u.__proto__||Object.getPrototypeOf(u)).call.apply(t,[this].concat(i))),r.state={keyCode:null,keyValue:null,code:null},r.handleKey=function(t){if(e&&e(t,r.state)){r.setState({keyValue:null,keyCode:null});return}r.setState({keyValue:si(t),keyCode:t.keyCode})},sc(r,n)}return sl(u,n),ss(u,[{key:"render",value:function(){return o.createElement(o.Fragment,null,o.createElement(sf,{keyValue:r,keyCode:i,code:a,keyEventName:s,onKeyHandle:this.handleKey}),o.createElement(t,su({},this.props,this.state)))}}]),u}(o.Component)}}}sf.propTypes={keyValue:o$().oneOfType([o$().string,o$().arrayOf(o$().string)]),keyCode:o$().oneOfType([o$().number,o$().arrayOf(o$().number)]),code:o$().oneOfType([o$().string,o$().arrayOf(o$().string)]),keyEventName:o$().oneOf([a7,a9,se]),onKeyHandle:o$().func},sf.defaultProps={keyEventName:se},sd(),sd(so);var sp=function(e,t){let n=(0,o.useRef)(e);sm(()=>{n.current=e},[e]),(0,o.useEffect)(()=>{if(!t&&0!==t)return;let e=setInterval(()=>n.current(),t);return()=>clearInterval(e)},[t])};let sv="undefined"!=typeof window?o.useLayoutEffect:o.useEffect;var sm=sv,sh={lightboxjs:"_30i9K",slideshowContainer:"_3kSzL",slideshowBtn:"_tCjNO",closeIcon:"_2IJEr",iconsHeader:"_2Yv4j",prev1:"_1lgEi",next1:"_DDceb",icon:"_2Vept",prevIcon:"_2gxOL",nextIcon:"_3gp2w",mainImg:"_1Z8Jv",show:"_2crlL",displayHidden:"_34QvR",thumbnail:"_1R214",hoverShadow:"_3EuZy",center_content:"_3gzzO",thumbnails:"_3pfLz",thumbnailsWithCaption:"_Fp_rP",imageSlide:"_22ETc",thumbnailsOuterContainer:"_-wN_b",videoThumbnailsOuterContainer:"_KbOLW",imgTitleContainer:"_1j-pZ",thumbnailsAndCaption:"_1nxK_",htmlVideoOuterContainer:"_z-jNd",caption:"_2jJU2",galleryImg:"_lY1R_",slideshowAnimContainer:"_wTR3b",fullScreenContainer:"_11N04",imageInnerContainer:"_20Hp6",magnifyWrapper:"_3PObS",slideshowInnerContainer:"_1JRT_",slideshowInnerVideoContainer:"_1ni2w",slideshowInnerContainerThumbnails:"_GV0NM",lightboxContainer:"_3BNPD",slideshowAnimImg:"_j1nqC",controls:"_ABXHD",ytVideo:"_2eq8V",videoOuterContainer:"_1P3Wc",videoIconsHeader:"_qtY0U",lightbox:"_3cxVN",slidePane:"_1j9QR",imgTitle:"_2pA2G",slideshow_img:"_1yWyS",lightbox_img:"_3A0RO",slideshow_img_fullscreen:"_2yYOi",slideshowInnerContainerFullScreen:"_hWNoE",fullScreenLightboxImg:"_1ek8k","opacity-fade":"_2P48G",imageSliderThumbnails:"_1xBL9",light_icon:"_1kIQ4",dark_icon:"_1qbJe",light_header_icon:"_3DIHj",dark_header_icon:"_11aT5","magnifier-image":"_mdJQi",active:"_3sodH",inactiveThumbnailBorder:"_3bkUp",htmlVideo:"_sqvn-","react-transform-component":"_3Id1-",loader:"_3qqrl",rotation:"_1hUzk",day_loader:"_1itZw",night_loader:"_2TI_i",slideImageAndCaption:"_238y5",roundedBorder:"_2FvXV",maxWidthFull:"_oa5b0",maxWidthWithoutMagnifier:"_z-bHV",lightboxVideo:"_hGbhv","navigation-wrapper":"_1dVqh",dots:"_3MuXE",dot:"_3U2py",arrow:"_35l6Q",leftArrow:"_1I4Zg",rightArrow:"_1lqBv","arrow--disabled":"_37Xda","keen-slider__slide":"_2HBOE",navDotsMargin:"_1LtID",inactiveThumbnailBorderImgSlider:"_2y9OU",ytVideoImgSlider:"_2oAIc",outerYTVideoImgSlider:"_2-c5L","slick-slider":"_2XCYX","slick-slide":"_1P9zv","slick-list":"_Em9gH",imgSliderArrow:"_1Bey-",cursorPointer:"_3xuz3",embla:"_1cifY",embla__viewport:"_1mBUR",embla__container:"_Bqct9",embla__slide:"_1eJNe",embla__slide__img:"_1Vvwe",embla__slide__number:"_1iBR9",lightboxjs_icon:"_1fpgA",pointerEventsAuto:"_3rH7-"},sg=function(e,t,n){var r=t-e;return((n-e)%r+r)%r+e},sy=function(e){return("yt"!=e.type||!0==e.autoPlay||"true"==e.autoPlay)&&!1!=e.autoPlay&&"false"!=e.autoPlay},sb=function(e){return e.videoHeight?e.videoHeight:"200"},sw=function(e){return e.videoWidth?e.videoWidth:"900"},sx={visible:{opacity:1,y:0},hidden:{opacity:0,y:100}},sE={day:{background:"white",iconColor:"black",thumbnailBorder:"solid transparent 2px",textColor:"black"},night:{background:"#151515",iconColor:"#626b77",thumbnailBorder:"solid rgb(107, 133, 206) 2px",textColor:"#626b77"},lightbox:{background:"rgba(12, 12, 12, 0.93)",iconColor:"#626b77",thumbnailBorder:"solid rgb(107, 133, 206) 2px",textColor:"silver"}},sS="solid transparent 2px",sP="night",sO=function(e){var t,n=(0,o.useState)([0,0]),r=n[0],i=r[0],a=r[1],s=n[1],u=(0,o.useState)(!1),l=u[0],c=u[1],f=(0,o.useState)(!1),d=f[0],p=f[1],v=(0,o.useState)([]),m=v[0],h=v[1],g=(0,o.useState)(!!e.magnifyingGlass&&e.magnifyingGlass)[0],y=(0,o.useState)(!!e.disableImageZoom&&e.disableImageZoom),b=y[0],w=y[1],x=(0,o.useState)([]),E=x[0],S=x[1],P=sg(0,m.length,i),O=(0,o.useState)({continuous:!0,startSlide:0,stopPropagation:!0}),C=O[0],T=O[1],k=(0,o.useState)(e.slideshowInterval?e.slideshowInterval:1100)[0],A=(0,o.useState)(e.rightArrowStyle?e.rightArrowStyle:{})[0],_=(0,o.useState)(e.leftArrowStyle?e.leftArrowStyle:{})[0],j=(0,o.useState)(!1),M=j[0],L=j[1],R=(0,o.useState)(!!e.roundedImages&&e.roundedImages),z=R[
140],D=R[1],I=(0,o.useState)(!1),V=I[0],N=I[1],B=(0,o.useState)(!e.showControls||e.showControls),F=B[0],Y=B[1],X=(0,o.useState)(!e.showFullScreenIcon||e.showFullScreenIcon),U=X[0],W=X[1],H=(0,o.useState)(!e.showThumbnailIcon||e.showThumbnailIcon),Z=H[0],K=H[1],q=(0,o.useState)(!e.showSlideshowIcon||e.showSlideshowIcon)[1],$=(0,o.useState)(!e.showMagnificationIcons||e.showMagnificationIcons),G=$[0],Q=$[1],J=(0,o.useState)(e.nextArrow?e.nextArrow:null)[0],ee=(0,o.useState)(e.prevArrow?e.prevArrow:null)[0],et=(0,o.useState)(e.modalClose?e.modalClose:"default")[0],en=(0,o.useState)(!!e.downloadImages&&e.downloadImages)[0],er=(0,o.useState)(!!e.rtl&&e.rtl)[0],eo=(0,o.useState)(e.framework?e.framework:"")[0],ei=(0,o.useState)(!!e.lightboxIdentifier&&e.lightboxIdentifier)[0],ea=(0,o.useState)(!!e.fullScreen&&e.fullScreen)[0];(0,o.useState)(e.licenseKey?e.licenseKey:""),(0,o.useState)(!!e.showLoader&&e.showLoader);var es=(0,o.useState)(!!e.showLoader&&e.showLoader),eu=es[0],el=es[1],ec=(0,o.useState)(!1),ef=ec[0],ed=ec[1],ep=(0,o.useState)(0),ev=ep[0],em=ep[1],eh=(0,o.useState)(!1),eg=eh[0],ey=eh[1],eb=(0,o.useState)(!1),ew=eb[0],ex=eb[1],eE=(0,o.useState)(!1),eS=eE[0],eP=eE[1],eO=(0,o.useState)(0),eC=eO[0],eT=eO[1],ek=(0,o.useRef)(null),eA=(0,o.useState)(0),e_=eA[0],ej=eA[1],eM=(0,o.useState)(500),eL=eM[0],eR=eM[1],ez=(0,o.useState)(426),eD=ez[0],eI=ez[1],eV=(0,o.useState)(!1),eN=eV[0],eB=eV[1];(0,o.useRef)(null),(0,o.useState)(null),(0,o.useState)([]);var eF=(0,o.useRef)([]),eY=(0,o.useRef)({}),eX=(0,o.useState)(e.backgroundColor?e.backgroundColor:sE[sP].background),eU=eX[0],eW=eX[1],eH=(0,o.useState)(e.iconColor?e.iconColor:null)[0],eZ=(0,o.useState)(e.textColor?e.textColor:sE[sP].textColor),eK=eZ[0],eq=eZ[1],e$=(0,o.useState)(!!e.useCoverMode&&e.useCoverMode)[0],eG=(0,o.useState)(e.thumbnailBorder?function(){if(e.thumbnailBorder)return"solid "+e.thumbnailBorder+" 2px"}():sE[sP].thumbnailBorder)[0],eQ=(0,o.useState)(!!e.showThumbnails&&e.showThumbnails),eJ=eQ[0],e0=eQ[1],e1=(0,o.useState)(!e.animateThumbnails||e.animateThumbnails)[0],e5=(0,o.useState)(e.imgAnimation?e.imgAnimation:"imgDrag")[1],e2=(0,o.useState)(e.arrowStyle?e.arrowStyle:"dark")[0],e3=function(e,t){e5("fade")},e4=function(e,t){1==e.state.scale?(e5("imgDrag"),L(!1)):L(!0)},e6=function(){return!!e.images&&!!e.images[P].caption};function e8(){em(window.innerWidth)}var e7=function(){var e={};return z&&(e.borderRadius="20px"),"clickOutside"==et&&(e.pointerEvents="auto"),e},e9=function(e){ta(e),tS(),tP(),tl(e)},te=function(e){for(var t=Array.from(document.getElementsByClassName("imageModal")),n=0;n<t.length;n++)if(t[n].contains(e.target))return;td()},tt=function(e,t){return 0==t?e-1:t==e-1?0:e-t-1},tn=function(){tX(document.getElementById("slideshowAnim")),ey(!0),tz()},tr=function(){document.webkitIsFullScreen||document.mozFullScreen||document.msFullscreenElement?ey(!0):(eg&&tU(document),tD(),ey(!1))},to=function(){tU(document),tD(),ey(!1)},ti=function(e){er?t.prev():t.next(),s([i+e,e]),er?(eT(eC-1),ej(e_-1<0?m.length-1:e_-1)):(ej(e_+1>=m.length?0:e_+1),eT(eC+1))},ta=function(t){e.showLoader&&e.images&&(tA(t)||!0==m[t].loaded?e.showLoader&&e.images&&m[t].loaded&&el(!1):el(!0))},ts=function(){return"dark"==e2?sh.dark_icon:"light"==e2?sh.light_icon:void 0},tu=function(){return"dark"==e2?sh.dark_header_icon:"light"==e2?sh.light_header_icon:void 0},tl=function(e){ej(e),s([e,e>i?1:-1]),t.slide(e,500)},tc=function(){e.onOpen&&e.onOpen()},tf=function(){e.onClose&&e.onClose()},td=function(){ej(0),eg&&to(),d&&p(!1),c(!1),N(!1)},tp=function(e){s([e,1]),c(!0),N(!0)},tv=function(t){e.images&&(m[t].loaded=!0,h(m))},tm=function(e){var t=m;t[e].loaded=!0,h(t)},th=function(){ta((i+1)%m.length),tS(),tP(),t.next(),eT(eC+1),s([i+1,1]),ej(e_+1>=m.length?0:e_+1)},tg=function(){ta((i-1)%m.length),tS(),tP(),t.prev(),eT(eC-1),ej(e_-1<0?m.length-1:e_-1),s([i-1,1])},ty=function(){ef&&eY.current[P]&&eY.current[P].pause(),ed(!1)},tb=function(e){var t=C;t.startSlide=e,T(t),ej(e),tp(e)},tw=function(){e.images.length>0?e.images[P].original?(0,a0.saveAs)(e.images[P].original,"image.jpg"):(0,a0.saveAs)(e.images[P].src,"image.jpg"):m[P].src&&(0,a0.saveAs)(m[P].src,"image.jpeg")},tx=function(){ex(!1),er?ti(-1):ti(1),p(!0)},tE=function(){p(!1)},tS=function(){if(ef&&ty(),e.images&&"yt"==e.images[P].type){var t=e.images[P];eY.current[P].src="https://www.youtube.com/embed/"+t.videoID+"?"+(sy(t)?"auto
14play=1":"")}},tP=function(){ew?tL():null!=eF.current[e_]&&eF.current[e_].resetTransform()},tO=function(e,t){if(tA(t))return e.thumbnail;var n=e.src;return"object"!=typeof n||Array.isArray(n)||null===n?n:n.src},tC=function(){e.theme&&sE[e.theme]&&(eW(sE[e.theme].background),eq(sE[e.theme].textColor)),e.fullScreen&&!0==e.fullScreen&&(e5("fade"),D(!1))},tT=function(t){var n,r,i;return e.images?e.images&&e.render?n=e.render.imgSlide(e.images[t]):(e.images&&("object"!=typeof m[t].src||Array.isArray(m[t].src)||null===m[t].src?(e.coverImageInLightbox,r=m[t].src):r=null===(i=m[t].src)||void 0===i?void 0:i.src),n=(0,o.createElement)("img",{className:(e.fullScreen?sh.fullScreenLightboxImg:sh.lightbox_img)+" \n "+(ew?" maxWidthFull":" maxWidthWithoutMagnifier")+" imageModal",ref:ek,loading:"lazy",style:e7(),src:m[t].original?m[t].original:r,onLoad:function(){t==P&&el(!1),e.images?tv(t):tm(t)},id:"img"})):n=(0,o.createElement)("img",{className:(e.fullScreen?sh.fullScreenLightboxImg:sh.lightbox_img)+" \n "+(ew?" maxWidthFull":" maxWidthWithoutMagnifier")+" imageModal",style:e7(),ref:ek,loading:"lazy",src:m[t].original?m[t].original:m[t].src,onLoad:function(){t==P&&el(!1),e.images?tv(t):tm(t)},id:"img"}),n},tk=function(t){if(tA(t))return tj(t);if(t_(t)){var n=e.images[t].picture;return(0,o.createElement)("picture",{className:"imageModal \n "+(e.fullScreen?sh.fullScreenLightboxImg:sh.lightbox_img)+" \n "+(ew?sh.maxWidthFull:sh.maxWidthWithoutMagnifier)+" "},Object.keys(n).map(function(e){return(0,o.createElement)("source",{type:e,key:e,srcSet:n[e].srcSet})}),(0,o.createElement)("img",{src:n.fallback}))}return m&&e.render||"next"==eo?tT(t):(0,o.createElement)("img",{className:"imageModal \n "+(e.fullScreen?sh.fullScreenLightboxImg:sh.lightbox_img)+" \n "+(ew?sh.maxWidthFull:sh.maxWidthWithoutMagnifier)+" ",ref:ek,loading:"lazy",style:e7(),src:m&&m[t].original?m[t].original:m[t].src,onLoad:function(){t==P&&el(!1),e.images?tv(t):tm(t)},id:"img"})},tA=function(t){if(e.images){var n=e.images[t];if(n&&("yt"==n.type||"htmlVideo"==n.type))return!0}return!1},t_=function(t){if(e.images){var n=e.images[t];if(n&&n.picture)return!0}return!1},tj=function(t){var n,r=e.images[t];return"yt"==r.type?n=(0,o.createElement)("div",{className:sh.videoOuterContainer+" imageModal"},(0,o.createElement)("iframe",{className:""+sh.ytVideo,width:sw(r),height:sb(r),ref:function(e){return eY.current[t]=e},src:"https://www.youtube.com/embed/"+r.videoID+"?"+(sy(r)?"autoplay=1":""),title:"YouTube video player",frameBorder:"0",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share",allowFullScreen:!0,onLoad:function(){t==P&&el(!1),tv(t)}})):"htmlVideo"==r.type&&(n=(0,o.createElement)("div",{className:sh.htmlVideo+" "+sh.htmlVideoOuterContainer+" imageModal"},(0,o.createElement)("video",{className:sh.cursorPointer+" "+sh.lightboxVideo,width:sw(r),ref:function(e){return eY.current[t]=e},onPlay:function(){ed(!0)},height:sb(r),autoPlay:t==i&&sy(r),controls:!0},(0,o.createElement)("source",{src:r.videoSrc,type:"video/mp4",onLoad:function(){tv(t)}})))),n},tM=Array.apply(null,Array(m.length)).map(function(t,n){return(0,o.createElement)("div",{key:n},!0==ew?(0,o.createElement)(iX,{src:m[n].src,className:sh.magnifyWrapper+" "+sh.lightbox_img,height:eL,width:eD,mgShowOverflow:!1}):(0,o.createElement)("div",{className:""+sh.slidePane},(0,o.createElement)(aq,{ref:function(e){return eF.current[n]=e},onWheel:e3,disabled:b,key:n,onZoom:e4,centerZoomedOut:!0,initialScale:1},(0,o.createElement)(aG,{wrapperStyle:{width:"100vw",height:"100vh",margin:"auto"},contentStyle:e.fullScreen?{width:"100vw",height:"100vh",marginLeft:"auto",marginRight:"auto"}:{width:"100vw",height:"100vh",margin:"auto",display:"grid"},key:n},(0,o.createElement)("div",{className:(e.fullScreen?sh.slideshow_img_fullscreen:sh.slideshow_img)+" "+(e.lightboxImgClass?e.lightboxImgClass:"")},tk(n))))))}),tL=function(){ew?e5("imgDrag"):tR(),ex(!ew)},tR=function(){var e,t=(e=0==i||i%m.length==0?document.getElementById("img"):ek.current).naturalWi
14dth/e.naturalHeight,n=e.height*t,r=e.height;n>e.width&&(n=e.width,r=e.width/t),eR(r),eI(n)},tz=function(){document.addEventListener("fullscreenchange",tr),document.addEventListener("webkitfullscreenchange",tr),document.addEventListener("MSFullscreenChange",tr),document.addEventListener("mozfullscreenchange",tr)},tD=function(){document.removeEventListener("fullscreenchange",tr),document.removeEventListener("webkitfullscreenchange",tr),document.removeEventListener("MSFullscreenChange",tr),document.removeEventListener("mozfullscreenchange",tr)},tI=function(){tW()&&window.addEventListener("resize",e8)},tV=function(){tW()&&window.removeEventListener("resize",e8)},tN=function(e){e.matches&&e5("fade")},tB=function(){var e="";return tW()&&((e=window.matchMedia("(prefers-reduced-motion: reduce)"))&&!e.matches||e5("fade"),e.addEventListener("change",tN(e))),e},tF=function(){void 0!=e.showFullScreenIcon&&W(e.showFullScreenIcon),void 0!=e.showThumbnailIcon&&K(e.showThumbnailIcon),void 0!=e.showSlideshowIcon&&q(e.showSlideshowIcon),void 0!=e.showMagnificationIcons&&Q(e.showMagnificationIcons)},tY=function(){void 0!=e.showControls&&Y(e.showControls),tF(),e.disableImageZoom&&w(e.disableImageZoom),tW()&&em(window.innerWidth),window.innerWidth<=768&&e5("fade")};sp(function(){er?ti(-1):ti(1)},d?k:null);var tX=function(e){e.requestFullscreen?e.requestFullscreen():e.webkitRequestFullscreen?e.webkitRequestFullscreen():e.msRequestFullscreen&&e.msRequestFullscreen()},tU=function(e){e.exitFullscreen?e.exitFullscreen():e.webkitExitFullscreen?e.webkitExitFullscreen():e.msExitFullscreen&&e.msExitFullscreen()},tW=function(){return"undefined"!=typeof window},tH=function(){var t=e.images;t.reverse(),h(t),m.length>0&&(m.reverse(),h(m))},tZ=function(t,n){if(e$&&e.images&&(!1==e.coverImageInLightbox?h(e.images.filter(function(e){return!0!=e.cover})):h(e.images)),n||!eN){if(ei&&e.children){var r=document.querySelectorAll("[data-lightboxjs="+ei+"]"),o=[];if(r.length>0){for(var i=function(n){var i=r[n];if(i.getAttribute("data-lightboxjs")==ei){if(i.addEventListener("click",function(){e=er?tt(r.length,n):n;var e,o=C;o.startSlide=e,t&&T(o),ej(e),tp(e)},!1),i.classList.add("cursor-pointer"),i.src)o.push({src:i.src,alt:i.alt,loaded:"false"});else if("DIV"==i.tagName){var a=e.images[n],s=a.src,u=a.alt;o.push({src:s,alt:u,loaded:"false"})}}},a=0;a<=r.length-1;a++)i(a);t&&!e$&&(!0!=e.showAllImages&&"next"!=e.framework?h(o):(e.framework,h(e.images)))}else e.images&&h(e.images)}else if(ei&&e.images&&!e.children)h(e.images);else if(ei||!e.images||e.children){if(e.render)t&&h(e.images);else{var s=[];Array.isArray(e.children)?s=e.children:s.push(e.children);for(var u=[],l=0;l<s.length;l++){var c=s[l],f={src:c.props.src,alt:c.props.alt,loaded:"false"};u.push(f)}er&&u.reverse(),t&&h(u),S(s)}}else h(e.images);t&&eB(!0)}};return(0,o.useEffect)(function(){tZ(!0,!0)},[e.images,e.displayedImages]),(0,o.useEffect)(function(){var t=0;e.open?(e.startingSlideIndex&&(t=e.startingSlideIndex<m.length&&e.startingSlideIndex>=0?e.startingSlideIndex:0),tb(t)):!1==e.open&&td()},[e.open]),(0,o.useEffect)(function(){!0==V?tc():tf()},[V]),(0,o.useEffect)(function(){e.render&&!e.images&&console.error("Array of images must be passed to `SlideshowLightbox` (with the `images` prop) if using custom render method. ");var t=!0;tY(),e$&&e.images&&(!1==e.coverImageInLightbox?h(e.images.filter(function(e){return!0!=e.cover})):h(e.images)),t&&tI();var n=tB();return!eN&&(tZ(t,!1),e.images&&!0==er&&tH()),t&&tC(),function(){t=!1,tV(),n.removeEventListener("change",n)}},[]),(0,o.createElement)("div",null,(0,o.createElement)("div",{className:""+(e.className?e.className+" "+sh.lightboxjs:sh.lightboxjs)},e.images&&e.children&&!1==ei?e.children:null,e.images&&!1==ei?e.images.map(function(t,n){return(0,o.createElement)("img",{className:""+sh.cursorPointer,src:t.src,onClick:function(){tb(er?tt(e.images.length,n):n)},key:n})}):null,!1!=ei&&e.children&&!1==e$?e.children:null,!1==ei&&e.images||!0==e$?null:E.filter(function(e){return"img"==e.type}).map(function(e,t){return(0,o.createElement)("img",Object.assign({},e.props,{className:(e.props.className?e.props.className:"")+" "+sh.cursorPointer,onClick:function(){tb(er?tt(E.length,t):t)},key:t}))}),!!e$&&e.children,(0,o.createElement)(n0,{type:"crossfade"},(0,o.createElement)(n9,{initial:!1},!1!==l&&(0,o.createElement)(i$,null,(0,o.createElement)(a3,null,(0,o.createElement)(oK.div,{className:""+sh.slideshowAnimContainer,key:"slideshowAnimContainer",id:"slideshowAnim",style:{backgroundColor:eU},initial:{opacity:0,scale:.98},exit:{opacity:0,scale:.98}
14,animate:{opacity:1,scale:1},transition:{duration:.2}},(0,o.createElement)("div",{className:""+sh.lightboxContainer,onClick:function(e){"clickOutside"==et&&te(e)}},(0,o.createElement)("section",{className:sh.iconsHeader+" "+(eH?"":tu())+" imageModal",style:{color:eH}},(0,o.createElement)(sf,{keyValue:"ArrowLeft",code:"37",onKeyHandle:function(){tg()}}),(0,o.createElement)(sf,{keyValue:"ArrowRight",code:"39",onKeyHandle:function(){th()}}),(0,o.createElement)(sf,{keyValue:"Escape",code:"27",onKeyHandle:function(){eg||td()}}),(0,o.createElement)(sf,{keyValue:"Left",code:"37",onKeyHandle:function(){tg()}}),(0,o.createElement)(sf,{keyValue:"Right",code:"39",onKeyHandle:function(){th()}}),(0,o.createElement)(sf,{keyValue:"Esc",code:"27",onKeyHandle:function(){eg||td()}}),F&&(0,o.createElement)("div",{className:""+sh.controls},b||!1==G?null:(0,o.createElement)(oK.div,null,(0,o.createElement)(oJ,{size:24,color:eH||void 0,className:sh.lightboxjs_icon+" "+(eH?"":tu()),style:eH?{color:eH}:{},onClick:function(){ew&&tL(),null!=eF.current[e_]&&eF.current[e_].zoomIn()}})),b||!1==G?null:(0,o.createElement)(oK.div,null,(0,o.createElement)(o5,{size:24,className:sh.lightboxjs_icon+" "+(eH?"":tu()),style:eH?{color:eH}:{},color:eH||void 0,onClick:function(){eF.current[e_].zoomOut()}})),!tA(P)&&en?(0,o.createElement)(o4,{size:24,className:sh.lightboxjs_icon+" "+(eH?"":tu()),style:eH?{color:eH}:{},color:eH||void 0,onClick:function(){tw()}}):null,U?eg?(0,o.createElement)(oK.div,null,(0,o.createElement)(o7,{size:24,className:sh.lightboxjs_icon+" "+(eH?"":tu()),style:eH?{color:eH}:{},color:eH||void 0,onClick:function(){eg?to():tn()}})):(0,o.createElement)(oK.div,null,(0,o.createElement)(it,{size:24,className:sh.lightboxjs_icon+" "+(eH?"":tu()),style:eH?{color:eH}:{},color:eH||void 0,onClick:function(){eg?to():tn()}})):null,Z?(0,o.createElement)(oK.div,null,(0,o.createElement)(ii,{size:24,className:sh.lightboxjs_icon+" "+(eH?"":tu()),style:eH?{color:eH}:{},color:eH||void 0,onClick:function(){e0(!eJ)}})):null,tA(P)||!0==ev<=768||!0==ea||!0!=g?null:(0,o.createElement)(oK.div,null,(0,o.createElement)(iu,{size:24,className:sh.lightboxjs_icon+" "+(eH?"":tu()),style:eH?{color:eH}:{},color:eH||void 0,onClick:function(){return tL()}})),!function(){if(m){if(1==m.length)return!1}else if(e.images&&1==e.images.length)return!1;return!0}()?null:(0,o.createElement)(oK.div,{className:sh.slideshowPlayBtn},d?(0,o.createElement)(id,{size:24,className:sh.lightboxjs_icon+" "+(eH?"":tu()),style:eH?{color:eH}:{},color:eH||void 0,onClick:function(){d?tE():tx()}}):(0,o.createElement)(im,{size:24,className:sh.lightboxjs_icon+" "+(eH?"":tu()),style:eH?{color:eH}:{},color:eH||void 0,onClick:function(){d?tE():tx()}}))),(0,o.createElement)(oK.div,{className:sh.closeIcon},(0,o.createElement)(iy,{size:24,className:sh.lightboxjs_icon+" "+(eH?"":tu()),color:eH||void 0,style:eH?{color:eH}:{},onClick:function(){td()}}))),!1==e.showArrows||1==m.length||e.images&&1==e.images.length?null:(0,o.createElement)("div",null,(0,o.createElement)("div",{className:A?sh.next1+" "+ts()+" imageModal":"imageModal",style:A,onClick:function(){th()}},J||(0,o.createElement)("span",{className:""+(e.rightArrowClassname?e.rightArrowClassname:"")},"â¯")),(0,o.createElement)("div",{className:_?sh.prev1+" "+ts()+" imageModal":"imageModal",style:_,onClick:function(){tg()}},ee||(0,o.createElement)("span",{className:""+(e.leftArrowClassname?e.leftArrowClassname:"")},"â®"))),(0,o.createElement)(n9,{initial:!1,custom:a},(0,o.createElement)(aJ(),{className:(eJ?sh.slideshowInnerContainerThumbnails:"")+" "+(e6()?sh.slideImageAndCaption:"")+" \n "+(e.fullScreen?sh.slideshowInnerContainerFullScreen:sh.slideshowInnerContainer)+" ",swipeOptions:C,ref:function(e){return t=e},childCount:m.length},tM),!0!=eu||e.images&&e.images&&"htmlVideo"==e.images[P].type?null:(0,o.createElement)("span",{key:"loader",className:sh.loader+" "+function(){if(e.theme){if("night"==e.theme||"lightbox"==e.theme);else if("day"==e.theme)return sh.day_loader}return sh.night_loader}()})),(0,o.createElement)("div",{className:sh.thumbnailsOuterContainer+" "+(e6()?sh.thumbnailsAndCaption:""),style:e6()?{backgroundColor:eU}:{}},e6()&&!M?(0,o.createElement)("div",{className:sh.imgTitleContainer+" imageModal"},(0,o.createElement)("p",{className:""+sh.imgTitle,key:"imgCaption"+P,style:e.captionStyle?e.captionStyle:{color:eK}},e.images?e.images[P].caption:"")):null,(0,o.createElement)(n9,{initial:e1},!1!==eJ&&(0,o.createElement)(oK.div,{initial:"hidden",exit:"hidden",animate:"visible",style:eS?{}:{display:"displayHidden"},transition:{type:"spring",duration:.75},variants:sx,className:sh.thumbnails+" "+(e6()?sh.thumbnailsWithCaption:"")},(0,o.createElement)(iD,{className:"scroll-container",vertical:!0,horizontal:!1,hideScrollbars:!1},"next"==eo&&e.images?e.images.map(function(e,t){return(0,o.createElement)("img",{className:sh.thumbnail+" imageModal",src:tO(e,t),style:P===t?{border:eG}:{border:sS},key:t,onClick:function(){e9(t)},alt:e.alt,onLoad:function(){return eP(!0)}})}):m.map(function(e,t){return(0,o.createElement)("img",{src:tA(t)&&e.thumbnail?e.thumbnail:e.src,style:P===t?{border:eG}:{border:sS},className:sh.thumbnail+" imageModal",key:t,onClick:function(){e9(t)},alt:e.alt,onLoad:function(){return eP(!0)}})})))))))))))))},sC=function(e,t){r.Z.post("https://lightboxjs-server.herokuapp.com/license",{license_key:e,plan_type:t}).then(function(e){e.data.license_valid||console.warn("Lightbox.js: Invalid license key specified, a valid license key must be provided.")}).catch(function(e){console.log(e)})}},9886:function(e,t,n){e=n.nmd(e);var r,o,i,a="__lodash_hash_undefined__",s="[object Arguments]",u="[object Array]",l="[object Boolean]",c="[object Date]",f="[object Error]",d="[object Function]",p="[object Map]",v="[object Number]",m="[object Object]",h="[object Promise]",g="[object RegExp]",y="[object Set]",b="[object String]",w="[object WeakMap]",x="[object ArrayBuffer]",E="[object DataView]",S=/^\[object .+?Constructor\]$/,P=/^(?:0|[1-9]\d*)$/,O={};
14O["[object Float32Array]"]=O["[object Float64Array]"]=O["[object Int8Array]"]=O["[object Int16Array]"]=O["[object Int32Array]"]=O["[object Uint8Array]"]=O["[object Uint8ClampedArray]"]=O["[object Uint16Array]"]=O["[object Uint32Array]"]=!0,O[s]=O[u]=O[x]=O[l]=O[E]=O[c]=O[f]=O[d]=O[p]=O[v]=O[m]=O[g]=O[y]=O[b]=O[w]=!1;var C="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,T="object"==typeof self&&self&&self.Object===Object&&self,k=C||T||Function("return this")(),A=t&&!t.nodeType&&t,_=A&&e&&!e.nodeType&&e,j=_&&_.exports===A,M=j&&C.process,L=function(){try{return M&&M.binding&&M.binding("util")}catch(e){}}(),R=L&&L.isTypedArray;function z(e){var t=-1,n=Array(e.size);return e.forEach(function(e,r){n[++t]=[r,e]}),n}function D(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++t]=e}),n}var I=Array.prototype,V=Function.prototype,N=Object.prototype,B=k["__core-js_shared__"],F=V.toString,Y=N.hasOwnProperty,X=(r=/[^.]+$/.exec(B&&B.keys&&B.keys.IE_PROTO||""))?"Symbol(src)_1."+r:"",U=N.toString,W=RegExp("^"+F.call(Y).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),H=j?k.Buffer:void 0,Z=k.Symbol,K=k.Uint8Array,q=N.propertyIsEnumerable,$=I.splice,G=Z?Z.toStringTag:void 0,Q=Object.getOwnPropertySymbols,J=H?H.isBuffer:void 0,ee=(o=Object.keys,i=Object,function(e){return o(i(e))}),et=eO(k,"DataView"),en=eO(k,"Map"),er=eO(k,"Promise"),eo=eO(k,"Set"),ei=eO(k,"WeakMap"),ea=eO(Object,"create"),es=ek(et),eu=ek(en),el=ek(er),ec=ek(eo),ef=ek(ei),ed=Z?Z.prototype:void 0,ep=ed?ed.valueOf:void 0;function ev(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function em(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function eh(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function eg(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new eh;++t<n;)this.add(e[t])}function ey(e){var t=this.__data__=new em(e);this.size=t.size}function eb(e,t){for(var n=e.length;n--;)if(eA(e[n][0],t))return n;return -1}function ew(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":G&&G in Object(e)?function(e){var t=Y.call(e,G),n=e[G];try{e[G]=void 0;var r=!0}catch(e){}var o=U.call(e);return r&&(t?e[G]=n:delete e[G]),o}(e):U.call(e)}function ex(e){return eD(e)&&ew(e)==s}function eE(e,t,n,r,o,i){var a=1&n,s=e.length,u=t.length;if(s!=u&&!(a&&u>s))return!1;var l=i.get(e);if(l&&i.get(t))return l==t;var c=-1,f=!0,d=2&n?new eg:void 0;for(i.set(e,t),i.set(t,e);++c<s;){var p=e[c],v=t[c];if(r)var m=a?r(v,p,c,t,e,i):r(p,v,c,e,t,i);if(void 0!==m){if(m)continue;f=!1;break}if(d){if(!function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}(t,function(e,t){if(!d.has(t)&&(p===e||o(p,e,n,r,i)))return d.push(t)})){f=!1;break}}else if(!(p===v||o(p,v,n,r,i))){f=!1;break}}return i.delete(e),i.delete(t),f}function eS(e){var t;return t=function(e){return null!=e&&eR(e.length)&&!eL(e)?function(e,t){var n,r,o=ej(e),i=!o&&e_(e),a=!o&&!i&&eM(e),s=!o&&!i&&!a&&eI(e),u=o||i||a||s,l=u?function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}(e.length,String):[],c=l.length;for(var f in e)Y.call(e,f)&&!(u&&("length"==f||a&&("offset"==f||"parent"==f)||s&&("buffer"==f||"byteLength"==f||"byteOffset"==f)||(n=f,(r=null==(r=c)?9007199254740991:r)&&("number"==typeof n||P.test(n))&&n>-1&&n%1==0&&n<r)))&&l.push(f);return l}(e):function(e){if(n="function"==typeof(t=e&&e.constructor)&&t.prototype||N,e!==n)return ee(e);var t,n,r=[];for(var o in Object(e))Y.call(e,o)&&"constructor"!=o&&r.push(o);return r}(e)}(e),ej(e)?t:function(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e}(t,eC(e))}function eP(e,t){var n,r=e.__data__;return("string"==(n=typeof t)||"number"==n||"symbol"==n||"boolean"==n?"__proto__"!==t:null===t)?r["string"==typeof t?"string":"hash"]:r.map}function eO(e,t){var n=null==e?void 0:e[t];return!(!ez(n)||X&&X in n)&&(eL(n)?W:S).test(ek(n))?n:void 0}ev.prototype.clear=function(){this.__data__=ea?ea(null):{},this.size=0},ev.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},ev.prototype.get=function(e){var t=this.__data__;if(ea){var n=t[e];return n===a?void 0:n}return Y.call(t,e)?t[e]:void 0},ev.prototype.has=function(e){var t=this.__data__;return ea?void 0!==t[e]:Y.call(t,e)},ev.prototype.set=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=ea&&void 0===t?a:t,this},em.prototype.clear=function(){this.__data__=[],this.size=0},em.prototype.delete=function(e){var t=this.__data__,n=eb(t,e);return!(n<0)&&(n==t.length-1?t.pop():$.call(t,n,1),--this.size,!0)},em.prototype.get=function(e){var t=this.__data__,n=eb(t,e);return n<0?void 0:t[n][1]},em.prototype.has=function(e){return eb(this.__data__,e)>-1},em.prototype.set=function(e,t){var n=this.__data__,r=eb(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this},eh.prototype.clear=function(){this.size=0,this.__data__={hash:new ev,map:new(en||em),string:new ev}},eh.prototype.delete=function(e){var t=eP(this,e).delete(e);return this.size-=t?1:0,t},eh.prototype.get=function(e){return eP(this,e).get(e)},eh.prototype.has=function(e){return eP(this,e).has(e)},eh.prototype.set=function(e,t){var n=eP(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this},eg.prototype.add=eg.prototype.push=function(e){return this.__data__.set(e,a),this},eg.prototype.has=function(e){return this.__data__.has(e)},ey.prototype.clear=function(){this.__data__=new em,this.size=0},ey.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},ey.prototype.get=function(e){return this.__data__.get(e)},ey.prototype.has=function(e){return this.__data__.has(e)},ey.prototype.set=function(e,t){var n=this.__data__;if(n instanceof em){var r=n.__data__;if(!en||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new eh(r)}return n.set(e,t),this.size=n.size,this};var eC=Q?function(e){return null==e?[]:function(e,t){for(var n=-1,r=null==e?0:e.length,o=0,i=[];++n<r;){var a=e[n];t(a,n,e)&&(i[o++]=a)}return i}(Q(e=Object(e)),function(t){return q.call(e,t)})}:function(){return[]},eT=ew;function ek(e){if(null!=e){try{return F.call(e)}catch(e){}try{return e+""}catch(e){}}return""}function eA(e,t){return e===t||e!=e&&t!=t}(et&&eT(new et(new ArrayBuffer(1)))!=E||en&&eT(new en)!=p||er&&eT(er.resolve())!=h||eo&&eT(new eo)!=y||ei&&eT(new ei)!=w)&&(eT=function(e){var t=ew(e),n=t==m?e.constructor:void 0,r=n?ek(n):"";if(r)switch(r){case es:return E;case eu:return p;case el:return h;case ec:return y;case ef:return w}return t});var e_=ex(function(){return arguments}())?ex:function(e){return eD(e)&&Y.call(e,"callee")&&!q.call(e,"callee")},ej=Array.isArray,eM=J||function(){return!1};function eL(e){if(!ez(e))return!1;var t=ew(e);return t==d||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}function eR(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}function ez(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function eD(e){return null!=e&&"object"==typeof e}var eI=R?function(e){return R(e)}:function(e){return eD(e)&&eR(e.length)&&!!O[ew(e)]};e.exports=function(e,t){return function e(t,n,r,o,i){return t===n||(null!=t&&null!=n&&(eD(t)||eD(n))?function(e,t,n,r,o,i){var a=ej(e),d=ej(t),h=a?u:eT(e),w=d?u:eT(t);h=h==s?m:h,w=w==s?m:w;var S=h==m,P=w==m,O=h==w;if(O&&eM(e)){if(!eM(t))return!1;a=!0,S=!1}
14if(O&&!S)return i||(i=new ey),a||eI(e)?eE(e,t,n,r,o,i):function(e,t,n,r,o,i,a){switch(n){case E:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)break;e=e.buffer,t=t.buffer;case x:if(e.byteLength!=t.byteLength||!i(new K(e),new K(t)))break;return!0;case l:case c:case v:return eA(+e,+t);case f:return e.name==t.name&&e.message==t.message;case g:case b:return e==t+"";case p:var s=z;case y:var u=1&r;if(s||(s=D),e.size!=t.size&&!u)break;var d=a.get(e);if(d)return d==t;r|=2,a.set(e,t);var m=eE(s(e),s(t),r,o,i,a);return a.delete(e),m;case"[object Symbol]":if(ep)return ep.call(e)==ep.call(t)}return!1}(e,t,h,n,r,o,i);if(!(1&n)){var C=S&&Y.call(e,"__wrapped__"),T=P&&Y.call(t,"__wrapped__");if(C||T){var k=C?e.value():e,A=T?t.value():t;return i||(i=new ey),o(k,A,n,r,i)}}return!!O&&(i||(i=new ey),function(e,t,n,r,o,i){var a=1&n,s=eS(e),u=s.length;if(u!=eS(t).length&&!a)return!1;for(var l=u;l--;){var c=s[l];if(!(a?c in t:Y.call(t,c)))return!1}var f=i.get(e);if(f&&i.get(t))return f==t;var d=!0;i.set(e,t),i.set(t,e);for(var p=a;++l<u;){var v=e[c=s[l]],m=t[c];if(r)var h=a?r(m,v,c,t,e,i):r(v,m,c,e,t,i);if(!(void 0===h?v===m||o(v,m,n,r,i):h)){d=!1;break}p||(p="constructor"==c)}if(d&&!p){var g=e.constructor,y=t.constructor;g!=y&&"constructor"in e&&"constructor"in t&&!("function"==typeof g&&g instanceof g&&"function"==typeof y&&y instanceof y)&&(d=!1)}return i.delete(e),i.delete(t),d}(e,t,n,r,o,i))}(t,n,r,o,e,i):t!=t&&n!=n)}(e,t)}},3096:function(e,t,n){var r="Expected a function",o=0/0,i=/^\s+|\s+$/g,a=/^[-+]0x[0-9a-f]+$/i,s=/^0b[01]+$/i,u=/^0o[0-7]+$/i,l=parseInt,c="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,f="object"==typeof self&&self&&self.Object===Object&&self,d=c||f||Function("return this")(),p=Object.prototype.toString,v=Math.max,m=Math.min,h=function(){return d.Date.now()};function g(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function y(e){if("number"==typeof e)return e;if("symbol"==typeof(t=e)||t&&"object"==typeof t&&"[object Symbol]"==p.call(t))return o;if(g(e)){var t,n="function"==typeof e.valueOf?e.valueOf():e;e=g(n)?n+"":n}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(i,"");var r=s.test(e);return r||u.test(e)?l(e.slice(2),r?2:8):a.test(e)?o:+e}e.exports=function(e,t,n){var o=!0,i=!0;if("function"!=typeof e)throw TypeError(r);return g(n)&&(o="leading"in n?!!n.leading:o,i="trailing"in n?!!n.trailing:i),function(e,t,n){var o,i,a,s,u,l,c=0,f=!1,d=!1,p=!0;if("function"!=typeof e)throw TypeError(r);function b(t){var n=o,r=i;return o=i=void 0,c=t,s=e.apply(r,n)}function w(e){var n=e-l,r=e-c;return void 0===l||n>=t||n<0||d&&r>=a}function x(){var e,n,r,o=h();if(w(o))return E(o);u=setTimeout(x,(e=o-l,n=o-c,r=t-e,d?m(r,a-n):r))}function E(e){return(u=void 0,p&&o)?b(e):(o=i=void 0,s)}function S(){var e,n=h(),r=w(n);if(o=arguments,i=this,l=n,r){if(void 0===u)return c=e=l,u=setTimeout(x,t),f?b(e):s;if(d)return u=setTimeout(x,t),b(l)}return void 0===u&&(u=setTimeout(x,t)),s}return t=y(t)||0,g(n)&&(f=!!n.leading,a=(d="maxWait"in n)?v(y(n.maxWait)||0,t):a,p="trailing"in n?!!n.trailing:p),S.cancel=function(){void 0!==u&&clearTimeout(u),c=0,o=l=i=u=void 0},S.flush=function(){return void 0===u?s:E(h())},S}(e,t,{leading:o,maxWait:t,trailing:i})}},418:function(){},9008:function(e,t,n){e.exports=n(2636)},5005:function(e,t,n){"use strict";var r=n(4184),o=n.n(r),i=n(7294),a=n(861),s=n(6792),u=n(5893);let l=i.forwardRef(({as:e,bsPrefix:t,variant:n="primary",size:r,active:i=!1,disabled:l=!1,className:c,...f},d)=>{let p=(0,s.vE)(t,"btn"),[v,{tagName:m}]=(0,a.FT)({tagName:e,disabled:l,...f});return(0,u.jsx)(m,{...v,...f,ref:d,disabled:l,className:o()(c,p,i&&"active",n&&`${p}-${n}`,r&&`${p}-${r}`,f.href&&l&&"disabled")})});l.displayName="Button",t.Z=l},1020:function(e,t,n){"use strict";var r=(0,n(7267).Z)({color:"#3b5998",networkName:"facebook",path:"M34.1,47V33.3h4.6l0.7-5.3h-5.3v-3.4c0-1.5,0.4-2.6,2.6-2.6l2.8,0v-4.8c-0.5-0.1-2.2-0.2-4.1-0.2 c-4.1,0-6.9,2.5-6.9,7V28H24v5.3h4.6V47H34.1z"});t.Z=r},6573:function(e,t,n){"use strict";var r=n(5456),o=n(6459),i=(0,n(9075).Z)("facebook",function(e,t){var n=t.quote,i=t.hashtag;return(0,r.Z)(e,"facebook.url"),"https://www.facebook.com/sharer/sharer.php"+(0,o.Z)({u:e,quote:n,hashtag:i})},function(e){return{quote:e.quote,hashtag:e.hashtag}},{windowWidth:550,windowHeight:400});t.Z=i},7332:function(e,t,n){"use strict";var r=(0,n(7267).Z)({color:"#007fb1",networkName:"linkedin",path:"M20.4,44h5.4V26.6h-5.4V44z M23.1,18c-1.7,0-3.1,1.4-3.1,3.1c0,1.7,1.4,3.1,3.1,3.1 c1.7,0,3.1-1.4,3.1-3.1C26.2,19.4,24.8,18,23.1,18z M39.5,26.2c-2.6,0-4.4,1.4-5.1,2.8h-0.1v-2.4h-5.2V44h5.4v-8.6 c0-2.3,0.4-4.5,3.2-4.5c2.8,0,2.8,2.6,2.8,4.6V44H46v-9.5C46,29.8,45,26.2,39.5,26.2z"});t.Z=r},3597:function(e,t,n){"use strict";var r=n(5456),o=n(6459),i=(0,n(9075).Z)("linkedin",function(e,t){var n=t.title,i=t.summary,a=t.source;return(0,r.Z)(e,"linkedin.url"),"https://linkedin.com/shareArticle"+(0,o.Z)({url:e,mini:"true",title:n,summary:i,source:a})},function(e){return{title:e.title,summary:e.summary,source:e.source}},{windowWidth:750,windowHeight:600});t.Z=i},7385:function(e,t,n){"use strict";var r=(0,n(7267).Z)({color:"#00aced",networkName:"twitter",path:"M48,22.1c-1.2,0.5-2.4,0.9-3.8,1c1.4-0.8,2.4-2.1,2.9-3.6c-1.3,0.8-2.7,1.3-4.2,1.6 C41.7,19.8,40,19,38.2,19c-3.6,0-6.6,2.9-6.6,6.6c0,0.5,0.1,1,0.2,1.5c-5.5-0.3-10.3-2.9-13.5-6.9c-0.6,1-0.9,2.1-0.9,3.3 c0,2.3,1.2,4.3,2.9,5.5c-1.1,0-2.1-0.3-3-0.8c0,0,0,0.1,0,0.1c0,3.2,2.3,5.8,5.3,6.4c-0.6,0.1-1.1,0.2-1.7,0.2c-0.4,0-0.8,0-1.2-0.1 c0.8,2.6,3.3,4.5,6.1,4.6c-2.2,1.8-5.1,2.8-8.2,2.8c-0.5,0-1.1,0-1.6-0.1c2.9,1.9,6.4,2.9,10.1,2.9c12.1,0,18.7-10,18.7-18.7 c0-0.3,0-0.6,0-0.8C46,24.5,47.1,23.4,48,22.1z"});t.Z=r},6616:function(e,t,n){"use strict";var r=n(5456),o=n(6459),i=(0,n(9075).Z)("twitter",function(e,t){var n=t.title,i=t.via,a=t.hashtags,s=void 0===a?[]:a,u=t.related,l=void 0===u?[]:u;return(0,r.Z)(e,"twitter.url"),(0,r.Z)(Array.isArray(s),"twitter.hashtags is not an array"),(0,r.Z)(Array.isArray(l),"twitter.related is not an array"),"https://twitter.com/share"+(0,o.Z)({url:e,text:n,via:i,hashtags:s.length>0?s.join(","):void 0,related:l.length>0?l.join(","):void 0})},function(e){return{hashtags:e.hashtags,title:e.title,via:e.via,related:e.related}},{windowWidth:550,windowHeight:400});t.Z=i},7267:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(7294),o=function(){return(o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},i=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)0>t.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};function a(e){var t=function(t){var n=t.bgStyle,a=t.borderRadius,s=t.iconFillC
14olor,u=t.round,l=t.size,c=i(t,["bgStyle","borderRadius","iconFillColor","round","size"]);return r.createElement("svg",o({viewBox:"0 0 64 64",width:l,height:l},c),u?r.createElement("circle",{cx:"32",cy:"32",r:"31",fill:e.color,style:n}):r.createElement("rect",{width:"64",height:"64",rx:a,ry:a,fill:e.color,style:n}),r.createElement("path",{d:e.path,fill:s}))};return t.defaultProps={bgStyle:{},borderRadius:0,iconFillColor:"white",size:64},t}},9075:function(e,t,n){"use strict";n.d(t,{Z:function(){return p}});var r,o=n(7294),i=n(4184),a=n.n(i),s=(r=function(e,t){return(r=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),u=function(){return(u=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},l=function(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(n)throw TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(o=(o=a.trys).length>0&&o[o.length-1])&&(6===i[0]||2===i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}},c=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)0>t.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},f=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.openShareDialog=function(e){var n=t.props,r=n.onShareWindowClose,o=n.windowHeight,i=void 0===o?400:o,a=n.windowPosition,s=n.windowWidth,l=void 0===s?550:s;!function(e,t,n){var r=u({height:t.height,width:t.width,location:"no",toolbar:"no",status:"no",directories:"no",menubar:"no",scrollbars:"yes",resizable:"no",centerscreen:"yes",chrome:"yes"},c(t,["height","width"])),o=window.open(e,"",Object.keys(r).map(function(e){return"".concat(e,"=").concat(r[e])}).join(", "));if(n)var i=window.setInterval(function(){try{(null===o||o.closed)&&(window.clearInterval(i),n(o))}catch(e){console.error(e)}},1e3)}(e,u({height:i,width:l},"windowCenter"===(void 0===a?"windowCenter":a)?{left:window.outerWidth/2+(window.screenX||window.screenLeft||0)-l/2,top:window.outerHeight/2+(window.screenY||window.screenTop||0)-i/2}:{top:(window.screen.height-i)/2,left:(window.screen.width-l)/2}),r)},t.handleClick=function(e){var n,r,o;return n=void 0,r=void 0,o=function(){var t,n,r,o,i,a,s,u,c;return l(this,function(l){switch(l.label){case 0:var f;if(n=(t=this.props).beforeOnClick,r=t.disabled,o=t.networkLink,i=t.onClick,a=t.url,s=t.openShareDialogOnClick,u=o(a,t.opts),r)return[2];if(e.preventDefault(),!n||!((f=c=n())&&("object"==typeof f||"function"==typeof f)&&"function"==typeof f.then))return[3,2];return[4,c];case 1:l.sent(),l.label=2;case 2:return s&&this.openShareDialog(u),i&&i(e,u),[2]}})},new(r||(r=Promise))(function(e,i){function a(e){try{u(o.next(e))}catch(e){i(e)}}function s(e){try{u(o.throw(e))}catch(e){i(e)}}function u(t){var n;t.done?e(t.value):((n=t.value)instanceof r?n:new r(function(e){e(n)})).then(a,s)}u((o=o.apply(t,n||[])).next())})},t}return s(t,e),t.prototype.render=function(){var e=this.props,t=(e.beforeOnClick,e.children),n=e.className,r=e.disabled,i=e.disabledStyle,s=e.forwardedRef,l=(e.networkLink,e.networkName),f=(e.onShareWindowClose,e.openShareDialogOnClick,e.opts,e.resetButtonStyle),d=e.style,p=(e.url,e.windowHeight,e.windowPosition,e.windowWidth,c(e,["beforeOnClick","children","className","disabled","disabledStyle","forwardedRef","networkLink","networkName","onShareWindowClose","openShareDialogOnClick","opts","resetButtonStyle","style","url","windowHeight","windowPosition","windowWidth"])),v=a()("react-share__ShareButton",{"react-share__ShareButton--disabled":!!r,disabled:!!r},n),m=f?u(u({backgroundColor:"transparent",border:"none",padding:0,font:"inherit",color:"inherit",curs
14or:"pointer"},d),r&&i):u(u({},d),r&&i);return o.createElement("button",u({},p,{"aria-label":p["aria-label"]||l,className:v,onClick:this.handleClick,ref:s,style:m}),t)},t.defaultProps={disabledStyle:{opacity:.6},openShareDialogOnClick:!0,resetButtonStyle:!0},t}(o.Component),d=function(){return(d=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},p=function(e,t,n,r){function i(i,a){var s=n(i),u=d({},i);return Object.keys(s).forEach(function(e){delete u[e]}),o.createElement(f,d({},r,u,{forwardedRef:a,networkName:e,networkLink:t,opts:n(i)}))}return i.displayName="ShareButton-".concat(e),(0,o.forwardRef)(i)}},5456:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r,o=(r=function(e,t){return(r=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),i=function(e){function t(t){var n=e.call(this,t)||this;return n.name="AssertionError",n}return o(t,e),t}(Error);function a(e,t){if(!e)throw new i(t)}},6459:function(e,t,n){"use strict";function r(e){var t=Object.entries(e).filter(function(e){return null!=e[1]}).map(function(e){var t=e[0],n=e[1];return"".concat(encodeURIComponent(t),"=").concat(encodeURIComponent(String(n)))});return t.length>0?"?".concat(t.join("&")):""}n.d(t,{Z:function(){return r}})},5607:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=s(n(5697)),o=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e){for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var r=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,n):{};r.get||r.set?Object.defineProperty(t,n,r):t[n]=e[n]}}return t.default=e,t}(n(7294)),i=s(n(5799)),a=s(n(9886));function s(e){return e&&e.__esModule?e:{default:e}}function u(e){return(u="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 l(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function c(e){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function f(e,t){return(f=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function d(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var p=function(e){var t,n;function r(){var e;return!function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}(this,r),e=c(r).apply(this,arguments),e&&("object"===u(e)||"function"==typeof e)?e:function(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(this)}return!function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&f(e,t)}(r,e),t=[{key:"componentDidMount",value:function(){this.swipe=(0,i.default)(this.containerEl,this.props.swipeOptions)}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.childCount,r=t.swipeOptions;e.childCount===n&&(0,a.default)(e.swipeOptions,r)||(this.swipe.kill(),this.swipe=(0,i.default)(this.containerEl,this.props.swipeOptions))}},{key:"componentWillUnmount",value:function(){this.swipe.kill(),this.swipe=void 0}},{key:"next",value:function(){this.swipe.next()}},{key:"prev",value:function(){this.swipe.prev()}},{key:"slide",value:function(){var e;(e=this.swipe).slide.apply(e,arguments)}},{key:"getPos",value:function(){return this.swipe.getPos()}},{key:"getNumSlides",value:function(){return this.swipe.getNumSlides()}},{key:"render",value:function(){var e=this,t=this.props,n=t.id,r=t.className,i=t.style,a=t.children;return o.default.createElement("div",{id:n,ref:function(t){return e.containerEl=t},className:"react-swipe-container ".concat(r),style:i.container},o.default.createElement("div",{style:i.wrapper},o.default.Children.map(a,function(e){if(!e)return null;var t=e.props.style?function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){d(e,t,n[t])})}return e}({},i.child,e.props.style):i.child;return o.default.cloneElement(e,{style:t})})))}}],l(r.prototype,t),n&&l(r,n),r}(o.Component);d(p,"propTypes",{swipeOptions:r.default.shape({startSlide:r.default.number,speed:r.default.number,auto:r.default.number,continuous:r.default.bool,disableScroll:r.default.bool,stopPropagation:r.default.bool,swiping:r.default.func,callback:r.default.func,transitionEnd:r.default.func}
14),style:r.default.shape({container:r.default.object,wrapper:r.default.object,child:r.default.object}),id:r.default.string,className:r.default.string,childCount:r.default.number}),d(p,"defaultProps",{swipeOptions:{},style:{container:{overflow:"hidden",visibility:"hidden",position:"relative"},wrapper:{overflow:"hidden",position:"relative"},child:{float:"left",width:"100%",position:"relative",transitionProperty:"transform"}},className:"",childCount:0}),t.default=p,e.exports=t.default},5799:function(e){var t,n;t=this,n=function(){return function(e,t){var n,r,o,i,a,s,u=function(){},l=function(e){setTimeout(e||u,0)},c={addEventListener:!!window.addEventListener,touch:"ontouchstart"in window||window.DocumentTouch&&document instanceof window.DocumentTouch,transitions:function(e){var t=["transitionProperty","WebkitTransition","MozTransition","OTransition","msTransition"];for(var n in t)if(void 0!==e.style[t[n]])return!0;return!1}(document.createElement("swipe"))};if(e){var f=e.children[0],d=parseInt((t=t||{}).startSlide,10)||0,p=t.speed||300,v=parseInt(t.widthOfSiblingSlidePreview,10)||0,m=t.continuous=void 0===t.continuous||t.continuous,h=t.auto||0,g={},y={},b={handleEvent:function(e){switch(e.type){case"touchstart":this.start(e);break;case"touchmove":this.move(e);break;case"touchend":l(this.end(e));break;case"webkitTransitionEnd":case"msTransitionEnd":case"oTransitionEnd":case"otransitionend":case"transitionend":l(this.transitionEnd(e));break;case"resize":l(w)}t.stopPropagation&&e.stopPropagation()},start:function(e){var t=e.touches[0];g={x:t.pageX,y:t.pageY,time:+new Date},s=void 0,y={},f.addEventListener("touchmove",this,!1),f.addEventListener("touchend",this,!1)},move:function(e){if(!(e.touches.length>1)&&(!e.scale||1===e.scale)&&!t.disableScroll){var i=e.touches[0];y={x:i.pageX-g.x,y:i.pageY-g.y},void 0===s&&(s=!!(s||Math.abs(y.x)<Math.abs(y.y))),!s&&(e.preventDefault(),T(),m?(O(E(d-1),y.x+r[E(d-1)],0),O(d,y.x+r[d],0),O(E(d+1),y.x+r[E(d+1)],0)):(y.x=y.x/(!d&&y.x>0||d==n.length-1&&y.x<0?Math.abs(y.x)/o+1:1),O(d-1,y.x+r[d-1],0),O(d,y.x+r[d],0),O(d+1,y.x+r[d+1],0)),t.swiping&&t.swiping(-y.x/o))}},end:function(e){var i=250>Number(+new Date-g.time)&&Math.abs(y.x)>20||Math.abs(y.x)>o/2,a=!d&&y.x>0||d==n.length-1&&y.x<0;m&&(a=!1);var u=y.x<0;!s&&(i&&!a?(u?(m?(P(E(d-1),-o,0),P(E(d+2),o,0)):P(d-1,-o,0),P(d,r[d]-o,p),P(E(d+1),r[E(d+1)]-o,p),d=E(d+1)):(m?(P(E(d+1),o,0),P(E(d-2),-o,0)):P(d+1,o,0),P(d,r[d]+o,p),P(E(d-1),r[E(d-1)]+o,p),d=E(d-1)),t.callback&&t.callback(d,n[d])):m?(P(E(d-1),-o,p),P(d,0,p),P(E(d+1),o,p)):(P(d-1,-o,p),P(d,0,p),P(d+1,o,p))),f.removeEventListener("touchmove",b,!1),f.removeEventListener("touchend",b,!1),f.removeEventListener("touchforcechange",function(){},!1)},transitionEnd:function(e){parseInt(e.target.getAttribute("data-index"),10)==d&&(h&&C(),t.transitionEnd&&t.transitionEnd.call(e,d,n[d]))}};return w(),h&&C(),c.addEventListener?(c.touch&&(f.addEventListener("touchstart",b,!1),f.addEventListener("touchforcechange",function(){},!1)),c.transitions&&(f.addEventListener("webkitTransitionEnd",b,!1),f.addEventListener("msTransitionEnd",b,!1),f.addEventListener("oTransitionEnd",b,!1),f.addEventListener("otransitionend",b,!1),f.addEventListener("transitionend",b,!1)),window.addEventListener("resize",b,!1)):window.onresize=function(){w()},{setup:function(){w()},slide:function(e,t){T(),S(e,t)},prev:function(){T(),m?S(d-1):d&&S(d-1)},next:function(){T(),x()},stop:function(){T()},getPos:function(){return d},getNumSlides:function(){return i},kill:function(){T(),f.style.width="",f.style.left="";for(var e=n.length;e--;){var t=n[e];t.style.width="",t.style.left="",c.transitions&&O(e,0,0)}c.addEventListener?(f.removeEventListener("touchstart",b,!1),f.removeEventListener("webkitTransitionEnd",b,!1),f.removeEventListener("msTransitionEnd",b,!1),f.removeEventListener("oTransitionEnd",b,!1),f.removeEventListener("otransitionend",b,!1),f.removeEventListener("transitionend",b,!1),window.removeEventListener("resize",b,!1)):window.onresize=null}}}function w(){i=(n=f.children).length,m=!(n.length<2)&&t.continuous,r=Array(n.length),o=Math.round(e.getBoundingClientRect().width||e.offsetWidth)-2*v,f.style.width=n.length*o+"px";for(var a=n.length;a--;){var s=n[a];s.style.width=o+"px",s.setAttribute("data-index",a),c.transitions&&(s.style.left=-(a*o)+v+"px",P(a,d>a?-o:d<a?o:0,0))}m&&c.transitions&&(P(E(d-1),-o,0),P(E(d+1),o,0)),c.transitions||(f.style.left=-(d*o)+v+"px"),e.style.visibility="visible"}function x(){m?S(d+1):d<n.length-1&&S(d+1)}function E(e){return(n.length+e%n.length)%n.length}function S(e,i){if(d!=e){if(c.transitions){var a=Math.abs(d-e)/(d-e);if(m){var s=a;(a=-r[E(e)]/o)!==s&&(e=-a*n.length+e)}for(var u=Math.abs(d-e)-1;u--;)P(E((e>d?e:d)-u-1),o*a,0);e=E(e),P(d,o*a,i||p),P(e,0,i||p),m&&P(E(e-a),-(o*a),0)}else(function(e,r,o){if(!o){f.style.left=r+"px";return}var i=+new Date,a=setInterval(function(){var s=+new Date-i;if(s>o){f.style.left=r+"px",h&&C(),t.transitionEnd&&t.transitionEnd.call(event,d,n[d]),clearInterval(a);return}f.style.left=(r-e)*(Math.floor(s/o*100)/100)+e+"px"},4)})(-(d*o),-((e=E(e))*o),i||p);d=e,l(t.callback&&t.callback(d,n[d]))}}function P(e,t,n){O(e,t,n),r[e]=t}function O(e,t,r){var o=n[e],i=o&&o.style;i&&(i.webkitTransitionDuration=i.MozTransitionDuration=i.msTransitionDuration=i.OTransitionDuration=i.transitionDuration=r+"ms",i.webkitTransform="translate("+t+"px,0)translateZ(0)",i.msTransform=i.MozTransform=i.OTransform="translateX("+t+"px)")}function C(){clearTimeout(a),a=setTimeout(x,h)}function T(){h=0,clearTimeout(a)}}},e.exports?e.exports=n():t.Swipe=n()}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.