@openfin/workspace 22.5.21 → 23.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/client-api/src/integrations/microsoft.utils.d.ts +6 -6
- package/client-api-platform/src/api/app-directory.d.ts +1 -1
- package/client-api-platform/src/api/controllers/theme-storage-controller-store.d.ts +2 -1
- package/client-api-platform/src/api/controllers/theme-storage-controller.d.ts +18 -4
- package/client-api-platform/src/api/dock.d.ts +4 -2
- package/client-api-platform/src/api/language.d.ts +1 -1
- package/client-api-platform/src/api/pages/open-pages.d.ts +2 -2
- package/client-api-platform/src/api/theming.d.ts +11 -0
- package/client-api-platform/src/init/override-callback/page-defaults.d.ts +1 -1
- package/client-api-platform/src/init/override-callback/view-options.d.ts +1 -1
- package/client-api-platform/src/init/theming.d.ts +2 -1
- package/client-api-platform/src/shapes.d.ts +33 -13
- package/common/src/api/pages/idb.d.ts +2 -4
- package/common/src/api/protocol/browser.d.ts +13 -11
- package/common/src/api/protocol/shapes/workspace.d.ts +8 -0
- package/common/src/api/protocol/workspace-platform.d.ts +25 -23
- package/common/src/api/provider.d.ts +1 -1
- package/common/src/api/storefront.d.ts +5 -5
- package/common/src/api/theming.d.ts +15 -6
- package/common/src/utils/enterprise-menu.d.ts +1 -1
- package/common/src/utils/env.d.ts +1 -1
- package/common/src/utils/global-context-menu.d.ts +1 -1
- package/common/src/utils/layout.d.ts +1 -2
- package/common/src/utils/logger.d.ts +22 -0
- package/common/src/utils/menu-window-provider.d.ts +6 -6
- package/common/src/utils/modal-bounds.d.ts +1 -1
- package/common/src/utils/namespaced-local-storage.d.ts +2 -2
- package/common/src/utils/popup-window.d.ts +15 -0
- package/common/src/utils/shared-emitter.d.ts +4 -4
- package/common/src/utils/types.d.ts +1 -1
- package/common/src/utils/window.d.ts +8 -0
- package/common/src/utils/workspace-modals.d.ts +1 -1
- package/dock3/src/api/protocol.d.ts +3 -1
- package/dock3/src/shapes/enterprise.d.ts +3 -1
- package/dock3/src/shapes/shapes.d.ts +9 -1
- package/externals.report.json +69 -18
- package/home.js +1486 -1
- package/home.js.LICENSE.txt +1 -0
- package/home.js.map +1 -1
- package/index.js +1486 -1
- package/index.js.LICENSE.txt +1 -0
- package/index.js.map +1 -1
- package/notifications.js +1486 -1
- package/notifications.js.LICENSE.txt +1 -0
- package/notifications.js.map +1 -1
- package/package.json +10 -3
- package/search-api/src/provider/remote/info.d.ts +1 -1
- package/search-api/src/shapes.d.ts +22 -1
- package/store.js +1486 -1
- package/store.js.LICENSE.txt +1 -0
- package/store.js.map +1 -1
package/home.js
CHANGED
|
@@ -1,2 +1,1487 @@
|
|
|
1
|
-
(()=>{var e={847:(e,t)=>{var a={2346:function(e,t,a){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.getMostReadable=t.darkenColor=t.lightenColor=void 0;const r=n(a(6535));t.lightenColor=(e,t)=>o(e,"lighten",t),t.darkenColor=(e,t)=>o(e,"darken",t);const o=(e,t,a)=>{if(a&&(a<0||a>100))throw new Error(`${a} must be a number between 0 and 100`);return(0,r.default)(e)[t](a).toString()};t.getMostReadable=(e,t)=>r.default.mostReadable(e,t).toHexString()},2317:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.IconSize=t.Transition=t.LineHeight=t.FontWeight=t.FontSize=t.FontFamily=t.Shadow=t.Radius=t.UnitPx=t.Unit=t.SizeName=t.Size=t.Color=void 0,t.Color={white:"#FFFFFF",lightGray1:"#FAFBFE",lightGray2:"#F3F5F8",lightGray3:"#ECEEF1",lightGray4:"#DDDFE4",lightGray5:"#C9CBD2",neutralGray:"#7D808A",neutralGray80:"rgba(125,128,138,0.8)",silverGray:"#C0C1C2",darkGray1:"#53565F",darkGray2:"#383A40",darkGray3:"#2F3136",darkGray4:"#24262B",darkGray5:"#1E1F23",darkGray6:"#111214",openFinDarkest:"#3D39CD",openFinDarker:"#4642E0",openFin:"#504CFF",openFinLight:"#5254FB",openFinLighter:"#5C5EFE",openFinLightest:"#6864FF",functional1:"#207735",functional2:"#46C8F1",functional3:"#0A76D3",functional4:"#6CADE5",functional5:"#0A76D3",functional6:"#882BFE",functional7:"#F31818",functional8:"#C93400",functional9:"#FF5E60",functional10:"#F48F00",purple:"#8C61FF",lightblue:"#36C3FE",aqua:"#00CC88",yellow:"#FFEB00",salmon:"#FF8C4C",pink:"#FF5E60",lightpink:"#FF8FB8",white00:"rgba(255,255,255,0.0)",white10:"rgba(255,255,255,0.1)",white20:"rgba(255,255,255,0.2)",white30:"rgba(255,255,255,0.3)",white40:"rgba(255,255,255,0.4)",white50:"rgba(255,255,255,0.5)",white60:"rgba(255,255,255,0.6)",white70:"rgba(255,255,255,0.7)",white80:"rgba(255,255,255,0.8)",white90:"rgba(255,255,255,0.9)",black00:"rgba(0,0,0,0.0)",black10:"rgba(0,0,0,0.1)",black20:"rgba(0,0,0,0.2)",black30:"rgba(0,0,0,0.3)",black40:"rgba(0,0,0,0.4)",black50:"rgba(0,0,0,0.5)",black60:"rgba(0,0,0,0.6)",black70:"rgba(0,0,0,0.7)",black80:"rgba(0,0,0,0.8)",black90:"rgba(0,0,0,0.9)",transparent:"transparent",openFinActive:"#4642FF",openFinHover:"#6965FF",lightGray4Active:"#D7DADF",lightGray4Hover:"#EBECEF",darkGray2Active:"#33353B",darkGray2Hover:"#44464E"},t.Size={xsmall:"xsmall",small:"small",base:"base",large:"large",xlarge:"xlarge",xxlarge:"xxlarge",xxxlarge:"xxxlarge",xxxxlarge:"xxxxlarge"},t.SizeName={[t.Size.xsmall]:"Extra Small",[t.Size.small]:"Small",[t.Size.base]:"Base",[t.Size.large]:"Large",[t.Size.xlarge]:"Extra Large",[t.Size.xxlarge]:"2X Large",[t.Size.xxxlarge]:"3X Large",[t.Size.xxxxlarge]:"4X Large"},t.Unit={[t.Size.xsmall]:4,[t.Size.small]:8,[t.Size.base]:12,[t.Size.large]:16,[t.Size.xlarge]:20,[t.Size.xxlarge]:24,[t.Size.xxxlarge]:32,[t.Size.xxxxlarge]:48},t.UnitPx={[t.Size.xsmall]:"4px",[t.Size.small]:"8px",[t.Size.base]:"12px",[t.Size.large]:"16px",[t.Size.xlarge]:"20px",[t.Size.xxlarge]:"24px",[t.Size.xxxlarge]:"32px",[t.Size.xxxxlarge]:"48px"},t.Radius={[t.Size.xsmall]:"2px",[t.Size.small]:"4px",[t.Size.base]:"8px",[t.Size.large]:"24px",pill:"100vh",round:"50%",none:"0"},t.Shadow={[t.Size.base]:"0 4px 4px rgba(0, 0, 0, 0.25)"},t.FontFamily=["Inter","system-ui","BlinkMacSystemFont","Segoe UI","Roboto","Oxygen-Sans","Ubuntu","Cantarell","Helvetica Neue","sans-serif"].join(","),t.FontSize={[t.Size.xsmall]:"8px",[t.Size.small]:"10px",[t.Size.base]:"12px",[t.Size.large]:"14px",[t.Size.xlarge]:"16px",[t.Size.xxlarge]:"18px",[t.Size.xxxlarge]:"20px",[t.Size.xxxxlarge]:"40px"},t.FontWeight={normal:400,bold:600},t.LineHeight={ui:1,heading:1.2,text:1.5},t.Transition={base:"200ms cubic-bezier(0.16, 1, 0.3, 1)",none:"0ms"},t.IconSize={[t.Size.xsmall]:t.UnitPx.small,[t.Size.small]:t.UnitPx.base,[t.Size.base]:"15px",[t.Size.large]:t.UnitPx.xlarge,[t.Size.xlarge]:t.UnitPx.xxlarge,[t.Size.xxlarge]:t.UnitPx.xxxlarge,[t.Size.xxxlarge]:t.UnitPx.xxxxlarge}},6893:(e,t,a)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.createTheme=void 0;const n=a(2317),r=a(2346),o=a(5939),i={fontFamily:n.FontFamily,fontSize:n.FontSize,fontWeight:n.FontWeight,lineHeight:n.LineHeight,iconSize:n.IconSize,radius:n.Radius,shadow:n.Shadow,transition:n.Transition,unit:n.Unit,px:n.UnitPx},s=(e,t)=>({[`${e}Active`]:(0,r.darkenColor)(t,2),[`${e}Hover`]:(0,r.lightenColor)(t,5),[`${e}Focused`]:(0,r.getMostReadable)(t,[n.Color.white,n.Color.darkGray5]),[`${e}Text`]:(0,r.getMostReadable)(t,[n.Color.white,n.Color.darkGray5])});t.createTheme=e=>Object.assign(Object.assign({},i),{palette:Object.assign(Object.assign(Object.assign({},s(o.Palette.brandPrimary,e.brandPrimary)),s(o.Palette.brandSecondary,e.brandSecondary)),e)})},5939:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.Palette=void 0,t.Palette={background1:"background1",background2:"background2",background3:"background3",background4:"background4",background5:"background5",background6:"background6",brandPrimary:"brandPrimary",brandSecondary:"brandSecondary",brandPrimaryActive:"brandPrimaryActive",brandPrimaryHover:"brandPrimaryHover",brandPrimaryFocused:"brandPrimaryFocused",brandPrimaryText:"brandPrimaryText",brandSecondaryActive:"brandSecondaryActive",brandSecondaryHover:"brandSecondaryHover",brandSecondaryFocused:"brandSecondaryFocused",brandSecondaryText:"brandSecondaryText",inputBackground:"inputBackground",inputColor:"inputColor",inputPlaceholder:"inputPlaceholder",inputDisabled:"inputDisabled",inputFocused:"inputFocused",inputBorder:"inputBorder",statusSuccess:"statusSuccess",statusWarning:"statusWarning",statusCritical:"statusCritical",statusActive:"statusActive",textDefault:"textDefault",textHelp:"textHelp",textInactive:"textInactive",borderNeutral:"borderNeutral",contentBackground1:"contentBackground1",contentBackground2:"contentBackground2",contentBackground3:"contentBackground3",contentBackground4:"contentBackground4",contentBackground5:"contentBackground5",linkDefault:"linkDefault",linkHover:"linkHover"}},6535:function(e){e.exports=function(){function e(t){return(e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(t)}var t=/^\s+/,a=/\s+$/;function n(r,o){if(o=o||{},(r=r||"")instanceof n)return r;if(!(this instanceof n))return new n(r,o);var i=function(n){var r,o,i,s={r:0,g:0,b:0},c=1,d=null,l=null,u=null,p=!1,h=!1;return"string"==typeof n&&(n=function(e){e=e.replace(t,"").replace(a,"").toLowerCase();var n,r=!1;if(b[e])e=b[e],r=!0;else if("transparent"==e)return{r:0,g:0,b:0,a:0,format:"name"};return(n=D.rgb.exec(e))?{r:n[1],g:n[2],b:n[3]}:(n=D.rgba.exec(e))?{r:n[1],g:n[2],b:n[3],a:n[4]}:(n=D.hsl.exec(e))?{h:n[1],s:n[2],l:n[3]}:(n=D.hsla.exec(e))?{h:n[1],s:n[2],l:n[3],a:n[4]}:(n=D.hsv.exec(e))?{h:n[1],s:n[2],v:n[3]}:(n=D.hsva.exec(e))?{h:n[1],s:n[2],v:n[3],a:n[4]}:(n=D.hex8.exec(e))?{r:x(n[1]),g:x(n[2]),b:x(n[3]),a:F(n[4]),format:r?"name":"hex8"}:(n=D.hex6.exec(e))?{r:x(n[1]),g:x(n[2]),b:x(n[3]),format:r?"name":"hex"}:(n=D.hex4.exec(e))?{r:x(n[1]+""+n[1]),g:x(n[2]+""+n[2]),b:x(n[3]+""+n[3]),a:F(n[4]+""+n[4]),format:r?"name":"hex8"}:!!(n=D.hex3.exec(e))&&{r:x(n[1]+""+n[1]),g:x(n[2]+""+n[2]),b:x(n[3]+""+n[3]),format:r?"name":"hex"}}(n)),"object"==e(n)&&(O(n.r)&&O(n.g)&&O(n.b)?(r=n.r,o=n.g,i=n.b,s={r:255*P(r,255),g:255*P(o,255),b:255*P(i,255)},p=!0,h="%"===String(n.r).substr(-1)?"prgb":"rgb"):O(n.h)&&O(n.s)&&O(n.v)?(d=I(n.s),l=I(n.v),s=function(e,t,a){e=6*P(e,360),t=P(t,100),a=P(a,100);var n=Math.floor(e),r=e-n,o=a*(1-t),i=a*(1-r*t),s=a*(1-(1-r)*t),c=n%6;return{r:255*[a,i,o,o,s,a][c],g:255*[s,a,a,i,o,o][c],b:255*[o,o,s,a,a,i][c]}}(n.h,d,l),p=!0,h="hsv"):O(n.h)&&O(n.s)&&O(n.l)&&(d=I(n.s),u=I(n.l),s=function(e,t,a){var n,r,o;function i(e,t,a){return a<0&&(a+=1),a>1&&(a-=1),a<1/6?e+6*(t-e)*a:a<.5?t:a<2/3?e+(t-e)*(2/3-a)*6:e}if(e=P(e,360),t=P(t,100),a=P(a,100),0===t)n=r=o=a;else{var s=a<.5?a*(1+t):a+t-a*t,c=2*a-s;n=i(c,s,e+1/3),r=i(c,s,e),o=i(c,s,e-1/3)}return{r:255*n,g:255*r,b:255*o}}(n.h,d,u),p=!0,h="hsl"),n.hasOwnProperty("a")&&(c=n.a)),c=S(c),{ok:p,format:n.format||h,r:Math.min(255,Math.max(s.r,0)),g:Math.min(255,Math.max(s.g,0)),b:Math.min(255,Math.max(s.b,0)),a:c}}(r);this._originalInput=r,this._r=i.r,this._g=i.g,this._b=i.b,this._a=i.a,this._roundA=Math.round(100*this._a)/100,this._format=o.format||i.format,this._gradientType=o.gradientType,this._r<1&&(this._r=Math.round(this._r)),this._g<1&&(this._g=Math.round(this._g)),this._b<1&&(this._b=Math.round(this._b)),this._ok=i.ok}function r(e,t,a){e=P(e,255),t=P(t,255),a=P(a,255);var n,r,o=Math.max(e,t,a),i=Math.min(e,t,a),s=(o+i)/2;if(o==i)n=r=0;else{var c=o-i;switch(r=s>.5?c/(2-o-i):c/(o+i),o){case e:n=(t-a)/c+(t<a?6:0);break;case t:n=(a-e)/c+2;break;case a:n=(e-t)/c+4}n/=6}return{h:n,s:r,l:s}}function o(e,t,a){e=P(e,255),t=P(t,255),a=P(a,255);var n,r,o=Math.max(e,t,a),i=Math.min(e,t,a),s=o,c=o-i;if(r=0===o?0:c/o,o==i)n=0;else{switch(o){case e:n=(t-a)/c+(t<a?6:0);break;case t:n=(a-e)/c+2;break;case a:n=(e-t)/c+4}n/=6}return{h:n,s:r,v:s}}function i(e,t,a,n){var r=[A(Math.round(e).toString(16)),A(Math.round(t).toString(16)),A(Math.round(a).toString(16))];return n&&r[0].charAt(0)==r[0].charAt(1)&&r[1].charAt(0)==r[1].charAt(1)&&r[2].charAt(0)==r[2].charAt(1)?r[0].charAt(0)+r[1].charAt(0)+r[2].charAt(0):r.join("")}function s(e,t,a,n){return[A(M(n)),A(Math.round(e).toString(16)),A(Math.round(t).toString(16)),A(Math.round(a).toString(16))].join("")}function c(e,t){t=0===t?0:t||10;var a=n(e).toHsl();return a.s-=t/100,a.s=C(a.s),n(a)}function d(e,t){t=0===t?0:t||10;var a=n(e).toHsl();return a.s+=t/100,a.s=C(a.s),n(a)}function l(e){return n(e).desaturate(100)}function u(e,t){t=0===t?0:t||10;var a=n(e).toHsl();return a.l+=t/100,a.l=C(a.l),n(a)}function p(e,t){t=0===t?0:t||10;var a=n(e).toRgb();return a.r=Math.max(0,Math.min(255,a.r-Math.round(-t/100*255))),a.g=Math.max(0,Math.min(255,a.g-Math.round(-t/100*255))),a.b=Math.max(0,Math.min(255,a.b-Math.round(-t/100*255))),n(a)}function h(e,t){t=0===t?0:t||10;var a=n(e).toHsl();return a.l-=t/100,a.l=C(a.l),n(a)}function g(e,t){var a=n(e).toHsl(),r=(a.h+t)%360;return a.h=r<0?360+r:r,n(a)}function f(e){var t=n(e).toHsl();return t.h=(t.h+180)%360,n(t)}function m(e,t){if(isNaN(t)||t<=0)throw new Error("Argument to polyad must be a positive number");for(var a=n(e).toHsl(),r=[n(e)],o=360/t,i=1;i<t;i++)r.push(n({h:(a.h+i*o)%360,s:a.s,l:a.l}));return r}function w(e){var t=n(e).toHsl(),a=t.h;return[n(e),n({h:(a+72)%360,s:t.s,l:t.l}),n({h:(a+216)%360,s:t.s,l:t.l})]}function y(e,t,a){t=t||6,a=a||30;var r=n(e).toHsl(),o=360/a,i=[n(e)];for(r.h=(r.h-(o*t>>1)+720)%360;--t;)r.h=(r.h+o)%360,i.push(n(r));return i}function k(e,t){t=t||6;for(var a=n(e).toHsv(),r=a.h,o=a.s,i=a.v,s=[],c=1/t;t--;)s.push(n({h:r,s:o,v:i})),i=(i+c)%1;return s}n.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var e=this.toRgb();return(299*e.r+587*e.g+114*e.b)/1e3},getLuminance:function(){var e,t,a,n=this.toRgb();return e=n.r/255,t=n.g/255,a=n.b/255,.2126*(e<=.03928?e/12.92:Math.pow((e+.055)/1.055,2.4))+.7152*(t<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4))+.0722*(a<=.03928?a/12.92:Math.pow((a+.055)/1.055,2.4))},setAlpha:function(e){return this._a=S(e),this._roundA=Math.round(100*this._a)/100,this},toHsv:function(){var e=o(this._r,this._g,this._b);return{h:360*e.h,s:e.s,v:e.v,a:this._a}},toHsvString:function(){var e=o(this._r,this._g,this._b),t=Math.round(360*e.h),a=Math.round(100*e.s),n=Math.round(100*e.v);return 1==this._a?"hsv("+t+", "+a+"%, "+n+"%)":"hsva("+t+", "+a+"%, "+n+"%, "+this._roundA+")"},toHsl:function(){var e=r(this._r,this._g,this._b);return{h:360*e.h,s:e.s,l:e.l,a:this._a}},toHslString:function(){var e=r(this._r,this._g,this._b),t=Math.round(360*e.h),a=Math.round(100*e.s),n=Math.round(100*e.l);return 1==this._a?"hsl("+t+", "+a+"%, "+n+"%)":"hsla("+t+", "+a+"%, "+n+"%, "+this._roundA+")"},toHex:function(e){return i(this._r,this._g,this._b,e)},toHexString:function(e){return"#"+this.toHex(e)},toHex8:function(e){return function(e,t,a,n,r){var o=[A(Math.round(e).toString(16)),A(Math.round(t).toString(16)),A(Math.round(a).toString(16)),A(M(n))];return r&&o[0].charAt(0)==o[0].charAt(1)&&o[1].charAt(0)==o[1].charAt(1)&&o[2].charAt(0)==o[2].charAt(1)&&o[3].charAt(0)==o[3].charAt(1)?o[0].charAt(0)+o[1].charAt(0)+o[2].charAt(0)+o[3].charAt(0):o.join("")}(this._r,this._g,this._b,this._a,e)},toHex8String:function(e){return"#"+this.toHex8(e)},toRgb:function(){return{r:Math.round(this._r),g:Math.round(this._g),b:Math.round(this._b),a:this._a}},toRgbString:function(){return 1==this._a?"rgb("+Math.round(this._r)+", "+Math.round(this._g)+", "+Math.round(this._b)+")":"rgba("+Math.round(this._r)+", "+Math.round(this._g)+", "+Math.round(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:Math.round(100*P(this._r,255))+"%",g:Math.round(100*P(this._g,255))+"%",b:Math.round(100*P(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return 1==this._a?"rgb("+Math.round(100*P(this._r,255))+"%, "+Math.round(100*P(this._g,255))+"%, "+Math.round(100*P(this._b,255))+"%)":"rgba("+Math.round(100*P(this._r,255))+"%, "+Math.round(100*P(this._g,255))+"%, "+Math.round(100*P(this._b,255))+"%, "+this._roundA+")"},toName:function(){return 0===this._a?"transparent":!(this._a<1)&&(v[i(this._r,this._g,this._b,!0)]||!1)},toFilter:function(e){var t="#"+s(this._r,this._g,this._b,this._a),a=t,r=this._gradientType?"GradientType = 1, ":"";if(e){var o=n(e);a="#"+s(o._r,o._g,o._b,o._a)}return"progid:DXImageTransform.Microsoft.gradient("+r+"startColorstr="+t+",endColorstr="+a+")"},toString:function(e){var t=!!e;e=e||this._format;var a=!1,n=this._a<1&&this._a>=0;return t||!n||"hex"!==e&&"hex6"!==e&&"hex3"!==e&&"hex4"!==e&&"hex8"!==e&&"name"!==e?("rgb"===e&&(a=this.toRgbString()),"prgb"===e&&(a=this.toPercentageRgbString()),"hex"!==e&&"hex6"!==e||(a=this.toHexString()),"hex3"===e&&(a=this.toHexString(!0)),"hex4"===e&&(a=this.toHex8String(!0)),"hex8"===e&&(a=this.toHex8String()),"name"===e&&(a=this.toName()),"hsl"===e&&(a=this.toHslString()),"hsv"===e&&(a=this.toHsvString()),a||this.toHexString()):"name"===e&&0===this._a?this.toName():this.toRgbString()},clone:function(){return n(this.toString())},_applyModification:function(e,t){var a=e.apply(null,[this].concat([].slice.call(t)));return this._r=a._r,this._g=a._g,this._b=a._b,this.setAlpha(a._a),this},lighten:function(){return this._applyModification(u,arguments)},brighten:function(){return this._applyModification(p,arguments)},darken:function(){return this._applyModification(h,arguments)},desaturate:function(){return this._applyModification(c,arguments)},saturate:function(){return this._applyModification(d,arguments)},greyscale:function(){return this._applyModification(l,arguments)},spin:function(){return this._applyModification(g,arguments)},_applyCombination:function(e,t){return e.apply(null,[this].concat([].slice.call(t)))},analogous:function(){return this._applyCombination(y,arguments)},complement:function(){return this._applyCombination(f,arguments)},monochromatic:function(){return this._applyCombination(k,arguments)},splitcomplement:function(){return this._applyCombination(w,arguments)},triad:function(){return this._applyCombination(m,[3])},tetrad:function(){return this._applyCombination(m,[4])}},n.fromRatio=function(t,a){if("object"==e(t)){var r={};for(var o in t)t.hasOwnProperty(o)&&(r[o]="a"===o?t[o]:I(t[o]));t=r}return n(t,a)},n.equals=function(e,t){return!(!e||!t)&&n(e).toRgbString()==n(t).toRgbString()},n.random=function(){return n.fromRatio({r:Math.random(),g:Math.random(),b:Math.random()})},n.mix=function(e,t,a){a=0===a?0:a||50;var r=n(e).toRgb(),o=n(t).toRgb(),i=a/100;return n({r:(o.r-r.r)*i+r.r,g:(o.g-r.g)*i+r.g,b:(o.b-r.b)*i+r.b,a:(o.a-r.a)*i+r.a})},n.readability=function(e,t){var a=n(e),r=n(t);return(Math.max(a.getLuminance(),r.getLuminance())+.05)/(Math.min(a.getLuminance(),r.getLuminance())+.05)},n.isReadable=function(e,t,a){var r,o,i,s,c,d=n.readability(e,t);switch(o=!1,(i=a,"AA"!==(s=((i=i||{level:"AA",size:"small"}).level||"AA").toUpperCase())&&"AAA"!==s&&(s="AA"),"small"!==(c=(i.size||"small").toLowerCase())&&"large"!==c&&(c="small"),r={level:s,size:c}).level+r.size){case"AAsmall":case"AAAlarge":o=d>=4.5;break;case"AAlarge":o=d>=3;break;case"AAAsmall":o=d>=7}return o},n.mostReadable=function(e,t,a){var r,o,i,s,c=null,d=0;o=(a=a||{}).includeFallbackColors,i=a.level,s=a.size;for(var l=0;l<t.length;l++)(r=n.readability(e,t[l]))>d&&(d=r,c=n(t[l]));return n.isReadable(e,c,{level:i,size:s})||!o?c:(a.includeFallbackColors=!1,n.mostReadable(e,["#fff","#000"],a))};var b=n.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},v=n.hexNames=function(e){var t={};for(var a in e)e.hasOwnProperty(a)&&(t[e[a]]=a);return t}(b);function S(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function P(e,t){(function(e){return"string"==typeof e&&-1!=e.indexOf(".")&&1===parseFloat(e)})(e)&&(e="100%");var a=function(e){return"string"==typeof e&&-1!=e.indexOf("%")}(e);return e=Math.min(t,Math.max(0,parseFloat(e))),a&&(e=parseInt(e*t,10)/100),Math.abs(e-t)<1e-6?1:e%t/parseFloat(t)}function C(e){return Math.min(1,Math.max(0,e))}function x(e){return parseInt(e,16)}function A(e){return 1==e.length?"0"+e:""+e}function I(e){return e<=1&&(e=100*e+"%"),e}function M(e){return Math.round(255*parseFloat(e)).toString(16)}function F(e){return x(e)/255}var W,_,B,D=(_="[\\s|\\(]+("+(W="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)")+")[,|\\s]+("+W+")[,|\\s]+("+W+")\\s*\\)?",B="[\\s|\\(]+("+W+")[,|\\s]+("+W+")[,|\\s]+("+W+")[,|\\s]+("+W+")\\s*\\)?",{CSS_UNIT:new RegExp(W),rgb:new RegExp("rgb"+_),rgba:new RegExp("rgba"+B),hsl:new RegExp("hsl"+_),hsla:new RegExp("hsla"+B),hsv:new RegExp("hsv"+_),hsva:new RegExp("hsva"+B),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/});function O(e){return!!D.CSS_UNIT.exec(e)}return n}()}},n={};function r(e){var t=n[e];if(void 0!==t)return t.exports;var o=n[e]={exports:{}};return a[e].call(o.exports,o,o.exports,r),o.exports}var o={};(()=>{var e=o;Object.defineProperty(e,"__esModule",{value:!0}),e.createTheme=e.Palette=e.Color=void 0;var t=r(2317);Object.defineProperty(e,"Color",{enumerable:!0,get:function(){return t.Color}});var a=r(5939);Object.defineProperty(e,"Palette",{enumerable:!0,get:function(){return a.Palette}});var n=r(6893);Object.defineProperty(e,"createTheme",{enumerable:!0,get:function(){return n.createTheme}})})();var i=t;for(var s in o)i[s]=o[s];o.__esModule&&Object.defineProperty(i,"__esModule",{value:!0})},877:()=>{},67:()=>{},861:(e,t,a)=>{"use strict";a.d(t,{Nt:()=>Le,Ag:()=>Ne});var n={};a.r(n),a.d(n,{createNamespacedLocalStorage:()=>C,getItem:()=>I,removeItem:()=>M,setItem:()=>A});var r=a(675),o=a(723),i=a(181);async function s(){const e="getManifestOverrides",{manifest:t,initialOptions:a}=await fin.Application.getCurrentSync().getInfo();return t?.platform.workspace||t?.platform.home||a?.workspace||a?.home||console.warn(`${e}: Missing Home development manifest overrides, using Desktop Owner Settings.`),t?.platform.workspace?(JSON.stringify(t?.platform.workspace),t?.platform.workspace):t?.platform.home?(JSON.stringify(t?.platform.home),t?.platform.home):a?.workspace?(JSON.stringify(a?.workspace),a?.workspace):a?.home?(JSON.stringify(a?.home),a?.home):{}}const c=e=>fin.System.getSystemAppConfig(e);async function d(){const e="getDOSOverrides";if(!o.cI)return console.warn(`${e}: the fin API was not available, returning no result`),{};try{let t=await c("workspace").catch((t=>{console.warn(`${e}: customConfig entry for SystemApp workspace not available in Desktop Owner Settings. ${t?.message}`)}));return t||(t=await c("home")),JSON.stringify(t),t}catch(t){if(!o.Hd)return{};if(!(t instanceof Error))throw t;console.warn(`${e}: Missing Workspace Desktop Owner Settings configuration, using defaults. ${t?.message}`)}return{}}let l,u;const p=e=>e.replace(/\/$/,"");async function h(){const e=(await async function(){if(l)return l;const e="getOverrides";if(!o.cI)return o.YY&&console.warn(`${e}: The Fin API was not available. Returning an empty result.`),{};const[t,a]=await Promise.all([d(),s()]);return l={...a,...t,disableRuntimeValidation:a.disableRuntimeValidation||t.disableRuntimeValidation},l}()).browserBaseUrl;if(e)try{const t=new URL(e);if(t.pathname.endsWith("/"))t.pathname=p(t.pathname);else{if("/workspace"===t.pathname)return t.pathname+=`/${o.et}`,t.toString();console.warn(`@openfin/workspace-platform: browserOverrideBaseUrl must be a valid url, with path: /workspace. Expected <protocol>://<optional subdomain>.<domain>/workspace but got ${e}`)}}catch(t){console.warn(`@openfin/workspace-platform: browserOverrideBaseUrl must be a valid url. Expected <protocol>://<optional subdomain>.<domain>/workspace but got ${e}`)}return u??o.bD}async function g(e=!1){const t=await h()+i.Ay.EnterpriseBrowser;return e?t:p(t)}var f=a(70);const m=(e,t)=>{const a=e;return a.workspacePlatform||(a.workspacePlatform={}),a.workspacePlatform._internalDeferShowOptions={setAsForeground:!!t,deferShowEnabled:!0,autoShow:a.workspacePlatform?._internalAutoShow||a.workspacePlatform?._internalDeferShowOptions?.autoShow||void 0===a.autoShow||a.autoShow},a.autoShow=!1,a};var w,y;!function(e){e.RelativeToParentWindow="relative-to-parent-window",e.RelativeToMonitor="relative-to-monitor"}(w||(w={})),function(e){e.Top="top",e.Below="below"}(y||(y={}));const k=async e=>{const t=e&&await(0,f.Iq)(e).getBounds(),a=e?await(0,f.jz)(t):(await fin.System.getMonitorInfo()).primaryMonitor;return(0,f.VE)(a.availableRect)};var b=a(957);function v(){let e,t;return{promise:new Promise(((a,n)=>{e=a,t=n})),resolve:e,reject:t}}const S="dock3",P=require("dexie"),C=e=>({setItem:(t,a)=>{localStorage.setItem(`${e}-${t}`,a)},getItem:t=>localStorage.getItem(`${e}-${t}`),removeItem:t=>localStorage.removeItem(`${e}-${t}`)}),x=C(o.$h),A=x.setItem,I=x.getItem,M=x.removeItem;var F;!function(e){e.CurrentWorkspaceId="currentWorkspaceId",e.LastFocusedBrowserWindow="lastFocusedBrowserWindow",e.MachineName="machineName",e.NewTabPageLayout="NewTabPageLayout",e.NewTabPageSort="NewTabPageSort",e.DockPosition="DockPosition",e.SelectedColorScheme="SelectedColorScheme",e.ThemePaletteSheet="ThemePaletteSheet",e.HasMovedStore="HasMovedStore",e.PageDragState="BrowserPageDragState",e.ThemePaletteDefaultScheme="ThemePaletteDefaultScheme"}(F||(F={}));const W=F,_=e=>e+"-"+fin.me.uuid,B=(e,t)=>{const a=o.AT&&o.cI&&new P.Dexie(e);return a&&a.version(.1).stores({[t]:""}),a},D=(e,t)=>{const a=B(_(e),t),n=B(e,t);if(!a||!n)throw new Error("Unable to migrate store - IndexDB not supported");return(async(e,t,a)=>{if(!e[a])return void console.warn(`Legacy store ${a} not found, skipping migration`);const n=I(W.HasMovedStore),r=n?JSON.parse(n):{};if(r&&r[a])return;r[a]=!0,A(W.HasMovedStore,JSON.stringify(r));const o=await e[a].toArray();await t[a].bulkPut(o)})(n,a,e),a},O="dock3-provider-config",T=o.AT&&o.cI&&new P.Dexie(_("dock3-provider-config"));T&&T.version(.1).stores({[O]:""});var R,E,$,G,N=function(e,t,a,n,r){if("m"===n)throw new TypeError("Private method is not writable");if("a"===n&&!r)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!r:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===n?r.call(e,a):r?r.value=a:t.set(e,a),a},L=function(e,t,a,n){if("a"===a&&!n)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!n:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===a?n:"a"===a?n.call(e):n?n.value:t.get(e)};class V{static getOverrideConstructor(...e){return class extends V{constructor(){super(...e)}}}constructor(e,t){if(R.set(this,void 0),E.set(this,void 0),$.set(this,null),G.set(this,v()),V.instance)throw new Error("Dock3Provider has already been initialized.");V.instance=this,N(this,R,e,"f"),N(this,E,t,"f"),this.registerChannelActions()}async launchEntry(e){}get ready(){return L(this,G,"f").promise}async bookmarkContentMenuEntry(e){}async moreMenuCustomOptionClicked(e){}get config(){return L(this,R,"f")}set config(e){N(this,R,e,"f")}async updateConfig(e){await this.handleConfigChange(e)}async shutdown(){await Promise.all([L(this,E,"f").destroy(),this.getWindowSync().close(!0)]),V.instance=null}async saveConfig({config:e}){N(this,R,e,"f"),await async function(e){if(!T)throw new Error("Unable to save Dock provider config - IndexedDb not supported");await T[O].put(e,"latest")}(e)}async handleConfigChange(e){L(this,$,"f")&&await L(this,E,"f").dispatch(L(this,$,"f"),"handle-dock-config-updated",e)}async loadConfig(){const e=await async function(){if(!T)throw new Error("Unable to get Dock provider config - IndexedDB not supported");try{return await T[O].get("latest")}catch(e){return void console.warn("Failed to retrieve Dock provider config from IndexedDB",e)}}();return e&&N(this,R,e,"f"),L(this,R,"f")}getWindowSync(){return fin.Window.wrapSync({uuid:fin.me.identity.uuid,name:S})}registerChannelActions(){L(this,E,"f").register("launch-entry",this.launchEntry.bind(this)),L(this,E,"f").register("save-config",this.saveConfig.bind(this)),L(this,E,"f").register("bookmark-content-menu-entry",this.bookmarkContentMenuEntry.bind(this)),L(this,E,"f").register("more-menu-custom-option-clicked",this.moreMenuCustomOptionClicked.bind(this)),L(this,E,"f").onConnection((e=>{e.name===S&&N(this,$,e,"f")})),L(this,E,"f").register("ready",(async(e,t)=>{if(L(this,$,"f")?.endpointId!==t.endpointId)throw new Error(`Dock3Provider: 'ready' action received from unexpected client ${t.name} (${t.uuid})`);L(this,G,"f").resolve()})),L(this,E,"f").onDisconnection((e=>{L(this,$,"f")?.endpointId===e.endpointId&&(N(this,$,null,"f"),N(this,G,v(),"f"))}))}}R=new WeakMap,E=new WeakMap,$=new WeakMap,G=new WeakMap,V.instance=null;const U=async e=>{const t=e?fin.Window.wrapSync(e):fin.Window.getCurrentSync(),a=await t.getOptions();return a.workspacePlatform?.windowType&&"enterprise"===a.workspacePlatform.windowType};let H;a(277);var z=a(438);const q=require("lodash.debounce");var j=a.n(q);function K(){return localStorage.getItem(W.MachineName)??"unknown"}let Q;async function Y(){return Q||(Q=await fin.System.getMachineId()),Q}var Z=a(333);const X=async e=>({...e,layoutDetails:{machineId:await Y(),machineName:K()}}),J=async e=>{const t=await(async(e,t)=>({pageId:(0,Z.N)(),title:e,layout:await X(t),isReadOnly:!1}))(e.title,He(e.layout));return e.panels&&(t.panels=e.panels.map((e=>({...e,viewOptions:Ue(e.viewOptions)})))),{...e,...t}};var ee=a(79),te=a(786);var ae=a(102);const ne=(e,t)=>t?`${t}-${e.uuid}-${e.name}`:`__browser_window__-${e.uuid}-${e.name}`,re=new Map,oe=(e,t)=>{const a=ne(e,t);return n=a,re.has(n)||re.set(n,(0,ae.A)(n)),re.get(n)();var n};var ie,se,ce,de,le,ue;!function(e){e.CloseBrowserWindow="close-browser-window",e.QuitPlatform="quit-platform",e.ClosePage="close-page",e.AddToChannel="add-to-channel",e.RemoveFromChannel="remove-from-channel",e.OpenSaveModalInternal="open-save-modal-internal",e.DuplicatePage="duplicate-page",e.SetSelectedScheme="set-selected-scheme",e.ShowBrowserIndicator="show-browser-indicator",e.SetSelectedLanguage="set-selected-language",e.RefreshBookmarksInternal="refresh-bookmarks",e.GetLayoutsWithSelectedViewsInternal="get-layouts-with-selected-views",e.FocusAndExpandSearchInternal="focus-and-expand-search"}(ie||(ie={})),function(e){e.GetPages="get-pages",e.GetActivePageForWindow="get-active-page-for-window",e.AttachPagesToWindow="attach-pages-to-window",e.DetachPagesFromWindow="detach-pages-from-window",e.SetActivePageForWindow="set-active-page-for-window",e.RenamePage="rename-page",e.ReorderPagesForWindow="reorder-pages-for-window",e.UpdatePageForWindow="update-page-for-window",e.UpdatePagesWindowOptions="update-pages-window-options",e.IsDetachingPages="is-detaching-pages",e.IsActivePageChanging="is-active-page-changing"}(se||(se={})),function(e){e.GetApps="get-apps",e.GetCuratedContent="get-curated-content",e.GetRecentlyVisited="get-recently-visited",e.GetSearchProviders="get-search-providers"}(ce||(ce={})),function(e){e.CreateBookmarkNode="create-bookmark-node",e.GetBookmarkNode="get-bookmark-node",e.SearchBookmarkNodes="search-bookmark-nodes",e.UpdateBookmarkNode="update-bookmark-node",e.DeleteBookmarkNode="delete-bookmark-node"}(de||(de={})),function(e){e.UpdateFavoriteEntries="update-favorite-entries",e.UpdateContentMenu="update-content-menu",e.NavigateContentMenu="navigate-content-menu",e.MoreMenuCustomOptionClicked="more-menu-custom-option-clicked"}(le||(le={})),function(e){e.SendUpdateVersionModalResponse="send-update-version-modal-response",e.SendIntentResolverModalResponse="send-intent-resolver-modal-response"}(ue||(ue={}));const pe={...ie,...se,...le},he=(0,ae.A)(`${"undefined"!=typeof fin&&fin?.me.identity.uuid}-enterprise-bookmarks`),ge=e=>({identity:e,openfinWindow:fin.Window.wrapSync(e),_bookmarks:{_createBookmarkNode:async e=>(async e=>(await he()).dispatch(de.CreateBookmarkNode,e))(e),_getBookmarkNode:async e=>(async e=>(await he()).dispatch(de.GetBookmarkNode,e))(e),_searchBookmarkNodes:async e=>(async e=>(await he()).dispatch(de.SearchBookmarkNodes,e))(e),_updateBookmarkNode:async e=>(async e=>(await he()).dispatch(de.UpdateBookmarkNode,e))(e),_deleteBookmarkNode:async e=>(async e=>(await he()).dispatch(de.DeleteBookmarkNode,e))(e)},getPages:async()=>(await(0,ee.bW)(e)).dispatch(ee.OF.GetPagesForWindow,e),getPage:async t=>(await(0,ee.bW)(e)).dispatch(ee.OF.GetPageForWindow,{identity:e,pageId:t}),addPage:async t=>Le().Browser.wrapSync(e)._addPage(t),_addPage:async(t,a)=>{const n=await(0,ee.bW)(e),r={identity:e,page:t,insertionIndex:a?.index,multiInstanceViewBehavior:a?.multiInstanceViewBehavior};return n.dispatch(ee.OF.AddPage,r)},_addPages:async(t,a)=>{const n=await(0,ee.bW)(e),r=t.map((({page:e,opts:t})=>({...e,multiInstanceViewBehavior:t?.multiInstanceViewBehavior||"duplicate"}))),o={identity:e,pages:r,...a};return n.dispatch(ee.OF.AttachPagesToWindow,o)},removePage:async t=>(await(0,ee.bW)(e)).dispatch(ee.OF.DetachPagesFromWindow,{identity:e,pageIds:[t]}),reparentPage:async t=>Le().Browser.wrapSync(e)._reparentPage(t),_reparentPage:async t=>{const{pageId:a}=t,n=await(0,ee.bW)(e),r=(await n.dispatch(ee.OF.GetAllAttachedPages,void 0)).find((({pageId:e})=>e===a));if(!r)throw new Error(`Reparent Page Error: Target page with pageId ${a} not found`);r.multiInstanceViewBehavior="reparent";const o={identity:e,pages:[r],insertionIndex:t.index};return n.dispatch(ee.OF.AttachPagesToWindow,o)},setActivePage:async t=>(await(0,ee.bW)(e)).dispatch(ee.OF.SetActivePage,{identity:e,pageId:t}),updatePage:async t=>{const a=await(0,ee.bW)(e);return t.identity=e,a.dispatch(ee.OF.UpdatePageForWindow,t)},reorderPages:async t=>{const a=await(0,ee.bW)(e);return t.identity=e,a.dispatch(ee.OF.ReorderPagesForWindow,t)},_openGlobalContextMenu:async t=>{const a=await(0,ee.bW)(e);return t.identity=e,a.dispatch(ee.OF.OpenGlobalContextMenuInternal,t)},replaceToolbarOptions:async t=>{await(0,ee.bW)(e);const a=fin.Window.wrapSync(e);await a.updateOptions({workspacePlatform:{toolbarOptions:t}})},replaceWindowStateButtonOptions:async t=>{await(0,ee.bW)(e);const a=fin.Window.wrapSync(e);await a.updateOptions({workspacePlatform:{windowStateButtonOptions:t}})},updateBrowserWindowTitle:async t=>{const a=fin.Window.wrapSync(e);"string"!=typeof t?await a.updateOptions({workspacePlatform:{title:t}}):console.warn("Type string for window title is deprecated, please use WindowTitle type instead",t)},_openViewTabContextMenu:async t=>{const a=await(0,ee.bW)(e);return t.identity=e,a.dispatch(ee.OF.OpenViewTabContextMenuInternal,t)},_openPageTabContextMenu:async t=>{const a=await(0,ee.bW)(e);return t.identity=e,a.dispatch(ee.OF.OpenPageTabContextMenuInternal,t)},_openSaveModal:async t=>{await(0,ee.bW)(e);return(await oe(e)).dispatch(pe.OpenSaveModalInternal,t)},_getLayoutsWithSelectedViews:async()=>(await oe(e)).dispatch(pe.GetLayoutsWithSelectedViewsInternal,e),_openSaveButtonContextMenu:async t=>{const a=await(0,ee.bW)(e);return t.identity=e,a.dispatch(ee.OF.OpenSaveButtonContextMenuInternal,t)},_addDefaultPage:async t=>{const a=await(0,ee.bW)(e);return t.identity=e,a.dispatch(ee.OF.AddDefaultPage,t)},_trackRemovedTab:async t=>(await(0,ee.bW)(e)).dispatch(ee.OF.TrackRemovedTabInternal,t),_restoreRemovedTab:async t=>(await(0,ee.bW)(e)).dispatch(ee.OF.RestoreRemovedTabInternal,t),_trackVisitedSite:async t=>(await(0,ee.bW)(e)).dispatch(ee.OF.TrackVisitedSiteInternal,t),_getRecentlyVisitedSites:async t=>(await(0,ee.bW)(e)).dispatch(ee.OF.GetRecentlyVisitedSitesInternal,t),_getFrequentlyVisitedSites:async t=>(await(0,ee.bW)(e)).dispatch(ee.OF.GetFrequentlyVisitedSitesInternal,t),_searchSites:async t=>(await(0,ee.bW)(e)).dispatch(ee.OF.SearchSitesInternal,{identity:e,req:t}),_getSearchProviders:async()=>(await(0,ee.bW)(e)).dispatch(ee.OF.GetSearchProvidersInternal,{identity:e}),_getCuratedContent:async t=>(await(0,ee.bW)(e)).dispatch(ee.OF.GetCuratedContentInternal,{identity:e,req:t}),_handleRequestNavigation:async t=>(await(0,ee.bW)(e)).dispatch(ee.OF.HandleRequestNavigationInternal,t),_sendUpdateVersionModalResponse:async t=>(await(0,ee.bW)(e)).dispatch(ee.OF.SendUpdateVersionModalResponseInternal,t)}),fe=e=>{const t=fin.Platform.wrapSync(e);return{wrapSync:e=>ge(e),createWindow:async a=>{const n=(()=>{const e=`browser-window-startup-${(0,Z.N)()}`;return te.A.markStart(e),e})();(e=>{fin.Application.wrapSync({uuid:fin.me.identity.uuid}).once("window-shown",(()=>{te.A.markAndMeasure("browser-window-shown",e)}))})(n),await(0,ee.bW)(e);const r=await t.createWindow(a);return(e=>{te.A.markAndMeasure("browser-window-started",e)})(n),ge(r.identity)},getAllAttachedPages:async()=>(await(0,ee.bW)(e)).dispatch(ee.OF.GetAllAttachedPages,void 0),getAllWindows:async()=>{await(0,ee.bW)(e);return(await(0,f.Io)()).map((e=>ge(e.identity)))},getUniquePageTitle:async t=>(await(0,ee.bW)(e)).dispatch(ee.OF.GetUniquePageTitle,t),getLastFocusedWindow:async()=>(await(0,ee.bW)(e)).dispatch(ee.OF.GetLastFocusedBrowserWindow,void 0),getPageByViewIdentity:async t=>(await(0,ee.bW)(e)).dispatch(ee.OF.GetPageByViewIdentity,t)}},me=(e,t=0)=>{let a,n,r=!1;const o=async n=>{const i=await e(...n);if(r){await new Promise((e=>setTimeout(e,t)));const e=a;return a=void 0,r=!1,o(e)}return i};return(...e)=>(n?(r=!0,a=e):n=o(e).catch((e=>{throw console.error("makeDebouncedFunc",e),e})).finally((()=>{n=void 0})),n)};var we=a(523);function ye(e,t){return async(a,...n)=>{e.has(a)&&e.get(a).forEach((e=>e(...n))),t&&await t({event:a,payload:n})}}function ke(e,t){return t&&t((t=>{const{event:a,payload:n}=t;e.has(a)&&e.get(a).forEach((e=>e(...n)))})),(t,a)=>{e.has(t)||e.set(t,new Set),e.get(t).add(a)}}function be(e){return(t,a)=>{e.has(t)||e.set(t,new Set);const n=e.get(t),r=(...e)=>{a(...e),n.delete(r)};n.add(r)}}function ve(e){return(t,a)=>{e.has(t)&&e.get(t).delete(a)}}const Se={name:f.Q.BrowserMenu,alwaysOnTop:!0,autoShow:!0,frame:!1,resizable:!1,backgroundColor:"#2f3136",smallWindow:!0,showTaskbarIcon:!1,backgroundThrottling:!1,saveWindowState:!1};function Pe(e){const t={...Se,...e};return t.url=(0,we.Tt)(t.url??""),t}const Ce=function(e){const t=new Map;return{emit:ye(t,(t=>o.cI&&fin.InterApplicationBus.publish(e,t))),addListener:ke(t,(t=>o.cI&&fin.InterApplicationBus.subscribe({uuid:fin.me.uuid},e,t))),addListenerWithUUID:a=>ke(t,(t=>o.cI&&fin.InterApplicationBus.subscribe({uuid:a},e,t))),removeListener:ve(t),once:be(t)}}("window.menu"),xe=(e,t)=>fin.Window.wrapSync(e).updateOptions({opacity:t}),Ae=e=>Ce.emit("response",e),Ie=me((()=>(0,z.v1)().getChildWindows()),500);const Me=new Map;async function Fe(e,t,a){const n=Pe(e),o=await(0,b.qq)(fin.me.identity),i=await(0,b.l5)(fin.me.identity)===r.qT.Dark,s=o?.theme;if(n.backgroundColor=s?.[i?r.qT.Dark:r.qT.Light]?.palette?.inputBackground||n.backgroundColor,!Me.has(n.name)){return new Promise((r=>{Ce.once("ready",(async e=>{if(e.name===n.name){const t=await Me.get(n.name);n.preventBlur||t.once("blurred",(async()=>{if(xe(e,0),t.hide(),Ae({name:n.name,data:{actionName:"Cancel"}}),a=t.identity.name,[f.Q.BrowserSaveMenu,f.Q.DockSaveWorkspaceMenu,f.Q.DesktopSignalsModal].includes(a)){const e=await t.getOptions();"submitting"!==e.customContext&&"error"!==e.customContext&&t.close()}else t.identity.name.startsWith(f.Q.BrowserMenu)&&t.close();var a})),setTimeout((async()=>{await xe(e,1);1!==(await fin.Window.wrapSync(e).getOptions()).opacity&&xe(e,1)})),r(t)}}));const o=(async()=>{const r=await fin.Platform.getCurrentSync().createWindow(m({...n,opacity:0,url:t||n.url,defaultLeft:a?.left,defaultTop:a?.top,defaultWidth:a?.width,defaultHeight:a?.height,workspacePlatform:{preventBlur:e.preventBlur}},!0));return r.once("closed",(()=>{Me.delete(n.name)})),r})();Me.set(n.name,o)}))}return Me.get(n.name)}async function We(e,t){const a=Pe(e),n={top:a.top,left:a.left,width:a.defaultWidth||a.width,height:a.defaultHeight||a.height};return t.set("parentName",fin.Window.getCurrentSync().identity.name),{name:a.name,bounds:n,route:`${a.url}#${t.toString()}`}}async function _e({options:e,parameters:t}){const a=t??new URLSearchParams,n=Pe(e),{name:r,modalParentIdentity:o}=n;if(!a.has("isEnterprise")){const e=`${await(async e=>(H||(H=await U(e)),H))(o)}`;a.set("isEnterprise",e)}let i=await async function(e){return(await Ie()).find((t=>t.identity.name===e))}(r);if(i)await async function(e,t){const{name:a,bounds:n,route:r}=await We(e,t),o={uuid:fin.me.identity.uuid,name:a},i=fin.Window.wrapSync(o);await Promise.all([i.hide(),xe(o,0),i.setBounds(n)]),e.preventBlur||i.once("blurred",(()=>{xe(o,0),i.hide(),Ae({name:o.name,data:{actionName:"Cancel"}})})),Ce.emit("update",a,n,r),await Ae({name:a,data:{actionName:"Cancel"}})}(n,a);else{const{route:t,bounds:r}=await We(e,a);i=await Fe({...n},t,r)}return i}const Be=e=>({createPage:async t=>(await(0,ee.bW)(e)).dispatch(ee.OF.CreateSavedPageInternal,t),deletePage:async t=>(await(0,ee.bW)(e)).dispatch(ee.OF.DeleteSavedPageInternal,t),updatePage:async t=>(await(0,ee.bW)(e)).dispatch(ee.OF.UpdateSavedPageInternal,t),getPage:async t=>(await(0,ee.bW)(e)).dispatch(ee.OF.GetSavedPage,t),getPages:async t=>(await(0,ee.bW)(e)).dispatch(ee.OF.GetSavedPages,t),savePage:async t=>(await(0,ee.bW)(e)).dispatch(ee.OF.SavePage,t),createWorkspace:async t=>(await(0,ee.N)(e)).dispatch(ee.OF.CreateSavedWorkspace,t),deleteWorkspace:async t=>{const a=Le(),n=await a.getCurrentWorkspace();if(n.workspaceId===t)throw new Error(`Cannot delete current active workspace ${n.title}`);return(await(0,ee.N)(e)).dispatch(ee.OF.DeleteSavedWorkspace,t)},updateWorkspace:async t=>(await(0,ee.N)(e)).dispatch(ee.OF.UpdateSavedWorkspace,t),getWorkspace:async t=>(await(0,ee.N)(e)).dispatch(ee.OF.GetSavedWorkspace,t),getWorkspaces:async t=>(await(0,ee.N)(e)).dispatch(ee.OF.GetSavedWorkspaces,t),getWorkspacesMetadata:async t=>(await(0,ee.N)(e)).dispatch(ee.OF.GetSavedWorkspacesMetadata,t),saveWorkspace:async t=>(await(0,ee.N)(e)).dispatch(ee.OF.SaveWorkspace,t),getDockProviderConfig:async t=>(await(0,ee.N)(e)).dispatch(ee.OF.GetDockProviderConfig,t),saveDockProviderConfig:async t=>(await(0,ee.N)(e)).dispatch(ee.OF.SaveDockProviderConfig,t)});var De;!function(e){e.UpdatePlatformThemeScheme="update-platform-theme-scheme"}(De||(De={}));(0,ae.A)("of-workspace-notifications-sync");a(695);var Oe=a(898);const Te=r.qT.Dark,Re=e=>Object.entries(e).reduce(((e,[t,a])=>`${e}--workspace-palette-${t}: ${a};`),""),Ee=(e,t)=>{const a=!!e.contentBackground5&&"#000000"!==e.contentBackground5,n=!!e.contentBackground4&&"#000000"!==e.contentBackground4,r=(0,Oe.b4)(e.textDefault),o=(0,Oe.b4)(e.textInactive),i=r.rgb,s=o.rgb,c=r.alpha?parseFloat(r.alpha.toString()):1,d=o.alpha?parseFloat(o.alpha.toString()):1;return{dockExpandedContainerBorderColor:a?e.contentBackground5:e.background4,dockExpandedContainerBorderRadius:a&&t?"0":"10px",dockExpandedContainerBackground:n?e.contentBackground4:e.background1,fillerBackgroundColor:n?e.contentBackground4:"inherit",dockCompanionContainerBackground:n?e.contentBackground4:"inherit",dockComponentContainerBackground:a?e.contentBackground5:e.background5,styledDropdownActiveBackground:`${a?e.contentBackground5:e.background4}`,contentMenuWrapperInternalDivBorderColor:a?e.contentBackground5:e.background5,contentMenuItemContainerActiveBackground:a?e.contentBackground5:e.background3,contentMenuItemContainerHoverBackground:a?e.contentBackground5:e.background2,contentMenuHeaderBorderColor:a?e.contentBackground5:e.background5,dockCompanionSeparatorBorderColor:a?e.contentBackground5:e.background3,dockComponentContainerBorderColor:a?e.contentBackground5:e.background5,companionDockButtonActiveBackground:a?e.contentBackground5:e.background4,companionDockButtonHoverBackground:a?e.contentBackground5:e.background4,"computed-scrollbar-thumb-alpha":c,"computed-scrollbar-track-alpha":d,"scrollbar-thumb-rgb":i,"scrollbar-track-rgb":s}},$e=(e,t,a)=>({selectedTab:"dark"===t?e.background3:e.background1,...Ee(e,a)});new class{constructor(e){this.providerStorage=e,this.getVarsByScheme=e=>"dark"===e?this.darkPaletteVars:this.lightPaletteVars,this.setWorkspaceStorage=e=>{this.workspaceStorage=e},this.trySynchronizeWorkspaceStorage=()=>{if(this.workspaceStorage&&this.hasUserPreference()){const e=this.getScheme();if(this.hasUserPreference()&&this.workspaceStorage.setItem(W.SelectedColorScheme,e),this.darkPaletteVars&&this.lightPaletteVars)if("dark"===e||"light"===e)this.workspaceStorage.setItem(W.ThemePaletteSheet,`:root{${this.getVarsByScheme(e)}}`);else{const e=`@media (prefers-color-scheme: dark){:root {${this.getVarsByScheme("dark")}}}`,t=`@media (prefers-color-scheme: light){:root{${this.getVarsByScheme("light")}}}`;this.workspaceStorage.setItem(W.ThemePaletteSheet,`${t}${e}`)}}},this.setPalettes=async({light:e,dark:t},a)=>{this.lightPaletteVars=Re({...e,...$e(e,"light",a)}),this.darkPaletteVars=Re({...t,...$e(t,"dark",a)})}}hasUserPreference(){return null!==this.providerStorage.getItem(W.SelectedColorScheme)}setScheme(e){this.providerStorage.setItem(W.SelectedColorScheme,e)}setThemeDefaultScheme(e){const t=Object.values(r.qT);t.includes(e)?this.providerStorage.setItem(W.ThemePaletteDefaultScheme,e):console.warn(`Invalid theme default scheme '${e}'. Must be one of: ${t.join(", ")}. Ignoring default.`)}getScheme(){const e=this.providerStorage.getItem(W.SelectedColorScheme),t=this.providerStorage.getItem(W.ThemePaletteDefaultScheme);return null!==e?e:t??Te}}(n);const Ge=e=>({getThemes:async()=>(await(0,ee.N)(e)).dispatch(ee.OF.GetThemes,void 0),setSelectedScheme:async t=>(await(0,ee.N)(e)).dispatch(ee.OF.SetSelectedScheme,t),getSelectedScheme:async()=>(await(0,ee.N)(e)).dispatch(ee.OF.GetSelectedScheme,void 0)}),Ne=e=>{const t=fin.Platform.wrapSync(e);let a;const n=Object.assign(t,{applySnapshot:async(t,a)=>{if("string"!=typeof t&&!t?.windows)throw new Error("Not a valid browser snapshot");return fin.Platform.wrapSync(e).applySnapshot(t,a)},getSnapshot:()=>fin.Platform.wrapSync(e).getSnapshot().then((e=>e)),getViewSnapshot:t=>fin.Platform.wrapSync(e).getViewSnapshot(t),createView:(t,a,n)=>fin.Platform.wrapSync(e).createView(t,a,n),launchApp:async t=>{console.warn("launchApp method is deprecated. It is recommended to use createView - https://developers.openfin.co/of-docs/docs/platform-getting-started#add-a-view-to-an-existing-window or createWindow - https://developers.openfin.co/of-docs/docs/platform-getting-started#create-a-platform-window instead."),t.target||(t.target={uuid:o.$h,name:o.vL,entityType:o.fT||"unknown"});return(await(0,ee.N)(e)).dispatch(ee.OF.LaunchApp,t)},_invokeCustomAction:async(t,a)=>{const n=await(0,ee.N)(e),o={actionId:t,payload:{...a,callerType:a.callerType||r.vc.API}};return n.dispatch(ee.OF.InvokeCustomActionInternal,o)},_requestQuitPlatformDialog:async t=>(await(0,ee.N)(e)).dispatch(ee.OF.RequestQuitPlatformDialogInternal,t),_showUpdateVersionModal:async t=>(await(0,ee.N)(e)).dispatch(ee.OF.ShowUpdateVersionModalInternal,t),getCurrentWorkspace:async t=>(await(0,ee.N)(e)).dispatch(ee.OF.GetCurrentWorkspace,t),applyWorkspace:async(t,a)=>(await(0,ee.N)(e)).dispatch(ee.OF.ApplyWorkspace,{...t,options:a}),restoreLastSavedWorkspace:async t=>(await(0,ee.N)(e)).dispatch(ee.OF.RestoreLastSavedWorkspaceInternal,t),setActiveWorkspace:async t=>(await(0,ee.N)(e)).dispatch(ee.OF.SetActiveWorkspace,t),getLanguage:async()=>(await(0,ee.N)(e)).dispatch(ee.OF.GetLanguage),_getLanguageResources:async()=>(await(0,ee.N)(e)).dispatch(ee.OF.GetLanguageResourcesInternal),setLanguage:async t=>(await(0,ee.N)(e)).dispatch(ee.OF.SetLanguage,t),_raiseAnalytics:async t=>{if(a||(a=await(0,ee.KZ)(e)),"object"==typeof a&&a?.analytics?.isSupported){return(await(0,ee.N)(e)).dispatch(ee.OF.Analytics,t)}e.uuid},getNotificationsConfig:async()=>(await(0,ee.N)(e)).dispatch(ee.OF.GetNotificationsConfig),_refreshBookmarksInternal:async()=>(await(0,ee.N)(e)).dispatch(ee.OF.RefreshBookmarksInternal),_launchBookmarkInternal:async t=>(await(0,ee.N)(e)).dispatch(ee.OF.LaunchBookmarkInternal,t),_updateDockFavoritesInternal:async t=>(await(0,ee.N)(e)).dispatch(ee.OF.UpdateDockFavoritesInternal,t),_updateContentMenuInternal:async t=>(await(0,ee.N)(e)).dispatch(ee.OF.UpdateContentMenuInternal,t),_launchDockEntryInternal:async t=>(await(0,ee.N)(e)).dispatch(ee.OF.LaunchDockEntryInternal,t),_setDockFavoritesInternal:async t=>(await(0,ee.N)(e)).dispatch(ee.OF.SetDockFavoritesOrderInternal,t),_setDefaultDockButtonsOrderInternal:async t=>(await(0,ee.N)(e)).dispatch(ee.OF.SetDefaultDockButtonsOrderInternal,t),_removeDockFavoriteInternal:async t=>(await(0,ee.N)(e)).dispatch(ee.OF.RemoveDockFavoriteInternal,t),_addDockFavoriteInternal:async t=>(await(0,ee.N)(e)).dispatch(ee.OF.AddDockFavoriteInternal,t),_navigateContentMenuInternal:async t=>(await(0,ee.N)(e)).dispatch(ee.OF.NavigateContentMenuInternal,t),_openDockWorkspacesContextMenuInternal:async()=>(await(0,ee.N)(e)).dispatch(ee.OF.GetDockWorkspacesContextMenuInternal),_handleDockWorkspacesMenuResponseInternal:async t=>(await(0,ee.N)(e)).dispatch(ee.OF.HandleDockWorkspacesMenuResponseInternal,t),_focusAndExpandSearchInternal:async()=>(await(0,ee.N)(e)).dispatch(ee.OF.FocusAndExpandSearchInternal),_showAboutPagePopup:async e=>(async e=>{const t=new URLSearchParams({...e,title:"About"}),a=await k(fin.me.identity),n=e.copyrightMessage?320:286,r=(0,f.Xq)(a,{height:n,width:360});return _e({options:{frame:!0,smallWindow:!0,saveWindowState:!1,showTaskbarIcon:!0,includeInSnapshots:!1,workspacePlatform:{windowType:"enterprise"},resizable:!1,name:f.Q.AboutPageWindow,url:await g()+i.Ay.EnterpriseAboutPage,defaultWidth:360,defaultHeight:n,preventBlur:!0,...r},parameters:t})})(e),Theme:Ge(e),Browser:fe(e),Storage:Be(e)});return n},Le=()=>Ne(fin.me.identity);const Ve=(e,t)=>e.content?{...e,content:e.content.map((e=>Ve(e,t)))}:{...e,componentState:t(e.componentState)},Ue=e=>({...e,name:void 0}),He=e=>{const t={...e};return Ve(t,Ue)},ze=e=>{const t=[];return(e&&Array.isArray(e)?e:[]).forEach((e=>{if("component"===e.type)return t.push(e.componentState);const a=ze(e.content);t.push(...a)})),t};new Map,new Map;const qe=async(e,t)=>{const a=(e=>{const t=fin.Platform.Layout.wrapSync(e);return{show:async()=>{const a=await t.getConfig(),{settings:n,dimensions:r}=a,o=await U(e);await t.replace({...a,settings:{...n,hasHeaders:!0,reorderEnabled:!0},dimensions:{...r,headerHeight:o?28:30}})},hide:async e=>{const a=await t.getConfig(),{settings:n,dimensions:r}=await a;await t.replace({...a,settings:{...n,hasHeaders:!1,reorderEnabled:e?.settings?.reorderEnabled??!1},dimensions:{...r,headerHeight:0}})},isShowingTabs:async()=>{try{const e=await t.getConfig(),{settings:a}=await e;return a.hasHeaders}catch(e){return console.error("failed to get layout config: ",e),!0}}}})({...f.$p,layoutName:e.layoutContainerKey}),n=await a.isShowingTabs();t>1?n||await a.show():1===t&&n&&await a.hide({settings:{reorderEnabled:!0}})},je=(j()((async e=>{try{if(!e||!e.layoutContainerKey)return;const t=await(async e=>fin.Platform.Layout.wrapSync({...fin.me.identity,layoutName:e}).getConfig())(e.layoutContainerKey),a=t.content?ze(t.content):[],n=a.length;n>1?(async e=>{if("multiView"!==e.attachedPageType){const t=await Le().Browser.getUniquePageTitle();Le().Browser.wrapSync(f.$p).updatePage({pageId:e.pageId,page:{title:e.title??t,singleViewName:null,attachedPageType:"multiView"}})}})(e):1===n&&(async(e,t)=>{const a=Le().Browser.wrapSync(f.$p);if("singleView"!==e.attachedPageType){const n=await J(e);delete n.layout,delete n.pageId;const r=fin.View.wrapSync({uuid:f.$p.uuid,name:t}),o=await r.getInfo(),i={...n,title:null,singleViewName:t,hasUnsavedChanges:!1,attachedPageType:"singleView",pageIcon:o.favicons[0]};await a.updatePage({pageId:e.pageId,page:i})}})(e,a[0].name),await qe(e,n)}catch(e){}}),50,{leading:!1,trailing:!0}),require("react-i18next"),require("i18next"));a.n(je)().t;new class{constructor(){this.queue=[],this.locked=!1}lock(){return new Promise((e=>{this.locked?this.queue.push(e):(this.locked=!0,e())}))}unlock(){if(this.queue.length>0){const e=this.queue.shift();e&&e()}else this.locked=!1}};new Map;const Ke=m({alwaysOnTop:!0,autoShow:!1,frame:!1,resizable:!1,showTaskbarIcon:!1});!function(e=Ke){const t=new Map}();new Map;Date.now();j()((async()=>{const e=await fin.Platform.getCurrentSync().Application.getChildWindows();let t,a=!1;for(const n of e)if(n.identity.name===f.Q.BrowserMenu||n.identity.name===f.Q.BrowserSaveMenu?t=n:await(0,f.hb)(n.identity)&&(a=!0),a)break;!a&&t&&t.close()}),100,{leading:!1,trailing:!0});var Qe,Ye;!function(e){e.Save="Save",e.SaveAs="SaveAs"}(Qe||(Qe={})),function(e){e.GlobalMenu="global-menu",e.ContextMenu="context-menu",e.RenameSupertab="rename-supertab",e.AddEditBookmark="add-edit-bookmark",e.DropdownMenu="dropdown-menu",e.ZoomControls="zoom-controls"}(Ye||(Ye={}));const Ze="visited-sites",Xe="removed-tab-stack",Je=(o.AT&&o.cI&&D("openfin-home-pages","pages"),o.AT&&o.cI&&new P.Dexie(_("openfin-enterprise-site-history")));Je&&Je.version(.1).stores({[Ze]:"id, url"});const et=o.AT&&o.cI&&new P.Dexie(_("openfin-enterprise-tab-history"));et&&et.version(.1).stores({[Xe]:""});var tt;!function(e){e.Label="normal",e.Separator="separator",e.Submenu="submenu",e.Checkbox="checkbox"}(tt||(tt={}));tt.Separator;a(995);new Map([["blue",{name:"Blue",color:"#0091EB"}],["indigo",{name:"Indigo",color:"#6450FF"}],["pink",{name:"Pink",color:"#E878CF"}],["teal",{name:"Teal",color:"#24D1D1"}],["green",{name:"Green",color:"#00AF78"}],["orange",{name:"Orange",color:"#FF7D37"}],["red",{name:"Red",color:"#F94144"}],["yellow",{name:"Yellow",color:"#F9C74F"}],["gray",{name:"Gray",color:"#828788"}]]);var at;!function(e){e[e.TopLeft=0]="TopLeft",e[e.TopRight=1]="TopRight",e[e.BottomLeft=2]="BottomLeft",e[e.BottomRight=3]="BottomRight",e[e.Center=4]="Center"}(at||(at={}));(0,ae.A)(`${"undefined"!=typeof fin&&fin?.me.identity.uuid}-enterprise-dock`);const nt="dock-provider-configs",rt=o.AT&&o.cI&&new P.Dexie(_("dock-provider-configs"));rt&&rt.version(.1).stores({[nt]:""});const ot="workspaces";o.AT&&o.cI&&D("openfin-workspace-platform-workspaces",ot);a(250);a(179)},675:(e,t,a)=>{"use strict";a.d(t,{qT:()=>o,vc:()=>h});var n,r,o,i,s,c,d,l,u,p,h;a(179),a(250);!function(e){e.UrlChange="URL_CHANGE",e.ViewAdded="VIEW_ADDED",e.ViewRemoved="VIEW_REMOVED",e.PageContextAdded="PAGE_CONTEXT_ADDED",e.PageContextRemoved="PAGE_CONTEXT_REMOVED"}(n||(n={})),function(e){e.NewWindow="NewWindow",e.NewPage="NewPage",e.SavePage="SavePage",e.SavePageAs="SavePageAs",e.Print="Print",e.PrintAll="PrintAll",e.PrintScreen="PrintScreen",e.CloseWindow="CloseWindow",e.RestoreChanges="RestoreChanges",e.SaveWorkspace="SaveWorkspace",e.SaveWorkspaceAs="SaveWorkspaceAs",e.RenameWorkspace="RenameWorkspace",e.SwitchWorkspace="SwitchWorkspace",e.DeleteWorkspace="DeleteWorkspace",e.Downloads="Downloads",e.OpenStorefront="OpenStorefront",e.ManageDesktopSignals="ManageDesktopSignals",e.Appearance="Appearance",e.Quit="Quit",e.Custom="Custom"}(r||(r={})),function(e){e.Light="light",e.Dark="dark",e.System="system"}(o||(o={})),function(e){e.Close="Close",e.Duplicate="Duplicate",e.Rename="Rename",e.Save="Save",e.SaveAs="Save As",e.NewPage="New Page",e.DeletePage="Delete Page",e.SaveWorkspaceAs="SaveWorkspaceAs",e.Refresh="Refresh",e.CloseOthers="Close others",e.Delete="Delete",e.Print="Print",e.PrintAll="PrintAll",e.PrintScreen="PrintScreen",e.ManageDesktopSignals="ManageDesktopSignals",e.AddToChannel="AddToChannel",e.Custom="Custom"}(i||(i={})),function(e){e.Lock="Lock",e.ShowHideTabs="ShowHideTabs",e.AddToChanel="AddToChannel",e.ManageDesktopSignals="ManageDesktopSignals",e.Print="Print",e.Pin="Pin"}(s||(s={})),function(e){e.EditName="Edit Name",e.Move="Move",e.Delete="Delete"}(c||(c={})),function(e){e.NewView="NewView",e.DuplicateViews="DuplicateView",e.OpenWithDefaultBrowser="OpenWithDefaultBrowser",e.ReloadViews="ReloadTab",e.CloseViews="CloseTab",e.AddToChannel="AddToChannel",e.RemoveFromChannel="RemoveFromChannel",e.Back="Back",e.Forward="Forward",e.Print="Print",e.PrintAll="PrintAll",e.PrintScreen="PrintScreen",e.Custom="Custom"}(d||(d={})),function(e){e.ShowHideTabs="ShowHideTabs",e.ColorLinking="ColorLinking",e.PresetLayouts="PresetLayouts",e.LockUnlockPage="LockUnlockPage",e.SaveMenu="SaveMenu",e.SavePage="SavePage",e.Minimise="Minimise",e.Maximise="Maximise",e.Close="Close",e.Custom="Custom"}(l||(l={})),function(e){e.SavePage="SavePage",e.SaveWorkspace="SaveWorkspace",e.SavePageAs="SavePageAs",e.SaveWorkspaceAs="SaveWorkspaceAs",e.Custom="Custom"}(u||(u={})),function(e){e.Browser="browser",e.Platform="platform"}(p||(p={})),function(e){e.CustomButton="CustomButton",e.StoreCustomButton="StoreCustomButton",e.CustomDropdownItem="CustomDropdownItem",e.GlobalContextMenu="GlobalContextMenu",e.ViewTabContextMenu="ViewTabContextMenu",e.PageTabContextMenu="PageTabContextMenu",e.SaveButtonContextMenu="SaveButtonContextMenu",e.API="API"}(h||(h={}));var g;!function(e){e.SAVE_PAGE="SAVE_PAGE",e.SAVE_WORKSPACE="SAVE_WORKSPACE",e.SAVE_PAGE_AS="SAVE_PAGE_AS",e.SAVE_WORKSPACE_AS="SAVE_WORKSPACE_AS",e.RENAME_PAGE="RENAME_PAGE",e.RENAME_WORKSPACE="RENAME_WORKSPACE"}(g||(g={}))},248:(e,t,a)=>{"use strict";a.d(t,{H:()=>o});var n=a(438),r=a(786);const o=(e,t)=>{r.A.markStart(`${e}-registration`),(0,n.BY)().once("started",(()=>r.A.markAndMeasure("workspace-app-started",`${e}-registration`)));const a=fin.Window.wrapSync(t);a.once("initialized",(()=>r.A.markAndMeasure(`${e}-window-initialized`,`${e}-registration`))),a.once("shown",(()=>{r.A.markAndMeasure(`${e}-show`,`${e}-registration`)}))}},870:(e,t,a)=>{"use strict";a.d(t,{xM:()=>s});var n=a(995);class r extends Error{constructor(e,t){const a=(0,n.titleCase)(e);super(`${a} Provider. ${a} Provider${t?` with id ${t}`:""} is not currently registered.`)}}class o extends Error{constructor(e,t){const a=(0,n.titleCase)(e);super(`${a} Provider. ${a} Provider${t?` with id ${t}`:""} is already registered. Call \`deregister\` before registering again.`)}}class i extends Error{constructor(e,t){const a=(0,n.titleCase)(e);super(`Failed to get ${a} Provider. ${a} Provider with id ${t} is not currently registered.`)}}class s{constructor(e){this.providersMap=new Map,this.providerType=e}assertNotAlreadyRegistered(e){if(this.hasProvider(e))throw new o(this.providerType,e)}assertRegistered(e){if(!this.hasProvider(e))throw new r(this.providerType,e)}getProvider(e){return this.providersMap.get(e)}hasProvider(e){return this.providersMap.has(e)}setProvider(e){this.providersMap.set(e.id,e)}deleteProvider(e){this.providersMap.delete(e)}getProviderOrFail(e){const t=this.getProvider(e);if(!t)throw new i(this.providerType,e);return t}clearProviders(){this.providersMap.clear()}}},129:()=>{"use strict";var e,t,a;!function(e){e.Fetching="fetching",e.Fetched="fetched",e.Complete="complete"}(e||(e={})),function(e){e.UserAction="user-action",e.FocusChange="focus-change",e.Reload="reload"}(t||(t={})),function(e){e.Active="active",e.Default="default"}(a||(a={}))},600:(e,t,a)=>{"use strict";var n;!function(e){e.ActionButton="ActionButton",e.DropdownButton="DropdownButton"}(n||(n={}))},872:(e,t,a)=>{"use strict";var n,r,o;a.d(t,{PK:()=>n,fC:()=>r,oo:()=>o}),function(e){e.Suggestion="suggestion"}(n||(n={})),function(e){e.Contact="Contact",e.Custom="Custom",e.List="List",e.Plain="Plain",e.SimpleText="SimpleText",e.Loading="Loading",e.Error="Error"}(r||(r={})),function(e){e.MultiSelect="MultiSelect"}(o||(o={}))},179:(e,t,a)=>{"use strict";a(129),a(872),a(710),a(184),a(600)},710:(e,t,a)=>{"use strict";var n,r;!function(e){e.Snapshot="snapshot",e.Manifest="manifest",e.View="view",e.External="external"}(n||(n={})),function(e){e.LandingPage="landingPage",e.AppGrid="appGrid"}(r||(r={}))},184:(e,t,a)=>{"use strict";var n;!function(e){e.Primary="primary",e.Secondary="secondary",e.TextOnly="textOnly"}(n||(n={}))},250:(e,t,a)=>{"use strict";var n;!function(e){e.Left="Left",e.Right="Right",e.Top="Top",e.Bottom="Bottom"}(n||(n={}))},79:(e,t,a)=>{"use strict";var n;a.d(t,{KZ:()=>o,N:()=>i,OF:()=>n,bW:()=>s}),function(e){e.LaunchApp="launchApp",e.SavePage="savePage",e.GetSavedPage="getSavedPage",e.CreateSavedPage="createSavedPage",e.UpdateSavedPage="updateSavedPage",e.DeleteSavedPage="deleteSavedPage",e.GetSavedPages="getSavedPages",e.CreateSavedPageInternal="createSavedPageInternal",e.UpdateSavedPageInternal="updateSavedPageInternal",e.DeleteSavedPageInternal="deleteSavedPageInternal",e.UpdatePageForWindow="updatePageForWindow",e.AttachPagesToWindow="attachPagesToWindow",e.DetachPagesFromWindow="detachPagesFromWindow",e.ReorderPagesForWindow="reorderPagesForWindow",e.SetActivePage="setActivePage",e.AddPage="addPage",e.AddDefaultPage="addDefaultPage",e.GetAllAttachedPages="getAllAttachedPages",e.GetActivePageIdForWindow="getActivePageIdForWindow",e.GetPagesForWindow="getPagesForWindow",e.GetPageForWindow="getPageForWindow",e.GetSavedPageMetadata="getSavedPageMetadata",e.GetUniquePageTitle="getUniquePageTitle",e.GetLastFocusedBrowserWindow="getLastFocusedBrowserWindow",e.GetPageByViewIdentity="getPageByViewIdentity",e.GetThemes="getThemes",e.GetSelectedScheme="getSelectedScheme",e.SetSelectedScheme="setSelectedScheme",e.OpenGlobalContextMenuInternal="openGlobalContextMenuInternal",e.OpenViewTabContextMenuInternal="openViewTabContextMenuInternal",e.OpenPageTabContextMenuInternal="openPageTabContextMenuInternal",e.OpenSaveButtonContextMenuInternal="openSaveButtonContextMenuInternal",e.InvokeCustomActionInternal="invokeCustomActionInternal",e.RequestQuitPlatformDialogInternal="requestQuitPlatformDialogInternal",e.GetSavedWorkspace="getSavedWorkspace",e.CreateSavedWorkspace="createSavedWorkspace",e.UpdateSavedWorkspace="updateSavedWorkspace",e.DeleteSavedWorkspace="deleteSavedWorkspace",e.GetSavedWorkspaces="getSavedWorkspaces",e.GetSavedWorkspacesMetadata="getSavedWorkspacesMetadata",e.SaveWorkspace="saveWorkspace",e.GetCurrentWorkspace="getCurrentWorkspace",e.ApplyWorkspace="applyWorkspace",e.RestoreLastSavedWorkspaceInternal="restoreLastSavedWorkspaceInternal",e.SetActiveWorkspace="setActiveWorkspace",e.IsBrowserInitialized="isBrowserInitialized",e.Analytics="analyticsInternal",e.GetLanguage="getLanguage",e.GetLanguageResourcesInternal="getLanguageResourcesInternal",e.SetLanguage="setLanguage",e.GetDockProviderConfig="getDockProviderConfig",e.SaveDockProviderConfig="saveDockProviderConfig",e.HandleSaveModalOnPageClose="handleSaveModalOnPageClose",e.ShouldPageClose="shouldPageClose",e.ShouldWindowClose="shouldWindowClose",e.CopyPage="copyPage",e.HandlePageChanges="handlePageChanges",e.MarkUnsavedPagesAsSavedInternal="markUnsavedPagesAsSavedInternal",e.TrackRemovedTabInternal="trackRemovedTabInternal",e.RestoreRemovedTabInternal="restoreRemovedTabInternal",e.TrackVisitedSiteInternal="trackVisitedSiteInternal",e.GetRecentlyVisitedSitesInternal="getRecentlyVisitedSitesInternal",e.GetFrequentlyVisitedSitesInternal="getFrequentlyVisitedSitesInternal",e.SearchSitesInternal="searchSitesInternal",e.GetSearchProvidersInternal="getSearchProvidersInternal",e.GetCuratedContentInternal="getCuratedContentInternal",e.HandleRequestNavigationInternal="handleRequestNavigationInternal",e.RefreshBookmarksInternal="refreshBookmarksInternal",e.LaunchBookmarkInternal="launchBookmarkInternal",e.GetNotificationsConfig="getNotificationsConfig",e.UpdateDockFavoritesInternal="updateDockFavoritesInternal",e.UpdateContentMenuInternal="updateContentMenuInternal",e.LaunchDockEntryInternal="launchDockEntryInternal",e.SetDockFavoritesOrderInternal="setDockFavoritesOrderInternal",e.NavigateContentMenuInternal="navigateContentMenuInternal",e.SetDefaultDockButtonsOrderInternal="setDefaultDockButtonsOrderInternal",e.GetDockWorkspacesContextMenuInternal="getDockWorkspacesContextMenuInternal",e.HandleDockWorkspacesMenuResponseInternal="handleDockWorkspacesMenuResponseInternal",e.RemoveDockFavoriteInternal="removeDockFavoriteInternal",e.AddDockFavoriteInternal="addDockFavoriteInternal",e.FocusAndExpandSearchInternal="focusAndExpandSearchInternal",e.SendUpdateVersionModalResponseInternal="sendUpdateVersionModalResponseInternal",e.ShowUpdateVersionModalInternal="showUpdateVersionModalInternal"}(n||(n={}));const r=async e=>fin.Platform.wrapSync(e).getClient(),o=async e=>{const t=await r(e),a="Target is not a Workspace Platform. Target must call WorkspacePlatform.init";let n;try{n=await t.dispatch("isWorkspacePlatform")}catch(e){throw new Error(a)}if("boolean"==typeof n&&n)return console.warn("You are using an older version of the workspace platform. Please update your workspace platform."),n;if("object"==typeof n&&n.isWorkspacePlatform)return n;throw new Error(a)},i=async e=>(await o(e),r(e)),s=async e=>{const t=await o(e);if("object"==typeof t&&!0!==t?.isBrowserInitialized)throw new Error("Target is not a Browser-enabled Workspace Platform.");return r(e)}},695:(e,t,a)=>{"use strict";a.d(t,{N7:()=>p,gj:()=>d,nA:()=>u});var n=a(102),r=a(723),o=a(70),i=a(905);const s=(0,n.A)("__of_workspace_protocol__"),c=s,d=(0,n.A)(i.BT),l=e=>{const t=new URL(e);return t.searchParams.append("isLaunchedViaLib","true"),t.toString()},u=async()=>{if(!await(0,o.C)(o.xt)){if(r.jw||-1===navigator.userAgent.indexOf("Win"))return void await fin.Application.startFromManifest(l(r.m7));await fin.System.openUrlWithBrowser(l(r.t8))}},p=async()=>(await u(),c())},905:(e,t,a)=>{"use strict";a.d(t,{BT:()=>n,Zo:()=>o});const n="__search-openfin-browser-home-topic__";var r,o;!function(e){e.Fetching="fetching",e.Fetched="fetched",e.Complete="complete"}(r||(r={})),function(e){e[e.Initial=0]="Initial",e[e.Open=1]="Open",e[e.Close=2]="Close"}(o||(o={}))},957:(e,t,a)=>{"use strict";a.d(t,{qq:()=>S,l5:()=>P});var n=a(847),r=a(898),o=a(70),i=a(861),s=a(675),c=a(877),d=a.n(c),l=a(67),u=a.n(l);const p={light:{symbol:u()?.src||""},dark:{symbol:d()?.src||""}};a(695);var h=a(79);const g="dark",f={[n.Palette.brandPrimary]:"#0A76D3",[n.Palette.brandPrimaryActive]:"#0A71C9",[n.Palette.brandPrimaryHover]:"#0B84EB",[n.Palette.brandPrimaryFocused]:n.Color.white,[n.Palette.brandPrimaryText]:n.Color.white,[n.Palette.statusSuccess]:n.Color.functional1,[n.Palette.statusWarning]:n.Color.functional10,[n.Palette.statusCritical]:n.Color.functional7,[n.Palette.statusActive]:n.Color.functional3,[n.Palette.contentBackground1]:"#0A76D3",[n.Palette.contentBackground2]:"#000000",[n.Palette.contentBackground3]:"#000000",[n.Palette.contentBackground4]:"#000000",[n.Palette.contentBackground5]:"#000000",[n.Palette.borderNeutral]:n.Color.silverGray},m={...f,[n.Palette.background1]:n.Color.white,[n.Palette.background2]:n.Color.lightGray1,[n.Palette.background3]:n.Color.lightGray2,[n.Palette.background4]:n.Color.lightGray3,[n.Palette.background5]:n.Color.lightGray4,[n.Palette.background6]:n.Color.lightGray5,[n.Palette.brandSecondary]:n.Color.lightGray4,[n.Palette.brandSecondaryActive]:n.Color.lightGray4Active,[n.Palette.brandSecondaryHover]:n.Color.lightGray4Hover,[n.Palette.brandSecondaryFocused]:n.Color.darkGray5,[n.Palette.brandSecondaryText]:n.Color.darkGray5,[n.Palette.inputBackground]:n.Color.lightGray3,[n.Palette.inputColor]:n.Color.darkGray5,[n.Palette.inputPlaceholder]:n.Color.darkGray2,[n.Palette.inputDisabled]:n.Color.neutralGray,[n.Palette.inputFocused]:n.Color.lightGray5,[n.Palette.inputBorder]:n.Color.neutralGray,[n.Palette.textDefault]:n.Color.darkGray5,[n.Palette.textHelp]:n.Color.darkGray3,[n.Palette.textInactive]:n.Color.neutralGray},w={...f,[n.Palette.background1]:n.Color.darkGray6,[n.Palette.background2]:n.Color.darkGray5,[n.Palette.background3]:n.Color.darkGray4,[n.Palette.background4]:n.Color.darkGray3,[n.Palette.background5]:n.Color.darkGray2,[n.Palette.background6]:n.Color.darkGray1,[n.Palette.brandSecondary]:n.Color.darkGray2,[n.Palette.brandSecondaryActive]:n.Color.darkGray2Active,[n.Palette.brandSecondaryHover]:n.Color.darkGray2Hover,[n.Palette.brandSecondaryFocused]:n.Color.white,[n.Palette.brandSecondaryText]:n.Color.white,[n.Palette.inputBackground]:n.Color.darkGray1,[n.Palette.inputColor]:n.Color.white,[n.Palette.inputPlaceholder]:n.Color.lightGray5,[n.Palette.inputDisabled]:n.Color.neutralGray,[n.Palette.inputFocused]:n.Color.lightGray5,[n.Palette.inputBorder]:n.Color.neutralGray,[n.Palette.textDefault]:n.Color.white,[n.Palette.textHelp]:n.Color.lightGray5,[n.Palette.textInactive]:n.Color.neutralGray},y=[{label:"OpenFin Default Light and Dark Theme",palettes:{light:{...m,backgroundPrimary:n.Color.darkGray5},dark:{...w,backgroundPrimary:n.Color.darkGray5}}}],k=e=>{const{background:t,foreground:a}=e;return{background:t,foreground:a??"#FFFFFF"}},b=(e,t)=>({icons:{symbol:e.brand?.icons?.[t]?.symbol||p[t].symbol}}),v=e=>{const{light:t,dark:a}="palettes"in e?e.palettes:{light:e.palette,dark:e.palette},o=(0,r.KD)(w,a),i=(0,r.KD)(m,t),s=((e,t)=>{const a={...e},n={...t};let o=t.backgroundPrimary?(0,r.pu)(t.backgroundPrimary,!0):{},i=e.backgroundPrimary?(0,r.pu)(e.backgroundPrimary):{};return o={...o,...n},i={...i,...a},{light:{...t,...o},dark:{...e,...i}}})(a,t),c={...(0,n.createTheme)({...o,...s?.dark}),brand:b(e,"dark")},d={...(0,n.createTheme)({...i,...s?.light}),brand:b(e,"light")},{light:l,dark:u}=(e=>{const t=Object.keys(e.notificationIndicatorColors??{});if(t?.length){const a={},n={};return t.forEach((t=>{const r=e.notificationIndicatorColors[t];"background"in r?(a[t]=k(r),n[t]=k(r)):(a[t]=k(r.dark??r.light),n[t]=k(r.light??r.dark))})),{light:n,dark:a}}return{light:null,dark:null}})(e);return c.notificationIndicatorColors=u,d.notificationIndicatorColors=l,{dark:c,light:d}},S=async e=>{const{themes:t,selectedScheme:a}=await(async e=>{const t=fin?.__internal_?.initialOptions?.workspacePlatform?._themeData;if(!t||e.uuid!==o.$p.uuid)return{themes:await(0,i.Ag)(e).Theme.getThemes(),selectedScheme:await(0,i.Ag)(e).Theme.getSelectedScheme()};return t})(e);var n,r;return(n=t?.length?t:y,r=a,n.map((e=>{const t="palettes"in e?e.default:g,{light:a,dark:n}=v(e);return{label:e.label,logoUrl:e.logoUrl,theme:{dark:n,light:a},defaultScheme:r??t}})))[0]},P=async e=>{const t=await(0,h.N)(e||fin.me.identity),a=await t.dispatch(h.OF.GetSelectedScheme,void 0);return a===s.qT.System?window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light":a}},438:(e,t,a)=>{"use strict";a.d(t,{BY:()=>l,MW:()=>n,v1:()=>d});var n,r,o=a(723);!function(e){e.Workspace="openfin-workspace",e.OldWorkspace="openfin-browser"}(n||(n={})),function(e){e.FinProtocol="fin-protocol"}(r||(r={}));const i={uuid:o.$h},s={uuid:n.Workspace},c=e=>{if(!o.cI)throw new Error("getApplication cannot be used in a non OpenFin env. Avoid using this during pre-rendering.");return fin.Application.wrapSync(e)},d=()=>c(i),l=()=>c(s)},102:(e,t,a)=>{"use strict";a.d(t,{A:()=>o});var n=a(723);const r=n.YY&&"complete"!==document.readyState&&new Promise((e=>document.addEventListener("readystatechange",(()=>{"complete"===document.readyState&&e()}))));function o(e){let t;const a=new Set;return()=>{if(!n.cI)throw new Error("getChannelClient cannot be used outside an OpenFin env. Avoid using this method during pre-rendering.");return t||(t=(async()=>{await r;const o={clientAPIVersion:n.et},i=await fin.InterApplicationBus.Channel.connect(e,{payload:o});return i.onDisconnection((async()=>{a.forEach((e=>e())),a.clear(),console.warn(`disconnected from channel provider ${e}`),t=void 0})),i})().then((e=>(e.addDisconnectionListener=e=>{a.add(e)},e))).catch((a=>{throw t=void 0,new Error(`failed to connect to channel provider ${e}: ${a}`)}))),t}}},723:(e,t,a)=>{"use strict";var n;a.d(t,{$h:()=>c,AT:()=>i,Hd:()=>p,YY:()=>o,bD:()=>m,cI:()=>r,et:()=>w,fT:()=>l,jw:()=>u,m7:()=>g,t8:()=>h,vL:()=>d}),function(e){e.Local="local",e.Dev="dev",e.Staging="staging",e.Prod="prod"}(n||(n={}));const r="undefined"!=typeof window&&"undefined"!=typeof fin,o=("undefined"==typeof process||process.env,"undefined"!=typeof window),i=o&&"undefined"!=typeof indexedDB,s=o?window.origin:n.Local,c=r&&fin.me.uuid,d=r&&fin.me.name,l=r&&fin.me.entityType,u="prod"===n.Local,p=(n.Dev,n.Staging,"prod"===n.Prod),h="fins://system-apps/workspace",g="https://workspace.openfin.co/workspace/22.5.21/app.json",f=e=>e.startsWith("http://")||e.startsWith("https://")?e:s+e,m=(f("https://workspace.openfin.co/workspace/22.5.21"),f("https://workspace.openfin.co/workspace/22.5.21")),w=("undefined"!=typeof WORKSPACE_DOCS_PLATFORM_URL&&f(WORKSPACE_DOCS_PLATFORM_URL),"undefined"!=typeof WORKSPACE_DOCS_CLIENT_URL&&f(WORKSPACE_DOCS_CLIENT_URL),"22.5.21");"undefined"!=typeof WORKSPACE_BUILD_SHA&&WORKSPACE_BUILD_SHA},786:(e,t,a)=>{"use strict";a.d(t,{A:()=>r});const n="of-workspace-";const r=new class{mark(e){performance.mark(`${n}${e}`)}markStart(e){performance.mark(`${n}${e}-start`)}markEnd(e){performance.mark(`${n}${e}-end`)}markEndAndMeasure(e){performance.mark(`${n}${e}-end`);try{return performance.measure(`${n}${e}`,`${n}${e}-start`,`${n}${e}-end`)}catch(e){0}}markAndMeasure(e,t){performance.mark(`${n}${e}`);try{return performance.measure(`${n}${e}-measure`,`${n}${t}-start`,`${n}${e}`)}catch(e){0}}reportWorkspacePerformanceEntries(){return performance.getEntriesByType("measure").filter((e=>e.name.startsWith(n)))}reportWorkspacePerformance(){return this.reportWorkspacePerformanceEntries().map((e=>({name:e.name.replace(`${n}`,"").replace("-measure",""),duration:e.duration})))}}},181:(e,t,a)=>{"use strict";var n,r;a.d(t,{Ay:()=>s}),function(e){e.Home="/home/",e.HomeSearch="/home/?deeplink=search",e.HomePagesRename="/home/pages/rename/",e.Dock="/dock/",e.Docs="/provider/docs/",e.Storefront="/storefront/",e.DeprecatedAlert="/provider/deprecated-alert/",e.Analytics="/provider/analytics/",e.Provider="/provider/"}(n||(n={})),function(e){e.Browser="/browser/",e.BrowserPopupMenu="/popup-menu/",e.BrowserPopupMenuSaveModal="/popup-menu/save-modal/",e.BrowserPopupMenuLayouts="/popup-menu/layouts/layouts/",e.BrowserPopupMenuColorLinking="/popup-menu/color-linking/color-linking/",e.BrowserIndicator="/indicator/",e.BrowserPopupMenuAddressSearchResultsView="/popup-menu/address-search-results-view/",e.ResponseModal="/popup-menu/response-modal/",e.CloseConfirmationModal="/popup-menu/close-confirmation-modal/",e.EnterpriseBrowser="/enterprise/",e.EnterpriseLandingPage="/enterprise/landing/",e.EnterpriseContextMenu="/context-menu/",e.EnterpriseBookmarkDialog="/bookmark-dialog/",e.EnterpriseAboutPage="/popup-menu/about/",e.DropdownMenu="/dropdown-menu/",e.EnterpriseDock="/dock/",e.ZoomControlsDialog="/zoom-controls-dialog/",e.DesktopSignalsModal="/popup-menu/desktop-signals-modal/",e.IntentsResolverModal="/popup-menu/intents-resolver-modal/"}(r||(r={}));const o={...n,...r};var i;!function(e){e.Search="search"}(i||(i={}));const s=o},523:(e,t,a)=>{"use strict";a.d(t,{Tt:()=>o});var n,r=a(723);!function(e){e.Home="/home",e.Browser="/browser",e.Enterprise="/enterprise",e.Provider="/provider",e.Storefront="/storefront",e.Dock="/dock"}(n||(n={}));function o(e,t){if(!r.YY)throw new Error("resolveAbsolutePath can only be used in a window");const a=t??window.location;if(/^(?:[a-z]+:)?\/\//i.test(e))return e;const n=`${a.protocol}//${a.hostname}`;return new URL(e,n).href}},898:(e,t,a)=>{"use strict";a.d(t,{KD:()=>c,b4:()=>i,pu:()=>s});const n=e=>e.replace(/[^\d,]/g,"").split(","),r=e=>{if(e.length<2)throw new Error("Invalid color object, cannot convert to HSL.");const t=e[0]/255,a=e[1]/255,n=e[2]/255,r=Math.min(t,a,n),o=Math.max(t,a,n),i=o-r;let s=0,c=0,d=0;return s=0===i?0:o===t?(a-n)/i%6:o===a?(n-t)/i+2:(t-a)/i+4,s=Math.round(60*s),s<0&&(s+=360),d=(o+r)/2,c=0==i?0:i/(1-Math.abs(2*d-1)),c=+(100*c).toFixed(1),d=+(100*d).toFixed(1),{hsl:`hsl(${s}, ${c}%, ${d}%)`,hsla:`hsl(${s}, ${c}%, ${d}%, 1)`,hue:s,lightness:d,saturation:c}},o=e=>{if(!e.includes("#"))throw new Error("Invalid hex value, cannot convert to RGB. Hex value begins with a hashtag.");let t=0,a=0,n=0;if(4===e.length)t=`0x${e[1]}${e[1]}`,a=`0x${e[2]}${e[2]}`,n=`0x${e[3]}${e[3]}`;else{if(7!==e.length)throw new Error("Invalid hex string length, cannot convert to RGB.");t=`0x${e[1]}${e[2]}`,a=`0x${e[3]}${e[4]}`,n=`0x${e[5]}${e[6]}`}return[+t,+a,+n]},i=e=>{const t=e;if(t.startsWith("#")){return{rgb:o(t).join(", "),alpha:1}}const a=t.match(/\d{1,3}(\.\d+)?/g);if(a){const[e,t,n,r]=a;return{rgb:`${e}, ${t}, ${n}`,alpha:void 0!==r?parseFloat(r):1}}return{rgb:o(e).join(", "),alpha:1}},s=(e,t=!1)=>{const a=(e=>{if(!e)throw new Error("Color is not defined");const t=e.toLowerCase();let a;if(t.includes("rgb")){const e=n(t);e.length>3&&e.pop(),a=r(e).hue}if(t.includes("#")){const e=o(t);a=r(e).hue}t.includes("hsl")&&(a=n(t)[0]);const i=a?.toString();if(!i)throw new Error(`Hue was unable to be extracted from "${t}", check color format. Accepted formats are: rgb(), rgba(), hex, hsl(), and hsla()`);return i})(e);return t?{background1:`hsla(${a}, 0%, 100%, 1)`,background2:`hsla(${a}, 67%, 99%, 1)`,background3:`hsla(${a}, 26%, 96%, 1)`,background4:`hsla(${a}, 15%, 94%, 1)`,background5:`hsla(${a}, 10%, 88%, 1)`,background6:`hsla(${a}, 80%, 80%, 1)`}:{background1:`hsla(${a}, 8%, 7%, 1)`,background2:`hsla(${a}, 8%, 13%, 1)`,background3:`hsla(${a}, 9%, 15%, 1)`,background4:`hsla(${a}, 6%, 23%, 1)`,background5:`hsla(${a}, 21%, 28%, 1)`,background6:`hsla(${a}, 5%, 51%, 1)`}},c=(e,t)=>{const a={};return Object.keys(e).forEach((n=>{a[n]=t[n]?t[n]:e[n]})),a}},277:(e,t,a)=>{"use strict";a.d(t,{GR:()=>s});var n,r=a(723),o=a(70);a(861);!function(e){e.Browser="Browser",e.Dock="Dock",e.EnterpriseDock="EnterpriseDock",e.Home="Home",e.Notification="Notification",e.Storefront="Storefront",e.Platform="Platform",e.Theming="Theming",e.Microflow="Microflow"}(n||(n={}));const i=async(e,t,a="workspace-licensing")=>{const n={apiVersion:t.apiVersion||r.et,componentName:e,componentVersion:t.componentVersion||r.et,allowed:t.allowed,rejectionCode:t.rejectionCode};fin.System.registerUsage({type:a,data:n})};const s=e=>{o.F2.uuid===o.$p.uuid&&o.F2.name===o.$p.name||i(n.Home,e)};new Map},333:(e,t,a)=>{"use strict";function n(){return void 0!==typeof crypto&&"randomUUID"in crypto&&"function"==typeof crypto.randomUUID?crypto.randomUUID():"10000000-1000-4000-8000-100000000000".replace(/[018]/g,(e=>(e^crypto.getRandomValues(new Uint8Array(1))[0]&15>>e/4).toString(16)))}a.d(t,{N:()=>n})},70:(e,t,a)=>{"use strict";a.d(t,{$p:()=>d,C:()=>g,F2:()=>l,Io:()=>h,Iq:()=>c,Q:()=>n,VE:()=>i,Xq:()=>s,hb:()=>p,jz:()=>f,xt:()=>u});var n,r=a(438),o=a(723);!function(e){e.Home="openfin-home",e.Dock="openfin-dock",e.Storefront="openfin-storefront",e.HomeInternal="openfin-home-internal",e.BrowserMenu="openfin-browser-menu",e.BrowserSaveMenu="openfin-browser-save-menu",e.DockSaveWorkspaceMenu="openfin-dock3-save-workspace-menu",e.BrowserIndicator="openfin-browser-indicator",e.BrowserWindow="internal-generated-window",e.ClassicWindow="internal-generated-classic-window",e.EnterpriseContextMenu="openfin-enterprise-context-menu",e.BrowserAddressSearchPrefix="openfin-browser-menu-address-search-",e.EnterpriseBookmarkDialogWindow="openfin-enterprise-bookmark-dialog",e.DropdownMenu="openfin-enterprise-dropdown-menu",e.DockCompanion="openfin-dock-companion",e.AICompanionPrefix="openfin-ai-companion-",e.UpdateVersionModal="here-update-version-modal",e.ZoomControlsDialog="here-zoom-controls-dialog",e.AboutPageWindow="here-about-page",e.DesktopSignalsModal="here-desktop-signals-modal",e.IntentsResolverModal="here-intents-resolver-modal"}(n||(n={}));const i=e=>({left:(e.left+e.right)/2,top:(e.top+e.bottom)/2}),s=(e,t)=>{const a=t.width/2,n=t.height/2;return{left:Math.round(e.left-a),top:Math.round(e.top-n),width:t.width,height:t.height}};function c(e){if(!o.cI)throw new Error("getOFWindow can only be used in an OpenFin env. Avoid calling this method during pre-rendering.");return fin.Window.wrapSync(e)}const d={name:o.vL,uuid:o.$h};const l={name:n.Home,uuid:r.MW.Workspace},u=(n.Dock,r.MW.Workspace,n.Storefront,r.MW.Workspace,{name:r.MW.Workspace,uuid:r.MW.Workspace});const p=async e=>{try{const t=await fin.Window.wrapSync({name:e.name,uuid:e.uuid??fin.me.uuid}).getOptions();return("browser"===t.workspacePlatform?.windowType||"enterprise"===t.workspacePlatform?.windowType)&&t.workspacePlatform?.pages}catch(e){return console.warn("isBrowserWindow error: ",e),!1}};async function h(){const e=await fin.Application.getCurrentSync().getChildWindows(),t=await Promise.all(e.map((async e=>p(e.identity))));return e.filter(((e,a)=>t[a]))}const g=e=>c(e).getInfo().then((()=>!0)).catch((()=>!1));async function f(e){const t=await fin.System.getMonitorInfo();return[t.primaryMonitor,...t.nonPrimaryMonitors].reduce(((t,a)=>{const n=function(e,t){const a=e.top,n=e.left,r=e.top+e.height,o=e.left+e.width,i=t.monitorRect.top,s=t.monitorRect.left,c=t.monitorRect.bottom,d=t.monitorRect.right;if(a>c||r<i||n>d||o<s)return 0;const l=Math.max(a,i),u=Math.max(n,s);return(Math.min(r,c)-l)*(Math.min(o,d)-u)/(e.height*e.width)}(e,a);return n>t.percentage?{percentage:n,monitor:a}:t}),{percentage:0,monitor:t.primaryMonitor}).monitor}},995:e=>{"use strict";e.exports=require("title-case")}},t={};function a(n){var r=t[n];if(void 0!==r)return r.exports;var o=t[n]={exports:{}};return e[n](o,o.exports,a),o.exports}a.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return a.d(t,{a:t}),t},a.d=(e,t)=>{for(var n in t)a.o(t,n)&&!a.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},a.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),a.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var n={};(()=>{"use strict";a.r(n),a.d(n,{CLIAction:()=>x.PK,CLIFilterOptionType:()=>x.oo,CLITemplate:()=>x.fC,deregister:()=>M,hide:()=>W,register:()=>I,show:()=>F});var e=a(723),t=a(786),r=a(277),o=a(70);const i="0",s="2",c="3",d="5",l="6";var u=a(695),p=a(79),h=a(870);var g=a(905);const f=()=>{};function m(e){const t={};let a=[];let n=[];let r=null;let o=g.Zo.Initial;t.getStatus=()=>o,t.getResultBuffer=()=>a,t.setResultBuffer=e=>{a=e,a?.length&&t.onChange()},t.getRevokedBuffer=()=>n,t.setRevokedBuffer=e=>{n=e,n?.length&&t.onChange()},t.setUpdatedContext=e=>{r=e,null!==r&&t.onChange()},t.getUpdatedContext=()=>r,t.onChange=f;const i={};return t.res=i,i.close=()=>{o!==g.Zo.Close&&(o=g.Zo.Close,t.onChange())},i.open=()=>{o!==g.Zo.Open&&(o=g.Zo.Open,t.onChange())},i.respond=a=>{const n=function(e=[],t=[],a="ascending"){const n=[],r=new Map;t.forEach((e=>{if(e.key)return r.set(e.key,e);n.push(e)}));let o=e.map((e=>{if(e.key){const t=r.get(e.key);if(t)return r.delete(e.key),t}return e}));return o.push(...r.values(),...n),o="ascending"===a?o.sort(((e,t)=>(e?.score??1/0)-(t?.score??1/0))):o.sort(((e,t)=>(t?.score??1/0)-(e?.score??1/0))),o}(t.getResultBuffer(),a,e);t.setResultBuffer(n)},i.revoke=(...e)=>{const a=new Set(e),n=t.getResultBuffer().filter((({key:e})=>{const t=a.has(e);return t&&a.delete(e),!t}));t.setResultBuffer(n),a.size&&(t.getRevokedBuffer().forEach((e=>a.add(e))),t.setRevokedBuffer([...a]))},i.updateContext=e=>{t.setUpdatedContext(e)},t}const w=new Map;async function y(e){const{id:t,providerId:a}=e,n=S.getProviderOrFail(a);let r=w.get(t);r||(r=function(e,t){const a=new Set;let n=!1;return{close:()=>{n=!0;for(const e of a)e()},req:{id:e,...t,context:t?.context||{},onClose:e=>{a.add(e),n&&e()},removeListener:e=>{a.delete(e)}}}}(t,e),w.set(t,r));const o=m(),s=()=>{const e=o.getResultBuffer();o.setResultBuffer([]);const n=o.getRevokedBuffer();o.setRevokedBuffer([]);const r=o.getUpdatedContext();o.setUpdatedContext(null);const s=o.getStatus();!async function(e){(await(0,u.gj)()).dispatch(i,e)}({id:t,providerId:a,results:e,revoked:n,status:s,context:r})};let c=!0,d=!1;o.onChange=()=>{if(c)return c=!1,void s();d||(d=!0,setTimeout((()=>{d=!1,s()}),100))};try{const{results:e,context:i}=await n.onUserInput(r.req,o.res),s=o.getStatus();return{id:t,providerId:a,status:s,results:e,context:i}}catch(e){return console.error(`OpenFin/Workspace/Home. Uncaught exception in search provider ${a} for search ${t}`,"This is likely a bug in the implementation of the search provider.",e),{id:t,providerId:a,error:e?.message}}}async function k(){for(const{req:e,close:t}of w.values())t(),w.delete(e.id)}async function b(e,t){const a=S.getProviderOrFail(e.providerId);return e.result.dispatcherIdentity=t,a.onResultDispatch?.(e.result)}function v(e){const t=w.get(e.id);t?.close(),w.delete(e.id)}const S=new h.xM("home"),P=async t=>{await(0,u.nA)();!("skipPlatformInitCheck"in t&&!0===t.skipPlatformInitCheck)&&await(0,p.KZ)(fin.me.identity);S.assertNotAlreadyRegistered(t.id),S.setProvider(t);const a=await(0,u.gj)();return function(e){e.homeChannelActionsRegistered||(e.homeChannelActionsRegistered=!0,e.register(i,y),e.register(l,v),e.register(d,b),e.addDisconnectionListener(k))}(a),a.dispatch(s,{id:t.id,title:t.title,icon:t.icon,clientAPIVersion:e.et,identity:fin.me.identity,scoreOrder:t.scoreOrder,commandCode:t.commandCode,description:t.description,hidden:t.hidden,listTitle:t.listTitle,inputPlaceholder:t.inputPlaceholder,inputLandingPlaceholder:t.inputLandingPlaceholder,logoUrl:t.logoUrl,dispatchFocusEvents:t.dispatchFocusEvents})};var C=a(248),x=a(872);let A;const I=async a=>{if(!a.icon)throw new Error(`${a.id} provider needs to have icon property defined.`);(0,C.H)("home",o.F2);const n=await P(a);return A=new Promise(((o,i)=>{try{(0,r.GR)({allowed:!0,componentVersion:n?.workspaceVersion}),e.et,o({...n,clientAPIVersion:e.et,setSearchQuery:async(e,t)=>(await(0,u.N7)()).dispatch("set-search-query",{query:e,providerID:a.id,options:t})})}catch(e){(0,r.GR)({allowed:!1,rejectionCode:e instanceof Error?e.message:"unknown"}),i(e)}finally{t.A.markEndAndMeasure("home-registration")}})),A},M=async e=>{S.deleteProvider(e);const t=await(0,u.gj)();await t.dispatch(c,e)};async function F(){t.A.markStart("home-show"),await A;const e=await(0,u.N7)();await e.dispatch("show-home",void 0)}async function W(){await A;const e=await(0,u.N7)();await e.dispatch("hide-home",void 0)}})(),module.exports=n})();
|
|
1
|
+
/*! For license information please see home.js.LICENSE.txt */
|
|
2
|
+
(()=>{var e={877:()=>{},67:()=>{},104:(e,t,r)=>{"use strict";r.d(t,{v:()=>fn});var n=r(822),o=r(189),a=(r(957),r(141)),i=r(898),l=r(675);const c=l.qT.Dark,s=e=>Object.entries(e).reduce((e,[t,r])=>`${e}--workspace-palette-${t}: ${r};`,""),u=(e,t)=>{const r=!!e.contentBackground5&&"#000000"!==e.contentBackground5,n=!!e.contentBackground4&&"#000000"!==e.contentBackground4,o=(0,i.b4)(e.textDefault),a=(0,i.b4)(e.textInactive),l=o.rgb,c=a.rgb,s=o.alpha?parseFloat(o.alpha.toString()):1,u=a.alpha?parseFloat(a.alpha.toString()):1;return{dockExpandedContainerBorderColor:r?e.contentBackground5:e.background4,dockExpandedContainerBorderRadius:r&&t?"0":"10px",dockExpandedContainerBackground:n?e.contentBackground4:e.background1,fillerBackgroundColor:n?e.contentBackground4:"inherit",dockCompanionContainerBackground:n?e.contentBackground4:"inherit",dockComponentContainerBackground:r?e.contentBackground5:e.background5,styledDropdownActiveBackground:`${r?e.contentBackground5:e.background4}`,contentMenuWrapperInternalDivBorderColor:r?e.contentBackground5:e.background5,contentMenuItemContainerActiveBackground:r?e.contentBackground5:e.background3,contentMenuItemContainerHoverBackground:r?e.contentBackground5:e.background2,contentMenuHeaderBorderColor:r?e.contentBackground5:e.background5,dockCompanionSeparatorBorderColor:r?e.contentBackground5:e.background3,dockComponentContainerBorderColor:r?e.contentBackground5:e.background5,companionDockButtonActiveBackground:r?e.contentBackground5:e.background4,companionDockButtonHoverBackground:r?e.contentBackground5:e.background4,"computed-scrollbar-thumb-alpha":s,"computed-scrollbar-track-alpha":u,"scrollbar-thumb-rgb":l,"scrollbar-track-rgb":c}},d=(e,t,r)=>({selectedTab:"dark"===t?e.background3:e.background1,...u(e,r)});var f,p,h={79:(e,t,r)=>{var n=r(3702),o=r(80),a=r(4739),i=r(8655),l=r(1175);function c(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}c.prototype.clear=n,c.prototype.delete=o,c.prototype.get=a,c.prototype.has=i,c.prototype.set=l,e.exports=c},80:(e,t,r)=>{var n=r(6025),o=Array.prototype.splice;e.exports=function(e){var t=this.__data__,r=n(t,e);return!(r<0||(r==t.length-1?t.pop():o.call(t,r,1),--this.size,0))}},181:e=>{e.exports=function(e){var t=[];if(null!=e)for(var r in Object(e))t.push(r);return t}},289:(e,t,r)=>{var n=r(2651);e.exports=function(e){return n(this,e).get(e)}},294:e=>{e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},346:e=>{e.exports=function(e){return null!=e&&"object"==typeof e}},361:e=>{var t=/^(?:0|[1-9]\d*)$/;e.exports=function(e,r){var n=typeof e;return!!(r=null==r?9007199254740991:r)&&("number"==n||"symbol"!=n&&t.test(e))&&e>-1&&e%1==0&&e<r}},392:e=>{e.exports=function(e,t){return null==e?void 0:e[t]}},659:(e,t,r)=>{var n=r(1873),o=Object.prototype,a=o.hasOwnProperty,i=o.toString,l=n?n.toStringTag:void 0;e.exports=function(e){var t=a.call(e,l),r=e[l];try{e[l]=void 0;var n=!0}catch(e){}var o=i.call(e);return n&&(t?e[l]=r:delete e[l]),o}},695:(e,t,r)=>{var n=r(8096),o=r(2428),a=r(6449),i=r(3656),l=r(361),c=r(7167),s=Object.prototype.hasOwnProperty;e.exports=function(e,t){var r=a(e),u=!r&&o(e),d=!r&&!u&&i(e),f=!r&&!u&&!d&&c(e),p=r||u||d||f,h=p?n(e.length,String):[],g=h.length;for(var b in e)!t&&!s.call(e,b)||p&&("length"==b||d&&("offset"==b||"parent"==b)||f&&("buffer"==b||"byteLength"==b||"byteOffset"==b)||l(b,g))||h.push(b);return h}},938:e=>{e.exports=function(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r}},945:(e,t,r)=>{var n=r(79),o=r(8223),a=r(3661);e.exports=function(e,t){var r=this.__data__;if(r instanceof n){var i=r.__data__;if(!o||i.length<199)return i.push([e,t]),this.size=++r.size,this;r=this.__data__=new a(i)}return r.set(e,t),this.size=r.size,this}},999:(e,t,r)=>{var n=r(9302),o=r(6800);e.exports=function(e){return n(function(t,r){var n=-1,a=r.length,i=a>1?r[a-1]:void 0,l=a>2?r[2]:void 0;for(i=e.length>3&&"function"==typeof i?(a--,i):void 0,l&&o(r[0],r[1],l)&&(i=a<3?void 0:i,a=1),t=Object(t);++n<a;){var c=r[n];c&&e(t,c,n,i)}return t})}},1033:e=>{e.exports=function(e,t,r){switch(r.length){case 0:return e.call(t);case 1:return e.call(t,r[0]);case 2:return e.call(t,r[0],r[1]);case 3:return e.call(t,r[0],r[1],r[2])}return e.apply(t,r)}},1042:(e,t,r)=>{var n=r(6110)(Object,"create");e.exports=n},1175:(e,t,r)=>{var n=r(6025);e.exports=function(e,t){var r=this.__data__,o=n(r,e);return o<0?(++this.size,r.push([e,t])):r[o][1]=t,this}},1331:(e,t,r)=>{var n=r(2552),o=r(8879),a=r(346),i=Function.prototype,l=Object.prototype,c=i.toString,s=l.hasOwnProperty,u=c.call(Object);e.exports=function(e){if(!a(e)||"[object Object]"!=n(e))return!1;var t=o(e);if(null===t)return!0;var r=s.call(t,"constructor")&&t.constructor;return"function"==typeof r&&r instanceof r&&c.call(r)==u}},1420:(e,t,r)=>{var n=r(79);e.exports=function(){this.__data__=new n,this.size=0}},1549:(e,t,r)=>{var n=r(2032),o=r(3862),a=r(6721),i=r(2749),l=r(5749);function c(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}c.prototype.clear=n,c.prototype.delete=o,c.prototype.get=a,c.prototype.has=i,c.prototype.set=l,e.exports=c},1791:(e,t,r)=>{var n=r(6547),o=r(3360);e.exports=function(e,t,r,a){var i=!r;r||(r={});for(var l=-1,c=t.length;++l<c;){var s=t[l],u=a?a(r[s],e[s],s,r,e):void 0;void 0===u&&(u=e[s]),i?o(r,s,u):n(r,s,u)}return r}},1811:e=>{var t=Date.now;e.exports=function(e){var r=0,n=0;return function(){var o=t(),a=16-(o-n);if(n=o,a>0){if(++r>=800)return arguments[0]}else r=0;return e.apply(void 0,arguments)}}},1873:(e,t,r)=>{var n=r(9325).Symbol;e.exports=n},1882:(e,t,r)=>{var n=r(2552),o=r(3805);e.exports=function(e){if(!o(e))return!1;var t=n(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},1961:(e,t,r)=>{var n=r(9653);e.exports=function(e,t){var r=t?n(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.length)}},2032:(e,t,r)=>{var n=r(1042);e.exports=function(){this.__data__=n?n(null):{},this.size=0}},2428:(e,t,r)=>{var n=r(7534),o=r(346),a=Object.prototype,i=a.hasOwnProperty,l=a.propertyIsEnumerable,c=n(function(){return arguments}())?n:function(e){return o(e)&&i.call(e,"callee")&&!l.call(e,"callee")};e.exports=c},2543:function(e,t,r){var n;e=r.nmd(e),function(){var o,a="Expected a function",i="__lodash_hash_undefined__",l="__lodash_placeholder__",c=32,s=128,u=1/0,d=9007199254740991,f=NaN,p=4294967295,h=[["ary",s],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",c],["partialRight",64],["rearg",256]],g="[object Arguments]",b="[object Array]",v="[object Boolean]",m="[object Date]",y="[object Error]",w="[object Function]",x="[object GeneratorFunction]",_="[object Map]",k="[object Number]",C="[object Object]",O="[object Promise]",P="[object RegExp]",j="[object Set]",S="[object String]",M="[object Symbol]",I="[object WeakMap]",$="[object ArrayBuffer]",B="[object DataView]",D="[object Float32Array]",T="[object Float64Array]",E="[object Int8Array]",A="[object Int16Array]",F="[object Int32Array]",R="[object Uint8Array]",z="[object Uint8ClampedArray]",L="[object Uint16Array]",W="[object Uint32Array]",N=/\b__p \+= '';/g,H=/\b(__p \+=) '' \+/g,V=/(__e\(.*?\)|\b__t\)) \+\n'';/g,G=/&(?:amp|lt|gt|quot|#39);/g,U=/[&<>"']/g,q=RegExp(G.source),Z=RegExp(U.source),K=/<%-([\s\S]+?)%>/g,X=/<%([\s\S]+?)%>/g,Q=/<%=([\s\S]+?)%>/g,Y=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,J=/^\w*$/,ee=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,te=/[\\^$.*+?()[\]{}|]/g,re=RegExp(te.source),ne=/^\s+/,oe=/\s/,ae=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,ie=/\{\n\/\* \[wrapped with (.+)\] \*/,le=/,? & /,ce=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,se=/[()=,{}\[\]\/\s]/,ue=/\\(\\)?/g,de=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,fe=/\w*$/,pe=/^[-+]0x[0-9a-f]+$/i,he=/^0b[01]+$/i,ge=/^\[object .+?Constructor\]$/,be=/^0o[0-7]+$/i,ve=/^(?:0|[1-9]\d*)$/,me=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,ye=/($^)/,we=/['\n\r\u2028\u2029\\]/g,xe="\\ud800-\\udfff",_e="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",ke="\\u2700-\\u27bf",Ce="a-z\\xdf-\\xf6\\xf8-\\xff",Oe="A-Z\\xc0-\\xd6\\xd8-\\xde",Pe="\\ufe0e\\ufe0f",je="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Se="["+xe+"]",Me="["+je+"]",Ie="["+_e+"]",$e="\\d+",Be="["+ke+"]",De="["+Ce+"]",Te="[^"+xe+je+$e+ke+Ce+Oe+"]",Ee="\\ud83c[\\udffb-\\udfff]",Ae="[^"+xe+"]",Fe="(?:\\ud83c[\\udde6-\\uddff]){2}",Re="[\\ud800-\\udbff][\\udc00-\\udfff]",ze="["+Oe+"]",Le="\\u200d",We="(?:"+De+"|"+Te+")",Ne="(?:"+ze+"|"+Te+")",He="(?:['’](?:d|ll|m|re|s|t|ve))?",Ve="(?:['’](?:D|LL|M|RE|S|T|VE))?",Ge="(?:"+Ie+"|"+Ee+")?",Ue="["+Pe+"]?",qe=Ue+Ge+"(?:"+Le+"(?:"+[Ae,Fe,Re].join("|")+")"+Ue+Ge+")*",Ze="(?:"+[Be,Fe,Re].join("|")+")"+qe,Ke="(?:"+[Ae+Ie+"?",Ie,Fe,Re,Se].join("|")+")",Xe=RegExp("['’]","g"),Qe=RegExp(Ie,"g"),Ye=RegExp(Ee+"(?="+Ee+")|"+Ke+qe,"g"),Je=RegExp([ze+"?"+De+"+"+He+"(?="+[Me,ze,"$"].join("|")+")",Ne+"+"+Ve+"(?="+[Me,ze+We,"$"].join("|")+")",ze+"?"+We+"+"+He,ze+"+"+Ve,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",$e,Ze].join("|"),"g"),et=RegExp("["+Le+xe+_e+Pe+"]"),tt=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,rt=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],nt=-1,ot={};ot[D]=ot[T]=ot[E]=ot[A]=ot[F]=ot[R]=ot[z]=ot[L]=ot[W]=!0,ot[g]=ot[b]=ot[$]=ot[v]=ot[B]=ot[m]=ot[y]=ot[w]=ot[_]=ot[k]=ot[C]=ot[P]=ot[j]=ot[S]=ot[I]=!1;var at={};at[g]=at[b]=at[$]=at[B]=at[v]=at[m]=at[D]=at[T]=at[E]=at[A]=at[F]=at[_]=at[k]=at[C]=at[P]=at[j]=at[S]=at[M]=at[R]=at[z]=at[L]=at[W]=!0,at[y]=at[w]=at[I]=!1;var it={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},lt=parseFloat,ct=parseInt,st="object"==typeof r.g&&r.g&&r.g.Object===Object&&r.g,ut="object"==typeof self&&self&&self.Object===Object&&self,dt=st||ut||Function("return this")(),ft=t&&!t.nodeType&&t,pt=ft&&e&&!e.nodeType&&e,ht=pt&&pt.exports===ft,gt=ht&&st.process,bt=function(){try{return pt&&pt.require&&pt.require("util").types||gt&>.binding&>.binding("util")}catch(e){}}(),vt=bt&&bt.isArrayBuffer,mt=bt&&bt.isDate,yt=bt&&bt.isMap,wt=bt&&bt.isRegExp,xt=bt&&bt.isSet,_t=bt&&bt.isTypedArray;function kt(e,t,r){switch(r.length){case 0:return e.call(t);case 1:return e.call(t,r[0]);case 2:return e.call(t,r[0],r[1]);case 3:return e.call(t,r[0],r[1],r[2])}return e.apply(t,r)}function Ct(e,t,r,n){for(var o=-1,a=null==e?0:e.length;++o<a;){var i=e[o];t(n,i,r(i),e)}return n}function Ot(e,t){for(var r=-1,n=null==e?0:e.length;++r<n&&!1!==t(e[r],r,e););return e}function Pt(e,t){for(var r=null==e?0:e.length;r--&&!1!==t(e[r],r,e););return e}function jt(e,t){for(var r=-1,n=null==e?0:e.length;++r<n;)if(!t(e[r],r,e))return!1;return!0}function St(e,t){for(var r=-1,n=null==e?0:e.length,o=0,a=[];++r<n;){var i=e[r];t(i,r,e)&&(a[o++]=i)}return a}function Mt(e,t){return!(null==e||!e.length)&&zt(e,t,0)>-1}function It(e,t,r){for(var n=-1,o=null==e?0:e.length;++n<o;)if(r(t,e[n]))return!0;return!1}function $t(e,t){for(var r=-1,n=null==e?0:e.length,o=Array(n);++r<n;)o[r]=t(e[r],r,e);return o}function Bt(e,t){for(var r=-1,n=t.length,o=e.length;++r<n;)e[o+r]=t[r];return e}function Dt(e,t,r,n){var o=-1,a=null==e?0:e.length;for(n&&a&&(r=e[++o]);++o<a;)r=t(r,e[o],o,e);return r}function Tt(e,t,r,n){var o=null==e?0:e.length;for(n&&o&&(r=e[--o]);o--;)r=t(r,e[o],o,e);return r}function Et(e,t){for(var r=-1,n=null==e?0:e.length;++r<n;)if(t(e[r],r,e))return!0;return!1}var At=Ht("length");function Ft(e,t,r){var n;return r(e,function(e,r,o){if(t(e,r,o))return n=r,!1}),n}function Rt(e,t,r,n){for(var o=e.length,a=r+(n?1:-1);n?a--:++a<o;)if(t(e[a],a,e))return a;return-1}function zt(e,t,r){return t==t?function(e,t,r){for(var n=r-1,o=e.length;++n<o;)if(e[n]===t)return n;return-1}(e,t,r):Rt(e,Wt,r)}function Lt(e,t,r,n){for(var o=r-1,a=e.length;++o<a;)if(n(e[o],t))return o;return-1}function Wt(e){return e!=e}function Nt(e,t){var r=null==e?0:e.length;return r?Ut(e,t)/r:f}function Ht(e){return function(t){return null==t?o:t[e]}}function Vt(e){return function(t){return null==e?o:e[t]}}function Gt(e,t,r,n,o){return o(e,function(e,o,a){r=n?(n=!1,e):t(r,e,o,a)}),r}function Ut(e,t){for(var r,n=-1,a=e.length;++n<a;){var i=t(e[n]);i!==o&&(r=r===o?i:r+i)}return r}function qt(e,t){for(var r=-1,n=Array(e);++r<e;)n[r]=t(r);return n}function Zt(e){return e?e.slice(0,ur(e)+1).replace(ne,""):e}function Kt(e){return function(t){return e(t)}}function Xt(e,t){return $t(t,function(t){return e[t]})}function Qt(e,t){return e.has(t)}function Yt(e,t){for(var r=-1,n=e.length;++r<n&&zt(t,e[r],0)>-1;);return r}function Jt(e,t){for(var r=e.length;r--&&zt(t,e[r],0)>-1;);return r}var er=Vt({À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"}),tr=Vt({"&":"&","<":"<",">":">",'"':""","'":"'"});function rr(e){return"\\"+it[e]}function nr(e){return et.test(e)}function or(e){var t=-1,r=Array(e.size);return e.forEach(function(e,n){r[++t]=[n,e]}),r}function ar(e,t){return function(r){return e(t(r))}}function ir(e,t){for(var r=-1,n=e.length,o=0,a=[];++r<n;){var i=e[r];i!==t&&i!==l||(e[r]=l,a[o++]=r)}return a}function lr(e){var t=-1,r=Array(e.size);return e.forEach(function(e){r[++t]=e}),r}function cr(e){return nr(e)?function(e){for(var t=Ye.lastIndex=0;Ye.test(e);)++t;return t}(e):At(e)}function sr(e){return nr(e)?function(e){return e.match(Ye)||[]}(e):function(e){return e.split("")}(e)}function ur(e){for(var t=e.length;t--&&oe.test(e.charAt(t)););return t}var dr=Vt({"&":"&","<":"<",">":">",""":'"',"'":"'"}),fr=function e(t){var r,n=(t=null==t?dt:fr.defaults(dt.Object(),t,fr.pick(dt,rt))).Array,oe=t.Date,xe=t.Error,_e=t.Function,ke=t.Math,Ce=t.Object,Oe=t.RegExp,Pe=t.String,je=t.TypeError,Se=n.prototype,Me=_e.prototype,Ie=Ce.prototype,$e=t["__core-js_shared__"],Be=Me.toString,De=Ie.hasOwnProperty,Te=0,Ee=(r=/[^.]+$/.exec($e&&$e.keys&&$e.keys.IE_PROTO||""))?"Symbol(src)_1."+r:"",Ae=Ie.toString,Fe=Be.call(Ce),Re=dt._,ze=Oe("^"+Be.call(De).replace(te,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Le=ht?t.Buffer:o,We=t.Symbol,Ne=t.Uint8Array,He=Le?Le.allocUnsafe:o,Ve=ar(Ce.getPrototypeOf,Ce),Ge=Ce.create,Ue=Ie.propertyIsEnumerable,qe=Se.splice,Ze=We?We.isConcatSpreadable:o,Ke=We?We.iterator:o,Ye=We?We.toStringTag:o,et=function(){try{var e=ca(Ce,"defineProperty");return e({},"",{}),e}catch(e){}}(),it=t.clearTimeout!==dt.clearTimeout&&t.clearTimeout,st=oe&&oe.now!==dt.Date.now&&oe.now,ut=t.setTimeout!==dt.setTimeout&&t.setTimeout,ft=ke.ceil,pt=ke.floor,gt=Ce.getOwnPropertySymbols,bt=Le?Le.isBuffer:o,At=t.isFinite,Vt=Se.join,pr=ar(Ce.keys,Ce),hr=ke.max,gr=ke.min,br=oe.now,vr=t.parseInt,mr=ke.random,yr=Se.reverse,wr=ca(t,"DataView"),xr=ca(t,"Map"),_r=ca(t,"Promise"),kr=ca(t,"Set"),Cr=ca(t,"WeakMap"),Or=ca(Ce,"create"),Pr=Cr&&new Cr,jr={},Sr=Aa(wr),Mr=Aa(xr),Ir=Aa(_r),$r=Aa(kr),Br=Aa(Cr),Dr=We?We.prototype:o,Tr=Dr?Dr.valueOf:o,Er=Dr?Dr.toString:o;function Ar(e){if(Ji(e)&&!Ni(e)&&!(e instanceof Lr)){if(e instanceof zr)return e;if(De.call(e,"__wrapped__"))return Fa(e)}return new zr(e)}var Fr=function(){function e(){}return function(t){if(!Yi(t))return{};if(Ge)return Ge(t);e.prototype=t;var r=new e;return e.prototype=o,r}}();function Rr(){}function zr(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=o}function Lr(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=p,this.__views__=[]}function Wr(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}function Nr(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}function Hr(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}function Vr(e){var t=-1,r=null==e?0:e.length;for(this.__data__=new Hr;++t<r;)this.add(e[t])}function Gr(e){var t=this.__data__=new Nr(e);this.size=t.size}function Ur(e,t){var r=Ni(e),n=!r&&Wi(e),o=!r&&!n&&Ui(e),a=!r&&!n&&!o&&ll(e),i=r||n||o||a,l=i?qt(e.length,Pe):[],c=l.length;for(var s in e)!t&&!De.call(e,s)||i&&("length"==s||o&&("offset"==s||"parent"==s)||a&&("buffer"==s||"byteLength"==s||"byteOffset"==s)||ga(s,c))||l.push(s);return l}function qr(e){var t=e.length;return t?e[Vn(0,t-1)]:o}function Zr(e,t){return $a(Po(e),nn(t,0,e.length))}function Kr(e){return $a(Po(e))}function Xr(e,t,r){(r!==o&&!Ri(e[t],r)||r===o&&!(t in e))&&tn(e,t,r)}function Qr(e,t,r){var n=e[t];De.call(e,t)&&Ri(n,r)&&(r!==o||t in e)||tn(e,t,r)}function Yr(e,t){for(var r=e.length;r--;)if(Ri(e[r][0],t))return r;return-1}function Jr(e,t,r,n){return sn(e,function(e,o,a){t(n,e,r(e),a)}),n}function en(e,t){return e&&jo(t,Ml(t),e)}function tn(e,t,r){"__proto__"==t&&et?et(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[t]=r}function rn(e,t){for(var r=-1,a=t.length,i=n(a),l=null==e;++r<a;)i[r]=l?o:Cl(e,t[r]);return i}function nn(e,t,r){return e==e&&(r!==o&&(e=e<=r?e:r),t!==o&&(e=e>=t?e:t)),e}function on(e,t,r,n,a,i){var l,c=1&t,s=2&t,u=4&t;if(r&&(l=a?r(e,n,a,i):r(e)),l!==o)return l;if(!Yi(e))return e;var d=Ni(e);if(d){if(l=function(e){var t=e.length,r=new e.constructor(t);return t&&"string"==typeof e[0]&&De.call(e,"index")&&(r.index=e.index,r.input=e.input),r}(e),!c)return Po(e,l)}else{var f=da(e),p=f==w||f==x;if(Ui(e))return wo(e,c);if(f==C||f==g||p&&!a){if(l=s||p?{}:pa(e),!c)return s?function(e,t){return jo(e,ua(e),t)}(e,function(e,t){return e&&jo(t,Il(t),e)}(l,e)):function(e,t){return jo(e,sa(e),t)}(e,en(l,e))}else{if(!at[f])return a?e:{};l=function(e,t,r){var n,o=e.constructor;switch(t){case $:return xo(e);case v:case m:return new o(+e);case B:return function(e,t){var r=t?xo(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.byteLength)}(e,r);case D:case T:case E:case A:case F:case R:case z:case L:case W:return _o(e,r);case _:return new o;case k:case S:return new o(e);case P:return function(e){var t=new e.constructor(e.source,fe.exec(e));return t.lastIndex=e.lastIndex,t}(e);case j:return new o;case M:return n=e,Tr?Ce(Tr.call(n)):{}}}(e,f,c)}}i||(i=new Gr);var h=i.get(e);if(h)return h;i.set(e,l),ol(e)?e.forEach(function(n){l.add(on(n,t,r,n,e,i))}):el(e)&&e.forEach(function(n,o){l.set(o,on(n,t,r,o,e,i))});var b=d?o:(u?s?ta:ea:s?Il:Ml)(e);return Ot(b||e,function(n,o){b&&(n=e[o=n]),Qr(l,o,on(n,t,r,o,e,i))}),l}function an(e,t,r){var n=r.length;if(null==e)return!n;for(e=Ce(e);n--;){var a=r[n],i=t[a],l=e[a];if(l===o&&!(a in e)||!i(l))return!1}return!0}function ln(e,t,r){if("function"!=typeof e)throw new je(a);return ja(function(){e.apply(o,r)},t)}function cn(e,t,r,n){var o=-1,a=Mt,i=!0,l=e.length,c=[],s=t.length;if(!l)return c;r&&(t=$t(t,Kt(r))),n?(a=It,i=!1):t.length>=200&&(a=Qt,i=!1,t=new Vr(t));e:for(;++o<l;){var u=e[o],d=null==r?u:r(u);if(u=n||0!==u?u:0,i&&d==d){for(var f=s;f--;)if(t[f]===d)continue e;c.push(u)}else a(t,d,n)||c.push(u)}return c}Ar.templateSettings={escape:K,evaluate:X,interpolate:Q,variable:"",imports:{_:Ar}},Ar.prototype=Rr.prototype,Ar.prototype.constructor=Ar,zr.prototype=Fr(Rr.prototype),zr.prototype.constructor=zr,Lr.prototype=Fr(Rr.prototype),Lr.prototype.constructor=Lr,Wr.prototype.clear=function(){this.__data__=Or?Or(null):{},this.size=0},Wr.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},Wr.prototype.get=function(e){var t=this.__data__;if(Or){var r=t[e];return r===i?o:r}return De.call(t,e)?t[e]:o},Wr.prototype.has=function(e){var t=this.__data__;return Or?t[e]!==o:De.call(t,e)},Wr.prototype.set=function(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=Or&&t===o?i:t,this},Nr.prototype.clear=function(){this.__data__=[],this.size=0},Nr.prototype.delete=function(e){var t=this.__data__,r=Yr(t,e);return!(r<0||(r==t.length-1?t.pop():qe.call(t,r,1),--this.size,0))},Nr.prototype.get=function(e){var t=this.__data__,r=Yr(t,e);return r<0?o:t[r][1]},Nr.prototype.has=function(e){return Yr(this.__data__,e)>-1},Nr.prototype.set=function(e,t){var r=this.__data__,n=Yr(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this},Hr.prototype.clear=function(){this.size=0,this.__data__={hash:new Wr,map:new(xr||Nr),string:new Wr}},Hr.prototype.delete=function(e){var t=ia(this,e).delete(e);return this.size-=t?1:0,t},Hr.prototype.get=function(e){return ia(this,e).get(e)},Hr.prototype.has=function(e){return ia(this,e).has(e)},Hr.prototype.set=function(e,t){var r=ia(this,e),n=r.size;return r.set(e,t),this.size+=r.size==n?0:1,this},Vr.prototype.add=Vr.prototype.push=function(e){return this.__data__.set(e,i),this},Vr.prototype.has=function(e){return this.__data__.has(e)},Gr.prototype.clear=function(){this.__data__=new Nr,this.size=0},Gr.prototype.delete=function(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r},Gr.prototype.get=function(e){return this.__data__.get(e)},Gr.prototype.has=function(e){return this.__data__.has(e)},Gr.prototype.set=function(e,t){var r=this.__data__;if(r instanceof Nr){var n=r.__data__;if(!xr||n.length<199)return n.push([e,t]),this.size=++r.size,this;r=this.__data__=new Hr(n)}return r.set(e,t),this.size=r.size,this};var sn=Io(vn),un=Io(mn,!0);function dn(e,t){var r=!0;return sn(e,function(e,n,o){return r=!!t(e,n,o)}),r}function fn(e,t,r){for(var n=-1,a=e.length;++n<a;){var i=e[n],l=t(i);if(null!=l&&(c===o?l==l&&!il(l):r(l,c)))var c=l,s=i}return s}function pn(e,t){var r=[];return sn(e,function(e,n,o){t(e,n,o)&&r.push(e)}),r}function hn(e,t,r,n,o){var a=-1,i=e.length;for(r||(r=ha),o||(o=[]);++a<i;){var l=e[a];t>0&&r(l)?t>1?hn(l,t-1,r,n,o):Bt(o,l):n||(o[o.length]=l)}return o}var gn=$o(),bn=$o(!0);function vn(e,t){return e&&gn(e,t,Ml)}function mn(e,t){return e&&bn(e,t,Ml)}function yn(e,t){return St(t,function(t){return Ki(e[t])})}function wn(e,t){for(var r=0,n=(t=bo(t,e)).length;null!=e&&r<n;)e=e[Ea(t[r++])];return r&&r==n?e:o}function xn(e,t,r){var n=t(e);return Ni(e)?n:Bt(n,r(e))}function _n(e){return null==e?e===o?"[object Undefined]":"[object Null]":Ye&&Ye in Ce(e)?function(e){var t=De.call(e,Ye),r=e[Ye];try{e[Ye]=o;var n=!0}catch(e){}var a=Ae.call(e);return n&&(t?e[Ye]=r:delete e[Ye]),a}(e):function(e){return Ae.call(e)}(e)}function kn(e,t){return e>t}function Cn(e,t){return null!=e&&De.call(e,t)}function On(e,t){return null!=e&&t in Ce(e)}function Pn(e,t,r){for(var a=r?It:Mt,i=e[0].length,l=e.length,c=l,s=n(l),u=1/0,d=[];c--;){var f=e[c];c&&t&&(f=$t(f,Kt(t))),u=gr(f.length,u),s[c]=!r&&(t||i>=120&&f.length>=120)?new Vr(c&&f):o}f=e[0];var p=-1,h=s[0];e:for(;++p<i&&d.length<u;){var g=f[p],b=t?t(g):g;if(g=r||0!==g?g:0,!(h?Qt(h,b):a(d,b,r))){for(c=l;--c;){var v=s[c];if(!(v?Qt(v,b):a(e[c],b,r)))continue e}h&&h.push(b),d.push(g)}}return d}function jn(e,t,r){var n=null==(e=Ca(e,t=bo(t,e)))?e:e[Ea(Za(t))];return null==n?o:kt(n,e,r)}function Sn(e){return Ji(e)&&_n(e)==g}function Mn(e,t,r,n,a){return e===t||(null==e||null==t||!Ji(e)&&!Ji(t)?e!=e&&t!=t:function(e,t,r,n,a,i){var l=Ni(e),c=Ni(t),s=l?b:da(e),u=c?b:da(t),d=(s=s==g?C:s)==C,f=(u=u==g?C:u)==C,p=s==u;if(p&&Ui(e)){if(!Ui(t))return!1;l=!0,d=!1}if(p&&!d)return i||(i=new Gr),l||ll(e)?Yo(e,t,r,n,a,i):function(e,t,r,n,o,a,i){switch(r){case B:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case $:return!(e.byteLength!=t.byteLength||!a(new Ne(e),new Ne(t)));case v:case m:case k:return Ri(+e,+t);case y:return e.name==t.name&&e.message==t.message;case P:case S:return e==t+"";case _:var l=or;case j:var c=1&n;if(l||(l=lr),e.size!=t.size&&!c)return!1;var s=i.get(e);if(s)return s==t;n|=2,i.set(e,t);var u=Yo(l(e),l(t),n,o,a,i);return i.delete(e),u;case M:if(Tr)return Tr.call(e)==Tr.call(t)}return!1}(e,t,s,r,n,a,i);if(!(1&r)){var h=d&&De.call(e,"__wrapped__"),w=f&&De.call(t,"__wrapped__");if(h||w){var x=h?e.value():e,O=w?t.value():t;return i||(i=new Gr),a(x,O,r,n,i)}}return!!p&&(i||(i=new Gr),function(e,t,r,n,a,i){var l=1&r,c=ea(e),s=c.length;if(s!=ea(t).length&&!l)return!1;for(var u=s;u--;){var d=c[u];if(!(l?d in t:De.call(t,d)))return!1}var f=i.get(e),p=i.get(t);if(f&&p)return f==t&&p==e;var h=!0;i.set(e,t),i.set(t,e);for(var g=l;++u<s;){var b=e[d=c[u]],v=t[d];if(n)var m=l?n(v,b,d,t,e,i):n(b,v,d,e,t,i);if(!(m===o?b===v||a(b,v,r,n,i):m)){h=!1;break}g||(g="constructor"==d)}if(h&&!g){var y=e.constructor,w=t.constructor;y==w||!("constructor"in e)||!("constructor"in t)||"function"==typeof y&&y instanceof y&&"function"==typeof w&&w instanceof w||(h=!1)}return i.delete(e),i.delete(t),h}(e,t,r,n,a,i))}(e,t,r,n,Mn,a))}function In(e,t,r,n){var a=r.length,i=a,l=!n;if(null==e)return!i;for(e=Ce(e);a--;){var c=r[a];if(l&&c[2]?c[1]!==e[c[0]]:!(c[0]in e))return!1}for(;++a<i;){var s=(c=r[a])[0],u=e[s],d=c[1];if(l&&c[2]){if(u===o&&!(s in e))return!1}else{var f=new Gr;if(n)var p=n(u,d,s,e,t,f);if(!(p===o?Mn(d,u,3,n,f):p))return!1}}return!0}function $n(e){return!(!Yi(e)||(t=e,Ee&&Ee in t))&&(Ki(e)?ze:ge).test(Aa(e));var t}function Bn(e){return"function"==typeof e?e:null==e?tc:"object"==typeof e?Ni(e)?Fn(e[0],e[1]):An(e):uc(e)}function Dn(e){if(!wa(e))return pr(e);var t=[];for(var r in Ce(e))De.call(e,r)&&"constructor"!=r&&t.push(r);return t}function Tn(e,t){return e<t}function En(e,t){var r=-1,o=Vi(e)?n(e.length):[];return sn(e,function(e,n,a){o[++r]=t(e,n,a)}),o}function An(e){var t=la(e);return 1==t.length&&t[0][2]?_a(t[0][0],t[0][1]):function(r){return r===e||In(r,e,t)}}function Fn(e,t){return va(e)&&xa(t)?_a(Ea(e),t):function(r){var n=Cl(r,e);return n===o&&n===t?Ol(r,e):Mn(t,n,3)}}function Rn(e,t,r,n,a){e!==t&&gn(t,function(i,l){if(a||(a=new Gr),Yi(i))!function(e,t,r,n,a,i,l){var c=Oa(e,r),s=Oa(t,r),u=l.get(s);if(u)Xr(e,r,u);else{var d=i?i(c,s,r+"",e,t,l):o,f=d===o;if(f){var p=Ni(s),h=!p&&Ui(s),g=!p&&!h&&ll(s);d=s,p||h||g?Ni(c)?d=c:Gi(c)?d=Po(c):h?(f=!1,d=wo(s,!0)):g?(f=!1,d=_o(s,!0)):d=[]:rl(s)||Wi(s)?(d=c,Wi(c)?d=gl(c):Yi(c)&&!Ki(c)||(d=pa(s))):f=!1}f&&(l.set(s,d),a(d,s,n,i,l),l.delete(s)),Xr(e,r,d)}}(e,t,l,r,Rn,n,a);else{var c=n?n(Oa(e,l),i,l+"",e,t,a):o;c===o&&(c=i),Xr(e,l,c)}},Il)}function zn(e,t){var r=e.length;if(r)return ga(t+=t<0?r:0,r)?e[t]:o}function Ln(e,t,r){t=t.length?$t(t,function(e){return Ni(e)?function(t){return wn(t,1===e.length?e[0]:e)}:e}):[tc];var n=-1;t=$t(t,Kt(aa()));var o=En(e,function(e,r,o){var a=$t(t,function(t){return t(e)});return{criteria:a,index:++n,value:e}});return function(e){var t=e.length;for(e.sort(function(e,t){return function(e,t,r){for(var n=-1,o=e.criteria,a=t.criteria,i=o.length,l=r.length;++n<i;){var c=ko(o[n],a[n]);if(c)return n>=l?c:c*("desc"==r[n]?-1:1)}return e.index-t.index}(e,t,r)});t--;)e[t]=e[t].value;return e}(o)}function Wn(e,t,r){for(var n=-1,o=t.length,a={};++n<o;){var i=t[n],l=wn(e,i);r(l,i)&&Kn(a,bo(i,e),l)}return a}function Nn(e,t,r,n){var o=n?Lt:zt,a=-1,i=t.length,l=e;for(e===t&&(t=Po(t)),r&&(l=$t(e,Kt(r)));++a<i;)for(var c=0,s=t[a],u=r?r(s):s;(c=o(l,u,c,n))>-1;)l!==e&&qe.call(l,c,1),qe.call(e,c,1);return e}function Hn(e,t){for(var r=e?t.length:0,n=r-1;r--;){var o=t[r];if(r==n||o!==a){var a=o;ga(o)?qe.call(e,o,1):lo(e,o)}}return e}function Vn(e,t){return e+pt(mr()*(t-e+1))}function Gn(e,t){var r="";if(!e||t<1||t>d)return r;do{t%2&&(r+=e),(t=pt(t/2))&&(e+=e)}while(t);return r}function Un(e,t){return Sa(ka(e,t,tc),e+"")}function qn(e){return qr(Rl(e))}function Zn(e,t){var r=Rl(e);return $a(r,nn(t,0,r.length))}function Kn(e,t,r,n){if(!Yi(e))return e;for(var a=-1,i=(t=bo(t,e)).length,l=i-1,c=e;null!=c&&++a<i;){var s=Ea(t[a]),u=r;if("__proto__"===s||"constructor"===s||"prototype"===s)return e;if(a!=l){var d=c[s];(u=n?n(d,s,c):o)===o&&(u=Yi(d)?d:ga(t[a+1])?[]:{})}Qr(c,s,u),c=c[s]}return e}var Xn=Pr?function(e,t){return Pr.set(e,t),e}:tc,Qn=et?function(e,t){return et(e,"toString",{configurable:!0,enumerable:!1,value:Yl(t),writable:!0})}:tc;function Yn(e){return $a(Rl(e))}function Jn(e,t,r){var o=-1,a=e.length;t<0&&(t=-t>a?0:a+t),(r=r>a?a:r)<0&&(r+=a),a=t>r?0:r-t>>>0,t>>>=0;for(var i=n(a);++o<a;)i[o]=e[o+t];return i}function eo(e,t){var r;return sn(e,function(e,n,o){return!(r=t(e,n,o))}),!!r}function to(e,t,r){var n=0,o=null==e?n:e.length;if("number"==typeof t&&t==t&&o<=2147483647){for(;n<o;){var a=n+o>>>1,i=e[a];null!==i&&!il(i)&&(r?i<=t:i<t)?n=a+1:o=a}return o}return ro(e,t,tc,r)}function ro(e,t,r,n){var a=0,i=null==e?0:e.length;if(0===i)return 0;for(var l=(t=r(t))!=t,c=null===t,s=il(t),u=t===o;a<i;){var d=pt((a+i)/2),f=r(e[d]),p=f!==o,h=null===f,g=f==f,b=il(f);if(l)var v=n||g;else v=u?g&&(n||p):c?g&&p&&(n||!h):s?g&&p&&!h&&(n||!b):!h&&!b&&(n?f<=t:f<t);v?a=d+1:i=d}return gr(i,4294967294)}function no(e,t){for(var r=-1,n=e.length,o=0,a=[];++r<n;){var i=e[r],l=t?t(i):i;if(!r||!Ri(l,c)){var c=l;a[o++]=0===i?0:i}}return a}function oo(e){return"number"==typeof e?e:il(e)?f:+e}function ao(e){if("string"==typeof e)return e;if(Ni(e))return $t(e,ao)+"";if(il(e))return Er?Er.call(e):"";var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function io(e,t,r){var n=-1,o=Mt,a=e.length,i=!0,l=[],c=l;if(r)i=!1,o=It;else if(a>=200){var s=t?null:Uo(e);if(s)return lr(s);i=!1,o=Qt,c=new Vr}else c=t?[]:l;e:for(;++n<a;){var u=e[n],d=t?t(u):u;if(u=r||0!==u?u:0,i&&d==d){for(var f=c.length;f--;)if(c[f]===d)continue e;t&&c.push(d),l.push(u)}else o(c,d,r)||(c!==l&&c.push(d),l.push(u))}return l}function lo(e,t){return null==(e=Ca(e,t=bo(t,e)))||delete e[Ea(Za(t))]}function co(e,t,r,n){return Kn(e,t,r(wn(e,t)),n)}function so(e,t,r,n){for(var o=e.length,a=n?o:-1;(n?a--:++a<o)&&t(e[a],a,e););return r?Jn(e,n?0:a,n?a+1:o):Jn(e,n?a+1:0,n?o:a)}function uo(e,t){var r=e;return r instanceof Lr&&(r=r.value()),Dt(t,function(e,t){return t.func.apply(t.thisArg,Bt([e],t.args))},r)}function fo(e,t,r){var o=e.length;if(o<2)return o?io(e[0]):[];for(var a=-1,i=n(o);++a<o;)for(var l=e[a],c=-1;++c<o;)c!=a&&(i[a]=cn(i[a]||l,e[c],t,r));return io(hn(i,1),t,r)}function po(e,t,r){for(var n=-1,a=e.length,i=t.length,l={};++n<a;){var c=n<i?t[n]:o;r(l,e[n],c)}return l}function ho(e){return Gi(e)?e:[]}function go(e){return"function"==typeof e?e:tc}function bo(e,t){return Ni(e)?e:va(e,t)?[e]:Ta(bl(e))}var vo=Un;function mo(e,t,r){var n=e.length;return r=r===o?n:r,!t&&r>=n?e:Jn(e,t,r)}var yo=it||function(e){return dt.clearTimeout(e)};function wo(e,t){if(t)return e.slice();var r=e.length,n=He?He(r):new e.constructor(r);return e.copy(n),n}function xo(e){var t=new e.constructor(e.byteLength);return new Ne(t).set(new Ne(e)),t}function _o(e,t){var r=t?xo(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.length)}function ko(e,t){if(e!==t){var r=e!==o,n=null===e,a=e==e,i=il(e),l=t!==o,c=null===t,s=t==t,u=il(t);if(!c&&!u&&!i&&e>t||i&&l&&s&&!c&&!u||n&&l&&s||!r&&s||!a)return 1;if(!n&&!i&&!u&&e<t||u&&r&&a&&!n&&!i||c&&r&&a||!l&&a||!s)return-1}return 0}function Co(e,t,r,o){for(var a=-1,i=e.length,l=r.length,c=-1,s=t.length,u=hr(i-l,0),d=n(s+u),f=!o;++c<s;)d[c]=t[c];for(;++a<l;)(f||a<i)&&(d[r[a]]=e[a]);for(;u--;)d[c++]=e[a++];return d}function Oo(e,t,r,o){for(var a=-1,i=e.length,l=-1,c=r.length,s=-1,u=t.length,d=hr(i-c,0),f=n(d+u),p=!o;++a<d;)f[a]=e[a];for(var h=a;++s<u;)f[h+s]=t[s];for(;++l<c;)(p||a<i)&&(f[h+r[l]]=e[a++]);return f}function Po(e,t){var r=-1,o=e.length;for(t||(t=n(o));++r<o;)t[r]=e[r];return t}function jo(e,t,r,n){var a=!r;r||(r={});for(var i=-1,l=t.length;++i<l;){var c=t[i],s=n?n(r[c],e[c],c,r,e):o;s===o&&(s=e[c]),a?tn(r,c,s):Qr(r,c,s)}return r}function So(e,t){return function(r,n){var o=Ni(r)?Ct:Jr,a=t?t():{};return o(r,e,aa(n,2),a)}}function Mo(e){return Un(function(t,r){var n=-1,a=r.length,i=a>1?r[a-1]:o,l=a>2?r[2]:o;for(i=e.length>3&&"function"==typeof i?(a--,i):o,l&&ba(r[0],r[1],l)&&(i=a<3?o:i,a=1),t=Ce(t);++n<a;){var c=r[n];c&&e(t,c,n,i)}return t})}function Io(e,t){return function(r,n){if(null==r)return r;if(!Vi(r))return e(r,n);for(var o=r.length,a=t?o:-1,i=Ce(r);(t?a--:++a<o)&&!1!==n(i[a],a,i););return r}}function $o(e){return function(t,r,n){for(var o=-1,a=Ce(t),i=n(t),l=i.length;l--;){var c=i[e?l:++o];if(!1===r(a[c],c,a))break}return t}}function Bo(e){return function(t){var r=nr(t=bl(t))?sr(t):o,n=r?r[0]:t.charAt(0),a=r?mo(r,1).join(""):t.slice(1);return n[e]()+a}}function Do(e){return function(t){return Dt(Kl(Wl(t).replace(Xe,"")),e,"")}}function To(e){return function(){var t=arguments;switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3]);case 5:return new e(t[0],t[1],t[2],t[3],t[4]);case 6:return new e(t[0],t[1],t[2],t[3],t[4],t[5]);case 7:return new e(t[0],t[1],t[2],t[3],t[4],t[5],t[6])}var r=Fr(e.prototype),n=e.apply(r,t);return Yi(n)?n:r}}function Eo(e){return function(t,r,n){var a=Ce(t);if(!Vi(t)){var i=aa(r,3);t=Ml(t),r=function(e){return i(a[e],e,a)}}var l=e(t,r,n);return l>-1?a[i?t[l]:l]:o}}function Ao(e){return Jo(function(t){var r=t.length,n=r,i=zr.prototype.thru;for(e&&t.reverse();n--;){var l=t[n];if("function"!=typeof l)throw new je(a);if(i&&!c&&"wrapper"==na(l))var c=new zr([],!0)}for(n=c?n:r;++n<r;){var s=na(l=t[n]),u="wrapper"==s?ra(l):o;c=u&&ma(u[0])&&424==u[1]&&!u[4].length&&1==u[9]?c[na(u[0])].apply(c,u[3]):1==l.length&&ma(l)?c[s]():c.thru(l)}return function(){var e=arguments,n=e[0];if(c&&1==e.length&&Ni(n))return c.plant(n).value();for(var o=0,a=r?t[o].apply(this,e):n;++o<r;)a=t[o].call(this,a);return a}})}function Fo(e,t,r,a,i,l,c,u,d,f){var p=t&s,h=1&t,g=2&t,b=24&t,v=512&t,m=g?o:To(e);return function s(){for(var y=arguments.length,w=n(y),x=y;x--;)w[x]=arguments[x];if(b)var _=oa(s),k=function(e,t){for(var r=e.length,n=0;r--;)e[r]===t&&++n;return n}(w,_);if(a&&(w=Co(w,a,i,b)),l&&(w=Oo(w,l,c,b)),y-=k,b&&y<f){var C=ir(w,_);return Vo(e,t,Fo,s.placeholder,r,w,C,u,d,f-y)}var O=h?r:this,P=g?O[e]:e;return y=w.length,u?w=function(e,t){for(var r=e.length,n=gr(t.length,r),a=Po(e);n--;){var i=t[n];e[n]=ga(i,r)?a[i]:o}return e}(w,u):v&&y>1&&w.reverse(),p&&d<y&&(w.length=d),this&&this!==dt&&this instanceof s&&(P=m||To(P)),P.apply(O,w)}}function Ro(e,t){return function(r,n){return function(e,t,r,n){return vn(e,function(e,o,a){t(n,r(e),o,a)}),n}(r,e,t(n),{})}}function zo(e,t){return function(r,n){var a;if(r===o&&n===o)return t;if(r!==o&&(a=r),n!==o){if(a===o)return n;"string"==typeof r||"string"==typeof n?(r=ao(r),n=ao(n)):(r=oo(r),n=oo(n)),a=e(r,n)}return a}}function Lo(e){return Jo(function(t){return t=$t(t,Kt(aa())),Un(function(r){var n=this;return e(t,function(e){return kt(e,n,r)})})})}function Wo(e,t){var r=(t=t===o?" ":ao(t)).length;if(r<2)return r?Gn(t,e):t;var n=Gn(t,ft(e/cr(t)));return nr(t)?mo(sr(n),0,e).join(""):n.slice(0,e)}function No(e){return function(t,r,a){return a&&"number"!=typeof a&&ba(t,r,a)&&(r=a=o),t=dl(t),r===o?(r=t,t=0):r=dl(r),function(e,t,r,o){for(var a=-1,i=hr(ft((t-e)/(r||1)),0),l=n(i);i--;)l[o?i:++a]=e,e+=r;return l}(t,r,a=a===o?t<r?1:-1:dl(a),e)}}function Ho(e){return function(t,r){return"string"==typeof t&&"string"==typeof r||(t=hl(t),r=hl(r)),e(t,r)}}function Vo(e,t,r,n,a,i,l,s,u,d){var f=8&t;t|=f?c:64,4&(t&=~(f?64:c))||(t&=-4);var p=[e,t,a,f?i:o,f?l:o,f?o:i,f?o:l,s,u,d],h=r.apply(o,p);return ma(e)&&Pa(h,p),h.placeholder=n,Ma(h,e,t)}function Go(e){var t=ke[e];return function(e,r){if(e=hl(e),(r=null==r?0:gr(fl(r),292))&&At(e)){var n=(bl(e)+"e").split("e");return+((n=(bl(t(n[0]+"e"+(+n[1]+r)))+"e").split("e"))[0]+"e"+(+n[1]-r))}return t(e)}}var Uo=kr&&1/lr(new kr([,-0]))[1]==u?function(e){return new kr(e)}:ic;function qo(e){return function(t){var r=da(t);return r==_?or(t):r==j?function(e){var t=-1,r=Array(e.size);return e.forEach(function(e){r[++t]=[e,e]}),r}(t):function(e,t){return $t(t,function(t){return[t,e[t]]})}(t,e(t))}}function Zo(e,t,r,i,u,d,f,p){var h=2&t;if(!h&&"function"!=typeof e)throw new je(a);var g=i?i.length:0;if(g||(t&=-97,i=u=o),f=f===o?f:hr(fl(f),0),p=p===o?p:fl(p),g-=u?u.length:0,64&t){var b=i,v=u;i=u=o}var m=h?o:ra(e),y=[e,t,r,i,u,b,v,d,f,p];if(m&&function(e,t){var r=e[1],n=t[1],o=r|n,a=o<131,i=n==s&&8==r||n==s&&256==r&&e[7].length<=t[8]||384==n&&t[7].length<=t[8]&&8==r;if(!a&&!i)return e;1&n&&(e[2]=t[2],o|=1&r?0:4);var c=t[3];if(c){var u=e[3];e[3]=u?Co(u,c,t[4]):c,e[4]=u?ir(e[3],l):t[4]}(c=t[5])&&(u=e[5],e[5]=u?Oo(u,c,t[6]):c,e[6]=u?ir(e[5],l):t[6]),(c=t[7])&&(e[7]=c),n&s&&(e[8]=null==e[8]?t[8]:gr(e[8],t[8])),null==e[9]&&(e[9]=t[9]),e[0]=t[0],e[1]=o}(y,m),e=y[0],t=y[1],r=y[2],i=y[3],u=y[4],!(p=y[9]=y[9]===o?h?0:e.length:hr(y[9]-g,0))&&24&t&&(t&=-25),t&&1!=t)w=8==t||16==t?function(e,t,r){var a=To(e);return function i(){for(var l=arguments.length,c=n(l),s=l,u=oa(i);s--;)c[s]=arguments[s];var d=l<3&&c[0]!==u&&c[l-1]!==u?[]:ir(c,u);return(l-=d.length)<r?Vo(e,t,Fo,i.placeholder,o,c,d,o,o,r-l):kt(this&&this!==dt&&this instanceof i?a:e,this,c)}}(e,t,p):t!=c&&33!=t||u.length?Fo.apply(o,y):function(e,t,r,o){var a=1&t,i=To(e);return function t(){for(var l=-1,c=arguments.length,s=-1,u=o.length,d=n(u+c),f=this&&this!==dt&&this instanceof t?i:e;++s<u;)d[s]=o[s];for(;c--;)d[s++]=arguments[++l];return kt(f,a?r:this,d)}}(e,t,r,i);else var w=function(e,t,r){var n=1&t,o=To(e);return function t(){return(this&&this!==dt&&this instanceof t?o:e).apply(n?r:this,arguments)}}(e,t,r);return Ma((m?Xn:Pa)(w,y),e,t)}function Ko(e,t,r,n){return e===o||Ri(e,Ie[r])&&!De.call(n,r)?t:e}function Xo(e,t,r,n,a,i){return Yi(e)&&Yi(t)&&(i.set(t,e),Rn(e,t,o,Xo,i),i.delete(t)),e}function Qo(e){return rl(e)?o:e}function Yo(e,t,r,n,a,i){var l=1&r,c=e.length,s=t.length;if(c!=s&&!(l&&s>c))return!1;var u=i.get(e),d=i.get(t);if(u&&d)return u==t&&d==e;var f=-1,p=!0,h=2&r?new Vr:o;for(i.set(e,t),i.set(t,e);++f<c;){var g=e[f],b=t[f];if(n)var v=l?n(b,g,f,t,e,i):n(g,b,f,e,t,i);if(v!==o){if(v)continue;p=!1;break}if(h){if(!Et(t,function(e,t){if(!Qt(h,t)&&(g===e||a(g,e,r,n,i)))return h.push(t)})){p=!1;break}}else if(g!==b&&!a(g,b,r,n,i)){p=!1;break}}return i.delete(e),i.delete(t),p}function Jo(e){return Sa(ka(e,o,Ha),e+"")}function ea(e){return xn(e,Ml,sa)}function ta(e){return xn(e,Il,ua)}var ra=Pr?function(e){return Pr.get(e)}:ic;function na(e){for(var t=e.name+"",r=jr[t],n=De.call(jr,t)?r.length:0;n--;){var o=r[n],a=o.func;if(null==a||a==e)return o.name}return t}function oa(e){return(De.call(Ar,"placeholder")?Ar:e).placeholder}function aa(){var e=Ar.iteratee||rc;return e=e===rc?Bn:e,arguments.length?e(arguments[0],arguments[1]):e}function ia(e,t){var r,n,o=e.__data__;return("string"==(n=typeof(r=t))||"number"==n||"symbol"==n||"boolean"==n?"__proto__"!==r:null===r)?o["string"==typeof t?"string":"hash"]:o.map}function la(e){for(var t=Ml(e),r=t.length;r--;){var n=t[r],o=e[n];t[r]=[n,o,xa(o)]}return t}function ca(e,t){var r=function(e,t){return null==e?o:e[t]}(e,t);return $n(r)?r:o}var sa=gt?function(e){return null==e?[]:(e=Ce(e),St(gt(e),function(t){return Ue.call(e,t)}))}:pc,ua=gt?function(e){for(var t=[];e;)Bt(t,sa(e)),e=Ve(e);return t}:pc,da=_n;function fa(e,t,r){for(var n=-1,o=(t=bo(t,e)).length,a=!1;++n<o;){var i=Ea(t[n]);if(!(a=null!=e&&r(e,i)))break;e=e[i]}return a||++n!=o?a:!!(o=null==e?0:e.length)&&Qi(o)&&ga(i,o)&&(Ni(e)||Wi(e))}function pa(e){return"function"!=typeof e.constructor||wa(e)?{}:Fr(Ve(e))}function ha(e){return Ni(e)||Wi(e)||!!(Ze&&e&&e[Ze])}function ga(e,t){var r=typeof e;return!!(t=null==t?d:t)&&("number"==r||"symbol"!=r&&ve.test(e))&&e>-1&&e%1==0&&e<t}function ba(e,t,r){if(!Yi(r))return!1;var n=typeof t;return!!("number"==n?Vi(r)&&ga(t,r.length):"string"==n&&t in r)&&Ri(r[t],e)}function va(e,t){if(Ni(e))return!1;var r=typeof e;return!("number"!=r&&"symbol"!=r&&"boolean"!=r&&null!=e&&!il(e))||J.test(e)||!Y.test(e)||null!=t&&e in Ce(t)}function ma(e){var t=na(e),r=Ar[t];if("function"!=typeof r||!(t in Lr.prototype))return!1;if(e===r)return!0;var n=ra(r);return!!n&&e===n[0]}(wr&&da(new wr(new ArrayBuffer(1)))!=B||xr&&da(new xr)!=_||_r&&da(_r.resolve())!=O||kr&&da(new kr)!=j||Cr&&da(new Cr)!=I)&&(da=function(e){var t=_n(e),r=t==C?e.constructor:o,n=r?Aa(r):"";if(n)switch(n){case Sr:return B;case Mr:return _;case Ir:return O;case $r:return j;case Br:return I}return t});var ya=$e?Ki:hc;function wa(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||Ie)}function xa(e){return e==e&&!Yi(e)}function _a(e,t){return function(r){return null!=r&&r[e]===t&&(t!==o||e in Ce(r))}}function ka(e,t,r){return t=hr(t===o?e.length-1:t,0),function(){for(var o=arguments,a=-1,i=hr(o.length-t,0),l=n(i);++a<i;)l[a]=o[t+a];a=-1;for(var c=n(t+1);++a<t;)c[a]=o[a];return c[t]=r(l),kt(e,this,c)}}function Ca(e,t){return t.length<2?e:wn(e,Jn(t,0,-1))}function Oa(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}var Pa=Ia(Xn),ja=ut||function(e,t){return dt.setTimeout(e,t)},Sa=Ia(Qn);function Ma(e,t,r){var n=t+"";return Sa(e,function(e,t){var r=t.length;if(!r)return e;var n=r-1;return t[n]=(r>1?"& ":"")+t[n],t=t.join(r>2?", ":" "),e.replace(ae,"{\n/* [wrapped with "+t+"] */\n")}(n,function(e,t){return Ot(h,function(r){var n="_."+r[0];t&r[1]&&!Mt(e,n)&&e.push(n)}),e.sort()}(function(e){var t=e.match(ie);return t?t[1].split(le):[]}(n),r)))}function Ia(e){var t=0,r=0;return function(){var n=br(),a=16-(n-r);if(r=n,a>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(o,arguments)}}function $a(e,t){var r=-1,n=e.length,a=n-1;for(t=t===o?n:t;++r<t;){var i=Vn(r,a),l=e[i];e[i]=e[r],e[r]=l}return e.length=t,e}var Ba,Da,Ta=(Ba=Bi(function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(ee,function(e,r,n,o){t.push(n?o.replace(ue,"$1"):r||e)}),t},function(e){return 500===Da.size&&Da.clear(),e}),Da=Ba.cache,Ba);function Ea(e){if("string"==typeof e||il(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function Aa(e){if(null!=e){try{return Be.call(e)}catch(e){}try{return e+""}catch(e){}}return""}function Fa(e){if(e instanceof Lr)return e.clone();var t=new zr(e.__wrapped__,e.__chain__);return t.__actions__=Po(e.__actions__),t.__index__=e.__index__,t.__values__=e.__values__,t}var Ra=Un(function(e,t){return Gi(e)?cn(e,hn(t,1,Gi,!0)):[]}),za=Un(function(e,t){var r=Za(t);return Gi(r)&&(r=o),Gi(e)?cn(e,hn(t,1,Gi,!0),aa(r,2)):[]}),La=Un(function(e,t){var r=Za(t);return Gi(r)&&(r=o),Gi(e)?cn(e,hn(t,1,Gi,!0),o,r):[]});function Wa(e,t,r){var n=null==e?0:e.length;if(!n)return-1;var o=null==r?0:fl(r);return o<0&&(o=hr(n+o,0)),Rt(e,aa(t,3),o)}function Na(e,t,r){var n=null==e?0:e.length;if(!n)return-1;var a=n-1;return r!==o&&(a=fl(r),a=r<0?hr(n+a,0):gr(a,n-1)),Rt(e,aa(t,3),a,!0)}function Ha(e){return null!=e&&e.length?hn(e,1):[]}function Va(e){return e&&e.length?e[0]:o}var Ga=Un(function(e){var t=$t(e,ho);return t.length&&t[0]===e[0]?Pn(t):[]}),Ua=Un(function(e){var t=Za(e),r=$t(e,ho);return t===Za(r)?t=o:r.pop(),r.length&&r[0]===e[0]?Pn(r,aa(t,2)):[]}),qa=Un(function(e){var t=Za(e),r=$t(e,ho);return(t="function"==typeof t?t:o)&&r.pop(),r.length&&r[0]===e[0]?Pn(r,o,t):[]});function Za(e){var t=null==e?0:e.length;return t?e[t-1]:o}var Ka=Un(Xa);function Xa(e,t){return e&&e.length&&t&&t.length?Nn(e,t):e}var Qa=Jo(function(e,t){var r=null==e?0:e.length,n=rn(e,t);return Hn(e,$t(t,function(e){return ga(e,r)?+e:e}).sort(ko)),n});function Ya(e){return null==e?e:yr.call(e)}var Ja=Un(function(e){return io(hn(e,1,Gi,!0))}),ei=Un(function(e){var t=Za(e);return Gi(t)&&(t=o),io(hn(e,1,Gi,!0),aa(t,2))}),ti=Un(function(e){var t=Za(e);return t="function"==typeof t?t:o,io(hn(e,1,Gi,!0),o,t)});function ri(e){if(!e||!e.length)return[];var t=0;return e=St(e,function(e){if(Gi(e))return t=hr(e.length,t),!0}),qt(t,function(t){return $t(e,Ht(t))})}function ni(e,t){if(!e||!e.length)return[];var r=ri(e);return null==t?r:$t(r,function(e){return kt(t,o,e)})}var oi=Un(function(e,t){return Gi(e)?cn(e,t):[]}),ai=Un(function(e){return fo(St(e,Gi))}),ii=Un(function(e){var t=Za(e);return Gi(t)&&(t=o),fo(St(e,Gi),aa(t,2))}),li=Un(function(e){var t=Za(e);return t="function"==typeof t?t:o,fo(St(e,Gi),o,t)}),ci=Un(ri),si=Un(function(e){var t=e.length,r=t>1?e[t-1]:o;return r="function"==typeof r?(e.pop(),r):o,ni(e,r)});function ui(e){var t=Ar(e);return t.__chain__=!0,t}function di(e,t){return t(e)}var fi=Jo(function(e){var t=e.length,r=t?e[0]:0,n=this.__wrapped__,a=function(t){return rn(t,e)};return!(t>1||this.__actions__.length)&&n instanceof Lr&&ga(r)?((n=n.slice(r,+r+(t?1:0))).__actions__.push({func:di,args:[a],thisArg:o}),new zr(n,this.__chain__).thru(function(e){return t&&!e.length&&e.push(o),e})):this.thru(a)}),pi=So(function(e,t,r){De.call(e,r)?++e[r]:tn(e,r,1)}),hi=Eo(Wa),gi=Eo(Na);function bi(e,t){return(Ni(e)?Ot:sn)(e,aa(t,3))}function vi(e,t){return(Ni(e)?Pt:un)(e,aa(t,3))}var mi=So(function(e,t,r){De.call(e,r)?e[r].push(t):tn(e,r,[t])}),yi=Un(function(e,t,r){var o=-1,a="function"==typeof t,i=Vi(e)?n(e.length):[];return sn(e,function(e){i[++o]=a?kt(t,e,r):jn(e,t,r)}),i}),wi=So(function(e,t,r){tn(e,r,t)});function xi(e,t){return(Ni(e)?$t:En)(e,aa(t,3))}var _i=So(function(e,t,r){e[r?0:1].push(t)},function(){return[[],[]]}),ki=Un(function(e,t){if(null==e)return[];var r=t.length;return r>1&&ba(e,t[0],t[1])?t=[]:r>2&&ba(t[0],t[1],t[2])&&(t=[t[0]]),Ln(e,hn(t,1),[])}),Ci=st||function(){return dt.Date.now()};function Oi(e,t,r){return t=r?o:t,t=e&&null==t?e.length:t,Zo(e,s,o,o,o,o,t)}function Pi(e,t){var r;if("function"!=typeof t)throw new je(a);return e=fl(e),function(){return--e>0&&(r=t.apply(this,arguments)),e<=1&&(t=o),r}}var ji=Un(function(e,t,r){var n=1;if(r.length){var o=ir(r,oa(ji));n|=c}return Zo(e,n,t,r,o)}),Si=Un(function(e,t,r){var n=3;if(r.length){var o=ir(r,oa(Si));n|=c}return Zo(t,n,e,r,o)});function Mi(e,t,r){var n,i,l,c,s,u,d=0,f=!1,p=!1,h=!0;if("function"!=typeof e)throw new je(a);function g(t){var r=n,a=i;return n=i=o,d=t,c=e.apply(a,r)}function b(e){var r=e-u;return u===o||r>=t||r<0||p&&e-d>=l}function v(){var e=Ci();if(b(e))return m(e);s=ja(v,function(e){var r=t-(e-u);return p?gr(r,l-(e-d)):r}(e))}function m(e){return s=o,h&&n?g(e):(n=i=o,c)}function y(){var e=Ci(),r=b(e);if(n=arguments,i=this,u=e,r){if(s===o)return function(e){return d=e,s=ja(v,t),f?g(e):c}(u);if(p)return yo(s),s=ja(v,t),g(u)}return s===o&&(s=ja(v,t)),c}return t=hl(t)||0,Yi(r)&&(f=!!r.leading,l=(p="maxWait"in r)?hr(hl(r.maxWait)||0,t):l,h="trailing"in r?!!r.trailing:h),y.cancel=function(){s!==o&&yo(s),d=0,n=u=i=s=o},y.flush=function(){return s===o?c:m(Ci())},y}var Ii=Un(function(e,t){return ln(e,1,t)}),$i=Un(function(e,t,r){return ln(e,hl(t)||0,r)});function Bi(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new je(a);var r=function(){var n=arguments,o=t?t.apply(this,n):n[0],a=r.cache;if(a.has(o))return a.get(o);var i=e.apply(this,n);return r.cache=a.set(o,i)||a,i};return r.cache=new(Bi.Cache||Hr),r}function Di(e){if("function"!=typeof e)throw new je(a);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}Bi.Cache=Hr;var Ti=vo(function(e,t){var r=(t=1==t.length&&Ni(t[0])?$t(t[0],Kt(aa())):$t(hn(t,1),Kt(aa()))).length;return Un(function(n){for(var o=-1,a=gr(n.length,r);++o<a;)n[o]=t[o].call(this,n[o]);return kt(e,this,n)})}),Ei=Un(function(e,t){var r=ir(t,oa(Ei));return Zo(e,c,o,t,r)}),Ai=Un(function(e,t){var r=ir(t,oa(Ai));return Zo(e,64,o,t,r)}),Fi=Jo(function(e,t){return Zo(e,256,o,o,o,t)});function Ri(e,t){return e===t||e!=e&&t!=t}var zi=Ho(kn),Li=Ho(function(e,t){return e>=t}),Wi=Sn(function(){return arguments}())?Sn:function(e){return Ji(e)&&De.call(e,"callee")&&!Ue.call(e,"callee")},Ni=n.isArray,Hi=vt?Kt(vt):function(e){return Ji(e)&&_n(e)==$};function Vi(e){return null!=e&&Qi(e.length)&&!Ki(e)}function Gi(e){return Ji(e)&&Vi(e)}var Ui=bt||hc,qi=mt?Kt(mt):function(e){return Ji(e)&&_n(e)==m};function Zi(e){if(!Ji(e))return!1;var t=_n(e);return t==y||"[object DOMException]"==t||"string"==typeof e.message&&"string"==typeof e.name&&!rl(e)}function Ki(e){if(!Yi(e))return!1;var t=_n(e);return t==w||t==x||"[object AsyncFunction]"==t||"[object Proxy]"==t}function Xi(e){return"number"==typeof e&&e==fl(e)}function Qi(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=d}function Yi(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function Ji(e){return null!=e&&"object"==typeof e}var el=yt?Kt(yt):function(e){return Ji(e)&&da(e)==_};function tl(e){return"number"==typeof e||Ji(e)&&_n(e)==k}function rl(e){if(!Ji(e)||_n(e)!=C)return!1;var t=Ve(e);if(null===t)return!0;var r=De.call(t,"constructor")&&t.constructor;return"function"==typeof r&&r instanceof r&&Be.call(r)==Fe}var nl=wt?Kt(wt):function(e){return Ji(e)&&_n(e)==P},ol=xt?Kt(xt):function(e){return Ji(e)&&da(e)==j};function al(e){return"string"==typeof e||!Ni(e)&&Ji(e)&&_n(e)==S}function il(e){return"symbol"==typeof e||Ji(e)&&_n(e)==M}var ll=_t?Kt(_t):function(e){return Ji(e)&&Qi(e.length)&&!!ot[_n(e)]},cl=Ho(Tn),sl=Ho(function(e,t){return e<=t});function ul(e){if(!e)return[];if(Vi(e))return al(e)?sr(e):Po(e);if(Ke&&e[Ke])return function(e){for(var t,r=[];!(t=e.next()).done;)r.push(t.value);return r}(e[Ke]());var t=da(e);return(t==_?or:t==j?lr:Rl)(e)}function dl(e){return e?(e=hl(e))===u||e===-1/0?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0}function fl(e){var t=dl(e),r=t%1;return t==t?r?t-r:t:0}function pl(e){return e?nn(fl(e),0,p):0}function hl(e){if("number"==typeof e)return e;if(il(e))return f;if(Yi(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=Yi(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=Zt(e);var r=he.test(e);return r||be.test(e)?ct(e.slice(2),r?2:8):pe.test(e)?f:+e}function gl(e){return jo(e,Il(e))}function bl(e){return null==e?"":ao(e)}var vl=Mo(function(e,t){if(wa(t)||Vi(t))jo(t,Ml(t),e);else for(var r in t)De.call(t,r)&&Qr(e,r,t[r])}),ml=Mo(function(e,t){jo(t,Il(t),e)}),yl=Mo(function(e,t,r,n){jo(t,Il(t),e,n)}),wl=Mo(function(e,t,r,n){jo(t,Ml(t),e,n)}),xl=Jo(rn),_l=Un(function(e,t){e=Ce(e);var r=-1,n=t.length,a=n>2?t[2]:o;for(a&&ba(t[0],t[1],a)&&(n=1);++r<n;)for(var i=t[r],l=Il(i),c=-1,s=l.length;++c<s;){var u=l[c],d=e[u];(d===o||Ri(d,Ie[u])&&!De.call(e,u))&&(e[u]=i[u])}return e}),kl=Un(function(e){return e.push(o,Xo),kt(Bl,o,e)});function Cl(e,t,r){var n=null==e?o:wn(e,t);return n===o?r:n}function Ol(e,t){return null!=e&&fa(e,t,On)}var Pl=Ro(function(e,t,r){null!=t&&"function"!=typeof t.toString&&(t=Ae.call(t)),e[t]=r},Yl(tc)),jl=Ro(function(e,t,r){null!=t&&"function"!=typeof t.toString&&(t=Ae.call(t)),De.call(e,t)?e[t].push(r):e[t]=[r]},aa),Sl=Un(jn);function Ml(e){return Vi(e)?Ur(e):Dn(e)}function Il(e){return Vi(e)?Ur(e,!0):function(e){if(!Yi(e))return function(e){var t=[];if(null!=e)for(var r in Ce(e))t.push(r);return t}(e);var t=wa(e),r=[];for(var n in e)("constructor"!=n||!t&&De.call(e,n))&&r.push(n);return r}(e)}var $l=Mo(function(e,t,r){Rn(e,t,r)}),Bl=Mo(function(e,t,r,n){Rn(e,t,r,n)}),Dl=Jo(function(e,t){var r={};if(null==e)return r;var n=!1;t=$t(t,function(t){return t=bo(t,e),n||(n=t.length>1),t}),jo(e,ta(e),r),n&&(r=on(r,7,Qo));for(var o=t.length;o--;)lo(r,t[o]);return r}),Tl=Jo(function(e,t){return null==e?{}:function(e,t){return Wn(e,t,function(t,r){return Ol(e,r)})}(e,t)});function El(e,t){if(null==e)return{};var r=$t(ta(e),function(e){return[e]});return t=aa(t),Wn(e,r,function(e,r){return t(e,r[0])})}var Al=qo(Ml),Fl=qo(Il);function Rl(e){return null==e?[]:Xt(e,Ml(e))}var zl=Do(function(e,t,r){return t=t.toLowerCase(),e+(r?Ll(t):t)});function Ll(e){return Zl(bl(e).toLowerCase())}function Wl(e){return(e=bl(e))&&e.replace(me,er).replace(Qe,"")}var Nl=Do(function(e,t,r){return e+(r?"-":"")+t.toLowerCase()}),Hl=Do(function(e,t,r){return e+(r?" ":"")+t.toLowerCase()}),Vl=Bo("toLowerCase"),Gl=Do(function(e,t,r){return e+(r?"_":"")+t.toLowerCase()}),Ul=Do(function(e,t,r){return e+(r?" ":"")+Zl(t)}),ql=Do(function(e,t,r){return e+(r?" ":"")+t.toUpperCase()}),Zl=Bo("toUpperCase");function Kl(e,t,r){return e=bl(e),(t=r?o:t)===o?function(e){return tt.test(e)}(e)?function(e){return e.match(Je)||[]}(e):function(e){return e.match(ce)||[]}(e):e.match(t)||[]}var Xl=Un(function(e,t){try{return kt(e,o,t)}catch(e){return Zi(e)?e:new xe(e)}}),Ql=Jo(function(e,t){return Ot(t,function(t){t=Ea(t),tn(e,t,ji(e[t],e))}),e});function Yl(e){return function(){return e}}var Jl=Ao(),ec=Ao(!0);function tc(e){return e}function rc(e){return Bn("function"==typeof e?e:on(e,1))}var nc=Un(function(e,t){return function(r){return jn(r,e,t)}}),oc=Un(function(e,t){return function(r){return jn(e,r,t)}});function ac(e,t,r){var n=Ml(t),o=yn(t,n);null!=r||Yi(t)&&(o.length||!n.length)||(r=t,t=e,e=this,o=yn(t,Ml(t)));var a=!(Yi(r)&&"chain"in r&&!r.chain),i=Ki(e);return Ot(o,function(r){var n=t[r];e[r]=n,i&&(e.prototype[r]=function(){var t=this.__chain__;if(a||t){var r=e(this.__wrapped__);return(r.__actions__=Po(this.__actions__)).push({func:n,args:arguments,thisArg:e}),r.__chain__=t,r}return n.apply(e,Bt([this.value()],arguments))})}),e}function ic(){}var lc=Lo($t),cc=Lo(jt),sc=Lo(Et);function uc(e){return va(e)?Ht(Ea(e)):function(e){return function(t){return wn(t,e)}}(e)}var dc=No(),fc=No(!0);function pc(){return[]}function hc(){return!1}var gc,bc=zo(function(e,t){return e+t},0),vc=Go("ceil"),mc=zo(function(e,t){return e/t},1),yc=Go("floor"),wc=zo(function(e,t){return e*t},1),xc=Go("round"),_c=zo(function(e,t){return e-t},0);return Ar.after=function(e,t){if("function"!=typeof t)throw new je(a);return e=fl(e),function(){if(--e<1)return t.apply(this,arguments)}},Ar.ary=Oi,Ar.assign=vl,Ar.assignIn=ml,Ar.assignInWith=yl,Ar.assignWith=wl,Ar.at=xl,Ar.before=Pi,Ar.bind=ji,Ar.bindAll=Ql,Ar.bindKey=Si,Ar.castArray=function(){if(!arguments.length)return[];var e=arguments[0];return Ni(e)?e:[e]},Ar.chain=ui,Ar.chunk=function(e,t,r){t=(r?ba(e,t,r):t===o)?1:hr(fl(t),0);var a=null==e?0:e.length;if(!a||t<1)return[];for(var i=0,l=0,c=n(ft(a/t));i<a;)c[l++]=Jn(e,i,i+=t);return c},Ar.compact=function(e){for(var t=-1,r=null==e?0:e.length,n=0,o=[];++t<r;){var a=e[t];a&&(o[n++]=a)}return o},Ar.concat=function(){var e=arguments.length;if(!e)return[];for(var t=n(e-1),r=arguments[0],o=e;o--;)t[o-1]=arguments[o];return Bt(Ni(r)?Po(r):[r],hn(t,1))},Ar.cond=function(e){var t=null==e?0:e.length,r=aa();return e=t?$t(e,function(e){if("function"!=typeof e[1])throw new je(a);return[r(e[0]),e[1]]}):[],Un(function(r){for(var n=-1;++n<t;){var o=e[n];if(kt(o[0],this,r))return kt(o[1],this,r)}})},Ar.conforms=function(e){return function(e){var t=Ml(e);return function(r){return an(r,e,t)}}(on(e,1))},Ar.constant=Yl,Ar.countBy=pi,Ar.create=function(e,t){var r=Fr(e);return null==t?r:en(r,t)},Ar.curry=function e(t,r,n){var a=Zo(t,8,o,o,o,o,o,r=n?o:r);return a.placeholder=e.placeholder,a},Ar.curryRight=function e(t,r,n){var a=Zo(t,16,o,o,o,o,o,r=n?o:r);return a.placeholder=e.placeholder,a},Ar.debounce=Mi,Ar.defaults=_l,Ar.defaultsDeep=kl,Ar.defer=Ii,Ar.delay=$i,Ar.difference=Ra,Ar.differenceBy=za,Ar.differenceWith=La,Ar.drop=function(e,t,r){var n=null==e?0:e.length;return n?Jn(e,(t=r||t===o?1:fl(t))<0?0:t,n):[]},Ar.dropRight=function(e,t,r){var n=null==e?0:e.length;return n?Jn(e,0,(t=n-(t=r||t===o?1:fl(t)))<0?0:t):[]},Ar.dropRightWhile=function(e,t){return e&&e.length?so(e,aa(t,3),!0,!0):[]},Ar.dropWhile=function(e,t){return e&&e.length?so(e,aa(t,3),!0):[]},Ar.fill=function(e,t,r,n){var a=null==e?0:e.length;return a?(r&&"number"!=typeof r&&ba(e,t,r)&&(r=0,n=a),function(e,t,r,n){var a=e.length;for((r=fl(r))<0&&(r=-r>a?0:a+r),(n=n===o||n>a?a:fl(n))<0&&(n+=a),n=r>n?0:pl(n);r<n;)e[r++]=t;return e}(e,t,r,n)):[]},Ar.filter=function(e,t){return(Ni(e)?St:pn)(e,aa(t,3))},Ar.flatMap=function(e,t){return hn(xi(e,t),1)},Ar.flatMapDeep=function(e,t){return hn(xi(e,t),u)},Ar.flatMapDepth=function(e,t,r){return r=r===o?1:fl(r),hn(xi(e,t),r)},Ar.flatten=Ha,Ar.flattenDeep=function(e){return null!=e&&e.length?hn(e,u):[]},Ar.flattenDepth=function(e,t){return null!=e&&e.length?hn(e,t=t===o?1:fl(t)):[]},Ar.flip=function(e){return Zo(e,512)},Ar.flow=Jl,Ar.flowRight=ec,Ar.fromPairs=function(e){for(var t=-1,r=null==e?0:e.length,n={};++t<r;){var o=e[t];n[o[0]]=o[1]}return n},Ar.functions=function(e){return null==e?[]:yn(e,Ml(e))},Ar.functionsIn=function(e){return null==e?[]:yn(e,Il(e))},Ar.groupBy=mi,Ar.initial=function(e){return null!=e&&e.length?Jn(e,0,-1):[]},Ar.intersection=Ga,Ar.intersectionBy=Ua,Ar.intersectionWith=qa,Ar.invert=Pl,Ar.invertBy=jl,Ar.invokeMap=yi,Ar.iteratee=rc,Ar.keyBy=wi,Ar.keys=Ml,Ar.keysIn=Il,Ar.map=xi,Ar.mapKeys=function(e,t){var r={};return t=aa(t,3),vn(e,function(e,n,o){tn(r,t(e,n,o),e)}),r},Ar.mapValues=function(e,t){var r={};return t=aa(t,3),vn(e,function(e,n,o){tn(r,n,t(e,n,o))}),r},Ar.matches=function(e){return An(on(e,1))},Ar.matchesProperty=function(e,t){return Fn(e,on(t,1))},Ar.memoize=Bi,Ar.merge=$l,Ar.mergeWith=Bl,Ar.method=nc,Ar.methodOf=oc,Ar.mixin=ac,Ar.negate=Di,Ar.nthArg=function(e){return e=fl(e),Un(function(t){return zn(t,e)})},Ar.omit=Dl,Ar.omitBy=function(e,t){return El(e,Di(aa(t)))},Ar.once=function(e){return Pi(2,e)},Ar.orderBy=function(e,t,r,n){return null==e?[]:(Ni(t)||(t=null==t?[]:[t]),Ni(r=n?o:r)||(r=null==r?[]:[r]),Ln(e,t,r))},Ar.over=lc,Ar.overArgs=Ti,Ar.overEvery=cc,Ar.overSome=sc,Ar.partial=Ei,Ar.partialRight=Ai,Ar.partition=_i,Ar.pick=Tl,Ar.pickBy=El,Ar.property=uc,Ar.propertyOf=function(e){return function(t){return null==e?o:wn(e,t)}},Ar.pull=Ka,Ar.pullAll=Xa,Ar.pullAllBy=function(e,t,r){return e&&e.length&&t&&t.length?Nn(e,t,aa(r,2)):e},Ar.pullAllWith=function(e,t,r){return e&&e.length&&t&&t.length?Nn(e,t,o,r):e},Ar.pullAt=Qa,Ar.range=dc,Ar.rangeRight=fc,Ar.rearg=Fi,Ar.reject=function(e,t){return(Ni(e)?St:pn)(e,Di(aa(t,3)))},Ar.remove=function(e,t){var r=[];if(!e||!e.length)return r;var n=-1,o=[],a=e.length;for(t=aa(t,3);++n<a;){var i=e[n];t(i,n,e)&&(r.push(i),o.push(n))}return Hn(e,o),r},Ar.rest=function(e,t){if("function"!=typeof e)throw new je(a);return Un(e,t=t===o?t:fl(t))},Ar.reverse=Ya,Ar.sampleSize=function(e,t,r){return t=(r?ba(e,t,r):t===o)?1:fl(t),(Ni(e)?Zr:Zn)(e,t)},Ar.set=function(e,t,r){return null==e?e:Kn(e,t,r)},Ar.setWith=function(e,t,r,n){return n="function"==typeof n?n:o,null==e?e:Kn(e,t,r,n)},Ar.shuffle=function(e){return(Ni(e)?Kr:Yn)(e)},Ar.slice=function(e,t,r){var n=null==e?0:e.length;return n?(r&&"number"!=typeof r&&ba(e,t,r)?(t=0,r=n):(t=null==t?0:fl(t),r=r===o?n:fl(r)),Jn(e,t,r)):[]},Ar.sortBy=ki,Ar.sortedUniq=function(e){return e&&e.length?no(e):[]},Ar.sortedUniqBy=function(e,t){return e&&e.length?no(e,aa(t,2)):[]},Ar.split=function(e,t,r){return r&&"number"!=typeof r&&ba(e,t,r)&&(t=r=o),(r=r===o?p:r>>>0)?(e=bl(e))&&("string"==typeof t||null!=t&&!nl(t))&&!(t=ao(t))&&nr(e)?mo(sr(e),0,r):e.split(t,r):[]},Ar.spread=function(e,t){if("function"!=typeof e)throw new je(a);return t=null==t?0:hr(fl(t),0),Un(function(r){var n=r[t],o=mo(r,0,t);return n&&Bt(o,n),kt(e,this,o)})},Ar.tail=function(e){var t=null==e?0:e.length;return t?Jn(e,1,t):[]},Ar.take=function(e,t,r){return e&&e.length?Jn(e,0,(t=r||t===o?1:fl(t))<0?0:t):[]},Ar.takeRight=function(e,t,r){var n=null==e?0:e.length;return n?Jn(e,(t=n-(t=r||t===o?1:fl(t)))<0?0:t,n):[]},Ar.takeRightWhile=function(e,t){return e&&e.length?so(e,aa(t,3),!1,!0):[]},Ar.takeWhile=function(e,t){return e&&e.length?so(e,aa(t,3)):[]},Ar.tap=function(e,t){return t(e),e},Ar.throttle=function(e,t,r){var n=!0,o=!0;if("function"!=typeof e)throw new je(a);return Yi(r)&&(n="leading"in r?!!r.leading:n,o="trailing"in r?!!r.trailing:o),Mi(e,t,{leading:n,maxWait:t,trailing:o})},Ar.thru=di,Ar.toArray=ul,Ar.toPairs=Al,Ar.toPairsIn=Fl,Ar.toPath=function(e){return Ni(e)?$t(e,Ea):il(e)?[e]:Po(Ta(bl(e)))},Ar.toPlainObject=gl,Ar.transform=function(e,t,r){var n=Ni(e),o=n||Ui(e)||ll(e);if(t=aa(t,4),null==r){var a=e&&e.constructor;r=o?n?new a:[]:Yi(e)&&Ki(a)?Fr(Ve(e)):{}}return(o?Ot:vn)(e,function(e,n,o){return t(r,e,n,o)}),r},Ar.unary=function(e){return Oi(e,1)},Ar.union=Ja,Ar.unionBy=ei,Ar.unionWith=ti,Ar.uniq=function(e){return e&&e.length?io(e):[]},Ar.uniqBy=function(e,t){return e&&e.length?io(e,aa(t,2)):[]},Ar.uniqWith=function(e,t){return t="function"==typeof t?t:o,e&&e.length?io(e,o,t):[]},Ar.unset=function(e,t){return null==e||lo(e,t)},Ar.unzip=ri,Ar.unzipWith=ni,Ar.update=function(e,t,r){return null==e?e:co(e,t,go(r))},Ar.updateWith=function(e,t,r,n){return n="function"==typeof n?n:o,null==e?e:co(e,t,go(r),n)},Ar.values=Rl,Ar.valuesIn=function(e){return null==e?[]:Xt(e,Il(e))},Ar.without=oi,Ar.words=Kl,Ar.wrap=function(e,t){return Ei(go(t),e)},Ar.xor=ai,Ar.xorBy=ii,Ar.xorWith=li,Ar.zip=ci,Ar.zipObject=function(e,t){return po(e||[],t||[],Qr)},Ar.zipObjectDeep=function(e,t){return po(e||[],t||[],Kn)},Ar.zipWith=si,Ar.entries=Al,Ar.entriesIn=Fl,Ar.extend=ml,Ar.extendWith=yl,ac(Ar,Ar),Ar.add=bc,Ar.attempt=Xl,Ar.camelCase=zl,Ar.capitalize=Ll,Ar.ceil=vc,Ar.clamp=function(e,t,r){return r===o&&(r=t,t=o),r!==o&&(r=(r=hl(r))==r?r:0),t!==o&&(t=(t=hl(t))==t?t:0),nn(hl(e),t,r)},Ar.clone=function(e){return on(e,4)},Ar.cloneDeep=function(e){return on(e,5)},Ar.cloneDeepWith=function(e,t){return on(e,5,t="function"==typeof t?t:o)},Ar.cloneWith=function(e,t){return on(e,4,t="function"==typeof t?t:o)},Ar.conformsTo=function(e,t){return null==t||an(e,t,Ml(t))},Ar.deburr=Wl,Ar.defaultTo=function(e,t){return null==e||e!=e?t:e},Ar.divide=mc,Ar.endsWith=function(e,t,r){e=bl(e),t=ao(t);var n=e.length,a=r=r===o?n:nn(fl(r),0,n);return(r-=t.length)>=0&&e.slice(r,a)==t},Ar.eq=Ri,Ar.escape=function(e){return(e=bl(e))&&Z.test(e)?e.replace(U,tr):e},Ar.escapeRegExp=function(e){return(e=bl(e))&&re.test(e)?e.replace(te,"\\$&"):e},Ar.every=function(e,t,r){var n=Ni(e)?jt:dn;return r&&ba(e,t,r)&&(t=o),n(e,aa(t,3))},Ar.find=hi,Ar.findIndex=Wa,Ar.findKey=function(e,t){return Ft(e,aa(t,3),vn)},Ar.findLast=gi,Ar.findLastIndex=Na,Ar.findLastKey=function(e,t){return Ft(e,aa(t,3),mn)},Ar.floor=yc,Ar.forEach=bi,Ar.forEachRight=vi,Ar.forIn=function(e,t){return null==e?e:gn(e,aa(t,3),Il)},Ar.forInRight=function(e,t){return null==e?e:bn(e,aa(t,3),Il)},Ar.forOwn=function(e,t){return e&&vn(e,aa(t,3))},Ar.forOwnRight=function(e,t){return e&&mn(e,aa(t,3))},Ar.get=Cl,Ar.gt=zi,Ar.gte=Li,Ar.has=function(e,t){return null!=e&&fa(e,t,Cn)},Ar.hasIn=Ol,Ar.head=Va,Ar.identity=tc,Ar.includes=function(e,t,r,n){e=Vi(e)?e:Rl(e),r=r&&!n?fl(r):0;var o=e.length;return r<0&&(r=hr(o+r,0)),al(e)?r<=o&&e.indexOf(t,r)>-1:!!o&&zt(e,t,r)>-1},Ar.indexOf=function(e,t,r){var n=null==e?0:e.length;if(!n)return-1;var o=null==r?0:fl(r);return o<0&&(o=hr(n+o,0)),zt(e,t,o)},Ar.inRange=function(e,t,r){return t=dl(t),r===o?(r=t,t=0):r=dl(r),function(e,t,r){return e>=gr(t,r)&&e<hr(t,r)}(e=hl(e),t,r)},Ar.invoke=Sl,Ar.isArguments=Wi,Ar.isArray=Ni,Ar.isArrayBuffer=Hi,Ar.isArrayLike=Vi,Ar.isArrayLikeObject=Gi,Ar.isBoolean=function(e){return!0===e||!1===e||Ji(e)&&_n(e)==v},Ar.isBuffer=Ui,Ar.isDate=qi,Ar.isElement=function(e){return Ji(e)&&1===e.nodeType&&!rl(e)},Ar.isEmpty=function(e){if(null==e)return!0;if(Vi(e)&&(Ni(e)||"string"==typeof e||"function"==typeof e.splice||Ui(e)||ll(e)||Wi(e)))return!e.length;var t=da(e);if(t==_||t==j)return!e.size;if(wa(e))return!Dn(e).length;for(var r in e)if(De.call(e,r))return!1;return!0},Ar.isEqual=function(e,t){return Mn(e,t)},Ar.isEqualWith=function(e,t,r){var n=(r="function"==typeof r?r:o)?r(e,t):o;return n===o?Mn(e,t,o,r):!!n},Ar.isError=Zi,Ar.isFinite=function(e){return"number"==typeof e&&At(e)},Ar.isFunction=Ki,Ar.isInteger=Xi,Ar.isLength=Qi,Ar.isMap=el,Ar.isMatch=function(e,t){return e===t||In(e,t,la(t))},Ar.isMatchWith=function(e,t,r){return r="function"==typeof r?r:o,In(e,t,la(t),r)},Ar.isNaN=function(e){return tl(e)&&e!=+e},Ar.isNative=function(e){if(ya(e))throw new xe("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return $n(e)},Ar.isNil=function(e){return null==e},Ar.isNull=function(e){return null===e},Ar.isNumber=tl,Ar.isObject=Yi,Ar.isObjectLike=Ji,Ar.isPlainObject=rl,Ar.isRegExp=nl,Ar.isSafeInteger=function(e){return Xi(e)&&e>=-9007199254740991&&e<=d},Ar.isSet=ol,Ar.isString=al,Ar.isSymbol=il,Ar.isTypedArray=ll,Ar.isUndefined=function(e){return e===o},Ar.isWeakMap=function(e){return Ji(e)&&da(e)==I},Ar.isWeakSet=function(e){return Ji(e)&&"[object WeakSet]"==_n(e)},Ar.join=function(e,t){return null==e?"":Vt.call(e,t)},Ar.kebabCase=Nl,Ar.last=Za,Ar.lastIndexOf=function(e,t,r){var n=null==e?0:e.length;if(!n)return-1;var a=n;return r!==o&&(a=(a=fl(r))<0?hr(n+a,0):gr(a,n-1)),t==t?function(e,t,r){for(var n=r+1;n--;)if(e[n]===t)return n;return n}(e,t,a):Rt(e,Wt,a,!0)},Ar.lowerCase=Hl,Ar.lowerFirst=Vl,Ar.lt=cl,Ar.lte=sl,Ar.max=function(e){return e&&e.length?fn(e,tc,kn):o},Ar.maxBy=function(e,t){return e&&e.length?fn(e,aa(t,2),kn):o},Ar.mean=function(e){return Nt(e,tc)},Ar.meanBy=function(e,t){return Nt(e,aa(t,2))},Ar.min=function(e){return e&&e.length?fn(e,tc,Tn):o},Ar.minBy=function(e,t){return e&&e.length?fn(e,aa(t,2),Tn):o},Ar.stubArray=pc,Ar.stubFalse=hc,Ar.stubObject=function(){return{}},Ar.stubString=function(){return""},Ar.stubTrue=function(){return!0},Ar.multiply=wc,Ar.nth=function(e,t){return e&&e.length?zn(e,fl(t)):o},Ar.noConflict=function(){return dt._===this&&(dt._=Re),this},Ar.noop=ic,Ar.now=Ci,Ar.pad=function(e,t,r){e=bl(e);var n=(t=fl(t))?cr(e):0;if(!t||n>=t)return e;var o=(t-n)/2;return Wo(pt(o),r)+e+Wo(ft(o),r)},Ar.padEnd=function(e,t,r){e=bl(e);var n=(t=fl(t))?cr(e):0;return t&&n<t?e+Wo(t-n,r):e},Ar.padStart=function(e,t,r){e=bl(e);var n=(t=fl(t))?cr(e):0;return t&&n<t?Wo(t-n,r)+e:e},Ar.parseInt=function(e,t,r){return r||null==t?t=0:t&&(t=+t),vr(bl(e).replace(ne,""),t||0)},Ar.random=function(e,t,r){if(r&&"boolean"!=typeof r&&ba(e,t,r)&&(t=r=o),r===o&&("boolean"==typeof t?(r=t,t=o):"boolean"==typeof e&&(r=e,e=o)),e===o&&t===o?(e=0,t=1):(e=dl(e),t===o?(t=e,e=0):t=dl(t)),e>t){var n=e;e=t,t=n}if(r||e%1||t%1){var a=mr();return gr(e+a*(t-e+lt("1e-"+((a+"").length-1))),t)}return Vn(e,t)},Ar.reduce=function(e,t,r){var n=Ni(e)?Dt:Gt,o=arguments.length<3;return n(e,aa(t,4),r,o,sn)},Ar.reduceRight=function(e,t,r){var n=Ni(e)?Tt:Gt,o=arguments.length<3;return n(e,aa(t,4),r,o,un)},Ar.repeat=function(e,t,r){return t=(r?ba(e,t,r):t===o)?1:fl(t),Gn(bl(e),t)},Ar.replace=function(){var e=arguments,t=bl(e[0]);return e.length<3?t:t.replace(e[1],e[2])},Ar.result=function(e,t,r){var n=-1,a=(t=bo(t,e)).length;for(a||(a=1,e=o);++n<a;){var i=null==e?o:e[Ea(t[n])];i===o&&(n=a,i=r),e=Ki(i)?i.call(e):i}return e},Ar.round=xc,Ar.runInContext=e,Ar.sample=function(e){return(Ni(e)?qr:qn)(e)},Ar.size=function(e){if(null==e)return 0;if(Vi(e))return al(e)?cr(e):e.length;var t=da(e);return t==_||t==j?e.size:Dn(e).length},Ar.snakeCase=Gl,Ar.some=function(e,t,r){var n=Ni(e)?Et:eo;return r&&ba(e,t,r)&&(t=o),n(e,aa(t,3))},Ar.sortedIndex=function(e,t){return to(e,t)},Ar.sortedIndexBy=function(e,t,r){return ro(e,t,aa(r,2))},Ar.sortedIndexOf=function(e,t){var r=null==e?0:e.length;if(r){var n=to(e,t);if(n<r&&Ri(e[n],t))return n}return-1},Ar.sortedLastIndex=function(e,t){return to(e,t,!0)},Ar.sortedLastIndexBy=function(e,t,r){return ro(e,t,aa(r,2),!0)},Ar.sortedLastIndexOf=function(e,t){if(null!=e&&e.length){var r=to(e,t,!0)-1;if(Ri(e[r],t))return r}return-1},Ar.startCase=Ul,Ar.startsWith=function(e,t,r){return e=bl(e),r=null==r?0:nn(fl(r),0,e.length),t=ao(t),e.slice(r,r+t.length)==t},Ar.subtract=_c,Ar.sum=function(e){return e&&e.length?Ut(e,tc):0},Ar.sumBy=function(e,t){return e&&e.length?Ut(e,aa(t,2)):0},Ar.template=function(e,t,r){var n=Ar.templateSettings;r&&ba(e,t,r)&&(t=o),e=bl(e),t=yl({},t,n,Ko);var a,i,l=yl({},t.imports,n.imports,Ko),c=Ml(l),s=Xt(l,c),u=0,d=t.interpolate||ye,f="__p += '",p=Oe((t.escape||ye).source+"|"+d.source+"|"+(d===Q?de:ye).source+"|"+(t.evaluate||ye).source+"|$","g"),h="//# sourceURL="+(De.call(t,"sourceURL")?(t.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++nt+"]")+"\n";e.replace(p,function(t,r,n,o,l,c){return n||(n=o),f+=e.slice(u,c).replace(we,rr),r&&(a=!0,f+="' +\n__e("+r+") +\n'"),l&&(i=!0,f+="';\n"+l+";\n__p += '"),n&&(f+="' +\n((__t = ("+n+")) == null ? '' : __t) +\n'"),u=c+t.length,t}),f+="';\n";var g=De.call(t,"variable")&&t.variable;if(g){if(se.test(g))throw new xe("Invalid `variable` option passed into `_.template`")}else f="with (obj) {\n"+f+"\n}\n";f=(i?f.replace(N,""):f).replace(H,"$1").replace(V,"$1;"),f="function("+(g||"obj")+") {\n"+(g?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(a?", __e = _.escape":"")+(i?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+f+"return __p\n}";var b=Xl(function(){return _e(c,h+"return "+f).apply(o,s)});if(b.source=f,Zi(b))throw b;return b},Ar.times=function(e,t){if((e=fl(e))<1||e>d)return[];var r=p,n=gr(e,p);t=aa(t),e-=p;for(var o=qt(n,t);++r<e;)t(r);return o},Ar.toFinite=dl,Ar.toInteger=fl,Ar.toLength=pl,Ar.toLower=function(e){return bl(e).toLowerCase()},Ar.toNumber=hl,Ar.toSafeInteger=function(e){return e?nn(fl(e),-9007199254740991,d):0===e?e:0},Ar.toString=bl,Ar.toUpper=function(e){return bl(e).toUpperCase()},Ar.trim=function(e,t,r){if((e=bl(e))&&(r||t===o))return Zt(e);if(!e||!(t=ao(t)))return e;var n=sr(e),a=sr(t);return mo(n,Yt(n,a),Jt(n,a)+1).join("")},Ar.trimEnd=function(e,t,r){if((e=bl(e))&&(r||t===o))return e.slice(0,ur(e)+1);if(!e||!(t=ao(t)))return e;var n=sr(e);return mo(n,0,Jt(n,sr(t))+1).join("")},Ar.trimStart=function(e,t,r){if((e=bl(e))&&(r||t===o))return e.replace(ne,"");if(!e||!(t=ao(t)))return e;var n=sr(e);return mo(n,Yt(n,sr(t))).join("")},Ar.truncate=function(e,t){var r=30,n="...";if(Yi(t)){var a="separator"in t?t.separator:a;r="length"in t?fl(t.length):r,n="omission"in t?ao(t.omission):n}var i=(e=bl(e)).length;if(nr(e)){var l=sr(e);i=l.length}if(r>=i)return e;var c=r-cr(n);if(c<1)return n;var s=l?mo(l,0,c).join(""):e.slice(0,c);if(a===o)return s+n;if(l&&(c+=s.length-c),nl(a)){if(e.slice(c).search(a)){var u,d=s;for(a.global||(a=Oe(a.source,bl(fe.exec(a))+"g")),a.lastIndex=0;u=a.exec(d);)var f=u.index;s=s.slice(0,f===o?c:f)}}else if(e.indexOf(ao(a),c)!=c){var p=s.lastIndexOf(a);p>-1&&(s=s.slice(0,p))}return s+n},Ar.unescape=function(e){return(e=bl(e))&&q.test(e)?e.replace(G,dr):e},Ar.uniqueId=function(e){var t=++Te;return bl(e)+t},Ar.upperCase=ql,Ar.upperFirst=Zl,Ar.each=bi,Ar.eachRight=vi,Ar.first=Va,ac(Ar,(gc={},vn(Ar,function(e,t){De.call(Ar.prototype,t)||(gc[t]=e)}),gc),{chain:!1}),Ar.VERSION="4.17.21",Ot(["bind","bindKey","curry","curryRight","partial","partialRight"],function(e){Ar[e].placeholder=Ar}),Ot(["drop","take"],function(e,t){Lr.prototype[e]=function(r){r=r===o?1:hr(fl(r),0);var n=this.__filtered__&&!t?new Lr(this):this.clone();return n.__filtered__?n.__takeCount__=gr(r,n.__takeCount__):n.__views__.push({size:gr(r,p),type:e+(n.__dir__<0?"Right":"")}),n},Lr.prototype[e+"Right"]=function(t){return this.reverse()[e](t).reverse()}}),Ot(["filter","map","takeWhile"],function(e,t){var r=t+1,n=1==r||3==r;Lr.prototype[e]=function(e){var t=this.clone();return t.__iteratees__.push({iteratee:aa(e,3),type:r}),t.__filtered__=t.__filtered__||n,t}}),Ot(["head","last"],function(e,t){var r="take"+(t?"Right":"");Lr.prototype[e]=function(){return this[r](1).value()[0]}}),Ot(["initial","tail"],function(e,t){var r="drop"+(t?"":"Right");Lr.prototype[e]=function(){return this.__filtered__?new Lr(this):this[r](1)}}),Lr.prototype.compact=function(){return this.filter(tc)},Lr.prototype.find=function(e){return this.filter(e).head()},Lr.prototype.findLast=function(e){return this.reverse().find(e)},Lr.prototype.invokeMap=Un(function(e,t){return"function"==typeof e?new Lr(this):this.map(function(r){return jn(r,e,t)})}),Lr.prototype.reject=function(e){return this.filter(Di(aa(e)))},Lr.prototype.slice=function(e,t){e=fl(e);var r=this;return r.__filtered__&&(e>0||t<0)?new Lr(r):(e<0?r=r.takeRight(-e):e&&(r=r.drop(e)),t!==o&&(r=(t=fl(t))<0?r.dropRight(-t):r.take(t-e)),r)},Lr.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},Lr.prototype.toArray=function(){return this.take(p)},vn(Lr.prototype,function(e,t){var r=/^(?:filter|find|map|reject)|While$/.test(t),n=/^(?:head|last)$/.test(t),a=Ar[n?"take"+("last"==t?"Right":""):t],i=n||/^find/.test(t);a&&(Ar.prototype[t]=function(){var t=this.__wrapped__,l=n?[1]:arguments,c=t instanceof Lr,s=l[0],u=c||Ni(t),d=function(e){var t=a.apply(Ar,Bt([e],l));return n&&f?t[0]:t};u&&r&&"function"==typeof s&&1!=s.length&&(c=u=!1);var f=this.__chain__,p=!!this.__actions__.length,h=i&&!f,g=c&&!p;if(!i&&u){t=g?t:new Lr(this);var b=e.apply(t,l);return b.__actions__.push({func:di,args:[d],thisArg:o}),new zr(b,f)}return h&&g?e.apply(this,l):(b=this.thru(d),h?n?b.value()[0]:b.value():b)})}),Ot(["pop","push","shift","sort","splice","unshift"],function(e){var t=Se[e],r=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",n=/^(?:pop|shift)$/.test(e);Ar.prototype[e]=function(){var e=arguments;if(n&&!this.__chain__){var o=this.value();return t.apply(Ni(o)?o:[],e)}return this[r](function(r){return t.apply(Ni(r)?r:[],e)})}}),vn(Lr.prototype,function(e,t){var r=Ar[t];if(r){var n=r.name+"";De.call(jr,n)||(jr[n]=[]),jr[n].push({name:t,func:r})}}),jr[Fo(o,2).name]=[{name:"wrapper",func:o}],Lr.prototype.clone=function(){var e=new Lr(this.__wrapped__);return e.__actions__=Po(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=Po(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=Po(this.__views__),e},Lr.prototype.reverse=function(){if(this.__filtered__){var e=new Lr(this);e.__dir__=-1,e.__filtered__=!0}else(e=this.clone()).__dir__*=-1;return e},Lr.prototype.value=function(){var e=this.__wrapped__.value(),t=this.__dir__,r=Ni(e),n=t<0,o=r?e.length:0,a=function(e,t,r){for(var n=-1,o=r.length;++n<o;){var a=r[n],i=a.size;switch(a.type){case"drop":e+=i;break;case"dropRight":t-=i;break;case"take":t=gr(t,e+i);break;case"takeRight":e=hr(e,t-i)}}return{start:e,end:t}}(0,o,this.__views__),i=a.start,l=a.end,c=l-i,s=n?l:i-1,u=this.__iteratees__,d=u.length,f=0,p=gr(c,this.__takeCount__);if(!r||!n&&o==c&&p==c)return uo(e,this.__actions__);var h=[];e:for(;c--&&f<p;){for(var g=-1,b=e[s+=t];++g<d;){var v=u[g],m=v.iteratee,y=v.type,w=m(b);if(2==y)b=w;else if(!w){if(1==y)continue e;break e}}h[f++]=b}return h},Ar.prototype.at=fi,Ar.prototype.chain=function(){return ui(this)},Ar.prototype.commit=function(){return new zr(this.value(),this.__chain__)},Ar.prototype.next=function(){this.__values__===o&&(this.__values__=ul(this.value()));var e=this.__index__>=this.__values__.length;return{done:e,value:e?o:this.__values__[this.__index__++]}},Ar.prototype.plant=function(e){for(var t,r=this;r instanceof Rr;){var n=Fa(r);n.__index__=0,n.__values__=o,t?a.__wrapped__=n:t=n;var a=n;r=r.__wrapped__}return a.__wrapped__=e,t},Ar.prototype.reverse=function(){var e=this.__wrapped__;if(e instanceof Lr){var t=e;return this.__actions__.length&&(t=new Lr(this)),(t=t.reverse()).__actions__.push({func:di,args:[Ya],thisArg:o}),new zr(t,this.__chain__)}return this.thru(Ya)},Ar.prototype.toJSON=Ar.prototype.valueOf=Ar.prototype.value=function(){return uo(this.__wrapped__,this.__actions__)},Ar.prototype.first=Ar.prototype.head,Ke&&(Ar.prototype[Ke]=function(){return this}),Ar}();dt._=fr,(n=function(){return fr}.call(t,r,t,e))===o||(e.exports=n)}.call(this)},2552:(e,t,r)=>{var n=r(1873),o=r(659),a=r(9350),i=n?n.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":i&&i in Object(e)?o(e):a(e)}},2651:(e,t,r)=>{var n=r(4218);e.exports=function(e,t){var r=e.__data__;return n(t)?r["string"==typeof t?"string":"hash"]:r.map}},2749:(e,t,r)=>{var n=r(1042),o=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return n?void 0!==t[e]:o.call(t,e)}},2824:(e,t,r)=>{var n=r(7805),o=r(3290),a=r(1961),i=r(3007),l=r(5529),c=r(2428),s=r(6449),u=r(3693),d=r(3656),f=r(1882),p=r(3805),h=r(1331),g=r(7167),b=r(4974),v=r(9884);e.exports=function(e,t,r,m,y,w,x){var _=b(e,r),k=b(t,r),C=x.get(k);if(C)n(e,r,C);else{var O=w?w(_,k,r+"",e,t,x):void 0,P=void 0===O;if(P){var j=s(k),S=!j&&d(k),M=!j&&!S&&g(k);O=k,j||S||M?s(_)?O=_:u(_)?O=i(_):S?(P=!1,O=o(k,!0)):M?(P=!1,O=a(k,!0)):O=[]:h(k)||c(k)?(O=_,c(_)?O=v(_):p(_)&&!f(_)||(O=l(k))):P=!1}P&&(x.set(k,O),y(O,k,m,w,x),x.delete(k)),n(e,r,O)}}},2865:(e,t,r)=>{var n=r(9570),o=r(1811)(n);e.exports=o},2903:(e,t,r)=>{var n=r(3805),o=r(5527),a=r(181),i=Object.prototype.hasOwnProperty;e.exports=function(e){if(!n(e))return a(e);var t=o(e),r=[];for(var l in e)("constructor"!=l||!t&&i.call(e,l))&&r.push(l);return r}},2949:(e,t,r)=>{var n=r(2651);e.exports=function(e,t){var r=n(this,e),o=r.size;return r.set(e,t),this.size+=r.size==o?0:1,this}},3007:e=>{e.exports=function(e,t){var r=-1,n=e.length;for(t||(t=Array(n));++r<n;)t[r]=e[r];return t}},3040:(e,t,r)=>{var n=r(1549),o=r(79),a=r(8223);e.exports=function(){this.size=0,this.__data__={hash:new n,map:new(a||o),string:new n}}},3221:e=>{e.exports=function(e){return function(t,r,n){for(var o=-1,a=Object(t),i=n(t),l=i.length;l--;){var c=i[e?l:++o];if(!1===r(a[c],c,a))break}return t}}},3243:(e,t,r)=>{var n=r(6110),o=function(){try{var e=n(Object,"defineProperty");return e({},"",{}),e}catch(e){}}();e.exports=o},3290:(e,t,r)=>{e=r.nmd(e);var n=r(9325),o=t&&!t.nodeType&&t,a=o&&e&&!e.nodeType&&e,i=a&&a.exports===o?n.Buffer:void 0,l=i?i.allocUnsafe:void 0;e.exports=function(e,t){if(t)return e.slice();var r=e.length,n=l?l(r):new e.constructor(r);return e.copy(n),n}},3360:(e,t,r)=>{var n=r(3243);e.exports=function(e,t,r){"__proto__"==t&&n?n(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[t]=r}},3488:e=>{e.exports=function(e){return e}},3605:e=>{e.exports=function(e){return this.__data__.get(e)}},3656:(e,t,r)=>{e=r.nmd(e);var n=r(9325),o=r(9935),a=t&&!t.nodeType&&t,i=a&&e&&!e.nodeType&&e,l=i&&i.exports===a?n.Buffer:void 0,c=(l?l.isBuffer:void 0)||o;e.exports=c},3661:(e,t,r)=>{var n=r(3040),o=r(7670),a=r(289),i=r(4509),l=r(2949);function c(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}c.prototype.clear=n,c.prototype.delete=o,c.prototype.get=a,c.prototype.has=i,c.prototype.set=l,e.exports=c},3693:(e,t,r)=>{var n=r(4894),o=r(346);e.exports=function(e){return o(e)&&n(e)}},3702:e=>{e.exports=function(){this.__data__=[],this.size=0}},3805:e=>{e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},3862:e=>{e.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}},3873:e=>{e.exports=require("path")},4218:e=>{e.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},4335:e=>{e.exports=function(e,t){return function(r){return e(t(r))}}},4509:(e,t,r)=>{var n=r(2651);e.exports=function(e){return n(this,e).has(e)}},4739:(e,t,r)=>{var n=r(6025);e.exports=function(e){var t=this.__data__,r=n(t,e);return r<0?void 0:t[r][1]}},4840:(e,t,r)=>{var n="object"==typeof r.g&&r.g&&r.g.Object===Object&&r.g;e.exports=n},4894:(e,t,r)=>{var n=r(1882),o=r(294);e.exports=function(e){return null!=e&&o(e.length)&&!n(e)}},4901:(e,t,r)=>{var n=r(2552),o=r(294),a=r(346),i={};i["[object Float32Array]"]=i["[object Float64Array]"]=i["[object Int8Array]"]=i["[object Int16Array]"]=i["[object Int32Array]"]=i["[object Uint8Array]"]=i["[object Uint8ClampedArray]"]=i["[object Uint16Array]"]=i["[object Uint32Array]"]=!0,i["[object Arguments]"]=i["[object Array]"]=i["[object ArrayBuffer]"]=i["[object Boolean]"]=i["[object DataView]"]=i["[object Date]"]=i["[object Error]"]=i["[object Function]"]=i["[object Map]"]=i["[object Number]"]=i["[object Object]"]=i["[object RegExp]"]=i["[object Set]"]=i["[object String]"]=i["[object WeakMap]"]=!1,e.exports=function(e){return a(e)&&o(e.length)&&!!i[n(e)]}},4974:e=>{e.exports=function(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}},5083:(e,t,r)=>{var n=r(1882),o=r(7296),a=r(3805),i=r(7473),l=/^\[object .+?Constructor\]$/,c=Function.prototype,s=Object.prototype,u=c.toString,d=s.hasOwnProperty,f=RegExp("^"+u.call(d).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!a(e)||o(e))&&(n(e)?f:l).test(i(e))}},5250:(e,t,r)=>{var n=r(7217),o=r(7805),a=r(6649),i=r(2824),l=r(3805),c=r(7241),s=r(4974);e.exports=function e(t,r,u,d,f){t!==r&&a(r,function(a,c){if(f||(f=new n),l(a))i(t,r,c,u,e,d,f);else{var p=d?d(s(t,c),a,c+"",t,r,f):void 0;void 0===p&&(p=a),o(t,c,p)}},c)}},5288:e=>{e.exports=function(e,t){return e===t||e!=e&&t!=t}},5364:(e,t,r)=>{var n=r(5250),o=r(999)(function(e,t,r){n(e,t,r)});e.exports=o},5481:(e,t,r)=>{var n=r(9325)["__core-js_shared__"];e.exports=n},5527:e=>{var t=Object.prototype;e.exports=function(e){var r=e&&e.constructor;return e===("function"==typeof r&&r.prototype||t)}},5529:(e,t,r)=>{var n=r(9344),o=r(8879),a=r(5527);e.exports=function(e){return"function"!=typeof e.constructor||a(e)?{}:n(o(e))}},5749:(e,t,r)=>{var n=r(1042);e.exports=function(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=n&&void 0===t?"__lodash_hash_undefined__":t,this}},6009:(e,t,r)=>{e=r.nmd(e);var n=r(4840),o=t&&!t.nodeType&&t,a=o&&e&&!e.nodeType&&e,i=a&&a.exports===o&&n.process,l=function(){try{return a&&a.require&&a.require("util").types||i&&i.binding&&i.binding("util")}catch(e){}}();e.exports=l},6025:(e,t,r)=>{var n=r(5288);e.exports=function(e,t){for(var r=e.length;r--;)if(n(e[r][0],t))return r;return-1}},6110:(e,t,r)=>{var n=r(5083),o=r(392);e.exports=function(e,t){var r=o(e,t);return n(r)?r:void 0}},6449:e=>{var t=Array.isArray;e.exports=t},6547:(e,t,r)=>{var n=r(3360),o=r(5288),a=Object.prototype.hasOwnProperty;e.exports=function(e,t,r){var i=e[t];a.call(e,t)&&o(i,r)&&(void 0!==r||t in e)||n(e,t,r)}},6649:(e,t,r)=>{var n=r(3221)();e.exports=n},6721:(e,t,r)=>{var n=r(1042),o=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;if(n){var r=t[e];return"__lodash_hash_undefined__"===r?void 0:r}return o.call(t,e)?t[e]:void 0}},6757:(e,t,r)=>{var n=r(1033),o=Math.max;e.exports=function(e,t,r){return t=o(void 0===t?e.length-1:t,0),function(){for(var a=arguments,i=-1,l=o(a.length-t,0),c=Array(l);++i<l;)c[i]=a[t+i];i=-1;for(var s=Array(t+1);++i<t;)s[i]=a[i];return s[t]=r(c),n(e,this,s)}}},6800:(e,t,r)=>{var n=r(5288),o=r(4894),a=r(361),i=r(3805);e.exports=function(e,t,r){if(!i(r))return!1;var l=typeof t;return!!("number"==l?o(r)&&a(t,r.length):"string"==l&&t in r)&&n(r[t],e)}},7167:(e,t,r)=>{var n=r(4901),o=r(7301),a=r(6009),i=a&&a.isTypedArray,l=i?o(i):n;e.exports=l},7217:(e,t,r)=>{var n=r(79),o=r(1420),a=r(938),i=r(3605),l=r(9817),c=r(945);function s(e){var t=this.__data__=new n(e);this.size=t.size}s.prototype.clear=o,s.prototype.delete=a,s.prototype.get=i,s.prototype.has=l,s.prototype.set=c,e.exports=s},7241:(e,t,r)=>{var n=r(695),o=r(2903),a=r(4894);e.exports=function(e){return a(e)?n(e,!0):o(e)}},7296:(e,t,r)=>{var n,o=r(5481),a=(n=/[^.]+$/.exec(o&&o.keys&&o.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"";e.exports=function(e){return!!a&&a in e}},7301:e=>{e.exports=function(e){return function(t){return e(t)}}},7334:e=>{e.exports=function(e){return function(){return e}}},7473:e=>{var t=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return t.call(e)}catch(e){}try{return e+""}catch(e){}}return""}},7534:(e,t,r)=>{var n=r(2552),o=r(346);e.exports=function(e){return o(e)&&"[object Arguments]"==n(e)}},7670:(e,t,r)=>{var n=r(2651);e.exports=function(e){var t=n(this,e).delete(e);return this.size-=t?1:0,t}},7805:(e,t,r)=>{var n=r(3360),o=r(5288);e.exports=function(e,t,r){(void 0!==r&&!o(e[t],r)||void 0===r&&!(t in e))&&n(e,t,r)}},7828:(e,t,r)=>{var n=r(9325).Uint8Array;e.exports=n},8096:e=>{e.exports=function(e,t){for(var r=-1,n=Array(e);++r<e;)n[r]=t(r);return n}},8223:(e,t,r)=>{var n=r(6110)(r(9325),"Map");e.exports=n},8655:(e,t,r)=>{var n=r(6025);e.exports=function(e){return n(this.__data__,e)>-1}},8879:(e,t,r)=>{var n=r(4335)(Object.getPrototypeOf,Object);e.exports=n},9021:e=>{e.exports=require("fs")},9302:(e,t,r)=>{var n=r(3488),o=r(6757),a=r(2865);e.exports=function(e,t){return a(o(e,t,n),e+"")}},9325:(e,t,r)=>{var n=r(4840),o="object"==typeof self&&self&&self.Object===Object&&self,a=n||o||Function("return this")();e.exports=a},9344:(e,t,r)=>{var n=r(3805),o=Object.create,a=function(){function e(){}return function(t){if(!n(t))return{};if(o)return o(t);e.prototype=t;var r=new e;return e.prototype=void 0,r}}();e.exports=a},9350:e=>{var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},9570:(e,t,r)=>{var n=r(7334),o=r(3243),a=r(3488),i=o?function(e,t){return o(e,"toString",{configurable:!0,enumerable:!1,value:n(t),writable:!0})}:a;e.exports=i},9653:(e,t,r)=>{var n=r(7828);e.exports=function(e){var t=new e.constructor(e.byteLength);return new n(t).set(new n(e)),t}},9817:e=>{e.exports=function(e){return this.__data__.has(e)}},9884:(e,t,r)=>{var n=r(1791),o=r(7241);e.exports=function(e){return n(e,o(e))}},9935:e=>{e.exports=function(){return!1}}},g={};function b(e){var t=g[e];if(void 0!==t)return t.exports;var r=g[e]={id:e,loaded:!1,exports:{}};return h[e].call(r.exports,r,r.exports,b),r.loaded=!0,r.exports}b.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return b.d(t,{a:t}),t},p=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,b.t=function(e,t){if(1&t&&(e=this(e)),8&t)return e;if("object"==typeof e&&e){if(4&t&&e.__esModule)return e;if(16&t&&"function"==typeof e.then)return e}var r=Object.create(null);b.r(r);var n={};f=f||[null,p({}),p([]),p(p)];for(var o=2&t&&e;("object"==typeof o||"function"==typeof o)&&!~f.indexOf(o);o=p(o))Object.getOwnPropertyNames(o).forEach(t=>n[t]=()=>e[t]);return n.default=()=>e,b.d(r,n),r},b.d=(e,t)=>{for(var r in t)b.o(t,r)&&!b.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},b.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),b.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),b.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},b.nmd=e=>(e.paths=[],e.children||(e.children=[]),e);var v=b(5364);b.n(v);JSON.parse('{"brand":{"base":{"dark":"rgba(20, 6, 17, 1)","light":"rgba(255, 255, 255, 1)"},"accent":{"dark":"rgba(255, 214, 210, 1)","light":"rgba(100, 30, 85, 1)"}},"color":{"role":{"focusRing":"{color.role.transparent.50}","overlay":"rgba(0, 0, 0, 0.75)","background":{"1":"{color.generated.scale.1}","2":"{color.generated.scale.2}","3":"{color.generated.scale.3}","4":"{color.generated.scale.4}","5":"{color.generated.scale.5}","6":"{color.generated.scale.6}","base":"{color.role.background.1}","inverse":"{color.generated.foreground.base}","accent":{"stronger":"{color.generated.accent.stronger}","strong":"{color.generated.accent.strong}","base":"{color.generated.accent.base}","soft":"{color.generated.accent.soft}","softer":"{color.generated.accent.softer}","softest":"{color.generated.accent.softest}"},"positive":{"strong":"{color.generated.positive.strong}","base":"{color.generated.positive.base}","soft":"{color.generated.positive.soft}","stronger":"{color.generated.positive.stronger}","softer":"{color.generated.positive.softer}","softest":"{color.generated.positive.softest}"},"warning":{"strong":"{color.generated.warning.strong}","base":"{color.generated.warning.base}","soft":"{color.generated.warning.soft}","stronger":"{color.generated.warning.stronger}","softer":"{color.generated.warning.softer}","softest":"{color.generated.warning.softest}"},"critical":{"strong":"{color.generated.critical.strong}","base":"{color.generated.critical.base}","soft":"{color.generated.critical.soft}","stronger":"{color.generated.critical.stronger}","softer":"{color.generated.critical.softer}","softest":"{color.generated.critical.softest}"},"informative":{"strong":"{color.generated.informative.strong}","base":"{color.generated.informative.base}","soft":"{color.generated.informative.soft}","stronger":"{color.generated.informative.stronger}","softer":"{color.generated.informative.softer}","softest":"{color.generated.informative.softest}"}},"foreground":{"base":"{color.generated.foreground.base}","soft":"{color.generated.foreground.soft}","softer":"{color.generated.foreground.softer}","onPrimary":"{color.generated.background.base}","inverse":"{color.generated.background.base}","neutral":"{color.generated.foreground.base}","positive":"{color.generated.positive.base}","warning":"{color.generated.warning.base}","critical":"{color.generated.critical.base}","accent":{"stronger":"{color.generated.accent.stronger}","strong":"{color.generated.accent.strong}","base":"{color.generated.accent.base}","soft":"{color.generated.accent.soft}","softer":"{color.generated.accent.softer}","softest":"{color.generated.accent.softest}"},"informative":"{color.generated.informative.base}"},"border":{"1":"{color.generated.scale.1}","2":"{color.generated.scale.2}","3":"{color.generated.scale.3}","4":"{color.generated.scale.4}","5":"{color.generated.scale.5}","6":"{color.generated.scale.6}","base":"{color.generated.scale.5}","accent":{"stronger":"{color.generated.accent.stronger}","strong":"{color.generated.accent.strong}","base":"{color.generated.accent.base}","soft":"{color.generated.accent.soft}","softer":"{color.generated.accent.softer}","softest":"{color.generated.accent.softest}"},"positive":{"strong":"{color.generated.positive.strong}","base":"{color.generated.positive.base}","soft":"{color.generated.positive.soft}","stronger":"{color.generated.positive.stronger}","softer":"{color.generated.positive.softer}","softest":"{color.generated.positive.softest}"},"warning":{"strong":"{color.generated.warning.strong}","base":"{color.generated.warning.base}","soft":"{color.generated.warning.soft}","stronger":"{color.generated.warning.stronger}","softer":"{color.generated.warning.softer}","softest":"{color.generated.warning.softest}"},"critical":{"strong":"{color.generated.critical.strong}","base":"{color.generated.critical.base}","soft":"{color.generated.critical.soft}","stronger":"{color.generated.critical.stronger}","softer":"{color.generated.critical.softer}","softest":"{color.generated.critical.softest}"}},"identifier":{"blue":"{color.generated.identifier.blue}","pink":"{color.generated.identifier.pink}","indigo":"{color.generated.identifier.indigo}","teal":"{color.generated.identifier.teal}","green":"{color.generated.identifier.green}","orange":"{color.generated.identifier.orange}","red":"{color.generated.identifier.red}","yellow":"{color.generated.identifier.yellow}","gray":"{color.generated.identifier.gray}"},"link":{"default":"{color.generated.accent.base}","hover":"{color.generated.accent.stronger}"},"transparent":{"0":{"_inputs":["{color.role.foreground.base}"],"_transforms":[{"type":"alpha","amount":0.001}]},"12":{"_inputs":["{color.role.foreground.base}"],"_transforms":[{"type":"alpha","amount":0.12}]},"18":{"_inputs":["{color.role.foreground.base}"],"_transforms":[{"type":"alpha","amount":0.18}]},"32":{"_inputs":["{color.role.foreground.base}"],"_transforms":[{"type":"alpha","amount":0.32}]},"50":{"_inputs":["{color.role.foreground.base}"],"_transforms":[{"type":"alpha","amount":0.5}]}}},"generated":{"scale":{"1":"{color.generated.background.base}","2":{"_inputs":["{color.generated.scale.1}",{"color":"{color.generated.foreground.base}","alpha":0.06}]},"3":{"_inputs":["{color.generated.scale.1}",{"color":"{color.generated.foreground.base}","alpha":0.12}]},"4":{"_inputs":["{color.generated.scale.1}",{"color":"{color.generated.foreground.base}","alpha":0.18}]},"5":{"_inputs":["{color.generated.scale.1}",{"color":"{color.generated.foreground.base}","alpha":0.24}]},"6":{"_inputs":["{color.generated.scale.1}",{"color":"{color.generated.foreground.base}","alpha":0.3}]}},"foreground":{"soft":{"_inputs":["{color.generated.background.base}",{"color":"{color.generated.foreground.base}","alpha":0.75}]},"softer":{"_inputs":["{color.generated.background.base}",{"color":"{color.generated.foreground.base}","alpha":0.6}]}}},"enterprise":{"contextMenu":{"background":"{color.role.background.base}","border":"{color.role.border.base}"},"contextMenuItem":{"divider":"{color.role.border.3}","heading":"{color.role.foreground.soft}","default":{"background":{"default":"{color.role.transparent.0}","hover":"{color.role.background.3}","active":"{color.role.background.3}","focus":"{color.role.background.3}"},"text":{"default":"{color.role.foreground.base}","hover":"{color.role.foreground.base}","active":"{color.role.foreground.base}","focus":"{color.role.foreground.base}"},"icon":{"default":"{color.role.foreground.base}","hover":"{color.role.foreground.base}","active":"{color.role.foreground.base}","focus":"{color.role.foreground.base}"}},"critical":{"background":{"default":"{color.role.transparent.0}","hover":"{color.role.background.critical.softest}","active":"{color.role.background.critical.softest}","focus":"{color.role.background.critical.softest}"},"text":{"default":"{color.role.foreground.critical}","hover":"{color.role.foreground.critical}","active":"{color.role.foreground.critical}","focus":"{color.role.foreground.critical}"},"icon":{"default":"{color.role.foreground.critical}","hover":"{color.role.foreground.critical}","active":"{color.role.foreground.critical}","focus":"{color.role.foreground.critical}"}}},"view":{"border":"{color.role.border.base}"},"viewSplitter":{"default":"{color.role.transparent.0}","hover":"{color.role.background.6}"},"window":{"background":"{color.role.background.base}","border":"{color.role.border.base}","text":{"base":"{color.role.foreground.base}","soft":"{color.role.foreground.soft}"}},"topChrome":{"border":"{color.role.border.base}"},"topTab":{"icon":{"default":"{color.role.foreground.soft}","hover":"{color.role.foreground.accent.base}","selected":"{color.role.foreground.accent.base}"},"text":{"default":"{color.role.foreground.soft}","hover":"{color.role.foreground.base}","selected":"{color.role.foreground.base}"},"overflow":{"start":{"default":"{color.enterprise.topTab.background.default}","hover":"{color.enterprise.topTab.background.hover}","selected":"{color.enterprise.topTab.background.selected}"},"middle":{"default":{"_inputs":["{color.enterprise.topTab.overflow.start.default}"],"_transforms":[{"type":"alpha","amount":0.5}]},"hover":{"_inputs":["{color.enterprise.topTab.overflow.start.hover}"],"_transforms":[{"type":"alpha","amount":0.5}]},"selected":{"_inputs":["{color.enterprise.topTab.overflow.start.selected}"],"_transforms":[{"type":"alpha","amount":0.5}]}},"end":{"default":{"_inputs":["{color.enterprise.topTab.overflow.start.default}"],"_transforms":[{"type":"alpha","amount":0}]},"hover":{"_inputs":["{color.enterprise.topTab.overflow.start.hover}"],"_transforms":[{"type":"alpha","amount":0}]},"selected":{"_inputs":["{color.enterprise.topTab.overflow.start.selected}"],"_transforms":[{"type":"alpha","amount":0}]}}},"unsavedIcon":"{color.role.foreground.base}","loader":"{color.role.foreground.base}"},"viewTab":{"border":{"selected":"{color.role.foreground.base}","dragging":"{color.role.foreground.base}"},"icon":{"default":"{color.role.foreground.soft}","hover":"{color.role.foreground.base}","active":"{color.role.foreground.base}","selected":"{color.role.foreground.base}"},"text":{"default":"{color.role.foreground.soft}","hover":"{color.role.foreground.base}","active":"{color.role.foreground.base}","inactive":"{color.role.foreground.soft}","selected":"{color.role.foreground.base}"},"overflow":{"start":{"default":"{color.enterprise.viewTab.background.default}","hover":"{color.enterprise.viewTab.background.hover}","active":"{color.enterprise.viewTab.background.active}","selected":"{color.enterprise.viewTab.background.selected}"},"middle":{"default":{"_inputs":["{color.enterprise.viewTab.overflow.start.default}"],"_transforms":[{"type":"alpha","amount":0.5}]},"hover":{"_inputs":["{color.enterprise.viewTab.overflow.start.hover}"],"_transforms":[{"type":"alpha","amount":0.5}]},"selected":{"_inputs":["{color.enterprise.viewTab.overflow.start.selected}"],"_transforms":[{"type":"alpha","amount":0.5}]}},"end":{"default":{"_inputs":["{color.enterprise.viewTab.overflow.start.default}"],"_transforms":[{"type":"alpha","amount":0}]},"hover":{"_inputs":["{color.enterprise.viewTab.overflow.start.hover}"],"_transforms":[{"type":"alpha","amount":0}]},"selected":{"_inputs":["{color.enterprise.viewTab.overflow.start.selected}"],"_transforms":[{"type":"alpha","amount":0}]}}},"loader":"{color.role.foreground.base}"},"command":{"default":"{color.role.transparent.0}","hover":"{color.role.background.4}"},"shortcutKey":{"background":"{color.role.background.4}","icon":"{color.role.foreground.base}"},"searchBar":{"border":{"default":"{color.role.border.base}","hover":"{color.role.border.6}","active":"{color.role.border.6}","focus":"{color.role.border.strong}"},"icon":{"default":"{color.role.foreground.base}"},"value":{"default":"{color.role.foreground.soft}","hover":"{color.role.foreground.soft}","active":"{color.role.foreground.soft}","focus":"{color.role.foreground.soft}","filled":"{color.role.foreground.base}"},"overflow":{"start":{"default":"{color.enterprise.searchBar.background.default}","hover":"{color.enterprise.searchBar.background.hover}"},"middle":{"default":{"_inputs":["{color.enterprise.searchBar.overflow.start.default}"],"_transforms":[{"type":"alpha","amount":0.5}]},"hover":{"_inputs":["{color.enterprise.searchBar.overflow.start.hover}"],"_transforms":[{"type":"alpha","amount":0.5}]}},"end":{"default":{"_inputs":["{color.enterprise.searchBar.overflow.start.default}"],"_transforms":[{"type":"alpha","amount":0}]},"hover":{"_inputs":["{color.enterprise.searchBar.overflow.start.hover}"],"_transforms":[{"type":"alpha","amount":0}]}}}},"searchMenu":{"background":"{color.role.background.base}","border":"{color.role.border.base}","commandBar":"{color.role.background.2}","banner":"{color.role.background.2}","text":{"base":"{color.role.foreground.base}","soft":"{color.role.foreground.soft}"}},"searchResult":{"icon":"{color.shared.icon.accent}","iconBackground":"{color.role.background.2}","heading":"{color.role.foreground.soft}","title":"{color.role.foreground.base}","description":"{color.role.foreground.soft}","link":"{color.role.link.default}","background":{"default":"{color.role.transparent.0}","hover":"{color.role.background.3}","selected":"{color.role.background.4}"}},"progressIndicator":{"container":"{color.role.transparent.18}","fill":"{color.role.foreground.accent.base}"},"sidePanel":{"background":{"_value":"{color.role.background.base}","transparent":{"_inputs":["{color.enterprise.sidePanel.background}"],"_transforms":[{"type":"alpha","amount":0}]}},"border":"{color.role.border.base}","icon":"{color.role.foreground.base}","text":{"base":"{color.role.foreground.base}","soft":"{color.role.foreground.soft}","softer":"{color.role.foreground.softer}"}},"listItem":{"background":{"default":"{color.role.transparent.0}","hover":"{color.role.background.3}"},"text":{"default":"{color.role.foreground.base}","hover":"{color.role.foreground.base}"},"icon":{"default":"{color.role.foreground.base}","hover":"{color.role.foreground.base}"},"iconBackground":{"default":"{color.role.background.3}","hover":"{color.role.background.3}"}},"prompt":{"text":"{color.role.foreground.base}","icon":"{color.role.foreground.base}","iconBackground":"{color.role.background.base}","editBorder":"{color.role.border.base}","background":{"default":"{color.role.background.3}","hover":"{color.role.background.4}"}},"composer":{"background":"{color.role.background.2}","border":"{color.role.border.base}","placeholder":"{color.role.foreground.soft}","text":"{color.role.foreground.base}"},"skeletonLoader":{"background":"{color.role.background.3}","template":{"start":{"_inputs":["{color.role.background.3}"],"_transforms":[{"type":"alpha","amount":0}]},"middle":"{color.role.background.4}","end":{"_inputs":["{color.role.background.3}"],"_transforms":[{"type":"alpha","amount":0}]}}},"searchFilter":{"background":{"default":"{color.role.transparent.0}","hover":"{color.role.background.3}","selected":"{color.role.background.accent.softer}","selectedHover":"{color.role.background.accent.soft}"},"border":{"default":"{color.role.border.3}","hover":"{color.role.border.3}","selected":"{color.role.border.accent.base}","selectedHover":"{color.role.border.accent.base}"},"icon":{"default":"{color.role.foreground.soft}","hover":"{color.role.foreground.soft}","selected":"{color.role.background.accent.base}"},"text":{"default":"{color.role.foreground.soft}","hover":"{color.role.foreground.soft}","selected":"{color.role.background.accent.base}"}},"searchTab":{"background":{"default":"{color.role.transparent.0}","hover":"{color.role.background.3}","selected":"{color.role.transparent.0}"},"icon":{"default":"{color.role.foreground.soft}","hover":"{color.role.foreground.soft}","selected":"{color.role.background.accent.base}"},"text":{"default":"{color.role.foreground.soft}","hover":"{color.role.foreground.base}","selected":"{color.role.foreground.base}"},"indicator":{"default":"{color.role.transparent.0}","hover":"{color.role.transparent.0}","selected":"{color.role.background.accent.base}"}},"featuredContentItem":{"background":{"default":"{color.role.background.2}","hover":"{color.role.background.3}","selected":"{color.role.background.4}"},"text":{"default":"{color.role.foreground.base}"}}},"shared":{"overlay":"{color.role.overlay}","focusRing":"{color.role.focusRing}","watermark":"{color.role.transparent.50}","banner":{"positive":{"background":"{color.role.background.positive.soft}","border":"{color.role.border.positive.base}","text":"{color.role.foreground.base}","icon":"{color.role.foreground.positive}"},"warning":{"background":"{color.role.background.warning.strong}","border":"{color.role.border.warning.base}","text":"{color.role.foreground.inverse}","icon":"{color.role.foreground.warning}"},"critical":{"background":"{color.role.background.critical.soft}","border":"{color.role.border.critical.base}","text":"{color.role.foreground.base}","icon":"{color.role.foreground.critical}"}},"button":{"default":{"background":{"default":"{color.role.transparent.0}","hover":"{color.role.transparent.12}","selected":"{color.role.background.accent.softer}","pressed":"{color.role.transparent.18}"},"border":{"default":"{color.role.border.base}","hover":"{color.role.border.base}","pressed":"{color.role.border.base}","selected":"{color.role.border.accent.base}"},"icon":{"default":"{color.role.foreground.base}","hover":"{color.role.foreground.base}","pressed":"{color.role.foreground.base}","selected":"{color.role.foreground.accent.base}"},"text":{"default":"{color.role.foreground.base}","hover":"{color.role.foreground.base}","selected":"{color.role.foreground.accent.base}"},"focusRing":"{color.role.focusRing}"},"primary":{"background":{"default":"{color.role.background.accent.base}","hover":"{color.role.background.accent.strong}","pressed":"{color.role.background.accent.stronger}"},"border":{"default":"{color.role.transparent.0}","hover":"{color.role.transparent.0}","pressed":"{color.role.transparent.0}"},"icon":{"default":"{color.role.foreground.onPrimary}","hover":"{color.role.foreground.onPrimary}","pressed":"{color.role.foreground.onPrimary}"},"text":{"default":"{color.role.foreground.onPrimary}","hover":"{color.role.foreground.onPrimary}"},"focusRing":"{color.role.background.accent.soft}"},"subtle":{"background":{"default":"{color.role.transparent.0}","hover":"{color.role.transparent.12}","pressed":"{color.role.transparent.18}"},"border":{"default":"{color.role.transparent.0}","hover":"{color.role.transparent.0}","pressed":"{color.role.transparent.0}"},"icon":{"default":"{color.role.foreground.base}","hover":"{color.role.foreground.base}","pressed":"{color.role.foreground.base}"},"text":{"default":"{color.role.foreground.base}","hover":"{color.role.foreground.base}"}},"critical":{"background":{"default":"{color.role.background.critical.base}","hover":"{color.role.background.critical.strong}","pressed":"{color.role.background.critical.stronger}"},"border":{"default":"{color.role.transparent.0}","hover":"{color.role.transparent.0}","pressed":"{color.role.transparent.0}"},"icon":{"default":"{color.role.foreground.inverse}","hover":"{color.role.foreground.inverse}","pressed":"{color.role.foreground.inverse}"},"text":{"default":"{color.role.foreground.inverse}","hover":"{color.role.foreground.inverse}"},"focusRing":"{color.role.background.critical.soft}"},"ghost":{"icon":{"default":"{color.role.foreground.base}"},"text":{"default":"{color.role.foreground.base}","hover":"{color.role.background.accent.strong}"},"background":"{color.role.transparent.0}"}},"iconButton":{"ghost":{"icon":{"default":"{color.role.foreground.base}"},"background":"{color.role.transparent.0}"},"primary":{"background":{"default":"{color.role.background.accent.base}","hover":"{color.role.background.accent.strong}"},"border":{"default":"{color.role.transparent.0}","hover":"{color.role.transparent.0}","pressed":"{color.role.transparent.0}"},"icon":{"default":"{color.role.foreground.onPrimary}","hover":"{color.role.foreground.onPrimary}","pressed":"{color.role.foreground.onPrimary}"},"focusRing":"{color.role.background.accent.soft}"},"subtle":{"background":{"default":"{color.role.transparent.0}","hover":"{color.role.transparent.12}","pressed":"{color.role.transparent.18}"},"border":{"default":"{color.role.transparent.0}","hover":"{color.role.transparent.0}","pressed":"{color.role.transparent.0}"},"icon":{"default":"{color.role.foreground.soft}","hover":"{color.role.foreground.soft}","pressed":"{color.role.foreground.soft}"}},"default":{"background":{"default":"{color.role.transparent.0}","hover":"{color.role.transparent.12}","selected":"{color.role.background.accent.softer}","pressed":"{color.role.transparent.18}"},"border":{"default":"{color.role.border.base}","hover":"{color.role.border.base}","pressed":"{color.role.border.base}","selected":"{color.role.border.accent.base}"},"icon":{"default":"{color.role.foreground.base}","hover":"{color.role.foreground.base}","pressed":"{color.role.foreground.base}","selected":"{color.role.foreground.accent.base}"},"focusRing":"{color.role.focusRing}"}},"icon":{"base":"{color.role.foreground.base}","soft":"{color.role.foreground.soft}","error":"{color.role.foreground.critical}","background3":"{color.role.background.3}","background1":"{color.role.background.1}","accent":"{color.role.foreground.accent.base}","border":"{color.role.foreground.base}","accentTransparent":{"_inputs":["{color.shared.icon.accent}"],"_transforms":[{"type":"alpha","amount":0.16}]}},"dock":{"background":"{color.role.background.base}","dragIndicator":"{color.role.foreground.soft}","border":"{color.role.border.base}"},"indicator":{"text":"{color.role.foreground.inverse}","background":{"blue":"{color.role.identifier.blue}","orange":"{color.role.identifier.orange}","indigo":"{color.role.identifier.indigo}","pink":"{color.role.identifier.pink}","yellow":"{color.role.identifier.yellow}","green":"{color.role.identifier.green}","teal":"{color.role.identifier.teal}","red":"{color.role.identifier.red}","expired":"{color.role.background.6}","transparent":"{color.role.transparent.0}"}},"notification":{"background":"{color.role.background.3}","border":"{color.role.border.base}","text":{"base":"{color.role.foreground.base}","soft":"{color.role.foreground.soft}"}},"placementOption":{"text":{"default":"{color.role.foreground.base}"},"backdrop":"rgba(255, 255, 255, 1)","background":{"default":"{color.role.transparent.0}","hover":"{color.role.background.4}","selected":"{color.role.background.6}"},"previewObject":{"default":"{color.role.background.5}","hover":"{color.role.background.accent.base}","selected":"{color.role.background.accent.base}"}},"platformSelector":{"underline":"{color.role.border.base}"},"notificationCenter":{"background":"{color.role.background.base}","border":"{color.role.border.base}","text":{"base":"{color.role.foreground.base}","soft":"{color.role.foreground.soft}"},"icon":{"base":"{color.role.foreground.base}","soft":"{color.role.foreground.soft}"}},"toggle":{"track":{"off":"{color.role.transparent.32}","on":"{color.role.background.accent.base}"},"thumb":{"off":"{color.role.foreground.base}","on":"{color.role.foreground.onPrimary}"}},"colorChannel":{"blue":"{color.role.identifier.blue}","pink":"{color.role.identifier.pink}","indigo":"{color.role.identifier.indigo}","teal":"{color.role.identifier.teal}","green":"{color.role.identifier.green}","orange":"{color.role.identifier.orange}","red":"{color.role.identifier.red}","yellow":"{color.role.identifier.yellow}","gray":"{color.role.identifier.gray}","unlink":"{color.role.foreground.base}","selected":"{color.role.background.base}"},"dropzone":{"border":"{color.role.background.accent.base}","background":{"_inputs":["{color.role.background.accent.base}"],"_transforms":[{"type":"alpha","amount":0.25}]}},"form":{"label":"{color.role.foreground.base}","helpIcon":"{color.role.foreground.soft}","optionalDot":"{color.role.foreground.critical}","background":{"default":"{color.role.transparent.0}","hover":"{color.role.transparent.0}","focus":"{color.role.transparent.0}","filled":"{color.role.transparent.0}","error":"{color.role.transparent.0}","selected":"{color.role.background.accent.base}"},"border":{"default":"{color.role.border.base}","hover":"{color.role.border.6}","focus":"{color.role.border.accent.base}","filled":"{color.role.border.base}","error":"{color.role.border.critical.base}","selected":"{color.role.border.accent.base}"},"placeholder":{"default":"{color.role.foreground.soft}","hover":"{color.role.foreground.soft}","focus":"{color.role.foreground.soft}"},"icon":{"default":"{color.role.foreground.soft}","focus":"{color.role.foreground.base}","selected":"{color.role.foreground.onPrimary}"},"value":{"default":"{color.role.foreground.soft}","hover":"{color.role.foreground.soft}","focus":"{color.role.foreground.base}","filled":"{color.role.foreground.base}"},"errorMessage":{"background":"{color.role.background.critical.softest}","text":"{color.role.foreground.base}","icon":"{color.role.foreground.critical}"},"focusRing":"{color.role.border.accent.soft}","hint":"{color.role.foreground.softer}"},"scrollBar":{"area":"{color.role.transparent.50}","bar":"{color.role.background.base}"}},"coreui":{"home":{"background":"{color.role.background.2}","border":"{color.role.border.4}"},"homeInput":{"background":{"default":"{color.role.background.4}","hover":"{color.role.background.4}","active":"{color.role.background.4}","focus":"{color.role.background.4}"},"value":{"default":"{color.role.foreground.soft}","hover":"{color.role.foreground.soft}","active":"{color.role.foreground.base}","filled":"{color.role.foreground.base}"},"border":{"active":"{color.role.border.base}","focus":"{color.role.border.base}"}},"homeResult":{"icon":"{color.role.foreground.base}","background":{"default":"{color.role.transparent.0}","hover":"{color.role.background.3}","selected":"{color.role.background.6}","launching":"{color.role.background.6}"},"title":{"default":"{color.role.foreground.base}","hover":"{color.role.foreground.base}","selected":"{color.role.foreground.base}","launching":"{color.role.foreground.base}"},"description":{"default":"{color.role.foreground.base}","hover":"{color.role.foreground.base}","selected":"{color.role.foreground.base}","launching":"{color.role.foreground.base}"}},"homeTemplate":{"background":"{color.role.background.3}","icon":"{color.role.foreground.base}","text":{"base":"{color.role.foreground.base}","soft":"{color.role.foreground.soft}"}},"homeCard":{"background":"{color.role.background.3}"},"homeHotkey":{"background":"{color.role.background.6}","icon":"{color.role.foreground.base}","text":"{color.role.foreground.base}"},"homeText":{"base":"{color.role.foreground.base}","soft":"{color.role.foreground.soft}"},"store":{"background":"{color.role.background.2}"},"storeBanner":{"background":"{color.role.background.accent.base}","button":{"background":{"default":"{color.role.background.base}","hover":"{color.role.background.base}"},"text":{"default":"{color.role.foreground.accent.base}","hover":"{color.role.background.accent.base}"},"icon":{"default":"{color.role.background.accent.base}","hover":"{color.role.background.accent.base}"}},"header":{"title":"{color.role.foreground.onPrimary}","description":"{color.role.foreground.onPrimary}"}},"storeInput":{"background":{"default":"{color.role.background.4}","hover":"{color.role.background.4}","active":"{color.role.background.4}","filled":"{color.role.background.4}","error":"{color.role.background.4}"},"border":{"active":"{color.role.border.base}","focus":"{color.role.border.base}","error":"{color.role.border.critical.base}"},"value":{"default":"{color.role.foreground.soft}","hover":"{color.role.foreground.soft}","active":"{color.role.foreground.soft}","filled":"{color.role.foreground.base}","error":"{color.role.foreground.critical}"},"icon":"{color.role.foreground.base}"},"storeSidebar":{"background":"{color.role.background.3}","header":"{color.role.foreground.base}"},"storeCard":{"background":{"default":"{color.role.transparent.0}","hover":"{color.role.background.4}"},"title":{"default":"{color.role.foreground.base}","hover":"{color.role.foreground.base}"},"description":{"default":"{color.role.foreground.base}","hover":"{color.role.foreground.base}"}},"storeMenuItem":{"text":{"default":"{color.role.foreground.base}","hover":"{color.role.foreground.base}"},"background":{"default":"{color.role.transparent.0}","hover":"{color.role.background.3}"},"category":"{color.role.foreground.soft}"},"storeFooter":{"link":{"default":"{color.role.foreground.base}","hover":"{color.role.foreground.base}"},"tagline":"{color.role.foreground.base}","icon":"{color.role.foreground.base}"},"browser":{"background":"{color.role.background.1}","border":"{color.role.border.base}"},"browserTopBar":{"background":"{color.role.background.2}","border":"{color.role.border.base}","toolbarIcon":{"default":"{color.role.foreground.base}","focus":"{color.role.foreground.base}","selected":"{color.role.foreground.onPrimary}","active":"{color.role.foreground.base}","hover":"{color.role.foreground.base}","background":{"default":"{color.role.transparent.0}","focus":"{color.role.transparent.0}","selected":"{color.role.background.accent.base}","active":"{color.role.transparent.0}","hover":"{color.role.background.4}"}}},"browserViewSplitter":{"default":"{color.role.background.1}","hover":"{color.role.background.3}"},"browserPageTab":{"background":{"default":"{color.role.background.4}","selected":"{color.role.background.accent.base}"},"icon":{"default":"{color.role.foreground.base}","selected":"{color.role.foreground.onPrimary}"}},"browserViewTab":{"background":{"default":"{color.role.transparent.0}","hover":"{color.role.background.2}","active":"{color.role.background.2}","focus":"{color.role.background.2}"},"icon":"{color.role.foreground.base}"},"browserView":{"border":{"default":"{color.role.transparent.0}","focus":"{color.role.border.base}","green":"{color.role.identifier.green}","purple":"{color.role.identifier.indigo}","orange":"{color.role.identifier.orange}","red":"{color.role.identifier.red}","pink":"{color.role.identifier.pink}","yellow":"{color.role.identifier.yellow}"},"icon":"{color.role.foreground.base}"}},"admin":{"1":"#ffffff","color":"#ffffff","color2":"#ffffff"},"_utilities":{"green":"{color.role.background.positive.base}","red":"{color.role.background.critical.base}","appBackground1":"{color.role.background.1}","loader":"#e3e1e200","dataViz":{"linePlot":"{color.role.border.accent.base}"},"teamsProfiles":{"text":{"red":"#76213e","green":"#164229","yellow":"#805d0b","orange":"#56392b","purple":"#282155","blue":"#0f3157"},"background":{"red":"#f5d4df","green":"#cfe0d6","yellow":"#fdefca","orange":"#e8ddd9","purple":"#d6d4e9","blue":"#cddaea"}},"appBackground2":"{color.role.background.2}","appBackground3":"{color.role.background.3}"}},"colorPrimitives":{"green":{"50":{"_inputs":["{colorPrimitives.green.500}",{"color":"rgba(255, 255, 255, 0.9)"}]},"100":{"_inputs":["{colorPrimitives.green.500}",{"color":"rgba(255, 255, 255, 0.8)"}]},"200":{"_inputs":["{colorPrimitives.green.500}",{"color":"rgba(255, 255, 255, 0.6)"}]},"300":{"_inputs":["{colorPrimitives.green.500}",{"color":"rgba(255, 255, 255, 0.4)"}]},"400":{"_inputs":["{colorPrimitives.green.500}",{"color":"rgba(255, 255, 255, 0.2)"}]},"500":"{colorPrimitives.green.base}","600":{"_inputs":["{colorPrimitives.green.500}",{"color":"rgba(0, 0, 0, 0.2)"}]},"700":{"_inputs":["{colorPrimitives.green.500}",{"color":"rgba(0, 0, 0, 0.4)"}]},"800":{"_inputs":["{colorPrimitives.green.500}",{"color":"rgba(0, 0, 0, 0.6)"}]},"900":{"_inputs":["{colorPrimitives.green.500}",{"color":"rgba(0, 0, 0, 0.8)"}]}},"blue":{"50":{"_inputs":["{colorPrimitives.blue.500}",{"color":"rgba(255, 255, 255, 0.9)"}]},"100":{"_inputs":["{colorPrimitives.blue.500}",{"color":"rgba(255, 255, 255, 0.8)"}]},"200":{"_inputs":["{colorPrimitives.blue.500}",{"color":"rgba(255, 255, 255, 0.6)"}]},"300":{"_inputs":["{colorPrimitives.blue.500}",{"color":"rgba(255, 255, 255, 0.4)"}]},"400":{"_inputs":["{colorPrimitives.blue.500}",{"color":"rgba(255, 255, 255, 0.2)"}]},"500":"{colorPrimitives.blue.base}","600":{"_inputs":["{colorPrimitives.blue.500}",{"color":"rgba(0, 0, 0, 0.2)"}]},"700":{"_inputs":["{colorPrimitives.blue.500}",{"color":"rgba(0, 0, 0, 0.4)"}]},"800":{"_inputs":["{colorPrimitives.blue.500}",{"color":"rgba(0, 0, 0, 0.6)"}]},"900":{"_inputs":["{colorPrimitives.blue.500}",{"color":"rgba(0, 0, 0, 0.8)"}]}},"indigo":{"50":{"_inputs":["{colorPrimitives.indigo.500}",{"color":"rgba(255, 255, 255, 0.9)"}]},"100":{"_inputs":["{colorPrimitives.indigo.500}",{"color":"rgba(255, 255, 255, 0.8)"}]},"200":{"_inputs":["{colorPrimitives.indigo.500}",{"color":"rgba(255, 255, 255, 0.6)"}]},"300":{"_inputs":["{colorPrimitives.indigo.500}",{"color":"rgba(255, 255, 255, 0.4)"}]},"400":{"_inputs":["{colorPrimitives.indigo.500}",{"color":"rgba(255, 255, 255, 0.2)"}]},"500":"{colorPrimitives.indigo.base}","600":{"_inputs":["{colorPrimitives.indigo.500}",{"color":"rgba(0, 0, 0, 0.2)"}]},"700":{"_inputs":["{colorPrimitives.indigo.500}",{"color":"rgba(0, 0, 0, 0.4)"}]},"800":{"_inputs":["{colorPrimitives.indigo.500}",{"color":"rgba(0, 0, 0, 0.6)"}]},"900":{"_inputs":["{colorPrimitives.indigo.500}",{"color":"rgba(0, 0, 0, 0.8)"}]}},"pink":{"50":{"_inputs":["{colorPrimitives.pink.500}",{"color":"rgba(255, 255, 255, 0.9)"}]},"100":{"_inputs":["{colorPrimitives.pink.500}",{"color":"rgba(255, 255, 255, 0.8)"}]},"200":{"_inputs":["{colorPrimitives.pink.500}",{"color":"rgba(255, 255, 255, 0.6)"}]},"300":{"_inputs":["{colorPrimitives.pink.500}",{"color":"rgba(255, 255, 255, 0.4)"}]},"400":{"_inputs":["{colorPrimitives.pink.500}",{"color":"rgba(255, 255, 255, 0.2)"}]},"500":"{colorPrimitives.pink.base}","600":{"_inputs":["{colorPrimitives.pink.500}",{"color":"rgba(0, 0, 0, 0.2)"}]},"700":{"_inputs":["{colorPrimitives.pink.500}",{"color":"rgba(0, 0, 0, 0.4)"}]},"800":{"_inputs":["{colorPrimitives.pink.500}",{"color":"rgba(0, 0, 0, 0.6)"}]},"900":{"_inputs":["{colorPrimitives.pink.500}",{"color":"rgba(0, 0, 0, 0.8)"}]}},"orange":{"50":{"_inputs":["{colorPrimitives.orange.500}",{"color":"rgba(255, 255, 255, 0.9)"}]},"100":{"_inputs":["{colorPrimitives.orange.500}",{"color":"rgba(255, 255, 255, 0.8)"}]},"200":{"_inputs":["{colorPrimitives.orange.500}",{"color":"rgba(255, 255, 255, 0.6)"}]},"300":{"_inputs":["{colorPrimitives.orange.500}",{"color":"rgba(255, 255, 255, 0.4)"}]},"400":{"_inputs":["{colorPrimitives.orange.500}",{"color":"rgba(255, 255, 255, 0.2)"}]},"500":"{colorPrimitives.orange.base}","600":{"_inputs":["{colorPrimitives.orange.500}",{"color":"rgba(0, 0, 0, 0.2)"}]},"700":{"_inputs":["{colorPrimitives.orange.500}",{"color":"rgba(0, 0, 0, 0.4)"}]},"800":{"_inputs":["{colorPrimitives.orange.500}",{"color":"rgba(0, 0, 0, 0.6)"}]},"900":{"_inputs":["{colorPrimitives.orange.500}",{"color":"rgba(0, 0, 0, 0.8)"}]}},"teal":{"50":{"_inputs":["{colorPrimitives.teal.500}",{"color":"rgba(255, 255, 255, 0.9)"}]},"100":{"_inputs":["{colorPrimitives.teal.500}",{"color":"rgba(255, 255, 255, 0.8)"}]},"200":{"_inputs":["{colorPrimitives.teal.500}",{"color":"rgba(255, 255, 255, 0.6)"}]},"300":{"_inputs":["{colorPrimitives.teal.500}",{"color":"rgba(255, 255, 255, 0.4)"}]},"400":{"_inputs":["{colorPrimitives.teal.500}",{"color":"rgba(255, 255, 255, 0.2)"}]},"500":"{colorPrimitives.teal.base}","600":{"_inputs":["{colorPrimitives.teal.500}",{"color":"rgba(0, 0, 0, 0.2)"}]},"700":{"_inputs":["{colorPrimitives.teal.500}",{"color":"rgba(0, 0, 0, 0.4)"}]},"800":{"_inputs":["{colorPrimitives.teal.500}",{"color":"rgba(0, 0, 0, 0.6)"}]},"900":{"_inputs":["{colorPrimitives.teal.500}",{"color":"rgba(0, 0, 0, 0.8)"}]}},"red":{"50":{"_inputs":["{colorPrimitives.red.500}",{"color":"rgba(255, 255, 255, 0.9)"}]},"100":{"_inputs":["{colorPrimitives.red.500}",{"color":"rgba(255, 255, 255, 0.8)"}]},"200":{"_inputs":["{colorPrimitives.red.500}",{"color":"rgba(255, 255, 255, 0.6)"}]},"300":{"_inputs":["{colorPrimitives.red.500}",{"color":"rgba(255, 255, 255, 0.4)"}]},"400":{"_inputs":["{colorPrimitives.red.500}",{"color":"rgba(255, 255, 255, 0.2)"}]},"500":"{colorPrimitives.red.base}","600":{"_inputs":["{colorPrimitives.red.500}",{"color":"rgba(0, 0, 0, 0.2)"}]},"700":{"_inputs":["{colorPrimitives.red.500}",{"color":"rgba(0, 0, 0, 0.4)"}]},"800":{"_inputs":["{colorPrimitives.red.500}",{"color":"rgba(0, 0, 0, 0.6)"}]},"900":{"_inputs":["{colorPrimitives.red.500}",{"color":"rgba(0, 0, 0, 0.8)"}]}},"yellow":{"50":{"_inputs":["{colorPrimitives.yellow.500}",{"color":"rgba(255, 255, 255, 0.9)"}]},"100":{"_inputs":["{colorPrimitives.yellow.500}",{"color":"rgba(255, 255, 255, 0.8)"}]},"200":{"_inputs":["{colorPrimitives.yellow.500}",{"color":"rgba(255, 255, 255, 0.6)"}]},"300":{"_inputs":["{colorPrimitives.yellow.500}",{"color":"rgba(255, 255, 255, 0.4)"}]},"400":{"_inputs":["{colorPrimitives.yellow.500}",{"color":"rgba(255, 255, 255, 0.2)"}]},"500":"{colorPrimitives.yellow.base}","600":{"_inputs":["{colorPrimitives.yellow.500}",{"color":"rgba(0, 0, 0, 0.2)"}]},"700":{"_inputs":["{colorPrimitives.yellow.500}",{"color":"rgba(0, 0, 0, 0.4)"}]},"800":{"_inputs":["{colorPrimitives.yellow.500}",{"color":"rgba(0, 0, 0, 0.6)"}]},"900":{"_inputs":["{colorPrimitives.yellow.500}",{"color":"rgba(0, 0, 0, 0.8)"}]}},"gray":{"50":{"_inputs":["{colorPrimitives.gray.500}",{"color":"rgba(255, 255, 255, 0.9)"}]},"100":{"_inputs":["{colorPrimitives.gray.500}",{"color":"rgba(255, 255, 255, 0.8)"}]},"200":{"_inputs":["{colorPrimitives.gray.500}",{"color":"rgba(255, 255, 255, 0.6)"}]},"300":{"_inputs":["{colorPrimitives.gray.500}",{"color":"rgba(255, 255, 255, 0.4)"}]},"400":{"_inputs":["{colorPrimitives.gray.500}",{"color":"rgba(255, 255, 255, 0.2)"}]},"500":"{colorPrimitives.gray.base}","600":{"_inputs":["{colorPrimitives.gray.500}",{"color":"rgba(0, 0, 0, 0.2)"}]},"700":{"_inputs":["{colorPrimitives.gray.500}",{"color":"rgba(0, 0, 0, 0.4)"}]},"800":{"_inputs":["{colorPrimitives.gray.500}",{"color":"rgba(0, 0, 0, 0.6)"}]},"900":{"_inputs":["{colorPrimitives.gray.500}",{"color":"rgba(0, 0, 0, 0.8)"}]}}}}'),JSON.parse('{"colorPrimitives":{"green":{"base":"rgba(3, 227, 156, 1)"},"blue":{"base":"rgba(31, 169, 255, 1)"},"indigo":{"base":"rgba(147, 133, 255, 1)"},"pink":{"base":"rgba(240, 163, 222, 1)"},"orange":{"base":"rgba(254, 159, 108, 1)"},"teal":{"base":"rgba(72, 224, 224, 1)"},"red":{"base":"rgba(250, 102, 105, 1)"},"yellow":{"base":"rgba(250, 214, 127, 1)"},"gray":{"base":"rgba(156, 160, 160, 1)"}},"brand":{"accent":{"100":{"_inputs":["{brand.accent.dark}",{"color":"{brand.base.dark}","alpha":0.8}],"_transforms":[{"type":"darken","amount":0.1},{"type":"saturate","amount":0.1}]},"200":{"_inputs":["{brand.accent.dark}",{"color":"{brand.base.dark}","alpha":0.7}],"_transforms":[{"type":"darken","amount":0.1},{"type":"saturate","amount":0.1}]},"300":{"_inputs":["{brand.accent.dark}",{"color":"{brand.base.dark}","alpha":0.6}],"_transforms":[{"type":"darken","amount":0.1},{"type":"saturate","amount":0.1}]},"400":"{brand.accent.dark}","500":{"_inputs":["{brand.accent.dark}",{"color":"{brand.base.light}","alpha":0.4}]},"600":{"_inputs":["{brand.accent.dark}",{"color":"{brand.base.light}","alpha":0.6}]}},"status":{"positive":{"100":{"_inputs":["{brand.status.positive.400}",{"color":"{brand.base.dark}","alpha":0.9}]},"200":{"_inputs":["{brand.status.positive.400}",{"color":"{brand.base.dark}","alpha":0.8}]},"300":{"_inputs":["{brand.status.positive.400}",{"color":"{brand.base.dark}","alpha":0.7}]},"400":"{colorPrimitives.green.500}","500":{"_inputs":["{brand.status.positive.400}",{"color":"{brand.base.light}","alpha":0.4}]},"600":{"_inputs":["{brand.status.positive.400}",{"color":"{brand.base.light}","alpha":0.6}]}},"warning":{"100":{"_inputs":["{brand.status.warning.400}",{"color":"{brand.base.dark}","alpha":0.9}]},"200":{"_inputs":["{brand.status.warning.400}",{"color":"{brand.base.dark}","alpha":0.8}]},"300":{"_inputs":["{brand.status.warning.400}",{"color":"{brand.base.dark}","alpha":0.7}]},"400":"{colorPrimitives.yellow.500}","500":{"_inputs":["{brand.status.warning.400}",{"color":"{brand.base.light}","alpha":0.4}]},"600":{"_inputs":["{brand.status.warning.400}",{"color":"{brand.base.light}","alpha":0.6}]}},"critical":{"100":{"_inputs":["{brand.status.critical.400}",{"color":"{brand.base.dark}","alpha":0.9}]},"200":{"_inputs":["{brand.status.critical.400}",{"color":"{brand.base.dark}","alpha":0.8}]},"300":{"_inputs":["{brand.status.critical.400}",{"color":"{brand.base.dark}","alpha":0.7}]},"400":"{colorPrimitives.red.500}","500":{"_inputs":["{brand.status.critical.400}",{"color":"{brand.base.light}","alpha":0.4}]},"600":{"_inputs":["{brand.status.critical.400}",{"color":"{brand.base.light}","alpha":0.6}]}},"informative":{"100":{"_inputs":["{brand.status.informative.400}",{"color":"{brand.base.dark}","alpha":0.9}]},"200":{"_inputs":["{brand.status.informative.400}",{"color":"{brand.base.dark}","alpha":0.8}]},"300":{"_inputs":["{brand.status.informative.400}",{"color":"{brand.base.dark}","alpha":0.7}]},"400":"{colorPrimitives.blue.500}","500":{"_inputs":["{brand.status.informative.400}",{"color":"{brand.base.light}","alpha":0.4}]},"600":{"_inputs":["{brand.status.informative.400}",{"color":"{brand.base.light}","alpha":0.6}]}}}},"color":{"generated":{"accent":{"stronger":"{brand.accent.600}","strong":"{brand.accent.500}","base":"{brand.accent.400}","soft":"{brand.accent.300}","softer":"{brand.accent.200}","softest":"{brand.accent.100}"},"background":{"base":"{brand.base.dark}"},"foreground":{"base":"{brand.base.light}"},"identifier":{"blue":"{colorPrimitives.blue.500}","pink":"{colorPrimitives.pink.500}","indigo":"{colorPrimitives.indigo.500}","teal":"{colorPrimitives.teal.500}","green":"{colorPrimitives.green.500}","orange":"{colorPrimitives.orange.500}","red":"{colorPrimitives.red.500}","yellow":"{colorPrimitives.yellow.500}","gray":"{colorPrimitives.gray.500}"},"positive":{"strong":"{brand.status.positive.500}","base":"{brand.status.positive.400}","soft":"{brand.status.positive.300}","stronger":"{brand.status.positive.600}","softer":"{brand.status.positive.200}","softest":"{brand.status.positive.100}"},"warning":{"strong":"{brand.status.warning.500}","base":"{brand.status.warning.400}","soft":"{brand.status.warning.300}","stronger":"{brand.status.warning.600}","softer":"{brand.status.warning.200}","softest":"{brand.status.warning.100}"},"critical":{"strong":"{brand.status.critical.500}","base":"{brand.status.critical.400}","soft":"{brand.status.critical.300}","stronger":"{brand.status.critical.600}","softer":"{brand.status.critical.200}","softest":"{brand.status.critical.100}"},"informative":{"strong":"{brand.status.informative.500}","base":"{brand.status.informative.400}","soft":"{brand.status.informative.300}","stronger":"{brand.status.informative.600}","softer":"{brand.status.informative.200}","softest":"{brand.status.informative.100}"}},"shared":{"button":{"ghost":{"icon":{"hover":"{color.role.background.accent.base}","active":"{color.role.background.accent.strong}"},"text":{"pressed":"{color.role.background.accent.strong}"}}},"iconButton":{"ghost":{"icon":{"hover":"{color.role.background.accent.base}","pressed":"{color.role.background.accent.strong}"}}}},"coreui":{"homeInput":{"border":{"default":"{color.role.border.6}","hover":"{color.role.border.6}"}},"storeInput":{"border":{"default":"{color.role.border.4}","hover":"{color.role.border.4}"}}},"role":{"border":{"stronger":"{color.role.foreground.soft}","strong":"{color.role.foreground.softer}"}},"enterprise":{"contextMenuItem":{"default":{"hint":{"default":"{color.role.foreground.soft}","hover":"{color.role.foreground.soft}","active":"{color.role.foreground.soft}","focus":"{color.role.foreground.soft}"}}},"view":{"background":"{color.role.background.3}"},"topChrome":{"background":"{color.role.background.base}"},"logo":{"background":"{brand.accent.dark}","foreground":"{brand.accent.light}"},"topTab":{"background":{"default":"{color.role.background.base}","hover":"{color.role.background.3}","selected":"{color.role.background.3}","dragging":"{color.role.background.3}"}},"viewTab":{"background":{"default":"{color.role.background.3}","hover":"{color.role.background.5}","active":"{color.role.background.5}","selected":"{color.role.background.5}","dragging":"{color.role.background.5}"}},"searchBar":{"background":{"default":"{color.role.background.3}","hover":"{color.role.background.4}","active":"{color.role.background.3}","focus":"{color.role.background.3}"}}}}}'),JSON.parse('{"colorPrimitives":{"green":{"base":"rgba(1, 126, 86, 1)"},"blue":{"base":"rgba(0, 113, 184, 1)"},"indigo":{"base":"rgba(83, 61, 255, 1)"},"pink":{"base":"rgba(215, 15, 167, 1)"},"orange":{"base":"rgba(208, 74, 1, 1)"},"teal":{"base":"rgba(22, 131, 131, 1)"},"red":{"base":"rgba(206, 8, 10, 1)"},"yellow":{"base":"rgba(155, 111, 3, 1)"},"gray":{"base":"rgba(104, 109, 110, 1)"}},"brand":{"accent":{"100":{"_inputs":["{brand.accent.light}",{"color":"{brand.base.light}","alpha":0.6}],"_transforms":[{"type":"lighten","amount":0.2},{"type":"saturate","amount":0.1}]},"200":{"_inputs":["{brand.accent.light}",{"color":"{brand.base.light}","alpha":0.5}],"_transforms":[{"type":"lighten","amount":0.2},{"type":"saturate","amount":0.1}]},"300":{"_inputs":["{brand.accent.light}",{"color":"{brand.base.light}","alpha":0.6}],"_transforms":[{"type":"darken","amount":0.1},{"type":"saturate","amount":0.1}]},"400":"{brand.accent.light}","500":{"_inputs":["{brand.accent.light}",{"color":"{brand.base.dark}","alpha":0.4}]},"600":{"_inputs":["{brand.accent.light}",{"color":"{brand.base.dark}","alpha":0.6}]}},"status":{"positive":{"100":{"_inputs":["{brand.status.positive.400}",{"color":"{brand.base.light}","alpha":0.9}]},"200":{"_inputs":["{brand.status.positive.400}",{"color":"{brand.base.light}","alpha":0.8}]},"300":{"_inputs":["{brand.status.positive.400}",{"color":"{brand.base.light}","alpha":0.7}]},"400":"{colorPrimitives.green.500}","500":{"_inputs":["{brand.status.positive.400}",{"color":"{brand.base.dark}","alpha":0.4}]},"600":{"_inputs":["{brand.status.positive.400}",{"color":"{brand.base.dark}","alpha":0.6}]}},"warning":{"100":{"_inputs":["{brand.status.warning.400}",{"color":"{brand.base.light}","alpha":0.9}]},"200":{"_inputs":["{brand.status.warning.400}",{"color":"{brand.base.light}","alpha":0.8}]},"300":{"_inputs":["{brand.status.warning.400}",{"color":"{brand.base.light}","alpha":0.7}]},"400":"{colorPrimitives.yellow.500}","500":{"_inputs":["{brand.status.warning.400}",{"color":"{brand.base.dark}","alpha":0.4}]},"600":{"_inputs":["{brand.status.warning.400}",{"color":"{brand.base.dark}","alpha":0.6}]}},"critical":{"100":{"_inputs":["{brand.status.critical.400}",{"color":"{brand.base.light}","alpha":0.9}]},"200":{"_inputs":["{brand.status.critical.400}",{"color":"{brand.base.light}","alpha":0.8}]},"300":{"_inputs":["{brand.status.critical.400}",{"color":"{brand.base.light}","alpha":0.7}]},"400":"{colorPrimitives.red.500}","500":{"_inputs":["{brand.status.critical.400}",{"color":"{brand.base.dark}","alpha":0.4}]},"600":{"_inputs":["{brand.status.critical.400}",{"color":"{brand.base.dark}","alpha":0.6}]}},"informative":{"100":{"_inputs":["{brand.status.informative.400}",{"color":"{brand.base.light}","alpha":0.9}]},"200":{"_inputs":["{brand.status.informative.400}",{"color":"{brand.base.light}","alpha":0.8}]},"300":{"_inputs":["{brand.status.informative.400}",{"color":"{brand.base.light}","alpha":0.7}]},"400":"{colorPrimitives.blue.500}","500":{"_inputs":["{brand.status.informative.400}",{"color":"{brand.base.dark}","alpha":0.4}]},"600":{"_inputs":["{brand.status.informative.400}",{"color":"{brand.base.dark}","alpha":0.6}]}}}},"color":{"generated":{"accent":{"stronger":"{brand.accent.600}","strong":"{brand.accent.500}","base":"{brand.accent.400}","soft":"{brand.accent.300}","softer":"{brand.accent.200}","softest":"{brand.accent.100}"},"background":{"base":"{brand.base.light}"},"foreground":{"base":"{brand.base.dark}"},"identifier":{"blue":"{colorPrimitives.blue.500}","pink":"{colorPrimitives.pink.500}","indigo":"{colorPrimitives.indigo.500}","teal":"{colorPrimitives.teal.500}","green":"{colorPrimitives.green.500}","orange":"{colorPrimitives.orange.500}","red":"{colorPrimitives.red.500}","yellow":"{colorPrimitives.yellow.400}","gray":"{colorPrimitives.gray.500}"},"positive":{"strong":"{brand.status.positive.500}","base":"{brand.status.positive.400}","soft":"{brand.status.positive.300}","stronger":"{brand.status.positive.600}","softer":"{brand.status.positive.200}","softest":"{brand.status.positive.100}"},"warning":{"strong":"{brand.status.warning.500}","base":"{brand.status.warning.400}","soft":"{brand.status.warning.300}","stronger":"{brand.status.warning.600}","softer":"{brand.status.warning.200}","softest":"{brand.status.warning.100}"},"critical":{"strong":"{brand.status.critical.500}","base":"{brand.status.critical.400}","soft":"{brand.status.critical.300}","stronger":"{brand.status.critical.600}","softer":"{brand.status.critical.200}","softest":"{brand.status.critical.100}"},"informative":{"strong":"{brand.status.informative.500}","base":"{brand.status.informative.400}","soft":"{brand.status.informative.300}","stronger":"{brand.status.informative.600}","softer":"{brand.status.informative.200}","softest":"{brand.status.informative.100}"}},"shared":{"button":{"ghost":{"icon":{"hover":"{color.role.background.accent.strong}","active":"{color.role.background.accent.stronger}"},"text":{"pressed":"{color.role.background.accent.stronger}"}}},"iconButton":{"ghost":{"icon":{"hover":"{color.role.background.accent.strong}","pressed":"{color.role.background.accent.stronger}"}}}},"coreui":{"homeInput":{"border":{"default":"{color.role.border.4}","hover":"{color.role.border.4}"}},"storeInput":{"border":{"default":"{color.role.border.6}","hover":"{color.role.border.6}"}}},"role":{"border":{"stronger":"{color.generated.foreground.soft}","strong":"{color.generated.foreground.softer}"}},"enterprise":{"contextMenuItem":{"default":{"hint":{"default":"{color.role.foreground.softer}","hover":"{color.role.foreground.softer}","active":"{color.role.foreground.softer}","focus":"{color.role.foreground.softer}"}}},"view":{"background":"{color.role.background.1}"},"topChrome":{"background":"{color.role.background.2}"},"topTab":{"background":{"default":"{color.role.background.2}","hover":"{color.role.background.1}","selected":"{color.role.background.1}","dragging":"{color.role.background.1}"}},"logo":{"background":"{brand.accent.light}","foreground":"{brand.accent.dark}"},"viewTab":{"background":{"default":"{color.role.background.1}","hover":"{color.role.background.3}","active":"{color.role.background.3}","selected":"{color.role.background.3}","dragging":"{color.role.background.3}"}},"searchBar":{"background":{"default":"{color.role.background.base}","hover":"{color.role.background.3}","active":"{color.role.background.base}","focus":"{color.role.background.base}"}}}}}');var m=b(2543);b.n(m);const y=(e,t)=>{if("number"==typeof e)return 3===t?{mode:"rgb",r:(e>>8&15|e>>4&240)/255,g:(e>>4&15|240&e)/255,b:(15&e|e<<4&240)/255}:4===t?{mode:"rgb",r:(e>>12&15|e>>8&240)/255,g:(e>>8&15|e>>4&240)/255,b:(e>>4&15|240&e)/255,alpha:(15&e|e<<4&240)/255}:6===t?{mode:"rgb",r:(e>>16&255)/255,g:(e>>8&255)/255,b:(255&e)/255}:8===t?{mode:"rgb",r:(e>>24&255)/255,g:(e>>16&255)/255,b:(e>>8&255)/255,alpha:(255&e)/255}:void 0},w={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074},x=/^#?([0-9a-f]{8}|[0-9a-f]{6}|[0-9a-f]{4}|[0-9a-f]{3})$/i,_="([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)",k=`${_}%`,C=`(?:${_}%|${_})`,O=`(?:${_}(deg|grad|rad|turn)|${_})`,P="\\s*,\\s*",j=(new RegExp(`^(?:${_}%|${_}|none)$`),new RegExp(`^rgba?\\(\\s*${_}${P}${_}${P}${_}\\s*(?:,\\s*${C}\\s*)?\\)$`)),S=new RegExp(`^rgba?\\(\\s*${k}${P}${k}${P}${k}\\s*(?:,\\s*${C}\\s*)?\\)$`),M=(e="rgb")=>t=>void 0!==(t=((e,t)=>void 0===e?void 0:"object"!=typeof e?re(e):void 0!==e.mode?e:t?{...e,mode:t}:void 0)(t,e))?t.mode===e?t:I[t.mode][e]?I[t.mode][e](t):"rgb"===e?I[t.mode].rgb(t):I.rgb[e](I[t.mode].rgb(t)):void 0,I={},$={},B=[],D={},T=e=>e,E=e=>(I[e.mode]={...I[e.mode],...e.toMode},Object.keys(e.fromMode||{}).forEach(t=>{I[t]||(I[t]={}),I[t][e.mode]=e.fromMode[t]}),e.ranges||(e.ranges={}),e.difference||(e.difference={}),e.channels.forEach(t=>{if(void 0===e.ranges[t]&&(e.ranges[t]=[0,1]),!e.interpolate[t])throw new Error(`Missing interpolator for: ${t}`);"function"==typeof e.interpolate[t]&&(e.interpolate[t]={use:e.interpolate[t]}),e.interpolate[t].fixup||(e.interpolate[t].fixup=T)}),$[e.mode]=e,(e.parse||[]).forEach(t=>{F(t,e.mode)}),M(e.mode)),A=e=>$[e],F=(e,t)=>{if("string"==typeof e){if(!t)throw new Error("'mode' required when 'parser' is a string");D[e]=t}else"function"==typeof e&&B.indexOf(e)<0&&B.push(e)},R=/[^\x00-\x7F]|[a-zA-Z_]/,z=/[^\x00-\x7F]|[-\w]/,L="function",W="ident",N="number",H="percentage",V="none",G="hue",U="alpha";let q=0;function Z(e){let t=e[q],r=e[q+1];return"-"===t||"+"===t?/\d/.test(r)||"."===r&&/\d/.test(e[q+2]):/\d/.test("."===t?r:t)}function K(e){if(q>=e.length)return!1;let t=e[q];if(R.test(t))return!0;if("-"===t){if(e.length-q<2)return!1;let t=e[q+1];return!("-"!==t&&!R.test(t))}return!1}const X={deg:1,rad:180/Math.PI,grad:.9,turn:360};function Q(e){let t="";if("-"!==e[q]&&"+"!==e[q]||(t+=e[q++]),t+=Y(e),"."===e[q]&&/\d/.test(e[q+1])&&(t+=e[q++]+Y(e)),"e"!==e[q]&&"E"!==e[q]||("-"!==e[q+1]&&"+"!==e[q+1]||!/\d/.test(e[q+2])?/\d/.test(e[q+1])&&(t+=e[q++]+Y(e)):t+=e[q++]+e[q++]+Y(e)),K(e)){let r=J(e);return"deg"===r||"rad"===r||"turn"===r||"grad"===r?{type:G,value:t*X[r]}:void 0}return"%"===e[q]?(q++,{type:H,value:+t}):{type:N,value:+t}}function Y(e){let t="";for(;/\d/.test(e[q]);)t+=e[q++];return t}function J(e){let t="";for(;q<e.length&&z.test(e[q]);)t+=e[q++];return t}function ee(e){let t=J(e);return"("===e[q]?(q++,{type:L,value:t}):"none"===t?{type:V,value:void 0}:{type:W,value:t}}function te(e,t){const r=[];let n;for(;e._i<e.length;)if(n=e[e._i++],n.type===V||n.type===N||n.type===U||n.type===H||t&&n.type===G)r.push(n);else{if(")"!==n.type)return;if(e._i<e.length)return}if(!(r.length<3||r.length>4)){if(4===r.length){if(r[3].type!==U)return;r[3]=r[3].value}return 3===r.length&&r.push({type:V,value:void 0}),r.every(e=>e.type!==U)?r:void 0}}const re=e=>{if("string"!=typeof e)return;const t=function(e=""){let t,r=e.trim(),n=[];for(q=0;q<r.length;)if(t=r[q++],"\n"!==t&&"\t"!==t&&" "!==t){if(","===t)return;if(")"!==t){if("+"===t){if(q--,Z(r)){n.push(Q(r));continue}return}if("-"===t){if(q--,Z(r)){n.push(Q(r));continue}if(K(r)){n.push({type:W,value:J(r)});continue}return}if("."===t){if(q--,Z(r)){n.push(Q(r));continue}return}if("/"===t){for(;q<r.length&&("\n"===r[q]||"\t"===r[q]||" "===r[q]);)q++;let e;if(Z(r)&&(e=Q(r),e.type!==G)){n.push({type:U,value:e});continue}if(K(r)&&"none"===J(r)){n.push({type:U,value:{type:V,value:void 0}});continue}return}if(/\d/.test(t))q--,n.push(Q(r));else{if(!R.test(t))return;q--,n.push(ee(r))}}else n.push({type:")"})}else for(;q<r.length&&("\n"===r[q]||"\t"===r[q]||" "===r[q]);)q++;return n}(e),r=t?function(e){e._i=0;let t=e[e._i++];if(!t||t.type!==L)return;let r=te(e,!0);return r?(r.unshift(t.value),r):void 0}(t):void 0;let n,o=0,a=B.length;for(;o<a;)if(void 0!==(n=B[o++](e,r)))return n;return t?function(e){e._i=0;let t=e[e._i++];if(!t||t.type!==L||"color"!==t.value)return;if(t=e[e._i++],t.type!==W)return;const r=D[t.value];if(!r)return;const n={mode:r},o=te(e,!1);if(!o)return;const a=A(r).channels;for(let e,t,r=0;r<a.length;r++)e=o[r],t=a[r],e.type!==V&&(n[t]=e.type===N?e.value:e.value/100,"alpha"===t&&(n[t]=Math.max(0,Math.min(1,n[t]))));return n}(t):void 0},ne=(oe=(e,t,r)=>e+r*(t-e),e=>{let t=(e=>{let t=[];for(let r=0;r<e.length-1;r++){let n=e[r],o=e[r+1];void 0===n&&void 0===o?t.push(void 0):void 0!==n&&void 0!==o?t.push([n,o]):t.push(void 0!==n?[n,n]:[o,o])}return t})(e);return e=>{let r=e*t.length,n=e>=1?t.length-1:Math.max(Math.floor(r),0),o=t[n];return void 0===o?void 0:oe(o[0],o[1],r-n)}});var oe;const ae=e=>{let t=!1,r=e.map(e=>void 0!==e?(t=!0,e):1);return t?r:e},ie={mode:"rgb",channels:["r","g","b","alpha"],parse:[function(e,t){if(!t||"rgb"!==t[0]&&"rgba"!==t[0])return;const r={mode:"rgb"},[,n,o,a,i]=t;return n.type!==G&&o.type!==G&&a.type!==G?(n.type!==V&&(r.r=n.type===N?n.value/255:n.value/100),o.type!==V&&(r.g=o.type===N?o.value/255:o.value/100),a.type!==V&&(r.b=a.type===N?a.value/255:a.value/100),i.type!==V&&(r.alpha=Math.min(1,Math.max(0,i.type===N?i.value:i.value/100))),r):void 0},e=>{let t;return(t=e.match(x))?y(parseInt(t[1],16),t[1].length):void 0},e=>{let t,r={mode:"rgb"};if(t=e.match(j))void 0!==t[1]&&(r.r=t[1]/255),void 0!==t[2]&&(r.g=t[2]/255),void 0!==t[3]&&(r.b=t[3]/255);else{if(!(t=e.match(S)))return;void 0!==t[1]&&(r.r=t[1]/100),void 0!==t[2]&&(r.g=t[2]/100),void 0!==t[3]&&(r.b=t[3]/100)}return void 0!==t[4]?r.alpha=Math.max(0,Math.min(1,t[4]/100)):void 0!==t[5]&&(r.alpha=Math.max(0,Math.min(1,+t[5]))),r},e=>y(w[e.toLowerCase()],6),e=>"transparent"===e?{mode:"rgb",r:0,g:0,b:0,alpha:0}:void 0,"srgb"],serialize:"srgb",interpolate:{r:ne,g:ne,b:ne,alpha:{use:ne,fixup:ae}},gamut:!0,white:{r:1,g:1,b:1},black:{r:0,g:0,b:0}},le=(e=0)=>Math.pow(Math.abs(e),563/256)*Math.sign(e),ce=e=>{let t=le(e.r),r=le(e.g),n=le(e.b),o={mode:"xyz65",x:.5766690429101305*t+.1855582379065463*r+.1882286462349947*n,y:.297344975250536*t+.6273635662554661*r+.0752914584939979*n,z:.0270313613864123*t+.0706888525358272*r+.9913375368376386*n};return void 0!==e.alpha&&(o.alpha=e.alpha),o},se=e=>Math.pow(Math.abs(e),256/563)*Math.sign(e),ue=({x:e,y:t,z:r,alpha:n})=>{void 0===e&&(e=0),void 0===t&&(t=0),void 0===r&&(r=0);let o={mode:"a98",r:se(2.0415879038107465*e-.5650069742788597*t-.3447313507783297*r),g:se(-.9692436362808798*e+1.8759675015077206*t+.0415550574071756*r),b:se(.0134442806320312*e-.1183623922310184*t+1.0151749943912058*r)};return void 0!==n&&(o.alpha=n),o},de=(e=0)=>{const t=Math.abs(e);return t<=.04045?e/12.92:(Math.sign(e)||1)*Math.pow((t+.055)/1.055,2.4)},fe=({r:e,g:t,b:r,alpha:n})=>{let o={mode:"lrgb",r:de(e),g:de(t),b:de(r)};return void 0!==n&&(o.alpha=n),o},pe=e=>{let{r:t,g:r,b:n,alpha:o}=fe(e),a={mode:"xyz65",x:.4123907992659593*t+.357584339383878*r+.1804807884018343*n,y:.2126390058715102*t+.715168678767756*r+.0721923153607337*n,z:.0193308187155918*t+.119194779794626*r+.9505321522496607*n};return void 0!==o&&(a.alpha=o),a},he=(e=0)=>{const t=Math.abs(e);return t>.0031308?(Math.sign(e)||1)*(1.055*Math.pow(t,1/2.4)-.055):12.92*e},ge=({r:e,g:t,b:r,alpha:n},o="rgb")=>{let a={mode:o,r:he(e),g:he(t),b:he(r)};return void 0!==n&&(a.alpha=n),a},be=({x:e,y:t,z:r,alpha:n})=>{void 0===e&&(e=0),void 0===t&&(t=0),void 0===r&&(r=0);let o=ge({r:3.2409699419045226*e-1.537383177570094*t-.4986107602930034*r,g:-.9692436362808796*e+1.8759675015077204*t+.0415550574071756*r,b:.0556300796969936*e-.2039769588889765*t+1.0569715142428784*r});return void 0!==n&&(o.alpha=n),o},ve={...ie,mode:"a98",parse:["a98-rgb"],serialize:"a98-rgb",fromMode:{rgb:e=>ue(pe(e)),xyz65:ue},toMode:{rgb:e=>be(ce(e)),xyz65:ce}},me=e=>(e%=360)<0?e+360:e,ye=e=>(e=>e.map((t,r,n)=>{if(void 0===t)return t;let o=me(t);return 0===r||void 0===e[r-1]?o:(e=>Math.abs(e)<=180?e:e-360*Math.sign(e))(o-me(n[r-1]))}).reduce((e,t)=>e.length&&void 0!==t&&void 0!==e[e.length-1]?(e.push(t+e[e.length-1]),e):(e.push(t),e),[]))(e),we=[-.14861,1.78277,-.29227,-.90649,1.97294,0],xe=Math.PI/180,_e=180/Math.PI;let ke=we[3]*we[4],Ce=we[1]*we[4],Oe=we[1]*we[2]-we[0]*we[3];const Pe=(e,t)=>{if(void 0===e.h||void 0===t.h||!e.s||!t.s)return 0;let r=me(e.h),n=me(t.h),o=Math.sin((n-r+360)/2*Math.PI/180);return 2*Math.sqrt(e.s*t.s)*o},je=(e,t)=>{if(void 0===e.h||void 0===t.h||!e.c||!t.c)return 0;let r=me(e.h),n=me(t.h),o=Math.sin((n-r+360)/2*Math.PI/180);return 2*Math.sqrt(e.c*t.c)*o},Se=e=>{let t=e.reduce((e,t)=>{if(void 0!==t){let r=t*Math.PI/180;e.sin+=Math.sin(r),e.cos+=Math.cos(r)}return e},{sin:0,cos:0}),r=180*Math.atan2(t.sin,t.cos)/Math.PI;return r<0?360+r:r},Me={mode:"cubehelix",channels:["h","s","l","alpha"],parse:["--cubehelix"],serialize:"--cubehelix",ranges:{h:[0,360],s:[0,4.614],l:[0,1]},fromMode:{rgb:({r:e,g:t,b:r,alpha:n})=>{void 0===e&&(e=0),void 0===t&&(t=0),void 0===r&&(r=0);let o=(Oe*r+e*ke-t*Ce)/(Oe+ke-Ce),a=r-o,i=(we[4]*(t-o)-we[2]*a)/we[3],l={mode:"cubehelix",l:o,s:0===o||1===o?void 0:Math.sqrt(a*a+i*i)/(we[4]*o*(1-o))};return l.s&&(l.h=Math.atan2(i,a)*_e-120),void 0!==n&&(l.alpha=n),l}},toMode:{rgb:({h:e,s:t,l:r,alpha:n})=>{let o={mode:"rgb"};e=(void 0===e?0:e+120)*xe,void 0===r&&(r=0);let a=void 0===t?0:t*r*(1-r),i=Math.cos(e),l=Math.sin(e);return o.r=r+a*(we[0]*i+we[1]*l),o.g=r+a*(we[2]*i+we[3]*l),o.b=r+a*(we[4]*i+we[5]*l),void 0!==n&&(o.alpha=n),o}},interpolate:{h:{use:ne,fixup:ye},s:ne,l:ne,alpha:{use:ne,fixup:ae}},difference:{h:Pe},average:{h:Se}},Ie=({l:e,a:t,b:r,alpha:n},o="lch")=>{void 0===t&&(t=0),void 0===r&&(r=0);let a=Math.sqrt(t*t+r*r),i={mode:o,l:e,c:a};return a&&(i.h=me(180*Math.atan2(r,t)/Math.PI)),void 0!==n&&(i.alpha=n),i},$e=({l:e,c:t,h:r,alpha:n},o="lab")=>{void 0===r&&(r=0);let a={mode:o,l:e,a:t?t*Math.cos(r/180*Math.PI):0,b:t?t*Math.sin(r/180*Math.PI):0};return void 0!==n&&(a.alpha=n),a},Be=Math.pow(29,3)/Math.pow(3,3),De=Math.pow(6,3)/Math.pow(29,3),Te=.3457/.3585,Ee=.2958/.3585,Ae=.3127/.329,Fe=.3583/.329;Math.pow(29,3),Math.pow(3,3),Math.pow(6,3),Math.pow(29,3);let Re=e=>Math.pow(e,3)>De?Math.pow(e,3):(116*e-16)/Be;const ze=({l:e,a:t,b:r,alpha:n})=>{void 0===e&&(e=0),void 0===t&&(t=0),void 0===r&&(r=0);let o=(e+16)/116,a=o-r/200,i={mode:"xyz65",x:Re(t/500+o)*Ae,y:1*Re(o),z:Re(a)*Fe};return void 0!==n&&(i.alpha=n),i},Le=e=>be(ze(e)),We=e=>e>De?Math.cbrt(e):(Be*e+16)/116,Ne=({x:e,y:t,z:r,alpha:n})=>{void 0===e&&(e=0),void 0===t&&(t=0),void 0===r&&(r=0);let o=We(e/Ae),a=We(t/1),i={mode:"lab65",l:116*a-16,a:500*(o-a),b:200*(a-We(r/Fe))};return void 0!==n&&(i.alpha=n),i},He=e=>{let t=Ne(pe(e));return e.r===e.b&&e.b===e.g&&(t.a=t.b=0),t},Ve=26/180*Math.PI,Ge=Math.cos(Ve),Ue=Math.sin(Ve),qe=100/Math.log(1.39),Ze=({l:e,c:t,h:r,alpha:n})=>{void 0===e&&(e=0),void 0===t&&(t=0),void 0===r&&(r=0);let o={mode:"lab65",l:(Math.exp(1*e/qe)-1)/.0039},a=(Math.exp(.0435*t*1*1)-1)/.075,i=a*Math.cos(r/180*Math.PI-Ve),l=a*Math.sin(r/180*Math.PI-Ve);return o.a=i*Ge-l/.83*Ue,o.b=i*Ue+l/.83*Ge,void 0!==n&&(o.alpha=n),o},Ke=({l:e,a:t,b:r,alpha:n})=>{void 0===e&&(e=0),void 0===t&&(t=0),void 0===r&&(r=0);let o=t*Ge+r*Ue,a=.83*(r*Ge-t*Ue),i=Math.sqrt(o*o+a*a),l={mode:"dlch",l:qe/1*Math.log(1+.0039*e),c:Math.log(1+.075*i)/.0435};return l.c&&(l.h=me((Math.atan2(a,o)+Ve)/Math.PI*180)),void 0!==n&&(l.alpha=n),l},Xe=e=>Ze(Ie(e,"dlch")),Qe=e=>$e(Ke(e),"dlab"),Ye={mode:"dlab",parse:["--din99o-lab"],serialize:"--din99o-lab",toMode:{lab65:Xe,rgb:e=>Le(Xe(e))},fromMode:{lab65:Qe,rgb:e=>Qe(He(e))},channels:["l","a","b","alpha"],ranges:{l:[0,100],a:[-40.09,45.501],b:[-40.469,44.344]},interpolate:{l:ne,a:ne,b:ne,alpha:{use:ne,fixup:ae}}},Je=Ye,et={mode:"dlch",parse:["--din99o-lch"],serialize:"--din99o-lch",toMode:{lab65:Ze,dlab:e=>$e(e,"dlab"),rgb:e=>Le(Ze(e))},fromMode:{lab65:Ke,dlab:e=>Ie(e,"dlch"),rgb:e=>Ke(He(e))},channels:["l","c","h","alpha"],ranges:{l:[0,100],c:[0,51.484],h:[0,360]},interpolate:{l:ne,c:ne,h:{use:ne,fixup:ye},alpha:{use:ne,fixup:ae}},difference:{h:je},average:{h:Se}},tt=et,rt={mode:"hsi",toMode:{rgb:function({h:e,s:t,i:r,alpha:n}){e=me(void 0!==e?e:0),void 0===t&&(t=0),void 0===r&&(r=0);let o,a=Math.abs(e/60%2-1);switch(Math.floor(e/60)){case 0:o={r:r*(1+t*(3/(2-a)-1)),g:r*(1+t*(3*(1-a)/(2-a)-1)),b:r*(1-t)};break;case 1:o={r:r*(1+t*(3*(1-a)/(2-a)-1)),g:r*(1+t*(3/(2-a)-1)),b:r*(1-t)};break;case 2:o={r:r*(1-t),g:r*(1+t*(3/(2-a)-1)),b:r*(1+t*(3*(1-a)/(2-a)-1))};break;case 3:o={r:r*(1-t),g:r*(1+t*(3*(1-a)/(2-a)-1)),b:r*(1+t*(3/(2-a)-1))};break;case 4:o={r:r*(1+t*(3*(1-a)/(2-a)-1)),g:r*(1-t),b:r*(1+t*(3/(2-a)-1))};break;case 5:o={r:r*(1+t*(3/(2-a)-1)),g:r*(1-t),b:r*(1+t*(3*(1-a)/(2-a)-1))};break;default:o={r:r*(1-t),g:r*(1-t),b:r*(1-t)}}return o.mode="rgb",void 0!==n&&(o.alpha=n),o}},parse:["--hsi"],serialize:"--hsi",fromMode:{rgb:function({r:e,g:t,b:r,alpha:n}){void 0===e&&(e=0),void 0===t&&(t=0),void 0===r&&(r=0);let o=Math.max(e,t,r),a=Math.min(e,t,r),i={mode:"hsi",s:e+t+r===0?0:1-3*a/(e+t+r),i:(e+t+r)/3};return o-a!==0&&(i.h=60*(o===e?(t-r)/(o-a)+6*(t<r):o===t?(r-e)/(o-a)+2:(e-t)/(o-a)+4)),void 0!==n&&(i.alpha=n),i}},channels:["h","s","i","alpha"],ranges:{h:[0,360]},gamut:"rgb",interpolate:{h:{use:ne,fixup:ye},s:ne,i:ne,alpha:{use:ne,fixup:ae}},difference:{h:Pe},average:{h:Se}},nt=rt,ot=new RegExp(`^hsla?\\(\\s*${O}${P}${k}${P}${k}\\s*(?:,\\s*${C}\\s*)?\\)$`),at={mode:"hsl",toMode:{rgb:function({h:e,s:t,l:r,alpha:n}){e=me(void 0!==e?e:0),void 0===t&&(t=0),void 0===r&&(r=0);let o,a=r+t*(r<.5?r:1-r),i=a-2*(a-r)*Math.abs(e/60%2-1);switch(Math.floor(e/60)){case 0:o={r:a,g:i,b:2*r-a};break;case 1:o={r:i,g:a,b:2*r-a};break;case 2:o={r:2*r-a,g:a,b:i};break;case 3:o={r:2*r-a,g:i,b:a};break;case 4:o={r:i,g:2*r-a,b:a};break;case 5:o={r:a,g:2*r-a,b:i};break;default:o={r:2*r-a,g:2*r-a,b:2*r-a}}return o.mode="rgb",void 0!==n&&(o.alpha=n),o}},fromMode:{rgb:function({r:e,g:t,b:r,alpha:n}){void 0===e&&(e=0),void 0===t&&(t=0),void 0===r&&(r=0);let o=Math.max(e,t,r),a=Math.min(e,t,r),i={mode:"hsl",s:o===a?0:(o-a)/(1-Math.abs(o+a-1)),l:.5*(o+a)};return o-a!==0&&(i.h=60*(o===e?(t-r)/(o-a)+6*(t<r):o===t?(r-e)/(o-a)+2:(e-t)/(o-a)+4)),void 0!==n&&(i.alpha=n),i}},channels:["h","s","l","alpha"],ranges:{h:[0,360]},gamut:"rgb",parse:[function(e,t){if(!t||"hsl"!==t[0]&&"hsla"!==t[0])return;const r={mode:"hsl"},[,n,o,a,i]=t;if(n.type!==V){if(n.type===H)return;r.h=n.value}if(o.type!==V){if(o.type===G)return;r.s=o.value/100}if(a.type!==V){if(a.type===G)return;r.l=a.value/100}return i.type!==V&&(r.alpha=Math.min(1,Math.max(0,i.type===N?i.value:i.value/100))),r},e=>{let t=e.match(ot);if(!t)return;let r={mode:"hsl"};return void 0!==t[3]?r.h=+t[3]:void 0!==t[1]&&void 0!==t[2]&&(r.h=((e,t)=>{switch(t){case"deg":return+e;case"rad":return e/Math.PI*180;case"grad":return e/10*9;case"turn":return 360*e}})(t[1],t[2])),void 0!==t[4]&&(r.s=Math.min(Math.max(0,t[4]/100),1)),void 0!==t[5]&&(r.l=Math.min(Math.max(0,t[5]/100),1)),void 0!==t[6]?r.alpha=Math.max(0,Math.min(1,t[6]/100)):void 0!==t[7]&&(r.alpha=Math.max(0,Math.min(1,+t[7]))),r}],serialize:e=>`hsl(${void 0!==e.h?e.h:"none"} ${void 0!==e.s?100*e.s+"%":"none"} ${void 0!==e.l?100*e.l+"%":"none"}${e.alpha<1?` / ${e.alpha}`:""})`,interpolate:{h:{use:ne,fixup:ye},s:ne,l:ne,alpha:{use:ne,fixup:ae}},difference:{h:Pe},average:{h:Se}},it=at;function lt({h:e,s:t,v:r,alpha:n}){e=me(void 0!==e?e:0),void 0===t&&(t=0),void 0===r&&(r=0);let o,a=Math.abs(e/60%2-1);switch(Math.floor(e/60)){case 0:o={r,g:r*(1-t*a),b:r*(1-t)};break;case 1:o={r:r*(1-t*a),g:r,b:r*(1-t)};break;case 2:o={r:r*(1-t),g:r,b:r*(1-t*a)};break;case 3:o={r:r*(1-t),g:r*(1-t*a),b:r};break;case 4:o={r:r*(1-t*a),g:r*(1-t),b:r};break;case 5:o={r,g:r*(1-t),b:r*(1-t*a)};break;default:o={r:r*(1-t),g:r*(1-t),b:r*(1-t)}}return o.mode="rgb",void 0!==n&&(o.alpha=n),o}function ct({r:e,g:t,b:r,alpha:n}){void 0===e&&(e=0),void 0===t&&(t=0),void 0===r&&(r=0);let o=Math.max(e,t,r),a=Math.min(e,t,r),i={mode:"hsv",s:0===o?0:1-a/o,v:o};return o-a!==0&&(i.h=60*(o===e?(t-r)/(o-a)+6*(t<r):o===t?(r-e)/(o-a)+2:(e-t)/(o-a)+4)),void 0!==n&&(i.alpha=n),i}const st={mode:"hsv",toMode:{rgb:lt},parse:["--hsv"],serialize:"--hsv",fromMode:{rgb:ct},channels:["h","s","v","alpha"],ranges:{h:[0,360]},gamut:"rgb",interpolate:{h:{use:ne,fixup:ye},s:ne,v:ne,alpha:{use:ne,fixup:ae}},difference:{h:Pe},average:{h:Se}},ut={mode:"hwb",toMode:{rgb:function({h:e,w:t,b:r,alpha:n}){if(void 0===t&&(t=0),void 0===r&&(r=0),t+r>1){let e=t+r;t/=e,r/=e}return lt({h:e,s:1===r?1:1-t/(1-r),v:1-r,alpha:n})}},fromMode:{rgb:function(e){let t=ct(e);if(void 0===t)return;let r=void 0!==t.s?t.s:0,n=void 0!==t.v?t.v:0,o={mode:"hwb",w:(1-r)*n,b:1-n};return void 0!==t.h&&(o.h=t.h),void 0!==t.alpha&&(o.alpha=t.alpha),o}},channels:["h","w","b","alpha"],ranges:{h:[0,360]},gamut:"rgb",parse:[function(e,t){if(!t||"hwb"!==t[0])return;const r={mode:"hwb"},[,n,o,a,i]=t;if(n.type!==V){if(n.type===H)return;r.h=n.value}if(o.type!==V){if(o.type===G)return;r.w=o.value/100}if(a.type!==V){if(a.type===G)return;r.b=a.value/100}return i.type!==V&&(r.alpha=Math.min(1,Math.max(0,i.type===N?i.value:i.value/100))),r}],serialize:e=>`hwb(${void 0!==e.h?e.h:"none"} ${void 0!==e.w?100*e.w+"%":"none"} ${void 0!==e.b?100*e.b+"%":"none"}${e.alpha<1?` / ${e.alpha}`:""})`,interpolate:{h:{use:ne,fixup:ye},w:ne,b:ne,alpha:{use:ne,fixup:ae}},difference:{h:(e,t)=>{if(void 0===e.h||void 0===t.h)return 0;let r=me(e.h),n=me(t.h);return Math.abs(n-r)>180?r-(n-360*Math.sign(n-r)):n-r}},average:{h:Se}},dt=ut,ft=.1593017578125,pt=78.84375,ht=.8359375,gt=18.8515625,bt=18.6875;function vt(e){if(e<0)return 0;const t=Math.pow(e,1/pt);return 1e4*Math.pow(Math.max(0,t-ht)/(gt-bt*t),1/ft)}function mt(e){if(e<0)return 0;const t=Math.pow(e/1e4,ft);return Math.pow((ht+gt*t)/(1+bt*t),pt)}const yt=e=>Math.max(e/203,0),wt=({i:e,t,p:r,alpha:n})=>{void 0===e&&(e=0),void 0===t&&(t=0),void 0===r&&(r=0);const o=vt(e+.008609037037932761*t+.11102962500302593*r),a=vt(e-.00860903703793275*t-.11102962500302599*r),i=vt(e+.5600313357106791*t-.32062717498731885*r),l={mode:"xyz65",x:yt(2.070152218389422*o-1.3263473389671556*a+.2066510476294051*i),y:yt(.3647385209748074*o+.680566024947227*a-.0453045459220346*i),z:yt(-.049747207535812*o-.0492609666966138*a+1.1880659249923042*i)};return void 0!==n&&(l.alpha=n),l},xt=(e=0)=>Math.max(203*e,0),_t=({x:e,y:t,z:r,alpha:n})=>{const o=xt(e),a=xt(t),i=xt(r),l=mt(.3592832590121217*o+.6976051147779502*a-.0358915932320289*i),c=mt(-.1920808463704995*o+1.1004767970374323*a+.0753748658519118*i),s=mt(.0070797844607477*o+.0748396662186366*a+.8433265453898765*i),u={mode:"itp",i:.5*l+.5*c,t:1.61376953125*l-3.323486328125*c+1.709716796875*s,p:4.378173828125*l-4.24560546875*c-.132568359375*s};return void 0!==n&&(u.alpha=n),u},kt={mode:"itp",channels:["i","t","p","alpha"],parse:["--ictcp"],serialize:"--ictcp",toMode:{xyz65:wt,rgb:e=>be(wt(e))},fromMode:{xyz65:_t,rgb:e=>_t(pe(e))},ranges:{i:[0,.581],t:[-.369,.272],p:[-.164,.331]},interpolate:{i:ne,t:ne,p:ne,alpha:{use:ne,fixup:ae}}},Ct=e=>{if(e<0)return 0;let t=Math.pow(e/1e4,ft);return Math.pow((ht+gt*t)/(1+bt*t),134.03437499999998)},Ot=(e=0)=>Math.max(203*e,0),Pt=({x:e,y:t,z:r,alpha:n})=>{e=Ot(e),t=Ot(t);let o=1.15*e-.15*(r=Ot(r)),a=.66*t+.34*e,i=Ct(.41478972*o+.579999*a+.014648*r),l=Ct(-.20151*o+1.120649*a+.0531008*r),c=Ct(-.0166008*o+.2648*a+.6684799*r),s=(i+l)/2,u={mode:"jab",j:.44*s/(1-.56*s)-16295499532821565e-27,a:3.524*i-4.066708*l+.542708*c,b:.199076*i+1.096799*l-1.295875*c};return void 0!==n&&(u.alpha=n),u},jt=16295499532821565e-27,St=e=>{if(e<0)return 0;let t=Math.pow(e,.007460772656268216);return 1e4*Math.pow((ht-t)/(bt*t-gt),1/ft)},Mt=e=>e/203,It=({j:e,a:t,b:r,alpha:n})=>{void 0===e&&(e=0),void 0===t&&(t=0),void 0===r&&(r=0);let o=(e+jt)/(.44+.56*(e+jt)),a=St(o+.13860504*t+.058047316*r),i=St(o-.13860504*t-.058047316*r),l=St(o-.096019242*t-.8118919*r),c={mode:"xyz65",x:Mt(1.661373024652174*a-.914523081304348*i+.23136208173913045*l),y:Mt(-.3250758611844533*a+1.571847026732543*i-.21825383453227928*l),z:Mt(-.090982811*a-.31272829*i+1.5227666*l)};return void 0!==n&&(c.alpha=n),c},$t=e=>{let t=Pt(pe(e));return e.r===e.b&&e.b===e.g&&(t.a=t.b=0),t},Bt=e=>be(It(e)),Dt={mode:"jab",channels:["j","a","b","alpha"],parse:["--jzazbz"],serialize:"--jzazbz",fromMode:{rgb:$t,xyz65:Pt},toMode:{rgb:Bt,xyz65:It},ranges:{j:[0,.222],a:[-.109,.129],b:[-.185,.134]},interpolate:{j:ne,a:ne,b:ne,alpha:{use:ne,fixup:ae}}},Tt=({j:e,a:t,b:r,alpha:n})=>{void 0===t&&(t=0),void 0===r&&(r=0);let o=Math.sqrt(t*t+r*r),a={mode:"jch",j:e,c:o};return o&&(a.h=me(180*Math.atan2(r,t)/Math.PI)),void 0!==n&&(a.alpha=n),a},Et=({j:e,c:t,h:r,alpha:n})=>{void 0===r&&(r=0);let o={mode:"jab",j:e,a:t?t*Math.cos(r/180*Math.PI):0,b:t?t*Math.sin(r/180*Math.PI):0};return void 0!==n&&(o.alpha=n),o},At={mode:"jch",parse:["--jzczhz"],serialize:"--jzczhz",toMode:{jab:Et,rgb:e=>Bt(Et(e))},fromMode:{rgb:e=>Tt($t(e)),jab:Tt},channels:["j","c","h","alpha"],ranges:{j:[0,.221],c:[0,.19],h:[0,360]},interpolate:{h:{use:ne,fixup:ye},c:ne,j:ne,alpha:{use:ne,fixup:ae}},difference:{h:je},average:{h:Se}},Ft=At,Rt=Math.pow(29,3)/Math.pow(3,3),zt=Math.pow(6,3)/Math.pow(29,3);let Lt=e=>Math.pow(e,3)>zt?Math.pow(e,3):(116*e-16)/Rt;const Wt=({l:e,a:t,b:r,alpha:n})=>{void 0===e&&(e=0),void 0===t&&(t=0),void 0===r&&(r=0);let o=(e+16)/116,a=o-r/200,i={mode:"xyz50",x:Lt(t/500+o)*Te,y:1*Lt(o),z:Lt(a)*Ee};return void 0!==n&&(i.alpha=n),i},Nt=({x:e,y:t,z:r,alpha:n})=>{void 0===e&&(e=0),void 0===t&&(t=0),void 0===r&&(r=0);let o=ge({r:3.1341359569958707*e-1.6173863321612538*t-.4906619460083532*r,g:-.978795502912089*e+1.916254567259524*t+.03344273116131949*r,b:.07195537988411677*e-.2289768264158322*t+1.405386058324125*r});return void 0!==n&&(o.alpha=n),o},Ht=e=>Nt(Wt(e)),Vt=e=>{let{r:t,g:r,b:n,alpha:o}=fe(e),a={mode:"xyz50",x:.436065742824811*t+.3851514688337912*r+.14307845442264197*n,y:.22249319175623702*t+.7168870538238823*r+.06061979053616537*n,z:.013923904500943465*t+.09708128566574634*r+.7140993584005155*n};return void 0!==o&&(a.alpha=o),a},Gt=e=>e>zt?Math.cbrt(e):(Rt*e+16)/116,Ut=({x:e,y:t,z:r,alpha:n})=>{void 0===e&&(e=0),void 0===t&&(t=0),void 0===r&&(r=0);let o=Gt(e/Te),a=Gt(t/1),i={mode:"lab",l:116*a-16,a:500*(o-a),b:200*(a-Gt(r/Ee))};return void 0!==n&&(i.alpha=n),i},qt=e=>{let t=Ut(Vt(e));return e.r===e.b&&e.b===e.g&&(t.a=t.b=0),t},Zt={mode:"lab",toMode:{xyz50:Wt,rgb:Ht},fromMode:{xyz50:Ut,rgb:qt},channels:["l","a","b","alpha"],ranges:{l:[0,100],a:[-125,125],b:[-125,125]},parse:[function(e,t){if(!t||"lab"!==t[0])return;const r={mode:"lab"},[,n,o,a,i]=t;return n.type!==G&&o.type!==G&&a.type!==G?(n.type!==V&&(r.l=Math.min(Math.max(0,n.value),100)),o.type!==V&&(r.a=o.type===N?o.value:125*o.value/100),a.type!==V&&(r.b=a.type===N?a.value:125*a.value/100),i.type!==V&&(r.alpha=Math.min(1,Math.max(0,i.type===N?i.value:i.value/100))),r):void 0}],serialize:e=>`lab(${void 0!==e.l?e.l:"none"} ${void 0!==e.a?e.a:"none"} ${void 0!==e.b?e.b:"none"}${e.alpha<1?` / ${e.alpha}`:""})`,interpolate:{l:ne,a:ne,b:ne,alpha:{use:ne,fixup:ae}}},Kt=Zt,Xt={...Kt,mode:"lab65",parse:["--lab-d65"],serialize:"--lab-d65",toMode:{xyz65:ze,rgb:Le},fromMode:{xyz65:Ne,rgb:He},ranges:{l:[0,100],a:[-125,125],b:[-125,125]}},Qt={mode:"lch",toMode:{lab:$e,rgb:e=>Ht($e(e))},fromMode:{rgb:e=>Ie(qt(e)),lab:Ie},channels:["l","c","h","alpha"],ranges:{l:[0,100],c:[0,150],h:[0,360]},parse:[function(e,t){if(!t||"lch"!==t[0])return;const r={mode:"lch"},[,n,o,a,i]=t;if(n.type!==V){if(n.type===G)return;r.l=Math.min(Math.max(0,n.value),100)}if(o.type!==V&&(r.c=Math.max(0,o.type===N?o.value:150*o.value/100)),a.type!==V){if(a.type===H)return;r.h=a.value}return i.type!==V&&(r.alpha=Math.min(1,Math.max(0,i.type===N?i.value:i.value/100))),r}],serialize:e=>`lch(${void 0!==e.l?e.l:"none"} ${void 0!==e.c?e.c:"none"} ${void 0!==e.h?e.h:"none"}${e.alpha<1?` / ${e.alpha}`:""})`,interpolate:{h:{use:ne,fixup:ye},c:ne,l:ne,alpha:{use:ne,fixup:ae}},difference:{h:je},average:{h:Se}},Yt=Qt,Jt={...Yt,mode:"lch65",parse:["--lch-d65"],serialize:"--lch-d65",toMode:{lab65:e=>$e(e,"lab65"),rgb:e=>Le($e(e,"lab65"))},fromMode:{rgb:e=>Ie(He(e),"lch65"),lab65:e=>Ie(e,"lch65")},ranges:{l:[0,100],c:[0,150],h:[0,360]}},er=Jt,tr=({l:e,u:t,v:r,alpha:n})=>{void 0===t&&(t=0),void 0===r&&(r=0);let o=Math.sqrt(t*t+r*r),a={mode:"lchuv",l:e,c:o};return o&&(a.h=me(180*Math.atan2(r,t)/Math.PI)),void 0!==n&&(a.alpha=n),a},rr=({l:e,c:t,h:r,alpha:n})=>{void 0===r&&(r=0);let o={mode:"luv",l:e,u:t?t*Math.cos(r/180*Math.PI):0,v:t?t*Math.sin(r/180*Math.PI):0};return void 0!==n&&(o.alpha=n),o},nr=(e,t,r)=>4*e/(e+15*t+3*r),or=(e,t,r)=>9*t/(e+15*t+3*r),ar=nr(Te,1,Ee),ir=or(Te,1,Ee),lr=({x:e,y:t,z:r,alpha:n})=>{void 0===e&&(e=0),void 0===t&&(t=0),void 0===r&&(r=0);let o=(a=t/1)<=zt?Rt*a:116*Math.cbrt(a)-16;var a;let i=nr(e,t,r),l=or(e,t,r);isFinite(i)&&isFinite(l)?(i=13*o*(i-ar),l=13*o*(l-ir)):o=i=l=0;let c={mode:"luv",l:o,u:i,v:l};return void 0!==n&&(c.alpha=n),c},cr=4*(sr=Te)/(sr+15+3*Ee);var sr;const ur=({l:e,u:t,v:r,alpha:n})=>{if(void 0===e&&(e=0),0===e)return{mode:"xyz50",x:0,y:0,z:0};void 0===t&&(t=0),void 0===r&&(r=0);let o=t/(13*e)+cr,a=r/(13*e)+.4880797507034157,i=1*(e<=8?e/Rt:Math.pow((e+16)/116,3)),l={mode:"xyz50",x:i*(9*o)/(4*a),y:i,z:i*(12-3*o-20*a)/(4*a)};return void 0!==n&&(l.alpha=n),l},dr={mode:"lchuv",toMode:{luv:rr,rgb:e=>Nt(ur(rr(e)))},fromMode:{rgb:e=>tr(lr(Vt(e))),luv:tr},channels:["l","c","h","alpha"],parse:["--lchuv"],serialize:"--lchuv",ranges:{l:[0,100],c:[0,176.956],h:[0,360]},interpolate:{h:{use:ne,fixup:ye},c:ne,l:ne,alpha:{use:ne,fixup:ae}},difference:{h:je},average:{h:Se}},fr=dr,pr={...ie,mode:"lrgb",toMode:{rgb:ge},fromMode:{rgb:fe},parse:["srgb-linear"],serialize:"srgb-linear"},hr={mode:"luv",toMode:{xyz50:ur,rgb:e=>Nt(ur(e))},fromMode:{xyz50:lr,rgb:e=>lr(Vt(e))},channels:["l","u","v","alpha"],parse:["--luv"],serialize:"--luv",ranges:{l:[0,100],u:[-84.936,175.042],v:[-125.882,87.243]},interpolate:{l:ne,u:ne,v:ne,alpha:{use:ne,fixup:ae}}},gr=hr,br=({r:e,g:t,b:r,alpha:n})=>{void 0===e&&(e=0),void 0===t&&(t=0),void 0===r&&(r=0);let o=Math.cbrt(.412221469470763*e+.5363325372617348*t+.0514459932675022*r),a=Math.cbrt(.2119034958178252*e+.6806995506452344*t+.1073969535369406*r),i=Math.cbrt(.0883024591900564*e+.2817188391361215*t+.6299787016738222*r),l={mode:"oklab",l:.210454268309314*o+.7936177747023054*a-.0040720430116193*i,a:1.9779985324311684*o-2.42859224204858*a+.450593709617411*i,b:.0259040424655478*o+.7827717124575296*a-.8086757549230774*i};return void 0!==n&&(l.alpha=n),l},vr=e=>{let t=br(fe(e));return e.r===e.b&&e.b===e.g&&(t.a=t.b=0),t},mr=({l:e,a:t,b:r,alpha:n})=>{void 0===e&&(e=0),void 0===t&&(t=0),void 0===r&&(r=0);let o=Math.pow(e+.3963377773761749*t+.2158037573099136*r,3),a=Math.pow(e-.1055613458156586*t-.0638541728258133*r,3),i=Math.pow(e-.0894841775298119*t-1.2914855480194092*r,3),l={mode:"lrgb",r:4.076741636075957*o-3.3077115392580616*a+.2309699031821044*i,g:-1.2684379732850317*o+2.6097573492876887*a-.3413193760026573*i,b:-.0041960761386756*o-.7034186179359362*a+1.7076146940746117*i};return void 0!==n&&(l.alpha=n),l},yr=e=>ge(mr(e));function wr(e){const t=.206,r=1.206/1.03;return.5*(r*e-t+Math.sqrt((r*e-t)*(r*e-t)+.12*r*e))}function xr(e){return(e*e+.206*e)/(1.206/1.03*(e+.03))}function _r(e,t){let r=function(e,t){let r,n,o,a,i,l,c,s;-1.88170328*e-.80936493*t>1?(r=1.19086277,n=1.76576728,o=.59662641,a=.75515197,i=.56771245,l=4.0767416621,c=-3.3077115913,s=.2309699292):1.81444104*e-1.19445276*t>1?(r=.73956515,n=-.45954404,o=.08285427,a=.1254107,i=.14503204,l=-1.2684380046,c=2.6097574011,s=-.3413193965):(r=1.35733652,n=-.00915799,o=-1.1513021,a=-.50559606,i=.00692167,l=-.0041960863,c=-.7034186147,s=1.707614701);let u=r+n*e+o*t+a*e*e+i*e*t,d=.3963377774*e+.2158037573*t,f=-.1055613458*e-.0638541728*t,p=-.0894841775*e-1.291485548*t;{let e=1+u*d,t=1+u*f,r=1+u*p,n=l*(e*e*e)+c*(t*t*t)+s*(r*r*r),o=l*(3*d*e*e)+c*(3*f*t*t)+s*(3*p*r*r);u-=n*o/(o*o-.5*n*(l*(6*d*d*e)+c*(6*f*f*t)+s*(6*p*p*r)))}return u}(e,t),n=mr({l:1,a:r*e,b:r*t}),o=Math.cbrt(1/Math.max(n.r,n.g,n.b));return[o,o*r]}function kr(e,t,r=null){r||(r=_r(e,t));let n=r[0],o=r[1];return[o/n,o/(1-n)]}function Cr(e,t,r){let n=_r(t,r),o=function(e,t,r,n,o,a=null){let i;if(a||(a=_r(e,t)),(r-o)*a[1]-(a[0]-o)*n<=0)i=a[1]*o/(n*a[0]+a[1]*(o-r));else{i=a[1]*(o-1)/(n*(a[0]-1)+a[1]*(o-r));{let a=r-o,l=.3963377774*e+.2158037573*t,c=-.1055613458*e-.0638541728*t,s=-.0894841775*e-1.291485548*t,u=a+n*l,d=a+n*c,f=a+n*s;{let e=o*(1-i)+i*r,t=i*n,a=e+t*l,p=e+t*c,h=e+t*s,g=a*a*a,b=p*p*p,v=h*h*h,m=3*u*a*a,y=3*d*p*p,w=3*f*h*h,x=6*u*u*a,_=6*d*d*p,k=6*f*f*h,C=4.0767416621*g-3.3077115913*b+.2309699292*v-1,O=4.0767416621*m-3.3077115913*y+.2309699292*w,P=O/(O*O-.5*C*(4.0767416621*x-3.3077115913*_+.2309699292*k)),j=-C*P,S=-1.2684380046*g+2.6097574011*b-.3413193965*v-1,M=-1.2684380046*m+2.6097574011*y-.3413193965*w,I=M/(M*M-.5*S*(-1.2684380046*x+2.6097574011*_-.3413193965*k)),$=-S*I,B=-.0041960863*g-.7034186147*b+1.707614701*v-1,D=-.0041960863*m-.7034186147*y+1.707614701*w,T=D/(D*D-.5*B*(-.0041960863*x-.7034186147*_+1.707614701*k)),E=-B*T;j=P>=0?j:1e6,$=I>=0?$:1e6,E=T>=0?E:1e6,i+=Math.min(j,Math.min($,E))}}}return i}(t,r,e,1,e,n),a=kr(t,r,n),i=e*(.11516993+1/(7.4477897+4.1590124*r+t*(1.75198401*r-2.19557347+t*(-2.13704948-10.02301043*r+t*(5.38770819*r-4.24894561+4.69891013*t))))),l=(1-e)*(.11239642+1/(1.6132032-.68124379*r+t*(.40370612+.90148123*r+t*(.6122399*r-.27087943+t*(.00299215-.45399568*r-.14661872*t))))),c=o/Math.min(e*a[0],(1-e)*a[1])*.9*Math.sqrt(Math.sqrt(1/(1/(i*i*i*i)+1/(l*l*l*l))));return i=.4*e,l=.8*(1-e),[Math.sqrt(1/(1/(i*i)+1/(l*l))),c,o]}function Or(e){const t=void 0!==e.l?e.l:0,r=void 0!==e.a?e.a:0,n=void 0!==e.b?e.b:0,o={mode:"okhsl",l:wr(t)};void 0!==e.alpha&&(o.alpha=e.alpha);let a=Math.sqrt(r*r+n*n);if(!a)return o.s=0,o;let i,[l,c,s]=Cr(t,r/a,n/a);if(a<c){let e=0,t=.8*l;i=(a-e)/(t+(1-t/c)*(a-e))*.8}else{let e=.2*c*c*1.25*1.25/l;i=.8+(a-c)/(e+(1-e/(s-c))*(a-c))*.2}return i&&(o.s=i,o.h=me(180*Math.atan2(n,r)/Math.PI)),o}function Pr(e){let t=void 0!==e.h?e.h:0,r=void 0!==e.s?e.s:0,n=void 0!==e.l?e.l:0;const o={mode:"oklab",l:xr(n)};if(void 0!==e.alpha&&(o.alpha=e.alpha),!r||1===n)return o.a=o.b=0,o;let a,i,l,c,s=Math.cos(t/180*Math.PI),u=Math.sin(t/180*Math.PI),[d,f,p]=Cr(o.l,s,u);r<.8?(a=1.25*r,i=0,l=.8*d,c=1-l/f):(a=5*(r-.8),i=f,l=.2*f*f*1.25*1.25/d,c=1-l/(p-f));let h=i+a*l/(1-c*a);return o.a=h*s,o.b=h*u,o}const jr={...it,mode:"okhsl",channels:["h","s","l","alpha"],parse:["--okhsl"],serialize:"--okhsl",fromMode:{oklab:Or,rgb:e=>Or(vr(e))},toMode:{oklab:Pr,rgb:e=>yr(Pr(e))}},Sr=jr;function Mr(e){let t=void 0!==e.l?e.l:0,r=void 0!==e.a?e.a:0,n=void 0!==e.b?e.b:0,o=Math.sqrt(r*r+n*n),a=o?r/o:1,i=o?n/o:1,[l,c]=kr(a,i),s=1-.5/l,u=c/(o+t*c),d=u*t,f=u*o,p=xr(d),h=f*p/d,g=mr({l:p,a:a*h,b:i*h}),b=Math.cbrt(1/Math.max(g.r,g.g,g.b,0));t/=b,o=o/b*wr(t)/t,t=wr(t);const v={mode:"okhsv",s:o?(.5+c)*f/(.5*c+c*s*f):0,v:t?t/d:0};return v.s&&(v.h=me(180*Math.atan2(n,r)/Math.PI)),void 0!==e.alpha&&(v.alpha=e.alpha),v}function Ir(e){const t={mode:"oklab"};void 0!==e.alpha&&(t.alpha=e.alpha);const r=void 0!==e.h?e.h:0,n=void 0!==e.s?e.s:0,o=void 0!==e.v?e.v:0,a=Math.cos(r/180*Math.PI),i=Math.sin(r/180*Math.PI),[l,c]=kr(a,i),s=.5,u=1-s/l,d=1-n*s/(s+c-c*u*n),f=n*c*s/(s+c-c*u*n),p=xr(d),h=f*p/d,g=mr({l:p,a:a*h,b:i*h}),b=Math.cbrt(1/Math.max(g.r,g.g,g.b,0)),v=xr(o*d),m=f*v/d;return t.l=v*b,t.a=m*a*b,t.b=m*i*b,t}const $r={...st,mode:"okhsv",channels:["h","s","v","alpha"],parse:["--okhsv"],serialize:"--okhsv",fromMode:{oklab:Mr,rgb:e=>Mr(vr(e))},toMode:{oklab:Ir,rgb:e=>yr(Ir(e))}},Br=$r,Dr={...Kt,mode:"oklab",toMode:{lrgb:mr,rgb:yr},fromMode:{lrgb:br,rgb:vr},ranges:{l:[0,1],a:[-.4,.4],b:[-.4,.4]},parse:[function(e,t){if(!t||"oklab"!==t[0])return;const r={mode:"oklab"},[,n,o,a,i]=t;return n.type!==G&&o.type!==G&&a.type!==G?(n.type!==V&&(r.l=Math.min(Math.max(0,n.type===N?n.value:n.value/100),1)),o.type!==V&&(r.a=o.type===N?o.value:.4*o.value/100),a.type!==V&&(r.b=a.type===N?a.value:.4*a.value/100),i.type!==V&&(r.alpha=Math.min(1,Math.max(0,i.type===N?i.value:i.value/100))),r):void 0}],serialize:e=>`oklab(${void 0!==e.l?e.l:"none"} ${void 0!==e.a?e.a:"none"} ${void 0!==e.b?e.b:"none"}${e.alpha<1?` / ${e.alpha}`:""})`},Tr=Dr,Er={...Yt,mode:"oklch",toMode:{oklab:e=>$e(e,"oklab"),rgb:e=>yr($e(e,"oklab"))},fromMode:{rgb:e=>Ie(vr(e),"oklch"),oklab:e=>Ie(e,"oklch")},parse:[function(e,t){if(!t||"oklch"!==t[0])return;const r={mode:"oklch"},[,n,o,a,i]=t;if(n.type!==V){if(n.type===G)return;r.l=Math.min(Math.max(0,n.type===N?n.value:n.value/100),1)}if(o.type!==V&&(r.c=Math.max(0,o.type===N?o.value:.4*o.value/100)),a.type!==V){if(a.type===H)return;r.h=a.value}return i.type!==V&&(r.alpha=Math.min(1,Math.max(0,i.type===N?i.value:i.value/100))),r}],serialize:e=>`oklch(${void 0!==e.l?e.l:"none"} ${void 0!==e.c?e.c:"none"} ${void 0!==e.h?e.h:"none"}${e.alpha<1?` / ${e.alpha}`:""})`,ranges:{l:[0,1],c:[0,.4],h:[0,360]}},Ar=Er,Fr=e=>{let{r:t,g:r,b:n,alpha:o}=fe(e),a={mode:"xyz65",x:.486570948648216*t+.265667693169093*r+.1982172852343625*n,y:.2289745640697487*t+.6917385218365062*r+.079286914093745*n,z:0*t+.0451133818589026*r+1.043944368900976*n};return void 0!==o&&(a.alpha=o),a},Rr=({x:e,y:t,z:r,alpha:n})=>{void 0===e&&(e=0),void 0===t&&(t=0),void 0===r&&(r=0);let o=ge({r:2.4934969119414263*e-.9313836179191242*t-.402710784450717*r,g:-.8294889695615749*e+1.7626640603183465*t+.0236246858419436*r,b:.0358458302437845*e-.0761723892680418*t+.9568845240076871*r},"p3");return void 0!==n&&(o.alpha=n),o},zr={...ie,mode:"p3",parse:["display-p3"],serialize:"display-p3",fromMode:{rgb:e=>Rr(pe(e)),xyz65:Rr},toMode:{rgb:e=>be(Fr(e)),xyz65:Fr}},Lr=e=>{let t=Math.abs(e);return t>=1/512?Math.sign(e)*Math.pow(t,1/1.8):16*e},Wr=({x:e,y:t,z:r,alpha:n})=>{void 0===e&&(e=0),void 0===t&&(t=0),void 0===r&&(r=0);let o={mode:"prophoto",r:Lr(1.3457868816471585*e-.2555720873797946*t-.0511018649755453*r),g:Lr(-.5446307051249019*e+1.5082477428451466*t+.0205274474364214*r),b:Lr(0*e+0*t+1.2119675456389452*r)};return void 0!==n&&(o.alpha=n),o},Nr=(e=0)=>{let t=Math.abs(e);return t>=16/512?Math.sign(e)*Math.pow(t,1.8):e/16},Hr=e=>{let t=Nr(e.r),r=Nr(e.g),n=Nr(e.b),o={mode:"xyz50",x:.7977666449006423*t+.1351812974005331*r+.0313477341283922*n,y:.2880748288194013*t+.7118352342418731*r+899369387256e-16*n,z:0*t+0*r+.8251046025104602*n};return void 0!==e.alpha&&(o.alpha=e.alpha),o},Vr={...ie,mode:"prophoto",parse:["prophoto-rgb"],serialize:"prophoto-rgb",fromMode:{xyz50:Wr,rgb:e=>Wr(Vt(e))},toMode:{xyz50:Hr,rgb:e=>Nt(Hr(e))}},Gr=1.09929682680944,Ur=e=>{const t=Math.abs(e);return t>.018053968510807?(Math.sign(e)||1)*(Gr*Math.pow(t,.45)-(Gr-1)):4.5*e},qr=({x:e,y:t,z:r,alpha:n})=>{void 0===e&&(e=0),void 0===t&&(t=0),void 0===r&&(r=0);let o={mode:"rec2020",r:Ur(1.7166511879712683*e-.3556707837763925*t-.2533662813736599*r),g:Ur(-.6666843518324893*e+1.6164812366349395*t+.0157685458139111*r),b:Ur(.0176398574453108*e-.0427706132578085*t+.9421031212354739*r)};return void 0!==n&&(o.alpha=n),o},Zr=1.09929682680944,Kr=(e=0)=>{let t=Math.abs(e);return t<.08124285829863151?e/4.5:(Math.sign(e)||1)*Math.pow((t+Zr-1)/Zr,1/.45)},Xr=e=>{let t=Kr(e.r),r=Kr(e.g),n=Kr(e.b),o={mode:"xyz65",x:.6369580483012911*t+.1446169035862083*r+.1688809751641721*n,y:.262700212011267*t+.6779980715188708*r+.059301716469862*n,z:0*t+.0280726930490874*r+1.0609850577107909*n};return void 0!==e.alpha&&(o.alpha=e.alpha),o},Qr={...ie,mode:"rec2020",fromMode:{xyz65:qr,rgb:e=>qr(pe(e))},toMode:{xyz65:Xr,rgb:e=>be(Xr(e))},parse:["rec2020"],serialize:"rec2020"},Yr=.0037930732552754493,Jr=Math.cbrt(Yr),en=e=>Math.cbrt(e)-Jr,tn=e=>Math.pow(e+Jr,3),rn={mode:"xyb",channels:["x","y","b","alpha"],parse:["--xyb"],serialize:"--xyb",toMode:{rgb:({x:e,y:t,b:r,alpha:n})=>{void 0===e&&(e=0),void 0===t&&(t=0),void 0===r&&(r=0);const o=tn(e+t)-Yr,a=tn(t-e)-Yr,i=tn(r+t)-Yr,l=ge({r:11.031566904639861*o-9.866943908131562*a-.16462299650829934*i,g:-3.2541473810744237*o+4.418770377582723*a-.16462299650829934*i,b:-3.6588512867136815*o+2.7129230459360922*a+1.9459282407775895*i});return void 0!==n&&(l.alpha=n),l}},fromMode:{rgb:e=>{const{r:t,g:r,b:n,alpha:o}=fe(e),a=en(.3*t+.622*r+.078*n+Yr),i=en(.23*t+.692*r+.078*n+Yr),l={mode:"xyb",x:(a-i)/2,y:(a+i)/2,b:en(.2434226892454782*t+.2047674442449682*r+.5518098665095535*n+Yr)-(a+i)/2};return void 0!==o&&(l.alpha=o),l}},ranges:{x:[-.0154,.0281],y:[0,.8453],b:[-.2778,.388]},interpolate:{x:ne,y:ne,b:ne,alpha:{use:ne,fixup:ae}}},nn={mode:"xyz50",parse:["xyz-d50"],serialize:"xyz-d50",toMode:{rgb:Nt,lab:Ut},fromMode:{rgb:Vt,lab:Wt},channels:["x","y","z","alpha"],ranges:{x:[0,.964],y:[0,.999],z:[0,.825]},interpolate:{x:ne,y:ne,z:ne,alpha:{use:ne,fixup:ae}}},on={mode:"xyz65",toMode:{rgb:be,xyz50:e=>{let{x:t,y:r,z:n,alpha:o}=e;void 0===t&&(t=0),void 0===r&&(r=0),void 0===n&&(n=0);let a={mode:"xyz50",x:1.0479298208405488*t+.0229467933410191*r-.0501922295431356*n,y:.0296278156881593*t+.990434484573249*r-.0170738250293851*n,z:-.0092430581525912*t+.0150551448965779*r+.7518742899580008*n};return void 0!==o&&(a.alpha=o),a}},fromMode:{rgb:pe,xyz50:e=>{let{x:t,y:r,z:n,alpha:o}=e;void 0===t&&(t=0),void 0===r&&(r=0),void 0===n&&(n=0);let a={mode:"xyz65",x:.9554734527042182*t-.0230985368742614*r+.0632593086610217*n,y:-.0283697069632081*t+1.0099954580058226*r+.021041398966943*n,z:.0123140016883199*t-.0205076964334779*r+1.3303659366080753*n};return void 0!==o&&(a.alpha=o),a}},ranges:{x:[0,.95],y:[0,1],z:[0,1.088]},channels:["x","y","z","alpha"],parse:["xyz","xyz-d65"],serialize:"xyz-d65",interpolate:{x:ne,y:ne,z:ne,alpha:{use:ne,fixup:ae}}},an={mode:"yiq",toMode:{rgb:({y:e,i:t,q:r,alpha:n})=>{void 0===e&&(e=0),void 0===t&&(t=0),void 0===r&&(r=0);const o={mode:"rgb",r:e+.95608445*t+.6208885*r,g:e-.27137664*t-.6486059*r,b:e-1.10561724*t+1.70250126*r};return void 0!==n&&(o.alpha=n),o}},fromMode:{rgb:({r:e,g:t,b:r,alpha:n})=>{void 0===e&&(e=0),void 0===t&&(t=0),void 0===r&&(r=0);const o={mode:"yiq",y:.29889531*e+.58662247*t+.11448223*r,i:.59597799*e-.2741761*t-.32180189*r,q:.21147017*e-.52261711*t+.31114694*r};return void 0!==n&&(o.alpha=n),o}},channels:["y","i","q","alpha"],parse:["--yiq"],serialize:"--yiq",ranges:{i:[-.595,.595],q:[-.522,.522]},interpolate:{y:ne,i:ne,q:ne,alpha:{use:ne,fixup:ae}}};let ln=((e=4)=>t=>"number"==typeof t?((e,t)=>Math.round(e*(t=Math.pow(10,t)))/t)(t,e):t)(2);const cn=e=>Math.max(0,Math.min(1,e||0)),sn=e=>Math.round(255*cn(e)),un=M("rgb");M("hsl"),E(ve),E(Me),E(Je),E(tt),E(nt),E(it),E(st),E(dt),E(kt),E(Dt),E(Ft),E(Kt),E(Xt),E(Yt),E(er),E(fr),E(pr),E(gr),E(Sr),E(Br),E(Tr),E(Ar),E(zr),E(Vr),E(Qr),E(ie),E(rn),E(nn),E(on),E(an),M("rgb");M("rgb");r(396);const dn=new class{constructor(e){this.providerStorage=e,this.getVarsByScheme=e=>"dark"===e?this.darkPaletteVars:this.lightPaletteVars,this.setWorkspaceStorage=e=>{this.workspaceStorage=e},this.trySynchronizeWorkspaceStorage=()=>{if(this.workspaceStorage){const e=this.getScheme();this.hasUserPreference()&&this.workspaceStorage.setItem(a.A.SelectedColorScheme,e),this.darkPaletteVars&&this.lightPaletteVars&&(this.themePaletteSheet=`\n :root{${this.getVarsByScheme("light")}}\n [data-scheme="dark"] {\n ${this.getVarsByScheme("dark")}\n }\n @media (prefers-color-scheme: dark) {\n [data-scheme="system"] {${this.getVarsByScheme("dark")} }\n }\n\n @media (prefers-color-scheme: light) {\n [data-scheme="system"] {${this.getVarsByScheme("light")} }\n }\n `,this.workspaceStorage.setItem(a.A.ThemePaletteSheet,this.themePaletteSheet))}},this.setLegacyPalettes=async({light:e,dark:t},r)=>{this.lightPaletteVars=s({...e,...d(e,"light",r)}),this.darkPaletteVars=s({...t,...d(t,"dark",r)})},this.setPalettes=async({light:e,dark:t})=>{this.lightPaletteVars=e,this.darkPaletteVars=t}}hasUserPreference(){return null!==this.providerStorage.getItem(a.A.SelectedColorScheme)}setScheme(e){this.providerStorage.setItem(a.A.SelectedColorScheme,e)}setThemeDefaultScheme(e){const t=Object.values(l.qT);t.includes(e)?this.providerStorage.setItem(a.A.ThemePaletteDefaultScheme,e):console.warn(`Invalid theme default scheme '${e}'. Must be one of: ${t.join(", ")}. Ignoring default.`)}getScheme(){const e=this.providerStorage.getItem(a.A.SelectedColorScheme),t=this.providerStorage.getItem(a.A.ThemePaletteDefaultScheme);return null!==e?e:t??c}getThemePaletteSheet(){return this.themePaletteSheet}getThemePalette(){return{light:this.lightPaletteVars,dark:this.darkPaletteVars}}}(o),fn=()=>(n.R.debug("ThemeStorage: getThemeStorageController called"),dn)},396:(e,t,r)=>{"use strict";r.d(t,{tT:()=>c,NA:()=>l});r(70),r(326);var n=r(102);var o;!function(e){e.UpdatePlatformThemeScheme="update-platform-theme-scheme"}(o||(o={}));(0,n.A)("of-workspace-notifications-sync");var a=r(695),i=r(79);r(104);const l=e=>({getThemes:async()=>(await(0,i.N)(e)).dispatch(i.OF.GetThemes,void 0),setSelectedScheme:async t=>(await(0,i.N)(e)).dispatch(i.OF.SetSelectedScheme,t),getSelectedScheme:async()=>(await(0,i.N)(e)).dispatch(i.OF.GetSelectedScheme,void 0)}),c=async e=>{const t=await(0,a.p4)();await t.dispatch("initialize-theme",e)}},14:(e,t,r)=>{"use strict";r.d(t,{Nt:()=>we,Ag:()=>ye});var n=r(675),o=r(723),a=r(181);async function i(){const e="getManifestOverrides",{manifest:t,initialOptions:r}=await fin.Application.getCurrentSync().getInfo();return t?.platform.workspace||t?.platform.home||r?.workspace||r?.home||console.warn(`${e}: Missing Home development manifest overrides, using Desktop Owner Settings.`),t?.platform.workspace?(JSON.stringify(t?.platform.workspace),t?.platform.workspace):t?.platform.home?(JSON.stringify(t?.platform.home),t?.platform.home):r?.workspace?(JSON.stringify(r?.workspace),r?.workspace):r?.home?(JSON.stringify(r?.home),r?.home):{}}const l=e=>fin.System.getSystemAppConfig(e);async function c(){const e="getDOSOverrides";if(!o.cI)return console.warn(`${e}: the fin API was not available, returning no result`),{};try{let e=await l("workspace").catch(e=>{});return e||(e=await l("home")),JSON.stringify(e),e}catch(t){if(!o.Hd)return{};if(!(t instanceof Error))throw t;console.warn(`${e}: Missing Workspace Desktop Owner Settings configuration, using defaults. ${t?.message}`)}return{}}let s,u;const d=e=>e.replace(/\/$/,"");async function f(){const e=(await async function(){if(s)return s;const e="getOverrides";if(!o.cI)return o.YY&&console.warn(`${e}: The Fin API was not available. Returning an empty result.`),{};const[t,r]=await Promise.all([c(),i()]);return s={...r,...t,disableRuntimeValidation:r.disableRuntimeValidation||t.disableRuntimeValidation},s}()).browserBaseUrl;if(e)try{const t=new URL(e);if(t.pathname.endsWith("/"))t.pathname=d(t.pathname);else{if("/workspace"===t.pathname)return t.pathname+=`/${o.et}`,t.toString();console.warn(`@openfin/workspace-platform: browserOverrideBaseUrl must be a valid url, with path: /workspace. Expected <protocol>://<optional subdomain>.<domain>/workspace but got ${e}`)}}catch(t){console.warn(`@openfin/workspace-platform: browserOverrideBaseUrl must be a valid url. Expected <protocol>://<optional subdomain>.<domain>/workspace but got ${e}`)}return u??o.bD}async function p(e=!1){const t=await f()+a.Ay.EnterpriseBrowser;return e?t:d(t)}r(822);var h=r(70);const g=(e,t)=>{const r=e;return r.workspacePlatform||(r.workspacePlatform={}),r.workspacePlatform._internalDeferShowOptions={setAsForeground:!!t,deferShowEnabled:!0,autoShow:r.workspacePlatform?._internalAutoShow||r.workspacePlatform?._internalDeferShowOptions?.autoShow||void 0===r.autoShow||r.autoShow},r.autoShow=!1,r};var b,v;!function(e){e.RelativeToParentWindow="relative-to-parent-window",e.RelativeToMonitor="relative-to-monitor"}(b||(b={})),function(e){e.Top="top",e.Below="below"}(v||(v={}));const m=async e=>{const t=e&&await(0,h.Iq)(e).getBounds(),r=e?await(0,h.jz)(t):(await fin.System.getMonitorInfo()).primaryMonitor;return(0,h.VE)(r.availableRect)};var y=r(957);function w(){let e,t;return{promise:new Promise((r,n)=>{e=r,t=n}),resolve:e,reject:t}}const x="dock3",_=require("dexie");var k=r(189),C=r(141);const O=e=>e+"-"+fin.me.uuid,P=(e,t)=>{const r=o.AT&&o.cI&&new _.Dexie(e);return r&&r.version(.1).stores({[t]:""}),r},j=(e,t)=>{const r=P(O(e),t),n=P(e,t);if(!r||!n)throw new Error("Unable to migrate store - IndexDB not supported");return(async(e,t,r)=>{if(!e[r])return void console.warn(`Legacy store ${r} not found, skipping migration`);const n=k.getItem(C.A.HasMovedStore),o=n?JSON.parse(n):{};if(o&&o[r])return;if(o[r]=!0,k.setItem(C.A.HasMovedStore,JSON.stringify(o)),!e[r]||!t[r])return;const a=await e[r].toArray();await t[r].bulkPut(a)})(n,r,e),r},S="dock3-provider-config",M=o.AT&&o.cI&&new _.Dexie(O("dock3-provider-config"));M&&M.version(.1).stores({[S]:""});var I,$,B,D,T=function(e,t,r,n,o){if("m"===n)throw new TypeError("Private method is not writable");if("a"===n&&!o)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!o:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===n?o.call(e,r):o?o.value=r:t.set(e,r),r},E=function(e,t,r,n){if("a"===r&&!n)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!n:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===r?n:"a"===r?n.call(e):n?n.value:t.get(e)};class A{static getOverrideConstructor(...e){return class extends A{constructor(){super(...e)}}}constructor(e,t){if(I.set(this,void 0),$.set(this,void 0),B.set(this,null),D.set(this,w()),A.instance)throw new Error("Dock3Provider has already been initialized.");A.instance=this,T(this,I,e,"f"),T(this,$,t,"f"),this.registerChannelActions()}async launchEntry(e){}get ready(){return E(this,D,"f").promise}async bookmarkContentMenuEntry(e){}async moreMenuCustomOptionClicked(e){}get config(){return E(this,I,"f")}set config(e){T(this,I,e,"f")}async updateConfig(e){await this.handleConfigChange(e)}async shutdown(){await Promise.all([E(this,$,"f").destroy(),this.getWindowSync().close(!0)]),A.instance=null}async saveConfig({config:e}){T(this,I,e,"f"),await async function(e){if(!M)throw new Error("Unable to save Dock provider config - IndexedDb not supported");await M[S].put(e,"latest")}(e)}async handleConfigChange(e){E(this,B,"f")&&await E(this,$,"f").dispatch(E(this,B,"f"),"handle-dock-config-updated",e)}async loadConfig(){const e=await async function(){if(!M)throw new Error("Unable to get Dock provider config - IndexedDB not supported");try{return await M[S].get("latest")}catch(e){return void console.warn("Failed to retrieve Dock provider config from IndexedDB",e)}}();return e&&T(this,I,e,"f"),E(this,I,"f")}getWindowSync(){return fin.Window.wrapSync({uuid:fin.me.identity.uuid,name:x})}registerChannelActions(){E(this,$,"f").register("launch-entry",this.launchEntry.bind(this)),E(this,$,"f").register("save-config",this.saveConfig.bind(this)),E(this,$,"f").register("bookmark-content-menu-entry",this.bookmarkContentMenuEntry.bind(this)),E(this,$,"f").register("more-menu-custom-option-clicked",this.moreMenuCustomOptionClicked.bind(this)),E(this,$,"f").onConnection(e=>{e.name===x&&T(this,B,e,"f")}),E(this,$,"f").register("ready",async(e,t)=>{if(E(this,B,"f")?.endpointId!==t.endpointId)throw new Error(`Dock3Provider: 'ready' action received from unexpected client ${t.name} (${t.uuid})`);E(this,D,"f").resolve()}),E(this,$,"f").onDisconnection(e=>{E(this,B,"f")?.endpointId===e.endpointId&&(T(this,B,null,"f"),T(this,D,w(),"f"))})}}I=new WeakMap,$=new WeakMap,B=new WeakMap,D=new WeakMap,A.instance=null;const F=async e=>{const t=e?fin.Window.wrapSync(e):fin.Window.getCurrentSync(),r=await t.getOptions();return r.workspacePlatform?.windowType&&"enterprise"===r.workspacePlatform.windowType};let R;r(277);var z=r(438);const L=require("lodash.debounce");var W=r.n(L);function N(){return localStorage.getItem(C.A.MachineName)??"unknown"}let H;async function V(){return H||(H=await fin.System.getMachineId()),H}var G=r(333);const U=async e=>({...e,layoutDetails:{machineId:await V(),machineName:N()}}),q=async e=>{const t=await(async(e,t)=>({pageId:(0,G.N)(),title:e,layout:await U(t),isReadOnly:!1}))(e.title,ke(e.layout));return e.panels&&(t.panels=e.panels.map(e=>({...e,viewOptions:_e(e.viewOptions)}))),{...e,...t}};var Z=r(79),K=r(786);var X=r(326),Q=r(102);const Y=(0,Q.A)(`${"undefined"!=typeof fin&&fin?.me.identity.uuid}-enterprise-bookmarks`),J=e=>({identity:e,openfinWindow:fin.Window.wrapSync(e),_bookmarks:{_createBookmarkNode:async e=>(async e=>(await Y()).dispatch(X.Hc.CreateBookmarkNode,e))(e),_getBookmarkNode:async e=>(async e=>(await Y()).dispatch(X.Hc.GetBookmarkNode,e))(e),_searchBookmarkNodes:async e=>(async e=>(await Y()).dispatch(X.Hc.SearchBookmarkNodes,e))(e),_updateBookmarkNode:async e=>(async e=>(await Y()).dispatch(X.Hc.UpdateBookmarkNode,e))(e),_deleteBookmarkNode:async e=>(async e=>(await Y()).dispatch(X.Hc.DeleteBookmarkNode,e))(e)},getPages:async()=>(await(0,Z.bW)(e)).dispatch(Z.OF.GetPagesForWindow,e),getPage:async t=>(await(0,Z.bW)(e)).dispatch(Z.OF.GetPageForWindow,{identity:e,pageId:t}),addPage:async t=>we().Browser.wrapSync(e)._addPage(t),_addPage:async(t,r)=>{const n=await(0,Z.bW)(e),o={identity:e,page:t,insertionIndex:r?.index,multiInstanceViewBehavior:r?.multiInstanceViewBehavior};return n.dispatch(Z.OF.AddPage,o)},_addPages:async(t,r)=>{const n=await(0,Z.bW)(e),o=t.map(({page:e,opts:t})=>({...e,multiInstanceViewBehavior:t?.multiInstanceViewBehavior||"duplicate"})),a={identity:e,pages:o,...r};return n.dispatch(Z.OF.AttachPagesToWindow,a)},removePage:async t=>(await(0,Z.bW)(e)).dispatch(Z.OF.DetachPagesFromWindow,{identity:e,pageIds:[t]}),reparentPage:async t=>we().Browser.wrapSync(e)._reparentPage(t),_reparentPage:async t=>{const{pageId:r}=t,n=await(0,Z.bW)(e),o=(await n.dispatch(Z.OF.GetAllAttachedPages,void 0)).find(({pageId:e})=>e===r);if(!o)throw new Error(`Reparent Page Error: Target page with pageId ${r} not found`);o.multiInstanceViewBehavior="reparent";const a={identity:e,pages:[o],insertionIndex:t.index};return n.dispatch(Z.OF.AttachPagesToWindow,a)},setActivePage:async t=>(await(0,Z.bW)(e)).dispatch(Z.OF.SetActivePage,{identity:e,pageId:t}),updatePage:async t=>{const r=await(0,Z.bW)(e);return t.identity=e,r.dispatch(Z.OF.UpdatePageForWindow,t)},reorderPages:async t=>{const r=await(0,Z.bW)(e);return t.identity=e,r.dispatch(Z.OF.ReorderPagesForWindow,t)},_openGlobalContextMenu:async t=>{const r=await(0,Z.bW)(e);return t.identity=e,r.dispatch(Z.OF.OpenGlobalContextMenuInternal,t)},replaceToolbarOptions:async t=>{await(0,Z.bW)(e);const r=fin.Window.wrapSync(e);await r.updateOptions({workspacePlatform:{toolbarOptions:t}})},replaceWindowStateButtonOptions:async t=>{await(0,Z.bW)(e);const r=fin.Window.wrapSync(e);await r.updateOptions({workspacePlatform:{windowStateButtonOptions:t}})},updateBrowserWindowTitle:async t=>{const r=fin.Window.wrapSync(e);"string"!=typeof t?await r.updateOptions({workspacePlatform:{title:t}}):console.warn("Type string for window title is deprecated, please use WindowTitle type instead",t)},_openViewTabContextMenu:async t=>{const r=await(0,Z.bW)(e);return t.identity=e,r.dispatch(Z.OF.OpenViewTabContextMenuInternal,t)},_openPageTabContextMenu:async t=>{const r=await(0,Z.bW)(e);return t.identity=e,r.dispatch(Z.OF.OpenPageTabContextMenuInternal,t)},_openSaveModal:async t=>{await(0,Z.bW)(e);return(await(0,X.p4)(e)).dispatch(X.aQ.OpenSaveModalInternal,t)},_getLayoutsWithSelectedViews:async()=>(await(0,X.p4)(e)).dispatch(X.aQ.GetLayoutsWithSelectedViewsInternal,e),_openSaveButtonContextMenu:async t=>{const r=await(0,Z.bW)(e);return t.identity=e,r.dispatch(Z.OF.OpenSaveButtonContextMenuInternal,t)},_addDefaultPage:async t=>{const r=await(0,Z.bW)(e);return t.identity=e,r.dispatch(Z.OF.AddDefaultPage,t)},_trackRemovedTab:async t=>(await(0,Z.bW)(e)).dispatch(Z.OF.TrackRemovedTabInternal,t),_restoreRemovedTab:async t=>(await(0,Z.bW)(e)).dispatch(Z.OF.RestoreRemovedTabInternal,t),_trackVisitedSite:async t=>(await(0,Z.bW)(e)).dispatch(Z.OF.TrackVisitedSiteInternal,t),_getRecentlyVisitedSites:async t=>(await(0,Z.bW)(e)).dispatch(Z.OF.GetRecentlyVisitedSitesInternal,t),_getFrequentlyVisitedSites:async t=>(await(0,Z.bW)(e)).dispatch(Z.OF.GetFrequentlyVisitedSitesInternal,t),_searchSites:async t=>(await(0,Z.bW)(e)).dispatch(Z.OF.SearchSitesInternal,{identity:e,req:t}),_getSearchProviders:async()=>(await(0,Z.bW)(e)).dispatch(Z.OF.GetSearchProvidersInternal,{identity:e}),_getCuratedContent:async t=>(await(0,Z.bW)(e)).dispatch(Z.OF.GetCuratedContentInternal,{identity:e,req:t}),_handleRequestNavigation:async t=>(await(0,Z.bW)(e)).dispatch(Z.OF.HandleRequestNavigationInternal,t),_sendUpdateVersionModalResponse:async t=>(await(0,Z.bW)(e)).dispatch(Z.OF.SendUpdateVersionModalResponseInternal,t)}),ee=e=>{const t=fin.Platform.wrapSync(e);return{wrapSync:e=>J(e),createWindow:async r=>{const n=(()=>{const e=`browser-window-startup-${(0,G.N)()}`;return K.A.markStart(e),e})();(e=>{fin.Application.wrapSync({uuid:fin.me.identity.uuid}).once("window-shown",()=>{K.A.markAndMeasure("browser-window-shown",e)})})(n),await(0,Z.bW)(e);const o=await t.createWindow(r);return(e=>{K.A.markAndMeasure("browser-window-started",e)})(n),J(o.identity)},getAllAttachedPages:async()=>(await(0,Z.bW)(e)).dispatch(Z.OF.GetAllAttachedPages,void 0),getAllWindows:async()=>{await(0,Z.bW)(e);return(await(0,h.Io)()).map(e=>J(e.identity))},getUniquePageTitle:async t=>(await(0,Z.bW)(e)).dispatch(Z.OF.GetUniquePageTitle,t),getLastFocusedWindow:async()=>(await(0,Z.bW)(e)).dispatch(Z.OF.GetLastFocusedBrowserWindow,void 0),getPageByViewIdentity:async t=>(await(0,Z.bW)(e)).dispatch(Z.OF.GetPageByViewIdentity,t)}},te=(e,t=0)=>{let r,n,o=!1;const a=async n=>{const i=await e(...n);if(o){await new Promise(e=>setTimeout(e,t));const e=r;return r=void 0,o=!1,a(e)}return i};return(...e)=>(n?(o=!0,r=e):n=a(e).catch(e=>{throw console.error("makeDebouncedFunc",e),e}).finally(()=>{n=void 0}),n)};var re=r(523);function ne(e,t){return async(r,...n)=>{e.has(r)&&e.get(r).forEach(e=>e(...n)),t&&await t({event:r,payload:n})}}function oe(e,t){return t&&t(t=>{const{event:r,payload:n}=t;e.has(r)&&e.get(r).forEach(e=>e(...n))}),(t,r)=>{e.has(t)||e.set(t,new Set),e.get(t).add(r)}}function ae(e){return(t,r)=>{e.has(t)||e.set(t,new Set);const n=e.get(t),o=(...e)=>{r(...e),n.delete(o)};n.add(o)}}function ie(e){return(t,r)=>{e.has(t)&&e.get(t).delete(r)}}const le={name:h.Q.BrowserMenu,alwaysOnTop:!0,autoShow:!0,frame:!1,resizable:!1,backgroundColor:"#2f3136",smallWindow:!0,showTaskbarIcon:!1,backgroundThrottling:!1,saveWindowState:!1};function ce(e){const t={...le,...e};return t.url=(0,re.Tt)(t.url??""),t}const se=function(e){const t=new Map;return{emit:ne(t,t=>o.cI&&fin.InterApplicationBus.publish(e,t)),addListener:oe(t,t=>o.cI&&fin.InterApplicationBus.subscribe({uuid:fin.me.uuid},e,t)),addListenerWithUUID:r=>oe(t,t=>o.cI&&fin.InterApplicationBus.subscribe({uuid:r},e,t)),removeListener:ie(t),once:ae(t)}}("window.menu"),ue=(e,t)=>fin.Window.wrapSync(e).updateOptions({opacity:t}),de=e=>se.emit("response",e),fe=te(()=>(0,z.v1)().getChildWindows(),500);const pe=new Map;async function he(e,t,r){const o=ce(e),a=await(0,y.qq)(fin.me.identity),i=await(0,y.l5)(fin.me.identity)===n.qT.Dark,l=a?.theme;if(o.backgroundColor=l?.[i?n.qT.Dark:n.qT.Light]?.palette?.inputBackground||o.backgroundColor,!pe.has(o.name)){return new Promise(n=>{se.once("ready",async e=>{if(e.name===o.name){const t=await pe.get(o.name);o.preventBlur||t.once("blurred",async()=>{if(ue(e,0),t.hide(),de({name:o.name,data:{actionName:"Cancel"}}),r=t.identity.name,[h.Q.BrowserSaveMenu,h.Q.DockSaveWorkspaceMenu,h.Q.DesktopSignalsModal].includes(r)){const e=await t.getOptions();"submitting"!==e.customContext&&"error"!==e.customContext&&t.close()}else t.identity.name.startsWith(h.Q.BrowserMenu)&&t.close();var r}),setTimeout(async()=>{await ue(e,1);1!==(await fin.Window.wrapSync(e).getOptions()).opacity&&ue(e,1)}),n(t)}});const a=(async()=>{const n=await fin.Platform.getCurrentSync().createWindow(g({...o,opacity:0,url:t||o.url,defaultLeft:r?.left,defaultTop:r?.top,defaultWidth:r?.width,defaultHeight:r?.height,workspacePlatform:{preventBlur:e.preventBlur}},!0));return n.once("closed",()=>{pe.delete(o.name)}),n})();pe.set(o.name,a)})}return pe.get(o.name)}async function ge(e,t){const r=ce(e),n={top:r.top,left:r.left,width:r.defaultWidth||r.width,height:r.defaultHeight||r.height};return t.set("parentName",fin.Window.getCurrentSync().identity.name),{name:r.name,bounds:n,route:`${r.url}#${t.toString()}`}}async function be({options:e,parameters:t}){const r=t??new URLSearchParams,n=ce(e),{name:o,modalParentIdentity:a}=n;if(!r.has("isEnterprise")){const e=`${await(async e=>(R||(R=await F(e)),R))(a)}`;r.set("isEnterprise",e)}let i=await async function(e){return(await fe()).find(t=>t.identity.name===e)}(o);if(i)await async function(e,t){const{name:r,bounds:n,route:o}=await ge(e,t),a={uuid:fin.me.identity.uuid,name:r},i=fin.Window.wrapSync(a);await Promise.all([i.hide(),ue(a,0),i.setBounds(n)]),e.preventBlur||i.once("blurred",()=>{ue(a,0),i.hide(),de({name:a.name,data:{actionName:"Cancel"}})}),se.emit("update",r,n,o),await de({name:r,data:{actionName:"Cancel"}})}(n,r);else{const{route:t,bounds:o}=await ge(e,r);i=await he({...n},t,o)}return i}const ve=e=>({createPage:async t=>(await(0,Z.bW)(e)).dispatch(Z.OF.CreateSavedPageInternal,t),deletePage:async t=>(await(0,Z.bW)(e)).dispatch(Z.OF.DeleteSavedPageInternal,t),updatePage:async t=>(await(0,Z.bW)(e)).dispatch(Z.OF.UpdateSavedPageInternal,t),getPage:async t=>(await(0,Z.bW)(e)).dispatch(Z.OF.GetSavedPage,t),getPages:async t=>(await(0,Z.bW)(e)).dispatch(Z.OF.GetSavedPages,t),savePage:async t=>(await(0,Z.bW)(e)).dispatch(Z.OF.SavePage,t),createWorkspace:async t=>(await(0,Z.N)(e)).dispatch(Z.OF.CreateSavedWorkspace,t),deleteWorkspace:async t=>{const r=we(),n=await r.getCurrentWorkspace();if(n.workspaceId===t)throw new Error(`Cannot delete current active workspace ${n.title}`);return(await(0,Z.N)(e)).dispatch(Z.OF.DeleteSavedWorkspace,t)},updateWorkspace:async t=>(await(0,Z.N)(e)).dispatch(Z.OF.UpdateSavedWorkspace,t),getWorkspace:async t=>(await(0,Z.N)(e)).dispatch(Z.OF.GetSavedWorkspace,t),getWorkspaces:async t=>(await(0,Z.N)(e)).dispatch(Z.OF.GetSavedWorkspaces,t),getWorkspacesMetadata:async t=>(await(0,Z.N)(e)).dispatch(Z.OF.GetSavedWorkspacesMetadata,t),saveWorkspace:async t=>(await(0,Z.N)(e)).dispatch(Z.OF.SaveWorkspace,t),getDockProviderConfig:async t=>(await(0,Z.N)(e)).dispatch(Z.OF.GetDockProviderConfig,t),saveDockProviderConfig:async t=>(await(0,Z.N)(e)).dispatch(Z.OF.SaveDockProviderConfig,t)});var me=r(396);const ye=e=>{const t=fin.Platform.wrapSync(e);let r;return Object.assign(t,{applySnapshot:async(t,r)=>{if("string"!=typeof t&&!t?.windows)throw new Error("Not a valid browser snapshot");return fin.Platform.wrapSync(e).applySnapshot(t,r)},getSnapshot:()=>fin.Platform.wrapSync(e).getSnapshot().then(e=>e),getViewSnapshot:t=>fin.Platform.wrapSync(e).getViewSnapshot(t),createView:(t,r,n)=>fin.Platform.wrapSync(e).createView(t,r,n),launchApp:async t=>{console.warn("launchApp method is deprecated. It is recommended to use createView - https://developers.openfin.co/of-docs/docs/platform-getting-started#add-a-view-to-an-existing-window or createWindow - https://developers.openfin.co/of-docs/docs/platform-getting-started#create-a-platform-window instead."),t.target||(t.target={uuid:o.$h,name:o.vL,entityType:o.fT||"unknown"});return(await(0,Z.N)(e)).dispatch(Z.OF.LaunchApp,t)},_invokeCustomAction:async(t,r)=>{const o=await(0,Z.N)(e),a={actionId:t,payload:{...r,callerType:r.callerType||n.vc.API}};return o.dispatch(Z.OF.InvokeCustomActionInternal,a)},_requestQuitPlatformDialog:async t=>(await(0,Z.N)(e)).dispatch(Z.OF.RequestQuitPlatformDialogInternal,t),_showUpdateVersionModal:async t=>(await(0,Z.N)(e)).dispatch(Z.OF.ShowUpdateVersionModalInternal,t),getCurrentWorkspace:async t=>(await(0,Z.N)(e)).dispatch(Z.OF.GetCurrentWorkspace,t),applyWorkspace:async(t,r)=>(await(0,Z.N)(e)).dispatch(Z.OF.ApplyWorkspace,{...t,options:r}),restoreLastSavedWorkspace:async t=>(await(0,Z.N)(e)).dispatch(Z.OF.RestoreLastSavedWorkspaceInternal,t),setActiveWorkspace:async t=>(await(0,Z.N)(e)).dispatch(Z.OF.SetActiveWorkspace,t),getLanguage:async()=>(await(0,Z.N)(e)).dispatch(Z.OF.GetLanguage),_getLanguageResources:async()=>(await(0,Z.N)(e)).dispatch(Z.OF.GetLanguageResourcesInternal),setLanguage:async t=>(await(0,Z.N)(e)).dispatch(Z.OF.SetLanguage,t),_raiseAnalytics:async t=>{if(r||(r=await(0,Z.KZ)(e)),"object"==typeof r&&r?.analytics?.isSupported){return(await(0,Z.N)(e)).dispatch(Z.OF.Analytics,t)}e.uuid},getNotificationsConfig:async()=>(await(0,Z.N)(e)).dispatch(Z.OF.GetNotificationsConfig),_refreshBookmarksInternal:async()=>(await(0,Z.N)(e)).dispatch(Z.OF.RefreshBookmarksInternal),_launchBookmarkInternal:async t=>(await(0,Z.N)(e)).dispatch(Z.OF.LaunchBookmarkInternal,t),_updateDockFavoritesInternal:async t=>(await(0,Z.N)(e)).dispatch(Z.OF.UpdateDockFavoritesInternal,t),_updateContentMenuInternal:async t=>(await(0,Z.N)(e)).dispatch(Z.OF.UpdateContentMenuInternal,t),_launchDockEntryInternal:async t=>(await(0,Z.N)(e)).dispatch(Z.OF.LaunchDockEntryInternal,t),_setDockFavoritesInternal:async t=>(await(0,Z.N)(e)).dispatch(Z.OF.SetDockFavoritesOrderInternal,t),_setDefaultDockButtonsOrderInternal:async t=>(await(0,Z.N)(e)).dispatch(Z.OF.SetDefaultDockButtonsOrderInternal,t),_removeDockFavoriteInternal:async t=>(await(0,Z.N)(e)).dispatch(Z.OF.RemoveDockFavoriteInternal,t),_addDockFavoriteInternal:async t=>(await(0,Z.N)(e)).dispatch(Z.OF.AddDockFavoriteInternal,t),_navigateContentMenuInternal:async t=>(await(0,Z.N)(e)).dispatch(Z.OF.NavigateContentMenuInternal,t),_openDockWorkspacesContextMenuInternal:async()=>(await(0,Z.N)(e)).dispatch(Z.OF.GetDockWorkspacesContextMenuInternal),_handleDockWorkspacesMenuResponseInternal:async t=>(await(0,Z.N)(e)).dispatch(Z.OF.HandleDockWorkspacesMenuResponseInternal,t),_refreshDockCollectionMenuInternal:async t=>(await(0,Z.N)(e)).dispatch(Z.OF.RefreshDockCollectionMenuInternal,t),_launchCollectionInternal:async t=>(await(0,Z.N)(e)).dispatch(Z.OF.LaunchCollectionInternal,t),_focusAndExpandSearchInternal:async()=>(await(0,Z.N)(e)).dispatch(Z.OF.FocusAndExpandSearchInternal),_showAboutPagePopup:async e=>(async e=>{const t=new URLSearchParams({...e,title:"About"}),r=await m(fin.me.identity),n=e.copyrightMessage?320:286,o=(0,h.Xq)(r,{height:n,width:360});return be({options:{frame:!0,smallWindow:!0,saveWindowState:!1,showTaskbarIcon:!0,includeInSnapshots:!1,workspacePlatform:{windowType:"enterprise"},resizable:!1,name:h.Q.AboutPageWindow,url:await p()+a.Ay.EnterpriseAboutPage,defaultWidth:360,defaultHeight:n,preventBlur:!0,...o},parameters:t})})(e),Theme:(0,me.NA)(e),Browser:ee(e),Storage:ve(e)})},we=()=>ye(fin.me.identity);const xe=(e,t)=>e.content?{...e,content:e.content.map(e=>xe(e,t))}:{...e,componentState:t(e.componentState)},_e=e=>({...e,name:void 0}),ke=e=>{const t={...e};return xe(t,_e)},Ce=e=>{const t=[];return(e&&Array.isArray(e)?e:[]).forEach(e=>{if("component"===e.type)return t.push(e.componentState);const r=Ce(e.content);t.push(...r)}),t};new Map,new Map;const Oe=async(e,t)=>{const r=(e=>{const t=fin.Platform.Layout.wrapSync(e);return{show:async()=>{const r=await t.getConfig(),{settings:n,dimensions:o}=r,a=await F(e);await t.replace({...r,settings:{...n,hasHeaders:!0,reorderEnabled:!0},dimensions:{...o,headerHeight:a?28:30}})},hide:async e=>{const r=await t.getConfig(),{settings:n,dimensions:o}=await r;await t.replace({...r,settings:{...n,hasHeaders:!1,reorderEnabled:e?.settings?.reorderEnabled??!1},dimensions:{...o,headerHeight:0}})},isShowingTabs:async()=>{try{const e=await t.getConfig(),{settings:r}=await e;return r.hasHeaders}catch(e){return console.error("failed to get layout config: ",e),!0}}}})({...h.$p,layoutName:e.layoutContainerKey}),n=await r.isShowingTabs();t>1?n||await r.show():1===t&&n&&await r.hide({settings:{reorderEnabled:!0}})},Pe=(W()(async e=>{try{if(!e||!e.layoutContainerKey)return;const t=await(async e=>fin.Platform.Layout.wrapSync({...fin.me.identity,layoutName:e}).getConfig())(e.layoutContainerKey),r=t.content?Ce(t.content):[],n=r.length;n>1?(async e=>{if("multiView"!==e.attachedPageType){const t=await we().Browser.getUniquePageTitle();we().Browser.wrapSync(h.$p).updatePage({pageId:e.pageId,page:{title:e.title??t,singleViewName:null,attachedPageType:"multiView"}})}})(e):1===n&&(async(e,t)=>{const r=we().Browser.wrapSync(h.$p);if("singleView"!==e.attachedPageType){const n=await q(e);delete n.layout,delete n.pageId;const o=fin.View.wrapSync({uuid:h.$p.uuid,name:t}),a=await o.getInfo(),i={...n,title:null,singleViewName:t,hasUnsavedChanges:!1,attachedPageType:"singleView",pageIcon:a.favicons[0]};await r.updatePage({pageId:e.pageId,page:i})}})(e,r[0].name),await Oe(e,n)}catch(e){}},50,{leading:!1,trailing:!0}),require("react-i18next"),require("i18next"));r.n(Pe)().t;new class{constructor(){this.queue=[],this.locked=!1}lock(){return new Promise(e=>{this.locked?this.queue.push(e):(this.locked=!0,e())})}unlock(){if(this.queue.length>0){const e=this.queue.shift();e&&e()}else this.locked=!1}};new Map;const je=g({alwaysOnTop:!0,autoShow:!1,frame:!1,resizable:!1,showTaskbarIcon:!1});!function(e=je){const t=new Map}();r(104);new Map;Date.now();W()(async()=>{const e=await fin.Platform.getCurrentSync().Application.getChildWindows();let t,r=!1;for(const n of e)if(n.identity.name===h.Q.BrowserMenu||n.identity.name===h.Q.BrowserSaveMenu?t=n:await(0,h.hb)(n.identity)&&(r=!0),r)break;!r&&t&&t.close()},100,{leading:!1,trailing:!0});var Se,Me;!function(e){e.Save="Save",e.SaveAs="SaveAs"}(Se||(Se={})),function(e){e.GlobalMenu="global-menu",e.ContextMenu="context-menu",e.RenameSupertab="rename-supertab",e.AddEditBookmark="add-edit-bookmark",e.DropdownMenu="dropdown-menu",e.ZoomControls="zoom-controls"}(Me||(Me={}));const Ie="visited-sites",$e="removed-tab-stack",Be=(o.AT&&o.cI&&j("openfin-home-pages","pages"),o.AT&&o.cI&&new _.Dexie(O("openfin-enterprise-site-history")));Be&&Be.version(.1).stores({[Ie]:"id, url"});const De=o.AT&&o.cI&&new _.Dexie(O("openfin-enterprise-tab-history"));De&&De.version(.1).stores({[$e]:""});var Te;!function(e){e.Label="normal",e.Separator="separator",e.Submenu="submenu",e.Checkbox="checkbox"}(Te||(Te={}));Te.Separator;r(995);new Map([["blue",{name:"Blue",color:"#0091EB"}],["indigo",{name:"Indigo",color:"#6450FF"}],["pink",{name:"Pink",color:"#E878CF"}],["teal",{name:"Teal",color:"#24D1D1"}],["green",{name:"Green",color:"#00AF78"}],["orange",{name:"Orange",color:"#FF7D37"}],["red",{name:"Red",color:"#F94144"}],["yellow",{name:"Yellow",color:"#F9C74F"}],["gray",{name:"Gray",color:"#828788"}]]);var Ee;!function(e){e[e.TopLeft=0]="TopLeft",e[e.TopRight=1]="TopRight",e[e.BottomLeft=2]="BottomLeft",e[e.BottomRight=3]="BottomRight",e[e.Center=4]="Center"}(Ee||(Ee={}));(0,Q.A)(`${"undefined"!=typeof fin&&fin?.me.identity.uuid}-enterprise-dock`);const Ae="dock-provider-configs",Fe=o.AT&&o.cI&&new _.Dexie(O("dock-provider-configs"));Fe&&Fe.version(.1).stores({[Ae]:""});const Re="workspaces";o.AT&&o.cI&&j("openfin-workspace-platform-workspaces",Re);r(250);r(179)},675:(e,t,r)=>{"use strict";r.d(t,{qT:()=>a,vc:()=>p});var n,o,a,i,l,c,s,u,d,f,p;r(179),r(250);!function(e){e.UrlChange="URL_CHANGE",e.ViewAdded="VIEW_ADDED",e.ViewRemoved="VIEW_REMOVED",e.PageContextAdded="PAGE_CONTEXT_ADDED",e.PageContextRemoved="PAGE_CONTEXT_REMOVED"}(n||(n={})),function(e){e.NewWindow="NewWindow",e.NewPage="NewPage",e.SavePage="SavePage",e.SavePageAs="SavePageAs",e.Print="Print",e.PrintAll="PrintAll",e.PrintScreen="PrintScreen",e.CloseWindow="CloseWindow",e.RestoreChanges="RestoreChanges",e.SaveWorkspace="SaveWorkspace",e.SaveWorkspaceAs="SaveWorkspaceAs",e.RenameWorkspace="RenameWorkspace",e.SwitchWorkspace="SwitchWorkspace",e.DeleteWorkspace="DeleteWorkspace",e.Downloads="Downloads",e.OpenStorefront="OpenStorefront",e.ManageDesktopSignals="ManageDesktopSignals",e.Appearance="Appearance",e.Quit="Quit",e.Custom="Custom"}(o||(o={})),function(e){e.Light="light",e.Dark="dark",e.System="system"}(a||(a={})),function(e){e.Close="Close",e.Duplicate="Duplicate",e.Rename="Rename",e.Save="Save",e.SaveAs="Save As",e.NewPage="New Page",e.DeletePage="Delete Page",e.SaveWorkspaceAs="SaveWorkspaceAs",e.Refresh="Refresh",e.CloseOthers="Close others",e.Delete="Delete",e.Print="Print",e.PrintAll="PrintAll",e.PrintScreen="PrintScreen",e.ManageDesktopSignals="ManageDesktopSignals",e.AddToChannel="AddToChannel",e.Custom="Custom"}(i||(i={})),function(e){e.Lock="Lock",e.ShowHideTabs="ShowHideTabs",e.AddToChanel="AddToChannel",e.ManageDesktopSignals="ManageDesktopSignals",e.Print="Print",e.Pin="Pin"}(l||(l={})),function(e){e.EditName="Edit Name",e.Move="Move",e.Delete="Delete"}(c||(c={})),function(e){e.NewView="NewView",e.DuplicateViews="DuplicateView",e.OpenWithDefaultBrowser="OpenWithDefaultBrowser",e.ReloadViews="ReloadTab",e.CloseViews="CloseTab",e.AddToChannel="AddToChannel",e.RemoveFromChannel="RemoveFromChannel",e.Back="Back",e.Forward="Forward",e.Print="Print",e.PrintAll="PrintAll",e.PrintScreen="PrintScreen",e.Custom="Custom"}(s||(s={})),function(e){e.ShowHideTabs="ShowHideTabs",e.ColorLinking="ColorLinking",e.PresetLayouts="PresetLayouts",e.LockUnlockPage="LockUnlockPage",e.SaveMenu="SaveMenu",e.SavePage="SavePage",e.Minimise="Minimise",e.Maximise="Maximise",e.Close="Close",e.Custom="Custom"}(u||(u={})),function(e){e.SavePage="SavePage",e.SaveWorkspace="SaveWorkspace",e.SavePageAs="SavePageAs",e.SaveWorkspaceAs="SaveWorkspaceAs",e.Custom="Custom"}(d||(d={})),function(e){e.Browser="browser",e.Platform="platform"}(f||(f={})),function(e){e.CustomButton="CustomButton",e.StoreCustomButton="StoreCustomButton",e.CustomDropdownItem="CustomDropdownItem",e.GlobalContextMenu="GlobalContextMenu",e.ViewTabContextMenu="ViewTabContextMenu",e.PageTabContextMenu="PageTabContextMenu",e.SaveButtonContextMenu="SaveButtonContextMenu",e.API="API"}(p||(p={}));var h;!function(e){e.SAVE_PAGE="SAVE_PAGE",e.SAVE_WORKSPACE="SAVE_WORKSPACE",e.SAVE_PAGE_AS="SAVE_PAGE_AS",e.SAVE_WORKSPACE_AS="SAVE_WORKSPACE_AS",e.RENAME_PAGE="RENAME_PAGE",e.RENAME_WORKSPACE="RENAME_WORKSPACE"}(h||(h={}))},248:(e,t,r)=>{"use strict";r.d(t,{H:()=>a});var n=r(438),o=r(786);const a=(e,t)=>{o.A.markStart(`${e}-registration`),(0,n.BY)().once("started",()=>o.A.markAndMeasure("workspace-app-started",`${e}-registration`));const r=fin.Window.wrapSync(t);r.once("initialized",()=>o.A.markAndMeasure(`${e}-window-initialized`,`${e}-registration`)),r.once("shown",()=>{o.A.markAndMeasure(`${e}-show`,`${e}-registration`)})}},870:(e,t,r)=>{"use strict";r.d(t,{xM:()=>l});var n=r(995);class o extends Error{constructor(e,t){const r=(0,n.titleCase)(e);super(`${r} Provider. ${r} Provider${t?` with id ${t}`:""} is not currently registered.`)}}class a extends Error{constructor(e,t){const r=(0,n.titleCase)(e);super(`${r} Provider. ${r} Provider${t?` with id ${t}`:""} is already registered. Call \`deregister\` before registering again.`)}}class i extends Error{constructor(e,t){const r=(0,n.titleCase)(e);super(`Failed to get ${r} Provider. ${r} Provider with id ${t} is not currently registered.`)}}class l{constructor(e){this.providersMap=new Map,this.providerType=e}assertNotAlreadyRegistered(e){if(this.hasProvider(e))throw new a(this.providerType,e)}assertRegistered(e){if(!this.hasProvider(e))throw new o(this.providerType,e)}getProvider(e){return this.providersMap.get(e)}hasProvider(e){return this.providersMap.has(e)}setProvider(e){this.providersMap.set(e.id,e)}deleteProvider(e){this.providersMap.delete(e)}getProviderOrFail(e){const t=this.getProvider(e);if(!t)throw new i(this.providerType,e);return t}clearProviders(){this.providersMap.clear()}}},129:()=>{"use strict";var e,t,r;!function(e){e.Fetching="fetching",e.Fetched="fetched",e.Complete="complete"}(e||(e={})),function(e){e.UserAction="user-action",e.FocusChange="focus-change",e.Reload="reload"}(t||(t={})),function(e){e.Active="active",e.Default="default"}(r||(r={}))},600:(e,t,r)=>{"use strict";var n;!function(e){e.ActionButton="ActionButton",e.DropdownButton="DropdownButton"}(n||(n={}))},872:(e,t,r)=>{"use strict";var n,o,a;r.d(t,{PK:()=>n,fC:()=>o,oo:()=>a}),function(e){e.Suggestion="suggestion"}(n||(n={})),function(e){e.Contact="Contact",e.Custom="Custom",e.List="List",e.Plain="Plain",e.SimpleText="SimpleText",e.Loading="Loading",e.Error="Error"}(o||(o={})),function(e){e.MultiSelect="MultiSelect"}(a||(a={}))},179:(e,t,r)=>{"use strict";r(129),r(872),r(710),r(184),r(600)},710:(e,t,r)=>{"use strict";var n,o;!function(e){e.Snapshot="snapshot",e.Manifest="manifest",e.View="view",e.External="external"}(n||(n={})),function(e){e.LandingPage="landingPage",e.AppGrid="appGrid"}(o||(o={}))},184:(e,t,r)=>{"use strict";var n;!function(e){e.Primary="primary",e.Secondary="secondary",e.TextOnly="textOnly"}(n||(n={}))},250:(e,t,r)=>{"use strict";var n;!function(e){e.Left="Left",e.Right="Right",e.Top="Top",e.Bottom="Bottom"}(n||(n={}))},326:(e,t,r)=>{"use strict";r.d(t,{Hc:()=>u,aQ:()=>p,p4:()=>i});var n=r(102);r(70);const o=(e,t)=>t?`${t}-${e.uuid}-${e.name}`:`__browser_window__-${e.uuid}-${e.name}`,a=new Map,i=(e,t)=>{const r=o(e,t);return i=r,a.has(i)||a.set(i,(0,n.A)(i)),a.get(i)();var i};var l,c,s,u,d,f;!function(e){e.CloseBrowserWindow="close-browser-window",e.QuitPlatform="quit-platform",e.ClosePage="close-page",e.AddToChannel="add-to-channel",e.RemoveFromChannel="remove-from-channel",e.OpenSaveModalInternal="open-save-modal-internal",e.DuplicatePage="duplicate-page",e.SetSelectedScheme="set-selected-scheme",e.ShowBrowserIndicator="show-browser-indicator",e.SetSelectedLanguage="set-selected-language",e.RefreshBookmarksInternal="refresh-bookmarks",e.GetLayoutsWithSelectedViewsInternal="get-layouts-with-selected-views",e.FocusAndExpandSearchInternal="focus-and-expand-search"}(l||(l={})),function(e){e.GetPages="get-pages",e.GetActivePageForWindow="get-active-page-for-window",e.AttachPagesToWindow="attach-pages-to-window",e.DetachPagesFromWindow="detach-pages-from-window",e.SetActivePageForWindow="set-active-page-for-window",e.RenamePage="rename-page",e.ReorderPagesForWindow="reorder-pages-for-window",e.UpdatePageForWindow="update-page-for-window",e.UpdatePagesWindowOptions="update-pages-window-options",e.IsDetachingPages="is-detaching-pages",e.IsActivePageChanging="is-active-page-changing"}(c||(c={})),function(e){e.GetApps="get-apps",e.GetCuratedContent="get-curated-content",e.GetRecentlyVisited="get-recently-visited",e.GetSearchProviders="get-search-providers"}(s||(s={})),function(e){e.CreateBookmarkNode="create-bookmark-node",e.GetBookmarkNode="get-bookmark-node",e.SearchBookmarkNodes="search-bookmark-nodes",e.UpdateBookmarkNode="update-bookmark-node",e.DeleteBookmarkNode="delete-bookmark-node"}(u||(u={})),function(e){e.UpdateFavoriteEntries="update-favorite-entries",e.UpdateContentMenu="update-content-menu",e.NavigateContentMenu="navigate-content-menu",e.MoreMenuCustomOptionClicked="more-menu-custom-option-clicked",e.RefreshDockCollectionMenu="refresh-dock-collection-menu"}(d||(d={})),function(e){e.SendUpdateVersionModalResponse="send-update-version-modal-response",e.SendIntentResolverModalResponse="send-intent-resolver-modal-response"}(f||(f={}));const p={...l,...c,...d}},79:(e,t,r)=>{"use strict";var n;r.d(t,{KZ:()=>a,N:()=>i,OF:()=>n,bW:()=>l}),function(e){e.LaunchApp="launchApp",e.SavePage="savePage",e.GetSavedPage="getSavedPage",e.CreateSavedPage="createSavedPage",e.UpdateSavedPage="updateSavedPage",e.DeleteSavedPage="deleteSavedPage",e.GetSavedPages="getSavedPages",e.CreateSavedPageInternal="createSavedPageInternal",e.UpdateSavedPageInternal="updateSavedPageInternal",e.DeleteSavedPageInternal="deleteSavedPageInternal",e.UpdatePageForWindow="updatePageForWindow",e.AttachPagesToWindow="attachPagesToWindow",e.DetachPagesFromWindow="detachPagesFromWindow",e.ReorderPagesForWindow="reorderPagesForWindow",e.SetActivePage="setActivePage",e.AddPage="addPage",e.AddDefaultPage="addDefaultPage",e.GetAllAttachedPages="getAllAttachedPages",e.GetActivePageIdForWindow="getActivePageIdForWindow",e.GetPagesForWindow="getPagesForWindow",e.GetPageForWindow="getPageForWindow",e.GetSavedPageMetadata="getSavedPageMetadata",e.GetUniquePageTitle="getUniquePageTitle",e.GetLastFocusedBrowserWindow="getLastFocusedBrowserWindow",e.GetPageByViewIdentity="getPageByViewIdentity",e.GetThemes="getThemes",e.GetSelectedScheme="getSelectedScheme",e.SetSelectedScheme="setSelectedScheme",e.OpenGlobalContextMenuInternal="openGlobalContextMenuInternal",e.OpenViewTabContextMenuInternal="openViewTabContextMenuInternal",e.OpenPageTabContextMenuInternal="openPageTabContextMenuInternal",e.OpenSaveButtonContextMenuInternal="openSaveButtonContextMenuInternal",e.InvokeCustomActionInternal="invokeCustomActionInternal",e.RequestQuitPlatformDialogInternal="requestQuitPlatformDialogInternal",e.GetSavedWorkspace="getSavedWorkspace",e.CreateSavedWorkspace="createSavedWorkspace",e.UpdateSavedWorkspace="updateSavedWorkspace",e.DeleteSavedWorkspace="deleteSavedWorkspace",e.GetSavedWorkspaces="getSavedWorkspaces",e.GetSavedWorkspacesMetadata="getSavedWorkspacesMetadata",e.SaveWorkspace="saveWorkspace",e.GetCurrentWorkspace="getCurrentWorkspace",e.ApplyWorkspace="applyWorkspace",e.RestoreLastSavedWorkspaceInternal="restoreLastSavedWorkspaceInternal",e.SetActiveWorkspace="setActiveWorkspace",e.IsBrowserInitialized="isBrowserInitialized",e.Analytics="analyticsInternal",e.GetLanguage="getLanguage",e.GetLanguageResourcesInternal="getLanguageResourcesInternal",e.SetLanguage="setLanguage",e.GetDockProviderConfig="getDockProviderConfig",e.SaveDockProviderConfig="saveDockProviderConfig",e.HandleSaveModalOnPageClose="handleSaveModalOnPageClose",e.ShouldPageClose="shouldPageClose",e.ShouldWindowClose="shouldWindowClose",e.CopyPage="copyPage",e.HandlePageChanges="handlePageChanges",e.MarkUnsavedPagesAsSavedInternal="markUnsavedPagesAsSavedInternal",e.TrackRemovedTabInternal="trackRemovedTabInternal",e.RestoreRemovedTabInternal="restoreRemovedTabInternal",e.TrackVisitedSiteInternal="trackVisitedSiteInternal",e.GetRecentlyVisitedSitesInternal="getRecentlyVisitedSitesInternal",e.GetFrequentlyVisitedSitesInternal="getFrequentlyVisitedSitesInternal",e.SearchSitesInternal="searchSitesInternal",e.GetSearchProvidersInternal="getSearchProvidersInternal",e.GetCuratedContentInternal="getCuratedContentInternal",e.HandleRequestNavigationInternal="handleRequestNavigationInternal",e.RefreshBookmarksInternal="refreshBookmarksInternal",e.LaunchBookmarkInternal="launchBookmarkInternal",e.GetNotificationsConfig="getNotificationsConfig",e.UpdateDockFavoritesInternal="updateDockFavoritesInternal",e.UpdateContentMenuInternal="updateContentMenuInternal",e.LaunchDockEntryInternal="launchDockEntryInternal",e.SetDockFavoritesOrderInternal="setDockFavoritesOrderInternal",e.NavigateContentMenuInternal="navigateContentMenuInternal",e.SetDefaultDockButtonsOrderInternal="setDefaultDockButtonsOrderInternal",e.GetDockWorkspacesContextMenuInternal="getDockWorkspacesContextMenuInternal",e.HandleDockWorkspacesMenuResponseInternal="handleDockWorkspacesMenuResponseInternal",e.RefreshDockCollectionMenuInternal="refreshDockCollectionMenuInternal",e.LaunchCollectionInternal="launchCollectionInternal",e.RemoveDockFavoriteInternal="removeDockFavoriteInternal",e.AddDockFavoriteInternal="addDockFavoriteInternal",e.FocusAndExpandSearchInternal="focusAndExpandSearchInternal",e.SendUpdateVersionModalResponseInternal="sendUpdateVersionModalResponseInternal",e.ShowUpdateVersionModalInternal="showUpdateVersionModalInternal"}(n||(n={}));const o=async e=>fin.Platform.wrapSync(e).getClient(),a=async e=>{const t=await o(e),r="Target is not a Workspace Platform. Target must call WorkspacePlatform.init";let n;try{n=await t.dispatch("isWorkspacePlatform")}catch(e){throw new Error(r)}if("boolean"==typeof n&&n)return console.warn("You are using an older version of the workspace platform. Please update your workspace platform."),n;if("object"==typeof n&&n.isWorkspacePlatform)return n;throw new Error(r)},i=async e=>(await a(e),o(e)),l=async e=>{const t=await a(e);if("object"==typeof t&&!0!==t?.isBrowserInitialized)throw new Error("Target is not a Browser-enabled Workspace Platform.");return o(e)}},695:(e,t,r)=>{"use strict";r.d(t,{N7:()=>g,gj:()=>f,nA:()=>h,p4:()=>u});var n=r(102),o=r(723),a=r(70),i=r(905),l=r(104),c=r(396);const s=(0,n.A)("__of_workspace_protocol__"),u=s,d=s,f=(0,n.A)(i.BT),p=e=>{const t=new URL(e);return t.searchParams.append("isLaunchedViaLib","true"),t.toString()},h=async()=>{if(!await(0,a.C)(a.xt)){if(o.jw||-1===navigator.userAgent.indexOf("Win"))return void await fin.Application.startFromManifest(p(o.m7));await fin.System.openUrlWithBrowser(p(o.t8))}},g=async()=>{const e=(0,l.v)(),t=e.getThemePaletteSheet(),r=e.getScheme(),n=e.getThemePalette();return await h(),await(0,c.tT)({themePaletteSheet:t,selectedScheme:r,themePalette:n}),d()}},905:(e,t,r)=>{"use strict";r.d(t,{BT:()=>n,Zo:()=>a});const n="__search-openfin-browser-home-topic__";var o,a;!function(e){e.Fetching="fetching",e.Fetched="fetched",e.Complete="complete"}(o||(o={})),function(e){e[e.Initial=0]="Initial",e[e.Open=1]="Open",e[e.Close=2]="Close"}(a||(a={}))},957:(e,t,r)=>{"use strict";r.d(t,{qq:()=>_,l5:()=>k});var n=r(389),o=r(898),a=r(70),i=r(14),l=r(675),c=r(877),s=r.n(c),u=r(67),d=r.n(u);const f={light:{symbol:d()?.src||""},dark:{symbol:s()?.src||""}};r(695);var p=r(79);const h="dark",g={[n.Palette.brandPrimary]:"#0A76D3",[n.Palette.brandPrimaryActive]:"#0A71C9",[n.Palette.brandPrimaryHover]:"#0B84EB",[n.Palette.brandPrimaryFocused]:n.Color.white,[n.Palette.brandPrimaryText]:n.Color.white,[n.Palette.statusSuccess]:n.Color.functional1,[n.Palette.statusWarning]:n.Color.functional10,[n.Palette.statusCritical]:n.Color.functional7,[n.Palette.statusActive]:n.Color.functional3,[n.Palette.contentBackground1]:"#0A76D3",[n.Palette.contentBackground2]:"#000000",[n.Palette.contentBackground3]:"#000000",[n.Palette.contentBackground4]:"#000000",[n.Palette.contentBackground5]:"#000000",[n.Palette.borderNeutral]:n.Color.silverGray},b={...g,[n.Palette.background1]:n.Color.white,[n.Palette.background2]:n.Color.lightGray1,[n.Palette.background3]:n.Color.lightGray2,[n.Palette.background4]:n.Color.lightGray3,[n.Palette.background5]:n.Color.lightGray4,[n.Palette.background6]:n.Color.lightGray5,[n.Palette.brandSecondary]:n.Color.lightGray4,[n.Palette.brandSecondaryActive]:n.Color.lightGray4Active,[n.Palette.brandSecondaryHover]:n.Color.lightGray4Hover,[n.Palette.brandSecondaryFocused]:n.Color.darkGray5,[n.Palette.brandSecondaryText]:n.Color.darkGray5,[n.Palette.inputBackground]:n.Color.lightGray3,[n.Palette.inputColor]:n.Color.darkGray5,[n.Palette.inputPlaceholder]:n.Color.darkGray2,[n.Palette.inputDisabled]:n.Color.neutralGray,[n.Palette.inputFocused]:n.Color.lightGray5,[n.Palette.inputBorder]:n.Color.neutralGray,[n.Palette.textDefault]:n.Color.darkGray5,[n.Palette.textHelp]:n.Color.darkGray3,[n.Palette.textInactive]:n.Color.neutralGray},v={...g,[n.Palette.background1]:n.Color.darkGray6,[n.Palette.background2]:n.Color.darkGray5,[n.Palette.background3]:n.Color.darkGray4,[n.Palette.background4]:n.Color.darkGray3,[n.Palette.background5]:n.Color.darkGray2,[n.Palette.background6]:n.Color.darkGray1,[n.Palette.brandSecondary]:n.Color.darkGray2,[n.Palette.brandSecondaryActive]:n.Color.darkGray2Active,[n.Palette.brandSecondaryHover]:n.Color.darkGray2Hover,[n.Palette.brandSecondaryFocused]:n.Color.white,[n.Palette.brandSecondaryText]:n.Color.white,[n.Palette.inputBackground]:n.Color.darkGray1,[n.Palette.inputColor]:n.Color.white,[n.Palette.inputPlaceholder]:n.Color.lightGray5,[n.Palette.inputDisabled]:n.Color.neutralGray,[n.Palette.inputFocused]:n.Color.lightGray5,[n.Palette.inputBorder]:n.Color.neutralGray,[n.Palette.textDefault]:n.Color.white,[n.Palette.textHelp]:n.Color.lightGray5,[n.Palette.textInactive]:n.Color.neutralGray},m=[{label:"OpenFin Default Light and Dark Theme",palettes:{light:{...b,backgroundPrimary:n.Color.darkGray5},dark:{...v,backgroundPrimary:n.Color.darkGray5}}}],y=e=>{const{background:t,foreground:r}=e;return{background:t,foreground:r??"#FFFFFF"}},w=(e,t)=>({icons:{symbol:e.brand?.icons?.[t]?.symbol||f[t].symbol}}),x=e=>{const{light:t,dark:r}="palettes"in e?e.palettes:{light:e.palette,dark:e.palette},a=(0,o.KD)(v,r),i=(0,o.KD)(b,t),l=((e,t)=>{const r={...e},n={...t};let a=t.backgroundPrimary?(0,o.pu)(t.backgroundPrimary,!0):{},i=e.backgroundPrimary?(0,o.pu)(e.backgroundPrimary):{};return a={...a,...n},i={...i,...r},{light:{...t,...a},dark:{...e,...i}}})(r,t),c={...(0,n.createTheme)({...a,...l?.dark}),brand:w(e,"dark")},s={...(0,n.createTheme)({...i,...l?.light}),brand:w(e,"light")},{light:u,dark:d}=(e=>{const t=Object.keys(e.notificationIndicatorColors??{});if(t?.length){const r={},n={};return t.forEach(t=>{const o=e.notificationIndicatorColors[t];"background"in o?(r[t]=y(o),n[t]=y(o)):(r[t]=y(o.dark??o.light),n[t]=y(o.light??o.dark))}),{light:n,dark:r}}return{light:null,dark:null}})(e);return c.notificationIndicatorColors=d,s.notificationIndicatorColors=u,{dark:c,light:s}},_=async e=>{const{themes:t,selectedScheme:r}=await(async e=>{const t=fin?.__internal_?.initialOptions?.workspacePlatform?._themeData;if(!t||e.uuid!==a.$p.uuid)return{themes:await(0,i.Ag)(e).Theme.getThemes(),selectedScheme:await(0,i.Ag)(e).Theme.getSelectedScheme()};return t})(e),n=Array.isArray(t)&&t?.length||t.dark?t:m;var o,l;return(o=n,l=r,(Array.isArray(o)&&o).map(e=>{const t="palettes"in e?e.default:h,{light:r,dark:n}=x(e);return{label:e.label,logoUrl:e.logoUrl,theme:{dark:n,light:r},defaultScheme:l??t}}))[0]},k=async e=>{const t=await(0,p.N)(e||fin.me.identity),r=await t.dispatch(p.OF.GetSelectedScheme,void 0);return r===l.qT.System?window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light":r}},438:(e,t,r)=>{"use strict";r.d(t,{BY:()=>u,MW:()=>n,v1:()=>s});var n,o,a=r(723);!function(e){e.Workspace="openfin-workspace",e.OldWorkspace="openfin-browser"}(n||(n={})),function(e){e.FinProtocol="fin-protocol"}(o||(o={}));const i={uuid:a.$h},l={uuid:n.Workspace},c=e=>{if(!a.cI)throw new Error("getApplication cannot be used in a non OpenFin env. Avoid using this during pre-rendering.");return fin.Application.wrapSync(e)},s=()=>c(i),u=()=>c(l)},102:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var n=r(723);const o=n.YY&&"complete"!==document.readyState&&new Promise(e=>document.addEventListener("readystatechange",()=>{"complete"===document.readyState&&e()}));function a(e){let t;const r=new Set;return()=>{if(!n.cI)throw new Error("getChannelClient cannot be used outside an OpenFin env. Avoid using this method during pre-rendering.");return t||(t=(async()=>{await o;const a={clientAPIVersion:n.et},i=await fin.InterApplicationBus.Channel.connect(e,{payload:a});return i.onDisconnection(async()=>{r.forEach(e=>e()),r.clear(),console.warn(`disconnected from channel provider ${e}`),t=void 0}),i})().then(e=>(e.addDisconnectionListener=e=>{r.add(e)},e)).catch(r=>{throw t=void 0,new Error(`failed to connect to channel provider ${e}: ${r}`)})),t}}},723:(e,t,r)=>{"use strict";var n;r.d(t,{$h:()=>c,AT:()=>i,Hd:()=>f,YY:()=>a,bD:()=>b,cI:()=>o,et:()=>v,fT:()=>u,jw:()=>d,m7:()=>h,t8:()=>p,vL:()=>s}),function(e){e.Local="local",e.Dev="dev",e.Staging="staging",e.Prod="prod"}(n||(n={}));const o="undefined"!=typeof window&&"undefined"!=typeof fin,a=("undefined"==typeof process||process.env,"undefined"!=typeof window),i=a&&"undefined"!=typeof indexedDB,l=a?window.origin:n.Local,c=o&&fin.me.uuid,s=o&&fin.me.name,u=o&&fin.me.entityType,d="prod"===n.Local,f=(n.Dev,n.Staging,"prod"===n.Prod),p="fins://system-apps/workspace",h="https://workspace.openfin.co/workspace/23.0.0/app.json",g=e=>e.startsWith("http://")||e.startsWith("https://")?e:l+e,b=(g("https://workspace.openfin.co/workspace/23.0.0"),g("https://workspace.openfin.co/workspace/23.0.0")),v=("undefined"!=typeof WORKSPACE_DOCS_PLATFORM_URL&&g(WORKSPACE_DOCS_PLATFORM_URL),"undefined"!=typeof WORKSPACE_DOCS_CLIENT_URL&&g(WORKSPACE_DOCS_CLIENT_URL),"23.0.0");"undefined"!=typeof WORKSPACE_BUILD_SHA&&WORKSPACE_BUILD_SHA},141:(e,t,r)=>{"use strict";var n;r.d(t,{A:()=>o}),function(e){e.CurrentWorkspaceId="currentWorkspaceId",e.LastFocusedBrowserWindow="lastFocusedBrowserWindow",e.MachineName="machineName",e.NewTabPageLayout="NewTabPageLayout",e.NewTabPageSort="NewTabPageSort",e.DockPosition="DockPosition",e.SelectedColorScheme="SelectedColorScheme",e.ThemePaletteSheet="ThemePaletteSheet",e.HasMovedStore="HasMovedStore",e.PageDragState="BrowserPageDragState",e.ThemePaletteDefaultScheme="ThemePaletteDefaultScheme"}(n||(n={}));const o=n},822:(e,t,r)=>{"use strict";r.d(t,{R:()=>o});const n=(e,...t)=>{const r=console[e];try{r(...t.map(e=>"object"==typeof e?JSON.stringify(e,null,2):e))}catch(e){console.error("Error printing stringified log, logging directly",e),r(...t)}},o={debug:(...e)=>n("debug",...e),info:(...e)=>n("info",...e),warn:(...e)=>n("warn",...e),error:(...e)=>n("error",...e),trace:(...e)=>n("trace",...e)}},189:(e,t,r)=>{"use strict";r.r(t),r.d(t,{createNamespacedLocalStorage:()=>o,getItem:()=>l,removeItem:()=>c,setItem:()=>i});var n=r(723);const o=e=>({setItem:(t,r)=>{localStorage.setItem(`${e}-${t}`,r)},getItem:t=>localStorage.getItem(`${e}-${t}`),removeItem:t=>localStorage.removeItem(`${e}-${t}`)}),a=o(n.$h),i=a.setItem,l=a.getItem,c=a.removeItem},786:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});const n="of-workspace-";const o=new class{mark(e){performance.mark(`${n}${e}`)}markStart(e){performance.mark(`${n}${e}-start`)}markEnd(e){performance.mark(`${n}${e}-end`)}markEndAndMeasure(e){performance.mark(`${n}${e}-end`);try{return performance.measure(`${n}${e}`,`${n}${e}-start`,`${n}${e}-end`)}catch(e){0}}markAndMeasure(e,t){performance.mark(`${n}${e}`);try{return performance.measure(`${n}${e}-measure`,`${n}${t}-start`,`${n}${e}`)}catch(e){0}}reportWorkspacePerformanceEntries(){return performance.getEntriesByType("measure").filter(e=>e.name.startsWith(n))}reportWorkspacePerformance(){return this.reportWorkspacePerformanceEntries().map(e=>({name:e.name.replace(`${n}`,"").replace("-measure",""),duration:e.duration}))}}},181:(e,t,r)=>{"use strict";var n,o;r.d(t,{Ay:()=>l}),function(e){e.Home="/home/",e.HomeSearch="/home/?deeplink=search",e.HomePagesRename="/home/pages/rename/",e.Dock="/dock/",e.Docs="/provider/docs/",e.Storefront="/storefront/",e.DeprecatedAlert="/provider/deprecated-alert/",e.Analytics="/provider/analytics/",e.Provider="/provider/"}(n||(n={})),function(e){e.Browser="/browser/",e.BrowserPopupMenu="/popup-menu/",e.BrowserPopupMenuSaveModal="/popup-menu/save-modal/",e.BrowserPopupMenuLayouts="/popup-menu/layouts/layouts/",e.BrowserPopupMenuColorLinking="/popup-menu/color-linking/color-linking/",e.BrowserIndicator="/indicator/",e.BrowserPopupMenuAddressSearchResultsView="/popup-menu/address-search-results-view/",e.ResponseModal="/popup-menu/response-modal/",e.CloseConfirmationModal="/popup-menu/close-confirmation-modal/",e.EnterpriseBrowser="/enterprise/",e.EnterpriseLandingPage="/enterprise/landing/",e.EnterpriseContextMenu="/context-menu/",e.EnterpriseBookmarkDialog="/bookmark-dialog/",e.EnterpriseAboutPage="/popup-menu/about/",e.DropdownMenu="/dropdown-menu/",e.EnterpriseDock="/dock/",e.ZoomControlsDialog="/zoom-controls-dialog/",e.DesktopSignalsModal="/popup-menu/desktop-signals-modal/",e.IntentsResolverModal="/popup-menu/intents-resolver-modal/"}(o||(o={}));const a={...n,...o};var i;!function(e){e.Search="search"}(i||(i={}));const l=a},523:(e,t,r)=>{"use strict";r.d(t,{Tt:()=>a});var n,o=r(723);!function(e){e.Home="/home",e.Browser="/browser",e.Enterprise="/enterprise",e.Provider="/provider",e.Storefront="/storefront",e.Dock="/dock"}(n||(n={}));function a(e,t){if(!o.YY)throw new Error("resolveAbsolutePath can only be used in a window");const r=t??window.location;if(/^(?:[a-z]+:)?\/\//i.test(e))return e;const n=`${r.protocol}//${r.hostname}`;return new URL(e,n).href}},898:(e,t,r)=>{"use strict";r.d(t,{KD:()=>c,b4:()=>i,pu:()=>l});const n=e=>e.replace(/[^\d,]/g,"").split(","),o=e=>{if(e.length<2)throw new Error("Invalid color object, cannot convert to HSL.");const t=e[0]/255,r=e[1]/255,n=e[2]/255,o=Math.min(t,r,n),a=Math.max(t,r,n),i=a-o;let l=0,c=0,s=0;return l=0===i?0:a===t?(r-n)/i%6:a===r?(n-t)/i+2:(t-r)/i+4,l=Math.round(60*l),l<0&&(l+=360),s=(a+o)/2,c=0==i?0:i/(1-Math.abs(2*s-1)),c=+(100*c).toFixed(1),s=+(100*s).toFixed(1),{hsl:`hsl(${l}, ${c}%, ${s}%)`,hsla:`hsl(${l}, ${c}%, ${s}%, 1)`,hue:l,lightness:s,saturation:c}},a=e=>{if(!e.includes("#"))throw new Error("Invalid hex value, cannot convert to RGB. Hex value begins with a hashtag.");let t=0,r=0,n=0;if(4===e.length)t=`0x${e[1]}${e[1]}`,r=`0x${e[2]}${e[2]}`,n=`0x${e[3]}${e[3]}`;else{if(7!==e.length)throw new Error("Invalid hex string length, cannot convert to RGB.");t=`0x${e[1]}${e[2]}`,r=`0x${e[3]}${e[4]}`,n=`0x${e[5]}${e[6]}`}return[+t,+r,+n]},i=e=>{const t=e;if(t.startsWith("#")){return{rgb:a(t).join(", "),alpha:1}}const r=t.match(/\d{1,3}(\.\d+)?/g);if(r){const[e,t,n,o]=r;return{rgb:`${e}, ${t}, ${n}`,alpha:void 0!==o?parseFloat(o):1}}return{rgb:a(e).join(", "),alpha:1}},l=(e,t=!1)=>{const r=(e=>{if(!e)throw new Error("Color is not defined");const t=e.toLowerCase();let r;if(t.includes("rgb")){const e=n(t);e.length>3&&e.pop(),r=o(e).hue}if(t.includes("#")){const e=a(t);r=o(e).hue}t.includes("hsl")&&(r=n(t)[0]);const i=r?.toString();if(!i)throw new Error(`Hue was unable to be extracted from "${t}", check color format. Accepted formats are: rgb(), rgba(), hex, hsl(), and hsla()`);return i})(e);return t?{background1:`hsla(${r}, 0%, 100%, 1)`,background2:`hsla(${r}, 67%, 99%, 1)`,background3:`hsla(${r}, 26%, 96%, 1)`,background4:`hsla(${r}, 15%, 94%, 1)`,background5:`hsla(${r}, 10%, 88%, 1)`,background6:`hsla(${r}, 80%, 80%, 1)`}:{background1:`hsla(${r}, 8%, 7%, 1)`,background2:`hsla(${r}, 8%, 13%, 1)`,background3:`hsla(${r}, 9%, 15%, 1)`,background4:`hsla(${r}, 6%, 23%, 1)`,background5:`hsla(${r}, 21%, 28%, 1)`,background6:`hsla(${r}, 5%, 51%, 1)`}},c=(e,t)=>{const r={};return Object.keys(e).forEach(n=>{r[n]=t[n]?t[n]:e[n]}),r}},277:(e,t,r)=>{"use strict";r.d(t,{GR:()=>l});var n,o=r(723),a=r(70);r(14);!function(e){e.Browser="Browser",e.Dock="Dock",e.EnterpriseDock="EnterpriseDock",e.Home="Home",e.Notification="Notification",e.Storefront="Storefront",e.Platform="Platform",e.Theming="Theming",e.Microflow="Microflow"}(n||(n={}));const i=async(e,t,r="workspace-licensing")=>{const n={apiVersion:t.apiVersion||o.et,componentName:e,componentVersion:t.componentVersion||o.et,allowed:t.allowed,rejectionCode:t.rejectionCode};fin.System.registerUsage({type:r,data:n})};const l=e=>{a.F2.uuid===a.$p.uuid&&a.F2.name===a.$p.name||i(n.Home,e)};new Map},333:(e,t,r)=>{"use strict";function n(){return void 0!==typeof crypto&&"randomUUID"in crypto&&"function"==typeof crypto.randomUUID?crypto.randomUUID():"10000000-1000-4000-8000-100000000000".replace(/[018]/g,e=>(e^crypto.getRandomValues(new Uint8Array(1))[0]&15>>e/4).toString(16))}r.d(t,{N:()=>n})},70:(e,t,r)=>{"use strict";r.d(t,{$p:()=>s,C:()=>h,F2:()=>u,Io:()=>p,Iq:()=>c,Q:()=>n,VE:()=>i,Xq:()=>l,hb:()=>f,jz:()=>g,xt:()=>d});var n,o=r(438),a=r(723);!function(e){e.Home="openfin-home",e.Dock="openfin-dock",e.Storefront="openfin-storefront",e.HomeInternal="openfin-home-internal",e.BrowserMenu="openfin-browser-menu",e.BrowserSaveMenu="openfin-browser-save-menu",e.DockSaveWorkspaceMenu="openfin-dock3-save-workspace-menu",e.BrowserIndicator="openfin-browser-indicator",e.BrowserWindow="internal-generated-window",e.ClassicWindow="internal-generated-classic-window",e.EnterpriseContextMenu="openfin-enterprise-context-menu",e.BrowserAddressSearchPrefix="openfin-browser-menu-address-search-",e.EnterpriseBookmarkDialogWindow="openfin-enterprise-bookmark-dialog",e.DropdownMenu="openfin-enterprise-dropdown-menu",e.DockCompanion="openfin-dock-companion",e.AICompanionPrefix="openfin-ai-companion-",e.UpdateVersionModal="here-update-version-modal",e.ZoomControlsDialog="here-zoom-controls-dialog",e.AboutPageWindow="here-about-page",e.DesktopSignalsModal="here-desktop-signals-modal",e.IntentsResolverModal="here-intents-resolver-modal"}(n||(n={}));const i=e=>({left:(e.left+e.right)/2,top:(e.top+e.bottom)/2}),l=(e,t)=>{const r=t.width/2,n=t.height/2;return{left:Math.round(e.left-r),top:Math.round(e.top-n),width:t.width,height:t.height}};function c(e){if(!a.cI)throw new Error("getOFWindow can only be used in an OpenFin env. Avoid calling this method during pre-rendering.");return fin.Window.wrapSync(e)}const s={name:a.vL,uuid:a.$h};const u={name:n.Home,uuid:o.MW.Workspace},d=(n.Dock,o.MW.Workspace,n.Storefront,o.MW.Workspace,{name:o.MW.Workspace,uuid:o.MW.Workspace});const f=async e=>{try{const t=await fin.Window.wrapSync({name:e.name,uuid:e.uuid??fin.me.uuid}).getOptions();return("browser"===t.workspacePlatform?.windowType||"enterprise"===t.workspacePlatform?.windowType)&&t.workspacePlatform?.pages}catch(e){return console.warn("isBrowserWindow error: ",e),!1}};async function p(){const e=await fin.Application.getCurrentSync().getChildWindows(),t=await Promise.all(e.map(async e=>f(e.identity)));return e.filter((e,r)=>t[r])}const h=e=>c(e).getInfo().then(()=>!0).catch(()=>!1);async function g(e){const t=await fin.System.getMonitorInfo();return[t.primaryMonitor,...t.nonPrimaryMonitors].reduce((t,r)=>{const n=function(e,t){const r=e.top,n=e.left,o=e.top+e.height,a=e.left+e.width,i=t.monitorRect.top,l=t.monitorRect.left,c=t.monitorRect.bottom,s=t.monitorRect.right;if(r>c||o<i||n>s||a<l)return 0;const u=Math.max(r,i),d=Math.max(n,l);return(Math.min(o,c)-u)*(Math.min(a,s)-d)/(e.height*e.width)}(e,r);return n>t.percentage?{percentage:n,monitor:r}:t},{percentage:0,monitor:t.primaryMonitor}).monitor}},389:(e,t,r)=>{var n={6557:(e,t,r)=>{r.r(t),r.d(t,{default:()=>l});var n=r(6758),o=r.n(n),a=r(935),i=r.n(a)()(o());i.push([e.id,".react-calendar {\n width: 350px;\n max-width: 100%;\n background: white;\n border: 1px solid #a0a096;\n font-family: 'Arial', 'Helvetica', sans-serif;\n line-height: 1.125em;\n}\n\n.react-calendar--doubleView {\n width: 700px;\n}\n\n.react-calendar--doubleView .react-calendar__viewContainer {\n display: flex;\n margin: -0.5em;\n}\n\n.react-calendar--doubleView .react-calendar__viewContainer > * {\n width: 50%;\n margin: 0.5em;\n}\n\n.react-calendar,\n.react-calendar *,\n.react-calendar *:before,\n.react-calendar *:after {\n -moz-box-sizing: border-box;\n -webkit-box-sizing: border-box;\n box-sizing: border-box;\n}\n\n.react-calendar button {\n margin: 0;\n border: 0;\n outline: none;\n}\n\n.react-calendar button:enabled:hover {\n cursor: pointer;\n}\n\n.react-calendar__navigation {\n display: flex;\n height: 44px;\n margin-bottom: 1em;\n}\n\n.react-calendar__navigation button {\n min-width: 44px;\n background: none;\n}\n\n.react-calendar__navigation button:disabled {\n background-color: #f0f0f0;\n}\n\n.react-calendar__navigation button:enabled:hover,\n.react-calendar__navigation button:enabled:focus {\n background-color: #e6e6e6;\n}\n\n.react-calendar__month-view__weekdays {\n text-align: center;\n text-transform: uppercase;\n font: inherit;\n font-size: 0.75em;\n font-weight: bold;\n}\n\n.react-calendar__month-view__weekdays__weekday {\n padding: 0.5em;\n}\n\n.react-calendar__month-view__weekNumbers .react-calendar__tile {\n display: flex;\n align-items: center;\n justify-content: center;\n font: inherit;\n font-size: 0.75em;\n font-weight: bold;\n}\n\n.react-calendar__month-view__days__day--weekend {\n color: #d10000;\n}\n\n.react-calendar__month-view__days__day--neighboringMonth,\n.react-calendar__decade-view__years__year--neighboringDecade,\n.react-calendar__century-view__decades__decade--neighboringCentury {\n color: #757575;\n}\n\n.react-calendar__year-view .react-calendar__tile,\n.react-calendar__decade-view .react-calendar__tile,\n.react-calendar__century-view .react-calendar__tile {\n padding: 2em 0.5em;\n}\n\n.react-calendar__tile {\n max-width: 100%;\n padding: 10px 6.6667px;\n background: none;\n text-align: center;\n font: inherit;\n font-size: 0.833em;\n}\n\n.react-calendar__tile:disabled {\n background-color: #f0f0f0;\n color: #ababab;\n}\n\n.react-calendar__month-view__days__day--neighboringMonth:disabled,\n.react-calendar__decade-view__years__year--neighboringDecade:disabled,\n.react-calendar__century-view__decades__decade--neighboringCentury:disabled {\n color: #cdcdcd;\n}\n\n.react-calendar__tile:enabled:hover,\n.react-calendar__tile:enabled:focus {\n background-color: #e6e6e6;\n}\n\n.react-calendar__tile--now {\n background: #ffff76;\n}\n\n.react-calendar__tile--now:enabled:hover,\n.react-calendar__tile--now:enabled:focus {\n background: #ffffa9;\n}\n\n.react-calendar__tile--hasActive {\n background: #76baff;\n}\n\n.react-calendar__tile--hasActive:enabled:hover,\n.react-calendar__tile--hasActive:enabled:focus {\n background: #a9d4ff;\n}\n\n.react-calendar__tile--active {\n background: #006edc;\n color: white;\n}\n\n.react-calendar__tile--active:enabled:hover,\n.react-calendar__tile--active:enabled:focus {\n background: #1087ff;\n}\n\n.react-calendar--selectRange .react-calendar__tile--hover {\n background-color: #e6e6e6;\n}\n",""]);const l=i},935:e=>{e.exports=function(e){var t=[];return t.toString=function(){return this.map(function(t){var r="",n=void 0!==t[5];return t[4]&&(r+="@supports (".concat(t[4],") {")),t[2]&&(r+="@media ".concat(t[2]," {")),n&&(r+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),r+=e(t),n&&(r+="}"),t[2]&&(r+="}"),t[4]&&(r+="}"),r}).join("")},t.i=function(e,r,n,o,a){"string"==typeof e&&(e=[[null,e,void 0]]);var i={};if(n)for(var l=0;l<this.length;l++){var c=this[l][0];null!=c&&(i[c]=!0)}for(var s=0;s<e.length;s++){var u=[].concat(e[s]);n&&i[u[0]]||(void 0!==a&&(void 0===u[5]||(u[1]="@layer".concat(u[5].length>0?" ".concat(u[5]):""," {").concat(u[1],"}")),u[5]=a),r&&(u[2]?(u[1]="@media ".concat(u[2]," {").concat(u[1],"}"),u[2]=r):u[2]=r),o&&(u[4]?(u[1]="@supports (".concat(u[4],") {").concat(u[1],"}"),u[4]=o):u[4]="".concat(o)),t.push(u))}},t}},6758:e=>{e.exports=function(e){return e[1]}},4867:(e,t,r)=>{function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}function o(e,t){return o=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},o(e,t)}function a(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function i(e){return i=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},i(e)}var l=r(2015),c=r(9067),s=r(8654).createFocusTrap,u=r(679).isFocusable,d=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&o(e,t)}(f,e);var t,r,c,s,d=(c=f,s=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}(),function(){var e,t=i(c);if(s){var r=i(this).constructor;e=Reflect.construct(t,arguments,r)}else e=t.apply(this,arguments);return function(e,t){if(t&&("object"===n(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return a(e)}(this,e)});function f(e){var t,r,n,o;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,f),o=function(e){var t,r=null!==(t=this.internalOptions[e])&&void 0!==t?t:this.originalOptions[e];if("function"==typeof r){for(var n=arguments.length,o=new Array(n>1?n-1:0),a=1;a<n;a++)o[a-1]=arguments[a];r=r.apply(void 0,o)}if(!0===r&&(r=void 0),!r){if(void 0===r||!1===r)return r;throw new Error("`".concat(e,"` was specified but was not a node, or did not return a node"))}var i,l=r;if("string"==typeof r&&!(l=null===(i=this.getDocument())||void 0===i?void 0:i.querySelector(r)))throw new Error("`".concat(e,"` as selector refers to no known node"));return l},(n="getNodeForOption")in(r=a(t=d.call(this,e)))?Object.defineProperty(r,n,{value:o,enumerable:!0,configurable:!0,writable:!0}):r[n]=o,t.handleDeactivate=t.handleDeactivate.bind(a(t)),t.handlePostDeactivate=t.handlePostDeactivate.bind(a(t)),t.handleClickOutsideDeactivates=t.handleClickOutsideDeactivates.bind(a(t)),t.internalOptions={returnFocusOnDeactivate:!1,checkCanReturnFocus:null,onDeactivate:t.handleDeactivate,onPostDeactivate:t.handlePostDeactivate,clickOutsideDeactivates:t.handleClickOutsideDeactivates},t.originalOptions={returnFocusOnDeactivate:!0,onDeactivate:null,onPostDeactivate:null,checkCanReturnFocus:null,clickOutsideDeactivates:!1};var i=e.focusTrapOptions;for(var l in i)Object.prototype.hasOwnProperty.call(i,l)&&("returnFocusOnDeactivate"!==l&&"onDeactivate"!==l&&"onPostDeactivate"!==l&&"checkCanReturnFocus"!==l&&"clickOutsideDeactivates"!==l?t.internalOptions[l]=i[l]:t.originalOptions[l]=i[l]);return t.outsideClick=null,t.focusTrapElements=e.containerElements||[],t.updatePreviousElement(),t}return t=f,(r=[{key:"getDocument",value:function(){return this.props.focusTrapOptions.document||("undefined"!=typeof document?document:void 0)}},{key:"getReturnFocusNode",value:function(){var e=this.getNodeForOption("setReturnFocus",this.previouslyFocusedElement);return e||!1!==e&&this.previouslyFocusedElement}},{key:"updatePreviousElement",value:function(){var e=this.getDocument();e&&(this.previouslyFocusedElement=e.activeElement)}},{key:"deactivateTrap",value:function(){this.focusTrap&&this.focusTrap.active&&this.focusTrap.deactivate({returnFocus:!1,checkCanReturnFocus:null,onDeactivate:this.originalOptions.onDeactivate})}},{key:"handleClickOutsideDeactivates",value:function(e){var t="function"==typeof this.originalOptions.clickOutsideDeactivates?this.originalOptions.clickOutsideDeactivates.call(null,e):this.originalOptions.clickOutsideDeactivates;return t&&(this.outsideClick={target:e.target,allowDeactivation:t}),t}},{key:"handleDeactivate",value:function(){this.originalOptions.onDeactivate&&this.originalOptions.onDeactivate.call(null),this.deactivateTrap()}},{key:"handlePostDeactivate",value:function(){var e=this,t=function(){var t=e.getReturnFocusNode(),r=!(!e.originalOptions.returnFocusOnDeactivate||null==t||!t.focus||e.outsideClick&&(!e.outsideClick.allowDeactivation||u(e.outsideClick.target,e.internalOptions.tabbableOptions))),n=e.internalOptions.preventScroll,o=void 0!==n&&n;r&&t.focus({preventScroll:o}),e.originalOptions.onPostDeactivate&&e.originalOptions.onPostDeactivate.call(null),e.outsideClick=null};this.originalOptions.checkCanReturnFocus?this.originalOptions.checkCanReturnFocus.call(null,this.getReturnFocusNode()).then(t,t):t()}},{key:"setupFocusTrap",value:function(){this.focusTrap?this.props.active&&!this.focusTrap.active&&(this.focusTrap.activate(),this.props.paused&&this.focusTrap.pause()):this.focusTrapElements.some(Boolean)&&(this.focusTrap=this.props._createFocusTrap(this.focusTrapElements,this.internalOptions),this.props.active&&this.focusTrap.activate(),this.props.paused&&this.focusTrap.pause())}},{key:"componentDidMount",value:function(){this.props.active&&this.setupFocusTrap()}},{key:"componentDidUpdate",value:function(e){if(this.focusTrap){e.containerElements!==this.props.containerElements&&this.focusTrap.updateContainerElements(this.props.containerElements);var t=!e.active&&this.props.active,r=e.active&&!this.props.active,n=!e.paused&&this.props.paused,o=e.paused&&!this.props.paused;if(t&&(this.updatePreviousElement(),this.focusTrap.activate()),r)return void this.deactivateTrap();n&&this.focusTrap.pause(),o&&this.focusTrap.unpause()}else e.containerElements!==this.props.containerElements&&(this.focusTrapElements=this.props.containerElements),this.props.active&&(this.updatePreviousElement(),this.setupFocusTrap())}},{key:"componentWillUnmount",value:function(){this.deactivateTrap()}},{key:"render",value:function(){var e=this,t=this.props.children?l.Children.only(this.props.children):void 0;if(t){if(t.type&&t.type===l.Fragment)throw new Error("A focus-trap cannot use a Fragment as its child container. Try replacing it with a <div> element.");return l.cloneElement(t,{ref:function(r){var n=e.props.containerElements;t&&("function"==typeof t.ref?t.ref(r):t.ref&&(t.ref.current=r)),e.focusTrapElements=n||[r]}})}return null}}])&&function(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}(t.prototype,r),Object.defineProperty(t,"prototype",{writable:!1}),f}(l.Component),f="undefined"==typeof Element?Function:Element;d.propTypes={active:c.bool,paused:c.bool,focusTrapOptions:c.shape({document:c.object,onActivate:c.func,onPostActivate:c.func,checkCanFocusTrap:c.func,onDeactivate:c.func,onPostDeactivate:c.func,checkCanReturnFocus:c.func,initialFocus:c.oneOfType([c.instanceOf(f),c.string,c.bool,c.func]),fallbackFocus:c.oneOfType([c.instanceOf(f),c.string,c.func]),escapeDeactivates:c.oneOfType([c.bool,c.func]),clickOutsideDeactivates:c.oneOfType([c.bool,c.func]),returnFocusOnDeactivate:c.bool,setReturnFocus:c.oneOfType([c.instanceOf(f),c.string,c.bool,c.func]),allowOutsideClick:c.oneOfType([c.bool,c.func]),preventScroll:c.bool,tabbableOptions:c.shape({displayCheck:c.oneOf(["full","non-zero-area","none"]),getShadowRoot:c.oneOfType([c.bool,c.func])})}),containerElements:c.arrayOf(c.instanceOf(f)),children:c.oneOfType([c.element,c.instanceOf(f)])},d.defaultProps={active:!0,paused:!1,focusTrapOptions:{},_createFocusTrap:s},e.exports=d},8654:(e,t,r)=>{r.r(t),r.d(t,{createFocusTrap:()=>p});var n=r(679);function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function a(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?o(Object(r),!0).forEach(function(t){i(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):o(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function i(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var l,c=(l=[],{activateTrap:function(e){if(l.length>0){var t=l[l.length-1];t!==e&&t.pause()}var r=l.indexOf(e);-1===r||l.splice(r,1),l.push(e)},deactivateTrap:function(e){var t=l.indexOf(e);-1!==t&&l.splice(t,1),l.length>0&&l[l.length-1].unpause()}}),s=function(e){return setTimeout(e,0)},u=function(e,t){var r=-1;return e.every(function(e,n){return!t(e)||(r=n,!1)}),r},d=function(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];return"function"==typeof e?e.apply(void 0,r):e},f=function(e){return e.target.shadowRoot&&"function"==typeof e.composedPath?e.composedPath()[0]:e.target},p=function(e,t){var r,o=(null==t?void 0:t.document)||document,i=a({returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0},t),l={containers:[],containerGroups:[],tabbableGroups:[],nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1,delayInitialFocusTimer:void 0},p=function(e,t,r){return e&&void 0!==e[t]?e[t]:i[r||t]},h=function(e){return l.containerGroups.findIndex(function(t){var r=t.container,n=t.tabbableNodes;return r.contains(e)||n.find(function(t){return t===e})})},g=function(e){var t=i[e];if("function"==typeof t){for(var r=arguments.length,n=new Array(r>1?r-1:0),a=1;a<r;a++)n[a-1]=arguments[a];t=t.apply(void 0,n)}if(!0===t&&(t=void 0),!t){if(void 0===t||!1===t)return t;throw new Error("`".concat(e,"` was specified but was not a node, or did not return a node"))}var l=t;if("string"==typeof t&&!(l=o.querySelector(t)))throw new Error("`".concat(e,"` as selector refers to no known node"));return l},b=function(){var e=g("initialFocus");if(!1===e)return!1;if(void 0===e)if(h(o.activeElement)>=0)e=o.activeElement;else{var t=l.tabbableGroups[0];e=t&&t.firstTabbableNode||g("fallbackFocus")}if(!e)throw new Error("Your focus-trap needs to have at least one focusable element");return e},v=function(){if(l.containerGroups=l.containers.map(function(e){var t=(0,n.tabbable)(e,i.tabbableOptions),r=(0,n.focusable)(e,i.tabbableOptions);return{container:e,tabbableNodes:t,focusableNodes:r,firstTabbableNode:t.length>0?t[0]:null,lastTabbableNode:t.length>0?t[t.length-1]:null,nextTabbableNode:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],o=r.findIndex(function(t){return t===e});if(!(o<0))return t?r.slice(o+1).find(function(e){return(0,n.isTabbable)(e,i.tabbableOptions)}):r.slice(0,o).reverse().find(function(e){return(0,n.isTabbable)(e,i.tabbableOptions)})}}}),l.tabbableGroups=l.containerGroups.filter(function(e){return e.tabbableNodes.length>0}),l.tabbableGroups.length<=0&&!g("fallbackFocus"))throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times")},m=function e(t){!1!==t&&t!==o.activeElement&&(t&&t.focus?(t.focus({preventScroll:!!i.preventScroll}),l.mostRecentlyFocusedNode=t,function(e){return e.tagName&&"input"===e.tagName.toLowerCase()&&"function"==typeof e.select}(t)&&t.select()):e(b()))},y=function(e){var t=g("setReturnFocus",e);return t||!1!==t&&e},w=function(e){var t=f(e);h(t)>=0||(d(i.clickOutsideDeactivates,e)?r.deactivate({returnFocus:i.returnFocusOnDeactivate&&!(0,n.isFocusable)(t,i.tabbableOptions)}):d(i.allowOutsideClick,e)||e.preventDefault())},x=function(e){var t=f(e),r=h(t)>=0;r||t instanceof Document?r&&(l.mostRecentlyFocusedNode=t):(e.stopImmediatePropagation(),m(l.mostRecentlyFocusedNode||b()))},_=function(e){if(function(e){return"Escape"===e.key||"Esc"===e.key||27===e.keyCode}(e)&&!1!==d(i.escapeDeactivates,e))return e.preventDefault(),void r.deactivate();(function(e){return"Tab"===e.key||9===e.keyCode})(e)&&function(e){var t=f(e);v();var r=null;if(l.tabbableGroups.length>0){var o=h(t),a=o>=0?l.containerGroups[o]:void 0;if(o<0)r=e.shiftKey?l.tabbableGroups[l.tabbableGroups.length-1].lastTabbableNode:l.tabbableGroups[0].firstTabbableNode;else if(e.shiftKey){var c=u(l.tabbableGroups,function(e){var r=e.firstTabbableNode;return t===r});if(c<0&&(a.container===t||(0,n.isFocusable)(t,i.tabbableOptions)&&!(0,n.isTabbable)(t,i.tabbableOptions)&&!a.nextTabbableNode(t,!1))&&(c=o),c>=0){var s=0===c?l.tabbableGroups.length-1:c-1;r=l.tabbableGroups[s].lastTabbableNode}}else{var d=u(l.tabbableGroups,function(e){var r=e.lastTabbableNode;return t===r});if(d<0&&(a.container===t||(0,n.isFocusable)(t,i.tabbableOptions)&&!(0,n.isTabbable)(t,i.tabbableOptions)&&!a.nextTabbableNode(t))&&(d=o),d>=0){var p=d===l.tabbableGroups.length-1?0:d+1;r=l.tabbableGroups[p].firstTabbableNode}}}else r=g("fallbackFocus");r&&(e.preventDefault(),m(r))}(e)},k=function(e){var t=f(e);h(t)>=0||d(i.clickOutsideDeactivates,e)||d(i.allowOutsideClick,e)||(e.preventDefault(),e.stopImmediatePropagation())},C=function(){if(l.active)return c.activateTrap(r),l.delayInitialFocusTimer=i.delayInitialFocus?s(function(){m(b())}):m(b()),o.addEventListener("focusin",x,!0),o.addEventListener("mousedown",w,{capture:!0,passive:!1}),o.addEventListener("touchstart",w,{capture:!0,passive:!1}),o.addEventListener("click",k,{capture:!0,passive:!1}),o.addEventListener("keydown",_,{capture:!0,passive:!1}),r},O=function(){if(l.active)return o.removeEventListener("focusin",x,!0),o.removeEventListener("mousedown",w,!0),o.removeEventListener("touchstart",w,!0),o.removeEventListener("click",k,!0),o.removeEventListener("keydown",_,!0),r};return(r={get active(){return l.active},get paused(){return l.paused},activate:function(e){if(l.active)return this;var t=p(e,"onActivate"),r=p(e,"onPostActivate"),n=p(e,"checkCanFocusTrap");n||v(),l.active=!0,l.paused=!1,l.nodeFocusedBeforeActivation=o.activeElement,t&&t();var a=function(){n&&v(),C(),r&&r()};return n?(n(l.containers.concat()).then(a,a),this):(a(),this)},deactivate:function(e){if(!l.active)return this;var t=a({onDeactivate:i.onDeactivate,onPostDeactivate:i.onPostDeactivate,checkCanReturnFocus:i.checkCanReturnFocus},e);clearTimeout(l.delayInitialFocusTimer),l.delayInitialFocusTimer=void 0,O(),l.active=!1,l.paused=!1,c.deactivateTrap(r);var n=p(t,"onDeactivate"),o=p(t,"onPostDeactivate"),u=p(t,"checkCanReturnFocus"),d=p(t,"returnFocus","returnFocusOnDeactivate");n&&n();var f=function(){s(function(){d&&m(y(l.nodeFocusedBeforeActivation)),o&&o()})};return d&&u?(u(y(l.nodeFocusedBeforeActivation)).then(f,f),this):(f(),this)},pause:function(){return l.paused||!l.active||(l.paused=!0,O()),this},unpause:function(){return l.paused&&l.active?(l.paused=!1,v(),C(),this):this},updateContainerElements:function(e){var t=[].concat(e).filter(Boolean);return l.containers=t.map(function(e){return"string"==typeof e?o.querySelector(e):e}),l.active&&v(),this}}).updateContainerElements(e),r}},9380:(e,t,r)=>{var n=r(6848);function o(){}function a(){}a.resetWarningCache=o,e.exports=function(){function e(e,t,r,o,a,i){if(i!==n){var l=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw l.name="Invariant Violation",l}}function t(){return e}e.isRequired=e;var r={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:a,resetWarningCache:o};return r.PropTypes=r,r}},9067:(e,t,r)=>{e.exports=r(9380)()},6848:e=>{e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},3335:(e,t,r)=>{var n=r(2015),o=Symbol.for("react.element"),a=Symbol.for("react.fragment"),i=Object.prototype.hasOwnProperty,l=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,c={key:!0,ref:!0,__self:!0,__source:!0};function s(e,t,r){var n,a={},s=null,u=null;for(n in void 0!==r&&(s=""+r),void 0!==t.key&&(s=""+t.key),void 0!==t.ref&&(u=t.ref),t)i.call(t,n)&&!c.hasOwnProperty(n)&&(a[n]=t[n]);if(e&&e.defaultProps)for(n in t=e.defaultProps)void 0===a[n]&&(a[n]=t[n]);return{$$typeof:o,type:e,key:s,ref:u,props:a,_owner:l.current}}t.Fragment=a,t.jsx=s,t.jsxs=s},1085:(e,t,r)=>{e.exports=r(3335)},679:(e,t,r)=>{r.r(t),r.d(t,{focusable:()=>y,isFocusable:()=>_,isTabbable:()=>w,tabbable:()=>m});var n=["input","select","textarea","a[href]","button","[tabindex]:not(slot)","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])',"details>summary:first-of-type","details"],o=n.join(","),a="undefined"==typeof Element,i=a?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,l=!a&&Element.prototype.getRootNode?function(e){return e.getRootNode()}:function(e){return e.ownerDocument},c=function(e,t,r){var n=Array.prototype.slice.apply(e.querySelectorAll(o));return t&&i.call(e,o)&&n.unshift(e),n.filter(r)},s=function e(t,r,n){for(var a=[],l=Array.from(t);l.length;){var c=l.shift();if("SLOT"===c.tagName){var s=c.assignedElements(),u=e(s.length?s:c.children,!0,n);n.flatten?a.push.apply(a,u):a.push({scope:c,candidates:u})}else{i.call(c,o)&&n.filter(c)&&(r||!t.includes(c))&&a.push(c);var d=c.shadowRoot||"function"==typeof n.getShadowRoot&&n.getShadowRoot(c),f=!n.shadowRootFilter||n.shadowRootFilter(c);if(d&&f){var p=e(!0===d?c.children:d.children,!0,n);n.flatten?a.push.apply(a,p):a.push({scope:c,candidates:p})}else l.unshift.apply(l,c.children)}}return a},u=function(e,t){return e.tabIndex<0&&(t||/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName)||e.isContentEditable)&&isNaN(parseInt(e.getAttribute("tabindex"),10))?0:e.tabIndex},d=function(e,t){return e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex},f=function(e){return"INPUT"===e.tagName},p=function(e){var t=e.getBoundingClientRect(),r=t.width,n=t.height;return 0===r&&0===n},h=function(e,t){return!(t.disabled||function(e){return f(e)&&"hidden"===e.type}(t)||function(e,t){var r=t.displayCheck,n=t.getShadowRoot;if("hidden"===getComputedStyle(e).visibility)return!0;var o=i.call(e,"details>summary:first-of-type")?e.parentElement:e;if(i.call(o,"details:not([open]) *"))return!0;var a=l(e).host,c=(null==a?void 0:a.ownerDocument.contains(a))||e.ownerDocument.contains(e);if(r&&"full"!==r){if("non-zero-area"===r)return p(e)}else{if("function"==typeof n){for(var s=e;e;){var u=e.parentElement,d=l(e);if(u&&!u.shadowRoot&&!0===n(u))return p(e);e=e.assignedSlot?e.assignedSlot:u||d===e.ownerDocument?u:d.host}e=s}if(c)return!e.getClientRects().length}return!1}(t,e)||function(e){return"DETAILS"===e.tagName&&Array.prototype.slice.apply(e.children).some(function(e){return"SUMMARY"===e.tagName})}(t)||function(e){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(e.tagName))for(var t=e.parentElement;t;){if("FIELDSET"===t.tagName&&t.disabled){for(var r=0;r<t.children.length;r++){var n=t.children.item(r);if("LEGEND"===n.tagName)return!!i.call(t,"fieldset[disabled] *")||!n.contains(e)}return!0}t=t.parentElement}return!1}(t))},g=function(e,t){return!(function(e){return function(e){return f(e)&&"radio"===e.type}(e)&&!function(e){if(!e.name)return!0;var t,r=e.form||l(e),n=function(e){return r.querySelectorAll('input[type="radio"][name="'+e+'"]')};if("undefined"!=typeof window&&void 0!==window.CSS&&"function"==typeof window.CSS.escape)t=n(window.CSS.escape(e.name));else try{t=n(e.name)}catch(e){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",e.message),!1}var o=function(e,t){for(var r=0;r<e.length;r++)if(e[r].checked&&e[r].form===t)return e[r]}(t,e.form);return!o||o===e}(e)}(t)||u(t)<0||!h(e,t))},b=function(e){var t=parseInt(e.getAttribute("tabindex"),10);return!!(isNaN(t)||t>=0)},v=function e(t){var r=[],n=[];return t.forEach(function(t,o){var a=!!t.scope,i=a?t.scope:t,l=u(i,a),c=a?e(t.candidates):i;0===l?a?r.push.apply(r,c):r.push(i):n.push({documentOrder:o,tabIndex:l,item:t,isScope:a,content:c})}),n.sort(d).reduce(function(e,t){return t.isScope?e.push.apply(e,t.content):e.push(t.content),e},[]).concat(r)},m=function(e,t){var r;return r=(t=t||{}).getShadowRoot?s([e],t.includeContainer,{filter:g.bind(null,t),flatten:!1,getShadowRoot:t.getShadowRoot,shadowRootFilter:b}):c(e,t.includeContainer,g.bind(null,t)),v(r)},y=function(e,t){return(t=t||{}).getShadowRoot?s([e],t.includeContainer,{filter:h.bind(null,t),flatten:!0,getShadowRoot:t.getShadowRoot}):c(e,t.includeContainer,h.bind(null,t))},w=function(e,t){if(t=t||{},!e)throw new Error("No node provided");return!1!==i.call(e,o)&&g(t,e)},x=n.concat("iframe").join(","),_=function(e,t){if(t=t||{},!e)throw new Error("No node provided");return!1!==i.call(e,x)&&h(t,e)}},8562:function(e,t,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Fonts=void 0;const o=n(r(9802)),a=n(r(9294)),i=n(r(3325)),l=n(r(2773));t.Fonts={regular:a.default,italic:o.default,semiBold:i.default,semiBoldItalic:l.default}},6999:function(e,t,r){var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var o=Object.getOwnPropertyDescriptor(t,r);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,o)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),o(r(8562),t)},5880:function(e,t,r){var n=this&&this.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.ButtonTextOnly=t.ButtonSecondary=t.ButtonPrimary=t.Button=void 0;const a=r(1085),i=o(r(2770)),l=r(5347),c=r(3437),s=r(9734);t.Button=e=>{var{label:t,children:r,size:o="base",shape:i="square",kind:l="primary",layout:c="fit",href:s}=e,f=n(e,["label","children","size","shape","kind","layout","href"]);return(0,a.jsx)(u,Object.assign({as:s?"a":"button",size:o,shape:i,kind:l,layout:c},f,{children:t?(0,a.jsx)(d,{alignItems:"center",justifyContent:"center",children:t}):r}))};const u=i.default.button`
|
|
3
|
+
/* Default values that get overridden by variants */
|
|
4
|
+
background: ${({theme:e})=>e.palette.inputBackground};
|
|
5
|
+
border: 1px solid ${({theme:e})=>e.palette.inputBackground};
|
|
6
|
+
color: ${({theme:e})=>e.palette.brandPrimaryText};
|
|
7
|
+
|
|
8
|
+
/* Inject variants */
|
|
9
|
+
${(0,c.getVariantCSS)(s.variants,s.Variant.size)}
|
|
10
|
+
${(0,c.getVariantCSS)(s.variants,s.Variant.shape)}
|
|
11
|
+
${(0,c.getVariantCSS)(s.variants,s.Variant.kind)}
|
|
12
|
+
${(0,c.getVariantCSS)(s.variants,s.Variant.layout)}
|
|
13
|
+
|
|
14
|
+
display: inline-flex;
|
|
15
|
+
align-items: center;
|
|
16
|
+
gap: ${({theme:e})=>e.px.small};
|
|
17
|
+
outline: none;
|
|
18
|
+
text-decoration: none;
|
|
19
|
+
white-space: nowrap;
|
|
20
|
+
line-height: ${({theme:e})=>e.lineHeight.ui};
|
|
21
|
+
font-weight: ${({theme:e})=>e.fontWeight.bold};
|
|
22
|
+
transition: border-color var(--openfin-ui-globalTransition);
|
|
23
|
+
|
|
24
|
+
&:not(:disabled) {
|
|
25
|
+
cursor: pointer;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
&:disabled,
|
|
29
|
+
&:active:disabled {
|
|
30
|
+
background: ${({theme:e})=>e.palette.inputDisabled};
|
|
31
|
+
border-color: ${({theme:e})=>e.palette.inputDisabled};
|
|
32
|
+
color: ${({theme:e})=>e.palette.inputPlaceholder};
|
|
33
|
+
cursor: not-allowed;
|
|
34
|
+
}
|
|
35
|
+
`,d=(0,i.default)(l.Box)`
|
|
36
|
+
padding: ${({theme:e})=>`0 ${e.px.xsmall}`};
|
|
37
|
+
`;t.ButtonPrimary=e=>(0,a.jsx)(t.Button,Object.assign({},e,{kind:"primary"})),t.ButtonSecondary=e=>(0,a.jsx)(t.Button,Object.assign({},e,{kind:"secondary"})),t.ButtonTextOnly=e=>(0,a.jsx)(t.Button,Object.assign({},e,{kind:"textOnly"}))},9734:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.variants=t.ButtonShape=t.ButtonLayout=t.ButtonSize=t.ButtonKind=t.Variant=void 0;const n=r(2770);t.Variant={shape:"shape",size:"size",kind:"kind",layout:"layout"},t.ButtonKind={primary:"primary",secondary:"secondary",textOnly:"textOnly"},t.ButtonSize={small:"small",base:"base",large:"large"},t.ButtonLayout={fit:"fit",full:"full"},t.ButtonShape={square:"square",pill:"pill"},t.variants={[t.Variant.size]:{[t.ButtonSize.base]:n.css`
|
|
38
|
+
padding: ${({theme:e})=>`${e.px.small} ${e.px.large}`};
|
|
39
|
+
font-size: ${({theme:e})=>e.fontSize.base};
|
|
40
|
+
`,[t.ButtonSize.small]:n.css`
|
|
41
|
+
padding: ${({theme:e})=>`${e.px.xsmall} ${e.px.base}`};
|
|
42
|
+
font-size: ${({theme:e})=>e.fontSize.small};
|
|
43
|
+
`,[t.ButtonSize.large]:n.css`
|
|
44
|
+
padding: ${({theme:e})=>`${e.px.base} ${e.px.xlarge}`};
|
|
45
|
+
font-size: ${({theme:e})=>e.fontSize.large};
|
|
46
|
+
`},[t.Variant.shape]:{[t.ButtonShape.square]:n.css`
|
|
47
|
+
border-radius: ${({theme:e})=>e.radius.small};
|
|
48
|
+
`,[t.ButtonShape.pill]:n.css`
|
|
49
|
+
border-radius: ${({theme:e})=>e.radius.pill};
|
|
50
|
+
`},[t.Variant.layout]:{[t.ButtonLayout.fit]:n.css`
|
|
51
|
+
width: fit-content;
|
|
52
|
+
`,[t.ButtonLayout.full]:n.css`
|
|
53
|
+
width: 100%;
|
|
54
|
+
`},[t.Variant.kind]:{[t.ButtonKind.primary]:n.css`
|
|
55
|
+
background: ${({theme:e})=>e.palette.brandPrimary};
|
|
56
|
+
border-color: ${({theme:e})=>e.palette.brandPrimary};
|
|
57
|
+
|
|
58
|
+
&:hover {
|
|
59
|
+
background: ${({theme:e})=>e.palette.brandPrimaryHover};
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
&:active {
|
|
63
|
+
background: ${({theme:e})=>e.palette.brandPrimaryActive};
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
&:focus {
|
|
67
|
+
border-color: ${({theme:e})=>e.palette.brandPrimaryFocused};
|
|
68
|
+
}
|
|
69
|
+
`,[t.ButtonKind.secondary]:n.css`
|
|
70
|
+
background: ${({theme:e})=>e.palette.brandSecondary};
|
|
71
|
+
border-color: ${({theme:e})=>e.palette.brandSecondary};
|
|
72
|
+
color: ${({theme:e})=>e.palette.brandSecondaryText};
|
|
73
|
+
|
|
74
|
+
&:hover {
|
|
75
|
+
background: ${({theme:e})=>e.palette.brandSecondaryHover};
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
&:active {
|
|
79
|
+
background: ${({theme:e})=>e.palette.brandSecondaryActive};
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
&:focus {
|
|
83
|
+
border-color: ${({theme:e})=>e.palette.brandSecondaryFocused};
|
|
84
|
+
}
|
|
85
|
+
`,[t.ButtonKind.textOnly]:n.css`
|
|
86
|
+
background: transparent;
|
|
87
|
+
border-color: transparent;
|
|
88
|
+
color: ${({theme:e})=>e.palette.textDefault};
|
|
89
|
+
|
|
90
|
+
&:active {
|
|
91
|
+
opacity: 0.8;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
&:focus {
|
|
95
|
+
border-color: ${({theme:e})=>e.palette.inputFocused};
|
|
96
|
+
}
|
|
97
|
+
`}}},2870:function(e,t,r){var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var o=Object.getOwnPropertyDescriptor(t,r);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,o)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),o(r(5880),t),o(r(9734),t)},1831:function(e,t,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.CardContainer=void 0;const o=r(1085),a=n(r(2770)),i=r(5347),l=r(3437);t.CardContainer=e=>(0,o.jsx)(c,{style:{maxHeight:e.maxHeight,overflowY:"auto"},id:"card-container","data-testid":"card-container",children:(0,o.jsx)(s,{children:e.children})});const c=(0,a.default)(i.Box)`
|
|
98
|
+
display: block;
|
|
99
|
+
background: ${({theme:e})=>e.palette.background3};
|
|
100
|
+
border-bottom: 1px solid ${({theme:e})=>e.palette.background5};
|
|
101
|
+
padding: ${({theme:e})=>e.px.xsmall} ${({theme:e})=>e.px.xsmall} ${({theme:e})=>e.px.large} 0px;
|
|
102
|
+
width: 100%;
|
|
103
|
+
${l.Mixins.scrollbar.base};
|
|
104
|
+
gap: ${({theme:e})=>e.px.base};
|
|
105
|
+
`,s=a.default.div`
|
|
106
|
+
padding: ${({theme:e})=>e.px.small} ${({theme:e})=>e.px.small} 0px ${({theme:e})=>e.px.base};
|
|
107
|
+
width: 100%;
|
|
108
|
+
`},5518:function(e,t,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.CollapsibleCardStateless=t.CollapsibleCard=void 0;const o=r(1085),a=r(2015),i=n(r(2770)),l=r(3038),c=r(2394),s=r(5347),u=r(3437),d=r(3968),f=r(1831);t.CollapsibleCard=(0,a.forwardRef)((e,r)=>{const[n,i]=(0,a.useState)(e.expanded||!1);return(0,o.jsx)(t.CollapsibleCardStateless,Object.assign({},e,{ref:r,expanded:n,onExpand:e=>i(!e)}))}),t.CollapsibleCard.displayName="CollapsibleCard",t.CollapsibleCardStateless=(0,a.forwardRef)((e,t)=>{var r,n;return(0,o.jsxs)(p,{"data-testid":"collapsible-card",children:[(0,o.jsxs)(g,{"aria-expanded":e.expanded,"data-testid":"heading-container",ref:t,zIndex:null===(r=e.headerSettings)||void 0===r?void 0:r.zIndex,fixedHeader:null===(n=e.headerSettings)||void 0===n?void 0:n.fixedHeader,onClick:()=>e.onExpand(e.expanded),tabIndex:0,onKeyDown:t=>{switch(t.code){case"Enter":case"Space":t.preventDefault(),e.onExpand(e.expanded)}},children:[(0,o.jsx)(h,{children:e.title}),(0,o.jsxs)("div",{id:"icon-container",children:[void 0!==e.badgeText&&(0,o.jsx)(l.Badge,{count:e.badgeText,id:"collapsible-card-heading-badge","data-testid":"collapsible-card-heading-badge"}),(0,o.jsx)(c.Icon,{icon:e.expanded?"ChevronUpIcon":"ChevronDownIcon"})]})]}),e.expanded&&(0,o.jsx)(f.CardContainer,{maxHeight:e.maxHeight||"none",children:(0,o.jsx)("div",{children:e.children})})]})}),t.CollapsibleCardStateless.displayName="CollapsibleCardStateless";const p=i.default.div`
|
|
109
|
+
position: relative;
|
|
110
|
+
display: inline-block;
|
|
111
|
+
width: 100%;
|
|
112
|
+
`,h=(0,i.default)(d.Text)`
|
|
113
|
+
color: ${({theme:e})=>e.palette.textDefault};
|
|
114
|
+
${u.Mixins.textOverflow};
|
|
115
|
+
text-decoration: none;
|
|
116
|
+
overflow: hidden;
|
|
117
|
+
`,g=(0,i.default)(s.Box)`
|
|
118
|
+
position: ${({fixedHeader:e})=>e?"sticky":"relative"};
|
|
119
|
+
top: ${({fixedHeader:e})=>e?0:void 0};
|
|
120
|
+
z-index: ${({zIndex:e})=>e};
|
|
121
|
+
align-items: center;
|
|
122
|
+
background: ${({theme:e})=>e.palette.background3};
|
|
123
|
+
border-top: 1px solid ${({theme:e})=>e.palette.background5};
|
|
124
|
+
border-bottom: 1px solid ${({theme:e})=>e.palette.background5};
|
|
125
|
+
cursor: pointer;
|
|
126
|
+
display: inline-flex;
|
|
127
|
+
gap: ${({theme:e})=>e.px.small};
|
|
128
|
+
justify-content: space-between;
|
|
129
|
+
line-height: ${({theme:e})=>e.lineHeight.heading};
|
|
130
|
+
outline: none;
|
|
131
|
+
padding: ${({theme:e})=>e.px.base};
|
|
132
|
+
transition: border-color var(--openfin-ui-globalTransition);
|
|
133
|
+
width: 100%;
|
|
134
|
+
white-space: nowrap;
|
|
135
|
+
|
|
136
|
+
#icon-container {
|
|
137
|
+
display: flex;
|
|
138
|
+
align-items: center;
|
|
139
|
+
margin-left: 10px;
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
#collapsible-card-heading-badge {
|
|
143
|
+
background-color: ${({theme:e})=>e.palette.brandPrimary};
|
|
144
|
+
margin-right: 10px;
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
&:hover {
|
|
148
|
+
background-color: ${({theme:e})=>e.palette.background2};
|
|
149
|
+
border-top: 1px solid ${({theme:e})=>e.palette.background5};
|
|
150
|
+
border-bottom: 1px solid ${({theme:e})=>e.palette.background5};
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
&:focus {
|
|
154
|
+
border-top: 1px solid ${({theme:e})=>e.palette.borderNeutral};
|
|
155
|
+
border-bottom: 1px solid ${({theme:e})=>e.palette.borderNeutral};
|
|
156
|
+
}
|
|
157
|
+
`},1028:function(e,t,r){var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var o=Object.getOwnPropertyDescriptor(t,r);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,o)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),o(r(5518),t)},1423:(e,t)=>{var r;Object.defineProperty(t,"__esModule",{value:!0}),t.ExpandDirection=void 0,function(e){e[e.Up=0]="Up",e[e.Down=1]="Down"}(r||(t.ExpandDirection=r={}))},92:function(e,t,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.ExpandableButton=void 0;const o=r(1085),a=r(2015),i=n(r(2770)),l=r(5322),c=r(2394),s=r(5347),u=r(2870),d=r(5776),f=r(1423);t.ExpandableButton=e=>{var t,r,n,i,c,p;const[w,x]=(0,a.useState)({show:!1,requestedByCollapse:!1}),_={size:e.size,kind:e.kind,disabled:e.disabled,tabIndex:e.tabIndex},k=Object.assign(Object.assign({},e),{shape:u.ButtonShape.square,"aria-label":null!==(t=e["aria-label"])&&void 0!==t?t:`Primary Button ${e.title}`}),C=null!==(r=e.expandDirection)&&void 0!==r?r:f.ExpandDirection.Down;return(0,a.useEffect)(()=>{if(!w.requestedByCollapse)return;const e=setTimeout(()=>x({requestedByCollapse:!1,show:!1}),200);return()=>clearTimeout(e)},[w.requestedByCollapse]),(0,o.jsxs)(y,{children:[(0,o.jsxs)(m,{children:[(0,o.jsx)(g,Object.assign({},k,{children:(0,o.jsx)(b,{children:null!==(n=e.children)&&void 0!==n?n:k.title})})),e.secondaryButtons&&e.secondaryButtons.length>0&&(0,o.jsx)(s.Box,{id:"dropdown-container",children:(0,o.jsxs)(v,Object.assign({},_,{role:"combobox",onClick:()=>{w.requestedByCollapse||x({requestedByCollapse:!1,show:!w.show})},"aria-label":"Expand Secondary Buttons Panel","aria-expanded":w.show,children:[C===f.ExpandDirection.Down&&(0,o.jsx)(h,{kind:null!==(i=e.kind)&&void 0!==i?i:u.ButtonKind.primary,icon:"CaretDownIcon"}),C===f.ExpandDirection.Up&&(0,o.jsx)(h,{kind:null!==(c=e.kind)&&void 0!==c?c:u.ButtonKind.primary,icon:"CaretUpIcon"})]}))})]}),e.secondaryButtons&&e.secondaryButtons.length>0&&(0,o.jsx)(l.AnimatePresence,{children:w.show&&(0,o.jsx)(d.ExpandablePanel,{expandDirection:C,secondaryButtons:null!==(p=e.secondaryButtons)&&void 0!==p?p:[],stretch:e.stretchExpandablePanel,closePanelOnSecondaryButtonClick:e.closePanelOnSecondaryButtonClick,onCollapseRequest:()=>x({show:!1,requestedByCollapse:!0}),buttonSize:e.size,document:e.document})})]})};const p={[u.ButtonKind.primary]:e=>e.palette.brandPrimaryText,[u.ButtonKind.secondary]:e=>e.palette.brandSecondaryText,[u.ButtonKind.textOnly]:e=>e.palette.textDefault},h=(0,i.default)(c.Icon)`
|
|
158
|
+
svg path {
|
|
159
|
+
color: ${({theme:e,kind:t})=>p[t](e)};
|
|
160
|
+
}
|
|
161
|
+
line-height: ${({theme:e})=>e.lineHeight.ui};
|
|
162
|
+
font-weight: ${({theme:e})=>e.fontWeight.bold};
|
|
163
|
+
`,g=(0,i.default)(u.Button)`
|
|
164
|
+
margin-right: ${({theme:e})=>e.px.xsmall};
|
|
165
|
+
`,b=(0,i.default)(s.Box)`
|
|
166
|
+
white-space: nowrap;
|
|
167
|
+
text-overflow: ellipsis;
|
|
168
|
+
display: block;
|
|
169
|
+
overflow: hidden;
|
|
170
|
+
`,v=(0,i.default)(u.Button)`
|
|
171
|
+
width: ${e=>e.theme.px.xxlarge};
|
|
172
|
+
padding: 0;
|
|
173
|
+
display: flex;
|
|
174
|
+
justify-content: center;
|
|
175
|
+
align-items: center;
|
|
176
|
+
`,m=i.default.div`
|
|
177
|
+
display: inline-flex;
|
|
178
|
+
flex-direction: row;
|
|
179
|
+
position: relative;
|
|
180
|
+
`,y=i.default.div`
|
|
181
|
+
position: relative;
|
|
182
|
+
display: inline-block;
|
|
183
|
+
`},1271:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.setupExpandablePanel=void 0;const n=r(1423);t.setupExpandablePanel=(e,t,r=!1)=>{if(!e||0===e.childNodes.length)return;const o=e.parentElement,a=null==o?void 0:o.getBoundingClientRect(),i=e.getBoundingClientRect();if(!a)return;const l=i.height,c=i.width<=a.width||r?i.width:a.width,s=a.x+c>document.body.clientWidth||c<a.width;e.style.width=`${c}px`,e.style.opacity="1",s?e.style.right="0px":e.style.left="0px",t===n.ExpandDirection.Down&&(e.style.top=`${a.height}px`),t===n.ExpandDirection.Up&&(e.style.top=-1*l+"px")}},5776:function(e,t,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.ExpandablePanel=void 0;const o=r(1085),a=n(r(2770)),i=n(r(4867)),l=r(5322),c=r(5347),s=r(2870),u=r(1271),d={type:"spring",duration:.2,bounce:.25};t.ExpandablePanel=e=>{var t;const r=`${e.panelId}-expandable-panel`;return(0,o.jsx)(i.default,{focusTrapOptions:{fallbackFocus:`#${r}`,clickOutsideDeactivates:!0,onDeactivate:e.onCollapseRequest,initialFocus:!1,document:e.document,returnFocusOnDeactivate:!1},children:(0,o.jsx)(h,{ref:t=>(0,u.setupExpandablePanel)(t,e.expandDirection,e.stretch),tabIndex:0,id:r,initial:"initial",exit:"hidden",buttonSize:null!==(t=e.buttonSize)&&void 0!==t?t:s.ButtonSize.base,animate:"visible",role:"menu",transition:d,onMouseOver:()=>{var e;return null===(e=document.activeElement)||void 0===e?void 0:e.blur()},children:e.secondaryButtons.map((t,r)=>(0,o.jsx)(s.Button,{className:"menu-item",tabIndex:r+1,title:t.title,role:"menuitem",size:e.buttonSize,disabled:t.disabled,kind:"textOnly",onClick:r=>((t,r)=>{e.closePanelOnSecondaryButtonClick?(r.onClick(t),e.onCollapseRequest()):r.onClick(t,()=>e.onCollapseRequest())})(r,t),"aria-label":t.title,children:(0,o.jsx)(f,{"aria-label":t.title,children:t.title})},r))},"expandablePanel")})};const f=(0,a.default)(c.Box)`
|
|
184
|
+
padding-bottom: 1px;
|
|
185
|
+
padding-top: 1px;
|
|
186
|
+
white-space: nowrap;
|
|
187
|
+
text-overflow: ellipsis;
|
|
188
|
+
display: block;
|
|
189
|
+
overflow: hidden;
|
|
190
|
+
`,p={[s.ButtonSize.small]:e=>e.px.small,[s.ButtonSize.base]:e=>e.px.base,[s.ButtonSize.large]:e=>e.px.large},h=(0,a.default)(l.motion.div)`
|
|
191
|
+
border-radius: ${({theme:e})=>e.radius.small};
|
|
192
|
+
opacity: 0;
|
|
193
|
+
display: flex;
|
|
194
|
+
flex-direction: column;
|
|
195
|
+
position: absolute;
|
|
196
|
+
bottom: ${e=>e.theme.px.xxxlarge};
|
|
197
|
+
max-width: max-content;
|
|
198
|
+
min-width: 80px;
|
|
199
|
+
background: ${e=>e.theme.palette.background4};
|
|
200
|
+
box-shadow: ${e=>e.theme.shadow.base};
|
|
201
|
+
height: max-content;
|
|
202
|
+
z-index: 100;
|
|
203
|
+
|
|
204
|
+
.menu-item {
|
|
205
|
+
border-radius: unset;
|
|
206
|
+
background: none;
|
|
207
|
+
border: transparent;
|
|
208
|
+
text-overflow: ellipsis;
|
|
209
|
+
width: 100%;
|
|
210
|
+
display: block;
|
|
211
|
+
overflow: clip;
|
|
212
|
+
& > * {
|
|
213
|
+
text-align: left;
|
|
214
|
+
}
|
|
215
|
+
font-weight: ${({theme:e})=>e.fontWeight.normal};
|
|
216
|
+
padding-top: ${({theme:e,buttonSize:t})=>p[t](e)};
|
|
217
|
+
padding-bottom: ${({theme:e,buttonSize:t})=>p[t](e)};
|
|
218
|
+
padding-left: ${({theme:e})=>e.px.small};
|
|
219
|
+
padding-right: ${({theme:e})=>e.px.small};
|
|
220
|
+
|
|
221
|
+
:first-child {
|
|
222
|
+
border-top-left-radius: ${({theme:e})=>e.radius.small};
|
|
223
|
+
border-top-right-radius: ${({theme:e})=>e.radius.small};
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
:last-child {
|
|
227
|
+
border-bottom-left-radius: ${({theme:e})=>e.radius.small};
|
|
228
|
+
border-bottom-right-radius: ${({theme:e})=>e.radius.small};
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
&:focus,
|
|
232
|
+
&:hover {
|
|
233
|
+
outline: none;
|
|
234
|
+
border-color: transparent;
|
|
235
|
+
background: ${e=>e.theme.palette.background2};
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
&:disabled,
|
|
239
|
+
&:active:disabled {
|
|
240
|
+
color: ${({theme:e})=>e.palette.textInactive};
|
|
241
|
+
background: ${e=>e.theme.palette.background4};
|
|
242
|
+
opacity: unset;
|
|
243
|
+
}
|
|
244
|
+
}
|
|
245
|
+
`},7106:function(e,t,r){var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var o=Object.getOwnPropertyDescriptor(t,r);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,o)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),o(r(92),t),o(r(1423),t)},7643:function(e,t,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.ContentMenu=t.findPathToItemWithId=void 0;const o=r(1085),a=r(2015),i=n(r(2770)),l=r(5347),c=r(4404),s=n(r(5756)),u=r(4598);t.findPathToItemWithId=(e,r,n)=>{if(e.id===n)return r;if(e.children)for(let o=0;o<e.children.length;++o){const a=e.children[o];r.push(a.id);const i=(0,t.findPathToItemWithId)(a,r,n);if(i)return i;r.pop()}},t.ContentMenu=({structure:e,handleClickItem:r,handleBookmarkItem:n,targetId:i,disableBookmarking:l,selectedScheme:f})=>{const[p,h]=(0,a.useState)([]),[g,b]=(0,a.useState)(),v=(0,a.useRef)(null),[m,y]=(0,a.useState)({}),w=(0,a.useCallback)(()=>{v.current&&v.current.scrollTo({left:v.current.scrollWidth,behavior:"smooth"})},[]),x=(0,a.useCallback)((e,t)=>{y(e&&t?{label:e,element:t}:{})},[]);(0,a.useEffect)(()=>{if(i){const r=(0,t.findPathToItemWithId)({id:"",children:e},[],i);if(r)return h(r),void b(`content-menu-item-${i}`)}b(void 0)},[i]),(0,a.useEffect)(()=>{w()},[p]);const[_,k]=(0,a.useState)(null);return(0,a.useEffect)(()=>{var t,r;k(null!==(r=null===(t=null==e?void 0:e[0])||void 0===t?void 0:t.id)&&void 0!==r?r:null)},e),(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(s.default,{label:m.label,element:m.element}),(0,o.jsx)(d,{ref:v,role:"tree",onScroll:()=>x(),children:(0,o.jsx)(u.ContentMenuContext.Provider,{value:{focusedContentItemId:_,setFocusedContentItemId:e=>k(e)},children:(0,o.jsx)(c.ContentMenuColumn,{entries:e,depth:0,path:p,targetItemId:g,setCurrentlySelectedPath:h,handleClickItem:r,handleBookmarkItem:n,parentEntry:null,toggleTooltip:x,disableBookmarking:l,selectedScheme:f})})})]})};const d=(0,i.default)(l.Box)`
|
|
246
|
+
height: 100%;
|
|
247
|
+
width: 100%;
|
|
248
|
+
|
|
249
|
+
display: flex;
|
|
250
|
+
|
|
251
|
+
overflow-x: auto;
|
|
252
|
+
overflow-y: hidden;
|
|
253
|
+
`},4404:function(e,t,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.ContentMenuColumn=void 0;const o=r(1085),a=r(2015),i=n(r(2770)),l=r(1525),c=r(4598),s=r(7152);t.ContentMenuColumn=({entries:e,depth:r,path:n,targetItemId:i,setCurrentlySelectedPath:l,handleClickItem:f,handleBookmarkItem:p,parentEntry:h,toggleTooltip:g,disableBookmarking:b,selectedScheme:v})=>{const m=(0,a.useRef)(null),y=n[r],w=y?e.find(e=>e.id===y):void 0,{setFocusedContentItemId:x}=(0,a.useContext)(c.ContentMenuContext);(0,a.useEffect)(()=>{if(i&&w){const e=document.getElementById(`content-menu-item-${w.id}`);if(e&&m.current){const t=e.getBoundingClientRect().top-m.current.children[0].getBoundingClientRect().top;m.current.scrollTo({top:t,behavior:"smooth"})}}},[i]);const _=(0,a.useCallback)(e=>{l(t=>e.id?(t[r]=e.id,t.slice(0,r+1)):t.slice(0,r)),e.children.length&&x(e.children[0].id)},[]);return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(u,{ref:m,role:"group",children:e.length>0?(0,o.jsx)("div",{children:e.map(t=>(0,o.jsx)(s.ContentMenuItem,{entry:t,role:"treeitem","aria-level":r+1,active:"folder"===t.type&&t.id===y,"aria-expanded":"folder"===t.type?!(!w||w.id!==t.id):void 0,handleClick:(e,r)=>{"folder"===e.type?_(e):f(t,r)},handleBookmark:p,onKeyDown:r=>((t,r)=>{const n=e.indexOf(r);switch(t.key){case"ArrowUp":{t.preventDefault();const r=e[n-1];r&&x(r.id);break}case"ArrowDown":{t.preventDefault();const r=e[n+1];r&&x(r.id);break}case"ArrowLeft":h&&(t.preventDefault(),x(h.id));break;case"Enter":case" ":case"ArrowRight":if(t.currentTarget!==t.target)return;if(t.preventDefault(),"folder"===r.type)_(r),r.children.length&&x(r.children[0].id);else if("ArrowRight"!==t.key){const e={ctrlKey:t.ctrlKey,metaKey:t.metaKey,shiftKey:t.shiftKey};f(r,e)}}})(r,t),toggleTooltip:g,disableBookmarking:b,selectedScheme:v},t.id))}):(0,o.jsx)(d,{children:"No content available."})}),w&&"folder"===w.type&&(0,o.jsx)(t.ContentMenuColumn,{entries:w.children,depth:r+1,path:n,targetItemId:i,setCurrentlySelectedPath:l,handleClickItem:f,handleBookmarkItem:p,parentEntry:w,toggleTooltip:g,disableBookmarking:b,selectedScheme:v})]})};const u=(0,i.default)(l.MenuFrame).attrs({className:"content-menu-column-frame"})`
|
|
254
|
+
height: 100%;
|
|
255
|
+
width: 241px;
|
|
256
|
+
padding: ${({theme:e})=>e.px.xsmall};
|
|
257
|
+
overflow-y: auto;
|
|
258
|
+
|
|
259
|
+
position: unset;
|
|
260
|
+
flex-shrink: 0;
|
|
261
|
+
|
|
262
|
+
border-right: 1px solid ${({theme:e})=>e.palette.background5};
|
|
263
|
+
background-color: transparent;
|
|
264
|
+
`,d=i.default.div`
|
|
265
|
+
height: 100%;
|
|
266
|
+
|
|
267
|
+
display: flex;
|
|
268
|
+
justify-content: center;
|
|
269
|
+
align-items: center;
|
|
270
|
+
|
|
271
|
+
user-select: none;
|
|
272
|
+
`},4598:function(e,t,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.ContentMenuContext=void 0;const o=n(r(2015));t.ContentMenuContext=o.default.createContext({focusedContentItemId:null,setFocusedContentItemId:()=>{}})},7152:function(e,t,r){var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var o=Object.getOwnPropertyDescriptor(t,r);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,o)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),a=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&n(t,e,r);return o(t,e),t},i=this&&this.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r};Object.defineProperty(t,"__esModule",{value:!0}),t.ContentMenuItemContainer=t.ContentMenuItem=void 0;const l=r(1085),c=r(2015),s=a(r(2770)),u=r(2394),d=r(5347),f=r(1525),p=r(4598),h=r(3470);t.ContentMenuItem=e=>{var r,{entry:n,active:o,handleClick:a,handleBookmark:s,toggleTooltip:d,disableBookmarking:m,selectedScheme:y}=e,w=i(e,["entry","active","handleClick","handleBookmark","toggleTooltip","disableBookmarking","selectedScheme"]);const{label:x,type:_}=n,k=(0,c.useRef)(null),{focusedContentItemId:C}=(0,c.useContext)(p.ContentMenuContext),O=(0,c.useCallback)(()=>{"item"===n.type&&"desktop"===n.itemData.appType&&k.current&&d("Launch Desktop App",k.current)},[n]);(0,c.useEffect)(()=>{var e;n.id===C&&(null===(e=k.current)||void 0===e||e.focus())},[C]);const P="item"===n.type&&n.icon?"string"==typeof n.icon?n.icon:n.icon[null!=y?y:"light"]:void 0;return(0,l.jsxs)(t.ContentMenuItemContainer,Object.assign({id:`content-menu-item-${n.id}`,onClick:e=>a(n,e),onMouseEnter:O,onMouseLeave:()=>d(),active:o,tabIndex:C===n.id?0:-1,ref:k,"aria-label":n.label},w,{children:["item"===_&&(0,l.jsx)(h.IconWithFallback,{iconUrl:P}),(0,l.jsx)(g,{size:"base",weight:"normal",children:x}),(0,l.jsxs)(b,{children:[!m&&(0,l.jsx)(v,{bookmarked:n.bookmarked,role:"button",onKeyDown:e=>{"Enter"!==e.key&&"Space"!==e.key||(null==e||e.stopPropagation(),s&&s(n))},onClick:e=>{var t;null==e||e.stopPropagation(),s&&s(n),null===(t=k.current)||void 0===t||t.focus()},"data-testid":`content-menu-item-${n.id}-bookmark-icon`,tabIndex:C===n.id?0:-1,"aria-label":n.bookmarked?`Remove ${n.label} from favorites`:`Add ${n.label} to favorites`,children:n.bookmarked?(0,l.jsx)(u.Icon,{icon:"StarFilledIcon"}):(0,l.jsx)(u.Icon,{icon:"StarIcon"})}),"item"===n.type&&"desktop"===(null===(r=n.itemData)||void 0===r?void 0:r.appType)&&(0,l.jsx)(f.MenuItemRightIcon,{icon:"ArrowTopRightIcon"}),"folder"===_&&(0,l.jsx)(f.MenuItemRightIcon,{icon:"ChevronRightIcon","data-testid":`content-menu-item-${n.id}-chevron-icon`})]})]}))};const g=(0,s.default)(f.MenuItemText)`
|
|
273
|
+
padding-right: ${({theme:e})=>e.px.large};
|
|
274
|
+
`,b=(0,s.default)(d.Box)`
|
|
275
|
+
margin-left: auto;
|
|
276
|
+
justify-self: end;
|
|
277
|
+
gap: ${({theme:e})=>e.px.small};
|
|
278
|
+
padding-right: ${({theme:e})=>e.px.small};
|
|
279
|
+
|
|
280
|
+
svg {
|
|
281
|
+
height: ${({theme:e})=>e.px.large};
|
|
282
|
+
width: ${({theme:e})=>e.px.large};
|
|
283
|
+
}
|
|
284
|
+
`,v=(0,s.default)(d.Box)`
|
|
285
|
+
${({bookmarked:e})=>e?s.css`
|
|
286
|
+
& + ${f.MenuItemIconContainer} {
|
|
287
|
+
margin-left: unset;
|
|
288
|
+
}
|
|
289
|
+
`:s.css`
|
|
290
|
+
opacity: 0;
|
|
291
|
+
`};
|
|
292
|
+
|
|
293
|
+
&:focus {
|
|
294
|
+
outline: none;
|
|
295
|
+
}
|
|
296
|
+
|
|
297
|
+
&:focus-visible {
|
|
298
|
+
opacity: 1;
|
|
299
|
+
outline: solid 1px ${({theme:e})=>e.palette.statusActive};
|
|
300
|
+
border-radius: ${({theme:e})=>e.radius.small};
|
|
301
|
+
}
|
|
302
|
+
`;t.ContentMenuItemContainer=(0,s.default)(f.MenuItemInnerContainer).attrs(({active:e})=>({className:["content-menu-item-container",e?"content-menu-item-container-active":""].filter(Boolean).join(" ")}))`
|
|
303
|
+
&:focus {
|
|
304
|
+
outline: none;
|
|
305
|
+
}
|
|
306
|
+
|
|
307
|
+
&:focus-visible {
|
|
308
|
+
outline: solid 1px ${({theme:e})=>e.palette.statusActive};
|
|
309
|
+
border-radius: ${({theme:e})=>e.radius.small};
|
|
310
|
+
|
|
311
|
+
${v} {
|
|
312
|
+
opacity: 1;
|
|
313
|
+
}
|
|
314
|
+
}
|
|
315
|
+
|
|
316
|
+
${({theme:e,active:t})=>t&&s.css`
|
|
317
|
+
background-color: ${e.palette.background3};
|
|
318
|
+
`}
|
|
319
|
+
&:hover {
|
|
320
|
+
background-color: ${({theme:e})=>e.palette.background2};
|
|
321
|
+
|
|
322
|
+
${v} {
|
|
323
|
+
opacity: 1;
|
|
324
|
+
}
|
|
325
|
+
|
|
326
|
+
${v} + ${f.MenuItemIconContainer} {
|
|
327
|
+
margin-left: unset;
|
|
328
|
+
}
|
|
329
|
+
}
|
|
330
|
+
`},3470:function(e,t,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.IconWithFallback=void 0;const o=r(1085),a=n(r(2770)),i=r(2394),l=r(9494);t.IconWithFallback=({iconUrl:e,alt:t})=>{const r=(0,l.useImageLoader)(e);return"error"===r?(0,o.jsx)(c,{children:(0,o.jsx)(i.Icon,{icon:"FallbackGlobeIcon"})}):"loading"===r?(0,o.jsx)(s,{}):(0,o.jsx)(u,{src:e,alt:t})};const c=a.default.div`
|
|
331
|
+
height: ${({theme:e})=>e.px.large};
|
|
332
|
+
width: ${({theme:e})=>e.px.large};
|
|
333
|
+
margin-left: ${({theme:e})=>e.px.small};
|
|
334
|
+
|
|
335
|
+
border-radius: ${({theme:e})=>e.radius.small};
|
|
336
|
+
`,s=a.default.div`
|
|
337
|
+
height: ${({theme:e})=>e.px.large};
|
|
338
|
+
width: ${({theme:e})=>e.px.large};
|
|
339
|
+
margin-left: ${({theme:e})=>e.px.small};
|
|
340
|
+
`,u=a.default.img`
|
|
341
|
+
height: ${({theme:e})=>e.px.large};
|
|
342
|
+
width: ${({theme:e})=>e.px.large};
|
|
343
|
+
margin-left: ${({theme:e})=>e.px.small};
|
|
344
|
+
|
|
345
|
+
border-radius: ${({theme:e})=>e.radius.small};
|
|
346
|
+
|
|
347
|
+
user-select: none;
|
|
348
|
+
`},9494:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.useImageLoader=void 0;const n=r(2015);t.useImageLoader=e=>{const[t,r]=(0,n.useState)("loading");return(0,n.useEffect)(()=>{if(!e)return void r("error");r("loading");const t=new Image,n=()=>{r("success")},o=()=>{r("error")};return t.addEventListener("load",n),t.addEventListener("error",o),t.src=e,()=>{t.removeEventListener("load",n),t.removeEventListener("error",o)}},[e]),t}},5756:function(e,t,r){var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var o=Object.getOwnPropertyDescriptor(t,r);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,o)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),a=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&n(t,e,r);return o(t,e),t};Object.defineProperty(t,"__esModule",{value:!0});const i=r(1085),l=r(2015),c=a(r(2770)),s=r(3968);t.default=({label:e,element:t})=>{const r=(0,l.useRef)(null),[n,o]=(0,l.useState)({}),[a,c]=(0,l.useState)(!1);return(0,l.useEffect)(()=>{if(t&&r.current){const{top:e,left:n,height:a,width:i}=t.getBoundingClientRect(),l=n+i/2,{height:s,width:u}=r.current.getBoundingClientRect(),d=e-s-12,f=d>0?d:e+a+12;o({top:f,left:l-u/2,arrowUp:d!==f}),c(!0)}else o({}),c(!1)},[a,t]),(0,i.jsx)(u,{ref:r,left:n.left,top:n.top,arrowUp:n.arrowUp,children:(0,i.jsx)(s.Text,{children:e})})};const u=c.default.div`
|
|
349
|
+
pointer-events: none;
|
|
350
|
+
position: fixed;
|
|
351
|
+
z-index: 1;
|
|
352
|
+
top: ${({top:e})=>`${null!=e?e:-99999}px`};
|
|
353
|
+
left: ${({left:e})=>`${null!=e?e:-99999}px`};
|
|
354
|
+
|
|
355
|
+
padding: ${({theme:e})=>e.px.small};
|
|
356
|
+
border: 1px solid ${({theme:e})=>e.palette.background4};
|
|
357
|
+
border-radius: ${({theme:e})=>e.px.xsmall};
|
|
358
|
+
|
|
359
|
+
background: ${({theme:e})=>e.palette.background1};
|
|
360
|
+
box-shadow: 0px 0px 10px ${({theme:e})=>`rgb(from ${e.palette.textDefault} r g b / 10%)`};
|
|
361
|
+
|
|
362
|
+
&:before {
|
|
363
|
+
pointer-events: none;
|
|
364
|
+
content: '';
|
|
365
|
+
display: block;
|
|
366
|
+
position: absolute;
|
|
367
|
+
left: calc(50% - 10px);
|
|
368
|
+
width: 0;
|
|
369
|
+
height: 0;
|
|
370
|
+
border: 10px solid transparent;
|
|
371
|
+
|
|
372
|
+
${({arrowUp:e})=>e?c.css`
|
|
373
|
+
bottom: 100%;
|
|
374
|
+
border-bottom-color: ${({theme:e})=>e.palette.background4};
|
|
375
|
+
`:c.css`
|
|
376
|
+
top: 100%;
|
|
377
|
+
border-top-color: ${({theme:e})=>e.palette.background4};
|
|
378
|
+
`}
|
|
379
|
+
}
|
|
380
|
+
|
|
381
|
+
&:after {
|
|
382
|
+
pointer-events: none;
|
|
383
|
+
content: '';
|
|
384
|
+
display: block;
|
|
385
|
+
position: absolute;
|
|
386
|
+
left: calc(50% - 9px);
|
|
387
|
+
width: 0;
|
|
388
|
+
height: 0;
|
|
389
|
+
border: 9px solid transparent;
|
|
390
|
+
|
|
391
|
+
${({arrowUp:e})=>e?c.css`
|
|
392
|
+
bottom: 100%;
|
|
393
|
+
border-bottom-color: ${({theme:e})=>e.palette.background1};
|
|
394
|
+
`:c.css`
|
|
395
|
+
top: 100%;
|
|
396
|
+
border-top-color: ${({theme:e})=>e.palette.background1};
|
|
397
|
+
`}
|
|
398
|
+
}
|
|
399
|
+
`},6473:function(e,t,r){var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var o=Object.getOwnPropertyDescriptor(t,r);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,o)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),o(r(7643),t)},9399:function(e,t,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.CustomContextMenu=t.CONTEXT_MENU_ANIMATION_DURATION=t.PRIOR_CONTEXT_MENU_CLASS=t.BASE_CONTEXT_MENU=t.ACTIVE_CONTEXT_MENU_CLASS=t.CONTEXT_MENU_FRAME_ID=void 0;const o=r(1085),a=r(2015),i=n(r(2770)),l=r(1525),c=r(6644),s=r(6502),u=r(4848),d=r(9993),f=r(6559),p=r(4045);t.CONTEXT_MENU_FRAME_ID="context_menu_frame",t.ACTIVE_CONTEXT_MENU_CLASS="active_context_menu",t.BASE_CONTEXT_MENU="base_context_menu",t.PRIOR_CONTEXT_MENU_CLASS="previous_context_menu",t.CONTEXT_MENU_ANIMATION_DURATION=200,t.CustomContextMenu=({menuTemplate:e,onClick:r,icon:n,onMenuResize:i,onContextMenuReady:l,isWindows:b=!0})=>{var v;const m=(0,a.useRef)(null),[y,w]=(0,a.useState)(!1),[x,_]=(0,a.useState)({width:160,height:160}),[k,C]=(0,a.useState)(0),[O,P]=(0,a.useState)([]),[j,S]=(0,a.useState)(),[M,I]=(0,a.useState)([]),[$,B]=(0,a.useState)(e.map(e=>e.label||"")),[D,T]=(0,a.useState)(-1);(0,a.useEffect)(()=>{B(e.map(e=>e.label||"")),T($.findIndex(e=>e===j))},[e]);const{width:E,height:A}=(0,f.useResizeContextMenu)(j),{handleNavigateToSubmenu:F,handleNavigateBackToParent:R,handleNavigateToBase:z}=(0,d.useContextMenuNavigation)(k,C,M,I,j,S,_,T,O,i);return(0,a.useEffect)(()=>{P((0,p.getMenuNavigationOrder)(e)),S(t.BASE_CONTEXT_MENU),I([]),_({width:E,height:A})},[e]),(0,u.useContextMenuKeyboardNavigation)(null===(v=O.find(e=>e.parentLabel===j))||void 0===v?void 0:v.menuTemplate,M,j,D,T,r,F,R,z),(0,a.useEffect)(()=>{m.current&&(y||(l&&l(),w(!0)))},[m.current]),(0,o.jsx)(h,{id:t.CONTEXT_MENU_FRAME_ID,transitionSpeed:k,isWindows:b,children:O.map(({parentLabel:e,menuTemplate:a})=>(0,o.jsx)("div",{ref:e===j?m:void 0,children:(0,o.jsxs)(g,{className:(0,p.getClassName)(e,j,M),activeMenuWidth:x.width,transitionSpeed:k,id:e,children:[e!==t.BASE_CONTEXT_MENU?(0,o.jsx)(c.CustomContextMenuItem,{type:"submenuHeader",label:e,onBack:()=>R(e,"click"),onClose:z,showShouldHomeButton:M.slice(2).includes(e)||M.length>=2&&j===e,selected:-1===D},`${e}-submenu-header`):n&&(0,o.jsx)(s.RootMenuHeader,{icon:n}),a.map((t,n)=>(0,o.jsx)(c.CustomContextMenuItem,Object.assign({onClick:e=>{t.hasSubMenu?F(t.label||""):r(e),T(-2)}},t,{selected:D===n}),`${e}-${t.label}-${n}`))]})},e))})};const h=i.default.div`
|
|
400
|
+
position: relative;
|
|
401
|
+
min-width: fit-content;
|
|
402
|
+
min-height: fit-content;
|
|
403
|
+
overflow: hidden;
|
|
404
|
+
|
|
405
|
+
background-color: ${({theme:e})=>e.palette.background1};
|
|
406
|
+
transition: ${({transitionSpeed:e})=>`all ${e}ms linear`};
|
|
407
|
+
border-radius: ${({isWindows:e})=>!e&&"10px"};
|
|
408
|
+
`,g=(0,i.default)(l.MenuFrame)`
|
|
409
|
+
transform: translateX(${({activeMenuWidth:e})=>`${e}px`});
|
|
410
|
+
transition: ${({transitionSpeed:e})=>`all ${e}ms cubic-bezier(0, 0, 0.58, 1)`};
|
|
411
|
+
opacity: 0%;
|
|
412
|
+
|
|
413
|
+
&.active_context_menu {
|
|
414
|
+
transform: unset;
|
|
415
|
+
opacity: 100%;
|
|
416
|
+
}
|
|
417
|
+
|
|
418
|
+
&.previous_context_menu {
|
|
419
|
+
transform: translateX(-100%);
|
|
420
|
+
opacity: 0%;
|
|
421
|
+
}
|
|
422
|
+
`},5619:function(e,t,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.ColorLinkingContextMenuWidget=void 0;const o=r(1085),a=n(r(2770)),i=r(2394),l=r(5347);t.ColorLinkingContextMenuWidget=({config:e,onClick:t})=>(0,o.jsx)(u,{children:e.channels.map(e=>"color"in e?(0,o.jsx)(s,{title:e.label,color:e.color,onClick:()=>null==t?void 0:t(e.data),children:e.checked&&(0,o.jsx)(i.Icon,{icon:"CheckIcon",title:e.label,size:"base",color:"white"})},e.label):(0,o.jsx)(c,{onClick:()=>null==t?void 0:t(e.data),children:(0,o.jsx)(i.Icon,{icon:"LinkBreak1Icon",title:e.label,size:"base"})},e.label))});const c=(0,a.default)(l.Box)`
|
|
423
|
+
cursor: pointer;
|
|
424
|
+
width: ${({theme:e})=>e.px.large};
|
|
425
|
+
height: ${({theme:e})=>e.px.large};
|
|
426
|
+
justify-content: center;
|
|
427
|
+
`,s=(0,a.default)(l.Box)`
|
|
428
|
+
background-color: ${({color:e})=>e};
|
|
429
|
+
width: ${({theme:e})=>e.px.large};
|
|
430
|
+
height: ${({theme:e})=>e.px.large};
|
|
431
|
+
border-radius: 3px;
|
|
432
|
+
cursor: pointer;
|
|
433
|
+
justify-content: center;
|
|
434
|
+
align-items: center;
|
|
435
|
+
`,u=(0,a.default)(l.Box)`
|
|
436
|
+
flex-direction: row;
|
|
437
|
+
gap: ${({theme:e})=>e.px.small};
|
|
438
|
+
/*
|
|
439
|
+
* Container width is colorbox width * columnCount + # of gaps * gap width + side padding
|
|
440
|
+
*/
|
|
441
|
+
width: calc(
|
|
442
|
+
${({theme:e})=>e.px.large} * 5 + 4 * ${({theme:e})=>e.px.small} + 2 *
|
|
443
|
+
${({theme:e})=>e.px.small}
|
|
444
|
+
);
|
|
445
|
+
flex-wrap: wrap;
|
|
446
|
+
padding: ${({theme:e})=>e.px.small} ${({theme:e})=>e.px.small};
|
|
447
|
+
`},6644:function(e,t,r){var n=this&&this.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r};Object.defineProperty(t,"__esModule",{value:!0}),t.CustomContextMenuItem=void 0;const o=r(1085),a=r(2015),i=r(2043),l=r(8705),c=r(2590),s=r(9060),u={normal:i.NormalCustomContextMenuItem,checkbox:i.NormalCustomContextMenuItem,submenu:i.NormalCustomContextMenuItem,separator:l.SeparatorCustomContextMenuItem,submenuHeader:c.SubmenuHeaderCustomContextMenuItem,widget:s.WidgetCustomContextMenuItem};t.CustomContextMenuItem=e=>{var{type:t="normal",icon:r,label:i,enabled:l=!0,checked:c,hasSubMenu:s,showShouldHomeButton:d,onClick:f,onClose:p,onBack:h,selected:g}=e,b=n(e,["type","icon","label","enabled","checked","hasSubMenu","showShouldHomeButton","onClick","onClose","onBack","selected"]);let v;switch(t){case"normal":case"checkbox":{v=Object.assign(Object.assign({},b),{type:t,label:i,icon:r,enabled:l,checked:c,selected:g,onClick:f});const e=u[t];return(0,a.createElement)(e,Object.assign({},v,{key:i}))}case"submenu":{v=Object.assign(Object.assign({},b),{label:i,enabled:l,checked:c,hasSubMenu:s,selected:g,onClick:f});const e=u[t];return(0,a.createElement)(e,Object.assign({},v,{key:i}))}case"submenuHeader":{v={label:i,showShouldHomeButton:d,onClose:p,onBack:h,selected:g,onClick:f};const e=u[t];return(0,a.createElement)(e,Object.assign({},v,{key:i}))}case"separator":{const e=u[t];return(0,o.jsx)(e,{})}case"widget":{const e=Object.assign(Object.assign({},b),{onClick:f,label:i,enabled:l}),r=u[t];return(0,a.createElement)(r,Object.assign({},e,{key:i,onClick:f}))}default:return(0,o.jsx)(o.Fragment,{})}}},2043:function(e,t,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.NormalCustomContextMenuItem=void 0;const o=r(1085),a=n(r(2770)),i=r(2394),l=r(1525);t.NormalCustomContextMenuItem=({type:e,label:t,enabled:r=!0,checked:n,hasSubMenu:a,onClick:i,selected:s,data:u})=>(0,o.jsx)(l.MenuItemContainer,{children:(0,o.jsxs)(l.MenuItemInnerContainer,{onClick:r?()=>null==i?void 0:i(u):void 0,enabled:r.toString(),selected:s,children:["checkbox"===e&&(0,o.jsx)(l.MenuItemIconContainer,{side:"left",children:(0,o.jsx)(c,{icon:"CheckIcon",enabled:r,checked:n})}),(0,o.jsx)(l.MenuItemText,{size:"base",weight:"normal",enabled:r,children:t}),a&&(0,o.jsx)(l.MenuItemIconContainer,{side:"right",children:(0,o.jsx)(l.MenuItemRightIcon,{icon:"ChevronRightIcon",enabled:r})})]})});const c=(0,a.default)(i.Icon)`
|
|
448
|
+
svg path {
|
|
449
|
+
fill: ${({theme:e,enabled:t,checked:r})=>t?r?e.palette.textDefault:"transparent":e.palette.textInactive};
|
|
450
|
+
stroke-width: 1.25;
|
|
451
|
+
}
|
|
452
|
+
`},6502:function(e,t,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.RootMenuHeader=void 0;const o=r(1085),a=n(r(2770)),i=r(5347),l=r(8705);t.RootMenuHeader=({icon:e})=>(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(c,{children:e}),(0,o.jsx)(l.SeparatorCustomContextMenuItem,{})]});const c=(0,a.default)(i.Box)`
|
|
453
|
+
width: 100%;
|
|
454
|
+
height: 28px;
|
|
455
|
+
display: flex;
|
|
456
|
+
align-items: center;
|
|
457
|
+
justify-content: flex-start;
|
|
458
|
+
border-radius: ${({theme:e})=>e.radius.small};
|
|
459
|
+
padding: ${({theme:e})=>`0 0 0 ${e.px.large}`};
|
|
460
|
+
`},8705:function(e,t,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.SeparatorCustomContextMenuItem=void 0;const o=r(1085),a=n(r(2770)),i=r(5347);t.SeparatorCustomContextMenuItem=()=>(0,o.jsx)(l,{"data-testid":"custom-context-menu-separator",children:(0,o.jsx)(c,{})});const l=(0,a.default)(i.Box)`
|
|
461
|
+
width: 100%;
|
|
462
|
+
padding: ${({theme:e})=>e.px.small} 0;
|
|
463
|
+
`,c=a.default.hr`
|
|
464
|
+
width: 100%;
|
|
465
|
+
height: 1px;
|
|
466
|
+
border: none;
|
|
467
|
+
background-color: ${({theme:e})=>e.palette.background3};
|
|
468
|
+
`},2590:function(e,t,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.SubmenuHeaderCustomContextMenuItem=void 0;const o=r(1085),a=r(2015),i=n(r(2770)),l=r(2394),c=r(5347),s=r(3968),u=r(8705);t.SubmenuHeaderCustomContextMenuItem=({label:e,showShouldHomeButton:t,onClose:r,onBack:n,selected:i})=>{const l=(0,a.useCallback)(e=>{e.stopPropagation(),null==n||n()},[n]),c=(0,a.useCallback)(e=>{e.stopPropagation(),null==r||r()},[r]);return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsxs)(d,{children:[(0,o.jsx)(f,{side:"left",selected:i,children:(0,o.jsx)(p,{icon:"ArrowLeftIcon",onClick:l,id:"back-icon",selected:i})}),(0,o.jsx)(h,{size:"base",weight:"normal",children:e}),t&&(0,o.jsx)(f,{side:"right",children:(0,o.jsx)(g,{icon:"Cross2Icon",onClick:c,id:"close-icon"})})]}),(0,o.jsx)(u.SeparatorCustomContextMenuItem,{})]})};const d=(0,i.default)(c.Box)`
|
|
469
|
+
width: 100%;
|
|
470
|
+
height: 28px;
|
|
471
|
+
display: flex;
|
|
472
|
+
align-items: center;
|
|
473
|
+
justify-content: flex-start;
|
|
474
|
+
border-radius: ${({theme:e})=>e.radius.small};
|
|
475
|
+
padding: ${({theme:e})=>`0 ${e.px.small} 0 ${e.px.small}`};
|
|
476
|
+
`,f=(0,i.default)(c.Box)`
|
|
477
|
+
padding: ${({theme:e,side:t})=>"right"===t?`0 ${e.px.small} 0 0`:`0 0 0 ${e.px.small}`};
|
|
478
|
+
margin-left: ${({side:e})=>"right"===e?"auto":0};
|
|
479
|
+
`,p=(0,i.default)(l.Icon)`
|
|
480
|
+
border-radius: ${({theme:e})=>e.radius.small};
|
|
481
|
+
background-color: ${({selected:e,theme:t})=>e?t.palette.background3:"transparent"};
|
|
482
|
+
color: ${({theme:e,selected:t})=>t?e.palette.textDefault:e.palette.textHelp};
|
|
483
|
+
stroke: ${({theme:e,selected:t})=>t?e.palette.textDefault:e.palette.textHelp};
|
|
484
|
+
stroke-width: 0.25;
|
|
485
|
+
|
|
486
|
+
&:hover {
|
|
487
|
+
color: ${({theme:e})=>e.palette.textDefault};
|
|
488
|
+
stroke: ${({theme:e})=>e.palette.textDefault};
|
|
489
|
+
}
|
|
490
|
+
`,h=(0,i.default)(s.Text)`
|
|
491
|
+
color: ${({theme:e})=>e.palette.textHelp};
|
|
492
|
+
padding: ${({theme:e})=>`0 ${e.px.xxxlarge} 0 ${e.px.small}`};
|
|
493
|
+
cursor: default;
|
|
494
|
+
`,g=(0,i.default)(l.Icon)`
|
|
495
|
+
color: ${({theme:e})=>e.palette.textHelp};
|
|
496
|
+
stroke: ${({theme:e})=>e.palette.textHelp};
|
|
497
|
+
stroke-width: 0.25;
|
|
498
|
+
margin-left: auto;
|
|
499
|
+
|
|
500
|
+
&:hover {
|
|
501
|
+
color: ${({theme:e})=>e.palette.textDefault};
|
|
502
|
+
stroke: ${({theme:e})=>e.palette.textDefault};
|
|
503
|
+
}
|
|
504
|
+
`},9060:function(e,t,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.WidgetCustomContextMenuItem=void 0;const o=r(1085),a=n(r(2770)),i=r(5347),l=r(1525),c=r(5619);t.WidgetCustomContextMenuItem=({label:e,enabled:t,onClick:r,config:n})=>(0,o.jsx)(l.MenuItemContainer,{children:(0,o.jsxs)(s,{enabled:(null!=t?t:"true").toString(),children:[(0,o.jsx)(l.MenuItemText,{size:"base",weight:"normal",enabled:t,children:e}),(0,o.jsx)(c.ColorLinkingContextMenuWidget,{config:n,onClick:r})]})});const s=(0,a.default)(i.Box)`
|
|
505
|
+
display: flex;
|
|
506
|
+
flex-direction: column;
|
|
507
|
+
align-items: start;
|
|
508
|
+
width: 100%;
|
|
509
|
+
min-height: 28px;
|
|
510
|
+
justify-content: flex-start;
|
|
511
|
+
border-radius: ${({theme:e})=>e.radius.small};
|
|
512
|
+
background-color: ${({theme:e,selected:t,enabled:r})=>"false"!==r&&t?e.palette.background3:"transparent"};
|
|
513
|
+
`},8904:function(e,t,r){var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var o=Object.getOwnPropertyDescriptor(t,r);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,o)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),o(r(9399),t)},4848:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.useContextMenuKeyboardNavigation=void 0;const n=r(2015),o=r(9399);t.useContextMenuKeyboardNavigation=(e,t,r,a,i,l,c,s,u)=>{const d=t=>{var r,n,o;return"separator"===(null===(r=e[t])||void 0===r?void 0:r.type)||!1===(null===(n=e[t])||void 0===n?void 0:n.enabled)||!1===(null===(o=e[t])||void 0===o?void 0:o.visible)},f=(0,n.useCallback)(()=>{i(t=>{let r=t;do{if(r===(null==e?void 0:e.length)-1)break;r+=1}while(d(r));return d(r)?t:r})},[i,e]),p=(0,n.useCallback)(()=>{i(e=>{let t=e;do{if(r===o.BASE_CONTEXT_MENU&&0===t||-1===t)break;t-=1}while(d(t));return t})},[i,e]),h=(0,n.useCallback)(()=>{i(r===o.BASE_CONTEXT_MENU?0:-1)},[i,r]),g=(0,n.useCallback)(()=>{i(t=>{for(let r=e.length-1;r>=t;r--)if(!d(r))return r;return t})},[null==e?void 0:e.length,i]),b=(0,n.useCallback)(()=>{var t,n;if(null===(t=e[a])||void 0===t?void 0:t.hasSubMenu)c((null===(n=e[a])||void 0===n?void 0:n.label)||"");else{if(-1===a)return void s(r,"keyboard");l(e[a].data)}i(-1)},[i,l,c,e,a,s,r]),v=(0,n.useCallback)(()=>{var t,r;(null===(t=e[a])||void 0===t?void 0:t.hasSubMenu)&&(c((null===(r=e[a])||void 0===r?void 0:r.label)||""),i(-1))},[i,c,e,a]),m=(0,n.useCallback)(()=>{(t.slice(1).includes(r)||(null==t?void 0:t.length)>=1)&&s(r,"keyboard")},[s,t,r]),y=(0,n.useCallback)(()=>{t.slice(2).includes(r)||(null==t?void 0:t.length)>=2?u():l({type:"close"})},[u,t,r]);(0,n.useEffect)(()=>{const e=e=>{switch(e.key){case"ArrowDown":f();break;case"ArrowUp":p();break;case"Home":case"PageUp":h();break;case"End":case"PageDown":g();break;case"Enter":b();break;case"ArrowRight":v();break;case"ArrowLeft":m();break;case"Escape":y()}};return document.addEventListener("keydown",e),()=>{document.removeEventListener("keydown",e)}},[f,p,h,g,b,v,m,y])}},9993:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.useContextMenuNavigation=void 0;const n=r(2015),o=r(9399);t.useContextMenuNavigation=(e,t,r,a,i,l,c,s,u,d)=>{const f=(0,n.useCallback)(e=>{const t=document.getElementById(e),r=null==t?void 0:t.getBoundingClientRect();return{height:(null==r?void 0:r.height)||0,width:(null==r?void 0:r.width)||0}},[]);return{handleNavigateToSubmenu:(0,n.useCallback)(n=>{const{height:s,width:u}=f(n);d&&d(s,u),e||t(o.CONTEXT_MENU_ANIMATION_DURATION),c({width:u,height:s}),l(n),a([...r,i])},[i,r,a,d,t,f]),handleNavigateBackToParent:(0,n.useCallback)((e,t="click")=>{if(d){const e=1===r.length?o.BASE_CONTEXT_MENU:r[r.length-1],{height:t,width:n}=f(e);d(t,n)}const n=r,i=n.pop(),c=u.find(e=>e.parentLabel===i);l(i),a(n),s("keyboard"===t?(null==c?void 0:c.menuTemplate.findIndex(t=>t.label===e))||0:-1)},[r,a,s,f,d,u]),handleNavigateToBase:(0,n.useCallback)(()=>{if(d){const{height:e,width:t}=f(o.BASE_CONTEXT_MENU);d(e,t)}l(o.BASE_CONTEXT_MENU),a([]),s(-1)},[l,a,s,f,d])}}},6559:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.useResizeContextMenu=void 0;const n=r(2015),o=r(9399);t.useResizeContextMenu=e=>{const[t,r]=(0,n.useState)({height:160,width:160});return(0,n.useEffect)(()=>{const t=document.getElementById(e),n=document.getElementById(o.CONTEXT_MENU_FRAME_ID);if(!t)return;const a=new ResizeObserver(e=>{for(const t of e){const{width:e,height:o}=t.target.getBoundingClientRect();n&&(n.style.height=`${o}px`,n.style.width=`${e}px`,r({width:e,height:o}))}});return a.observe(t),()=>{a.unobserve(t)}},[e]),t}},4045:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.getMenuNavigationOrder=t.getClassName=void 0;const n=r(9399);t.getClassName=(e,t,r)=>t===e?n.ACTIVE_CONTEXT_MENU_CLASS:r.includes(e)?n.PRIOR_CONTEXT_MENU_CLASS:"",t.getMenuNavigationOrder=e=>{if(!e)return[];const t=[{parentLabel:n.BASE_CONTEXT_MENU,template:e}],r=[];for(;t.length;){const{template:e,parentLabel:n}=t.pop();e.forEach(({submenu:r,label:n},o)=>{r&&(t.push({parentLabel:n||"",template:r}),delete e[o].submenu,e[o].hasSubMenu=!0)}),r.push({parentLabel:n,menuTemplate:e})}return r}},1525:function(e,t,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.MenuItemText=t.MenuItemRightIcon=t.MenuItemIconButton=t.MenuItemIconContainer=t.MenuItemInnerContainer=t.MenuItemContainer=t.MenuFrame=void 0;const o=n(r(2770)),a=r(2394),i=r(5347),l=r(3968);t.MenuFrame=(0,o.default)(i.Box)`
|
|
514
|
+
display: flex;
|
|
515
|
+
flex-direction: column;
|
|
516
|
+
position: absolute;
|
|
517
|
+
width: max-content;
|
|
518
|
+
background-color: ${({theme:e})=>e.palette.background1};
|
|
519
|
+
padding: ${({theme:e})=>`${e.px.small} 0 ${e.px.small} 0`};
|
|
520
|
+
`,t.MenuItemContainer=(0,o.default)(i.Box)`
|
|
521
|
+
width: 100%;
|
|
522
|
+
padding: ${({theme:e})=>`0 ${e.px.small} 0 ${e.px.small}`};
|
|
523
|
+
`,t.MenuItemInnerContainer=(0,o.default)(i.Box)`
|
|
524
|
+
width: 100%;
|
|
525
|
+
min-height: 28px;
|
|
526
|
+
display: flex;
|
|
527
|
+
align-items: center;
|
|
528
|
+
justify-content: flex-start;
|
|
529
|
+
border-radius: ${({theme:e})=>e.radius.small};
|
|
530
|
+
background-color: ${({theme:e,selected:t,enabled:r})=>"false"!==r&&t?e.palette.background3:"transparent"};
|
|
531
|
+
|
|
532
|
+
&:hover {
|
|
533
|
+
background-color: ${({theme:e,enabled:t})=>"false"!==t?e.palette.background3:"transparent"};
|
|
534
|
+
}
|
|
535
|
+
`,t.MenuItemIconContainer=(0,o.default)(i.Box)`
|
|
536
|
+
margin-left: ${({side:e,theme:t})=>"right"===e?"auto":t.px.small};
|
|
537
|
+
margin-right: ${({side:e,theme:t})=>"right"===e?t.px.small:0};
|
|
538
|
+
`,t.MenuItemIconButton=o.default.button`
|
|
539
|
+
margin-left: ${({side:e,theme:t})=>"right"===e?"auto":t.px.small};
|
|
540
|
+
margin-right: ${({side:e,theme:t})=>"right"===e?t.px.small:0};
|
|
541
|
+
|
|
542
|
+
border: none;
|
|
543
|
+
background: none;
|
|
544
|
+
color: inherit;
|
|
545
|
+
`,t.MenuItemRightIcon=(0,o.default)(a.Icon)`
|
|
546
|
+
margin-left: auto;
|
|
547
|
+
|
|
548
|
+
svg path {
|
|
549
|
+
fill: ${({theme:e,enabled:t})=>null==t||t?e.palette.textDefault:e.palette.textInactive};
|
|
550
|
+
stroke: ${({theme:e,enabled:t})=>null==t||t?e.palette.textDefault:e.palette.textInactive};
|
|
551
|
+
stroke-width: 0.5;
|
|
552
|
+
}
|
|
553
|
+
`,t.MenuItemText=(0,o.default)(l.Text)`
|
|
554
|
+
color: ${({theme:e,enabled:t})=>null==t||t?e.palette.textDefault:e.palette.textInactive};
|
|
555
|
+
cursor: default;
|
|
556
|
+
|
|
557
|
+
overflow: hidden;
|
|
558
|
+
text-overflow: ellipsis;
|
|
559
|
+
white-space: nowrap;
|
|
560
|
+
|
|
561
|
+
user-select: none;
|
|
562
|
+
padding: ${({theme:e})=>`0 ${e.px.xxxlarge} 0 ${e.px.small}`};
|
|
563
|
+
`},9194:function(e,t,r){var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var o=Object.getOwnPropertyDescriptor(t,r);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,o)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),o(r(3492),t)},3492:function(e,t,r){var n=this&&this.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Toggle=void 0;const a=r(1085),i=r(2015),l=o(r(2770)),c=r(7439),s=r(4124),u=r(5347);t.Toggle=e=>{var{id:t,label:r,onChange:o,labelSide:l="right",type:s="checkbox",helperText:u}=e,g=n(e,["id","label","onChange","labelSide","type","helperText"]);const[b,v]=(0,i.useState)(g.checked);return(0,i.useEffect)(()=>{v(g.checked)},[g.checked]),(0,a.jsxs)(d,{labelSide:l,children:[(r||u)&&(0,a.jsx)(c.Label,{htmlFor:t,text:r,helperText:u}),(0,a.jsxs)(f,{isChecked:b,children:[(0,a.jsx)(h,Object.assign({},g,{id:t,type:s,onChange:e=>{v(e.target.checked),null==o||o(e)}})),(0,a.jsx)(p,{tabIndex:-1,"aria-hidden":"true",isChecked:b})]})]})};const d=l.default.div`
|
|
564
|
+
display: flex;
|
|
565
|
+
gap: ${({theme:e})=>e.px.xlarge};
|
|
566
|
+
flex-direction: ${({labelSide:e})=>"left"===e?"row":"row-reverse"};
|
|
567
|
+
line-height: ${({theme:e})=>e.px.xlarge};
|
|
568
|
+
`,f=(0,l.default)(u.Box)`
|
|
569
|
+
--px-toggle: ${({theme:e})=>e.px.xlarge};
|
|
570
|
+
--px-knob: ${({theme:e})=>e.px.base};
|
|
571
|
+
|
|
572
|
+
position: relative;
|
|
573
|
+
height: var(--px-toggle);
|
|
574
|
+
width: calc(2 * var(--px-toggle));
|
|
575
|
+
border: 1px solid ${({isChecked:e,theme:t})=>e?t.palette.brandPrimary:t.palette.background6};
|
|
576
|
+
border-radius: calc(0.5 * var(--px-toggle));
|
|
577
|
+
|
|
578
|
+
background: ${({isChecked:e,theme:t})=>e?t.palette.brandPrimary:t.palette.background6};
|
|
579
|
+
transition: background var(--openfin-ui-globalTransition), border-color var(---openfin-ui-globalTransition);
|
|
580
|
+
|
|
581
|
+
&:focus-within {
|
|
582
|
+
border-color: ${({theme:e})=>e.palette.inputFocused};
|
|
583
|
+
}
|
|
584
|
+
`,p=l.default.button`
|
|
585
|
+
position: absolute;
|
|
586
|
+
width: var(--px-knob);
|
|
587
|
+
height: var(--px-knob);
|
|
588
|
+
top: 50%;
|
|
589
|
+
left: ${({theme:e})=>e.px.xsmall};
|
|
590
|
+
transform: translateY(-50%);
|
|
591
|
+
border-radius: 50%;
|
|
592
|
+
background: ${({isChecked:e,theme:t})=>e?t.palette.brandPrimaryText:t.palette.inputColor};
|
|
593
|
+
border: none;
|
|
594
|
+
outline: none;
|
|
595
|
+
transition: left var(--openfin-ui-globalTransition), background var(--openfin-ui-globalTransition);
|
|
596
|
+
pointer-events: none; /* Allow pass-thru for native input */
|
|
597
|
+
`,h=(0,l.default)(s.RawInput)`
|
|
598
|
+
position: absolute;
|
|
599
|
+
top: 0;
|
|
600
|
+
left: 0;
|
|
601
|
+
width: 100%;
|
|
602
|
+
height: 100%;
|
|
603
|
+
opacity: 0;
|
|
604
|
+
border: none;
|
|
605
|
+
outline: none;
|
|
606
|
+
appearance: none;
|
|
607
|
+
display: block;
|
|
608
|
+
|
|
609
|
+
&:checked + ${p} {
|
|
610
|
+
left: calc(100% - ${({theme:e})=>e.px.large});
|
|
611
|
+
}
|
|
612
|
+
&:disabled + ${p} {
|
|
613
|
+
background: ${({theme:e})=>e.palette.inputDisabled};
|
|
614
|
+
}
|
|
615
|
+
&:not(:disabled) {
|
|
616
|
+
cursor: pointer;
|
|
617
|
+
}
|
|
618
|
+
`},6403:function(e,t,r){var n=this&&this.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Badge=void 0;const a=r(1085),i=o(r(2770)),l=r(5347);t.Badge=e=>{var{count:t=0,max:r}=e,o=n(e,["count","max"]);let i=t.toString();return r&&t>r&&(i=`${r}+`),(0,a.jsx)(c,Object.assign({},o,{children:i}))};const c=(0,i.default)(l.Box)`
|
|
619
|
+
background: var(--color-shared-button-critical-background-default);
|
|
620
|
+
border-radius: ${({theme:e})=>e.radius.pill};
|
|
621
|
+
color: var(--color-shared-indicator-text);
|
|
622
|
+
font-size: ${({theme:e})=>e.fontSize.small};
|
|
623
|
+
min-width: ${({theme:e})=>e.px.xlarge};
|
|
624
|
+
padding: 2px 6px;
|
|
625
|
+
display: inline-flex;
|
|
626
|
+
align-items: center;
|
|
627
|
+
justify-content: center;
|
|
628
|
+
box-shadow: ${({theme:e})=>e.shadow.base};
|
|
629
|
+
`},3038:function(e,t,r){var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var o=Object.getOwnPropertyDescriptor(t,r);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,o)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),o(r(6403),t)},8357:function(e,t,r){var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var o=Object.getOwnPropertyDescriptor(t,r);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,o)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),a=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&n(t,e,r);return o(t,e),t},i=this&&this.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r},l=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Calendar=void 0;const c=r(1085),s=r(2015),u=r(9500),d=l(r(2770)),f=r(2870),p=r(5347),h=a(r(6557));t.Calendar=e=>{var{value:t,onChange:r,onDismiss:n}=e,o=i(e,["value","onChange","onDismiss"]);const[a]=(0,s.useState)(t),[l,d]=(0,s.useState)(t),f=(0,s.useCallback)(e=>{if(e instanceof Array){const t=e;d(t[0]),null==r||r(t[0])}else d(e),null==r||r(e)},[]),p=(0,s.useCallback)(()=>{f(a||null),null==n||n()},[]);return(0,c.jsxs)(v,{"data-testid":"react-calendar",children:[(0,c.jsx)(u.Calendar,Object.assign({value:l,onChange:f,calendarType:"gregory",defaultView:"month",minDetail:"year",next2Label:null,prev2Label:null,showFixedNumberOfWeeks:!0,selectRange:!1,allowPartialRange:!1},o)),(0,c.jsxs)(g,{children:[(0,c.jsx)(b,{"data-testid":"calendar-cancel-button","aria-label":"cancel-button",label:"Cancel",size:"base",kind:"textOnly",onClick:p}),(0,c.jsx)(b,{"data-testid":"calendar-apply-button","aria-label":"apply-button",label:"Apply",size:"base",kind:"primary",onClick:n})]})]})};const g=(0,d.default)(p.Box)`
|
|
630
|
+
width: 100%;
|
|
631
|
+
padding: ${({theme:e})=>`${e.px.small} 0px`};
|
|
632
|
+
display: flex;
|
|
633
|
+
align-items: center;
|
|
634
|
+
justify-content: flex-end;
|
|
635
|
+
margin-right: ${({theme:e})=>`${e.px.small}`};
|
|
636
|
+
background-color: ${({theme:e})=>e.palette.background4};
|
|
637
|
+
border: 1px solid ${({theme:e})=>e.palette.background6};
|
|
638
|
+
border-top: none;
|
|
639
|
+
`,b=(0,d.default)(f.Button)`
|
|
640
|
+
padding: ${({theme:e})=>`${e.px.small} ${e.px.small}`};
|
|
641
|
+
margin-right: ${({theme:e})=>`${e.px.small}`};
|
|
642
|
+
`,v=(0,d.default)(p.Box)`
|
|
643
|
+
${h};
|
|
644
|
+
flex-direction: column;
|
|
645
|
+
font-style: normal;
|
|
646
|
+
font-weight: 400;
|
|
647
|
+
font-size: 12px;
|
|
648
|
+
user-select: none;
|
|
649
|
+
|
|
650
|
+
.react-calendar {
|
|
651
|
+
min-width: 230px;
|
|
652
|
+
width: 100%;
|
|
653
|
+
background-color: ${({theme:e})=>e.palette.background4};
|
|
654
|
+
color: ${({theme:e})=>e.palette.textDefault};
|
|
655
|
+
font-size: ${({theme:e})=>e.fontSize.base};
|
|
656
|
+
border: 1px solid ${({theme:e})=>e.palette.background6};
|
|
657
|
+
}
|
|
658
|
+
|
|
659
|
+
.react-calendar__navigation {
|
|
660
|
+
background-color: ${({theme:e})=>e.palette.background4} !important;
|
|
661
|
+
color: ${({theme:e})=>e.palette.textDefault};
|
|
662
|
+
font-size: ${({theme:e})=>e.fontSize.base};
|
|
663
|
+
margin: 0;
|
|
664
|
+
}
|
|
665
|
+
|
|
666
|
+
.react-calendar__navigation__arrow {
|
|
667
|
+
background-color: ${({theme:e})=>e.palette.background4} !important;
|
|
668
|
+
color: ${({theme:e})=>e.palette.textDefault};
|
|
669
|
+
font-size: ${({theme:e})=>e.fontSize.large};
|
|
670
|
+
|
|
671
|
+
:disabled {
|
|
672
|
+
color: ${({theme:e})=>e.palette.inputDisabled};
|
|
673
|
+
}
|
|
674
|
+
}
|
|
675
|
+
|
|
676
|
+
.react-calendar__navigation__label {
|
|
677
|
+
background-color: ${({theme:e})=>e.palette.background4} !important;
|
|
678
|
+
color: ${({theme:e})=>e.palette.textDefault};
|
|
679
|
+
font-size: ${({theme:e})=>e.fontSize.base};
|
|
680
|
+
}
|
|
681
|
+
|
|
682
|
+
.react-calendar__viewContainer {
|
|
683
|
+
background-color: ${({theme:e})=>e.palette.background4} !important;
|
|
684
|
+
color: ${({theme:e})=>e.palette.inputColor};
|
|
685
|
+
font-size: ${({theme:e})=>e.fontSize.base};
|
|
686
|
+
}
|
|
687
|
+
|
|
688
|
+
.react-calendar__month-view__weekdays {
|
|
689
|
+
text-decoration: none;
|
|
690
|
+
text-transform: none;
|
|
691
|
+
font-weight: normal;
|
|
692
|
+
font-size: ${({theme:e})=>e.fontSize.base};
|
|
693
|
+
|
|
694
|
+
abbr {
|
|
695
|
+
text-decoration: none;
|
|
696
|
+
}
|
|
697
|
+
}
|
|
698
|
+
|
|
699
|
+
.react-calendar__tile {
|
|
700
|
+
display: flex;
|
|
701
|
+
align-items: center;
|
|
702
|
+
justify-content: center;
|
|
703
|
+
background-color: ${({theme:e})=>e.palette.background4} !important;
|
|
704
|
+
color: ${({theme:e})=>e.palette.textDefault};
|
|
705
|
+
border-radius: 100px;
|
|
706
|
+
aspect-ratio: 1/1;
|
|
707
|
+
cursor: pointer;
|
|
708
|
+
|
|
709
|
+
:disabled {
|
|
710
|
+
color: ${({theme:e})=>e.palette.textInactive};
|
|
711
|
+
cursor: not-allowed;
|
|
712
|
+
|
|
713
|
+
:hover {
|
|
714
|
+
border: none;
|
|
715
|
+
}
|
|
716
|
+
}
|
|
717
|
+
|
|
718
|
+
:hover {
|
|
719
|
+
border: 2px solid ${({theme:e})=>e.palette.brandPrimary};
|
|
720
|
+
border-radius: 100px;
|
|
721
|
+
}
|
|
722
|
+
|
|
723
|
+
:focus {
|
|
724
|
+
border: 2px solid ${({theme:e})=>e.palette.brandPrimary};
|
|
725
|
+
border-radius: 100px;
|
|
726
|
+
}
|
|
727
|
+
}
|
|
728
|
+
|
|
729
|
+
.react-calendar__tile--now {
|
|
730
|
+
border: 2px solid ${({theme:e})=>e.palette.brandPrimary} !important;
|
|
731
|
+
border-radius: 100px;
|
|
732
|
+
}
|
|
733
|
+
|
|
734
|
+
.react-calendar__tile--active {
|
|
735
|
+
background-color: ${({theme:e})=>e.palette.brandPrimary} !important;
|
|
736
|
+
color: ${({theme:e})=>e.palette.brandPrimaryText};
|
|
737
|
+
border-radius: 100px;
|
|
738
|
+
|
|
739
|
+
:focus {
|
|
740
|
+
border: 2px solid ${({theme:e})=>e.palette.brandPrimary};
|
|
741
|
+
color: ${({theme:e})=>e.palette.textDefault};
|
|
742
|
+
border-radius: 100px;
|
|
743
|
+
}
|
|
744
|
+
}
|
|
745
|
+
`},2911:function(e,t,r){var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var o=Object.getOwnPropertyDescriptor(t,r);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,o)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),o(r(8357),t)},3080:function(e,t,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.DropdownButton=void 0;const o=r(1085),a=r(2015),i=n(r(2770)),l=r(5347),c=r(3437),s=r(2394),u=r(7439),d=r(6674),f=r(4316);t.DropdownButton=(0,a.forwardRef)((e,t)=>{var r,n,a,i,l,c;return(0,o.jsx)(h,{children:(0,o.jsxs)(p,{children:[(e.label||e.helperText)&&!e.name&&(0,o.jsx)(u.Label,{text:e.label,helperText:e.helperText,htmlFor:e.name}),(0,o.jsxs)(b,{role:"comboxbox",ref:t,name:e.name,id:e.name,tabIndex:e.tabIndex,"aria-activedescendant":e.activeDescendant,status:e.status,"aria-expanded":e.expanded,"aria-haspopup":"listbox","aria-controls":"dropdown-listbox",onClick:()=>e.handleClick(),as:"button","data-testid":"dropdown-button",title:e.label?`${e.label}, ${(null===(r=e.selected)||void 0===r?void 0:r.title)||e.placeholder}`:(null===(n=e.selected)||void 0===n?void 0:n.title)||e.placeholder,"aria-label":e.label?`${e.label}, ${(null===(a=e.selected)||void 0===a?void 0:a.title)||e.placeholder}`:void 0,children:[(null===(i=e.selected)||void 0===i?void 0:i.iconUrl)&&(0,o.jsx)(d.ButtonImage,{src:e.selected.iconUrl}),(0,o.jsx)(f.OptionTitle,{"aria-live":"polite","data-testid":"selected-option",children:null!==(c=null===(l=e.selected)||void 0===l?void 0:l.title)&&void 0!==c?c:e.placeholder}),(0,o.jsx)(g,{status:e.status,icon:e.expanded?"ChevronUpIcon":"ChevronDownIcon"})]})]})})}),t.DropdownButton.displayName="DropdownButton";const p=(0,i.default)(l.Box)`
|
|
746
|
+
align-items: flex-start;
|
|
747
|
+
flex-direction: column;
|
|
748
|
+
justify-content: flex-start;
|
|
749
|
+
width: 100%;
|
|
750
|
+
`,h=(0,i.default)(l.Box)`
|
|
751
|
+
font-size: ${({theme:e})=>e.fontSize.base};
|
|
752
|
+
width: 100%;
|
|
753
|
+
user-select: none;
|
|
754
|
+
`,g=(0,i.default)(s.Icon)`
|
|
755
|
+
color: ${({theme:e,status:t})=>(0,c.getStatusColor)(e,t,"textDefault")};
|
|
756
|
+
`,b=(0,i.default)(l.Box)`
|
|
757
|
+
align-items: center;
|
|
758
|
+
background: ${({theme:e})=>e.palette.background4};
|
|
759
|
+
border: 1px solid ${({theme:e})=>e.palette.inputBackground};
|
|
760
|
+
border-radius: ${({theme:e})=>e.radius.small};
|
|
761
|
+
color: ${({theme:e})=>e.palette.textDefault};
|
|
762
|
+
cursor: pointer;
|
|
763
|
+
border-color: ${({theme:e,status:t})=>(0,c.getStatusColor)(e,t,"inputBorder")};
|
|
764
|
+
display: inline-flex;
|
|
765
|
+
font-weight: ${({theme:e})=>e.fontWeight.bold};
|
|
766
|
+
gap: ${({theme:e})=>e.px.small};
|
|
767
|
+
justify-content: flex-start;
|
|
768
|
+
line-height: ${({theme:e})=>e.lineHeight.ui};
|
|
769
|
+
outline: none;
|
|
770
|
+
padding: ${({theme:e})=>`${e.px.small} ${e.px.small}`};
|
|
771
|
+
position: relative;
|
|
772
|
+
text-decoration: none;
|
|
773
|
+
transition: border-color var(--openfin-ui-globalTransition);
|
|
774
|
+
width: 100%;
|
|
775
|
+
white-space: nowrap;
|
|
776
|
+
|
|
777
|
+
${s.Icon} {
|
|
778
|
+
margin-left: auto;
|
|
779
|
+
}
|
|
780
|
+
|
|
781
|
+
&:focus-within {
|
|
782
|
+
border-color: ${({theme:e})=>e.palette.inputFocused};
|
|
783
|
+
}
|
|
784
|
+
|
|
785
|
+
&:focus {
|
|
786
|
+
outline: 0;
|
|
787
|
+
border-color: ${({theme:e,status:t})=>(0,c.getStatusColor)(e,t,"inputFocused")};
|
|
788
|
+
}
|
|
789
|
+
`},5401:function(e,t,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.DropdownMenu=void 0;const o=r(1085),a=r(2015),i=n(r(2770)),l=r(5991),c=r(5347),s=r(3080),u=r(6674),d=r(4316);t.DropdownMenu=(0,a.forwardRef)(({label:e,options:t=[[]],placeholder:r="Select an option",selected:n,onOptionHover:i,onChange:c,renderLabel:g,fitContent:b,menuPosition:v="below",maxHeight:m},y)=>{if(n&&!((e,t)=>e.some(e=>e.some(e=>e.value===t.value)))(t,n))throw new Error(`The selected option ${n.value} is not present in the options array`);const[w,x]=(0,a.useState)(!1);(0,a.useEffect)(()=>{1===t[0].length&&_(!1)},[t]);const _=e=>{x(null!=e?e:!w)},{focusedOption:k,handleKeyDown:C}=(0,l.useDropdownKeyboardNavigation)(t,n,w,_,c);return(0,o.jsxs)(f,{ref:y,flexDirection:"column",onBlur:e=>{e.currentTarget.contains(e.relatedTarget)||x(!1)},onKeyDown:C,gap:"small",children:[e&&(0,o.jsx)("label",{htmlFor:"dropdown-button",children:(0,o.jsx)(d.OptionTitle,{children:e})}),(0,o.jsxs)(p,{menuPosition:v,children:[g?(0,o.jsx)(a.Fragment,{children:g(n||{title:r,value:null},w,_,k)},`render-label-${n}`):(0,o.jsx)(s.DropdownButton,{tabIndex:0,activeDescendant:`menu-option-${null==k?void 0:k.value}`,expanded:w&&t[0].length>1,handleClick:()=>_(),selected:n,placeholder:r,label:e,name:"dropdown-button"}),t.length&&t[0].length>1&&w&&(0,o.jsx)(h,{children:(0,o.jsx)(u.Menu,{menuId:"dropdown-listbox",options:t,selected:n,handleExpandMenu:_,onOptionHover:i,onChange:c,fitContent:b,focusedOption:k,absolutePosition:!0,menuPosition:v,height:m})})]})]})}),t.DropdownMenu.displayName="DropdownMenu";const f=(0,i.default)(c.Box)`
|
|
790
|
+
user-select: none;
|
|
791
|
+
position: relative;
|
|
792
|
+
width: 100%;
|
|
793
|
+
`,p=(0,i.default)(c.Box)`
|
|
794
|
+
position: relative;
|
|
795
|
+
display: flex;
|
|
796
|
+
flex-direction: ${({menuPosition:e})=>"above"===e?"column-reverse":"column"};
|
|
797
|
+
`,h=(0,i.default)(c.Box)`
|
|
798
|
+
position: relative;
|
|
799
|
+
`},2861:function(e,t,r){var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var o=Object.getOwnPropertyDescriptor(t,r);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,o)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),o(r(5401),t),o(r(6674),t),o(r(3080),t)},6674:function(e,t,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.ButtonImage=t.Menu=void 0;const o=r(1085),a=n(r(2015)),i=n(r(2770)),l=r(5347),c=r(2394),s=r(4316);t.Menu=({options:e,selected:r,menuId:n,handleExpandMenu:i,onOptionHover:l,onChange:c,width:g,height:b,header:v,focusedOption:m,absolutePosition:y,fitContent:w,menuPosition:x="below"})=>{const _=e=>{null==l||l(e)};return(0,o.jsxs)(u,{role:"listbox",flexDirection:"column",onMouseLeave:()=>{_(null)},"data-testid":"menu",id:n,width:g,height:b,absolutePosition:y,fitContent:w,menuPosition:x,children:[v&&(0,o.jsxs)(a.default.Fragment,{children:[(0,o.jsx)(f,{children:(0,o.jsx)(s.OptionTitle,{children:v})}),(0,o.jsx)(h,{})]}),e.map((e,n)=>(0,o.jsxs)(a.default.Fragment,{children:[0!==n&&(0,o.jsx)(h,{}),e.map((e,n)=>(0,o.jsxs)(d,{role:"option",isFocused:(null==m?void 0:m.value)===e.value,"aria-selected":(null==r?void 0:r.value)===e.value,alignItems:"center",as:"button","data-testid":`menu-option-${n}`,id:`menu-option-${e.value}`,title:e.title,onClick:()=>{e.overrideOnClick?e.overrideOnClick(e):c(e),null==i||i()},onMouseOver:()=>_(e.value),children:[(null==e?void 0:e.iconUrl)&&(0,o.jsx)(t.ButtonImage,{src:e.iconUrl,style:{marginRight:"8px"}}),(0,o.jsx)(s.OptionTitle,{children:e.title}),(null==r?void 0:r.value)===e.value?(0,o.jsx)(p,{icon:"CheckIcon"}):(0,o.jsx)(p,{children:(0,o.jsx)(o.Fragment,{})})]},n))]},n))]})};const u=(0,i.default)(l.Box)`
|
|
800
|
+
width: ${({width:e,fitContent:t})=>e||(t?"fit-content":"100%")};
|
|
801
|
+
max-height: ${({height:e})=>null!=e?e:"fit-content"};
|
|
802
|
+
top: ${({theme:e,menuPosition:t})=>"above"===t?"auto":`calc(100% + ${e.px.xsmall})`};
|
|
803
|
+
bottom: ${({theme:e,menuPosition:t})=>"above"===t?`calc(100% + ${e.px.xsmall})`:"auto"};
|
|
804
|
+
box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
|
|
805
|
+
background: ${({theme:e})=>e.palette.background4};
|
|
806
|
+
color: ${({theme:e})=>e.palette.textDefault};
|
|
807
|
+
z-index: 10;
|
|
808
|
+
overflow-y: auto;
|
|
809
|
+
border: 1px solid ${({theme:e})=>e.palette.inputBackground};
|
|
810
|
+
position: ${({absolutePosition:e})=>e?"absolute":"initial"};
|
|
811
|
+
`,d=(0,i.default)(l.Box)`
|
|
812
|
+
display: inline-flex;
|
|
813
|
+
align-items: center;
|
|
814
|
+
justify-content: flex-start;
|
|
815
|
+
border: ${({isFocused:e,theme:t})=>e?`1px solid ${t.palette.borderNeutral}`:"1px solid transparent"};
|
|
816
|
+
background: transparent;
|
|
817
|
+
outline: none;
|
|
818
|
+
cursor: pointer;
|
|
819
|
+
user-select: none;
|
|
820
|
+
color: ${({theme:e})=>e.palette.textDefault};
|
|
821
|
+
padding: ${({theme:e})=>`${e.px.small} ${e.px.small}`};
|
|
822
|
+
&:hover {
|
|
823
|
+
background: ${({theme:e})=>e.palette.background2};
|
|
824
|
+
}
|
|
825
|
+
`,f=(0,i.default)(l.Box)`
|
|
826
|
+
display: inline-flex;
|
|
827
|
+
align-items: center;
|
|
828
|
+
justify-content: flex-start;
|
|
829
|
+
background: transparent;
|
|
830
|
+
border: transparent;
|
|
831
|
+
color: ${({theme:e})=>e.palette.textHelp};
|
|
832
|
+
padding: ${({theme:e})=>`${e.px.small} ${e.px.small}`};
|
|
833
|
+
`,p=(0,i.default)(c.Icon)`
|
|
834
|
+
margin-left: auto;
|
|
835
|
+
`,h=(0,i.default)(l.Box)`
|
|
836
|
+
border-top: 1px solid ${({theme:e})=>e.palette.inputBackground};
|
|
837
|
+
`;t.ButtonImage=i.default.img`
|
|
838
|
+
height: ${({theme:e})=>e.iconSize.xlarge};
|
|
839
|
+
width: ${({theme:e})=>e.iconSize.xlarge};
|
|
840
|
+
border-radius: ${({theme:e})=>e.radius.small};
|
|
841
|
+
`},4316:function(e,t,r){var n=this&&this.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.useTooltip=t.OptionTitle=void 0,t.isElementOverflown=d;const a=r(1085),i=r(2015),l=o(r(2770)),c=r(3437),s=r(3968);t.OptionTitle=e=>{var{children:r}=e,o=n(e,["children"]);return(0,a.jsx)(u,Object.assign({ref:(0,t.useTooltip)(r)},o,{children:r}))};const u=(0,l.default)(s.Text)`
|
|
842
|
+
${c.Mixins.textOverflow};
|
|
843
|
+
`;function d(e){return e.scrollHeight>e.clientHeight||e.scrollWidth>e.clientWidth}t.useTooltip=e=>(0,i.useCallback)(t=>{t&&e&&d(t)&&(t.title=e)},[])},419:function(e,t,r){var n=this&&this.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Icon=void 0;const a=r(1085),i=r(2015),l=o(r(2770)),c=r(5347),s=r(3437),u=r(401),d=(0,i.forwardRef)((e,t)=>{var{tabIndex:r,icon:o,children:i,size:l="base",containerSize:c,"data-testid":s,enabled:u}=e,d=n(e,["tabIndex","icon","children","size","containerSize","data-testid","enabled"]);return(0,a.jsx)(p,Object.assign({},d,{iconSize:l,containerSize:c||l,justifyContent:"center",alignItems:"center","data-testid":s,tabIndex:r,ref:t,children:o?(0,a.jsx)(f,Object.assign({ariaLabel:d["aria-label"],icon:o},d)):i}))});d.displayName="Icon",t.Icon=(0,l.default)(d)``;const f=(0,l.default)(e=>{var{icon:t,ariaLabel:r,enabled:o}=e,i=n(e,["icon","ariaLabel","enabled"]);const l=s.IconSet[t];return(0,a.jsx)(l,Object.assign({role:"img","aria-label":r},i))})``,p=(0,l.default)(c.Box)`
|
|
844
|
+
/**
|
|
845
|
+
* 1. Initialize local variables with reasonable defaults
|
|
846
|
+
*/
|
|
847
|
+
--px-default: ${({theme:e})=>e.iconSize.base};
|
|
848
|
+
|
|
849
|
+
/**
|
|
850
|
+
* 2. Inject variants -- ? What are Variants
|
|
851
|
+
*/
|
|
852
|
+
${(0,s.getVariantCSS)(u.variants,u.Variant.containerSize)}
|
|
853
|
+
${(0,s.getVariantCSS)(u.variants,u.Variant.iconSize)}
|
|
854
|
+
|
|
855
|
+
width: var(--px-container, var(--px-default));
|
|
856
|
+
height: var(--px-container, var(--px-default));
|
|
857
|
+
|
|
858
|
+
/* SVG Asset */
|
|
859
|
+
|
|
860
|
+
& > *,
|
|
861
|
+
${f} {
|
|
862
|
+
display: block;
|
|
863
|
+
width: var(--px-icon, var(--px-default));
|
|
864
|
+
height: var(--px-icon, var(--px-default));
|
|
865
|
+
border-radius: inherit;
|
|
866
|
+
}
|
|
867
|
+
`},401:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.variants=t.Variant=void 0;const n=r(2770);t.Variant={iconSize:"iconSize",containerSize:"containerSize"},t.variants={[t.Variant.iconSize]:{xsmall:n.css`
|
|
868
|
+
--px-icon: ${({theme:e})=>e.iconSize.xsmall};
|
|
869
|
+
`,small:n.css`
|
|
870
|
+
--px-icon: ${({theme:e})=>e.iconSize.small};
|
|
871
|
+
`,base:n.css`
|
|
872
|
+
--px-icon: ${({theme:e})=>e.iconSize.base};
|
|
873
|
+
`,large:n.css`
|
|
874
|
+
--px-icon: ${({theme:e})=>e.iconSize.large};
|
|
875
|
+
`,xlarge:n.css`
|
|
876
|
+
--px-icon: ${({theme:e})=>e.iconSize.xlarge};
|
|
877
|
+
`,xxlarge:n.css`
|
|
878
|
+
--px-icon: ${({theme:e})=>e.iconSize.xxlarge};
|
|
879
|
+
`,xxxlarge:n.css`
|
|
880
|
+
--px-icon: ${({theme:e})=>e.iconSize.xxxlarge};
|
|
881
|
+
`},[t.Variant.containerSize]:{xsmall:n.css`
|
|
882
|
+
--px-container: ${({theme:e})=>e.iconSize.xsmall};
|
|
883
|
+
`,small:n.css`
|
|
884
|
+
--px-container: ${({theme:e})=>e.iconSize.small};
|
|
885
|
+
`,base:n.css`
|
|
886
|
+
--px-container: ${({theme:e})=>e.iconSize.base};
|
|
887
|
+
`,large:n.css`
|
|
888
|
+
--px-container: ${({theme:e})=>e.iconSize.large};
|
|
889
|
+
`,xlarge:n.css`
|
|
890
|
+
--px-container: ${({theme:e})=>e.iconSize.xlarge};
|
|
891
|
+
`,xxlarge:n.css`
|
|
892
|
+
--px-container: ${({theme:e})=>e.iconSize.xxlarge};
|
|
893
|
+
`,xxxlarge:n.css`
|
|
894
|
+
--px-container: ${({theme:e})=>e.iconSize.xxxlarge};
|
|
895
|
+
`}}},2394:function(e,t,r){var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var o=Object.getOwnPropertyDescriptor(t,r);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,o)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),o(r(419),t)},8414:function(e,t,r){var n=this&&this.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r};Object.defineProperty(t,"__esModule",{value:!0}),t.BellFilledIcon=void 0;const o=r(1085);t.BellFilledIcon=e=>{var{color:t="currentColor"}=e,r=n(e,["color"]);return(0,o.jsxs)("svg",Object.assign({width:"20",height:"20",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r,{children:[(0,o.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 2C11.2296 2 10.5845 2.58379 10.5078 3.35041C10.4952 3.47677 10.4057 3.58157 10.2846 3.61971C8.06554 4.31851 6.42238 6.33796 6.30033 8.77893L6.12382 12.3091C6.09936 12.7982 5.81331 13.2362 5.3753 13.4552L4.60739 13.8392C4.14761 14.0691 3.85718 14.539 3.85718 15.0531V16.25C3.85718 16.6248 4.16098 16.9286 4.53575 16.9286H19.4643C19.8391 16.9286 20.1429 16.6248 20.1429 16.25V15.0531C20.1429 14.539 19.8525 14.0691 19.3927 13.8392L18.6247 13.4552C18.1867 13.2362 17.9006 12.7982 17.8762 12.3091L17.6997 8.77893C17.5776 6.33796 15.9344 4.31851 13.7154 3.61972C13.5942 3.58157 13.5048 3.47678 13.4922 3.35041C13.4155 2.5838 12.7704 2 12 2Z",fill:t}),(0,o.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.28571 18.2857C9.28571 19.7848 10.5009 21 12 21C13.4991 21 14.7143 19.7848 14.7143 18.2857L9.28571 18.2857Z",fill:t})]}))}},1370:function(e,t,r){var n=this&&this.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r};Object.defineProperty(t,"__esModule",{value:!0}),t.BellIcon=void 0;const o=r(1085);t.BellIcon=e=>{var{color:t="currentColor"}=e,r=n(e,["color"]);return(0,o.jsx)("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r,{children:(0,o.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.47306 1.22943C6.5193 1.22943 5.87291 1.98399 5.65371 2.72697C5.65207 2.72932 5.64921 2.73303 5.64485 2.73756C5.6392 2.74342 5.63264 2.74896 5.62599 2.75355C5.61926 2.75819 5.61452 2.7604 5.613 2.76102L5.61265 2.76117C5.05088 2.99251 4.39193 3.36022 3.87697 4.03357C3.35815 4.71196 3.01949 5.65571 3.01945 6.97749L5.65371 2.72697L3.01945 6.97776C3.01866 8.30165 2.87871 9.0313 2.67091 9.53439C2.48879 9.97531 2.24889 10.2658 1.912 10.6738L1.91185 10.674C1.86263 10.7336 1.81135 10.7957 1.75787 10.8612C1.14923 11.606 1.72729 12.6419 2.65986 12.6419H5.09019C5.21191 12.98 5.40726 13.2906 5.66618 13.5495C6.12827 14.0116 6.75499 14.2712 7.40848 14.2712C8.06197 14.2712 8.6887 14.0116 9.15078 13.5495C9.40971 13.2906 9.60505 12.98 9.72678 12.6419H12.2894C13.2234 12.6419 13.792 11.6008 13.1884 10.8613L13.1883 10.8612C13.1348 10.7957 13.0835 10.7336 13.0342 10.674C12.6973 10.2659 12.4574 9.9754 12.2755 9.53451C12.0678 9.03147 11.9282 8.30182 11.9282 6.97776C11.9282 5.65688 11.5891 4.71299 11.0703 4.03433C10.5553 3.36075 9.89652 2.99234 9.33499 2.76115L9.33467 2.76102C9.33409 2.76079 9.32982 2.75888 9.32313 2.75424C9.31655 2.74967 9.30981 2.74394 9.30382 2.7377C9.29875 2.73241 9.29545 2.72803 9.29363 2.72531C9.07264 1.98378 8.42691 1.22943 7.47306 1.22943ZM8.68654 12.6419H6.13042C6.1876 12.7295 6.25403 12.8115 6.3291 12.8866C6.61537 13.1729 7.00363 13.3337 7.40848 13.3337C7.81333 13.3337 8.2016 13.1729 8.48787 12.8866C8.56293 12.8115 8.62937 12.7295 8.68654 12.6419ZM6.55145 2.99716C6.69571 2.50085 7.07121 2.16693 7.47306 2.16693C7.87492 2.16693 8.2505 2.50061 8.3966 2.99785L8.39695 2.99904C8.48499 3.29575 8.72843 3.52538 8.97809 3.62806C9.45625 3.82492 9.94894 4.11119 10.3255 4.60373C10.6982 5.09119 10.9907 5.82486 10.9907 6.97776C10.9907 8.35506 11.1337 9.2255 11.4089 9.89217C11.6483 10.4723 11.9823 10.8749 12.3167 11.278C12.3653 11.3366 12.4139 11.3951 12.4622 11.4542C12.5016 11.5025 12.5046 11.5552 12.4793 11.605C12.4553 11.6524 12.3996 11.7044 12.2894 11.7044H2.65986C2.54604 11.7044 2.48955 11.6509 2.46588 11.6045C2.44119 11.5562 2.44325 11.504 2.4838 11.4544L2.48383 11.4544C2.53215 11.3952 2.58075 11.3366 2.62934 11.2781L2.62946 11.2779C2.96389 10.8748 3.29785 10.4723 3.5374 9.89229C3.81273 9.22571 3.95615 8.35533 3.95695 6.97803V6.97776C3.95695 5.82341 4.24928 5.08999 4.62165 4.60309C4.99792 4.1111 5.49044 3.82537 5.96963 3.62805C6.21661 3.52645 6.46257 3.30002 6.55111 2.99833L6.55145 2.99716Z",fill:t,role:"img"})}))}},8531:function(e,t,r){var n=this&&this.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r};Object.defineProperty(t,"__esModule",{value:!0}),t.BlockedIcon=void 0;const o=r(1085);t.BlockedIcon=e=>{var{color:t="currentColor"}=e,r=n(e,["color"]);return(0,o.jsx)("svg",Object.assign({width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r,{children:(0,o.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.99985 1.6665C5.3972 1.6665 1.66602 5.39769 1.66602 10.0003C1.66602 14.6029 5.3972 18.3342 9.99985 18.3342C14.6025 18.3342 18.3337 14.603 18.3337 10.0003C18.3337 5.39769 14.6025 1.6665 9.99985 1.6665ZM3.94666 10.0003C3.94666 6.65725 6.65677 3.94714 9.99985 3.94714C11.1976 3.94714 12.314 4.295 13.2537 4.89519L4.89471 13.2542C4.29451 12.3145 3.94666 11.198 3.94666 10.0003ZM6.40896 14.8739C7.41352 15.6153 8.65551 16.0535 9.99985 16.0535C13.3429 16.0535 16.053 13.3434 16.053 10.0003C16.053 8.656 15.6148 7.41401 14.8734 6.40945L6.40896 14.8739Z",role:"img",fill:t})}))}},1778:function(e,t,r){var n=this&&this.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r};Object.defineProperty(t,"__esModule",{value:!0}),t.BookmarkFilled=void 0;const o=r(1085);t.BookmarkFilled=e=>{var{color:t="currentColor"}=e,r=n(e,["color"]);return(0,o.jsx)("svg",Object.assign({width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r,{children:(0,o.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.80005 1.17578C2.52391 1.17578 2.30005 1.39964 2.30005 1.67578V10.4758C2.30005 10.6669 2.40904 10.8414 2.58086 10.9252C2.75267 11.009 2.95723 10.9875 3.10787 10.8698L5.84614 8.73052C5.93658 8.65986 6.06352 8.65986 6.15396 8.73052L8.89223 10.8698C9.04287 10.9875 9.24742 11.009 9.41924 10.9252C9.59105 10.8414 9.70005 10.6669 9.70005 10.4758V1.67578C9.70005 1.39964 9.47619 1.17578 9.20005 1.17578H2.80005Z",fill:t})}))}},7476:function(e,t,r){var n=this&&this.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r};Object.defineProperty(t,"__esModule",{value:!0}),t.BookmarkOutlined=void 0;const o=r(1085);t.BookmarkOutlined=e=>{var{color:t="currentColor"}=e,r=n(e,["color"]);return(0,o.jsx)("svg",Object.assign({width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r,{children:(0,o.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.29999 1.67578C2.29999 1.39964 2.52385 1.17578 2.79999 1.17578H9.19999C9.47613 1.17578 9.69999 1.39964 9.69999 1.67578V10.4758C9.69999 10.6669 9.59099 10.8414 9.41918 10.9252C9.24736 11.009 9.04281 10.9875 8.89217 10.8698L6.1539 8.73052C6.06346 8.65986 5.93652 8.65986 5.84608 8.73052L3.10781 10.8698C2.95717 10.9875 2.75261 11.009 2.5808 10.9252C2.40898 10.8414 2.29999 10.6669 2.29999 10.4758V1.67578ZM3.29999 2.17578V9.45066L5.23043 7.9425C5.68265 7.58921 6.31733 7.5892 6.76954 7.9425L8.69999 9.45066V2.17578H3.29999Z",fill:t})}))}},2786:function(e,t,r){var n=this&&this.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r};Object.defineProperty(t,"__esModule",{value:!0}),t.BrokenLinkIcon=void 0;const o=r(1085);t.BrokenLinkIcon=e=>{var{color:t="currentColor"}=e,r=n(e,["color"]);return(0,o.jsxs)("svg",Object.assign({width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r,{children:[(0,o.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.3335 3.7002C6.05735 3.7002 5.8335 3.92405 5.8335 4.2002V27.8002C5.8335 28.0763 6.05735 28.3002 6.3335 28.3002H25.6668C25.943 28.3002 26.1668 28.0763 26.1668 27.8002V12.2335H18.1335C17.8574 12.2335 17.6335 12.0097 17.6335 11.7335V3.7002H6.3335ZM18.6335 4.4073L25.4597 11.2335H18.6335V4.4073ZM4.8335 4.2002C4.8335 3.37177 5.50507 2.7002 6.3335 2.7002H18.1335C18.2661 2.7002 18.3933 2.75287 18.487 2.84664L27.0204 11.38C27.1141 11.4737 27.1668 11.6009 27.1668 11.7335V27.8002C27.1668 28.6286 26.4953 29.3002 25.6668 29.3002H6.3335C5.50507 29.3002 4.8335 28.6286 4.8335 27.8002V4.2002Z",fill:t}),(0,o.jsx)("path",{d:"M14.248 21.9084V21.8409C14.2528 21.4006 14.2966 21.0502 14.3794 20.7898C14.4647 20.5294 14.5854 20.3187 14.7417 20.1577C14.8979 19.9967 15.0861 19.8499 15.3063 19.7173C15.4483 19.6274 15.5762 19.5268 15.6898 19.4155C15.8034 19.3042 15.8934 19.1764 15.9597 19.032C16.026 18.8875 16.0591 18.7277 16.0591 18.5526C16.0591 18.3419 16.0094 18.1596 15.91 18.0057C15.8105 17.8518 15.678 17.7334 15.5123 17.6506C15.3489 17.5653 15.1666 17.5227 14.9654 17.5227C14.7831 17.5227 14.6091 17.5606 14.4434 17.6364C14.2776 17.7121 14.1403 17.8305 14.0314 17.9915C13.9225 18.1501 13.8598 18.3549 13.8432 18.6058H12.7637C12.7802 18.1797 12.888 17.8198 13.0868 17.5263C13.2857 17.2304 13.5485 17.0066 13.8752 16.8551C14.2042 16.7036 14.5676 16.6278 14.9654 16.6278C15.401 16.6278 15.7821 16.7095 16.1088 16.8729C16.4355 17.0339 16.6889 17.2599 16.8688 17.5511C17.0511 17.84 17.1422 18.1773 17.1422 18.5632C17.1422 18.8284 17.1008 19.0675 17.0179 19.2805C16.9351 19.4912 16.8167 19.6795 16.6628 19.8452C16.5113 20.0109 16.329 20.1577 16.1159 20.2855C15.9147 20.411 15.7514 20.5412 15.6259 20.6761C15.5028 20.8111 15.4128 20.9709 15.356 21.1555C15.2992 21.3402 15.2684 21.5687 15.2637 21.8409V21.9084H14.248ZM14.7843 24.0675C14.5901 24.0675 14.4232 23.9988 14.2836 23.8615C14.1439 23.7218 14.074 23.5537 14.074 23.3572C14.074 23.1631 14.1439 22.9974 14.2836 22.8601C14.4232 22.7204 14.5901 22.6506 14.7843 22.6506C14.976 22.6506 15.1417 22.7204 15.2814 22.8601C15.4235 22.9974 15.4945 23.1631 15.4945 23.3572C15.4945 23.4875 15.4614 23.607 15.3951 23.7159C15.3311 23.8224 15.2459 23.9077 15.1394 23.9716C15.0328 24.0355 14.9145 24.0675 14.7843 24.0675Z",fill:t})]}))}},6934:function(e,t,r){var n=this&&this.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r};Object.defineProperty(t,"__esModule",{value:!0}),t.ChevronDownIcon=void 0;const o=r(1085);t.ChevronDownIcon=e=>{var{color:t="currentColor"}=e,r=n(e,["color"]);return(0,o.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",children:(0,o.jsx)("path",Object.assign({fillRule:"evenodd",clipRule:"evenodd",d:"M5.05282 9.88707C5.33612 9.58489 5.81075 9.56958 6.11293 9.85287L12 15.372L17.887 9.85287C18.1892 9.56958 18.6638 9.58489 18.9471 9.88707C19.2304 10.1893 19.2151 10.6639 18.9129 10.9472L12.5129 16.9472C12.2244 17.2176 11.7755 17.2176 11.487 16.9472L5.08702 10.9472C4.78484 10.6639 4.76952 10.1893 5.05282 9.88707Z",fill:t},r))})}},3057:function(e,t,r){var n=this&&this.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r};Object.defineProperty(t,"__esModule",{value:!0}),t.ChevronLeftIcon=void 0;const o=r(1085);t.ChevronLeftIcon=e=>{var{color:t="currentColor"}=e,r=n(e,["color"]);return(0,o.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",children:(0,o.jsx)("path",Object.assign({fillRule:"evenodd",clipRule:"evenodd",d:"M14.1127 5.05272C14.4149 5.33601 14.4302 5.81064 14.1469 6.11282L8.62784 11.9999L14.1469 17.8869C14.4302 18.1891 14.4149 18.6637 14.1127 18.947C13.8106 19.2303 13.3359 19.215 13.0526 18.9128L7.05264 12.5128C6.78218 12.2243 6.78218 11.7754 7.05264 11.4869L13.0526 5.08691C13.3359 4.78473 13.8106 4.76942 14.1127 5.05272Z",fill:t},r))})}},1164:function(e,t,r){var n=this&&this.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r};Object.defineProperty(t,"__esModule",{value:!0}),t.ChevronRightIcon=void 0;const o=r(1085);t.ChevronRightIcon=e=>{var{color:t="currentColor"}=e,r=n(e,["color"]);return(0,o.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",children:(0,o.jsx)("path",Object.assign({fillRule:"evenodd",clipRule:"evenodd",d:"M9.88762 5.05256C10.1898 4.76926 10.6644 4.78457 10.9477 5.08676L16.9477 11.4868C17.2182 11.7753 17.2182 12.2242 16.9477 12.5127L10.9477 18.9127C10.6644 19.2149 10.1898 19.2302 9.88762 18.9469C9.58543 18.6636 9.57012 18.1889 9.85342 17.8868L15.3725 11.9997L9.85342 6.11267C9.57012 5.81049 9.58544 5.33586 9.88762 5.05256Z",fill:t},r))})}},1241:function(e,t,r){var n=this&&this.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r};Object.defineProperty(t,"__esModule",{value:!0}),t.ChevronUpIcon=void 0;const o=r(1085);t.ChevronUpIcon=e=>{var{color:t="currentColor"}=e,r=n(e,["color"]);return(0,o.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",children:(0,o.jsx)("path",Object.assign({fillRule:"evenodd",clipRule:"evenodd",d:"M5.05285 14.1129C5.33615 14.4151 5.81078 14.4304 6.11296 14.1471L12 8.62802L17.887 14.1471C18.1892 14.4304 18.6639 14.4151 18.9472 14.1129C19.2305 13.8107 19.2151 13.3361 18.913 13.0528L12.513 7.05282C12.2245 6.78236 11.7755 6.78236 11.4871 7.05282L5.08705 13.0528C4.78487 13.3361 4.76956 13.8107 5.05285 14.1129Z",fill:t},r))})}},8929:function(e,t,r){var n=this&&this.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r};Object.defineProperty(t,"__esModule",{value:!0}),t.CollectionIcon=void 0;const o=r(1085);t.CollectionIcon=e=>{var{color:t="currentColor"}=e,r=n(e,["color"]);return(0,o.jsxs)("svg",Object.assign({width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r,{children:[(0,o.jsx)("path",{d:"M7.77793 8.85878C7.77793 8.21485 8.29801 7.69284 8.93957 7.69284H16.8387C17.4803 7.69284 18.0004 8.21485 18.0004 8.85878V16.7872C18.0004 17.4311 17.4803 17.9531 16.8387 17.9531H8.93957C8.29801 17.9531 7.77793 17.4311 7.77793 16.7872V8.85878Z",fill:t}),(0,o.jsx)("path",{d:"M10.4912 1.99315C11.1109 1.82649 11.7481 2.19552 11.9142 2.81751L12.7573 5.97375H8.57356C7.16219 5.97381 6.01795 7.12221 6.01795 8.53882V13.8174L5.50701 13.955C4.88732 14.1216 4.25005 13.7526 4.084 13.1306L2.04024 5.47276C1.8742 4.85077 2.24186 4.21114 2.86156 4.04448L10.4912 1.99315Z",fill:t})]}))}},3813:function(e,t,r){var n=this&&this.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r};Object.defineProperty(t,"__esModule",{value:!0}),t.ContentAppIcon=void 0;const o=r(1085);t.ContentAppIcon=e=>{var{color:t="currentColor"}=e,r=n(e,["color"]);return(0,o.jsx)("svg",Object.assign({width:"20",height:"20",viewBox:"0 0 14 14",fill:t,xmlns:"http://www.w3.org/2000/svg"},r,{children:(0,o.jsx)("path",{d:"M10.9395 0.332031C12.4452 0.332253 13.666 1.55381 13.666 3.05957V10.9375C13.666 12.4433 12.4452 13.6648 10.9395 13.665H3.06055C1.55465 13.665 0.333008 12.4434 0.333008 10.9375V3.05957C0.333008 1.55367 1.55465 0.332031 3.06055 0.332031H10.9395ZM4.09082 4.33203C3.48843 4.33214 3 4.82141 3 5.42383V8.5752C3 9.17762 3.48843 9.66591 4.09082 9.66602H9.91016C10.5125 9.66581 11.001 9.17756 11.001 8.5752V5.42383C11.001 4.82147 10.5125 4.33224 9.91016 4.33203H4.09082Z",fill:t})}))}},4947:function(e,t,r){var n=this&&this.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r};Object.defineProperty(t,"__esModule",{value:!0}),t.EnterpriseGlobeIcon=void 0;const o=r(1085);t.EnterpriseGlobeIcon=e=>{var{color:t="currentColor"}=e,r=n(e,["color"]);return(0,o.jsx)("svg",Object.assign({width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r,{children:(0,o.jsx)("path",{d:"M21.6211 7.80002C20.3905 4.99598 17.9682 2.82878 14.9983 1.94153C15.9266 3.39315 16.5775 5.49525 16.9329 7.80002H21.6211ZM22.1656 14.625C22.383 13.7855 22.5 12.9067 22.5 12C22.5 11.0933 22.383 10.2145 22.1656 9.37502H17.1256C17.2069 10.2439 17.25 11.1254 17.25 12C17.25 12.8747 17.2069 13.7561 17.1256 14.625H22.1656ZM6.75002 12C6.75002 11.1254 6.79307 10.2439 6.87444 9.37502H1.83442C1.61707 10.2145 1.5 11.0933 1.5 12C1.5 12.9067 1.61707 13.7855 1.83442 14.625H6.87444C6.79307 13.7561 6.75002 12.8747 6.75002 12ZM15.675 12C15.675 11.0844 15.6252 10.2098 15.5427 9.37502H8.45731C8.37489 10.2098 8.32502 11.0844 8.32502 12C8.32502 12.9156 8.37489 13.7903 8.45731 14.625H15.5427C15.6252 13.7903 15.675 12.9156 15.675 12ZM15.34 7.80002C14.7111 4.0158 13.2983 1.5 12 1.5C10.7017 1.5 9.28892 4.0158 8.65997 7.80002H15.34ZM8.65997 16.2C9.28892 19.9842 10.7022 22.5 12 22.5C13.2978 22.5 14.7111 19.9842 15.34 16.2H8.65997ZM7.06712 7.80002C7.42254 5.49525 8.07354 3.39315 9.00174 1.94153C6.0318 2.82878 3.60945 4.99598 2.37885 7.80002H7.06712ZM16.9329 16.2C16.5775 18.5048 15.9266 20.6069 14.9983 22.0584C17.9682 21.1712 20.3905 19.0046 21.6211 16.2H16.9329ZM2.37885 16.2C3.60945 19.004 6.0318 21.1712 9.00174 22.0584C8.07354 20.6069 7.42254 18.5048 7.06712 16.2H2.37885Z",fill:t})}))}},6708:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ExclamationCircledFilledIcon=void 0;const n=r(1085);t.ExclamationCircledFilledIcon=e=>(0,n.jsxs)("svg",Object.assign({width:"16",height:"17",viewBox:"0 0 16 17",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e,{children:[(0,n.jsx)("path",{d:"M7.99988 15.3317C11.7729 15.3317 14.8316 12.2731 14.8316 8.50007C14.8316 4.72704 11.7729 1.6684 7.99988 1.6684C4.22686 1.6684 1.16821 4.72704 1.16821 8.50007C1.16821 12.2731 4.22686 15.3317 7.99988 15.3317Z",fill:"red"}),(0,n.jsx)("mask",{id:"path-2-inside-1_6_262033",fill:"white",children:(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.99993 4.37384C7.57525 4.37384 7.23564 4.72676 7.25196 5.15113L7.42296 9.59706C7.43489 9.90708 7.68968 10.1523 7.99993 10.1523C8.31019 10.1523 8.56498 9.90708 8.5769 9.59706L8.7479 5.15113C8.76422 4.72676 8.42461 4.37384 7.99993 4.37384ZM7.99993 12.6406C8.46022 12.6406 8.83335 12.2675 8.83335 11.8072C8.83335 11.3469 8.46022 10.9738 7.99993 10.9738C7.53964 10.9738 7.1665 11.3469 7.1665 11.8072C7.1665 12.2675 7.53964 12.6406 7.99993 12.6406Z"})}),(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.99993 4.37384C7.57525 4.37384 7.23564 4.72676 7.25196 5.15113L7.42296 9.59706C7.43489 9.90708 7.68968 10.1523 7.99993 10.1523C8.31019 10.1523 8.56498 9.90708 8.5769 9.59706L8.7479 5.15113C8.76422 4.72676 8.42461 4.37384 7.99993 4.37384ZM7.99993 12.6406C8.46022 12.6406 8.83335 12.2675 8.83335 11.8072C8.83335 11.3469 8.46022 10.9738 7.99993 10.9738C7.53964 10.9738 7.1665 11.3469 7.1665 11.8072C7.1665 12.2675 7.53964 12.6406 7.99993 12.6406Z",fill:"white"}),(0,n.jsx)("path",{d:"M7.25196 5.15113L5.64874 5.21279L5.64874 5.21279L7.25196 5.15113ZM7.42296 9.59706L9.02618 9.5354L9.02618 9.5354L7.42296 9.59706ZM8.5769 9.59706L10.1801 9.65872L8.5769 9.59706ZM8.7479 5.15113L10.3511 5.21279L10.3511 5.21279L8.7479 5.15113ZM8.85519 5.08947C8.87385 5.5747 8.48553 5.97825 7.99993 5.97825V2.76943C6.66498 2.76943 5.59744 3.87882 5.64874 5.21279L8.85519 5.08947ZM9.02618 9.5354L8.85519 5.08947L5.64874 5.21279L5.81974 9.65872L9.02618 9.5354ZM7.99993 8.54786C8.55177 8.54786 9.00498 8.98396 9.02618 9.5354L5.81974 9.65872C5.8648 10.8302 6.82758 11.7567 7.99993 11.7567V8.54786ZM6.97368 9.5354C6.99489 8.98396 7.44809 8.54786 7.99993 8.54786V11.7567C9.17228 11.7567 10.1351 10.8302 10.1801 9.65872L6.97368 9.5354ZM7.14468 5.08947L6.97368 9.5354L10.1801 9.65872L10.3511 5.21279L7.14468 5.08947ZM7.99993 5.97825C7.51434 5.97825 7.12602 5.5747 7.14468 5.08947L10.3511 5.21279C10.4024 3.87882 9.33489 2.76943 7.99993 2.76943V5.97825ZM7.22895 11.8072C7.22895 11.3814 7.57413 11.0362 7.99993 11.0362V14.245C9.34631 14.245 10.4378 13.1536 10.4378 11.8072H7.22895ZM7.99993 12.5782C7.57413 12.5782 7.22895 12.233 7.22895 11.8072H10.4378C10.4378 10.4608 9.34631 9.36937 7.99993 9.36937V12.5782ZM8.77091 11.8072C8.77091 12.233 8.42573 12.5782 7.99993 12.5782V9.36937C6.65355 9.36937 5.5621 10.4608 5.5621 11.8072H8.77091ZM7.99993 11.0362C8.42573 11.0362 8.77091 11.3814 8.77091 11.8072H5.5621C5.5621 13.1536 6.65355 14.245 7.99993 14.245V11.0362Z",fill:"white",mask:"url(#path-2-inside-1_6_262033)"})]}))},6462:function(e,t,r){var n=this&&this.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r};Object.defineProperty(t,"__esModule",{value:!0}),t.FallbackGlobeIcon=void 0;const o=r(1085);t.FallbackGlobeIcon=e=>{var{color:t="currentColor"}=e,r=n(e,["color"]);return(0,o.jsx)("svg",Object.assign({width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r,{children:(0,o.jsx)("path",{d:"M14.4141 5.19998C13.5937 3.33062 11.9788 1.88582 9.99886 1.29432C10.6177 2.26207 11.0517 3.66347 11.2886 5.19998H14.4141ZM14.7771 9.74998C14.922 9.19033 15 8.60443 15 7.99998C15 7.39553 14.922 6.80963 14.7771 6.24998H11.4171C11.4713 6.82923 11.5 7.41688 11.5 7.99998C11.5 8.58308 11.4713 9.17073 11.4171 9.74998H14.7771ZM4.50001 7.99998C4.50001 7.41688 4.52871 6.82923 4.58296 6.24998H1.22295C1.07805 6.80963 1 7.39553 1 7.99998C1 8.60443 1.07805 9.19033 1.22295 9.74998H4.58296C4.52871 9.17073 4.50001 8.58308 4.50001 7.99998ZM10.45 7.99998C10.45 7.38958 10.4168 6.80648 10.3618 6.24998H5.63821C5.58326 6.80648 5.55001 7.38958 5.55001 7.99998C5.55001 8.61038 5.58326 9.19348 5.63821 9.74998H10.3618C10.4168 9.19348 10.45 8.61038 10.45 7.99998ZM10.2267 5.19998C9.80741 2.67717 8.86556 0.999969 8.00001 0.999969C7.13446 0.999969 6.19261 2.67717 5.77331 5.19998H10.2267ZM5.77331 10.8C6.19261 13.3228 7.13481 15 8.00001 15C8.86521 15 9.80741 13.3228 10.2267 10.8H5.77331ZM4.71141 5.19998C4.94836 3.66347 5.38236 2.26207 6.00116 1.29432C4.0212 1.88582 2.4063 3.33062 1.5859 5.19998H4.71141ZM11.2886 10.8C11.0517 12.3365 10.6177 13.7379 9.99886 14.7056C11.9788 14.1141 13.5937 12.6697 14.4141 10.8H11.2886ZM1.5859 10.8C2.4063 12.6693 4.0212 14.1141 6.00116 14.7056C5.38236 13.7379 4.94836 12.3365 4.71141 10.8H1.5859Z",fill:t,fillRule:"evenodd",clipRule:"evenodd"})}))}},4993:function(e,t,r){var n=this&&this.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r};Object.defineProperty(t,"__esModule",{value:!0}),t.FilledCircleIcon=void 0;const o=r(1085);t.FilledCircleIcon=e=>{var{color:t="currentColor"}=e,r=n(e,["color"]);return(0,o.jsx)("svg",Object.assign({width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r,{children:(0,o.jsx)("g",{id:".Slot",children:(0,o.jsx)("circle",{id:"Ellipse 1",cx:"8",cy:"8",r:"8",fill:t})})}))}},6099:function(e,t,r){var n=this&&this.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r};Object.defineProperty(t,"__esModule",{value:!0}),t.FilterIcon=void 0;const o=r(1085);t.FilterIcon=e=>{var{color:t="currentColor"}=e,r=n(e,["color"]);return(0,o.jsx)("svg",Object.assign({width:"12",height:"7",viewBox:"0 0 12 7",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r,{children:(0,o.jsx)("path",{d:"M4 6.5C4 6.36739 4.05268 6.24021 4.14645 6.14645C4.24021 6.05268 4.36739 6 4.5 6H7.5C7.63261 6 7.75979 6.05268 7.85355 6.14645C7.94732 6.24021 8 6.36739 8 6.5C8 6.63261 7.94732 6.75979 7.85355 6.85355C7.75979 6.94732 7.63261 7 7.5 7H4.5C4.36739 7 4.24021 6.94732 4.14645 6.85355C4.05268 6.75979 4 6.63261 4 6.5ZM2 3.5C2 3.36739 2.05268 3.24021 2.14645 3.14645C2.24021 3.05268 2.36739 3 2.5 3H9.5C9.63261 3 9.75979 3.05268 9.85355 3.14645C9.94732 3.24021 10 3.36739 10 3.5C10 3.63261 9.94732 3.75979 9.85355 3.85355C9.75979 3.94732 9.63261 4 9.5 4H2.5C2.36739 4 2.24021 3.94732 2.14645 3.85355C2.05268 3.75979 2 3.63261 2 3.5ZM0 0.5C0 0.367392 0.0526785 0.240215 0.146447 0.146447C0.240215 0.0526785 0.367392 0 0.5 0H11.5C11.6326 0 11.7598 0.0526785 11.8536 0.146447C11.9473 0.240215 12 0.367392 12 0.5C12 0.632608 11.9473 0.759785 11.8536 0.853553C11.7598 0.947321 11.6326 1 11.5 1H0.5C0.367392 1 0.240215 0.947321 0.146447 0.853553C0.0526785 0.759785 0 0.632608 0 0.5Z",fill:t})}))}},7112:function(e,t,r){var n=this&&this.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r};Object.defineProperty(t,"__esModule",{value:!0}),t.FloppyDiskIcon=void 0;const o=r(1085);t.FloppyDiskIcon=e=>{var{color:t="currentColor"}=e,r=n(e,["color"]);return(0,o.jsx)("svg",Object.assign({width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r,{children:(0,o.jsx)("path",{d:"M1.875 2.1875C1.875 2.15298 1.90298 2.125 1.9375 2.125H8.23039C8.24697 2.125 8.26287 2.13158 8.27459 2.14331L9.98169 3.85041C9.99341 3.86213 10 3.87803 10 3.89461V10.1875C10 10.222 9.97202 10.25 9.9375 10.25H1.9375C1.90298 10.25 1.875 10.222 1.875 10.1875V2.1875ZM1.9375 1.25C1.41973 1.25 1 1.66973 1 2.1875V10.1875C1 10.7053 1.41973 11.125 1.9375 11.125H9.9375C10.4553 11.125 10.875 10.7053 10.875 10.1875V3.89461C10.875 3.64597 10.7762 3.40751 10.6004 3.23169L8.89331 1.52459C8.71749 1.34877 8.47903 1.25 8.23039 1.25H1.9375ZM2.84924 3.4081C2.84924 3.23754 2.98751 3.09927 3.15807 3.09927H7.4816C7.65215 3.09927 7.79042 3.23754 7.79042 3.4081V4.64339C7.79042 4.81395 7.65215 4.95221 7.4816 4.95221H3.15807C2.98751 4.95221 2.84924 4.81395 2.84924 4.64339V3.4081ZM4.5368 6.63977C4.82638 6.35019 5.21913 6.18751 5.62865 6.18751C6.03818 6.18751 6.43093 6.35019 6.72051 6.63977C7.01009 6.92935 7.17277 7.3221 7.17277 7.73163C7.17277 8.14115 7.01009 8.5339 6.72051 8.82348C6.43093 9.11306 6.03818 9.27574 5.62865 9.27574C5.21913 9.27574 4.82638 9.11306 4.5368 8.82348C4.24722 8.5339 4.08454 8.14115 4.08454 7.73163C4.08454 7.3221 4.24722 6.92935 4.5368 6.63977Z",fill:t,role:"img"})}))}},4256:function(e,t,r){var n=this&&this.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r};Object.defineProperty(t,"__esModule",{value:!0}),t.FragmentsIcon=void 0;const o=r(1085);t.FragmentsIcon=e=>{var{color:t="currentColor"}=e,r=n(e,["color"]);return(0,o.jsx)("svg",Object.assign({width:"20",height:"20",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r,{children:(0,o.jsx)("path",{d:"M8.80001 4.80002H4.80001C3.91761 4.80002 3.20001 5.51762 3.20001 6.40002V10.4C3.20001 11.2824 3.91761 12 4.80001 12H8.80001C9.68241 12 10.4 11.2824 10.4 10.4V6.40002C10.4 5.51762 9.68241 4.80002 8.80001 4.80002ZM20.3592 6.46882L17.5312 3.64002C16.908 3.01602 15.892 3.01602 15.2688 3.64002L12.4408 6.46882C11.8168 7.09282 11.8168 8.10722 12.4408 8.73122L15.2688 11.56C15.5808 11.872 15.9904 12.028 16.4 12.028C16.8096 12.028 17.2192 11.872 17.5312 11.56L20.3592 8.73122C20.9832 8.10722 20.9832 7.09282 20.3592 6.46882ZM8.80001 13.6H4.80001C3.91761 13.6 3.20001 14.3176 3.20001 15.2V19.2C3.20001 20.0824 3.91761 20.8 4.80001 20.8H8.80001C9.68241 20.8 10.4 20.0824 10.4 19.2V15.2C10.4 14.3176 9.68241 13.6 8.80001 13.6ZM17.6 13.6H13.6C12.7176 13.6 12 14.3176 12 15.2V19.2C12 20.0824 12.7176 20.8 13.6 20.8H17.6C18.4824 20.8 19.2 20.0824 19.2 19.2V15.2C19.2 14.3176 18.4824 13.6 17.6 13.6Z",fill:t})}))}},2438:function(e,t,r){var n=this&&this.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r};Object.defineProperty(t,"__esModule",{value:!0}),t.LightBulbFilledIcon=void 0;const o=r(1085);t.LightBulbFilledIcon=e=>{var{color:t="currentColor"}=e,r=n(e,["color"]);return(0,o.jsxs)("svg",Object.assign({width:"10",height:"12",viewBox:"0 0 10 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r,{children:[(0,o.jsx)("path",{d:"M1.83 1.31008C2.24409 0.891667 2.73768 0.560307 3.28174 0.335504C3.82581 0.110701 4.40934 -0.00300333 4.998 0.00108291C6.18628 -0.00310785 7.32905 0.457733 8.182 1.28508C8.59881 1.68719 8.93046 2.16903 9.15723 2.70194C9.384 3.23485 9.50125 3.80793 9.502 4.38708C9.502 5.68008 8.917 6.83008 7.883 7.82508L7.577 9.00008H2.466L2.236 8.03708C1.154 6.90708 0.556 5.81908 0.5 4.58208V4.54408C0.54 3.24808 1.033 2.12108 1.831 1.31108L1.83 1.31008Z",fill:t}),(0,o.jsx)("path",{d:"M2.7041 10L2.9371 10.978L2.9451 11C3.0451 11.297 3.2371 11.544 3.4791 11.717C3.7301 11.897 4.0371 11.999 4.3611 11.999H4.3631L5.7461 11.995L5.7671 11.993C6.07587 11.9669 6.36913 11.8465 6.6071 11.648C6.8381 11.454 7.0131 11.188 7.0871 10.874L7.3161 10H2.7041V10Z",fill:t})]}))}},7120:function(e,t,r){var n=this&&this.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r};Object.defineProperty(t,"__esModule",{value:!0}),t.LightBulbOutlinedIcon=void 0;const o=r(1085);t.LightBulbOutlinedIcon=e=>{var{color:t="currentColor"}=e,r=n(e,["color"]);return(0,o.jsx)("svg",Object.assign({width:"10",height:"12",viewBox:"0 0 10 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r,{children:(0,o.jsx)("path",{d:"M4.99766 0.00100149C3.76866 0.00100149 2.64766 0.482002 1.82966 1.311C1.03166 2.121 0.539657 3.248 0.499657 4.544L0.498657 4.563V4.583C0.555657 5.819 1.15366 6.907 2.23566 8.037L2.93766 10.978L2.94466 11C3.04466 11.297 3.23666 11.544 3.47866 11.717C3.72966 11.897 4.03666 11.999 4.36166 11.999L5.74566 11.995L5.76666 11.993C6.07542 11.9669 6.36869 11.8465 6.60666 11.648C6.83766 11.454 7.01266 11.188 7.08666 10.874L7.88266 7.824C8.91666 6.83 9.50066 5.68 9.50066 4.387C9.49991 3.80785 9.38266 3.23477 9.15589 2.70186C8.92912 2.16895 8.59746 1.68711 8.18066 1.285C7.32796 0.457894 6.18559 -0.00292788 4.99766 0.00100149ZM2.54266 2.013C2.86344 1.68871 3.24596 1.43198 3.66762 1.258C4.08928 1.08401 4.54153 0.996283 4.99766 1C5.92514 0.995784 6.81744 1.35471 7.48366 2C7.80471 2.30904 8.06023 2.67957 8.23496 3.08951C8.40969 3.49945 8.50005 3.94038 8.50066 4.386C8.50066 5.377 8.04766 6.312 7.09666 7.191L6.98866 7.291L6.54266 9H3.49366L3.14466 7.536L3.04766 7.436C1.99966 6.372 1.54766 5.48 1.49866 4.557C1.53666 3.509 1.93266 2.632 2.54266 2.014V2.013ZM3.73266 10H6.28266L6.11766 10.627L6.11466 10.64C6.09211 10.7342 6.03944 10.8185 5.96466 10.88C5.88873 10.9435 5.79595 10.9834 5.69766 10.995L4.36066 11C4.25321 11.0003 4.14833 10.9671 4.06066 10.905C3.9877 10.8536 3.93139 10.782 3.89866 10.699L3.73166 10H3.73266Z",fill:t})}))}},6607:function(e,t,r){var n=this&&this.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r};Object.defineProperty(t,"__esModule",{value:!0}),t.LockedClosedFilledIcon=void 0;const o=r(1085);t.LockedClosedFilledIcon=e=>{var{color:t="currentColor"}=e,r=n(e,["color"]);return(0,o.jsx)("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r,{children:(0,o.jsx)("path",{d:"M5.00003 4.63623C5.00003 3.76052 5.24222 3.10561 5.64327 2.67378C6.03938 2.24727 6.64585 1.97852 7.50143 1.97852C8.35748 1.97852 8.96309 2.24673 9.35827 2.6723C9.75841 3.10321 10 3.75729 10 4.63346V6.50021H11V4.63346C11 3.57917 10.7076 2.65578 10.0911 1.99183C9.46955 1.32254 8.57586 0.978516 7.50143 0.978516C6.42678 0.978516 5.53255 1.3235 4.91052 1.99328C4.29342 2.65775 4.00003 3.58169 4.00003 4.63623V6.50021H5.00003V4.63623ZM3 6.50021C2.72386 6.50021 2.5 6.72407 2.5 7.00021V13.0002C2.5 13.2764 2.72386 13.5002 3 13.5002H12C12.2761 13.5002 12.5 13.2764 12.5 13.0002V7.00021C12.5 6.72407 12.2761 6.50021 12 6.50021H3Z",fill:t,role:"img"})}))}},3737:function(e,t,r){var n=this&&this.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r};Object.defineProperty(t,"__esModule",{value:!0}),t.MinimizeIcon=void 0;const o=r(1085);t.MinimizeIcon=e=>{var{color:t="currentColor"}=e,r=n(e,["color"]);return(0,o.jsx)("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r,{children:(0,o.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.16602 12C2.16602 11.7239 2.38987 11.5 2.66602 11.5H13.3327C13.6088 11.5 13.8327 11.7239 13.8327 12C13.8327 12.2761 13.6088 12.5 13.3327 12.5H2.66602C2.38987 12.5 2.16602 12.2761 2.16602 12Z",fill:t,role:"img"})}))}},8840:function(e,t,r){var n=this&&this.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r};Object.defineProperty(t,"__esModule",{value:!0}),t.OpenFinIcon=void 0;const o=r(1085);t.OpenFinIcon=e=>{var{color:t="currentColor"}=e,r=n(e,["color"]);return(0,o.jsx)("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r,{children:(0,o.jsx)("path",{d:"M14.2685 5.73916C14.1785 5.64906 14.0817 5.56592 13.979 5.49047L13.9412 5.46429C13.9196 5.44919 13.8984 5.43358 13.8763 5.41898C13.8541 5.40438 13.8284 5.38878 13.8048 5.37418L13.7715 5.35354C13.7418 5.33592 13.7116 5.3193 13.6814 5.30319L13.6638 5.29363C13.3065 5.10618 12.9091 5.00807 12.5057 5.00768C11.8417 5.00715 11.2052 4.74291 10.7362 4.2731C10.2671 3.8033 10.004 3.16642 10.0046 2.50262C10.0065 1.49222 9.39933 0.580219 8.46634 0.191911C7.53335 -0.196397 6.45826 0.015466 5.74244 0.728701C5.02661 1.44194 4.81103 2.51607 5.19621 3.4502C5.5814 4.38433 6.4915 4.99447 7.5021 4.9961C8.16603 4.99664 8.80256 5.26088 9.27161 5.73068C9.74066 6.20049 10.0038 6.83736 10.0031 7.50117C10.0026 8.16497 9.7383 8.80137 9.2684 9.27032C8.7985 9.73928 8.1615 10.0024 7.49756 10.0017C6.83413 10.0022 6.19772 9.73894 5.72865 9.26987C5.25958 8.8008 4.99636 8.16447 4.99703 7.50117C4.99703 6.12155 3.87841 5.00315 2.49852 5.00315C1.11862 5.00315 0 6.12155 0 7.50117C0 8.88078 1.11862 9.99918 2.49852 9.99918C3.87841 9.99918 4.99703 11.1176 4.99703 12.4972C4.99703 13.8795 6.1178 15 7.50033 15C8.88287 15 10.0036 13.8795 10.0036 12.4972C10.0036 11.1176 11.1223 9.99918 12.5021 9.99918C12.9482 9.99948 13.3862 9.88022 13.7705 9.65383C13.8038 9.6342 13.8365 9.61356 13.8712 9.59241L13.8783 9.58788C13.9085 9.56775 13.9387 9.5466 13.9679 9.52546L13.981 9.5164C14.0072 9.49727 14.0314 9.47662 14.0591 9.45598L14.0812 9.43887C14.1054 9.41923 14.1286 9.39859 14.1522 9.37795L14.1779 9.3558C14.2081 9.32862 14.2378 9.30042 14.267 9.27123L14.2716 9.2672C14.3794 9.15887 14.4772 9.04091 14.5636 8.9148C14.5824 8.88761 14.6005 8.86009 14.618 8.83223C15.237 7.84584 15.092 6.56267 14.2685 5.73916Z",fill:t,role:"img"})}))}},4168:function(e,t,r){var n=this&&this.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r};Object.defineProperty(t,"__esModule",{value:!0}),t.PageIcon=void 0;const o=r(1085);t.PageIcon=e=>{var{color:t="currentColor"}=e,r=n(e,["color"]);return(0,o.jsx)("svg",Object.assign({width:"14",height:"18",viewBox:"0 0 14 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r,{children:(0,o.jsx)("path",{d:"M11.9997 0.666992H1.99967C1.08051 0.666992 0.333008 1.41449 0.333008 2.33366V15.667C0.333008 16.5862 1.08051 17.3337 1.99967 17.3337H11.9997C12.9188 17.3337 13.6663 16.5862 13.6663 15.667V2.33366C13.6663 1.41449 12.9188 0.666992 11.9997 0.666992ZM7.41634 8.16699H3.24967C3.01967 8.16699 2.83301 7.98033 2.83301 7.75033V6.91699C2.83301 6.68699 3.01967 6.50033 3.24967 6.50033H7.41634C7.64634 6.50033 7.83301 6.68699 7.83301 6.91699V7.75033C7.83301 7.98033 7.64634 8.16699 7.41634 8.16699ZM10.7497 4.83366H3.24967C3.01967 4.83366 2.83301 4.64699 2.83301 4.41699V3.58366C2.83301 3.35366 3.01967 3.16699 3.24967 3.16699H10.7497C10.9797 3.16699 11.1663 3.35366 11.1663 3.58366V4.41699C11.1663 4.64699 10.9797 4.83366 10.7497 4.83366Z",fill:t})}))}},4279:function(e,t,r){var n=this&&this.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r};Object.defineProperty(t,"__esModule",{value:!0}),t.RedDotIcon=void 0;const o=r(1085);t.RedDotIcon=e=>{var t=n(e,[]);return(0,o.jsx)("svg",Object.assign({width:"8",height:"8",viewBox:"0 0 8 8",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t,{children:(0,o.jsx)("rect",{x:"0.5",y:"0.5",width:"7",height:"7",rx:"3.5",fill:"#C21313"})}))}},1835:function(e,t,r){var n=this&&this.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r};Object.defineProperty(t,"__esModule",{value:!0}),t.StackIcon=void 0;const o=r(1085);t.StackIcon=e=>{var{color:t="currentColor"}=e,r=n(e,["color"]);return(0,o.jsx)("svg",Object.assign({width:"20",height:"20",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r,{children:(0,o.jsx)("path",{d:"M14.2178 3.00092C14.1504 3.00514 14.0839 3.01844 14.02 3.04047L3.51986 6.4287C3.36864 6.47743 3.23681 6.57291 3.14335 6.70138C3.04989 6.82986 2.99964 6.98469 2.99983 7.14356V15.754C2.99843 15.8534 3.01679 15.9521 3.05385 16.0443C3.09091 16.1366 3.14593 16.2205 3.21571 16.2913C3.2855 16.3621 3.36865 16.4183 3.46035 16.4566C3.55204 16.495 3.65045 16.5147 3.74984 16.5147C3.84924 16.5147 3.94764 16.495 4.03934 16.4566C4.13103 16.4183 4.21419 16.3621 4.28397 16.2913C4.35375 16.2205 4.40878 16.1366 4.44584 16.0443C4.4829 15.9521 4.50126 15.8534 4.49985 15.754V7.68849L14.48 4.46725C14.649 4.41529 14.7942 4.30532 14.89 4.15674C14.9858 4.00815 15.026 3.8305 15.0036 3.65514C14.9812 3.47977 14.8975 3.31797 14.7674 3.19827C14.6373 3.07857 14.4691 3.00868 14.2925 3.00092C14.2676 2.99967 14.2427 2.99967 14.2178 3.00092ZM17.2178 5.25095C17.1504 5.25517 17.0839 5.26848 17.0201 5.2905L6.5199 8.67874C6.36869 8.72746 6.23685 8.82294 6.14339 8.95142C6.04993 9.07989 5.99968 9.23472 5.99988 9.39359V18.0041C5.99847 18.1035 6.01683 18.2021 6.05389 18.2944C6.09095 18.3866 6.14597 18.4705 6.21576 18.5413C6.28554 18.6121 6.3687 18.6683 6.46039 18.7066C6.55209 18.745 6.65049 18.7648 6.74989 18.7648C6.84928 18.7648 6.94769 18.745 7.03938 18.7066C7.13108 18.6683 7.21423 18.6121 7.28402 18.5413C7.3538 18.4705 7.40882 18.3866 7.44588 18.2944C7.48294 18.2021 7.5013 18.1035 7.4999 18.0041V9.93852L17.48 6.71728C17.649 6.66533 17.7942 6.55535 17.89 6.40677C17.9858 6.25818 18.0261 6.08054 18.0036 5.90517C17.9812 5.72981 17.8976 5.568 17.7675 5.4483C17.6374 5.32861 17.4691 5.25871 17.2925 5.25095C17.2676 5.24971 17.2427 5.24971 17.2178 5.25095ZM20.193 7.50538C20.1344 7.50982 20.0758 7.52197 20.0186 7.54053L9.51848 10.9288C9.20948 11.0293 8.99992 11.3181 8.99992 11.6436V20.2541C8.99992 20.4979 9.11829 20.7262 9.3178 20.8664C9.44605 20.9572 9.59693 21.0041 9.74993 21.0041C9.83468 21.0041 9.92014 20.9894 10.0019 20.9602L20.502 17.2101C20.8006 17.1044 21.0001 16.8213 21.0001 16.504V8.25392C21.0001 8.01467 20.8853 7.78922 20.691 7.64747C20.5459 7.54172 20.3688 7.49205 20.193 7.50538Z",fill:t})}))}},4737:function(e,t,r){var n=this&&this.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r};Object.defineProperty(t,"__esModule",{value:!0}),t.StorefrontIcon=void 0;const o=r(1085);t.StorefrontIcon=e=>{var{color:t="currentColor"}=e,r=n(e,["color"]);return(0,o.jsx)("svg",Object.assign({width:"20",height:"20",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r,{children:(0,o.jsx)("path",{d:"M5 3C4.448 3 4 3.448 4 4C4 4.552 4.448 5 5 5H19C19.552 5 20 4.552 20 4C20 3.448 19.552 3 19 3H5ZM4.61719 7C4.23819 7 3.89361 7.21373 3.72461 7.55273L2.10547 10.7891C2.03547 10.9281 2 11.0813 2 11.2363V12C2 12.552 2.448 13 3 13V19C3 20.105 3.895 21 5 21H19C20.105 21 21 20.105 21 19V13C21.552 13 22 12.552 22 12V11.2363C22 11.0813 21.9645 10.9281 21.8945 10.7891L20.2754 7.55273C20.1064 7.21373 19.7618 7 19.3828 7H4.61719ZM6 13H18C18.552 13 19 13.448 19 14V18C19 18.552 18.552 19 18 19H6C5.448 19 5 18.552 5 18V14C5 13.448 5.448 13 6 13Z",fill:t})}))}},5283:function(e,t,r){var n=this&&this.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r};Object.defineProperty(t,"__esModule",{value:!0}),t.SupertabIcon=void 0;const o=r(1085);t.SupertabIcon=e=>{var{color:t="currentColor"}=e,r=n(e,["color"]);return(0,o.jsxs)("svg",Object.assign({width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r,{children:[(0,o.jsx)("path",{d:"M7.25684 14.6641H2.81152C1.99307 14.664 1.33014 14.0011 1.33008 13.1826V10.2197H7.25684V14.6641Z",fill:t}),(0,o.jsx)("path",{d:"M14.665 13.1826C14.665 14.0011 14.0012 14.6641 13.1826 14.6641H8.73828V7.25586H14.665V13.1826Z",fill:t}),(0,o.jsx)("path",{d:"M7.25684 8.73828H1.33008V2.81152C1.33033 1.99324 1.99319 1.33019 2.81152 1.33008H7.25684V8.73828Z",fill:t}),(0,o.jsx)("path",{d:"M13.1826 1.33105C14.0012 1.33105 14.665 1.99393 14.665 2.8125V5.77539H8.73828V1.33105H13.1826Z",fill:t})]}))}},4312:function(e,t,r){var n=this&&this.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r};Object.defineProperty(t,"__esModule",{value:!0}),t.WorkspaceIcon=void 0;const o=r(1085);t.WorkspaceIcon=e=>{var{color:t="currentColor"}=e,r=n(e,["color"]);return(0,o.jsxs)("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",role:"img"},r,{children:[(0,o.jsx)("path",{d:"M6.73811 2.8125H3.53137C3.13442 2.8125 2.81262 3.1343 2.81262 3.53125V7.51204C2.81262 7.909 3.13442 8.23079 3.53137 8.23079H6.73811C7.13506 8.23079 7.45686 7.909 7.45686 7.51204V3.53125C7.45686 3.1343 7.13506 2.8125 6.73811 2.8125Z",fill:t}),(0,o.jsx)("path",{d:"M12.1565 6.26758H8.94971C8.75123 6.26758 8.59033 6.42848 8.59033 6.62696V11.3818C8.59033 11.5803 8.75123 11.7412 8.94971 11.7412H12.1565C12.3549 11.7412 12.5158 11.5803 12.5158 11.3818V6.62696C12.5158 6.42848 12.3549 6.26758 12.1565 6.26758Z",stroke:t,strokeWidth:"0.718753"}),(0,o.jsx)("path",{d:"M12.1564 2.8125H8.94971C8.55275 2.8125 8.23096 3.1343 8.23096 3.53125V4.41587C8.23096 4.81283 8.55275 5.13463 8.94971 5.13463H12.1564C12.5534 5.13463 12.8752 4.81283 12.8752 4.41587V3.53125C12.8752 3.1343 12.5534 2.8125 12.1564 2.8125Z",fill:t}),(0,o.jsx)("path",{d:"M6.73798 9.00488H3.53125C3.1343 9.00488 2.8125 9.32668 2.8125 9.72364V11.3823C2.8125 11.7793 3.1343 12.1011 3.53125 12.1011H6.73798C7.13494 12.1011 7.45674 11.7793 7.45674 11.3823V9.72364C7.45674 9.32668 7.13494 9.00488 6.73798 9.00488Z",fill:t})]}))}},1184:function(e,t,r){var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var o=Object.getOwnPropertyDescriptor(t,r);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,o)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),o(r(3813),t),o(r(8840),t),o(r(1370),t),o(r(4312),t),o(r(6607),t),o(r(3737),t),o(r(2438),t),o(r(7120),t),o(r(6099),t),o(r(2786),t),o(r(7112),t),o(r(1835),t),o(r(8414),t),o(r(4737),t),o(r(4256),t),o(r(1164),t),o(r(3057),t),o(r(1241),t),o(r(6934),t),o(r(6708),t),o(r(4993),t),o(r(4168),t),o(r(4279),t),o(r(1778),t),o(r(7476),t),o(r(6462),t),o(r(8531),t),o(r(4947),t),o(r(5283),t),o(r(8929),t)},8863:function(e,t,r){var n=this&&this.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.IconWithBadge=void 0;const a=r(1085),i=o(r(2770)),l=r(5347),c=r(3038),s=r(419);t.IconWithBadge=e=>{var{count:t=0,max:r}=e,o=n(e,["count","max"]);return(0,a.jsxs)(u,{children:[(0,a.jsx)(s.Icon,Object.assign({},o)),t>0&&(0,a.jsx)(d,{count:t,max:r})]})};const u=(0,i.default)(l.Box)`
|
|
896
|
+
position: relative;
|
|
897
|
+
`,d=(0,i.default)(c.Badge)`
|
|
898
|
+
position: absolute;
|
|
899
|
+
transform: scale(70%);
|
|
900
|
+
right: -${({theme:e})=>e.px.base};
|
|
901
|
+
top: -${({theme:e})=>e.px.small};
|
|
902
|
+
`},5355:function(e,t,r){var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var o=Object.getOwnPropertyDescriptor(t,r);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,o)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),o(r(8863),t)},7439:function(e,t,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Label=void 0;const o=r(1085),a=n(r(2770)),i=r(5347),l=r(3968),c=r(2394);t.Label=({icon:e,text:t,helperText:r,htmlFor:n,inline:a})=>(0,o.jsxs)(f,{inline:a,children:[(0,o.jsxs)("div",{style:{display:"flex"},children:["function"==typeof e?e():e?(0,o.jsx)(d,{icon:e}):null,(0,o.jsx)(u,{as:"label",htmlFor:n,weight:"bold",children:t})]}),r&&(0,o.jsx)(s,{children:r})]});const s=(0,a.default)(l.Text)`
|
|
903
|
+
size: ${({theme:e})=>e.fontSize.base};
|
|
904
|
+
color: ${({theme:e})=>e.palette.textHelp};
|
|
905
|
+
`,u=(0,a.default)(l.Text)`
|
|
906
|
+
text-transform: capitalize;
|
|
907
|
+
color: ${({theme:e})=>e.palette.textDefault};
|
|
908
|
+
`,d=(0,a.default)(c.Icon)`
|
|
909
|
+
margin-right: ${({theme:e})=>e.px.xsmall};
|
|
910
|
+
min-width: ${({theme:e})=>e.iconSize.small};
|
|
911
|
+
min-height: ${({theme:e})=>e.iconSize.small};
|
|
912
|
+
align-self: center;
|
|
913
|
+
`,f=(0,a.default)(i.Box)`
|
|
914
|
+
display: flex;
|
|
915
|
+
flex-direction: column;
|
|
916
|
+
margin-bottom: ${({theme:e})=>e.px.small};
|
|
917
|
+
|
|
918
|
+
${({inline:e,theme:t})=>e&&`cursor: pointer;\n margin-bottom: 0;\n margin-left: ${t.px.small};\n font-weight: ${t.fontWeight.normal};\n `}
|
|
919
|
+
`},6836:function(e,t,r){var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var o=Object.getOwnPropertyDescriptor(t,r);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,o)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),o(r(8039),t),o(r(1714),t)},8039:function(e,t,r){var n=this&&this.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Loader=void 0;const a=r(1085),i=o(r(2770)),l=r(2394);t.Loader=(0,i.default)(e=>{var t=n(e,[]);return(0,a.jsx)(l.Icon,Object.assign({},t,{children:(0,a.jsx)("svg",{width:"100%",height:"100%",viewBox:"0 0 38 38",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",children:(0,a.jsx)("g",{fill:"none",fillRule:"evenodd",children:(0,a.jsxs)("g",{transform:"translate(1 1)",strokeWidth:"2",children:[(0,a.jsx)("circle",{strokeOpacity:".5",cx:"18",cy:"18",r:"18"}),(0,a.jsx)("path",{d:"M36 18c0-9.94-8.06-18-18-18",children:(0,a.jsx)("animateTransform",{attributeName:"transform",type:"rotate",from:"0 18 18",to:"360 18 18",dur:"1s",repeatCount:"indefinite"})})]})})})}))})``},1714:function(e,t,r){var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var o=Object.getOwnPropertyDescriptor(t,r);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,o)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),a=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&n(t,e,r);return o(t,e),t},i=this&&this.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r};Object.defineProperty(t,"__esModule",{value:!0}),t.OpenfinLoader=void 0;const l=r(1085),c=a(r(2770)),s=r(2394);t.OpenfinLoader=(0,c.default)(e=>{var t=i(e,[]);return(0,l.jsx)(s.Icon,Object.assign({},t,{children:(0,l.jsxs)("svg",{width:"100%",height:"100%",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,l.jsx)(u,{d:"\n M 17.1222 6.887\n C 17.0141 6.77887 16.898 6.67911 16.7748 6.58856\n L 16.7295 6.55715\n C 16.7035 6.53903 16.6781 6.5203 16.6515 6.50278\n C 16.625 6.48526 16.5941 6.46653 16.5657 6.44901\n L 16.5259 6.42424\n C 16.4902 6.4031 16.454 6.38316 16.4177 6.36383\n L 16.3966 6.35236\n C 15.9678 6.12742 15.491 6.00968 15.0068 6.00922\n C 14.2101 6.00858 13.4463 5.69149 12.8834 5.12772\n C 12.3205 4.56395 12.0048 3.79971 12.0056 3.00314\n C 12.0078 1.79066 11.2792 0.696263 10.1596 0.230293\n C 9.04002 -0.235676 7.74992 0.0185592 6.89093 0.874441\n C 6.03194 1.73032 5.77323 3.01928 6.23546 4.14024\n C 6.69768 5.26119 7.7898 5.99337 9.00251 5.99532\n C 9.79924 5.99596 10.5631 6.31305 11.1259 6.87682\n C 11.6888 7.44059 12.0046 8.20484 12.0038 9.0014\n C 12.0031 9.79797 11.686 10.5616 11.1221 11.1244\n C 10.5582 11.6871 9.7938 12.0028 8.99708 12.002\n C 8.20096 12.0027 7.43727 11.6867 6.87438 11.1238\n C 6.3115 10.561 5.99564 9.79736 5.99644 9.0014\n C 5.99644 7.34586 4.65409 6.00378 2.99822 6.00378\n C 1.34235 6.00378 0 7.34586 0 9.0014\n C 0 10.6569 1.34235 11.999 2.99822 11.999\n C 4.65409 11.999 5.99644 13.3411 5.99644 14.9966\n C 5.99644 16.6553 7.34136 18 9.0004 18\n C 10.6594 18 12.0044 16.6553 12.0044 14.9966\n C 12.0044 13.3411 13.3467 11.999 15.0026 11.999\n C 15.5379 11.9994 16.0635 11.8563 16.5247 11.5846\n C 16.5645 11.561 16.6038 11.5363 16.6455 11.5109\n L 16.654 11.5055\n C 16.6902 11.4813 16.7265 11.4559 16.7615 11.4305\n L 16.7772 11.4197\n C 16.8086 11.3967 16.8376 11.372 16.8709 11.3472\n L 16.8975 11.3266\n C 16.9265 11.3031 16.9543 11.2783 16.9827 11.2535\n L 17.0135 11.227\n C 17.0497 11.1943 17.0854 11.1605 17.1204 11.1255\n L 17.1259 11.1206\n C 17.2553 10.9906 17.3726 10.8491 17.4763 10.6978\n C 17.4989 10.6651 17.5206 10.6321 17.5416 10.5987\n C 18.2843 9.415 18.1104 7.8752 17.1222 6.887Z\n ",fill:"currentColor"}),(0,l.jsx)(d,{cx:"9",cy:"3",r:"2.9",fill:"currentColor",angle:0}),(0,l.jsx)(d,{cx:"15",cy:"9",r:"2.75",fill:"currentColor",angle:-90}),(0,l.jsx)(d,{cx:"9",cy:"15",r:"2.5",fill:"currentColor",angle:-180}),(0,l.jsx)(d,{cx:"3",cy:"9",r:"2.25",fill:"currentColor",angle:-270})]})}))})``;const u=c.default.path`
|
|
920
|
+
@keyframes logoAnimation {
|
|
921
|
+
0% {
|
|
922
|
+
opacity: 1;
|
|
923
|
+
}
|
|
924
|
+
25% {
|
|
925
|
+
opacity: 1;
|
|
926
|
+
}
|
|
927
|
+
35% {
|
|
928
|
+
opacity: 0;
|
|
929
|
+
}
|
|
930
|
+
60% {
|
|
931
|
+
opacity: 0;
|
|
932
|
+
}
|
|
933
|
+
75% {
|
|
934
|
+
opacity: 1;
|
|
935
|
+
}
|
|
936
|
+
100% {
|
|
937
|
+
opacity: 1;
|
|
938
|
+
}
|
|
939
|
+
}
|
|
940
|
+
|
|
941
|
+
animation: logoAnimation 2s ease-in-out infinite;
|
|
942
|
+
`,d=c.default.circle`
|
|
943
|
+
transform-origin: center;
|
|
944
|
+
animation: ${({angle:e})=>(e=>c.keyframes`
|
|
945
|
+
0% {
|
|
946
|
+
transform: rotate(0deg);
|
|
947
|
+
opacity: 0;
|
|
948
|
+
}
|
|
949
|
+
25% {
|
|
950
|
+
transform: rotate(0deg);
|
|
951
|
+
opacity: 1;
|
|
952
|
+
}
|
|
953
|
+
30% {
|
|
954
|
+
transform: rotate(0deg);
|
|
955
|
+
opacity: 1;
|
|
956
|
+
}
|
|
957
|
+
50% {
|
|
958
|
+
transform: rotate(${e}deg);
|
|
959
|
+
opacity: 1;
|
|
960
|
+
}
|
|
961
|
+
70% {
|
|
962
|
+
transform: rotate(-360deg);
|
|
963
|
+
opacity: 1;
|
|
964
|
+
}
|
|
965
|
+
75% {
|
|
966
|
+
transform: rotate(-360deg);
|
|
967
|
+
opacity: 0;
|
|
968
|
+
}
|
|
969
|
+
100% {
|
|
970
|
+
transform: rotate(-360deg);
|
|
971
|
+
opacity: 0;
|
|
972
|
+
}
|
|
973
|
+
`)(e)} 2s ease-in-out infinite;
|
|
974
|
+
`},4924:function(e,t,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.ValidationError=void 0;const o=r(1085),a=n(r(2770)),i=r(2394),l=r(3968);t.ValidationError=({children:e})=>(0,o.jsxs)(c,{children:[(0,o.jsx)(i.Icon,{icon:"ExclamationCircledFilledIcon"}),(0,o.jsx)(s,{children:e})]});const c=a.default.div`
|
|
975
|
+
display: flex;
|
|
976
|
+
gap: ${({theme:e})=>e.px.xsmall};
|
|
977
|
+
align-items: center;
|
|
978
|
+
text-align: center;
|
|
979
|
+
margin-top: ${({theme:e})=>e.px.small};
|
|
980
|
+
`,s=(0,a.default)(l.Text)`
|
|
981
|
+
color: ${({theme:e})=>e.palette.textHelp};
|
|
982
|
+
`},2074:function(e,t,r){var n=this&&this.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.StyledInputField=t.BaseInput=void 0;const a=r(1085),i=r(2015),l=o(r(2770)),c=r(7439),s=r(4924),u=r(5347),d=r(3437),f=r(3968);t.BaseInput=(0,i.forwardRef)((e,r)=>{var{className:o,renderInput:i,message:l,label:u,status:d,name:f,icon:b,type:v="text",helperText:m,placeholder:y}=e,w=n(e,["className","renderInput","message","label","status","name","icon","type","helperText","placeholder"]);const x="checkbox"===v||"radio"===v;return(0,a.jsxs)(g,{flexDirection:"column",alignItems:"flex-start",children:[(0,a.jsxs)(p,{inline:x,children:[!!u&&(0,a.jsx)(c.Label,{inline:x,icon:b,text:u,helperText:m,htmlFor:f}),!!i&&i(Object.assign({name:f,status:d,type:v},w)),!i&&(0,a.jsx)(t.StyledInputField,Object.assign({className:o,name:f,placeholder:y,status:d,type:v},w,{ref:r}))]}),l&&("critical"===d?(0,a.jsx)(s.ValidationError,{children:l}):(0,a.jsx)(h,{status:d,children:l}))]})}),t.BaseInput.displayName="BaseInput";const p=(0,l.default)(u.Box)`
|
|
983
|
+
align-items: ${({inline:e})=>e?"center":"flex-start"};
|
|
984
|
+
flex-direction: ${({inline:e})=>e?"row-reverse":"column"};
|
|
985
|
+
justify-content: ${({inline:e})=>e?"flex-end":"flex-start"};
|
|
986
|
+
width: 100%;
|
|
987
|
+
`,h=(0,l.default)(f.Text)`
|
|
988
|
+
color: ${({theme:e,status:t})=>(0,d.getStatusColor)(e,t,"textHelp")};
|
|
989
|
+
`,g=(0,l.default)(u.Box)`
|
|
990
|
+
font-size: ${({theme:e})=>e.fontSize.base};
|
|
991
|
+
user-select: none;
|
|
992
|
+
`;t.StyledInputField=l.default.input`
|
|
993
|
+
background: ${({theme:e})=>e.palette.background4};
|
|
994
|
+
border: 1px solid ${({theme:e})=>e.palette.background6};
|
|
995
|
+
border-color: ${({theme:e,status:t})=>(0,d.getStatusColor)(e,t,d.Palette.inputBorder)};
|
|
996
|
+
border-radius: ${({theme:e})=>e.radius.small};
|
|
997
|
+
box-shadow: ${({theme:e})=>e.shadow.base};
|
|
998
|
+
color: ${({theme:e})=>e.palette.inputColor};
|
|
999
|
+
font-size: ${({theme:e})=>e.fontSize.base};
|
|
1000
|
+
padding: ${({theme:e})=>`${e.px.small} ${e.px.base}`};
|
|
1001
|
+
transition: border-color var(--openfin-ui-globalTransition);
|
|
1002
|
+
width: 100%;
|
|
1003
|
+
|
|
1004
|
+
&:focus {
|
|
1005
|
+
outline: 0;
|
|
1006
|
+
border-color: ${({theme:e,status:t})=>(0,d.getStatusColor)(e,t,d.Palette.inputFocused)};
|
|
1007
|
+
}
|
|
1008
|
+
|
|
1009
|
+
&:disabled {
|
|
1010
|
+
cursor: not-allowed;
|
|
1011
|
+
}
|
|
1012
|
+
|
|
1013
|
+
&:disabled::placeholder {
|
|
1014
|
+
color: ${({theme:e})=>e.palette.inputDisabled};
|
|
1015
|
+
}
|
|
1016
|
+
|
|
1017
|
+
/**
|
|
1018
|
+
* This is a hack to invert the calendar icon. This only works in dark mode.
|
|
1019
|
+
* Until either light mode is a thing or we get a datetime picker design, this will do.
|
|
1020
|
+
*/
|
|
1021
|
+
|
|
1022
|
+
::-webkit-calendar-picker-indicator {
|
|
1023
|
+
filter: invert(1);
|
|
1024
|
+
}
|
|
1025
|
+
`},3417:function(e,t,r){var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var o=Object.getOwnPropertyDescriptor(t,r);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,o)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),o(r(2074),t)},466:function(e,t,r){var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var o=Object.getOwnPropertyDescriptor(t,r);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,o)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),a=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&n(t,e,r);return o(t,e),t},i=this&&this.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r};Object.defineProperty(t,"__esModule",{value:!0}),t.Checkbox=void 0;const l=r(1085),c=a(r(2015)),s=r(2394),u=r(3417);t.Checkbox=c.forwardRef((e,t)=>{var{status:r,variant:n="default"}=e,o=i(e,["status","variant"]);const a="primary"===n?"shared-checkbox--primary":"";return(0,l.jsx)(u.BaseInput,Object.assign({},o,{type:"checkbox",status:r,renderInput:e=>{var{status:r}=e,n=i(e,["status"]);return(0,l.jsxs)("div",{className:`shared-checkbox__container ${a}`.trim(),children:[(0,l.jsx)("input",Object.assign({ref:t,id:n.name,type:"checkbox",className:"shared-checkbox"},n)),(0,l.jsx)("div",{className:"shared-checkbox__fauxbox",children:(0,l.jsx)(s.Icon,{icon:"CheckIcon",size:"small",className:"shared-checkbox__icon"})})]})}}))}),t.Checkbox.displayName="Checkbox"},3543:function(e,t,r){var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var o=Object.getOwnPropertyDescriptor(t,r);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,o)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),o(r(466),t)},4081:function(e,t,r){var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var o=Object.getOwnPropertyDescriptor(t,r);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,o)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),a=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&n(t,e,r);return o(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.CheckboxGroup=void 0;const i=r(1085),l=a(r(2015)),c=a(r(2770)),s=r(4924),u=r(5347),d=r(3968),f=r(3543);t.CheckboxGroup=({disabled:e,gap:t="small",helperText:r,label:n,message:o,children:a,validationErrorMessage:c,values:u,onChange:d})=>{const[y,w]=l.useState(null!=u?u:[]),x=e=>{const t=e.target.value,r=y.includes(t)?y.filter(e=>e!==t):[...y,t];w(r),d&&d(r)};return(0,i.jsxs)(b,{children:[n&&(0,i.jsxs)(p,{children:[(0,i.jsx)(h,{weight:"bold",children:n}),r&&(0,i.jsx)(g,{children:r})]}),(0,i.jsx)(v,{gap:t,children:l.Children.map(a,t=>{const r=t;return r.type===f.Checkbox?l.cloneElement(r,{disabled:e,onChange:x,checked:y.includes(r.props.value)}):r})}),!y.length&&c&&(0,i.jsx)(s.ValidationError,{children:c}),o?(0,i.jsx)(m,{disabled:e,children:o}):null]})};const p=(0,c.default)(u.Box)`
|
|
1026
|
+
display: flex;
|
|
1027
|
+
flex-direction: column;
|
|
1028
|
+
margin-bottom: ${({theme:e})=>e.px.small};
|
|
1029
|
+
`,h=(0,c.default)(d.Text)`
|
|
1030
|
+
text-transform: capitalize;
|
|
1031
|
+
`,g=(0,c.default)(d.Text)`
|
|
1032
|
+
size: ${({theme:e})=>e.fontSize.base};
|
|
1033
|
+
color: ${({theme:e})=>e.palette.textHelp};
|
|
1034
|
+
`,b=(0,c.default)(u.Box)`
|
|
1035
|
+
display: flex;
|
|
1036
|
+
flex-direction: column;
|
|
1037
|
+
width: max-content;
|
|
1038
|
+
`,v=(0,c.default)(u.Box)`
|
|
1039
|
+
display: flex;
|
|
1040
|
+
flex-direction: column;
|
|
1041
|
+
align-items: start;
|
|
1042
|
+
width: fit-content;
|
|
1043
|
+
`,m=(0,c.default)(d.Text)`
|
|
1044
|
+
color: ${({theme:e})=>e.palette.inputPlaceholder};
|
|
1045
|
+
margin-top: ${({theme:e})=>e.px.base};
|
|
1046
|
+
|
|
1047
|
+
${({disabled:e})=>e&&c.css`
|
|
1048
|
+
color: ${({theme:e})=>e.palette.inputDisabled};
|
|
1049
|
+
`}
|
|
1050
|
+
`},6834:function(e,t,r){var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var o=Object.getOwnPropertyDescriptor(t,r);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,o)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),o(r(4081),t)},2122:function(e,t,r){var n=this&&this.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.DateInput=void 0;const a=r(1085),i=r(2015),l=o(r(2770)),c=r(2394),s=r(5347),u=r(3417);t.DateInput=(0,i.forwardRef)((e,t)=>{var{value:r="",type:o="date",expanded:l=!1,onChange:c,status:s}=e,f=n(e,["value","type","expanded","onChange","status"]);const[p,h]=(0,i.useState)(r);return(0,i.useEffect)(()=>h(r),[]),(0,a.jsx)(u.BaseInput,Object.assign({type:o,status:s},f,{renderInput:e=>{var{status:r,type:i}=e,u=n(e,["status","type"]);return(0,a.jsx)(d,Object.assign({ref:t,type:o,status:s,onChange:e=>{const{value:t}=e.target;t&&h(t),null==c||c(e)},value:p,expanded:l},u))}}))}),t.DateInput.displayName="DateInput";const d=(0,i.forwardRef)((e,t)=>{var{type:r,expanded:o,onExpand:i}=e,l=n(e,["type","expanded","onExpand"]);return(0,a.jsxs)(f,{children:[(0,a.jsx)(h,{children:(0,a.jsx)(c.Icon,{icon:"time"===r?"ClockIcon":"CalendarIcon"})}),(0,a.jsx)(b,Object.assign({ref:t,type:r,onKeyDown:e=>{" "===e.key&&e.preventDefault()}},l)),(0,a.jsx)(g,{flexDirection:"column",disabled:l.disabled,onClick:i,children:(0,a.jsx)(c.Icon,{icon:o?"ChevronUpIcon":"ChevronDownIcon"})})]})});d.displayName="StyledDateInput";const f=l.default.div`
|
|
1051
|
+
position: relative;
|
|
1052
|
+
overflow: hidden;
|
|
1053
|
+
border-radius: ${({theme:e})=>e.radius.small};
|
|
1054
|
+
width: 100%;
|
|
1055
|
+
`,p=(0,l.default)(s.Box)`
|
|
1056
|
+
flex-direction: column;
|
|
1057
|
+
justify-content: center;
|
|
1058
|
+
align-items: center;
|
|
1059
|
+
position: absolute;
|
|
1060
|
+
top: 1px;
|
|
1061
|
+
overflow: hidden;
|
|
1062
|
+
height: calc(100% - 2px);
|
|
1063
|
+
`,h=(0,l.default)(p)`
|
|
1064
|
+
left: ${({theme:e})=>e.px.small};
|
|
1065
|
+
pointer-events: none;
|
|
1066
|
+
`,g=(0,l.default)(p)`
|
|
1067
|
+
right: ${({theme:e})=>e.px.small};
|
|
1068
|
+
pointer-events: ${({disabled:e})=>e?"none":void 0};
|
|
1069
|
+
border-left: 1px solid ${({theme:e})=>e.palette.background6};
|
|
1070
|
+
padding-left: ${({theme:e})=>e.px.small};
|
|
1071
|
+
`,b=(0,l.default)(u.StyledInputField)`
|
|
1072
|
+
appearance: textfield;
|
|
1073
|
+
padding-right: ${({theme:e})=>e.px.xxxlarge};
|
|
1074
|
+
padding-left: ${({theme:e})=>e.px.xxxlarge};
|
|
1075
|
+
::-webkit-inner-spin-button,
|
|
1076
|
+
::-webkit-calendar-picker-indicator {
|
|
1077
|
+
display: none;
|
|
1078
|
+
appearance: none;
|
|
1079
|
+
}
|
|
1080
|
+
`},1490:function(e,t,r){var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var o=Object.getOwnPropertyDescriptor(t,r);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,o)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),o(r(2122),t)},4629:function(e,t,r){var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var o=Object.getOwnPropertyDescriptor(t,r);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,o)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),o(r(5306),t)},5306:function(e,t,r){var n=this&&this.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.NumberInput=t.Direction=void 0;const a=r(1085),i=r(2015),l=o(r(2770)),c=r(2394),s=r(5347),u=r(3417);var d;!function(e){e[e.Up=1]="Up",e[e.Down=-1]="Down"}(d||(t.Direction=d={})),t.NumberInput=(0,i.forwardRef)((e,t)=>{var{min:r,max:o,step:i=1,onTakeStep:l,value:c}=e,s=n(e,["min","max","step","onTakeStep","value"]);return(0,a.jsx)(u.BaseInput,Object.assign({type:"number"},s,{renderInput:e=>{var{status:u}=e,p=n(e,["status"]);return(0,a.jsx)(f,Object.assign({prependIcon:s.prependIcon,prependString:s.prependString,ref:t,status:s.status,onIncrement:()=>l&&l(d.Up,i),onDecrement:()=>l&&l(d.Down,i),min:r,max:o,step:i},p,{placeholder:s.placeholder,value:c,"aria-valuenow":c,"aria-valuemin":r,"aria-valuemax":o}))}}))}),t.NumberInput.displayName="NumberInput";const f=(0,i.forwardRef)((e,t)=>{var{onIncrement:r,onDecrement:o,prependIcon:l,prependString:s}=e,u=n(e,["onIncrement","onDecrement","prependIcon","prependString"]);const d=(e,t)=>{"Enter"!==e.key&&" "!==e.key||(e.preventDefault(),t?r():o())},f=(0,i.useRef)(null),[m,y]=(0,i.useState)(0);return(0,i.useEffect)(()=>{f.current?y(f.current.offsetWidth):y(0)},[f.current,l,s]),(0,a.jsxs)(p,{children:[(!!l||!!s)&&(0,a.jsxs)(h,{hasIcon:!!l,ref:f,alignItems:"center",justifyContent:"center",children:[l&&(0,a.jsx)(c.Icon,{icon:l,size:"base"}),s&&!l&&s]}),(0,a.jsx)(v,Object.assign({prependContainerWidth:m,ref:t},u)),(0,a.jsxs)(g,{flexDirection:"column",disabled:u.disabled,children:[(0,a.jsx)(b,{onClick:r,onKeyDown:e=>d(e,!0),disabled:u.disabled,"aria-label":"Increment value",tabIndex:0,children:(0,a.jsx)(c.Icon,{icon:"TriangleUpIcon"})}),(0,a.jsx)(b,{onKeyDown:e=>d(e),onClick:o,"aria-label":"Decrement value",disabled:u.disabled,tabIndex:0,children:(0,a.jsx)(c.Icon,{icon:"TriangleDownIcon"})})]})]})});f.displayName="StyledNumberInput";const p=l.default.div`
|
|
1081
|
+
position: relative;
|
|
1082
|
+
overflow: hidden;
|
|
1083
|
+
border-radius: ${({theme:e})=>e.radius.small};
|
|
1084
|
+
width: 100%;
|
|
1085
|
+
`,h=(0,l.default)(s.Box)`
|
|
1086
|
+
background-color: ${({theme:e})=>e.palette.background6};
|
|
1087
|
+
position: absolute;
|
|
1088
|
+
left: 1px;
|
|
1089
|
+
top: 1px;
|
|
1090
|
+
width: ${({theme:e,hasIcon:t})=>t?e.px.xxlarge:"fit-content"};
|
|
1091
|
+
padding: 0 ${({theme:e})=>e.px.small};
|
|
1092
|
+
height: calc(100% - 2px);
|
|
1093
|
+
border-radius: ${({theme:e})=>`${e.radius.small} 0 0 ${e.radius.small}`};
|
|
1094
|
+
`,g=(0,l.default)(s.Box)`
|
|
1095
|
+
align-items: center;
|
|
1096
|
+
position: absolute;
|
|
1097
|
+
right: 1px;
|
|
1098
|
+
top: 1px;
|
|
1099
|
+
gap: 1px;
|
|
1100
|
+
height: calc(100% - 2px);
|
|
1101
|
+
border-radius: ${({theme:e})=>`0 ${e.radius.small} ${e.radius.small} 0`};
|
|
1102
|
+
overflow: hidden;
|
|
1103
|
+
|
|
1104
|
+
pointer-events: ${({disabled:e})=>e?"none":void 0};
|
|
1105
|
+
`,b=(0,l.default)(s.Box)`
|
|
1106
|
+
cursor: pointer;
|
|
1107
|
+
background: ${({theme:e})=>e.palette.background6};
|
|
1108
|
+
padding: 0 ${({theme:e})=>e.px.xsmall};
|
|
1109
|
+
user-select: none;
|
|
1110
|
+
height: 50%;
|
|
1111
|
+
align-items: center;
|
|
1112
|
+
justify-content: center;
|
|
1113
|
+
|
|
1114
|
+
color: ${({disabled:e,theme:t})=>e?t.palette.textHelp:t.palette.textDefault};
|
|
1115
|
+
|
|
1116
|
+
&:hover {
|
|
1117
|
+
background: ${({theme:e})=>e.palette.inputFocused};
|
|
1118
|
+
}
|
|
1119
|
+
|
|
1120
|
+
&:active {
|
|
1121
|
+
background: ${({theme:e})=>e.palette.inputColor};
|
|
1122
|
+
}
|
|
1123
|
+
`,v=(0,l.default)(u.StyledInputField)`
|
|
1124
|
+
appearance: textfield;
|
|
1125
|
+
padding-left: ${({prependContainerWidth:e})=>`${e+10}px`};
|
|
1126
|
+
|
|
1127
|
+
::-webkit-inner-spin-button,
|
|
1128
|
+
::-webkit-outer-spin-button {
|
|
1129
|
+
appearance: none;
|
|
1130
|
+
margin: 0;
|
|
1131
|
+
}
|
|
1132
|
+
`},812:function(e,t,r){var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var o=Object.getOwnPropertyDescriptor(t,r);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,o)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),o(r(3060),t)},3060:function(e,t,r){var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var o=Object.getOwnPropertyDescriptor(t,r);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,o)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),a=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&n(t,e,r);return o(t,e),t},i=this&&this.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r};Object.defineProperty(t,"__esModule",{value:!0}),t.RadioGroup=void 0;const l=r(1085),c=a(r(2015)),s=a(r(2770)),u=r(4924),d=r(5347),f=r(3968),p=r(4954);t.RadioGroup=e=>{var t,r,n,{direction:o="column",label:a,disabled:s,labelSide:d="right",gap:f="small",message:w,helperText:x,name:_,children:k,validationErrorMessage:C,onChange:O,value:P}=e,j=i(e,["direction","label","disabled","labelSide","gap","message","helperText","name","children","validationErrorMessage","onChange","value"]);const[S,M]=c.useState(P),I=e=>{M(e.target.value),O&&O(e)};return c.useEffect(()=>{M(P)},[P]),(0,l.jsxs)(g,{children:[(0,l.jsxs)(h,{children:[(0,l.jsx)(y,{weight:"bold",id:`${_}-label`,children:a}),x&&(0,l.jsx)(b,{id:`${_}-desc`,children:x})]}),(0,l.jsx)(v,{direction:o,labelSide:d,gap:f,role:"radiogroup","aria-label":null!==(t=j["aria-label"])&&void 0!==t?t:a,"aria-labelledby":(null!==(r=j["aria-labelledby"])&&void 0!==r?r:!j["aria-label"])?`${_}-label`:void 0,"aria-describedby":null!==(n=j["aria-describedby"])&&void 0!==n?n:`${_}-desc`,children:c.Children.map(k,e=>{const t=e;return t.type===p.RadioInput?c.cloneElement(t,{name:_,labelSide:d,disabled:s,onChange:I,checked:t.props.value===S}):t})}),!S&&C&&(0,l.jsx)(u.ValidationError,{children:C}),w?(0,l.jsx)(m,{disabled:s,children:w}):null]})};const h=(0,s.default)(d.Box)`
|
|
1133
|
+
display: flex;
|
|
1134
|
+
flex-direction: column;
|
|
1135
|
+
margin-bottom: ${({theme:e})=>e.px.small};
|
|
1136
|
+
`,g=(0,s.default)(d.Box)`
|
|
1137
|
+
display: flex;
|
|
1138
|
+
flex-direction: column;
|
|
1139
|
+
`,b=(0,s.default)(f.Text)`
|
|
1140
|
+
size: ${({theme:e})=>e.fontSize.base};
|
|
1141
|
+
color: ${({theme:e})=>e.palette.textHelp};
|
|
1142
|
+
`,v=(0,s.default)(d.Box)`
|
|
1143
|
+
display: flex;
|
|
1144
|
+
flex-direction: ${e=>e.direction};
|
|
1145
|
+
align-items: ${e=>{switch(e.labelSide){case"left":return"end";case"right":return"start";default:return"center"}}};
|
|
1146
|
+
width: fit-content;
|
|
1147
|
+
`,m=(0,s.default)(f.Text)`
|
|
1148
|
+
color: ${({theme:e})=>e.palette.inputPlaceholder};
|
|
1149
|
+
margin-top: ${({theme:e})=>e.px.base};
|
|
1150
|
+
|
|
1151
|
+
${({disabled:e})=>e&&s.css`
|
|
1152
|
+
color: ${({theme:e})=>e.palette.inputDisabled};
|
|
1153
|
+
`}
|
|
1154
|
+
`,y=(0,s.default)(f.Text)`
|
|
1155
|
+
text-transform: capitalize;
|
|
1156
|
+
`},1607:function(e,t,r){var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var o=Object.getOwnPropertyDescriptor(t,r);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,o)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),o(r(4954),t)},4954:function(e,t,r){var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var o=Object.getOwnPropertyDescriptor(t,r);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,o)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),a=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&n(t,e,r);return o(t,e),t},i=this&&this.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r};Object.defineProperty(t,"__esModule",{value:!0}),t.RadioInput=void 0;const l=r(1085),c=a(r(2015)),s=a(r(2770)),u=r(2394),d=r(5347),f=r(3968);t.RadioInput=c.forwardRef((e,t)=>{var r,n,{disabled:o,id:a,label:c,labelSide:s,icon:d}=e,f=i(e,["disabled","id","label","labelSide","icon"]);return(0,l.jsx)(p,{children:(0,l.jsxs)(b,{as:"label",htmlFor:a,labelSide:s,disabled:o,children:[(0,l.jsx)(g,Object.assign({ref:t,type:"radio",disabled:o,"aria-label":null!==(n=null!==(r=f["aria-label"])&&void 0!==r?r:c)&&void 0!==n?n:`${f.value}`},f)),(0,l.jsx)(h,{}),!!d&&(0,l.jsx)(u.Icon,{icon:d}),c||""]})})}),t.RadioInput.displayName="RadioInput";const p=(0,s.default)(d.Box)`
|
|
1157
|
+
display: flex;
|
|
1158
|
+
flex-direction: column;
|
|
1159
|
+
`,h=s.default.div`
|
|
1160
|
+
width: ${({theme:e})=>e.px.base};
|
|
1161
|
+
height: ${({theme:e})=>e.px.base};
|
|
1162
|
+
border-radius: 50%;
|
|
1163
|
+
border-style: solid;
|
|
1164
|
+
border-width: 1px;
|
|
1165
|
+
border-color: ${({theme:e})=>e.palette.textDefault};
|
|
1166
|
+
box-sizing: content-box;
|
|
1167
|
+
flex-shrink: 0;
|
|
1168
|
+
|
|
1169
|
+
input:checked ~ &:after {
|
|
1170
|
+
content: '';
|
|
1171
|
+
display: block;
|
|
1172
|
+
margin: 2px 1px 0px 2px;
|
|
1173
|
+
width: ${({theme:e})=>e.px.small};
|
|
1174
|
+
height: ${({theme:e})=>e.px.small};
|
|
1175
|
+
border-radius: 50%;
|
|
1176
|
+
background-color: ${({theme:e})=>e.palette.textDefault};
|
|
1177
|
+
}
|
|
1178
|
+
|
|
1179
|
+
input:disabled ~ & {
|
|
1180
|
+
border-color: ${({theme:e})=>e.palette.inputDisabled};
|
|
1181
|
+
}
|
|
1182
|
+
|
|
1183
|
+
input:disabled ~ &:after {
|
|
1184
|
+
background-color: ${({theme:e})=>e.palette.inputDisabled};
|
|
1185
|
+
}
|
|
1186
|
+
`,g=s.default.input`
|
|
1187
|
+
opacity: 0;
|
|
1188
|
+
position: absolute;
|
|
1189
|
+
cursor: pointer;
|
|
1190
|
+
|
|
1191
|
+
&:disabled {
|
|
1192
|
+
cursor: default;
|
|
1193
|
+
}
|
|
1194
|
+
`,b=(0,s.default)(f.Text)`
|
|
1195
|
+
width: fit-content;
|
|
1196
|
+
display: flex;
|
|
1197
|
+
align-items: center;
|
|
1198
|
+
flex-direction: ${({labelSide:e})=>{switch(e||"right"){case"left":return"row-reverse";case"right":return"row";case"top":return"column-reverse";case"bottom":return"column"}}};
|
|
1199
|
+
gap: ${({theme:e})=>e.px.small};
|
|
1200
|
+
cursor: pointer;
|
|
1201
|
+
|
|
1202
|
+
${({disabled:e})=>e?s.css`
|
|
1203
|
+
& {
|
|
1204
|
+
cursor: default;
|
|
1205
|
+
}
|
|
1206
|
+
|
|
1207
|
+
color: ${({theme:e})=>e.palette.inputDisabled};
|
|
1208
|
+
`:null}
|
|
1209
|
+
`},4124:function(e,t,r){var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var o=Object.getOwnPropertyDescriptor(t,r);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,o)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),o(r(5108),t)},5108:function(e,t,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.RawInput=void 0;const o=n(r(2770));t.RawInput=o.default.input``,t.RawInput.displayName="RawInput"},2908:function(e,t,r){var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var o=Object.getOwnPropertyDescriptor(t,r);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,o)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),o(r(4640),t)},4640:function(e,t,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.TextArea=void 0;const o=r(1085),a=r(2015),i=n(r(2770)),l=r(7439),c=r(5347),s=r(3437),u=r(3437);t.TextArea=(0,a.forwardRef)((e,t)=>(0,o.jsx)(f,{flexDirection:"column",alignItems:"flex-start",children:(0,o.jsxs)(d,{children:[!!e.label&&(0,o.jsx)(l.Label,{text:e.label,htmlFor:e.name,helperText:e.helperText}),(0,o.jsx)(p,Object.assign({ref:t},e,{onChange:e.onChange}))]})})),t.TextArea.displayName="TextArea";const d=(0,i.default)(c.Box)`
|
|
1210
|
+
align-items: flex-start;
|
|
1211
|
+
flex-direction: column;
|
|
1212
|
+
justify-content: flex-start;
|
|
1213
|
+
width: 100%;
|
|
1214
|
+
`,f=(0,i.default)(c.Box)`
|
|
1215
|
+
font-size: ${({theme:e})=>e.fontSize.base};
|
|
1216
|
+
user-select: none;
|
|
1217
|
+
`,p=i.default.textarea`
|
|
1218
|
+
background: ${({theme:e})=>e.palette.background4};
|
|
1219
|
+
border: 1px solid ${({theme:e})=>e.palette.inputBorder};
|
|
1220
|
+
border-color: ${({theme:e,status:t})=>(0,u.getStatusColor)(e,t,"inputBorder")};
|
|
1221
|
+
border-radius: 4px;
|
|
1222
|
+
width: 100%;
|
|
1223
|
+
resize: none;
|
|
1224
|
+
overflow-y: auto;
|
|
1225
|
+
${s.Mixins.scrollbar.small};
|
|
1226
|
+
color: ${({theme:e})=>e.palette.inputColor};
|
|
1227
|
+
font-size: ${({theme:e})=>e.fontSize.base};
|
|
1228
|
+
line-height: ${({theme:e})=>e.lineHeight.text};
|
|
1229
|
+
font-weight: ${({theme:e})=>e.fontWeight.normal};
|
|
1230
|
+
padding: ${({theme:e})=>e.px.small} ${({theme:e})=>e.px.small} 0px ${({theme:e})=>e.px.small};
|
|
1231
|
+
|
|
1232
|
+
&:focus {
|
|
1233
|
+
outline: 0;
|
|
1234
|
+
border-color: ${({theme:e,status:t})=>(0,u.getStatusColor)(e,t,"inputFocused")};
|
|
1235
|
+
}
|
|
1236
|
+
|
|
1237
|
+
&:disabled::placeholder {
|
|
1238
|
+
color: ${({theme:e})=>e.palette.inputDisabled};
|
|
1239
|
+
}
|
|
1240
|
+
`},7371:function(e,t,r){var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var o=Object.getOwnPropertyDescriptor(t,r);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,o)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),o(r(7430),t)},7430:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.TextInput=void 0;const n=r(1085),o=r(2015),a=r(3417);t.TextInput=(0,o.forwardRef)((e,t)=>(0,n.jsx)(a.BaseInput,Object.assign({ref:t,type:"text"},e))),t.TextInput.displayName="TextInput"},1318:function(e,t,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Box=void 0;const o=n(r(2770)),a=r(8551),i=r(4502),l={1:i.Palette.background1,2:i.Palette.background2,3:i.Palette.background3,4:i.Palette.background4,5:i.Palette.background5,6:i.Palette.background6};t.Box=o.default.div`
|
|
1241
|
+
/**
|
|
1242
|
+
* Style Scrollbar for Boxes with overflow
|
|
1243
|
+
*/
|
|
1244
|
+
${a.Mixins.scrollbar.base}
|
|
1245
|
+
|
|
1246
|
+
display: ${({display:e="flex"})=>e};
|
|
1247
|
+
flex-direction: ${({flexDirection:e="row"})=>e};
|
|
1248
|
+
flex-wrap: ${({flexWrap:e="nowrap"})=>e};
|
|
1249
|
+
align-items: ${({alignItems:e})=>e};
|
|
1250
|
+
justify-content: ${({justifyContent:e})=>e};
|
|
1251
|
+
gap: ${({theme:e,gap:t})=>t&&e.px[t]};
|
|
1252
|
+
align-self: ${({alignSelf:e})=>e};
|
|
1253
|
+
flex-basis: ${({flexBasis:e})=>e};
|
|
1254
|
+
flex-grow: ${({flexGrow:e})=>e};
|
|
1255
|
+
flex-shrink: ${({flexShrink:e})=>e};
|
|
1256
|
+
order: ${({order:e})=>e};
|
|
1257
|
+
padding: ${({theme:e,padding:t})=>t&&e.px[t]};
|
|
1258
|
+
background: ${({theme:e,background:t})=>t&&e.palette[l[t]]};
|
|
1259
|
+
`,t.Box.displayName="Box"},5347:function(e,t,r){var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var o=Object.getOwnPropertyDescriptor(t,r);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,o)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),o(r(1318),t)},286:function(e,t,r){var n=this&&this.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.DefinitionList=void 0;const a=r(1085),i=o(r(2770));t.DefinitionList=e=>{var{definitions:t}=e,r=n(e,["definitions"]);return(0,a.jsx)(c,Object.assign({},r,{role:"list",children:(Array.isArray(t)?t:Array.from(t)).map(([e,t],r)=>(0,a.jsxs)(l,{role:"listitem",children:[(0,a.jsx)(s,{id:`term${r}`,children:e}),(0,a.jsx)(u,{"aria-labelledby":`term${r}`,children:t})]},`${e}-${r}`))}))};const l=i.default.div`
|
|
1260
|
+
display: grid;
|
|
1261
|
+
grid-template-columns: 1fr 3fr;
|
|
1262
|
+
`,c=i.default.dl`
|
|
1263
|
+
gap: ${({theme:e})=>`0 ${e.px.large}`};
|
|
1264
|
+
overflow-y: auto;
|
|
1265
|
+
padding: ${({theme:e})=>`${e.px.small} ${e.px.base}`};
|
|
1266
|
+
word-break: break-word;
|
|
1267
|
+
`,s=i.default.dt`
|
|
1268
|
+
color: var(--color-coreui-home-text-soft);
|
|
1269
|
+
font-size: ${({theme:e})=>e.fontSize.small};
|
|
1270
|
+
font-weight: ${({theme:e})=>e.fontWeight.normal};
|
|
1271
|
+
line-height: ${({theme:e})=>e.px.base};
|
|
1272
|
+
padding-bottom: ${({theme:e})=>e.px.small};
|
|
1273
|
+
white-space: nowrap;
|
|
1274
|
+
`,u=i.default.dd`
|
|
1275
|
+
color: var(--color-coreui-home-text-base);
|
|
1276
|
+
font-size: ${({theme:e})=>e.fontSize.small};
|
|
1277
|
+
line-height: ${({theme:e})=>e.px.base};
|
|
1278
|
+
padding-bottom: ${({theme:e})=>e.px.small};
|
|
1279
|
+
`},8981:function(e,t,r){var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var o=Object.getOwnPropertyDescriptor(t,r);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,o)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),o(r(286),t)},6931:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.GlobalFonts=t.GlobalStyles=void 0;const n=r(2770),o=r(5254),a=r(8224);t.GlobalStyles=n.createGlobalStyle`
|
|
1280
|
+
/** -> Define Global CSS Vars */
|
|
1281
|
+
:root {
|
|
1282
|
+
--openfin-ui-globalTransition: ${({theme:e})=>e.transition.base};
|
|
1283
|
+
|
|
1284
|
+
font-family: ${({theme:e})=>e.fontFamily};
|
|
1285
|
+
/* Map over the palette keys and create variables out of them */
|
|
1286
|
+
${a.getRootCssVars}
|
|
1287
|
+
}
|
|
1288
|
+
|
|
1289
|
+
/** -> @font-face Declaration */
|
|
1290
|
+
|
|
1291
|
+
/** -> Micro Reset */
|
|
1292
|
+
* {
|
|
1293
|
+
box-sizing: border-box;
|
|
1294
|
+
margin: 0;
|
|
1295
|
+
padding: 0;
|
|
1296
|
+
/**
|
|
1297
|
+
* Prevent browser auto-weighting
|
|
1298
|
+
* @link https://css-tricks.com/almanac/properties/f/font-synthesis/
|
|
1299
|
+
*/
|
|
1300
|
+
font-synthesis: none;
|
|
1301
|
+
}
|
|
1302
|
+
|
|
1303
|
+
/** -> Apply Global Styles */
|
|
1304
|
+
|
|
1305
|
+
body,
|
|
1306
|
+
:root {
|
|
1307
|
+
font-family: ${({theme:e})=>e.fontFamily};
|
|
1308
|
+
font-weight: ${({theme:e})=>e.fontWeight.normal};
|
|
1309
|
+
font-size: ${({theme:e})=>e.fontSize.base};
|
|
1310
|
+
line-height: ${({theme:e})=>e.lineHeight.text};
|
|
1311
|
+
}
|
|
1312
|
+
|
|
1313
|
+
::placeholder {
|
|
1314
|
+
color: ${({theme:e})=>e.palette.inputPlaceholder};
|
|
1315
|
+
}
|
|
1316
|
+
|
|
1317
|
+
/** -> Reduced Motion (Accessibility) */
|
|
1318
|
+
@media (prefers-reduced-motion) {
|
|
1319
|
+
:root {
|
|
1320
|
+
--openfin-ui-globalTransition: ${({theme:e})=>e.transition.none};
|
|
1321
|
+
}
|
|
1322
|
+
}
|
|
1323
|
+
`,t.GlobalFonts=n.createGlobalStyle`${({fonts:e})=>(0,o.createFontFaceCss)(e)}`},4730:function(e,t,r){var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var o=Object.getOwnPropertyDescriptor(t,r);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,o)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),o(r(6931),t)},6573:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0})},3437:function(e,t,r){var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var o=Object.getOwnPropertyDescriptor(t,r);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,o)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),o(r(3453),t),o(r(9375),t)},9037:function(e,t,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.getMostReadable=t.darkenColor=t.lightenColor=void 0;const o=n(r(5888)),a=(e,t,r)=>{if(r&&(r<0||r>100))throw new Error(`${r} must be a number between 0 and 100`);return(0,o.default)(e)[t](r).toString()};t.lightenColor=(e,t)=>a(e,"lighten",t),t.darkenColor=(e,t)=>a(e,"darken",t),t.getMostReadable=(e,t)=>o.default.mostReadable(e,t).toHexString()},5820:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.IconSize=t.Transition=t.LineHeight=t.FontWeight=t.FontSize=t.FontFamily=t.Shadow=t.Radius=t.UnitPx=t.Unit=t.SizeName=t.Size=t.Color=void 0,t.Color={white:"#FFFFFF",lightGray1:"#FAFBFE",lightGray2:"#F3F5F8",lightGray3:"#ECEEF1",lightGray4:"#DDDFE4",lightGray5:"#C9CBD2",neutralGray:"#7D808A",neutralGray80:"rgba(125,128,138,0.8)",silverGray:"#C0C1C2",darkGray1:"#53565F",darkGray2:"#383A40",darkGray3:"#2F3136",darkGray4:"#24262B",darkGray5:"#1E1F23",darkGray6:"#111214",openFinDarkest:"#3D39CD",openFinDarker:"#4642E0",openFin:"#504CFF",openFinLight:"#5254FB",openFinLighter:"#5C5EFE",openFinLightest:"#6864FF",functional1:"#207735",functional2:"#46C8F1",functional3:"#0A76D3",functional4:"#6CADE5",functional5:"#0A76D3",functional6:"#882BFE",functional7:"#F31818",functional8:"#C93400",functional9:"#FF5E60",functional10:"#F48F00",purple:"#8C61FF",lightblue:"#36C3FE",aqua:"#00CC88",yellow:"#FFEB00",salmon:"#FF8C4C",pink:"#FF5E60",lightpink:"#FF8FB8",white00:"rgba(255,255,255,0.0)",white10:"rgba(255,255,255,0.1)",white20:"rgba(255,255,255,0.2)",white30:"rgba(255,255,255,0.3)",white40:"rgba(255,255,255,0.4)",white50:"rgba(255,255,255,0.5)",white60:"rgba(255,255,255,0.6)",white70:"rgba(255,255,255,0.7)",white80:"rgba(255,255,255,0.8)",white90:"rgba(255,255,255,0.9)",black00:"rgba(0,0,0,0.0)",black10:"rgba(0,0,0,0.1)",black20:"rgba(0,0,0,0.2)",black30:"rgba(0,0,0,0.3)",black40:"rgba(0,0,0,0.4)",black50:"rgba(0,0,0,0.5)",black60:"rgba(0,0,0,0.6)",black70:"rgba(0,0,0,0.7)",black80:"rgba(0,0,0,0.8)",black90:"rgba(0,0,0,0.9)",transparent:"transparent",openFinActive:"#4642FF",openFinHover:"#6965FF",lightGray4Active:"#D7DADF",lightGray4Hover:"#EBECEF",darkGray2Active:"#33353B",darkGray2Hover:"#44464E"},t.Size={xsmall:"xsmall",small:"small",base:"base",large:"large",xlarge:"xlarge",xxlarge:"xxlarge",xxxlarge:"xxxlarge",xxxxlarge:"xxxxlarge"},t.SizeName={[t.Size.xsmall]:"Extra Small",[t.Size.small]:"Small",[t.Size.base]:"Base",[t.Size.large]:"Large",[t.Size.xlarge]:"Extra Large",[t.Size.xxlarge]:"2X Large",[t.Size.xxxlarge]:"3X Large",[t.Size.xxxxlarge]:"4X Large"},t.Unit={[t.Size.xsmall]:4,[t.Size.small]:8,[t.Size.base]:12,[t.Size.large]:16,[t.Size.xlarge]:20,[t.Size.xxlarge]:24,[t.Size.xxxlarge]:32,[t.Size.xxxxlarge]:48},t.UnitPx={[t.Size.xsmall]:"4px",[t.Size.small]:"8px",[t.Size.base]:"12px",[t.Size.large]:"16px",[t.Size.xlarge]:"20px",[t.Size.xxlarge]:"24px",[t.Size.xxxlarge]:"32px",[t.Size.xxxxlarge]:"48px"},t.Radius={[t.Size.xsmall]:"2px",[t.Size.small]:"4px",[t.Size.base]:"8px",[t.Size.large]:"24px",pill:"100vh",round:"50%",none:"0"},t.Shadow={[t.Size.base]:"0 4px 4px rgba(0, 0, 0, 0.25)"},t.FontFamily=["Inter","system-ui","BlinkMacSystemFont","Segoe UI","Roboto","Oxygen-Sans","Ubuntu","Cantarell","Helvetica Neue","sans-serif"].join(","),t.FontSize={[t.Size.xsmall]:"8px",[t.Size.small]:"10px",[t.Size.base]:"12px",[t.Size.large]:"14px",[t.Size.xlarge]:"16px",[t.Size.xxlarge]:"18px",[t.Size.xxxlarge]:"20px",[t.Size.xxxxlarge]:"40px"},t.FontWeight={normal:400,bold:600},t.LineHeight={ui:1,heading:1.2,text:1.5},t.Transition={base:"200ms cubic-bezier(0.16, 1, 0.3, 1)",none:"0ms"},t.IconSize={[t.Size.xsmall]:t.UnitPx.small,[t.Size.small]:t.UnitPx.base,[t.Size.base]:"15px",[t.Size.large]:t.UnitPx.xlarge,[t.Size.xlarge]:t.UnitPx.xxlarge,[t.Size.xxlarge]:t.UnitPx.xxxlarge,[t.Size.xxxlarge]:t.UnitPx.xxxxlarge}},5254:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.createFontFaceCss=function(e){return n.css`
|
|
1324
|
+
${e.regular&&n.css`
|
|
1325
|
+
@font-face {
|
|
1326
|
+
font-family: 'Inter';
|
|
1327
|
+
src: url(${e.regular}) format('woff2');
|
|
1328
|
+
font-weight: ${o.FontWeight.normal};
|
|
1329
|
+
font-style: normal;
|
|
1330
|
+
font-display: fallback;
|
|
1331
|
+
}
|
|
1332
|
+
`}
|
|
1333
|
+
${e.italic&&n.css`
|
|
1334
|
+
@font-face {
|
|
1335
|
+
font-family: 'Inter';
|
|
1336
|
+
src: url(${e.italic}) format('woff2');
|
|
1337
|
+
font-weight: ${o.FontWeight.normal};
|
|
1338
|
+
font-style: italic;
|
|
1339
|
+
font-display: fallback;
|
|
1340
|
+
}
|
|
1341
|
+
`}
|
|
1342
|
+
${e.semiBold&&n.css`
|
|
1343
|
+
@font-face {
|
|
1344
|
+
font-family: 'Inter';
|
|
1345
|
+
src: url(${e.semiBold}) format('woff2');
|
|
1346
|
+
font-weight: ${o.FontWeight.bold};
|
|
1347
|
+
font-style: normal;
|
|
1348
|
+
font-display: fallback;
|
|
1349
|
+
}
|
|
1350
|
+
`}
|
|
1351
|
+
${e.semiBoldItalic&&n.css`
|
|
1352
|
+
@font-face {
|
|
1353
|
+
font-family: 'Inter';
|
|
1354
|
+
src: url(${e.semiBoldItalic}) format('woff2');
|
|
1355
|
+
font-weight: ${o.FontWeight.bold};
|
|
1356
|
+
font-style: italic;
|
|
1357
|
+
font-display: fallback;
|
|
1358
|
+
}
|
|
1359
|
+
`}
|
|
1360
|
+
`};const n=r(2770),o=r(5820)},1848:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.createTheme=void 0;const n=r(5820),o=r(9037),a=r(4502),i={fontFamily:n.FontFamily,fontSize:n.FontSize,fontWeight:n.FontWeight,lineHeight:n.LineHeight,iconSize:n.IconSize,radius:n.Radius,shadow:n.Shadow,transition:n.Transition,unit:n.Unit,px:n.UnitPx},l=(e,t)=>({[`${e}Active`]:(0,o.darkenColor)(t,2),[`${e}Hover`]:(0,o.lightenColor)(t,5),[`${e}Focused`]:(0,o.getMostReadable)(t,[n.Color.white,n.Color.darkGray5]),[`${e}Text`]:(0,o.getMostReadable)(t,[n.Color.white,n.Color.darkGray5])});t.createTheme=e=>Object.assign(Object.assign({},i),{palette:Object.assign(Object.assign(Object.assign({},l(a.Palette.brandPrimary,e.brandPrimary)),l(a.Palette.brandSecondary,e.brandSecondary)),e)})},8224:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.SUPPORTED_LANGUAGES=t.getStatusColor=t.getRootCssVars=t.getVariantCSS=void 0;const n=r(4502);t.getVariantCSS=(e,t)=>r=>e[t][r[t]],t.getRootCssVars=({theme:e})=>Object.keys(n.Palette).map(t=>`--openfin-ui-${t}: ${e.palette[t]};`).join("\n"),t.getStatusColor=(e,t,r)=>{switch(t){case"active":return e.palette.statusActive;case"critical":return e.palette.statusCritical;case"warning":return e.palette.statusWarning;case"success":return e.palette.statusSuccess;default:return r?e.palette[r]:"inherit"}},t.SUPPORTED_LANGUAGES=["en-US","ja-JP","zh-CN","ko-KR","ru-RU","de-DE","zh-Hant"]},7886:function(e,t,r){var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var o=Object.getOwnPropertyDescriptor(t,r);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,o)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),a=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&n(t,e,r);return o(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.IconSet=void 0;const i=a(r(824)),l=a(r(1184));t.IconSet=Object.assign(Object.assign({},i),l)},3453:function(e,t,r){var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var o=Object.getOwnPropertyDescriptor(t,r);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,o)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),o(r(9037),t),o(r(5820),t),o(r(7886),t),o(r(5254),t),o(r(1848),t),o(r(8224),t),o(r(5002),t),o(r(8551),t),o(r(4502),t),o(r(920),t)},5002:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0})},8551:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.Mixins=void 0;const n=r(2770),o=r(5820),a=n.css`
|
|
1361
|
+
user-select: none;
|
|
1362
|
+
`,i=n.css`
|
|
1363
|
+
white-space: nowrap;
|
|
1364
|
+
overflow: hidden;
|
|
1365
|
+
text-overflow: ellipsis;
|
|
1366
|
+
display: block;
|
|
1367
|
+
`,l=n.css`
|
|
1368
|
+
&::-webkit-scrollbar {
|
|
1369
|
+
width: var(--scrollbarSize, ${o.UnitPx.xsmall});
|
|
1370
|
+
height: var(--scrollbarSize, ${o.UnitPx.xsmall});
|
|
1371
|
+
}
|
|
1372
|
+
|
|
1373
|
+
&::-webkit-scrollbar-track {
|
|
1374
|
+
background-color: var(--color-shared-scroll-bar-area);
|
|
1375
|
+
border-radius: var(--scrollbarSize, ${o.UnitPx.xsmall});
|
|
1376
|
+
}
|
|
1377
|
+
|
|
1378
|
+
&::-webkit-scrollbar-thumb {
|
|
1379
|
+
background-color: var(--color-shared-scroll-bar-bar);
|
|
1380
|
+
width: var(--scrollbarSize, ${o.UnitPx.xsmall});
|
|
1381
|
+
height: var(--scrollbarSize, ${o.UnitPx.xsmall});
|
|
1382
|
+
border-radius: var(--scrollbarSize, ${o.UnitPx.xsmall});
|
|
1383
|
+
}
|
|
1384
|
+
`,c=n.css`
|
|
1385
|
+
--scrollbarSize: 2px;
|
|
1386
|
+
${l};
|
|
1387
|
+
`,s=n.css`
|
|
1388
|
+
-webkit-app-region: drag;
|
|
1389
|
+
`,u=n.css`
|
|
1390
|
+
-webkit-app-region: no-drag;
|
|
1391
|
+
`;t.Mixins={noSelect:a,textOverflow:i,scrollbar:{[o.Size.base]:l,[o.Size.small]:c},appRegion:{drag:s,noDrag:u}}},4502:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.Palette=void 0,t.Palette={background1:"background1",background2:"background2",background3:"background3",background4:"background4",background5:"background5",background6:"background6",brandPrimary:"brandPrimary",brandSecondary:"brandSecondary",brandPrimaryActive:"brandPrimaryActive",brandPrimaryHover:"brandPrimaryHover",brandPrimaryFocused:"brandPrimaryFocused",brandPrimaryText:"brandPrimaryText",brandSecondaryActive:"brandSecondaryActive",brandSecondaryHover:"brandSecondaryHover",brandSecondaryFocused:"brandSecondaryFocused",brandSecondaryText:"brandSecondaryText",inputBackground:"inputBackground",inputColor:"inputColor",inputPlaceholder:"inputPlaceholder",inputDisabled:"inputDisabled",inputFocused:"inputFocused",inputBorder:"inputBorder",statusSuccess:"statusSuccess",statusWarning:"statusWarning",statusCritical:"statusCritical",statusActive:"statusActive",textDefault:"textDefault",textHelp:"textHelp",textInactive:"textInactive",borderNeutral:"borderNeutral",contentBackground1:"contentBackground1",contentBackground2:"contentBackground2",contentBackground3:"contentBackground3",contentBackground4:"contentBackground4",contentBackground5:"contentBackground5",linkDefault:"linkDefault",linkHover:"linkHover"}},920:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0})},3979:function(e,t,r){var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var o=Object.getOwnPropertyDescriptor(t,r);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,o)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),o(r(5998),t)},5998:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.OpenFinDarkTheme=t.OpenFinLightTheme=void 0;const n=r(5820),o=r(1848),a=r(4502),i={[a.Palette.brandPrimary]:n.Color.openFin,[a.Palette.brandPrimaryActive]:n.Color.openFinActive,[a.Palette.brandPrimaryHover]:n.Color.openFinHover,[a.Palette.brandPrimaryFocused]:n.Color.white,[a.Palette.brandPrimaryText]:n.Color.white,[a.Palette.statusSuccess]:n.Color.functional1,[a.Palette.statusWarning]:n.Color.functional10,[a.Palette.statusCritical]:n.Color.functional7,[a.Palette.statusActive]:n.Color.functional3,[a.Palette.borderNeutral]:n.Color.silverGray,[a.Palette.contentBackground1]:n.Color.openFin,[a.Palette.contentBackground2]:"#000000",[a.Palette.contentBackground3]:"#000000",[a.Palette.contentBackground4]:"#000000",[a.Palette.contentBackground5]:"#000000",[a.Palette.linkDefault]:n.Color.functional4,[a.Palette.linkHover]:n.Color.functional5};t.OpenFinLightTheme=(0,o.createTheme)(Object.assign(Object.assign({},i),{[a.Palette.background1]:n.Color.white,[a.Palette.background2]:n.Color.lightGray1,[a.Palette.background3]:n.Color.lightGray2,[a.Palette.background4]:n.Color.lightGray3,[a.Palette.background5]:n.Color.lightGray3,[a.Palette.background6]:n.Color.lightGray5,[a.Palette.brandSecondary]:n.Color.lightGray4,[a.Palette.brandSecondaryActive]:n.Color.lightGray4Active,[a.Palette.brandSecondaryHover]:n.Color.lightGray4Hover,[a.Palette.brandSecondaryFocused]:n.Color.darkGray5,[a.Palette.brandSecondaryText]:n.Color.darkGray5,[a.Palette.inputBackground]:n.Color.lightGray3,[a.Palette.inputColor]:n.Color.darkGray5,[a.Palette.inputPlaceholder]:n.Color.darkGray2,[a.Palette.inputDisabled]:n.Color.neutralGray,[a.Palette.inputFocused]:n.Color.lightGray5,[a.Palette.inputBorder]:n.Color.neutralGray,[a.Palette.textDefault]:n.Color.darkGray5,[a.Palette.textHelp]:n.Color.neutralGray,[a.Palette.textInactive]:n.Color.neutralGray})),t.OpenFinDarkTheme=(0,o.createTheme)(Object.assign(Object.assign({},i),{[a.Palette.background1]:n.Color.darkGray6,[a.Palette.background2]:n.Color.darkGray5,[a.Palette.background3]:n.Color.darkGray4,[a.Palette.background4]:n.Color.darkGray3,[a.Palette.background5]:n.Color.darkGray2,[a.Palette.background6]:n.Color.darkGray1,[a.Palette.brandSecondary]:n.Color.darkGray2,[a.Palette.brandSecondaryActive]:n.Color.darkGray2Active,[a.Palette.brandSecondaryHover]:n.Color.darkGray2Hover,[a.Palette.brandSecondaryFocused]:n.Color.white,[a.Palette.brandSecondaryText]:n.Color.white,[a.Palette.inputBackground]:n.Color.darkGray1,[a.Palette.inputColor]:n.Color.white,[a.Palette.inputPlaceholder]:n.Color.lightGray5,[a.Palette.inputDisabled]:n.Color.neutralGray,[a.Palette.inputFocused]:n.Color.lightGray5,[a.Palette.inputBorder]:n.Color.neutralGray,[a.Palette.textDefault]:n.Color.white,[a.Palette.textHelp]:n.Color.lightGray5,[a.Palette.textInactive]:n.Color.neutralGray}))},9375:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ThemeProvider=void 0;const n=r(1085),o=r(2015),a=r(2770),i=r(6999),l=r(2069),c=r(1900),s=r(4730);t.ThemeProvider=({children:e,themes:t,scheme:r=l.ColorScheme.system,fonts:u=i.Fonts})=>{const d=(0,c.useTheme)({themes:t,scheme:r}),f=(0,o.useMemo)(()=>(0,n.jsx)(s.GlobalFonts,{fonts:u}),[u]);return(0,n.jsxs)(n.Fragment,{children:[f,(0,n.jsx)(a.ThemeProvider,{theme:d,children:(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(s.GlobalStyles,{}),e]})})]})}},5570:function(e,t,r){var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var o=Object.getOwnPropertyDescriptor(t,r);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,o)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),o(r(4730),t),o(r(6573),t),o(r(3437),t)},3780:function(e,t,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.ContactStatusIcon=void 0;const o=r(1085),a=n(r(2770)),i=r(6210),l={available:(0,o.jsx)(i.CheckSVG,{}),away:(0,o.jsx)(i.BusySVG,{}),"do-not-disturb":(0,o.jsx)(i.DoNotDisturbSVG,{}),offline:(0,o.jsx)(i.OfflineSVG,{}),busy:null};t.ContactStatusIcon=({onlineStatus:e})=>e?(0,o.jsx)(c,{onlineStatus:e,children:l[e]||null}):null;const c=a.default.div`
|
|
1392
|
+
border: 1.6px solid ${({theme:e})=>e.palette.background1};
|
|
1393
|
+
|
|
1394
|
+
background: ${({onlineStatus:e})=>"busy"===e?"#C21313":"white"};
|
|
1395
|
+
border-radius: 50%;
|
|
1396
|
+
|
|
1397
|
+
height: ${({theme:e})=>e.px.large};
|
|
1398
|
+
width: ${({theme:e})=>e.px.large};
|
|
1399
|
+
|
|
1400
|
+
display: flex;
|
|
1401
|
+
align-items: center;
|
|
1402
|
+
justify-content: center;
|
|
1403
|
+
|
|
1404
|
+
position: absolute;
|
|
1405
|
+
left: 78.95%;
|
|
1406
|
+
right: -7.02%;
|
|
1407
|
+
top: 77.12%;
|
|
1408
|
+
bottom: -4.24%;
|
|
1409
|
+
`},6210:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.OfflineSVG=t.DoNotDisturbSVG=t.BusySVG=t.CheckSVG=void 0;const n=r(1085);t.CheckSVG=()=>(0,n.jsx)("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,n.jsx)("path",{d:"M8 0C8.73438 0 9.4401 0.0963542 10.1172 0.289063C10.7943 0.481771 11.4297 0.752604 12.0234 1.10156C12.6172 1.45052 13.1563 1.86979 13.6406 2.35938C14.1302 2.84375 14.5495 3.38281 14.8984 3.97656C15.2474 4.57031 15.5182 5.20573 15.7109 5.88281C15.9036 6.5599 16 7.26563 16 8C16 8.72917 15.9036 9.4349 15.7109 10.1172C15.5182 10.7943 15.2474 11.4297 14.8984 12.0234C14.5495 12.6172 14.1302 13.1589 13.6406 13.6484C13.1563 14.1328 12.6172 14.5495 12.0234 14.8984C11.4297 15.2474 10.7917 15.5182 10.1094 15.7109C9.43229 15.9036 8.72917 16 8 16C7.27083 16 6.5651 15.9036 5.88281 15.7109C5.20573 15.5182 4.57031 15.2474 3.97656 14.8984C3.38281 14.5495 2.84115 14.1328 2.35156 13.6484C1.86719 13.1589 1.45052 12.6172 1.10156 12.0234C0.752604 11.4297 0.481771 10.7943 0.289063 10.1172C0.0963542 9.4349 0 8.72917 0 8C0 7.27083 0.0963542 6.56771 0.289063 5.89063C0.481771 5.20833 0.752604 4.57031 1.10156 3.97656C1.45052 3.38281 1.86719 2.84375 2.35156 2.35938C2.84115 1.86979 3.38281 1.45052 3.97656 1.10156C4.57031 0.752604 5.20573 0.481771 5.88281 0.289063C6.5651 0.0963542 7.27083 0 8 0ZM10.6328 5.6875C10.4245 5.6875 10.2474 5.76042 10.1016 5.90625L7.27344 8.75L6.26563 7.75C6.11979 7.60417 5.94531 7.53125 5.74219 7.53125C5.64323 7.53125 5.54948 7.55208 5.46094 7.59375C5.3724 7.63542 5.29167 7.69271 5.21875 7.76563C5.15104 7.83333 5.09635 7.91146 5.05469 8C5.01302 8.08854 4.99219 8.18229 4.99219 8.28125C4.99219 8.48958 5.0651 8.66667 5.21094 8.8125L6.74219 10.3438C6.88802 10.4896 7.0651 10.5625 7.27344 10.5625C7.48177 10.5625 7.65885 10.4896 7.80469 10.3438L11.1641 6.96875C11.3099 6.82292 11.3828 6.64583 11.3828 6.4375C11.3828 6.33854 11.362 6.24479 11.3203 6.15625C11.2786 6.06771 11.2214 5.98958 11.1484 5.92188C11.0807 5.84896 11.0026 5.79167 10.9141 5.75C10.8255 5.70833 10.7318 5.6875 10.6328 5.6875Z",fill:"#207735"})}),t.BusySVG=()=>(0,n.jsx)("svg",{width:"16",height:"17",viewBox:"0 0 16 17",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,n.jsx)("path",{d:"M8 0.790237C8.73438 0.790237 9.4401 0.886592 10.1172 1.0793C10.7943 1.27201 11.4297 1.54284 12.0234 1.8918C12.6172 2.24076 13.1563 2.66003 13.6406 3.14961C14.1302 3.63399 14.5495 4.17305 14.8984 4.7668C15.2474 5.36055 15.5182 5.99597 15.7109 6.67305C15.9036 7.35013 16 8.05586 16 8.79024C16 9.5194 15.9036 10.2251 15.7109 10.9074C15.5182 11.5845 15.2474 12.2199 14.8984 12.8137C14.5495 13.4074 14.1302 13.9491 13.6406 14.4387C13.1563 14.9231 12.6172 15.3397 12.0234 15.6887C11.4297 16.0376 10.7917 16.3085 10.1094 16.5012C9.43229 16.6939 8.72917 16.7902 8 16.7902C7.27083 16.7902 6.5651 16.6939 5.88281 16.5012C5.20573 16.3085 4.57031 16.0376 3.97656 15.6887C3.38281 15.3397 2.84115 14.9231 2.35156 14.4387C1.86719 13.9491 1.45052 13.4074 1.10156 12.8137C0.752604 12.2199 0.481771 11.5845 0.289063 10.9074C0.0963542 10.2251 0 9.5194 0 8.79024C0 8.06107 0.0963542 7.35795 0.289063 6.68086C0.481771 5.99857 0.752604 5.36055 1.10156 4.7668C1.45052 4.17305 1.86719 3.63399 2.35156 3.14961C2.84115 2.66003 3.38281 2.24076 3.97656 1.8918C4.57031 1.54284 5.20573 1.27201 5.88281 1.0793C6.5651 0.886592 7.27083 0.790237 8 0.790237ZM7.32031 4.04805C7.21094 4.04805 7.10677 4.07149 7.00781 4.11836C6.91406 4.16003 6.82813 4.21992 6.75 4.29805C6.67708 4.37097 6.61719 4.4569 6.57031 4.55586C6.52865 4.64961 6.50781 4.75117 6.50781 4.86055V9.19649C6.50781 9.30586 6.52865 9.41263 6.57031 9.5168C6.61198 9.62097 6.67188 9.71211 6.75 9.79024L9.1875 12.2121C9.34896 12.3736 9.54167 12.4543 9.76563 12.4543C9.875 12.4543 9.97917 12.4335 10.0781 12.3918C10.1771 12.3449 10.263 12.285 10.3359 12.2121C10.4089 12.134 10.4661 12.0454 10.5078 11.9465C10.5547 11.8475 10.5781 11.7434 10.5781 11.634C10.5781 11.5298 10.5547 11.4283 10.5078 11.3293C10.4661 11.2251 10.4089 11.1366 10.3359 11.0637L8.13281 8.87618V4.86055C8.13281 4.75117 8.10938 4.64701 8.0625 4.54805C8.02083 4.44909 7.96354 4.36315 7.89063 4.29024C7.81771 4.21732 7.73177 4.16003 7.63281 4.11836C7.53385 4.07149 7.42969 4.04805 7.32031 4.04805Z",fill:"#FE9F4D"})}),t.DoNotDisturbSVG=()=>(0,n.jsx)("svg",{width:"16",height:"17",viewBox:"0 0 16 17",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,n.jsx)("path",{d:"M8 0.590256C8.73438 0.590256 9.4401 0.68661 10.1172 0.879318C10.7943 1.07203 11.4297 1.34286 12.0234 1.69182C12.6172 2.04078 13.1562 2.46005 13.6406 2.94963C14.1302 3.43401 14.5495 3.97307 14.8984 4.56682C15.2474 5.16057 15.5182 5.79598 15.7109 6.47307C15.9036 7.15015 16 7.85588 16 8.59026C16 9.31942 15.9036 10.0252 15.7109 10.7074C15.5182 11.3845 15.2474 12.0199 14.8984 12.6137C14.5495 13.2074 14.1302 13.7491 13.6406 14.2387C13.1562 14.7231 12.6172 15.1397 12.0234 15.4887C11.4297 15.8377 10.7917 16.1085 10.1094 16.3012C9.43229 16.4939 8.72917 16.5903 8 16.5903C7.27083 16.5903 6.5651 16.4939 5.88281 16.3012C5.20573 16.1085 4.57031 15.8377 3.97656 15.4887C3.38281 15.1397 2.84115 14.7231 2.35156 14.2387C1.86719 13.7491 1.45052 13.2074 1.10156 12.6137C0.752604 12.0199 0.481771 11.3845 0.289062 10.7074C0.0963542 10.0252 0 9.31942 0 8.59026C0 7.86109 0.0963542 7.15796 0.289062 6.48088C0.481771 5.79859 0.752604 5.16057 1.10156 4.56682C1.45052 3.97307 1.86719 3.43401 2.35156 2.94963C2.84115 2.46005 3.38281 2.04078 3.97656 1.69182C4.57031 1.34286 5.20573 1.07203 5.88281 0.879318C6.5651 0.68661 7.27083 0.590256 8 0.590256ZM5.47656 7.74651C5.36719 7.74651 5.26042 7.76994 5.15625 7.81682C5.05729 7.86369 4.96875 7.92619 4.89062 8.00432C4.8125 8.08244 4.75 8.17359 4.70312 8.27776C4.65625 8.37671 4.63281 8.48088 4.63281 8.59026C4.63281 8.69963 4.65625 8.8064 4.70312 8.91057C4.75 9.00953 4.8125 9.09807 4.89062 9.17619C4.96875 9.25432 5.05729 9.31682 5.15625 9.36369C5.26042 9.41057 5.36719 9.43401 5.47656 9.43401H10.5234C10.6328 9.43401 10.737 9.41057 10.8359 9.36369C10.9401 9.31682 11.0312 9.25432 11.1094 9.17619C11.1875 9.09807 11.25 9.00953 11.2969 8.91057C11.3438 8.8064 11.3672 8.69963 11.3672 8.59026C11.3672 8.48088 11.3438 8.37671 11.2969 8.27776C11.25 8.17359 11.1875 8.08244 11.1094 8.00432C11.0312 7.92619 10.9401 7.86369 10.8359 7.81682C10.737 7.76994 10.6328 7.74651 10.5234 7.74651H5.47656Z",fill:"#C21313"})}),t.OfflineSVG=()=>(0,n.jsx)("svg",{width:"16",height:"17",viewBox:"0 0 16 17",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,n.jsx)("path",{d:"M8 0.990252C8.73438 0.990252 9.4401 1.08661 10.1172 1.27931C10.7943 1.47202 11.4297 1.74286 12.0234 2.09181C12.6172 2.44077 13.1562 2.86004 13.6406 3.34963C14.1302 3.834 14.5495 4.37306 14.8984 4.96681C15.2474 5.56056 15.5182 6.19598 15.7109 6.87306C15.9036 7.55015 16 8.25588 16 8.99025C16 9.71942 15.9036 10.4251 15.7109 11.1074C15.5182 11.7845 15.2474 12.4199 14.8984 13.0137C14.5495 13.6074 14.1302 14.1491 13.6406 14.6387C13.1562 15.1231 12.6172 15.5397 12.0234 15.8887C11.4297 16.2376 10.7917 16.5085 10.1094 16.7012C9.43229 16.8939 8.72917 16.9903 8 16.9903C7.27083 16.9903 6.5651 16.8939 5.88281 16.7012C5.20573 16.5085 4.57031 16.2376 3.97656 15.8887C3.38281 15.5397 2.84115 15.1231 2.35156 14.6387C1.86719 14.1491 1.45052 13.6074 1.10156 13.0137C0.752604 12.4199 0.481771 11.7845 0.289062 11.1074C0.0963542 10.4251 0 9.71942 0 8.99025C0 8.26109 0.0963542 7.55796 0.289062 6.88088C0.481771 6.19859 0.752604 5.56056 1.10156 4.96681C1.45052 4.37306 1.86719 3.834 2.35156 3.34963C2.84115 2.86004 3.38281 2.44077 3.97656 2.09181C4.57031 1.74286 5.20573 1.47202 5.88281 1.27931C6.5651 1.08661 7.27083 0.990252 8 0.990252ZM8 2.67775C7.42188 2.67775 6.86458 2.75327 6.32812 2.90431C5.79167 3.05536 5.28906 3.2689 4.82031 3.54494C4.35156 3.82098 3.92448 4.15171 3.53906 4.53713C3.15885 4.91734 2.83073 5.34181 2.55469 5.81056C2.27865 6.27931 2.0651 6.78192 1.91406 7.31838C1.76302 7.85484 1.6875 8.41213 1.6875 8.99025C1.6875 9.56838 1.76302 10.1257 1.91406 10.6621C2.0651 11.1986 2.27865 11.7012 2.55469 12.1699C2.83073 12.6387 3.15885 13.0658 3.53906 13.4512C3.92448 13.8314 4.35156 14.1595 4.82031 14.4356C5.28906 14.7116 5.79167 14.9251 6.32812 15.0762C6.86458 15.2272 7.42188 15.3028 8 15.3028C8.57812 15.3028 9.13542 15.2272 9.67188 15.0762C10.2083 14.9251 10.7109 14.7116 11.1797 14.4356C11.6484 14.1595 12.0729 13.8314 12.4531 13.4512C12.8385 13.0658 13.1693 12.6387 13.4453 12.1699C13.7214 11.7012 13.9349 11.1986 14.0859 10.6621C14.237 10.1257 14.3125 9.56838 14.3125 8.99025C14.3125 8.41213 14.237 7.85484 14.0859 7.31838C13.9349 6.78192 13.7214 6.27931 13.4453 5.81056C13.1693 5.34181 12.8385 4.91734 12.4531 4.53713C12.0729 4.15171 11.6484 3.82098 11.1797 3.54494C10.7109 3.2689 10.2083 3.05536 9.67188 2.90431C9.13542 2.75327 8.57812 2.67775 8 2.67775Z",fill:"#979797"})})},9939:function(e,t,r){var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var o=Object.getOwnPropertyDescriptor(t,r);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,o)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),a=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&n(t,e,r);return o(t,e),t},i=this&&this.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r},l=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.ContactCard=void 0;const c=r(1085),s=a(r(2015)),u=l(r(2770)),d=r(4962),f=r(8981),p=r(6957),h=r(3780);t.ContactCard=e=>{var{name:t,title:r,photoUrl:n,useInitials:o=!1,details:a,onlineStatus:l}=e,u=i(e,["name","title","photoUrl","useInitials","details","onlineStatus"]);const f=n||o,P=(0,s.useMemo)(()=>(0,p.getInitials)(t),[t]),j=(0,s.useMemo)(()=>(0,d.generateColorFromString)(t),[t]),S=(0,s.createRef)();return(0,s.useEffect)(()=>{var e;null===(e=S.current)||void 0===e||e.scrollTo(0,0)}),(0,c.jsxs)(g,Object.assign({},u,{children:[(0,c.jsxs)(b,{children:[f&&(0,c.jsxs)(v,{iconColor:j,children:[n?(0,c.jsx)(y,{alt:r,src:n}):(0,c.jsx)(m,{children:P}),(0,c.jsx)(h.ContactStatusIcon,{onlineStatus:l})]}),(0,c.jsxs)(w,{children:[(0,c.jsxs)(x,{className:"name",children:[" ",t," "]}),r&&(0,c.jsxs)(_,{className:"title",children:[" ",r," "]})]})]}),(0,c.jsx)(C,{}),(0,c.jsx)(k,{ref:S,children:(null==a?void 0:a.length)>0?a.map((e,r)=>(0,c.jsxs)(s.default.Fragment,{children:[(0,c.jsx)(O,{definitions:e}),r<a.length-1&&(0,c.jsx)(C,{padding:!0})]},`${t}-details-${r}`)):(0,c.jsx)("p",{children:"No information available."})})]}))};const g=u.default.div`
|
|
1410
|
+
display: flex;
|
|
1411
|
+
flex-direction: column;
|
|
1412
|
+
height: 100%;
|
|
1413
|
+
`,b=u.default.div`
|
|
1414
|
+
display: flex;
|
|
1415
|
+
padding-bottom: ${({theme:e})=>e.px.large};
|
|
1416
|
+
`,v=u.default.div`
|
|
1417
|
+
align-items: center;
|
|
1418
|
+
background-color: var(--color-coreui-home-template-icon);
|
|
1419
|
+
border-radius: ${({theme:e})=>e.px.xsmall};
|
|
1420
|
+
display: flex;
|
|
1421
|
+
justify-content: center;
|
|
1422
|
+
|
|
1423
|
+
height: 60px;
|
|
1424
|
+
width: 60px;
|
|
1425
|
+
|
|
1426
|
+
position: relative;
|
|
1427
|
+
`,m=u.default.span`
|
|
1428
|
+
font-size: 24px;
|
|
1429
|
+
text-transform: uppercase;
|
|
1430
|
+
`,y=u.default.img`
|
|
1431
|
+
border-radius: ${({theme:e})=>e.px.xsmall};
|
|
1432
|
+
object-fit: cover;
|
|
1433
|
+
user-select: none;
|
|
1434
|
+
height: 100%;
|
|
1435
|
+
width: 100%;
|
|
1436
|
+
`,w=u.default.div`
|
|
1437
|
+
display: flex;
|
|
1438
|
+
flex-direction: column;
|
|
1439
|
+
justify-content: flex-start;
|
|
1440
|
+
min-width: 0;
|
|
1441
|
+
margin-left: ${({theme:e})=>e.px.base};
|
|
1442
|
+
`,x=u.default.span`
|
|
1443
|
+
font-size: ${({theme:e})=>e.fontSize.large};
|
|
1444
|
+
line-height: ${({theme:e})=>e.px.large};
|
|
1445
|
+
overflow: hidden;
|
|
1446
|
+
padding-bottom: ${({theme:e})=>e.px.xsmall};
|
|
1447
|
+
font-weight: ${({theme:e})=>e.fontWeight.bold};
|
|
1448
|
+
text-overflow: ellipsis;
|
|
1449
|
+
white-space: nowrap;
|
|
1450
|
+
color: var(--color-coreui-home-text-base);
|
|
1451
|
+
`,_=u.default.span`
|
|
1452
|
+
color: var(--color-coreui-home-text-soft);
|
|
1453
|
+
line-height: ${({theme:e})=>e.px.base};
|
|
1454
|
+
overflow: hidden;
|
|
1455
|
+
padding-bottom: 2px;
|
|
1456
|
+
text-overflow: ellipsis;
|
|
1457
|
+
white-space: nowrap;
|
|
1458
|
+
`,k=u.default.div`
|
|
1459
|
+
border-radius: 2px;
|
|
1460
|
+
flex: 1;
|
|
1461
|
+
margin-top: ${({theme:e})=>e.px.large};
|
|
1462
|
+
margin-bottom: ${({theme:e})=>e.px.base};
|
|
1463
|
+
padding-right: ${({theme:e})=>e.px.base};
|
|
1464
|
+
overflow-y: auto;
|
|
1465
|
+
`,C=u.default.div`
|
|
1466
|
+
border-bottom: solid 1px ${({theme:e})=>e.palette.background6};
|
|
1467
|
+
margin-bottom: ${({theme:e,padding:t})=>t&&e.px.base};
|
|
1468
|
+
`,O=(0,u.default)(f.DefinitionList)`
|
|
1469
|
+
dt {
|
|
1470
|
+
text-align: left;
|
|
1471
|
+
text-transform: capitalize;
|
|
1472
|
+
}
|
|
1473
|
+
|
|
1474
|
+
dd {
|
|
1475
|
+
overflow: hidden;
|
|
1476
|
+
text-align: right;
|
|
1477
|
+
text-overflow: ellipsis;
|
|
1478
|
+
white-space: nowrap;
|
|
1479
|
+
}
|
|
1480
|
+
`},2397:function(e,t,r){var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var o=Object.getOwnPropertyDescriptor(t,r);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,o)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),o(r(9939),t)},6957:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.getInitials=void 0,t.getInitials=e=>{const t=e.trim(),r=t.lastIndexOf(" ");return r>-1?[t.charAt(0),t.charAt(r+1)].join(""):t.slice(0,2)}},4811:function(e,t,r){var n=this&&this.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.H6=t.H5=t.H4=t.H3=t.H2=t.H1=t.Heading=t.defaultSize=void 0;const a=r(1085),i=o(r(2770)),l=r(5820),c=r(3968);t.defaultSize={h1:l.Size.xxxlarge,h2:l.Size.xxlarge,h3:l.Size.xlarge,h4:l.Size.large,h5:l.Size.base,h6:l.Size.small},t.Heading=e=>{var{level:r=1,className:o}=e,i=n(e,["level","className"]);const l=`h${r}`;return(0,a.jsx)(s,Object.assign({className:o,as:l,size:t.defaultSize[l],weight:"bold"},i))};const s=(0,i.default)(c.Text)`
|
|
1481
|
+
line-height: ${({theme:e})=>e.lineHeight.heading};
|
|
1482
|
+
`;t.H1=(0,i.default)(t.Heading).attrs(e=>Object.assign(Object.assign({},e),{level:1}))``,t.H2=(0,i.default)(t.Heading).attrs(e=>Object.assign(Object.assign({},e),{level:2}))``,t.H3=(0,i.default)(t.Heading).attrs(e=>Object.assign(Object.assign({},e),{level:3}))``,t.H4=(0,i.default)(t.Heading).attrs(e=>Object.assign(Object.assign({},e),{level:4}))``,t.H5=(0,i.default)(t.Heading).attrs(e=>Object.assign(Object.assign({},e),{level:5}))``,t.H6=(0,i.default)(t.Heading).attrs(e=>Object.assign(Object.assign({},e),{level:6}))``},6299:function(e,t,r){var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var o=Object.getOwnPropertyDescriptor(t,r);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,o)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),o(r(4811),t)},3968:function(e,t,r){var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var o=Object.getOwnPropertyDescriptor(t,r);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,o)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),o(r(7863),t)},7863:function(e,t,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Text=void 0;const o=n(r(2770));t.Text=o.default.span`
|
|
1483
|
+
font-size: ${({theme:e,size:t="base"})=>e.fontSize[t]};
|
|
1484
|
+
font-weight: ${({theme:e,weight:t="normal"})=>e.fontWeight[t]};
|
|
1485
|
+
line-height: ${({theme:e})=>e.lineHeight.text};
|
|
1486
|
+
`,t.Text.displayName="Text"},2069:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.useColorScheme=t.ColorScheme=void 0;const n=r(2015);t.ColorScheme={dark:"dark",light:"light",system:"system"};const o=(e,r)=>r===t.ColorScheme.system?e.matches?t.ColorScheme.dark:t.ColorScheme.light:r;t.useColorScheme=({colorScheme:e,fallbackScheme:r=t.ColorScheme.light})=>{const[a,i]=(0,n.useState)(e&&e!==t.ColorScheme.system?e:r),l=t=>{i(o(t,e||r))};return(0,n.useEffect)(()=>{if("undefined"!=typeof window){const t=window.matchMedia("(prefers-color-scheme: dark)");return i(o(t,e||r)),t.addEventListener("change",l),()=>t.removeEventListener("change",l)}},[e,a]),a}},5991:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.useDropdownKeyboardNavigation=void 0;const n=r(2015);t.useDropdownKeyboardNavigation=(e,t,r,o,a)=>{const[i,l]=(0,n.useState)(0),[c,s]=(0,n.useState)("");let u;if((0,n.useEffect)(()=>{if(t&&!r){const r=e.flat().findIndex(e=>e.value===t.value);r>=0&&l(r)}},[e,t,r]),(0,n.useEffect)(()=>{r||s("")},[r]),(0,n.useEffect)(()=>{if(c){const t=e.flat().findIndex(e=>e.title.toLowerCase().startsWith(c.toLowerCase()));t>=0&&l(t)}},[e,c]),e[0].length>0&&e.flat().length>i){const[t,r]=[Math.floor(i/e[0].length),i%e[0].length];u=e[t][r]}return(0,n.useEffect)(()=>{const e=setTimeout(()=>{s("")},500);return()=>clearTimeout(e)},[c]),{focusedOption:u,handleKeyDown:t=>{switch(t.code){case"ArrowUp":t.preventDefault(),i>0&&l(i-1);break;case"ArrowDown":t.preventDefault(),i<e.flat().length-1&&l(i+1);break;case"Enter":case"Space":t.preventDefault(),r?((null==u?void 0:u.overrideOnClick)?u.overrideOnClick():a(null!=u?u:e[0][0]),o()):o();break;case"Escape":t.preventDefault(),o(!1);break;default:/^[a-z0-9]$/i.test(t.key)&&s(e=>e+t.key)}}}}},7681:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.useLayoutMediaQuery=t.useMediaQuery=void 0;const n=r(2015);t.useMediaQuery=e=>{const[t,r]=(0,n.useState)(!1);return(0,n.useEffect)(()=>{const n=window.matchMedia(e);if(n){n.matches!==t&&r(n.matches);const e=()=>r(n.matches),o=()=>n.removeEventListener("change",e);return n.addEventListener("change",e),o}},[t,e]),t},t.useLayoutMediaQuery=e=>{const[t,r]=(0,n.useState)(!1);return(0,n.useLayoutEffect)(()=>{const n=window.matchMedia(e);if(n){n.matches!==t&&r(n.matches);const e=()=>r(n.matches),o=()=>n.removeEventListener("change",e);return n.addEventListener("change",e),o}},[t,e]),t}},9372:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.usePrevious=void 0;const n=r(2015);t.usePrevious=e=>{const t=(0,n.useRef)();return(0,n.useEffect)(()=>{t.current=e},[e]),t.current}},1900:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.useTheme=void 0;const n=r(2015),o=r(7825),a=r(3979),i=r(2069),l={[i.ColorScheme.dark]:a.OpenFinDarkTheme,[i.ColorScheme.light]:a.OpenFinLightTheme};t.useTheme=({themes:e,scheme:t})=>{const r=(0,i.useColorScheme)({colorScheme:t});return(0,n.useMemo)(()=>{try{return((e,t)=>{const r=null==t?void 0:t[e];let n=Object.assign({},l[e]);return r&&(n=(0,o.merge)(n,r)),n})(r,e)}catch(e){return console.error(e),{}}},[e,r])}},2869:function(e,t,r){var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var o=Object.getOwnPropertyDescriptor(t,r);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,o)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),o(r(2870),t),o(r(1028),t),o(r(8904),t),o(r(6473),t),o(r(7106),t),o(r(9194),t),o(r(3038),t),o(r(2911),t),o(r(2861),t),o(r(2394),t),o(r(5355),t),o(r(6836),t),o(r(3417),t),o(r(4124),t),o(r(7371),t),o(r(4629),t),o(r(3543),t),o(r(6834),t),o(r(1607),t),o(r(812),t),o(r(1490),t),o(r(2908),t),o(r(5347),t),o(r(8981),t),o(r(5570),t),o(r(2397),t),o(r(6299),t),o(r(3968),t),o(r(2069),t),o(r(7681),t),o(r(9372),t),o(r(5991),t),o(r(4692),t),o(r(4962),t),o(r(4924),t),o(r(6999),t)},4962:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.generateColorFromString=function(e="",t=70,r=50){let n=0;for(let t=0;t<e.length;t++)n=e.charCodeAt(t)+((n<<5)-n),n&=n;return`hsl(${n%360}, ${t}%, ${r}%)`}},4692:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.whenFin=function(e,t){const r="undefined"!=typeof fin?e:t;return"function"==typeof r?r():r}},9802:e=>{e.exports="https://cdn.openfin.co/ui-library/fonts/Inter-Italic.woff2"},9294:e=>{e.exports="https://cdn.openfin.co/ui-library/fonts/Inter-Regular.woff2"},3325:e=>{e.exports="https://cdn.openfin.co/ui-library/fonts/Inter-SemiBold.woff2"},2773:e=>{e.exports="https://cdn.openfin.co/ui-library/fonts/Inter-SemiBoldItalic.woff2"},824:e=>{e.exports=r(90)},5322:e=>{e.exports=r(140)},7825:e=>{e.exports=r(551)},2015:e=>{e.exports=r(953)},9500:e=>{e.exports=r(854)},2770:e=>{e.exports=r(480)},5888:function(e){e.exports=function(){function e(t){return(e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(t)}var t=/^\s+/,r=/\s+$/;function n(o,a){if(a=a||{},(o=o||"")instanceof n)return o;if(!(this instanceof n))return new n(o,a);var i=function(n){var o,a,i,l={r:0,g:0,b:0},c=1,s=null,u=null,d=null,f=!1,p=!1;return"string"==typeof n&&(n=function(e){e=e.replace(t,"").replace(r,"").toLowerCase();var n,o=!1;if(w[e])e=w[e],o=!0;else if("transparent"==e)return{r:0,g:0,b:0,a:0,format:"name"};return(n=D.rgb.exec(e))?{r:n[1],g:n[2],b:n[3]}:(n=D.rgba.exec(e))?{r:n[1],g:n[2],b:n[3],a:n[4]}:(n=D.hsl.exec(e))?{h:n[1],s:n[2],l:n[3]}:(n=D.hsla.exec(e))?{h:n[1],s:n[2],l:n[3],a:n[4]}:(n=D.hsv.exec(e))?{h:n[1],s:n[2],v:n[3]}:(n=D.hsva.exec(e))?{h:n[1],s:n[2],v:n[3],a:n[4]}:(n=D.hex8.exec(e))?{r:O(n[1]),g:O(n[2]),b:O(n[3]),a:M(n[4]),format:o?"name":"hex8"}:(n=D.hex6.exec(e))?{r:O(n[1]),g:O(n[2]),b:O(n[3]),format:o?"name":"hex"}:(n=D.hex4.exec(e))?{r:O(n[1]+""+n[1]),g:O(n[2]+""+n[2]),b:O(n[3]+""+n[3]),a:M(n[4]+""+n[4]),format:o?"name":"hex8"}:!!(n=D.hex3.exec(e))&&{r:O(n[1]+""+n[1]),g:O(n[2]+""+n[2]),b:O(n[3]+""+n[3]),format:o?"name":"hex"}}(n)),"object"==e(n)&&(T(n.r)&&T(n.g)&&T(n.b)?(o=n.r,a=n.g,i=n.b,l={r:255*k(o,255),g:255*k(a,255),b:255*k(i,255)},f=!0,p="%"===String(n.r).substr(-1)?"prgb":"rgb"):T(n.h)&&T(n.s)&&T(n.v)?(s=j(n.s),u=j(n.v),l=function(e,t,r){e=6*k(e,360),t=k(t,100),r=k(r,100);var n=Math.floor(e),o=e-n,a=r*(1-t),i=r*(1-o*t),l=r*(1-(1-o)*t),c=n%6;return{r:255*[r,i,a,a,l,r][c],g:255*[l,r,r,i,a,a][c],b:255*[a,a,l,r,r,i][c]}}(n.h,s,u),f=!0,p="hsv"):T(n.h)&&T(n.s)&&T(n.l)&&(s=j(n.s),d=j(n.l),l=function(e,t,r){var n,o,a;function i(e,t,r){return r<0&&(r+=1),r>1&&(r-=1),r<1/6?e+6*(t-e)*r:r<.5?t:r<2/3?e+(t-e)*(2/3-r)*6:e}if(e=k(e,360),t=k(t,100),r=k(r,100),0===t)n=o=a=r;else{var l=r<.5?r*(1+t):r+t-r*t,c=2*r-l;n=i(c,l,e+1/3),o=i(c,l,e),a=i(c,l,e-1/3)}return{r:255*n,g:255*o,b:255*a}}(n.h,s,d),f=!0,p="hsl"),n.hasOwnProperty("a")&&(c=n.a)),c=_(c),{ok:f,format:n.format||p,r:Math.min(255,Math.max(l.r,0)),g:Math.min(255,Math.max(l.g,0)),b:Math.min(255,Math.max(l.b,0)),a:c}}(o);this._originalInput=o,this._r=i.r,this._g=i.g,this._b=i.b,this._a=i.a,this._roundA=Math.round(100*this._a)/100,this._format=a.format||i.format,this._gradientType=a.gradientType,this._r<1&&(this._r=Math.round(this._r)),this._g<1&&(this._g=Math.round(this._g)),this._b<1&&(this._b=Math.round(this._b)),this._ok=i.ok}function o(e,t,r){e=k(e,255),t=k(t,255),r=k(r,255);var n,o,a=Math.max(e,t,r),i=Math.min(e,t,r),l=(a+i)/2;if(a==i)n=o=0;else{var c=a-i;switch(o=l>.5?c/(2-a-i):c/(a+i),a){case e:n=(t-r)/c+(t<r?6:0);break;case t:n=(r-e)/c+2;break;case r:n=(e-t)/c+4}n/=6}return{h:n,s:o,l}}function a(e,t,r){e=k(e,255),t=k(t,255),r=k(r,255);var n,o,a=Math.max(e,t,r),i=Math.min(e,t,r),l=a,c=a-i;if(o=0===a?0:c/a,a==i)n=0;else{switch(a){case e:n=(t-r)/c+(t<r?6:0);break;case t:n=(r-e)/c+2;break;case r:n=(e-t)/c+4}n/=6}return{h:n,s:o,v:l}}function i(e,t,r,n){var o=[P(Math.round(e).toString(16)),P(Math.round(t).toString(16)),P(Math.round(r).toString(16))];return n&&o[0].charAt(0)==o[0].charAt(1)&&o[1].charAt(0)==o[1].charAt(1)&&o[2].charAt(0)==o[2].charAt(1)?o[0].charAt(0)+o[1].charAt(0)+o[2].charAt(0):o.join("")}function l(e,t,r,n){return[P(S(n)),P(Math.round(e).toString(16)),P(Math.round(t).toString(16)),P(Math.round(r).toString(16))].join("")}function c(e,t){t=0===t?0:t||10;var r=n(e).toHsl();return r.s-=t/100,r.s=C(r.s),n(r)}function s(e,t){t=0===t?0:t||10;var r=n(e).toHsl();return r.s+=t/100,r.s=C(r.s),n(r)}function u(e){return n(e).desaturate(100)}function d(e,t){t=0===t?0:t||10;var r=n(e).toHsl();return r.l+=t/100,r.l=C(r.l),n(r)}function f(e,t){t=0===t?0:t||10;var r=n(e).toRgb();return r.r=Math.max(0,Math.min(255,r.r-Math.round(-t/100*255))),r.g=Math.max(0,Math.min(255,r.g-Math.round(-t/100*255))),r.b=Math.max(0,Math.min(255,r.b-Math.round(-t/100*255))),n(r)}function p(e,t){t=0===t?0:t||10;var r=n(e).toHsl();return r.l-=t/100,r.l=C(r.l),n(r)}function h(e,t){var r=n(e).toHsl(),o=(r.h+t)%360;return r.h=o<0?360+o:o,n(r)}function g(e){var t=n(e).toHsl();return t.h=(t.h+180)%360,n(t)}function b(e,t){if(isNaN(t)||t<=0)throw new Error("Argument to polyad must be a positive number");for(var r=n(e).toHsl(),o=[n(e)],a=360/t,i=1;i<t;i++)o.push(n({h:(r.h+i*a)%360,s:r.s,l:r.l}));return o}function v(e){var t=n(e).toHsl(),r=t.h;return[n(e),n({h:(r+72)%360,s:t.s,l:t.l}),n({h:(r+216)%360,s:t.s,l:t.l})]}function m(e,t,r){t=t||6,r=r||30;var o=n(e).toHsl(),a=360/r,i=[n(e)];for(o.h=(o.h-(a*t>>1)+720)%360;--t;)o.h=(o.h+a)%360,i.push(n(o));return i}function y(e,t){t=t||6;for(var r=n(e).toHsv(),o=r.h,a=r.s,i=r.v,l=[],c=1/t;t--;)l.push(n({h:o,s:a,v:i})),i=(i+c)%1;return l}n.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var e=this.toRgb();return(299*e.r+587*e.g+114*e.b)/1e3},getLuminance:function(){var e,t,r,n=this.toRgb();return e=n.r/255,t=n.g/255,r=n.b/255,.2126*(e<=.03928?e/12.92:Math.pow((e+.055)/1.055,2.4))+.7152*(t<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4))+.0722*(r<=.03928?r/12.92:Math.pow((r+.055)/1.055,2.4))},setAlpha:function(e){return this._a=_(e),this._roundA=Math.round(100*this._a)/100,this},toHsv:function(){var e=a(this._r,this._g,this._b);return{h:360*e.h,s:e.s,v:e.v,a:this._a}},toHsvString:function(){var e=a(this._r,this._g,this._b),t=Math.round(360*e.h),r=Math.round(100*e.s),n=Math.round(100*e.v);return 1==this._a?"hsv("+t+", "+r+"%, "+n+"%)":"hsva("+t+", "+r+"%, "+n+"%, "+this._roundA+")"},toHsl:function(){var e=o(this._r,this._g,this._b);return{h:360*e.h,s:e.s,l:e.l,a:this._a}},toHslString:function(){var e=o(this._r,this._g,this._b),t=Math.round(360*e.h),r=Math.round(100*e.s),n=Math.round(100*e.l);return 1==this._a?"hsl("+t+", "+r+"%, "+n+"%)":"hsla("+t+", "+r+"%, "+n+"%, "+this._roundA+")"},toHex:function(e){return i(this._r,this._g,this._b,e)},toHexString:function(e){return"#"+this.toHex(e)},toHex8:function(e){return function(e,t,r,n,o){var a=[P(Math.round(e).toString(16)),P(Math.round(t).toString(16)),P(Math.round(r).toString(16)),P(S(n))];return o&&a[0].charAt(0)==a[0].charAt(1)&&a[1].charAt(0)==a[1].charAt(1)&&a[2].charAt(0)==a[2].charAt(1)&&a[3].charAt(0)==a[3].charAt(1)?a[0].charAt(0)+a[1].charAt(0)+a[2].charAt(0)+a[3].charAt(0):a.join("")}(this._r,this._g,this._b,this._a,e)},toHex8String:function(e){return"#"+this.toHex8(e)},toRgb:function(){return{r:Math.round(this._r),g:Math.round(this._g),b:Math.round(this._b),a:this._a}},toRgbString:function(){return 1==this._a?"rgb("+Math.round(this._r)+", "+Math.round(this._g)+", "+Math.round(this._b)+")":"rgba("+Math.round(this._r)+", "+Math.round(this._g)+", "+Math.round(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:Math.round(100*k(this._r,255))+"%",g:Math.round(100*k(this._g,255))+"%",b:Math.round(100*k(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return 1==this._a?"rgb("+Math.round(100*k(this._r,255))+"%, "+Math.round(100*k(this._g,255))+"%, "+Math.round(100*k(this._b,255))+"%)":"rgba("+Math.round(100*k(this._r,255))+"%, "+Math.round(100*k(this._g,255))+"%, "+Math.round(100*k(this._b,255))+"%, "+this._roundA+")"},toName:function(){return 0===this._a?"transparent":!(this._a<1)&&(x[i(this._r,this._g,this._b,!0)]||!1)},toFilter:function(e){var t="#"+l(this._r,this._g,this._b,this._a),r=t,o=this._gradientType?"GradientType = 1, ":"";if(e){var a=n(e);r="#"+l(a._r,a._g,a._b,a._a)}return"progid:DXImageTransform.Microsoft.gradient("+o+"startColorstr="+t+",endColorstr="+r+")"},toString:function(e){var t=!!e;e=e||this._format;var r=!1,n=this._a<1&&this._a>=0;return t||!n||"hex"!==e&&"hex6"!==e&&"hex3"!==e&&"hex4"!==e&&"hex8"!==e&&"name"!==e?("rgb"===e&&(r=this.toRgbString()),"prgb"===e&&(r=this.toPercentageRgbString()),"hex"!==e&&"hex6"!==e||(r=this.toHexString()),"hex3"===e&&(r=this.toHexString(!0)),"hex4"===e&&(r=this.toHex8String(!0)),"hex8"===e&&(r=this.toHex8String()),"name"===e&&(r=this.toName()),"hsl"===e&&(r=this.toHslString()),"hsv"===e&&(r=this.toHsvString()),r||this.toHexString()):"name"===e&&0===this._a?this.toName():this.toRgbString()},clone:function(){return n(this.toString())},_applyModification:function(e,t){var r=e.apply(null,[this].concat([].slice.call(t)));return this._r=r._r,this._g=r._g,this._b=r._b,this.setAlpha(r._a),this},lighten:function(){return this._applyModification(d,arguments)},brighten:function(){return this._applyModification(f,arguments)},darken:function(){return this._applyModification(p,arguments)},desaturate:function(){return this._applyModification(c,arguments)},saturate:function(){return this._applyModification(s,arguments)},greyscale:function(){return this._applyModification(u,arguments)},spin:function(){return this._applyModification(h,arguments)},_applyCombination:function(e,t){return e.apply(null,[this].concat([].slice.call(t)))},analogous:function(){return this._applyCombination(m,arguments)},complement:function(){return this._applyCombination(g,arguments)},monochromatic:function(){return this._applyCombination(y,arguments)},splitcomplement:function(){return this._applyCombination(v,arguments)},triad:function(){return this._applyCombination(b,[3])},tetrad:function(){return this._applyCombination(b,[4])}},n.fromRatio=function(t,r){if("object"==e(t)){var o={};for(var a in t)t.hasOwnProperty(a)&&(o[a]="a"===a?t[a]:j(t[a]));t=o}return n(t,r)},n.equals=function(e,t){return!(!e||!t)&&n(e).toRgbString()==n(t).toRgbString()},n.random=function(){return n.fromRatio({r:Math.random(),g:Math.random(),b:Math.random()})},n.mix=function(e,t,r){r=0===r?0:r||50;var o=n(e).toRgb(),a=n(t).toRgb(),i=r/100;return n({r:(a.r-o.r)*i+o.r,g:(a.g-o.g)*i+o.g,b:(a.b-o.b)*i+o.b,a:(a.a-o.a)*i+o.a})},n.readability=function(e,t){var r=n(e),o=n(t);return(Math.max(r.getLuminance(),o.getLuminance())+.05)/(Math.min(r.getLuminance(),o.getLuminance())+.05)},n.isReadable=function(e,t,r){var o,a,i,l,c,s=n.readability(e,t);switch(a=!1,(i=r,"AA"!==(l=((i=i||{level:"AA",size:"small"}).level||"AA").toUpperCase())&&"AAA"!==l&&(l="AA"),"small"!==(c=(i.size||"small").toLowerCase())&&"large"!==c&&(c="small"),o={level:l,size:c}).level+o.size){case"AAsmall":case"AAAlarge":a=s>=4.5;break;case"AAlarge":a=s>=3;break;case"AAAsmall":a=s>=7}return a},n.mostReadable=function(e,t,r){var o,a,i,l,c=null,s=0;a=(r=r||{}).includeFallbackColors,i=r.level,l=r.size;for(var u=0;u<t.length;u++)(o=n.readability(e,t[u]))>s&&(s=o,c=n(t[u]));return n.isReadable(e,c,{level:i,size:l})||!a?c:(r.includeFallbackColors=!1,n.mostReadable(e,["#fff","#000"],r))};var w=n.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},x=n.hexNames=function(e){var t={};for(var r in e)e.hasOwnProperty(r)&&(t[e[r]]=r);return t}(w);function _(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function k(e,t){(function(e){return"string"==typeof e&&-1!=e.indexOf(".")&&1===parseFloat(e)})(e)&&(e="100%");var r=function(e){return"string"==typeof e&&-1!=e.indexOf("%")}(e);return e=Math.min(t,Math.max(0,parseFloat(e))),r&&(e=parseInt(e*t,10)/100),Math.abs(e-t)<1e-6?1:e%t/parseFloat(t)}function C(e){return Math.min(1,Math.max(0,e))}function O(e){return parseInt(e,16)}function P(e){return 1==e.length?"0"+e:""+e}function j(e){return e<=1&&(e=100*e+"%"),e}function S(e){return Math.round(255*parseFloat(e)).toString(16)}function M(e){return O(e)/255}var I,$,B,D=($="[\\s|\\(]+("+(I="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)")+")[,|\\s]+("+I+")[,|\\s]+("+I+")\\s*\\)?",B="[\\s|\\(]+("+I+")[,|\\s]+("+I+")[,|\\s]+("+I+")[,|\\s]+("+I+")\\s*\\)?",{CSS_UNIT:new RegExp(I),rgb:new RegExp("rgb"+$),rgba:new RegExp("rgba"+B),hsl:new RegExp("hsl"+$),hsla:new RegExp("hsla"+B),hsv:new RegExp("hsv"+$),hsva:new RegExp("hsva"+B),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/});function T(e){return!!D.CSS_UNIT.exec(e)}return n}()}},o={};function a(e){var t=o[e];if(void 0!==t)return t.exports;var r=o[e]={id:e,exports:{}};return n[e].call(r.exports,r,r.exports,a),r.exports}a.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return a.d(t,{a:t}),t},a.d=(e,t)=>{for(var r in t)a.o(t,r)&&!a.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},a.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),a.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i=a(2869),l=t;for(var c in i)l[c]=i[c];i.__esModule&&Object.defineProperty(l,"__esModule",{value:!0})},90:e=>{"use strict";e.exports=require("@radix-ui/react-icons")},140:e=>{"use strict";e.exports=require("framer-motion")},551:e=>{"use strict";e.exports=require("lodash")},953:e=>{"use strict";e.exports=require("react")},854:e=>{"use strict";e.exports=require("react-calendar")},480:e=>{"use strict";e.exports=require("styled-components")},995:e=>{"use strict";e.exports=require("title-case")}},t={};function r(n){var o=t[n];if(void 0!==o)return o.exports;var a=t[n]={exports:{}};return e[n](a,a.exports,r),a.exports}r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var n={};(()=>{"use strict";r.r(n),r.d(n,{CLIAction:()=>O.PK,CLIFilterOptionType:()=>O.oo,CLITemplate:()=>O.fC,deregister:()=>S,hide:()=>I,register:()=>j,show:()=>M});var e=r(723),t=r(786),o=r(277),a=r(70);const i="0",l="2",c="3",s="5",u="6";var d=r(695),f=r(79),p=r(870);var h=r(905);const g=()=>{};function b(e){const t={};let r=[];let n=[];let o=null;let a=h.Zo.Initial;t.getStatus=()=>a,t.getResultBuffer=()=>r,t.setResultBuffer=e=>{r=e,r?.length&&t.onChange()},t.getRevokedBuffer=()=>n,t.setRevokedBuffer=e=>{n=e,n?.length&&t.onChange()},t.setUpdatedContext=e=>{o=e,null!==o&&t.onChange()},t.getUpdatedContext=()=>o,t.onChange=g;const i={};return t.res=i,i.close=()=>{a!==h.Zo.Close&&(a=h.Zo.Close,t.onChange())},i.open=()=>{a!==h.Zo.Open&&(a=h.Zo.Open,t.onChange())},i.respond=r=>{const n=function(e=[],t=[],r="ascending"){const n=[],o=new Map;t.forEach(e=>{if(e.key)return o.set(e.key,e);n.push(e)});let a=e.map(e=>{if(e.key){const t=o.get(e.key);if(t)return o.delete(e.key),t}return e});return a.push(...o.values(),...n),a="ascending"===r?a.sort((e,t)=>(e?.score??1/0)-(t?.score??1/0)):a.sort((e,t)=>(t?.score??1/0)-(e?.score??1/0)),a}(t.getResultBuffer(),r,e);t.setResultBuffer(n)},i.revoke=(...e)=>{const r=new Set(e),n=t.getResultBuffer().filter(({key:e})=>{const t=r.has(e);return t&&r.delete(e),!t});t.setResultBuffer(n),r.size&&(t.getRevokedBuffer().forEach(e=>r.add(e)),t.setRevokedBuffer([...r]))},i.updateContext=e=>{t.setUpdatedContext(e)},t}const v=new Map;async function m(e){const{id:t,providerId:r}=e,n=_.getProviderOrFail(r);let o=v.get(t);o||(o=function(e,t){const r=new Set;let n=!1;return{close:()=>{n=!0;for(const e of r)e()},req:{id:e,...t,context:t?.context||{},onClose:e=>{r.add(e),n&&e()},removeListener:e=>{r.delete(e)}}}}(t,e),v.set(t,o));const a=b(),l=()=>{const e=a.getResultBuffer();a.setResultBuffer([]);const n=a.getRevokedBuffer();a.setRevokedBuffer([]);const o=a.getUpdatedContext();a.setUpdatedContext(null);const l=a.getStatus();!async function(e){(await(0,d.gj)()).dispatch(i,e)}({id:t,providerId:r,results:e,revoked:n,status:l,context:o})};let c=!0,s=!1;a.onChange=()=>{if(c)return c=!1,void l();s||(s=!0,setTimeout(()=>{s=!1,l()},100))};try{const{results:e,context:i}=await n.onUserInput(o.req,a.res),l=a.getStatus();return{id:t,providerId:r,status:l,results:e,context:i}}catch(e){return console.error(`OpenFin/Workspace/Home. Uncaught exception in search provider ${r} for search ${t}`,"This is likely a bug in the implementation of the search provider.",e),{id:t,providerId:r,error:e?.message}}}async function y(){for(const{req:e,close:t}of v.values())t(),v.delete(e.id)}async function w(e,t){const r=_.getProviderOrFail(e.providerId);return e.result.dispatcherIdentity=t,r.onResultDispatch?.(e.result)}function x(e){const t=v.get(e.id);t?.close(),v.delete(e.id)}const _=new p.xM("home"),k=async t=>{await(0,d.nA)();!("skipPlatformInitCheck"in t&&!0===t.skipPlatformInitCheck)&&await(0,f.KZ)(fin.me.identity);_.assertNotAlreadyRegistered(t.id),_.setProvider(t);const r=await(0,d.gj)();return function(e){e.homeChannelActionsRegistered||(e.homeChannelActionsRegistered=!0,e.register(i,m),e.register(u,x),e.register(s,w),e.addDisconnectionListener(y))}(r),r.dispatch(l,{id:t.id,title:t.title,icon:t.icon,clientAPIVersion:e.et,identity:fin.me.identity,scoreOrder:t.scoreOrder,commandCode:t.commandCode,description:t.description,hidden:t.hidden,listTitle:t.listTitle,inputPlaceholder:t.inputPlaceholder,inputLandingPlaceholder:t.inputLandingPlaceholder,logoUrl:t.logoUrl,dispatchFocusEvents:t.dispatchFocusEvents,subHeader:t.subHeader})};var C=r(248),O=r(872);let P;const j=async r=>{if(!r.icon)throw new Error(`${r.id} provider needs to have icon property defined.`);(0,C.H)("home",a.F2);const n=await k(r);return P=new Promise((a,i)=>{try{(0,o.GR)({allowed:!0,componentVersion:n?.workspaceVersion}),e.et,a({...n,clientAPIVersion:e.et,setSearchQuery:async(e,t)=>(await(0,d.N7)()).dispatch("set-search-query",{query:e,providerID:r.id,options:t})})}catch(e){(0,o.GR)({allowed:!1,rejectionCode:e instanceof Error?e.message:"unknown"}),i(e)}finally{t.A.markEndAndMeasure("home-registration")}}),P},S=async e=>{_.deleteProvider(e);const t=await(0,d.gj)();await t.dispatch(c,e)};async function M(){t.A.markStart("home-show"),await P;const e=await(0,d.N7)();await e.dispatch("show-home",void 0)}async function I(){await P;const e=await(0,d.N7)();await e.dispatch("hide-home",void 0)}})(),module.exports=n})();
|
|
2
1487
|
//# sourceMappingURL=home.js.map
|