dash-core-components 4.0.0-rc0 → 4.0.0-rc1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (31) hide show
  1. package/dash_core_components/async-datepicker.js +1 -1
  2. package/dash_core_components/async-datepicker.js.map +1 -1
  3. package/dash_core_components/async-dropdown.js +1 -1
  4. package/dash_core_components/async-dropdown.js.map +1 -1
  5. package/dash_core_components/async-graph.js +1 -1
  6. package/dash_core_components/async-slider.js +1 -2
  7. package/dash_core_components/async-slider.js.map +1 -1
  8. package/dash_core_components/dash_core_components-shared.js +1 -1
  9. package/dash_core_components/dash_core_components-shared.js.map +1 -1
  10. package/dash_core_components/dash_core_components.js +1 -1
  11. package/dash_core_components/dash_core_components.js.map +1 -1
  12. package/dash_core_components/proptypes.js +18 -0
  13. package/lib/components/Dropdown.tsx +52 -0
  14. package/lib/components/RangeSlider.tsx +8 -1
  15. package/lib/components/Textarea.react.js.old +287 -0
  16. package/lib/components/css/dcc.css +1 -0
  17. package/lib/components/css/dropdown.css +230 -0
  18. package/lib/components/css/sliders.css +8 -0
  19. package/lib/fragments/Dropdown.tsx +577 -0
  20. package/lib/fragments/RangeSlider.tsx +71 -71
  21. package/lib/index.ts +1 -1
  22. package/lib/types.ts +168 -0
  23. package/lib/utils/LazyLoader/dropdown.ts +2 -0
  24. package/lib/utils/_LoadingElement.tsx +8 -18
  25. package/lib/utils/dropdownSearch.ts +92 -0
  26. package/lib/utils/optionTypes.ts +27 -0
  27. package/package.json +7 -3
  28. package/lib/components/Dropdown.react.js +0 -182
  29. package/lib/fragments/Dropdown.react.js +0 -158
  30. package/lib/fragments/Slider.tsx.old +0 -364
  31. package/lib/utils/LazyLoader/dropdown.js +0 -8
@@ -1,3 +1,3 @@
1
1
  /*! For license information please see async-dropdown.js.LICENSE.txt */
