File Manager
Viewing File: 71.js
(window.webpackJsonp=window.webpackJsonp||[]).push([[71],{"+EG+":function(t,e,n){"use strict";n.d(e,"a",(function(){return r})),n.d(e,"b",(function(){return s}));var o=n("mrSG"),i=n("q1tI"),r=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(o.c)(e,t),e.prototype.shouldComponentUpdate=function(){return!1},e.prototype.render=function(){return i.createElement("div",{style:{position:"fixed",zIndex:150,left:0,top:0},ref:this.props.reference})},e}(i.Component),s=i.createContext(null)},"16Al":function(t,e,n){"use strict";var o=n("WbBG");function i(){}function r(){}r.resetWarningCache=i,t.exports=function(){function t(t,e,n,i,r,s){if(s!==o){var a=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw a.name="Invariant Violation",a}}function e(){return t}t.isRequired=t;var n={array:t,bool:t,func:t,number:t,object:t,string:t,symbol:t,any:t,arrayOf:e,element:t,elementType:t,instanceOf:e,node:t,objectOf:e,oneOf:e,oneOfType:e,shape:e,exact:e,checkPropTypes:r,resetWarningCache:i};return n.PropTypes=n,n}},"17x9":function(t,e,n){t.exports=n("16Al")()},"8d0Q":function(t,e,n){"use strict";n.d(e,"b",(function(){return i})),n.d(e,"a",(function(){return r}));var o=n("q1tI");function i(){var t=Object(o.useState)(!1),e=t[0],n=t[1];return[e,{onMouseOver:function(t){r(t)&&n(!0)},onMouseOut:function(t){r(t)&&n(!1)}}]}function r(t){return!t.currentTarget.contains(t.relatedTarget)}},AiMB:function(t,e,n){"use strict";n.d(e,"a",(function(){return c})),n.d(e,"b",(function(){return p}));var o=n("mrSG"),i=n("q1tI"),r=n("i8i4"),s=n("e3/o"),a=n("jAh7"),u=n("+EG+"),c=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e._uuid=Object(s.guid)(),e}return Object(o.c)(e,t),e.prototype.componentWillUnmount=function(){this._manager().removeWindow(this._uuid)},e.prototype.render=function(){var t=this._manager().ensureWindow(this._uuid,this.props.layerOptions);return t.style.top=this.props.top||"",t.style.bottom=this.props.bottom||"",t.style.left=this.props.left||"",t.style.right=this.props.right||"",t.style.pointerEvents=this.props.pointerEvents||"",r.createPortal(i.createElement(p.Provider,{value:this},this.props.children),t)},e.prototype.moveToTop=function(){this._manager().moveToTop(this._uuid)},e.prototype._manager=function(){return null===this.context?Object(a.getRootOverlapManager)():this.context},e.contextType=u.b,e}(i.PureComponent),p=i.createContext(null)},"R4+T":function(t,e){t.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 8" width="16" height="8"><path fill="currentColor" d="M0 1.475l7.396 6.04.596.485.593-.49L16 1.39 14.807 0 7.393 6.122 8.58 6.12 1.186.08z"/></svg>'},WbBG:function(t,e,n){"use strict";t.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},X0gx:function(t,e,n){"use strict";n.d(e,"a",(function(){return s}));var o=n("q1tI"),i=n.n(o),r=n("tWVy"),s=i.a.createContext(r.a)},gla1:function(t,e,n){"use strict"
;n.d(e,"a",(function(){return i}));var o=n("q1tI"),i=function(){return Object(o.useReducer)((function(t,e){return t+1}),0)[1]}},"i/MG":function(t,e,n){"use strict";n.d(e,"a",(function(){return p}));var o=n("mrSG"),i=(n("YFKU"),n("q1tI")),r=n("TSYQ"),s=n("Iivm"),a=n("To8B"),u=n("kXJy"),c={remove:window.t("Remove")};function p(t){var e=t.className,n=t.isActive,p=t.onClick,d=t.title,l=t.hidden,h=t["data-name"],f=void 0===h?"remove-button":h,m=Object(o.e)(t,["className","isActive","onClick","title","hidden","data-name"]);return i.createElement(s.a,Object(o.a)({},m,{"data-name":f,className:r(u.button,"apply-common-tooltip",n&&u.active,l&&u.hidden,e),icon:a,onClick:p,title:d||c.remove}))}},jAh7:function(t,e,n){"use strict";n.r(e),n.d(e,"OverlapManager",(function(){return r})),n.d(e,"getRootOverlapManager",(function(){return a}));var o=n("Eyy1"),i=function(){function t(){this._storage=[]}return t.prototype.add=function(t){this._storage.push(t)},t.prototype.remove=function(t){this._storage=this._storage.filter((function(e){return t!==e}))},t.prototype.has=function(t){return this._storage.includes(t)},t.prototype.getItems=function(){return this._storage},t}(),r=function(){function t(t){void 0===t&&(t=document),this._storage=new i,this._windows=new Map,this._index=0,this._document=t,this._container=t.createDocumentFragment()}return t.prototype.setContainer=function(t){var e=this._container,n=null===t?this._document.createDocumentFragment():t;!function(t,e){Array.from(t.childNodes).forEach((function(t){t.nodeType===Node.ELEMENT_NODE&&e.appendChild(t)}))}(e,n),this._container=n},t.prototype.registerWindow=function(t){this._storage.has(t)||this._storage.add(t)},t.prototype.ensureWindow=function(t,e){void 0===e&&(e={position:"fixed",direction:"normal"});var n=this._windows.get(t);if(void 0!==n)return n;this.registerWindow(t);var o=this._document.createElement("div");if(o.style.position=e.position,o.style.zIndex=this._index.toString(),o.dataset.id=t,void 0!==e.index){var i=this._container.childNodes.length;if(e.index>=i)this._container.appendChild(o);else if(e.index<=0)this._container.insertBefore(o,this._container.firstChild);else{var r=this._container.childNodes[e.index];this._container.insertBefore(o,r)}}else"reverse"===e.direction?this._container.insertBefore(o,this._container.firstChild):this._container.appendChild(o);return this._windows.set(t,o),++this._index,o},t.prototype.unregisterWindow=function(t){this._storage.remove(t);var e=this._windows.get(t);void 0!==e&&(null!==e.parentElement&&e.parentElement.removeChild(e),this._windows.delete(t))},t.prototype.getZindex=function(t){var e=this.ensureWindow(t);return parseInt(e.style.zIndex||"0")},t.prototype.moveToTop=function(t){this.getZindex(t)!==this._index&&(this.ensureWindow(t).style.zIndex=(++this._index).toString())},t.prototype.removeWindow=function(t){this.unregisterWindow(t)},t}(),s=new WeakMap;function a(t){void 0===t&&(t=document);var e=t.getElementById("overlap-manager-root");if(null!==e)return Object(o.ensureDefined)(s.get(e));var n=new r(t),i=function(t){
var e=t.createElement("div");return e.style.position="absolute",e.style.zIndex=150..toString(),e.style.top="0px",e.style.left="0px",e.id="overlap-manager-root",e}(t);return s.set(i,n),n.setContainer(i),t.body.appendChild(i),n}},kXJy:function(t,e,n){t.exports={button:"button-3B9fDLtm",disabled:"disabled-3B9fDLtm",active:"active-3B9fDLtm",hidden:"hidden-3B9fDLtm"}}}]);