mirror of
https://github.com/shlinkio/shlink-web-client.git
synced 2024-12-24 09:58:21 +03:00
3 lines
1.1 MiB
JavaScript
3 lines
1.1 MiB
JavaScript
|
/*! For license information please see 2.a4dfa427.chunk.js.LICENSE.txt */
|
||
|
(window.webpackJsonp=window.webpackJsonp||[]).push([[2],[function(e,t,n){"use strict";e.exports=n(298)},function(e,t,n){e.exports=n(271)()},function(e,t,n){"use strict";e.exports=n(268)},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(10);function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?i(Object(n),!0).forEach((function(t){Object(r.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}},function(e,t,n){"use strict";n.d(t,"a",(function(){return ms})),n.d(t,"b",(function(){return zn})),n.d(t,"c",(function(){return Xn})),n.d(t,"d",(function(){return Kr})),n.d(t,"e",(function(){return si})),n.d(t,"f",(function(){return hi})),n.d(t,"g",(function(){return yi})),n.d(t,"h",(function(){return qi})),n.d(t,"i",(function(){return Xi})),n.d(t,"j",(function(){return zr})),n.d(t,"k",(function(){return Zn})),n.d(t,"l",(function(){return ar})),n.d(t,"m",(function(){return fr})),n.d(t,"n",(function(){return mr})),n.d(t,"o",(function(){return fa})),n.d(t,"p",(function(){return ya})),n.d(t,"q",(function(){return xa})),n.d(t,"r",(function(){return ea})),n.d(t,"s",(function(){return Ps})),n.d(t,"t",(function(){return Do})),n.d(t,"u",(function(){return Ho})),n.d(t,"v",(function(){return Yo})),n.d(t,"w",(function(){return Io})),n.d(t,"x",(function(){return _n})),n.d(t,"y",(function(){return On})),n.d(t,"z",(function(){return Cn})),n.d(t,"A",(function(){return on})),n.d(t,"B",(function(){return cn})),n.d(t,"C",(function(){return vn})),n.d(t,"D",(function(){return $a})),n.d(t,"E",(function(){return ts})),n.d(t,"F",(function(){return os})),n.d(t,"G",(function(){return fo})),n.d(t,"H",(function(){return ko})),n.d(t,"I",(function(){return Vt})),n.d(t,"J",(function(){return Zo})),n.d(t,"K",(function(){return Qs})),n.d(t,"L",(function(){return $s}));var r=n(2),i=n.n(r),o=n(1),a=n.n(o),s=n(6),u=n.n(s),c=r.createContext(),l=r.createContext();function f(e){var t=e.children,n=r.useState(null),i=n[0],o=n[1],a=r.useRef(!1);r.useEffect((function(){return function(){a.current=!0}}),[]);var s=r.useCallback((function(e){a.current||o(e)}),[]);return r.createElement(c.Provider,{value:i},r.createElement(l.Provider,{value:s},t))}var d=function(e){return Array.isArray(e)?e[0]:e},p=function(e){if("function"===typeof e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return e.apply(void 0,n)}},h=function(e,t){if("function"===typeof e)return p(e,t);null!=e&&(e.current=t)},m=function(e){return e.reduce((function(e,t){var n=t[0],r=t[1];return e[n]=r,e}),{})},v="undefined"!==typeof window&&window.document&&window.document.createElement?r.useLayoutEffect:r.useEffect;function g(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function y(e){return e instanceof g(e).Element||e instanceof Element}function b(e){return e instanceof g(e).HTMLElement||e instanceof HTMLElement}function _(e){return"undefined"!==typeof ShadowRoot&&(e instanceof g(e).ShadowRoot||e instanceof ShadowRoot)}var w=Math.max,x=Math.min,k=Math.round;function O(e,t){void 0===t&&(t=!1);var n=e.getBoundingClientRect(),r=1,i=1;if(b(e)&&t){var o=e.offsetHeight,a=e.offsetWidth;a>0&&(r=k(n.width)/a||1),o>0&&(i=k(n.height)/o||1)}return{width:n.width/r,height:n.height/i,top:n.top/i,right:n.right/r,bottom:n.bottom/i,left:n.left/r,x:n.left/r,y:n.top/i}}function E(e){var t=g(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function M(e){return e?(e.nodeName||"").toLowerCase():null}function S(e){return((y(e)?e.ownerDocument:e.document)||window.document).documentElement}function C(e){return O(S(e)).left+E(e).scrollLeft}function T(e){return g(e).getCo
|
||
|
//# sourceMappingURL=2.a4dfa427.chunk.js.map
|