2
- (self.webpackChunkdash_core_components=self.webpackChunkdash_core_components||[]).push([[157],{1226:function(e,t,n){"use strict";var o=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.bpfrpt_proptype_AnimationTimeoutId=t.requestAnimationTimeout=t.cancelAnimationTimeout=void 0;var r=n(4555);o(n(76120)),t.bpfrpt_proptype_AnimationTimeoutId=null,t.cancelAnimationTimeout=function(e){return(0,r.caf)(e.id)},t.requestAnimationTimeout=function(e,t){var n;Promise.resolve().then((function(){n=Date.now()}));var o={id:(0,r.raf)((function i(){Date.now()-n>=t?e.call():o.id=(0,r.raf)(i)}))};return o}},4555:function(e,t){"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.caf=t.raf=void 0;var o=(n="undefined"!=typeof window?window:"undefined"!=typeof self?self:{}).requestAnimationFrame||n.webkitRequestAnimationFrame||n.mozRequestAnimationFrame||n.oRequestAnimationFrame||n.msRequestAnimationFrame||function(e){return n.setTimeout(e,1e3/60)},r=n.cancelAnimationFrame||n.webkitCancelAnimationFrame||n.mozCancelAnimationFrame||n.oCancelAnimationFrame||n.msCancelAnimationFrame||function(e){n.clearTimeout(e)},i=o;t.raf=i;var l=r;t.caf=l},5999:function(e,t,n){"use strict";var o=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.cellSize,n=e.cellSizeAndPositionManager,o=e.previousCellsCount,r=e.previousCellSize,i=e.previousScrollToAlignment,l=e.previousScrollToIndex,a=e.previousSize,u=e.scrollOffset,s=e.scrollToAlignment,c=e.scrollToIndex,p=e.size,d=e.sizeJustIncreasedFromZero,f=e.updateScrollIndexCallback,h=n.getCellCount(),v=c>=0&&c<h;v&&(p!==a||d||!r||"number"==typeof t&&t!==r||s!==i||c!==l)?f(c):!v&&h>0&&(p<a||h<o)&&u>n.getTotalSize()-p&&f(h-1)},o(n(30022)),n(6284)},6284:function(e,t,n){"use strict";var o=n(24994),r=n(6305);Object.defineProperty(t,"__esModule",{value:!0}),t.bpfrpt_proptype_VisibleCellRange=t.bpfrpt_proptype_Alignment=t.bpfrpt_proptype_OverscanIndicesGetter=t.bpfrpt_proptype_OverscanIndices=t.bpfrpt_proptype_OverscanIndicesGetterParams=t.bpfrpt_proptype_RenderedSection=t.bpfrpt_proptype_ScrollbarPresenceChange=t.bpfrpt_proptype_Scroll=t.bpfrpt_proptype_NoContentRenderer=t.bpfrpt_proptype_CellSize=t.bpfrpt_proptype_CellSizeGetter=t.bpfrpt_proptype_CellRangeRenderer=t.bpfrpt_proptype_CellRangeRendererParams=t.bpfrpt_proptype_StyleCache=t.bpfrpt_proptype_CellCache=t.bpfrpt_proptype_CellRenderer=t.bpfrpt_proptype_CellRendererParams=t.bpfrpt_proptype_CellPosition=void 0,r(n(51609)),o(n(30022)),o(n(76120)),t.bpfrpt_proptype_CellPosition=null,t.bpfrpt_proptype_CellRendererParams=null,t.bpfrpt_proptype_CellRenderer=null,t.bpfrpt_proptype_CellCache=null,t.bpfrpt_proptype_StyleCache=null,t.bpfrpt_proptype_CellRangeRendererParams=null,t.bpfrpt_proptype_CellRangeRenderer=null,t.bpfrpt_proptype_CellSizeGetter=null,t.bpfrpt_proptype_CellSize=null,t.bpfrpt_proptype_NoContentRenderer=null,t.bpfrpt_proptype_Scroll=null,t.bpfrpt_proptype_ScrollbarPresenceChange=null,t.bpfrpt_proptype_RenderedSection=null,t.bpfrpt_proptype_OverscanIndicesGetterParams=null,t.bpfrpt_proptype_OverscanIndices=null,t.bpfrpt_proptype_OverscanIndicesGetter=null,t.bpfrpt_proptype_Alignment=null,t.bpfrpt_proptype_VisibleCellRange=null},6293:function(e,t,n){"use strict";var o=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r.default}}),Object.defineProperty(t,"List",{enumerable:!0,get:function(){return r.default}}),Object.defineProperty(t,"bpfrpt_proptype_RowRendererParams",{enumerable:!0,get:function(){return i.bpfrpt_proptype_RowRendererParams}});var r=o(n(94845)),i=n(63100)},6413:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Search=void 0;var o,r=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),i=(o=n(26871))&&o.__esModule?o:{default:o},l=n(7403),a=n(46981),u=n(80770),s=n(94387);t.Search=function(){function e(t){if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),!t)throw Error("js-search requires a uid field name constructor parameter");this._uidFieldName=t,this._indexStrategy=new l.PrefixIndexStrategy,this._searchIndex=new u.TfIdfSearchIndex(t),this._sanitizer=new a.LowerCaseSanitizer,this._tokenizer=new s.SimpleTokenizer,this._documents=[],this._searchableFields=[]}return r(e,[{key:"addDocument",value:function(e){this.addDocuments([e])}},{key:"addDocuments",value:function(e){this._documents=this._documents.concat(e),this.indexDocuments_(e,this._searchableFields)}},{key:"addIndex",value:function(e){this._searchableFields.push(e),this.indexDocuments_(this._documents,[e])}},{key:"search",value:function(e){var t=this._tokenizer.tokenize(this._sanitizer.sanitize(e));return this._searchIndex.search(t,this._documents)}},{key:"indexDocuments_",value:function(e,t){this._initialized=!0;for(var n=this._indexStrategy,o=this._sanitizer,r=this._searchIndex,l=this._tokenizer,a=this._uidFieldName,u=0,s=e.length;u<s;u++){var c,p=e[u];c=a instanceof Array?(0,i.default)(p,a):p[a];for(var d=0,f=t.length;d<f;d++){var h,v=t[d];if(null!=(h=v instanceof Array?(0,i.default)(p,v):p[v])&&"string"!=typeof h&&h.toString&&(h=h.toString()),"string"==typeof h)for(var m=l.tokenize(o.sanitize(h)),g=0,y=m.length;g<y;g++)for(var b=m[g],_=n.expandToken(b),S=0,C=_.length;S<C;S++){var A=_[S];r.indexDocument(A,c,p)}}}}},{key:"indexStrategy",set:function(e){if(this._initialized)throw Error("IIndexStrategy cannot be set after initialization");this._indexStrategy=e},get:function(){return this._indexStrategy}},{key:"sanitizer",set:function(e){if(this._initialized)throw Error("ISanitizer cannot be set after initialization");this._sanitizer=e},get:function(){return this._sanitizer}},{key:"searchIndex",set:function(e){if(this._initialized)throw Error("ISearchIndex cannot be set after initialization");this._searchIndex=e},get:function(){return this._searchIndex}},{key:"tokenizer",set:function(e){if(this._initialized)throw Error("ITokenizer cannot be set after initialization");this._tokenizer=e},get:function(){return this._tokenizer}}]),e}()},7403:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(18567);Object.defineProperty(t,"AllSubstringsIndexStrategy",{enumerable:!0,get:function(){return o.AllSubstringsIndexStrategy}});var r=n(63883);Object.defineProperty(t,"ExactWordIndexStrategy",{enumerable:!0,get:function(){return r.ExactWordIndexStrategy}});var i=n(76982);Object.defineProperty(t,"PrefixIndexStrategy",{enumerable:!0,get:function(){return i.PrefixIndexStrategy}})},10732:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}();t.UnorderedSearchIndex=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._tokenToUidToDocumentMap={}}return o(e,[{key:"indexDocument",value:function(e,t,o){"object"!==n(this._tokenToUidToDocumentMap[e])&&(this._tokenToUidToDocumentMap[e]={}),this._tokenToUidToDocumentMap[e][t]=o}},{key:"search",value:function(e,t){for(var o={},r=this._tokenToUidToDocumentMap,i=0,l=e.length;i<l;i++){var a=r[e[i]];if(!a)return[];if(0===i)for(var u=0,s=(p=Object.keys(a)).length;u<s;u++)o[c=p[u]]=a[c];else for(u=0,s=(p=Object.keys(o)).length;u<s;u++){var c=p[u];"object"!==n(a[c])&&delete o[c]}}var p,d=[];for(i=0,s=(p=Object.keys(o)).length;i<s;i++)c=p[i],d.push(o[c]);return d}}]),e}()},12883:function(e,t,n){"use strict";var o=n(71354),r=n.n(o),i=n(76314),l=n.n(i)()(r());l.push([e.id,".dash-dropdown .Select-menu-outer {\n z-index: 1000;\n max-height: none;\n}\n\n.dash-dropdown .Select-menu {\n max-height: none;\n}\n","",{version:3,sources:["webpack://./src/components/css/Dropdown.css"],names:[],mappings:"AAAA;IACI,aAAa;IACb,gBAAgB;AACpB;;AAEA;IACI,gBAAgB;AACpB",sourcesContent:[".dash-dropdown .Select-menu-outer {\n z-index: 1000;\n max-height: none;\n}\n\n.dash-dropdown .Select-menu {\n max-height: none;\n}\n"],sourceRoot:""}]),t.A=l},14474:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.cellCount,n=e.cellSize,o=e.computeMetadataCallback,r=e.computeMetadataCallbackProps,i=e.nextCellsCount,l=e.nextCellSize,a=e.nextScrollToIndex,u=e.scrollToIndex,s=e.updateScrollOffsetForScrollToIndex;t===i&&("number"!=typeof n&&"number"!=typeof l||n===l)||(o(r),u>=0&&u===a&&s())}},17383:function(e){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},e.exports.__esModule=!0,e.exports.default=e.exports},18567:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}();t.AllSubstringsIndexStrategy=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}return n(e,[{key:"expandToken",value:function(e){for(var t,n=[],o=0,r=e.length;o<r;++o){t="";for(var i=o;i<r;++i)t+=e.charAt(i),n.push(t)}return n}}]),e}()},20053:function(e,t,n){"use strict";function o(e){var t,n,r="";if("string"==typeof e||"number"==typeof e)r+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(n=o(e[t]))&&(r&&(r+=" "),r+=n);else for(t in e)e[t]&&(r&&(r+=" "),r+=t);return r}function r(){for(var e,t,n=0,r="";n<arguments.length;)(e=arguments[n++])&&(t=o(e))&&(r&&(r+=" "),r+=t);return r}n.r(t),n.d(t,{clsx:function(){return r}}),t.default=r},20257:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.StopWordsTokenizer=void 0;var o=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),r=n(60220);t.StopWordsTokenizer=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._tokenizer=t}return o(e,[{key:"tokenize",value:function(e){return this._tokenizer.tokenize(e).filter((function(e){return!r.StopWordsMap[e]}))}}]),e}()},26871:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){t=t||[];for(var n=e=e||{},o=0;o<t.length;o++)if(null==(n=n[t[o]]))return null;return n}},28452:function(e,t,n){var o=n(73738).default,r=n(12475);e.exports=function(e,t){if(t&&("object"==o(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return r(e)},e.exports.__esModule=!0,e.exports.default=e.exports},29511:function(e,t,n){var o=n(95636);e.exports=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&o(e,t)},e.exports.__esModule=!0,e.exports.default=e.exports},29580:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return ne}});var o=n(51647),r=n(92254),i=n(13430),l=n(845),a=n(88267),u=n(21878),s=function(){function e(e,t){this.xf=t,this.f=e}return e.prototype["@@transducer/init"]=u.A.init,e.prototype["@@transducer/result"]=u.A.result,e.prototype["@@transducer/step"]=function(e,t){return this.xf["@@transducer/step"](e,this.f(t))},e}(),c=function(e){return function(t){return new s(e,t)}},p=n(49960),d=n(82506),f=(0,r.A)((0,l.A)(["fantasy-land/map","map"],c,(function(e,t){switch(Object.prototype.toString.call(t)){case"[object Function]":return(0,p.A)(t.length,(function(){return e.call(this,t.apply(this,arguments))}));case"[object Object]":return(0,i.A)((function(n,o){return n[o]=e(t[o]),n}),{},(0,d.A)(t));default:return(0,a.A)(e,t)}}))),h=f,v=n(64279),m=n(56359),g=(0,r.A)((function(e,t){if(null!=t)return(0,v.A)(e)?(0,m.A)(e,t):t[e]})),y=(0,r.A)((function(e,t){return h(g(e),t)})),b=n(4376),_=n(66811),S=n(18499),C=n(51609),A=n.n(C),E=n(91651),O=n(78658),w=n(85072),x=n.n(w),T=n(97825),z=n.n(T),R=n(55056),I=n.n(R),k=n(10540),P=n.n(k),F=n(41113),M=n.n(F),D=n(88194),B={};B.styleTagTransform=M(),B.setAttributes=I(),B.insert=function(e){var t=document.querySelector("head"),n=window._lastElementInsertedByStyleLoader;n?n.nextSibling?t.insertBefore(e,n.nextSibling):t.appendChild(e):t.insertBefore(e,t.firstChild),window._lastElementInsertedByStyleLoader=e},B.domAPI=z(),B.insertStyleElement=P(),x()(D.A,B),D.A&&D.A.locals&&D.A.locals;var j=n(91491),L={};L.styleTagTransform=M(),L.setAttributes=I(),L.insert=function(e){var t=document.querySelector("head"),n=window._lastElementInsertedByStyleLoader;n?n.nextSibling?t.insertBefore(e,n.nextSibling):t.appendChild(e):t.insertBefore(e,t.firstChild),window._lastElementInsertedByStyleLoader=e},L.domAPI=z(),L.insertStyleElement=P(),x()(j.A,L),j.A&&j.A.locals&&j.A.locals;var V=n(12883),N={};N.styleTagTransform=M(),N.setAttributes=I(),N.insert=function(e){var t=document.querySelector("head"),n=window._lastElementInsertedByStyleLoader;n?n.nextSibling?t.insertBefore(e,n.nextSibling):t.appendChild(e):t.insertBefore(e,t.firstChild),window._lastElementInsertedByStyleLoader=e},N.domAPI=z(),N.insertStyleElement=P(),x()(V.A,N),V.A&&V.A.locals&&V.A.locals;var W=n(49710),H=n(2665),K=n(30115),U=n.n(K);function G(){return G=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)({}).hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},G.apply(null,arguments)}function q(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function $(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?q(Object(n),!0).forEach((function(t){Z(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):q(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Z(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function J(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var o,r,i,l,a=[],u=!0,s=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;u=!1}else for(;!(u=(o=i.call(n)).done)&&(a.push(o.value),a.length!==t);u=!0);}catch(e){s=!0,r=e}finally{try{if(!u&&null!=n.return&&(l=n.return(),Object(l)!==l))return}finally{if(s)throw r}}return a}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Y(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Y(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Y(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=Array(t);n<t;n++)o[n]=e[n];return o}var X=/\s+/,Q={tokenize(e){return e.split(X).filter((e=>e))}},ee=["multi","clearable","searchable","search_value","placeholder","disabled","optionHeight","maxHeight","style","className","closeOnSelect"],te=e=>{var t=e.id,n=e.clearable,r=e.multi,i=e.options,l=e.setProps,a=e.search_value,u=e.style,s=e.value,c=e.searchable,p=J((0,C.useState)(null),2),d=p[0],f=p[1],h=(0,C.useRef)(null),v=window.dash_component_api.useDashContext().useLoading();h&&U()(i,h.current)||(h.current=i);var m=J((0,C.useMemo)((()=>{var e=(0,H.s)(i),t=["strValue"],n=!1,o=!1;return e=Array.isArray(e)?e.map((e=>(e.search&&(o=!0),A().isValidElement(e.label)&&(n=!0),$($({},e),{},{strValue:String(e.value)})))):e,n||t.push("label"),o&&t.push("search"),[e,(0,O.A)({options:e,tokenizer:Q,indexes:t})]}),[h.current]),2),g=m[0],w=m[1],x=(0,C.useCallback)((e=>{var t,n;r?(t=(0,o.A)(e)?[]:y("value",e),l({value:t})):(n=(0,o.A)(e)?null:e.value,l({value:n}))}),[r]),T=(0,C.useCallback)((e=>l({search_value:e})),[]);return(0,C.useEffect)((()=>{if(!(a||(0,o.A)(g)||d===g||(0,o.A)(s)||(0,b.A)(s))){var e=g.map((e=>e.value));if(r&&Array.isArray(s)){var t=s.filter((t=>!e.includes(t)));t.length&&l({value:(0,_.A)(t,s)})}else e.includes(s)||l({value:null});f(g)}}),[g,d,r,s]),A().createElement("div",{id:t,className:"dash-dropdown",style:u,"data-dash-is-loading":v||void 0},A().createElement(E.A,G({filterOptions:w,options:g,value:s,onChange:x,onInputChange:c?T:void 0,backspaceRemoves:n,deleteRemoves:n,inputProps:{autoComplete:"off"}},(0,S.A)(ee,e))))};te.propTypes=W.tu;var ne=te},30022:function(e,t,n){"use strict";var o=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=o(n(91847)),i=o(n(17383)),l=o(n(34579)),a=o(n(43693)),u=o(n(94755)),s=n(79080),c=(n(6284),function(){function e(t){var n=t.maxScrollSize,o=void 0===n?(0,s.getMaxElementSize)():n,l=(0,r.default)(t,["maxScrollSize"]);(0,i.default)(this,e),(0,a.default)(this,"_cellSizeAndPositionManager",void 0),(0,a.default)(this,"_maxScrollSize",void 0),this._cellSizeAndPositionManager=new u.default(l),this._maxScrollSize=o}return(0,l.default)(e,[{key:"areOffsetsAdjusted",value:function(){return this._cellSizeAndPositionManager.getTotalSize()>this._maxScrollSize}},{key:"configure",value:function(e){this._cellSizeAndPositionManager.configure(e)}},{key:"getCellCount",value:function(){return this._cellSizeAndPositionManager.getCellCount()}},{key:"getEstimatedCellSize",value:function(){return this._cellSizeAndPositionManager.getEstimatedCellSize()}},{key:"getLastMeasuredIndex",value:function(){return this._cellSizeAndPositionManager.getLastMeasuredIndex()}},{key:"getOffsetAdjustment",value:function(e){var t=e.containerSize,n=e.offset,o=this._cellSizeAndPositionManager.getTotalSize(),r=this.getTotalSize(),i=this._getOffsetPercentage({containerSize:t,offset:n,totalSize:r});return Math.round(i*(r-o))}},{key:"getSizeAndPositionOfCell",value:function(e){return this._cellSizeAndPositionManager.getSizeAndPositionOfCell(e)}},{key:"getSizeAndPositionOfLastMeasuredCell",value:function(){return this._cellSizeAndPositionManager.getSizeAndPositionOfLastMeasuredCell()}},{key:"getTotalSize",value:function(){return Math.min(this._maxScrollSize,this._cellSizeAndPositionManager.getTotalSize())}},{key:"getUpdatedOffsetForIndex",value:function(e){var t=e.align,n=void 0===t?"auto":t,o=e.containerSize,r=e.currentOffset,i=e.targetIndex;r=this._safeOffsetToOffset({containerSize:o,offset:r});var l=this._cellSizeAndPositionManager.getUpdatedOffsetForIndex({align:n,containerSize:o,currentOffset:r,targetIndex:i});return this._offsetToSafeOffset({containerSize:o,offset:l})}},{key:"getVisibleCellRange",value:function(e){var t=e.containerSize,n=e.offset;return n=this._safeOffsetToOffset({containerSize:t,offset:n}),this._cellSizeAndPositionManager.getVisibleCellRange({containerSize:t,offset:n})}},{key:"resetCell",value:function(e){this._cellSizeAndPositionManager.resetCell(e)}},{key:"_getOffsetPercentage",value:function(e){var t=e.containerSize,n=e.offset,o=e.totalSize;return o<=t?0:n/(o-t)}},{key:"_offsetToSafeOffset",value:function(e){var t=e.containerSize,n=e.offset,o=this._cellSizeAndPositionManager.getTotalSize(),r=this.getTotalSize();if(o===r)return n;var i=this._getOffsetPercentage({containerSize:t,offset:n,totalSize:o});return Math.round(i*(r-t))}},{key:"_safeOffsetToOffset",value:function(e){var t=e.containerSize,n=e.offset,o=this._cellSizeAndPositionManager.getTotalSize(),r=this.getTotalSize();if(o===r)return n;var i=this._getOffsetPercentage({containerSize:t,offset:n,totalSize:r});return Math.round(i*(o-t))}}]),e}());t.default=c},30115:function(e,t,n){var o=n(96763),r="undefined"!=typeof Element,i="function"==typeof Map,l="function"==typeof Set,a="function"==typeof ArrayBuffer&&!!ArrayBuffer.isView;function u(e,t){if(e===t)return!0;if(e&&t&&"object"==typeof e&&"object"==typeof t){if(e.constructor!==t.constructor)return!1;var n,o,s,c;if(Array.isArray(e)){if((n=e.length)!=t.length)return!1;for(o=n;0!=o--;)if(!u(e[o],t[o]))return!1;return!0}if(i&&e instanceof Map&&t instanceof Map){if(e.size!==t.size)return!1;for(c=e.entries();!(o=c.next()).done;)if(!t.has(o.value[0]))return!1;for(c=e.entries();!(o=c.next()).done;)if(!u(o.value[1],t.get(o.value[0])))return!1;return!0}if(l&&e instanceof Set&&t instanceof Set){if(e.size!==t.size)return!1;for(c=e.entries();!(o=c.next()).done;)if(!t.has(o.value[0]))return!1;return!0}if(a&&ArrayBuffer.isView(e)&&ArrayBuffer.isView(t)){if((n=e.length)!=t.length)return!1;for(o=n;0!=o--;)if(e[o]!==t[o])return!1;return!0}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf&&"function"==typeof e.valueOf&&"function"==typeof t.valueOf)return e.valueOf()===t.valueOf();if(e.toString!==Object.prototype.toString&&"function"==typeof e.toString&&"function"==typeof t.toString)return e.toString()===t.toString();if((n=(s=Object.keys(e)).length)!==Object.keys(t).length)return!1;for(o=n;0!=o--;)if(!Object.prototype.hasOwnProperty.call(t,s[o]))return!1;if(r&&e instanceof Element)return!1;for(o=n;0!=o--;)if(("_owner"!==s[o]&&"__v"!==s[o]&&"__o"!==s[o]||!e.$$typeof)&&!u(e[s[o]],t[s[o]]))return!1;return!0}return e!=e&&t!=t}e.exports=function(e,t){try{return u(e,t)}catch(e){if((e.message||"").match(/stack|recursion/i))return o.warn("react-fast-compare cannot handle circular refs"),!1;throw e}}},32745:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}();t.LowerCaseSanitizer=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}return n(e,[{key:"sanitize",value:function(e){return e?e.toLocaleLowerCase().trim():""}}]),e}()},34579:function(e,t,n){var o=n(77736);function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,o(r.key),r)}}e.exports=function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e},e.exports.__esModule=!0,e.exports.default=e.exports},41001:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(7403);Object.defineProperty(t,"AllSubstringsIndexStrategy",{enumerable:!0,get:function(){return o.AllSubstringsIndexStrategy}}),Object.defineProperty(t,"ExactWordIndexStrategy",{enumerable:!0,get:function(){return o.ExactWordIndexStrategy}}),Object.defineProperty(t,"PrefixIndexStrategy",{enumerable:!0,get:function(){return o.PrefixIndexStrategy}});var r=n(46981);Object.defineProperty(t,"CaseSensitiveSanitizer",{enumerable:!0,get:function(){return r.CaseSensitiveSanitizer}}),Object.defineProperty(t,"LowerCaseSanitizer",{enumerable:!0,get:function(){return r.LowerCaseSanitizer}});var i=n(80770);Object.defineProperty(t,"TfIdfSearchIndex",{enumerable:!0,get:function(){return i.TfIdfSearchIndex}}),Object.defineProperty(t,"UnorderedSearchIndex",{enumerable:!0,get:function(){return i.UnorderedSearchIndex}});var l=n(94387);Object.defineProperty(t,"SimpleTokenizer",{enumerable:!0,get:function(){return l.SimpleTokenizer}}),Object.defineProperty(t,"StemmingTokenizer",{enumerable:!0,get:function(){return l.StemmingTokenizer}}),Object.defineProperty(t,"StopWordsTokenizer",{enumerable:!0,get:function(){return l.StopWordsTokenizer}});var a=n(6413);Object.defineProperty(t,"Search",{enumerable:!0,get:function(){return a.Search}});var u=n(60220);Object.defineProperty(t,"StopWordsMap",{enumerable:!0,get:function(){return u.StopWordsMap}});var s=n(76113);Object.defineProperty(t,"TokenHighlighter",{enumerable:!0,get:function(){return s.TokenHighlighter}})},41157:function(e,t,n){"use strict";var o=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r.default}}),Object.defineProperty(t,"Grid",{enumerable:!0,get:function(){return r.default}}),Object.defineProperty(t,"accessibilityOverscanIndicesGetter",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(t,"defaultCellRangeRenderer",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(t,"defaultOverscanIndicesGetter",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"bpfrpt_proptype_NoContentRenderer",{enumerable:!0,get:function(){return u.bpfrpt_proptype_NoContentRenderer}}),Object.defineProperty(t,"bpfrpt_proptype_Alignment",{enumerable:!0,get:function(){return u.bpfrpt_proptype_Alignment}}),Object.defineProperty(t,"bpfrpt_proptype_CellPosition",{enumerable:!0,get:function(){return u.bpfrpt_proptype_CellPosition}}),Object.defineProperty(t,"bpfrpt_proptype_CellSize",{enumerable:!0,get:function(){return u.bpfrpt_proptype_CellSize}}),Object.defineProperty(t,"bpfrpt_proptype_OverscanIndicesGetter",{enumerable:!0,get:function(){return u.bpfrpt_proptype_OverscanIndicesGetter}}),Object.defineProperty(t,"bpfrpt_proptype_RenderedSection",{enumerable:!0,get:function(){return u.bpfrpt_proptype_RenderedSection}}),Object.defineProperty(t,"bpfrpt_proptype_CellRendererParams",{enumerable:!0,get:function(){return u.bpfrpt_proptype_CellRendererParams}}),Object.defineProperty(t,"bpfrpt_proptype_Scroll",{enumerable:!0,get:function(){return u.bpfrpt_proptype_Scroll}});var r=o(n(74609)),i=o(n(63314)),l=o(n(52560)),a=o(n(45273)),u=n(6284)},42484:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),o=/[^a-zа-яё0-9\-']+/i;t.SimpleTokenizer=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}return n(e,[{key:"tokenize",value:function(e){return e.split(o).filter((function(e){return e}))}}]),e}()},45273:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.cellCount,n=e.overscanCellsCount,r=e.scrollDirection,i=e.startIndex,l=e.stopIndex;return r===o?{overscanStartIndex:Math.max(0,i),overscanStopIndex:Math.min(t-1,l+n)}:{overscanStartIndex:Math.max(0,i-n),overscanStopIndex:Math.min(t-1,l)}},t.SCROLL_DIRECTION_VERTICAL=t.SCROLL_DIRECTION_HORIZONTAL=t.SCROLL_DIRECTION_FORWARD=t.SCROLL_DIRECTION_BACKWARD=void 0,n(6284),t.SCROLL_DIRECTION_BACKWARD=-1;var o=1;t.SCROLL_DIRECTION_FORWARD=o,t.SCROLL_DIRECTION_HORIZONTAL="horizontal",t.SCROLL_DIRECTION_VERTICAL="vertical"},46942:function(e,t){var n;!function(){"use strict";var o={}.hasOwnProperty;function r(){for(var e="",t=0;t<arguments.length;t++){var n=arguments[t];n&&(e=l(e,i(n)))}return e}function i(e){if("string"==typeof e||"number"==typeof e)return e;if("object"!=typeof e)return"";if(Array.isArray(e))return r.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var t="";for(var n in e)o.call(e,n)&&e[n]&&(t=l(t,n));return t}function l(e,t){return t?e?e+" "+t:e+t:e}e.exports?(r.default=r,e.exports=r):void 0===(n=function(){return r}.apply(t,[]))||(e.exports=n)}()},46981:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(86850);Object.defineProperty(t,"CaseSensitiveSanitizer",{enumerable:!0,get:function(){return o.CaseSensitiveSanitizer}});var r=n(32745);Object.defineProperty(t,"LowerCaseSanitizer",{enumerable:!0,get:function(){return r.LowerCaseSanitizer}})},52197:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o,r=(o=n(76048))&&o.__esModule?o:{default:o};t.default=r.default},52560:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){for(var t=e.cellCache,n=e.cellRenderer,o=e.columnSizeAndPositionManager,r=e.columnStartIndex,i=e.columnStopIndex,l=e.deferredMeasurementCache,a=e.horizontalOffsetAdjustment,u=e.isScrolling,s=e.isScrollingOptOut,c=e.parent,p=e.rowSizeAndPositionManager,d=e.rowStartIndex,f=e.rowStopIndex,h=e.styleCache,v=e.verticalOffsetAdjustment,m=e.visibleColumnIndices,g=e.visibleRowIndices,y=[],b=o.areOffsetsAdjusted()||p.areOffsetsAdjusted(),_=!u&&!b,S=d;S<=f;S++)for(var C=p.getSizeAndPositionOfCell(S),A=r;A<=i;A++){var E=o.getSizeAndPositionOfCell(A),O=A>=m.start&&A<=m.stop&&S>=g.start&&S<=g.stop,w="".concat(S,"-").concat(A),x=void 0;_&&h[w]?x=h[w]:l&&!l.has(S,A)?x={height:"auto",left:0,position:"absolute",top:0,width:"auto"}:(x={height:C.size,left:E.offset+a,position:"absolute",top:C.offset+v,width:E.size},h[w]=x);var T={columnIndex:A,isScrolling:u,isVisible:O,key:w,parent:c,rowIndex:S,style:x},z=void 0;!s&&!u||a||v?z=n(T):(t[w]||(t[w]=n(T)),z=t[w]),null!=z&&!1!==z&&y.push(z)}return y},n(6284)},52954:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}();t.StemmingTokenizer=function(){function e(t,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._stemmingFunction=t,this._tokenizer=n}return n(e,[{key:"tokenize",value:function(e){return this._tokenizer.tokenize(e).map(this._stemmingFunction)}}]),e}()},60220:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=t.StopWordsMap={a:!0,able:!0,about:!0,across:!0,after:!0,all:!0,almost:!0,also:!0,am:!0,among:!0,an:!0,and:!0,any:!0,are:!0,as:!0,at:!0,be:!0,because:!0,been:!0,but:!0,by:!0,can:!0,cannot:!0,could:!0,dear:!0,did:!0,do:!0,does:!0,either:!0,else:!0,ever:!0,every:!0,for:!0,from:!0,get:!0,got:!0,had:!0,has:!0,have:!0,he:!0,her:!0,hers:!0,him:!0,his:!0,how:!0,however:!0,i:!0,if:!0,in:!0,into:!0,is:!0,it:!0,its:!0,just:!0,least:!0,let:!0,like:!0,likely:!0,may:!0,me:!0,might:!0,most:!0,must:!0,my:!0,neither:!0,no:!0,nor:!0,not:!0,of:!0,off:!0,often:!0,on:!0,only:!0,or:!0,other:!0,our:!0,own:!0,rather:!0,said:!0,say:!0,says:!0,she:!0,should:!0,since:!0,so:!0,some:!0,than:!0,that:!0,the:!0,their:!0,them:!0,then:!0,there:!0,these:!0,they:!0,this:!0,tis:!0,to:!0,too:!0,twas:!0,us:!0,wants:!0,was:!0,we:!0,were:!0,what:!0,when:!0,where:!0,which:!0,while:!0,who:!0,whom:!0,why:!0,will:!0,with:!0,would:!0,yet:!0,you:!0,your:!0};n.constructor=!1,n.hasOwnProperty=!1,n.isPrototypeOf=!1,n.propertyIsEnumerable=!1,n.toLocaleString=!1,n.toString=!1,n.valueOf=!1},63072:function(e){function t(n){return e.exports=t=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},e.exports.__esModule=!0,e.exports.default=e.exports,t(n)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},63100:function(e,t,n){"use strict";var o=n(24994),r=n(6305);Object.defineProperty(t,"__esModule",{value:!0}),t.bpfrpt_proptype_Scroll=t.bpfrpt_proptype_RenderedRows=t.bpfrpt_proptype_RowRenderer=t.bpfrpt_proptype_RowRendererParams=void 0,r(n(51609)),o(n(76120)),t.bpfrpt_proptype_RowRendererParams=null,t.bpfrpt_proptype_RowRenderer=null,t.bpfrpt_proptype_RenderedRows=null,t.bpfrpt_proptype_Scroll=null},63314:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.cellCount,n=e.overscanCellsCount,r=e.scrollDirection,i=e.startIndex,l=e.stopIndex;return n=Math.max(1,n),r===o?{overscanStartIndex:Math.max(0,i-1),overscanStopIndex:Math.min(t-1,l+n)}:{overscanStartIndex:Math.max(0,i-n),overscanStopIndex:Math.min(t-1,l+1)}},t.SCROLL_DIRECTION_VERTICAL=t.SCROLL_DIRECTION_HORIZONTAL=t.SCROLL_DIRECTION_FORWARD=t.SCROLL_DIRECTION_BACKWARD=void 0,n(6284),t.SCROLL_DIRECTION_BACKWARD=-1;var o=1;t.SCROLL_DIRECTION_FORWARD=o,t.SCROLL_DIRECTION_HORIZONTAL="horizontal",t.SCROLL_DIRECTION_VERTICAL="vertical"},63883:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}();t.ExactWordIndexStrategy=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}return n(e,[{key:"expandToken",value:function(e){return e?[e]:[]}}]),e}()},71345:function(e,t,n){"use strict";function o(){var e=this.constructor.getDerivedStateFromProps(this.props,this.state);null!=e&&this.setState(e)}function r(e){this.setState(function(t){var n=this.constructor.getDerivedStateFromProps(e,t);return null!=n?n:null}.bind(this))}function i(e,t){try{var n=this.props,o=this.state;this.props=e,this.state=t,this.__reactInternalSnapshotFlag=!0,this.__reactInternalSnapshot=this.getSnapshotBeforeUpdate(n,o)}finally{this.props=n,this.state=o}}function l(e){var t=e.prototype;if(!t||!t.isReactComponent)throw new Error("Can only polyfill class components");if("function"!=typeof e.getDerivedStateFromProps&&"function"!=typeof t.getSnapshotBeforeUpdate)return e;var n=null,l=null,a=null;if("function"==typeof t.componentWillMount?n="componentWillMount":"function"==typeof t.UNSAFE_componentWillMount&&(n="UNSAFE_componentWillMount"),"function"==typeof t.componentWillReceiveProps?l="componentWillReceiveProps":"function"==typeof t.UNSAFE_componentWillReceiveProps&&(l="UNSAFE_componentWillReceiveProps"),"function"==typeof t.componentWillUpdate?a="componentWillUpdate":"function"==typeof t.UNSAFE_componentWillUpdate&&(a="UNSAFE_componentWillUpdate"),null!==n||null!==l||null!==a){var u=e.displayName||e.name,s="function"==typeof e.getDerivedStateFromProps?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";throw Error("Unsafe legacy lifecycles will not be called for components using new component APIs.\n\n"+u+" uses "+s+" but also contains the following legacy lifecycles:"+(null!==n?"\n "+n:"")+(null!==l?"\n "+l:"")+(null!==a?"\n "+a:"")+"\n\nThe above lifecycles should be removed. Learn more about this warning here:\nhttps://fb.me/react-async-component-lifecycle-hooks")}if("function"==typeof e.getDerivedStateFromProps&&(t.componentWillMount=o,t.componentWillReceiveProps=r),"function"==typeof t.getSnapshotBeforeUpdate){if("function"!=typeof t.componentDidUpdate)throw new Error("Cannot polyfill getSnapshotBeforeUpdate() for components that do not define componentDidUpdate() on the prototype");t.componentWillUpdate=i;var c=t.componentDidUpdate;t.componentDidUpdate=function(e,t,n){var o=this.__reactInternalSnapshotFlag?this.__reactInternalSnapshot:n;c.call(this,e,t,o)}}return e}n.r(t),n.d(t,{polyfill:function(){return l}}),o.__suppressDeprecationWarning=!0,r.__suppressDeprecationWarning=!0,i.__suppressDeprecationWarning=!0},74609:function(e,t,n){"use strict";var o=n(24994),r=n(6305);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.DEFAULT_SCROLLING_RESET_TIME_INTERVAL=void 0;var i,l,a=o(n(94634)),u=o(n(17383)),s=o(n(34579)),c=o(n(28452)),p=o(n(63072)),d=o(n(12475)),f=o(n(29511)),h=o(n(43693)),v=r(n(51609)),m=o(n(20053)),g=o(n(14474)),y=o(n(30022)),b=o(n(96301)),_=r(n(45273)),S=o(n(5999)),C=o(n(52560)),A=o(n(80669)),E=n(71345),O=n(1226);function w(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function x(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?w(n,!0).forEach((function(t){(0,h.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):w(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}n(6284),o(n(76120)),t.DEFAULT_SCROLLING_RESET_TIME_INTERVAL=150;var T="requested",z=(l=i=function(e){function t(e){var n;(0,u.default)(this,t),n=(0,c.default)(this,(0,p.default)(t).call(this,e)),(0,h.default)((0,d.default)(n),"_onGridRenderedMemoizer",(0,b.default)()),(0,h.default)((0,d.default)(n),"_onScrollMemoizer",(0,b.default)(!1)),(0,h.default)((0,d.default)(n),"_deferredInvalidateColumnIndex",null),(0,h.default)((0,d.default)(n),"_deferredInvalidateRowIndex",null),(0,h.default)((0,d.default)(n),"_recomputeScrollLeftFlag",!1),(0,h.default)((0,d.default)(n),"_recomputeScrollTopFlag",!1),(0,h.default)((0,d.default)(n),"_horizontalScrollBarSize",0),(0,h.default)((0,d.default)(n),"_verticalScrollBarSize",0),(0,h.default)((0,d.default)(n),"_scrollbarPresenceChanged",!1),(0,h.default)((0,d.default)(n),"_scrollingContainer",void 0),(0,h.default)((0,d.default)(n),"_childrenToDisplay",void 0),(0,h.default)((0,d.default)(n),"_columnStartIndex",void 0),(0,h.default)((0,d.default)(n),"_columnStopIndex",void 0),(0,h.default)((0,d.default)(n),"_rowStartIndex",void 0),(0,h.default)((0,d.default)(n),"_rowStopIndex",void 0),(0,h.default)((0,d.default)(n),"_renderedColumnStartIndex",0),(0,h.default)((0,d.default)(n),"_renderedColumnStopIndex",0),(0,h.default)((0,d.default)(n),"_renderedRowStartIndex",0),(0,h.default)((0,d.default)(n),"_renderedRowStopIndex",0),(0,h.default)((0,d.default)(n),"_initialScrollTop",void 0),(0,h.default)((0,d.default)(n),"_initialScrollLeft",void 0),(0,h.default)((0,d.default)(n),"_disablePointerEventsTimeoutId",void 0),(0,h.default)((0,d.default)(n),"_styleCache",{}),(0,h.default)((0,d.default)(n),"_cellCache",{}),(0,h.default)((0,d.default)(n),"_debounceScrollEndedCallback",(function(){n._disablePointerEventsTimeoutId=null,n.setState({isScrolling:!1,needToResetStyleCache:!1})})),(0,h.default)((0,d.default)(n),"_invokeOnGridRenderedHelper",(function(){var e=n.props.onSectionRendered;n._onGridRenderedMemoizer({callback:e,indices:{columnOverscanStartIndex:n._columnStartIndex,columnOverscanStopIndex:n._columnStopIndex,columnStartIndex:n._renderedColumnStartIndex,columnStopIndex:n._renderedColumnStopIndex,rowOverscanStartIndex:n._rowStartIndex,rowOverscanStopIndex:n._rowStopIndex,rowStartIndex:n._renderedRowStartIndex,rowStopIndex:n._renderedRowStopIndex}})})),(0,h.default)((0,d.default)(n),"_setScrollingContainerRef",(function(e){n._scrollingContainer=e})),(0,h.default)((0,d.default)(n),"_onScroll",(function(e){e.target===n._scrollingContainer&&n.handleScrollEvent(e.target)}));var o=new y.default({cellCount:e.columnCount,cellSizeGetter:function(n){return t._wrapSizeGetter(e.columnWidth)(n)},estimatedCellSize:t._getEstimatedColumnSize(e)}),r=new y.default({cellCount:e.rowCount,cellSizeGetter:function(n){return t._wrapSizeGetter(e.rowHeight)(n)},estimatedCellSize:t._getEstimatedRowSize(e)});return n.state={instanceProps:{columnSizeAndPositionManager:o,rowSizeAndPositionManager:r,prevColumnWidth:e.columnWidth,prevRowHeight:e.rowHeight,prevColumnCount:e.columnCount,prevRowCount:e.rowCount,prevIsScrolling:!0===e.isScrolling,prevScrollToColumn:e.scrollToColumn,prevScrollToRow:e.scrollToRow,scrollbarSize:0,scrollbarSizeMeasured:!1},isScrolling:!1,scrollDirectionHorizontal:_.SCROLL_DIRECTION_FORWARD,scrollDirectionVertical:_.SCROLL_DIRECTION_FORWARD,scrollLeft:0,scrollTop:0,scrollPositionChangeReason:null,needToResetStyleCache:!1},e.scrollToRow>0&&(n._initialScrollTop=n._getCalculatedScrollTop(e,n.state)),e.scrollToColumn>0&&(n._initialScrollLeft=n._getCalculatedScrollLeft(e,n.state)),n}return(0,f.default)(t,e),(0,s.default)(t,[{key:"getOffsetForCell",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.alignment,n=void 0===t?this.props.scrollToAlignment:t,o=e.columnIndex,r=void 0===o?this.props.scrollToColumn:o,i=e.rowIndex,l=void 0===i?this.props.scrollToRow:i,a=x({},this.props,{scrollToAlignment:n,scrollToColumn:r,scrollToRow:l});return{scrollLeft:this._getCalculatedScrollLeft(a),scrollTop:this._getCalculatedScrollTop(a)}}},{key:"getTotalRowsHeight",value:function(){return this.state.instanceProps.rowSizeAndPositionManager.getTotalSize()}},{key:"getTotalColumnsWidth",value:function(){return this.state.instanceProps.columnSizeAndPositionManager.getTotalSize()}},{key:"handleScrollEvent",value:function(e){var t=e.scrollLeft,n=void 0===t?0:t,o=e.scrollTop,r=void 0===o?0:o;if(!(r<0)){this._debounceScrollEnded();var i=this.props,l=i.autoHeight,a=i.autoWidth,u=i.height,s=i.width,c=this.state.instanceProps,p=c.scrollbarSize,d=c.rowSizeAndPositionManager.getTotalSize(),f=c.columnSizeAndPositionManager.getTotalSize(),h=Math.min(Math.max(0,f-s+p),n),v=Math.min(Math.max(0,d-u+p),r);if(this.state.scrollLeft!==h||this.state.scrollTop!==v){var m={isScrolling:!0,scrollDirectionHorizontal:h!==this.state.scrollLeft?h>this.state.scrollLeft?_.SCROLL_DIRECTION_FORWARD:_.SCROLL_DIRECTION_BACKWARD:this.state.scrollDirectionHorizontal,scrollDirectionVertical:v!==this.state.scrollTop?v>this.state.scrollTop?_.SCROLL_DIRECTION_FORWARD:_.SCROLL_DIRECTION_BACKWARD:this.state.scrollDirectionVertical,scrollPositionChangeReason:"observed"};l||(m.scrollTop=v),a||(m.scrollLeft=h),m.needToResetStyleCache=!1,this.setState(m)}this._invokeOnScrollMemoizer({scrollLeft:h,scrollTop:v,totalColumnsWidth:f,totalRowsHeight:d})}}},{key:"invalidateCellSizeAfterRender",value:function(e){var t=e.columnIndex,n=e.rowIndex;this._deferredInvalidateColumnIndex="number"==typeof this._deferredInvalidateColumnIndex?Math.min(this._deferredInvalidateColumnIndex,t):t,this._deferredInvalidateRowIndex="number"==typeof this._deferredInvalidateRowIndex?Math.min(this._deferredInvalidateRowIndex,n):n}},{key:"measureAllCells",value:function(){var e=this.props,t=e.columnCount,n=e.rowCount,o=this.state.instanceProps;o.columnSizeAndPositionManager.getSizeAndPositionOfCell(t-1),o.rowSizeAndPositionManager.getSizeAndPositionOfCell(n-1)}},{key:"recomputeGridSize",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.columnIndex,n=void 0===t?0:t,o=e.rowIndex,r=void 0===o?0:o,i=this.props,l=i.scrollToColumn,a=i.scrollToRow,u=this.state.instanceProps;u.columnSizeAndPositionManager.resetCell(n),u.rowSizeAndPositionManager.resetCell(r),this._recomputeScrollLeftFlag=l>=0&&(this.state.scrollDirectionHorizontal===_.SCROLL_DIRECTION_FORWARD?n<=l:n>=l),this._recomputeScrollTopFlag=a>=0&&(this.state.scrollDirectionVertical===_.SCROLL_DIRECTION_FORWARD?r<=a:r>=a),this._styleCache={},this._cellCache={},this.forceUpdate()}},{key:"scrollToCell",value:function(e){var t=e.columnIndex,n=e.rowIndex,o=this.props.columnCount,r=this.props;o>1&&void 0!==t&&this._updateScrollLeftForScrollToColumn(x({},r,{scrollToColumn:t})),void 0!==n&&this._updateScrollTopForScrollToRow(x({},r,{scrollToRow:n}))}},{key:"componentDidMount",value:function(){var e=this.props,n=e.getScrollbarSize,o=e.height,r=e.scrollLeft,i=e.scrollToColumn,l=e.scrollTop,a=e.scrollToRow,u=e.width,s=this.state.instanceProps;if(this._initialScrollTop=0,this._initialScrollLeft=0,this._handleInvalidatedGridSize(),s.scrollbarSizeMeasured||this.setState((function(e){var t=x({},e,{needToResetStyleCache:!1});return t.instanceProps.scrollbarSize=n(),t.instanceProps.scrollbarSizeMeasured=!0,t})),"number"==typeof r&&r>=0||"number"==typeof l&&l>=0){var c=t._getScrollToPositionStateUpdate({prevState:this.state,scrollLeft:r,scrollTop:l});c&&(c.needToResetStyleCache=!1,this.setState(c))}this._scrollingContainer&&(this._scrollingContainer.scrollLeft!==this.state.scrollLeft&&(this._scrollingContainer.scrollLeft=this.state.scrollLeft),this._scrollingContainer.scrollTop!==this.state.scrollTop&&(this._scrollingContainer.scrollTop=this.state.scrollTop));var p=o>0&&u>0;i>=0&&p&&this._updateScrollLeftForScrollToColumn(),a>=0&&p&&this._updateScrollTopForScrollToRow(),this._invokeOnGridRenderedHelper(),this._invokeOnScrollMemoizer({scrollLeft:r||0,scrollTop:l||0,totalColumnsWidth:s.columnSizeAndPositionManager.getTotalSize(),totalRowsHeight:s.rowSizeAndPositionManager.getTotalSize()}),this._maybeCallOnScrollbarPresenceChange()}},{key:"componentDidUpdate",value:function(e,t){var n=this,o=this.props,r=o.autoHeight,i=o.autoWidth,l=o.columnCount,a=o.height,u=o.rowCount,s=o.scrollToAlignment,c=o.scrollToColumn,p=o.scrollToRow,d=o.width,f=this.state,h=f.scrollLeft,v=f.scrollPositionChangeReason,m=f.scrollTop,g=f.instanceProps;this._handleInvalidatedGridSize();var y=l>0&&0===e.columnCount||u>0&&0===e.rowCount;v===T&&(!i&&h>=0&&(h!==this._scrollingContainer.scrollLeft||y)&&(this._scrollingContainer.scrollLeft=h),!r&&m>=0&&(m!==this._scrollingContainer.scrollTop||y)&&(this._scrollingContainer.scrollTop=m));var b=(0===e.width||0===e.height)&&a>0&&d>0;if(this._recomputeScrollLeftFlag?(this._recomputeScrollLeftFlag=!1,this._updateScrollLeftForScrollToColumn(this.props)):(0,S.default)({cellSizeAndPositionManager:g.columnSizeAndPositionManager,previousCellsCount:e.columnCount,previousCellSize:e.columnWidth,previousScrollToAlignment:e.scrollToAlignment,previousScrollToIndex:e.scrollToColumn,previousSize:e.width,scrollOffset:h,scrollToAlignment:s,scrollToIndex:c,size:d,sizeJustIncreasedFromZero:b,updateScrollIndexCallback:function(){return n._updateScrollLeftForScrollToColumn(n.props)}}),this._recomputeScrollTopFlag?(this._recomputeScrollTopFlag=!1,this._updateScrollTopForScrollToRow(this.props)):(0,S.default)({cellSizeAndPositionManager:g.rowSizeAndPositionManager,previousCellsCount:e.rowCount,previousCellSize:e.rowHeight,previousScrollToAlignment:e.scrollToAlignment,previousScrollToIndex:e.scrollToRow,previousSize:e.height,scrollOffset:m,scrollToAlignment:s,scrollToIndex:p,size:a,sizeJustIncreasedFromZero:b,updateScrollIndexCallback:function(){return n._updateScrollTopForScrollToRow(n.props)}}),this._invokeOnGridRenderedHelper(),h!==t.scrollLeft||m!==t.scrollTop){var _=g.rowSizeAndPositionManager.getTotalSize(),C=g.columnSizeAndPositionManager.getTotalSize();this._invokeOnScrollMemoizer({scrollLeft:h,scrollTop:m,totalColumnsWidth:C,totalRowsHeight:_})}this._maybeCallOnScrollbarPresenceChange()}},{key:"componentWillUnmount",value:function(){this._disablePointerEventsTimeoutId&&(0,O.cancelAnimationTimeout)(this._disablePointerEventsTimeoutId)}},{key:"render",value:function(){var e=this.props,t=e.autoContainerWidth,n=e.autoHeight,o=e.autoWidth,r=e.className,i=e.containerProps,l=e.containerRole,u=e.containerStyle,s=e.height,c=e.id,p=e.noContentRenderer,d=e.role,f=e.style,h=e.tabIndex,g=e.width,y=this.state,b=y.instanceProps,_=y.needToResetStyleCache,S=this._isScrolling(),C={boxSizing:"border-box",direction:"ltr",height:n?"auto":s,position:"relative",width:o?"auto":g,WebkitOverflowScrolling:"touch",willChange:"transform"};_&&(this._styleCache={}),this.state.isScrolling||this._resetStyleCache(),this._calculateChildrenToRender(this.props,this.state);var A=b.columnSizeAndPositionManager.getTotalSize(),E=b.rowSizeAndPositionManager.getTotalSize(),O=E>s?b.scrollbarSize:0,w=A>g?b.scrollbarSize:0;w===this._horizontalScrollBarSize&&O===this._verticalScrollBarSize||(this._horizontalScrollBarSize=w,this._verticalScrollBarSize=O,this._scrollbarPresenceChanged=!0),C.overflowX=A+O<=g?"hidden":"auto",C.overflowY=E+w<=s?"hidden":"auto";var T=this._childrenToDisplay,z=0===T.length&&s>0&&g>0;return v.createElement("div",(0,a.default)({ref:this._setScrollingContainerRef},i,{"aria-label":this.props["aria-label"],"aria-readonly":this.props["aria-readonly"],className:(0,m.default)("ReactVirtualized__Grid",r),id:c,onScroll:this._onScroll,role:d,style:x({},C,{},f),tabIndex:h}),T.length>0&&v.createElement("div",{className:"ReactVirtualized__Grid__innerScrollContainer",role:l,style:x({width:t?"auto":A,height:E,maxWidth:A,maxHeight:E,overflow:"hidden",pointerEvents:S?"none":"",position:"relative"},u)},T),z&&p())}},{key:"_calculateChildrenToRender",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state,n=e.cellRenderer,o=e.cellRangeRenderer,r=e.columnCount,i=e.deferredMeasurementCache,l=e.height,a=e.overscanColumnCount,u=e.overscanIndicesGetter,s=e.overscanRowCount,c=e.rowCount,p=e.width,d=e.isScrollingOptOut,f=t.scrollDirectionHorizontal,h=t.scrollDirectionVertical,v=t.instanceProps,m=this._initialScrollTop>0?this._initialScrollTop:t.scrollTop,g=this._initialScrollLeft>0?this._initialScrollLeft:t.scrollLeft,y=this._isScrolling(e,t);if(this._childrenToDisplay=[],l>0&&p>0){var b=v.columnSizeAndPositionManager.getVisibleCellRange({containerSize:p,offset:g}),_=v.rowSizeAndPositionManager.getVisibleCellRange({containerSize:l,offset:m}),S=v.columnSizeAndPositionManager.getOffsetAdjustment({containerSize:p,offset:g}),C=v.rowSizeAndPositionManager.getOffsetAdjustment({containerSize:l,offset:m});this._renderedColumnStartIndex=b.start,this._renderedColumnStopIndex=b.stop,this._renderedRowStartIndex=_.start,this._renderedRowStopIndex=_.stop;var A=u({direction:"horizontal",cellCount:r,overscanCellsCount:a,scrollDirection:f,startIndex:"number"==typeof b.start?b.start:0,stopIndex:"number"==typeof b.stop?b.stop:-1}),E=u({direction:"vertical",cellCount:c,overscanCellsCount:s,scrollDirection:h,startIndex:"number"==typeof _.start?_.start:0,stopIndex:"number"==typeof _.stop?_.stop:-1}),O=A.overscanStartIndex,w=A.overscanStopIndex,x=E.overscanStartIndex,T=E.overscanStopIndex;if(i){if(!i.hasFixedHeight())for(var z=x;z<=T;z++)if(!i.has(z,0)){O=0,w=r-1;break}if(!i.hasFixedWidth())for(var R=O;R<=w;R++)if(!i.has(0,R)){x=0,T=c-1;break}}this._childrenToDisplay=o({cellCache:this._cellCache,cellRenderer:n,columnSizeAndPositionManager:v.columnSizeAndPositionManager,columnStartIndex:O,columnStopIndex:w,deferredMeasurementCache:i,horizontalOffsetAdjustment:S,isScrolling:y,isScrollingOptOut:d,parent:this,rowSizeAndPositionManager:v.rowSizeAndPositionManager,rowStartIndex:x,rowStopIndex:T,scrollLeft:g,scrollTop:m,styleCache:this._styleCache,verticalOffsetAdjustment:C,visibleColumnIndices:b,visibleRowIndices:_}),this._columnStartIndex=O,this._columnStopIndex=w,this._rowStartIndex=x,this._rowStopIndex=T}}},{key:"_debounceScrollEnded",value:function(){var e=this.props.scrollingResetTimeInterval;this._disablePointerEventsTimeoutId&&(0,O.cancelAnimationTimeout)(this._disablePointerEventsTimeoutId),this._disablePointerEventsTimeoutId=(0,O.requestAnimationTimeout)(this._debounceScrollEndedCallback,e)}},{key:"_handleInvalidatedGridSize",value:function(){if("number"==typeof this._deferredInvalidateColumnIndex&&"number"==typeof this._deferredInvalidateRowIndex){var e=this._deferredInvalidateColumnIndex,t=this._deferredInvalidateRowIndex;this._deferredInvalidateColumnIndex=null,this._deferredInvalidateRowIndex=null,this.recomputeGridSize({columnIndex:e,rowIndex:t})}}},{key:"_invokeOnScrollMemoizer",value:function(e){var t=this,n=e.scrollLeft,o=e.scrollTop,r=e.totalColumnsWidth,i=e.totalRowsHeight;this._onScrollMemoizer({callback:function(e){var n=e.scrollLeft,o=e.scrollTop,l=t.props,a=l.height;(0,l.onScroll)({clientHeight:a,clientWidth:l.width,scrollHeight:i,scrollLeft:n,scrollTop:o,scrollWidth:r})},indices:{scrollLeft:n,scrollTop:o}})}},{key:"_isScrolling",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state;return Object.hasOwnProperty.call(e,"isScrolling")?Boolean(e.isScrolling):Boolean(t.isScrolling)}},{key:"_maybeCallOnScrollbarPresenceChange",value:function(){if(this._scrollbarPresenceChanged){var e=this.props.onScrollbarPresenceChange;this._scrollbarPresenceChanged=!1,e({horizontal:this._horizontalScrollBarSize>0,size:this.state.instanceProps.scrollbarSize,vertical:this._verticalScrollBarSize>0})}}},{key:"scrollToPosition",value:function(e){var n=e.scrollLeft,o=e.scrollTop,r=t._getScrollToPositionStateUpdate({prevState:this.state,scrollLeft:n,scrollTop:o});r&&(r.needToResetStyleCache=!1,this.setState(r))}},{key:"_getCalculatedScrollLeft",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state;return t._getCalculatedScrollLeft(e,n)}},{key:"_updateScrollLeftForScrollToColumn",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state,o=t._getScrollLeftForScrollToColumnStateUpdate(e,n);o&&(o.needToResetStyleCache=!1,this.setState(o))}},{key:"_getCalculatedScrollTop",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state;return t._getCalculatedScrollTop(e,n)}},{key:"_resetStyleCache",value:function(){var e=this._styleCache,t=this._cellCache,n=this.props.isScrollingOptOut;this._cellCache={},this._styleCache={};for(var o=this._rowStartIndex;o<=this._rowStopIndex;o++)for(var r=this._columnStartIndex;r<=this._columnStopIndex;r++){var i="".concat(o,"-").concat(r);this._styleCache[i]=e[i],n&&(this._cellCache[i]=t[i])}}},{key:"_updateScrollTopForScrollToRow",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state,o=t._getScrollTopForScrollToRowStateUpdate(e,n);o&&(o.needToResetStyleCache=!1,this.setState(o))}}],[{key:"getDerivedStateFromProps",value:function(e,n){var o={};0===e.columnCount&&0!==n.scrollLeft||0===e.rowCount&&0!==n.scrollTop?(o.scrollLeft=0,o.scrollTop=0):(e.scrollLeft!==n.scrollLeft&&e.scrollToColumn<0||e.scrollTop!==n.scrollTop&&e.scrollToRow<0)&&Object.assign(o,t._getScrollToPositionStateUpdate({prevState:n,scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}));var r,i,l=n.instanceProps;return o.needToResetStyleCache=!1,e.columnWidth===l.prevColumnWidth&&e.rowHeight===l.prevRowHeight||(o.needToResetStyleCache=!0),l.columnSizeAndPositionManager.configure({cellCount:e.columnCount,estimatedCellSize:t._getEstimatedColumnSize(e),cellSizeGetter:t._wrapSizeGetter(e.columnWidth)}),l.rowSizeAndPositionManager.configure({cellCount:e.rowCount,estimatedCellSize:t._getEstimatedRowSize(e),cellSizeGetter:t._wrapSizeGetter(e.rowHeight)}),0!==l.prevColumnCount&&0!==l.prevRowCount||(l.prevColumnCount=0,l.prevRowCount=0),e.autoHeight&&!1===e.isScrolling&&!0===l.prevIsScrolling&&Object.assign(o,{isScrolling:!1}),(0,g.default)({cellCount:l.prevColumnCount,cellSize:"number"==typeof l.prevColumnWidth?l.prevColumnWidth:null,computeMetadataCallback:function(){return l.columnSizeAndPositionManager.resetCell(0)},computeMetadataCallbackProps:e,nextCellsCount:e.columnCount,nextCellSize:"number"==typeof e.columnWidth?e.columnWidth:null,nextScrollToIndex:e.scrollToColumn,scrollToIndex:l.prevScrollToColumn,updateScrollOffsetForScrollToIndex:function(){r=t._getScrollLeftForScrollToColumnStateUpdate(e,n)}}),(0,g.default)({cellCount:l.prevRowCount,cellSize:"number"==typeof l.prevRowHeight?l.prevRowHeight:null,computeMetadataCallback:function(){return l.rowSizeAndPositionManager.resetCell(0)},computeMetadataCallbackProps:e,nextCellsCount:e.rowCount,nextCellSize:"number"==typeof e.rowHeight?e.rowHeight:null,nextScrollToIndex:e.scrollToRow,scrollToIndex:l.prevScrollToRow,updateScrollOffsetForScrollToIndex:function(){i=t._getScrollTopForScrollToRowStateUpdate(e,n)}}),l.prevColumnCount=e.columnCount,l.prevColumnWidth=e.columnWidth,l.prevIsScrolling=!0===e.isScrolling,l.prevRowCount=e.rowCount,l.prevRowHeight=e.rowHeight,l.prevScrollToColumn=e.scrollToColumn,l.prevScrollToRow=e.scrollToRow,l.scrollbarSize=e.getScrollbarSize(),void 0===l.scrollbarSize?(l.scrollbarSizeMeasured=!1,l.scrollbarSize=0):l.scrollbarSizeMeasured=!0,o.instanceProps=l,x({},o,{},r,{},i)}},{key:"_getEstimatedColumnSize",value:function(e){return"number"==typeof e.columnWidth?e.columnWidth:e.estimatedColumnSize}},{key:"_getEstimatedRowSize",value:function(e){return"number"==typeof e.rowHeight?e.rowHeight:e.estimatedRowSize}},{key:"_getScrollToPositionStateUpdate",value:function(e){var t=e.prevState,n=e.scrollLeft,o=e.scrollTop,r={scrollPositionChangeReason:T};return"number"==typeof n&&n>=0&&(r.scrollDirectionHorizontal=n>t.scrollLeft?_.SCROLL_DIRECTION_FORWARD:_.SCROLL_DIRECTION_BACKWARD,r.scrollLeft=n),"number"==typeof o&&o>=0&&(r.scrollDirectionVertical=o>t.scrollTop?_.SCROLL_DIRECTION_FORWARD:_.SCROLL_DIRECTION_BACKWARD,r.scrollTop=o),"number"==typeof n&&n>=0&&n!==t.scrollLeft||"number"==typeof o&&o>=0&&o!==t.scrollTop?r:{}}},{key:"_wrapSizeGetter",value:function(e){return"function"==typeof e?e:function(){return e}}},{key:"_getCalculatedScrollLeft",value:function(e,t){var n=e.columnCount,o=e.height,r=e.scrollToAlignment,i=e.scrollToColumn,l=e.width,a=t.scrollLeft,u=t.instanceProps;if(n>0){var s=n-1,c=i<0?s:Math.min(s,i),p=u.rowSizeAndPositionManager.getTotalSize(),d=u.scrollbarSizeMeasured&&p>o?u.scrollbarSize:0;return u.columnSizeAndPositionManager.getUpdatedOffsetForIndex({align:r,containerSize:l-d,currentOffset:a,targetIndex:c})}return 0}},{key:"_getScrollLeftForScrollToColumnStateUpdate",value:function(e,n){var o=n.scrollLeft,r=t._getCalculatedScrollLeft(e,n);return"number"==typeof r&&r>=0&&o!==r?t._getScrollToPositionStateUpdate({prevState:n,scrollLeft:r,scrollTop:-1}):{}}},{key:"_getCalculatedScrollTop",value:function(e,t){var n=e.height,o=e.rowCount,r=e.scrollToAlignment,i=e.scrollToRow,l=e.width,a=t.scrollTop,u=t.instanceProps;if(o>0){var s=o-1,c=i<0?s:Math.min(s,i),p=u.columnSizeAndPositionManager.getTotalSize(),d=u.scrollbarSizeMeasured&&p>l?u.scrollbarSize:0;return u.rowSizeAndPositionManager.getUpdatedOffsetForIndex({align:r,containerSize:n-d,currentOffset:a,targetIndex:c})}return 0}},{key:"_getScrollTopForScrollToRowStateUpdate",value:function(e,n){var o=n.scrollTop,r=t._getCalculatedScrollTop(e,n);return"number"==typeof r&&r>=0&&o!==r?t._getScrollToPositionStateUpdate({prevState:n,scrollLeft:-1,scrollTop:r}):{}}}]),t}(v.PureComponent),(0,h.default)(i,"propTypes",null),l);(0,h.default)(z,"defaultProps",{"aria-label":"grid","aria-readonly":!0,autoContainerWidth:!1,autoHeight:!1,autoWidth:!1,cellRangeRenderer:C.default,containerRole:"rowgroup",containerStyle:{},estimatedColumnSize:100,estimatedRowSize:30,getScrollbarSize:A.default,noContentRenderer:function(){return null},onScroll:function(){},onScrollbarPresenceChange:function(){},onSectionRendered:function(){},overscanColumnCount:0,overscanIndicesGetter:_.default,overscanRowCount:10,role:"grid",scrollingResetTimeInterval:150,scrollToAlignment:"auto",scrollToColumn:-1,scrollToRow:-1,style:{},tabIndex:0,isScrollingOptOut:!1}),(0,E.polyfill)(z);var R=z;t.default=R},76048:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},r=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),i=p(n(76120)),l=n(51609),a=p(l),u=p(n(92016)),s=p(n(80831)),c=p(n(6293));function p(e){return e&&e.__esModule?e:{default:e}}var d=function(e){function t(e,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var o=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));return o._renderMenu=o._renderMenu.bind(o),o._optionRenderer=o._optionRenderer.bind(o),o._setListRef=o._setListRef.bind(o),o._setSelectRef=o._setSelectRef.bind(o),o}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),r(t,[{key:"recomputeOptionHeights",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this._listRef&&this._listRef.recomputeRowHeights(e)}},{key:"focus",value:function(){if(this._selectRef)return this._selectRef.focus()}},{key:"render",value:function(){var e=this._getSelectComponent();return a.default.createElement(e,o({},this.props,{ref:this._setSelectRef,menuRenderer:this._renderMenu,menuStyle:{overflow:"hidden"}}))}},{key:"_renderMenu",value:function(e){var t=this,n=e.focusedOption,r=e.focusOption,i=e.labelKey,l=e.onSelect,u=e.options,p=(e.selectValue,e.valueArray),d=e.valueKey,f=this.props,h=f.listProps,v=f.optionRenderer,m=u.indexOf(n),g=this._calculateListHeight({options:u}),y=v||this._optionRenderer;function b(e){var t=e.index,o=e.key,a=e.style,s=u[t];return y({focusedOption:n,focusedOptionIndex:m,focusOption:r,key:o,labelKey:i,onSelect:l,option:s,optionIndex:t,options:u,selectValue:l,style:a,valueArray:p,valueKey:d})}return a.default.createElement(s.default,{disableHeight:!0},(function(e){var n=e.width;return a.default.createElement(c.default,o({className:"VirtualSelectGrid",height:g,ref:t._setListRef,rowCount:u.length,rowHeight:function(e){var n=e.index;return t._getOptionHeight({option:u[n]})},rowRenderer:b,scrollToIndex:m,width:n},h))}))}},{key:"_calculateListHeight",value:function(e){for(var t=e.options,n=this.props.maxHeight,o=0,r=0;r<t.length;r++){var i=t[r];if((o+=this._getOptionHeight({option:i}))>n)return n}return o}},{key:"_getOptionHeight",value:function(e){var t=e.option,n=this.props.optionHeight;return n instanceof Function?n({option:t}):n}},{key:"_getSelectComponent",value:function(){var e=this.props,t=e.async;return e.selectComponent||(t?u.default.Async:u.default)}},{key:"_optionRenderer",value:function(e){var t=e.focusedOption,n=e.focusOption,r=e.key,i=e.labelKey,l=e.option,u=e.selectValue,s=e.style,c=e.valueArray,p=["VirtualizedSelectOption"];l===t&&p.push("VirtualizedSelectFocusedOption"),l.disabled&&p.push("VirtualizedSelectDisabledOption"),c&&c.indexOf(l)>=0&&p.push("VirtualizedSelectSelectedOption"),l.className&&p.push(l.className);var d=l.disabled?{}:{onClick:function(){return u(l)},onMouseEnter:function(){return n(l)}};return a.default.createElement("div",o({className:p.join(" "),key:r,style:s,title:l.title},d),l[i])}},{key:"_setListRef",value:function(e){this._listRef=e}},{key:"_setSelectRef",value:function(e){this._selectRef=e}}]),t}(l.Component);d.propTypes={async:i.default.bool,listProps:i.default.object,maxHeight:i.default.number,optionHeight:i.default.oneOfType([i.default.number,i.default.func]),optionRenderer:i.default.func,selectComponent:i.default.func},d.defaultProps={async:!1,maxHeight:200,optionHeight:35},t.default=d},76113:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TokenHighlighter=void 0;var o=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),r=n(7403),i=n(46981);t.TokenHighlighter=function(){function e(t,n,o){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._indexStrategy=t||new r.PrefixIndexStrategy,this._sanitizer=n||new i.LowerCaseSanitizer,this._wrapperTagName=o||"mark"}return o(e,[{key:"highlight",value:function(e,t){for(var n=this._wrapText("").length,o=Object.create(null),r=0,i=t.length;r<i;r++)for(var l=this._sanitizer.sanitize(t[r]),a=this._indexStrategy.expandToken(l),u=0,s=a.length;u<s;u++){var c=a[u];o[c]?o[c].push(l):o[c]=[l]}for(var p="",d="",f=0,h=(r=0,e.length);r<h;r++){var v=e.charAt(r);" "===v?(p="",d="",f=r+1):(p+=v,d+=this._sanitizer.sanitize(v)),o[d]&&o[d].indexOf(d)>=0&&(p=this._wrapText(p),e=e.substring(0,f)+p+e.substring(r+1),r+=n,h+=n)}return e}},{key:"_wrapText",value:function(e){var t=this._wrapperTagName;return"<"+t+">"+e+"</"+t+">"}}]),e}()},76982:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}();t.PrefixIndexStrategy=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}return n(e,[{key:"expandToken",value:function(e){for(var t=[],n="",o=0,r=e.length;o<r;++o)n+=e.charAt(o),t.push(n);return t}}]),e}()},78658:function(e,t,n){"use strict";t.A=function(e){var t=e.indexes,n=e.indexStrategy,r=e.labelKey,i=void 0===r?"label":r,l=e.options,a=void 0===l?[]:l,u=e.sanitizer,s=e.searchIndex,c=e.tokenizer,p=e.valueKey,d=void 0===p?"value":p,f=new o.Search(d);return f.searchIndex=s||new o.UnorderedSearchIndex,f.indexStrategy=n||new o.AllSubstringsIndexStrategy,u&&(f.sanitizer=u),c&&(f.tokenizer=c),t?t.forEach((function(e){f.addIndex(e)})):f.addIndex(i),f.addDocuments(a),function(e,t,n){var o=t?f.search(t):e;if(Array.isArray(n)&&n.length){var r=n.map((function(e){return e[d]}));return o.filter((function(e){return!r.includes(e[d])}))}return o}};var o=n(41001)},79080:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getMaxElementSize=void 0,t.getMaxElementSize=function(){return"undefined"!=typeof window&&window.chrome?16777100:15e5}},79132:function(e,t,n){"use strict";var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},r=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),i=n(51609),l=u(i),a=u(n(76120));function u(e){return e&&e.__esModule?e:{default:e}}var s={position:"absolute",top:0,left:0,visibility:"hidden",height:0,overflow:"scroll",whiteSpace:"pre"},c=["extraWidth","injectStyles","inputClassName","inputRef","inputStyle","minWidth","onAutosize","placeholderIsMinWidth"],p=function(e,t){t.style.fontSize=e.fontSize,t.style.fontFamily=e.fontFamily,t.style.fontWeight=e.fontWeight,t.style.fontStyle=e.fontStyle,t.style.letterSpacing=e.letterSpacing,t.style.textTransform=e.textTransform},d=!("undefined"==typeof window||!window.navigator)&&/MSIE |Trident\/|Edge\//.test(window.navigator.userAgent),f=function(){return d?"_"+Math.random().toString(36).substr(2,12):void 0},h=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.inputRef=function(e){n.input=e,"function"==typeof n.props.inputRef&&n.props.inputRef(e)},n.placeHolderSizerRef=function(e){n.placeHolderSizer=e},n.sizerRef=function(e){n.sizer=e},n.state={inputWidth:e.minWidth,inputId:e.id||f()},n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),r(t,[{key:"componentDidMount",value:function(){this.mounted=!0,this.copyInputStyles(),this.updateInputWidth()}},{key:"UNSAFE_componentWillReceiveProps",value:function(e){var t=e.id;t!==this.props.id&&this.setState({inputId:t||f()})}},{key:"componentDidUpdate",value:function(e,t){t.inputWidth!==this.state.inputWidth&&"function"==typeof this.props.onAutosize&&this.props.onAutosize(this.state.inputWidth),this.updateInputWidth()}},{key:"componentWillUnmount",value:function(){this.mounted=!1}},{key:"copyInputStyles",value:function(){if(this.mounted&&window.getComputedStyle){var e=this.input&&window.getComputedStyle(this.input);e&&(p(e,this.sizer),this.placeHolderSizer&&p(e,this.placeHolderSizer))}}},{key:"updateInputWidth",value:function(){if(this.mounted&&this.sizer&&void 0!==this.sizer.scrollWidth){var e=void 0;e=this.props.placeholder&&(!this.props.value||this.props.value&&this.props.placeholderIsMinWidth)?Math.max(this.sizer.scrollWidth,this.placeHolderSizer.scrollWidth)+2:this.sizer.scrollWidth+2,(e+="number"===this.props.type&&void 0===this.props.extraWidth?16:parseInt(this.props.extraWidth)||0)<this.props.minWidth&&(e=this.props.minWidth),e!==this.state.inputWidth&&this.setState({inputWidth:e})}}},{key:"getInput",value:function(){return this.input}},{key:"focus",value:function(){this.input.focus()}},{key:"blur",value:function(){this.input.blur()}},{key:"select",value:function(){this.input.select()}},{key:"renderStyles",value:function(){var e=this.props.injectStyles;return d&&e?l.default.createElement("style",{dangerouslySetInnerHTML:{__html:"input#"+this.state.inputId+"::-ms-clear {display: none;}"}}):null}},{key:"render",value:function(){var e=[this.props.defaultValue,this.props.value,""].reduce((function(e,t){return null!=e?e:t})),t=o({},this.props.style);t.display||(t.display="inline-block");var n=o({boxSizing:"content-box",width:this.state.inputWidth+"px"},this.props.inputStyle),r=function(e,t){var n={};for(var o in e)t.indexOf(o)>=0||Object.prototype.hasOwnProperty.call(e,o)&&(n[o]=e[o]);return n}(this.props,[]);return function(e){c.forEach((function(t){return delete e[t]}))}(r),r.className=this.props.inputClassName,r.id=this.state.inputId,r.style=n,l.default.createElement("div",{className:this.props.className,style:t},this.renderStyles(),l.default.createElement("input",o({},r,{ref:this.inputRef})),l.default.createElement("div",{ref:this.sizerRef,style:s},e),this.props.placeholder?l.default.createElement("div",{ref:this.placeHolderSizerRef,style:s},this.props.placeholder):null)}}]),t}(i.Component);h.propTypes={className:a.default.string,defaultValue:a.default.any,extraWidth:a.default.oneOfType([a.default.number,a.default.string]),id:a.default.string,injectStyles:a.default.bool,inputClassName:a.default.string,inputRef:a.default.func,inputStyle:a.default.object,minWidth:a.default.oneOfType([a.default.number,a.default.string]),onAutosize:a.default.func,onChange:a.default.func,placeholder:a.default.string,placeholderIsMinWidth:a.default.bool,style:a.default.object,value:a.default.any},h.defaultProps={minWidth:1,injectStyles:!0},t.A=h},80669:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return i}});var o,r=!("undefined"==typeof window||!window.document||!window.document.createElement);function i(e){if((!o&&0!==o||e)&&r){var t=document.createElement("div");t.style.position="absolute",t.style.top="-9999px",t.style.width="50px",t.style.height="50px",t.style.overflow="scroll",document.body.appendChild(t),o=t.offsetWidth-t.clientWidth,document.body.removeChild(t)}return o}},80770:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(92165);Object.defineProperty(t,"TfIdfSearchIndex",{enumerable:!0,get:function(){return o.TfIdfSearchIndex}});var r=n(10732);Object.defineProperty(t,"UnorderedSearchIndex",{enumerable:!0,get:function(){return r.UnorderedSearchIndex}})},80831:function(e,t,n){"use strict";var o=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r.default}}),Object.defineProperty(t,"AutoSizer",{enumerable:!0,get:function(){return r.default}});var r=o(n(88295))},86846:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var o,r,i,l=void 0!==(o=void 0!==t?t:"undefined"!=typeof window?window:"undefined"!=typeof self?self:n.g).document&&o.document.attachEvent;if(!l){var a=(i=o.requestAnimationFrame||o.mozRequestAnimationFrame||o.webkitRequestAnimationFrame||function(e){return o.setTimeout(e,20)},function(e){return i(e)}),u=(r=o.cancelAnimationFrame||o.mozCancelAnimationFrame||o.webkitCancelAnimationFrame||o.clearTimeout,function(e){return r(e)}),s=function(e){var t=e.__resizeTriggers__,n=t.firstElementChild,o=t.lastElementChild,r=n.firstElementChild;o.scrollLeft=o.scrollWidth,o.scrollTop=o.scrollHeight,r.style.width=n.offsetWidth+1+"px",r.style.height=n.offsetHeight+1+"px",n.scrollLeft=n.scrollWidth,n.scrollTop=n.scrollHeight},c=function(e){if(!(e.target.className&&"function"==typeof e.target.className.indexOf&&e.target.className.indexOf("contract-trigger")<0&&e.target.className.indexOf("expand-trigger")<0)){var t=this;s(this),this.__resizeRAF__&&u(this.__resizeRAF__),this.__resizeRAF__=a((function(){(function(e){return e.offsetWidth!=e.__resizeLast__.width||e.offsetHeight!=e.__resizeLast__.height})(t)&&(t.__resizeLast__.width=t.offsetWidth,t.__resizeLast__.height=t.offsetHeight,t.__resizeListeners__.forEach((function(n){n.call(t,e)})))}))}},p=!1,d="",f="animationstart",h="Webkit Moz O ms".split(" "),v="webkitAnimationStart animationstart oAnimationStart MSAnimationStart".split(" "),m=o.document.createElement("fakeelement");if(void 0!==m.style.animationName&&(p=!0),!1===p)for(var g=0;g<h.length;g++)if(void 0!==m.style[h[g]+"AnimationName"]){d="-"+h[g].toLowerCase()+"-",f=v[g],p=!0;break}var y="resizeanim",b="@"+d+"keyframes "+y+" { from { opacity: 0; } to { opacity: 0; } } ",_=d+"animation: 1ms "+y+"; "}return{addResizeListener:function(t,n){if(l)t.attachEvent("onresize",n);else{if(!t.__resizeTriggers__){var r=t.ownerDocument,i=o.getComputedStyle(t);i&&"static"==i.position&&(t.style.position="relative"),function(t){if(!t.getElementById("detectElementResize")){var n=(b||"")+".resize-triggers { "+(_||"")+'visibility: hidden; opacity: 0; } .resize-triggers, .resize-triggers > div, .contract-trigger:before { content: " "; display: block; position: absolute; top: 0; left: 0; height: 100%; width: 100%; overflow: hidden; z-index: -1; } .resize-triggers > div { background: #eee; overflow: auto; } .contract-trigger:before { width: 200%; height: 200%; }',o=t.head||t.getElementsByTagName("head")[0],r=t.createElement("style");r.id="detectElementResize",r.type="text/css",null!=e&&r.setAttribute("nonce",e),r.styleSheet?r.styleSheet.cssText=n:r.appendChild(t.createTextNode(n)),o.appendChild(r)}}(r),t.__resizeLast__={},t.__resizeListeners__=[],(t.__resizeTriggers__=r.createElement("div")).className="resize-triggers";var a='<div class="expand-trigger"><div></div></div><div class="contract-trigger"></div>';if(window.trustedTypes){var u=trustedTypes.createPolicy("react-virtualized-auto-sizer",{createHTML:function(){return a}});t.__resizeTriggers__.innerHTML=u.createHTML("")}else t.__resizeTriggers__.innerHTML=a;t.appendChild(t.__resizeTriggers__),s(t),t.addEventListener("scroll",c,!0),f&&(t.__resizeTriggers__.__animationListener__=function(e){e.animationName==y&&s(t)},t.__resizeTriggers__.addEventListener(f,t.__resizeTriggers__.__animationListener__))}t.__resizeListeners__.push(n)}},removeResizeListener:function(e,t){if(l)e.detachEvent("onresize",t);else if(e.__resizeListeners__.splice(e.__resizeListeners__.indexOf(t),1),!e.__resizeListeners__.length){e.removeEventListener("scroll",c,!0),e.__resizeTriggers__.__animationListener__&&(e.__resizeTriggers__.removeEventListener(f,e.__resizeTriggers__.__animationListener__),e.__resizeTriggers__.__animationListener__=null);try{e.__resizeTriggers__=!e.removeChild(e.__resizeTriggers__)}catch(e){}}}}}},86850:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}();t.CaseSensitiveSanitizer=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}return n(e,[{key:"sanitize",value:function(e){return e?e.trim():""}}]),e}()},88194:function(e,t,n){"use strict";var o=n(71354),r=n.n(o),i=n(76314),l=n.n(i)()(r());l.push([e.id,".VirtualSelectGrid {\n z-index: 1;\n}\n\n.VirtualizedSelectOption {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n padding: 0 .5rem;\n cursor: pointer;\n}\n.VirtualizedSelectFocusedOption {\n background-color: rgba(0, 126, 255, 0.1);\n}\n.VirtualizedSelectDisabledOption {\n opacity: 0.5;\n}\n.VirtualizedSelectSelectedOption {\n font-weight: bold;\n}\n","",{version:3,sources:["webpack://./node_modules/react-virtualized-select/styles.css"],names:[],mappings:"AAAA;EACE,UAAU;AACZ;;AAEA;EACE,oBAAoB;EACpB,oBAAoB;EACpB,aAAa;EACb,yBAAyB;MACrB,sBAAsB;UAClB,mBAAmB;EAC3B,gBAAgB;EAChB,eAAe;AACjB;AACA;EACE,wCAAwC;AAC1C;AACA;EACE,YAAY;AACd;AACA;EACE,iBAAiB;AACnB",sourcesContent:[".VirtualSelectGrid {\n z-index: 1;\n}\n\n.VirtualizedSelectOption {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n padding: 0 .5rem;\n cursor: pointer;\n}\n.VirtualizedSelectFocusedOption {\n background-color: rgba(0, 126, 255, 0.1);\n}\n.VirtualizedSelectDisabledOption {\n opacity: 0.5;\n}\n.VirtualizedSelectSelectedOption {\n font-weight: bold;\n}\n"],sourceRoot:""}]),t.A=l},88295:function(e,t,n){"use strict";var o=n(24994),r=n(6305);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i,l,a=o(n(17383)),u=o(n(34579)),s=o(n(28452)),c=o(n(63072)),p=o(n(12475)),d=o(n(29511)),f=o(n(43693)),h=r(n(51609)),v=o(n(86846));function m(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function g(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?m(n,!0).forEach((function(t){(0,f.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):m(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}o(n(76120));var y=(l=i=function(e){function t(){var e,n;(0,a.default)(this,t);for(var o=arguments.length,r=new Array(o),i=0;i<o;i++)r[i]=arguments[i];return n=(0,s.default)(this,(e=(0,c.default)(t)).call.apply(e,[this].concat(r))),(0,f.default)((0,p.default)(n),"state",{height:n.props.defaultHeight||0,width:n.props.defaultWidth||0}),(0,f.default)((0,p.default)(n),"_parentNode",void 0),(0,f.default)((0,p.default)(n),"_autoSizer",void 0),(0,f.default)((0,p.default)(n),"_window",void 0),(0,f.default)((0,p.default)(n),"_detectElementResize",void 0),(0,f.default)((0,p.default)(n),"_onResize",(function(){var e=n.props,t=e.disableHeight,o=e.disableWidth,r=e.onResize;if(n._parentNode){var i=n._parentNode.offsetHeight||0,l=n._parentNode.offsetWidth||0,a=(n._window||window).getComputedStyle(n._parentNode)||{},u=parseInt(a.paddingLeft,10)||0,s=parseInt(a.paddingRight,10)||0,c=parseInt(a.paddingTop,10)||0,p=parseInt(a.paddingBottom,10)||0,d=i-c-p,f=l-u-s;(!t&&n.state.height!==d||!o&&n.state.width!==f)&&(n.setState({height:i-c-p,width:l-u-s}),r({height:i,width:l}))}})),(0,f.default)((0,p.default)(n),"_setRef",(function(e){n._autoSizer=e})),n}return(0,d.default)(t,e),(0,u.default)(t,[{key:"componentDidMount",value:function(){var e=this.props.nonce;this._autoSizer&&this._autoSizer.parentNode&&this._autoSizer.parentNode.ownerDocument&&this._autoSizer.parentNode.ownerDocument.defaultView&&this._autoSizer.parentNode instanceof this._autoSizer.parentNode.ownerDocument.defaultView.HTMLElement&&(this._parentNode=this._autoSizer.parentNode,this._window=this._autoSizer.parentNode.ownerDocument.defaultView,this._detectElementResize=(0,v.default)(e,this._window),this._detectElementResize.addResizeListener(this._parentNode,this._onResize),this._onResize())}},{key:"componentWillUnmount",value:function(){this._detectElementResize&&this._parentNode&&this._detectElementResize.removeResizeListener(this._parentNode,this._onResize)}},{key:"render",value:function(){var e=this.props,t=e.children,n=e.className,o=e.disableHeight,r=e.disableWidth,i=e.style,l=this.state,a=l.height,u=l.width,s={overflow:"visible"},c={};return o||(s.height=0,c.height=a),r||(s.width=0,c.width=u),h.createElement("div",{className:n,ref:this._setRef,style:g({},s,{},i)},t(c))}}]),t}(h.Component),(0,f.default)(i,"propTypes",null),l);t.default=y,(0,f.default)(y,"defaultProps",{onResize:function(){},disableHeight:!1,disableWidth:!1,style:{}})},91491:function(e,t,n){"use strict";var o=n(71354),r=n.n(o),i=n(76314),l=n.n(i)()(r());l.push([e.id,"/* Collection default theme */\n\n.ReactVirtualized__Collection {\n}\n\n.ReactVirtualized__Collection__innerScrollContainer {\n}\n\n/* Grid default theme */\n\n.ReactVirtualized__Grid {\n}\n\n.ReactVirtualized__Grid__innerScrollContainer {\n}\n\n/* Table default theme */\n\n.ReactVirtualized__Table {\n}\n\n.ReactVirtualized__Table__Grid {\n}\n\n.ReactVirtualized__Table__headerRow {\n font-weight: 700;\n text-transform: uppercase;\n display: -webkit-flex;\n display: -moz-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-flex-direction: row;\n -moz-box-orient: horizontal;\n -moz-box-direction: normal;\n -ms-flex-direction: row;\n flex-direction: row;\n -webkit-align-items: center;\n -moz-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n}\n.ReactVirtualized__Table__row {\n display: -webkit-flex;\n display: -moz-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-flex-direction: row;\n -moz-box-orient: horizontal;\n -moz-box-direction: normal;\n -ms-flex-direction: row;\n flex-direction: row;\n -webkit-align-items: center;\n -moz-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n}\n\n.ReactVirtualized__Table__headerTruncatedText {\n display: inline-block;\n max-width: 100%;\n white-space: nowrap;\n text-overflow: ellipsis;\n overflow: hidden;\n}\n\n.ReactVirtualized__Table__headerColumn,\n.ReactVirtualized__Table__rowColumn {\n margin-right: 10px;\n min-width: 0px;\n}\n.ReactVirtualized__Table__rowColumn {\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n.ReactVirtualized__Table__headerColumn:first-of-type,\n.ReactVirtualized__Table__rowColumn:first-of-type {\n margin-left: 10px;\n}\n.ReactVirtualized__Table__sortableHeaderColumn {\n cursor: pointer;\n}\n\n.ReactVirtualized__Table__sortableHeaderIconContainer {\n display: -webkit-flex;\n display: -moz-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-align-items: center;\n -moz-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n}\n.ReactVirtualized__Table__sortableHeaderIcon {\n -webkit-flex: 0 0 24px;\n -moz-box-flex: 0;\n -ms-flex: 0 0 24px;\n flex: 0 0 24px;\n height: 1em;\n width: 1em;\n fill: currentColor;\n}\n\n/* List default theme */\n\n.ReactVirtualized__List {\n}\n","",{version:3,sources:["webpack://./src/components/css/react-virtualized@9.9.0.css"],names:[],mappings:"AAAA,6BAA6B;;AAE7B;AACA;;AAEA;AACA;;AAEA,uBAAuB;;AAEvB;AACA;;AAEA;AACA;;AAEA,wBAAwB;;AAExB;AACA;;AAEA;AACA;;AAEA;EACE,gBAAgB;EAChB,yBAAyB;EACzB,qBAAqB;EACrB,iBAAiB;EACjB,oBAAoB;EACpB,aAAa;EACb,2BAA2B;KACxB,2BAA2B;KAC3B,0BAA0B;MACzB,uBAAuB;UACnB,mBAAmB;EAC3B,2BAA2B;KACxB,sBAAsB;MACrB,sBAAsB;UAClB,mBAAmB;AAC7B;AACA;EACE,qBAAqB;EACrB,iBAAiB;EACjB,oBAAoB;EACpB,aAAa;EACb,2BAA2B;KACxB,2BAA2B;KAC3B,0BAA0B;MACzB,uBAAuB;UACnB,mBAAmB;EAC3B,2BAA2B;KACxB,sBAAsB;MACrB,sBAAsB;UAClB,mBAAmB;AAC7B;;AAEA;EACE,qBAAqB;EACrB,eAAe;EACf,mBAAmB;EACnB,uBAAuB;EACvB,gBAAgB;AAClB;;AAEA;;EAEE,kBAAkB;EAClB,cAAc;AAChB;AACA;EACE,uBAAuB;EACvB,mBAAmB;AACrB;;AAEA;;EAEE,iBAAiB;AACnB;AACA;EACE,eAAe;AACjB;;AAEA;EACE,qBAAqB;EACrB,iBAAiB;EACjB,oBAAoB;EACpB,aAAa;EACb,2BAA2B;KACxB,sBAAsB;MACrB,sBAAsB;UAClB,mBAAmB;AAC7B;AACA;EACE,sBAAsB;KACnB,gBAAgB;MACf,kBAAkB;UACd,cAAc;EACtB,WAAW;EACX,UAAU;EACV,kBAAkB;AACpB;;AAEA,uBAAuB;;AAEvB;AACA",sourcesContent:["/* Collection default theme */\n\n.ReactVirtualized__Collection {\n}\n\n.ReactVirtualized__Collection__innerScrollContainer {\n}\n\n/* Grid default theme */\n\n.ReactVirtualized__Grid {\n}\n\n.ReactVirtualized__Grid__innerScrollContainer {\n}\n\n/* Table default theme */\n\n.ReactVirtualized__Table {\n}\n\n.ReactVirtualized__Table__Grid {\n}\n\n.ReactVirtualized__Table__headerRow {\n font-weight: 700;\n text-transform: uppercase;\n display: -webkit-flex;\n display: -moz-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-flex-direction: row;\n -moz-box-orient: horizontal;\n -moz-box-direction: normal;\n -ms-flex-direction: row;\n flex-direction: row;\n -webkit-align-items: center;\n -moz-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n}\n.ReactVirtualized__Table__row {\n display: -webkit-flex;\n display: -moz-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-flex-direction: row;\n -moz-box-orient: horizontal;\n -moz-box-direction: normal;\n -ms-flex-direction: row;\n flex-direction: row;\n -webkit-align-items: center;\n -moz-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n}\n\n.ReactVirtualized__Table__headerTruncatedText {\n display: inline-block;\n max-width: 100%;\n white-space: nowrap;\n text-overflow: ellipsis;\n overflow: hidden;\n}\n\n.ReactVirtualized__Table__headerColumn,\n.ReactVirtualized__Table__rowColumn {\n margin-right: 10px;\n min-width: 0px;\n}\n.ReactVirtualized__Table__rowColumn {\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n.ReactVirtualized__Table__headerColumn:first-of-type,\n.ReactVirtualized__Table__rowColumn:first-of-type {\n margin-left: 10px;\n}\n.ReactVirtualized__Table__sortableHeaderColumn {\n cursor: pointer;\n}\n\n.ReactVirtualized__Table__sortableHeaderIconContainer {\n display: -webkit-flex;\n display: -moz-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-align-items: center;\n -moz-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n}\n.ReactVirtualized__Table__sortableHeaderIcon {\n -webkit-flex: 0 0 24px;\n -moz-box-flex: 0;\n -ms-flex: 0 0 24px;\n flex: 0 0 24px;\n height: 1em;\n width: 1em;\n fill: currentColor;\n}\n\n/* List default theme */\n\n.ReactVirtualized__List {\n}\n"],sourceRoot:""}]),t.A=l},91651:function(e,t,n){"use strict";t.A=void 0;var o,r=(o=n(52197))&&o.__esModule?o:{default:o};t.A=r.default},92016:function(e,t,n){"use strict";n.r(t),n.d(t,{Async:function(){return V},AsyncCreatable:function(){return $},Creatable:function(){return N},Option:function(){return T},Value:function(){return z},defaultArrowRenderer:function(){return d},defaultClearRenderer:function(){return f},defaultFilterOptions:function(){return g},defaultMenuRenderer:function(){return y}});var o=n(79132),r=n(46942),i=n.n(r),l=n(76120),a=n.n(l),u=n(51609),s=n.n(u),c=n(81824),p=n(96763),d=function(e){var t=e.onMouseDown;return s().createElement("span",{className:"Select-arrow",onMouseDown:t})};d.propTypes={onMouseDown:a().func};var f=function(){return s().createElement("span",{className:"Select-clear",dangerouslySetInnerHTML:{__html:"&times;"}})},h=[{base:"A",letters:/[\u0041\u24B6\uFF21\u00C0\u00C1\u00C2\u1EA6\u1EA4\u1EAA\u1EA8\u00C3\u0100\u0102\u1EB0\u1EAE\u1EB4\u1EB2\u0226\u01E0\u00C4\u01DE\u1EA2\u00C5\u01FA\u01CD\u0200\u0202\u1EA0\u1EAC\u1EB6\u1E00\u0104\u023A\u2C6F]/g},{base:"AA",letters:/[\uA732]/g},{base:"AE",letters:/[\u00C6\u01FC\u01E2]/g},{base:"AO",letters:/[\uA734]/g},{base:"AU",letters:/[\uA736]/g},{base:"AV",letters:/[\uA738\uA73A]/g},{base:"AY",letters:/[\uA73C]/g},{base:"B",letters:/[\u0042\u24B7\uFF22\u1E02\u1E04\u1E06\u0243\u0182\u0181]/g},{base:"C",letters:/[\u0043\u24B8\uFF23\u0106\u0108\u010A\u010C\u00C7\u1E08\u0187\u023B\uA73E]/g},{base:"D",letters:/[\u0044\u24B9\uFF24\u1E0A\u010E\u1E0C\u1E10\u1E12\u1E0E\u0110\u018B\u018A\u0189\uA779]/g},{base:"DZ",letters:/[\u01F1\u01C4]/g},{base:"Dz",letters:/[\u01F2\u01C5]/g},{base:"E",letters:/[\u0045\u24BA\uFF25\u00C8\u00C9\u00CA\u1EC0\u1EBE\u1EC4\u1EC2\u1EBC\u0112\u1E14\u1E16\u0114\u0116\u00CB\u1EBA\u011A\u0204\u0206\u1EB8\u1EC6\u0228\u1E1C\u0118\u1E18\u1E1A\u0190\u018E]/g},{base:"F",letters:/[\u0046\u24BB\uFF26\u1E1E\u0191\uA77B]/g},{base:"G",letters:/[\u0047\u24BC\uFF27\u01F4\u011C\u1E20\u011E\u0120\u01E6\u0122\u01E4\u0193\uA7A0\uA77D\uA77E]/g},{base:"H",letters:/[\u0048\u24BD\uFF28\u0124\u1E22\u1E26\u021E\u1E24\u1E28\u1E2A\u0126\u2C67\u2C75\uA78D]/g},{base:"I",letters:/[\u0049\u24BE\uFF29\u00CC\u00CD\u00CE\u0128\u012A\u012C\u0130\u00CF\u1E2E\u1EC8\u01CF\u0208\u020A\u1ECA\u012E\u1E2C\u0197]/g},{base:"J",letters:/[\u004A\u24BF\uFF2A\u0134\u0248]/g},{base:"K",letters:/[\u004B\u24C0\uFF2B\u1E30\u01E8\u1E32\u0136\u1E34\u0198\u2C69\uA740\uA742\uA744\uA7A2]/g},{base:"L",letters:/[\u004C\u24C1\uFF2C\u013F\u0139\u013D\u1E36\u1E38\u013B\u1E3C\u1E3A\u0141\u023D\u2C62\u2C60\uA748\uA746\uA780]/g},{base:"LJ",letters:/[\u01C7]/g},{base:"Lj",letters:/[\u01C8]/g},{base:"M",letters:/[\u004D\u24C2\uFF2D\u1E3E\u1E40\u1E42\u2C6E\u019C]/g},{base:"N",letters:/[\u004E\u24C3\uFF2E\u01F8\u0143\u00D1\u1E44\u0147\u1E46\u0145\u1E4A\u1E48\u0220\u019D\uA790\uA7A4]/g},{base:"NJ",letters:/[\u01CA]/g},{base:"Nj",letters:/[\u01CB]/g},{base:"O",letters:/[\u004F\u24C4\uFF2F\u00D2\u00D3\u00D4\u1ED2\u1ED0\u1ED6\u1ED4\u00D5\u1E4C\u022C\u1E4E\u014C\u1E50\u1E52\u014E\u022E\u0230\u00D6\u022A\u1ECE\u0150\u01D1\u020C\u020E\u01A0\u1EDC\u1EDA\u1EE0\u1EDE\u1EE2\u1ECC\u1ED8\u01EA\u01EC\u00D8\u01FE\u0186\u019F\uA74A\uA74C]/g},{base:"OI",letters:/[\u01A2]/g},{base:"OO",letters:/[\uA74E]/g},{base:"OU",letters:/[\u0222]/g},{base:"P",letters:/[\u0050\u24C5\uFF30\u1E54\u1E56\u01A4\u2C63\uA750\uA752\uA754]/g},{base:"Q",letters:/[\u0051\u24C6\uFF31\uA756\uA758\u024A]/g},{base:"R",letters:/[\u0052\u24C7\uFF32\u0154\u1E58\u0158\u0210\u0212\u1E5A\u1E5C\u0156\u1E5E\u024C\u2C64\uA75A\uA7A6\uA782]/g},{base:"S",letters:/[\u0053\u24C8\uFF33\u1E9E\u015A\u1E64\u015C\u1E60\u0160\u1E66\u1E62\u1E68\u0218\u015E\u2C7E\uA7A8\uA784]/g},{base:"T",letters:/[\u0054\u24C9\uFF34\u1E6A\u0164\u1E6C\u021A\u0162\u1E70\u1E6E\u0166\u01AC\u01AE\u023E\uA786]/g},{base:"TZ",letters:/[\uA728]/g},{base:"U",letters:/[\u0055\u24CA\uFF35\u00D9\u00DA\u00DB\u0168\u1E78\u016A\u1E7A\u016C\u00DC\u01DB\u01D7\u01D5\u01D9\u1EE6\u016E\u0170\u01D3\u0214\u0216\u01AF\u1EEA\u1EE8\u1EEE\u1EEC\u1EF0\u1EE4\u1E72\u0172\u1E76\u1E74\u0244]/g},{base:"V",letters:/[\u0056\u24CB\uFF36\u1E7C\u1E7E\u01B2\uA75E\u0245]/g},{base:"VY",letters:/[\uA760]/g},{base:"W",letters:/[\u0057\u24CC\uFF37\u1E80\u1E82\u0174\u1E86\u1E84\u1E88\u2C72]/g},{base:"X",letters:/[\u0058\u24CD\uFF38\u1E8A\u1E8C]/g},{base:"Y",letters:/[\u0059\u24CE\uFF39\u1EF2\u00DD\u0176\u1EF8\u0232\u1E8E\u0178\u1EF6\u1EF4\u01B3\u024E\u1EFE]/g},{base:"Z",letters:/[\u005A\u24CF\uFF3A\u0179\u1E90\u017B\u017D\u1E92\u1E94\u01B5\u0224\u2C7F\u2C6B\uA762]/g},{base:"a",letters:/[\u0061\u24D0\uFF41\u1E9A\u00E0\u00E1\u00E2\u1EA7\u1EA5\u1EAB\u1EA9\u00E3\u0101\u0103\u1EB1\u1EAF\u1EB5\u1EB3\u0227\u01E1\u00E4\u01DF\u1EA3\u00E5\u01FB\u01CE\u0201\u0203\u1EA1\u1EAD\u1EB7\u1E01\u0105\u2C65\u0250]/g},{base:"aa",letters:/[\uA733]/g},{base:"ae",letters:/[\u00E6\u01FD\u01E3]/g},{base:"ao",letters:/[\uA735]/g},{base:"au",letters:/[\uA737]/g},{base:"av",letters:/[\uA739\uA73B]/g},{base:"ay",letters:/[\uA73D]/g},{base:"b",letters:/[\u0062\u24D1\uFF42\u1E03\u1E05\u1E07\u0180\u0183\u0253]/g},{base:"c",letters:/[\u0063\u24D2\uFF43\u0107\u0109\u010B\u010D\u00E7\u1E09\u0188\u023C\uA73F\u2184]/g},{base:"d",letters:/[\u0064\u24D3\uFF44\u1E0B\u010F\u1E0D\u1E11\u1E13\u1E0F\u0111\u018C\u0256\u0257\uA77A]/g},{base:"dz",letters:/[\u01F3\u01C6]/g},{base:"e",letters:/[\u0065\u24D4\uFF45\u00E8\u00E9\u00EA\u1EC1\u1EBF\u1EC5\u1EC3\u1EBD\u0113\u1E15\u1E17\u0115\u0117\u00EB\u1EBB\u011B\u0205\u0207\u1EB9\u1EC7\u0229\u1E1D\u0119\u1E19\u1E1B\u0247\u025B\u01DD]/g},{base:"f",letters:/[\u0066\u24D5\uFF46\u1E1F\u0192\uA77C]/g},{base:"g",letters:/[\u0067\u24D6\uFF47\u01F5\u011D\u1E21\u011F\u0121\u01E7\u0123\u01E5\u0260\uA7A1\u1D79\uA77F]/g},{base:"h",letters:/[\u0068\u24D7\uFF48\u0125\u1E23\u1E27\u021F\u1E25\u1E29\u1E2B\u1E96\u0127\u2C68\u2C76\u0265]/g},{base:"hv",letters:/[\u0195]/g},{base:"i",letters:/[\u0069\u24D8\uFF49\u00EC\u00ED\u00EE\u0129\u012B\u012D\u00EF\u1E2F\u1EC9\u01D0\u0209\u020B\u1ECB\u012F\u1E2D\u0268\u0131]/g},{base:"j",letters:/[\u006A\u24D9\uFF4A\u0135\u01F0\u0249]/g},{base:"k",letters:/[\u006B\u24DA\uFF4B\u1E31\u01E9\u1E33\u0137\u1E35\u0199\u2C6A\uA741\uA743\uA745\uA7A3]/g},{base:"l",letters:/[\u006C\u24DB\uFF4C\u0140\u013A\u013E\u1E37\u1E39\u013C\u1E3D\u1E3B\u017F\u0142\u019A\u026B\u2C61\uA749\uA781\uA747]/g},{base:"lj",letters:/[\u01C9]/g},{base:"m",letters:/[\u006D\u24DC\uFF4D\u1E3F\u1E41\u1E43\u0271\u026F]/g},{base:"n",letters:/[\u006E\u24DD\uFF4E\u01F9\u0144\u00F1\u1E45\u0148\u1E47\u0146\u1E4B\u1E49\u019E\u0272\u0149\uA791\uA7A5]/g},{base:"nj",letters:/[\u01CC]/g},{base:"o",letters:/[\u006F\u24DE\uFF4F\u00F2\u00F3\u00F4\u1ED3\u1ED1\u1ED7\u1ED5\u00F5\u1E4D\u022D\u1E4F\u014D\u1E51\u1E53\u014F\u022F\u0231\u00F6\u022B\u1ECF\u0151\u01D2\u020D\u020F\u01A1\u1EDD\u1EDB\u1EE1\u1EDF\u1EE3\u1ECD\u1ED9\u01EB\u01ED\u00F8\u01FF\u0254\uA74B\uA74D\u0275]/g},{base:"oi",letters:/[\u01A3]/g},{base:"ou",letters:/[\u0223]/g},{base:"oo",letters:/[\uA74F]/g},{base:"p",letters:/[\u0070\u24DF\uFF50\u1E55\u1E57\u01A5\u1D7D\uA751\uA753\uA755]/g},{base:"q",letters:/[\u0071\u24E0\uFF51\u024B\uA757\uA759]/g},{base:"r",letters:/[\u0072\u24E1\uFF52\u0155\u1E59\u0159\u0211\u0213\u1E5B\u1E5D\u0157\u1E5F\u024D\u027D\uA75B\uA7A7\uA783]/g},{base:"s",letters:/[\u0073\u24E2\uFF53\u00DF\u015B\u1E65\u015D\u1E61\u0161\u1E67\u1E63\u1E69\u0219\u015F\u023F\uA7A9\uA785\u1E9B]/g},{base:"t",letters:/[\u0074\u24E3\uFF54\u1E6B\u1E97\u0165\u1E6D\u021B\u0163\u1E71\u1E6F\u0167\u01AD\u0288\u2C66\uA787]/g},{base:"tz",letters:/[\uA729]/g},{base:"u",letters:/[\u0075\u24E4\uFF55\u00F9\u00FA\u00FB\u0169\u1E79\u016B\u1E7B\u016D\u00FC\u01DC\u01D8\u01D6\u01DA\u1EE7\u016F\u0171\u01D4\u0215\u0217\u01B0\u1EEB\u1EE9\u1EEF\u1EED\u1EF1\u1EE5\u1E73\u0173\u1E77\u1E75\u0289]/g},{base:"v",letters:/[\u0076\u24E5\uFF56\u1E7D\u1E7F\u028B\uA75F\u028C]/g},{base:"vy",letters:/[\uA761]/g},{base:"w",letters:/[\u0077\u24E6\uFF57\u1E81\u1E83\u0175\u1E87\u1E85\u1E98\u1E89\u2C73]/g},{base:"x",letters:/[\u0078\u24E7\uFF58\u1E8B\u1E8D]/g},{base:"y",letters:/[\u0079\u24E8\uFF59\u1EF3\u00FD\u0177\u1EF9\u0233\u1E8F\u00FF\u1EF7\u1E99\u1EF5\u01B4\u024F\u1EFF]/g},{base:"z",letters:/[\u007A\u24E9\uFF5A\u017A\u1E91\u017C\u017E\u1E93\u1E95\u01B6\u0225\u0240\u2C6C\uA763]/g}],v=function(e){for(var t=0;t<h.length;t++)e=e.replace(h[t].letters,h[t].base);return e},m=function(e){return null!=e&&""!==e},g=function(e,t,n,o){return o.ignoreAccents&&(t=v(t)),o.ignoreCase&&(t=t.toLowerCase()),o.trimFilter&&(t=t.replace(/^\s+|\s+$/g,"")),n&&(n=n.map((function(e){return e[o.valueKey]}))),e.filter((function(e){if(n&&n.indexOf(e[o.valueKey])>-1)return!1;if(o.filterOption)return o.filterOption.call(void 0,e,t);if(!t)return!0;var r=e[o.valueKey],i=e[o.labelKey],l=m(r),a=m(i);if(!l&&!a)return!1;var u=l?String(r):null,s=a?String(i):null;return o.ignoreAccents&&(u&&"label"!==o.matchProp&&(u=v(u)),s&&"value"!==o.matchProp&&(s=v(s))),o.ignoreCase&&(u&&"label"!==o.matchProp&&(u=u.toLowerCase()),s&&"value"!==o.matchProp&&(s=s.toLowerCase())),"start"===o.matchPos?u&&"label"!==o.matchProp&&u.substr(0,t.length)===t||s&&"value"!==o.matchProp&&s.substr(0,t.length)===t:u&&"label"!==o.matchProp&&u.indexOf(t)>=0||s&&"value"!==o.matchProp&&s.indexOf(t)>=0}))},y=function(e){var t=e.focusedOption,n=e.focusOption,o=e.inputValue,r=e.instancePrefix,l=e.onFocus,a=e.onOptionRef,u=e.onSelect,c=e.optionClassName,p=e.optionComponent,d=e.optionRenderer,f=e.options,h=e.removeValue,v=e.selectValue,m=e.valueArray,g=e.valueKey,y=p;return f.map((function(e,p){var f=m&&m.some((function(t){return t[g]===e[g]})),b=e===t,_=i()(c,{"Select-option":!0,"is-selected":f,"is-focused":b,"is-disabled":e.disabled});return s().createElement(y,{className:_,focusOption:n,inputValue:o,instancePrefix:r,isDisabled:e.disabled,isFocused:b,isSelected:f,key:"option-"+p+"-"+e[g],onFocus:l,onSelect:u,option:e,optionIndex:p,ref:function(e){a(e,b)},removeValue:h,selectValue:v},d(e,p,o))}))};y.propTypes={focusOption:a().func,focusedOption:a().object,inputValue:a().string,instancePrefix:a().string,onFocus:a().func,onOptionRef:a().func,onSelect:a().func,optionClassName:a().string,optionComponent:a().func,optionRenderer:a().func,options:a().array,removeValue:a().func,selectValue:a().func,valueArray:a().array,valueKey:a().string};var b=function(e){e.preventDefault(),e.stopPropagation(),"A"===e.target.tagName&&"href"in e.target&&(e.target.target?window.open(e.target.href,e.target.target):window.location.href=e.target.href)},_="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},S=(function(){function e(e){this.value=e}function t(t){var n,o;function r(n,o){try{var l=t[n](o),a=l.value;a instanceof e?Promise.resolve(a.value).then((function(e){r("next",e)}),(function(e){r("throw",e)})):i(l.done?"return":"normal",l.value)}catch(e){i("throw",e)}}function i(e,t){switch(e){case"return":n.resolve({value:t,done:!0});break;case"throw":n.reject(t);break;default:n.resolve({value:t,done:!1})}(n=n.next)?r(n.key,n.arg):o=null}this._invoke=function(e,t){return new Promise((function(i,l){var a={key:e,arg:t,resolve:i,reject:l,next:null};o?o=o.next=a:(n=o=a,r(e,t))}))},"function"!=typeof t.return&&(this.return=void 0)}"function"==typeof Symbol&&Symbol.asyncIterator&&(t.prototype[Symbol.asyncIterator]=function(){return this}),t.prototype.next=function(e){return this._invoke("next",e)},t.prototype.throw=function(e){return this._invoke("throw",e)},t.prototype.return=function(e){return this._invoke("return",e)}}(),function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}),C=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),A=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},E=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},O=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)},w=function(e,t){var n={};for(var o in e)t.indexOf(o)>=0||Object.prototype.hasOwnProperty.call(e,o)&&(n[o]=e[o]);return n},x=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t},T=function(e){function t(e){S(this,t);var n=x(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.handleMouseDown=n.handleMouseDown.bind(n),n.handleMouseEnter=n.handleMouseEnter.bind(n),n.handleMouseMove=n.handleMouseMove.bind(n),n.handleTouchStart=n.handleTouchStart.bind(n),n.handleTouchEnd=n.handleTouchEnd.bind(n),n.handleTouchMove=n.handleTouchMove.bind(n),n.onFocus=n.onFocus.bind(n),n}return O(t,e),C(t,[{key:"handleMouseDown",value:function(e){e.preventDefault(),e.stopPropagation(),this.props.onSelect(this.props.option,e)}},{key:"handleMouseEnter",value:function(e){this.onFocus(e)}},{key:"handleMouseMove",value:function(e){this.onFocus(e)}},{key:"handleTouchEnd",value:function(e){this.dragging||this.handleMouseDown(e)}},{key:"handleTouchMove",value:function(){this.dragging=!0}},{key:"handleTouchStart",value:function(){this.dragging=!1}},{key:"onFocus",value:function(e){this.props.isFocused||this.props.onFocus(this.props.option,e)}},{key:"render",value:function(){var e=this.props,t=e.option,n=e.instancePrefix,o=e.optionIndex,r=i()(this.props.className,t.className);return t.disabled?s().createElement("div",{className:r,onMouseDown:b,onClick:b},this.props.children):s().createElement("div",{className:r,style:t.style,role:"option","aria-label":t.label,onMouseDown:this.handleMouseDown,onMouseEnter:this.handleMouseEnter,onMouseMove:this.handleMouseMove,onTouchStart:this.handleTouchStart,onTouchMove:this.handleTouchMove,onTouchEnd:this.handleTouchEnd,id:n+"-option-"+o,title:t.title},this.props.children)}}]),t}(s().Component);T.propTypes={children:a().node,className:a().string,instancePrefix:a().string.isRequired,isDisabled:a().bool,isFocused:a().bool,isSelected:a().bool,onFocus:a().func,onSelect:a().func,onUnfocus:a().func,option:a().object.isRequired,optionIndex:a().number};var z=function(e){function t(e){S(this,t);var n=x(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.handleMouseDown=n.handleMouseDown.bind(n),n.onRemove=n.onRemove.bind(n),n.handleTouchEndRemove=n.handleTouchEndRemove.bind(n),n.handleTouchMove=n.handleTouchMove.bind(n),n.handleTouchStart=n.handleTouchStart.bind(n),n}return O(t,e),C(t,[{key:"handleMouseDown",value:function(e){if("mousedown"!==e.type||0===e.button)return this.props.onClick?(e.stopPropagation(),void this.props.onClick(this.props.value,e)):void(this.props.value.href&&e.stopPropagation())}},{key:"onRemove",value:function(e){e.preventDefault(),e.stopPropagation(),this.props.onRemove(this.props.value)}},{key:"handleTouchEndRemove",value:function(e){this.dragging||this.onRemove(e)}},{key:"handleTouchMove",value:function(){this.dragging=!0}},{key:"handleTouchStart",value:function(){this.dragging=!1}},{key:"renderRemoveIcon",value:function(){if(!this.props.disabled&&this.props.onRemove)return s().createElement("span",{className:"Select-value-icon","aria-hidden":"true",onMouseDown:this.onRemove,onTouchEnd:this.handleTouchEndRemove,onTouchStart:this.handleTouchStart,onTouchMove:this.handleTouchMove},"×")}},{key:"renderLabel",value:function(){var e="Select-value-label";return this.props.onClick||this.props.value.href?s().createElement("a",{className:e,href:this.props.value.href,target:this.props.value.target,onMouseDown:this.handleMouseDown,onTouchEnd:this.handleMouseDown},this.props.children):s().createElement("span",{className:e,role:"option","aria-selected":"true",id:this.props.id},this.props.children)}},{key:"render",value:function(){return s().createElement("div",{className:i()("Select-value",this.props.value.disabled?"Select-value-disabled":"",this.props.value.className),style:this.props.value.style,title:this.props.value.title},this.renderRemoveIcon(),this.renderLabel())}}]),t}(s().Component);z.propTypes={children:a().node,disabled:a().bool,id:a().string,onClick:a().func,onRemove:a().func,value:a().object.isRequired};var R=function(e){return"string"==typeof e?e:null!==e&&JSON.stringify(e)||""},I=a().oneOfType([a().string,a().node]),k=a().oneOfType([a().string,a().number]),P=1,F=function(e,t){var n=void 0===e?"undefined":_(e);if("string"!==n&&"number"!==n&&"boolean"!==n)return e;var o=t.options,r=t.valueKey;if(o)for(var i=0;i<o.length;i++)if(String(o[i][r])===String(e))return o[i]},M=function(e,t){return!e||(t?0===e.length:0===Object.keys(e).length)},D=function(e){function t(e){S(this,t);var n=x(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return["clearValue","focusOption","getOptionLabel","handleInputBlur","handleInputChange","handleInputFocus","handleInputValueChange","handleKeyDown","handleMenuScroll","handleMouseDown","handleMouseDownOnArrow","handleMouseDownOnMenu","handleTouchEnd","handleTouchEndClearValue","handleTouchMove","handleTouchOutside","handleTouchStart","handleValueClick","onOptionRef","removeValue","selectValue"].forEach((function(e){return n[e]=n[e].bind(n)})),n.state={inputValue:"",isFocused:!1,isOpen:!1,isPseudoFocused:!1,required:!1},n}return O(t,e),C(t,[{key:"componentWillMount",value:function(){this._instancePrefix="react-select-"+(this.props.instanceId||++P)+"-";var e=this.getValueArray(this.props.value);this.props.required&&this.setState({required:M(e[0],this.props.multi)})}},{key:"componentDidMount",value:function(){void 0!==this.props.autofocus&&void 0!==p&&p.warn("Warning: The autofocus prop has changed to autoFocus, support will be removed after react-select@1.0"),(this.props.autoFocus||this.props.autofocus)&&this.focus()}},{key:"componentWillReceiveProps",value:function(e){var t=this.getValueArray(e.value,e);e.required?this.setState({required:M(t[0],e.multi)}):this.props.required&&this.setState({required:!1}),this.state.inputValue&&this.props.value!==e.value&&e.onSelectResetsInput&&this.setState({inputValue:this.handleInputValueChange("")})}},{key:"componentDidUpdate",value:function(e,t){if(this.menu&&this.focused&&this.state.isOpen&&!this.hasScrolledToOption){var n=(0,c.findDOMNode)(this.focused),o=(0,c.findDOMNode)(this.menu),r=o.scrollTop,i=r+o.offsetHeight,l=n.offsetTop,a=l+n.offsetHeight;(r>l||i<a)&&(o.scrollTop=n.offsetTop),this.hasScrolledToOption=!0}else this.state.isOpen||(this.hasScrolledToOption=!1);if(this._scrollToFocusedOptionOnUpdate&&this.focused&&this.menu){this._scrollToFocusedOptionOnUpdate=!1;var u=(0,c.findDOMNode)(this.focused),s=(0,c.findDOMNode)(this.menu),p=u.getBoundingClientRect(),d=s.getBoundingClientRect();p.bottom>d.bottom?s.scrollTop=u.offsetTop+u.clientHeight-s.offsetHeight:p.top<d.top&&(s.scrollTop=u.offsetTop)}if(this.props.scrollMenuIntoView&&this.menuContainer){var f=this.menuContainer.getBoundingClientRect();window.innerHeight<f.bottom+this.props.menuBuffer&&window.scrollBy(0,f.bottom+this.props.menuBuffer-window.innerHeight)}if(e.disabled!==this.props.disabled&&(this.setState({isFocused:!1}),this.closeMenu()),t.isOpen!==this.state.isOpen){this.toggleTouchOutsideEvent(this.state.isOpen);var h=this.state.isOpen?this.props.onOpen:this.props.onClose;h&&h()}}},{key:"componentWillUnmount",value:function(){this.toggleTouchOutsideEvent(!1)}},{key:"toggleTouchOutsideEvent",value:function(e){var t=e?document.addEventListener?"addEventListener":"attachEvent":document.removeEventListener?"removeEventListener":"detachEvent",n=document.addEventListener?"":"on";document[t](n+"touchstart",this.handleTouchOutside),document[t](n+"mousedown",this.handleTouchOutside)}},{key:"handleTouchOutside",value:function(e){this.wrapper&&!this.wrapper.contains(e.target)&&this.closeMenu()}},{key:"focus",value:function(){this.input&&this.input.focus()}},{key:"blurInput",value:function(){this.input&&this.input.blur()}},{key:"handleTouchMove",value:function(){this.dragging=!0}},{key:"handleTouchStart",value:function(){this.dragging=!1}},{key:"handleTouchEnd",value:function(e){this.dragging||this.handleMouseDown(e)}},{key:"handleTouchEndClearValue",value:function(e){this.dragging||this.clearValue(e)}},{key:"handleMouseDown",value:function(e){if(!(this.props.disabled||"mousedown"===e.type&&0!==e.button))if("INPUT"!==e.target.tagName){if(e.preventDefault(),!this.props.searchable)return this.focus(),this.setState({isOpen:!this.state.isOpen,focusedOption:null});if(this.state.isFocused){this.focus();var t=this.input,n=!0;"function"==typeof t.getInput&&(t=t.getInput()),t.value="",this._focusAfterClear&&(n=!1,this._focusAfterClear=!1),this.setState({isOpen:n,isPseudoFocused:!1,focusedOption:null})}else this._openAfterFocus=this.props.openOnClick,this.focus(),this.setState({focusedOption:null})}else this.state.isFocused?this.state.isOpen||this.setState({isOpen:!0,isPseudoFocused:!1,focusedOption:null}):(this._openAfterFocus=this.props.openOnClick,this.focus())}},{key:"handleMouseDownOnArrow",value:function(e){this.props.disabled||"mousedown"===e.type&&0!==e.button||(this.state.isOpen?(e.stopPropagation(),e.preventDefault(),this.closeMenu()):this.setState({isOpen:!0}))}},{key:"handleMouseDownOnMenu",value:function(e){this.props.disabled||"mousedown"===e.type&&0!==e.button||(e.stopPropagation(),e.preventDefault(),this._openAfterFocus=!0,this.focus())}},{key:"closeMenu",value:function(){this.props.onCloseResetsInput?this.setState({inputValue:this.handleInputValueChange(""),isOpen:!1,isPseudoFocused:this.state.isFocused&&!this.props.multi}):this.setState({isOpen:!1,isPseudoFocused:this.state.isFocused&&!this.props.multi}),this.hasScrolledToOption=!1}},{key:"handleInputFocus",value:function(e){if(!this.props.disabled){var t=this.state.isOpen||this._openAfterFocus||this.props.openOnFocus;t=!this._focusAfterClear&&t,this.props.onFocus&&this.props.onFocus(e),this.setState({isFocused:!0,isOpen:!!t}),this._focusAfterClear=!1,this._openAfterFocus=!1}}},{key:"handleInputBlur",value:function(e){if(!this.menu||this.menu!==document.activeElement&&!this.menu.contains(document.activeElement)){this.props.onBlur&&this.props.onBlur(e);var t={isFocused:!1,isOpen:!1,isPseudoFocused:!1};this.props.onBlurResetsInput&&(t.inputValue=this.handleInputValueChange("")),this.setState(t)}else this.focus()}},{key:"handleInputChange",value:function(e){var t=e.target.value;this.state.inputValue!==e.target.value&&(t=this.handleInputValueChange(t)),this.setState({inputValue:t,isOpen:!0,isPseudoFocused:!1})}},{key:"setInputValue",value:function(e){if(this.props.onInputChange){var t=this.props.onInputChange(e);null!=t&&"object"!==(void 0===t?"undefined":_(t))&&(e=""+t)}this.setState({inputValue:e})}},{key:"handleInputValueChange",value:function(e){if(this.props.onInputChange){var t=this.props.onInputChange(e);null!=t&&"object"!==(void 0===t?"undefined":_(t))&&(e=""+t)}return e}},{key:"handleKeyDown",value:function(e){if(!(this.props.disabled||"function"==typeof this.props.onInputKeyDown&&(this.props.onInputKeyDown(e),e.defaultPrevented)))switch(e.keyCode){case 8:!this.state.inputValue&&this.props.backspaceRemoves&&(e.preventDefault(),this.popValue());break;case 9:if(e.shiftKey||!this.state.isOpen||!this.props.tabSelectsValue)break;e.preventDefault(),this.selectFocusedOption();break;case 13:e.preventDefault(),e.stopPropagation(),this.state.isOpen?this.selectFocusedOption():this.focusNextOption();break;case 27:e.preventDefault(),this.state.isOpen?(this.closeMenu(),e.stopPropagation()):this.props.clearable&&this.props.escapeClearsValue&&(this.clearValue(e),e.stopPropagation());break;case 32:if(this.props.searchable)break;if(e.preventDefault(),!this.state.isOpen){this.focusNextOption();break}e.stopPropagation(),this.selectFocusedOption();break;case 38:e.preventDefault(),this.focusPreviousOption();break;case 40:e.preventDefault(),this.focusNextOption();break;case 33:e.preventDefault(),this.focusPageUpOption();break;case 34:e.preventDefault(),this.focusPageDownOption();break;case 35:if(e.shiftKey)break;e.preventDefault(),this.focusEndOption();break;case 36:if(e.shiftKey)break;e.preventDefault(),this.focusStartOption();break;case 46:!this.state.inputValue&&this.props.deleteRemoves&&(e.preventDefault(),this.popValue())}}},{key:"handleValueClick",value:function(e,t){this.props.onValueClick&&this.props.onValueClick(e,t)}},{key:"handleMenuScroll",value:function(e){if(this.props.onMenuScrollToBottom){var t=e.target;t.scrollHeight>t.offsetHeight&&t.scrollHeight-t.offsetHeight-t.scrollTop<=0&&this.props.onMenuScrollToBottom()}}},{key:"getOptionLabel",value:function(e){return e[this.props.labelKey]}},{key:"getValueArray",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0,n="object"===(void 0===t?"undefined":_(t))?t:this.props;if(n.multi){if("string"==typeof e&&(e=e.split(n.delimiter)),!Array.isArray(e)){if(null==e)return[];e=[e]}return e.map((function(e){return F(e,n)})).filter((function(e){return e}))}var o=F(e,n);return o?[o]:[]}},{key:"setValue",value:function(e){var t=this;if(this.props.autoBlur&&this.blurInput(),this.props.required){var n=M(e,this.props.multi);this.setState({required:n})}this.props.simpleValue&&e&&(e=this.props.multi?e.map((function(e){return e[t.props.valueKey]})).join(this.props.delimiter):e[this.props.valueKey]),this.props.onChange&&this.props.onChange(e)}},{key:"selectValue",value:function(e){var t=this;this.props.closeOnSelect&&(this.hasScrolledToOption=!1);var n=this.props.onSelectResetsInput?"":this.state.inputValue;this.props.multi?this.setState({focusedIndex:null,inputValue:this.handleInputValueChange(n),isOpen:!this.props.closeOnSelect},(function(){t.getValueArray(t.props.value).some((function(n){return n[t.props.valueKey]===e[t.props.valueKey]}))?t.removeValue(e):t.addValue(e)})):this.setState({inputValue:this.handleInputValueChange(n),isOpen:!this.props.closeOnSelect,isPseudoFocused:this.state.isFocused},(function(){t.setValue(e)}))}},{key:"addValue",value:function(e){var t=this.getValueArray(this.props.value),n=this._visibleOptions.filter((function(e){return!e.disabled})),o=n.indexOf(e);this.setValue(t.concat(e)),this.props.closeOnSelect&&(n.length-1===o?this.focusOption(n[o-1]):n.length>o&&this.focusOption(n[o+1]))}},{key:"popValue",value:function(){var e=this.getValueArray(this.props.value);e.length&&!1!==e[e.length-1].clearableValue&&this.setValue(this.props.multi?e.slice(0,e.length-1):null)}},{key:"removeValue",value:function(e){var t=this,n=this.getValueArray(this.props.value);this.setValue(n.filter((function(n){return n[t.props.valueKey]!==e[t.props.valueKey]}))),this.focus()}},{key:"clearValue",value:function(e){e&&"mousedown"===e.type&&0!==e.button||(e.preventDefault(),this.setValue(this.getResetValue()),this.setState({inputValue:this.handleInputValueChange(""),isOpen:!1},this.focus),this._focusAfterClear=!0)}},{key:"getResetValue",value:function(){return void 0!==this.props.resetValue?this.props.resetValue:this.props.multi?[]:null}},{key:"focusOption",value:function(e){this.setState({focusedOption:e})}},{key:"focusNextOption",value:function(){this.focusAdjacentOption("next")}},{key:"focusPreviousOption",value:function(){this.focusAdjacentOption("previous")}},{key:"focusPageUpOption",value:function(){this.focusAdjacentOption("page_up")}},{key:"focusPageDownOption",value:function(){this.focusAdjacentOption("page_down")}},{key:"focusStartOption",value:function(){this.focusAdjacentOption("start")}},{key:"focusEndOption",value:function(){this.focusAdjacentOption("end")}},{key:"focusAdjacentOption",value:function(e){var t=this._visibleOptions.map((function(e,t){return{option:e,index:t}})).filter((function(e){return!e.option.disabled}));if(this._scrollToFocusedOptionOnUpdate=!0,!this.state.isOpen){var n={focusedOption:this._focusedOption||(t.length?t["next"===e?0:t.length-1].option:null),isOpen:!0};return this.props.onSelectResetsInput&&(n.inputValue=""),void this.setState(n)}if(t.length){for(var o=-1,r=0;r<t.length;r++)if(this._focusedOption===t[r].option){o=r;break}if("next"===e&&-1!==o)o=(o+1)%t.length;else if("previous"===e)o>0?o-=1:o=t.length-1;else if("start"===e)o=0;else if("end"===e)o=t.length-1;else if("page_up"===e){var i=o-this.props.pageSize;o=i<0?0:i}else if("page_down"===e){var l=o+this.props.pageSize;o=l>t.length-1?t.length-1:l}-1===o&&(o=0),this.setState({focusedIndex:t[o].index,focusedOption:t[o].option})}}},{key:"getFocusedOption",value:function(){return this._focusedOption}},{key:"selectFocusedOption",value:function(){if(this._focusedOption)return this.selectValue(this._focusedOption)}},{key:"renderLoading",value:function(){if(this.props.isLoading)return s().createElement("span",{className:"Select-loading-zone","aria-hidden":"true"},s().createElement("span",{className:"Select-loading"}))}},{key:"renderValue",value:function(e,t){var n=this,o=this.props.valueRenderer||this.getOptionLabel,r=this.props.valueComponent;if(!e.length){var i=function(e,t,n){var o=e.inputValue,r=e.isPseudoFocused,i=e.isFocused,l=t.onSelectResetsInput;return!o||!l&&!n&&!r&&!i}(this.state,this.props,t);return i?s().createElement("div",{className:"Select-placeholder"},this.props.placeholder):null}var l,a,u,c,p,d,f=this.props.onValueClick?this.handleValueClick:null;return this.props.multi?e.map((function(t,i){return s().createElement(r,{disabled:n.props.disabled||!1===t.clearableValue,id:n._instancePrefix+"-value-"+i,instancePrefix:n._instancePrefix,key:"value-"+i+"-"+t[n.props.valueKey],onClick:f,onRemove:n.removeValue,placeholder:n.props.placeholder,value:t,values:e},o(t,i),s().createElement("span",{className:"Select-aria-only"}," "))})):(l=this.state,a=this.props,u=l.inputValue,c=l.isPseudoFocused,p=l.isFocused,d=a.onSelectResetsInput,u&&(d||!p&&c||p&&!c)?void 0:(t&&(f=null),s().createElement(r,{disabled:this.props.disabled,id:this._instancePrefix+"-value-item",instancePrefix:this._instancePrefix,onClick:f,placeholder:this.props.placeholder,value:e[0]},o(e[0]))))}},{key:"renderInput",value:function(e,t){var n,r=this,l=i()("Select-input",this.props.inputProps.className),a=this.state.isOpen,u=i()((A(n={},this._instancePrefix+"-list",a),A(n,this._instancePrefix+"-backspace-remove-message",this.props.multi&&!this.props.disabled&&this.state.isFocused&&!this.state.inputValue),n)),c=this.state.inputValue;!c||this.props.onSelectResetsInput||this.state.isFocused||(c="");var p=E({},this.props.inputProps,{"aria-activedescendant":a?this._instancePrefix+"-option-"+t:this._instancePrefix+"-value","aria-describedby":this.props["aria-describedby"],"aria-expanded":""+a,"aria-haspopup":""+a,"aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"],"aria-owns":u,onBlur:this.handleInputBlur,onChange:this.handleInputChange,onFocus:this.handleInputFocus,ref:function(e){return r.input=e},role:"combobox",required:this.state.required,tabIndex:this.props.tabIndex,value:c});if(this.props.inputRenderer)return this.props.inputRenderer(p);if(this.props.disabled||!this.props.searchable){var d=w(this.props.inputProps,[]),f=i()(A({},this._instancePrefix+"-list",a));return s().createElement("div",E({},d,{"aria-expanded":a,"aria-owns":f,"aria-activedescendant":a?this._instancePrefix+"-option-"+t:this._instancePrefix+"-value","aria-disabled":""+this.props.disabled,"aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"],className:l,onBlur:this.handleInputBlur,onFocus:this.handleInputFocus,ref:function(e){return r.input=e},role:"combobox",style:{border:0,width:1,display:"inline-block"},tabIndex:this.props.tabIndex||0}))}return this.props.autosize?s().createElement(o.A,E({id:this.props.id},p,{className:l,minWidth:"5"})):s().createElement("div",{className:l,key:"input-wrap",style:{display:"inline-block"}},s().createElement("input",E({id:this.props.id},p)))}},{key:"renderClear",value:function(){var e=this.getValueArray(this.props.value);if(this.props.clearable&&e.length&&!this.props.disabled&&!this.props.isLoading){var t=this.props.multi?this.props.clearAllText:this.props.clearValueText,n=this.props.clearRenderer();return s().createElement("span",{"aria-label":t,className:"Select-clear-zone",onMouseDown:this.clearValue,onTouchEnd:this.handleTouchEndClearValue,onTouchMove:this.handleTouchMove,onTouchStart:this.handleTouchStart,title:t},n)}}},{key:"renderArrow",value:function(){if(this.props.arrowRenderer){var e=this.handleMouseDownOnArrow,t=this.state.isOpen,n=this.props.arrowRenderer({onMouseDown:e,isOpen:t});return n?s().createElement("span",{className:"Select-arrow-zone",onMouseDown:e},n):null}}},{key:"filterOptions",value:function(e){var t=this.state.inputValue,n=this.props.options||[];return this.props.filterOptions?("function"==typeof this.props.filterOptions?this.props.filterOptions:g)(n,t,e,{filterOption:this.props.filterOption,ignoreAccents:this.props.ignoreAccents,ignoreCase:this.props.ignoreCase,labelKey:this.props.labelKey,matchPos:this.props.matchPos,matchProp:this.props.matchProp,trimFilter:this.props.trimFilter,valueKey:this.props.valueKey}):n}},{key:"onOptionRef",value:function(e,t){t&&(this.focused=e)}},{key:"renderMenu",value:function(e,t,n){return e&&e.length?this.props.menuRenderer({focusedOption:n,focusOption:this.focusOption,inputValue:this.state.inputValue,instancePrefix:this._instancePrefix,labelKey:this.props.labelKey,onFocus:this.focusOption,onOptionRef:this.onOptionRef,onSelect:this.selectValue,optionClassName:this.props.optionClassName,optionComponent:this.props.optionComponent,optionRenderer:this.props.optionRenderer||this.getOptionLabel,options:e,removeValue:this.removeValue,selectValue:this.selectValue,valueArray:t,valueKey:this.props.valueKey}):this.props.noResultsText?s().createElement("div",{className:"Select-noresults"},this.props.noResultsText):null}},{key:"renderHiddenField",value:function(e){var t=this;if(this.props.name){if(this.props.joinValues){var n=e.map((function(e){return R(e[t.props.valueKey])})).join(this.props.delimiter);return s().createElement("input",{disabled:this.props.disabled,name:this.props.name,ref:function(e){return t.value=e},type:"hidden",value:n})}return e.map((function(e,n){return s().createElement("input",{disabled:t.props.disabled,key:"hidden."+n,name:t.props.name,ref:"value"+n,type:"hidden",value:R(e[t.props.valueKey])})}))}}},{key:"getFocusableOptionIndex",value:function(e){var t=this._visibleOptions;if(!t.length)return null;var n=this.props.valueKey,o=this.state.focusedOption||e;if(o&&!o.disabled){var r=-1;if(t.some((function(e,t){var i=e[n]===o[n];return i&&(r=t),i})),-1!==r)return r}for(var i=0;i<t.length;i++)if(!t[i].disabled)return i;return null}},{key:"renderOuter",value:function(e,t,n){var o=this,r=this.renderMenu(e,t,n);return r?s().createElement("div",{ref:function(e){return o.menuContainer=e},className:"Select-menu-outer",style:this.props.menuContainerStyle},s().createElement("div",{className:"Select-menu",id:this._instancePrefix+"-list",onMouseDown:this.handleMouseDownOnMenu,onScroll:this.handleMenuScroll,ref:function(e){return o.menu=e},role:"listbox",style:this.props.menuStyle,tabIndex:-1},r)):null}},{key:"render",value:function(){var e=this,t=this.getValueArray(this.props.value),n=this._visibleOptions=this.filterOptions(this.props.multi&&this.props.removeSelected?t:null),o=this.state.isOpen;this.props.multi&&!n.length&&t.length&&!this.state.inputValue&&(o=!1);var r,l=this.getFocusableOptionIndex(t[0]);r=this._focusedOption=null!==l?n[l]:null;var a=i()("Select",this.props.className,{"has-value":t.length,"is-clearable":this.props.clearable,"is-disabled":this.props.disabled,"is-focused":this.state.isFocused,"is-loading":this.props.isLoading,"is-open":o,"is-pseudo-focused":this.state.isPseudoFocused,"is-searchable":this.props.searchable,"Select--multi":this.props.multi,"Select--rtl":this.props.rtl,"Select--single":!this.props.multi}),u=null;return this.props.multi&&!this.props.disabled&&t.length&&!this.state.inputValue&&this.state.isFocused&&this.props.backspaceRemoves&&(u=s().createElement("span",{id:this._instancePrefix+"-backspace-remove-message",className:"Select-aria-only","aria-live":"assertive"},this.props.backspaceToRemoveMessage.replace("{label}",t[t.length-1][this.props.labelKey]))),s().createElement("div",{ref:function(t){return e.wrapper=t},className:a,style:this.props.wrapperStyle},this.renderHiddenField(t),s().createElement("div",{ref:function(t){return e.control=t},className:"Select-control",onKeyDown:this.handleKeyDown,onMouseDown:this.handleMouseDown,onTouchEnd:this.handleTouchEnd,onTouchMove:this.handleTouchMove,onTouchStart:this.handleTouchStart,style:this.props.style},s().createElement("div",{className:"Select-multi-value-wrapper",id:this._instancePrefix+"-value"},this.renderValue(t,o),this.renderInput(t,l)),u,this.renderLoading(),this.renderClear(),this.renderArrow()),o?this.renderOuter(n,t,r):null)}}]),t}(s().Component);D.propTypes={"aria-describedby":a().string,"aria-label":a().string,"aria-labelledby":a().string,arrowRenderer:a().func,autoBlur:a().bool,autoFocus:a().bool,autofocus:a().bool,autosize:a().bool,backspaceRemoves:a().bool,backspaceToRemoveMessage:a().string,className:a().string,clearAllText:I,clearRenderer:a().func,clearValueText:I,clearable:a().bool,closeOnSelect:a().bool,deleteRemoves:a().bool,delimiter:a().string,disabled:a().bool,escapeClearsValue:a().bool,filterOption:a().func,filterOptions:a().any,id:a().string,ignoreAccents:a().bool,ignoreCase:a().bool,inputProps:a().object,inputRenderer:a().func,instanceId:a().string,isLoading:a().bool,joinValues:a().bool,labelKey:a().string,matchPos:a().string,matchProp:a().string,menuBuffer:a().number,menuContainerStyle:a().object,menuRenderer:a().func,menuStyle:a().object,multi:a().bool,name:a().string,noResultsText:I,onBlur:a().func,onBlurResetsInput:a().bool,onChange:a().func,onClose:a().func,onCloseResetsInput:a().bool,onFocus:a().func,onInputChange:a().func,onInputKeyDown:a().func,onMenuScrollToBottom:a().func,onOpen:a().func,onSelectResetsInput:a().bool,onValueClick:a().func,openOnClick:a().bool,openOnFocus:a().bool,optionClassName:a().string,optionComponent:a().func,optionRenderer:a().func,options:a().array,pageSize:a().number,placeholder:I,removeSelected:a().bool,required:a().bool,resetValue:a().any,rtl:a().bool,scrollMenuIntoView:a().bool,searchable:a().bool,simpleValue:a().bool,style:a().object,tabIndex:k,tabSelectsValue:a().bool,trimFilter:a().bool,value:a().any,valueComponent:a().func,valueKey:a().string,valueRenderer:a().func,wrapperStyle:a().object},D.defaultProps={arrowRenderer:d,autosize:!0,backspaceRemoves:!0,backspaceToRemoveMessage:"Press backspace to remove {label}",clearable:!0,clearAllText:"Clear all",clearRenderer:f,clearValueText:"Clear value",closeOnSelect:!0,deleteRemoves:!0,delimiter:",",disabled:!1,escapeClearsValue:!0,filterOptions:g,ignoreAccents:!0,ignoreCase:!0,inputProps:{},isLoading:!1,joinValues:!1,labelKey:"label",matchPos:"any",matchProp:"any",menuBuffer:0,menuRenderer:y,multi:!1,noResultsText:"No results found",onBlurResetsInput:!0,onCloseResetsInput:!0,onSelectResetsInput:!0,openOnClick:!0,optionComponent:T,pageSize:5,placeholder:"Select...",removeSelected:!0,required:!1,rtl:!1,scrollMenuIntoView:!0,searchable:!0,simpleValue:!1,tabSelectsValue:!0,trimFilter:!0,valueComponent:z,valueKey:"value"};var B={autoload:a().bool.isRequired,cache:a().any,children:a().func.isRequired,ignoreAccents:a().bool,ignoreCase:a().bool,loadOptions:a().func.isRequired,loadingPlaceholder:a().oneOfType([a().string,a().node]),multi:a().bool,noResultsText:a().oneOfType([a().string,a().node]),onChange:a().func,onInputChange:a().func,options:a().array.isRequired,placeholder:a().oneOfType([a().string,a().node]),searchPromptText:a().oneOfType([a().string,a().node]),value:a().any},j={},L={autoload:!0,cache:j,children:function(e){return s().createElement(D,e)},ignoreAccents:!0,ignoreCase:!0,loadingPlaceholder:"Loading...",options:[],searchPromptText:"Type to search"},V=function(e){function t(e,n){S(this,t);var o=x(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));return o._cache=e.cache===j?{}:e.cache,o.state={inputValue:"",isLoading:!1,options:e.options},o.onInputChange=o.onInputChange.bind(o),o}return O(t,e),C(t,[{key:"componentDidMount",value:function(){this.props.autoload&&this.loadOptions("")}},{key:"componentWillReceiveProps",value:function(e){e.options!==this.props.options&&this.setState({options:e.options})}},{key:"componentWillUnmount",value:function(){this._callback=null}},{key:"loadOptions",value:function(e){var t=this,n=this.props.loadOptions,o=this._cache;if(o&&Object.prototype.hasOwnProperty.call(o,e))return this._callback=null,void this.setState({isLoading:!1,options:o[e]});var r=function n(r,i){var l=i&&i.options||[];o&&(o[e]=l),n===t._callback&&(t._callback=null,t.setState({isLoading:!1,options:l}))};this._callback=r;var i=n(e,r);i&&i.then((function(e){return r(0,e)}),(function(e){return r()})),this._callback&&!this.state.isLoading&&this.setState({isLoading:!0})}},{key:"onInputChange",value:function(e){var t=this.props,n=t.ignoreAccents,o=t.ignoreCase,r=t.onInputChange,i=e;if(r){var l=r(i);null!=l&&"object"!==(void 0===l?"undefined":_(l))&&(i=""+l)}var a=i;return n&&(a=v(a)),o&&(a=a.toLowerCase()),this.setState({inputValue:i}),this.loadOptions(a),i}},{key:"noResultsText",value:function(){var e=this.props,t=e.loadingPlaceholder,n=e.noResultsText,o=e.searchPromptText,r=this.state,i=r.inputValue;return r.isLoading?t:i&&n?n:o}},{key:"focus",value:function(){this.select.focus()}},{key:"render",value:function(){var e=this,t=this.props,n=t.children,o=t.loadingPlaceholder,r=t.placeholder,i=this.state,l=i.isLoading,a=i.options,u={noResultsText:this.noResultsText(),placeholder:l?o:r,options:l&&o?[]:a,ref:function(t){return e.select=t}};return n(E({},this.props,u,{isLoading:l,onInputChange:this.onInputChange}))}}]),t}(u.Component);V.propTypes=B,V.defaultProps=L;var N=function(e){function t(e,n){S(this,t);var o=x(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));return o.filterOptions=o.filterOptions.bind(o),o.menuRenderer=o.menuRenderer.bind(o),o.onInputKeyDown=o.onInputKeyDown.bind(o),o.onInputChange=o.onInputChange.bind(o),o.onOptionSelect=o.onOptionSelect.bind(o),o}return O(t,e),C(t,[{key:"createNewOption",value:function(){var e=this.props,t=e.isValidNewOption,n=e.newOptionCreator,o=e.onNewOptionClick,r=e.options,i=void 0===r?[]:r;if(t({label:this.inputValue})){var l=n({label:this.inputValue,labelKey:this.labelKey,valueKey:this.valueKey});this.isOptionUnique({option:l,options:i})&&(o?o(l):(i.unshift(l),this.select.selectValue(l)))}}},{key:"filterOptions",value:function(){var e=this.props,t=e.filterOptions,n=e.isValidNewOption,o=e.promptTextCreator,r=e.showNewOptionAtTop,i=(arguments.length<=2?void 0:arguments[2])||[],l=t.apply(void 0,arguments)||[];if(n({label:this.inputValue})){var a=this.props.newOptionCreator,u=a({label:this.inputValue,labelKey:this.labelKey,valueKey:this.valueKey});if(this.isOptionUnique({option:u,options:i.concat(l)})){var s=o(this.inputValue);this._createPlaceholderOption=a({label:s,labelKey:this.labelKey,valueKey:this.valueKey}),r?l.unshift(this._createPlaceholderOption):l.push(this._createPlaceholderOption)}}return l}},{key:"isOptionUnique",value:function(e){var t=e.option,n=e.options,o=this.props.isOptionUnique;return n=n||this.props.options,o({labelKey:this.labelKey,option:t,options:n,valueKey:this.valueKey})}},{key:"menuRenderer",value:function(e){return(0,this.props.menuRenderer)(E({},e,{onSelect:this.onOptionSelect,selectValue:this.onOptionSelect}))}},{key:"onInputChange",value:function(e){var t=this.props.onInputChange;return this.inputValue=e,t&&(this.inputValue=t(e)),this.inputValue}},{key:"onInputKeyDown",value:function(e){var t=this.props,n=t.shouldKeyDownEventCreateNewOption,o=t.onInputKeyDown,r=this.select.getFocusedOption();r&&r===this._createPlaceholderOption&&n(e)?(this.createNewOption(),e.preventDefault()):o&&o(e)}},{key:"onOptionSelect",value:function(e){e===this._createPlaceholderOption?this.createNewOption():this.select.selectValue(e)}},{key:"focus",value:function(){this.select.focus()}},{key:"render",value:function(){var e=this,t=this.props,n=t.ref,o=w(t,["ref"]),r=this.props.children;return r||(r=W),r(E({},o,{allowCreate:!0,filterOptions:this.filterOptions,menuRenderer:this.menuRenderer,onInputChange:this.onInputChange,onInputKeyDown:this.onInputKeyDown,ref:function(t){e.select=t,t&&(e.labelKey=t.props.labelKey,e.valueKey=t.props.valueKey),n&&n(t)}}))}}]),t}(s().Component),W=function(e){return s().createElement(D,e)},H=function(e){var t=e.option,n=e.options,o=e.labelKey,r=e.valueKey;return!n||!n.length||0===n.filter((function(e){return e[o]===t[o]||e[r]===t[r]})).length},K=function(e){return!!e.label},U=function(e){var t=e.label,n=e.labelKey,o={};return o[e.valueKey]=t,o[n]=t,o.className="Select-create-option-placeholder",o},G=function(e){return'Create option "'+e+'"'},q=function(e){switch(e.keyCode){case 9:case 13:case 188:return!0;default:return!1}};N.isOptionUnique=H,N.isValidNewOption=K,N.newOptionCreator=U,N.promptTextCreator=G,N.shouldKeyDownEventCreateNewOption=q,N.defaultProps={filterOptions:g,isOptionUnique:H,isValidNewOption:K,menuRenderer:y,newOptionCreator:U,promptTextCreator:G,shouldKeyDownEventCreateNewOption:q,showNewOptionAtTop:!0},N.propTypes={children:a().func,filterOptions:a().any,isOptionUnique:a().func,isValidNewOption:a().func,menuRenderer:a().any,newOptionCreator:a().func,onInputChange:a().func,onInputKeyDown:a().func,onNewOptionClick:a().func,options:a().array,promptTextCreator:a().func,ref:a().func,shouldKeyDownEventCreateNewOption:a().func,showNewOptionAtTop:a().bool};var $=function(e){function t(){return S(this,t),x(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return O(t,e),C(t,[{key:"focus",value:function(){this.select.focus()}},{key:"render",value:function(){var e=this;return s().createElement(V,this.props,(function(t){var n=t.ref,o=w(t,["ref"]),r=n;return s().createElement(N,o,(function(t){var n=t.ref,o=w(t,["ref"]),i=n;return e.props.children(E({},o,{ref:function(t){i(t),r(t),e.select=t}}))}))}))}}]),t}(s().Component);$.propTypes={children:a().func.isRequired},$.defaultProps={children:function(e){return s().createElement(D,e)}},D.Async=V,D.AsyncCreatable=$,D.Creatable=N,D.Value=z,D.Option=T,t.default=D},92165:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TfIdfSearchIndex=void 0;var o,r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),l=(o=n(26871))&&o.__esModule?o:{default:o};t.TfIdfSearchIndex=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._uidFieldName=t,this._tokenToIdfCache={},this._tokenMap={}}return i(e,[{key:"indexDocument",value:function(e,t,n){this._tokenToIdfCache={};var o,i=this._tokenMap;"object"!==r(i[e])?i[e]=o={$numDocumentOccurrences:0,$totalNumOccurrences:1,$uidMap:{}}:(o=i[e]).$totalNumOccurrences++;var l=o.$uidMap;"object"!==r(l[t])?(o.$numDocumentOccurrences++,l[t]={$document:n,$numTokenOccurrences:1}):l[t].$numTokenOccurrences++}},{key:"search",value:function(e,t){for(var n={},o=0,i=e.length;o<i;o++){var l,a=e[o],u=this._tokenMap[a];if(!u)return[];if(0===o)for(var s=0,c=(l=Object.keys(u.$uidMap)).length;s<c;s++)n[p=l[s]]=u.$uidMap[p].$document;else for(s=0,c=(l=Object.keys(n)).length;s<c;s++){var p=l[s];"object"!==r(u.$uidMap[p])&&delete n[p]}}var d=[];for(var p in n)d.push(n[p]);var f=this._createCalculateTfIdf();return d.sort((function(n,o){return f(e,o,t)-f(e,n,t)}))}},{key:"_createCalculateIdf",value:function(){var e=this._tokenMap,t=this._tokenToIdfCache;return function(n,o){if(!t[n]){var r=void 0!==e[n]?e[n].$numDocumentOccurrences:0;t[n]=1+Math.log(o.length/(1+r))}return t[n]}}},{key:"_createCalculateTfIdf",value:function(){var e=this._tokenMap,t=this._uidFieldName,n=this._createCalculateIdf();return function(o,r,i){for(var a=0,u=0,s=o.length;u<s;++u){var c,p=o[u],d=n(p,i);d===1/0&&(d=0),c=t instanceof Array?r&&(0,l.default)(r,t):r&&r[t],a+=(void 0!==e[p]&&void 0!==e[p].$uidMap[c]?e[p].$uidMap[c].$numTokenOccurrences:0)*d}return a}}}]),e}()},94387:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(42484);Object.defineProperty(t,"SimpleTokenizer",{enumerable:!0,get:function(){return o.SimpleTokenizer}});var r=n(52954);Object.defineProperty(t,"StemmingTokenizer",{enumerable:!0,get:function(){return r.StemmingTokenizer}});var i=n(20257);Object.defineProperty(t,"StopWordsTokenizer",{enumerable:!0,get:function(){return i.StopWordsTokenizer}})},94755:function(e,t,n){"use strict";var o=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=o(n(17383)),i=o(n(34579)),l=o(n(43693)),a=(n(6284),function(){function e(t){var n=t.cellCount,o=t.cellSizeGetter,i=t.estimatedCellSize;(0,r.default)(this,e),(0,l.default)(this,"_cellSizeAndPositionData",{}),(0,l.default)(this,"_lastMeasuredIndex",-1),(0,l.default)(this,"_lastBatchedIndex",-1),(0,l.default)(this,"_cellCount",void 0),(0,l.default)(this,"_cellSizeGetter",void 0),(0,l.default)(this,"_estimatedCellSize",void 0),this._cellSizeGetter=o,this._cellCount=n,this._estimatedCellSize=i}return(0,i.default)(e,[{key:"areOffsetsAdjusted",value:function(){return!1}},{key:"configure",value:function(e){var t=e.cellCount,n=e.estimatedCellSize,o=e.cellSizeGetter;this._cellCount=t,this._estimatedCellSize=n,this._cellSizeGetter=o}},{key:"getCellCount",value:function(){return this._cellCount}},{key:"getEstimatedCellSize",value:function(){return this._estimatedCellSize}},{key:"getLastMeasuredIndex",value:function(){return this._lastMeasuredIndex}},{key:"getOffsetAdjustment",value:function(){return 0}},{key:"getSizeAndPositionOfCell",value:function(e){if(e<0||e>=this._cellCount)throw Error("Requested index ".concat(e," is outside of range 0..").concat(this._cellCount));if(e>this._lastMeasuredIndex)for(var t=this.getSizeAndPositionOfLastMeasuredCell(),n=t.offset+t.size,o=this._lastMeasuredIndex+1;o<=e;o++){var r=this._cellSizeGetter({index:o});if(void 0===r||isNaN(r))throw Error("Invalid size returned for cell ".concat(o," of value ").concat(r));null===r?(this._cellSizeAndPositionData[o]={offset:n,size:0},this._lastBatchedIndex=e):(this._cellSizeAndPositionData[o]={offset:n,size:r},n+=r,this._lastMeasuredIndex=e)}return this._cellSizeAndPositionData[e]}},{key:"getSizeAndPositionOfLastMeasuredCell",value:function(){return this._lastMeasuredIndex>=0?this._cellSizeAndPositionData[this._lastMeasuredIndex]:{offset:0,size:0}}},{key:"getTotalSize",value:function(){var e=this.getSizeAndPositionOfLastMeasuredCell();return e.offset+e.size+(this._cellCount-this._lastMeasuredIndex-1)*this._estimatedCellSize}},{key:"getUpdatedOffsetForIndex",value:function(e){var t=e.align,n=void 0===t?"auto":t,o=e.containerSize,r=e.currentOffset,i=e.targetIndex;if(o<=0)return 0;var l,a=this.getSizeAndPositionOfCell(i),u=a.offset,s=u-o+a.size;switch(n){case"start":l=u;break;case"end":l=s;break;case"center":l=u-(o-a.size)/2;break;default:l=Math.max(s,Math.min(u,r))}var c=this.getTotalSize();return Math.max(0,Math.min(c-o,l))}},{key:"getVisibleCellRange",value:function(e){var t=e.containerSize,n=e.offset;if(0===this.getTotalSize())return{};var o=n+t,r=this._findNearestCell(n),i=this.getSizeAndPositionOfCell(r);n=i.offset+i.size;for(var l=r;n<o&&l<this._cellCount-1;)l++,n+=this.getSizeAndPositionOfCell(l).size;return{start:r,stop:l}}},{key:"resetCell",value:function(e){this._lastMeasuredIndex=Math.min(this._lastMeasuredIndex,e-1)}},{key:"_binarySearch",value:function(e,t,n){for(;t<=e;){var o=t+Math.floor((e-t)/2),r=this.getSizeAndPositionOfCell(o).offset;if(r===n)return o;r<n?t=o+1:r>n&&(e=o-1)}return t>0?t-1:0}},{key:"_exponentialSearch",value:function(e,t){for(var n=1;e<this._cellCount&&this.getSizeAndPositionOfCell(e).offset<t;)e+=n,n*=2;return this._binarySearch(Math.min(e,this._cellCount-1),Math.floor(e/2),t)}},{key:"_findNearestCell",value:function(e){if(isNaN(e))throw Error("Invalid offset ".concat(e," specified"));e=Math.max(0,e);var t=this.getSizeAndPositionOfLastMeasuredCell(),n=Math.max(0,this._lastMeasuredIndex);return t.offset>=e?this._binarySearch(n,0,e):this._exponentialSearch(n,e)}}]),e}());t.default=a},94845:function(e,t,n){"use strict";var o=n(24994),r=n(6305);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i,l,a=o(n(94634)),u=o(n(17383)),s=o(n(34579)),c=o(n(28452)),p=o(n(63072)),d=o(n(12475)),f=o(n(29511)),h=o(n(43693)),v=r(n(41157)),m=r(n(51609)),g=o(n(20053)),y=(n(63100),o(n(76120)),l=i=function(e){function t(){var e,n;(0,u.default)(this,t);for(var o=arguments.length,r=new Array(o),i=0;i<o;i++)r[i]=arguments[i];return n=(0,c.default)(this,(e=(0,p.default)(t)).call.apply(e,[this].concat(r))),(0,h.default)((0,d.default)(n),"Grid",void 0),(0,h.default)((0,d.default)(n),"_cellRenderer",(function(e){var t=e.parent,o=e.rowIndex,r=e.style,i=e.isScrolling,l=e.isVisible,a=e.key,u=n.props.rowRenderer,s=Object.getOwnPropertyDescriptor(r,"width");return s&&s.writable&&(r.width="100%"),u({index:o,style:r,isScrolling:i,isVisible:l,key:a,parent:t})})),(0,h.default)((0,d.default)(n),"_setRef",(function(e){n.Grid=e})),(0,h.default)((0,d.default)(n),"_onScroll",(function(e){var t=e.clientHeight,o=e.scrollHeight,r=e.scrollTop;(0,n.props.onScroll)({clientHeight:t,scrollHeight:o,scrollTop:r})})),(0,h.default)((0,d.default)(n),"_onSectionRendered",(function(e){var t=e.rowOverscanStartIndex,o=e.rowOverscanStopIndex,r=e.rowStartIndex,i=e.rowStopIndex;(0,n.props.onRowsRendered)({overscanStartIndex:t,overscanStopIndex:o,startIndex:r,stopIndex:i})})),n}return(0,f.default)(t,e),(0,s.default)(t,[{key:"forceUpdateGrid",value:function(){this.Grid&&this.Grid.forceUpdate()}},{key:"getOffsetForRow",value:function(e){var t=e.alignment,n=e.index;return this.Grid?this.Grid.getOffsetForCell({alignment:t,rowIndex:n,columnIndex:0}).scrollTop:0}},{key:"invalidateCellSizeAfterRender",value:function(e){var t=e.columnIndex,n=e.rowIndex;this.Grid&&this.Grid.invalidateCellSizeAfterRender({rowIndex:n,columnIndex:t})}},{key:"measureAllRows",value:function(){this.Grid&&this.Grid.measureAllCells()}},{key:"recomputeGridSize",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.columnIndex,n=void 0===t?0:t,o=e.rowIndex,r=void 0===o?0:o;this.Grid&&this.Grid.recomputeGridSize({rowIndex:r,columnIndex:n})}},{key:"recomputeRowHeights",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.Grid&&this.Grid.recomputeGridSize({rowIndex:e,columnIndex:0})}},{key:"scrollToPosition",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.Grid&&this.Grid.scrollToPosition({scrollTop:e})}},{key:"scrollToRow",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.Grid&&this.Grid.scrollToCell({columnIndex:0,rowIndex:e})}},{key:"render",value:function(){var e=this.props,t=e.className,n=e.noRowsRenderer,o=e.scrollToIndex,r=e.width,i=(0,g.default)("ReactVirtualized__List",t);return m.createElement(v.default,(0,a.default)({},this.props,{autoContainerWidth:!0,cellRenderer:this._cellRenderer,className:i,columnWidth:r,columnCount:1,noContentRenderer:n,onScroll:this._onScroll,onSectionRendered:this._onSectionRendered,ref:this._setRef,scrollToRow:o}))}}]),t}(m.PureComponent),(0,h.default)(i,"propTypes",null),l);t.default=y,(0,h.default)(y,"defaultProps",{autoHeight:!1,estimatedRowSize:30,onScroll:function(){},noRowsRenderer:function(){return null},onRowsRendered:function(){},overscanIndicesGetter:v.accessibilityOverscanIndicesGetter,overscanRowCount:10,scrollToAlignment:"auto",scrollToIndex:-1,style:{}})},96301:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t={};return function(n){var o=n.callback,r=n.indices,i=Object.keys(r),l=!e||i.every((function(e){var t=r[e];return Array.isArray(t)?t.length>0:t>=0})),a=i.length!==Object.keys(t).length||i.some((function(e){var n=t[e],o=r[e];return Array.isArray(o)?n.join(",")!==o.join(","):n!==o}));t=r,l&&a&&o(r)}}}}]);
2
+ (self.webpackChunkdash_core_components=self.webpackChunkdash_core_components||[]).push([[157],{12499:function(e,t,n){"use strict";var r=n(71354),o=n.n(r),i=n(76314),a=n.n(i)()(o());a.push([e.id,".dash-dropdown {\n box-sizing: border-box;\n margin: calc(var(--Dash-Spacing) * 2) 0;\n}\n\n.dash-dropdown-grid-container {\n display: grid;\n grid-template-columns: auto 1fr;\n justify-items: start;\n align-items: center;\n gap: 8px;\n}\n\n.dash-dropdown-grid-container:has(:nth-child(3)) {\n grid-template-columns: auto 1fr auto;\n}\n\n.dash-dropdown-grid-container:has(:nth-child(4)) {\n grid-template-columns: auto 1fr auto auto;\n}\n\n.dash-dropdown-trigger,\n.dash-dropdown-content {\n border-radius: var(--Dash-Spacing);\n border: 1px solid var(--Dash-Stroke-Strong);\n color: inherit;\n text-align: left;\n}\n\n.dash-dropdown-trigger {\n background: inherit;\n padding: 6px 12px;\n width: 100%;\n min-height: 32px;\n height: 100%;\n cursor: pointer;\n font-size: inherit;\n overflow: hidden;\n}\n\n.dash-dropdown-trigger:disabled {\n opacity: 0.6;\n cursor: not-allowed;\n}\n\n.dash-dropdown-value {\n max-width: 100%;\n text-align: left;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n.dash-dropdown-placeholder {\n color: var(--Dash-Text-Disabled);\n}\n\n.dash-dropdown-value > * {\n display: inline;\n}\n\n.dash-dropdown-content {\n background: var(--Dash-Fill-Inverse-Strong);\n min-width: fit-content;\n width: var(--radix-popover-trigger-width);\n overflow-y: auto;\n z-index: 50;\n box-shadow: 0px 10px 38px -10px rgba(22, 23, 24, 0.35),\n 0px 10px 20px -15px rgba(22, 23, 24, 0.2);\n}\n\n.dash-dropdown-value-count,\n.dash-dropdown-trigger-icon {\n color: var(--Dash-Text-Strong);\n fill: var(--Dash-Text-Strong);\n white-space: nowrap;\n justify-self: end;\n}\n\n.dash-dropdown-trigger-icon {\n transition: transform 0.15s;\n}\n\n[data-state='open'] .dash-dropdown-trigger-icon {\n transform: rotate(180deg);\n}\n\n.dash-dropdown-value-count {\n line-height: 18px;\n padding: 0 2px;\n background: var(--Dash-Fill-Weak);\n}\n\n.dash-dropdown-search-container {\n margin: calc(var(--Dash-Spacing) * 2);\n padding: var(--Dash-Spacing);\n border-radius: 4px;\n border: 1px solid var(--Dash-Stroke-Strong);\n background: var(--Dash-Fill-Inverse-Strong);\n}\n\n.dash-dropdown-search-container:focus-within {\n border-color: var(--Dash-Fill-Interactive-Strong);\n}\n\n.dash-dropdown-search-icon,\n.dash-dropdown-clear {\n width: calc(var(--Dash-Spacing) * 3);\n height: calc(var(--Dash-Spacing) * 3);\n}\n\n.dash-dropdown-search-container:focus-within .dash-dropdown-search-icon {\n color: var(--Dash-Fill-Interactive-Strong);\n}\n\n.dash-dropdown-clear {\n background: none;\n border: none;\n cursor: pointer;\n padding: 0;\n display: flex;\n align-items: center;\n justify-content: center;\n justify-self: end;\n color: var(--Dash-Text-Strong);\n}\n\n.dash-dropdown-clear:hover {\n color: var(--Dash-Fill-Interactive-Strong);\n}\n\n.dash-dropdown-clear:focus {\n outline: 2px solid var(--Dash-Fill-Interactive-Strong);\n outline-offset: 1px;\n border-radius: 2px;\n}\n\n.dash-dropdown-search {\n line-height: calc(var(--Dash-Spacing) * 6);\n width: 100%;\n border: none;\n background: transparent;\n color: var(--Dash-Text-Strong);\n outline: none;\n padding: 0;\n\n /* Hide the \"x\" clear button in search inputs */\n &::-webkit-search-cancel-button {\n -webkit-appearance: none;\n appearance: none;\n display: none;\n }\n\n &::-ms-clear {\n display: none;\n }\n}\n\n.dash-dropdown-actions {\n display: flex;\n gap: calc(var(--Dash-Spacing) * 6);\n line-height: 18px;\n padding: var(--Dash-Spacing) calc(var(--Dash-Spacing) * 3);\n border-top: 1px solid var(--Dash-Fill-Disabled);\n border-bottom: 1px solid var(--Dash-Fill-Disabled);\n}\n\n.dash-dropdown-action-button {\n background: none;\n border: none;\n cursor: pointer;\n font-size: 14px;\n font-weight: 600;\n padding: 0;\n text-decoration: none;\n color: var(--Dash-Text-Disabled);\n white-space: nowrap;\n}\n\n.dash-dropdown-action-button:hover {\n color: var(--Dash-Fill-Interactive-Strong);\n}\n\n.dash-dropdown-action-button:focus {\n text-decoration: underline;\n}\n\n.dash-dropdown-options {\n overflow-y: auto;\n}\n\n.dash-dropdown-option {\n padding: var(--Dash-Spacing) calc(var(--Dash-Spacing) * 3);\n background: var(--Dash-Fill-Inverse-strong);\n box-shadow: 0 -1px 0 0 var(--Dash-Fill-Disabled) inset;\n color: var(--Dash-Text-Strong);\n cursor: pointer;\n display: flex;\n align-items: center;\n user-select: none;\n overflow: hidden;\n}\n\n.dash-dropdown-option:not(:has(input[disabled])):hover,\n.dash-dropdown-option:not(:has(input[disabled])):focus-within {\n color: var(--Dash-Fill-Interactive-Strong);\n background: var(--Dash-Fill-Interactive-Weak);\n}\n\n.dash-dropdown-option:has(input[disabled]) {\n color: var(--Dash-Text-Disabled);\n cursor: not-allowed;\n}\n\n.dash-dropdown-option-text {\n white-space: pre;\n}\n\n.dash-dropdown-option-checkbox {\n display: inline-block;\n margin: 0 calc(var(--Dash-Spacing) * 2) 0 0;\n box-sizing: border-box;\n border: 1px solid var(--Dash-Stroke-Strong);\n}\n\n.dash-dropdown-option-checkbox:hover,\n.dash-dropdown-option-checkbox:focus,\n.dash-dropdown-option-checkbox:checked {\n accent-color: var(--Dash-Fill-Interactive-Strong);\n}\n","",{version:3,sources:["webpack://./src/components/css/dropdown.css"],names:[],mappings:"AAAA;IACI,sBAAsB;IACtB,uCAAuC;AAC3C;;AAEA;IACI,aAAa;IACb,+BAA+B;IAC/B,oBAAoB;IACpB,mBAAmB;IACnB,QAAQ;AACZ;;AAEA;IACI,oCAAoC;AACxC;;AAEA;IACI,yCAAyC;AAC7C;;AAEA;;IAEI,kCAAkC;IAClC,2CAA2C;IAC3C,cAAc;IACd,gBAAgB;AACpB;;AAEA;IACI,mBAAmB;IACnB,iBAAiB;IACjB,WAAW;IACX,gBAAgB;IAChB,YAAY;IACZ,eAAe;IACf,kBAAkB;IAClB,gBAAgB;AACpB;;AAEA;IACI,YAAY;IACZ,mBAAmB;AACvB;;AAEA;IACI,eAAe;IACf,gBAAgB;IAChB,gBAAgB;IAChB,uBAAuB;IACvB,mBAAmB;AACvB;;AAEA;IACI,gCAAgC;AACpC;;AAEA;IACI,eAAe;AACnB;;AAEA;IACI,2CAA2C;IAC3C,sBAAsB;IACtB,yCAAyC;IACzC,gBAAgB;IAChB,WAAW;IACX;iDAC6C;AACjD;;AAEA;;IAEI,8BAA8B;IAC9B,6BAA6B;IAC7B,mBAAmB;IACnB,iBAAiB;AACrB;;AAEA;IACI,2BAA2B;AAC/B;;AAEA;IACI,yBAAyB;AAC7B;;AAEA;IACI,iBAAiB;IACjB,cAAc;IACd,iCAAiC;AACrC;;AAEA;IACI,qCAAqC;IACrC,4BAA4B;IAC5B,kBAAkB;IAClB,2CAA2C;IAC3C,2CAA2C;AAC/C;;AAEA;IACI,iDAAiD;AACrD;;AAEA;;IAEI,oCAAoC;IACpC,qCAAqC;AACzC;;AAEA;IACI,0CAA0C;AAC9C;;AAEA;IACI,gBAAgB;IAChB,YAAY;IACZ,eAAe;IACf,UAAU;IACV,aAAa;IACb,mBAAmB;IACnB,uBAAuB;IACvB,iBAAiB;IACjB,8BAA8B;AAClC;;AAEA;IACI,0CAA0C;AAC9C;;AAEA;IACI,sDAAsD;IACtD,mBAAmB;IACnB,kBAAkB;AACtB;;AAEA;IACI,0CAA0C;IAC1C,WAAW;IACX,YAAY;IACZ,uBAAuB;IACvB,8BAA8B;IAC9B,aAAa;IACb,UAAU;;IAEV,+CAA+C;IAC/C;QACI,wBAAwB;QACxB,gBAAgB;QAChB,aAAa;IACjB;;IAEA;QACI,aAAa;IACjB;AACJ;;AAEA;IACI,aAAa;IACb,kCAAkC;IAClC,iBAAiB;IACjB,0DAA0D;IAC1D,+CAA+C;IAC/C,kDAAkD;AACtD;;AAEA;IACI,gBAAgB;IAChB,YAAY;IACZ,eAAe;IACf,eAAe;IACf,gBAAgB;IAChB,UAAU;IACV,qBAAqB;IACrB,gCAAgC;IAChC,mBAAmB;AACvB;;AAEA;IACI,0CAA0C;AAC9C;;AAEA;IACI,0BAA0B;AAC9B;;AAEA;IACI,gBAAgB;AACpB;;AAEA;IACI,0DAA0D;IAC1D,2CAA2C;IAC3C,sDAAsD;IACtD,8BAA8B;IAC9B,eAAe;IACf,aAAa;IACb,mBAAmB;IACnB,iBAAiB;IACjB,gBAAgB;AACpB;;AAEA;;IAEI,0CAA0C;IAC1C,6CAA6C;AACjD;;AAEA;IACI,gCAAgC;IAChC,mBAAmB;AACvB;;AAEA;IACI,gBAAgB;AACpB;;AAEA;IACI,qBAAqB;IACrB,2CAA2C;IAC3C,sBAAsB;IACtB,2CAA2C;AAC/C;;AAEA;;;IAGI,iDAAiD;AACrD",sourcesContent:[".dash-dropdown {\n box-sizing: border-box;\n margin: calc(var(--Dash-Spacing) * 2) 0;\n}\n\n.dash-dropdown-grid-container {\n display: grid;\n grid-template-columns: auto 1fr;\n justify-items: start;\n align-items: center;\n gap: 8px;\n}\n\n.dash-dropdown-grid-container:has(:nth-child(3)) {\n grid-template-columns: auto 1fr auto;\n}\n\n.dash-dropdown-grid-container:has(:nth-child(4)) {\n grid-template-columns: auto 1fr auto auto;\n}\n\n.dash-dropdown-trigger,\n.dash-dropdown-content {\n border-radius: var(--Dash-Spacing);\n border: 1px solid var(--Dash-Stroke-Strong);\n color: inherit;\n text-align: left;\n}\n\n.dash-dropdown-trigger {\n background: inherit;\n padding: 6px 12px;\n width: 100%;\n min-height: 32px;\n height: 100%;\n cursor: pointer;\n font-size: inherit;\n overflow: hidden;\n}\n\n.dash-dropdown-trigger:disabled {\n opacity: 0.6;\n cursor: not-allowed;\n}\n\n.dash-dropdown-value {\n max-width: 100%;\n text-align: left;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n.dash-dropdown-placeholder {\n color: var(--Dash-Text-Disabled);\n}\n\n.dash-dropdown-value > * {\n display: inline;\n}\n\n.dash-dropdown-content {\n background: var(--Dash-Fill-Inverse-Strong);\n min-width: fit-content;\n width: var(--radix-popover-trigger-width);\n overflow-y: auto;\n z-index: 50;\n box-shadow: 0px 10px 38px -10px rgba(22, 23, 24, 0.35),\n 0px 10px 20px -15px rgba(22, 23, 24, 0.2);\n}\n\n.dash-dropdown-value-count,\n.dash-dropdown-trigger-icon {\n color: var(--Dash-Text-Strong);\n fill: var(--Dash-Text-Strong);\n white-space: nowrap;\n justify-self: end;\n}\n\n.dash-dropdown-trigger-icon {\n transition: transform 0.15s;\n}\n\n[data-state='open'] .dash-dropdown-trigger-icon {\n transform: rotate(180deg);\n}\n\n.dash-dropdown-value-count {\n line-height: 18px;\n padding: 0 2px;\n background: var(--Dash-Fill-Weak);\n}\n\n.dash-dropdown-search-container {\n margin: calc(var(--Dash-Spacing) * 2);\n padding: var(--Dash-Spacing);\n border-radius: 4px;\n border: 1px solid var(--Dash-Stroke-Strong);\n background: var(--Dash-Fill-Inverse-Strong);\n}\n\n.dash-dropdown-search-container:focus-within {\n border-color: var(--Dash-Fill-Interactive-Strong);\n}\n\n.dash-dropdown-search-icon,\n.dash-dropdown-clear {\n width: calc(var(--Dash-Spacing) * 3);\n height: calc(var(--Dash-Spacing) * 3);\n}\n\n.dash-dropdown-search-container:focus-within .dash-dropdown-search-icon {\n color: var(--Dash-Fill-Interactive-Strong);\n}\n\n.dash-dropdown-clear {\n background: none;\n border: none;\n cursor: pointer;\n padding: 0;\n display: flex;\n align-items: center;\n justify-content: center;\n justify-self: end;\n color: var(--Dash-Text-Strong);\n}\n\n.dash-dropdown-clear:hover {\n color: var(--Dash-Fill-Interactive-Strong);\n}\n\n.dash-dropdown-clear:focus {\n outline: 2px solid var(--Dash-Fill-Interactive-Strong);\n outline-offset: 1px;\n border-radius: 2px;\n}\n\n.dash-dropdown-search {\n line-height: calc(var(--Dash-Spacing) * 6);\n width: 100%;\n border: none;\n background: transparent;\n color: var(--Dash-Text-Strong);\n outline: none;\n padding: 0;\n\n /* Hide the \"x\" clear button in search inputs */\n &::-webkit-search-cancel-button {\n -webkit-appearance: none;\n appearance: none;\n display: none;\n }\n\n &::-ms-clear {\n display: none;\n }\n}\n\n.dash-dropdown-actions {\n display: flex;\n gap: calc(var(--Dash-Spacing) * 6);\n line-height: 18px;\n padding: var(--Dash-Spacing) calc(var(--Dash-Spacing) * 3);\n border-top: 1px solid var(--Dash-Fill-Disabled);\n border-bottom: 1px solid var(--Dash-Fill-Disabled);\n}\n\n.dash-dropdown-action-button {\n background: none;\n border: none;\n cursor: pointer;\n font-size: 14px;\n font-weight: 600;\n padding: 0;\n text-decoration: none;\n color: var(--Dash-Text-Disabled);\n white-space: nowrap;\n}\n\n.dash-dropdown-action-button:hover {\n color: var(--Dash-Fill-Interactive-Strong);\n}\n\n.dash-dropdown-action-button:focus {\n text-decoration: underline;\n}\n\n.dash-dropdown-options {\n overflow-y: auto;\n}\n\n.dash-dropdown-option {\n padding: var(--Dash-Spacing) calc(var(--Dash-Spacing) * 3);\n background: var(--Dash-Fill-Inverse-strong);\n box-shadow: 0 -1px 0 0 var(--Dash-Fill-Disabled) inset;\n color: var(--Dash-Text-Strong);\n cursor: pointer;\n display: flex;\n align-items: center;\n user-select: none;\n overflow: hidden;\n}\n\n.dash-dropdown-option:not(:has(input[disabled])):hover,\n.dash-dropdown-option:not(:has(input[disabled])):focus-within {\n color: var(--Dash-Fill-Interactive-Strong);\n background: var(--Dash-Fill-Interactive-Weak);\n}\n\n.dash-dropdown-option:has(input[disabled]) {\n color: var(--Dash-Text-Disabled);\n cursor: not-allowed;\n}\n\n.dash-dropdown-option-text {\n white-space: pre;\n}\n\n.dash-dropdown-option-checkbox {\n display: inline-block;\n margin: 0 calc(var(--Dash-Spacing) * 2) 0 0;\n box-sizing: border-box;\n border: 1px solid var(--Dash-Stroke-Strong);\n}\n\n.dash-dropdown-option-checkbox:hover,\n.dash-dropdown-option-checkbox:focus,\n.dash-dropdown-option-checkbox:checked {\n accent-color: var(--Dash-Fill-Interactive-Strong);\n}\n"],sourceRoot:""}]),t.A=a},19640:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return Ti}});var r=n(51647),o=n(4376),i=n(66811),a=n(51609),c=n.t(a,2),l=n.n(a),u=function(){function e(){}return e.prototype.expandToken=function(e){for(var t,n=[],r=0,o=e.length;r<o;++r){t="";for(var i=r;i<o;++i)t+=e.charAt(i),n.push(t)}return n},e}(),s=function(){function e(){}return e.prototype.expandToken=function(e){for(var t=[],n="",r=0,o=e.length;r<o;++r)n+=e.charAt(r),t.push(n);return t},e}(),f=function(){function e(){}return e.prototype.sanitize=function(e){return e?e.toLocaleLowerCase().trim():""},e}();function d(e,t){t=t||[];for(var n=e=e||{},r=0;r<t.length;r++)if(null==(n=n[t[r]]))return null;return n}var p=function(){function e(e){this._uidFieldName=e,this._tokenToIdfCache={},this._tokenMap={}}var t=e.prototype;return t.indexDocument=function(e,t,n){this._tokenToIdfCache={};var r,o=this._tokenMap;"object"!=typeof o[e]?o[e]=r={$numDocumentOccurrences:0,$totalNumOccurrences:1,$uidMap:{}}:(r=o[e]).$totalNumOccurrences++;var i=r.$uidMap;"object"!=typeof i[t]?(r.$numDocumentOccurrences++,i[t]={$document:n,$numTokenOccurrences:1}):i[t].$numTokenOccurrences++},t.search=function(e,t){for(var n={},r=0,o=e.length;r<o;r++){var i,a=e[r],c=this._tokenMap[a];if(!c)return[];if(0===r)for(var l=0,u=(i=Object.keys(c.$uidMap)).length;l<u;l++)n[s=i[l]]=c.$uidMap[s].$document;else for(l=0,u=(i=Object.keys(n)).length;l<u;l++){var s=i[l];"object"!=typeof c.$uidMap[s]&&delete n[s]}}var f=[];for(var s in n)f.push(n[s]);var d=this._createCalculateTfIdf();return f.sort((function(n,r){return d(e,r,t)-d(e,n,t)}))},t._createCalculateIdf=function(){var e=this._tokenMap,t=this._tokenToIdfCache;return function(n,r){if(!t[n]){var o=void 0!==e[n]?e[n].$numDocumentOccurrences:0;t[n]=1+Math.log(r.length/(1+o))}return t[n]}},t._createCalculateTfIdf=function(){var e=this._tokenMap,t=this._uidFieldName,n=this._createCalculateIdf();return function(r,o,i){for(var a=0,c=0,l=r.length;c<l;++c){var u,s=r[c],f=n(s,i);f===1/0&&(f=0),u=t instanceof Array?o&&d(o,t):o&&o[t],a+=(void 0!==e[s]&&void 0!==e[s].$uidMap[u]?e[s].$uidMap[u].$numTokenOccurrences:0)*f}return a}},e}(),v=function(){function e(){this._tokenToUidToDocumentMap={}}var t=e.prototype;return t.indexDocument=function(e,t,n){"object"!=typeof this._tokenToUidToDocumentMap[e]&&(this._tokenToUidToDocumentMap[e]={}),this._tokenToUidToDocumentMap[e][t]=n},t.search=function(e,t){for(var n={},r=this._tokenToUidToDocumentMap,o=0,i=e.length;o<i;o++){var a=r[e[o]];if(!a)return[];if(0===o)for(var c=0,l=(u=Object.keys(a)).length;c<l;c++)n[f=u[c]]=a[f];else for(c=0,l=(u=Object.keys(n)).length;c<l;c++)"object"!=typeof a[f=u[c]]&&delete n[f]}var u,s=[];for(o=0,l=(u=Object.keys(n)).length;o<l;o++){var f=u[o];s.push(n[f])}return s},e}(),h=/[^a-zа-яё0-9\-']+/i,m=function(){function e(){}return e.prototype.tokenize=function(e){return e.split(h).filter((function(e){return e}))},e}();function g(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var y=function(){function e(e){if(!e)throw Error("js-search requires a uid field name constructor parameter");this._uidFieldName=e,this._indexStrategy=new s,this._searchIndex=new p(e),this._sanitizer=new f,this._tokenizer=new m,this._documents=[],this._searchableFields=[]}var t,n,r=e.prototype;return r.addDocument=function(e){this.addDocuments([e])},r.addDocuments=function(e){this._documents=this._documents.concat(e),this.indexDocuments_(e,this._searchableFields)},r.addIndex=function(e){this._searchableFields.push(e),this.indexDocuments_(this._documents,[e])},r.search=function(e){var t=this._tokenizer.tokenize(this._sanitizer.sanitize(e));return this._searchIndex.search(t,this._documents)},r.indexDocuments_=function(e,t){this._initialized=!0;for(var n=this._indexStrategy,r=this._sanitizer,o=this._searchIndex,i=this._tokenizer,a=this._uidFieldName,c=0,l=e.length;c<l;c++){var u,s=e[c];u=a instanceof Array?d(s,a):s[a];for(var f=0,p=t.length;f<p;f++){var v,h=t[f];if(null!=(v=h instanceof Array?d(s,h):s[h])&&"string"!=typeof v&&v.toString&&(v=v.toString()),"string"==typeof v)for(var m=i.tokenize(r.sanitize(v)),g=0,y=m.length;g<y;g++)for(var b=m[g],A=n.expandToken(b),w=0,O=A.length;w<O;w++){var x=A[w];o.indexDocument(x,u,s)}}}},t=e,(n=[{key:"indexStrategy",set:function(e){if(this._initialized)throw Error("IIndexStrategy cannot be set after initialization");this._indexStrategy=e},get:function(){return this._indexStrategy}},{key:"sanitizer",set:function(e){if(this._initialized)throw Error("ISanitizer cannot be set after initialization");this._sanitizer=e},get:function(){return this._sanitizer}},{key:"searchIndex",set:function(e){if(this._initialized)throw Error("ISearchIndex cannot be set after initialization");this._searchIndex=e},get:function(){return this._searchIndex}},{key:"tokenizer",set:function(e){if(this._initialized)throw Error("ITokenizer cannot be set after initialization");this._tokenizer=e},get:function(){return this._tokenizer}}])&&g(t.prototype,n),e}(),b=n(53532),A=/\s+/,w={tokenize(e){return e.split(A).filter((e=>e))}};function O(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}var x=["color"],C=(0,a.forwardRef)((function(e,t){var n=e.color,r=void 0===n?"currentColor":n,o=O(e,x);return(0,a.createElement)("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},o,{ref:t}),(0,a.createElement)("path",{d:"M4.18179 6.18181C4.35753 6.00608 4.64245 6.00608 4.81819 6.18181L7.49999 8.86362L10.1818 6.18181C10.3575 6.00608 10.6424 6.00608 10.8182 6.18181C10.9939 6.35755 10.9939 6.64247 10.8182 6.81821L7.81819 9.81821C7.73379 9.9026 7.61934 9.95001 7.49999 9.95001C7.38064 9.95001 7.26618 9.9026 7.18179 9.81821L4.18179 6.81821C4.00605 6.64247 4.00605 6.35755 4.18179 6.18181Z",fill:r,fillRule:"evenodd",clipRule:"evenodd"}))})),E=["color"],S=(0,a.forwardRef)((function(e,t){var n=e.color,r=void 0===n?"currentColor":n,o=O(e,E);return(0,a.createElement)("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},o,{ref:t}),(0,a.createElement)("path",{d:"M12.8536 2.85355C13.0488 2.65829 13.0488 2.34171 12.8536 2.14645C12.6583 1.95118 12.3417 1.95118 12.1464 2.14645L7.5 6.79289L2.85355 2.14645C2.65829 1.95118 2.34171 1.95118 2.14645 2.14645C1.95118 2.34171 1.95118 2.65829 2.14645 2.85355L6.79289 7.5L2.14645 12.1464C1.95118 12.3417 1.95118 12.6583 2.14645 12.8536C2.34171 13.0488 2.65829 13.0488 2.85355 12.8536L7.5 8.20711L12.1464 12.8536C12.3417 13.0488 12.6583 13.0488 12.8536 12.8536C13.0488 12.6583 13.0488 12.3417 12.8536 12.1464L8.20711 7.5L12.8536 2.85355Z",fill:r,fillRule:"evenodd",clipRule:"evenodd"}))})),j=["color"],P=(0,a.forwardRef)((function(e,t){var n=e.color,r=void 0===n?"currentColor":n,o=O(e,j);return(0,a.createElement)("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},o,{ref:t}),(0,a.createElement)("path",{d:"M10 6.5C10 8.433 8.433 10 6.5 10C4.567 10 3 8.433 3 6.5C3 4.567 4.567 3 6.5 3C8.433 3 10 4.567 10 6.5ZM9.30884 10.0159C8.53901 10.6318 7.56251 11 6.5 11C4.01472 11 2 8.98528 2 6.5C2 4.01472 4.01472 2 6.5 2C8.98528 2 11 4.01472 11 6.5C11 7.56251 10.6318 8.53901 10.0159 9.30884L12.8536 12.1464C13.0488 12.3417 13.0488 12.6583 12.8536 12.8536C12.6583 13.0488 12.3417 13.0488 12.1464 12.8536L9.30884 10.0159Z",fill:r,fillRule:"evenodd",clipRule:"evenodd"}))})),I=n(37549),D=n(30855),k=n(49309),B=n(11592);function T(e){var t=a.useRef(e);return a.useEffect((()=>{t.current=e})),a.useMemo((()=>function(){for(var e,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return null===(e=t.current)||void 0===e?void 0:e.call(t,...r)}),[])}var _=n(74848),R=["disableOutsidePointerEvents","onEscapeKeyDown","onPointerDownOutside","onFocusOutside","onInteractOutside","onDismiss"];function M(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function N(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?M(Object(n),!0).forEach((function(t){F(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):M(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function F(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function L(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,c=[],l=!0,u=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(c.push(r.value),c.length!==t);l=!0);}catch(e){u=!0,o=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(u)throw o}}return c}}(e,t)||function(e,t){if(e){if("string"==typeof e)return z(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?z(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function z(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var W,U="dismissableLayer.update",H=a.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),$=a.forwardRef(((e,t)=>{var n,r=e.disableOutsidePointerEvents,o=void 0!==r&&r,i=e.onEscapeKeyDown,c=e.onPointerDownOutside,l=e.onFocusOutside,u=e.onInteractOutside,s=e.onDismiss,f=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,R),d=a.useContext(H),p=L(a.useState(null),2),v=p[0],h=p[1],m=null!==(n=null==v?void 0:v.ownerDocument)&&void 0!==n?n:null===globalThis||void 0===globalThis?void 0:globalThis.document,g=L(a.useState({}),2)[1],y=(0,D.s)(t,(e=>h(e))),b=Array.from(d.layers),A=L([...d.layersWithOutsidePointerEventsDisabled].slice(-1),1)[0],w=b.indexOf(A),O=v?b.indexOf(v):-1,x=d.layersWithOutsidePointerEventsDisabled.size>0,C=O>=w,E=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null===globalThis||void 0===globalThis?void 0:globalThis.document,n=T(e),r=a.useRef(!1),o=a.useRef((()=>{}));return a.useEffect((()=>{var e=e=>{if(e.target&&!r.current){var i=function(){Y("dismissableLayer.pointerDownOutside",n,a,{discrete:!0})},a={originalEvent:e};"touch"===e.pointerType?(t.removeEventListener("click",o.current),o.current=i,t.addEventListener("click",o.current,{once:!0})):i()}else t.removeEventListener("click",o.current);r.current=!1},i=window.setTimeout((()=>{t.addEventListener("pointerdown",e)}),0);return()=>{window.clearTimeout(i),t.removeEventListener("pointerdown",e),t.removeEventListener("click",o.current)}}),[t,n]),{onPointerDownCapture:()=>r.current=!0}}((e=>{var t=e.target,n=[...d.branches].some((e=>e.contains(t)));C&&!n&&(null==c||c(e),null==u||u(e),e.defaultPrevented||null==s||s())}),m),S=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null===globalThis||void 0===globalThis?void 0:globalThis.document,n=T(e),r=a.useRef(!1);return a.useEffect((()=>{var e=e=>{e.target&&!r.current&&Y("dismissableLayer.focusOutside",n,{originalEvent:e},{discrete:!1})};return t.addEventListener("focusin",e),()=>t.removeEventListener("focusin",e)}),[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}((e=>{var t=e.target;[...d.branches].some((e=>e.contains(t)))||(null==l||l(e),null==u||u(e),e.defaultPrevented||null==s||s())}),m);return function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null===globalThis||void 0===globalThis?void 0:globalThis.document,n=T(e);a.useEffect((()=>{var e=e=>{"Escape"===e.key&&n(e)};return t.addEventListener("keydown",e,{capture:!0}),()=>t.removeEventListener("keydown",e,{capture:!0})}),[n,t])}((e=>{O===d.layers.size-1&&(null==i||i(e),!e.defaultPrevented&&s&&(e.preventDefault(),s()))}),m),a.useEffect((()=>{if(v)return o&&(0===d.layersWithOutsidePointerEventsDisabled.size&&(W=m.body.style.pointerEvents,m.body.style.pointerEvents="none"),d.layersWithOutsidePointerEventsDisabled.add(v)),d.layers.add(v),K(),()=>{o&&1===d.layersWithOutsidePointerEventsDisabled.size&&(m.body.style.pointerEvents=W)}}),[v,m,o,d]),a.useEffect((()=>()=>{v&&(d.layers.delete(v),d.layersWithOutsidePointerEventsDisabled.delete(v),K())}),[v,d]),a.useEffect((()=>{var e=()=>g({});return document.addEventListener(U,e),()=>document.removeEventListener(U,e)}),[]),(0,_.jsx)(B.sG.div,N(N({},f),{},{ref:y,style:N({pointerEvents:x?C?"auto":"none":void 0},e.style),onFocusCapture:(0,I.mK)(e.onFocusCapture,S.onFocusCapture),onBlurCapture:(0,I.mK)(e.onBlurCapture,S.onBlurCapture),onPointerDownCapture:(0,I.mK)(e.onPointerDownCapture,E.onPointerDownCapture)}))}));function K(){var e=new CustomEvent(U);document.dispatchEvent(e)}function Y(e,t,n,r){var o=r.discrete,i=n.originalEvent.target,a=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&i.addEventListener(e,t,{once:!0}),o?(0,B.hO)(i,a):i.dispatchEvent(a)}$.displayName="DismissableLayer",a.forwardRef(((e,t)=>{var n=a.useContext(H),r=a.useRef(null),o=(0,D.s)(t,r);return a.useEffect((()=>{var e=r.current;if(e)return n.branches.add(e),()=>{n.branches.delete(e)}}),[n.branches]),(0,_.jsx)(B.sG.div,N(N({},e),{},{ref:o}))})).displayName="DismissableLayerBranch";var G=0;function V(){var e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.style.position="fixed",e.style.pointerEvents="none",e}var q=["loop","trapped","onMountAutoFocus","onUnmountAutoFocus"];function X(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Z(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?X(Object(n),!0).forEach((function(t){Q(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):X(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Q(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function J(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=te(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,c=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){c=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(c)throw i}}}}function ee(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,c=[],l=!0,u=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(c.push(r.value),c.length!==t);l=!0);}catch(e){u=!0,o=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(u)throw o}}return c}}(e,t)||te(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function te(e,t){if(e){if("string"==typeof e)return ne(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?ne(e,t):void 0}}function ne(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var re="focusScope.autoFocusOnMount",oe="focusScope.autoFocusOnUnmount",ie={bubbles:!1,cancelable:!0},ae=a.forwardRef(((e,t)=>{var n=e.loop,r=void 0!==n&&n,o=e.trapped,i=void 0!==o&&o,c=e.onMountAutoFocus,l=e.onUnmountAutoFocus,u=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,q),s=ee(a.useState(null),2),f=s[0],d=s[1],p=T(c),v=T(l),h=a.useRef(null),m=(0,D.s)(t,(e=>d(e))),g=a.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;a.useEffect((()=>{if(i){var e=function(e){if(!g.paused&&f){var t=e.target;f.contains(t)?h.current=t:se(h.current,{select:!0})}},t=function(e){if(!g.paused&&f){var t=e.relatedTarget;null!==t&&(f.contains(t)||se(h.current,{select:!0}))}};document.addEventListener("focusin",e),document.addEventListener("focusout",t);var n=new MutationObserver((function(e){if(document.activeElement===document.body){var t,n=J(e);try{for(n.s();!(t=n.n()).done;)t.value.removedNodes.length>0&&se(f)}catch(e){n.e(e)}finally{n.f()}}}));return f&&n.observe(f,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",e),document.removeEventListener("focusout",t),n.disconnect()}}}),[i,f,g.paused]),a.useEffect((()=>{if(f){de.add(g);var e=document.activeElement;if(!f.contains(e)){var t=new CustomEvent(re,ie);f.addEventListener(re,p),f.dispatchEvent(t),t.defaultPrevented||(function(e){var t,n=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).select,r=void 0!==n&&n,o=document.activeElement,i=J(e);try{for(i.s();!(t=i.n()).done;)if(se(t.value,{select:r}),document.activeElement!==o)return}catch(e){i.e(e)}finally{i.f()}}(ce(f).filter((e=>"A"!==e.tagName)),{select:!0}),document.activeElement===e&&se(f))}return()=>{f.removeEventListener(re,p),setTimeout((()=>{var t=new CustomEvent(oe,ie);f.addEventListener(oe,v),f.dispatchEvent(t),t.defaultPrevented||se(null!=e?e:document.body,{select:!0}),f.removeEventListener(oe,v),de.remove(g)}),0)}}}),[f,p,v,g]);var y=a.useCallback((e=>{if((r||i)&&!g.paused){var t="Tab"===e.key&&!e.altKey&&!e.ctrlKey&&!e.metaKey,n=document.activeElement;if(t&&n){var o=e.currentTarget,a=function(e){var t=ce(e);return[le(t,e),le(t.reverse(),e)]}(o),c=ee(a,2),l=c[0],u=c[1];l&&u?e.shiftKey||n!==u?e.shiftKey&&n===l&&(e.preventDefault(),r&&se(u,{select:!0})):(e.preventDefault(),r&&se(l,{select:!0})):n===o&&e.preventDefault()}}}),[r,i,g.paused]);return(0,_.jsx)(B.sG.div,Z(Z({tabIndex:-1},u),{},{ref:m,onKeyDown:y}))}));function ce(e){for(var t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>{var t="INPUT"===e.tagName&&"hidden"===e.type;return e.disabled||e.hidden||t?NodeFilter.FILTER_SKIP:e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});n.nextNode();)t.push(n.currentNode);return t}function le(e,t){var n,r=J(e);try{for(r.s();!(n=r.n()).done;){var o=n.value;if(!ue(o,{upTo:t}))return o}}catch(e){r.e(e)}finally{r.f()}}function ue(e,t){var n=t.upTo;if("hidden"===getComputedStyle(e).visibility)return!0;for(;e;){if(void 0!==n&&e===n)return!1;if("none"===getComputedStyle(e).display)return!0;e=e.parentElement}return!1}function se(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).select,n=void 0!==t&&t;if(e&&e.focus){var r=document.activeElement;e.focus({preventScroll:!0}),e!==r&&function(e){return e instanceof HTMLInputElement&&"select"in e}(e)&&n&&e.select()}}ae.displayName="FocusScope";var fe,de=(fe=[],{add(e){var t=fe[0];e!==t&&(null==t||t.pause()),(fe=pe(fe,e)).unshift(e)},remove(e){var t;null===(t=(fe=pe(fe,e))[0])||void 0===t||t.resume()}});function pe(e,t){var n=[...e],r=n.indexOf(t);return-1!==r&&n.splice(r,1),n}var ve=n(48240);function he(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var me=c[" useId ".trim().toString()]||(()=>{}),ge=0;function ye(e){var t,n,r=(t=a.useState(me()),n=2,function(e){if(Array.isArray(e))return e}(t)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,c=[],l=!0,u=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(c.push(r.value),c.length!==t);l=!0);}catch(e){u=!0,o=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(u)throw o}}return c}}(t,n)||function(e,t){if(e){if("string"==typeof e)return he(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?he(e,t):void 0}}(t,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),o=r[0],i=r[1];return(0,ve.N)((()=>{e||i((e=>null!=e?e:String(ge++)))}),[e]),e||(o?"radix-".concat(o):"")}function be(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Ae(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var we=["top","right","bottom","left"],Oe=Math.min,xe=Math.max,Ce=Math.round,Ee=Math.floor,Se=e=>({x:e,y:e}),je={left:"right",right:"left",bottom:"top",top:"bottom"},Pe={start:"end",end:"start"};function Ie(e,t,n){return xe(e,Oe(t,n))}function De(e,t){return"function"==typeof e?e(t):e}function ke(e){return e.split("-")[0]}function Be(e){return e.split("-")[1]}function Te(e){return"x"===e?"y":"x"}function _e(e){return"y"===e?"height":"width"}var Re=new Set(["top","bottom"]);function Me(e){return Re.has(ke(e))?"y":"x"}function Ne(e){return Te(Me(e))}function Fe(e,t,n){void 0===n&&(n=!1);var r=Be(e),o=Ne(e),i=_e(o),a="x"===o?r===(n?"end":"start")?"right":"left":"start"===r?"bottom":"top";return t.reference[i]>t.floating[i]&&(a=Ye(a)),[a,Ye(a)]}function Le(e){var t=Ye(e);return[ze(e),t,ze(t)]}function ze(e){return e.replace(/start|end/g,(e=>Pe[e]))}var We=["left","right"],Ue=["right","left"],He=["top","bottom"],$e=["bottom","top"];function Ke(e,t,n,r){var o=Be(e),i=function(e,t,n){switch(e){case"top":case"bottom":return n?t?Ue:We:t?We:Ue;case"left":case"right":return t?He:$e;default:return[]}}(ke(e),"start"===n,r);return o&&(i=i.map((e=>e+"-"+o)),t&&(i=i.concat(i.map(ze)))),i}function Ye(e){return e.replace(/left|right|bottom|top/g,(e=>je[e]))}function Ge(e){return"number"!=typeof e?function(e){return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?be(Object(n),!0).forEach((function(t){Ae(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):be(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({top:0,right:0,bottom:0,left:0},e)}(e):{top:e,right:e,bottom:e,left:e}}function Ve(e){var t=e.x,n=e.y,r=e.width,o=e.height;return{width:r,height:o,top:n,left:t,right:t+r,bottom:n+o,x:t,y:n}}var qe=["mainAxis","crossAxis","fallbackPlacements","fallbackStrategy","fallbackAxisSideDirection","flipAlignment"],Xe=["strategy"],Ze=["mainAxis","crossAxis","limiter"],Qe=["apply"];function Je(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function et(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",o=n.toStringTag||"@@toStringTag";function i(n,r,o,i){var l=r&&r.prototype instanceof c?r:c,u=Object.create(l.prototype);return tt(u,"_invoke",function(n,r,o){var i,c,l,u=0,s=o||[],f=!1,d={p:0,n:0,v:e,a:p,f:p.bind(e,4),d:function(t,n){return i=t,c=0,l=e,d.n=n,a}};function p(n,r){for(c=n,l=r,t=0;!f&&u&&!o&&t<s.length;t++){var o,i=s[t],p=d.p,v=i[2];n>3?(o=v===r)&&(l=i[(c=i[4])?5:(c=3,3)],i[4]=i[5]=e):i[0]<=p&&((o=n<2&&p<i[1])?(c=0,d.v=r,d.n=i[1]):p<v&&(o=n<3||i[0]>r||r>v)&&(i[4]=n,i[5]=r,d.n=v,c=0))}if(o||n>1)return a;throw f=!0,r}return function(o,s,v){if(u>1)throw TypeError("Generator is already running");for(f&&1===s&&p(s,v),c=s,l=v;(t=c<2?e:l)||!f;){i||(c?c<3?(c>1&&(d.n=-1),p(c,l)):d.n=l:d.v=l);try{if(u=2,i){if(c||(o="next"),t=i[o]){if(!(t=t.call(i,l)))throw TypeError("iterator result is not an object");if(!t.done)return t;l=t.value,c<2&&(c=0)}else 1===c&&(t=i.return)&&t.call(i),c<2&&(l=TypeError("The iterator does not provide a '"+o+"' method"),c=1);i=e}else if((t=(f=d.n<0)?l:n.call(r,d))!==a)break}catch(t){i=e,c=1,l=t}finally{u=1}}return{value:t,done:f}}}(n,o,i),!0),u}var a={};function c(){}function l(){}function u(){}t=Object.getPrototypeOf;var s=[][r]?t(t([][r]())):(tt(t={},r,(function(){return this})),t),f=u.prototype=c.prototype=Object.create(s);function d(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,u):(e.__proto__=u,tt(e,o,"GeneratorFunction")),e.prototype=Object.create(f),e}return l.prototype=u,tt(f,"constructor",u),tt(u,"constructor",l),l.displayName="GeneratorFunction",tt(u,o,"GeneratorFunction"),tt(f),tt(f,o,"Generator"),tt(f,r,(function(){return this})),tt(f,"toString",(function(){return"[object Generator]"})),(et=function(){return{w:i,m:d}})()}function tt(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}tt=function(e,t,n,r){if(t)o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n;else{function i(t,n){tt(e,t,(function(e){return this._invoke(t,n,e)}))}i("next",0),i("throw",1),i("return",2)}},tt(e,t,n,r)}function nt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function rt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?nt(Object(n),!0).forEach((function(t){ot(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):nt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function ot(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function it(e,t,n,r,o,i,a){try{var c=e[i](a),l=c.value}catch(e){return void n(e)}c.done?t(l):Promise.resolve(l).then(r,o)}function at(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){it(i,r,o,a,c,"next",e)}function c(e){it(i,r,o,a,c,"throw",e)}a(void 0)}))}}function ct(e,t,n){var r,o=e.reference,i=e.floating,a=Me(t),c=Ne(t),l=_e(c),u=ke(t),s="y"===a,f=o.x+o.width/2-i.width/2,d=o.y+o.height/2-i.height/2,p=o[l]/2-i[l]/2;switch(u){case"top":r={x:f,y:o.y-i.height};break;case"bottom":r={x:f,y:o.y+o.height};break;case"right":r={x:o.x+o.width,y:d};break;case"left":r={x:o.x-i.width,y:d};break;default:r={x:o.x,y:o.y}}switch(Be(t)){case"start":r[c]-=p*(n&&s?-1:1);break;case"end":r[c]+=p*(n&&s?-1:1)}return r}var lt=function(){var e=at(et().m((function e(t,n,r){var o,i,a,c,l,u,s,f,d,p,v,h,m,g,y,b,A,w,O,x,C,E,S,j,P,I,D;return et().w((function(e){for(;;)switch(e.n){case 0:return o=r.placement,i=void 0===o?"bottom":o,a=r.strategy,c=void 0===a?"absolute":a,l=r.middleware,u=void 0===l?[]:l,s=r.platform,f=u.filter(Boolean),e.n=1,null==s.isRTL?void 0:s.isRTL(n);case 1:return d=e.v,e.n=2,s.getElementRects({reference:t,floating:n,strategy:c});case 2:p=e.v,v=ct(p,i,d),h=v.x,m=v.y,g=i,y={},b=0,A=0;case 3:if(!(A<f.length)){e.n=11;break}return w=f[A],O=w.name,x=w.fn,e.n=4,x({x:h,y:m,initialPlacement:i,placement:g,strategy:c,middlewareData:y,rects:p,platform:s,elements:{reference:t,floating:n}});case 4:if(C=e.v,E=C.x,S=C.y,j=C.data,P=C.reset,h=null!=E?E:h,m=null!=S?S:m,y=rt(rt({},y),{},{[O]:rt(rt({},y[O]),j)}),!(P&&b<=50)){e.n=10;break}if(b++,"object"!=typeof P){e.n=9;break}if(P.placement&&(g=P.placement),!P.rects){e.n=8;break}if(!0!==P.rects){e.n=6;break}return e.n=5,s.getElementRects({reference:t,floating:n,strategy:c});case 5:D=e.v,e.n=7;break;case 6:D=P.rects;case 7:p=D;case 8:I=ct(p,g,d),h=I.x,m=I.y;case 9:A=-1;case 10:A++,e.n=3;break;case 11:return e.a(2,{x:h,y:m,placement:g,strategy:c,middlewareData:y})}}),e)})));return function(t,n,r){return e.apply(this,arguments)}}();function ut(e,t){return st.apply(this,arguments)}function st(){return st=at(et().m((function e(t,n){var r,o,i,a,c,l,u,s,f,d,p,v,h,m,g,y,b,A,w,O,x,C,E,S,j,P,I,D,k,B,T,_,R,M,N,F;return et().w((function(e){for(;;)switch(e.n){case 0:return void 0===n&&(n={}),o=t.x,i=t.y,a=t.platform,c=t.rects,l=t.elements,u=t.strategy,s=De(n,t),f=s.boundary,d=void 0===f?"clippingAncestors":f,p=s.rootBoundary,v=void 0===p?"viewport":p,h=s.elementContext,m=void 0===h?"floating":h,g=s.altBoundary,y=void 0!==g&&g,b=s.padding,A=Ge(void 0===b?0:b),w="floating"===m?"reference":"floating",O=l[y?w:m],P=Ve,I=a,e.n=1,null==a.isElement?void 0:a.isElement(O);case 1:if(null==(r=e.v)){e.n=2;break}D=r,e.n=3;break;case 2:D=!0;case 3:if(!D){e.n=4;break}k=O,e.n=7;break;case 4:if(B=O.contextElement){e.n=6;break}return e.n=5,null==a.getDocumentElement?void 0:a.getDocumentElement(l.floating);case 5:B=e.v;case 6:k=B;case 7:return T={element:k,boundary:d,rootBoundary:v,strategy:u},e.n=8,I.getClippingRect.call(I,T);case 8:return _=e.v,x=P(_),C="floating"===m?{x:o,y:i,width:c.floating.width,height:c.floating.height}:c.reference,e.n=9,null==a.getOffsetParent?void 0:a.getOffsetParent(l.floating);case 9:return E=e.v,e.n=10,null==a.isElement?void 0:a.isElement(E);case 10:if(!e.v){e.n=13;break}return e.n=11,null==a.getScale?void 0:a.getScale(E);case 11:if(M=e.v){e.n=12;break}M={x:1,y:1};case 12:R=M,e.n=14;break;case 13:R={x:1,y:1};case 14:if(S=R,N=Ve,!a.convertOffsetParentRelativeRectToViewportRelativeRect){e.n=16;break}return e.n=15,a.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:C,offsetParent:E,strategy:u});case 15:F=e.v,e.n=17;break;case 16:F=C;case 17:return j=N(F),e.a(2,{top:(x.top-j.top+A.top)/S.y,bottom:(j.bottom-x.bottom+A.bottom)/S.y,left:(x.left-j.left+A.left)/S.x,right:(j.right-x.right+A.right)/S.x})}}),e)}))),st.apply(this,arguments)}function ft(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function dt(e){return we.some((t=>e[t]>=0))}var pt=new Set(["left","top"]);function vt(e,t){return ht.apply(this,arguments)}function ht(){return ht=at(et().m((function e(t,n){var r,o,i,a,c,l,u,s,f,d,p,v,h,m;return et().w((function(e){for(;;)switch(e.n){case 0:return r=t.placement,o=t.platform,i=t.elements,e.n=1,null==o.isRTL?void 0:o.isRTL(i.floating);case 1:return a=e.v,c=ke(r),l=Be(r),u="y"===Me(r),s=pt.has(c)?-1:1,f=a&&u?-1:1,d=De(n,t),p="number"==typeof d?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:d.mainAxis||0,crossAxis:d.crossAxis||0,alignmentAxis:d.alignmentAxis},v=p.mainAxis,h=p.crossAxis,m=p.alignmentAxis,l&&"number"==typeof m&&(h="end"===l?-1*m:m),e.a(2,u?{x:h*f,y:v*s}:{x:v*s,y:h*f})}}),e)}))),ht.apply(this,arguments)}function mt(){return"undefined"!=typeof window}function gt(e){return At(e)?(e.nodeName||"").toLowerCase():"#document"}function yt(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function bt(e){var t;return null==(t=(At(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function At(e){return!!mt()&&(e instanceof Node||e instanceof yt(e).Node)}function wt(e){return!!mt()&&(e instanceof Element||e instanceof yt(e).Element)}function Ot(e){return!!mt()&&(e instanceof HTMLElement||e instanceof yt(e).HTMLElement)}function xt(e){return!(!mt()||"undefined"==typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof yt(e).ShadowRoot)}var Ct=new Set(["inline","contents"]);function Et(e){var t=Nt(e),n=t.overflow,r=t.overflowX,o=t.overflowY,i=t.display;return/auto|scroll|overlay|hidden|clip/.test(n+o+r)&&!Ct.has(i)}var St=new Set(["table","td","th"]);function jt(e){return St.has(gt(e))}var Pt=[":popover-open",":modal"];function It(e){return Pt.some((t=>{try{return e.matches(t)}catch(e){return!1}}))}var Dt=["transform","translate","scale","rotate","perspective"],kt=["transform","translate","scale","rotate","perspective","filter"],Bt=["paint","layout","strict","content"];function Tt(e){var t=_t(),n=wt(e)?Nt(e):e;return Dt.some((e=>!!n[e]&&"none"!==n[e]))||!!n.containerType&&"normal"!==n.containerType||!t&&!!n.backdropFilter&&"none"!==n.backdropFilter||!t&&!!n.filter&&"none"!==n.filter||kt.some((e=>(n.willChange||"").includes(e)))||Bt.some((e=>(n.contain||"").includes(e)))}function _t(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}var Rt=new Set(["html","body","#document"]);function Mt(e){return Rt.has(gt(e))}function Nt(e){return yt(e).getComputedStyle(e)}function Ft(e){return wt(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function Lt(e){if("html"===gt(e))return e;var t=e.assignedSlot||e.parentNode||xt(e)&&e.host||bt(e);return xt(t)?t.host:t}function zt(e){var t=Lt(e);return Mt(t)?e.ownerDocument?e.ownerDocument.body:e.body:Ot(t)&&Et(t)?t:zt(t)}function Wt(e,t,n){var r;void 0===t&&(t=[]),void 0===n&&(n=!0);var o=zt(e),i=o===(null==(r=e.ownerDocument)?void 0:r.body),a=yt(o);if(i){var c=Ut(a);return t.concat(a,a.visualViewport||[],Et(o)?o:[],c&&n?Wt(c):[])}return t.concat(o,Wt(o,[],n))}function Ut(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function Ht(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function $t(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Kt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?$t(Object(n),!0).forEach((function(t){Yt(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):$t(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Yt(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Gt(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",o=n.toStringTag||"@@toStringTag";function i(n,r,o,i){var l=r&&r.prototype instanceof c?r:c,u=Object.create(l.prototype);return Vt(u,"_invoke",function(n,r,o){var i,c,l,u=0,s=o||[],f=!1,d={p:0,n:0,v:e,a:p,f:p.bind(e,4),d:function(t,n){return i=t,c=0,l=e,d.n=n,a}};function p(n,r){for(c=n,l=r,t=0;!f&&u&&!o&&t<s.length;t++){var o,i=s[t],p=d.p,v=i[2];n>3?(o=v===r)&&(l=i[(c=i[4])?5:(c=3,3)],i[4]=i[5]=e):i[0]<=p&&((o=n<2&&p<i[1])?(c=0,d.v=r,d.n=i[1]):p<v&&(o=n<3||i[0]>r||r>v)&&(i[4]=n,i[5]=r,d.n=v,c=0))}if(o||n>1)return a;throw f=!0,r}return function(o,s,v){if(u>1)throw TypeError("Generator is already running");for(f&&1===s&&p(s,v),c=s,l=v;(t=c<2?e:l)||!f;){i||(c?c<3?(c>1&&(d.n=-1),p(c,l)):d.n=l:d.v=l);try{if(u=2,i){if(c||(o="next"),t=i[o]){if(!(t=t.call(i,l)))throw TypeError("iterator result is not an object");if(!t.done)return t;l=t.value,c<2&&(c=0)}else 1===c&&(t=i.return)&&t.call(i),c<2&&(l=TypeError("The iterator does not provide a '"+o+"' method"),c=1);i=e}else if((t=(f=d.n<0)?l:n.call(r,d))!==a)break}catch(t){i=e,c=1,l=t}finally{u=1}}return{value:t,done:f}}}(n,o,i),!0),u}var a={};function c(){}function l(){}function u(){}t=Object.getPrototypeOf;var s=[][r]?t(t([][r]())):(Vt(t={},r,(function(){return this})),t),f=u.prototype=c.prototype=Object.create(s);function d(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,u):(e.__proto__=u,Vt(e,o,"GeneratorFunction")),e.prototype=Object.create(f),e}return l.prototype=u,Vt(f,"constructor",u),Vt(u,"constructor",l),l.displayName="GeneratorFunction",Vt(u,o,"GeneratorFunction"),Vt(f),Vt(f,o,"Generator"),Vt(f,r,(function(){return this})),Vt(f,"toString",(function(){return"[object Generator]"})),(Gt=function(){return{w:i,m:d}})()}function Vt(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}Vt=function(e,t,n,r){if(t)o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n;else{function i(t,n){Vt(e,t,(function(e){return this._invoke(t,n,e)}))}i("next",0),i("throw",1),i("return",2)}},Vt(e,t,n,r)}function qt(e,t,n,r,o,i,a){try{var c=e[i](a),l=c.value}catch(e){return void n(e)}c.done?t(l):Promise.resolve(l).then(r,o)}function Xt(e){var t=Nt(e),n=parseFloat(t.width)||0,r=parseFloat(t.height)||0,o=Ot(e),i=o?e.offsetWidth:n,a=o?e.offsetHeight:r,c=Ce(n)!==i||Ce(r)!==a;return c&&(n=i,r=a),{width:n,height:r,$:c}}function Zt(e){return wt(e)?e:e.contextElement}function Qt(e){var t=Zt(e);if(!Ot(t))return Se(1);var n=t.getBoundingClientRect(),r=Xt(t),o=r.width,i=r.height,a=r.$,c=(a?Ce(n.width):n.width)/o,l=(a?Ce(n.height):n.height)/i;return c&&Number.isFinite(c)||(c=1),l&&Number.isFinite(l)||(l=1),{x:c,y:l}}var Jt=Se(0);function en(e){var t=yt(e);return _t()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:Jt}function tn(e,t,n,r){void 0===t&&(t=!1),void 0===n&&(n=!1);var o=e.getBoundingClientRect(),i=Zt(e),a=Se(1);t&&(r?wt(r)&&(a=Qt(r)):a=Qt(e));var c=function(e,t,n){return void 0===t&&(t=!1),!(!n||t&&n!==yt(e))&&t}(i,n,r)?en(i):Se(0),l=(o.left+c.x)/a.x,u=(o.top+c.y)/a.y,s=o.width/a.x,f=o.height/a.y;if(i)for(var d=yt(i),p=r&&wt(r)?yt(r):r,v=d,h=Ut(v);h&&r&&p!==v;){var m=Qt(h),g=h.getBoundingClientRect(),y=Nt(h),b=g.left+(h.clientLeft+parseFloat(y.paddingLeft))*m.x,A=g.top+(h.clientTop+parseFloat(y.paddingTop))*m.y;l*=m.x,u*=m.y,s*=m.x,f*=m.y,l+=b,u+=A,h=Ut(v=yt(h))}return Ve({width:s,height:f,x:l,y:u})}function nn(e,t){var n=Ft(e).scrollLeft;return t?t.left+n:tn(bt(e)).left+n}function rn(e,t,n){void 0===n&&(n=!1);var r=e.getBoundingClientRect();return{x:r.left+t.scrollLeft-(n?0:nn(e,r)),y:r.top+t.scrollTop}}var on=new Set(["absolute","fixed"]);function an(e,t,n){var r;if("viewport"===t)r=function(e,t){var n=yt(e),r=bt(e),o=n.visualViewport,i=r.clientWidth,a=r.clientHeight,c=0,l=0;if(o){i=o.width,a=o.height;var u=_t();(!u||u&&"fixed"===t)&&(c=o.offsetLeft,l=o.offsetTop)}return{width:i,height:a,x:c,y:l}}(e,n);else if("document"===t)r=function(e){var t=bt(e),n=Ft(e),r=e.ownerDocument.body,o=xe(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),i=xe(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight),a=-n.scrollLeft+nn(e),c=-n.scrollTop;return"rtl"===Nt(r).direction&&(a+=xe(t.clientWidth,r.clientWidth)-o),{width:o,height:i,x:a,y:c}}(bt(e));else if(wt(t))r=function(e,t){var n=tn(e,!0,"fixed"===t),r=n.top+e.clientTop,o=n.left+e.clientLeft,i=Ot(e)?Qt(e):Se(1);return{width:e.clientWidth*i.x,height:e.clientHeight*i.y,x:o*i.x,y:r*i.y}}(t,n);else{var o=en(e);r={x:t.x-o.x,y:t.y-o.y,width:t.width,height:t.height}}return Ve(r)}function cn(e,t){var n=Lt(e);return!(n===t||!wt(n)||Mt(n))&&("fixed"===Nt(n).position||cn(n,t))}function ln(e,t,n){var r=Ot(t),o=bt(t),i="fixed"===n,a=tn(e,!0,i,t),c={scrollLeft:0,scrollTop:0},l=Se(0);function u(){l.x=nn(o)}if(r||!r&&!i)if(("body"!==gt(t)||Et(o))&&(c=Ft(t)),r){var s=tn(t,!0,i,t);l.x=s.x+t.clientLeft,l.y=s.y+t.clientTop}else o&&u();i&&!r&&o&&u();var f=!o||r||i?Se(0):rn(o,c);return{x:a.left+c.scrollLeft-l.x-f.x,y:a.top+c.scrollTop-l.y-f.y,width:a.width,height:a.height}}function un(e){return"static"===Nt(e).position}function sn(e,t){if(!Ot(e)||"fixed"===Nt(e).position)return null;if(t)return t(e);var n=e.offsetParent;return bt(e)===n&&(n=n.ownerDocument.body),n}function fn(e,t){var n=yt(e);if(It(e))return n;if(!Ot(e)){for(var r=Lt(e);r&&!Mt(r);){if(wt(r)&&!un(r))return r;r=Lt(r)}return n}for(var o=sn(e,t);o&&jt(o)&&un(o);)o=sn(o,t);return o&&Mt(o)&&un(o)&&!Tt(o)?n:o||function(e){for(var t=Lt(e);Ot(t)&&!Mt(t);){if(Tt(t))return t;if(It(t))return null;t=Lt(t)}return null}(e)||n}var dn=function(){var e,t=(e=Gt().m((function e(t){var n,r,o,i,a,c,l,u,s;return Gt().w((function(e){for(;;)switch(e.n){case 0:return n=this.getOffsetParent||fn,r=this.getDimensions,e.n=1,r(t.floating);case 1:return o=e.v,i=ln,a=t.reference,e.n=2,n(t.floating);case 2:return c=e.v,l=t.strategy,u=i(a,c,l),s={x:0,y:0,width:o.width,height:o.height},e.a(2,{reference:u,floating:s})}}),e,this)})),function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){qt(i,r,o,a,c,"next",e)}function c(e){qt(i,r,o,a,c,"throw",e)}a(void 0)}))});return function(e){return t.apply(this,arguments)}}(),pn={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){var t=e.elements,n=e.rect,r=e.offsetParent,o="fixed"===e.strategy,i=bt(r),a=!!t&&It(t.floating);if(r===i||a&&o)return n;var c={scrollLeft:0,scrollTop:0},l=Se(1),u=Se(0),s=Ot(r);if((s||!s&&!o)&&(("body"!==gt(r)||Et(i))&&(c=Ft(r)),Ot(r))){var f=tn(r);l=Qt(r),u.x=f.x+r.clientLeft,u.y=f.y+r.clientTop}var d=!i||s||o?Se(0):rn(i,c,!0);return{width:n.width*l.x,height:n.height*l.y,x:n.x*l.x-c.scrollLeft*l.x+u.x+d.x,y:n.y*l.y-c.scrollTop*l.y+u.y+d.y}},getDocumentElement:bt,getClippingRect:function(e){var t=e.element,n=e.boundary,r=e.rootBoundary,o=e.strategy,i=[..."clippingAncestors"===n?It(t)?[]:function(e,t){var n=t.get(e);if(n)return n;for(var r=Wt(e,[],!1).filter((e=>wt(e)&&"body"!==gt(e))),o=null,i="fixed"===Nt(e).position,a=i?Lt(e):e;wt(a)&&!Mt(a);){var c=Nt(a),l=Tt(a);l||"fixed"!==c.position||(o=null),(i?!l&&!o:!l&&"static"===c.position&&o&&on.has(o.position)||Et(a)&&!l&&cn(e,a))?r=r.filter((e=>e!==a)):o=c,a=Lt(a)}return t.set(e,r),r}(t,this._c):[].concat(n),r],a=i[0],c=i.reduce(((e,n)=>{var r=an(t,n,o);return e.top=xe(r.top,e.top),e.right=Oe(r.right,e.right),e.bottom=Oe(r.bottom,e.bottom),e.left=xe(r.left,e.left),e}),an(t,a,o));return{width:c.right-c.left,height:c.bottom-c.top,x:c.left,y:c.top}},getOffsetParent:fn,getElementRects:dn,getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){var t=Xt(e);return{width:t.width,height:t.height}},getScale:Qt,isElement:wt,isRTL:function(e){return"rtl"===Nt(e).direction}};function vn(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function hn(e,t,n,r){void 0===r&&(r={});var o=r,i=o.ancestorScroll,a=void 0===i||i,c=o.ancestorResize,l=void 0===c||c,u=o.elementResize,s=void 0===u?"function"==typeof ResizeObserver:u,f=o.layoutShift,d=void 0===f?"function"==typeof IntersectionObserver:f,p=o.animationFrame,v=void 0!==p&&p,h=Zt(e),m=a||l?[...h?Wt(h):[],...Wt(t)]:[];m.forEach((e=>{a&&e.addEventListener("scroll",n,{passive:!0}),l&&e.addEventListener("resize",n)}));var g,y=h&&d?function(e,t){var n,r=null,o=bt(e);function i(){var e;clearTimeout(n),null==(e=r)||e.disconnect(),r=null}return function a(c,l){void 0===c&&(c=!1),void 0===l&&(l=1),i();var u=e.getBoundingClientRect(),s=u.left,f=u.top,d=u.width,p=u.height;if(c||t(),d&&p){var v={rootMargin:-Ee(f)+"px "+-Ee(o.clientWidth-(s+d))+"px "+-Ee(o.clientHeight-(f+p))+"px "+-Ee(s)+"px",threshold:xe(0,Oe(1,l))||1},h=!0;try{r=new IntersectionObserver(m,Kt(Kt({},v),{},{root:o.ownerDocument}))}catch(e){r=new IntersectionObserver(m,v)}r.observe(e)}function m(t){var r=t[0].intersectionRatio;if(r!==l){if(!h)return a();r?a(!1,r):n=setTimeout((()=>{a(!1,1e-7)}),1e3)}1!==r||vn(u,e.getBoundingClientRect())||a(),h=!1}}(!0),i}(h,n):null,b=-1,A=null;s&&(A=new ResizeObserver((e=>{var r,o,i=(r=e,o=1,function(e){if(Array.isArray(e))return e}(r)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,c=[],l=!0,u=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(c.push(r.value),c.length!==t);l=!0);}catch(e){u=!0,o=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(u)throw o}}return c}}(r,o)||function(e,t){if(e){if("string"==typeof e)return Ht(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Ht(e,t):void 0}}(r,o)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())[0];i&&i.target===h&&A&&(A.unobserve(t),cancelAnimationFrame(b),b=requestAnimationFrame((()=>{var e;null==(e=A)||e.observe(t)}))),n()})),h&&!v&&A.observe(h),A.observe(t));var w=v?tn(e):null;return v&&function t(){var r=tn(e);w&&!vn(w,r)&&n(),w=r,g=requestAnimationFrame(t)}(),n(),()=>{var e;m.forEach((e=>{a&&e.removeEventListener("scroll",n),l&&e.removeEventListener("resize",n)})),null==y||y(),null==(e=A)||e.disconnect(),A=null,v&&cancelAnimationFrame(g)}}var mn=e=>({name:"arrow",options:e,fn(t){return at(et().m((function n(){var r,o,i,a,c,l,u,s,f,d,p,v,h,m,g,y,b,A,w,O,x,C,E,S,j,P,I,D,k,B,T,_,R,M,N;return et().w((function(n){for(;;)switch(n.n){case 0:if(r=t.x,o=t.y,i=t.placement,a=t.rects,c=t.platform,l=t.elements,u=t.middlewareData,s=De(e,t)||{},f=s.element,d=s.padding,p=void 0===d?0:d,null!=f){n.n=1;break}return n.a(2,{});case 1:return v=Ge(p),h={x:r,y:o},m=Ne(i),g=_e(m),n.n=2,c.getDimensions(f);case 2:return y=n.v,A=(b="y"===m)?"top":"left",w=b?"bottom":"right",O=b?"clientHeight":"clientWidth",x=a.reference[g]+a.reference[m]-h[m]-a.floating[g],C=h[m]-a.reference[m],n.n=3,null==c.getOffsetParent?void 0:c.getOffsetParent(f);case 3:if(E=n.v,S=E?E[O]:0,N=!S){n.n=5;break}return n.n=4,null==c.isElement?void 0:c.isElement(E);case 4:N=!n.v;case 5:if(!N){n.n=6;break}S=l.floating[O]||a.floating[g];case 6:return j=x/2-C/2,P=S/2-y[g]/2-1,I=Oe(v[A],P),D=Oe(v[w],P),k=I,B=S-y[g]-D,T=S/2-y[g]/2+j,_=Ie(k,T,B),R=!u.arrow&&null!=Be(i)&&T!==_&&a.reference[g]/2-(T<k?I:D)-y[g]/2<0,M=R?T<k?T-k:T-B:0,n.a(2,{[m]:h[m]+M,data:rt({[m]:_,centerOffset:T-_-M},R&&{alignmentOffset:M}),reset:R})}}),n)})))()}}),gn=(e,t,n)=>{var r=new Map,o=Kt({platform:pn},n),i=Kt(Kt({},o.platform),{},{_c:r});return lt(e,t,Kt(Kt({},o),{},{platform:i}))},yn=n(81824);function bn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function An(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?bn(Object(n),!0).forEach((function(t){wn(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):bn(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function wn(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function On(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,c=[],l=!0,u=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(c.push(r.value),c.length!==t);l=!0);}catch(e){u=!0,o=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(u)throw o}}return c}}(e,t)||function(e,t){if(e){if("string"==typeof e)return xn(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?xn(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function xn(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var Cn="undefined"!=typeof document?a.useLayoutEffect:function(){};function En(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if("function"==typeof e&&e.toString()===t.toString())return!0;var n,r,o;if(e&&t&&"object"==typeof e){if(Array.isArray(e)){if((n=e.length)!==t.length)return!1;for(r=n;0!=r--;)if(!En(e[r],t[r]))return!1;return!0}if((n=(o=Object.keys(e)).length)!==Object.keys(t).length)return!1;for(r=n;0!=r--;)if(!{}.hasOwnProperty.call(t,o[r]))return!1;for(r=n;0!=r--;){var i=o[r];if(!("_owner"===i&&e.$$typeof||En(e[i],t[i])))return!1}return!0}return e!=e&&t!=t}function Sn(e){return"undefined"==typeof window?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function jn(e,t){var n=Sn(e);return Math.round(t*n)/n}function Pn(e){var t=a.useRef(e);return Cn((()=>{t.current=e})),t}var In=(e,t)=>An(An({},function(e){return void 0===e&&(e=0),{name:"offset",options:e,fn(t){return at(et().m((function n(){var r,o,i,a,c,l,u;return et().w((function(n){for(;;)switch(n.n){case 0:return i=t.x,a=t.y,c=t.placement,l=t.middlewareData,n.n=1,vt(t,e);case 1:if(u=n.v,c!==(null==(r=l.offset)?void 0:r.placement)||null==(o=l.arrow)||!o.alignmentOffset){n.n=2;break}return n.a(2,{});case 2:return n.a(2,{x:i+u.x,y:a+u.y,data:rt(rt({},u),{},{placement:c})})}}),n)})))()}}}(e)),{},{options:[e,t]}),Dn=(e,t)=>An(An({},function(e){return void 0===e&&(e={}),{name:"shift",options:e,fn(t){return at(et().m((function n(){var r,o,i,a,c,l,u,s,f,d,p,v,h,m,g,y,b,A,w,O,x,C,E,S;return et().w((function(n){for(;;)switch(n.n){case 0:return r=t.x,o=t.y,i=t.placement,a=De(e,t),c=a.mainAxis,l=void 0===c||c,u=a.crossAxis,s=void 0!==u&&u,f=a.limiter,d=void 0===f?{fn:e=>({x:e.x,y:e.y})}:f,p=Je(a,Ze),v={x:r,y:o},n.n=1,ut(t,p);case 1:return h=n.v,m=Me(ke(i)),g=Te(m),y=v[g],b=v[m],l&&(A="y"===g?"bottom":"right",w=y+h["y"===g?"top":"left"],O=y-h[A],y=Ie(w,y,O)),s&&(x="y"===m?"bottom":"right",C=b+h["y"===m?"top":"left"],E=b-h[x],b=Ie(C,b,E)),S=d.fn(rt(rt({},t),{},{[g]:y,[m]:b})),n.a(2,rt(rt({},S),{},{data:{x:S.x-r,y:S.y-o,enabled:{[g]:l,[m]:s}}}))}}),n)})))()}}}(e)),{},{options:[e,t]}),kn=(e,t)=>An(An({},function(e){return void 0===e&&(e={}),{options:e,fn(t){var n=t.x,r=t.y,o=t.placement,i=t.rects,a=t.middlewareData,c=De(e,t),l=c.offset,u=void 0===l?0:l,s=c.mainAxis,f=void 0===s||s,d=c.crossAxis,p=void 0===d||d,v={x:n,y:r},h=Me(o),m=Te(h),g=v[m],y=v[h],b=De(u,t),A="number"==typeof b?{mainAxis:b,crossAxis:0}:rt({mainAxis:0,crossAxis:0},b);if(f){var w="y"===m?"height":"width",O=i.reference[m]-i.floating[w]+A.mainAxis,x=i.reference[m]+i.reference[w]-A.mainAxis;g<O?g=O:g>x&&(g=x)}if(p){var C,E,S="y"===m?"width":"height",j=pt.has(ke(o)),P=i.reference[h]-i.floating[S]+(j&&(null==(C=a.offset)?void 0:C[h])||0)+(j?0:A.crossAxis),I=i.reference[h]+i.reference[S]+(j?0:(null==(E=a.offset)?void 0:E[h])||0)-(j?A.crossAxis:0);y<P?y=P:y>I&&(y=I)}return{[m]:g,[h]:y}}}}(e)),{},{options:[e,t]}),Bn=(e,t)=>An(An({},function(e){return void 0===e&&(e={}),{name:"flip",options:e,fn(t){return at(et().m((function n(){var r,o,i,a,c,l,u,s,f,d,p,v,h,m,g,y,b,A,w,O,x,C,E,S,j,P,I,D,k,B,T,_,R,M,N,F,L,z,W,U;return et().w((function(n){for(;;)switch(n.n){case 0:if(i=t.placement,a=t.middlewareData,c=t.rects,l=t.initialPlacement,u=t.platform,s=t.elements,f=De(e,t),d=f.mainAxis,p=void 0===d||d,v=f.crossAxis,h=void 0===v||v,m=f.fallbackPlacements,g=f.fallbackStrategy,y=void 0===g?"bestFit":g,b=f.fallbackAxisSideDirection,A=void 0===b?"none":b,w=f.flipAlignment,O=void 0===w||w,x=Je(f,qe),null==(r=a.arrow)||!r.alignmentOffset){n.n=1;break}return n.a(2,{});case 1:return C=ke(i),E=Me(l),S=ke(l)===l,n.n=2,null==u.isRTL?void 0:u.isRTL(s.floating);case 2:return j=n.v,P=m||(S||!O?[Ye(l)]:Le(l)),I="none"!==A,!m&&I&&P.push(...Ke(l,O,A,j)),D=[l,...P],n.n=3,ut(t,x);case 3:if(k=n.v,B=[],T=(null==(o=a.flip)?void 0:o.overflows)||[],p&&B.push(k[C]),h&&(_=Fe(i,c,j),B.push(k[_[0]],k[_[1]])),T=[...T,{placement:i,overflows:B}],B.every((e=>e<=0))){n.n=8;break}if(N=((null==(R=a.flip)?void 0:R.index)||0)+1,!(F=D[N])){n.n=4;break}if("alignment"===h&&E!==Me(F)&&!T.every((e=>Me(e.placement)!==E||e.overflows[0]>0))){n.n=4;break}return n.a(2,{data:{index:N,overflows:T},reset:{placement:F}});case 4:if(L=null==(M=T.filter((e=>e.overflows[0]<=0)).sort(((e,t)=>e.overflows[1]-t.overflows[1]))[0])?void 0:M.placement){n.n=7;break}U=y,n.n="bestFit"===U?5:"initialPlacement"===U?6:7;break;case 5:return W=null==(z=T.filter((e=>{if(I){var t=Me(e.placement);return t===E||"y"===t}return!0})).map((e=>[e.placement,e.overflows.filter((e=>e>0)).reduce(((e,t)=>e+t),0)])).sort(((e,t)=>e[1]-t[1]))[0])?void 0:z[0],W&&(L=W),n.a(3,7);case 6:return L=l,n.a(3,7);case 7:if(i===L){n.n=8;break}return n.a(2,{reset:{placement:L}});case 8:return n.a(2,{})}}),n)})))()}}}(e)),{},{options:[e,t]}),Tn=(e,t)=>An(An({},function(e){return void 0===e&&(e={}),{name:"size",options:e,fn(t){return at(et().m((function n(){var r,o,i,a,c,l,u,s,f,d,p,v,h,m,g,y,b,A,w,O,x,C,E,S,j,P,I,D,k,B,T,_,R,M;return et().w((function(n){for(;;)switch(n.n){case 0:return i=t.placement,a=t.rects,c=t.platform,l=t.elements,u=De(e,t),s=u.apply,f=void 0===s?()=>{}:s,d=Je(u,Qe),n.n=1,ut(t,d);case 1:if(p=n.v,v=ke(i),h=Be(i),m="y"===Me(i),g=a.floating,y=g.width,b=g.height,"top"!==v&&"bottom"!==v){n.n=7;break}return A=v,_=h,n.n=2,null==c.isRTL?void 0:c.isRTL(l.floating);case 2:if(!n.v){n.n=3;break}R="start",n.n=4;break;case 3:R="end";case 4:if(_!==R){n.n=5;break}M="left",n.n=6;break;case 5:M="right";case 6:w=M,n.n=8;break;case 7:w=v,A="end"===h?"top":"bottom";case 8:return O=b-p.top-p.bottom,x=y-p.left-p.right,C=Oe(b-p[A],O),E=Oe(y-p[w],x),S=!t.middlewareData.shift,j=C,P=E,null!=(r=t.middlewareData.shift)&&r.enabled.x&&(P=x),null!=(o=t.middlewareData.shift)&&o.enabled.y&&(j=O),S&&!h&&(I=xe(p.left,0),D=xe(p.right,0),k=xe(p.top,0),B=xe(p.bottom,0),m?P=y-2*(0!==I||0!==D?I+D:xe(p.left,p.right)):j=b-2*(0!==k||0!==B?k+B:xe(p.top,p.bottom))),n.n=9,f(rt(rt({},t),{},{availableWidth:P,availableHeight:j}));case 9:return n.n=10,c.getDimensions(l.floating);case 10:if(T=n.v,y===T.width&&b===T.height){n.n=11;break}return n.a(2,{reset:{rects:!0}});case 11:return n.a(2,{})}}),n)})))()}}}(e)),{},{options:[e,t]}),_n=(e,t)=>An(An({},function(e){return void 0===e&&(e={}),{name:"hide",options:e,fn(t){return at(et().m((function n(){var r,o,i,a,c,l,u,s,f,d;return et().w((function(n){for(;;)switch(n.n){case 0:r=t.rects,o=De(e,t),i=o.strategy,a=void 0===i?"referenceHidden":i,c=Je(o,Xe),d=a,n.n="referenceHidden"===d?1:"escaped"===d?3:5;break;case 1:return n.n=2,ut(t,rt(rt({},c),{},{elementContext:"reference"}));case 2:return l=n.v,u=ft(l,r.reference),n.a(2,{data:{referenceHiddenOffsets:u,referenceHidden:dt(u)}});case 3:return n.n=4,ut(t,rt(rt({},c),{},{altBoundary:!0}));case 4:return s=n.v,f=ft(s,r.floating),n.a(2,{data:{escapedOffsets:f,escaped:dt(f)}});case 5:return n.a(2,{});case 6:return n.a(2)}}),n)})))()}}}(e)),{},{options:[e,t]}),Rn=(e,t)=>An(An({},(e=>({name:"arrow",options:e,fn(t){var n,r="function"==typeof e?e(t):e,o=r.element,i=r.padding;return o&&(n=o,{}.hasOwnProperty.call(n,"current"))?null!=o.current?mn({element:o.current,padding:i}).fn(t):{}:o?mn({element:o,padding:i}).fn(t):{}}}))(e)),{},{options:[e,t]}),Mn=["children","width","height"];function Nn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Fn(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Nn(Object(n),!0).forEach((function(t){Ln(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Nn(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Ln(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var zn=a.forwardRef(((e,t)=>{var n=e.children,r=e.width,o=void 0===r?10:r,i=e.height,a=void 0===i?5:i,c=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,Mn);return(0,_.jsx)(B.sG.svg,Fn(Fn({},c),{},{ref:t,width:o,height:a,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:(0,_.jsx)("polygon",{points:"0,0 30,0 15,10"})}))}));zn.displayName="Arrow";var Wn=zn,Un=n(84881),Hn=["__scopePopper","virtualRef"],$n=["__scopePopper","side","sideOffset","align","alignOffset","arrowPadding","avoidCollisions","collisionBoundary","collisionPadding","sticky","hideWhenDetached","updatePositionStrategy","onPlaced"],Kn=["__scopePopper"];function Yn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Gn(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Yn(Object(n),!0).forEach((function(t){Vn(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Yn(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Vn(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function qn(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function Xn(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,c=[],l=!0,u=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(c.push(r.value),c.length!==t);l=!0);}catch(e){u=!0,o=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(u)throw o}}return c}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Zn(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Zn(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Zn(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var Qn="Popper",Jn=Xn((0,k.A)(Qn),2),er=Jn[0],tr=Jn[1],nr=Xn(er(Qn),2),rr=nr[0],or=nr[1],ir=e=>{var t=e.__scopePopper,n=e.children,r=Xn(a.useState(null),2),o=r[0],i=r[1];return(0,_.jsx)(rr,{scope:t,anchor:o,onAnchorChange:i,children:n})};ir.displayName=Qn;var ar="PopperAnchor",cr=a.forwardRef(((e,t)=>{var n=e.__scopePopper,r=e.virtualRef,o=qn(e,Hn),i=or(ar,n),c=a.useRef(null),l=(0,D.s)(t,c),u=a.useRef(null);return a.useEffect((()=>{var e=u.current;u.current=(null==r?void 0:r.current)||c.current,e!==u.current&&i.onAnchorChange(u.current)})),r?null:(0,_.jsx)(B.sG.div,Gn(Gn({},o),{},{ref:l}))}));cr.displayName=ar;var lr="PopperContent",ur=Xn(er(lr),2),sr=ur[0],fr=ur[1],dr=a.forwardRef(((e,t)=>{var n,r,o,i,c,l,u,s,f=e.__scopePopper,d=e.side,p=void 0===d?"bottom":d,v=e.sideOffset,h=void 0===v?0:v,m=e.align,g=void 0===m?"center":m,y=e.alignOffset,b=void 0===y?0:y,A=e.arrowPadding,w=void 0===A?0:A,O=e.avoidCollisions,x=void 0===O||O,C=e.collisionBoundary,E=void 0===C?[]:C,S=e.collisionPadding,j=void 0===S?0:S,P=e.sticky,I=void 0===P?"partial":P,k=e.hideWhenDetached,R=void 0!==k&&k,M=e.updatePositionStrategy,N=void 0===M?"optimized":M,F=e.onPlaced,L=qn(e,$n),z=or(lr,f),W=Xn(a.useState(null),2),U=W[0],H=W[1],$=(0,D.s)(t,(e=>H(e))),K=Xn(a.useState(null),2),Y=K[0],G=K[1],V=(0,Un.X)(Y),q=null!==(n=null==V?void 0:V.width)&&void 0!==n?n:0,X=null!==(r=null==V?void 0:V.height)&&void 0!==r?r:0,Z=p+("center"!==g?"-"+g:""),Q="number"==typeof j?j:Gn({top:0,right:0,bottom:0,left:0},j),J=Array.isArray(E)?E:[E],ee=J.length>0,te={padding:Q,boundary:J.filter(mr),altBoundary:ee},ne=function(e){void 0===e&&(e={});var t=e,n=t.placement,r=void 0===n?"bottom":n,o=t.strategy,i=void 0===o?"absolute":o,c=t.middleware,l=void 0===c?[]:c,u=t.platform,s=t.elements,f=void 0===s?{}:s,d=f.reference,p=f.floating,v=t.transform,h=void 0===v||v,m=t.whileElementsMounted,g=t.open,y=On(a.useState({x:0,y:0,strategy:i,placement:r,middlewareData:{},isPositioned:!1}),2),b=y[0],A=y[1],w=On(a.useState(l),2),O=w[0],x=w[1];En(O,l)||x(l);var C=On(a.useState(null),2),E=C[0],S=C[1],j=On(a.useState(null),2),P=j[0],I=j[1],D=a.useCallback((e=>{e!==_.current&&(_.current=e,S(e))}),[]),k=a.useCallback((e=>{e!==R.current&&(R.current=e,I(e))}),[]),B=d||E,T=p||P,_=a.useRef(null),R=a.useRef(null),M=a.useRef(b),N=null!=m,F=Pn(m),L=Pn(u),z=Pn(g),W=a.useCallback((()=>{if(_.current&&R.current){var e={placement:r,strategy:i,middleware:O};L.current&&(e.platform=L.current),gn(_.current,R.current,e).then((e=>{var t=An(An({},e),{},{isPositioned:!1!==z.current});U.current&&!En(M.current,t)&&(M.current=t,yn.flushSync((()=>{A(t)})))}))}}),[O,r,i,L,z]);Cn((()=>{!1===g&&M.current.isPositioned&&(M.current.isPositioned=!1,A((e=>An(An({},e),{},{isPositioned:!1}))))}),[g]);var U=a.useRef(!1);Cn((()=>(U.current=!0,()=>{U.current=!1})),[]),Cn((()=>{if(B&&(_.current=B),T&&(R.current=T),B&&T){if(F.current)return F.current(B,T,W);W()}}),[B,T,W,F,N]);var H=a.useMemo((()=>({reference:_,floating:R,setReference:D,setFloating:k})),[D,k]),$=a.useMemo((()=>({reference:B,floating:T})),[B,T]),K=a.useMemo((()=>{var e={position:i,left:0,top:0};if(!$.floating)return e;var t=jn($.floating,b.x),n=jn($.floating,b.y);return h?An(An({},e),{},{transform:"translate("+t+"px, "+n+"px)"},Sn($.floating)>=1.5&&{willChange:"transform"}):{position:i,left:t,top:n}}),[i,h,$.floating,b.x,b.y]);return a.useMemo((()=>An(An({},b),{},{update:W,refs:H,elements:$,floatingStyles:K})),[b,W,H,$,K])}({strategy:"fixed",placement:Z,whileElementsMounted:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return hn(...t,{animationFrame:"always"===N})},elements:{reference:z.anchor},middleware:[In({mainAxis:h+X,alignmentAxis:b}),x&&Dn(Gn({mainAxis:!0,crossAxis:!1,limiter:"partial"===I?kn():void 0},te)),x&&Bn(Gn({},te)),Tn(Gn(Gn({},te),{},{apply:e=>{var t=e.elements,n=e.rects,r=e.availableWidth,o=e.availableHeight,i=n.reference,a=i.width,c=i.height,l=t.floating.style;l.setProperty("--radix-popper-available-width","".concat(r,"px")),l.setProperty("--radix-popper-available-height","".concat(o,"px")),l.setProperty("--radix-popper-anchor-width","".concat(a,"px")),l.setProperty("--radix-popper-anchor-height","".concat(c,"px"))}})),Y&&Rn({element:Y,padding:w}),gr({arrowWidth:q,arrowHeight:X}),R&&_n(Gn({strategy:"referenceHidden"},te))]}),re=ne.refs,oe=ne.floatingStyles,ie=ne.placement,ae=ne.isPositioned,ce=ne.middlewareData,le=Xn(yr(ie),2),ue=le[0],se=le[1],fe=T(F);(0,ve.N)((()=>{ae&&(null==fe||fe())}),[ae,fe]);var de=null===(o=ce.arrow)||void 0===o?void 0:o.x,pe=null===(i=ce.arrow)||void 0===i?void 0:i.y,he=0!==(null===(c=ce.arrow)||void 0===c?void 0:c.centerOffset),me=Xn(a.useState(),2),ge=me[0],ye=me[1];return(0,ve.N)((()=>{U&&ye(window.getComputedStyle(U).zIndex)}),[U]),(0,_.jsx)("div",{ref:re.setFloating,"data-radix-popper-content-wrapper":"",style:Gn(Gn({},oe),{},{transform:ae?oe.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:ge,"--radix-popper-transform-origin":[null===(l=ce.transformOrigin)||void 0===l?void 0:l.x,null===(u=ce.transformOrigin)||void 0===u?void 0:u.y].join(" ")},(null===(s=ce.hide)||void 0===s?void 0:s.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}),dir:e.dir,children:(0,_.jsx)(sr,{scope:f,placedSide:ue,onArrowChange:G,arrowX:de,arrowY:pe,shouldHideArrow:he,children:(0,_.jsx)(B.sG.div,Gn(Gn({"data-side":ue,"data-align":se},L),{},{ref:$,style:Gn(Gn({},L.style),{},{animation:ae?void 0:"none"})}))})})}));dr.displayName=lr;var pr="PopperArrow",vr={top:"bottom",right:"left",bottom:"top",left:"right"},hr=a.forwardRef((function(e,t){var n=e.__scopePopper,r=qn(e,Kn),o=fr(pr,n),i=vr[o.placedSide];return(0,_.jsx)("span",{ref:o.onArrowChange,style:{position:"absolute",left:o.arrowX,top:o.arrowY,[i]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[o.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[o.placedSide],visibility:o.shouldHideArrow?"hidden":void 0},children:(0,_.jsx)(Wn,Gn(Gn({},r),{},{ref:t,style:Gn(Gn({},r.style),{},{display:"block"})}))})}));function mr(e){return null!==e}hr.displayName=pr;var gr=e=>({name:"transformOrigin",options:e,fn(t){var n,r,o,i,a,c=t.placement,l=t.rects,u=t.middlewareData,s=0!==(null===(n=u.arrow)||void 0===n?void 0:n.centerOffset),f=s?0:e.arrowWidth,d=s?0:e.arrowHeight,p=Xn(yr(c),2),v=p[0],h={start:"0%",center:"50%",end:"100%"}[p[1]],m=(null!==(r=null===(o=u.arrow)||void 0===o?void 0:o.x)&&void 0!==r?r:0)+f/2,g=(null!==(i=null===(a=u.arrow)||void 0===a?void 0:a.y)&&void 0!==i?i:0)+d/2,y="",b="";return"bottom"===v?(y=s?h:"".concat(m,"px"),b="".concat(-d,"px")):"top"===v?(y=s?h:"".concat(m,"px"),b="".concat(l.floating.height+d,"px")):"right"===v?(y="".concat(-d,"px"),b=s?h:"".concat(g,"px")):"left"===v&&(y="".concat(l.floating.width+d,"px"),b=s?h:"".concat(g,"px")),{data:{x:y,y:b}}}});function yr(e){var t=Xn(e.split("-"),2),n=t[0],r=t[1];return[n,void 0===r?"center":r]}var br=ir,Ar=cr,wr=dr,Or=hr,xr=["container"];function Cr(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Er(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Cr(Object(n),!0).forEach((function(t){Sr(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Cr(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Sr(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function jr(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var Pr=a.forwardRef(((e,t)=>{var n,r,o,i=e.container,c=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,xr),l=(r=a.useState(!1),o=2,function(e){if(Array.isArray(e))return e}(r)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,c=[],l=!0,u=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(c.push(r.value),c.length!==t);l=!0);}catch(e){u=!0,o=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(u)throw o}}return c}}(r,o)||function(e,t){if(e){if("string"==typeof e)return jr(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?jr(e,t):void 0}}(r,o)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),u=l[0],s=l[1];(0,ve.N)((()=>s(!0)),[]);var f=i||u&&(null===globalThis||void 0===globalThis||null===(n=globalThis.document)||void 0===n?void 0:n.body);return f?yn.createPortal((0,_.jsx)(B.sG.div,Er(Er({},c),{},{ref:t})),f):null}));function Ir(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,c=[],l=!0,u=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(c.push(r.value),c.length!==t);l=!0);}catch(e){u=!0,o=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(u)throw o}}return c}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Dr(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Dr(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Dr(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}Pr.displayName="Portal";var kr=e=>{var t,n,r,o,i=e.present,c=e.children,l=function(e){var t=Ir(a.useState(),2),n=t[0],r=t[1],o=a.useRef(null),i=a.useRef(e),c=a.useRef("none"),l=Ir(function(e,t){return a.useReducer(((e,n)=>{var r=t[e][n];return null!=r?r:e}),e)}(e?"mounted":"unmounted",{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}}),2),u=l[0],s=l[1];return a.useEffect((()=>{var e=Br(o.current);c.current="mounted"===u?e:"none"}),[u]),(0,ve.N)((()=>{var t=o.current,n=i.current;if(n!==e){var r=c.current,a=Br(t);e?s("MOUNT"):"none"===a||"none"===(null==t?void 0:t.display)?s("UNMOUNT"):s(n&&r!==a?"ANIMATION_OUT":"UNMOUNT"),i.current=e}}),[e,s]),(0,ve.N)((()=>{if(n){var e,t,r=null!==(e=n.ownerDocument.defaultView)&&void 0!==e?e:window,a=e=>{var a=Br(o.current).includes(CSS.escape(e.animationName));if(e.target===n&&a&&(s("ANIMATION_END"),!i.current)){var c=n.style.animationFillMode;n.style.animationFillMode="forwards",t=r.setTimeout((()=>{"forwards"===n.style.animationFillMode&&(n.style.animationFillMode=c)}))}},l=e=>{e.target===n&&(c.current=Br(o.current))};return n.addEventListener("animationstart",l),n.addEventListener("animationcancel",a),n.addEventListener("animationend",a),()=>{r.clearTimeout(t),n.removeEventListener("animationstart",l),n.removeEventListener("animationcancel",a),n.removeEventListener("animationend",a)}}s("ANIMATION_END")}),[n,s]),{isPresent:["mounted","unmountSuspended"].includes(u),ref:a.useCallback((e=>{o.current=e?getComputedStyle(e):null,r(e)}),[])}}(i),u="function"==typeof c?c({present:l.isPresent}):a.Children.only(c),s=(0,D.s)(l.ref,(t=u,o=null===(n=Object.getOwnPropertyDescriptor(t.props,"ref"))||void 0===n?void 0:n.get,o&&"isReactWarning"in o&&o.isReactWarning?t.ref:(o=null===(r=Object.getOwnPropertyDescriptor(t,"ref"))||void 0===r?void 0:r.get)&&"isReactWarning"in o&&o.isReactWarning?t.props.ref:t.props.ref||t.ref));return"function"==typeof c||l.isPresent?a.cloneElement(u,{ref:s}):null};function Br(e){return(null==e?void 0:e.animationName)||"none"}kr.displayName="Presence";var Tr=n(41050),_r=n(92847),Rr=n(96763),Mr=new WeakMap,Nr=new WeakMap,Fr={},Lr=0,zr=function(e){return e&&(e.host||zr(e.parentNode))},Wr=function(e,t,n){void 0===n&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),o=t||function(e){return"undefined"==typeof document?null:(Array.isArray(e)?e[0]:e).ownerDocument.body}(e);return o?(r.push.apply(r,Array.from(o.querySelectorAll("[aria-live], script"))),function(e,t,n,r){var o=function(e,t){return t.map((function(t){if(e.contains(t))return t;var n=zr(t);return n&&e.contains(n)?n:(Rr.error("aria-hidden",t,"in not contained inside",e,". Doing nothing"),null)})).filter((function(e){return Boolean(e)}))}(t,Array.isArray(e)?e:[e]);Fr[n]||(Fr[n]=new WeakMap);var i=Fr[n],a=[],c=new Set,l=new Set(o),u=function(e){e&&!c.has(e)&&(c.add(e),u(e.parentNode))};o.forEach(u);var s=function(e){e&&!l.has(e)&&Array.prototype.forEach.call(e.children,(function(e){if(c.has(e))s(e);else try{var t=e.getAttribute(r),o=null!==t&&"false"!==t,l=(Mr.get(e)||0)+1,u=(i.get(e)||0)+1;Mr.set(e,l),i.set(e,u),a.push(e),1===l&&o&&Nr.set(e,!0),1===u&&e.setAttribute(n,"true"),o||e.setAttribute(r,"true")}catch(t){Rr.error("aria-hidden: cannot operate on ",e,t)}}))};return s(t),c.clear(),Lr++,function(){a.forEach((function(e){var t=Mr.get(e)-1,o=i.get(e)-1;Mr.set(e,t),i.set(e,o),t||(Nr.has(e)||e.removeAttribute(r),Nr.delete(e)),o||e.removeAttribute(n)})),--Lr||(Mr=new WeakMap,Mr=new WeakMap,Nr=new WeakMap,Fr={})}}(r,o,n,"aria-hidden")):function(){return null}},Ur=function(){return Ur=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},Ur.apply(this,arguments)};function Hr(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}Object.create,Object.create,"function"==typeof SuppressedError&&SuppressedError;var $r="right-scroll-bar-position",Kr="width-before-scroll-bar";function Yr(e,t){return"function"==typeof e?e(t):e&&(e.current=t),e}var Gr="undefined"!=typeof window?a.useLayoutEffect:a.useEffect,Vr=new WeakMap;function qr(e){return e}var Xr=function(e){void 0===e&&(e={});var t=function(e,t){void 0===t&&(t=qr);var n=[],r=!1;return{read:function(){if(r)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:e},useMedium:function(e){var o=t(e,r);return n.push(o),function(){n=n.filter((function(e){return e!==o}))}},assignSyncMedium:function(e){for(r=!0;n.length;){var t=n;n=[],t.forEach(e)}n={push:function(t){return e(t)},filter:function(){return n}}},assignMedium:function(e){r=!0;var t=[];if(n.length){var o=n;n=[],o.forEach(e),t=n}var i=function(){var n=t;t=[],n.forEach(e)},a=function(){return Promise.resolve().then(i)};a(),n={push:function(e){t.push(e),a()},filter:function(e){return t=t.filter(e),n}}}}}(null);return t.options=Ur({async:!0,ssr:!1},e),t}(),Zr=function(){},Qr=a.forwardRef((function(e,t){var n=a.useRef(null),r=a.useState({onScrollCapture:Zr,onWheelCapture:Zr,onTouchMoveCapture:Zr}),o=r[0],i=r[1],c=e.forwardProps,l=e.children,u=e.className,s=e.removeScrollBar,f=e.enabled,d=e.shards,p=e.sideCar,v=e.noRelative,h=e.noIsolation,m=e.inert,g=e.allowPinchZoom,y=e.as,b=void 0===y?"div":y,A=e.gapMode,w=Hr(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),O=p,x=function(e,t){var n,r,o,i=(n=t||null,r=function(t){return e.forEach((function(e){return Yr(e,t)}))},(o=(0,a.useState)((function(){return{value:n,callback:r,facade:{get current(){return o.value},set current(e){var t=o.value;t!==e&&(o.value=e,o.callback(e,t))}}}}))[0]).callback=r,o.facade);return Gr((function(){var t=Vr.get(i);if(t){var n=new Set(t),r=new Set(e),o=i.current;n.forEach((function(e){r.has(e)||Yr(e,null)})),r.forEach((function(e){n.has(e)||Yr(e,o)}))}Vr.set(i,e)}),[e]),i}([n,t]),C=Ur(Ur({},w),o);return a.createElement(a.Fragment,null,f&&a.createElement(O,{sideCar:Xr,removeScrollBar:s,shards:d,noRelative:v,noIsolation:h,inert:m,setCallbacks:i,allowPinchZoom:!!g,lockRef:n,gapMode:A}),c?a.cloneElement(a.Children.only(l),Ur(Ur({},C),{ref:x})):a.createElement(b,Ur({},C,{className:u,ref:x}),l))}));Qr.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},Qr.classNames={fullWidth:Kr,zeroRight:$r};var Jr=function(e){var t=e.sideCar,n=Hr(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var r=t.read();if(!r)throw new Error("Sidecar medium not found");return a.createElement(r,Ur({},n))};Jr.isSideCarExport=!0;var eo=function(){var e=0,t=null;return{add:function(r){var o,i;0==e&&(t=function(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=n.nc;return t&&e.setAttribute("nonce",t),e}())&&(i=r,(o=t).styleSheet?o.styleSheet.cssText=i:o.appendChild(document.createTextNode(i)),function(e){(document.head||document.getElementsByTagName("head")[0]).appendChild(e)}(t)),e++},remove:function(){! --e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},to=function(){var e,t=(e=eo(),function(t,n){a.useEffect((function(){return e.add(t),function(){e.remove()}}),[t&&n])});return function(e){var n=e.styles,r=e.dynamic;return t(n,r),null}},no={left:0,top:0,right:0,gap:0},ro=function(e){return parseInt(e||"",10)||0},oo=to(),io="data-scroll-locked",ao=function(e,t,n,r){var o=e.left,i=e.top,a=e.right,c=e.gap;return void 0===n&&(n="margin"),"\n .".concat("with-scroll-bars-hidden"," {\n overflow: hidden ").concat(r,";\n padding-right: ").concat(c,"px ").concat(r,";\n }\n body[").concat(io,"] {\n overflow: hidden ").concat(r,";\n overscroll-behavior: contain;\n ").concat([t&&"position: relative ".concat(r,";"),"margin"===n&&"\n padding-left: ".concat(o,"px;\n padding-top: ").concat(i,"px;\n padding-right: ").concat(a,"px;\n margin-left:0;\n margin-top:0;\n margin-right: ").concat(c,"px ").concat(r,";\n "),"padding"===n&&"padding-right: ".concat(c,"px ").concat(r,";")].filter(Boolean).join(""),"\n }\n \n .").concat($r," {\n right: ").concat(c,"px ").concat(r,";\n }\n \n .").concat(Kr," {\n margin-right: ").concat(c,"px ").concat(r,";\n }\n \n .").concat($r," .").concat($r," {\n right: 0 ").concat(r,";\n }\n \n .").concat(Kr," .").concat(Kr," {\n margin-right: 0 ").concat(r,";\n }\n \n body[").concat(io,"] {\n ").concat("--removed-body-scroll-bar-size",": ").concat(c,"px;\n }\n")},co=function(){var e=parseInt(document.body.getAttribute(io)||"0",10);return isFinite(e)?e:0},lo=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,o=void 0===r?"margin":r;a.useEffect((function(){return document.body.setAttribute(io,(co()+1).toString()),function(){var e=co()-1;e<=0?document.body.removeAttribute(io):document.body.setAttribute(io,e.toString())}}),[]);var i=a.useMemo((function(){return function(e){if(void 0===e&&(e="margin"),"undefined"==typeof window)return no;var t=function(e){var t=window.getComputedStyle(document.body),n=t["padding"===e?"paddingLeft":"marginLeft"],r=t["padding"===e?"paddingTop":"marginTop"],o=t["padding"===e?"paddingRight":"marginRight"];return[ro(n),ro(r),ro(o)]}(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}}(o)}),[o]);return a.createElement(oo,{styles:ao(i,!t,o,n?"":"!important")})},uo=!1;if("undefined"!=typeof window)try{var so=Object.defineProperty({},"passive",{get:function(){return uo=!0,!0}});window.addEventListener("test",so,so),window.removeEventListener("test",so,so)}catch(e){uo=!1}var fo=!!uo&&{passive:!1},po=function(e,t){if(!(e instanceof Element))return!1;var n=window.getComputedStyle(e);return"hidden"!==n[t]&&!(n.overflowY===n.overflowX&&!function(e){return"TEXTAREA"===e.tagName}(e)&&"visible"===n[t])},vo=function(e,t){var n=t.ownerDocument,r=t;do{if("undefined"!=typeof ShadowRoot&&r instanceof ShadowRoot&&(r=r.host),ho(e,r)){var o=mo(e,r);if(o[1]>o[2])return!0}r=r.parentNode}while(r&&r!==n.body);return!1},ho=function(e,t){return"v"===e?function(e){return po(e,"overflowY")}(t):function(e){return po(e,"overflowX")}(t)},mo=function(e,t){return"v"===e?[(n=t).scrollTop,n.scrollHeight,n.clientHeight]:function(e){return[e.scrollLeft,e.scrollWidth,e.clientWidth]}(t);var n},go=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},yo=function(e){return[e.deltaX,e.deltaY]},bo=function(e){return e&&"current"in e?e.current:e},Ao=function(e){return"\n .block-interactivity-".concat(e," {pointer-events: none;}\n .allow-interactivity-").concat(e," {pointer-events: all;}\n")},wo=0,Oo=[];function xo(e){for(var t=null;null!==e;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}var Co,Eo=(Co=function(e){var t=a.useRef([]),n=a.useRef([0,0]),r=a.useRef(),o=a.useState(wo++)[0],i=a.useState(to)[0],c=a.useRef(e);a.useEffect((function(){c.current=e}),[e]),a.useEffect((function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var t=function(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))}([e.lockRef.current],(e.shards||[]).map(bo),!0).filter(Boolean);return t.forEach((function(e){return e.classList.add("allow-interactivity-".concat(o))})),function(){document.body.classList.remove("block-interactivity-".concat(o)),t.forEach((function(e){return e.classList.remove("allow-interactivity-".concat(o))}))}}}),[e.inert,e.lockRef.current,e.shards]);var l=a.useCallback((function(e,t){if("touches"in e&&2===e.touches.length||"wheel"===e.type&&e.ctrlKey)return!c.current.allowPinchZoom;var o,i=go(e),a=n.current,l="deltaX"in e?e.deltaX:a[0]-i[0],u="deltaY"in e?e.deltaY:a[1]-i[1],s=e.target,f=Math.abs(l)>Math.abs(u)?"h":"v";if("touches"in e&&"h"===f&&"range"===s.type)return!1;var d=vo(f,s);if(!d)return!0;if(d?o=f:(o="v"===f?"h":"v",d=vo(f,s)),!d)return!1;if(!r.current&&"changedTouches"in e&&(l||u)&&(r.current=o),!o)return!0;var p=r.current||o;return function(e,t,n,r){var o=function(e,t){return"h"===e&&"rtl"===t?-1:1}(e,window.getComputedStyle(t).direction),i=o*r,a=n.target,c=t.contains(a),l=!1,u=i>0,s=0,f=0;do{if(!a)break;var d=mo(e,a),p=d[0],v=d[1]-d[2]-o*p;(p||v)&&ho(e,a)&&(s+=v,f+=p);var h=a.parentNode;a=h&&h.nodeType===Node.DOCUMENT_FRAGMENT_NODE?h.host:h}while(!c&&a!==document.body||c&&(t.contains(a)||t===a));return(u&&(Math.abs(s)<1||!1)||!u&&(Math.abs(f)<1||!1))&&(l=!0),l}(p,t,e,"h"===p?l:u)}),[]),u=a.useCallback((function(e){var n=e;if(Oo.length&&Oo[Oo.length-1]===i){var r="deltaY"in n?yo(n):go(n),o=t.current.filter((function(e){return e.name===n.type&&(e.target===n.target||n.target===e.shadowParent)&&(t=e.delta,o=r,t[0]===o[0]&&t[1]===o[1]);var t,o}))[0];if(o&&o.should)n.cancelable&&n.preventDefault();else if(!o){var a=(c.current.shards||[]).map(bo).filter(Boolean).filter((function(e){return e.contains(n.target)}));(a.length>0?l(n,a[0]):!c.current.noIsolation)&&n.cancelable&&n.preventDefault()}}}),[]),s=a.useCallback((function(e,n,r,o){var i={name:e,delta:n,target:r,should:o,shadowParent:xo(r)};t.current.push(i),setTimeout((function(){t.current=t.current.filter((function(e){return e!==i}))}),1)}),[]),f=a.useCallback((function(e){n.current=go(e),r.current=void 0}),[]),d=a.useCallback((function(t){s(t.type,yo(t),t.target,l(t,e.lockRef.current))}),[]),p=a.useCallback((function(t){s(t.type,go(t),t.target,l(t,e.lockRef.current))}),[]);a.useEffect((function(){return Oo.push(i),e.setCallbacks({onScrollCapture:d,onWheelCapture:d,onTouchMoveCapture:p}),document.addEventListener("wheel",u,fo),document.addEventListener("touchmove",u,fo),document.addEventListener("touchstart",f,fo),function(){Oo=Oo.filter((function(e){return e!==i})),document.removeEventListener("wheel",u,fo),document.removeEventListener("touchmove",u,fo),document.removeEventListener("touchstart",f,fo)}}),[]);var v=e.removeScrollBar,h=e.inert;return a.createElement(a.Fragment,null,h?a.createElement(i,{styles:Ao(o)}):null,v?a.createElement(lo,{noRelative:e.noRelative,gapMode:e.gapMode}):null)},Xr.useMedium(Co),Jr),So=a.forwardRef((function(e,t){return a.createElement(Qr,Ur({},e,{ref:t,sideCar:Eo}))}));So.classNames=Qr.classNames;var jo=So,Po=["__scopePopover"],Io=["__scopePopover"],Do=["forceMount"],ko=["__scopePopover","trapFocus","onOpenAutoFocus","onCloseAutoFocus","disableOutsidePointerEvents","onEscapeKeyDown","onPointerDownOutside","onFocusOutside","onInteractOutside"],Bo=["__scopePopover"],To=["__scopePopover"];function _o(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function Ro(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Mo(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ro(Object(n),!0).forEach((function(t){No(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ro(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function No(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Fo(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,c=[],l=!0,u=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(c.push(r.value),c.length!==t);l=!0);}catch(e){u=!0,o=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(u)throw o}}return c}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Lo(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Lo(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Lo(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var zo="Popover",Wo=Fo((0,k.A)(zo,[tr]),2),Uo=Wo[0],Ho=(Wo[1],tr()),$o=Fo(Uo(zo),2),Ko=$o[0],Yo=$o[1],Go=e=>{var t=e.__scopePopover,n=e.children,r=e.open,o=e.defaultOpen,i=e.onOpenChange,c=e.modal,l=void 0!==c&&c,u=Ho(t),s=a.useRef(null),f=Fo(a.useState(!1),2),d=f[0],p=f[1],v=Fo((0,_r.i)({prop:r,defaultProp:null!=o&&o,onChange:i,caller:zo}),2),h=v[0],m=v[1];return(0,_.jsx)(br,Mo(Mo({},u),{},{children:(0,_.jsx)(Ko,{scope:t,contentId:ye(),triggerRef:s,open:h,onOpenChange:m,onOpenToggle:a.useCallback((()=>m((e=>!e))),[m]),hasCustomAnchor:d,onCustomAnchorAdd:a.useCallback((()=>p(!0)),[]),onCustomAnchorRemove:a.useCallback((()=>p(!1)),[]),modal:l,children:n})}))};Go.displayName=zo;var Vo="PopoverAnchor";a.forwardRef(((e,t)=>{var n=e.__scopePopover,r=_o(e,Po),o=Yo(Vo,n),i=Ho(n),c=o.onCustomAnchorAdd,l=o.onCustomAnchorRemove;return a.useEffect((()=>(c(),()=>l())),[c,l]),(0,_.jsx)(Ar,Mo(Mo(Mo({},i),r),{},{ref:t}))})).displayName=Vo;var qo="PopoverTrigger",Xo=a.forwardRef(((e,t)=>{var n=e.__scopePopover,r=_o(e,Io),o=Yo(qo,n),i=Ho(n),a=(0,D.s)(t,o.triggerRef),c=(0,_.jsx)(B.sG.button,Mo(Mo({type:"button","aria-haspopup":"dialog","aria-expanded":o.open,"aria-controls":o.contentId,"data-state":ui(o.open)},r),{},{ref:a,onClick:(0,I.mK)(e.onClick,o.onOpenToggle)}));return o.hasCustomAnchor?c:(0,_.jsx)(Ar,Mo(Mo({asChild:!0},i),{},{children:c}))}));Xo.displayName=qo;var Zo="PopoverPortal",Qo=Fo(Uo(Zo,{forceMount:void 0}),2),Jo=Qo[0],ei=Qo[1],ti=e=>{var t=e.__scopePopover,n=e.forceMount,r=e.children,o=e.container,i=Yo(Zo,t);return(0,_.jsx)(Jo,{scope:t,forceMount:n,children:(0,_.jsx)(kr,{present:n||i.open,children:(0,_.jsx)(Pr,{asChild:!0,container:o,children:r})})})};ti.displayName=Zo;var ni="PopoverContent",ri=a.forwardRef(((e,t)=>{var n=ei(ni,e.__scopePopover),r=e.forceMount,o=void 0===r?n.forceMount:r,i=_o(e,Do),a=Yo(ni,e.__scopePopover);return(0,_.jsx)(kr,{present:o||a.open,children:a.modal?(0,_.jsx)(ii,Mo(Mo({},i),{},{ref:t})):(0,_.jsx)(ai,Mo(Mo({},i),{},{ref:t}))})}));ri.displayName=ni;var oi=(0,Tr.TL)("PopoverContent.RemoveScroll"),ii=a.forwardRef(((e,t)=>{var n=Yo(ni,e.__scopePopover),r=a.useRef(null),o=(0,D.s)(t,r),i=a.useRef(!1);return a.useEffect((()=>{var e=r.current;if(e)return Wr(e)}),[]),(0,_.jsx)(jo,{as:oi,allowPinchZoom:!0,children:(0,_.jsx)(ci,Mo(Mo({},e),{},{ref:o,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:(0,I.mK)(e.onCloseAutoFocus,(e=>{var t;e.preventDefault(),i.current||null===(t=n.triggerRef.current)||void 0===t||t.focus()})),onPointerDownOutside:(0,I.mK)(e.onPointerDownOutside,(e=>{var t=e.detail.originalEvent,n=0===t.button&&!0===t.ctrlKey,r=2===t.button||n;i.current=r}),{checkForDefaultPrevented:!1}),onFocusOutside:(0,I.mK)(e.onFocusOutside,(e=>e.preventDefault()),{checkForDefaultPrevented:!1})}))})})),ai=a.forwardRef(((e,t)=>{var n=Yo(ni,e.__scopePopover),r=a.useRef(!1),o=a.useRef(!1);return(0,_.jsx)(ci,Mo(Mo({},e),{},{ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{var i,a;null===(i=e.onCloseAutoFocus)||void 0===i||i.call(e,t),t.defaultPrevented||(r.current||null===(a=n.triggerRef.current)||void 0===a||a.focus(),t.preventDefault()),r.current=!1,o.current=!1},onInteractOutside:t=>{var i,a;null===(i=e.onInteractOutside)||void 0===i||i.call(e,t),t.defaultPrevented||(r.current=!0,"pointerdown"===t.detail.originalEvent.type&&(o.current=!0));var c=t.target;(null===(a=n.triggerRef.current)||void 0===a?void 0:a.contains(c))&&t.preventDefault(),"focusin"===t.detail.originalEvent.type&&o.current&&t.preventDefault()}}))})),ci=a.forwardRef(((e,t)=>{var n=e.__scopePopover,r=e.trapFocus,o=e.onOpenAutoFocus,i=e.onCloseAutoFocus,c=e.disableOutsidePointerEvents,l=e.onEscapeKeyDown,u=e.onPointerDownOutside,s=e.onFocusOutside,f=e.onInteractOutside,d=_o(e,ko),p=Yo(ni,n),v=Ho(n);return a.useEffect((()=>{var e,t,n=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",null!==(e=n[0])&&void 0!==e?e:V()),document.body.insertAdjacentElement("beforeend",null!==(t=n[1])&&void 0!==t?t:V()),G++,()=>{1===G&&document.querySelectorAll("[data-radix-focus-guard]").forEach((e=>e.remove())),G--}}),[]),(0,_.jsx)(ae,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:o,onUnmountAutoFocus:i,children:(0,_.jsx)($,{asChild:!0,disableOutsidePointerEvents:c,onInteractOutside:f,onEscapeKeyDown:l,onPointerDownOutside:u,onFocusOutside:s,onDismiss:()=>p.onOpenChange(!1),children:(0,_.jsx)(wr,Mo(Mo(Mo({"data-state":ui(p.open),role:"dialog",id:p.contentId},v),d),{},{ref:t,style:Mo(Mo({},d.style),{"--radix-popover-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-popover-content-available-width":"var(--radix-popper-available-width)","--radix-popover-content-available-height":"var(--radix-popper-available-height)","--radix-popover-trigger-width":"var(--radix-popper-anchor-width)","--radix-popover-trigger-height":"var(--radix-popper-anchor-height)"})}))})})})),li="PopoverClose";function ui(e){return e?"open":"closed"}a.forwardRef(((e,t)=>{var n=e.__scopePopover,r=_o(e,Bo),o=Yo(li,n);return(0,_.jsx)(B.sG.button,Mo(Mo({type:"button"},r),{},{ref:t,onClick:(0,I.mK)(e.onClick,(()=>o.onOpenChange(!1)))}))})).displayName=li,a.forwardRef(((e,t)=>{var n=e.__scopePopover,r=_o(e,To),o=Ho(n);return(0,_.jsx)(Or,Mo(Mo(Mo({},o),r),{},{ref:t}))})).displayName="PopoverArrow";var si=Go,fi=Xo,di=ti,pi=ri,vi=n(85072),hi=n.n(vi),mi=n(97825),gi=n.n(mi),yi=n(55056),bi=n.n(yi),Ai=n(10540),wi=n.n(Ai),Oi=n(41113),xi=n.n(Oi),Ci=n(12499),Ei={};Ei.styleTagTransform=xi(),Ei.setAttributes=bi(),Ei.insert=function(e){var t=document.querySelector("head"),n=window._lastElementInsertedByStyleLoader;n?n.nextSibling?t.insertBefore(e,n.nextSibling):t.appendChild(e):t.insertBefore(e,t.firstChild),window._lastElementInsertedByStyleLoader=e},Ei.domAPI=gi(),Ei.insertStyleElement=wi(),hi()(Ci.A,Ei),Ci.A&&Ci.A.locals&&Ci.A.locals;var Si=n(30115),ji=n.n(Si);function Pi(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,c=[],l=!0,u=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(c.push(r.value),c.length!==t);l=!0);}catch(e){u=!0,o=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(u)throw o}}return c}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Ii(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Ii(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Ii(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function Di(){return Di=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Di.apply(null,arguments)}function ki(e){var t,n=window.dash_component_api.useDashContext(),r=window.dash_component_api.ExternalWrapper;if("object"==typeof e.label)return l().createElement(r,{component:e.label,componentPath:[...n.componentPath,e.index]});var o="".concat(null!==(t=e.label)&&void 0!==t?t:e.value);return l().createElement("span",{title:e.title},o)}var Bi=e=>{var t=e.option,n=e.isSelected,r=e.onClick,o=e.style,i=e.index;return l().createElement("label",{className:"dash-dropdown-option ".concat(n?"selected":""),role:"option","aria-selected":n,style:o,title:t.title},l().createElement("input",{type:"checkbox",checked:n,value:"boolean"==typeof t.value?"".concat(t.value):t.value,disabled:!!t.disabled,onChange:()=>r(t),readOnly:!0,className:"dash-dropdown-option-checkbox"}),l().createElement("span",{className:"dash-dropdown-option-text"},l().createElement(ki,Di({},t,{index:i}))))},Ti=e=>{var t=e.id,n=e.className,c=e.closeOnSelect,s=e.clearable,f=e.disabled,d=e.maxHeight,p=e.multi,h=e.options,m=e.optionHeight,g=e.setProps,A=e.searchable,O=e.search_value,x=e.style,E=e.value,j=Pi((0,a.useState)(),2),I=j[0],D=j[1],k=Pi((0,a.useState)(!1),2),B=k[0],T=k[1],_=Pi((0,a.useState)([]),2),R=_[0],M=_[1],N=(0,a.useRef)([]),F=(0,a.useRef)(null),L=window.dash_component_api.useDashContext().useLoading();N&&ji()(h,N.current)||(N.current=h);var z=(0,a.useMemo)((()=>function(e,t,n){var r=(0,b.s)(e),o=["value"],i=!1,a=!1;if(r=Array.isArray(r)?r.map((e=>(e.search&&(a=!0),l().isValidElement(e.label)&&(i=!0),e))):r,i||o.push("label"),a&&o.push("search"),!t||!n)return{sanitizedOptions:r||[],filteredOptions:r||[]};var c=new y("value");return c.searchIndex=new v,c.indexStrategy=new u,c.tokenizer=w,o.forEach((e=>{c.addIndex(e)})),r&&r.length>0&&c.addDocuments(r),{sanitizedOptions:r||[],filteredOptions:c.search(n)||[]}}(N.current,!!A,O)),[N.current,A,O]),W=z.sanitizedOptions,U=z.filteredOptions,H=(0,a.useMemo)((()=>E instanceof Array?E:(0,r.A)(E)?[]:[E]),[E]),$=(0,a.useCallback)((e=>{var t=H.includes(e.value);if(!1!==c&&T(!1),p){var n;if(t){if(!(s||H.length>1))return;n=H.filter((t=>t!==e.value))}else n=[...H,e.value];g({value:n})}else{var r;if(t){if(!s)return;r=null}else r=e.value;g({value:r})}}),[p,s,c,H]),K=(0,a.useCallback)((e=>g({search_value:e})),[]),Y=(0,a.useCallback)((e=>{if(e.currentTarget instanceof HTMLElement){var t,n=e.currentTarget.parentElement;null==n||null===(t=n.querySelector("input"))||void 0===t||t.focus()}g({search_value:void 0})}),[]);(0,a.useEffect)((()=>{if(!(O||(0,r.A)(W)||I===W||(0,r.A)(E)||(0,o.A)(E))){var e=W.map((e=>e.value));if(Array.isArray(E)){if(p){var t=E.filter((t=>!e.includes(t)));t.length&&g({value:(0,i.A)(t,E)})}}else e.includes(E)||g({value:null});D(W)}}),[W,I,p,E]);var G=(0,a.useMemo)((()=>H.map(((e,t)=>{var n=W.find((t=>t.value===e));return l().createElement(l().Fragment,{key:"".concat(null==n?void 0:n.value,"-").concat(t)},n&&l().createElement(ki,Di({},n,{index:t})),t===H.length-1?"":", ")}))),[W,H]),V=(0,a.useMemo)((()=>!!s||!H.every((e=>R.some((t=>t.value===e))))),[s,H,R,O]),q=(0,a.useCallback)((e=>{$(e)}),[$]),X=(0,a.useCallback)((()=>{g({value:p?[]:null})}),[p]),Z=(0,a.useCallback)((()=>{if(p){var e=H.concat(R.filter((e=>!H.includes(e.value))).map((e=>e.value)));g({value:e})}c&&T(!1)}),[p,R,H,c]),Q=(0,a.useCallback)((()=>{if(p){var e=H.filter((e=>!R.some((t=>t.value===e))));g({value:e})}c&&T(!1)}),[p,R,H,c]);(0,a.useEffect)((()=>{if(B){var e=[...U].sort(((e,t)=>{var n=H.includes(e.value),r=H.includes(t.value);return n&&!r?-1:!n&&r?1:0}));M(e)}}),[U,B]);var J=(0,a.useCallback)((e=>{if(["ArrowDown","ArrowUp","PageDown","PageUp","Home","End"].includes(e.key)&&!(["Home","End"].includes(e.key)&&document.activeElement instanceof HTMLInputElement)){var t=e.currentTarget.querySelectorAll('input[type="search"], input[type="checkbox"]:not([disabled])');if(0!==t.length){e.preventDefault();var n=Array.from(t).indexOf(document.activeElement),r=-1;switch(e.key){case"ArrowDown":r=n<t.length-1?n+1:0;break;case"ArrowUp":r=n>0?n-1:t.length-1;break;case"PageDown":r=Math.min(n+10,t.length-1);break;case"PageUp":r=Math.max(n-10,0);break;case"Home":r=0;break;case"End":r=t.length-1}r>-1&&(t[r].focus(),t[r].scrollIntoView({behavior:"auto",block:"center"}))}}}),[]),ee=(0,a.useCallback)((e=>{if(T(e),e){var t=[],n=[];H.forEach((e=>{var n=U.find((t=>t.value===e));n&&t.push(n)})),U.forEach((e=>{H.includes(e.value)||n.push(e)}));var r=[...t,...n];M(r)}else g({search_value:void 0})}),[U,H]);return l().createElement("div",{id:t,ref:F,className:"dash-dropdown ".concat(null!=n?n:""),style:x,"data-dash-is-loading":L||void 0},l().createElement(si,{open:B,onOpenChange:ee},l().createElement(fi,{asChild:!0},l().createElement("button",{className:"dash-dropdown-grid-container dash-dropdown-trigger","aria-label":e.placeholder,disabled:f,type:"button",onKeyDown:e=>{"ArrowDown"===e.key&&T(!0)}},G.length>0&&l().createElement("span",{className:"dash-dropdown-value"},G),0===G.length&&l().createElement("span",{className:"dash-dropdown-value dash-dropdown-placeholder"},e.placeholder),H.length>1&&l().createElement("span",{className:"dash-dropdown-value-count"},H.length," selected"),s&&!f&&!!H.length&&l().createElement("a",{className:"dash-dropdown-clear",onClick:e=>{e.preventDefault(),X()},title:"Clear selection","aria-label":"Clear selection"},l().createElement(S,null)),l().createElement(C,{className:"dash-dropdown-trigger-icon"}))),l().createElement(di,{container:F.current},l().createElement(pi,{className:"dash-dropdown-content",align:"start",sideOffset:5,onOpenAutoFocus:e=>e.preventDefault(),onKeyDown:J,style:{maxHeight:d?"".concat(d,"px"):"auto"}},A&&l().createElement("div",{className:"dash-dropdown-grid-container dash-dropdown-search-container"},l().createElement(P,{className:"dash-dropdown-search-icon"}),l().createElement("input",{type:"search",className:"dash-dropdown-search",placeholder:"Search",value:O||"",autoComplete:"off",onChange:e=>K(e.target.value),autoFocus:!0}),O&&l().createElement("button",{type:"button",className:"dash-dropdown-clear",onClick:Y,"aria-label":"Clear search"},l().createElement(S,null))),p&&l().createElement("div",{className:"dash-dropdown-actions"},l().createElement("button",{type:"button",className:"dash-dropdown-action-button",onClick:Z},"Select All"),V&&l().createElement("button",{type:"button",className:"dash-dropdown-action-button",onClick:Q},"Deselect All")),B&&l().createElement("div",{className:"dash-dropdown-options"},R.map(((e,t)=>{var n=p?H.includes(e.value):E===e.value;return l().createElement(Bi,{key:"".concat(e.value,"-").concat(t),index:t,option:e,isSelected:n,onClick:q,style:{height:m?"".concat(m,"px"):void 0}})})),O&&0===R.length&&l().createElement("span",{className:"dash-dropdown-option"},"No options found"))))))}},30115:function(e,t,n){var r=n(96763),o="undefined"!=typeof Element,i="function"==typeof Map,a="function"==typeof Set,c="function"==typeof ArrayBuffer&&!!ArrayBuffer.isView;function l(e,t){if(e===t)return!0;if(e&&t&&"object"==typeof e&&"object"==typeof t){if(e.constructor!==t.constructor)return!1;var n,r,u,s;if(Array.isArray(e)){if((n=e.length)!=t.length)return!1;for(r=n;0!=r--;)if(!l(e[r],t[r]))return!1;return!0}if(i&&e instanceof Map&&t instanceof Map){if(e.size!==t.size)return!1;for(s=e.entries();!(r=s.next()).done;)if(!t.has(r.value[0]))return!1;for(s=e.entries();!(r=s.next()).done;)if(!l(r.value[1],t.get(r.value[0])))return!1;return!0}if(a&&e instanceof Set&&t instanceof Set){if(e.size!==t.size)return!1;for(s=e.entries();!(r=s.next()).done;)if(!t.has(r.value[0]))return!1;return!0}if(c&&ArrayBuffer.isView(e)&&ArrayBuffer.isView(t)){if((n=e.length)!=t.length)return!1;for(r=n;0!=r--;)if(e[r]!==t[r])return!1;return!0}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf&&"function"==typeof e.valueOf&&"function"==typeof t.valueOf)return e.valueOf()===t.valueOf();if(e.toString!==Object.prototype.toString&&"function"==typeof e.toString&&"function"==typeof t.toString)return e.toString()===t.toString();if((n=(u=Object.keys(e)).length)!==Object.keys(t).length)return!1;for(r=n;0!=r--;)if(!Object.prototype.hasOwnProperty.call(t,u[r]))return!1;if(o&&e instanceof Element)return!1;for(r=n;0!=r--;)if(("_owner"!==u[r]&&"__v"!==u[r]&&"__o"!==u[r]||!e.$$typeof)&&!l(e[u[r]],t[u[r]]))return!1;return!0}return e!=e&&t!=t}e.exports=function(e,t){try{return l(e,t)}catch(e){if((e.message||"").match(/stack|recursion/i))return r.warn("react-fast-compare cannot handle circular refs"),!1;throw e}}}}]);
3
3
  //# sourceMappingURL=async-dropdown.js.map