From 1bdafe5eae6ffccac74360dbfa5c0bdcf241ad20 Mon Sep 17 00:00:00 2001 From: rommguy Date: Sat, 2 Mar 2024 13:20:28 +0200 Subject: [PATCH] fix tests --- dist/src/example/demoComp.d.ts | 3 +- exampleDist/assets/index-B1KVCYZb.css | 1 + exampleDist/assets/index-hIb3BM93.css | 1 - .../{index-mLl0AgyM.js => index-yOPKkUYY.js} | 32 ++++++++--------- exampleDist/index.html | 4 +-- src/App.tsx | 6 +++- src/example/demoComp.tsx | 22 +++++++++--- tests/customScroll.spec.ts | 36 +++++++++---------- 8 files changed, 61 insertions(+), 44 deletions(-) create mode 100644 exampleDist/assets/index-B1KVCYZb.css delete mode 100644 exampleDist/assets/index-hIb3BM93.css rename exampleDist/assets/{index-mLl0AgyM.js => index-yOPKkUYY.js} (82%) diff --git a/dist/src/example/demoComp.d.ts b/dist/src/example/demoComp.d.ts index c0f49fd..5ab9873 100644 --- a/dist/src/example/demoComp.d.ts +++ b/dist/src/example/demoComp.d.ts @@ -1,6 +1,7 @@ interface DemoCompProps { demoType: "compare-with-native" | "crazy-designer" | "flex" | "dynamic-content" | "allow-outer-scroll"; descriptionSide: "left" | "right"; + testId?: string; } -export declare const DemoComp: ({ demoType, descriptionSide }: DemoCompProps) => import("react/jsx-runtime").JSX.Element; +export declare const DemoComp: ({ demoType, descriptionSide, testId, }: DemoCompProps) => import("react/jsx-runtime").JSX.Element; export {}; diff --git a/exampleDist/assets/index-B1KVCYZb.css b/exampleDist/assets/index-B1KVCYZb.css new file mode 100644 index 0000000..a552915 --- /dev/null +++ b/exampleDist/assets/index-B1KVCYZb.css @@ -0,0 +1 @@ +#root{margin:0 auto;text-align:center;font-family:Open Sans,sans-serif;background-color:#fff;color:#000}.app-root{max-height:calc(100vh - 70px);max-width:900px;margin:0 auto;padding-top:90px}.demo-title{font-size:32px;margin:24px 0;padding:0 24px}.demo-subtitle{max-width:606px;margin:0 auto 50px;text-align:center;padding:0 24px}.example-wrapper{display:flex;flex-wrap:wrap;justify-content:space-around;align-items:center;margin:70px auto}.example-wrapper:last-child{padding-bottom:70px}.container{text-align:center}.container .side-title{display:block;margin:0 0 20px;font-size:18px}.scroll-creator{background:linear-gradient(to bottom,#bdeafc,#fcbdc9)}.panel{display:inline-block;width:288px;box-shadow:0 0 1px #ddd;border-radius:8px}.panel-header{height:40px;line-height:40px;padding-left:20px;background-color:#333;text-align:left;color:#fff;border-top-left-radius:8px;border-top-right-radius:8px}.panel-content,.outer-container{border-bottom-left-radius:8px;border-bottom-right-radius:8px}.panel-content-native{max-height:525px;overflow:auto}.panel-content-custom{max-height:525px}.content-fill{background:#d6eff5;line-height:20px;font-size:12px;text-align:left;padding:10px 20px}.crazy-scroll .rcs-custom-scrollbar{width:45px}.crazy-scroll .scroll-handle-override{background-color:inherit;background-image:url(http://rommguy.github.io/react-custom-scroll/giraffe-icon.png);background-repeat:no-repeat no-repeat;background-size:cover}.flex-scroll{display:flex;flex-direction:column;height:400px}.dynamic-content{padding:30px 15px;margin-bottom:10px;font-size:14px;background-color:#fff}.example-dynamic-wrapper .panel-content-custom{max-height:250px}.example-dynamic-wrapper .dynamic-content-button{display:block;border:10px;font-family:Roboto,sans-serif;cursor:pointer;outline:none;height:36px;line-height:36px;border-radius:2px;transition:all .45s cubic-bezier(.23,1,.32,1) 0ms;background-color:#00bcd4;text-align:center;font-size:14px;letter-spacing:0px;text-transform:uppercase;margin:10px auto;min-width:200px;-webkit-user-select:none;-moz-user-select:none;user-select:none;padding:0 16px;color:#fff}.example-dynamic-wrapper .dynamic-content-button:hover{background-color:#00bcd499}.example-description{margin:20px 0;font-size:18px;width:248px;padding:0 20px;text-align:start}.example-description img{height:130px;display:block;margin:20px auto}@media only screen and (max-width: 580px){.native-scroll{margin-bottom:35px}.example-wrapper{margin:35px auto}}:root{font-family:Inter,system-ui,Avenir,Helvetica,Arial,sans-serif;line-height:1.5;font-weight:400;color-scheme:light dark;color:#ffffffde;background-color:#242424;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;scroll-behavior:smooth}a{font-weight:500;color:#646cff;text-decoration:inherit}a:hover{color:#535bf2}body{margin:0;place-items:center;min-width:320px;min-height:100vh}h1{font-size:3.2em;line-height:1.1}button{border-radius:8px;border:1px solid transparent;padding:.6em 1.2em;font-size:1em;font-weight:500;font-family:inherit;background-color:#1a1a1a;cursor:pointer;transition:border-color .25s}button:hover{border-color:#646cff}button:focus,button:focus-visible{outline:4px auto -webkit-focus-ring-color}@media (prefers-color-scheme: light){:root{color:#213547;background-color:#fff}a:hover{color:#747bff}button{background-color:#f9f9f9}} diff --git a/exampleDist/assets/index-hIb3BM93.css b/exampleDist/assets/index-hIb3BM93.css deleted file mode 100644 index 6485a1b..0000000 --- a/exampleDist/assets/index-hIb3BM93.css +++ /dev/null @@ -1 +0,0 @@ -#root{margin:0 auto;text-align:center;font-family:Open Sans,sans-serif;background-color:#fff;color:#000}.app-root{max-width:900px;margin:0 auto;padding-top:90px}.demo-title{font-size:32px;margin:24px 0;padding:0 24px}.demo-subtitle{max-width:606px;margin:0 auto 50px;text-align:center;padding:0 24px}.example-wrapper{display:flex;flex-wrap:wrap;justify-content:space-around;align-items:center;margin:70px auto}.example-wrapper:last-child{padding-bottom:70px}.container{text-align:center}.container .side-title{display:block;margin:0 0 20px;font-size:18px}.scroll-creator{background:linear-gradient(to bottom,#bdeafc,#fcbdc9)}.panel{display:inline-block;width:288px;box-shadow:0 0 1px #ddd;border-radius:8px}.panel-header{height:40px;line-height:40px;padding-left:20px;background-color:#333;text-align:left;color:#fff;border-top-left-radius:8px;border-top-right-radius:8px}.panel-content,.outer-container{border-bottom-left-radius:8px;border-bottom-right-radius:8px}.panel-content-native{max-height:525px;overflow:auto}.panel-content-custom{max-height:525px}.content-fill{background:#d6eff5;line-height:20px;font-size:12px;text-align:left;padding:10px 20px}.crazy-scroll .rcs-custom-scrollbar{width:45px}.crazy-scroll .scroll-handle-override{background-color:inherit;background-image:url(http://rommguy.github.io/react-custom-scroll/giraffe-icon.png);background-repeat:no-repeat no-repeat;background-size:cover}.flex-scroll{display:flex;flex-direction:column;height:400px}.dynamic-content{padding:30px 15px;margin-bottom:10px;font-size:14px;background-color:#fff}.example-dynamic-wrapper .panel-content-custom{max-height:250px}.example-dynamic-wrapper .dynamic-content-button{display:block;border:10px;font-family:Roboto,sans-serif;cursor:pointer;outline:none;height:36px;line-height:36px;border-radius:2px;transition:all .45s cubic-bezier(.23,1,.32,1) 0ms;background-color:#00bcd4;text-align:center;font-size:14px;letter-spacing:0px;text-transform:uppercase;margin:10px auto;min-width:200px;-webkit-user-select:none;-moz-user-select:none;user-select:none;padding:0 16px;color:#fff}.example-dynamic-wrapper .dynamic-content-button:hover{background-color:#00bcd499}.example-description{margin:20px 0;font-size:18px;width:248px;padding:0 20px;text-align:start}.example-description img{height:130px;display:block;margin:20px auto}@media only screen and (max-width: 580px){.native-scroll{margin-bottom:35px}.example-wrapper{margin:35px auto}}:root{font-family:Inter,system-ui,Avenir,Helvetica,Arial,sans-serif;line-height:1.5;font-weight:400;color-scheme:light dark;color:#ffffffde;background-color:#242424;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;scroll-behavior:smooth}a{font-weight:500;color:#646cff;text-decoration:inherit}a:hover{color:#535bf2}body{margin:0;place-items:center;min-width:320px;min-height:100vh}h1{font-size:3.2em;line-height:1.1}button{border-radius:8px;border:1px solid transparent;padding:.6em 1.2em;font-size:1em;font-weight:500;font-family:inherit;background-color:#1a1a1a;cursor:pointer;transition:border-color .25s}button:hover{border-color:#646cff}button:focus,button:focus-visible{outline:4px auto -webkit-focus-ring-color}@media (prefers-color-scheme: light){:root{color:#213547;background-color:#fff}a:hover{color:#747bff}button{background-color:#f9f9f9}} diff --git a/exampleDist/assets/index-mLl0AgyM.js b/exampleDist/assets/index-yOPKkUYY.js similarity index 82% rename from exampleDist/assets/index-mLl0AgyM.js rename to exampleDist/assets/index-yOPKkUYY.js index 0e77610..ac0905d 100644 --- a/exampleDist/assets/index-mLl0AgyM.js +++ b/exampleDist/assets/index-yOPKkUYY.js @@ -1,4 +1,4 @@ -var xC=Object.defineProperty;var kC=(e,t,r)=>t in e?xC(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var he=(e,t,r)=>(kC(e,typeof t!="symbol"?t+"":t,r),r);(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))u(o);new MutationObserver(o=>{for(const s of o)if(s.type==="childList")for(const c of s.addedNodes)c.tagName==="LINK"&&c.rel==="modulepreload"&&u(c)}).observe(document,{childList:!0,subtree:!0});function r(o){const s={};return o.integrity&&(s.integrity=o.integrity),o.referrerPolicy&&(s.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?s.credentials="include":o.crossOrigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function u(o){if(o.ep)return;o.ep=!0;const s=r(o);fetch(o.href,s)}})();var Lu=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function EC(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var tv={exports:{}},Ds={},nv={exports:{}},me={};/** +var xC=Object.defineProperty;var kC=(e,t,r)=>t in e?xC(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var he=(e,t,r)=>(kC(e,typeof t!="symbol"?t+"":t,r),r);(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))u(o);new MutationObserver(o=>{for(const s of o)if(s.type==="childList")for(const c of s.addedNodes)c.tagName==="LINK"&&c.rel==="modulepreload"&&u(c)}).observe(document,{childList:!0,subtree:!0});function r(o){const s={};return o.integrity&&(s.integrity=o.integrity),o.referrerPolicy&&(s.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?s.credentials="include":o.crossOrigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function u(o){if(o.ep)return;o.ep=!0;const s=r(o);fetch(o.href,s)}})();var Du=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function EC(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var tv={exports:{}},Ds={},nv={exports:{}},me={};/** * @license React * react.production.min.js * @@ -6,7 +6,7 @@ var xC=Object.defineProperty;var kC=(e,t,r)=>t in e?xC(e,t,{enumerable:!0,config * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var Po=Symbol.for("react.element"),CC=Symbol.for("react.portal"),NC=Symbol.for("react.fragment"),PC=Symbol.for("react.strict_mode"),RC=Symbol.for("react.profiler"),jC=Symbol.for("react.provider"),IC=Symbol.for("react.context"),zC=Symbol.for("react.forward_ref"),TC=Symbol.for("react.suspense"),AC=Symbol.for("react.memo"),OC=Symbol.for("react.lazy"),Pm=Symbol.iterator;function LC(e){return e===null||typeof e!="object"?null:(e=Pm&&e[Pm]||e["@@iterator"],typeof e=="function"?e:null)}var rv={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},iv=Object.assign,uv={};function su(e,t,r){this.props=e,this.context=t,this.refs=uv,this.updater=r||rv}su.prototype.isReactComponent={};su.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};su.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function ov(){}ov.prototype=su.prototype;function nd(e,t,r){this.props=e,this.context=t,this.refs=uv,this.updater=r||rv}var rd=nd.prototype=new ov;rd.constructor=nd;iv(rd,su.prototype);rd.isPureReactComponent=!0;var Rm=Array.isArray,lv=Object.prototype.hasOwnProperty,id={current:null},sv={key:!0,ref:!0,__self:!0,__source:!0};function av(e,t,r){var u,o={},s=null,c=null;if(t!=null)for(u in t.ref!==void 0&&(c=t.ref),t.key!==void 0&&(s=""+t.key),t)lv.call(t,u)&&!sv.hasOwnProperty(u)&&(o[u]=t[u]);var p=arguments.length-2;if(p===1)o.children=r;else if(1t in e?xC(e,t,{enumerable:!0,config * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */(function(e){function t(U,J){var re=U.length;U.push(J);e:for(;0>>1,ye=U[ge];if(0>>1;geo(G,re))Wo(H,G)?(U[ge]=H,U[W]=re,ge=W):(U[ge]=G,U[Ke]=re,ge=Ke);else if(Wo(H,re))U[ge]=H,U[W]=re,ge=W;else break e}}return J}function o(U,J){var re=U.sortIndex-J.sortIndex;return re!==0?re:U.id-J.id}if(typeof performance=="object"&&typeof performance.now=="function"){var s=performance;e.unstable_now=function(){return s.now()}}else{var c=Date,p=c.now();e.unstable_now=function(){return c.now()-p}}var m=[],_=[],N=1,P=null,E=3,T=!1,A=!1,D=!1,ue=typeof setTimeout=="function"?setTimeout:null,w=typeof clearTimeout=="function"?clearTimeout:null,y=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function x(U){for(var J=r(_);J!==null;){if(J.callback===null)u(_);else if(J.startTime<=U)u(_),J.sortIndex=J.expirationTime,t(m,J);else break;J=r(_)}}function j(U){if(D=!1,x(U),!A)if(r(m)!==null)A=!0,pn(F);else{var J=r(_);J!==null&&yt(j,J.startTime-U)}}function F(U,J){A=!1,D&&(D=!1,w(Y),Y=-1),T=!0;var re=E;try{for(x(J),P=r(m);P!==null&&(!(P.expirationTime>J)||U&&!Ye());){var ge=P.callback;if(typeof ge=="function"){P.callback=null,E=P.priorityLevel;var ye=ge(P.expirationTime<=J);J=e.unstable_now(),typeof ye=="function"?P.callback=ye:P===r(m)&&u(m),x(J)}else u(m);P=r(m)}if(P!==null)var Ee=!0;else{var Ke=r(_);Ke!==null&&yt(j,Ke.startTime-J),Ee=!1}return Ee}finally{P=null,E=re,T=!1}}var $=!1,O=null,Y=-1,_e=5,le=-1;function Ye(){return!(e.unstable_now()-le<_e)}function Mt(){if(O!==null){var U=e.unstable_now();le=U;var J=!0;try{J=O(!0,U)}finally{J?dn():($=!1,O=null)}}else $=!1}var dn;if(typeof y=="function")dn=function(){y(Mt)};else if(typeof MessageChannel<"u"){var Nn=new MessageChannel,Ve=Nn.port2;Nn.port1.onmessage=Mt,dn=function(){Ve.postMessage(null)}}else dn=function(){ue(Mt,0)};function pn(U){O=U,$||($=!0,dn())}function yt(U,J){Y=ue(function(){U(e.unstable_now())},J)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(U){U.callback=null},e.unstable_continueExecution=function(){A||T||(A=!0,pn(F))},e.unstable_forceFrameRate=function(U){0>U||125ge?(U.sortIndex=re,t(_,U),r(m)===null&&U===r(_)&&(D?(w(Y),Y=-1):D=!0,yt(j,re-ge))):(U.sortIndex=ye,t(m,U),A||T||(A=!0,pn(F))),U},e.unstable_shouldYield=Ye,e.unstable_wrapCallback=function(U){var J=E;return function(){var re=E;E=J;try{return U.apply(this,arguments)}finally{E=re}}}})(pv);dv.exports=pv;var qC=dv.exports;/** + */(function(e){function t(U,J){var re=U.length;U.push(J);e:for(;0>>1,ye=U[ge];if(0>>1;geo(G,re))Wo(H,G)?(U[ge]=H,U[W]=re,ge=W):(U[ge]=G,U[Ke]=re,ge=Ke);else if(Wo(H,re))U[ge]=H,U[W]=re,ge=W;else break e}}return J}function o(U,J){var re=U.sortIndex-J.sortIndex;return re!==0?re:U.id-J.id}if(typeof performance=="object"&&typeof performance.now=="function"){var s=performance;e.unstable_now=function(){return s.now()}}else{var c=Date,p=c.now();e.unstable_now=function(){return c.now()-p}}var h=[],_=[],N=1,P=null,E=3,T=!1,A=!1,D=!1,ue=typeof setTimeout=="function"?setTimeout:null,w=typeof clearTimeout=="function"?clearTimeout:null,y=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function x(U){for(var J=r(_);J!==null;){if(J.callback===null)u(_);else if(J.startTime<=U)u(_),J.sortIndex=J.expirationTime,t(h,J);else break;J=r(_)}}function j(U){if(D=!1,x(U),!A)if(r(h)!==null)A=!0,pn(F);else{var J=r(_);J!==null&&yt(j,J.startTime-U)}}function F(U,J){A=!1,D&&(D=!1,w(Y),Y=-1),T=!0;var re=E;try{for(x(J),P=r(h);P!==null&&(!(P.expirationTime>J)||U&&!Ye());){var ge=P.callback;if(typeof ge=="function"){P.callback=null,E=P.priorityLevel;var ye=ge(P.expirationTime<=J);J=e.unstable_now(),typeof ye=="function"?P.callback=ye:P===r(h)&&u(h),x(J)}else u(h);P=r(h)}if(P!==null)var Ee=!0;else{var Ke=r(_);Ke!==null&&yt(j,Ke.startTime-J),Ee=!1}return Ee}finally{P=null,E=re,T=!1}}var $=!1,O=null,Y=-1,_e=5,le=-1;function Ye(){return!(e.unstable_now()-le<_e)}function Mt(){if(O!==null){var U=e.unstable_now();le=U;var J=!0;try{J=O(!0,U)}finally{J?dn():($=!1,O=null)}}else $=!1}var dn;if(typeof y=="function")dn=function(){y(Mt)};else if(typeof MessageChannel<"u"){var Nn=new MessageChannel,Ve=Nn.port2;Nn.port1.onmessage=Mt,dn=function(){Ve.postMessage(null)}}else dn=function(){ue(Mt,0)};function pn(U){O=U,$||($=!0,dn())}function yt(U,J){Y=ue(function(){U(e.unstable_now())},J)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(U){U.callback=null},e.unstable_continueExecution=function(){A||T||(A=!0,pn(F))},e.unstable_forceFrameRate=function(U){0>U||125ge?(U.sortIndex=re,t(_,U),r(h)===null&&U===r(_)&&(D?(w(Y),Y=-1):D=!0,yt(j,re-ge))):(U.sortIndex=ye,t(h,U),A||T||(A=!0,pn(F))),U},e.unstable_shouldYield=Ye,e.unstable_wrapCallback=function(U){var J=E;return function(){var re=E;E=J;try{return U.apply(this,arguments)}finally{E=re}}}})(pv);dv.exports=pv;var qC=dv.exports;/** * @license React * react-dom.production.min.js * @@ -30,15 +30,15 @@ var xC=Object.defineProperty;var kC=(e,t,r)=>t in e?xC(e,t,{enumerable:!0,config * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var hv=rn,Qt=qC;function M(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,r=1;r"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),tf=Object.prototype.hasOwnProperty,YC=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,Im={},zm={};function KC(e){return tf.call(zm,e)?!0:tf.call(Im,e)?!1:YC.test(e)?zm[e]=!0:(Im[e]=!0,!1)}function GC(e,t,r,u){if(r!==null&&r.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return u?!1:r!==null?!r.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function XC(e,t,r,u){if(t===null||typeof t>"u"||GC(e,t,r,u))return!0;if(u)return!1;if(r!==null)switch(r.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function Et(e,t,r,u,o,s,c){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=u,this.attributeNamespace=o,this.mustUseProperty=r,this.propertyName=e,this.type=t,this.sanitizeURL=s,this.removeEmptyString=c}var ct={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){ct[e]=new Et(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];ct[t]=new Et(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){ct[e]=new Et(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){ct[e]=new Et(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){ct[e]=new Et(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){ct[e]=new Et(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){ct[e]=new Et(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){ct[e]=new Et(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){ct[e]=new Et(e,5,!1,e.toLowerCase(),null,!1,!1)});var od=/[\-:]([a-z])/g;function ld(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(od,ld);ct[t]=new Et(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(od,ld);ct[t]=new Et(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(od,ld);ct[t]=new Et(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){ct[e]=new Et(e,1,!1,e.toLowerCase(),null,!1,!1)});ct.xlinkHref=new Et("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){ct[e]=new Et(e,1,!1,e.toLowerCase(),null,!0,!0)});function sd(e,t,r,u){var o=ct.hasOwnProperty(t)?ct[t]:null;(o!==null?o.type!==0:u||!(2"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),tf=Object.prototype.hasOwnProperty,YC=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,Im={},zm={};function KC(e){return tf.call(zm,e)?!0:tf.call(Im,e)?!1:YC.test(e)?zm[e]=!0:(Im[e]=!0,!1)}function GC(e,t,r,u){if(r!==null&&r.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return u?!1:r!==null?!r.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function XC(e,t,r,u){if(t===null||typeof t>"u"||GC(e,t,r,u))return!0;if(u)return!1;if(r!==null)switch(r.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function Et(e,t,r,u,o,s,c){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=u,this.attributeNamespace=o,this.mustUseProperty=r,this.propertyName=e,this.type=t,this.sanitizeURL=s,this.removeEmptyString=c}var ct={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){ct[e]=new Et(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];ct[t]=new Et(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){ct[e]=new Et(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){ct[e]=new Et(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){ct[e]=new Et(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){ct[e]=new Et(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){ct[e]=new Et(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){ct[e]=new Et(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){ct[e]=new Et(e,5,!1,e.toLowerCase(),null,!1,!1)});var od=/[\-:]([a-z])/g;function ld(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(od,ld);ct[t]=new Et(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(od,ld);ct[t]=new Et(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(od,ld);ct[t]=new Et(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){ct[e]=new Et(e,1,!1,e.toLowerCase(),null,!1,!1)});ct.xlinkHref=new Et("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){ct[e]=new Et(e,1,!1,e.toLowerCase(),null,!0,!0)});function sd(e,t,r,u){var o=ct.hasOwnProperty(t)?ct[t]:null;(o!==null?o.type!==0:u||!(2p||o[c]!==s[p]){var m=` -`+o[c].replace(" at new "," at ");return e.displayName&&m.includes("")&&(m=m.replace("",e.displayName)),m}while(1<=c&&0<=p);break}}}finally{Ec=!1,Error.prepareStackTrace=r}return(e=e?e.displayName||e.name:"")?Yu(e):""}function ZC(e){switch(e.tag){case 5:return Yu(e.type);case 16:return Yu("Lazy");case 13:return Yu("Suspense");case 19:return Yu("SuspenseList");case 0:case 2:case 15:return e=Cc(e.type,!1),e;case 11:return e=Cc(e.type.render,!1),e;case 1:return e=Cc(e.type,!0),e;default:return""}}function of(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case zi:return"Fragment";case Ii:return"Portal";case nf:return"Profiler";case ad:return"StrictMode";case rf:return"Suspense";case uf:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case gv:return(e.displayName||"Context")+".Consumer";case vv:return(e._context.displayName||"Context")+".Provider";case cd:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case fd:return t=e.displayName||null,t!==null?t:of(e.type)||"Memo";case gr:t=e._payload,e=e._init;try{return of(e(t))}catch{}}return null}function JC(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return of(t);case 8:return t===ad?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function zr(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function _v(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function bC(e){var t=_v(e)?"checked":"value",r=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),u=""+e[t];if(!e.hasOwnProperty(t)&&typeof r<"u"&&typeof r.get=="function"&&typeof r.set=="function"){var o=r.get,s=r.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(c){u=""+c,s.call(this,c)}}),Object.defineProperty(e,t,{enumerable:r.enumerable}),{getValue:function(){return u},setValue:function(c){u=""+c},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Rl(e){e._valueTracker||(e._valueTracker=bC(e))}function wv(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var r=t.getValue(),u="";return e&&(u=_v(e)?e.checked?"true":"false":e.value),e=u,e!==r?(t.setValue(e),!0):!1}function ss(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function lf(e,t){var r=t.checked;return $e({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:r??e._wrapperState.initialChecked})}function Am(e,t){var r=t.defaultValue==null?"":t.defaultValue,u=t.checked!=null?t.checked:t.defaultChecked;r=zr(t.value!=null?t.value:r),e._wrapperState={initialChecked:u,initialValue:r,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function Sv(e,t){t=t.checked,t!=null&&sd(e,"checked",t,!1)}function sf(e,t){Sv(e,t);var r=zr(t.value),u=t.type;if(r!=null)u==="number"?(r===0&&e.value===""||e.value!=r)&&(e.value=""+r):e.value!==""+r&&(e.value=""+r);else if(u==="submit"||u==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?af(e,t.type,r):t.hasOwnProperty("defaultValue")&&af(e,t.type,zr(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Om(e,t,r){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var u=t.type;if(!(u!=="submit"&&u!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,r||t===e.value||(e.value=t),e.defaultValue=t}r=e.name,r!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,r!==""&&(e.name=r)}function af(e,t,r){(t!=="number"||ss(e.ownerDocument)!==e)&&(r==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+r&&(e.defaultValue=""+r))}var Ku=Array.isArray;function Ui(e,t,r,u){if(e=e.options,t){t={};for(var o=0;o"+t.valueOf().toString()+"",t=jl.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function ao(e,t){if(t){var r=e.firstChild;if(r&&r===e.lastChild&&r.nodeType===3){r.nodeValue=t;return}}e.textContent=t}var Ju={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},e2=["Webkit","ms","Moz","O"];Object.keys(Ju).forEach(function(e){e2.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Ju[t]=Ju[e]})});function Cv(e,t,r){return t==null||typeof t=="boolean"||t===""?"":r||typeof t!="number"||t===0||Ju.hasOwnProperty(e)&&Ju[e]?(""+t).trim():t+"px"}function Nv(e,t){e=e.style;for(var r in t)if(t.hasOwnProperty(r)){var u=r.indexOf("--")===0,o=Cv(r,t[r],u);r==="float"&&(r="cssFloat"),u?e.setProperty(r,o):e[r]=o}}var t2=$e({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function df(e,t){if(t){if(t2[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(M(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(M(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(M(61))}if(t.style!=null&&typeof t.style!="object")throw Error(M(62))}}function pf(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var hf=null;function dd(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var mf=null,Vi=null,Qi=null;function $m(e){if(e=Io(e)){if(typeof mf!="function")throw Error(M(280));var t=e.stateNode;t&&(t=Bs(t),mf(e.stateNode,e.type,t))}}function Pv(e){Vi?Qi?Qi.push(e):Qi=[e]:Vi=e}function Rv(){if(Vi){var e=Vi,t=Qi;if(Qi=Vi=null,$m(e),t)for(e=0;e>>=0,e===0?32:31-(d2(e)/p2|0)|0}var Il=64,zl=4194304;function Gu(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function ds(e,t){var r=e.pendingLanes;if(r===0)return 0;var u=0,o=e.suspendedLanes,s=e.pingedLanes,c=r&268435455;if(c!==0){var p=c&~o;p!==0?u=Gu(p):(s&=c,s!==0&&(u=Gu(s)))}else c=r&~o,c!==0?u=Gu(c):s!==0&&(u=Gu(s));if(u===0)return 0;if(t!==0&&t!==u&&!(t&o)&&(o=u&-u,s=t&-t,o>=s||o===16&&(s&4194240)!==0))return t;if(u&4&&(u|=r&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=u;0r;r++)t.push(e);return t}function Ro(e,t,r){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-xn(t),e[t]=r}function g2(e,t){var r=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var u=e.eventTimes;for(e=e.expirationTimes;0=eo),qm=" ",Ym=!1;function Kv(e,t){switch(e){case"keyup":return Q2.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Gv(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Ti=!1;function Y2(e,t){switch(e){case"compositionend":return Gv(t);case"keypress":return t.which!==32?null:(Ym=!0,qm);case"textInput":return e=t.data,e===qm&&Ym?null:e;default:return null}}function K2(e,t){if(Ti)return e==="compositionend"||!wd&&Kv(e,t)?(e=qv(),Kl=gd=Sr=null,Ti=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1=t)return{node:r,offset:t-e};e=u}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=Zm(r)}}function bv(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?bv(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function eg(){for(var e=window,t=ss();t instanceof e.HTMLIFrameElement;){try{var r=typeof t.contentWindow.location.href=="string"}catch{r=!1}if(r)e=t.contentWindow;else break;t=ss(e.document)}return t}function Sd(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function r3(e){var t=eg(),r=e.focusedElem,u=e.selectionRange;if(t!==r&&r&&r.ownerDocument&&bv(r.ownerDocument.documentElement,r)){if(u!==null&&Sd(r)){if(t=u.start,e=u.end,e===void 0&&(e=t),"selectionStart"in r)r.selectionStart=t,r.selectionEnd=Math.min(e,r.value.length);else if(e=(t=r.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var o=r.textContent.length,s=Math.min(u.start,o);u=u.end===void 0?s:Math.min(u.end,o),!e.extend&&s>u&&(o=u,u=s,s=o),o=Jm(r,s);var c=Jm(r,u);o&&c&&(e.rangeCount!==1||e.anchorNode!==o.node||e.anchorOffset!==o.offset||e.focusNode!==c.node||e.focusOffset!==c.offset)&&(t=t.createRange(),t.setStart(o.node,o.offset),e.removeAllRanges(),s>u?(e.addRange(t),e.extend(c.node,c.offset)):(t.setEnd(c.node,c.offset),e.addRange(t)))}}for(t=[],e=r;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof r.focus=="function"&&r.focus(),r=0;r=document.documentMode,Ai=null,Sf=null,no=null,xf=!1;function bm(e,t,r){var u=r.window===r?r.document:r.nodeType===9?r:r.ownerDocument;xf||Ai==null||Ai!==ss(u)||(u=Ai,"selectionStart"in u&&Sd(u)?u={start:u.selectionStart,end:u.selectionEnd}:(u=(u.ownerDocument&&u.ownerDocument.defaultView||window).getSelection(),u={anchorNode:u.anchorNode,anchorOffset:u.anchorOffset,focusNode:u.focusNode,focusOffset:u.focusOffset}),no&&vo(no,u)||(no=u,u=ms(Sf,"onSelect"),0Di||(e.current=Rf[Di],Rf[Di]=null,Di--)}function Ne(e,t){Di++,Rf[Di]=e.current,e.current=t}var Tr={},gt=Or(Tr),Lt=Or(!1),ri=Tr;function Zi(e,t){var r=e.type.contextTypes;if(!r)return Tr;var u=e.stateNode;if(u&&u.__reactInternalMemoizedUnmaskedChildContext===t)return u.__reactInternalMemoizedMaskedChildContext;var o={},s;for(s in r)o[s]=t[s];return u&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function Dt(e){return e=e.childContextTypes,e!=null}function gs(){ze(Lt),ze(gt)}function o0(e,t,r){if(gt.current!==Tr)throw Error(M(168));Ne(gt,t),Ne(Lt,r)}function ag(e,t,r){var u=e.stateNode;if(t=t.childContextTypes,typeof u.getChildContext!="function")return r;u=u.getChildContext();for(var o in u)if(!(o in t))throw Error(M(108,JC(e)||"Unknown",o));return $e({},r,u)}function ys(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Tr,ri=gt.current,Ne(gt,e),Ne(Lt,Lt.current),!0}function l0(e,t,r){var u=e.stateNode;if(!u)throw Error(M(169));r?(e=ag(e,t,ri),u.__reactInternalMemoizedMergedChildContext=e,ze(Lt),ze(gt),Ne(gt,e)):ze(Lt),Ne(Lt,r)}var Zn=null,Hs=!1,Fc=!1;function cg(e){Zn===null?Zn=[e]:Zn.push(e)}function m3(e){Hs=!0,cg(e)}function Lr(){if(!Fc&&Zn!==null){Fc=!0;var e=0,t=ke;try{var r=Zn;for(ke=1;e>=c,o-=c,Jn=1<<32-xn(t)+o|r<Y?(_e=O,O=null):_e=O.sibling;var le=E(w,O,x[Y],j);if(le===null){O===null&&(O=_e);break}e&&O&&le.alternate===null&&t(w,O),y=s(le,y,Y),$===null?F=le:$.sibling=le,$=le,O=_e}if(Y===x.length)return r(w,O),Te&&Yr(w,Y),F;if(O===null){for(;YY?(_e=O,O=null):_e=O.sibling;var Ye=E(w,O,le.value,j);if(Ye===null){O===null&&(O=_e);break}e&&O&&Ye.alternate===null&&t(w,O),y=s(Ye,y,Y),$===null?F=Ye:$.sibling=Ye,$=Ye,O=_e}if(le.done)return r(w,O),Te&&Yr(w,Y),F;if(O===null){for(;!le.done;Y++,le=x.next())le=P(w,le.value,j),le!==null&&(y=s(le,y,Y),$===null?F=le:$.sibling=le,$=le);return Te&&Yr(w,Y),F}for(O=u(w,O);!le.done;Y++,le=x.next())le=T(O,w,Y,le.value,j),le!==null&&(e&&le.alternate!==null&&O.delete(le.key===null?Y:le.key),y=s(le,y,Y),$===null?F=le:$.sibling=le,$=le);return e&&O.forEach(function(Mt){return t(w,Mt)}),Te&&Yr(w,Y),F}function ue(w,y,x,j){if(typeof x=="object"&&x!==null&&x.type===zi&&x.key===null&&(x=x.props.children),typeof x=="object"&&x!==null){switch(x.$$typeof){case Pl:e:{for(var F=x.key,$=y;$!==null;){if($.key===F){if(F=x.type,F===zi){if($.tag===7){r(w,$.sibling),y=o($,x.props.children),y.return=w,w=y;break e}}else if($.elementType===F||typeof F=="object"&&F!==null&&F.$$typeof===gr&&h0(F)===$.type){r(w,$.sibling),y=o($,x.props),y.ref=Bu(w,$,x),y.return=w,w=y;break e}r(w,$);break}else t(w,$);$=$.sibling}x.type===zi?(y=ei(x.props.children,w.mode,j,x.key),y.return=w,w=y):(j=ns(x.type,x.key,x.props,null,w.mode,j),j.ref=Bu(w,y,x),j.return=w,w=j)}return c(w);case Ii:e:{for($=x.key;y!==null;){if(y.key===$)if(y.tag===4&&y.stateNode.containerInfo===x.containerInfo&&y.stateNode.implementation===x.implementation){r(w,y.sibling),y=o(y,x.children||[]),y.return=w,w=y;break e}else{r(w,y);break}else t(w,y);y=y.sibling}y=Yc(x,w.mode,j),y.return=w,w=y}return c(w);case gr:return $=x._init,ue(w,y,$(x._payload),j)}if(Ku(x))return A(w,y,x,j);if(Du(x))return D(w,y,x,j);Ml(w,x)}return typeof x=="string"&&x!==""||typeof x=="number"?(x=""+x,y!==null&&y.tag===6?(r(w,y.sibling),y=o(y,x),y.return=w,w=y):(r(w,y),y=qc(x,w.mode,j),y.return=w,w=y),c(w)):r(w,y)}return ue}var bi=yg(!0),_g=yg(!1),zo={},Mn=Or(zo),wo=Or(zo),So=Or(zo);function Zr(e){if(e===zo)throw Error(M(174));return e}function Id(e,t){switch(Ne(So,t),Ne(wo,e),Ne(Mn,zo),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:ff(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=ff(t,e)}ze(Mn),Ne(Mn,t)}function eu(){ze(Mn),ze(wo),ze(So)}function wg(e){Zr(So.current);var t=Zr(Mn.current),r=ff(t,e.type);t!==r&&(Ne(wo,e),Ne(Mn,r))}function zd(e){wo.current===e&&(ze(Mn),ze(wo))}var Le=Or(0);function Es(e){for(var t=e;t!==null;){if(t.tag===13){var r=t.memoizedState;if(r!==null&&(r=r.dehydrated,r===null||r.data==="$?"||r.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if(t.flags&128)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var Wc=[];function Td(){for(var e=0;er?r:4,e(!0);var u=Bc.transition;Bc.transition={};try{e(!1),t()}finally{ke=r,Bc.transition=u}}function Dg(){return cn().memoizedState}function _3(e,t,r){var u=jr(e);if(r={lane:u,action:r,hasEagerState:!1,eagerState:null,next:null},$g(e))Mg(t,r);else if(r=hg(e,t,r,u),r!==null){var o=xt();kn(r,e,u,o),Fg(r,t,u)}}function w3(e,t,r){var u=jr(e),o={lane:u,action:r,hasEagerState:!1,eagerState:null,next:null};if($g(e))Mg(t,o);else{var s=e.alternate;if(e.lanes===0&&(s===null||s.lanes===0)&&(s=t.lastRenderedReducer,s!==null))try{var c=t.lastRenderedState,p=s(c,r);if(o.hasEagerState=!0,o.eagerState=p,Cn(p,c)){var m=t.interleaved;m===null?(o.next=o,Rd(t)):(o.next=m.next,m.next=o),t.interleaved=o;return}}catch{}finally{}r=hg(e,t,o,u),r!==null&&(o=xt(),kn(r,e,u,o),Fg(r,t,u))}}function $g(e){var t=e.alternate;return e===De||t!==null&&t===De}function Mg(e,t){ro=Cs=!0;var r=e.pending;r===null?t.next=t:(t.next=r.next,r.next=t),e.pending=t}function Fg(e,t,r){if(r&4194240){var u=t.lanes;u&=e.pendingLanes,r|=u,t.lanes=r,hd(e,r)}}var Ns={readContext:an,useCallback:ht,useContext:ht,useEffect:ht,useImperativeHandle:ht,useInsertionEffect:ht,useLayoutEffect:ht,useMemo:ht,useReducer:ht,useRef:ht,useState:ht,useDebugValue:ht,useDeferredValue:ht,useTransition:ht,useMutableSource:ht,useSyncExternalStore:ht,useId:ht,unstable_isNewReconciler:!1},S3={readContext:an,useCallback:function(e,t){return On().memoizedState=[e,t===void 0?null:t],e},useContext:an,useEffect:v0,useImperativeHandle:function(e,t,r){return r=r!=null?r.concat([e]):null,Jl(4194308,4,zg.bind(null,t,e),r)},useLayoutEffect:function(e,t){return Jl(4194308,4,e,t)},useInsertionEffect:function(e,t){return Jl(4,2,e,t)},useMemo:function(e,t){var r=On();return t=t===void 0?null:t,e=e(),r.memoizedState=[e,t],e},useReducer:function(e,t,r){var u=On();return t=r!==void 0?r(t):t,u.memoizedState=u.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},u.queue=e,e=e.dispatch=_3.bind(null,De,e),[u.memoizedState,e]},useRef:function(e){var t=On();return e={current:e},t.memoizedState=e},useState:m0,useDebugValue:$d,useDeferredValue:function(e){return On().memoizedState=e},useTransition:function(){var e=m0(!1),t=e[0];return e=y3.bind(null,e[1]),On().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,r){var u=De,o=On();if(Te){if(r===void 0)throw Error(M(407));r=r()}else{if(r=t(),rt===null)throw Error(M(349));ui&30||kg(u,t,r)}o.memoizedState=r;var s={value:r,getSnapshot:t};return o.queue=s,v0(Cg.bind(null,u,s,e),[e]),u.flags|=2048,Eo(9,Eg.bind(null,u,s,r,t),void 0,null),r},useId:function(){var e=On(),t=rt.identifierPrefix;if(Te){var r=bn,u=Jn;r=(u&~(1<<32-xn(u)-1)).toString(32)+r,t=":"+t+"R"+r,r=xo++,0p||o[c]!==s[p]){var h=` +`+o[c].replace(" at new "," at ");return e.displayName&&h.includes("")&&(h=h.replace("",e.displayName)),h}while(1<=c&&0<=p);break}}}finally{Ec=!1,Error.prepareStackTrace=r}return(e=e?e.displayName||e.name:"")?Yu(e):""}function ZC(e){switch(e.tag){case 5:return Yu(e.type);case 16:return Yu("Lazy");case 13:return Yu("Suspense");case 19:return Yu("SuspenseList");case 0:case 2:case 15:return e=Cc(e.type,!1),e;case 11:return e=Cc(e.type.render,!1),e;case 1:return e=Cc(e.type,!0),e;default:return""}}function of(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case Ti:return"Fragment";case zi:return"Portal";case nf:return"Profiler";case ad:return"StrictMode";case rf:return"Suspense";case uf:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case gv:return(e.displayName||"Context")+".Consumer";case vv:return(e._context.displayName||"Context")+".Provider";case cd:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case fd:return t=e.displayName||null,t!==null?t:of(e.type)||"Memo";case gr:t=e._payload,e=e._init;try{return of(e(t))}catch{}}return null}function JC(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return of(t);case 8:return t===ad?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function zr(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function _v(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function bC(e){var t=_v(e)?"checked":"value",r=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),u=""+e[t];if(!e.hasOwnProperty(t)&&typeof r<"u"&&typeof r.get=="function"&&typeof r.set=="function"){var o=r.get,s=r.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(c){u=""+c,s.call(this,c)}}),Object.defineProperty(e,t,{enumerable:r.enumerable}),{getValue:function(){return u},setValue:function(c){u=""+c},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Rl(e){e._valueTracker||(e._valueTracker=bC(e))}function wv(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var r=t.getValue(),u="";return e&&(u=_v(e)?e.checked?"true":"false":e.value),e=u,e!==r?(t.setValue(e),!0):!1}function ss(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function lf(e,t){var r=t.checked;return $e({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:r??e._wrapperState.initialChecked})}function Am(e,t){var r=t.defaultValue==null?"":t.defaultValue,u=t.checked!=null?t.checked:t.defaultChecked;r=zr(t.value!=null?t.value:r),e._wrapperState={initialChecked:u,initialValue:r,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function Sv(e,t){t=t.checked,t!=null&&sd(e,"checked",t,!1)}function sf(e,t){Sv(e,t);var r=zr(t.value),u=t.type;if(r!=null)u==="number"?(r===0&&e.value===""||e.value!=r)&&(e.value=""+r):e.value!==""+r&&(e.value=""+r);else if(u==="submit"||u==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?af(e,t.type,r):t.hasOwnProperty("defaultValue")&&af(e,t.type,zr(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Om(e,t,r){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var u=t.type;if(!(u!=="submit"&&u!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,r||t===e.value||(e.value=t),e.defaultValue=t}r=e.name,r!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,r!==""&&(e.name=r)}function af(e,t,r){(t!=="number"||ss(e.ownerDocument)!==e)&&(r==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+r&&(e.defaultValue=""+r))}var Ku=Array.isArray;function Vi(e,t,r,u){if(e=e.options,t){t={};for(var o=0;o"+t.valueOf().toString()+"",t=jl.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function ao(e,t){if(t){var r=e.firstChild;if(r&&r===e.lastChild&&r.nodeType===3){r.nodeValue=t;return}}e.textContent=t}var Ju={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},e2=["Webkit","ms","Moz","O"];Object.keys(Ju).forEach(function(e){e2.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Ju[t]=Ju[e]})});function Cv(e,t,r){return t==null||typeof t=="boolean"||t===""?"":r||typeof t!="number"||t===0||Ju.hasOwnProperty(e)&&Ju[e]?(""+t).trim():t+"px"}function Nv(e,t){e=e.style;for(var r in t)if(t.hasOwnProperty(r)){var u=r.indexOf("--")===0,o=Cv(r,t[r],u);r==="float"&&(r="cssFloat"),u?e.setProperty(r,o):e[r]=o}}var t2=$e({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function df(e,t){if(t){if(t2[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(M(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(M(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(M(61))}if(t.style!=null&&typeof t.style!="object")throw Error(M(62))}}function pf(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var hf=null;function dd(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var mf=null,Qi=null,qi=null;function $m(e){if(e=Io(e)){if(typeof mf!="function")throw Error(M(280));var t=e.stateNode;t&&(t=Bs(t),mf(e.stateNode,e.type,t))}}function Pv(e){Qi?qi?qi.push(e):qi=[e]:Qi=e}function Rv(){if(Qi){var e=Qi,t=qi;if(qi=Qi=null,$m(e),t)for(e=0;e>>=0,e===0?32:31-(d2(e)/p2|0)|0}var Il=64,zl=4194304;function Gu(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function ds(e,t){var r=e.pendingLanes;if(r===0)return 0;var u=0,o=e.suspendedLanes,s=e.pingedLanes,c=r&268435455;if(c!==0){var p=c&~o;p!==0?u=Gu(p):(s&=c,s!==0&&(u=Gu(s)))}else c=r&~o,c!==0?u=Gu(c):s!==0&&(u=Gu(s));if(u===0)return 0;if(t!==0&&t!==u&&!(t&o)&&(o=u&-u,s=t&-t,o>=s||o===16&&(s&4194240)!==0))return t;if(u&4&&(u|=r&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=u;0r;r++)t.push(e);return t}function Ro(e,t,r){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-xn(t),e[t]=r}function g2(e,t){var r=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var u=e.eventTimes;for(e=e.expirationTimes;0=eo),qm=" ",Ym=!1;function Kv(e,t){switch(e){case"keyup":return Q2.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Gv(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Ai=!1;function Y2(e,t){switch(e){case"compositionend":return Gv(t);case"keypress":return t.which!==32?null:(Ym=!0,qm);case"textInput":return e=t.data,e===qm&&Ym?null:e;default:return null}}function K2(e,t){if(Ai)return e==="compositionend"||!wd&&Kv(e,t)?(e=qv(),Kl=gd=Sr=null,Ai=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1=t)return{node:r,offset:t-e};e=u}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=Zm(r)}}function bv(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?bv(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function eg(){for(var e=window,t=ss();t instanceof e.HTMLIFrameElement;){try{var r=typeof t.contentWindow.location.href=="string"}catch{r=!1}if(r)e=t.contentWindow;else break;t=ss(e.document)}return t}function Sd(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function r3(e){var t=eg(),r=e.focusedElem,u=e.selectionRange;if(t!==r&&r&&r.ownerDocument&&bv(r.ownerDocument.documentElement,r)){if(u!==null&&Sd(r)){if(t=u.start,e=u.end,e===void 0&&(e=t),"selectionStart"in r)r.selectionStart=t,r.selectionEnd=Math.min(e,r.value.length);else if(e=(t=r.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var o=r.textContent.length,s=Math.min(u.start,o);u=u.end===void 0?s:Math.min(u.end,o),!e.extend&&s>u&&(o=u,u=s,s=o),o=Jm(r,s);var c=Jm(r,u);o&&c&&(e.rangeCount!==1||e.anchorNode!==o.node||e.anchorOffset!==o.offset||e.focusNode!==c.node||e.focusOffset!==c.offset)&&(t=t.createRange(),t.setStart(o.node,o.offset),e.removeAllRanges(),s>u?(e.addRange(t),e.extend(c.node,c.offset)):(t.setEnd(c.node,c.offset),e.addRange(t)))}}for(t=[],e=r;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof r.focus=="function"&&r.focus(),r=0;r=document.documentMode,Oi=null,Sf=null,no=null,xf=!1;function bm(e,t,r){var u=r.window===r?r.document:r.nodeType===9?r:r.ownerDocument;xf||Oi==null||Oi!==ss(u)||(u=Oi,"selectionStart"in u&&Sd(u)?u={start:u.selectionStart,end:u.selectionEnd}:(u=(u.ownerDocument&&u.ownerDocument.defaultView||window).getSelection(),u={anchorNode:u.anchorNode,anchorOffset:u.anchorOffset,focusNode:u.focusNode,focusOffset:u.focusOffset}),no&&vo(no,u)||(no=u,u=ms(Sf,"onSelect"),0$i||(e.current=Rf[$i],Rf[$i]=null,$i--)}function Ne(e,t){$i++,Rf[$i]=e.current,e.current=t}var Tr={},gt=Or(Tr),Lt=Or(!1),ri=Tr;function Ji(e,t){var r=e.type.contextTypes;if(!r)return Tr;var u=e.stateNode;if(u&&u.__reactInternalMemoizedUnmaskedChildContext===t)return u.__reactInternalMemoizedMaskedChildContext;var o={},s;for(s in r)o[s]=t[s];return u&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function Dt(e){return e=e.childContextTypes,e!=null}function gs(){ze(Lt),ze(gt)}function o0(e,t,r){if(gt.current!==Tr)throw Error(M(168));Ne(gt,t),Ne(Lt,r)}function ag(e,t,r){var u=e.stateNode;if(t=t.childContextTypes,typeof u.getChildContext!="function")return r;u=u.getChildContext();for(var o in u)if(!(o in t))throw Error(M(108,JC(e)||"Unknown",o));return $e({},r,u)}function ys(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Tr,ri=gt.current,Ne(gt,e),Ne(Lt,Lt.current),!0}function l0(e,t,r){var u=e.stateNode;if(!u)throw Error(M(169));r?(e=ag(e,t,ri),u.__reactInternalMemoizedMergedChildContext=e,ze(Lt),ze(gt),Ne(gt,e)):ze(Lt),Ne(Lt,r)}var Zn=null,Hs=!1,Fc=!1;function cg(e){Zn===null?Zn=[e]:Zn.push(e)}function m3(e){Hs=!0,cg(e)}function Lr(){if(!Fc&&Zn!==null){Fc=!0;var e=0,t=ke;try{var r=Zn;for(ke=1;e>=c,o-=c,Jn=1<<32-xn(t)+o|r<Y?(_e=O,O=null):_e=O.sibling;var le=E(w,O,x[Y],j);if(le===null){O===null&&(O=_e);break}e&&O&&le.alternate===null&&t(w,O),y=s(le,y,Y),$===null?F=le:$.sibling=le,$=le,O=_e}if(Y===x.length)return r(w,O),Te&&Yr(w,Y),F;if(O===null){for(;YY?(_e=O,O=null):_e=O.sibling;var Ye=E(w,O,le.value,j);if(Ye===null){O===null&&(O=_e);break}e&&O&&Ye.alternate===null&&t(w,O),y=s(Ye,y,Y),$===null?F=Ye:$.sibling=Ye,$=Ye,O=_e}if(le.done)return r(w,O),Te&&Yr(w,Y),F;if(O===null){for(;!le.done;Y++,le=x.next())le=P(w,le.value,j),le!==null&&(y=s(le,y,Y),$===null?F=le:$.sibling=le,$=le);return Te&&Yr(w,Y),F}for(O=u(w,O);!le.done;Y++,le=x.next())le=T(O,w,Y,le.value,j),le!==null&&(e&&le.alternate!==null&&O.delete(le.key===null?Y:le.key),y=s(le,y,Y),$===null?F=le:$.sibling=le,$=le);return e&&O.forEach(function(Mt){return t(w,Mt)}),Te&&Yr(w,Y),F}function ue(w,y,x,j){if(typeof x=="object"&&x!==null&&x.type===Ti&&x.key===null&&(x=x.props.children),typeof x=="object"&&x!==null){switch(x.$$typeof){case Pl:e:{for(var F=x.key,$=y;$!==null;){if($.key===F){if(F=x.type,F===Ti){if($.tag===7){r(w,$.sibling),y=o($,x.props.children),y.return=w,w=y;break e}}else if($.elementType===F||typeof F=="object"&&F!==null&&F.$$typeof===gr&&h0(F)===$.type){r(w,$.sibling),y=o($,x.props),y.ref=Hu(w,$,x),y.return=w,w=y;break e}r(w,$);break}else t(w,$);$=$.sibling}x.type===Ti?(y=ei(x.props.children,w.mode,j,x.key),y.return=w,w=y):(j=ns(x.type,x.key,x.props,null,w.mode,j),j.ref=Hu(w,y,x),j.return=w,w=j)}return c(w);case zi:e:{for($=x.key;y!==null;){if(y.key===$)if(y.tag===4&&y.stateNode.containerInfo===x.containerInfo&&y.stateNode.implementation===x.implementation){r(w,y.sibling),y=o(y,x.children||[]),y.return=w,w=y;break e}else{r(w,y);break}else t(w,y);y=y.sibling}y=Yc(x,w.mode,j),y.return=w,w=y}return c(w);case gr:return $=x._init,ue(w,y,$(x._payload),j)}if(Ku(x))return A(w,y,x,j);if($u(x))return D(w,y,x,j);Ml(w,x)}return typeof x=="string"&&x!==""||typeof x=="number"?(x=""+x,y!==null&&y.tag===6?(r(w,y.sibling),y=o(y,x),y.return=w,w=y):(r(w,y),y=qc(x,w.mode,j),y.return=w,w=y),c(w)):r(w,y)}return ue}var eu=yg(!0),_g=yg(!1),zo={},Mn=Or(zo),wo=Or(zo),So=Or(zo);function Zr(e){if(e===zo)throw Error(M(174));return e}function Id(e,t){switch(Ne(So,t),Ne(wo,e),Ne(Mn,zo),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:ff(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=ff(t,e)}ze(Mn),Ne(Mn,t)}function tu(){ze(Mn),ze(wo),ze(So)}function wg(e){Zr(So.current);var t=Zr(Mn.current),r=ff(t,e.type);t!==r&&(Ne(wo,e),Ne(Mn,r))}function zd(e){wo.current===e&&(ze(Mn),ze(wo))}var Le=Or(0);function Es(e){for(var t=e;t!==null;){if(t.tag===13){var r=t.memoizedState;if(r!==null&&(r=r.dehydrated,r===null||r.data==="$?"||r.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if(t.flags&128)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var Wc=[];function Td(){for(var e=0;er?r:4,e(!0);var u=Bc.transition;Bc.transition={};try{e(!1),t()}finally{ke=r,Bc.transition=u}}function Dg(){return cn().memoizedState}function _3(e,t,r){var u=jr(e);if(r={lane:u,action:r,hasEagerState:!1,eagerState:null,next:null},$g(e))Mg(t,r);else if(r=hg(e,t,r,u),r!==null){var o=xt();kn(r,e,u,o),Fg(r,t,u)}}function w3(e,t,r){var u=jr(e),o={lane:u,action:r,hasEagerState:!1,eagerState:null,next:null};if($g(e))Mg(t,o);else{var s=e.alternate;if(e.lanes===0&&(s===null||s.lanes===0)&&(s=t.lastRenderedReducer,s!==null))try{var c=t.lastRenderedState,p=s(c,r);if(o.hasEagerState=!0,o.eagerState=p,Cn(p,c)){var h=t.interleaved;h===null?(o.next=o,Rd(t)):(o.next=h.next,h.next=o),t.interleaved=o;return}}catch{}finally{}r=hg(e,t,o,u),r!==null&&(o=xt(),kn(r,e,u,o),Fg(r,t,u))}}function $g(e){var t=e.alternate;return e===De||t!==null&&t===De}function Mg(e,t){ro=Cs=!0;var r=e.pending;r===null?t.next=t:(t.next=r.next,r.next=t),e.pending=t}function Fg(e,t,r){if(r&4194240){var u=t.lanes;u&=e.pendingLanes,r|=u,t.lanes=r,hd(e,r)}}var Ns={readContext:an,useCallback:ht,useContext:ht,useEffect:ht,useImperativeHandle:ht,useInsertionEffect:ht,useLayoutEffect:ht,useMemo:ht,useReducer:ht,useRef:ht,useState:ht,useDebugValue:ht,useDeferredValue:ht,useTransition:ht,useMutableSource:ht,useSyncExternalStore:ht,useId:ht,unstable_isNewReconciler:!1},S3={readContext:an,useCallback:function(e,t){return On().memoizedState=[e,t===void 0?null:t],e},useContext:an,useEffect:v0,useImperativeHandle:function(e,t,r){return r=r!=null?r.concat([e]):null,Jl(4194308,4,zg.bind(null,t,e),r)},useLayoutEffect:function(e,t){return Jl(4194308,4,e,t)},useInsertionEffect:function(e,t){return Jl(4,2,e,t)},useMemo:function(e,t){var r=On();return t=t===void 0?null:t,e=e(),r.memoizedState=[e,t],e},useReducer:function(e,t,r){var u=On();return t=r!==void 0?r(t):t,u.memoizedState=u.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},u.queue=e,e=e.dispatch=_3.bind(null,De,e),[u.memoizedState,e]},useRef:function(e){var t=On();return e={current:e},t.memoizedState=e},useState:m0,useDebugValue:$d,useDeferredValue:function(e){return On().memoizedState=e},useTransition:function(){var e=m0(!1),t=e[0];return e=y3.bind(null,e[1]),On().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,r){var u=De,o=On();if(Te){if(r===void 0)throw Error(M(407));r=r()}else{if(r=t(),rt===null)throw Error(M(349));ui&30||kg(u,t,r)}o.memoizedState=r;var s={value:r,getSnapshot:t};return o.queue=s,v0(Cg.bind(null,u,s,e),[e]),u.flags|=2048,Eo(9,Eg.bind(null,u,s,r,t),void 0,null),r},useId:function(){var e=On(),t=rt.identifierPrefix;if(Te){var r=bn,u=Jn;r=(u&~(1<<32-xn(u)-1)).toString(32)+r,t=":"+t+"R"+r,r=xo++,0<\/script>",e=e.removeChild(e.firstChild)):typeof u.is=="string"?e=c.createElement(r,{is:u.is}):(e=c.createElement(r),r==="select"&&(c=e,u.multiple?c.multiple=!0:u.size&&(c.size=u.size))):e=c.createElementNS(e,r),e[Dn]=t,e[_o]=u,Kg(e,t,!1,!1),t.stateNode=e;e:{switch(c=pf(r,u),r){case"dialog":je("cancel",e),je("close",e),o=u;break;case"iframe":case"object":case"embed":je("load",e),o=u;break;case"video":case"audio":for(o=0;onu&&(t.flags|=128,u=!0,Hu(s,!1),t.lanes=4194304)}else{if(!u)if(e=Es(c),e!==null){if(t.flags|=128,u=!0,r=e.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),Hu(s,!0),s.tail===null&&s.tailMode==="hidden"&&!c.alternate&&!Te)return mt(t),null}else 2*Ue()-s.renderingStartTime>nu&&r!==1073741824&&(t.flags|=128,u=!0,Hu(s,!1),t.lanes=4194304);s.isBackwards?(c.sibling=t.child,t.child=c):(r=s.last,r!==null?r.sibling=c:t.child=c,s.last=c)}return s.tail!==null?(t=s.tail,s.rendering=t,s.tail=t.sibling,s.renderingStartTime=Ue(),t.sibling=null,r=Le.current,Ne(Le,u?r&1|2:r&1),t):(mt(t),null);case 22:case 23:return Ud(),u=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==u&&(t.flags|=8192),u&&t.mode&1?Ht&1073741824&&(mt(t),t.subtreeFlags&6&&(t.flags|=8192)):mt(t),null;case 24:return null;case 25:return null}throw Error(M(156,t.tag))}function j3(e,t){switch(kd(t),t.tag){case 1:return Dt(t.type)&&gs(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return eu(),ze(Lt),ze(gt),Td(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return zd(t),null;case 13:if(ze(Le),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(M(340));Ji()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return ze(Le),null;case 4:return eu(),null;case 10:return Pd(t.type._context),null;case 22:case 23:return Ud(),null;case 24:return null;default:return null}}var Wl=!1,vt=!1,I3=typeof WeakSet=="function"?WeakSet:Set,q=null;function Wi(e,t){var r=e.ref;if(r!==null)if(typeof r=="function")try{r(null)}catch(u){We(e,t,u)}else r.current=null}function Wf(e,t,r){try{r()}catch(u){We(e,t,u)}}var C0=!1;function z3(e,t){if(kf=ps,e=eg(),Sd(e)){if("selectionStart"in e)var r={start:e.selectionStart,end:e.selectionEnd};else e:{r=(r=e.ownerDocument)&&r.defaultView||window;var u=r.getSelection&&r.getSelection();if(u&&u.rangeCount!==0){r=u.anchorNode;var o=u.anchorOffset,s=u.focusNode;u=u.focusOffset;try{r.nodeType,s.nodeType}catch{r=null;break e}var c=0,p=-1,m=-1,_=0,N=0,P=e,E=null;t:for(;;){for(var T;P!==r||o!==0&&P.nodeType!==3||(p=c+o),P!==s||u!==0&&P.nodeType!==3||(m=c+u),P.nodeType===3&&(c+=P.nodeValue.length),(T=P.firstChild)!==null;)E=P,P=T;for(;;){if(P===e)break t;if(E===r&&++_===o&&(p=c),E===s&&++N===u&&(m=c),(T=P.nextSibling)!==null)break;P=E,E=P.parentNode}P=T}r=p===-1||m===-1?null:{start:p,end:m}}else r=null}r=r||{start:0,end:0}}else r=null;for(Ef={focusedElem:e,selectionRange:r},ps=!1,q=t;q!==null;)if(t=q,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,q=e;else for(;q!==null;){t=q;try{var A=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(A!==null){var D=A.memoizedProps,ue=A.memoizedState,w=t.stateNode,y=w.getSnapshotBeforeUpdate(t.elementType===t.type?D:_n(t.type,D),ue);w.__reactInternalSnapshotBeforeUpdate=y}break;case 3:var x=t.stateNode.containerInfo;x.nodeType===1?x.textContent="":x.nodeType===9&&x.documentElement&&x.removeChild(x.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(M(163))}}catch(j){We(t,t.return,j)}if(e=t.sibling,e!==null){e.return=t.return,q=e;break}q=t.return}return A=C0,C0=!1,A}function io(e,t,r){var u=t.updateQueue;if(u=u!==null?u.lastEffect:null,u!==null){var o=u=u.next;do{if((o.tag&e)===e){var s=o.destroy;o.destroy=void 0,s!==void 0&&Wf(t,r,s)}o=o.next}while(o!==u)}}function Qs(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var r=t=t.next;do{if((r.tag&e)===e){var u=r.create;r.destroy=u()}r=r.next}while(r!==t)}}function Bf(e){var t=e.ref;if(t!==null){var r=e.stateNode;switch(e.tag){case 5:e=r;break;default:e=r}typeof t=="function"?t(e):t.current=e}}function Zg(e){var t=e.alternate;t!==null&&(e.alternate=null,Zg(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[Dn],delete t[_o],delete t[Pf],delete t[p3],delete t[h3])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function Jg(e){return e.tag===5||e.tag===3||e.tag===4}function N0(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Jg(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function Hf(e,t,r){var u=e.tag;if(u===5||u===6)e=e.stateNode,t?r.nodeType===8?r.parentNode.insertBefore(e,t):r.insertBefore(e,t):(r.nodeType===8?(t=r.parentNode,t.insertBefore(e,r)):(t=r,t.appendChild(e)),r=r._reactRootContainer,r!=null||t.onclick!==null||(t.onclick=vs));else if(u!==4&&(e=e.child,e!==null))for(Hf(e,t,r),e=e.sibling;e!==null;)Hf(e,t,r),e=e.sibling}function Uf(e,t,r){var u=e.tag;if(u===5||u===6)e=e.stateNode,t?r.insertBefore(e,t):r.appendChild(e);else if(u!==4&&(e=e.child,e!==null))for(Uf(e,t,r),e=e.sibling;e!==null;)Uf(e,t,r),e=e.sibling}var st=null,wn=!1;function mr(e,t,r){for(r=r.child;r!==null;)bg(e,t,r),r=r.sibling}function bg(e,t,r){if($n&&typeof $n.onCommitFiberUnmount=="function")try{$n.onCommitFiberUnmount($s,r)}catch{}switch(r.tag){case 5:vt||Wi(r,t);case 6:var u=st,o=wn;st=null,mr(e,t,r),st=u,wn=o,st!==null&&(wn?(e=st,r=r.stateNode,e.nodeType===8?e.parentNode.removeChild(r):e.removeChild(r)):st.removeChild(r.stateNode));break;case 18:st!==null&&(wn?(e=st,r=r.stateNode,e.nodeType===8?Mc(e.parentNode,r):e.nodeType===1&&Mc(e,r),ho(e)):Mc(st,r.stateNode));break;case 4:u=st,o=wn,st=r.stateNode.containerInfo,wn=!0,mr(e,t,r),st=u,wn=o;break;case 0:case 11:case 14:case 15:if(!vt&&(u=r.updateQueue,u!==null&&(u=u.lastEffect,u!==null))){o=u=u.next;do{var s=o,c=s.destroy;s=s.tag,c!==void 0&&(s&2||s&4)&&Wf(r,t,c),o=o.next}while(o!==u)}mr(e,t,r);break;case 1:if(!vt&&(Wi(r,t),u=r.stateNode,typeof u.componentWillUnmount=="function"))try{u.props=r.memoizedProps,u.state=r.memoizedState,u.componentWillUnmount()}catch(p){We(r,t,p)}mr(e,t,r);break;case 21:mr(e,t,r);break;case 22:r.mode&1?(vt=(u=vt)||r.memoizedState!==null,mr(e,t,r),vt=u):mr(e,t,r);break;default:mr(e,t,r)}}function P0(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var r=e.stateNode;r===null&&(r=e.stateNode=new I3),t.forEach(function(u){var o=W3.bind(null,e,u);r.has(u)||(r.add(u),u.then(o,o))})}}function yn(e,t){var r=t.deletions;if(r!==null)for(var u=0;uo&&(o=c),u&=~s}if(u=o,u=Ue()-u,u=(120>u?120:480>u?480:1080>u?1080:1920>u?1920:3e3>u?3e3:4320>u?4320:1960*A3(u/1960))-u,10e?16:e,xr===null)var u=!1;else{if(e=xr,xr=null,js=0,ve&6)throw Error(M(331));var o=ve;for(ve|=4,q=e.current;q!==null;){var s=q,c=s.child;if(q.flags&16){var p=s.deletions;if(p!==null){for(var m=0;mUe()-Bd?br(e,0):Wd|=r),$t(e,t)}function l1(e,t){t===0&&(e.mode&1?(t=zl,zl<<=1,!(zl&130023424)&&(zl=4194304)):t=1);var r=xt();e=rr(e,t),e!==null&&(Ro(e,t,r),$t(e,r))}function F3(e){var t=e.memoizedState,r=0;t!==null&&(r=t.retryLane),l1(e,r)}function W3(e,t){var r=0;switch(e.tag){case 13:var u=e.stateNode,o=e.memoizedState;o!==null&&(r=o.retryLane);break;case 19:u=e.stateNode;break;default:throw Error(M(314))}u!==null&&u.delete(t),l1(e,r)}var s1;s1=function(e,t,r){if(e!==null)if(e.memoizedProps!==t.pendingProps||Lt.current)At=!0;else{if(!(e.lanes&r)&&!(t.flags&128))return At=!1,P3(e,t,r);At=!!(e.flags&131072)}else At=!1,Te&&t.flags&1048576&&fg(t,ws,t.index);switch(t.lanes=0,t.tag){case 2:var u=t.type;bl(e,t),e=t.pendingProps;var o=Zi(t,gt.current);Yi(t,r),o=Od(null,t,u,e,o,r);var s=Ld();return t.flags|=1,typeof o=="object"&&o!==null&&typeof o.render=="function"&&o.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Dt(u)?(s=!0,ys(t)):s=!1,t.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,jd(t),o.updater=Us,t.stateNode=o,o._reactInternals=t,Af(t,u,e,r),t=Df(null,t,u,!0,s,r)):(t.tag=0,Te&&s&&xd(t),St(null,t,o,r),t=t.child),t;case 16:u=t.elementType;e:{switch(bl(e,t),e=t.pendingProps,o=u._init,u=o(u._payload),t.type=u,o=t.tag=H3(u),e=_n(u,e),o){case 0:t=Lf(null,t,u,e,r);break e;case 1:t=x0(null,t,u,e,r);break e;case 11:t=w0(null,t,u,e,r);break e;case 14:t=S0(null,t,u,_n(u.type,e),r);break e}throw Error(M(306,u,""))}return t;case 0:return u=t.type,o=t.pendingProps,o=t.elementType===u?o:_n(u,o),Lf(e,t,u,o,r);case 1:return u=t.type,o=t.pendingProps,o=t.elementType===u?o:_n(u,o),x0(e,t,u,o,r);case 3:e:{if(Qg(t),e===null)throw Error(M(387));u=t.pendingProps,s=t.memoizedState,o=s.element,mg(e,t),ks(t,u,null,r);var c=t.memoizedState;if(u=c.element,s.isDehydrated)if(s={element:u,isDehydrated:!1,cache:c.cache,pendingSuspenseBoundaries:c.pendingSuspenseBoundaries,transitions:c.transitions},t.updateQueue.baseState=s,t.memoizedState=s,t.flags&256){o=tu(Error(M(423)),t),t=k0(e,t,u,r,o);break e}else if(u!==o){o=tu(Error(M(424)),t),t=k0(e,t,u,r,o);break e}else for(Ut=Nr(t.stateNode.containerInfo.firstChild),Vt=t,Te=!0,Sn=null,r=_g(t,null,u,r),t.child=r;r;)r.flags=r.flags&-3|4096,r=r.sibling;else{if(Ji(),u===o){t=ir(e,t,r);break e}St(e,t,u,r)}t=t.child}return t;case 5:return wg(t),e===null&&If(t),u=t.type,o=t.pendingProps,s=e!==null?e.memoizedProps:null,c=o.children,Cf(u,o)?c=null:s!==null&&Cf(u,s)&&(t.flags|=32),Vg(e,t),St(e,t,c,r),t.child;case 6:return e===null&&If(t),null;case 13:return qg(e,t,r);case 4:return Id(t,t.stateNode.containerInfo),u=t.pendingProps,e===null?t.child=bi(t,null,u,r):St(e,t,u,r),t.child;case 11:return u=t.type,o=t.pendingProps,o=t.elementType===u?o:_n(u,o),w0(e,t,u,o,r);case 7:return St(e,t,t.pendingProps,r),t.child;case 8:return St(e,t,t.pendingProps.children,r),t.child;case 12:return St(e,t,t.pendingProps.children,r),t.child;case 10:e:{if(u=t.type._context,o=t.pendingProps,s=t.memoizedProps,c=o.value,Ne(Ss,u._currentValue),u._currentValue=c,s!==null)if(Cn(s.value,c)){if(s.children===o.children&&!Lt.current){t=ir(e,t,r);break e}}else for(s=t.child,s!==null&&(s.return=t);s!==null;){var p=s.dependencies;if(p!==null){c=s.child;for(var m=p.firstContext;m!==null;){if(m.context===u){if(s.tag===1){m=er(-1,r&-r),m.tag=2;var _=s.updateQueue;if(_!==null){_=_.shared;var N=_.pending;N===null?m.next=m:(m.next=N.next,N.next=m),_.pending=m}}s.lanes|=r,m=s.alternate,m!==null&&(m.lanes|=r),zf(s.return,r,t),p.lanes|=r;break}m=m.next}}else if(s.tag===10)c=s.type===t.type?null:s.child;else if(s.tag===18){if(c=s.return,c===null)throw Error(M(341));c.lanes|=r,p=c.alternate,p!==null&&(p.lanes|=r),zf(c,r,t),c=s.sibling}else c=s.child;if(c!==null)c.return=s;else for(c=s;c!==null;){if(c===t){c=null;break}if(s=c.sibling,s!==null){s.return=c.return,c=s;break}c=c.return}s=c}St(e,t,o.children,r),t=t.child}return t;case 9:return o=t.type,u=t.pendingProps.children,Yi(t,r),o=an(o),u=u(o),t.flags|=1,St(e,t,u,r),t.child;case 14:return u=t.type,o=_n(u,t.pendingProps),o=_n(u.type,o),S0(e,t,u,o,r);case 15:return Hg(e,t,t.type,t.pendingProps,r);case 17:return u=t.type,o=t.pendingProps,o=t.elementType===u?o:_n(u,o),bl(e,t),t.tag=1,Dt(u)?(e=!0,ys(t)):e=!1,Yi(t,r),gg(t,u,o),Af(t,u,o,r),Df(null,t,u,!0,e,r);case 19:return Yg(e,t,r);case 22:return Ug(e,t,r)}throw Error(M(156,t.tag))};function a1(e,t){return Lv(e,t)}function B3(e,t,r,u){this.tag=e,this.key=r,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=u,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function ln(e,t,r,u){return new B3(e,t,r,u)}function Qd(e){return e=e.prototype,!(!e||!e.isReactComponent)}function H3(e){if(typeof e=="function")return Qd(e)?1:0;if(e!=null){if(e=e.$$typeof,e===cd)return 11;if(e===fd)return 14}return 2}function Ir(e,t){var r=e.alternate;return r===null?(r=ln(e.tag,t,e.key,e.mode),r.elementType=e.elementType,r.type=e.type,r.stateNode=e.stateNode,r.alternate=e,e.alternate=r):(r.pendingProps=t,r.type=e.type,r.flags=0,r.subtreeFlags=0,r.deletions=null),r.flags=e.flags&14680064,r.childLanes=e.childLanes,r.lanes=e.lanes,r.child=e.child,r.memoizedProps=e.memoizedProps,r.memoizedState=e.memoizedState,r.updateQueue=e.updateQueue,t=e.dependencies,r.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},r.sibling=e.sibling,r.index=e.index,r.ref=e.ref,r}function ns(e,t,r,u,o,s){var c=2;if(u=e,typeof e=="function")Qd(e)&&(c=1);else if(typeof e=="string")c=5;else e:switch(e){case zi:return ei(r.children,o,s,t);case ad:c=8,o|=8;break;case nf:return e=ln(12,r,t,o|2),e.elementType=nf,e.lanes=s,e;case rf:return e=ln(13,r,t,o),e.elementType=rf,e.lanes=s,e;case uf:return e=ln(19,r,t,o),e.elementType=uf,e.lanes=s,e;case yv:return Ys(r,o,s,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case vv:c=10;break e;case gv:c=9;break e;case cd:c=11;break e;case fd:c=14;break e;case gr:c=16,u=null;break e}throw Error(M(130,e==null?e:typeof e,""))}return t=ln(c,r,t,o),t.elementType=e,t.type=u,t.lanes=s,t}function ei(e,t,r,u){return e=ln(7,e,u,t),e.lanes=r,e}function Ys(e,t,r,u){return e=ln(22,e,u,t),e.elementType=yv,e.lanes=r,e.stateNode={isHidden:!1},e}function qc(e,t,r){return e=ln(6,e,null,t),e.lanes=r,e}function Yc(e,t,r){return t=ln(4,e.children!==null?e.children:[],e.key,t),t.lanes=r,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function U3(e,t,r,u,o){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Pc(0),this.expirationTimes=Pc(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Pc(0),this.identifierPrefix=u,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function qd(e,t,r,u,o,s,c,p,m){return e=new U3(e,t,r,p,m),t===1?(t=1,s===!0&&(t|=8)):t=0,s=ln(3,null,null,t),e.current=s,s.stateNode=e,s.memoizedState={element:u,isDehydrated:r,cache:null,transitions:null,pendingSuspenseBoundaries:null},jd(s),e}function V3(e,t,r){var u=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(p1)}catch(e){console.error(e)}}p1(),fv.exports=qt;var G3=fv.exports,L0=G3;ef.createRoot=L0.createRoot,ef.hydrateRoot=L0.hydrateRoot;var Ot=function(){return Ot=Object.assign||function(t){for(var r,u=1,o=arguments.length;u0?nt(fu,--fn):0,iu--,Qe===10&&(iu=1,bs--),Qe}function En(){return Qe=fn<_1?nt(fu,fn++):0,iu++,Qe===10&&(iu=1,bs++),Qe}function ti(){return nt(fu,fn)}function is(){return fn}function ta(e,t){return ru(fu,e,t)}function Gf(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function nN(e){return bs=iu=1,_1=Ln(fu=e),fn=0,[]}function rN(e){return fu="",e}function Kc(e){return g1(ta(fn-1,Xf(e===91?e+2:e===40?e+1:e)))}function iN(e){for(;(Qe=ti())&&Qe<33;)En();return Gf(e)>2||Gf(Qe)>3?"":" "}function uN(e,t){for(;--t&&En()&&!(Qe<48||Qe>102||Qe>57&&Qe<65||Qe>70&&Qe<97););return ta(e,is()+(t<6&&ti()==32&&En()==32))}function Xf(e){for(;En();)switch(Qe){case e:return fn;case 34:case 39:e!==34&&e!==39&&Xf(Qe);break;case 40:e===41&&Xf(e);break;case 92:En();break}return fn}function oN(e,t){for(;En()&&e+Qe!==57;)if(e+Qe===84&&ti()===47)break;return"/*"+ta(t,fn-1)+"*"+Zd(e===47?e:En())}function lN(e){for(;!Gf(ti());)En();return ta(e,fn)}function sN(e){return rN(us("",null,null,null,[""],e=nN(e),0,[0],e))}function us(e,t,r,u,o,s,c,p,m){for(var _=0,N=0,P=c,E=0,T=0,A=0,D=1,ue=1,w=1,y=0,x="",j=o,F=s,$=u,O=x;ue;)switch(A=y,y=En()){case 40:if(A!=108&&nt(O,P-1)==58){rs(O+=ce(Kc(y),"&","&\f"),"&\f",v1(_?p[_-1]:0))!=-1&&(w=-1);break}case 34:case 39:case 91:O+=Kc(y);break;case 9:case 10:case 13:case 32:O+=iN(A);break;case 92:O+=uN(is()-1,7);continue;case 47:switch(ti()){case 42:case 47:Zu(aN(oN(En(),is()),t,r,m),m);break;default:O+="/"}break;case 123*D:p[_++]=Ln(O)*w;case 125*D:case 59:case 0:switch(y){case 0:case 125:ue=0;case 59+N:w==-1&&(O=ce(O,/\f/g,"")),T>0&&Ln(O)-P&&Zu(T>32?M0(O+";",u,r,P-1,m):M0(ce(O," ","")+";",u,r,P-2,m),m);break;case 59:O+=";";default:if(Zu($=$0(O,t,r,_,N,o,p,x,j=[],F=[],P,s),s),y===123)if(N===0)us(O,t,$,$,j,s,P,p,F);else switch(E===99&&nt(O,3)===110?100:E){case 100:case 108:case 109:case 115:us(e,$,$,u&&Zu($0(e,$,$,0,0,o,p,x,o,j=[],P,F),F),o,F,P,p,u?j:F);break;default:us(O,$,$,$,[""],F,0,p,F)}}_=N=T=0,D=w=1,x=O="",P=c;break;case 58:P=1+Ln(O),T=A;default:if(D<1){if(y==123)--D;else if(y==125&&D++==0&&tN()==125)continue}switch(O+=Zd(y),y*D){case 38:w=N>0?1:(O+="\f",-1);break;case 44:p[_++]=(Ln(O)-1)*w,w=1;break;case 64:ti()===45&&(O+=Kc(En())),E=ti(),N=P=Ln(x=O+=lN(is())),y++;break;case 45:A===45&&Ln(O)==2&&(D=0)}}return s}function $0(e,t,r,u,o,s,c,p,m,_,N,P){for(var E=o-1,T=o===0?s:[""],A=y1(T),D=0,ue=0,w=0;D0?T[y]+" "+x:ce(x,/&\f/g,T[y])))&&(m[w++]=j);return ea(e,t,r,o===0?Js:p,m,_,N,P)}function aN(e,t,r,u){return ea(e,t,r,h1,Zd(eN()),ru(e,2,-2),0,u)}function M0(e,t,r,u,o){return ea(e,t,r,Xd,ru(e,0,u),ru(e,u+1,-1),u,o)}function w1(e,t,r){switch(J3(e,t)){case 5103:return Se+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return Se+e+e;case 4789:return lo+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return Se+e+lo+e+Ie+e+e;case 5936:switch(nt(e,t+11)){case 114:return Se+e+Ie+ce(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return Se+e+Ie+ce(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return Se+e+Ie+ce(e,/[svh]\w+-[tblr]{2}/,"lr")+e}case 6828:case 4268:case 2903:return Se+e+Ie+e+e;case 6165:return Se+e+Ie+"flex-"+e+e;case 5187:return Se+e+ce(e,/(\w+).+(:[^]+)/,Se+"box-$1$2"+Ie+"flex-$1$2")+e;case 5443:return Se+e+Ie+"flex-item-"+ce(e,/flex-|-self/g,"")+(Xn(e,/flex-|baseline/)?"":Ie+"grid-row-"+ce(e,/flex-|-self/g,""))+e;case 4675:return Se+e+Ie+"flex-line-pack"+ce(e,/align-content|flex-|-self/g,"")+e;case 5548:return Se+e+Ie+ce(e,"shrink","negative")+e;case 5292:return Se+e+Ie+ce(e,"basis","preferred-size")+e;case 6060:return Se+"box-"+ce(e,"-grow","")+Se+e+Ie+ce(e,"grow","positive")+e;case 4554:return Se+ce(e,/([^-])(transform)/g,"$1"+Se+"$2")+e;case 6187:return ce(ce(ce(e,/(zoom-|grab)/,Se+"$1"),/(image-set)/,Se+"$1"),e,"")+e;case 5495:case 3959:return ce(e,/(image-set\([^]*)/,Se+"$1$`$1");case 4968:return ce(ce(e,/(.+:)(flex-)?(.*)/,Se+"box-pack:$3"+Ie+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+Se+e+e;case 4200:if(!Xn(e,/flex-|baseline/))return Ie+"grid-column-align"+ru(e,t)+e;break;case 2592:case 3360:return Ie+ce(e,"template-","")+e;case 4384:case 3616:return r&&r.some(function(u,o){return t=o,Xn(u.props,/grid-\w+-end/)})?~rs(e+(r=r[t].value),"span",0)?e:Ie+ce(e,"-start","")+e+Ie+"grid-row-span:"+(~rs(r,"span",0)?Xn(r,/\d+/):+Xn(r,/\d+/)-+Xn(e,/\d+/))+";":Ie+ce(e,"-start","")+e;case 4896:case 4128:return r&&r.some(function(u){return Xn(u.props,/grid-\w+-start/)})?e:Ie+ce(ce(e,"-end","-span"),"span ","")+e;case 4095:case 3583:case 4068:case 2532:return ce(e,/(.+)-inline(.+)/,Se+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(Ln(e)-1-t>6)switch(nt(e,t+1)){case 109:if(nt(e,t+4)!==45)break;case 102:return ce(e,/(.+:)(.+)-([^]+)/,"$1"+Se+"$2-$3$1"+lo+(nt(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~rs(e,"stretch",0)?w1(ce(e,"stretch","fill-available"),t,r)+e:e}break;case 5152:case 5920:return ce(e,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,function(u,o,s,c,p,m,_){return Ie+o+":"+s+_+(c?Ie+o+"-span:"+(p?m:+m-+s)+_:"")+e});case 4949:if(nt(e,t+6)===121)return ce(e,":",":"+Se)+e;break;case 6444:switch(nt(e,nt(e,14)===45?18:11)){case 120:return ce(e,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+Se+(nt(e,14)===45?"inline-":"")+"box$3$1"+Se+"$2$3$1"+Ie+"$2box$3")+e;case 100:return ce(e,":",":"+Ie)+e}break;case 5719:case 2647:case 2135:case 3927:case 2391:return ce(e,"scroll-","scroll-snap-")+e}return e}function As(e,t){for(var r="",u=0;u-1&&!e.return)switch(e.type){case Xd:e.return=w1(e.value,e.length,r);return;case m1:return As([vr(e,{value:ce(e.value,"@","@"+Se)})],u);case Js:if(e.length)return b3(r=e.props,function(o){switch(Xn(o,u=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":ji(vr(e,{props:[ce(o,/:(read-\w+)/,":"+lo+"$1")]})),ji(vr(e,{props:[o]})),Kf(e,{props:D0(r,u)});break;case"::placeholder":ji(vr(e,{props:[ce(o,/:(plac\w+)/,":"+Se+"input-$1")]})),ji(vr(e,{props:[ce(o,/:(plac\w+)/,":"+lo+"$1")]})),ji(vr(e,{props:[ce(o,/:(plac\w+)/,Ie+"input-$1")]})),ji(vr(e,{props:[o]})),Kf(e,{props:D0(r,u)});break}return""})}}var hN={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},Bt={},uu=typeof process<"u"&&Bt!==void 0&&(Bt.REACT_APP_SC_ATTR||Bt.SC_ATTR)||"data-styled",S1="active",x1="data-styled-version",na="6.1.8",Jd=`/*!sc*/ -`,bd=typeof window<"u"&&"HTMLElement"in window,mN=!!(typeof SC_DISABLE_SPEEDY=="boolean"?SC_DISABLE_SPEEDY:typeof process<"u"&&Bt!==void 0&&Bt.REACT_APP_SC_DISABLE_SPEEDY!==void 0&&Bt.REACT_APP_SC_DISABLE_SPEEDY!==""?Bt.REACT_APP_SC_DISABLE_SPEEDY!=="false"&&Bt.REACT_APP_SC_DISABLE_SPEEDY:typeof process<"u"&&Bt!==void 0&&Bt.SC_DISABLE_SPEEDY!==void 0&&Bt.SC_DISABLE_SPEEDY!==""&&Bt.SC_DISABLE_SPEEDY!=="false"&&Bt.SC_DISABLE_SPEEDY),ra=Object.freeze([]),ou=Object.freeze({});function vN(e,t,r){return r===void 0&&(r=ou),e.theme!==r.theme&&e.theme||t||r.theme}var k1=new Set(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","track","u","ul","use","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"]),gN=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,yN=/(^-|-$)/g;function F0(e){return e.replace(gN,"-").replace(yN,"")}var _N=/(a)(d)/gi,Ul=52,W0=function(e){return String.fromCharCode(e+(e>25?39:97))};function Zf(e){var t,r="";for(t=Math.abs(e);t>Ul;t=t/Ul|0)r=W0(t%Ul)+r;return(W0(t%Ul)+r).replace(_N,"$1-$2")}var Gc,E1=5381,Hi=function(e,t){for(var r=t.length;r;)e=33*e^t.charCodeAt(--r);return e},C1=function(e){return Hi(E1,e)};function wN(e){return Zf(C1(e)>>>0)}function SN(e){return e.displayName||e.name||"Component"}function Xc(e){return typeof e=="string"&&!0}var N1=typeof Symbol=="function"&&Symbol.for,P1=N1?Symbol.for("react.memo"):60115,xN=N1?Symbol.for("react.forward_ref"):60112,kN={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},EN={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},R1={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},CN=((Gc={})[xN]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},Gc[P1]=R1,Gc);function B0(e){return("type"in(t=e)&&t.type.$$typeof)===P1?R1:"$$typeof"in e?CN[e.$$typeof]:kN;var t}var NN=Object.defineProperty,PN=Object.getOwnPropertyNames,H0=Object.getOwnPropertySymbols,RN=Object.getOwnPropertyDescriptor,jN=Object.getPrototypeOf,U0=Object.prototype;function j1(e,t,r){if(typeof t!="string"){if(U0){var u=jN(t);u&&u!==U0&&j1(e,u,r)}var o=PN(t);H0&&(o=o.concat(H0(t)));for(var s=B0(e),c=B0(t),p=0;p0?" Args: ".concat(t.join(", ")):""))}var IN=function(){function e(t){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=t}return e.prototype.indexOfGroup=function(t){for(var r=0,u=0;u=this.groupSizes.length){for(var u=this.groupSizes,o=u.length,s=o;t>=s;)if((s<<=1)<0)throw To(16,"".concat(t));this.groupSizes=new Uint32Array(s),this.groupSizes.set(u),this.length=s;for(var c=o;c=this.length||this.groupSizes[t]===0)return r;for(var u=this.groupSizes[t],o=this.indexOfGroup(t),s=o+u,c=o;c=0){var u=document.createTextNode(r);return this.element.insertBefore(u,this.nodes[t]||null),this.length++,!0}return!1},e.prototype.deleteRule=function(t){this.element.removeChild(this.nodes[t]),this.length--},e.prototype.getRule=function(t){return t0&&(ue+="".concat(w,","))}),m+="".concat(A).concat(D,'{content:"').concat(ue,'"}').concat(Jd)},N=0;N0?".".concat(t):E},N=m.slice();N.push(function(E){E.type===Js&&E.value.includes("&")&&(E.props[0]=E.props[0].replace(BN,r).replace(u,_))}),c.prefix&&N.push(pN),N.push(cN);var P=function(E,T,A,D){T===void 0&&(T=""),A===void 0&&(A=""),D===void 0&&(D="&"),t=D,r=T,u=new RegExp("\\".concat(r,"\\b"),"g");var ue=E.replace(HN,""),w=sN(A||T?"".concat(A," ").concat(T," { ").concat(ue," }"):ue);c.namespace&&(w=T1(w,c.namespace));var y=[];return As(w,fN(N.concat(dN(function(x){return y.push(x)})))),y};return P.hash=m.length?m.reduce(function(E,T){return T.name||To(15),Hi(E,T.name)},E1).toString():"",P}var VN=new z1,bf=UN(),A1=Gi.createContext({shouldForwardProp:void 0,styleSheet:VN,stylis:bf});A1.Consumer;Gi.createContext(void 0);function q0(){return rn.useContext(A1)}var QN=function(){function e(t,r){var u=this;this.inject=function(o,s){s===void 0&&(s=bf);var c=u.name+s.hash;o.hasNameForId(u.id,c)||o.insertRules(u.id,c,s(u.rules,c,"@keyframes"))},this.name=t,this.id="sc-keyframes-".concat(t),this.rules=r,tp(this,function(){throw To(12,String(u.name))})}return e.prototype.getName=function(t){return t===void 0&&(t=bf),this.name+t.hash},e}(),qN=function(e){return e>="A"&&e<="Z"};function Y0(e){for(var t="",r=0;r>>0);if(!r.hasNameForId(this.componentId,c)){var p=u(s,".".concat(c),void 0,this.componentId);r.insertRules(this.componentId,c,p)}o=Jr(o,c),this.staticRulesId=c}else{for(var m=Hi(this.baseHash,u.hash),_="",N=0;N>>0);r.hasNameForId(this.componentId,T)||r.insertRules(this.componentId,T,u(_,".".concat(T),void 0,this.componentId)),o=Jr(o,T)}}return o},e}(),D1=Gi.createContext(void 0);D1.Consumer;var Zc={};function XN(e,t,r){var u=ep(e),o=e,s=!Xc(e),c=t.attrs,p=c===void 0?ra:c,m=t.componentId,_=m===void 0?function(j,F){var $=typeof j!="string"?"sc":F0(j);Zc[$]=(Zc[$]||0)+1;var O="".concat($,"-").concat(wN(na+$+Zc[$]));return F?"".concat(F,"-").concat(O):O}(t.displayName,t.parentComponentId):m,N=t.displayName,P=N===void 0?function(j){return Xc(j)?"styled.".concat(j):"Styled(".concat(SN(j),")")}(e):N,E=t.displayName&&t.componentId?"".concat(F0(t.displayName),"-").concat(t.componentId):t.componentId||_,T=u&&o.attrs?o.attrs.concat(p).filter(Boolean):p,A=t.shouldForwardProp;if(u&&o.shouldForwardProp){var D=o.shouldForwardProp;if(t.shouldForwardProp){var ue=t.shouldForwardProp;A=function(j,F){return D(j,F)&&ue(j,F)}}else A=D}var w=new GN(r,E,u?o.componentStyle:void 0);function y(j,F){return function($,O,Y){var _e=$.attrs,le=$.componentStyle,Ye=$.defaultProps,Mt=$.foldedComponentIds,dn=$.styledComponentId,Nn=$.target,Ve=Gi.useContext(D1),pn=q0(),yt=$.shouldForwardProp||pn.shouldForwardProp,U=vN(O,Ve,Ye)||ou,J=function(G,W,H){for(var Z,ie=Ot(Ot({},W),{className:void 0,theme:H}),Be=0;Be{let r;function u(){clearTimeout(r)}function o(){u(),r=setTimeout(()=>{e()},t)}return o.cancel=u,o},X0=(e,t,r)=>(t=!t&&t!==0?e:t,r=!r&&r!==0?e:r,t>r?(console.error("min limit is greater than max limit"),e):er?r:e),M1=(e,t)=>e.clientX>t.left&&e.clientXt.top&&e.clientY{const r=t.getBoundingClientRect();return M1(e,r)},F1=ia.div` +`+s.stack}return{value:e,source:t,stack:o,digest:null}}function Vc(e,t,r){return{value:e,source:null,stack:r??null,digest:t??null}}function Of(e,t){try{console.error(t.value)}catch(r){setTimeout(function(){throw r})}}var E3=typeof WeakMap=="function"?WeakMap:Map;function Wg(e,t,r){r=er(-1,r),r.tag=3,r.payload={element:null};var u=t.value;return r.callback=function(){Rs||(Rs=!0,Vf=u),Of(e,t)},r}function Bg(e,t,r){r=er(-1,r),r.tag=3;var u=e.type.getDerivedStateFromError;if(typeof u=="function"){var o=t.value;r.payload=function(){return u(o)},r.callback=function(){Of(e,t)}}var s=e.stateNode;return s!==null&&typeof s.componentDidCatch=="function"&&(r.callback=function(){Of(e,t),typeof u!="function"&&(Rr===null?Rr=new Set([this]):Rr.add(this));var c=t.stack;this.componentDidCatch(t.value,{componentStack:c!==null?c:""})}),r}function g0(e,t,r){var u=e.pingCache;if(u===null){u=e.pingCache=new E3;var o=new Set;u.set(t,o)}else o=u.get(t),o===void 0&&(o=new Set,u.set(t,o));o.has(r)||(o.add(r),e=M3.bind(null,e,t,r),t.then(e,e))}function y0(e){do{var t;if((t=e.tag===13)&&(t=e.memoizedState,t=t!==null?t.dehydrated!==null:!0),t)return e;e=e.return}while(e!==null);return null}function _0(e,t,r,u,o){return e.mode&1?(e.flags|=65536,e.lanes=o,e):(e===t?e.flags|=65536:(e.flags|=128,r.flags|=131072,r.flags&=-52805,r.tag===1&&(r.alternate===null?r.tag=17:(t=er(-1,1),t.tag=2,Pr(r,t,1))),r.lanes|=1),e)}var C3=ur.ReactCurrentOwner,At=!1;function St(e,t,r,u){t.child=e===null?_g(t,null,r,u):eu(t,e.child,r,u)}function w0(e,t,r,u,o){r=r.render;var s=t.ref;return Ki(t,o),u=Od(e,t,r,u,s,o),r=Ld(),e!==null&&!At?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,ir(e,t,o)):(Te&&r&&xd(t),t.flags|=1,St(e,t,u,o),t.child)}function S0(e,t,r,u,o){if(e===null){var s=r.type;return typeof s=="function"&&!Qd(s)&&s.defaultProps===void 0&&r.compare===null&&r.defaultProps===void 0?(t.tag=15,t.type=s,Hg(e,t,s,u,o)):(e=ns(r.type,null,u,t,t.mode,o),e.ref=t.ref,e.return=t,t.child=e)}if(s=e.child,!(e.lanes&o)){var c=s.memoizedProps;if(r=r.compare,r=r!==null?r:vo,r(c,u)&&e.ref===t.ref)return ir(e,t,o)}return t.flags|=1,e=Ir(s,u),e.ref=t.ref,e.return=t,t.child=e}function Hg(e,t,r,u,o){if(e!==null){var s=e.memoizedProps;if(vo(s,u)&&e.ref===t.ref)if(At=!1,t.pendingProps=u=s,(e.lanes&o)!==0)e.flags&131072&&(At=!0);else return t.lanes=e.lanes,ir(e,t,o)}return Lf(e,t,r,u,o)}function Ug(e,t,r){var u=t.pendingProps,o=u.children,s=e!==null?e.memoizedState:null;if(u.mode==="hidden")if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},Ne(Hi,Ht),Ht|=r;else{if(!(r&1073741824))return e=s!==null?s.baseLanes|r:r,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,Ne(Hi,Ht),Ht|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},u=s!==null?s.baseLanes:r,Ne(Hi,Ht),Ht|=u}else s!==null?(u=s.baseLanes|r,t.memoizedState=null):u=r,Ne(Hi,Ht),Ht|=u;return St(e,t,o,r),t.child}function Vg(e,t){var r=t.ref;(e===null&&r!==null||e!==null&&e.ref!==r)&&(t.flags|=512,t.flags|=2097152)}function Lf(e,t,r,u,o){var s=Dt(r)?ri:gt.current;return s=Ji(t,s),Ki(t,o),r=Od(e,t,r,u,s,o),u=Ld(),e!==null&&!At?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,ir(e,t,o)):(Te&&u&&xd(t),t.flags|=1,St(e,t,r,o),t.child)}function x0(e,t,r,u,o){if(Dt(r)){var s=!0;ys(t)}else s=!1;if(Ki(t,o),t.stateNode===null)bl(e,t),gg(t,r,u),Af(t,r,u,o),u=!0;else if(e===null){var c=t.stateNode,p=t.memoizedProps;c.props=p;var h=c.context,_=r.contextType;typeof _=="object"&&_!==null?_=an(_):(_=Dt(r)?ri:gt.current,_=Ji(t,_));var N=r.getDerivedStateFromProps,P=typeof N=="function"||typeof c.getSnapshotBeforeUpdate=="function";P||typeof c.UNSAFE_componentWillReceiveProps!="function"&&typeof c.componentWillReceiveProps!="function"||(p!==u||h!==_)&&p0(t,c,u,_),yr=!1;var E=t.memoizedState;c.state=E,ks(t,u,c,o),h=t.memoizedState,p!==u||E!==h||Lt.current||yr?(typeof N=="function"&&(Tf(t,r,N,u),h=t.memoizedState),(p=yr||d0(t,r,p,u,E,h,_))?(P||typeof c.UNSAFE_componentWillMount!="function"&&typeof c.componentWillMount!="function"||(typeof c.componentWillMount=="function"&&c.componentWillMount(),typeof c.UNSAFE_componentWillMount=="function"&&c.UNSAFE_componentWillMount()),typeof c.componentDidMount=="function"&&(t.flags|=4194308)):(typeof c.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=u,t.memoizedState=h),c.props=u,c.state=h,c.context=_,u=p):(typeof c.componentDidMount=="function"&&(t.flags|=4194308),u=!1)}else{c=t.stateNode,mg(e,t),p=t.memoizedProps,_=t.type===t.elementType?p:_n(t.type,p),c.props=_,P=t.pendingProps,E=c.context,h=r.contextType,typeof h=="object"&&h!==null?h=an(h):(h=Dt(r)?ri:gt.current,h=Ji(t,h));var T=r.getDerivedStateFromProps;(N=typeof T=="function"||typeof c.getSnapshotBeforeUpdate=="function")||typeof c.UNSAFE_componentWillReceiveProps!="function"&&typeof c.componentWillReceiveProps!="function"||(p!==P||E!==h)&&p0(t,c,u,h),yr=!1,E=t.memoizedState,c.state=E,ks(t,u,c,o);var A=t.memoizedState;p!==P||E!==A||Lt.current||yr?(typeof T=="function"&&(Tf(t,r,T,u),A=t.memoizedState),(_=yr||d0(t,r,_,u,E,A,h)||!1)?(N||typeof c.UNSAFE_componentWillUpdate!="function"&&typeof c.componentWillUpdate!="function"||(typeof c.componentWillUpdate=="function"&&c.componentWillUpdate(u,A,h),typeof c.UNSAFE_componentWillUpdate=="function"&&c.UNSAFE_componentWillUpdate(u,A,h)),typeof c.componentDidUpdate=="function"&&(t.flags|=4),typeof c.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof c.componentDidUpdate!="function"||p===e.memoizedProps&&E===e.memoizedState||(t.flags|=4),typeof c.getSnapshotBeforeUpdate!="function"||p===e.memoizedProps&&E===e.memoizedState||(t.flags|=1024),t.memoizedProps=u,t.memoizedState=A),c.props=u,c.state=A,c.context=h,u=_):(typeof c.componentDidUpdate!="function"||p===e.memoizedProps&&E===e.memoizedState||(t.flags|=4),typeof c.getSnapshotBeforeUpdate!="function"||p===e.memoizedProps&&E===e.memoizedState||(t.flags|=1024),u=!1)}return Df(e,t,r,u,s,o)}function Df(e,t,r,u,o,s){Vg(e,t);var c=(t.flags&128)!==0;if(!u&&!c)return o&&l0(t,r,!1),ir(e,t,s);u=t.stateNode,C3.current=t;var p=c&&typeof r.getDerivedStateFromError!="function"?null:u.render();return t.flags|=1,e!==null&&c?(t.child=eu(t,e.child,null,s),t.child=eu(t,null,p,s)):St(e,t,p,s),t.memoizedState=u.state,o&&l0(t,r,!0),t.child}function Qg(e){var t=e.stateNode;t.pendingContext?o0(e,t.pendingContext,t.pendingContext!==t.context):t.context&&o0(e,t.context,!1),Id(e,t.containerInfo)}function k0(e,t,r,u,o){return bi(),Ed(o),t.flags|=256,St(e,t,r,u),t.child}var $f={dehydrated:null,treeContext:null,retryLane:0};function Mf(e){return{baseLanes:e,cachePool:null,transitions:null}}function qg(e,t,r){var u=t.pendingProps,o=Le.current,s=!1,c=(t.flags&128)!==0,p;if((p=c)||(p=e!==null&&e.memoizedState===null?!1:(o&2)!==0),p?(s=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(o|=1),Ne(Le,o&1),e===null)return If(t),e=t.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?(t.mode&1?e.data==="$!"?t.lanes=8:t.lanes=1073741824:t.lanes=1,null):(c=u.children,e=u.fallback,s?(u=t.mode,s=t.child,c={mode:"hidden",children:c},!(u&1)&&s!==null?(s.childLanes=0,s.pendingProps=c):s=Ys(c,u,0,null),e=ei(e,u,r,null),s.return=t,e.return=t,s.sibling=e,t.child=s,t.child.memoizedState=Mf(r),t.memoizedState=$f,e):Md(t,c));if(o=e.memoizedState,o!==null&&(p=o.dehydrated,p!==null))return N3(e,t,c,u,p,o,r);if(s){s=u.fallback,c=t.mode,o=e.child,p=o.sibling;var h={mode:"hidden",children:u.children};return!(c&1)&&t.child!==o?(u=t.child,u.childLanes=0,u.pendingProps=h,t.deletions=null):(u=Ir(o,h),u.subtreeFlags=o.subtreeFlags&14680064),p!==null?s=Ir(p,s):(s=ei(s,c,r,null),s.flags|=2),s.return=t,u.return=t,u.sibling=s,t.child=u,u=s,s=t.child,c=e.child.memoizedState,c=c===null?Mf(r):{baseLanes:c.baseLanes|r,cachePool:null,transitions:c.transitions},s.memoizedState=c,s.childLanes=e.childLanes&~r,t.memoizedState=$f,u}return s=e.child,e=s.sibling,u=Ir(s,{mode:"visible",children:u.children}),!(t.mode&1)&&(u.lanes=r),u.return=t,u.sibling=null,e!==null&&(r=t.deletions,r===null?(t.deletions=[e],t.flags|=16):r.push(e)),t.child=u,t.memoizedState=null,u}function Md(e,t){return t=Ys({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function Fl(e,t,r,u){return u!==null&&Ed(u),eu(t,e.child,null,r),e=Md(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function N3(e,t,r,u,o,s,c){if(r)return t.flags&256?(t.flags&=-257,u=Vc(Error(M(422))),Fl(e,t,c,u)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(s=u.fallback,o=t.mode,u=Ys({mode:"visible",children:u.children},o,0,null),s=ei(s,o,c,null),s.flags|=2,u.return=t,s.return=t,u.sibling=s,t.child=u,t.mode&1&&eu(t,e.child,null,c),t.child.memoizedState=Mf(c),t.memoizedState=$f,s);if(!(t.mode&1))return Fl(e,t,c,null);if(o.data==="$!"){if(u=o.nextSibling&&o.nextSibling.dataset,u)var p=u.dgst;return u=p,s=Error(M(419)),u=Vc(s,u,void 0),Fl(e,t,c,u)}if(p=(c&e.childLanes)!==0,At||p){if(u=rt,u!==null){switch(c&-c){case 4:o=2;break;case 16:o=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:o=32;break;case 536870912:o=268435456;break;default:o=0}o=o&(u.suspendedLanes|c)?0:o,o!==0&&o!==s.retryLane&&(s.retryLane=o,rr(e,o),kn(u,e,o,-1))}return Vd(),u=Vc(Error(M(421))),Fl(e,t,c,u)}return o.data==="$?"?(t.flags|=128,t.child=e.child,t=F3.bind(null,e),o._reactRetry=t,null):(e=s.treeContext,Ut=Nr(o.nextSibling),Vt=t,Te=!0,Sn=null,e!==null&&(un[on++]=Jn,un[on++]=bn,un[on++]=ii,Jn=e.id,bn=e.overflow,ii=t),t=Md(t,u.children),t.flags|=4096,t)}function E0(e,t,r){e.lanes|=t;var u=e.alternate;u!==null&&(u.lanes|=t),zf(e.return,t,r)}function Qc(e,t,r,u,o){var s=e.memoizedState;s===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:u,tail:r,tailMode:o}:(s.isBackwards=t,s.rendering=null,s.renderingStartTime=0,s.last=u,s.tail=r,s.tailMode=o)}function Yg(e,t,r){var u=t.pendingProps,o=u.revealOrder,s=u.tail;if(St(e,t,u.children,r),u=Le.current,u&2)u=u&1|2,t.flags|=128;else{if(e!==null&&e.flags&128)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&E0(e,r,t);else if(e.tag===19)E0(e,r,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}u&=1}if(Ne(Le,u),!(t.mode&1))t.memoizedState=null;else switch(o){case"forwards":for(r=t.child,o=null;r!==null;)e=r.alternate,e!==null&&Es(e)===null&&(o=r),r=r.sibling;r=o,r===null?(o=t.child,t.child=null):(o=r.sibling,r.sibling=null),Qc(t,!1,o,r,s);break;case"backwards":for(r=null,o=t.child,t.child=null;o!==null;){if(e=o.alternate,e!==null&&Es(e)===null){t.child=o;break}e=o.sibling,o.sibling=r,r=o,o=e}Qc(t,!0,r,null,s);break;case"together":Qc(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function bl(e,t){!(t.mode&1)&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function ir(e,t,r){if(e!==null&&(t.dependencies=e.dependencies),oi|=t.lanes,!(r&t.childLanes))return null;if(e!==null&&t.child!==e.child)throw Error(M(153));if(t.child!==null){for(e=t.child,r=Ir(e,e.pendingProps),t.child=r,r.return=t;e.sibling!==null;)e=e.sibling,r=r.sibling=Ir(e,e.pendingProps),r.return=t;r.sibling=null}return t.child}function P3(e,t,r){switch(t.tag){case 3:Qg(t),bi();break;case 5:wg(t);break;case 1:Dt(t.type)&&ys(t);break;case 4:Id(t,t.stateNode.containerInfo);break;case 10:var u=t.type._context,o=t.memoizedProps.value;Ne(Ss,u._currentValue),u._currentValue=o;break;case 13:if(u=t.memoizedState,u!==null)return u.dehydrated!==null?(Ne(Le,Le.current&1),t.flags|=128,null):r&t.child.childLanes?qg(e,t,r):(Ne(Le,Le.current&1),e=ir(e,t,r),e!==null?e.sibling:null);Ne(Le,Le.current&1);break;case 19:if(u=(r&t.childLanes)!==0,e.flags&128){if(u)return Yg(e,t,r);t.flags|=128}if(o=t.memoizedState,o!==null&&(o.rendering=null,o.tail=null,o.lastEffect=null),Ne(Le,Le.current),u)break;return null;case 22:case 23:return t.lanes=0,Ug(e,t,r)}return ir(e,t,r)}var Kg,Ff,Gg,Xg;Kg=function(e,t){for(var r=t.child;r!==null;){if(r.tag===5||r.tag===6)e.appendChild(r.stateNode);else if(r.tag!==4&&r.child!==null){r.child.return=r,r=r.child;continue}if(r===t)break;for(;r.sibling===null;){if(r.return===null||r.return===t)return;r=r.return}r.sibling.return=r.return,r=r.sibling}};Ff=function(){};Gg=function(e,t,r,u){var o=e.memoizedProps;if(o!==u){e=t.stateNode,Zr(Mn.current);var s=null;switch(r){case"input":o=lf(e,o),u=lf(e,u),s=[];break;case"select":o=$e({},o,{value:void 0}),u=$e({},u,{value:void 0}),s=[];break;case"textarea":o=cf(e,o),u=cf(e,u),s=[];break;default:typeof o.onClick!="function"&&typeof u.onClick=="function"&&(e.onclick=vs)}df(r,u);var c;r=null;for(_ in o)if(!u.hasOwnProperty(_)&&o.hasOwnProperty(_)&&o[_]!=null)if(_==="style"){var p=o[_];for(c in p)p.hasOwnProperty(c)&&(r||(r={}),r[c]="")}else _!=="dangerouslySetInnerHTML"&&_!=="children"&&_!=="suppressContentEditableWarning"&&_!=="suppressHydrationWarning"&&_!=="autoFocus"&&(so.hasOwnProperty(_)?s||(s=[]):(s=s||[]).push(_,null));for(_ in u){var h=u[_];if(p=o!=null?o[_]:void 0,u.hasOwnProperty(_)&&h!==p&&(h!=null||p!=null))if(_==="style")if(p){for(c in p)!p.hasOwnProperty(c)||h&&h.hasOwnProperty(c)||(r||(r={}),r[c]="");for(c in h)h.hasOwnProperty(c)&&p[c]!==h[c]&&(r||(r={}),r[c]=h[c])}else r||(s||(s=[]),s.push(_,r)),r=h;else _==="dangerouslySetInnerHTML"?(h=h?h.__html:void 0,p=p?p.__html:void 0,h!=null&&p!==h&&(s=s||[]).push(_,h)):_==="children"?typeof h!="string"&&typeof h!="number"||(s=s||[]).push(_,""+h):_!=="suppressContentEditableWarning"&&_!=="suppressHydrationWarning"&&(so.hasOwnProperty(_)?(h!=null&&_==="onScroll"&&je("scroll",e),s||p===h||(s=[])):(s=s||[]).push(_,h))}r&&(s=s||[]).push("style",r);var _=s;(t.updateQueue=_)&&(t.flags|=4)}};Xg=function(e,t,r,u){r!==u&&(t.flags|=4)};function Uu(e,t){if(!Te)switch(e.tailMode){case"hidden":t=e.tail;for(var r=null;t!==null;)t.alternate!==null&&(r=t),t=t.sibling;r===null?e.tail=null:r.sibling=null;break;case"collapsed":r=e.tail;for(var u=null;r!==null;)r.alternate!==null&&(u=r),r=r.sibling;u===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:u.sibling=null}}function mt(e){var t=e.alternate!==null&&e.alternate.child===e.child,r=0,u=0;if(t)for(var o=e.child;o!==null;)r|=o.lanes|o.childLanes,u|=o.subtreeFlags&14680064,u|=o.flags&14680064,o.return=e,o=o.sibling;else for(o=e.child;o!==null;)r|=o.lanes|o.childLanes,u|=o.subtreeFlags,u|=o.flags,o.return=e,o=o.sibling;return e.subtreeFlags|=u,e.childLanes=r,t}function R3(e,t,r){var u=t.pendingProps;switch(kd(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return mt(t),null;case 1:return Dt(t.type)&&gs(),mt(t),null;case 3:return u=t.stateNode,tu(),ze(Lt),ze(gt),Td(),u.pendingContext&&(u.context=u.pendingContext,u.pendingContext=null),(e===null||e.child===null)&&($l(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,Sn!==null&&(Yf(Sn),Sn=null))),Ff(e,t),mt(t),null;case 5:zd(t);var o=Zr(So.current);if(r=t.type,e!==null&&t.stateNode!=null)Gg(e,t,r,u,o),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!u){if(t.stateNode===null)throw Error(M(166));return mt(t),null}if(e=Zr(Mn.current),$l(t)){u=t.stateNode,r=t.type;var s=t.memoizedProps;switch(u[Dn]=t,u[_o]=s,e=(t.mode&1)!==0,r){case"dialog":je("cancel",u),je("close",u);break;case"iframe":case"object":case"embed":je("load",u);break;case"video":case"audio":for(o=0;o<\/script>",e=e.removeChild(e.firstChild)):typeof u.is=="string"?e=c.createElement(r,{is:u.is}):(e=c.createElement(r),r==="select"&&(c=e,u.multiple?c.multiple=!0:u.size&&(c.size=u.size))):e=c.createElementNS(e,r),e[Dn]=t,e[_o]=u,Kg(e,t,!1,!1),t.stateNode=e;e:{switch(c=pf(r,u),r){case"dialog":je("cancel",e),je("close",e),o=u;break;case"iframe":case"object":case"embed":je("load",e),o=u;break;case"video":case"audio":for(o=0;oru&&(t.flags|=128,u=!0,Uu(s,!1),t.lanes=4194304)}else{if(!u)if(e=Es(c),e!==null){if(t.flags|=128,u=!0,r=e.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),Uu(s,!0),s.tail===null&&s.tailMode==="hidden"&&!c.alternate&&!Te)return mt(t),null}else 2*Ue()-s.renderingStartTime>ru&&r!==1073741824&&(t.flags|=128,u=!0,Uu(s,!1),t.lanes=4194304);s.isBackwards?(c.sibling=t.child,t.child=c):(r=s.last,r!==null?r.sibling=c:t.child=c,s.last=c)}return s.tail!==null?(t=s.tail,s.rendering=t,s.tail=t.sibling,s.renderingStartTime=Ue(),t.sibling=null,r=Le.current,Ne(Le,u?r&1|2:r&1),t):(mt(t),null);case 22:case 23:return Ud(),u=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==u&&(t.flags|=8192),u&&t.mode&1?Ht&1073741824&&(mt(t),t.subtreeFlags&6&&(t.flags|=8192)):mt(t),null;case 24:return null;case 25:return null}throw Error(M(156,t.tag))}function j3(e,t){switch(kd(t),t.tag){case 1:return Dt(t.type)&&gs(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return tu(),ze(Lt),ze(gt),Td(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return zd(t),null;case 13:if(ze(Le),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(M(340));bi()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return ze(Le),null;case 4:return tu(),null;case 10:return Pd(t.type._context),null;case 22:case 23:return Ud(),null;case 24:return null;default:return null}}var Wl=!1,vt=!1,I3=typeof WeakSet=="function"?WeakSet:Set,q=null;function Bi(e,t){var r=e.ref;if(r!==null)if(typeof r=="function")try{r(null)}catch(u){We(e,t,u)}else r.current=null}function Wf(e,t,r){try{r()}catch(u){We(e,t,u)}}var C0=!1;function z3(e,t){if(kf=ps,e=eg(),Sd(e)){if("selectionStart"in e)var r={start:e.selectionStart,end:e.selectionEnd};else e:{r=(r=e.ownerDocument)&&r.defaultView||window;var u=r.getSelection&&r.getSelection();if(u&&u.rangeCount!==0){r=u.anchorNode;var o=u.anchorOffset,s=u.focusNode;u=u.focusOffset;try{r.nodeType,s.nodeType}catch{r=null;break e}var c=0,p=-1,h=-1,_=0,N=0,P=e,E=null;t:for(;;){for(var T;P!==r||o!==0&&P.nodeType!==3||(p=c+o),P!==s||u!==0&&P.nodeType!==3||(h=c+u),P.nodeType===3&&(c+=P.nodeValue.length),(T=P.firstChild)!==null;)E=P,P=T;for(;;){if(P===e)break t;if(E===r&&++_===o&&(p=c),E===s&&++N===u&&(h=c),(T=P.nextSibling)!==null)break;P=E,E=P.parentNode}P=T}r=p===-1||h===-1?null:{start:p,end:h}}else r=null}r=r||{start:0,end:0}}else r=null;for(Ef={focusedElem:e,selectionRange:r},ps=!1,q=t;q!==null;)if(t=q,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,q=e;else for(;q!==null;){t=q;try{var A=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(A!==null){var D=A.memoizedProps,ue=A.memoizedState,w=t.stateNode,y=w.getSnapshotBeforeUpdate(t.elementType===t.type?D:_n(t.type,D),ue);w.__reactInternalSnapshotBeforeUpdate=y}break;case 3:var x=t.stateNode.containerInfo;x.nodeType===1?x.textContent="":x.nodeType===9&&x.documentElement&&x.removeChild(x.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(M(163))}}catch(j){We(t,t.return,j)}if(e=t.sibling,e!==null){e.return=t.return,q=e;break}q=t.return}return A=C0,C0=!1,A}function io(e,t,r){var u=t.updateQueue;if(u=u!==null?u.lastEffect:null,u!==null){var o=u=u.next;do{if((o.tag&e)===e){var s=o.destroy;o.destroy=void 0,s!==void 0&&Wf(t,r,s)}o=o.next}while(o!==u)}}function Qs(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var r=t=t.next;do{if((r.tag&e)===e){var u=r.create;r.destroy=u()}r=r.next}while(r!==t)}}function Bf(e){var t=e.ref;if(t!==null){var r=e.stateNode;switch(e.tag){case 5:e=r;break;default:e=r}typeof t=="function"?t(e):t.current=e}}function Zg(e){var t=e.alternate;t!==null&&(e.alternate=null,Zg(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[Dn],delete t[_o],delete t[Pf],delete t[p3],delete t[h3])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function Jg(e){return e.tag===5||e.tag===3||e.tag===4}function N0(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Jg(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function Hf(e,t,r){var u=e.tag;if(u===5||u===6)e=e.stateNode,t?r.nodeType===8?r.parentNode.insertBefore(e,t):r.insertBefore(e,t):(r.nodeType===8?(t=r.parentNode,t.insertBefore(e,r)):(t=r,t.appendChild(e)),r=r._reactRootContainer,r!=null||t.onclick!==null||(t.onclick=vs));else if(u!==4&&(e=e.child,e!==null))for(Hf(e,t,r),e=e.sibling;e!==null;)Hf(e,t,r),e=e.sibling}function Uf(e,t,r){var u=e.tag;if(u===5||u===6)e=e.stateNode,t?r.insertBefore(e,t):r.appendChild(e);else if(u!==4&&(e=e.child,e!==null))for(Uf(e,t,r),e=e.sibling;e!==null;)Uf(e,t,r),e=e.sibling}var st=null,wn=!1;function mr(e,t,r){for(r=r.child;r!==null;)bg(e,t,r),r=r.sibling}function bg(e,t,r){if($n&&typeof $n.onCommitFiberUnmount=="function")try{$n.onCommitFiberUnmount($s,r)}catch{}switch(r.tag){case 5:vt||Bi(r,t);case 6:var u=st,o=wn;st=null,mr(e,t,r),st=u,wn=o,st!==null&&(wn?(e=st,r=r.stateNode,e.nodeType===8?e.parentNode.removeChild(r):e.removeChild(r)):st.removeChild(r.stateNode));break;case 18:st!==null&&(wn?(e=st,r=r.stateNode,e.nodeType===8?Mc(e.parentNode,r):e.nodeType===1&&Mc(e,r),ho(e)):Mc(st,r.stateNode));break;case 4:u=st,o=wn,st=r.stateNode.containerInfo,wn=!0,mr(e,t,r),st=u,wn=o;break;case 0:case 11:case 14:case 15:if(!vt&&(u=r.updateQueue,u!==null&&(u=u.lastEffect,u!==null))){o=u=u.next;do{var s=o,c=s.destroy;s=s.tag,c!==void 0&&(s&2||s&4)&&Wf(r,t,c),o=o.next}while(o!==u)}mr(e,t,r);break;case 1:if(!vt&&(Bi(r,t),u=r.stateNode,typeof u.componentWillUnmount=="function"))try{u.props=r.memoizedProps,u.state=r.memoizedState,u.componentWillUnmount()}catch(p){We(r,t,p)}mr(e,t,r);break;case 21:mr(e,t,r);break;case 22:r.mode&1?(vt=(u=vt)||r.memoizedState!==null,mr(e,t,r),vt=u):mr(e,t,r);break;default:mr(e,t,r)}}function P0(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var r=e.stateNode;r===null&&(r=e.stateNode=new I3),t.forEach(function(u){var o=W3.bind(null,e,u);r.has(u)||(r.add(u),u.then(o,o))})}}function yn(e,t){var r=t.deletions;if(r!==null)for(var u=0;uo&&(o=c),u&=~s}if(u=o,u=Ue()-u,u=(120>u?120:480>u?480:1080>u?1080:1920>u?1920:3e3>u?3e3:4320>u?4320:1960*A3(u/1960))-u,10e?16:e,xr===null)var u=!1;else{if(e=xr,xr=null,js=0,ve&6)throw Error(M(331));var o=ve;for(ve|=4,q=e.current;q!==null;){var s=q,c=s.child;if(q.flags&16){var p=s.deletions;if(p!==null){for(var h=0;hUe()-Bd?br(e,0):Wd|=r),$t(e,t)}function l1(e,t){t===0&&(e.mode&1?(t=zl,zl<<=1,!(zl&130023424)&&(zl=4194304)):t=1);var r=xt();e=rr(e,t),e!==null&&(Ro(e,t,r),$t(e,r))}function F3(e){var t=e.memoizedState,r=0;t!==null&&(r=t.retryLane),l1(e,r)}function W3(e,t){var r=0;switch(e.tag){case 13:var u=e.stateNode,o=e.memoizedState;o!==null&&(r=o.retryLane);break;case 19:u=e.stateNode;break;default:throw Error(M(314))}u!==null&&u.delete(t),l1(e,r)}var s1;s1=function(e,t,r){if(e!==null)if(e.memoizedProps!==t.pendingProps||Lt.current)At=!0;else{if(!(e.lanes&r)&&!(t.flags&128))return At=!1,P3(e,t,r);At=!!(e.flags&131072)}else At=!1,Te&&t.flags&1048576&&fg(t,ws,t.index);switch(t.lanes=0,t.tag){case 2:var u=t.type;bl(e,t),e=t.pendingProps;var o=Ji(t,gt.current);Ki(t,r),o=Od(null,t,u,e,o,r);var s=Ld();return t.flags|=1,typeof o=="object"&&o!==null&&typeof o.render=="function"&&o.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Dt(u)?(s=!0,ys(t)):s=!1,t.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,jd(t),o.updater=Us,t.stateNode=o,o._reactInternals=t,Af(t,u,e,r),t=Df(null,t,u,!0,s,r)):(t.tag=0,Te&&s&&xd(t),St(null,t,o,r),t=t.child),t;case 16:u=t.elementType;e:{switch(bl(e,t),e=t.pendingProps,o=u._init,u=o(u._payload),t.type=u,o=t.tag=H3(u),e=_n(u,e),o){case 0:t=Lf(null,t,u,e,r);break e;case 1:t=x0(null,t,u,e,r);break e;case 11:t=w0(null,t,u,e,r);break e;case 14:t=S0(null,t,u,_n(u.type,e),r);break e}throw Error(M(306,u,""))}return t;case 0:return u=t.type,o=t.pendingProps,o=t.elementType===u?o:_n(u,o),Lf(e,t,u,o,r);case 1:return u=t.type,o=t.pendingProps,o=t.elementType===u?o:_n(u,o),x0(e,t,u,o,r);case 3:e:{if(Qg(t),e===null)throw Error(M(387));u=t.pendingProps,s=t.memoizedState,o=s.element,mg(e,t),ks(t,u,null,r);var c=t.memoizedState;if(u=c.element,s.isDehydrated)if(s={element:u,isDehydrated:!1,cache:c.cache,pendingSuspenseBoundaries:c.pendingSuspenseBoundaries,transitions:c.transitions},t.updateQueue.baseState=s,t.memoizedState=s,t.flags&256){o=nu(Error(M(423)),t),t=k0(e,t,u,r,o);break e}else if(u!==o){o=nu(Error(M(424)),t),t=k0(e,t,u,r,o);break e}else for(Ut=Nr(t.stateNode.containerInfo.firstChild),Vt=t,Te=!0,Sn=null,r=_g(t,null,u,r),t.child=r;r;)r.flags=r.flags&-3|4096,r=r.sibling;else{if(bi(),u===o){t=ir(e,t,r);break e}St(e,t,u,r)}t=t.child}return t;case 5:return wg(t),e===null&&If(t),u=t.type,o=t.pendingProps,s=e!==null?e.memoizedProps:null,c=o.children,Cf(u,o)?c=null:s!==null&&Cf(u,s)&&(t.flags|=32),Vg(e,t),St(e,t,c,r),t.child;case 6:return e===null&&If(t),null;case 13:return qg(e,t,r);case 4:return Id(t,t.stateNode.containerInfo),u=t.pendingProps,e===null?t.child=eu(t,null,u,r):St(e,t,u,r),t.child;case 11:return u=t.type,o=t.pendingProps,o=t.elementType===u?o:_n(u,o),w0(e,t,u,o,r);case 7:return St(e,t,t.pendingProps,r),t.child;case 8:return St(e,t,t.pendingProps.children,r),t.child;case 12:return St(e,t,t.pendingProps.children,r),t.child;case 10:e:{if(u=t.type._context,o=t.pendingProps,s=t.memoizedProps,c=o.value,Ne(Ss,u._currentValue),u._currentValue=c,s!==null)if(Cn(s.value,c)){if(s.children===o.children&&!Lt.current){t=ir(e,t,r);break e}}else for(s=t.child,s!==null&&(s.return=t);s!==null;){var p=s.dependencies;if(p!==null){c=s.child;for(var h=p.firstContext;h!==null;){if(h.context===u){if(s.tag===1){h=er(-1,r&-r),h.tag=2;var _=s.updateQueue;if(_!==null){_=_.shared;var N=_.pending;N===null?h.next=h:(h.next=N.next,N.next=h),_.pending=h}}s.lanes|=r,h=s.alternate,h!==null&&(h.lanes|=r),zf(s.return,r,t),p.lanes|=r;break}h=h.next}}else if(s.tag===10)c=s.type===t.type?null:s.child;else if(s.tag===18){if(c=s.return,c===null)throw Error(M(341));c.lanes|=r,p=c.alternate,p!==null&&(p.lanes|=r),zf(c,r,t),c=s.sibling}else c=s.child;if(c!==null)c.return=s;else for(c=s;c!==null;){if(c===t){c=null;break}if(s=c.sibling,s!==null){s.return=c.return,c=s;break}c=c.return}s=c}St(e,t,o.children,r),t=t.child}return t;case 9:return o=t.type,u=t.pendingProps.children,Ki(t,r),o=an(o),u=u(o),t.flags|=1,St(e,t,u,r),t.child;case 14:return u=t.type,o=_n(u,t.pendingProps),o=_n(u.type,o),S0(e,t,u,o,r);case 15:return Hg(e,t,t.type,t.pendingProps,r);case 17:return u=t.type,o=t.pendingProps,o=t.elementType===u?o:_n(u,o),bl(e,t),t.tag=1,Dt(u)?(e=!0,ys(t)):e=!1,Ki(t,r),gg(t,u,o),Af(t,u,o,r),Df(null,t,u,!0,e,r);case 19:return Yg(e,t,r);case 22:return Ug(e,t,r)}throw Error(M(156,t.tag))};function a1(e,t){return Lv(e,t)}function B3(e,t,r,u){this.tag=e,this.key=r,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=u,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function ln(e,t,r,u){return new B3(e,t,r,u)}function Qd(e){return e=e.prototype,!(!e||!e.isReactComponent)}function H3(e){if(typeof e=="function")return Qd(e)?1:0;if(e!=null){if(e=e.$$typeof,e===cd)return 11;if(e===fd)return 14}return 2}function Ir(e,t){var r=e.alternate;return r===null?(r=ln(e.tag,t,e.key,e.mode),r.elementType=e.elementType,r.type=e.type,r.stateNode=e.stateNode,r.alternate=e,e.alternate=r):(r.pendingProps=t,r.type=e.type,r.flags=0,r.subtreeFlags=0,r.deletions=null),r.flags=e.flags&14680064,r.childLanes=e.childLanes,r.lanes=e.lanes,r.child=e.child,r.memoizedProps=e.memoizedProps,r.memoizedState=e.memoizedState,r.updateQueue=e.updateQueue,t=e.dependencies,r.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},r.sibling=e.sibling,r.index=e.index,r.ref=e.ref,r}function ns(e,t,r,u,o,s){var c=2;if(u=e,typeof e=="function")Qd(e)&&(c=1);else if(typeof e=="string")c=5;else e:switch(e){case Ti:return ei(r.children,o,s,t);case ad:c=8,o|=8;break;case nf:return e=ln(12,r,t,o|2),e.elementType=nf,e.lanes=s,e;case rf:return e=ln(13,r,t,o),e.elementType=rf,e.lanes=s,e;case uf:return e=ln(19,r,t,o),e.elementType=uf,e.lanes=s,e;case yv:return Ys(r,o,s,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case vv:c=10;break e;case gv:c=9;break e;case cd:c=11;break e;case fd:c=14;break e;case gr:c=16,u=null;break e}throw Error(M(130,e==null?e:typeof e,""))}return t=ln(c,r,t,o),t.elementType=e,t.type=u,t.lanes=s,t}function ei(e,t,r,u){return e=ln(7,e,u,t),e.lanes=r,e}function Ys(e,t,r,u){return e=ln(22,e,u,t),e.elementType=yv,e.lanes=r,e.stateNode={isHidden:!1},e}function qc(e,t,r){return e=ln(6,e,null,t),e.lanes=r,e}function Yc(e,t,r){return t=ln(4,e.children!==null?e.children:[],e.key,t),t.lanes=r,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function U3(e,t,r,u,o){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Pc(0),this.expirationTimes=Pc(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Pc(0),this.identifierPrefix=u,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function qd(e,t,r,u,o,s,c,p,h){return e=new U3(e,t,r,p,h),t===1?(t=1,s===!0&&(t|=8)):t=0,s=ln(3,null,null,t),e.current=s,s.stateNode=e,s.memoizedState={element:u,isDehydrated:r,cache:null,transitions:null,pendingSuspenseBoundaries:null},jd(s),e}function V3(e,t,r){var u=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(p1)}catch(e){console.error(e)}}p1(),fv.exports=qt;var G3=fv.exports,L0=G3;ef.createRoot=L0.createRoot,ef.hydrateRoot=L0.hydrateRoot;var Ot=function(){return Ot=Object.assign||function(t){for(var r,u=1,o=arguments.length;u0?nt(du,--fn):0,uu--,Qe===10&&(uu=1,bs--),Qe}function En(){return Qe=fn<_1?nt(du,fn++):0,uu++,Qe===10&&(uu=1,bs++),Qe}function ti(){return nt(du,fn)}function is(){return fn}function ta(e,t){return iu(du,e,t)}function Gf(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function nN(e){return bs=uu=1,_1=Ln(du=e),fn=0,[]}function rN(e){return du="",e}function Kc(e){return g1(ta(fn-1,Xf(e===91?e+2:e===40?e+1:e)))}function iN(e){for(;(Qe=ti())&&Qe<33;)En();return Gf(e)>2||Gf(Qe)>3?"":" "}function uN(e,t){for(;--t&&En()&&!(Qe<48||Qe>102||Qe>57&&Qe<65||Qe>70&&Qe<97););return ta(e,is()+(t<6&&ti()==32&&En()==32))}function Xf(e){for(;En();)switch(Qe){case e:return fn;case 34:case 39:e!==34&&e!==39&&Xf(Qe);break;case 40:e===41&&Xf(e);break;case 92:En();break}return fn}function oN(e,t){for(;En()&&e+Qe!==57;)if(e+Qe===84&&ti()===47)break;return"/*"+ta(t,fn-1)+"*"+Zd(e===47?e:En())}function lN(e){for(;!Gf(ti());)En();return ta(e,fn)}function sN(e){return rN(us("",null,null,null,[""],e=nN(e),0,[0],e))}function us(e,t,r,u,o,s,c,p,h){for(var _=0,N=0,P=c,E=0,T=0,A=0,D=1,ue=1,w=1,y=0,x="",j=o,F=s,$=u,O=x;ue;)switch(A=y,y=En()){case 40:if(A!=108&&nt(O,P-1)==58){rs(O+=ce(Kc(y),"&","&\f"),"&\f",v1(_?p[_-1]:0))!=-1&&(w=-1);break}case 34:case 39:case 91:O+=Kc(y);break;case 9:case 10:case 13:case 32:O+=iN(A);break;case 92:O+=uN(is()-1,7);continue;case 47:switch(ti()){case 42:case 47:Zu(aN(oN(En(),is()),t,r,h),h);break;default:O+="/"}break;case 123*D:p[_++]=Ln(O)*w;case 125*D:case 59:case 0:switch(y){case 0:case 125:ue=0;case 59+N:w==-1&&(O=ce(O,/\f/g,"")),T>0&&Ln(O)-P&&Zu(T>32?M0(O+";",u,r,P-1,h):M0(ce(O," ","")+";",u,r,P-2,h),h);break;case 59:O+=";";default:if(Zu($=$0(O,t,r,_,N,o,p,x,j=[],F=[],P,s),s),y===123)if(N===0)us(O,t,$,$,j,s,P,p,F);else switch(E===99&&nt(O,3)===110?100:E){case 100:case 108:case 109:case 115:us(e,$,$,u&&Zu($0(e,$,$,0,0,o,p,x,o,j=[],P,F),F),o,F,P,p,u?j:F);break;default:us(O,$,$,$,[""],F,0,p,F)}}_=N=T=0,D=w=1,x=O="",P=c;break;case 58:P=1+Ln(O),T=A;default:if(D<1){if(y==123)--D;else if(y==125&&D++==0&&tN()==125)continue}switch(O+=Zd(y),y*D){case 38:w=N>0?1:(O+="\f",-1);break;case 44:p[_++]=(Ln(O)-1)*w,w=1;break;case 64:ti()===45&&(O+=Kc(En())),E=ti(),N=P=Ln(x=O+=lN(is())),y++;break;case 45:A===45&&Ln(O)==2&&(D=0)}}return s}function $0(e,t,r,u,o,s,c,p,h,_,N,P){for(var E=o-1,T=o===0?s:[""],A=y1(T),D=0,ue=0,w=0;D0?T[y]+" "+x:ce(x,/&\f/g,T[y])))&&(h[w++]=j);return ea(e,t,r,o===0?Js:p,h,_,N,P)}function aN(e,t,r,u){return ea(e,t,r,h1,Zd(eN()),iu(e,2,-2),0,u)}function M0(e,t,r,u,o){return ea(e,t,r,Xd,iu(e,0,u),iu(e,u+1,-1),u,o)}function w1(e,t,r){switch(J3(e,t)){case 5103:return Se+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return Se+e+e;case 4789:return lo+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return Se+e+lo+e+Ie+e+e;case 5936:switch(nt(e,t+11)){case 114:return Se+e+Ie+ce(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return Se+e+Ie+ce(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return Se+e+Ie+ce(e,/[svh]\w+-[tblr]{2}/,"lr")+e}case 6828:case 4268:case 2903:return Se+e+Ie+e+e;case 6165:return Se+e+Ie+"flex-"+e+e;case 5187:return Se+e+ce(e,/(\w+).+(:[^]+)/,Se+"box-$1$2"+Ie+"flex-$1$2")+e;case 5443:return Se+e+Ie+"flex-item-"+ce(e,/flex-|-self/g,"")+(Xn(e,/flex-|baseline/)?"":Ie+"grid-row-"+ce(e,/flex-|-self/g,""))+e;case 4675:return Se+e+Ie+"flex-line-pack"+ce(e,/align-content|flex-|-self/g,"")+e;case 5548:return Se+e+Ie+ce(e,"shrink","negative")+e;case 5292:return Se+e+Ie+ce(e,"basis","preferred-size")+e;case 6060:return Se+"box-"+ce(e,"-grow","")+Se+e+Ie+ce(e,"grow","positive")+e;case 4554:return Se+ce(e,/([^-])(transform)/g,"$1"+Se+"$2")+e;case 6187:return ce(ce(ce(e,/(zoom-|grab)/,Se+"$1"),/(image-set)/,Se+"$1"),e,"")+e;case 5495:case 3959:return ce(e,/(image-set\([^]*)/,Se+"$1$`$1");case 4968:return ce(ce(e,/(.+:)(flex-)?(.*)/,Se+"box-pack:$3"+Ie+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+Se+e+e;case 4200:if(!Xn(e,/flex-|baseline/))return Ie+"grid-column-align"+iu(e,t)+e;break;case 2592:case 3360:return Ie+ce(e,"template-","")+e;case 4384:case 3616:return r&&r.some(function(u,o){return t=o,Xn(u.props,/grid-\w+-end/)})?~rs(e+(r=r[t].value),"span",0)?e:Ie+ce(e,"-start","")+e+Ie+"grid-row-span:"+(~rs(r,"span",0)?Xn(r,/\d+/):+Xn(r,/\d+/)-+Xn(e,/\d+/))+";":Ie+ce(e,"-start","")+e;case 4896:case 4128:return r&&r.some(function(u){return Xn(u.props,/grid-\w+-start/)})?e:Ie+ce(ce(e,"-end","-span"),"span ","")+e;case 4095:case 3583:case 4068:case 2532:return ce(e,/(.+)-inline(.+)/,Se+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(Ln(e)-1-t>6)switch(nt(e,t+1)){case 109:if(nt(e,t+4)!==45)break;case 102:return ce(e,/(.+:)(.+)-([^]+)/,"$1"+Se+"$2-$3$1"+lo+(nt(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~rs(e,"stretch",0)?w1(ce(e,"stretch","fill-available"),t,r)+e:e}break;case 5152:case 5920:return ce(e,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,function(u,o,s,c,p,h,_){return Ie+o+":"+s+_+(c?Ie+o+"-span:"+(p?h:+h-+s)+_:"")+e});case 4949:if(nt(e,t+6)===121)return ce(e,":",":"+Se)+e;break;case 6444:switch(nt(e,nt(e,14)===45?18:11)){case 120:return ce(e,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+Se+(nt(e,14)===45?"inline-":"")+"box$3$1"+Se+"$2$3$1"+Ie+"$2box$3")+e;case 100:return ce(e,":",":"+Ie)+e}break;case 5719:case 2647:case 2135:case 3927:case 2391:return ce(e,"scroll-","scroll-snap-")+e}return e}function As(e,t){for(var r="",u=0;u-1&&!e.return)switch(e.type){case Xd:e.return=w1(e.value,e.length,r);return;case m1:return As([vr(e,{value:ce(e.value,"@","@"+Se)})],u);case Js:if(e.length)return b3(r=e.props,function(o){switch(Xn(o,u=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":ji(vr(e,{props:[ce(o,/:(read-\w+)/,":"+lo+"$1")]})),ji(vr(e,{props:[o]})),Kf(e,{props:D0(r,u)});break;case"::placeholder":ji(vr(e,{props:[ce(o,/:(plac\w+)/,":"+Se+"input-$1")]})),ji(vr(e,{props:[ce(o,/:(plac\w+)/,":"+lo+"$1")]})),ji(vr(e,{props:[ce(o,/:(plac\w+)/,Ie+"input-$1")]})),ji(vr(e,{props:[o]})),Kf(e,{props:D0(r,u)});break}return""})}}var hN={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},Bt={},ou=typeof process<"u"&&Bt!==void 0&&(Bt.REACT_APP_SC_ATTR||Bt.SC_ATTR)||"data-styled",S1="active",x1="data-styled-version",na="6.1.8",Jd=`/*!sc*/ +`,bd=typeof window<"u"&&"HTMLElement"in window,mN=!!(typeof SC_DISABLE_SPEEDY=="boolean"?SC_DISABLE_SPEEDY:typeof process<"u"&&Bt!==void 0&&Bt.REACT_APP_SC_DISABLE_SPEEDY!==void 0&&Bt.REACT_APP_SC_DISABLE_SPEEDY!==""?Bt.REACT_APP_SC_DISABLE_SPEEDY!=="false"&&Bt.REACT_APP_SC_DISABLE_SPEEDY:typeof process<"u"&&Bt!==void 0&&Bt.SC_DISABLE_SPEEDY!==void 0&&Bt.SC_DISABLE_SPEEDY!==""&&Bt.SC_DISABLE_SPEEDY!=="false"&&Bt.SC_DISABLE_SPEEDY),ra=Object.freeze([]),lu=Object.freeze({});function vN(e,t,r){return r===void 0&&(r=lu),e.theme!==r.theme&&e.theme||t||r.theme}var k1=new Set(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","track","u","ul","use","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"]),gN=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,yN=/(^-|-$)/g;function F0(e){return e.replace(gN,"-").replace(yN,"")}var _N=/(a)(d)/gi,Ul=52,W0=function(e){return String.fromCharCode(e+(e>25?39:97))};function Zf(e){var t,r="";for(t=Math.abs(e);t>Ul;t=t/Ul|0)r=W0(t%Ul)+r;return(W0(t%Ul)+r).replace(_N,"$1-$2")}var Gc,E1=5381,Ui=function(e,t){for(var r=t.length;r;)e=33*e^t.charCodeAt(--r);return e},C1=function(e){return Ui(E1,e)};function wN(e){return Zf(C1(e)>>>0)}function SN(e){return e.displayName||e.name||"Component"}function Xc(e){return typeof e=="string"&&!0}var N1=typeof Symbol=="function"&&Symbol.for,P1=N1?Symbol.for("react.memo"):60115,xN=N1?Symbol.for("react.forward_ref"):60112,kN={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},EN={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},R1={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},CN=((Gc={})[xN]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},Gc[P1]=R1,Gc);function B0(e){return("type"in(t=e)&&t.type.$$typeof)===P1?R1:"$$typeof"in e?CN[e.$$typeof]:kN;var t}var NN=Object.defineProperty,PN=Object.getOwnPropertyNames,H0=Object.getOwnPropertySymbols,RN=Object.getOwnPropertyDescriptor,jN=Object.getPrototypeOf,U0=Object.prototype;function j1(e,t,r){if(typeof t!="string"){if(U0){var u=jN(t);u&&u!==U0&&j1(e,u,r)}var o=PN(t);H0&&(o=o.concat(H0(t)));for(var s=B0(e),c=B0(t),p=0;p0?" Args: ".concat(t.join(", ")):""))}var IN=function(){function e(t){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=t}return e.prototype.indexOfGroup=function(t){for(var r=0,u=0;u=this.groupSizes.length){for(var u=this.groupSizes,o=u.length,s=o;t>=s;)if((s<<=1)<0)throw To(16,"".concat(t));this.groupSizes=new Uint32Array(s),this.groupSizes.set(u),this.length=s;for(var c=o;c=this.length||this.groupSizes[t]===0)return r;for(var u=this.groupSizes[t],o=this.indexOfGroup(t),s=o+u,c=o;c=0){var u=document.createTextNode(r);return this.element.insertBefore(u,this.nodes[t]||null),this.length++,!0}return!1},e.prototype.deleteRule=function(t){this.element.removeChild(this.nodes[t]),this.length--},e.prototype.getRule=function(t){return t0&&(ue+="".concat(w,","))}),h+="".concat(A).concat(D,'{content:"').concat(ue,'"}').concat(Jd)},N=0;N0?".".concat(t):E},N=h.slice();N.push(function(E){E.type===Js&&E.value.includes("&")&&(E.props[0]=E.props[0].replace(BN,r).replace(u,_))}),c.prefix&&N.push(pN),N.push(cN);var P=function(E,T,A,D){T===void 0&&(T=""),A===void 0&&(A=""),D===void 0&&(D="&"),t=D,r=T,u=new RegExp("\\".concat(r,"\\b"),"g");var ue=E.replace(HN,""),w=sN(A||T?"".concat(A," ").concat(T," { ").concat(ue," }"):ue);c.namespace&&(w=T1(w,c.namespace));var y=[];return As(w,fN(N.concat(dN(function(x){return y.push(x)})))),y};return P.hash=h.length?h.reduce(function(E,T){return T.name||To(15),Ui(E,T.name)},E1).toString():"",P}var VN=new z1,bf=UN(),A1=Xi.createContext({shouldForwardProp:void 0,styleSheet:VN,stylis:bf});A1.Consumer;Xi.createContext(void 0);function q0(){return rn.useContext(A1)}var QN=function(){function e(t,r){var u=this;this.inject=function(o,s){s===void 0&&(s=bf);var c=u.name+s.hash;o.hasNameForId(u.id,c)||o.insertRules(u.id,c,s(u.rules,c,"@keyframes"))},this.name=t,this.id="sc-keyframes-".concat(t),this.rules=r,tp(this,function(){throw To(12,String(u.name))})}return e.prototype.getName=function(t){return t===void 0&&(t=bf),this.name+t.hash},e}(),qN=function(e){return e>="A"&&e<="Z"};function Y0(e){for(var t="",r=0;r>>0);if(!r.hasNameForId(this.componentId,c)){var p=u(s,".".concat(c),void 0,this.componentId);r.insertRules(this.componentId,c,p)}o=Jr(o,c),this.staticRulesId=c}else{for(var h=Ui(this.baseHash,u.hash),_="",N=0;N>>0);r.hasNameForId(this.componentId,T)||r.insertRules(this.componentId,T,u(_,".".concat(T),void 0,this.componentId)),o=Jr(o,T)}}return o},e}(),D1=Xi.createContext(void 0);D1.Consumer;var Zc={};function XN(e,t,r){var u=ep(e),o=e,s=!Xc(e),c=t.attrs,p=c===void 0?ra:c,h=t.componentId,_=h===void 0?function(j,F){var $=typeof j!="string"?"sc":F0(j);Zc[$]=(Zc[$]||0)+1;var O="".concat($,"-").concat(wN(na+$+Zc[$]));return F?"".concat(F,"-").concat(O):O}(t.displayName,t.parentComponentId):h,N=t.displayName,P=N===void 0?function(j){return Xc(j)?"styled.".concat(j):"Styled(".concat(SN(j),")")}(e):N,E=t.displayName&&t.componentId?"".concat(F0(t.displayName),"-").concat(t.componentId):t.componentId||_,T=u&&o.attrs?o.attrs.concat(p).filter(Boolean):p,A=t.shouldForwardProp;if(u&&o.shouldForwardProp){var D=o.shouldForwardProp;if(t.shouldForwardProp){var ue=t.shouldForwardProp;A=function(j,F){return D(j,F)&&ue(j,F)}}else A=D}var w=new GN(r,E,u?o.componentStyle:void 0);function y(j,F){return function($,O,Y){var _e=$.attrs,le=$.componentStyle,Ye=$.defaultProps,Mt=$.foldedComponentIds,dn=$.styledComponentId,Nn=$.target,Ve=Xi.useContext(D1),pn=q0(),yt=$.shouldForwardProp||pn.shouldForwardProp,U=vN(O,Ve,Ye)||lu,J=function(G,W,H){for(var Z,ie=Ot(Ot({},W),{className:void 0,theme:H}),Be=0;Be{let r;function u(){clearTimeout(r)}function o(){u(),r=setTimeout(()=>{e()},t)}return o.cancel=u,o},X0=(e,t,r)=>(t=!t&&t!==0?e:t,r=!r&&r!==0?e:r,t>r?(console.error("min limit is greater than max limit"),e):er?r:e),M1=(e,t)=>e.clientX>t.left&&e.clientXt.top&&e.clientY{const r=t.getBoundingClientRect();return M1(e,r)},F1=ia.div` position: absolute; height: 100%; width: 6px; @@ -119,19 +119,19 @@ Error generating stack: `+s.message+` width: 100%; top: 0; } -`;class Vu extends rn.Component{constructor(r){super(r);he(this,"scrollbarYWidth");he(this,"hideScrollThumb");he(this,"contentHeight",0);he(this,"visibleHeight",0);he(this,"scrollHandleHeight",0);he(this,"scrollRatio",1);he(this,"hasScroll",!1);he(this,"startDragHandlePos",0);he(this,"startDragMousePos",0);he(this,"customScrollRef",rn.createRef());he(this,"innerContainerRef",rn.createRef());he(this,"customScrollbarRef",rn.createRef());he(this,"scrollHandleRef",rn.createRef());he(this,"contentWrapperRef",rn.createRef());he(this,"adjustFreezePosition",r=>{if(!this.contentWrapperRef.current)return;const u=this.getScrolledElement(),o=this.contentWrapperRef.current;this.props.freezePosition&&(o.scrollTop=this.state.scrollPos),r.freezePosition&&(u.scrollTop=this.state.scrollPos)});he(this,"toggleScrollIfNeeded",()=>{const r=this.contentHeight-this.visibleHeight>1;this.hasScroll!==r&&(this.hasScroll=r,this.forceUpdate())});he(this,"updateScrollPosition",r=>{const u=this.getScrolledElement(),o=X0(r,0,this.contentHeight-this.visibleHeight);u.scrollTop=o,this.setState({scrollPos:o})});he(this,"onClick",r=>{if(!this.hasScroll||!this.isMouseEventOnCustomScrollbar(r)||this.isMouseEventOnScrollHandle(r))return;const u=this.calculateNewScrollHandleTop(r),o=this.getScrollValueFromHandlePosition(u);this.updateScrollPosition(o)});he(this,"isMouseEventOnCustomScrollbar",r=>{if(!this.customScrollbarRef.current)return!1;const o=this.customScrollRef.current.getBoundingClientRect(),s=this.customScrollbarRef.current.getBoundingClientRect(),c=this.props.rtl?{left:o.left,right:s.right}:{left:s.left,width:o.right},p={right:o.right,top:o.top,height:o.height,...c};return M1(r,p)});he(this,"isMouseEventOnScrollHandle",r=>{if(!this.scrollHandleRef.current)return!1;const u=this.scrollHandleRef.current;return bN(r,u)});he(this,"calculateNewScrollHandleTop",r=>{const s=this.customScrollRef.current.getBoundingClientRect().top+window.pageYOffset,c=r.pageY-s,p=this.getScrollHandleStyle().top;let m;return c>p+this.scrollHandleHeight?m=p+Math.min(this.scrollHandleHeight,this.visibleHeight-this.scrollHandleHeight):m=p-Math.max(this.scrollHandleHeight,0),m});he(this,"getScrollValueFromHandlePosition",r=>r/this.scrollRatio);he(this,"getScrollHandleStyle",()=>{const r=this.state.scrollPos*this.scrollRatio;return this.scrollHandleHeight=this.visibleHeight*this.scrollRatio,{height:this.scrollHandleHeight,top:r}});he(this,"adjustCustomScrollPosToContentPos",r=>{this.setState({scrollPos:r})});he(this,"onScroll",r=>{this.props.freezePosition||(this.hideScrollThumb(),this.adjustCustomScrollPosToContentPos(r.currentTarget.scrollTop),this.props.onScroll&&this.props.onScroll(r))});he(this,"getScrolledElement",()=>this.innerContainerRef.current);he(this,"onMouseDown",r=>{!this.hasScroll||!this.isMouseEventOnScrollHandle(r)||(this.startDragHandlePos=this.getScrollHandleStyle().top,this.startDragMousePos=r.pageY,this.setState({onDrag:!0}),document.addEventListener("mousemove",this.onHandleDrag,{passive:!1}),document.addEventListener("mouseup",this.onHandleDragEnd,{passive:!1}))});he(this,"onTouchStart",()=>{this.setState({onDrag:!0})});he(this,"onHandleDrag",r=>{r.preventDefault();const u=r.pageY-this.startDragMousePos,o=X0(this.startDragHandlePos+u,0,this.visibleHeight-this.scrollHandleHeight),s=this.getScrollValueFromHandlePosition(o);this.updateScrollPosition(s)});he(this,"onHandleDragEnd",r=>{this.setState({onDrag:!1}),r.preventDefault(),document.removeEventListener("mousemove",this.onHandleDrag),document.removeEventListener("mouseup",this.onHandleDragEnd)});he(this,"getInnerContainerClasses",()=>this.state.scrollPos&&this.props.addScrolledClass?"rcs-inner-container rcs-content-scrolled":"rcs-inner-container");he(this,"getScrollStyles",()=>{const r=this.scrollbarYWidth||20,u=this.props.rtl?"marginLeft":"marginRight",o={height:this.props.heightRelativeToParent||this.props.flex?"100%":"",overscrollBehavior:this.props.allowOuterScroll?"auto":"none"};o[u]=-1*r;const s={height:this.props.heightRelativeToParent||this.props.flex?"100%":"",overflowY:this.props.freezePosition?"hidden":"visible"};return s[u]=this.scrollbarYWidth?0:r,{innerContainer:o,contentWrapper:s}});he(this,"getOuterContainerStyle",()=>({height:this.props.heightRelativeToParent||this.props.flex?"100%":""}));he(this,"getRootStyles",()=>{const r={};return this.props.heightRelativeToParent?r.height=this.props.heightRelativeToParent:this.props.flex&&(r.flex=this.props.flex),r});he(this,"enforceMinHandleHeight",r=>{const u=this.props.minScrollHandleHeight||38;if(r.height>=u)return r;const o=u-r.height,s=this.state.scrollPos/(this.contentHeight-this.visibleHeight),c=o*s,p=r.top-c;return{height:u,top:p}});he(this,"onMouseEnter",()=>{this.setState({visible:!0})});he(this,"onMouseLeave",()=>{this.setState({visible:!1})});this.scrollbarYWidth=0,this.state={scrollPos:0,onDrag:!1,visible:!1},this.hideScrollThumb=JN(()=>{this.setState({onDrag:!1})},500)}componentDidMount(){typeof this.props.scrollTo<"u"?this.updateScrollPosition(this.props.scrollTo):this.forceUpdate()}componentDidUpdate(r,u){const o=this.contentHeight,s=this.visibleHeight,c=this.getScrolledElement(),p=u.scrollPos>=o-s;this.contentHeight=c.scrollHeight,this.scrollbarYWidth=c.offsetWidth-c.clientWidth,this.visibleHeight=c.clientHeight,this.scrollRatio=this.contentHeight?this.visibleHeight/this.contentHeight:1,this.toggleScrollIfNeeded();const m=this.state===u;(this.props.freezePosition||r.freezePosition)&&this.adjustFreezePosition(r),typeof this.props.scrollTo<"u"&&this.props.scrollTo!==r.scrollTo?this.updateScrollPosition(this.props.scrollTo):this.props.keepAtBottom&&m&&p&&this.updateScrollPosition(this.contentHeight-this.visibleHeight)}componentWillUnmount(){this.hideScrollThumb.cancel(),document.removeEventListener("mousemove",this.onHandleDrag),document.removeEventListener("mouseup",this.onHandleDragEnd)}render(){const r=this.getScrollStyles(),u=this.getRootStyles(),o=this.enforceMinHandleHeight(this.getScrollHandleStyle()),s=[this.props.className||"","rcs-custom-scroll",this.state.onDrag?"rcs-scroll-handle-dragged":""].join(" ");return B.jsx(t4,{className:s,style:u,ref:this.customScrollRef,children:B.jsxs("div",{"data-testid":"outer-container",className:"rcs-outer-container",style:this.getOuterContainerStyle(),onMouseDown:this.onMouseDown,onTouchStart:this.onTouchStart,onClick:this.onClick,onMouseEnter:this.onMouseEnter,onMouseLeave:this.onMouseLeave,children:[this.hasScroll?B.jsx("div",{className:"rcs-positioning",children:B.jsx(F1,{"data-testid":"custom-scrollbar",ref:this.customScrollbarRef,className:`rcs-custom-scrollbar ${this.props.rtl?"rcs-custom-scrollbar-rtl":""} ${this.state.visible?"scroll-visible":""}`,children:B.jsx("div",{"data-testid":"custom-scroll-handle",ref:this.scrollHandleRef,className:"rcs-custom-scroll-handle",style:o,children:B.jsx(e4,{className:this.props.handleClass||"rcs-inner-handle"})})},"scrollbar")}):null,B.jsx("div",{"data-testid":"inner-container",ref:this.innerContainerRef,className:this.getInnerContainerClasses(),style:r.innerContainer,onScroll:this.onScroll,children:B.jsx("div",{ref:this.contentWrapperRef,style:r.contentWrapper,children:this.props.children})})]})})}}const Qu={shortText:"Cras elementum lacus eu dictum vestibulum. Donec eros dui, cursus ut finibus vel, interdum et sem. Sed sed diam dui. Suspendisse at eros non felis faucibus consectetur. Nullam non eleifend sapien. In porttitor est in arcu auctor interdum. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Pellentesque eu sem euismod, dignissim orci sit amet, facilisis leo. Nulla at tempus sapien. Nunc pharetra eros at ex aliquam rutrum. Nunc quis iaculis nulla. Ut semper nisi in felis aliquam, vitae tincidunt erat tristique. Sed lobortis vulputate enim nec feugiat. Suspendisse maximus purus vitae elementum ullamcorper. Praesent fermentum, odio interdum gravida tempus, orci diam volutpat nisl, in sodales erat felis eget lorem. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Aenean nec egestas lorem. In hac habitasse platea dictumst. Donec laoreet felis id enim tempus, id finibus mauris faucibus. Maecenas sed risus sed quam finibus sollicitudin. Donec dictum id elit in faucibus. Sed pretium cursus tempus. Duis pulvinar, felis sit amet aliquam placerat, dolor risus finibus erat, et convallis velit lacus eget lorem. Etiam bibendum ex ac finibus tincidunt. Fusce elementum semper nunc sodales egestas. Maecenas eu facilisis metus. Suspendisse at eleifend lorem, feugiat tempor ligula. Vivamus dictum metus tortor, et dictum nibh sodales eu. Nulla ut iaculis tellus, eu convallis nulla. Proin mollis dui nec quam accumsan, sed pharetra velit elementum. Suspendisse vitae purus sollicitudin, posuere justo in, mattis nisl. Cras elementum lacus eu dictum vestibulum. Donec eros dui, cursus ut finibus vel, interdum et sem. Sed sed diam dui. Suspendisse at eros non felis faucibus consectetur. Nullam non eleifend sapien. In porttitor est in arcu auctor interdum. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Pellentesque eu sem euismod, dignissim orci sit amet, facilisis leo. Nulla at tempus sapien. Nunc pharetra eros at ex aliquam rutrum. Nunc quis iaculis nulla. Ut semper nisi in felis aliquam, vitae tincidunt erat tristique. Sed lobortis vulputate enim nec feugiat. Suspendisse maximus purus vitae elementum ullamcorper. Praesent fermentum, odio interdum gravida tempus, orci diam volutpat nisl, in sodales erat felis eget lorem. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Aenean nec egestas lorem. In hac habitasse platea dictumst. Donec laoreet felis id enim tempus, id finibus mauris faucibus. Maecenas sed risus sed quam finibus sollicitudin. Donec dictum id elit in faucibus. Sed pretium cursus tempus. Duis pulvinar, felis sit amet aliquam placerat, dolor risus finibus erat, et convallis velit lacus eget lorem. Etiam bibendum ex ac finibus tincidunt. Fusce elementum semper nunc sodales egestas. Maecenas eu facilisis metus. Suspendisse at eleifend lorem, feugiat tempor ligula. Vivamus dictum metus tortor, et dictum nibh sodales eu. Nulla ut iaculis tellus, eu convallis nulla. Proin mollis dui nec quam accumsan, sed pharetra velit elementum. Suspendisse vitae purus sollicitudin, posuere justo in, mattis nisl. Cras elementum lacus eu dictum vestibulum. ",text:"Cras elementum lacus eu dictum vestibulum. Donec eros dui, cursus ut finibus vel, interdum et sem. Sed sed diam dui. Suspendisse at eros non felis faucibus consectetur. Nullam non eleifend sapien. In porttitor est in arcu auctor interdum. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Pellentesque eu sem euismod, dignissim orci sit amet, facilisis leo. Nulla at tempus sapien. Nunc pharetra eros at ex aliquam rutrum. Nunc quis iaculis nulla. Ut semper nisi in felis aliquam, vitae tincidunt erat tristique. Sed lobortis vulputate enim nec feugiat. Suspendisse maximus purus vitae elementum ullamcorper. Praesent fermentum, odio interdum gravida tempus, orci diam volutpat nisl, in sodales erat felis eget lorem. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Aenean nec egestas lorem. In hac habitasse platea dictumst. Donec laoreet felis id enim tempus, id finibus mauris faucibus. Maecenas sed risus sed quam finibus sollicitudin. Donec dictum id elit in faucibus. Sed pretium cursus tempus. Duis pulvinar, felis sit amet aliquam placerat, dolor risus finibus erat, et convallis velit lacus eget lorem. Etiam bibendum ex ac finibus tincidunt. Fusce elementum semper nunc sodales egestas. Maecenas eu facilisis metus. Suspendisse at eleifend lorem, feugiat tempor ligula. Vivamus dictum metus tortor, et dictum nibh sodales eu. Nulla ut iaculis tellus, eu convallis nulla. Proin mollis dui nec quam accumsan, sed pharetra velit elementum. Suspendisse vitae purus sollicitudin, posuere justo in, mattis nisl. Cras elementum lacus eu dictum vestibulum. Donec eros dui, cursus ut finibus vel, interdum et sem. Sed sed diam dui. Suspendisse at eros non felis faucibus consectetur. Nullam non eleifend sapien. In porttitor est in arcu auctor interdum. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Pellentesque eu sem euismod, dignissim orci sit amet, facilisis leo. Nulla at tempus sapien. Nunc pharetra eros at ex aliquam rutrum. Nunc quis iaculis nulla. Ut semper nisi in felis aliquam, vitae tincidunt erat tristique. Sed lobortis vulputate enim nec feugiat. Suspendisse maximus purus vitae elementum ullamcorper. Praesent fermentum, odio interdum gravida tempus, orci diam volutpat nisl, in sodales erat felis eget lorem. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Aenean nec egestas lorem. In hac habitasse platea dictumst. Donec laoreet felis id enim tempus, id finibus mauris faucibus. Maecenas sed risus sed quam finibus sollicitudin. Donec dictum id elit in faucibus. Sed pretium cursus tempus. Duis pulvinar, felis sit amet aliquam placerat, dolor risus finibus erat, et convallis velit lacus eget lorem. Etiam bibendum ex ac finibus tincidunt. Fusce elementum semper nunc sodales egestas. Maecenas eu facilisis metus. Suspendisse at eleifend lorem, feugiat tempor ligula. Vivamus dictum metus tortor, et dictum nibh sodales eu. Nulla ut iaculis tellus, eu convallis nulla. Proin mollis dui nec quam accumsan, sed pharetra velit elementum. Suspendisse vitae purus sollicitudin, posuere justo in, mattis nisl. Cras elementum lacus eu dictum vestibulum. Donec eros dui, cursus ut finibus vel, interdum et sem. Sed sed diam dui. Suspendisse at eros non felis faucibus consectetur. Nullam non eleifend sapien. In porttitor est in arcu auctor interdum. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Pellentesque eu sem euismod, dignissim orci sit amet, facilisis leo. Nulla at tempus sapien. Nunc pharetra eros at ex aliquam rutrum. Nunc quis iaculis nulla. Ut semper nisi in felis aliquam, vitae tincidunt erat tristique. Sed lobortis vulputate enim nec feugiat. Suspendisse maximus purus vitae elementum ullamcorper. Praesent fermentum, odio interdum gravida tempus, orci diam volutpat nisl, in sodales erat felis eget lorem. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Aenean nec egestas lorem. In hac habitasse platea dictumst. Donec laoreet felis id eni."};var Ls={exports:{}};/** +`;class Ii extends rn.Component{constructor(r){super(r);he(this,"scrollbarYWidth");he(this,"hideScrollThumb");he(this,"contentHeight",0);he(this,"visibleHeight",0);he(this,"scrollHandleHeight",0);he(this,"scrollRatio",1);he(this,"hasScroll",!1);he(this,"startDragHandlePos",0);he(this,"startDragMousePos",0);he(this,"customScrollRef",rn.createRef());he(this,"innerContainerRef",rn.createRef());he(this,"customScrollbarRef",rn.createRef());he(this,"scrollHandleRef",rn.createRef());he(this,"contentWrapperRef",rn.createRef());he(this,"adjustFreezePosition",r=>{if(!this.contentWrapperRef.current)return;const u=this.getScrolledElement(),o=this.contentWrapperRef.current;this.props.freezePosition&&(o.scrollTop=this.state.scrollPos),r.freezePosition&&(u.scrollTop=this.state.scrollPos)});he(this,"toggleScrollIfNeeded",()=>{const r=this.contentHeight-this.visibleHeight>1;this.hasScroll!==r&&(this.hasScroll=r,this.forceUpdate())});he(this,"updateScrollPosition",r=>{const u=this.getScrolledElement(),o=X0(r,0,this.contentHeight-this.visibleHeight);u.scrollTop=o,this.setState({scrollPos:o})});he(this,"onClick",r=>{if(!this.hasScroll||!this.isMouseEventOnCustomScrollbar(r)||this.isMouseEventOnScrollHandle(r))return;const u=this.calculateNewScrollHandleTop(r),o=this.getScrollValueFromHandlePosition(u);this.updateScrollPosition(o)});he(this,"isMouseEventOnCustomScrollbar",r=>{if(!this.customScrollbarRef.current)return!1;const o=this.customScrollRef.current.getBoundingClientRect(),s=this.customScrollbarRef.current.getBoundingClientRect(),c=this.props.rtl?{left:o.left,right:s.right}:{left:s.left,width:o.right},p={right:o.right,top:o.top,height:o.height,...c};return M1(r,p)});he(this,"isMouseEventOnScrollHandle",r=>{if(!this.scrollHandleRef.current)return!1;const u=this.scrollHandleRef.current;return bN(r,u)});he(this,"calculateNewScrollHandleTop",r=>{const s=this.customScrollRef.current.getBoundingClientRect().top+window.pageYOffset,c=r.pageY-s,p=this.getScrollHandleStyle().top;let h;return c>p+this.scrollHandleHeight?h=p+Math.min(this.scrollHandleHeight,this.visibleHeight-this.scrollHandleHeight):h=p-Math.max(this.scrollHandleHeight,0),h});he(this,"getScrollValueFromHandlePosition",r=>r/this.scrollRatio);he(this,"getScrollHandleStyle",()=>{const r=this.state.scrollPos*this.scrollRatio;return this.scrollHandleHeight=this.visibleHeight*this.scrollRatio,{height:this.scrollHandleHeight,top:r}});he(this,"adjustCustomScrollPosToContentPos",r=>{this.setState({scrollPos:r})});he(this,"onScroll",r=>{this.props.freezePosition||(this.hideScrollThumb(),this.adjustCustomScrollPosToContentPos(r.currentTarget.scrollTop),this.props.onScroll&&this.props.onScroll(r))});he(this,"getScrolledElement",()=>this.innerContainerRef.current);he(this,"onMouseDown",r=>{!this.hasScroll||!this.isMouseEventOnScrollHandle(r)||(this.startDragHandlePos=this.getScrollHandleStyle().top,this.startDragMousePos=r.pageY,this.setState({onDrag:!0}),document.addEventListener("mousemove",this.onHandleDrag,{passive:!1}),document.addEventListener("mouseup",this.onHandleDragEnd,{passive:!1}))});he(this,"onTouchStart",()=>{this.setState({onDrag:!0})});he(this,"onHandleDrag",r=>{r.preventDefault();const u=r.pageY-this.startDragMousePos,o=X0(this.startDragHandlePos+u,0,this.visibleHeight-this.scrollHandleHeight),s=this.getScrollValueFromHandlePosition(o);this.updateScrollPosition(s)});he(this,"onHandleDragEnd",r=>{this.setState({onDrag:!1}),r.preventDefault(),document.removeEventListener("mousemove",this.onHandleDrag),document.removeEventListener("mouseup",this.onHandleDragEnd)});he(this,"getInnerContainerClasses",()=>this.state.scrollPos&&this.props.addScrolledClass?"rcs-inner-container rcs-content-scrolled":"rcs-inner-container");he(this,"getScrollStyles",()=>{const r=this.scrollbarYWidth||20,u=this.props.rtl?"marginLeft":"marginRight",o={height:this.props.heightRelativeToParent||this.props.flex?"100%":"",overscrollBehavior:this.props.allowOuterScroll?"auto":"none"};o[u]=-1*r;const s={height:this.props.heightRelativeToParent||this.props.flex?"100%":"",overflowY:this.props.freezePosition?"hidden":"visible"};return s[u]=this.scrollbarYWidth?0:r,{innerContainer:o,contentWrapper:s}});he(this,"getOuterContainerStyle",()=>({height:this.props.heightRelativeToParent||this.props.flex?"100%":""}));he(this,"getRootStyles",()=>{const r={};return this.props.heightRelativeToParent?r.height=this.props.heightRelativeToParent:this.props.flex&&(r.flex=this.props.flex),r});he(this,"enforceMinHandleHeight",r=>{const u=this.props.minScrollHandleHeight||38;if(r.height>=u)return r;const o=u-r.height,s=this.state.scrollPos/(this.contentHeight-this.visibleHeight),c=o*s,p=r.top-c;return{height:u,top:p}});he(this,"onMouseEnter",()=>{this.setState({visible:!0})});he(this,"onMouseLeave",()=>{this.setState({visible:!1})});this.scrollbarYWidth=0,this.state={scrollPos:0,onDrag:!1,visible:!1},this.hideScrollThumb=JN(()=>{this.setState({onDrag:!1})},500)}componentDidMount(){typeof this.props.scrollTo<"u"?this.updateScrollPosition(this.props.scrollTo):this.forceUpdate()}componentDidUpdate(r,u){const o=this.contentHeight,s=this.visibleHeight,c=this.getScrolledElement(),p=u.scrollPos>=o-s;this.contentHeight=c.scrollHeight,this.scrollbarYWidth=c.offsetWidth-c.clientWidth,this.visibleHeight=c.clientHeight,this.scrollRatio=this.contentHeight?this.visibleHeight/this.contentHeight:1,this.toggleScrollIfNeeded();const h=this.state===u;(this.props.freezePosition||r.freezePosition)&&this.adjustFreezePosition(r),typeof this.props.scrollTo<"u"&&this.props.scrollTo!==r.scrollTo?this.updateScrollPosition(this.props.scrollTo):this.props.keepAtBottom&&h&&p&&this.updateScrollPosition(this.contentHeight-this.visibleHeight)}componentWillUnmount(){this.hideScrollThumb.cancel(),document.removeEventListener("mousemove",this.onHandleDrag),document.removeEventListener("mouseup",this.onHandleDragEnd)}render(){const r=this.getScrollStyles(),u=this.getRootStyles(),o=this.enforceMinHandleHeight(this.getScrollHandleStyle()),s=[this.props.className||"","rcs-custom-scroll",this.state.onDrag?"rcs-scroll-handle-dragged":""].join(" ");return B.jsx(t4,{className:s,style:u,ref:this.customScrollRef,children:B.jsxs("div",{"data-testid":"outer-container",className:"rcs-outer-container",style:this.getOuterContainerStyle(),onMouseDown:this.onMouseDown,onTouchStart:this.onTouchStart,onClick:this.onClick,onMouseEnter:this.onMouseEnter,onMouseLeave:this.onMouseLeave,children:[this.hasScroll?B.jsx("div",{className:"rcs-positioning",children:B.jsx(F1,{"data-testid":"custom-scrollbar",ref:this.customScrollbarRef,className:`rcs-custom-scrollbar ${this.props.rtl?"rcs-custom-scrollbar-rtl":""} ${this.state.visible?"scroll-visible":""}`,children:B.jsx("div",{"data-testid":"custom-scroll-handle",ref:this.scrollHandleRef,className:"rcs-custom-scroll-handle",style:o,children:B.jsx(e4,{className:this.props.handleClass||"rcs-inner-handle"})})},"scrollbar")}):null,B.jsx("div",{"data-testid":"inner-container",ref:this.innerContainerRef,className:this.getInnerContainerClasses(),style:r.innerContainer,onScroll:this.onScroll,children:B.jsx("div",{ref:this.contentWrapperRef,style:r.contentWrapper,children:this.props.children})})]})})}}const Qu={shortText:"Cras elementum lacus eu dictum vestibulum. Donec eros dui, cursus ut finibus vel, interdum et sem. Sed sed diam dui. Suspendisse at eros non felis faucibus consectetur. Nullam non eleifend sapien. In porttitor est in arcu auctor interdum. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Pellentesque eu sem euismod, dignissim orci sit amet, facilisis leo. Nulla at tempus sapien. Nunc pharetra eros at ex aliquam rutrum. Nunc quis iaculis nulla. Ut semper nisi in felis aliquam, vitae tincidunt erat tristique. Sed lobortis vulputate enim nec feugiat. Suspendisse maximus purus vitae elementum ullamcorper. Praesent fermentum, odio interdum gravida tempus, orci diam volutpat nisl, in sodales erat felis eget lorem. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Aenean nec egestas lorem. In hac habitasse platea dictumst. Donec laoreet felis id enim tempus, id finibus mauris faucibus. Maecenas sed risus sed quam finibus sollicitudin. Donec dictum id elit in faucibus. Sed pretium cursus tempus. Duis pulvinar, felis sit amet aliquam placerat, dolor risus finibus erat, et convallis velit lacus eget lorem. Etiam bibendum ex ac finibus tincidunt. Fusce elementum semper nunc sodales egestas. Maecenas eu facilisis metus. Suspendisse at eleifend lorem, feugiat tempor ligula. Vivamus dictum metus tortor, et dictum nibh sodales eu. Nulla ut iaculis tellus, eu convallis nulla. Proin mollis dui nec quam accumsan, sed pharetra velit elementum. Suspendisse vitae purus sollicitudin, posuere justo in, mattis nisl. Cras elementum lacus eu dictum vestibulum. Donec eros dui, cursus ut finibus vel, interdum et sem. Sed sed diam dui. Suspendisse at eros non felis faucibus consectetur. Nullam non eleifend sapien. In porttitor est in arcu auctor interdum. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Pellentesque eu sem euismod, dignissim orci sit amet, facilisis leo. Nulla at tempus sapien. Nunc pharetra eros at ex aliquam rutrum. Nunc quis iaculis nulla. Ut semper nisi in felis aliquam, vitae tincidunt erat tristique. Sed lobortis vulputate enim nec feugiat. Suspendisse maximus purus vitae elementum ullamcorper. Praesent fermentum, odio interdum gravida tempus, orci diam volutpat nisl, in sodales erat felis eget lorem. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Aenean nec egestas lorem. In hac habitasse platea dictumst. Donec laoreet felis id enim tempus, id finibus mauris faucibus. Maecenas sed risus sed quam finibus sollicitudin. Donec dictum id elit in faucibus. Sed pretium cursus tempus. Duis pulvinar, felis sit amet aliquam placerat, dolor risus finibus erat, et convallis velit lacus eget lorem. Etiam bibendum ex ac finibus tincidunt. Fusce elementum semper nunc sodales egestas. Maecenas eu facilisis metus. Suspendisse at eleifend lorem, feugiat tempor ligula. Vivamus dictum metus tortor, et dictum nibh sodales eu. Nulla ut iaculis tellus, eu convallis nulla. Proin mollis dui nec quam accumsan, sed pharetra velit elementum. Suspendisse vitae purus sollicitudin, posuere justo in, mattis nisl. Cras elementum lacus eu dictum vestibulum. ",text:"Cras elementum lacus eu dictum vestibulum. Donec eros dui, cursus ut finibus vel, interdum et sem. Sed sed diam dui. Suspendisse at eros non felis faucibus consectetur. Nullam non eleifend sapien. In porttitor est in arcu auctor interdum. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Pellentesque eu sem euismod, dignissim orci sit amet, facilisis leo. Nulla at tempus sapien. Nunc pharetra eros at ex aliquam rutrum. Nunc quis iaculis nulla. Ut semper nisi in felis aliquam, vitae tincidunt erat tristique. Sed lobortis vulputate enim nec feugiat. Suspendisse maximus purus vitae elementum ullamcorper. Praesent fermentum, odio interdum gravida tempus, orci diam volutpat nisl, in sodales erat felis eget lorem. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Aenean nec egestas lorem. In hac habitasse platea dictumst. Donec laoreet felis id enim tempus, id finibus mauris faucibus. Maecenas sed risus sed quam finibus sollicitudin. Donec dictum id elit in faucibus. Sed pretium cursus tempus. Duis pulvinar, felis sit amet aliquam placerat, dolor risus finibus erat, et convallis velit lacus eget lorem. Etiam bibendum ex ac finibus tincidunt. Fusce elementum semper nunc sodales egestas. Maecenas eu facilisis metus. Suspendisse at eleifend lorem, feugiat tempor ligula. Vivamus dictum metus tortor, et dictum nibh sodales eu. Nulla ut iaculis tellus, eu convallis nulla. Proin mollis dui nec quam accumsan, sed pharetra velit elementum. Suspendisse vitae purus sollicitudin, posuere justo in, mattis nisl. Cras elementum lacus eu dictum vestibulum. Donec eros dui, cursus ut finibus vel, interdum et sem. Sed sed diam dui. Suspendisse at eros non felis faucibus consectetur. Nullam non eleifend sapien. In porttitor est in arcu auctor interdum. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Pellentesque eu sem euismod, dignissim orci sit amet, facilisis leo. Nulla at tempus sapien. Nunc pharetra eros at ex aliquam rutrum. Nunc quis iaculis nulla. Ut semper nisi in felis aliquam, vitae tincidunt erat tristique. Sed lobortis vulputate enim nec feugiat. Suspendisse maximus purus vitae elementum ullamcorper. Praesent fermentum, odio interdum gravida tempus, orci diam volutpat nisl, in sodales erat felis eget lorem. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Aenean nec egestas lorem. In hac habitasse platea dictumst. Donec laoreet felis id enim tempus, id finibus mauris faucibus. Maecenas sed risus sed quam finibus sollicitudin. Donec dictum id elit in faucibus. Sed pretium cursus tempus. Duis pulvinar, felis sit amet aliquam placerat, dolor risus finibus erat, et convallis velit lacus eget lorem. Etiam bibendum ex ac finibus tincidunt. Fusce elementum semper nunc sodales egestas. Maecenas eu facilisis metus. Suspendisse at eleifend lorem, feugiat tempor ligula. Vivamus dictum metus tortor, et dictum nibh sodales eu. Nulla ut iaculis tellus, eu convallis nulla. Proin mollis dui nec quam accumsan, sed pharetra velit elementum. Suspendisse vitae purus sollicitudin, posuere justo in, mattis nisl. Cras elementum lacus eu dictum vestibulum. Donec eros dui, cursus ut finibus vel, interdum et sem. Sed sed diam dui. Suspendisse at eros non felis faucibus consectetur. Nullam non eleifend sapien. In porttitor est in arcu auctor interdum. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Pellentesque eu sem euismod, dignissim orci sit amet, facilisis leo. Nulla at tempus sapien. Nunc pharetra eros at ex aliquam rutrum. Nunc quis iaculis nulla. Ut semper nisi in felis aliquam, vitae tincidunt erat tristique. Sed lobortis vulputate enim nec feugiat. Suspendisse maximus purus vitae elementum ullamcorper. Praesent fermentum, odio interdum gravida tempus, orci diam volutpat nisl, in sodales erat felis eget lorem. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Aenean nec egestas lorem. In hac habitasse platea dictumst. Donec laoreet felis id eni."};var Ls={exports:{}};/** * @license * Lodash * Copyright OpenJS Foundation and other contributors * Released under MIT license * Based on Underscore.js 1.8.3 * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors - */Ls.exports;(function(e,t){(function(){function r(k,R,f){switch(f.length){case 0:return k.call(R);case 1:return k.call(R,f[0]);case 2:return k.call(R,f[0],f[1]);case 3:return k.call(R,f[0],f[1],f[2])}return k.apply(R,f)}function u(k,R,f,Q){for(var te=-1,K=k==null?0:k.length;++te-1}function _(k,R,f){for(var Q=-1,te=k==null?0:k.length;++Q-1;);return f}function J(k,R){for(var f=k.length;f--&&x(R,k[f],0)>-1;);return f}function re(k,R){for(var f=k.length,Q=0;f--;)k[f]===R&&++Q;return Q}function ge(k){return"\\"+s_[k]}function ye(k,R){return k==null?v:k[R]}function Ee(k){return t_.test(k)}function Ke(k){return n_.test(k)}function G(k){for(var R,f=[];!(R=k.next()).done;)f.push(R.value);return f}function W(k){var R=-1,f=Array(k.size);return k.forEach(function(Q,te){f[++R]=[te,Q]}),f}function H(k,R){return function(f){return k(R(f))}}function Z(k,R){for(var f=-1,Q=k.length,te=0,K=[];++f>>1,ry=[["ary",Fn],["bind",Gt],["bindKey",Dr],["curry",Pn],["curryRight",di],["flip",la],["partial",Rn],["partialRight",pi],["rearg",du]],hi="[object Arguments]",$o="[object Array]",iy="[object AsyncFunction]",pu="[object Boolean]",hu="[object Date]",uy="[object DOMException]",Mo="[object Error]",Fo="[object Function]",up="[object GeneratorFunction]",hn="[object Map]",mu="[object Number]",oy="[object Null]",Wn="[object Object]",op="[object Promise]",ly="[object Proxy]",vu="[object RegExp]",mn="[object Set]",gu="[object String]",Wo="[object Symbol]",sy="[object Undefined]",yu="[object WeakMap]",ay="[object WeakSet]",_u="[object ArrayBuffer]",mi="[object DataView]",sa="[object Float32Array]",aa="[object Float64Array]",ca="[object Int8Array]",fa="[object Int16Array]",da="[object Int32Array]",pa="[object Uint8Array]",ha="[object Uint8ClampedArray]",ma="[object Uint16Array]",va="[object Uint32Array]",cy=/\b__p \+= '';/g,fy=/\b(__p \+=) '' \+/g,dy=/(__e\(.*?\)|\b__t\)) \+\n'';/g,lp=/&(?:amp|lt|gt|quot|#39);/g,sp=/[&<>"']/g,py=RegExp(lp.source),hy=RegExp(sp.source),my=/<%-([\s\S]+?)%>/g,vy=/<%([\s\S]+?)%>/g,ap=/<%=([\s\S]+?)%>/g,gy=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,yy=/^\w*$/,_y=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,ga=/[\\^$.*+?()[\]{}|]/g,wy=RegExp(ga.source),ya=/^\s+/,Sy=/\s/,xy=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,ky=/\{\n\/\* \[wrapped with (.+)\] \*/,Ey=/,? & /,Cy=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Ny=/[()=,{}\[\]\/\s]/,Py=/\\(\\)?/g,Ry=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,cp=/\w*$/,jy=/^[-+]0x[0-9a-f]+$/i,Iy=/^0b[01]+$/i,zy=/^\[object .+?Constructor\]$/,Ty=/^0o[0-7]+$/i,Ay=/^(?:0|[1-9]\d*)$/,Oy=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Bo=/($^)/,Ly=/['\n\r\u2028\u2029\\]/g,Ho="\\ud800-\\udfff",Dy="\\u0300-\\u036f",$y="\\ufe20-\\ufe2f",My="\\u20d0-\\u20ff",fp=Dy+$y+My,dp="\\u2700-\\u27bf",pp="a-z\\xdf-\\xf6\\xf8-\\xff",Fy="\\xac\\xb1\\xd7\\xf7",Wy="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",By="\\u2000-\\u206f",Hy=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",hp="A-Z\\xc0-\\xd6\\xd8-\\xde",mp="\\ufe0e\\ufe0f",vp=Fy+Wy+By+Hy,_a="['’]",Uy="["+Ho+"]",gp="["+vp+"]",Uo="["+fp+"]",yp="\\d+",Vy="["+dp+"]",_p="["+pp+"]",wp="[^"+Ho+vp+yp+dp+pp+hp+"]",wa="\\ud83c[\\udffb-\\udfff]",Qy="(?:"+Uo+"|"+wa+")",Sp="[^"+Ho+"]",Sa="(?:\\ud83c[\\udde6-\\uddff]){2}",xa="[\\ud800-\\udbff][\\udc00-\\udfff]",vi="["+hp+"]",xp="\\u200d",kp="(?:"+_p+"|"+wp+")",qy="(?:"+vi+"|"+wp+")",Ep="(?:"+_a+"(?:d|ll|m|re|s|t|ve))?",Cp="(?:"+_a+"(?:D|LL|M|RE|S|T|VE))?",Np=Qy+"?",Pp="["+mp+"]?",Yy="(?:"+xp+"(?:"+[Sp,Sa,xa].join("|")+")"+Pp+Np+")*",Ky="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Gy="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",Rp=Pp+Np+Yy,Xy="(?:"+[Vy,Sa,xa].join("|")+")"+Rp,Zy="(?:"+[Sp+Uo+"?",Uo,Sa,xa,Uy].join("|")+")",Jy=RegExp(_a,"g"),by=RegExp(Uo,"g"),ka=RegExp(wa+"(?="+wa+")|"+Zy+Rp,"g"),e_=RegExp([vi+"?"+_p+"+"+Ep+"(?="+[gp,vi,"$"].join("|")+")",qy+"+"+Cp+"(?="+[gp,vi+kp,"$"].join("|")+")",vi+"?"+kp+"+"+Ep,vi+"+"+Cp,Gy,Ky,yp,Xy].join("|"),"g"),t_=RegExp("["+xp+Ho+fp+mp+"]"),n_=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,r_=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],i_=-1,Pe={};Pe[sa]=Pe[aa]=Pe[ca]=Pe[fa]=Pe[da]=Pe[pa]=Pe[ha]=Pe[ma]=Pe[va]=!0,Pe[hi]=Pe[$o]=Pe[_u]=Pe[pu]=Pe[mi]=Pe[hu]=Pe[Mo]=Pe[Fo]=Pe[hn]=Pe[mu]=Pe[Wn]=Pe[vu]=Pe[mn]=Pe[gu]=Pe[yu]=!1;var Ce={};Ce[hi]=Ce[$o]=Ce[_u]=Ce[mi]=Ce[pu]=Ce[hu]=Ce[sa]=Ce[aa]=Ce[ca]=Ce[fa]=Ce[da]=Ce[hn]=Ce[mu]=Ce[Wn]=Ce[vu]=Ce[mn]=Ce[gu]=Ce[Wo]=Ce[pa]=Ce[ha]=Ce[ma]=Ce[va]=!0,Ce[Mo]=Ce[Fo]=Ce[yu]=!1;var u_={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"},o_={"&":"&","<":"<",">":">",'"':""","'":"'"},l_={"&":"&","<":"<",">":">",""":'"',"'":"'"},s_={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},a_=parseFloat,c_=parseInt,jp=typeof Lu=="object"&&Lu&&Lu.Object===Object&&Lu,f_=typeof self=="object"&&self&&self.Object===Object&&self,ot=jp||f_||Function("return this")(),Ea=t&&!t.nodeType&&t,Mr=Ea&&!0&&e&&!e.nodeType&&e,Ip=Mr&&Mr.exports===Ea,Ca=Ip&&jp.process,Xt=function(){try{var k=Mr&&Mr.require&&Mr.require("util").types;return k||Ca&&Ca.binding&&Ca.binding("util")}catch{}}(),zp=Xt&&Xt.isArrayBuffer,Tp=Xt&&Xt.isDate,Ap=Xt&&Xt.isMap,Op=Xt&&Xt.isRegExp,Lp=Xt&&Xt.isSet,Dp=Xt&&Xt.isTypedArray,d_=O("length"),p_=Y(u_),h_=Y(o_),m_=Y(l_),v_=function k(R){function f(n){if(Me(n)&&!oe(n)&&!(n instanceof K)){if(n instanceof te)return n;if(xe.call(n,"__wrapped__"))return Ih(n)}return new te(n)}function Q(){}function te(n,i){this.__wrapped__=n,this.__actions__=[],this.__chain__=!!i,this.__index__=0,this.__values__=v}function K(n){this.__wrapped__=n,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=jn,this.__views__=[]}function Nt(){var n=new K(this.__wrapped__);return n.__actions__=Pt(this.__actions__),n.__dir__=this.__dir__,n.__filtered__=this.__filtered__,n.__iteratees__=Pt(this.__iteratees__),n.__takeCount__=this.__takeCount__,n.__views__=Pt(this.__views__),n}function Na(){if(this.__filtered__){var n=new K(this);n.__dir__=-1,n.__filtered__=!0}else n=this.clone(),n.__dir__*=-1;return n}function g_(){var n=this.__wrapped__.value(),i=this.__dir__,l=oe(n),a=i<0,d=l?n.length:0,h=Nw(0,d,this.__views__),g=h.start,S=h.end,C=S-g,z=a?S:g-1,I=this.__iteratees__,L=I.length,V=0,X=ft(C,this.__takeCount__);if(!l||!a&&d==C&&X==C)return rh(n,this.__actions__);var b=[];e:for(;C--&&V-1}function P_(n,i){var l=this.__data__,a=Vo(l,n);return a<0?(++this.size,l.push([n,i])):l[a][1]=i,this}function Hn(n){var i=-1,l=n==null?0:n.length;for(this.clear();++i=i?n:i)),n}function Zt(n,i,l,a,d,h){var g,S=i&or,C=i&np,z=i&ci;if(l&&(g=d?l(n,a,d,h):l(n)),g!==v)return g;if(!Oe(n))return n;var I=oe(n);if(I){if(g=Rw(n),!S)return Pt(n,g)}else{var L=dt(n),V=L==Fo||L==up;if(pr(n))return uh(n,S);if(L==Wn||L==hi||V&&!d){if(g=C||V?{}:kh(n),!S)return C?yw(n,U_(g,n)):gw(n,Fp(g,n))}else{if(!Ce[L])return d?n:{};g=jw(n,L,S)}}h||(h=new vn);var X=h.get(n);if(X)return X;h.set(n,g),wm(n)?n.forEach(function(ee){g.add(Zt(ee,i,l,ee,n,h))}):_m(n)&&n.forEach(function(ee,de){g.set(de,Zt(ee,i,l,de,n,h))});var b=z?C?Ya:qa:C?jt:et,se=I?v:b(n);return o(se||n,function(ee,de){se&&(de=ee,ee=n[de]),wu(g,de,Zt(ee,i,l,de,n,h))}),g}function V_(n){var i=et(n);return function(l){return Wp(l,n,i)}}function Wp(n,i,l){var a=l.length;if(n==null)return!a;for(n=Re(n);a--;){var d=l[a],h=i[d],g=n[d];if(g===v&&!(d in n)||!h(g))return!1}return!0}function Bp(n,i,l){if(typeof n!="function")throw new tn(Kt);return Au(function(){n.apply(v,l)},i)}function Su(n,i,l,a){var d=-1,h=m,g=!0,S=n.length,C=[],z=i.length;if(!S)return C;l&&(i=N(i,Ve(l))),a?(h=_,g=!1):i.length>=ua&&(h=yt,g=!1,i=new Wr(i));e:for(;++dd?0:d+l),a=a===v||a>d?d:ae(a),a<0&&(a+=d),a=l>a?0:Kh(a);l0&&l(S)?i>1?lt(S,i-1,l,a,d):P(d,S):a||(d[d.length]=S)}return d}function In(n,i){return n&&hc(n,i,et)}function ja(n,i){return n&&fm(n,i,et)}function qo(n,i){return p(i,function(l){return Yn(n[l])})}function Hr(n,i){i=ar(i,n);for(var l=0,a=i.length;n!=null&&li}function Y_(n,i){return n!=null&&xe.call(n,i)}function K_(n,i){return n!=null&&i in Re(n)}function G_(n,i,l){return n>=ft(i,l)&&n=120&&I.length>=120)?new Wr(g&&I):v}I=n[0];var L=-1,V=S[0];e:for(;++L-1;)S!==n&&yl.call(S,C,1),yl.call(n,C,1);return n}function bp(n,i){for(var l=n?i.length:0,a=l-1;l--;){var d=i[l];if(l==a||d!==h){var h=d;qn(d)?yl.call(n,d,1):Fa(n,d)}}return n}function Da(n,i){return n+Sl(sm()*(i-n+1))}function sw(n,i,l,a){for(var d=-1,h=Xe(wl((i-n)/(l||1)),0),g=Ge(h);h--;)g[a?h:++d]=n,n+=l;return g}function $a(n,i){var l="";if(!n||i<1||i>lr)return l;do i%2&&(l+=n),i=Sl(i/2),i&&(n+=n);while(i);return l}function fe(n,i){return gc(Nh(n,i,It),n+"")}function aw(n){return Mp(Si(n))}function cw(n,i){var l=Si(n);return rl(l,Br(i,0,l.length))}function Eu(n,i,l,a){if(!Oe(n))return n;i=ar(i,n);for(var d=-1,h=i.length,g=h-1,S=n;S!=null&&++dd?0:d+i),l=l>d?d:l,l<0&&(l+=d),d=i>l?0:l-i>>>0,i>>>=0;for(var h=Ge(d);++a>>1,g=n[h];g!==null&&!Wt(g)&&(l?g<=i:g=ua){var z=i?null:rE(n);if(z)return ie(z);g=!1,d=yt,C=new Wr}else C=i?[]:S;e:for(;++a=a?n:Jt(n,i,l)}function uh(n,i){if(i)return n.slice();var l=n.length,a=rm?rm(l):new n.constructor(l);return n.copy(a),a}function Ua(n){var i=new n.constructor(n.byteLength);return new vl(i).set(new vl(n)),i}function pw(n,i){return new n.constructor(i?Ua(n.buffer):n.buffer,n.byteOffset,n.byteLength)}function hw(n){var i=new n.constructor(n.source,cp.exec(n));return i.lastIndex=n.lastIndex,i}function mw(n){return Tu?Re(Tu.call(n)):{}}function oh(n,i){return new n.constructor(i?Ua(n.buffer):n.buffer,n.byteOffset,n.length)}function lh(n,i){if(n!==i){var l=n!==v,a=n===null,d=n===n,h=Wt(n),g=i!==v,S=i===null,C=i===i,z=Wt(i);if(!S&&!z&&!h&&n>i||h&&g&&C&&!S&&!z||a&&g&&C||!l&&C||!d)return 1;if(!a&&!h&&!z&&n=S?C:C*(l[a]=="desc"?-1:1)}return n.index-i.index}function sh(n,i,l,a){for(var d=-1,h=n.length,g=l.length,S=-1,C=i.length,z=Xe(h-g,0),I=Ge(C+z),L=!a;++S1?l[d-1]:v,g=d>2?l[2]:v;for(h=n.length>3&&typeof h=="function"?(d--,h):v,g&&wt(l[0],l[1],g)&&(h=d<3?v:h,d=1),i=Re(i);++a-1?d[h?i[g]:g]:v}}function hh(n){return Qn(function(i){var l=i.length,a=l,d=te.prototype.thru;for(n&&i.reverse();a--;){var h=i[a];if(typeof h!="function")throw new tn(Kt);if(d&&!g&&tl(h)=="wrapper")var g=new te([],!0)}for(a=g?a:l;++a1&&pe.reverse(),L&&CS))return!1;var z=h.get(n),I=h.get(i);if(z&&I)return z==i&&I==n;var L=-1,V=!0,X=l&Lo?new Wr:v;for(h.set(n,i),h.set(i,n);++L1?"& ":"")+i[a],i=i.join(l>2?", ":" "),n.replace(xy,`{ + */Ls.exports;(function(e,t){(function(){function r(k,R,f){switch(f.length){case 0:return k.call(R);case 1:return k.call(R,f[0]);case 2:return k.call(R,f[0],f[1]);case 3:return k.call(R,f[0],f[1],f[2])}return k.apply(R,f)}function u(k,R,f,Q){for(var te=-1,K=k==null?0:k.length;++te-1}function _(k,R,f){for(var Q=-1,te=k==null?0:k.length;++Q-1;);return f}function J(k,R){for(var f=k.length;f--&&x(R,k[f],0)>-1;);return f}function re(k,R){for(var f=k.length,Q=0;f--;)k[f]===R&&++Q;return Q}function ge(k){return"\\"+s_[k]}function ye(k,R){return k==null?v:k[R]}function Ee(k){return t_.test(k)}function Ke(k){return n_.test(k)}function G(k){for(var R,f=[];!(R=k.next()).done;)f.push(R.value);return f}function W(k){var R=-1,f=Array(k.size);return k.forEach(function(Q,te){f[++R]=[te,Q]}),f}function H(k,R){return function(f){return k(R(f))}}function Z(k,R){for(var f=-1,Q=k.length,te=0,K=[];++f>>1,ry=[["ary",Fn],["bind",Gt],["bindKey",Dr],["curry",Pn],["curryRight",di],["flip",la],["partial",Rn],["partialRight",pi],["rearg",pu]],hi="[object Arguments]",$o="[object Array]",iy="[object AsyncFunction]",hu="[object Boolean]",mu="[object Date]",uy="[object DOMException]",Mo="[object Error]",Fo="[object Function]",up="[object GeneratorFunction]",hn="[object Map]",vu="[object Number]",oy="[object Null]",Wn="[object Object]",op="[object Promise]",ly="[object Proxy]",gu="[object RegExp]",mn="[object Set]",yu="[object String]",Wo="[object Symbol]",sy="[object Undefined]",_u="[object WeakMap]",ay="[object WeakSet]",wu="[object ArrayBuffer]",mi="[object DataView]",sa="[object Float32Array]",aa="[object Float64Array]",ca="[object Int8Array]",fa="[object Int16Array]",da="[object Int32Array]",pa="[object Uint8Array]",ha="[object Uint8ClampedArray]",ma="[object Uint16Array]",va="[object Uint32Array]",cy=/\b__p \+= '';/g,fy=/\b(__p \+=) '' \+/g,dy=/(__e\(.*?\)|\b__t\)) \+\n'';/g,lp=/&(?:amp|lt|gt|quot|#39);/g,sp=/[&<>"']/g,py=RegExp(lp.source),hy=RegExp(sp.source),my=/<%-([\s\S]+?)%>/g,vy=/<%([\s\S]+?)%>/g,ap=/<%=([\s\S]+?)%>/g,gy=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,yy=/^\w*$/,_y=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,ga=/[\\^$.*+?()[\]{}|]/g,wy=RegExp(ga.source),ya=/^\s+/,Sy=/\s/,xy=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,ky=/\{\n\/\* \[wrapped with (.+)\] \*/,Ey=/,? & /,Cy=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Ny=/[()=,{}\[\]\/\s]/,Py=/\\(\\)?/g,Ry=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,cp=/\w*$/,jy=/^[-+]0x[0-9a-f]+$/i,Iy=/^0b[01]+$/i,zy=/^\[object .+?Constructor\]$/,Ty=/^0o[0-7]+$/i,Ay=/^(?:0|[1-9]\d*)$/,Oy=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Bo=/($^)/,Ly=/['\n\r\u2028\u2029\\]/g,Ho="\\ud800-\\udfff",Dy="\\u0300-\\u036f",$y="\\ufe20-\\ufe2f",My="\\u20d0-\\u20ff",fp=Dy+$y+My,dp="\\u2700-\\u27bf",pp="a-z\\xdf-\\xf6\\xf8-\\xff",Fy="\\xac\\xb1\\xd7\\xf7",Wy="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",By="\\u2000-\\u206f",Hy=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",hp="A-Z\\xc0-\\xd6\\xd8-\\xde",mp="\\ufe0e\\ufe0f",vp=Fy+Wy+By+Hy,_a="['’]",Uy="["+Ho+"]",gp="["+vp+"]",Uo="["+fp+"]",yp="\\d+",Vy="["+dp+"]",_p="["+pp+"]",wp="[^"+Ho+vp+yp+dp+pp+hp+"]",wa="\\ud83c[\\udffb-\\udfff]",Qy="(?:"+Uo+"|"+wa+")",Sp="[^"+Ho+"]",Sa="(?:\\ud83c[\\udde6-\\uddff]){2}",xa="[\\ud800-\\udbff][\\udc00-\\udfff]",vi="["+hp+"]",xp="\\u200d",kp="(?:"+_p+"|"+wp+")",qy="(?:"+vi+"|"+wp+")",Ep="(?:"+_a+"(?:d|ll|m|re|s|t|ve))?",Cp="(?:"+_a+"(?:D|LL|M|RE|S|T|VE))?",Np=Qy+"?",Pp="["+mp+"]?",Yy="(?:"+xp+"(?:"+[Sp,Sa,xa].join("|")+")"+Pp+Np+")*",Ky="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Gy="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",Rp=Pp+Np+Yy,Xy="(?:"+[Vy,Sa,xa].join("|")+")"+Rp,Zy="(?:"+[Sp+Uo+"?",Uo,Sa,xa,Uy].join("|")+")",Jy=RegExp(_a,"g"),by=RegExp(Uo,"g"),ka=RegExp(wa+"(?="+wa+")|"+Zy+Rp,"g"),e_=RegExp([vi+"?"+_p+"+"+Ep+"(?="+[gp,vi,"$"].join("|")+")",qy+"+"+Cp+"(?="+[gp,vi+kp,"$"].join("|")+")",vi+"?"+kp+"+"+Ep,vi+"+"+Cp,Gy,Ky,yp,Xy].join("|"),"g"),t_=RegExp("["+xp+Ho+fp+mp+"]"),n_=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,r_=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],i_=-1,Pe={};Pe[sa]=Pe[aa]=Pe[ca]=Pe[fa]=Pe[da]=Pe[pa]=Pe[ha]=Pe[ma]=Pe[va]=!0,Pe[hi]=Pe[$o]=Pe[wu]=Pe[hu]=Pe[mi]=Pe[mu]=Pe[Mo]=Pe[Fo]=Pe[hn]=Pe[vu]=Pe[Wn]=Pe[gu]=Pe[mn]=Pe[yu]=Pe[_u]=!1;var Ce={};Ce[hi]=Ce[$o]=Ce[wu]=Ce[mi]=Ce[hu]=Ce[mu]=Ce[sa]=Ce[aa]=Ce[ca]=Ce[fa]=Ce[da]=Ce[hn]=Ce[vu]=Ce[Wn]=Ce[gu]=Ce[mn]=Ce[yu]=Ce[Wo]=Ce[pa]=Ce[ha]=Ce[ma]=Ce[va]=!0,Ce[Mo]=Ce[Fo]=Ce[_u]=!1;var u_={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"},o_={"&":"&","<":"<",">":">",'"':""","'":"'"},l_={"&":"&","<":"<",">":">",""":'"',"'":"'"},s_={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},a_=parseFloat,c_=parseInt,jp=typeof Du=="object"&&Du&&Du.Object===Object&&Du,f_=typeof self=="object"&&self&&self.Object===Object&&self,ot=jp||f_||Function("return this")(),Ea=t&&!t.nodeType&&t,Mr=Ea&&!0&&e&&!e.nodeType&&e,Ip=Mr&&Mr.exports===Ea,Ca=Ip&&jp.process,Xt=function(){try{var k=Mr&&Mr.require&&Mr.require("util").types;return k||Ca&&Ca.binding&&Ca.binding("util")}catch{}}(),zp=Xt&&Xt.isArrayBuffer,Tp=Xt&&Xt.isDate,Ap=Xt&&Xt.isMap,Op=Xt&&Xt.isRegExp,Lp=Xt&&Xt.isSet,Dp=Xt&&Xt.isTypedArray,d_=O("length"),p_=Y(u_),h_=Y(o_),m_=Y(l_),v_=function k(R){function f(n){if(Me(n)&&!oe(n)&&!(n instanceof K)){if(n instanceof te)return n;if(xe.call(n,"__wrapped__"))return Ih(n)}return new te(n)}function Q(){}function te(n,i){this.__wrapped__=n,this.__actions__=[],this.__chain__=!!i,this.__index__=0,this.__values__=v}function K(n){this.__wrapped__=n,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=jn,this.__views__=[]}function Nt(){var n=new K(this.__wrapped__);return n.__actions__=Pt(this.__actions__),n.__dir__=this.__dir__,n.__filtered__=this.__filtered__,n.__iteratees__=Pt(this.__iteratees__),n.__takeCount__=this.__takeCount__,n.__views__=Pt(this.__views__),n}function Na(){if(this.__filtered__){var n=new K(this);n.__dir__=-1,n.__filtered__=!0}else n=this.clone(),n.__dir__*=-1;return n}function g_(){var n=this.__wrapped__.value(),i=this.__dir__,l=oe(n),a=i<0,d=l?n.length:0,m=Nw(0,d,this.__views__),g=m.start,S=m.end,C=S-g,z=a?S:g-1,I=this.__iteratees__,L=I.length,V=0,X=ft(C,this.__takeCount__);if(!l||!a&&d==C&&X==C)return rh(n,this.__actions__);var b=[];e:for(;C--&&V-1}function P_(n,i){var l=this.__data__,a=Vo(l,n);return a<0?(++this.size,l.push([n,i])):l[a][1]=i,this}function Hn(n){var i=-1,l=n==null?0:n.length;for(this.clear();++i=i?n:i)),n}function Zt(n,i,l,a,d,m){var g,S=i&or,C=i&np,z=i&ci;if(l&&(g=d?l(n,a,d,m):l(n)),g!==v)return g;if(!Oe(n))return n;var I=oe(n);if(I){if(g=Rw(n),!S)return Pt(n,g)}else{var L=dt(n),V=L==Fo||L==up;if(pr(n))return uh(n,S);if(L==Wn||L==hi||V&&!d){if(g=C||V?{}:kh(n),!S)return C?yw(n,U_(g,n)):gw(n,Fp(g,n))}else{if(!Ce[L])return d?n:{};g=jw(n,L,S)}}m||(m=new vn);var X=m.get(n);if(X)return X;m.set(n,g),wm(n)?n.forEach(function(ee){g.add(Zt(ee,i,l,ee,n,m))}):_m(n)&&n.forEach(function(ee,de){g.set(de,Zt(ee,i,l,de,n,m))});var b=z?C?Ya:qa:C?jt:et,se=I?v:b(n);return o(se||n,function(ee,de){se&&(de=ee,ee=n[de]),Su(g,de,Zt(ee,i,l,de,n,m))}),g}function V_(n){var i=et(n);return function(l){return Wp(l,n,i)}}function Wp(n,i,l){var a=l.length;if(n==null)return!a;for(n=Re(n);a--;){var d=l[a],m=i[d],g=n[d];if(g===v&&!(d in n)||!m(g))return!1}return!0}function Bp(n,i,l){if(typeof n!="function")throw new tn(Kt);return Ou(function(){n.apply(v,l)},i)}function xu(n,i,l,a){var d=-1,m=h,g=!0,S=n.length,C=[],z=i.length;if(!S)return C;l&&(i=N(i,Ve(l))),a?(m=_,g=!1):i.length>=ua&&(m=yt,g=!1,i=new Wr(i));e:for(;++dd?0:d+l),a=a===v||a>d?d:ae(a),a<0&&(a+=d),a=l>a?0:Kh(a);l0&&l(S)?i>1?lt(S,i-1,l,a,d):P(d,S):a||(d[d.length]=S)}return d}function In(n,i){return n&&hc(n,i,et)}function ja(n,i){return n&&fm(n,i,et)}function qo(n,i){return p(i,function(l){return Yn(n[l])})}function Hr(n,i){i=ar(i,n);for(var l=0,a=i.length;n!=null&&li}function Y_(n,i){return n!=null&&xe.call(n,i)}function K_(n,i){return n!=null&&i in Re(n)}function G_(n,i,l){return n>=ft(i,l)&&n=120&&I.length>=120)?new Wr(g&&I):v}I=n[0];var L=-1,V=S[0];e:for(;++L-1;)S!==n&&yl.call(S,C,1),yl.call(n,C,1);return n}function bp(n,i){for(var l=n?i.length:0,a=l-1;l--;){var d=i[l];if(l==a||d!==m){var m=d;qn(d)?yl.call(n,d,1):Fa(n,d)}}return n}function Da(n,i){return n+Sl(sm()*(i-n+1))}function sw(n,i,l,a){for(var d=-1,m=Xe(wl((i-n)/(l||1)),0),g=Ge(m);m--;)g[a?m:++d]=n,n+=l;return g}function $a(n,i){var l="";if(!n||i<1||i>lr)return l;do i%2&&(l+=n),i=Sl(i/2),i&&(n+=n);while(i);return l}function fe(n,i){return gc(Nh(n,i,It),n+"")}function aw(n){return Mp(Si(n))}function cw(n,i){var l=Si(n);return rl(l,Br(i,0,l.length))}function Cu(n,i,l,a){if(!Oe(n))return n;i=ar(i,n);for(var d=-1,m=i.length,g=m-1,S=n;S!=null&&++dd?0:d+i),l=l>d?d:l,l<0&&(l+=d),d=i>l?0:l-i>>>0,i>>>=0;for(var m=Ge(d);++a>>1,g=n[m];g!==null&&!Wt(g)&&(l?g<=i:g=ua){var z=i?null:rE(n);if(z)return ie(z);g=!1,d=yt,C=new Wr}else C=i?[]:S;e:for(;++a=a?n:Jt(n,i,l)}function uh(n,i){if(i)return n.slice();var l=n.length,a=rm?rm(l):new n.constructor(l);return n.copy(a),a}function Ua(n){var i=new n.constructor(n.byteLength);return new vl(i).set(new vl(n)),i}function pw(n,i){return new n.constructor(i?Ua(n.buffer):n.buffer,n.byteOffset,n.byteLength)}function hw(n){var i=new n.constructor(n.source,cp.exec(n));return i.lastIndex=n.lastIndex,i}function mw(n){return Au?Re(Au.call(n)):{}}function oh(n,i){return new n.constructor(i?Ua(n.buffer):n.buffer,n.byteOffset,n.length)}function lh(n,i){if(n!==i){var l=n!==v,a=n===null,d=n===n,m=Wt(n),g=i!==v,S=i===null,C=i===i,z=Wt(i);if(!S&&!z&&!m&&n>i||m&&g&&C&&!S&&!z||a&&g&&C||!l&&C||!d)return 1;if(!a&&!m&&!z&&n=S?C:C*(l[a]=="desc"?-1:1)}return n.index-i.index}function sh(n,i,l,a){for(var d=-1,m=n.length,g=l.length,S=-1,C=i.length,z=Xe(m-g,0),I=Ge(C+z),L=!a;++S1?l[d-1]:v,g=d>2?l[2]:v;for(m=n.length>3&&typeof m=="function"?(d--,m):v,g&&wt(l[0],l[1],g)&&(m=d<3?v:m,d=1),i=Re(i);++a-1?d[m?i[g]:g]:v}}function hh(n){return Qn(function(i){var l=i.length,a=l,d=te.prototype.thru;for(n&&i.reverse();a--;){var m=i[a];if(typeof m!="function")throw new tn(Kt);if(d&&!g&&tl(m)=="wrapper")var g=new te([],!0)}for(a=g?a:l;++a1&&pe.reverse(),L&&CS))return!1;var z=m.get(n),I=m.get(i);if(z&&I)return z==i&&I==n;var L=-1,V=!0,X=l&Lo?new Wr:v;for(m.set(n,i),m.set(i,n);++L1?"& ":"")+i[a],i=i.join(l>2?", ":" "),n.replace(xy,`{ /* [wrapped with `+i+`] */ -`)}function zw(n){return oe(n)||qr(n)||!!(om&&n&&n[om])}function qn(n,i){var l=typeof n;return i=i??lr,!!i&&(l=="number"||l!="symbol"&&Ay.test(n))&&n>-1&&n%1==0&&n0){if(++i>=X1)return arguments[0]}else i=0;return n.apply(v,arguments)}}function rl(n,i){var l=-1,a=n.length,d=a-1;for(i=i===v?a:i;++l=this.__values__.length;return{done:n,value:n?v:this.__values__[this.__index__++]}}function RS(){return this}function jS(n){for(var i,l=this;l instanceof Q;){var a=Ih(l);a.__index__=0,a.__values__=v,i?d.__wrapped__=a:i=a;var d=a;l=l.__wrapped__}return d.__wrapped__=n,i}function IS(){var n=this.__wrapped__;if(n instanceof K){var i=n;return this.__actions__.length&&(i=new K(this)),i=i.reverse(),i.__actions__.push({func:il,args:[Ja],thisArg:v}),new te(i,this.__chain__)}return this.thru(Ja)}function zS(){return rh(this.__wrapped__,this.__actions__)}function TS(n,i,l){var a=oe(n)?c:Q_;return l&&wt(n,i,l)&&(i=v),a(n,ne(i,3))}function AS(n,i){return(oe(n)?p:Hp)(n,ne(i,3))}function OS(n,i){return lt(ul(n,i),1)}function LS(n,i){return lt(ul(n,i),$r)}function DS(n,i,l){return l=l===v?1:ae(l),lt(ul(n,i),l)}function Mh(n,i){return(oe(n)?o:dr)(n,ne(i,3))}function Fh(n,i){return(oe(n)?s:cm)(n,ne(i,3))}function $S(n,i,l,a){n=Rt(n)?n:Si(n),l=l&&!a?ae(l):0;var d=n.length;return l<0&&(l=Xe(d+l,0)),al(n)?l<=d&&n.indexOf(i,l)>-1:!!d&&x(n,i,l)>-1}function ul(n,i){return(oe(n)?N:Yp)(n,ne(i,3))}function MS(n,i,l,a){return n==null?[]:(oe(i)||(i=i==null?[]:[i]),l=a?v:l,oe(l)||(l=l==null?[]:[l]),Zp(n,i,l))}function FS(n,i,l){var a=oe(n)?E:_e,d=arguments.length<3;return a(n,ne(i,4),l,d,dr)}function WS(n,i,l){var a=oe(n)?T:_e,d=arguments.length<3;return a(n,ne(i,4),l,d,cm)}function BS(n,i){return(oe(n)?p:Hp)(n,ll(ne(i,3)))}function HS(n){return(oe(n)?Mp:aw)(n)}function US(n,i,l){return i=(l?wt(n,i,l):i===v)?1:ae(i),(oe(n)?W_:cw)(n,i)}function VS(n){return(oe(n)?B_:fw)(n)}function QS(n){if(n==null)return 0;if(Rt(n))return al(n)?ut(n):n.length;var i=dt(n);return i==hn||i==mn?n.size:Aa(n).length}function qS(n,i,l){var a=oe(n)?A:dw;return l&&wt(n,i,l)&&(i=v),a(n,ne(i,3))}function YS(n,i){if(typeof i!="function")throw new tn(Kt);return n=ae(n),function(){if(--n<1)return i.apply(this,arguments)}}function Wh(n,i,l){return i=l?v:i,i=n&&i==null?n.length:i,Vn(n,Fn,v,v,v,v,i)}function Bh(n,i){var l;if(typeof i!="function")throw new tn(Kt);return n=ae(n),function(){return--n>0&&(l=i.apply(this,arguments)),n<=1&&(i=v),l}}function Hh(n,i,l){i=l?v:i;var a=Vn(n,Pn,v,v,v,v,v,i);return a.placeholder=Hh.placeholder,a}function Uh(n,i,l){i=l?v:i;var a=Vn(n,di,v,v,v,v,v,i);return a.placeholder=Uh.placeholder,a}function Vh(n,i,l){function a(Fe){var nn=V,Ou=X;return V=X=v,pe=Fe,se=n.apply(Ou,nn)}function d(Fe){return pe=Fe,ee=Au(S,i),pt?a(Fe):se}function h(Fe){var nn=Fe-de,Ou=Fe-pe,Nm=i-nn;return zt?ft(Nm,b-Ou):Nm}function g(Fe){var nn=Fe-de,Ou=Fe-pe;return de===v||nn>=i||nn<0||zt&&Ou>=b}function S(){var Fe=El();return g(Fe)?C(Fe):(ee=Au(S,h(Fe)),v)}function C(Fe){return ee=v,hr&&V?a(Fe):(V=X=v,se)}function z(){ee!==v&&pm(ee),pe=0,V=de=X=ee=v}function I(){return ee===v?se:C(El())}function L(){var Fe=El(),nn=g(Fe);if(V=arguments,X=this,de=Fe,nn){if(ee===v)return d(de);if(zt)return pm(ee),ee=Au(S,i),a(de)}return ee===v&&(ee=Au(S,i)),se}var V,X,b,se,ee,de,pe=0,pt=!1,zt=!1,hr=!0;if(typeof n!="function")throw new tn(Kt);return i=en(i)||0,Oe(l)&&(pt=!!l.leading,zt="maxWait"in l,b=zt?Xe(en(l.maxWait)||0,i):b,hr="trailing"in l?!!l.trailing:hr),L.cancel=z,L.flush=I,L}function KS(n){return Vn(n,la)}function ol(n,i){if(typeof n!="function"||i!=null&&typeof i!="function")throw new tn(Kt);var l=function(){var a=arguments,d=i?i.apply(this,a):a[0],h=l.cache;if(h.has(d))return h.get(d);var g=n.apply(this,a);return l.cache=h.set(d,g)||h,g};return l.cache=new(ol.Cache||Hn),l}function ll(n){if(typeof n!="function")throw new tn(Kt);return function(){var i=arguments;switch(i.length){case 0:return!n.call(this);case 1:return!n.call(this,i[0]);case 2:return!n.call(this,i[0],i[1]);case 3:return!n.call(this,i[0],i[1],i[2])}return!n.apply(this,i)}}function GS(n){return Bh(2,n)}function XS(n,i){if(typeof n!="function")throw new tn(Kt);return i=i===v?i:ae(i),fe(n,i)}function ZS(n,i){if(typeof n!="function")throw new tn(Kt);return i=i==null?0:Xe(ae(i),0),fe(function(l){var a=l[i],d=cr(l,0,i);return a&&P(d,a),r(n,this,d)})}function JS(n,i,l){var a=!0,d=!0;if(typeof n!="function")throw new tn(Kt);return Oe(l)&&(a="leading"in l?!!l.leading:a,d="trailing"in l?!!l.trailing:d),Vh(n,i,{leading:a,maxWait:i,trailing:d})}function bS(n){return Wh(n,1)}function ex(n,i){return _c(Ha(i),n)}function tx(){if(!arguments.length)return[];var n=arguments[0];return oe(n)?n:[n]}function nx(n){return Zt(n,ci)}function rx(n,i){return i=typeof i=="function"?i:v,Zt(n,ci,i)}function ix(n){return Zt(n,or|ci)}function ux(n,i){return i=typeof i=="function"?i:v,Zt(n,or|ci,i)}function ox(n,i){return i==null||Wp(n,i,et(i))}function gn(n,i){return n===i||n!==n&&i!==i}function Rt(n){return n!=null&&sl(n.length)&&!Yn(n)}function He(n){return Me(n)&&Rt(n)}function lx(n){return n===!0||n===!1||Me(n)&&_t(n)==pu}function sx(n){return Me(n)&&n.nodeType===1&&!Pu(n)}function ax(n){if(n==null)return!0;if(Rt(n)&&(oe(n)||typeof n=="string"||typeof n.splice=="function"||pr(n)||Pi(n)||qr(n)))return!n.length;var i=dt(n);if(i==hn||i==mn)return!n.size;if(Nu(n))return!Aa(n).length;for(var l in n)if(xe.call(n,l))return!1;return!0}function cx(n,i){return ku(n,i)}function fx(n,i,l){l=typeof l=="function"?l:v;var a=l?l(n,i):v;return a===v?ku(n,i,v,l):!!a}function ec(n){if(!Me(n))return!1;var i=_t(n);return i==Mo||i==uy||typeof n.message=="string"&&typeof n.name=="string"&&!Pu(n)}function dx(n){return typeof n=="number"&&lm(n)}function Yn(n){if(!Oe(n))return!1;var i=_t(n);return i==Fo||i==up||i==iy||i==ly}function Qh(n){return typeof n=="number"&&n==ae(n)}function sl(n){return typeof n=="number"&&n>-1&&n%1==0&&n<=lr}function Oe(n){var i=typeof n;return n!=null&&(i=="object"||i=="function")}function Me(n){return n!=null&&typeof n=="object"}function px(n,i){return n===i||Ta(n,i,Ka(i))}function hx(n,i,l){return l=typeof l=="function"?l:v,Ta(n,i,Ka(i),l)}function mx(n){return qh(n)&&n!=+n}function vx(n){if(iE(n))throw new ac(Q1);return Qp(n)}function gx(n){return n===null}function yx(n){return n==null}function qh(n){return typeof n=="number"||Me(n)&&_t(n)==mu}function Pu(n){if(!Me(n)||_t(n)!=Wn)return!1;var i=gl(n);if(i===null)return!0;var l=xe.call(i,"constructor")&&i.constructor;return typeof l=="function"&&l instanceof l&&pl.call(l)==Mk}function _x(n){return Qh(n)&&n>=-lr&&n<=lr}function al(n){return typeof n=="string"||!oe(n)&&Me(n)&&_t(n)==gu}function Wt(n){return typeof n=="symbol"||Me(n)&&_t(n)==Wo}function wx(n){return n===v}function Sx(n){return Me(n)&&dt(n)==yu}function xx(n){return Me(n)&&_t(n)==ay}function Yh(n){if(!n)return[];if(Rt(n))return al(n)?Ct(n):Pt(n);if(Ru&&n[Ru])return G(n[Ru]());var i=dt(n);return(i==hn?W:i==mn?ie:Si)(n)}function Kn(n){return n?(n=en(n),n===$r||n===-$r?(n<0?-1:1)*ey:n===n?n:0):n===0?n:0}function ae(n){var i=Kn(n),l=i%1;return i===i?l?i-l:i:0}function Kh(n){return n?Br(ae(n),0,jn):0}function en(n){if(typeof n=="number")return n;if(Wt(n))return Do;if(Oe(n)){var i=typeof n.valueOf=="function"?n.valueOf():n;n=Oe(i)?i+"":i}if(typeof n!="string")return n===0?n:+n;n=Nn(n);var l=Iy.test(n);return l||Ty.test(n)?c_(n.slice(2),l?2:8):jy.test(n)?Do:+n}function Gh(n){return zn(n,jt(n))}function kx(n){return n?Br(ae(n),-lr,lr):n===0?n:0}function we(n){return n==null?"":Ft(n)}function Ex(n,i){var l=Ni(n);return i==null?l:Fp(l,i)}function Cx(n,i){return w(n,ne(i,3),In)}function Nx(n,i){return w(n,ne(i,3),ja)}function Px(n,i){return n==null?n:hc(n,ne(i,3),jt)}function Rx(n,i){return n==null?n:fm(n,ne(i,3),jt)}function jx(n,i){return n&&In(n,ne(i,3))}function Ix(n,i){return n&&ja(n,ne(i,3))}function zx(n){return n==null?[]:qo(n,et(n))}function Tx(n){return n==null?[]:qo(n,jt(n))}function tc(n,i,l){var a=n==null?v:Hr(n,i);return a===v?l:a}function Ax(n,i){return n!=null&&xh(n,i,Y_)}function nc(n,i){return n!=null&&xh(n,i,K_)}function et(n){return Rt(n)?$p(n):Aa(n)}function jt(n){return Rt(n)?$p(n,!0):iw(n)}function Ox(n,i){var l={};return i=ne(i,3),In(n,function(a,d,h){Un(l,i(a,d,h),a)}),l}function Lx(n,i){var l={};return i=ne(i,3),In(n,function(a,d,h){Un(l,d,i(a,d,h))}),l}function Dx(n,i){return Xh(n,ll(ne(i)))}function Xh(n,i){if(n==null)return{};var l=N(Ya(n),function(a){return[a]});return i=ne(i),Jp(n,l,function(a,d){return i(a,d[0])})}function $x(n,i,l){i=ar(i,n);var a=-1,d=i.length;for(d||(d=1,n=v);++ai){var a=n;n=i,i=a}if(l||n%1||i%1){var d=sm();return ft(n+d*(i-n+a_("1e-"+((d+"").length-1))),i)}return Da(n,i)}function Zh(n){return Sc(we(n).toLowerCase())}function Jh(n){return n=we(n),n&&n.replace(Oy,p_).replace(by,"")}function Kx(n,i,l){n=we(n),i=Ft(i);var a=n.length;l=l===v?a:Br(ae(l),0,a);var d=l;return l-=i.length,l>=0&&n.slice(l,d)==i}function Gx(n){return n=we(n),n&&hy.test(n)?n.replace(sp,h_):n}function Xx(n){return n=we(n),n&&wy.test(n)?n.replace(ga,"\\$&"):n}function Zx(n,i,l){n=we(n),i=ae(i);var a=i?ut(n):0;if(!i||a>=i)return n;var d=(i-a)/2;return bo(Sl(d),l)+n+bo(wl(d),l)}function Jx(n,i,l){n=we(n),i=ae(i);var a=i?ut(n):0;return i&&a>>0)?(n=we(n),n&&(typeof i=="string"||i!=null&&!wc(i))&&(i=Ft(i),!i&&Ee(n))?cr(Ct(n),0,l):n.split(i,l)):[]}function ik(n,i,l){return n=we(n),l=l==null?0:Br(ae(l),0,n.length),i=Ft(i),n.slice(l,l+i.length)==i}function uk(n,i,l){var a=f.templateSettings;l&&wt(n,i,l)&&(i=v),n=we(n),i=Cl({},i,a,_h);var d,h,g=Cl({},i.imports,a.imports,_h),S=et(g),C=pn(g,S),z=0,I=i.interpolate||Bo,L="__p += '",V=cc((i.escape||Bo).source+"|"+I.source+"|"+(I===ap?Ry:Bo).source+"|"+(i.evaluate||Bo).source+"|$","g"),X="//# sourceURL="+(xe.call(i,"sourceURL")?(i.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++i_+"]")+` +`)}function zw(n){return oe(n)||qr(n)||!!(om&&n&&n[om])}function qn(n,i){var l=typeof n;return i=i??lr,!!i&&(l=="number"||l!="symbol"&&Ay.test(n))&&n>-1&&n%1==0&&n0){if(++i>=X1)return arguments[0]}else i=0;return n.apply(v,arguments)}}function rl(n,i){var l=-1,a=n.length,d=a-1;for(i=i===v?a:i;++l=this.__values__.length;return{done:n,value:n?v:this.__values__[this.__index__++]}}function RS(){return this}function jS(n){for(var i,l=this;l instanceof Q;){var a=Ih(l);a.__index__=0,a.__values__=v,i?d.__wrapped__=a:i=a;var d=a;l=l.__wrapped__}return d.__wrapped__=n,i}function IS(){var n=this.__wrapped__;if(n instanceof K){var i=n;return this.__actions__.length&&(i=new K(this)),i=i.reverse(),i.__actions__.push({func:il,args:[Ja],thisArg:v}),new te(i,this.__chain__)}return this.thru(Ja)}function zS(){return rh(this.__wrapped__,this.__actions__)}function TS(n,i,l){var a=oe(n)?c:Q_;return l&&wt(n,i,l)&&(i=v),a(n,ne(i,3))}function AS(n,i){return(oe(n)?p:Hp)(n,ne(i,3))}function OS(n,i){return lt(ul(n,i),1)}function LS(n,i){return lt(ul(n,i),$r)}function DS(n,i,l){return l=l===v?1:ae(l),lt(ul(n,i),l)}function Mh(n,i){return(oe(n)?o:dr)(n,ne(i,3))}function Fh(n,i){return(oe(n)?s:cm)(n,ne(i,3))}function $S(n,i,l,a){n=Rt(n)?n:Si(n),l=l&&!a?ae(l):0;var d=n.length;return l<0&&(l=Xe(d+l,0)),al(n)?l<=d&&n.indexOf(i,l)>-1:!!d&&x(n,i,l)>-1}function ul(n,i){return(oe(n)?N:Yp)(n,ne(i,3))}function MS(n,i,l,a){return n==null?[]:(oe(i)||(i=i==null?[]:[i]),l=a?v:l,oe(l)||(l=l==null?[]:[l]),Zp(n,i,l))}function FS(n,i,l){var a=oe(n)?E:_e,d=arguments.length<3;return a(n,ne(i,4),l,d,dr)}function WS(n,i,l){var a=oe(n)?T:_e,d=arguments.length<3;return a(n,ne(i,4),l,d,cm)}function BS(n,i){return(oe(n)?p:Hp)(n,ll(ne(i,3)))}function HS(n){return(oe(n)?Mp:aw)(n)}function US(n,i,l){return i=(l?wt(n,i,l):i===v)?1:ae(i),(oe(n)?W_:cw)(n,i)}function VS(n){return(oe(n)?B_:fw)(n)}function QS(n){if(n==null)return 0;if(Rt(n))return al(n)?ut(n):n.length;var i=dt(n);return i==hn||i==mn?n.size:Aa(n).length}function qS(n,i,l){var a=oe(n)?A:dw;return l&&wt(n,i,l)&&(i=v),a(n,ne(i,3))}function YS(n,i){if(typeof i!="function")throw new tn(Kt);return n=ae(n),function(){if(--n<1)return i.apply(this,arguments)}}function Wh(n,i,l){return i=l?v:i,i=n&&i==null?n.length:i,Vn(n,Fn,v,v,v,v,i)}function Bh(n,i){var l;if(typeof i!="function")throw new tn(Kt);return n=ae(n),function(){return--n>0&&(l=i.apply(this,arguments)),n<=1&&(i=v),l}}function Hh(n,i,l){i=l?v:i;var a=Vn(n,Pn,v,v,v,v,v,i);return a.placeholder=Hh.placeholder,a}function Uh(n,i,l){i=l?v:i;var a=Vn(n,di,v,v,v,v,v,i);return a.placeholder=Uh.placeholder,a}function Vh(n,i,l){function a(Fe){var nn=V,Lu=X;return V=X=v,pe=Fe,se=n.apply(Lu,nn)}function d(Fe){return pe=Fe,ee=Ou(S,i),pt?a(Fe):se}function m(Fe){var nn=Fe-de,Lu=Fe-pe,Nm=i-nn;return zt?ft(Nm,b-Lu):Nm}function g(Fe){var nn=Fe-de,Lu=Fe-pe;return de===v||nn>=i||nn<0||zt&&Lu>=b}function S(){var Fe=El();return g(Fe)?C(Fe):(ee=Ou(S,m(Fe)),v)}function C(Fe){return ee=v,hr&&V?a(Fe):(V=X=v,se)}function z(){ee!==v&&pm(ee),pe=0,V=de=X=ee=v}function I(){return ee===v?se:C(El())}function L(){var Fe=El(),nn=g(Fe);if(V=arguments,X=this,de=Fe,nn){if(ee===v)return d(de);if(zt)return pm(ee),ee=Ou(S,i),a(de)}return ee===v&&(ee=Ou(S,i)),se}var V,X,b,se,ee,de,pe=0,pt=!1,zt=!1,hr=!0;if(typeof n!="function")throw new tn(Kt);return i=en(i)||0,Oe(l)&&(pt=!!l.leading,zt="maxWait"in l,b=zt?Xe(en(l.maxWait)||0,i):b,hr="trailing"in l?!!l.trailing:hr),L.cancel=z,L.flush=I,L}function KS(n){return Vn(n,la)}function ol(n,i){if(typeof n!="function"||i!=null&&typeof i!="function")throw new tn(Kt);var l=function(){var a=arguments,d=i?i.apply(this,a):a[0],m=l.cache;if(m.has(d))return m.get(d);var g=n.apply(this,a);return l.cache=m.set(d,g)||m,g};return l.cache=new(ol.Cache||Hn),l}function ll(n){if(typeof n!="function")throw new tn(Kt);return function(){var i=arguments;switch(i.length){case 0:return!n.call(this);case 1:return!n.call(this,i[0]);case 2:return!n.call(this,i[0],i[1]);case 3:return!n.call(this,i[0],i[1],i[2])}return!n.apply(this,i)}}function GS(n){return Bh(2,n)}function XS(n,i){if(typeof n!="function")throw new tn(Kt);return i=i===v?i:ae(i),fe(n,i)}function ZS(n,i){if(typeof n!="function")throw new tn(Kt);return i=i==null?0:Xe(ae(i),0),fe(function(l){var a=l[i],d=cr(l,0,i);return a&&P(d,a),r(n,this,d)})}function JS(n,i,l){var a=!0,d=!0;if(typeof n!="function")throw new tn(Kt);return Oe(l)&&(a="leading"in l?!!l.leading:a,d="trailing"in l?!!l.trailing:d),Vh(n,i,{leading:a,maxWait:i,trailing:d})}function bS(n){return Wh(n,1)}function ex(n,i){return _c(Ha(i),n)}function tx(){if(!arguments.length)return[];var n=arguments[0];return oe(n)?n:[n]}function nx(n){return Zt(n,ci)}function rx(n,i){return i=typeof i=="function"?i:v,Zt(n,ci,i)}function ix(n){return Zt(n,or|ci)}function ux(n,i){return i=typeof i=="function"?i:v,Zt(n,or|ci,i)}function ox(n,i){return i==null||Wp(n,i,et(i))}function gn(n,i){return n===i||n!==n&&i!==i}function Rt(n){return n!=null&&sl(n.length)&&!Yn(n)}function He(n){return Me(n)&&Rt(n)}function lx(n){return n===!0||n===!1||Me(n)&&_t(n)==hu}function sx(n){return Me(n)&&n.nodeType===1&&!Ru(n)}function ax(n){if(n==null)return!0;if(Rt(n)&&(oe(n)||typeof n=="string"||typeof n.splice=="function"||pr(n)||Pi(n)||qr(n)))return!n.length;var i=dt(n);if(i==hn||i==mn)return!n.size;if(Pu(n))return!Aa(n).length;for(var l in n)if(xe.call(n,l))return!1;return!0}function cx(n,i){return Eu(n,i)}function fx(n,i,l){l=typeof l=="function"?l:v;var a=l?l(n,i):v;return a===v?Eu(n,i,v,l):!!a}function ec(n){if(!Me(n))return!1;var i=_t(n);return i==Mo||i==uy||typeof n.message=="string"&&typeof n.name=="string"&&!Ru(n)}function dx(n){return typeof n=="number"&&lm(n)}function Yn(n){if(!Oe(n))return!1;var i=_t(n);return i==Fo||i==up||i==iy||i==ly}function Qh(n){return typeof n=="number"&&n==ae(n)}function sl(n){return typeof n=="number"&&n>-1&&n%1==0&&n<=lr}function Oe(n){var i=typeof n;return n!=null&&(i=="object"||i=="function")}function Me(n){return n!=null&&typeof n=="object"}function px(n,i){return n===i||Ta(n,i,Ka(i))}function hx(n,i,l){return l=typeof l=="function"?l:v,Ta(n,i,Ka(i),l)}function mx(n){return qh(n)&&n!=+n}function vx(n){if(iE(n))throw new ac(Q1);return Qp(n)}function gx(n){return n===null}function yx(n){return n==null}function qh(n){return typeof n=="number"||Me(n)&&_t(n)==vu}function Ru(n){if(!Me(n)||_t(n)!=Wn)return!1;var i=gl(n);if(i===null)return!0;var l=xe.call(i,"constructor")&&i.constructor;return typeof l=="function"&&l instanceof l&&pl.call(l)==Mk}function _x(n){return Qh(n)&&n>=-lr&&n<=lr}function al(n){return typeof n=="string"||!oe(n)&&Me(n)&&_t(n)==yu}function Wt(n){return typeof n=="symbol"||Me(n)&&_t(n)==Wo}function wx(n){return n===v}function Sx(n){return Me(n)&&dt(n)==_u}function xx(n){return Me(n)&&_t(n)==ay}function Yh(n){if(!n)return[];if(Rt(n))return al(n)?Ct(n):Pt(n);if(ju&&n[ju])return G(n[ju]());var i=dt(n);return(i==hn?W:i==mn?ie:Si)(n)}function Kn(n){return n?(n=en(n),n===$r||n===-$r?(n<0?-1:1)*ey:n===n?n:0):n===0?n:0}function ae(n){var i=Kn(n),l=i%1;return i===i?l?i-l:i:0}function Kh(n){return n?Br(ae(n),0,jn):0}function en(n){if(typeof n=="number")return n;if(Wt(n))return Do;if(Oe(n)){var i=typeof n.valueOf=="function"?n.valueOf():n;n=Oe(i)?i+"":i}if(typeof n!="string")return n===0?n:+n;n=Nn(n);var l=Iy.test(n);return l||Ty.test(n)?c_(n.slice(2),l?2:8):jy.test(n)?Do:+n}function Gh(n){return zn(n,jt(n))}function kx(n){return n?Br(ae(n),-lr,lr):n===0?n:0}function we(n){return n==null?"":Ft(n)}function Ex(n,i){var l=Ni(n);return i==null?l:Fp(l,i)}function Cx(n,i){return w(n,ne(i,3),In)}function Nx(n,i){return w(n,ne(i,3),ja)}function Px(n,i){return n==null?n:hc(n,ne(i,3),jt)}function Rx(n,i){return n==null?n:fm(n,ne(i,3),jt)}function jx(n,i){return n&&In(n,ne(i,3))}function Ix(n,i){return n&&ja(n,ne(i,3))}function zx(n){return n==null?[]:qo(n,et(n))}function Tx(n){return n==null?[]:qo(n,jt(n))}function tc(n,i,l){var a=n==null?v:Hr(n,i);return a===v?l:a}function Ax(n,i){return n!=null&&xh(n,i,Y_)}function nc(n,i){return n!=null&&xh(n,i,K_)}function et(n){return Rt(n)?$p(n):Aa(n)}function jt(n){return Rt(n)?$p(n,!0):iw(n)}function Ox(n,i){var l={};return i=ne(i,3),In(n,function(a,d,m){Un(l,i(a,d,m),a)}),l}function Lx(n,i){var l={};return i=ne(i,3),In(n,function(a,d,m){Un(l,d,i(a,d,m))}),l}function Dx(n,i){return Xh(n,ll(ne(i)))}function Xh(n,i){if(n==null)return{};var l=N(Ya(n),function(a){return[a]});return i=ne(i),Jp(n,l,function(a,d){return i(a,d[0])})}function $x(n,i,l){i=ar(i,n);var a=-1,d=i.length;for(d||(d=1,n=v);++ai){var a=n;n=i,i=a}if(l||n%1||i%1){var d=sm();return ft(n+d*(i-n+a_("1e-"+((d+"").length-1))),i)}return Da(n,i)}function Zh(n){return Sc(we(n).toLowerCase())}function Jh(n){return n=we(n),n&&n.replace(Oy,p_).replace(by,"")}function Kx(n,i,l){n=we(n),i=Ft(i);var a=n.length;l=l===v?a:Br(ae(l),0,a);var d=l;return l-=i.length,l>=0&&n.slice(l,d)==i}function Gx(n){return n=we(n),n&&hy.test(n)?n.replace(sp,h_):n}function Xx(n){return n=we(n),n&&wy.test(n)?n.replace(ga,"\\$&"):n}function Zx(n,i,l){n=we(n),i=ae(i);var a=i?ut(n):0;if(!i||a>=i)return n;var d=(i-a)/2;return bo(Sl(d),l)+n+bo(wl(d),l)}function Jx(n,i,l){n=we(n),i=ae(i);var a=i?ut(n):0;return i&&a>>0)?(n=we(n),n&&(typeof i=="string"||i!=null&&!wc(i))&&(i=Ft(i),!i&&Ee(n))?cr(Ct(n),0,l):n.split(i,l)):[]}function ik(n,i,l){return n=we(n),l=l==null?0:Br(ae(l),0,n.length),i=Ft(i),n.slice(l,l+i.length)==i}function uk(n,i,l){var a=f.templateSettings;l&&wt(n,i,l)&&(i=v),n=we(n),i=Cl({},i,a,_h);var d,m,g=Cl({},i.imports,a.imports,_h),S=et(g),C=pn(g,S),z=0,I=i.interpolate||Bo,L="__p += '",V=cc((i.escape||Bo).source+"|"+I.source+"|"+(I===ap?Ry:Bo).source+"|"+(i.evaluate||Bo).source+"|$","g"),X="//# sourceURL="+(xe.call(i,"sourceURL")?(i.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++i_+"]")+` `;n.replace(V,function(ee,de,pe,pt,zt,hr){return pe||(pe=pt),L+=n.slice(z,hr).replace(Ly,ge),de&&(d=!0,L+=`' + __e(`+de+`) + -'`),zt&&(h=!0,L+=`'; +'`),zt&&(m=!0,L+=`'; `+zt+`; __p += '`),pe&&(L+=`' + ((__t = (`+pe+`)) == null ? '' : __t) + @@ -139,10 +139,10 @@ __p += '`),pe&&(L+=`' + `;var b=xe.call(i,"variable")&&i.variable;if(b){if(Ny.test(b))throw new ac(q1)}else L=`with (obj) { `+L+` } -`;L=(h?L.replace(cy,""):L).replace(fy,"$1").replace(dy,"$1;"),L="function("+(b||"obj")+`) { +`;L=(m?L.replace(cy,""):L).replace(fy,"$1").replace(dy,"$1;"),L="function("+(b||"obj")+`) { `+(b?"":`obj || (obj = {}); -`)+"var __t, __p = ''"+(d?", __e = _.escape":"")+(h?`, __j = Array.prototype.join; +`)+"var __t, __p = ''"+(d?", __e = _.escape":"")+(m?`, __j = Array.prototype.join; function print() { __p += __j.call(arguments, '') } `:`; `)+L+`return __p -}`;var se=Cm(function(){return tm(S,X+"return "+L).apply(v,C)});if(se.source=L,ec(se))throw se;return se}function ok(n){return we(n).toLowerCase()}function lk(n){return we(n).toUpperCase()}function sk(n,i,l){if(n=we(n),n&&(l||i===v))return Nn(n);if(!n||!(i=Ft(i)))return n;var a=Ct(n),d=Ct(i);return cr(a,U(a,d),J(a,d)+1).join("")}function ak(n,i,l){if(n=we(n),n&&(l||i===v))return n.slice(0,Ao(n)+1);if(!n||!(i=Ft(i)))return n;var a=Ct(n);return cr(a,0,J(a,Ct(i))+1).join("")}function ck(n,i,l){if(n=we(n),n&&(l||i===v))return n.replace(ya,"");if(!n||!(i=Ft(i)))return n;var a=Ct(n);return cr(a,U(a,Ct(i))).join("")}function fk(n,i){var l=K1,a=G1;if(Oe(i)){var d="separator"in i?i.separator:d;l="length"in i?ae(i.length):l,a="omission"in i?Ft(i.omission):a}n=we(n);var h=n.length;if(Ee(n)){var g=Ct(n);h=g.length}if(l>=h)return n;var S=l-ut(a);if(S<1)return a;var C=g?cr(g,0,S).join(""):n.slice(0,S);if(d===v)return C+a;if(g&&(S+=C.length-S),wc(d)){if(n.slice(S).search(d)){var z,I=C;for(d.global||(d=cc(d.source,we(cp.exec(d))+"g")),d.lastIndex=0;z=d.exec(I);)var L=z.index;C=C.slice(0,L===v?S:L)}}else if(n.indexOf(Ft(d),S)!=S){var V=C.lastIndexOf(d);V>-1&&(C=C.slice(0,V))}return C+a}function dk(n){return n=we(n),n&&py.test(n)?n.replace(lp,m_):n}function bh(n,i,l){return n=we(n),i=l?v:i,i===v?Ke(n)?U1(n):ue(n):n.match(i)||[]}function pk(n){var i=n==null?0:n.length,l=ne();return n=i?N(n,function(a){if(typeof a[1]!="function")throw new tn(Kt);return[l(a[0]),a[1]]}):[],fe(function(a){for(var d=-1;++dlr)return[];var l=jn,a=ft(n,jn);i=ne(i),n-=jn;for(var d=Mt(a,i);++l1?n[i-1]:v;return l=typeof l=="function"?(n.pop(),l):v,Dh(n,l)}),xE=Qn(function(n){var i=n.length,l=i?n[0]:0,a=this.__wrapped__,d=function(h){return Ra(h,n)};return!(i>1||this.__actions__.length)&&a instanceof K&&qn(l)?(a=a.slice(l,+l+(i?1:0)),a.__actions__.push({func:il,args:[d],thisArg:v}),new te(a,this.__chain__).thru(function(h){return i&&!h.length&&h.push(v),h})):this.thru(d)}),kE=Xo(function(n,i,l){xe.call(n,l)?++n[l]:Un(n,l,1)}),EE=ph(zh),CE=ph(Th),NE=Xo(function(n,i,l){xe.call(n,l)?n[l].push(i):Un(n,l,[i])}),PE=fe(function(n,i,l){var a=-1,d=typeof i=="function",h=Rt(n)?Ge(n.length):[];return dr(n,function(g){h[++a]=d?r(i,g,l):xu(g,i,l)}),h}),RE=Xo(function(n,i,l){Un(n,l,i)}),jE=Xo(function(n,i,l){n[l?0:1].push(i)},function(){return[[],[]]}),IE=fe(function(n,i){if(n==null)return[];var l=i.length;return l>1&&wt(n,i[0],i[1])?i=[]:l>2&&wt(i[0],i[1],i[2])&&(i=[i[0]]),Zp(n,lt(i,1),[])}),El=Hk||function(){return ot.Date.now()},yc=fe(function(n,i,l){var a=Gt;if(l.length){var d=Z(l,wi(yc));a|=Rn}return Vn(n,a,i,l,d)}),gm=fe(function(n,i,l){var a=Gt|Dr;if(l.length){var d=Z(l,wi(gm));a|=Rn}return Vn(i,a,n,l,d)}),zE=fe(function(n,i){return Bp(n,1,i)}),TE=fe(function(n,i,l){return Bp(n,en(i)||0,l)});ol.Cache=Hn;var AE=nE(function(n,i){i=i.length==1&&oe(i[0])?N(i[0],Ve(ne())):N(lt(i,1),Ve(ne()));var l=i.length;return fe(function(a){for(var d=-1,h=ft(a.length,l);++d=i}),qr=Vp(function(){return arguments}())?Vp:function(n){return Me(n)&&xe.call(n,"callee")&&!um.call(n,"callee")},oe=Ge.isArray,$E=zp?Ve(zp):Z_,pr=Vk||sc,ME=Tp?Ve(Tp):J_,_m=Ap?Ve(Ap):ew,wc=Op?Ve(Op):tw,wm=Lp?Ve(Lp):nw,Pi=Dp?Ve(Dp):rw,FE=el(Oa),WE=el(function(n,i){return n<=i}),BE=yi(function(n,i){if(Nu(i)||Rt(i))return zn(i,et(i),n),v;for(var l in i)xe.call(i,l)&&wu(n,l,i[l])}),Sm=yi(function(n,i){zn(i,jt(i),n)}),Cl=yi(function(n,i,l,a){zn(i,jt(i),n,a)}),HE=yi(function(n,i,l,a){zn(i,et(i),n,a)}),UE=Qn(Ra),VE=fe(function(n,i){n=Re(n);var l=-1,a=i.length,d=a>2?i[2]:v;for(d&&wt(i[0],i[1],d)&&(a=1);++l1),h}),zn(n,Ya(n),l),a&&(l=Zt(l,or|np|ci,xw));for(var d=i.length;d--;)Fa(l,i[d]);return l}),ZE=Qn(function(n,i){return n==null?{}:ow(n,i)}),km=yh(et),Em=yh(jt),JE=_i(function(n,i,l){return i=i.toLowerCase(),n+(l?Zh(i):i)}),bE=_i(function(n,i,l){return n+(l?"-":"")+i.toLowerCase()}),eC=_i(function(n,i,l){return n+(l?" ":"")+i.toLowerCase()}),tC=dh("toLowerCase"),nC=_i(function(n,i,l){return n+(l?"_":"")+i.toLowerCase()}),rC=_i(function(n,i,l){return n+(l?" ":"")+Sc(i)}),iC=_i(function(n,i,l){return n+(l?" ":"")+i.toUpperCase()}),Sc=dh("toUpperCase"),Cm=fe(function(n,i){try{return r(n,v,i)}catch(l){return ec(l)?l:new ac(l)}}),uC=Qn(function(n,i){return o(i,function(l){l=Tn(l),Un(n,l,yc(n[l],n))}),n}),oC=hh(),lC=hh(!0),sC=fe(function(n,i){return function(l){return xu(l,n,i)}}),aC=fe(function(n,i){return function(l){return xu(n,l,i)}}),cC=Va(N),fC=Va(c),dC=Va(A),pC=vh(),hC=vh(!0),mC=Jo(function(n,i){return n+i},0),vC=Qa("ceil"),gC=Jo(function(n,i){return n/i},1),yC=Qa("floor"),_C=Jo(function(n,i){return n*i},1),wC=Qa("round"),SC=Jo(function(n,i){return n-i},0);return f.after=YS,f.ary=Wh,f.assign=BE,f.assignIn=Sm,f.assignInWith=Cl,f.assignWith=HE,f.at=UE,f.before=Bh,f.bind=yc,f.bindAll=uC,f.bindKey=gm,f.castArray=tx,f.chain=$h,f.chunk=Ww,f.compact=Bw,f.concat=Hw,f.cond=pk,f.conforms=hk,f.constant=rc,f.countBy=kE,f.create=Ex,f.curry=Hh,f.curryRight=Uh,f.debounce=Vh,f.defaults=VE,f.defaultsDeep=QE,f.defer=zE,f.delay=TE,f.difference=uE,f.differenceBy=oE,f.differenceWith=lE,f.drop=Uw,f.dropRight=Vw,f.dropRightWhile=Qw,f.dropWhile=qw,f.fill=Yw,f.filter=AS,f.flatMap=OS,f.flatMapDeep=LS,f.flatMapDepth=DS,f.flatten=Ah,f.flattenDeep=Kw,f.flattenDepth=Gw,f.flip=KS,f.flow=oC,f.flowRight=lC,f.fromPairs=Xw,f.functions=zx,f.functionsIn=Tx,f.groupBy=NE,f.initial=Jw,f.intersection=sE,f.intersectionBy=aE,f.intersectionWith=cE,f.invert=qE,f.invertBy=YE,f.invokeMap=PE,f.iteratee=ic,f.keyBy=RE,f.keys=et,f.keysIn=jt,f.map=ul,f.mapKeys=Ox,f.mapValues=Lx,f.matches=vk,f.matchesProperty=gk,f.memoize=ol,f.merge=GE,f.mergeWith=xm,f.method=sC,f.methodOf=aC,f.mixin=uc,f.negate=ll,f.nthArg=_k,f.omit=XE,f.omitBy=Dx,f.once=GS,f.orderBy=MS,f.over=cC,f.overArgs=AE,f.overEvery=fC,f.overSome=dC,f.partial=_c,f.partialRight=ym,f.partition=jE,f.pick=ZE,f.pickBy=Xh,f.property=em,f.propertyOf=wk,f.pull=fE,f.pullAll=Lh,f.pullAllBy=nS,f.pullAllWith=rS,f.pullAt=dE,f.range=pC,f.rangeRight=hC,f.rearg=OE,f.reject=BS,f.remove=iS,f.rest=XS,f.reverse=Ja,f.sampleSize=US,f.set=Mx,f.setWith=Fx,f.shuffle=VS,f.slice=uS,f.sortBy=IE,f.sortedUniq=dS,f.sortedUniqBy=pS,f.split=rk,f.spread=ZS,f.tail=hS,f.take=mS,f.takeRight=vS,f.takeRightWhile=gS,f.takeWhile=yS,f.tap=ES,f.throttle=JS,f.thru=il,f.toArray=Yh,f.toPairs=km,f.toPairsIn=Em,f.toPath=Ck,f.toPlainObject=Gh,f.transform=Wx,f.unary=bS,f.union=pE,f.unionBy=hE,f.unionWith=mE,f.uniq=_S,f.uniqBy=wS,f.uniqWith=SS,f.unset=Bx,f.unzip=ba,f.unzipWith=Dh,f.update=Hx,f.updateWith=Ux,f.values=Si,f.valuesIn=Vx,f.without=vE,f.words=bh,f.wrap=ex,f.xor=gE,f.xorBy=yE,f.xorWith=_E,f.zip=wE,f.zipObject=xS,f.zipObjectDeep=kS,f.zipWith=SE,f.entries=km,f.entriesIn=Em,f.extend=Sm,f.extendWith=Cl,uc(f,f),f.add=mC,f.attempt=Cm,f.camelCase=JE,f.capitalize=Zh,f.ceil=vC,f.clamp=Qx,f.clone=nx,f.cloneDeep=ix,f.cloneDeepWith=ux,f.cloneWith=rx,f.conformsTo=ox,f.deburr=Jh,f.defaultTo=mk,f.divide=gC,f.endsWith=Kx,f.eq=gn,f.escape=Gx,f.escapeRegExp=Xx,f.every=TS,f.find=EE,f.findIndex=zh,f.findKey=Cx,f.findLast=CE,f.findLastIndex=Th,f.findLastKey=Nx,f.floor=yC,f.forEach=Mh,f.forEachRight=Fh,f.forIn=Px,f.forInRight=Rx,f.forOwn=jx,f.forOwnRight=Ix,f.get=tc,f.gt=LE,f.gte=DE,f.has=Ax,f.hasIn=nc,f.head=Oh,f.identity=It,f.includes=$S,f.indexOf=Zw,f.inRange=qx,f.invoke=KE,f.isArguments=qr,f.isArray=oe,f.isArrayBuffer=$E,f.isArrayLike=Rt,f.isArrayLikeObject=He,f.isBoolean=lx,f.isBuffer=pr,f.isDate=ME,f.isElement=sx,f.isEmpty=ax,f.isEqual=cx,f.isEqualWith=fx,f.isError=ec,f.isFinite=dx,f.isFunction=Yn,f.isInteger=Qh,f.isLength=sl,f.isMap=_m,f.isMatch=px,f.isMatchWith=hx,f.isNaN=mx,f.isNative=vx,f.isNil=yx,f.isNull=gx,f.isNumber=qh,f.isObject=Oe,f.isObjectLike=Me,f.isPlainObject=Pu,f.isRegExp=wc,f.isSafeInteger=_x,f.isSet=wm,f.isString=al,f.isSymbol=Wt,f.isTypedArray=Pi,f.isUndefined=wx,f.isWeakMap=Sx,f.isWeakSet=xx,f.join=bw,f.kebabCase=bE,f.last=bt,f.lastIndexOf=eS,f.lowerCase=eC,f.lowerFirst=tC,f.lt=FE,f.lte=WE,f.max=Pk,f.maxBy=Rk,f.mean=jk,f.meanBy=Ik,f.min=zk,f.minBy=Tk,f.stubArray=lc,f.stubFalse=sc,f.stubObject=Sk,f.stubString=xk,f.stubTrue=kk,f.multiply=_C,f.nth=tS,f.noConflict=yk,f.noop=oc,f.now=El,f.pad=Zx,f.padEnd=Jx,f.padStart=bx,f.parseInt=ek,f.random=Yx,f.reduce=FS,f.reduceRight=WS,f.repeat=tk,f.replace=nk,f.result=$x,f.round=wC,f.runInContext=k,f.sample=HS,f.size=QS,f.snakeCase=nC,f.some=qS,f.sortedIndex=oS,f.sortedIndexBy=lS,f.sortedIndexOf=sS,f.sortedLastIndex=aS,f.sortedLastIndexBy=cS,f.sortedLastIndexOf=fS,f.startCase=rC,f.startsWith=ik,f.subtract=SC,f.sum=Ak,f.sumBy=Ok,f.template=uk,f.times=Ek,f.toFinite=Kn,f.toInteger=ae,f.toLength=Kh,f.toLower=ok,f.toNumber=en,f.toSafeInteger=kx,f.toString=we,f.toUpper=lk,f.trim=sk,f.trimEnd=ak,f.trimStart=ck,f.truncate=fk,f.unescape=dk,f.uniqueId=Nk,f.upperCase=iC,f.upperFirst=Sc,f.each=Mh,f.eachRight=Fh,f.first=Oh,uc(f,function(){var n={};return In(f,function(i,l){xe.call(f.prototype,l)||(n[l]=i)}),n}(),{chain:!1}),f.VERSION=V1,o(["bind","bindKey","curry","curryRight","partial","partialRight"],function(n){f[n].placeholder=f}),o(["drop","take"],function(n,i){K.prototype[n]=function(l){l=l===v?1:Xe(ae(l),0);var a=this.__filtered__&&!i?new K(this):this.clone();return a.__filtered__?a.__takeCount__=ft(l,a.__takeCount__):a.__views__.push({size:ft(l,jn),type:n+(a.__dir__<0?"Right":"")}),a},K.prototype[n+"Right"]=function(l){return this.reverse()[n](l).reverse()}}),o(["filter","map","takeWhile"],function(n,i){var l=i+1,a=l==ip||l==b1;K.prototype[n]=function(d){var h=this.clone();return h.__iteratees__.push({iteratee:ne(d,3),type:l}),h.__filtered__=h.__filtered__||a,h}}),o(["head","last"],function(n,i){var l="take"+(i?"Right":"");K.prototype[n]=function(){return this[l](1).value()[0]}}),o(["initial","tail"],function(n,i){var l="drop"+(i?"":"Right");K.prototype[n]=function(){return this.__filtered__?new K(this):this[l](1)}}),K.prototype.compact=function(){return this.filter(It)},K.prototype.find=function(n){return this.filter(n).head()},K.prototype.findLast=function(n){return this.reverse().find(n)},K.prototype.invokeMap=fe(function(n,i){return typeof n=="function"?new K(this):this.map(function(l){return xu(l,n,i)})}),K.prototype.reject=function(n){return this.filter(ll(ne(n)))},K.prototype.slice=function(n,i){n=ae(n);var l=this;return l.__filtered__&&(n>0||i<0)?new K(l):(n<0?l=l.takeRight(-n):n&&(l=l.drop(n)),i!==v&&(i=ae(i),l=i<0?l.dropRight(-i):l.take(i-n)),l)},K.prototype.takeRightWhile=function(n){return this.reverse().takeWhile(n).reverse()},K.prototype.toArray=function(){return this.take(jn)},In(K.prototype,function(n,i){var l=/^(?:filter|find|map|reject)|While$/.test(i),a=/^(?:head|last)$/.test(i),d=f[a?"take"+(i=="last"?"Right":""):i],h=a||/^find/.test(i);d&&(f.prototype[i]=function(){var g=this.__wrapped__,S=a?[1]:arguments,C=g instanceof K,z=S[0],I=C||oe(g),L=function(de){var pe=d.apply(f,P([de],S));return a&&V?pe[0]:pe};I&&l&&typeof z=="function"&&z.length!=1&&(C=I=!1);var V=this.__chain__,X=!!this.__actions__.length,b=h&&!V,se=C&&!X;if(!h&&I){g=se?g:new K(this);var ee=n.apply(g,S);return ee.__actions__.push({func:il,args:[L],thisArg:v}),new te(ee,V)}return b&&se?n.apply(this,S):(ee=this.thru(L),b?a?ee.value()[0]:ee.value():ee)})}),o(["pop","push","shift","sort","splice","unshift"],function(n){var i=fl[n],l=/^(?:push|sort|unshift)$/.test(n)?"tap":"thru",a=/^(?:pop|shift)$/.test(n);f.prototype[n]=function(){var d=arguments;if(a&&!this.__chain__){var h=this.value();return i.apply(oe(h)?h:[],d)}return this[l](function(g){return i.apply(oe(g)?g:[],d)})}}),In(K.prototype,function(n,i){var l=f[i];if(l){var a=l.name+"";xe.call(Ci,a)||(Ci[a]=[]),Ci[a].push({name:i,func:l})}}),Ci[Zo(v,Dr).name]=[{name:"wrapper",func:v}],K.prototype.clone=Nt,K.prototype.reverse=Na,K.prototype.value=g_,f.prototype.at=xE,f.prototype.chain=CS,f.prototype.commit=NS,f.prototype.next=PS,f.prototype.plant=jS,f.prototype.reverse=IS,f.prototype.toJSON=f.prototype.valueOf=f.prototype.value=zS,f.prototype.first=f.prototype.head,Ru&&(f.prototype[Ru]=RS),f},gi=v_();Mr?((Mr.exports=gi)._=gi,Ea._=gi):ot._=gi}).call(Lu)})(Ls,Ls.exports);var n4=Ls.exports,W1={};(function(e){e.aliasToReal={each:"forEach",eachRight:"forEachRight",entries:"toPairs",entriesIn:"toPairsIn",extend:"assignIn",extendAll:"assignInAll",extendAllWith:"assignInAllWith",extendWith:"assignInWith",first:"head",conforms:"conformsTo",matches:"isMatch",property:"get",__:"placeholder",F:"stubFalse",T:"stubTrue",all:"every",allPass:"overEvery",always:"constant",any:"some",anyPass:"overSome",apply:"spread",assoc:"set",assocPath:"set",complement:"negate",compose:"flowRight",contains:"includes",dissoc:"unset",dissocPath:"unset",dropLast:"dropRight",dropLastWhile:"dropRightWhile",equals:"isEqual",identical:"eq",indexBy:"keyBy",init:"initial",invertObj:"invert",juxt:"over",omitAll:"omit",nAry:"ary",path:"get",pathEq:"matchesProperty",pathOr:"getOr",paths:"at",pickAll:"pick",pipe:"flow",pluck:"map",prop:"get",propEq:"matchesProperty",propOr:"getOr",props:"at",symmetricDifference:"xor",symmetricDifferenceBy:"xorBy",symmetricDifferenceWith:"xorWith",takeLast:"takeRight",takeLastWhile:"takeRightWhile",unapply:"rest",unnest:"flatten",useWith:"overArgs",where:"conformsTo",whereEq:"isMatch",zipObj:"zipObject"},e.aryMethod={1:["assignAll","assignInAll","attempt","castArray","ceil","create","curry","curryRight","defaultsAll","defaultsDeepAll","floor","flow","flowRight","fromPairs","invert","iteratee","memoize","method","mergeAll","methodOf","mixin","nthArg","over","overEvery","overSome","rest","reverse","round","runInContext","spread","template","trim","trimEnd","trimStart","uniqueId","words","zipAll"],2:["add","after","ary","assign","assignAllWith","assignIn","assignInAllWith","at","before","bind","bindAll","bindKey","chunk","cloneDeepWith","cloneWith","concat","conformsTo","countBy","curryN","curryRightN","debounce","defaults","defaultsDeep","defaultTo","delay","difference","divide","drop","dropRight","dropRightWhile","dropWhile","endsWith","eq","every","filter","find","findIndex","findKey","findLast","findLastIndex","findLastKey","flatMap","flatMapDeep","flattenDepth","forEach","forEachRight","forIn","forInRight","forOwn","forOwnRight","get","groupBy","gt","gte","has","hasIn","includes","indexOf","intersection","invertBy","invoke","invokeMap","isEqual","isMatch","join","keyBy","lastIndexOf","lt","lte","map","mapKeys","mapValues","matchesProperty","maxBy","meanBy","merge","mergeAllWith","minBy","multiply","nth","omit","omitBy","overArgs","pad","padEnd","padStart","parseInt","partial","partialRight","partition","pick","pickBy","propertyOf","pull","pullAll","pullAt","random","range","rangeRight","rearg","reject","remove","repeat","restFrom","result","sampleSize","some","sortBy","sortedIndex","sortedIndexOf","sortedLastIndex","sortedLastIndexOf","sortedUniqBy","split","spreadFrom","startsWith","subtract","sumBy","take","takeRight","takeRightWhile","takeWhile","tap","throttle","thru","times","trimChars","trimCharsEnd","trimCharsStart","truncate","union","uniqBy","uniqWith","unset","unzipWith","without","wrap","xor","zip","zipObject","zipObjectDeep"],3:["assignInWith","assignWith","clamp","differenceBy","differenceWith","findFrom","findIndexFrom","findLastFrom","findLastIndexFrom","getOr","includesFrom","indexOfFrom","inRange","intersectionBy","intersectionWith","invokeArgs","invokeArgsMap","isEqualWith","isMatchWith","flatMapDepth","lastIndexOfFrom","mergeWith","orderBy","padChars","padCharsEnd","padCharsStart","pullAllBy","pullAllWith","rangeStep","rangeStepRight","reduce","reduceRight","replace","set","slice","sortedIndexBy","sortedLastIndexBy","transform","unionBy","unionWith","update","xorBy","xorWith","zipWith"],4:["fill","setWith","updateWith"]},e.aryRearg={2:[1,0],3:[2,0,1],4:[3,2,0,1]},e.iterateeAry={dropRightWhile:1,dropWhile:1,every:1,filter:1,find:1,findFrom:1,findIndex:1,findIndexFrom:1,findKey:1,findLast:1,findLastFrom:1,findLastIndex:1,findLastIndexFrom:1,findLastKey:1,flatMap:1,flatMapDeep:1,flatMapDepth:1,forEach:1,forEachRight:1,forIn:1,forInRight:1,forOwn:1,forOwnRight:1,map:1,mapKeys:1,mapValues:1,partition:1,reduce:2,reduceRight:2,reject:1,remove:1,some:1,takeRightWhile:1,takeWhile:1,times:1,transform:2},e.iterateeRearg={mapKeys:[1],reduceRight:[1,0]},e.methodRearg={assignInAllWith:[1,0],assignInWith:[1,2,0],assignAllWith:[1,0],assignWith:[1,2,0],differenceBy:[1,2,0],differenceWith:[1,2,0],getOr:[2,1,0],intersectionBy:[1,2,0],intersectionWith:[1,2,0],isEqualWith:[1,2,0],isMatchWith:[2,1,0],mergeAllWith:[1,0],mergeWith:[1,2,0],padChars:[2,1,0],padCharsEnd:[2,1,0],padCharsStart:[2,1,0],pullAllBy:[2,1,0],pullAllWith:[2,1,0],rangeStep:[1,2,0],rangeStepRight:[1,2,0],setWith:[3,1,2,0],sortedIndexBy:[2,1,0],sortedLastIndexBy:[2,1,0],unionBy:[1,2,0],unionWith:[1,2,0],updateWith:[3,1,2,0],xorBy:[1,2,0],xorWith:[1,2,0],zipWith:[1,2,0]},e.methodSpread={assignAll:{start:0},assignAllWith:{start:0},assignInAll:{start:0},assignInAllWith:{start:0},defaultsAll:{start:0},defaultsDeepAll:{start:0},invokeArgs:{start:2},invokeArgsMap:{start:2},mergeAll:{start:0},mergeAllWith:{start:0},partial:{start:1},partialRight:{start:1},without:{start:1},zipAll:{start:0}},e.mutate={array:{fill:!0,pull:!0,pullAll:!0,pullAllBy:!0,pullAllWith:!0,pullAt:!0,remove:!0,reverse:!0},object:{assign:!0,assignAll:!0,assignAllWith:!0,assignIn:!0,assignInAll:!0,assignInAllWith:!0,assignInWith:!0,assignWith:!0,defaults:!0,defaultsAll:!0,defaultsDeep:!0,defaultsDeepAll:!0,merge:!0,mergeAll:!0,mergeAllWith:!0,mergeWith:!0},set:{set:!0,setWith:!0,unset:!0,update:!0,updateWith:!0}},e.realToAlias=function(){var t=Object.prototype.hasOwnProperty,r=e.aliasToReal,u={};for(var o in r){var s=r[o];t.call(u,s)?u[s].push(o):u[s]=[o]}return u}(),e.remap={assignAll:"assign",assignAllWith:"assignWith",assignInAll:"assignIn",assignInAllWith:"assignInWith",curryN:"curry",curryRightN:"curryRight",defaultsAll:"defaults",defaultsDeepAll:"defaultsDeep",findFrom:"find",findIndexFrom:"findIndex",findLastFrom:"findLast",findLastIndexFrom:"findLastIndex",getOr:"get",includesFrom:"includes",indexOfFrom:"indexOf",invokeArgs:"invoke",invokeArgsMap:"invokeMap",lastIndexOfFrom:"lastIndexOf",mergeAll:"merge",mergeAllWith:"mergeWith",padChars:"pad",padCharsEnd:"padEnd",padCharsStart:"padStart",propertyOf:"get",rangeStep:"range",rangeStepRight:"rangeRight",restFrom:"rest",spreadFrom:"spread",trimChars:"trim",trimCharsEnd:"trimEnd",trimCharsStart:"trimStart",zipAll:"zip"},e.skipFixed={castArray:!0,flow:!0,flowRight:!0,iteratee:!0,mixin:!0,rearg:!0,runInContext:!0},e.skipRearg={add:!0,assign:!0,assignIn:!0,bind:!0,bindKey:!0,concat:!0,difference:!0,divide:!0,eq:!0,gt:!0,gte:!0,isEqual:!0,lt:!0,lte:!0,matchesProperty:!0,merge:!0,multiply:!0,overArgs:!0,partial:!0,partialRight:!0,propertyOf:!0,random:!0,range:!0,rangeRight:!0,subtract:!0,zip:!0,zipObject:!0,zipObjectDeep:!0}})(W1);var r4={},Ze=W1,i4=r4,Z0=Array.prototype.push;function u4(e,t){return t==2?function(r,u){return e.apply(void 0,arguments)}:function(r){return e.apply(void 0,arguments)}}function Jc(e,t){return t==2?function(r,u){return e(r,u)}:function(r){return e(r)}}function J0(e){for(var t=e?e.length:0,r=Array(t);t--;)r[t]=e[t];return r}function o4(e){return function(t){return e({},t)}}function l4(e,t){return function(){for(var r=arguments.length,u=r-1,o=Array(r);r--;)o[r]=arguments[r];var s=o[t],c=o.slice(0,t);return s&&Z0.apply(c,s),t!=u&&Z0.apply(c,o.slice(t+1)),e.apply(this,c)}}function bc(e,t){return function(){var r=arguments.length;if(r){for(var u=Array(r);r--;)u[r]=arguments[r];var o=u[0]=t.apply(void 0,u);return e.apply(void 0,u),o}}}function td(e,t,r,u){var o=typeof t=="function",s=t===Object(t);if(s&&(u=r,r=t,t=void 0),r==null)throw new TypeError;u||(u={});var c={cap:"cap"in u?u.cap:!0,curry:"curry"in u?u.curry:!0,fixed:"fixed"in u?u.fixed:!0,immutable:"immutable"in u?u.immutable:!0,rearg:"rearg"in u?u.rearg:!0},p=o?r:i4,m="curry"in u&&u.curry,_="fixed"in u&&u.fixed,N="rearg"in u&&u.rearg,P=o?r.runInContext():void 0,E=o?r:{ary:e.ary,assign:e.assign,clone:e.clone,curry:e.curry,forEach:e.forEach,isArray:e.isArray,isError:e.isError,isFunction:e.isFunction,isWeakMap:e.isWeakMap,iteratee:e.iteratee,keys:e.keys,rearg:e.rearg,toInteger:e.toInteger,toPath:e.toPath},T=E.ary,A=E.assign,D=E.clone,ue=E.curry,w=E.forEach,y=E.isArray,x=E.isError,j=E.isFunction,F=E.isWeakMap,$=E.keys,O=E.rearg,Y=E.toInteger,_e=E.toPath,le=$(Ze.aryMethod),Ye={castArray:function(G){return function(){var W=arguments[0];return y(W)?G(J0(W)):G.apply(void 0,arguments)}},iteratee:function(G){return function(){var W=arguments[0],H=arguments[1],Z=G(W,H),ie=Z.length;return c.cap&&typeof H=="number"?(H=H>2?H-2:1,ie&&ie<=H?Z:Jc(Z,H)):Z}},mixin:function(G){return function(W){var H=this;if(!j(H))return G(H,Object(W));var Z=[];return w($(W),function(ie){j(W[ie])&&Z.push([ie,H.prototype[ie]])}),G(H,Object(W)),w(Z,function(ie){var Be=ie[1];j(Be)?H.prototype[ie[0]]=Be:delete H.prototype[ie[0]]}),H}},nthArg:function(G){return function(W){var H=W<0?1:Y(W)+1;return ue(G(W),H)}},rearg:function(G){return function(W,H){var Z=H?H.length:0;return ue(G(W,H),Z)}},runInContext:function(G){return function(W){return td(e,G(W),u)}}};function Mt(G,W){if(c.cap){var H=Ze.iterateeRearg[G];if(H)return re(W,H);var Z=!o&&Ze.iterateeAry[G];if(Z)return J(W,Z)}return W}function dn(G,W,H){return m||c.curry&&H>1?ue(W,H):W}function Nn(G,W,H){if(c.fixed&&(_||!Ze.skipFixed[G])){var Z=Ze.methodSpread[G],ie=Z&&Z.start;return ie===void 0?T(W,H):l4(W,ie)}return W}function Ve(G,W,H){return c.rearg&&H>1&&(N||!Ze.skipRearg[G])?O(W,Ze.methodRearg[G]||Ze.aryRearg[H]):W}function pn(G,W){W=_e(W);for(var H=-1,Z=W.length,ie=Z-1,Be=D(Object(G)),it=Be;it!=null&&++H{const[r,u]=rn.useState(4),o=()=>{u(p=>p+1)},s=()=>{u(p=>Math.max(p-1,4))},c={flexDirection:t==="left"?"row":"row-reverse"};switch(e){case"compare-with-native":return B.jsxs("div",{className:"example-wrapper",style:c,children:[B.jsxs("div",{className:"container native-scroll",children:[B.jsx("label",{className:"side-title",children:"Native Scroll"}),B.jsxs("div",{className:"panel",children:[B.jsx("div",{className:"panel-header",children:B.jsx("label",{className:"panel-title",children:"This is boring"})}),B.jsx("div",{className:"panel-content-native panel-content",children:B.jsx("div",{className:"content-fill",children:Qu.text})})]})]},"native-example"),B.jsxs("div",{className:"container",children:[B.jsx("label",{className:"side-title",children:"Custom Scroll"}),B.jsxs("div",{className:"panel",children:[B.jsx("div",{className:"panel-header",children:B.jsx("label",{className:"panel-title",children:"Cool Scrollbar!"})}),B.jsx(Vu,{allowOuterScroll:!0,children:B.jsx("div",{className:"panel-content-custom panel-content",children:B.jsx("div",{className:"content-fill",children:Qu.text})})})]})]},"cool-example")]});case"crazy-designer":return B.jsxs("div",{className:"container example-wrapper",style:c,children:[B.jsxs("div",{className:"example-description",children:[B.jsx("img",{src:a4}),"There are no limits for your design."]}),B.jsxs("div",{className:"panel crazy-scroll",children:[B.jsx("div",{className:"panel-header",children:B.jsx("label",{className:"panel-title",children:"Who designed this???"})}),B.jsx(Vu,{allowOuterScroll:!0,handleClass:"scroll-handle-override",children:B.jsx("div",{className:"panel-content-custom panel-content",children:B.jsx("div",{className:"content-fill",children:Qu.text})})})]})]},"crazy-example");case"flex":return B.jsxs("div",{className:"container example-flex-wrapper example-wrapper",style:c,id:"flex-example",children:[B.jsxs("div",{className:"example-description",children:["Custom scroll supports flexible layouts. You can use it on elements styled with flex, by passing the ",B.jsx("b",{children:"flex"})," prop to CustomScroll"]}),B.jsxs("div",{className:"panel flex-scroll",children:[B.jsx("div",{className:"panel-header",children:B.jsx("label",{className:"panel-title",children:"Flexbox!!!"})}),B.jsx(Vu,{allowOuterScroll:!0,flex:"1",children:B.jsx("div",{className:"panel-content-custom panel-content",children:B.jsx("div",{className:"content-fill",children:Qu.text})})})]})]},"flex-example");case"dynamic-content":return B.jsxs("div",{className:"example-dynamic-wrapper example-wrapper",style:c,id:"dynamic-content-example",children:[B.jsxs("div",{className:"example-description",children:["When your content is dynamic, you can use the ",B.jsx("b",{children:"keepAtBottom"})," ","prop, to make sure new content doesn't change the scroll position, supporting the user experience."]}),B.jsxs("div",{children:[B.jsxs("div",{className:"panel dynamic-scroll",children:[B.jsx("div",{className:"panel-header",children:B.jsx("label",{className:"panel-title",children:"DYNAMIC CONTENT!!!"})}),B.jsx(Vu,{allowOuterScroll:!1,keepAtBottom:!0,children:B.jsx("div",{className:"panel-content-custom panel-content",children:B.jsx("div",{className:"content-fill",children:ev.map(p=>B.jsx("div",{className:"dynamic-content",children:p},p),ev.times(p=>`Content #${p}`,r))})})})]}),B.jsx("button",{className:"dynamic-content-button",onClick:o,children:"Add Content"},"addContent"),B.jsx("button",{className:"dynamic-content-button",onClick:s,children:"Remove Content"},"removeContent")]})]});case"allow-outer-scroll":return B.jsxs("div",{className:"example-wrapper",style:c,id:"allow-outer-scroll-example",children:[B.jsxs("div",{className:"example-description",children:["In this example, scrolling the wrapping element is enabled with",B.jsxs("b",{children:[" ","allowOuterScroll"]})]}),B.jsx("div",{className:"container",children:B.jsxs("div",{className:"panel",children:[B.jsx("div",{className:"panel-header",children:B.jsx("label",{className:"panel-title",children:"Allowing external scroll"})}),B.jsx(Vu,{allowOuterScroll:!0,children:B.jsx("div",{className:"panel-content-custom panel-content",style:{maxHeight:300},children:B.jsx("div",{className:"content-fill",children:Qu.shortText})})})]})},"cool-example")]})}},c4=()=>B.jsxs("div",{"data-testid":"app-root",className:"app-root",children:[B.jsx("div",{className:"demo-title",children:"React-Custom-Scroll Demo page"}),B.jsx("div",{className:"demo-subtitle",children:"react-custom-scroll lets you design unique scrollbars without compromising on performance. It preserves the browser's native scrolling mechanism, ensuring a smooth, familiar user experience. Its hover design means no content is obscured, offering a consistent look across browsers and operating systems."}),B.jsx(qu,{demoType:"compare-with-native",descriptionSide:"left"}),B.jsx(qu,{demoType:"crazy-designer",descriptionSide:"right"}),B.jsx(qu,{demoType:"dynamic-content",descriptionSide:"left"}),B.jsx(qu,{demoType:"allow-outer-scroll",descriptionSide:"right"}),B.jsx(qu,{demoType:"flex",descriptionSide:"left"})]});ef.createRoot(document.getElementById("root")).render(B.jsx(Gi.StrictMode,{children:B.jsx(c4,{})})); +}`;var se=Cm(function(){return tm(S,X+"return "+L).apply(v,C)});if(se.source=L,ec(se))throw se;return se}function ok(n){return we(n).toLowerCase()}function lk(n){return we(n).toUpperCase()}function sk(n,i,l){if(n=we(n),n&&(l||i===v))return Nn(n);if(!n||!(i=Ft(i)))return n;var a=Ct(n),d=Ct(i);return cr(a,U(a,d),J(a,d)+1).join("")}function ak(n,i,l){if(n=we(n),n&&(l||i===v))return n.slice(0,Ao(n)+1);if(!n||!(i=Ft(i)))return n;var a=Ct(n);return cr(a,0,J(a,Ct(i))+1).join("")}function ck(n,i,l){if(n=we(n),n&&(l||i===v))return n.replace(ya,"");if(!n||!(i=Ft(i)))return n;var a=Ct(n);return cr(a,U(a,Ct(i))).join("")}function fk(n,i){var l=K1,a=G1;if(Oe(i)){var d="separator"in i?i.separator:d;l="length"in i?ae(i.length):l,a="omission"in i?Ft(i.omission):a}n=we(n);var m=n.length;if(Ee(n)){var g=Ct(n);m=g.length}if(l>=m)return n;var S=l-ut(a);if(S<1)return a;var C=g?cr(g,0,S).join(""):n.slice(0,S);if(d===v)return C+a;if(g&&(S+=C.length-S),wc(d)){if(n.slice(S).search(d)){var z,I=C;for(d.global||(d=cc(d.source,we(cp.exec(d))+"g")),d.lastIndex=0;z=d.exec(I);)var L=z.index;C=C.slice(0,L===v?S:L)}}else if(n.indexOf(Ft(d),S)!=S){var V=C.lastIndexOf(d);V>-1&&(C=C.slice(0,V))}return C+a}function dk(n){return n=we(n),n&&py.test(n)?n.replace(lp,m_):n}function bh(n,i,l){return n=we(n),i=l?v:i,i===v?Ke(n)?U1(n):ue(n):n.match(i)||[]}function pk(n){var i=n==null?0:n.length,l=ne();return n=i?N(n,function(a){if(typeof a[1]!="function")throw new tn(Kt);return[l(a[0]),a[1]]}):[],fe(function(a){for(var d=-1;++dlr)return[];var l=jn,a=ft(n,jn);i=ne(i),n-=jn;for(var d=Mt(a,i);++l1?n[i-1]:v;return l=typeof l=="function"?(n.pop(),l):v,Dh(n,l)}),xE=Qn(function(n){var i=n.length,l=i?n[0]:0,a=this.__wrapped__,d=function(m){return Ra(m,n)};return!(i>1||this.__actions__.length)&&a instanceof K&&qn(l)?(a=a.slice(l,+l+(i?1:0)),a.__actions__.push({func:il,args:[d],thisArg:v}),new te(a,this.__chain__).thru(function(m){return i&&!m.length&&m.push(v),m})):this.thru(d)}),kE=Xo(function(n,i,l){xe.call(n,l)?++n[l]:Un(n,l,1)}),EE=ph(zh),CE=ph(Th),NE=Xo(function(n,i,l){xe.call(n,l)?n[l].push(i):Un(n,l,[i])}),PE=fe(function(n,i,l){var a=-1,d=typeof i=="function",m=Rt(n)?Ge(n.length):[];return dr(n,function(g){m[++a]=d?r(i,g,l):ku(g,i,l)}),m}),RE=Xo(function(n,i,l){Un(n,l,i)}),jE=Xo(function(n,i,l){n[l?0:1].push(i)},function(){return[[],[]]}),IE=fe(function(n,i){if(n==null)return[];var l=i.length;return l>1&&wt(n,i[0],i[1])?i=[]:l>2&&wt(i[0],i[1],i[2])&&(i=[i[0]]),Zp(n,lt(i,1),[])}),El=Hk||function(){return ot.Date.now()},yc=fe(function(n,i,l){var a=Gt;if(l.length){var d=Z(l,wi(yc));a|=Rn}return Vn(n,a,i,l,d)}),gm=fe(function(n,i,l){var a=Gt|Dr;if(l.length){var d=Z(l,wi(gm));a|=Rn}return Vn(i,a,n,l,d)}),zE=fe(function(n,i){return Bp(n,1,i)}),TE=fe(function(n,i,l){return Bp(n,en(i)||0,l)});ol.Cache=Hn;var AE=nE(function(n,i){i=i.length==1&&oe(i[0])?N(i[0],Ve(ne())):N(lt(i,1),Ve(ne()));var l=i.length;return fe(function(a){for(var d=-1,m=ft(a.length,l);++d=i}),qr=Vp(function(){return arguments}())?Vp:function(n){return Me(n)&&xe.call(n,"callee")&&!um.call(n,"callee")},oe=Ge.isArray,$E=zp?Ve(zp):Z_,pr=Vk||sc,ME=Tp?Ve(Tp):J_,_m=Ap?Ve(Ap):ew,wc=Op?Ve(Op):tw,wm=Lp?Ve(Lp):nw,Pi=Dp?Ve(Dp):rw,FE=el(Oa),WE=el(function(n,i){return n<=i}),BE=yi(function(n,i){if(Pu(i)||Rt(i))return zn(i,et(i),n),v;for(var l in i)xe.call(i,l)&&Su(n,l,i[l])}),Sm=yi(function(n,i){zn(i,jt(i),n)}),Cl=yi(function(n,i,l,a){zn(i,jt(i),n,a)}),HE=yi(function(n,i,l,a){zn(i,et(i),n,a)}),UE=Qn(Ra),VE=fe(function(n,i){n=Re(n);var l=-1,a=i.length,d=a>2?i[2]:v;for(d&&wt(i[0],i[1],d)&&(a=1);++l1),m}),zn(n,Ya(n),l),a&&(l=Zt(l,or|np|ci,xw));for(var d=i.length;d--;)Fa(l,i[d]);return l}),ZE=Qn(function(n,i){return n==null?{}:ow(n,i)}),km=yh(et),Em=yh(jt),JE=_i(function(n,i,l){return i=i.toLowerCase(),n+(l?Zh(i):i)}),bE=_i(function(n,i,l){return n+(l?"-":"")+i.toLowerCase()}),eC=_i(function(n,i,l){return n+(l?" ":"")+i.toLowerCase()}),tC=dh("toLowerCase"),nC=_i(function(n,i,l){return n+(l?"_":"")+i.toLowerCase()}),rC=_i(function(n,i,l){return n+(l?" ":"")+Sc(i)}),iC=_i(function(n,i,l){return n+(l?" ":"")+i.toUpperCase()}),Sc=dh("toUpperCase"),Cm=fe(function(n,i){try{return r(n,v,i)}catch(l){return ec(l)?l:new ac(l)}}),uC=Qn(function(n,i){return o(i,function(l){l=Tn(l),Un(n,l,yc(n[l],n))}),n}),oC=hh(),lC=hh(!0),sC=fe(function(n,i){return function(l){return ku(l,n,i)}}),aC=fe(function(n,i){return function(l){return ku(n,l,i)}}),cC=Va(N),fC=Va(c),dC=Va(A),pC=vh(),hC=vh(!0),mC=Jo(function(n,i){return n+i},0),vC=Qa("ceil"),gC=Jo(function(n,i){return n/i},1),yC=Qa("floor"),_C=Jo(function(n,i){return n*i},1),wC=Qa("round"),SC=Jo(function(n,i){return n-i},0);return f.after=YS,f.ary=Wh,f.assign=BE,f.assignIn=Sm,f.assignInWith=Cl,f.assignWith=HE,f.at=UE,f.before=Bh,f.bind=yc,f.bindAll=uC,f.bindKey=gm,f.castArray=tx,f.chain=$h,f.chunk=Ww,f.compact=Bw,f.concat=Hw,f.cond=pk,f.conforms=hk,f.constant=rc,f.countBy=kE,f.create=Ex,f.curry=Hh,f.curryRight=Uh,f.debounce=Vh,f.defaults=VE,f.defaultsDeep=QE,f.defer=zE,f.delay=TE,f.difference=uE,f.differenceBy=oE,f.differenceWith=lE,f.drop=Uw,f.dropRight=Vw,f.dropRightWhile=Qw,f.dropWhile=qw,f.fill=Yw,f.filter=AS,f.flatMap=OS,f.flatMapDeep=LS,f.flatMapDepth=DS,f.flatten=Ah,f.flattenDeep=Kw,f.flattenDepth=Gw,f.flip=KS,f.flow=oC,f.flowRight=lC,f.fromPairs=Xw,f.functions=zx,f.functionsIn=Tx,f.groupBy=NE,f.initial=Jw,f.intersection=sE,f.intersectionBy=aE,f.intersectionWith=cE,f.invert=qE,f.invertBy=YE,f.invokeMap=PE,f.iteratee=ic,f.keyBy=RE,f.keys=et,f.keysIn=jt,f.map=ul,f.mapKeys=Ox,f.mapValues=Lx,f.matches=vk,f.matchesProperty=gk,f.memoize=ol,f.merge=GE,f.mergeWith=xm,f.method=sC,f.methodOf=aC,f.mixin=uc,f.negate=ll,f.nthArg=_k,f.omit=XE,f.omitBy=Dx,f.once=GS,f.orderBy=MS,f.over=cC,f.overArgs=AE,f.overEvery=fC,f.overSome=dC,f.partial=_c,f.partialRight=ym,f.partition=jE,f.pick=ZE,f.pickBy=Xh,f.property=em,f.propertyOf=wk,f.pull=fE,f.pullAll=Lh,f.pullAllBy=nS,f.pullAllWith=rS,f.pullAt=dE,f.range=pC,f.rangeRight=hC,f.rearg=OE,f.reject=BS,f.remove=iS,f.rest=XS,f.reverse=Ja,f.sampleSize=US,f.set=Mx,f.setWith=Fx,f.shuffle=VS,f.slice=uS,f.sortBy=IE,f.sortedUniq=dS,f.sortedUniqBy=pS,f.split=rk,f.spread=ZS,f.tail=hS,f.take=mS,f.takeRight=vS,f.takeRightWhile=gS,f.takeWhile=yS,f.tap=ES,f.throttle=JS,f.thru=il,f.toArray=Yh,f.toPairs=km,f.toPairsIn=Em,f.toPath=Ck,f.toPlainObject=Gh,f.transform=Wx,f.unary=bS,f.union=pE,f.unionBy=hE,f.unionWith=mE,f.uniq=_S,f.uniqBy=wS,f.uniqWith=SS,f.unset=Bx,f.unzip=ba,f.unzipWith=Dh,f.update=Hx,f.updateWith=Ux,f.values=Si,f.valuesIn=Vx,f.without=vE,f.words=bh,f.wrap=ex,f.xor=gE,f.xorBy=yE,f.xorWith=_E,f.zip=wE,f.zipObject=xS,f.zipObjectDeep=kS,f.zipWith=SE,f.entries=km,f.entriesIn=Em,f.extend=Sm,f.extendWith=Cl,uc(f,f),f.add=mC,f.attempt=Cm,f.camelCase=JE,f.capitalize=Zh,f.ceil=vC,f.clamp=Qx,f.clone=nx,f.cloneDeep=ix,f.cloneDeepWith=ux,f.cloneWith=rx,f.conformsTo=ox,f.deburr=Jh,f.defaultTo=mk,f.divide=gC,f.endsWith=Kx,f.eq=gn,f.escape=Gx,f.escapeRegExp=Xx,f.every=TS,f.find=EE,f.findIndex=zh,f.findKey=Cx,f.findLast=CE,f.findLastIndex=Th,f.findLastKey=Nx,f.floor=yC,f.forEach=Mh,f.forEachRight=Fh,f.forIn=Px,f.forInRight=Rx,f.forOwn=jx,f.forOwnRight=Ix,f.get=tc,f.gt=LE,f.gte=DE,f.has=Ax,f.hasIn=nc,f.head=Oh,f.identity=It,f.includes=$S,f.indexOf=Zw,f.inRange=qx,f.invoke=KE,f.isArguments=qr,f.isArray=oe,f.isArrayBuffer=$E,f.isArrayLike=Rt,f.isArrayLikeObject=He,f.isBoolean=lx,f.isBuffer=pr,f.isDate=ME,f.isElement=sx,f.isEmpty=ax,f.isEqual=cx,f.isEqualWith=fx,f.isError=ec,f.isFinite=dx,f.isFunction=Yn,f.isInteger=Qh,f.isLength=sl,f.isMap=_m,f.isMatch=px,f.isMatchWith=hx,f.isNaN=mx,f.isNative=vx,f.isNil=yx,f.isNull=gx,f.isNumber=qh,f.isObject=Oe,f.isObjectLike=Me,f.isPlainObject=Ru,f.isRegExp=wc,f.isSafeInteger=_x,f.isSet=wm,f.isString=al,f.isSymbol=Wt,f.isTypedArray=Pi,f.isUndefined=wx,f.isWeakMap=Sx,f.isWeakSet=xx,f.join=bw,f.kebabCase=bE,f.last=bt,f.lastIndexOf=eS,f.lowerCase=eC,f.lowerFirst=tC,f.lt=FE,f.lte=WE,f.max=Pk,f.maxBy=Rk,f.mean=jk,f.meanBy=Ik,f.min=zk,f.minBy=Tk,f.stubArray=lc,f.stubFalse=sc,f.stubObject=Sk,f.stubString=xk,f.stubTrue=kk,f.multiply=_C,f.nth=tS,f.noConflict=yk,f.noop=oc,f.now=El,f.pad=Zx,f.padEnd=Jx,f.padStart=bx,f.parseInt=ek,f.random=Yx,f.reduce=FS,f.reduceRight=WS,f.repeat=tk,f.replace=nk,f.result=$x,f.round=wC,f.runInContext=k,f.sample=HS,f.size=QS,f.snakeCase=nC,f.some=qS,f.sortedIndex=oS,f.sortedIndexBy=lS,f.sortedIndexOf=sS,f.sortedLastIndex=aS,f.sortedLastIndexBy=cS,f.sortedLastIndexOf=fS,f.startCase=rC,f.startsWith=ik,f.subtract=SC,f.sum=Ak,f.sumBy=Ok,f.template=uk,f.times=Ek,f.toFinite=Kn,f.toInteger=ae,f.toLength=Kh,f.toLower=ok,f.toNumber=en,f.toSafeInteger=kx,f.toString=we,f.toUpper=lk,f.trim=sk,f.trimEnd=ak,f.trimStart=ck,f.truncate=fk,f.unescape=dk,f.uniqueId=Nk,f.upperCase=iC,f.upperFirst=Sc,f.each=Mh,f.eachRight=Fh,f.first=Oh,uc(f,function(){var n={};return In(f,function(i,l){xe.call(f.prototype,l)||(n[l]=i)}),n}(),{chain:!1}),f.VERSION=V1,o(["bind","bindKey","curry","curryRight","partial","partialRight"],function(n){f[n].placeholder=f}),o(["drop","take"],function(n,i){K.prototype[n]=function(l){l=l===v?1:Xe(ae(l),0);var a=this.__filtered__&&!i?new K(this):this.clone();return a.__filtered__?a.__takeCount__=ft(l,a.__takeCount__):a.__views__.push({size:ft(l,jn),type:n+(a.__dir__<0?"Right":"")}),a},K.prototype[n+"Right"]=function(l){return this.reverse()[n](l).reverse()}}),o(["filter","map","takeWhile"],function(n,i){var l=i+1,a=l==ip||l==b1;K.prototype[n]=function(d){var m=this.clone();return m.__iteratees__.push({iteratee:ne(d,3),type:l}),m.__filtered__=m.__filtered__||a,m}}),o(["head","last"],function(n,i){var l="take"+(i?"Right":"");K.prototype[n]=function(){return this[l](1).value()[0]}}),o(["initial","tail"],function(n,i){var l="drop"+(i?"":"Right");K.prototype[n]=function(){return this.__filtered__?new K(this):this[l](1)}}),K.prototype.compact=function(){return this.filter(It)},K.prototype.find=function(n){return this.filter(n).head()},K.prototype.findLast=function(n){return this.reverse().find(n)},K.prototype.invokeMap=fe(function(n,i){return typeof n=="function"?new K(this):this.map(function(l){return ku(l,n,i)})}),K.prototype.reject=function(n){return this.filter(ll(ne(n)))},K.prototype.slice=function(n,i){n=ae(n);var l=this;return l.__filtered__&&(n>0||i<0)?new K(l):(n<0?l=l.takeRight(-n):n&&(l=l.drop(n)),i!==v&&(i=ae(i),l=i<0?l.dropRight(-i):l.take(i-n)),l)},K.prototype.takeRightWhile=function(n){return this.reverse().takeWhile(n).reverse()},K.prototype.toArray=function(){return this.take(jn)},In(K.prototype,function(n,i){var l=/^(?:filter|find|map|reject)|While$/.test(i),a=/^(?:head|last)$/.test(i),d=f[a?"take"+(i=="last"?"Right":""):i],m=a||/^find/.test(i);d&&(f.prototype[i]=function(){var g=this.__wrapped__,S=a?[1]:arguments,C=g instanceof K,z=S[0],I=C||oe(g),L=function(de){var pe=d.apply(f,P([de],S));return a&&V?pe[0]:pe};I&&l&&typeof z=="function"&&z.length!=1&&(C=I=!1);var V=this.__chain__,X=!!this.__actions__.length,b=m&&!V,se=C&&!X;if(!m&&I){g=se?g:new K(this);var ee=n.apply(g,S);return ee.__actions__.push({func:il,args:[L],thisArg:v}),new te(ee,V)}return b&&se?n.apply(this,S):(ee=this.thru(L),b?a?ee.value()[0]:ee.value():ee)})}),o(["pop","push","shift","sort","splice","unshift"],function(n){var i=fl[n],l=/^(?:push|sort|unshift)$/.test(n)?"tap":"thru",a=/^(?:pop|shift)$/.test(n);f.prototype[n]=function(){var d=arguments;if(a&&!this.__chain__){var m=this.value();return i.apply(oe(m)?m:[],d)}return this[l](function(g){return i.apply(oe(g)?g:[],d)})}}),In(K.prototype,function(n,i){var l=f[i];if(l){var a=l.name+"";xe.call(Ci,a)||(Ci[a]=[]),Ci[a].push({name:i,func:l})}}),Ci[Zo(v,Dr).name]=[{name:"wrapper",func:v}],K.prototype.clone=Nt,K.prototype.reverse=Na,K.prototype.value=g_,f.prototype.at=xE,f.prototype.chain=CS,f.prototype.commit=NS,f.prototype.next=PS,f.prototype.plant=jS,f.prototype.reverse=IS,f.prototype.toJSON=f.prototype.valueOf=f.prototype.value=zS,f.prototype.first=f.prototype.head,ju&&(f.prototype[ju]=RS),f},gi=v_();Mr?((Mr.exports=gi)._=gi,Ea._=gi):ot._=gi}).call(Du)})(Ls,Ls.exports);var n4=Ls.exports,W1={};(function(e){e.aliasToReal={each:"forEach",eachRight:"forEachRight",entries:"toPairs",entriesIn:"toPairsIn",extend:"assignIn",extendAll:"assignInAll",extendAllWith:"assignInAllWith",extendWith:"assignInWith",first:"head",conforms:"conformsTo",matches:"isMatch",property:"get",__:"placeholder",F:"stubFalse",T:"stubTrue",all:"every",allPass:"overEvery",always:"constant",any:"some",anyPass:"overSome",apply:"spread",assoc:"set",assocPath:"set",complement:"negate",compose:"flowRight",contains:"includes",dissoc:"unset",dissocPath:"unset",dropLast:"dropRight",dropLastWhile:"dropRightWhile",equals:"isEqual",identical:"eq",indexBy:"keyBy",init:"initial",invertObj:"invert",juxt:"over",omitAll:"omit",nAry:"ary",path:"get",pathEq:"matchesProperty",pathOr:"getOr",paths:"at",pickAll:"pick",pipe:"flow",pluck:"map",prop:"get",propEq:"matchesProperty",propOr:"getOr",props:"at",symmetricDifference:"xor",symmetricDifferenceBy:"xorBy",symmetricDifferenceWith:"xorWith",takeLast:"takeRight",takeLastWhile:"takeRightWhile",unapply:"rest",unnest:"flatten",useWith:"overArgs",where:"conformsTo",whereEq:"isMatch",zipObj:"zipObject"},e.aryMethod={1:["assignAll","assignInAll","attempt","castArray","ceil","create","curry","curryRight","defaultsAll","defaultsDeepAll","floor","flow","flowRight","fromPairs","invert","iteratee","memoize","method","mergeAll","methodOf","mixin","nthArg","over","overEvery","overSome","rest","reverse","round","runInContext","spread","template","trim","trimEnd","trimStart","uniqueId","words","zipAll"],2:["add","after","ary","assign","assignAllWith","assignIn","assignInAllWith","at","before","bind","bindAll","bindKey","chunk","cloneDeepWith","cloneWith","concat","conformsTo","countBy","curryN","curryRightN","debounce","defaults","defaultsDeep","defaultTo","delay","difference","divide","drop","dropRight","dropRightWhile","dropWhile","endsWith","eq","every","filter","find","findIndex","findKey","findLast","findLastIndex","findLastKey","flatMap","flatMapDeep","flattenDepth","forEach","forEachRight","forIn","forInRight","forOwn","forOwnRight","get","groupBy","gt","gte","has","hasIn","includes","indexOf","intersection","invertBy","invoke","invokeMap","isEqual","isMatch","join","keyBy","lastIndexOf","lt","lte","map","mapKeys","mapValues","matchesProperty","maxBy","meanBy","merge","mergeAllWith","minBy","multiply","nth","omit","omitBy","overArgs","pad","padEnd","padStart","parseInt","partial","partialRight","partition","pick","pickBy","propertyOf","pull","pullAll","pullAt","random","range","rangeRight","rearg","reject","remove","repeat","restFrom","result","sampleSize","some","sortBy","sortedIndex","sortedIndexOf","sortedLastIndex","sortedLastIndexOf","sortedUniqBy","split","spreadFrom","startsWith","subtract","sumBy","take","takeRight","takeRightWhile","takeWhile","tap","throttle","thru","times","trimChars","trimCharsEnd","trimCharsStart","truncate","union","uniqBy","uniqWith","unset","unzipWith","without","wrap","xor","zip","zipObject","zipObjectDeep"],3:["assignInWith","assignWith","clamp","differenceBy","differenceWith","findFrom","findIndexFrom","findLastFrom","findLastIndexFrom","getOr","includesFrom","indexOfFrom","inRange","intersectionBy","intersectionWith","invokeArgs","invokeArgsMap","isEqualWith","isMatchWith","flatMapDepth","lastIndexOfFrom","mergeWith","orderBy","padChars","padCharsEnd","padCharsStart","pullAllBy","pullAllWith","rangeStep","rangeStepRight","reduce","reduceRight","replace","set","slice","sortedIndexBy","sortedLastIndexBy","transform","unionBy","unionWith","update","xorBy","xorWith","zipWith"],4:["fill","setWith","updateWith"]},e.aryRearg={2:[1,0],3:[2,0,1],4:[3,2,0,1]},e.iterateeAry={dropRightWhile:1,dropWhile:1,every:1,filter:1,find:1,findFrom:1,findIndex:1,findIndexFrom:1,findKey:1,findLast:1,findLastFrom:1,findLastIndex:1,findLastIndexFrom:1,findLastKey:1,flatMap:1,flatMapDeep:1,flatMapDepth:1,forEach:1,forEachRight:1,forIn:1,forInRight:1,forOwn:1,forOwnRight:1,map:1,mapKeys:1,mapValues:1,partition:1,reduce:2,reduceRight:2,reject:1,remove:1,some:1,takeRightWhile:1,takeWhile:1,times:1,transform:2},e.iterateeRearg={mapKeys:[1],reduceRight:[1,0]},e.methodRearg={assignInAllWith:[1,0],assignInWith:[1,2,0],assignAllWith:[1,0],assignWith:[1,2,0],differenceBy:[1,2,0],differenceWith:[1,2,0],getOr:[2,1,0],intersectionBy:[1,2,0],intersectionWith:[1,2,0],isEqualWith:[1,2,0],isMatchWith:[2,1,0],mergeAllWith:[1,0],mergeWith:[1,2,0],padChars:[2,1,0],padCharsEnd:[2,1,0],padCharsStart:[2,1,0],pullAllBy:[2,1,0],pullAllWith:[2,1,0],rangeStep:[1,2,0],rangeStepRight:[1,2,0],setWith:[3,1,2,0],sortedIndexBy:[2,1,0],sortedLastIndexBy:[2,1,0],unionBy:[1,2,0],unionWith:[1,2,0],updateWith:[3,1,2,0],xorBy:[1,2,0],xorWith:[1,2,0],zipWith:[1,2,0]},e.methodSpread={assignAll:{start:0},assignAllWith:{start:0},assignInAll:{start:0},assignInAllWith:{start:0},defaultsAll:{start:0},defaultsDeepAll:{start:0},invokeArgs:{start:2},invokeArgsMap:{start:2},mergeAll:{start:0},mergeAllWith:{start:0},partial:{start:1},partialRight:{start:1},without:{start:1},zipAll:{start:0}},e.mutate={array:{fill:!0,pull:!0,pullAll:!0,pullAllBy:!0,pullAllWith:!0,pullAt:!0,remove:!0,reverse:!0},object:{assign:!0,assignAll:!0,assignAllWith:!0,assignIn:!0,assignInAll:!0,assignInAllWith:!0,assignInWith:!0,assignWith:!0,defaults:!0,defaultsAll:!0,defaultsDeep:!0,defaultsDeepAll:!0,merge:!0,mergeAll:!0,mergeAllWith:!0,mergeWith:!0},set:{set:!0,setWith:!0,unset:!0,update:!0,updateWith:!0}},e.realToAlias=function(){var t=Object.prototype.hasOwnProperty,r=e.aliasToReal,u={};for(var o in r){var s=r[o];t.call(u,s)?u[s].push(o):u[s]=[o]}return u}(),e.remap={assignAll:"assign",assignAllWith:"assignWith",assignInAll:"assignIn",assignInAllWith:"assignInWith",curryN:"curry",curryRightN:"curryRight",defaultsAll:"defaults",defaultsDeepAll:"defaultsDeep",findFrom:"find",findIndexFrom:"findIndex",findLastFrom:"findLast",findLastIndexFrom:"findLastIndex",getOr:"get",includesFrom:"includes",indexOfFrom:"indexOf",invokeArgs:"invoke",invokeArgsMap:"invokeMap",lastIndexOfFrom:"lastIndexOf",mergeAll:"merge",mergeAllWith:"mergeWith",padChars:"pad",padCharsEnd:"padEnd",padCharsStart:"padStart",propertyOf:"get",rangeStep:"range",rangeStepRight:"rangeRight",restFrom:"rest",spreadFrom:"spread",trimChars:"trim",trimCharsEnd:"trimEnd",trimCharsStart:"trimStart",zipAll:"zip"},e.skipFixed={castArray:!0,flow:!0,flowRight:!0,iteratee:!0,mixin:!0,rearg:!0,runInContext:!0},e.skipRearg={add:!0,assign:!0,assignIn:!0,bind:!0,bindKey:!0,concat:!0,difference:!0,divide:!0,eq:!0,gt:!0,gte:!0,isEqual:!0,lt:!0,lte:!0,matchesProperty:!0,merge:!0,multiply:!0,overArgs:!0,partial:!0,partialRight:!0,propertyOf:!0,random:!0,range:!0,rangeRight:!0,subtract:!0,zip:!0,zipObject:!0,zipObjectDeep:!0}})(W1);var r4={},Ze=W1,i4=r4,Z0=Array.prototype.push;function u4(e,t){return t==2?function(r,u){return e.apply(void 0,arguments)}:function(r){return e.apply(void 0,arguments)}}function Jc(e,t){return t==2?function(r,u){return e(r,u)}:function(r){return e(r)}}function J0(e){for(var t=e?e.length:0,r=Array(t);t--;)r[t]=e[t];return r}function o4(e){return function(t){return e({},t)}}function l4(e,t){return function(){for(var r=arguments.length,u=r-1,o=Array(r);r--;)o[r]=arguments[r];var s=o[t],c=o.slice(0,t);return s&&Z0.apply(c,s),t!=u&&Z0.apply(c,o.slice(t+1)),e.apply(this,c)}}function bc(e,t){return function(){var r=arguments.length;if(r){for(var u=Array(r);r--;)u[r]=arguments[r];var o=u[0]=t.apply(void 0,u);return e.apply(void 0,u),o}}}function td(e,t,r,u){var o=typeof t=="function",s=t===Object(t);if(s&&(u=r,r=t,t=void 0),r==null)throw new TypeError;u||(u={});var c={cap:"cap"in u?u.cap:!0,curry:"curry"in u?u.curry:!0,fixed:"fixed"in u?u.fixed:!0,immutable:"immutable"in u?u.immutable:!0,rearg:"rearg"in u?u.rearg:!0},p=o?r:i4,h="curry"in u&&u.curry,_="fixed"in u&&u.fixed,N="rearg"in u&&u.rearg,P=o?r.runInContext():void 0,E=o?r:{ary:e.ary,assign:e.assign,clone:e.clone,curry:e.curry,forEach:e.forEach,isArray:e.isArray,isError:e.isError,isFunction:e.isFunction,isWeakMap:e.isWeakMap,iteratee:e.iteratee,keys:e.keys,rearg:e.rearg,toInteger:e.toInteger,toPath:e.toPath},T=E.ary,A=E.assign,D=E.clone,ue=E.curry,w=E.forEach,y=E.isArray,x=E.isError,j=E.isFunction,F=E.isWeakMap,$=E.keys,O=E.rearg,Y=E.toInteger,_e=E.toPath,le=$(Ze.aryMethod),Ye={castArray:function(G){return function(){var W=arguments[0];return y(W)?G(J0(W)):G.apply(void 0,arguments)}},iteratee:function(G){return function(){var W=arguments[0],H=arguments[1],Z=G(W,H),ie=Z.length;return c.cap&&typeof H=="number"?(H=H>2?H-2:1,ie&&ie<=H?Z:Jc(Z,H)):Z}},mixin:function(G){return function(W){var H=this;if(!j(H))return G(H,Object(W));var Z=[];return w($(W),function(ie){j(W[ie])&&Z.push([ie,H.prototype[ie]])}),G(H,Object(W)),w(Z,function(ie){var Be=ie[1];j(Be)?H.prototype[ie[0]]=Be:delete H.prototype[ie[0]]}),H}},nthArg:function(G){return function(W){var H=W<0?1:Y(W)+1;return ue(G(W),H)}},rearg:function(G){return function(W,H){var Z=H?H.length:0;return ue(G(W,H),Z)}},runInContext:function(G){return function(W){return td(e,G(W),u)}}};function Mt(G,W){if(c.cap){var H=Ze.iterateeRearg[G];if(H)return re(W,H);var Z=!o&&Ze.iterateeAry[G];if(Z)return J(W,Z)}return W}function dn(G,W,H){return h||c.curry&&H>1?ue(W,H):W}function Nn(G,W,H){if(c.fixed&&(_||!Ze.skipFixed[G])){var Z=Ze.methodSpread[G],ie=Z&&Z.start;return ie===void 0?T(W,H):l4(W,ie)}return W}function Ve(G,W,H){return c.rearg&&H>1&&(N||!Ze.skipRearg[G])?O(W,Ze.methodRearg[G]||Ze.aryRearg[H]):W}function pn(G,W){W=_e(W);for(var H=-1,Z=W.length,ie=Z-1,Be=D(Object(G)),it=Be;it!=null&&++H{const[u,o]=rn.useState(4),s=()=>{o(h=>h+1)},c=()=>{o(h=>Math.max(h-1,4))},p={flexDirection:t==="left"?"row":"row-reverse"};switch(e){case"compare-with-native":return B.jsxs("div",{"data-testid":r||"",className:"example-wrapper",style:p,children:[B.jsxs("div",{className:"container native-scroll",children:[B.jsx("label",{className:"side-title",children:"Native Scroll"}),B.jsxs("div",{className:"panel",children:[B.jsx("div",{className:"panel-header",children:B.jsx("label",{className:"panel-title",children:"This is boring"})}),B.jsx("div",{className:"panel-content-native panel-content",children:B.jsx("div",{className:"content-fill",children:Qu.text})})]})]}),B.jsxs("div",{className:"container",children:[B.jsx("label",{className:"side-title",children:"Custom Scroll"}),B.jsxs("div",{className:"panel",children:[B.jsx("div",{className:"panel-header",children:B.jsx("label",{className:"panel-title",children:"Cool Scrollbar!"})}),B.jsx(Ii,{allowOuterScroll:!0,children:B.jsx("div",{className:"panel-content-custom panel-content",children:B.jsx("div",{className:"content-fill",children:Qu.text})})})]})]})]});case"crazy-designer":return B.jsxs("div",{"data-testid":r||"",className:"container example-wrapper",style:p,children:[B.jsxs("div",{className:"example-description",children:[B.jsx("img",{src:a4}),"There are no limits for your design."]}),B.jsxs("div",{className:"panel crazy-scroll",children:[B.jsx("div",{className:"panel-header",children:B.jsx("label",{className:"panel-title",children:"Who designed this???"})}),B.jsx(Ii,{allowOuterScroll:!0,handleClass:"scroll-handle-override",children:B.jsx("div",{className:"panel-content-custom panel-content",children:B.jsx("div",{className:"content-fill",children:Qu.text})})})]})]});case"flex":return B.jsxs("div",{className:"container example-flex-wrapper example-wrapper",style:p,id:"flex-example","data-testid":r||"",children:[B.jsxs("div",{className:"example-description",children:["Custom scroll supports flexible layouts. You can use it on elements styled with flex, by passing the ",B.jsx("b",{children:"flex"})," prop to CustomScroll"]}),B.jsxs("div",{className:"panel flex-scroll",children:[B.jsx("div",{className:"panel-header",children:B.jsx("label",{className:"panel-title",children:"Flexbox!!!"})}),B.jsx(Ii,{allowOuterScroll:!0,flex:"1",children:B.jsx("div",{className:"panel-content-custom panel-content",children:B.jsx("div",{className:"content-fill",children:Qu.text})})})]})]},"flex-example");case"dynamic-content":return B.jsxs("div",{"data-testid":r||"",className:"example-dynamic-wrapper example-wrapper",style:p,id:"dynamic-content-example",children:[B.jsxs("div",{className:"example-description",children:["When your content is dynamic, you can use the ",B.jsx("b",{children:"keepAtBottom"})," ","prop, to make sure new content doesn't change the scroll position, supporting the user experience."]}),B.jsxs("div",{children:[B.jsxs("div",{className:"panel dynamic-scroll",children:[B.jsx("div",{className:"panel-header",children:B.jsx("label",{className:"panel-title",children:"DYNAMIC CONTENT!!!"})}),B.jsx(Ii,{allowOuterScroll:!1,keepAtBottom:!0,children:B.jsx("div",{className:"panel-content-custom panel-content",children:B.jsx("div",{className:"content-fill",children:ev.map(h=>B.jsx("div",{className:"dynamic-content",children:h},h),ev.times(h=>`Content #${h}`,u))})})})]}),B.jsx("button",{className:"dynamic-content-button",onClick:s,children:"Add Content"},"addContent"),B.jsx("button",{className:"dynamic-content-button",onClick:c,children:"Remove Content"},"removeContent")]})]});case"allow-outer-scroll":return B.jsxs("div",{"data-testid":r||"",className:"example-wrapper",style:p,id:"allow-outer-scroll-example",children:[B.jsxs("div",{className:"example-description",children:["In this example, scrolling the wrapping element is enabled with",B.jsxs("b",{children:[" ","allowOuterScroll"]})]}),B.jsx("div",{className:"container",children:B.jsxs("div",{className:"panel",children:[B.jsx("div",{className:"panel-header",children:B.jsx("label",{className:"panel-title",children:"Allowing external scroll"})}),B.jsx(Ii,{allowOuterScroll:!0,children:B.jsx("div",{className:"panel-content-custom panel-content",style:{maxHeight:300},children:B.jsx("div",{className:"content-fill",children:Qu.shortText})})})]})},"cool-example")]})}},c4=()=>B.jsx(Ii,{children:B.jsxs("div",{"data-testid":"app-root",className:"app-root",children:[B.jsx("div",{className:"demo-title",children:"React-Custom-Scroll Demo page"}),B.jsx("div",{className:"demo-subtitle",children:"react-custom-scroll lets you design unique scrollbars without compromising on performance. It preserves the browser's native scrolling mechanism, ensuring a smooth, familiar user experience. Its hover design means no content is obscured, offering a consistent look across browsers and operating systems."}),B.jsx(qu,{demoType:"compare-with-native",descriptionSide:"left",testId:"first-example"}),B.jsx(qu,{demoType:"crazy-designer",descriptionSide:"right"}),B.jsx(qu,{demoType:"dynamic-content",descriptionSide:"left"}),B.jsx(qu,{demoType:"allow-outer-scroll",descriptionSide:"right"}),B.jsx(qu,{demoType:"flex",descriptionSide:"left"})]})});ef.createRoot(document.getElementById("root")).render(B.jsx(Xi.StrictMode,{children:B.jsx(c4,{})})); diff --git a/exampleDist/index.html b/exampleDist/index.html index 6511d00..21d3795 100644 --- a/exampleDist/index.html +++ b/exampleDist/index.html @@ -4,8 +4,8 @@ React custom scroll demo - - + +
diff --git a/src/App.tsx b/src/App.tsx index ac1c61c..e62cccf 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -14,7 +14,11 @@ export const App = () => { hover design means no content is obscured, offering a consistent look across browsers and operating systems. - + diff --git a/src/example/demoComp.tsx b/src/example/demoComp.tsx index 6a44636..33e4925 100644 --- a/src/example/demoComp.tsx +++ b/src/example/demoComp.tsx @@ -13,9 +13,14 @@ interface DemoCompProps { | "dynamic-content" | "allow-outer-scroll"; descriptionSide: "left" | "right"; + testId?: string; } -export const DemoComp = ({ demoType, descriptionSide }: DemoCompProps) => { +export const DemoComp = ({ + demoType, + descriptionSide, + testId, +}: DemoCompProps) => { const [dynamicContentCounter, setDynamicContentCounter] = useState(4); const addContent = () => { setDynamicContentCounter((prev) => prev + 1); @@ -29,8 +34,12 @@ export const DemoComp = ({ demoType, descriptionSide }: DemoCompProps) => { switch (demoType) { case "compare-with-native": return ( -
-
+
+
@@ -41,7 +50,7 @@ export const DemoComp = ({ demoType, descriptionSide }: DemoCompProps) => {
-
+
@@ -60,7 +69,7 @@ export const DemoComp = ({ demoType, descriptionSide }: DemoCompProps) => { case "crazy-designer": return (
@@ -90,6 +99,7 @@ export const DemoComp = ({ demoType, descriptionSide }: DemoCompProps) => { className="container example-flex-wrapper example-wrapper" style={descriptionStyle} id="flex-example" + data-testid={testId || ""} >
Custom scroll supports flexible layouts. You can use it on elements @@ -110,6 +120,7 @@ export const DemoComp = ({ demoType, descriptionSide }: DemoCompProps) => { case "dynamic-content": return (
{ case "allow-outer-scroll": return (
{ }); }); -test.describe("mouse interactions with custom scrollbar", () => { - test.beforeEach(async ({ page }) => { - await page.goto(APP_URL); - }); - - test("Should scroll when clicking on the scrollbar area", async ({ - page, - }) => { - const examplePanel = getExamplePanel(page); - - const customHandle = getScrollHandle(examplePanel); - await customHandle.hover(); - // click below the handle - page.mouse.click(0, 50); - - // check the scroll moved downwards - }); -}); +// test.describe("mouse interactions with custom scrollbar", () => { +// test.beforeEach(async ({ page }) => { +// await page.goto(APP_URL); +// }); +// +// test("Should scroll when clicking on the scrollbar area", async ({ +// page, +// }) => { +// const examplePanel = getExamplePanel(page); +// +// const customHandle = getScrollHandle(examplePanel); +// await customHandle.hover(); +// // click below the handle +// page.mouse.click(0, 50); +// +// // check the scroll moved downwards +// }); +// }); // test.describe("Blocking outer scroll", () => { // test.beforeEach(async ({ page }) => {