@sap-ux/ui-components 1.7.0 → 1.8.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/UIActionCallout/UIActionCallout.d.ts +2 -0
- package/dist/components/UIActionCallout/UIActionCallout.d.ts.map +1 -1
- package/dist/components/UIActionCallout/UIActionCallout.js +9 -4
- package/dist/components/UIActionCallout/UIActionCallout.js.map +1 -1
- package/dist/components/UISearchBox/UISearchBox.js +2 -2
- package/package.json +1 -1
- package/storybook/{308.3ef1252cf4e6f4ea4f87.manager.bundle.js → 275.a8ff63b0ed4a5d620142.manager.bundle.js} +1 -1
- package/storybook/{775.2c32f5dec8245bf06a35.manager.bundle.js → 453.af4e8cc44257a27c435f.manager.bundle.js} +1 -1
- package/storybook/{151.f31eae3b7704470d2f0c.manager.bundle.js → 458.a8cb7c68775e3858b342.manager.bundle.js} +1 -1
- package/storybook/594.4816ff3f4edb5b8b0949.manager.bundle.js +1 -0
- package/storybook/637.173c8d06.iframe.bundle.js +1 -0
- package/storybook/713.bc462d5f.iframe.bundle.js +292 -0
- package/storybook/{822.55c0b8c38a0421b3fdcb.manager.bundle.js → 756.edf22bba3c06d7815c54.manager.bundle.js} +8 -8
- package/storybook/{527.5ad8ca17f37f0faebdb5.manager.bundle.js → 966.bc8dd3d7eec539544b33.manager.bundle.js} +1 -1
- package/storybook/{869.9c11e9955598ae6cadd2.manager.bundle.js → 987.81102a5d201c9f5a1528.manager.bundle.js} +1 -1
- package/storybook/iframe.html +1 -1
- package/storybook/index.html +1 -1
- package/storybook/{main.8a2df1189b7472718896.manager.bundle.js → main.73db1398c1704e93ba73.manager.bundle.js} +1 -1
- package/storybook/main.f8a470b7.iframe.bundle.js +99 -0
- package/storybook/project.json +1 -1
- package/storybook/{runtime~main.ded4beec.iframe.bundle.js → runtime~main.769376b3.iframe.bundle.js} +2 -2
- package/storybook/runtime~main.eabd5638d9f3e40b3501.manager.bundle.js +2 -0
- package/storybook/215.f4718a88.iframe.bundle.js +0 -292
- package/storybook/24.699b5db7d897cafb43de.manager.bundle.js +0 -1
- package/storybook/851.7748d349.iframe.bundle.js +0 -1
- package/storybook/main.4137ae8d.iframe.bundle.js +0 -99
- package/storybook/runtime~main.3b601f8d200b50936280.manager.bundle.js +0 -2
|
@@ -45,6 +45,7 @@ export declare class UIActionCallout extends React.Component<ActionCalloutProps>
|
|
|
45
45
|
private showInline;
|
|
46
46
|
private icon;
|
|
47
47
|
private onClick;
|
|
48
|
+
private anchorClicked;
|
|
48
49
|
/**
|
|
49
50
|
* Initializes component properties.
|
|
50
51
|
*
|
|
@@ -52,6 +53,7 @@ export declare class UIActionCallout extends React.Component<ActionCalloutProps>
|
|
|
52
53
|
*/
|
|
53
54
|
constructor(props: ActionCalloutProps);
|
|
54
55
|
private onCalloutClick;
|
|
56
|
+
private handleAnchorClick;
|
|
55
57
|
/**
|
|
56
58
|
* @returns {JSX.Element}
|
|
57
59
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UIActionCallout.d.ts","sourceRoot":"","sources":["../../../src/components/UIActionCallout/UIActionCallout.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AACnC,OAAO,wBAAwB,CAAC;AAEhC,MAAM,WAAW,kBAAkB;IAC/B,4DAA4D;IAC5D,eAAe,EAAE,MAAM,CAAC;IACxB;;;OAGG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,gEAAgE;IAChE,YAAY,EAAE,oBAAoB,CAAC;IACnC,oDAAoD;IACpD,aAAa,CAAC,CAAC,OAAO,EAAE,oBAAoB,CAAC,SAAS,CAAC,GAAG,IAAI,CAAC;IAC/D,uEAAuE;IACvE,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,qDAAqD;IACrD,OAAO,CAAC,IAAI,IAAI,CAAC;CACpB;AAED,MAAM,WAAW,oBAAoB;IACjC,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,OAAO,CAAC,EAAE;QACN,EAAE,EAAE,MAAM,CAAC;QACX,MAAM,EAAE,MAAM,GAAG,MAAM,CAAC;KAC3B,CAAC;IACF;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;CAChB;AAED;;;GAGG;AACH,qBAAa,eAAgB,SAAQ,KAAK,CAAC,SAAS,CAAC,kBAAkB,CAAC;IACpE,OAAO,CAAC,MAAM,CAAqC;IACnD,OAAO,CAAC,YAAY,CAAuB;IAC3C,OAAO,CAAC,aAAa,CAAsC;IAC3D,OAAO,CAAC,eAAe,CAAS;IAChC,OAAO,CAAC,UAAU,CAAsB;IACxC,OAAO,CAAC,IAAI,CAAqB;IACjC,OAAO,CAAC,OAAO,CAAgC;IAC/C;;;;OAIG;gBACgB,KAAK,EAAE,kBAAkB;
|
|
1
|
+
{"version":3,"file":"UIActionCallout.d.ts","sourceRoot":"","sources":["../../../src/components/UIActionCallout/UIActionCallout.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AACnC,OAAO,wBAAwB,CAAC;AAEhC,MAAM,WAAW,kBAAkB;IAC/B,4DAA4D;IAC5D,eAAe,EAAE,MAAM,CAAC;IACxB;;;OAGG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,gEAAgE;IAChE,YAAY,EAAE,oBAAoB,CAAC;IACnC,oDAAoD;IACpD,aAAa,CAAC,CAAC,OAAO,EAAE,oBAAoB,CAAC,SAAS,CAAC,GAAG,IAAI,CAAC;IAC/D,uEAAuE;IACvE,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,qDAAqD;IACrD,OAAO,CAAC,IAAI,IAAI,CAAC;CACpB;AAED,MAAM,WAAW,oBAAoB;IACjC,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,OAAO,CAAC,EAAE;QACN,EAAE,EAAE,MAAM,CAAC;QACX,MAAM,EAAE,MAAM,GAAG,MAAM,CAAC;KAC3B,CAAC;IACF;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;CAChB;AAED;;;GAGG;AACH,qBAAa,eAAgB,SAAQ,KAAK,CAAC,SAAS,CAAC,kBAAkB,CAAC;IACpE,OAAO,CAAC,MAAM,CAAqC;IACnD,OAAO,CAAC,YAAY,CAAuB;IAC3C,OAAO,CAAC,aAAa,CAAsC;IAC3D,OAAO,CAAC,eAAe,CAAS;IAChC,OAAO,CAAC,UAAU,CAAsB;IACxC,OAAO,CAAC,IAAI,CAAqB;IACjC,OAAO,CAAC,OAAO,CAAgC;IAC/C,OAAO,CAAC,aAAa,CAAU;IAE/B;;;;OAIG;gBACgB,KAAK,EAAE,kBAAkB;IAa5C,OAAO,CAAC,cAAc;IAatB,OAAO,CAAC,iBAAiB;IAIzB;;OAEG;IACH,MAAM,IAAI,GAAG,CAAC,OAAO;CA+BxB"}
|
|
@@ -30,17 +30,22 @@ class UIActionCallout extends react_2.default.Component {
|
|
|
30
30
|
this.onCalloutClick = this.onCalloutClick.bind(this);
|
|
31
31
|
this.icon = props.icon;
|
|
32
32
|
this.onClick = props.onClick;
|
|
33
|
+
this.anchorClicked = false;
|
|
33
34
|
}
|
|
34
35
|
onCalloutClick() {
|
|
36
|
+
if (this.onClick && !this.anchorClicked) {
|
|
37
|
+
this.onClick();
|
|
38
|
+
}
|
|
35
39
|
if (this.actionDetail.command && this.commandAction) {
|
|
36
40
|
this.commandAction(this.actionDetail.command);
|
|
37
41
|
}
|
|
38
42
|
else {
|
|
39
43
|
this.anchor.current?.click();
|
|
44
|
+
this.anchorClicked = false;
|
|
40
45
|
}
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
46
|
+
}
|
|
47
|
+
handleAnchorClick() {
|
|
48
|
+
this.anchorClicked = true;
|
|
44
49
|
}
|
|
45
50
|
/**
|
|
46
51
|
* @returns {JSX.Element}
|
|
@@ -51,7 +56,7 @@ class UIActionCallout extends react_2.default.Component {
|
|
|
51
56
|
root: { position: this.showInline === false ? 'absolute' : 'sticky' }
|
|
52
57
|
} },
|
|
53
58
|
(this.icon && this.icon.render()) || react_2.default.createElement(UIIcon_1.UIIcon, { iconName: Icons_1.UiIcons.HelpAction }),
|
|
54
|
-
react_2.default.createElement("a", { ref: this.anchor, href: this.actionDetail.url, className: "UIActionCallout-link", target: "_blank", rel: "noreferrer" }, this.actionDetail.linkText),
|
|
59
|
+
react_2.default.createElement("a", { ref: this.anchor, href: this.actionDetail.url, className: "UIActionCallout-link", target: "_blank", rel: "noreferrer", onClick: () => this.handleAnchorClick() }, this.actionDetail.linkText),
|
|
55
60
|
react_2.default.createElement("div", { className: "UIActionCallout-subText" }, this.actionDetail.subText)));
|
|
56
61
|
}
|
|
57
62
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UIActionCallout.js","sourceRoot":"","sources":["../../../src/components/UIActionCallout/UIActionCallout.tsx"],"names":[],"mappings":";;;;;;AAAA,2CAAkD;AAClD,kDAA0B;AAC1B,oCAAmC;AACnC,4CAAyC;AACzC,sCAAmC;AACnC,kCAAgC;AAoChC;;;GAGG;AACH,MAAa,eAAgB,SAAQ,eAAK,CAAC,SAA6B;
|
|
1
|
+
{"version":3,"file":"UIActionCallout.js","sourceRoot":"","sources":["../../../src/components/UIActionCallout/UIActionCallout.tsx"],"names":[],"mappings":";;;;;;AAAA,2CAAkD;AAClD,kDAA0B;AAC1B,oCAAmC;AACnC,4CAAyC;AACzC,sCAAmC;AACnC,kCAAgC;AAoChC;;;GAGG;AACH,MAAa,eAAgB,SAAQ,eAAK,CAAC,SAA6B;IAUpE;;;;OAIG;IACH,YAAmB,KAAyB;QACxC,KAAK,CAAC,KAAK,CAAC,CAAC;QACb,IAAI,CAAC,YAAY,GAAG,KAAK,CAAC,YAAY,CAAC;QACvC,IAAI,CAAC,aAAa,GAAG,KAAK,CAAC,aAAa,CAAC;QACzC,IAAI,CAAC,eAAe,GAAG,KAAK,CAAC,eAAe,CAAC;QAC7C,IAAI,CAAC,UAAU,GAAG,KAAK,CAAC,UAAU,CAAC;QACnC,IAAI,CAAC,MAAM,GAAG,eAAK,CAAC,SAAS,EAAqB,CAAC;QACnD,IAAI,CAAC,cAAc,GAAG,IAAI,CAAC,cAAc,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QACrD,IAAI,CAAC,IAAI,GAAG,KAAK,CAAC,IAAI,CAAC;QACvB,IAAI,CAAC,OAAO,GAAG,KAAK,CAAC,OAAO,CAAC;QAC7B,IAAI,CAAC,aAAa,GAAG,KAAK,CAAC;IAC/B,CAAC;IAEO,cAAc;QAClB,IAAI,IAAI,CAAC,OAAO,IAAI,CAAC,IAAI,CAAC,aAAa,EAAE;YACrC,IAAI,CAAC,OAAO,EAAE,CAAC;SAClB;QAED,IAAI,IAAI,CAAC,YAAY,CAAC,OAAO,IAAI,IAAI,CAAC,aAAa,EAAE;YACjD,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC,YAAY,CAAC,OAAO,CAAC,CAAC;SACjD;aAAM;YACH,IAAI,CAAC,MAAM,CAAC,OAAO,EAAE,KAAK,EAAE,CAAC;YAC7B,IAAI,CAAC,aAAa,GAAG,KAAK,CAAC;SAC9B;IACL,CAAC;IAEO,iBAAiB;QACrB,IAAI,CAAC,aAAa,GAAG,IAAI,CAAC;IAC9B,CAAC;IAED;;OAEG;IACH,MAAM;QACF,OAAO,CACH,8BAAC,qBAAS,IACN,SAAS,EAAC,yBAAyB,EACnC,OAAO,EAAE,IAAI,CAAC,cAAc,EAC5B,MAAM,EAAE,IAAI,IAAI,CAAC,eAAe,EAAE,EAClC,aAAa,EAAE,IAAI,EACnB,UAAU,EAAE,IAAI,EAChB,SAAS,EAAE,CAAC,EACZ,eAAe,EAAE,GAAG,EACpB,eAAe,EAAE,GAAG,EACpB,eAAe,EAAE,uBAAe,CAAC,cAAc,EAC/C,MAAM,EAAE;gBACJ,WAAW,EAAE,EAAE,OAAO,EAAE,MAAM,EAAE;gBAChC,IAAI,EAAE,EAAE,QAAQ,EAAE,IAAI,CAAC,UAAU,KAAK,KAAK,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,QAAQ,EAAE;aACxE;YACA,CAAC,IAAI,CAAC,IAAI,IAAI,IAAI,CAAC,IAAI,CAAC,MAAM,EAAE,CAAC,IAAI,8BAAC,eAAM,IAAC,QAAQ,EAAE,eAAO,CAAC,UAAU,GAAW;YAErF,qCACI,GAAG,EAAE,IAAI,CAAC,MAAM,EAChB,IAAI,EAAE,IAAI,CAAC,YAAY,CAAC,GAAG,EAC3B,SAAS,EAAC,sBAAsB,EAChC,MAAM,EAAC,QAAQ,EACf,GAAG,EAAC,YAAY,EAChB,OAAO,EAAE,GAAG,EAAE,CAAC,IAAI,CAAC,iBAAiB,EAAE,IACtC,IAAI,CAAC,YAAY,CAAC,QAAQ,CAC3B;YACJ,uCAAK,SAAS,EAAC,yBAAyB,IAAE,IAAI,CAAC,YAAY,CAAC,OAAO,CAAO,CAClE,CACf,CAAC;IACN,CAAC;CACJ;AA/ED,0CA+EC"}
|
package/package.json
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";(self.webpackChunk_sap_ux_ui_components=self.webpackChunk_sap_ux_ui_components||[]).push([[
|
|
1
|
+
"use strict";(self.webpackChunk_sap_ux_ui_components=self.webpackChunk_sap_ux_ui_components||[]).push([[275],{36275:(No,Ie,f)=>{f.r(Ie),f.d(Ie,{WithToolTipState:()=>mt,WithTooltip:()=>mt,WithTooltipPure:()=>xe});var Dt=f(82138),Vo=f.n(Dt),bt=f(7642),Fo=f.n(bt),jt=f(77096),zo=f.n(jt),Ct=f(45979),Yo=f.n(Ct),wt=f(29854),Xo=f.n(wt),xt=f(58864),ko=f.n(xt),At=f(54907),Go=f.n(At),Bt=f(50998),Jo=f.n(Bt),Lt=f(38892),Qo=f.n(Lt),St=f(15457),Zo=f.n(St),It=f(29314),qo=f.n(It),Wt=f(74751),en=f.n(Wt),Ut=f(70264),tn=f.n(Ut),Kt=f(65145),rn=f.n(Kt),Ht=f(95017),on=f.n(Ht),$t=f(49084),nn=f.n($t),Nt=f(56322),an=f.n(Nt),Vt=f(37539),sn=f.n(Vt),Ft=f(21841),ln=f.n(Ft),zt=f(34126),cn=f.n(zt),Yt=f(28742),un=f.n(Yt),Xt=f(76689),fn=f.n(Xt),kt=f(15720),pn=f.n(kt),Gt=f(56794),dn=f.n(Gt),Jt=f(80554),vn=f.n(Jt),Qt=f(1338),_n=f.n(Qt),Zt=f(60144),mn=f.n(Zt),qt=f(69714),hn=f.n(qt),er=f(24289),gn=f.n(er),tr=f(64685),On=f.n(tr),rr=f(60002),En=f.n(rr),or=f(33861),yn=f.n(or),nr=f(37189),Pn=f.n(nr),ar=f(98026),Tn=f.n(ar),u=f(18074),O=f(96832),L=f(57406),ir=f(51285),sr=f(69469),lr=f.n(sr),cr=f(58897),Rn=f.n(cr),ur=f(46163),Mn=f.n(ur),We,Ue;function fr(t,e){return _r(t)||vr(t,e)||dr(t,e)||pr()}function pr(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
2
2
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function dr(t,e){if(!!t){if(typeof t=="string")return Ke(t,e);var o=Object.prototype.toString.call(t).slice(8,-1);if(o==="Object"&&t.constructor&&(o=t.constructor.name),o==="Map"||o==="Set")return Array.from(t);if(o==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o))return Ke(t,e)}}function Ke(t,e){(e==null||e>t.length)&&(e=t.length);for(var o=0,r=new Array(e);o<e;o++)r[o]=t[o];return r}function vr(t,e){var o=t==null?null:typeof Symbol!="undefined"&&t[Symbol.iterator]||t["@@iterator"];if(o!=null){var r=[],n=!0,a=!1,s,i;try{for(o=o.call(t);!(n=(s=o.next()).done)&&(r.push(s.value),!(e&&r.length===e));n=!0);}catch(l){a=!0,i=l}finally{try{!n&&o.return!=null&&o.return()}finally{if(a)throw i}}return r}}function _r(t){if(Array.isArray(t))return t}function He(t,e){return e||(e=t.slice(0)),Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(e)}}))}function pe(t){return pe=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},pe(t)}function K(t){return t?(t.nodeName||"").toLowerCase():null}function U(t){if(t==null)return window;if(t.toString()!=="[object Window]"){var e=t.ownerDocument;return e&&e.defaultView||window}return t}function ee(t){var e=U(t).Element;return t instanceof e||t instanceof Element}function I(t){var e=U(t).HTMLElement;return t instanceof e||t instanceof HTMLElement}function $e(t){if(typeof ShadowRoot=="undefined")return!1;var e=U(t).ShadowRoot;return t instanceof e||t instanceof ShadowRoot}function mr(t){var e=t.state;Object.keys(e.elements).forEach(function(o){var r=e.styles[o]||{},n=e.attributes[o]||{},a=e.elements[o];!I(a)||!K(a)||(Object.assign(a.style,r),Object.keys(n).forEach(function(s){var i=n[s];i===!1?a.removeAttribute(s):a.setAttribute(s,i===!0?"":i)}))})}function hr(t){var e=t.state,o={popper:{position:e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(e.elements.popper.style,o.popper),e.styles=o,e.elements.arrow&&Object.assign(e.elements.arrow.style,o.arrow),function(){Object.keys(e.elements).forEach(function(r){var n=e.elements[r],a=e.attributes[r]||{},s=Object.keys(e.styles.hasOwnProperty(r)?e.styles[r]:o[r]),i=s.reduce(function(l,p){return l[p]="",l},{});!I(n)||!K(n)||(Object.assign(n.style,i),Object.keys(a).forEach(function(l){n.removeAttribute(l)}))})}}var gr={name:"applyStyles",enabled:!0,phase:"write",fn:mr,effect:hr,requires:["computeStyles"]};function H(t){return t.split("-")[0]}var G=Math.max,de=Math.min,te=Math.round;function re(t,e){e===void 0&&(e=!1);var o=t.getBoundingClientRect(),r=1,n=1;if(I(t)&&e){var a=t.offsetHeight,s=t.offsetWidth;s>0&&(r=te(o.width)/s||1),a>0&&(n=te(o.height)/a||1)}return{width:o.width/r,height:o.height/n,top:o.top/n,right:o.right/r,bottom:o.bottom/n,left:o.left/r,x:o.left/r,y:o.top/n}}function Pe(t){var e=re(t),o=t.offsetWidth,r=t.offsetHeight;return Math.abs(e.width-o)<=1&&(o=e.width),Math.abs(e.height-r)<=1&&(r=e.height),{x:t.offsetLeft,y:t.offsetTop,width:o,height:r}}function Ne(t,e){var o=e.getRootNode&&e.getRootNode();if(t.contains(e))return!0;if(o&&$e(o)){var r=e;do{if(r&&t.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function N(t){return U(t).getComputedStyle(t)}function Or(t){return["table","td","th"].indexOf(K(t))>=0}function V(t){return((ee(t)?t.ownerDocument:t.document)||window.document).documentElement}function ve(t){return K(t)==="html"?t:t.assignedSlot||t.parentNode||($e(t)?t.host:null)||V(t)}function Ve(t){return!I(t)||N(t).position==="fixed"?null:t.offsetParent}function Er(t){var e=navigator.userAgent.toLowerCase().indexOf("firefox")!==-1,o=navigator.userAgent.indexOf("Trident")!==-1;if(o&&I(t)){var r=N(t);if(r.position==="fixed")return null}for(var n=ve(t);I(n)&&["html","body"].indexOf(K(n))<0;){var a=N(n);if(a.transform!=="none"||a.perspective!=="none"||a.contain==="paint"||["transform","perspective"].indexOf(a.willChange)!==-1||e&&a.willChange==="filter"||e&&a.filter&&a.filter!=="none")return n;n=n.parentNode}return null}function ie(t){for(var e=U(t),o=Ve(t);o&&Or(o)&&N(o).position==="static";)o=Ve(o);return o&&(K(o)==="html"||K(o)==="body"&&N(o).position==="static")?e:o||Er(t)||e}function Te(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}function se(t,e,o){return G(t,de(e,o))}function yr(t,e,o){var r=se(t,e,o);return r>o?o:r}function Fe(){return{top:0,right:0,bottom:0,left:0}}function ze(t){return Object.assign({},Fe(),t)}function Ye(t,e){return e.reduce(function(o,r){return o[r]=t,o},{})}var Pr=function(e,o){return e=typeof e=="function"?e(Object.assign({},o.rects,{placement:o.placement})):e,ze(typeof e!="number"?e:Ye(e,u.f))};function Tr(t){var e,o=t.state,r=t.name,n=t.options,a=o.elements.arrow,s=o.modifiersData.popperOffsets,i=H(o.placement),l=Te(i),p=[u.l,u.r].indexOf(i)>=0,c=p?"height":"width";if(!(!a||!s)){var m=Pr(n.padding,o),E=Pe(a),d=l==="y"?u.t:u.l,g=l==="y"?u.h:u.r,_=o.rects.reference[c]+o.rects.reference[l]-s[l]-o.rects.popper[c],h=s[l]-o.rects.reference[l],M=ie(a),D=M?l==="y"?M.clientHeight||0:M.clientWidth||0:0,P=_/2-h/2,v=m[d],y=D-E[c]-m[g],T=D/2-E[c]/2+P,R=se(v,T,y),b=l;o.modifiersData[r]=(e={},e[b]=R,e.centerOffset=R-T,e)}}function Rr(t){var e=t.state,o=t.options,r=o.element,n=r===void 0?"[data-popper-arrow]":r;n!=null&&(typeof n=="string"&&(n=e.elements.popper.querySelector(n),!n)||!Ne(e.elements.popper,n)||(e.elements.arrow=n))}var Mr={name:"arrow",enabled:!0,phase:"main",fn:Tr,effect:Rr,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function oe(t){return t.split("-")[1]}var Dr={top:"auto",right:"auto",bottom:"auto",left:"auto"};function br(t){var e=t.x,o=t.y,r=window,n=r.devicePixelRatio||1;return{x:te(e*n)/n||0,y:te(o*n)/n||0}}function Xe(t){var e,o=t.popper,r=t.popperRect,n=t.placement,a=t.variation,s=t.offsets,i=t.position,l=t.gpuAcceleration,p=t.adaptive,c=t.roundOffsets,m=t.isFixed,E=s.x,d=E===void 0?0:E,g=s.y,_=g===void 0?0:g,h=typeof c=="function"?c({x:d,y:_}):{x:d,y:_};d=h.x,_=h.y;var M=s.hasOwnProperty("x"),D=s.hasOwnProperty("y"),P=u.l,v=u.t,y=window;if(p){var T=ie(o),R="clientHeight",b="clientWidth";if(T===U(o)&&(T=V(o),N(T).position!=="static"&&i==="absolute"&&(R="scrollHeight",b="scrollWidth")),T=T,n===u.t||(n===u.l||n===u.r)&&a===u.i){v=u.h;var C=m&&y.visualViewport?y.visualViewport.height:T[R];_-=C-r.height,_*=l?1:-1}if(n===u.l||(n===u.t||n===u.h)&&a===u.i){P=u.r;var w=m&&y.visualViewport?y.visualViewport.width:T[b];d-=w-r.width,d*=l?1:-1}}var j=Object.assign({position:i},p&&Dr),B=c===!0?br({x:d,y:_}):{x:d,y:_};if(d=B.x,_=B.y,l){var x;return Object.assign({},j,(x={},x[v]=D?"0":"",x[P]=M?"0":"",x.transform=(y.devicePixelRatio||1)<=1?"translate("+d+"px, "+_+"px)":"translate3d("+d+"px, "+_+"px, 0)",x))}return Object.assign({},j,(e={},e[v]=D?_+"px":"",e[P]=M?d+"px":"",e.transform="",e))}function jr(t){var e=t.state,o=t.options,r=o.gpuAcceleration,n=r===void 0?!0:r,a=o.adaptive,s=a===void 0?!0:a,i=o.roundOffsets,l=i===void 0?!0:i;if(!1)var p;var c={placement:H(e.placement),variation:oe(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:n,isFixed:e.options.strategy==="fixed"};e.modifiersData.popperOffsets!=null&&(e.styles.popper=Object.assign({},e.styles.popper,Xe(Object.assign({},c,{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:s,roundOffsets:l})))),e.modifiersData.arrow!=null&&(e.styles.arrow=Object.assign({},e.styles.arrow,Xe(Object.assign({},c,{offsets:e.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-placement":e.placement})}var Cr={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:jr,data:{}},_e={passive:!0};function wr(t){var e=t.state,o=t.instance,r=t.options,n=r.scroll,a=n===void 0?!0:n,s=r.resize,i=s===void 0?!0:s,l=U(e.elements.popper),p=[].concat(e.scrollParents.reference,e.scrollParents.popper);return a&&p.forEach(function(c){c.addEventListener("scroll",o.update,_e)}),i&&l.addEventListener("resize",o.update,_e),function(){a&&p.forEach(function(c){c.removeEventListener("scroll",o.update,_e)}),i&&l.removeEventListener("resize",o.update,_e)}}var xr={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:wr,data:{}},Ar={left:"right",right:"left",bottom:"top",top:"bottom"};function me(t){return t.replace(/left|right|bottom|top/g,function(e){return Ar[e]})}var Br={start:"end",end:"start"};function ke(t){return t.replace(/start|end/g,function(e){return Br[e]})}function Re(t){var e=U(t),o=e.pageXOffset,r=e.pageYOffset;return{scrollLeft:o,scrollTop:r}}function Me(t){return re(V(t)).left+Re(t).scrollLeft}function Lr(t){var e=U(t),o=V(t),r=e.visualViewport,n=o.clientWidth,a=o.clientHeight,s=0,i=0;return r&&(n=r.width,a=r.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(s=r.offsetLeft,i=r.offsetTop)),{width:n,height:a,x:s+Me(t),y:i}}function Sr(t){var e,o=V(t),r=Re(t),n=(e=t.ownerDocument)==null?void 0:e.body,a=G(o.scrollWidth,o.clientWidth,n?n.scrollWidth:0,n?n.clientWidth:0),s=G(o.scrollHeight,o.clientHeight,n?n.scrollHeight:0,n?n.clientHeight:0),i=-r.scrollLeft+Me(t),l=-r.scrollTop;return N(n||o).direction==="rtl"&&(i+=G(o.clientWidth,n?n.clientWidth:0)-a),{width:a,height:s,x:i,y:l}}function De(t){var e=N(t),o=e.overflow,r=e.overflowX,n=e.overflowY;return/auto|scroll|overlay|hidden/.test(o+n+r)}function Ge(t){return["html","body","#document"].indexOf(K(t))>=0?t.ownerDocument.body:I(t)&&De(t)?t:Ge(ve(t))}function le(t,e){var o;e===void 0&&(e=[]);var r=Ge(t),n=r===((o=t.ownerDocument)==null?void 0:o.body),a=U(r),s=n?[a].concat(a.visualViewport||[],De(r)?r:[]):r,i=e.concat(s);return n?i:i.concat(le(ve(s)))}function be(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function Ir(t){var e=re(t);return e.top=e.top+t.clientTop,e.left=e.left+t.clientLeft,e.bottom=e.top+t.clientHeight,e.right=e.left+t.clientWidth,e.width=t.clientWidth,e.height=t.clientHeight,e.x=e.left,e.y=e.top,e}function Je(t,e){return e===u.v?be(Lr(t)):ee(e)?Ir(e):be(Sr(V(t)))}function Wr(t){var e=le(ve(t)),o=["absolute","fixed"].indexOf(N(t).position)>=0,r=o&&I(t)?ie(t):t;return ee(r)?e.filter(function(n){return ee(n)&&Ne(n,r)&&K(n)!=="body"}):[]}function Ur(t,e,o){var r=e==="clippingParents"?Wr(t):[].concat(e),n=[].concat(r,[o]),a=n[0],s=n.reduce(function(i,l){var p=Je(t,l);return i.top=G(p.top,i.top),i.right=de(p.right,i.right),i.bottom=de(p.bottom,i.bottom),i.left=G(p.left,i.left),i},Je(t,a));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}function Qe(t){var e=t.reference,o=t.element,r=t.placement,n=r?H(r):null,a=r?oe(r):null,s=e.x+e.width/2-o.width/2,i=e.y+e.height/2-o.height/2,l;switch(n){case u.t:l={x:s,y:e.y-o.height};break;case u.h:l={x:s,y:e.y+e.height};break;case u.r:l={x:e.x+e.width,y:i};break;case u.l:l={x:e.x-o.width,y:i};break;default:l={x:e.x,y:e.y}}var p=n?Te(n):null;if(p!=null){var c=p==="y"?"height":"width";switch(a){case u.s:l[p]=l[p]-(e[c]/2-o[c]/2);break;case u.i:l[p]=l[p]+(e[c]/2-o[c]/2);break}}return l}function ce(t,e){e===void 0&&(e={});var o=e,r=o.placement,n=r===void 0?t.placement:r,a=o.boundary,s=a===void 0?u.j:a,i=o.rootBoundary,l=i===void 0?u.v:i,p=o.elementContext,c=p===void 0?u.p:p,m=o.altBoundary,E=m===void 0?!1:m,d=o.padding,g=d===void 0?0:d,_=ze(typeof g!="number"?g:Ye(g,u.f)),h=c===u.p?u.k:u.p,M=t.rects.popper,D=t.elements[E?h:c],P=Ur(ee(D)?D:D.contextElement||V(t.elements.popper),s,l),v=re(t.elements.reference),y=Qe({reference:v,element:M,strategy:"absolute",placement:n}),T=be(Object.assign({},M,y)),R=c===u.p?T:v,b={top:P.top-R.top+_.top,bottom:R.bottom-P.bottom+_.bottom,left:P.left-R.left+_.left,right:R.right-P.right+_.right},C=t.modifiersData.offset;if(c===u.p&&C){var w=C[n];Object.keys(b).forEach(function(j){var B=[u.r,u.h].indexOf(j)>=0?1:-1,x=[u.t,u.h].indexOf(j)>=0?"y":"x";b[j]+=w[x]*B})}return b}function Kr(t,e){e===void 0&&(e={});var o=e,r=o.placement,n=o.boundary,a=o.rootBoundary,s=o.padding,i=o.flipVariations,l=o.allowedAutoPlacements,p=l===void 0?u.n:l,c=oe(r),m=c?i?u.m:u.m.filter(function(g){return oe(g)===c}):u.f,E=m.filter(function(g){return p.indexOf(g)>=0});E.length===0&&(E=m);var d=E.reduce(function(g,_){return g[_]=ce(t,{placement:_,boundary:n,rootBoundary:a,padding:s})[H(_)],g},{});return Object.keys(d).sort(function(g,_){return d[g]-d[_]})}function Hr(t){if(H(t)===u.o)return[];var e=me(t);return[ke(t),e,ke(e)]}function $r(t){var e=t.state,o=t.options,r=t.name;if(!e.modifiersData[r]._skip){for(var n=o.mainAxis,a=n===void 0?!0:n,s=o.altAxis,i=s===void 0?!0:s,l=o.fallbackPlacements,p=o.padding,c=o.boundary,m=o.rootBoundary,E=o.altBoundary,d=o.flipVariations,g=d===void 0?!0:d,_=o.allowedAutoPlacements,h=e.options.placement,M=H(h),D=M===h,P=l||(D||!g?[me(h)]:Hr(h)),v=[h].concat(P).reduce(function(ae,k){return ae.concat(H(k)===u.o?Kr(e,{placement:k,boundary:c,rootBoundary:m,padding:p,flipVariations:g,allowedAutoPlacements:_}):k)},[]),y=e.rects.reference,T=e.rects.popper,R=new Map,b=!0,C=v[0],w=0;w<v.length;w++){var j=v[w],B=H(j),x=oe(j)===u.s,Y=[u.t,u.h].indexOf(B)>=0,X=Y?"width":"height",A=ce(e,{placement:j,boundary:c,rootBoundary:m,altBoundary:E,padding:p}),S=Y?x?u.r:u.l:x?u.h:u.t;y[X]>T[X]&&(S=me(S));var ne=me(S),Q=[];if(a&&Q.push(A[B]<=0),i&&Q.push(A[S]<=0,A[ne]<=0),Q.every(function(ae){return ae})){C=j,b=!1;break}R.set(j,Q)}if(b)for(var ge=g?3:1,Ae=function(k){var fe=v.find(function(Ee){var Z=R.get(Ee);if(Z)return Z.slice(0,k).every(function(Be){return Be})});if(fe)return C=fe,"break"},ue=ge;ue>0;ue--){var Oe=Ae(ue);if(Oe==="break")break}e.placement!==C&&(e.modifiersData[r]._skip=!0,e.placement=C,e.reset=!0)}}var Nr={name:"flip",enabled:!0,phase:"main",fn:$r,requiresIfExists:["offset"],data:{_skip:!1}};function Ze(t,e,o){return o===void 0&&(o={x:0,y:0}),{top:t.top-e.height-o.y,right:t.right-e.width+o.x,bottom:t.bottom-e.height+o.y,left:t.left-e.width-o.x}}function qe(t){return[u.t,u.r,u.h,u.l].some(function(e){return t[e]>=0})}function Vr(t){var e=t.state,o=t.name,r=e.rects.reference,n=e.rects.popper,a=e.modifiersData.preventOverflow,s=ce(e,{elementContext:"reference"}),i=ce(e,{altBoundary:!0}),l=Ze(s,r),p=Ze(i,n,a),c=qe(l),m=qe(p);e.modifiersData[o]={referenceClippingOffsets:l,popperEscapeOffsets:p,isReferenceHidden:c,hasPopperEscaped:m},e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-reference-hidden":c,"data-popper-escaped":m})}var Fr={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:Vr};function zr(t,e,o){var r=H(t),n=[u.l,u.t].indexOf(r)>=0?-1:1,a=typeof o=="function"?o(Object.assign({},e,{placement:t})):o,s=a[0],i=a[1];return s=s||0,i=(i||0)*n,[u.l,u.r].indexOf(r)>=0?{x:i,y:s}:{x:s,y:i}}function Yr(t){var e=t.state,o=t.options,r=t.name,n=o.offset,a=n===void 0?[0,0]:n,s=u.n.reduce(function(c,m){return c[m]=zr(m,e.rects,a),c},{}),i=s[e.placement],l=i.x,p=i.y;e.modifiersData.popperOffsets!=null&&(e.modifiersData.popperOffsets.x+=l,e.modifiersData.popperOffsets.y+=p),e.modifiersData[r]=s}var Xr={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:Yr};function kr(t){var e=t.state,o=t.name;e.modifiersData[o]=Qe({reference:e.rects.reference,element:e.rects.popper,strategy:"absolute",placement:e.placement})}var Gr={name:"popperOffsets",enabled:!0,phase:"read",fn:kr,data:{}};function Jr(t){return t==="x"?"y":"x"}function Qr(t){var e=t.state,o=t.options,r=t.name,n=o.mainAxis,a=n===void 0?!0:n,s=o.altAxis,i=s===void 0?!1:s,l=o.boundary,p=o.rootBoundary,c=o.altBoundary,m=o.padding,E=o.tether,d=E===void 0?!0:E,g=o.tetherOffset,_=g===void 0?0:g,h=ce(e,{boundary:l,rootBoundary:p,padding:m,altBoundary:c}),M=H(e.placement),D=oe(e.placement),P=!D,v=Te(M),y=Jr(v),T=e.modifiersData.popperOffsets,R=e.rects.reference,b=e.rects.popper,C=typeof _=="function"?_(Object.assign({},e.rects,{placement:e.placement})):_,w=typeof C=="number"?{mainAxis:C,altAxis:C}:Object.assign({mainAxis:0,altAxis:0},C),j=e.modifiersData.offset?e.modifiersData.offset[e.placement]:null,B={x:0,y:0};if(!!T){if(a){var x,Y=v==="y"?u.t:u.l,X=v==="y"?u.h:u.r,A=v==="y"?"height":"width",S=T[v],ne=S+h[Y],Q=S-h[X],ge=d?-b[A]/2:0,Ae=D===u.s?R[A]:b[A],ue=D===u.s?-b[A]:-R[A],Oe=e.elements.arrow,ae=d&&Oe?Pe(Oe):{width:0,height:0},k=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:Fe(),fe=k[Y],Ee=k[X],Z=se(0,R[A],ae[A]),Be=P?R[A]/2-ge-Z-fe-w.mainAxis:Ae-Z-fe-w.mainAxis,Io=P?-R[A]/2+ge+Z+Ee+w.mainAxis:ue+Z+Ee+w.mainAxis,Le=e.elements.arrow&&ie(e.elements.arrow),Wo=Le?v==="y"?Le.clientTop||0:Le.clientLeft||0:0,ht=(x=j==null?void 0:j[v])!=null?x:0,Uo=S+Be-ht-Wo,Ko=S+Io-ht,gt=se(d?de(ne,Uo):ne,S,d?G(Q,Ko):Q);T[v]=gt,B[v]=gt-S}if(i){var Ot,Ho=v==="x"?u.t:u.l,$o=v==="x"?u.h:u.r,q=T[y],ye=y==="y"?"height":"width",Et=q+h[Ho],yt=q-h[$o],Se=[u.t,u.l].indexOf(M)!==-1,Pt=(Ot=j==null?void 0:j[y])!=null?Ot:0,Tt=Se?Et:q-R[ye]-b[ye]-Pt+w.altAxis,Rt=Se?q+R[ye]+b[ye]-Pt-w.altAxis:yt,Mt=d&&Se?yr(Tt,q,Rt):se(d?Tt:Et,q,d?Rt:yt);T[y]=Mt,B[y]=Mt-q}e.modifiersData[r]=B}}var Zr={name:"preventOverflow",enabled:!0,phase:"main",fn:Qr,requiresIfExists:["offset"]};function qr(t){return{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}}function eo(t){return t===U(t)||!I(t)?Re(t):qr(t)}function to(t){var e=t.getBoundingClientRect(),o=te(e.width)/t.offsetWidth||1,r=te(e.height)/t.offsetHeight||1;return o!==1||r!==1}function ro(t,e,o){o===void 0&&(o=!1);var r=I(e),n=I(e)&&to(e),a=V(e),s=re(t,n),i={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(r||!r&&!o)&&((K(e)!=="body"||De(a))&&(i=eo(e)),I(e)?(l=re(e,!0),l.x+=e.clientLeft,l.y+=e.clientTop):a&&(l.x=Me(a))),{x:s.left+i.scrollLeft-l.x,y:s.top+i.scrollTop-l.y,width:s.width,height:s.height}}function oo(t){var e=new Map,o=new Set,r=[];t.forEach(function(a){e.set(a.name,a)});function n(a){o.add(a.name);var s=[].concat(a.requires||[],a.requiresIfExists||[]);s.forEach(function(i){if(!o.has(i)){var l=e.get(i);l&&n(l)}}),r.push(a)}return t.forEach(function(a){o.has(a.name)||n(a)}),r}function no(t){var e=oo(t);return u.q.reduce(function(o,r){return o.concat(e.filter(function(n){return n.phase===r}))},[])}function ao(t){var e;return function(){return e||(e=new Promise(function(o){Promise.resolve().then(function(){e=void 0,o(t())})})),e}}function F(t){for(var e=arguments.length,o=new Array(e>1?e-1:0),r=1;r<e;r++)o[r-1]=arguments[r];return[].concat(o).reduce(function(n,a){return n.replace(/%s/,a)},t)}var J='Popper: modifier "%s" provided an invalid %s property, expected %s but got %s',io='Popper: modifier "%s" requires "%s", but "%s" modifier is not available',et=null;function Dn(t){t.forEach(function(e){[].concat(Object.keys(e),et).filter(function(o,r,n){return n.indexOf(o)===r}).forEach(function(o){switch(o){case"name":typeof e.name!="string"&&console.error(F(J,String(e.name),'"name"','"string"','"'+String(e.name)+'"'));break;case"enabled":typeof e.enabled!="boolean"&&console.error(F(J,e.name,'"enabled"','"boolean"','"'+String(e.enabled)+'"'));break;case"phase":modifierPhases.indexOf(e.phase)<0&&console.error(F(J,e.name,'"phase"',"either "+modifierPhases.join(", "),'"'+String(e.phase)+'"'));break;case"fn":typeof e.fn!="function"&&console.error(F(J,e.name,'"fn"','"function"','"'+String(e.fn)+'"'));break;case"effect":e.effect!=null&&typeof e.effect!="function"&&console.error(F(J,e.name,'"effect"','"function"','"'+String(e.fn)+'"'));break;case"requires":e.requires!=null&&!Array.isArray(e.requires)&&console.error(F(J,e.name,'"requires"','"array"','"'+String(e.requires)+'"'));break;case"requiresIfExists":Array.isArray(e.requiresIfExists)||console.error(F(J,e.name,'"requiresIfExists"','"array"','"'+String(e.requiresIfExists)+'"'));break;case"options":case"data":break;default:console.error('PopperJS: an invalid property has been provided to the "'+e.name+'" modifier, valid properties are '+et.map(function(r){return'"'+r+'"'}).join(", ")+'; but "'+o+'" was provided.')}e.requires&&e.requires.forEach(function(r){t.find(function(n){return n.name===r})==null&&console.error(F(io,String(e.name),r,r))})})})}function bn(t,e){var o=new Set;return t.filter(function(r){var n=e(r);if(!o.has(n))return o.add(n),!0})}function so(t){var e=t.reduce(function(o,r){var n=o[r.name];return o[r.name]=n?Object.assign({},n,r,{options:Object.assign({},n.options,r.options),data:Object.assign({},n.data,r.data)}):r,o},{});return Object.keys(e).map(function(o){return e[o]})}var jn="Popper: Invalid reference or popper argument provided. They must be either a DOM element or virtual element.",Cn="Popper: An infinite loop in the modifiers cycle has been detected! The cycle has been interrupted to prevent a browser crash.",tt={placement:"bottom",modifiers:[],strategy:"absolute"};function rt(){for(var t=arguments.length,e=new Array(t),o=0;o<t;o++)e[o]=arguments[o];return!e.some(function(r){return!(r&&typeof r.getBoundingClientRect=="function")})}function lo(t){t===void 0&&(t={});var e=t,o=e.defaultModifiers,r=o===void 0?[]:o,n=e.defaultOptions,a=n===void 0?tt:n;return function(i,l,p){p===void 0&&(p=a);var c={placement:"bottom",orderedModifiers:[],options:Object.assign({},tt,a),modifiersData:{},elements:{reference:i,popper:l},attributes:{},styles:{}},m=[],E=!1,d={state:c,setOptions:function(M){var D=typeof M=="function"?M(c.options):M;_(),c.options=Object.assign({},a,c.options,D),c.scrollParents={reference:ee(i)?le(i):i.contextElement?le(i.contextElement):[],popper:le(l)};var P=no(so([].concat(r,c.options.modifiers)));if(c.orderedModifiers=P.filter(function(j){return j.enabled}),!1)var v,y,T,R,b,C,w;return g(),d.update()},forceUpdate:function(){if(!E){var M=c.elements,D=M.reference,P=M.popper;if(!!rt(D,P)){c.rects={reference:ro(D,ie(P),c.options.strategy==="fixed"),popper:Pe(P)},c.reset=!1,c.placement=c.options.placement,c.orderedModifiers.forEach(function(j){return c.modifiersData[j.name]=Object.assign({},j.data)});for(var v=0,y=0;y<c.orderedModifiers.length;y++){if(c.reset===!0){c.reset=!1,y=-1;continue}var T=c.orderedModifiers[y],R=T.fn,b=T.options,C=b===void 0?{}:b,w=T.name;typeof R=="function"&&(c=R({state:c,options:C,name:w,instance:d})||c)}}}},update:ao(function(){return new Promise(function(h){d.forceUpdate(),h(c)})}),destroy:function(){_(),E=!0}};if(!rt(i,l))return d;d.setOptions(p).then(function(h){!E&&p.onFirstUpdate&&p.onFirstUpdate(h)});function g(){c.orderedModifiers.forEach(function(h){var M=h.name,D=h.options,P=D===void 0?{}:D,v=h.effect;if(typeof v=="function"){var y=v({state:c,name:M,instance:d,options:P}),T=function(){};m.push(y||T)}})}function _(){m.forEach(function(h){return h()}),m=[]}return d}}var co=[xr,Gr,Cr,gr,Xr,Nr,Zr,Mr,Fr],uo=lo({defaultModifiers:co});function je(t,e){return je=Object.setPrototypeOf||function(r,n){return r.__proto__=n,r},je(t,e)}function ot(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,je(t,e)}var nt=O.createContext(),at=O.createContext();function fo(t){var e=t.children,o=O.useState(null),r=o[0],n=o[1],a=O.useRef(!1);O.useEffect(function(){return function(){a.current=!0}},[]);var s=O.useCallback(function(i){a.current||n(i)},[]);return O.createElement(nt.Provider,{value:r},O.createElement(at.Provider,{value:s},e))}var it=function(e){return Array.isArray(e)?e[0]:e},st=function(e){if(typeof e=="function"){for(var o=arguments.length,r=new Array(o>1?o-1:0),n=1;n<o;n++)r[n-1]=arguments[n];return e.apply(void 0,r)}},Ce=function(e,o){if(typeof e=="function")return st(e,o);e!=null&&(e.current=o)},lt=function(e){return e.reduce(function(o,r){var n=r[0],a=r[1];return o[n]=a,o},{})},ct=typeof window!="undefined"&&window.document&&window.document.createElement?O.useLayoutEffect:O.useEffect,po=typeof Element!="undefined",vo=typeof Map=="function",_o=typeof Set=="function",mo=typeof ArrayBuffer=="function"&&!!ArrayBuffer.isView;function he(t,e){if(t===e)return!0;if(t&&e&&pe(t)=="object"&&pe(e)=="object"){if(t.constructor!==e.constructor)return!1;var o,r,n;if(Array.isArray(t)){if(o=t.length,o!=e.length)return!1;for(r=o;r--!==0;)if(!he(t[r],e[r]))return!1;return!0}var a;if(vo&&t instanceof Map&&e instanceof Map){if(t.size!==e.size)return!1;for(a=t.entries();!(r=a.next()).done;)if(!e.has(r.value[0]))return!1;for(a=t.entries();!(r=a.next()).done;)if(!he(r.value[1],e.get(r.value[0])))return!1;return!0}if(_o&&t instanceof Set&&e instanceof Set){if(t.size!==e.size)return!1;for(a=t.entries();!(r=a.next()).done;)if(!e.has(r.value[0]))return!1;return!0}if(mo&&ArrayBuffer.isView(t)&&ArrayBuffer.isView(e)){if(o=t.length,o!=e.length)return!1;for(r=o;r--!==0;)if(t[r]!==e[r])return!1;return!0}if(t.constructor===RegExp)return t.source===e.source&&t.flags===e.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===e.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===e.toString();if(n=Object.keys(t),o=n.length,o!==Object.keys(e).length)return!1;for(r=o;r--!==0;)if(!Object.prototype.hasOwnProperty.call(e,n[r]))return!1;if(po&&t instanceof Element)return!1;for(r=o;r--!==0;)if(!((n[r]==="_owner"||n[r]==="__v"||n[r]==="__o")&&t.$$typeof)&&!he(t[n[r]],e[n[r]]))return!1;return!0}return t!==t&&e!==e}var ho=function(e,o){try{return he(e,o)}catch(r){if((r.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw r}},go=[],Oo=function(e,o,r){r===void 0&&(r={});var n=O.useRef(null),a={onFirstUpdate:r.onFirstUpdate,placement:r.placement||"bottom",strategy:r.strategy||"absolute",modifiers:r.modifiers||go},s=O.useState({styles:{popper:{position:a.strategy,left:"0",top:"0"},arrow:{position:"absolute"}},attributes:{}}),i=s[0],l=s[1],p=O.useMemo(function(){return{name:"updateState",enabled:!0,phase:"write",fn:function(d){var g=d.state,_=Object.keys(g.elements);l({styles:lt(_.map(function(h){return[h,g.styles[h]||{}]})),attributes:lt(_.map(function(h){return[h,g.attributes[h]]}))})},requires:["computeStyles"]}},[]),c=O.useMemo(function(){var E={onFirstUpdate:a.onFirstUpdate,placement:a.placement,strategy:a.strategy,modifiers:[].concat(a.modifiers,[p,{name:"applyStyles",enabled:!1}])};return ho(n.current,E)?n.current||E:(n.current=E,E)},[a.onFirstUpdate,a.placement,a.strategy,a.modifiers,p]),m=O.useRef();return ct(function(){m.current&&m.current.setOptions(c)},[c]),ct(function(){if(!(e==null||o==null)){var E=r.createPopper||uo,d=E(e,o,c);return m.current=d,function(){d.destroy(),m.current=null}}},[e,o,r.createPopper]),{state:m.current?m.current.state:null,styles:i.styles,attributes:i.attributes,update:m.current?m.current.update:null,forceUpdate:m.current?m.current.forceUpdate:null}},Eo=function(){},yo=function(){return Promise.resolve(null)},Po=[];function To(t){var e=t.placement,o=e===void 0?"bottom":e,r=t.strategy,n=r===void 0?"absolute":r,a=t.modifiers,s=a===void 0?Po:a,i=t.referenceElement,l=t.onFirstUpdate,p=t.innerRef,c=t.children,m=O.useContext(nt),E=O.useState(null),d=E[0],g=E[1],_=O.useState(null),h=_[0],M=_[1];O.useEffect(function(){Ce(p,d)},[p,d]);var D=O.useMemo(function(){return{placement:o,strategy:n,onFirstUpdate:l,modifiers:[].concat(s,[{name:"arrow",enabled:h!=null,options:{element:h}}])}},[o,n,l,s,h]),P=Oo(i||m,d,D),v=P.state,y=P.styles,T=P.forceUpdate,R=P.update,b=O.useMemo(function(){return{ref:g,style:y.popper,placement:v?v.placement:o,hasPopperEscaped:v&&v.modifiersData.hide?v.modifiersData.hide.hasPopperEscaped:null,isReferenceHidden:v&&v.modifiersData.hide?v.modifiersData.hide.isReferenceHidden:null,arrowProps:{style:y.arrow,ref:M},forceUpdate:T||Eo,update:R||yo}},[g,M,o,v,y,R,T]);return it(c)(b)}var Ro=!1,ut=function(){};if(Ro){var Mo=function(e,o){var r=arguments.length;o=new Array(r>1?r-1:0);for(var n=1;n<r;n++)o[n-1]=arguments[n];var a=0,s="Warning: "+e.replace(/%s/g,function(){return o[a++]});typeof console!="undefined"&&console.error(s);try{throw new Error(s)}catch(i){}};ut=function(e,o,r){var n=arguments.length;r=new Array(n>2?n-2:0);for(var a=2;a<n;a++)r[a-2]=arguments[a];if(o===void 0)throw new Error("`warning(condition, format, ...args)` requires a warning message argument");e||Mo.apply(null,[o].concat(r))}}var Do=ut;function bo(t){var e=t.children,o=t.innerRef,r=O.useContext(at),n=O.useCallback(function(a){Ce(o,a),st(r,a)},[o,r]);return O.useEffect(function(){return function(){return Ce(o,null)}}),O.useEffect(function(){Do(Boolean(r),"`Reference` should not be used outside of a `Manager` component.")},[r]),it(e)({ref:n})}var ft=O.createContext({}),$=function(){for(var e=arguments.length,o=new Array(e),r=0;r<e;r++)o[r]=arguments[r];return function(){for(var n=arguments.length,a=new Array(n),s=0;s<n;s++)a[s]=arguments[s];return o.forEach(function(i){return i&&i.apply(void 0,a)})}},jo=function(){},pt=function(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)},Co=function(e,o){if(typeof e=="function")return e(o);e!=null&&(e.current=o)},dt=function(t){ot(e,t);function e(){for(var r,n=arguments.length,a=new Array(n),s=0;s<n;s++)a[s]=arguments[s];return r=t.call.apply(t,[this].concat(a))||this,r.observer=void 0,r.tooltipRef=void 0,r.handleOutsideClick=function(i){if(r.tooltipRef&&!r.tooltipRef.contains(i.target)){var l=r.context.parentOutsideClickHandler,p=r.props,c=p.hideTooltip,m=p.clearScheduled;m(),c(),l&&l(i)}},r.handleOutsideRightClick=function(i){if(r.tooltipRef&&!r.tooltipRef.contains(i.target)){var l=r.context.parentOutsideRightClickHandler,p=r.props,c=p.hideTooltip,m=p.clearScheduled;m(),c(),l&&l(i)}},r.addOutsideClickHandler=function(){document.body.addEventListener("touchend",r.handleOutsideClick),document.body.addEventListener("click",r.handleOutsideClick)},r.removeOutsideClickHandler=function(){document.body.removeEventListener("touchend",r.handleOutsideClick),document.body.removeEventListener("click",r.handleOutsideClick)},r.addOutsideRightClickHandler=function(){return document.body.addEventListener("contextmenu",r.handleOutsideRightClick)},r.removeOutsideRightClickHandler=function(){return document.body.removeEventListener("contextmenu",r.handleOutsideRightClick)},r.getTooltipRef=function(i){r.tooltipRef=i,Co(r.props.innerRef,i)},r.getArrowProps=function(i){return i===void 0&&(i={}),(0,u.a)({},i,{style:(0,u.a)({},i.style,r.props.arrowProps.style)})},r.getTooltipProps=function(i){return i===void 0&&(i={}),(0,u.a)({},i,r.isTriggeredBy("hover")&&{onMouseEnter:$(r.props.clearScheduled,i.onMouseEnter),onMouseLeave:$(r.props.hideTooltip,i.onMouseLeave)},{style:(0,u.a)({},i.style,r.props.style)})},r.contextValue={isParentNoneTriggered:r.props.trigger==="none",addParentOutsideClickHandler:r.addOutsideClickHandler,addParentOutsideRightClickHandler:r.addOutsideRightClickHandler,parentOutsideClickHandler:r.handleOutsideClick,parentOutsideRightClickHandler:r.handleOutsideRightClick,removeParentOutsideClickHandler:r.removeOutsideClickHandler,removeParentOutsideRightClickHandler:r.removeOutsideRightClickHandler},r}var o=e.prototype;return o.componentDidMount=function(){var n=this,a=this.observer=new MutationObserver(function(){n.props.update()});if(a.observe(this.tooltipRef,this.props.mutationObserverOptions),this.isTriggeredBy("hover")||this.isTriggeredBy("click")||this.isTriggeredBy("right-click")){var s=this.context,i=s.removeParentOutsideClickHandler,l=s.removeParentOutsideRightClickHandler;this.addOutsideClickHandler(),this.addOutsideRightClickHandler(),i&&i(),l&&l()}},o.componentDidUpdate=function(){this.props.closeOnReferenceHidden&&this.props.isReferenceHidden&&this.props.hideTooltip()},o.componentWillUnmount=function(){if(this.observer&&this.observer.disconnect(),this.isTriggeredBy("hover")||this.isTriggeredBy("click")||this.isTriggeredBy("right-click")){var n=this.context,a=n.isParentNoneTriggered,s=n.addParentOutsideClickHandler,i=n.addParentOutsideRightClickHandler;this.removeOutsideClickHandler(),this.removeOutsideRightClickHandler(),this.handleOutsideClick=void 0,this.handleOutsideRightClick=void 0,!a&&s&&s(),!a&&i&&i()}},o.render=function(){var n=this.props,a=n.arrowProps,s=n.placement,i=n.tooltip;return O.createElement(ft.Provider,{value:this.contextValue},i({arrowRef:a.ref,getArrowProps:this.getArrowProps,getTooltipProps:this.getTooltipProps,placement:s,tooltipRef:this.getTooltipRef}))},o.isTriggeredBy=function(n){var a=this.props.trigger;return a===n||Array.isArray(a)&&a.includes(n)},e}(O.Component);dt.contextType=ft;var wo={childList:!0,subtree:!0},vt=function(t){ot(e,t);function e(){for(var r,n=arguments.length,a=new Array(n),s=0;s<n;s++)a[s]=arguments[s];return r=t.call.apply(t,[this].concat(a))||this,r.state={tooltipShown:r.props.defaultTooltipShown},r.hideTimeout=void 0,r.showTimeout=void 0,r.popperOffset=void 0,r.setTooltipState=function(i){var l=function(){return r.props.onVisibilityChange(i.tooltipShown)};r.isControlled()?l():r.setState(i,l)},r.clearScheduled=function(){clearTimeout(r.hideTimeout),clearTimeout(r.showTimeout)},r.showTooltip=function(i){var l=i.pageX,p=i.pageY;r.clearScheduled();var c={tooltipShown:!0};r.props.followCursor&&(c=(0,u.a)({},c,{pageX:l,pageY:p})),r.showTimeout=window.setTimeout(function(){return r.setTooltipState(c)},r.props.delayShow)},r.hideTooltip=function(){r.clearScheduled(),r.hideTimeout=window.setTimeout(function(){return r.setTooltipState({tooltipShown:!1})},r.props.delayHide)},r.toggleTooltip=function(i){var l=i.pageX,p=i.pageY,c=r.getState()?"hideTooltip":"showTooltip";r[c]({pageX:l,pageY:p})},r.clickToggle=function(i){i.preventDefault();var l=i.pageX,p=i.pageY,c=r.props.followCursor?"showTooltip":"toggleTooltip";r[c]({pageX:l,pageY:p})},r.contextMenuToggle=function(i){i.preventDefault();var l=i.pageX,p=i.pageY,c=r.props.followCursor?"showTooltip":"toggleTooltip";r[c]({pageX:l,pageY:p})},r.getTriggerProps=function(i){return i===void 0&&(i={}),(0,u.a)({},i,r.isTriggeredBy("click")&&{onClick:$(r.clickToggle,i.onClick),onTouchEnd:$(r.clickToggle,i.onTouchEnd)},r.isTriggeredBy("right-click")&&{onContextMenu:$(r.contextMenuToggle,i.onContextMenu)},r.isTriggeredBy("hover")&&(0,u.a)({onMouseEnter:$(r.showTooltip,i.onMouseEnter),onMouseLeave:$(r.hideTooltip,i.onMouseLeave)},r.props.followCursor&&{onMouseMove:$(r.showTooltip,i.onMouseMove)}),r.isTriggeredBy("focus")&&{onFocus:$(r.showTooltip,i.onFocus),onBlur:$(r.hideTooltip,i.onBlur)})},r}var o=e.prototype;return o.componentWillUnmount=function(){this.clearScheduled()},o.render=function(){var n=this,a=this.props,s=a.children,i=a.tooltip,l=a.placement,p=a.trigger,c=a.getTriggerRef,m=a.modifiers,E=a.closeOnReferenceHidden,d=a.usePortal,g=a.portalContainer,_=a.followCursor,h=a.getTooltipRef,M=a.mutationObserverOptions,D=(0,u._)(a,["children","tooltip","placement","trigger","getTriggerRef","modifiers","closeOnReferenceHidden","usePortal","portalContainer","followCursor","getTooltipRef","mutationObserverOptions"]),P=O.createElement(To,(0,u.a)({innerRef:h,placement:l,modifiers:[{name:"followCursor",enabled:_,phase:"main",fn:function(y){n.popperOffset=y.state.rects.popper}}].concat(m)},D),function(v){var y=v.ref,T=v.style,R=v.placement,b=v.arrowProps,C=v.isReferenceHidden,w=v.update;if(_&&n.popperOffset){var j=n.state,B=j.pageX,x=j.pageY,Y=n.popperOffset,X=Y.width,A=Y.height,S=B+X>window.pageXOffset+document.body.offsetWidth?B-X:B,ne=x+A>window.pageYOffset+document.body.offsetHeight?x-A:x;T.transform="translate3d("+S+"px, "+ne+"px, 0"}return O.createElement(dt,(0,u.a)({arrowProps:b,closeOnReferenceHidden:E,isReferenceHidden:C,placement:R,update:w,style:T,tooltip:i,trigger:p,mutationObserverOptions:M},{clearScheduled:n.clearScheduled,hideTooltip:n.hideTooltip,innerRef:y}))});return O.createElement(fo,null,O.createElement(bo,{innerRef:c},function(v){var y=v.ref;return s({getTriggerProps:n.getTriggerProps,triggerRef:y})}),this.getState()&&(d?(0,ir.createPortal)(P,g):P))},o.isControlled=function(){return this.props.tooltipShown!==void 0},o.getState=function(){return this.isControlled()?this.props.tooltipShown:this.state.tooltipShown},o.isTriggeredBy=function(n){var a=this.props.trigger;return a===n||Array.isArray(a)&&a.includes(n)},e}(O.Component);vt.defaultProps={closeOnReferenceHidden:!0,defaultTooltipShown:!1,delayHide:0,delayShow:0,followCursor:!1,onVisibilityChange:jo,placement:"right",portalContainer:pt()?document.body:null,trigger:"hover",usePortal:pt(),mutationObserverOptions:wo,modifiers:[]};var xo=vt,W=lr()(1e3)(function(t,e,o){var r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0;return e.split("-")[0]===t?o:r}),z=8,Ao=L.zo.div({position:"absolute",borderStyle:"solid"},function(t){var e=t.placement,o=0,r=0;switch(!0){case(e.startsWith("left")||e.startsWith("right")):{r=8;break}case(e.startsWith("top")||e.startsWith("bottom")):{o=8;break}}var n="translate3d(".concat(o,"px, ").concat(r,"px, 0px)");return{transform:n}},function(t){var e=t.theme,o=t.color,r=t.placement;return{bottom:"".concat(W("top",r,z*-1,"auto"),"px"),top:"".concat(W("bottom",r,z*-1,"auto"),"px"),right:"".concat(W("left",r,z*-1,"auto"),"px"),left:"".concat(W("right",r,z*-1,"auto"),"px"),borderBottomWidth:"".concat(W("top",r,"0",z),"px"),borderTopWidth:"".concat(W("bottom",r,"0",z),"px"),borderRightWidth:"".concat(W("left",r,"0",z),"px"),borderLeftWidth:"".concat(W("right",r,"0",z),"px"),borderTopColor:W("top",r,e.color[o]||o||e.base==="light"?(0,L.$n)(e.background.app):(0,L._j)(e.background.app),"transparent"),borderBottomColor:W("bottom",r,e.color[o]||o||e.base==="light"?(0,L.$n)(e.background.app):(0,L._j)(e.background.app),"transparent"),borderLeftColor:W("left",r,e.color[o]||o||e.base==="light"?(0,L.$n)(e.background.app):(0,L._j)(e.background.app),"transparent"),borderRightColor:W("right",r,e.color[o]||o||e.base==="light"?(0,L.$n)(e.background.app):(0,L._j)(e.background.app),"transparent")}}),Bo=L.zo.div(function(t){var e=t.hidden;return{display:e?"none":"inline-block",zIndex:2147483647}},function(t){var e=t.theme,o=t.color,r=t.hasChrome;return r?{background:e.color[o]||o||e.base==="light"?(0,L.$n)(e.background.app):(0,L._j)(e.background.app),filter:`
|
|
3
3
|
drop-shadow(0px 5px 5px rgba(0,0,0,0.05))
|
|
4
4
|
drop-shadow(0 1px 3px rgba(0,0,0,0.1))
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";(self.webpackChunk_sap_ux_ui_components=self.webpackChunk_sap_ux_ui_components||[]).push([[
|
|
1
|
+
"use strict";(self.webpackChunk_sap_ux_ui_components=self.webpackChunk_sap_ux_ui_components||[]).push([[453],{14453:(za,hr,v)=>{v.r(hr),v.d(hr,{ColorControl:()=>Hr,default:()=>Hr});var Nr=v(38892),Fa=v.n(Nr),zr=v(50998),$a=v.n(zr),Fr=v(65145),Xa=v.n(Fr),$r=v(74751),Va=v.n($r),Xr=v(29854),Ga=v.n(Xr),Vr=v(11316),Ja=v.n(Vr),Gr=v(15457),Qa=v.n(Gr),Jr=v(58864),Ya=v.n(Jr),Qr=v(49084),Za=v.n(Qr),Yr=v(37539),qa=v.n(Yr),Zr=v(21841),rt=v.n(Zr),qr=v(34126),et=v.n(qr),re=v(28742),at=v.n(re),ee=v(64685),tt=v.n(ee),ae=v(1338),nt=v.n(ae),te=v(29314),ot=v.n(te),ne=v(54907),st=v.n(ne),oe=v(15720),lt=v.n(oe),se=v(95017),it=v.n(se),le=v(20377),ut=v.n(le),ie=v(37189),ct=v.n(ie),ue=v(70264),vt=v.n(ue),ce=v(82138),ft=v.n(ce),ve=v(7642),_t=v.n(ve),fe=v(77096),dt=v.n(fe),_e=v(98026),ht=v.n(_e),D=v(18074),c=v(96832),A=v(57406),de=v(69469),mt=v.n(de),he=v(58897),gt=v.n(he),me=v(46163),Et=v.n(me),k,H;function P(a,r,e){return r in a?Object.defineProperty(a,r,{value:e,enumerable:!0,configurable:!0,writable:!0}):a[r]=e,a}function rr(a){return rr=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},rr(a)}function L(a,r){return pe(a)||be(a,r)||Ee(a,r)||ge()}function ge(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
2
2
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Ee(a,r){if(!!a){if(typeof a=="string")return mr(a,r);var e=Object.prototype.toString.call(a).slice(8,-1);if(e==="Object"&&a.constructor&&(e=a.constructor.name),e==="Map"||e==="Set")return Array.from(a);if(e==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))return mr(a,r)}}function mr(a,r){(r==null||r>a.length)&&(r=a.length);for(var e=0,t=new Array(r);e<r;e++)t[e]=a[e];return t}function be(a,r){var e=a==null?null:typeof Symbol!="undefined"&&a[Symbol.iterator]||a["@@iterator"];if(e!=null){var t=[],n=!0,o=!1,s,l;try{for(e=e.call(a);!(n=(s=e.next()).done)&&(t.push(s.value),!(r&&t.length===r));n=!0);}catch(i){o=!0,l=i}finally{try{!n&&e.return!=null&&e.return()}finally{if(o)throw l}}return t}}function pe(a){if(Array.isArray(a))return a}function W(){return(W=Object.assign||function(a){for(var r=1;r<arguments.length;r++){var e=arguments[r];for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&(a[t]=e[t])}return a}).apply(this,arguments)}function er(a,r){if(a==null)return{};var e,t,n={},o=Object.keys(a);for(t=0;t<o.length;t++)r.indexOf(e=o[t])>=0||(n[e]=a[e]);return n}function ar(a){var r=(0,c.useRef)(a),e=(0,c.useRef)(function(t){r.current&&r.current(t)});return r.current=a,e.current}var U=function(r,e,t){return e===void 0&&(e=0),t===void 0&&(t=1),r>t?t:r<e?e:r},N=function(r){return"touches"in r},tr=function(r){return r&&r.ownerDocument.defaultView||self},gr=function(r,e,t){var n=r.getBoundingClientRect(),o=N(e)?function(s,l){for(var i=0;i<s.length;i++)if(s[i].identifier===l)return s[i];return s[0]}(e.touches,t):e;return{left:U((o.pageX-(n.left+tr(r).pageXOffset))/n.width),top:U((o.pageY-(n.top+tr(r).pageYOffset))/n.height)}},Er=function(r){!N(r)&&r.preventDefault()},nr=c.memo(function(a){var r=a.onMove,e=a.onKey,t=er(a,["onMove","onKey"]),n=(0,c.useRef)(null),o=ar(r),s=ar(e),l=(0,c.useRef)(null),i=(0,c.useRef)(!1),u=(0,c.useMemo)(function(){var y=function(h){Er(h),(N(h)?h.touches.length>0:h.buttons>0)&&n.current?o(gr(n.current,h,l.current)):T(!1)},j=function(){return T(!1)};function T(b){var h=i.current,m=tr(n.current),E=b?m.addEventListener:m.removeEventListener;E(h?"touchmove":"mousemove",y),E(h?"touchend":"mouseup",j)}return[function(b){var h=b.nativeEvent,m=n.current;if(m&&(Er(h),!function(O,x){return x&&!N(O)}(h,i.current)&&m)){if(N(h)){i.current=!0;var E=h.changedTouches||[];E.length&&(l.current=E[0].identifier)}m.focus(),o(gr(m,h,l.current)),T(!0)}},function(b){var h=b.which||b.keyCode;h<37||h>40||(b.preventDefault(),s({left:h===39?.05:h===37?-.05:0,top:h===40?.05:h===38?-.05:0}))},T]},[s,o]),_=u[0],d=u[1],p=u[2];return(0,c.useEffect)(function(){return p},[p]),c.createElement("div",W({},t,{onTouchStart:_,onMouseDown:_,className:"react-colorful__interactive",ref:n,onKeyDown:d,tabIndex:0,role:"slider"}))}),z=function(r){return r.filter(Boolean).join(" ")},or=function(r){var e=r.color,t=r.left,n=r.top,o=n===void 0?.5:n,s=z(["react-colorful__pointer",r.className]);return c.createElement("div",{className:s,style:{top:100*o+"%",left:100*t+"%"}},c.createElement("div",{className:"react-colorful__pointer-fill",style:{backgroundColor:e}}))},C=function(r,e,t){return e===void 0&&(e=0),t===void 0&&(t=Math.pow(10,e)),Math.round(t*r)/t},Me={grad:.9,turn:360,rad:360/(2*Math.PI)},sr=function(r){return r[0]==="#"&&(r=r.substr(1)),r.length<6?{r:parseInt(r[0]+r[0],16),g:parseInt(r[1]+r[1],16),b:parseInt(r[2]+r[2],16),a:1}:{r:parseInt(r.substr(0,2),16),g:parseInt(r.substr(2,2),16),b:parseInt(r.substr(4,2),16),a:1}},ye=function(r,e){return e===void 0&&(e="deg"),Number(r)*(Me[e]||1)},Oe=function(r){var e=/hsla?\(?\s*(-?\d*\.?\d+)(deg|rad|grad|turn)?[,\s]+(-?\d*\.?\d+)%?[,\s]+(-?\d*\.?\d+)%?,?\s*[/\s]*(-?\d*\.?\d+)?(%)?\s*\)?/i.exec(r);return e?Pe({h:ye(e[1],e[2]),s:Number(e[3]),l:Number(e[4]),a:e[5]===void 0?1:Number(e[5])/(e[6]?100:1)}):{h:0,s:0,v:0,a:1}},Pe=function(r){var e=r.s,t=r.l;return{h:r.h,s:(e*=(t<50?t:100-t)/100)>0?2*e/(t+e)*100:0,v:t+e,a:r.a}},br=function(r){var e=r.s,t=r.v,n=r.a,o=(200-e)*t/100;return{h:C(r.h),s:C(o>0&&o<200?e*t/100/(o<=100?o:200-o)*100:0),l:C(o/2),a:C(n,2)}},lr=function(r){var e=br(r);return"hsl("+e.h+", "+e.s+"%, "+e.l+"%)"},V=function(r){var e=br(r);return"hsla("+e.h+", "+e.s+"%, "+e.l+"%, "+e.a+")"},pr=function(r){var e=r.h,t=r.s,n=r.v,o=r.a;e=e/360*6,t/=100,n/=100;var s=Math.floor(e),l=n*(1-t),i=n*(1-(e-s)*t),u=n*(1-(1-e+s)*t),_=s%6;return{r:C(255*[n,i,l,l,u,n][_]),g:C(255*[u,n,n,i,l,l][_]),b:C(255*[l,l,u,n,n,i][_]),a:C(o,2)}},Ce=function(r){var e=/rgba?\(?\s*(-?\d*\.?\d+)(%)?[,\s]+(-?\d*\.?\d+)(%)?[,\s]+(-?\d*\.?\d+)(%)?,?\s*[/\s]*(-?\d*\.?\d+)?(%)?\s*\)?/i.exec(r);return e?Mr({r:Number(e[1])/(e[2]?100/255:1),g:Number(e[3])/(e[4]?100/255:1),b:Number(e[5])/(e[6]?100/255:1),a:e[7]===void 0?1:Number(e[7])/(e[8]?100:1)}):{h:0,s:0,v:0,a:1}},ir=function(r){var e=r.toString(16);return e.length<2?"0"+e:e},Mr=function(r){var e=r.r,t=r.g,n=r.b,o=r.a,s=Math.max(e,t,n),l=s-Math.min(e,t,n),i=l?s===e?(t-n)/l:s===t?2+(n-e)/l:4+(e-t)/l:0;return{h:C(60*(i<0?i+6:i)),s:C(s?l/s*100:0),v:C(s/255*100),a:o}},yr=c.memo(function(a){var r=a.hue,e=a.onChange,t=z(["react-colorful__hue",a.className]);return c.createElement("div",{className:t},c.createElement(nr,{onMove:function(o){e({h:360*o.left})},onKey:function(o){e({h:U(r+360*o.left,0,360)})},"aria-label":"Hue","aria-valuetext":C(r)},c.createElement(or,{className:"react-colorful__hue-pointer",left:r/360,color:lr({h:r,s:100,v:100,a:1})})))}),Or=c.memo(function(a){var r=a.hsva,e=a.onChange,t={backgroundColor:lr({h:r.h,s:100,v:100,a:1})};return c.createElement("div",{className:"react-colorful__saturation",style:t},c.createElement(nr,{onMove:function(o){e({s:100*o.left,v:100-100*o.top})},onKey:function(o){e({s:U(r.s+100*o.left,0,100),v:U(r.v-100*o.top,0,100)})},"aria-label":"Color","aria-valuetext":"Saturation "+C(r.s)+"%, Brightness "+C(r.v)+"%"},c.createElement(or,{className:"react-colorful__saturation-pointer",top:1-r.v/100,left:r.s/100,color:lr(r)})))}),Pr=function(r,e){if(r===e)return!0;for(var t in r)if(r[t]!==e[t])return!1;return!0},Cr=function(r,e){return r.replace(/\s/g,"")===e.replace(/\s/g,"")};function jr(a,r,e){var t=ar(e),n=(0,c.useState)(function(){return a.toHsva(r)}),o=n[0],s=n[1],l=(0,c.useRef)({color:r,hsva:o});(0,c.useEffect)(function(){if(!a.equal(r,l.current.color)){var u=a.toHsva(r);l.current={hsva:u,color:r},s(u)}},[r,a]),(0,c.useEffect)(function(){var u;Pr(o,l.current.hsva)||a.equal(u=a.fromHsva(o),l.current.color)||(l.current={hsva:o,color:u},t(u))},[o,a,t]);var i=(0,c.useCallback)(function(u){s(function(_){return Object.assign({},_,u)})},[]);return[o,i]}for(var je=typeof window!="undefined"?c.useLayoutEffect:c.useEffect,xe=function(){return v.nc},xr=new Map,Dr=function(r){je(function(){var e=r.current?r.current.ownerDocument:document;if(e!==void 0&&!xr.has(e)){var t=e.createElement("style");t.innerHTML=`.react-colorful{position:relative;display:flex;flex-direction:column;width:200px;height:200px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.react-colorful__saturation{position:relative;flex-grow:1;border-color:transparent;border-bottom:12px solid #000;border-radius:8px 8px 0 0;background-image:linear-gradient(0deg,#000,transparent),linear-gradient(90deg,#fff,hsla(0,0%,100%,0))}.react-colorful__alpha-gradient,.react-colorful__pointer-fill{content:"";position:absolute;left:0;top:0;right:0;bottom:0;pointer-events:none;border-radius:inherit}.react-colorful__alpha-gradient,.react-colorful__saturation{box-shadow:inset 0 0 0 1px rgba(0,0,0,.05)}.react-colorful__alpha,.react-colorful__hue{position:relative;height:24px}.react-colorful__hue{background:linear-gradient(90deg,red 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red)}.react-colorful__last-control{border-radius:0 0 8px 8px}.react-colorful__interactive{position:absolute;left:0;top:0;right:0;bottom:0;border-radius:inherit;outline:none;touch-action:none}.react-colorful__pointer{position:absolute;z-index:1;box-sizing:border-box;width:28px;height:28px;transform:translate(-50%,-50%);background-color:#fff;border:2px solid #fff;border-radius:50%;box-shadow:0 2px 4px rgba(0,0,0,.2)}.react-colorful__interactive:focus .react-colorful__pointer{transform:translate(-50%,-50%) scale(1.1)}.react-colorful__alpha,.react-colorful__alpha-pointer{background-color:#fff;background-image:url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill-opacity=".05"><path d="M8 0h8v8H8zM0 8h8v8H0z"/></svg>')}.react-colorful__saturation-pointer{z-index:3}.react-colorful__hue-pointer{z-index:2}`,xr.set(e,t);var n=xe();n&&t.setAttribute("nonce",n),e.head.appendChild(t)}},[])},De=function(r){var e=r.className,t=r.colorModel,n=r.color,o=n===void 0?t.defaultColor:n,s=r.onChange,l=er(r,["className","colorModel","color","onChange"]),i=(0,c.useRef)(null);Dr(i);var u=jr(t,o,s),_=u[0],d=u[1],p=z(["react-colorful",e]);return c.createElement("div",W({},l,{ref:i,className:p}),c.createElement(Or,{hsva:_,onChange:d}),c.createElement(yr,{hue:_.h,onChange:d,className:"react-colorful__last-control"}))},Ie={defaultColor:"000",toHsva:function(r){return Mr(sr(r))},fromHsva:function(r){return t=(e=pr(r)).g,n=e.b,"#"+ir(e.r)+ir(t)+ir(n);var e,t,n},equal:function(r,e){return r.toLowerCase()===e.toLowerCase()||Pr(sr(r),sr(e))}},Re=function(r){return c.createElement(De,W({},r,{colorModel:Ie}))},Te=function(r){var e=r.className,t=r.hsva,n=r.onChange,o={backgroundImage:"linear-gradient(90deg, "+V(Object.assign({},t,{a:0}))+", "+V(Object.assign({},t,{a:1}))+")"},s=z(["react-colorful__alpha",e]);return c.createElement("div",{className:s},c.createElement("div",{className:"react-colorful__alpha-gradient",style:o}),c.createElement(nr,{onMove:function(i){n({a:i.left})},onKey:function(i){n({a:U(t.a+i.left)})},"aria-label":"Alpha","aria-valuetext":C(100*t.a)+"%"},c.createElement(or,{className:"react-colorful__alpha-pointer",left:t.a,color:V(t)})))},Ir=function(r){var e=r.className,t=r.colorModel,n=r.color,o=n===void 0?t.defaultColor:n,s=r.onChange,l=er(r,["className","colorModel","color","onChange"]),i=(0,c.useRef)(null);Dr(i);var u=jr(t,o,s),_=u[0],d=u[1],p=z(["react-colorful",e]);return c.createElement("div",W({},l,{ref:i,className:p}),c.createElement(Or,{hsva:_,onChange:d}),c.createElement(yr,{hue:_.h,onChange:d}),c.createElement(Te,{hsva:_,onChange:d,className:"react-colorful__last-control"}))},Le={defaultColor:"hsla(0, 0%, 0%, 1)",toHsva:Oe,fromHsva:V,equal:Cr},we=function(r){return c.createElement(Ir,W({},r,{colorModel:Le}))},Be={defaultColor:"rgba(0, 0, 0, 1)",toHsva:Ce,fromHsva:function(r){var e=pr(r);return"rgba("+e.r+", "+e.g+", "+e.b+", "+e.a+")"},equal:Cr},Ae=function(r){return c.createElement(Ir,W({},r,{colorModel:Be}))},We={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},F=We,Rr={},ur=0,Tr=Object.keys(F);ur<Tr.length;ur++){var Lr=Tr[ur];Rr[F[Lr]]=Lr}for(var f={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}},wr=f,cr=0,Br=Object.keys(f);cr<Br.length;cr++){var I=Br[cr];if(!("channels"in f[I]))throw new Error("missing channels property: "+I);if(!("labels"in f[I]))throw new Error("missing channel labels property: "+I);if(f[I].labels.length!==f[I].channels)throw new Error("channel and label counts mismatch: "+I);var Ar=f[I],Ke=Ar.channels,Ue=Ar.labels;delete f[I].channels,delete f[I].labels,Object.defineProperty(f[I],"channels",{value:Ke}),Object.defineProperty(f[I],"labels",{value:Ue})}f.rgb.hsl=function(a){var r=a[0]/255,e=a[1]/255,t=a[2]/255,n=Math.min(r,e,t),o=Math.max(r,e,t),s=o-n,l,i;o===n?l=0:r===o?l=(e-t)/s:e===o?l=2+(t-r)/s:t===o&&(l=4+(r-e)/s),l=Math.min(l*60,360),l<0&&(l+=360);var u=(n+o)/2;return o===n?i=0:u<=.5?i=s/(o+n):i=s/(2-o-n),[l,i*100,u*100]},f.rgb.hsv=function(a){var r,e,t,n,o,s=a[0]/255,l=a[1]/255,i=a[2]/255,u=Math.max(s,l,i),_=u-Math.min(s,l,i),d=function(y){return(u-y)/6/_+1/2};return _===0?(n=0,o=0):(o=_/u,r=d(s),e=d(l),t=d(i),s===u?n=t-e:l===u?n=1/3+r-t:i===u&&(n=2/3+e-r),n<0?n+=1:n>1&&(n-=1)),[n*360,o*100,u*100]},f.rgb.hwb=function(a){var r=a[0],e=a[1],t=a[2],n=f.rgb.hsl(a)[0],o=1/255*Math.min(r,Math.min(e,t));return t=1-1/255*Math.max(r,Math.max(e,t)),[n,o*100,t*100]},f.rgb.cmyk=function(a){var r=a[0]/255,e=a[1]/255,t=a[2]/255,n=Math.min(1-r,1-e,1-t),o=(1-r-n)/(1-n)||0,s=(1-e-n)/(1-n)||0,l=(1-t-n)/(1-n)||0;return[o*100,s*100,l*100,n*100]};function Se(a,r){return Math.pow(a[0]-r[0],2)+Math.pow(a[1]-r[1],2)+Math.pow(a[2]-r[2],2)}f.rgb.keyword=function(a){var r=Rr[a];if(r)return r;for(var e=1/0,t,n=0,o=Object.keys(F);n<o.length;n++){var s=o[n],l=F[s],i=Se(a,l);i<e&&(e=i,t=s)}return t},f.keyword.rgb=function(a){return F[a]},f.rgb.xyz=function(a){var r=a[0]/255,e=a[1]/255,t=a[2]/255;r=r>.04045?Math.pow((r+.055)/1.055,2.4):r/12.92,e=e>.04045?Math.pow((e+.055)/1.055,2.4):e/12.92,t=t>.04045?Math.pow((t+.055)/1.055,2.4):t/12.92;var n=r*.4124+e*.3576+t*.1805,o=r*.2126+e*.7152+t*.0722,s=r*.0193+e*.1192+t*.9505;return[n*100,o*100,s*100]},f.rgb.lab=function(a){var r=f.rgb.xyz(a),e=r[0],t=r[1],n=r[2];e/=95.047,t/=100,n/=108.883,e=e>.008856?Math.pow(e,1/3):7.787*e+16/116,t=t>.008856?Math.pow(t,1/3):7.787*t+16/116,n=n>.008856?Math.pow(n,1/3):7.787*n+16/116;var o=116*t-16,s=500*(e-t),l=200*(t-n);return[o,s,l]},f.hsl.rgb=function(a){var r=a[0]/360,e=a[1]/100,t=a[2]/100,n,o,s;if(e===0)return s=t*255,[s,s,s];t<.5?n=t*(1+e):n=t+e-t*e;for(var l=2*t-n,i=[0,0,0],u=0;u<3;u++)o=r+1/3*-(u-1),o<0&&o++,o>1&&o--,6*o<1?s=l+(n-l)*6*o:2*o<1?s=n:3*o<2?s=l+(n-l)*(2/3-o)*6:s=l,i[u]=s*255;return i},f.hsl.hsv=function(a){var r=a[0],e=a[1]/100,t=a[2]/100,n=e,o=Math.max(t,.01);t*=2,e*=t<=1?t:2-t,n*=o<=1?o:2-o;var s=(t+e)/2,l=t===0?2*n/(o+n):2*e/(t+e);return[r,l*100,s*100]},f.hsv.rgb=function(a){var r=a[0]/60,e=a[1]/100,t=a[2]/100,n=Math.floor(r)%6,o=r-Math.floor(r),s=255*t*(1-e),l=255*t*(1-e*o),i=255*t*(1-e*(1-o));switch(t*=255,n){case 0:return[t,i,s];case 1:return[l,t,s];case 2:return[s,t,i];case 3:return[s,l,t];case 4:return[i,s,t];case 5:return[t,s,l]}},f.hsv.hsl=function(a){var r=a[0],e=a[1]/100,t=a[2]/100,n=Math.max(t,.01),o,s;s=(2-e)*t;var l=(2-e)*n;return o=e*n,o/=l<=1?l:2-l,o=o||0,s/=2,[r,o*100,s*100]},f.hwb.rgb=function(a){var r=a[0]/360,e=a[1]/100,t=a[2]/100,n=e+t,o;n>1&&(e/=n,t/=n);var s=Math.floor(6*r),l=1-t;o=6*r-s,(s&1)!==0&&(o=1-o);var i=e+o*(l-e),u,_,d;switch(s){default:case 6:case 0:u=l,_=i,d=e;break;case 1:u=i,_=l,d=e;break;case 2:u=e,_=l,d=i;break;case 3:u=e,_=i,d=l;break;case 4:u=i,_=e,d=l;break;case 5:u=l,_=e,d=i;break}return[u*255,_*255,d*255]},f.cmyk.rgb=function(a){var r=a[0]/100,e=a[1]/100,t=a[2]/100,n=a[3]/100,o=1-Math.min(1,r*(1-n)+n),s=1-Math.min(1,e*(1-n)+n),l=1-Math.min(1,t*(1-n)+n);return[o*255,s*255,l*255]},f.xyz.rgb=function(a){var r=a[0]/100,e=a[1]/100,t=a[2]/100,n,o,s;return n=r*3.2406+e*-1.5372+t*-.4986,o=r*-.9689+e*1.8758+t*.0415,s=r*.0557+e*-.204+t*1.057,n=n>.0031308?1.055*Math.pow(n,1/2.4)-.055:n*12.92,o=o>.0031308?1.055*Math.pow(o,1/2.4)-.055:o*12.92,s=s>.0031308?1.055*Math.pow(s,1/2.4)-.055:s*12.92,n=Math.min(Math.max(0,n),1),o=Math.min(Math.max(0,o),1),s=Math.min(Math.max(0,s),1),[n*255,o*255,s*255]},f.xyz.lab=function(a){var r=a[0],e=a[1],t=a[2];r/=95.047,e/=100,t/=108.883,r=r>.008856?Math.pow(r,1/3):7.787*r+16/116,e=e>.008856?Math.pow(e,1/3):7.787*e+16/116,t=t>.008856?Math.pow(t,1/3):7.787*t+16/116;var n=116*e-16,o=500*(r-e),s=200*(e-t);return[n,o,s]},f.lab.xyz=function(a){var r=a[0],e=a[1],t=a[2],n,o,s;o=(r+16)/116,n=e/500+o,s=o-t/200;var l=Math.pow(o,3),i=Math.pow(n,3),u=Math.pow(s,3);return o=l>.008856?l:(o-16/116)/7.787,n=i>.008856?i:(n-16/116)/7.787,s=u>.008856?u:(s-16/116)/7.787,n*=95.047,o*=100,s*=108.883,[n,o,s]},f.lab.lch=function(a){var r=a[0],e=a[1],t=a[2],n,o=Math.atan2(t,e);n=o*360/2/Math.PI,n<0&&(n+=360);var s=Math.sqrt(e*e+t*t);return[r,s,n]},f.lch.lab=function(a){var r=a[0],e=a[1],t=a[2],n=t/360*2*Math.PI,o=e*Math.cos(n),s=e*Math.sin(n);return[r,o,s]},f.rgb.ansi16=function(a){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,e=L(a,3),t=e[0],n=e[1],o=e[2],s=r===null?f.rgb.hsv(a)[2]:r;if(s=Math.round(s/50),s===0)return 30;var l=30+(Math.round(o/255)<<2|Math.round(n/255)<<1|Math.round(t/255));return s===2&&(l+=60),l},f.hsv.ansi16=function(a){return f.rgb.ansi16(f.hsv.rgb(a),a[2])},f.rgb.ansi256=function(a){var r=a[0],e=a[1],t=a[2];if(r===e&&e===t)return r<8?16:r>248?231:Math.round((r-8)/247*24)+232;var n=16+36*Math.round(r/255*5)+6*Math.round(e/255*5)+Math.round(t/255*5);return n},f.ansi16.rgb=function(a){var r=a%10;if(r===0||r===7)return a>50&&(r+=3.5),r=r/10.5*255,[r,r,r];var e=(~~(a>50)+1)*.5,t=(r&1)*e*255,n=(r>>1&1)*e*255,o=(r>>2&1)*e*255;return[t,n,o]},f.ansi256.rgb=function(a){if(a>=232){var r=(a-232)*10+8;return[r,r,r]}a-=16;var e,t=Math.floor(a/36)/5*255,n=Math.floor((e=a%36)/6)/5*255,o=e%6/5*255;return[t,n,o]},f.rgb.hex=function(a){var r=((Math.round(a[0])&255)<<16)+((Math.round(a[1])&255)<<8)+(Math.round(a[2])&255),e=r.toString(16).toUpperCase();return"000000".substring(e.length)+e},f.hex.rgb=function(a){var r=a.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!r)return[0,0,0];var e=r[0];r[0].length===3&&(e=e.split("").map(function(l){return l+l}).join(""));var t=parseInt(e,16),n=t>>16&255,o=t>>8&255,s=t&255;return[n,o,s]},f.rgb.hcg=function(a){var r=a[0]/255,e=a[1]/255,t=a[2]/255,n=Math.max(Math.max(r,e),t),o=Math.min(Math.min(r,e),t),s=n-o,l,i;return s<1?l=o/(1-s):l=0,s<=0?i=0:n===r?i=(e-t)/s%6:n===e?i=2+(t-r)/s:i=4+(r-e)/s,i/=6,i%=1,[i*360,s*100,l*100]},f.hsl.hcg=function(a){var r=a[1]/100,e=a[2]/100,t=e<.5?2*r*e:2*r*(1-e),n=0;return t<1&&(n=(e-.5*t)/(1-t)),[a[0],t*100,n*100]},f.hsv.hcg=function(a){var r=a[1]/100,e=a[2]/100,t=r*e,n=0;return t<1&&(n=(e-t)/(1-t)),[a[0],t*100,n*100]},f.hcg.rgb=function(a){var r=a[0]/360,e=a[1]/100,t=a[2]/100;if(e===0)return[t*255,t*255,t*255];var n=[0,0,0],o=r%1*6,s=o%1,l=1-s,i=0;switch(Math.floor(o)){case 0:n[0]=1,n[1]=s,n[2]=0;break;case 1:n[0]=l,n[1]=1,n[2]=0;break;case 2:n[0]=0,n[1]=1,n[2]=s;break;case 3:n[0]=0,n[1]=l,n[2]=1;break;case 4:n[0]=s,n[1]=0,n[2]=1;break;default:n[0]=1,n[1]=0,n[2]=l}return i=(1-e)*t,[(e*n[0]+i)*255,(e*n[1]+i)*255,(e*n[2]+i)*255]},f.hcg.hsv=function(a){var r=a[1]/100,e=a[2]/100,t=r+e*(1-r),n=0;return t>0&&(n=r/t),[a[0],n*100,t*100]},f.hcg.hsl=function(a){var r=a[1]/100,e=a[2]/100,t=e*(1-r)+.5*r,n=0;return t>0&&t<.5?n=r/(2*t):t>=.5&&t<1&&(n=r/(2*(1-t))),[a[0],n*100,t*100]},f.hcg.hwb=function(a){var r=a[1]/100,e=a[2]/100,t=r+e*(1-r);return[a[0],(t-r)*100,(1-t)*100]},f.hwb.hcg=function(a){var r=a[1]/100,e=a[2]/100,t=1-e,n=t-r,o=0;return n<1&&(o=(t-n)/(1-n)),[a[0],n*100,o*100]},f.apple.rgb=function(a){return[a[0]/65535*255,a[1]/65535*255,a[2]/65535*255]},f.rgb.apple=function(a){return[a[0]/255*65535,a[1]/255*65535,a[2]/255*65535]},f.gray.rgb=function(a){return[a[0]/100*255,a[0]/100*255,a[0]/100*255]},f.gray.hsl=function(a){return[0,0,a[0]]},f.gray.hsv=f.gray.hsl,f.gray.hwb=function(a){return[0,100,a[0]]},f.gray.cmyk=function(a){return[0,0,0,a[0]]},f.gray.lab=function(a){return[a[0],0,0]},f.gray.hex=function(a){var r=Math.round(a[0]/100*255)&255,e=(r<<16)+(r<<8)+r,t=e.toString(16).toUpperCase();return"000000".substring(t.length)+t},f.rgb.gray=function(a){var r=(a[0]+a[1]+a[2])/3;return[r/255*100]};var G=wr;function ke(){for(var a={},r=Object.keys(G),e=r.length,t=0;t<e;t++)a[r[t]]={distance:-1,parent:null};return a}function He(a){var r=ke(),e=[a];for(r[a].distance=0;e.length;)for(var t=e.pop(),n=Object.keys(G[t]),o=n.length,s=0;s<o;s++){var l=n[s],i=r[l];i.distance===-1&&(i.distance=r[t].distance+1,i.parent=t,e.unshift(l))}return r}function Ne(a,r){return function(e){return r(a(e))}}function ze(a,r){for(var e=[r[a].parent,a],t=G[r[a].parent][a],n=r[a].parent;r[n].parent;)e.unshift(r[n].parent),t=Ne(G[r[n].parent][n],t),n=r[n].parent;return t.conversion=e,t}var Fe=function(r){for(var e=He(r),t={},n=Object.keys(e),o=n.length,s=0;s<o;s++){var l=n[s],i=e[l];i.parent!==null&&(t[l]=ze(l,e))}return t},vr=wr,$e=Fe,S={},Xe=Object.keys(vr);function Ve(a){var r=function(){for(var t=arguments.length,n=new Array(t),o=0;o<t;o++)n[o]=arguments[o];var s=n[0];return s==null?s:(s.length>1&&(n=s),a(n))};return"conversion"in a&&(r.conversion=a.conversion),r}function Ge(a){var r=function(){for(var t=arguments.length,n=new Array(t),o=0;o<t;o++)n[o]=arguments[o];var s=n[0];if(s==null)return s;s.length>1&&(n=s);var l=a(n);if(rr(l)==="object")for(var i=l.length,u=0;u<i;u++)l[u]=Math.round(l[u]);return l};return"conversion"in a&&(r.conversion=a.conversion),r}Xe.forEach(function(a){S[a]={},Object.defineProperty(S[a],"channels",{value:vr[a].channels}),Object.defineProperty(S[a],"labels",{value:vr[a].labels});var r=$e(a),e=Object.keys(r);e.forEach(function(t){var n=r[t];S[a][t]=Ge(n),S[a][t].raw=Ve(n)})});var R=S,Je=D.u,Qe=function(){return Je.Date.now()},Ye=Qe,Ze=/\s/;function qe(a){for(var r=a.length;r--&&Ze.test(a.charAt(r)););return r}var ra=qe,ea=ra,aa=/^\s+/;function ta(a){return a&&a.slice(0,ea(a)+1).replace(aa,"")}var na=ta,oa=na,Wr=D.x,sa=D.y,Kr=0/0,la=/^[-+]0x[0-9a-f]+$/i,ia=/^0b[01]+$/i,ua=/^0o[0-7]+$/i,ca=parseInt;function va(a){if(typeof a=="number")return a;if(sa(a))return Kr;if(Wr(a)){var r=typeof a.valueOf=="function"?a.valueOf():a;a=Wr(r)?r+"":r}if(typeof a!="string")return a===0?a:+a;a=oa(a);var e=ia.test(a);return e||ua.test(a)?ca(a.slice(2),e?2:8):la.test(a)?Kr:+a}var fa=va,_a=D.x,fr=Ye,Ur=fa,da="Expected a function",ha=Math.max,ma=Math.min;function ga(a,r,e){var t,n,o,s,l,i,u=0,_=!1,d=!1,p=!0;if(typeof a!="function")throw new TypeError(da);r=Ur(r)||0,_a(e)&&(_=!!e.leading,d="maxWait"in e,o=d?ha(Ur(e.maxWait)||0,r):o,p="trailing"in e?!!e.trailing:p);function y(M){var w=t,B=n;return t=n=void 0,u=M,s=a.apply(B,w),s}function j(M){return u=M,l=setTimeout(h,r),_?y(M):s}function T(M){var w=M-i,B=M-u,Z=r-w;return d?ma(Z,o-B):Z}function b(M){var w=M-i,B=M-u;return i===void 0||w>=r||w<0||d&&B>=o}function h(){var M=fr();if(b(M))return m(M);l=setTimeout(h,T(M))}function m(M){return l=void 0,p&&t?y(M):(t=n=void 0,s)}function E(){l!==void 0&&clearTimeout(l),u=0,t=i=n=l=void 0}function O(){return l===void 0?s:m(fr())}function x(){var M=fr(),w=b(M);if(t=arguments,n=this,i=M,w){if(l===void 0)return j(i);if(d)return clearTimeout(l),l=setTimeout(h,r),y(i)}return l===void 0&&(l=setTimeout(h,r)),s}return x.cancel=E,x.flush=O,x}var Ea=ga,ba=Ea,pa=D.x,Ma="Expected a function";function ya(a,r,e){var t=!0,n=!0;if(typeof a!="function")throw new TypeError(Ma);return pa(e)&&(t="leading"in e?!!e.leading:t,n="trailing"in e?!!e.trailing:n),ba(a,r,{leading:t,maxWait:r,trailing:n})}var Oa=ya,Pa=A.zo.div({position:"relative",maxWidth:250}),Ca=(0,A.zo)(D.W)({position:"absolute",zIndex:1,top:4,left:4}),ja=A.zo.div({width:200,margin:5,".react-colorful__saturation":{borderRadius:"4px 4px 0 0"},".react-colorful__hue":{boxShadow:"inset 0 0 0 1px rgb(0 0 0 / 5%)"},".react-colorful__last-control":{borderRadius:"0 0 4px 4px"}}),xa=(0,A.zo)(D.T)(function(a){var r=a.theme;return{fontFamily:r.typography.fonts.base}}),Da=A.zo.div({display:"grid",gridTemplateColumns:"repeat(9, 16px)",gap:6,padding:3,marginTop:5,width:200}),Ia=A.zo.div(function(a){var r=a.theme,e=a.active;return{width:16,height:16,boxShadow:e?"".concat(r.appBorderColor," 0 0 0 1px inset, ").concat(r.color.mediumdark,"50 0 0 0 4px"):"".concat(r.appBorderColor," 0 0 0 1px inset"),borderRadius:r.appBorderRadius}}),Ra=`url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill-opacity=".05"><path d="M8 0h8v8H8zM0 8h8v8H0z"/></svg>')`,Sr=function(r){var e=r.value,t=r.active,n=r.onClick,o=r.style,s=(0,D.d)(r,["value","active","onClick","style"]),l="linear-gradient(".concat(e,", ").concat(e,"), ").concat(Ra,", linear-gradient(#fff, #fff)");return c.createElement(Ia,Object.assign({},s,{active:t,onClick:n},{style:Object.assign(Object.assign({},o),{backgroundImage:l})}))},Ta=(0,A.zo)(D.F.Input)(function(a){var r=a.theme;return{width:"100%",paddingLeft:30,paddingRight:30,boxSizing:"border-box",fontFamily:r.typography.fonts.base}}),La=(0,A.zo)(D.I)(function(a){var r=a.theme;return{position:"absolute",zIndex:1,top:6,right:7,width:20,height:20,padding:4,boxSizing:"border-box",cursor:"pointer",color:r.input.color}}),g;(function(a){a.RGB="rgb",a.HSL="hsl",a.HEX="hex"})(g||(g={}));var J=Object.values(g),wa=/\(([0-9]+),\s*([0-9]+)%?,\s*([0-9]+)%?,?\s*([0-9.]+)?\)/,Ba=/^\s*rgba?\(([0-9]+),\s*([0-9]+),\s*([0-9]+),?\s*([0-9.]+)?\)\s*$/i,Aa=/^\s*hsla?\(([0-9]+),\s*([0-9]+)%,\s*([0-9]+)%,?\s*([0-9.]+)?\)\s*$/i,_r=/^\s*#?([0-9a-f]{3}|[0-9a-f]{6})\s*$/i,Wa=/^\s*#?([0-9a-f]{3})\s*$/i,Ka=(k={},P(k,g.HEX,Re),P(k,g.RGB,Ae),P(k,g.HSL,we),k),Q=(H={},P(H,g.HEX,"transparent"),P(H,g.RGB,"rgba(0, 0, 0, 0)"),P(H,g.HSL,"hsla(0, 0%, 0%, 0)"),H),kr=function(r){var e=r==null?void 0:r.match(wa);if(!e)return[0,0,0,1];var t=L(e,5),n=t[1],o=t[2],s=t[3],l=t[4],i=l===void 0?1:l;return[n,o,s,i].map(Number)},$=function(r){var e;if(!!r){var t=!0;if(Ba.test(r)){var n,o=kr(r),s=L(o,4),l=s[0],i=s[1],u=s[2],_=s[3],d=R.rgb.hsl([l,i,u])||[0,0,0],p=L(d,3),y=p[0],j=p[1],T=p[2];return n={valid:t,value:r,keyword:R.rgb.keyword([l,i,u]),colorSpace:g.RGB},P(n,g.RGB,r),P(n,g.HSL,"hsla(".concat(y,", ").concat(j,"%, ").concat(T,"%, ").concat(_,")")),P(n,g.HEX,"#".concat(R.rgb.hex([l,i,u]).toLowerCase())),n}if(Aa.test(r)){var b,h=kr(r),m=L(h,4),E=m[0],O=m[1],x=m[2],M=m[3],w=R.hsl.rgb([E,O,x])||[0,0,0],B=L(w,3),Z=B[0],Ha=B[1],Na=B[2];return b={valid:t,value:r,keyword:R.hsl.keyword([E,O,x]),colorSpace:g.HSL},P(b,g.RGB,"rgba(".concat(Z,", ").concat(Ha,", ").concat(Na,", ").concat(M,")")),P(b,g.HSL,r),P(b,g.HEX,"#".concat(R.hsl.hex([E,O,x]).toLowerCase())),b}var q=r.replace("#",""),X=R.keyword.rgb(q)||R.hex.rgb(q),dr=R.rgb.hsl(X),K=r;if(/[^#a-f0-9]/i.test(r)?K=q:_r.test(r)&&(K="#".concat(q)),K.startsWith("#"))t=_r.test(K);else try{R.keyword.hex(K)}catch(bt){t=!1}return e={valid:t,value:K,keyword:R.rgb.keyword(X),colorSpace:g.HEX},P(e,g.RGB,"rgba(".concat(X[0],", ").concat(X[1],", ").concat(X[2],", 1)")),P(e,g.HSL,"hsla(".concat(dr[0],", ").concat(dr[1],"%, ").concat(dr[2],"%, 1)")),P(e,g.HEX,K),e}},Ua=function(r,e,t){if(!r||!(e!=null&&e.valid))return Q[t];if(t!==g.HEX)return(e==null?void 0:e[t])||Q[t];if(!e.hex.startsWith("#"))try{return"#".concat(R.keyword.hex(e.hex))}catch(_){return Q.hex}var n=e.hex.match(Wa);if(!n)return _r.test(e.hex)?e.hex:Q.hex;var o=n[1].split(""),s=L(o,3),l=s[0],i=s[1],u=s[2];return"#".concat(l).concat(l).concat(i).concat(i).concat(u).concat(u)},Sa=function(r,e){var t=(0,c.useState)(r||""),n=L(t,2),o=n[0],s=n[1],l=(0,c.useState)(function(){return $(o)}),i=L(l,2),u=i[0],_=i[1],d=(0,c.useState)((u==null?void 0:u.colorSpace)||g.HEX),p=L(d,2),y=p[0],j=p[1];(0,c.useEffect)(function(){r===void 0&&(s(""),_(void 0),j(g.HEX))},[r]);var T=(0,c.useMemo)(function(){return Ua(o,u,y).toLowerCase()},[o,u,y]),b=(0,c.useCallback)(function(m){var E=$(m);s((E==null?void 0:E.value)||m||""),E&&(_(E),j(E.colorSpace),e(E.value))},[e]),h=(0,c.useCallback)(function(){var m=J.indexOf(y)+1;m>=J.length&&(m=0),j(J[m]);var E=(u==null?void 0:u[J[m]])||"";s(E),e(E)},[u,y,e]);return{value:o,realValue:T,updateValue:b,color:u,colorSpace:y,cycleColorSpace:h}},Y=function(r){return r.replace(/\s*/,"").toLowerCase()},ka=function(r,e,t){var n=(0,c.useState)(e!=null&&e.valid?[e]:[]),o=L(n,2),s=o[0],l=o[1];(0,c.useEffect)(function(){e===void 0&&l([])},[e]);var i=(0,c.useMemo)(function(){var _=(r||[]).map(function(d){return typeof d=="string"?$(d):d.title?Object.assign(Object.assign({},$(d.color)),{keyword:d.title}):$(d.color)});return _.concat(s).filter(Boolean).slice(-27)},[r,s]),u=(0,c.useCallback)(function(_){!(_!=null&&_.valid)||i.some(function(d){return Y(d[t])===Y(_[t])})||l(function(d){return d.concat(_)})},[t,i]);return{presets:i,addPreset:u}},Hr=function(r){var e=r.name,t=r.value,n=r.onChange,o=r.onFocus,s=r.onBlur,l=r.presetColors,i=r.startOpen,u=Sa(t,Oa(n,200)),_=u.value,d=u.realValue,p=u.updateValue,y=u.color,j=u.colorSpace,T=u.cycleColorSpace,b=ka(l,y,j),h=b.presets,m=b.addPreset,E=Ka[j];return c.createElement(Pa,null,c.createElement(Ca,{trigger:"click",startOpen:i,closeOnClick:!0,onVisibilityChange:function(){return m(y)},tooltip:c.createElement(ja,null,c.createElement(E,Object.assign({color:d==="transparent"?"#000000":d},{onChange:p,onFocus:o,onBlur:s})),h.length>0&&c.createElement(Da,null,h.map(function(O,x){return c.createElement(D.W,{key:"".concat(O.value,"-").concat(x),hasChrome:!1,tooltip:c.createElement(xa,{note:O.keyword||O.value})},c.createElement(Sr,{value:O[j],active:y&&Y(O[j])===Y(y[j]),onClick:function(){return p(O.value)}}))})))},c.createElement(Sr,{value:d,style:{margin:4}})),c.createElement(Ta,{id:(0,D.z)(e),value:_,onChange:function(x){return p(x.target.value)},onFocus:function(x){return x.target.select()},placeholder:"Choose color..."}),_?c.createElement(La,{icon:"markup",onClick:T}):null)}}}]);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
(self.webpackChunk_sap_ux_ui_components=self.webpackChunk_sap_ux_ui_components||[]).push([[
|
|
1
|
+
(self.webpackChunk_sap_ux_ui_components=self.webpackChunk_sap_ux_ui_components||[]).push([[458],{58522:(Ee,je,E)=>{"use strict";E.r(je),E.d(je,{formatter:()=>Pb});var K=E(87446),J=E.n(K),Y=E(44154),ne=E.n(Y),le=E(70264),re=E.n(le),ge=E(37539),Qe=E.n(ge),Ie=E(21841),$e=E.n(Ie),Xe=E(29854),Je=E.n(Xe),Re=E(34126),Be=E.n(Re),ke=E(28742),ft=E.n(ke),Yt=E(65145),Ft=E.n(Yt),gt=E(95017),nt=E.n(gt),lr=E(15457),Wt=E.n(lr),Tn=E(49084),Qt=E.n(Tn),Zt=E(98972),ju=E.n(Zt),xn=E(15720),Fi=E.n(xn),fu=E(50196),Ca=E.n(fu),kr=E(1338),Zo=E.n(kr),er=E(54907),Kr=E.n(er),Kn=E(50998),un=E.n(Kn),du=E(80554),es=E.n(du),bi=E(58864),ts=E.n(bi),Ru=E(29314),rs=E.n(Ru),Si=E(64685),_u=E.n(Si),st=E(56794),Nt=E.n(st),Pt=E(69714),Bn=E.n(Pt),Ir=E(8807),an=E.n(Ir),ns=E(11316),Jl=E.n(ns),Yl=E(8481),Mf=E.n(Yl),Vt=E(45979),Et=E.n(Vt),_t=E(4489),yt=E.n(_t),hu=E(74751),rm=E.n(hu),jf=E(28551),Du=E.n(jf),Tt=E(56322),wn=E.n(Tt),Ql=E(46868),nm=E.n(Ql),Rf=E(38892),um=E.n(Rf),_f=E(76689),cr=E.n(_f),vt=E(60002),tr=E.n(vt),zn=E(33861),Uf=E.n(zn),Ti=E(37189),us=E.n(Ti),qn=E(82138),xi=E.n(qn),as=E(7642),v7=E.n(as),AF=E(31746),y7=E.n(AF),FF=E(57002),E7=E.n(FF),bF=E(87093),C7=E.n(bF),SF=E(77096),A7=E.n(SF),TF=E(51900),F7=E.n(TF),xF=E(98026),b7=E.n(xF),BF=E(85202),S7=E.n(BF),wF=E(70286),T7=E.n(wF),PF=E(7401),x7=E.n(PF),NF=E(34201),B7=E.n(NF),OF=E(73361),w7=E.n(OF),kF=E(16242),P7=E.n(kF),IF=E(53814),N7=E.n(IF),LF=E(2663),O7=E.n(LF),MF=E(79628),k7=E.n(MF),jF=E(21030),I7=E.n(jF),RF=E(91637),L7=E.n(RF),_F=E(61561),M7=E.n(_F),UF=E(74735),j7=E.n(UF),$F=E(74513),R7=E.n($F),WF=E(2203),_7=E.n(WF),VF=E(69011),U7=E.n(VF),GF=E(78013),$7=E.n(GF),HF=E(3600),W7=E.n(HF),KF=E(334),V7=E.n(KF),zF=E(99526),G7=E.n(zF),qF=E(2876),H7=E.n(qF),XF=E(21203),K7=E.n(XF),JF=E(3805),z7=E.n(JF),YF=E(51080),q7=E.n(YF),QF=E(24991),X7=E.n(QF),ZF=E(22603),J7=E.n(ZF),eb=E(60144),Y7=E.n(eb),tb=E(16699),Q7=E.n(tb),rb=E(65348),Z7=E.n(rb),nb=E(6355),eL=E.n(nb),ub=E(5562),tL=E.n(ub),ab=E(24289),rL=E.n(ab),ib=E(7334),nL=E.n(ib),ob=E(80670),uL=E.n(ob),sb=E(31075),aL=E.n(sb),lb=E(34258),iL=E.n(lb),cb=E(26825),oL=E.n(cb),pb=E(8020),sL=E.n(pb),fb=E(20377),lL=E.n(fb),db=E(43522),cL=E.n(db),hb=E(28417),pL=E.n(hb),Db=E(40907),fL=E.n(Db),mb=E(37314),dL=E.n(mb),gb=E(91622),hL=E.n(gb),vb=E(69469),yb=E.n(vb),mu=E(18074),DL=E(96832),Eb=E(58897),mL=E.n(Eb),Cb=E(46163),gL=E.n(Cb);function Bi(ee){var ve=typeof Map=="function"?new Map:void 0;return Bi=function(Ne){if(Ne===null||!Ab(Ne))return Ne;if(typeof Ne!="function")throw new TypeError("Super expression must either be null or a function");if(typeof ve!="undefined"){if(ve.has(Ne))return ve.get(Ne);ve.set(Ne,dt)}function dt(){return Zl(Ne,arguments,Xn(this).constructor)}return dt.prototype=Object.create(Ne.prototype,{constructor:{value:dt,enumerable:!1,writable:!0,configurable:!0}}),is(dt,Ne)},Bi(ee)}function Zl(ee,ve,Pe){return om()?Zl=Reflect.construct:Zl=function(dt,bt,Er){var Ge=[null];Ge.push.apply(Ge,bt);var xt=Function.bind.apply(dt,Ge),zr=new xt;return Er&&is(zr,Er.prototype),zr},Zl.apply(null,arguments)}function Ab(ee){return Function.toString.call(ee).indexOf("[native code]")!==-1}function am(ee){return cm(ee)||sm(ee)||ec(ee)||lm()}function Aa(){return typeof Reflect!="undefined"&&Reflect.get?Aa=Reflect.get:Aa=function(ve,Pe,Ne){var dt=Fb(ve,Pe);if(!!dt){var bt=Object.getOwnPropertyDescriptor(dt,Pe);return bt.get?bt.get.call(arguments.length<3?ve:Ne):bt.value}},Aa.apply(this,arguments)}function Fb(ee,ve){for(;!Object.prototype.hasOwnProperty.call(ee,ve)&&(ee=Xn(ee),ee!==null););return ee}function Gt(ee,ve){if(typeof ve!="function"&&ve!==null)throw new TypeError("Super expression must either be null or a function");ee.prototype=Object.create(ve&&ve.prototype,{constructor:{value:ee,writable:!0,configurable:!0}}),Object.defineProperty(ee,"prototype",{writable:!1}),ve&&is(ee,ve)}function is(ee,ve){return is=Object.setPrototypeOf||function(Ne,dt){return Ne.__proto__=dt,Ne},is(ee,ve)}function Ht(ee){var ve=om();return function(){var Ne=Xn(ee),dt;if(ve){var bt=Xn(this).constructor;dt=Reflect.construct(Ne,arguments,bt)}else dt=Ne.apply(this,arguments);return im(this,dt)}}function im(ee,ve){if(ve&&(we(ve)==="object"||typeof ve=="function"))return ve;if(ve!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return bb(ee)}function bb(ee){if(ee===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return ee}function om(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(ee){return!1}}function Xn(ee){return Xn=Object.setPrototypeOf?Object.getPrototypeOf:function(Pe){return Pe.__proto__||Object.getPrototypeOf(Pe)},Xn(ee)}function de(ee,ve){var Pe=typeof Symbol!="undefined"&&ee[Symbol.iterator]||ee["@@iterator"];if(!Pe){if(Array.isArray(ee)||(Pe=ec(ee))||ve&&ee&&typeof ee.length=="number"){Pe&&(ee=Pe);var Ne=0,dt=function(){};return{s:dt,n:function(){return Ne>=ee.length?{done:!0}:{done:!1,value:ee[Ne++]}},e:function(zr){throw zr},f:dt}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
2
2
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var bt=!0,Er=!1,Ge;return{s:function(){Pe=Pe.call(ee)},n:function(){var zr=Pe.next();return bt=zr.done,zr},e:function(zr){Er=!0,Ge=zr},f:function(){try{!bt&&Pe.return!=null&&Pe.return()}finally{if(Er)throw Ge}}}}function gu(ee,ve,Pe){return ve in ee?Object.defineProperty(ee,ve,{value:Pe,enumerable:!0,configurable:!0,writable:!0}):ee[ve]=Pe,ee}function Z(ee){return Tb(ee)||sm(ee)||ec(ee)||Sb()}function Sb(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
3
3
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function sm(ee){if(typeof Symbol!="undefined"&&ee[Symbol.iterator]!=null||ee["@@iterator"]!=null)return Array.from(ee)}function Tb(ee){if(Array.isArray(ee))return $f(ee)}function _e(ee,ve){return cm(ee)||xb(ee,ve)||ec(ee,ve)||lm()}function lm(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
4
4
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function ec(ee,ve){if(!!ee){if(typeof ee=="string")return $f(ee,ve);var Pe=Object.prototype.toString.call(ee).slice(8,-1);if(Pe==="Object"&&ee.constructor&&(Pe=ee.constructor.name),Pe==="Map"||Pe==="Set")return Array.from(ee);if(Pe==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(Pe))return $f(ee,ve)}}function $f(ee,ve){(ve==null||ve>ee.length)&&(ve=ee.length);for(var Pe=0,Ne=new Array(ve);Pe<ve;Pe++)Ne[Pe]=ee[Pe];return Ne}function xb(ee,ve){var Pe=ee==null?null:typeof Symbol!="undefined"&&ee[Symbol.iterator]||ee["@@iterator"];if(Pe!=null){var Ne=[],dt=!0,bt=!1,Er,Ge;try{for(Pe=Pe.call(ee);!(dt=(Er=Pe.next()).done)&&(Ne.push(Er.value),!(ve&&Ne.length===ve));dt=!0);}catch(xt){bt=!0,Ge=xt}finally{try{!dt&&Pe.return!=null&&Pe.return()}finally{if(bt)throw Ge}}return Ne}}function cm(ee){if(Array.isArray(ee))return ee}function we(ee){return we=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(ve){return typeof ve}:function(ve){return ve&&typeof Symbol=="function"&&ve.constructor===Symbol&&ve!==Symbol.prototype?"symbol":typeof ve},we(ee)}function pe(ee,ve){if(!(ee instanceof ve))throw new TypeError("Cannot call a class as a function")}function pm(ee,ve){for(var Pe=0;Pe<ve.length;Pe++){var Ne=ve[Pe];Ne.enumerable=Ne.enumerable||!1,Ne.configurable=!0,"value"in Ne&&(Ne.writable=!0),Object.defineProperty(ee,Ne.key,Ne)}}function fe(ee,ve,Pe){return ve&&pm(ee.prototype,ve),Pe&&pm(ee,Pe),Object.defineProperty(ee,"prototype",{writable:!1}),ee}var fm={exports:{}};(function(ee,ve){(function(Pe,Ne){ee.exports=Ne()})(mu.c,function(){var Pe=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof mu.c!="undefined"?mu.c:typeof self!="undefined"?self:{};function Ne(C){var h={exports:{}};return C(h,h.exports),h.exports}var dt=Ne(function(C,h){function m(g){return h.$0<=g&&g<=h.$9}/**
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunk_sap_ux_ui_components=self.webpackChunk_sap_ux_ui_components||[]).push([[594],{91594:(p,e,o)=>{o.r(e),o.d(e,{default:()=>d,getScrollAreaStyles:()=>l});var n=o(15720),m=o.n(n),a=o(45979),v=o.n(a),b=o(96832),s=o(57406),i;function c(t,r){return r||(r=t.slice(0)),Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(r)}}))}var h=(0,s.F4)(i||(i=c(["0%{z-index:0}to{z-index:-1}"]))),l=function(r){return{"html.os-html, html.os-html>.os-host":{display:"block",overflow:"hidden",boxSizing:"border-box",height:"100%!important",width:"100%!important",minWidth:"100%!important",minHeight:"100%!important",margin:"0!important",position:"absolute!important"},"html.os-html>.os-host>.os-padding":{position:"absolute"},"body.os-dragging, body.os-dragging *":{cursor:"default"},".os-host, .os-host-textarea":{position:"relative",overflow:"visible!important",flexDirection:"column",flexWrap:"nowrap",justifyContent:"flex-start",alignContent:"flex-start",alignItems:"flex-start"},".os-host-flexbox":{overflow:"hidden!important",display:"flex"},".os-host-flexbox>.os-size-auto-observer":{height:"inherit!important"},".os-host-flexbox>.os-content-glue":{flexGrow:1,flexShrink:0},".os-host-flexbox>.os-size-auto-observer, .os-host-flexbox>.os-content-glue":{minHeight:0,minWidth:0,flexGrow:0,flexShrink:1,flexBasis:"auto"},"#os-dummy-scrollbar-size":{position:"fixed",opacity:0,visibility:"hidden",overflow:"scroll",height:500,width:500},"#os-dummy-scrollbar-size>div":{width:"200%",height:"200%",margin:10},"#os-dummy-scrollbar-size, .os-viewport":{},".os-viewport-native-scrollbars-invisible#os-dummy-scrollbar-size, .os-viewport-native-scrollbars-invisible.os-viewport":{scrollbarWidth:"none!important"},".os-viewport-native-scrollbars-invisible#os-dummy-scrollbar-size::-webkit-scrollbar, .os-viewport-native-scrollbars-invisible.os-viewport::-webkit-scrollbar, .os-viewport-native-scrollbars-invisible#os-dummy-scrollbar-size::-webkit-scrollbar-corner, .os-viewport-native-scrollbars-invisible.os-viewport::-webkit-scrollbar-corner":{display:"none!important",width:"0!important",height:"0!important",visibility:"hidden!important",background:"0 0!important"},".os-content-glue":{boxSizing:"inherit",maxHeight:"100%",maxWidth:"100%",width:"100%",pointerEvents:"none"},".os-padding":{boxSizing:"inherit",direction:"inherit",position:"absolute",overflow:"visible",padding:0,margin:0,left:0,top:0,bottom:0,right:0,width:"auto!important",height:"auto!important",zIndex:1},".os-host-overflow>.os-padding":{overflow:"hidden"},".os-viewport":{direction:"inherit!important",boxSizing:"inherit!important",resize:"none!important",outline:"0!important",position:"absolute",overflow:"hidden",top:0,left:0,bottom:0,right:0,padding:0,margin:0},".os-content-arrange":{position:"absolute",zIndex:-1,minHeight:1,minWidth:1,pointerEvents:"none"},".os-content":{direction:"inherit",boxSizing:"border-box!important",position:"relative",display:"block",height:"100%",width:"100%",visibility:"visible"},".os-content:before, .os-content:after":{content:"''",display:"table",width:0,height:0,lineHeight:0,fontSize:0},".os-content>.os-textarea":{boxSizing:"border-box!important",direction:"inherit!important",background:"0 0!important",outline:"0 transparent!important",overflow:"hidden!important",position:"absolute!important",display:"block!important",top:"0!important",left:"0!important",margin:"0!important",borderRadius:"0!important",float:"none!important",filter:"none!important",border:"0!important",resize:"none!important",transform:"none!important",maxWidth:"none!important",maxHeight:"none!important",boxShadow:"none!important",perspective:"none!important",opacity:"1!important",zIndex:"1!important",clip:"auto!important",verticalAlign:"baseline!important",padding:0},".os-host-rtl>.os-padding>.os-viewport>.os-content>.os-textarea":{right:"0!important"},".os-content>.os-textarea-cover":{zIndex:-1,pointerEvents:"none"},".os-content>.os-textarea[wrap=off]":{whiteSpace:"pre!important",margin:"0!important"},".os-text-inherit":{fontFamily:"inherit",fontSize:"inherit",fontWeight:"inherit",fontStyle:"inherit",fontVariant:"inherit",textTransform:"inherit",textDecoration:"inherit",textIndent:"inherit",textAlign:"inherit",textShadow:"inherit",textOverflow:"inherit",letterSpacing:"inherit",wordSpacing:"inherit",lineHeight:"inherit",unicodeBidi:"inherit",direction:"inherit",color:"inherit",cursor:"text"},".os-resize-observer, .os-resize-observer-host":{boxSizing:"inherit",display:"block",opacity:0,position:"absolute",top:0,left:0,height:"100%",width:"100%",overflow:"hidden",pointerEvents:"none",zIndex:-1},".os-resize-observer-host":{padding:"inherit",border:"inherit",borderColor:"transparent",borderStyle:"solid",boxSizing:"border-box"},".os-resize-observer-host:after":{content:"''"},".os-resize-observer-host>.os-resize-observer, .os-resize-observer-host:after":{height:"200%",width:"200%",padding:"inherit",border:"inherit",margin:0,display:"block",boxSizing:"content-box"},".os-resize-observer.observed, object.os-resize-observer":{boxSizing:"border-box!important"},".os-size-auto-observer":{boxSizing:"inherit!important",height:"100%",width:"inherit",maxWidth:1,position:"relative",float:"left",maxHeight:1,overflow:"hidden",zIndex:-1,padding:0,margin:0,pointerEvents:"none",flexGrow:"inherit",flexShrink:0,flexBasis:0},".os-size-auto-observer>.os-resize-observer":{width:"1000%",height:"1000%",minHeight:1,minWidth:1},".os-resize-observer-item":{position:"absolute",top:0,right:0,bottom:0,left:0,overflow:"hidden",zIndex:-1,opacity:0,direction:"ltr!important",flex:"none!important"},".os-resize-observer-item-final":{position:"absolute",left:0,top:0,transition:"none!important",flex:"none!important"},".os-resize-observer":{animationDuration:".001s",animationName:"".concat(h)},".os-host-transition>.os-scrollbar, .os-host-transition>.os-scrollbar-corner":{transition:"opacity .3s,visibility .3s,top .3s,right .3s,bottom .3s,left .3s"},"html.os-html>.os-host>.os-scrollbar":{position:"absolute",zIndex:999999},".os-scrollbar, .os-scrollbar-corner":{position:"absolute",opacity:1,zIndex:1},".os-scrollbar-corner":{bottom:0,right:0,height:10,width:10,backgroundColor:"transparent"},".os-scrollbar":{pointerEvents:"none",padding:2,boxSizing:"border-box",background:0},".os-scrollbar-track":{pointerEvents:"auto",position:"relative",height:"100%",width:"100%",padding:"0!important",border:"0!important"},".os-scrollbar-handle":{pointerEvents:"auto",position:"absolute",width:"100%",height:"100%"},".os-scrollbar-handle-off, .os-scrollbar-track-off":{pointerEvents:"none"},".os-scrollbar.os-scrollbar-unusable, .os-scrollbar.os-scrollbar-unusable *":{pointerEvents:"none!important"},".os-scrollbar.os-scrollbar-unusable .os-scrollbar-handle":{opacity:"0!important"},".os-scrollbar-horizontal":{bottom:0,left:0,right:10,height:10},".os-scrollbar-vertical":{top:0,right:0,bottom:10,width:10},".os-host-rtl>.os-scrollbar-horizontal":{right:0},".os-host-rtl>.os-scrollbar-vertical":{right:"auto",left:0},".os-host-rtl>.os-scrollbar-corner":{right:"auto",left:0},".os-scrollbar-auto-hidden, .os-padding+.os-scrollbar-corner, .os-host-resize-disabled.os-host-scrollbar-horizontal-hidden>.os-scrollbar-corner, .os-host-scrollbar-horizontal-hidden>.os-scrollbar-horizontal, .os-host-resize-disabled.os-host-scrollbar-vertical-hidden>.os-scrollbar-corner, .os-host-scrollbar-vertical-hidden>.os-scrollbar-vertical, .os-scrollbar-horizontal.os-scrollbar-auto-hidden+.os-scrollbar-vertical+.os-scrollbar-corner, .os-scrollbar-horizontal+.os-scrollbar-vertical.os-scrollbar-auto-hidden+.os-scrollbar-corner, .os-scrollbar-horizontal.os-scrollbar-auto-hidden+.os-scrollbar-vertical.os-scrollbar-auto-hidden+.os-scrollbar-corner":{opacity:0,visibility:"hidden",pointerEvents:"none"},".os-scrollbar-corner-resize-both":{cursor:"nwse-resize"},".os-host-rtl>.os-scrollbar-corner-resize-both":{cursor:"nesw-resize"},".os-scrollbar-corner-resize-horizontal":{cursor:"ew-resize"},".os-scrollbar-corner-resize-vertical":{cursor:"ns-resize"},".os-dragging .os-scrollbar-corner.os-scrollbar-corner-resize":{cursor:"default"},".os-host-resize-disabled.os-host-scrollbar-horizontal-hidden>.os-scrollbar-vertical":{top:0,bottom:0},".os-host-resize-disabled.os-host-scrollbar-vertical-hidden>.os-scrollbar-horizontal, .os-host-rtl.os-host-resize-disabled.os-host-scrollbar-vertical-hidden>.os-scrollbar-horizontal":{right:0,left:0},".os-scrollbar:hover, .os-scrollbar-corner.os-scrollbar-corner-resize":{opacity:"1!important",visibility:"visible!important"},".os-scrollbar-corner.os-scrollbar-corner-resize":{backgroundImage:"linear-gradient(135deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0) 50%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0.4) 100%)",backgroundRepeat:"no-repeat",backgroundPosition:"100% 100%",pointerEvents:"auto!important"},".os-host-rtl>.os-scrollbar-corner.os-scrollbar-corner-resize":{transform:"scale(-1,1)"},".os-host-overflow":{overflow:"hidden!important"},".os-theme-dark.os-host-rtl>.os-scrollbar-horizontal":{left:10,right:0},".os-scrollbar.os-scrollbar-unusable":{background:0},".os-scrollbar>.os-scrollbar-track":{background:0},".os-scrollbar-horizontal>.os-scrollbar-track>.os-scrollbar-handle":{minWidth:30},".os-scrollbar-vertical>.os-scrollbar-track>.os-scrollbar-handle":{minHeight:30},".os-theme-dark.os-host-transition>.os-scrollbar>.os-scrollbar-track>.os-scrollbar-handle":{transition:"background-color .3s"},".os-scrollbar>.os-scrollbar-track>.os-scrollbar-handle, .os-scrollbar>.os-scrollbar-track":{borderRadius:10},".os-scrollbar>.os-scrollbar-track>.os-scrollbar-handle":{background:r.color.mediumdark,opacity:.5},".os-scrollbar:hover>.os-scrollbar-track>.os-scrollbar-handle":{opacity:.6},".os-scrollbar-horizontal .os-scrollbar-handle:before, .os-scrollbar-vertical .os-scrollbar-handle:before":{content:"''",position:"absolute",left:0,right:0,top:0,bottom:0,display:"block"},".os-theme-dark.os-host-scrollbar-horizontal-hidden>.os-scrollbar-horizontal .os-scrollbar-handle:before, .os-theme-dark.os-host-scrollbar-vertical-hidden>.os-scrollbar-vertical .os-scrollbar-handle:before":{display:"none"},".os-scrollbar-horizontal .os-scrollbar-handle:before":{top:-6,bottom:-2},".os-scrollbar-vertical .os-scrollbar-handle:before":{left:-6,right:-2},".os-host-rtl.os-scrollbar-vertical .os-scrollbar-handle:before":{right:-6,left:-2}}},d=function(){return b.createElement(s.xB,{styles:l})}}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunk_sap_ux_ui_components=self.webpackChunk_sap_ux_ui_components||[]).push([[637],{"../../node_modules/.pnpm/@storybook+preview-web@6.5.16_react-dom@16.14.0_react@16.14.0/node_modules/@storybook/preview-web/dist/esm/renderDocs.js":(C,h,c)=>{c.r(h),c.d(h,{renderDocs:()=>D,unmountDocs:()=>P});var S=c("../../node_modules/.pnpm/regenerator-runtime@0.13.11/node_modules/regenerator-runtime/runtime.js"),A=c("../../node_modules/.pnpm/core-js@3.25.2/node_modules/core-js/modules/es.object.to-string.js"),I=c("../../node_modules/.pnpm/core-js@3.25.2/node_modules/core-js/modules/es.promise.js"),r=c("../../node_modules/.pnpm/react@16.14.0/node_modules/react/index.js"),f=c("../../node_modules/.pnpm/react-dom@16.14.0_react@16.14.0/node_modules/react-dom/index.js"),b={fontSize:"14px",letterSpacing:"0.2px",margin:"10px 0"},E={margin:"auto",padding:30,borderRadius:10,background:"rgba(0,0,0,0.03)"},k={textAlign:"center"},v=function(){return r.createElement("div",{style:b,className:"sb-nodocs sb-wrapper"},r.createElement("div",{style:E},r.createElement("h1",{style:k},"No Docs"),r.createElement("p",null,"Sorry, but there are no docs for the selected story. To add them, set the story's\xA0",r.createElement("code",null,"docs")," parameter. If you think this is an error:"),r.createElement("ul",null,r.createElement("li",null,"Please check the story definition."),r.createElement("li",null,"Please check the Storybook config."),r.createElement("li",null,"Try reloading the page.")),r.createElement("p",null,"If the problem persists, check the browser console, or the terminal you've run Storybook from.")))};v.displayName="NoDocs";function y(o,t,a,l,u,d,n){try{var i=o[d](n),s=i.value}catch(m){a(m);return}i.done?t(s):Promise.resolve(s).then(l,u)}function w(o){return function(){var t=this,a=arguments;return new Promise(function(l,u){var d=o.apply(t,a);function n(s){y(d,l,u,n,i,"next",s)}function i(s){y(d,l,u,n,i,"throw",s)}n(void 0)})}}function D(o,t,a,l){return j(o,t,a).then(l)}function j(o,t,a){return p.apply(this,arguments)}function p(){return p=w(regeneratorRuntime.mark(function o(t,a,l){var u,d,n,i,s,m;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(n=t.parameters.docs,!((n!=null&&n.getPage||n!=null&&n.page)&&!(n!=null&&n.getContainer||n!=null&&n.container))){e.next=3;break}throw new Error("No `docs.container` set, did you run `addon-docs/preset`?");case 3:if(e.t1=n.container,e.t1){e.next=8;break}return e.next=7,(u=n.getContainer)===null||u===void 0?void 0:u.call(n);case 7:e.t1=e.sent;case 8:if(e.t0=e.t1,e.t0){e.next=11;break}e.t0=function(g){var N=g.children;return r.createElement(r.Fragment,null,N)};case 11:if(i=e.t0,e.t3=n.page,e.t3){e.next=17;break}return e.next=16,(d=n.getPage)===null||d===void 0?void 0:d.call(n);case 16:e.t3=e.sent;case 17:if(e.t2=e.t3,e.t2){e.next=20;break}e.t2=v;case 20:return s=e.t2,m=r.createElement(i,{key:t.componentId,context:a},r.createElement(s,null)),e.next=24,new Promise(function(g){f.render(m,l,g)});case 24:case"end":return e.stop()}},o)})),p.apply(this,arguments)}function P(o){f.unmountComponentAtNode(o)}}}]);
|