@lifesg/react-design-system 1.0.0-alpha.2 → 1.0.0-alpha.20
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/README.md +2 -0
- package/accordion/accordion-item.style.d.ts +5 -2
- package/accordion/accordion.style.d.ts +1 -1
- package/accordion/index.js +165 -172
- package/accordion/index.js.map +1 -1
- package/alert/alert.style.d.ts +4 -1
- package/alert/index.js +107 -119
- package/alert/index.js.map +1 -1
- package/animations/index.js +1 -1
- package/animations/index.js.map +1 -1
- package/box-container/box-container.styles.d.ts +8 -1
- package/box-container/index.js +69 -74
- package/box-container/index.js.map +1 -1
- package/breadcrumb/breadcrumb.style.d.ts +4 -4
- package/breadcrumb/index.js +102 -106
- package/breadcrumb/index.js.map +1 -1
- package/breadcrumb/types.d.ts +5 -1
- package/button/button.d.ts +2 -2
- package/button/index.js +140 -143
- package/button/index.js.map +1 -1
- package/card/card.d.ts +3 -0
- package/card/card.style.d.ts +1 -0
- package/card/index.d.ts +1 -0
- package/card/index.js +132 -0
- package/card/index.js.map +1 -0
- package/{icon → card}/package.json +1 -1
- package/card/types.d.ts +4 -0
- package/checkbox/checkbox.d.ts +1 -1
- package/checkbox/checkbox.style.d.ts +4 -1
- package/checkbox/index.js +11 -21
- package/checkbox/index.js.map +1 -1
- package/cjs/index.js +1999 -1021
- package/cjs/index.js.map +1 -1
- package/color/color.d.ts +4 -59
- package/color/index.js +1 -1
- package/color/index.js.map +1 -1
- package/color/types.d.ts +5 -1
- package/date-input/date-input.d.ts +1 -1
- package/date-input/date-input.style.d.ts +2 -6
- package/date-input/index.js +121 -136
- package/date-input/index.js.map +1 -1
- package/date-input/types.d.ts +14 -16
- package/design-token/design-token.d.ts +4 -0
- package/design-token/index.d.ts +2 -0
- package/design-token/index.js +6 -0
- package/design-token/index.js.map +1 -0
- package/design-token/package.json +7 -0
- package/design-token/types.d.ts +7 -0
- package/error-display/error-display-data.d.ts +11 -0
- package/error-display/error-display.d.ts +3 -0
- package/error-display/error-display.style.d.ts +7 -0
- package/error-display/index.d.ts +2 -0
- package/error-display/index.js +322 -0
- package/error-display/index.js.map +1 -0
- package/error-display/package.json +7 -0
- package/error-display/types.d.ts +20 -0
- package/feedback-rating/feedback-rating-data.d.ts +5 -0
- package/feedback-rating/feedback-rating-stars-container-data.d.ts +3 -0
- package/feedback-rating/feedback-rating-stars-container.d.ts +3 -0
- package/feedback-rating/feedback-rating-stars-container.styles.d.ts +12 -0
- package/feedback-rating/feedback-rating.d.ts +3 -0
- package/feedback-rating/feedback-rating.styles.d.ts +5 -0
- package/feedback-rating/index.d.ts +2 -0
- package/feedback-rating/index.js +329 -0
- package/feedback-rating/index.js.map +1 -0
- package/feedback-rating/package.json +7 -0
- package/feedback-rating/types.d.ts +14 -0
- package/footer/footer-download-app.d.ts +2 -0
- package/footer/footer-download-app.style.d.ts +6 -0
- package/footer/footer-helper.d.ts +12 -0
- package/footer/footer.d.ts +3 -0
- package/footer/footer.style.d.ts +12 -0
- package/footer/index.d.ts +2 -0
- package/footer/index.js +373 -0
- package/footer/index.js.map +1 -0
- package/footer/package.json +7 -0
- package/footer/types.d.ts +31 -0
- package/form/form-custom-field.d.ts +3 -0
- package/form/form-input-group.d.ts +1 -1
- package/form/form-input.d.ts +1 -1
- package/form/form-label-addon.d.ts +1 -2
- package/form/form-label.d.ts +1 -1
- package/form/form-label.style.d.ts +1 -0
- package/form/form-phone-number-input.d.ts +3 -0
- package/form/form-textarea.d.ts +1 -1
- package/form/form-unit-number-input.d.ts +3 -0
- package/form/index.d.ts +9 -6
- package/form/index.js +774 -629
- package/form/index.js.map +1 -1
- package/form/types.d.ts +14 -5
- package/icon-button/icon-button.d.ts +1 -1
- package/icon-button/icon-button.style.d.ts +6 -1
- package/icon-button/index.js +9 -15
- package/icon-button/index.js.map +1 -1
- package/icon-button/types.d.ts +2 -3
- package/index.d.ts +11 -1
- package/index.js +1997 -1019
- package/index.js.map +1 -1
- package/input/index.js +84 -41
- package/input/index.js.map +1 -1
- package/input/input.d.ts +1 -1
- package/input/input.style.d.ts +9 -0
- package/input/types.d.ts +2 -0
- package/input-group/index.js +392 -312
- package/input-group/index.js.map +1 -1
- package/input-group/input-group-list-addon.d.ts +1 -1
- package/input-group/input-group-list-addon.style.d.ts +4 -1
- package/input-group/input-group.d.ts +1 -1
- package/input-group/input-group.style.d.ts +1 -2
- package/input-group/types.d.ts +8 -8
- package/input-select/index.js +278 -242
- package/input-select/index.js.map +1 -1
- package/input-select/input-select-wrapper.d.ts +1 -1
- package/input-select/input-select.d.ts +1 -1
- package/input-select/input-select.styles.d.ts +5 -1
- package/input-select/types.d.ts +15 -11
- package/input-textarea/index.js +132 -121
- package/input-textarea/index.js.map +1 -1
- package/input-textarea/textarea-counter.d.ts +2 -1
- package/input-textarea/textarea.d.ts +2 -2
- package/input-textarea/types.d.ts +1 -0
- package/layout/container.d.ts +3 -0
- package/layout/content.d.ts +3 -0
- package/layout/index.d.ts +7 -0
- package/layout/index.js +55 -0
- package/layout/index.js.map +1 -0
- package/layout/package.json +7 -0
- package/layout/section.d.ts +3 -0
- package/layout/types.d.ts +15 -0
- package/link-list/index.js +130 -130
- package/link-list/index.js.map +1 -1
- package/link-list/link-list.styles.d.ts +12 -2
- package/link-list/types.d.ts +1 -1
- package/masonry/index.js.map +1 -1
- package/masonry/masonry.d.ts +2 -2
- package/masthead/index.d.ts +1 -0
- package/masthead/index.js +9 -0
- package/masthead/index.js.map +1 -0
- package/masthead/masthead.d.ts +2 -0
- package/masthead/masthead.style.d.ts +1 -0
- package/masthead/package.json +7 -0
- package/media/index.js +1 -1
- package/media/index.js.map +1 -1
- package/media/media.d.ts +2 -1
- package/modal/index.d.ts +1 -1
- package/modal/index.js +30 -43
- package/modal/index.js.map +1 -1
- package/modal/modal-box.styles.d.ts +5 -2
- package/modal/modal.d.ts +1 -1
- package/modal/modal.styles.d.ts +1 -0
- package/modal/types.d.ts +4 -2
- package/navbar/brand.d.ts +10 -0
- package/navbar/brand.styles.d.ts +5 -0
- package/navbar/drawer.d.ts +3 -0
- package/navbar/drawer.styles.d.ts +15 -0
- package/navbar/index.d.ts +7 -0
- package/navbar/index.js +651 -0
- package/navbar/index.js.map +1 -0
- package/navbar/navbar-action-buttons.d.ts +10 -0
- package/navbar/navbar-action-buttons.styles.d.ts +9 -0
- package/navbar/navbar-items.d.ts +11 -0
- package/navbar/navbar-items.styles.d.ts +10 -0
- package/navbar/navbar.d.ts +3 -0
- package/navbar/navbar.styles.d.ts +19 -0
- package/navbar/package.json +7 -0
- package/navbar/types.d.ts +56 -0
- package/notification-banner/index.d.ts +3 -0
- package/notification-banner/index.js +266 -0
- package/notification-banner/index.js.map +1 -0
- package/notification-banner/notification-banner-hoc.d.ts +3 -0
- package/notification-banner/notification-banner.d.ts +6 -0
- package/notification-banner/notification-banner.styles.d.ts +15 -0
- package/notification-banner/package.json +7 -0
- package/notification-banner/types.d.ts +22 -0
- package/overlay/index.js +1 -1
- package/overlay/index.js.map +1 -1
- package/overlay/types.d.ts +1 -1
- package/package.json +4 -1
- package/phone-number-input/data/country-code.d.ts +1 -0
- package/phone-number-input/index.d.ts +1 -0
- package/phone-number-input/index.js +850 -0
- package/phone-number-input/index.js.map +1 -0
- package/phone-number-input/package.json +7 -0
- package/phone-number-input/phone-number-input-helper.d.ts +5 -0
- package/phone-number-input/phone-number-input.d.ts +3 -0
- package/phone-number-input/phone-number-input.styles.d.ts +1 -0
- package/phone-number-input/types.d.ts +42 -0
- package/popover/index.js +148 -153
- package/popover/index.js.map +1 -1
- package/popover/popover.styles.d.ts +1 -1
- package/popover/types.d.ts +3 -3
- package/progress-indicator/index.d.ts +2 -0
- package/progress-indicator/index.js +240 -0
- package/progress-indicator/index.js.map +1 -0
- package/progress-indicator/package.json +7 -0
- package/progress-indicator/progress-indicator.d.ts +3 -0
- package/progress-indicator/progress-indicator.style.d.ts +19 -0
- package/progress-indicator/types.d.ts +9 -0
- package/radio-button/index.js +7 -7
- package/radio-button/index.js.map +1 -1
- package/shared/dropdown-list/dropdown-list.d.ts +1 -1
- package/shared/dropdown-list/dropdown-list.styles.d.ts +6 -2
- package/shared/dropdown-list/dropdown-search.d.ts +2 -1
- package/shared/dropdown-list/dropdown-search.styles.d.ts +9 -1
- package/shared/dropdown-list/types.d.ts +21 -12
- package/smart-app-banner/index.d.ts +2 -0
- package/smart-app-banner/index.js +373 -0
- package/smart-app-banner/index.js.map +1 -0
- package/smart-app-banner/package.json +7 -0
- package/smart-app-banner/smart-app-banner.d.ts +3 -0
- package/smart-app-banner/smart-app-banner.styles.d.ts +31 -0
- package/smart-app-banner/types.d.ts +18 -0
- package/spec/design-token-spec/base-design-token-set.d.ts +2 -0
- package/text/index.js +62 -65
- package/text/index.js.map +1 -1
- package/text/text-style.d.ts +4 -100
- package/text-list/index.js +7 -7
- package/text-list/index.js.map +1 -1
- package/theme/design-token-helper.d.ts +2 -0
- package/theme/index.js +1 -1
- package/theme/index.js.map +1 -1
- package/theme/types.d.ts +12 -3
- package/timeline/index.js +95 -98
- package/timeline/index.js.map +1 -1
- package/timepicker/index.js +213 -207
- package/timepicker/index.js.map +1 -1
- package/timepicker/timepicker-dropdown.styles.d.ts +2 -2
- package/timepicker/types.d.ts +3 -3
- package/toggle-button/index.js +118 -121
- package/toggle-button/index.js.map +1 -1
- package/tooltip/index.js +127 -125
- package/tooltip/index.js.map +1 -1
- package/tooltip/tooltip.styles.d.ts +3 -1
- package/unit-number/index.d.ts +2 -0
- package/unit-number/index.js +403 -0
- package/unit-number/index.js.map +1 -0
- package/unit-number/package.json +7 -0
- package/unit-number/types.d.ts +27 -0
- package/unit-number/unit-number-input.d.ts +3 -0
- package/unit-number/unit-number-input.style.d.ts +16 -0
- package/util/date-helper.d.ts +19 -0
- package/util/index.d.ts +2 -0
- package/util/utility-types.d.ts +3 -0
- package/icon/arrow-right-icon.d.ts +0 -3
- package/icon/icon.d.ts +0 -3
- package/icon/index.d.ts +0 -2
- package/icon/index.js +0 -12
- package/icon/index.js.map +0 -1
- package/icon/info-icon.d.ts +0 -3
- package/icon/play-alt-icon.d.ts +0 -3
- package/icon/search-icon.d.ts +0 -3
- package/icon/shared.style.d.ts +0 -1
- package/icon/types.d.ts +0 -9
package/input-select/index.js
CHANGED
|
@@ -1,163 +1,160 @@
|
|
|
1
|
-
import{jsxs as t,jsx as e,Fragment as n}from"react/jsx-runtime";import*as r from"react";import i,{useEffect as o,useState as a,useRef as s,forwardRef as l,useCallback as c,useContext as u,useMemo as d}from"react";import{unstable_batchedUpdates as h}from"react-dom";import p,{keyframes as f,css as g}from"styled-components";var m="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};var y=function(t,e,n,r){for(var i=t.length,o=n+(r?1:-1);r?o--:++o<i;)if(e(t[o],o,t))return o;return-1};var v=function(){this.__data__=[],this.size=0};var b=function(t,e){return t===e||t!=t&&e!=e},w=b;var _=function(t,e){for(var n=t.length;n--;)if(w(t[n][0],e))return n;return-1},S=_,x=Array.prototype.splice;var $=_;var k=_;var F=_;var O=v,j=function(t){var e=this.__data__,n=S(e,t);return!(n<0)&&(n==e.length-1?e.pop():x.call(e,n,1),--this.size,!0)},z=function(t){var e=this.__data__,n=$(e,t);return n<0?void 0:e[n][1]},B=function(t){return k(this.__data__,t)>-1},A=function(t,e){var n=this.__data__,r=F(n,t);return r<0?(++this.size,n.push([t,e])):n[r][1]=e,this};function P(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}P.prototype.clear=O,P.prototype.delete=j,P.prototype.get=z,P.prototype.has=B,P.prototype.set=A;var C=P,D=C;var E=function(){this.__data__=new D,this.size=0};var I=function(t){var e=this.__data__,n=e.delete(t);return this.size=e.size,n};var H=function(t){return this.__data__.get(t)};var N=function(t){return this.__data__.has(t)},M="object"==typeof m&&m&&m.Object===Object&&m,T=M,V="object"==typeof self&&self&&self.Object===Object&&self,R=T||V||Function("return this")(),L=R.Symbol,W=L,q=Object.prototype,U=q.hasOwnProperty,Q=q.toString,G=W?W.toStringTag:void 0;var X=function(t){var e=U.call(t,G),n=t[G];try{t[G]=void 0;var r=!0}catch(t){}var i=Q.call(t);return r&&(e?t[G]=n:delete t[G]),i},Z=Object.prototype.toString;var K=X,Y=function(t){return Z.call(t)},J=L?L.toStringTag:void 0;var tt=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":J&&J in Object(t)?K(t):Y(t)};var et=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)},nt=tt,rt=et;var it,ot=function(t){if(!rt(t))return!1;var e=nt(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e},at=R["__core-js_shared__"],st=(it=/[^.]+$/.exec(at&&at.keys&&at.keys.IE_PROTO||""))?"Symbol(src)_1."+it:"";var lt=function(t){return!!st&&st in t},ct=Function.prototype.toString;var ut=function(t){if(null!=t){try{return ct.call(t)}catch(t){}try{return t+""}catch(t){}}return""},dt=ot,ht=lt,pt=et,ft=ut,gt=/^\[object .+?Constructor\]$/,mt=Function.prototype,yt=Object.prototype,vt=mt.toString,bt=yt.hasOwnProperty,wt=RegExp("^"+vt.call(bt).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");var _t=function(t){return!(!pt(t)||ht(t))&&(dt(t)?wt:gt).test(ft(t))},St=function(t,e){return null==t?void 0:t[e]};var xt=function(t,e){var n=St(t,e);return _t(n)?n:void 0},$t=xt(R,"Map"),kt=xt(Object,"create"),Ft=kt;var Ot=function(){this.__data__=Ft?Ft(null):{},this.size=0};var jt=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e},zt=kt,Bt=Object.prototype.hasOwnProperty;var At=function(t){var e=this.__data__;if(zt){var n=e[t];return"__lodash_hash_undefined__"===n?void 0:n}return Bt.call(e,t)?e[t]:void 0},Pt=kt,Ct=Object.prototype.hasOwnProperty;var Dt=kt;var Et=Ot,It=jt,Ht=At,Nt=function(t){var e=this.__data__;return Pt?void 0!==e[t]:Ct.call(e,t)},Mt=function(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=Dt&&void 0===e?"__lodash_hash_undefined__":e,this};function Tt(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}Tt.prototype.clear=Et,Tt.prototype.delete=It,Tt.prototype.get=Ht,Tt.prototype.has=Nt,Tt.prototype.set=Mt;var Vt=Tt,Rt=C,Lt=$t;var Wt=function(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t};var qt=function(t,e){var n=t.__data__;return Wt(e)?n["string"==typeof e?"string":"hash"]:n.map},Ut=qt;var Qt=qt;var Gt=qt;var Xt=qt;var Zt=function(){this.size=0,this.__data__={hash:new Vt,map:new(Lt||Rt),string:new Vt}},Kt=function(t){var e=Ut(this,t).delete(t);return this.size-=e?1:0,e},Yt=function(t){return Qt(this,t).get(t)},Jt=function(t){return Gt(this,t).has(t)},te=function(t,e){var n=Xt(this,t),r=n.size;return n.set(t,e),this.size+=n.size==r?0:1,this};function ee(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}ee.prototype.clear=Zt,ee.prototype.delete=Kt,ee.prototype.get=Yt,ee.prototype.has=Jt,ee.prototype.set=te;var ne=ee,re=C,ie=$t,oe=ne;var ae=C,se=E,le=I,ce=H,ue=N,de=function(t,e){var n=this.__data__;if(n instanceof re){var r=n.__data__;if(!ie||r.length<199)return r.push([t,e]),this.size=++n.size,this;n=this.__data__=new oe(r)}return n.set(t,e),this.size=n.size,this};function he(t){var e=this.__data__=new ae(t);this.size=e.size}he.prototype.clear=se,he.prototype.delete=le,he.prototype.get=ce,he.prototype.has=ue,he.prototype.set=de;var pe=he;var fe=ne,ge=function(t){return this.__data__.set(t,"__lodash_hash_undefined__"),this},me=function(t){return this.__data__.has(t)};function ye(t){var e=-1,n=null==t?0:t.length;for(this.__data__=new fe;++e<n;)this.add(t[e])}ye.prototype.add=ye.prototype.push=ge,ye.prototype.has=me;var ve=ye,be=function(t,e){for(var n=-1,r=null==t?0:t.length;++n<r;)if(e(t[n],n,t))return!0;return!1},we=function(t,e){return t.has(e)};var _e=function(t,e,n,r,i,o){var a=1&n,s=t.length,l=e.length;if(s!=l&&!(a&&l>s))return!1;var c=o.get(t),u=o.get(e);if(c&&u)return c==e&&u==t;var d=-1,h=!0,p=2&n?new ve:void 0;for(o.set(t,e),o.set(e,t);++d<s;){var f=t[d],g=e[d];if(r)var m=a?r(g,f,d,e,t,o):r(f,g,d,t,e,o);if(void 0!==m){if(m)continue;h=!1;break}if(p){if(!be(e,(function(t,e){if(!we(p,e)&&(f===t||i(f,t,n,r,o)))return p.push(e)}))){h=!1;break}}else if(f!==g&&!i(f,g,n,r,o)){h=!1;break}}return o.delete(t),o.delete(e),h};var Se=R.Uint8Array,xe=b,$e=_e,ke=function(t){var e=-1,n=Array(t.size);return t.forEach((function(t,r){n[++e]=[r,t]})),n},Fe=function(t){var e=-1,n=Array(t.size);return t.forEach((function(t){n[++e]=t})),n},Oe=L?L.prototype:void 0,je=Oe?Oe.valueOf:void 0;var ze=function(t,e,n,r,i,o,a){switch(n){case"[object DataView]":if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case"[object ArrayBuffer]":return!(t.byteLength!=e.byteLength||!o(new Se(t),new Se(e)));case"[object Boolean]":case"[object Date]":case"[object Number]":return xe(+t,+e);case"[object Error]":return t.name==e.name&&t.message==e.message;case"[object RegExp]":case"[object String]":return t==e+"";case"[object Map]":var s=ke;case"[object Set]":var l=1&r;if(s||(s=Fe),t.size!=e.size&&!l)return!1;var c=a.get(t);if(c)return c==e;r|=2,a.set(t,e);var u=$e(s(t),s(e),r,i,o,a);return a.delete(t),u;case"[object Symbol]":if(je)return je.call(t)==je.call(e)}return!1};var Be=function(t,e){for(var n=-1,r=e.length,i=t.length;++n<r;)t[i+n]=e[n];return t},Ae=Array.isArray,Pe=Be,Ce=Ae;var De=function(t,e,n){var r=e(t);return Ce(t)?r:Pe(r,n(t))};var Ee=function(t,e){for(var n=-1,r=null==t?0:t.length,i=0,o=[];++n<r;){var a=t[n];e(a,n,t)&&(o[i++]=a)}return o},Ie=function(){return[]},He=Object.prototype.propertyIsEnumerable,Ne=Object.getOwnPropertySymbols,Me=Ne?function(t){return null==t?[]:(t=Object(t),Ee(Ne(t),(function(e){return He.call(t,e)})))}:Ie;var Te=function(t,e){for(var n=-1,r=Array(t);++n<t;)r[n]=e(n);return r};var Ve=function(t){return null!=t&&"object"==typeof t},Re=tt,Le=Ve;var We=function(t){return Le(t)&&"[object Arguments]"==Re(t)},qe=Ve,Ue=Object.prototype,Qe=Ue.hasOwnProperty,Ge=Ue.propertyIsEnumerable,Xe=We(function(){return arguments}())?We:function(t){return qe(t)&&Qe.call(t,"callee")&&!Ge.call(t,"callee")},Ze={exports:{}};var Ke=function(){return!1};!function(t,e){var n=R,r=Ke,i=e&&!e.nodeType&&e,o=i&&t&&!t.nodeType&&t,a=o&&o.exports===i?n.Buffer:void 0,s=(a?a.isBuffer:void 0)||r;t.exports=s}(Ze,Ze.exports);var Ye=/^(?:0|[1-9]\d*)$/;var Je=function(t,e){var n=typeof t;return!!(e=null==e?9007199254740991:e)&&("number"==n||"symbol"!=n&&Ye.test(t))&&t>-1&&t%1==0&&t<e};var tn=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991},en=tt,nn=tn,rn=Ve,on={};on["[object Float32Array]"]=on["[object Float64Array]"]=on["[object Int8Array]"]=on["[object Int16Array]"]=on["[object Int32Array]"]=on["[object Uint8Array]"]=on["[object Uint8ClampedArray]"]=on["[object Uint16Array]"]=on["[object Uint32Array]"]=!0,on["[object Arguments]"]=on["[object Array]"]=on["[object ArrayBuffer]"]=on["[object Boolean]"]=on["[object DataView]"]=on["[object Date]"]=on["[object Error]"]=on["[object Function]"]=on["[object Map]"]=on["[object Number]"]=on["[object Object]"]=on["[object RegExp]"]=on["[object Set]"]=on["[object String]"]=on["[object WeakMap]"]=!1;var an=function(t){return rn(t)&&nn(t.length)&&!!on[en(t)]};var sn=function(t){return function(e){return t(e)}},ln={exports:{}};!function(t,e){var n=M,r=e&&!e.nodeType&&e,i=r&&t&&!t.nodeType&&t,o=i&&i.exports===r&&n.process,a=function(){try{var t=i&&i.require&&i.require("util").types;return t||o&&o.binding&&o.binding("util")}catch(t){}}();t.exports=a}(ln,ln.exports);var cn=an,un=sn,dn=ln.exports,hn=dn&&dn.isTypedArray,pn=hn?un(hn):cn,fn=Te,gn=Xe,mn=Ae,yn=Ze.exports,vn=Je,bn=pn,wn=Object.prototype.hasOwnProperty;var _n=function(t,e){var n=mn(t),r=!n&&gn(t),i=!n&&!r&&yn(t),o=!n&&!r&&!i&&bn(t),a=n||r||i||o,s=a?fn(t.length,String):[],l=s.length;for(var c in t)!e&&!wn.call(t,c)||a&&("length"==c||i&&("offset"==c||"parent"==c)||o&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||vn(c,l))||s.push(c);return s},Sn=Object.prototype;var xn=function(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||Sn)};var $n=function(t,e){return function(n){return t(e(n))}}(Object.keys,Object),kn=xn,Fn=$n,On=Object.prototype.hasOwnProperty;var jn=ot,zn=tn;var Bn=_n,An=function(t){if(!kn(t))return Fn(t);var e=[];for(var n in Object(t))On.call(t,n)&&"constructor"!=n&&e.push(n);return e},Pn=function(t){return null!=t&&zn(t.length)&&!jn(t)};var Cn=function(t){return Pn(t)?Bn(t):An(t)},Dn=De,En=Me,In=Cn;var Hn=function(t){return Dn(t,In,En)},Nn=Object.prototype.hasOwnProperty;var Mn=function(t,e,n,r,i,o){var a=1&n,s=Hn(t),l=s.length;if(l!=Hn(e).length&&!a)return!1;for(var c=l;c--;){var u=s[c];if(!(a?u in e:Nn.call(e,u)))return!1}var d=o.get(t),h=o.get(e);if(d&&h)return d==e&&h==t;var p=!0;o.set(t,e),o.set(e,t);for(var f=a;++c<l;){var g=t[u=s[c]],m=e[u];if(r)var y=a?r(m,g,u,e,t,o):r(g,m,u,t,e,o);if(!(void 0===y?g===m||i(g,m,n,r,o):y)){p=!1;break}f||(f="constructor"==u)}if(p&&!f){var v=t.constructor,b=e.constructor;v==b||!("constructor"in t)||!("constructor"in e)||"function"==typeof v&&v instanceof v&&"function"==typeof b&&b instanceof b||(p=!1)}return o.delete(t),o.delete(e),p},Tn=xt(R,"DataView"),Vn=$t,Rn=xt(R,"Promise"),Ln=xt(R,"Set"),Wn=xt(R,"WeakMap"),qn=tt,Un=ut,Qn=Un(Tn),Gn=Un(Vn),Xn=Un(Rn),Zn=Un(Ln),Kn=Un(Wn),Yn=qn;(Tn&&"[object DataView]"!=Yn(new Tn(new ArrayBuffer(1)))||Vn&&"[object Map]"!=Yn(new Vn)||Rn&&"[object Promise]"!=Yn(Rn.resolve())||Ln&&"[object Set]"!=Yn(new Ln)||Wn&&"[object WeakMap]"!=Yn(new Wn))&&(Yn=function(t){var e=qn(t),n="[object Object]"==e?t.constructor:void 0,r=n?Un(n):"";if(r)switch(r){case Qn:return"[object DataView]";case Gn:return"[object Map]";case Xn:return"[object Promise]";case Zn:return"[object Set]";case Kn:return"[object WeakMap]"}return e});var Jn=pe,tr=_e,er=ze,nr=Mn,rr=Yn,ir=Ae,or=Ze.exports,ar=pn,sr="[object Object]",lr=Object.prototype.hasOwnProperty;var cr=function(t,e,n,r,i,o){var a=ir(t),s=ir(e),l=a?"[object Array]":rr(t),c=s?"[object Array]":rr(e),u=(l="[object Arguments]"==l?sr:l)==sr,d=(c="[object Arguments]"==c?sr:c)==sr,h=l==c;if(h&&or(t)){if(!or(e))return!1;a=!0,u=!1}if(h&&!u)return o||(o=new Jn),a||ar(t)?tr(t,e,n,r,i,o):er(t,e,l,n,r,i,o);if(!(1&n)){var p=u&&lr.call(t,"__wrapped__"),f=d&&lr.call(e,"__wrapped__");if(p||f){var g=p?t.value():t,m=f?e.value():e;return o||(o=new Jn),i(g,m,n,r,o)}}return!!h&&(o||(o=new Jn),nr(t,e,n,r,i,o))},ur=Ve;var dr=function t(e,n,r,i,o){return e===n||(null==e||null==n||!ur(e)&&!ur(n)?e!=e&&n!=n:cr(e,n,r,i,t,o))},hr=pe,pr=dr;var fr=et;var gr=function(t){return t==t&&!fr(t)},mr=gr,yr=Cn;var vr=function(t,e){return function(n){return null!=n&&(n[t]===e&&(void 0!==e||t in Object(n)))}},br=function(t,e,n,r){var i=n.length,o=i,a=!r;if(null==t)return!o;for(t=Object(t);i--;){var s=n[i];if(a&&s[2]?s[1]!==t[s[0]]:!(s[0]in t))return!1}for(;++i<o;){var l=(s=n[i])[0],c=t[l],u=s[1];if(a&&s[2]){if(void 0===c&&!(l in t))return!1}else{var d=new hr;if(r)var h=r(c,u,l,t,e,d);if(!(void 0===h?pr(u,c,3,r,d):h))return!1}}return!0},wr=function(t){for(var e=yr(t),n=e.length;n--;){var r=e[n],i=t[r];e[n]=[r,i,mr(i)]}return e},_r=vr;var Sr=function(t){var e=wr(t);return 1==e.length&&e[0][2]?_r(e[0][0],e[0][1]):function(n){return n===t||br(n,t,e)}},xr=tt,$r=Ve;var kr=function(t){return"symbol"==typeof t||$r(t)&&"[object Symbol]"==xr(t)},Fr=Ae,Or=kr,jr=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,zr=/^\w*$/;var Br=function(t,e){if(Fr(t))return!1;var n=typeof t;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=t&&!Or(t))||(zr.test(t)||!jr.test(t)||null!=e&&t in Object(e))},Ar=ne;function Pr(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new TypeError("Expected a function");var n=function(){var r=arguments,i=e?e.apply(this,r):r[0],o=n.cache;if(o.has(i))return o.get(i);var a=t.apply(this,r);return n.cache=o.set(i,a)||o,a};return n.cache=new(Pr.Cache||Ar),n}Pr.Cache=Ar;var Cr=Pr;var Dr=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Er=/\\(\\)?/g,Ir=function(t){var e=Cr(t,(function(t){return 500===n.size&&n.clear(),t})),n=e.cache;return e}((function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(Dr,(function(t,n,r,i){e.push(r?i.replace(Er,"$1"):n||t)})),e}));var Hr=function(t,e){for(var n=-1,r=null==t?0:t.length,i=Array(r);++n<r;)i[n]=e(t[n],n,t);return i},Nr=Ae,Mr=kr,Tr=L?L.prototype:void 0,Vr=Tr?Tr.toString:void 0;var Rr=function t(e){if("string"==typeof e)return e;if(Nr(e))return Hr(e,t)+"";if(Mr(e))return Vr?Vr.call(e):"";var n=e+"";return"0"==n&&1/e==-Infinity?"-0":n},Lr=Rr;var Wr=Ae,qr=Br,Ur=Ir,Qr=function(t){return null==t?"":Lr(t)};var Gr=function(t,e){return Wr(t)?t:qr(t,e)?[t]:Ur(Qr(t))},Xr=kr;var Zr=function(t){if("string"==typeof t||Xr(t))return t;var e=t+"";return"0"==e&&1/t==-Infinity?"-0":e},Kr=Gr,Yr=Zr;var Jr=function(t,e){for(var n=0,r=(e=Kr(e,t)).length;null!=t&&n<r;)t=t[Yr(e[n++])];return n&&n==r?t:void 0},ti=Jr;var ei=function(t,e,n){var r=null==t?void 0:ti(t,e);return void 0===r?n:r};var ni=Gr,ri=Xe,ii=Ae,oi=Je,ai=tn,si=Zr;var li=function(t,e){return null!=t&&e in Object(t)},ci=function(t,e,n){for(var r=-1,i=(e=ni(e,t)).length,o=!1;++r<i;){var a=si(e[r]);if(!(o=null!=t&&n(t,a)))break;t=t[a]}return o||++r!=i?o:!!(i=null==t?0:t.length)&&ai(i)&&oi(a,i)&&(ii(t)||ri(t))};var ui=dr,di=ei,hi=function(t,e){return null!=t&&ci(t,e,li)},pi=Br,fi=gr,gi=vr,mi=Zr;var yi=Jr;var vi=function(t){return function(e){return null==e?void 0:e[t]}},bi=function(t){return function(e){return yi(e,t)}},wi=Br,_i=Zr;var Si=Sr,xi=function(t,e){return pi(t)&&fi(e)?gi(mi(t),e):function(n){var r=di(n,t);return void 0===r&&r===e?hi(n,t):ui(e,r,3)}},$i=function(t){return t},ki=Ae,Fi=function(t){return wi(t)?vi(_i(t)):bi(t)};var Oi=/\s/;var ji=function(t){for(var e=t.length;e--&&Oi.test(t.charAt(e)););return e},zi=/^\s+/;var Bi=function(t){return t?t.slice(0,ji(t)+1).replace(zi,""):t},Ai=et,Pi=kr,Ci=/^[-+]0x[0-9a-f]+$/i,Di=/^0b[01]+$/i,Ei=/^0o[0-7]+$/i,Ii=parseInt;var Hi=function(t){if("number"==typeof t)return t;if(Pi(t))return NaN;if(Ai(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=Ai(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=Bi(t);var n=Di.test(t);return n||Ei.test(t)?Ii(t.slice(2),n?2:8):Ci.test(t)?NaN:+t};var Ni=function(t){return t?Infinity===(t=Hi(t))||-Infinity===t?17976931348623157e292*(t<0?-1:1):t==t?t:0:0===t?t:0};var Mi=y,Ti=function(t){return"function"==typeof t?t:null==t?$i:"object"==typeof t?ki(t)?xi(t[0],t[1]):Si(t):Fi(t)},Vi=function(t){var e=Ni(t),n=e%1;return e==e?n?e-n:e:0},Ri=Math.max;var Li=function(t,e,n){var r=null==t?0:t.length;if(!r)return-1;var i=null==n?0:Vi(n);return i<0&&(i=Ri(r+i,0)),Mi(t,Ti(e),i)},Wi={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},qi=i.createContext&&i.createContext(Wi),Ui=function(){return Ui=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var i in e=arguments[n])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t},Ui.apply(this,arguments)},Qi=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(t);i<r.length;i++)e.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]])}return n};function Gi(t){return t&&t.map((function(t,e){return i.createElement(t.tag,Ui({key:e},t.attr),Gi(t.child))}))}function Xi(t){return function(e){return i.createElement(Zi,Ui({attr:Ui({},t.attr)},e),Gi(t.child))}}function Zi(t){var e=function(e){var n,r=t.attr,o=t.size,a=t.title,s=Qi(t,["attr","size","title"]),l=o||e.size||"1em";return e.className&&(n=e.className),t.className&&(n=(n?n+" ":"")+t.className),i.createElement("svg",Ui({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},e.attr,r,s,{className:n,style:Ui(Ui({color:t.color||e.color},e.style),t.style),height:l,width:l,xmlns:"http://www.w3.org/2000/svg"}),a&&i.createElement("title",null,a),t.children)};return void 0!==qi?i.createElement(qi.Consumer,null,(function(t){return e(t)})):e(Wi)}function Ki(t){return Xi({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M256 48C141.6 48 48 141.601 48 256s93.6 208 208 208 208-93.601 208-208S370.4 48 256 48zm24 312h-48v-40h48v40zm0-88h-48V144h48v128z"}}]})(t)}let Yi=go();const Ji=t=>uo(t,Yi);let to=go();Ji.write=t=>uo(t,to);let eo=go();Ji.onStart=t=>uo(t,eo);let no=go();Ji.onFrame=t=>uo(t,no);let ro=go();Ji.onFinish=t=>uo(t,ro);let io=[];Ji.setTimeout=(t,e)=>{let n=Ji.now()+e,r=()=>{let t=io.findIndex((t=>t.cancel==r));~t&&io.splice(t,1),lo-=~t?1:0},i={time:n,handler:t,cancel:r};return io.splice(oo(n),0,i),lo+=1,ho(),i};let oo=t=>~(~io.findIndex((e=>e.time>t))||~io.length);Ji.cancel=t=>{eo.delete(t),no.delete(t),Yi.delete(t),to.delete(t),ro.delete(t)},Ji.sync=t=>{co=!0,Ji.batchedUpdates(t),co=!1},Ji.throttle=t=>{let e;function n(){try{t(...e)}finally{e=null}}function r(...t){e=t,Ji.onStart(n)}return r.handler=t,r.cancel=()=>{eo.delete(n),e=null},r};let ao="undefined"!=typeof window?window.requestAnimationFrame:()=>{};Ji.use=t=>ao=t,Ji.now="undefined"!=typeof performance?()=>performance.now():Date.now,Ji.batchedUpdates=t=>t(),Ji.catch=console.error,Ji.frameLoop="always",Ji.advance=()=>{"demand"!==Ji.frameLoop?console.warn("Cannot call the manual advancement of rafz whilst frameLoop is not set as demand"):fo()};let so=-1,lo=0,co=!1;function uo(t,e){co?(e.delete(t),t(0)):(e.add(t),ho())}function ho(){so<0&&(so=0,"demand"!==Ji.frameLoop&&ao(po))}function po(){~so&&(ao(po),Ji.batchedUpdates(fo))}function fo(){let t=so;so=Ji.now();let e=oo(so);e&&(mo(io.splice(0,e),(t=>t.handler())),lo-=e),eo.flush(),Yi.flush(t?Math.min(64,so-t):16.667),no.flush(),to.flush(),ro.flush(),lo||(so=-1)}function go(){let t=new Set,e=t;return{add(n){lo+=e!=t||t.has(n)?0:1,t.add(n)},delete:n=>(lo-=e==t&&t.has(n)?1:0,t.delete(n)),flush(n){e.size&&(t=new Set,lo-=e.size,mo(e,(e=>e(n)&&t.add(e))),lo+=t.size,e=t)}}}function mo(t,e){t.forEach((t=>{try{e(t)}catch(t){Ji.catch(t)}}))}function yo(){}const vo={arr:Array.isArray,obj:t=>!!t&&"Object"===t.constructor.name,fun:t=>"function"==typeof t,str:t=>"string"==typeof t,num:t=>"number"==typeof t,und:t=>void 0===t};function bo(t,e){if(vo.arr(t)){if(!vo.arr(e)||t.length!==e.length)return!1;for(let n=0;n<t.length;n++)if(t[n]!==e[n])return!1;return!0}return t===e}const wo=(t,e)=>t.forEach(e);function _o(t,e,n){if(vo.arr(t))for(let r=0;r<t.length;r++)e.call(n,t[r],`${r}`);else for(const r in t)t.hasOwnProperty(r)&&e.call(n,t[r],r)}const So=t=>vo.und(t)?[]:vo.arr(t)?t:[t];function xo(t,e){if(t.size){const n=Array.from(t);t.clear(),wo(n,e)}}const $o=(t,...e)=>xo(t,(t=>t(...e))),ko=()=>"undefined"==typeof window||!window.navigator||/ServerSideRendering|^Deno\//.test(window.navigator.userAgent);let Fo,Oo,jo=null,zo=!1,Bo=yo;var Ao=Object.freeze({__proto__:null,get createStringInterpolator(){return Fo},get to(){return Oo},get colors(){return jo},get skipAnimation(){return zo},get willAdvance(){return Bo},assign:t=>{t.to&&(Oo=t.to),t.now&&(Ji.now=t.now),void 0!==t.colors&&(jo=t.colors),null!=t.skipAnimation&&(zo=t.skipAnimation),t.createStringInterpolator&&(Fo=t.createStringInterpolator),t.requestAnimationFrame&&Ji.use(t.requestAnimationFrame),t.batchedUpdates&&(Ji.batchedUpdates=t.batchedUpdates),t.willAdvance&&(Bo=t.willAdvance),t.frameLoop&&(Ji.frameLoop=t.frameLoop)}});const Po=new Set;let Co=[],Do=[],Eo=0;const Io={get idle(){return!Po.size&&!Co.length},start(t){Eo>t.priority?(Po.add(t),Ji.onStart(Ho)):(No(t),Ji(To))},advance:To,sort(t){if(Eo)Ji.onFrame((()=>Io.sort(t)));else{const e=Co.indexOf(t);~e&&(Co.splice(e,1),Mo(t))}},clear(){Co=[],Po.clear()}};function Ho(){Po.forEach(No),Po.clear(),Ji(To)}function No(t){Co.includes(t)||Mo(t)}function Mo(t){Co.splice(function(t,e){const n=t.findIndex(e);return n<0?t.length:n}(Co,(e=>e.priority>t.priority)),0,t)}function To(t){const e=Do;for(let n=0;n<Co.length;n++){const r=Co[n];Eo=r.priority,r.idle||(Bo(r),r.advance(t),r.idle||e.push(r))}return Eo=0,Do=Co,Do.length=0,Co=e,Co.length>0}const Vo="[-+]?\\d*\\.?\\d+";function Ro(...t){return"\\(\\s*("+t.join(")\\s*,\\s*(")+")\\s*\\)"}const Lo=new RegExp("rgb"+Ro(Vo,Vo,Vo)),Wo=new RegExp("rgba"+Ro(Vo,Vo,Vo,Vo)),qo=new RegExp("hsl"+Ro(Vo,"[-+]?\\d*\\.?\\d+%","[-+]?\\d*\\.?\\d+%")),Uo=new RegExp("hsla"+Ro(Vo,"[-+]?\\d*\\.?\\d+%","[-+]?\\d*\\.?\\d+%",Vo)),Qo=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,Go=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,Xo=/^#([0-9a-fA-F]{6})$/,Zo=/^#([0-9a-fA-F]{8})$/;function Ko(t,e,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?t+6*(e-t)*n:n<.5?e:n<2/3?t+(e-t)*(2/3-n)*6:t}function Yo(t,e,n){const r=n<.5?n*(1+e):n+e-n*e,i=2*n-r,o=Ko(i,r,t+1/3),a=Ko(i,r,t),s=Ko(i,r,t-1/3);return Math.round(255*o)<<24|Math.round(255*a)<<16|Math.round(255*s)<<8}function Jo(t){const e=parseInt(t,10);return e<0?0:e>255?255:e}function ta(t){return(parseFloat(t)%360+360)%360/360}function ea(t){const e=parseFloat(t);return e<0?0:e>1?255:Math.round(255*e)}function na(t){const e=parseFloat(t);return e<0?0:e>100?1:e/100}function ra(t){let e=function(t){let e;return"number"==typeof t?t>>>0===t&&t>=0&&t<=4294967295?t:null:(e=Xo.exec(t))?parseInt(e[1]+"ff",16)>>>0:jo&&void 0!==jo[t]?jo[t]:(e=Lo.exec(t))?(Jo(e[1])<<24|Jo(e[2])<<16|Jo(e[3])<<8|255)>>>0:(e=Wo.exec(t))?(Jo(e[1])<<24|Jo(e[2])<<16|Jo(e[3])<<8|ea(e[4]))>>>0:(e=Qo.exec(t))?parseInt(e[1]+e[1]+e[2]+e[2]+e[3]+e[3]+"ff",16)>>>0:(e=Zo.exec(t))?parseInt(e[1],16)>>>0:(e=Go.exec(t))?parseInt(e[1]+e[1]+e[2]+e[2]+e[3]+e[3]+e[4]+e[4],16)>>>0:(e=qo.exec(t))?(255|Yo(ta(e[1]),na(e[2]),na(e[3])))>>>0:(e=Uo.exec(t))?(Yo(ta(e[1]),na(e[2]),na(e[3]))|ea(e[4]))>>>0:null}(t);return null===e?t:(e=e||0,`rgba(${(4278190080&e)>>>24}, ${(16711680&e)>>>16}, ${(65280&e)>>>8}, ${(255&e)/255})`)}const ia=(t,e,n)=>{if(vo.fun(t))return t;if(vo.arr(t))return ia({range:t,output:e,extrapolate:n});if(vo.str(t.output[0]))return Fo(t);const r=t,i=r.output,o=r.range||[0,1],a=r.extrapolateLeft||r.extrapolate||"extend",s=r.extrapolateRight||r.extrapolate||"extend",l=r.easing||(t=>t);return t=>{const e=function(t,e){for(var n=1;n<e.length-1&&!(e[n]>=t);++n);return n-1}(t,o);return function(t,e,n,r,i,o,a,s,l){let c=l?l(t):t;if(c<e){if("identity"===a)return c;"clamp"===a&&(c=e)}if(c>n){if("identity"===s)return c;"clamp"===s&&(c=n)}if(r===i)return r;if(e===n)return t<=e?r:i;e===-1/0?c=-c:n===1/0?c-=e:c=(c-e)/(n-e);c=o(c),r===-1/0?c=-c:i===1/0?c+=r:c=c*(i-r)+r;return c}(t,o[e],o[e+1],i[e],i[e+1],l,a,s,r.map)}};function oa(){return oa=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},oa.apply(this,arguments)}const aa=Symbol.for("FluidValue.get"),sa=Symbol.for("FluidValue.observers"),la=t=>Boolean(t&&t[aa]),ca=t=>t&&t[aa]?t[aa]():t,ua=t=>t[sa]||null;function da(t,e){let n=t[sa];n&&n.forEach((t=>{!function(t,e){t.eventObserved?t.eventObserved(e):t(e)}(t,e)}))}class ha{constructor(t){if(this[aa]=void 0,this[sa]=void 0,!t&&!(t=this.get))throw Error("Unknown getter");pa(this,t)}}const pa=(t,e)=>ma(t,aa,e);function fa(t,e){if(t[aa]){let n=t[sa];n||ma(t,sa,n=new Set),n.has(e)||(n.add(e),t.observerAdded&&t.observerAdded(n.size,e))}return e}function ga(t,e){let n=t[sa];if(n&&n.has(e)){const r=n.size-1;r?n.delete(e):t[sa]=null,t.observerRemoved&&t.observerRemoved(r,e)}}const ma=(t,e,n)=>Object.defineProperty(t,e,{value:n,writable:!0,configurable:!0}),ya=/[+\-]?(?:0|[1-9]\d*)(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,va=/(#(?:[0-9a-f]{2}){2,4}|(#[0-9a-f]{3})|(rgb|hsl)a?\((-?\d+%?[,\s]+){2,3}\s*[\d\.]+%?\))/gi,ba=new RegExp(`(${ya.source})(%|[a-z]+)`,"i"),wa=/rgba\(([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+)\)/gi,_a=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/,Sa=t=>{const[e,n]=xa(t);if(!e||ko())return t;const r=window.getComputedStyle(document.documentElement).getPropertyValue(e);if(r)return r.trim();if(n&&n.startsWith("--")){const e=window.getComputedStyle(document.documentElement).getPropertyValue(n);return e||t}return n&&_a.test(n)?Sa(n):n||t},xa=t=>{const e=_a.exec(t);if(!e)return[,];const[,n,r]=e;return[n,r]};let $a;const ka=(t,e,n,r,i)=>`rgba(${Math.round(e)}, ${Math.round(n)}, ${Math.round(r)}, ${i})`,Fa=t=>{$a||($a=jo?new RegExp(`(${Object.keys(jo).join("|")})(?!\\w)`,"g"):/^\b$/);const e=t.output.map((t=>ca(t).replace(_a,Sa).replace(va,ra).replace($a,ra))),n=e.map((t=>t.match(ya).map(Number))),r=n[0].map(((t,e)=>n.map((t=>{if(!(e in t))throw Error('The arity of each "output" value must be equal');return t[e]})))).map((e=>ia(oa({},t,{output:e}))));return t=>{var n;const i=!ba.test(e[0])&&(null==(n=e.find((t=>ba.test(t))))?void 0:n.replace(ya,""));let o=0;return e[0].replace(ya,(()=>`${r[o++](t)}${i||""}`)).replace(wa,ka)}},Oa="react-spring: ",ja=t=>{const e=t;let n=!1;if("function"!=typeof e)throw new TypeError(`${Oa}once requires a function parameter`);return(...t)=>{n||(e(...t),n=!0)}},za=ja(console.warn);const Ba=ja(console.warn);function Aa(t){return vo.str(t)&&("#"==t[0]||/\d/.test(t)||!ko()&&_a.test(t)||t in(jo||{}))}const Pa="undefined"!=typeof window&&window.document&&window.document.createElement?r.useLayoutEffect:r.useEffect;function Ca(){const t=a()[1],e=(()=>{const t=s(!1);return Pa((()=>(t.current=!0,()=>{t.current=!1})),[]),t})();return()=>{e.current&&t(Math.random())}}const Da=t=>o(t,Ea),Ea=[];function Ia(t){const e=s();return o((()=>{e.current=t})),e.current}const Ha=Symbol.for("Animated:node"),Na=t=>t&&t[Ha],Ma=(t,e)=>{return n=t,r=Ha,i=e,Object.defineProperty(n,r,{value:i,writable:!0,configurable:!0});var n,r,i},Ta=t=>t&&t[Ha]&&t[Ha].getPayload();class Va{constructor(){this.payload=void 0,Ma(this,this)}getPayload(){return this.payload||[]}}class Ra extends Va{constructor(t){super(),this.done=!0,this.elapsedTime=void 0,this.lastPosition=void 0,this.lastVelocity=void 0,this.v0=void 0,this.durationProgress=0,this._value=t,vo.num(this._value)&&(this.lastPosition=this._value)}static create(t){return new Ra(t)}getPayload(){return[this]}getValue(){return this._value}setValue(t,e){return vo.num(t)&&(this.lastPosition=t,e&&(t=Math.round(t/e)*e,this.done&&(this.lastPosition=t))),this._value!==t&&(this._value=t,!0)}reset(){const{done:t}=this;this.done=!1,vo.num(this._value)&&(this.elapsedTime=0,this.durationProgress=0,this.lastPosition=this._value,t&&(this.lastVelocity=null),this.v0=null)}}class La extends Ra{constructor(t){super(0),this._string=null,this._toString=void 0,this._toString=ia({output:[t,t]})}static create(t){return new La(t)}getValue(){let t=this._string;return null==t?this._string=this._toString(this._value):t}setValue(t){if(vo.str(t)){if(t==this._string)return!1;this._string=t,this._value=1}else{if(!super.setValue(t))return!1;this._string=null}return!0}reset(t){t&&(this._toString=ia({output:[this.getValue(),t]})),this._value=0,super.reset()}}const Wa={dependencies:null};class qa extends Va{constructor(t){super(),this.source=t,this.setValue(t)}getValue(t){const e={};return _o(this.source,((n,r)=>{var i;(i=n)&&i[Ha]===i?e[r]=n.getValue(t):la(n)?e[r]=ca(n):t||(e[r]=n)})),e}setValue(t){this.source=t,this.payload=this._makePayload(t)}reset(){this.payload&&wo(this.payload,(t=>t.reset()))}_makePayload(t){if(t){const e=new Set;return _o(t,this._addToPayload,e),Array.from(e)}}_addToPayload(t){Wa.dependencies&&la(t)&&Wa.dependencies.add(t);const e=Ta(t);e&&wo(e,(t=>this.add(t)))}}class Ua extends qa{constructor(t){super(t)}static create(t){return new Ua(t)}getValue(){return this.source.map((t=>t.getValue()))}setValue(t){const e=this.getPayload();return t.length==e.length?e.map(((e,n)=>e.setValue(t[n]))).some(Boolean):(super.setValue(t.map(Qa)),!0)}}function Qa(t){return(Aa(t)?La:Ra).create(t)}function Ga(t){const e=Na(t);return e?e.constructor:vo.arr(t)?Ua:Aa(t)?La:Ra}function Xa(){return Xa=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},Xa.apply(this,arguments)}const Za=(t,e)=>{const n=!vo.fun(t)||t.prototype&&t.prototype.isReactComponent;return l(((i,a)=>{const l=s(null),u=n&&c((t=>{l.current=function(t,e){t&&(vo.fun(t)?t(e):t.current=e);return e}(a,t)}),[a]),[d,h]=function(t,e){const n=new Set;Wa.dependencies=n,t.style&&(t=Xa({},t,{style:e.createAnimatedStyle(t.style)}));return t=new qa(t),Wa.dependencies=null,[t,n]}(i,e),p=Ca(),f=()=>{const t=l.current;if(n&&!t)return;!1===(!!t&&e.applyAnimatedValues(t,d.getValue(!0)))&&p()},g=new Ka(f,h),m=s();Pa((()=>(m.current=g,wo(h,(t=>fa(t,g))),()=>{m.current&&(wo(m.current.deps,(t=>ga(t,m.current))),Ji.cancel(m.current.update))}))),o(f,[]),Da((()=>()=>{const t=m.current;wo(t.deps,(e=>ga(e,t)))}));const y=e.getComponentProps(d.getValue());return r.createElement(t,Xa({},y,{ref:u}))}))};class Ka{constructor(t,e){this.update=t,this.deps=e}eventObserved(t){"change"==t.type&&Ji.write(this.update)}}const Ya=Symbol.for("AnimatedComponent"),Ja=t=>vo.str(t)?t:t&&vo.str(t.displayName)?t.displayName:vo.fun(t)&&t.name||null;function ts(){return ts=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},ts.apply(this,arguments)}function es(t,...e){return vo.fun(t)?t(...e):t}const ns=(t,e)=>!0===t||!!(e&&t&&(vo.fun(t)?t(e):So(t).includes(e))),rs=(t,e)=>vo.obj(t)?e&&t[e]:t,is=(t,e)=>!0===t.default?t[e]:t.default?t.default[e]:void 0,os=t=>t,as=(t,e=os)=>{let n=ss;t.default&&!0!==t.default&&(t=t.default,n=Object.keys(t));const r={};for(const i of n){const n=e(t[i],i);vo.und(n)||(r[i]=n)}return r},ss=["config","onProps","onStart","onChange","onPause","onResume","onRest"],ls={config:1,from:1,to:1,ref:1,loop:1,reset:1,pause:1,cancel:1,reverse:1,immediate:1,default:1,delay:1,onProps:1,onStart:1,onChange:1,onPause:1,onResume:1,onRest:1,onResolve:1,items:1,trail:1,sort:1,expires:1,initial:1,enter:1,update:1,leave:1,children:1,onDestroyed:1,keys:1,callId:1,parentId:1};function cs(t){const e=function(t){const e={};let n=0;if(_o(t,((t,r)=>{ls[r]||(e[r]=t,n++)})),n)return e}(t);if(e){const n={to:e};return _o(t,((t,r)=>r in e||(n[r]=t))),n}return ts({},t)}function us(t){return t=ca(t),vo.arr(t)?t.map(us):Aa(t)?Ao.createStringInterpolator({range:[0,1],output:[t,t]})(1):t}function ds(t){for(const e in t)return!0;return!1}function hs(t){return vo.fun(t)||vo.arr(t)&&vo.obj(t[0])}function ps(t,e){var n;null==(n=t.ref)||n.delete(t),null==e||e.delete(t)}function fs(t,e){var n;e&&t.ref!==e&&(null==(n=t.ref)||n.delete(t),e.add(t),t.ref=e)}const gs=1.70158,ms=1.525*gs,ys=2*Math.PI/3,vs=2*Math.PI/4.5,bs=t=>{const e=7.5625,n=2.75;return t<1/n?e*t*t:t<2/n?e*(t-=1.5/n)*t+.75:t<2.5/n?e*(t-=2.25/n)*t+.9375:e*(t-=2.625/n)*t+.984375},ws=ts({},{tension:170,friction:26},{mass:1,damping:1,easing:{linear:t=>t,easeInQuad:t=>t*t,easeOutQuad:t=>1-(1-t)*(1-t),easeInOutQuad:t=>t<.5?2*t*t:1-Math.pow(-2*t+2,2)/2,easeInCubic:t=>t*t*t,easeOutCubic:t=>1-Math.pow(1-t,3),easeInOutCubic:t=>t<.5?4*t*t*t:1-Math.pow(-2*t+2,3)/2,easeInQuart:t=>t*t*t*t,easeOutQuart:t=>1-Math.pow(1-t,4),easeInOutQuart:t=>t<.5?8*t*t*t*t:1-Math.pow(-2*t+2,4)/2,easeInQuint:t=>t*t*t*t*t,easeOutQuint:t=>1-Math.pow(1-t,5),easeInOutQuint:t=>t<.5?16*t*t*t*t*t:1-Math.pow(-2*t+2,5)/2,easeInSine:t=>1-Math.cos(t*Math.PI/2),easeOutSine:t=>Math.sin(t*Math.PI/2),easeInOutSine:t=>-(Math.cos(Math.PI*t)-1)/2,easeInExpo:t=>0===t?0:Math.pow(2,10*t-10),easeOutExpo:t=>1===t?1:1-Math.pow(2,-10*t),easeInOutExpo:t=>0===t?0:1===t?1:t<.5?Math.pow(2,20*t-10)/2:(2-Math.pow(2,-20*t+10))/2,easeInCirc:t=>1-Math.sqrt(1-Math.pow(t,2)),easeOutCirc:t=>Math.sqrt(1-Math.pow(t-1,2)),easeInOutCirc:t=>t<.5?(1-Math.sqrt(1-Math.pow(2*t,2)))/2:(Math.sqrt(1-Math.pow(-2*t+2,2))+1)/2,easeInBack:t=>2.70158*t*t*t-gs*t*t,easeOutBack:t=>1+2.70158*Math.pow(t-1,3)+gs*Math.pow(t-1,2),easeInOutBack:t=>t<.5?Math.pow(2*t,2)*(7.189819*t-ms)/2:(Math.pow(2*t-2,2)*((ms+1)*(2*t-2)+ms)+2)/2,easeInElastic:t=>0===t?0:1===t?1:-Math.pow(2,10*t-10)*Math.sin((10*t-10.75)*ys),easeOutElastic:t=>0===t?0:1===t?1:Math.pow(2,-10*t)*Math.sin((10*t-.75)*ys)+1,easeInOutElastic:t=>0===t?0:1===t?1:t<.5?-Math.pow(2,20*t-10)*Math.sin((20*t-11.125)*vs)/2:Math.pow(2,-20*t+10)*Math.sin((20*t-11.125)*vs)/2+1,easeInBounce:t=>1-bs(1-t),easeOutBounce:bs,easeInOutBounce:t=>t<.5?(1-bs(1-2*t))/2:(1+bs(2*t-1))/2}.linear,clamp:!1});class _s{constructor(){this.tension=void 0,this.friction=void 0,this.frequency=void 0,this.damping=void 0,this.mass=void 0,this.velocity=0,this.restVelocity=void 0,this.precision=void 0,this.progress=void 0,this.duration=void 0,this.easing=void 0,this.clamp=void 0,this.bounce=void 0,this.decay=void 0,this.round=void 0,Object.assign(this,ws)}}function Ss(t,e){if(vo.und(e.decay)){const n=!vo.und(e.tension)||!vo.und(e.friction);!n&&vo.und(e.frequency)&&vo.und(e.damping)&&vo.und(e.mass)||(t.duration=void 0,t.decay=void 0),n&&(t.frequency=void 0)}else t.duration=void 0}const xs=[];class $s{constructor(){this.changed=!1,this.values=xs,this.toValues=null,this.fromValues=xs,this.to=void 0,this.from=void 0,this.config=new _s,this.immediate=!1}}function ks(t,{key:e,props:n,defaultProps:r,state:i,actions:o}){return new Promise(((a,s)=>{var l;let c,u,d=ns(null!=(l=n.cancel)?l:null==r?void 0:r.cancel,e);if(d)f();else{vo.und(n.pause)||(i.paused=ns(n.pause,e));let t=null==r?void 0:r.pause;!0!==t&&(t=i.paused||ns(t,e)),c=es(n.delay||0,e),t?(i.resumeQueue.add(p),o.pause()):(o.resume(),p())}function h(){i.resumeQueue.add(p),i.timeouts.delete(u),u.cancel(),c=u.time-Ji.now()}function p(){c>0&&!Ao.skipAnimation?(i.delayed=!0,u=Ji.setTimeout(f,c),i.pauseQueue.add(h),i.timeouts.add(u)):f()}function f(){i.delayed&&(i.delayed=!1),i.pauseQueue.delete(h),i.timeouts.delete(u),t<=(i.cancelId||0)&&(d=!0);try{o.start(ts({},n,{callId:t,cancel:d}),a)}catch(t){s(t)}}}))}const Fs=(t,e)=>1==e.length?e[0]:e.some((t=>t.cancelled))?zs(t.get()):e.every((t=>t.noop))?Os(t.get()):js(t.get(),e.every((t=>t.finished))),Os=t=>({value:t,noop:!0,finished:!0,cancelled:!1}),js=(t,e,n=!1)=>({value:t,finished:e,cancelled:n}),zs=t=>({value:t,cancelled:!0,finished:!1});function Bs(t,e,n,r){const{callId:i,parentId:o,onRest:a}=e,{asyncTo:s,promise:l}=n;return o||t!==s||e.reset?n.promise=(async()=>{n.asyncId=i,n.asyncTo=t;const c=as(e,((t,e)=>"onRest"===e?void 0:t));let u,d;const h=new Promise(((t,e)=>(u=t,d=e))),p=t=>{const e=i<=(n.cancelId||0)&&zs(r)||i!==n.asyncId&&js(r,!1);if(e)throw t.result=e,d(t),t},f=(t,e)=>{const o=new Ps,a=new Cs;return(async()=>{if(Ao.skipAnimation)throw As(n),a.result=js(r,!1),d(a),a;p(o);const s=vo.obj(t)?ts({},t):ts({},e,{to:t});s.parentId=i,_o(c,((t,e)=>{vo.und(s[e])&&(s[e]=t)}));const l=await r.start(s);return p(o),n.paused&&await new Promise((t=>{n.resumeQueue.add(t)})),l})()};let g;if(Ao.skipAnimation)return As(n),js(r,!1);try{let e;e=vo.arr(t)?(async t=>{for(const e of t)await f(e)})(t):Promise.resolve(t(f,r.stop.bind(r))),await Promise.all([e.then(u),h]),g=js(r.get(),!0,!1)}catch(t){if(t instanceof Ps)g=t.result;else{if(!(t instanceof Cs))throw t;g=t.result}}finally{i==n.asyncId&&(n.asyncId=o,n.asyncTo=o?s:void 0,n.promise=o?l:void 0)}return vo.fun(a)&&Ji.batchedUpdates((()=>{a(g,r,r.item)})),g})():l}function As(t,e){xo(t.timeouts,(t=>t.cancel())),t.pauseQueue.clear(),t.resumeQueue.clear(),t.asyncId=t.asyncTo=t.promise=void 0,e&&(t.cancelId=e)}class Ps extends Error{constructor(){super("An async animation has been interrupted. You see this error because you forgot to use `await` or `.catch(...)` on its returned promise."),this.result=void 0}}class Cs extends Error{constructor(){super("SkipAnimationSignal"),this.result=void 0}}const Ds=t=>t instanceof Is;let Es=1;class Is extends ha{constructor(...t){super(...t),this.id=Es++,this.key=void 0,this._priority=0}get priority(){return this._priority}set priority(t){this._priority!=t&&(this._priority=t,this._onPriorityChange(t))}get(){const t=Na(this);return t&&t.getValue()}to(...t){return Ao.to(this,t)}interpolate(...t){return za(`${Oa}The "interpolate" function is deprecated in v9 (use "to" instead)`),Ao.to(this,t)}toJSON(){return this.get()}observerAdded(t){1==t&&this._attach()}observerRemoved(t){0==t&&this._detach()}_attach(){}_detach(){}_onChange(t,e=!1){da(this,{type:"change",parent:this,value:t,idle:e})}_onPriorityChange(t){this.idle||Io.sort(this),da(this,{type:"priority",parent:this,priority:t})}}const Hs=Symbol.for("SpringPhase"),Ns=t=>(1&t[Hs])>0,Ms=t=>(2&t[Hs])>0,Ts=t=>(4&t[Hs])>0,Vs=(t,e)=>e?t[Hs]|=3:t[Hs]&=-3,Rs=(t,e)=>e?t[Hs]|=4:t[Hs]&=-5;class Ls extends Is{constructor(t,e){if(super(),this.key=void 0,this.animation=new $s,this.queue=void 0,this.defaultProps={},this._state={paused:!1,delayed:!1,pauseQueue:new Set,resumeQueue:new Set,timeouts:new Set},this._pendingCalls=new Set,this._lastCallId=0,this._lastToId=0,this._memoizedDuration=0,!vo.und(t)||!vo.und(e)){const n=vo.obj(t)?ts({},t):ts({},e,{from:t});vo.und(n.default)&&(n.default=!0),this.start(n)}}get idle(){return!(Ms(this)||this._state.asyncTo)||Ts(this)}get goal(){return ca(this.animation.to)}get velocity(){const t=Na(this);return t instanceof Ra?t.lastVelocity||0:t.getPayload().map((t=>t.lastVelocity||0))}get hasAnimated(){return Ns(this)}get isAnimating(){return Ms(this)}get isPaused(){return Ts(this)}get isDelayed(){return this._state.delayed}advance(t){let e=!0,n=!1;const r=this.animation;let{config:i,toValues:o}=r;const a=Ta(r.to);!a&&la(r.to)&&(o=So(ca(r.to))),r.values.forEach(((s,l)=>{if(s.done)return;const c=s.constructor==La?1:a?a[l].lastPosition:o[l];let u=r.immediate,d=c;if(!u){if(d=s.lastPosition,i.tension<=0)return void(s.done=!0);let e=s.elapsedTime+=t;const n=r.fromValues[l],o=null!=s.v0?s.v0:s.v0=vo.arr(i.velocity)?i.velocity[l]:i.velocity;let a;if(vo.und(i.duration))if(i.decay){const t=!0===i.decay?.998:i.decay,r=Math.exp(-(1-t)*e);d=n+o/(1-t)*(1-r),u=Math.abs(s.lastPosition-d)<.1,a=o*r}else{a=null==s.lastVelocity?o:s.lastVelocity;const e=i.precision||(n==c?.005:Math.min(1,.001*Math.abs(c-n))),r=i.restVelocity||e/10,l=i.clamp?0:i.bounce,h=!vo.und(l),p=n==c?s.v0>0:n<c;let f,g=!1;const m=1,y=Math.ceil(t/m);for(let t=0;t<y&&(f=Math.abs(a)>r,f||(u=Math.abs(c-d)<=e,!u));++t){h&&(g=d==c||d>c==p,g&&(a=-a*l,d=c));a+=(1e-6*-i.tension*(d-c)+.001*-i.friction*a)/i.mass*m,d+=a*m}}else{let r=1;i.duration>0&&(this._memoizedDuration!==i.duration&&(this._memoizedDuration=i.duration,s.durationProgress>0&&(s.elapsedTime=i.duration*s.durationProgress,e=s.elapsedTime+=t)),r=(i.progress||0)+e/this._memoizedDuration,r=r>1?1:r<0?0:r,s.durationProgress=r),d=n+i.easing(r)*(c-n),a=(d-s.lastPosition)/t,u=1==r}s.lastVelocity=a,Number.isNaN(d)&&(console.warn("Got NaN while animating:",this),u=!0)}a&&!a[l].done&&(u=!1),u?s.done=!0:e=!1,s.setValue(d,i.round)&&(n=!0)}));const s=Na(this),l=s.getValue();if(e){const t=ca(r.to);l===t&&!n||i.decay?n&&i.decay&&this._onChange(l):(s.setValue(t),this._onChange(t)),this._stop()}else n&&this._onChange(l)}set(t){return Ji.batchedUpdates((()=>{this._stop(),this._focus(t),this._set(t)})),this}pause(){this._update({pause:!0})}resume(){this._update({pause:!1})}finish(){if(Ms(this)){const{to:t,config:e}=this.animation;Ji.batchedUpdates((()=>{this._onStart(),e.decay||this._set(t,!1),this._stop()}))}return this}update(t){return(this.queue||(this.queue=[])).push(t),this}start(t,e){let n;return vo.und(t)?(n=this.queue||[],this.queue=[]):n=[vo.obj(t)?t:ts({},e,{to:t})],Promise.all(n.map((t=>this._update(t)))).then((t=>Fs(this,t)))}stop(t){const{to:e}=this.animation;return this._focus(this.get()),As(this._state,t&&this._lastCallId),Ji.batchedUpdates((()=>this._stop(e,t))),this}reset(){this._update({reset:!0})}eventObserved(t){"change"==t.type?this._start():"priority"==t.type&&(this.priority=t.priority+1)}_prepareNode(t){const e=this.key||"";let{to:n,from:r}=t;n=vo.obj(n)?n[e]:n,(null==n||hs(n))&&(n=void 0),r=vo.obj(r)?r[e]:r,null==r&&(r=void 0);const i={to:n,from:r};return Ns(this)||(t.reverse&&([n,r]=[r,n]),r=ca(r),vo.und(r)?Na(this)||this._set(n):this._set(r)),i}_update(t,e){let n=ts({},t);const{key:r,defaultProps:i}=this;n.default&&Object.assign(i,as(n,((t,e)=>/^on/.test(e)?rs(t,r):t))),Zs(this,n,"onProps"),Ks(this,"onProps",n,this);const o=this._prepareNode(n);if(Object.isFrozen(this))throw Error("Cannot animate a `SpringValue` object that is frozen. Did you forget to pass your component to `animated(...)` before animating its props?");const a=this._state;return ks(++this._lastCallId,{key:r,props:n,defaultProps:i,state:a,actions:{pause:()=>{Ts(this)||(Rs(this,!0),$o(a.pauseQueue),Ks(this,"onPause",js(this,Ws(this,this.animation.to)),this))},resume:()=>{Ts(this)&&(Rs(this,!1),Ms(this)&&this._resume(),$o(a.resumeQueue),Ks(this,"onResume",js(this,Ws(this,this.animation.to)),this))},start:this._merge.bind(this,o)}}).then((t=>{if(n.loop&&t.finished&&(!e||!t.noop)){const t=qs(n);if(t)return this._update(t,!0)}return t}))}_merge(t,e,n){if(e.cancel)return this.stop(!0),n(zs(this));const r=!vo.und(t.to),i=!vo.und(t.from);if(r||i){if(!(e.callId>this._lastToId))return n(zs(this));this._lastToId=e.callId}const{key:o,defaultProps:a,animation:s}=this,{to:l,from:c}=s;let{to:u=l,from:d=c}=t;!i||r||e.default&&!vo.und(u)||(u=d),e.reverse&&([u,d]=[d,u]);const h=!bo(d,c);h&&(s.from=d),d=ca(d);const p=!bo(u,l);p&&this._focus(u);const f=hs(e.to),{config:g}=s,{decay:m,velocity:y}=g;(r||i)&&(g.velocity=0),e.config&&!f&&function(t,e,n){n&&(Ss(n=ts({},n),e),e=ts({},n,e)),Ss(t,e),Object.assign(t,e);for(const e in ws)null==t[e]&&(t[e]=ws[e]);let{mass:r,frequency:i,damping:o}=t;vo.und(i)||(i<.01&&(i=.01),o<0&&(o=0),t.tension=Math.pow(2*Math.PI/i,2)*r,t.friction=4*Math.PI*o*r/i)}(g,es(e.config,o),e.config!==a.config?es(a.config,o):void 0);let v=Na(this);if(!v||vo.und(u))return n(js(this,!0));const b=vo.und(e.reset)?i&&!e.default:!vo.und(d)&&ns(e.reset,o),w=b?d:this.get(),_=us(u),S=vo.num(_)||vo.arr(_)||Aa(_),x=!f&&(!S||ns(a.immediate||e.immediate,o));if(p){const t=Ga(u);if(t!==v.constructor){if(!x)throw Error(`Cannot animate between ${v.constructor.name} and ${t.name}, as the "to" prop suggests`);v=this._set(_)}}const $=v.constructor;let k=la(u),F=!1;if(!k){const t=b||!Ns(this)&&h;(p||t)&&(F=bo(us(w),_),k=!F),(bo(s.immediate,x)||x)&&bo(g.decay,m)&&bo(g.velocity,y)||(k=!0)}if(F&&Ms(this)&&(s.changed&&!b?k=!0:k||this._stop(l)),!f&&((k||la(l))&&(s.values=v.getPayload(),s.toValues=la(u)?null:$==La?[1]:So(_)),s.immediate!=x&&(s.immediate=x,x||b||this._set(l)),k)){const{onRest:t}=s;wo(Xs,(t=>Zs(this,e,t)));const r=js(this,Ws(this,l));$o(this._pendingCalls,r),this._pendingCalls.add(n),s.changed&&Ji.batchedUpdates((()=>{s.changed=!b,null==t||t(r,this),b?es(a.onRest,r):null==s.onStart||s.onStart(r,this)}))}b&&this._set(w),f?n(Bs(e.to,e,this._state,this)):k?this._start():Ms(this)&&!p?this._pendingCalls.add(n):n(Os(w))}_focus(t){const e=this.animation;t!==e.to&&(ua(this)&&this._detach(),e.to=t,ua(this)&&this._attach())}_attach(){let t=0;const{to:e}=this.animation;la(e)&&(fa(e,this),Ds(e)&&(t=e.priority+1)),this.priority=t}_detach(){const{to:t}=this.animation;la(t)&&ga(t,this)}_set(t,e=!0){const n=ca(t);if(!vo.und(n)){const t=Na(this);if(!t||!bo(n,t.getValue())){const r=Ga(n);t&&t.constructor==r?t.setValue(n):Ma(this,r.create(n)),t&&Ji.batchedUpdates((()=>{this._onChange(n,e)}))}}return Na(this)}_onStart(){const t=this.animation;t.changed||(t.changed=!0,Ks(this,"onStart",js(this,Ws(this,t.to)),this))}_onChange(t,e){e||(this._onStart(),es(this.animation.onChange,t,this)),es(this.defaultProps.onChange,t,this),super._onChange(t,e)}_start(){const t=this.animation;Na(this).reset(ca(t.to)),t.immediate||(t.fromValues=t.values.map((t=>t.lastPosition))),Ms(this)||(Vs(this,!0),Ts(this)||this._resume())}_resume(){Ao.skipAnimation?this.finish():Io.start(this)}_stop(t,e){if(Ms(this)){Vs(this,!1);const n=this.animation;wo(n.values,(t=>{t.done=!0})),n.toValues&&(n.onChange=n.onPause=n.onResume=void 0),da(this,{type:"idle",parent:this});const r=e?zs(this.get()):js(this.get(),Ws(this,null!=t?t:n.to));$o(this._pendingCalls,r),n.changed&&(n.changed=!1,Ks(this,"onRest",r,this))}}}function Ws(t,e){const n=us(e);return bo(us(t.get()),n)}function qs(t,e=t.loop,n=t.to){let r=es(e);if(r){const i=!0!==r&&cs(r),o=(i||t).reverse,a=!i||i.reset;return Us(ts({},t,{loop:e,default:!1,pause:void 0,to:!o||hs(n)?n:void 0,from:a?t.from:void 0,reset:a},i))}}function Us(t){const{to:e,from:n}=t=cs(t),r=new Set;return vo.obj(e)&&Gs(e,r),vo.obj(n)&&Gs(n,r),t.keys=r.size?Array.from(r):null,t}function Qs(t){const e=Us(t);return vo.und(e.default)&&(e.default=as(e)),e}function Gs(t,e){_o(t,((t,n)=>null!=t&&e.add(n)))}const Xs=["onStart","onRest","onChange","onPause","onResume"];function Zs(t,e,n){t.animation[n]=e[n]!==is(e,n)?rs(e[n],t.key):void 0}function Ks(t,e,...n){var r,i,o,a;null==(r=(i=t.animation)[e])||r.call(i,...n),null==(o=(a=t.defaultProps)[e])||o.call(a,...n)}const Ys=["onStart","onChange","onRest"];let Js=1;class tl{constructor(t,e){this.id=Js++,this.springs={},this.queue=[],this.ref=void 0,this._flush=void 0,this._initialProps=void 0,this._lastAsyncId=0,this._active=new Set,this._changed=new Set,this._started=!1,this._item=void 0,this._state={paused:!1,pauseQueue:new Set,resumeQueue:new Set,timeouts:new Set},this._events={onStart:new Map,onChange:new Map,onRest:new Map},this._onFrame=this._onFrame.bind(this),e&&(this._flush=e),t&&this.start(ts({default:!0},t))}get idle(){return!this._state.asyncTo&&Object.values(this.springs).every((t=>t.idle&&!t.isDelayed&&!t.isPaused))}get item(){return this._item}set item(t){this._item=t}get(){const t={};return this.each(((e,n)=>t[n]=e.get())),t}set(t){for(const e in t){const n=t[e];vo.und(n)||this.springs[e].set(n)}}update(t){return t&&this.queue.push(Us(t)),this}start(t){let{queue:e}=this;return t?e=So(t).map(Us):this.queue=[],this._flush?this._flush(this,e):(sl(this,e),el(this,e))}stop(t,e){if(t!==!!t&&(e=t),e){const n=this.springs;wo(So(e),(e=>n[e].stop(!!t)))}else As(this._state,this._lastAsyncId),this.each((e=>e.stop(!!t)));return this}pause(t){if(vo.und(t))this.start({pause:!0});else{const e=this.springs;wo(So(t),(t=>e[t].pause()))}return this}resume(t){if(vo.und(t))this.start({pause:!1});else{const e=this.springs;wo(So(t),(t=>e[t].resume()))}return this}each(t){_o(this.springs,t)}_onFrame(){const{onStart:t,onChange:e,onRest:n}=this._events,r=this._active.size>0,i=this._changed.size>0;(r&&!this._started||i&&!this._started)&&(this._started=!0,xo(t,(([t,e])=>{e.value=this.get(),t(e,this,this._item)})));const o=!r&&this._started,a=i||o&&n.size?this.get():null;i&&e.size&&xo(e,(([t,e])=>{e.value=a,t(e,this,this._item)})),o&&(this._started=!1,xo(n,(([t,e])=>{e.value=a,t(e,this,this._item)})))}eventObserved(t){if("change"==t.type)this._changed.add(t.parent),t.idle||this._active.add(t.parent);else{if("idle"!=t.type)return;this._active.delete(t.parent)}Ji.onFrame(this._onFrame)}}function el(t,e){return Promise.all(e.map((e=>nl(t,e)))).then((e=>Fs(t,e)))}async function nl(t,e,n){const{keys:r,to:i,from:o,loop:a,onRest:s,onResolve:l}=e,c=vo.obj(e.default)&&e.default;a&&(e.loop=!1),!1===i&&(e.to=null),!1===o&&(e.from=null);const u=vo.arr(i)||vo.fun(i)?i:void 0;u?(e.to=void 0,e.onRest=void 0,c&&(c.onRest=void 0)):wo(Ys,(n=>{const r=e[n];if(vo.fun(r)){const i=t._events[n];e[n]=({finished:t,cancelled:e})=>{const n=i.get(r);n?(t||(n.finished=!1),e&&(n.cancelled=!0)):i.set(r,{value:null,finished:t||!1,cancelled:e||!1})},c&&(c[n]=e[n])}}));const d=t._state;e.pause===!d.paused?(d.paused=e.pause,$o(e.pause?d.pauseQueue:d.resumeQueue)):d.paused&&(e.pause=!0);const h=(r||Object.keys(t.springs)).map((n=>t.springs[n].start(e))),p=!0===e.cancel||!0===is(e,"cancel");(u||p&&d.asyncId)&&h.push(ks(++t._lastAsyncId,{props:e,state:d,actions:{pause:yo,resume:yo,start(e,n){p?(As(d,t._lastAsyncId),n(zs(t))):(e.onRest=s,n(Bs(u,e,d,t)))}}})),d.paused&&await new Promise((t=>{d.resumeQueue.add(t)}));const f=Fs(t,await Promise.all(h));if(a&&f.finished&&(!n||!f.noop)){const n=qs(e,a,i);if(n)return sl(t,[n]),nl(t,n,!0)}return l&&Ji.batchedUpdates((()=>l(f,t,t.item))),f}function rl(t,e){const n=ts({},t.springs);return e&&wo(So(e),(t=>{vo.und(t.keys)&&(t=Us(t)),vo.obj(t.to)||(t=ts({},t,{to:void 0})),al(n,t,(t=>ol(t)))})),il(t,n),n}function il(t,e){_o(e,((e,n)=>{t.springs[n]||(t.springs[n]=e,fa(e,t))}))}function ol(t,e){const n=new Ls;return n.key=t,e&&fa(n,e),n}function al(t,e,n){e.keys&&wo(e.keys,(r=>{(t[r]||(t[r]=n(r)))._prepareNode(e)}))}function sl(t,e){wo(e,(e=>{al(t.springs,e,(e=>ol(e,t)))}))}const ll=["children"],cl=t=>{let{children:e}=t,n=function(t,e){if(null==t)return{};var n,r,i={},o=Object.keys(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||(i[n]=t[n]);return i}(t,ll);const i=u(ul),l=n.pause||!!i.pause,c=n.immediate||!!i.immediate;n=function(t,e){const[n]=a((()=>({inputs:e,result:t()}))),r=s(),i=r.current;let l=i;l?Boolean(e&&l.inputs&&function(t,e){if(t.length!==e.length)return!1;for(let n=0;n<t.length;n++)if(t[n]!==e[n])return!1;return!0}(e,l.inputs))||(l={inputs:e,result:t()}):l=n;return o((()=>{r.current=l,i==n&&(n.inputs=n.result=void 0)}),[l]),l.result}((()=>({pause:l,immediate:c})),[l,c]);const{Provider:d}=ul;return r.createElement(d,{value:n},e)},ul=(dl=cl,hl={},Object.assign(dl,r.createContext(hl)),dl.Provider._context=dl,dl.Consumer._context=dl,dl);var dl,hl;cl.Provider=ul.Provider,cl.Consumer=ul.Consumer;const pl=()=>{const t=[],e=function(e){Ba(`${Oa}Directly calling start instead of using the api object is deprecated in v9 (use ".start" instead), this will be removed in later 0.X.0 versions`);const r=[];return wo(t,((t,i)=>{if(vo.und(e))r.push(t.start());else{const o=n(e,t,i);o&&r.push(t.start(o))}})),r};e.current=t,e.add=function(e){t.includes(e)||t.push(e)},e.delete=function(e){const n=t.indexOf(e);~n&&t.splice(n,1)},e.pause=function(){return wo(t,(t=>t.pause(...arguments))),this},e.resume=function(){return wo(t,(t=>t.resume(...arguments))),this},e.set=function(e){wo(t,(t=>t.set(e)))},e.start=function(e){const n=[];return wo(t,((t,r)=>{if(vo.und(e))n.push(t.start());else{const i=this._getProps(e,t,r);i&&n.push(t.start(i))}})),n},e.stop=function(){return wo(t,(t=>t.stop(...arguments))),this},e.update=function(e){return wo(t,((t,n)=>t.update(this._getProps(e,t,n)))),this};const n=function(t,e,n){return vo.fun(t)?t(n,e):t};return e._getProps=n,e};function fl(t,e,n){const r=vo.fun(e)&&e;r&&!n&&(n=[]);const i=d((()=>r||3==arguments.length?pl():void 0),[]),o=s(0),a=Ca(),l=d((()=>({ctrls:[],queue:[],flush(t,e){const n=rl(t,e);return o.current>0&&!l.queue.length&&!Object.keys(n).some((e=>!t.springs[e]))?el(t,e):new Promise((r=>{il(t,n),l.queue.push((()=>{r(el(t,e))})),a()}))}})),[]),c=s([...l.ctrls]),h=[],p=Ia(t)||0;function f(t,n){for(let i=t;i<n;i++){const t=c.current[i]||(c.current[i]=new tl(null,l.flush)),n=r?r(i,t):e[i];n&&(h[i]=Qs(n))}}d((()=>{wo(c.current.slice(t,p),(t=>{ps(t,i),t.stop(!0)})),c.current.length=t,f(p,t)}),[t]),d((()=>{f(0,Math.min(p,t))}),n);const g=c.current.map(((t,e)=>rl(t,h[e]))),m=u(cl),y=Ia(m),v=m!==y&&ds(m);Pa((()=>{o.current++,l.ctrls=c.current;const{queue:t}=l;t.length&&(l.queue=[],wo(t,(t=>t()))),wo(c.current,((t,e)=>{null==i||i.add(t),v&&t.start({default:m});const n=h[e];n&&(fs(t,n.ref),t.ref?t.queue.push(n):t.start(n))}))})),Da((()=>()=>{wo(l.ctrls,(t=>t.stop(!0)))}));const b=g.map((t=>ts({},t)));return i?[b,i]:b}let gl;!function(t){t.MOUNT="mount",t.ENTER="enter",t.UPDATE="update",t.LEAVE="leave"}(gl||(gl={}));class ml extends Is{constructor(t,e){super(),this.key=void 0,this.idle=!0,this.calc=void 0,this._active=new Set,this.source=t,this.calc=ia(...e);const n=this._get(),r=Ga(n);Ma(this,r.create(n))}advance(t){const e=this._get();bo(e,this.get())||(Na(this).setValue(e),this._onChange(e,this.idle)),!this.idle&&vl(this._active)&&bl(this)}_get(){const t=vo.arr(this.source)?this.source.map(ca):So(ca(this.source));return this.calc(...t)}_start(){this.idle&&!vl(this._active)&&(this.idle=!1,wo(Ta(this),(t=>{t.done=!1})),Ao.skipAnimation?(Ji.batchedUpdates((()=>this.advance())),bl(this)):Io.start(this))}_attach(){let t=1;wo(So(this.source),(e=>{la(e)&&fa(e,this),Ds(e)&&(e.idle||this._active.add(e),t=Math.max(t,e.priority+1))})),this.priority=t,this._start()}_detach(){wo(So(this.source),(t=>{la(t)&&ga(t,this)})),this._active.clear(),bl(this)}eventObserved(t){"change"==t.type?t.idle?this.advance():(this._active.add(t.parent),this._start()):"idle"==t.type?this._active.delete(t.parent):"priority"==t.type&&(this.priority=So(this.source).reduce(((t,e)=>Math.max(t,(Ds(e)?e.priority:0)+1)),0))}}function yl(t){return!1!==t.idle}function vl(t){return!t.size||Array.from(t).every(yl)}function bl(t){t.idle||(t.idle=!0,wo(Ta(t),(t=>{t.done=!0})),da(t,{type:"idle",parent:t}))}function wl(t,e){if(null==t)return{};var n,r,i={},o=Object.keys(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||(i[n]=t[n]);return i}Ao.assign({createStringInterpolator:Fa,to:(t,e)=>new ml(t,e)});const _l=["style","children","scrollTop","scrollLeft"],Sl=/^--/;function xl(t,e){return null==e||"boolean"==typeof e||""===e?"":"number"!=typeof e||0===e||Sl.test(t)||kl.hasOwnProperty(t)&&kl[t]?(""+e).trim():e+"px"}const $l={};let kl={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0};const Fl=["Webkit","Ms","Moz","O"];kl=Object.keys(kl).reduce(((t,e)=>(Fl.forEach((n=>t[((t,e)=>t+e.charAt(0).toUpperCase()+e.substring(1))(n,e)]=t[e])),t)),kl);const Ol=["x","y","z"],jl=/^(matrix|translate|scale|rotate|skew)/,zl=/^(translate)/,Bl=/^(rotate|skew)/,Al=(t,e)=>vo.num(t)&&0!==t?t+e:t,Pl=(t,e)=>vo.arr(t)?t.every((t=>Pl(t,e))):vo.num(t)?t===e:parseFloat(t)===e;class Cl extends qa{constructor(t){let{x:e,y:n,z:r}=t,i=wl(t,Ol);const o=[],a=[];(e||n||r)&&(o.push([e||0,n||0,r||0]),a.push((t=>[`translate3d(${t.map((t=>Al(t,"px"))).join(",")})`,Pl(t,0)]))),_o(i,((t,e)=>{if("transform"===e)o.push([t||""]),a.push((t=>[t,""===t]));else if(jl.test(e)){if(delete i[e],vo.und(t))return;const n=zl.test(e)?"px":Bl.test(e)?"deg":"";o.push(So(t)),a.push("rotate3d"===e?([t,e,r,i])=>[`rotate3d(${t},${e},${r},${Al(i,n)})`,Pl(i,0)]:t=>[`${e}(${t.map((t=>Al(t,n))).join(",")})`,Pl(t,e.startsWith("scale")?1:0)])}})),o.length&&(i.transform=new Dl(o,a)),super(i)}}class Dl extends ha{constructor(t,e){super(),this._value=null,this.inputs=t,this.transforms=e}get(){return this._value||(this._value=this._get())}_get(){let t="",e=!0;return wo(this.inputs,((n,r)=>{const i=ca(n[0]),[o,a]=this.transforms[r](vo.arr(i)?i:n.map(ca));t+=" "+o,e=e&&a})),e?"none":t}observerAdded(t){1==t&&wo(this.inputs,(t=>wo(t,(t=>la(t)&&fa(t,this)))))}observerRemoved(t){0==t&&wo(this.inputs,(t=>wo(t,(t=>la(t)&&ga(t,this)))))}eventObserved(t){"change"==t.type&&(this._value=null),da(this,t)}}const El=["scrollTop","scrollLeft"];Ao.assign({batchedUpdates:h,createStringInterpolator:Fa,colors:{transparent:0,aliceblue:4042850303,antiquewhite:4209760255,aqua:16777215,aquamarine:2147472639,azure:4043309055,beige:4126530815,bisque:4293182719,black:255,blanchedalmond:4293643775,blue:65535,blueviolet:2318131967,brown:2771004159,burlywood:3736635391,burntsienna:3934150143,cadetblue:1604231423,chartreuse:2147418367,chocolate:3530104575,coral:4286533887,cornflowerblue:1687547391,cornsilk:4294499583,crimson:3692313855,cyan:16777215,darkblue:35839,darkcyan:9145343,darkgoldenrod:3095792639,darkgray:2846468607,darkgreen:6553855,darkgrey:2846468607,darkkhaki:3182914559,darkmagenta:2332068863,darkolivegreen:1433087999,darkorange:4287365375,darkorchid:2570243327,darkred:2332033279,darksalmon:3918953215,darkseagreen:2411499519,darkslateblue:1211993087,darkslategray:793726975,darkslategrey:793726975,darkturquoise:13554175,darkviolet:2483082239,deeppink:4279538687,deepskyblue:12582911,dimgray:1768516095,dimgrey:1768516095,dodgerblue:512819199,firebrick:2988581631,floralwhite:4294635775,forestgreen:579543807,fuchsia:4278255615,gainsboro:3705462015,ghostwhite:4177068031,gold:4292280575,goldenrod:3668254975,gray:2155905279,green:8388863,greenyellow:2919182335,grey:2155905279,honeydew:4043305215,hotpink:4285117695,indianred:3445382399,indigo:1258324735,ivory:4294963455,khaki:4041641215,lavender:3873897215,lavenderblush:4293981695,lawngreen:2096890111,lemonchiffon:4294626815,lightblue:2916673279,lightcoral:4034953471,lightcyan:3774873599,lightgoldenrodyellow:4210742015,lightgray:3553874943,lightgreen:2431553791,lightgrey:3553874943,lightpink:4290167295,lightsalmon:4288707327,lightseagreen:548580095,lightskyblue:2278488831,lightslategray:2005441023,lightslategrey:2005441023,lightsteelblue:2965692159,lightyellow:4294959359,lime:16711935,limegreen:852308735,linen:4210091775,magenta:4278255615,maroon:2147483903,mediumaquamarine:1724754687,mediumblue:52735,mediumorchid:3126187007,mediumpurple:2473647103,mediumseagreen:1018393087,mediumslateblue:2070474495,mediumspringgreen:16423679,mediumturquoise:1221709055,mediumvioletred:3340076543,midnightblue:421097727,mintcream:4127193855,mistyrose:4293190143,moccasin:4293178879,navajowhite:4292783615,navy:33023,oldlace:4260751103,olive:2155872511,olivedrab:1804477439,orange:4289003775,orangered:4282712319,orchid:3664828159,palegoldenrod:4008225535,palegreen:2566625535,paleturquoise:2951671551,palevioletred:3681588223,papayawhip:4293907967,peachpuff:4292524543,peru:3448061951,pink:4290825215,plum:3718307327,powderblue:2967529215,purple:2147516671,rebeccapurple:1714657791,red:4278190335,rosybrown:3163525119,royalblue:1097458175,saddlebrown:2336560127,salmon:4202722047,sandybrown:4104413439,seagreen:780883967,seashell:4294307583,sienna:2689740287,silver:3233857791,skyblue:2278484991,slateblue:1784335871,slategray:1887473919,slategrey:1887473919,snow:4294638335,springgreen:16744447,steelblue:1182971135,tan:3535047935,teal:8421631,thistle:3636451583,tomato:4284696575,turquoise:1088475391,violet:4001558271,wheat:4125012991,white:4294967295,whitesmoke:4126537215,yellow:4294902015,yellowgreen:2597139199}});const Il=((t,{applyAnimatedValues:e=(()=>!1),createAnimatedStyle:n=(t=>new qa(t)),getComponentProps:r=(t=>t)}={})=>{const i={applyAnimatedValues:e,createAnimatedStyle:n,getComponentProps:r},o=t=>{const e=Ja(t)||"Anonymous";return(t=vo.str(t)?o[t]||(o[t]=Za(t,i)):t[Ya]||(t[Ya]=Za(t,i))).displayName=`Animated(${e})`,t};return _o(t,((e,n)=>{vo.arr(t)&&(n=Ja(e)),o[n]=o(e)})),{animated:o}})(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"],{applyAnimatedValues:function(t,e){if(!t.nodeType||!t.setAttribute)return!1;const n="filter"===t.nodeName||t.parentNode&&"filter"===t.parentNode.nodeName,r=e,{style:i,children:o,scrollTop:a,scrollLeft:s}=r,l=wl(r,_l),c=Object.values(l),u=Object.keys(l).map((e=>n||t.hasAttribute(e)?e:$l[e]||($l[e]=e.replace(/([A-Z])/g,(t=>"-"+t.toLowerCase())))));void 0!==o&&(t.textContent=o);for(let e in i)if(i.hasOwnProperty(e)){const n=xl(e,i[e]);Sl.test(e)?t.style.setProperty(e,n):t.style[e]=n}u.forEach(((e,n)=>{t.setAttribute(e,c[n])})),void 0!==a&&(t.scrollTop=a),void 0!==s&&(t.scrollLeft=s)},createAnimatedStyle:t=>new Cl(t),getComponentProps:t=>wl(t,El)}),Hl=Il.animated,Nl=(t,e,n)=>e?ei(n,e)||ei(t,e):n||t,Ml=(t,e)=>{const n=e||t.defaultValue;return ei(t.collections,n)};var Tl;!function(t){t.colorScheme="colorScheme",t.layout="layout",t.textStyleScheme="textStyleScheme"}(Tl||(Tl={}));const Vl={collections:{base:{Brand:{1:"#EF413D",2:"#F26664",3:"#F58E8B",4:"#F9B5B2",5:"#FDDDD7",6:"#FFEEEA"},Primary:"#1C76D5",PrimaryDark:"#1869BF",Secondary:"#0056b3",Accent:{Dark:{1:"#465A88",2:"#556D99",3:"#8D8DBF"},Light:{1:"#57A9FF",2:"#81BFFF",3:"#BED7FF",4:"#E2ECFD",5:"#F6F8FF",6:"#FBFCFE"}},Neutral:{1:"#282828",2:"#424242",3:"#686868",4:"#A4A4A4",5:"#E0E4E5",6:"#ECEFEF",7:"#F8F8F8",8:"#FFFFFF"},Validation:{Green:{Text:"#097123",Icon:"#4FC029",Border:"#95D97F",Background:"#F9FDF8"},Orange:{Text:"#B34E00",Icon:"#FEAB10",Border:"#F9CB77",Background:"#FFFCF7",Badge:"#F57F17"},Red:{Text:"#C60000",Icon:"#C60000",Border:"#DD6666",Background:"#FDF7F7"}}},bookingsg:{Brand:{1:"#EF413D",2:"#F26664",3:"#F58E8B",4:"#F9B5B2",5:"#FDDDD7",6:"#FFEEEA"},Primary:"#6F4AB8",PrimaryDark:"#6443A6",Secondary:"#6443A6",Accent:{Dark:{1:"#355985",2:"#68819D",3:"#9AABBE"},Light:{1:"#9F82D9",2:"#B5A5D7",3:"#CEC3E4 ",4:"#E2DBEF",5:"#F2EFF8",6:"#F7F6FB"}},Neutral:{1:"#282828",2:"#424242",3:"#686868",4:"#A4A4A4",5:"#E0E4E5",6:"#ECEFEF",7:"#F8F8F8",8:"#FFFFFF"},Validation:{Green:{Text:"#097123",Icon:"#4FC029",Border:"#95D97F",Background:"#F9FDF8"},Orange:{Text:"#B34E00",Icon:"#FEAB10",Border:"#F9CB77",Background:"#FFFCF7",Badge:"#F57F17"},Red:{Text:"#C60000",Icon:"#C60000",Border:"#DD6666",Background:"#FDF7F7"}}}},defaultValue:"base"},Rl=t=>e=>{const n=e.theme,r=Ml(Vl,n[Tl.colorScheme]);return n.options&&n.options.color?Nl(r,t,n.options.color):Nl(r,t)},Ll={Brand:{1:Rl("Brand.1"),2:Rl("Brand.2"),3:Rl("Brand.3"),4:Rl("Brand.4"),5:Rl("Brand.5"),6:Rl("Brand.6")},Primary:Rl("Primary"),PrimaryDark:Rl("PrimaryDark"),Secondary:Rl("Secondary"),Accent:{Light:{1:Rl("Accent.Light.1"),2:Rl("Accent.Light.2"),3:Rl("Accent.Light.3"),4:Rl("Accent.Light.4"),5:Rl("Accent.Light.5"),6:Rl("Accent.Light.6")},Dark:{1:Rl("Accent.Dark.1"),2:Rl("Accent.Dark.2"),3:Rl("Accent.Dark.3")}},Neutral:{1:Rl("Neutral.1"),2:Rl("Neutral.2"),3:Rl("Neutral.3"),4:Rl("Neutral.4"),5:Rl("Neutral.5"),6:Rl("Neutral.6"),7:Rl("Neutral.7"),8:Rl("Neutral.8")},Validation:{Green:{Text:Rl("Validation.Green.Text"),Icon:Rl("Validation.Green.Icon"),Border:Rl("Validation.Green.Border"),Background:Rl("Validation.Green.Background")},Orange:{Text:Rl("Validation.Orange.Text"),Icon:Rl("Validation.Orange.Icon"),Border:Rl("Validation.Orange.Border"),Background:Rl("Validation.Orange.Background"),Badge:Rl("Validation.Orange.Badge")},Red:{Text:Rl("Validation.Red.Text"),Icon:Rl("Validation.Red.Icon"),Border:Rl("Validation.Red.Border"),Background:Rl("Validation.Red.Background")}}},Wl={mobileS:320,mobileM:375,mobileL:480,tablet:1199,desktopM:1399,desktopL:1999,desktop4k:3840},ql=t=>Object.keys(Wl).reduce(((e,n)=>{const r=Wl[n];return e[n]=`@media screen and (${t}: ${r}px)`,e}),{}),Ul=ql("max-width"),Ql=(ql("min-width"),p.div`
|
|
1
|
+
import e,{jsxs as t,jsx as n,Fragment as r}from"react/jsx-runtime";import*as i from"react";import o,{useEffect as a,useLayoutEffect as s,useState as l,useRef as c,forwardRef as u,useCallback as d,useContext as h,useMemo as p}from"react";import{unstable_batchedUpdates as f}from"react-dom";import g,{keyframes as m,css as y}from"styled-components";var v="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};var b=function(e,t,n,r){for(var i=e.length,o=n+(r?1:-1);r?o--:++o<i;)if(t(e[o],o,e))return o;return-1};var w=function(){this.__data__=[],this.size=0};var _=function(e,t){return e===t||e!=e&&t!=t},S=_;var x=function(e,t){for(var n=e.length;n--;)if(S(e[n][0],t))return n;return-1},$=x,C=Array.prototype.splice;var k=x;var F=x;var j=x;var O=w,B=function(e){var t=this.__data__,n=$(t,e);return!(n<0)&&(n==t.length-1?t.pop():C.call(t,n,1),--this.size,!0)},A=function(e){var t=this.__data__,n=k(t,e);return n<0?void 0:t[n][1]},I=function(e){return F(this.__data__,e)>-1},P=function(e,t){var n=this.__data__,r=j(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this};function z(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}z.prototype.clear=O,z.prototype.delete=B,z.prototype.get=A,z.prototype.has=I,z.prototype.set=P;var D=z,E=D;var H=function(){this.__data__=new E,this.size=0};var M=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n};var N=function(e){return this.__data__.get(e)};var T=function(e){return this.__data__.has(e)},L="object"==typeof v&&v&&v.Object===Object&&v,V=L,R="object"==typeof self&&self&&self.Object===Object&&self,W=V||R||Function("return this")(),q=W.Symbol,U=q,Q=Object.prototype,Z=Q.hasOwnProperty,G=Q.toString,X=U?U.toStringTag:void 0;var K=function(e){var t=Z.call(e,X),n=e[X];try{e[X]=void 0;var r=!0}catch(e){}var i=G.call(e);return r&&(t?e[X]=n:delete e[X]),i},Y=Object.prototype.toString;var J=K,ee=function(e){return Y.call(e)},te=q?q.toStringTag:void 0;var ne=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":te&&te in Object(e)?J(e):ee(e)};var re=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)},ie=ne,oe=re;var ae,se=function(e){if(!oe(e))return!1;var t=ie(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t},le=W["__core-js_shared__"],ce=(ae=/[^.]+$/.exec(le&&le.keys&&le.keys.IE_PROTO||""))?"Symbol(src)_1."+ae:"";var ue=function(e){return!!ce&&ce in e},de=Function.prototype.toString;var he=function(e){if(null!=e){try{return de.call(e)}catch(e){}try{return e+""}catch(e){}}return""},pe=se,fe=ue,ge=re,me=he,ye=/^\[object .+?Constructor\]$/,ve=Function.prototype,be=Object.prototype,we=ve.toString,_e=be.hasOwnProperty,Se=RegExp("^"+we.call(_e).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");var xe=function(e){return!(!ge(e)||fe(e))&&(pe(e)?Se:ye).test(me(e))},$e=function(e,t){return null==e?void 0:e[t]};var Ce=function(e,t){var n=$e(e,t);return xe(n)?n:void 0},ke=Ce(W,"Map"),Fe=Ce(Object,"create"),je=Fe;var Oe=function(){this.__data__=je?je(null):{},this.size=0};var Be=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},Ae=Fe,Ie=Object.prototype.hasOwnProperty;var Pe=function(e){var t=this.__data__;if(Ae){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return Ie.call(t,e)?t[e]:void 0},ze=Fe,De=Object.prototype.hasOwnProperty;var Ee=Fe;var He=Oe,Me=Be,Ne=Pe,Te=function(e){var t=this.__data__;return ze?void 0!==t[e]:De.call(t,e)},Le=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=Ee&&void 0===t?"__lodash_hash_undefined__":t,this};function Ve(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}Ve.prototype.clear=He,Ve.prototype.delete=Me,Ve.prototype.get=Ne,Ve.prototype.has=Te,Ve.prototype.set=Le;var Re=Ve,We=D,qe=ke;var Ue=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e};var Qe=function(e,t){var n=e.__data__;return Ue(t)?n["string"==typeof t?"string":"hash"]:n.map},Ze=Qe;var Ge=Qe;var Xe=Qe;var Ke=Qe;var Ye=function(){this.size=0,this.__data__={hash:new Re,map:new(qe||We),string:new Re}},Je=function(e){var t=Ze(this,e).delete(e);return this.size-=t?1:0,t},et=function(e){return Ge(this,e).get(e)},tt=function(e){return Xe(this,e).has(e)},nt=function(e,t){var n=Ke(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this};function rt(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}rt.prototype.clear=Ye,rt.prototype.delete=Je,rt.prototype.get=et,rt.prototype.has=tt,rt.prototype.set=nt;var it=rt,ot=D,at=ke,st=it;var lt=D,ct=H,ut=M,dt=N,ht=T,pt=function(e,t){var n=this.__data__;if(n instanceof ot){var r=n.__data__;if(!at||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new st(r)}return n.set(e,t),this.size=n.size,this};function ft(e){var t=this.__data__=new lt(e);this.size=t.size}ft.prototype.clear=ct,ft.prototype.delete=ut,ft.prototype.get=dt,ft.prototype.has=ht,ft.prototype.set=pt;var gt=ft;var mt=it,yt=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this},vt=function(e){return this.__data__.has(e)};function bt(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new mt;++t<n;)this.add(e[t])}bt.prototype.add=bt.prototype.push=yt,bt.prototype.has=vt;var wt=bt,_t=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1},St=function(e,t){return e.has(t)};var xt=function(e,t,n,r,i,o){var a=1&n,s=e.length,l=t.length;if(s!=l&&!(a&&l>s))return!1;var c=o.get(e),u=o.get(t);if(c&&u)return c==t&&u==e;var d=-1,h=!0,p=2&n?new wt:void 0;for(o.set(e,t),o.set(t,e);++d<s;){var f=e[d],g=t[d];if(r)var m=a?r(g,f,d,t,e,o):r(f,g,d,e,t,o);if(void 0!==m){if(m)continue;h=!1;break}if(p){if(!_t(t,(function(e,t){if(!St(p,t)&&(f===e||i(f,e,n,r,o)))return p.push(t)}))){h=!1;break}}else if(f!==g&&!i(f,g,n,r,o)){h=!1;break}}return o.delete(e),o.delete(t),h};var $t=W.Uint8Array,Ct=_,kt=xt,Ft=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n},jt=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n},Ot=q?q.prototype:void 0,Bt=Ot?Ot.valueOf:void 0;var At=function(e,t,n,r,i,o,a){switch(n){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=t.byteLength||!o(new $t(e),new $t(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return Ct(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var s=Ft;case"[object Set]":var l=1&r;if(s||(s=jt),e.size!=t.size&&!l)return!1;var c=a.get(e);if(c)return c==t;r|=2,a.set(e,t);var u=kt(s(e),s(t),r,i,o,a);return a.delete(e),u;case"[object Symbol]":if(Bt)return Bt.call(e)==Bt.call(t)}return!1};var It=function(e,t){for(var n=-1,r=t.length,i=e.length;++n<r;)e[i+n]=t[n];return e},Pt=Array.isArray,zt=It,Dt=Pt;var Et=function(e,t,n){var r=t(e);return Dt(e)?r:zt(r,n(e))};var Ht=function(e,t){for(var n=-1,r=null==e?0:e.length,i=0,o=[];++n<r;){var a=e[n];t(a,n,e)&&(o[i++]=a)}return o},Mt=function(){return[]},Nt=Object.prototype.propertyIsEnumerable,Tt=Object.getOwnPropertySymbols,Lt=Tt?function(e){return null==e?[]:(e=Object(e),Ht(Tt(e),(function(t){return Nt.call(e,t)})))}:Mt;var Vt=function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r};var Rt=function(e){return null!=e&&"object"==typeof e},Wt=ne,qt=Rt;var Ut=function(e){return qt(e)&&"[object Arguments]"==Wt(e)},Qt=Rt,Zt=Object.prototype,Gt=Zt.hasOwnProperty,Xt=Zt.propertyIsEnumerable,Kt=Ut(function(){return arguments}())?Ut:function(e){return Qt(e)&&Gt.call(e,"callee")&&!Xt.call(e,"callee")},Yt={exports:{}};var Jt=function(){return!1};!function(e,t){var n=W,r=Jt,i=t&&!t.nodeType&&t,o=i&&e&&!e.nodeType&&e,a=o&&o.exports===i?n.Buffer:void 0,s=(a?a.isBuffer:void 0)||r;e.exports=s}(Yt,Yt.exports);var en=/^(?:0|[1-9]\d*)$/;var tn=function(e,t){var n=typeof e;return!!(t=null==t?9007199254740991:t)&&("number"==n||"symbol"!=n&&en.test(e))&&e>-1&&e%1==0&&e<t};var nn=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991},rn=ne,on=nn,an=Rt,sn={};sn["[object Float32Array]"]=sn["[object Float64Array]"]=sn["[object Int8Array]"]=sn["[object Int16Array]"]=sn["[object Int32Array]"]=sn["[object Uint8Array]"]=sn["[object Uint8ClampedArray]"]=sn["[object Uint16Array]"]=sn["[object Uint32Array]"]=!0,sn["[object Arguments]"]=sn["[object Array]"]=sn["[object ArrayBuffer]"]=sn["[object Boolean]"]=sn["[object DataView]"]=sn["[object Date]"]=sn["[object Error]"]=sn["[object Function]"]=sn["[object Map]"]=sn["[object Number]"]=sn["[object Object]"]=sn["[object RegExp]"]=sn["[object Set]"]=sn["[object String]"]=sn["[object WeakMap]"]=!1;var ln=function(e){return an(e)&&on(e.length)&&!!sn[rn(e)]};var cn=function(e){return function(t){return e(t)}},un={exports:{}};!function(e,t){var n=L,r=t&&!t.nodeType&&t,i=r&&e&&!e.nodeType&&e,o=i&&i.exports===r&&n.process,a=function(){try{var e=i&&i.require&&i.require("util").types;return e||o&&o.binding&&o.binding("util")}catch(e){}}();e.exports=a}(un,un.exports);var dn=ln,hn=cn,pn=un.exports,fn=pn&&pn.isTypedArray,gn=fn?hn(fn):dn,mn=Vt,yn=Kt,vn=Pt,bn=Yt.exports,wn=tn,_n=gn,Sn=Object.prototype.hasOwnProperty;var xn=function(e,t){var n=vn(e),r=!n&&yn(e),i=!n&&!r&&bn(e),o=!n&&!r&&!i&&_n(e),a=n||r||i||o,s=a?mn(e.length,String):[],l=s.length;for(var c in e)!t&&!Sn.call(e,c)||a&&("length"==c||i&&("offset"==c||"parent"==c)||o&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||wn(c,l))||s.push(c);return s},$n=Object.prototype;var Cn=function(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||$n)};var kn=function(e,t){return function(n){return e(t(n))}}(Object.keys,Object),Fn=Cn,jn=kn,On=Object.prototype.hasOwnProperty;var Bn=se,An=nn;var In=xn,Pn=function(e){if(!Fn(e))return jn(e);var t=[];for(var n in Object(e))On.call(e,n)&&"constructor"!=n&&t.push(n);return t},zn=function(e){return null!=e&&An(e.length)&&!Bn(e)};var Dn=function(e){return zn(e)?In(e):Pn(e)},En=Et,Hn=Lt,Mn=Dn;var Nn=function(e){return En(e,Mn,Hn)},Tn=Object.prototype.hasOwnProperty;var Ln=function(e,t,n,r,i,o){var a=1&n,s=Nn(e),l=s.length;if(l!=Nn(t).length&&!a)return!1;for(var c=l;c--;){var u=s[c];if(!(a?u in t:Tn.call(t,u)))return!1}var d=o.get(e),h=o.get(t);if(d&&h)return d==t&&h==e;var p=!0;o.set(e,t),o.set(t,e);for(var f=a;++c<l;){var g=e[u=s[c]],m=t[u];if(r)var y=a?r(m,g,u,t,e,o):r(g,m,u,e,t,o);if(!(void 0===y?g===m||i(g,m,n,r,o):y)){p=!1;break}f||(f="constructor"==u)}if(p&&!f){var v=e.constructor,b=t.constructor;v==b||!("constructor"in e)||!("constructor"in t)||"function"==typeof v&&v instanceof v&&"function"==typeof b&&b instanceof b||(p=!1)}return o.delete(e),o.delete(t),p},Vn=Ce(W,"DataView"),Rn=ke,Wn=Ce(W,"Promise"),qn=Ce(W,"Set"),Un=Ce(W,"WeakMap"),Qn=ne,Zn=he,Gn=Zn(Vn),Xn=Zn(Rn),Kn=Zn(Wn),Yn=Zn(qn),Jn=Zn(Un),er=Qn;(Vn&&"[object DataView]"!=er(new Vn(new ArrayBuffer(1)))||Rn&&"[object Map]"!=er(new Rn)||Wn&&"[object Promise]"!=er(Wn.resolve())||qn&&"[object Set]"!=er(new qn)||Un&&"[object WeakMap]"!=er(new Un))&&(er=function(e){var t=Qn(e),n="[object Object]"==t?e.constructor:void 0,r=n?Zn(n):"";if(r)switch(r){case Gn:return"[object DataView]";case Xn:return"[object Map]";case Kn:return"[object Promise]";case Yn:return"[object Set]";case Jn:return"[object WeakMap]"}return t});var tr=gt,nr=xt,rr=At,ir=Ln,or=er,ar=Pt,sr=Yt.exports,lr=gn,cr="[object Object]",ur=Object.prototype.hasOwnProperty;var dr=function(e,t,n,r,i,o){var a=ar(e),s=ar(t),l=a?"[object Array]":or(e),c=s?"[object Array]":or(t),u=(l="[object Arguments]"==l?cr:l)==cr,d=(c="[object Arguments]"==c?cr:c)==cr,h=l==c;if(h&&sr(e)){if(!sr(t))return!1;a=!0,u=!1}if(h&&!u)return o||(o=new tr),a||lr(e)?nr(e,t,n,r,i,o):rr(e,t,l,n,r,i,o);if(!(1&n)){var p=u&&ur.call(e,"__wrapped__"),f=d&&ur.call(t,"__wrapped__");if(p||f){var g=p?e.value():e,m=f?t.value():t;return o||(o=new tr),i(g,m,n,r,o)}}return!!h&&(o||(o=new tr),ir(e,t,n,r,i,o))},hr=Rt;var pr=function e(t,n,r,i,o){return t===n||(null==t||null==n||!hr(t)&&!hr(n)?t!=t&&n!=n:dr(t,n,r,i,e,o))},fr=gt,gr=pr;var mr=re;var yr=function(e){return e==e&&!mr(e)},vr=yr,br=Dn;var wr=function(e,t){return function(n){return null!=n&&(n[e]===t&&(void 0!==t||e in Object(n)))}},_r=function(e,t,n,r){var i=n.length,o=i,a=!r;if(null==e)return!o;for(e=Object(e);i--;){var s=n[i];if(a&&s[2]?s[1]!==e[s[0]]:!(s[0]in e))return!1}for(;++i<o;){var l=(s=n[i])[0],c=e[l],u=s[1];if(a&&s[2]){if(void 0===c&&!(l in e))return!1}else{var d=new fr;if(r)var h=r(c,u,l,e,t,d);if(!(void 0===h?gr(u,c,3,r,d):h))return!1}}return!0},Sr=function(e){for(var t=br(e),n=t.length;n--;){var r=t[n],i=e[r];t[n]=[r,i,vr(i)]}return t},xr=wr;var $r=function(e){var t=Sr(e);return 1==t.length&&t[0][2]?xr(t[0][0],t[0][1]):function(n){return n===e||_r(n,e,t)}},Cr=ne,kr=Rt;var Fr=function(e){return"symbol"==typeof e||kr(e)&&"[object Symbol]"==Cr(e)},jr=Pt,Or=Fr,Br=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Ar=/^\w*$/;var Ir=function(e,t){if(jr(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!Or(e))||(Ar.test(e)||!Br.test(e)||null!=t&&e in Object(t))},Pr=it;function zr(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError("Expected a function");var n=function(){var r=arguments,i=t?t.apply(this,r):r[0],o=n.cache;if(o.has(i))return o.get(i);var a=e.apply(this,r);return n.cache=o.set(i,a)||o,a};return n.cache=new(zr.Cache||Pr),n}zr.Cache=Pr;var Dr=zr;var Er=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Hr=/\\(\\)?/g,Mr=function(e){var t=Dr(e,(function(e){return 500===n.size&&n.clear(),e})),n=t.cache;return t}((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(Er,(function(e,n,r,i){t.push(r?i.replace(Hr,"$1"):n||e)})),t}));var Nr=function(e,t){for(var n=-1,r=null==e?0:e.length,i=Array(r);++n<r;)i[n]=t(e[n],n,e);return i},Tr=Pt,Lr=Fr,Vr=q?q.prototype:void 0,Rr=Vr?Vr.toString:void 0;var Wr=function e(t){if("string"==typeof t)return t;if(Tr(t))return Nr(t,e)+"";if(Lr(t))return Rr?Rr.call(t):"";var n=t+"";return"0"==n&&1/t==-Infinity?"-0":n},qr=Wr;var Ur=Pt,Qr=Ir,Zr=Mr,Gr=function(e){return null==e?"":qr(e)};var Xr=function(e,t){return Ur(e)?e:Qr(e,t)?[e]:Zr(Gr(e))},Kr=Fr;var Yr=function(e){if("string"==typeof e||Kr(e))return e;var t=e+"";return"0"==t&&1/e==-Infinity?"-0":t},Jr=Xr,ei=Yr;var ti=function(e,t){for(var n=0,r=(t=Jr(t,e)).length;null!=e&&n<r;)e=e[ei(t[n++])];return n&&n==r?e:void 0},ni=ti;var ri=function(e,t,n){var r=null==e?void 0:ni(e,t);return void 0===r?n:r};var ii=Xr,oi=Kt,ai=Pt,si=tn,li=nn,ci=Yr;var ui=function(e,t){return null!=e&&t in Object(e)},di=function(e,t,n){for(var r=-1,i=(t=ii(t,e)).length,o=!1;++r<i;){var a=ci(t[r]);if(!(o=null!=e&&n(e,a)))break;e=e[a]}return o||++r!=i?o:!!(i=null==e?0:e.length)&&li(i)&&si(a,i)&&(ai(e)||oi(e))};var hi=pr,pi=ri,fi=function(e,t){return null!=e&&di(e,t,ui)},gi=Ir,mi=yr,yi=wr,vi=Yr;var bi=ti;var wi=function(e){return function(t){return null==t?void 0:t[e]}},_i=function(e){return function(t){return bi(t,e)}},Si=Ir,xi=Yr;var $i=$r,Ci=function(e,t){return gi(e)&&mi(t)?yi(vi(e),t):function(n){var r=pi(n,e);return void 0===r&&r===t?fi(n,e):hi(t,r,3)}},ki=function(e){return e},Fi=Pt,ji=function(e){return Si(e)?wi(xi(e)):_i(e)};var Oi=/\s/;var Bi=function(e){for(var t=e.length;t--&&Oi.test(e.charAt(t)););return t},Ai=/^\s+/;var Ii=function(e){return e?e.slice(0,Bi(e)+1).replace(Ai,""):e},Pi=re,zi=Fr,Di=/^[-+]0x[0-9a-f]+$/i,Ei=/^0b[01]+$/i,Hi=/^0o[0-7]+$/i,Mi=parseInt;var Ni=function(e){if("number"==typeof e)return e;if(zi(e))return NaN;if(Pi(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=Pi(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=Ii(e);var n=Ei.test(e);return n||Hi.test(e)?Mi(e.slice(2),n?2:8):Di.test(e)?NaN:+e};var Ti=function(e){return e?Infinity===(e=Ni(e))||-Infinity===e?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0};var Li=b,Vi=function(e){return"function"==typeof e?e:null==e?ki:"object"==typeof e?Fi(e)?Ci(e[0],e[1]):$i(e):ji(e)},Ri=function(e){var t=Ti(e),n=t%1;return t==t?n?t-n:t:0},Wi=Math.max;var qi=function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var i=null==n?0:Ri(n);return i<0&&(i=Wi(r+i,0)),Li(e,Vi(t),i)};let Ui=lo();const Qi=e=>io(e,Ui);let Zi=lo();Qi.write=e=>io(e,Zi);let Gi=lo();Qi.onStart=e=>io(e,Gi);let Xi=lo();Qi.onFrame=e=>io(e,Xi);let Ki=lo();Qi.onFinish=e=>io(e,Ki);let Yi=[];Qi.setTimeout=(e,t)=>{let n=Qi.now()+t,r=()=>{let e=Yi.findIndex((e=>e.cancel==r));~e&&Yi.splice(e,1),no-=~e?1:0},i={time:n,handler:e,cancel:r};return Yi.splice(Ji(n),0,i),no+=1,oo(),i};let Ji=e=>~(~Yi.findIndex((t=>t.time>e))||~Yi.length);Qi.cancel=e=>{Gi.delete(e),Xi.delete(e),Ki.delete(e),Ui.delete(e),Zi.delete(e)},Qi.sync=e=>{ro=!0,Qi.batchedUpdates(e),ro=!1},Qi.throttle=e=>{let t;function n(){try{e(...t)}finally{t=null}}function r(...e){t=e,Qi.onStart(n)}return r.handler=e,r.cancel=()=>{Gi.delete(n),t=null},r};let eo="undefined"!=typeof window?window.requestAnimationFrame:()=>{};Qi.use=e=>eo=e,Qi.now="undefined"!=typeof performance?()=>performance.now():Date.now,Qi.batchedUpdates=e=>e(),Qi.catch=console.error,Qi.frameLoop="always",Qi.advance=()=>{"demand"!==Qi.frameLoop?console.warn("Cannot call the manual advancement of rafz whilst frameLoop is not set as demand"):so()};let to=-1,no=0,ro=!1;function io(e,t){ro?(t.delete(e),e(0)):(t.add(e),oo())}function oo(){to<0&&(to=0,"demand"!==Qi.frameLoop&&eo(ao))}function ao(){~to&&(eo(ao),Qi.batchedUpdates(so))}function so(){let e=to;to=Qi.now();let t=Ji(to);t&&(co(Yi.splice(0,t),(e=>e.handler())),no-=t),no?(Gi.flush(),Ui.flush(e?Math.min(64,to-e):16.667),Xi.flush(),Zi.flush(),Ki.flush()):to=-1}function lo(){let e=new Set,t=e;return{add(n){no+=t!=e||e.has(n)?0:1,e.add(n)},delete:n=>(no-=t==e&&e.has(n)?1:0,e.delete(n)),flush(n){t.size&&(e=new Set,no-=t.size,co(t,(t=>t(n)&&e.add(t))),no+=e.size,t=e)}}}function co(e,t){e.forEach((e=>{try{t(e)}catch(e){Qi.catch(e)}}))}function uo(){}const ho={arr:Array.isArray,obj:e=>!!e&&"Object"===e.constructor.name,fun:e=>"function"==typeof e,str:e=>"string"==typeof e,num:e=>"number"==typeof e,und:e=>void 0===e};function po(e,t){if(ho.arr(e)){if(!ho.arr(t)||e.length!==t.length)return!1;for(let n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}return e===t}const fo=(e,t)=>e.forEach(t);function go(e,t,n){if(ho.arr(e))for(let r=0;r<e.length;r++)t.call(n,e[r],`${r}`);else for(const r in e)e.hasOwnProperty(r)&&t.call(n,e[r],r)}const mo=e=>ho.und(e)?[]:ho.arr(e)?e:[e];function yo(e,t){if(e.size){const n=Array.from(e);e.clear(),fo(n,t)}}const vo=(e,...t)=>yo(e,(e=>e(...t))),bo=()=>"undefined"==typeof window||!window.navigator||/ServerSideRendering|^Deno\//.test(window.navigator.userAgent);let wo,_o,So=null,xo=!1,$o=uo;var Co=Object.freeze({__proto__:null,get createStringInterpolator(){return wo},get to(){return _o},get colors(){return So},get skipAnimation(){return xo},get willAdvance(){return $o},assign:e=>{e.to&&(_o=e.to),e.now&&(Qi.now=e.now),void 0!==e.colors&&(So=e.colors),null!=e.skipAnimation&&(xo=e.skipAnimation),e.createStringInterpolator&&(wo=e.createStringInterpolator),e.requestAnimationFrame&&Qi.use(e.requestAnimationFrame),e.batchedUpdates&&(Qi.batchedUpdates=e.batchedUpdates),e.willAdvance&&($o=e.willAdvance),e.frameLoop&&(Qi.frameLoop=e.frameLoop)}});const ko=new Set;let Fo=[],jo=[],Oo=0;const Bo={get idle(){return!ko.size&&!Fo.length},start(e){Oo>e.priority?(ko.add(e),Qi.onStart(Ao)):(Io(e),Qi(zo))},advance:zo,sort(e){if(Oo)Qi.onFrame((()=>Bo.sort(e)));else{const t=Fo.indexOf(e);~t&&(Fo.splice(t,1),Po(e))}},clear(){Fo=[],ko.clear()}};function Ao(){ko.forEach(Io),ko.clear(),Qi(zo)}function Io(e){Fo.includes(e)||Po(e)}function Po(e){Fo.splice(function(e,t){const n=e.findIndex(t);return n<0?e.length:n}(Fo,(t=>t.priority>e.priority)),0,e)}function zo(e){const t=jo;for(let n=0;n<Fo.length;n++){const r=Fo[n];Oo=r.priority,r.idle||($o(r),r.advance(e),r.idle||t.push(r))}return Oo=0,jo=Fo,jo.length=0,Fo=t,Fo.length>0}const Do="[-+]?\\d*\\.?\\d+";function Eo(...e){return"\\(\\s*("+e.join(")\\s*,\\s*(")+")\\s*\\)"}const Ho=new RegExp("rgb"+Eo(Do,Do,Do)),Mo=new RegExp("rgba"+Eo(Do,Do,Do,Do)),No=new RegExp("hsl"+Eo(Do,"[-+]?\\d*\\.?\\d+%","[-+]?\\d*\\.?\\d+%")),To=new RegExp("hsla"+Eo(Do,"[-+]?\\d*\\.?\\d+%","[-+]?\\d*\\.?\\d+%",Do)),Lo=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,Vo=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,Ro=/^#([0-9a-fA-F]{6})$/,Wo=/^#([0-9a-fA-F]{8})$/;function qo(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function Uo(e,t,n){const r=n<.5?n*(1+t):n+t-n*t,i=2*n-r,o=qo(i,r,e+1/3),a=qo(i,r,e),s=qo(i,r,e-1/3);return Math.round(255*o)<<24|Math.round(255*a)<<16|Math.round(255*s)<<8}function Qo(e){const t=parseInt(e,10);return t<0?0:t>255?255:t}function Zo(e){return(parseFloat(e)%360+360)%360/360}function Go(e){const t=parseFloat(e);return t<0?0:t>1?255:Math.round(255*t)}function Xo(e){const t=parseFloat(e);return t<0?0:t>100?1:t/100}function Ko(e){let t=function(e){let t;return"number"==typeof e?e>>>0===e&&e>=0&&e<=4294967295?e:null:(t=Ro.exec(e))?parseInt(t[1]+"ff",16)>>>0:So&&void 0!==So[e]?So[e]:(t=Ho.exec(e))?(Qo(t[1])<<24|Qo(t[2])<<16|Qo(t[3])<<8|255)>>>0:(t=Mo.exec(e))?(Qo(t[1])<<24|Qo(t[2])<<16|Qo(t[3])<<8|Go(t[4]))>>>0:(t=Lo.exec(e))?parseInt(t[1]+t[1]+t[2]+t[2]+t[3]+t[3]+"ff",16)>>>0:(t=Wo.exec(e))?parseInt(t[1],16)>>>0:(t=Vo.exec(e))?parseInt(t[1]+t[1]+t[2]+t[2]+t[3]+t[3]+t[4]+t[4],16)>>>0:(t=No.exec(e))?(255|Uo(Zo(t[1]),Xo(t[2]),Xo(t[3])))>>>0:(t=To.exec(e))?(Uo(Zo(t[1]),Xo(t[2]),Xo(t[3]))|Go(t[4]))>>>0:null}(e);return null===t?e:(t=t||0,`rgba(${(4278190080&t)>>>24}, ${(16711680&t)>>>16}, ${(65280&t)>>>8}, ${(255&t)/255})`)}const Yo=(e,t,n)=>{if(ho.fun(e))return e;if(ho.arr(e))return Yo({range:e,output:t,extrapolate:n});if(ho.str(e.output[0]))return wo(e);const r=e,i=r.output,o=r.range||[0,1],a=r.extrapolateLeft||r.extrapolate||"extend",s=r.extrapolateRight||r.extrapolate||"extend",l=r.easing||(e=>e);return e=>{const t=function(e,t){for(var n=1;n<t.length-1&&!(t[n]>=e);++n);return n-1}(e,o);return function(e,t,n,r,i,o,a,s,l){let c=l?l(e):e;if(c<t){if("identity"===a)return c;"clamp"===a&&(c=t)}if(c>n){if("identity"===s)return c;"clamp"===s&&(c=n)}if(r===i)return r;if(t===n)return e<=t?r:i;t===-1/0?c=-c:n===1/0?c-=t:c=(c-t)/(n-t);c=o(c),r===-1/0?c=-c:i===1/0?c+=r:c=c*(i-r)+r;return c}(e,o[t],o[t+1],i[t],i[t+1],l,a,s,r.map)}};function Jo(){return Jo=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Jo.apply(this,arguments)}const ea=Symbol.for("FluidValue.get"),ta=Symbol.for("FluidValue.observers"),na=e=>Boolean(e&&e[ea]),ra=e=>e&&e[ea]?e[ea]():e,ia=e=>e[ta]||null;function oa(e,t){let n=e[ta];n&&n.forEach((e=>{!function(e,t){e.eventObserved?e.eventObserved(t):e(t)}(e,t)}))}class aa{constructor(e){if(this[ea]=void 0,this[ta]=void 0,!e&&!(e=this.get))throw Error("Unknown getter");sa(this,e)}}const sa=(e,t)=>ua(e,ea,t);function la(e,t){if(e[ea]){let n=e[ta];n||ua(e,ta,n=new Set),n.has(t)||(n.add(t),e.observerAdded&&e.observerAdded(n.size,t))}return t}function ca(e,t){let n=e[ta];if(n&&n.has(t)){const r=n.size-1;r?n.delete(t):e[ta]=null,e.observerRemoved&&e.observerRemoved(r,t)}}const ua=(e,t,n)=>Object.defineProperty(e,t,{value:n,writable:!0,configurable:!0}),da=/[+\-]?(?:0|[1-9]\d*)(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,ha=/(#(?:[0-9a-f]{2}){2,4}|(#[0-9a-f]{3})|(rgb|hsl)a?\((-?\d+%?[,\s]+){2,3}\s*[\d\.]+%?\))/gi,pa=new RegExp(`(${da.source})(%|[a-z]+)`,"i"),fa=/rgba\(([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+)\)/gi,ga=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/,ma=e=>{const[t,n]=ya(e);if(!t||bo())return e;const r=window.getComputedStyle(document.documentElement).getPropertyValue(t);if(r)return r.trim();if(n&&n.startsWith("--")){const t=window.getComputedStyle(document.documentElement).getPropertyValue(n);return t||e}return n&&ga.test(n)?ma(n):n||e},ya=e=>{const t=ga.exec(e);if(!t)return[,];const[,n,r]=t;return[n,r]};let va;const ba=(e,t,n,r,i)=>`rgba(${Math.round(t)}, ${Math.round(n)}, ${Math.round(r)}, ${i})`,wa=e=>{va||(va=So?new RegExp(`(${Object.keys(So).join("|")})(?!\\w)`,"g"):/^\b$/);const t=e.output.map((e=>ra(e).replace(ga,ma).replace(ha,Ko).replace(va,Ko))),n=t.map((e=>e.match(da).map(Number))),r=n[0].map(((e,t)=>n.map((e=>{if(!(t in e))throw Error('The arity of each "output" value must be equal');return e[t]})))).map((t=>Yo(Jo({},e,{output:t}))));return e=>{var n;const i=!pa.test(t[0])&&(null==(n=t.find((e=>pa.test(e))))?void 0:n.replace(da,""));let o=0;return t[0].replace(da,(()=>`${r[o++](e)}${i||""}`)).replace(fa,ba)}},_a="react-spring: ",Sa=e=>{const t=e;let n=!1;if("function"!=typeof t)throw new TypeError(`${_a}once requires a function parameter`);return(...e)=>{n||(t(...e),n=!0)}},xa=Sa(console.warn);const $a=Sa(console.warn);function Ca(e){return ho.str(e)&&("#"==e[0]||/\d/.test(e)||!bo()&&ga.test(e)||e in(So||{}))}const ka=bo()?a:s;function Fa(){const e=l()[1],t=(()=>{const e=c(!1);return ka((()=>(e.current=!0,()=>{e.current=!1})),[]),e})();return()=>{t.current&&e(Math.random())}}const ja=e=>a(e,Oa),Oa=[];function Ba(e){const t=c();return a((()=>{t.current=e})),t.current}const Aa=Symbol.for("Animated:node"),Ia=e=>e&&e[Aa],Pa=(e,t)=>{return n=e,r=Aa,i=t,Object.defineProperty(n,r,{value:i,writable:!0,configurable:!0});var n,r,i},za=e=>e&&e[Aa]&&e[Aa].getPayload();class Da{constructor(){this.payload=void 0,Pa(this,this)}getPayload(){return this.payload||[]}}class Ea extends Da{constructor(e){super(),this.done=!0,this.elapsedTime=void 0,this.lastPosition=void 0,this.lastVelocity=void 0,this.v0=void 0,this.durationProgress=0,this._value=e,ho.num(this._value)&&(this.lastPosition=this._value)}static create(e){return new Ea(e)}getPayload(){return[this]}getValue(){return this._value}setValue(e,t){return ho.num(e)&&(this.lastPosition=e,t&&(e=Math.round(e/t)*t,this.done&&(this.lastPosition=e))),this._value!==e&&(this._value=e,!0)}reset(){const{done:e}=this;this.done=!1,ho.num(this._value)&&(this.elapsedTime=0,this.durationProgress=0,this.lastPosition=this._value,e&&(this.lastVelocity=null),this.v0=null)}}class Ha extends Ea{constructor(e){super(0),this._string=null,this._toString=void 0,this._toString=Yo({output:[e,e]})}static create(e){return new Ha(e)}getValue(){let e=this._string;return null==e?this._string=this._toString(this._value):e}setValue(e){if(ho.str(e)){if(e==this._string)return!1;this._string=e,this._value=1}else{if(!super.setValue(e))return!1;this._string=null}return!0}reset(e){e&&(this._toString=Yo({output:[this.getValue(),e]})),this._value=0,super.reset()}}const Ma={dependencies:null};class Na extends Da{constructor(e){super(),this.source=e,this.setValue(e)}getValue(e){const t={};return go(this.source,((n,r)=>{var i;(i=n)&&i[Aa]===i?t[r]=n.getValue(e):na(n)?t[r]=ra(n):e||(t[r]=n)})),t}setValue(e){this.source=e,this.payload=this._makePayload(e)}reset(){this.payload&&fo(this.payload,(e=>e.reset()))}_makePayload(e){if(e){const t=new Set;return go(e,this._addToPayload,t),Array.from(t)}}_addToPayload(e){Ma.dependencies&&na(e)&&Ma.dependencies.add(e);const t=za(e);t&&fo(t,(e=>this.add(e)))}}class Ta extends Na{constructor(e){super(e)}static create(e){return new Ta(e)}getValue(){return this.source.map((e=>e.getValue()))}setValue(e){const t=this.getPayload();return e.length==t.length?t.map(((t,n)=>t.setValue(e[n]))).some(Boolean):(super.setValue(e.map(La)),!0)}}function La(e){return(Ca(e)?Ha:Ea).create(e)}function Va(e){const t=Ia(e);return t?t.constructor:ho.arr(e)?Ta:Ca(e)?Ha:Ea}function Ra(){return Ra=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Ra.apply(this,arguments)}const Wa=(e,t)=>{const n=!ho.fun(e)||e.prototype&&e.prototype.isReactComponent;return u(((r,o)=>{const s=c(null),l=n&&d((e=>{s.current=function(e,t){e&&(ho.fun(e)?e(t):e.current=t);return t}(o,e)}),[o]),[u,h]=function(e,t){const n=new Set;Ma.dependencies=n,e.style&&(e=Ra({},e,{style:t.createAnimatedStyle(e.style)}));return e=new Na(e),Ma.dependencies=null,[e,n]}(r,t),p=Fa(),f=()=>{const e=s.current;if(n&&!e)return;!1===(!!e&&t.applyAnimatedValues(e,u.getValue(!0)))&&p()},g=new qa(f,h),m=c();ka((()=>(m.current=g,fo(h,(e=>la(e,g))),()=>{m.current&&(fo(m.current.deps,(e=>ca(e,m.current))),Qi.cancel(m.current.update))}))),a(f,[]),ja((()=>()=>{const e=m.current;fo(e.deps,(t=>ca(t,e)))}));const y=t.getComponentProps(u.getValue());return i.createElement(e,Ra({},y,{ref:l}))}))};class qa{constructor(e,t){this.update=e,this.deps=t}eventObserved(e){"change"==e.type&&Qi.write(this.update)}}const Ua=Symbol.for("AnimatedComponent"),Qa=e=>ho.str(e)?e:e&&ho.str(e.displayName)?e.displayName:ho.fun(e)&&e.name||null;function Za(){return Za=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Za.apply(this,arguments)}function Ga(e,...t){return ho.fun(e)?e(...t):e}const Xa=(e,t)=>!0===e||!!(t&&e&&(ho.fun(e)?e(t):mo(e).includes(t))),Ka=(e,t)=>ho.obj(e)?t&&e[t]:e,Ya=(e,t)=>!0===e.default?e[t]:e.default?e.default[t]:void 0,Ja=e=>e,es=(e,t=Ja)=>{let n=ts;e.default&&!0!==e.default&&(e=e.default,n=Object.keys(e));const r={};for(const i of n){const n=t(e[i],i);ho.und(n)||(r[i]=n)}return r},ts=["config","onProps","onStart","onChange","onPause","onResume","onRest"],ns={config:1,from:1,to:1,ref:1,loop:1,reset:1,pause:1,cancel:1,reverse:1,immediate:1,default:1,delay:1,onProps:1,onStart:1,onChange:1,onPause:1,onResume:1,onRest:1,onResolve:1,items:1,trail:1,sort:1,expires:1,initial:1,enter:1,update:1,leave:1,children:1,onDestroyed:1,keys:1,callId:1,parentId:1};function rs(e){const t=function(e){const t={};let n=0;if(go(e,((e,r)=>{ns[r]||(t[r]=e,n++)})),n)return t}(e);if(t){const n={to:t};return go(e,((e,r)=>r in t||(n[r]=e))),n}return Za({},e)}function is(e){return e=ra(e),ho.arr(e)?e.map(is):Ca(e)?Co.createStringInterpolator({range:[0,1],output:[e,e]})(1):e}function os(e){for(const t in e)return!0;return!1}function as(e){return ho.fun(e)||ho.arr(e)&&ho.obj(e[0])}function ss(e,t){var n;null==(n=e.ref)||n.delete(e),null==t||t.delete(e)}function ls(e,t){var n;t&&e.ref!==t&&(null==(n=e.ref)||n.delete(e),t.add(e),e.ref=t)}const cs=1.70158,us=1.525*cs,ds=2*Math.PI/3,hs=2*Math.PI/4.5,ps=e=>{const t=7.5625,n=2.75;return e<1/n?t*e*e:e<2/n?t*(e-=1.5/n)*e+.75:e<2.5/n?t*(e-=2.25/n)*e+.9375:t*(e-=2.625/n)*e+.984375},fs=Za({},{tension:170,friction:26},{mass:1,damping:1,easing:{linear:e=>e,easeInQuad:e=>e*e,easeOutQuad:e=>1-(1-e)*(1-e),easeInOutQuad:e=>e<.5?2*e*e:1-Math.pow(-2*e+2,2)/2,easeInCubic:e=>e*e*e,easeOutCubic:e=>1-Math.pow(1-e,3),easeInOutCubic:e=>e<.5?4*e*e*e:1-Math.pow(-2*e+2,3)/2,easeInQuart:e=>e*e*e*e,easeOutQuart:e=>1-Math.pow(1-e,4),easeInOutQuart:e=>e<.5?8*e*e*e*e:1-Math.pow(-2*e+2,4)/2,easeInQuint:e=>e*e*e*e*e,easeOutQuint:e=>1-Math.pow(1-e,5),easeInOutQuint:e=>e<.5?16*e*e*e*e*e:1-Math.pow(-2*e+2,5)/2,easeInSine:e=>1-Math.cos(e*Math.PI/2),easeOutSine:e=>Math.sin(e*Math.PI/2),easeInOutSine:e=>-(Math.cos(Math.PI*e)-1)/2,easeInExpo:e=>0===e?0:Math.pow(2,10*e-10),easeOutExpo:e=>1===e?1:1-Math.pow(2,-10*e),easeInOutExpo:e=>0===e?0:1===e?1:e<.5?Math.pow(2,20*e-10)/2:(2-Math.pow(2,-20*e+10))/2,easeInCirc:e=>1-Math.sqrt(1-Math.pow(e,2)),easeOutCirc:e=>Math.sqrt(1-Math.pow(e-1,2)),easeInOutCirc:e=>e<.5?(1-Math.sqrt(1-Math.pow(2*e,2)))/2:(Math.sqrt(1-Math.pow(-2*e+2,2))+1)/2,easeInBack:e=>2.70158*e*e*e-cs*e*e,easeOutBack:e=>1+2.70158*Math.pow(e-1,3)+cs*Math.pow(e-1,2),easeInOutBack:e=>e<.5?Math.pow(2*e,2)*(7.189819*e-us)/2:(Math.pow(2*e-2,2)*((us+1)*(2*e-2)+us)+2)/2,easeInElastic:e=>0===e?0:1===e?1:-Math.pow(2,10*e-10)*Math.sin((10*e-10.75)*ds),easeOutElastic:e=>0===e?0:1===e?1:Math.pow(2,-10*e)*Math.sin((10*e-.75)*ds)+1,easeInOutElastic:e=>0===e?0:1===e?1:e<.5?-Math.pow(2,20*e-10)*Math.sin((20*e-11.125)*hs)/2:Math.pow(2,-20*e+10)*Math.sin((20*e-11.125)*hs)/2+1,easeInBounce:e=>1-ps(1-e),easeOutBounce:ps,easeInOutBounce:e=>e<.5?(1-ps(1-2*e))/2:(1+ps(2*e-1))/2}.linear,clamp:!1});class gs{constructor(){this.tension=void 0,this.friction=void 0,this.frequency=void 0,this.damping=void 0,this.mass=void 0,this.velocity=0,this.restVelocity=void 0,this.precision=void 0,this.progress=void 0,this.duration=void 0,this.easing=void 0,this.clamp=void 0,this.bounce=void 0,this.decay=void 0,this.round=void 0,Object.assign(this,fs)}}function ms(e,t){if(ho.und(t.decay)){const n=!ho.und(t.tension)||!ho.und(t.friction);!n&&ho.und(t.frequency)&&ho.und(t.damping)&&ho.und(t.mass)||(e.duration=void 0,e.decay=void 0),n&&(e.frequency=void 0)}else e.duration=void 0}const ys=[];class vs{constructor(){this.changed=!1,this.values=ys,this.toValues=null,this.fromValues=ys,this.to=void 0,this.from=void 0,this.config=new gs,this.immediate=!1}}function bs(e,{key:t,props:n,defaultProps:r,state:i,actions:o}){return new Promise(((a,s)=>{var l;let c,u,d=Xa(null!=(l=n.cancel)?l:null==r?void 0:r.cancel,t);if(d)f();else{ho.und(n.pause)||(i.paused=Xa(n.pause,t));let e=null==r?void 0:r.pause;!0!==e&&(e=i.paused||Xa(e,t)),c=Ga(n.delay||0,t),e?(i.resumeQueue.add(p),o.pause()):(o.resume(),p())}function h(){i.resumeQueue.add(p),i.timeouts.delete(u),u.cancel(),c=u.time-Qi.now()}function p(){c>0&&!Co.skipAnimation?(i.delayed=!0,u=Qi.setTimeout(f,c),i.pauseQueue.add(h),i.timeouts.add(u)):f()}function f(){i.delayed&&(i.delayed=!1),i.pauseQueue.delete(h),i.timeouts.delete(u),e<=(i.cancelId||0)&&(d=!0);try{o.start(Za({},n,{callId:e,cancel:d}),a)}catch(e){s(e)}}}))}const ws=(e,t)=>1==t.length?t[0]:t.some((e=>e.cancelled))?xs(e.get()):t.every((e=>e.noop))?_s(e.get()):Ss(e.get(),t.every((e=>e.finished))),_s=e=>({value:e,noop:!0,finished:!0,cancelled:!1}),Ss=(e,t,n=!1)=>({value:e,finished:t,cancelled:n}),xs=e=>({value:e,cancelled:!0,finished:!1});function $s(e,t,n,r){const{callId:i,parentId:o,onRest:a}=t,{asyncTo:s,promise:l}=n;return o||e!==s||t.reset?n.promise=(async()=>{n.asyncId=i,n.asyncTo=e;const c=es(t,((e,t)=>"onRest"===t?void 0:e));let u,d;const h=new Promise(((e,t)=>(u=e,d=t))),p=e=>{const t=i<=(n.cancelId||0)&&xs(r)||i!==n.asyncId&&Ss(r,!1);if(t)throw e.result=t,d(e),e},f=(e,t)=>{const o=new ks,a=new Fs;return(async()=>{if(Co.skipAnimation)throw Cs(n),a.result=Ss(r,!1),d(a),a;p(o);const s=ho.obj(e)?Za({},e):Za({},t,{to:e});s.parentId=i,go(c,((e,t)=>{ho.und(s[t])&&(s[t]=e)}));const l=await r.start(s);return p(o),n.paused&&await new Promise((e=>{n.resumeQueue.add(e)})),l})()};let g;if(Co.skipAnimation)return Cs(n),Ss(r,!1);try{let t;t=ho.arr(e)?(async e=>{for(const t of e)await f(t)})(e):Promise.resolve(e(f,r.stop.bind(r))),await Promise.all([t.then(u),h]),g=Ss(r.get(),!0,!1)}catch(e){if(e instanceof ks)g=e.result;else{if(!(e instanceof Fs))throw e;g=e.result}}finally{i==n.asyncId&&(n.asyncId=o,n.asyncTo=o?s:void 0,n.promise=o?l:void 0)}return ho.fun(a)&&Qi.batchedUpdates((()=>{a(g,r,r.item)})),g})():l}function Cs(e,t){yo(e.timeouts,(e=>e.cancel())),e.pauseQueue.clear(),e.resumeQueue.clear(),e.asyncId=e.asyncTo=e.promise=void 0,t&&(e.cancelId=t)}class ks extends Error{constructor(){super("An async animation has been interrupted. You see this error because you forgot to use `await` or `.catch(...)` on its returned promise."),this.result=void 0}}class Fs extends Error{constructor(){super("SkipAnimationSignal"),this.result=void 0}}const js=e=>e instanceof Bs;let Os=1;class Bs extends aa{constructor(...e){super(...e),this.id=Os++,this.key=void 0,this._priority=0}get priority(){return this._priority}set priority(e){this._priority!=e&&(this._priority=e,this._onPriorityChange(e))}get(){const e=Ia(this);return e&&e.getValue()}to(...e){return Co.to(this,e)}interpolate(...e){return xa(`${_a}The "interpolate" function is deprecated in v9 (use "to" instead)`),Co.to(this,e)}toJSON(){return this.get()}observerAdded(e){1==e&&this._attach()}observerRemoved(e){0==e&&this._detach()}_attach(){}_detach(){}_onChange(e,t=!1){oa(this,{type:"change",parent:this,value:e,idle:t})}_onPriorityChange(e){this.idle||Bo.sort(this),oa(this,{type:"priority",parent:this,priority:e})}}const As=Symbol.for("SpringPhase"),Is=e=>(1&e[As])>0,Ps=e=>(2&e[As])>0,zs=e=>(4&e[As])>0,Ds=(e,t)=>t?e[As]|=3:e[As]&=-3,Es=(e,t)=>t?e[As]|=4:e[As]&=-5;class Hs extends Bs{constructor(e,t){if(super(),this.key=void 0,this.animation=new vs,this.queue=void 0,this.defaultProps={},this._state={paused:!1,delayed:!1,pauseQueue:new Set,resumeQueue:new Set,timeouts:new Set},this._pendingCalls=new Set,this._lastCallId=0,this._lastToId=0,this._memoizedDuration=0,!ho.und(e)||!ho.und(t)){const n=ho.obj(e)?Za({},e):Za({},t,{from:e});ho.und(n.default)&&(n.default=!0),this.start(n)}}get idle(){return!(Ps(this)||this._state.asyncTo)||zs(this)}get goal(){return ra(this.animation.to)}get velocity(){const e=Ia(this);return e instanceof Ea?e.lastVelocity||0:e.getPayload().map((e=>e.lastVelocity||0))}get hasAnimated(){return Is(this)}get isAnimating(){return Ps(this)}get isPaused(){return zs(this)}get isDelayed(){return this._state.delayed}advance(e){let t=!0,n=!1;const r=this.animation;let{config:i,toValues:o}=r;const a=za(r.to);!a&&na(r.to)&&(o=mo(ra(r.to))),r.values.forEach(((s,l)=>{if(s.done)return;const c=s.constructor==Ha?1:a?a[l].lastPosition:o[l];let u=r.immediate,d=c;if(!u){if(d=s.lastPosition,i.tension<=0)return void(s.done=!0);let t=s.elapsedTime+=e;const n=r.fromValues[l],o=null!=s.v0?s.v0:s.v0=ho.arr(i.velocity)?i.velocity[l]:i.velocity;let a;const h=i.precision||(n==c?.005:Math.min(1,.001*Math.abs(c-n)));if(ho.und(i.duration))if(i.decay){const e=!0===i.decay?.998:i.decay,r=Math.exp(-(1-e)*t);d=n+o/(1-e)*(1-r),u=Math.abs(s.lastPosition-d)<=h,a=o*r}else{a=null==s.lastVelocity?o:s.lastVelocity;const t=i.restVelocity||h/10,r=i.clamp?0:i.bounce,l=!ho.und(r),p=n==c?s.v0>0:n<c;let f,g=!1;const m=1,y=Math.ceil(e/m);for(let e=0;e<y&&(f=Math.abs(a)>t,f||(u=Math.abs(c-d)<=h,!u));++e){l&&(g=d==c||d>c==p,g&&(a=-a*r,d=c));a+=(1e-6*-i.tension*(d-c)+.001*-i.friction*a)/i.mass*m,d+=a*m}}else{let r=1;i.duration>0&&(this._memoizedDuration!==i.duration&&(this._memoizedDuration=i.duration,s.durationProgress>0&&(s.elapsedTime=i.duration*s.durationProgress,t=s.elapsedTime+=e)),r=(i.progress||0)+t/this._memoizedDuration,r=r>1?1:r<0?0:r,s.durationProgress=r),d=n+i.easing(r)*(c-n),a=(d-s.lastPosition)/e,u=1==r}s.lastVelocity=a,Number.isNaN(d)&&(console.warn("Got NaN while animating:",this),u=!0)}a&&!a[l].done&&(u=!1),u?s.done=!0:t=!1,s.setValue(d,i.round)&&(n=!0)}));const s=Ia(this),l=s.getValue();if(t){const e=ra(r.to);l===e&&!n||i.decay?n&&i.decay&&this._onChange(l):(s.setValue(e),this._onChange(e)),this._stop()}else n&&this._onChange(l)}set(e){return Qi.batchedUpdates((()=>{this._stop(),this._focus(e),this._set(e)})),this}pause(){this._update({pause:!0})}resume(){this._update({pause:!1})}finish(){if(Ps(this)){const{to:e,config:t}=this.animation;Qi.batchedUpdates((()=>{this._onStart(),t.decay||this._set(e,!1),this._stop()}))}return this}update(e){return(this.queue||(this.queue=[])).push(e),this}start(e,t){let n;return ho.und(e)?(n=this.queue||[],this.queue=[]):n=[ho.obj(e)?e:Za({},t,{to:e})],Promise.all(n.map((e=>this._update(e)))).then((e=>ws(this,e)))}stop(e){const{to:t}=this.animation;return this._focus(this.get()),Cs(this._state,e&&this._lastCallId),Qi.batchedUpdates((()=>this._stop(t,e))),this}reset(){this._update({reset:!0})}eventObserved(e){"change"==e.type?this._start():"priority"==e.type&&(this.priority=e.priority+1)}_prepareNode(e){const t=this.key||"";let{to:n,from:r}=e;n=ho.obj(n)?n[t]:n,(null==n||as(n))&&(n=void 0),r=ho.obj(r)?r[t]:r,null==r&&(r=void 0);const i={to:n,from:r};return Is(this)||(e.reverse&&([n,r]=[r,n]),r=ra(r),ho.und(r)?Ia(this)||this._set(n):this._set(r)),i}_update(e,t){let n=Za({},e);const{key:r,defaultProps:i}=this;n.default&&Object.assign(i,es(n,((e,t)=>/^on/.test(t)?Ka(e,r):e))),Ws(this,n,"onProps"),qs(this,"onProps",n,this);const o=this._prepareNode(n);if(Object.isFrozen(this))throw Error("Cannot animate a `SpringValue` object that is frozen. Did you forget to pass your component to `animated(...)` before animating its props?");const a=this._state;return bs(++this._lastCallId,{key:r,props:n,defaultProps:i,state:a,actions:{pause:()=>{zs(this)||(Es(this,!0),vo(a.pauseQueue),qs(this,"onPause",Ss(this,Ms(this,this.animation.to)),this))},resume:()=>{zs(this)&&(Es(this,!1),Ps(this)&&this._resume(),vo(a.resumeQueue),qs(this,"onResume",Ss(this,Ms(this,this.animation.to)),this))},start:this._merge.bind(this,o)}}).then((e=>{if(n.loop&&e.finished&&(!t||!e.noop)){const e=Ns(n);if(e)return this._update(e,!0)}return e}))}_merge(e,t,n){if(t.cancel)return this.stop(!0),n(xs(this));const r=!ho.und(e.to),i=!ho.und(e.from);if(r||i){if(!(t.callId>this._lastToId))return n(xs(this));this._lastToId=t.callId}const{key:o,defaultProps:a,animation:s}=this,{to:l,from:c}=s;let{to:u=l,from:d=c}=e;!i||r||t.default&&!ho.und(u)||(u=d),t.reverse&&([u,d]=[d,u]);const h=!po(d,c);h&&(s.from=d),d=ra(d);const p=!po(u,l);p&&this._focus(u);const f=as(t.to),{config:g}=s,{decay:m,velocity:y}=g;(r||i)&&(g.velocity=0),t.config&&!f&&function(e,t,n){n&&(ms(n=Za({},n),t),t=Za({},n,t)),ms(e,t),Object.assign(e,t);for(const t in fs)null==e[t]&&(e[t]=fs[t]);let{mass:r,frequency:i,damping:o}=e;ho.und(i)||(i<.01&&(i=.01),o<0&&(o=0),e.tension=Math.pow(2*Math.PI/i,2)*r,e.friction=4*Math.PI*o*r/i)}(g,Ga(t.config,o),t.config!==a.config?Ga(a.config,o):void 0);let v=Ia(this);if(!v||ho.und(u))return n(Ss(this,!0));const b=ho.und(t.reset)?i&&!t.default:!ho.und(d)&&Xa(t.reset,o),w=b?d:this.get(),_=is(u),S=ho.num(_)||ho.arr(_)||Ca(_),x=!f&&(!S||Xa(a.immediate||t.immediate,o));if(p){const e=Va(u);if(e!==v.constructor){if(!x)throw Error(`Cannot animate between ${v.constructor.name} and ${e.name}, as the "to" prop suggests`);v=this._set(_)}}const $=v.constructor;let C=na(u),k=!1;if(!C){const e=b||!Is(this)&&h;(p||e)&&(k=po(is(w),_),C=!k),(po(s.immediate,x)||x)&&po(g.decay,m)&&po(g.velocity,y)||(C=!0)}if(k&&Ps(this)&&(s.changed&&!b?C=!0:C||this._stop(l)),!f&&((C||na(l))&&(s.values=v.getPayload(),s.toValues=na(u)?null:$==Ha?[1]:mo(_)),s.immediate!=x&&(s.immediate=x,x||b||this._set(l)),C)){const{onRest:e}=s;fo(Rs,(e=>Ws(this,t,e)));const r=Ss(this,Ms(this,l));vo(this._pendingCalls,r),this._pendingCalls.add(n),s.changed&&Qi.batchedUpdates((()=>{s.changed=!b,null==e||e(r,this),b?Ga(a.onRest,r):null==s.onStart||s.onStart(r,this)}))}b&&this._set(w),f?n($s(t.to,t,this._state,this)):C?this._start():Ps(this)&&!p?this._pendingCalls.add(n):n(_s(w))}_focus(e){const t=this.animation;e!==t.to&&(ia(this)&&this._detach(),t.to=e,ia(this)&&this._attach())}_attach(){let e=0;const{to:t}=this.animation;na(t)&&(la(t,this),js(t)&&(e=t.priority+1)),this.priority=e}_detach(){const{to:e}=this.animation;na(e)&&ca(e,this)}_set(e,t=!0){const n=ra(e);if(!ho.und(n)){const e=Ia(this);if(!e||!po(n,e.getValue())){const r=Va(n);e&&e.constructor==r?e.setValue(n):Pa(this,r.create(n)),e&&Qi.batchedUpdates((()=>{this._onChange(n,t)}))}}return Ia(this)}_onStart(){const e=this.animation;e.changed||(e.changed=!0,qs(this,"onStart",Ss(this,Ms(this,e.to)),this))}_onChange(e,t){t||(this._onStart(),Ga(this.animation.onChange,e,this)),Ga(this.defaultProps.onChange,e,this),super._onChange(e,t)}_start(){const e=this.animation;Ia(this).reset(ra(e.to)),e.immediate||(e.fromValues=e.values.map((e=>e.lastPosition))),Ps(this)||(Ds(this,!0),zs(this)||this._resume())}_resume(){Co.skipAnimation?this.finish():Bo.start(this)}_stop(e,t){if(Ps(this)){Ds(this,!1);const n=this.animation;fo(n.values,(e=>{e.done=!0})),n.toValues&&(n.onChange=n.onPause=n.onResume=void 0),oa(this,{type:"idle",parent:this});const r=t?xs(this.get()):Ss(this.get(),Ms(this,null!=e?e:n.to));vo(this._pendingCalls,r),n.changed&&(n.changed=!1,qs(this,"onRest",r,this))}}}function Ms(e,t){const n=is(t);return po(is(e.get()),n)}function Ns(e,t=e.loop,n=e.to){let r=Ga(t);if(r){const i=!0!==r&&rs(r),o=(i||e).reverse,a=!i||i.reset;return Ts(Za({},e,{loop:t,default:!1,pause:void 0,to:!o||as(n)?n:void 0,from:a?e.from:void 0,reset:a},i))}}function Ts(e){const{to:t,from:n}=e=rs(e),r=new Set;return ho.obj(t)&&Vs(t,r),ho.obj(n)&&Vs(n,r),e.keys=r.size?Array.from(r):null,e}function Ls(e){const t=Ts(e);return ho.und(t.default)&&(t.default=es(t)),t}function Vs(e,t){go(e,((e,n)=>null!=e&&t.add(n)))}const Rs=["onStart","onRest","onChange","onPause","onResume"];function Ws(e,t,n){e.animation[n]=t[n]!==Ya(t,n)?Ka(t[n],e.key):void 0}function qs(e,t,...n){var r,i,o,a;null==(r=(i=e.animation)[t])||r.call(i,...n),null==(o=(a=e.defaultProps)[t])||o.call(a,...n)}const Us=["onStart","onChange","onRest"];let Qs=1;class Zs{constructor(e,t){this.id=Qs++,this.springs={},this.queue=[],this.ref=void 0,this._flush=void 0,this._initialProps=void 0,this._lastAsyncId=0,this._active=new Set,this._changed=new Set,this._started=!1,this._item=void 0,this._state={paused:!1,pauseQueue:new Set,resumeQueue:new Set,timeouts:new Set},this._events={onStart:new Map,onChange:new Map,onRest:new Map},this._onFrame=this._onFrame.bind(this),t&&(this._flush=t),e&&this.start(Za({default:!0},e))}get idle(){return!this._state.asyncTo&&Object.values(this.springs).every((e=>e.idle&&!e.isDelayed&&!e.isPaused))}get item(){return this._item}set item(e){this._item=e}get(){const e={};return this.each(((t,n)=>e[n]=t.get())),e}set(e){for(const t in e){const n=e[t];ho.und(n)||this.springs[t].set(n)}}update(e){return e&&this.queue.push(Ts(e)),this}start(e){let{queue:t}=this;return e?t=mo(e).map(Ts):this.queue=[],this._flush?this._flush(this,t):(tl(this,t),Gs(this,t))}stop(e,t){if(e!==!!e&&(t=e),t){const n=this.springs;fo(mo(t),(t=>n[t].stop(!!e)))}else Cs(this._state,this._lastAsyncId),this.each((t=>t.stop(!!e)));return this}pause(e){if(ho.und(e))this.start({pause:!0});else{const t=this.springs;fo(mo(e),(e=>t[e].pause()))}return this}resume(e){if(ho.und(e))this.start({pause:!1});else{const t=this.springs;fo(mo(e),(e=>t[e].resume()))}return this}each(e){go(this.springs,e)}_onFrame(){const{onStart:e,onChange:t,onRest:n}=this._events,r=this._active.size>0,i=this._changed.size>0;(r&&!this._started||i&&!this._started)&&(this._started=!0,yo(e,(([e,t])=>{t.value=this.get(),e(t,this,this._item)})));const o=!r&&this._started,a=i||o&&n.size?this.get():null;i&&t.size&&yo(t,(([e,t])=>{t.value=a,e(t,this,this._item)})),o&&(this._started=!1,yo(n,(([e,t])=>{t.value=a,e(t,this,this._item)})))}eventObserved(e){if("change"==e.type)this._changed.add(e.parent),e.idle||this._active.add(e.parent);else{if("idle"!=e.type)return;this._active.delete(e.parent)}Qi.onFrame(this._onFrame)}}function Gs(e,t){return Promise.all(t.map((t=>Xs(e,t)))).then((t=>ws(e,t)))}async function Xs(e,t,n){const{keys:r,to:i,from:o,loop:a,onRest:s,onResolve:l}=t,c=ho.obj(t.default)&&t.default;a&&(t.loop=!1),!1===i&&(t.to=null),!1===o&&(t.from=null);const u=ho.arr(i)||ho.fun(i)?i:void 0;u?(t.to=void 0,t.onRest=void 0,c&&(c.onRest=void 0)):fo(Us,(n=>{const r=t[n];if(ho.fun(r)){const i=e._events[n];t[n]=({finished:e,cancelled:t})=>{const n=i.get(r);n?(e||(n.finished=!1),t&&(n.cancelled=!0)):i.set(r,{value:null,finished:e||!1,cancelled:t||!1})},c&&(c[n]=t[n])}}));const d=e._state;t.pause===!d.paused?(d.paused=t.pause,vo(t.pause?d.pauseQueue:d.resumeQueue)):d.paused&&(t.pause=!0);const h=(r||Object.keys(e.springs)).map((n=>e.springs[n].start(t))),p=!0===t.cancel||!0===Ya(t,"cancel");(u||p&&d.asyncId)&&h.push(bs(++e._lastAsyncId,{props:t,state:d,actions:{pause:uo,resume:uo,start(t,n){p?(Cs(d,e._lastAsyncId),n(xs(e))):(t.onRest=s,n($s(u,t,d,e)))}}})),d.paused&&await new Promise((e=>{d.resumeQueue.add(e)}));const f=ws(e,await Promise.all(h));if(a&&f.finished&&(!n||!f.noop)){const n=Ns(t,a,i);if(n)return tl(e,[n]),Xs(e,n,!0)}return l&&Qi.batchedUpdates((()=>l(f,e,e.item))),f}function Ks(e,t){const n=Za({},e.springs);return t&&fo(mo(t),(e=>{ho.und(e.keys)&&(e=Ts(e)),ho.obj(e.to)||(e=Za({},e,{to:void 0})),el(n,e,(e=>Js(e)))})),Ys(e,n),n}function Ys(e,t){go(t,((t,n)=>{e.springs[n]||(e.springs[n]=t,la(t,e))}))}function Js(e,t){const n=new Hs;return n.key=e,t&&la(n,t),n}function el(e,t,n){t.keys&&fo(t.keys,(r=>{(e[r]||(e[r]=n(r)))._prepareNode(t)}))}function tl(e,t){fo(t,(t=>{el(e.springs,t,(t=>Js(t,e)))}))}const nl=["children"],rl=e=>{let{children:t}=e,n=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,nl);const r=h(il),o=n.pause||!!r.pause,s=n.immediate||!!r.immediate;n=function(e,t){const[n]=l((()=>({inputs:t,result:e()}))),r=c(),i=r.current;let o=i;o?Boolean(t&&o.inputs&&function(e,t){if(e.length!==t.length)return!1;for(let n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}(t,o.inputs))||(o={inputs:t,result:e()}):o=n;return a((()=>{r.current=o,i==n&&(n.inputs=n.result=void 0)}),[o]),o.result}((()=>({pause:o,immediate:s})),[o,s]);const{Provider:u}=il;return i.createElement(u,{value:n},t)},il=(ol=rl,al={},Object.assign(ol,i.createContext(al)),ol.Provider._context=ol,ol.Consumer._context=ol,ol);var ol,al;rl.Provider=il.Provider,rl.Consumer=il.Consumer;const sl=()=>{const e=[],t=function(t){$a(`${_a}Directly calling start instead of using the api object is deprecated in v9 (use ".start" instead), this will be removed in later 0.X.0 versions`);const r=[];return fo(e,((e,i)=>{if(ho.und(t))r.push(e.start());else{const o=n(t,e,i);o&&r.push(e.start(o))}})),r};t.current=e,t.add=function(t){e.includes(t)||e.push(t)},t.delete=function(t){const n=e.indexOf(t);~n&&e.splice(n,1)},t.pause=function(){return fo(e,(e=>e.pause(...arguments))),this},t.resume=function(){return fo(e,(e=>e.resume(...arguments))),this},t.set=function(t){fo(e,(e=>e.set(t)))},t.start=function(t){const n=[];return fo(e,((e,r)=>{if(ho.und(t))n.push(e.start());else{const i=this._getProps(t,e,r);i&&n.push(e.start(i))}})),n},t.stop=function(){return fo(e,(e=>e.stop(...arguments))),this},t.update=function(t){return fo(e,((e,n)=>e.update(this._getProps(t,e,n)))),this};const n=function(e,t,n){return ho.fun(e)?e(n,t):e};return t._getProps=n,t};function ll(e,t,n){const r=ho.fun(t)&&t;r&&!n&&(n=[]);const i=p((()=>r||3==arguments.length?sl():void 0),[]),o=c(0),a=Fa(),s=p((()=>({ctrls:[],queue:[],flush(e,t){const n=Ks(e,t);return o.current>0&&!s.queue.length&&!Object.keys(n).some((t=>!e.springs[t]))?Gs(e,t):new Promise((r=>{Ys(e,n),s.queue.push((()=>{r(Gs(e,t))})),a()}))}})),[]),l=c([...s.ctrls]),u=[],d=Ba(e)||0;function f(e,n){for(let i=e;i<n;i++){const e=l.current[i]||(l.current[i]=new Zs(null,s.flush)),n=r?r(i,e):t[i];n&&(u[i]=Ls(n))}}p((()=>{fo(l.current.slice(e,d),(e=>{ss(e,i),e.stop(!0)})),l.current.length=e,f(d,e)}),[e]),p((()=>{f(0,Math.min(d,e))}),n);const g=l.current.map(((e,t)=>Ks(e,u[t]))),m=h(rl),y=Ba(m),v=m!==y&&os(m);ka((()=>{o.current++,s.ctrls=l.current;const{queue:e}=s;e.length&&(s.queue=[],fo(e,(e=>e()))),fo(l.current,((e,t)=>{null==i||i.add(e),v&&e.start({default:m});const n=u[t];n&&(ls(e,n.ref),e.ref?e.queue.push(n):e.start(n))}))})),ja((()=>()=>{fo(s.ctrls,(e=>e.stop(!0)))}));const b=g.map((e=>Za({},e)));return i?[b,i]:b}let cl;!function(e){e.MOUNT="mount",e.ENTER="enter",e.UPDATE="update",e.LEAVE="leave"}(cl||(cl={}));class ul extends Bs{constructor(e,t){super(),this.key=void 0,this.idle=!0,this.calc=void 0,this._active=new Set,this.source=e,this.calc=Yo(...t);const n=this._get(),r=Va(n);Pa(this,r.create(n))}advance(e){const t=this._get();po(t,this.get())||(Ia(this).setValue(t),this._onChange(t,this.idle)),!this.idle&&hl(this._active)&&pl(this)}_get(){const e=ho.arr(this.source)?this.source.map(ra):mo(ra(this.source));return this.calc(...e)}_start(){this.idle&&!hl(this._active)&&(this.idle=!1,fo(za(this),(e=>{e.done=!1})),Co.skipAnimation?(Qi.batchedUpdates((()=>this.advance())),pl(this)):Bo.start(this))}_attach(){let e=1;fo(mo(this.source),(t=>{na(t)&&la(t,this),js(t)&&(t.idle||this._active.add(t),e=Math.max(e,t.priority+1))})),this.priority=e,this._start()}_detach(){fo(mo(this.source),(e=>{na(e)&&ca(e,this)})),this._active.clear(),pl(this)}eventObserved(e){"change"==e.type?e.idle?this.advance():(this._active.add(e.parent),this._start()):"idle"==e.type?this._active.delete(e.parent):"priority"==e.type&&(this.priority=mo(this.source).reduce(((e,t)=>Math.max(e,(js(t)?t.priority:0)+1)),0))}}function dl(e){return!1!==e.idle}function hl(e){return!e.size||Array.from(e).every(dl)}function pl(e){e.idle||(e.idle=!0,fo(za(e),(e=>{e.done=!0})),oa(e,{type:"idle",parent:e}))}function fl(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}Co.assign({createStringInterpolator:wa,to:(e,t)=>new ul(e,t)});const gl=["style","children","scrollTop","scrollLeft"],ml=/^--/;function yl(e,t){return null==t||"boolean"==typeof t||""===t?"":"number"!=typeof t||0===t||ml.test(e)||bl.hasOwnProperty(e)&&bl[e]?(""+t).trim():t+"px"}const vl={};let bl={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0};const wl=["Webkit","Ms","Moz","O"];bl=Object.keys(bl).reduce(((e,t)=>(wl.forEach((n=>e[((e,t)=>e+t.charAt(0).toUpperCase()+t.substring(1))(n,t)]=e[t])),e)),bl);const _l=["x","y","z"],Sl=/^(matrix|translate|scale|rotate|skew)/,xl=/^(translate)/,$l=/^(rotate|skew)/,Cl=(e,t)=>ho.num(e)&&0!==e?e+t:e,kl=(e,t)=>ho.arr(e)?e.every((e=>kl(e,t))):ho.num(e)?e===t:parseFloat(e)===t;class Fl extends Na{constructor(e){let{x:t,y:n,z:r}=e,i=fl(e,_l);const o=[],a=[];(t||n||r)&&(o.push([t||0,n||0,r||0]),a.push((e=>[`translate3d(${e.map((e=>Cl(e,"px"))).join(",")})`,kl(e,0)]))),go(i,((e,t)=>{if("transform"===t)o.push([e||""]),a.push((e=>[e,""===e]));else if(Sl.test(t)){if(delete i[t],ho.und(e))return;const n=xl.test(t)?"px":$l.test(t)?"deg":"";o.push(mo(e)),a.push("rotate3d"===t?([e,t,r,i])=>[`rotate3d(${e},${t},${r},${Cl(i,n)})`,kl(i,0)]:e=>[`${t}(${e.map((e=>Cl(e,n))).join(",")})`,kl(e,t.startsWith("scale")?1:0)])}})),o.length&&(i.transform=new jl(o,a)),super(i)}}class jl extends aa{constructor(e,t){super(),this._value=null,this.inputs=e,this.transforms=t}get(){return this._value||(this._value=this._get())}_get(){let e="",t=!0;return fo(this.inputs,((n,r)=>{const i=ra(n[0]),[o,a]=this.transforms[r](ho.arr(i)?i:n.map(ra));e+=" "+o,t=t&&a})),t?"none":e}observerAdded(e){1==e&&fo(this.inputs,(e=>fo(e,(e=>na(e)&&la(e,this)))))}observerRemoved(e){0==e&&fo(this.inputs,(e=>fo(e,(e=>na(e)&&ca(e,this)))))}eventObserved(e){"change"==e.type&&(this._value=null),oa(this,e)}}const Ol=["scrollTop","scrollLeft"];Co.assign({batchedUpdates:f,createStringInterpolator:wa,colors:{transparent:0,aliceblue:4042850303,antiquewhite:4209760255,aqua:16777215,aquamarine:2147472639,azure:4043309055,beige:4126530815,bisque:4293182719,black:255,blanchedalmond:4293643775,blue:65535,blueviolet:2318131967,brown:2771004159,burlywood:3736635391,burntsienna:3934150143,cadetblue:1604231423,chartreuse:2147418367,chocolate:3530104575,coral:4286533887,cornflowerblue:1687547391,cornsilk:4294499583,crimson:3692313855,cyan:16777215,darkblue:35839,darkcyan:9145343,darkgoldenrod:3095792639,darkgray:2846468607,darkgreen:6553855,darkgrey:2846468607,darkkhaki:3182914559,darkmagenta:2332068863,darkolivegreen:1433087999,darkorange:4287365375,darkorchid:2570243327,darkred:2332033279,darksalmon:3918953215,darkseagreen:2411499519,darkslateblue:1211993087,darkslategray:793726975,darkslategrey:793726975,darkturquoise:13554175,darkviolet:2483082239,deeppink:4279538687,deepskyblue:12582911,dimgray:1768516095,dimgrey:1768516095,dodgerblue:512819199,firebrick:2988581631,floralwhite:4294635775,forestgreen:579543807,fuchsia:4278255615,gainsboro:3705462015,ghostwhite:4177068031,gold:4292280575,goldenrod:3668254975,gray:2155905279,green:8388863,greenyellow:2919182335,grey:2155905279,honeydew:4043305215,hotpink:4285117695,indianred:3445382399,indigo:1258324735,ivory:4294963455,khaki:4041641215,lavender:3873897215,lavenderblush:4293981695,lawngreen:2096890111,lemonchiffon:4294626815,lightblue:2916673279,lightcoral:4034953471,lightcyan:3774873599,lightgoldenrodyellow:4210742015,lightgray:3553874943,lightgreen:2431553791,lightgrey:3553874943,lightpink:4290167295,lightsalmon:4288707327,lightseagreen:548580095,lightskyblue:2278488831,lightslategray:2005441023,lightslategrey:2005441023,lightsteelblue:2965692159,lightyellow:4294959359,lime:16711935,limegreen:852308735,linen:4210091775,magenta:4278255615,maroon:2147483903,mediumaquamarine:1724754687,mediumblue:52735,mediumorchid:3126187007,mediumpurple:2473647103,mediumseagreen:1018393087,mediumslateblue:2070474495,mediumspringgreen:16423679,mediumturquoise:1221709055,mediumvioletred:3340076543,midnightblue:421097727,mintcream:4127193855,mistyrose:4293190143,moccasin:4293178879,navajowhite:4292783615,navy:33023,oldlace:4260751103,olive:2155872511,olivedrab:1804477439,orange:4289003775,orangered:4282712319,orchid:3664828159,palegoldenrod:4008225535,palegreen:2566625535,paleturquoise:2951671551,palevioletred:3681588223,papayawhip:4293907967,peachpuff:4292524543,peru:3448061951,pink:4290825215,plum:3718307327,powderblue:2967529215,purple:2147516671,rebeccapurple:1714657791,red:4278190335,rosybrown:3163525119,royalblue:1097458175,saddlebrown:2336560127,salmon:4202722047,sandybrown:4104413439,seagreen:780883967,seashell:4294307583,sienna:2689740287,silver:3233857791,skyblue:2278484991,slateblue:1784335871,slategray:1887473919,slategrey:1887473919,snow:4294638335,springgreen:16744447,steelblue:1182971135,tan:3535047935,teal:8421631,thistle:3636451583,tomato:4284696575,turquoise:1088475391,violet:4001558271,wheat:4125012991,white:4294967295,whitesmoke:4126537215,yellow:4294902015,yellowgreen:2597139199}});const Bl=((e,{applyAnimatedValues:t=(()=>!1),createAnimatedStyle:n=(e=>new Na(e)),getComponentProps:r=(e=>e)}={})=>{const i={applyAnimatedValues:t,createAnimatedStyle:n,getComponentProps:r},o=e=>{const t=Qa(e)||"Anonymous";return(e=ho.str(e)?o[e]||(o[e]=Wa(e,i)):e[Ua]||(e[Ua]=Wa(e,i))).displayName=`Animated(${t})`,e};return go(e,((t,n)=>{ho.arr(e)&&(n=Qa(t)),o[n]=o(t)})),{animated:o}})(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"],{applyAnimatedValues:function(e,t){if(!e.nodeType||!e.setAttribute)return!1;const n="filter"===e.nodeName||e.parentNode&&"filter"===e.parentNode.nodeName,r=t,{style:i,children:o,scrollTop:a,scrollLeft:s}=r,l=fl(r,gl),c=Object.values(l),u=Object.keys(l).map((t=>n||e.hasAttribute(t)?t:vl[t]||(vl[t]=t.replace(/([A-Z])/g,(e=>"-"+e.toLowerCase())))));void 0!==o&&(e.textContent=o);for(let t in i)if(i.hasOwnProperty(t)){const n=yl(t,i[t]);ml.test(t)?e.style.setProperty(t,n):e.style[t]=n}u.forEach(((t,n)=>{e.setAttribute(t,c[n])})),void 0!==a&&(e.scrollTop=a),void 0!==s&&(e.scrollLeft=s)},createAnimatedStyle:e=>new Fl(e),getComponentProps:e=>fl(e,Ol)}),Al=Bl.animated,Il=(e,t,n)=>t?ri(n,t)||ri(e,t):n||e,Pl=(e,t)=>{const n=t||e.defaultValue;return ri(e.collections,n)};var zl;!function(e){e.colorScheme="colorScheme",e.layout="layout",e.textStyleScheme="textStyleScheme",e.designTokenScheme="designTokenScheme"}(zl||(zl={}));const Dl={collections:{base:{Brand:{1:"#EF413D",2:"#F26664",3:"#F58E8B",4:"#F9B5B2",5:"#FDDDD7",6:"#FFEEEA"},Primary:"#1C76D5",PrimaryDark:"#1869BF",Secondary:"#0056b3",Accent:{Dark:{1:"#465A88",2:"#556D99",3:"#8D8DBF"},Light:{1:"#57A9FF",2:"#81BFFF",3:"#BED7FF",4:"#E2ECFD",5:"#F6F8FF",6:"#FBFCFE"}},Neutral:{1:"#282828",2:"#424242",3:"#686868",4:"#A4A4A4",5:"#E0E4E5",6:"#ECEFEF",7:"#F8F8F8",8:"#FFFFFF"},Validation:{Green:{Text:"#097123",Icon:"#4FC029",Border:"#95D97F",Background:"#F9FDF8"},Orange:{Text:"#B34E00",Icon:"#FEAB10",Border:"#F9CB77",Background:"#FFFCF7",Badge:"#F57F17"},Red:{Text:"#C60000",Icon:"#C60000",Border:"#DD6666",Background:"#FDF7F7"}},Shadow:{Accent:"rgba(87, 169, 255, 0.5)",Red:"rgba(221, 102, 102, 0.8)"}},bookingsg:{Brand:{1:"#EF413D",2:"#F26664",3:"#F58E8B",4:"#F9B5B2",5:"#FDDDD7",6:"#FFEEEA"},Primary:"#6F4AB8",PrimaryDark:"#6443A6",Secondary:"#6443A6",Accent:{Dark:{1:"#355985",2:"#68819D",3:"#9AABBE"},Light:{1:"#9F82D9",2:"#B5A5D7",3:"#CEC3E4 ",4:"#E2DBEF",5:"#F2EFF8",6:"#F7F6FB"}},Neutral:{1:"#282828",2:"#424242",3:"#686868",4:"#A4A4A4",5:"#E0E4E5",6:"#ECEFEF",7:"#F8F8F8",8:"#FFFFFF"},Validation:{Green:{Text:"#097123",Icon:"#4FC029",Border:"#95D97F",Background:"#F9FDF8"},Orange:{Text:"#B34E00",Icon:"#FEAB10",Border:"#F9CB77",Background:"#FFFCF7",Badge:"#F57F17"},Red:{Text:"#C60000",Icon:"#C60000",Border:"#DD6666",Background:"#FDF7F7"}},Shadow:{Accent:"rgba(161, 87, 255, 0.5)",Red:"rgba(221, 102, 102, 0.8)"}}},defaultValue:"base"},El=e=>t=>{const n=t.theme,r=Pl(Dl,n[zl.colorScheme]);return n.options&&n.options.color?Il(r,e,n.options.color):Il(r,e)},Hl={Brand:{1:El("Brand.1"),2:El("Brand.2"),3:El("Brand.3"),4:El("Brand.4"),5:El("Brand.5"),6:El("Brand.6")},Primary:El("Primary"),PrimaryDark:El("PrimaryDark"),Secondary:El("Secondary"),Accent:{Light:{1:El("Accent.Light.1"),2:El("Accent.Light.2"),3:El("Accent.Light.3"),4:El("Accent.Light.4"),5:El("Accent.Light.5"),6:El("Accent.Light.6")},Dark:{1:El("Accent.Dark.1"),2:El("Accent.Dark.2"),3:El("Accent.Dark.3")}},Neutral:{1:El("Neutral.1"),2:El("Neutral.2"),3:El("Neutral.3"),4:El("Neutral.4"),5:El("Neutral.5"),6:El("Neutral.6"),7:El("Neutral.7"),8:El("Neutral.8")},Validation:{Green:{Text:El("Validation.Green.Text"),Icon:El("Validation.Green.Icon"),Border:El("Validation.Green.Border"),Background:El("Validation.Green.Background")},Orange:{Text:El("Validation.Orange.Text"),Icon:El("Validation.Orange.Icon"),Border:El("Validation.Orange.Border"),Background:El("Validation.Orange.Background"),Badge:El("Validation.Orange.Badge")},Red:{Text:El("Validation.Red.Text"),Icon:El("Validation.Red.Icon"),Border:El("Validation.Red.Border"),Background:El("Validation.Red.Background")}},Shadow:{Accent:El("Shadow.Accent"),Red:El("Shadow.Red")}},Ml={mobileS:320,mobileM:375,mobileL:480,tablet:1199,desktopM:1399,desktopL:1999,desktop4k:3840},Nl=e=>Object.keys(Ml).reduce(((t,n)=>{const r=Ml[n];return t[n]=`@media screen and (${e}: ${r}px)`,t}),{}),Tl=Nl("max-width"),Ll=(Nl("min-width"),g.div`
|
|
2
2
|
display: inline-block;
|
|
3
3
|
position: relative;
|
|
4
|
-
width: ${
|
|
5
|
-
height: ${
|
|
6
|
-
`),
|
|
4
|
+
width: ${e=>e.$size}px;
|
|
5
|
+
height: ${e=>e.$size}px;
|
|
6
|
+
`),Vl=m`
|
|
7
7
|
0% {
|
|
8
8
|
transform: rotate(0deg);
|
|
9
9
|
}
|
|
10
10
|
100% {
|
|
11
11
|
transform: rotate(360deg);
|
|
12
12
|
}
|
|
13
|
-
`,
|
|
13
|
+
`,Rl=g.div`
|
|
14
14
|
box-sizing: border-box;
|
|
15
15
|
display: block;
|
|
16
16
|
position: absolute;
|
|
17
|
-
width: ${
|
|
18
|
-
height: ${
|
|
19
|
-
margin: ${
|
|
20
|
-
border-width: ${
|
|
17
|
+
width: ${e=>e.$size}px;
|
|
18
|
+
height: ${e=>e.$size}px;
|
|
19
|
+
margin: ${e=>e.$borderWidth}px;
|
|
20
|
+
border-width: ${e=>e.$borderWidth}px;
|
|
21
21
|
border-style: solid;
|
|
22
22
|
border-radius: 50%;
|
|
23
|
-
border-color: ${
|
|
23
|
+
border-color: ${e=>e.$color||Hl.Neutral[8](e)}
|
|
24
24
|
transparent transparent transparent;
|
|
25
|
-
animation: ${
|
|
26
|
-
`,
|
|
25
|
+
animation: ${Vl} 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
|
|
26
|
+
`,Wl=g(Rl)`
|
|
27
27
|
animation-delay: -0.45s;
|
|
28
|
-
`,
|
|
28
|
+
`,ql=g(Rl)`
|
|
29
29
|
animation-delay: -0.3s;
|
|
30
|
-
`,
|
|
30
|
+
`,Ul=g(Rl)`
|
|
31
31
|
animation-delay: -0.15s;
|
|
32
|
-
`,
|
|
33
|
-
font-family: ${
|
|
32
|
+
`,Ql={Regular:"Open Sans",Semibold:"Open Sans Semibold",Bold:"Open Sans Bold",Light:"Open Sans Light"},Zl={collections:{base:{D1:{fontFamily:Ql.Bold,fontSize:3,fontWeight:700,lineHeight:4,letterSpacing:-.056},D2:{fontFamily:Ql.Bold,fontSize:2.5,fontWeight:700,lineHeight:3.5,letterSpacing:-.032},D3:{fontFamily:Ql.Bold,fontSize:1.625,fontWeight:700,lineHeight:2.25},D4:{fontFamily:Ql.Bold,fontSize:1.375,fontWeight:700,lineHeight:1.75},DBody:{fontFamily:Ql.Regular,fontSize:1.375,lineHeight:1.75},H1:{fontFamily:Ql.Bold,fontSize:2,fontWeight:700,lineHeight:2.5},H2:{fontFamily:Ql.Bold,fontSize:1.625,fontWeight:700,lineHeight:2.25},H3:{fontFamily:Ql.Bold,fontSize:1.375,fontWeight:700,lineHeight:1.75},H4:{fontFamily:Ql.Bold,fontSize:1.125,fontWeight:700,lineHeight:1.625},H5:{fontFamily:Ql.Bold,fontSize:1,fontWeight:700,lineHeight:1.5,letterSpacing:.014},H6:{fontFamily:Ql.Bold,fontSize:.875,fontWeight:700,lineHeight:1.6,letterSpacing:.012},Body:{fontFamily:Ql.Regular,fontSize:1.125,lineHeight:1.625},BodySmall:{fontFamily:Ql.Regular,fontSize:1,lineHeight:1.5,letterSpacing:.014},XSmall:{fontFamily:Ql.Regular,fontSize:.75,lineHeight:1.2,letterSpacing:.012}}},defaultValue:"base"},Gl=e=>t=>{const n=t.theme,r=Pl(Zl,n[zl.textStyleScheme]);return n.options&&n.options.textStyle?Il(r,e,n.options.textStyle):Il(r,e)},Xl={D1:{fontFamily:Gl("D1.fontFamily"),fontSize:Gl("D1.fontSize"),fontWeight:Gl("D1.fontWeight"),lineHeight:Gl("D1.lineHeight"),letterSpacing:Gl("D1.letterSpacing")},D2:{fontFamily:Gl("D2.fontFamily"),fontSize:Gl("D2.fontSize"),fontWeight:Gl("D2.fontWeight"),lineHeight:Gl("D2.lineHeight"),letterSpacing:Gl("D2.letterSpacing")},D3:{fontFamily:Gl("D3.fontFamily"),fontSize:Gl("D3.fontSize"),fontWeight:Gl("D3.fontWeight"),lineHeight:Gl("D3.lineHeight"),letterSpacing:Gl("D3.letterSpacing")},D4:{fontFamily:Gl("D4.fontFamily"),fontSize:Gl("D4.fontSize"),fontWeight:Gl("D4.fontWeight"),lineHeight:Gl("D4.lineHeight"),letterSpacing:Gl("D4.letterSpacing")},DBody:{fontFamily:Gl("DBody.fontFamily"),fontSize:Gl("DBody.fontSize"),fontWeight:Gl("DBody.fontWeight"),lineHeight:Gl("DBody.lineHeight"),letterSpacing:Gl("DBody.letterSpacing")},H1:{fontFamily:Gl("H1.fontFamily"),fontSize:Gl("H1.fontSize"),fontWeight:Gl("H1.fontWeight"),lineHeight:Gl("H1.lineHeight"),letterSpacing:Gl("H1.letterSpacing")},H2:{fontFamily:Gl("H2.fontFamily"),fontSize:Gl("H2.fontSize"),fontWeight:Gl("H2.fontWeight"),lineHeight:Gl("H2.lineHeight"),letterSpacing:Gl("H2.letterSpacing")},H3:{fontFamily:Gl("H3.fontFamily"),fontSize:Gl("H3.fontSize"),fontWeight:Gl("H3.fontWeight"),lineHeight:Gl("H3.lineHeight"),letterSpacing:Gl("H3.letterSpacing")},H4:{fontFamily:Gl("H4.fontFamily"),fontSize:Gl("H4.fontSize"),fontWeight:Gl("H4.fontWeight"),lineHeight:Gl("H4.lineHeight"),letterSpacing:Gl("H4.letterSpacing")},H5:{fontFamily:Gl("H5.fontFamily"),fontSize:Gl("H5.fontSize"),fontWeight:Gl("H5.fontWeight"),lineHeight:Gl("H5.lineHeight"),letterSpacing:Gl("H5.letterSpacing")},H6:{fontFamily:Gl("H6.fontFamily"),fontSize:Gl("H6.fontSize"),fontWeight:Gl("H6.fontWeight"),lineHeight:Gl("H6.lineHeight"),letterSpacing:Gl("H6.letterSpacing")},Body:{fontFamily:Gl("Body.fontFamily"),fontSize:Gl("Body.fontSize"),fontWeight:Gl("Body.fontWeight"),lineHeight:Gl("Body.lineHeight"),letterSpacing:Gl("Body.letterSpacing")},BodySmall:{fontFamily:Gl("BodySmall.fontFamily"),fontSize:Gl("BodySmall.fontSize"),fontWeight:Gl("BodySmall.fontWeight"),lineHeight:Gl("BodySmall.lineHeight"),letterSpacing:Gl("BodySmall.letterSpacing")},XSmall:{fontFamily:Gl("XSmall.fontFamily"),fontSize:Gl("XSmall.fontSize"),fontWeight:Gl("XSmall.fontWeight"),lineHeight:Gl("XSmall.lineHeight"),letterSpacing:Gl("XSmall.letterSpacing")}},Kl=e=>{switch(e){case 700:case"bold":return Ql.Bold;case 600:case"semibold":return Ql.Semibold;case 300:case"light":return Ql.Light;case 400:case"regular":return Ql.Regular;default:return""}},Yl=(e,t)=>n=>{const r=Xl[e].fontFamily(n),i=Xl[e].fontWeight(n);return Object.values(Ql).includes(r)?y`
|
|
33
|
+
font-family: ${Kl(t)||Kl(i)||r};
|
|
34
34
|
font-weight: normal !important;
|
|
35
|
-
`:
|
|
35
|
+
`:y`
|
|
36
36
|
font-family: ${r};
|
|
37
|
-
font-weight: ${(
|
|
38
|
-
`},
|
|
39
|
-
${
|
|
37
|
+
font-weight: ${(Jl(t)||i)??"normal"};
|
|
38
|
+
`},Jl=e=>{switch(e){case 300:case"light":return 300;case 400:case"regular":return 400;case 600:case"semibold":return 600;case 700:case"bold":return 700;case 900:case"black":return 900;default:return""}},ec=(e,t,n=!1)=>r=>{const i=Xl[e],o=i.fontSize(r);return y`
|
|
39
|
+
${Yl(e,t)}
|
|
40
40
|
font-size: ${o}rem !important;
|
|
41
41
|
line-height: ${i.lineHeight}rem !important;
|
|
42
42
|
letter-spacing: ${i.letterSpacing(r)||0}rem !important;
|
|
43
|
-
${
|
|
43
|
+
${y`
|
|
44
44
|
margin-bottom: ${o*(n?1.05:0)}rem;
|
|
45
45
|
`}
|
|
46
|
-
`},
|
|
46
|
+
`},tc=(e=!1,t=!1)=>t?y`
|
|
47
47
|
display: block;
|
|
48
|
-
`:
|
|
48
|
+
`:e?y`
|
|
49
49
|
display: inline;
|
|
50
|
-
`:
|
|
50
|
+
`:y`
|
|
51
51
|
display: block;
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
#path {
|
|
58
|
-
fill: ${Ll.Neutral[8]};
|
|
59
|
-
}
|
|
60
|
-
`,cc=t=>e(lc,{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",viewBox:"0 0 16 16",...t,children:e("g",{fill:"none",fillRule:"evenodd",children:e("g",{id:"path",fillRule:"nonzero",children:e("g",{children:e("g",{children:e("g",{children:e("path",{d:"M8.706 14.603l6.075-6.075c.294-.29.294-.765 0-1.06L8.706 1.398c-.29-.294-.765-.294-1.06 0l-.693.694c-.3.297-.294.78.013 1.072L10.73 6.75H1.75c-.416 0-.75.334-.75.75v1c0 .416.334.75.75.75h8.981l-3.765 3.587c-.304.291-.31.775-.013 1.072l.694.694c.29.294.765.294 1.06 0z",transform:"translate(-2384.000000, -760.000000) translate(2253.000000, 692.000000) translate(16.000000, 64.000000) translate(115.000000, 4.000000) translate(0.000000, 0.000000)"})})})})})})}),uc=t=>e(lc,{width:"1rem",height:"1rem",viewBox:"0 0 40 40",xmlns:"http://www.w3.org/2000/svg",...t,children:e("path",{id:"path",d:"M20\n\t\t8.639c-.934\n\t\t0-1.742.342-2.43 1.03-.684.684-1.03 1.495-1.03 2.429 0 .931.346 1.742 1.03 2.426.688.688 1.496 1.03 2.43 1.03.931 0 1.742-.342 2.43-1.03.684-.684 1.026-1.495 1.026-2.426 0-.934-.342-1.745-1.026-2.43-.688-.687-1.499-1.03-2.43-1.03m4.61 20.91v-1.976a.959.959 0 0 0-.287-.7.959.959 0 0 0-.7-.286h-.99v-8.232a.954.954 0 0 0-.287-.7.945.945 0 0 0-.7-.29h-5.269a.95.95 0 0 0-.7.29.954.954 0 0 0-.286.7v1.976c0 .271.095.506.286.7a.959.959 0 0 0 .7.287h.99v5.269h-.99a.959.959 0 0 0-.7.286.959.959 0 0 0-.286.7v1.977c0 .274.095.505.286.7a.959.959 0 0 0 .7.286h7.246a.959.959 0 0 0 .7-.287.959.959 0 0 0 .286-.7M20 2.5c3.15 0 6.068.788 8.75 2.365a17.67 17.67 0 0 1 6.385 6.386C36.71 13.933 37.5 16.848 37.5 20c0 3.15-.79 6.068-2.365 8.751a17.71 17.71 0 0 1-6.385 6.385C26.068 36.712 23.15 37.5 20 37.5c-3.153 0-6.068-.788-8.75-2.363a17.71 17.71 0 0 1-6.385-6.385c-1.575-2.683-2.365-5.6-2.365-8.75 0-3.154.79-6.069 2.365-8.751a17.67 17.67 0 0 1 6.385-6.386C13.932 3.288 16.847 2.5 20 2.5",fillRule:"nonzero"})}),dc=t=>e(lc,{xmlns:"http://www.w3.org/2000/svg",width:"2rem",height:"2rem",viewBox:"0 0 64 64",id:"play-icon",...t,children:e("path",{id:"path",d:"M52.762 37.237 20.474 53.38A5.856 5.856 0 0 1 12 48.143V15.856a5.856 5.856 0 0 1 8.474-5.238l32.288 16.144a5.856 5.856 0 0 1 0 10.475z",fillRule:"nonzero"})}),hc=t=>e(lc,{xmlns:"http://www.w3.org/2000/svg",width:"2rem",height:"2rem",viewBox:"0 0 32 32",fill:"none",...t,children:e("g",{id:"search",children:e("path",{id:"path",fillRule:"evenodd",clipRule:"evenodd",d:"M7.60986 7.60986C5.86994 9.34977 5 11.445 5 13.8956C5 16.3462 5.86994 18.4414 7.60986 20.1813C9.34977 21.9212 11.445 22.7911 13.8956 22.7911C15.6355 22.7911 17.2345 22.3133 18.6926 21.3576L24.2063 26.8713C24.3044 26.9571 24.4146 27 24.5372 27C24.6597 27 24.77 26.9571 24.868 26.8713L26.8713 24.868C26.9571 24.77 27 24.6597 27 24.5372C27 24.4146 26.9571 24.3044 26.8713 24.2063L21.3576 18.6926C22.3133 17.2345 22.7911 15.6355 22.7911 13.8956C22.7911 11.445 21.9212 9.34977 20.1813 7.60986C18.4414 5.86994 16.3462 5 13.8956 5C11.445 5 9.34977 5.86994 7.60986 7.60986ZM9.59484 18.178C8.4063 16.9894 7.81205 15.562 7.81205 13.8956C7.81205 12.2292 8.4063 10.8017 9.59484 9.61321C10.7834 8.42468 12.2169 7.83042 13.8956 7.83042C15.5742 7.83042 17.0047 8.42162 18.1872 9.60403C19.3696 10.7864 19.9608 12.2169 19.9608 13.8956C19.9608 15.5742 19.3696 17.0047 18.1872 18.1872C17.0047 19.3696 15.5742 19.9608 13.8956 19.9608C12.2169 19.9608 10.7834 19.3665 9.59484 18.178Z"})})}),pc=({type:t,...n})=>{switch(t){case"arrow-right":return e(cc,{...n});case"info":return e(uc,{...n});case"search":return e(hc,{...n});case"play-alt":return e(dc,{...n});default:{const r=`sgds-icon sgds-icon-${t}`,i=n.className?`${r} ${n.className}`:r;return e(fc,{...n,className:i})}}},fc=p.span`
|
|
61
|
-
font-size: 1rem;
|
|
62
|
-
`;var gc;!function(t){t.D1=p.h1`
|
|
63
|
-
${t=>g`
|
|
64
|
-
${ac("D1",t.weight,t.paragraph)}
|
|
65
|
-
color: ${Ll.Neutral[1]};
|
|
66
|
-
${sc(t.inline,t.paragraph)}
|
|
52
|
+
`;var nc,rc={};Object.defineProperty(rc,"__esModule",{value:!0});var ic=e;const oc=e=>ic.jsx("svg",{width:"1em",height:"1em",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:ic.jsx("path",{d:"M4.25 17.5C3.764 17.5 3.35067 17.33 3.01 16.99C2.67 16.6493 2.5 16.236 2.5 15.75V4.25C2.5 3.764 2.67 3.35067 3.01 3.01C3.35067 2.67 3.764 2.5 4.25 2.5H9.208C9.444 2.5 9.649 2.58667 9.823 2.76C9.99633 2.934 10.083 3.139 10.083 3.375C10.083 3.611 9.99633 3.816 9.823 3.99C9.649 4.16333 9.444 4.25 9.208 4.25H4.25V15.75H15.75V10.792C15.75 10.556 15.8367 10.351 16.01 10.177C16.184 10.0037 16.389 9.917 16.625 9.917C16.861 9.917 17.066 10.0037 17.24 10.177C17.4133 10.351 17.5 10.556 17.5 10.792V15.75C17.5 16.236 17.33 16.6493 16.99 16.99C16.6493 17.33 16.236 17.5 15.75 17.5H4.25ZM7.5 12.5C7.33333 12.3333 7.25 12.1283 7.25 11.885C7.25 11.6423 7.33333 11.4377 7.5 11.271L14.521 4.25H12.708C12.472 4.25 12.2673 4.16333 12.094 3.99C11.92 3.816 11.833 3.611 11.833 3.375C11.833 3.139 11.92 2.934 12.094 2.76C12.2673 2.58667 12.472 2.5 12.708 2.5H16.625C16.861 2.5 17.066 2.58667 17.24 2.76C17.4133 2.934 17.5 3.139 17.5 3.375V7.292C17.5 7.528 17.4133 7.73267 17.24 7.906C17.066 8.08 16.861 8.167 16.625 8.167C16.389 8.167 16.184 8.08 16.01 7.906C15.8367 7.73267 15.75 7.528 15.75 7.292V5.479L8.708 12.521C8.54133 12.6877 8.34367 12.771 8.115 12.771C7.88567 12.771 7.68067 12.6807 7.5 12.5Z",fill:"currentColor"})});var ac;oc.displayName="ExternalIcon",nc=rc.ExternalIcon=oc,function(e){e.D1=g.h1`
|
|
53
|
+
${e=>y`
|
|
54
|
+
${ec("D1",e.weight,e.paragraph)}
|
|
55
|
+
color: ${Hl.Neutral[1]};
|
|
56
|
+
${tc(e.inline,e.paragraph)}
|
|
67
57
|
`}
|
|
68
|
-
`,
|
|
69
|
-
${
|
|
70
|
-
${
|
|
71
|
-
color: ${
|
|
72
|
-
${
|
|
58
|
+
`,e.D2=g.h1`
|
|
59
|
+
${e=>y`
|
|
60
|
+
${ec("D2",e.weight,e.paragraph)}
|
|
61
|
+
color: ${Hl.Neutral[1]};
|
|
62
|
+
${tc(e.inline,e.paragraph)}
|
|
73
63
|
`}
|
|
74
|
-
`,
|
|
75
|
-
${
|
|
76
|
-
${
|
|
77
|
-
color: ${
|
|
78
|
-
${
|
|
64
|
+
`,e.D3=g.h1`
|
|
65
|
+
${e=>y`
|
|
66
|
+
${ec("D3",e.weight,e.paragraph)}
|
|
67
|
+
color: ${Hl.Neutral[1]};
|
|
68
|
+
${tc(e.inline,e.paragraph)}
|
|
79
69
|
`}
|
|
80
|
-
`,
|
|
81
|
-
${
|
|
82
|
-
${
|
|
83
|
-
color: ${
|
|
84
|
-
${
|
|
70
|
+
`,e.D4=g.h1`
|
|
71
|
+
${e=>y`
|
|
72
|
+
${ec("D4",e.weight,e.paragraph)}
|
|
73
|
+
color: ${Hl.Neutral[1]};
|
|
74
|
+
${tc(e.inline,e.paragraph)}
|
|
85
75
|
`}
|
|
86
|
-
`,
|
|
87
|
-
${
|
|
88
|
-
${
|
|
89
|
-
color: ${
|
|
90
|
-
${
|
|
76
|
+
`,e.DBody=g.h1`
|
|
77
|
+
${e=>y`
|
|
78
|
+
${ec("DBody",e.weight,e.paragraph)}
|
|
79
|
+
color: ${Hl.Neutral[1]};
|
|
80
|
+
${tc(e.inline,e.paragraph)}
|
|
91
81
|
`}
|
|
92
|
-
`,
|
|
93
|
-
${
|
|
94
|
-
${
|
|
95
|
-
color: ${
|
|
96
|
-
${
|
|
82
|
+
`,e.H1=g.h1`
|
|
83
|
+
${e=>y`
|
|
84
|
+
${ec("H1",e.weight,e.paragraph)}
|
|
85
|
+
color: ${Hl.Neutral[1]};
|
|
86
|
+
${tc(e.inline,e.paragraph)}
|
|
97
87
|
`}
|
|
98
|
-
`,
|
|
99
|
-
${
|
|
100
|
-
${
|
|
101
|
-
color: ${
|
|
102
|
-
${
|
|
88
|
+
`,e.H2=g.h2`
|
|
89
|
+
${e=>y`
|
|
90
|
+
${ec("H2",e.weight,e.paragraph)}
|
|
91
|
+
color: ${Hl.Neutral[1]};
|
|
92
|
+
${tc(e.inline,e.paragraph)}
|
|
103
93
|
`}
|
|
104
|
-
`,
|
|
105
|
-
${
|
|
106
|
-
${
|
|
107
|
-
color: ${
|
|
108
|
-
${
|
|
94
|
+
`,e.H3=g.h3`
|
|
95
|
+
${e=>y`
|
|
96
|
+
${ec("H3",e.weight,e.paragraph)}
|
|
97
|
+
color: ${Hl.Neutral[1]};
|
|
98
|
+
${tc(e.inline,e.paragraph)}
|
|
109
99
|
`}
|
|
110
|
-
`,
|
|
111
|
-
${
|
|
112
|
-
${
|
|
113
|
-
color: ${
|
|
114
|
-
${
|
|
100
|
+
`,e.H4=g.h4`
|
|
101
|
+
${e=>y`
|
|
102
|
+
${ec("H4",e.weight,e.paragraph)}
|
|
103
|
+
color: ${Hl.Neutral[1]};
|
|
104
|
+
${tc(e.inline,e.paragraph)}
|
|
115
105
|
`}
|
|
116
|
-
`,
|
|
117
|
-
${
|
|
118
|
-
${
|
|
119
|
-
color: ${
|
|
120
|
-
${
|
|
106
|
+
`,e.H5=g.h5`
|
|
107
|
+
${e=>y`
|
|
108
|
+
${ec("H5",e.weight,e.paragraph)}
|
|
109
|
+
color: ${Hl.Neutral[1]};
|
|
110
|
+
${tc(e.inline,e.paragraph)}
|
|
121
111
|
`}
|
|
122
|
-
`,
|
|
123
|
-
${
|
|
124
|
-
${
|
|
125
|
-
color: ${
|
|
126
|
-
${
|
|
112
|
+
`,e.H6=g.h6`
|
|
113
|
+
${e=>y`
|
|
114
|
+
${ec("H6",e.weight,e.paragraph)}
|
|
115
|
+
color: ${Hl.Neutral[1]};
|
|
116
|
+
${tc(e.inline,e.paragraph)}
|
|
127
117
|
`}
|
|
128
|
-
`,
|
|
129
|
-
${
|
|
130
|
-
${
|
|
131
|
-
color: ${
|
|
132
|
-
${
|
|
118
|
+
`,e.Body=g.p`
|
|
119
|
+
${e=>y`
|
|
120
|
+
${ec("Body",e.weight,e.paragraph)}
|
|
121
|
+
color: ${Hl.Neutral[1]};
|
|
122
|
+
${tc(e.inline,e.paragraph)}
|
|
133
123
|
`}
|
|
134
|
-
`,
|
|
135
|
-
${
|
|
136
|
-
${
|
|
137
|
-
color: ${
|
|
138
|
-
${
|
|
124
|
+
`,e.BodySmall=g.p`
|
|
125
|
+
${e=>y`
|
|
126
|
+
${ec("BodySmall",e.weight,e.paragraph)}
|
|
127
|
+
color: ${Hl.Neutral[1]};
|
|
128
|
+
${tc(e.inline,e.paragraph)}
|
|
139
129
|
`}
|
|
140
|
-
`,
|
|
141
|
-
${
|
|
142
|
-
${
|
|
143
|
-
color: ${
|
|
144
|
-
${
|
|
130
|
+
`,e.XSmall=g.span`
|
|
131
|
+
${e=>y`
|
|
132
|
+
${ec("XSmall",e.weight,e.paragraph)}
|
|
133
|
+
color: ${Hl.Neutral[1]};
|
|
134
|
+
${tc(e.inline,e.paragraph)}
|
|
145
135
|
`}
|
|
146
|
-
`,
|
|
147
|
-
${
|
|
148
|
-
${
|
|
149
|
-
color: ${
|
|
136
|
+
`,e.Hyperlink={Default:e=>cc({...e,textStyle:"Body"}),Small:e=>cc({...e,textStyle:"BodySmall"})}}(ac||(ac={}));const sc=g.a`
|
|
137
|
+
${e=>y`
|
|
138
|
+
${ec(e.textStyle,e.weight)}
|
|
139
|
+
color: ${Hl.Primary};
|
|
150
140
|
text-decoration: none;
|
|
151
141
|
|
|
152
142
|
:hover,
|
|
153
143
|
:active,
|
|
154
144
|
:focus {
|
|
155
|
-
color: ${
|
|
145
|
+
color: ${Hl.Secondary};
|
|
146
|
+
|
|
147
|
+
svg {
|
|
148
|
+
color: ${Hl.Secondary};
|
|
149
|
+
}
|
|
156
150
|
}
|
|
157
151
|
`}
|
|
158
|
-
`,
|
|
152
|
+
`,lc=g(nc)`
|
|
153
|
+
height: 1rem;
|
|
154
|
+
width: 1rem;
|
|
159
155
|
margin-left: 0.4rem;
|
|
160
|
-
|
|
156
|
+
vertical-align: middle;
|
|
157
|
+
`,cc=({external:e=!1,children:r,...i})=>t(sc,{...i,children:[r,e&&n(lc,{})]});var uc;!function(e){e[e.Subpage=0]="Subpage",e[e.Domain=1]="Domain"}(uc||(uc={})),g.button`
|
|
161
158
|
padding: 0.5rem 1rem;
|
|
162
159
|
min-width: 4rem;
|
|
163
160
|
border-radius: 4px;
|
|
@@ -176,22 +173,22 @@ import{jsxs as t,jsx as e,Fragment as n}from"react/jsx-runtime";import*as r from
|
|
|
176
173
|
// -----------------------------------------------------------------------------
|
|
177
174
|
// BUTTON STYLE + TEXT COLOR
|
|
178
175
|
// -----------------------------------------------------------------------------
|
|
179
|
-
${
|
|
180
|
-
background-color: ${
|
|
181
|
-
border: 1px solid ${
|
|
176
|
+
${e=>{switch(e.$buttonStyle){case"secondary":return y`
|
|
177
|
+
background-color: ${Hl.Neutral[8](e)};
|
|
178
|
+
border: 1px solid ${Hl.Primary(e)};
|
|
182
179
|
|
|
183
180
|
span {
|
|
184
|
-
color: ${
|
|
181
|
+
color: ${Hl.Primary(e)};
|
|
185
182
|
}
|
|
186
|
-
`;case"light":return
|
|
187
|
-
background-color: ${
|
|
188
|
-
border: 1px solid ${
|
|
183
|
+
`;case"light":return y`
|
|
184
|
+
background-color: ${Hl.Neutral[8](e)};
|
|
185
|
+
border: 1px solid ${Hl.Neutral[5](e)};
|
|
189
186
|
|
|
190
187
|
span {
|
|
191
|
-
color: ${
|
|
188
|
+
color: ${Hl.Primary(e)};
|
|
192
189
|
}
|
|
193
|
-
`;case"disabled":return
|
|
194
|
-
background-color: ${
|
|
190
|
+
`;case"disabled":return y`
|
|
191
|
+
background-color: ${Hl.Neutral[6](e)};
|
|
195
192
|
border: 1px solid transparent;
|
|
196
193
|
cursor: not-allowed;
|
|
197
194
|
|
|
@@ -200,9 +197,9 @@ import{jsxs as t,jsx as e,Fragment as n}from"react/jsx-runtime";import*as r from
|
|
|
200
197
|
}
|
|
201
198
|
|
|
202
199
|
span {
|
|
203
|
-
color: ${
|
|
200
|
+
color: ${Hl.Neutral[3](e)};
|
|
204
201
|
}
|
|
205
|
-
`;case"link":return
|
|
202
|
+
`;case"link":return y`
|
|
206
203
|
background-color: transparent;
|
|
207
204
|
border: none;
|
|
208
205
|
border-radius: unset;
|
|
@@ -211,97 +208,97 @@ import{jsxs as t,jsx as e,Fragment as n}from"react/jsx-runtime";import*as r from
|
|
|
211
208
|
box-shadow: none;
|
|
212
209
|
}
|
|
213
210
|
|
|
214
|
-
color: ${
|
|
211
|
+
color: ${Hl.Primary};
|
|
215
212
|
:hover,
|
|
216
213
|
:active,
|
|
217
214
|
:focus {
|
|
218
215
|
span {
|
|
219
|
-
color: ${
|
|
216
|
+
color: ${Hl.Secondary};
|
|
220
217
|
}
|
|
221
218
|
}
|
|
222
|
-
`;default:return
|
|
223
|
-
background-color: ${
|
|
219
|
+
`;default:return y`
|
|
220
|
+
background-color: ${Hl.Primary(e)};
|
|
224
221
|
border: 1px solid transparent;
|
|
225
222
|
|
|
226
|
-
${
|
|
223
|
+
${Tl.mobileL} {
|
|
227
224
|
width: 100%;
|
|
228
225
|
}
|
|
229
226
|
|
|
230
227
|
span {
|
|
231
|
-
color: ${
|
|
228
|
+
color: ${Hl.Neutral[8](e)};
|
|
232
229
|
}
|
|
233
230
|
`}}}
|
|
234
231
|
|
|
235
232
|
// -----------------------------------------------------------------------------
|
|
236
233
|
// BUTTON SIZE + TEXT SIZE
|
|
237
234
|
// -----------------------------------------------------------------------------
|
|
238
|
-
${
|
|
235
|
+
${e=>"small"===e.$buttonSizeStyle?y`
|
|
239
236
|
height: 2.5rem;
|
|
240
237
|
span {
|
|
241
|
-
${
|
|
238
|
+
${ec("H5","semibold")}
|
|
242
239
|
}
|
|
243
240
|
|
|
244
|
-
${
|
|
241
|
+
${Tl.mobileS} {
|
|
245
242
|
height: auto;
|
|
246
243
|
}
|
|
247
|
-
`:
|
|
244
|
+
`:y`
|
|
248
245
|
height: 3rem;
|
|
249
246
|
span {
|
|
250
|
-
${
|
|
247
|
+
${ec("H4","semibold")}
|
|
251
248
|
}
|
|
252
249
|
|
|
253
|
-
${
|
|
250
|
+
${Tl.mobileS} {
|
|
254
251
|
height: auto;
|
|
255
252
|
}
|
|
256
253
|
`}
|
|
257
|
-
`;const
|
|
254
|
+
`;const dc=g((({color:e,className:r,size:i=18})=>t(Ll,{className:r,$size:i,$color:e,children:[n(Rl,{id:"inner1",$size:i-2,$borderWidth:2}),n(Wl,{id:"inner2",$size:i-2,$borderWidth:2}),n(ql,{id:"inner3",$size:i-2,$borderWidth:2}),n(Ul,{id:"inner4",$size:i-2,$borderWidth:2})]})))`
|
|
258
255
|
margin-right: 0.5rem;
|
|
259
|
-
${
|
|
256
|
+
${e=>{let t;switch(e.$buttonStyle){case"secondary":case"light":case"link":t=Hl.Primary(e);break;case"disabled":t=Hl.Neutral[3](e);break;default:t=Hl.Neutral[8](e)}return y`
|
|
260
257
|
#inner1,
|
|
261
258
|
#inner2,
|
|
262
259
|
#inner3,
|
|
263
260
|
#inner4 {
|
|
264
|
-
border-color: ${
|
|
261
|
+
border-color: ${t} transparent transparent transparent;
|
|
265
262
|
}
|
|
266
263
|
`}}
|
|
267
|
-
`;var
|
|
264
|
+
`;var hc;!function(e){e.transformWithSpaces=(e,t)=>{const n="(.{"+t+"})";return e.replace(/[^\dA-Z]/gi,"").replace(new RegExp(n,"g"),"$1 ").trim()},e.padValue=(e,t)=>{if("0"===e)return t?e:e.padStart(2,"0");if(""===e)return e;return parseInt(e).toString().padStart(2,"0")},e.shouldTruncateToTwoLines=(e,t)=>{const n=Math.floor(t/9);return e.length>=2*n||1===e.split(" ").length&&e.length>n},e.truncateOneLine=(e,t,n,r)=>{let i=0;t>n&&(i=Math.floor((t-n)/8));const o=r+i;if(o<e.length){const t=Math.floor(o/2);return e.substring(0,t)+" ... "+e.substring(e.length-t,e.length)}return e}}(hc||(hc={}));var pc,fc={};Object.defineProperty(fc,"__esModule",{value:!0});var gc=e;const mc=e=>gc.jsx("svg",{width:"1em",height:"1em",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:gc.jsx("path",{d:"M9.99999 10.792C10.236 10.792 10.441 10.705 10.615 10.531C10.7883 10.3577 10.875 10.153 10.875 9.91701V6.70801C10.875 6.47201 10.7883 6.27067 10.615 6.10401C10.441 5.93734 10.236 5.85401 9.99999 5.85401C9.76399 5.85401 9.55899 5.94101 9.38499 6.11501C9.21166 6.28834 9.12499 6.49301 9.12499 6.72901V9.93801C9.12499 10.174 9.21166 10.3753 9.38499 10.542C9.55899 10.7087 9.76399 10.792 9.99999 10.792ZM9.99999 14.188C10.236 14.188 10.441 14.108 10.615 13.948C10.7883 13.788 10.875 13.576 10.875 13.312C10.875 13.076 10.7883 12.8713 10.615 12.698C10.441 12.5247 10.236 12.438 9.99999 12.438C9.76399 12.438 9.55899 12.5247 9.38499 12.698C9.21166 12.8713 9.12499 13.076 9.12499 13.312C9.12499 13.576 9.21166 13.788 9.38499 13.948C9.55899 14.108 9.76399 14.188 9.99999 14.188ZM9.99999 18.333C8.84733 18.333 7.76399 18.1143 6.74999 17.677C5.73599 17.2397 4.85399 16.646 4.10399 15.896C3.35399 15.146 2.76033 14.264 2.32299 13.25C1.88566 12.236 1.66699 11.1527 1.66699 10C1.66699 8.84734 1.88566 7.76401 2.32299 6.75001C2.76033 5.73601 3.35399 4.85401 4.10399 4.10401C4.85399 3.35401 5.73599 2.76034 6.74999 2.32301C7.76399 1.88567 8.84733 1.66701 9.99999 1.66701C11.1527 1.66701 12.236 1.88567 13.25 2.32301C14.264 2.76034 15.146 3.35401 15.896 4.10401C16.646 4.85401 17.2397 5.73601 17.677 6.75001C18.1143 7.76401 18.333 8.84734 18.333 10C18.333 11.1527 18.1143 12.236 17.677 13.25C17.2397 14.264 16.646 15.146 15.896 15.896C15.146 16.646 14.264 17.2397 13.25 17.677C12.236 18.1143 11.1527 18.333 9.99999 18.333Z",fill:"currentColor"})});mc.displayName="ExclamationCircleFillIcon",pc=fc.ExclamationCircleFillIcon=mc;var yc,vc={};Object.defineProperty(vc,"__esModule",{value:!0});var bc=e;const wc=e=>bc.jsx("svg",{width:"1em",height:"1em",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:bc.jsx("path",{d:"M7.97897 14.646C7.86764 14.646 7.75997 14.625 7.65597 14.583C7.55197 14.5417 7.4513 14.4723 7.35397 14.375L3.83297 10.854C3.6663 10.6873 3.58664 10.4757 3.59397 10.219C3.60064 9.96167 3.6873 9.74967 3.85397 9.583C4.02064 9.41634 4.22897 9.333 4.47897 9.333C4.72897 9.333 4.9373 9.41634 5.10397 9.583L8.02097 12.5L14.917 5.604C15.0836 5.43734 15.2883 5.354 15.531 5.354C15.7743 5.354 15.9793 5.43734 16.146 5.604C16.3126 5.77067 16.396 5.97567 16.396 6.219C16.396 6.46167 16.3126 6.66634 16.146 6.833L8.60397 14.375C8.50664 14.4723 8.40597 14.5417 8.30197 14.583C8.19797 14.625 8.0903 14.646 7.97897 14.646Z",fill:"currentColor"})});wc.displayName="TickIcon",yc=vc.TickIcon=wc;const _c=g.div`
|
|
268
265
|
display: flex;
|
|
269
266
|
justify-content: center;
|
|
270
267
|
align-items: center;
|
|
271
268
|
|
|
272
|
-
${
|
|
273
|
-
height: ${
|
|
269
|
+
${e=>{let t,n;if("small"===e.$displaySize)t="1.5rem",n="1.5rem";else t="2rem",n="2rem";return y`
|
|
270
|
+
height: ${t};
|
|
274
271
|
width: ${n};
|
|
275
272
|
`}}
|
|
276
273
|
|
|
277
274
|
position: relative;
|
|
278
275
|
border-radius: 4px;
|
|
279
276
|
transition: all 200ms ease-in-out;
|
|
280
|
-
border: 1px solid ${
|
|
277
|
+
border: 1px solid ${Hl.Accent.Light[2]};
|
|
281
278
|
background: transparent;
|
|
282
279
|
|
|
283
|
-
${
|
|
284
|
-
`,
|
|
280
|
+
${e=>{let t,n;return e.selected&&(t=Hl.Primary(e),n=Hl.Primary(e)),e.disabled&&(t=Hl.Neutral[6](e),n=Hl.Neutral[6](e)),`\n\t\t\tborder: 1px solid ${t};\n\t\t\tbackground: ${n};\n\t\t`}}
|
|
281
|
+
`,Sc=g.input`
|
|
285
282
|
position: absolute;
|
|
286
283
|
opacity: 0;
|
|
287
284
|
height: 100%;
|
|
288
285
|
width: 100%;
|
|
289
|
-
cursor: ${
|
|
290
|
-
|
|
291
|
-
${
|
|
292
|
-
|
|
286
|
+
cursor: ${e=>e.disabled?"not-allowed":"pointer"};
|
|
287
|
+
`,xc=g(yc)`
|
|
288
|
+
${e=>{let t;if("small"===e.$displaySize)t="1.5rem";else t="1.75rem";return y`
|
|
289
|
+
height: ${t};
|
|
290
|
+
width: ${t};
|
|
293
291
|
`}}
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
`,kc=p(Hl.div)`
|
|
292
|
+
color: ${e=>e.disabled?Hl.Neutral[4]:Hl.Neutral[8]};
|
|
293
|
+
`,$c=g(Al.div)`
|
|
297
294
|
overflow: hidden;
|
|
298
295
|
box-shadow: 0 4px 5px 0 rgba(0, 0, 0, 0.2);
|
|
299
|
-
`,
|
|
296
|
+
`,Cc=g.ul`
|
|
300
297
|
border-bottom-left-radius: 4px;
|
|
301
298
|
border-bottom-right-radius: 4px;
|
|
302
299
|
background: transparent;
|
|
303
300
|
max-height: 20rem;
|
|
304
|
-
width: ${
|
|
301
|
+
width: ${e=>e.width||"100%"};
|
|
305
302
|
overflow-y: auto;
|
|
306
303
|
padding: 0.5rem;
|
|
307
304
|
|
|
@@ -314,31 +311,31 @@ import{jsxs as t,jsx as e,Fragment as n}from"react/jsx-runtime";import*as r from
|
|
|
314
311
|
}
|
|
315
312
|
|
|
316
313
|
::-webkit-scrollbar-thumb {
|
|
317
|
-
background: ${
|
|
318
|
-
border-right: 5px solid ${
|
|
314
|
+
background: ${Hl.Neutral[4]};
|
|
315
|
+
border-right: 5px solid ${Hl.Neutral[8]};
|
|
319
316
|
border-top-right-radius: 4px;
|
|
320
317
|
border-bottom-right-radius: 4px;
|
|
321
318
|
}
|
|
322
319
|
|
|
323
|
-
${
|
|
320
|
+
${Tl.mobileL} {
|
|
324
321
|
max-height: 15rem;
|
|
325
322
|
}
|
|
326
|
-
`,
|
|
323
|
+
`,kc=g.li`
|
|
327
324
|
:hover,
|
|
328
325
|
:focus,
|
|
329
326
|
:active {
|
|
330
|
-
background: ${
|
|
327
|
+
background: ${Hl.Accent.Light[5]};
|
|
331
328
|
}
|
|
332
|
-
${
|
|
333
|
-
background: ${
|
|
329
|
+
${e=>{if(e.checked)return y`
|
|
330
|
+
background: ${Hl.Accent.Light[5]};
|
|
334
331
|
`}}
|
|
335
|
-
`,
|
|
332
|
+
`,Fc=g.button`
|
|
336
333
|
display: flex;
|
|
337
|
-
${
|
|
334
|
+
${e=>e.multiSelect?y`
|
|
338
335
|
padding: 0.5rem 1rem;
|
|
339
|
-
`:
|
|
336
|
+
`:y`
|
|
340
337
|
padding: 0 1rem;
|
|
341
|
-
height: 3.5rem;
|
|
338
|
+
min-height: 3.5rem;
|
|
342
339
|
align-items: center;
|
|
343
340
|
`}
|
|
344
341
|
margin: 0 -0.5rem;
|
|
@@ -351,48 +348,52 @@ import{jsxs as t,jsx as e,Fragment as n}from"react/jsx-runtime";import*as r from
|
|
|
351
348
|
:visited,
|
|
352
349
|
:focus,
|
|
353
350
|
:active {
|
|
354
|
-
outline-color: ${
|
|
351
|
+
outline-color: ${Hl.Accent.Light[3]};
|
|
355
352
|
}
|
|
356
353
|
|
|
357
354
|
span {
|
|
358
355
|
margin-bottom: 0;
|
|
359
356
|
}
|
|
360
|
-
`;
|
|
357
|
+
`;g.div`
|
|
361
358
|
position: relative;
|
|
362
359
|
border-radius: 4px;
|
|
363
360
|
display: flex;
|
|
364
361
|
justify-content: center;
|
|
365
362
|
align-items: center;
|
|
366
|
-
background: ${
|
|
367
|
-
`;const
|
|
368
|
-
${
|
|
369
|
-
color: ${
|
|
363
|
+
background: ${Hl.Neutral[8]};
|
|
364
|
+
`;const jc=g.div`
|
|
365
|
+
${ec("Body","regular")}
|
|
366
|
+
color: ${Hl.Neutral[1]};
|
|
370
367
|
text-align: left;
|
|
371
368
|
line-height: 1.375rem;
|
|
372
369
|
overflow: hidden;
|
|
373
|
-
${
|
|
370
|
+
${e=>{if("middle"!==e.truncateType)return y`
|
|
374
371
|
display: -webkit-box;
|
|
375
372
|
text-overflow: ellipsis;
|
|
376
373
|
-webkit-line-clamp: 2;
|
|
377
374
|
-webkit-box-orient: vertical;
|
|
378
375
|
`}}
|
|
379
|
-
`,
|
|
376
|
+
`,Oc=g.span`
|
|
377
|
+
color: ${Hl.Neutral[4]};
|
|
378
|
+
display: inline;
|
|
379
|
+
padding-left: 0.4rem;
|
|
380
|
+
`,Bc=g.div`
|
|
380
381
|
display: flex;
|
|
381
382
|
flex-direction: column;
|
|
382
|
-
`,Ac=
|
|
383
|
+
`,Ac=g.div`
|
|
383
384
|
width: 100%;
|
|
384
385
|
height: 1.5rem;
|
|
385
386
|
word-break: break-all;
|
|
386
387
|
overflow: hidden;
|
|
387
|
-
`,
|
|
388
|
+
`,Ic=g.div`
|
|
388
389
|
width: 100%;
|
|
389
390
|
text-overflow: ellipsis;
|
|
390
391
|
white-space: nowrap;
|
|
391
392
|
overflow: hidden;
|
|
392
393
|
direction: rtl;
|
|
393
394
|
text-align: right;
|
|
394
|
-
`;
|
|
395
|
-
color: ${
|
|
395
|
+
`;g(ac.Hyperlink.Default)`
|
|
396
|
+
color: ${Hl.Neutral[1]} !important;
|
|
396
397
|
padding: 1.25rem 1rem;
|
|
397
398
|
margin-bottom: 0;
|
|
398
399
|
|
|
@@ -400,56 +401,69 @@ import{jsxs as t,jsx as e,Fragment as n}from"react/jsx-runtime";import*as r from
|
|
|
400
401
|
:visited,
|
|
401
402
|
:focus,
|
|
402
403
|
:active {
|
|
403
|
-
outline-color: ${
|
|
404
|
-
color: ${
|
|
404
|
+
outline-color: ${Hl.Accent.Light[3]};
|
|
405
|
+
color: ${Hl.Neutral[1]};
|
|
405
406
|
}
|
|
406
|
-
`;const
|
|
407
|
+
`;const Pc=g((({className:e,checked:r,disabled:i,onChange:o,onKeyPress:s,displaySize:c="default",...u})=>{const[d,h]=l(r);a((()=>{h(r)}),[r]);const p=e=>{if(!i){const t=e;if(!(" "===t.key||"change"===e.type))return;o&&o(e),s&&s(t)}};return t(_c,{selected:d,disabled:i,className:e,"data-testid":"checkbox",$displaySize:c,role:"checkbox","aria-checked":d,"aria-labelledby":"checkbox-input",tabIndex:i?-1:0,onKeyDown:p,children:[n(Sc,{id:"checkbox-input","data-testid":"checkbox-input","aria-hidden":"true",type:"checkbox",tabIndex:-1,onChange:p,disabled:i,checked:d,...u}),d&&n(xc,{id:"checkmark","data-testid":"checkmark",disabled:i,$displaySize:c})]})}))`
|
|
407
408
|
flex: 0 0 1.5rem;
|
|
408
409
|
margin-right: 1rem;
|
|
409
|
-
`,
|
|
410
|
+
`,zc=g.div`
|
|
410
411
|
width: 100%;
|
|
411
412
|
display: flex;
|
|
412
413
|
justify-content: flex-end;
|
|
413
414
|
padding: 1rem 0 0.5rem 0;
|
|
414
|
-
`,
|
|
415
|
-
${
|
|
415
|
+
`,Dc=g.button`
|
|
416
|
+
${ec("Body","semibold")}
|
|
416
417
|
background-color: transparent;
|
|
417
418
|
background-repeat: no-repeat;
|
|
418
419
|
border: none;
|
|
419
420
|
cursor: pointer;
|
|
420
421
|
overflow: hidden;
|
|
421
422
|
outline: none;
|
|
422
|
-
${
|
|
423
|
-
`,
|
|
423
|
+
${e=>`\n\t\t\tcolor: ${Hl.Primary(e)};\n\t\t`}
|
|
424
|
+
`,Ec=g.div`
|
|
424
425
|
width: 100%;
|
|
425
426
|
display: flex;
|
|
426
427
|
padding: 1rem 0.5rem;
|
|
427
428
|
align-items: center;
|
|
428
|
-
`,Hc=
|
|
429
|
+
`,Hc=g(ac.Body)``,Mc=g(pc)`
|
|
430
|
+
margin-right: 0.625rem;
|
|
431
|
+
height: 1.5rem;
|
|
432
|
+
width: 1.5rem;
|
|
433
|
+
color: ${Hl.Validation.Red.Icon};
|
|
434
|
+
`;var Nc,Tc={};Object.defineProperty(Tc,"__esModule",{value:!0});var Lc=e;const Vc=e=>Lc.jsx("svg",{width:"1em",height:"1em",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:Lc.jsx("path",{d:"M9.99991 11.229L5.97891 15.25C5.81224 15.4167 5.61091 15.4967 5.37491 15.49C5.13891 15.4827 4.93757 15.3957 4.77091 15.229C4.60424 15.0623 4.52091 14.8577 4.52091 14.615C4.52091 14.3717 4.60424 14.1667 4.77091 14L8.77091 10L4.74991 5.979C4.58324 5.81233 4.50324 5.60767 4.50991 5.365C4.51724 5.12167 4.60424 4.91667 4.77091 4.75C4.93757 4.58333 5.14224 4.5 5.38491 4.5C5.62824 4.5 5.83324 4.58333 5.99991 4.75L9.99991 8.771L14.0209 4.75C14.1876 4.58333 14.3922 4.5 14.6349 4.5C14.8782 4.5 15.0832 4.58333 15.2499 4.75C15.4166 4.91667 15.4999 5.12167 15.4999 5.365C15.4999 5.60767 15.4166 5.81233 15.2499 5.979L11.2289 10L15.2499 14.021C15.4166 14.1877 15.4999 14.389 15.4999 14.625C15.4999 14.861 15.4166 15.0623 15.2499 15.229C15.0832 15.3957 14.8782 15.479 14.6349 15.479C14.3922 15.479 14.1876 15.3957 14.0209 15.229L9.99991 11.229Z",fill:"currentColor"})});Vc.displayName="CrossIcon",Nc=Tc.CrossIcon=Vc;var Rc,Wc={};Object.defineProperty(Wc,"__esModule",{value:!0});var qc=e;const Uc=e=>qc.jsx("svg",{width:"1em",height:"1em",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:qc.jsx("path",{d:"M15.688 16.896L11.125 12.333C10.667 12.6803 10.1703 12.941 9.635 13.115C9.10033 13.2883 8.54133 13.375 7.958 13.375C6.44467 13.375 5.15667 12.8507 4.094 11.802C3.03133 10.7533 2.5 9.472 2.5 7.958C2.5 6.44467 3.03133 5.15667 4.094 4.094C5.15667 3.03133 6.44467 2.5 7.958 2.5C9.472 2.5 10.7533 3.03133 11.802 4.094C12.8507 5.15667 13.375 6.44467 13.375 7.958C13.375 8.54133 13.2917 9.10033 13.125 9.635C12.9583 10.1703 12.6943 10.66 12.333 11.104L16.917 15.708C17.0837 15.8747 17.1633 16.0727 17.156 16.302C17.1493 16.5313 17.0627 16.7293 16.896 16.896C16.7293 17.0627 16.528 17.146 16.292 17.146C16.056 17.146 15.8547 17.0627 15.688 16.896ZM7.958 11.625C8.972 11.625 9.83667 11.2673 10.552 10.552C11.2673 9.83667 11.625 8.972 11.625 7.958C11.625 6.93067 11.2707 6.05567 10.562 5.333C9.854 4.611 8.986 4.25 7.958 4.25C6.93067 4.25 6.05567 4.611 5.333 5.333C4.611 6.05567 4.25 6.93067 4.25 7.958C4.25 8.986 4.611 9.854 5.333 10.562C6.05567 11.2707 6.93067 11.625 7.958 11.625Z",fill:"currentColor"})});Uc.displayName="MagnifierIcon",Rc=Wc.MagnifierIcon=Uc;const Qc=g.button`
|
|
429
435
|
display: flex;
|
|
436
|
+
justify-content: center;
|
|
430
437
|
align-items: center;
|
|
431
|
-
|
|
432
|
-
|
|
438
|
+
padding: 1.5rem;
|
|
439
|
+
background-color: transparent;
|
|
440
|
+
border: none;
|
|
441
|
+
cursor: pointer;
|
|
433
442
|
|
|
434
|
-
|
|
435
|
-
height:
|
|
436
|
-
width:
|
|
443
|
+
img {
|
|
444
|
+
height: 1rem;
|
|
445
|
+
width: 1rem;
|
|
437
446
|
}
|
|
438
447
|
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
448
|
+
&:active,
|
|
449
|
+
&:focus {
|
|
450
|
+
${({$outline:e})=>"none"===e&&"outline: none;"}
|
|
451
|
+
|
|
452
|
+
${({$highlight:e})=>e&&y`
|
|
453
|
+
background-color: ${Hl.Neutral[7]};
|
|
454
|
+
`}
|
|
455
|
+
}
|
|
456
|
+
`,Zc=o.forwardRef((({children:e,focusHighlight:t=!0,focusOutline:r="none",...i},o)=>n(Qc,{ref:o,$outline:r,$highlight:t,...i,children:e}))),Gc=g.li`
|
|
457
|
+
background: ${Hl.Neutral[7]};
|
|
444
458
|
display: flex;
|
|
445
459
|
border-radius: 4px;
|
|
446
460
|
align-items: center;
|
|
447
|
-
`,
|
|
448
|
-
${
|
|
449
|
-
height:
|
|
461
|
+
`,Xc=g.input`
|
|
462
|
+
${ec("Body","regular")}
|
|
463
|
+
height: 3rem;
|
|
450
464
|
border: none;
|
|
451
465
|
background: transparent;
|
|
452
|
-
|
|
466
|
+
flex: 1;
|
|
453
467
|
padding: 0 0.5rem 0 0;
|
|
454
468
|
|
|
455
469
|
:focus,
|
|
@@ -459,26 +473,36 @@ import{jsxs as t,jsx as e,Fragment as n}from"react/jsx-runtime";import*as r from
|
|
|
459
473
|
|
|
460
474
|
::placeholder,
|
|
461
475
|
::-webkit-input-placeholder {
|
|
462
|
-
color: ${
|
|
476
|
+
color: ${Hl.Neutral[3]};
|
|
463
477
|
}
|
|
464
|
-
`,
|
|
465
|
-
height: 1.
|
|
466
|
-
width: 1.
|
|
478
|
+
`,Kc=g(Rc)`
|
|
479
|
+
height: 1.375rem;
|
|
480
|
+
width: 1.375rem;
|
|
467
481
|
margin: 0 0.5rem;
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
482
|
+
color: ${Hl.Neutral[3]};
|
|
483
|
+
`,Yc=g(Zc)`
|
|
484
|
+
padding: 0;
|
|
485
|
+
margin: 0 0.5rem;
|
|
486
|
+
color: ${Hl.Neutral[3]};
|
|
487
|
+
cursor: pointer;
|
|
488
|
+
`,Jc=g(Nc)`
|
|
489
|
+
height: 1.375rem;
|
|
490
|
+
width: 1.375rem;
|
|
491
|
+
color: ${Hl.Neutral[3]};
|
|
492
|
+
`,eu=u(((e,r)=>{const{onClear:i,...o}=e;return t(Gc,{children:[n(Kc,{}),n(Xc,{ref:r,...o}),o.value&&n(Yc,{"aria-label":"Clear search",focusOutline:"browser",onClick:i,children:n(Jc,{})})]},"search")})),tu=({listItems:e,listExtractor:i,valueExtractor:o,onSelectItem:s,listStyleWidth:u,visible:d,enableSearch:h,searchPlaceholder:p="Search",onSearch:f,searchFunction:g,onDismiss:m,multiSelect:y,selectedItems:v,onSelectAll:b,onRetry:w,itemsLoadState:_="success",itemTruncationType:S="end",renderListItem:x,...$})=>{const[C,k]=l(0),[F,j]=l(""),[O,B]=l(e),[A,I]=l(0),P=function(e,t){const n=ho.fun(e),[[r],i]=ll(1,n?e:[e],n?t||[]:t);return n||2==arguments.length?[r,i]:r}({height:A}),z=c(),D=c(),E=c([]),H=c(),M=c(C),N=c(O),T=e=>{M.current=e,k(e)},L=e=>{N.current=e,B(e)};a((()=>(document.addEventListener("keydown",Q),()=>{document.removeEventListener("keydown",Q)})),[]),a((()=>{q(F)}),[F]),a((()=>{j(""),d?(I(U()),H&&H.current?(H.current.focus(),T(-1)):E.current[C]&&E.current[C].focus()):I(0)}),[d]),a((()=>{if(d){const e=U();I(e)}}),[O]),a((()=>{L(e),j(""),T(0)}),[e]);const V=e=>i?i(e):e.toString(),R=e=>{const t=i?i(e):e.toString();let n=0;return D&&D.current&&(n=D.current.getBoundingClientRect().width-100),hc.shouldTruncateToTwoLines("string"==typeof t?t:t.title,n)},W=e=>qi(v,e)>-1,q=t=>{if(""===t)L(e);else if(g){const e=g(t);L(e)}else{const n=e.filter((e=>{const n=V(e),r="object"==typeof n?n.title.toLowerCase():n.toLowerCase();return"object"==typeof n&&n.secondaryLabel?r.includes(t.trim().toLowerCase())||n.secondaryLabel.includes(t.trim().toLowerCase()):r.includes(t.trim().toLowerCase())}));L(n)}},U=()=>D&&D.current?D.current.getBoundingClientRect().height:0,Q=e=>{if(z&&z.current.contains(e.target))switch(e.code){case"ArrowDown":if(M.current<N.current.length-1){const e=M.current+1;E.current[e].focus(),T(e)}break;case"ArrowUp":if(M.current>0){const e=M.current-1;E.current[e].focus(),T(M.current-1)}break;case"Escape":m&&m()}},Z=(e,t)=>{e.preventDefault(),s&&s(t,(e=>o?o(e):e)(t))},G=e=>{const t=e.target.value;j(t),f&&f()},X=()=>{j(""),f&&f()},K=()=>{w&&w()},Y=e=>{const r=V(e),i="string"==typeof r?r:r.title;return t(Bc,{"data-testid":"truncate-middle-container",children:[n(Ac,{children:i}),t(Ic,{children:[" ",i]})]})},J=e=>{const i=V(e);return"string"==typeof i?n(r,{children:i}):t(r,{children:[i.title,i.secondaryLabel&&n(Oc,{children:i.secondaryLabel})]})},ee=()=>{if(!w||w&&"success"===_)return O.map(((e,r)=>n(kc,{checked:W(e)&&!y,children:t(Fc,{onClick:t=>{Z(t,e)},ref:e=>E.current[r]=e,"data-testid":"list-item",type:"button",tabIndex:d?0:-1,multiSelect:y,children:[y&&n(Pc,{checked:W(e),displaySize:"small"}),x?x(e,{selected:W(e)}):n(jc,{truncateType:S,children:"middle"===S&&R(e)?Y(e):J(e)})]})},((e,t)=>`item_${t}__${o?o(e):e}`)(e,r))))},te=()=>{if(y&&O.length>0&&!F&&"success"===_)return n(zc,{children:n(Dc,{onClick:b,children:0===v.length?"Select all":"Unselect all"})},"selectAll")},ne=()=>{if(F&&0===O.length)return t(Ec,{"data-testid":"list-no-results",children:[n(Mc,{"data-testid":"no-result-icon"}),n(Hc,{children:"No results found."})]},"noResults")},re=()=>{if(w&&"loading"===_)return t(Ec,{"data-testid":"list-loading",children:[n(dc,{$buttonStyle:"secondary",size:24}),n(Hc,{children:"Loading..."})]},"loading")},ie=()=>{if(w&&"fail"===_)return t(Ec,{"data-testid":"list-fail",children:[n(Mc,{"data-testid":"load-error-icon"}),n(Hc,{children:"Failed to load."}),n(Dc,{onClick:K,children:"Try again."})]},"noResults")};return n($c,{style:P,"data-testid":d?"dropdown-container":"dropdown-container-hidden",ref:z,children:(()=>{if(d)return t(Cc,{ref:D,"data-testid":"dropdown-list",width:u,role:"list",...$,children:[(h||g)&&"success"===_?n(eu,{ref:H,onChange:G,value:F,placeholder:p,"data-testid":"search-input","aria-label":"search-input",tabIndex:d?0:-1,onClear:X}):null,te(),ne(),re(),ie(),ee()]})})()})};var nu,ru={};Object.defineProperty(ru,"__esModule",{value:!0});var iu=e;const ou=e=>iu.jsx("svg",{width:"1em",height:"1em",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:iu.jsx("path",{d:"M2.62611 5.81312C2.84811 5.59112 3.10478 5.48012 3.39611 5.48012C3.68811 5.48012 3.94511 5.59112 4.16711 5.81312L10.1881 11.8341L16.2301 5.79212C16.4381 5.58412 16.6881 5.48012 16.9801 5.48012C17.2714 5.48012 17.5281 5.59112 17.7501 5.81312C17.9588 6.02179 18.0631 6.27545 18.0631 6.57412C18.0631 6.87279 17.9588 7.12612 17.7501 7.33412L10.8131 14.2721C10.7158 14.3688 10.6151 14.4381 10.5111 14.4801C10.4071 14.5215 10.2994 14.5421 10.1881 14.5421C10.0768 14.5421 9.96911 14.5215 9.86511 14.4801C9.76111 14.4381 9.66044 14.3688 9.56311 14.2721L2.60511 7.31312C2.38244 7.09112 2.27811 6.83779 2.29211 6.55312C2.30611 6.26845 2.41744 6.02179 2.62611 5.81312Z",fill:"currentColor"})});ou.displayName="ChevronDownIcon",nu=ru.ChevronDownIcon=ou;const au={collections:{base:{InputBoxShadow:y`
|
|
493
|
+
inset 0 0 6px 1px ${Hl.Shadow.Accent}
|
|
494
|
+
`,InputErrorBoxShadow:y`
|
|
495
|
+
inset 0 0 6px 1px ${Hl.Shadow.Red}
|
|
496
|
+
`}},defaultValue:"base"},su=e=>t=>{const n=t.theme,r=Pl(au,n[zl.designTokenScheme]);return n.options?.designToken?Il(r,e,n.options.designToken):Il(r,e)},lu=su("InputBoxShadow"),cu=su("InputErrorBoxShadow"),uu="all 300ms cubic-bezier(0.21, 0.79, 0.53, 1)",du=g.div`
|
|
473
497
|
position: relative;
|
|
474
498
|
min-height: 3rem;
|
|
475
499
|
height: 3rem;
|
|
476
500
|
width: 100%;
|
|
477
501
|
|
|
478
|
-
${
|
|
502
|
+
${Tl.tablet} {
|
|
479
503
|
height: auto;
|
|
480
504
|
}
|
|
481
|
-
`,
|
|
505
|
+
`,hu=g.button`
|
|
482
506
|
display: flex;
|
|
483
507
|
position: relative;
|
|
484
508
|
align-items: center;
|
|
@@ -494,7 +518,7 @@ import{jsxs as t,jsx as e,Fragment as n}from"react/jsx-runtime";import*as r from
|
|
|
494
518
|
:active {
|
|
495
519
|
outline: none;
|
|
496
520
|
}
|
|
497
|
-
`,
|
|
521
|
+
`,pu=m`
|
|
498
522
|
from {
|
|
499
523
|
position: absolute;
|
|
500
524
|
top: 0;
|
|
@@ -506,72 +530,84 @@ import{jsxs as t,jsx as e,Fragment as n}from"react/jsx-runtime";import*as r from
|
|
|
506
530
|
to {
|
|
507
531
|
position: relative;
|
|
508
532
|
}
|
|
509
|
-
`,
|
|
533
|
+
`,fu=g.div`
|
|
510
534
|
position: relative;
|
|
511
|
-
border: 1px solid ${
|
|
535
|
+
border: 1px solid ${Hl.Neutral[5]};
|
|
512
536
|
border-radius: ${"4px"};
|
|
513
|
-
background: ${
|
|
537
|
+
background: ${Hl.Neutral[8]};
|
|
514
538
|
|
|
515
539
|
:focus-within {
|
|
516
|
-
border: 1px solid ${
|
|
517
|
-
box-shadow:
|
|
540
|
+
border: 1px solid ${Hl.Accent.Light[1]};
|
|
541
|
+
box-shadow: ${lu};
|
|
518
542
|
}
|
|
519
543
|
|
|
520
|
-
${
|
|
544
|
+
${e=>e.expanded?y`
|
|
521
545
|
position: absolute;
|
|
522
546
|
top: 0;
|
|
523
547
|
left: 0;
|
|
524
548
|
width: 100%;
|
|
525
549
|
z-index: 2;
|
|
526
|
-
`:
|
|
527
|
-
animation: ${
|
|
550
|
+
`:y`
|
|
551
|
+
animation: ${pu} 0.5s ease-in-out;
|
|
528
552
|
`}
|
|
529
553
|
|
|
530
|
-
${
|
|
531
|
-
background: ${
|
|
554
|
+
${e=>e.disabled?y`
|
|
555
|
+
background: ${Hl.Neutral[6](e)};
|
|
532
556
|
|
|
533
|
-
${
|
|
557
|
+
${hu} {
|
|
534
558
|
cursor: not-allowed;
|
|
535
559
|
}
|
|
536
560
|
|
|
537
561
|
:focus-within {
|
|
538
|
-
border: 1px solid ${
|
|
562
|
+
border: 1px solid ${Hl.Neutral[5](e)};
|
|
563
|
+
box-shadow: none;
|
|
564
|
+
}
|
|
565
|
+
`:e.$readOnly?y`
|
|
566
|
+
border: none;
|
|
567
|
+
background: transparent !important;
|
|
568
|
+
|
|
569
|
+
${hu} {
|
|
570
|
+
padding-left: 0rem;
|
|
571
|
+
}
|
|
572
|
+
|
|
573
|
+
:focus-within {
|
|
574
|
+
border: none;
|
|
539
575
|
box-shadow: none;
|
|
540
576
|
}
|
|
541
|
-
`:
|
|
542
|
-
border: 1px solid ${
|
|
577
|
+
`:e.error?y`
|
|
578
|
+
border: 1px solid ${Hl.Validation.Red.Border(e)};
|
|
543
579
|
|
|
544
580
|
:focus-within {
|
|
545
|
-
border: 1px solid ${
|
|
546
|
-
box-shadow:
|
|
581
|
+
border: 1px solid ${Hl.Validation.Red.Border(e)};
|
|
582
|
+
box-shadow: ${cu};
|
|
547
583
|
}
|
|
548
584
|
`:void 0}
|
|
549
|
-
`,
|
|
550
|
-
transform: rotate(${
|
|
551
|
-
transition: ${
|
|
585
|
+
`,gu=g.div`
|
|
586
|
+
transform: rotate(${e=>e.expanded?180:0}deg);
|
|
587
|
+
transition: ${uu};
|
|
552
588
|
margin-left: 1rem;
|
|
553
|
-
`,
|
|
554
|
-
color: ${
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
`,
|
|
589
|
+
`,mu=g(nu)`
|
|
590
|
+
color: ${Hl.Neutral[3]};
|
|
591
|
+
height: ${Xl.Body.fontSize}rem;
|
|
592
|
+
width: ${Xl.Body.fontSize}rem;
|
|
593
|
+
`,yu=g.div`
|
|
558
594
|
height: 1px;
|
|
559
|
-
background: ${
|
|
595
|
+
background: ${Hl.Neutral[5]};
|
|
560
596
|
margin: 0 0.5rem;
|
|
561
|
-
`,
|
|
597
|
+
`,vu=g.div`
|
|
562
598
|
display: flex;
|
|
563
599
|
flex: 1;
|
|
564
|
-
`,
|
|
600
|
+
`,bu=g(ac.Body)`
|
|
565
601
|
text-align: left;
|
|
566
602
|
line-height: 1.375rem;
|
|
567
|
-
${
|
|
603
|
+
${e=>{if("middle"!==e.truncateType)return y`
|
|
568
604
|
display: -webkit-box;
|
|
569
605
|
-webkit-line-clamp: 1;
|
|
570
606
|
-webkit-box-orient: vertical;
|
|
571
607
|
text-overflow: ellipsis;
|
|
572
608
|
`}}
|
|
573
609
|
overflow: hidden;
|
|
574
|
-
`,
|
|
575
|
-
color: ${
|
|
576
|
-
`,
|
|
610
|
+
`,wu=g(bu)`
|
|
611
|
+
color: ${Hl.Neutral[3]};
|
|
612
|
+
`,_u=({children:e,show:t,error:r,disabled:i,testId:o,onBlur:s,readOnly:l})=>{const u=c(),d=c(t);a((()=>(document.addEventListener("mousedown",h),()=>{document.removeEventListener("mousedown",h)})),[]),a((()=>{d.current=t}),[t]);const h=e=>{if(!i){if(u&&u.current.contains(e.target))return;d.current&&s()}};return n(du,{children:n(fu,{ref:u,error:r&&!t,disabled:i,$readOnly:l,expanded:t,"data-testid":o,children:e})})},Su=({selectedOption:e,placeholder:i="Select",options:o,disabled:s,error:u,"data-testid":d,id:h,enableSearch:p=!1,searchFunction:f,searchPlaceholder:g,valueExtractor:m,valueToStringFunction:y,listExtractor:v,displayValueExtractor:b,onSelectOption:w,listStyleWidth:_,onShowOptions:S,onHideOptions:x,onRetry:$,optionsLoadState:C="success",optionTruncationType:k="end",renderCustomSelectedOption:F,renderListItem:j,...O})=>{const[B,A]=l(e),[I,P]=l(!1),z=c(),D=c();a((()=>{A(e)}),[e]);const E=(e,t)=>{A(e),P(!1),N(!1),z&&z.current.focus(),w&&w(e,t)},H=()=>{I&&(P(!1),N(!1)),z&&z.current.focus()},M=e=>{if("middle"===k){let t=0;return D&&D.current&&(t=D.current.getBoundingClientRect().width),hc.truncateOneLine((e=>"string"==typeof e?e:y(e)||e.toString())(e),t,120,8)}return e},N=e=>{!e&&x&&x(),e&&S&&S()};return t(_u,{show:I,error:u&&!I,disabled:s,readOnly:O.readOnly,testId:d,onBlur:()=>{P(!1),N(!1)},children:[n(hu,{ref:z,type:"button","data-testid":h||"selector",onClick:e=>{e.preventDefault(),s||O.readOnly||(P(!I),N(!I))},...O,children:t(r,{children:[n(vu,{ref:D,children:B?F?F(B):n(bu,{truncateType:k,children:M(b?b(B):m?m(B):B.toString())}):n(wu,{truncateType:k,children:i})}),!O.readOnly&&n(gu,{expanded:I,children:n(mu,{})})]})}),I&&n(yu,{}),o&&o.length>0?n(tu,{listItems:o,onSelectItem:E,onDismiss:H,valueExtractor:m,listExtractor:v,listStyleWidth:_,visible:I,enableSearch:p,searchPlaceholder:g,searchFunction:f,"data-testid":"dropdown-list",selectedItems:B?[B]:[],onRetry:$,itemsLoadState:C,itemTruncationType:k,renderListItem:j}):null]})},xu=({selectedOptions:e,placeholder:i="Select",options:o,disabled:s,error:u,"data-testid":d,enableSearch:h=!1,searchFunction:p,searchPlaceholder:f,valueExtractor:g,listExtractor:m,onSelectOptions:y,listStyleWidth:v,onShowOptions:b,onHideOptions:w,onRetry:_,optionsLoadState:S="success",optionTruncationType:x="end",...$})=>{const[C,k]=l(e||[]),[F,j]=l(!1),O=c();a((()=>{k(e||[])}),[e]);const B=(e,t)=>{const n=[...C],r=qi(C,(e=>(g?g(e):e)===t));r>-1?n.splice(r,1):n.push(e),k(n),P(!1),O&&O.current.focus(),y&&y(n)},A=()=>{F&&(j(!1),P(!1)),O&&O.current.focus()},I=()=>{C&&C.length>0?(k([]),y([])):(k(o),y(o))},P=e=>{!e&&w&&w(),e&&b&&b()};return t(_u,{show:F,error:u&&!F,disabled:s,testId:d,onBlur:()=>{j(!1),P(!1)},children:[n(hu,{ref:O,type:"button","data-testid":"selector",onClick:e=>{e.preventDefault(),s||(j(!F),P(!F))},...$,children:t(r,{children:[n(vu,{children:C&&0!==C.length?n(bu,{children:C&&0!=C.length?`${C.length} selected`:i}):n(wu,{truncateType:x,children:i})}),n(gu,{expanded:F,children:n(mu,{})})]})}),F&&n(yu,{}),o&&o.length>0||_?n(tu,{listItems:o,onSelectItem:B,onDismiss:A,valueExtractor:g,listExtractor:m,listStyleWidth:v,visible:F,enableSearch:h,searchFunction:p,searchPlaceholder:f,"data-testid":"dropdown-list",multiSelect:!0,selectedItems:C,onSelectAll:I,onRetry:_,itemsLoadState:S,itemTruncationType:x}):null]})};export{xu as InputMultiSelect,Su as InputSelect};
|
|
577
613
|
//# sourceMappingURL=index.js.map
|