diff --git a/addon/web/client/build/asset-manifest.json b/addon/web/client/build/asset-manifest.json index bd41b13..7447dd1 100644 --- a/addon/web/client/build/asset-manifest.json +++ b/addon/web/client/build/asset-manifest.json @@ -1,25 +1,25 @@ { "files": { "main.css": "/static/css/main.5c9c1296.chunk.css", - "main.js": "/static/js/main.fc34ed65.chunk.js", - "main.js.map": "/static/js/main.fc34ed65.chunk.js.map", - "runtime-main.js": "/static/js/runtime-main.a075f8fc.js", - "runtime-main.js.map": "/static/js/runtime-main.a075f8fc.js.map", + "main.js": "/static/js/main.0486ccb3.chunk.js", + "main.js.map": "/static/js/main.0486ccb3.chunk.js.map", + "runtime-main.js": "/static/js/runtime-main.46be4e9d.js", + "runtime-main.js.map": "/static/js/runtime-main.46be4e9d.js.map", "static/css/2.150d169a.chunk.css": "/static/css/2.150d169a.chunk.css", - "static/js/2.045f3153.chunk.js": "/static/js/2.045f3153.chunk.js", - "static/js/2.045f3153.chunk.js.map": "/static/js/2.045f3153.chunk.js.map", - "static/js/3.b26bc3cc.chunk.js": "/static/js/3.b26bc3cc.chunk.js", - "static/js/3.b26bc3cc.chunk.js.map": "/static/js/3.b26bc3cc.chunk.js.map", + "static/js/2.394a09d9.chunk.js": "/static/js/2.394a09d9.chunk.js", + "static/js/2.394a09d9.chunk.js.map": "/static/js/2.394a09d9.chunk.js.map", + "static/js/3.a0d7ce7f.chunk.js": "/static/js/3.a0d7ce7f.chunk.js", + "static/js/3.a0d7ce7f.chunk.js.map": "/static/js/3.a0d7ce7f.chunk.js.map", "index.html": "/index.html", "static/css/2.150d169a.chunk.css.map": "/static/css/2.150d169a.chunk.css.map", "static/css/main.5c9c1296.chunk.css.map": "/static/css/main.5c9c1296.chunk.css.map", - "static/js/2.045f3153.chunk.js.LICENSE.txt": "/static/js/2.045f3153.chunk.js.LICENSE.txt" + "static/js/2.394a09d9.chunk.js.LICENSE.txt": "/static/js/2.394a09d9.chunk.js.LICENSE.txt" }, "entrypoints": [ - "static/js/runtime-main.a075f8fc.js", + "static/js/runtime-main.46be4e9d.js", "static/css/2.150d169a.chunk.css", - "static/js/2.045f3153.chunk.js", + "static/js/2.394a09d9.chunk.js", "static/css/main.5c9c1296.chunk.css", - "static/js/main.fc34ed65.chunk.js" + "static/js/main.0486ccb3.chunk.js" ] } \ No newline at end of file diff --git a/addon/web/client/build/index.html b/addon/web/client/build/index.html index d6dc3c4..8e7c4df 100644 --- a/addon/web/client/build/index.html +++ b/addon/web/client/build/index.html @@ -1 +1 @@ -go-mitmproxy
\ No newline at end of file +go-mitmproxy
\ No newline at end of file diff --git a/addon/web/client/build/static/js/2.045f3153.chunk.js b/addon/web/client/build/static/js/2.045f3153.chunk.js deleted file mode 100644 index 44b5867..0000000 --- a/addon/web/client/build/static/js/2.045f3153.chunk.js +++ /dev/null @@ -1,3 +0,0 @@ -/*! For license information please see 2.045f3153.chunk.js.LICENSE.txt */ -(this["webpackJsonpmitmproxy-client"]=this["webpackJsonpmitmproxy-client"]||[]).push([[2],[function(e,t,n){"use strict";e.exports=n(45)},function(e,t,n){"use strict";e.exports=n(51)},function(e,t,n){"use strict";function r(){return(r=Object.assign||function(e){for(var t=1;t=0||(a[n]=e[n]);return a}n.d(t,"a",(function(){return r}))},function(e,t,n){var r;!function(){"use strict";var n={}.hasOwnProperty;function a(){for(var e=[],t=0;te.clientHeight}var T=["template","script","style"],L=function(e,t,n){[].forEach.call(e.children,(function(e){-1===t.indexOf(e)&&function(e){var t=e.nodeType,n=e.tagName;return 1===t&&-1===T.indexOf(n.toLowerCase())}(e)&&n(e)}))};function I(e,t){t&&(e?t.setAttribute("aria-hidden","true"):t.removeAttribute("aria-hidden"))}var R,F=function(){function e(e){var t=void 0===e?{}:e,n=t.hideSiblingNodes,r=void 0===n||n,a=t.handleContainerOverflow,o=void 0===a||a;this.hideSiblingNodes=void 0,this.handleContainerOverflow=void 0,this.modals=void 0,this.containers=void 0,this.data=void 0,this.scrollbarSize=void 0,this.hideSiblingNodes=r,this.handleContainerOverflow=o,this.modals=[],this.containers=[],this.data=[],this.scrollbarSize=d()}var t=e.prototype;return t.isContainerOverflowing=function(e){var t=this.data[this.containerIndexFromModal(e)];return t&&t.overflowing},t.containerIndexFromModal=function(e){return function(e,t){var n=-1;return e.some((function(e,r){return!!t(e,r)&&(n=r,!0)})),n}(this.data,(function(t){return-1!==t.modals.indexOf(e)}))},t.setContainerStyle=function(e,t){var n={overflow:"hidden"};e.style={overflow:t.style.overflow,paddingRight:t.style.paddingRight},e.overflowing&&(n.paddingRight=parseInt(Object(N.a)(t,"paddingRight")||"0",10)+this.scrollbarSize+"px"),Object(N.a)(t,n)},t.removeContainerStyle=function(e,t){Object.assign(t.style,e.style)},t.add=function(e,t,n){var r=this.modals.indexOf(e),a=this.containers.indexOf(t);if(-1!==r)return r;if(r=this.modals.length,this.modals.push(e),this.hideSiblingNodes&&function(e,t){var n=t.dialog,r=t.backdrop;L(e,[n,r],(function(e){return I(!0,e)}))}(t,e),-1!==a)return this.data[a].modals.push(e),r;var o={modals:[e],classes:n?n.split(/\s+/):[],overflowing:j(t)};return this.handleContainerOverflow&&this.setContainerStyle(o,t),o.classes.forEach(x.bind(null,t)),this.containers.push(t),this.data.push(o),r},t.remove=function(e){var t=this.modals.indexOf(e);if(-1!==t){var n=this.containerIndexFromModal(e),r=this.data[n],a=this.containers[n];if(r.modals.splice(r.modals.indexOf(e),1),this.modals.splice(t,1),0===r.modals.length)r.classes.forEach(_.bind(null,a)),this.handleContainerOverflow&&this.removeContainerStyle(r,a),this.hideSiblingNodes&&function(e,t){var n=t.dialog,r=t.backdrop;L(e,[n,r],(function(e){return I(!1,e)}))}(a,e),this.containers.splice(n,1),this.data.splice(n,1);else if(this.hideSiblingNodes){var o=r.modals[r.modals.length-1],i=o.backdrop;I(!1,o.dialog),I(!1,i)}}},t.isTopModal=function(e){return!!this.modals.length&&this.modals[this.modals.length-1]===e},e}(),z=function(e){var t;return"undefined"===typeof document?null:null==e?Object(c.a)().body:("function"===typeof e&&(e=e()),e&&"current"in e&&(e=e.current),null!=(t=e)&&t.nodeType&&e||null)};function M(e){var t=e||(R||(R=new F),R),n=Object(p.useRef)({dialog:null,backdrop:null});return Object.assign(n.current,{add:function(e,r){return t.add(n.current,e,r)},remove:function(){return t.remove(n.current)},isTopModal:function(){return t.isTopModal(n.current)},setDialogRef:Object(p.useCallback)((function(e){n.current.dialog=e}),[]),setBackdropRef:Object(p.useCallback)((function(e){n.current.backdrop=e}),[])})}var D=Object(p.forwardRef)((function(e,t){var n=e.show,r=void 0!==n&&n,i=e.role,l=void 0===i?"dialog":i,u=e.className,c=e.style,f=e.children,d=e.backdrop,y=void 0===d||d,E=e.keyboard,k=void 0===E||E,S=e.onBackdropClick,x=e.onEscapeKeyDown,C=e.transition,_=e.backdropTransition,N=e.autoFocus,P=void 0===N||N,j=e.enforceFocus,T=void 0===j||j,L=e.restoreFocus,I=void 0===L||L,R=e.restoreFocusOptions,F=e.renderDialog,D=e.renderBackdrop,A=void 0===D?function(e){return h.a.createElement("div",e)}:D,V=e.manager,U=e.container,H=e.containerClassName,B=e.onShow,W=e.onHide,$=void 0===W?function(){}:W,Q=e.onExit,q=e.onExited,K=e.onExiting,Y=e.onEnter,X=e.onEntering,G=e.onEntered,J=Object(o.a)(e,["show","role","className","style","children","backdrop","keyboard","onBackdropClick","onEscapeKeyDown","transition","backdropTransition","autoFocus","enforceFocus","restoreFocus","restoreFocusOptions","renderDialog","renderBackdrop","manager","container","containerClassName","onShow","onHide","onExit","onExited","onExiting","onEnter","onEntering","onEntered"]),Z=function(e,t){var n=Object(p.useState)((function(){return z(e)})),r=n[0],a=n[1];if(!r){var o=z(e);o&&a(o)}return Object(p.useEffect)((function(){t&&r&&t(r)}),[t,r]),Object(p.useEffect)((function(){var t=z(e);t!==r&&a(t)}),[e,r]),r}(U),ee=M(V),te=function(){var e=Object(p.useRef)(!0),t=Object(p.useRef)((function(){return e.current}));return Object(p.useEffect)((function(){return function(){e.current=!1}}),[]),t.current}(),ne=function(e){var t=Object(p.useRef)(null);return Object(p.useEffect)((function(){t.current=e})),t.current}(r),re=Object(p.useState)(!r),ae=re[0],oe=re[1],ie=Object(p.useRef)(null);Object(p.useImperativeHandle)(t,(function(){return ee}),[ee]),s.a&&!ne&&r&&(ie.current=b()),C||r||ae?r&&ae&&oe(!1):oe(!0);var le=Object(m.a)((function(){if(ee.add(Z,H),pe.current=Object(w.a)(document,"keydown",fe),de.current=Object(w.a)(document,"focus",(function(){return setTimeout(se)}),!0),B&&B(),P){var e=b(document);ee.dialog&&e&&!g(ee.dialog,e)&&(ie.current=e,ee.dialog.focus())}})),ue=Object(m.a)((function(){var e;(ee.remove(),null==pe.current||pe.current(),null==de.current||de.current(),I)&&(null==(e=ie.current)||null==e.focus||e.focus(R),ie.current=null)}));Object(p.useEffect)((function(){r&&Z&&le()}),[r,Z,le]),Object(p.useEffect)((function(){ae&&ue()}),[ae,ue]),v((function(){ue()}));var se=Object(m.a)((function(){if(T&&te()&&ee.isTopModal()){var e=b();ee.dialog&&e&&!g(ee.dialog,e)&&ee.dialog.focus()}})),ce=Object(m.a)((function(e){e.target===e.currentTarget&&(null==S||S(e),!0===y&&$())})),fe=Object(m.a)((function(e){k&&27===e.keyCode&&ee.isTopModal()&&(null==x||x(e),e.defaultPrevented||$())})),de=Object(p.useRef)(),pe=Object(p.useRef)(),he=C;if(!Z||!(r||he&&!ae))return null;var me=Object(a.a)({role:l,ref:ee.setDialogRef,"aria-modal":"dialog"===l||void 0},J,{style:c,className:u,tabIndex:-1}),ve=F?F(me):h.a.createElement("div",me,h.a.cloneElement(f,{role:"document"}));he&&(ve=h.a.createElement(he,{appear:!0,unmountOnExit:!0,in:!!r,onExit:Q,onExiting:K,onExited:function(){oe(!0);for(var e=arguments.length,t=new Array(e),n=0;nObject(c.a)(e).documentElement.clientHeight;K({paddingRight:t&&!n?d():void 0,paddingLeft:!t&&n?d():void 0})}}var pe=Object(m.a)((function(){oe&&de(oe.dialog)}));v((function(){Object(f.a)(window,"resize",pe),ne.current&&ne.current()}));var he=function(){ee.current=!0},me=function(e){ee.current&&oe&&e.target===oe.dialog&&(te.current=!0),ee.current=!1},ve=function(){Z(!0),ne.current=Object(y.a)(oe.dialog,(function(){Z(!1)}))},ye=function(e){"static"!==x?te.current||e.target!==e.currentTarget?te.current=!1:P():function(e){e.target===e.currentTarget&&ve()}(e)},be=Object(p.useCallback)((function(e){return h.a.createElement("div",Object(a.a)({},e,{className:l()(n+"-backdrop",H,!O&&"show")}))}),[O,H,n]),ge=Object(a.a)({},i,Q);O||(ge.display="block");return h.a.createElement(G.Provider,{value:ue},h.a.createElement(V,{show:S,ref:ie,backdrop:x,container:j,keyboard:!0,autoFocus:T,enforceFocus:L,restoreFocus:I,restoreFocusOptions:R,onEscapeKeyDown:function(e){C||"static"!==x?C&&_&&_(e):(e.preventDefault(),ve())},onShow:N,onHide:P,onEnter:function(e){e&&(e.style.display="block",de(e));for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r1?t-1:0),r=1;r1?t-1:0),r=1;r1?t-1:0),r=1;r=0||(a[n]=e[n]);return a}(t,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]));return u.a.createElement(p.Provider,{value:null},"function"===typeof n?n(e,r):u.a.cloneElement(u.a.Children.only(n),r))},r}(u.a.Component);function w(){}g.contextType=p,g.propTypes={},g.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:w,onEntering:w,onEntered:w,onExit:w,onExiting:w,onExited:w},g.UNMOUNTED=h,g.EXITED=m,g.ENTERING=v,g.ENTERED=y,g.EXITING=b;var E,k=g,S=n(15),O=n(30);function x(e,t){var n=Object(S.a)(e,t)||"",r=-1===n.indexOf("ms")?1e3:1;return parseFloat(n)*r}function C(e,t){var n=x(e,"transitionDuration"),r=x(e,"transitionDelay"),a=Object(O.a)(e,(function(n){n.target===e&&(a(),t(n))}),n+r)}var _=((E={}).entering="show",E.entered="show",E),N=u.a.forwardRef((function(e,t){var n=e.className,o=e.children,s=Object(a.a)(e,["className","children"]),c=Object(l.useCallback)((function(e){!function(e){e.offsetHeight}(e),s.onEnter&&s.onEnter(e)}),[s]);return u.a.createElement(k,Object(r.a)({ref:t,addEndListener:C},s,{onEnter:c}),(function(e,t){return u.a.cloneElement(o,Object(r.a)({},t,{className:i()("fade",n,o.props.className,_[e])}))}))}));N.defaultProps={in:!1,timeout:300,mountOnEnter:!1,unmountOnExit:!1,appear:!1},N.displayName="Fade";t.a=N},function(e,t,n){"use strict";t.a=function(e,t,n,r){var a=r&&"boolean"!==typeof r?r.capture:r;e.removeEventListener(t,n,a),n.__once&&e.removeEventListener(t,n.__once,a)}},function(e,t,n){"use strict";var r=n(19),a=!1,o=!1;try{var i={get passive(){return a=!0},get once(){return o=a=!0}};r.a&&(window.addEventListener("test",i,i),window.removeEventListener("test",i,!0))}catch(l){}t.a=function(e,t,n,r){if(r&&"boolean"!==typeof r&&!o){var i=r.once,l=r.capture,u=n;!o&&i&&(u=n.__once||function e(r){this.removeEventListener(t,e,l),n.call(this,r)},n.__once=u),e.addEventListener(t,u,a?r:l)}e.addEventListener(t,n,r)}},function(e,t,n){"use strict";var r=n(2),a=n(3),o=n(6),i=n.n(o),l=n(0),u=n.n(l),s=n(4),c=n.n(s),f={label:i.a.string.isRequired,onClick:i.a.func},d=u.a.forwardRef((function(e,t){var n=e.label,o=e.onClick,i=e.className,l=Object(a.a)(e,["label","onClick","className"]);return u.a.createElement("button",Object(r.a)({ref:t,type:"button",className:c()("close",i),onClick:o},l),u.a.createElement("span",{"aria-hidden":"true"},"\xd7"),u.a.createElement("span",{className:"sr-only"},n))}));d.displayName="CloseButton",d.propTypes=f,d.defaultProps={label:"Close"},t.a=d},function(e,t,n){"use strict";var r=n(2),a=n(0),o=n.n(a),i=n(4),l=n.n(i);t.a=function(e){return o.a.forwardRef((function(t,n){return o.a.createElement("div",Object(r.a)({},t,{ref:n,className:l()(t.className,e)}))}))}},function(e,t,n){"use strict";var r=n(2),a=n(3),o=n(0),i=n.n(o);var l=function(){for(var e=arguments.length,t=new Array(e),n=0;ne.length)&&(t=e.length);for(var n=0,r=new Array(t);n=e.length?{done:!0}:{done:!1,value:e[a++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,l=!0,u=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return l=e.done,e},e:function(e){u=!0,i=e},f:function(){try{l||null==n.return||n.return()}finally{if(u)throw i}}}}},function(e,t,n){"use strict";function r(e,t){if(null==e)return{};var n,r,a=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}n.d(t,"a",(function(){return r}))},function(e,t,n){e.exports=function(e){function t(r){if(n[r])return n[r].exports;var a=n[r]={exports:{},id:r,loaded:!1};return e[r].call(a.exports,a,a.exports,t),a.loaded=!0,a.exports}var n={};return t.m=e,t.c=n,t.p="",t(0)}([function(e,t,n){"use strict";var r=n(1).isInBrowser,a=new(n(2))(r?document.body:null);a.setStateFromDOM(null),a.listenToDOM(),r&&(window.scrollMonitor=a),e.exports=a},function(e,t){"use strict";t.VISIBILITYCHANGE="visibilityChange",t.ENTERVIEWPORT="enterViewport",t.FULLYENTERVIEWPORT="fullyEnterViewport",t.EXITVIEWPORT="exitViewport",t.PARTIALLYEXITVIEWPORT="partiallyExitViewport",t.LOCATIONCHANGE="locationChange",t.STATECHANGE="stateChange",t.eventTypes=[t.VISIBILITYCHANGE,t.ENTERVIEWPORT,t.FULLYENTERVIEWPORT,t.EXITVIEWPORT,t.PARTIALLYEXITVIEWPORT,t.LOCATIONCHANGE,t.STATECHANGE],t.isOnServer="undefined"==typeof window,t.isInBrowser=!t.isOnServer,t.defaultOffsets={top:0,bottom:0}},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e){return u?0:e===document.body?window.innerHeight||document.documentElement.clientHeight:e.clientHeight}function o(e){return u?0:e===document.body?Math.max(document.body.scrollHeight,document.documentElement.scrollHeight,document.body.offsetHeight,document.documentElement.offsetHeight,document.documentElement.clientHeight):e.scrollHeight}function i(e){return u?0:e===document.body?window.pageYOffset||document.documentElement&&document.documentElement.scrollTop||document.body.scrollTop:e.scrollTop}var l=n(1),u=l.isOnServer,s=l.isInBrowser,c=l.eventTypes,f=n(3),d=!1;if(s)try{var p=Object.defineProperty({},"passive",{get:function(){d=!0}});window.addEventListener("test",null,p)}catch(e){}var h=!!d&&{capture:!1,passive:!0},m=function(){function e(t,n){function l(){if(p.viewportTop=i(t),p.viewportBottom=p.viewportTop+p.viewportHeight,p.documentHeight=o(t),p.documentHeight!==s){for(f=p.watchers.length;f--;)p.watchers[f].recalculateLocation();s=p.documentHeight}}function u(){for(d=p.watchers.length;d--;)p.watchers[d].update();for(d=p.watchers.length;d--;)p.watchers[d].triggerCallbacks()}r(this,e);var s,f,d,p=this;this.item=t,this.watchers=[],this.viewportTop=null,this.viewportBottom=null,this.documentHeight=o(t),this.viewportHeight=a(t),this.DOMListener=function(){e.prototype.DOMListener.apply(p,arguments)},this.eventTypes=c,n&&(this.containerWatcher=n.create(t)),this.update=function(){l(),u()},this.recalculateLocations=function(){this.documentHeight=0,this.update()}}return e.prototype.listenToDOM=function(){s&&(window.addEventListener?(this.item===document.body?window.addEventListener("scroll",this.DOMListener,h):this.item.addEventListener("scroll",this.DOMListener,h),window.addEventListener("resize",this.DOMListener)):(this.item===document.body?window.attachEvent("onscroll",this.DOMListener):this.item.attachEvent("onscroll",this.DOMListener),window.attachEvent("onresize",this.DOMListener)),this.destroy=function(){window.addEventListener?(this.item===document.body?(window.removeEventListener("scroll",this.DOMListener,h),this.containerWatcher.destroy()):this.item.removeEventListener("scroll",this.DOMListener,h),window.removeEventListener("resize",this.DOMListener)):(this.item===document.body?(window.detachEvent("onscroll",this.DOMListener),this.containerWatcher.destroy()):this.item.detachEvent("onscroll",this.DOMListener),window.detachEvent("onresize",this.DOMListener))})},e.prototype.destroy=function(){},e.prototype.DOMListener=function(e){this.setStateFromDOM(e)},e.prototype.setStateFromDOM=function(e){var t=i(this.item),n=a(this.item),r=o(this.item);this.setState(t,n,r,e)},e.prototype.setState=function(e,t,n,r){var a=t!==this.viewportHeight||n!==this.contentHeight;if(this.latestEvent=r,this.viewportTop=e,this.viewportHeight=t,this.viewportBottom=e+t,this.contentHeight=n,a)for(var o=this.watchers.length;o--;)this.watchers[o].recalculateLocation();this.updateAndTriggerWatchers(r)},e.prototype.updateAndTriggerWatchers=function(e){for(var t=this.watchers.length;t--;)this.watchers[t].update();for(t=this.watchers.length;t--;)this.watchers[t].triggerCallbacks(e)},e.prototype.createCustomContainer=function(){return new e},e.prototype.createContainer=function(t){"string"==typeof t?t=document.querySelector(t):t&&t.length>0&&(t=t[0]);var n=new e(t,this);return n.setStateFromDOM(),n.listenToDOM(),n},e.prototype.create=function(e,t){"string"==typeof e?e=document.querySelector(e):e&&e.length>0&&(e=e[0]);var n=new f(this,e,t);return this.watchers.push(n),n},e.prototype.beget=function(e,t){return this.create(e,t)},e}();e.exports=m},function(e,t,n){"use strict";function r(e,t,n){function r(e,t){if(0!==e.length)for(y=e.length;y--;)(b=e[y]).callback.call(g,t,g),b.isOne&&e.splice(y,1)}var a,h,m,v,y,b,g=this;this.watchItem=t,this.container=e,this.offsets=n?n===+n?{top:n,bottom:n}:{top:n.top||p.top,bottom:n.bottom||p.bottom}:p,this.callbacks={};for(var w=0,E=d.length;w0?this.top=this.bottom=this.watchItem:this.top=this.bottom=this.container.documentHeight-this.watchItem:(this.top=this.watchItem.top,this.bottom=this.watchItem.bottom);this.top-=this.offsets.top,this.bottom+=this.offsets.bottom,this.height=this.bottom-this.top,void 0===e&&void 0===t||this.top===e&&this.bottom===t||r(this.callbacks[c],null)}},this.recalculateLocation(),this.update(),a=this.isInViewport,h=this.isFullyInViewport,m=this.isAboveViewport,v=this.isBelowViewport}var a=n(1),o=a.VISIBILITYCHANGE,i=a.ENTERVIEWPORT,l=a.FULLYENTERVIEWPORT,u=a.EXITVIEWPORT,s=a.PARTIALLYEXITVIEWPORT,c=a.LOCATIONCHANGE,f=a.STATECHANGE,d=a.eventTypes,p=a.defaultOffsets;r.prototype={on:function(e,t,n){switch(!0){case e===o&&!this.isInViewport&&this.isAboveViewport:case e===i&&this.isInViewport:case e===l&&this.isFullyInViewport:case e===u&&this.isAboveViewport&&!this.isInViewport:case e===s&&this.isInViewport&&this.isAboveViewport:if(t.call(this,this.container.latestEvent,this),n)return}if(!this.callbacks[e])throw new Error("Tried to add a scroll monitor listener of type "+e+". Your options are: "+d.join(", "));this.callbacks[e].push({callback:t,isOne:n||!1})},off:function(e,t){if(!this.callbacks[e])throw new Error("Tried to remove a scroll monitor listener of type "+e+". Your options are: "+d.join(", "));for(var n,r=0;n=this.callbacks[e][r];r++)if(n.callback===t){this.callbacks[e].splice(r,1);break}},one:function(e,t){this.on(e,t,!0)},recalculateSize:function(){this.height=this.watchItem.offsetHeight+this.offsets.top+this.offsets.bottom,this.bottom=this.top+this.height},update:function(){this.isAboveViewport=this.topthis.container.viewportBottom,this.isInViewport=this.topthis.container.viewportTop,this.isFullyInViewport=this.top>=this.container.viewportTop&&this.bottom<=this.container.viewportBottom||this.isAboveViewport&&this.isBelowViewport},destroy:function(){var e=this.container.watchers.indexOf(this),t=this;this.container.watchers.splice(e,1);for(var n=0,r=d.length;n":">","<":"<"};var f=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.render=function(){var e,t=this.props,n=t.json,r=t.data,i=t.replacer,l=t.space,f=t.themeClassName,d=t.theme,p=t.onJSONPrettyError,h=t.onError,m=t.silent,v=t.mainStyle,y=t.keyStyle,b=t.valueStyle,g=t.stringStyle,w=t.booleanStyle,E=t.errorStyle,k=o(t,["json","data","replacer","space","themeClassName","theme","onJSONPrettyError","onError","silent","mainStyle","keyStyle","valueStyle","stringStyle","booleanStyle","errorStyle"]),S={mainStyle:v,keyStyle:y,valueStyle:b,stringStyle:g,booleanStyle:w,errorStyle:E},O=r||n;if("string"===typeof O)try{O=JSON.parse(O)}catch(x){return m||console.warn("[react-json-pretty]: "+x.message),p&&p(x),!p&&h&&(h(x),console.warn("JSONPretty#onError is deprecated, please use JSONPretty#onJSONPrettyError instead")),u.createElement("div",a({},k,{dangerouslySetInnerHTML:{__html:'
"+(e=O,(e?e.replace(/<|>|&|"|'/g,(function(e){return c[e]})):e)+"
")}}))}return u.createElement("div",a({},k,{dangerouslySetInnerHTML:{__html:'
"+this._pretty(d,O,i,+l,S)+"
"}}))},t.prototype._pretty=function(e,t,n,r,a){var o=JSON.stringify(t,"function"===typeof n?n:null,isNaN(r)?2:r);return o?o.replace(/&/g,"&").replace(/\\"([^,])/g,"\\"$1").replace(//g,">").replace(/^( *)("[^"]+": )?("[^"]*"|[\w.+-]*)?([,[{]|\[\s*\],?|\{\s*\},?)?$/gm,this._replace.bind(null,e,a)):o},t.prototype._replace=function(e,t,n,r,a,o,i){var l="",u='",c='",f='",d='",p=r||"";return a&&(p=p+'"'+u+a.replace(/^"|":\s$/g,"")+'": '),o&&(p="true"===o||"false"===o?p+d+o+l:p+('"'===o[0]?f:c)+o+l),p+(i||"")},t.propTypes={data:l.any,json:l.any,replacer:l.func,silent:l.bool,space:l.oneOfType([l.number,l.string]),theme:l.object,themeClassName:l.string,onJSONPrettyError:l.func},t.defaultProps={data:"",json:"",silent:!0,space:2,themeClassName:"__json-pretty__"},t}(u.Component);e.exports=f},function(e,t,n){"use strict";var r=n(2),a=n(3),o=n(4),i=n.n(o),l=n(0),u=n.n(l),s=n(5),c=u.a.forwardRef((function(e,t){var n=e.bsPrefix,o=e.className,l=e.striped,c=e.bordered,f=e.borderless,d=e.hover,p=e.size,h=e.variant,m=e.responsive,v=Object(a.a)(e,["bsPrefix","className","striped","bordered","borderless","hover","size","variant","responsive"]),y=Object(s.a)(n,"table"),b=i()(o,y,h&&y+"-"+h,p&&y+"-"+p,l&&y+"-striped",c&&y+"-bordered",f&&y+"-borderless",d&&y+"-hover"),g=u.a.createElement("table",Object(r.a)({},v,{className:b,ref:t}));if(m){var w=y+"-responsive";return"string"===typeof m&&(w=w+"-"+m),u.a.createElement("div",{className:w},g)}return g}));t.a=c},function(e,t,n){"use strict";var r=n(2),a=n(3),o=n(4),i=n.n(o),l=n(0),u=n.n(l);n(38);function s(e){return"default"+e.charAt(0).toUpperCase()+e.substr(1)}function c(e){var t=function(e,t){if("object"!==typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===typeof t?t:String(t)}function f(e,t){return Object.keys(t).reduce((function(n,o){var i,u=n,f=u[s(o)],d=u[o],p=Object(a.a)(u,[s(o),o].map(c)),h=t[o],m=function(e,t,n){var r=Object(l.useRef)(void 0!==e),a=Object(l.useState)(t),o=a[0],i=a[1],u=void 0!==e,s=r.current;return r.current=u,!u&&s&&o!==t&&i(t),[u?e:o,Object(l.useCallback)((function(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),a=1;a