3 lines
8.7 KiB
JavaScript
3 lines
8.7 KiB
JavaScript
(window.webpackJsonp=window.webpackJsonp||[]).push([[57],{"1TxM":function(e,t,n){"use strict";n.d(t,"c",(function(){return a})),n.d(t,"a",(function(){return s})),n.d(t,"b",(function(){return u}));var o=n("q1tI"),i=n.n(o),r=n("17x9"),c=n.n(r);const l=i.a.createContext({});function a(e,t){c.a.checkPropTypes(t,e,"context","RegistryContext")}function s(e){const{validation:t,value:n}=e;return a(n,t),i.a.createElement(l.Provider,{value:n},e.children)}function u(){return l}},"8d0Q":function(e,t,n){"use strict";n.d(t,"b",(function(){return i})),n.d(t,"a",(function(){return r}));var o=n("q1tI");function i(){const[e,t]=Object(o.useState)(!1);return[e,{onMouseOver:function(e){r(e)&&t(!0)},onMouseOut:function(e){r(e)&&t(!1)}}]}function r(e){return!e.currentTarget.contains(e.relatedTarget)}},"9dlw":function(e,t,n){"use strict";n.d(t,"a",(function(){return v}));var o=n("mrSG"),i=n("q1tI"),r=n.n(i),c=n("i8i4"),l=n.n(c),a=(n("EsMY"),n("AiMB")),s=n("DTHj"),u=n("X0gx"),d=n("8Rai");function v(e){const{controller:t,children:n,isOpened:c,closeOnClickOutside:v=!0,doNotCloseOn:f,onClickOutside:m,onClose:h}=e,g=Object(o.a)(e,["controller","children","isOpened","closeOnClickOutside","doNotCloseOn","onClickOutside","onClose"]),b=Object(i.useContext)(u.a),p=Object(d.a)({handler:function(e){m&&m(e);if(!v)return;if(f&&e.target instanceof Node){const t=l.a.findDOMNode(f);if(t instanceof Node&&t.contains(e.target))return}h()},mouseDown:!0,touchStart:!0});return c?r.a.createElement(a.a,{top:"0",left:"0",right:"0",bottom:"0",pointerEvents:"none"},r.a.createElement("span",{ref:p,style:{pointerEvents:"auto"}},r.a.createElement(s.b,Object.assign({},g,{isOpened:c,onClose:h,onScroll:function(t){const{onScroll:n}=e;n&&n(t);t.stopPropagation()},customCloseDelegate:b,ref:t}),n))):null}},HD8h:function(e,t,n){e.exports={item:"item-21ifTYt7",label:"label-21ifTYt7",labelRow:"labelRow-21ifTYt7",toolbox:"toolbox-21ifTYt7"}},KKsp:function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));var o=n("q1tI"),i=n("TSYQ"),r=n.n(i),c=n("NOPy");function l(e){const{size:t="normal",className:n}=e;return o.createElement("div",{className:r()(c.separator,"small"===t&&c.small,"normal"===t&&c.normal,"large"===t&&c.large,n)})}},N5tr:function(e,t,n){"use strict";n.d(t,"a",(function(){return d})),n.d(t,"b",(function(){return m}));var o=n("mrSG"),i=n("q1tI"),r=n.n(i),c=n("TSYQ"),l=n("tWVy"),a=n("JWMC"),s=n("ijHL"),u=n("v1bN");const d=u;function v(e){const{reference:t}=e,n=Object(o.a)(e,["reference"]),i=Object.assign(Object.assign({},n),{ref:t});return r.a.createElement(e.href?"a":"div",i)}function f(e){e.stopPropagation()}function m(e){const{id:t,role:n,"aria-selected":o,className:d,title:m,labelRowClassName:h,labelClassName:g,shortcut:b,forceShowShortcuts:p,icon:w,isActive:O,isDisabled:y,isHovered:E,appearAsDisabled:T,label:k,link:C,showToolboxOnHover:x,target:j,toolbox:I,reference:N,onMouseOut:S,onMouseOver:M,theme:A=u}=e,D=Object(s.b)(e),Y=Object(i.useRef)(null);return r.a.createElement(v,Object.assign({},D,{id:t,role:n,"aria-selected":o,className:c(d,A.item,w&&A.withIcon,{
|
|
[A.isActive]:O,[A.isDisabled]:y||T,[A.hovered]:E}),title:m,href:C,target:j,reference:function(e){Y.current=e,"function"==typeof N&&N(e);"object"==typeof N&&(N.current=e)},onClick:function(t){const{dontClosePopup:n,onClick:o,onClickArg:i,trackEventObject:r}=e;if(y)return;r&&Object(a.trackEvent)(r.category,r.event,r.label);o&&o(i,t);n||Object(l.b)()},onContextMenu:function(t){const{trackEventObject:n,trackRightClick:o}=e;n&&o&&Object(a.trackEvent)(n.category,n.event,n.label+"_rightClick")},onMouseUp:function(t){const{trackEventObject:n,trackMouseWheelClick:o}=e;if(1===t.button&&C&&n){let e=n.label;o&&(e+="_mouseWheelClick"),Object(a.trackEvent)(n.category,n.event,e)}},onMouseOver:M,onMouseOut:S}),void 0!==w&&r.a.createElement("div",{className:A.icon,dangerouslySetInnerHTML:{__html:w}}),r.a.createElement("div",{className:c(A.labelRow,h)},r.a.createElement("div",{className:c(A.label,g)},k)),(void 0!==b||p)&&r.a.createElement("div",{className:A.shortcut},(P=b)&&P.split("+").join(" + ")),void 0!==I&&r.a.createElement("div",{onClick:f,className:c(A.toolbox,{[A.showOnHover]:x})},I));var P}},NOPy:function(e,t,n){e.exports={separator:"separator-eqcGT_ow",small:"small-eqcGT_ow",normal:"normal-eqcGT_ow",large:"large-eqcGT_ow"}},XfUw:function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 18 18" width="18" height="18" fill="none"><path stroke="currentColor" d="M9 2.13l1.903 3.855.116.236.26.038 4.255.618-3.079 3.001-.188.184.044.259.727 4.237-3.805-2L9 12.434l-.233.122-3.805 2.001.727-4.237.044-.26-.188-.183-3.079-3.001 4.255-.618.26-.038.116-.236L9 2.13z"/></svg>'},dhVi:function(e,t,n){"use strict";n.d(t,"a",(function(){return c}));var o=n("nPPD"),i=n("v1bN"),r=n("HD8h");const c=Object(o.a)(i,r)},fEjm:function(e,t,n){e.exports={favorite:"favorite-I_fAY9V2",disabled:"disabled-I_fAY9V2",active:"active-I_fAY9V2",checked:"checked-I_fAY9V2"}},pr86:function(e,t,n){"use strict";n.d(t,"a",(function(){return d}));var o=n("mrSG"),i=(n("YFKU"),n("q1tI")),r=n("TSYQ"),c=n("Iivm"),l=n("sg5d"),a=n("XfUw"),s=n("fEjm");const u={add:window.t("Add to favorites"),remove:window.t("Remove from favorites")};function d(e){const{className:t,isFilled:n,isActive:d,onClick:v}=e,f=Object(o.a)(e,["className","isFilled","isActive","onClick"]);return i.createElement(c.a,Object.assign({},f,{className:r(s.favorite,"apply-common-tooltip",n&&s.checked,d&&s.active,t),icon:n?l:a,onClick:v,title:n?u.remove:u.add}))}},sg5d:function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 18 18" width="18" height="18" fill="none"><path fill="currentColor" d="M9 1l2.35 4.76 5.26.77-3.8 3.7.9 5.24L9 13l-4.7 2.47.9-5.23-3.8-3.71 5.25-.77L9 1z"/></svg>'},v1bN:function(e,t,n){e.exports={"tablet-small-breakpoint":"screen and (max-width: 428px)",item:"item-2IihgTnv",hovered:"hovered-2IihgTnv",isDisabled:"isDisabled-2IihgTnv",isActive:"isActive-2IihgTnv",shortcut:"shortcut-2IihgTnv",toolbox:"toolbox-2IihgTnv",withIcon:"withIcon-2IihgTnv",icon:"icon-2IihgTnv",labelRow:"labelRow-2IihgTnv",label:"label-2IihgTnv",showOnHover:"showOnHover-2IihgTnv"
|
|
}},"x0D+":function(e,t,n){var o,i,r;i=[t],void 0===(r="function"==typeof(o=function(e){"use strict";function t(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}Object.defineProperty(e,"__esModule",{value:!0});var n=!1;if("undefined"!=typeof window){var o={get passive(){n=!0}};window.addEventListener("testPassive",null,o),window.removeEventListener("testPassive",null,o)}var i="undefined"!=typeof window&&window.navigator&&window.navigator.platform&&/iP(ad|hone|od)/.test(window.navigator.platform),r=[],c=!1,l=-1,a=void 0,s=void 0,u=function(e){return r.some((function(t){return!(!t.options.allowTouchMove||!t.options.allowTouchMove(e))}))},d=function(e){var t=e||window.event;return!!u(t.target)||1<t.touches.length||(t.preventDefault&&t.preventDefault(),!1)},v=function(){setTimeout((function(){void 0!==s&&(document.body.style.paddingRight=s,s=void 0),void 0!==a&&(document.body.style.overflow=a,a=void 0)}))};e.disableBodyScroll=function(e,o){if(i){if(!e)return void console.error("disableBodyScroll unsuccessful - targetElement must be provided when calling disableBodyScroll on IOS devices.");if(e&&!r.some((function(t){return t.targetElement===e}))){var v={targetElement:e,options:o||{}};r=[].concat(t(r),[v]),e.ontouchstart=function(e){1===e.targetTouches.length&&(l=e.targetTouches[0].clientY)},e.ontouchmove=function(t){var n,o,i,r;1===t.targetTouches.length&&(o=e,r=(n=t).targetTouches[0].clientY-l,!u(n.target)&&(o&&0===o.scrollTop&&0<r||(i=o)&&i.scrollHeight-i.scrollTop<=i.clientHeight&&r<0?d(n):n.stopPropagation()))},c||(document.addEventListener("touchmove",d,n?{passive:!1}:void 0),c=!0)}}else{m=o,setTimeout((function(){if(void 0===s){var e=!!m&&!0===m.reserveScrollBarGap,t=window.innerWidth-document.documentElement.clientWidth;e&&0<t&&(s=document.body.style.paddingRight,document.body.style.paddingRight=t+"px")}void 0===a&&(a=document.body.style.overflow,document.body.style.overflow="hidden")}));var f={targetElement:e,options:o||{}};r=[].concat(t(r),[f])}var m},e.clearAllBodyScrollLocks=function(){i?(r.forEach((function(e){e.targetElement.ontouchstart=null,e.targetElement.ontouchmove=null})),c&&(document.removeEventListener("touchmove",d,n?{passive:!1}:void 0),c=!1),r=[],l=-1):(v(),r=[])},e.enableBodyScroll=function(e){if(i){if(!e)return void console.error("enableBodyScroll unsuccessful - targetElement must be provided when calling enableBodyScroll on IOS devices.");e.ontouchstart=null,e.ontouchmove=null,r=r.filter((function(t){return t.targetElement!==e})),c&&0===r.length&&(document.removeEventListener("touchmove",d,n?{passive:!1}:void 0),c=!1)}else 1===r.length&&r[0].targetElement===e?(v(),r=[]):r=r.filter((function(t){return t.targetElement!==e}))}})?o.apply(t,i):o)||(e.exports=r)}}]); |