@touchtech/baselayer-ui 1.9.0 → 2.0.0

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.
package/dist/bundle.js CHANGED
@@ -1,4 +1,4 @@
1
- !function(e,t){for(var n in t)e[n]=t[n]}(exports,function(e){var t={};function n(a){if(t[a])return t[a].exports;var r=t[a]={i:a,l:!1,exports:{}};return e[a].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,a){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:a})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var a=Object.create(null);if(n.r(a),Object.defineProperty(a,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(a,r,function(t){return e[t]}.bind(null,r));return a},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=26)}([function(e,t,n){e.exports=n(24)()},function(e,t){e.exports=require("react")},function(e,t,n){e.exports={container:"M9_egEC8msu135oPGVdIf",medium:"_3ur5_zYiIUYXditVwcm-wf",large:"_2DwLFD-4gDz9HEAAiwWJPq",inverted:"_31CfmTUYpEh1hZvctQ9lK4",rounded:"_2bq31qKD7B6r6CTCOL3drW",plain:"c_FvJhHzwHRNjkmie2IdU",transparent:"_8vMlSRH_9HoRGJh8Swka",stretchHorizontally:"nZ9rOZwzGXVI3ayRgA3QC",stretchVertically:"_1y8ifb95spTLWGAmsbw1R2",icon:"_1v7QkIiDV10JyA1nxcQVNP"}},function(e,t,n){e.exports={container:"_3eVBgmkG6hjVokm5Xy4UMQ",medium:"csj4PKQgdPBeF7Rd5Z-WQ",large:"_3_SwqmDWOGv877iHACnJpC",inverted:"_1xOa3CBRHzPCRWNsiJ65aC",rounded:"_3UGlOItzKokVg0wGH0eIlX",plain:"_2Xu-vIs-2pG6I65jnix39R",transparent:"_3Xflh3Q1AZnTOD0ctquI6w",stretchHorizontally:"_2FbRDEGS_7eMUcJ0ViOBU0",stretchVertically:"_1rPm-t5ZWwrS-L9l7z66jb",icon:"_2aevlbCks08GgOX41fxU0f"}},function(e,t,n){e.exports={container:"_2MPuJ3ApvrAvrewjSWGAA2",medium:"_3a9cWts_Y7x3pajk8umN3z",large:"_2aG6zXqTEKVcvBaaniCNBy",rounded:"_2JX034qUTCoTdWC2ppA487",inverted:"_2NkZ50rkA3eZCysY9FAp-e",plain:"_3C-Bxips3KJd3jsdy1HU9L",transparent:"_2u7qTMeE9D5rtcsEcSoAY3",icon:"_3WRGR7E440dB4q0SlackH2"}},function(e,t,n){e.exports={container:"a6NHO2CVVCfiniye2XLN-",row:"_3RSgB76rEBniPc2Ycr8Zbv",column:"_1JkX15igclnbm5sRScWVDY",fixed:"MMQ1yjEafWkYFVDHMpTbI",plain:"_3m2M_Narc5xwLay8HJljkc",transparent:"_1rfa49zhZxNifz64Oqb_6P",top:"_kUalnDeEfvzqAji0AMDo",topEdge:"W8JAIwLjO8JQGbviZpPQw",topOnEdge:"_3opJ7Eb6tj394uV8a57ixz",right:"_3-vbwjp0aPcLEV1Sx0ICgP",rightEdge:"_3XNFy5ZoMCoYBIabeGN4BQ",rightOnEdge:"_12c3CzUMQE8AG3AL8Hiki2",bottom:"_3geBENH5oErqGdt-QyHnPh",bottomEdge:"_3_saM4Gs32nRbIHHxIEbF6",bottomOnEdge:"_2PLE4dmGhncgk-lEnoU4kv",left:"_1iSBnyZgPeFUWoM4i6dSpU",leftEdge:"_1fX19qIOShn2o5uusRzTgs",leftOnEdge:"KBHDockuHTEOKMGOzadXi",horizontalCenter:"_31t6tHRJ5s-5DcDLFTKh1m",verticalCenter:"_2hq7fkDXHxrxz2t7LLg4_9"}},function(e,t,n){e.exports={container:"_1uifmKNPDzdu5YDnhgwPQK",medium:"W6Z1UnWycK5JiGpGtB6ul",large:"_26Z9FH-CNPqf55ZRP1vnab",rounded:"_2q7WvROhNm3gsRIRaQQeaU",inverted:"HV0R-lqwmyeqsS1Z8poZS",plain:"_1eaxeF4n2tGFe3bILoQE0P",transparent:"_1KdXfY3Pk6tENYH81tWrps",icon:"_3A1TMq68PMrOfAEbjk6Rye"}},function(e,t,n){e.exports={container:"kkgHoBQhFPsKj_x1ZFdRH",modalHeader:"_1WuvHD-GdXLrtqwa04W1qy",modalContent:"_27eUySQqvq5qloNClIjIST",modalButtonsContainer:"_5gIpyF3X5thPQAnsAC4z9",modalButtons:"swsoCii1w4xNl7ioDVkO5"}},function(e,t,n){e.exports={container:"_3zwln8xpkZwpTY5i6J7bOD",overlay:"Eg3imfbXdI6U6rfRE0-qO",image:"t1897dfts_pqHzSnwmWBW",cover:"_1-R_HDjO6qNnywcNiS8byD",contain:"_3mDpCjHJ2g66e0w4R2EZkG",stretchHorizontally:"_3yEtH7cqpUlVFaGiWG129w",stretchVertically:"lyiBs6OBxvREnwIR0ls2C"}},function(e,t,n){e.exports={container:"_2EQBfr5w8h1x1bq-2fp6wT",video:"_2tZfXkEhCkwAzfaG_BVn0B",cover:"_3OYHfbzaL3QHanWZBj8RxO",contain:"_3I_c7shcSrtG_FxvvU2IeE",stretchHorizontally:"_1Z7dL9uEd0Ksx3CkrZhsB8",stretchVertically:"_1zbrDYO0fYFJVc7xvsTYi6",overlay:"_2osXd7SkwF0Lh-2yiquYQM"}},function(e,t,n){e.exports={menu:"_2ahi8JcnxGHrnZmD0xT9RL",top:"_3gpFTd1Fdx4EAfq170TGs7",right:"_1L5ATpM9GXy-SORFr0G6S4",left:"CYEJl39TkEfnKal3vtvz9",bottom:"_3zyp-NdTBeBDKvk26psZup",open:"_1iaaziZrVI_-E8D99WdNji",entrance:"_2fiKe4-X8PqcG4_9qeB3ZO",menuHeader:"_19nk1IMNS-u_YIQLlmYRtU"}},function(e,t,n){e.exports={toast:"_3sBs_ERXV3k0SQMGUy2Wj4",entrance:"_1_xjtLeUMoEXNA-qOEZhcx",toastContent:"_10lBETCU3UNFR8py1q1q-h",toastImage:"_3Ci0wpObk6oqf7dwkHsFWo",toastButtons:"FEWDnDsP-9A9JHG20qBS5"}},function(e,t,n){e.exports={colorSwatch:"_13ss1xsMNizvEgP_hxEV8B",selected:"L6fAt6RZYz_z3wPbjZExH",srOnly:"_3vJ5mxpzaYsKaxf-8tB31x"}},function(e,t,n){e.exports={overlay:"_1yxCbQJqStUvytvKEeNC3n",modal:"D8SjBx3ikz636YubnHYAY",modalButton:"o8VRVxMrs1xXavADyxjLG"}},function(e,t,n){e.exports={container:"CPHNd8osKjLvQDEQUErux",header:"_1e7hHSVo59e8yQnhc9B6Id",list:"_1w1W8E6_Hzfes3WZTYZaJK"}},function(e,t,n){e.exports={listViewItem:"_2LgjqABwjHtpbGzkQQkqiQ",listViewItemButton:"_2WkYyL1Wq14Fe56tTrYKLA",active:"_1ym5xmhyY0Rys5YZQeSPX_"}},function(e,t,n){e.exports={overlay:"_2QgpyrDcUQyKYESC5DXXJr",transparent:"_28fVmoxp69OPr88Ew0zVeN",fixed:"_2sU3515EbFFgeP1yK2Zubz"}},function(e,t,n){e.exports={container:"_1zaLfHCYxnBsDI43ND5N7f",small:"_3lIv7lJDhsXzJk6foHZ-5f",medium:"tVhknA0nXLt0rPbSBdKs3",large:"J3eGgwq14QOzC2FMzix3l",inverted:"_1GVnavROqve6ll0atPGgOk"}},function(e,t,n){e.exports={textInput:"_2wfqOzWBoAn_K7goqvjXJe",medium:"_3UJoe8nlpzhVTmC09TVso-",large:"_3DQ52Qd_1K4_VxxVv728SX",textLabel:"_31oAAOE_dvGoAz9qJmo8EG"}},function(e,t,n){e.exports={colorPicker:"_31FwH_nWr72k3pugApJub9",horizontal:"Qa-BpuTT2kxpmV_AQgCjH",vertical:"_2x4SAnbopyZmkycWLC0EXk"}},function(e,t,n){e.exports={menuItem:"_3gGczRJwrNenXTBLQnC29M",active:"_2j1ilUNkbFGSgulXSoHAdP"}},function(e,t,n){e.exports={menuContainer:"_2-SFwsppEuobBJkAwwQrFC"}},function(e,t,n){e.exports={menuLinkItem:"_2Dy1LTfScGZtSb_5Lud-lU",active:"_2Uws7bj3yejmn1k7XiyKfQ",menuItem:"_2lI7S2t5zWhQsvg_XnQ7--"}},function(e,t,n){e.exports={toastContainer:"_3F8cJU1wmKmbrjidg-O3zp"}},function(e,t,n){"use strict";var a=n(25);function r(){}function o(){}o.resetWarningCache=r,e.exports=function(){function e(e,t,n,r,o,i){if(i!==a){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:o,resetWarningCache:r};return n.PropTypes=n,n}},function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,n){"use strict";n.r(t),n.d(t,"Button",(function(){return p})),n.d(t,"ButtonLink",(function(){return v})),n.d(t,"ColorPicker",(function(){return x})),n.d(t,"ColorSwatch",(function(){return O})),n.d(t,"ConfirmationModal",(function(){return ae})),n.d(t,"FloatingPanel",(function(){return se})),n.d(t,"IconButton",(function(){return de})),n.d(t,"IconButtonLink",(function(){return he})),n.d(t,"Image",(function(){return Ee})),n.d(t,"ListView",(function(){return Ce})),n.d(t,"ListViewItem",(function(){return Pe})),n.d(t,"Menu",(function(){return qe})),n.d(t,"MenuContainer",(function(){return Se})),n.d(t,"MenuItem",(function(){return Ve})),n.d(t,"MenuLinkItem",(function(){return Fe})),n.d(t,"Modal",(function(){return $})),n.d(t,"Overlay",(function(){return Ue})),n.d(t,"Spinner",(function(){return $e})),n.d(t,"TextInput",(function(){return at})),n.d(t,"Toast",(function(){return st})),n.d(t,"ToastContainer",(function(){return dt})),n.d(t,"Video",(function(){return yt})),n.d(t,"useToggle",(function(){return ht})),n.d(t,"useOutsideClick",(function(){return vt}));var a=n(1),r=n.n(a),o=n(0),i=n.n(o),s=Array.isArray;function l(e){var t="";if("string"==typeof e||"number"==typeof e)return e||"";if(s(e))for(var n,a=0;a<e.length;a++)""!==(n=l(e[a]))&&(t+=(t&&" ")+n);else for(var a in e)e.hasOwnProperty(a)&&e[a]&&(t+=(t&&" ")+a);return t}var c=n(2),u=n.n(c);function d({children:e,className:t,icon:n,isDisabled:a,isInverted:o,isRounded:i,isPlain:s,isTransparent:c,onClick:d,stretchHorizontally:p,stretchVertically:f,size:m,type:y}){return r.a.createElement("button",{className:l([u.a.container,u.a[m],{[u.a.inverted]:o,[u.a.rounded]:i,[u.a.plain]:s,[u.a.transparent]:c,[u.a.stretchHorizontally]:p,[u.a.stretchVertically]:f},t]),disabled:a,onClick:d,type:y,role:"button"},n&&"left"===n.placement&&r.a.createElement("img",{"data-testid":"button-icon",className:u.a.icon,src:n.src,alt:n.alt}),e&&r.a.createElement("span",null,e),n&&(!n.placement||"right"===n.placement)&&r.a.createElement("img",{"data-testid":"button-icon",className:u.a.icon,src:n.src,alt:n.alt}))}d.defaultProps={isDisabled:!1,isInverted:!1,isRounded:!1,isPlain:!1,isTransparent:!1,stretchHorizontally:!1,stretchVertically:!1},d.propTypes={children:i.a.node,className:i.a.string,icon:i.a.shape({src:i.a.string.isRequired,alt:i.a.string.isRequired,placement:i.a.oneOf(["left","right"])}),isDisabled:i.a.bool,isInverted:i.a.bool,isRounded:i.a.bool,isPlain:i.a.bool,isTransparent:i.a.bool,stretchHorizontally:i.a.bool,stretchVertically:i.a.bool,onClick:i.a.func,size:i.a.oneOf(["small","medium","large"]),type:i.a.oneOf(["submit","reset","button"])};var p=d,f=n(3),m=n.n(f);function y(){return(y=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function h({as:e,children:t,className:n,icon:a,isInverted:o,isRounded:i,isPlain:s,isTransparent:c,stretchHorizontally:u,stretchVertically:d,size:p,...f}){return r.a.createElement(e,y({"data-testid":"button-link",className:l([m.a.container,m.a[p],{[m.a.inverted]:o,[m.a.rounded]:i,[m.a.plain]:s,[m.a.transparent]:c,[m.a.stretchHorizontally]:u,[m.a.stretchVertically]:d},n])},f),a&&"left"===a.placement&&r.a.createElement("img",{"data-testid":"button-link-icon",className:m.a.icon,src:a.src,alt:a.alt}),t&&r.a.createElement("span",null,t),a&&(!a.placement||"right"===a.placement)&&r.a.createElement("img",{"data-testid":"button-link-icon",className:m.a.icon,src:a.src,alt:a.alt}))}h.defaultProps={as:"a",isInverted:!1,isRounded:!1,isPlain:!1,isTransparent:!1,stretchHorizontally:!1,stretchVertically:!1},h.propTypes={as:i.a.elementType,children:i.a.node,className:i.a.string,icon:i.a.shape({src:i.a.string.isRequired,alt:i.a.string.isRequired,placement:i.a.oneOf(["left","right"])}),isInverted:i.a.bool,isRounded:i.a.bool,isPlain:i.a.bool,isTransparent:i.a.bool,stretchHorizontally:i.a.bool,stretchVertically:i.a.bool,size:i.a.oneOf(["small","medium","large"])};var v=h,g=n(12),b=n.n(g);function E({color:e,isSelected:t,onClick:n}){return r.a.createElement("button",{className:l([b.a.colorSwatch,{[b.a.selected]:t}]),"data-testid":"color-swatch",disabled:t,onClick:n,style:{backgroundColor:e.hexCode}},r.a.createElement("span",{className:b.a.srOnly},`Select ${e.label} color`))}E.defaultProps={isSelected:!1},E.propTypes={color:i.a.shape({hexCode:i.a.string.isRequired,label:i.a.string.isRequired}).isRequired,isSelected:i.a.bool,onClick:i.a.func.isRequired};var O=E,_=n(19),k=n.n(_);function C({colors:e,direction:t,onSelect:n,selectedColor:a}){return r.a.createElement("div",{className:l([k.a.colorPicker,k.a[t]])},e.map(e=>r.a.createElement(O,{key:e.key,color:e,isSelected:e===a,onClick:()=>n(e)})))}C.defaultProps={direction:"vertical"},C.propTypes={direction:i.a.oneOf(["horizontal","vertical"]),colors:i.a.arrayOf(i.a.shape({hexCode:i.a.string.isRequired,key:i.a.string.isRequired,label:i.a.string.isRequired})).isRequired,onSelect:i.a.func.isRequired,selectedColor:i.a.shape({hexCode:i.a.string.isRequired,key:i.a.string.isRequired,label:i.a.string.isRequired})};var x=C,w="undefined"!=typeof navigator&&navigator.userAgent.toLowerCase().indexOf("firefox")>0;
1
+ !function(e,t){for(var n in t)e[n]=t[n]}(exports,function(e){var t={};function n(a){if(t[a])return t[a].exports;var r=t[a]={i:a,l:!1,exports:{}};return e[a].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,a){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:a})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var a=Object.create(null);if(n.r(a),Object.defineProperty(a,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(a,r,function(t){return e[t]}.bind(null,r));return a},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=27)}([function(e,t,n){e.exports=n(25)()},function(e,t){e.exports=require("react")},function(e,t,n){e.exports={container:"M9_egEC8msu135oPGVdIf",small:"_1bNQhbZwLA8ErLmwdQitJe",medium:"_3ur5_zYiIUYXditVwcm-wf",large:"_2DwLFD-4gDz9HEAAiwWJPq",inverted:"_31CfmTUYpEh1hZvctQ9lK4",rounded:"_2bq31qKD7B6r6CTCOL3drW",plain:"c_FvJhHzwHRNjkmie2IdU",transparent:"_8vMlSRH_9HoRGJh8Swka",stretchHorizontally:"nZ9rOZwzGXVI3ayRgA3QC",stretchVertically:"_1y8ifb95spTLWGAmsbw1R2"}},function(e,t,n){e.exports={container:"_3eVBgmkG6hjVokm5Xy4UMQ",small:"_8I9fhnzbMvCrl5KPj9f0",medium:"csj4PKQgdPBeF7Rd5Z-WQ",large:"_3_SwqmDWOGv877iHACnJpC",inverted:"_1xOa3CBRHzPCRWNsiJ65aC",rounded:"_3UGlOItzKokVg0wGH0eIlX",plain:"_2Xu-vIs-2pG6I65jnix39R",transparent:"_3Xflh3Q1AZnTOD0ctquI6w",stretchHorizontally:"_2FbRDEGS_7eMUcJ0ViOBU0",stretchVertically:"_1rPm-t5ZWwrS-L9l7z66jb"}},function(e,t,n){e.exports={container:"_2MPuJ3ApvrAvrewjSWGAA2",medium:"_3a9cWts_Y7x3pajk8umN3z",large:"_2aG6zXqTEKVcvBaaniCNBy",rounded:"_2JX034qUTCoTdWC2ppA487",inverted:"_2NkZ50rkA3eZCysY9FAp-e",plain:"_3C-Bxips3KJd3jsdy1HU9L",transparent:"_2u7qTMeE9D5rtcsEcSoAY3"}},function(e,t,n){e.exports={container:"_3zwln8xpkZwpTY5i6J7bOD",hasOverlay:"_2el8xWqqf3w4S3x0s2D9xl",overlay:"Eg3imfbXdI6U6rfRE0-qO",image:"t1897dfts_pqHzSnwmWBW",cover:"_1-R_HDjO6qNnywcNiS8byD",contain:"_3mDpCjHJ2g66e0w4R2EZkG",stretchHorizontally:"_3yEtH7cqpUlVFaGiWG129w",stretchVertically:"lyiBs6OBxvREnwIR0ls2C"}},function(e,t,n){e.exports={container:"_2EQBfr5w8h1x1bq-2fp6wT",hasOverlay:"_3GRMpmGk_PqITcUv0Nfmt3",video:"_2tZfXkEhCkwAzfaG_BVn0B",cover:"_3OYHfbzaL3QHanWZBj8RxO",contain:"_3I_c7shcSrtG_FxvvU2IeE",stretchHorizontally:"_1Z7dL9uEd0Ksx3CkrZhsB8",stretchVertically:"_1zbrDYO0fYFJVc7xvsTYi6",overlay:"_2osXd7SkwF0Lh-2yiquYQM"}},function(e,t,n){e.exports={container:"kkgHoBQhFPsKj_x1ZFdRH",modalHeader:"_1WuvHD-GdXLrtqwa04W1qy",modalContent:"_27eUySQqvq5qloNClIjIST",modalButtonsContainer:"_5gIpyF3X5thPQAnsAC4z9",modalButtons:"swsoCii1w4xNl7ioDVkO5"}},function(e,t,n){e.exports={container:"_1uifmKNPDzdu5YDnhgwPQK",medium:"W6Z1UnWycK5JiGpGtB6ul",large:"_26Z9FH-CNPqf55ZRP1vnab",rounded:"_2q7WvROhNm3gsRIRaQQeaU",inverted:"HV0R-lqwmyeqsS1Z8poZS",plain:"_1eaxeF4n2tGFe3bILoQE0P",transparent:"_1KdXfY3Pk6tENYH81tWrps"}},function(e,t,n){e.exports={container:"a6NHO2CVVCfiniye2XLN-",row:"_3RSgB76rEBniPc2Ycr8Zbv",column:"_1JkX15igclnbm5sRScWVDY",fixed:"MMQ1yjEafWkYFVDHMpTbI",plain:"_3m2M_Narc5xwLay8HJljkc",transparent:"_1rfa49zhZxNifz64Oqb_6P",top:"_kUalnDeEfvzqAji0AMDo",topEdge:"W8JAIwLjO8JQGbviZpPQw",topOnEdge:"_3opJ7Eb6tj394uV8a57ixz",right:"_3-vbwjp0aPcLEV1Sx0ICgP",rightEdge:"_3XNFy5ZoMCoYBIabeGN4BQ",rightOnEdge:"_12c3CzUMQE8AG3AL8Hiki2",bottom:"_3geBENH5oErqGdt-QyHnPh",bottomEdge:"_3_saM4Gs32nRbIHHxIEbF6",bottomOnEdge:"_2PLE4dmGhncgk-lEnoU4kv",left:"_1iSBnyZgPeFUWoM4i6dSpU",leftEdge:"_1fX19qIOShn2o5uusRzTgs",leftOnEdge:"KBHDockuHTEOKMGOzadXi",horizontalCenter:"_31t6tHRJ5s-5DcDLFTKh1m",verticalCenter:"_2hq7fkDXHxrxz2t7LLg4_9"}},function(e,t,n){e.exports={menu:"_2ahi8JcnxGHrnZmD0xT9RL",top:"_3gpFTd1Fdx4EAfq170TGs7",right:"_1L5ATpM9GXy-SORFr0G6S4",left:"CYEJl39TkEfnKal3vtvz9",bottom:"_3zyp-NdTBeBDKvk26psZup",open:"_1iaaziZrVI_-E8D99WdNji",entrance:"_2fiKe4-X8PqcG4_9qeB3ZO",menuHeader:"_19nk1IMNS-u_YIQLlmYRtU"}},function(e,t,n){e.exports={toast:"_3sBs_ERXV3k0SQMGUy2Wj4",entrance:"_1_xjtLeUMoEXNA-qOEZhcx",toastContent:"_10lBETCU3UNFR8py1q1q-h",toastImage:"_3Ci0wpObk6oqf7dwkHsFWo",toastButtons:"FEWDnDsP-9A9JHG20qBS5"}},function(e,t,n){e.exports={colorSwatch:"_13ss1xsMNizvEgP_hxEV8B",selected:"L6fAt6RZYz_z3wPbjZExH",srOnly:"_3vJ5mxpzaYsKaxf-8tB31x"}},function(e,t,n){e.exports={overlay:"_1yxCbQJqStUvytvKEeNC3n",modal:"D8SjBx3ikz636YubnHYAY",modalButton:"o8VRVxMrs1xXavADyxjLG"}},function(e,t,n){e.exports={container:"CPHNd8osKjLvQDEQUErux",header:"_1e7hHSVo59e8yQnhc9B6Id",list:"_1w1W8E6_Hzfes3WZTYZaJK"}},function(e,t,n){e.exports={listViewItem:"_2LgjqABwjHtpbGzkQQkqiQ",listViewItemButton:"_2WkYyL1Wq14Fe56tTrYKLA",active:"_1ym5xmhyY0Rys5YZQeSPX_"}},function(e,t,n){e.exports={overlay:"_2QgpyrDcUQyKYESC5DXXJr",transparent:"_28fVmoxp69OPr88Ew0zVeN",fixed:"_2sU3515EbFFgeP1yK2Zubz"}},function(e,t,n){e.exports={container:"_1zaLfHCYxnBsDI43ND5N7f",small:"_3lIv7lJDhsXzJk6foHZ-5f",medium:"tVhknA0nXLt0rPbSBdKs3",large:"J3eGgwq14QOzC2FMzix3l",inverted:"_1GVnavROqve6ll0atPGgOk"}},function(e,t,n){e.exports={textInput:"_2wfqOzWBoAn_K7goqvjXJe",medium:"_3UJoe8nlpzhVTmC09TVso-",large:"_3DQ52Qd_1K4_VxxVv728SX",textLabel:"_31oAAOE_dvGoAz9qJmo8EG"}},function(e,t,n){e.exports={colorPicker:"_31FwH_nWr72k3pugApJub9",horizontal:"Qa-BpuTT2kxpmV_AQgCjH",vertical:"_2x4SAnbopyZmkycWLC0EXk"}},function(e,t,n){e.exports={icon:"uh8zkmQp5ybk5WJSla69D",medium:"sJpxfYgiTz7ik6JOGu1wi",large:"_2rgucAH8Bnli-cmjz9i2C2"}},function(e,t,n){e.exports={menuItem:"_3gGczRJwrNenXTBLQnC29M",active:"_2j1ilUNkbFGSgulXSoHAdP"}},function(e,t,n){e.exports={menuContainer:"_2-SFwsppEuobBJkAwwQrFC"}},function(e,t,n){e.exports={menuLinkItem:"_2Dy1LTfScGZtSb_5Lud-lU",active:"_2Uws7bj3yejmn1k7XiyKfQ",menuItem:"_2lI7S2t5zWhQsvg_XnQ7--"}},function(e,t,n){e.exports={toastContainer:"_3F8cJU1wmKmbrjidg-O3zp"}},function(e,t,n){"use strict";var a=n(26);function r(){}function o(){}o.resetWarningCache=r,e.exports=function(){function e(e,t,n,r,o,i){if(i!==a){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:o,resetWarningCache:r};return n.PropTypes=n,n}},function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,n){"use strict";n.r(t),n.d(t,"Button",(function(){return p})),n.d(t,"ButtonLink",(function(){return v})),n.d(t,"ColorPicker",(function(){return x})),n.d(t,"ColorSwatch",(function(){return E})),n.d(t,"ConfirmationModal",(function(){return ae})),n.d(t,"FloatingPanel",(function(){return se})),n.d(t,"IconButton",(function(){return ye})),n.d(t,"IconButtonLink",(function(){return Oe})),n.d(t,"Image",(function(){return ke})),n.d(t,"ListView",(function(){return Pe})),n.d(t,"ListViewItem",(function(){return qe})),n.d(t,"Menu",(function(){return He})),n.d(t,"MenuContainer",(function(){return Ve})),n.d(t,"MenuItem",(function(){return Qe})),n.d(t,"MenuLinkItem",(function(){return Ze})),n.d(t,"Modal",(function(){return $})),n.d(t,"Overlay",(function(){return $e})),n.d(t,"Spinner",(function(){return at})),n.d(t,"TextInput",(function(){return st})),n.d(t,"Toast",(function(){return dt})),n.d(t,"ToastContainer",(function(){return yt})),n.d(t,"Video",(function(){return bt})),n.d(t,"useToggle",(function(){return Ot})),n.d(t,"useOutsideClick",(function(){return Et}));var a=n(1),r=n.n(a),o=n(0),i=n.n(o),s=Array.isArray;function l(e){var t="";if("string"==typeof e||"number"==typeof e)return e||"";if(s(e))for(var n,a=0;a<e.length;a++)""!==(n=l(e[a]))&&(t+=(t&&" ")+n);else for(var a in e)e.hasOwnProperty(a)&&e[a]&&(t+=(t&&" ")+a);return t}var c=n(2),u=n.n(c);function d({children:e,className:t,isDisabled:n,isInverted:a,isRounded:o,isPlain:i,isTransparent:s,onClick:c,stretchHorizontally:d,stretchVertically:p,fitContent:f,size:m,type:y}){return r.a.createElement("button",{className:l([u.a.container,u.a[m],{[u.a.inverted]:a,[u.a.rounded]:o,[u.a.plain]:i,[u.a.transparent]:s,[u.a.stretchHorizontally]:d,[u.a.stretchVertically]:p,[u.a.fitContent]:f},t]),disabled:n,onClick:c,type:y,role:"button"},e)}d.defaultProps={size:"medium",stretchHorizontally:!1,stretchVertically:!1,fitContent:!1,isDisabled:!1,isInverted:!1,isRounded:!1,isPlain:!1,isTransparent:!1},d.propTypes={children:i.a.node,className:i.a.string,isDisabled:i.a.bool,isInverted:i.a.bool,isRounded:i.a.bool,isPlain:i.a.bool,isTransparent:i.a.bool,stretchHorizontally:i.a.bool,stretchVertically:i.a.bool,fitContent:i.a.bool,onClick:i.a.func,size:i.a.oneOf(["small","medium","large"]),type:i.a.oneOf(["submit","reset","button"])};var p=d,f=n(3),m=n.n(f);function y(){return(y=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function h({as:e,children:t,className:n,isInverted:a,isRounded:o,isPlain:i,isTransparent:s,stretchHorizontally:c,stretchVertically:u,size:d,...p}){return r.a.createElement(e,y({"data-testid":"button-link",className:l([m.a.container,m.a[d],{[m.a.inverted]:a,[m.a.rounded]:o,[m.a.plain]:i,[m.a.transparent]:s,[m.a.stretchHorizontally]:c,[m.a.stretchVertically]:u},n])},p),t)}h.defaultProps={as:"a",isInverted:!1,isRounded:!1,isPlain:!1,isTransparent:!1,stretchHorizontally:!1,stretchVertically:!1},h.propTypes={as:i.a.elementType,children:i.a.node,className:i.a.string,isInverted:i.a.bool,isRounded:i.a.bool,isPlain:i.a.bool,isTransparent:i.a.bool,stretchHorizontally:i.a.bool,stretchVertically:i.a.bool,size:i.a.oneOf(["small","medium","large"])};var v=h,g=n(12),b=n.n(g);function O({color:e,isSelected:t,onClick:n}){return r.a.createElement("button",{className:l([b.a.colorSwatch,{[b.a.selected]:t}]),"data-testid":"color-swatch",disabled:t,onClick:n,style:{backgroundColor:e.hexCode}},r.a.createElement("span",{className:b.a.srOnly},`Select ${e.label} color`))}O.defaultProps={isSelected:!1},O.propTypes={color:i.a.shape({hexCode:i.a.string.isRequired,label:i.a.string.isRequired}).isRequired,isSelected:i.a.bool,onClick:i.a.func.isRequired};var E=O,_=n(19),C=n.n(_);function k({colors:e,direction:t,onSelect:n,selectedColor:a}){return r.a.createElement("div",{className:l([C.a.colorPicker,C.a[t]])},e.map(e=>r.a.createElement(E,{key:e.key,color:e,isSelected:e===a,onClick:()=>n(e)})))}k.defaultProps={direction:"vertical"},k.propTypes={direction:i.a.oneOf(["horizontal","vertical"]),colors:i.a.arrayOf(i.a.shape({hexCode:i.a.string.isRequired,key:i.a.string.isRequired,label:i.a.string.isRequired})).isRequired,onSelect:i.a.func.isRequired,selectedColor:i.a.shape({hexCode:i.a.string.isRequired,key:i.a.string.isRequired,label:i.a.string.isRequired})};var x=k,w="undefined"!=typeof navigator&&navigator.userAgent.toLowerCase().indexOf("firefox")>0;
2
2
  /*!
3
3
  * hotkeys-js v3.8.1
4
4
  * A simple micro-library for defining and dispatching keyboard shortcuts. It has no dependencies.
@@ -7,4 +7,4 @@
7
7
  * http://jaywcjlove.github.io/hotkeys
8
8
  *
9
9
  * Licensed under the MIT license.
10
- */function N(e,t,n){e.addEventListener?e.addEventListener(t,n,!1):e.attachEvent&&e.attachEvent("on".concat(t),(function(){n(window.event)}))}function P(e,t){for(var n=t.slice(0,t.length-1),a=0;a<n.length;a++)n[a]=e[n[a].toLowerCase()];return n}function R(e){"string"!=typeof e&&(e="");for(var t=(e=e.replace(/\s/g,"")).split(","),n=t.lastIndexOf("");n>=0;)t[n-1]+=",",t.splice(n,1),n=t.lastIndexOf("");return t}for(var T={backspace:8,tab:9,clear:12,enter:13,return:13,esc:27,escape:27,space:32,left:37,up:38,right:39,down:40,del:46,delete:46,ins:45,insert:45,home:36,end:35,pageup:33,pagedown:34,capslock:20,"⇪":20,",":188,".":190,"/":191,"`":192,"-":w?173:189,"=":w?61:187,";":w?59:186,"'":222,"[":219,"]":221,"\\":220},z={"⇧":16,shift:16,"⌥":18,alt:18,option:18,"⌃":17,ctrl:17,control:17,"⌘":91,cmd:91,command:91},q={16:"shiftKey",18:"altKey",17:"ctrlKey",91:"metaKey",shiftKey:16,ctrlKey:17,altKey:18,metaKey:91},I={16:!1,18:!1,17:!1,91:!1},j={},H=1;H<20;H++)T["f".concat(H)]=111+H;var S=[],A="all",B=[],L=function(e){return T[e.toLowerCase()]||z[e.toLowerCase()]||e.toUpperCase().charCodeAt(0)};function V(e){A=e||"all"}function K(){return A||"all"}var D=function(e){var t=e.key,n=e.scope,a=e.method,r=e.splitKey,o=void 0===r?"+":r;R(t).forEach((function(e){var t=e.split(o),r=t.length,i=t[r-1],s="*"===i?"*":L(i);if(j[s]){n||(n=K());var l=r>1?P(z,t):[];j[s]=j[s].map((function(e){return(!a||e.method===a)&&e.scope===n&&function(e,t){for(var n=e.length>=t.length?e:t,a=e.length>=t.length?t:e,r=!0,o=0;o<n.length;o++)-1===a.indexOf(n[o])&&(r=!1);return r}(e.mods,l)?{}:e}))}}))};function G(e,t,n){var a;if(t.scope===n||"all"===t.scope){for(var r in a=t.mods.length>0,I)Object.prototype.hasOwnProperty.call(I,r)&&(!I[r]&&t.mods.indexOf(+r)>-1||I[r]&&-1===t.mods.indexOf(+r))&&(a=!1);(0!==t.mods.length||I[16]||I[18]||I[17]||I[91])&&!a&&"*"!==t.shortcut||!1===t.method(e,t)&&(e.preventDefault?e.preventDefault():e.returnValue=!1,e.stopPropagation&&e.stopPropagation(),e.cancelBubble&&(e.cancelBubble=!0))}}function Q(e){var t=j["*"],n=e.keyCode||e.which||e.charCode;if(F.filter.call(this,e)){if(93!==n&&224!==n||(n=91),-1===S.indexOf(n)&&229!==n&&S.push(n),["ctrlKey","altKey","shiftKey","metaKey"].forEach((function(t){var n=q[t];e[t]&&-1===S.indexOf(n)?S.push(n):!e[t]&&S.indexOf(n)>-1?S.splice(S.indexOf(n),1):"metaKey"===t&&e[t]&&3===S.length&&(e.ctrlKey||e.shiftKey||e.altKey||(S=S.slice(S.indexOf(n))))})),n in I){for(var a in I[n]=!0,z)z[a]===n&&(F[a]=!0);if(!t)return}for(var r in I)Object.prototype.hasOwnProperty.call(I,r)&&(I[r]=e[q[r]]);e.getModifierState&&(!e.altKey||e.ctrlKey)&&e.getModifierState("AltGraph")&&(-1===S.indexOf(17)&&S.push(17),-1===S.indexOf(18)&&S.push(18),I[17]=!0,I[18]=!0);var o=K();if(t)for(var i=0;i<t.length;i++)t[i].scope===o&&("keydown"===e.type&&t[i].keydown||"keyup"===e.type&&t[i].keyup)&&G(e,t[i],o);if(n in j)for(var s=0;s<j[n].length;s++)if(("keydown"===e.type&&j[n][s].keydown||"keyup"===e.type&&j[n][s].keyup)&&j[n][s].key){for(var l=j[n][s],c=l.splitKey,u=l.key.split(c),d=[],p=0;p<u.length;p++)d.push(L(u[p]));d.sort().join("")===S.sort().join("")&&G(e,l,o)}}}function F(e,t,n){S=[];var a=R(e),r=[],o="all",i=document,s=0,l=!1,c=!0,u="+";for(void 0===n&&"function"==typeof t&&(n=t),"[object Object]"===Object.prototype.toString.call(t)&&(t.scope&&(o=t.scope),t.element&&(i=t.element),t.keyup&&(l=t.keyup),void 0!==t.keydown&&(c=t.keydown),"string"==typeof t.splitKey&&(u=t.splitKey)),"string"==typeof t&&(o=t);s<a.length;s++)r=[],(e=a[s].split(u)).length>1&&(r=P(z,e)),(e="*"===(e=e[e.length-1])?"*":L(e))in j||(j[e]=[]),j[e].push({keyup:l,keydown:c,scope:o,mods:r,shortcut:a[s],method:n,key:a[s],splitKey:u});void 0!==i&&!function(e){return B.indexOf(e)>-1}(i)&&window&&(B.push(i),N(i,"keydown",(function(e){Q(e)})),N(window,"focus",(function(){S=[]})),N(i,"keyup",(function(e){Q(e),function(e){var t=e.keyCode||e.which||e.charCode,n=S.indexOf(t);if(n>=0&&S.splice(n,1),e.key&&"meta"===e.key.toLowerCase()&&S.splice(0,S.length),93!==t&&224!==t||(t=91),t in I)for(var a in I[t]=!1,z)z[a]===t&&(F[a]=!1)}(e)})))}var M={setScope:V,getScope:K,deleteScope:function(e,t){var n,a;for(var r in e||(e=K()),j)if(Object.prototype.hasOwnProperty.call(j,r))for(n=j[r],a=0;a<n.length;)n[a].scope===e?n.splice(a,1):a++;K()===e&&V(t||"all")},getPressedKeyCodes:function(){return S.slice(0)},isPressed:function(e){return"string"==typeof e&&(e=L(e)),-1!==S.indexOf(e)},filter:function(e){var t=e.target||e.srcElement,n=t.tagName,a=!0;return!t.isContentEditable&&("INPUT"!==n&&"TEXTAREA"!==n&&"SELECT"!==n||t.readOnly)||(a=!1),a},unbind:function(e){if(e){if(Array.isArray(e))e.forEach((function(e){e.key&&D(e)}));else if("object"==typeof e)e.key&&D(e);else if("string"==typeof e){for(var t=arguments.length,n=new Array(t>1?t-1:0),a=1;a<t;a++)n[a-1]=arguments[a];var r=n[0],o=n[1];"function"==typeof r&&(o=r,r=""),D({key:e,scope:r,method:o,splitKey:"+"})}}else Object.keys(j).forEach((function(e){return delete j[e]}))}};for(var W in M)Object.prototype.hasOwnProperty.call(M,W)&&(F[W]=M[W]);if("undefined"!=typeof window){var X=window.hotkeys;F.noConflict=function(e){return e&&window.hotkeys===F&&(window.hotkeys=X),F},window.hotkeys=F}var U=F;var Z=n(13),J=n.n(Z);function Y({children:e,isOpen:t,onClose:n,button:o}){!function(e,t,n,r){n instanceof Array&&(r=n,n=void 0);const{enableOnTags:o,filter:i}=n||{},s=Object(a.useRef)(null),l=Object(a.useCallback)((e,n)=>(null===s.current||document.activeElement===s.current)&&(t(e,n),!0),r?[s,...r]:[s]);Object(a.useEffect)(()=>(n&&n.enableOnTags&&(U.filter=({target:e,srcElement:t})=>{const n=e&&e.tagName||t&&t.tagName;return Boolean(n&&o&&o.includes(n))}),i&&(U.filter=i),U(e,n||{},l),()=>U.unbind(e,l)),[l,n,o,i,e])}("Escape",n);const i=Object(a.useCallback)(()=>{n()},[n]);return t&&r.a.createElement(r.a.Fragment,null,r.a.createElement("div",{className:J.a.overlay,"data-testid":"modal-overlay",onClick:i}),r.a.createElement("div",{className:J.a.modal,"data-testid":"modal"},e),o&&r.a.createElement("div",{className:J.a.modalButton},o))}Y.defaultProps={onClose:()=>{}},Y.propTypes={children:i.a.node.isRequired,isOpen:i.a.bool.isRequired,onClose:i.a.func,button:i.a.node};var $=Y,ee=n(7),te=n.n(ee);function ne({buttonsLeft:e,buttonsRight:t,children:n,header:a,isOpen:o,onClose:i}){return r.a.createElement($,{isOpen:o,onClose:i,showCloseButton:!1},r.a.createElement("div",{className:te.a.container},r.a.createElement("h1",{className:te.a.modalHeader},a),r.a.createElement("div",{className:te.a.modalContent},n),r.a.createElement("div",{className:te.a.modalButtonsContainer},r.a.createElement("div",{className:te.a.modalButtons},e),r.a.createElement("div",{className:te.a.modalButtons},t))))}ne.displayName="ConfirmationModal",ne.defaultProps={buttonsLeft:[],buttonsRight:[],onClose:()=>{}},ne.propTypes={buttonsLeft:i.a.arrayOf(i.a.element),buttonsRight:i.a.arrayOf(i.a.element),children:i.a.node.isRequired,header:i.a.string.isRequired,isOpen:i.a.bool.isRequired,onClose:i.a.func};var ae=ne,re=n(5),oe=n.n(re);function ie({children:e,layout:t,placement:n,isTransparent:a,isPlain:o}){const i="center"===n.horizontal?"horizontalCenter":n.horizontal,s="center"===n.vertical?"verticalCenter":n.vertical;return r.a.createElement("div",{"data-testid":"floating-panel",className:l([oe.a.container,oe.a[i],oe.a[s],oe.a[t],{[oe.a.fixed]:"container"!==n.parent,[oe.a.transparent]:a,[oe.a.plain]:o}])},e)}ie.defaultProps={layout:"row",placement:{horizontal:"center",vertical:"bottom",parent:"viewport"},isTransparent:!1,isPlain:!1},ie.propTypes={children:i.a.node,placement:i.a.shape({horizontal:i.a.oneOf(["right","rightEdge","rightOnEdge","left","leftEdge","leftOnEdge","leftOnEdge","center"]),vertical:i.a.oneOf(["top","topEdge","bottom","bottomEdge","bottomOnEdge","center"]),parent:i.a.oneOf(["viewport","container"])}),layout:i.a.oneOf(["column","row"]),isTransparent:i.a.bool,isPlain:i.a.bool};var se=ie,le=n(4),ce=n.n(le);function ue({className:e,onClick:t,size:n,type:a,src:o,alt:i,isDisabled:s,isInverted:c,isPlain:u,isActive:d,isTransparent:p,isRounded:f}){return r.a.createElement("button",{className:l([ce.a.container,ce.a[n],{[ce.a.inverted]:c,[ce.a.plain]:u,[ce.a.active]:d,[ce.a.transparent]:p,[ce.a.rounded]:f},e]),disabled:s,onClick:t,type:a,role:"button"},r.a.createElement("img",{"data-testid":"icon-button-icon",className:ce.a.icon,src:o,alt:i}))}ue.defaultProps={size:"small",isDisabled:!1,isInverted:!1,isActive:!1,isPlain:!1,isTransparent:!1,isRounded:!1},ue.propTypes={className:i.a.string,src:i.a.string.isRequired,alt:i.a.string.isRequired,isActive:i.a.bool,isDisabled:i.a.bool,isInverted:i.a.bool,isPlain:i.a.bool,isTransparent:i.a.bool,isRounded:i.a.bool,onClick:i.a.func,size:i.a.oneOf(["small","medium","large"]),type:i.a.oneOf(["submit","reset","button"])};var de=ue,pe=n(6),fe=n.n(pe);function me(){return(me=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function ye({as:e,className:t,src:n,alt:a,size:o,isInverted:i,isPlain:s,isTransparent:c,isRounded:u,...d}){return r.a.createElement(e,me({"data-testid":"icon-button-link",className:l([fe.a.container,fe.a[o],{[fe.a.inverted]:i,[fe.a.plain]:s,[fe.a.transparent]:c,[fe.a.rounded]:u},t])},d),r.a.createElement("img",{"data-testid":"icon-button-link-icon",className:fe.a.icon,alt:a,src:n}))}ye.defaultProps={as:"a",size:"small",isInverted:!1,isPlain:!1,isTransparent:!1,isRounded:!1},ye.propTypes={as:i.a.elementType,children:i.a.node,className:i.a.string,src:i.a.string.isRequired,alt:i.a.string.isRequired,isInverted:i.a.bool,isPlain:i.a.bool,isTransparent:i.a.bool,isRounded:i.a.bool,size:i.a.oneOf(["small","medium","large"])};var he=ye,ve=n(8),ge=n.n(ve);function be({src:e,alt:t,layout:n,srcWidth:a,srcHeight:o,children:i}){return i?r.a.createElement("div",{className:ge.a.container},r.a.createElement("img",{className:l([ge.a.image,ge.a[n]]),crossOrigin:"anonymous","data-testid":"image",alt:t,src:e,width:a,height:o}),i&&r.a.createElement("div",{className:ge.a.overlay},i)):r.a.createElement("img",{className:l([ge.a.image,ge.a[n]]),crossOrigin:"anonymous","data-testid":"image",alt:t,src:e,width:a,height:o})}be.defaultProps={layout:"contain"},be.propTypes={src:i.a.string.isRequired,alt:i.a.string,children:i.a.node,srcWidth:i.a.number,srcHeight:i.a.number,layout:i.a.oneOf(["cover","contain","stretchHorizontally","stretchVertically"])};var Ee=be,Oe=n(14),_e=n.n(Oe);function ke({children:e,className:t,header:n}){return r.a.createElement("div",{className:l([_e.a.container,t])},n&&r.a.createElement("h3",{className:_e.a.header},n),r.a.createElement("ul",{className:_e.a.list},e))}ke.propTypes={children:i.a.node.isRequired,className:i.a.string,header:i.a.string};var Ce=ke,xe=n(15),we=n.n(xe);function Ne({children:e,isActive:t,isDisabled:n,onClick:a}){return r.a.createElement("li",{className:l([we.a.listViewItem])},r.a.createElement("button",{className:l([we.a.listViewItemButton,{[we.a.active]:t}]),onClick:a,disabled:n},e))}Ne.defaultProps={isActive:!1,isDisabled:!1},Ne.propTypes={children:i.a.node.isRequired,isActive:i.a.bool,isDisabled:i.a.bool,onClick:i.a.func};var Pe=Ne,Re=n(10),Te=n.n(Re);function ze({children:e,className:t,isOpen:n,placement:a,header:o}){return r.a.createElement("div",{className:l([Te.a.menu,Te.a[a.horizontal],Te.a[a.vertical],{[Te.a.open]:n},t])},o&&n&&r.a.createElement("h3",{className:Te.a.menuHeader},o),r.a.createElement("ul",null,n&&e))}ze.defaultProps={isOpen:!0,placement:{horizontal:"left",vertical:"bottom"}},ze.propTypes={children:i.a.node.isRequired,className:i.a.string,isOpen:i.a.bool,header:i.a.string,placement:i.a.shape({horizontal:i.a.oneOf(["right","left"]),vertical:i.a.oneOf(["top","bottom"])})};var qe=ze,Ie=n(21),je=n.n(Ie);function He({children:e,className:t},n){return r.a.createElement("div",{ref:n,className:l([je.a.menuContainer,t])},e)}var Se=Object(a.forwardRef)(He),Ae=n(20),Be=n.n(Ae);function Le({children:e,className:t,isActive:n,onClick:a}){return r.a.createElement("li",{className:l([Be.a.menuItem,{[Be.a.active]:n},t]),onClick:a},e)}Le.defaultProps={isActive:!1},Le.propTypes={children:i.a.node.isRequired,className:i.a.string,isActive:i.a.bool,onClick:i.a.func};var Ve=Le,Ke=n(22),De=n.n(Ke);function Ge(){return(Ge=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function Qe({as:e,children:t,className:n,...a}){return r.a.createElement(e,Ge({"data-testid":"menu-link-item",className:l([De.a.menuLinkItem,n])},a),t)}Qe.defaultProps={as:"a"},Qe.propTypes={as:i.a.elementType,children:i.a.node,className:i.a.string};var Fe=Qe,Me=n(16),We=n.n(Me);function Xe({children:e,isTransparent:t,isFixed:n,onClick:a}){return r.a.createElement("div",{"data-testid":"overlay",className:l([We.a.overlay,{[We.a.transparent]:t,[We.a.fixed]:n}]),onClick:a},e)}Xe.defaultProps={isTransparent:!1,isFixed:!1,onClick:()=>{}},Xe.propTypes={children:i.a.arrayOf(i.a.node),isTransparent:i.a.bool,isFixed:i.a.bool,onClick:i.a.func};var Ue=Xe,Ze=n(17),Je=n.n(Ze);function Ye({isInverted:e,size:t}){return r.a.createElement("svg",{"data-testid":"spinner",width:"100%",height:"100%",viewBox:"0 0 46 46",version:"1.1",className:l([Je.a.container,Je.a[t],{[Je.a.inverted]:e}])},r.a.createElement("g",{transform:"matrix(1,0,0,1,-27,-27)"},r.a.createElement("path",{d:"M73,50C73,37.3 62.7,27 50,27C37.3,27 27,37.3 27,50M30.9,50C30.9,39.5 39.4,30.9 50,30.9C60.6,30.9 69.1,39.5 69.1,50"},r.a.createElement("animateTransform",{attributeName:"transform",attributeType:"XML",type:"rotate",dur:"1s",from:"0 50 50",to:"360 50 50",repeatCount:"indefinite"}))))}Ye.defaultProps={isInverted:!1,size:"small"},Ye.propTypes={isInverted:i.a.bool,size:i.a.oneOf(["tiny","small","medium","large"])};var $e=Ye,et=n(18),tt=n.n(et);function nt({label:e,onChange:t,placeholder:n,value:o,name:i,type:s,size:c,autoFocus:u,inputRef:d}){const p=Object(a.useCallback)(e=>t(e.target.value),[t]);return r.a.createElement("label",{className:tt.a.textLabel},e,r.a.createElement("input",{"data-testid":"input",ref:d,className:l([tt.a.textInput,tt.a[c]]),onChange:d?void 0:p,placeholder:n,name:i,type:s,value:o,autoFocus:u}))}nt.defaultProps={type:"text",autoFocus:!1},nt.propTypes={label:i.a.string.isRequired,onChange:i.a.func,placeholder:i.a.string,value:i.a.string,name:i.a.string.isRequired,type:i.a.oneOf(["text","password","email"]),size:i.a.oneOf(["small","medium","large"]),autoFocus:i.a.bool,inputRef:i.a.oneOfType([i.a.func,i.a.shape({current:i.a.any})])};var at=nt,rt=n(11),ot=n.n(rt);function it({children:e,image:t,buttons:n,onClick:a}){return r.a.createElement("div",{className:l([ot.a.toast]),onClick:a,"data-testid":"toast"},t&&r.a.createElement("img",{"data-testid":"toast-image",className:ot.a.toastImage,src:t.src,alt:t.alt}),r.a.createElement("div",{className:ot.a.toastContent},e),r.a.createElement("div",{className:ot.a.toastButtons},n))}it.defaultProps={onClick:()=>{}},it.propTypes={children:i.a.node,buttons:i.a.arrayOf(i.a.node),image:i.a.shape({alt:i.a.string.isRequired,src:i.a.string.isRequired}),onClick:i.a.func};var st=it,lt=n(23),ct=n.n(lt);function ut({children:e}){return r.a.createElement("div",{className:l([ct.a.toastContainer]),"data-testid":"toast-container"},e)}ut.propTypes={children:i.a.node};var dt=ut,pt=n(9),ft=n.n(pt);function mt({src:e,type:t,muted:n,loop:a,autoPlay:o,layout:i,children:s}){return s?r.a.createElement("div",{className:ft.a.container},r.a.createElement("video",{"data-testid":"video",crossOrigin:"anonymous",className:l([ft.a.video,ft.a[i]]),src:e,type:t,muted:n,loop:a,autoPlay:o,playsInline:!0}),s&&r.a.createElement("div",{className:ft.a.overlay},s)):r.a.createElement("video",{"data-testid":"video",crossOrigin:"anonymous",className:l([ft.a.video,ft.a[i]]),src:e,type:t,muted:n,loop:a,autoPlay:o,playsInline:!0})}mt.defaultProps={muted:!0,loop:!0,autoPlay:!0,layout:"contain"},mt.propTypes={src:i.a.string.isRequired,type:i.a.string.isRequired,layout:i.a.oneOf(["cover","contain","stretchHorizontally","stretchVertically"]),autoPlay:i.a.bool,loop:i.a.bool,muted:i.a.bool,children:i.a.node};var yt=mt;function ht(e=!1){const[t,n]=Object(a.useState)("boolean"==typeof e&&e),r=()=>n(e=>!e);return r.on=()=>n(!0),r.off=()=>n(!1),[t,Object(a.useCallback)(r,[])]}function vt(e){const t=Object(a.useRef)();return Object(a.useEffect)(()=>{const n=n=>{t.current&&!t.current.contains(n.target)&&e(n)};return document.addEventListener("click",n),document.addEventListener("touchstart",n),()=>{document.removeEventListener("click",n),document.removeEventListener("touchstart",n)}},[e]),t}}]));
10
+ */function N(e,t,n){e.addEventListener?e.addEventListener(t,n,!1):e.attachEvent&&e.attachEvent("on".concat(t),(function(){n(window.event)}))}function P(e,t){for(var n=t.slice(0,t.length-1),a=0;a<n.length;a++)n[a]=e[n[a].toLowerCase()];return n}function T(e){"string"!=typeof e&&(e="");for(var t=(e=e.replace(/\s/g,"")).split(","),n=t.lastIndexOf("");n>=0;)t[n-1]+=",",t.splice(n,1),n=t.lastIndexOf("");return t}for(var R={backspace:8,tab:9,clear:12,enter:13,return:13,esc:27,escape:27,space:32,left:37,up:38,right:39,down:40,del:46,delete:46,ins:45,insert:45,home:36,end:35,pageup:33,pagedown:34,capslock:20,"⇪":20,",":188,".":190,"/":191,"`":192,"-":w?173:189,"=":w?61:187,";":w?59:186,"'":222,"[":219,"]":221,"\\":220},z={"⇧":16,shift:16,"⌥":18,alt:18,option:18,"⌃":17,ctrl:17,control:17,"⌘":91,cmd:91,command:91},q={16:"shiftKey",18:"altKey",17:"ctrlKey",91:"metaKey",shiftKey:16,ctrlKey:17,altKey:18,metaKey:91},I={16:!1,18:!1,17:!1,91:!1},j={},S=1;S<20;S++)R["f".concat(S)]=111+S;var H=[],A="all",B=[],L=function(e){return R[e.toLowerCase()]||z[e.toLowerCase()]||e.toUpperCase().charCodeAt(0)};function V(e){A=e||"all"}function K(){return A||"all"}var D=function(e){var t=e.key,n=e.scope,a=e.method,r=e.splitKey,o=void 0===r?"+":r;T(t).forEach((function(e){var t=e.split(o),r=t.length,i=t[r-1],s="*"===i?"*":L(i);if(j[s]){n||(n=K());var l=r>1?P(z,t):[];j[s]=j[s].map((function(e){return(!a||e.method===a)&&e.scope===n&&function(e,t){for(var n=e.length>=t.length?e:t,a=e.length>=t.length?t:e,r=!0,o=0;o<n.length;o++)-1===a.indexOf(n[o])&&(r=!1);return r}(e.mods,l)?{}:e}))}}))};function G(e,t,n){var a;if(t.scope===n||"all"===t.scope){for(var r in a=t.mods.length>0,I)Object.prototype.hasOwnProperty.call(I,r)&&(!I[r]&&t.mods.indexOf(+r)>-1||I[r]&&-1===t.mods.indexOf(+r))&&(a=!1);(0!==t.mods.length||I[16]||I[18]||I[17]||I[91])&&!a&&"*"!==t.shortcut||!1===t.method(e,t)&&(e.preventDefault?e.preventDefault():e.returnValue=!1,e.stopPropagation&&e.stopPropagation(),e.cancelBubble&&(e.cancelBubble=!0))}}function Q(e){var t=j["*"],n=e.keyCode||e.which||e.charCode;if(F.filter.call(this,e)){if(93!==n&&224!==n||(n=91),-1===H.indexOf(n)&&229!==n&&H.push(n),["ctrlKey","altKey","shiftKey","metaKey"].forEach((function(t){var n=q[t];e[t]&&-1===H.indexOf(n)?H.push(n):!e[t]&&H.indexOf(n)>-1?H.splice(H.indexOf(n),1):"metaKey"===t&&e[t]&&3===H.length&&(e.ctrlKey||e.shiftKey||e.altKey||(H=H.slice(H.indexOf(n))))})),n in I){for(var a in I[n]=!0,z)z[a]===n&&(F[a]=!0);if(!t)return}for(var r in I)Object.prototype.hasOwnProperty.call(I,r)&&(I[r]=e[q[r]]);e.getModifierState&&(!e.altKey||e.ctrlKey)&&e.getModifierState("AltGraph")&&(-1===H.indexOf(17)&&H.push(17),-1===H.indexOf(18)&&H.push(18),I[17]=!0,I[18]=!0);var o=K();if(t)for(var i=0;i<t.length;i++)t[i].scope===o&&("keydown"===e.type&&t[i].keydown||"keyup"===e.type&&t[i].keyup)&&G(e,t[i],o);if(n in j)for(var s=0;s<j[n].length;s++)if(("keydown"===e.type&&j[n][s].keydown||"keyup"===e.type&&j[n][s].keyup)&&j[n][s].key){for(var l=j[n][s],c=l.splitKey,u=l.key.split(c),d=[],p=0;p<u.length;p++)d.push(L(u[p]));d.sort().join("")===H.sort().join("")&&G(e,l,o)}}}function F(e,t,n){H=[];var a=T(e),r=[],o="all",i=document,s=0,l=!1,c=!0,u="+";for(void 0===n&&"function"==typeof t&&(n=t),"[object Object]"===Object.prototype.toString.call(t)&&(t.scope&&(o=t.scope),t.element&&(i=t.element),t.keyup&&(l=t.keyup),void 0!==t.keydown&&(c=t.keydown),"string"==typeof t.splitKey&&(u=t.splitKey)),"string"==typeof t&&(o=t);s<a.length;s++)r=[],(e=a[s].split(u)).length>1&&(r=P(z,e)),(e="*"===(e=e[e.length-1])?"*":L(e))in j||(j[e]=[]),j[e].push({keyup:l,keydown:c,scope:o,mods:r,shortcut:a[s],method:n,key:a[s],splitKey:u});void 0!==i&&!function(e){return B.indexOf(e)>-1}(i)&&window&&(B.push(i),N(i,"keydown",(function(e){Q(e)})),N(window,"focus",(function(){H=[]})),N(i,"keyup",(function(e){Q(e),function(e){var t=e.keyCode||e.which||e.charCode,n=H.indexOf(t);if(n>=0&&H.splice(n,1),e.key&&"meta"===e.key.toLowerCase()&&H.splice(0,H.length),93!==t&&224!==t||(t=91),t in I)for(var a in I[t]=!1,z)z[a]===t&&(F[a]=!1)}(e)})))}var M={setScope:V,getScope:K,deleteScope:function(e,t){var n,a;for(var r in e||(e=K()),j)if(Object.prototype.hasOwnProperty.call(j,r))for(n=j[r],a=0;a<n.length;)n[a].scope===e?n.splice(a,1):a++;K()===e&&V(t||"all")},getPressedKeyCodes:function(){return H.slice(0)},isPressed:function(e){return"string"==typeof e&&(e=L(e)),-1!==H.indexOf(e)},filter:function(e){var t=e.target||e.srcElement,n=t.tagName,a=!0;return!t.isContentEditable&&("INPUT"!==n&&"TEXTAREA"!==n&&"SELECT"!==n||t.readOnly)||(a=!1),a},unbind:function(e){if(e){if(Array.isArray(e))e.forEach((function(e){e.key&&D(e)}));else if("object"==typeof e)e.key&&D(e);else if("string"==typeof e){for(var t=arguments.length,n=new Array(t>1?t-1:0),a=1;a<t;a++)n[a-1]=arguments[a];var r=n[0],o=n[1];"function"==typeof r&&(o=r,r=""),D({key:e,scope:r,method:o,splitKey:"+"})}}else Object.keys(j).forEach((function(e){return delete j[e]}))}};for(var W in M)Object.prototype.hasOwnProperty.call(M,W)&&(F[W]=M[W]);if("undefined"!=typeof window){var J=window.hotkeys;F.noConflict=function(e){return e&&window.hotkeys===F&&(window.hotkeys=J),F},window.hotkeys=F}var Z=F;var U=n(13),X=n.n(U);function Y({children:e,isOpen:t,onClose:n,button:o}){!function(e,t,n,r){n instanceof Array&&(r=n,n=void 0);const{enableOnTags:o,filter:i}=n||{},s=Object(a.useRef)(null),l=Object(a.useCallback)((e,n)=>(null===s.current||document.activeElement===s.current)&&(t(e,n),!0),r?[s,...r]:[s]);Object(a.useEffect)(()=>(n&&n.enableOnTags&&(Z.filter=({target:e,srcElement:t})=>{const n=e&&e.tagName||t&&t.tagName;return Boolean(n&&o&&o.includes(n))}),i&&(Z.filter=i),Z(e,n||{},l),()=>Z.unbind(e,l)),[l,n,o,i,e])}("Escape",n);const i=Object(a.useCallback)(()=>{n()},[n]);return t&&r.a.createElement(r.a.Fragment,null,r.a.createElement("div",{className:X.a.overlay,"data-testid":"modal-overlay",onClick:i}),r.a.createElement("div",{className:X.a.modal,"data-testid":"modal"},e),o&&r.a.createElement("div",{className:X.a.modalButton},o))}Y.defaultProps={onClose:()=>{}},Y.propTypes={children:i.a.node.isRequired,isOpen:i.a.bool.isRequired,onClose:i.a.func,button:i.a.node};var $=Y,ee=n(7),te=n.n(ee);function ne({buttonsLeft:e,buttonsRight:t,children:n,header:a,isOpen:o,onClose:i}){return r.a.createElement($,{isOpen:o,onClose:i,showCloseButton:!1},r.a.createElement("div",{className:te.a.container},r.a.createElement("h1",{className:te.a.modalHeader},a),r.a.createElement("div",{className:te.a.modalContent},n),r.a.createElement("div",{className:te.a.modalButtonsContainer},r.a.createElement("div",{className:te.a.modalButtons},e),r.a.createElement("div",{className:te.a.modalButtons},t))))}ne.displayName="ConfirmationModal",ne.defaultProps={buttonsLeft:[],buttonsRight:[],onClose:()=>{}},ne.propTypes={buttonsLeft:i.a.arrayOf(i.a.element),buttonsRight:i.a.arrayOf(i.a.element),children:i.a.node.isRequired,header:i.a.string.isRequired,isOpen:i.a.bool.isRequired,onClose:i.a.func};var ae=ne,re=n(9),oe=n.n(re);function ie({children:e,layout:t,placement:n}){const a="center"===n.horizontal?"horizontalCenter":n.horizontal,o="center"===n.vertical?"verticalCenter":n.vertical;return r.a.createElement("div",{"data-testid":"floating-panel",className:l([oe.a.container,oe.a[a],oe.a[o],oe.a[t],{[oe.a.fixed]:"container"!==n.parent}])},e)}ie.defaultProps={layout:"row",placement:{horizontal:"center",vertical:"bottom",parent:"viewport"}},ie.propTypes={children:i.a.node,layout:i.a.oneOf(["column","row"]),placement:i.a.shape({horizontal:i.a.oneOf(["right","rightEdge","rightOnEdge","left","leftEdge","leftOnEdge","leftOnEdge","center"]),vertical:i.a.oneOf(["top","topEdge","bottom","bottomEdge","bottomOnEdge","center"]),parent:i.a.oneOf(["viewport","container"])})};var se=ie,le=n(20),ce=n.n(le);function ue({src:e,alt:t,size:n}){return r.a.createElement("img",{className:l([ce.a.icon,ce.a[n]]),crossOrigin:"anonymous","data-testid":"icon",alt:t,src:e})}ue.defaultProps={size:"medium"},ue.propTypes={src:i.a.string.isRequired,alt:i.a.string,children:i.a.node,size:i.a.oneOf(["small","medium","large"])};var de=ue,pe=n(4),fe=n.n(pe);function me({className:e,onClick:t,size:n,type:a,src:o,alt:i,isDisabled:s,isInverted:c,isPlain:u,isActive:d,isTransparent:p,isRounded:f}){return r.a.createElement("button",{className:l([fe.a.container,fe.a[n],{[fe.a.inverted]:c,[fe.a.plain]:u,[fe.a.active]:d,[fe.a.transparent]:p,[fe.a.rounded]:f},e]),disabled:s,onClick:t,type:a,role:"button"},r.a.createElement(de,{src:o,alt:i,size:n}))}me.defaultProps={size:"medium",isDisabled:!1,isInverted:!1,isActive:!1,isPlain:!1,isTransparent:!1,isRounded:!1},me.propTypes={className:i.a.string,src:i.a.string.isRequired,alt:i.a.string.isRequired,isActive:i.a.bool,isDisabled:i.a.bool,isInverted:i.a.bool,isPlain:i.a.bool,isTransparent:i.a.bool,isRounded:i.a.bool,onClick:i.a.func,size:i.a.oneOf(["small","medium","large"]),type:i.a.oneOf(["submit","reset","button"])};var ye=me,he=n(8),ve=n.n(he);function ge(){return(ge=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function be({as:e,className:t,src:n,alt:a,size:o,isInverted:i,isPlain:s,isTransparent:c,isRounded:u,...d}){return r.a.createElement(e,ge({"data-testid":"icon-button-link",className:l([ve.a.container,ve.a[o],{[ve.a.inverted]:i,[ve.a.plain]:s,[ve.a.transparent]:c,[ve.a.rounded]:u},t])},d),r.a.createElement(de,{src:n,alt:a,size:o}))}be.defaultProps={as:"a",size:"medium",isInverted:!1,isPlain:!1,isTransparent:!1,isRounded:!1},be.propTypes={as:i.a.elementType,children:i.a.node,className:i.a.string,src:i.a.string.isRequired,alt:i.a.string.isRequired,isInverted:i.a.bool,isPlain:i.a.bool,isTransparent:i.a.bool,isRounded:i.a.bool,size:i.a.oneOf(["small","medium","large"])};var Oe=be,Ee=n(5),_e=n.n(Ee);function Ce({src:e,alt:t,layout:n,srcWidth:a,srcHeight:o,children:i}){return i?r.a.createElement("div",{className:l([_e.a.container,_e.a.hasOverlay])},r.a.createElement("img",{className:l([_e.a.image,_e.a[n]]),crossOrigin:"anonymous","data-testid":"image",alt:t,src:e,width:a,height:o}),i&&r.a.createElement("div",{className:_e.a.overlay},i)):r.a.createElement("img",{className:l([_e.a.image,_e.a[n]]),crossOrigin:"anonymous","data-testid":"image",alt:t,src:e,width:a,height:o})}Ce.defaultProps={layout:"contain"},Ce.propTypes={src:i.a.string.isRequired,alt:i.a.string,children:i.a.node,srcWidth:i.a.number,srcHeight:i.a.number,layout:i.a.oneOf(["cover","contain","stretchHorizontally","stretchVertically"])};var ke=Ce,xe=n(14),we=n.n(xe);function Ne({children:e,className:t,header:n}){return r.a.createElement("div",{className:l([we.a.container,t])},n&&r.a.createElement("h3",{className:we.a.header},n),r.a.createElement("ul",{className:we.a.list},e))}Ne.propTypes={children:i.a.node.isRequired,className:i.a.string,header:i.a.string};var Pe=Ne,Te=n(15),Re=n.n(Te);function ze({children:e,isActive:t,isDisabled:n,onClick:a}){return r.a.createElement("li",{className:l([Re.a.listViewItem])},r.a.createElement("button",{className:l([Re.a.listViewItemButton,{[Re.a.active]:t}]),onClick:a,disabled:n},e))}ze.defaultProps={isActive:!1,isDisabled:!1},ze.propTypes={children:i.a.node.isRequired,isActive:i.a.bool,isDisabled:i.a.bool,onClick:i.a.func};var qe=ze,Ie=n(10),je=n.n(Ie);function Se({children:e,className:t,isOpen:n,placement:a,header:o}){return r.a.createElement("div",{className:l([je.a.menu,je.a[a.horizontal],je.a[a.vertical],{[je.a.open]:n},t])},o&&n&&r.a.createElement("h3",{className:je.a.menuHeader},o),r.a.createElement("ul",null,n&&e))}Se.defaultProps={isOpen:!0,placement:{horizontal:"left",vertical:"bottom"}},Se.propTypes={children:i.a.node.isRequired,className:i.a.string,isOpen:i.a.bool,header:i.a.string,placement:i.a.shape({horizontal:i.a.oneOf(["right","left"]),vertical:i.a.oneOf(["top","bottom"])})};var He=Se,Ae=n(22),Be=n.n(Ae);function Le({children:e,className:t},n){return r.a.createElement("div",{ref:n,className:l([Be.a.menuContainer,t])},e)}var Ve=Object(a.forwardRef)(Le),Ke=n(21),De=n.n(Ke);function Ge({children:e,className:t,isActive:n,onClick:a}){return r.a.createElement("li",{className:l([De.a.menuItem,{[De.a.active]:n},t]),onClick:a},e)}Ge.defaultProps={isActive:!1},Ge.propTypes={children:i.a.node.isRequired,className:i.a.string,isActive:i.a.bool,onClick:i.a.func};var Qe=Ge,Fe=n(23),Me=n.n(Fe);function We(){return(We=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function Je({as:e,children:t,className:n,...a}){return r.a.createElement(e,We({"data-testid":"menu-link-item",className:l([Me.a.menuLinkItem,n])},a),t)}Je.defaultProps={as:"a"},Je.propTypes={as:i.a.elementType,children:i.a.node,className:i.a.string};var Ze=Je,Ue=n(16),Xe=n.n(Ue);function Ye({children:e,isTransparent:t,isFixed:n,onClick:a}){return r.a.createElement("div",{"data-testid":"overlay",className:l([Xe.a.overlay,{[Xe.a.transparent]:t,[Xe.a.fixed]:n}]),onClick:a},e)}Ye.defaultProps={isTransparent:!1,isFixed:!1,onClick:()=>{}},Ye.propTypes={children:i.a.arrayOf(i.a.node),isTransparent:i.a.bool,isFixed:i.a.bool,onClick:i.a.func};var $e=Ye,et=n(17),tt=n.n(et);function nt({isInverted:e,size:t}){return r.a.createElement("svg",{"data-testid":"spinner",width:"100%",height:"100%",viewBox:"0 0 46 46",version:"1.1",className:l([tt.a.container,tt.a[t],{[tt.a.inverted]:e}])},r.a.createElement("g",{transform:"matrix(1,0,0,1,-27,-27)"},r.a.createElement("path",{d:"M73,50C73,37.3 62.7,27 50,27C37.3,27 27,37.3 27,50M30.9,50C30.9,39.5 39.4,30.9 50,30.9C60.6,30.9 69.1,39.5 69.1,50"},r.a.createElement("animateTransform",{attributeName:"transform",attributeType:"XML",type:"rotate",dur:"1s",from:"0 50 50",to:"360 50 50",repeatCount:"indefinite"}))))}nt.defaultProps={isInverted:!1,size:"small"},nt.propTypes={isInverted:i.a.bool,size:i.a.oneOf(["tiny","small","medium","large"])};var at=nt,rt=n(18),ot=n.n(rt);function it({label:e,onChange:t,placeholder:n,value:o,name:i,type:s,size:c,autoFocus:u,inputRef:d}){const p=Object(a.useCallback)(e=>t(e.target.value),[t]);return r.a.createElement("label",{className:ot.a.textLabel},e,r.a.createElement("input",{"data-testid":"input",ref:d,className:l([ot.a.textInput,ot.a[c]]),onChange:d?void 0:p,placeholder:n,name:i,type:s,value:o,autoFocus:u}))}it.defaultProps={type:"text",autoFocus:!1},it.propTypes={label:i.a.string.isRequired,onChange:i.a.func,placeholder:i.a.string,value:i.a.string,name:i.a.string.isRequired,type:i.a.oneOf(["text","password","email"]),size:i.a.oneOf(["small","medium","large"]),autoFocus:i.a.bool,inputRef:i.a.oneOfType([i.a.func,i.a.shape({current:i.a.any})])};var st=it,lt=n(11),ct=n.n(lt);function ut({children:e,image:t,buttons:n,onClick:a}){return r.a.createElement("div",{className:l([ct.a.toast]),onClick:a,"data-testid":"toast"},t&&r.a.createElement("img",{"data-testid":"toast-image",className:ct.a.toastImage,src:t.src,alt:t.alt}),r.a.createElement("div",{className:ct.a.toastContent},e),r.a.createElement("div",{className:ct.a.toastButtons},n))}ut.defaultProps={onClick:()=>{}},ut.propTypes={children:i.a.node,buttons:i.a.arrayOf(i.a.node),image:i.a.shape({alt:i.a.string.isRequired,src:i.a.string.isRequired}),onClick:i.a.func};var dt=ut,pt=n(24),ft=n.n(pt);function mt({children:e}){return r.a.createElement("div",{className:l([ft.a.toastContainer]),"data-testid":"toast-container"},e)}mt.propTypes={children:i.a.node};var yt=mt,ht=n(6),vt=n.n(ht);function gt({src:e,type:t,muted:n,loop:a,autoPlay:o,layout:i,children:s}){return s?r.a.createElement("div",{className:l([vt.a.container,vt.a.hasOverlay])},r.a.createElement("video",{"data-testid":"video",crossOrigin:"anonymous",className:l([vt.a.video,vt.a[i]]),src:e,type:t,muted:n,loop:a,autoPlay:o,playsInline:!0}),s&&r.a.createElement("div",{className:vt.a.overlay},s)):r.a.createElement("video",{"data-testid":"video",crossOrigin:"anonymous",className:l([vt.a.video,vt.a[i]]),src:e,type:t,muted:n,loop:a,autoPlay:o,playsInline:!0})}gt.defaultProps={muted:!0,loop:!0,autoPlay:!0,layout:"contain"},gt.propTypes={src:i.a.string.isRequired,type:i.a.string.isRequired,layout:i.a.oneOf(["cover","contain","stretchHorizontally","stretchVertically"]),autoPlay:i.a.bool,loop:i.a.bool,muted:i.a.bool,children:i.a.node};var bt=gt;function Ot(e=!1){const[t,n]=Object(a.useState)("boolean"==typeof e&&e),r=()=>n(e=>!e);return r.on=()=>n(!0),r.off=()=>n(!1),[t,Object(a.useCallback)(r,[])]}function Et(e){const t=Object(a.useRef)();return Object(a.useEffect)(()=>{const n=n=>{t.current&&!t.current.contains(n.target)&&e(n)};return document.addEventListener("click",n),document.addEventListener("touchstart",n),()=>{document.removeEventListener("click",n),document.removeEventListener("touchstart",n)}},[e]),t}}]));
package/dist/styles.css CHANGED
@@ -1,25 +1,32 @@
1
1
  .M9_egEC8msu135oPGVdIf {
2
- --button-size: var(--theme-button-height, 44px);
2
+ --button-size: var(--theme-button-height-medium, 42px);
3
3
 
4
4
  align-items: center;
5
5
  background-color: var(--theme-button-background-color, #fff);
6
6
  border: none;
7
+ box-sizing: border-box;
7
8
  box-shadow: var(--theme-button-shadow, 0 0 12px 0 rgba(0, 0, 0, 0.1));
8
9
  color: var(--theme-button-foreground-color, #0e0e0f);
10
+ contain: content;
9
11
  cursor: pointer;
10
- display: flex;
12
+ display: grid;
13
+ column-gap: 1em;
14
+ grid-auto-flow: column;
11
15
  font-family: var(--theme-button-font-family, helvetica, arial, sans-serif);
12
- font-size: var(--theme-base-font-size, 15px);
16
+ font-size: var(
17
+ --theme-button-font-size-medium,
18
+ var(--theme-base-font-size, 15px)
19
+ );
13
20
  font-weight: bold;
14
- height: var(--button-size, 44px);
21
+ height: var(--button-size);
15
22
  justify-content: center;
16
23
  margin: 0;
17
- padding: 0 calc(var(--button-size, 44px) * 0.55);
18
- text-decoration: none;
24
+ padding: 0 1.35em;
19
25
  text-transform: uppercase;
20
26
  transform: scale(1);
21
27
  transition: all 0.1s ease-out;
22
28
  white-space: nowrap;
29
+ width: min-content;
23
30
  }
24
31
 
25
32
  .M9_egEC8msu135oPGVdIf:focus {
@@ -39,12 +46,25 @@
39
46
  pointer-events: none;
40
47
  }
41
48
 
49
+ .M9_egEC8msu135oPGVdIf._1bNQhbZwLA8ErLmwdQitJe {
50
+ --button-size: var(--theme-button-height-small, 30px);
51
+
52
+ font-size: var(--theme-button-font-size-small, 0.8em);
53
+ }
54
+
42
55
  .M9_egEC8msu135oPGVdIf._3ur5_zYiIUYXditVwcm-wf {
43
- --button-size: var(--theme-button-height-medium, 52px);
56
+ --button-size: var(--theme-button-height-medium, 42px);
57
+
58
+ font-size: var(
59
+ --theme-button-font-size-medium,
60
+ var(--theme-base-font-size, 15px)
61
+ );
44
62
  }
45
63
 
46
64
  .M9_egEC8msu135oPGVdIf._2DwLFD-4gDz9HEAAiwWJPq {
47
- --button-size: var(--theme-button-height-large, 72px);
65
+ --button-size: var(--theme-button-height-large, 54px);
66
+
67
+ font-size: var(--theme-button-font-size-large, 1.2em);
48
68
  }
49
69
 
50
70
  .M9_egEC8msu135oPGVdIf._31CfmTUYpEh1hZvctQ9lK4 {
@@ -53,8 +73,8 @@
53
73
  }
54
74
 
55
75
  .M9_egEC8msu135oPGVdIf._2bq31qKD7B6r6CTCOL3drW {
56
- border-radius: calc(var(--button-size, 44px) / 2);
57
- padding: 0 calc(var(--button-size, 44px) * 0.6);
76
+ border-radius: calc(var(--button-size) / 2);
77
+ padding: 0 calc(var(--button-size) * 0.6);
58
78
  }
59
79
 
60
80
  .M9_egEC8msu135oPGVdIf.c_FvJhHzwHRNjkmie2IdU {
@@ -74,50 +94,35 @@
74
94
  height: 100%;
75
95
  }
76
96
 
77
- ._1v7QkIiDV10JyA1nxcQVNP {
78
- height: calc(var(--theme-button-height, 44px) / 2.667);
79
- }
80
-
81
- ._1v7QkIiDV10JyA1nxcQVNP:first-child {
82
- margin-right: 1em;
83
- }
84
-
85
- ._1v7QkIiDV10JyA1nxcQVNP:last-child {
86
- margin-left: 1em;
87
- }
88
-
89
- .M9_egEC8msu135oPGVdIf._3ur5_zYiIUYXditVwcm-wf > ._1v7QkIiDV10JyA1nxcQVNP {
90
- height: calc(var(--theme-button-height-medium, 52px) / 2.667);
91
- }
92
-
93
- .M9_egEC8msu135oPGVdIf._2DwLFD-4gDz9HEAAiwWJPq > ._1v7QkIiDV10JyA1nxcQVNP {
94
- height: calc(var(--theme-button-height-large, 72px) / 2.667);
95
- }
96
-
97
97
  ._3eVBgmkG6hjVokm5Xy4UMQ {
98
- --button-size: var(--theme-button-height, 44px);
98
+ --button-size: var(--theme-button-height-medium, 42px);
99
99
 
100
100
  align-items: center;
101
101
  background-color: var(--theme-button-background-color, #fff);
102
102
  border: none;
103
- box-shadow: var(--theme-button-shadow, 0 0 12px 0 rgba(0, 0, 0, 0.1));
104
103
  box-sizing: border-box;
104
+ box-shadow: var(--theme-button-shadow, 0 0 12px 0 rgba(0, 0, 0, 0.1));
105
105
  color: var(--theme-button-foreground-color, #0e0e0f);
106
+ contain: content;
106
107
  cursor: pointer;
107
- display: flex;
108
+ display: grid;
109
+ column-gap: 1em;
110
+ grid-auto-flow: column;
108
111
  font-family: var(--theme-button-font-family, helvetica, arial, sans-serif);
109
- font-size: var(--theme-base-font-size, 15px);
112
+ font-size: var(
113
+ --theme-button-font-size-medium,
114
+ var(--theme-base-font-size, 15px)
115
+ );
110
116
  font-weight: bold;
111
- height: var(--button-size, 44px);
117
+ height: var(--button-size);
118
+ width: min-content;
112
119
  justify-content: center;
113
120
  margin: 0;
114
- padding: 0 calc(var(--button-size, 44px) * 0.55);
115
- text-decoration: none;
121
+ padding: 0 1.35em;
116
122
  text-transform: uppercase;
117
123
  transform: scale(1);
118
124
  transition: all 0.1s ease-out;
119
125
  white-space: nowrap;
120
- width: min-content;
121
126
  }
122
127
 
123
128
  ._3eVBgmkG6hjVokm5Xy4UMQ:focus {
@@ -132,12 +137,30 @@
132
137
  transform: scale(0.95);
133
138
  }
134
139
 
140
+ ._3eVBgmkG6hjVokm5Xy4UMQ:disabled {
141
+ opacity: 0.3;
142
+ pointer-events: none;
143
+ }
144
+
145
+ ._3eVBgmkG6hjVokm5Xy4UMQ._8I9fhnzbMvCrl5KPj9f0 {
146
+ --button-size: var(--theme-button-height-small, 30px);
147
+
148
+ font-size: var(--theme-button-font-size-small, 0.8em);
149
+ }
150
+
135
151
  ._3eVBgmkG6hjVokm5Xy4UMQ.csj4PKQgdPBeF7Rd5Z-WQ {
136
- --button-size: var(--theme-button-height-medium, 52px);
152
+ --button-size: var(--theme-button-height-medium, 42px);
153
+
154
+ font-size: var(
155
+ --theme-button-font-size-medium,
156
+ var(--theme-base-font-size, 15px)
157
+ );
137
158
  }
138
159
 
139
160
  ._3eVBgmkG6hjVokm5Xy4UMQ._3_SwqmDWOGv877iHACnJpC {
140
- --button-size: var(--theme-button-height-large, 72px);
161
+ --button-size: var(--theme-button-height-large, 54px);
162
+
163
+ font-size: var(--theme-button-font-size-large, 1.2em);
141
164
  }
142
165
 
143
166
  ._3eVBgmkG6hjVokm5Xy4UMQ._1xOa3CBRHzPCRWNsiJ65aC {
@@ -146,8 +169,8 @@
146
169
  }
147
170
 
148
171
  ._3eVBgmkG6hjVokm5Xy4UMQ._3UGlOItzKokVg0wGH0eIlX {
149
- border-radius: calc(var(--button-size, 44px) / 2);
150
- padding: 0 calc(var(--button-size, 44px) * 0.6);
172
+ border-radius: calc(var(--button-size) / 2);
173
+ padding: 0 calc(var(--button-size) * 0.6);
151
174
  }
152
175
 
153
176
  ._3eVBgmkG6hjVokm5Xy4UMQ._2Xu-vIs-2pG6I65jnix39R {
@@ -167,26 +190,6 @@
167
190
  height: 100%;
168
191
  }
169
192
 
170
- ._2aevlbCks08GgOX41fxU0f {
171
- height: calc(var(--theme-button-height, 44px) / 2.667);
172
- }
173
-
174
- ._2aevlbCks08GgOX41fxU0f:first-child {
175
- margin-right: 1em;
176
- }
177
-
178
- ._2aevlbCks08GgOX41fxU0f:last-child {
179
- margin-left: 1em;
180
- }
181
-
182
- ._3eVBgmkG6hjVokm5Xy4UMQ.csj4PKQgdPBeF7Rd5Z-WQ > ._2aevlbCks08GgOX41fxU0f {
183
- height: calc(var(--theme-button-height-medium, 52px) / 2.667);
184
- }
185
-
186
- ._3eVBgmkG6hjVokm5Xy4UMQ._3_SwqmDWOGv877iHACnJpC > ._2aevlbCks08GgOX41fxU0f {
187
- height: calc(var(--theme-button-height-large, 72px) / 2.667);
188
- }
189
-
190
193
  ._13ss1xsMNizvEgP_hxEV8B {
191
194
  --color-swatch-size: var(--theme-button-height, 44px);
192
195
  --color-swatch-shadow: var(
@@ -197,6 +200,7 @@
197
200
  border: 0;
198
201
  border-radius: var(--color-swatch-size);
199
202
  box-shadow: var(--color-swatch-shadow);
203
+ contain: strict;
200
204
  cursor: pointer;
201
205
  height: var(--color-swatch-size);
202
206
  transform: scale(1);
@@ -205,7 +209,7 @@
205
209
  }
206
210
 
207
211
  ._13ss1xsMNizvEgP_hxEV8B:hover {
208
- transform: scale(1.05);
212
+ transform: scale(0.95);
209
213
  box-shadow: var(--theme-button-hover-shadow, 0 0 15px 0 rgba(0, 0, 0, 0.15));
210
214
  }
211
215
 
@@ -236,6 +240,7 @@
236
240
 
237
241
  ._31FwH_nWr72k3pugApJub9 {
238
242
  display: grid;
243
+ contain: layout;
239
244
  grid-gap: var(--theme-button-gap, 10px);
240
245
  }
241
246
 
@@ -251,6 +256,7 @@
251
256
 
252
257
  ._1yxCbQJqStUvytvKEeNC3n {
253
258
  bottom: 0;
259
+ contain: strict;
254
260
  cursor: pointer;
255
261
  left: 0;
256
262
  position: fixed;
@@ -297,6 +303,7 @@
297
303
 
298
304
  .kkgHoBQhFPsKj_x1ZFdRH {
299
305
  padding: var(--theme-confirmation-modal-padding, 44px 21px 21px 21px);
306
+ contain: content;
300
307
  min-width: 25vw;
301
308
  }
302
309
 
@@ -333,8 +340,7 @@
333
340
  .a6NHO2CVVCfiniye2XLN- {
334
341
  display: flex;
335
342
  position: absolute;
336
- background-color: var(--theme-floating-panel-background-color, #fff);
337
- box-shadow: var(--theme-floating-panel-shadow, 0 0 5px 0 rgba(0, 0, 0, 0.15));
343
+ contain: layout;
338
344
  z-index: 3;
339
345
  }
340
346
 
@@ -457,40 +463,50 @@
457
463
  transform: translate(50%, 50%);
458
464
  }
459
465
 
466
+ .uh8zkmQp5ybk5WJSla69D {
467
+ --size: var(--theme-icon-height-small, 18px);
468
+
469
+ display: block;
470
+ contain: strict;
471
+ height: var(--size);
472
+ width: var(--size);
473
+ }
474
+
475
+ .uh8zkmQp5ybk5WJSla69D.sJpxfYgiTz7ik6JOGu1wi {
476
+ --size: var(--theme-icon-height-medium, 24px);
477
+ }
478
+
479
+ .uh8zkmQp5ybk5WJSla69D._2rgucAH8Bnli-cmjz9i2C2 {
480
+ --size: var(--theme-icon-height-large, 32px);
481
+ }
482
+
460
483
  ._2MPuJ3ApvrAvrewjSWGAA2 {
461
- --button-size: var(--theme-button-height, 44px);
484
+ --icon-size: var(--theme-icon-height-small, 16px);
462
485
 
463
486
  align-items: center;
464
487
  background-color: var(--theme-button-background-color, #fff);
465
488
  border: none;
466
489
  box-shadow: var(--theme-button-shadow, 0 0 12px 0 rgba(0, 0, 0, 0.1));
467
- color: var(--theme-button-foreground-color, #0e0e0f);
468
490
  cursor: pointer;
469
491
  display: flex;
470
- font-size: var(--theme-base-font-size, 15px);
471
- font-weight: bold;
472
- height: var(--button-size);
473
- justify-content: center;
474
492
  margin: 0;
475
- padding: 0;
476
- text-decoration: none;
477
- text-transform: uppercase;
493
+ height: min-content;
494
+ width: min-content;
495
+ padding: calc(var(--icon-size) / 2);
478
496
  transform: scale(1);
479
497
  transition: all 0.1s ease-out;
480
- white-space: nowrap;
481
- width: var(--button-size);
482
498
  }
483
499
 
484
500
  ._2MPuJ3ApvrAvrewjSWGAA2._3a9cWts_Y7x3pajk8umN3z {
485
- --button-size: var(--theme-button-height-medium, 52px);
501
+ --icon-size: var(--theme-icon-height-medium, 24px);
486
502
  }
487
503
 
488
504
  ._2MPuJ3ApvrAvrewjSWGAA2._2aG6zXqTEKVcvBaaniCNBy {
489
- --button-size: var(--theme-button-height-large, 72px);
505
+ --icon-size: var(--theme-icon-height-large, 32px);
490
506
  }
491
507
 
492
508
  ._2MPuJ3ApvrAvrewjSWGAA2._2JX034qUTCoTdWC2ppA487 {
493
- border-radius: calc(var(--button-size) / 2);
509
+ border-radius: 50%;
494
510
  }
495
511
 
496
512
  ._2MPuJ3ApvrAvrewjSWGAA2:focus {
@@ -524,59 +540,52 @@
524
540
  box-shadow: none;
525
541
  }
526
542
 
527
- ._3WRGR7E440dB4q0SlackH2 {
528
- height: calc(var(--theme-button-height, 44px) / 2.2);
529
- }
530
-
531
543
  ._1uifmKNPDzdu5YDnhgwPQK {
532
- --button-size: var(--theme-button-height, 44px);
544
+ --icon-size: var(--theme-icon-height-small, 16px);
533
545
 
534
546
  align-items: center;
535
547
  background-color: var(--theme-button-background-color, #fff);
536
548
  border: none;
537
549
  box-shadow: var(--theme-button-shadow, 0 0 12px 0 rgba(0, 0, 0, 0.1));
538
- color: var(--theme-button-foreground-color, #0e0e0f);
539
550
  cursor: pointer;
540
551
  display: flex;
541
- font-family: var(--theme-button-font-family, helvetica, arial, sans-serif);
542
- font-size: var(--theme-base-font-size, 15px);
543
- font-weight: bold;
544
- height: var(--button-size);
545
- justify-content: center;
546
552
  margin: 0;
547
- padding: 0;
548
- text-decoration: none;
549
- text-transform: uppercase;
553
+ height: min-content;
554
+ width: min-content;
555
+ padding: calc(var(--icon-size) / 2);
550
556
  transform: scale(1);
551
557
  transition: all 0.1s ease-out;
552
- white-space: nowrap;
553
- width: var(--button-size);
554
558
  }
555
559
 
556
560
  ._1uifmKNPDzdu5YDnhgwPQK.W6Z1UnWycK5JiGpGtB6ul {
557
- --button-size: var(--theme-button-height-medium, 52px);
561
+ --icon-size: var(--theme-icon-height-medium, 24px);
558
562
  }
559
563
 
560
564
  ._1uifmKNPDzdu5YDnhgwPQK._26Z9FH-CNPqf55ZRP1vnab {
561
- --button-size: var(--theme-button-height-large, 72px);
565
+ --icon-size: var(--theme-icon-height-large, 32px);
562
566
  }
563
567
 
564
568
  ._1uifmKNPDzdu5YDnhgwPQK._2q7WvROhNm3gsRIRaQQeaU {
565
- border-radius: calc(var(--button-size) / 2);
569
+ border-radius: 50%;
566
570
  }
567
571
 
568
572
  ._1uifmKNPDzdu5YDnhgwPQK:focus {
569
573
  outline: none;
570
574
  }
571
575
 
572
- ._1uifmKNPDzdu5YDnhgwPQK:hover {
573
- background-color: var(--theme-button-hover-background-color, #ddd);
576
+ ._1uifmKNPDzdu5YDnhgwPQK:disabled {
577
+ opacity: 0.3;
578
+ pointer-events: none;
574
579
  }
575
580
 
576
581
  ._1uifmKNPDzdu5YDnhgwPQK:active {
577
582
  transform: scale(0.95);
578
583
  }
579
584
 
585
+ ._1uifmKNPDzdu5YDnhgwPQK:hover {
586
+ background-color: var(--theme-button-hover-background-color, #ddd);
587
+ }
588
+
580
589
  ._1uifmKNPDzdu5YDnhgwPQK.HV0R-lqwmyeqsS1Z8poZS {
581
590
  background-color: var(--theme-button-foreground-color, #0e0e0f);
582
591
  color: var(--theme-button-background-color, #fff);
@@ -591,18 +600,20 @@
591
600
  box-shadow: none;
592
601
  }
593
602
 
594
- ._3A1TMq68PMrOfAEbjk6Rye {
595
- height: calc(var(--theme-button-height, 44px) / 2.2);
596
- }
597
-
598
603
  ._3zwln8xpkZwpTY5i6J7bOD {
599
604
  position: relative;
600
605
  width: 100%;
601
606
  height: 100%;
607
+ contain: strict;
608
+ }
609
+
610
+ ._3zwln8xpkZwpTY5i6J7bOD._2el8xWqqf3w4S3x0s2D9xl {
611
+ contain: content;
602
612
  }
603
613
 
604
614
  .Eg3imfbXdI6U6rfRE0-qO {
605
615
  display: flex;
616
+ contain: content;
606
617
  position: absolute;
607
618
  align-items: center;
608
619
  justify-content: center;
@@ -644,6 +655,7 @@
644
655
 
645
656
  .CPHNd8osKjLvQDEQUErux {
646
657
  display: flex;
658
+ contain: content;
647
659
  flex-direction: column;
648
660
  max-height: 100%;
649
661
  }
@@ -652,6 +664,7 @@
652
664
  background-color: var(--theme-list-view-background-color, #fff);
653
665
  border-bottom: 1px solid var(--theme-list-view-border-color, #ddd);
654
666
  color: var(--theme-list-view-foreground-color, #0e0e0f);
667
+ contain: content;
655
668
  cursor: pointer;
656
669
  font-weight: 500;
657
670
  margin: 0;
@@ -661,6 +674,7 @@
661
674
  }
662
675
 
663
676
  ._1w1W8E6_Hzfes3WZTYZaJK {
677
+ contain: content;
664
678
  list-style: none;
665
679
  margin: 0;
666
680
  max-height: 100%;
@@ -669,6 +683,7 @@
669
683
  }
670
684
 
671
685
  ._2LgjqABwjHtpbGzkQQkqiQ {
686
+ contain: content;
672
687
  border-bottom: 1px solid var(--theme-list-view-border-color, #ddd);
673
688
  text-decoration: none;
674
689
  }
@@ -677,6 +692,7 @@
677
692
  background-color: var(--theme-list-view-background-color, #fff);
678
693
  border: none;
679
694
  color: var(--theme-list-view-foreground-color, #0e0e0f);
695
+ contain: content;
680
696
  cursor: pointer;
681
697
  font-family: var(--theme-list-view-item-font-family, sans-serif);
682
698
  font-size: var(--theme-list-view-item-font-size, 1rem);
@@ -713,6 +729,7 @@
713
729
  }
714
730
 
715
731
  ._2ahi8JcnxGHrnZmD0xT9RL {
732
+ contain: content;
716
733
  box-shadow: var(--theme-menu-shadow, 0 0 15px 0 rgba(0, 0, 0, 0.15));
717
734
  max-height: var(--theme-menu-max-height, 50vh);
718
735
  min-width: var(--theme-menu-min-width, 5vw);
@@ -799,6 +816,7 @@
799
816
  }
800
817
 
801
818
  ._2-SFwsppEuobBJkAwwQrFC {
819
+ contain: layout;
802
820
  display: inline-block;
803
821
  position: relative;
804
822
  }
@@ -807,6 +825,7 @@
807
825
  background-color: var(--theme-menu-background-color, #fff);
808
826
  border-bottom: 1px solid var(--theme-menu-border-color, #ddd);
809
827
  color: var(--theme-menu-foreground-color, #0e0e0f);
828
+ contain: strict;
810
829
  cursor: pointer;
811
830
  display: flex;
812
831
  align-items: center;
@@ -835,6 +854,7 @@
835
854
  background-color: var(--theme-menu-background-color, #fff);
836
855
  border-bottom: 1px solid var(--theme-menu-border-color, #ddd);
837
856
  color: var(--theme-menu-foreground-color, #0e0e0f);
857
+ contain: strict;
838
858
  cursor: pointer;
839
859
  display: flex;
840
860
  align-items: center;
@@ -865,6 +885,7 @@
865
885
  flex-direction: column;
866
886
  justify-content: center;
867
887
  position: absolute;
888
+ contain: strict;
868
889
  cursor: pointer;
869
890
  top: 0;
870
891
  right: 0;
@@ -887,6 +908,7 @@
887
908
  ._1zaLfHCYxnBsDI43ND5N7f {
888
909
  --spinner-size: var(--theme-button-height, 44px);
889
910
 
911
+ contain: strict;
890
912
  width: var(--spinner-size);
891
913
  height: var(--spinner-size);
892
914
  }
@@ -915,6 +937,7 @@
915
937
  background-color: var(--theme-input-background-color, #ededed);
916
938
  border: none;
917
939
  box-sizing: border-box;
940
+ contain: strict;
918
941
  font-size: var(--theme-input-font-size, 1.2rem);
919
942
  font-weight: var(--theme-input-font-weight, 500);
920
943
  height: var(--theme-text-input-height, 44px);
@@ -947,6 +970,7 @@
947
970
  animation: _1_xjtLeUMoEXNA-qOEZhcx 0.5s ease-in-out both;
948
971
  background-color: var(--theme-toast-background-color, #fff);
949
972
  box-shadow: var(--theme-toast-shadow, 0 0 15px 0 rgba(0, 0, 0, 0.15));
973
+ contain: strict;
950
974
  cursor: pointer;
951
975
  display: flex;
952
976
  height: var(--theme-toast-height, 60px);
@@ -1037,11 +1061,16 @@ h4 {
1037
1061
  }
1038
1062
 
1039
1063
  ._2EQBfr5w8h1x1bq-2fp6wT {
1064
+ contain: strict;
1040
1065
  position: relative;
1041
1066
  width: 100%;
1042
1067
  height: 100%;
1043
1068
  }
1044
1069
 
1070
+ ._2EQBfr5w8h1x1bq-2fp6wT._3GRMpmGk_PqITcUv0Nfmt3 {
1071
+ contain: content;
1072
+ }
1073
+
1045
1074
  ._2tZfXkEhCkwAzfaG_BVn0B {
1046
1075
  display: block;
1047
1076
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@touchtech/baselayer-ui",
3
- "version": "1.9.0",
3
+ "version": "2.0.0",
4
4
  "description": "React UI component library",
5
5
  "main": "dist/bundle.js",
6
6
  "scripts": {