diff --git a/browse/static/bibex/bibex.js b/browse/static/bibex/bibex.js index 81d2f51b1..94bd9f6e4 100644 --- a/browse/static/bibex/bibex.js +++ b/browse/static/bibex/bibex.js @@ -1,2 +1 @@ -!function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:r})},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="./",n(n.s=23)}([function(e,t,n){"use strict";n.d(t,"a",function(){return a}),t.g=function(){return Math.random().toString().substring(2,12)},t.e=function(e){var t,n,r,o,a=[];try{for(var u=i(Object.getOwnPropertyNames(e)),s=u.next();!s.done;s=u.next()){var l=s.value,c=e[l],f=Array.isArray(c)?c:[c];try{for(var p=(r=void 0,i(f)),d=p.next();!d.done;d=p.next()){var h=d.value;a.push(encodeURIComponent(l)+"="+encodeURIComponent(""+h))}}catch(e){r={error:e}}finally{try{d&&!d.done&&(o=p.return)&&o.call(p)}finally{if(r)throw r.error}}}}catch(e){t={error:e}}finally{try{s&&!s.done&&(n=u.return)&&n.call(u)}finally{if(t)throw t.error}}return a.join("&")},t.i=function(e){if(r.v)return r.v+"?url="+encodeURIComponent(e);return e},t.f=function(e){return e.replace(/\s+/g," ")},t.h=function(e){return e.replace(/[~`!@#$%^&*(){}\[\];:"'<,.>?\/\\|_+=-]/gim,"")},n.d(t,"c",function(){return u}),n.d(t,"b",function(){return s}),n.d(t,"d",function(){return l});var r=n(2),o=this&&this.__extends||function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),i=this&&this.__values||function(e){var t="function"===typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"===typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},a=new Set(["astro-ph","cond-mat","cs","gr-qc","hep-ex","hep-lat","hep-ph","hep-th","math-ph","nlin","nucl-ex","nucl-th","physics","quant-ph","math","q-bio","q-fin","stat","eess","econ"]);var u=function(e){function t(n){var r=e.call(this,n)||this;return Object.setPrototypeOf(r,t.prototype),r.name="QueryError",r}return o(t,e),t}(Error),s=function(e){function t(t){var n=e.call(this,t)||this;return Object.setPrototypeOf(n,u.prototype),n.name="DataError",n}return o(t,e),t}(Error),l=function(e){function t(n){var r=e.call(this,n)||this;return Object.setPrototypeOf(r,t.prototype),r.name="RateLimitError",r}return o(t,e),t}(Error)},function(e,t,n){"use strict";e.exports=n(30)},function(e,t,n){"use strict";n.d(t,"v",function(){return r}),n.d(t,"a",function(){return o}),n.d(t,"b",function(){return i}),n.d(t,"c",function(){return a}),n.d(t,"d",function(){return u}),n.d(t,"e",function(){return s}),n.d(t,"f",function(){return l}),n.d(t,"t",function(){return c}),n.d(t,"q",function(){return f}),n.d(t,"m",function(){return p}),n.d(t,"r",function(){return d}),n.d(t,"s",function(){return h}),n.d(t,"l",function(){return m}),n.d(t,"h",function(){return v}),n.d(t,"u",function(){return y}),n.d(t,"k",function(){return g}),n.d(t,"j",function(){return b}),n.d(t,"i",function(){return w}),n.d(t,"o",function(){return A}),n.d(t,"p",function(){return E}),n.d(t,"n",function(){return S}),n.d(t,"g",function(){return x});var r="",o="https://export.arxiv.org/api/query?id_list=",i="https://dx.doi.org/",a="https://scholar.google.com/scholar",u="https://arxiv.org/bibex/apistats.png",s=10,l=10,c="Bibliographic data",f="Bibex",p="https://labs.arxiv.org",d=!1,h=!0,m=!1,v=!1,y=!0,g=["s2","prophy","ads","inspire"],b="arxiv_bibex",w=10950,A="arxiv_bibex_limiter",E=3,S=3,x=!0},function(e,t,n){"use strict";n.d(t,"d",function(){return o}),n.d(t,"b",function(){return i}),n.d(t,"a",function(){return a}),n.d(t,"c",function(){return u});var r=this&&this.__extends||function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),o="up",i="down",a=function(){function e(){}return e.prototype.tolastname=function(){var e=(this.name||"").split(" ");return e[e.length-1]},e}(),u=function(){return function(e){this.arxivId=e}}();(function(e){function t(){return null!==e&&e.apply(this,arguments)||this}r(t,e)})(u)},function(e,t,n){"use strict";(function(e,r){n.d(t,"a",function(){return T}),n.d(t,"b",function(){return Ue}),n.d(t,"c",function(){return ye}),n.d(t,"d",function(){return Ye}),n.d(t,"e",function(){return ee}),n.d(t,"f",function(){return nt}),n.d(t,"g",function(){return O}),n.d(t,"h",function(){return at}),n.d(t,"i",function(){return Nt}),n.d(t,"j",function(){return Ot}),n.d(t,"k",function(){return Mt}),n.d(t,"l",function(){return Y}),n.d(t,"m",function(){return Je}),n.d(t,"n",function(){return We}),n.d(t,"o",function(){return ct}),n.d(t,"p",function(){return ue});var o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)};var i=function(){return(i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}}}function u(e,t){var n="function"===typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a}function s(){for(var e=[],t=0;t2&&J("box");var n=V(t);return new we(e,q(n),n.name,!0,n.equals)},array:function(e,t){arguments.length>2&&J("array");var n=V(t);return function(e,t,n,r){void 0===n&&(n="ObservableArray@"+p());void 0===r&&(r=!1);var o=new At(n,t,r);!function(e,t,n){Object.defineProperty(e,t,{enumerable:!1,writable:!1,configurable:!0,value:n})}(o.values,T,o);var i=new Proxy(o.values,wt);if(o.proxy=i,e&&e.length){var a=ge(!0);o.spliceWithArray(0,0,e),be(a)}return i}(e,q(n),n.name)},map:function(e,t){arguments.length>2&&J("map");var n=V(t);return new kt(e,q(n),n.name)},set:function(e,t){arguments.length>2&&J("set");var n=V(t);return new Rt(e,q(n),n.name)},object:function(e,t,n){"string"===typeof arguments[1]&&J("object");var r=V(n);if(!1===r.proxy)return rt({},e,t,r);var o=ot(r),i=function(e){var t=new Proxy(e,dt);return e[T].proxy=t,t}(rt({},void 0,void 0,r));return it(i,e,t,o),i},ref:H,shallow:Q,deep:z,struct:W},Y=function(e,t,n){if("string"===typeof arguments[1])return z.apply(null,arguments);if(lt(e))return e;var r=g(e)?Y.object(e,t,n):Array.isArray(e)?Y.array(e,t):A(e)?Y.map(e,t):E(e)?Y.set(e,t):e;if(r!==e)return r;d(!1)};function J(e){d("Expected one or two arguments to observable."+e+". Did you accidentally try to use observable."+e+" as decorator?")}Object.keys(G).forEach(function(e){return Y[e]=G[e]});var X,K,Z=U(!1,function(e,t,n,r,o){var a=n.get,u=n.set,s=o[0]||{};Dt(e).addComputedProp(e,t,i({get:a,set:u,context:e},s))}),$=Z({equals:_.structural}),ee=function(e,t,n){if("string"===typeof t)return Z.apply(null,arguments);if(null!==e&&"object"===typeof e&&1===arguments.length)return Z.apply(null,arguments);var r="object"===typeof t?t:{};return r.get=e,r.set="function"===typeof t?t:r.set,r.name=r.name||e.name||"",new Ae(r)};ee.struct=$,function(e){e[e.NOT_TRACKING=-1]="NOT_TRACKING",e[e.UP_TO_DATE=0]="UP_TO_DATE",e[e.POSSIBLY_STALE=1]="POSSIBLY_STALE",e[e.STALE=2]="STALE"}(X||(X={})),function(e){e[e.NONE=0]="NONE",e[e.LOG=1]="LOG",e[e.BREAK=2]="BREAK"}(K||(K={}));var te=function(){return function(e){this.cause=e}}();function ne(e){return e instanceof te}function re(e){switch(e.dependenciesState){case X.UP_TO_DATE:return!1;case X.NOT_TRACKING:case X.STALE:return!0;case X.POSSIBLY_STALE:for(var t=se(),n=e.observing,r=n.length,o=0;o0;Te.computationDepth>0&&t&&d(!1),Te.allowStateChanges||!t&&"strict"!==Te.enforceActions||d(!1)}function ie(e,t,n){var r=ce(!0);pe(e),e.newObserving=new Array(e.observing.length+100),e.unboundDepsCount=0,e.runId=++Te.runId;var o,i=Te.trackingDerivation;if(Te.trackingDerivation=e,!0===Te.disableErrorBoundaries)o=t.call(n);else try{o=t.call(n)}catch(e){o=new te(e)}return Te.trackingDerivation=i,function(e){for(var t=e.observing,n=e.observing=e.newObserving,r=X.UP_TO_DATE,o=0,i=e.unboundDepsCount,a=0;ar&&(r=u.dependenciesState)}n.length=o,e.newObserving=null,i=t.length;for(;i--;){var u=t[i];0===u.diffValue&&_e(u,e),u.diffValue=0}for(;o--;){var u=n[o];1===u.diffValue&&(u.diffValue=0,Oe(u,e))}r!==X.UP_TO_DATE&&(e.dependenciesState=r,e.onBecomeStale())}(e),fe(r),o}function ae(e){var t=e.observing;e.observing=[];for(var n=t.length;n--;)_e(t[n],e);e.dependenciesState=X.NOT_TRACKING}function ue(e){var t=se();try{return e()}finally{le(t)}}function se(){var e=Te.trackingDerivation;return Te.trackingDerivation=null,e}function le(e){Te.trackingDerivation=e}function ce(e){var t=Te.allowStateReads;return Te.allowStateReads=e,t}function fe(e){Te.allowStateReads=e}function pe(e){if(e.dependenciesState!==X.UP_TO_DATE){e.dependenciesState=X.UP_TO_DATE;for(var t=e.observing,n=t.length;n--;)t[n].lowestObserverState=X.UP_TO_DATE}}var de=0,he=1;function me(e,t,n){var r=function(){return ve(e,t,n||this,arguments)};return r.isMobxAction=!0,r}function ve(e,t,n,r){var o=function(e,t,n){var r=Qe()&&!!e,o=0;var i=se();Pe();var a=ge(!0),u=ce(!0),s={prevDerivation:i,prevAllowStateChanges:a,prevAllowStateReads:u,notifySpy:r,startTime:o,actionId:he++,parentActionId:de};return de=s.actionId,s}(e);try{return t.apply(n,r)}catch(e){throw o.error=e,e}finally{!function(e){de!==e.actionId&&d("invalid action stack. did you forget to finish an action?");de=e.parentActionId,void 0!==e.error&&(Te.suppressReactionErrors=!0);be(e.prevAllowStateChanges),fe(e.prevAllowStateReads),Ie(),le(e.prevDerivation),e.notifySpy,0;Te.suppressReactionErrors=!1}(o)}}function ye(e,t){var n,r=ge(e);try{n=t()}finally{be(r)}return n}function ge(e){var t=Te.allowStateChanges;return Te.allowStateChanges=e,t}function be(e){Te.allowStateChanges=e}var we=function(e){function t(t,n,r,o,i){void 0===r&&(r="ObservableValue@"+p()),void 0===o&&(o=!0),void 0===i&&(i=_.default);var a=e.call(this,r)||this;return a.enhancer=n,a.name=r,a.equals=i,a.hasUnreportedChange=!1,a.value=n(t,void 0,r),o&&Qe(),a}return function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}(t,e),t.prototype.dehanceValue=function(e){return void 0!==this.dehancer?this.dehancer(e):e},t.prototype.set=function(e){this.value;if((e=this.prepareNewValue(e))!==Te.UNCHANGED){Qe();0,this.setNewValue(e)}},t.prototype.prepareNewValue=function(e){if(oe(this),ht(this)){var t=vt(this,{object:this,type:"update",newValue:e});if(!t)return Te.UNCHANGED;e=t.newValue}return e=this.enhancer(e,this.value,this.name),this.equals(this.value,e)?Te.UNCHANGED:e},t.prototype.setNewValue=function(e){var t=this.value;this.value=e,this.reportChanged(),yt(this)&&bt(this,{type:"update",object:this,newValue:e,oldValue:t})},t.prototype.get=function(){return this.reportObserved(),this.dehanceValue(this.value)},t.prototype.intercept=function(e){return mt(this,e)},t.prototype.observe=function(e,t){return t&&e({object:this,type:"update",newValue:this.value,oldValue:void 0}),gt(this,e)},t.prototype.toJSON=function(){return this.get()},t.prototype.toString=function(){return this.name+"["+this.value+"]"},t.prototype.valueOf=function(){return N(this.get())},t.prototype[Symbol.toPrimitive]=function(){return this.valueOf()},t}(C),Ae=(w("ObservableValue",we),function(){function e(e){this.dependenciesState=X.NOT_TRACKING,this.observing=[],this.newObserving=null,this.isBeingObserved=!1,this.isPendingUnobservation=!1,this.observers=new Set,this.diffValue=0,this.runId=0,this.lastAccessedBy=0,this.lowestObserverState=X.UP_TO_DATE,this.unboundDepsCount=0,this.__mapid="#"+p(),this.value=new te(null),this.isComputing=!1,this.isRunningSetter=!1,this.isTracing=K.NONE,this.derivation=e.get,this.name=e.name||"ComputedValue@"+p(),e.set&&(this.setter=me(this.name+"-setter",e.set)),this.equals=e.equals||(e.compareStructural||e.struct?_.structural:_.default),this.scope=e.context,this.requiresReaction=!!e.requiresReaction,this.keepAlive=!!e.keepAlive}return e.prototype.onBecomeStale=function(){!function(e){if(e.lowestObserverState!==X.UP_TO_DATE)return;e.lowestObserverState=X.POSSIBLY_STALE,e.observers.forEach(function(t){t.dependenciesState===X.UP_TO_DATE&&(t.dependenciesState=X.POSSIBLY_STALE,t.isTracing!==K.NONE&&Le(t,e),t.onBecomeStale())})}(this)},e.prototype.onBecomeObserved=function(){this.onBecomeObservedListeners&&this.onBecomeObservedListeners.forEach(function(e){return e()})},e.prototype.onBecomeUnobserved=function(){this.onBecomeUnobservedListeners&&this.onBecomeUnobservedListeners.forEach(function(e){return e()})},e.prototype.get=function(){this.isComputing&&d("Cycle detected in computation "+this.name+": "+this.derivation),0!==Te.inBatch||0!==this.observers.size||this.keepAlive?(De(this),re(this)&&this.trackAndCompute()&&function(e){if(e.lowestObserverState===X.STALE)return;e.lowestObserverState=X.STALE,e.observers.forEach(function(t){t.dependenciesState===X.POSSIBLY_STALE?t.dependenciesState=X.STALE:t.dependenciesState===X.UP_TO_DATE&&(e.lowestObserverState=X.UP_TO_DATE)})}(this)):re(this)&&(this.warnAboutUntrackedRead(),Pe(),this.value=this.computeValue(!1),Ie());var e=this.value;if(ne(e))throw e.cause;return e},e.prototype.peek=function(){var e=this.computeValue(!1);if(ne(e))throw e.cause;return e},e.prototype.set=function(e){if(this.setter){h(!this.isRunningSetter,"The setter of computed value '"+this.name+"' is trying to update itself. Did you intend to update an _observable_ value, instead of the computed property?"),this.isRunningSetter=!0;try{this.setter.call(this.scope,e)}finally{this.isRunningSetter=!1}}else h(!1,!1)},e.prototype.trackAndCompute=function(){Qe();var e=this.value,t=this.dependenciesState===X.NOT_TRACKING,n=this.computeValue(!0),r=t||ne(e)||ne(n)||!this.equals(e,n);return r&&(this.value=n),r},e.prototype.computeValue=function(e){var t;if(this.isComputing=!0,Te.computationDepth++,e)t=ie(this,this.derivation,this.scope);else if(!0===Te.disableErrorBoundaries)t=this.derivation.call(this.scope);else try{t=this.derivation.call(this.scope)}catch(e){t=new te(e)}return Te.computationDepth--,this.isComputing=!1,t},e.prototype.suspend=function(){this.keepAlive||(ae(this),this.value=void 0)},e.prototype.observe=function(e,t){var n=this,r=!0,o=void 0;return Ke(function(){var i=n.get();if(!r||t){var a=se();e({type:"update",object:n,newValue:i,oldValue:o}),le(a)}r=!1,o=i})},e.prototype.warnAboutUntrackedRead=function(){},e.prototype.toJSON=function(){return this.get()},e.prototype.toString=function(){return this.name+"["+this.derivation.toString()+"]"},e.prototype.valueOf=function(){return N(this.get())},e.prototype[Symbol.toPrimitive]=function(){return this.valueOf()},e}()),Ee=w("ComputedValue",Ae),Se=function(){return function(){this.version=5,this.UNCHANGED={},this.trackingDerivation=null,this.computationDepth=0,this.runId=0,this.mobxGuid=0,this.inBatch=0,this.pendingUnobservations=[],this.pendingReactions=[],this.isRunningReactions=!1,this.allowStateChanges=!0,this.allowStateReads=!0,this.enforceActions=!1,this.spyListeners=[],this.globalReactionErrorHandlers=[],this.computedRequiresReaction=!1,this.reactionRequiresObservable=!1,this.observableRequiresReaction=!1,this.computedConfigurable=!1,this.disableErrorBoundaries=!1,this.suppressReactionErrors=!1}}(),xe=!0,Ne=!1,Te=function(){var e=ke();return e.__mobxInstanceCount>0&&!e.__mobxGlobals&&(xe=!1),e.__mobxGlobals&&e.__mobxGlobals.version!==(new Se).version&&(xe=!1),xe?e.__mobxGlobals?(e.__mobxInstanceCount+=1,e.__mobxGlobals.UNCHANGED||(e.__mobxGlobals.UNCHANGED={}),e.__mobxGlobals):(e.__mobxInstanceCount=1,e.__mobxGlobals=new Se):(setTimeout(function(){Ne||d("There are multiple, different versions of MobX active. Make sure MobX is loaded only once or use `configure({ isolateGlobalState: true })`")},1),new Se)}();var Ce={};function ke(){return"undefined"!==typeof window?window:"undefined"!==typeof r?r:Ce}function Oe(e,t){e.observers.add(t),e.lowestObserverState>t.dependenciesState&&(e.lowestObserverState=t.dependenciesState)}function _e(e,t){e.observers.delete(t),0===e.observers.size&&Re(e)}function Re(e){!1===e.isPendingUnobservation&&(e.isPendingUnobservation=!0,Te.pendingUnobservations.push(e))}function Pe(){Te.inBatch++}function Ie(){if(0===--Te.inBatch){Me();for(var e=Te.pendingUnobservations,t=0;t0&&Re(e),!1)}function Le(e,t){if(console.log("[mobx.trace] '"+e.name+"' is invalidated due to a change in: '"+t.name+"'"),e.isTracing===K.BREAK){var n=[];!function e(t,n,r){if(n.length>=1e3)return void n.push("(and many more)");n.push(""+new Array(r).join("\t")+t.name);t.dependencies&&t.dependencies.forEach(function(t){return e(t,n,r+1)})}(at(e),n,1),new Function("debugger;\n/*\nTracing '"+e.name+"'\n\nYou are entering this break point because derivation '"+e.name+"' is being traced and '"+t.name+"' is now forcing it to update.\nJust follow the stacktrace you should now see in the devtools to see precisely what piece of your code is causing this update\nThe stackframe you are looking for is at least ~6-8 stack-frames up.\n\n"+(e instanceof Ae?e.derivation.toString().replace(/[*]\//g,"/"):"")+"\n\nThe dependencies for this derivation are:\n\n"+n.join("\n")+"\n*/\n ")()}}var Ue=function(){function e(e,t,n,r){void 0===e&&(e="Reaction@"+p()),void 0===r&&(r=!1),this.name=e,this.onInvalidate=t,this.errorHandler=n,this.requiresObservable=r,this.observing=[],this.newObserving=[],this.dependenciesState=X.NOT_TRACKING,this.diffValue=0,this.runId=0,this.unboundDepsCount=0,this.__mapid="#"+p(),this.isDisposed=!1,this._isScheduled=!1,this._isTrackPending=!1,this._isRunning=!1,this.isTracing=K.NONE}return e.prototype.onBecomeStale=function(){this.schedule()},e.prototype.schedule=function(){this._isScheduled||(this._isScheduled=!0,Te.pendingReactions.push(this),Me())},e.prototype.isScheduled=function(){return this._isScheduled},e.prototype.runReaction=function(){if(!this.isDisposed){if(Pe(),this._isScheduled=!1,re(this)){this._isTrackPending=!0;try{this.onInvalidate(),this._isTrackPending&&Qe()}catch(e){this.reportExceptionInDerivation(e)}}Ie()}},e.prototype.track=function(e){if(!this.isDisposed){Pe();Qe();0,this._isRunning=!0;var t=ie(this,e,void 0);this._isRunning=!1,this._isTrackPending=!1,this.isDisposed&&ae(this),ne(t)&&this.reportExceptionInDerivation(t.cause),Ie()}},e.prototype.reportExceptionInDerivation=function(e){var t=this;if(this.errorHandler)this.errorHandler(e,this);else{if(Te.disableErrorBoundaries)throw e;var n="[mobx] Encountered an uncaught exception that was thrown by a reaction or observer component, in: '"+this+"'";Te.suppressReactionErrors?console.warn("[mobx] (error in reaction '"+this.name+"' suppressed, fix error of causing action below)"):console.error(n,e),Qe()&&He({type:"error",name:this.name,message:n,error:""+e}),Te.globalReactionErrorHandlers.forEach(function(n){return n(e,t)})}},e.prototype.dispose=function(){this.isDisposed||(this.isDisposed=!0,this._isRunning||(Pe(),ae(this),Ie()))},e.prototype.getDisposer=function(){var e=this.dispose.bind(this);return e[T]=this,e},e.prototype.toString=function(){return"Reaction["+this.name+"]"},e.prototype.trace=function(e){void 0===e&&(e=!1),function(){for(var e=[],t=0;t0||Te.isRunningReactions||Fe(je)}function je(){Te.isRunningReactions=!0;for(var e=Te.pendingReactions,t=0;e.length>0;){++t===Be&&(console.error("Reaction doesn't converge to a stable state after "+Be+" iterations. Probably there is a cycle in the reactive function: "+e[0]),e.splice(0));for(var n=e.splice(0),r=0,o=n.length;r",e):2===arguments.length&&"function"===typeof t?me(e,t):1===arguments.length&&"string"===typeof e?Ge(e):!0!==r?Ge(t).apply(null,arguments):void b(e,t,me(e.name||t,n.value,this))};function Je(e,t){var n="string"===typeof e?e:e.name||"",r="function"===typeof e?e:t;return ve(n,r,this,void 0)}function Xe(e,t,n){b(e,t,me(t,n.bind(e)))}function Ke(e,t){void 0===t&&(t=f);var n,r=t&&t.name||e.name||"Autorun@"+p();if(!t.scheduler&&!t.delay)n=new Ue(r,function(){this.track(a)},t.onError,t.requiresObservable);else{var o=$e(t),i=!1;n=new Ue(r,function(){i||(i=!0,o(function(){i=!1,n.isDisposed||n.track(a)}))},t.onError,t.requiresObservable)}function a(){e(n)}return n.schedule(),n.getDisposer()}Ye.bound=function(e,t,n,r){return!0===r?(Xe(e,t,n.value),null):n?{configurable:!0,enumerable:!1,get:function(){return Xe(this,t,n.value||n.initializer.call(this)),this[t]},set:qe}:{enumerable:!1,configurable:!0,set:function(e){Xe(this,t,e)},get:function(){}}};var Ze=function(e){return e()};function $e(e){return e.scheduler?e.scheduler:e.delay?function(t){return setTimeout(t,e.delay)}:Ze}function et(e,t,n){return tt("onBecomeUnobserved",e,t,n)}function tt(e,t,n,r){var o="function"===typeof r?jt(t,n):jt(t),i="function"===typeof r?r:n,a=e+"Listeners";return o[a]?o[a].add(i):o[a]=new Set([i]),"function"!==typeof o[e]?d(!1):function(){var e=o[a];e&&(e.delete(i),0===e.size&&delete o[a])}}function nt(e){var t=e.enforceActions,n=e.computedRequiresReaction,r=e.computedConfigurable,o=e.disableErrorBoundaries,i=e.reactionScheduler,a=e.reactionRequiresObservable,u=e.observableRequiresReaction;if(!0===e.isolateGlobalState&&((Te.pendingReactions.length||Te.inBatch||Te.isRunningReactions)&&d("isolateGlobalState should be called before MobX is running any reactions"),Ne=!0,xe&&(0===--ke().__mobxInstanceCount&&(ke().__mobxGlobals=void 0),Te=new Se)),void 0!==t){var s=void 0;switch(t){case!0:case"observed":s=!0;break;case!1:case"never":s=!1;break;case"strict":case"always":s="strict";break;default:d("Invalid value for 'enforceActions': '"+t+"', expected 'never', 'always' or 'observed'")}Te.enforceActions=s,Te.allowStateChanges=!0!==s&&"strict"!==s}void 0!==n&&(Te.computedRequiresReaction=!!n),void 0!==a&&(Te.reactionRequiresObservable=!!a),void 0!==u&&(Te.observableRequiresReaction=!!u,Te.allowStateReads=!Te.observableRequiresReaction),void 0!==r&&(Te.computedConfigurable=!!r),void 0!==o&&(!0===o&&console.warn("WARNING: Debug feature only. MobX will NOT recover from errors when `disableErrorBoundaries` is enabled."),Te.disableErrorBoundaries=!!o),i&&ze(i)}function rt(e,t,n,r){var o=ot(r=V(r));return L(e),Dt(e,r.name,o.enhancer),t&&it(e,t,n,o),e}function ot(e){return e.defaultDecorator||(!1===e.deep?H:z)}function it(e,t,n,r){var o,i;Pe();try{var u=S(t);try{for(var s=a(u),l=s.next();!l.done;l=s.next()){var c=l.value,f=Object.getOwnPropertyDescriptor(t,c);0;var p=n&&c in n?n[c]:f.get?Z:r;0;var d=p(e,c,f,!0);d&&Object.defineProperty(e,c,d)}}catch(e){o={error:e}}finally{try{l&&!l.done&&(i=s.return)&&i.call(s)}finally{if(o)throw o.error}}}finally{Ie()}}function at(e,t){return ut(jt(e,t))}function ut(e){var t={name:e.name};return e.observing&&e.observing.length>0&&(t.dependencies=function(e){var t=[];return e.forEach(function(e){-1===t.indexOf(e)&&t.push(e)}),t}(e.observing).map(ut)),t}function st(e,t){return null!==e&&void 0!==e&&(void 0!==t?!!Mt(e)&&e[T].values.has(t):Mt(e)||!!e[T]||k(e)||Ve(e)||Ee(e))}function lt(e){return 1!==arguments.length&&d(!1),st(e)}function ct(e,t){void 0===t&&(t=void 0),Pe();try{return e.apply(t)}finally{Ie()}}function ft(e){return e[T]}function pt(e){return"string"===typeof e||"number"===typeof e||"symbol"===typeof e}var dt={has:function(e,t){if(t===T||"constructor"===t||t===R)return!0;var n=ft(e);return pt(t)?n.has(t):t in e},get:function(e,t){if(t===T||"constructor"===t||t===R)return e[t];var n=ft(e),r=n.values.get(t);if(r instanceof C){var o=r.get();return void 0===o&&n.has(t),o}return pt(t)&&n.has(t),e[t]},set:function(e,t,n){return!!pt(t)&&(function e(t,n,r){if(2!==arguments.length||Pt(t))if(Mt(t)){var o=t[T];o.values.get(n)?o.write(n,r):o.addObservableProp(n,r,o.defaultEnhancer)}else if(Ot(t))t.set(n,r);else if(Pt(t))t.add(n);else{if(!Nt(t))return d(!1);"number"!==typeof n&&(n=parseInt(n,10)),h(n>=0,"Not a valid index: '"+n+"'"),Pe(),n>=t.length&&(t.length=n+1),t[n]=r,Ie()}else{Pe();var i=n;try{for(var a in i)e(t,a,i[a])}finally{Ie()}}}(e,t,n),!0)},deleteProperty:function(e,t){return!!pt(t)&&(ft(e).remove(t),!0)},ownKeys:function(e){return ft(e).keysAtom.reportObserved(),Reflect.ownKeys(e)},preventExtensions:function(e){return d("Dynamic observable objects cannot be frozen"),!1}};function ht(e){return void 0!==e.interceptors&&e.interceptors.length>0}function mt(e,t){var n=e.interceptors||(e.interceptors=[]);return n.push(t),m(function(){var e=n.indexOf(t);-1!==e&&n.splice(e,1)})}function vt(e,t){var n=se();try{for(var r=s(e.interceptors||[]),o=0,i=r.length;o0}function gt(e,t){var n=e.changeListeners||(e.changeListeners=[]);return n.push(t),m(function(){var e=n.indexOf(t);-1!==e&&n.splice(e,1)})}function bt(e,t){var n=se(),r=e.changeListeners;if(r){for(var o=0,i=(r=r.slice()).length;o0?e.map(this.dehancer):e},e.prototype.intercept=function(e){return mt(this,e)},e.prototype.observe=function(e,t){return void 0===t&&(t=!1),t&&e({object:this.proxy,type:"splice",index:0,added:this.values.slice(),addedCount:this.values.length,removed:[],removedCount:0}),gt(this,e)},e.prototype.getArrayLength=function(){return this.atom.reportObserved(),this.values.length},e.prototype.setArrayLength=function(e){if("number"!==typeof e||e<0)throw new Error("[mobx.array] Out of range: "+e);var t=this.values.length;if(e!==t)if(e>t){for(var n=new Array(e-t),r=0;ro?e=o:e<0&&(e=Math.max(0,o+e)),t=1===arguments.length?o-e:void 0===t||null===t?0:Math.max(0,Math.min(t,o-e)),void 0===n&&(n=c),ht(this)){var i=vt(this,{object:this.proxy,type:"splice",index:e,removedCount:t,added:n});if(!i)return c;t=i.removedCount,n=i.added}n=0===n.length?n:n.map(function(e){return r.enhancer(e,void 0)});var a=this.spliceItemsIntoValues(e,t,n);return 0===t&&0===n.length||this.notifyArraySplice(e,n,a),this.dehanceValues(a)},e.prototype.spliceItemsIntoValues=function(e,t,n){var r;if(n.length<1e4)return(r=this.values).splice.apply(r,s([e,t],n));var o=this.values.slice(e,e+t);return this.values=this.values.slice(0,e).concat(n,this.values.slice(e+t)),o},e.prototype.notifyArrayChildUpdate=function(e,t,n){var r=!this.owned&&!1,o=yt(this),i=o||r?{object:this.proxy,type:"update",index:e,newValue:t,oldValue:n}:null;this.atom.reportChanged(),o&&bt(this,i)},e.prototype.notifyArraySplice=function(e,t,n){var r=!this.owned&&!1,o=yt(this),i=o||r?{object:this.proxy,type:"splice",index:e,removed:n,added:t,removedCount:n.length,addedCount:t.length}:null;this.atom.reportChanged(),o&&bt(this,i)},e}(),Et={intercept:function(e){return this[T].intercept(e)},observe:function(e,t){return void 0===t&&(t=!1),this[T].observe(e,t)},clear:function(){return this.splice(0)},replace:function(e){var t=this[T];return t.spliceWithArray(0,t.values.length,e)},toJS:function(){return this.slice()},toJSON:function(){return this.toJS()},splice:function(e,t){for(var n=[],r=2;r-1&&(this.splice(n,1),!0)},get:function(e){var t=this[T];if(t){if(e0&&e[0].length>0)return e[0][0];throw new Error("No primary category found")},t.c=h,t.e=function(){return m("bib-main","labs-display-bib","labs-content-placeholder")},t.g=function(){return m("bib-sidebar","extra-services","bookmarks")},t.f=function(){return m("bib-modal","extra-services","bookmarks")},t.h=function(){var e,t,n=new r.c;n.title=f("citation_title"),n.year=f("citation_date").substr(0,4),n.venue="arXiv",n.doi=f("citation_doi"),n.arxivId=h(),n.url=document.location.href,n.authors=[];var i=function(e){var t,n,r=Array.from(document.head.querySelectorAll('[name="'+e+'"]')),i=[];try{for(var a=o(r),u=a.next();!u.done;u=a.next()){var s=u.value,l=s;i.push(l.content)}}catch(e){t={error:e}}finally{try{u&&!u.done&&(n=a.return)&&n.call(a)}finally{if(t)throw t.error}}return i}("citation_author");try{for(var a=o(i),u=a.next();!u.done;u=a.next()){var s=u.value,l=new r.a;l.name=s,n.authors.push(l)}}catch(t){e={error:t}}finally{try{u&&!u.done&&(t=a.return)&&t.call(a)}finally{if(e)throw e.error}}return n};var r=n(3),o=this&&this.__values||function(e){var t="function"===typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"===typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},i=new RegExp("(?:(?:arXiv:)(?:(\\d{4}\\.\\d{4,5})(?:v\\d{1,3})?)|(?:([a-z\\-]{1,12}\\/\\d{7})(?:v\\d{1,3})?)|(?:^(?:(\\d{4}\\.\\d{4,5})(?:v\\d{1,3})?)$))"),a=new RegExp("^http(?:s)?://(?:.*.)?arxiv.org/abs/(?:(?:(\\d{4}\\.\\d{4,5})(?:v\\d{1,3})?)|(?:([a-z\\-]{1,12}\\/\\d{7})(?:v\\d{1,3})?))(?:#.*)?(?:\\?.*)?$"),u=new RegExp(/\(([a-z\-]+(:?\.[a-zA-Z\-]+)?)\)/g),s=new RegExp(/([a-z\-]+)(:?\.[a-zA-Z\-]+)?/g);function l(e,t,n){for(var r=[],o=t.exec(e);null!==o;)r.push(o[n]),o=t.exec(e);return r||[""]}function c(e){var t=document.body.querySelector(e);return t&&t.textContent?t.textContent:""}function f(e){var t=document.head.querySelector('[name="'+e+'"]');return t?t.content:""}function p(){return l(c(".primary-subject"),u,1)||l(c(".metatable .subjects"),u,1)}function d(){return p().map(function(e){return[function(e){var t=l(e,s,1);return t?t[0]:""}(e),e]})}function h(){return f("citation_arxiv_id")||function(){var e=document.location.href,t=a.exec(e);if(!t)return console.log("No valid match could be found for article ID"),"";var n=t[0];return!n||n.length<=5?(console.log("No valid article ID extracted from the browser location."),""):n}()}function m(e,t,n){var r=document.getElementById(e);if(r)return r;var o=document.createElement("div");o.id=e,o.className=e;var i=document.getElementsByClassName(t)[0],a=document.getElementsByClassName(n)[0];return i.insertBefore(o,a),o}},function(e,t,n){"use strict";n.d(t,"a",function(){return a});var r=n(38),o=(n.n(r),n(2)),i=n(0);var a=new(function(){function e(e,t,n){void 0===t&&(t=60),void 0===n&&(n=300),this.slotSize=60,this.capacity=60,this.refillRate=1,this.maxWaitingTime=300,this.last=0,this.waitTime=0,this.left=0,this.queue=[],this.timer=null,this.storename="",this.capacity=e,this.slotSize=t,this.maxWaitingTime=n,this.refillRate=this.slotSize/this.capacity,this.left=this.capacity,this.queue=[],this.storename=o.o,"undefined"!==typeof localStorage&&null!==localStorage||"undefined"!==typeof window&&null!==window&&null!==window.localStorage?this.storage=localStorage||window.localStorage:this.storage=null}return e.prototype.storage_load=function(){try{var e=this.storage.getItem(this.storename)||"";if(!e)return;var t=JSON.parse(e);if(!t)return;this.last=t.last,this.waitTime=t.waitTime,this.left=t.left}catch(e){console.log(e)}},e.prototype.storage_save=function(){if(this.storage){var e={last:this.last,waitTime:this.waitTime,left:this.left};this.storage.setItem(this.storename,JSON.stringify(e))}},e.prototype.throttle=function(e){var t=this;if(!this.storage)return e();var n=new r;return new Promise(function(e,r){n.lock(t.storename).then(function(){return t.storage_load()}).then(function(){return t._throttle()}).then(function(){return t.storage_save()}).then(function(){return n.release(t.storename)}).then(function(){return e()}).catch(function(e){return r(e)})}).then(function(){return e()})},e.prototype._throttle=function(e){var t=this;void 0===e&&(e=!1);var n=0,r=Date.now();if(this.left=Math.min((r-this.last)/(1e3*this.refillRate)+this.left,this.capacity),this.last=r,this.left>=1&&(!this.queue.length||e))return this.left-=1,void(e&&(this.waitTime-=1));if((n=Math.max((this.waitTime*(1e3*this.refillRate)-(r-this.last))/1e3,0))>=this.maxWaitingTime)throw console.log("Timeout exceeded, too many waiting requests! Would take "+n+" seconds to complete, the max waiting time is "+this.maxWaitingTime+"."),new i.d("Too many requests, please try again in a few seconds.");this.waitTime+=1,e?this.queue.unshift(1):this.queue.push(1),this.queue.length&&null===this.timer&&(this.timer=setTimeout(function(){t.timer=null,t.queue.length&&t._throttle(!0)},Math.max(Math.ceil((1-this.left)*this.refillRate*1e3),0)))},e}())(o.p,1,o.n)},function(e,t,n){"use strict";n.d(t,"a",function(){return k});var r=n(9),o=(n.n(r),n(20)),i=n(1),a=n.n(i),u=n(4),s=0,l={};function c(e){return l[e]||(l[e]=function(e){if("function"==typeof Symbol)return Symbol(e);var t="__$mobx-react "+e+" ("+s+")";return s++,t}(e)),l[e]}function f(e,t){if(p(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(var o=0;o0;)r[o]=arguments[o+2];t.locks++;try{var i;return null!=e&&(i=e.apply(this,r)),i}finally{t.locks--,0===t.locks&&t.methods.forEach(function(e){e.apply(n,r)})}}function y(e,t){return function(){for(var n=[],r=arguments.length;r--;)n[r]=arguments[r];v.call.apply(v,[this,e,t].concat(n))}}function g(e,t,n){var r=function(e,t){var n=e[h]=e[h]||{},r=n[t]=n[t]||{};return r.locks=r.locks||0,r.methods=r.methods||[],r}(e,t);r.methods.indexOf(n)<0&&r.methods.push(n);var o=Object.getOwnPropertyDescriptor(e,t);if(!o||!o[m]){var i=function e(t,n,r,o,i){var a,u=y(i,o);return(a={})[m]=!0,a.get=function(){return u},a.set=function(i){if(this===t)u=y(i,o);else{var a=e(this,n,r,o,i);Object.defineProperty(this,n,a)}},a.configurable=!0,a.enumerable=r,a}(e,t,o?o.enumerable:void 0,r,e[t]);Object.defineProperty(e,t,i)}}var b=u.a||"$mobx",w=c("isUnmounted"),A=c("skipRender"),E=c("isForcingUpdate");function S(e,t){return Object(o.b)()&&console.warn("[mobx-react] It seems that a re-rendering of a React component is triggered while in static (server-side) mode. Please make sure components are rendered only once server-side."),this.state!==t||!f(this.props,e)}function x(e,t){var n=c("reactProp_"+t+"_valueHolder"),r=c("reactProp_"+t+"_atomHolder");function o(){return this[r]||d(this,r,Object(u.g)("reactive "+t)),this[r]}Object.defineProperty(e,t,{configurable:!0,enumerable:!0,get:function(){return o.call(this).reportObserved(),this[n]},set:function(e){this[E]||f(this[n],e)?d(this,n,e):(d(this,n,e),d(this,A,!0),o.call(this).reportChanged(),d(this,A,!1))}})}var N="function"==typeof Symbol&&Symbol.for,T=N?Symbol.for("react.forward_ref"):"function"==typeof i.forwardRef&&Object(i.forwardRef)(function(){}).$$typeof,C=N?Symbol.for("react.memo"):"function"==typeof i.memo&&Object(i.memo)(function(){}).$$typeof;function k(e){if(!0===e.isMobxInjector&&console.warn("Mobx observer: You are trying to use 'observer' on a component that already has 'inject'. Please apply 'observer' before applying 'inject'"),C&&e.$$typeof===C)throw new Error("Mobx observer: You are trying to use 'observer' on function component wrapped to either another observer or 'React.memo'. The observer already applies 'React.memo' for you.");if(T&&e.$$typeof===T){var t=e.render;if("function"!=typeof t)throw new Error("render property of ForwardRef was not a function");return Object(i.forwardRef)(function(){var e=arguments;return a.a.createElement(o.a,null,function(){return t.apply(void 0,e)})})}return"function"!=typeof e||e.prototype&&e.prototype.render||e.isReactClass||Object.prototype.isPrototypeOf.call(i.Component,e)?function(e){var t=e.prototype;if(t.componentWillReact)throw new Error("The componentWillReact life-cycle event is no longer supported");if(e.__proto__!==i.PureComponent)if(t.shouldComponentUpdate){if(t.shouldComponentUpdate!==S)throw new Error("It is not allowed to use shouldComponentUpdate in observer based components.")}else t.shouldComponentUpdate=S;x(t,"props"),x(t,"state");var n=t.render;return t.render=function(){return function(e){var t=this;if(!0===Object(o.b)())return e.call(this);d(this,A,!1),d(this,E,!1);var n=this.displayName||this.name||this.constructor&&(this.constructor.displayName||this.constructor.name)||"",r=e.bind(this),a=!1,s=new u.b(n+".render()",function(){if(!a&&(a=!0,!0!==t[w])){var e=!0;try{d(t,E,!0),t[A]||i.Component.prototype.forceUpdate.call(t),e=!1}finally{d(t,E,!1),e&&s.dispose()}}});function l(){a=!1;var e=void 0,t=void 0;if(s.track(function(){try{t=Object(u.c)(!1,r)}catch(t){e=t}}),e)throw e;return t}return s.reactComponent=this,l[b]=s,this.render=l,l.call(this)}.call(this,n)},g(t,"componentWillUnmount",function(){!0!==Object(o.b)()&&(this.render[b]&&this.render[b].dispose(),this[w]=!0)}),e}(e):Object(o.c)(e)}a.a.createContext({});c("disposeOnUnmountProto"),c("disposeOnUnmountInst");function O(e){function t(t,n,r,o,i,a){for(var s=[],l=arguments.length-6;l-- >0;)s[l]=arguments[l+6];return Object(u.p)(function(){return o=o||"<>",a=a||r,null==n[r]?t?new Error("The "+i+" `"+a+"` is marked as required in `"+o+"`, but its value is `"+(null===n[r]?"null":"undefined")+"`."):null:e.apply(void 0,[n,r,o,i,a].concat(s))})}var n=t.bind(null,!1);return n.isRequired=t.bind(null,!0),n}function _(e){var t=typeof e;return Array.isArray(e)?"array":e instanceof RegExp?"object":function(e,t){return"symbol"===e||"Symbol"===t["@@toStringTag"]||"function"==typeof Symbol&&t instanceof Symbol}(t,e)?"symbol":t}function R(e,t){return O(function(n,r,o,i,a){return Object(u.p)(function(){if(e&&_(n[r])===t.toLowerCase())return null;var i;switch(t){case"Array":i=u.i;break;case"Object":i=u.k;break;case"Map":i=u.j;break;default:throw new Error("Unexpected mobxType: "+t)}var s=n[r];if(!i(s)){var l=function(e){var t=_(e);if("object"===t){if(e instanceof Date)return"date";if(e instanceof RegExp)return"regexp"}return t}(s),c=e?" or javascript `"+t.toLowerCase()+"`":"";return new Error("Invalid prop `"+a+"` of type `"+l+"` supplied to `"+o+"`, expected `mobx.Observable"+t+"`"+c+".")}return null})})}function P(e,t){return O(function(n,r,o,i,a){for(var s=[],l=arguments.length-5;l-- >0;)s[l]=arguments[l+5];return Object(u.p)(function(){if("function"!=typeof t)return new Error("Property `"+a+"` of component `"+o+"` has invalid PropType notation.");var u=R(e,"Array")(n,r,o);if(u instanceof Error)return u;for(var l=n[r],c=0;c=0;u--)(o=e[u])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a};!function(e){e.LOADED="loaded",e.LOADING="loading",e.FAILED="failed",e.INIT="init",e.DISABLED="disabled"}(r||(r={}));var s=new(function(){function e(){this.bibmodel=new a.a,this.messages=[],this.errors=[],this.state=r.INIT}return Object.defineProperty(e.prototype,"isfailed",{get:function(){return this.state===r.FAILED},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isloaded",{get:function(){return this.state===r.LOADED},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isloading",{get:function(){return this.state===r.LOADING},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isdisabled",{get:function(){return this.state===r.DISABLED},enumerable:!0,configurable:!0}),e.prototype.init_from_cookies=function(){this.state=i.a.active?r.INIT:r.DISABLED},e.prototype.toggle=function(){this.isdisabled?(this.state=r.INIT,this.bibmodel.reloadSource(),i.a.active=!0):(this.state=r.DISABLED,i.a.active=!1)},e.prototype.message=function(e,t){void 0===t&&(t=null),this.messages.push(e)},e.prototype.error=function(e,t){void 0===t&&(t=null),this.errors.push(e),this.state=r.FAILED},u([o.l],e.prototype,"bibmodel",void 0),u([o.l],e.prototype,"messages",void 0),u([o.l],e.prototype,"errors",void 0),u([o.l],e.prototype,"state",void 0),u([o.e],e.prototype,"isfailed",null),u([o.e],e.prototype,"isloaded",null),u([o.e],e.prototype,"isloading",null),u([o.e],e.prototype,"isdisabled",null),u([o.d],e.prototype,"init_from_cookies",null),u([o.d],e.prototype,"toggle",null),u([o.d],e.prototype,"message",null),u([o.d],e.prototype,"error",null),e}())},function(e,t){var n,r,o=e.exports={};function i(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function u(e){if(n===setTimeout)return setTimeout(e,0);if((n===i||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"===typeof setTimeout?setTimeout:i}catch(e){n=i}try{r="function"===typeof clearTimeout?clearTimeout:a}catch(e){r=a}}();var s,l=[],c=!1,f=-1;function p(){c&&s&&(c=!1,s.length?l=s.concat(l):f=-1,l.length&&d())}function d(){if(!c){var e=u(p);c=!0;for(var t=l.length;t;){for(s=l,l=[];++f1)for(var n=1;n0)&&!(r=i.next()).done;)a.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a}function l(e){return e.current?Object(r.h)(e.current):""}var c=[];function f(){var e=s(Object(o.useState)(0),2)[1];return Object(o.useCallback)(function(){e(function(e){return e+1})},[])}var p={};function d(e,t,n){if(void 0===t&&(t="observed"),void 0===n&&(n=p),a())return e();var i=(n.useForceUpdate||f)(),u=Object(o.useRef)(null);u.current||(u.current=new r.b("observer("+t+")",function(){i()}));var s,d,h=function(){u.current&&!u.current.isDisposed&&(u.current.dispose(),u.current=null)};if(Object(o.useDebugValue)(u,l),function(e){Object(o.useEffect)(function(){return e},c)}(function(){h()}),u.current.track(function(){try{s=e()}catch(e){d=e}}),d)throw h(),d;return s}function h(e,t){if(a())return e;var n,r=u({forwardRef:!1},t),i=e.displayName||e.name,s=function(t,n){return d(function(){return e(t,n)},i)};return s.displayName=i,n=r.forwardRef?Object(o.memo)(Object(o.forwardRef)(s)):Object(o.memo)(s),function(e,t){Object.keys(e).forEach(function(n){e.hasOwnProperty(n)&&!m[n]&&Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))})}(e,n),n.displayName=i,n}var m={$$typeof:!0,render:!0,compare:!0,type:!0};function v(e){var t=e.children,n=e.render,r=t||n;return"function"!==typeof r?null:d(r)}function y(e,t,n,r,o){var i="children"===t?"render":"children",a="function"===typeof e[t],u="function"===typeof e[i];return a&&u?new Error("MobX Observer: Do not use children and render in the same time in`"+n):a||u?null:new Error("Invalid prop `"+o+"` of type `"+typeof e[t]+"` supplied to `"+n+"`, expected `function`.")}v.propTypes={children:y,render:y},v.displayName="Observer"},function(e,t,n){"use strict";n.d(t,"a",function(){return C}),n.d(t,"b",function(){return k}),t.c=function(e){if(!e)return r.createElement("div",null);var t=function(e){if(!e.arxivId&&!e.doi)return r.createElement("span",null);return r.createElement("a",{href:"javascript:void(0)",title:e.arxivId,onClick:function(){return Object(E.a)(e)}},"Export citation")}(e);return r.createElement("div",{className:"bib-outbound",style:{margin:"0.3em"}},t)};var r=n(1),o=(n.n(r),n(16)),i=n.n(o),a=n(55),u=n.n(a),s=n(56),l=n.n(s),c=n(57),f=n.n(c),p=n(17),d=n.n(p),h=n(18),m=n.n(h),v=n(19),y=n.n(v),g=n(58),b=n.n(g),w=n(2),A=n(0),E=n(59),S=this&&this.__extends||function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();var x={height:"18px",width:"auto"},N=function(e,t,n,o,i){return void 0===i&&(i=!0),n?r.createElement("span",{key:e+n},r.createElement("a",{className:e,title:t,href:n,target:i?"_blank":"_self"},r.createElement("img",{alt:t,src:o,style:x}))):null},T={ads:function(e){return N("ads","NASA ADS",e.url,i.a)},s2:function(e){return N("s2","Semantic Scholar",e.url,y.a)},prophy:function(e){return N("prophy","Prophy",e.url,m.a)},inspire:function(e){return N("inspire","Inspire HEP",e.url,d.a)},arxiv:function(e){return N("arxiv","ArXiv article",e.url_arxiv,u.a,!1)},doi:function(e){return N("doi","Journal article",e.url_doi,f.a)},cite:function(e){return function(e,t,n,o){return n.arxivId||n.doi?r.createElement("span",{key:e+n.arxivId},r.createElement("a",{className:e,title:t,onClick:function(){return Object(E.a)(n)}},r.createElement("img",{alt:t,src:o,style:x}))):r.createElement("div",null)}("cite","Citation entry",e,l.a)},scholar:function(e){return N("scholar","Google Scholar",function(e){var t="";e.authors.length>0&&(t=e.authors[0].tolastname());var n=e.venue?e.venue:"",r=e.title+" "+t+" "+n+" "+e.year,o=Object(A.e)({q:r});return w.c+"?"+o}(e),b.a)}},C=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return S(t,e),t.prototype.render=function(){var e=this.props.paper,t=e.outbound.map(function(t){return T[t](e)});return r.createElement("div",{className:"bib-outbound"},t)},t}(r.Component),k=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return S(t,e),t.prototype.render=function(){var e=this.props.paper,t=T.cite(e);return e.doi||e.arxivId?r.createElement("div",{className:"bib-outbound"},t):r.createElement("div",{className:"bib-outbound"})},t}(r.Component)},function(e,t){function n(e,t){for(var n in e)t[n]=e[n]}function r(e,t){var r=e.prototype;if(Object.create){var o=Object.create(t.prototype);r.__proto__=o}if(!(r instanceof t)){function i(){}i.prototype=t.prototype,n(r,i=new i),e.prototype=r=i}r.constructor!=e&&("function"!=typeof e&&console.error("unknow Class:"+e),r.constructor=e)}var o="http://www.w3.org/1999/xhtml",i={},a=i.ELEMENT_NODE=1,u=i.ATTRIBUTE_NODE=2,s=i.TEXT_NODE=3,l=i.CDATA_SECTION_NODE=4,c=i.ENTITY_REFERENCE_NODE=5,f=i.ENTITY_NODE=6,p=i.PROCESSING_INSTRUCTION_NODE=7,d=i.COMMENT_NODE=8,h=i.DOCUMENT_NODE=9,m=i.DOCUMENT_TYPE_NODE=10,v=i.DOCUMENT_FRAGMENT_NODE=11,y=i.NOTATION_NODE=12,g={},b={},w=(g.INDEX_SIZE_ERR=(b[1]="Index size error",1),g.DOMSTRING_SIZE_ERR=(b[2]="DOMString size error",2),g.HIERARCHY_REQUEST_ERR=(b[3]="Hierarchy request error",3)),A=(g.WRONG_DOCUMENT_ERR=(b[4]="Wrong document",4),g.INVALID_CHARACTER_ERR=(b[5]="Invalid character",5),g.NO_DATA_ALLOWED_ERR=(b[6]="No data allowed",6),g.NO_MODIFICATION_ALLOWED_ERR=(b[7]="No modification allowed",7),g.NOT_FOUND_ERR=(b[8]="Not found",8)),E=(g.NOT_SUPPORTED_ERR=(b[9]="Not supported",9),g.INUSE_ATTRIBUTE_ERR=(b[10]="Attribute in use",10));g.INVALID_STATE_ERR=(b[11]="Invalid state",11),g.SYNTAX_ERR=(b[12]="Syntax error",12),g.INVALID_MODIFICATION_ERR=(b[13]="Invalid modification",13),g.NAMESPACE_ERR=(b[14]="Invalid namespace",14),g.INVALID_ACCESS_ERR=(b[15]="Invalid access",15);function S(e,t){if(t instanceof Error)var n=t;else n=this,Error.call(this,b[e]),this.message=b[e],Error.captureStackTrace&&Error.captureStackTrace(this,S);return n.code=e,t&&(this.message=this.message+": "+t),n}function x(){}function N(e,t){this._node=e,this._refresh=t,T(this)}function T(e){var t=e._node._inc||e._node.ownerDocument._inc;if(e._inc!=t){var r=e._refresh(e._node);ne(e,"length",r.length),n(r,e),e._inc=t}}function C(){}function k(e,t){for(var n=e.length;n--;)if(e[n]===t)return n}function O(e,t,n,r){if(r?t[k(t,r)]=n:t[t.length++]=n,e){n.ownerElement=e;var o=e.ownerDocument;o&&(r&&U(o,e,r),function(e,t,n){e&&e._inc++,"http://www.w3.org/2000/xmlns/"==n.namespaceURI&&(t._nsMap[n.prefix?n.localName:""]=n.value)}(o,e,n))}}function _(e,t,n){var r=k(t,n);if(!(r>=0))throw S(A,new Error(e.tagName+"@"+n));for(var o=t.length-1;r"==e&&">")||"&"==e&&"&"||'"'==e&&"""||"&#"+e.charCodeAt()+";"}function D(e,t){if(t(e))return!0;if(e=e.firstChild)do{if(D(e,t))return!0}while(e=e.nextSibling)}function L(){}function U(e,t,n,r){e&&e._inc++,"http://www.w3.org/2000/xmlns/"==n.namespaceURI&&delete t._nsMap[n.prefix?n.localName:""]}function B(e,t,n){if(e&&e._inc){e._inc++;var r=t.childNodes;if(n)r[r.length++]=n;else{for(var o=t.firstChild,i=0;o;)r[i++]=o,o=o.nextSibling;r.length=i}}}function F(e,t){var n=t.previousSibling,r=t.nextSibling;return n?n.nextSibling=r:e.firstChild=r,r?r.previousSibling=n:e.lastChild=n,B(e.ownerDocument,e),t}function M(e,t,n){var r=t.parentNode;if(r&&r.removeChild(t),t.nodeType===v){var o=t.firstChild;if(null==o)return t;var i=t.lastChild}else o=i=t;var a=n?n.previousSibling:e.lastChild;o.previousSibling=a,i.nextSibling=n,a?a.nextSibling=o:e.firstChild=o,null==n?e.lastChild=i:n.previousSibling=i;do{o.parentNode=e}while(o!==i&&(o=o.nextSibling));return B(e.ownerDocument||e,e),t.nodeType==v&&(t.firstChild=t.lastChild=null),t}function j(){this._nsMap={}}function V(){}function z(){}function Q(){}function H(){}function W(){}function q(){}function G(){}function Y(){}function J(){}function X(){}function K(){}function Z(){}function $(e,t){var n=[],r=9==this.nodeType?this.documentElement:this,o=r.prefix,i=r.namespaceURI;if(i&&null==o&&null==(o=r.lookupPrefix(i)))var a=[{namespace:i,prefix:null}];return te(this,n,e,t,a),n.join("")}function ee(e,t,n){var r=e.prefix||"",o=e.namespaceURI;if(!r&&!o)return!1;if("xml"===r&&"http://www.w3.org/XML/1998/namespace"===o||"http://www.w3.org/2000/xmlns/"==o)return!1;for(var i=n.length;i--;){var a=n[i];if(a.prefix==r)return a.namespace!=o}return!0}function te(e,t,n,r,i){if(r){if(!(e=r(e)))return;if("string"==typeof e)return void t.push(e)}switch(e.nodeType){case a:i||(i=[]);i.length;var f=e.attributes,y=f.length,g=e.firstChild,b=e.tagName;n=o===e.namespaceURI||n,t.push("<",b);for(var w=0;w"),n&&/^script$/i.test(b))for(;g;)g.data?t.push(g.data):te(g,t,n,r,i),g=g.nextSibling;else for(;g;)te(g,t,n,r,i),g=g.nextSibling;t.push("")}else t.push("/>");return;case h:case v:for(g=e.firstChild;g;)te(g,t,n,r,i),g=g.nextSibling;return;case u:return t.push(" ",e.name,'="',e.value.replace(/[<&"]/g,I),'"');case s:return t.push(e.data.replace(/[<&]/g,I));case l:return t.push("");case d:return t.push("\x3c!--",e.data,"--\x3e");case m:var N=e.publicId,T=e.systemId;if(t.push("');else if(T&&"."!=T)t.push(' SYSTEM "',T,'">');else{var C=e.internalSubset;C&&t.push(" [",C,"]"),t.push(">")}return;case p:return t.push("");case c:return t.push("&",e.nodeName,";");default:t.push("??",e.nodeName)}}function ne(e,t,n){e[t]=n}S.prototype=Error.prototype,n(g,S),x.prototype={length:0,item:function(e){return this[e]||null},toString:function(e,t){for(var n=[],r=0;r0},lookupPrefix:function(e){for(var t=this;t;){var n=t._nsMap;if(n)for(var r in n)if(n[r]==e)return r;t=t.nodeType==u?t.ownerDocument:t.parentNode}return null},lookupNamespaceURI:function(e){for(var t=this;t;){var n=t._nsMap;if(n&&e in n)return n[e];t=t.nodeType==u?t.ownerDocument:t.parentNode}return null},isDefaultNamespace:function(e){return null==this.lookupPrefix(e)}},n(i,P),n(i,P.prototype),L.prototype={nodeName:"#document",nodeType:h,doctype:null,documentElement:null,_inc:1,insertBefore:function(e,t){if(e.nodeType==v){for(var n=e.firstChild;n;){var r=n.nextSibling;this.insertBefore(n,t),n=r}return e}return null==this.documentElement&&e.nodeType==a&&(this.documentElement=e),M(this,e,t),e.ownerDocument=this,e},removeChild:function(e){return this.documentElement==e&&(this.documentElement=null),F(this,e)},importNode:function(e,t){return function e(t,n,r){var o;switch(n.nodeType){case a:(o=n.cloneNode(!1)).ownerDocument=t;case v:break;case u:r=!0}o||(o=n.cloneNode(!1));o.ownerDocument=t;o.parentNode=null;if(r)for(var i=n.firstChild;i;)o.appendChild(e(t,i,r)),i=i.nextSibling;return o}(this,e,t)},getElementById:function(e){var t=null;return D(this.documentElement,function(n){if(n.nodeType==a&&n.getAttribute("id")==e)return t=n,!0}),t},createElement:function(e){var t=new j;return t.ownerDocument=this,t.nodeName=e,t.tagName=e,t.childNodes=new x,(t.attributes=new C)._ownerElement=t,t},createDocumentFragment:function(){var e=new X;return e.ownerDocument=this,e.childNodes=new x,e},createTextNode:function(e){var t=new Q;return t.ownerDocument=this,t.appendData(e),t},createComment:function(e){var t=new H;return t.ownerDocument=this,t.appendData(e),t},createCDATASection:function(e){var t=new W;return t.ownerDocument=this,t.appendData(e),t},createProcessingInstruction:function(e,t){var n=new K;return n.ownerDocument=this,n.tagName=n.target=e,n.nodeValue=n.data=t,n},createAttribute:function(e){var t=new V;return t.ownerDocument=this,t.name=e,t.nodeName=e,t.localName=e,t.specified=!0,t},createEntityReference:function(e){var t=new J;return t.ownerDocument=this,t.nodeName=e,t},createElementNS:function(e,t){var n=new j,r=t.split(":"),o=n.attributes=new C;return n.childNodes=new x,n.ownerDocument=this,n.nodeName=t,n.tagName=t,n.namespaceURI=e,2==r.length?(n.prefix=r[0],n.localName=r[1]):n.localName=t,o._ownerElement=n,n},createAttributeNS:function(e,t){var n=new V,r=t.split(":");return n.ownerDocument=this,n.nodeName=t,n.name=t,n.namespaceURI=e,n.specified=!0,2==r.length?(n.prefix=r[0],n.localName=r[1]):n.localName=t,n}},r(L,P),j.prototype={nodeType:a,hasAttribute:function(e){return null!=this.getAttributeNode(e)},getAttribute:function(e){var t=this.getAttributeNode(e);return t&&t.value||""},getAttributeNode:function(e){return this.attributes.getNamedItem(e)},setAttribute:function(e,t){var n=this.ownerDocument.createAttribute(e);n.value=n.nodeValue=""+t,this.setAttributeNode(n)},removeAttribute:function(e){var t=this.getAttributeNode(e);t&&this.removeAttributeNode(t)},appendChild:function(e){return e.nodeType===v?this.insertBefore(e,null):function(e,t){var n=t.parentNode;if(n){var r=e.lastChild;n.removeChild(t),r=e.lastChild}return r=e.lastChild,t.parentNode=e,t.previousSibling=r,t.nextSibling=null,r?r.nextSibling=t:e.firstChild=t,e.lastChild=t,B(e.ownerDocument,e,t),t}(this,e)},setAttributeNode:function(e){return this.attributes.setNamedItem(e)},setAttributeNodeNS:function(e){return this.attributes.setNamedItemNS(e)},removeAttributeNode:function(e){return this.attributes.removeNamedItem(e.nodeName)},removeAttributeNS:function(e,t){var n=this.getAttributeNodeNS(e,t);n&&this.removeAttributeNode(n)},hasAttributeNS:function(e,t){return null!=this.getAttributeNodeNS(e,t)},getAttributeNS:function(e,t){var n=this.getAttributeNodeNS(e,t);return n&&n.value||""},setAttributeNS:function(e,t,n){var r=this.ownerDocument.createAttributeNS(e,t);r.value=r.nodeValue=""+n,this.setAttributeNode(r)},getAttributeNodeNS:function(e,t){return this.attributes.getNamedItemNS(e,t)},getElementsByTagName:function(e){return new N(this,function(t){var n=[];return D(t,function(r){r===t||r.nodeType!=a||"*"!==e&&r.tagName!=e||n.push(r)}),n})},getElementsByTagNameNS:function(e,t){return new N(this,function(n){var r=[];return D(n,function(o){o===n||o.nodeType!==a||"*"!==e&&o.namespaceURI!==e||"*"!==t&&o.localName!=t||r.push(o)}),r})}},L.prototype.getElementsByTagName=j.prototype.getElementsByTagName,L.prototype.getElementsByTagNameNS=j.prototype.getElementsByTagNameNS,r(j,P),V.prototype.nodeType=u,r(V,P),z.prototype={data:"",substringData:function(e,t){return this.data.substring(e,e+t)},appendData:function(e){e=this.data+e,this.nodeValue=this.data=e,this.length=e.length},insertData:function(e,t){this.replaceData(e,0,t)},appendChild:function(e){throw new Error(b[w])},deleteData:function(e,t){this.replaceData(e,t,"")},replaceData:function(e,t,n){n=this.data.substring(0,e)+n+this.data.substring(e+t),this.nodeValue=this.data=n,this.length=n.length}},r(z,P),Q.prototype={nodeName:"#text",nodeType:s,splitText:function(e){var t=this.data,n=t.substring(e);t=t.substring(0,e),this.data=this.nodeValue=t,this.length=t.length;var r=this.ownerDocument.createTextNode(n);return this.parentNode&&this.parentNode.insertBefore(r,this.nextSibling),r}},r(Q,z),H.prototype={nodeName:"#comment",nodeType:d},r(H,z),W.prototype={nodeName:"#cdata-section",nodeType:l},r(W,z),q.prototype.nodeType=m,r(q,P),G.prototype.nodeType=y,r(G,P),Y.prototype.nodeType=f,r(Y,P),J.prototype.nodeType=c,r(J,P),X.prototype.nodeName="#document-fragment",X.prototype.nodeType=v,r(X,P),K.prototype.nodeType=p,r(K,P),Z.prototype.serializeToString=function(e,t,n){return $.call(e,t,n)},P.prototype.toString=$;try{if(Object.defineProperty){Object.defineProperty(N.prototype,"length",{get:function(){return T(this),this.$$length}}),Object.defineProperty(P.prototype,"textContent",{get:function(){return function e(t){switch(t.nodeType){case a:case v:var n=[];for(t=t.firstChild;t;)7!==t.nodeType&&8!==t.nodeType&&n.push(e(t)),t=t.nextSibling;return n.join("");default:return t.nodeValue}}(this)},set:function(e){switch(this.nodeType){case a:case v:for(;this.firstChild;)this.removeChild(this.firstChild);(e||String(e))&&this.appendChild(this.ownerDocument.createTextNode(e));break;default:this.data=e,this.value=e,this.nodeValue=e}}}),ne=function(e,t,n){e["$$"+t]=n}}}catch(e){}t.DOMImplementation=R,t.XMLSerializer=Z},function(e,t,n){n(24),e.exports=n(29)},function(e,t,n){"use strict";"undefined"===typeof Promise&&(n(25).enable(),window.Promise=n(27)),n(28),Object.assign=n(8)},function(e,t,n){"use strict";var r=n(11),o=[ReferenceError,TypeError,RangeError],i=!1;function a(){i=!1,r._47=null,r._71=null}function u(e,t){return t.some(function(t){return e instanceof t})}t.disable=a,t.enable=function(e){e=e||{},i&&a();i=!0;var t=0,n=0,s={};function l(t){(e.allRejections||u(s[t].error,e.whitelist||o))&&(s[t].displayId=n++,e.onUnhandled?(s[t].logged=!0,e.onUnhandled(s[t].displayId,s[t].error)):(s[t].logged=!0,function(e,t){console.warn("Possible Unhandled Promise Rejection (id: "+e+"):"),((t&&(t.stack||t))+"").split("\n").forEach(function(e){console.warn(" "+e)})}(s[t].displayId,s[t].error)))}r._47=function(t){2===t._83&&s[t._56]&&(s[t._56].logged?function(t){s[t].logged&&(e.onHandled?e.onHandled(s[t].displayId,s[t].error):s[t].onUnhandled||(console.warn("Promise Rejection Handled (id: "+s[t].displayId+"):"),console.warn(' This means you can ignore any previous messages of the form "Possible Unhandled Promise Rejection" with id '+s[t].displayId+".")))}(t._56):clearTimeout(s[t._56].timeout),delete s[t._56])},r._71=function(e,n){0===e._75&&(e._56=t++,s[e._56]={displayId:null,error:n,timeout:setTimeout(l.bind(null,e._56),u(n,o)?100:2e3),logged:!1})}}},function(e,t,n){"use strict";(function(t){function n(e){o.length||(r(),!0),o[o.length]=e}e.exports=n;var r,o=[],i=0,a=1024;function u(){for(;ia){for(var t=0,n=o.length-i;t-1};c.prototype.append=function(e,t){e=u(e),t=s(t);var n=this.map[e];this.map[e]=n?n+","+t:t},c.prototype.delete=function(e){delete this.map[u(e)]},c.prototype.get=function(e){return e=u(e),this.has(e)?this.map[e]:null},c.prototype.has=function(e){return this.map.hasOwnProperty(u(e))},c.prototype.set=function(e,t){this.map[u(e)]=s(t)},c.prototype.forEach=function(e,t){for(var n in this.map)this.map.hasOwnProperty(n)&&e.call(t,this.map[n],n,this)},c.prototype.keys=function(){var e=[];return this.forEach(function(t,n){e.push(n)}),l(e)},c.prototype.values=function(){var e=[];return this.forEach(function(t){e.push(t)}),l(e)},c.prototype.entries=function(){var e=[];return this.forEach(function(t,n){e.push([n,t])}),l(e)},t.iterable&&(c.prototype[Symbol.iterator]=c.prototype.entries);var i=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];v.prototype.clone=function(){return new v(this,{body:this._bodyInit})},m.call(v.prototype),m.call(g.prototype),g.prototype.clone=function(){return new g(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new c(this.headers),url:this.url})},g.error=function(){var e=new g(null,{status:0,statusText:""});return e.type="error",e};var a=[301,302,303,307,308];g.redirect=function(e,t){if(-1===a.indexOf(t))throw new RangeError("Invalid status code");return new g(null,{status:t,headers:{location:e}})},e.Headers=c,e.Request=v,e.Response=g,e.fetch=function(e,n){return new Promise(function(r,o){var i=new v(e,n),a=new XMLHttpRequest;a.onload=function(){var e={status:a.status,statusText:a.statusText,headers:function(e){var t=new c;return e.split(/\r?\n/).forEach(function(e){var n=e.split(":"),r=n.shift().trim();if(r){var o=n.join(":").trim();t.append(r,o)}}),t}(a.getAllResponseHeaders()||"")};e.url="responseURL"in a?a.responseURL:e.headers.get("X-Request-URL");var t="response"in a?a.response:a.responseText;r(new g(t,e))},a.onerror=function(){o(new TypeError("Network request failed"))},a.ontimeout=function(){o(new TypeError("Network request failed"))},a.open(i.method,i.url,!0),"include"===i.credentials&&(a.withCredentials=!0),"responseType"in a&&t.blob&&(a.responseType="blob"),i.headers.forEach(function(e,t){a.setRequestHeader(t,e)}),a.send("undefined"===typeof i._bodyInit?null:i._bodyInit)})},e.fetch.polyfill=!0}function u(e){if("string"!==typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.\^_`|~]/i.test(e))throw new TypeError("Invalid character in header field name");return e.toLowerCase()}function s(e){return"string"!==typeof e&&(e=String(e)),e}function l(e){var n={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return t.iterable&&(n[Symbol.iterator]=function(){return n}),n}function c(e){this.map={},e instanceof c?e.forEach(function(e,t){this.append(t,e)},this):Array.isArray(e)?e.forEach(function(e){this.append(e[0],e[1])},this):e&&Object.getOwnPropertyNames(e).forEach(function(t){this.append(t,e[t])},this)}function f(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}function p(e){return new Promise(function(t,n){e.onload=function(){t(e.result)},e.onerror=function(){n(e.error)}})}function d(e){var t=new FileReader,n=p(t);return t.readAsArrayBuffer(e),n}function h(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function m(){return this.bodyUsed=!1,this._initBody=function(e){if(this._bodyInit=e,e)if("string"===typeof e)this._bodyText=e;else if(t.blob&&Blob.prototype.isPrototypeOf(e))this._bodyBlob=e;else if(t.formData&&FormData.prototype.isPrototypeOf(e))this._bodyFormData=e;else if(t.searchParams&&URLSearchParams.prototype.isPrototypeOf(e))this._bodyText=e.toString();else if(t.arrayBuffer&&t.blob&&r(e))this._bodyArrayBuffer=h(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer]);else{if(!t.arrayBuffer||!ArrayBuffer.prototype.isPrototypeOf(e)&&!o(e))throw new Error("unsupported BodyInit type");this._bodyArrayBuffer=h(e)}else this._bodyText="";this.headers.get("content-type")||("string"===typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):t.searchParams&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},t.blob&&(this.blob=function(){var e=f(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?f(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(d)}),this.text=function(){var e=f(this);if(e)return e;if(this._bodyBlob)return function(e){var t=new FileReader,n=p(t);return t.readAsText(e),n}(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(function(e){for(var t=new Uint8Array(e),n=new Array(t.length),r=0;r-1?t:e}(t.method||this.method||"GET"),this.mode=t.mode||this.mode||null,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&n)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(n)}function y(e){var t=new FormData;return e.trim().split("&").forEach(function(e){if(e){var n=e.split("="),r=n.shift().replace(/\+/g," "),o=n.join("=").replace(/\+/g," ");t.append(decodeURIComponent(r),decodeURIComponent(o))}}),t}function g(e,t){t||(t={}),this.type="default",this.status="status"in t?t.status:200,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in t?t.statusText:"OK",this.headers=new c(t.headers),this.url=t.url||"",this._initBody(e)}}("undefined"!==typeof self?self:this)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(1),o=(n.n(r),n(9)),i=(n.n(o),n(5)),a=n(13),u=n(52),s=n(64);document.bibex_present?console.log("Bibex already present on page"):(a.b.init_from_cookies(),o.render(r.createElement(u.a,{state:a.b}),Object(i.e)()),o.render(r.createElement(s.a,{state:a.b}),Object(i.g)()),a.b.bibmodel.configureAvailableFromAbstract(),a.b.isdisabled||a.b.bibmodel.loadFromAbtract(),document.bibex_present=!0,document.bibex_state=a.b)},function(e,t,n){"use strict";var r=n(8),o="function"===typeof Symbol&&Symbol.for,i=o?Symbol.for("react.element"):60103,a=o?Symbol.for("react.portal"):60106,u=o?Symbol.for("react.fragment"):60107,s=o?Symbol.for("react.strict_mode"):60108,l=o?Symbol.for("react.profiler"):60114,c=o?Symbol.for("react.provider"):60109,f=o?Symbol.for("react.context"):60110,p=o?Symbol.for("react.forward_ref"):60112,d=o?Symbol.for("react.suspense"):60113;o&&Symbol.for("react.suspense_list");var h=o?Symbol.for("react.memo"):60115,m=o?Symbol.for("react.lazy"):60116;o&&Symbol.for("react.fundamental"),o&&Symbol.for("react.responder"),o&&Symbol.for("react.scope");var v="function"===typeof Symbol&&Symbol.iterator;function y(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;nR.length&&R.push(e)}function D(e,t,n){return null==e?0:function e(t,n,r,o){var u=typeof t;"undefined"!==u&&"boolean"!==u||(t=null);var s=!1;if(null===t)s=!0;else switch(u){case"string":case"number":s=!0;break;case"object":switch(t.$$typeof){case i:case a:s=!0}}if(s)return r(o,t,""===n?"."+L(t,0):n),1;if(s=0,n=""===n?".":n+":",Array.isArray(t))for(var l=0;l