/*! For license information please see dash_renderer.min.js.LICENSE.txt */ !function(){var t={56:function(t,e,r){"use strict";t.exports=function(t){var e=r.nc;e&&t.setAttribute("nonce",e)}},63:function(t,e,r){"use strict";var n=r(609),o="function"==typeof Object.is?Object.is:function(t,e){return t===e&&(0!==t||1/t==1/e)||t!=t&&e!=e},i=n.useState,u=n.useEffect,a=n.useLayoutEffect,c=n.useDebugValue;function s(t){var e=t.getSnapshot;t=t.value;try{var r=e();return!o(t,r)}catch(t){return!0}}var f="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?function(t,e){return e()}:function(t,e){var r=e(),n=i({inst:{value:r,getSnapshot:e}}),o=n[0].inst,f=n[1];return a((function(){o.value=r,o.getSnapshot=e,s(o)&&f({inst:o})}),[t,r,e]),u((function(){return s(o)&&f({inst:o}),t((function(){s(o)&&f({inst:o})}))}),[t]),c(r),r};e.useSyncExternalStore=void 0!==n.useSyncExternalStore?n.useSyncExternalStore:f},72:function(t){"use strict";var e=[];function r(t){for(var r=-1,n=0;n0;){var f=s[s.length-1],l=f.processed,p=f.node;if(l)s.pop(),c.pop(),a[p]=!1,i[p]=!0,e&&0!==t[p].length||r.push(p);else{if(i[p]){s.pop();continue}if(a[p]){if(n){s.pop();continue}throw c.push(p),new o(c)}a[p]=!0,c.push(p);for(var y=t[p],d=y.length-1;d>=0;d--)s.push({node:y[d],processed:!1});f.processed=!0}}}}}var n=e.w=function(t){this.nodes={},this.outgoingEdges={},this.incomingEdges={},this.circular=t&&!!t.circular};n.prototype={size:function(){return Object.keys(this.nodes).length},addNode:function(t,e){this.hasNode(t)||(this.nodes[t]=2===arguments.length?e:t,this.outgoingEdges[t]=[],this.incomingEdges[t]=[])},removeNode:function(t){this.hasNode(t)&&(delete this.nodes[t],delete this.outgoingEdges[t],delete this.incomingEdges[t],[this.incomingEdges,this.outgoingEdges].forEach((function(e){Object.keys(e).forEach((function(r){var n=e[r].indexOf(t);n>=0&&e[r].splice(n,1)}),this)})))},hasNode:function(t){return this.nodes.hasOwnProperty(t)},getNodeData:function(t){if(this.hasNode(t))return this.nodes[t];throw new Error("Node does not exist: "+t)},setNodeData:function(t,e){if(!this.hasNode(t))throw new Error("Node does not exist: "+t);this.nodes[t]=e},addDependency:function(t,e){if(!this.hasNode(t))throw new Error("Node does not exist: "+t);if(!this.hasNode(e))throw new Error("Node does not exist: "+e);return-1===this.outgoingEdges[t].indexOf(e)&&this.outgoingEdges[t].push(e),-1===this.incomingEdges[e].indexOf(t)&&this.incomingEdges[e].push(t),!0},removeDependency:function(t,e){var r;this.hasNode(t)&&(r=this.outgoingEdges[t].indexOf(e))>=0&&this.outgoingEdges[t].splice(r,1),this.hasNode(e)&&(r=this.incomingEdges[e].indexOf(t))>=0&&this.incomingEdges[e].splice(r,1)},clone:function(){var t=this,e=new n;return Object.keys(t.nodes).forEach((function(r){e.nodes[r]=t.nodes[r],e.outgoingEdges[r]=t.outgoingEdges[r].slice(0),e.incomingEdges[r]=t.incomingEdges[r].slice(0)})),e},directDependenciesOf:function(t){if(this.hasNode(t))return this.outgoingEdges[t].slice(0);throw new Error("Node does not exist: "+t)},directDependantsOf:function(t){if(this.hasNode(t))return this.incomingEdges[t].slice(0);throw new Error("Node does not exist: "+t)},dependenciesOf:function(t,e){if(this.hasNode(t)){var n=[];r(this.outgoingEdges,e,n,this.circular)(t);var o=n.indexOf(t);return o>=0&&n.splice(o,1),n}throw new Error("Node does not exist: "+t)},dependantsOf:function(t,e){if(this.hasNode(t)){var n=[];r(this.incomingEdges,e,n,this.circular)(t);var o=n.indexOf(t);return o>=0&&n.splice(o,1),n}throw new Error("Node does not exist: "+t)},overallOrder:function(t){var e=this,n=[],o=Object.keys(this.nodes);if(0===o.length)return n;if(!this.circular){var i=r(this.outgoingEdges,!1,[],this.circular);o.forEach((function(t){i(t)}))}var u=r(this.outgoingEdges,t,n,this.circular);return o.filter((function(t){return 0===e.incomingEdges[t].length})).forEach((function(t){u(t)})),this.circular&&o.filter((function(t){return-1===n.indexOf(t)})).forEach((function(t){u(t)})),n},entryNodes:function(){var t=this;return Object.keys(this.nodes).filter((function(e){return 0===t.incomingEdges[e].length}))}},n.prototype.directDependentsOf=n.prototype.directDependantsOf,n.prototype.dependentsOf=n.prototype.dependantsOf;var o=function(t){var e="Dependency Cycle Found: "+t.join(" -> "),r=new Error(e);return r.cyclePath=t,Object.setPrototypeOf(r,Object.getPrototypeOf(this)),Error.captureStackTrace&&Error.captureStackTrace(r,o),r};o.prototype=Object.create(Error.prototype,{constructor:{value:Error,enumerable:!1,writable:!0,configurable:!0}}),Object.setPrototypeOf(o,Error)},146:function(t,e,r){"use strict";var n=r(363),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},u={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},a={};function c(t){return n.isMemo(t)?u:a[t.$$typeof]||o}a[n.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},a[n.Memo]=u;var s=Object.defineProperty,f=Object.getOwnPropertyNames,l=Object.getOwnPropertySymbols,p=Object.getOwnPropertyDescriptor,y=Object.getPrototypeOf,d=Object.prototype;t.exports=function t(e,r,n){if("string"!=typeof r){if(d){var o=y(r);o&&o!==d&&t(e,o,n)}var u=f(r);l&&(u=u.concat(l(r)));for(var a=c(e),h=c(r),v=0;v div {\n position: relative;\n}\n._dash-undo-redo-link {\n color: #0074d9;\n cursor: pointer;\n margin-left: 10px;\n margin-right: 10px;\n display: inline-block;\n opacity: 0.2;\n}\n._dash-undo-redo-link:hover {\n opacity: 1;\n}\n._dash-undo-redo-link ._dash-icon-undo {\n font-size: 20px;\n transform: rotate(270deg);\n}\n._dash-undo-redo-link ._dash-icon-redo {\n font-size: 20px;\n transform: rotate(90deg);\n}\n._dash-undo-redo-link ._dash-undo-redo-label {\n font-size: 15px;\n}\n",""]),e.A=u},221:function(t,e){"use strict";e.qg=function(t,e){var u=new r,a=t.length;if(a<2)return u;var c=(null==e?void 0:e.decode)||i,s=0;do{var f=t.indexOf("=",s);if(-1===f)break;var l=t.indexOf(";",s),p=-1===l?a:l;if(f>p)s=t.lastIndexOf(";",f-1)+1;else{var y=n(t,s,f),d=o(t,f,y),h=t.slice(y,d);if(void 0===u[h]){var v=n(t,f+1,p),b=o(t,p,v),m=c(t.slice(v,b));u[h]=m}s=p+1}}while(sr;){var n=t.charCodeAt(--e);if(32!==n&&9!==n)return e+1}return r}function i(t){if(-1===t.indexOf("%"))return t;try{return decodeURIComponent(t)}catch(e){return t}}},242:function(t,e,r){"use strict";t.exports=r(940)},296:function(t,e,r){var n;window,t.exports=(n=r(609),function(t){var e={};function r(n){if(e[n])return e[n].exports;var o=e[n]={i:n,l:!1,exports:{}};return t[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=t,r.c=e,r.d=function(t,e,n){r.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,e){if(1&e&&(t=r(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)r.d(n,o,function(e){return t[e]}.bind(null,o));return n},r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,"a",e),e},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.p="",r(r.s=1)}([function(t,e){t.exports=n},function(t,e,r){"use strict";r.r(e),r.d(e,"asyncDecorator",(function(){return u})),r.d(e,"inheritAsyncDecorator",(function(){return a})),r.d(e,"isReady",(function(){return c})),r.d(e,"History",(function(){return l}));var n=r(0);function o(t,e,r,n,o,i,u){try{var a=t[i](u),c=a.value}catch(t){return void r(t)}a.done?e(c):Promise.resolve(c).then(n,o)}function i(t){return function(){var e=this,r=arguments;return new Promise((function(n,i){var u=t.apply(e,r);function a(t){o(u,n,i,a,c,"next",t)}function c(t){o(u,n,i,a,c,"throw",t)}a(void 0)}))}}var u=function(t,e){var r,o={isReady:new Promise((function(t){r=t})),get:Object(n.lazy)((function(){return Promise.resolve(e()).then((function(t){return setTimeout(i(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,r(!0);case 2:o.isReady=!0;case 3:case"end":return t.stop()}}),t)}))),0),t}))}))};return Object.defineProperty(t,"_dashprivate_isLazyComponentReady",{get:function(){return o.isReady}}),o.get},a=function(t,e){Object.defineProperty(t,"_dashprivate_isLazyComponentReady",{get:function(){return c(e)}})},c=function(t){return t&&t._dashprivate_isLazyComponentReady};function s(t,e){for(var r=0;r0?" ".concat(e[5]):""," {")),r+=t(e),n&&(r+="}"),e[2]&&(r+="}"),e[4]&&(r+="}"),r})).join("")},e.i=function(t,r,n,o,i){"string"==typeof t&&(t=[[null,t,void 0]]);var u={};if(n)for(var a=0;a0?" ".concat(f[5]):""," {").concat(f[1],"}")),f[5]=i),r&&(f[2]?(f[1]="@media ".concat(f[2]," {").concat(f[1],"}"),f[2]=r):f[2]=r),o&&(f[4]?(f[1]="@supports (".concat(f[4],") {").concat(f[1],"}"),f[4]=o):f[4]="".concat(o)),e.push(f))}},e}},363:function(t,e,r){"use strict";t.exports=r(799)},365:function(t,e,r){"use strict";var n=r(886);t.exports=function(t){var e=typeof t;if("string"===e){var r=t;if(0==(t=+t)&&n(r))return!1}else if("number"!==e)return!1;return t-t<1}},516:function(t,e,r){"use strict";t.exports=r(712)},540:function(t){"use strict";t.exports=function(t){var e=document.createElement("style");return t.setAttributes(e,t.attributes),t.insert(e,t.options),e}},601:function(t){"use strict";t.exports=function(t){return t[1]}},609:function(t){"use strict";t.exports=window.React},659:function(t){"use strict";var e={};t.exports=function(t,r){var n=function(t){if(void 0===e[t]){var r=document.querySelector(t);if(window.HTMLIFrameElement&&r instanceof window.HTMLIFrameElement)try{r=r.contentDocument.head}catch(t){r=null}e[t]=r}return e[t]}(t);if(!n)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");n.appendChild(r)}},712:function(t,e){"use strict";function r(t){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r(t)}var n=Symbol.for("react.element"),o=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),u=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),c=Symbol.for("react.provider"),s=Symbol.for("react.context"),f=Symbol.for("react.server_context"),l=Symbol.for("react.forward_ref"),p=Symbol.for("react.suspense"),y=Symbol.for("react.suspense_list"),d=Symbol.for("react.memo"),h=Symbol.for("react.lazy");Symbol.for("react.offscreen");Symbol.for("react.module.reference"),e.isContextConsumer=function(t){return function(t){if("object"===r(t)&&null!==t){var e=t.$$typeof;switch(e){case n:switch(t=t.type){case i:case a:case u:case p:case y:return t;default:switch(t=t&&t.$$typeof){case f:case s:case l:case h:case d:case c:return t;default:return e}}case o:return e}}}(t)===s}},799:function(t,e){"use strict";var r="function"==typeof Symbol&&Symbol.for,n=r?Symbol.for("react.element"):60103,o=r?Symbol.for("react.portal"):60106,i=r?Symbol.for("react.fragment"):60107,u=r?Symbol.for("react.strict_mode"):60108,a=r?Symbol.for("react.profiler"):60114,c=r?Symbol.for("react.provider"):60109,s=r?Symbol.for("react.context"):60110,f=r?Symbol.for("react.async_mode"):60111,l=r?Symbol.for("react.concurrent_mode"):60111,p=r?Symbol.for("react.forward_ref"):60112,y=r?Symbol.for("react.suspense"):60113,d=r?Symbol.for("react.suspense_list"):60120,h=r?Symbol.for("react.memo"):60115,v=r?Symbol.for("react.lazy"):60116,b=r?Symbol.for("react.block"):60121,m=r?Symbol.for("react.fundamental"):60117,g=r?Symbol.for("react.responder"):60118,O=r?Symbol.for("react.scope"):60119;function w(t){if("object"==typeof t&&null!==t){var e=t.$$typeof;switch(e){case n:switch(t=t.type){case f:case l:case i:case a:case u:case y:return t;default:switch(t=t&&t.$$typeof){case s:case p:case v:case h:case c:return t;default:return e}}case o:return e}}}function S(t){return w(t)===l}e.AsyncMode=f,e.ConcurrentMode=l,e.ContextConsumer=s,e.ContextProvider=c,e.Element=n,e.ForwardRef=p,e.Fragment=i,e.Lazy=v,e.Memo=h,e.Portal=o,e.Profiler=a,e.StrictMode=u,e.Suspense=y,e.isAsyncMode=function(t){return S(t)||w(t)===f},e.isConcurrentMode=S,e.isContextConsumer=function(t){return w(t)===s},e.isContextProvider=function(t){return w(t)===c},e.isElement=function(t){return"object"==typeof t&&null!==t&&t.$$typeof===n},e.isForwardRef=function(t){return w(t)===p},e.isFragment=function(t){return w(t)===i},e.isLazy=function(t){return w(t)===v},e.isMemo=function(t){return w(t)===h},e.isPortal=function(t){return w(t)===o},e.isProfiler=function(t){return w(t)===a},e.isStrictMode=function(t){return w(t)===u},e.isSuspense=function(t){return w(t)===y},e.isValidElementType=function(t){return"string"==typeof t||"function"==typeof t||t===i||t===l||t===a||t===u||t===y||t===d||"object"==typeof t&&null!==t&&(t.$$typeof===v||t.$$typeof===h||t.$$typeof===c||t.$$typeof===s||t.$$typeof===p||t.$$typeof===m||t.$$typeof===g||t.$$typeof===O||t.$$typeof===b)},e.typeOf=w},825:function(t){"use strict";t.exports=function(t){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var e=t.insertStyleElement(t);return{update:function(r){!function(t,e,r){var n="";r.supports&&(n+="@supports (".concat(r.supports,") {")),r.media&&(n+="@media ".concat(r.media," {"));var o=void 0!==r.layer;o&&(n+="@layer".concat(r.layer.length>0?" ".concat(r.layer):""," {")),n+=r.css,o&&(n+="}"),r.media&&(n+="}"),r.supports&&(n+="}");var i=r.sourceMap;i&&"undefined"!=typeof btoa&&(n+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(i))))," */")),e.styleTagTransform(n,t,e.options)}(e,t,r)},remove:function(){!function(t){if(null===t.parentNode)return!1;t.parentNode.removeChild(t)}(e)}}}},886:function(t){"use strict";t.exports=function(t){for(var e,r=t.length,n=0;n13)&&32!==e&&133!==e&&160!==e&&5760!==e&&6158!==e&&(e<8192||e>8205)&&8232!==e&&8233!==e&&8239!==e&&8287!==e&&8288!==e&&12288!==e&&65279!==e)return!1;return!0}},888:function(t,e,r){"use strict";t.exports=r(63)},925:function(t){"use strict";t.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},940:function(t,e,r){"use strict";var n=r(609),o=r(888),i="function"==typeof Object.is?Object.is:function(t,e){return t===e&&(0!==t||1/t==1/e)||t!=t&&e!=e},u=o.useSyncExternalStore,a=n.useRef,c=n.useEffect,s=n.useMemo,f=n.useDebugValue;e.useSyncExternalStoreWithSelector=function(t,e,r,n,o){var l=a(null);if(null===l.current){var p={hasValue:!1,value:null};l.current=p}else p=l.current;l=s((function(){function t(t){if(!c){if(c=!0,u=t,t=n(t),void 0!==o&&p.hasValue){var e=p.value;if(o(e,t))return a=e}return a=t}if(e=a,i(u,t))return e;var r=n(t);return void 0!==o&&o(e,r)?e:(u=t,a=r)}var u,a,c=!1,s=void 0===r?null:r;return[function(){return t(e())},null===s?void 0:function(){return t(s())}]}),[e,r,n,o]);var y=u(t,l[0],l[1]);return c((function(){p.hasValue=!0,p.value=y}),[y]),f(y),y}}},e={};function r(n){var o=e[n];if(void 0!==o)return o.exports;var i=e[n]={id:n,exports:{}};return t[n](i,i.exports,r),i.exports}r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,{a:e}),e},r.d=function(t,e){for(var n in e)r.o(e,n)&&!r.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.nc=void 0,function(){"use strict";var t="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||void 0!==r.g&&r.g||{},e="URLSearchParams"in t,n="Symbol"in t&&"iterator"in Symbol,o="FileReader"in t&&"Blob"in t&&function(){try{return new Blob,!0}catch(t){return!1}}(),i="FormData"in t,u="ArrayBuffer"in t;if(u)var a=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],c=ArrayBuffer.isView||function(t){return t&&a.indexOf(Object.prototype.toString.call(t))>-1};function s(t){if("string"!=typeof t&&(t=String(t)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(t)||""===t)throw new TypeError('Invalid character in header field name: "'+t+'"');return t.toLowerCase()}function f(t){return"string"!=typeof t&&(t=String(t)),t}function l(t){var e={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return n&&(e[Symbol.iterator]=function(){return e}),e}function p(t){this.map={},t instanceof p?t.forEach((function(t,e){this.append(e,t)}),this):Array.isArray(t)?t.forEach((function(t){if(2!=t.length)throw new TypeError("Headers constructor: expected name/value pair to be length 2, found"+t.length);this.append(t[0],t[1])}),this):t&&Object.getOwnPropertyNames(t).forEach((function(e){this.append(e,t[e])}),this)}function y(t){if(!t._noBody)return t.bodyUsed?Promise.reject(new TypeError("Already read")):void(t.bodyUsed=!0)}function d(t){return new Promise((function(e,r){t.onload=function(){e(t.result)},t.onerror=function(){r(t.error)}}))}function h(t){var e=new FileReader,r=d(e);return e.readAsArrayBuffer(t),r}function v(t){if(t.slice)return t.slice(0);var e=new Uint8Array(t.byteLength);return e.set(new Uint8Array(t)),e.buffer}function b(){return this.bodyUsed=!1,this._initBody=function(t){var r;this.bodyUsed=this.bodyUsed,this._bodyInit=t,t?"string"==typeof t?this._bodyText=t:o&&Blob.prototype.isPrototypeOf(t)?this._bodyBlob=t:i&&FormData.prototype.isPrototypeOf(t)?this._bodyFormData=t:e&&URLSearchParams.prototype.isPrototypeOf(t)?this._bodyText=t.toString():u&&o&&(r=t)&&DataView.prototype.isPrototypeOf(r)?(this._bodyArrayBuffer=v(t.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):u&&(ArrayBuffer.prototype.isPrototypeOf(t)||c(t))?this._bodyArrayBuffer=v(t):this._bodyText=t=Object.prototype.toString.call(t):(this._noBody=!0,this._bodyText=""),this.headers.get("content-type")||("string"==typeof t?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):e&&URLSearchParams.prototype.isPrototypeOf(t)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},o&&(this.blob=function(){var t=y(this);if(t)return t;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(){if(this._bodyArrayBuffer)return y(this)||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer));if(o)return this.blob().then(h);throw new Error("could not read as ArrayBuffer")},this.text=function(){var t,e,r,n,o,i=y(this);if(i)return i;if(this._bodyBlob)return t=this._bodyBlob,r=d(e=new FileReader),o=(n=/charset=([A-Za-z0-9_-]+)/.exec(t.type))?n[1]:"utf-8",e.readAsText(t,o),r;if(this._bodyArrayBuffer)return Promise.resolve(function(t){for(var e=new Uint8Array(t),r=new Array(e.length),n=0;n-1?o:n),this.mode=r.mode||this.mode||null,this.signal=r.signal||this.signal||function(){if("AbortController"in t)return(new AbortController).signal}(),this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&i)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(i),!("GET"!==this.method&&"HEAD"!==this.method||"no-store"!==r.cache&&"no-cache"!==r.cache)){var u=/([?&])_=[^&]*/;u.test(this.url)?this.url=this.url.replace(u,"$1_="+(new Date).getTime()):this.url+=(/\?/.test(this.url)?"&":"?")+"_="+(new Date).getTime()}}function O(t){var e=new FormData;return t.trim().split("&").forEach((function(t){if(t){var r=t.split("="),n=r.shift().replace(/\+/g," "),o=r.join("=").replace(/\+/g," ");e.append(decodeURIComponent(n),decodeURIComponent(o))}})),e}function w(t,e){if(!(this instanceof w))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');if(e||(e={}),this.type="default",this.status=void 0===e.status?200:e.status,this.status<200||this.status>599)throw new RangeError("Failed to construct 'Response': The status provided (0) is outside the range [200, 599].");this.ok=this.status>=200&&this.status<300,this.statusText=void 0===e.statusText?"":""+e.statusText,this.headers=new p(e.headers),this.url=e.url||"",this._initBody(t)}g.prototype.clone=function(){return new g(this,{body:this._bodyInit})},b.call(g.prototype),b.call(w.prototype),w.prototype.clone=function(){return new w(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new p(this.headers),url:this.url})},w.error=function(){var t=new w(null,{status:200,statusText:""});return t.ok=!1,t.status=0,t.type="error",t};var S=[301,302,303,307,308];w.redirect=function(t,e){if(-1===S.indexOf(e))throw new RangeError("Invalid status code");return new w(null,{status:e,headers:{location:t}})};var j=t.DOMException;try{new j}catch(t){(j=function(t,e){this.message=t,this.name=e;var r=Error(t);this.stack=r.stack}).prototype=Object.create(Error.prototype),j.prototype.constructor=j}function _(e,r){return new Promise((function(n,i){var a=new g(e,r);if(a.signal&&a.signal.aborted)return i(new j("Aborted","AbortError"));var c=new XMLHttpRequest;function l(){c.abort()}if(c.onload=function(){var t,e,r={statusText:c.statusText,headers:(t=c.getAllResponseHeaders()||"",e=new p,t.replace(/\r?\n[\t ]+/g," ").split("\r").map((function(t){return 0===t.indexOf("\n")?t.substr(1,t.length):t})).forEach((function(t){var r=t.split(":"),n=r.shift().trim();if(n){var o=r.join(":").trim();try{e.append(n,o)}catch(t){console.warn("Response "+t.message)}}})),e)};0===a.url.indexOf("file://")&&(c.status<200||c.status>599)?r.status=200:r.status=c.status,r.url="responseURL"in c?c.responseURL:r.headers.get("X-Request-URL");var o="response"in c?c.response:c.responseText;setTimeout((function(){n(new w(o,r))}),0)},c.onerror=function(){setTimeout((function(){i(new TypeError("Network request failed"))}),0)},c.ontimeout=function(){setTimeout((function(){i(new TypeError("Network request timed out"))}),0)},c.onabort=function(){setTimeout((function(){i(new j("Aborted","AbortError"))}),0)},c.open(a.method,function(e){try{return""===e&&t.location.href?t.location.href:e}catch(t){return e}}(a.url),!0),"include"===a.credentials?c.withCredentials=!0:"omit"===a.credentials&&(c.withCredentials=!1),"responseType"in c&&(o?c.responseType="blob":u&&(c.responseType="arraybuffer")),r&&"object"==typeof r.headers&&!(r.headers instanceof p||t.Headers&&r.headers instanceof t.Headers)){var y=[];Object.getOwnPropertyNames(r.headers).forEach((function(t){y.push(s(t)),c.setRequestHeader(t,f(r.headers[t]))})),a.headers.forEach((function(t,e){-1===y.indexOf(e)&&c.setRequestHeader(e,t)}))}else a.headers.forEach((function(t,e){c.setRequestHeader(e,t)}));a.signal&&(a.signal.addEventListener("abort",l),c.onreadystatechange=function(){4===c.readyState&&a.signal.removeEventListener("abort",l)}),c.send(void 0===a._bodyInit?null:a._bodyInit)}))}_.polyfill=!0,t.fetch||(t.fetch=_,t.Headers=p,t.Request=g,t.Response=w)}(),function(){"use strict";var t=r(609),e=r.n(t),n=window.ReactDOM,o=r.n(n),i=window.PropTypes,u=r.n(i),a=r(888),c=r(242),s=function(t){t()},f=function(){return s},l=(0,t.createContext)(null);function p(){return(0,t.useContext)(l)}var y=function(){throw new Error("uSES not initialized!")},d=y,h=function(t,e){return t===e};function v(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:l,r=e===l?p:function(){return(0,t.useContext)(e)};return function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:h,o=r(),i=o.store,u=o.subscription,a=o.getServerState,c=d(u.addNestedSub,i.getState,a||i.getState,e,n);return(0,t.useDebugValue)(c),c}}var b=v();function m(){return m=Object.assign?Object.assign.bind():function(t){for(var e=1;et.length)&&(e=t.length);for(var r=0,n=Array(e);r3&&void 0!==arguments[3]?arguments[3]:{},u=(i.pure,i.areStatesEqual),a=void 0===u?J:u,c=i.areOwnPropsEqual,s=void 0===c?U:c,f=i.areStatePropsEqual,p=void 0===f?U:f,y=i.areMergedPropsEqual,d=void 0===y?U:y,h=i.forwardRef,v=void 0!==h&&h,b=i.context,O=void 0===b?l:b,P=function(t){return t?"function"==typeof t?A(t):x(t,"mapStateToProps"):E((function(){return{}}))}(r),k=function(t){return t&&"object"===T(t)?E((function(e){return function(t,e){var r={},n=function(){var n=t[o];"function"==typeof n&&(r[o]=function(){return e(n.apply(void 0,arguments))})};for(var o in t)n();return r}(t,e)})):t?"function"==typeof t?A(t):x(t,"mapDispatchToProps"):E((function(t){return{dispatch:t}}))}(n),C=function(t){return t?"function"==typeof t?function(t){return function(e,r){r.displayName;var n,o=r.areMergedPropsEqual,i=!1;return function(e,r,u){var a=t(e,r,u);return i?o(a,n)||(n=a):(i=!0,n=a),n}}}(t):x(t,"mergeProps"):function(){return I}}(o),N=Boolean(r);return function(r){var n=r.displayName||r.name||"Component",o="Connect(".concat(n,")"),i={shouldHandleStateChanges:N,displayName:o,wrappedComponentName:n,WrappedComponent:r,initMapStateToProps:P,initMapDispatchToProps:k,initMergeProps:C,areStatesEqual:a,areStatePropsEqual:p,areOwnPropsEqual:s,areMergedPropsEqual:d};function u(n){var o=(0,t.useMemo)((function(){var t=n.reactReduxForwardedRef,e=g(n,G);return[n.context,t,e]}),[n]),u=L(o,3),a=u[0],c=u[1],s=u[2],f=(0,t.useMemo)((function(){return a&&a.Consumer&&(0,S.isContextConsumer)(e().createElement(a.Consumer,null))?a:O}),[a,O]),l=(0,t.useContext)(f),p=Boolean(n.store)&&Boolean(n.store.getState)&&Boolean(n.store.dispatch),y=Boolean(l)&&Boolean(l.store),d=p?n.store:l.store,h=y?l.getServerState:d.getState,v=(0,t.useMemo)((function(){return function(t,e){var r=e.initMapStateToProps,n=e.initMapDispatchToProps,o=e.initMergeProps,i=g(e,j);return _(r(t,i),n(t,i),o(t,i),t,i)}(d.dispatch,i)}),[d]),b=(0,t.useMemo)((function(){if(!N)return H;var t=R(d,p?void 0:l.subscription),e=t.notifyNestedSubs.bind(t);return[t,e]}),[d,p,l]),w=L(b,2),E=w[0],P=w[1],A=(0,t.useMemo)((function(){return p?l:m({},l,{subscription:E})}),[p,l,E]),k=(0,t.useRef)(),x=(0,t.useRef)(s),T=(0,t.useRef)(),I=(0,t.useRef)(!1),C=((0,t.useRef)(!1),(0,t.useRef)(!1)),M=(0,t.useRef)();D((function(){return C.current=!0,function(){C.current=!1}}),[]);var U,J,z,W=(0,t.useMemo)((function(){return function(){return T.current&&s===x.current?T.current:v(d.getState(),s)}}),[d,s]),V=(0,t.useMemo)((function(){return function(t){return E?function(t,e,r,n,o,i,u,a,c,s,f){if(!t)return function(){};var l=!1,p=null,y=function(){if(!l&&a.current){var t,r,y=e.getState();try{t=n(y,o.current)}catch(t){r=t,p=t}r||(p=null),t===i.current?u.current||s():(i.current=t,c.current=t,u.current=!0,f())}};return r.onStateChange=y,r.trySubscribe(),y(),function(){if(l=!0,r.tryUnsubscribe(),r.onStateChange=null,p)throw p}}(N,d,E,v,x,k,I,C,T,P,t):function(){}}}),[E]);U=$,J=[x,k,I,s,T,P],D((function(){return U.apply(void 0,function(t){if(Array.isArray(t))return B(t)}(t=J)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||q(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}());var t}),undefined);try{z=F(V,W,h?function(){return v(h(),s)}:W)}catch(t){throw M.current&&(t.message+="\nThe error may be correlated with this previous error:\n".concat(M.current.stack,"\n\n")),t}D((function(){M.current=void 0,T.current=void 0,k.current=z}));var K=(0,t.useMemo)((function(){return e().createElement(r,m({},z,{ref:c}))}),[c,r,z]);return(0,t.useMemo)((function(){return N?e().createElement(f.Provider,{value:A},K):K}),[f,K,A])}var c=e().memo(u);if(c.WrappedComponent=r,c.displayName=u.displayName=o,v){var f=e().forwardRef((function(t,r){return e().createElement(c,m({},t,{reactReduxForwardedRef:r}))}));return f.displayName=o,f.WrappedComponent=r,w()(f,r)}return w()(c,r)}},W=function(r){var n=r.store,o=r.context,i=r.children,u=r.serverState,a=(0,t.useMemo)((function(){var t=R(n);return{store:n,subscription:t,getServerState:u?function(){return u}:void 0}}),[n,u]),c=(0,t.useMemo)((function(){return n.getState()}),[n]);D((function(){var t=a.subscription;return t.onStateChange=t.notifyNestedSubs,t.trySubscribe(),c!==n.getState()&&t.notifyNestedSubs(),function(){t.tryUnsubscribe(),t.onStateChange=void 0}}),[a,c]);var s=o||l;return e().createElement(s.Provider,{value:a},i)};function V(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:l,r=e===l?p:function(){return(0,t.useContext)(e)};return function(){return r().store}}var K=V();function Y(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:l,e=t===l?K:V(t);return function(){return e().dispatch}}var Q,X,Z=Y();function tt(t,e){switch(t){case 0:return function(){return e.apply(this,arguments)};case 1:return function(t){return e.apply(this,arguments)};case 2:return function(t,r){return e.apply(this,arguments)};case 3:return function(t,r,n){return e.apply(this,arguments)};case 4:return function(t,r,n,o){return e.apply(this,arguments)};case 5:return function(t,r,n,o,i){return e.apply(this,arguments)};case 6:return function(t,r,n,o,i,u){return e.apply(this,arguments)};case 7:return function(t,r,n,o,i,u,a){return e.apply(this,arguments)};case 8:return function(t,r,n,o,i,u,a,c){return e.apply(this,arguments)};case 9:return function(t,r,n,o,i,u,a,c,s){return e.apply(this,arguments)};case 10:return function(t,r,n,o,i,u,a,c,s,f){return e.apply(this,arguments)};default:throw new Error("First argument to _arity must be a non-negative integer no greater than ten")}}function et(t){return et="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},et(t)}function rt(t){return null!=t&&"object"===et(t)&&!0===t["@@functional/placeholder"]}function nt(t){return function e(r){return 0===arguments.length||rt(r)?e:t.apply(this,arguments)}}Q=c.useSyncExternalStoreWithSelector,d=Q,function(t){F=t}(a.useSyncExternalStore),X=n.unstable_batchedUpdates,s=X;var ot=nt((function(t){var e,r=!1;return tt(t.length,(function(){return r?e:(r=!0,e=t.apply(this,arguments))}))})),it=ot;function ut(t){return ut="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ut(t)}function at(t,e,r){return(e=function(t){var e=function(t){if("object"!=ut(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var r=e.call(t,"string");if("object"!=ut(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==ut(e)?e:e+""}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function ct(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function st(t){for(var e=1;e=0;)jt(e=xt[r],t)&&!It(n,e)&&(n[n.length]=e),r-=1;return n})):nt((function(t){return Object(t)!==t?[]:Object.keys(t)})),Rt=nt((function(t){return null===t?"Null":void 0===t?"Undefined":Object.prototype.toString.call(t).slice(8,-1)}));function Dt(t){return Dt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Dt(t)}function Nt(t,e,r,n){var o=wt(t);function i(t,e){return Mt(t,e,r.slice(),n.slice())}return!St((function(t,e){return!St(i,e,t)}),wt(e),o)}function Mt(t,e,r,n){if(_t(t,e))return!0;var o,i,u=Rt(t);if(u!==Rt(e))return!1;if("function"==typeof t["fantasy-land/equals"]||"function"==typeof e["fantasy-land/equals"])return"function"==typeof t["fantasy-land/equals"]&&t["fantasy-land/equals"](e)&&"function"==typeof e["fantasy-land/equals"]&&e["fantasy-land/equals"](t);if("function"==typeof t.equals||"function"==typeof e.equals)return"function"==typeof t.equals&&t.equals(e)&&"function"==typeof e.equals&&e.equals(t);switch(u){case"Arguments":case"Array":case"Object":if("function"==typeof t.constructor&&"Promise"===(o=t.constructor,null==(i=String(o).match(/^function (\w*)/))?"":i[1]))return t===e;break;case"Boolean":case"Number":case"String":if(Dt(t)!==Dt(e)||!_t(t.valueOf(),e.valueOf()))return!1;break;case"Date":if(!_t(t.valueOf(),e.valueOf()))return!1;break;case"Error":return t.name===e.name&&t.message===e.message;case"RegExp":if(t.source!==e.source||t.global!==e.global||t.ignoreCase!==e.ignoreCase||t.multiline!==e.multiline||t.sticky!==e.sticky||t.unicode!==e.unicode)return!1}for(var a=r.length-1;a>=0;){if(r[a]===t)return n[a]===e;a-=1}switch(u){case"Map":return t.size===e.size&&Nt(t.entries(),e.entries(),r.concat([t]),n.concat([e]));case"Set":return t.size===e.size&&Nt(t.values(),e.values(),r.concat([t]),n.concat([e]));case"Arguments":case"Array":case"Object":case"Boolean":case"Number":case"String":case"Date":case"Error":case"RegExp":case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"ArrayBuffer":break;default:return!1}var c=Ct(t);if(c.length!==Ct(e).length)return!1;var s=r.concat([t]),f=n.concat([e]);for(a=c.length-1;a>=0;){var l=c[a];if(!jt(l,e)||!Mt(e[l],t[l],s,f))return!1;a-=1}return!0}var Ut=Ot((function(t,e){return Mt(t,e,[],[])}));function Lt(t){return Lt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Lt(t)}function qt(t,e,r){var n,o;if("function"==typeof t.indexOf)switch(Lt(e)){case"number":if(0===e){for(n=1/e;r=0}var Gt=Ot(Bt);function Ft(t){return function e(r,n,o){switch(arguments.length){case 0:return e;case 1:return rt(r)?e:Ot((function(e,n){return t(r,e,n)}));case 2:return rt(r)&&rt(n)?e:rt(r)?Ot((function(e,r){return t(e,n,r)})):rt(n)?Ot((function(e,n){return t(r,e,n)})):nt((function(e){return t(r,n,e)}));default:return rt(r)&&rt(n)&&rt(o)?e:rt(r)&&rt(n)?Ot((function(e,r){return t(e,r,o)})):rt(r)&&rt(o)?Ot((function(e,r){return t(e,n,r)})):rt(n)&&rt(o)?Ot((function(e,n){return t(r,e,n)})):rt(r)?nt((function(e){return t(e,n,o)})):rt(n)?nt((function(e){return t(r,e,o)})):rt(o)?nt((function(e){return t(r,n,e)})):t(r,n,o)}}}var Ht=Number.isInteger||function(t){return(0|t)===t};function $t(t){return"[object String]"===Object.prototype.toString.call(t)}function Jt(t,e){var r=t<0?e.length+t:t;return $t(e)?e.charAt(r):e[r]}function zt(t,e){for(var r=e,n=0;n=0&&"[object Array]"===Object.prototype.toString.call(t)},Yt=nt((function(t){return null==t}));function Qt(t){return Qt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Qt(t)}var Xt=Ft((function t(e,r,n){if(0===e.length)return r;var o=e[0];if(e.length>1){var i=!Yt(n)&&jt(o,n)&&"object"===Qt(n[o])?n[o]:Ht(e[1])?[]:{};r=t(Array.prototype.slice.call(e,1),r,i)}return function(t,e,r){if(Ht(t)&&Kt(r)){var n=[].concat(r);return n[t]=e,n}var o={};for(var i in r)o[i]=r[i];return o[t]=e,o}(o,r,n)})),Zt=Ft((function(t,e,r){return Xt([t],e,r)}));function te(t,e){return function(){var r=arguments.length;if(0===r)return e();var n=arguments[r-1];return Kt(n)||"function"!=typeof n[t]?e.apply(this,arguments):n[t].apply(n,Array.prototype.slice.call(arguments,0,r-1))}}var ee=Ot(te("forEach",(function(t,e){for(var r=e.length,n=0;n0&&t.hasOwnProperty(0)&&t.hasOwnProperty(t.length-1))}));function _e(t){return function e(r){for(var n,o,i,u=[],a=0,c=r.length;a=arguments.length)?c=e[u]:(c=arguments[o],o+=1),n[u]=c,rt(c)?a=!0:i-=1,u+=1}return!a&&i<=0?r.apply(this,n):tt(Math.max(0,i),xe(t,n,r))}}var Te=Ot((function(t,e){return 1===t?nt(e):tt(t,xe(t,[],e))})),Ie=Te,Ce=Ot(he(["fantasy-land/map","map"],ke,(function(t,e){switch(Object.prototype.toString.call(e)){case"[object Function]":return Ie(e.length,(function(){return t.call(this,e.apply(this,arguments))}));case"[object Object]":return de((function(r,n){return r[n]=t(e[n]),r}),{},Ct(e));default:return Pe(t,e)}}))),Re=Ce,De="undefined"!=typeof Symbol?Symbol.iterator:"@@iterator";function Ne(t,e,r){return function(n,o,i){if(je(i))return t(n,o,i);if(null==i)return o;if("function"==typeof i["fantasy-land/reduce"])return e(n,o,i,"fantasy-land/reduce");if(null!=i[De])return r(n,o,i[De]());if("function"==typeof i.next)return r(n,o,i);if("function"==typeof i.reduce)return e(n,o,i,"reduce");throw new TypeError("reduce: list must be array or iterable")}}function Me(t,e,r){for(var n=0,o=r.length;n":Xe(r,n)},n=function(t,e){return Pe((function(e){return ze(e)+": "+r(t[e])}),e.slice().sort())};switch(Object.prototype.toString.call(t)){case"[object Arguments]":return"(function() { return arguments; }("+Pe(r,t).join(", ")+"))";case"[object Array]":return"["+Pe(r,t).concat(n(t,Ye((function(t){return/^\d+$/.test(t)}),Ct(t)))).join(", ")+"]";case"[object Boolean]":return"object"===Qe(t)?"new Boolean("+r(t.valueOf())+")":t.toString();case"[object Date]":return"new Date("+(isNaN(t.valueOf())?r(NaN):ze(Ve(t)))+")";case"[object Map]":return"new Map("+r(Array.from(t))+")";case"[object Null]":return"null";case"[object Number]":return"object"===Qe(t)?"new Number("+r(t.valueOf())+")":1/t==-1/0?"-0":t.toString(10);case"[object Set]":return"new Set("+r(Array.from(t).sort())+")";case"[object String]":return"object"===Qe(t)?"new String("+r(t.valueOf())+")":ze(t);case"[object Undefined]":return"undefined";default:if("function"==typeof t.toString){var o=t.toString();if("[object Object]"!==o)return o}return"{"+n(t,Ct(t)).join(", ")+"}"}}var Ze=nt((function(t){return Xe(t,[])})),tr=Ot((function(t,e){if(Kt(t)){if(Kt(e))return t.concat(e);throw new TypeError(Ze(e)+" is not an array")}if($t(t)){if($t(e))return t+e;throw new TypeError(Ze(e)+" is not a string")}if(null!=t&&Je(t["fantasy-land/concat"]))return t["fantasy-land/concat"](e);if(null!=t&&Je(t.concat))return t.concat(e);throw new TypeError(Ze(t)+' does not have a method named "concat" or "fantasy-land/concat"')}));function er(t){return t&&t["@@transducer/reduced"]?t:{"@@transducer/value":t,"@@transducer/reduced":!0}}var rr=function(){function t(t,e){this.xf=e,this.f=t,this.all=!0}return t.prototype["@@transducer/init"]=be,t.prototype["@@transducer/result"]=function(t){return this.all&&(t=this.xf["@@transducer/step"](t,!0)),this.xf["@@transducer/result"](t)},t.prototype["@@transducer/step"]=function(t,e){return this.f(e)||(this.all=!1,t=er(this.xf["@@transducer/step"](t,!1))),t},t}();function nr(t){return function(e){return new rr(t,e)}}var or=Ot(he(["all"],nr,(function(t,e){for(var r=0;re!=e>t)return e>t?e:t}var n=r(t,e);if(void 0!==n)return n;var o=r(ur(t),ur(e));if(void 0!==o)return o===ur(t)?t:e;var i=Ze(t),u=r(i,Ze(e));return void 0!==u&&u===i?t:e})),cr=Ot((function(t,e){return Re(pe(t),e)})),sr=Ot((function(t,e){return Ie($e(ar,0,cr("length",e)),(function(){var r=arguments,n=this;return t.apply(n,Pe((function(t){return t.apply(n,r)}),e))}))})),fr=sr,lr=nt((function(t){return fr((function(){return Array.prototype.slice.call(arguments,0)}),t)})),pr=lr([we,Ye]);function yr(t){return yr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},yr(t)}function dr(t,e,r){var n,o=yr(t);switch(o){case"string":case"number":return 0===t&&1/t==-1/0?!!r._items["-0"]||(e&&(r._items["-0"]=!0),!1):null!==r._nativeSet?e?(n=r._nativeSet.size,r._nativeSet.add(t),r._nativeSet.size===n):r._nativeSet.has(t):o in r._items?t in r._items[o]||(e&&(r._items[o][t]=!0),!1):(e&&(r._items[o]={},r._items[o][t]=!0),!1);case"boolean":if(o in r._items){var i=t?1:0;return!!r._items[o][i]||(e&&(r._items[o][i]=!0),!1)}return e&&(r._items[o]=t?[!1,!0]:[!0,!1]),!1;case"function":return null!==r._nativeSet?e?(n=r._nativeSet.size,r._nativeSet.add(t),r._nativeSet.size===n):r._nativeSet.has(t):o in r._items?!!Bt(t,r._items[o])||(e&&r._items[o].push(t),!1):(e&&(r._items[o]=[t]),!1);case"undefined":return!!r._items[o]||(e&&(r._items[o]=!0),!1);case"object":if(null===t)return!!r._items.null||(e&&(r._items.null=!0),!1);default:return(o=Object.prototype.toString.call(t))in r._items?!!Bt(t,r._items[o])||(e&&r._items[o].push(t),!1):(e&&(r._items[o]=[t]),!1)}}var hr=function(){function t(){this._nativeSet="function"==typeof Set?new Set:null,this._items={}}return t.prototype.add=function(t){return!dr(t,!0,this)},t.prototype.has=function(t){return dr(t,!1,this)},t}(),vr=Ot((function(t,e){for(var r=[],n=0,o=t.length,i=e.length,u=new hr,a=0;a=0&&this.i>=this.n?er(r):r},t}();function Xr(t){return function(e){return new Qr(t,e)}}var Zr=Ft(te("slice",(function(t,e,r){return Array.prototype.slice.call(r,t,e)}))),tn=Ot(he(["take"],Xr,(function(t,e){return Zr(0,t<0?1/0:t,e)}))),en=Ot((function(t,e){return Ut(tn(t.length,e),t)})),rn=Ot((function(t,e){return"function"!=typeof e.indexOf||Kt(e)?qt(e,t,0):e.indexOf(t)})),nn=Ft((function(t,e,r){t=t=0?t:r.length;var n=Array.prototype.slice.call(r,0);return n.splice(t,0,e),n})),on=function(){function t(t,e){this.xf=e,this.f=t,this.found=!1}return t.prototype["@@transducer/init"]=be,t.prototype["@@transducer/result"]=function(t){return this.found||(t=this.xf["@@transducer/step"](t,void 0)),this.xf["@@transducer/result"](t)},t.prototype["@@transducer/step"]=function(t,e){return this.f(e)&&(this.found=!0,t=er(this.xf["@@transducer/step"](t,e))),t},t}();function un(t){return function(e){return new on(t,e)}}var an=Ot(he(["find"],un,(function(t,e){for(var r=0,n=e.length;rt.length)&&(e=t.length);for(var r=0,n=Array(e);r2&&void 0!==arguments[2]?arguments[2]:[],n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:void 0;if(Array.isArray(t))t.forEach((function(t,o){if(n){var i=$r((function(t){return Gt("{}",t)}),n);if(-1!==i){var u=Zr(0,i,n),a=Zr(i,n.length,n);if(u.length)Sn(ne(u,t),e,tr(r,tr([o],u)),a);else{var c,s=a.map((function(t){return t.replace("{}","")})).filter((function(t){return t})),f=tr([o],s);for(var l in c=s.length?ne(s,t):t){var p=c[l];Sn(p,e,tr(r,f.concat([l])))}}}else Sn(ne(n,t),e,tr(r,tr([o],n)))}else Sn(t,e,yn(o,r))}));else if("Object"===Rt(t)){e(t,r);var o=ne(wn,t);if(o){var i=tr(r,wn);Sn(o,e,i)}Vt([],[t.namespace,t.type],window.__dashprivate_childrenProps).forEach((function(n){if(n.includes("[]")){var o=(O=n.split("[]").map((function(t){return t.split(".").filter((function(t){return t}))})),w=2,function(t){if(Array.isArray(t))return t}(O)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,u,a=[],c=!0,s=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=i.call(r)).done)&&(a.push(n.value),a.length!==e);c=!0);}catch(t){s=!0,o=t}finally{try{if(!c&&null!=r.return&&(u=r.return(),Object(u)!==u))return}finally{if(s)throw o}}return a}}(O,w)||mn(O,w)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),i=o[0],u=o[1],a=tr(["props"],i),c=tr(r,a);Sn(ne(a,t),e,c,u)}else if(n.includes("{}")){for(var s=n.split("."),f=[],l=[],p=!1,y=0;y-1&&r.splice(n,1)}}},{key:"emit",value:function(t){for(var e=this,r=arguments.length,n=new Array(r>1?r-1:0),o=1;ot.length)&&(e=t.length);for(var r=0,n=Array(e);ro?1:ne?1:t=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:n}}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 o,i=!0,u=!1;return{s:function(){e=e.call(t)},n:function(){var t=e.next();return i=t.done,t},e:function(t){u=!0,o=t},f:function(){try{i||null==e.return||e.return()}finally{if(u)throw o}}}}(e);try{for(a.s();!(r=a.n()).done;){var c=r.value,s=c.id;if(c.property===o&&"string"!=typeof s&&Ut(Ct(s).sort(),i)&&ir(Yn,Er(u,ye(i,s))))return c}}catch(t){a.e(t)}finally{a.f()}return!1}function Xn(t,e){var r=new Or.w,n={},o=Re(Nr({id:$n})),i=Re((function(t){var e,r=t.output,n=t.no_output,i=Nr({inputs:o,state:o},t);return n?(i.outputs=[],i.noOutput=!0):i.outputs=Re((function(t){return Zt("out",!0,Hn(t))}),Nn(r)?(e=r).substr(2,e.length-4).split("..."):[r]),i}),t),u=!1;!function(t,e){var r={},n=[];t.forEach((function(t){var o=t.inputs,i=t.outputs,u=t.state,a=!0;1!==i.length||i[0].id||i[0].property||(a=!1);var c="In the callback for output(s):\n "+i.map(mo).join("\n ");o.length||e("A callback is missing Inputs",[c,"there are no `Input` elements.","Without `Input` elements, it will never get called.","","Subscribing to `Input` components will cause the","callback to be called whenever their values change."]),[[i,"Output"],[o,"Input"],[u,"State"]].forEach((function(t){var r=In(t,2),n=r[0],o=r[1];("Output"!==o||a)&&(Array.isArray(n)||e("Callback ".concat(o,"(s) must be an Array"),[c,"For ".concat(o,"(s) we found:"),JSON.stringify(n),"but we expected an Array."]),n.forEach((function(t,r){!function(t,e,r,n,o){var i=t.id,u=t.property;if("string"==typeof u&&u||o("Callback property error",[e,"".concat(r,"[").concat(n,"].property = ").concat(JSON.stringify(u)),"but we expected `property` to be a non-empty string."]),"object"===Dn(i))ae(i)&&o("Callback item missing ID",[e,"".concat(r,"[").concat(n,"].id = {}"),"Every item linked to a callback needs an ID"]),_r((function(t,i){i||o("Callback wildcard ID error",[e,"".concat(r,"[").concat(n,'].id has key "').concat(i,'"'),"Keys must be non-empty strings."]),"object"===Dn(t)&&t.wild?Bn[r][t.wild]!==t&&o("Callback wildcard ID error",[e,"".concat(r,"[").concat(n,'].id["').concat(i,'"] = ').concat(t.wild),"Allowed wildcards for ".concat(r,"s are:"),Ct(Bn[r]).join(", ")]):Gt(Dn(t),Gn)||o("Callback wildcard ID error",[e,"".concat(r,"[").concat(n,'].id["').concat(i,'"] = ').concat(JSON.stringify(t)),"Wildcard callback ID values must be either wildcards","or constants of one of these types:",Gn.join(", ")])}),i);else if("string"==typeof i){i||o("Callback item missing ID",[e,"".concat(r,"[").concat(n,'].id = "').concat(i,'"'),"Every item linked to a callback needs an ID"]);var a=Fn.filter((function(t){return Gt(t,i)}));a.length&&o("Callback invalid ID string",[e,"".concat(r,"[").concat(n,"].id = '").concat(i,"'"),"characters '".concat(a.join("', '"),"' are not allowed.")])}else o("Callback ID type error",[e,"".concat(r,"[").concat(n,"].id = ").concat(JSON.stringify(i)),"IDs must be strings or wildcard-compatible objects."])}(t,c,o,r,e)})))})),a&&(function(t,e,r,n,o){var i={},u=[];t.forEach((function(t,a){var c=t.id,s=t.property;if("string"==typeof c){var f=mo({id:c,property:s});i[f]?r("Duplicate callback Outputs",[e,"Output ".concat(a," (").concat(f,") is already used by this callback.")]):n[f]?r("Duplicate callback outputs",[e,"Output ".concat(a," (").concat(f,") is already in use."),"To resolve this, set `allow_duplicate=True` on","duplicate outputs, or combine the outputs into","one callback function, distinguishing the trigger","by using `dash.callback_context` if necessary."]):i[f]=1}else{var l={id:c,property:s},p=Qn(l,u),y=p||Qn(l,o);if(p||y){var d=mo(l),h=mo(p||y);r("Overlapping wildcard callback outputs",[e,"Output ".concat(a," (").concat(d,")"),"overlaps another output (".concat(h,")"),"used in ".concat(p?"this":"a different"," callback.")])}else u.push(l)}})),Ct(i).forEach((function(t){n[t]=1})),u.forEach((function(t){o.push(t)}))}(i,c,e,r,n),function(t,e,r,n,o){var i=Zn(t.length?t[0].id:void 0).matchKeys;t.forEach((function(e,r){r&&!Ut(Zn(e.id).matchKeys,i)&&o("Mismatched `MATCH` wildcards across `Output`s",[n,"Output ".concat(r," (").concat(mo(e),")"),"does not have MATCH wildcards on the same keys as","Output 0 (".concat(mo(t[0]),")."),"MATCH wildcards must be on the same keys for all Outputs.","ALL wildcards need not match, only MATCH."])})),[[e,"Input"],[r,"State"]].forEach((function(e){var r=In(e,2),u=r[0],a=r[1];u.forEach((function(e,r){var u=Zn(e.id),c=u.matchKeys,s=u.allsmallerKeys,f=c.concat(s),l=vr(f,i);l.length&&(l.sort(),o("`Input` / `State` wildcards not in `Output`s",[n,"".concat(a," ").concat(r," (").concat(mo(e),")"),"has MATCH or ALLSMALLER on key(s) ".concat(l.join(", ")),"where Output 0 (".concat(mo(t[0]),")"),"does not have a MATCH wildcard. Inputs and State do not","need every MATCH from the Output(s), but they cannot have","extras beyond the Output(s)."]))}))}))}(i,o,u,c,e))}))}(i,(function(t,r){u=!0,e(t,r)}));var a={},c={},s={},f={},l={MultiGraph:r,outputMap:a,inputMap:c,outputPatterns:s,inputPatterns:f,callbacks:i};if(u)return l;function p(t,e){var r=[{}];return _r((function(t,o){var i=n[o].vals,u=i.indexOf(e[o]),a=[t];t&&t.wild&&(a=t===Ln?u>0?i.slice(0,u):[]:-1===u||t===Mn?i:[e[o]]),r=Br(Br([Zt(o)],a),r)}),t),r}i.forEach((function(t){var e=t.outputs,r=t.inputs;e.concat(r).forEach((function(t){var e=t.id;"object"===Dn(e)&&_r((function(t,e){n[e]||(n[e]={exact:[],expand:0});var r=n[e];t&&t.wild?t.expand&&(r.expand+=1):-1===r.exact.indexOf(t)&&r.exact.push(t)}),e)}))})),_r((function(t){var e,r=t.exact,n=t.expand,o=r.slice().sort(zn);if(n)for(var i=0;i2&&void 0!==arguments[2])||arguments[2];r.addNode(t),r.addDependency(t,e),n&&(h[h.length-1].push(t),v[v.length-1].push(e))}return i.forEach((function(t){var e=t.outputs,n=t.inputs;function o(t,e){r.addNode(e),n.forEach((function(r){var n=r.id,o=r.property;"object"===Dn(n)?p(n,t).forEach((function(t){b(mo({id:t,property:o}),e)})):b(mo(r),e)}))}h.push([]),v.push([]);var i=Zn(e.length?e[0].id:void 0).matchKeys,u=$r((function(t){return!ro(t.id)}),e),l=zr({matchKeys:i,firstSingleOutput:u,outputs:e},t);e.forEach((function(t){var e=t.id,r=t.property,i=function(t,e){var r=t.id,n=t.property;return e.some((function(e){var o=e.id,i=e.property;if(n!==i||Dn(r)!==Dn(o))return!1;if("string"==typeof r){if(r===o)return!0}else if(Qn(e,[t]))return!0;return!1}))}(t,n);if("object"===Dn(e))p(e,{}).forEach((function(t){var e={id:t,property:r},n=mo(e);i&&(d.push(e),n+=y),o(t,n)})),Kn(s,e,r,l);else{var u=mo(t);i&&(d.push(t),u+=y),o({},u),Vn(a,e,r,l)}})),n.forEach((function(t){var e=t.id,r=t.property;"object"===Dn(e)?Kn(f,e,r,l):Vn(c,e,r,l)}))})),d.forEach((function(t){for(var e=mo(t),r=e.concat(y),n=0;nt.length)&&(e=t.length);for(var r=0,n=Array(e);r5&&void 0!==arguments[5])||arguments[5],u=[],a=mo({id:r,property:n});if("string"==typeof r){var c=(t.inputMap[r]||{})[n];if(!c)return[];c.forEach(io(Ao(),e,u))}else{var s=Object.keys(r).sort(),f=ye(s,r),l=s.join(","),p=(t.inputPatterns[l]||{})[n];if(!p)return[];p.forEach((function(t){to(s,f,t.values)&&t.callbacks.forEach(io(Ao(s,f,t.values),e,u))}))}return u.forEach((function(r){r.changedPropIds[a]=o||ho,i&&(r.priority=Oo(t,e,r))})),u}function Oo(t,e,r){for(var n=[r],o={},i={},u=[];n.length;){n=we((function(t){var e=i[t.resolvedId];return i[t.resolvedId]=!0,e}),n);var a=we((function(t){return!o[mo(t)]}),Ee(Re((function(t){return Ee(t.getOutputs(e))}),n)));a.forEach((function(t){return o[mo(t)]=!0})),(n=Ee(Re((function(r){var n=r.id,o=r.property;return go(t,e,n,o,vo,!1)}),a))).length&&u.push(n.length)}return u.unshift(u.length),Re((function(t){return Math.min(t,35).toString(36)}),u).join("")}var wo=function(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e,n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};if(!e.length)return[];var o=Re(mo,$e((function(e,r){return tr(e,Ee(r.getOutputs(t)))}),[],r)),i={};if(o.forEach((function(t){return i[t]=!0})),Object.keys(n).length){var u=Ee(Re((function(e){return function(t,e,r){for(var n=[r],o={};n.length;){var i=we((function(t){return!o[mo(t)]}),Ee(Re((function(t){return Ee(t.getOutputs(e))}),n)));o=$e((function(t,e){return Zt(mo(e),!0,t)}),o,i),n=Ee(Re((function(r){var n=r.id,o=r.property;return go(t,e,n,o,vo,!1)}),i))}return o}(n,t,e)}),r));u.length>0&&(i=Object.assign.apply(Object,[u[0]].concat(lo(u))))}return we((function(e){return ir((function(t){return!i[mo(t)]}),function(t,e){return t.filter((function(t){return!e.some((function(e){return mo(t)===mo(e)}))}))}(Ee(e.getInputs(t)),Ee(e.getOutputs(t))))}),e)},So=function(t,e,r,n){for(var o=[],i=function(t,e,r,n){var o=n.outputsOnly,i=n.removedArrayInputsOnly,u=n.newPaths,a=n.chunkPath,c={},s=[];function f(t){if(t){var e=c[t.resolvedId];if(void 0!==e){var r=s[e];r.changedPropIds=bo(r.changedPropIds,t.changedPropIds),t.initialCall&&(r.initialCall=!0)}else c[t.resolvedId]=s.length,s.push(t)}}function l(r,n,c){if(n)for(var s in n){var l=no(t,0,r,s);l&&(l.callback.prevent_initial_call||(l.initialCall=!0,f(l)))}if(!o&&c){var p=i?(h=Jn(r),function(t){return t.getInputs(e).some((function(e){return!(!Array.isArray(e)||!e.some((function(t){return Jn(t.id)===h}))||(Ee(t.getOutputs(u)).length&&(t.initialCall=!0,t.changedPropIds={},f(t)),0))}))}):f,y=p;for(var d in a&&(y=function(t){ir(en(a),cr("path",Ee(t.getOutputs(e))))||p(t)}),c)go(t,e,r,d,vo).forEach(y)}var h}return Sn(r,(function(e){var r=ne(["props","id"],e);if(r)if("string"!=typeof r||i){var n=Object.keys(r).sort().join(",");l(r,!i&&t.outputPatterns[n],t.inputPatterns[n])}else l(r,t.outputMap[r],t.inputMap[r])})),Re((function(r){return xn(xn({},r),{},{priority:Oo(t,e,r)})}),s)}(t,e,r,n);;){var u=fo(pr((function(t){var r=t.callback.inputs,n=t.getInputs;return ir(ro,r)||!ae(vr(Re(mo,Ee(n(e))),o))}),i),2),a=u[0],c=u[1];if(!c.length)break;i=a,o=tr(o,Re(mo,Ee(Re((function(t){return(0,t.getOutputs)(e)}),c))))}if(n.filterRoot){var s=ne(["props","id"],r);s&&(s=Jn(s),i=i.filter((function(t){return t.callback.inputs.reduce((function(t,e){return t||Jn(e.id)==s&&n.filterRoot.includes(e.property)}),!1)})))}var f=Math.random().toString(16);return Re((function(t){return co(co({},t),{},{executionGroup:f})}),i)},jo=function(t){var e=t.anyVals,r=t.callback,n=r.inputs,o=r.outputs,i=r.state;return tr(Re(mo,[].concat(lo(n),lo(o),lo(i))),Array.isArray(e)?e:""===e?[]:[e]).join(",")};function _o(t,e,r,n){return Ee(Re((function(e){return go(r,n,t,e)}),Ct(e)))}var Eo=function(t,e,r){return{callback:t,anyVals:r,resolvedId:t.output+r,getOutputs:function(r){return t.outputs.map(e(r))},getInputs:function(r){return t.inputs.map(e(r))},getState:function(r){return t.state.map(e(r))},changedPropIds:{},initialCall:!1}};function Po(t,e){var r=fo(pr((function(t){var r=t.getOutputs,n=t.callback.outputs;return Ee(r(e)).length===n.length}),t),2)[1],n=fo(pr((function(t){var r=t.getOutputs;return!Ee(r(e)).length}),r),2)[1];return{added:Re((function(t){return Zt("changedPropIds",br((function(t,r){return Pn(e,Hn(r).id)}),t.changedPropIds),t)}),n),removed:r}}function Ao(t,e,r){return function(n){return function(o){var i=o.id,u=o.property;if("string"==typeof i){var a=Pn(n,i);return a?[{id:i,property:u,path:a}]:[]}var c=Object.keys(i).sort(),s=ye(c,i),f=c.join(","),l=n.objs[f];if(!l)return[];var p=[];return l.forEach((function(n){var o=n.values,i=n.path;to(c,o,s,t,e,r)&&p.push({id:gr(c,o),property:u,path:i})})),p}}}var ko={ON_PROP_CHANGE:1,SET_REQUEST_QUEUE:1,SET_GRAPHS:1,SET_PATHS:1,SET_LAYOUT:1,SET_APP_LIFECYCLE:1,SET_CONFIG:1,ADD_HTTP_HEADERS:1,ON_ERROR:1,SET_HOOKS:1,INSERT_COMPONENT:1,REMOVE_COMPONENT:1},xo=function(t){if(ko[t])return t;throw new Error("".concat(t," is not defined."))};function To(t){var e={STARTED:"STARTED",HYDRATED:"HYDRATED",DESTROYED:"DESTROYED"};if(e[t])return e[t];throw new Error("".concat(t," is not a valid app state."))}var Io,Co,Ro=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:To("STARTED"),e=arguments.length>1?arguments[1]:void 0;return e.type===xo("SET_APP_LIFECYCLE")?To(e.payload):t};function Do(t){return Do="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Do(t)}function No(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Mo(t){for(var e=1;e1?arguments[1]:void 0;return $e((function(t,e){return null===e?t:e.type===Co.AddCompleted?function(t,e){return Mo(Mo({},t),{},{completed:t.completed+e.payload})}(t,e):function(t,e){var r=qo[e.type],n=Bo[e.type];return r&&n&&0!==e.payload.length?Mo(Mo({},t),{},{[n]:r(t[n],e.payload)}):t}(t,e)}),arguments.length>0&&void 0!==arguments[0]?arguments[0]:Lo,t.type===Co.Aggregate?t.payload:[t])},Fo=Ft((function t(e,r,n){return se((function(r,n,o){return oe(n)&&oe(o)?t(e,n,o):e(r,n,o)}),r,n)})),Ho=Fo,$o=Ot((function(t,e){return Ho((function(t,e,r){return r}),t,e)}));function Jo(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,e=arguments.length>1?arguments[1]:void 0;return e.type===xo("SET_CONFIG")?(window.__dashprivate_childrenProps=$o(window.__dashprivate_childrenProps||{},e.payload.children_props),e.payload):e.type===xo("ADD_HTTP_HEADERS")?$o(t,{fetch:{headers:e.payload}}):t}var zo={},Wo=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:zo,e=arguments.length>1?arguments[1]:void 0;return"SET_GRAPHS"===e.type?e.payload:t};function Vo(t){return function(t){if(Array.isArray(t))return Ko(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return Ko(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Ko(t,e):void 0}}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Ko(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r0&&void 0!==arguments[0]?arguments[0]:Yo,e=arguments.length>1?arguments[1]:void 0;switch(e.type){case"ON_ERROR":var r=t.frontEnd,n=t.backEnd,o=t.backEndConnected;return console.error(e.payload.error),"frontEnd"===e.payload.type?{frontEnd:[zr(e.payload,{timestamp:new Date})].concat(Vo(r)),backEnd:n,backEndConnected:o}:"backEnd"===e.payload.type?{frontEnd:r,backEnd:[zr(e.payload,{timestamp:new Date})].concat(Vo(n)),backEndConnected:o}:t;case"SET_CONNECTION_STATUS":return zr(t,{backEndConnected:e.payload});default:return t}}function Xo(t){return function(t){if(Array.isArray(t))return Zo(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return Zo(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Zo(t,e):void 0}}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Zo(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r0&&void 0!==arguments[0]?arguments[0]:ti;switch((arguments.length>1?arguments[1]:void 0).type){case"UNDO":var e=t.past,r=t.present,n=t.future,o=e[e.length-1];return{past:e.slice(0,e.length-1),present:o,future:[r].concat(Xo(n))};case"REDO":var i=t.past,u=t.present,a=t.future,c=a[0],s=a.slice(1);return{past:[].concat(Xo(i),[u]),present:c,future:s};case"REVERT":var f=t.past,l=t.future,p=f[f.length-1];return{past:f.slice(0,f.length-1),present:p,future:Xo(l)};default:return t}},ri=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{layout_pre:null,layout_post:null,request_pre:null,request_post:null,callback_resolved:null,request_refresh_jwt:null,bear:!1},e=arguments.length>1?arguments[1]:void 0;return"SET_HOOKS"===e.type?e.payload:t};function ni(t){return ni="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ni(t)}function oi(t,e,r){if(r||(r=new ui),o=ni(n=t),null==n||"object"!=o&&"function"!=o)return t;var n,o,i,u=function(n){var o=r.get(t);if(o)return o;for(var i in r.set(t,n),t)Object.prototype.hasOwnProperty.call(t,i)&&(n[i]=e?oi(t[i],!0,r):t[i]);return n};switch(Rt(t)){case"Object":return u(Object.create(Object.getPrototypeOf(t)));case"Array":return u(Array(t.length));case"Date":return new Date(t.valueOf());case"RegExp":return i=t,new RegExp(i.source,i.flags?i.flags:(i.global?"g":"")+(i.ignoreCase?"i":"")+(i.multiline?"m":"")+(i.sticky?"y":"")+(i.unicode?"u":"")+(i.dotAll?"s":""));case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"BigInt64Array":case"BigUint64Array":return t.slice();default:return t}}var ii,ui=function(){function t(){this.map={},this.length=0}return t.prototype.set=function(t,e){var r=this.hash(t),n=this.map[r];n||(this.map[r]=n=[]),n.push([t,e]),this.length+=1},t.prototype.hash=function(t){var e=[];for(var r in t)e.push(Object.prototype.toString.call(t[r]));return e.join()},t.prototype.get=function(t){if(this.length<=180){for(var e in this.map)for(var r=this.map[e],n=0;n0&&void 0!==arguments[0]?arguments[0]:di,e=arguments.length>1?arguments[1]:void 0;if("UPDATE_RESOURCE_USAGE"===e.type){var r=e.payload,n=r.id,o=r.usage,i=r.status,u=li[i]||i,a={updated:[n],resources:t.resources,callbacks:t.callbacks,graphLayout:t.graphLayout};a.callbacks[n]=a.callbacks[n]||ai(yi);var c=a.callbacks[n],s=c.resources,f=a.resources;if(c.count+=1,c.status.latest=u,c.status[u]=(c.status[u]||0)+1,c.result=e.payload.result,c.inputs=e.payload.inputs,c.state=e.payload.state,o){var l=o.__dash_client,p=o.__dash_server,y=o.__dash_upload,d=o.__dash_download,h=function(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)return{};var r={};for(var n in t)if({}.hasOwnProperty.call(t,n)){if(-1!==e.indexOf(n))continue;r[n]=t[n]}return r}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n0&&void 0!==arguments[0]?arguments[0]:vi};!function(t){t.Set="IsLoading.Set"}(ii||(ii={}));var mi=function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],e=arguments.length>1?arguments[1]:void 0;return e.type===ii.Set?e.payload:t},gi=function(t){return{value:t,"fantasy-land/map":function(){return this}}},Oi=Ot((function(t,e){return t(gi)(e).value})),wi=Ot((function(t,e){return function(r){return function(n){return Re((function(t){return e(t,n)}),r(t(n)))}}})),Si=nt((function(t){return wi((function(e){return zt(t,e)}),Xt(t))})),ji=Ft((function(t,e,r){var n=Array.prototype.slice.call(r,0);return n.splice(t,e),n})),_i=Ot((function t(e,r){if(null==r)return r;switch(e.length){case 0:return r;case 1:return function(t,e){if(null==e)return e;if(Ht(t)&&Kt(e))return ji(t,1,e);var r={};for(var n in e)r[n]=e[n];return delete r[t],r}(e[0],r);default:var n=e[0],o=Array.prototype.slice.call(e,1);return null==r[n]?function(t,e){if(Ht(t)&&Kt(e))return[].concat(e);var r={};for(var n in e)r[n]=e[n];return r}(n,r):Zt(n,t(o,r[n]),r)}}));function Ei(t){return Ei="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ei(t)}function Pi(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Ai(t,e,r){return(e=function(t){var e=function(t){if("object"!=Ei(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var r=e.call(t,"string");if("object"!=Ei(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==Ei(e)?e:e+""}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function ki(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r0&&void 0!==arguments[0]?arguments[0]:{components:[]},r=arguments.length>1?arguments[1]:void 0;if(r.type===xo("SET_LAYOUT"))return Array.isArray(r.payload)?e.components=function(t){if(Array.isArray(t))return ki(t)}(t=r.payload)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return ki(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?ki(t,e):void 0}}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}():e.components=function(t){for(var e=1;e0&&void 0!==arguments[0]?arguments[0]:Ti,e=arguments.length>1?arguments[1]:void 0;return e.type===xo("SET_PATHS")?e.payload:t},Ci=Ot((function(t,e){return _i([t],e)}));function Ri(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;switch(e.type){case"ADD_CALLBACK_JOB":return function(t,e){return Zt(t.jobId,t,e)}(e.payload,t);case"REMOVE_CALLBACK_JOB":return function(t,e){return Ci(t,e)}(e.payload.jobId,t);case"CALLBACK_JOB_OUTDATED":return function(t,e){return Xt([t,"outdated"],!0,e)}(e.payload.jobId,t);default:return t}}function Di(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;switch(e.type){case"LOADED":return e.payload.reduce((function(t,e){var r=[JSON.stringify(e.path)],n=Vt([],r,t);return Xt(r,n.filter((function(t){return t.property!==e.property})),t)}),t);case"LOADING":return e.payload.reduce((function(t,e){var r=[JSON.stringify(e.path)],n=Vt([],r,t);return Gt(e,n)||n.push(e),Xt(r,n,t)}),t);default:return t}}var Ni=Ot((function(t,e){return Ie(t+1,(function(){var r=arguments[t];if(null!=r&&Je(r[e]))return r[e].apply(r,Array.prototype.slice.call(arguments,0,t));throw new TypeError(Ze(r)+' does not have a method named "'+e+'"')}))})),Mi=Ni(1,"join");function Ui(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);rt.length)&&(e=t.length);for(var r=0,n=Array(e);r0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;if(Gt(e.type,["UNDO_PROP_CHANGE","REDO_PROP_CHANGE","ON_PROP_CHANGE"])){var r=Bi(e.payload.itempath),n=Vt(0,[r,"hash"],t);t=Zt(r,{hash:n+1,changedProps:e.payload.props,renderType:e.payload.renderType},t)}return t};function Ji(){var t={appLifecycle:Ro,callbacks:Go,config:Jo,error:Qo,graphs:Wo,history:ei,hooks:ri,profile:hi,changed:bi,isLoading:mi,layout:xi,paths:Ii,layoutHashes:$i,loading:Di};return re((function(e){var r;t[e]=(r=e,function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0,n=t;if(e.type===r){var o=e.payload,i=o.id,u={status:o.status,content:o.content};n=Array.isArray(i)?Xt(i,u,t):i?Zt(i,u,t):zr(t,u)}return n})}),Hi),t.callbackJobs=Ri,function(t){for(var e=Object.keys(t),r={},n=0;n1?r-1:0),o=1;ot.length)&&(e=t.length);for(var r=0,n=Array(e);r3?(o=d===n)&&(c=i[(a=i[4])?5:(a=3,3)],i[4]=i[5]=t):i[0]<=y&&((o=r<2&&yn||n>d)&&(i[4]=r,i[5]=n,p.n=d,a=0))}if(o||r>1)return u;throw l=!0,n}return function(o,f,d){if(s>1)throw TypeError("Generator is already running");for(l&&1===f&&y(f,d),a=f,c=d;(e=a<2?t:c)||!l;){i||(a?a<3?(a>1&&(p.n=-1),y(a,c)):p.n=c:p.v=c);try{if(s=2,i){if(a||(o="next"),e=i[o]){if(!(e=e.call(i,c)))throw TypeError("iterator result is not an object");if(!e.done)return e;c=e.value,a<2&&(a=0)}else 1===a&&(e=i.return)&&e.call(i),a<2&&(c=TypeError("The iterator does not provide a '"+o+"' method"),a=1);i=t}else if((e=(l=p.n<0)?c:r.call(n,p))!==u)break}catch(e){i=t,a=1,c=e}finally{s=1}}return{value:e,done:l}}}(r,o,i),!0),s}var u={};function a(){}function c(){}function s(){}e=Object.getPrototypeOf;var f=[][n]?e(e([][n]())):(qu(e={},n,(function(){return this})),e),l=s.prototype=a.prototype=Object.create(f);function p(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,s):(t.__proto__=s,qu(t,o,"GeneratorFunction")),t.prototype=Object.create(l),t}return c.prototype=s,qu(l,"constructor",s),qu(s,"constructor",c),c.displayName="GeneratorFunction",qu(s,o,"GeneratorFunction"),qu(l),qu(l,o,"Generator"),qu(l,n,(function(){return this})),qu(l,"toString",(function(){return"[object Generator]"})),(Lu=function(){return{w:i,m:p}})()}function qu(t,e,r,n){var o=Object.defineProperty;try{o({},"",{})}catch(t){o=0}qu=function(t,e,r,n){if(e)o?o(t,e,{value:r,enumerable:!n,configurable:!n,writable:!n}):t[e]=r;else{var i=function(e,r){qu(t,e,(function(t){return this._invoke(e,r,t)}))};i("next",0),i("throw",1),i("return",2)}},qu(t,e,r,n)}function Bu(t,e,r,n,o,i,u){try{var a=t[i](u),c=a.value}catch(t){return void r(t)}a.done?e(c):Promise.resolve(c).then(n,o)}var Gu=su(xo("ON_ERROR")),Fu=su(xo("SET_APP_LIFECYCLE")),Hu=su(xo("SET_CONFIG")),$u=su(xo("ADD_HTTP_HEADERS")),Ju=su(xo("SET_GRAPHS")),zu=su(xo("SET_HOOKS")),Wu=su(xo("SET_LAYOUT")),Vu=su(xo("SET_PATHS")),Ku=(su(xo("SET_REQUEST_QUEUE")),su(xo("INSERT_COMPONENT"))),Yu=su(xo("REMOVE_COMPONENT")),Qu=su(xo("ON_PROP_CHANGE"));function Xu(t){return function(e,r){!function(t,e,r){var n=Du(t),o=n.canPersist,i=n.id,u=n.props,a=n.element,c=n.persistence,s=n.persisted_props,f=n.persistence_type,l=void 0!==(null==e?void 0:e.persistence)&&e.persistence!==c;o&&c&&!l&&re((function(t){var n=hu(t.split("."),2),o=n[0],s=n[1];if(void 0!==e[o]){var l=Tu(f,r),p=Cu(a,o,s).extract,y=Ru(i,t,c),d=p(u[o]),h=p(e[o]);if(d!==h){l.hasItem(y)&&(d=l.getItem(y)[1]);var v=void 0===d?[h]:[h,d];l.setItem(y,v,r)}}}),s)}(ne(t.itempath,r().layout),t.props,e),e(Qu(t))}}var Zu=function(t){return function(e,r){return t(Gu({type:"backEnd",error:{message:e,html:r.join("\n")}}))}};var ta=it(console.warn);function ea(){try{return{"X-CSRFToken":fu.qg(document.cookie)._csrf_token}}catch(t){return ta(t),{}}}var ra=ia("REDO"),na=ia("UNDO"),oa=ia("REVERT");function ia(t){return function(e,r){var n=r(),o=n.history,i=n.paths;e(su(t)());var u=("REDO"===t?o.future[0]:o.past[o.past.length-1])||{},a=u.id,c=u.props;a&&(e(su("UNDO_PROP_CHANGE")({itempath:Pn(i,a),props:c})),e(ua({id:a,props:c})))}}function ua(t){var e=t.id,r=t.props;return function(){var t,n=(t=Lu().m((function t(n,o){var i,u,a;return Lu().w((function(t){for(;;)switch(t.n){case 0:i=o(),u=i.graphs,a=i.paths,n(tc(_o(e,r,u,a)));case 1:return t.a(2)}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function u(t){Bu(i,n,o,u,a,"next",t)}function a(t){Bu(i,n,o,u,a,"throw",t)}u(void 0)}))});return function(t,e){return n.apply(this,arguments)}}()}function aa(t,e,r){if(t&&"function"==typeof t.text)t.text().then((function(t){r(Gu({type:"backEnd",error:{message:e,html:t}}))}));else{var n=t instanceof Error?t:{message:e,html:t};r(Gu({type:"backEnd",error:n}))}}function ca(t){return ca="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ca(t)}var sa=Ot((function(t,e){return e instanceof t||null!=e&&(e.constructor===t||"Object"===t.name&&"object"===ca(e))})),fa=Ot((function(t,e){return Mr([t],e)})),la=nt((function(t){return $t(t)?t.split("").reverse().join(""):Array.prototype.slice.call(t,0).reverse()}));function pa(t){return pa="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},pa(t)}function ya(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function da(t){for(var e=1;e3?(o=d===n)&&(c=i[(a=i[4])?5:(a=3,3)],i[4]=i[5]=t):i[0]<=y&&((o=r<2&&yn||n>d)&&(i[4]=r,i[5]=n,p.n=d,a=0))}if(o||r>1)return u;throw l=!0,n}return function(o,f,d){if(s>1)throw TypeError("Generator is already running");for(l&&1===f&&y(f,d),a=f,c=d;(e=a<2?t:c)||!l;){i||(a?a<3?(a>1&&(p.n=-1),y(a,c)):p.n=c:p.v=c);try{if(s=2,i){if(a||(o="next"),e=i[o]){if(!(e=e.call(i,c)))throw TypeError("iterator result is not an object");if(!e.done)return e;c=e.value,a<2&&(a=0)}else 1===a&&(e=i.return)&&e.call(i),a<2&&(c=TypeError("The iterator does not provide a '"+o+"' method"),a=1);i=t}else if((e=(l=p.n<0)?c:r.call(n,p))!==u)break}catch(e){i=t,a=1,c=e}finally{s=1}}return{value:e,done:l}}}(r,o,i),!0),s}var u={};function a(){}function c(){}function s(){}e=Object.getPrototypeOf;var f=[][n]?e(e([][n]())):(wa(e={},n,(function(){return this})),e),l=s.prototype=a.prototype=Object.create(f);function p(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,s):(t.__proto__=s,wa(t,o,"GeneratorFunction")),t.prototype=Object.create(l),t}return c.prototype=s,wa(l,"constructor",s),wa(s,"constructor",c),c.displayName="GeneratorFunction",wa(s,o,"GeneratorFunction"),wa(l),wa(l,o,"Generator"),wa(l,n,(function(){return this})),wa(l,"toString",(function(){return"[object Generator]"})),(Oa=function(){return{w:i,m:p}})()}function wa(t,e,r,n){var o=Object.defineProperty;try{o({},"",{})}catch(t){o=0}wa=function(t,e,r,n){if(e)o?o(t,e,{value:r,enumerable:!n,configurable:!n,writable:!n}):t[e]=r;else{var i=function(e,r){wa(t,e,(function(t){return this._invoke(e,r,t)}))};i("next",0),i("throw",1),i("return",2)}},wa(t,e,r,n)}function Sa(t,e,r,n,o,i,u){try{var a=t[i](u),c=a.value}catch(t){return void r(t)}a.done?e(c):Promise.resolve(c).then(n,o)}var ja=it(console.warn),_a={GET:function(t,e){return fetch(t,$o(e,{method:"GET",headers:ea()}))},POST:function(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return fetch(t,$o(e,{method:"POST",headers:ea(),body:r?JSON.stringify(r):null}))}};function Ea(t,e,r,n,o){return function(){var i,u=(i=Oa().m((function i(u,a){var c,s,f,l,p,y,d,h,v,b,m;return Oa().w((function(i){for(;;)switch(i.n){case 0:y=function(t){a().error.backEndConnected!==t&&u({type:"SET_CONNECTION_STATUS",payload:t})},c=a(),s=c.config,f=c.hooks,l=null,p="".concat(On(s)).concat(t),u({type:r,payload:{id:n,status:"loading"}}),i.p=1,h=0;case 2:if(!(h<=1)){i.n=11;break}return i.p=3,i.n=4,_a[e](p,s.fetch,o);case 4:d=i.v,i.n=6;break;case 5:return i.p=5,i.v,console.log("fetch error",d),y(!1),i.a(2);case 6:if(401!==d.status&&400!==d.status){i.n=9;break}if(!f.request_refresh_jwt){i.n=9;break}return i.n=7,d.text();case 7:if(!i.v.includes(ci)){i.n=9;break}return i.n=8,f.request_refresh_jwt(s.fetch.headers.Authorization.substr(7));case 8:if(!(v=i.v)){i.n=9;break}return l={Authorization:"Bearer ".concat(v)},s=$o(s,{fetch:{headers:l}}),i.a(3,10);case 9:return i.a(3,11);case 10:h++,i.n=2;break;case 11:if(b=d.headers.get("content-type"),l&&u($u(l)),y(!0),!b||-1===b.indexOf("application/json")){i.n=12;break}return i.a(2,d.json().then((function(t){return u({type:r,payload:{status:d.status,content:t,id:n}}),t})));case 12:return i.n=13,d.text();case 13:return m=i.v,ja("Response is missing header: content-type: application/json"),i.a(2,u({type:r,payload:{id:n,status:d.status,content:m}}));case 14:i.p=14,aa(i.v,"Error from API call: "+t,u);case 15:return i.a(2)}}),i,null,[[3,5],[1,14]])})),function(){var t=this,e=arguments;return new Promise((function(r,n){var o=i.apply(t,e);function u(t){Sa(o,r,n,u,a,"next",t)}function a(t){Sa(o,r,n,u,a,"throw",t)}u(void 0)}))});return function(t,e){return u.apply(this,arguments)}}()}function Pa(t){return Pa="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Pa(t)}function Aa(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function ka(t){for(var e=1;et.length)&&(e=t.length);for(var r=0,n=Array(e);r=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}}}throw new TypeError(Ma(t)+" is not iterable")}function La(){var t,e,r="function"==typeof Symbol?Symbol:{},n=r.iterator||"@@iterator",o=r.toStringTag||"@@toStringTag";function i(r,n,o,i){var c=n&&n.prototype instanceof a?n:a,s=Object.create(c.prototype);return qa(s,"_invoke",function(r,n,o){var i,a,c,s=0,f=o||[],l=!1,p={p:0,n:0,v:t,a:y,f:y.bind(t,4),d:function(e,r){return i=e,a=0,c=t,p.n=r,u}};function y(r,n){for(a=r,c=n,e=0;!l&&s&&!o&&e3?(o=d===n)&&(c=i[(a=i[4])?5:(a=3,3)],i[4]=i[5]=t):i[0]<=y&&((o=r<2&&yn||n>d)&&(i[4]=r,i[5]=n,p.n=d,a=0))}if(o||r>1)return u;throw l=!0,n}return function(o,f,d){if(s>1)throw TypeError("Generator is already running");for(l&&1===f&&y(f,d),a=f,c=d;(e=a<2?t:c)||!l;){i||(a?a<3?(a>1&&(p.n=-1),y(a,c)):p.n=c:p.v=c);try{if(s=2,i){if(a||(o="next"),e=i[o]){if(!(e=e.call(i,c)))throw TypeError("iterator result is not an object");if(!e.done)return e;c=e.value,a<2&&(a=0)}else 1===a&&(e=i.return)&&e.call(i),a<2&&(c=TypeError("The iterator does not provide a '"+o+"' method"),a=1);i=t}else if((e=(l=p.n<0)?c:r.call(n,p))!==u)break}catch(e){i=t,a=1,c=e}finally{s=1}}return{value:e,done:l}}}(r,o,i),!0),s}var u={};function a(){}function c(){}function s(){}e=Object.getPrototypeOf;var f=[][n]?e(e([][n]())):(qa(e={},n,(function(){return this})),e),l=s.prototype=a.prototype=Object.create(f);function p(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,s):(t.__proto__=s,qa(t,o,"GeneratorFunction")),t.prototype=Object.create(l),t}return c.prototype=s,qa(l,"constructor",s),qa(s,"constructor",c),c.displayName="GeneratorFunction",qa(s,o,"GeneratorFunction"),qa(l),qa(l,o,"Generator"),qa(l,n,(function(){return this})),qa(l,"toString",(function(){return"[object Generator]"})),(La=function(){return{w:i,m:p}})()}function qa(t,e,r,n){var o=Object.defineProperty;try{o({},"",{})}catch(t){o=0}qa=function(t,e,r,n){if(e)o?o(t,e,{value:r,enumerable:!n,configurable:!n,writable:!n}):t[e]=r;else{var i=function(e,r){qa(t,e,(function(t){return this._invoke(e,r,t)}))};i("next",0),i("throw",1),i("return",2)}},qa(t,e,r,n)}function Ba(t,e,r,n,o,i,u){try{var a=t[i](u),c=a.value}catch(t){return void r(t)}a.done?e(c):Promise.resolve(c).then(n,o)}function Ga(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function u(t){Ba(i,n,o,u,a,"next",t)}function a(t){Ba(i,n,o,u,a,"throw",t)}u(void 0)}))}}function Fa(t){return function(t){if(Array.isArray(t))return Ja(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||$a(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Ha(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,u,a=[],c=!0,s=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=i.call(r)).done)&&(a.push(n.value),a.length!==e);c=!0);}catch(t){s=!0,o=t}finally{try{if(!c&&null!=r.return&&(u=r.return(),Object(u)!==u))return}finally{if(s)throw o}}return a}}(t,e)||$a(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function $a(t,e){if(t){if("string"==typeof t)return Ja(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Ja(t,e):void 0}}function Ja(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r5&&void 0!==arguments[5]&&arguments[5],u="Input"===o?r.getInputs:r.getState,a=[],c=0,s=u(t).map((function(i,u){var s=Ha(hc(t,i.map((function(t){var r=t.id,n=t.property,o=t.path;return{id:r,property:n,value:ne([].concat(Fa(o),["props",n]),e)}})),n[u],r.anyVals,o),2),f=s[0],l=s[1];return ro(n[u])&&!f.length&&c++,l&&a.push(l),f}));if(a.length){if(i&&a.length+c===s.length)return null;bc(a,t)}return s}function bc(t,e){var r=t[0];throw-1!==r.indexOf("logged above")&&console.error(e.objs),new ReferenceError(r)}var mc=function(t){return Array.isArray(t)?cr("value",t):t.value},gc=function(t,e){return Array.isArray(t)?Er(t,e):[[t,e]]};function Oc(t){return t.split("@")[0]}function wc(t,e,r,n){return Sc.apply(this,arguments)}function Sc(){return Sc=Ga(La().m((function t(e,r,n,o){var i,u,a,c,s,f,l,p,y,d,h,v,b,m,g,O,w,S;return La().w((function(t){for(;;)switch(t.n){case 0:if((i=window.dash_clientside=window.dash_clientside||{}).no_update||(Object.defineProperty(i,"no_update",{value:{description:"Return to prevent updating an Output."},writable:!1}),Object.defineProperty(i,"PreventUpdate",{value:{description:"Throw to prevent updating all Outputs."},writable:!1})),u=o.inputs,a=o.outputs,c=o.state,s=Date.now(),f=Ec(u),l=Ec(c),p={},y=si,t.p=1,v=r.namespace,b=r.function_name,m=u.map(mc),c&&(m=tr(m,c.map(mc))),i.callback_context={},i.callback_context.triggered=o.changedPropIds.map((function(t){return{prop_id:t,value:f[t]}})),i.callback_context.triggered_id=Pc(o.changedPropIds),i.callback_context.inputs_list=u,i.callback_context.inputs=f,i.callback_context.states_list=c,i.callback_context.states=l,i.callback_context.outputs_list=a,g=(d=i[v])[b].apply(d,Fa(m)),delete i.callback_context,"function"!=typeof(null===(h=g)||void 0===h?void 0:h.then)){t.n=3;break}return t.n=2,g;case 2:g=t.v;case 3:a&&gc(a,g).forEach((function(t){var e=Ha(t,2),r=e[0],n=e[1];gc(r,n).forEach((function(t){var e=Ha(t,2),r=e[0],n=e[1],o=r.id,u=r.property,a=Jn(o),c=p[a]=p[a]||{};n!==i.no_update&&(c[Oc(u)]=n)}))})),t.n=6;break;case 4:if(t.p=4,(S=t.v)!==i.PreventUpdate){t.n=5;break}y=204,t.n=6;break;case 5:throw y="CLIENTSIDE_ERROR",S;case 6:return t.p=6,delete i.callback_context,O=Date.now()-s,w={__dash_server:O,__dash_client:O,__dash_upload:0,__dash_download:0},n.ui&&e(lc({id:o.output,usage:w,status:y,result:p,inputs:u,state:c})),t.f(6);case 7:return t.a(2,p)}}),t,null,[[1,4,6,7]])}))),Sc.apply(this,arguments)}function jc(t,e){return function(r,n){ru(t).reduce((function(t,r,o){var i,u=Ha(r,2),a=u[0],c=u[1],s=a,f=[];if(a.startsWith("{")){var l=Ha(Ca(a),2);s=l[0],i=l[1],f=function(t,e,r,n){var o=[],i={};return ru(t).forEach((function(u){var a,c,s=(c=2,function(t){if(Array.isArray(t))return t}(a=u)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,u,a=[],c=!0,s=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=i.call(r)).done)&&(a.push(n.value),a.length!==e);c=!0);}catch(t){s=!0,o=t}finally{try{if(!c&&null!=r.return&&(u=r.return(),Object(u)!==u))return}finally{if(s)throw o}}return a}}(a,c)||function(t,e){if(t){if("string"==typeof t)return Ia(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Ia(t,e):void 0}}(a,c)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),f=s[0],l=s[1];if(!o.length)if(Array.isArray(l)){var p=(e.parsedChangedPropsIds[r]||e.parsedChangedPropsIds[0])[f];l.includes("MATCH")?i[f]=p:l.includes("ALL")?o=Ra(t,n(),f):l.includes("ALLSMALLER")&&(o=Ra(t,n(),f).filter((function(t){return t[f]t.length)&&(e=t.length);for(var r=0,n=Array(e);r3&&void 0!==arguments[3]&&arguments[3],c=En(t,i,r().paths);e(Vu(c)),o=tr(o,So(f,c,t,{chunkPath:i,filterRoot:a}).map((function(t){return Tc(Tc({},t),{},{predecessors:u})}))),o=tr(o,So(f,p,n,{removedArrayInputsOnly:!0,newPaths:c,chunkPath:i,filterRoot:a}).map((function(t){return Tc(Tc({},t),{},{predecessors:u})})))},m=!1;["children"].concat(v).forEach((function(t){if(!m)if(t.includes("[]")){var e=Cc(t.split("[]").map((function(t){return t.split(".").filter((function(t){return t}))})),1)[0];if(!ne(e,y))return;b(Tc(Tc({},h),{},{props:Tc(Tc({},h.props),y)}),h,d,Ct(y)),m=!0}else{var r=t.split("."),n=ne(r,y);if(!n)return;var o=tr(Pn(p,c),["props"].concat(r)),i=ne(o,l);b(n,i,o)}}));var g=br((function(t,e){return!(e in a)}),y);if(!ae(g)){var O=r(),w=O.graphs,S=O.paths;o=tr(o,_o(i,g,w,S).map((function(t){return Tc(Tc({},t),{},{predecessors:u})})))}}})),i.push(Tc(Tc({},t),{},{executionMeta:{allProps:Re(mo,Ee(t.getOutputs(r().paths))),updatedProps:Ee(Re((function(t){var e=Cc(t,2),r=e[0],n=e[1];return Re((function(t){return mo({id:r,property:t})}),Ct(n))}),ru(l)))}}))),void 0!==p){var d;if(t.callback.no_output){var h=Ct(t.changedPropIds).join(", ");d="Callback error with no output from input ".concat(h)}else{var v=y?Re(mo,Ee([y.outputs])).join(", "):s;d="Callback error updating ".concat(v)}if(c){var b=c.namespace,m=c.function_name;d+=" via clientside function ".concat(b,".").concat(m)}aa(p,d,e),i.push(Tc(Tc({},t),{},{executionMeta:{allProps:Re(mo,Ee(t.getOutputs(r().paths))),updatedProps:[]}}))}}})),e(fc([n.length?nc(n):null,n.length?Ya(n.length):null,i.length?ec(i):null,o.length?tc(o):null]))},inputs:["callbacks.executed"]},Nc=Dc;function Mc(t){return Mc="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Mc(t)}function Uc(){var t,e,r="function"==typeof Symbol?Symbol:{},n=r.iterator||"@@iterator",o=r.toStringTag||"@@toStringTag";function i(r,n,o,i){var c=n&&n.prototype instanceof a?n:a,s=Object.create(c.prototype);return Lc(s,"_invoke",function(r,n,o){var i,a,c,s=0,f=o||[],l=!1,p={p:0,n:0,v:t,a:y,f:y.bind(t,4),d:function(e,r){return i=e,a=0,c=t,p.n=r,u}};function y(r,n){for(a=r,c=n,e=0;!l&&s&&!o&&e3?(o=d===n)&&(c=i[(a=i[4])?5:(a=3,3)],i[4]=i[5]=t):i[0]<=y&&((o=r<2&&yn||n>d)&&(i[4]=r,i[5]=n,p.n=d,a=0))}if(o||r>1)return u;throw l=!0,n}return function(o,f,d){if(s>1)throw TypeError("Generator is already running");for(l&&1===f&&y(f,d),a=f,c=d;(e=a<2?t:c)||!l;){i||(a?a<3?(a>1&&(p.n=-1),y(a,c)):p.n=c:p.v=c);try{if(s=2,i){if(a||(o="next"),e=i[o]){if(!(e=e.call(i,c)))throw TypeError("iterator result is not an object");if(!e.done)return e;c=e.value,a<2&&(a=0)}else 1===a&&(e=i.return)&&e.call(i),a<2&&(c=TypeError("The iterator does not provide a '"+o+"' method"),a=1);i=t}else if((e=(l=p.n<0)?c:r.call(n,p))!==u)break}catch(e){i=t,a=1,c=e}finally{s=1}}return{value:e,done:l}}}(r,o,i),!0),s}var u={};function a(){}function c(){}function s(){}e=Object.getPrototypeOf;var f=[][n]?e(e([][n]())):(Lc(e={},n,(function(){return this})),e),l=s.prototype=a.prototype=Object.create(f);function p(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,s):(t.__proto__=s,Lc(t,o,"GeneratorFunction")),t.prototype=Object.create(l),t}return c.prototype=s,Lc(l,"constructor",s),Lc(s,"constructor",c),c.displayName="GeneratorFunction",Lc(s,o,"GeneratorFunction"),Lc(l),Lc(l,o,"Generator"),Lc(l,n,(function(){return this})),Lc(l,"toString",(function(){return"[object Generator]"})),(Uc=function(){return{w:i,m:p}})()}function Lc(t,e,r,n){var o=Object.defineProperty;try{o({},"",{})}catch(t){o=0}Lc=function(t,e,r,n){if(e)o?o(t,e,{value:r,enumerable:!n,configurable:!n,writable:!n}):t[e]=r;else{var i=function(e,r){Lc(t,e,(function(t){return this._invoke(e,r,t)}))};i("next",0),i("throw",1),i("return",2)}},Lc(t,e,r,n)}function qc(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Bc(t){for(var e=1;et.length)&&(e=t.length);for(var r=0,n=Array(e);rt.length)&&(e=t.length);for(var r=0,n=Array(e);r3?(o=d===n)&&(c=i[(a=i[4])?5:(a=3,3)],i[4]=i[5]=t):i[0]<=y&&((o=r<2&&yn||n>d)&&(i[4]=r,i[5]=n,p.n=d,a=0))}if(o||r>1)return u;throw l=!0,n}return function(o,f,d){if(s>1)throw TypeError("Generator is already running");for(l&&1===f&&y(f,d),a=f,c=d;(e=a<2?t:c)||!l;){i||(a?a<3?(a>1&&(p.n=-1),y(a,c)):p.n=c:p.v=c);try{if(s=2,i){if(a||(o="next"),e=i[o]){if(!(e=e.call(i,c)))throw TypeError("iterator result is not an object");if(!e.done)return e;c=e.value,a<2&&(a=0)}else 1===a&&(e=i.return)&&e.call(i),a<2&&(c=TypeError("The iterator does not provide a '"+o+"' method"),a=1);i=t}else if((e=(l=p.n<0)?c:r.call(n,p))!==u)break}catch(e){i=t,a=1,c=e}finally{s=1}}return{value:e,done:l}}}(r,o,i),!0),s}var u={};function a(){}function c(){}function s(){}e=Object.getPrototypeOf;var f=[][n]?e(e([][n]())):(ns(e={},n,(function(){return this})),e),l=s.prototype=a.prototype=Object.create(f);function p(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,s):(t.__proto__=s,ns(t,o,"GeneratorFunction")),t.prototype=Object.create(l),t}return c.prototype=s,ns(l,"constructor",s),ns(s,"constructor",c),c.displayName="GeneratorFunction",ns(s,o,"GeneratorFunction"),ns(l),ns(l,o,"Generator"),ns(l,n,(function(){return this})),ns(l,"toString",(function(){return"[object Generator]"})),(rs=function(){return{w:i,m:p}})()}function ns(t,e,r,n){var o=Object.defineProperty;try{o({},"",{})}catch(t){o=0}ns=function(t,e,r,n){if(e)o?o(t,e,{value:r,enumerable:!n,configurable:!n,writable:!n}):t[e]=r;else{var i=function(e,r){ns(t,e,(function(t){return this._invoke(e,r,t)}))};i("next",0),i("throw",1),i("return",2)}},ns(t,e,r,n)}function os(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function is(t){for(var e=1;et.length)&&(e=t.length);for(var r=0,n=Array(e);r(null!==(n=e.priority)&&void 0!==n?n:"")?-1:1},ys=function(t,e){var r=(0,t.getOutputs)(e),n=Ee(r),o=[],i={};return n.forEach((function(t){var e=t.id,r=t.property,n=Jn(e);(i[n]=i[n]||[]).push(r),o.push(mo({id:n,property:r}))})),{allOutputs:r,allPropIds:o}},ds=function(t,e){var r=[].concat(ss(Ee(t.getInputs(e))),ss(Ee(t.getState(e)))),n=new Map(r.map((function(t){return[Jn(t.id),t]})));return Array.from(n.values())},hs={observer:function(){var t=cs(rs().m((function t(e){var r,n,o,i,u,a,c,s,f,l,p,y,d,h,v,b,m,g,O,w,S;return rs().w((function(t){for(;;)switch(t.n){case 0:if(r=e.dispatch,n=e.getState,o=n(),i=o.callbacks,u=i.executing,a=i.watched,c=o.config,s=o.hooks,f=o.layout,l=o.paths,p=o.appLifecycle,y=n(),d=y.callbacks.prioritized,p===To("HYDRATED")){t.n=1;break}return t.a(2);case 1:h=Math.max(0,12-u.length-a.length),d=Xc(ps,d),v=pr((function(t){return!0===ts(f,l,ds(t,l))}),d),_=2,b=function(t){if(Array.isArray(t))return t}(j=v)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,u,a=[],c=!0,s=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=i.call(r)).done)&&(a.push(n.value),a.length!==e);c=!0);}catch(t){s=!0,o=t}finally{try{if(!c&&null!=r.return&&(u=r.return(),Object(u)!==u))return}finally{if(s)throw o}}return a}}(j,_)||fs(j,_)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),m=b[0],g=b[1],O=m.slice(0,h),w=g.slice(0,h-O.length),O.length&&r(fc([uc(O),Xa(Re((function(t){return Ac(t,c,s,l,f,ys(t,l),r,n)}),O))])),w.length&&(S=Re((function(t){return is(is(is({},t),ys(t,l)),{},{isReady:ts(f,l,ds(t,l))})}),w),r(fc([uc(w),Ka(S)])),S.forEach(function(){var t=cs(rs().m((function t(e){var o,i,u;return rs().w((function(t){for(;;)switch(t.n){case 0:return t.n=1,e.isReady;case 1:if(o=n(),i=o.callbacks.blocked,cn((function(t){return t===e||t.isReady===e.isReady}),i)){t.n=2;break}return t.a(2);case 2:u=Ac(e,c,s,l,f,e,r,n),r(fc([oc([e]),Xa([u])]));case 3:return t.a(2)}}),t)})));return function(e){return t.apply(this,arguments)}}()));case 2:return t.a(2)}var j,_}),t)})));return function(e){return t.apply(this,arguments)}}(),inputs:["callbacks.prioritized","callbacks.completed"]},vs=hs,bs=function(){function t(t,e,r,n){this.valueFn=t,this.valueAcc=e,this.keyFn=r,this.xf=n,this.inputs={}}return t.prototype["@@transducer/init"]=be,t.prototype["@@transducer/result"]=function(t){var e;for(e in this.inputs)if(jt(e,this.inputs)&&(t=this.xf["@@transducer/step"](t,this.inputs[e]))["@@transducer/reduced"]){t=t["@@transducer/value"];break}return this.inputs=null,this.xf["@@transducer/result"](t)},t.prototype["@@transducer/step"]=function(t,e){var r=this.keyFn(e);return this.inputs[r]=this.inputs[r]||[r,oi(this.valueAcc,!1)],this.inputs[r][1]=this.valueFn(this.inputs[r][1],e),t},t}();function ms(t,e,r){return function(n){return new bs(t,e,r,n)}}var gs=Ot(te("groupBy",xe(4,[],he([],ms,(function(t,e,r,n){var o=He((function(n,o){var i=r(o),u=t(jt(i,n)?n[i]:oi(e,!1),o);return u&&u["@@transducer/reduced"]?er(n):(n[i]=u,n)}));return Ge(o,{},n)})))((function(t,e){return t.push(e),t}),[]))),Os=Ot((function(t,e){return Jr({},e,t)}));function ws(){var t,e,r="function"==typeof Symbol?Symbol:{},n=r.iterator||"@@iterator",o=r.toStringTag||"@@toStringTag";function i(r,n,o,i){var c=n&&n.prototype instanceof a?n:a,s=Object.create(c.prototype);return Ss(s,"_invoke",function(r,n,o){var i,a,c,s=0,f=o||[],l=!1,p={p:0,n:0,v:t,a:y,f:y.bind(t,4),d:function(e,r){return i=e,a=0,c=t,p.n=r,u}};function y(r,n){for(a=r,c=n,e=0;!l&&s&&!o&&e3?(o=d===n)&&(c=i[(a=i[4])?5:(a=3,3)],i[4]=i[5]=t):i[0]<=y&&((o=r<2&&yn||n>d)&&(i[4]=r,i[5]=n,p.n=d,a=0))}if(o||r>1)return u;throw l=!0,n}return function(o,f,d){if(s>1)throw TypeError("Generator is already running");for(l&&1===f&&y(f,d),a=f,c=d;(e=a<2?t:c)||!l;){i||(a?a<3?(a>1&&(p.n=-1),y(a,c)):p.n=c:p.v=c);try{if(s=2,i){if(a||(o="next"),e=i[o]){if(!(e=e.call(i,c)))throw TypeError("iterator result is not an object");if(!e.done)return e;c=e.value,a<2&&(a=0)}else 1===a&&(e=i.return)&&e.call(i),a<2&&(c=TypeError("The iterator does not provide a '"+o+"' method"),a=1);i=t}else if((e=(l=p.n<0)?c:r.call(n,p))!==u)break}catch(e){i=t,a=1,c=e}finally{s=1}}return{value:e,done:l}}}(r,o,i),!0),s}var u={};function a(){}function c(){}function s(){}e=Object.getPrototypeOf;var f=[][n]?e(e([][n]())):(Ss(e={},n,(function(){return this})),e),l=s.prototype=a.prototype=Object.create(f);function p(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,s):(t.__proto__=s,Ss(t,o,"GeneratorFunction")),t.prototype=Object.create(l),t}return c.prototype=s,Ss(l,"constructor",s),Ss(s,"constructor",c),c.displayName="GeneratorFunction",Ss(s,o,"GeneratorFunction"),Ss(l),Ss(l,o,"Generator"),Ss(l,n,(function(){return this})),Ss(l,"toString",(function(){return"[object Generator]"})),(ws=function(){return{w:i,m:p}})()}function Ss(t,e,r,n){var o=Object.defineProperty;try{o({},"",{})}catch(t){o=0}Ss=function(t,e,r,n){if(e)o?o(t,e,{value:r,enumerable:!n,configurable:!n,writable:!n}):t[e]=r;else{var i=function(e,r){Ss(t,e,(function(t){return this._invoke(e,r,t)}))};i("next",0),i("throw",1),i("return",2)}},Ss(t,e,r,n)}function js(t,e,r,n,o,i,u){try{var a=t[i](u),c=a.value}catch(t){return void r(t)}a.done?e(c):Promise.resolve(c).then(n,o)}var _s=function(){var t,e=(t=ws().m((function t(e){var r,n;return ws().w((function(t){for(;;)if(0===t.n)return n=new Promise((function(t){return r=t})),setTimeout(r,e),t.a(2,n)}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function u(t){js(i,n,o,u,a,"next",t)}function a(t){js(i,n,o,u,a,"throw",t)}u(void 0)}))});return function(t){return e.apply(this,arguments)}}();function Es(t){return Es="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Es(t)}function Ps(t){if(null!=t){var e=t["function"==typeof Symbol&&Symbol.iterator||"@@iterator"],r=0;if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length))return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}}}throw new TypeError(Es(t)+" is not iterable")}function As(){var t,e,r="function"==typeof Symbol?Symbol:{},n=r.iterator||"@@iterator",o=r.toStringTag||"@@toStringTag";function i(r,n,o,i){var c=n&&n.prototype instanceof a?n:a,s=Object.create(c.prototype);return ks(s,"_invoke",function(r,n,o){var i,a,c,s=0,f=o||[],l=!1,p={p:0,n:0,v:t,a:y,f:y.bind(t,4),d:function(e,r){return i=e,a=0,c=t,p.n=r,u}};function y(r,n){for(a=r,c=n,e=0;!l&&s&&!o&&e3?(o=d===n)&&(c=i[(a=i[4])?5:(a=3,3)],i[4]=i[5]=t):i[0]<=y&&((o=r<2&&yn||n>d)&&(i[4]=r,i[5]=n,p.n=d,a=0))}if(o||r>1)return u;throw l=!0,n}return function(o,f,d){if(s>1)throw TypeError("Generator is already running");for(l&&1===f&&y(f,d),a=f,c=d;(e=a<2?t:c)||!l;){i||(a?a<3?(a>1&&(p.n=-1),y(a,c)):p.n=c:p.v=c);try{if(s=2,i){if(a||(o="next"),e=i[o]){if(!(e=e.call(i,c)))throw TypeError("iterator result is not an object");if(!e.done)return e;c=e.value,a<2&&(a=0)}else 1===a&&(e=i.return)&&e.call(i),a<2&&(c=TypeError("The iterator does not provide a '"+o+"' method"),a=1);i=t}else if((e=(l=p.n<0)?c:r.call(n,p))!==u)break}catch(e){i=t,a=1,c=e}finally{s=1}}return{value:e,done:l}}}(r,o,i),!0),s}var u={};function a(){}function c(){}function s(){}e=Object.getPrototypeOf;var f=[][n]?e(e([][n]())):(ks(e={},n,(function(){return this})),e),l=s.prototype=a.prototype=Object.create(f);function p(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,s):(t.__proto__=s,ks(t,o,"GeneratorFunction")),t.prototype=Object.create(l),t}return c.prototype=s,ks(l,"constructor",s),ks(s,"constructor",c),c.displayName="GeneratorFunction",ks(s,o,"GeneratorFunction"),ks(l),ks(l,o,"Generator"),ks(l,n,(function(){return this})),ks(l,"toString",(function(){return"[object Generator]"})),(As=function(){return{w:i,m:p}})()}function ks(t,e,r,n){var o=Object.defineProperty;try{o({},"",{})}catch(t){o=0}ks=function(t,e,r,n){if(e)o?o(t,e,{value:r,enumerable:!n,configurable:!n,writable:!n}):t[e]=r;else{var i=function(e,r){ks(t,e,(function(t){return this._invoke(e,r,t)}))};i("next",0),i("throw",1),i("return",2)}},ks(t,e,r,n)}function xs(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Ts(t){for(var e=1;et.length)&&(e=t.length);for(var r=0,n=Array(e);rt.length)&&(e=t.length);for(var r=0,n=Array(e);r4&&void 0!==arguments[4]?arguments[4]:null,i=[];for(var u in t)if(t.hasOwnProperty(u)){var a=void 0;try{"function"!=typeof t[u]?(a=Error((n||"React class")+": "+r+" type `"+u+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+mf(t[u])+"`.")).name="Invariant Violation":a=t[u](e,u,n,r,null,bf())}catch(t){a=t}if(!a||a instanceof Error||i.push((n||"React class")+": type specification of "+r+" `"+u+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+mf(a)+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),a instanceof Error){var c=o&&o()||"";i.push("Failed "+r+" type: "+a.message+c)}}return i.join("\n\n")}(e.propTypes,r,"component prop",e);return i&&function(t,e,r){var n,o=t.split("`");if(Gt("is marked as required",t)){var i=o[1];n="".concat(i," in ").concat(r),e.id&&(n+=' with ID "'.concat(e.id,'"')),n+=" is required but it was not provided."}else if(Gt("Bad object",t))n=t.split("supplied to ")[0]+"supplied to ".concat(r)+".\nBad"+t.split(".\nBad")[1];else{if(!Gt("Invalid ",t)||!Gt(" supplied to ",t))throw new Error(t);var u=o[1];if(n="Invalid argument `".concat(u,"` passed into ").concat(r),e.id&&(n+=' with ID "'.concat(e.id,'"')),n+=".",Gt(", expected ",t)){var a=t.split(", expected ")[1];n+="\nExpected ".concat(a)}if(Gt(" of type `",t)){var c=t.split(" of type `")[1].split("`")[0];n+="\nWas supplied type `".concat(c,"`.")}if(pn(u,e)){var s=JSON.stringify(e[u],null,2);s&&(Gt("\n",s)?n+="\nValue provided: \n".concat(s):n+="\nValue provided: ".concat(s))}}throw new Error(n)}(i,r,o.type),n}var Of=e().createContext({});function wf(r){var n=r.children,o=r.componentPath,i=(0,t.useMemo)((function(){return JSON.stringify(o)}),[o]),u=K(),a=(0,t.useCallback)((function(t){var e=t||{},r=e.extraPath,n=e.rawPath,a=e.filterFunc,c=[i];r?c=[JSON.stringify(tr(o,r))]:n&&(c=[JSON.stringify(n)]);var s=Vt([],c,u.getState().loading);return a?s.filter(a).length>0:s.length>0}),[i]),c=(0,t.useCallback)((function(t){var e=t||{},r=e.filterFunc,n=e.extraPath,u=e.rawPath;return b((function(t){var e=[i];n?e=[JSON.stringify(tr(o,n))]:u&&(e=[JSON.stringify(u)]);var a=Vt([],e,t.loading);return r?a.filter(r).length>0:a.length>0}))}),[i]),s=(0,t.useMemo)((function(){return{componentPath:o,isLoading:a,useLoading:c,useSelector:b,useStore:K,useDispatch:Z}}),[i]);return e().createElement(Of.Provider,{value:s},n)}function Sf(t){return Sf="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Sf(t)}var jf=["componentPath","_dashprivate_error","_passedComponent","_newRender"],_f=["_dash_error"];function Ef(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Pf(t,e,r){return(e=function(t){var e=function(t){if("object"!=Sf(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var r=e.call(t,"string");if("object"!=Sf(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==Sf(e)?e:e+""}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Af(t){return function(t){if(Array.isArray(t))return xf(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||kf(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function kf(t,e){if(t){if("string"==typeof t)return xf(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?xf(t,e):void 0}}function xf(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r3?(o=d===n)&&(c=i[(a=i[4])?5:(a=3,3)],i[4]=i[5]=t):i[0]<=y&&((o=r<2&&yn||n>d)&&(i[4]=r,i[5]=n,p.n=d,a=0))}if(o||r>1)return u;throw l=!0,n}return function(o,f,d){if(s>1)throw TypeError("Generator is already running");for(l&&1===f&&y(f,d),a=f,c=d;(e=a<2?t:c)||!l;){i||(a?a<3?(a>1&&(p.n=-1),y(a,c)):p.n=c:p.v=c);try{if(s=2,i){if(a||(o="next"),e=i[o]){if(!(e=e.call(i,c)))throw TypeError("iterator result is not an object");if(!e.done)return e;c=e.value,a<2&&(a=0)}else 1===a&&(e=i.return)&&e.call(i),a<2&&(c=TypeError("The iterator does not provide a '"+o+"' method"),a=1);i=t}else if((e=(l=p.n<0)?c:r.call(n,p))!==u)break}catch(e){i=t,a=1,c=e}finally{s=1}}return{value:e,done:l}}}(r,o,i),!0),s}var u={};function a(){}function c(){}function s(){}e=Object.getPrototypeOf;var f=[][n]?e(e([][n]())):(Rf(e={},n,(function(){return this})),e),l=s.prototype=a.prototype=Object.create(f);function p(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,s):(t.__proto__=s,Rf(t,o,"GeneratorFunction")),t.prototype=Object.create(l),t}return c.prototype=s,Rf(l,"constructor",s),Rf(s,"constructor",c),c.displayName="GeneratorFunction",Rf(s,o,"GeneratorFunction"),Rf(l),Rf(l,o,"Generator"),Rf(l,n,(function(){return this})),Rf(l,"toString",(function(){return"[object Generator]"})),(Cf=function(){return{w:i,m:p}})()}function Rf(t,e,r,n){var o=Object.defineProperty;try{o({},"",{})}catch(t){o=0}Rf=function(t,e,r,n){if(e)o?o(t,e,{value:r,enumerable:!n,configurable:!n,writable:!n}):t[e]=r;else{var i=function(e,r){Rf(t,e,(function(t){return this._invoke(e,r,t)}))};i("next",0),i("throw",1),i("return",2)}},Rf(t,e,r,n)}function Df(t,e,r,n,o,i,u){try{var a=t[i](u),c=a.value}catch(t){return void r(t)}a.done?e(c):Promise.resolve(c).then(n,o)}function Nf(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r0?o:null,n.future.length>0?i:null))}tl.styleTagTransform=Xf(),tl.setAttributes=Vf(),tl.insert=zf().bind(null,"head"),tl.domAPI=$f(),tl.insertStyleElement=Yf(),Ff()(Zf.A,tl),Zf.A&&Zf.A.locals&&Zf.A.locals,el.propTypes={history:u().object,dispatch:u().func};var rl=z((function(t){return{history:t.history}}),(function(t){return{dispatch:t}}))(el),nl=nt((function(t){return function(e,r){return t(e,r)?-1:t(r,e)?1:0}})),ol=Ot((function(t,e){return tt.length)&&(e=t.length);for(var r=0,n=Array(e);r=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},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,u=!0,a=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return u=t.done,t},e:function(t){a=!0,i=t},f:function(){try{u||null==r.return||r.return()}finally{if(a)throw i}}}}(r.content.files);try{for(u.s();!(o=u.n()).done;){var a=o.value;if(!a.is_css){i=!1;break}i=!0;for(var c=[],s=document.evaluate('//link[contains(@href, "'.concat(a.url,'")]'),this._head),f=s.iterateNext();f;)c.push(f),f=s.iterateNext();if(re((function(t){return t.setAttribute("disabled","disabled")}),c),a.modified>0){var l=document.createElement("link");l.href="".concat(a.url,"?m=").concat(a.modified),l.type="text/css",l.rel="stylesheet",this._head.appendChild(l)}}}catch(t){u.e(t)}finally{u.f()}i||window.location.reload()}else null!==this.state.intervalId&&500===r.status&&(this._retry>this.state.max_retry&&(this.clearInterval(),window.alert("Hot reloading is disabled after failing ".concat(this._retry," times. ")+"Please check your application for errors, then refresh the page.")),this._retry++)}},{key:"componentDidMount",value:function(){var t=this.props,e=t.dispatch,r=t.reloadRequest,n=this.state,o=n.disabled,i=n.interval;if(!o&&!this.state.intervalId){var u=window.setInterval((function(){"loading"!==r.status&&e(Ea("_reload-hash","GET","reloadRequest"))}),i);this.setState({intervalId:u})}}},{key:"componentWillUnmount",value:function(){!this.state.disabled&&this.state.intervalId&&this.clearInterval()}},{key:"render",value:function(){return null}}],o=[{key:"getDerivedStateFromProps",value:function(t){return ae(t.reloadRequest)||"loading"===t.reloadRequest.status?null:{reloadRequest:t.reloadRequest}}}],n&&al(r.prototype,n),o&&al(r,o),Object.defineProperty(r,"prototype",{writable:!1}),r;var r,n,o}(e().Component);pl.defaultProps={},pl.propTypes={id:u().string,config:u().object,reloadRequest:u().object,dispatch:u().func,interval:u().number};var yl=z((function(t){return{config:t.config,reloadRequest:t.reloadRequest}}),(function(t){return{dispatch:t}}))(pl),dl=Ot((function(t,e){var r={};return tt(e.length,(function(){var n=t.apply(this,arguments);return jt(n,r)||(r[n]=e.apply(this,arguments)),r[n]}))})),hl=dl;function vl(t){return vl="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},vl(t)}function bl(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function ml(t){for(var e=1;et.length)&&(e=t.length);for(var r=0,n=Array(e);rt.length)&&(e=t.length);for(var r=0,n=Array(e);r1&&void 0!==arguments[1]?arguments[1]:"about:blank";if(""===t)return t;var r=t.replace(Ll,"").replace(ql,"").replace(Bl,(function(t,e){return String.fromCharCode(e)})).trim();return Ul.test(r)?e:t}:Gl.clean_url,window.DashRenderer=Ml}(),window.dash_renderer={}}();