You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

4 lines
9.7 KiB

(window.webpackJsonp=window.webpackJsonp||[]).push([[18],{"02pg":function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n("q1tI"),i=n("TSYQ"),a=n("XiJV");function o(e){return r.createElement("div",{className:i(a.separator,e.className)})}},"1LIl":function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));var r=n("q1tI"),i=n.n(r),a=n("TSYQ"),o=n("H9Gg"),s=n("PSOE");function l(e){const{queryString:t,rules:n,text:l,className:c}=e,u=Object(r.useMemo)(()=>Object(o.b)(t,l,n),[t,n,l]);return i.a.createElement(r.Fragment,null,u.length?l.split("").map((e,t)=>i.a.createElement(r.Fragment,{key:t},u[t]?i.a.createElement("span",{className:a(s.highlighted,c)},e):i.a.createElement("span",null,e))):l)}},ASyk:function(e,t,n){e.exports={"tablet-normal-breakpoint":"screen and (max-width: 768px)","small-height-breakpoint":"screen and (max-height: 360px)","tablet-small-breakpoint":"screen and (max-width: 428px)"}},H9Gg:function(e,t,n){"use strict";n.d(t,"c",(function(){return i})),n.d(t,"a",(function(){return a})),n.d(t,"b",(function(){return o}));var r=n("ogJP");function i(e){const{data:t,rules:n,queryString:i,isPreventedFromFiltering:a,primaryKey:o,secondaryKey:s=o,optionalPrimaryKey:l}=e;return t.map(e=>{const t=l&&e[l]?e[l]:e[o],a=e[s];let c,u=0;return n.forEach(e=>{var n,o,s,l;const{re:d,fullMatch:h}=e;return d.lastIndex=0,t&&t.toLowerCase()===i.toLowerCase()?(u=3,void(c=null===(n=t.match(h))||void 0===n?void 0:n.index)):Object(r.isString)(t)&&h.test(t)?(u=2,void(c=null===(o=t.match(h))||void 0===o?void 0:o.index)):Object(r.isString)(a)&&h.test(a)?(u=1,void(c=null===(s=a.match(h))||void 0===s?void 0:s.index)):void(Object(r.isString)(a)&&d.test(a)&&(u=1,c=null===(l=a.match(d))||void 0===l?void 0:l.index))}),{matchPriority:u,matchIndex:c,item:e}}).filter(e=>a||e.matchPriority).sort((e,t)=>{if(e.matchPriority<t.matchPriority)return 1;if(e.matchPriority>t.matchPriority)return-1;if(e.matchPriority===t.matchPriority){if(void 0===e.matchIndex||void 0===t.matchIndex)return 0;if(e.matchIndex>t.matchIndex)return 1;if(e.matchIndex<t.matchIndex)return-1}return 0}).map(({item:e})=>e)}function a(e,t){const n=[],r=e.toLowerCase(),i=e.split("").map((e,t)=>`(${0!==t?"[/\\s-]"+s(e):s(e)})`).join("(.*?)")+"(.*)";return n.push({fullMatch:new RegExp(`(${s(e)})`,"i"),re:new RegExp("^"+i,"i"),reserveRe:new RegExp(i,"i"),fuzzyHighlight:!0}),t&&t.hasOwnProperty(r)&&n.push({fullMatch:t[r],re:t[r],fuzzyHighlight:!1}),n}function o(e,t,n){const r=[];return e&&n?(n.forEach(e=>{const{fullMatch:n,re:i,reserveRe:a}=e;n.lastIndex=0,i.lastIndex=0;const o=n.exec(t),s=o||i.exec(t)||a&&a.exec(t);if(e.fuzzyHighlight=!o,s)if(e.fuzzyHighlight){let e=s.index;for(let t=1;t<s.length;t++){const n=s[t],i=s[t].length;if(t%2){const t=n.startsWith(" ")||n.startsWith("/")||n.startsWith("-");r[t?e+1:e]=!0}e+=i}}else for(let e=0;e<s[0].length;e++)r[s.index+e]=!0}),r):r}function s(e){return e.replace(/[!-/[-^{-}]/g,"\\$&")}},ItnF:function(e,t,n){e.exports={dialog:"dialog-2cMrvu9r",wrapper:"wrapper-2cMrvu9r",separator:"separator-2cMrvu9r"}},MyWJ:function(e,t,n){
e.exports={container:"container-3n5_2-hI",inputContainer:"inputContainer-3n5_2-hI",withCancel:"withCancel-3n5_2-hI",input:"input-3n5_2-hI",icon:"icon-3n5_2-hI",cancel:"cancel-3n5_2-hI"}},PSOE:function(e,t,n){e.exports={highlighted:"highlighted-1Qud56dI"}},QHWU:function(e,t,n){"use strict";n.d(t,"a",(function(){return d}));var r=n("q1tI"),i=n.n(r),a=n("TSYQ"),o=n.n(a),s=n("YFKU"),l=n("Iivm"),c=n("hYdZ"),u=n("MyWJ");function d(e){const{children:t,renderInput:n,onCancel:r,...a}=e;return i.a.createElement("div",{className:u.container},i.a.createElement("div",{className:o()(u.inputContainer,r&&u.withCancel)},n||i.a.createElement(h,{...a})),t,i.a.createElement(l.a,{className:u.icon,icon:c}),r&&i.a.createElement("div",{className:u.cancel,onClick:r},Object(s.t)("Cancel")))}function h(e){const{className:t,reference:n,value:r,onChange:a,onFocus:s,onBlur:l,onKeyDown:c,onSelect:d,placeholder:h,...m}=e;return i.a.createElement("input",{...m,ref:n,type:"text",className:o()(t,u.input),autoComplete:"off","data-role":"search",placeholder:h,value:r,onChange:a,onFocus:s,onBlur:l,onSelect:d,onKeyDown:c})}},R5JZ:function(e,t,n){"use strict";function r(e,t,n,r,i){function a(i){if(e>i.timeStamp)return;const a=i.target;void 0!==n&&null!==t&&null!==a&&a.ownerDocument===r&&(t.contains(a)||n(i))}return i.click&&r.addEventListener("click",a,!1),i.mouseDown&&r.addEventListener("mousedown",a,!1),i.touchEnd&&r.addEventListener("touchend",a,!1),i.touchStart&&r.addEventListener("touchstart",a,!1),()=>{r.removeEventListener("click",a,!1),r.removeEventListener("mousedown",a,!1),r.removeEventListener("touchend",a,!1),r.removeEventListener("touchstart",a,!1)}}n.d(t,"a",(function(){return r}))},XiJV:function(e,t,n){e.exports={separator:"separator-3No0pWrk"}},g89m:function(e,t,n){"use strict";var r=n("q1tI"),i=n.n(r),a=n("Eyy1"),o=n("TSYQ"),s=n.n(o),l=n("/3z9"),c=n("d700"),u=n("WXjp"),d=n("02pg"),h=n("uhCe"),m=n("/KDZ"),p=n("pafz"),f=n("ZjKI"),g=n("FQhm"),v=n("Iivm");const b=i.a.createContext({setHideClose:()=>{}});var E=n("zztK"),w=n("px1m");function x(e){const{title:t,subtitle:n,showCloseIcon:a=!0,onClose:o,renderBefore:l,renderAfter:c,draggable:u,className:d,unsetAlign:h}=e,[m,p]=Object(r.useState)(!1);return i.a.createElement(b.Provider,{value:{setHideClose:p}},i.a.createElement("div",{className:s()(w.container,d,(n||h)&&w.unsetAlign)},l,i.a.createElement("div",{"data-dragg-area":u,className:w.title},i.a.createElement("div",{className:w.ellipsis},t),n&&i.a.createElement("div",{className:s()(w.ellipsis,w.subtitle)},n)),c,a&&!m&&i.a.createElement(v.a,{className:w.close,icon:E,onClick:o,"data-name":"close","data-role":"button"})))}var C=n("ItnF");n.d(t,"a",(function(){return N}));const y={vertical:20},_={vertical:0};class N extends i.a.PureComponent{constructor(){super(...arguments),this._controller=null,this._reference=null,this._renderChildren=(e,t)=>(this._controller=e,this.props.render({requestResize:this._requestResize,centerAndFit:this._centerAndFit,isSmallWidth:t})),this._handleReference=e=>this._reference=e,this._handleClose=()=>{
this.props.onClose()},this._handleKeyDown=e=>{var t;if(!e.defaultPrevented)switch(this.props.onKeyDown&&this.props.onKeyDown(e),Object(l.hashFromEvent)(e)){case 27:if(e.defaultPrevented)return;if(this.props.forceCloseOnEsc&&this.props.forceCloseOnEsc())return void this._handleClose();const{activeElement:n}=document,r=Object(a.ensureNotNull)(this._reference);if(null!==n){if(e.preventDefault(),"true"===(t=n).getAttribute("data-haspopup")&&"true"!==t.getAttribute("data-expanded"))return void this._handleClose();if(Object(c.b)(n))return void r.focus();if(r.contains(n))return void this._handleClose()}}},this._requestResize=()=>{null!==this._controller&&this._controller.recalculateBounds()},this._centerAndFit=()=>{null!==this._controller&&this._controller.centerAndFit()}}componentDidMount(){g.subscribe(f.CLOSE_POPUPS_AND_DIALOGS_COMMAND,this._handleClose,null)}componentWillUnmount(){g.unsubscribe(f.CLOSE_POPUPS_AND_DIALOGS_COMMAND,this._handleClose,null)}focus(){Object(a.ensureNotNull)(this._reference).focus()}getElement(){return this._reference}contains(e){var t,n;return null!==(n=null===(t=this._reference)||void 0===t?void 0:t.contains(e))&&void 0!==n&&n}render(){const{className:e,headerClassName:t,isOpened:n,title:r,dataName:a,onClickOutside:o,additionalElementPos:l,additionalHeaderElement:c,backdrop:f,shouldForceFocus:g=!0,showSeparator:v,subtitle:b,draggable:E=!0,fullScreen:w=!1,showCloseIcon:N=!0,rounded:I=!0,isAnimationEnabled:P,growPoint:S,dialogTooltip:O,unsetHeaderAlign:k}=this.props,A="after"!==l?c:void 0,L="after"===l?c:void 0;return i.a.createElement(m.a,{rule:h.a.SmallHeight},l=>i.a.createElement(m.a,{rule:h.a.TabletSmall},c=>i.a.createElement(u.a,{rounded:!(c||w)&&I,className:s()(C.dialog,e),isOpened:n,reference:this._handleReference,onKeyDown:this._handleKeyDown,onClickOutside:o,onClickBackdrop:o,fullscreen:c||w,guard:l?_:y,boundByScreen:c||w,shouldForceFocus:g,backdrop:f,draggable:E,isAnimationEnabled:P,growPoint:S,name:this.props.dataName,dialogTooltip:O},i.a.createElement("div",{className:C.wrapper,"data-name":a,"data-dialog-name":"string"==typeof r?r:""},void 0!==r&&i.a.createElement(x,{draggable:E&&!(c||w),onClose:this._handleClose,renderAfter:L,renderBefore:A,subtitle:b,title:r,showCloseIcon:N,className:t,unsetAlign:k}),v&&i.a.createElement(d.a,{className:C.separator}),i.a.createElement(p.a.Consumer,null,e=>this._renderChildren(e,c||w))))))}}},hYdZ:function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" fill="none"><path stroke="currentColor" d="M12.4 12.5a7 7 0 1 0-4.9 2 7 7 0 0 0 4.9-2zm0 0l5.101 5"/></svg>'},ijHL:function(e,t,n){"use strict";function r(e){return a(e,o)}function i(e){return a(e,s)}function a(e,t){const n=Object.entries(e).filter(t),r={};for(const[e,t]of n)r[e]=t;return r}function o(e){const[t,n]=e;return 0===t.indexOf("data-")&&"string"==typeof n}function s(e){return 0===e[0].indexOf("aria-")}n.d(t,"b",(function(){return r})),n.d(t,"a",(function(){return i})),n.d(t,"c",(function(){return a})),n.d(t,"e",(function(){return o})),n.d(t,"d",(function(){
return s}))},px1m:function(e,t,n){e.exports={"small-height-breakpoint":"screen and (max-height: 360px)",container:"container-2sL5JydP",unsetAlign:"unsetAlign-2sL5JydP",title:"title-2sL5JydP",subtitle:"subtitle-2sL5JydP",ellipsis:"ellipsis-2sL5JydP",close:"close-2sL5JydP"}},uhCe:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n("ASyk");const i={SmallHeight:r["small-height-breakpoint"],TabletSmall:r["tablet-small-breakpoint"],TabletNormal:r["tablet-normal-breakpoint"]}},zztK:function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 17 17" width="17" height="17" fill="none"><path stroke="currentColor" stroke-width="1.2" d="M1 1l15 15m0-15L1 16"/></svg>'}}]);